diff --git a/crates/libs/bindgen/Cargo.toml b/crates/libs/bindgen/Cargo.toml index 88c160471a..f814d8bf66 100644 --- a/crates/libs/bindgen/Cargo.toml +++ b/crates/libs/bindgen/Cargo.toml @@ -7,7 +7,7 @@ rust-version = "1.56" license = "MIT OR Apache-2.0" description = "Windows metadata compiler" repository = "https://github.com/microsoft/windows-rs" -readme = "../../../docs/readme.md" +readme = "readme.md" [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" diff --git a/crates/libs/bindgen/readme.md b/crates/libs/bindgen/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/bindgen/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/bindgen/src/error.rs b/crates/libs/bindgen/src/error.rs index 6d783d0844..16122bbf69 100644 --- a/crates/libs/bindgen/src/error.rs +++ b/crates/libs/bindgen/src/error.rs @@ -44,12 +44,4 @@ impl Error { pub(crate) fn with_path(self, path: &str) -> Self { Self { path: path.to_string(), ..self } } - - // pub(crate) fn with_span(self, span: proc_macro2::Span) -> Self { - // let start = span.start(); - // Self { - // span: Some((start.line, start.column)), - // ..self - // } - // } } diff --git a/crates/libs/bindgen/src/metadata/mod.rs b/crates/libs/bindgen/src/metadata.rs similarity index 81% rename from crates/libs/bindgen/src/metadata/mod.rs rename to crates/libs/bindgen/src/metadata.rs index 027a282acd..13d4faa43b 100644 --- a/crates/libs/bindgen/src/metadata/mod.rs +++ b/crates/libs/bindgen/src/metadata.rs @@ -235,10 +235,6 @@ fn param_or_enum(reader: &Reader, row: Param) -> Option { }) } -pub fn signature_param_is_borrowed(reader: &Reader, param: &SignatureParam) -> bool { - type_is_borrowed(reader, ¶m.ty) -} - pub fn signature_param_is_convertible(reader: &Reader, param: &SignatureParam) -> bool { !reader.param_flags(param.def).contains(ParamAttributes::Out) && !param.ty.is_winrt_array() && !param.ty.is_pointer() && !param.kind.is_array() && (type_is_borrowed(reader, ¶m.ty) || type_is_non_exclusive_winrt_interface(reader, ¶m.ty) || type_is_trivially_convertible(reader, ¶m.ty)) } @@ -268,7 +264,10 @@ fn signature_param_is_retval(reader: &Reader, param: &SignatureParam) -> bool { } // Win32 callbacks are defined as `Option` so we don't include them here to avoid // producing the `Result>` anti-pattern. - !type_is_callback(reader, ¶m.ty.deref()) + match param.ty.deref() { + Type::TypeDef(def, _) => !type_def_is_callback(reader, def), + _ => true, + } } pub fn signature_kind(reader: &Reader, signature: &Signature) -> SignatureKind { @@ -280,13 +279,11 @@ pub fn signature_kind(reader: &Reader, signature: &Signature) -> SignatureKind { Type::Void => SignatureKind::ReturnVoid, Type::HRESULT => { if signature.params.len() >= 2 { - if let Some(guid) = signature_param_is_query_guid(reader, &signature.params) { - if let Some(object) = signature_param_is_query_object(reader, &signature.params) { - if reader.param_flags(signature.params[object].def).contains(ParamAttributes::Optional) { - return SignatureKind::QueryOptional(QueryPosition { object, guid }); - } else { - return SignatureKind::Query(QueryPosition { object, guid }); - } + if let Some((guid, object)) = signature_param_is_query(reader, &signature.params) { + if reader.param_flags(signature.params[object].def).contains(ParamAttributes::Optional) { + return SignatureKind::QueryOptional(QueryPosition { object, guid }); + } else { + return SignatureKind::Query(QueryPosition { object, guid }); } } } @@ -296,7 +293,6 @@ pub fn signature_kind(reader: &Reader, signature: &Signature) -> SignatureKind { SignatureKind::ResultVoid } } - Type::TypeDef(def, _) if reader.type_def_type_name(*def) == TypeName::NTSTATUS => SignatureKind::ResultVoid, Type::TypeDef(def, _) if reader.type_def_type_name(*def) == TypeName::WIN32_ERROR => SignatureKind::ResultVoid, Type::TypeDef(def, _) if reader.type_def_type_name(*def) == TypeName::BOOL && method_def_last_error(reader, signature.def) => SignatureKind::ResultVoid, _ if type_is_struct(reader, &signature.return_type) => SignatureKind::ReturnStruct, @@ -312,12 +308,14 @@ fn signature_is_retval(reader: &Reader, signature: &Signature) -> bool { }) } -fn signature_param_is_query_guid(reader: &Reader, params: &[SignatureParam]) -> Option { - params.iter().rposition(|param| param.ty == Type::ConstPtr(Box::new(Type::GUID), 1) && !reader.param_flags(param.def).contains(ParamAttributes::Out)) -} +fn signature_param_is_query(reader: &Reader, params: &[SignatureParam]) -> Option<(usize, usize)> { + if let Some(guid) = params.iter().rposition(|param| param.ty == Type::ConstPtr(Box::new(Type::GUID), 1) && !reader.param_flags(param.def).contains(ParamAttributes::Out)) { + if let Some(object) = params.iter().rposition(|param| param.ty == Type::MutPtr(Box::new(Type::Void), 2) && reader.has_attribute(param.def, "ComOutPtrAttribute")) { + return Some((guid, object)); + } + } -fn signature_param_is_query_object(reader: &Reader, params: &[SignatureParam]) -> Option { - params.iter().rposition(|param| param.ty == Type::MutPtr(Box::new(Type::Void), 2) && reader.has_attribute(param.def, "ComOutPtrAttribute")) + None } fn method_def_last_error(reader: &Reader, row: MethodDef) -> bool { @@ -328,7 +326,7 @@ fn method_def_last_error(reader: &Reader, row: MethodDef) -> bool { } } -fn type_is_borrowed(reader: &Reader, ty: &Type) -> bool { +pub fn type_is_borrowed(reader: &Reader, ty: &Type) -> bool { match ty { Type::TypeDef(row, _) => !type_def_is_blittable(reader, *row), Type::BSTR | Type::PCSTR | Type::PCWSTR | Type::IInspectable | Type::IUnknown | Type::GenericParam(_) => true, @@ -360,14 +358,6 @@ fn type_is_trivially_convertible(reader: &Reader, ty: &Type) -> bool { TypeKind::Struct => type_def_is_handle(reader, *row), _ => false, }, - Type::PCSTR | Type::PCWSTR => true, - _ => false, - } -} - -fn type_is_callback(reader: &Reader, ty: &Type) -> bool { - match ty { - Type::TypeDef(row, _) => type_def_is_callback(reader, *row), _ => false, } } @@ -479,16 +469,6 @@ fn type_name<'a>(reader: &Reader<'a>, ty: &Type) -> &'a str { } } -pub fn type_def_async_kind(reader: &Reader, row: TypeDef) -> AsyncKind { - match reader.type_def_type_name(row) { - TypeName::IAsyncAction => AsyncKind::Action, - TypeName::IAsyncActionWithProgress => AsyncKind::ActionWithProgress, - TypeName::IAsyncOperation => AsyncKind::Operation, - TypeName::IAsyncOperationWithProgress => AsyncKind::OperationWithProgress, - _ => AsyncKind::None, - } -} - pub fn field_is_blittable(reader: &Reader, row: Field, enclosing: TypeDef) -> bool { type_is_blittable(reader, &reader.field_type(row, Some(enclosing))) } @@ -497,14 +477,6 @@ pub fn field_is_copyable(reader: &Reader, row: Field, enclosing: TypeDef) -> boo type_is_copyable(reader, &reader.field_type(row, Some(enclosing))) } -pub fn field_guid(reader: &Reader, row: Field) -> Option { - reader.find_attribute(row, "GuidAttribute").map(|attribute| GUID::from_args(&reader.attribute_args(attribute))) -} - -pub fn field_is_ansi(reader: &Reader, row: Field) -> bool { - reader.find_attribute(row, "NativeEncodingAttribute").is_some_and(|attribute| matches!(reader.attribute_args(attribute).get(0), Some((_, Value::String(encoding))) if encoding == "ansi")) -} - pub fn type_is_blittable(reader: &Reader, ty: &Type) -> bool { match ty { Type::TypeDef(row, _) => type_def_is_blittable(reader, *row), @@ -549,83 +521,10 @@ pub fn type_def_is_copyable(reader: &Reader, row: TypeDef) -> bool { } } -pub fn method_def_special_name(reader: &Reader, row: MethodDef) -> String { - let name = reader.method_def_name(row); - if reader.method_def_flags(row).contains(MethodAttributes::SpecialName) { - if name.starts_with("get") { - name[4..].to_string() - } else if name.starts_with("put") { - format!("Set{}", &name[4..]) - } else if name.starts_with("add") { - name[4..].to_string() - } else if name.starts_with("remove") { - format!("Remove{}", &name[7..]) - } else { - name.to_string() - } - } else { - if let Some(attribute) = reader.find_attribute(row, "OverloadAttribute") { - for (_, arg) in reader.attribute_args(attribute) { - if let Value::String(name) = arg { - return name; - } - } - } - name.to_string() - } -} - -pub fn method_def_static_lib(reader: &Reader, row: MethodDef) -> Option { - reader.find_attribute(row, "StaticLibraryAttribute").and_then(|attribute| { - let args = reader.attribute_args(attribute); - if let Value::String(value) = &args[0].1 { - return Some(value.clone()); - } - None - }) -} - -pub fn method_def_extern_abi(reader: &Reader, def: MethodDef) -> &'static str { - let impl_map = reader.method_def_impl_map(def).expect("ImplMap not found"); - let flags = reader.impl_map_flags(impl_map); - - if flags.contains(PInvokeAttributes::CallConvPlatformapi) { - "system" - } else if flags.contains(PInvokeAttributes::CallConvCdecl) { - "cdecl" - } else { - unimplemented!() - } -} - -pub fn type_def_has_default_constructor(reader: &Reader, row: TypeDef) -> bool { - for attribute in reader.attributes(row) { - if reader.attribute_name(attribute) == "ActivatableAttribute" { - if reader.attribute_args(attribute).iter().any(|arg| matches!(arg.1, Value::TypeName(_))) { - continue; - } else { - return true; - } - } - } - false -} - -pub fn type_def_has_default_interface(reader: &Reader, row: TypeDef) -> bool { - reader.type_def_interface_impls(row).any(|imp| reader.has_attribute(imp, "DefaultAttribute")) -} - pub fn type_def_is_exclusive(reader: &Reader, row: TypeDef) -> bool { reader.has_attribute(row, "ExclusiveToAttribute") } -pub fn type_is_exclusive(reader: &Reader, ty: &Type) -> bool { - match ty { - Type::TypeDef(row, _) => type_def_is_exclusive(reader, *row), - _ => false, - } -} - pub fn type_is_struct(reader: &Reader, ty: &Type) -> bool { // This check is used to detect virtual functions that return C-style PODs that affect how the stack is packed for x86. // It could be defined as a struct with more than one field but that check is complicated as it would have to detect @@ -800,14 +699,6 @@ pub fn type_def_is_handle(reader: &Reader, row: TypeDef) -> bool { reader.has_attribute(row, "NativeTypedefAttribute") } -pub fn type_has_replacement(reader: &Reader, ty: &Type) -> bool { - match ty { - Type::HRESULT | Type::PCSTR | Type::PCWSTR => true, - Type::TypeDef(row, _) => type_def_is_handle(reader, *row) || reader.type_def_kind(*row) == TypeKind::Enum, - _ => false, - } -} - pub fn type_def_guid(reader: &Reader, row: TypeDef) -> Option { reader.find_attribute(row, "GuidAttribute").map(|attribute| GUID::from_args(&reader.attribute_args(attribute))) } @@ -826,23 +717,6 @@ pub fn type_def_bases(reader: &Reader, mut row: TypeDef) -> Vec { bases } -pub fn type_def_is_agile(reader: &Reader, row: TypeDef) -> bool { - for attribute in reader.attributes(row) { - match reader.attribute_name(attribute) { - "AgileAttribute" => return true, - "MarshalingBehaviorAttribute" => { - if let Some((_, Value::EnumDef(_, value))) = reader.attribute_args(attribute).get(0) { - if let Value::I32(2) = **value { - return true; - } - } - } - _ => {} - } - } - matches!(reader.type_def_type_name(row), TypeName::IAsyncAction | TypeName::IAsyncActionWithProgress | TypeName::IAsyncOperation | TypeName::IAsyncOperationWithProgress) -} - pub fn type_def_invalid_values(reader: &Reader, row: TypeDef) -> Vec { let mut values = Vec::new(); for attribute in reader.attributes(row) { @@ -855,15 +729,6 @@ pub fn type_def_invalid_values(reader: &Reader, row: TypeDef) -> Vec { values } -pub fn type_def_usable_for(reader: &Reader, row: TypeDef) -> Option { - if let Some(attribute) = reader.find_attribute(row, "AlsoUsableForAttribute") { - if let Some((_, Value::String(name))) = reader.attribute_args(attribute).get(0) { - return reader.get_type_def(TypeName::new(reader.type_def_namespace(row), name.as_str())).next(); - } - } - None -} - fn type_def_is_nullable(reader: &Reader, row: TypeDef) -> bool { match reader.type_def_kind(row) { TypeKind::Interface | TypeKind::Class => true, @@ -916,11 +781,3 @@ pub fn type_def_vtables(reader: &Reader, row: TypeDef) -> Vec { pub fn type_def_interfaces<'a>(reader: &'a Reader<'a>, row: TypeDef, generics: &'a [Type]) -> impl Iterator + 'a { reader.type_def_interface_impls(row).map(move |row| reader.interface_impl_type(row, generics)) } - -pub fn type_underlying_type(reader: &Reader, ty: &Type) -> Type { - match ty { - Type::TypeDef(row, _) => reader.type_def_underlying_type(*row), - Type::HRESULT => Type::I32, - _ => ty.clone(), - } -} diff --git a/crates/libs/bindgen/src/rust/classes.rs b/crates/libs/bindgen/src/rust/classes.rs index 397abff103..b20d99beaa 100644 --- a/crates/libs/bindgen/src/rust/classes.rs +++ b/crates/libs/bindgen/src/rust/classes.rs @@ -86,6 +86,7 @@ fn gen_class(writer: &Writer, def: TypeDef) -> TokenStream { #doc #features #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct #name(::windows_core::IUnknown); #features impl #name { @@ -95,7 +96,6 @@ fn gen_class(writer: &Writer, def: TypeDef) -> TokenStream { } }; - tokens.combine(&writer.interface_core_traits(def, &[], &name, &TokenStream::new(), &TokenStream::new(), &features)); tokens.combine(&writer.interface_winrt_trait(def, &[], &name, &TokenStream::new(), &TokenStream::new(), &features)); tokens.combine(&writer.interface_trait(def, &[], &name, &TokenStream::new(), &features, true)); tokens.combine(&writer.runtime_name_trait(def, &[], &name, &TokenStream::new(), &features)); @@ -158,3 +158,27 @@ fn gen_conversions(writer: &Writer, def: TypeDef, name: &TokenStream, interfaces tokens } + +fn type_def_has_default_constructor(reader: &Reader, row: TypeDef) -> bool { + for attribute in reader.attributes(row) { + if reader.attribute_name(attribute) == "ActivatableAttribute" { + if reader.attribute_args(attribute).iter().any(|arg| matches!(arg.1, Value::TypeName(_))) { + continue; + } else { + return true; + } + } + } + false +} + +fn type_def_has_default_interface(reader: &Reader, row: TypeDef) -> bool { + reader.type_def_interface_impls(row).any(|imp| reader.has_attribute(imp, "DefaultAttribute")) +} + +fn type_is_exclusive(reader: &Reader, ty: &Type) -> bool { + match ty { + Type::TypeDef(row, _) => type_def_is_exclusive(reader, *row), + _ => false, + } +} diff --git a/crates/libs/bindgen/src/rust/constants.rs b/crates/libs/bindgen/src/rust/constants.rs index 672dbcc8af..1943cd8809 100644 --- a/crates/libs/bindgen/src/rust/constants.rs +++ b/crates/libs/bindgen/src/rust/constants.rs @@ -183,3 +183,27 @@ fn read_literal_array(input: &str, len: usize) -> (Vec<&str>, &str) { (result, read_token(input, b'}')) } + +fn field_guid(reader: &Reader, row: Field) -> Option { + reader.find_attribute(row, "GuidAttribute").map(|attribute| GUID::from_args(&reader.attribute_args(attribute))) +} + +fn field_is_ansi(reader: &Reader, row: Field) -> bool { + reader.find_attribute(row, "NativeEncodingAttribute").is_some_and(|attribute| matches!(reader.attribute_args(attribute).get(0), Some((_, Value::String(encoding))) if encoding == "ansi")) +} + +fn type_has_replacement(reader: &Reader, ty: &Type) -> bool { + match ty { + Type::HRESULT | Type::PCSTR | Type::PCWSTR => true, + Type::TypeDef(row, _) => type_def_is_handle(reader, *row) || reader.type_def_kind(*row) == TypeKind::Enum, + _ => false, + } +} + +fn type_underlying_type(reader: &Reader, ty: &Type) -> Type { + match ty { + Type::TypeDef(row, _) => reader.type_def_underlying_type(*row), + Type::HRESULT => Type::I32, + _ => ty.clone(), + } +} diff --git a/crates/libs/bindgen/src/rust/delegates.rs b/crates/libs/bindgen/src/rust/delegates.rs index 5b1b120223..f601c303f6 100644 --- a/crates/libs/bindgen/src/rust/delegates.rs +++ b/crates/libs/bindgen/src/rust/delegates.rs @@ -72,6 +72,7 @@ fn gen_win_delegate(writer: &Writer, def: TypeDef) -> TokenStream { #doc #features #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct #ident(pub ::windows_core::IUnknown, #phantoms) where #constraints; #features impl<#constraints> #ident { @@ -101,12 +102,16 @@ fn gen_win_delegate(writer: &Writer, def: TypeDef) -> TokenStream { Invoke: Self::Invoke, #(#named_phantoms)* }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &<#ident as ::windows_core::ComInterface>::IID || - iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || - iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); // E_POINTER + } + + *interface = if *iid == <#ident as ::windows_core::ComInterface>::IID || + *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || + *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() @@ -142,7 +147,6 @@ fn gen_win_delegate(writer: &Writer, def: TypeDef) -> TokenStream { } }; - tokens.combine(&writer.interface_core_traits(def, generics, &ident, &constraints, &phantoms, &features)); tokens.combine(&writer.interface_trait(def, generics, &ident, &constraints, &features, true)); tokens.combine(&writer.interface_winrt_trait(def, generics, &ident, &constraints, &phantoms, &features)); tokens.combine(&writer.interface_vtbl(def, generics, &ident, &constraints, &features)); diff --git a/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/BOOLEAN.rs b/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/BOOLEAN.rs index dd113d100d..33b32a8d62 100644 --- a/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/BOOLEAN.rs +++ b/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/BOOLEAN.rs @@ -66,3 +66,8 @@ impl ::core::ops::Not for BOOLEAN { } } } +impl ::windows_core::IntoParam for bool { + fn into_param(self) -> ::windows_core::Param { + ::windows_core::Param::Owned(self.into()) + } +} diff --git a/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/WIN32_ERROR.rs b/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/WIN32_ERROR.rs index 2c9441efb0..bb994bd66d 100644 --- a/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/WIN32_ERROR.rs +++ b/crates/libs/bindgen/src/rust/extensions/mod/Win32/Foundation/WIN32_ERROR.rs @@ -9,7 +9,7 @@ impl WIN32_ERROR { } #[inline] pub const fn to_hresult(self) -> ::windows_core::HRESULT { - ::windows_core::HRESULT(if self.0 == 0 { self.0 } else { (self.0 & 0x0000_FFFF) | (7 << 16) | 0x8000_0000 } as i32) + ::windows_core::HRESULT::from_win32(self.0) } #[inline] pub fn from_error(error: &::windows_core::Error) -> ::core::option::Option { diff --git a/crates/libs/bindgen/src/rust/functions.rs b/crates/libs/bindgen/src/rust/functions.rs index 2dd4e01570..e790a34ed2 100644 --- a/crates/libs/bindgen/src/rust/functions.rs +++ b/crates/libs/bindgen/src/rust/functions.rs @@ -225,14 +225,6 @@ fn gen_link(writer: &Writer, namespace: &str, signature: &Signature, cfg: &Cfg) pub fn #ident(#(#params,)* #vararg) #return_type; } } - } else if let Some(library) = method_def_static_lib(writer.reader, signature.def) { - quote! { - #[link(name = #library, kind = "static")] - extern #abi { - #link_name - pub fn #ident(#(#params,)* #vararg) #return_type; - } - } } else { let symbol = if symbol != name { format!(" \"{symbol}\"") } else { String::new() }; @@ -273,3 +265,16 @@ fn handle_last_error(writer: &Writer, def: MethodDef, signature: &Signature) -> } false } + +fn method_def_extern_abi(reader: &Reader, def: MethodDef) -> &'static str { + let impl_map = reader.method_def_impl_map(def).expect("ImplMap not found"); + let flags = reader.impl_map_flags(impl_map); + + if flags.contains(PInvokeAttributes::CallConvPlatformapi) { + "system" + } else if flags.contains(PInvokeAttributes::CallConvCdecl) { + "cdecl" + } else { + unimplemented!() + } +} diff --git a/crates/libs/bindgen/src/rust/handles.rs b/crates/libs/bindgen/src/rust/handles.rs index e213679e06..7e067a492c 100644 --- a/crates/libs/bindgen/src/rust/handles.rs +++ b/crates/libs/bindgen/src/rust/handles.rs @@ -106,3 +106,12 @@ pub fn gen_win_handle(writer: &Writer, def: TypeDef) -> TokenStream { tokens } + +fn type_def_usable_for(reader: &Reader, row: TypeDef) -> Option { + if let Some(attribute) = reader.find_attribute(row, "AlsoUsableForAttribute") { + if let Some((_, Value::String(name))) = reader.attribute_args(attribute).get(0) { + return reader.get_type_def(TypeName::new(reader.type_def_namespace(row), name.as_str())).next(); + } + } + None +} diff --git a/crates/libs/bindgen/src/rust/implements.rs b/crates/libs/bindgen/src/rust/implements.rs index 742ae99842..f4a0b4b794 100644 --- a/crates/libs/bindgen/src/rust/implements.rs +++ b/crates/libs/bindgen/src/rust/implements.rs @@ -28,7 +28,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { } } - let mut matches = quote! { iid == &<#type_ident as ::windows_core::ComInterface>::IID }; + let mut matches = quote! { *iid == <#type_ident as ::windows_core::ComInterface>::IID }; if let Some(Type::TypeDef(def, _)) = vtables.last() { requires.combine(&gen_required_trait(writer, *def, &[])) @@ -39,7 +39,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { let name = writer.type_def_name(*def, generics); matches.combine("e! { - || iid == &<#name as ::windows_core::ComInterface>::IID + || *iid == <#name as ::windows_core::ComInterface>::IID }) } } @@ -142,7 +142,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { #(#named_phantoms)* } } - pub fn matches(iid: &::windows_core::GUID) -> bool { + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { #matches } } diff --git a/crates/libs/bindgen/src/rust/interfaces.rs b/crates/libs/bindgen/src/rust/interfaces.rs index a552af433f..5082fd1483 100644 --- a/crates/libs/bindgen/src/rust/interfaces.rs +++ b/crates/libs/bindgen/src/rust/interfaces.rs @@ -44,12 +44,14 @@ fn gen_win_interface(writer: &Writer, def: TypeDef) -> TokenStream { tokens.combine("e! { #features #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct #ident(::windows_core::IUnknown, #phantoms) where #constraints; }); } else { tokens.combine("e! { #features #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct #ident(::std::ptr::NonNull<::std::ffi::c_void>); }); } @@ -136,7 +138,6 @@ fn gen_win_interface(writer: &Writer, def: TypeDef) -> TokenStream { } } - tokens.combine(&writer.interface_core_traits(def, generics, &ident, &constraints, &phantoms, &features)); tokens.combine(&writer.interface_winrt_trait(def, generics, &ident, &constraints, &phantoms, &features)); tokens.combine(&writer.async_get(def, generics, &ident, &constraints, &phantoms, &features)); tokens.combine(&iterators::writer(writer, def, generics, &ident, &constraints, &phantoms, &cfg)); diff --git a/crates/libs/bindgen/src/rust/method_names.rs b/crates/libs/bindgen/src/rust/method_names.rs index 2d5a508ae4..9271e8c021 100644 --- a/crates/libs/bindgen/src/rust/method_names.rs +++ b/crates/libs/bindgen/src/rust/method_names.rs @@ -28,3 +28,29 @@ impl MethodNames { } } } + +fn method_def_special_name(reader: &Reader, row: MethodDef) -> String { + let name = reader.method_def_name(row); + if reader.method_def_flags(row).contains(MethodAttributes::SpecialName) { + if name.starts_with("get") { + name[4..].to_string() + } else if name.starts_with("put") { + format!("Set{}", &name[4..]) + } else if name.starts_with("add") { + name[4..].to_string() + } else if name.starts_with("remove") { + format!("Remove{}", &name[7..]) + } else { + name.to_string() + } + } else { + if let Some(attribute) = reader.find_attribute(row, "OverloadAttribute") { + for (_, arg) in reader.attribute_args(attribute) { + if let Value::String(name) = arg { + return name; + } + } + } + name.to_string() + } +} diff --git a/crates/libs/bindgen/src/rust/winrt_methods.rs b/crates/libs/bindgen/src/rust/winrt_methods.rs index f98843e66d..a2f1ca7234 100644 --- a/crates/libs/bindgen/src/rust/winrt_methods.rs +++ b/crates/libs/bindgen/src/rust/winrt_methods.rs @@ -144,7 +144,7 @@ fn gen_winrt_abi_args(writer: &Writer, params: &[SignatureParam]) -> TokenStream } } else if type_is_non_exclusive_winrt_interface(writer.reader, ¶m.ty) { quote! { #name.try_into_param()?.abi(), } - } else if signature_param_is_borrowed(writer.reader, param) { + } else if type_is_borrowed(writer.reader, ¶m.ty) { quote! { #name.into_param().abi(), } } else if type_is_blittable(writer.reader, ¶m.ty) { if param.ty.is_const_ref() { diff --git a/crates/libs/bindgen/src/rust/writer.rs b/crates/libs/bindgen/src/rust/writer.rs index 9d81c99512..74b55301dd 100644 --- a/crates/libs/bindgen/src/rust/writer.rs +++ b/crates/libs/bindgen/src/rust/writer.rs @@ -537,25 +537,6 @@ impl<'a> Writer<'a> { let guid = self.type_name(&Type::GUID); format!("{}::from_u128(0x{:08x?}_{:04x?}_{:04x?}_{:02x?}{:02x?}_{:02x?}{:02x?}{:02x?}{:02x?}{:02x?}{:02x?})", guid.into_string(), value.0, value.1, value.2, value.3, value.4, value.5, value.6, value.7, value.8, value.9, value.10).into() } - pub fn interface_core_traits(&self, def: TypeDef, _generics: &[Type], ident: &TokenStream, constraints: &TokenStream, _phantoms: &TokenStream, features: &TokenStream) -> TokenStream { - let name = crate::trim_tick(self.reader.type_def_name(def)); - quote! { - #features - impl<#constraints> ::core::cmp::PartialEq for #ident { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } - } - #features - impl<#constraints> ::core::cmp::Eq for #ident {} - #features - impl<#constraints> ::core::fmt::Debug for #ident { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple(#name).field(&self.0).finish() - } - } - } - } pub fn agile(&self, def: TypeDef, ident: &TokenStream, constraints: &TokenStream, features: &TokenStream) -> TokenStream { if type_def_is_agile(self.reader, def) { quote! { @@ -718,12 +699,6 @@ impl<'a> Writer<'a> { let default_name = self.type_name(&default); let vtbl = self.type_vtbl_name(&default); quote! { - #features - impl<#constraints> ::core::clone::Clone for #ident { - fn clone(&self) -> Self { - Self(self.0.clone()) - } - } #features unsafe impl ::windows_core::Interface for #ident { type Vtable = #vtbl; @@ -750,19 +725,11 @@ impl<'a> Writer<'a> { } }; - let phantoms = self.generic_phantoms(generics); - let mut tokens = quote! { #features unsafe impl<#constraints> ::windows_core::Interface for #ident { type Vtable = #vtbl; } - #features - impl<#constraints> ::core::clone::Clone for #ident { - fn clone(&self) -> Self { - Self(self.0.clone(), #phantoms) - } - } }; if has_unknown_base { @@ -1211,6 +1178,33 @@ fn gen_const_ptrs(pointers: usize) -> TokenStream { "*const ".repeat(pointers).into() } +fn type_def_async_kind(reader: &Reader, row: TypeDef) -> AsyncKind { + match reader.type_def_type_name(row) { + TypeName::IAsyncAction => AsyncKind::Action, + TypeName::IAsyncActionWithProgress => AsyncKind::ActionWithProgress, + TypeName::IAsyncOperation => AsyncKind::Operation, + TypeName::IAsyncOperationWithProgress => AsyncKind::OperationWithProgress, + _ => AsyncKind::None, + } +} + +fn type_def_is_agile(reader: &Reader, row: TypeDef) -> bool { + for attribute in reader.attributes(row) { + match reader.attribute_name(attribute) { + "AgileAttribute" => return true, + "MarshalingBehaviorAttribute" => { + if let Some((_, Value::EnumDef(_, value))) = reader.attribute_args(attribute).get(0) { + if let Value::I32(2) = **value { + return true; + } + } + } + _ => {} + } + } + matches!(reader.type_def_type_name(row), TypeName::IAsyncAction | TypeName::IAsyncActionWithProgress | TypeName::IAsyncOperation | TypeName::IAsyncOperationWithProgress) +} + #[cfg(test)] mod tests { use super::*; diff --git a/crates/libs/bindgen/src/winmd/verify.rs b/crates/libs/bindgen/src/winmd/verify.rs index f10bd65246..42b1fc32b8 100644 --- a/crates/libs/bindgen/src/winmd/verify.rs +++ b/crates/libs/bindgen/src/winmd/verify.rs @@ -2,6 +2,18 @@ use super::*; use metadata::RowReader; pub fn verify(reader: &metadata::Reader, filter: &metadata::Filter) -> crate::Result<()> { + let unused: Vec<&str> = filter.unused(reader).collect(); + + if !unused.is_empty() { + let mut message = "unused filters".to_string(); + + for unused in unused { + message.push_str(&format!("\n {unused}")); + } + + return Err(crate::Error::new(&message)); + } + for item in reader.items(filter) { // TODO: cover all variants let metadata::Item::Type(def) = item else { diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 702cb9b6b7..7c4a333c56 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -7,7 +7,7 @@ rust-version = "1.56" license = "MIT OR Apache-2.0" description = "Rust for Windows" repository = "https://github.com/microsoft/windows-rs" -readme = "../../../docs/readme.md" +readme = "readme.md" categories = ["os::windows-apis"] [package.metadata.docs.rs] diff --git a/crates/libs/core/readme.md b/crates/libs/core/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/core/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/core/src/array.rs b/crates/libs/core/src/array.rs index 0ea6a85e2a..92de007192 100644 --- a/crates/libs/core/src/array.rs +++ b/crates/libs/core/src/array.rs @@ -103,6 +103,8 @@ impl> Array { #[doc(hidden)] /// Get a mutable pointer to the array's length /// + /// # Safety + /// /// This function is safe but writing to the pointer is not. Calling this without /// a subsequent call to `set_abi` is likely to either leak memory or cause UB pub unsafe fn set_abi_len(&mut self) -> *mut u32 { diff --git a/crates/libs/core/src/com_interface.rs b/crates/libs/core/src/com_interface.rs index 3c60345218..5259238b9e 100644 --- a/crates/libs/core/src/com_interface.rs +++ b/crates/libs/core/src/com_interface.rs @@ -41,11 +41,10 @@ pub unsafe trait ComInterface: Interface + Clone { /// Call `QueryInterface` on this interface /// - /// # SAFETY + /// # Safety /// - /// `interface` must be a non-null, valid pointer for writing an interface pointer - #[doc(hidden)] - unsafe fn query(&self, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + /// `interface` must be a non-null, valid pointer for writing an interface pointer. + unsafe fn query(&self, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT { (self.assume_vtable::().QueryInterface)(self.as_raw(), iid, interface) } } diff --git a/crates/libs/core/src/hresult.rs b/crates/libs/core/src/hresult.rs index b69e487f27..4ff430f327 100644 --- a/crates/libs/core/src/hresult.rs +++ b/crates/libs/core/src/hresult.rs @@ -92,8 +92,8 @@ impl HRESULT { } /// Maps a Win32 error code to an HRESULT value. - pub(crate) fn from_win32(error: u32) -> Self { - Self(if error == 0 { 0 } else { (error & 0x0000_FFFF) | (7 << 16) | 0x8000_0000 } as i32) + pub const fn from_win32(error: u32) -> Self { + Self(if error as i32 <= 0 { error } else { (error & 0x0000_FFFF) | (7 << 16) | 0x8000_0000 } as i32) } } diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index 47106ea3da..4707b1d4ee 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -91,28 +91,13 @@ pub const E_BOUNDS: ::windows_core::HRESULT = ::windows_core::HRESULT(-214748363 pub const E_NOINTERFACE: ::windows_core::HRESULT = ::windows_core::HRESULT(-2147467262i32); pub const E_OUTOFMEMORY: ::windows_core::HRESULT = ::windows_core::HRESULT(-2147024882i32); #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAgileObject(::windows_core::IUnknown); impl IAgileObject {} ::windows_core::imp::interface_hierarchy!(IAgileObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAgileObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAgileObject {} -impl ::core::fmt::Debug for IAgileObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAgileObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAgileObject { type Vtable = IAgileObject_Vtbl; } -impl ::core::clone::Clone for IAgileObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAgileObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); } @@ -122,6 +107,7 @@ pub struct IAgileObject_Vtbl { pub base__: ::windows_core::IUnknown_Vtbl, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAgileReference(::windows_core::IUnknown); impl IAgileReference { pub unsafe fn Resolve(&self) -> ::windows_core::Result @@ -133,25 +119,9 @@ impl IAgileReference { } } ::windows_core::imp::interface_hierarchy!(IAgileReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAgileReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAgileReference {} -impl ::core::fmt::Debug for IAgileReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAgileReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAgileReference { type Vtable = IAgileReference_Vtbl; } -impl ::core::clone::Clone for IAgileReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAgileReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); } @@ -162,6 +132,7 @@ pub struct IAgileReference_Vtbl { pub Resolve: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riid: *const ::windows_core::GUID, ppvobjectreference: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorInfo(::windows_core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -186,25 +157,9 @@ impl IErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorInfo {} -impl ::core::fmt::Debug for IErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IErrorInfo { type Vtable = IErrorInfo_Vtbl; } -impl ::core::clone::Clone for IErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cf2b120_547d_101b_8e65_08002b2bd119); } @@ -219,6 +174,7 @@ pub struct IErrorInfo_Vtbl { pub GetHelpContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwhelpcontext: *mut u32) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionErrorInfo(::windows_core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -227,25 +183,9 @@ impl ILanguageExceptionErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionErrorInfo {} -impl ::core::fmt::Debug for ILanguageExceptionErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionErrorInfo { type Vtable = ILanguageExceptionErrorInfo_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04a2dbf3_df83_116c_0946_0812abf6e07d); } @@ -256,6 +196,7 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { pub GetLanguageException: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, languageexception: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionErrorInfo2(::windows_core::IUnknown); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetLanguageException(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -278,25 +219,9 @@ impl ILanguageExceptionErrorInfo2 { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo2, ::windows_core::IUnknown, ILanguageExceptionErrorInfo); -impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionErrorInfo2 {} -impl ::core::fmt::Debug for ILanguageExceptionErrorInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionErrorInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionErrorInfo2 { type Vtable = ILanguageExceptionErrorInfo2_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionErrorInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionErrorInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5746e5c4_5b97_424c_b620_2822915734dd); } @@ -309,6 +234,7 @@ pub struct ILanguageExceptionErrorInfo2_Vtbl { pub GetPropagationContextHead: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, propagatedlanguageexceptionerrorinfohead: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyValue(::windows_core::IUnknown); impl IPropertyValue { pub fn Type(&self) -> ::windows_core::Result { @@ -529,28 +455,12 @@ impl IPropertyValue { } } ::windows_core::imp::interface_hierarchy!(IPropertyValue, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPropertyValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyValue {} -impl ::core::fmt::Debug for IPropertyValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPropertyValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4bd682dd-7554-40e9-9a9b-82654ede7e62}"); } unsafe impl ::windows_core::Interface for IPropertyValue { type Vtable = IPropertyValue_Vtbl; } -impl ::core::clone::Clone for IPropertyValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bd682dd_7554_40e9_9a9b_82654ede7e62); } @@ -600,15 +510,11 @@ pub struct IPropertyValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPropertyValueStatics { type Vtable = IPropertyValueStatics_Vtbl; } -impl ::core::clone::Clone for IPropertyValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); } @@ -657,6 +563,7 @@ pub struct IPropertyValueStatics_Vtbl { pub CreateRectArray: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value_array_size: u32, value: *const Rect, result__: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReference(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -888,28 +795,12 @@ impl IReference { impl ::windows_core::CanInto<::windows_core::IUnknown> for IReference {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IReference {} impl ::windows_core::CanTryInto for IReference {} -impl ::core::cmp::PartialEq for IReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReference {} -impl ::core::fmt::Debug for IReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReference { type Vtable = IReference_Vtbl; } -impl ::core::clone::Clone for IReference { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -924,6 +815,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRestrictedErrorInfo(::windows_core::IUnknown); impl IRestrictedErrorInfo { pub unsafe fn GetErrorDetails(&self, description: *mut ::windows_core::BSTR, error: *mut ::windows_core::HRESULT, restricteddescription: *mut ::windows_core::BSTR, capabilitysid: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -935,27 +827,11 @@ impl IRestrictedErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IRestrictedErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRestrictedErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRestrictedErrorInfo {} -impl ::core::fmt::Debug for IRestrictedErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRestrictedErrorInfo").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IRestrictedErrorInfo {} unsafe impl ::core::marker::Sync for IRestrictedErrorInfo {} unsafe impl ::windows_core::Interface for IRestrictedErrorInfo { type Vtable = IRestrictedErrorInfo_Vtbl; } -impl ::core::clone::Clone for IRestrictedErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRestrictedErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82ba7092_4c88_427d_a7bc_16dd93feb67e); } @@ -967,6 +843,7 @@ pub struct IRestrictedErrorInfo_Vtbl { pub GetReference: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, reference: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringable(::windows_core::IUnknown); impl IStringable { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -978,28 +855,12 @@ impl IStringable { } } ::windows_core::imp::interface_hierarchy!(IStringable, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStringable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringable {} -impl ::core::fmt::Debug for IStringable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStringable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); } unsafe impl ::windows_core::Interface for IStringable { type Vtable = IStringable_Vtbl; } -impl ::core::clone::Clone for IStringable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); } @@ -1010,6 +871,7 @@ pub struct IStringable_Vtbl { pub ToString: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut ::std::mem::MaybeUninit<::windows_core::HSTRING>) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWeakReference(::windows_core::IUnknown); impl IWeakReference { pub unsafe fn Resolve(&self) -> ::windows_core::Result @@ -1021,25 +883,9 @@ impl IWeakReference { } } ::windows_core::imp::interface_hierarchy!(IWeakReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWeakReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWeakReference {} -impl ::core::fmt::Debug for IWeakReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWeakReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWeakReference { type Vtable = IWeakReference_Vtbl; } -impl ::core::clone::Clone for IWeakReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWeakReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000037_0000_0000_c000_000000000046); } @@ -1050,6 +896,7 @@ pub struct IWeakReference_Vtbl { pub Resolve: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, riid: *const ::windows_core::GUID, objectreference: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWeakReferenceSource(::windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> ::windows_core::Result { @@ -1058,25 +905,9 @@ impl IWeakReferenceSource { } } ::windows_core::imp::interface_hierarchy!(IWeakReferenceSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWeakReferenceSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWeakReferenceSource {} -impl ::core::fmt::Debug for IWeakReferenceSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWeakReferenceSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWeakReferenceSource { type Vtable = IWeakReferenceSource_Vtbl; } -impl ::core::clone::Clone for IWeakReferenceSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWeakReferenceSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000038_0000_0000_c000_000000000046); } diff --git a/crates/libs/core/src/imp/weak_ref_count.rs b/crates/libs/core/src/imp/weak_ref_count.rs index 2f28e7f97b..1f6a70a28a 100644 --- a/crates/libs/core/src/imp/weak_ref_count.rs +++ b/crates/libs/core/src/imp/weak_ref_count.rs @@ -32,8 +32,8 @@ impl WeakRefCount { } /// # Safety - pub unsafe fn query(&self, iid: &crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { - if iid != &IWeakReferenceSource::IID { + pub unsafe fn query(&self, iid: *const crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { + if *iid != IWeakReferenceSource::IID { return std::ptr::null_mut(); } @@ -119,16 +119,20 @@ impl TearOff { std::mem::transmute(value << 1) } - unsafe fn query_interface(&self, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe fn query_interface(&self, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { ((*(*(self.object as *mut *mut crate::IUnknown_Vtbl))).QueryInterface)(self.object, iid, interface) } - unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { let this = Self::from_strong_ptr(ptr); + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); // E_POINTER + } + // Only directly respond to queries for the the tear-off's strong interface. This is // effectively a self-query. - if iid == &IWeakReferenceSource::IID { + if *iid == IWeakReferenceSource::IID { *interface = ptr; this.strong_count.add_ref(); return crate::HRESULT(0); @@ -139,14 +143,18 @@ impl TearOff { this.query_interface(iid, interface) } - unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { let this = Self::from_weak_ptr(ptr); + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); // E_POINTER + } + // While the weak vtable is packed into the same allocation as the strong vtable and // tear-off, it represents a distinct COM identity and thus does not share or delegate to // the object. - *interface = if iid == &IWeakReference::IID || iid == &crate::IUnknown::IID || iid == &IAgileObject::IID { ptr } else { std::ptr::null_mut() }; + *interface = if *iid == IWeakReference::IID || *iid == crate::IUnknown::IID || *iid == IAgileObject::IID { ptr } else { std::ptr::null_mut() }; // TODO: implement IMarshal @@ -218,7 +226,7 @@ impl TearOff { }) .map(|_| { // Let the object respond to the upgrade query. - let result = this.query_interface(&*iid, interface as *mut _); + let result = this.query_interface(iid, interface); // Decrement the temporary reference account used to stabilize the object. this.strong_count.0.fetch_sub(1, Ordering::Relaxed); // Return the result of the query. diff --git a/crates/libs/core/src/interface.rs b/crates/libs/core/src/interface.rs index a39c3f4a2d..602f9dbb7e 100644 --- a/crates/libs/core/src/interface.rs +++ b/crates/libs/core/src/interface.rs @@ -16,7 +16,7 @@ pub unsafe trait Interface: Sized { /// Cast this interface as a reference to the supplied interfaces `Vtable` /// - /// # SAFETY + /// # Safety /// /// This is safe if `T` is an equivalent interface to `Self` or a super interface. /// In other words, `T::Vtable` must be equivalent to the beginning of `Self::Vtable`. @@ -65,6 +65,7 @@ pub unsafe trait Interface: Sized { } } +/// # Safety #[doc(hidden)] pub unsafe fn from_raw_borrowed(raw: &*mut std::ffi::c_void) -> Option<&T> { T::from_raw_borrowed(raw) diff --git a/crates/libs/core/src/strings/bstr.rs b/crates/libs/core/src/strings/bstr.rs index a7cae256c3..63f751c3c3 100644 --- a/crates/libs/core/src/strings/bstr.rs +++ b/crates/libs/core/src/strings/bstr.rs @@ -51,11 +51,13 @@ impl BSTR { } } + /// # Safety #[doc(hidden)] pub unsafe fn from_raw(raw: *const u16) -> Self { Self(raw) } + /// # Safety #[doc(hidden)] pub fn into_raw(self) -> *const u16 { unsafe { std::mem::transmute(self) } diff --git a/crates/libs/core/src/type.rs b/crates/libs/core/src/type.rs index 89285cab8b..c0d5aa5d61 100644 --- a/crates/libs/core/src/type.rs +++ b/crates/libs/core/src/type.rs @@ -15,7 +15,7 @@ pub struct ValueType; pub struct CopyType; #[doc(hidden)] -pub trait Type::TypeKind>: TypeKind + Sized { +pub trait Type::TypeKind>: TypeKind + Sized + Clone { type Abi; type Default; @@ -103,6 +103,7 @@ primitives!(bool, i8, u8, i16, u16, i32, u32, i64, u64, f32, f64, usize, isize); #[doc(hidden)] pub type AbiType = >::Abi; +/// # Safety #[doc(hidden)] pub unsafe fn from_abi>(abi: T::Abi) -> Result { T::from_abi(abi) diff --git a/crates/libs/core/src/unknown.rs b/crates/libs/core/src/unknown.rs index a9374c830f..3d3e6d92e6 100644 --- a/crates/libs/core/src/unknown.rs +++ b/crates/libs/core/src/unknown.rs @@ -10,7 +10,7 @@ pub struct IUnknown(std::ptr::NonNull); #[doc(hidden)] #[repr(C)] pub struct IUnknown_Vtbl { - pub QueryInterface: unsafe extern "system" fn(this: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT, + pub QueryInterface: unsafe extern "system" fn(this: *mut std::ffi::c_void, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT, pub AddRef: unsafe extern "system" fn(this: *mut std::ffi::c_void) -> u32, pub Release: unsafe extern "system" fn(this: *mut std::ffi::c_void) -> u32, } @@ -71,7 +71,7 @@ pub trait IUnknownImpl { /// /// This function is safe to call as long as the interface pointer is non-null and valid for writes /// of an interface pointer. - unsafe fn QueryInterface(&self, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT; + unsafe fn QueryInterface(&self, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT; /// Increments the reference count of the interface fn AddRef(&self) -> u32; /// Decrements the reference count causing the interface's memory to be freed when the count is 0 @@ -86,7 +86,7 @@ pub trait IUnknownImpl { #[cfg(feature = "implement")] impl IUnknown_Vtbl { pub const fn new() -> Self { - unsafe extern "system" fn QueryInterface(this: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut std::ffi::c_void, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT { let this = (this as *mut *mut std::ffi::c_void).offset(OFFSET) as *mut T; (*this).QueryInterface(iid, interface) } diff --git a/crates/libs/implement/src/lib.rs b/crates/libs/implement/src/lib.rs index e54e573663..095a854d38 100644 --- a/crates/libs/implement/src/lib.rs +++ b/crates/libs/implement/src/lib.rs @@ -45,7 +45,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: let offset = proc_macro2::Literal::usize_unsuffixed(count); quote! { else if #vtbl_ident::matches(iid) { - &self.vtables.#offset as *const _ as *const _ + &self.vtables.#offset as *const _ as *mut _ } } }); @@ -64,16 +64,14 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: } } impl #generics ::windows::core::AsImpl<#original_ident::#generics> for #interface_ident where #constraints { + // SAFETY: the offset is guranteed to be in bounds, and the implementation struct + // is guaranteed to live at least as long as `self`. unsafe fn as_impl(&self) -> &#original_ident::#generics { let this = ::windows::core::Interface::as_raw(self); - // SAFETY: the offset is guranteed to be in bounds, and the implementation struct - // is guaranteed to live at least as long as `self`. - unsafe { - // Subtract away the vtable offset plus 1, for the `identity` field, to get - // to the impl struct which contains that original implementation type. - let this = (this as *mut *mut ::core::ffi::c_void).sub(1 + #offset) as *mut #impl_ident::#generics; - &(*this).this - } + // Subtract away the vtable offset plus 1, for the `identity` field, to get + // to the impl struct which contains that original implementation type. + let this = (this as *mut *mut ::core::ffi::c_void).sub(1 + #offset) as *mut #impl_ident::#generics; + &(*this).this } } } @@ -104,28 +102,30 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: fn get_impl(&self) -> &Self::Impl { &self.this } - unsafe fn QueryInterface(&self, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { - unsafe { - *interface = if iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID - || iid == &<::windows::core::IInspectable as ::windows::core::ComInterface>::IID - || iid == &<::windows::core::imp::IAgileObject as ::windows::core::ComInterface>::IID { - &self.identity as *const _ as *const _ - } #(#queries)* else { - ::core::ptr::null_mut() - }; - - if !(*interface).is_null() { - self.count.add_ref(); - return ::windows::core::HRESULT(0); - } + unsafe fn QueryInterface(&self, iid: *const ::windows::core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { + if iid.is_null() || interface.is_null() { + return ::windows::core::HRESULT(-2147467261); // E_POINTER + } - *interface = self.count.query(iid, &self.identity as *const _ as *mut _); + *interface = if *iid == <::windows::core::IUnknown as ::windows::core::ComInterface>::IID + || *iid == <::windows::core::IInspectable as ::windows::core::ComInterface>::IID + || *iid == <::windows::core::imp::IAgileObject as ::windows::core::ComInterface>::IID { + &self.identity as *const _ as *mut _ + } #(#queries)* else { + ::core::ptr::null_mut() + }; - if (*interface).is_null() { - ::windows::core::HRESULT(0x8000_4002) // E_NOINTERFACE - } else { - ::windows::core::HRESULT(0) - } + if !(*interface).is_null() { + self.count.add_ref(); + return ::windows::core::HRESULT(0); + } + + *interface = self.count.query(iid, &self.identity as *const _ as *mut _); + + if (*interface).is_null() { + ::windows::core::HRESULT(-2147467262) // E_NOINTERFACE + } else { + ::windows::core::HRESULT(0) } } fn AddRef(&self) -> u32 { @@ -134,9 +134,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: unsafe fn Release(&self) -> u32 { let remaining = self.count.release(); if remaining == 0 { - unsafe { - _ = ::std::boxed::Box::from_raw(self as *const Self as *mut Self); - } + _ = ::std::boxed::Box::from_raw(self as *const Self as *mut Self); } remaining } diff --git a/crates/libs/interface/src/lib.rs b/crates/libs/interface/src/lib.rs index 4d1b7f11bf..329740c387 100644 --- a/crates/libs/interface/src/lib.rs +++ b/crates/libs/interface/src/lib.rs @@ -244,8 +244,8 @@ impl Interface { Self { base__: #parent_vtable::new::<#parent_vtable_generics>(), #(#entries),* } } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &<#name as ::windows::core::ComInterface>::IID + pub unsafe fn matches(iid: *const windows::core::GUID) -> bool { + *iid == <#name as ::windows::core::ComInterface>::IID } } } diff --git a/crates/libs/metadata/Cargo.toml b/crates/libs/metadata/Cargo.toml index f40b7c2b2f..3ebc9d24b0 100644 --- a/crates/libs/metadata/Cargo.toml +++ b/crates/libs/metadata/Cargo.toml @@ -7,6 +7,7 @@ rust-version = "1.64" license = "MIT OR Apache-2.0" description = "Windows metadata reader" repository = "https://github.com/microsoft/windows-rs" +readme = "readme.md" [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" diff --git a/crates/libs/metadata/readme.md b/crates/libs/metadata/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/metadata/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/metadata/src/filter.rs b/crates/libs/metadata/src/filter.rs index c13afda44a..4b2d229f82 100644 --- a/crates/libs/metadata/src/filter.rs +++ b/crates/libs/metadata/src/filter.rs @@ -70,6 +70,10 @@ impl<'a> Filter<'a> { fn is_empty(&self) -> bool { self.0.is_empty() } + + pub fn unused(&self, reader: &'a Reader) -> impl Iterator + '_ { + self.0.iter().filter_map(|(name, _)| if reader.unused(name) { Some(*name) } else { None }) + } } fn match_type_name(rule: &str, namespace: &str, name: &str) -> bool { diff --git a/crates/libs/metadata/src/lib.rs b/crates/libs/metadata/src/lib.rs index 70a85c5b10..1aca2157fa 100644 --- a/crates/libs/metadata/src/lib.rs +++ b/crates/libs/metadata/src/lib.rs @@ -130,6 +130,29 @@ impl<'a> Reader<'a> { self.items.get_key_value(namespace).into_iter().flat_map(move |(namespace, items)| items.iter().filter(move |(name, _)| filter.includes_type_name(TypeName::new(namespace, name)))).flat_map(move |(_, items)| items).cloned() } + fn unused(&self, filter: &str) -> bool { + // Match namespaces + if self.items.contains_key(filter) { + return false; + } + + // Match type names + if let Some((namespace, name)) = filter.rsplit_once('.') { + if self.items.get(namespace).is_some_and(|items| items.contains_key(name)) { + return false; + } + } + + // Match empty parent namespaces + for namespace in self.items.keys() { + if namespace.len() > filter.len() && namespace.starts_with(filter) && namespace.as_bytes()[filter.len()] == b'.' { + return false; + } + } + + true + } + fn get_item(&self, type_name: TypeName) -> impl Iterator + '_ { if let Some(items) = self.items.get(type_name.namespace) { if let Some(items) = items.get(type_name.name) { diff --git a/crates/libs/metadata/src/type_name.rs b/crates/libs/metadata/src/type_name.rs index 750d58c3ec..eaf534b4fa 100644 --- a/crates/libs/metadata/src/type_name.rs +++ b/crates/libs/metadata/src/type_name.rs @@ -30,7 +30,6 @@ impl<'a> TypeName<'a> { pub const IVectorView: Self = Self::from_const("Windows.Foundation.Collections", "IVectorView"); pub const IVector: Self = Self::from_const("Windows.Foundation.Collections", "IVector"); - pub const NTSTATUS: Self = Self::from_const("Windows.Win32.Foundation", "NTSTATUS"); pub const PWSTR: Self = Self::from_const("Windows.Win32.Foundation", "PWSTR"); pub const PSTR: Self = Self::from_const("Windows.Win32.Foundation", "PSTR"); pub const BSTR: Self = Self::from_const("Windows.Win32.Foundation", "BSTR"); diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index 3381da4ae0..b09cad7ef5 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -7,7 +7,7 @@ rust-version = "1.56" license = "MIT OR Apache-2.0" description = "Rust for Windows" repository = "https://github.com/microsoft/windows-rs" -readme = "../../../docs/readme.md" +readme = "readme.md" categories = ["os::windows-apis"] [package.metadata.docs.rs] diff --git a/crates/libs/sys/readme.md b/crates/libs/sys/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/sys/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/targets/Cargo.toml b/crates/libs/targets/Cargo.toml index 77e1cf5d45..fbbe66fa6d 100644 --- a/crates/libs/targets/Cargo.toml +++ b/crates/libs/targets/Cargo.toml @@ -8,7 +8,7 @@ rust-version = "1.56" license = "MIT OR Apache-2.0" description = "Import libs for Windows" repository = "https://github.com/microsoft/windows-rs" -readme = "../../../docs/readme.md" +readme = "readme.md" [target.'cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))'.dependencies] windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.52.0" } diff --git a/crates/libs/targets/readme.md b/crates/libs/targets/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/targets/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index f50e677f1d..1a45392ece 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" description = "Rust for Windows" repository = "https://github.com/microsoft/windows-rs" documentation = "https://microsoft.github.io/windows-docs-rs/" -readme = "../../../docs/readme.md" +readme = "readme.md" categories = ["os::windows-apis"] [package.metadata.docs.rs] diff --git a/crates/libs/windows/readme.md b/crates/libs/windows/readme.md new file mode 100644 index 0000000000..ee076f40ca --- /dev/null +++ b/crates/libs/windows/readme.md @@ -0,0 +1,88 @@ +## Rust for Windows + +The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. + +* [Getting started](https://kennykerr.ca/rust-getting-started/) +* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Releases](https://github.com/microsoft/windows-rs/releases) + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows] +version = "0.52" +features = [ + "Data_Xml_Dom", + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows::{ + core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, + Win32::UI::WindowsAndMessaging::*, +}; + +fn main() -> Result<()> { + let doc = XmlDocument::new()?; + doc.LoadXml(h!("hello world"))?; + + let root = doc.DocumentElement()?; + assert!(root.NodeName()? == "html"); + assert!(root.InnerText()? == "hello world"); + + unsafe { + let event = CreateEventW(None, true, false, None)?; + SetEvent(event)?; + WaitForSingleObject(event, 0); + CloseHandle(event)?; + + MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); + } + + Ok(()) +} +``` + +## windows-sys + +The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. + +Start by adding the following to your Cargo.toml file: + +```toml +[dependencies.windows-sys] +version = "0.52" +features = [ + "Win32_Foundation", + "Win32_Security", + "Win32_System_Threading", + "Win32_UI_WindowsAndMessaging", +] +``` + +Make use of any Windows APIs as needed: + +```rust,no_run +use windows_sys::{ + core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, +}; + +fn main() { + unsafe { + let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); + SetEvent(event); + WaitForSingleObject(event, 0); + CloseHandle(event); + + MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); + MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); + } +} +``` diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs index c7607c6de3..7f4a985cfa 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs @@ -64,8 +64,8 @@ impl ILearningModelFeatureDescriptor_Vtbl { IsRequired: IsRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl ILearningModelFeatureValue_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl ILearningModelOperatorProvider_Vtbl { pub const fn new, Impl: ILearningModelOperatorProvider_Impl, const OFFSET: isize>() -> ILearningModelOperatorProvider_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -149,7 +149,7 @@ impl ITensor_Vtbl { Shape: Shape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index 962cb5e0fb..a7ab82cc54 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageFeatureDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageFeatureDescriptor { type Vtable = IImageFeatureDescriptor_Vtbl; } -impl ::core::clone::Clone for IImageFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageFeatureDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x365585a5_171a_4a2a_985f_265159d3895a); } @@ -29,15 +25,11 @@ pub struct IImageFeatureDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageFeatureDescriptor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageFeatureDescriptor2 { type Vtable = IImageFeatureDescriptor2_Vtbl; } -impl ::core::clone::Clone for IImageFeatureDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageFeatureDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b27cca7_d533_5862_bb98_1611b155b0e1); } @@ -49,15 +41,11 @@ pub struct IImageFeatureDescriptor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageFeatureValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageFeatureValue { type Vtable = IImageFeatureValue_Vtbl; } -impl ::core::clone::Clone for IImageFeatureValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageFeatureValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0414fd9_c9aa_4405_b7fb_94f87c8a3037); } @@ -72,15 +60,11 @@ pub struct IImageFeatureValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageFeatureValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageFeatureValueStatics { type Vtable = IImageFeatureValueStatics_Vtbl; } -impl ::core::clone::Clone for IImageFeatureValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageFeatureValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bc317fd_23cb_4610_b085_c8e1c87ebaa0); } @@ -95,15 +79,11 @@ pub struct IImageFeatureValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModel { type Vtable = ILearningModel_Vtbl; } -impl ::core::clone::Clone for ILearningModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b8e4920_489f_4e86_9128_265a327b78fa); } @@ -131,15 +111,11 @@ pub struct ILearningModel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelBinding(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelBinding { type Vtable = ILearningModelBinding_Vtbl; } -impl ::core::clone::Clone for ILearningModelBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea312f20_168f_4f8c_94fe_2e7ac31b4aa8); } @@ -156,15 +132,11 @@ pub struct ILearningModelBinding_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelBindingFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelBindingFactory { type Vtable = ILearningModelBindingFactory_Vtbl; } -impl ::core::clone::Clone for ILearningModelBindingFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelBindingFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc95f7a7a_e788_475e_8917_23aa381faf0b); } @@ -176,15 +148,11 @@ pub struct ILearningModelBindingFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelDevice { type Vtable = ILearningModelDevice_Vtbl; } -impl ::core::clone::Clone for ILearningModelDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5c2c8fe_3f56_4a8c_ac5f_fdb92d8b8252); } @@ -203,15 +171,11 @@ pub struct ILearningModelDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelDeviceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelDeviceFactory { type Vtable = ILearningModelDeviceFactory_Vtbl; } -impl ::core::clone::Clone for ILearningModelDeviceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelDeviceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cffd74d_b1e5_4f20_80ad_0a56690db06b); } @@ -223,15 +187,11 @@ pub struct ILearningModelDeviceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelDeviceStatics { type Vtable = ILearningModelDeviceStatics_Vtbl; } -impl ::core::clone::Clone for ILearningModelDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49f32107_a8bf_42bb_92c7_10b12dc5d21f); } @@ -246,15 +206,11 @@ pub struct ILearningModelDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelEvaluationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelEvaluationResult { type Vtable = ILearningModelEvaluationResult_Vtbl; } -impl ::core::clone::Clone for ILearningModelEvaluationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelEvaluationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2f9bfcd_960e_49c0_8593_eb190ae3eee2); } @@ -272,6 +228,7 @@ pub struct ILearningModelEvaluationResult_Vtbl { } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelFeatureDescriptor(::windows_core::IUnknown); impl ILearningModelFeatureDescriptor { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -304,28 +261,12 @@ impl ILearningModelFeatureDescriptor { } } ::windows_core::imp::interface_hierarchy!(ILearningModelFeatureDescriptor, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILearningModelFeatureDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelFeatureDescriptor {} -impl ::core::fmt::Debug for ILearningModelFeatureDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelFeatureDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILearningModelFeatureDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bc08cf7c-6ed0-4004-97ba-b9a2eecd2b4f}"); } unsafe impl ::windows_core::Interface for ILearningModelFeatureDescriptor { type Vtable = ILearningModelFeatureDescriptor_Vtbl; } -impl ::core::clone::Clone for ILearningModelFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelFeatureDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc08cf7c_6ed0_4004_97ba_b9a2eecd2b4f); } @@ -340,6 +281,7 @@ pub struct ILearningModelFeatureDescriptor_Vtbl { } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelFeatureValue(::windows_core::IUnknown); impl ILearningModelFeatureValue { pub fn Kind(&self) -> ::windows_core::Result { @@ -351,28 +293,12 @@ impl ILearningModelFeatureValue { } } ::windows_core::imp::interface_hierarchy!(ILearningModelFeatureValue, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILearningModelFeatureValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelFeatureValue {} -impl ::core::fmt::Debug for ILearningModelFeatureValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelFeatureValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILearningModelFeatureValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f51005db-4085-4dfe-9fed-95eb0c0cf75c}"); } unsafe impl ::windows_core::Interface for ILearningModelFeatureValue { type Vtable = ILearningModelFeatureValue_Vtbl; } -impl ::core::clone::Clone for ILearningModelFeatureValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelFeatureValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf51005db_4085_4dfe_9fed_95eb0c0cf75c); } @@ -384,31 +310,16 @@ pub struct ILearningModelFeatureValue_Vtbl { } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelOperatorProvider(::windows_core::IUnknown); impl ILearningModelOperatorProvider {} ::windows_core::imp::interface_hierarchy!(ILearningModelOperatorProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILearningModelOperatorProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelOperatorProvider {} -impl ::core::fmt::Debug for ILearningModelOperatorProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelOperatorProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILearningModelOperatorProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2a222e5d-afb1-47ed-bfad-b5b3a459ec04}"); } unsafe impl ::windows_core::Interface for ILearningModelOperatorProvider { type Vtable = ILearningModelOperatorProvider_Vtbl; } -impl ::core::clone::Clone for ILearningModelOperatorProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelOperatorProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a222e5d_afb1_47ed_bfad_b5b3a459ec04); } @@ -419,15 +330,11 @@ pub struct ILearningModelOperatorProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSession { type Vtable = ILearningModelSession_Vtbl; } -impl ::core::clone::Clone for ILearningModelSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e58f8f6_b787_4c11_90f0_7129aeca74a9); } @@ -457,15 +364,11 @@ pub struct ILearningModelSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSessionFactory { type Vtable = ILearningModelSessionFactory_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f6b881d_1c9b_47b6_bfe0_f1cf62a67579); } @@ -478,15 +381,11 @@ pub struct ILearningModelSessionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSessionFactory2 { type Vtable = ILearningModelSessionFactory2_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e5c88bf_0a1f_5fec_ade0_2fd91e4ef29b); } @@ -498,15 +397,11 @@ pub struct ILearningModelSessionFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSessionOptions { type Vtable = ILearningModelSessionOptions_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8f63fa1_134d_5133_8cff_3a5c3c263beb); } @@ -519,15 +414,11 @@ pub struct ILearningModelSessionOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSessionOptions2 { type Vtable = ILearningModelSessionOptions2_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fcd1dc4_175f_5bd2_8de5_2f2006a25adf); } @@ -540,15 +431,11 @@ pub struct ILearningModelSessionOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionOptions3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelSessionOptions3 { type Vtable = ILearningModelSessionOptions3_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionOptions3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionOptions3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58e15cee_d8c2_56fc_92e8_76d751081086); } @@ -560,15 +447,11 @@ pub struct ILearningModelSessionOptions3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILearningModelStatics { type Vtable = ILearningModelStatics_Vtbl; } -impl ::core::clone::Clone for ILearningModelStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3b977e8_6952_4e47_8ef4_1f7f07897c6d); } @@ -605,15 +488,11 @@ pub struct ILearningModelStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapFeatureDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapFeatureDescriptor { type Vtable = IMapFeatureDescriptor_Vtbl; } -impl ::core::clone::Clone for IMapFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapFeatureDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x530424bd_a257_436d_9e60_c2981f7cc5c4); } @@ -626,15 +505,11 @@ pub struct IMapFeatureDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISequenceFeatureDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISequenceFeatureDescriptor { type Vtable = ISequenceFeatureDescriptor_Vtbl; } -impl ::core::clone::Clone for ISequenceFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISequenceFeatureDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84f6945a_562b_4d62_a851_739aced96668); } @@ -646,6 +521,7 @@ pub struct ISequenceFeatureDescriptor_Vtbl { } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensor(::windows_core::IUnknown); impl ITensor { pub fn TensorKind(&self) -> ::windows_core::Result { @@ -674,28 +550,12 @@ impl ITensor { } ::windows_core::imp::interface_hierarchy!(ITensor, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ITensor {} -impl ::core::cmp::PartialEq for ITensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITensor {} -impl ::core::fmt::Debug for ITensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{05489593-a305-4a25-ad09-440119b4b7f6}"); } unsafe impl ::windows_core::Interface for ITensor { type Vtable = ITensor_Vtbl; } -impl ::core::clone::Clone for ITensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05489593_a305_4a25_ad09_440119b4b7f6); } @@ -711,15 +571,11 @@ pub struct ITensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorBoolean(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorBoolean { type Vtable = ITensorBoolean_Vtbl; } -impl ::core::clone::Clone for ITensorBoolean { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorBoolean { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50f311ed_29e9_4a5c_a44d_8fc512584eed); } @@ -734,15 +590,11 @@ pub struct ITensorBoolean_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorBooleanStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorBooleanStatics { type Vtable = ITensorBooleanStatics_Vtbl; } -impl ::core::clone::Clone for ITensorBooleanStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorBooleanStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2796862c_2357_49a7_b476_d0aa3dfe6866); } @@ -766,15 +618,11 @@ pub struct ITensorBooleanStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorBooleanStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorBooleanStatics2 { type Vtable = ITensorBooleanStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorBooleanStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorBooleanStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3a4a501_6a2d_52d7_b04b_c435baee0115); } @@ -790,15 +638,11 @@ pub struct ITensorBooleanStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorDouble(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorDouble { type Vtable = ITensorDouble_Vtbl; } -impl ::core::clone::Clone for ITensorDouble { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorDouble { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91e41252_7a8f_4f0e_a28f_9637ffc8a3d0); } @@ -813,15 +657,11 @@ pub struct ITensorDouble_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorDoubleStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorDoubleStatics { type Vtable = ITensorDoubleStatics_Vtbl; } -impl ::core::clone::Clone for ITensorDoubleStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorDoubleStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa86693c5_9538_44e7_a3ca_5df374a5a70c); } @@ -845,15 +685,11 @@ pub struct ITensorDoubleStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorDoubleStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorDoubleStatics2 { type Vtable = ITensorDoubleStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorDoubleStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorDoubleStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93a570de_5e9a_5094_85c8_592c655e68ac); } @@ -869,15 +705,11 @@ pub struct ITensorDoubleStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFeatureDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFeatureDescriptor { type Vtable = ITensorFeatureDescriptor_Vtbl; } -impl ::core::clone::Clone for ITensorFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFeatureDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74455c80_946a_4310_a19c_ee0af028fce4); } @@ -893,15 +725,11 @@ pub struct ITensorFeatureDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloat { type Vtable = ITensorFloat_Vtbl; } -impl ::core::clone::Clone for ITensorFloat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2282d82_aa02_42c8_a0c8_df1efc9676e1); } @@ -916,15 +744,11 @@ pub struct ITensorFloat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloat16Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloat16Bit { type Vtable = ITensorFloat16Bit_Vtbl; } -impl ::core::clone::Clone for ITensorFloat16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloat16Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ab994fc_5b89_4c3c_b5e4_5282a5316c0a); } @@ -939,15 +763,11 @@ pub struct ITensorFloat16Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloat16BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloat16BitStatics { type Vtable = ITensorFloat16BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorFloat16BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloat16BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa52db6f5_318a_44d4_820b_0cdc7054a84a); } @@ -971,15 +791,11 @@ pub struct ITensorFloat16BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloat16BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloat16BitStatics2 { type Vtable = ITensorFloat16BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorFloat16BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloat16BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68545726_2dc7_51bf_b470_0b344cc2a1bc); } @@ -995,15 +811,11 @@ pub struct ITensorFloat16BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloatStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloatStatics { type Vtable = ITensorFloatStatics_Vtbl; } -impl ::core::clone::Clone for ITensorFloatStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloatStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbcd395b_3ba3_452f_b10d_3c135e573fa9); } @@ -1027,15 +839,11 @@ pub struct ITensorFloatStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorFloatStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorFloatStatics2 { type Vtable = ITensorFloatStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorFloatStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorFloatStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24610bc1_5e44_5713_b281_8f4ad4d555e8); } @@ -1051,15 +859,11 @@ pub struct ITensorFloatStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt16Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt16Bit { type Vtable = ITensorInt16Bit_Vtbl; } -impl ::core::clone::Clone for ITensorInt16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt16Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98a32d39_e6d6_44af_8afa_baebc44dc020); } @@ -1074,15 +878,11 @@ pub struct ITensorInt16Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt16BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt16BitStatics { type Vtable = ITensorInt16BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorInt16BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt16BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98646293_266e_4b1a_821f_e60d70898b91); } @@ -1106,15 +906,11 @@ pub struct ITensorInt16BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt16BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt16BitStatics2 { type Vtable = ITensorInt16BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorInt16BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt16BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cd70cf4_696c_5e5f_95d8_5ebf9670148b); } @@ -1130,15 +926,11 @@ pub struct ITensorInt16BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt32Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt32Bit { type Vtable = ITensorInt32Bit_Vtbl; } -impl ::core::clone::Clone for ITensorInt32Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt32Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c0c28d3_207c_4486_a7d2_884522c5e589); } @@ -1153,15 +945,11 @@ pub struct ITensorInt32Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt32BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt32BitStatics { type Vtable = ITensorInt32BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorInt32BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt32BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6539864b_52fa_4e35_907c_834cac417b50); } @@ -1185,15 +973,11 @@ pub struct ITensorInt32BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt32BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt32BitStatics2 { type Vtable = ITensorInt32BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorInt32BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt32BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c4b079a_e956_5ce0_a3bd_157d9d79b5ec); } @@ -1209,15 +993,11 @@ pub struct ITensorInt32BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt64Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt64Bit { type Vtable = ITensorInt64Bit_Vtbl; } -impl ::core::clone::Clone for ITensorInt64Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt64Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x499665ba_1fa2_45ad_af25_a0bd9bda4c87); } @@ -1232,15 +1012,11 @@ pub struct ITensorInt64Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt64BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt64BitStatics { type Vtable = ITensorInt64BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorInt64BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt64BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9648ad9d_1198_4d74_9517_783ab62b9cc2); } @@ -1264,15 +1040,11 @@ pub struct ITensorInt64BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt64BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt64BitStatics2 { type Vtable = ITensorInt64BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorInt64BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt64BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d3d9dcb_ff40_5ec2_89fe_084e2b6bc6db); } @@ -1288,15 +1060,11 @@ pub struct ITensorInt64BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt8Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt8Bit { type Vtable = ITensorInt8Bit_Vtbl; } -impl ::core::clone::Clone for ITensorInt8Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt8Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcddd97c5_ffd8_4fef_aefb_30e1a485b2ee); } @@ -1311,15 +1079,11 @@ pub struct ITensorInt8Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt8BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt8BitStatics { type Vtable = ITensorInt8BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorInt8BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt8BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1a12284_095c_4c76_a661_ac4cee1f3e8b); } @@ -1343,15 +1107,11 @@ pub struct ITensorInt8BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorInt8BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorInt8BitStatics2 { type Vtable = ITensorInt8BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorInt8BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorInt8BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0d59637_c468_56fb_9535_c052bdb93dc0); } @@ -1367,15 +1127,11 @@ pub struct ITensorInt8BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorString(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorString { type Vtable = ITensorString_Vtbl; } -impl ::core::clone::Clone for ITensorString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x582335c8_bdb1_4610_bc75_35e9cbf009b7); } @@ -1390,15 +1146,11 @@ pub struct ITensorString_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorStringStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorStringStatics { type Vtable = ITensorStringStatics_Vtbl; } -impl ::core::clone::Clone for ITensorStringStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorStringStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83623324_cf26_4f17_a2d4_20ef8d097d53); } @@ -1422,15 +1174,11 @@ pub struct ITensorStringStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorStringStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorStringStatics2 { type Vtable = ITensorStringStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorStringStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorStringStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e355ed0_c8e2_5254_9137_0193a3668fd8); } @@ -1442,15 +1190,11 @@ pub struct ITensorStringStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt16Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt16Bit { type Vtable = ITensorUInt16Bit_Vtbl; } -impl ::core::clone::Clone for ITensorUInt16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt16Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68140f4b_23c0_42f3_81f6_a891c011bc3f); } @@ -1465,15 +1209,11 @@ pub struct ITensorUInt16Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt16BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt16BitStatics { type Vtable = ITensorUInt16BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorUInt16BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt16BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5df745dd_028a_481a_a27c_c7e6435e52dd); } @@ -1497,15 +1237,11 @@ pub struct ITensorUInt16BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt16BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt16BitStatics2 { type Vtable = ITensorUInt16BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorUInt16BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt16BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8af40c64_d69f_5315_9348_490877bbd642); } @@ -1521,15 +1257,11 @@ pub struct ITensorUInt16BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt32Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt32Bit { type Vtable = ITensorUInt32Bit_Vtbl; } -impl ::core::clone::Clone for ITensorUInt32Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt32Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8c9c2ff_7511_45a3_bfac_c38f370d2237); } @@ -1544,15 +1276,11 @@ pub struct ITensorUInt32Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt32BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt32BitStatics { type Vtable = ITensorUInt32BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorUInt32BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt32BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x417c3837_e773_4378_8e7f_0cc33dbea697); } @@ -1576,15 +1304,11 @@ pub struct ITensorUInt32BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt32BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt32BitStatics2 { type Vtable = ITensorUInt32BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorUInt32BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt32BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef1a1f1c_314e_569d_b496_5c8447d20cd2); } @@ -1600,15 +1324,11 @@ pub struct ITensorUInt32BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt64Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt64Bit { type Vtable = ITensorUInt64Bit_Vtbl; } -impl ::core::clone::Clone for ITensorUInt64Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt64Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e70ffad_04bf_4825_839a_82baef8c7886); } @@ -1623,15 +1343,11 @@ pub struct ITensorUInt64Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt64BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt64BitStatics { type Vtable = ITensorUInt64BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorUInt64BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt64BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a7e20eb_242f_47cb_a9c6_f602ecfbfee4); } @@ -1655,15 +1371,11 @@ pub struct ITensorUInt64BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt64BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt64BitStatics2 { type Vtable = ITensorUInt64BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorUInt64BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt64BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x085a687d_67e1_5b1e_b232_4fabe9ca20b3); } @@ -1679,15 +1391,11 @@ pub struct ITensorUInt64BitStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt8Bit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt8Bit { type Vtable = ITensorUInt8Bit_Vtbl; } -impl ::core::clone::Clone for ITensorUInt8Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt8Bit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58e1ae27_622b_48e3_be22_d867aed1daac); } @@ -1702,15 +1410,11 @@ pub struct ITensorUInt8Bit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt8BitStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt8BitStatics { type Vtable = ITensorUInt8BitStatics_Vtbl; } -impl ::core::clone::Clone for ITensorUInt8BitStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt8BitStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05f67583_bc24_4220_8a41_2dcd8c5ed33c); } @@ -1734,15 +1438,11 @@ pub struct ITensorUInt8BitStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorUInt8BitStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITensorUInt8BitStatics2 { type Vtable = ITensorUInt8BitStatics2_Vtbl; } -impl ::core::clone::Clone for ITensorUInt8BitStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorUInt8BitStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ba042d6_373e_5a3a_a2fc_a6c41bd52789); } @@ -1758,6 +1458,7 @@ pub struct ITensorUInt8BitStatics2_Vtbl { } #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageFeatureDescriptor(::windows_core::IUnknown); impl ImageFeatureDescriptor { #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -1828,25 +1529,9 @@ impl ImageFeatureDescriptor { } } } -impl ::core::cmp::PartialEq for ImageFeatureDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageFeatureDescriptor {} -impl ::core::fmt::Debug for ImageFeatureDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageFeatureDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageFeatureDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureDescriptor;{365585a5-171a-4a2a-985f-265159d3895a})"); } -impl ::core::clone::Clone for ImageFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageFeatureDescriptor { type Vtable = IImageFeatureDescriptor_Vtbl; } @@ -1862,6 +1547,7 @@ unsafe impl ::core::marker::Send for ImageFeatureDescriptor {} unsafe impl ::core::marker::Sync for ImageFeatureDescriptor {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageFeatureValue(::windows_core::IUnknown); impl ImageFeatureValue { #[doc = "*Required features: `\"Media\"`*"] @@ -1897,25 +1583,9 @@ impl ImageFeatureValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ImageFeatureValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageFeatureValue {} -impl ::core::fmt::Debug for ImageFeatureValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageFeatureValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageFeatureValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.ImageFeatureValue;{f0414fd9-c9aa-4405-b7fb-94f87c8a3037})"); } -impl ::core::clone::Clone for ImageFeatureValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageFeatureValue { type Vtable = IImageFeatureValue_Vtbl; } @@ -1931,6 +1601,7 @@ unsafe impl ::core::marker::Send for ImageFeatureValue {} unsafe impl ::core::marker::Sync for ImageFeatureValue {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModel(::windows_core::IUnknown); impl LearningModel { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2091,25 +1762,9 @@ impl LearningModel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LearningModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModel {} -impl ::core::fmt::Debug for LearningModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModel;{5b8e4920-489f-4e86-9128-265a327b78fa})"); } -impl ::core::clone::Clone for LearningModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModel { type Vtable = ILearningModel_Vtbl; } @@ -2126,6 +1781,7 @@ unsafe impl ::core::marker::Send for LearningModel {} unsafe impl ::core::marker::Sync for LearningModel {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModelBinding(::windows_core::IUnknown); impl LearningModelBinding { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2206,25 +1862,9 @@ impl LearningModelBinding { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LearningModelBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModelBinding {} -impl ::core::fmt::Debug for LearningModelBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModelBinding").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModelBinding { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelBinding;{ea312f20-168f-4f8c-94fe-2e7ac31b4aa8})"); } -impl ::core::clone::Clone for LearningModelBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModelBinding { type Vtable = ILearningModelBinding_Vtbl; } @@ -2259,6 +1899,7 @@ unsafe impl ::core::marker::Send for LearningModelBinding {} unsafe impl ::core::marker::Sync for LearningModelBinding {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModelDevice(::windows_core::IUnknown); impl LearningModelDevice { #[doc = "*Required features: `\"Graphics\"`*"] @@ -2307,25 +1948,9 @@ impl LearningModelDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LearningModelDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModelDevice {} -impl ::core::fmt::Debug for LearningModelDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModelDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModelDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelDevice;{f5c2c8fe-3f56-4a8c-ac5f-fdb92d8b8252})"); } -impl ::core::clone::Clone for LearningModelDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModelDevice { type Vtable = ILearningModelDevice_Vtbl; } @@ -2340,6 +1965,7 @@ unsafe impl ::core::marker::Send for LearningModelDevice {} unsafe impl ::core::marker::Sync for LearningModelDevice {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModelEvaluationResult(::windows_core::IUnknown); impl LearningModelEvaluationResult { pub fn CorrelationId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2373,25 +1999,9 @@ impl LearningModelEvaluationResult { } } } -impl ::core::cmp::PartialEq for LearningModelEvaluationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModelEvaluationResult {} -impl ::core::fmt::Debug for LearningModelEvaluationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModelEvaluationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModelEvaluationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelEvaluationResult;{b2f9bfcd-960e-49c0-8593-eb190ae3eee2})"); } -impl ::core::clone::Clone for LearningModelEvaluationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModelEvaluationResult { type Vtable = ILearningModelEvaluationResult_Vtbl; } @@ -2406,6 +2016,7 @@ unsafe impl ::core::marker::Send for LearningModelEvaluationResult {} unsafe impl ::core::marker::Sync for LearningModelEvaluationResult {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModelSession(::windows_core::IUnknown); impl LearningModelSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2524,25 +2135,9 @@ impl LearningModelSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LearningModelSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModelSession {} -impl ::core::fmt::Debug for LearningModelSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModelSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModelSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSession;{8e58f8f6-b787-4c11-90f0-7129aeca74a9})"); } -impl ::core::clone::Clone for LearningModelSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModelSession { type Vtable = ILearningModelSession_Vtbl; } @@ -2559,6 +2154,7 @@ unsafe impl ::core::marker::Send for LearningModelSession {} unsafe impl ::core::marker::Sync for LearningModelSession {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LearningModelSessionOptions(::windows_core::IUnknown); impl LearningModelSessionOptions { pub fn new() -> ::windows_core::Result { @@ -2595,25 +2191,9 @@ impl LearningModelSessionOptions { unsafe { (::windows_core::Interface::vtable(this).OverrideNamedDimension)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(name), dimension).ok() } } } -impl ::core::cmp::PartialEq for LearningModelSessionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LearningModelSessionOptions {} -impl ::core::fmt::Debug for LearningModelSessionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LearningModelSessionOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LearningModelSessionOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.LearningModelSessionOptions;{b8f63fa1-134d-5133-8cff-3a5c3c263beb})"); } -impl ::core::clone::Clone for LearningModelSessionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LearningModelSessionOptions { type Vtable = ILearningModelSessionOptions_Vtbl; } @@ -2628,6 +2208,7 @@ unsafe impl ::core::marker::Send for LearningModelSessionOptions {} unsafe impl ::core::marker::Sync for LearningModelSessionOptions {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapFeatureDescriptor(::windows_core::IUnknown); impl MapFeatureDescriptor { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2673,25 +2254,9 @@ impl MapFeatureDescriptor { } } } -impl ::core::cmp::PartialEq for MapFeatureDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapFeatureDescriptor {} -impl ::core::fmt::Debug for MapFeatureDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapFeatureDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapFeatureDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.MapFeatureDescriptor;{530424bd-a257-436d-9e60-c2981f7cc5c4})"); } -impl ::core::clone::Clone for MapFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapFeatureDescriptor { type Vtable = IMapFeatureDescriptor_Vtbl; } @@ -2707,6 +2272,7 @@ unsafe impl ::core::marker::Send for MapFeatureDescriptor {} unsafe impl ::core::marker::Sync for MapFeatureDescriptor {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SequenceFeatureDescriptor(::windows_core::IUnknown); impl SequenceFeatureDescriptor { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2745,25 +2311,9 @@ impl SequenceFeatureDescriptor { } } } -impl ::core::cmp::PartialEq for SequenceFeatureDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SequenceFeatureDescriptor {} -impl ::core::fmt::Debug for SequenceFeatureDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SequenceFeatureDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SequenceFeatureDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.SequenceFeatureDescriptor;{84f6945a-562b-4d62-a851-739aced96668})"); } -impl ::core::clone::Clone for SequenceFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SequenceFeatureDescriptor { type Vtable = ISequenceFeatureDescriptor_Vtbl; } @@ -2779,6 +2329,7 @@ unsafe impl ::core::marker::Send for SequenceFeatureDescriptor {} unsafe impl ::core::marker::Sync for SequenceFeatureDescriptor {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorBoolean(::windows_core::IUnknown); impl TensorBoolean { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2896,25 +2447,9 @@ impl TensorBoolean { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorBoolean { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorBoolean {} -impl ::core::fmt::Debug for TensorBoolean { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorBoolean").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorBoolean { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorBoolean;{50f311ed-29e9-4a5c-a44d-8fc512584eed})"); } -impl ::core::clone::Clone for TensorBoolean { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorBoolean { type Vtable = ITensorBoolean_Vtbl; } @@ -2935,6 +2470,7 @@ unsafe impl ::core::marker::Send for TensorBoolean {} unsafe impl ::core::marker::Sync for TensorBoolean {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorDouble(::windows_core::IUnknown); impl TensorDouble { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3052,25 +2588,9 @@ impl TensorDouble { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorDouble { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorDouble {} -impl ::core::fmt::Debug for TensorDouble { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorDouble").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorDouble { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorDouble;{91e41252-7a8f-4f0e-a28f-9637ffc8a3d0})"); } -impl ::core::clone::Clone for TensorDouble { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorDouble { type Vtable = ITensorDouble_Vtbl; } @@ -3091,6 +2611,7 @@ unsafe impl ::core::marker::Send for TensorDouble {} unsafe impl ::core::marker::Sync for TensorDouble {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorFeatureDescriptor(::windows_core::IUnknown); impl TensorFeatureDescriptor { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3138,25 +2659,9 @@ impl TensorFeatureDescriptor { } } } -impl ::core::cmp::PartialEq for TensorFeatureDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorFeatureDescriptor {} -impl ::core::fmt::Debug for TensorFeatureDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorFeatureDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorFeatureDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFeatureDescriptor;{74455c80-946a-4310-a19c-ee0af028fce4})"); } -impl ::core::clone::Clone for TensorFeatureDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorFeatureDescriptor { type Vtable = ITensorFeatureDescriptor_Vtbl; } @@ -3172,6 +2677,7 @@ unsafe impl ::core::marker::Send for TensorFeatureDescriptor {} unsafe impl ::core::marker::Sync for TensorFeatureDescriptor {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorFloat(::windows_core::IUnknown); impl TensorFloat { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3289,25 +2795,9 @@ impl TensorFloat { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorFloat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorFloat {} -impl ::core::fmt::Debug for TensorFloat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorFloat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorFloat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat;{f2282d82-aa02-42c8-a0c8-df1efc9676e1})"); } -impl ::core::clone::Clone for TensorFloat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorFloat { type Vtable = ITensorFloat_Vtbl; } @@ -3328,6 +2818,7 @@ unsafe impl ::core::marker::Send for TensorFloat {} unsafe impl ::core::marker::Sync for TensorFloat {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorFloat16Bit(::windows_core::IUnknown); impl TensorFloat16Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3445,25 +2936,9 @@ impl TensorFloat16Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorFloat16Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorFloat16Bit {} -impl ::core::fmt::Debug for TensorFloat16Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorFloat16Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorFloat16Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorFloat16Bit;{0ab994fc-5b89-4c3c-b5e4-5282a5316c0a})"); } -impl ::core::clone::Clone for TensorFloat16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorFloat16Bit { type Vtable = ITensorFloat16Bit_Vtbl; } @@ -3484,6 +2959,7 @@ unsafe impl ::core::marker::Send for TensorFloat16Bit {} unsafe impl ::core::marker::Sync for TensorFloat16Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorInt16Bit(::windows_core::IUnknown); impl TensorInt16Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3601,25 +3077,9 @@ impl TensorInt16Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorInt16Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorInt16Bit {} -impl ::core::fmt::Debug for TensorInt16Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorInt16Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorInt16Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt16Bit;{98a32d39-e6d6-44af-8afa-baebc44dc020})"); } -impl ::core::clone::Clone for TensorInt16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorInt16Bit { type Vtable = ITensorInt16Bit_Vtbl; } @@ -3640,6 +3100,7 @@ unsafe impl ::core::marker::Send for TensorInt16Bit {} unsafe impl ::core::marker::Sync for TensorInt16Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorInt32Bit(::windows_core::IUnknown); impl TensorInt32Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3757,25 +3218,9 @@ impl TensorInt32Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorInt32Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorInt32Bit {} -impl ::core::fmt::Debug for TensorInt32Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorInt32Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorInt32Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt32Bit;{2c0c28d3-207c-4486-a7d2-884522c5e589})"); } -impl ::core::clone::Clone for TensorInt32Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorInt32Bit { type Vtable = ITensorInt32Bit_Vtbl; } @@ -3796,6 +3241,7 @@ unsafe impl ::core::marker::Send for TensorInt32Bit {} unsafe impl ::core::marker::Sync for TensorInt32Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorInt64Bit(::windows_core::IUnknown); impl TensorInt64Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3913,25 +3359,9 @@ impl TensorInt64Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorInt64Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorInt64Bit {} -impl ::core::fmt::Debug for TensorInt64Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorInt64Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorInt64Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt64Bit;{499665ba-1fa2-45ad-af25-a0bd9bda4c87})"); } -impl ::core::clone::Clone for TensorInt64Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorInt64Bit { type Vtable = ITensorInt64Bit_Vtbl; } @@ -3952,6 +3382,7 @@ unsafe impl ::core::marker::Send for TensorInt64Bit {} unsafe impl ::core::marker::Sync for TensorInt64Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorInt8Bit(::windows_core::IUnknown); impl TensorInt8Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4069,25 +3500,9 @@ impl TensorInt8Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorInt8Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorInt8Bit {} -impl ::core::fmt::Debug for TensorInt8Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorInt8Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorInt8Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorInt8Bit;{cddd97c5-ffd8-4fef-aefb-30e1a485b2ee})"); } -impl ::core::clone::Clone for TensorInt8Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorInt8Bit { type Vtable = ITensorInt8Bit_Vtbl; } @@ -4108,6 +3523,7 @@ unsafe impl ::core::marker::Send for TensorInt8Bit {} unsafe impl ::core::marker::Sync for TensorInt8Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorString(::windows_core::IUnknown); impl TensorString { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4214,25 +3630,9 @@ impl TensorString { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorString {} -impl ::core::fmt::Debug for TensorString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorString").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorString { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorString;{582335c8-bdb1-4610-bc75-35e9cbf009b7})"); } -impl ::core::clone::Clone for TensorString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorString { type Vtable = ITensorString_Vtbl; } @@ -4253,6 +3653,7 @@ unsafe impl ::core::marker::Send for TensorString {} unsafe impl ::core::marker::Sync for TensorString {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorUInt16Bit(::windows_core::IUnknown); impl TensorUInt16Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4370,25 +3771,9 @@ impl TensorUInt16Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorUInt16Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorUInt16Bit {} -impl ::core::fmt::Debug for TensorUInt16Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorUInt16Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorUInt16Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt16Bit;{68140f4b-23c0-42f3-81f6-a891c011bc3f})"); } -impl ::core::clone::Clone for TensorUInt16Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorUInt16Bit { type Vtable = ITensorUInt16Bit_Vtbl; } @@ -4409,6 +3794,7 @@ unsafe impl ::core::marker::Send for TensorUInt16Bit {} unsafe impl ::core::marker::Sync for TensorUInt16Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorUInt32Bit(::windows_core::IUnknown); impl TensorUInt32Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4526,25 +3912,9 @@ impl TensorUInt32Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorUInt32Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorUInt32Bit {} -impl ::core::fmt::Debug for TensorUInt32Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorUInt32Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorUInt32Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt32Bit;{d8c9c2ff-7511-45a3-bfac-c38f370d2237})"); } -impl ::core::clone::Clone for TensorUInt32Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorUInt32Bit { type Vtable = ITensorUInt32Bit_Vtbl; } @@ -4565,6 +3935,7 @@ unsafe impl ::core::marker::Send for TensorUInt32Bit {} unsafe impl ::core::marker::Sync for TensorUInt32Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorUInt64Bit(::windows_core::IUnknown); impl TensorUInt64Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4682,25 +4053,9 @@ impl TensorUInt64Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorUInt64Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorUInt64Bit {} -impl ::core::fmt::Debug for TensorUInt64Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorUInt64Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorUInt64Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt64Bit;{2e70ffad-04bf-4825-839a-82baef8c7886})"); } -impl ::core::clone::Clone for TensorUInt64Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorUInt64Bit { type Vtable = ITensorUInt64Bit_Vtbl; } @@ -4721,6 +4076,7 @@ unsafe impl ::core::marker::Send for TensorUInt64Bit {} unsafe impl ::core::marker::Sync for TensorUInt64Bit {} #[doc = "*Required features: `\"AI_MachineLearning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TensorUInt8Bit(::windows_core::IUnknown); impl TensorUInt8Bit { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4838,25 +4194,9 @@ impl TensorUInt8Bit { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TensorUInt8Bit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TensorUInt8Bit {} -impl ::core::fmt::Debug for TensorUInt8Bit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TensorUInt8Bit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TensorUInt8Bit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.AI.MachineLearning.TensorUInt8Bit;{58e1ae27-622b-48e3-be22-d867aed1daac})"); } -impl ::core::clone::Clone for TensorUInt8Bit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TensorUInt8Bit { type Vtable = ITensorUInt8Bit_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index 943a192c10..5f5871a351 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -50,8 +50,8 @@ impl IActivatedEventArgs_Vtbl { SplashScreen: SplashScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IActivatedEventArgsWithUser_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IApplicationViewActivatedEventArgs_Vtbl { CurrentlyShownApplicationViewId: CurrentlyShownApplicationViewId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAppointmentsProviderActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -172,8 +172,8 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { AddAppointmentOperation: AddAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -205,8 +205,8 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { RemoveAppointmentOperation: RemoveAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { ReplaceAppointmentOperation: ReplaceAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { RoamingId: RoamingId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { Duration: Duration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IBackgroundActivatedEventArgs_Vtbl { TaskInstance: TaskInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -407,8 +407,8 @@ impl IBarcodeScannerPreviewActivatedEventArgs_Vtbl { ConnectionId: ConnectionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Provider\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl ICachedFileUpdaterActivatedEventArgs_Vtbl { CachedFileUpdaterUI: CachedFileUpdaterUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -484,8 +484,8 @@ impl ICameraSettingsActivatedEventArgs_Vtbl { VideoDeviceExtension: VideoDeviceExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl ICommandLineActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -541,8 +541,8 @@ impl IContactActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IContactCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -649,8 +649,8 @@ impl IContactMapActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IContactMessageActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -757,8 +757,8 @@ impl IContactPanelActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts_Provider\"`, `\"implement\"`*"] @@ -790,8 +790,8 @@ impl IContactPickerActivatedEventArgs_Vtbl { ContactPickerUI: ContactPickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -851,8 +851,8 @@ impl IContactPostActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -939,8 +939,8 @@ impl IContactsProviderActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IContinuationActivatedEventArgs_Vtbl { ContinuationData: ContinuationData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1016,8 +1016,8 @@ impl IDeviceActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Enumeration\"`, `\"implement\"`*"] @@ -1049,8 +1049,8 @@ impl IDevicePairingActivatedEventArgs_Vtbl { DeviceInformation: DeviceInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1079,8 +1079,8 @@ impl IDialReceiverActivatedEventArgs_Vtbl { AppName: AppName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IFileActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1156,8 +1156,8 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage_Search\"`, `\"implement\"`*"] @@ -1189,8 +1189,8 @@ impl IFileActivatedEventArgsWithNeighboringFiles_Vtbl { NeighboringFilesQuery: NeighboringFilesQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`, `\"implement\"`*"] @@ -1222,8 +1222,8 @@ impl IFileOpenPickerActivatedEventArgs_Vtbl { FileOpenPickerUI: FileOpenPickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1252,8 +1252,8 @@ impl IFileOpenPickerActivatedEventArgs2_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IFileOpenPickerContinuationEventArgs_Vtbl { Files: Files::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`, `\"implement\"`*"] @@ -1318,8 +1318,8 @@ impl IFileSavePickerActivatedEventArgs_Vtbl { FileSavePickerUI: FileSavePickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { EnterpriseId: EnterpriseId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1392,8 +1392,8 @@ impl IFileSavePickerContinuationEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), File: File:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1425,8 +1425,8 @@ impl IFolderPickerContinuationEventArgs_Vtbl { Folder: Folder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1469,8 +1469,8 @@ impl ILaunchActivatedEventArgs_Vtbl { TileId: TileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl ILaunchActivatedEventArgs2_Vtbl { TileActivatedInfo: TileActivatedInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1526,8 +1526,8 @@ impl ILockScreenActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Info: Info:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Calls\"`, `\"implement\"`*"] @@ -1559,8 +1559,8 @@ impl ILockScreenCallActivatedEventArgs_Vtbl { CallUI: CallUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1585,8 +1585,8 @@ impl IPhoneCallActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), LineId: LineId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl IPickerReturnedActivatedEventArgs_Vtbl { PickerOperationId: PickerOperationId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1644,8 +1644,8 @@ impl IPrelaunchActivatedEventArgs_Vtbl { PrelaunchActivated: PrelaunchActivated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`, `\"implement\"`*"] @@ -1677,8 +1677,8 @@ impl IPrint3DWorkflowActivatedEventArgs_Vtbl { Workflow: Workflow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`, `\"implement\"`*"] @@ -1710,8 +1710,8 @@ impl IPrintTaskSettingsActivatedEventArgs_Vtbl { Configuration: Configuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1740,8 +1740,8 @@ impl IProtocolActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Uri: Uri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { Data: Data::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`, `\"implement\"`*"] @@ -1820,8 +1820,8 @@ impl IProtocolForResultsActivatedEventArgs_Vtbl { ProtocolForResultsOperation: ProtocolForResultsOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IRestrictedLaunchActivatedEventArgs_Vtbl { SharedContext: SharedContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1894,8 +1894,8 @@ impl ISearchActivatedEventArgs_Vtbl { Language: Language::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Search\"`, `\"implement\"`*"] @@ -1927,8 +1927,8 @@ impl ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_DataTransfer_ShareTarget\"`, `\"implement\"`*"] @@ -1960,8 +1960,8 @@ impl IShareTargetActivatedEventArgs_Vtbl { ShareOperation: ShareOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1987,8 +1987,8 @@ impl IStartupTaskActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), TaskId: TaskId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -2034,8 +2034,8 @@ impl IToastNotificationActivatedEventArgs_Vtbl { UserInput: UserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_UserDataAccounts_Provider\"`, `\"implement\"`*"] @@ -2067,8 +2067,8 @@ impl IUserDataAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"UI_ViewManagement\"`, `\"implement\"`*"] @@ -2100,8 +2100,8 @@ impl IViewSwitcherProvider_Vtbl { ViewSwitcher: ViewSwitcher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Media_SpeechRecognition\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl IVoiceCommandActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Result: Result:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Wallet\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -2190,8 +2190,8 @@ impl IWalletActionActivatedEventArgs_Vtbl { ActionId: ActionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -2223,8 +2223,8 @@ impl IWebAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Security_Authentication_Web\"`, `\"implement\"`*"] @@ -2256,7 +2256,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs_Vtbl { WebAuthenticationResult: WebAuthenticationResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 482241376a..250533493c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivatedEventArgs(::windows_core::IUnknown); impl IActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -25,28 +26,12 @@ impl IActivatedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivatedEventArgs {} -impl ::core::fmt::Debug for IActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cf651713-cd08-4fd8-b697-a281b6544e2e}"); } unsafe impl ::windows_core::Interface for IActivatedEventArgs { type Vtable = IActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf651713_cd08_4fd8_b697_a281b6544e2e); } @@ -60,6 +45,7 @@ pub struct IActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivatedEventArgsWithUser(::windows_core::IUnknown); impl IActivatedEventArgsWithUser { #[doc = "*Required features: `\"System\"`*"] @@ -95,28 +81,12 @@ impl IActivatedEventArgsWithUser { } ::windows_core::imp::interface_hierarchy!(IActivatedEventArgsWithUser, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IActivatedEventArgsWithUser {} -impl ::core::cmp::PartialEq for IActivatedEventArgsWithUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivatedEventArgsWithUser {} -impl ::core::fmt::Debug for IActivatedEventArgsWithUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivatedEventArgsWithUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IActivatedEventArgsWithUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1cf09b9e-9962-4936-80ff-afc8e8ae5c8c}"); } unsafe impl ::windows_core::Interface for IActivatedEventArgsWithUser { type Vtable = IActivatedEventArgsWithUser_Vtbl; } -impl ::core::clone::Clone for IActivatedEventArgsWithUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivatedEventArgsWithUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c); } @@ -131,6 +101,7 @@ pub struct IActivatedEventArgsWithUser_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewActivatedEventArgs(::windows_core::IUnknown); impl IApplicationViewActivatedEventArgs { pub fn CurrentlyShownApplicationViewId(&self) -> ::windows_core::Result { @@ -164,28 +135,12 @@ impl IApplicationViewActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IApplicationViewActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IApplicationViewActivatedEventArgs {} -impl ::core::cmp::PartialEq for IApplicationViewActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationViewActivatedEventArgs {} -impl ::core::fmt::Debug for IApplicationViewActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationViewActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IApplicationViewActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{930cef4b-b829-40fc-88f4-8513e8a64738}"); } unsafe impl ::windows_core::Interface for IApplicationViewActivatedEventArgs { type Vtable = IApplicationViewActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IApplicationViewActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x930cef4b_b829_40fc_88f4_8513e8a64738); } @@ -197,6 +152,7 @@ pub struct IApplicationViewActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderActivatedEventArgs { pub fn Verb(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -230,28 +186,12 @@ impl IAppointmentsProviderActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3364c405-933c-4e7d-a034-500fb8dcd9f3}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderActivatedEventArgs { type Vtable = IAppointmentsProviderActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3364c405_933c_4e7d_a034_500fb8dcd9f3); } @@ -263,6 +203,7 @@ pub struct IAppointmentsProviderActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderAddAppointmentActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] @@ -306,28 +247,12 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderAddAppointmentActivatedEventArgs {} impl ::windows_core::CanTryInto for IAppointmentsProviderAddAppointmentActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderAddAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderAddAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderAddAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderAddAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a2861367-cee5-4e4d-9ed7-41c34ec18b02}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderAddAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderAddAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderAddAppointmentActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2861367_cee5_4e4d_9ed7_41c34ec18b02); } @@ -342,6 +267,7 @@ pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] @@ -385,28 +311,12 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {} impl ::windows_core::CanTryInto for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderRemoveAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{751f3ab8-0b8e-451c-9f15-966e699bac25}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x751f3ab8_0b8e_451c_9f15_966e699bac25); } @@ -421,6 +331,7 @@ pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] @@ -464,28 +375,12 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {} impl ::windows_core::CanTryInto for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderReplaceAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1551b7d4-a981-4067-8a62-0524e4ade121}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1551b7d4_a981_4067_8a62_0524e4ade121); } @@ -500,6 +395,7 @@ pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -557,28 +453,12 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} impl ::windows_core::CanTryInto for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3958f065-9841-4ca5-999b-885198b9ef2a}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Vtable = IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3958f065_9841_4ca5_999b_885198b9ef2a); } @@ -595,6 +475,7 @@ pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs(::windows_core::IUnknown); impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -647,28 +528,12 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAppointmentsProviderShowTimeFrameActivatedEventArgs {} impl ::windows_core::CanTryInto for IAppointmentsProviderShowTimeFrameActivatedEventArgs {} -impl ::core::cmp::PartialEq for IAppointmentsProviderShowTimeFrameActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentsProviderShowTimeFrameActivatedEventArgs {} -impl ::core::fmt::Debug for IAppointmentsProviderShowTimeFrameActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentsProviderShowTimeFrameActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9baeaba6-0e0b-49aa-babc-12b1dc774986}"); } unsafe impl ::windows_core::Interface for IAppointmentsProviderShowTimeFrameActivatedEventArgs { type Vtable = IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderShowTimeFrameActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderShowTimeFrameActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9baeaba6_0e0b_49aa_babc_12b1dc774986); } @@ -687,6 +552,7 @@ pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundActivatedEventArgs(::windows_core::IUnknown); impl IBackgroundActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -700,28 +566,12 @@ impl IBackgroundActivatedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IBackgroundActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundActivatedEventArgs {} -impl ::core::fmt::Debug for IBackgroundActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ab14bee0-e760-440e-a91c-44796de3a92d}"); } unsafe impl ::windows_core::Interface for IBackgroundActivatedEventArgs { type Vtable = IBackgroundActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackgroundActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab14bee0_e760_440e_a91c_44796de3a92d); } @@ -736,6 +586,7 @@ pub struct IBackgroundActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerPreviewActivatedEventArgs(::windows_core::IUnknown); impl IBarcodeScannerPreviewActivatedEventArgs { pub fn ConnectionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -769,28 +620,12 @@ impl IBarcodeScannerPreviewActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBarcodeScannerPreviewActivatedEventArgs {} -impl ::core::cmp::PartialEq for IBarcodeScannerPreviewActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBarcodeScannerPreviewActivatedEventArgs {} -impl ::core::fmt::Debug for IBarcodeScannerPreviewActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBarcodeScannerPreviewActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6772797c-99bf-4349-af22-e4123560371c}"); } unsafe impl ::windows_core::Interface for IBarcodeScannerPreviewActivatedEventArgs { type Vtable = IBarcodeScannerPreviewActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerPreviewActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerPreviewActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6772797c_99bf_4349_af22_e4123560371c); } @@ -802,6 +637,7 @@ pub struct IBarcodeScannerPreviewActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterActivatedEventArgs(::windows_core::IUnknown); impl ICachedFileUpdaterActivatedEventArgs { #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -837,28 +673,12 @@ impl ICachedFileUpdaterActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ICachedFileUpdaterActivatedEventArgs {} -impl ::core::cmp::PartialEq for ICachedFileUpdaterActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICachedFileUpdaterActivatedEventArgs {} -impl ::core::fmt::Debug for ICachedFileUpdaterActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICachedFileUpdaterActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICachedFileUpdaterActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d06eb1c7-3805-4ecb-b757-6cf15e26fef3}"); } unsafe impl ::windows_core::Interface for ICachedFileUpdaterActivatedEventArgs { type Vtable = ICachedFileUpdaterActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3); } @@ -873,6 +693,7 @@ pub struct ICachedFileUpdaterActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraSettingsActivatedEventArgs(::windows_core::IUnknown); impl ICameraSettingsActivatedEventArgs { pub fn VideoDeviceController(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -913,28 +734,12 @@ impl ICameraSettingsActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ICameraSettingsActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ICameraSettingsActivatedEventArgs {} -impl ::core::cmp::PartialEq for ICameraSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICameraSettingsActivatedEventArgs {} -impl ::core::fmt::Debug for ICameraSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICameraSettingsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICameraSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fb67a508-2dad-490a-9170-dca036eb114b}"); } unsafe impl ::windows_core::Interface for ICameraSettingsActivatedEventArgs { type Vtable = ICameraSettingsActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICameraSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraSettingsActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb67a508_2dad_490a_9170_dca036eb114b); } @@ -947,6 +752,7 @@ pub struct ICameraSettingsActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandLineActivatedEventArgs(::windows_core::IUnknown); impl ICommandLineActivatedEventArgs { pub fn Operation(&self) -> ::windows_core::Result { @@ -980,28 +786,12 @@ impl ICommandLineActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ICommandLineActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ICommandLineActivatedEventArgs {} -impl ::core::cmp::PartialEq for ICommandLineActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandLineActivatedEventArgs {} -impl ::core::fmt::Debug for ICommandLineActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandLineActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICommandLineActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4506472c-006a-48eb-8afb-d07ab25e3366}"); } unsafe impl ::windows_core::Interface for ICommandLineActivatedEventArgs { type Vtable = ICommandLineActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICommandLineActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandLineActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4506472c_006a_48eb_8afb_d07ab25e3366); } @@ -1013,15 +803,11 @@ pub struct ICommandLineActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandLineActivationOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICommandLineActivationOperation { type Vtable = ICommandLineActivationOperation_Vtbl; } -impl ::core::clone::Clone for ICommandLineActivationOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandLineActivationOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x994b2841_c59e_4f69_bcfd_b61ed4e622eb); } @@ -1040,6 +826,7 @@ pub struct ICommandLineActivationOperation_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactActivatedEventArgs(::windows_core::IUnknown); impl IContactActivatedEventArgs { pub fn Verb(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1073,28 +860,12 @@ impl IContactActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IContactActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactActivatedEventArgs {} -impl ::core::fmt::Debug for IContactActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d627a1c4-c025-4c41-9def-f1eafad075e7}"); } unsafe impl ::windows_core::Interface for IContactActivatedEventArgs { type Vtable = IContactActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd627a1c4_c025_4c41_9def_f1eafad075e7); } @@ -1106,6 +877,7 @@ pub struct IContactActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactCallActivatedEventArgs(::windows_core::IUnknown); impl IContactCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1163,28 +935,12 @@ impl IContactCallActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IContactCallActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactCallActivatedEventArgs {} impl ::windows_core::CanTryInto for IContactCallActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactCallActivatedEventArgs {} -impl ::core::fmt::Debug for IContactCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3}"); } unsafe impl ::windows_core::Interface for IContactCallActivatedEventArgs { type Vtable = IContactCallActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactCallActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3); } @@ -1201,6 +957,7 @@ pub struct IContactCallActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactMapActivatedEventArgs(::windows_core::IUnknown); impl IContactMapActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -1253,28 +1010,12 @@ impl IContactMapActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IContactMapActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactMapActivatedEventArgs {} impl ::windows_core::CanTryInto for IContactMapActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactMapActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactMapActivatedEventArgs {} -impl ::core::fmt::Debug for IContactMapActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactMapActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactMapActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b32bf870-eee7-4ad2-aaf1-a87effcf00a4}"); } unsafe impl ::windows_core::Interface for IContactMapActivatedEventArgs { type Vtable = IContactMapActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactMapActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactMapActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4); } @@ -1293,6 +1034,7 @@ pub struct IContactMapActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactMessageActivatedEventArgs(::windows_core::IUnknown); impl IContactMessageActivatedEventArgs { pub fn ServiceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1350,28 +1092,12 @@ impl IContactMessageActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IContactMessageActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactMessageActivatedEventArgs {} impl ::windows_core::CanTryInto for IContactMessageActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactMessageActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactMessageActivatedEventArgs {} -impl ::core::fmt::Debug for IContactMessageActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactMessageActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactMessageActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{de598db2-0e03-43b0-bf56-bcc40b3162df}"); } unsafe impl ::windows_core::Interface for IContactMessageActivatedEventArgs { type Vtable = IContactMessageActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactMessageActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactMessageActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde598db2_0e03_43b0_bf56_bcc40b3162df); } @@ -1388,6 +1114,7 @@ pub struct IContactMessageActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPanelActivatedEventArgs(::windows_core::IUnknown); impl IContactPanelActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] @@ -1410,28 +1137,12 @@ impl IContactPanelActivatedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IContactPanelActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactPanelActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactPanelActivatedEventArgs {} -impl ::core::fmt::Debug for IContactPanelActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactPanelActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactPanelActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{52bb63e4-d3d4-4b63-8051-4af2082cab80}"); } unsafe impl ::windows_core::Interface for IContactPanelActivatedEventArgs { type Vtable = IContactPanelActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactPanelActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPanelActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52bb63e4_d3d4_4b63_8051_4af2082cab80); } @@ -1450,6 +1161,7 @@ pub struct IContactPanelActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPickerActivatedEventArgs(::windows_core::IUnknown); impl IContactPickerActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] @@ -1485,28 +1197,12 @@ impl IContactPickerActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IContactPickerActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactPickerActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactPickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactPickerActivatedEventArgs {} -impl ::core::fmt::Debug for IContactPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactPickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ce57aae7-6449-45a7-971f-d113be7a8936}"); } unsafe impl ::windows_core::Interface for IContactPickerActivatedEventArgs { type Vtable = IContactPickerActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPickerActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce57aae7_6449_45a7_971f_d113be7a8936); } @@ -1521,6 +1217,7 @@ pub struct IContactPickerActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPostActivatedEventArgs(::windows_core::IUnknown); impl IContactPostActivatedEventArgs { pub fn ServiceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1578,28 +1275,12 @@ impl IContactPostActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IContactPostActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactPostActivatedEventArgs {} impl ::windows_core::CanTryInto for IContactPostActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactPostActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactPostActivatedEventArgs {} -impl ::core::fmt::Debug for IContactPostActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactPostActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactPostActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b35a3c67-f1e7-4655-ad6e-4857588f552f}"); } unsafe impl ::windows_core::Interface for IContactPostActivatedEventArgs { type Vtable = IContactPostActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactPostActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPostActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb35a3c67_f1e7_4655_ad6e_4857588f552f); } @@ -1616,6 +1297,7 @@ pub struct IContactPostActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactVideoCallActivatedEventArgs(::windows_core::IUnknown); impl IContactVideoCallActivatedEventArgs { pub fn ServiceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1673,28 +1355,12 @@ impl IContactVideoCallActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IContactVideoCallActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactVideoCallActivatedEventArgs {} impl ::windows_core::CanTryInto for IContactVideoCallActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactVideoCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactVideoCallActivatedEventArgs {} -impl ::core::fmt::Debug for IContactVideoCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactVideoCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactVideoCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{61079db8-e3e7-4b4f-858d-5c63a96ef684}"); } unsafe impl ::windows_core::Interface for IContactVideoCallActivatedEventArgs { type Vtable = IContactVideoCallActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactVideoCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactVideoCallActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61079db8_e3e7_4b4f_858d_5c63a96ef684); } @@ -1711,6 +1377,7 @@ pub struct IContactVideoCallActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactsProviderActivatedEventArgs(::windows_core::IUnknown); impl IContactsProviderActivatedEventArgs { pub fn Verb(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1744,28 +1411,12 @@ impl IContactsProviderActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IContactsProviderActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContactsProviderActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContactsProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactsProviderActivatedEventArgs {} -impl ::core::fmt::Debug for IContactsProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactsProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactsProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4580dca8-5750-4916-aa52-c0829521eb94}"); } unsafe impl ::windows_core::Interface for IContactsProviderActivatedEventArgs { type Vtable = IContactsProviderActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactsProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactsProviderActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4580dca8_5750_4916_aa52_c0829521eb94); } @@ -1777,6 +1428,7 @@ pub struct IContactsProviderActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContinuationActivatedEventArgs(::windows_core::IUnknown); impl IContinuationActivatedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1812,28 +1464,12 @@ impl IContinuationActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IContinuationActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IContinuationActivatedEventArgs {} -impl ::core::cmp::PartialEq for IContinuationActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContinuationActivatedEventArgs {} -impl ::core::fmt::Debug for IContinuationActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContinuationActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContinuationActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e58106b5-155f-4a94-a742-c7e08f4e188c}"); } unsafe impl ::windows_core::Interface for IContinuationActivatedEventArgs { type Vtable = IContinuationActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContinuationActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContinuationActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe58106b5_155f_4a94_a742_c7e08f4e188c); } @@ -1848,6 +1484,7 @@ pub struct IContinuationActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceActivatedEventArgs(::windows_core::IUnknown); impl IDeviceActivatedEventArgs { pub fn DeviceInformationId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1888,28 +1525,12 @@ impl IDeviceActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IDeviceActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IDeviceActivatedEventArgs {} -impl ::core::cmp::PartialEq for IDeviceActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceActivatedEventArgs {} -impl ::core::fmt::Debug for IDeviceActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDeviceActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cd50b9a9-ce10-44d2-8234-c355a073ef33}"); } unsafe impl ::windows_core::Interface for IDeviceActivatedEventArgs { type Vtable = IDeviceActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDeviceActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd50b9a9_ce10_44d2_8234_c355a073ef33); } @@ -1922,6 +1543,7 @@ pub struct IDeviceActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePairingActivatedEventArgs(::windows_core::IUnknown); impl IDevicePairingActivatedEventArgs { #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -1957,28 +1579,12 @@ impl IDevicePairingActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IDevicePairingActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IDevicePairingActivatedEventArgs {} -impl ::core::cmp::PartialEq for IDevicePairingActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDevicePairingActivatedEventArgs {} -impl ::core::fmt::Debug for IDevicePairingActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDevicePairingActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDevicePairingActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e}"); } unsafe impl ::windows_core::Interface for IDevicePairingActivatedEventArgs { type Vtable = IDevicePairingActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDevicePairingActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePairingActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e); } @@ -1993,6 +1599,7 @@ pub struct IDevicePairingActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialReceiverActivatedEventArgs(::windows_core::IUnknown); impl IDialReceiverActivatedEventArgs { pub fn AppName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2041,28 +1648,12 @@ impl IDialReceiverActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(IDialReceiverActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IDialReceiverActivatedEventArgs {} impl ::windows_core::CanTryInto for IDialReceiverActivatedEventArgs {} -impl ::core::cmp::PartialEq for IDialReceiverActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDialReceiverActivatedEventArgs {} -impl ::core::fmt::Debug for IDialReceiverActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDialReceiverActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDialReceiverActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fb777ed7-85ee-456e-a44d-85d730e70aed}"); } unsafe impl ::windows_core::Interface for IDialReceiverActivatedEventArgs { type Vtable = IDialReceiverActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDialReceiverActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialReceiverActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb777ed7_85ee_456e_a44d_85d730e70aed); } @@ -2074,6 +1665,7 @@ pub struct IDialReceiverActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileActivatedEventArgs(::windows_core::IUnknown); impl IFileActivatedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"] @@ -2116,28 +1708,12 @@ impl IFileActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IFileActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileActivatedEventArgs {} -impl ::core::cmp::PartialEq for IFileActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileActivatedEventArgs {} -impl ::core::fmt::Debug for IFileActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bb2afc33-93b1-42ed-8b26-236dd9c78496}"); } unsafe impl ::windows_core::Interface for IFileActivatedEventArgs { type Vtable = IFileActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFileActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb2afc33_93b1_42ed_8b26_236dd9c78496); } @@ -2153,6 +1729,7 @@ pub struct IFileActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileActivatedEventArgsWithCallerPackageFamilyName(::windows_core::IUnknown); impl IFileActivatedEventArgsWithCallerPackageFamilyName { pub fn CallerPackageFamilyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2186,28 +1763,12 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName { } ::windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileActivatedEventArgsWithCallerPackageFamilyName {} -impl ::core::cmp::PartialEq for IFileActivatedEventArgsWithCallerPackageFamilyName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileActivatedEventArgsWithCallerPackageFamilyName {} -impl ::core::fmt::Debug for IFileActivatedEventArgsWithCallerPackageFamilyName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileActivatedEventArgsWithCallerPackageFamilyName").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileActivatedEventArgsWithCallerPackageFamilyName { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2d60f06b-d25f-4d25-8653-e1c5e1108309}"); } unsafe impl ::windows_core::Interface for IFileActivatedEventArgsWithCallerPackageFamilyName { type Vtable = IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl; } -impl ::core::clone::Clone for IFileActivatedEventArgsWithCallerPackageFamilyName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileActivatedEventArgsWithCallerPackageFamilyName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d60f06b_d25f_4d25_8653_e1c5e1108309); } @@ -2219,6 +1780,7 @@ pub struct IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileActivatedEventArgsWithNeighboringFiles(::windows_core::IUnknown); impl IFileActivatedEventArgsWithNeighboringFiles { #[doc = "*Required features: `\"Storage_Search\"`*"] @@ -2271,28 +1833,12 @@ impl IFileActivatedEventArgsWithNeighboringFiles { ::windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileActivatedEventArgsWithNeighboringFiles {} impl ::windows_core::CanTryInto for IFileActivatedEventArgsWithNeighboringFiles {} -impl ::core::cmp::PartialEq for IFileActivatedEventArgsWithNeighboringFiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileActivatedEventArgsWithNeighboringFiles {} -impl ::core::fmt::Debug for IFileActivatedEventArgsWithNeighboringFiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileActivatedEventArgsWithNeighboringFiles").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileActivatedEventArgsWithNeighboringFiles { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{433ba1a4-e1e2-48fd-b7fc-b5d6eee65033}"); } unsafe impl ::windows_core::Interface for IFileActivatedEventArgsWithNeighboringFiles { type Vtable = IFileActivatedEventArgsWithNeighboringFiles_Vtbl; } -impl ::core::clone::Clone for IFileActivatedEventArgsWithNeighboringFiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileActivatedEventArgsWithNeighboringFiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033); } @@ -2307,6 +1853,7 @@ pub struct IFileActivatedEventArgsWithNeighboringFiles_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerActivatedEventArgs(::windows_core::IUnknown); impl IFileOpenPickerActivatedEventArgs { #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] @@ -2342,28 +1889,12 @@ impl IFileOpenPickerActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileOpenPickerActivatedEventArgs {} -impl ::core::cmp::PartialEq for IFileOpenPickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOpenPickerActivatedEventArgs {} -impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOpenPickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileOpenPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{72827082-5525-4bf2-bc09-1f5095d4964d}"); } unsafe impl ::windows_core::Interface for IFileOpenPickerActivatedEventArgs { type Vtable = IFileOpenPickerActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72827082_5525_4bf2_bc09_1f5095d4964d); } @@ -2378,6 +1909,7 @@ pub struct IFileOpenPickerActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerActivatedEventArgs2(::windows_core::IUnknown); impl IFileOpenPickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2389,28 +1921,12 @@ impl IFileOpenPickerActivatedEventArgs2 { } } ::windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IFileOpenPickerActivatedEventArgs2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOpenPickerActivatedEventArgs2 {} -impl ::core::fmt::Debug for IFileOpenPickerActivatedEventArgs2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOpenPickerActivatedEventArgs2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileOpenPickerActivatedEventArgs2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5e731f66-8d1f-45fb-af1d-73205c8fc7a1}"); } unsafe impl ::windows_core::Interface for IFileOpenPickerActivatedEventArgs2 { type Vtable = IFileOpenPickerActivatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerActivatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerActivatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1); } @@ -2423,6 +1939,7 @@ pub struct IFileOpenPickerActivatedEventArgs2_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl IFileOpenPickerContinuationEventArgs { @@ -2473,20 +1990,6 @@ impl ::windows_core::CanTryInto for IFileOpenPickerContinua #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for IFileOpenPickerContinuationEventArgs {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for IFileOpenPickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for IFileOpenPickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for IFileOpenPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOpenPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for IFileOpenPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9}"); } @@ -2495,12 +1998,6 @@ unsafe impl ::windows_core::Interface for IFileOpenPickerContinuationEventArgs { type Vtable = IFileOpenPickerContinuationEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IFileOpenPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IFileOpenPickerContinuationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9); } @@ -2516,6 +2013,7 @@ pub struct IFileOpenPickerContinuationEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePickerActivatedEventArgs(::windows_core::IUnknown); impl IFileSavePickerActivatedEventArgs { #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] @@ -2551,28 +2049,12 @@ impl IFileSavePickerActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileSavePickerActivatedEventArgs {} -impl ::core::cmp::PartialEq for IFileSavePickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSavePickerActivatedEventArgs {} -impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSavePickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileSavePickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{81c19cf1-74e6-4387-82eb-bb8fd64b4346}"); } unsafe impl ::windows_core::Interface for IFileSavePickerActivatedEventArgs { type Vtable = IFileSavePickerActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFileSavePickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePickerActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81c19cf1_74e6_4387_82eb_bb8fd64b4346); } @@ -2587,6 +2069,7 @@ pub struct IFileSavePickerActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePickerActivatedEventArgs2(::windows_core::IUnknown); impl IFileSavePickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2605,28 +2088,12 @@ impl IFileSavePickerActivatedEventArgs2 { } } ::windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IFileSavePickerActivatedEventArgs2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSavePickerActivatedEventArgs2 {} -impl ::core::fmt::Debug for IFileSavePickerActivatedEventArgs2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSavePickerActivatedEventArgs2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileSavePickerActivatedEventArgs2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6b73fe13-2cf2-4d48-8cbc-af67d23f1ce7}"); } unsafe impl ::windows_core::Interface for IFileSavePickerActivatedEventArgs2 { type Vtable = IFileSavePickerActivatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IFileSavePickerActivatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePickerActivatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7); } @@ -2640,6 +2107,7 @@ pub struct IFileSavePickerActivatedEventArgs2_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl IFileSavePickerContinuationEventArgs { @@ -2690,20 +2158,6 @@ impl ::windows_core::CanTryInto for IFileSavePickerContinua #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for IFileSavePickerContinuationEventArgs {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for IFileSavePickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for IFileSavePickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for IFileSavePickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSavePickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for IFileSavePickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2c846fe1-3bad-4f33-8c8b-e46fae824b4b}"); } @@ -2712,12 +2166,6 @@ unsafe impl ::windows_core::Interface for IFileSavePickerContinuationEventArgs { type Vtable = IFileSavePickerContinuationEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IFileSavePickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IFileSavePickerContinuationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b); } @@ -2734,6 +2182,7 @@ pub struct IFileSavePickerContinuationEventArgs_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderPickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl IFolderPickerContinuationEventArgs { @@ -2784,20 +2233,6 @@ impl ::windows_core::CanTryInto for IFolderPickerContinuati #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for IFolderPickerContinuationEventArgs {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for IFolderPickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for IFolderPickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for IFolderPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for IFolderPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{51882366-9f4b-498f-beb0-42684f6e1c29}"); } @@ -2806,12 +2241,6 @@ unsafe impl ::windows_core::Interface for IFolderPickerContinuationEventArgs { type Vtable = IFolderPickerContinuationEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IFolderPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IFolderPickerContinuationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51882366_9f4b_498f_beb0_42684f6e1c29); } @@ -2827,6 +2256,7 @@ pub struct IFolderPickerContinuationEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchActivatedEventArgs(::windows_core::IUnknown); impl ILaunchActivatedEventArgs { pub fn Arguments(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2867,28 +2297,12 @@ impl ILaunchActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILaunchActivatedEventArgs {} -impl ::core::cmp::PartialEq for ILaunchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchActivatedEventArgs {} -impl ::core::fmt::Debug for ILaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fbc93e26-a14a-4b4f-82b0-33bed920af52}"); } unsafe impl ::windows_core::Interface for ILaunchActivatedEventArgs { type Vtable = ILaunchActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc93e26_a14a_4b4f_82b0_33bed920af52); } @@ -2901,6 +2315,7 @@ pub struct ILaunchActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchActivatedEventArgs2(::windows_core::IUnknown); impl ILaunchActivatedEventArgs2 { pub fn TileActivatedInfo(&self) -> ::windows_core::Result { @@ -2949,28 +2364,12 @@ impl ILaunchActivatedEventArgs2 { ::windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILaunchActivatedEventArgs2 {} impl ::windows_core::CanTryInto for ILaunchActivatedEventArgs2 {} -impl ::core::cmp::PartialEq for ILaunchActivatedEventArgs2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchActivatedEventArgs2 {} -impl ::core::fmt::Debug for ILaunchActivatedEventArgs2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchActivatedEventArgs2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILaunchActivatedEventArgs2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0fd37ebc-9dc9-46b5-9ace-bd95d4565345}"); } unsafe impl ::windows_core::Interface for ILaunchActivatedEventArgs2 { type Vtable = ILaunchActivatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for ILaunchActivatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchActivatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345); } @@ -2982,6 +2381,7 @@ pub struct ILaunchActivatedEventArgs2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenActivatedEventArgs(::windows_core::IUnknown); impl ILockScreenActivatedEventArgs { pub fn Info(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -3015,28 +2415,12 @@ impl ILockScreenActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ILockScreenActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILockScreenActivatedEventArgs {} -impl ::core::cmp::PartialEq for ILockScreenActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILockScreenActivatedEventArgs {} -impl ::core::fmt::Debug for ILockScreenActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILockScreenActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILockScreenActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3ca77966-6108-4a41-8220-ee7d133c8532}"); } unsafe impl ::windows_core::Interface for ILockScreenActivatedEventArgs { type Vtable = ILockScreenActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILockScreenActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ca77966_6108_4a41_8220_ee7d133c8532); } @@ -3048,6 +2432,7 @@ pub struct ILockScreenActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenCallActivatedEventArgs(::windows_core::IUnknown); impl ILockScreenCallActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] @@ -3098,28 +2483,12 @@ impl ILockScreenCallActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(ILockScreenCallActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILockScreenCallActivatedEventArgs {} impl ::windows_core::CanTryInto for ILockScreenCallActivatedEventArgs {} -impl ::core::cmp::PartialEq for ILockScreenCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILockScreenCallActivatedEventArgs {} -impl ::core::fmt::Debug for ILockScreenCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILockScreenCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILockScreenCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{06f37fbe-b5f2-448b-b13e-e328ac1c516a}"); } unsafe impl ::windows_core::Interface for ILockScreenCallActivatedEventArgs { type Vtable = ILockScreenCallActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILockScreenCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenCallActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06f37fbe_b5f2_448b_b13e_e328ac1c516a); } @@ -3134,6 +2503,7 @@ pub struct ILockScreenCallActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallActivatedEventArgs(::windows_core::IUnknown); impl IPhoneCallActivatedEventArgs { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3167,28 +2537,12 @@ impl IPhoneCallActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IPhoneCallActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPhoneCallActivatedEventArgs {} -impl ::core::cmp::PartialEq for IPhoneCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhoneCallActivatedEventArgs {} -impl ::core::fmt::Debug for IPhoneCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhoneCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPhoneCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{54615221-a3c1-4ced-b62f-8c60523619ad}"); } unsafe impl ::windows_core::Interface for IPhoneCallActivatedEventArgs { type Vtable = IPhoneCallActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhoneCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54615221_a3c1_4ced_b62f_8c60523619ad); } @@ -3200,6 +2554,7 @@ pub struct IPhoneCallActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPickerReturnedActivatedEventArgs(::windows_core::IUnknown); impl IPickerReturnedActivatedEventArgs { pub fn PickerOperationId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3233,28 +2588,12 @@ impl IPickerReturnedActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IPickerReturnedActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPickerReturnedActivatedEventArgs {} -impl ::core::cmp::PartialEq for IPickerReturnedActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPickerReturnedActivatedEventArgs {} -impl ::core::fmt::Debug for IPickerReturnedActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPickerReturnedActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPickerReturnedActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{360defb9-a9d3-4984-a4ed-9ec734604921}"); } unsafe impl ::windows_core::Interface for IPickerReturnedActivatedEventArgs { type Vtable = IPickerReturnedActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPickerReturnedActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPickerReturnedActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x360defb9_a9d3_4984_a4ed_9ec734604921); } @@ -3266,6 +2605,7 @@ pub struct IPickerReturnedActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrelaunchActivatedEventArgs(::windows_core::IUnknown); impl IPrelaunchActivatedEventArgs { pub fn PrelaunchActivated(&self) -> ::windows_core::Result { @@ -3299,28 +2639,12 @@ impl IPrelaunchActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IPrelaunchActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrelaunchActivatedEventArgs {} -impl ::core::cmp::PartialEq for IPrelaunchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrelaunchActivatedEventArgs {} -impl ::core::fmt::Debug for IPrelaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrelaunchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrelaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0c44717b-19f7-48d6-b046-cf22826eaa74}"); } unsafe impl ::windows_core::Interface for IPrelaunchActivatedEventArgs { type Vtable = IPrelaunchActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrelaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrelaunchActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c44717b_19f7_48d6_b046_cf22826eaa74); } @@ -3332,6 +2656,7 @@ pub struct IPrelaunchActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DWorkflowActivatedEventArgs(::windows_core::IUnknown); impl IPrint3DWorkflowActivatedEventArgs { #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -3367,28 +2692,12 @@ impl IPrint3DWorkflowActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrint3DWorkflowActivatedEventArgs {} -impl ::core::cmp::PartialEq for IPrint3DWorkflowActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrint3DWorkflowActivatedEventArgs {} -impl ::core::fmt::Debug for IPrint3DWorkflowActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrint3DWorkflowActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrint3DWorkflowActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3f57e78b-f2ac-4619-8302-ef855e1c9b90}"); } unsafe impl ::windows_core::Interface for IPrint3DWorkflowActivatedEventArgs { type Vtable = IPrint3DWorkflowActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DWorkflowActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DWorkflowActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f57e78b_f2ac_4619_8302_ef855e1c9b90); } @@ -3403,6 +2712,7 @@ pub struct IPrint3DWorkflowActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskSettingsActivatedEventArgs(::windows_core::IUnknown); impl IPrintTaskSettingsActivatedEventArgs { #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] @@ -3438,28 +2748,12 @@ impl IPrintTaskSettingsActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrintTaskSettingsActivatedEventArgs {} -impl ::core::cmp::PartialEq for IPrintTaskSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskSettingsActivatedEventArgs {} -impl ::core::fmt::Debug for IPrintTaskSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskSettingsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintTaskSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ee30a0c9-ce56-4865-ba8e-8954ac271107}"); } unsafe impl ::windows_core::Interface for IPrintTaskSettingsActivatedEventArgs { type Vtable = IPrintTaskSettingsActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskSettingsActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee30a0c9_ce56_4865_ba8e_8954ac271107); } @@ -3474,6 +2768,7 @@ pub struct IPrintTaskSettingsActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtocolActivatedEventArgs(::windows_core::IUnknown); impl IProtocolActivatedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3509,28 +2804,12 @@ impl IProtocolActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IProtocolActivatedEventArgs {} -impl ::core::cmp::PartialEq for IProtocolActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtocolActivatedEventArgs {} -impl ::core::fmt::Debug for IProtocolActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtocolActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IProtocolActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6095f4dd-b7c0-46ab-81fe-d90f36d00d24}"); } unsafe impl ::windows_core::Interface for IProtocolActivatedEventArgs { type Vtable = IProtocolActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IProtocolActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtocolActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24); } @@ -3545,6 +2824,7 @@ pub struct IProtocolActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData(::windows_core::IUnknown); impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { pub fn CallerPackageFamilyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3587,28 +2867,12 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { } ::windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {} -impl ::core::cmp::PartialEq for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData {} -impl ::core::fmt::Debug for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d84a0c12-5c8f-438c-83cb-c28fcc0b2fdb}"); } unsafe impl ::windows_core::Interface for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { type Vtable = IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl; } -impl ::core::clone::Clone for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb); } @@ -3624,6 +2888,7 @@ pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtocolForResultsActivatedEventArgs(::windows_core::IUnknown); impl IProtocolForResultsActivatedEventArgs { #[doc = "*Required features: `\"System\"`*"] @@ -3659,28 +2924,12 @@ impl IProtocolForResultsActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IProtocolForResultsActivatedEventArgs {} -impl ::core::cmp::PartialEq for IProtocolForResultsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtocolForResultsActivatedEventArgs {} -impl ::core::fmt::Debug for IProtocolForResultsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtocolForResultsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IProtocolForResultsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c}"); } unsafe impl ::windows_core::Interface for IProtocolForResultsActivatedEventArgs { type Vtable = IProtocolForResultsActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IProtocolForResultsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtocolForResultsActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c); } @@ -3695,6 +2944,7 @@ pub struct IProtocolForResultsActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRestrictedLaunchActivatedEventArgs(::windows_core::IUnknown); impl IRestrictedLaunchActivatedEventArgs { pub fn SharedContext(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -3723,33 +2973,17 @@ impl IRestrictedLaunchActivatedEventArgs { unsafe { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(this).SplashScreen)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) - } - } -} -::windows_core::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::windows_core::CanTryInto for IRestrictedLaunchActivatedEventArgs {} -impl ::core::cmp::PartialEq for IRestrictedLaunchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRestrictedLaunchActivatedEventArgs {} -impl ::core::fmt::Debug for IRestrictedLaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRestrictedLaunchActivatedEventArgs").field(&self.0).finish() + } } } +::windows_core::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); +impl ::windows_core::CanTryInto for IRestrictedLaunchActivatedEventArgs {} impl ::windows_core::RuntimeType for IRestrictedLaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e0b7ac81-bfc3-4344-a5da-19fd5a27baae}"); } unsafe impl ::windows_core::Interface for IRestrictedLaunchActivatedEventArgs { type Vtable = IRestrictedLaunchActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRestrictedLaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRestrictedLaunchActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae); } @@ -3761,6 +2995,7 @@ pub struct IRestrictedLaunchActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchActivatedEventArgs(::windows_core::IUnknown); impl ISearchActivatedEventArgs { pub fn QueryText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3801,28 +3036,12 @@ impl ISearchActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ISearchActivatedEventArgs {} -impl ::core::cmp::PartialEq for ISearchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchActivatedEventArgs {} -impl ::core::fmt::Debug for ISearchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISearchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8cb36951-58c8-43e3-94bc-41d33f8b630e}"); } unsafe impl ::windows_core::Interface for ISearchActivatedEventArgs { type Vtable = ISearchActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISearchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cb36951_58c8_43e3_94bc_41d33f8b630e); } @@ -3835,6 +3054,7 @@ pub struct ISearchActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchActivatedEventArgsWithLinguisticDetails(::windows_core::IUnknown); impl ISearchActivatedEventArgsWithLinguisticDetails { #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] @@ -3848,28 +3068,12 @@ impl ISearchActivatedEventArgsWithLinguisticDetails { } } ::windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISearchActivatedEventArgsWithLinguisticDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchActivatedEventArgsWithLinguisticDetails {} -impl ::core::fmt::Debug for ISearchActivatedEventArgsWithLinguisticDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchActivatedEventArgsWithLinguisticDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISearchActivatedEventArgsWithLinguisticDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c09f33da-08ab-4931-9b7c-451025f21f81}"); } unsafe impl ::windows_core::Interface for ISearchActivatedEventArgsWithLinguisticDetails { type Vtable = ISearchActivatedEventArgsWithLinguisticDetails_Vtbl; } -impl ::core::clone::Clone for ISearchActivatedEventArgsWithLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchActivatedEventArgsWithLinguisticDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc09f33da_08ab_4931_9b7c_451025f21f81); } @@ -3884,6 +3088,7 @@ pub struct ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareTargetActivatedEventArgs(::windows_core::IUnknown); impl IShareTargetActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"] @@ -3919,28 +3124,12 @@ impl IShareTargetActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IShareTargetActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IShareTargetActivatedEventArgs {} -impl ::core::cmp::PartialEq for IShareTargetActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShareTargetActivatedEventArgs {} -impl ::core::fmt::Debug for IShareTargetActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShareTargetActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IShareTargetActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec}"); } unsafe impl ::windows_core::Interface for IShareTargetActivatedEventArgs { type Vtable = IShareTargetActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IShareTargetActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareTargetActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec); } @@ -3955,15 +3144,11 @@ pub struct IShareTargetActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISplashScreen(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISplashScreen { type Vtable = ISplashScreen_Vtbl; } -impl ::core::clone::Clone for ISplashScreen { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISplashScreen { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca4d975c_d4d6_43f0_97c0_0833c6391c24); } @@ -3986,6 +3171,7 @@ pub struct ISplashScreen_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartupTaskActivatedEventArgs(::windows_core::IUnknown); impl IStartupTaskActivatedEventArgs { pub fn TaskId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4019,28 +3205,12 @@ impl IStartupTaskActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IStartupTaskActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IStartupTaskActivatedEventArgs {} -impl ::core::cmp::PartialEq for IStartupTaskActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStartupTaskActivatedEventArgs {} -impl ::core::fmt::Debug for IStartupTaskActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStartupTaskActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStartupTaskActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{03b11a58-5276-4d91-8621-54611864d5fa}"); } unsafe impl ::windows_core::Interface for IStartupTaskActivatedEventArgs { type Vtable = IStartupTaskActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IStartupTaskActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartupTaskActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03b11a58_5276_4d91_8621_54611864d5fa); } @@ -4052,15 +3222,11 @@ pub struct IStartupTaskActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileActivatedInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileActivatedInfo { type Vtable = ITileActivatedInfo_Vtbl; } -impl ::core::clone::Clone for ITileActivatedInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileActivatedInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80e4a3b1_3980_4f17_b738_89194e0b8f65); } @@ -4075,6 +3241,7 @@ pub struct ITileActivatedInfo_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationActivatedEventArgs(::windows_core::IUnknown); impl IToastNotificationActivatedEventArgs { pub fn Argument(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4117,28 +3284,12 @@ impl IToastNotificationActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IToastNotificationActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IToastNotificationActivatedEventArgs {} -impl ::core::cmp::PartialEq for IToastNotificationActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IToastNotificationActivatedEventArgs {} -impl ::core::fmt::Debug for IToastNotificationActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IToastNotificationActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IToastNotificationActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{92a86f82-5290-431d-be85-c4aaeeb8685f}"); } unsafe impl ::windows_core::Interface for IToastNotificationActivatedEventArgs { type Vtable = IToastNotificationActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IToastNotificationActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92a86f82_5290_431d_be85_c4aaeeb8685f); } @@ -4154,6 +3305,7 @@ pub struct IToastNotificationActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountProviderActivatedEventArgs(::windows_core::IUnknown); impl IUserDataAccountProviderActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] @@ -4189,28 +3341,12 @@ impl IUserDataAccountProviderActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IUserDataAccountProviderActivatedEventArgs {} -impl ::core::cmp::PartialEq for IUserDataAccountProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserDataAccountProviderActivatedEventArgs {} -impl ::core::fmt::Debug for IUserDataAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserDataAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IUserDataAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1bc9f723-8ef1-4a51-a63a-fe711eeab607}"); } unsafe impl ::windows_core::Interface for IUserDataAccountProviderActivatedEventArgs { type Vtable = IUserDataAccountProviderActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountProviderActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bc9f723_8ef1_4a51_a63a_fe711eeab607); } @@ -4225,6 +3361,7 @@ pub struct IUserDataAccountProviderActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewSwitcherProvider(::windows_core::IUnknown); impl IViewSwitcherProvider { #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -4260,28 +3397,12 @@ impl IViewSwitcherProvider { } ::windows_core::imp::interface_hierarchy!(IViewSwitcherProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IViewSwitcherProvider {} -impl ::core::cmp::PartialEq for IViewSwitcherProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewSwitcherProvider {} -impl ::core::fmt::Debug for IViewSwitcherProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewSwitcherProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IViewSwitcherProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{33f288a6-5c2c-4d27-bac7-7536088f1219}"); } unsafe impl ::windows_core::Interface for IViewSwitcherProvider { type Vtable = IViewSwitcherProvider_Vtbl; } -impl ::core::clone::Clone for IViewSwitcherProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewSwitcherProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33f288a6_5c2c_4d27_bac7_7536088f1219); } @@ -4296,6 +3417,7 @@ pub struct IViewSwitcherProvider_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandActivatedEventArgs(::windows_core::IUnknown); impl IVoiceCommandActivatedEventArgs { #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] @@ -4331,28 +3453,12 @@ impl IVoiceCommandActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IVoiceCommandActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IVoiceCommandActivatedEventArgs {} -impl ::core::cmp::PartialEq for IVoiceCommandActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVoiceCommandActivatedEventArgs {} -impl ::core::fmt::Debug for IVoiceCommandActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVoiceCommandActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVoiceCommandActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ab92dcfd-8d43-4de6-9775-20704b581b00}"); } unsafe impl ::windows_core::Interface for IVoiceCommandActivatedEventArgs { type Vtable = IVoiceCommandActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab92dcfd_8d43_4de6_9775_20704b581b00); } @@ -4368,6 +3474,7 @@ pub struct IVoiceCommandActivatedEventArgs_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletActionActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl IWalletActionActivatedEventArgs { @@ -4425,20 +3532,6 @@ impl IWalletActionActivatedEventArgs { #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for IWalletActionActivatedEventArgs {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for IWalletActionActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for IWalletActionActivatedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for IWalletActionActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWalletActionActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for IWalletActionActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9}"); } @@ -4447,12 +3540,6 @@ unsafe impl ::windows_core::Interface for IWalletActionActivatedEventArgs { type Vtable = IWalletActionActivatedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletActionActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletActionActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9); } @@ -4476,6 +3563,7 @@ pub struct IWalletActionActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderActivatedEventArgs(::windows_core::IUnknown); impl IWebAccountProviderActivatedEventArgs { #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] @@ -4511,28 +3599,12 @@ impl IWebAccountProviderActivatedEventArgs { } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAccountProviderActivatedEventArgs {} -impl ::core::cmp::PartialEq for IWebAccountProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderActivatedEventArgs {} -impl ::core::fmt::Debug for IWebAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{72b71774-98ea-4ccf-9752-46d9051004f1}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderActivatedEventArgs { type Vtable = IWebAccountProviderActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72b71774_98ea_4ccf_9752_46d9051004f1); } @@ -4547,6 +3619,7 @@ pub struct IWebAccountProviderActivatedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationBrokerContinuationEventArgs(::windows_core::IUnknown); impl IWebAuthenticationBrokerContinuationEventArgs { #[doc = "*Required features: `\"Security_Authentication_Web\"`*"] @@ -4592,28 +3665,12 @@ impl IWebAuthenticationBrokerContinuationEventArgs { ::windows_core::imp::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAuthenticationBrokerContinuationEventArgs {} impl ::windows_core::CanTryInto for IWebAuthenticationBrokerContinuationEventArgs {} -impl ::core::cmp::PartialEq for IWebAuthenticationBrokerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAuthenticationBrokerContinuationEventArgs {} -impl ::core::fmt::Debug for IWebAuthenticationBrokerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAuthenticationBrokerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{75dda3d4-7714-453d-b7ff-b95e3a1709da}"); } unsafe impl ::windows_core::Interface for IWebAuthenticationBrokerContinuationEventArgs { type Vtable = IWebAuthenticationBrokerContinuationEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationBrokerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationBrokerContinuationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75dda3d4_7714_453d_b7ff_b95e3a1709da); } @@ -4628,6 +3685,7 @@ pub struct IWebAuthenticationBrokerContinuationEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentsProviderAddAppointmentActivatedEventArgs(::windows_core::IUnknown); impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -4677,25 +3735,9 @@ impl AppointmentsProviderAddAppointmentActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentsProviderAddAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentsProviderAddAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for AppointmentsProviderAddAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentsProviderAddAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); } -impl ::core::clone::Clone for AppointmentsProviderAddAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentsProviderAddAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl; } @@ -4714,6 +3756,7 @@ unsafe impl ::core::marker::Send for AppointmentsProviderAddAppointmentActivated unsafe impl ::core::marker::Sync for AppointmentsProviderAddAppointmentActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentsProviderRemoveAppointmentActivatedEventArgs(::windows_core::IUnknown); impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -4763,25 +3806,9 @@ impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentsProviderRemoveAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for AppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentsProviderRemoveAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); } -impl ::core::clone::Clone for AppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentsProviderRemoveAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl; } @@ -4800,6 +3827,7 @@ unsafe impl ::core::marker::Send for AppointmentsProviderRemoveAppointmentActiva unsafe impl ::core::marker::Sync for AppointmentsProviderRemoveAppointmentActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentsProviderReplaceAppointmentActivatedEventArgs(::windows_core::IUnknown); impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -4849,25 +3877,9 @@ impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentsProviderReplaceAppointmentActivatedEventArgs {} -impl ::core::fmt::Debug for AppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentsProviderReplaceAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); } -impl ::core::clone::Clone for AppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentsProviderReplaceAppointmentActivatedEventArgs { type Vtable = IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl; } @@ -4886,6 +3898,7 @@ unsafe impl ::core::marker::Send for AppointmentsProviderReplaceAppointmentActiv unsafe impl ::core::marker::Sync for AppointmentsProviderReplaceAppointmentActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentsProviderShowAppointmentDetailsActivatedEventArgs(::windows_core::IUnknown); impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -4949,25 +3962,9 @@ impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} -impl ::core::fmt::Debug for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); } -impl ::core::clone::Clone for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Vtable = IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl; } @@ -4986,6 +3983,7 @@ unsafe impl ::core::marker::Send for AppointmentsProviderShowAppointmentDetailsA unsafe impl ::core::marker::Sync for AppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentsProviderShowTimeFrameActivatedEventArgs(::windows_core::IUnknown); impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5044,25 +4042,9 @@ impl AppointmentsProviderShowTimeFrameActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentsProviderShowTimeFrameActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentsProviderShowTimeFrameActivatedEventArgs {} -impl ::core::fmt::Debug for AppointmentsProviderShowTimeFrameActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentsProviderShowTimeFrameActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.AppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); } -impl ::core::clone::Clone for AppointmentsProviderShowTimeFrameActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentsProviderShowTimeFrameActivatedEventArgs { type Vtable = IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl; } @@ -5081,6 +4063,7 @@ unsafe impl ::core::marker::Send for AppointmentsProviderShowTimeFrameActivatedE unsafe impl ::core::marker::Sync for AppointmentsProviderShowTimeFrameActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundActivatedEventArgs(::windows_core::IUnknown); impl BackgroundActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -5093,25 +4076,9 @@ impl BackgroundActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for BackgroundActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundActivatedEventArgs {} -impl ::core::fmt::Debug for BackgroundActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); } -impl ::core::clone::Clone for BackgroundActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundActivatedEventArgs { type Vtable = IBackgroundActivatedEventArgs_Vtbl; } @@ -5127,6 +4094,7 @@ unsafe impl ::core::marker::Send for BackgroundActivatedEventArgs {} unsafe impl ::core::marker::Sync for BackgroundActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerPreviewActivatedEventArgs(::windows_core::IUnknown); impl BarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5167,25 +4135,9 @@ impl BarcodeScannerPreviewActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerPreviewActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerPreviewActivatedEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerPreviewActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerPreviewActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.BarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); } -impl ::core::clone::Clone for BarcodeScannerPreviewActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerPreviewActivatedEventArgs { type Vtable = IBarcodeScannerPreviewActivatedEventArgs_Vtbl; } @@ -5203,6 +4155,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerPreviewActivatedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerPreviewActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CachedFileUpdaterActivatedEventArgs(::windows_core::IUnknown); impl CachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5245,25 +4198,9 @@ impl CachedFileUpdaterActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for CachedFileUpdaterActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CachedFileUpdaterActivatedEventArgs {} -impl ::core::fmt::Debug for CachedFileUpdaterActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CachedFileUpdaterActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CachedFileUpdaterActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); } -impl ::core::clone::Clone for CachedFileUpdaterActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CachedFileUpdaterActivatedEventArgs { type Vtable = ICachedFileUpdaterActivatedEventArgs_Vtbl; } @@ -5281,6 +4218,7 @@ unsafe impl ::core::marker::Send for CachedFileUpdaterActivatedEventArgs {} unsafe impl ::core::marker::Sync for CachedFileUpdaterActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraSettingsActivatedEventArgs(::windows_core::IUnknown); impl CameraSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5319,25 +4257,9 @@ impl CameraSettingsActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for CameraSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraSettingsActivatedEventArgs {} -impl ::core::fmt::Debug for CameraSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraSettingsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); } -impl ::core::clone::Clone for CameraSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraSettingsActivatedEventArgs { type Vtable = ICameraSettingsActivatedEventArgs_Vtbl; } @@ -5354,6 +4276,7 @@ unsafe impl ::core::marker::Send for CameraSettingsActivatedEventArgs {} unsafe impl ::core::marker::Sync for CameraSettingsActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CommandLineActivatedEventArgs(::windows_core::IUnknown); impl CommandLineActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5394,25 +4317,9 @@ impl CommandLineActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for CommandLineActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CommandLineActivatedEventArgs {} -impl ::core::fmt::Debug for CommandLineActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CommandLineActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CommandLineActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); } -impl ::core::clone::Clone for CommandLineActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CommandLineActivatedEventArgs { type Vtable = ICommandLineActivatedEventArgs_Vtbl; } @@ -5430,6 +4337,7 @@ unsafe impl ::core::marker::Send for CommandLineActivatedEventArgs {} unsafe impl ::core::marker::Sync for CommandLineActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CommandLineActivationOperation(::windows_core::IUnknown); impl CommandLineActivationOperation { pub fn Arguments(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5467,25 +4375,9 @@ impl CommandLineActivationOperation { } } } -impl ::core::cmp::PartialEq for CommandLineActivationOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CommandLineActivationOperation {} -impl ::core::fmt::Debug for CommandLineActivationOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CommandLineActivationOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CommandLineActivationOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.CommandLineActivationOperation;{994b2841-c59e-4f69-bcfd-b61ed4e622eb})"); } -impl ::core::clone::Clone for CommandLineActivationOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CommandLineActivationOperation { type Vtable = ICommandLineActivationOperation_Vtbl; } @@ -5500,6 +4392,7 @@ unsafe impl ::core::marker::Send for CommandLineActivationOperation {} unsafe impl ::core::marker::Sync for CommandLineActivationOperation {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactCallActivatedEventArgs(::windows_core::IUnknown); impl ContactCallActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5554,25 +4447,9 @@ impl ContactCallActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactCallActivatedEventArgs {} -impl ::core::fmt::Debug for ContactCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); } -impl ::core::clone::Clone for ContactCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactCallActivatedEventArgs { type Vtable = IContactCallActivatedEventArgs_Vtbl; } @@ -5590,6 +4467,7 @@ unsafe impl ::core::marker::Send for ContactCallActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactCallActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactMapActivatedEventArgs(::windows_core::IUnknown); impl ContactMapActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5639,25 +4517,9 @@ impl ContactMapActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactMapActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactMapActivatedEventArgs {} -impl ::core::fmt::Debug for ContactMapActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactMapActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactMapActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); } -impl ::core::clone::Clone for ContactMapActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactMapActivatedEventArgs { type Vtable = IContactMapActivatedEventArgs_Vtbl; } @@ -5675,6 +4537,7 @@ unsafe impl ::core::marker::Send for ContactMapActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactMapActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactMessageActivatedEventArgs(::windows_core::IUnknown); impl ContactMessageActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5729,25 +4592,9 @@ impl ContactMessageActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactMessageActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactMessageActivatedEventArgs {} -impl ::core::fmt::Debug for ContactMessageActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactMessageActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactMessageActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); } -impl ::core::clone::Clone for ContactMessageActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactMessageActivatedEventArgs { type Vtable = IContactMessageActivatedEventArgs_Vtbl; } @@ -5765,6 +4612,7 @@ unsafe impl ::core::marker::Send for ContactMessageActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactMessageActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPanelActivatedEventArgs(::windows_core::IUnknown); impl ContactPanelActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5816,25 +4664,9 @@ impl ContactPanelActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactPanelActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPanelActivatedEventArgs {} -impl ::core::fmt::Debug for ContactPanelActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPanelActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPanelActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); } -impl ::core::clone::Clone for ContactPanelActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPanelActivatedEventArgs { type Vtable = IContactPanelActivatedEventArgs_Vtbl; } @@ -5852,6 +4684,7 @@ unsafe impl ::core::marker::Send for ContactPanelActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactPanelActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPickerActivatedEventArgs(::windows_core::IUnknown); impl ContactPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5885,25 +4718,9 @@ impl ContactPickerActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactPickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPickerActivatedEventArgs {} -impl ::core::fmt::Debug for ContactPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); } -impl ::core::clone::Clone for ContactPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPickerActivatedEventArgs { type Vtable = IContactPickerActivatedEventArgs_Vtbl; } @@ -5920,6 +4737,7 @@ unsafe impl ::core::marker::Send for ContactPickerActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactPickerActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPostActivatedEventArgs(::windows_core::IUnknown); impl ContactPostActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -5974,25 +4792,9 @@ impl ContactPostActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactPostActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPostActivatedEventArgs {} -impl ::core::fmt::Debug for ContactPostActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPostActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPostActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); } -impl ::core::clone::Clone for ContactPostActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPostActivatedEventArgs { type Vtable = IContactPostActivatedEventArgs_Vtbl; } @@ -6010,6 +4812,7 @@ unsafe impl ::core::marker::Send for ContactPostActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactPostActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactVideoCallActivatedEventArgs(::windows_core::IUnknown); impl ContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6064,25 +4867,9 @@ impl ContactVideoCallActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactVideoCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactVideoCallActivatedEventArgs {} -impl ::core::fmt::Debug for ContactVideoCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactVideoCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactVideoCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); } -impl ::core::clone::Clone for ContactVideoCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactVideoCallActivatedEventArgs { type Vtable = IContactVideoCallActivatedEventArgs_Vtbl; } @@ -6100,6 +4887,7 @@ unsafe impl ::core::marker::Send for ContactVideoCallActivatedEventArgs {} unsafe impl ::core::marker::Sync for ContactVideoCallActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceActivatedEventArgs(::windows_core::IUnknown); impl DeviceActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6163,25 +4951,9 @@ impl DeviceActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for DeviceActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceActivatedEventArgs {} -impl ::core::fmt::Debug for DeviceActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); } -impl ::core::clone::Clone for DeviceActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceActivatedEventArgs { type Vtable = IDeviceActivatedEventArgs_Vtbl; } @@ -6201,6 +4973,7 @@ unsafe impl ::core::marker::Send for DeviceActivatedEventArgs {} unsafe impl ::core::marker::Sync for DeviceActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePairingActivatedEventArgs(::windows_core::IUnknown); impl DevicePairingActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6243,25 +5016,9 @@ impl DevicePairingActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for DevicePairingActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePairingActivatedEventArgs {} -impl ::core::fmt::Debug for DevicePairingActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePairingActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePairingActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); } -impl ::core::clone::Clone for DevicePairingActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePairingActivatedEventArgs { type Vtable = IDevicePairingActivatedEventArgs_Vtbl; } @@ -6279,6 +5036,7 @@ unsafe impl ::core::marker::Send for DevicePairingActivatedEventArgs {} unsafe impl ::core::marker::Sync for DevicePairingActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialReceiverActivatedEventArgs(::windows_core::IUnknown); impl DialReceiverActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6349,25 +5107,9 @@ impl DialReceiverActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for DialReceiverActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialReceiverActivatedEventArgs {} -impl ::core::fmt::Debug for DialReceiverActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialReceiverActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialReceiverActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.DialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); } -impl ::core::clone::Clone for DialReceiverActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialReceiverActivatedEventArgs { type Vtable = IDialReceiverActivatedEventArgs_Vtbl; } @@ -6388,6 +5130,7 @@ unsafe impl ::core::marker::Send for DialReceiverActivatedEventArgs {} unsafe impl ::core::marker::Sync for DialReceiverActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileActivatedEventArgs(::windows_core::IUnknown); impl FileActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6469,25 +5212,9 @@ impl FileActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for FileActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileActivatedEventArgs {} -impl ::core::fmt::Debug for FileActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); } -impl ::core::clone::Clone for FileActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileActivatedEventArgs { type Vtable = IFileActivatedEventArgs_Vtbl; } @@ -6509,6 +5236,7 @@ unsafe impl ::core::marker::Send for FileActivatedEventArgs {} unsafe impl ::core::marker::Sync for FileActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileOpenPickerActivatedEventArgs(::windows_core::IUnknown); impl FileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6558,25 +5286,9 @@ impl FileOpenPickerActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for FileOpenPickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileOpenPickerActivatedEventArgs {} -impl ::core::fmt::Debug for FileOpenPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileOpenPickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileOpenPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); } -impl ::core::clone::Clone for FileOpenPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileOpenPickerActivatedEventArgs { type Vtable = IFileOpenPickerActivatedEventArgs_Vtbl; } @@ -6596,6 +5308,7 @@ unsafe impl ::core::marker::Sync for FileOpenPickerActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileOpenPickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl FileOpenPickerContinuationEventArgs { @@ -6649,30 +5362,10 @@ impl FileOpenPickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for FileOpenPickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for FileOpenPickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for FileOpenPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileOpenPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for FileOpenPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for FileOpenPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for FileOpenPickerContinuationEventArgs { type Vtable = IFileOpenPickerContinuationEventArgs_Vtbl; } @@ -6700,6 +5393,7 @@ unsafe impl ::core::marker::Send for FileOpenPickerContinuationEventArgs {} unsafe impl ::core::marker::Sync for FileOpenPickerContinuationEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileSavePickerActivatedEventArgs(::windows_core::IUnknown); impl FileSavePickerActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -6756,25 +5450,9 @@ impl FileSavePickerActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for FileSavePickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileSavePickerActivatedEventArgs {} -impl ::core::fmt::Debug for FileSavePickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileSavePickerActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileSavePickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); } -impl ::core::clone::Clone for FileSavePickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileSavePickerActivatedEventArgs { type Vtable = IFileSavePickerActivatedEventArgs_Vtbl; } @@ -6794,6 +5472,7 @@ unsafe impl ::core::marker::Sync for FileSavePickerActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileSavePickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl FileSavePickerContinuationEventArgs { @@ -6847,30 +5526,10 @@ impl FileSavePickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for FileSavePickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for FileSavePickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for FileSavePickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileSavePickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for FileSavePickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for FileSavePickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for FileSavePickerContinuationEventArgs { type Vtable = IFileSavePickerContinuationEventArgs_Vtbl; } @@ -6899,6 +5558,7 @@ unsafe impl ::core::marker::Sync for FileSavePickerContinuationEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderPickerContinuationEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl FolderPickerContinuationEventArgs { @@ -6952,30 +5612,10 @@ impl FolderPickerContinuationEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for FolderPickerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for FolderPickerContinuationEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for FolderPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for FolderPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.FolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for FolderPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for FolderPickerContinuationEventArgs { type Vtable = IFolderPickerContinuationEventArgs_Vtbl; } @@ -7003,6 +5643,7 @@ unsafe impl ::core::marker::Send for FolderPickerContinuationEventArgs {} unsafe impl ::core::marker::Sync for FolderPickerContinuationEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LaunchActivatedEventArgs(::windows_core::IUnknown); impl LaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7080,25 +5721,9 @@ impl LaunchActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for LaunchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LaunchActivatedEventArgs {} -impl ::core::fmt::Debug for LaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LaunchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); } -impl ::core::clone::Clone for LaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LaunchActivatedEventArgs { type Vtable = ILaunchActivatedEventArgs_Vtbl; } @@ -7120,6 +5745,7 @@ unsafe impl ::core::marker::Send for LaunchActivatedEventArgs {} unsafe impl ::core::marker::Sync for LaunchActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenActivatedEventArgs(::windows_core::IUnknown); impl LockScreenActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7160,25 +5786,9 @@ impl LockScreenActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for LockScreenActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenActivatedEventArgs {} -impl ::core::fmt::Debug for LockScreenActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); } -impl ::core::clone::Clone for LockScreenActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenActivatedEventArgs { type Vtable = ILockScreenActivatedEventArgs_Vtbl; } @@ -7196,6 +5806,7 @@ unsafe impl ::core::marker::Send for LockScreenActivatedEventArgs {} unsafe impl ::core::marker::Sync for LockScreenActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenCallActivatedEventArgs(::windows_core::IUnknown); impl LockScreenCallActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7259,25 +5870,9 @@ impl LockScreenCallActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for LockScreenCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenCallActivatedEventArgs {} -impl ::core::fmt::Debug for LockScreenCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); } -impl ::core::clone::Clone for LockScreenCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenCallActivatedEventArgs { type Vtable = ILockScreenCallActivatedEventArgs_Vtbl; } @@ -7297,6 +5892,7 @@ unsafe impl ::core::marker::Send for LockScreenCallActivatedEventArgs {} unsafe impl ::core::marker::Sync for LockScreenCallActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenComponentActivatedEventArgs(::windows_core::IUnknown); impl LockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7321,25 +5917,9 @@ impl LockScreenComponentActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for LockScreenComponentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenComponentActivatedEventArgs {} -impl ::core::fmt::Debug for LockScreenComponentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenComponentActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenComponentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.LockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } -impl ::core::clone::Clone for LockScreenComponentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenComponentActivatedEventArgs { type Vtable = IActivatedEventArgs_Vtbl; } @@ -7355,6 +5935,7 @@ unsafe impl ::core::marker::Send for LockScreenComponentActivatedEventArgs {} unsafe impl ::core::marker::Sync for LockScreenComponentActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallActivatedEventArgs(::windows_core::IUnknown); impl PhoneCallActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7395,25 +5976,9 @@ impl PhoneCallActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PhoneCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallActivatedEventArgs {} -impl ::core::fmt::Debug for PhoneCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); } -impl ::core::clone::Clone for PhoneCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallActivatedEventArgs { type Vtable = IPhoneCallActivatedEventArgs_Vtbl; } @@ -7431,6 +5996,7 @@ unsafe impl ::core::marker::Send for PhoneCallActivatedEventArgs {} unsafe impl ::core::marker::Sync for PhoneCallActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PickerReturnedActivatedEventArgs(::windows_core::IUnknown); impl PickerReturnedActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7462,25 +6028,9 @@ impl PickerReturnedActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PickerReturnedActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PickerReturnedActivatedEventArgs {} -impl ::core::fmt::Debug for PickerReturnedActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PickerReturnedActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PickerReturnedActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PickerReturnedActivatedEventArgs;{360defb9-a9d3-4984-a4ed-9ec734604921})"); } -impl ::core::clone::Clone for PickerReturnedActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PickerReturnedActivatedEventArgs { type Vtable = IPickerReturnedActivatedEventArgs_Vtbl; } @@ -7497,6 +6047,7 @@ unsafe impl ::core::marker::Send for PickerReturnedActivatedEventArgs {} unsafe impl ::core::marker::Sync for PickerReturnedActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DWorkflowActivatedEventArgs(::windows_core::IUnknown); impl Print3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7530,25 +6081,9 @@ impl Print3DWorkflowActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for Print3DWorkflowActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DWorkflowActivatedEventArgs {} -impl ::core::fmt::Debug for Print3DWorkflowActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DWorkflowActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DWorkflowActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.Print3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); } -impl ::core::clone::Clone for Print3DWorkflowActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DWorkflowActivatedEventArgs { type Vtable = IPrint3DWorkflowActivatedEventArgs_Vtbl; } @@ -7565,6 +6100,7 @@ unsafe impl ::core::marker::Send for Print3DWorkflowActivatedEventArgs {} unsafe impl ::core::marker::Sync for Print3DWorkflowActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskSettingsActivatedEventArgs(::windows_core::IUnknown); impl PrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7598,25 +6134,9 @@ impl PrintTaskSettingsActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskSettingsActivatedEventArgs {} -impl ::core::fmt::Debug for PrintTaskSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskSettingsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.PrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); } -impl ::core::clone::Clone for PrintTaskSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskSettingsActivatedEventArgs { type Vtable = IPrintTaskSettingsActivatedEventArgs_Vtbl; } @@ -7633,6 +6153,7 @@ unsafe impl ::core::marker::Send for PrintTaskSettingsActivatedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskSettingsActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtocolActivatedEventArgs(::windows_core::IUnknown); impl ProtocolActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7707,25 +6228,9 @@ impl ProtocolActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ProtocolActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtocolActivatedEventArgs {} -impl ::core::fmt::Debug for ProtocolActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtocolActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtocolActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); } -impl ::core::clone::Clone for ProtocolActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtocolActivatedEventArgs { type Vtable = IProtocolActivatedEventArgs_Vtbl; } @@ -7746,6 +6251,7 @@ unsafe impl ::core::marker::Send for ProtocolActivatedEventArgs {} unsafe impl ::core::marker::Sync for ProtocolActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtocolForResultsActivatedEventArgs(::windows_core::IUnknown); impl ProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7829,25 +6335,9 @@ impl ProtocolForResultsActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ProtocolForResultsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtocolForResultsActivatedEventArgs {} -impl ::core::fmt::Debug for ProtocolForResultsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtocolForResultsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtocolForResultsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); } -impl ::core::clone::Clone for ProtocolForResultsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtocolForResultsActivatedEventArgs { type Vtable = IProtocolForResultsActivatedEventArgs_Vtbl; } @@ -7869,6 +6359,7 @@ unsafe impl ::core::marker::Send for ProtocolForResultsActivatedEventArgs {} unsafe impl ::core::marker::Sync for ProtocolForResultsActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RestrictedLaunchActivatedEventArgs(::windows_core::IUnknown); impl RestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -7909,25 +6400,9 @@ impl RestrictedLaunchActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for RestrictedLaunchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RestrictedLaunchActivatedEventArgs {} -impl ::core::fmt::Debug for RestrictedLaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RestrictedLaunchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RestrictedLaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.RestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); } -impl ::core::clone::Clone for RestrictedLaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RestrictedLaunchActivatedEventArgs { type Vtable = IRestrictedLaunchActivatedEventArgs_Vtbl; } @@ -7945,6 +6420,7 @@ unsafe impl ::core::marker::Send for RestrictedLaunchActivatedEventArgs {} unsafe impl ::core::marker::Sync for RestrictedLaunchActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchActivatedEventArgs(::windows_core::IUnknown); impl SearchActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8017,25 +6493,9 @@ impl SearchActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for SearchActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchActivatedEventArgs {} -impl ::core::fmt::Debug for SearchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); } -impl ::core::clone::Clone for SearchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchActivatedEventArgs { type Vtable = ISearchActivatedEventArgs_Vtbl; } @@ -8056,6 +6516,7 @@ unsafe impl ::core::marker::Send for SearchActivatedEventArgs {} unsafe impl ::core::marker::Sync for SearchActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareTargetActivatedEventArgs(::windows_core::IUnknown); impl ShareTargetActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8098,25 +6559,9 @@ impl ShareTargetActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ShareTargetActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareTargetActivatedEventArgs {} -impl ::core::fmt::Debug for ShareTargetActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareTargetActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareTargetActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); } -impl ::core::clone::Clone for ShareTargetActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareTargetActivatedEventArgs { type Vtable = IShareTargetActivatedEventArgs_Vtbl; } @@ -8134,6 +6579,7 @@ unsafe impl ::core::marker::Send for ShareTargetActivatedEventArgs {} unsafe impl ::core::marker::Sync for ShareTargetActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SplashScreen(::windows_core::IUnknown); impl SplashScreen { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8164,25 +6610,9 @@ impl SplashScreen { unsafe { (::windows_core::Interface::vtable(this).RemoveDismissed)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for SplashScreen { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SplashScreen {} -impl ::core::fmt::Debug for SplashScreen { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SplashScreen").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SplashScreen { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.SplashScreen;{ca4d975c-d4d6-43f0-97c0-0833c6391c24})"); } -impl ::core::clone::Clone for SplashScreen { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SplashScreen { type Vtable = ISplashScreen_Vtbl; } @@ -8195,6 +6625,7 @@ impl ::windows_core::RuntimeName for SplashScreen { ::windows_core::imp::interface_hierarchy!(SplashScreen, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StartupTaskActivatedEventArgs(::windows_core::IUnknown); impl StartupTaskActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8235,25 +6666,9 @@ impl StartupTaskActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for StartupTaskActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StartupTaskActivatedEventArgs {} -impl ::core::fmt::Debug for StartupTaskActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StartupTaskActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StartupTaskActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.StartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); } -impl ::core::clone::Clone for StartupTaskActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StartupTaskActivatedEventArgs { type Vtable = IStartupTaskActivatedEventArgs_Vtbl; } @@ -8271,6 +6686,7 @@ unsafe impl ::core::marker::Send for StartupTaskActivatedEventArgs {} unsafe impl ::core::marker::Sync for StartupTaskActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileActivatedInfo(::windows_core::IUnknown); impl TileActivatedInfo { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"UI_Notifications\"`*"] @@ -8283,25 +6699,9 @@ impl TileActivatedInfo { } } } -impl ::core::cmp::PartialEq for TileActivatedInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileActivatedInfo {} -impl ::core::fmt::Debug for TileActivatedInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileActivatedInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileActivatedInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.TileActivatedInfo;{80e4a3b1-3980-4f17-b738-89194e0b8f65})"); } -impl ::core::clone::Clone for TileActivatedInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileActivatedInfo { type Vtable = ITileActivatedInfo_Vtbl; } @@ -8316,6 +6716,7 @@ unsafe impl ::core::marker::Send for TileActivatedInfo {} unsafe impl ::core::marker::Sync for TileActivatedInfo {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationActivatedEventArgs(::windows_core::IUnknown); impl ToastNotificationActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8372,25 +6773,9 @@ impl ToastNotificationActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ToastNotificationActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationActivatedEventArgs {} -impl ::core::fmt::Debug for ToastNotificationActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.ToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); } -impl ::core::clone::Clone for ToastNotificationActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationActivatedEventArgs { type Vtable = IToastNotificationActivatedEventArgs_Vtbl; } @@ -8409,6 +6794,7 @@ unsafe impl ::core::marker::Send for ToastNotificationActivatedEventArgs {} unsafe impl ::core::marker::Sync for ToastNotificationActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountProviderActivatedEventArgs(::windows_core::IUnknown); impl UserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8442,25 +6828,9 @@ impl UserDataAccountProviderActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataAccountProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountProviderActivatedEventArgs {} -impl ::core::fmt::Debug for UserDataAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.UserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); } -impl ::core::clone::Clone for UserDataAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountProviderActivatedEventArgs { type Vtable = IUserDataAccountProviderActivatedEventArgs_Vtbl; } @@ -8477,6 +6847,7 @@ unsafe impl ::core::marker::Send for UserDataAccountProviderActivatedEventArgs { unsafe impl ::core::marker::Sync for UserDataAccountProviderActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandActivatedEventArgs(::windows_core::IUnknown); impl VoiceCommandActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8519,25 +6890,9 @@ impl VoiceCommandActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for VoiceCommandActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandActivatedEventArgs {} -impl ::core::fmt::Debug for VoiceCommandActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.VoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); } -impl ::core::clone::Clone for VoiceCommandActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandActivatedEventArgs { type Vtable = IVoiceCommandActivatedEventArgs_Vtbl; } @@ -8556,6 +6911,7 @@ unsafe impl ::core::marker::Sync for VoiceCommandActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletActionActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletActionActivatedEventArgs { @@ -8609,30 +6965,10 @@ impl WalletActionActivatedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletActionActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletActionActivatedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletActionActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletActionActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletActionActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletActionActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletActionActivatedEventArgs { type Vtable = IWalletActionActivatedEventArgs_Vtbl; } @@ -8656,6 +6992,7 @@ unsafe impl ::core::marker::Send for WalletActionActivatedEventArgs {} unsafe impl ::core::marker::Sync for WalletActionActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderActivatedEventArgs(::windows_core::IUnknown); impl WebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8698,25 +7035,9 @@ impl WebAccountProviderActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for WebAccountProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderActivatedEventArgs {} -impl ::core::fmt::Debug for WebAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); } -impl ::core::clone::Clone for WebAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderActivatedEventArgs { type Vtable = IWebAccountProviderActivatedEventArgs_Vtbl; } @@ -8734,6 +7055,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderActivatedEventArgs {} unsafe impl ::core::marker::Sync for WebAccountProviderActivatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAuthenticationBrokerContinuationEventArgs(::windows_core::IUnknown); impl WebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -8776,25 +7098,9 @@ impl WebAuthenticationBrokerContinuationEventArgs { } } } -impl ::core::cmp::PartialEq for WebAuthenticationBrokerContinuationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAuthenticationBrokerContinuationEventArgs {} -impl ::core::fmt::Debug for WebAuthenticationBrokerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAuthenticationBrokerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Activation.WebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); } -impl ::core::clone::Clone for WebAuthenticationBrokerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAuthenticationBrokerContinuationEventArgs { type Vtable = IWebAuthenticationBrokerContinuationEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index d4f1669ec1..ca43fa0f3a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtension(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtension { type Vtable = IAppExtension_Vtbl; } -impl ::core::clone::Clone for IAppExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8450902c_15ed_4faf_93ea_2237bbf8cbd6); } @@ -32,15 +28,11 @@ pub struct IAppExtension_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtension2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtension2 { type Vtable = IAppExtension2_Vtbl; } -impl ::core::clone::Clone for IAppExtension2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtension2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab3b15f0_14f9_4b9f_9419_a349a242ef38); } @@ -52,15 +44,11 @@ pub struct IAppExtension2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionCatalog(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionCatalog { type Vtable = IAppExtensionCatalog_Vtbl; } -impl ::core::clone::Clone for IAppExtensionCatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionCatalog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97872032_8426_4ad1_9084_92e88c2da200); } @@ -119,15 +107,11 @@ pub struct IAppExtensionCatalog_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionCatalogStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionCatalogStatics { type Vtable = IAppExtensionCatalogStatics_Vtbl; } -impl ::core::clone::Clone for IAppExtensionCatalogStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionCatalogStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c36668a_5f18_4f0b_9ce5_cab61d196f11); } @@ -139,15 +123,11 @@ pub struct IAppExtensionCatalogStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionPackageInstalledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionPackageInstalledEventArgs { type Vtable = IAppExtensionPackageInstalledEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppExtensionPackageInstalledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionPackageInstalledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39e59234_3351_4a8d_9745_e7d3dd45bc48); } @@ -164,15 +144,11 @@ pub struct IAppExtensionPackageInstalledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionPackageStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionPackageStatusChangedEventArgs { type Vtable = IAppExtensionPackageStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppExtensionPackageStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionPackageStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ce17433_1153_44fd_87b1_8ae1050303df); } @@ -185,15 +161,11 @@ pub struct IAppExtensionPackageStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionPackageUninstallingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionPackageUninstallingEventArgs { type Vtable = IAppExtensionPackageUninstallingEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppExtensionPackageUninstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionPackageUninstallingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60f160c5_171e_40ff_ae98_ab2c20dd4d75); } @@ -206,15 +178,11 @@ pub struct IAppExtensionPackageUninstallingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionPackageUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionPackageUpdatedEventArgs { type Vtable = IAppExtensionPackageUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppExtensionPackageUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionPackageUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a83c43f_797e_44b5_ba24_a4c8b5a543d7); } @@ -231,15 +199,11 @@ pub struct IAppExtensionPackageUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExtensionPackageUpdatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExtensionPackageUpdatingEventArgs { type Vtable = IAppExtensionPackageUpdatingEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppExtensionPackageUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExtensionPackageUpdatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed59329_1a65_4800_a700_b321009e306a); } @@ -252,6 +216,7 @@ pub struct IAppExtensionPackageUpdatingEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtension(::windows_core::IUnknown); impl AppExtension { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -315,25 +280,9 @@ impl AppExtension { } } } -impl ::core::cmp::PartialEq for AppExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtension {} -impl ::core::fmt::Debug for AppExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtension").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtension { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtension;{8450902c-15ed-4faf-93ea-2237bbf8cbd6})"); } -impl ::core::clone::Clone for AppExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtension { type Vtable = IAppExtension_Vtbl; } @@ -348,6 +297,7 @@ unsafe impl ::core::marker::Send for AppExtension {} unsafe impl ::core::marker::Sync for AppExtension {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionCatalog(::windows_core::IUnknown); impl AppExtensionCatalog { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -470,25 +420,9 @@ impl AppExtensionCatalog { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppExtensionCatalog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionCatalog {} -impl ::core::fmt::Debug for AppExtensionCatalog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionCatalog").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionCatalog { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionCatalog;{97872032-8426-4ad1-9084-92e88c2da200})"); } -impl ::core::clone::Clone for AppExtensionCatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionCatalog { type Vtable = IAppExtensionCatalog_Vtbl; } @@ -501,6 +435,7 @@ impl ::windows_core::RuntimeName for AppExtensionCatalog { ::windows_core::imp::interface_hierarchy!(AppExtensionCatalog, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionPackageInstalledEventArgs(::windows_core::IUnknown); impl AppExtensionPackageInstalledEventArgs { pub fn AppExtensionName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -527,25 +462,9 @@ impl AppExtensionPackageInstalledEventArgs { } } } -impl ::core::cmp::PartialEq for AppExtensionPackageInstalledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionPackageInstalledEventArgs {} -impl ::core::fmt::Debug for AppExtensionPackageInstalledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionPackageInstalledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionPackageInstalledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageInstalledEventArgs;{39e59234-3351-4a8d-9745-e7d3dd45bc48})"); } -impl ::core::clone::Clone for AppExtensionPackageInstalledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionPackageInstalledEventArgs { type Vtable = IAppExtensionPackageInstalledEventArgs_Vtbl; } @@ -560,6 +479,7 @@ unsafe impl ::core::marker::Send for AppExtensionPackageInstalledEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageInstalledEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionPackageStatusChangedEventArgs(::windows_core::IUnknown); impl AppExtensionPackageStatusChangedEventArgs { pub fn AppExtensionName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -577,25 +497,9 @@ impl AppExtensionPackageStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppExtensionPackageStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionPackageStatusChangedEventArgs {} -impl ::core::fmt::Debug for AppExtensionPackageStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionPackageStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionPackageStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageStatusChangedEventArgs;{1ce17433-1153-44fd-87b1-8ae1050303df})"); } -impl ::core::clone::Clone for AppExtensionPackageStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionPackageStatusChangedEventArgs { type Vtable = IAppExtensionPackageStatusChangedEventArgs_Vtbl; } @@ -610,6 +514,7 @@ unsafe impl ::core::marker::Send for AppExtensionPackageStatusChangedEventArgs { unsafe impl ::core::marker::Sync for AppExtensionPackageStatusChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionPackageUninstallingEventArgs(::windows_core::IUnknown); impl AppExtensionPackageUninstallingEventArgs { pub fn AppExtensionName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -627,25 +532,9 @@ impl AppExtensionPackageUninstallingEventArgs { } } } -impl ::core::cmp::PartialEq for AppExtensionPackageUninstallingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionPackageUninstallingEventArgs {} -impl ::core::fmt::Debug for AppExtensionPackageUninstallingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionPackageUninstallingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionPackageUninstallingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUninstallingEventArgs;{60f160c5-171e-40ff-ae98-ab2c20dd4d75})"); } -impl ::core::clone::Clone for AppExtensionPackageUninstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionPackageUninstallingEventArgs { type Vtable = IAppExtensionPackageUninstallingEventArgs_Vtbl; } @@ -660,6 +549,7 @@ unsafe impl ::core::marker::Send for AppExtensionPackageUninstallingEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageUninstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionPackageUpdatedEventArgs(::windows_core::IUnknown); impl AppExtensionPackageUpdatedEventArgs { pub fn AppExtensionName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -686,25 +576,9 @@ impl AppExtensionPackageUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for AppExtensionPackageUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionPackageUpdatedEventArgs {} -impl ::core::fmt::Debug for AppExtensionPackageUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionPackageUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionPackageUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatedEventArgs;{3a83c43f-797e-44b5-ba24-a4c8b5a543d7})"); } -impl ::core::clone::Clone for AppExtensionPackageUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionPackageUpdatedEventArgs { type Vtable = IAppExtensionPackageUpdatedEventArgs_Vtbl; } @@ -719,6 +593,7 @@ unsafe impl ::core::marker::Send for AppExtensionPackageUpdatedEventArgs {} unsafe impl ::core::marker::Sync for AppExtensionPackageUpdatedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppExtensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExtensionPackageUpdatingEventArgs(::windows_core::IUnknown); impl AppExtensionPackageUpdatingEventArgs { pub fn AppExtensionName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -736,25 +611,9 @@ impl AppExtensionPackageUpdatingEventArgs { } } } -impl ::core::cmp::PartialEq for AppExtensionPackageUpdatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExtensionPackageUpdatingEventArgs {} -impl ::core::fmt::Debug for AppExtensionPackageUpdatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExtensionPackageUpdatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExtensionPackageUpdatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppExtensions.AppExtensionPackageUpdatingEventArgs;{7ed59329-1a65-4800-a700-b321009e306a})"); } -impl ::core::clone::Clone for AppExtensionPackageUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExtensionPackageUpdatingEventArgs { type Vtable = IAppExtensionPackageUpdatingEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 24c51adc75..e510866dff 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceCatalogStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceCatalogStatics { type Vtable = IAppServiceCatalogStatics_Vtbl; } -impl ::core::clone::Clone for IAppServiceCatalogStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceCatalogStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef0d2507_d132_4c85_8395_3c31d5a1e941); } @@ -23,15 +19,11 @@ pub struct IAppServiceCatalogStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceClosedEventArgs { type Vtable = IAppServiceClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppServiceClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde6016f6_cb03_4d35_ac8d_cc6303239731); } @@ -43,15 +35,11 @@ pub struct IAppServiceClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceConnection { type Vtable = IAppServiceConnection_Vtbl; } -impl ::core::clone::Clone for IAppServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dd474a2_871f_4d52_89a9_9e090531bd27); } @@ -90,15 +78,11 @@ pub struct IAppServiceConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceConnection2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceConnection2 { type Vtable = IAppServiceConnection2_Vtbl; } -impl ::core::clone::Clone for IAppServiceConnection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceConnection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bdfcd5f_2302_4fbd_8061_52511c2f8bf9); } @@ -121,15 +105,11 @@ pub struct IAppServiceConnection2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceConnectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceConnectionStatics { type Vtable = IAppServiceConnectionStatics_Vtbl; } -impl ::core::clone::Clone for IAppServiceConnectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceConnectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadc56ce9_d408_5673_8637_827a4b274168); } @@ -144,15 +124,11 @@ pub struct IAppServiceConnectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceDeferral { type Vtable = IAppServiceDeferral_Vtbl; } -impl ::core::clone::Clone for IAppServiceDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e1b5322_eab0_4248_ae04_fdf93838e472); } @@ -164,15 +140,11 @@ pub struct IAppServiceDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceRequest { type Vtable = IAppServiceRequest_Vtbl; } -impl ::core::clone::Clone for IAppServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20e58d9d_18de_4b01_80ba_90a76204e3c8); } @@ -191,15 +163,11 @@ pub struct IAppServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceRequestReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceRequestReceivedEventArgs { type Vtable = IAppServiceRequestReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppServiceRequestReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceRequestReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e122360_ff65_44ae_9e45_857fe4180681); } @@ -212,15 +180,11 @@ pub struct IAppServiceRequestReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceResponse { type Vtable = IAppServiceResponse_Vtbl; } -impl ::core::clone::Clone for IAppServiceResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d503cec_9aa3_4e68_9559_9de63e372ce4); } @@ -236,15 +200,11 @@ pub struct IAppServiceResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceTriggerDetails { type Vtable = IAppServiceTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAppServiceTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88a2dcac_ad28_41b8_80bb_bdf1b2169e19); } @@ -258,15 +218,11 @@ pub struct IAppServiceTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceTriggerDetails2 { type Vtable = IAppServiceTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IAppServiceTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe83d54b2_28cc_43f2_b465_c0482e59e2dc); } @@ -278,15 +234,11 @@ pub struct IAppServiceTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceTriggerDetails3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceTriggerDetails3 { type Vtable = IAppServiceTriggerDetails3_Vtbl; } -impl ::core::clone::Clone for IAppServiceTriggerDetails3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceTriggerDetails3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbd71e21_7939_4e68_9e3c_7780147aabb6); } @@ -301,15 +253,11 @@ pub struct IAppServiceTriggerDetails3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceTriggerDetails4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppServiceTriggerDetails4 { type Vtable = IAppServiceTriggerDetails4_Vtbl; } -impl ::core::clone::Clone for IAppServiceTriggerDetails4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceTriggerDetails4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1185b180_8861_5e30_ab55_1cf4d08bbf6d); } @@ -321,15 +269,11 @@ pub struct IAppServiceTriggerDetails4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStatelessAppServiceResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStatelessAppServiceResponse { type Vtable = IStatelessAppServiceResponse_Vtbl; } -impl ::core::clone::Clone for IStatelessAppServiceResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStatelessAppServiceResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43754af7_a9ec_52fe_82e7_939b68dc9388); } @@ -365,6 +309,7 @@ impl ::windows_core::RuntimeName for AppServiceCatalog { } #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceClosedEventArgs(::windows_core::IUnknown); impl AppServiceClosedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -375,25 +320,9 @@ impl AppServiceClosedEventArgs { } } } -impl ::core::cmp::PartialEq for AppServiceClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceClosedEventArgs {} -impl ::core::fmt::Debug for AppServiceClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceClosedEventArgs;{de6016f6-cb03-4d35-ac8d-cc6303239731})"); } -impl ::core::clone::Clone for AppServiceClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceClosedEventArgs { type Vtable = IAppServiceClosedEventArgs_Vtbl; } @@ -408,6 +337,7 @@ unsafe impl ::core::marker::Send for AppServiceClosedEventArgs {} unsafe impl ::core::marker::Sync for AppServiceClosedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceConnection(::windows_core::IUnknown); impl AppServiceConnection { pub fn new() -> ::windows_core::Result { @@ -551,25 +481,9 @@ impl AppServiceConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppServiceConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceConnection {} -impl ::core::fmt::Debug for AppServiceConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceConnection;{9dd474a2-871f-4d52-89a9-9e090531bd27})"); } -impl ::core::clone::Clone for AppServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceConnection { type Vtable = IAppServiceConnection_Vtbl; } @@ -586,6 +500,7 @@ unsafe impl ::core::marker::Send for AppServiceConnection {} unsafe impl ::core::marker::Sync for AppServiceConnection {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceDeferral(::windows_core::IUnknown); impl AppServiceDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -593,25 +508,9 @@ impl AppServiceDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppServiceDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceDeferral {} -impl ::core::fmt::Debug for AppServiceDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceDeferral;{7e1b5322-eab0-4248-ae04-fdf93838e472})"); } -impl ::core::clone::Clone for AppServiceDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceDeferral { type Vtable = IAppServiceDeferral_Vtbl; } @@ -626,6 +525,7 @@ unsafe impl ::core::marker::Send for AppServiceDeferral {} unsafe impl ::core::marker::Sync for AppServiceDeferral {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceRequest(::windows_core::IUnknown); impl AppServiceRequest { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -650,25 +550,9 @@ impl AppServiceRequest { } } } -impl ::core::cmp::PartialEq for AppServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceRequest {} -impl ::core::fmt::Debug for AppServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequest;{20e58d9d-18de-4b01-80ba-90a76204e3c8})"); } -impl ::core::clone::Clone for AppServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceRequest { type Vtable = IAppServiceRequest_Vtbl; } @@ -683,6 +567,7 @@ unsafe impl ::core::marker::Send for AppServiceRequest {} unsafe impl ::core::marker::Sync for AppServiceRequest {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceRequestReceivedEventArgs(::windows_core::IUnknown); impl AppServiceRequestReceivedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -700,25 +585,9 @@ impl AppServiceRequestReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for AppServiceRequestReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceRequestReceivedEventArgs {} -impl ::core::fmt::Debug for AppServiceRequestReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceRequestReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceRequestReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs;{6e122360-ff65-44ae-9e45-857fe4180681})"); } -impl ::core::clone::Clone for AppServiceRequestReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceRequestReceivedEventArgs { type Vtable = IAppServiceRequestReceivedEventArgs_Vtbl; } @@ -733,6 +602,7 @@ unsafe impl ::core::marker::Send for AppServiceRequestReceivedEventArgs {} unsafe impl ::core::marker::Sync for AppServiceRequestReceivedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceResponse(::windows_core::IUnknown); impl AppServiceResponse { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -752,25 +622,9 @@ impl AppServiceResponse { } } } -impl ::core::cmp::PartialEq for AppServiceResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceResponse {} -impl ::core::fmt::Debug for AppServiceResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceResponse;{8d503cec-9aa3-4e68-9559-9de63e372ce4})"); } -impl ::core::clone::Clone for AppServiceResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceResponse { type Vtable = IAppServiceResponse_Vtbl; } @@ -785,6 +639,7 @@ unsafe impl ::core::marker::Send for AppServiceResponse {} unsafe impl ::core::marker::Sync for AppServiceResponse {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppServiceTriggerDetails(::windows_core::IUnknown); impl AppServiceTriggerDetails { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -832,25 +687,9 @@ impl AppServiceTriggerDetails { } } } -impl ::core::cmp::PartialEq for AppServiceTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppServiceTriggerDetails {} -impl ::core::fmt::Debug for AppServiceTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppServiceTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppServiceTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.AppServiceTriggerDetails;{88a2dcac-ad28-41b8-80bb-bdf1b2169e19})"); } -impl ::core::clone::Clone for AppServiceTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppServiceTriggerDetails { type Vtable = IAppServiceTriggerDetails_Vtbl; } @@ -865,6 +704,7 @@ unsafe impl ::core::marker::Send for AppServiceTriggerDetails {} unsafe impl ::core::marker::Sync for AppServiceTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_AppService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StatelessAppServiceResponse(::windows_core::IUnknown); impl StatelessAppServiceResponse { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -884,25 +724,9 @@ impl StatelessAppServiceResponse { } } } -impl ::core::cmp::PartialEq for StatelessAppServiceResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StatelessAppServiceResponse {} -impl ::core::fmt::Debug for StatelessAppServiceResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StatelessAppServiceResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StatelessAppServiceResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppService.StatelessAppServiceResponse;{43754af7-a9ec-52fe-82e7-939b68dc9388})"); } -impl ::core::clone::Clone for StatelessAppServiceResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StatelessAppServiceResponse { type Vtable = IStatelessAppServiceResponse_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs index 235168b2f3..43b00cb9df 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddAppointmentOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAddAppointmentOperation { type Vtable = IAddAppointmentOperation_Vtbl; } -impl ::core::clone::Clone for IAddAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddAppointmentOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec4a9af3_620d_4c69_add7_9794e918081f); } @@ -25,15 +21,11 @@ pub struct IAddAppointmentOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderLaunchActionVerbsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentsProviderLaunchActionVerbsStatics { type Vtable = IAppointmentsProviderLaunchActionVerbsStatics_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderLaunchActionVerbsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderLaunchActionVerbsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36dbba28_9e2e_49c6_8ef7_3ab7a5dcc8b8); } @@ -48,15 +40,11 @@ pub struct IAppointmentsProviderLaunchActionVerbsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentsProviderLaunchActionVerbsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentsProviderLaunchActionVerbsStatics2 { type Vtable = IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl; } -impl ::core::clone::Clone for IAppointmentsProviderLaunchActionVerbsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentsProviderLaunchActionVerbsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef9049a4_af21_473c_88dc_76cd89f60ca5); } @@ -68,15 +56,11 @@ pub struct IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoveAppointmentOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoveAppointmentOperation { type Vtable = IRemoveAppointmentOperation_Vtbl; } -impl ::core::clone::Clone for IRemoveAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoveAppointmentOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08b66aba_fe33_46cd_a50c_a8ffb3260537); } @@ -97,15 +81,11 @@ pub struct IRemoveAppointmentOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReplaceAppointmentOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReplaceAppointmentOperation { type Vtable = IReplaceAppointmentOperation_Vtbl; } -impl ::core::clone::Clone for IReplaceAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReplaceAppointmentOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4903d9b_9e61_4de2_a732_2687c07d1de8); } @@ -127,6 +107,7 @@ pub struct IReplaceAppointmentOperation_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AddAppointmentOperation(::windows_core::IUnknown); impl AddAppointmentOperation { pub fn AppointmentInformation(&self) -> ::windows_core::Result { @@ -160,25 +141,9 @@ impl AddAppointmentOperation { unsafe { (::windows_core::Interface::vtable(this).DismissUI)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AddAppointmentOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AddAppointmentOperation {} -impl ::core::fmt::Debug for AddAppointmentOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AddAppointmentOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AddAppointmentOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation;{ec4a9af3-620d-4c69-add7-9794e918081f})"); } -impl ::core::clone::Clone for AddAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AddAppointmentOperation { type Vtable = IAddAppointmentOperation_Vtbl; } @@ -240,6 +205,7 @@ impl ::windows_core::RuntimeName for AppointmentsProviderLaunchActionVerbs { } #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoveAppointmentOperation(::windows_core::IUnknown); impl RemoveAppointmentOperation { pub fn AppointmentId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -282,25 +248,9 @@ impl RemoveAppointmentOperation { unsafe { (::windows_core::Interface::vtable(this).DismissUI)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for RemoveAppointmentOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoveAppointmentOperation {} -impl ::core::fmt::Debug for RemoveAppointmentOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoveAppointmentOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoveAppointmentOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation;{08b66aba-fe33-46cd-a50c-a8ffb3260537})"); } -impl ::core::clone::Clone for RemoveAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoveAppointmentOperation { type Vtable = IRemoveAppointmentOperation_Vtbl; } @@ -315,6 +265,7 @@ unsafe impl ::core::marker::Send for RemoveAppointmentOperation {} unsafe impl ::core::marker::Sync for RemoveAppointmentOperation {} #[doc = "*Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ReplaceAppointmentOperation(::windows_core::IUnknown); impl ReplaceAppointmentOperation { pub fn AppointmentId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -364,25 +315,9 @@ impl ReplaceAppointmentOperation { unsafe { (::windows_core::Interface::vtable(this).DismissUI)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ReplaceAppointmentOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ReplaceAppointmentOperation {} -impl ::core::fmt::Debug for ReplaceAppointmentOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ReplaceAppointmentOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ReplaceAppointmentOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation;{f4903d9b-9e61-4de2-a732-2687c07d1de8})"); } -impl ::core::clone::Clone for ReplaceAppointmentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ReplaceAppointmentOperation { type Vtable = IReplaceAppointmentOperation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs index f24a767e7c..7bf8d75e65 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarCancelMeetingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarCancelMeetingRequest { type Vtable = IAppointmentCalendarCancelMeetingRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarCancelMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarCancelMeetingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49460f8d_6434_40d7_ad46_6297419314d1); } @@ -36,15 +32,11 @@ pub struct IAppointmentCalendarCancelMeetingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarCancelMeetingRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarCancelMeetingRequestEventArgs { type Vtable = IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarCancelMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarCancelMeetingRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a79be16_7f30_4e35_beef_9d2c7b6dcae1); } @@ -60,15 +52,11 @@ pub struct IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarCreateOrUpdateAppointmentRequest { type Vtable = IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarCreateOrUpdateAppointmentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarCreateOrUpdateAppointmentRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e62f2b2_ca96_48ac_9124_406b19fefa70); } @@ -94,15 +82,11 @@ pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { type Vtable = IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf8ded28_002e_4bf7_8e9d_5e20d49aa3ba); } @@ -118,15 +102,11 @@ pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarForwardMeetingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarForwardMeetingRequest { type Vtable = IAppointmentCalendarForwardMeetingRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarForwardMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarForwardMeetingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82e5ee56_26b6_4253_8a8f_6cf5f2ff7884); } @@ -158,15 +138,11 @@ pub struct IAppointmentCalendarForwardMeetingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarForwardMeetingRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarForwardMeetingRequestEventArgs { type Vtable = IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarForwardMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarForwardMeetingRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3109151a_23a2_42fd_9c82_c9a60d59f8a8); } @@ -182,15 +158,11 @@ pub struct IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarProposeNewTimeForMeetingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarProposeNewTimeForMeetingRequest { type Vtable = IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarProposeNewTimeForMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarProposeNewTimeForMeetingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce1c63f5_edf6_43c3_82b7_be6b368c6900); } @@ -225,15 +197,11 @@ pub struct IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { type Vtable = IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2d777d8_fed1_4280_a3ba_2e1f47609aa2); } @@ -249,15 +217,11 @@ pub struct IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarSyncManagerSyncRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarSyncManagerSyncRequest { type Vtable = IAppointmentCalendarSyncManagerSyncRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarSyncManagerSyncRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12ab382b_7163_4a56_9a4e_7223a84adf46); } @@ -277,15 +241,11 @@ pub struct IAppointmentCalendarSyncManagerSyncRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarSyncManagerSyncRequestEventArgs { type Vtable = IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarSyncManagerSyncRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca17c6f7_0284_4edd_87ba_4d8f69dcf5c0); } @@ -301,15 +261,11 @@ pub struct IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarUpdateMeetingResponseRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarUpdateMeetingResponseRequest { type Vtable = IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarUpdateMeetingResponseRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarUpdateMeetingResponseRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa36d608c_c29d_4b94_b086_7e9ff7bd84a0); } @@ -338,15 +294,11 @@ pub struct IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarUpdateMeetingResponseRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarUpdateMeetingResponseRequestEventArgs { type Vtable = IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarUpdateMeetingResponseRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarUpdateMeetingResponseRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88759883_97bf_479d_aed5_0be8ce567d1e); } @@ -362,15 +314,11 @@ pub struct IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentDataProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentDataProviderConnection { type Vtable = IAppointmentDataProviderConnection_Vtbl; } -impl ::core::clone::Clone for IAppointmentDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentDataProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3dd9d83_3254_465f_abdb_928046552cf4); } @@ -430,15 +378,11 @@ pub struct IAppointmentDataProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentDataProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentDataProviderTriggerDetails { type Vtable = IAppointmentDataProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAppointmentDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentDataProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3283c01_7e12_4e5e_b1ef_74fb68ac6f2a); } @@ -450,6 +394,7 @@ pub struct IAppointmentDataProviderTriggerDetails_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarCancelMeetingRequest(::windows_core::IUnknown); impl AppointmentCalendarCancelMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -515,25 +460,9 @@ impl AppointmentCalendarCancelMeetingRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarCancelMeetingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarCancelMeetingRequest {} -impl ::core::fmt::Debug for AppointmentCalendarCancelMeetingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarCancelMeetingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarCancelMeetingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequest;{49460f8d-6434-40d7-ad46-6297419314d1})"); } -impl ::core::clone::Clone for AppointmentCalendarCancelMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarCancelMeetingRequest { type Vtable = IAppointmentCalendarCancelMeetingRequest_Vtbl; } @@ -548,6 +477,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarCancelMeetingRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarCancelMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarCancelMeetingRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarCancelMeetingRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -567,25 +497,9 @@ impl AppointmentCalendarCancelMeetingRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarCancelMeetingRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarCancelMeetingRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarCancelMeetingRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarCancelMeetingRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarCancelMeetingRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCancelMeetingRequestEventArgs;{1a79be16-7f30-4e35-beef-9d2c7b6dcae1})"); } -impl ::core::clone::Clone for AppointmentCalendarCancelMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarCancelMeetingRequestEventArgs { type Vtable = IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl; } @@ -600,6 +514,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarCancelMeetingRequestEven unsafe impl ::core::marker::Sync for AppointmentCalendarCancelMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarCreateOrUpdateAppointmentRequest(::windows_core::IUnknown); impl AppointmentCalendarCreateOrUpdateAppointmentRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -654,25 +569,9 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarCreateOrUpdateAppointmentRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarCreateOrUpdateAppointmentRequest {} -impl ::core::fmt::Debug for AppointmentCalendarCreateOrUpdateAppointmentRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarCreateOrUpdateAppointmentRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarCreateOrUpdateAppointmentRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequest;{2e62f2b2-ca96-48ac-9124-406b19fefa70})"); } -impl ::core::clone::Clone for AppointmentCalendarCreateOrUpdateAppointmentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarCreateOrUpdateAppointmentRequest { type Vtable = IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl; } @@ -687,6 +586,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarCreateOrUpdateAppointmen unsafe impl ::core::marker::Sync for AppointmentCalendarCreateOrUpdateAppointmentRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -706,25 +606,9 @@ impl AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs;{cf8ded28-002e-4bf7-8e9d-5e20d49aa3ba})"); } -impl ::core::clone::Clone for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs { type Vtable = IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl; } @@ -739,6 +623,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarCreateOrUpdateAppointmen unsafe impl ::core::marker::Sync for AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarForwardMeetingRequest(::windows_core::IUnknown); impl AppointmentCalendarForwardMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -813,25 +698,9 @@ impl AppointmentCalendarForwardMeetingRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarForwardMeetingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarForwardMeetingRequest {} -impl ::core::fmt::Debug for AppointmentCalendarForwardMeetingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarForwardMeetingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarForwardMeetingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequest;{82e5ee56-26b6-4253-8a8f-6cf5f2ff7884})"); } -impl ::core::clone::Clone for AppointmentCalendarForwardMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarForwardMeetingRequest { type Vtable = IAppointmentCalendarForwardMeetingRequest_Vtbl; } @@ -846,6 +715,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarForwardMeetingRequest {} unsafe impl ::core::marker::Sync for AppointmentCalendarForwardMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarForwardMeetingRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarForwardMeetingRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -865,25 +735,9 @@ impl AppointmentCalendarForwardMeetingRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarForwardMeetingRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarForwardMeetingRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarForwardMeetingRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarForwardMeetingRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarForwardMeetingRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarForwardMeetingRequestEventArgs;{3109151a-23a2-42fd-9c82-c9a60d59f8a8})"); } -impl ::core::clone::Clone for AppointmentCalendarForwardMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarForwardMeetingRequestEventArgs { type Vtable = IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl; } @@ -898,6 +752,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarForwardMeetingRequestEve unsafe impl ::core::marker::Sync for AppointmentCalendarForwardMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarProposeNewTimeForMeetingRequest(::windows_core::IUnknown); impl AppointmentCalendarProposeNewTimeForMeetingRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -974,25 +829,9 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarProposeNewTimeForMeetingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarProposeNewTimeForMeetingRequest {} -impl ::core::fmt::Debug for AppointmentCalendarProposeNewTimeForMeetingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarProposeNewTimeForMeetingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarProposeNewTimeForMeetingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequest;{ce1c63f5-edf6-43c3-82b7-be6b368c6900})"); } -impl ::core::clone::Clone for AppointmentCalendarProposeNewTimeForMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarProposeNewTimeForMeetingRequest { type Vtable = IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl; } @@ -1007,6 +846,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarProposeNewTimeForMeeting unsafe impl ::core::marker::Sync for AppointmentCalendarProposeNewTimeForMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1026,25 +866,9 @@ impl AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs;{d2d777d8-fed1-4280-a3ba-2e1f47609aa2})"); } -impl ::core::clone::Clone for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs { type Vtable = IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl; } @@ -1059,6 +883,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarProposeNewTimeForMeeting unsafe impl ::core::marker::Sync for AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarSyncManagerSyncRequest(::windows_core::IUnknown); impl AppointmentCalendarSyncManagerSyncRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1087,25 +912,9 @@ impl AppointmentCalendarSyncManagerSyncRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarSyncManagerSyncRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarSyncManagerSyncRequest {} -impl ::core::fmt::Debug for AppointmentCalendarSyncManagerSyncRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarSyncManagerSyncRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarSyncManagerSyncRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequest;{12ab382b-7163-4a56-9a4e-7223a84adf46})"); } -impl ::core::clone::Clone for AppointmentCalendarSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarSyncManagerSyncRequest { type Vtable = IAppointmentCalendarSyncManagerSyncRequest_Vtbl; } @@ -1120,6 +929,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarSyncManagerSyncRequest { unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1139,25 +949,9 @@ impl AppointmentCalendarSyncManagerSyncRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarSyncManagerSyncRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarSyncManagerSyncRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarSyncManagerSyncRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarSyncManagerSyncRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarSyncManagerSyncRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarSyncManagerSyncRequestEventArgs;{ca17c6f7-0284-4edd-87ba-4d8f69dcf5c0})"); } -impl ::core::clone::Clone for AppointmentCalendarSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarSyncManagerSyncRequestEventArgs { type Vtable = IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl; } @@ -1172,6 +966,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarSyncManagerSyncRequestEv unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManagerSyncRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarUpdateMeetingResponseRequest(::windows_core::IUnknown); impl AppointmentCalendarUpdateMeetingResponseRequest { pub fn AppointmentCalendarLocalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1244,25 +1039,9 @@ impl AppointmentCalendarUpdateMeetingResponseRequest { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarUpdateMeetingResponseRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarUpdateMeetingResponseRequest {} -impl ::core::fmt::Debug for AppointmentCalendarUpdateMeetingResponseRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarUpdateMeetingResponseRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarUpdateMeetingResponseRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequest;{a36d608c-c29d-4b94-b086-7e9ff7bd84a0})"); } -impl ::core::clone::Clone for AppointmentCalendarUpdateMeetingResponseRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarUpdateMeetingResponseRequest { type Vtable = IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl; } @@ -1277,6 +1056,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarUpdateMeetingResponseReq unsafe impl ::core::marker::Sync for AppointmentCalendarUpdateMeetingResponseRequest {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarUpdateMeetingResponseRequestEventArgs(::windows_core::IUnknown); impl AppointmentCalendarUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1296,25 +1076,9 @@ impl AppointmentCalendarUpdateMeetingResponseRequestEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarUpdateMeetingResponseRequestEventArgs {} -impl ::core::fmt::Debug for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarUpdateMeetingResponseRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentCalendarUpdateMeetingResponseRequestEventArgs;{88759883-97bf-479d-aed5-0be8ce567d1e})"); } -impl ::core::clone::Clone for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarUpdateMeetingResponseRequestEventArgs { type Vtable = IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl; } @@ -1329,6 +1093,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarUpdateMeetingResponseReq unsafe impl ::core::marker::Sync for AppointmentCalendarUpdateMeetingResponseRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentDataProviderConnection(::windows_core::IUnknown); impl AppointmentDataProviderConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1444,25 +1209,9 @@ impl AppointmentDataProviderConnection { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppointmentDataProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentDataProviderConnection {} -impl ::core::fmt::Debug for AppointmentDataProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentDataProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentDataProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderConnection;{f3dd9d83-3254-465f-abdb-928046552cf4})"); } -impl ::core::clone::Clone for AppointmentDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentDataProviderConnection { type Vtable = IAppointmentDataProviderConnection_Vtbl; } @@ -1477,6 +1226,7 @@ unsafe impl ::core::marker::Send for AppointmentDataProviderConnection {} unsafe impl ::core::marker::Sync for AppointmentDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Appointments_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentDataProviderTriggerDetails(::windows_core::IUnknown); impl AppointmentDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -1487,25 +1237,9 @@ impl AppointmentDataProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for AppointmentDataProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentDataProviderTriggerDetails {} -impl ::core::fmt::Debug for AppointmentDataProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentDataProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentDataProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.DataProvider.AppointmentDataProviderTriggerDetails;{b3283c01-7e12-4e5e-b1ef-74fb68ac6f2a})"); } -impl ::core::clone::Clone for AppointmentDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentDataProviderTriggerDetails { type Vtable = IAppointmentDataProviderTriggerDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs index fe4d9f171a..b27a584512 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs @@ -52,7 +52,7 @@ impl IAppointmentParticipant_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 7c46b2203c..66f57049b6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -4,15 +4,11 @@ pub mod AppointmentsProvider; pub mod DataProvider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointment { type Vtable = IAppointment_Vtbl; } -impl ::core::clone::Clone for IAppointment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd002f2f_2bdd_4076_90a3_22c275312965); } @@ -75,15 +71,11 @@ pub struct IAppointment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointment2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointment2 { type Vtable = IAppointment2_Vtbl; } -impl ::core::clone::Clone for IAppointment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e85983c_540f_3452_9b5c_0dd7ad4c65a2); } @@ -123,15 +115,11 @@ pub struct IAppointment2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointment3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointment3 { type Vtable = IAppointment3_Vtbl; } -impl ::core::clone::Clone for IAppointment3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointment3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfcc45a9_8961_4991_934b_c48768e5a96c); } @@ -147,15 +135,11 @@ pub struct IAppointment3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendar { type Vtable = IAppointmentCalendar_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5273819d_8339_3d4f_a02f_64084452bb5d); } @@ -237,15 +221,11 @@ pub struct IAppointmentCalendar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendar2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendar2 { type Vtable = IAppointmentCalendar2_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendar2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendar2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18e7e422_2467_4e1c_a459_d8a29303d092); } @@ -299,15 +279,11 @@ pub struct IAppointmentCalendar2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendar3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendar3 { type Vtable = IAppointmentCalendar3_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendar3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendar3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb23d22b_a685_42ae_8495_b3119adb4167); } @@ -322,15 +298,11 @@ pub struct IAppointmentCalendar3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarSyncManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarSyncManager { type Vtable = IAppointmentCalendarSyncManager_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b21b3a0_4aff_4392_bc5f_5645ffcffb17); } @@ -362,15 +334,11 @@ pub struct IAppointmentCalendarSyncManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentCalendarSyncManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentCalendarSyncManager2 { type Vtable = IAppointmentCalendarSyncManager2_Vtbl; } -impl ::core::clone::Clone for IAppointmentCalendarSyncManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentCalendarSyncManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x647528ad_0d29_4c7c_aaa7_bf996805537c); } @@ -390,15 +358,11 @@ pub struct IAppointmentCalendarSyncManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentConflictResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentConflictResult { type Vtable = IAppointmentConflictResult_Vtbl; } -impl ::core::clone::Clone for IAppointmentConflictResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentConflictResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5cdf0be_2f2f_3b7d_af0a_a7e20f3a46e3); } @@ -414,15 +378,11 @@ pub struct IAppointmentConflictResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentException(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentException { type Vtable = IAppointmentException_Vtbl; } -impl ::core::clone::Clone for IAppointmentException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2076767_16f6_4bce_9f5a_8600b8019fcb); } @@ -439,15 +399,11 @@ pub struct IAppointmentException_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentInvitee(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentInvitee { type Vtable = IAppointmentInvitee_Vtbl; } -impl ::core::clone::Clone for IAppointmentInvitee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentInvitee { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13bf0796_9842_495b_b0e7_ef8f79c0701d); } @@ -462,15 +418,11 @@ pub struct IAppointmentInvitee_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentManagerForUser { type Vtable = IAppointmentManagerForUser_Vtbl; } -impl ::core::clone::Clone for IAppointmentManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70261423_73cc_4660_b318_b01365302a03); } @@ -537,15 +489,11 @@ pub struct IAppointmentManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentManagerStatics { type Vtable = IAppointmentManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppointmentManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a30fa01_5c40_499d_b33f_a43050f74fc4); } @@ -592,15 +540,11 @@ pub struct IAppointmentManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentManagerStatics2 { type Vtable = IAppointmentManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IAppointmentManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a81f60d_d04f_4034_af72_a36573b45ff0); } @@ -627,15 +571,11 @@ pub struct IAppointmentManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentManagerStatics3 { type Vtable = IAppointmentManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IAppointmentManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9ae09c_b34c_4dc7_a35d_cafd88ae3ec6); } @@ -650,6 +590,7 @@ pub struct IAppointmentManagerStatics3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentParticipant(::windows_core::IUnknown); impl IAppointmentParticipant { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -676,28 +617,12 @@ impl IAppointmentParticipant { } } ::windows_core::imp::interface_hierarchy!(IAppointmentParticipant, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAppointmentParticipant { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppointmentParticipant {} -impl ::core::fmt::Debug for IAppointmentParticipant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppointmentParticipant").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAppointmentParticipant { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{615e2902-9718-467b-83fb-b293a19121de}"); } unsafe impl ::windows_core::Interface for IAppointmentParticipant { type Vtable = IAppointmentParticipant_Vtbl; } -impl ::core::clone::Clone for IAppointmentParticipant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentParticipant { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x615e2902_9718_467b_83fb_b293a19121de); } @@ -712,15 +637,11 @@ pub struct IAppointmentParticipant_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentPropertiesStatics { type Vtable = IAppointmentPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IAppointmentPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25141fe9_68ae_3aae_855f_bc4441caa234); } @@ -757,15 +678,11 @@ pub struct IAppointmentPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentPropertiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentPropertiesStatics2 { type Vtable = IAppointmentPropertiesStatics2_Vtbl; } -impl ::core::clone::Clone for IAppointmentPropertiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentPropertiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdffc434b_b017_45dd_8af5_d163d10801bb); } @@ -779,15 +696,11 @@ pub struct IAppointmentPropertiesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentRecurrence(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentRecurrence { type Vtable = IAppointmentRecurrence_Vtbl; } -impl ::core::clone::Clone for IAppointmentRecurrence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentRecurrence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd87b3e83_15a6_487b_b959_0c361e60e954); } @@ -826,15 +739,11 @@ pub struct IAppointmentRecurrence_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentRecurrence2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentRecurrence2 { type Vtable = IAppointmentRecurrence2_Vtbl; } -impl ::core::clone::Clone for IAppointmentRecurrence2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentRecurrence2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3df3a2e0_05a7_4f50_9f86_b03f9436254d); } @@ -848,15 +757,11 @@ pub struct IAppointmentRecurrence2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentRecurrence3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentRecurrence3 { type Vtable = IAppointmentRecurrence3_Vtbl; } -impl ::core::clone::Clone for IAppointmentRecurrence3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentRecurrence3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89ff96d9_da4d_4a17_8dd2_1cebc2b5ff9d); } @@ -868,15 +773,11 @@ pub struct IAppointmentRecurrence3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStore { type Vtable = IAppointmentStore_Vtbl; } -impl ::core::clone::Clone for IAppointmentStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa461918c_7a47_4d96_96c9_15cd8a05a735); } @@ -968,15 +869,11 @@ pub struct IAppointmentStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStore2 { type Vtable = IAppointmentStore2_Vtbl; } -impl ::core::clone::Clone for IAppointmentStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25c48c20_1c41_424f_8084_67c1cfe0a854); } @@ -999,15 +896,11 @@ pub struct IAppointmentStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStore3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStore3 { type Vtable = IAppointmentStore3_Vtbl; } -impl ::core::clone::Clone for IAppointmentStore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4251940b_b078_470a_9a40_c2e01761f72f); } @@ -1019,15 +912,11 @@ pub struct IAppointmentStore3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChange { type Vtable = IAppointmentStoreChange_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5a6e035_0a33_3654_8463_b543e90c3b79); } @@ -1040,15 +929,11 @@ pub struct IAppointmentStoreChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChange2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChange2 { type Vtable = IAppointmentStoreChange2_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChange2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb37d0dce_5211_4402_a608_a96fe70b8ee2); } @@ -1060,15 +945,11 @@ pub struct IAppointmentStoreChange2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChangeReader { type Vtable = IAppointmentStoreChangeReader_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b2409f1_65f3_42a0_961d_4c209bf30370); } @@ -1085,15 +966,11 @@ pub struct IAppointmentStoreChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChangeTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChangeTracker { type Vtable = IAppointmentStoreChangeTracker_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChangeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b25f4b1_8ece_4f17_93c8_e6412458fd5c); } @@ -1107,15 +984,11 @@ pub struct IAppointmentStoreChangeTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChangeTracker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChangeTracker2 { type Vtable = IAppointmentStoreChangeTracker2_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChangeTracker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChangeTracker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb66aaf45_9542_4cf7_8550_eb370e0c08d3); } @@ -1127,15 +1000,11 @@ pub struct IAppointmentStoreChangeTracker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChangedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChangedDeferral { type Vtable = IAppointmentStoreChangedDeferral_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChangedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cb82026_fedb_4bc3_9662_95a9befdf4df); } @@ -1147,15 +1016,11 @@ pub struct IAppointmentStoreChangedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreChangedEventArgs { type Vtable = IAppointmentStoreChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2285f8b9_0791_417e_bfea_cc6d41636c8c); } @@ -1167,15 +1032,11 @@ pub struct IAppointmentStoreChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreNotificationTriggerDetails { type Vtable = IAppointmentStoreNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b33cb11_c301_421e_afef_047ecfa76adb); } @@ -1186,15 +1047,11 @@ pub struct IAppointmentStoreNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindAppointmentsOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFindAppointmentsOptions { type Vtable = IFindAppointmentsOptions_Vtbl; } -impl ::core::clone::Clone for IFindAppointmentsOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindAppointmentsOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55f7dc55_9942_3086_82b5_2cb29f64d5f5); } @@ -1217,6 +1074,7 @@ pub struct IFindAppointmentsOptions_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Appointment(::windows_core::IUnknown); impl Appointment { pub fn new() -> ::windows_core::Result { @@ -1550,25 +1408,9 @@ impl Appointment { unsafe { (::windows_core::Interface::vtable(this).SetDetailsKind)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Appointment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Appointment {} -impl ::core::fmt::Debug for Appointment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Appointment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Appointment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.Appointment;{dd002f2f-2bdd-4076-90a3-22c275312965})"); } -impl ::core::clone::Clone for Appointment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Appointment { type Vtable = IAppointment_Vtbl; } @@ -1583,6 +1425,7 @@ unsafe impl ::core::marker::Send for Appointment {} unsafe impl ::core::marker::Sync for Appointment {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendar(::windows_core::IUnknown); impl AppointmentCalendar { #[doc = "*Required features: `\"UI\"`*"] @@ -1980,25 +1823,9 @@ impl AppointmentCalendar { } } } -impl ::core::cmp::PartialEq for AppointmentCalendar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendar {} -impl ::core::fmt::Debug for AppointmentCalendar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendar;{5273819d-8339-3d4f-a02f-64084452bb5d})"); } -impl ::core::clone::Clone for AppointmentCalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendar { type Vtable = IAppointmentCalendar_Vtbl; } @@ -2013,6 +1840,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendar {} unsafe impl ::core::marker::Sync for AppointmentCalendar {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentCalendarSyncManager(::windows_core::IUnknown); impl AppointmentCalendarSyncManager { pub fn Status(&self) -> ::windows_core::Result { @@ -2084,25 +1912,9 @@ impl AppointmentCalendarSyncManager { unsafe { (::windows_core::Interface::vtable(this).SetLastAttemptedSyncTime)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AppointmentCalendarSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentCalendarSyncManager {} -impl ::core::fmt::Debug for AppointmentCalendarSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentCalendarSyncManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentCalendarSyncManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentCalendarSyncManager;{2b21b3a0-4aff-4392-bc5f-5645ffcffb17})"); } -impl ::core::clone::Clone for AppointmentCalendarSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentCalendarSyncManager { type Vtable = IAppointmentCalendarSyncManager_Vtbl; } @@ -2117,6 +1929,7 @@ unsafe impl ::core::marker::Send for AppointmentCalendarSyncManager {} unsafe impl ::core::marker::Sync for AppointmentCalendarSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentConflictResult(::windows_core::IUnknown); impl AppointmentConflictResult { pub fn Type(&self) -> ::windows_core::Result { @@ -2136,25 +1949,9 @@ impl AppointmentConflictResult { } } } -impl ::core::cmp::PartialEq for AppointmentConflictResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentConflictResult {} -impl ::core::fmt::Debug for AppointmentConflictResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentConflictResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentConflictResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentConflictResult;{d5cdf0be-2f2f-3b7d-af0a-a7e20f3a46e3})"); } -impl ::core::clone::Clone for AppointmentConflictResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentConflictResult { type Vtable = IAppointmentConflictResult_Vtbl; } @@ -2169,6 +1966,7 @@ unsafe impl ::core::marker::Send for AppointmentConflictResult {} unsafe impl ::core::marker::Sync for AppointmentConflictResult {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentException(::windows_core::IUnknown); impl AppointmentException { pub fn Appointment(&self) -> ::windows_core::Result { @@ -2195,25 +1993,9 @@ impl AppointmentException { } } } -impl ::core::cmp::PartialEq for AppointmentException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentException {} -impl ::core::fmt::Debug for AppointmentException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentException").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentException { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentException;{a2076767-16f6-4bce-9f5a-8600b8019fcb})"); } -impl ::core::clone::Clone for AppointmentException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentException { type Vtable = IAppointmentException_Vtbl; } @@ -2228,6 +2010,7 @@ unsafe impl ::core::marker::Send for AppointmentException {} unsafe impl ::core::marker::Sync for AppointmentException {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentInvitee(::windows_core::IUnknown); impl AppointmentInvitee { pub fn new() -> ::windows_core::Result { @@ -2282,25 +2065,9 @@ impl AppointmentInvitee { unsafe { (::windows_core::Interface::vtable(this).SetAddress)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for AppointmentInvitee { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentInvitee {} -impl ::core::fmt::Debug for AppointmentInvitee { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentInvitee").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentInvitee { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentInvitee;{13bf0796-9842-495b-b0e7-ef8f79c0701d})"); } -impl ::core::clone::Clone for AppointmentInvitee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentInvitee { type Vtable = IAppointmentInvitee_Vtbl; } @@ -2471,6 +2238,7 @@ impl ::windows_core::RuntimeName for AppointmentManager { } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentManagerForUser(::windows_core::IUnknown); impl AppointmentManagerForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2618,25 +2386,9 @@ impl AppointmentManagerForUser { } } } -impl ::core::cmp::PartialEq for AppointmentManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentManagerForUser {} -impl ::core::fmt::Debug for AppointmentManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentManagerForUser;{70261423-73cc-4660-b318-b01365302a03})"); } -impl ::core::clone::Clone for AppointmentManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentManagerForUser { type Vtable = IAppointmentManagerForUser_Vtbl; } @@ -2651,6 +2403,7 @@ unsafe impl ::core::marker::Send for AppointmentManagerForUser {} unsafe impl ::core::marker::Sync for AppointmentManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentOrganizer(::windows_core::IUnknown); impl AppointmentOrganizer { pub fn new() -> ::windows_core::Result { @@ -2683,25 +2436,9 @@ impl AppointmentOrganizer { unsafe { (::windows_core::Interface::vtable(this).SetAddress)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for AppointmentOrganizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentOrganizer {} -impl ::core::fmt::Debug for AppointmentOrganizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentOrganizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentOrganizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentOrganizer;{615e2902-9718-467b-83fb-b293a19121de})"); } -impl ::core::clone::Clone for AppointmentOrganizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentOrganizer { type Vtable = IAppointmentParticipant_Vtbl; } @@ -2892,6 +2629,7 @@ impl ::windows_core::RuntimeName for AppointmentProperties { } #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentRecurrence(::windows_core::IUnknown); impl AppointmentRecurrence { pub fn new() -> ::windows_core::Result { @@ -3029,25 +2767,9 @@ impl AppointmentRecurrence { } } } -impl ::core::cmp::PartialEq for AppointmentRecurrence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentRecurrence {} -impl ::core::fmt::Debug for AppointmentRecurrence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentRecurrence").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentRecurrence { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentRecurrence;{d87b3e83-15a6-487b-b959-0c361e60e954})"); } -impl ::core::clone::Clone for AppointmentRecurrence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentRecurrence { type Vtable = IAppointmentRecurrence_Vtbl; } @@ -3062,6 +2784,7 @@ unsafe impl ::core::marker::Send for AppointmentRecurrence {} unsafe impl ::core::marker::Sync for AppointmentRecurrence {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStore(::windows_core::IUnknown); impl AppointmentStore { pub fn ChangeTracker(&self) -> ::windows_core::Result { @@ -3311,25 +3034,9 @@ impl AppointmentStore { } } } -impl ::core::cmp::PartialEq for AppointmentStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStore {} -impl ::core::fmt::Debug for AppointmentStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStore;{a461918c-7a47-4d96-96c9-15cd8a05a735})"); } -impl ::core::clone::Clone for AppointmentStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStore { type Vtable = IAppointmentStore_Vtbl; } @@ -3344,6 +3051,7 @@ unsafe impl ::core::marker::Send for AppointmentStore {} unsafe impl ::core::marker::Sync for AppointmentStore {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreChange(::windows_core::IUnknown); impl AppointmentStoreChange { pub fn Appointment(&self) -> ::windows_core::Result { @@ -3368,25 +3076,9 @@ impl AppointmentStoreChange { } } } -impl ::core::cmp::PartialEq for AppointmentStoreChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreChange {} -impl ::core::fmt::Debug for AppointmentStoreChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChange;{a5a6e035-0a33-3654-8463-b543e90c3b79})"); } -impl ::core::clone::Clone for AppointmentStoreChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreChange { type Vtable = IAppointmentStoreChange_Vtbl; } @@ -3401,6 +3093,7 @@ unsafe impl ::core::marker::Send for AppointmentStoreChange {} unsafe impl ::core::marker::Sync for AppointmentStoreChange {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreChangeReader(::windows_core::IUnknown); impl AppointmentStoreChangeReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3424,25 +3117,9 @@ impl AppointmentStoreChangeReader { unsafe { (::windows_core::Interface::vtable(this).AcceptChangesThrough)(::windows_core::Interface::as_raw(this), lastchangetoaccept.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for AppointmentStoreChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreChangeReader {} -impl ::core::fmt::Debug for AppointmentStoreChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeReader;{8b2409f1-65f3-42a0-961d-4c209bf30370})"); } -impl ::core::clone::Clone for AppointmentStoreChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreChangeReader { type Vtable = IAppointmentStoreChangeReader_Vtbl; } @@ -3457,6 +3134,7 @@ unsafe impl ::core::marker::Send for AppointmentStoreChangeReader {} unsafe impl ::core::marker::Sync for AppointmentStoreChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreChangeTracker(::windows_core::IUnknown); impl AppointmentStoreChangeTracker { pub fn GetChangeReader(&self) -> ::windows_core::Result { @@ -3482,25 +3160,9 @@ impl AppointmentStoreChangeTracker { } } } -impl ::core::cmp::PartialEq for AppointmentStoreChangeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreChangeTracker {} -impl ::core::fmt::Debug for AppointmentStoreChangeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreChangeTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreChangeTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangeTracker;{1b25f4b1-8ece-4f17-93c8-e6412458fd5c})"); } -impl ::core::clone::Clone for AppointmentStoreChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreChangeTracker { type Vtable = IAppointmentStoreChangeTracker_Vtbl; } @@ -3515,6 +3177,7 @@ unsafe impl ::core::marker::Send for AppointmentStoreChangeTracker {} unsafe impl ::core::marker::Sync for AppointmentStoreChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreChangedDeferral(::windows_core::IUnknown); impl AppointmentStoreChangedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -3522,25 +3185,9 @@ impl AppointmentStoreChangedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppointmentStoreChangedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreChangedDeferral {} -impl ::core::fmt::Debug for AppointmentStoreChangedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreChangedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreChangedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedDeferral;{4cb82026-fedb-4bc3-9662-95a9befdf4df})"); } -impl ::core::clone::Clone for AppointmentStoreChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreChangedDeferral { type Vtable = IAppointmentStoreChangedDeferral_Vtbl; } @@ -3555,6 +3202,7 @@ unsafe impl ::core::marker::Send for AppointmentStoreChangedDeferral {} unsafe impl ::core::marker::Sync for AppointmentStoreChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreChangedEventArgs(::windows_core::IUnknown); impl AppointmentStoreChangedEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -3565,25 +3213,9 @@ impl AppointmentStoreChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppointmentStoreChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreChangedEventArgs {} -impl ::core::fmt::Debug for AppointmentStoreChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreChangedEventArgs;{2285f8b9-0791-417e-bfea-cc6d41636c8c})"); } -impl ::core::clone::Clone for AppointmentStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreChangedEventArgs { type Vtable = IAppointmentStoreChangedEventArgs_Vtbl; } @@ -3598,27 +3230,12 @@ unsafe impl ::core::marker::Send for AppointmentStoreChangedEventArgs {} unsafe impl ::core::marker::Sync for AppointmentStoreChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreNotificationTriggerDetails(::windows_core::IUnknown); impl AppointmentStoreNotificationTriggerDetails {} -impl ::core::cmp::PartialEq for AppointmentStoreNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreNotificationTriggerDetails {} -impl ::core::fmt::Debug for AppointmentStoreNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.AppointmentStoreNotificationTriggerDetails;{9b33cb11-c301-421e-afef-047ecfa76adb})"); } -impl ::core::clone::Clone for AppointmentStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreNotificationTriggerDetails { type Vtable = IAppointmentStoreNotificationTriggerDetails_Vtbl; } @@ -3633,6 +3250,7 @@ unsafe impl ::core::marker::Send for AppointmentStoreNotificationTriggerDetails unsafe impl ::core::marker::Sync for AppointmentStoreNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FindAppointmentsOptions(::windows_core::IUnknown); impl FindAppointmentsOptions { pub fn new() -> ::windows_core::Result { @@ -3683,25 +3301,9 @@ impl FindAppointmentsOptions { unsafe { (::windows_core::Interface::vtable(this).SetMaxCount)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FindAppointmentsOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FindAppointmentsOptions {} -impl ::core::fmt::Debug for FindAppointmentsOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FindAppointmentsOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FindAppointmentsOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Appointments.FindAppointmentsOptions;{55f7dc55-9942-3086-82b5-2cb29f64d5f5})"); } -impl ::core::clone::Clone for FindAppointmentsOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FindAppointmentsOptions { type Vtable = IFindAppointmentsOptions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs index 5864e6b29f..45461c4135 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs @@ -7,8 +7,8 @@ impl IBackgroundCondition_Vtbl { pub const fn new, Impl: IBackgroundCondition_Impl, const OFFSET: isize>() -> IBackgroundCondition_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -27,8 +27,8 @@ impl IBackgroundTask_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IBackgroundTaskInstance_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl IBackgroundTaskInstance2_Vtbl { GetThrottleCount: GetThrottleCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"System\"`, `\"implement\"`*"] @@ -216,8 +216,8 @@ impl IBackgroundTaskInstance4_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IBackgroundTaskRegistration_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IBackgroundTaskRegistration2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trigger: Trigger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IBackgroundTaskRegistration3_Vtbl { TaskGroup: TaskGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -385,7 +385,7 @@ impl IBackgroundTrigger_Vtbl { pub const fn new, Impl: IBackgroundTrigger_Impl, const OFFSET: isize>() -> IBackgroundTrigger_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 0b3ef907a1..f853263d55 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorTrigger { type Vtable = IActivitySensorTrigger_Vtbl; } -impl ::core::clone::Clone for IActivitySensorTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0dd4342_e37b_4823_a5fe_6b31dfefdeb0); } @@ -29,15 +25,11 @@ pub struct IActivitySensorTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorTriggerFactory { type Vtable = IActivitySensorTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IActivitySensorTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa72691c3_3837_44f7_831b_0132cc872bc3); } @@ -49,15 +41,11 @@ pub struct IActivitySensorTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlarmApplicationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAlarmApplicationManagerStatics { type Vtable = IAlarmApplicationManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAlarmApplicationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlarmApplicationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca03fa3b_cce6_4de2_b09b_9628bd33bbbe); } @@ -73,15 +61,11 @@ pub struct IAlarmApplicationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastTrigger { type Vtable = IAppBroadcastTrigger_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74d4f496_8d37_44ec_9481_2a0b9854eb48); } @@ -94,15 +78,11 @@ pub struct IAppBroadcastTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastTriggerFactory { type Vtable = IAppBroadcastTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x280b9f44_22f4_4618_a02e_e7e411eb7238); } @@ -114,15 +94,11 @@ pub struct IAppBroadcastTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastTriggerProviderInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastTriggerProviderInfo { type Vtable = IAppBroadcastTriggerProviderInfo_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastTriggerProviderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastTriggerProviderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf219352d_9de8_4420_9ce2_5eff8f17376b); } @@ -151,15 +127,11 @@ pub struct IAppBroadcastTriggerProviderInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationTrigger { type Vtable = IApplicationTrigger_Vtbl; } -impl ::core::clone::Clone for IApplicationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b468630_9574_492c_9e93_1a3ae6335fe9); } @@ -178,15 +150,11 @@ pub struct IApplicationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationTriggerDetails { type Vtable = IApplicationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IApplicationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dc6ab2_2219_4a9e_9c5e_41d047f76e82); } @@ -201,15 +169,11 @@ pub struct IApplicationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppointmentStoreNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppointmentStoreNotificationTrigger { type Vtable = IAppointmentStoreNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IAppointmentStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppointmentStoreNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64d4040c_c201_42ad_aa2a_e21ba3425b6d); } @@ -220,31 +184,16 @@ pub struct IAppointmentStoreNotificationTrigger_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCondition(::windows_core::IUnknown); impl IBackgroundCondition {} ::windows_core::imp::interface_hierarchy!(IBackgroundCondition, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCondition {} -impl ::core::fmt::Debug for IBackgroundCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCondition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundCondition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ae48a1ee-8951-400a-8302-9c9c9a2a3a3b}"); } unsafe impl ::windows_core::Interface for IBackgroundCondition { type Vtable = IBackgroundCondition_Vtbl; } -impl ::core::clone::Clone for IBackgroundCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae48a1ee_8951_400a_8302_9c9c9a2a3a3b); } @@ -255,15 +204,11 @@ pub struct IBackgroundCondition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundExecutionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundExecutionManagerStatics { type Vtable = IBackgroundExecutionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IBackgroundExecutionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundExecutionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe826ea58_66a9_4d41_83d4_b4c18c87b846); } @@ -286,15 +231,11 @@ pub struct IBackgroundExecutionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundExecutionManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundExecutionManagerStatics2 { type Vtable = IBackgroundExecutionManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IBackgroundExecutionManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundExecutionManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x469b24ef_9bbb_4e18_999a_fd6512931be9); } @@ -309,15 +250,11 @@ pub struct IBackgroundExecutionManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundExecutionManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundExecutionManagerStatics3 { type Vtable = IBackgroundExecutionManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IBackgroundExecutionManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundExecutionManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98a5d3f6_5a25_5b6c_9192_d77a43dfedc4); } @@ -334,6 +271,7 @@ pub struct IBackgroundExecutionManagerStatics3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTask(::windows_core::IUnknown); impl IBackgroundTask { pub fn Run(&self, taskinstance: P0) -> ::windows_core::Result<()> @@ -345,28 +283,12 @@ impl IBackgroundTask { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTask, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTask {} -impl ::core::fmt::Debug for IBackgroundTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{7d13d534-fd12-43ce-8c22-ea1ff13c06df}"); } unsafe impl ::windows_core::Interface for IBackgroundTask { type Vtable = IBackgroundTask_Vtbl; } -impl ::core::clone::Clone for IBackgroundTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d13d534_fd12_43ce_8c22_ea1ff13c06df); } @@ -378,15 +300,11 @@ pub struct IBackgroundTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskBuilder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskBuilder { type Vtable = IBackgroundTaskBuilder_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0351550e_3e64_4572_a93a_84075a37c917); } @@ -404,15 +322,11 @@ pub struct IBackgroundTaskBuilder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskBuilder2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskBuilder2 { type Vtable = IBackgroundTaskBuilder2_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskBuilder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskBuilder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ae7cfb1_104f_406d_8db6_844a570f42bb); } @@ -425,15 +339,11 @@ pub struct IBackgroundTaskBuilder2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskBuilder3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskBuilder3 { type Vtable = IBackgroundTaskBuilder3_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskBuilder3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskBuilder3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28c74f4a_8ba9_4c09_a24f_19683e2c924c); } @@ -446,15 +356,11 @@ pub struct IBackgroundTaskBuilder3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskBuilder4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskBuilder4 { type Vtable = IBackgroundTaskBuilder4_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskBuilder4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskBuilder4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4755e522_cba2_4e35_bd16_a6da7f1c19aa); } @@ -467,15 +373,11 @@ pub struct IBackgroundTaskBuilder4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskBuilder5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskBuilder5 { type Vtable = IBackgroundTaskBuilder5_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskBuilder5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskBuilder5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x077103f6_99f5_4af4_bcad_4731d0330d43); } @@ -487,15 +389,11 @@ pub struct IBackgroundTaskBuilder5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskCompletedEventArgs { type Vtable = IBackgroundTaskCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x565d25cf_f209_48f4_9967_2b184f7bfbf0); } @@ -508,15 +406,11 @@ pub struct IBackgroundTaskCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskDeferral { type Vtable = IBackgroundTaskDeferral_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93cc156d_af27_4dd3_846e_24ee40cadd25); } @@ -528,6 +422,7 @@ pub struct IBackgroundTaskDeferral_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskInstance(::windows_core::IUnknown); impl IBackgroundTaskInstance { pub fn InstanceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -596,28 +491,12 @@ impl IBackgroundTaskInstance { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTaskInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskInstance {} -impl ::core::fmt::Debug for IBackgroundTaskInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskInstance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskInstance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{865bda7a-21d8-4573-8f32-928a1b0641f6}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskInstance { type Vtable = IBackgroundTaskInstance_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x865bda7a_21d8_4573_8f32_928a1b0641f6); } @@ -643,6 +522,7 @@ pub struct IBackgroundTaskInstance_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskInstance2(::windows_core::IUnknown); impl IBackgroundTaskInstance2 { pub fn GetThrottleCount(&self, counter: BackgroundTaskThrottleCounter) -> ::windows_core::Result { @@ -719,28 +599,12 @@ impl IBackgroundTaskInstance2 { } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBackgroundTaskInstance2 {} -impl ::core::cmp::PartialEq for IBackgroundTaskInstance2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskInstance2 {} -impl ::core::fmt::Debug for IBackgroundTaskInstance2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskInstance2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskInstance2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4f7d0176-0c76-4fb4-896d-5de1864122f6}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskInstance2 { type Vtable = IBackgroundTaskInstance2_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskInstance2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskInstance2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f7d0176_0c76_4fb4_896d_5de1864122f6); } @@ -752,6 +616,7 @@ pub struct IBackgroundTaskInstance2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskInstance4(::windows_core::IUnknown); impl IBackgroundTaskInstance4 { #[doc = "*Required features: `\"System\"`*"] @@ -830,28 +695,12 @@ impl IBackgroundTaskInstance4 { } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance4, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBackgroundTaskInstance4 {} -impl ::core::cmp::PartialEq for IBackgroundTaskInstance4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskInstance4 {} -impl ::core::fmt::Debug for IBackgroundTaskInstance4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskInstance4").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskInstance4 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{7f29f23c-aa04-4b08-97b0-06d874cdabf5}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskInstance4 { type Vtable = IBackgroundTaskInstance4_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskInstance4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskInstance4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f29f23c_aa04_4b08_97b0_06d874cdabf5); } @@ -866,15 +715,11 @@ pub struct IBackgroundTaskInstance4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskProgressEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskProgressEventArgs { type Vtable = IBackgroundTaskProgressEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskProgressEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskProgressEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb1468ac_8332_4d0a_9532_03eae684da31); } @@ -887,6 +732,7 @@ pub struct IBackgroundTaskProgressEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistration(::windows_core::IUnknown); impl IBackgroundTaskRegistration { pub fn TaskId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -945,28 +791,12 @@ impl IBackgroundTaskRegistration { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTaskRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskRegistration {} -impl ::core::fmt::Debug for IBackgroundTaskRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskRegistration { type Vtable = IBackgroundTaskRegistration_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10654cc2_a26e_43bf_8c12_1fb40dbfbfa0); } @@ -996,6 +826,7 @@ pub struct IBackgroundTaskRegistration_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistration2(::windows_core::IUnknown); impl IBackgroundTaskRegistration2 { pub fn Trigger(&self) -> ::windows_core::Result { @@ -1062,28 +893,12 @@ impl IBackgroundTaskRegistration2 { } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBackgroundTaskRegistration2 {} -impl ::core::cmp::PartialEq for IBackgroundTaskRegistration2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskRegistration2 {} -impl ::core::fmt::Debug for IBackgroundTaskRegistration2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskRegistration2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskRegistration2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6138c703-bb86-4112-afc3-7f939b166e3b}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskRegistration2 { type Vtable = IBackgroundTaskRegistration2_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6138c703_bb86_4112_afc3_7f939b166e3b); } @@ -1095,6 +910,7 @@ pub struct IBackgroundTaskRegistration2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistration3(::windows_core::IUnknown); impl IBackgroundTaskRegistration3 { pub fn TaskGroup(&self) -> ::windows_core::Result { @@ -1161,28 +977,12 @@ impl IBackgroundTaskRegistration3 { } ::windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration3, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBackgroundTaskRegistration3 {} -impl ::core::cmp::PartialEq for IBackgroundTaskRegistration3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTaskRegistration3 {} -impl ::core::fmt::Debug for IBackgroundTaskRegistration3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTaskRegistration3").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTaskRegistration3 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fe338195-9423-4d8b-830d-b1dd2c7badd5}"); } unsafe impl ::windows_core::Interface for IBackgroundTaskRegistration3 { type Vtable = IBackgroundTaskRegistration3_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistration3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistration3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe338195_9423_4d8b_830d_b1dd2c7badd5); } @@ -1194,15 +994,11 @@ pub struct IBackgroundTaskRegistration3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistrationGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskRegistrationGroup { type Vtable = IBackgroundTaskRegistrationGroup_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistrationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistrationGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ab1919a_871b_4167_8a76_055cd67b5b23); } @@ -1227,15 +1023,11 @@ pub struct IBackgroundTaskRegistrationGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistrationGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskRegistrationGroupFactory { type Vtable = IBackgroundTaskRegistrationGroupFactory_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistrationGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistrationGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83d92b69_44cf_4631_9740_03c7d8741bc5); } @@ -1248,15 +1040,11 @@ pub struct IBackgroundTaskRegistrationGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistrationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskRegistrationStatics { type Vtable = IBackgroundTaskRegistrationStatics_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistrationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistrationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c542f69_b000_42ba_a093_6a563c65e3f8); } @@ -1271,15 +1059,11 @@ pub struct IBackgroundTaskRegistrationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTaskRegistrationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTaskRegistrationStatics2 { type Vtable = IBackgroundTaskRegistrationStatics2_Vtbl; } -impl ::core::clone::Clone for IBackgroundTaskRegistrationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTaskRegistrationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x174b671e_b20d_4fa9_ad9a_e93ad6c71e01); } @@ -1295,31 +1079,16 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTrigger(::windows_core::IUnknown); impl IBackgroundTrigger {} ::windows_core::imp::interface_hierarchy!(IBackgroundTrigger, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTrigger {} -impl ::core::fmt::Debug for IBackgroundTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{84b3a058-6027-4b87-9790-bdf3f757dbd7}"); } unsafe impl ::windows_core::Interface for IBackgroundTrigger { type Vtable = IBackgroundTrigger_Vtbl; } -impl ::core::clone::Clone for IBackgroundTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84b3a058_6027_4b87_9790_bdf3f757dbd7); } @@ -1330,15 +1099,11 @@ pub struct IBackgroundTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundWorkCostStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundWorkCostStatics { type Vtable = IBackgroundWorkCostStatics_Vtbl; } -impl ::core::clone::Clone for IBackgroundWorkCostStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundWorkCostStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc740a662_c310_4b82_b3e3_3bcfb9e4c77d); } @@ -1350,15 +1115,11 @@ pub struct IBackgroundWorkCostStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherTrigger { type Vtable = IBluetoothLEAdvertisementPublisherTrigger_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab3e2612_25d3_48ae_8724_d81877ae6129); } @@ -1373,15 +1134,11 @@ pub struct IBluetoothLEAdvertisementPublisherTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherTrigger2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherTrigger2 { type Vtable = IBluetoothLEAdvertisementPublisherTrigger2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherTrigger2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherTrigger2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa28d064_38f4_597d_b597_4e55588c6503); } @@ -1406,15 +1163,11 @@ pub struct IBluetoothLEAdvertisementPublisherTrigger2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcherTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcherTrigger { type Vtable = IBluetoothLEAdvertisementWatcherTrigger_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcherTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1aab1819_bce1_48eb_a827_59fb7cee52a6); } @@ -1457,15 +1210,11 @@ pub struct IBluetoothLEAdvertisementWatcherTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcherTrigger2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcherTrigger2 { type Vtable = IBluetoothLEAdvertisementWatcherTrigger2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcherTrigger2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcherTrigger2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39b56799_eb39_5ab6_9932_aa9e4549604d); } @@ -1478,15 +1227,11 @@ pub struct IBluetoothLEAdvertisementWatcherTrigger2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileUpdaterTrigger { type Vtable = ICachedFileUpdaterTrigger_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe21caeeb_32f2_4d31_b553_b9e01bde37e0); } @@ -1497,15 +1242,11 @@ pub struct ICachedFileUpdaterTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileUpdaterTriggerDetails { type Vtable = ICachedFileUpdaterTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71838c13_1314_47b4_9597_dc7e248c17cc); } @@ -1525,15 +1266,11 @@ pub struct ICachedFileUpdaterTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageNotificationTrigger { type Vtable = IChatMessageNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IChatMessageNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x513b43bf_1d40_5c5d_78f5_c923fee3739e); } @@ -1544,15 +1281,11 @@ pub struct IChatMessageNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageReceivedNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageReceivedNotificationTrigger { type Vtable = IChatMessageReceivedNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IChatMessageReceivedNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageReceivedNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ea3760e_baf5_4077_88e9_060cf6f0c6d5); } @@ -1563,15 +1296,11 @@ pub struct IChatMessageReceivedNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommunicationBlockingAppSetAsActiveTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICommunicationBlockingAppSetAsActiveTrigger { type Vtable = ICommunicationBlockingAppSetAsActiveTrigger_Vtbl; } -impl ::core::clone::Clone for ICommunicationBlockingAppSetAsActiveTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommunicationBlockingAppSetAsActiveTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb91f28a_16a5_486d_974c_7835a8477be2); } @@ -1582,15 +1311,11 @@ pub struct ICommunicationBlockingAppSetAsActiveTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStoreNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStoreNotificationTrigger { type Vtable = IContactStoreNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IContactStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStoreNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc833419b_4705_4571_9a16_06b997bf9c96); } @@ -1601,15 +1326,11 @@ pub struct IContactStoreNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentPrefetchTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentPrefetchTrigger { type Vtable = IContentPrefetchTrigger_Vtbl; } -impl ::core::clone::Clone for IContentPrefetchTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentPrefetchTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x710627ee_04fa_440b_80c0_173202199e5d); } @@ -1624,15 +1345,11 @@ pub struct IContentPrefetchTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentPrefetchTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentPrefetchTriggerFactory { type Vtable = IContentPrefetchTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IContentPrefetchTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentPrefetchTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2643eda_8a03_409e_b8c4_88814c28ccb6); } @@ -1647,15 +1364,11 @@ pub struct IContentPrefetchTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSystemEventTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSystemEventTrigger { type Vtable = ICustomSystemEventTrigger_Vtbl; } -impl ::core::clone::Clone for ICustomSystemEventTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSystemEventTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3596798_cf6b_4ef4_a0ca_29cf4a278c87); } @@ -1668,15 +1381,11 @@ pub struct ICustomSystemEventTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSystemEventTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSystemEventTriggerFactory { type Vtable = ICustomSystemEventTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ICustomSystemEventTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSystemEventTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bcb16c5_f2dc_41b2_9efd_b96bdcd13ced); } @@ -1688,15 +1397,11 @@ pub struct ICustomSystemEventTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceConnectionChangeTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceConnectionChangeTrigger { type Vtable = IDeviceConnectionChangeTrigger_Vtbl; } -impl ::core::clone::Clone for IDeviceConnectionChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceConnectionChangeTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90875e64_3cdd_4efb_ab1c_5b3b6a60ce34); } @@ -1711,15 +1416,11 @@ pub struct IDeviceConnectionChangeTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceConnectionChangeTriggerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceConnectionChangeTriggerStatics { type Vtable = IDeviceConnectionChangeTriggerStatics_Vtbl; } -impl ::core::clone::Clone for IDeviceConnectionChangeTriggerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceConnectionChangeTriggerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3ea246a_4efd_4498_aa60_a4e4e3b17ab9); } @@ -1735,18 +1436,13 @@ pub struct IDeviceConnectionChangeTriggerStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceManufacturerNotificationTrigger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IDeviceManufacturerNotificationTrigger { type Vtable = IDeviceManufacturerNotificationTrigger_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IDeviceManufacturerNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IDeviceManufacturerNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81278ab5_41ab_16da_86c2_7f7bf0912f5b); } @@ -1767,18 +1463,13 @@ pub struct IDeviceManufacturerNotificationTrigger_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceManufacturerNotificationTriggerFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IDeviceManufacturerNotificationTriggerFactory { type Vtable = IDeviceManufacturerNotificationTriggerFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IDeviceManufacturerNotificationTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IDeviceManufacturerNotificationTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7955de75_25bb_4153_a1a2_3029fcabb652); } @@ -1794,15 +1485,11 @@ pub struct IDeviceManufacturerNotificationTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceServicingTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceServicingTrigger { type Vtable = IDeviceServicingTrigger_Vtbl; } -impl ::core::clone::Clone for IDeviceServicingTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceServicingTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ab217ad_6e34_49d3_9e6f_17f1b6dfa881); } @@ -1821,15 +1508,11 @@ pub struct IDeviceServicingTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceUseTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceUseTrigger { type Vtable = IDeviceUseTrigger_Vtbl; } -impl ::core::clone::Clone for IDeviceUseTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceUseTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0da68011_334f_4d57_b6ec_6dca64b412e4); } @@ -1848,15 +1531,11 @@ pub struct IDeviceUseTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceWatcherTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceWatcherTrigger { type Vtable = IDeviceWatcherTrigger_Vtbl; } -impl ::core::clone::Clone for IDeviceWatcherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceWatcherTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4617fdd_8573_4260_befc_5bec89cb693d); } @@ -1867,15 +1546,11 @@ pub struct IDeviceWatcherTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailStoreNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailStoreNotificationTrigger { type Vtable = IEmailStoreNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IEmailStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailStoreNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x986d06da_47eb_4268_a4f2_f3f77188388a); } @@ -1886,15 +1561,11 @@ pub struct IEmailStoreNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTrigger { type Vtable = IGattCharacteristicNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe25f8fc8_0696_474f_a732_f292b0cebc5d); } @@ -1909,15 +1580,11 @@ pub struct IGattCharacteristicNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTrigger2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTrigger2 { type Vtable = IGattCharacteristicNotificationTrigger2_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTrigger2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTrigger2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9322a2c4_ae0e_42f2_b28c_f51372e69245); } @@ -1932,15 +1599,11 @@ pub struct IGattCharacteristicNotificationTrigger2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTriggerFactory { type Vtable = IGattCharacteristicNotificationTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57ba1995_b143_4575_9f6b_fd59d93ace1a); } @@ -1955,15 +1618,11 @@ pub struct IGattCharacteristicNotificationTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTriggerFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTriggerFactory2 { type Vtable = IGattCharacteristicNotificationTriggerFactory2_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTriggerFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTriggerFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5998e91f_8a53_4e9f_a32c_23cd33664cee); } @@ -1978,15 +1637,11 @@ pub struct IGattCharacteristicNotificationTriggerFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderTrigger { type Vtable = IGattServiceProviderTrigger_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddc6a3e9_1557_4bd8_8542_468aa0c696f6); } @@ -2010,15 +1665,11 @@ pub struct IGattServiceProviderTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderTriggerResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderTriggerResult { type Vtable = IGattServiceProviderTriggerResult_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderTriggerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderTriggerResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c4691b1_b198_4e84_bad4_cf4ad299ed3a); } @@ -2034,15 +1685,11 @@ pub struct IGattServiceProviderTriggerResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderTriggerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderTriggerStatics { type Vtable = IGattServiceProviderTriggerStatics_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderTriggerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderTriggerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb413a36a_e294_4591_a5a6_64891a828153); } @@ -2057,15 +1704,11 @@ pub struct IGattServiceProviderTriggerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisitTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisitTrigger { type Vtable = IGeovisitTrigger_Vtbl; } -impl ::core::clone::Clone for IGeovisitTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisitTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4818edaa_04e1_4127_9a4c_19351b8a80a4); } @@ -2084,15 +1727,11 @@ pub struct IGeovisitTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocationTrigger { type Vtable = ILocationTrigger_Vtbl; } -impl ::core::clone::Clone for ILocationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47666a1c_6877_481e_8026_ff7e14a811a0); } @@ -2104,15 +1743,11 @@ pub struct ILocationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocationTriggerFactory { type Vtable = ILocationTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ILocationTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1106bb07_ff69_4e09_aa8b_1384ea475e98); } @@ -2124,15 +1759,11 @@ pub struct ILocationTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMaintenanceTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMaintenanceTrigger { type Vtable = IMaintenanceTrigger_Vtbl; } -impl ::core::clone::Clone for IMaintenanceTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMaintenanceTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68184c83_fc22_4ce5_841a_7239a9810047); } @@ -2145,15 +1776,11 @@ pub struct IMaintenanceTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMaintenanceTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMaintenanceTriggerFactory { type Vtable = IMaintenanceTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IMaintenanceTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMaintenanceTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b3ddb2e_97dd_4629_88b0_b06cf9482ae5); } @@ -2165,15 +1792,11 @@ pub struct IMaintenanceTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProcessingTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProcessingTrigger { type Vtable = IMediaProcessingTrigger_Vtbl; } -impl ::core::clone::Clone for IMediaProcessingTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProcessingTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a95be65_8a52_4b30_9011_cf38040ea8b0); } @@ -2192,15 +1815,11 @@ pub struct IMediaProcessingTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorHotspotAuthenticationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorHotspotAuthenticationTrigger { type Vtable = INetworkOperatorHotspotAuthenticationTrigger_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorHotspotAuthenticationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorHotspotAuthenticationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_3001_4de5_83c7_de61d88831d0); } @@ -2211,15 +1830,11 @@ pub struct INetworkOperatorHotspotAuthenticationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorNotificationTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorNotificationTrigger { type Vtable = INetworkOperatorNotificationTrigger_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorNotificationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90089cc6_63cd_480c_95d1_6e6aef801e4a); } @@ -2231,15 +1846,11 @@ pub struct INetworkOperatorNotificationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorNotificationTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorNotificationTriggerFactory { type Vtable = INetworkOperatorNotificationTriggerFactory_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorNotificationTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorNotificationTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a223e00_27d7_4353_adb9_9265aaea579d); } @@ -2251,15 +1862,11 @@ pub struct INetworkOperatorNotificationTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneTrigger { type Vtable = IPhoneTrigger_Vtbl; } -impl ::core::clone::Clone for IPhoneTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dcfe99b_d4c5_49f1_b7d3_82e87a0e9dde); } @@ -2275,15 +1882,11 @@ pub struct IPhoneTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneTriggerFactory { type Vtable = IPhoneTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IPhoneTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0d93cda_5fc1_48fb_a546_32262040157b); } @@ -2298,15 +1901,11 @@ pub struct IPhoneTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationTriggerFactory { type Vtable = IPushNotificationTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IPushNotificationTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dd8ed1b_458e_4fc2_bc2e_d5664f77ed19); } @@ -2318,15 +1917,11 @@ pub struct IPushNotificationTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessageAvailableTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessageAvailableTrigger { type Vtable = IRcsEndUserMessageAvailableTrigger_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessageAvailableTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessageAvailableTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x986d0d6a_b2f6_467f_a978_a44091c11a66); } @@ -2337,15 +1932,11 @@ pub struct IRcsEndUserMessageAvailableTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommConnectionTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommConnectionTrigger { type Vtable = IRfcommConnectionTrigger_Vtbl; } -impl ::core::clone::Clone for IRfcommConnectionTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommConnectionTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8c4cae2_0b53_4464_9394_fd875654de64); } @@ -2383,18 +1974,13 @@ pub struct IRfcommConnectionTrigger_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryAuthenticationFactorAuthenticationTrigger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISecondaryAuthenticationFactorAuthenticationTrigger { type Vtable = ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISecondaryAuthenticationFactorAuthenticationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISecondaryAuthenticationFactorAuthenticationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf237f327_5181_4f24_96a7_700a4e5fac62); } @@ -2406,15 +1992,11 @@ pub struct ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorDataThresholdTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISensorDataThresholdTrigger { type Vtable = ISensorDataThresholdTrigger_Vtbl; } -impl ::core::clone::Clone for ISensorDataThresholdTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorDataThresholdTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bc0f372_d48b_4b7f_abec_15f9bacc12e2); } @@ -2425,15 +2007,11 @@ pub struct ISensorDataThresholdTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorDataThresholdTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISensorDataThresholdTriggerFactory { type Vtable = ISensorDataThresholdTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ISensorDataThresholdTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorDataThresholdTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x921fe675_7df0_4da3_97b3_e544ee857fe6); } @@ -2448,15 +2026,11 @@ pub struct ISensorDataThresholdTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardTrigger { type Vtable = ISmartCardTrigger_Vtbl; } -impl ::core::clone::Clone for ISmartCardTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf53bc5ac_84ca_4972_8ce9_e58f97b37a50); } @@ -2471,15 +2045,11 @@ pub struct ISmartCardTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardTriggerFactory { type Vtable = ISmartCardTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ISmartCardTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63bf54c3_89c1_4e00_a9d3_97c629269dad); } @@ -2494,15 +2064,11 @@ pub struct ISmartCardTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageReceivedTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsMessageReceivedTriggerFactory { type Vtable = ISmsMessageReceivedTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ISmsMessageReceivedTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessageReceivedTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea3ad8c8_6ba4_4ab2_8d21_bc6b09c77564); } @@ -2517,15 +2083,11 @@ pub struct ISmsMessageReceivedTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityTrigger { type Vtable = ISocketActivityTrigger_Vtbl; } -impl ::core::clone::Clone for ISocketActivityTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9bbf810_9dde_4f8a_83e3_b0e0e7a50d70); } @@ -2537,15 +2099,11 @@ pub struct ISocketActivityTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeTrackerTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeTrackerTriggerFactory { type Vtable = IStorageLibraryChangeTrackerTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeTrackerTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeTrackerTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1eb0ffd0_5a85_499e_a888_824607124f50); } @@ -2560,15 +2118,11 @@ pub struct IStorageLibraryChangeTrackerTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryContentChangedTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryContentChangedTrigger { type Vtable = IStorageLibraryContentChangedTrigger_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryContentChangedTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryContentChangedTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1637e0a7_829c_45bc_929b_a1e7ea78d89b); } @@ -2579,15 +2133,11 @@ pub struct IStorageLibraryContentChangedTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryContentChangedTriggerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryContentChangedTriggerStatics { type Vtable = IStorageLibraryContentChangedTriggerStatics_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryContentChangedTriggerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryContentChangedTriggerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f9f1b39_5f90_4e12_914e_a7d8e0bbfb18); } @@ -2606,15 +2156,11 @@ pub struct IStorageLibraryContentChangedTriggerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemCondition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemCondition { type Vtable = ISystemCondition_Vtbl; } -impl ::core::clone::Clone for ISystemCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc15fb476_89c5_420b_abd3_fb3030472128); } @@ -2626,15 +2172,11 @@ pub struct ISystemCondition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemConditionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemConditionFactory { type Vtable = ISystemConditionFactory_Vtbl; } -impl ::core::clone::Clone for ISystemConditionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemConditionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd269d1f1_05a7_49ae_87d7_16b2b8b9a553); } @@ -2646,15 +2188,11 @@ pub struct ISystemConditionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemTrigger { type Vtable = ISystemTrigger_Vtbl; } -impl ::core::clone::Clone for ISystemTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d80c776_3748_4463_8d7e_276dc139ac1c); } @@ -2667,15 +2205,11 @@ pub struct ISystemTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemTriggerFactory { type Vtable = ISystemTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ISystemTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe80423d4_8791_4579_8126_87ec8aaa407a); } @@ -2687,15 +2221,11 @@ pub struct ISystemTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeTrigger { type Vtable = ITimeTrigger_Vtbl; } -impl ::core::clone::Clone for ITimeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x656e5556_0b2a_4377_ba70_3b45a935547f); } @@ -2708,15 +2238,11 @@ pub struct ITimeTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeTriggerFactory { type Vtable = ITimeTriggerFactory_Vtbl; } -impl ::core::clone::Clone for ITimeTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38c682fe_9b54_45e6_b2f3_269b87a6f734); } @@ -2728,15 +2254,11 @@ pub struct ITimeTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationActionTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationActionTriggerFactory { type Vtable = IToastNotificationActionTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IToastNotificationActionTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationActionTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb09dfc27_6480_4349_8125_97b3efaa0a3a); } @@ -2748,15 +2270,11 @@ pub struct IToastNotificationActionTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationHistoryChangedTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationHistoryChangedTriggerFactory { type Vtable = IToastNotificationHistoryChangedTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IToastNotificationHistoryChangedTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationHistoryChangedTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81c6faad_8797_4785_81b4_b0cccb73d1d9); } @@ -2768,15 +2286,11 @@ pub struct IToastNotificationHistoryChangedTriggerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotificationChangedTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserNotificationChangedTriggerFactory { type Vtable = IUserNotificationChangedTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IUserNotificationChangedTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotificationChangedTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcad4436c_69ab_4e18_a48a_5ed2ac435957); } @@ -2791,6 +2305,7 @@ pub struct IUserNotificationChangedTriggerFactory_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensorTrigger(::windows_core::IUnknown); impl ActivitySensorTrigger { #[doc = "*Required features: `\"Devices_Sensors\"`, `\"Foundation_Collections\"`*"] @@ -2837,25 +2352,9 @@ impl ActivitySensorTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ActivitySensorTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensorTrigger {} -impl ::core::fmt::Debug for ActivitySensorTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensorTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensorTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ActivitySensorTrigger;{d0dd4342-e37b-4823-a5fe-6b31dfefdeb0})"); } -impl ::core::clone::Clone for ActivitySensorTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensorTrigger { type Vtable = IActivitySensorTrigger_Vtbl; } @@ -2897,6 +2396,7 @@ impl ::windows_core::RuntimeName for AlarmApplicationManager { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastTrigger(::windows_core::IUnknown); impl AppBroadcastTrigger { pub fn SetProviderInfo(&self, value: P0) -> ::windows_core::Result<()> @@ -2925,25 +2425,9 @@ impl AppBroadcastTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppBroadcastTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastTrigger {} -impl ::core::fmt::Debug for AppBroadcastTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTrigger;{74d4f496-8d37-44ec-9481-2a0b9854eb48})"); } -impl ::core::clone::Clone for AppBroadcastTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastTrigger { type Vtable = IAppBroadcastTrigger_Vtbl; } @@ -2959,6 +2443,7 @@ unsafe impl ::core::marker::Send for AppBroadcastTrigger {} unsafe impl ::core::marker::Sync for AppBroadcastTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastTriggerProviderInfo(::windows_core::IUnknown); impl AppBroadcastTriggerProviderInfo { pub fn SetDisplayNameResource(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -3032,25 +2517,9 @@ impl AppBroadcastTriggerProviderInfo { } } } -impl ::core::cmp::PartialEq for AppBroadcastTriggerProviderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastTriggerProviderInfo {} -impl ::core::fmt::Debug for AppBroadcastTriggerProviderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastTriggerProviderInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastTriggerProviderInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo;{f219352d-9de8-4420-9ce2-5eff8f17376b})"); } -impl ::core::clone::Clone for AppBroadcastTriggerProviderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastTriggerProviderInfo { type Vtable = IAppBroadcastTriggerProviderInfo_Vtbl; } @@ -3065,6 +2534,7 @@ unsafe impl ::core::marker::Send for AppBroadcastTriggerProviderInfo {} unsafe impl ::core::marker::Sync for AppBroadcastTriggerProviderInfo {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationTrigger(::windows_core::IUnknown); impl ApplicationTrigger { pub fn new() -> ::windows_core::Result { @@ -3096,25 +2566,9 @@ impl ApplicationTrigger { } } } -impl ::core::cmp::PartialEq for ApplicationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationTrigger {} -impl ::core::fmt::Debug for ApplicationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTrigger;{0b468630-9574-492c-9e93-1a3ae6335fe9})"); } -impl ::core::clone::Clone for ApplicationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationTrigger { type Vtable = IApplicationTrigger_Vtbl; } @@ -3130,6 +2584,7 @@ unsafe impl ::core::marker::Send for ApplicationTrigger {} unsafe impl ::core::marker::Sync for ApplicationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationTriggerDetails(::windows_core::IUnknown); impl ApplicationTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3142,25 +2597,9 @@ impl ApplicationTriggerDetails { } } } -impl ::core::cmp::PartialEq for ApplicationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationTriggerDetails {} -impl ::core::fmt::Debug for ApplicationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ApplicationTriggerDetails;{97dc6ab2-2219-4a9e-9c5e-41d047f76e82})"); } -impl ::core::clone::Clone for ApplicationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationTriggerDetails { type Vtable = IApplicationTriggerDetails_Vtbl; } @@ -3175,6 +2614,7 @@ unsafe impl ::core::marker::Send for ApplicationTriggerDetails {} unsafe impl ::core::marker::Sync for ApplicationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppointmentStoreNotificationTrigger(::windows_core::IUnknown); impl AppointmentStoreNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -3185,25 +2625,9 @@ impl AppointmentStoreNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppointmentStoreNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppointmentStoreNotificationTrigger {} -impl ::core::fmt::Debug for AppointmentStoreNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppointmentStoreNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppointmentStoreNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.AppointmentStoreNotificationTrigger;{64d4040c-c201-42ad-aa2a-e21ba3425b6d})"); } -impl ::core::clone::Clone for AppointmentStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppointmentStoreNotificationTrigger { type Vtable = IAppointmentStoreNotificationTrigger_Vtbl; } @@ -3303,6 +2727,7 @@ impl ::windows_core::RuntimeName for BackgroundExecutionManager { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskBuilder(::windows_core::IUnknown); impl BackgroundTaskBuilder { pub fn new() -> ::windows_core::Result { @@ -3396,25 +2821,9 @@ impl BackgroundTaskBuilder { unsafe { (::windows_core::Interface::vtable(this).SetTaskEntryPointClsid)(::windows_core::Interface::as_raw(this), taskentrypoint).ok() } } } -impl ::core::cmp::PartialEq for BackgroundTaskBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskBuilder {} -impl ::core::fmt::Debug for BackgroundTaskBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskBuilder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskBuilder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskBuilder;{0351550e-3e64-4572-a93a-84075a37c917})"); } -impl ::core::clone::Clone for BackgroundTaskBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskBuilder { type Vtable = IBackgroundTaskBuilder_Vtbl; } @@ -3427,6 +2836,7 @@ impl ::windows_core::RuntimeName for BackgroundTaskBuilder { ::windows_core::imp::interface_hierarchy!(BackgroundTaskBuilder, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskCompletedEventArgs(::windows_core::IUnknown); impl BackgroundTaskCompletedEventArgs { pub fn InstanceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3441,25 +2851,9 @@ impl BackgroundTaskCompletedEventArgs { unsafe { (::windows_core::Interface::vtable(this).CheckResult)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BackgroundTaskCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskCompletedEventArgs {} -impl ::core::fmt::Debug for BackgroundTaskCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs;{565d25cf-f209-48f4-9967-2b184f7bfbf0})"); } -impl ::core::clone::Clone for BackgroundTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskCompletedEventArgs { type Vtable = IBackgroundTaskCompletedEventArgs_Vtbl; } @@ -3474,6 +2868,7 @@ unsafe impl ::core::marker::Send for BackgroundTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for BackgroundTaskCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskDeferral(::windows_core::IUnknown); impl BackgroundTaskDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -3481,25 +2876,9 @@ impl BackgroundTaskDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BackgroundTaskDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskDeferral {} -impl ::core::fmt::Debug for BackgroundTaskDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskDeferral;{93cc156d-af27-4dd3-846e-24ee40cadd25})"); } -impl ::core::clone::Clone for BackgroundTaskDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskDeferral { type Vtable = IBackgroundTaskDeferral_Vtbl; } @@ -3514,6 +2893,7 @@ unsafe impl ::core::marker::Send for BackgroundTaskDeferral {} unsafe impl ::core::marker::Sync for BackgroundTaskDeferral {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskProgressEventArgs(::windows_core::IUnknown); impl BackgroundTaskProgressEventArgs { pub fn InstanceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3531,25 +2911,9 @@ impl BackgroundTaskProgressEventArgs { } } } -impl ::core::cmp::PartialEq for BackgroundTaskProgressEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskProgressEventArgs {} -impl ::core::fmt::Debug for BackgroundTaskProgressEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskProgressEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskProgressEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs;{fb1468ac-8332-4d0a-9532-03eae684da31})"); } -impl ::core::clone::Clone for BackgroundTaskProgressEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskProgressEventArgs { type Vtable = IBackgroundTaskProgressEventArgs_Vtbl; } @@ -3564,6 +2928,7 @@ unsafe impl ::core::marker::Send for BackgroundTaskProgressEventArgs {} unsafe impl ::core::marker::Sync for BackgroundTaskProgressEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskRegistration(::windows_core::IUnknown); impl BackgroundTaskRegistration { pub fn TaskId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3667,25 +3032,9 @@ impl BackgroundTaskRegistration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundTaskRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskRegistration {} -impl ::core::fmt::Debug for BackgroundTaskRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistration;{10654cc2-a26e-43bf-8c12-1fb40dbfbfa0})"); } -impl ::core::clone::Clone for BackgroundTaskRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskRegistration { type Vtable = IBackgroundTaskRegistration_Vtbl; } @@ -3703,6 +3052,7 @@ unsafe impl ::core::marker::Send for BackgroundTaskRegistration {} unsafe impl ::core::marker::Sync for BackgroundTaskRegistration {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskRegistrationGroup(::windows_core::IUnknown); impl BackgroundTaskRegistrationGroup { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3764,25 +3114,9 @@ impl BackgroundTaskRegistrationGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundTaskRegistrationGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskRegistrationGroup {} -impl ::core::fmt::Debug for BackgroundTaskRegistrationGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskRegistrationGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTaskRegistrationGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup;{2ab1919a-871b-4167-8a76-055cd67b5b23})"); } -impl ::core::clone::Clone for BackgroundTaskRegistrationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTaskRegistrationGroup { type Vtable = IBackgroundTaskRegistrationGroup_Vtbl; } @@ -3815,6 +3149,7 @@ impl ::windows_core::RuntimeName for BackgroundWorkCost { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementPublisherTrigger(::windows_core::IUnknown); impl BluetoothLEAdvertisementPublisherTrigger { pub fn new() -> ::windows_core::Result { @@ -3885,25 +3220,9 @@ impl BluetoothLEAdvertisementPublisherTrigger { unsafe { (::windows_core::Interface::vtable(this).SetIncludeTransmitPowerLevel)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementPublisherTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementPublisherTrigger {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementPublisherTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementPublisherTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger;{ab3e2612-25d3-48ae-8724-d81877ae6129})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementPublisherTrigger { type Vtable = IBluetoothLEAdvertisementPublisherTrigger_Vtbl; } @@ -3919,6 +3238,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisherTrigger {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementWatcherTrigger(::windows_core::IUnknown); impl BluetoothLEAdvertisementWatcherTrigger { pub fn new() -> ::windows_core::Result { @@ -4012,25 +3332,9 @@ impl BluetoothLEAdvertisementWatcherTrigger { unsafe { (::windows_core::Interface::vtable(this).SetAllowExtendedAdvertisements)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementWatcherTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementWatcherTrigger {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementWatcherTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementWatcherTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger;{1aab1819-bce1-48eb-a827-59fb7cee52a6})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementWatcherTrigger { type Vtable = IBluetoothLEAdvertisementWatcherTrigger_Vtbl; } @@ -4046,6 +3350,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcherTrigger {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CachedFileUpdaterTrigger(::windows_core::IUnknown); impl CachedFileUpdaterTrigger { pub fn new() -> ::windows_core::Result { @@ -4056,25 +3361,9 @@ impl CachedFileUpdaterTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CachedFileUpdaterTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CachedFileUpdaterTrigger {} -impl ::core::fmt::Debug for CachedFileUpdaterTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CachedFileUpdaterTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CachedFileUpdaterTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTrigger;{e21caeeb-32f2-4d31-b553-b9e01bde37e0})"); } -impl ::core::clone::Clone for CachedFileUpdaterTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CachedFileUpdaterTrigger { type Vtable = ICachedFileUpdaterTrigger_Vtbl; } @@ -4090,6 +3379,7 @@ unsafe impl ::core::marker::Send for CachedFileUpdaterTrigger {} unsafe impl ::core::marker::Sync for CachedFileUpdaterTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CachedFileUpdaterTriggerDetails(::windows_core::IUnknown); impl CachedFileUpdaterTriggerDetails { #[doc = "*Required features: `\"Storage_Provider\"`*"] @@ -4118,25 +3408,9 @@ impl CachedFileUpdaterTriggerDetails { } } } -impl ::core::cmp::PartialEq for CachedFileUpdaterTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CachedFileUpdaterTriggerDetails {} -impl ::core::fmt::Debug for CachedFileUpdaterTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CachedFileUpdaterTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CachedFileUpdaterTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails;{71838c13-1314-47b4-9597-dc7e248c17cc})"); } -impl ::core::clone::Clone for CachedFileUpdaterTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CachedFileUpdaterTriggerDetails { type Vtable = ICachedFileUpdaterTriggerDetails_Vtbl; } @@ -4151,6 +3425,7 @@ unsafe impl ::core::marker::Send for CachedFileUpdaterTriggerDetails {} unsafe impl ::core::marker::Sync for CachedFileUpdaterTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageNotificationTrigger(::windows_core::IUnknown); impl ChatMessageNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -4161,25 +3436,9 @@ impl ChatMessageNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ChatMessageNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageNotificationTrigger {} -impl ::core::fmt::Debug for ChatMessageNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageNotificationTrigger;{513b43bf-1d40-5c5d-78f5-c923fee3739e})"); } -impl ::core::clone::Clone for ChatMessageNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageNotificationTrigger { type Vtable = IChatMessageNotificationTrigger_Vtbl; } @@ -4195,6 +3454,7 @@ unsafe impl ::core::marker::Send for ChatMessageNotificationTrigger {} unsafe impl ::core::marker::Sync for ChatMessageNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageReceivedNotificationTrigger(::windows_core::IUnknown); impl ChatMessageReceivedNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -4205,25 +3465,9 @@ impl ChatMessageReceivedNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ChatMessageReceivedNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageReceivedNotificationTrigger {} -impl ::core::fmt::Debug for ChatMessageReceivedNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageReceivedNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageReceivedNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ChatMessageReceivedNotificationTrigger;{3ea3760e-baf5-4077-88e9-060cf6f0c6d5})"); } -impl ::core::clone::Clone for ChatMessageReceivedNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageReceivedNotificationTrigger { type Vtable = IChatMessageReceivedNotificationTrigger_Vtbl; } @@ -4239,6 +3483,7 @@ unsafe impl ::core::marker::Send for ChatMessageReceivedNotificationTrigger {} unsafe impl ::core::marker::Sync for ChatMessageReceivedNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CommunicationBlockingAppSetAsActiveTrigger(::windows_core::IUnknown); impl CommunicationBlockingAppSetAsActiveTrigger { pub fn new() -> ::windows_core::Result { @@ -4249,25 +3494,9 @@ impl CommunicationBlockingAppSetAsActiveTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CommunicationBlockingAppSetAsActiveTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CommunicationBlockingAppSetAsActiveTrigger {} -impl ::core::fmt::Debug for CommunicationBlockingAppSetAsActiveTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CommunicationBlockingAppSetAsActiveTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CommunicationBlockingAppSetAsActiveTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CommunicationBlockingAppSetAsActiveTrigger;{fb91f28a-16a5-486d-974c-7835a8477be2})"); } -impl ::core::clone::Clone for CommunicationBlockingAppSetAsActiveTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CommunicationBlockingAppSetAsActiveTrigger { type Vtable = ICommunicationBlockingAppSetAsActiveTrigger_Vtbl; } @@ -4283,6 +3512,7 @@ unsafe impl ::core::marker::Send for CommunicationBlockingAppSetAsActiveTrigger unsafe impl ::core::marker::Sync for CommunicationBlockingAppSetAsActiveTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactStoreNotificationTrigger(::windows_core::IUnknown); impl ContactStoreNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -4293,25 +3523,9 @@ impl ContactStoreNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactStoreNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactStoreNotificationTrigger {} -impl ::core::fmt::Debug for ContactStoreNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactStoreNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactStoreNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContactStoreNotificationTrigger;{c833419b-4705-4571-9a16-06b997bf9c96})"); } -impl ::core::clone::Clone for ContactStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactStoreNotificationTrigger { type Vtable = IContactStoreNotificationTrigger_Vtbl; } @@ -4327,6 +3541,7 @@ unsafe impl ::core::marker::Send for ContactStoreNotificationTrigger {} unsafe impl ::core::marker::Sync for ContactStoreNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContentPrefetchTrigger(::windows_core::IUnknown); impl ContentPrefetchTrigger { pub fn new() -> ::windows_core::Result { @@ -4359,25 +3574,9 @@ impl ContentPrefetchTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContentPrefetchTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContentPrefetchTrigger {} -impl ::core::fmt::Debug for ContentPrefetchTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContentPrefetchTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContentPrefetchTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ContentPrefetchTrigger;{710627ee-04fa-440b-80c0-173202199e5d})"); } -impl ::core::clone::Clone for ContentPrefetchTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContentPrefetchTrigger { type Vtable = IContentPrefetchTrigger_Vtbl; } @@ -4391,6 +3590,7 @@ impl ::windows_core::RuntimeName for ContentPrefetchTrigger { impl ::windows_core::CanTryInto for ContentPrefetchTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentTrigger(::windows_core::IUnknown); impl ConversationalAgentTrigger { pub fn new() -> ::windows_core::Result { @@ -4401,25 +3601,9 @@ impl ConversationalAgentTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ConversationalAgentTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentTrigger {} -impl ::core::fmt::Debug for ConversationalAgentTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ConversationalAgentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for ConversationalAgentTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -4433,6 +3617,7 @@ impl ::windows_core::RuntimeName for ConversationalAgentTrigger { impl ::windows_core::CanTryInto for ConversationalAgentTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CustomSystemEventTrigger(::windows_core::IUnknown); impl CustomSystemEventTrigger { pub fn TriggerId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4461,25 +3646,9 @@ impl CustomSystemEventTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CustomSystemEventTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CustomSystemEventTrigger {} -impl ::core::fmt::Debug for CustomSystemEventTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CustomSystemEventTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CustomSystemEventTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.CustomSystemEventTrigger;{f3596798-cf6b-4ef4-a0ca-29cf4a278c87})"); } -impl ::core::clone::Clone for CustomSystemEventTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CustomSystemEventTrigger { type Vtable = ICustomSystemEventTrigger_Vtbl; } @@ -4493,6 +3662,7 @@ impl ::windows_core::RuntimeName for CustomSystemEventTrigger { impl ::windows_core::CanTryInto for CustomSystemEventTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceConnectionChangeTrigger(::windows_core::IUnknown); impl DeviceConnectionChangeTrigger { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4534,25 +3704,9 @@ impl DeviceConnectionChangeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DeviceConnectionChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceConnectionChangeTrigger {} -impl ::core::fmt::Debug for DeviceConnectionChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceConnectionChangeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceConnectionChangeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger;{90875e64-3cdd-4efb-ab1c-5b3b6a60ce34})"); } -impl ::core::clone::Clone for DeviceConnectionChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceConnectionChangeTrigger { type Vtable = IDeviceConnectionChangeTrigger_Vtbl; } @@ -4569,6 +3723,7 @@ unsafe impl ::core::marker::Sync for DeviceConnectionChangeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceManufacturerNotificationTrigger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl DeviceManufacturerNotificationTrigger { @@ -4606,30 +3761,10 @@ impl DeviceManufacturerNotificationTrigger { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for DeviceManufacturerNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for DeviceManufacturerNotificationTrigger {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for DeviceManufacturerNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceManufacturerNotificationTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for DeviceManufacturerNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger;{81278ab5-41ab-16da-86c2-7f7bf0912f5b})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for DeviceManufacturerNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for DeviceManufacturerNotificationTrigger { type Vtable = IDeviceManufacturerNotificationTrigger_Vtbl; } @@ -4647,6 +3782,7 @@ impl ::windows_core::RuntimeName for DeviceManufacturerNotificationTrigger { impl ::windows_core::CanTryInto for DeviceManufacturerNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceServicingTrigger(::windows_core::IUnknown); impl DeviceServicingTrigger { pub fn new() -> ::windows_core::Result { @@ -4675,25 +3811,9 @@ impl DeviceServicingTrigger { } } } -impl ::core::cmp::PartialEq for DeviceServicingTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceServicingTrigger {} -impl ::core::fmt::Debug for DeviceServicingTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceServicingTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceServicingTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceServicingTrigger;{1ab217ad-6e34-49d3-9e6f-17f1b6dfa881})"); } -impl ::core::clone::Clone for DeviceServicingTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceServicingTrigger { type Vtable = IDeviceServicingTrigger_Vtbl; } @@ -4709,6 +3829,7 @@ unsafe impl ::core::marker::Send for DeviceServicingTrigger {} unsafe impl ::core::marker::Sync for DeviceServicingTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceUseTrigger(::windows_core::IUnknown); impl DeviceUseTrigger { pub fn new() -> ::windows_core::Result { @@ -4737,25 +3858,9 @@ impl DeviceUseTrigger { } } } -impl ::core::cmp::PartialEq for DeviceUseTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceUseTrigger {} -impl ::core::fmt::Debug for DeviceUseTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceUseTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceUseTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceUseTrigger;{0da68011-334f-4d57-b6ec-6dca64b412e4})"); } -impl ::core::clone::Clone for DeviceUseTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceUseTrigger { type Vtable = IDeviceUseTrigger_Vtbl; } @@ -4771,27 +3876,12 @@ unsafe impl ::core::marker::Send for DeviceUseTrigger {} unsafe impl ::core::marker::Sync for DeviceUseTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceWatcherTrigger(::windows_core::IUnknown); impl DeviceWatcherTrigger {} -impl ::core::cmp::PartialEq for DeviceWatcherTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceWatcherTrigger {} -impl ::core::fmt::Debug for DeviceWatcherTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceWatcherTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceWatcherTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.DeviceWatcherTrigger;{a4617fdd-8573-4260-befc-5bec89cb693d})"); } -impl ::core::clone::Clone for DeviceWatcherTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceWatcherTrigger { type Vtable = IDeviceWatcherTrigger_Vtbl; } @@ -4805,6 +3895,7 @@ impl ::windows_core::RuntimeName for DeviceWatcherTrigger { impl ::windows_core::CanTryInto for DeviceWatcherTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailStoreNotificationTrigger(::windows_core::IUnknown); impl EmailStoreNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -4815,25 +3906,9 @@ impl EmailStoreNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailStoreNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailStoreNotificationTrigger {} -impl ::core::fmt::Debug for EmailStoreNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailStoreNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailStoreNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.EmailStoreNotificationTrigger;{986d06da-47eb-4268-a4f2-f3f77188388a})"); } -impl ::core::clone::Clone for EmailStoreNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailStoreNotificationTrigger { type Vtable = IEmailStoreNotificationTrigger_Vtbl; } @@ -4849,6 +3924,7 @@ unsafe impl ::core::marker::Send for EmailStoreNotificationTrigger {} unsafe impl ::core::marker::Sync for EmailStoreNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattCharacteristicNotificationTrigger(::windows_core::IUnknown); impl GattCharacteristicNotificationTrigger { #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -4902,25 +3978,9 @@ impl GattCharacteristicNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattCharacteristicNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattCharacteristicNotificationTrigger {} -impl ::core::fmt::Debug for GattCharacteristicNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattCharacteristicNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattCharacteristicNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger;{e25f8fc8-0696-474f-a732-f292b0cebc5d})"); } -impl ::core::clone::Clone for GattCharacteristicNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattCharacteristicNotificationTrigger { type Vtable = IGattCharacteristicNotificationTrigger_Vtbl; } @@ -4936,6 +3996,7 @@ unsafe impl ::core::marker::Send for GattCharacteristicNotificationTrigger {} unsafe impl ::core::marker::Sync for GattCharacteristicNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderTrigger(::windows_core::IUnknown); impl GattServiceProviderTrigger { pub fn TriggerId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4986,25 +4047,9 @@ impl GattServiceProviderTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattServiceProviderTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderTrigger {} -impl ::core::fmt::Debug for GattServiceProviderTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTrigger;{ddc6a3e9-1557-4bd8-8542-468aa0c696f6})"); } -impl ::core::clone::Clone for GattServiceProviderTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderTrigger { type Vtable = IGattServiceProviderTrigger_Vtbl; } @@ -5020,6 +4065,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderTrigger {} unsafe impl ::core::marker::Sync for GattServiceProviderTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderTriggerResult(::windows_core::IUnknown); impl GattServiceProviderTriggerResult { pub fn Trigger(&self) -> ::windows_core::Result { @@ -5039,25 +4085,9 @@ impl GattServiceProviderTriggerResult { } } } -impl ::core::cmp::PartialEq for GattServiceProviderTriggerResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderTriggerResult {} -impl ::core::fmt::Debug for GattServiceProviderTriggerResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderTriggerResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderTriggerResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GattServiceProviderTriggerResult;{3c4691b1-b198-4e84-bad4-cf4ad299ed3a})"); } -impl ::core::clone::Clone for GattServiceProviderTriggerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderTriggerResult { type Vtable = IGattServiceProviderTriggerResult_Vtbl; } @@ -5072,6 +4102,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderTriggerResult {} unsafe impl ::core::marker::Sync for GattServiceProviderTriggerResult {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeovisitTrigger(::windows_core::IUnknown); impl GeovisitTrigger { pub fn new() -> ::windows_core::Result { @@ -5097,25 +4128,9 @@ impl GeovisitTrigger { unsafe { (::windows_core::Interface::vtable(this).SetMonitoringScope)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for GeovisitTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeovisitTrigger {} -impl ::core::fmt::Debug for GeovisitTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeovisitTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeovisitTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.GeovisitTrigger;{4818edaa-04e1-4127-9a4c-19351b8a80a4})"); } -impl ::core::clone::Clone for GeovisitTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeovisitTrigger { type Vtable = IGeovisitTrigger_Vtbl; } @@ -5131,6 +4146,7 @@ unsafe impl ::core::marker::Send for GeovisitTrigger {} unsafe impl ::core::marker::Sync for GeovisitTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocationTrigger(::windows_core::IUnknown); impl LocationTrigger { pub fn TriggerType(&self) -> ::windows_core::Result { @@ -5152,25 +4168,9 @@ impl LocationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LocationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocationTrigger {} -impl ::core::fmt::Debug for LocationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.LocationTrigger;{47666a1c-6877-481e-8026-ff7e14a811a0})"); } -impl ::core::clone::Clone for LocationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocationTrigger { type Vtable = ILocationTrigger_Vtbl; } @@ -5186,6 +4186,7 @@ unsafe impl ::core::marker::Send for LocationTrigger {} unsafe impl ::core::marker::Sync for LocationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MaintenanceTrigger(::windows_core::IUnknown); impl MaintenanceTrigger { pub fn FreshnessTime(&self) -> ::windows_core::Result { @@ -5214,25 +4215,9 @@ impl MaintenanceTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MaintenanceTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MaintenanceTrigger {} -impl ::core::fmt::Debug for MaintenanceTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MaintenanceTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MaintenanceTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MaintenanceTrigger;{68184c83-fc22-4ce5-841a-7239a9810047})"); } -impl ::core::clone::Clone for MaintenanceTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MaintenanceTrigger { type Vtable = IMaintenanceTrigger_Vtbl; } @@ -5246,6 +4231,7 @@ impl ::windows_core::RuntimeName for MaintenanceTrigger { impl ::windows_core::CanTryInto for MaintenanceTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaProcessingTrigger(::windows_core::IUnknown); impl MediaProcessingTrigger { pub fn new() -> ::windows_core::Result { @@ -5277,25 +4263,9 @@ impl MediaProcessingTrigger { } } } -impl ::core::cmp::PartialEq for MediaProcessingTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaProcessingTrigger {} -impl ::core::fmt::Debug for MediaProcessingTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaProcessingTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaProcessingTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MediaProcessingTrigger;{9a95be65-8a52-4b30-9011-cf38040ea8b0})"); } -impl ::core::clone::Clone for MediaProcessingTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaProcessingTrigger { type Vtable = IMediaProcessingTrigger_Vtbl; } @@ -5309,6 +4279,7 @@ impl ::windows_core::RuntimeName for MediaProcessingTrigger { impl ::windows_core::CanTryInto for MediaProcessingTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceNotificationTrigger(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -5319,25 +4290,9 @@ impl MobileBroadbandDeviceServiceNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceNotificationTrigger {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandDeviceServiceNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceNotificationTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5353,6 +4308,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceNotificationTri unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPcoDataChangeTrigger(::windows_core::IUnknown); impl MobileBroadbandPcoDataChangeTrigger { pub fn new() -> ::windows_core::Result { @@ -5363,25 +4319,9 @@ impl MobileBroadbandPcoDataChangeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandPcoDataChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPcoDataChangeTrigger {} -impl ::core::fmt::Debug for MobileBroadbandPcoDataChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPcoDataChangeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPcoDataChangeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPcoDataChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for MobileBroadbandPcoDataChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPcoDataChangeTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5397,6 +4337,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPcoDataChangeTrigger {} unsafe impl ::core::marker::Sync for MobileBroadbandPcoDataChangeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPinLockStateChangeTrigger(::windows_core::IUnknown); impl MobileBroadbandPinLockStateChangeTrigger { pub fn new() -> ::windows_core::Result { @@ -5407,25 +4348,9 @@ impl MobileBroadbandPinLockStateChangeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandPinLockStateChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPinLockStateChangeTrigger {} -impl ::core::fmt::Debug for MobileBroadbandPinLockStateChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPinLockStateChangeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPinLockStateChangeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandPinLockStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for MobileBroadbandPinLockStateChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPinLockStateChangeTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5441,6 +4366,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPinLockStateChangeTrigger {} unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChangeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandRadioStateChangeTrigger(::windows_core::IUnknown); impl MobileBroadbandRadioStateChangeTrigger { pub fn new() -> ::windows_core::Result { @@ -5451,25 +4377,9 @@ impl MobileBroadbandRadioStateChangeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandRadioStateChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandRadioStateChangeTrigger {} -impl ::core::fmt::Debug for MobileBroadbandRadioStateChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandRadioStateChangeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandRadioStateChangeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRadioStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for MobileBroadbandRadioStateChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandRadioStateChangeTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5485,6 +4395,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandRadioStateChangeTrigger {} unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChangeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandRegistrationStateChangeTrigger(::windows_core::IUnknown); impl MobileBroadbandRegistrationStateChangeTrigger { pub fn new() -> ::windows_core::Result { @@ -5495,25 +4406,9 @@ impl MobileBroadbandRegistrationStateChangeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandRegistrationStateChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandRegistrationStateChangeTrigger {} -impl ::core::fmt::Debug for MobileBroadbandRegistrationStateChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandRegistrationStateChangeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandRegistrationStateChangeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.MobileBroadbandRegistrationStateChangeTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for MobileBroadbandRegistrationStateChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandRegistrationStateChangeTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5529,6 +4424,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandRegistrationStateChangeTrigg unsafe impl ::core::marker::Sync for MobileBroadbandRegistrationStateChangeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorDataUsageTrigger(::windows_core::IUnknown); impl NetworkOperatorDataUsageTrigger { pub fn new() -> ::windows_core::Result { @@ -5539,25 +4435,9 @@ impl NetworkOperatorDataUsageTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NetworkOperatorDataUsageTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorDataUsageTrigger {} -impl ::core::fmt::Debug for NetworkOperatorDataUsageTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorDataUsageTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorDataUsageTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorDataUsageTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for NetworkOperatorDataUsageTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorDataUsageTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5573,6 +4453,7 @@ unsafe impl ::core::marker::Send for NetworkOperatorDataUsageTrigger {} unsafe impl ::core::marker::Sync for NetworkOperatorDataUsageTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorHotspotAuthenticationTrigger(::windows_core::IUnknown); impl NetworkOperatorHotspotAuthenticationTrigger { pub fn new() -> ::windows_core::Result { @@ -5583,25 +4464,9 @@ impl NetworkOperatorHotspotAuthenticationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NetworkOperatorHotspotAuthenticationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorHotspotAuthenticationTrigger {} -impl ::core::fmt::Debug for NetworkOperatorHotspotAuthenticationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorHotspotAuthenticationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorHotspotAuthenticationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorHotspotAuthenticationTrigger;{e756c791-3001-4de5-83c7-de61d88831d0})"); } -impl ::core::clone::Clone for NetworkOperatorHotspotAuthenticationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorHotspotAuthenticationTrigger { type Vtable = INetworkOperatorHotspotAuthenticationTrigger_Vtbl; } @@ -5615,6 +4480,7 @@ impl ::windows_core::RuntimeName for NetworkOperatorHotspotAuthenticationTrigger impl ::windows_core::CanTryInto for NetworkOperatorHotspotAuthenticationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorNotificationTrigger(::windows_core::IUnknown); impl NetworkOperatorNotificationTrigger { pub fn NetworkAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5636,25 +4502,9 @@ impl NetworkOperatorNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NetworkOperatorNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorNotificationTrigger {} -impl ::core::fmt::Debug for NetworkOperatorNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger;{90089cc6-63cd-480c-95d1-6e6aef801e4a})"); } -impl ::core::clone::Clone for NetworkOperatorNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorNotificationTrigger { type Vtable = INetworkOperatorNotificationTrigger_Vtbl; } @@ -5668,6 +4518,7 @@ impl ::windows_core::RuntimeName for NetworkOperatorNotificationTrigger { impl ::windows_core::CanTryInto for NetworkOperatorNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentAppCanMakePaymentTrigger(::windows_core::IUnknown); impl PaymentAppCanMakePaymentTrigger { pub fn new() -> ::windows_core::Result { @@ -5678,25 +4529,9 @@ impl PaymentAppCanMakePaymentTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentAppCanMakePaymentTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentAppCanMakePaymentTrigger {} -impl ::core::fmt::Debug for PaymentAppCanMakePaymentTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentAppCanMakePaymentTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentAppCanMakePaymentTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PaymentAppCanMakePaymentTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for PaymentAppCanMakePaymentTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentAppCanMakePaymentTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5712,6 +4547,7 @@ unsafe impl ::core::marker::Send for PaymentAppCanMakePaymentTrigger {} unsafe impl ::core::marker::Sync for PaymentAppCanMakePaymentTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneTrigger(::windows_core::IUnknown); impl PhoneTrigger { pub fn OneShot(&self) -> ::windows_core::Result { @@ -5744,25 +4580,9 @@ impl PhoneTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneTrigger {} -impl ::core::fmt::Debug for PhoneTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PhoneTrigger;{8dcfe99b-d4c5-49f1-b7d3-82e87a0e9dde})"); } -impl ::core::clone::Clone for PhoneTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneTrigger { type Vtable = IPhoneTrigger_Vtbl; } @@ -5778,6 +4598,7 @@ unsafe impl ::core::marker::Send for PhoneTrigger {} unsafe impl ::core::marker::Sync for PhoneTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PushNotificationTrigger(::windows_core::IUnknown); impl PushNotificationTrigger { pub fn new() -> ::windows_core::Result { @@ -5799,25 +4620,9 @@ impl PushNotificationTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PushNotificationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PushNotificationTrigger {} -impl ::core::fmt::Debug for PushNotificationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PushNotificationTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PushNotificationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.PushNotificationTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for PushNotificationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PushNotificationTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -5833,6 +4638,7 @@ unsafe impl ::core::marker::Send for PushNotificationTrigger {} unsafe impl ::core::marker::Sync for PushNotificationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessageAvailableTrigger(::windows_core::IUnknown); impl RcsEndUserMessageAvailableTrigger { pub fn new() -> ::windows_core::Result { @@ -5843,25 +4649,9 @@ impl RcsEndUserMessageAvailableTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RcsEndUserMessageAvailableTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessageAvailableTrigger {} -impl ::core::fmt::Debug for RcsEndUserMessageAvailableTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessageAvailableTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessageAvailableTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RcsEndUserMessageAvailableTrigger;{986d0d6a-b2f6-467f-a978-a44091c11a66})"); } -impl ::core::clone::Clone for RcsEndUserMessageAvailableTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessageAvailableTrigger { type Vtable = IRcsEndUserMessageAvailableTrigger_Vtbl; } @@ -5877,6 +4667,7 @@ unsafe impl ::core::marker::Send for RcsEndUserMessageAvailableTrigger {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommConnectionTrigger(::windows_core::IUnknown); impl RfcommConnectionTrigger { pub fn new() -> ::windows_core::Result { @@ -5949,25 +4740,9 @@ impl RfcommConnectionTrigger { unsafe { (::windows_core::Interface::vtable(this).SetRemoteHostName)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for RfcommConnectionTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommConnectionTrigger {} -impl ::core::fmt::Debug for RfcommConnectionTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommConnectionTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommConnectionTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.RfcommConnectionTrigger;{e8c4cae2-0b53-4464-9394-fd875654de64})"); } -impl ::core::clone::Clone for RfcommConnectionTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommConnectionTrigger { type Vtable = IRfcommConnectionTrigger_Vtbl; } @@ -5984,6 +4759,7 @@ unsafe impl ::core::marker::Sync for RfcommConnectionTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SecondaryAuthenticationFactorAuthenticationTrigger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SecondaryAuthenticationFactorAuthenticationTrigger { @@ -5996,30 +4772,10 @@ impl SecondaryAuthenticationFactorAuthenticationTrigger { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SecondaryAuthenticationFactorAuthenticationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SecondaryAuthenticationFactorAuthenticationTrigger {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SecondaryAuthenticationFactorAuthenticationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SecondaryAuthenticationFactorAuthenticationTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SecondaryAuthenticationFactorAuthenticationTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SecondaryAuthenticationFactorAuthenticationTrigger;{f237f327-5181-4f24-96a7-700a4e5fac62})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SecondaryAuthenticationFactorAuthenticationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SecondaryAuthenticationFactorAuthenticationTrigger { type Vtable = ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl; } @@ -6037,6 +4793,7 @@ impl ::windows_core::RuntimeName for SecondaryAuthenticationFactorAuthentication impl ::windows_core::CanTryInto for SecondaryAuthenticationFactorAuthenticationTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SensorDataThresholdTrigger(::windows_core::IUnknown); impl SensorDataThresholdTrigger { #[doc = "*Required features: `\"Devices_Sensors\"`*"] @@ -6056,25 +4813,9 @@ impl SensorDataThresholdTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SensorDataThresholdTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SensorDataThresholdTrigger {} -impl ::core::fmt::Debug for SensorDataThresholdTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SensorDataThresholdTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SensorDataThresholdTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SensorDataThresholdTrigger;{5bc0f372-d48b-4b7f-abec-15f9bacc12e2})"); } -impl ::core::clone::Clone for SensorDataThresholdTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SensorDataThresholdTrigger { type Vtable = ISensorDataThresholdTrigger_Vtbl; } @@ -6090,6 +4831,7 @@ unsafe impl ::core::marker::Send for SensorDataThresholdTrigger {} unsafe impl ::core::marker::Sync for SensorDataThresholdTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardTrigger(::windows_core::IUnknown); impl SmartCardTrigger { #[doc = "*Required features: `\"Devices_SmartCards\"`*"] @@ -6115,25 +4857,9 @@ impl SmartCardTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardTrigger {} -impl ::core::fmt::Debug for SmartCardTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmartCardTrigger;{f53bc5ac-84ca-4972-8ce9-e58f97b37a50})"); } -impl ::core::clone::Clone for SmartCardTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardTrigger { type Vtable = ISmartCardTrigger_Vtbl; } @@ -6147,6 +4873,7 @@ impl ::windows_core::RuntimeName for SmartCardTrigger { impl ::windows_core::CanTryInto for SmartCardTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsMessageReceivedTrigger(::windows_core::IUnknown); impl SmsMessageReceivedTrigger { #[doc = "*Required features: `\"Devices_Sms\"`*"] @@ -6166,25 +4893,9 @@ impl SmsMessageReceivedTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmsMessageReceivedTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsMessageReceivedTrigger {} -impl ::core::fmt::Debug for SmsMessageReceivedTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsMessageReceivedTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsMessageReceivedTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SmsMessageReceivedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for SmsMessageReceivedTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsMessageReceivedTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6200,6 +4911,7 @@ unsafe impl ::core::marker::Send for SmsMessageReceivedTrigger {} unsafe impl ::core::marker::Sync for SmsMessageReceivedTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SocketActivityTrigger(::windows_core::IUnknown); impl SocketActivityTrigger { pub fn new() -> ::windows_core::Result { @@ -6217,25 +4929,9 @@ impl SocketActivityTrigger { } } } -impl ::core::cmp::PartialEq for SocketActivityTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SocketActivityTrigger {} -impl ::core::fmt::Debug for SocketActivityTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SocketActivityTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SocketActivityTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SocketActivityTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for SocketActivityTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SocketActivityTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6251,6 +4947,7 @@ unsafe impl ::core::marker::Send for SocketActivityTrigger {} unsafe impl ::core::marker::Sync for SocketActivityTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChangeTrackerTrigger(::windows_core::IUnknown); impl StorageLibraryChangeTrackerTrigger { #[doc = "*Required features: `\"Storage\"`*"] @@ -6270,25 +4967,9 @@ impl StorageLibraryChangeTrackerTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageLibraryChangeTrackerTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChangeTrackerTrigger {} -impl ::core::fmt::Debug for StorageLibraryChangeTrackerTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChangeTrackerTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChangeTrackerTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryChangeTrackerTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for StorageLibraryChangeTrackerTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChangeTrackerTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6304,6 +4985,7 @@ unsafe impl ::core::marker::Send for StorageLibraryChangeTrackerTrigger {} unsafe impl ::core::marker::Sync for StorageLibraryChangeTrackerTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryContentChangedTrigger(::windows_core::IUnknown); impl StorageLibraryContentChangedTrigger { #[doc = "*Required features: `\"Storage\"`*"] @@ -6334,25 +5016,9 @@ impl StorageLibraryContentChangedTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageLibraryContentChangedTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryContentChangedTrigger {} -impl ::core::fmt::Debug for StorageLibraryContentChangedTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryContentChangedTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryContentChangedTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger;{1637e0a7-829c-45bc-929b-a1e7ea78d89b})"); } -impl ::core::clone::Clone for StorageLibraryContentChangedTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryContentChangedTrigger { type Vtable = IStorageLibraryContentChangedTrigger_Vtbl; } @@ -6366,6 +5032,7 @@ impl ::windows_core::RuntimeName for StorageLibraryContentChangedTrigger { impl ::windows_core::CanTryInto for StorageLibraryContentChangedTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemCondition(::windows_core::IUnknown); impl SystemCondition { pub fn ConditionType(&self) -> ::windows_core::Result { @@ -6387,25 +5054,9 @@ impl SystemCondition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemCondition {} -impl ::core::fmt::Debug for SystemCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemCondition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemCondition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemCondition;{c15fb476-89c5-420b-abd3-fb3030472128})"); } -impl ::core::clone::Clone for SystemCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemCondition { type Vtable = ISystemCondition_Vtbl; } @@ -6419,6 +5070,7 @@ impl ::windows_core::RuntimeName for SystemCondition { impl ::windows_core::CanTryInto for SystemCondition {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemTrigger(::windows_core::IUnknown); impl SystemTrigger { pub fn OneShot(&self) -> ::windows_core::Result { @@ -6447,25 +5099,9 @@ impl SystemTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemTrigger {} -impl ::core::fmt::Debug for SystemTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.SystemTrigger;{1d80c776-3748-4463-8d7e-276dc139ac1c})"); } -impl ::core::clone::Clone for SystemTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemTrigger { type Vtable = ISystemTrigger_Vtbl; } @@ -6479,6 +5115,7 @@ impl ::windows_core::RuntimeName for SystemTrigger { impl ::windows_core::CanTryInto for SystemTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TetheringEntitlementCheckTrigger(::windows_core::IUnknown); impl TetheringEntitlementCheckTrigger { pub fn new() -> ::windows_core::Result { @@ -6489,25 +5126,9 @@ impl TetheringEntitlementCheckTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TetheringEntitlementCheckTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TetheringEntitlementCheckTrigger {} -impl ::core::fmt::Debug for TetheringEntitlementCheckTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TetheringEntitlementCheckTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TetheringEntitlementCheckTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TetheringEntitlementCheckTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for TetheringEntitlementCheckTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TetheringEntitlementCheckTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6523,6 +5144,7 @@ unsafe impl ::core::marker::Send for TetheringEntitlementCheckTrigger {} unsafe impl ::core::marker::Sync for TetheringEntitlementCheckTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimeTrigger(::windows_core::IUnknown); impl TimeTrigger { pub fn FreshnessTime(&self) -> ::windows_core::Result { @@ -6551,25 +5173,9 @@ impl TimeTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TimeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimeTrigger {} -impl ::core::fmt::Debug for TimeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimeTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimeTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.TimeTrigger;{656e5556-0b2a-4377-ba70-3b45a935547f})"); } -impl ::core::clone::Clone for TimeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimeTrigger { type Vtable = ITimeTrigger_Vtbl; } @@ -6583,6 +5189,7 @@ impl ::windows_core::RuntimeName for TimeTrigger { impl ::windows_core::CanTryInto for TimeTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationActionTrigger(::windows_core::IUnknown); impl ToastNotificationActionTrigger { pub fn new() -> ::windows_core::Result { @@ -6604,25 +5211,9 @@ impl ToastNotificationActionTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ToastNotificationActionTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationActionTrigger {} -impl ::core::fmt::Debug for ToastNotificationActionTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationActionTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationActionTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationActionTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for ToastNotificationActionTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationActionTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6638,6 +5229,7 @@ unsafe impl ::core::marker::Send for ToastNotificationActionTrigger {} unsafe impl ::core::marker::Sync for ToastNotificationActionTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationHistoryChangedTrigger(::windows_core::IUnknown); impl ToastNotificationHistoryChangedTrigger { pub fn new() -> ::windows_core::Result { @@ -6659,25 +5251,9 @@ impl ToastNotificationHistoryChangedTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ToastNotificationHistoryChangedTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationHistoryChangedTrigger {} -impl ::core::fmt::Debug for ToastNotificationHistoryChangedTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationHistoryChangedTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationHistoryChangedTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.ToastNotificationHistoryChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for ToastNotificationHistoryChangedTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationHistoryChangedTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6693,6 +5269,7 @@ unsafe impl ::core::marker::Send for ToastNotificationHistoryChangedTrigger {} unsafe impl ::core::marker::Sync for ToastNotificationHistoryChangedTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserNotificationChangedTrigger(::windows_core::IUnknown); impl UserNotificationChangedTrigger { #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -6709,25 +5286,9 @@ impl UserNotificationChangedTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserNotificationChangedTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserNotificationChangedTrigger {} -impl ::core::fmt::Debug for UserNotificationChangedTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserNotificationChangedTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserNotificationChangedTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.UserNotificationChangedTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for UserNotificationChangedTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserNotificationChangedTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6743,6 +5304,7 @@ unsafe impl ::core::marker::Send for UserNotificationChangedTrigger {} unsafe impl ::core::marker::Sync for UserNotificationChangedTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotConnectTrigger(::windows_core::IUnknown); impl WiFiOnDemandHotspotConnectTrigger { pub fn new() -> ::windows_core::Result { @@ -6753,25 +5315,9 @@ impl WiFiOnDemandHotspotConnectTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotConnectTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotConnectTrigger {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotConnectTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotConnectTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotConnectTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotConnectTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotConnectTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -6787,6 +5333,7 @@ unsafe impl ::core::marker::Send for WiFiOnDemandHotspotConnectTrigger {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotConnectTrigger {} #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotUpdateMetadataTrigger(::windows_core::IUnknown); impl WiFiOnDemandHotspotUpdateMetadataTrigger { pub fn new() -> ::windows_core::Result { @@ -6797,25 +5344,9 @@ impl WiFiOnDemandHotspotUpdateMetadataTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotUpdateMetadataTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotUpdateMetadataTrigger {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotUpdateMetadataTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotUpdateMetadataTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotUpdateMetadataTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Background.WiFiOnDemandHotspotUpdateMetadataTrigger;{84b3a058-6027-4b87-9790-bdf3f757dbd7})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotUpdateMetadataTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotUpdateMetadataTrigger { type Vtable = IBackgroundTrigger_Vtbl; } @@ -7267,6 +5798,7 @@ impl ::windows_core::RuntimeType for SystemTriggerType { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskCanceledEventHandler(pub ::windows_core::IUnknown); impl BackgroundTaskCanceledEventHandler { pub fn new, BackgroundTaskCancellationReason) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7292,9 +5824,12 @@ impl, BackgroundTaskCa base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7319,25 +5854,9 @@ impl, BackgroundTaskCa ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), reason).into() } } -impl ::core::cmp::PartialEq for BackgroundTaskCanceledEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskCanceledEventHandler {} -impl ::core::fmt::Debug for BackgroundTaskCanceledEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskCanceledEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for BackgroundTaskCanceledEventHandler { type Vtable = BackgroundTaskCanceledEventHandler_Vtbl; } -impl ::core::clone::Clone for BackgroundTaskCanceledEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for BackgroundTaskCanceledEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6c4bac0_51f8_4c57_ac3f_156dd1680c4f); } @@ -7352,6 +5871,7 @@ pub struct BackgroundTaskCanceledEventHandler_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskCompletedEventHandler(pub ::windows_core::IUnknown); impl BackgroundTaskCompletedEventHandler { pub fn new, ::core::option::Option<&BackgroundTaskCompletedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7378,9 +5898,12 @@ impl, ::core::optio base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7405,25 +5928,9 @@ impl, ::core::optio ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for BackgroundTaskCompletedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskCompletedEventHandler {} -impl ::core::fmt::Debug for BackgroundTaskCompletedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskCompletedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for BackgroundTaskCompletedEventHandler { type Vtable = BackgroundTaskCompletedEventHandler_Vtbl; } -impl ::core::clone::Clone for BackgroundTaskCompletedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for BackgroundTaskCompletedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b38e929_a086_46a7_a678_439135822bcf); } @@ -7438,6 +5945,7 @@ pub struct BackgroundTaskCompletedEventHandler_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTaskProgressEventHandler(pub ::windows_core::IUnknown); impl BackgroundTaskProgressEventHandler { pub fn new, ::core::option::Option<&BackgroundTaskProgressEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7464,9 +5972,12 @@ impl, ::core::optio base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7491,25 +6002,9 @@ impl, ::core::optio ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for BackgroundTaskProgressEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTaskProgressEventHandler {} -impl ::core::fmt::Debug for BackgroundTaskProgressEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTaskProgressEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for BackgroundTaskProgressEventHandler { type Vtable = BackgroundTaskProgressEventHandler_Vtbl; } -impl ::core::clone::Clone for BackgroundTaskProgressEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for BackgroundTaskProgressEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46e0683c_8a88_4c99_804c_76897f6277a6); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs index 9e49676495..7bfefefafd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallBlockedTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallBlockedTriggerDetails { type Vtable = IPhoneCallBlockedTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneCallBlockedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallBlockedTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4a690a2_e4c1_427f_864e_e470477ddb67); } @@ -23,18 +19,13 @@ pub struct IPhoneCallBlockedTriggerDetails_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOriginDataRequestTriggerDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOriginDataRequestTriggerDetails { type Vtable = IPhoneCallOriginDataRequestTriggerDetails_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOriginDataRequestTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOriginDataRequestTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e9b5b3f_c54b_4e82_4cc9_e329a4184592); } @@ -55,18 +46,13 @@ pub struct IPhoneCallOriginDataRequestTriggerDetails_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneIncomingCallDismissedTriggerDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneIncomingCallDismissedTriggerDetails { type Vtable = IPhoneIncomingCallDismissedTriggerDetails_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneIncomingCallDismissedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneIncomingCallDismissedTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad30276_83b6_5732_9c38_0c206546196a); } @@ -102,15 +88,11 @@ pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneIncomingCallNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneIncomingCallNotificationTriggerDetails { type Vtable = IPhoneIncomingCallNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneIncomingCallNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneIncomingCallNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b0e6044_9b32_5d42_8222_d2812e39fb21); } @@ -123,15 +105,11 @@ pub struct IPhoneIncomingCallNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineChangedTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineChangedTriggerDetails { type Vtable = IPhoneLineChangedTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneLineChangedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineChangedTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6d321e7_d11d_40d8_b2b7_e40a01d66249); } @@ -145,15 +123,11 @@ pub struct IPhoneLineChangedTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNewVoicemailMessageTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNewVoicemailMessageTriggerDetails { type Vtable = IPhoneNewVoicemailMessageTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneNewVoicemailMessageTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNewVoicemailMessageTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13a8c01b_b831_48d3_8ba9_8d22a6580dcf); } @@ -167,6 +141,7 @@ pub struct IPhoneNewVoicemailMessageTriggerDetails_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallBlockedTriggerDetails(::windows_core::IUnknown); impl PhoneCallBlockedTriggerDetails { pub fn PhoneNumber(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -191,25 +166,9 @@ impl PhoneCallBlockedTriggerDetails { } } } -impl ::core::cmp::PartialEq for PhoneCallBlockedTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallBlockedTriggerDetails {} -impl ::core::fmt::Debug for PhoneCallBlockedTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallBlockedTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallBlockedTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails;{a4a690a2-e4c1-427f-864e-e470477ddb67})"); } -impl ::core::clone::Clone for PhoneCallBlockedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallBlockedTriggerDetails { type Vtable = IPhoneCallBlockedTriggerDetails_Vtbl; } @@ -225,6 +184,7 @@ unsafe impl ::core::marker::Sync for PhoneCallBlockedTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallOriginDataRequestTriggerDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PhoneCallOriginDataRequestTriggerDetails { @@ -248,30 +208,10 @@ impl PhoneCallOriginDataRequestTriggerDetails { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PhoneCallOriginDataRequestTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PhoneCallOriginDataRequestTriggerDetails {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PhoneCallOriginDataRequestTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallOriginDataRequestTriggerDetails").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PhoneCallOriginDataRequestTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails;{6e9b5b3f-c54b-4e82-4cc9-e329a4184592})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PhoneCallOriginDataRequestTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PhoneCallOriginDataRequestTriggerDetails { type Vtable = IPhoneCallOriginDataRequestTriggerDetails_Vtbl; } @@ -292,6 +232,7 @@ unsafe impl ::core::marker::Sync for PhoneCallOriginDataRequestTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneIncomingCallDismissedTriggerDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PhoneIncomingCallDismissedTriggerDetails { @@ -351,30 +292,10 @@ impl PhoneIncomingCallDismissedTriggerDetails { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PhoneIncomingCallDismissedTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PhoneIncomingCallDismissedTriggerDetails {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PhoneIncomingCallDismissedTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneIncomingCallDismissedTriggerDetails").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PhoneIncomingCallDismissedTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails;{bad30276-83b6-5732-9c38-0c206546196a})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PhoneIncomingCallDismissedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PhoneIncomingCallDismissedTriggerDetails { type Vtable = IPhoneIncomingCallDismissedTriggerDetails_Vtbl; } @@ -394,6 +315,7 @@ unsafe impl ::core::marker::Send for PhoneIncomingCallDismissedTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneIncomingCallDismissedTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneIncomingCallNotificationTriggerDetails(::windows_core::IUnknown); impl PhoneIncomingCallNotificationTriggerDetails { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -411,25 +333,9 @@ impl PhoneIncomingCallNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for PhoneIncomingCallNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneIncomingCallNotificationTriggerDetails {} -impl ::core::fmt::Debug for PhoneIncomingCallNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneIncomingCallNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneIncomingCallNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails;{2b0e6044-9b32-5d42-8222-d2812e39fb21})"); } -impl ::core::clone::Clone for PhoneIncomingCallNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneIncomingCallNotificationTriggerDetails { type Vtable = IPhoneIncomingCallNotificationTriggerDetails_Vtbl; } @@ -444,6 +350,7 @@ unsafe impl ::core::marker::Send for PhoneIncomingCallNotificationTriggerDetails unsafe impl ::core::marker::Sync for PhoneIncomingCallNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineChangedTriggerDetails(::windows_core::IUnknown); impl PhoneLineChangedTriggerDetails { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -468,25 +375,9 @@ impl PhoneLineChangedTriggerDetails { } } } -impl ::core::cmp::PartialEq for PhoneLineChangedTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineChangedTriggerDetails {} -impl ::core::fmt::Debug for PhoneLineChangedTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineChangedTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineChangedTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails;{c6d321e7-d11d-40d8-b2b7-e40a01d66249})"); } -impl ::core::clone::Clone for PhoneLineChangedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineChangedTriggerDetails { type Vtable = IPhoneLineChangedTriggerDetails_Vtbl; } @@ -501,6 +392,7 @@ unsafe impl ::core::marker::Send for PhoneLineChangedTriggerDetails {} unsafe impl ::core::marker::Sync for PhoneLineChangedTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneNewVoicemailMessageTriggerDetails(::windows_core::IUnknown); impl PhoneNewVoicemailMessageTriggerDetails { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -525,25 +417,9 @@ impl PhoneNewVoicemailMessageTriggerDetails { } } } -impl ::core::cmp::PartialEq for PhoneNewVoicemailMessageTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneNewVoicemailMessageTriggerDetails {} -impl ::core::fmt::Debug for PhoneNewVoicemailMessageTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneNewVoicemailMessageTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneNewVoicemailMessageTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails;{13a8c01b-b831-48d3-8ba9-8d22a6580dcf})"); } -impl ::core::clone::Clone for PhoneNewVoicemailMessageTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneNewVoicemailMessageTriggerDetails { type Vtable = IPhoneNewVoicemailMessageTriggerDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index beb503219f..262b9fbaee 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOrigin(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOrigin { type Vtable = IPhoneCallOrigin_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOrigin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOrigin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20613479_0ef9_4454_871c_afb66a14b6a5); } @@ -49,18 +44,13 @@ pub struct IPhoneCallOrigin_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOrigin2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOrigin2 { type Vtable = IPhoneCallOrigin2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOrigin2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOrigin2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04c7e980_9ac2_4768_b536_b68da4957d02); } @@ -81,18 +71,13 @@ pub struct IPhoneCallOrigin2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOrigin3(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOrigin3 { type Vtable = IPhoneCallOrigin3_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOrigin3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOrigin3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49330fb4_d1a7_43a2_aeee_c07b6dbaf068); } @@ -113,18 +98,13 @@ pub struct IPhoneCallOrigin3_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOriginManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOriginManagerStatics { type Vtable = IPhoneCallOriginManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOriginManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOriginManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccfc5a0a_9af7_6149_39d0_e076fcce1395); } @@ -149,18 +129,13 @@ pub struct IPhoneCallOriginManagerStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOriginManagerStatics2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOriginManagerStatics2 { type Vtable = IPhoneCallOriginManagerStatics2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOriginManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOriginManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bf3ee3f_40f4_4380_8c7c_aea2c9b8dd7a); } @@ -177,18 +152,13 @@ pub struct IPhoneCallOriginManagerStatics2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallOriginManagerStatics3(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPhoneCallOriginManagerStatics3 { type Vtable = IPhoneCallOriginManagerStatics3_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPhoneCallOriginManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPhoneCallOriginManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ed69764_a6e3_50f0_b76a_d67cb39bdfde); } @@ -205,6 +175,7 @@ pub struct IPhoneCallOriginManagerStatics3_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Calls_Provider\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallOrigin(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PhoneCallOrigin { @@ -295,30 +266,10 @@ impl PhoneCallOrigin { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PhoneCallOrigin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PhoneCallOrigin {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PhoneCallOrigin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallOrigin").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PhoneCallOrigin { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.Provider.PhoneCallOrigin;{20613479-0ef9-4454-871c-afb66a14b6a5})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PhoneCallOrigin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PhoneCallOrigin { type Vtable = IPhoneCallOrigin_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 8149ffa1a9..62c6c8c100 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -4,15 +4,11 @@ pub mod Background; pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallAnswerEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICallAnswerEventArgs { type Vtable = ICallAnswerEventArgs_Vtbl; } -impl ::core::clone::Clone for ICallAnswerEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallAnswerEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd789617_2dd7_4c8c_b2bd_95d17a5bb733); } @@ -24,15 +20,11 @@ pub struct ICallAnswerEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallRejectEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICallRejectEventArgs { type Vtable = ICallRejectEventArgs_Vtbl; } -impl ::core::clone::Clone for ICallRejectEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallRejectEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda47fad7_13d4_4d92_a1c2_b77811ee37ec); } @@ -44,15 +36,11 @@ pub struct ICallRejectEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallStateChangeEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICallStateChangeEventArgs { type Vtable = ICallStateChangeEventArgs_Vtbl; } -impl ::core::clone::Clone for ICallStateChangeEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallStateChangeEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeab2349e_66f5_47f9_9fb5_459c5198c720); } @@ -64,15 +52,11 @@ pub struct ICallStateChangeEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenCallEndCallDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenCallEndCallDeferral { type Vtable = ILockScreenCallEndCallDeferral_Vtbl; } -impl ::core::clone::Clone for ILockScreenCallEndCallDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenCallEndCallDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd7ed0d_98ed_4041_9632_50ff812b773f); } @@ -84,15 +68,11 @@ pub struct ILockScreenCallEndCallDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenCallEndRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenCallEndRequestedEventArgs { type Vtable = ILockScreenCallEndRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILockScreenCallEndRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenCallEndRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8190a363_6f27_46e9_aeb6_c0ae83e47dc7); } @@ -108,15 +88,11 @@ pub struct ILockScreenCallEndRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenCallUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenCallUI { type Vtable = ILockScreenCallUI_Vtbl; } -impl ::core::clone::Clone for ILockScreenCallUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenCallUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc596fd8d_73c9_4a14_b021_ec1c50a3b727); } @@ -146,15 +122,11 @@ pub struct ILockScreenCallUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMuteChangeEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMuteChangeEventArgs { type Vtable = IMuteChangeEventArgs_Vtbl; } -impl ::core::clone::Clone for IMuteChangeEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMuteChangeEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8585e159_0c41_432c_814d_c5f1fdf530be); } @@ -166,15 +138,11 @@ pub struct IMuteChangeEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCall(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCall { type Vtable = IPhoneCall_Vtbl; } -impl ::core::clone::Clone for IPhoneCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc14ed0f8_c17d_59d2_9628_66e545b6cd21); } @@ -263,15 +231,11 @@ pub struct IPhoneCall_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallBlockingStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallBlockingStatics { type Vtable = IPhoneCallBlockingStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneCallBlockingStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallBlockingStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19646f84_2b79_26f1_a46f_694be043f313); } @@ -290,15 +254,11 @@ pub struct IPhoneCallBlockingStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryEntry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryEntry { type Vtable = IPhoneCallHistoryEntry_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfab0e129_32a4_4b85_83d1_f90d8c23a857); } @@ -355,15 +315,11 @@ pub struct IPhoneCallHistoryEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryEntryAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryEntryAddress { type Vtable = IPhoneCallHistoryEntryAddress_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryEntryAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryEntryAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30f159da_3955_4042_84e6_66eebf82e67f); } @@ -382,15 +338,11 @@ pub struct IPhoneCallHistoryEntryAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryEntryAddressFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryEntryAddressFactory { type Vtable = IPhoneCallHistoryEntryAddressFactory_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryEntryAddressFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryEntryAddressFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb0fadba_c7f0_4bb6_9f6b_ba5d73209aca); } @@ -402,15 +354,11 @@ pub struct IPhoneCallHistoryEntryAddressFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryEntryQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryEntryQueryOptions { type Vtable = IPhoneCallHistoryEntryQueryOptions_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryEntryQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryEntryQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c5fe15c_8bed_40ca_b06e_c4ca8eae5c87); } @@ -427,15 +375,11 @@ pub struct IPhoneCallHistoryEntryQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryEntryReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryEntryReader { type Vtable = IPhoneCallHistoryEntryReader_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryEntryReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryEntryReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61ece4be_8d86_479f_8404_a9846920fee6); } @@ -450,15 +394,11 @@ pub struct IPhoneCallHistoryEntryReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryManagerForUser { type Vtable = IPhoneCallHistoryManagerForUser_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd925c523_f55f_4353_9db4_0205a5265a55); } @@ -477,15 +417,11 @@ pub struct IPhoneCallHistoryManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryManagerStatics { type Vtable = IPhoneCallHistoryManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5a6da39_b31f_4f45_ac8e_1b08893c1b50); } @@ -500,15 +436,11 @@ pub struct IPhoneCallHistoryManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryManagerStatics2 { type Vtable = IPhoneCallHistoryManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefd474f0_a2db_4188_9e92_bc3cfa6813cf); } @@ -523,15 +455,11 @@ pub struct IPhoneCallHistoryManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallHistoryStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallHistoryStore { type Vtable = IPhoneCallHistoryStore_Vtbl; } -impl ::core::clone::Clone for IPhoneCallHistoryStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallHistoryStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f907db8_b40e_422b_8545_cb1910a61c52); } @@ -584,15 +512,11 @@ pub struct IPhoneCallHistoryStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallInfo { type Vtable = IPhoneCallInfo_Vtbl; } -impl ::core::clone::Clone for IPhoneCallInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22b42577_3e4d_5dc6_89c2_469fe5ffc189); } @@ -612,15 +536,11 @@ pub struct IPhoneCallInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallManagerStatics { type Vtable = IPhoneCallManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneCallManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60edac78_78a6_4872_a3ef_98325ec8b843); } @@ -632,15 +552,11 @@ pub struct IPhoneCallManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallManagerStatics2 { type Vtable = IPhoneCallManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IPhoneCallManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7e3c8bc_2370_431c_98fd_43be5f03086d); } @@ -666,15 +582,11 @@ pub struct IPhoneCallManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallStatics { type Vtable = IPhoneCallStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneCallStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2218eeab_f60b_53e7_ba13_5aeafbc22957); } @@ -686,15 +598,11 @@ pub struct IPhoneCallStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallStore { type Vtable = IPhoneCallStore_Vtbl; } -impl ::core::clone::Clone for IPhoneCallStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f610748_18a6_4173_86d1_28be9dc62dba); } @@ -714,15 +622,11 @@ pub struct IPhoneCallStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallVideoCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallVideoCapabilities { type Vtable = IPhoneCallVideoCapabilities_Vtbl; } -impl ::core::clone::Clone for IPhoneCallVideoCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallVideoCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02382786_b16a_4fdb_be3b_c4240e13ad0d); } @@ -734,15 +638,11 @@ pub struct IPhoneCallVideoCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallVideoCapabilitiesManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallVideoCapabilitiesManagerStatics { type Vtable = IPhoneCallVideoCapabilitiesManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneCallVideoCapabilitiesManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallVideoCapabilitiesManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3c64b56_f00b_4a1c_a0c6_ee1910749ce7); } @@ -757,15 +657,11 @@ pub struct IPhoneCallVideoCapabilitiesManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallsResult { type Vtable = IPhoneCallsResult_Vtbl; } -impl ::core::clone::Clone for IPhoneCallsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bfad365_57cf_57dd_986d_b057c91eac33); } @@ -781,15 +677,11 @@ pub struct IPhoneCallsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneDialOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneDialOptions { type Vtable = IPhoneDialOptions_Vtbl; } -impl ::core::clone::Clone for IPhoneDialOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneDialOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb639c4b8_f06f_36cb_a863_823742b5f2d4); } @@ -824,15 +716,11 @@ pub struct IPhoneDialOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLine(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLine { type Vtable = IPhoneLine_Vtbl; } -impl ::core::clone::Clone for IPhoneLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27c66f30_6a69_34ca_a2ba_65302530c311); } @@ -872,15 +760,11 @@ pub struct IPhoneLine_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLine2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLine2 { type Vtable = IPhoneLine2_Vtbl; } -impl ::core::clone::Clone for IPhoneLine2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLine2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0167f56a_5344_5d64_8af3_a31a950e916a); } @@ -896,15 +780,11 @@ pub struct IPhoneLine2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLine3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLine3 { type Vtable = IPhoneLine3_Vtbl; } -impl ::core::clone::Clone for IPhoneLine3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLine3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2e33cf7_2406_57f3_826a_e5a5f40d6fb5); } @@ -925,15 +805,11 @@ pub struct IPhoneLine3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineCellularDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineCellularDetails { type Vtable = IPhoneLineCellularDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneLineCellularDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineCellularDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x192601d5_147c_4769_b673_98a5ec8426cb); } @@ -949,15 +825,11 @@ pub struct IPhoneLineCellularDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineConfiguration { type Vtable = IPhoneLineConfiguration_Vtbl; } -impl ::core::clone::Clone for IPhoneLineConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe265862_f64f_4312_b2a8_4e257721aa95); } @@ -973,15 +845,11 @@ pub struct IPhoneLineConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineDialResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineDialResult { type Vtable = IPhoneLineDialResult_Vtbl; } -impl ::core::clone::Clone for IPhoneLineDialResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineDialResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe825a30a_5c7f_546f_b918_3ad2fe70fb34); } @@ -994,15 +862,11 @@ pub struct IPhoneLineDialResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineStatics { type Vtable = IPhoneLineStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneLineStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf38b5f23_ceb0_404f_bcf2_ba9f697d8adf); } @@ -1017,15 +881,11 @@ pub struct IPhoneLineStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineTransportDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineTransportDevice { type Vtable = IPhoneLineTransportDevice_Vtbl; } -impl ::core::clone::Clone for IPhoneLineTransportDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineTransportDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa8f889_cffa_59f4_97e4_74705b7dc490); } @@ -1058,15 +918,11 @@ pub struct IPhoneLineTransportDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineTransportDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineTransportDevice2 { type Vtable = IPhoneLineTransportDevice2_Vtbl; } -impl ::core::clone::Clone for IPhoneLineTransportDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineTransportDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64c885f2_ecf4_5761_8c04_3c248ce61690); } @@ -1095,15 +951,11 @@ pub struct IPhoneLineTransportDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineTransportDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineTransportDeviceStatics { type Vtable = IPhoneLineTransportDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneLineTransportDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineTransportDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f3121ac_d609_51a1_96f3_fb00d1819252); } @@ -1117,15 +969,11 @@ pub struct IPhoneLineTransportDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineWatcher { type Vtable = IPhoneLineWatcher_Vtbl; } -impl ::core::clone::Clone for IPhoneLineWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a45cd0a_6323_44e0_a6f6_9f21f64dc90a); } @@ -1179,15 +1027,11 @@ pub struct IPhoneLineWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineWatcherEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineWatcherEventArgs { type Vtable = IPhoneLineWatcherEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhoneLineWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineWatcherEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd07c753e_9e12_4a37_82b7_ad535dad6a67); } @@ -1199,15 +1043,11 @@ pub struct IPhoneLineWatcherEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneVoicemail(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneVoicemail { type Vtable = IPhoneVoicemail_Vtbl; } -impl ::core::clone::Clone for IPhoneVoicemail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneVoicemail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9ce77f6_6e9f_3a8b_b727_6e0cf6998224); } @@ -1225,15 +1065,11 @@ pub struct IPhoneVoicemail_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipCallCoordinator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipCallCoordinator { type Vtable = IVoipCallCoordinator_Vtbl; } -impl ::core::clone::Clone for IVoipCallCoordinator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipCallCoordinator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f118bcf_e8ef_4434_9c5f_a8d893fafe79); } @@ -1270,15 +1106,11 @@ pub struct IVoipCallCoordinator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipCallCoordinator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipCallCoordinator2 { type Vtable = IVoipCallCoordinator2_Vtbl; } -impl ::core::clone::Clone for IVoipCallCoordinator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipCallCoordinator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeb4a9f3_c704_4234_89ce_e88cc0d28fbe); } @@ -1290,15 +1122,11 @@ pub struct IVoipCallCoordinator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipCallCoordinator3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipCallCoordinator3 { type Vtable = IVoipCallCoordinator3_Vtbl; } -impl ::core::clone::Clone for IVoipCallCoordinator3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipCallCoordinator3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338d0cbf_9b55_4021_87ca_e64b9bd666c7); } @@ -1314,15 +1142,11 @@ pub struct IVoipCallCoordinator3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipCallCoordinator4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipCallCoordinator4 { type Vtable = IVoipCallCoordinator4_Vtbl; } -impl ::core::clone::Clone for IVoipCallCoordinator4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipCallCoordinator4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83737239_9311_468f_bb49_47e0dfb5d93e); } @@ -1337,15 +1161,11 @@ pub struct IVoipCallCoordinator4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipCallCoordinatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipCallCoordinatorStatics { type Vtable = IVoipCallCoordinatorStatics_Vtbl; } -impl ::core::clone::Clone for IVoipCallCoordinatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipCallCoordinatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f5d1f2b_e04a_4d10_b31a_a55c922cc2fb); } @@ -1357,15 +1177,11 @@ pub struct IVoipCallCoordinatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipPhoneCall(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipPhoneCall { type Vtable = IVoipPhoneCall_Vtbl; } -impl ::core::clone::Clone for IVoipPhoneCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipPhoneCall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cf1f19a_7794_4a5a_8c68_ae87947a6990); } @@ -1432,15 +1248,11 @@ pub struct IVoipPhoneCall_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipPhoneCall2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipPhoneCall2 { type Vtable = IVoipPhoneCall2_Vtbl; } -impl ::core::clone::Clone for IVoipPhoneCall2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipPhoneCall2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x741b46e1_245f_41f3_9399_3141d25b52e3); } @@ -1452,15 +1264,11 @@ pub struct IVoipPhoneCall2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoipPhoneCall3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoipPhoneCall3 { type Vtable = IVoipPhoneCall3_Vtbl; } -impl ::core::clone::Clone for IVoipPhoneCall3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoipPhoneCall3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d891522_e258_4aa9_907a_1aa413c25523); } @@ -1472,6 +1280,7 @@ pub struct IVoipPhoneCall3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CallAnswerEventArgs(::windows_core::IUnknown); impl CallAnswerEventArgs { pub fn AcceptedMedia(&self) -> ::windows_core::Result { @@ -1482,25 +1291,9 @@ impl CallAnswerEventArgs { } } } -impl ::core::cmp::PartialEq for CallAnswerEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CallAnswerEventArgs {} -impl ::core::fmt::Debug for CallAnswerEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CallAnswerEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CallAnswerEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallAnswerEventArgs;{fd789617-2dd7-4c8c-b2bd-95d17a5bb733})"); } -impl ::core::clone::Clone for CallAnswerEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CallAnswerEventArgs { type Vtable = ICallAnswerEventArgs_Vtbl; } @@ -1515,6 +1308,7 @@ unsafe impl ::core::marker::Send for CallAnswerEventArgs {} unsafe impl ::core::marker::Sync for CallAnswerEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CallRejectEventArgs(::windows_core::IUnknown); impl CallRejectEventArgs { pub fn RejectReason(&self) -> ::windows_core::Result { @@ -1525,25 +1319,9 @@ impl CallRejectEventArgs { } } } -impl ::core::cmp::PartialEq for CallRejectEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CallRejectEventArgs {} -impl ::core::fmt::Debug for CallRejectEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CallRejectEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CallRejectEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallRejectEventArgs;{da47fad7-13d4-4d92-a1c2-b77811ee37ec})"); } -impl ::core::clone::Clone for CallRejectEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CallRejectEventArgs { type Vtable = ICallRejectEventArgs_Vtbl; } @@ -1558,6 +1336,7 @@ unsafe impl ::core::marker::Send for CallRejectEventArgs {} unsafe impl ::core::marker::Sync for CallRejectEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CallStateChangeEventArgs(::windows_core::IUnknown); impl CallStateChangeEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -1568,25 +1347,9 @@ impl CallStateChangeEventArgs { } } } -impl ::core::cmp::PartialEq for CallStateChangeEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CallStateChangeEventArgs {} -impl ::core::fmt::Debug for CallStateChangeEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CallStateChangeEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CallStateChangeEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.CallStateChangeEventArgs;{eab2349e-66f5-47f9-9fb5-459c5198c720})"); } -impl ::core::clone::Clone for CallStateChangeEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CallStateChangeEventArgs { type Vtable = ICallStateChangeEventArgs_Vtbl; } @@ -1601,6 +1364,7 @@ unsafe impl ::core::marker::Send for CallStateChangeEventArgs {} unsafe impl ::core::marker::Sync for CallStateChangeEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenCallEndCallDeferral(::windows_core::IUnknown); impl LockScreenCallEndCallDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1608,25 +1372,9 @@ impl LockScreenCallEndCallDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for LockScreenCallEndCallDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenCallEndCallDeferral {} -impl ::core::fmt::Debug for LockScreenCallEndCallDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenCallEndCallDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenCallEndCallDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndCallDeferral;{2dd7ed0d-98ed-4041-9632-50ff812b773f})"); } -impl ::core::clone::Clone for LockScreenCallEndCallDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenCallEndCallDeferral { type Vtable = ILockScreenCallEndCallDeferral_Vtbl; } @@ -1641,6 +1389,7 @@ unsafe impl ::core::marker::Send for LockScreenCallEndCallDeferral {} unsafe impl ::core::marker::Sync for LockScreenCallEndCallDeferral {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenCallEndRequestedEventArgs(::windows_core::IUnknown); impl LockScreenCallEndRequestedEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -1660,25 +1409,9 @@ impl LockScreenCallEndRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for LockScreenCallEndRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenCallEndRequestedEventArgs {} -impl ::core::fmt::Debug for LockScreenCallEndRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenCallEndRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenCallEndRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallEndRequestedEventArgs;{8190a363-6f27-46e9-aeb6-c0ae83e47dc7})"); } -impl ::core::clone::Clone for LockScreenCallEndRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenCallEndRequestedEventArgs { type Vtable = ILockScreenCallEndRequestedEventArgs_Vtbl; } @@ -1693,6 +1426,7 @@ unsafe impl ::core::marker::Send for LockScreenCallEndRequestedEventArgs {} unsafe impl ::core::marker::Sync for LockScreenCallEndRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenCallUI(::windows_core::IUnknown); impl LockScreenCallUI { pub fn Dismiss(&self) -> ::windows_core::Result<()> { @@ -1747,25 +1481,9 @@ impl LockScreenCallUI { unsafe { (::windows_core::Interface::vtable(this).SetCallTitle)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for LockScreenCallUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenCallUI {} -impl ::core::fmt::Debug for LockScreenCallUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenCallUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenCallUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.LockScreenCallUI;{c596fd8d-73c9-4a14-b021-ec1c50a3b727})"); } -impl ::core::clone::Clone for LockScreenCallUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenCallUI { type Vtable = ILockScreenCallUI_Vtbl; } @@ -1780,6 +1498,7 @@ unsafe impl ::core::marker::Send for LockScreenCallUI {} unsafe impl ::core::marker::Sync for LockScreenCallUI {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MuteChangeEventArgs(::windows_core::IUnknown); impl MuteChangeEventArgs { pub fn Muted(&self) -> ::windows_core::Result { @@ -1790,25 +1509,9 @@ impl MuteChangeEventArgs { } } } -impl ::core::cmp::PartialEq for MuteChangeEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MuteChangeEventArgs {} -impl ::core::fmt::Debug for MuteChangeEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MuteChangeEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MuteChangeEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.MuteChangeEventArgs;{8585e159-0c41-432c-814d-c5f1fdf530be})"); } -impl ::core::clone::Clone for MuteChangeEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MuteChangeEventArgs { type Vtable = IMuteChangeEventArgs_Vtbl; } @@ -1823,6 +1526,7 @@ unsafe impl ::core::marker::Send for MuteChangeEventArgs {} unsafe impl ::core::marker::Sync for MuteChangeEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCall(::windows_core::IUnknown); impl PhoneCall { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2079,25 +1783,9 @@ impl PhoneCall { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneCall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCall {} -impl ::core::fmt::Debug for PhoneCall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCall").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCall { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCall;{c14ed0f8-c17d-59d2-9628-66e545b6cd21})"); } -impl ::core::clone::Clone for PhoneCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCall { type Vtable = IPhoneCall_Vtbl; } @@ -2153,6 +1841,7 @@ impl ::windows_core::RuntimeName for PhoneCallBlocking { } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryEntry(::windows_core::IUnknown); impl PhoneCallHistoryEntry { pub fn new() -> ::windows_core::Result { @@ -2367,25 +2056,9 @@ impl PhoneCallHistoryEntry { unsafe { (::windows_core::Interface::vtable(this).SetStartTime)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PhoneCallHistoryEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryEntry {} -impl ::core::fmt::Debug for PhoneCallHistoryEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntry;{fab0e129-32a4-4b85-83d1-f90d8c23a857})"); } -impl ::core::clone::Clone for PhoneCallHistoryEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryEntry { type Vtable = IPhoneCallHistoryEntry_Vtbl; } @@ -2400,6 +2073,7 @@ unsafe impl ::core::marker::Send for PhoneCallHistoryEntry {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntry {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryEntryAddress(::windows_core::IUnknown); impl PhoneCallHistoryEntryAddress { pub fn new() -> ::windows_core::Result { @@ -2465,25 +2139,9 @@ impl PhoneCallHistoryEntryAddress { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneCallHistoryEntryAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryEntryAddress {} -impl ::core::fmt::Debug for PhoneCallHistoryEntryAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryEntryAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryEntryAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryAddress;{30f159da-3955-4042-84e6-66eebf82e67f})"); } -impl ::core::clone::Clone for PhoneCallHistoryEntryAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryEntryAddress { type Vtable = IPhoneCallHistoryEntryAddress_Vtbl; } @@ -2498,6 +2156,7 @@ unsafe impl ::core::marker::Send for PhoneCallHistoryEntryAddress {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntryAddress {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryEntryQueryOptions(::windows_core::IUnknown); impl PhoneCallHistoryEntryQueryOptions { pub fn new() -> ::windows_core::Result { @@ -2528,25 +2187,9 @@ impl PhoneCallHistoryEntryQueryOptions { } } } -impl ::core::cmp::PartialEq for PhoneCallHistoryEntryQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryEntryQueryOptions {} -impl ::core::fmt::Debug for PhoneCallHistoryEntryQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryEntryQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryEntryQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryQueryOptions;{9c5fe15c-8bed-40ca-b06e-c4ca8eae5c87})"); } -impl ::core::clone::Clone for PhoneCallHistoryEntryQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryEntryQueryOptions { type Vtable = IPhoneCallHistoryEntryQueryOptions_Vtbl; } @@ -2561,6 +2204,7 @@ unsafe impl ::core::marker::Send for PhoneCallHistoryEntryQueryOptions {} unsafe impl ::core::marker::Sync for PhoneCallHistoryEntryQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryEntryReader(::windows_core::IUnknown); impl PhoneCallHistoryEntryReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2573,25 +2217,9 @@ impl PhoneCallHistoryEntryReader { } } } -impl ::core::cmp::PartialEq for PhoneCallHistoryEntryReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryEntryReader {} -impl ::core::fmt::Debug for PhoneCallHistoryEntryReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryEntryReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryEntryReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryEntryReader;{61ece4be-8d86-479f-8404-a9846920fee6})"); } -impl ::core::clone::Clone for PhoneCallHistoryEntryReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryEntryReader { type Vtable = IPhoneCallHistoryEntryReader_Vtbl; } @@ -2642,6 +2270,7 @@ impl ::windows_core::RuntimeName for PhoneCallHistoryManager { } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryManagerForUser(::windows_core::IUnknown); impl PhoneCallHistoryManagerForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2663,25 +2292,9 @@ impl PhoneCallHistoryManagerForUser { } } } -impl ::core::cmp::PartialEq for PhoneCallHistoryManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryManagerForUser {} -impl ::core::fmt::Debug for PhoneCallHistoryManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryManagerForUser;{d925c523-f55f-4353-9db4-0205a5265a55})"); } -impl ::core::clone::Clone for PhoneCallHistoryManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryManagerForUser { type Vtable = IPhoneCallHistoryManagerForUser_Vtbl; } @@ -2696,6 +2309,7 @@ unsafe impl ::core::marker::Send for PhoneCallHistoryManagerForUser {} unsafe impl ::core::marker::Sync for PhoneCallHistoryManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallHistoryStore(::windows_core::IUnknown); impl PhoneCallHistoryStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2827,25 +2441,9 @@ impl PhoneCallHistoryStore { } } } -impl ::core::cmp::PartialEq for PhoneCallHistoryStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallHistoryStore {} -impl ::core::fmt::Debug for PhoneCallHistoryStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallHistoryStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallHistoryStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallHistoryStore;{2f907db8-b40e-422b-8545-cb1910a61c52})"); } -impl ::core::clone::Clone for PhoneCallHistoryStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallHistoryStore { type Vtable = IPhoneCallHistoryStore_Vtbl; } @@ -2860,6 +2458,7 @@ unsafe impl ::core::marker::Send for PhoneCallHistoryStore {} unsafe impl ::core::marker::Sync for PhoneCallHistoryStore {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallInfo(::windows_core::IUnknown); impl PhoneCallInfo { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2907,25 +2506,9 @@ impl PhoneCallInfo { } } } -impl ::core::cmp::PartialEq for PhoneCallInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallInfo {} -impl ::core::fmt::Debug for PhoneCallInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallInfo;{22b42577-3e4d-5dc6-89c2-469fe5ffc189})"); } -impl ::core::clone::Clone for PhoneCallInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallInfo { type Vtable = IPhoneCallInfo_Vtbl; } @@ -2999,6 +2582,7 @@ impl ::windows_core::RuntimeName for PhoneCallManager { } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallStore(::windows_core::IUnknown); impl PhoneCallStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3027,25 +2611,9 @@ impl PhoneCallStore { } } } -impl ::core::cmp::PartialEq for PhoneCallStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallStore {} -impl ::core::fmt::Debug for PhoneCallStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallStore;{5f610748-18a6-4173-86d1-28be9dc62dba})"); } -impl ::core::clone::Clone for PhoneCallStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallStore { type Vtable = IPhoneCallStore_Vtbl; } @@ -3060,6 +2628,7 @@ unsafe impl ::core::marker::Send for PhoneCallStore {} unsafe impl ::core::marker::Sync for PhoneCallStore {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallVideoCapabilities(::windows_core::IUnknown); impl PhoneCallVideoCapabilities { pub fn IsVideoCallingCapable(&self) -> ::windows_core::Result { @@ -3070,25 +2639,9 @@ impl PhoneCallVideoCapabilities { } } } -impl ::core::cmp::PartialEq for PhoneCallVideoCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallVideoCapabilities {} -impl ::core::fmt::Debug for PhoneCallVideoCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallVideoCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallVideoCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallVideoCapabilities;{02382786-b16a-4fdb-be3b-c4240e13ad0d})"); } -impl ::core::clone::Clone for PhoneCallVideoCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallVideoCapabilities { type Vtable = IPhoneCallVideoCapabilities_Vtbl; } @@ -3123,6 +2676,7 @@ impl ::windows_core::RuntimeName for PhoneCallVideoCapabilitiesManager { } #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallsResult(::windows_core::IUnknown); impl PhoneCallsResult { pub fn OperationStatus(&self) -> ::windows_core::Result { @@ -3142,25 +2696,9 @@ impl PhoneCallsResult { } } } -impl ::core::cmp::PartialEq for PhoneCallsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallsResult {} -impl ::core::fmt::Debug for PhoneCallsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneCallsResult;{1bfad365-57cf-57dd-986d-b057c91eac33})"); } -impl ::core::clone::Clone for PhoneCallsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallsResult { type Vtable = IPhoneCallsResult_Vtbl; } @@ -3175,6 +2713,7 @@ unsafe impl ::core::marker::Send for PhoneCallsResult {} unsafe impl ::core::marker::Sync for PhoneCallsResult {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneDialOptions(::windows_core::IUnknown); impl PhoneDialOptions { pub fn new() -> ::windows_core::Result { @@ -3265,25 +2804,9 @@ impl PhoneDialOptions { unsafe { (::windows_core::Interface::vtable(this).SetAudioEndpoint)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PhoneDialOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneDialOptions {} -impl ::core::fmt::Debug for PhoneDialOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneDialOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneDialOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneDialOptions;{b639c4b8-f06f-36cb-a863-823742b5f2d4})"); } -impl ::core::clone::Clone for PhoneDialOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneDialOptions { type Vtable = IPhoneDialOptions_Vtbl; } @@ -3298,6 +2821,7 @@ unsafe impl ::core::marker::Send for PhoneDialOptions {} unsafe impl ::core::marker::Sync for PhoneDialOptions {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLine(::windows_core::IUnknown); impl PhoneLine { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3483,25 +3007,9 @@ impl PhoneLine { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneLine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLine {} -impl ::core::fmt::Debug for PhoneLine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLine").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLine;{27c66f30-6a69-34ca-a2ba-65302530c311})"); } -impl ::core::clone::Clone for PhoneLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLine { type Vtable = IPhoneLine_Vtbl; } @@ -3516,6 +3024,7 @@ unsafe impl ::core::marker::Send for PhoneLine {} unsafe impl ::core::marker::Sync for PhoneLine {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineCellularDetails(::windows_core::IUnknown); impl PhoneLineCellularDetails { pub fn SimState(&self) -> ::windows_core::Result { @@ -3554,25 +3063,9 @@ impl PhoneLineCellularDetails { } } } -impl ::core::cmp::PartialEq for PhoneLineCellularDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineCellularDetails {} -impl ::core::fmt::Debug for PhoneLineCellularDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineCellularDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineCellularDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineCellularDetails;{192601d5-147c-4769-b673-98a5ec8426cb})"); } -impl ::core::clone::Clone for PhoneLineCellularDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineCellularDetails { type Vtable = IPhoneLineCellularDetails_Vtbl; } @@ -3587,6 +3080,7 @@ unsafe impl ::core::marker::Send for PhoneLineCellularDetails {} unsafe impl ::core::marker::Sync for PhoneLineCellularDetails {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineConfiguration(::windows_core::IUnknown); impl PhoneLineConfiguration { pub fn IsVideoCallingEnabled(&self) -> ::windows_core::Result { @@ -3606,25 +3100,9 @@ impl PhoneLineConfiguration { } } } -impl ::core::cmp::PartialEq for PhoneLineConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineConfiguration {} -impl ::core::fmt::Debug for PhoneLineConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineConfiguration;{fe265862-f64f-4312-b2a8-4e257721aa95})"); } -impl ::core::clone::Clone for PhoneLineConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineConfiguration { type Vtable = IPhoneLineConfiguration_Vtbl; } @@ -3639,6 +3117,7 @@ unsafe impl ::core::marker::Send for PhoneLineConfiguration {} unsafe impl ::core::marker::Sync for PhoneLineConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineDialResult(::windows_core::IUnknown); impl PhoneLineDialResult { pub fn DialCallStatus(&self) -> ::windows_core::Result { @@ -3656,25 +3135,9 @@ impl PhoneLineDialResult { } } } -impl ::core::cmp::PartialEq for PhoneLineDialResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineDialResult {} -impl ::core::fmt::Debug for PhoneLineDialResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineDialResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineDialResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineDialResult;{e825a30a-5c7f-546f-b918-3ad2fe70fb34})"); } -impl ::core::clone::Clone for PhoneLineDialResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineDialResult { type Vtable = IPhoneLineDialResult_Vtbl; } @@ -3689,6 +3152,7 @@ unsafe impl ::core::marker::Send for PhoneLineDialResult {} unsafe impl ::core::marker::Sync for PhoneLineDialResult {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineTransportDevice(::windows_core::IUnknown); impl PhoneLineTransportDevice { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3837,25 +3301,9 @@ impl PhoneLineTransportDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneLineTransportDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineTransportDevice {} -impl ::core::fmt::Debug for PhoneLineTransportDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineTransportDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineTransportDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineTransportDevice;{efa8f889-cffa-59f4-97e4-74705b7dc490})"); } -impl ::core::clone::Clone for PhoneLineTransportDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineTransportDevice { type Vtable = IPhoneLineTransportDevice_Vtbl; } @@ -3870,6 +3318,7 @@ unsafe impl ::core::marker::Send for PhoneLineTransportDevice {} unsafe impl ::core::marker::Sync for PhoneLineTransportDevice {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineWatcher(::windows_core::IUnknown); impl PhoneLineWatcher { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -3978,25 +3427,9 @@ impl PhoneLineWatcher { } } } -impl ::core::cmp::PartialEq for PhoneLineWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineWatcher {} -impl ::core::fmt::Debug for PhoneLineWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcher;{8a45cd0a-6323-44e0-a6f6-9f21f64dc90a})"); } -impl ::core::clone::Clone for PhoneLineWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineWatcher { type Vtable = IPhoneLineWatcher_Vtbl; } @@ -4011,6 +3444,7 @@ unsafe impl ::core::marker::Send for PhoneLineWatcher {} unsafe impl ::core::marker::Sync for PhoneLineWatcher {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineWatcherEventArgs(::windows_core::IUnknown); impl PhoneLineWatcherEventArgs { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4021,25 +3455,9 @@ impl PhoneLineWatcherEventArgs { } } } -impl ::core::cmp::PartialEq for PhoneLineWatcherEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineWatcherEventArgs {} -impl ::core::fmt::Debug for PhoneLineWatcherEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineWatcherEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineWatcherEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneLineWatcherEventArgs;{d07c753e-9e12-4a37-82b7-ad535dad6a67})"); } -impl ::core::clone::Clone for PhoneLineWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineWatcherEventArgs { type Vtable = IPhoneLineWatcherEventArgs_Vtbl; } @@ -4054,6 +3472,7 @@ unsafe impl ::core::marker::Send for PhoneLineWatcherEventArgs {} unsafe impl ::core::marker::Sync for PhoneLineWatcherEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneVoicemail(::windows_core::IUnknown); impl PhoneVoicemail { pub fn Number(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4087,25 +3506,9 @@ impl PhoneVoicemail { } } } -impl ::core::cmp::PartialEq for PhoneVoicemail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneVoicemail {} -impl ::core::fmt::Debug for PhoneVoicemail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneVoicemail").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneVoicemail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.PhoneVoicemail;{c9ce77f6-6e9f-3a8b-b727-6e0cf6998224})"); } -impl ::core::clone::Clone for PhoneVoicemail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneVoicemail { type Vtable = IPhoneVoicemail_Vtbl; } @@ -4120,6 +3523,7 @@ unsafe impl ::core::marker::Send for PhoneVoicemail {} unsafe impl ::core::marker::Sync for PhoneVoicemail {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoipCallCoordinator(::windows_core::IUnknown); impl VoipCallCoordinator { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4256,25 +3660,9 @@ impl VoipCallCoordinator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VoipCallCoordinator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoipCallCoordinator {} -impl ::core::fmt::Debug for VoipCallCoordinator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoipCallCoordinator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoipCallCoordinator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipCallCoordinator;{4f118bcf-e8ef-4434-9c5f-a8d893fafe79})"); } -impl ::core::clone::Clone for VoipCallCoordinator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoipCallCoordinator { type Vtable = IVoipCallCoordinator_Vtbl; } @@ -4289,6 +3677,7 @@ unsafe impl ::core::marker::Send for VoipCallCoordinator {} unsafe impl ::core::marker::Sync for VoipCallCoordinator {} #[doc = "*Required features: `\"ApplicationModel_Calls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoipPhoneCall(::windows_core::IUnknown); impl VoipPhoneCall { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4443,25 +3832,9 @@ impl VoipPhoneCall { unsafe { (::windows_core::Interface::vtable(this).NotifyCallAccepted)(::windows_core::Interface::as_raw(this), media).ok() } } } -impl ::core::cmp::PartialEq for VoipPhoneCall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoipPhoneCall {} -impl ::core::fmt::Debug for VoipPhoneCall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoipPhoneCall").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoipPhoneCall { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Calls.VoipPhoneCall;{6cf1f19a-7794-4a5a-8c68-ae87947a6990})"); } -impl ::core::clone::Clone for VoipPhoneCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoipPhoneCall { type Vtable = IVoipPhoneCall_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs index 071741ed2b..e0ec23495c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs @@ -20,7 +20,7 @@ impl IChatItem_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ItemKind: ItemKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index 9d1c493362..96ddd8bdf6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatCapabilities { type Vtable = IChatCapabilities_Vtbl; } -impl ::core::clone::Clone for IChatCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3aff77bc_39c9_4dd1_ad2d_3964dd9d403f); } @@ -24,15 +20,11 @@ pub struct IChatCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatCapabilitiesManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatCapabilitiesManagerStatics { type Vtable = IChatCapabilitiesManagerStatics_Vtbl; } -impl ::core::clone::Clone for IChatCapabilitiesManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatCapabilitiesManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb57a2f30_7041_458e_b0cf_7c0d9fea333a); } @@ -51,15 +43,11 @@ pub struct IChatCapabilitiesManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatCapabilitiesManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatCapabilitiesManagerStatics2 { type Vtable = IChatCapabilitiesManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IChatCapabilitiesManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatCapabilitiesManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe30d4274_d5c1_4ac9_9ffc_40e69184fec8); } @@ -78,15 +66,11 @@ pub struct IChatCapabilitiesManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatConversation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatConversation { type Vtable = IChatConversation_Vtbl; } -impl ::core::clone::Clone for IChatConversation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatConversation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa58c080d_1a6f_46dc_8f3d_f5028660b6ee); } @@ -136,15 +120,11 @@ pub struct IChatConversation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatConversation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatConversation2 { type Vtable = IChatConversation2_Vtbl; } -impl ::core::clone::Clone for IChatConversation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatConversation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a030cd1_983a_47aa_9a90_ee48ee997b59); } @@ -157,15 +137,11 @@ pub struct IChatConversation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatConversationReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatConversationReader { type Vtable = IChatConversationReader_Vtbl; } -impl ::core::clone::Clone for IChatConversationReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatConversationReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x055136d2_de32_4a47_a93a_b3dc0833852b); } @@ -184,15 +160,11 @@ pub struct IChatConversationReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatConversationThreadingInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatConversationThreadingInfo { type Vtable = IChatConversationThreadingInfo_Vtbl; } -impl ::core::clone::Clone for IChatConversationThreadingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatConversationThreadingInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x331c21dc_7a07_4422_a32c_24be7c6dab24); } @@ -215,6 +187,7 @@ pub struct IChatConversationThreadingInfo_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatItem(::windows_core::IUnknown); impl IChatItem { pub fn ItemKind(&self) -> ::windows_core::Result { @@ -226,28 +199,12 @@ impl IChatItem { } } ::windows_core::imp::interface_hierarchy!(IChatItem, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IChatItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChatItem {} -impl ::core::fmt::Debug for IChatItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChatItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IChatItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8751d000-ceb1-4243-b803-15d45a1dd428}"); } unsafe impl ::windows_core::Interface for IChatItem { type Vtable = IChatItem_Vtbl; } -impl ::core::clone::Clone for IChatItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8751d000_ceb1_4243_b803_15d45a1dd428); } @@ -259,15 +216,11 @@ pub struct IChatItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessage { type Vtable = IChatMessage_Vtbl; } -impl ::core::clone::Clone for IChatMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b39052a_1142_5089_76da_f2db3d17cd05); } @@ -310,15 +263,11 @@ pub struct IChatMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessage2 { type Vtable = IChatMessage2_Vtbl; } -impl ::core::clone::Clone for IChatMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86668332_543f_49f5_ac71_6c2afc6565fd); } @@ -366,15 +315,11 @@ pub struct IChatMessage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessage3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessage3 { type Vtable = IChatMessage3_Vtbl; } -impl ::core::clone::Clone for IChatMessage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74eb2fb0_3ba7_459f_8e0b_e8af0febd9ad); } @@ -386,15 +331,11 @@ pub struct IChatMessage3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessage4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessage4 { type Vtable = IChatMessage4_Vtbl; } -impl ::core::clone::Clone for IChatMessage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d144b0f_d2bf_460c_aa68_6d3f8483c9bf); } @@ -407,15 +348,11 @@ pub struct IChatMessage4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageAttachment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageAttachment { type Vtable = IChatMessageAttachment_Vtbl; } -impl ::core::clone::Clone for IChatMessageAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageAttachment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7c4fd74_bf63_58eb_508c_8b863ff16b67); } @@ -440,15 +377,11 @@ pub struct IChatMessageAttachment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageAttachment2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageAttachment2 { type Vtable = IChatMessageAttachment2_Vtbl; } -impl ::core::clone::Clone for IChatMessageAttachment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageAttachment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ed99270_7dd1_4a87_a8ce_acdd87d80dc8); } @@ -471,15 +404,11 @@ pub struct IChatMessageAttachment2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageAttachmentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageAttachmentFactory { type Vtable = IChatMessageAttachmentFactory_Vtbl; } -impl ::core::clone::Clone for IChatMessageAttachmentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageAttachmentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x205852a2_a356_5b71_6ca9_66c985b7d0d5); } @@ -494,15 +423,11 @@ pub struct IChatMessageAttachmentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageBlockingStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageBlockingStatic { type Vtable = IChatMessageBlockingStatic_Vtbl; } -impl ::core::clone::Clone for IChatMessageBlockingStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageBlockingStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6b9a380_cdea_11e4_8830_0800200c9a66); } @@ -517,15 +442,11 @@ pub struct IChatMessageBlockingStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageChange { type Vtable = IChatMessageChange_Vtbl; } -impl ::core::clone::Clone for IChatMessageChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c18c355_421e_54b8_6d38_6b3a6c82fccc); } @@ -538,15 +459,11 @@ pub struct IChatMessageChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageChangeReader { type Vtable = IChatMessageChangeReader_Vtbl; } -impl ::core::clone::Clone for IChatMessageChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14267020_28ce_5f26_7b05_9a5c7cce87ca); } @@ -563,15 +480,11 @@ pub struct IChatMessageChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageChangeTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageChangeTracker { type Vtable = IChatMessageChangeTracker_Vtbl; } -impl ::core::clone::Clone for IChatMessageChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageChangeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60b7f066_70a0_5224_508c_242ef7c1d06f); } @@ -585,15 +498,11 @@ pub struct IChatMessageChangeTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageChangedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageChangedDeferral { type Vtable = IChatMessageChangedDeferral_Vtbl; } -impl ::core::clone::Clone for IChatMessageChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageChangedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc6b30c_788c_4dcc_ace7_6282382968cf); } @@ -605,15 +514,11 @@ pub struct IChatMessageChangedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageChangedEventArgs { type Vtable = IChatMessageChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IChatMessageChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6b73e2d_691c_4edf_8660_6eb9896892e3); } @@ -625,15 +530,11 @@ pub struct IChatMessageChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageManager2Statics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageManager2Statics { type Vtable = IChatMessageManager2Statics_Vtbl; } -impl ::core::clone::Clone for IChatMessageManager2Statics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageManager2Statics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d45390f_9f4f_4e35_964e_1b9ca61ac044); } @@ -652,15 +553,11 @@ pub struct IChatMessageManager2Statics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageManagerStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageManagerStatic { type Vtable = IChatMessageManagerStatic_Vtbl; } -impl ::core::clone::Clone for IChatMessageManagerStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageManagerStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf15c60f7_d5e8_5e92_556d_e03b60253104); } @@ -684,15 +581,11 @@ pub struct IChatMessageManagerStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageManagerStatics3 { type Vtable = IChatMessageManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IChatMessageManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x208b830d_6755_48cc_9ab3_fd03c463fc92); } @@ -707,15 +600,11 @@ pub struct IChatMessageManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageNotificationTriggerDetails { type Vtable = IChatMessageNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IChatMessageNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd344dfb_3063_4e17_8586_c6c08262e6c0); } @@ -727,15 +616,11 @@ pub struct IChatMessageNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageNotificationTriggerDetails2 { type Vtable = IChatMessageNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IChatMessageNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bb522e0_aa07_4fd1_9471_77934fb75ee6); } @@ -750,15 +635,11 @@ pub struct IChatMessageNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageReader { type Vtable = IChatMessageReader_Vtbl; } -impl ::core::clone::Clone for IChatMessageReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6ea78ce_4489_56f9_76aa_e204682514cf); } @@ -773,15 +654,11 @@ pub struct IChatMessageReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageReader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageReader2 { type Vtable = IChatMessageReader2_Vtbl; } -impl ::core::clone::Clone for IChatMessageReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89643683_64bb_470d_9df4_0de8be1a05bf); } @@ -796,15 +673,11 @@ pub struct IChatMessageReader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageStore { type Vtable = IChatMessageStore_Vtbl; } -impl ::core::clone::Clone for IChatMessageStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31f2fd01_ccf6_580b_4976_0a07dd5d3b47); } @@ -854,15 +727,11 @@ pub struct IChatMessageStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageStore2 { type Vtable = IChatMessageStore2_Vtbl; } -impl ::core::clone::Clone for IChatMessageStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad4dc4ee_3ad4_491b_b311_abdf9bb22768); } @@ -935,15 +804,11 @@ pub struct IChatMessageStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageStore3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageStore3 { type Vtable = IChatMessageStore3_Vtbl; } -impl ::core::clone::Clone for IChatMessageStore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageStore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9adbbb09_4345_4ec1_8b74_b7338243719c); } @@ -958,15 +823,11 @@ pub struct IChatMessageStore3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageStoreChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageStoreChangedEventArgs { type Vtable = IChatMessageStoreChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IChatMessageStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageStoreChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65c66fac_fe8c_46d4_9119_57b8410311d5); } @@ -979,15 +840,11 @@ pub struct IChatMessageStoreChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageTransport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageTransport { type Vtable = IChatMessageTransport_Vtbl; } -impl ::core::clone::Clone for IChatMessageTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63a9dbf8_e6b3_5c9a_5f85_d47925b9bd18); } @@ -1006,15 +863,11 @@ pub struct IChatMessageTransport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageTransport2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageTransport2 { type Vtable = IChatMessageTransport2_Vtbl; } -impl ::core::clone::Clone for IChatMessageTransport2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageTransport2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90a75622_d84a_4c22_a94d_544444edc8a1); } @@ -1027,15 +880,11 @@ pub struct IChatMessageTransport2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageTransportConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageTransportConfiguration { type Vtable = IChatMessageTransportConfiguration_Vtbl; } -impl ::core::clone::Clone for IChatMessageTransportConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageTransportConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x879ff725_1a08_4aca_a075_3355126312e6); } @@ -1057,15 +906,11 @@ pub struct IChatMessageTransportConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatMessageValidationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatMessageValidationResult { type Vtable = IChatMessageValidationResult_Vtbl; } -impl ::core::clone::Clone for IChatMessageValidationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatMessageValidationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25e93a03_28ec_5889_569b_7e486b126f18); } @@ -1089,15 +934,11 @@ pub struct IChatMessageValidationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatQueryOptions { type Vtable = IChatQueryOptions_Vtbl; } -impl ::core::clone::Clone for IChatQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fd364a6_bf36_42f7_b7e7_923c0aabfe16); } @@ -1110,15 +951,11 @@ pub struct IChatQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatRecipientDeliveryInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatRecipientDeliveryInfo { type Vtable = IChatRecipientDeliveryInfo_Vtbl; } -impl ::core::clone::Clone for IChatRecipientDeliveryInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatRecipientDeliveryInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffc7b2a2_283c_4c0a_8a0e_8c33bdbf0545); } @@ -1152,15 +989,11 @@ pub struct IChatRecipientDeliveryInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatSearchReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatSearchReader { type Vtable = IChatSearchReader_Vtbl; } -impl ::core::clone::Clone for IChatSearchReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatSearchReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4665fe49_9020_4752_980d_39612325f589); } @@ -1179,15 +1012,11 @@ pub struct IChatSearchReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatSyncConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatSyncConfiguration { type Vtable = IChatSyncConfiguration_Vtbl; } -impl ::core::clone::Clone for IChatSyncConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatSyncConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09f869b2_69f4_4aff_82b6_06992ff402d2); } @@ -1202,15 +1031,11 @@ pub struct IChatSyncConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChatSyncManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChatSyncManager { type Vtable = IChatSyncManager_Vtbl; } -impl ::core::clone::Clone for IChatSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChatSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ba52c63_2650_486f_b4b4_6bd9d3d63c84); } @@ -1239,15 +1064,11 @@ pub struct IChatSyncManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessage { type Vtable = IRcsEndUserMessage_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7cda5eb_cbd7_4f3b_8526_b506dec35c53); } @@ -1274,15 +1095,11 @@ pub struct IRcsEndUserMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessageAction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessageAction { type Vtable = IRcsEndUserMessageAction_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessageAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessageAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92378737_9b42_46d3_9d5e_3c1b2dae7cb8); } @@ -1294,15 +1111,11 @@ pub struct IRcsEndUserMessageAction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessageAvailableEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessageAvailableEventArgs { type Vtable = IRcsEndUserMessageAvailableEventArgs_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessageAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessageAvailableEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d45ae01_3f89_41ea_9702_9e9ed411aa98); } @@ -1315,15 +1128,11 @@ pub struct IRcsEndUserMessageAvailableEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessageAvailableTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessageAvailableTriggerDetails { type Vtable = IRcsEndUserMessageAvailableTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessageAvailableTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessageAvailableTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b97742d_351f_4692_b41e_1b035dc18986); } @@ -1336,15 +1145,11 @@ pub struct IRcsEndUserMessageAvailableTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsEndUserMessageManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsEndUserMessageManager { type Vtable = IRcsEndUserMessageManager_Vtbl; } -impl ::core::clone::Clone for IRcsEndUserMessageManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsEndUserMessageManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3054ae5a_4d1f_4b59_9433_126c734e86a6); } @@ -1363,15 +1168,11 @@ pub struct IRcsEndUserMessageManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsManagerStatics { type Vtable = IRcsManagerStatics_Vtbl; } -impl ::core::clone::Clone for IRcsManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d270ac5_0abd_4f31_9b99_a59e71a7b731); } @@ -1395,15 +1196,11 @@ pub struct IRcsManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsManagerStatics2 { type Vtable = IRcsManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IRcsManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd49ad18_ad8a_42aa_8eeb_a798a8808959); } @@ -1422,15 +1219,11 @@ pub struct IRcsManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsServiceKindSupportedChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsServiceKindSupportedChangedEventArgs { type Vtable = IRcsServiceKindSupportedChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRcsServiceKindSupportedChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsServiceKindSupportedChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf47ea244_e783_4866_b3a7_4e5ccf023070); } @@ -1442,15 +1235,11 @@ pub struct IRcsServiceKindSupportedChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsTransport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsTransport { type Vtable = IRcsTransport_Vtbl; } -impl ::core::clone::Clone for IRcsTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfea34759_f37c_4319_8546_ec84d21d30ff); } @@ -1479,15 +1268,11 @@ pub struct IRcsTransport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRcsTransportConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRcsTransportConfiguration { type Vtable = IRcsTransportConfiguration_Vtbl; } -impl ::core::clone::Clone for IRcsTransportConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRcsTransportConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fccb102_2472_4bb9_9988_c1211c83e8a9); } @@ -1504,15 +1289,11 @@ pub struct IRcsTransportConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteParticipantComposingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteParticipantComposingChangedEventArgs { type Vtable = IRemoteParticipantComposingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteParticipantComposingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteParticipantComposingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ec045a7_cfc9_45c9_9876_449f2bc180f5); } @@ -1526,6 +1307,7 @@ pub struct IRemoteParticipantComposingChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatCapabilities(::windows_core::IUnknown); impl ChatCapabilities { pub fn IsOnline(&self) -> ::windows_core::Result { @@ -1564,25 +1346,9 @@ impl ChatCapabilities { } } } -impl ::core::cmp::PartialEq for ChatCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatCapabilities {} -impl ::core::fmt::Debug for ChatCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatCapabilities;{3aff77bc-39c9-4dd1-ad2d-3964dd9d403f})"); } -impl ::core::clone::Clone for ChatCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatCapabilities { type Vtable = IChatCapabilities_Vtbl; } @@ -1646,6 +1412,7 @@ impl ::windows_core::RuntimeName for ChatCapabilitiesManager { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatConversation(::windows_core::IUnknown); impl ChatConversation { pub fn HasUnreadMessages(&self) -> ::windows_core::Result { @@ -1795,25 +1562,9 @@ impl ChatConversation { } } } -impl ::core::cmp::PartialEq for ChatConversation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatConversation {} -impl ::core::fmt::Debug for ChatConversation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatConversation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatConversation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversation;{a58c080d-1a6f-46dc-8f3d-f5028660b6ee})"); } -impl ::core::clone::Clone for ChatConversation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatConversation { type Vtable = IChatConversation_Vtbl; } @@ -1829,6 +1580,7 @@ unsafe impl ::core::marker::Send for ChatConversation {} unsafe impl ::core::marker::Sync for ChatConversation {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatConversationReader(::windows_core::IUnknown); impl ChatConversationReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1850,25 +1602,9 @@ impl ChatConversationReader { } } } -impl ::core::cmp::PartialEq for ChatConversationReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatConversationReader {} -impl ::core::fmt::Debug for ChatConversationReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatConversationReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatConversationReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationReader;{055136d2-de32-4a47-a93a-b3dc0833852b})"); } -impl ::core::clone::Clone for ChatConversationReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatConversationReader { type Vtable = IChatConversationReader_Vtbl; } @@ -1883,6 +1619,7 @@ unsafe impl ::core::marker::Send for ChatConversationReader {} unsafe impl ::core::marker::Sync for ChatConversationReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatConversationThreadingInfo(::windows_core::IUnknown); impl ChatConversationThreadingInfo { pub fn new() -> ::windows_core::Result { @@ -1946,25 +1683,9 @@ impl ChatConversationThreadingInfo { unsafe { (::windows_core::Interface::vtable(this).SetKind)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ChatConversationThreadingInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatConversationThreadingInfo {} -impl ::core::fmt::Debug for ChatConversationThreadingInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatConversationThreadingInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatConversationThreadingInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo;{331c21dc-7a07-4422-a32c-24be7c6dab24})"); } -impl ::core::clone::Clone for ChatConversationThreadingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatConversationThreadingInfo { type Vtable = IChatConversationThreadingInfo_Vtbl; } @@ -1979,6 +1700,7 @@ unsafe impl ::core::marker::Send for ChatConversationThreadingInfo {} unsafe impl ::core::marker::Sync for ChatConversationThreadingInfo {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessage(::windows_core::IUnknown); impl ChatMessage { pub fn new() -> ::windows_core::Result { @@ -2291,25 +2013,9 @@ impl ChatMessage { unsafe { (::windows_core::Interface::vtable(this).SetSyncId)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ChatMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessage {} -impl ::core::fmt::Debug for ChatMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessage;{4b39052a-1142-5089-76da-f2db3d17cd05})"); } -impl ::core::clone::Clone for ChatMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessage { type Vtable = IChatMessage_Vtbl; } @@ -2325,6 +2031,7 @@ unsafe impl ::core::marker::Send for ChatMessage {} unsafe impl ::core::marker::Sync for ChatMessage {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageAttachment(::windows_core::IUnknown); impl ChatMessageAttachment { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2435,25 +2142,9 @@ impl ChatMessageAttachment { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ChatMessageAttachment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageAttachment {} -impl ::core::fmt::Debug for ChatMessageAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageAttachment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageAttachment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageAttachment;{c7c4fd74-bf63-58eb-508c-8b863ff16b67})"); } -impl ::core::clone::Clone for ChatMessageAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageAttachment { type Vtable = IChatMessageAttachment_Vtbl; } @@ -2488,6 +2179,7 @@ impl ::windows_core::RuntimeName for ChatMessageBlocking { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageChange(::windows_core::IUnknown); impl ChatMessageChange { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -2505,25 +2197,9 @@ impl ChatMessageChange { } } } -impl ::core::cmp::PartialEq for ChatMessageChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageChange {} -impl ::core::fmt::Debug for ChatMessageChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChange;{1c18c355-421e-54b8-6d38-6b3a6c82fccc})"); } -impl ::core::clone::Clone for ChatMessageChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageChange { type Vtable = IChatMessageChange_Vtbl; } @@ -2538,6 +2214,7 @@ unsafe impl ::core::marker::Send for ChatMessageChange {} unsafe impl ::core::marker::Sync for ChatMessageChange {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageChangeReader(::windows_core::IUnknown); impl ChatMessageChangeReader { pub fn AcceptChanges(&self) -> ::windows_core::Result<()> { @@ -2561,25 +2238,9 @@ impl ChatMessageChangeReader { } } } -impl ::core::cmp::PartialEq for ChatMessageChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageChangeReader {} -impl ::core::fmt::Debug for ChatMessageChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeReader;{14267020-28ce-5f26-7b05-9a5c7cce87ca})"); } -impl ::core::clone::Clone for ChatMessageChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageChangeReader { type Vtable = IChatMessageChangeReader_Vtbl; } @@ -2594,6 +2255,7 @@ unsafe impl ::core::marker::Send for ChatMessageChangeReader {} unsafe impl ::core::marker::Sync for ChatMessageChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageChangeTracker(::windows_core::IUnknown); impl ChatMessageChangeTracker { pub fn Enable(&self) -> ::windows_core::Result<()> { @@ -2612,25 +2274,9 @@ impl ChatMessageChangeTracker { unsafe { (::windows_core::Interface::vtable(this).Reset)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ChatMessageChangeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageChangeTracker {} -impl ::core::fmt::Debug for ChatMessageChangeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageChangeTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageChangeTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangeTracker;{60b7f066-70a0-5224-508c-242ef7c1d06f})"); } -impl ::core::clone::Clone for ChatMessageChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageChangeTracker { type Vtable = IChatMessageChangeTracker_Vtbl; } @@ -2645,6 +2291,7 @@ unsafe impl ::core::marker::Send for ChatMessageChangeTracker {} unsafe impl ::core::marker::Sync for ChatMessageChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageChangedDeferral(::windows_core::IUnknown); impl ChatMessageChangedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -2652,25 +2299,9 @@ impl ChatMessageChangedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ChatMessageChangedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageChangedDeferral {} -impl ::core::fmt::Debug for ChatMessageChangedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageChangedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageChangedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedDeferral;{fbc6b30c-788c-4dcc-ace7-6282382968cf})"); } -impl ::core::clone::Clone for ChatMessageChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageChangedDeferral { type Vtable = IChatMessageChangedDeferral_Vtbl; } @@ -2685,6 +2316,7 @@ unsafe impl ::core::marker::Send for ChatMessageChangedDeferral {} unsafe impl ::core::marker::Sync for ChatMessageChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageChangedEventArgs(::windows_core::IUnknown); impl ChatMessageChangedEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -2695,25 +2327,9 @@ impl ChatMessageChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ChatMessageChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageChangedEventArgs {} -impl ::core::fmt::Debug for ChatMessageChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs;{b6b73e2d-691c-4edf-8660-6eb9896892e3})"); } -impl ::core::clone::Clone for ChatMessageChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageChangedEventArgs { type Vtable = IChatMessageChangedEventArgs_Vtbl; } @@ -2804,6 +2420,7 @@ impl ::windows_core::RuntimeName for ChatMessageManager { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageNotificationTriggerDetails(::windows_core::IUnknown); impl ChatMessageNotificationTriggerDetails { pub fn ChatMessage(&self) -> ::windows_core::Result { @@ -2842,25 +2459,9 @@ impl ChatMessageNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for ChatMessageNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageNotificationTriggerDetails {} -impl ::core::fmt::Debug for ChatMessageNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails;{fd344dfb-3063-4e17-8586-c6c08262e6c0})"); } -impl ::core::clone::Clone for ChatMessageNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageNotificationTriggerDetails { type Vtable = IChatMessageNotificationTriggerDetails_Vtbl; } @@ -2875,6 +2476,7 @@ unsafe impl ::core::marker::Send for ChatMessageNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for ChatMessageNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageReader(::windows_core::IUnknown); impl ChatMessageReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2896,25 +2498,9 @@ impl ChatMessageReader { } } } -impl ::core::cmp::PartialEq for ChatMessageReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageReader {} -impl ::core::fmt::Debug for ChatMessageReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageReader;{b6ea78ce-4489-56f9-76aa-e204682514cf})"); } -impl ::core::clone::Clone for ChatMessageReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageReader { type Vtable = IChatMessageReader_Vtbl; } @@ -2929,6 +2515,7 @@ unsafe impl ::core::marker::Send for ChatMessageReader {} unsafe impl ::core::marker::Sync for ChatMessageReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageStore(::windows_core::IUnknown); impl ChatMessageStore { pub fn ChangeTracker(&self) -> ::windows_core::Result { @@ -3222,25 +2809,9 @@ impl ChatMessageStore { } } } -impl ::core::cmp::PartialEq for ChatMessageStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageStore {} -impl ::core::fmt::Debug for ChatMessageStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStore;{31f2fd01-ccf6-580b-4976-0a07dd5d3b47})"); } -impl ::core::clone::Clone for ChatMessageStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageStore { type Vtable = IChatMessageStore_Vtbl; } @@ -3255,6 +2826,7 @@ unsafe impl ::core::marker::Send for ChatMessageStore {} unsafe impl ::core::marker::Sync for ChatMessageStore {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageStoreChangedEventArgs(::windows_core::IUnknown); impl ChatMessageStoreChangedEventArgs { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3272,25 +2844,9 @@ impl ChatMessageStoreChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ChatMessageStoreChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageStoreChangedEventArgs {} -impl ::core::fmt::Debug for ChatMessageStoreChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageStoreChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageStoreChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs;{65c66fac-fe8c-46d4-9119-57b8410311d5})"); } -impl ::core::clone::Clone for ChatMessageStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageStoreChangedEventArgs { type Vtable = IChatMessageStoreChangedEventArgs_Vtbl; } @@ -3305,6 +2861,7 @@ unsafe impl ::core::marker::Send for ChatMessageStoreChangedEventArgs {} unsafe impl ::core::marker::Sync for ChatMessageStoreChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageTransport(::windows_core::IUnknown); impl ChatMessageTransport { pub fn IsAppSetAsNotificationProvider(&self) -> ::windows_core::Result { @@ -3359,25 +2916,9 @@ impl ChatMessageTransport { } } } -impl ::core::cmp::PartialEq for ChatMessageTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageTransport {} -impl ::core::fmt::Debug for ChatMessageTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageTransport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageTransport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransport;{63a9dbf8-e6b3-5c9a-5f85-d47925b9bd18})"); } -impl ::core::clone::Clone for ChatMessageTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageTransport { type Vtable = IChatMessageTransport_Vtbl; } @@ -3392,6 +2933,7 @@ unsafe impl ::core::marker::Send for ChatMessageTransport {} unsafe impl ::core::marker::Sync for ChatMessageTransport {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageTransportConfiguration(::windows_core::IUnknown); impl ChatMessageTransportConfiguration { pub fn MaxAttachmentCount(&self) -> ::windows_core::Result { @@ -3434,25 +2976,9 @@ impl ChatMessageTransportConfiguration { } } } -impl ::core::cmp::PartialEq for ChatMessageTransportConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageTransportConfiguration {} -impl ::core::fmt::Debug for ChatMessageTransportConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageTransportConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageTransportConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration;{879ff725-1a08-4aca-a075-3355126312e6})"); } -impl ::core::clone::Clone for ChatMessageTransportConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageTransportConfiguration { type Vtable = IChatMessageTransportConfiguration_Vtbl; } @@ -3467,6 +2993,7 @@ unsafe impl ::core::marker::Send for ChatMessageTransportConfiguration {} unsafe impl ::core::marker::Sync for ChatMessageTransportConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatMessageValidationResult(::windows_core::IUnknown); impl ChatMessageValidationResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3504,25 +3031,9 @@ impl ChatMessageValidationResult { } } } -impl ::core::cmp::PartialEq for ChatMessageValidationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatMessageValidationResult {} -impl ::core::fmt::Debug for ChatMessageValidationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatMessageValidationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatMessageValidationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatMessageValidationResult;{25e93a03-28ec-5889-569b-7e486b126f18})"); } -impl ::core::clone::Clone for ChatMessageValidationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatMessageValidationResult { type Vtable = IChatMessageValidationResult_Vtbl; } @@ -3537,6 +3048,7 @@ unsafe impl ::core::marker::Send for ChatMessageValidationResult {} unsafe impl ::core::marker::Sync for ChatMessageValidationResult {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatQueryOptions(::windows_core::IUnknown); impl ChatQueryOptions { pub fn new() -> ::windows_core::Result { @@ -3558,25 +3070,9 @@ impl ChatQueryOptions { unsafe { (::windows_core::Interface::vtable(this).SetSearchString)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ChatQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatQueryOptions {} -impl ::core::fmt::Debug for ChatQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatQueryOptions;{2fd364a6-bf36-42f7-b7e7-923c0aabfe16})"); } -impl ::core::clone::Clone for ChatQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatQueryOptions { type Vtable = IChatQueryOptions_Vtbl; } @@ -3591,6 +3087,7 @@ unsafe impl ::core::marker::Send for ChatQueryOptions {} unsafe impl ::core::marker::Sync for ChatQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatRecipientDeliveryInfo(::windows_core::IUnknown); impl ChatRecipientDeliveryInfo { pub fn new() -> ::windows_core::Result { @@ -3683,25 +3180,9 @@ impl ChatRecipientDeliveryInfo { } } } -impl ::core::cmp::PartialEq for ChatRecipientDeliveryInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatRecipientDeliveryInfo {} -impl ::core::fmt::Debug for ChatRecipientDeliveryInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatRecipientDeliveryInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatRecipientDeliveryInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo;{ffc7b2a2-283c-4c0a-8a0e-8c33bdbf0545})"); } -impl ::core::clone::Clone for ChatRecipientDeliveryInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatRecipientDeliveryInfo { type Vtable = IChatRecipientDeliveryInfo_Vtbl; } @@ -3716,6 +3197,7 @@ unsafe impl ::core::marker::Send for ChatRecipientDeliveryInfo {} unsafe impl ::core::marker::Sync for ChatRecipientDeliveryInfo {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatSearchReader(::windows_core::IUnknown); impl ChatSearchReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3737,25 +3219,9 @@ impl ChatSearchReader { } } } -impl ::core::cmp::PartialEq for ChatSearchReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatSearchReader {} -impl ::core::fmt::Debug for ChatSearchReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatSearchReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatSearchReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSearchReader;{4665fe49-9020-4752-980d-39612325f589})"); } -impl ::core::clone::Clone for ChatSearchReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatSearchReader { type Vtable = IChatSearchReader_Vtbl; } @@ -3770,6 +3236,7 @@ unsafe impl ::core::marker::Send for ChatSearchReader {} unsafe impl ::core::marker::Sync for ChatSearchReader {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatSyncConfiguration(::windows_core::IUnknown); impl ChatSyncConfiguration { pub fn IsSyncEnabled(&self) -> ::windows_core::Result { @@ -3795,25 +3262,9 @@ impl ChatSyncConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetRestoreHistorySpan)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ChatSyncConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatSyncConfiguration {} -impl ::core::fmt::Debug for ChatSyncConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatSyncConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatSyncConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncConfiguration;{09f869b2-69f4-4aff-82b6-06992ff402d2})"); } -impl ::core::clone::Clone for ChatSyncConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatSyncConfiguration { type Vtable = IChatSyncConfiguration_Vtbl; } @@ -3828,6 +3279,7 @@ unsafe impl ::core::marker::Send for ChatSyncConfiguration {} unsafe impl ::core::marker::Sync for ChatSyncConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChatSyncManager(::windows_core::IUnknown); impl ChatSyncManager { pub fn Configuration(&self) -> ::windows_core::Result { @@ -3887,25 +3339,9 @@ impl ChatSyncManager { } } } -impl ::core::cmp::PartialEq for ChatSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChatSyncManager {} -impl ::core::fmt::Debug for ChatSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChatSyncManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChatSyncManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.ChatSyncManager;{7ba52c63-2650-486f-b4b4-6bd9d3d63c84})"); } -impl ::core::clone::Clone for ChatSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChatSyncManager { type Vtable = IChatSyncManager_Vtbl; } @@ -3920,6 +3356,7 @@ unsafe impl ::core::marker::Send for ChatSyncManager {} unsafe impl ::core::marker::Sync for ChatSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessage(::windows_core::IUnknown); impl RcsEndUserMessage { pub fn TransportId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3984,25 +3421,9 @@ impl RcsEndUserMessage { } } } -impl ::core::cmp::PartialEq for RcsEndUserMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessage {} -impl ::core::fmt::Debug for RcsEndUserMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessage;{d7cda5eb-cbd7-4f3b-8526-b506dec35c53})"); } -impl ::core::clone::Clone for RcsEndUserMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessage { type Vtable = IRcsEndUserMessage_Vtbl; } @@ -4017,6 +3438,7 @@ unsafe impl ::core::marker::Send for RcsEndUserMessage {} unsafe impl ::core::marker::Sync for RcsEndUserMessage {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessageAction(::windows_core::IUnknown); impl RcsEndUserMessageAction { pub fn Label(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4027,25 +3449,9 @@ impl RcsEndUserMessageAction { } } } -impl ::core::cmp::PartialEq for RcsEndUserMessageAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessageAction {} -impl ::core::fmt::Debug for RcsEndUserMessageAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessageAction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessageAction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAction;{92378737-9b42-46d3-9d5e-3c1b2dae7cb8})"); } -impl ::core::clone::Clone for RcsEndUserMessageAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessageAction { type Vtable = IRcsEndUserMessageAction_Vtbl; } @@ -4060,6 +3466,7 @@ unsafe impl ::core::marker::Send for RcsEndUserMessageAction {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAction {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessageAvailableEventArgs(::windows_core::IUnknown); impl RcsEndUserMessageAvailableEventArgs { pub fn IsMessageAvailable(&self) -> ::windows_core::Result { @@ -4077,25 +3484,9 @@ impl RcsEndUserMessageAvailableEventArgs { } } } -impl ::core::cmp::PartialEq for RcsEndUserMessageAvailableEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessageAvailableEventArgs {} -impl ::core::fmt::Debug for RcsEndUserMessageAvailableEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessageAvailableEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessageAvailableEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs;{2d45ae01-3f89-41ea-9702-9e9ed411aa98})"); } -impl ::core::clone::Clone for RcsEndUserMessageAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessageAvailableEventArgs { type Vtable = IRcsEndUserMessageAvailableEventArgs_Vtbl; } @@ -4110,6 +3501,7 @@ unsafe impl ::core::marker::Send for RcsEndUserMessageAvailableEventArgs {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessageAvailableTriggerDetails(::windows_core::IUnknown); impl RcsEndUserMessageAvailableTriggerDetails { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4127,25 +3519,9 @@ impl RcsEndUserMessageAvailableTriggerDetails { } } } -impl ::core::cmp::PartialEq for RcsEndUserMessageAvailableTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessageAvailableTriggerDetails {} -impl ::core::fmt::Debug for RcsEndUserMessageAvailableTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessageAvailableTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessageAvailableTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails;{5b97742d-351f-4692-b41e-1b035dc18986})"); } -impl ::core::clone::Clone for RcsEndUserMessageAvailableTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessageAvailableTriggerDetails { type Vtable = IRcsEndUserMessageAvailableTriggerDetails_Vtbl; } @@ -4160,6 +3536,7 @@ unsafe impl ::core::marker::Send for RcsEndUserMessageAvailableTriggerDetails {} unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsEndUserMessageManager(::windows_core::IUnknown); impl RcsEndUserMessageManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4181,25 +3558,9 @@ impl RcsEndUserMessageManager { unsafe { (::windows_core::Interface::vtable(this).RemoveMessageAvailableChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for RcsEndUserMessageManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsEndUserMessageManager {} -impl ::core::fmt::Debug for RcsEndUserMessageManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsEndUserMessageManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsEndUserMessageManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsEndUserMessageManager;{3054ae5a-4d1f-4b59-9433-126c734e86a6})"); } -impl ::core::clone::Clone for RcsEndUserMessageManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsEndUserMessageManager { type Vtable = IRcsEndUserMessageManager_Vtbl; } @@ -4280,6 +3641,7 @@ impl ::windows_core::RuntimeName for RcsManager { } #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsServiceKindSupportedChangedEventArgs(::windows_core::IUnknown); impl RcsServiceKindSupportedChangedEventArgs { pub fn ServiceKind(&self) -> ::windows_core::Result { @@ -4290,25 +3652,9 @@ impl RcsServiceKindSupportedChangedEventArgs { } } } -impl ::core::cmp::PartialEq for RcsServiceKindSupportedChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsServiceKindSupportedChangedEventArgs {} -impl ::core::fmt::Debug for RcsServiceKindSupportedChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsServiceKindSupportedChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsServiceKindSupportedChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs;{f47ea244-e783-4866-b3a7-4e5ccf023070})"); } -impl ::core::clone::Clone for RcsServiceKindSupportedChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsServiceKindSupportedChangedEventArgs { type Vtable = IRcsServiceKindSupportedChangedEventArgs_Vtbl; } @@ -4323,6 +3669,7 @@ unsafe impl ::core::marker::Send for RcsServiceKindSupportedChangedEventArgs {} unsafe impl ::core::marker::Sync for RcsServiceKindSupportedChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsTransport(::windows_core::IUnknown); impl RcsTransport { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4395,25 +3742,9 @@ impl RcsTransport { unsafe { (::windows_core::Interface::vtable(this).RemoveServiceKindSupportedChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for RcsTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsTransport {} -impl ::core::fmt::Debug for RcsTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsTransport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsTransport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransport;{fea34759-f37c-4319-8546-ec84d21d30ff})"); } -impl ::core::clone::Clone for RcsTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsTransport { type Vtable = IRcsTransport_Vtbl; } @@ -4428,6 +3759,7 @@ unsafe impl ::core::marker::Send for RcsTransport {} unsafe impl ::core::marker::Sync for RcsTransport {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RcsTransportConfiguration(::windows_core::IUnknown); impl RcsTransportConfiguration { pub fn MaxAttachmentCount(&self) -> ::windows_core::Result { @@ -4473,25 +3805,9 @@ impl RcsTransportConfiguration { } } } -impl ::core::cmp::PartialEq for RcsTransportConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RcsTransportConfiguration {} -impl ::core::fmt::Debug for RcsTransportConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RcsTransportConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RcsTransportConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RcsTransportConfiguration;{1fccb102-2472-4bb9-9988-c1211c83e8a9})"); } -impl ::core::clone::Clone for RcsTransportConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RcsTransportConfiguration { type Vtable = IRcsTransportConfiguration_Vtbl; } @@ -4506,6 +3822,7 @@ unsafe impl ::core::marker::Send for RcsTransportConfiguration {} unsafe impl ::core::marker::Sync for RcsTransportConfiguration {} #[doc = "*Required features: `\"ApplicationModel_Chat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteParticipantComposingChangedEventArgs(::windows_core::IUnknown); impl RemoteParticipantComposingChangedEventArgs { pub fn TransportId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4530,25 +3847,9 @@ impl RemoteParticipantComposingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteParticipantComposingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteParticipantComposingChangedEventArgs {} -impl ::core::fmt::Debug for RemoteParticipantComposingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteParticipantComposingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteParticipantComposingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs;{1ec045a7-cfc9-45c9-9876-449f2bc180f5})"); } -impl ::core::clone::Clone for RemoteParticipantComposingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteParticipantComposingChangedEventArgs { type Vtable = IRemoteParticipantComposingChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index 18d14551e2..28e6bcb041 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommunicationBlockingAccessManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICommunicationBlockingAccessManagerStatics { type Vtable = ICommunicationBlockingAccessManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICommunicationBlockingAccessManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommunicationBlockingAccessManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c969998_9d2a_5db7_edd5_0ce407fc2595); } @@ -34,15 +30,11 @@ pub struct ICommunicationBlockingAccessManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommunicationBlockingAppManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICommunicationBlockingAppManagerStatics { type Vtable = ICommunicationBlockingAppManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICommunicationBlockingAppManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommunicationBlockingAppManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77db58ec_14a6_4baa_942a_6a673d999bf2); } @@ -55,15 +47,11 @@ pub struct ICommunicationBlockingAppManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommunicationBlockingAppManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICommunicationBlockingAppManagerStatics2 { type Vtable = ICommunicationBlockingAppManagerStatics2_Vtbl; } -impl ::core::clone::Clone for ICommunicationBlockingAppManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommunicationBlockingAppManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14a68edd_ed88_457a_a364_a3634d6f166d); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs index 465fa62885..feb5aeb0dc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactDataProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactDataProviderConnection { type Vtable = IContactDataProviderConnection_Vtbl; } -impl ::core::clone::Clone for IContactDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactDataProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a398a52_8c9d_4d6f_a4e0_111e9a125a30); } @@ -36,15 +32,11 @@ pub struct IContactDataProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactDataProviderConnection2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactDataProviderConnection2 { type Vtable = IContactDataProviderConnection2_Vtbl; } -impl ::core::clone::Clone for IContactDataProviderConnection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactDataProviderConnection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1d327b0_196c_4bfd_8f0f_c68d67f249d3); } @@ -71,15 +63,11 @@ pub struct IContactDataProviderConnection2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactDataProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactDataProviderTriggerDetails { type Vtable = IContactDataProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IContactDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactDataProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x527104be_3c62_43c8_9ae7_db531685cd99); } @@ -91,15 +79,11 @@ pub struct IContactDataProviderTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListCreateOrUpdateContactRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListCreateOrUpdateContactRequest { type Vtable = IContactListCreateOrUpdateContactRequest_Vtbl; } -impl ::core::clone::Clone for IContactListCreateOrUpdateContactRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListCreateOrUpdateContactRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4af411f_c849_47d0_b119_91cf605b2f2a); } @@ -120,15 +104,11 @@ pub struct IContactListCreateOrUpdateContactRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListCreateOrUpdateContactRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListCreateOrUpdateContactRequestEventArgs { type Vtable = IContactListCreateOrUpdateContactRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactListCreateOrUpdateContactRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListCreateOrUpdateContactRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x851c1690_1a51_4b0c_aeef_1240ac5bed75); } @@ -144,15 +124,11 @@ pub struct IContactListCreateOrUpdateContactRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListDeleteContactRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListDeleteContactRequest { type Vtable = IContactListDeleteContactRequest_Vtbl; } -impl ::core::clone::Clone for IContactListDeleteContactRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListDeleteContactRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e114687_ce03_4de5_8557_9ccf552d472a); } @@ -173,15 +149,11 @@ pub struct IContactListDeleteContactRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListDeleteContactRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListDeleteContactRequestEventArgs { type Vtable = IContactListDeleteContactRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactListDeleteContactRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListDeleteContactRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb22054a1_e8fa_4db5_9389_2d12ee7d15ee); } @@ -197,15 +169,11 @@ pub struct IContactListDeleteContactRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListServerSearchReadBatchRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListServerSearchReadBatchRequest { type Vtable = IContactListServerSearchReadBatchRequest_Vtbl; } -impl ::core::clone::Clone for IContactListServerSearchReadBatchRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListServerSearchReadBatchRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba776a97_4030_4925_9fb4_143b295e653b); } @@ -232,15 +200,11 @@ pub struct IContactListServerSearchReadBatchRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListServerSearchReadBatchRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListServerSearchReadBatchRequestEventArgs { type Vtable = IContactListServerSearchReadBatchRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactListServerSearchReadBatchRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListServerSearchReadBatchRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a27e87b_69d7_4e4e_8042_861cba61471e); } @@ -256,15 +220,11 @@ pub struct IContactListServerSearchReadBatchRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListSyncManagerSyncRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListSyncManagerSyncRequest { type Vtable = IContactListSyncManagerSyncRequest_Vtbl; } -impl ::core::clone::Clone for IContactListSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListSyncManagerSyncRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c0e57a4_c4e7_4970_9a8f_9a66a2bb6c1a); } @@ -284,15 +244,11 @@ pub struct IContactListSyncManagerSyncRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListSyncManagerSyncRequestEventArgs { type Vtable = IContactListSyncManagerSyncRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactListSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListSyncManagerSyncRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x158e4dac_446d_4f10_afc2_02683ec533a6); } @@ -308,6 +264,7 @@ pub struct IContactListSyncManagerSyncRequestEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactDataProviderConnection(::windows_core::IUnknown); impl ContactDataProviderConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -387,25 +344,9 @@ impl ContactDataProviderConnection { unsafe { (::windows_core::Interface::vtable(this).RemoveDeleteContactRequested)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ContactDataProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactDataProviderConnection {} -impl ::core::fmt::Debug for ContactDataProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactDataProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactDataProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderConnection;{1a398a52-8c9d-4d6f-a4e0-111e9a125a30})"); } -impl ::core::clone::Clone for ContactDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactDataProviderConnection { type Vtable = IContactDataProviderConnection_Vtbl; } @@ -420,6 +361,7 @@ unsafe impl ::core::marker::Send for ContactDataProviderConnection {} unsafe impl ::core::marker::Sync for ContactDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactDataProviderTriggerDetails(::windows_core::IUnknown); impl ContactDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -430,25 +372,9 @@ impl ContactDataProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for ContactDataProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactDataProviderTriggerDetails {} -impl ::core::fmt::Debug for ContactDataProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactDataProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactDataProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactDataProviderTriggerDetails;{527104be-3c62-43c8-9ae7-db531685cd99})"); } -impl ::core::clone::Clone for ContactDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactDataProviderTriggerDetails { type Vtable = IContactDataProviderTriggerDetails_Vtbl; } @@ -463,6 +389,7 @@ unsafe impl ::core::marker::Send for ContactDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for ContactDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListCreateOrUpdateContactRequest(::windows_core::IUnknown); impl ContactListCreateOrUpdateContactRequest { pub fn ContactListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -501,25 +428,9 @@ impl ContactListCreateOrUpdateContactRequest { } } } -impl ::core::cmp::PartialEq for ContactListCreateOrUpdateContactRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListCreateOrUpdateContactRequest {} -impl ::core::fmt::Debug for ContactListCreateOrUpdateContactRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListCreateOrUpdateContactRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListCreateOrUpdateContactRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequest;{b4af411f-c849-47d0-b119-91cf605b2f2a})"); } -impl ::core::clone::Clone for ContactListCreateOrUpdateContactRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListCreateOrUpdateContactRequest { type Vtable = IContactListCreateOrUpdateContactRequest_Vtbl; } @@ -534,6 +445,7 @@ unsafe impl ::core::marker::Send for ContactListCreateOrUpdateContactRequest {} unsafe impl ::core::marker::Sync for ContactListCreateOrUpdateContactRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListCreateOrUpdateContactRequestEventArgs(::windows_core::IUnknown); impl ContactListCreateOrUpdateContactRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -553,25 +465,9 @@ impl ContactListCreateOrUpdateContactRequestEventArgs { } } } -impl ::core::cmp::PartialEq for ContactListCreateOrUpdateContactRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListCreateOrUpdateContactRequestEventArgs {} -impl ::core::fmt::Debug for ContactListCreateOrUpdateContactRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListCreateOrUpdateContactRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListCreateOrUpdateContactRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListCreateOrUpdateContactRequestEventArgs;{851c1690-1a51-4b0c-aeef-1240ac5bed75})"); } -impl ::core::clone::Clone for ContactListCreateOrUpdateContactRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListCreateOrUpdateContactRequestEventArgs { type Vtable = IContactListCreateOrUpdateContactRequestEventArgs_Vtbl; } @@ -586,6 +482,7 @@ unsafe impl ::core::marker::Send for ContactListCreateOrUpdateContactRequestEven unsafe impl ::core::marker::Sync for ContactListCreateOrUpdateContactRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListDeleteContactRequest(::windows_core::IUnknown); impl ContactListDeleteContactRequest { pub fn ContactListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -621,25 +518,9 @@ impl ContactListDeleteContactRequest { } } } -impl ::core::cmp::PartialEq for ContactListDeleteContactRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListDeleteContactRequest {} -impl ::core::fmt::Debug for ContactListDeleteContactRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListDeleteContactRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListDeleteContactRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequest;{5e114687-ce03-4de5-8557-9ccf552d472a})"); } -impl ::core::clone::Clone for ContactListDeleteContactRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListDeleteContactRequest { type Vtable = IContactListDeleteContactRequest_Vtbl; } @@ -654,6 +535,7 @@ unsafe impl ::core::marker::Send for ContactListDeleteContactRequest {} unsafe impl ::core::marker::Sync for ContactListDeleteContactRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListDeleteContactRequestEventArgs(::windows_core::IUnknown); impl ContactListDeleteContactRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -673,25 +555,9 @@ impl ContactListDeleteContactRequestEventArgs { } } } -impl ::core::cmp::PartialEq for ContactListDeleteContactRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListDeleteContactRequestEventArgs {} -impl ::core::fmt::Debug for ContactListDeleteContactRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListDeleteContactRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListDeleteContactRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListDeleteContactRequestEventArgs;{b22054a1-e8fa-4db5-9389-2d12ee7d15ee})"); } -impl ::core::clone::Clone for ContactListDeleteContactRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListDeleteContactRequestEventArgs { type Vtable = IContactListDeleteContactRequestEventArgs_Vtbl; } @@ -706,6 +572,7 @@ unsafe impl ::core::marker::Send for ContactListDeleteContactRequestEventArgs {} unsafe impl ::core::marker::Sync for ContactListDeleteContactRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListServerSearchReadBatchRequest(::windows_core::IUnknown); impl ContactListServerSearchReadBatchRequest { pub fn SessionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -767,25 +634,9 @@ impl ContactListServerSearchReadBatchRequest { } } } -impl ::core::cmp::PartialEq for ContactListServerSearchReadBatchRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListServerSearchReadBatchRequest {} -impl ::core::fmt::Debug for ContactListServerSearchReadBatchRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListServerSearchReadBatchRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListServerSearchReadBatchRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequest;{ba776a97-4030-4925-9fb4-143b295e653b})"); } -impl ::core::clone::Clone for ContactListServerSearchReadBatchRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListServerSearchReadBatchRequest { type Vtable = IContactListServerSearchReadBatchRequest_Vtbl; } @@ -800,6 +651,7 @@ unsafe impl ::core::marker::Send for ContactListServerSearchReadBatchRequest {} unsafe impl ::core::marker::Sync for ContactListServerSearchReadBatchRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListServerSearchReadBatchRequestEventArgs(::windows_core::IUnknown); impl ContactListServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -819,25 +671,9 @@ impl ContactListServerSearchReadBatchRequestEventArgs { } } } -impl ::core::cmp::PartialEq for ContactListServerSearchReadBatchRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListServerSearchReadBatchRequestEventArgs {} -impl ::core::fmt::Debug for ContactListServerSearchReadBatchRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListServerSearchReadBatchRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListServerSearchReadBatchRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListServerSearchReadBatchRequestEventArgs;{1a27e87b-69d7-4e4e-8042-861cba61471e})"); } -impl ::core::clone::Clone for ContactListServerSearchReadBatchRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListServerSearchReadBatchRequestEventArgs { type Vtable = IContactListServerSearchReadBatchRequestEventArgs_Vtbl; } @@ -852,6 +688,7 @@ unsafe impl ::core::marker::Send for ContactListServerSearchReadBatchRequestEven unsafe impl ::core::marker::Sync for ContactListServerSearchReadBatchRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListSyncManagerSyncRequest(::windows_core::IUnknown); impl ContactListSyncManagerSyncRequest { pub fn ContactListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -880,25 +717,9 @@ impl ContactListSyncManagerSyncRequest { } } } -impl ::core::cmp::PartialEq for ContactListSyncManagerSyncRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListSyncManagerSyncRequest {} -impl ::core::fmt::Debug for ContactListSyncManagerSyncRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListSyncManagerSyncRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListSyncManagerSyncRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequest;{3c0e57a4-c4e7-4970-9a8f-9a66a2bb6c1a})"); } -impl ::core::clone::Clone for ContactListSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListSyncManagerSyncRequest { type Vtable = IContactListSyncManagerSyncRequest_Vtbl; } @@ -913,6 +734,7 @@ unsafe impl ::core::marker::Send for ContactListSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for ContactListSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Contacts_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); impl ContactListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -932,25 +754,9 @@ impl ContactListSyncManagerSyncRequestEventArgs { } } } -impl ::core::cmp::PartialEq for ContactListSyncManagerSyncRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListSyncManagerSyncRequestEventArgs {} -impl ::core::fmt::Debug for ContactListSyncManagerSyncRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListSyncManagerSyncRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListSyncManagerSyncRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.DataProvider.ContactListSyncManagerSyncRequestEventArgs;{158e4dac-446d-4f10-afc2-02683ec533a6})"); } -impl ::core::clone::Clone for ContactListSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListSyncManagerSyncRequestEventArgs { type Vtable = IContactListSyncManagerSyncRequestEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs index e1050d554f..48519098b5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPickerUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPickerUI { type Vtable = IContactPickerUI_Vtbl; } -impl ::core::clone::Clone for IContactPickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPickerUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2cc1366_cf66_43c4_a96a_a5a112db4746); } @@ -38,15 +34,11 @@ pub struct IContactPickerUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPickerUI2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPickerUI2 { type Vtable = IContactPickerUI2_Vtbl; } -impl ::core::clone::Clone for IContactPickerUI2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPickerUI2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e449e28_7b25_4999_9b0b_875400a1e8c8); } @@ -62,15 +54,11 @@ pub struct IContactPickerUI2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactRemovedEventArgs { type Vtable = IContactRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f354338_3302_4d13_ad8d_adcc0ff9e47c); } @@ -82,6 +70,7 @@ pub struct IContactRemovedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPickerUI(::windows_core::IUnknown); impl ContactPickerUI { #[doc = "*Required features: `\"deprecated\"`*"] @@ -161,25 +150,9 @@ impl ContactPickerUI { } } } -impl ::core::cmp::PartialEq for ContactPickerUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPickerUI {} -impl ::core::fmt::Debug for ContactPickerUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPickerUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPickerUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactPickerUI;{e2cc1366-cf66-43c4-a96a-a5a112db4746})"); } -impl ::core::clone::Clone for ContactPickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPickerUI { type Vtable = IContactPickerUI_Vtbl; } @@ -192,6 +165,7 @@ impl ::windows_core::RuntimeName for ContactPickerUI { ::windows_core::imp::interface_hierarchy!(ContactPickerUI, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactRemovedEventArgs(::windows_core::IUnknown); impl ContactRemovedEventArgs { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -202,25 +176,9 @@ impl ContactRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactRemovedEventArgs {} -impl ::core::fmt::Debug for ContactRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs;{6f354338-3302-4d13-ad8d-adcc0ff9e47c})"); } -impl ::core::clone::Clone for ContactRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactRemovedEventArgs { type Vtable = IContactRemovedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs index abb7ac7f7b..cb3010a953 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs @@ -64,8 +64,8 @@ impl IContactField_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl IContactFieldFactory_Vtbl { CreateField_Custom: CreateField_Custom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IContactInstantMessageFieldFactory_Vtbl { CreateInstantMessage_All: CreateInstantMessage_All::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -241,7 +241,7 @@ impl IContactLocationFieldFactory_Vtbl { CreateLocation_All: CreateLocation_All::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 5e83b7c1a6..19d32ce8c8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -4,15 +4,11 @@ pub mod DataProvider; pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAggregateContactManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAggregateContactManager { type Vtable = IAggregateContactManager_Vtbl; } -impl ::core::clone::Clone for IAggregateContactManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAggregateContactManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0379d5dd_db5a_4fd3_b54e_4df17917a212); } @@ -39,15 +35,11 @@ pub struct IAggregateContactManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAggregateContactManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAggregateContactManager2 { type Vtable = IAggregateContactManager2_Vtbl; } -impl ::core::clone::Clone for IAggregateContactManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAggregateContactManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e8cc2d8_a9cd_4430_9c4b_01348db2ca50); } @@ -62,15 +54,11 @@ pub struct IAggregateContactManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContact(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContact { type Vtable = IContact_Vtbl; } -impl ::core::clone::Clone for IContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec0072f3_2118_4049_9ebc_17f0ab692b64); } @@ -95,15 +83,11 @@ pub struct IContact_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContact2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContact2 { type Vtable = IContact2_Vtbl; } -impl ::core::clone::Clone for IContact2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContact2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf312f365_bb77_4c94_802d_8328cee40c08); } @@ -158,15 +142,11 @@ pub struct IContact2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContact3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContact3 { type Vtable = IContact3_Vtbl; } -impl ::core::clone::Clone for IContact3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContact3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48201e67_e08e_42a4_b561_41d08ca9575d); } @@ -218,15 +198,11 @@ pub struct IContact3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAddress { type Vtable = IContactAddress_Vtbl; } -impl ::core::clone::Clone for IContactAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9739d39a_42ce_4872_8d70_3063aa584b70); } @@ -251,15 +227,11 @@ pub struct IContactAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAnnotation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAnnotation { type Vtable = IContactAnnotation_Vtbl; } -impl ::core::clone::Clone for IContactAnnotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAnnotation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x821fc2ef_7d41_44a2_84c3_60a281dd7b86); } @@ -283,15 +255,11 @@ pub struct IContactAnnotation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAnnotation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAnnotation2 { type Vtable = IContactAnnotation2_Vtbl; } -impl ::core::clone::Clone for IContactAnnotation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAnnotation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb691ecf3_4ab7_4a1f_9941_0c9cf3171b75); } @@ -304,15 +272,11 @@ pub struct IContactAnnotation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAnnotationList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAnnotationList { type Vtable = IContactAnnotationList_Vtbl; } -impl ::core::clone::Clone for IContactAnnotationList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAnnotationList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92a486aa_5c88_45b9_aad0_461888e68d8a); } @@ -350,15 +314,11 @@ pub struct IContactAnnotationList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAnnotationStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAnnotationStore { type Vtable = IContactAnnotationStore_Vtbl; } -impl ::core::clone::Clone for IContactAnnotationStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAnnotationStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23acf4aa_7a77_457d_8203_987f4b31af09); } @@ -401,15 +361,11 @@ pub struct IContactAnnotationStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAnnotationStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAnnotationStore2 { type Vtable = IContactAnnotationStore2_Vtbl; } -impl ::core::clone::Clone for IContactAnnotationStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAnnotationStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ede23fd_61e7_4967_8ec5_bdf280a24063); } @@ -424,15 +380,11 @@ pub struct IContactAnnotationStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactBatch { type Vtable = IContactBatch_Vtbl; } -impl ::core::clone::Clone for IContactBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35d1972d_bfce_46bb_93f8_a5b06ec5e201); } @@ -448,15 +400,11 @@ pub struct IContactBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactCardDelayedDataLoader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactCardDelayedDataLoader { type Vtable = IContactCardDelayedDataLoader_Vtbl; } -impl ::core::clone::Clone for IContactCardDelayedDataLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactCardDelayedDataLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb60af902_1546_434d_869c_6e3520760ef3); } @@ -468,15 +416,11 @@ pub struct IContactCardDelayedDataLoader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactCardOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactCardOptions { type Vtable = IContactCardOptions_Vtbl; } -impl ::core::clone::Clone for IContactCardOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactCardOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c0a4f7e_6ab6_4f3f_be72_817236eeea5b); } @@ -491,15 +435,11 @@ pub struct IContactCardOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactCardOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactCardOptions2 { type Vtable = IContactCardOptions2_Vtbl; } -impl ::core::clone::Clone for IContactCardOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactCardOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f271ba0_d74b_4cc6_9f53_1b0eb5d1273c); } @@ -514,15 +454,11 @@ pub struct IContactCardOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChange { type Vtable = IContactChange_Vtbl; } -impl ::core::clone::Clone for IContactChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x951d4b10_6a59_4720_a4e1_363d98c135d5); } @@ -535,15 +471,11 @@ pub struct IContactChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangeReader { type Vtable = IContactChangeReader_Vtbl; } -impl ::core::clone::Clone for IContactChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x217319fa_2d0c_42e0_a9da_3ecd56a78a47); } @@ -560,15 +492,11 @@ pub struct IContactChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangeTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangeTracker { type Vtable = IContactChangeTracker_Vtbl; } -impl ::core::clone::Clone for IContactChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e992952_309b_404d_9712_b37bd30278aa); } @@ -582,15 +510,11 @@ pub struct IContactChangeTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangeTracker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangeTracker2 { type Vtable = IContactChangeTracker2_Vtbl; } -impl ::core::clone::Clone for IContactChangeTracker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangeTracker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f8ad0fc_9321_4d18_9c09_d708c63fcd31); } @@ -602,15 +526,11 @@ pub struct IContactChangeTracker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangedDeferral { type Vtable = IContactChangedDeferral_Vtbl; } -impl ::core::clone::Clone for IContactChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5143ae8_1b03_46f8_b694_a523e83cfcb6); } @@ -622,15 +542,11 @@ pub struct IContactChangedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangedEventArgs { type Vtable = IContactChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x525e7fd1_73f3_4b7d_a918_580be4366121); } @@ -642,15 +558,11 @@ pub struct IContactChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactConnectedServiceAccount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactConnectedServiceAccount { type Vtable = IContactConnectedServiceAccount_Vtbl; } -impl ::core::clone::Clone for IContactConnectedServiceAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactConnectedServiceAccount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6f83553_aa27_4731_8e4a_3dec5ce9eec9); } @@ -665,15 +577,11 @@ pub struct IContactConnectedServiceAccount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactDate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactDate { type Vtable = IContactDate_Vtbl; } -impl ::core::clone::Clone for IContactDate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactDate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe98ae66_b205_4934_9174_0ff2b0565707); } @@ -712,15 +620,11 @@ pub struct IContactDate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactEmail(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactEmail { type Vtable = IContactEmail_Vtbl; } -impl ::core::clone::Clone for IContactEmail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactEmail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90a219a9_e3d3_4d63_993b_05b9a5393abf); } @@ -737,6 +641,7 @@ pub struct IContactEmail_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactField(::windows_core::IUnknown); impl IContactField { pub fn Type(&self) -> ::windows_core::Result { @@ -769,28 +674,12 @@ impl IContactField { } } ::windows_core::imp::interface_hierarchy!(IContactField, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactField {} -impl ::core::fmt::Debug for IContactField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactField").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactField { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b176486a-d293-492c-a058-db575b3e3c0f}"); } unsafe impl ::windows_core::Interface for IContactField { type Vtable = IContactField_Vtbl; } -impl ::core::clone::Clone for IContactField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactField { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb176486a_d293_492c_a058_db575b3e3c0f); } @@ -805,6 +694,7 @@ pub struct IContactField_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactFieldFactory(::windows_core::IUnknown); impl IContactFieldFactory { pub fn CreateField_Default(&self, value: &::windows_core::HSTRING, r#type: ContactFieldType) -> ::windows_core::Result { @@ -830,28 +720,12 @@ impl IContactFieldFactory { } } ::windows_core::imp::interface_hierarchy!(IContactFieldFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactFieldFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactFieldFactory {} -impl ::core::fmt::Debug for IContactFieldFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactFieldFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactFieldFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{85e2913f-0e4a-4a3e-8994-406ae7ed646e}"); } unsafe impl ::windows_core::Interface for IContactFieldFactory { type Vtable = IContactFieldFactory_Vtbl; } -impl ::core::clone::Clone for IContactFieldFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactFieldFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85e2913f_0e4a_4a3e_8994_406ae7ed646e); } @@ -865,15 +739,11 @@ pub struct IContactFieldFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactGroup { type Vtable = IContactGroup_Vtbl; } -impl ::core::clone::Clone for IContactGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59bdeb01_9e9a_475d_bfe5_a37b806d852c); } @@ -884,15 +754,11 @@ pub struct IContactGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactInformation { type Vtable = IContactInformation_Vtbl; } -impl ::core::clone::Clone for IContactInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x275eb6d4_6a2e_4278_a914_e460d5f088f6); } @@ -932,15 +798,11 @@ pub struct IContactInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInstantMessageField(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactInstantMessageField { type Vtable = IContactInstantMessageField_Vtbl; } -impl ::core::clone::Clone for IContactInstantMessageField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInstantMessageField { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcce33b37_0d85_41fa_b43d_da599c3eb009); } @@ -958,6 +820,7 @@ pub struct IContactInstantMessageField_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInstantMessageFieldFactory(::windows_core::IUnknown); impl IContactInstantMessageFieldFactory { pub fn CreateInstantMessage_Default(&self, username: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -988,28 +851,12 @@ impl IContactInstantMessageFieldFactory { } } ::windows_core::imp::interface_hierarchy!(IContactInstantMessageFieldFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactInstantMessageFieldFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactInstantMessageFieldFactory {} -impl ::core::fmt::Debug for IContactInstantMessageFieldFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactInstantMessageFieldFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactInstantMessageFieldFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ba0b6794-91a3-4bb2-b1b9-69a5dff0ba09}"); } unsafe impl ::windows_core::Interface for IContactInstantMessageFieldFactory { type Vtable = IContactInstantMessageFieldFactory_Vtbl; } -impl ::core::clone::Clone for IContactInstantMessageFieldFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInstantMessageFieldFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09); } @@ -1026,15 +873,11 @@ pub struct IContactInstantMessageFieldFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactJobInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactJobInfo { type Vtable = IContactJobInfo_Vtbl; } -impl ::core::clone::Clone for IContactJobInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactJobInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d117b4c_ce50_4b43_9e69_b18258ea5315); } @@ -1061,15 +904,11 @@ pub struct IContactJobInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactLaunchActionVerbsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactLaunchActionVerbsStatics { type Vtable = IContactLaunchActionVerbsStatics_Vtbl; } -impl ::core::clone::Clone for IContactLaunchActionVerbsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactLaunchActionVerbsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb1232d6_ee73_46e7_8761_11cd0157728f); } @@ -1085,15 +924,11 @@ pub struct IContactLaunchActionVerbsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactList { type Vtable = IContactList_Vtbl; } -impl ::core::clone::Clone for IContactList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16ddec75_392c_4845_9dfb_51a3e7ef3e42); } @@ -1156,15 +991,11 @@ pub struct IContactList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactList2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactList2 { type Vtable = IContactList2_Vtbl; } -impl ::core::clone::Clone for IContactList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3943b4_4550_4dcb_9229_40ff91fb0203); } @@ -1181,15 +1012,11 @@ pub struct IContactList2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactList3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactList3 { type Vtable = IContactList3_Vtbl; } -impl ::core::clone::Clone for IContactList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1578ee57_26fc_41e8_a850_5aa32514aca9); } @@ -1202,15 +1029,11 @@ pub struct IContactList3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListLimitedWriteOperations(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListLimitedWriteOperations { type Vtable = IContactListLimitedWriteOperations_Vtbl; } -impl ::core::clone::Clone for IContactListLimitedWriteOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListLimitedWriteOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe19813da_4a0b_44b8_9a1f_a0f3d218175f); } @@ -1229,15 +1052,11 @@ pub struct IContactListLimitedWriteOperations_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListSyncConstraints(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListSyncConstraints { type Vtable = IContactListSyncConstraints_Vtbl; } -impl ::core::clone::Clone for IContactListSyncConstraints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListSyncConstraints { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2b0bf01_3062_4e2e_969d_018d1987f314); } @@ -1466,15 +1285,11 @@ pub struct IContactListSyncConstraints_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListSyncManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListSyncManager { type Vtable = IContactListSyncManager_Vtbl; } -impl ::core::clone::Clone for IContactListSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x146e83be_7925_4acc_9de5_21ddd06f8674); } @@ -1506,15 +1321,11 @@ pub struct IContactListSyncManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactListSyncManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactListSyncManager2 { type Vtable = IContactListSyncManager2_Vtbl; } -impl ::core::clone::Clone for IContactListSyncManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactListSyncManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9591247_bb55_4e23_8128_370134a85d0d); } @@ -1534,15 +1345,11 @@ pub struct IContactListSyncManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactLocationField(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactLocationField { type Vtable = IContactLocationField_Vtbl; } -impl ::core::clone::Clone for IContactLocationField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactLocationField { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ec00f82_ab6e_4b36_89e3_b23bc0a1dacc); } @@ -1559,6 +1366,7 @@ pub struct IContactLocationField_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactLocationFieldFactory(::windows_core::IUnknown); impl IContactLocationFieldFactory { pub fn CreateLocation_Default(&self, unstructuredaddress: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -1584,28 +1392,12 @@ impl IContactLocationFieldFactory { } } ::windows_core::imp::interface_hierarchy!(IContactLocationFieldFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactLocationFieldFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactLocationFieldFactory {} -impl ::core::fmt::Debug for IContactLocationFieldFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactLocationFieldFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactLocationFieldFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f79932d7-2fdf-43fe-8f18-41897390bcfe}"); } unsafe impl ::windows_core::Interface for IContactLocationFieldFactory { type Vtable = IContactLocationFieldFactory_Vtbl; } -impl ::core::clone::Clone for IContactLocationFieldFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactLocationFieldFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf79932d7_2fdf_43fe_8f18_41897390bcfe); } @@ -1619,15 +1411,11 @@ pub struct IContactLocationFieldFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerForUser { type Vtable = IContactManagerForUser_Vtbl; } -impl ::core::clone::Clone for IContactManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb74bba57_1076_4bef_aef3_54686d18387d); } @@ -1666,15 +1454,11 @@ pub struct IContactManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerForUser2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerForUser2 { type Vtable = IContactManagerForUser2_Vtbl; } -impl ::core::clone::Clone for IContactManagerForUser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerForUser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d469c2e_3b75_4a73_bb30_736645472256); } @@ -1686,15 +1470,11 @@ pub struct IContactManagerForUser2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerStatics { type Vtable = IContactManagerStatics_Vtbl; } -impl ::core::clone::Clone for IContactManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81f21ac0_f661_4708_ba4f_d386bd0d622e); } @@ -1717,15 +1497,11 @@ pub struct IContactManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerStatics2 { type Vtable = IContactManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IContactManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa178e620_47d8_48cc_963c_9592b6e510c6); } @@ -1740,15 +1516,11 @@ pub struct IContactManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerStatics3 { type Vtable = IContactManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IContactManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4cc3d42_7586_492a_930b_7bc138fc2139); } @@ -1794,15 +1566,11 @@ pub struct IContactManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerStatics4 { type Vtable = IContactManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IContactManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24982272_347b_46dc_8d95_51bd41e15aaf); } @@ -1817,15 +1585,11 @@ pub struct IContactManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactManagerStatics5 { type Vtable = IContactManagerStatics5_Vtbl; } -impl ::core::clone::Clone for IContactManagerStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7591a87_acb7_4fad_90f2_a8ab64cdbba4); } @@ -1842,15 +1606,11 @@ pub struct IContactManagerStatics5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactMatchReason(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactMatchReason { type Vtable = IContactMatchReason_Vtbl; } -impl ::core::clone::Clone for IContactMatchReason { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactMatchReason { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc922504_e7d8_413e_95f4_b75c54c74077); } @@ -1867,15 +1627,11 @@ pub struct IContactMatchReason_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactName(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactName { type Vtable = IContactName_Vtbl; } -impl ::core::clone::Clone for IContactName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf404e97b_9034_453c_8ebf_140a38c86f1d); } @@ -1902,15 +1658,11 @@ pub struct IContactName_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPanel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPanel { type Vtable = IContactPanel_Vtbl; } -impl ::core::clone::Clone for IContactPanel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPanel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41bf1265_d2ee_4b97_a80a_7d8d64cca6f5); } @@ -1946,15 +1698,11 @@ pub struct IContactPanel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPanelClosingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPanelClosingEventArgs { type Vtable = IContactPanelClosingEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactPanelClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPanelClosingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x222174d3_cf4b_46d7_b739_6edc16110bfb); } @@ -1969,15 +1717,11 @@ pub struct IContactPanelClosingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPanelLaunchFullAppRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPanelLaunchFullAppRequestedEventArgs { type Vtable = IContactPanelLaunchFullAppRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IContactPanelLaunchFullAppRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPanelLaunchFullAppRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88d61c0e_23b4_4be8_8afc_072c25a4190d); } @@ -1990,15 +1734,11 @@ pub struct IContactPanelLaunchFullAppRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPhone(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPhone { type Vtable = IContactPhone_Vtbl; } -impl ::core::clone::Clone for IContactPhone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPhone { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x467dab65_2712_4f52_b783_9ea8111c63cd); } @@ -2015,15 +1755,11 @@ pub struct IContactPhone_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPicker { type Vtable = IContactPicker_Vtbl; } -impl ::core::clone::Clone for IContactPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e09fd91_42f8_4055_90a0_896f96738936); } @@ -2050,15 +1786,11 @@ pub struct IContactPicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPicker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPicker2 { type Vtable = IContactPicker2_Vtbl; } -impl ::core::clone::Clone for IContactPicker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPicker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb35011cf_5cef_4d24_aa0c_340c5208725d); } @@ -2081,15 +1813,11 @@ pub struct IContactPicker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPicker3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPicker3 { type Vtable = IContactPicker3_Vtbl; } -impl ::core::clone::Clone for IContactPicker3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPicker3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e723315_b243_4bed_8516_22b1a7ac0ace); } @@ -2104,15 +1832,11 @@ pub struct IContactPicker3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPickerStatics { type Vtable = IContactPickerStatics_Vtbl; } -impl ::core::clone::Clone for IContactPickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7488c029_6a53_4258_a3e9_62dff6784b6c); } @@ -2131,15 +1855,11 @@ pub struct IContactPickerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactQueryOptions { type Vtable = IContactQueryOptions_Vtbl; } -impl ::core::clone::Clone for IContactQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4408cc9e_7d7c_42f0_8ac7_f50733ecdbc1); } @@ -2165,15 +1885,11 @@ pub struct IContactQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactQueryOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactQueryOptionsFactory { type Vtable = IContactQueryOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IContactQueryOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactQueryOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x543fba47_8ce7_46cb_9dac_9aa42a1bc8e2); } @@ -2186,15 +1902,11 @@ pub struct IContactQueryOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactQueryTextSearch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactQueryTextSearch { type Vtable = IContactQueryTextSearch_Vtbl; } -impl ::core::clone::Clone for IContactQueryTextSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactQueryTextSearch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7e3f9cb_a957_439b_a0b7_1c02a1963ff0); } @@ -2211,15 +1923,11 @@ pub struct IContactQueryTextSearch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactReader { type Vtable = IContactReader_Vtbl; } -impl ::core::clone::Clone for IContactReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd397e42e_1488_42f2_bf64_253f4884bfed); } @@ -2238,15 +1946,11 @@ pub struct IContactReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactSignificantOther(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactSignificantOther { type Vtable = IContactSignificantOther_Vtbl; } -impl ::core::clone::Clone for IContactSignificantOther { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactSignificantOther { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8873b5ab_c5fb_46d8_93fe_da3ff1934054); } @@ -2261,15 +1965,11 @@ pub struct IContactSignificantOther_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactSignificantOther2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactSignificantOther2 { type Vtable = IContactSignificantOther2_Vtbl; } -impl ::core::clone::Clone for IContactSignificantOther2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactSignificantOther2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d7bd474_3f03_45f8_ba0f_c4ed37d64219); } @@ -2282,15 +1982,11 @@ pub struct IContactSignificantOther2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStore { type Vtable = IContactStore_Vtbl; } -impl ::core::clone::Clone for IContactStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c220b10_3a6c_4293_b9bc_fe987f6e0d52); } @@ -2313,15 +2009,11 @@ pub struct IContactStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStore2 { type Vtable = IContactStore2_Vtbl; } -impl ::core::clone::Clone for IContactStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18ce1c22_ebd5_4bfb_b690_5f4f27c4f0e8); } @@ -2364,15 +2056,11 @@ pub struct IContactStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStore3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStore3 { type Vtable = IContactStore3_Vtbl; } -impl ::core::clone::Clone for IContactStore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb882c6c_004e_4050_87f0_840407ee6818); } @@ -2384,15 +2072,11 @@ pub struct IContactStore3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStoreNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStoreNotificationTriggerDetails { type Vtable = IContactStoreNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IContactStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStoreNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabb298d6_878a_4f8b_a9ce_46bb7d1c84ce); } @@ -2403,15 +2087,11 @@ pub struct IContactStoreNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactWebsite(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactWebsite { type Vtable = IContactWebsite_Vtbl; } -impl ::core::clone::Clone for IContactWebsite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactWebsite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f130176_dc1b_4055_ad66_652f39d990e8); } @@ -2432,15 +2112,11 @@ pub struct IContactWebsite_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactWebsite2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactWebsite2 { type Vtable = IContactWebsite2_Vtbl; } -impl ::core::clone::Clone for IContactWebsite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactWebsite2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf87ee91e_5647_4068_bb5e_4b6f437ce308); } @@ -2453,15 +2129,11 @@ pub struct IContactWebsite2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullContactCardOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFullContactCardOptions { type Vtable = IFullContactCardOptions_Vtbl; } -impl ::core::clone::Clone for IFullContactCardOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullContactCardOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8744436c_5cf9_4683_bdca_a1fdebf8dbce); } @@ -2481,18 +2153,13 @@ pub struct IFullContactCardOptions_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownContactFieldStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IKnownContactFieldStatics { type Vtable = IKnownContactFieldStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IKnownContactFieldStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IKnownContactFieldStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e0e1b12_d627_4fca_bad4_1faf168c7d14); } @@ -2528,15 +2195,11 @@ pub struct IKnownContactFieldStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinnedContactIdsQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPinnedContactIdsQueryResult { type Vtable = IPinnedContactIdsQueryResult_Vtbl; } -impl ::core::clone::Clone for IPinnedContactIdsQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinnedContactIdsQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d9b2552_1579_4ddc_871f_a30a3aea9ba1); } @@ -2551,15 +2214,11 @@ pub struct IPinnedContactIdsQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinnedContactManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPinnedContactManager { type Vtable = IPinnedContactManager_Vtbl; } -impl ::core::clone::Clone for IPinnedContactManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinnedContactManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcbc740c_e1d6_45c3_b8b6_a35604e167a0); } @@ -2593,15 +2252,11 @@ pub struct IPinnedContactManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinnedContactManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPinnedContactManagerStatics { type Vtable = IPinnedContactManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPinnedContactManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinnedContactManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf65ccc7e_fdf9_486a_ace9_bc311d0ae7f0); } @@ -2618,6 +2273,7 @@ pub struct IPinnedContactManagerStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AggregateContactManager(::windows_core::IUnknown); impl AggregateContactManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2680,25 +2336,9 @@ impl AggregateContactManager { } } } -impl ::core::cmp::PartialEq for AggregateContactManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AggregateContactManager {} -impl ::core::fmt::Debug for AggregateContactManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AggregateContactManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AggregateContactManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.AggregateContactManager;{0379d5dd-db5a-4fd3-b54e-4df17917a212})"); } -impl ::core::clone::Clone for AggregateContactManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AggregateContactManager { type Vtable = IAggregateContactManager_Vtbl; } @@ -2713,6 +2353,7 @@ unsafe impl ::core::marker::Send for AggregateContactManager {} unsafe impl ::core::marker::Sync for AggregateContactManager {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Contact(::windows_core::IUnknown); impl Contact { pub fn new() -> ::windows_core::Result { @@ -3119,25 +2760,9 @@ impl Contact { } } } -impl ::core::cmp::PartialEq for Contact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Contact {} -impl ::core::fmt::Debug for Contact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Contact").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Contact { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.Contact;{ec0072f3-2118-4049-9ebc-17f0ab692b64})"); } -impl ::core::clone::Clone for Contact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Contact { type Vtable = IContact_Vtbl; } @@ -3152,6 +2777,7 @@ unsafe impl ::core::marker::Send for Contact {} unsafe impl ::core::marker::Sync for Contact {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactAddress(::windows_core::IUnknown); impl ContactAddress { pub fn new() -> ::windows_core::Result { @@ -3239,25 +2865,9 @@ impl ContactAddress { unsafe { (::windows_core::Interface::vtable(this).SetDescription)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactAddress {} -impl ::core::fmt::Debug for ContactAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAddress;{9739d39a-42ce-4872-8d70-3063aa584b70})"); } -impl ::core::clone::Clone for ContactAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactAddress { type Vtable = IContactAddress_Vtbl; } @@ -3272,6 +2882,7 @@ unsafe impl ::core::marker::Send for ContactAddress {} unsafe impl ::core::marker::Sync for ContactAddress {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactAnnotation(::windows_core::IUnknown); impl ContactAnnotation { pub fn new() -> ::windows_core::Result { @@ -3356,25 +2967,9 @@ impl ContactAnnotation { unsafe { (::windows_core::Interface::vtable(this).SetContactListId)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactAnnotation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactAnnotation {} -impl ::core::fmt::Debug for ContactAnnotation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactAnnotation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactAnnotation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotation;{821fc2ef-7d41-44a2-84c3-60a281dd7b86})"); } -impl ::core::clone::Clone for ContactAnnotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactAnnotation { type Vtable = IContactAnnotation_Vtbl; } @@ -3389,6 +2984,7 @@ unsafe impl ::core::marker::Send for ContactAnnotation {} unsafe impl ::core::marker::Sync for ContactAnnotation {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactAnnotationList(::windows_core::IUnknown); impl ContactAnnotationList { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3473,25 +3069,9 @@ impl ContactAnnotationList { } } } -impl ::core::cmp::PartialEq for ContactAnnotationList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactAnnotationList {} -impl ::core::fmt::Debug for ContactAnnotationList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactAnnotationList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactAnnotationList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationList;{92a486aa-5c88-45b9-aad0-461888e68d8a})"); } -impl ::core::clone::Clone for ContactAnnotationList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactAnnotationList { type Vtable = IContactAnnotationList_Vtbl; } @@ -3506,6 +3086,7 @@ unsafe impl ::core::marker::Send for ContactAnnotationList {} unsafe impl ::core::marker::Sync for ContactAnnotationList {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactAnnotationStore(::windows_core::IUnknown); impl ContactAnnotationStore { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3596,25 +3177,9 @@ impl ContactAnnotationStore { } } } -impl ::core::cmp::PartialEq for ContactAnnotationStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactAnnotationStore {} -impl ::core::fmt::Debug for ContactAnnotationStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactAnnotationStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactAnnotationStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactAnnotationStore;{23acf4aa-7a77-457d-8203-987f4b31af09})"); } -impl ::core::clone::Clone for ContactAnnotationStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactAnnotationStore { type Vtable = IContactAnnotationStore_Vtbl; } @@ -3629,6 +3194,7 @@ unsafe impl ::core::marker::Send for ContactAnnotationStore {} unsafe impl ::core::marker::Sync for ContactAnnotationStore {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactBatch(::windows_core::IUnknown); impl ContactBatch { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3648,25 +3214,9 @@ impl ContactBatch { } } } -impl ::core::cmp::PartialEq for ContactBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactBatch {} -impl ::core::fmt::Debug for ContactBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactBatch;{35d1972d-bfce-46bb-93f8-a5b06ec5e201})"); } -impl ::core::clone::Clone for ContactBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactBatch { type Vtable = IContactBatch_Vtbl; } @@ -3681,6 +3231,7 @@ unsafe impl ::core::marker::Send for ContactBatch {} unsafe impl ::core::marker::Sync for ContactBatch {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactCardDelayedDataLoader(::windows_core::IUnknown); impl ContactCardDelayedDataLoader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3697,25 +3248,9 @@ impl ContactCardDelayedDataLoader { unsafe { (::windows_core::Interface::vtable(this).SetData)(::windows_core::Interface::as_raw(this), contact.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ContactCardDelayedDataLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactCardDelayedDataLoader {} -impl ::core::fmt::Debug for ContactCardDelayedDataLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactCardDelayedDataLoader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactCardDelayedDataLoader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardDelayedDataLoader;{b60af902-1546-434d-869c-6e3520760ef3})"); } -impl ::core::clone::Clone for ContactCardDelayedDataLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactCardDelayedDataLoader { type Vtable = IContactCardDelayedDataLoader_Vtbl; } @@ -3732,6 +3267,7 @@ unsafe impl ::core::marker::Send for ContactCardDelayedDataLoader {} unsafe impl ::core::marker::Sync for ContactCardDelayedDataLoader {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactCardOptions(::windows_core::IUnknown); impl ContactCardOptions { pub fn new() -> ::windows_core::Result { @@ -3773,25 +3309,9 @@ impl ContactCardOptions { } } } -impl ::core::cmp::PartialEq for ContactCardOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactCardOptions {} -impl ::core::fmt::Debug for ContactCardOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactCardOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactCardOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactCardOptions;{8c0a4f7e-6ab6-4f3f-be72-817236eeea5b})"); } -impl ::core::clone::Clone for ContactCardOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactCardOptions { type Vtable = IContactCardOptions_Vtbl; } @@ -3806,6 +3326,7 @@ unsafe impl ::core::marker::Send for ContactCardOptions {} unsafe impl ::core::marker::Sync for ContactCardOptions {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChange(::windows_core::IUnknown); impl ContactChange { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -3823,25 +3344,9 @@ impl ContactChange { } } } -impl ::core::cmp::PartialEq for ContactChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChange {} -impl ::core::fmt::Debug for ContactChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChange;{951d4b10-6a59-4720-a4e1-363d98c135d5})"); } -impl ::core::clone::Clone for ContactChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChange { type Vtable = IContactChange_Vtbl; } @@ -3856,6 +3361,7 @@ unsafe impl ::core::marker::Send for ContactChange {} unsafe impl ::core::marker::Sync for ContactChange {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChangeReader(::windows_core::IUnknown); impl ContactChangeReader { pub fn AcceptChanges(&self) -> ::windows_core::Result<()> { @@ -3879,25 +3385,9 @@ impl ContactChangeReader { } } } -impl ::core::cmp::PartialEq for ContactChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChangeReader {} -impl ::core::fmt::Debug for ContactChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeReader;{217319fa-2d0c-42e0-a9da-3ecd56a78a47})"); } -impl ::core::clone::Clone for ContactChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChangeReader { type Vtable = IContactChangeReader_Vtbl; } @@ -3912,6 +3402,7 @@ unsafe impl ::core::marker::Send for ContactChangeReader {} unsafe impl ::core::marker::Sync for ContactChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChangeTracker(::windows_core::IUnknown); impl ContactChangeTracker { pub fn Enable(&self) -> ::windows_core::Result<()> { @@ -3937,25 +3428,9 @@ impl ContactChangeTracker { } } } -impl ::core::cmp::PartialEq for ContactChangeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChangeTracker {} -impl ::core::fmt::Debug for ContactChangeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChangeTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChangeTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangeTracker;{6e992952-309b-404d-9712-b37bd30278aa})"); } -impl ::core::clone::Clone for ContactChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChangeTracker { type Vtable = IContactChangeTracker_Vtbl; } @@ -3970,6 +3445,7 @@ unsafe impl ::core::marker::Send for ContactChangeTracker {} unsafe impl ::core::marker::Sync for ContactChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChangedDeferral(::windows_core::IUnknown); impl ContactChangedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -3977,25 +3453,9 @@ impl ContactChangedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ContactChangedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChangedDeferral {} -impl ::core::fmt::Debug for ContactChangedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChangedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChangedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedDeferral;{c5143ae8-1b03-46f8-b694-a523e83cfcb6})"); } -impl ::core::clone::Clone for ContactChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChangedDeferral { type Vtable = IContactChangedDeferral_Vtbl; } @@ -4010,6 +3470,7 @@ unsafe impl ::core::marker::Send for ContactChangedDeferral {} unsafe impl ::core::marker::Sync for ContactChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChangedEventArgs(::windows_core::IUnknown); impl ContactChangedEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -4020,25 +3481,9 @@ impl ContactChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ContactChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChangedEventArgs {} -impl ::core::fmt::Debug for ContactChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactChangedEventArgs;{525e7fd1-73f3-4b7d-a918-580be4366121})"); } -impl ::core::clone::Clone for ContactChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChangedEventArgs { type Vtable = IContactChangedEventArgs_Vtbl; } @@ -4053,6 +3498,7 @@ unsafe impl ::core::marker::Send for ContactChangedEventArgs {} unsafe impl ::core::marker::Sync for ContactChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactConnectedServiceAccount(::windows_core::IUnknown); impl ContactConnectedServiceAccount { pub fn new() -> ::windows_core::Result { @@ -4085,25 +3531,9 @@ impl ContactConnectedServiceAccount { unsafe { (::windows_core::Interface::vtable(this).SetServiceName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactConnectedServiceAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactConnectedServiceAccount {} -impl ::core::fmt::Debug for ContactConnectedServiceAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactConnectedServiceAccount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactConnectedServiceAccount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactConnectedServiceAccount;{f6f83553-aa27-4731-8e4a-3dec5ce9eec9})"); } -impl ::core::clone::Clone for ContactConnectedServiceAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactConnectedServiceAccount { type Vtable = IContactConnectedServiceAccount_Vtbl; } @@ -4118,6 +3548,7 @@ unsafe impl ::core::marker::Send for ContactConnectedServiceAccount {} unsafe impl ::core::marker::Sync for ContactConnectedServiceAccount {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactDate(::windows_core::IUnknown); impl ContactDate { pub fn new() -> ::windows_core::Result { @@ -4204,25 +3635,9 @@ impl ContactDate { unsafe { (::windows_core::Interface::vtable(this).SetDescription)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactDate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactDate {} -impl ::core::fmt::Debug for ContactDate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactDate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactDate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactDate;{fe98ae66-b205-4934-9174-0ff2b0565707})"); } -impl ::core::clone::Clone for ContactDate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactDate { type Vtable = IContactDate_Vtbl; } @@ -4237,6 +3652,7 @@ unsafe impl ::core::marker::Send for ContactDate {} unsafe impl ::core::marker::Sync for ContactDate {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactEmail(::windows_core::IUnknown); impl ContactEmail { pub fn new() -> ::windows_core::Result { @@ -4280,25 +3696,9 @@ impl ContactEmail { unsafe { (::windows_core::Interface::vtable(this).SetDescription)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactEmail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactEmail {} -impl ::core::fmt::Debug for ContactEmail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactEmail").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactEmail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactEmail;{90a219a9-e3d3-4d63-993b-05b9a5393abf})"); } -impl ::core::clone::Clone for ContactEmail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactEmail { type Vtable = IContactEmail_Vtbl; } @@ -4313,6 +3713,7 @@ unsafe impl ::core::marker::Send for ContactEmail {} unsafe impl ::core::marker::Sync for ContactEmail {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactField(::windows_core::IUnknown); impl ContactField { pub fn Type(&self) -> ::windows_core::Result { @@ -4367,25 +3768,9 @@ impl ContactField { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactField {} -impl ::core::fmt::Debug for ContactField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactField").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactField { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactField;{b176486a-d293-492c-a058-db575b3e3c0f})"); } -impl ::core::clone::Clone for ContactField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactField { type Vtable = IContactField_Vtbl; } @@ -4401,6 +3786,7 @@ unsafe impl ::core::marker::Send for ContactField {} unsafe impl ::core::marker::Sync for ContactField {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactFieldFactory(::windows_core::IUnknown); impl ContactFieldFactory { pub fn new() -> ::windows_core::Result { @@ -4479,25 +3865,9 @@ impl ContactFieldFactory { } } } -impl ::core::cmp::PartialEq for ContactFieldFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactFieldFactory {} -impl ::core::fmt::Debug for ContactFieldFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactFieldFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactFieldFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactFieldFactory;{85e2913f-0e4a-4a3e-8994-406ae7ed646e})"); } -impl ::core::clone::Clone for ContactFieldFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactFieldFactory { type Vtable = IContactFieldFactory_Vtbl; } @@ -4515,27 +3885,12 @@ unsafe impl ::core::marker::Send for ContactFieldFactory {} unsafe impl ::core::marker::Sync for ContactFieldFactory {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactGroup(::windows_core::IUnknown); impl ContactGroup {} -impl ::core::cmp::PartialEq for ContactGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactGroup {} -impl ::core::fmt::Debug for ContactGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactGroup;{59bdeb01-9e9a-475d-bfe5-a37b806d852c})"); } -impl ::core::clone::Clone for ContactGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactGroup { type Vtable = IContactGroup_Vtbl; } @@ -4550,6 +3905,7 @@ unsafe impl ::core::marker::Send for ContactGroup {} unsafe impl ::core::marker::Sync for ContactGroup {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactInformation(::windows_core::IUnknown); impl ContactInformation { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4623,25 +3979,9 @@ impl ContactInformation { } } } -impl ::core::cmp::PartialEq for ContactInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactInformation {} -impl ::core::fmt::Debug for ContactInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInformation;{275eb6d4-6a2e-4278-a914-e460d5f088f6})"); } -impl ::core::clone::Clone for ContactInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactInformation { type Vtable = IContactInformation_Vtbl; } @@ -4654,6 +3994,7 @@ impl ::windows_core::RuntimeName for ContactInformation { ::windows_core::imp::interface_hierarchy!(ContactInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactInstantMessageField(::windows_core::IUnknown); impl ContactInstantMessageField { pub fn Type(&self) -> ::windows_core::Result { @@ -4743,25 +4084,9 @@ impl ContactInstantMessageField { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactInstantMessageField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactInstantMessageField {} -impl ::core::fmt::Debug for ContactInstantMessageField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactInstantMessageField").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactInstantMessageField { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactInstantMessageField;{cce33b37-0d85-41fa-b43d-da599c3eb009})"); } -impl ::core::clone::Clone for ContactInstantMessageField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactInstantMessageField { type Vtable = IContactInstantMessageField_Vtbl; } @@ -4777,6 +4102,7 @@ unsafe impl ::core::marker::Send for ContactInstantMessageField {} unsafe impl ::core::marker::Sync for ContactInstantMessageField {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactJobInfo(::windows_core::IUnknown); impl ContactJobInfo { pub fn new() -> ::windows_core::Result { @@ -4875,25 +4201,9 @@ impl ContactJobInfo { unsafe { (::windows_core::Interface::vtable(this).SetDescription)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactJobInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactJobInfo {} -impl ::core::fmt::Debug for ContactJobInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactJobInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactJobInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactJobInfo;{6d117b4c-ce50-4b43-9e69-b18258ea5315})"); } -impl ::core::clone::Clone for ContactJobInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactJobInfo { type Vtable = IContactJobInfo_Vtbl; } @@ -4950,6 +4260,7 @@ impl ::windows_core::RuntimeName for ContactLaunchActionVerbs { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactList(::windows_core::IUnknown); impl ContactList { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5177,25 +4488,9 @@ impl ContactList { } } } -impl ::core::cmp::PartialEq for ContactList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactList {} -impl ::core::fmt::Debug for ContactList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactList;{16ddec75-392c-4845-9dfb-51a3e7ef3e42})"); } -impl ::core::clone::Clone for ContactList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactList { type Vtable = IContactList_Vtbl; } @@ -5210,6 +4505,7 @@ unsafe impl ::core::marker::Send for ContactList {} unsafe impl ::core::marker::Sync for ContactList {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListLimitedWriteOperations(::windows_core::IUnknown); impl ContactListLimitedWriteOperations { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5234,25 +4530,9 @@ impl ContactListLimitedWriteOperations { } } } -impl ::core::cmp::PartialEq for ContactListLimitedWriteOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListLimitedWriteOperations {} -impl ::core::fmt::Debug for ContactListLimitedWriteOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListLimitedWriteOperations").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListLimitedWriteOperations { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListLimitedWriteOperations;{e19813da-4a0b-44b8-9a1f-a0f3d218175f})"); } -impl ::core::clone::Clone for ContactListLimitedWriteOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListLimitedWriteOperations { type Vtable = IContactListLimitedWriteOperations_Vtbl; } @@ -5267,6 +4547,7 @@ unsafe impl ::core::marker::Send for ContactListLimitedWriteOperations {} unsafe impl ::core::marker::Sync for ContactListLimitedWriteOperations {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListSyncConstraints(::windows_core::IUnknown); impl ContactListSyncConstraints { pub fn CanSyncDescriptions(&self) -> ::windows_core::Result { @@ -5767,25 +5048,9 @@ impl ContactListSyncConstraints { unsafe { (::windows_core::Interface::vtable(this).SetMaxWebsites)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for ContactListSyncConstraints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListSyncConstraints {} -impl ::core::fmt::Debug for ContactListSyncConstraints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListSyncConstraints").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListSyncConstraints { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncConstraints;{b2b0bf01-3062-4e2e-969d-018d1987f314})"); } -impl ::core::clone::Clone for ContactListSyncConstraints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListSyncConstraints { type Vtable = IContactListSyncConstraints_Vtbl; } @@ -5800,6 +5065,7 @@ unsafe impl ::core::marker::Send for ContactListSyncConstraints {} unsafe impl ::core::marker::Sync for ContactListSyncConstraints {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactListSyncManager(::windows_core::IUnknown); impl ContactListSyncManager { pub fn Status(&self) -> ::windows_core::Result { @@ -5871,25 +5137,9 @@ impl ContactListSyncManager { unsafe { (::windows_core::Interface::vtable(this).SetLastAttemptedSyncTime)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContactListSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactListSyncManager {} -impl ::core::fmt::Debug for ContactListSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactListSyncManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactListSyncManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactListSyncManager;{146e83be-7925-4acc-9de5-21ddd06f8674})"); } -impl ::core::clone::Clone for ContactListSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactListSyncManager { type Vtable = IContactListSyncManager_Vtbl; } @@ -5904,6 +5154,7 @@ unsafe impl ::core::marker::Send for ContactListSyncManager {} unsafe impl ::core::marker::Sync for ContactListSyncManager {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactLocationField(::windows_core::IUnknown); impl ContactLocationField { pub fn Type(&self) -> ::windows_core::Result { @@ -6000,25 +5251,9 @@ impl ContactLocationField { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactLocationField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactLocationField {} -impl ::core::fmt::Debug for ContactLocationField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactLocationField").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactLocationField { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactLocationField;{9ec00f82-ab6e-4b36-89e3-b23bc0a1dacc})"); } -impl ::core::clone::Clone for ContactLocationField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactLocationField { type Vtable = IContactLocationField_Vtbl; } @@ -6236,6 +5471,7 @@ impl ::windows_core::RuntimeName for ContactManager { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactManagerForUser(::windows_core::IUnknown); impl ContactManagerForUser { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -6332,25 +5568,9 @@ impl ContactManagerForUser { unsafe { (::windows_core::Interface::vtable(this).ShowFullContactCard)(::windows_core::Interface::as_raw(this), contact.into_param().abi(), fullcontactcardoptions.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ContactManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactManagerForUser {} -impl ::core::fmt::Debug for ContactManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactManagerForUser;{b74bba57-1076-4bef-aef3-54686d18387d})"); } -impl ::core::clone::Clone for ContactManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactManagerForUser { type Vtable = IContactManagerForUser_Vtbl; } @@ -6365,6 +5585,7 @@ unsafe impl ::core::marker::Send for ContactManagerForUser {} unsafe impl ::core::marker::Sync for ContactManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactMatchReason(::windows_core::IUnknown); impl ContactMatchReason { pub fn Field(&self) -> ::windows_core::Result { @@ -6391,25 +5612,9 @@ impl ContactMatchReason { } } } -impl ::core::cmp::PartialEq for ContactMatchReason { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactMatchReason {} -impl ::core::fmt::Debug for ContactMatchReason { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactMatchReason").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactMatchReason { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactMatchReason;{bc922504-e7d8-413e-95f4-b75c54c74077})"); } -impl ::core::clone::Clone for ContactMatchReason { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactMatchReason { type Vtable = IContactMatchReason_Vtbl; } @@ -6424,6 +5629,7 @@ unsafe impl ::core::marker::Send for ContactMatchReason {} unsafe impl ::core::marker::Sync for ContactMatchReason {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPanel(::windows_core::IUnknown); impl ContactPanel { pub fn ClosePanel(&self) -> ::windows_core::Result<()> { @@ -6485,25 +5691,9 @@ impl ContactPanel { unsafe { (::windows_core::Interface::vtable(this).RemoveClosing)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ContactPanel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPanel {} -impl ::core::fmt::Debug for ContactPanel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPanel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPanel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanel;{41bf1265-d2ee-4b97-a80a-7d8d64cca6f5})"); } -impl ::core::clone::Clone for ContactPanel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPanel { type Vtable = IContactPanel_Vtbl; } @@ -6518,6 +5708,7 @@ unsafe impl ::core::marker::Send for ContactPanel {} unsafe impl ::core::marker::Sync for ContactPanel {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPanelClosingEventArgs(::windows_core::IUnknown); impl ContactPanelClosingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6530,25 +5721,9 @@ impl ContactPanelClosingEventArgs { } } } -impl ::core::cmp::PartialEq for ContactPanelClosingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPanelClosingEventArgs {} -impl ::core::fmt::Debug for ContactPanelClosingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPanelClosingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPanelClosingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelClosingEventArgs;{222174d3-cf4b-46d7-b739-6edc16110bfb})"); } -impl ::core::clone::Clone for ContactPanelClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPanelClosingEventArgs { type Vtable = IContactPanelClosingEventArgs_Vtbl; } @@ -6563,6 +5738,7 @@ unsafe impl ::core::marker::Send for ContactPanelClosingEventArgs {} unsafe impl ::core::marker::Sync for ContactPanelClosingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPanelLaunchFullAppRequestedEventArgs(::windows_core::IUnknown); impl ContactPanelLaunchFullAppRequestedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -6577,25 +5753,9 @@ impl ContactPanelLaunchFullAppRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContactPanelLaunchFullAppRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPanelLaunchFullAppRequestedEventArgs {} -impl ::core::fmt::Debug for ContactPanelLaunchFullAppRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPanelLaunchFullAppRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPanelLaunchFullAppRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPanelLaunchFullAppRequestedEventArgs;{88d61c0e-23b4-4be8-8afc-072c25a4190d})"); } -impl ::core::clone::Clone for ContactPanelLaunchFullAppRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPanelLaunchFullAppRequestedEventArgs { type Vtable = IContactPanelLaunchFullAppRequestedEventArgs_Vtbl; } @@ -6610,6 +5770,7 @@ unsafe impl ::core::marker::Send for ContactPanelLaunchFullAppRequestedEventArgs unsafe impl ::core::marker::Sync for ContactPanelLaunchFullAppRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPhone(::windows_core::IUnknown); impl ContactPhone { pub fn new() -> ::windows_core::Result { @@ -6653,25 +5814,9 @@ impl ContactPhone { unsafe { (::windows_core::Interface::vtable(this).SetDescription)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactPhone { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPhone {} -impl ::core::fmt::Debug for ContactPhone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPhone").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPhone { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPhone;{467dab65-2712-4f52-b783-9ea8111c63cd})"); } -impl ::core::clone::Clone for ContactPhone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPhone { type Vtable = IContactPhone_Vtbl; } @@ -6686,6 +5831,7 @@ unsafe impl ::core::marker::Send for ContactPhone {} unsafe impl ::core::marker::Sync for ContactPhone {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactPicker(::windows_core::IUnknown); impl ContactPicker { pub fn new() -> ::windows_core::Result { @@ -6805,25 +5951,9 @@ impl ContactPicker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactPicker {} -impl ::core::fmt::Debug for ContactPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactPicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactPicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactPicker;{0e09fd91-42f8-4055-90a0-896f96738936})"); } -impl ::core::clone::Clone for ContactPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactPicker { type Vtable = IContactPicker_Vtbl; } @@ -6836,6 +5966,7 @@ impl ::windows_core::RuntimeName for ContactPicker { ::windows_core::imp::interface_hierarchy!(ContactPicker, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactQueryOptions(::windows_core::IUnknown); impl ContactQueryOptions { pub fn new() -> ::windows_core::Result { @@ -6921,25 +6052,9 @@ impl ContactQueryOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactQueryOptions {} -impl ::core::fmt::Debug for ContactQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryOptions;{4408cc9e-7d7c-42f0-8ac7-f50733ecdbc1})"); } -impl ::core::clone::Clone for ContactQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactQueryOptions { type Vtable = IContactQueryOptions_Vtbl; } @@ -6954,6 +6069,7 @@ unsafe impl ::core::marker::Send for ContactQueryOptions {} unsafe impl ::core::marker::Sync for ContactQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactQueryTextSearch(::windows_core::IUnknown); impl ContactQueryTextSearch { pub fn Fields(&self) -> ::windows_core::Result { @@ -6990,25 +6106,9 @@ impl ContactQueryTextSearch { unsafe { (::windows_core::Interface::vtable(this).SetSearchScope)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContactQueryTextSearch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactQueryTextSearch {} -impl ::core::fmt::Debug for ContactQueryTextSearch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactQueryTextSearch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactQueryTextSearch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactQueryTextSearch;{f7e3f9cb-a957-439b-a0b7-1c02a1963ff0})"); } -impl ::core::clone::Clone for ContactQueryTextSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactQueryTextSearch { type Vtable = IContactQueryTextSearch_Vtbl; } @@ -7023,6 +6123,7 @@ unsafe impl ::core::marker::Send for ContactQueryTextSearch {} unsafe impl ::core::marker::Sync for ContactQueryTextSearch {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactReader(::windows_core::IUnknown); impl ContactReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7047,25 +6148,9 @@ impl ContactReader { } } } -impl ::core::cmp::PartialEq for ContactReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactReader {} -impl ::core::fmt::Debug for ContactReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactReader;{d397e42e-1488-42f2-bf64-253f4884bfed})"); } -impl ::core::clone::Clone for ContactReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactReader { type Vtable = IContactReader_Vtbl; } @@ -7080,6 +6165,7 @@ unsafe impl ::core::marker::Send for ContactReader {} unsafe impl ::core::marker::Sync for ContactReader {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactSignificantOther(::windows_core::IUnknown); impl ContactSignificantOther { pub fn new() -> ::windows_core::Result { @@ -7123,25 +6209,9 @@ impl ContactSignificantOther { unsafe { (::windows_core::Interface::vtable(this).SetRelationship)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContactSignificantOther { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactSignificantOther {} -impl ::core::fmt::Debug for ContactSignificantOther { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactSignificantOther").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactSignificantOther { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactSignificantOther;{8873b5ab-c5fb-46d8-93fe-da3ff1934054})"); } -impl ::core::clone::Clone for ContactSignificantOther { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactSignificantOther { type Vtable = IContactSignificantOther_Vtbl; } @@ -7156,6 +6226,7 @@ unsafe impl ::core::marker::Send for ContactSignificantOther {} unsafe impl ::core::marker::Sync for ContactSignificantOther {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactStore(::windows_core::IUnknown); impl ContactStore { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7287,25 +6358,9 @@ impl ContactStore { } } } -impl ::core::cmp::PartialEq for ContactStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactStore {} -impl ::core::fmt::Debug for ContactStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStore;{2c220b10-3a6c-4293-b9bc-fe987f6e0d52})"); } -impl ::core::clone::Clone for ContactStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactStore { type Vtable = IContactStore_Vtbl; } @@ -7320,27 +6375,12 @@ unsafe impl ::core::marker::Send for ContactStore {} unsafe impl ::core::marker::Sync for ContactStore {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactStoreNotificationTriggerDetails(::windows_core::IUnknown); impl ContactStoreNotificationTriggerDetails {} -impl ::core::cmp::PartialEq for ContactStoreNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactStoreNotificationTriggerDetails {} -impl ::core::fmt::Debug for ContactStoreNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactStoreNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactStoreNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactStoreNotificationTriggerDetails;{abb298d6-878a-4f8b-a9ce-46bb7d1c84ce})"); } -impl ::core::clone::Clone for ContactStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactStoreNotificationTriggerDetails { type Vtable = IContactStoreNotificationTriggerDetails_Vtbl; } @@ -7355,6 +6395,7 @@ unsafe impl ::core::marker::Send for ContactStoreNotificationTriggerDetails {} unsafe impl ::core::marker::Sync for ContactStoreNotificationTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactWebsite(::windows_core::IUnknown); impl ContactWebsite { pub fn new() -> ::windows_core::Result { @@ -7405,25 +6446,9 @@ impl ContactWebsite { unsafe { (::windows_core::Interface::vtable(this).SetRawValue)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactWebsite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactWebsite {} -impl ::core::fmt::Debug for ContactWebsite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactWebsite").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactWebsite { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.ContactWebsite;{9f130176-dc1b-4055-ad66-652f39d990e8})"); } -impl ::core::clone::Clone for ContactWebsite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactWebsite { type Vtable = IContactWebsite_Vtbl; } @@ -7438,6 +6463,7 @@ unsafe impl ::core::marker::Send for ContactWebsite {} unsafe impl ::core::marker::Sync for ContactWebsite {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FullContactCardOptions(::windows_core::IUnknown); impl FullContactCardOptions { pub fn new() -> ::windows_core::Result { @@ -7463,25 +6489,9 @@ impl FullContactCardOptions { unsafe { (::windows_core::Interface::vtable(this).SetDesiredRemainingView)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FullContactCardOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FullContactCardOptions {} -impl ::core::fmt::Debug for FullContactCardOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FullContactCardOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FullContactCardOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.FullContactCardOptions;{8744436c-5cf9-4683-bdca-a1fdebf8dbce})"); } -impl ::core::clone::Clone for FullContactCardOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FullContactCardOptions { type Vtable = IFullContactCardOptions_Vtbl; } @@ -7560,6 +6570,7 @@ impl ::windows_core::RuntimeName for KnownContactField { } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PinnedContactIdsQueryResult(::windows_core::IUnknown); impl PinnedContactIdsQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7572,25 +6583,9 @@ impl PinnedContactIdsQueryResult { } } } -impl ::core::cmp::PartialEq for PinnedContactIdsQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PinnedContactIdsQueryResult {} -impl ::core::fmt::Debug for PinnedContactIdsQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PinnedContactIdsQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PinnedContactIdsQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactIdsQueryResult;{7d9b2552-1579-4ddc-871f-a30a3aea9ba1})"); } -impl ::core::clone::Clone for PinnedContactIdsQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PinnedContactIdsQueryResult { type Vtable = IPinnedContactIdsQueryResult_Vtbl; } @@ -7605,6 +6600,7 @@ unsafe impl ::core::marker::Send for PinnedContactIdsQueryResult {} unsafe impl ::core::marker::Sync for PinnedContactIdsQueryResult {} #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PinnedContactManager(::windows_core::IUnknown); impl PinnedContactManager { #[doc = "*Required features: `\"System\"`*"] @@ -7714,25 +6710,9 @@ impl PinnedContactManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PinnedContactManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PinnedContactManager {} -impl ::core::fmt::Debug for PinnedContactManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PinnedContactManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PinnedContactManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Contacts.PinnedContactManager;{fcbc740c-e1d6-45c3-b8b6-a35604e167a0})"); } -impl ::core::clone::Clone for PinnedContactManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PinnedContactManager { type Vtable = IPinnedContactManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index 66d3f0ce30..f3e7ce9817 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationSignalDetectionConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationSignalDetectionConfiguration { type Vtable = IActivationSignalDetectionConfiguration_Vtbl; } -impl ::core::clone::Clone for IActivationSignalDetectionConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationSignalDetectionConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40d8be16_5217_581c_9ab2_ce9b2f2e8e00); } @@ -79,15 +75,11 @@ pub struct IActivationSignalDetectionConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationSignalDetectionConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationSignalDetectionConfiguration2 { type Vtable = IActivationSignalDetectionConfiguration2_Vtbl; } -impl ::core::clone::Clone for IActivationSignalDetectionConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationSignalDetectionConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71d9b022_562c_57ce_a78b_8b4ff0145bab); } @@ -112,15 +104,11 @@ pub struct IActivationSignalDetectionConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationSignalDetectionConfigurationCreationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationSignalDetectionConfigurationCreationResult { type Vtable = IActivationSignalDetectionConfigurationCreationResult_Vtbl; } -impl ::core::clone::Clone for IActivationSignalDetectionConfigurationCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationSignalDetectionConfigurationCreationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c89bc1b_8d12_5e48_a71c_7f6bc1cd66e0); } @@ -133,15 +121,11 @@ pub struct IActivationSignalDetectionConfigurationCreationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationSignalDetector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationSignalDetector { type Vtable = IActivationSignalDetector_Vtbl; } -impl ::core::clone::Clone for IActivationSignalDetector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationSignalDetector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5bf345f_a4d0_5b2b_8e65_b3c55ee756ff); } @@ -198,15 +182,11 @@ pub struct IActivationSignalDetector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationSignalDetector2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationSignalDetector2 { type Vtable = IActivationSignalDetector2_Vtbl; } -impl ::core::clone::Clone for IActivationSignalDetector2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationSignalDetector2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7e2490a_baa5_59d2_85d1_ba42f7cf78c9); } @@ -236,15 +216,11 @@ pub struct IActivationSignalDetector2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentDetectorManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentDetectorManager { type Vtable = IConversationalAgentDetectorManager_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentDetectorManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentDetectorManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde94fbb0_597a_5df8_8cfb_9dbb583ba3ff); } @@ -271,15 +247,11 @@ pub struct IConversationalAgentDetectorManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentDetectorManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentDetectorManager2 { type Vtable = IConversationalAgentDetectorManager2_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentDetectorManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentDetectorManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84610f31_d7f3_52fe_9311_c9eb4e3eb30a); } @@ -295,15 +267,11 @@ pub struct IConversationalAgentDetectorManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentDetectorManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentDetectorManagerStatics { type Vtable = IConversationalAgentDetectorManagerStatics_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentDetectorManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentDetectorManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36a8d283_fa0e_5693_8489_0fb2f0ab40d3); } @@ -315,15 +283,11 @@ pub struct IConversationalAgentDetectorManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSession { type Vtable = IConversationalAgentSession_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaaae09a_b7ba_57e5_ad13_df520f9b6fa7); } @@ -422,15 +386,11 @@ pub struct IConversationalAgentSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSession2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSession2 { type Vtable = IConversationalAgentSession2_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7a9fbf9_ac78_57ff_9596_acc7a1c9a607); } @@ -459,15 +419,11 @@ pub struct IConversationalAgentSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSessionInterruptedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSessionInterruptedEventArgs { type Vtable = IConversationalAgentSessionInterruptedEventArgs_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSessionInterruptedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSessionInterruptedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9766591f_f63d_5d3e_9bf2_bd0760552686); } @@ -478,15 +434,11 @@ pub struct IConversationalAgentSessionInterruptedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSessionStatics { type Vtable = IConversationalAgentSessionStatics_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa005166e_e954_576e_be04_11b8ed10f37b); } @@ -502,15 +454,11 @@ pub struct IConversationalAgentSessionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSignal(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSignal { type Vtable = IConversationalAgentSignal_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSignal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSignal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20ed25f7_b120_51f2_8603_265d6a47f232); } @@ -545,15 +493,11 @@ pub struct IConversationalAgentSignal_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSignal2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSignal2 { type Vtable = IConversationalAgentSignal2_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSignal2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSignal2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0cc7ba9_9a7b_5c34_880e_b6146c904ecb); } @@ -566,15 +510,11 @@ pub struct IConversationalAgentSignal2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSignalDetectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSignalDetectedEventArgs { type Vtable = IConversationalAgentSignalDetectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSignalDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSignalDetectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d57eb8f_f88a_599b_91d3_d604876708bc); } @@ -585,15 +525,11 @@ pub struct IConversationalAgentSignalDetectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConversationalAgentSystemStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConversationalAgentSystemStateChangedEventArgs { type Vtable = IConversationalAgentSystemStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IConversationalAgentSystemStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConversationalAgentSystemStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c2c6e3e_2785_59a7_8e71_38adeef79928); } @@ -605,15 +541,11 @@ pub struct IConversationalAgentSystemStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDetectionConfigurationAvailabilityChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDetectionConfigurationAvailabilityChangedEventArgs { type Vtable = IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDetectionConfigurationAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDetectionConfigurationAvailabilityChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5129c9fb_4be8_5f14_af2b_88d62b1b4462); } @@ -625,15 +557,11 @@ pub struct IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDetectionConfigurationAvailabilityInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDetectionConfigurationAvailabilityInfo { type Vtable = IDetectionConfigurationAvailabilityInfo_Vtbl; } -impl ::core::clone::Clone for IDetectionConfigurationAvailabilityInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDetectionConfigurationAvailabilityInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5affeb0_40f0_5398_b838_91979c2c6208); } @@ -648,15 +576,11 @@ pub struct IDetectionConfigurationAvailabilityInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDetectionConfigurationAvailabilityInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDetectionConfigurationAvailabilityInfo2 { type Vtable = IDetectionConfigurationAvailabilityInfo2_Vtbl; } -impl ::core::clone::Clone for IDetectionConfigurationAvailabilityInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDetectionConfigurationAvailabilityInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30e06433_38b3_5c4b_84c3_62b6e685b2ff); } @@ -671,6 +595,7 @@ pub struct IDetectionConfigurationAvailabilityInfo2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivationSignalDetectionConfiguration(::windows_core::IUnknown); impl ActivationSignalDetectionConfiguration { pub fn SignalId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -919,25 +844,9 @@ impl ActivationSignalDetectionConfiguration { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ActivationSignalDetectionConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivationSignalDetectionConfiguration {} -impl ::core::fmt::Debug for ActivationSignalDetectionConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivationSignalDetectionConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivationSignalDetectionConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfiguration;{40d8be16-5217-581c-9ab2-ce9b2f2e8e00})"); } -impl ::core::clone::Clone for ActivationSignalDetectionConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivationSignalDetectionConfiguration { type Vtable = IActivationSignalDetectionConfiguration_Vtbl; } @@ -954,6 +863,7 @@ unsafe impl ::core::marker::Send for ActivationSignalDetectionConfiguration {} unsafe impl ::core::marker::Sync for ActivationSignalDetectionConfiguration {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivationSignalDetectionConfigurationCreationResult(::windows_core::IUnknown); impl ActivationSignalDetectionConfigurationCreationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -971,25 +881,9 @@ impl ActivationSignalDetectionConfigurationCreationResult { } } } -impl ::core::cmp::PartialEq for ActivationSignalDetectionConfigurationCreationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivationSignalDetectionConfigurationCreationResult {} -impl ::core::fmt::Debug for ActivationSignalDetectionConfigurationCreationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivationSignalDetectionConfigurationCreationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivationSignalDetectionConfigurationCreationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetectionConfigurationCreationResult;{4c89bc1b-8d12-5e48-a71c-7f6bc1cd66e0})"); } -impl ::core::clone::Clone for ActivationSignalDetectionConfigurationCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivationSignalDetectionConfigurationCreationResult { type Vtable = IActivationSignalDetectionConfigurationCreationResult_Vtbl; } @@ -1004,6 +898,7 @@ unsafe impl ::core::marker::Send for ActivationSignalDetectionConfigurationCreat unsafe impl ::core::marker::Sync for ActivationSignalDetectionConfigurationCreationResult {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivationSignalDetector(::windows_core::IUnknown); impl ActivationSignalDetector { pub fn ProviderId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1190,25 +1085,9 @@ impl ActivationSignalDetector { } } } -impl ::core::cmp::PartialEq for ActivationSignalDetector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivationSignalDetector {} -impl ::core::fmt::Debug for ActivationSignalDetector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivationSignalDetector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivationSignalDetector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ActivationSignalDetector;{b5bf345f-a4d0-5b2b-8e65-b3c55ee756ff})"); } -impl ::core::clone::Clone for ActivationSignalDetector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivationSignalDetector { type Vtable = IActivationSignalDetector_Vtbl; } @@ -1223,6 +1102,7 @@ unsafe impl ::core::marker::Send for ActivationSignalDetector {} unsafe impl ::core::marker::Sync for ActivationSignalDetector {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentDetectorManager(::windows_core::IUnknown); impl ConversationalAgentDetectorManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1289,25 +1169,9 @@ impl ConversationalAgentDetectorManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ConversationalAgentDetectorManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentDetectorManager {} -impl ::core::fmt::Debug for ConversationalAgentDetectorManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentDetectorManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentDetectorManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentDetectorManager;{de94fbb0-597a-5df8-8cfb-9dbb583ba3ff})"); } -impl ::core::clone::Clone for ConversationalAgentDetectorManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentDetectorManager { type Vtable = IConversationalAgentDetectorManager_Vtbl; } @@ -1322,6 +1186,7 @@ unsafe impl ::core::marker::Send for ConversationalAgentDetectorManager {} unsafe impl ::core::marker::Sync for ConversationalAgentDetectorManager {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentSession(::windows_core::IUnknown); impl ConversationalAgentSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1677,25 +1542,9 @@ impl ConversationalAgentSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ConversationalAgentSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentSession {} -impl ::core::fmt::Debug for ConversationalAgentSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSession;{daaae09a-b7ba-57e5-ad13-df520f9b6fa7})"); } -impl ::core::clone::Clone for ConversationalAgentSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentSession { type Vtable = IConversationalAgentSession_Vtbl; } @@ -1712,27 +1561,12 @@ unsafe impl ::core::marker::Send for ConversationalAgentSession {} unsafe impl ::core::marker::Sync for ConversationalAgentSession {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentSessionInterruptedEventArgs(::windows_core::IUnknown); impl ConversationalAgentSessionInterruptedEventArgs {} -impl ::core::cmp::PartialEq for ConversationalAgentSessionInterruptedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentSessionInterruptedEventArgs {} -impl ::core::fmt::Debug for ConversationalAgentSessionInterruptedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentSessionInterruptedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentSessionInterruptedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSessionInterruptedEventArgs;{9766591f-f63d-5d3e-9bf2-bd0760552686})"); } -impl ::core::clone::Clone for ConversationalAgentSessionInterruptedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentSessionInterruptedEventArgs { type Vtable = IConversationalAgentSessionInterruptedEventArgs_Vtbl; } @@ -1747,6 +1581,7 @@ unsafe impl ::core::marker::Send for ConversationalAgentSessionInterruptedEventA unsafe impl ::core::marker::Sync for ConversationalAgentSessionInterruptedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentSignal(::windows_core::IUnknown); impl ConversationalAgentSignal { pub fn IsSignalVerificationRequired(&self) -> ::windows_core::Result { @@ -1841,25 +1676,9 @@ impl ConversationalAgentSignal { } } } -impl ::core::cmp::PartialEq for ConversationalAgentSignal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentSignal {} -impl ::core::fmt::Debug for ConversationalAgentSignal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentSignal").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentSignal { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignal;{20ed25f7-b120-51f2-8603-265d6a47f232})"); } -impl ::core::clone::Clone for ConversationalAgentSignal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentSignal { type Vtable = IConversationalAgentSignal_Vtbl; } @@ -1874,27 +1693,12 @@ unsafe impl ::core::marker::Send for ConversationalAgentSignal {} unsafe impl ::core::marker::Sync for ConversationalAgentSignal {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentSignalDetectedEventArgs(::windows_core::IUnknown); impl ConversationalAgentSignalDetectedEventArgs {} -impl ::core::cmp::PartialEq for ConversationalAgentSignalDetectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentSignalDetectedEventArgs {} -impl ::core::fmt::Debug for ConversationalAgentSignalDetectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentSignalDetectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentSignalDetectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSignalDetectedEventArgs;{4d57eb8f-f88a-599b-91d3-d604876708bc})"); } -impl ::core::clone::Clone for ConversationalAgentSignalDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentSignalDetectedEventArgs { type Vtable = IConversationalAgentSignalDetectedEventArgs_Vtbl; } @@ -1909,6 +1713,7 @@ unsafe impl ::core::marker::Send for ConversationalAgentSignalDetectedEventArgs unsafe impl ::core::marker::Sync for ConversationalAgentSignalDetectedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConversationalAgentSystemStateChangedEventArgs(::windows_core::IUnknown); impl ConversationalAgentSystemStateChangedEventArgs { pub fn SystemStateChangeType(&self) -> ::windows_core::Result { @@ -1919,25 +1724,9 @@ impl ConversationalAgentSystemStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ConversationalAgentSystemStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConversationalAgentSystemStateChangedEventArgs {} -impl ::core::fmt::Debug for ConversationalAgentSystemStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConversationalAgentSystemStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConversationalAgentSystemStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.ConversationalAgentSystemStateChangedEventArgs;{1c2c6e3e-2785-59a7-8e71-38adeef79928})"); } -impl ::core::clone::Clone for ConversationalAgentSystemStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConversationalAgentSystemStateChangedEventArgs { type Vtable = IConversationalAgentSystemStateChangedEventArgs_Vtbl; } @@ -1952,6 +1741,7 @@ unsafe impl ::core::marker::Send for ConversationalAgentSystemStateChangedEventA unsafe impl ::core::marker::Sync for ConversationalAgentSystemStateChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DetectionConfigurationAvailabilityChangedEventArgs(::windows_core::IUnknown); impl DetectionConfigurationAvailabilityChangedEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -1962,25 +1752,9 @@ impl DetectionConfigurationAvailabilityChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DetectionConfigurationAvailabilityChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DetectionConfigurationAvailabilityChangedEventArgs {} -impl ::core::fmt::Debug for DetectionConfigurationAvailabilityChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DetectionConfigurationAvailabilityChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DetectionConfigurationAvailabilityChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityChangedEventArgs;{5129c9fb-4be8-5f14-af2b-88d62b1b4462})"); } -impl ::core::clone::Clone for DetectionConfigurationAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DetectionConfigurationAvailabilityChangedEventArgs { type Vtable = IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl; } @@ -1995,6 +1769,7 @@ unsafe impl ::core::marker::Send for DetectionConfigurationAvailabilityChangedEv unsafe impl ::core::marker::Sync for DetectionConfigurationAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DetectionConfigurationAvailabilityInfo(::windows_core::IUnknown); impl DetectionConfigurationAvailabilityInfo { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -2035,25 +1810,9 @@ impl DetectionConfigurationAvailabilityInfo { } } } -impl ::core::cmp::PartialEq for DetectionConfigurationAvailabilityInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DetectionConfigurationAvailabilityInfo {} -impl ::core::fmt::Debug for DetectionConfigurationAvailabilityInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DetectionConfigurationAvailabilityInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DetectionConfigurationAvailabilityInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ConversationalAgent.DetectionConfigurationAvailabilityInfo;{b5affeb0-40f0-5398-b838-91979c2c6208})"); } -impl ::core::clone::Clone for DetectionConfigurationAvailabilityInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DetectionConfigurationAvailabilityInfo { type Vtable = IDetectionConfigurationAvailabilityInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs index 7806ed980f..1798f42868 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs @@ -33,8 +33,8 @@ impl ICoreApplicationUnhandledError_Vtbl { RemoveUnhandledErrorDetected: RemoveUnhandledErrorDetected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"UI_Core\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IFrameworkView_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"implement\"`*"] @@ -114,7 +114,7 @@ impl IFrameworkViewSource_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateView: CreateView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index 4e242e6f13..afb386aebf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppListEntry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppListEntry { type Vtable = IAppListEntry_Vtbl; } -impl ::core::clone::Clone for IAppListEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppListEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef00f07f_2108_490a_877a_8a9f17c25fad); } @@ -24,15 +20,11 @@ pub struct IAppListEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppListEntry2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppListEntry2 { type Vtable = IAppListEntry2_Vtbl; } -impl ::core::clone::Clone for IAppListEntry2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppListEntry2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0a618ad_bf35_42ac_ac06_86eeeb41d04b); } @@ -44,15 +36,11 @@ pub struct IAppListEntry2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppListEntry3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppListEntry3 { type Vtable = IAppListEntry3_Vtbl; } -impl ::core::clone::Clone for IAppListEntry3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppListEntry3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6099f28d_fc32_470a_bc69_4b061a76ef2e); } @@ -67,15 +55,11 @@ pub struct IAppListEntry3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppListEntry4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppListEntry4 { type Vtable = IAppListEntry4_Vtbl; } -impl ::core::clone::Clone for IAppListEntry4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppListEntry4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a131ed2_56f5_487c_8697_5166f3b33da0); } @@ -87,15 +71,11 @@ pub struct IAppListEntry4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplication(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplication { type Vtable = ICoreApplication_Vtbl; } -impl ::core::clone::Clone for ICoreApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aacf7a4_5e1d_49df_8034_fb6a68bc5ed1); } @@ -133,15 +113,11 @@ pub struct ICoreApplication_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplication2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplication2 { type Vtable = ICoreApplication2_Vtbl; } -impl ::core::clone::Clone for ICoreApplication2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplication2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x998681fb_1ab6_4b7f_be4a_9a0645224c04); } @@ -177,15 +153,11 @@ pub struct ICoreApplication2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplication3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplication3 { type Vtable = ICoreApplication3_Vtbl; } -impl ::core::clone::Clone for ICoreApplication3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplication3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeec0d39_598b_4507_8a67_772632580a57); } @@ -204,15 +176,11 @@ pub struct ICoreApplication3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationExit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationExit { type Vtable = ICoreApplicationExit_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationExit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationExit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf86461d_261e_4b72_9acd_44ed2ace6a29); } @@ -232,6 +200,7 @@ pub struct ICoreApplicationExit_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationUnhandledError(::windows_core::IUnknown); impl ICoreApplicationUnhandledError { #[doc = "*Required features: `\"Foundation\"`*"] @@ -254,28 +223,12 @@ impl ICoreApplicationUnhandledError { } } ::windows_core::imp::interface_hierarchy!(ICoreApplicationUnhandledError, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreApplicationUnhandledError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreApplicationUnhandledError {} -impl ::core::fmt::Debug for ICoreApplicationUnhandledError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreApplicationUnhandledError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreApplicationUnhandledError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f0e24ab0-dd09-42e1-b0bc-e0e131f78d7e}"); } unsafe impl ::windows_core::Interface for ICoreApplicationUnhandledError { type Vtable = ICoreApplicationUnhandledError_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationUnhandledError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationUnhandledError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0e24ab0_dd09_42e1_b0bc_e0e131f78d7e); } @@ -294,15 +247,11 @@ pub struct ICoreApplicationUnhandledError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationUseCount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationUseCount { type Vtable = ICoreApplicationUseCount_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationUseCount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationUseCount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x518dc408_c077_475b_809e_0bc0c57e4b74); } @@ -315,15 +264,11 @@ pub struct ICoreApplicationUseCount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationView { type Vtable = ICoreApplicationView_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x638bb2db_451d_4661_b099_414f34ffb9f1); } @@ -348,15 +293,11 @@ pub struct ICoreApplicationView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationView2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationView2 { type Vtable = ICoreApplicationView2_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68eb7adf_917f_48eb_9aeb_7de53e086ab1); } @@ -371,15 +312,11 @@ pub struct ICoreApplicationView2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationView3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationView3 { type Vtable = ICoreApplicationView3_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07ebe1b3_a4cf_4550_ab70_b07e85330bc8); } @@ -400,15 +337,11 @@ pub struct ICoreApplicationView3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationView5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationView5 { type Vtable = ICoreApplicationView5_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationView5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationView5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bc095a8_8ef0_446d_9e60_3a3e0428c671); } @@ -423,15 +356,11 @@ pub struct ICoreApplicationView5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationView6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationView6 { type Vtable = ICoreApplicationView6_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationView6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationView6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc119d49a_0679_49ba_803f_b79c5cf34cca); } @@ -446,15 +375,11 @@ pub struct ICoreApplicationView6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreApplicationViewTitleBar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreApplicationViewTitleBar { type Vtable = ICoreApplicationViewTitleBar_Vtbl; } -impl ::core::clone::Clone for ICoreApplicationViewTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreApplicationViewTitleBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x006d35e3_e1f1_431b_9508_29b96926ac53); } @@ -487,15 +412,11 @@ pub struct ICoreApplicationViewTitleBar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreImmersiveApplication(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreImmersiveApplication { type Vtable = ICoreImmersiveApplication_Vtbl; } -impl ::core::clone::Clone for ICoreImmersiveApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreImmersiveApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ada0e3e_e4a2_4123_b451_dc96bf800419); } @@ -512,15 +433,11 @@ pub struct ICoreImmersiveApplication_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreImmersiveApplication2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreImmersiveApplication2 { type Vtable = ICoreImmersiveApplication2_Vtbl; } -impl ::core::clone::Clone for ICoreImmersiveApplication2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreImmersiveApplication2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x828e1e36_e9e3_4cfc_9b66_48b78ea9bb2c); } @@ -532,15 +449,11 @@ pub struct ICoreImmersiveApplication2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreImmersiveApplication3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreImmersiveApplication3 { type Vtable = ICoreImmersiveApplication3_Vtbl; } -impl ::core::clone::Clone for ICoreImmersiveApplication3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreImmersiveApplication3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34a05b2f_ee0d_41e5_8314_cf10c91bf0af); } @@ -552,6 +465,7 @@ pub struct ICoreImmersiveApplication3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameworkView(::windows_core::IUnknown); impl IFrameworkView { pub fn Initialize(&self, applicationview: P0) -> ::windows_core::Result<()> @@ -584,28 +498,12 @@ impl IFrameworkView { } } ::windows_core::imp::interface_hierarchy!(IFrameworkView, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IFrameworkView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFrameworkView {} -impl ::core::fmt::Debug for IFrameworkView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFrameworkView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFrameworkView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{faab5cd0-8924-45ac-ad0f-a08fae5d0324}"); } unsafe impl ::windows_core::Interface for IFrameworkView { type Vtable = IFrameworkView_Vtbl; } -impl ::core::clone::Clone for IFrameworkView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameworkView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaab5cd0_8924_45ac_ad0f_a08fae5d0324); } @@ -624,6 +522,7 @@ pub struct IFrameworkView_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameworkViewSource(::windows_core::IUnknown); impl IFrameworkViewSource { pub fn CreateView(&self) -> ::windows_core::Result { @@ -635,28 +534,12 @@ impl IFrameworkViewSource { } } ::windows_core::imp::interface_hierarchy!(IFrameworkViewSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IFrameworkViewSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFrameworkViewSource {} -impl ::core::fmt::Debug for IFrameworkViewSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFrameworkViewSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFrameworkViewSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cd770614-65c4-426c-9494-34fc43554862}"); } unsafe impl ::windows_core::Interface for IFrameworkViewSource { type Vtable = IFrameworkViewSource_Vtbl; } -impl ::core::clone::Clone for IFrameworkViewSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameworkViewSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd770614_65c4_426c_9494_34fc43554862); } @@ -668,15 +551,11 @@ pub struct IFrameworkViewSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostedViewClosingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHostedViewClosingEventArgs { type Vtable = IHostedViewClosingEventArgs_Vtbl; } -impl ::core::clone::Clone for IHostedViewClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostedViewClosingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd238943c_b24e_4790_acb5_3e4243c4ff87); } @@ -691,15 +570,11 @@ pub struct IHostedViewClosingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnhandledError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnhandledError { type Vtable = IUnhandledError_Vtbl; } -impl ::core::clone::Clone for IUnhandledError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnhandledError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9459b726_53b5_4686_9eaf_fa8162dc3980); } @@ -712,15 +587,11 @@ pub struct IUnhandledError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnhandledErrorDetectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnhandledErrorDetectedEventArgs { type Vtable = IUnhandledErrorDetectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUnhandledErrorDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnhandledErrorDetectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x679ab78b_b336_4822_ac40_0d750f0b7a2b); } @@ -732,6 +603,7 @@ pub struct IUnhandledErrorDetectedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppListEntry(::windows_core::IUnknown); impl AppListEntry { pub fn DisplayInfo(&self) -> ::windows_core::Result { @@ -777,25 +649,9 @@ impl AppListEntry { } } } -impl ::core::cmp::PartialEq for AppListEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppListEntry {} -impl ::core::fmt::Debug for AppListEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppListEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppListEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.AppListEntry;{ef00f07f-2108-490a-877a-8a9f17c25fad})"); } -impl ::core::clone::Clone for AppListEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppListEntry { type Vtable = IAppListEntry_Vtbl; } @@ -1074,6 +930,7 @@ impl ::windows_core::RuntimeName for CoreApplication { } #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreApplicationView(::windows_core::IUnknown); impl CoreApplicationView { #[doc = "*Required features: `\"UI_Core\"`*"] @@ -1177,25 +1034,9 @@ impl CoreApplicationView { } } } -impl ::core::cmp::PartialEq for CoreApplicationView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreApplicationView {} -impl ::core::fmt::Debug for CoreApplicationView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreApplicationView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreApplicationView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationView;{638bb2db-451d-4661-b099-414f34ffb9f1})"); } -impl ::core::clone::Clone for CoreApplicationView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreApplicationView { type Vtable = ICoreApplicationView_Vtbl; } @@ -1208,6 +1049,7 @@ impl ::windows_core::RuntimeName for CoreApplicationView { ::windows_core::imp::interface_hierarchy!(CoreApplicationView, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreApplicationViewTitleBar(::windows_core::IUnknown); impl CoreApplicationViewTitleBar { pub fn SetExtendViewIntoTitleBar(&self, value: bool) -> ::windows_core::Result<()> { @@ -1286,25 +1128,9 @@ impl CoreApplicationViewTitleBar { unsafe { (::windows_core::Interface::vtable(this).RemoveIsVisibleChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for CoreApplicationViewTitleBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreApplicationViewTitleBar {} -impl ::core::fmt::Debug for CoreApplicationViewTitleBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreApplicationViewTitleBar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreApplicationViewTitleBar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.CoreApplicationViewTitleBar;{006d35e3-e1f1-431b-9508-29b96926ac53})"); } -impl ::core::clone::Clone for CoreApplicationViewTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreApplicationViewTitleBar { type Vtable = ICoreApplicationViewTitleBar_Vtbl; } @@ -1317,6 +1143,7 @@ impl ::windows_core::RuntimeName for CoreApplicationViewTitleBar { ::windows_core::imp::interface_hierarchy!(CoreApplicationViewTitleBar, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HostedViewClosingEventArgs(::windows_core::IUnknown); impl HostedViewClosingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1329,25 +1156,9 @@ impl HostedViewClosingEventArgs { } } } -impl ::core::cmp::PartialEq for HostedViewClosingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HostedViewClosingEventArgs {} -impl ::core::fmt::Debug for HostedViewClosingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HostedViewClosingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HostedViewClosingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.HostedViewClosingEventArgs;{d238943c-b24e-4790-acb5-3e4243c4ff87})"); } -impl ::core::clone::Clone for HostedViewClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HostedViewClosingEventArgs { type Vtable = IHostedViewClosingEventArgs_Vtbl; } @@ -1362,6 +1173,7 @@ unsafe impl ::core::marker::Send for HostedViewClosingEventArgs {} unsafe impl ::core::marker::Sync for HostedViewClosingEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnhandledError(::windows_core::IUnknown); impl UnhandledError { pub fn Handled(&self) -> ::windows_core::Result { @@ -1376,25 +1188,9 @@ impl UnhandledError { unsafe { (::windows_core::Interface::vtable(this).Propagate)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for UnhandledError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UnhandledError {} -impl ::core::fmt::Debug for UnhandledError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnhandledError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UnhandledError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledError;{9459b726-53b5-4686-9eaf-fa8162dc3980})"); } -impl ::core::clone::Clone for UnhandledError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UnhandledError { type Vtable = IUnhandledError_Vtbl; } @@ -1409,6 +1205,7 @@ unsafe impl ::core::marker::Send for UnhandledError {} unsafe impl ::core::marker::Sync for UnhandledError {} #[doc = "*Required features: `\"ApplicationModel_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnhandledErrorDetectedEventArgs(::windows_core::IUnknown); impl UnhandledErrorDetectedEventArgs { pub fn UnhandledError(&self) -> ::windows_core::Result { @@ -1419,25 +1216,9 @@ impl UnhandledErrorDetectedEventArgs { } } } -impl ::core::cmp::PartialEq for UnhandledErrorDetectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UnhandledErrorDetectedEventArgs {} -impl ::core::fmt::Debug for UnhandledErrorDetectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnhandledErrorDetectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UnhandledErrorDetectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs;{679ab78b-b336-4822-ac40-0d750f0b7a2b})"); } -impl ::core::clone::Clone for UnhandledErrorDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UnhandledErrorDetectedEventArgs { type Vtable = IUnhandledErrorDetectedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs index f27e3688a1..31c130b38f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs @@ -69,7 +69,7 @@ impl ICoreDropOperationTarget_Vtbl { DropAsync: DropAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs index cbb6b2b765..c98d0efa2e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragDropManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragDropManager { type Vtable = ICoreDragDropManager_Vtbl; } -impl ::core::clone::Clone for ICoreDragDropManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragDropManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d56d344_8464_4faf_aa49_37ea6e2d7bd1); } @@ -29,15 +25,11 @@ pub struct ICoreDragDropManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragDropManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragDropManagerStatics { type Vtable = ICoreDragDropManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICoreDragDropManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragDropManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9542fdca_da12_4c1c_8d06_041db29733c3); } @@ -49,15 +41,11 @@ pub struct ICoreDragDropManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragInfo { type Vtable = ICoreDragInfo_Vtbl; } -impl ::core::clone::Clone for ICoreDragInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48353a8b_cb50_464e_9575_cd4e3a7ab028); } @@ -74,15 +62,11 @@ pub struct ICoreDragInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragInfo2 { type Vtable = ICoreDragInfo2_Vtbl; } -impl ::core::clone::Clone for ICoreDragInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc54691e5_e6fb_4d74_b4b1_8a3c17f25e9e); } @@ -94,15 +78,11 @@ pub struct ICoreDragInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragOperation { type Vtable = ICoreDragOperation_Vtbl; } -impl ::core::clone::Clone for ICoreDragOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc06de4f_6db0_4e62_ab1b_a74a02dc6d85); } @@ -129,15 +109,11 @@ pub struct ICoreDragOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragOperation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragOperation2 { type Vtable = ICoreDragOperation2_Vtbl; } -impl ::core::clone::Clone for ICoreDragOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x824b1e2c_d99a_4fc3_8507_6c182f33b46a); } @@ -150,15 +126,11 @@ pub struct ICoreDragOperation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDragUIOverride(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDragUIOverride { type Vtable = ICoreDragUIOverride_Vtbl; } -impl ::core::clone::Clone for ICoreDragUIOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDragUIOverride { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89a85064_3389_4f4f_8897_7e8a3ffb3c93); } @@ -186,6 +158,7 @@ pub struct ICoreDragUIOverride_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDropOperationTarget(::windows_core::IUnknown); impl ICoreDropOperationTarget { #[doc = "*Required features: `\"Foundation\"`*"] @@ -240,28 +213,12 @@ impl ICoreDropOperationTarget { } } ::windows_core::imp::interface_hierarchy!(ICoreDropOperationTarget, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreDropOperationTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreDropOperationTarget {} -impl ::core::fmt::Debug for ICoreDropOperationTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreDropOperationTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreDropOperationTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d9126196-4c5b-417d-bb37-76381def8db4}"); } unsafe impl ::windows_core::Interface for ICoreDropOperationTarget { type Vtable = ICoreDropOperationTarget_Vtbl; } -impl ::core::clone::Clone for ICoreDropOperationTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDropOperationTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9126196_4c5b_417d_bb37_76381def8db4); } @@ -288,15 +245,11 @@ pub struct ICoreDropOperationTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDropOperationTargetRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDropOperationTargetRequestedEventArgs { type Vtable = ICoreDropOperationTargetRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreDropOperationTargetRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDropOperationTargetRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2aca929a_5e28_4ea6_829e_29134e665d6d); } @@ -308,6 +261,7 @@ pub struct ICoreDropOperationTargetRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDragDropManager(::windows_core::IUnknown); impl CoreDragDropManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -351,25 +305,9 @@ impl CoreDragDropManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreDragDropManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDragDropManager {} -impl ::core::fmt::Debug for CoreDragDropManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDragDropManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDragDropManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager;{7d56d344-8464-4faf-aa49-37ea6e2d7bd1})"); } -impl ::core::clone::Clone for CoreDragDropManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDragDropManager { type Vtable = ICoreDragDropManager_Vtbl; } @@ -384,6 +322,7 @@ unsafe impl ::core::marker::Send for CoreDragDropManager {} unsafe impl ::core::marker::Sync for CoreDragDropManager {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDragInfo(::windows_core::IUnknown); impl CoreDragInfo { pub fn Data(&self) -> ::windows_core::Result { @@ -417,25 +356,9 @@ impl CoreDragInfo { } } } -impl ::core::cmp::PartialEq for CoreDragInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDragInfo {} -impl ::core::fmt::Debug for CoreDragInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDragInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDragInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo;{48353a8b-cb50-464e-9575-cd4e3a7ab028})"); } -impl ::core::clone::Clone for CoreDragInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDragInfo { type Vtable = ICoreDragInfo_Vtbl; } @@ -450,6 +373,7 @@ unsafe impl ::core::marker::Send for CoreDragInfo {} unsafe impl ::core::marker::Sync for CoreDragInfo {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDragOperation(::windows_core::IUnknown); impl CoreDragOperation { pub fn new() -> ::windows_core::Result { @@ -520,25 +444,9 @@ impl CoreDragOperation { unsafe { (::windows_core::Interface::vtable(this).SetAllowedOperations)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreDragOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDragOperation {} -impl ::core::fmt::Debug for CoreDragOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDragOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDragOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation;{cc06de4f-6db0-4e62-ab1b-a74a02dc6d85})"); } -impl ::core::clone::Clone for CoreDragOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDragOperation { type Vtable = ICoreDragOperation_Vtbl; } @@ -553,6 +461,7 @@ unsafe impl ::core::marker::Send for CoreDragOperation {} unsafe impl ::core::marker::Sync for CoreDragOperation {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDragUIOverride(::windows_core::IUnknown); impl CoreDragUIOverride { #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -622,25 +531,9 @@ impl CoreDragUIOverride { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for CoreDragUIOverride { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDragUIOverride {} -impl ::core::fmt::Debug for CoreDragUIOverride { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDragUIOverride").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDragUIOverride { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride;{89a85064-3389-4f4f-8897-7e8a3ffb3c93})"); } -impl ::core::clone::Clone for CoreDragUIOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDragUIOverride { type Vtable = ICoreDragUIOverride_Vtbl; } @@ -655,6 +548,7 @@ unsafe impl ::core::marker::Send for CoreDragUIOverride {} unsafe impl ::core::marker::Sync for CoreDragUIOverride {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer_DragDrop_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDropOperationTargetRequestedEventArgs(::windows_core::IUnknown); impl CoreDropOperationTargetRequestedEventArgs { pub fn SetTarget(&self, target: P0) -> ::windows_core::Result<()> @@ -665,25 +559,9 @@ impl CoreDropOperationTargetRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetTarget)(::windows_core::Interface::as_raw(this), target.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CoreDropOperationTargetRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDropOperationTargetRequestedEventArgs {} -impl ::core::fmt::Debug for CoreDropOperationTargetRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDropOperationTargetRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDropOperationTargetRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs;{2aca929a-5e28-4ea6-829e-29134e665d6d})"); } -impl ::core::clone::Clone for CoreDropOperationTargetRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDropOperationTargetRequestedEventArgs { type Vtable = ICoreDropOperationTargetRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs index 6081685f6a..f5aeeb4014 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQuickLink(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQuickLink { type Vtable = IQuickLink_Vtbl; } -impl ::core::clone::Clone for IQuickLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQuickLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x603e4308_f0be_4adc_acc9_8b27ab9cf556); } @@ -39,15 +35,11 @@ pub struct IQuickLink_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareOperation { type Vtable = IShareOperation_Vtbl; } -impl ::core::clone::Clone for IShareOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2246bab8_d0f8_41c1_a82a_4137db6504fb); } @@ -67,15 +59,11 @@ pub struct IShareOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareOperation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareOperation2 { type Vtable = IShareOperation2_Vtbl; } -impl ::core::clone::Clone for IShareOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ffb97c1_9778_4a09_8e5b_cb5e482d0555); } @@ -87,15 +75,11 @@ pub struct IShareOperation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareOperation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareOperation3 { type Vtable = IShareOperation3_Vtbl; } -impl ::core::clone::Clone for IShareOperation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareOperation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ef6b382_b7a7_4571_a2a6_994a034988b2); } @@ -110,6 +94,7 @@ pub struct IShareOperation3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct QuickLink(::windows_core::IUnknown); impl QuickLink { pub fn new() -> ::windows_core::Result { @@ -178,25 +163,9 @@ impl QuickLink { } } } -impl ::core::cmp::PartialEq for QuickLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for QuickLink {} -impl ::core::fmt::Debug for QuickLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("QuickLink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for QuickLink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink;{603e4308-f0be-4adc-acc9-8b27ab9cf556})"); } -impl ::core::clone::Clone for QuickLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for QuickLink { type Vtable = IQuickLink_Vtbl; } @@ -209,6 +178,7 @@ impl ::windows_core::RuntimeName for QuickLink { ::windows_core::imp::interface_hierarchy!(QuickLink, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareOperation(::windows_core::IUnknown); impl ShareOperation { pub fn Data(&self) -> ::windows_core::Result { @@ -270,25 +240,9 @@ impl ShareOperation { } } } -impl ::core::cmp::PartialEq for ShareOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareOperation {} -impl ::core::fmt::Debug for ShareOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation;{2246bab8-d0f8-41c1-a82a-4137db6504fb})"); } -impl ::core::clone::Clone for ShareOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareOperation { type Vtable = IShareOperation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index aa4e8af8b6..c66edc4d9b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -4,15 +4,11 @@ pub mod DragDrop; pub mod ShareTarget; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardContentOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardContentOptions { type Vtable = IClipboardContentOptions_Vtbl; } -impl ::core::clone::Clone for IClipboardContentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardContentOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe888a98c_ad4b_5447_a056_ab3556276d2b); } @@ -35,15 +31,11 @@ pub struct IClipboardContentOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardHistoryChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardHistoryChangedEventArgs { type Vtable = IClipboardHistoryChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClipboardHistoryChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardHistoryChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0be453f_8ea2_53ce_9aba_8d2212573452); } @@ -54,15 +46,11 @@ pub struct IClipboardHistoryChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardHistoryItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardHistoryItem { type Vtable = IClipboardHistoryItem_Vtbl; } -impl ::core::clone::Clone for IClipboardHistoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardHistoryItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0173bd8a_afff_5c50_ab92_3d19f481ec58); } @@ -79,15 +67,11 @@ pub struct IClipboardHistoryItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardHistoryItemsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardHistoryItemsResult { type Vtable = IClipboardHistoryItemsResult_Vtbl; } -impl ::core::clone::Clone for IClipboardHistoryItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardHistoryItemsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6dfdee6_0ee2_52e3_852b_f295db65939a); } @@ -103,15 +87,11 @@ pub struct IClipboardHistoryItemsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardStatics { type Vtable = IClipboardStatics_Vtbl; } -impl ::core::clone::Clone for IClipboardStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc627e291_34e2_4963_8eed_93cbb0ea3d70); } @@ -134,15 +114,11 @@ pub struct IClipboardStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipboardStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClipboardStatics2 { type Vtable = IClipboardStatics2_Vtbl; } -impl ::core::clone::Clone for IClipboardStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipboardStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac1b6a_d29f_554b_b303_f0452345fe02); } @@ -187,15 +163,11 @@ pub struct IClipboardStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackage { type Vtable = IDataPackage_Vtbl; } -impl ::core::clone::Clone for IDataPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61ebf5c7_efea_4346_9554_981d7e198ffe); } @@ -251,15 +223,11 @@ pub struct IDataPackage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackage2 { type Vtable = IDataPackage2_Vtbl; } -impl ::core::clone::Clone for IDataPackage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x041c1fe9_2409_45e1_a538_4c53eeee04a7); } @@ -278,15 +246,11 @@ pub struct IDataPackage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackage3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackage3 { type Vtable = IDataPackage3_Vtbl; } -impl ::core::clone::Clone for IDataPackage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f31f5d_787b_4d32_965a_a9838105a056); } @@ -305,15 +269,11 @@ pub struct IDataPackage3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackage4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackage4 { type Vtable = IDataPackage4_Vtbl; } -impl ::core::clone::Clone for IDataPackage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13a24ec8_9382_536f_852a_3045e1b29a3b); } @@ -332,15 +292,11 @@ pub struct IDataPackage4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySet(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySet { type Vtable = IDataPackagePropertySet_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd1c93eb_4c4c_443a_a8d3_f5c241e91689); } @@ -377,15 +333,11 @@ pub struct IDataPackagePropertySet_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySet2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySet2 { type Vtable = IDataPackagePropertySet2_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySet2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb505d4a_9800_46aa_b181_7b6f0f2b919a); } @@ -430,15 +382,11 @@ pub struct IDataPackagePropertySet2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySet3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySet3 { type Vtable = IDataPackagePropertySet3_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySet3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySet3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e87fd9b_5205_401b_874a_455653bd39e8); } @@ -451,15 +399,11 @@ pub struct IDataPackagePropertySet3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySet4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySet4 { type Vtable = IDataPackagePropertySet4_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySet4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySet4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6390ebf5_1739_4c74_b22f_865fab5e8545); } @@ -472,15 +416,11 @@ pub struct IDataPackagePropertySet4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySetView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySetView { type Vtable = IDataPackagePropertySetView_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySetView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySetView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb94cec01_0c1a_4c57_be55_75d01289735d); } @@ -506,15 +446,11 @@ pub struct IDataPackagePropertySetView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySetView2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySetView2 { type Vtable = IDataPackagePropertySetView2_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySetView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySetView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6054509b_8ebe_4feb_9c1e_75e69de54b84); } @@ -542,15 +478,11 @@ pub struct IDataPackagePropertySetView2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySetView3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySetView3 { type Vtable = IDataPackagePropertySetView3_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySetView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySetView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb764ce5_d174_495c_84fc_1a51f6ab45d7); } @@ -562,15 +494,11 @@ pub struct IDataPackagePropertySetView3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySetView4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySetView4 { type Vtable = IDataPackagePropertySetView4_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySetView4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySetView4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4474c80d_d16f_40ae_9580_6f8562b94235); } @@ -582,15 +510,11 @@ pub struct IDataPackagePropertySetView4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackagePropertySetView5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackagePropertySetView5 { type Vtable = IDataPackagePropertySetView5_Vtbl; } -impl ::core::clone::Clone for IDataPackagePropertySetView5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackagePropertySetView5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f0a9445_3760_50bb_8523_c4202ded7d78); } @@ -602,15 +526,11 @@ pub struct IDataPackagePropertySetView5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackageView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackageView { type Vtable = IDataPackageView_Vtbl; } -impl ::core::clone::Clone for IDataPackageView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackageView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b840471_5900_4d85_a90b_10cb85fe3552); } @@ -665,15 +585,11 @@ pub struct IDataPackageView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackageView2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackageView2 { type Vtable = IDataPackageView2_Vtbl; } -impl ::core::clone::Clone for IDataPackageView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackageView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40ecba95_2450_4c1d_b6b4_ed45463dee9c); } @@ -692,15 +608,11 @@ pub struct IDataPackageView2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackageView3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackageView3 { type Vtable = IDataPackageView3_Vtbl; } -impl ::core::clone::Clone for IDataPackageView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackageView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd37771a8_ddad_4288_8428_d1cae394128b); } @@ -723,15 +635,11 @@ pub struct IDataPackageView3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPackageView4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPackageView4 { type Vtable = IDataPackageView4_Vtbl; } -impl ::core::clone::Clone for IDataPackageView4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPackageView4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfe96f1f_e042_4433_a09f_26d6ffda8b85); } @@ -743,15 +651,11 @@ pub struct IDataPackageView4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProviderDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProviderDeferral { type Vtable = IDataProviderDeferral_Vtbl; } -impl ::core::clone::Clone for IDataProviderDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProviderDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2cf2373_2d26_43d9_b69d_dcb86d03f6da); } @@ -763,15 +667,11 @@ pub struct IDataProviderDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProviderRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProviderRequest { type Vtable = IDataProviderRequest_Vtbl; } -impl ::core::clone::Clone for IDataProviderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProviderRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebbc7157_d3c8_47da_acde_f82388d5f716); } @@ -789,15 +689,11 @@ pub struct IDataProviderRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataRequest { type Vtable = IDataRequest_Vtbl; } -impl ::core::clone::Clone for IDataRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4341ae3b_fc12_4e53_8c02_ac714c415a27); } @@ -816,15 +712,11 @@ pub struct IDataRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataRequestDeferral { type Vtable = IDataRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IDataRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dc4b89f_0386_4263_87c1_ed7dce30890e); } @@ -836,15 +728,11 @@ pub struct IDataRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataRequestedEventArgs { type Vtable = IDataRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDataRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb8ba807_6ac5_43c9_8ac5_9ba232163182); } @@ -856,15 +744,11 @@ pub struct IDataRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataTransferManager { type Vtable = IDataTransferManager_Vtbl; } -impl ::core::clone::Clone for IDataTransferManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5caee9b_8708_49d1_8d36_67d25a8da00c); } @@ -891,15 +775,11 @@ pub struct IDataTransferManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataTransferManager2 { type Vtable = IDataTransferManager2_Vtbl; } -impl ::core::clone::Clone for IDataTransferManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30ae7d71_8ba8_4c02_8e3f_ddb23b388715); } @@ -918,15 +798,11 @@ pub struct IDataTransferManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataTransferManagerStatics { type Vtable = IDataTransferManagerStatics_Vtbl; } -impl ::core::clone::Clone for IDataTransferManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9da01aa_e00e_4cfe_aa44_2dd932dca3d8); } @@ -939,15 +815,11 @@ pub struct IDataTransferManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataTransferManagerStatics2 { type Vtable = IDataTransferManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IDataTransferManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc54ec2ec_9f97_4d63_9868_395e271ad8f5); } @@ -959,15 +831,11 @@ pub struct IDataTransferManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataTransferManagerStatics3 { type Vtable = IDataTransferManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IDataTransferManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05845473_6c82_4f5c_ac23_62e458361fac); } @@ -979,15 +847,11 @@ pub struct IDataTransferManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHtmlFormatHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHtmlFormatHelperStatics { type Vtable = IHtmlFormatHelperStatics_Vtbl; } -impl ::core::clone::Clone for IHtmlFormatHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHtmlFormatHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe22e7749_dd70_446f_aefc_61cee59f655e); } @@ -1000,15 +864,11 @@ pub struct IHtmlFormatHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOperationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOperationCompletedEventArgs { type Vtable = IOperationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IOperationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOperationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7af329d_051d_4fab_b1a9_47fd77f70a41); } @@ -1020,15 +880,11 @@ pub struct IOperationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOperationCompletedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOperationCompletedEventArgs2 { type Vtable = IOperationCompletedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IOperationCompletedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOperationCompletedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x858fa073_1e19_4105_b2f7_c8478808d562); } @@ -1040,15 +896,11 @@ pub struct IOperationCompletedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareCompletedEventArgs { type Vtable = IShareCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IShareCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4574c442_f913_4f60_9df7_cc4060ab1916); } @@ -1060,15 +912,11 @@ pub struct IShareCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareProvider { type Vtable = IShareProvider_Vtbl; } -impl ::core::clone::Clone for IShareProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fabe026_443e_4cda_af25_8d81070efd80); } @@ -1090,15 +938,11 @@ pub struct IShareProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareProviderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareProviderFactory { type Vtable = IShareProviderFactory_Vtbl; } -impl ::core::clone::Clone for IShareProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x172a174c_e79e_4f6d_b07d_128f469e0296); } @@ -1113,15 +957,11 @@ pub struct IShareProviderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareProviderOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareProviderOperation { type Vtable = IShareProviderOperation_Vtbl; } -impl ::core::clone::Clone for IShareProviderOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareProviderOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19cef937_d435_4179_b6af_14e0492b69f6); } @@ -1135,15 +975,11 @@ pub struct IShareProviderOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareProvidersRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareProvidersRequestedEventArgs { type Vtable = IShareProvidersRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IShareProvidersRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareProvidersRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf888f356_a3f8_4fce_85e4_8826e63be799); } @@ -1163,15 +999,11 @@ pub struct IShareProvidersRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareTargetInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareTargetInfo { type Vtable = IShareTargetInfo_Vtbl; } -impl ::core::clone::Clone for IShareTargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareTargetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x385be607_c6e8_4114_b294_28f3bb6f9904); } @@ -1184,15 +1016,11 @@ pub struct IShareTargetInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareUIOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareUIOptions { type Vtable = IShareUIOptions_Vtbl; } -impl ::core::clone::Clone for IShareUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareUIOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72fa8a80_342f_4d90_9551_2ae04e37680c); } @@ -1213,15 +1041,11 @@ pub struct IShareUIOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedStorageAccessManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedStorageAccessManagerStatics { type Vtable = ISharedStorageAccessManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISharedStorageAccessManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedStorageAccessManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6132ada_34b1_4849_bd5f_d09fee3158c5); } @@ -1241,15 +1065,11 @@ pub struct ISharedStorageAccessManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardDataFormatsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardDataFormatsStatics { type Vtable = IStandardDataFormatsStatics_Vtbl; } -impl ::core::clone::Clone for IStandardDataFormatsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardDataFormatsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed681a1_a880_40c9_b4ed_0bee1e15f549); } @@ -1269,15 +1089,11 @@ pub struct IStandardDataFormatsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardDataFormatsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardDataFormatsStatics2 { type Vtable = IStandardDataFormatsStatics2_Vtbl; } -impl ::core::clone::Clone for IStandardDataFormatsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardDataFormatsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42a254f4_9d76_42e8_861b_47c25dd0cf71); } @@ -1290,15 +1106,11 @@ pub struct IStandardDataFormatsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardDataFormatsStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardDataFormatsStatics3 { type Vtable = IStandardDataFormatsStatics3_Vtbl; } -impl ::core::clone::Clone for IStandardDataFormatsStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardDataFormatsStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b57b069_01d4_474c_8b5f_bc8e27f38b21); } @@ -1310,15 +1122,11 @@ pub struct IStandardDataFormatsStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetApplicationChosenEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetApplicationChosenEventArgs { type Vtable = ITargetApplicationChosenEventArgs_Vtbl; } -impl ::core::clone::Clone for ITargetApplicationChosenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetApplicationChosenEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca6fb8ac_2987_4ee3_9c54_d8afbcb86c1d); } @@ -1483,6 +1291,7 @@ impl ::windows_core::RuntimeName for Clipboard { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClipboardContentOptions(::windows_core::IUnknown); impl ClipboardContentOptions { pub fn new() -> ::windows_core::Result { @@ -1533,25 +1342,9 @@ impl ClipboardContentOptions { } } } -impl ::core::cmp::PartialEq for ClipboardContentOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClipboardContentOptions {} -impl ::core::fmt::Debug for ClipboardContentOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClipboardContentOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClipboardContentOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardContentOptions;{e888a98c-ad4b-5447-a056-ab3556276d2b})"); } -impl ::core::clone::Clone for ClipboardContentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClipboardContentOptions { type Vtable = IClipboardContentOptions_Vtbl; } @@ -1566,27 +1359,12 @@ unsafe impl ::core::marker::Send for ClipboardContentOptions {} unsafe impl ::core::marker::Sync for ClipboardContentOptions {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClipboardHistoryChangedEventArgs(::windows_core::IUnknown); impl ClipboardHistoryChangedEventArgs {} -impl ::core::cmp::PartialEq for ClipboardHistoryChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClipboardHistoryChangedEventArgs {} -impl ::core::fmt::Debug for ClipboardHistoryChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClipboardHistoryChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClipboardHistoryChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs;{c0be453f-8ea2-53ce-9aba-8d2212573452})"); } -impl ::core::clone::Clone for ClipboardHistoryChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClipboardHistoryChangedEventArgs { type Vtable = IClipboardHistoryChangedEventArgs_Vtbl; } @@ -1601,6 +1379,7 @@ unsafe impl ::core::marker::Send for ClipboardHistoryChangedEventArgs {} unsafe impl ::core::marker::Sync for ClipboardHistoryChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClipboardHistoryItem(::windows_core::IUnknown); impl ClipboardHistoryItem { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1627,25 +1406,9 @@ impl ClipboardHistoryItem { } } } -impl ::core::cmp::PartialEq for ClipboardHistoryItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClipboardHistoryItem {} -impl ::core::fmt::Debug for ClipboardHistoryItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClipboardHistoryItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClipboardHistoryItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem;{0173bd8a-afff-5c50-ab92-3d19f481ec58})"); } -impl ::core::clone::Clone for ClipboardHistoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClipboardHistoryItem { type Vtable = IClipboardHistoryItem_Vtbl; } @@ -1660,6 +1423,7 @@ unsafe impl ::core::marker::Send for ClipboardHistoryItem {} unsafe impl ::core::marker::Sync for ClipboardHistoryItem {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClipboardHistoryItemsResult(::windows_core::IUnknown); impl ClipboardHistoryItemsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1679,25 +1443,9 @@ impl ClipboardHistoryItemsResult { } } } -impl ::core::cmp::PartialEq for ClipboardHistoryItemsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClipboardHistoryItemsResult {} -impl ::core::fmt::Debug for ClipboardHistoryItemsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClipboardHistoryItemsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClipboardHistoryItemsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult;{e6dfdee6-0ee2-52e3-852b-f295db65939a})"); } -impl ::core::clone::Clone for ClipboardHistoryItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClipboardHistoryItemsResult { type Vtable = IClipboardHistoryItemsResult_Vtbl; } @@ -1712,6 +1460,7 @@ unsafe impl ::core::marker::Send for ClipboardHistoryItemsResult {} unsafe impl ::core::marker::Sync for ClipboardHistoryItemsResult {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPackage(::windows_core::IUnknown); impl DataPackage { pub fn new() -> ::windows_core::Result { @@ -1908,25 +1657,9 @@ impl DataPackage { unsafe { (::windows_core::Interface::vtable(this).RemoveShareCanceled)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for DataPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPackage {} -impl ::core::fmt::Debug for DataPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPackage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPackage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackage;{61ebf5c7-efea-4346-9554-981d7e198ffe})"); } -impl ::core::clone::Clone for DataPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPackage { type Vtable = IDataPackage_Vtbl; } @@ -1941,6 +1674,7 @@ unsafe impl ::core::marker::Send for DataPackage {} unsafe impl ::core::marker::Sync for DataPackage {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPackagePropertySet(::windows_core::IUnknown); impl DataPackagePropertySet { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2193,25 +1927,9 @@ impl DataPackagePropertySet { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for DataPackagePropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPackagePropertySet {} -impl ::core::fmt::Debug for DataPackagePropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPackagePropertySet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPackagePropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet;{cd1c93eb-4c4c-443a-a8d3-f5c241e91689})"); } -impl ::core::clone::Clone for DataPackagePropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPackagePropertySet { type Vtable = IDataPackagePropertySet_Vtbl; } @@ -2246,6 +1964,7 @@ unsafe impl ::core::marker::Send for DataPackagePropertySet {} unsafe impl ::core::marker::Sync for DataPackagePropertySet {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPackagePropertySetView(::windows_core::IUnknown); impl DataPackagePropertySetView { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2403,25 +2122,9 @@ impl DataPackagePropertySetView { unsafe { (::windows_core::Interface::vtable(this).Split)(::windows_core::Interface::as_raw(this), first as *mut _ as _, second as *mut _ as _).ok() } } } -impl ::core::cmp::PartialEq for DataPackagePropertySetView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPackagePropertySetView {} -impl ::core::fmt::Debug for DataPackagePropertySetView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPackagePropertySetView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPackagePropertySetView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView;{b94cec01-0c1a-4c57-be55-75d01289735d})"); } -impl ::core::clone::Clone for DataPackagePropertySetView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPackagePropertySetView { type Vtable = IDataPackagePropertySetView_Vtbl; } @@ -2456,6 +2159,7 @@ unsafe impl ::core::marker::Send for DataPackagePropertySetView {} unsafe impl ::core::marker::Sync for DataPackagePropertySetView {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPackageView(::windows_core::IUnknown); impl DataPackageView { pub fn Properties(&self) -> ::windows_core::Result { @@ -2623,25 +2327,9 @@ impl DataPackageView { unsafe { (::windows_core::Interface::vtable(this).SetAcceptedFormatId)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(formatid)).ok() } } } -impl ::core::cmp::PartialEq for DataPackageView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPackageView {} -impl ::core::fmt::Debug for DataPackageView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPackageView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPackageView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataPackageView;{7b840471-5900-4d85-a90b-10cb85fe3552})"); } -impl ::core::clone::Clone for DataPackageView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPackageView { type Vtable = IDataPackageView_Vtbl; } @@ -2656,6 +2344,7 @@ unsafe impl ::core::marker::Send for DataPackageView {} unsafe impl ::core::marker::Sync for DataPackageView {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataProviderDeferral(::windows_core::IUnknown); impl DataProviderDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -2663,25 +2352,9 @@ impl DataProviderDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for DataProviderDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataProviderDeferral {} -impl ::core::fmt::Debug for DataProviderDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataProviderDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataProviderDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderDeferral;{c2cf2373-2d26-43d9-b69d-dcb86d03f6da})"); } -impl ::core::clone::Clone for DataProviderDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataProviderDeferral { type Vtable = IDataProviderDeferral_Vtbl; } @@ -2696,6 +2369,7 @@ unsafe impl ::core::marker::Send for DataProviderDeferral {} unsafe impl ::core::marker::Sync for DataProviderDeferral {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataProviderRequest(::windows_core::IUnknown); impl DataProviderRequest { pub fn FormatId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2729,25 +2403,9 @@ impl DataProviderRequest { unsafe { (::windows_core::Interface::vtable(this).SetData)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for DataProviderRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataProviderRequest {} -impl ::core::fmt::Debug for DataProviderRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataProviderRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataProviderRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataProviderRequest;{ebbc7157-d3c8-47da-acde-f82388d5f716})"); } -impl ::core::clone::Clone for DataProviderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataProviderRequest { type Vtable = IDataProviderRequest_Vtbl; } @@ -2762,6 +2420,7 @@ unsafe impl ::core::marker::Send for DataProviderRequest {} unsafe impl ::core::marker::Sync for DataProviderRequest {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataRequest(::windows_core::IUnknown); impl DataRequest { pub fn Data(&self) -> ::windows_core::Result { @@ -2799,25 +2458,9 @@ impl DataRequest { } } } -impl ::core::cmp::PartialEq for DataRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataRequest {} -impl ::core::fmt::Debug for DataRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequest;{4341ae3b-fc12-4e53-8c02-ac714c415a27})"); } -impl ::core::clone::Clone for DataRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataRequest { type Vtable = IDataRequest_Vtbl; } @@ -2832,6 +2475,7 @@ unsafe impl ::core::marker::Send for DataRequest {} unsafe impl ::core::marker::Sync for DataRequest {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataRequestDeferral(::windows_core::IUnknown); impl DataRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -2839,25 +2483,9 @@ impl DataRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for DataRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataRequestDeferral {} -impl ::core::fmt::Debug for DataRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestDeferral;{6dc4b89f-0386-4263-87c1-ed7dce30890e})"); } -impl ::core::clone::Clone for DataRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataRequestDeferral { type Vtable = IDataRequestDeferral_Vtbl; } @@ -2872,6 +2500,7 @@ unsafe impl ::core::marker::Send for DataRequestDeferral {} unsafe impl ::core::marker::Sync for DataRequestDeferral {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataRequestedEventArgs(::windows_core::IUnknown); impl DataRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2882,25 +2511,9 @@ impl DataRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for DataRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataRequestedEventArgs {} -impl ::core::fmt::Debug for DataRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs;{cb8ba807-6ac5-43c9-8ac5-9ba232163182})"); } -impl ::core::clone::Clone for DataRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataRequestedEventArgs { type Vtable = IDataRequestedEventArgs_Vtbl; } @@ -2915,6 +2528,7 @@ unsafe impl ::core::marker::Send for DataRequestedEventArgs {} unsafe impl ::core::marker::Sync for DataRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataTransferManager(::windows_core::IUnknown); impl DataTransferManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3008,25 +2622,9 @@ impl DataTransferManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DataTransferManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataTransferManager {} -impl ::core::fmt::Debug for DataTransferManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataTransferManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataTransferManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.DataTransferManager;{a5caee9b-8708-49d1-8d36-67d25a8da00c})"); } -impl ::core::clone::Clone for DataTransferManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataTransferManager { type Vtable = IDataTransferManager_Vtbl; } @@ -3063,6 +2661,7 @@ impl ::windows_core::RuntimeName for HtmlFormatHelper { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OperationCompletedEventArgs(::windows_core::IUnknown); impl OperationCompletedEventArgs { pub fn Operation(&self) -> ::windows_core::Result { @@ -3080,25 +2679,9 @@ impl OperationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for OperationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OperationCompletedEventArgs {} -impl ::core::fmt::Debug for OperationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OperationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OperationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs;{e7af329d-051d-4fab-b1a9-47fd77f70a41})"); } -impl ::core::clone::Clone for OperationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OperationCompletedEventArgs { type Vtable = IOperationCompletedEventArgs_Vtbl; } @@ -3113,6 +2696,7 @@ unsafe impl ::core::marker::Send for OperationCompletedEventArgs {} unsafe impl ::core::marker::Sync for OperationCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareCompletedEventArgs(::windows_core::IUnknown); impl ShareCompletedEventArgs { pub fn ShareTarget(&self) -> ::windows_core::Result { @@ -3123,25 +2707,9 @@ impl ShareCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for ShareCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareCompletedEventArgs {} -impl ::core::fmt::Debug for ShareCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs;{4574c442-f913-4f60-9df7-cc4060ab1916})"); } -impl ::core::clone::Clone for ShareCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareCompletedEventArgs { type Vtable = IShareCompletedEventArgs_Vtbl; } @@ -3156,6 +2724,7 @@ unsafe impl ::core::marker::Send for ShareCompletedEventArgs {} unsafe impl ::core::marker::Sync for ShareCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareProvider(::windows_core::IUnknown); impl ShareProvider { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3215,25 +2784,9 @@ impl ShareProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ShareProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareProvider {} -impl ::core::fmt::Debug for ShareProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvider;{2fabe026-443e-4cda-af25-8d81070efd80})"); } -impl ::core::clone::Clone for ShareProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareProvider { type Vtable = IShareProvider_Vtbl; } @@ -3248,6 +2801,7 @@ unsafe impl ::core::marker::Send for ShareProvider {} unsafe impl ::core::marker::Sync for ShareProvider {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareProviderOperation(::windows_core::IUnknown); impl ShareProviderOperation { pub fn Data(&self) -> ::windows_core::Result { @@ -3269,25 +2823,9 @@ impl ShareProviderOperation { unsafe { (::windows_core::Interface::vtable(this).ReportCompleted)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ShareProviderOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareProviderOperation {} -impl ::core::fmt::Debug for ShareProviderOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareProviderOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareProviderOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProviderOperation;{19cef937-d435-4179-b6af-14e0492b69f6})"); } -impl ::core::clone::Clone for ShareProviderOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareProviderOperation { type Vtable = IShareProviderOperation_Vtbl; } @@ -3302,6 +2840,7 @@ unsafe impl ::core::marker::Send for ShareProviderOperation {} unsafe impl ::core::marker::Sync for ShareProviderOperation {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareProvidersRequestedEventArgs(::windows_core::IUnknown); impl ShareProvidersRequestedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3330,25 +2869,9 @@ impl ShareProvidersRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for ShareProvidersRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareProvidersRequestedEventArgs {} -impl ::core::fmt::Debug for ShareProvidersRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareProvidersRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareProvidersRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs;{f888f356-a3f8-4fce-85e4-8826e63be799})"); } -impl ::core::clone::Clone for ShareProvidersRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareProvidersRequestedEventArgs { type Vtable = IShareProvidersRequestedEventArgs_Vtbl; } @@ -3363,6 +2886,7 @@ unsafe impl ::core::marker::Send for ShareProvidersRequestedEventArgs {} unsafe impl ::core::marker::Sync for ShareProvidersRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareTargetInfo(::windows_core::IUnknown); impl ShareTargetInfo { pub fn AppUserModelId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3380,25 +2904,9 @@ impl ShareTargetInfo { } } } -impl ::core::cmp::PartialEq for ShareTargetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareTargetInfo {} -impl ::core::fmt::Debug for ShareTargetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareTargetInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareTargetInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareTargetInfo;{385be607-c6e8-4114-b294-28f3bb6f9904})"); } -impl ::core::clone::Clone for ShareTargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareTargetInfo { type Vtable = IShareTargetInfo_Vtbl; } @@ -3413,6 +2921,7 @@ unsafe impl ::core::marker::Send for ShareTargetInfo {} unsafe impl ::core::marker::Sync for ShareTargetInfo {} #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareUIOptions(::windows_core::IUnknown); impl ShareUIOptions { pub fn new() -> ::windows_core::Result { @@ -3452,25 +2961,9 @@ impl ShareUIOptions { unsafe { (::windows_core::Interface::vtable(this).SetSelectionRect)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for ShareUIOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareUIOptions {} -impl ::core::fmt::Debug for ShareUIOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareUIOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareUIOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.ShareUIOptions;{72fa8a80-342f-4d90-9551-2ae04e37680c})"); } -impl ::core::clone::Clone for ShareUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareUIOptions { type Vtable = IShareUIOptions_Vtbl; } @@ -3597,6 +3090,7 @@ impl ::windows_core::RuntimeName for StandardDataFormats { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetApplicationChosenEventArgs(::windows_core::IUnknown); impl TargetApplicationChosenEventArgs { pub fn ApplicationName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3607,25 +3101,9 @@ impl TargetApplicationChosenEventArgs { } } } -impl ::core::cmp::PartialEq for TargetApplicationChosenEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetApplicationChosenEventArgs {} -impl ::core::fmt::Debug for TargetApplicationChosenEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetApplicationChosenEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetApplicationChosenEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs;{ca6fb8ac-2987-4ee3-9c54-d8afbcb86c1d})"); } -impl ::core::clone::Clone for TargetApplicationChosenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetApplicationChosenEventArgs { type Vtable = ITargetApplicationChosenEventArgs_Vtbl; } @@ -3798,6 +3276,7 @@ impl ::windows_core::RuntimeType for ShareUITheme { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataProviderHandler(pub ::windows_core::IUnknown); impl DataProviderHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3823,9 +3302,12 @@ impl) -> ::windows_core::R base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3850,25 +3332,9 @@ impl) -> ::windows_core::R ((*this).invoke)(::windows_core::from_raw_borrowed(&request)).into() } } -impl ::core::cmp::PartialEq for DataProviderHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataProviderHandler {} -impl ::core::fmt::Debug for DataProviderHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataProviderHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DataProviderHandler { type Vtable = DataProviderHandler_Vtbl; } -impl ::core::clone::Clone for DataProviderHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DataProviderHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7ecd720_f2f4_4a2d_920e_170a2f482a27); } @@ -3883,6 +3349,7 @@ pub struct DataProviderHandler_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareProviderHandler(pub ::windows_core::IUnknown); impl ShareProviderHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3908,9 +3375,12 @@ impl) -> ::windows_core base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3935,25 +3405,9 @@ impl) -> ::windows_core ((*this).invoke)(::windows_core::from_raw_borrowed(&operation)).into() } } -impl ::core::cmp::PartialEq for ShareProviderHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareProviderHandler {} -impl ::core::fmt::Debug for ShareProviderHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareProviderHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ShareProviderHandler { type Vtable = ShareProviderHandler_Vtbl; } -impl ::core::clone::Clone for ShareProviderHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ShareProviderHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7f9d9ba_e1ba_4e4d_bd65_d43845d3212f); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs index a9655b3c9d..d26d755443 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailDataProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailDataProviderConnection { type Vtable = IEmailDataProviderConnection_Vtbl; } -impl ::core::clone::Clone for IEmailDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailDataProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b9c9dc7_37b2_4bf0_ae30_7b644a1c96e1); } @@ -140,15 +136,11 @@ pub struct IEmailDataProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailDataProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailDataProviderTriggerDetails { type Vtable = IEmailDataProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IEmailDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailDataProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f3e4e50_341e_45f3_bba0_84a005e1319a); } @@ -160,15 +152,11 @@ pub struct IEmailDataProviderTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCreateFolderRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCreateFolderRequest { type Vtable = IEmailMailboxCreateFolderRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCreateFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCreateFolderRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x184d3775_c921_4c39_a309_e16c9f22b04b); } @@ -190,15 +178,11 @@ pub struct IEmailMailboxCreateFolderRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCreateFolderRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCreateFolderRequestEventArgs { type Vtable = IEmailMailboxCreateFolderRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCreateFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCreateFolderRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03e4c02c_241c_4ea9_a68f_ff20bc5afc85); } @@ -214,15 +198,11 @@ pub struct IEmailMailboxCreateFolderRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDeleteFolderRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDeleteFolderRequest { type Vtable = IEmailMailboxDeleteFolderRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDeleteFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDeleteFolderRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9469e88a_a931_4779_923d_09a3ea292e29); } @@ -243,15 +223,11 @@ pub struct IEmailMailboxDeleteFolderRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDeleteFolderRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDeleteFolderRequestEventArgs { type Vtable = IEmailMailboxDeleteFolderRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDeleteFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDeleteFolderRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4d32d06_2332_4678_8378_28b579336846); } @@ -267,15 +243,11 @@ pub struct IEmailMailboxDeleteFolderRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDownloadAttachmentRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDownloadAttachmentRequest { type Vtable = IEmailMailboxDownloadAttachmentRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDownloadAttachmentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDownloadAttachmentRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b1dbbb4_750c_48e1_bce4_8d589684ffbc); } @@ -297,15 +269,11 @@ pub struct IEmailMailboxDownloadAttachmentRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDownloadAttachmentRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDownloadAttachmentRequestEventArgs { type Vtable = IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDownloadAttachmentRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDownloadAttachmentRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccddc46d_ffa8_4877_9f9d_fed7bcaf4104); } @@ -321,15 +289,11 @@ pub struct IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDownloadMessageRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDownloadMessageRequest { type Vtable = IEmailMailboxDownloadMessageRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDownloadMessageRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDownloadMessageRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x497b4187_5b4d_4b23_816c_f3842beb753e); } @@ -350,15 +314,11 @@ pub struct IEmailMailboxDownloadMessageRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxDownloadMessageRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxDownloadMessageRequestEventArgs { type Vtable = IEmailMailboxDownloadMessageRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxDownloadMessageRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxDownloadMessageRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x470409ad_d0a0_4a5b_bb2a_37621039c53e); } @@ -374,15 +334,11 @@ pub struct IEmailMailboxDownloadMessageRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxEmptyFolderRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxEmptyFolderRequest { type Vtable = IEmailMailboxEmptyFolderRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxEmptyFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxEmptyFolderRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe4b03ab_f86d_46d9_b4ce_bc8a6d9e9268); } @@ -403,15 +359,11 @@ pub struct IEmailMailboxEmptyFolderRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxEmptyFolderRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxEmptyFolderRequestEventArgs { type Vtable = IEmailMailboxEmptyFolderRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxEmptyFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxEmptyFolderRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7183f484_985a_4ac0_b33f_ee0e2627a3c0); } @@ -427,15 +379,11 @@ pub struct IEmailMailboxEmptyFolderRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxForwardMeetingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxForwardMeetingRequest { type Vtable = IEmailMailboxForwardMeetingRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxForwardMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxForwardMeetingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x616d6af1_70d4_4832_b869_b80542ae9be8); } @@ -464,15 +412,11 @@ pub struct IEmailMailboxForwardMeetingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxForwardMeetingRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxForwardMeetingRequestEventArgs { type Vtable = IEmailMailboxForwardMeetingRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxForwardMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxForwardMeetingRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bd8f33a_2974_4759_a5a5_58f44d3c0275); } @@ -488,15 +432,11 @@ pub struct IEmailMailboxForwardMeetingRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxGetAutoReplySettingsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxGetAutoReplySettingsRequest { type Vtable = IEmailMailboxGetAutoReplySettingsRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxGetAutoReplySettingsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxGetAutoReplySettingsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b380789_1e88_4e01_84cc_1386ad9a2c2f); } @@ -517,15 +457,11 @@ pub struct IEmailMailboxGetAutoReplySettingsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxGetAutoReplySettingsRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxGetAutoReplySettingsRequestEventArgs { type Vtable = IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxGetAutoReplySettingsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxGetAutoReplySettingsRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd79f55c2_fd45_4004_8a91_9bacf38b7022); } @@ -541,15 +477,11 @@ pub struct IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxMoveFolderRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxMoveFolderRequest { type Vtable = IEmailMailboxMoveFolderRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxMoveFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxMoveFolderRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10ba2856_4a95_4068_91cc_67cc7acf454f); } @@ -572,15 +504,11 @@ pub struct IEmailMailboxMoveFolderRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxMoveFolderRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxMoveFolderRequestEventArgs { type Vtable = IEmailMailboxMoveFolderRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxMoveFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxMoveFolderRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38623020_14ba_4c88_8698_7239e3c8aaa7); } @@ -596,15 +524,11 @@ pub struct IEmailMailboxMoveFolderRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxProposeNewTimeForMeetingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxProposeNewTimeForMeetingRequest { type Vtable = IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxProposeNewTimeForMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxProposeNewTimeForMeetingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5aeff152_9799_4f9f_a399_ff07f3eef04e); } @@ -635,15 +559,11 @@ pub struct IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxProposeNewTimeForMeetingRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxProposeNewTimeForMeetingRequestEventArgs { type Vtable = IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxProposeNewTimeForMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxProposeNewTimeForMeetingRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb480b98_33ad_4a67_8251_0f9c249b6a20); } @@ -659,15 +579,11 @@ pub struct IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxResolveRecipientsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxResolveRecipientsRequest { type Vtable = IEmailMailboxResolveRecipientsRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxResolveRecipientsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxResolveRecipientsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa4cf70_7b39_4c9b_811e_41eaf43a332d); } @@ -691,15 +607,11 @@ pub struct IEmailMailboxResolveRecipientsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxResolveRecipientsRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxResolveRecipientsRequestEventArgs { type Vtable = IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxResolveRecipientsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxResolveRecipientsRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x260f9e02_b2cf_40f8_8c28_e3ed43b1e89a); } @@ -715,15 +627,11 @@ pub struct IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxServerSearchReadBatchRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxServerSearchReadBatchRequest { type Vtable = IEmailMailboxServerSearchReadBatchRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxServerSearchReadBatchRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxServerSearchReadBatchRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x090eebdf_5a96_41d3_8ad8_34912f9aa60e); } @@ -751,15 +659,11 @@ pub struct IEmailMailboxServerSearchReadBatchRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxServerSearchReadBatchRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxServerSearchReadBatchRequestEventArgs { type Vtable = IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxServerSearchReadBatchRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxServerSearchReadBatchRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14101b4e_ed9e_45d1_ad7a_cc9b7f643ae2); } @@ -775,15 +679,11 @@ pub struct IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSetAutoReplySettingsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSetAutoReplySettingsRequest { type Vtable = IEmailMailboxSetAutoReplySettingsRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSetAutoReplySettingsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSetAutoReplySettingsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75a422d0_a88e_4e54_8dc7_c243186b774e); } @@ -804,15 +704,11 @@ pub struct IEmailMailboxSetAutoReplySettingsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSetAutoReplySettingsRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSetAutoReplySettingsRequestEventArgs { type Vtable = IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSetAutoReplySettingsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSetAutoReplySettingsRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09da11ad_d7ca_4087_ac86_53fa67f76246); } @@ -828,15 +724,11 @@ pub struct IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSyncManagerSyncRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSyncManagerSyncRequest { type Vtable = IEmailMailboxSyncManagerSyncRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSyncManagerSyncRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e10e8e4_7e67_405a_b673_dc60c91090fc); } @@ -856,15 +748,11 @@ pub struct IEmailMailboxSyncManagerSyncRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSyncManagerSyncRequestEventArgs { type Vtable = IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSyncManagerSyncRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x439a031a_8fcc_4ae5_b9b5_d434e0a65aa8); } @@ -880,15 +768,11 @@ pub struct IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxUpdateMeetingResponseRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxUpdateMeetingResponseRequest { type Vtable = IEmailMailboxUpdateMeetingResponseRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxUpdateMeetingResponseRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxUpdateMeetingResponseRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b99ac93_b2cf_4888_ba4f_306b6b66df30); } @@ -913,15 +797,11 @@ pub struct IEmailMailboxUpdateMeetingResponseRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxUpdateMeetingResponseRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxUpdateMeetingResponseRequestEventArgs { type Vtable = IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxUpdateMeetingResponseRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxUpdateMeetingResponseRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6898d761_56c9_4f17_be31_66fda94ba159); } @@ -937,15 +817,11 @@ pub struct IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxValidateCertificatesRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxValidateCertificatesRequest { type Vtable = IEmailMailboxValidateCertificatesRequest_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxValidateCertificatesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxValidateCertificatesRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa94d3931_e11a_4f97_b81a_187a70a8f41a); } @@ -969,15 +845,11 @@ pub struct IEmailMailboxValidateCertificatesRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxValidateCertificatesRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxValidateCertificatesRequestEventArgs { type Vtable = IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxValidateCertificatesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxValidateCertificatesRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2583bf17_02ff_49fe_a73c_03f37566c691); } @@ -993,6 +865,7 @@ pub struct IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailDataProviderConnection(::windows_core::IUnknown); impl EmailDataProviderConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1270,25 +1143,9 @@ impl EmailDataProviderConnection { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for EmailDataProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailDataProviderConnection {} -impl ::core::fmt::Debug for EmailDataProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailDataProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailDataProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderConnection;{3b9c9dc7-37b2-4bf0-ae30-7b644a1c96e1})"); } -impl ::core::clone::Clone for EmailDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailDataProviderConnection { type Vtable = IEmailDataProviderConnection_Vtbl; } @@ -1303,6 +1160,7 @@ unsafe impl ::core::marker::Send for EmailDataProviderConnection {} unsafe impl ::core::marker::Sync for EmailDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailDataProviderTriggerDetails(::windows_core::IUnknown); impl EmailDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -1313,25 +1171,9 @@ impl EmailDataProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for EmailDataProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailDataProviderTriggerDetails {} -impl ::core::fmt::Debug for EmailDataProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailDataProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailDataProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailDataProviderTriggerDetails;{8f3e4e50-341e-45f3-bba0-84a005e1319a})"); } -impl ::core::clone::Clone for EmailDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailDataProviderTriggerDetails { type Vtable = IEmailDataProviderTriggerDetails_Vtbl; } @@ -1346,6 +1188,7 @@ unsafe impl ::core::marker::Send for EmailDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for EmailDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxCreateFolderRequest(::windows_core::IUnknown); impl EmailMailboxCreateFolderRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1391,25 +1234,9 @@ impl EmailMailboxCreateFolderRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxCreateFolderRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxCreateFolderRequest {} -impl ::core::fmt::Debug for EmailMailboxCreateFolderRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxCreateFolderRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxCreateFolderRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequest;{184d3775-c921-4c39-a309-e16c9f22b04b})"); } -impl ::core::clone::Clone for EmailMailboxCreateFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxCreateFolderRequest { type Vtable = IEmailMailboxCreateFolderRequest_Vtbl; } @@ -1424,6 +1251,7 @@ unsafe impl ::core::marker::Send for EmailMailboxCreateFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxCreateFolderRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxCreateFolderRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1443,25 +1271,9 @@ impl EmailMailboxCreateFolderRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxCreateFolderRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxCreateFolderRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxCreateFolderRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxCreateFolderRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxCreateFolderRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxCreateFolderRequestEventArgs;{03e4c02c-241c-4ea9-a68f-ff20bc5afc85})"); } -impl ::core::clone::Clone for EmailMailboxCreateFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxCreateFolderRequestEventArgs { type Vtable = IEmailMailboxCreateFolderRequestEventArgs_Vtbl; } @@ -1476,6 +1288,7 @@ unsafe impl ::core::marker::Send for EmailMailboxCreateFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDeleteFolderRequest(::windows_core::IUnknown); impl EmailMailboxDeleteFolderRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1511,25 +1324,9 @@ impl EmailMailboxDeleteFolderRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxDeleteFolderRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDeleteFolderRequest {} -impl ::core::fmt::Debug for EmailMailboxDeleteFolderRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDeleteFolderRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDeleteFolderRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequest;{9469e88a-a931-4779-923d-09a3ea292e29})"); } -impl ::core::clone::Clone for EmailMailboxDeleteFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDeleteFolderRequest { type Vtable = IEmailMailboxDeleteFolderRequest_Vtbl; } @@ -1544,6 +1341,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDeleteFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDeleteFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDeleteFolderRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxDeleteFolderRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1563,25 +1361,9 @@ impl EmailMailboxDeleteFolderRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxDeleteFolderRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDeleteFolderRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxDeleteFolderRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDeleteFolderRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDeleteFolderRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDeleteFolderRequestEventArgs;{b4d32d06-2332-4678-8378-28b579336846})"); } -impl ::core::clone::Clone for EmailMailboxDeleteFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDeleteFolderRequestEventArgs { type Vtable = IEmailMailboxDeleteFolderRequestEventArgs_Vtbl; } @@ -1596,6 +1378,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDeleteFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxDeleteFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDownloadAttachmentRequest(::windows_core::IUnknown); impl EmailMailboxDownloadAttachmentRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1638,25 +1421,9 @@ impl EmailMailboxDownloadAttachmentRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxDownloadAttachmentRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDownloadAttachmentRequest {} -impl ::core::fmt::Debug for EmailMailboxDownloadAttachmentRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDownloadAttachmentRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDownloadAttachmentRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequest;{0b1dbbb4-750c-48e1-bce4-8d589684ffbc})"); } -impl ::core::clone::Clone for EmailMailboxDownloadAttachmentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDownloadAttachmentRequest { type Vtable = IEmailMailboxDownloadAttachmentRequest_Vtbl; } @@ -1671,6 +1438,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDownloadAttachmentRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadAttachmentRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDownloadAttachmentRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxDownloadAttachmentRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1690,25 +1458,9 @@ impl EmailMailboxDownloadAttachmentRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxDownloadAttachmentRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDownloadAttachmentRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxDownloadAttachmentRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDownloadAttachmentRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDownloadAttachmentRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadAttachmentRequestEventArgs;{ccddc46d-ffa8-4877-9f9d-fed7bcaf4104})"); } -impl ::core::clone::Clone for EmailMailboxDownloadAttachmentRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDownloadAttachmentRequestEventArgs { type Vtable = IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl; } @@ -1723,6 +1475,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDownloadAttachmentRequestEventA unsafe impl ::core::marker::Sync for EmailMailboxDownloadAttachmentRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDownloadMessageRequest(::windows_core::IUnknown); impl EmailMailboxDownloadMessageRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1758,25 +1511,9 @@ impl EmailMailboxDownloadMessageRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxDownloadMessageRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDownloadMessageRequest {} -impl ::core::fmt::Debug for EmailMailboxDownloadMessageRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDownloadMessageRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDownloadMessageRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequest;{497b4187-5b4d-4b23-816c-f3842beb753e})"); } -impl ::core::clone::Clone for EmailMailboxDownloadMessageRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDownloadMessageRequest { type Vtable = IEmailMailboxDownloadMessageRequest_Vtbl; } @@ -1791,6 +1528,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDownloadMessageRequest {} unsafe impl ::core::marker::Sync for EmailMailboxDownloadMessageRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxDownloadMessageRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxDownloadMessageRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1810,25 +1548,9 @@ impl EmailMailboxDownloadMessageRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxDownloadMessageRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxDownloadMessageRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxDownloadMessageRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxDownloadMessageRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxDownloadMessageRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxDownloadMessageRequestEventArgs;{470409ad-d0a0-4a5b-bb2a-37621039c53e})"); } -impl ::core::clone::Clone for EmailMailboxDownloadMessageRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxDownloadMessageRequestEventArgs { type Vtable = IEmailMailboxDownloadMessageRequestEventArgs_Vtbl; } @@ -1843,6 +1565,7 @@ unsafe impl ::core::marker::Send for EmailMailboxDownloadMessageRequestEventArgs unsafe impl ::core::marker::Sync for EmailMailboxDownloadMessageRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxEmptyFolderRequest(::windows_core::IUnknown); impl EmailMailboxEmptyFolderRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1878,25 +1601,9 @@ impl EmailMailboxEmptyFolderRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxEmptyFolderRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxEmptyFolderRequest {} -impl ::core::fmt::Debug for EmailMailboxEmptyFolderRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxEmptyFolderRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxEmptyFolderRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequest;{fe4b03ab-f86d-46d9-b4ce-bc8a6d9e9268})"); } -impl ::core::clone::Clone for EmailMailboxEmptyFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxEmptyFolderRequest { type Vtable = IEmailMailboxEmptyFolderRequest_Vtbl; } @@ -1911,6 +1618,7 @@ unsafe impl ::core::marker::Send for EmailMailboxEmptyFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxEmptyFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxEmptyFolderRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxEmptyFolderRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1930,25 +1638,9 @@ impl EmailMailboxEmptyFolderRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxEmptyFolderRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxEmptyFolderRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxEmptyFolderRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxEmptyFolderRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxEmptyFolderRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxEmptyFolderRequestEventArgs;{7183f484-985a-4ac0-b33f-ee0e2627a3c0})"); } -impl ::core::clone::Clone for EmailMailboxEmptyFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxEmptyFolderRequestEventArgs { type Vtable = IEmailMailboxEmptyFolderRequestEventArgs_Vtbl; } @@ -1963,6 +1655,7 @@ unsafe impl ::core::marker::Send for EmailMailboxEmptyFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxEmptyFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxForwardMeetingRequest(::windows_core::IUnknown); impl EmailMailboxForwardMeetingRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2035,25 +1728,9 @@ impl EmailMailboxForwardMeetingRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxForwardMeetingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxForwardMeetingRequest {} -impl ::core::fmt::Debug for EmailMailboxForwardMeetingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxForwardMeetingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxForwardMeetingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequest;{616d6af1-70d4-4832-b869-b80542ae9be8})"); } -impl ::core::clone::Clone for EmailMailboxForwardMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxForwardMeetingRequest { type Vtable = IEmailMailboxForwardMeetingRequest_Vtbl; } @@ -2068,6 +1745,7 @@ unsafe impl ::core::marker::Send for EmailMailboxForwardMeetingRequest {} unsafe impl ::core::marker::Sync for EmailMailboxForwardMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxForwardMeetingRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxForwardMeetingRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2087,25 +1765,9 @@ impl EmailMailboxForwardMeetingRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxForwardMeetingRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxForwardMeetingRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxForwardMeetingRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxForwardMeetingRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxForwardMeetingRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxForwardMeetingRequestEventArgs;{2bd8f33a-2974-4759-a5a5-58f44d3c0275})"); } -impl ::core::clone::Clone for EmailMailboxForwardMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxForwardMeetingRequestEventArgs { type Vtable = IEmailMailboxForwardMeetingRequestEventArgs_Vtbl; } @@ -2120,6 +1782,7 @@ unsafe impl ::core::marker::Send for EmailMailboxForwardMeetingRequestEventArgs unsafe impl ::core::marker::Sync for EmailMailboxForwardMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxGetAutoReplySettingsRequest(::windows_core::IUnknown); impl EmailMailboxGetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2158,25 +1821,9 @@ impl EmailMailboxGetAutoReplySettingsRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxGetAutoReplySettingsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxGetAutoReplySettingsRequest {} -impl ::core::fmt::Debug for EmailMailboxGetAutoReplySettingsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxGetAutoReplySettingsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxGetAutoReplySettingsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequest;{9b380789-1e88-4e01-84cc-1386ad9a2c2f})"); } -impl ::core::clone::Clone for EmailMailboxGetAutoReplySettingsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxGetAutoReplySettingsRequest { type Vtable = IEmailMailboxGetAutoReplySettingsRequest_Vtbl; } @@ -2191,6 +1838,7 @@ unsafe impl ::core::marker::Send for EmailMailboxGetAutoReplySettingsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxGetAutoReplySettingsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxGetAutoReplySettingsRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxGetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2210,25 +1858,9 @@ impl EmailMailboxGetAutoReplySettingsRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxGetAutoReplySettingsRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxGetAutoReplySettingsRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxGetAutoReplySettingsRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxGetAutoReplySettingsRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxGetAutoReplySettingsRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxGetAutoReplySettingsRequestEventArgs;{d79f55c2-fd45-4004-8a91-9bacf38b7022})"); } -impl ::core::clone::Clone for EmailMailboxGetAutoReplySettingsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxGetAutoReplySettingsRequestEventArgs { type Vtable = IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl; } @@ -2243,6 +1875,7 @@ unsafe impl ::core::marker::Send for EmailMailboxGetAutoReplySettingsRequestEven unsafe impl ::core::marker::Sync for EmailMailboxGetAutoReplySettingsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxMoveFolderRequest(::windows_core::IUnknown); impl EmailMailboxMoveFolderRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2292,25 +1925,9 @@ impl EmailMailboxMoveFolderRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxMoveFolderRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxMoveFolderRequest {} -impl ::core::fmt::Debug for EmailMailboxMoveFolderRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxMoveFolderRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxMoveFolderRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequest;{10ba2856-4a95-4068-91cc-67cc7acf454f})"); } -impl ::core::clone::Clone for EmailMailboxMoveFolderRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxMoveFolderRequest { type Vtable = IEmailMailboxMoveFolderRequest_Vtbl; } @@ -2325,6 +1942,7 @@ unsafe impl ::core::marker::Send for EmailMailboxMoveFolderRequest {} unsafe impl ::core::marker::Sync for EmailMailboxMoveFolderRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxMoveFolderRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxMoveFolderRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2344,25 +1962,9 @@ impl EmailMailboxMoveFolderRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxMoveFolderRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxMoveFolderRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxMoveFolderRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxMoveFolderRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxMoveFolderRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxMoveFolderRequestEventArgs;{38623020-14ba-4c88-8698-7239e3c8aaa7})"); } -impl ::core::clone::Clone for EmailMailboxMoveFolderRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxMoveFolderRequestEventArgs { type Vtable = IEmailMailboxMoveFolderRequestEventArgs_Vtbl; } @@ -2377,6 +1979,7 @@ unsafe impl ::core::marker::Send for EmailMailboxMoveFolderRequestEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxMoveFolderRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxProposeNewTimeForMeetingRequest(::windows_core::IUnknown); impl EmailMailboxProposeNewTimeForMeetingRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2444,25 +2047,9 @@ impl EmailMailboxProposeNewTimeForMeetingRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxProposeNewTimeForMeetingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxProposeNewTimeForMeetingRequest {} -impl ::core::fmt::Debug for EmailMailboxProposeNewTimeForMeetingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxProposeNewTimeForMeetingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxProposeNewTimeForMeetingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequest;{5aeff152-9799-4f9f-a399-ff07f3eef04e})"); } -impl ::core::clone::Clone for EmailMailboxProposeNewTimeForMeetingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxProposeNewTimeForMeetingRequest { type Vtable = IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl; } @@ -2477,6 +2064,7 @@ unsafe impl ::core::marker::Send for EmailMailboxProposeNewTimeForMeetingRequest unsafe impl ::core::marker::Sync for EmailMailboxProposeNewTimeForMeetingRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxProposeNewTimeForMeetingRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxProposeNewTimeForMeetingRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2496,25 +2084,9 @@ impl EmailMailboxProposeNewTimeForMeetingRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxProposeNewTimeForMeetingRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxProposeNewTimeForMeetingRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxProposeNewTimeForMeetingRequestEventArgs;{fb480b98-33ad-4a67-8251-0f9c249b6a20})"); } -impl ::core::clone::Clone for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxProposeNewTimeForMeetingRequestEventArgs { type Vtable = IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl; } @@ -2529,6 +2101,7 @@ unsafe impl ::core::marker::Send for EmailMailboxProposeNewTimeForMeetingRequest unsafe impl ::core::marker::Sync for EmailMailboxProposeNewTimeForMeetingRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxResolveRecipientsRequest(::windows_core::IUnknown); impl EmailMailboxResolveRecipientsRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2569,25 +2142,9 @@ impl EmailMailboxResolveRecipientsRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxResolveRecipientsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxResolveRecipientsRequest {} -impl ::core::fmt::Debug for EmailMailboxResolveRecipientsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxResolveRecipientsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxResolveRecipientsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequest;{efa4cf70-7b39-4c9b-811e-41eaf43a332d})"); } -impl ::core::clone::Clone for EmailMailboxResolveRecipientsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxResolveRecipientsRequest { type Vtable = IEmailMailboxResolveRecipientsRequest_Vtbl; } @@ -2602,6 +2159,7 @@ unsafe impl ::core::marker::Send for EmailMailboxResolveRecipientsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxResolveRecipientsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxResolveRecipientsRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxResolveRecipientsRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2621,25 +2179,9 @@ impl EmailMailboxResolveRecipientsRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxResolveRecipientsRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxResolveRecipientsRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxResolveRecipientsRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxResolveRecipientsRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxResolveRecipientsRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxResolveRecipientsRequestEventArgs;{260f9e02-b2cf-40f8-8c28-e3ed43b1e89a})"); } -impl ::core::clone::Clone for EmailMailboxResolveRecipientsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxResolveRecipientsRequestEventArgs { type Vtable = IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl; } @@ -2654,6 +2196,7 @@ unsafe impl ::core::marker::Send for EmailMailboxResolveRecipientsRequestEventAr unsafe impl ::core::marker::Sync for EmailMailboxResolveRecipientsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxServerSearchReadBatchRequest(::windows_core::IUnknown); impl EmailMailboxServerSearchReadBatchRequest { pub fn SessionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2722,25 +2265,9 @@ impl EmailMailboxServerSearchReadBatchRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxServerSearchReadBatchRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxServerSearchReadBatchRequest {} -impl ::core::fmt::Debug for EmailMailboxServerSearchReadBatchRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxServerSearchReadBatchRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxServerSearchReadBatchRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequest;{090eebdf-5a96-41d3-8ad8-34912f9aa60e})"); } -impl ::core::clone::Clone for EmailMailboxServerSearchReadBatchRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxServerSearchReadBatchRequest { type Vtable = IEmailMailboxServerSearchReadBatchRequest_Vtbl; } @@ -2755,6 +2282,7 @@ unsafe impl ::core::marker::Send for EmailMailboxServerSearchReadBatchRequest {} unsafe impl ::core::marker::Sync for EmailMailboxServerSearchReadBatchRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxServerSearchReadBatchRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxServerSearchReadBatchRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2774,25 +2302,9 @@ impl EmailMailboxServerSearchReadBatchRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxServerSearchReadBatchRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxServerSearchReadBatchRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxServerSearchReadBatchRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxServerSearchReadBatchRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxServerSearchReadBatchRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxServerSearchReadBatchRequestEventArgs;{14101b4e-ed9e-45d1-ad7a-cc9b7f643ae2})"); } -impl ::core::clone::Clone for EmailMailboxServerSearchReadBatchRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxServerSearchReadBatchRequestEventArgs { type Vtable = IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl; } @@ -2807,6 +2319,7 @@ unsafe impl ::core::marker::Send for EmailMailboxServerSearchReadBatchRequestEve unsafe impl ::core::marker::Sync for EmailMailboxServerSearchReadBatchRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxSetAutoReplySettingsRequest(::windows_core::IUnknown); impl EmailMailboxSetAutoReplySettingsRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2842,25 +2355,9 @@ impl EmailMailboxSetAutoReplySettingsRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxSetAutoReplySettingsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxSetAutoReplySettingsRequest {} -impl ::core::fmt::Debug for EmailMailboxSetAutoReplySettingsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxSetAutoReplySettingsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxSetAutoReplySettingsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequest;{75a422d0-a88e-4e54-8dc7-c243186b774e})"); } -impl ::core::clone::Clone for EmailMailboxSetAutoReplySettingsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxSetAutoReplySettingsRequest { type Vtable = IEmailMailboxSetAutoReplySettingsRequest_Vtbl; } @@ -2875,6 +2372,7 @@ unsafe impl ::core::marker::Send for EmailMailboxSetAutoReplySettingsRequest {} unsafe impl ::core::marker::Sync for EmailMailboxSetAutoReplySettingsRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxSetAutoReplySettingsRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxSetAutoReplySettingsRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2894,25 +2392,9 @@ impl EmailMailboxSetAutoReplySettingsRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxSetAutoReplySettingsRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxSetAutoReplySettingsRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxSetAutoReplySettingsRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxSetAutoReplySettingsRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxSetAutoReplySettingsRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSetAutoReplySettingsRequestEventArgs;{09da11ad-d7ca-4087-ac86-53fa67f76246})"); } -impl ::core::clone::Clone for EmailMailboxSetAutoReplySettingsRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxSetAutoReplySettingsRequestEventArgs { type Vtable = IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl; } @@ -2927,6 +2409,7 @@ unsafe impl ::core::marker::Send for EmailMailboxSetAutoReplySettingsRequestEven unsafe impl ::core::marker::Sync for EmailMailboxSetAutoReplySettingsRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxSyncManagerSyncRequest(::windows_core::IUnknown); impl EmailMailboxSyncManagerSyncRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2955,25 +2438,9 @@ impl EmailMailboxSyncManagerSyncRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxSyncManagerSyncRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxSyncManagerSyncRequest {} -impl ::core::fmt::Debug for EmailMailboxSyncManagerSyncRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxSyncManagerSyncRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxSyncManagerSyncRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequest;{4e10e8e4-7e67-405a-b673-dc60c91090fc})"); } -impl ::core::clone::Clone for EmailMailboxSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxSyncManagerSyncRequest { type Vtable = IEmailMailboxSyncManagerSyncRequest_Vtbl; } @@ -2988,6 +2455,7 @@ unsafe impl ::core::marker::Send for EmailMailboxSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for EmailMailboxSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -3007,25 +2475,9 @@ impl EmailMailboxSyncManagerSyncRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxSyncManagerSyncRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxSyncManagerSyncRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxSyncManagerSyncRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxSyncManagerSyncRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxSyncManagerSyncRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxSyncManagerSyncRequestEventArgs;{439a031a-8fcc-4ae5-b9b5-d434e0a65aa8})"); } -impl ::core::clone::Clone for EmailMailboxSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxSyncManagerSyncRequestEventArgs { type Vtable = IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl; } @@ -3040,6 +2492,7 @@ unsafe impl ::core::marker::Send for EmailMailboxSyncManagerSyncRequestEventArgs unsafe impl ::core::marker::Sync for EmailMailboxSyncManagerSyncRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxUpdateMeetingResponseRequest(::windows_core::IUnknown); impl EmailMailboxUpdateMeetingResponseRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3103,25 +2556,9 @@ impl EmailMailboxUpdateMeetingResponseRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxUpdateMeetingResponseRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxUpdateMeetingResponseRequest {} -impl ::core::fmt::Debug for EmailMailboxUpdateMeetingResponseRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxUpdateMeetingResponseRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxUpdateMeetingResponseRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequest;{5b99ac93-b2cf-4888-ba4f-306b6b66df30})"); } -impl ::core::clone::Clone for EmailMailboxUpdateMeetingResponseRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxUpdateMeetingResponseRequest { type Vtable = IEmailMailboxUpdateMeetingResponseRequest_Vtbl; } @@ -3136,6 +2573,7 @@ unsafe impl ::core::marker::Send for EmailMailboxUpdateMeetingResponseRequest {} unsafe impl ::core::marker::Sync for EmailMailboxUpdateMeetingResponseRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxUpdateMeetingResponseRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxUpdateMeetingResponseRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -3155,25 +2593,9 @@ impl EmailMailboxUpdateMeetingResponseRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxUpdateMeetingResponseRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxUpdateMeetingResponseRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxUpdateMeetingResponseRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxUpdateMeetingResponseRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxUpdateMeetingResponseRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxUpdateMeetingResponseRequestEventArgs;{6898d761-56c9-4f17-be31-66fda94ba159})"); } -impl ::core::clone::Clone for EmailMailboxUpdateMeetingResponseRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxUpdateMeetingResponseRequestEventArgs { type Vtable = IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl; } @@ -3188,6 +2610,7 @@ unsafe impl ::core::marker::Send for EmailMailboxUpdateMeetingResponseRequestEve unsafe impl ::core::marker::Sync for EmailMailboxUpdateMeetingResponseRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxValidateCertificatesRequest(::windows_core::IUnknown); impl EmailMailboxValidateCertificatesRequest { pub fn EmailMailboxId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3228,25 +2651,9 @@ impl EmailMailboxValidateCertificatesRequest { } } } -impl ::core::cmp::PartialEq for EmailMailboxValidateCertificatesRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxValidateCertificatesRequest {} -impl ::core::fmt::Debug for EmailMailboxValidateCertificatesRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxValidateCertificatesRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxValidateCertificatesRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequest;{a94d3931-e11a-4f97-b81a-187a70a8f41a})"); } -impl ::core::clone::Clone for EmailMailboxValidateCertificatesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxValidateCertificatesRequest { type Vtable = IEmailMailboxValidateCertificatesRequest_Vtbl; } @@ -3261,6 +2668,7 @@ unsafe impl ::core::marker::Send for EmailMailboxValidateCertificatesRequest {} unsafe impl ::core::marker::Sync for EmailMailboxValidateCertificatesRequest {} #[doc = "*Required features: `\"ApplicationModel_Email_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxValidateCertificatesRequestEventArgs(::windows_core::IUnknown); impl EmailMailboxValidateCertificatesRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -3280,25 +2688,9 @@ impl EmailMailboxValidateCertificatesRequestEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxValidateCertificatesRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxValidateCertificatesRequestEventArgs {} -impl ::core::fmt::Debug for EmailMailboxValidateCertificatesRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxValidateCertificatesRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxValidateCertificatesRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.DataProvider.EmailMailboxValidateCertificatesRequestEventArgs;{2583bf17-02ff-49fe-a73c-03f37566c691})"); } -impl ::core::clone::Clone for EmailMailboxValidateCertificatesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxValidateCertificatesRequestEventArgs { type Vtable = IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 4dc4fd30a2..c959dcd955 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -2,15 +2,11 @@ pub mod DataProvider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAttachment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailAttachment { type Vtable = IEmailAttachment_Vtbl; } -impl ::core::clone::Clone for IEmailAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailAttachment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf353caf9_57c8_4adb_b992_60fceb584f54); } @@ -31,15 +27,11 @@ pub struct IEmailAttachment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAttachment2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailAttachment2 { type Vtable = IEmailAttachment2_Vtbl; } -impl ::core::clone::Clone for IEmailAttachment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailAttachment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x225f1070_b0ff_4571_9d54_a706c48d55c6); } @@ -64,15 +56,11 @@ pub struct IEmailAttachment2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAttachmentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailAttachmentFactory { type Vtable = IEmailAttachmentFactory_Vtbl; } -impl ::core::clone::Clone for IEmailAttachmentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailAttachmentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x796eac46_ed56_4979_8708_abb8bc854b7d); } @@ -87,15 +75,11 @@ pub struct IEmailAttachmentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAttachmentFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailAttachmentFactory2 { type Vtable = IEmailAttachmentFactory2_Vtbl; } -impl ::core::clone::Clone for IEmailAttachmentFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailAttachmentFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23259435_51f9_427d_adcd_241023c8cfb7); } @@ -110,15 +94,11 @@ pub struct IEmailAttachmentFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailConversation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailConversation { type Vtable = IEmailConversation_Vtbl; } -impl ::core::clone::Clone for IEmailConversation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailConversation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda18c248_a0bc_4349_902d_90f66389f51b); } @@ -153,15 +133,11 @@ pub struct IEmailConversation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailConversationBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailConversationBatch { type Vtable = IEmailConversationBatch_Vtbl; } -impl ::core::clone::Clone for IEmailConversationBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailConversationBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8c1ab81_01c5_432a_9df1_fe85d98a279a); } @@ -177,15 +153,11 @@ pub struct IEmailConversationBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailConversationReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailConversationReader { type Vtable = IEmailConversationReader_Vtbl; } -impl ::core::clone::Clone for IEmailConversationReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailConversationReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4630f82_2875_44c8_9b8c_85beb3a3c653); } @@ -200,15 +172,11 @@ pub struct IEmailConversationReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailFolder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailFolder { type Vtable = IEmailFolder_Vtbl; } -impl ::core::clone::Clone for IEmailFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa24f7771_996c_4864_b1ba_ed1240e57d11); } @@ -277,15 +245,11 @@ pub struct IEmailFolder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailIrmInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailIrmInfo { type Vtable = IEmailIrmInfo_Vtbl; } -impl ::core::clone::Clone for IEmailIrmInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailIrmInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90f52193_b1a0_4ebd_a6b6_ddca55606e0e); } @@ -326,15 +290,11 @@ pub struct IEmailIrmInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailIrmInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailIrmInfoFactory { type Vtable = IEmailIrmInfoFactory_Vtbl; } -impl ::core::clone::Clone for IEmailIrmInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailIrmInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x314bb18c_e3e6_4d7b_be8d_91a96311b01b); } @@ -349,15 +309,11 @@ pub struct IEmailIrmInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailIrmTemplate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailIrmTemplate { type Vtable = IEmailIrmTemplate_Vtbl; } -impl ::core::clone::Clone for IEmailIrmTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailIrmTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf327758d_546d_4bea_a963_54a38b2cc016); } @@ -374,15 +330,11 @@ pub struct IEmailIrmTemplate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailIrmTemplateFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailIrmTemplateFactory { type Vtable = IEmailIrmTemplateFactory_Vtbl; } -impl ::core::clone::Clone for IEmailIrmTemplateFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailIrmTemplateFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da31876_8738_4418_b9cb_471b936fe71e); } @@ -394,15 +346,11 @@ pub struct IEmailIrmTemplateFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailItemCounts(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailItemCounts { type Vtable = IEmailItemCounts_Vtbl; } -impl ::core::clone::Clone for IEmailItemCounts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailItemCounts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bd13321_fec8_4bab_83ba_0baf3c1f6cbd); } @@ -417,15 +365,11 @@ pub struct IEmailItemCounts_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailbox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailbox { type Vtable = IEmailMailbox_Vtbl; } -impl ::core::clone::Clone for IEmailMailbox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailbox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8790649_cf5b_411b_80b1_4a6a1484ce25); } @@ -573,15 +517,11 @@ pub struct IEmailMailbox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailbox2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailbox2 { type Vtable = IEmailMailbox2_Vtbl; } -impl ::core::clone::Clone for IEmailMailbox2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailbox2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14f8e404_6ca2_4ab2_9241_79cd7bf46346); } @@ -595,15 +535,11 @@ pub struct IEmailMailbox2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailbox3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailbox3 { type Vtable = IEmailMailbox3_Vtbl; } -impl ::core::clone::Clone for IEmailMailbox3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailbox3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da5897b_458b_408a_8e37_ac8b05d8af56); } @@ -634,15 +570,11 @@ pub struct IEmailMailbox3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailbox4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailbox4 { type Vtable = IEmailMailbox4_Vtbl; } -impl ::core::clone::Clone for IEmailMailbox4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailbox4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d1f301b_f222_48a7_b7b6_716356cd26a1); } @@ -657,15 +589,11 @@ pub struct IEmailMailbox4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailbox5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailbox5 { type Vtable = IEmailMailbox5_Vtbl; } -impl ::core::clone::Clone for IEmailMailbox5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailbox5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39967087_0092_49be_bd0e_5d4dc9d96d90); } @@ -677,15 +605,11 @@ pub struct IEmailMailbox5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxAction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxAction { type Vtable = IEmailMailboxAction_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac9889fa_21fa_4927_9210_d410582fdf3e); } @@ -698,15 +622,11 @@ pub struct IEmailMailboxAction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxAutoReply(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxAutoReply { type Vtable = IEmailMailboxAutoReply_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxAutoReply { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxAutoReply { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe223254c_8ab4_485b_b31f_04d15476bd59); } @@ -721,15 +641,11 @@ pub struct IEmailMailboxAutoReply_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxAutoReplySettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxAutoReplySettings { type Vtable = IEmailMailboxAutoReplySettings_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxAutoReplySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxAutoReplySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa87a9fa8_0ac6_4b77_ba77_a6b99e9a27b8); } @@ -763,15 +679,11 @@ pub struct IEmailMailboxAutoReplySettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCapabilities { type Vtable = IEmailMailboxCapabilities_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeedec3a6_89db_4305_82c4_439e0a33da11); } @@ -790,15 +702,11 @@ pub struct IEmailMailboxCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCapabilities2 { type Vtable = IEmailMailboxCapabilities2_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69723ee4_2f21_4cbc_88ab_2e7602a4806b); } @@ -815,15 +723,11 @@ pub struct IEmailMailboxCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCapabilities3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCapabilities3 { type Vtable = IEmailMailboxCapabilities3_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCapabilities3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCapabilities3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf690e944_56f2_45aa_872c_0ce9f3db0b5c); } @@ -848,15 +752,11 @@ pub struct IEmailMailboxCapabilities3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxChange { type Vtable = IEmailMailboxChange_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61edf54b_11ef_400c_adde_8cde65c85e66); } @@ -874,15 +774,11 @@ pub struct IEmailMailboxChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxChangeReader { type Vtable = IEmailMailboxChangeReader_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdbd0ebb_c53d_4331_97be_be75a2146a75); } @@ -899,15 +795,11 @@ pub struct IEmailMailboxChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxChangeTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxChangeTracker { type Vtable = IEmailMailboxChangeTracker_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxChangeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ae48638_5166_42b7_8882_fd21c92bdd4b); } @@ -922,15 +814,11 @@ pub struct IEmailMailboxChangeTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxChangedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxChangedDeferral { type Vtable = IEmailMailboxChangedDeferral_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxChangedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x779a74c1_97c5_4b54_b30d_306232623e6d); } @@ -942,15 +830,11 @@ pub struct IEmailMailboxChangedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxChangedEventArgs { type Vtable = IEmailMailboxChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cfd5f6e_01d4_4e4a_a44c_b22dd42ec207); } @@ -962,15 +846,11 @@ pub struct IEmailMailboxChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxCreateFolderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxCreateFolderResult { type Vtable = IEmailMailboxCreateFolderResult_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxCreateFolderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxCreateFolderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb228557f_2885_4998_b595_8a2d374ce950); } @@ -983,15 +863,11 @@ pub struct IEmailMailboxCreateFolderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxPolicies(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxPolicies { type Vtable = IEmailMailboxPolicies_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxPolicies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxPolicies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f3345c5_1c3b_4dc7_b410_6373783e545d); } @@ -1012,15 +888,11 @@ pub struct IEmailMailboxPolicies_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxPolicies2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxPolicies2 { type Vtable = IEmailMailboxPolicies2_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxPolicies2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxPolicies2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbab58afb_a14b_497c_a8e2_55eac29cc4b5); } @@ -1033,15 +905,11 @@ pub struct IEmailMailboxPolicies2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxPolicies3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxPolicies3 { type Vtable = IEmailMailboxPolicies3_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxPolicies3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxPolicies3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdd4a01f_4867_414a_81a2_803919c44191); } @@ -1064,15 +932,11 @@ pub struct IEmailMailboxPolicies3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSyncManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSyncManager { type Vtable = IEmailMailboxSyncManager_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x517ac55a_3591_4b5d_85bc_c71dde862263); } @@ -1104,15 +968,11 @@ pub struct IEmailMailboxSyncManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMailboxSyncManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMailboxSyncManager2 { type Vtable = IEmailMailboxSyncManager2_Vtbl; } -impl ::core::clone::Clone for IEmailMailboxSyncManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMailboxSyncManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd8dc97e_95c1_4f89_81b7_e6aecb6695fc); } @@ -1132,15 +992,11 @@ pub struct IEmailMailboxSyncManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailManagerForUser { type Vtable = IEmailManagerForUser_Vtbl; } -impl ::core::clone::Clone for IEmailManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf773de9f_3ca5_4b0f_90c1_156e40174ce5); } @@ -1163,15 +1019,11 @@ pub struct IEmailManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailManagerStatics { type Vtable = IEmailManagerStatics_Vtbl; } -impl ::core::clone::Clone for IEmailManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5128654_55c5_4890_a824_216c2618ce7f); } @@ -1186,15 +1038,11 @@ pub struct IEmailManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailManagerStatics2 { type Vtable = IEmailManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IEmailManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac052da3_b194_425d_b6d9_d0f04135eda2); } @@ -1209,15 +1057,11 @@ pub struct IEmailManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailManagerStatics3 { type Vtable = IEmailManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IEmailManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a722395_843e_4945_b3aa_349e07a362c5); } @@ -1232,15 +1076,11 @@ pub struct IEmailManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMeetingInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMeetingInfo { type Vtable = IEmailMeetingInfo_Vtbl; } -impl ::core::clone::Clone for IEmailMeetingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMeetingInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31c03fa9_7933_415f_a275_d165ba07026b); } @@ -1319,15 +1159,11 @@ pub struct IEmailMeetingInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMeetingInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMeetingInfo2 { type Vtable = IEmailMeetingInfo2_Vtbl; } -impl ::core::clone::Clone for IEmailMeetingInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMeetingInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e59386d_b0d9_4fe5_867c_e31ed2b588b8); } @@ -1339,15 +1175,11 @@ pub struct IEmailMeetingInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessage { type Vtable = IEmailMessage_Vtbl; } -impl ::core::clone::Clone for IEmailMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c6d948d_80b5_48f8_b0b1_e04e430f44e5); } @@ -1378,15 +1210,11 @@ pub struct IEmailMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessage2 { type Vtable = IEmailMessage2_Vtbl; } -impl ::core::clone::Clone for IEmailMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdc8248b_9f1a_44db_bd3c_65c384770f86); } @@ -1454,15 +1282,11 @@ pub struct IEmailMessage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessage3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessage3 { type Vtable = IEmailMessage3_Vtbl; } -impl ::core::clone::Clone for IEmailMessage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1ea675c_e598_4d29_a018_fc7b7eece0a1); } @@ -1483,15 +1307,11 @@ pub struct IEmailMessage3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessage4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessage4 { type Vtable = IEmailMessage4_Vtbl; } -impl ::core::clone::Clone for IEmailMessage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x317cf181_3e7f_4a05_8394_3e10336dd435); } @@ -1508,15 +1328,11 @@ pub struct IEmailMessage4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessageBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessageBatch { type Vtable = IEmailMessageBatch_Vtbl; } -impl ::core::clone::Clone for IEmailMessageBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessageBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x605cd08f_25d9_4f1b_9e51_0514c0149653); } @@ -1532,15 +1348,11 @@ pub struct IEmailMessageBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailMessageReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailMessageReader { type Vtable = IEmailMessageReader_Vtbl; } -impl ::core::clone::Clone for IEmailMessageReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailMessageReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f4abe9f_6213_4a85_a3b0_f92d1a839d19); } @@ -1555,15 +1367,11 @@ pub struct IEmailMessageReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailQueryOptions { type Vtable = IEmailQueryOptions_Vtbl; } -impl ::core::clone::Clone for IEmailQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45504b9b_3e7f_4d52_b6dd_d6fd4e1fbd9a); } @@ -1585,15 +1393,11 @@ pub struct IEmailQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailQueryOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailQueryOptionsFactory { type Vtable = IEmailQueryOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IEmailQueryOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailQueryOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f1a1b8_78ab_4ee8_b4e3_046d6e2fe5e2); } @@ -1606,15 +1410,11 @@ pub struct IEmailQueryOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailQueryTextSearch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailQueryTextSearch { type Vtable = IEmailQueryTextSearch_Vtbl; } -impl ::core::clone::Clone for IEmailQueryTextSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailQueryTextSearch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fa0a288_3c5d_46a5_a6e2_31d6fd17e540); } @@ -1631,15 +1431,11 @@ pub struct IEmailQueryTextSearch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailRecipient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailRecipient { type Vtable = IEmailRecipient_Vtbl; } -impl ::core::clone::Clone for IEmailRecipient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailRecipient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcae825b3_4478_4814_b900_c902b5e19b53); } @@ -1654,15 +1450,11 @@ pub struct IEmailRecipient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailRecipientFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailRecipientFactory { type Vtable = IEmailRecipientFactory_Vtbl; } -impl ::core::clone::Clone for IEmailRecipientFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailRecipientFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5500b84d_c79a_4ef8_b909_722e18e3935d); } @@ -1675,15 +1467,11 @@ pub struct IEmailRecipientFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailRecipientResolutionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailRecipientResolutionResult { type Vtable = IEmailRecipientResolutionResult_Vtbl; } -impl ::core::clone::Clone for IEmailRecipientResolutionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailRecipientResolutionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x918338fa_8d8d_4573_80d1_07172a34b98d); } @@ -1699,15 +1487,11 @@ pub struct IEmailRecipientResolutionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailRecipientResolutionResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailRecipientResolutionResult2 { type Vtable = IEmailRecipientResolutionResult2_Vtbl; } -impl ::core::clone::Clone for IEmailRecipientResolutionResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailRecipientResolutionResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e420bb6_ce5b_4bde_b9d4_e16da0b09fca); } @@ -1723,15 +1507,11 @@ pub struct IEmailRecipientResolutionResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailStore { type Vtable = IEmailStore_Vtbl; } -impl ::core::clone::Clone for IEmailStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf803226e_9137_4f8b_a470_279ac3058eb6); } @@ -1774,15 +1554,11 @@ pub struct IEmailStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailStoreNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailStoreNotificationTriggerDetails { type Vtable = IEmailStoreNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IEmailStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailStoreNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce17563c_46e6_43c9_96f7_facf7dd710cb); } @@ -1793,6 +1569,7 @@ pub struct IEmailStoreNotificationTriggerDetails_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailAttachment(::windows_core::IUnknown); impl EmailAttachment { pub fn new() -> ::windows_core::Result { @@ -1944,25 +1721,9 @@ impl EmailAttachment { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailAttachment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailAttachment {} -impl ::core::fmt::Debug for EmailAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailAttachment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailAttachment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailAttachment;{f353caf9-57c8-4adb-b992-60fceb584f54})"); } -impl ::core::clone::Clone for EmailAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailAttachment { type Vtable = IEmailAttachment_Vtbl; } @@ -1977,6 +1738,7 @@ unsafe impl ::core::marker::Send for EmailAttachment {} unsafe impl ::core::marker::Sync for EmailAttachment {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailConversation(::windows_core::IUnknown); impl EmailConversation { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2091,25 +1853,9 @@ impl EmailConversation { } } } -impl ::core::cmp::PartialEq for EmailConversation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailConversation {} -impl ::core::fmt::Debug for EmailConversation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailConversation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailConversation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversation;{da18c248-a0bc-4349-902d-90f66389f51b})"); } -impl ::core::clone::Clone for EmailConversation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailConversation { type Vtable = IEmailConversation_Vtbl; } @@ -2124,6 +1870,7 @@ unsafe impl ::core::marker::Send for EmailConversation {} unsafe impl ::core::marker::Sync for EmailConversation {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailConversationBatch(::windows_core::IUnknown); impl EmailConversationBatch { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2143,25 +1890,9 @@ impl EmailConversationBatch { } } } -impl ::core::cmp::PartialEq for EmailConversationBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailConversationBatch {} -impl ::core::fmt::Debug for EmailConversationBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailConversationBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailConversationBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationBatch;{b8c1ab81-01c5-432a-9df1-fe85d98a279a})"); } -impl ::core::clone::Clone for EmailConversationBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailConversationBatch { type Vtable = IEmailConversationBatch_Vtbl; } @@ -2176,6 +1907,7 @@ unsafe impl ::core::marker::Send for EmailConversationBatch {} unsafe impl ::core::marker::Sync for EmailConversationBatch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailConversationReader(::windows_core::IUnknown); impl EmailConversationReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2188,25 +1920,9 @@ impl EmailConversationReader { } } } -impl ::core::cmp::PartialEq for EmailConversationReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailConversationReader {} -impl ::core::fmt::Debug for EmailConversationReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailConversationReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailConversationReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailConversationReader;{b4630f82-2875-44c8-9b8c-85beb3a3c653})"); } -impl ::core::clone::Clone for EmailConversationReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailConversationReader { type Vtable = IEmailConversationReader_Vtbl; } @@ -2221,6 +1937,7 @@ unsafe impl ::core::marker::Send for EmailConversationReader {} unsafe impl ::core::marker::Sync for EmailConversationReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailFolder(::windows_core::IUnknown); impl EmailFolder { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2424,25 +2141,9 @@ impl EmailFolder { } } } -impl ::core::cmp::PartialEq for EmailFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailFolder {} -impl ::core::fmt::Debug for EmailFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailFolder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailFolder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailFolder;{a24f7771-996c-4864-b1ba-ed1240e57d11})"); } -impl ::core::clone::Clone for EmailFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailFolder { type Vtable = IEmailFolder_Vtbl; } @@ -2457,6 +2158,7 @@ unsafe impl ::core::marker::Send for EmailFolder {} unsafe impl ::core::marker::Sync for EmailFolder {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailIrmInfo(::windows_core::IUnknown); impl EmailIrmInfo { pub fn new() -> ::windows_core::Result { @@ -2622,25 +2324,9 @@ impl EmailIrmInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailIrmInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailIrmInfo {} -impl ::core::fmt::Debug for EmailIrmInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailIrmInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailIrmInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmInfo;{90f52193-b1a0-4ebd-a6b6-ddca55606e0e})"); } -impl ::core::clone::Clone for EmailIrmInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailIrmInfo { type Vtable = IEmailIrmInfo_Vtbl; } @@ -2655,6 +2341,7 @@ unsafe impl ::core::marker::Send for EmailIrmInfo {} unsafe impl ::core::marker::Sync for EmailIrmInfo {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailIrmTemplate(::windows_core::IUnknown); impl EmailIrmTemplate { pub fn new() -> ::windows_core::Result { @@ -2709,25 +2396,9 @@ impl EmailIrmTemplate { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailIrmTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailIrmTemplate {} -impl ::core::fmt::Debug for EmailIrmTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailIrmTemplate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailIrmTemplate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailIrmTemplate;{f327758d-546d-4bea-a963-54a38b2cc016})"); } -impl ::core::clone::Clone for EmailIrmTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailIrmTemplate { type Vtable = IEmailIrmTemplate_Vtbl; } @@ -2742,6 +2413,7 @@ unsafe impl ::core::marker::Send for EmailIrmTemplate {} unsafe impl ::core::marker::Sync for EmailIrmTemplate {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailItemCounts(::windows_core::IUnknown); impl EmailItemCounts { pub fn Flagged(&self) -> ::windows_core::Result { @@ -2773,25 +2445,9 @@ impl EmailItemCounts { } } } -impl ::core::cmp::PartialEq for EmailItemCounts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailItemCounts {} -impl ::core::fmt::Debug for EmailItemCounts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailItemCounts").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailItemCounts { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailItemCounts;{5bd13321-fec8-4bab-83ba-0baf3c1f6cbd})"); } -impl ::core::clone::Clone for EmailItemCounts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailItemCounts { type Vtable = IEmailItemCounts_Vtbl; } @@ -2806,6 +2462,7 @@ unsafe impl ::core::marker::Send for EmailItemCounts {} unsafe impl ::core::marker::Sync for EmailItemCounts {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailbox(::windows_core::IUnknown); impl EmailMailbox { pub fn Capabilities(&self) -> ::windows_core::Result { @@ -3321,25 +2978,9 @@ impl EmailMailbox { } } } -impl ::core::cmp::PartialEq for EmailMailbox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailbox {} -impl ::core::fmt::Debug for EmailMailbox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailbox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailbox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailbox;{a8790649-cf5b-411b-80b1-4a6a1484ce25})"); } -impl ::core::clone::Clone for EmailMailbox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailbox { type Vtable = IEmailMailbox_Vtbl; } @@ -3354,6 +2995,7 @@ unsafe impl ::core::marker::Send for EmailMailbox {} unsafe impl ::core::marker::Sync for EmailMailbox {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxAction(::windows_core::IUnknown); impl EmailMailboxAction { pub fn Kind(&self) -> ::windows_core::Result { @@ -3371,25 +3013,9 @@ impl EmailMailboxAction { } } } -impl ::core::cmp::PartialEq for EmailMailboxAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxAction {} -impl ::core::fmt::Debug for EmailMailboxAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxAction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxAction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAction;{ac9889fa-21fa-4927-9210-d410582fdf3e})"); } -impl ::core::clone::Clone for EmailMailboxAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxAction { type Vtable = IEmailMailboxAction_Vtbl; } @@ -3404,6 +3030,7 @@ unsafe impl ::core::marker::Send for EmailMailboxAction {} unsafe impl ::core::marker::Sync for EmailMailboxAction {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxAutoReply(::windows_core::IUnknown); impl EmailMailboxAutoReply { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -3429,25 +3056,9 @@ impl EmailMailboxAutoReply { unsafe { (::windows_core::Interface::vtable(this).SetResponse)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxAutoReply { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxAutoReply {} -impl ::core::fmt::Debug for EmailMailboxAutoReply { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxAutoReply").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxAutoReply { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReply;{e223254c-8ab4-485b-b31f-04d15476bd59})"); } -impl ::core::clone::Clone for EmailMailboxAutoReply { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxAutoReply { type Vtable = IEmailMailboxAutoReply_Vtbl; } @@ -3462,6 +3073,7 @@ unsafe impl ::core::marker::Send for EmailMailboxAutoReply {} unsafe impl ::core::marker::Sync for EmailMailboxAutoReply {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxAutoReplySettings(::windows_core::IUnknown); impl EmailMailboxAutoReplySettings { pub fn new() -> ::windows_core::Result { @@ -3551,25 +3163,9 @@ impl EmailMailboxAutoReplySettings { } } } -impl ::core::cmp::PartialEq for EmailMailboxAutoReplySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxAutoReplySettings {} -impl ::core::fmt::Debug for EmailMailboxAutoReplySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxAutoReplySettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxAutoReplySettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxAutoReplySettings;{a87a9fa8-0ac6-4b77-ba77-a6b99e9a27b8})"); } -impl ::core::clone::Clone for EmailMailboxAutoReplySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxAutoReplySettings { type Vtable = IEmailMailboxAutoReplySettings_Vtbl; } @@ -3584,6 +3180,7 @@ unsafe impl ::core::marker::Send for EmailMailboxAutoReplySettings {} unsafe impl ::core::marker::Sync for EmailMailboxAutoReplySettings {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxCapabilities(::windows_core::IUnknown); impl EmailMailboxCapabilities { pub fn CanForwardMeetings(&self) -> ::windows_core::Result { @@ -3741,25 +3338,9 @@ impl EmailMailboxCapabilities { unsafe { (::windows_core::Interface::vtable(this).SetCanMoveFolder)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxCapabilities {} -impl ::core::fmt::Debug for EmailMailboxCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCapabilities;{eedec3a6-89db-4305-82c4-439e0a33da11})"); } -impl ::core::clone::Clone for EmailMailboxCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxCapabilities { type Vtable = IEmailMailboxCapabilities_Vtbl; } @@ -3774,6 +3355,7 @@ unsafe impl ::core::marker::Send for EmailMailboxCapabilities {} unsafe impl ::core::marker::Sync for EmailMailboxCapabilities {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxChange(::windows_core::IUnknown); impl EmailMailboxChange { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -3807,25 +3389,9 @@ impl EmailMailboxChange { } } } -impl ::core::cmp::PartialEq for EmailMailboxChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxChange {} -impl ::core::fmt::Debug for EmailMailboxChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChange;{61edf54b-11ef-400c-adde-8cde65c85e66})"); } -impl ::core::clone::Clone for EmailMailboxChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxChange { type Vtable = IEmailMailboxChange_Vtbl; } @@ -3840,6 +3406,7 @@ unsafe impl ::core::marker::Send for EmailMailboxChange {} unsafe impl ::core::marker::Sync for EmailMailboxChange {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxChangeReader(::windows_core::IUnknown); impl EmailMailboxChangeReader { pub fn AcceptChanges(&self) -> ::windows_core::Result<()> { @@ -3863,25 +3430,9 @@ impl EmailMailboxChangeReader { } } } -impl ::core::cmp::PartialEq for EmailMailboxChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxChangeReader {} -impl ::core::fmt::Debug for EmailMailboxChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeReader;{bdbd0ebb-c53d-4331-97be-be75a2146a75})"); } -impl ::core::clone::Clone for EmailMailboxChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxChangeReader { type Vtable = IEmailMailboxChangeReader_Vtbl; } @@ -3896,6 +3447,7 @@ unsafe impl ::core::marker::Send for EmailMailboxChangeReader {} unsafe impl ::core::marker::Sync for EmailMailboxChangeReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxChangeTracker(::windows_core::IUnknown); impl EmailMailboxChangeTracker { pub fn IsTracking(&self) -> ::windows_core::Result { @@ -3921,25 +3473,9 @@ impl EmailMailboxChangeTracker { unsafe { (::windows_core::Interface::vtable(this).Reset)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxChangeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxChangeTracker {} -impl ::core::fmt::Debug for EmailMailboxChangeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxChangeTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxChangeTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangeTracker;{7ae48638-5166-42b7-8882-fd21c92bdd4b})"); } -impl ::core::clone::Clone for EmailMailboxChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxChangeTracker { type Vtable = IEmailMailboxChangeTracker_Vtbl; } @@ -3954,6 +3490,7 @@ unsafe impl ::core::marker::Send for EmailMailboxChangeTracker {} unsafe impl ::core::marker::Sync for EmailMailboxChangeTracker {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxChangedDeferral(::windows_core::IUnknown); impl EmailMailboxChangedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -3961,25 +3498,9 @@ impl EmailMailboxChangedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxChangedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxChangedDeferral {} -impl ::core::fmt::Debug for EmailMailboxChangedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxChangedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxChangedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedDeferral;{779a74c1-97c5-4b54-b30d-306232623e6d})"); } -impl ::core::clone::Clone for EmailMailboxChangedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxChangedDeferral { type Vtable = IEmailMailboxChangedDeferral_Vtbl; } @@ -3994,6 +3515,7 @@ unsafe impl ::core::marker::Send for EmailMailboxChangedDeferral {} unsafe impl ::core::marker::Sync for EmailMailboxChangedDeferral {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxChangedEventArgs(::windows_core::IUnknown); impl EmailMailboxChangedEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -4004,25 +3526,9 @@ impl EmailMailboxChangedEventArgs { } } } -impl ::core::cmp::PartialEq for EmailMailboxChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxChangedEventArgs {} -impl ::core::fmt::Debug for EmailMailboxChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxChangedEventArgs;{3cfd5f6e-01d4-4e4a-a44c-b22dd42ec207})"); } -impl ::core::clone::Clone for EmailMailboxChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxChangedEventArgs { type Vtable = IEmailMailboxChangedEventArgs_Vtbl; } @@ -4037,6 +3543,7 @@ unsafe impl ::core::marker::Send for EmailMailboxChangedEventArgs {} unsafe impl ::core::marker::Sync for EmailMailboxChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxCreateFolderResult(::windows_core::IUnknown); impl EmailMailboxCreateFolderResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4054,25 +3561,9 @@ impl EmailMailboxCreateFolderResult { } } } -impl ::core::cmp::PartialEq for EmailMailboxCreateFolderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxCreateFolderResult {} -impl ::core::fmt::Debug for EmailMailboxCreateFolderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxCreateFolderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxCreateFolderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxCreateFolderResult;{b228557f-2885-4998-b595-8a2d374ce950})"); } -impl ::core::clone::Clone for EmailMailboxCreateFolderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxCreateFolderResult { type Vtable = IEmailMailboxCreateFolderResult_Vtbl; } @@ -4087,6 +3578,7 @@ unsafe impl ::core::marker::Send for EmailMailboxCreateFolderResult {} unsafe impl ::core::marker::Sync for EmailMailboxCreateFolderResult {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxPolicies(::windows_core::IUnknown); impl EmailMailboxPolicies { pub fn AllowedSmimeEncryptionAlgorithmNegotiation(&self) -> ::windows_core::Result { @@ -4170,25 +3662,9 @@ impl EmailMailboxPolicies { unsafe { (::windows_core::Interface::vtable(this).SetMustSignSmimeMessages)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxPolicies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxPolicies {} -impl ::core::fmt::Debug for EmailMailboxPolicies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxPolicies").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxPolicies { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxPolicies;{1f3345c5-1c3b-4dc7-b410-6373783e545d})"); } -impl ::core::clone::Clone for EmailMailboxPolicies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxPolicies { type Vtable = IEmailMailboxPolicies_Vtbl; } @@ -4203,6 +3679,7 @@ unsafe impl ::core::marker::Send for EmailMailboxPolicies {} unsafe impl ::core::marker::Sync for EmailMailboxPolicies {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMailboxSyncManager(::windows_core::IUnknown); impl EmailMailboxSyncManager { pub fn Status(&self) -> ::windows_core::Result { @@ -4274,25 +3751,9 @@ impl EmailMailboxSyncManager { unsafe { (::windows_core::Interface::vtable(this).SetLastAttemptedSyncTime)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for EmailMailboxSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMailboxSyncManager {} -impl ::core::fmt::Debug for EmailMailboxSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMailboxSyncManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMailboxSyncManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMailboxSyncManager;{517ac55a-3591-4b5d-85bc-c71dde862263})"); } -impl ::core::clone::Clone for EmailMailboxSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMailboxSyncManager { type Vtable = IEmailMailboxSyncManager_Vtbl; } @@ -4359,6 +3820,7 @@ impl ::windows_core::RuntimeName for EmailManager { } #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailManagerForUser(::windows_core::IUnknown); impl EmailManagerForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4392,25 +3854,9 @@ impl EmailManagerForUser { } } } -impl ::core::cmp::PartialEq for EmailManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailManagerForUser {} -impl ::core::fmt::Debug for EmailManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailManagerForUser;{f773de9f-3ca5-4b0f-90c1-156e40174ce5})"); } -impl ::core::clone::Clone for EmailManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailManagerForUser { type Vtable = IEmailManagerForUser_Vtbl; } @@ -4425,6 +3871,7 @@ unsafe impl ::core::marker::Send for EmailManagerForUser {} unsafe impl ::core::marker::Sync for EmailManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMeetingInfo(::windows_core::IUnknown); impl EmailMeetingInfo { pub fn new() -> ::windows_core::Result { @@ -4628,25 +4075,9 @@ impl EmailMeetingInfo { } } } -impl ::core::cmp::PartialEq for EmailMeetingInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMeetingInfo {} -impl ::core::fmt::Debug for EmailMeetingInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMeetingInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMeetingInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMeetingInfo;{31c03fa9-7933-415f-a275-d165ba07026b})"); } -impl ::core::clone::Clone for EmailMeetingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMeetingInfo { type Vtable = IEmailMeetingInfo_Vtbl; } @@ -4661,6 +4092,7 @@ unsafe impl ::core::marker::Send for EmailMeetingInfo {} unsafe impl ::core::marker::Sync for EmailMeetingInfo {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMessage(::windows_core::IUnknown); impl EmailMessage { pub fn new() -> ::windows_core::Result { @@ -5068,25 +4500,9 @@ impl EmailMessage { unsafe { (::windows_core::Interface::vtable(this).SetSentRepresenting)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for EmailMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMessage {} -impl ::core::fmt::Debug for EmailMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessage;{6c6d948d-80b5-48f8-b0b1-e04e430f44e5})"); } -impl ::core::clone::Clone for EmailMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMessage { type Vtable = IEmailMessage_Vtbl; } @@ -5101,6 +4517,7 @@ unsafe impl ::core::marker::Send for EmailMessage {} unsafe impl ::core::marker::Sync for EmailMessage {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMessageBatch(::windows_core::IUnknown); impl EmailMessageBatch { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5120,25 +4537,9 @@ impl EmailMessageBatch { } } } -impl ::core::cmp::PartialEq for EmailMessageBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMessageBatch {} -impl ::core::fmt::Debug for EmailMessageBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMessageBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMessageBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageBatch;{605cd08f-25d9-4f1b-9e51-0514c0149653})"); } -impl ::core::clone::Clone for EmailMessageBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMessageBatch { type Vtable = IEmailMessageBatch_Vtbl; } @@ -5153,6 +4554,7 @@ unsafe impl ::core::marker::Send for EmailMessageBatch {} unsafe impl ::core::marker::Sync for EmailMessageBatch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailMessageReader(::windows_core::IUnknown); impl EmailMessageReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5165,25 +4567,9 @@ impl EmailMessageReader { } } } -impl ::core::cmp::PartialEq for EmailMessageReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailMessageReader {} -impl ::core::fmt::Debug for EmailMessageReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailMessageReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailMessageReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailMessageReader;{2f4abe9f-6213-4a85-a3b0-f92d1a839d19})"); } -impl ::core::clone::Clone for EmailMessageReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailMessageReader { type Vtable = IEmailMessageReader_Vtbl; } @@ -5198,6 +4584,7 @@ unsafe impl ::core::marker::Send for EmailMessageReader {} unsafe impl ::core::marker::Sync for EmailMessageReader {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailQueryOptions(::windows_core::IUnknown); impl EmailQueryOptions { pub fn new() -> ::windows_core::Result { @@ -5274,25 +4661,9 @@ impl EmailQueryOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailQueryOptions {} -impl ::core::fmt::Debug for EmailQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryOptions;{45504b9b-3e7f-4d52-b6dd-d6fd4e1fbd9a})"); } -impl ::core::clone::Clone for EmailQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailQueryOptions { type Vtable = IEmailQueryOptions_Vtbl; } @@ -5307,6 +4678,7 @@ unsafe impl ::core::marker::Send for EmailQueryOptions {} unsafe impl ::core::marker::Sync for EmailQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailQueryTextSearch(::windows_core::IUnknown); impl EmailQueryTextSearch { pub fn Fields(&self) -> ::windows_core::Result { @@ -5343,25 +4715,9 @@ impl EmailQueryTextSearch { unsafe { (::windows_core::Interface::vtable(this).SetText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for EmailQueryTextSearch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailQueryTextSearch {} -impl ::core::fmt::Debug for EmailQueryTextSearch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailQueryTextSearch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailQueryTextSearch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailQueryTextSearch;{9fa0a288-3c5d-46a5-a6e2-31d6fd17e540})"); } -impl ::core::clone::Clone for EmailQueryTextSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailQueryTextSearch { type Vtable = IEmailQueryTextSearch_Vtbl; } @@ -5376,6 +4732,7 @@ unsafe impl ::core::marker::Send for EmailQueryTextSearch {} unsafe impl ::core::marker::Sync for EmailQueryTextSearch {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailRecipient(::windows_core::IUnknown); impl EmailRecipient { pub fn new() -> ::windows_core::Result { @@ -5425,25 +4782,9 @@ impl EmailRecipient { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EmailRecipient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailRecipient {} -impl ::core::fmt::Debug for EmailRecipient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailRecipient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailRecipient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipient;{cae825b3-4478-4814-b900-c902b5e19b53})"); } -impl ::core::clone::Clone for EmailRecipient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailRecipient { type Vtable = IEmailRecipient_Vtbl; } @@ -5458,6 +4799,7 @@ unsafe impl ::core::marker::Send for EmailRecipient {} unsafe impl ::core::marker::Sync for EmailRecipient {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailRecipientResolutionResult(::windows_core::IUnknown); impl EmailRecipientResolutionResult { pub fn new() -> ::windows_core::Result { @@ -5497,25 +4839,9 @@ impl EmailRecipientResolutionResult { unsafe { (::windows_core::Interface::vtable(this).SetPublicKeys)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for EmailRecipientResolutionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailRecipientResolutionResult {} -impl ::core::fmt::Debug for EmailRecipientResolutionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailRecipientResolutionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailRecipientResolutionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailRecipientResolutionResult;{918338fa-8d8d-4573-80d1-07172a34b98d})"); } -impl ::core::clone::Clone for EmailRecipientResolutionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailRecipientResolutionResult { type Vtable = IEmailRecipientResolutionResult_Vtbl; } @@ -5530,6 +4856,7 @@ unsafe impl ::core::marker::Send for EmailRecipientResolutionResult {} unsafe impl ::core::marker::Sync for EmailRecipientResolutionResult {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailStore(::windows_core::IUnknown); impl EmailStore { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5630,25 +4957,9 @@ impl EmailStore { } } } -impl ::core::cmp::PartialEq for EmailStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailStore {} -impl ::core::fmt::Debug for EmailStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStore;{f803226e-9137-4f8b-a470-279ac3058eb6})"); } -impl ::core::clone::Clone for EmailStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailStore { type Vtable = IEmailStore_Vtbl; } @@ -5663,27 +4974,12 @@ unsafe impl ::core::marker::Send for EmailStore {} unsafe impl ::core::marker::Sync for EmailStore {} #[doc = "*Required features: `\"ApplicationModel_Email\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailStoreNotificationTriggerDetails(::windows_core::IUnknown); impl EmailStoreNotificationTriggerDetails {} -impl ::core::cmp::PartialEq for EmailStoreNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailStoreNotificationTriggerDetails {} -impl ::core::fmt::Debug for EmailStoreNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailStoreNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailStoreNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Email.EmailStoreNotificationTriggerDetails;{ce17563c-46e6-43c9-96f7-facf7dd710cb})"); } -impl ::core::clone::Clone for EmailStoreNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailStoreNotificationTriggerDetails { type Vtable = IEmailStoreNotificationTriggerDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs index 5e867581ca..5a3fc451df 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendedExecutionForegroundRevokedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExtendedExecutionForegroundRevokedEventArgs { type Vtable = IExtendedExecutionForegroundRevokedEventArgs_Vtbl; } -impl ::core::clone::Clone for IExtendedExecutionForegroundRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendedExecutionForegroundRevokedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb07cd940_9557_aea4_2c99_bdd56d9be461); } @@ -20,15 +16,11 @@ pub struct IExtendedExecutionForegroundRevokedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendedExecutionForegroundSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExtendedExecutionForegroundSession { type Vtable = IExtendedExecutionForegroundSession_Vtbl; } -impl ::core::clone::Clone for IExtendedExecutionForegroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendedExecutionForegroundSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbf440e1_9d10_4201_b01e_c83275296f2e); } @@ -55,6 +47,7 @@ pub struct IExtendedExecutionForegroundSession_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExtendedExecutionForegroundRevokedEventArgs(::windows_core::IUnknown); impl ExtendedExecutionForegroundRevokedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -65,25 +58,9 @@ impl ExtendedExecutionForegroundRevokedEventArgs { } } } -impl ::core::cmp::PartialEq for ExtendedExecutionForegroundRevokedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExtendedExecutionForegroundRevokedEventArgs {} -impl ::core::fmt::Debug for ExtendedExecutionForegroundRevokedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtendedExecutionForegroundRevokedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExtendedExecutionForegroundRevokedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs;{b07cd940-9557-aea4-2c99-bdd56d9be461})"); } -impl ::core::clone::Clone for ExtendedExecutionForegroundRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExtendedExecutionForegroundRevokedEventArgs { type Vtable = IExtendedExecutionForegroundRevokedEventArgs_Vtbl; } @@ -98,6 +75,7 @@ unsafe impl ::core::marker::Send for ExtendedExecutionForegroundRevokedEventArgs unsafe impl ::core::marker::Sync for ExtendedExecutionForegroundRevokedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution_Foreground\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExtendedExecutionForegroundSession(::windows_core::IUnknown); impl ExtendedExecutionForegroundSession { pub fn new() -> ::windows_core::Result { @@ -163,25 +141,9 @@ impl ExtendedExecutionForegroundSession { unsafe { (::windows_core::Interface::vtable(this).SetReason)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ExtendedExecutionForegroundSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExtendedExecutionForegroundSession {} -impl ::core::fmt::Debug for ExtendedExecutionForegroundSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtendedExecutionForegroundSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExtendedExecutionForegroundSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession;{fbf440e1-9d10-4201-b01e-c83275296f2e})"); } -impl ::core::clone::Clone for ExtendedExecutionForegroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExtendedExecutionForegroundSession { type Vtable = IExtendedExecutionForegroundSession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index 1d0ee8039d..528cf3c4cb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -2,15 +2,11 @@ pub mod Foreground; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendedExecutionRevokedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExtendedExecutionRevokedEventArgs { type Vtable = IExtendedExecutionRevokedEventArgs_Vtbl; } -impl ::core::clone::Clone for IExtendedExecutionRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendedExecutionRevokedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfbc9f16_63b5_4c0b_aad6_828af5373ec3); } @@ -22,15 +18,11 @@ pub struct IExtendedExecutionRevokedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendedExecutionSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExtendedExecutionSession { type Vtable = IExtendedExecutionSession_Vtbl; } -impl ::core::clone::Clone for IExtendedExecutionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendedExecutionSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf908a2d_118b_48f1_9308_0c4fc41e200f); } @@ -59,6 +51,7 @@ pub struct IExtendedExecutionSession_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExtendedExecutionRevokedEventArgs(::windows_core::IUnknown); impl ExtendedExecutionRevokedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -69,25 +62,9 @@ impl ExtendedExecutionRevokedEventArgs { } } } -impl ::core::cmp::PartialEq for ExtendedExecutionRevokedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExtendedExecutionRevokedEventArgs {} -impl ::core::fmt::Debug for ExtendedExecutionRevokedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtendedExecutionRevokedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExtendedExecutionRevokedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs;{bfbc9f16-63b5-4c0b-aad6-828af5373ec3})"); } -impl ::core::clone::Clone for ExtendedExecutionRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExtendedExecutionRevokedEventArgs { type Vtable = IExtendedExecutionRevokedEventArgs_Vtbl; } @@ -102,6 +79,7 @@ unsafe impl ::core::marker::Send for ExtendedExecutionRevokedEventArgs {} unsafe impl ::core::marker::Sync for ExtendedExecutionRevokedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_ExtendedExecution\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExtendedExecutionSession(::windows_core::IUnknown); impl ExtendedExecutionSession { pub fn new() -> ::windows_core::Result { @@ -178,25 +156,9 @@ impl ExtendedExecutionSession { } } } -impl ::core::cmp::PartialEq for ExtendedExecutionSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExtendedExecutionSession {} -impl ::core::fmt::Debug for ExtendedExecutionSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExtendedExecutionSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExtendedExecutionSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession;{af908a2d-118b-48f1-9308-0c4fc41e200f})"); } -impl ::core::clone::Clone for ExtendedExecutionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExtendedExecutionSession { type Vtable = IExtendedExecutionSession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs index 14ed148c94..2e802ffa9e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicKeyboard(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicKeyboard { type Vtable = IHolographicKeyboard_Vtbl; } -impl ::core::clone::Clone for IHolographicKeyboard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicKeyboard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07dd0893_aa21_5e6f_a91b_11b2b3fd7be3); } @@ -28,15 +24,11 @@ pub struct IHolographicKeyboard_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicKeyboardStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicKeyboardStatics { type Vtable = IHolographicKeyboardStatics_Vtbl; } -impl ::core::clone::Clone for IHolographicKeyboardStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicKeyboardStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb676c624_63d7_58cf_b06b_08baa032a23f); } @@ -48,6 +40,7 @@ pub struct IHolographicKeyboardStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicKeyboard(::windows_core::IUnknown); impl HolographicKeyboard { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Perception_Spatial\"`*"] @@ -84,25 +77,9 @@ impl HolographicKeyboard { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HolographicKeyboard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicKeyboard {} -impl ::core::fmt::Debug for HolographicKeyboard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicKeyboard").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicKeyboard { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Holographic.HolographicKeyboard;{07dd0893-aa21-5e6f-a91b-11b2b3fd7be3})"); } -impl ::core::clone::Clone for HolographicKeyboard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicKeyboard { type Vtable = IHolographicKeyboard_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs index 87bab0d863..b7445fdbe1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockApplicationHost(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockApplicationHost { type Vtable = ILockApplicationHost_Vtbl; } -impl ::core::clone::Clone for ILockApplicationHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockApplicationHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38ee31ad_d94f_4e7c_81fa_4f4436506281); } @@ -28,15 +24,11 @@ pub struct ILockApplicationHost_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockApplicationHostStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockApplicationHostStatics { type Vtable = ILockApplicationHostStatics_Vtbl; } -impl ::core::clone::Clone for ILockApplicationHostStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockApplicationHostStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf48fab8e_23d7_4e63_96a1_666ff52d3b2c); } @@ -48,15 +40,11 @@ pub struct ILockApplicationHostStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenBadge(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenBadge { type Vtable = ILockScreenBadge_Vtbl; } -impl ::core::clone::Clone for ILockScreenBadge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenBadge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe95105d9_2bff_4db0_9b4f_3824778b9c9a); } @@ -81,15 +69,11 @@ pub struct ILockScreenBadge_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenInfo { type Vtable = ILockScreenInfo_Vtbl; } -impl ::core::clone::Clone for ILockScreenInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf59aa65c_9711_4dc9_a630_95b6cb8cdad0); } @@ -148,15 +132,11 @@ pub struct ILockScreenInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenUnlockingDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenUnlockingDeferral { type Vtable = ILockScreenUnlockingDeferral_Vtbl; } -impl ::core::clone::Clone for ILockScreenUnlockingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenUnlockingDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e7d1ad6_5203_43e7_9bd6_7c3947d1e3fe); } @@ -168,15 +148,11 @@ pub struct ILockScreenUnlockingDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenUnlockingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenUnlockingEventArgs { type Vtable = ILockScreenUnlockingEventArgs_Vtbl; } -impl ::core::clone::Clone for ILockScreenUnlockingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenUnlockingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44e6c007_75fb_4abb_9f8b_824748900c71); } @@ -192,6 +168,7 @@ pub struct ILockScreenUnlockingEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockApplicationHost(::windows_core::IUnknown); impl LockApplicationHost { pub fn RequestUnlock(&self) -> ::windows_core::Result<()> { @@ -228,25 +205,9 @@ impl LockApplicationHost { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LockApplicationHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockApplicationHost {} -impl ::core::fmt::Debug for LockApplicationHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockApplicationHost").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockApplicationHost { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockApplicationHost;{38ee31ad-d94f-4e7c-81fa-4f4436506281})"); } -impl ::core::clone::Clone for LockApplicationHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockApplicationHost { type Vtable = ILockApplicationHost_Vtbl; } @@ -261,6 +222,7 @@ unsafe impl ::core::marker::Send for LockApplicationHost {} unsafe impl ::core::marker::Sync for LockApplicationHost {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenBadge(::windows_core::IUnknown); impl LockScreenBadge { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -302,25 +264,9 @@ impl LockScreenBadge { unsafe { (::windows_core::Interface::vtable(this).LaunchApp)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for LockScreenBadge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenBadge {} -impl ::core::fmt::Debug for LockScreenBadge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenBadge").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenBadge { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenBadge;{e95105d9-2bff-4db0-9b4f-3824778b9c9a})"); } -impl ::core::clone::Clone for LockScreenBadge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenBadge { type Vtable = ILockScreenBadge_Vtbl; } @@ -335,6 +281,7 @@ unsafe impl ::core::marker::Send for LockScreenBadge {} unsafe impl ::core::marker::Sync for LockScreenBadge {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenInfo(::windows_core::IUnknown); impl LockScreenInfo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -446,25 +393,9 @@ impl LockScreenInfo { } } } -impl ::core::cmp::PartialEq for LockScreenInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenInfo {} -impl ::core::fmt::Debug for LockScreenInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenInfo;{f59aa65c-9711-4dc9-a630-95b6cb8cdad0})"); } -impl ::core::clone::Clone for LockScreenInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenInfo { type Vtable = ILockScreenInfo_Vtbl; } @@ -479,6 +410,7 @@ unsafe impl ::core::marker::Send for LockScreenInfo {} unsafe impl ::core::marker::Sync for LockScreenInfo {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenUnlockingDeferral(::windows_core::IUnknown); impl LockScreenUnlockingDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -486,25 +418,9 @@ impl LockScreenUnlockingDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for LockScreenUnlockingDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenUnlockingDeferral {} -impl ::core::fmt::Debug for LockScreenUnlockingDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenUnlockingDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenUnlockingDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingDeferral;{7e7d1ad6-5203-43e7-9bd6-7c3947d1e3fe})"); } -impl ::core::clone::Clone for LockScreenUnlockingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenUnlockingDeferral { type Vtable = ILockScreenUnlockingDeferral_Vtbl; } @@ -519,6 +435,7 @@ unsafe impl ::core::marker::Send for LockScreenUnlockingDeferral {} unsafe impl ::core::marker::Sync for LockScreenUnlockingDeferral {} #[doc = "*Required features: `\"ApplicationModel_LockScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LockScreenUnlockingEventArgs(::windows_core::IUnknown); impl LockScreenUnlockingEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -538,25 +455,9 @@ impl LockScreenUnlockingEventArgs { } } } -impl ::core::cmp::PartialEq for LockScreenUnlockingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LockScreenUnlockingEventArgs {} -impl ::core::fmt::Debug for LockScreenUnlockingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LockScreenUnlockingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LockScreenUnlockingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LockScreen.LockScreenUnlockingEventArgs;{44e6c007-75fb-4abb-9f8b-824748900c71})"); } -impl ::core::clone::Clone for LockScreenUnlockingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LockScreenUnlockingEventArgs { type Vtable = ILockScreenUnlockingEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs index 8c06c4e988..519a756cfc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentAppCanMakePaymentTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentAppCanMakePaymentTriggerDetails { type Vtable = IPaymentAppCanMakePaymentTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPaymentAppCanMakePaymentTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentAppCanMakePaymentTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ce201f0_8b93_4eb6_8c46_2e4a6c6a26f6); } @@ -21,15 +17,11 @@ pub struct IPaymentAppCanMakePaymentTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentAppManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentAppManager { type Vtable = IPaymentAppManager_Vtbl; } -impl ::core::clone::Clone for IPaymentAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentAppManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e47aa53_8521_4969_a957_df2538a3a98f); } @@ -48,15 +40,11 @@ pub struct IPaymentAppManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentAppManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentAppManagerStatics { type Vtable = IPaymentAppManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPaymentAppManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentAppManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa341ac28_fc89_4406_b4d9_34e7fe79dfb6); } @@ -68,15 +56,11 @@ pub struct IPaymentAppManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentTransaction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentTransaction { type Vtable = IPaymentTransaction_Vtbl; } -impl ::core::clone::Clone for IPaymentTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62581da0_26a5_4e9b_a6eb_66606cf001d3); } @@ -107,15 +91,11 @@ pub struct IPaymentTransaction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentTransactionAcceptResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentTransactionAcceptResult { type Vtable = IPaymentTransactionAcceptResult_Vtbl; } -impl ::core::clone::Clone for IPaymentTransactionAcceptResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentTransactionAcceptResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x060e3276_d30c_4817_95a2_df7ae9273b56); } @@ -127,15 +107,11 @@ pub struct IPaymentTransactionAcceptResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentTransactionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentTransactionStatics { type Vtable = IPaymentTransactionStatics_Vtbl; } -impl ::core::clone::Clone for IPaymentTransactionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentTransactionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d639750_ee0a_4df5_9b1e_1c0f9ec59881); } @@ -150,6 +126,7 @@ pub struct IPaymentTransactionStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentAppCanMakePaymentTriggerDetails(::windows_core::IUnknown); impl PaymentAppCanMakePaymentTriggerDetails { pub fn Request(&self) -> ::windows_core::Result { @@ -167,25 +144,9 @@ impl PaymentAppCanMakePaymentTriggerDetails { unsafe { (::windows_core::Interface::vtable(this).ReportCanMakePaymentResult)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for PaymentAppCanMakePaymentTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentAppCanMakePaymentTriggerDetails {} -impl ::core::fmt::Debug for PaymentAppCanMakePaymentTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentAppCanMakePaymentTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentAppCanMakePaymentTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails;{0ce201f0-8b93-4eb6-8c46-2e4a6c6a26f6})"); } -impl ::core::clone::Clone for PaymentAppCanMakePaymentTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentAppCanMakePaymentTriggerDetails { type Vtable = IPaymentAppCanMakePaymentTriggerDetails_Vtbl; } @@ -200,6 +161,7 @@ unsafe impl ::core::marker::Send for PaymentAppCanMakePaymentTriggerDetails {} unsafe impl ::core::marker::Sync for PaymentAppCanMakePaymentTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentAppManager(::windows_core::IUnknown); impl PaymentAppManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -235,25 +197,9 @@ impl PaymentAppManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentAppManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentAppManager {} -impl ::core::fmt::Debug for PaymentAppManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentAppManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentAppManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentAppManager;{0e47aa53-8521-4969-a957-df2538a3a98f})"); } -impl ::core::clone::Clone for PaymentAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentAppManager { type Vtable = IPaymentAppManager_Vtbl; } @@ -268,6 +214,7 @@ unsafe impl ::core::marker::Send for PaymentAppManager {} unsafe impl ::core::marker::Sync for PaymentAppManager {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentTransaction(::windows_core::IUnknown); impl PaymentTransaction { pub fn PaymentRequest(&self) -> ::windows_core::Result { @@ -364,25 +311,9 @@ impl PaymentTransaction { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentTransaction {} -impl ::core::fmt::Debug for PaymentTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentTransaction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentTransaction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransaction;{62581da0-26a5-4e9b-a6eb-66606cf001d3})"); } -impl ::core::clone::Clone for PaymentTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentTransaction { type Vtable = IPaymentTransaction_Vtbl; } @@ -397,6 +328,7 @@ unsafe impl ::core::marker::Send for PaymentTransaction {} unsafe impl ::core::marker::Sync for PaymentTransaction {} #[doc = "*Required features: `\"ApplicationModel_Payments_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentTransactionAcceptResult(::windows_core::IUnknown); impl PaymentTransactionAcceptResult { pub fn Status(&self) -> ::windows_core::Result { @@ -407,25 +339,9 @@ impl PaymentTransactionAcceptResult { } } } -impl ::core::cmp::PartialEq for PaymentTransactionAcceptResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentTransactionAcceptResult {} -impl ::core::fmt::Debug for PaymentTransactionAcceptResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentTransactionAcceptResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentTransactionAcceptResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult;{060e3276-d30c-4817-95a2-df7ae9273b56})"); } -impl ::core::clone::Clone for PaymentTransactionAcceptResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentTransactionAcceptResult { type Vtable = IPaymentTransactionAcceptResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 199389a1ac..87ff5172cd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentAddress { type Vtable = IPaymentAddress_Vtbl; } -impl ::core::clone::Clone for IPaymentAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f2264e9_6f3a_4166_a018_0a0b06bb32b5); } @@ -53,15 +49,11 @@ pub struct IPaymentAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentCanMakePaymentResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentCanMakePaymentResult { type Vtable = IPaymentCanMakePaymentResult_Vtbl; } -impl ::core::clone::Clone for IPaymentCanMakePaymentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentCanMakePaymentResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7696fe55_d5d3_4d3d_b345_45591759c510); } @@ -73,15 +65,11 @@ pub struct IPaymentCanMakePaymentResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentCanMakePaymentResultFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentCanMakePaymentResultFactory { type Vtable = IPaymentCanMakePaymentResultFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentCanMakePaymentResultFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentCanMakePaymentResultFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbdcaa3e_7d49_4f69_aa53_2a0f8164b7c9); } @@ -93,15 +81,11 @@ pub struct IPaymentCanMakePaymentResultFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentCurrencyAmount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentCurrencyAmount { type Vtable = IPaymentCurrencyAmount_Vtbl; } -impl ::core::clone::Clone for IPaymentCurrencyAmount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentCurrencyAmount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3a3e9e0_b41f_4987_bdcb_071331f2daa4); } @@ -118,15 +102,11 @@ pub struct IPaymentCurrencyAmount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentCurrencyAmountFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentCurrencyAmountFactory { type Vtable = IPaymentCurrencyAmountFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentCurrencyAmountFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentCurrencyAmountFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3257d338_140c_4575_8535_f773178c09a7); } @@ -139,15 +119,11 @@ pub struct IPaymentCurrencyAmountFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentDetails { type Vtable = IPaymentDetails_Vtbl; } -impl ::core::clone::Clone for IPaymentDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53bb2d7d_e0eb_4053_8eae_ce7c48e02945); } @@ -184,15 +160,11 @@ pub struct IPaymentDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentDetailsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentDetailsFactory { type Vtable = IPaymentDetailsFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentDetailsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentDetailsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfe8afee_c0ea_4ca1_8bc7_6de67b1f3763); } @@ -208,15 +180,11 @@ pub struct IPaymentDetailsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentDetailsModifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentDetailsModifier { type Vtable = IPaymentDetailsModifier_Vtbl; } -impl ::core::clone::Clone for IPaymentDetailsModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentDetailsModifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe1c7d65_4323_41d7_b305_dfcb765f69de); } @@ -237,15 +205,11 @@ pub struct IPaymentDetailsModifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentDetailsModifierFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentDetailsModifierFactory { type Vtable = IPaymentDetailsModifierFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentDetailsModifierFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentDetailsModifierFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79005286_54de_429c_9e4f_5dce6e10ebce); } @@ -268,15 +232,11 @@ pub struct IPaymentDetailsModifierFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentItem { type Vtable = IPaymentItem_Vtbl; } -impl ::core::clone::Clone for IPaymentItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x685ac88b_79b2_4b76_9e03_a876223dfe72); } @@ -293,15 +253,11 @@ pub struct IPaymentItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentItemFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentItemFactory { type Vtable = IPaymentItemFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6ab7ad8_2503_4d1d_a778_02b2e5927b2c); } @@ -313,15 +269,11 @@ pub struct IPaymentItemFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMediator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMediator { type Vtable = IPaymentMediator_Vtbl; } -impl ::core::clone::Clone for IPaymentMediator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMediator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb0ee829_ec0c_449a_83da_7ae3073365a2); } @@ -344,15 +296,11 @@ pub struct IPaymentMediator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMediator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMediator2 { type Vtable = IPaymentMediator2_Vtbl; } -impl ::core::clone::Clone for IPaymentMediator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMediator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceef98f1_e407_4128_8e73_d93d5f822786); } @@ -367,15 +315,11 @@ pub struct IPaymentMediator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMerchantInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMerchantInfo { type Vtable = IPaymentMerchantInfo_Vtbl; } -impl ::core::clone::Clone for IPaymentMerchantInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMerchantInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63445050_0e94_4ed6_aacb_e6012bd327a7); } @@ -391,15 +335,11 @@ pub struct IPaymentMerchantInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMerchantInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMerchantInfoFactory { type Vtable = IPaymentMerchantInfoFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentMerchantInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMerchantInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e89ced3_ccb7_4167_a8ec_e10ae96dbcd1); } @@ -414,15 +354,11 @@ pub struct IPaymentMerchantInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMethodData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMethodData { type Vtable = IPaymentMethodData_Vtbl; } -impl ::core::clone::Clone for IPaymentMethodData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMethodData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1d3caf4_de98_4129_b1b7_c3ad86237bf4); } @@ -438,15 +374,11 @@ pub struct IPaymentMethodData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentMethodDataFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentMethodDataFactory { type Vtable = IPaymentMethodDataFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentMethodDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentMethodDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8addd27f_9baa_4a82_8342_a8210992a36b); } @@ -465,15 +397,11 @@ pub struct IPaymentMethodDataFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentOptions { type Vtable = IPaymentOptions_Vtbl; } -impl ::core::clone::Clone for IPaymentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaa30854_1f2b_4365_8251_01b58915a5bc); } @@ -494,15 +422,11 @@ pub struct IPaymentOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequest { type Vtable = IPaymentRequest_Vtbl; } -impl ::core::clone::Clone for IPaymentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb74942e1_ed7b_47eb_bc08_78cc5d6896b6); } @@ -520,15 +444,11 @@ pub struct IPaymentRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequest2 { type Vtable = IPaymentRequest2_Vtbl; } -impl ::core::clone::Clone for IPaymentRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb63ccfb5_5998_493e_a04c_67048a50f141); } @@ -540,15 +460,11 @@ pub struct IPaymentRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestChangedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestChangedArgs { type Vtable = IPaymentRequestChangedArgs_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestChangedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6145e44_cd8b_4be4_b555_27c99194c0c5); } @@ -563,15 +479,11 @@ pub struct IPaymentRequestChangedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestChangedResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestChangedResult { type Vtable = IPaymentRequestChangedResult_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestChangedResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestChangedResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf699e5c_16c4_47ad_9401_8440ec0757db); } @@ -588,15 +500,11 @@ pub struct IPaymentRequestChangedResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestChangedResultFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestChangedResultFactory { type Vtable = IPaymentRequestChangedResultFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestChangedResultFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestChangedResultFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08740f56_1d33_4431_814b_67ea24bf21db); } @@ -609,15 +517,11 @@ pub struct IPaymentRequestChangedResultFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestFactory { type Vtable = IPaymentRequestFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e8a79dc_6b74_42d3_b103_f0de35fb1848); } @@ -640,15 +544,11 @@ pub struct IPaymentRequestFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestFactory2 { type Vtable = IPaymentRequestFactory2_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6ce1325_a506_4372_b7ef_1a031d5662d1); } @@ -663,15 +563,11 @@ pub struct IPaymentRequestFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentRequestSubmitResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentRequestSubmitResult { type Vtable = IPaymentRequestSubmitResult_Vtbl; } -impl ::core::clone::Clone for IPaymentRequestSubmitResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentRequestSubmitResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b9c3912_30f2_4e90_b249_8ce7d78ffe56); } @@ -684,15 +580,11 @@ pub struct IPaymentRequestSubmitResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentResponse { type Vtable = IPaymentResponse_Vtbl; } -impl ::core::clone::Clone for IPaymentResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1389457_8bd2_4888_9fa8_97985545108e); } @@ -713,15 +605,11 @@ pub struct IPaymentResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentShippingOption(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentShippingOption { type Vtable = IPaymentShippingOption_Vtbl; } -impl ::core::clone::Clone for IPaymentShippingOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentShippingOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13372ada_9753_4574_8966_93145a76c7f9); } @@ -740,15 +628,11 @@ pub struct IPaymentShippingOption_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentShippingOptionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentShippingOptionFactory { type Vtable = IPaymentShippingOptionFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentShippingOptionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentShippingOptionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5de5f917_b2d7_446b_9d73_6123fbca3bc6); } @@ -762,15 +646,11 @@ pub struct IPaymentShippingOptionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentToken(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentToken { type Vtable = IPaymentToken_Vtbl; } -impl ::core::clone::Clone for IPaymentToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbcac013_ccd0_41f2_b2a1_0a2e4b5dce25); } @@ -783,15 +663,11 @@ pub struct IPaymentToken_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPaymentTokenFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPaymentTokenFactory { type Vtable = IPaymentTokenFactory_Vtbl; } -impl ::core::clone::Clone for IPaymentTokenFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPaymentTokenFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x988cd7aa_4753_4904_8373_dd7b08b995c1); } @@ -804,6 +680,7 @@ pub struct IPaymentTokenFactory_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentAddress(::windows_core::IUnknown); impl PaymentAddress { pub fn new() -> ::windows_core::Result { @@ -951,25 +828,9 @@ impl PaymentAddress { } } } -impl ::core::cmp::PartialEq for PaymentAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentAddress {} -impl ::core::fmt::Debug for PaymentAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentAddress;{5f2264e9-6f3a-4166-a018-0a0b06bb32b5})"); } -impl ::core::clone::Clone for PaymentAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentAddress { type Vtable = IPaymentAddress_Vtbl; } @@ -984,6 +845,7 @@ unsafe impl ::core::marker::Send for PaymentAddress {} unsafe impl ::core::marker::Sync for PaymentAddress {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentCanMakePaymentResult(::windows_core::IUnknown); impl PaymentCanMakePaymentResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1005,25 +867,9 @@ impl PaymentCanMakePaymentResult { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentCanMakePaymentResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentCanMakePaymentResult {} -impl ::core::fmt::Debug for PaymentCanMakePaymentResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentCanMakePaymentResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentCanMakePaymentResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCanMakePaymentResult;{7696fe55-d5d3-4d3d-b345-45591759c510})"); } -impl ::core::clone::Clone for PaymentCanMakePaymentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentCanMakePaymentResult { type Vtable = IPaymentCanMakePaymentResult_Vtbl; } @@ -1038,6 +884,7 @@ unsafe impl ::core::marker::Send for PaymentCanMakePaymentResult {} unsafe impl ::core::marker::Sync for PaymentCanMakePaymentResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentCurrencyAmount(::windows_core::IUnknown); impl PaymentCurrencyAmount { pub fn Currency(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1091,25 +938,9 @@ impl PaymentCurrencyAmount { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentCurrencyAmount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentCurrencyAmount {} -impl ::core::fmt::Debug for PaymentCurrencyAmount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentCurrencyAmount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentCurrencyAmount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentCurrencyAmount;{e3a3e9e0-b41f-4987-bdcb-071331f2daa4})"); } -impl ::core::clone::Clone for PaymentCurrencyAmount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentCurrencyAmount { type Vtable = IPaymentCurrencyAmount_Vtbl; } @@ -1124,6 +955,7 @@ unsafe impl ::core::marker::Send for PaymentCurrencyAmount {} unsafe impl ::core::marker::Sync for PaymentCurrencyAmount {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentDetails(::windows_core::IUnknown); impl PaymentDetails { pub fn new() -> ::windows_core::Result { @@ -1228,25 +1060,9 @@ impl PaymentDetails { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentDetails {} -impl ::core::fmt::Debug for PaymentDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetails;{53bb2d7d-e0eb-4053-8eae-ce7c48e02945})"); } -impl ::core::clone::Clone for PaymentDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentDetails { type Vtable = IPaymentDetails_Vtbl; } @@ -1261,6 +1077,7 @@ unsafe impl ::core::marker::Send for PaymentDetails {} unsafe impl ::core::marker::Sync for PaymentDetails {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentDetailsModifier(::windows_core::IUnknown); impl PaymentDetailsModifier { pub fn JsonData(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1339,25 +1156,9 @@ impl PaymentDetailsModifier { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentDetailsModifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentDetailsModifier {} -impl ::core::fmt::Debug for PaymentDetailsModifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentDetailsModifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentDetailsModifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentDetailsModifier;{be1c7d65-4323-41d7-b305-dfcb765f69de})"); } -impl ::core::clone::Clone for PaymentDetailsModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentDetailsModifier { type Vtable = IPaymentDetailsModifier_Vtbl; } @@ -1372,6 +1173,7 @@ unsafe impl ::core::marker::Send for PaymentDetailsModifier {} unsafe impl ::core::marker::Sync for PaymentDetailsModifier {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentItem(::windows_core::IUnknown); impl PaymentItem { pub fn Label(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1425,25 +1227,9 @@ impl PaymentItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentItem {} -impl ::core::fmt::Debug for PaymentItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentItem;{685ac88b-79b2-4b76-9e03-a876223dfe72})"); } -impl ::core::clone::Clone for PaymentItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentItem { type Vtable = IPaymentItem_Vtbl; } @@ -1458,6 +1244,7 @@ unsafe impl ::core::marker::Send for PaymentItem {} unsafe impl ::core::marker::Sync for PaymentItem {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentMediator(::windows_core::IUnknown); impl PaymentMediator { pub fn new() -> ::windows_core::Result { @@ -1514,25 +1301,9 @@ impl PaymentMediator { } } } -impl ::core::cmp::PartialEq for PaymentMediator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentMediator {} -impl ::core::fmt::Debug for PaymentMediator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentMediator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentMediator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMediator;{fb0ee829-ec0c-449a-83da-7ae3073365a2})"); } -impl ::core::clone::Clone for PaymentMediator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentMediator { type Vtable = IPaymentMediator_Vtbl; } @@ -1547,6 +1318,7 @@ unsafe impl ::core::marker::Send for PaymentMediator {} unsafe impl ::core::marker::Sync for PaymentMediator {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentMerchantInfo(::windows_core::IUnknown); impl PaymentMerchantInfo { pub fn new() -> ::windows_core::Result { @@ -1589,25 +1361,9 @@ impl PaymentMerchantInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentMerchantInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentMerchantInfo {} -impl ::core::fmt::Debug for PaymentMerchantInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentMerchantInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentMerchantInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMerchantInfo;{63445050-0e94-4ed6-aacb-e6012bd327a7})"); } -impl ::core::clone::Clone for PaymentMerchantInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentMerchantInfo { type Vtable = IPaymentMerchantInfo_Vtbl; } @@ -1622,6 +1378,7 @@ unsafe impl ::core::marker::Send for PaymentMerchantInfo {} unsafe impl ::core::marker::Sync for PaymentMerchantInfo {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentMethodData(::windows_core::IUnknown); impl PaymentMethodData { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1668,25 +1425,9 @@ impl PaymentMethodData { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentMethodData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentMethodData {} -impl ::core::fmt::Debug for PaymentMethodData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentMethodData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentMethodData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentMethodData;{d1d3caf4-de98-4129-b1b7-c3ad86237bf4})"); } -impl ::core::clone::Clone for PaymentMethodData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentMethodData { type Vtable = IPaymentMethodData_Vtbl; } @@ -1701,6 +1442,7 @@ unsafe impl ::core::marker::Send for PaymentMethodData {} unsafe impl ::core::marker::Sync for PaymentMethodData {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentOptions(::windows_core::IUnknown); impl PaymentOptions { pub fn new() -> ::windows_core::Result { @@ -1766,25 +1508,9 @@ impl PaymentOptions { unsafe { (::windows_core::Interface::vtable(this).SetShippingType)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PaymentOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentOptions {} -impl ::core::fmt::Debug for PaymentOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentOptions;{aaa30854-1f2b-4365-8251-01b58915a5bc})"); } -impl ::core::clone::Clone for PaymentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentOptions { type Vtable = IPaymentOptions_Vtbl; } @@ -1799,6 +1525,7 @@ unsafe impl ::core::marker::Send for PaymentOptions {} unsafe impl ::core::marker::Sync for PaymentOptions {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentRequest(::windows_core::IUnknown); impl PaymentRequest { pub fn MerchantInfo(&self) -> ::windows_core::Result { @@ -1902,25 +1629,9 @@ impl PaymentRequest { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentRequest {} -impl ::core::fmt::Debug for PaymentRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequest;{b74942e1-ed7b-47eb-bc08-78cc5d6896b6})"); } -impl ::core::clone::Clone for PaymentRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentRequest { type Vtable = IPaymentRequest_Vtbl; } @@ -1935,6 +1646,7 @@ unsafe impl ::core::marker::Send for PaymentRequest {} unsafe impl ::core::marker::Sync for PaymentRequest {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentRequestChangedArgs(::windows_core::IUnknown); impl PaymentRequestChangedArgs { pub fn ChangeKind(&self) -> ::windows_core::Result { @@ -1966,25 +1678,9 @@ impl PaymentRequestChangedArgs { unsafe { (::windows_core::Interface::vtable(this).Acknowledge)(::windows_core::Interface::as_raw(this), changeresult.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for PaymentRequestChangedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentRequestChangedArgs {} -impl ::core::fmt::Debug for PaymentRequestChangedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentRequestChangedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentRequestChangedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedArgs;{c6145e44-cd8b-4be4-b555-27c99194c0c5})"); } -impl ::core::clone::Clone for PaymentRequestChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentRequestChangedArgs { type Vtable = IPaymentRequestChangedArgs_Vtbl; } @@ -1999,6 +1695,7 @@ unsafe impl ::core::marker::Send for PaymentRequestChangedArgs {} unsafe impl ::core::marker::Sync for PaymentRequestChangedArgs {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentRequestChangedResult(::windows_core::IUnknown); impl PaymentRequestChangedResult { pub fn ChangeAcceptedByMerchant(&self) -> ::windows_core::Result { @@ -2058,25 +1755,9 @@ impl PaymentRequestChangedResult { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentRequestChangedResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentRequestChangedResult {} -impl ::core::fmt::Debug for PaymentRequestChangedResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentRequestChangedResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentRequestChangedResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestChangedResult;{df699e5c-16c4-47ad-9401-8440ec0757db})"); } -impl ::core::clone::Clone for PaymentRequestChangedResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentRequestChangedResult { type Vtable = IPaymentRequestChangedResult_Vtbl; } @@ -2091,6 +1772,7 @@ unsafe impl ::core::marker::Send for PaymentRequestChangedResult {} unsafe impl ::core::marker::Sync for PaymentRequestChangedResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentRequestSubmitResult(::windows_core::IUnknown); impl PaymentRequestSubmitResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2108,25 +1790,9 @@ impl PaymentRequestSubmitResult { } } } -impl ::core::cmp::PartialEq for PaymentRequestSubmitResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentRequestSubmitResult {} -impl ::core::fmt::Debug for PaymentRequestSubmitResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentRequestSubmitResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentRequestSubmitResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentRequestSubmitResult;{7b9c3912-30f2-4e90-b249-8ce7d78ffe56})"); } -impl ::core::clone::Clone for PaymentRequestSubmitResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentRequestSubmitResult { type Vtable = IPaymentRequestSubmitResult_Vtbl; } @@ -2141,6 +1807,7 @@ unsafe impl ::core::marker::Send for PaymentRequestSubmitResult {} unsafe impl ::core::marker::Sync for PaymentRequestSubmitResult {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentResponse(::windows_core::IUnknown); impl PaymentResponse { pub fn PaymentToken(&self) -> ::windows_core::Result { @@ -2195,25 +1862,9 @@ impl PaymentResponse { } } } -impl ::core::cmp::PartialEq for PaymentResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentResponse {} -impl ::core::fmt::Debug for PaymentResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentResponse;{e1389457-8bd2-4888-9fa8-97985545108e})"); } -impl ::core::clone::Clone for PaymentResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentResponse { type Vtable = IPaymentResponse_Vtbl; } @@ -2228,6 +1879,7 @@ unsafe impl ::core::marker::Send for PaymentResponse {} unsafe impl ::core::marker::Sync for PaymentResponse {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentShippingOption(::windows_core::IUnknown); impl PaymentShippingOption { pub fn Label(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2310,25 +1962,9 @@ impl PaymentShippingOption { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentShippingOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentShippingOption {} -impl ::core::fmt::Debug for PaymentShippingOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentShippingOption").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentShippingOption { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentShippingOption;{13372ada-9753-4574-8966-93145a76c7f9})"); } -impl ::core::clone::Clone for PaymentShippingOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentShippingOption { type Vtable = IPaymentShippingOption_Vtbl; } @@ -2343,6 +1979,7 @@ unsafe impl ::core::marker::Send for PaymentShippingOption {} unsafe impl ::core::marker::Sync for PaymentShippingOption {} #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentToken(::windows_core::IUnknown); impl PaymentToken { pub fn PaymentMethodId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2377,25 +2014,9 @@ impl PaymentToken { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PaymentToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentToken {} -impl ::core::fmt::Debug for PaymentToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentToken").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PaymentToken { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Payments.PaymentToken;{bbcac013-ccd0-41f2-b2a1-0a2e4b5dce25})"); } -impl ::core::clone::Clone for PaymentToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PaymentToken { type Vtable = IPaymentToken_Vtbl; } @@ -2599,6 +2220,7 @@ impl ::windows_core::RuntimeType for PaymentShippingType { } #[doc = "*Required features: `\"ApplicationModel_Payments\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PaymentRequestChangedHandler(pub ::windows_core::IUnknown); impl PaymentRequestChangedHandler { pub fn new, ::core::option::Option<&PaymentRequestChangedArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -2625,9 +2247,12 @@ impl, ::core::option::Option<&P base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2652,25 +2277,9 @@ impl, ::core::option::Option<&P ((*this).invoke)(::windows_core::from_raw_borrowed(&paymentrequest), ::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for PaymentRequestChangedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PaymentRequestChangedHandler {} -impl ::core::fmt::Debug for PaymentRequestChangedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PaymentRequestChangedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for PaymentRequestChangedHandler { type Vtable = PaymentRequestChangedHandler_Vtbl; } -impl ::core::clone::Clone for PaymentRequestChangedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for PaymentRequestChangedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5078b9e1_f398_4f2c_a27e_94d371cf6c7d); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs index b9e0361a35..d62f1f21b1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicApplicationPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicApplicationPreviewStatics { type Vtable = IHolographicApplicationPreviewStatics_Vtbl; } -impl ::core::clone::Clone for IHolographicApplicationPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicApplicationPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe038691_2a3a_45a9_a208_7bed691919f3); } @@ -25,18 +21,13 @@ pub struct IHolographicApplicationPreviewStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicKeyboardPlacementOverridePreview(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IHolographicKeyboardPlacementOverridePreview { type Vtable = IHolographicKeyboardPlacementOverridePreview_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IHolographicKeyboardPlacementOverridePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IHolographicKeyboardPlacementOverridePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8a8ce3a_dfde_5a14_8d5f_182c526dd9c4); } @@ -61,18 +52,13 @@ pub struct IHolographicKeyboardPlacementOverridePreview_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicKeyboardPlacementOverridePreviewStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IHolographicKeyboardPlacementOverridePreviewStatics { type Vtable = IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IHolographicKeyboardPlacementOverridePreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IHolographicKeyboardPlacementOverridePreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x202e6039_1ff6_5a06_aac4_a5e24fa3ec4b); } @@ -118,6 +104,7 @@ impl ::windows_core::RuntimeName for HolographicApplicationPreview { #[doc = "*Required features: `\"ApplicationModel_Preview_Holographic\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicKeyboardPlacementOverridePreview(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl HolographicKeyboardPlacementOverridePreview { @@ -161,30 +148,10 @@ impl HolographicKeyboardPlacementOverridePreview { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for HolographicKeyboardPlacementOverridePreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for HolographicKeyboardPlacementOverridePreview {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for HolographicKeyboardPlacementOverridePreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicKeyboardPlacementOverridePreview").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for HolographicKeyboardPlacementOverridePreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview;{c8a8ce3a-dfde-5a14-8d5f-182c526dd9c4})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for HolographicKeyboardPlacementOverridePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for HolographicKeyboardPlacementOverridePreview { type Vtable = IHolographicKeyboardPlacementOverridePreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs index 466246979a..7ffe771fed 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkWorkspaceHostedAppManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkWorkspaceHostedAppManager { type Vtable = IInkWorkspaceHostedAppManager_Vtbl; } -impl ::core::clone::Clone for IInkWorkspaceHostedAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkWorkspaceHostedAppManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe0a7990_5e59_4bb7_8a63_7d218cd96300); } @@ -23,15 +19,11 @@ pub struct IInkWorkspaceHostedAppManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkWorkspaceHostedAppManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkWorkspaceHostedAppManagerStatics { type Vtable = IInkWorkspaceHostedAppManagerStatics_Vtbl; } -impl ::core::clone::Clone for IInkWorkspaceHostedAppManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkWorkspaceHostedAppManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbfd8cc5_a162_4bc4_84ee_e8716d5233c5); } @@ -43,6 +35,7 @@ pub struct IInkWorkspaceHostedAppManagerStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Preview_InkWorkspace\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkWorkspaceHostedAppManager(::windows_core::IUnknown); impl InkWorkspaceHostedAppManager { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Imaging\"`*"] @@ -69,25 +62,9 @@ impl InkWorkspaceHostedAppManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InkWorkspaceHostedAppManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkWorkspaceHostedAppManager {} -impl ::core::fmt::Debug for InkWorkspaceHostedAppManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkWorkspaceHostedAppManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkWorkspaceHostedAppManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager;{fe0a7990-5e59-4bb7-8a63-7d218cd96300})"); } -impl ::core::clone::Clone for InkWorkspaceHostedAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkWorkspaceHostedAppManager { type Vtable = IInkWorkspaceHostedAppManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs index 51fddfe70a..ff4f74f748 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotePlacementChangedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotePlacementChangedPreviewEventArgs { type Vtable = INotePlacementChangedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for INotePlacementChangedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotePlacementChangedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x491d57b7_f780_4e7f_a939_9a4caf965214); } @@ -20,15 +16,11 @@ pub struct INotePlacementChangedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INoteVisibilityChangedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INoteVisibilityChangedPreviewEventArgs { type Vtable = INoteVisibilityChangedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for INoteVisibilityChangedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INoteVisibilityChangedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e34649e_3815_4ff6_83b3_a14d17120e24); } @@ -41,15 +33,11 @@ pub struct INoteVisibilityChangedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotesWindowManagerPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotesWindowManagerPreview { type Vtable = INotesWindowManagerPreview_Vtbl; } -impl ::core::clone::Clone for INotesWindowManagerPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotesWindowManagerPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc2ac23e_4850_4f13_9cc7_ff487efdfcde); } @@ -105,15 +93,11 @@ pub struct INotesWindowManagerPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotesWindowManagerPreview2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotesWindowManagerPreview2 { type Vtable = INotesWindowManagerPreview2_Vtbl; } -impl ::core::clone::Clone for INotesWindowManagerPreview2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotesWindowManagerPreview2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedfe864a_1f54_4b09_9823_ff477f6fa3bc); } @@ -134,15 +118,11 @@ pub struct INotesWindowManagerPreview2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotesWindowManagerPreviewShowNoteOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotesWindowManagerPreviewShowNoteOptions { type Vtable = INotesWindowManagerPreviewShowNoteOptions_Vtbl; } -impl ::core::clone::Clone for INotesWindowManagerPreviewShowNoteOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotesWindowManagerPreviewShowNoteOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x886b09d6_a6ae_4007_a56d_1ca70c84c0d2); } @@ -155,15 +135,11 @@ pub struct INotesWindowManagerPreviewShowNoteOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotesWindowManagerPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotesWindowManagerPreviewStatics { type Vtable = INotesWindowManagerPreviewStatics_Vtbl; } -impl ::core::clone::Clone for INotesWindowManagerPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotesWindowManagerPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6668cc88_0a8e_4127_a38e_995445868a78); } @@ -175,6 +151,7 @@ pub struct INotesWindowManagerPreviewStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotePlacementChangedPreviewEventArgs(::windows_core::IUnknown); impl NotePlacementChangedPreviewEventArgs { pub fn ViewId(&self) -> ::windows_core::Result { @@ -185,25 +162,9 @@ impl NotePlacementChangedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for NotePlacementChangedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotePlacementChangedPreviewEventArgs {} -impl ::core::fmt::Debug for NotePlacementChangedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotePlacementChangedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotePlacementChangedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs;{491d57b7-f780-4e7f-a939-9a4caf965214})"); } -impl ::core::clone::Clone for NotePlacementChangedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotePlacementChangedPreviewEventArgs { type Vtable = INotePlacementChangedPreviewEventArgs_Vtbl; } @@ -218,6 +179,7 @@ unsafe impl ::core::marker::Send for NotePlacementChangedPreviewEventArgs {} unsafe impl ::core::marker::Sync for NotePlacementChangedPreviewEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NoteVisibilityChangedPreviewEventArgs(::windows_core::IUnknown); impl NoteVisibilityChangedPreviewEventArgs { pub fn ViewId(&self) -> ::windows_core::Result { @@ -235,25 +197,9 @@ impl NoteVisibilityChangedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for NoteVisibilityChangedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NoteVisibilityChangedPreviewEventArgs {} -impl ::core::fmt::Debug for NoteVisibilityChangedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NoteVisibilityChangedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NoteVisibilityChangedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs;{0e34649e-3815-4ff6-83b3-a14d17120e24})"); } -impl ::core::clone::Clone for NoteVisibilityChangedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NoteVisibilityChangedPreviewEventArgs { type Vtable = INoteVisibilityChangedPreviewEventArgs_Vtbl; } @@ -268,6 +214,7 @@ unsafe impl ::core::marker::Send for NoteVisibilityChangedPreviewEventArgs {} unsafe impl ::core::marker::Sync for NoteVisibilityChangedPreviewEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotesWindowManagerPreview(::windows_core::IUnknown); impl NotesWindowManagerPreview { pub fn IsScreenLocked(&self) -> ::windows_core::Result { @@ -431,25 +378,9 @@ impl NotesWindowManagerPreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NotesWindowManagerPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotesWindowManagerPreview {} -impl ::core::fmt::Debug for NotesWindowManagerPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotesWindowManagerPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotesWindowManagerPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde})"); } -impl ::core::clone::Clone for NotesWindowManagerPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotesWindowManagerPreview { type Vtable = INotesWindowManagerPreview_Vtbl; } @@ -464,6 +395,7 @@ unsafe impl ::core::marker::Send for NotesWindowManagerPreview {} unsafe impl ::core::marker::Sync for NotesWindowManagerPreview {} #[doc = "*Required features: `\"ApplicationModel_Preview_Notes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotesWindowManagerPreviewShowNoteOptions(::windows_core::IUnknown); impl NotesWindowManagerPreviewShowNoteOptions { pub fn new() -> ::windows_core::Result { @@ -485,25 +417,9 @@ impl NotesWindowManagerPreviewShowNoteOptions { unsafe { (::windows_core::Interface::vtable(this).SetShowWithFocus)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for NotesWindowManagerPreviewShowNoteOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotesWindowManagerPreviewShowNoteOptions {} -impl ::core::fmt::Debug for NotesWindowManagerPreviewShowNoteOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotesWindowManagerPreviewShowNoteOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotesWindowManagerPreviewShowNoteOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions;{886b09d6-a6ae-4007-a56d-1ca70c84c0d2})"); } -impl ::core::clone::Clone for NotesWindowManagerPreviewShowNoteOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotesWindowManagerPreviewShowNoteOptions { type Vtable = INotesWindowManagerPreviewShowNoteOptions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs index c249ec9781..5726c0a5fc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedResource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INamedResource { type Vtable = INamedResource_Vtbl; } -impl ::core::clone::Clone for INamedResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c98c219_0b13_4240_89a5_d495dc189a00); } @@ -37,15 +33,11 @@ pub struct INamedResource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceCandidate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceCandidate { type Vtable = IResourceCandidate_Vtbl; } -impl ::core::clone::Clone for IResourceCandidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceCandidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf5207d9_c433_4764_b3fd_8fa6bfbcbadc); } @@ -69,15 +61,11 @@ pub struct IResourceCandidate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceCandidate2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceCandidate2 { type Vtable = IResourceCandidate2_Vtbl; } -impl ::core::clone::Clone for IResourceCandidate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceCandidate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69e5b468_f6fc_4013_aaa2_d53f1757d3b5); } @@ -92,15 +80,11 @@ pub struct IResourceCandidate2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceCandidate3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceCandidate3 { type Vtable = IResourceCandidate3_Vtbl; } -impl ::core::clone::Clone for IResourceCandidate3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceCandidate3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08ae97f8_517a_4674_958c_4a3c7cd2cc6b); } @@ -112,15 +96,11 @@ pub struct IResourceCandidate3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceContext { type Vtable = IResourceContext_Vtbl; } -impl ::core::clone::Clone for IResourceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fa22f4b_707e_4b27_ad0d_d0d8cd468fd2); } @@ -153,15 +133,11 @@ pub struct IResourceContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceContextStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceContextStatics { type Vtable = IResourceContextStatics_Vtbl; } -impl ::core::clone::Clone for IResourceContextStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceContextStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98be9d6c_6338_4b31_99df_b2b442f17149); } @@ -176,15 +152,11 @@ pub struct IResourceContextStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceContextStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceContextStatics2 { type Vtable = IResourceContextStatics2_Vtbl; } -impl ::core::clone::Clone for IResourceContextStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceContextStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41f752ef_12af_41b9_ab36_b1eb4b512460); } @@ -203,15 +175,11 @@ pub struct IResourceContextStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceContextStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceContextStatics3 { type Vtable = IResourceContextStatics3_Vtbl; } -impl ::core::clone::Clone for IResourceContextStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceContextStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20cf492c_af0f_450b_9da6_106dd0c29a39); } @@ -223,15 +191,11 @@ pub struct IResourceContextStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceContextStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceContextStatics4 { type Vtable = IResourceContextStatics4_Vtbl; } -impl ::core::clone::Clone for IResourceContextStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceContextStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22eb9ccd_fb31_4bfa_b86b_df9d9d7bdc39); } @@ -246,15 +210,11 @@ pub struct IResourceContextStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceManager { type Vtable = IResourceManager_Vtbl; } -impl ::core::clone::Clone for IResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf744d97b_9988_44fb_abd6_5378844cfa8b); } @@ -279,15 +239,11 @@ pub struct IResourceManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceManager2 { type Vtable = IResourceManager2_Vtbl; } -impl ::core::clone::Clone for IResourceManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d66fe6c_a4d7_4c23_9e85_675f304c252d); } @@ -306,15 +262,11 @@ pub struct IResourceManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceManagerStatics { type Vtable = IResourceManagerStatics_Vtbl; } -impl ::core::clone::Clone for IResourceManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cc0fdfc_69ee_4e43_9901_47f12687baf7); } @@ -327,15 +279,11 @@ pub struct IResourceManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceMap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceMap { type Vtable = IResourceMap_Vtbl; } -impl ::core::clone::Clone for IResourceMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72284824_db8c_42f8_b08c_53ff357dad82); } @@ -353,15 +301,11 @@ pub struct IResourceMap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceQualifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceQualifier { type Vtable = IResourceQualifier_Vtbl; } -impl ::core::clone::Clone for IResourceQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceQualifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x785da5b2_4afd_4376_a888_c5f9a6b7a05c); } @@ -377,6 +321,7 @@ pub struct IResourceQualifier_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NamedResource(::windows_core::IUnknown); impl NamedResource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -436,25 +381,9 @@ impl NamedResource { } } } -impl ::core::cmp::PartialEq for NamedResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NamedResource {} -impl ::core::fmt::Debug for NamedResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NamedResource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NamedResource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00})"); } -impl ::core::clone::Clone for NamedResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NamedResource { type Vtable = INamedResource_Vtbl; } @@ -469,6 +398,7 @@ unsafe impl ::core::marker::Send for NamedResource {} unsafe impl ::core::marker::Sync for NamedResource {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceCandidate(::windows_core::IUnknown); impl ResourceCandidate { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -541,25 +471,9 @@ impl ResourceCandidate { } } } -impl ::core::cmp::PartialEq for ResourceCandidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceCandidate {} -impl ::core::fmt::Debug for ResourceCandidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceCandidate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceCandidate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})"); } -impl ::core::clone::Clone for ResourceCandidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceCandidate { type Vtable = IResourceCandidate_Vtbl; } @@ -575,6 +489,7 @@ unsafe impl ::core::marker::Sync for ResourceCandidate {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceCandidateVectorView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceCandidateVectorView { @@ -628,30 +543,10 @@ impl ResourceCandidateVectorView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceCandidateVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceCandidateVectorView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceCandidateVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceCandidateVectorView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceCandidateVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceCandidate;{af5207d9-c433-4764-b3fd-8fa6bfbcbadc})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceCandidateVectorView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceCandidateVectorView { type Vtable = super::super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -691,6 +586,7 @@ unsafe impl ::core::marker::Send for ResourceCandidateVectorView {} unsafe impl ::core::marker::Sync for ResourceCandidateVectorView {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceContext(::windows_core::IUnknown); impl ResourceContext { pub fn new() -> ::windows_core::Result { @@ -828,25 +724,9 @@ impl ResourceContext { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ResourceContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceContext {} -impl ::core::fmt::Debug for ResourceContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContext;{2fa22f4b-707e-4b27-ad0d-d0d8cd468fd2})"); } -impl ::core::clone::Clone for ResourceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceContext { type Vtable = IResourceContext_Vtbl; } @@ -862,6 +742,7 @@ unsafe impl ::core::marker::Sync for ResourceContext {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceContextLanguagesVectorView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceContextLanguagesVectorView { @@ -912,30 +793,10 @@ impl ResourceContextLanguagesVectorView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceContextLanguagesVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceContextLanguagesVectorView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceContextLanguagesVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceContextLanguagesVectorView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceContextLanguagesVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};string))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceContextLanguagesVectorView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceContextLanguagesVectorView { type Vtable = super::super::super::Foundation::Collections::IVectorView_Vtbl<::windows_core::HSTRING>; } @@ -975,6 +836,7 @@ unsafe impl ::core::marker::Send for ResourceContextLanguagesVectorView {} unsafe impl ::core::marker::Sync for ResourceContextLanguagesVectorView {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceManager(::windows_core::IUnknown); impl ResourceManager { pub fn MainResourceMap(&self) -> ::windows_core::Result { @@ -1054,25 +916,9 @@ impl ResourceManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ResourceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceManager {} -impl ::core::fmt::Debug for ResourceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceManager;{f744d97b-9988-44fb-abd6-5378844cfa8b})"); } -impl ::core::clone::Clone for ResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceManager { type Vtable = IResourceManager_Vtbl; } @@ -1087,6 +933,7 @@ unsafe impl ::core::marker::Send for ResourceManager {} unsafe impl ::core::marker::Sync for ResourceManager {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceMap(::windows_core::IUnknown); impl ResourceMap { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1165,25 +1012,9 @@ impl ResourceMap { } } } -impl ::core::cmp::PartialEq for ResourceMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceMap {} -impl ::core::fmt::Debug for ResourceMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})"); } -impl ::core::clone::Clone for ResourceMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceMap { type Vtable = IResourceMap_Vtbl; } @@ -1219,6 +1050,7 @@ unsafe impl ::core::marker::Sync for ResourceMap {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceMapIterator(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceMapIterator { @@ -1260,30 +1092,10 @@ impl ResourceMapIterator { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceMapIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceMapIterator {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceMapIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceMapIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceMapIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.NamedResource;{1c98c219-0b13-4240-89a5-d495dc189a00}))))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceMapIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceMapIterator { type Vtable = super::super::super::Foundation::Collections::IIterator_Vtbl>; } @@ -1306,6 +1118,7 @@ unsafe impl ::core::marker::Sync for ResourceMapIterator {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceMapMapView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceMapMapView { @@ -1353,30 +1166,10 @@ impl ResourceMapMapView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceMapMapView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceMapMapView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceMapMapView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceMapMapView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceMapMapView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceMapMapView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceMapMapView { type Vtable = super::super::super::Foundation::Collections::IMapView_Vtbl<::windows_core::HSTRING, ResourceMap>; } @@ -1417,6 +1210,7 @@ unsafe impl ::core::marker::Sync for ResourceMapMapView {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceMapMapViewIterator(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceMapMapViewIterator { @@ -1458,30 +1252,10 @@ impl ResourceMapMapViewIterator { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceMapMapViewIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceMapMapViewIterator {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceMapMapViewIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceMapMapViewIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceMapMapViewIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};pinterface({02b51929-c1c4-4a7e-8940-0312b5c18500};string;rc(Windows.ApplicationModel.Resources.Core.ResourceMap;{72284824-db8c-42f8-b08c-53ff357dad82}))))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceMapMapViewIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceMapMapViewIterator { type Vtable = super::super::super::Foundation::Collections::IIterator_Vtbl>; } @@ -1503,6 +1277,7 @@ unsafe impl ::core::marker::Send for ResourceMapMapViewIterator {} unsafe impl ::core::marker::Sync for ResourceMapMapViewIterator {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceQualifier(::windows_core::IUnknown); impl ResourceQualifier { pub fn QualifierName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1541,25 +1316,9 @@ impl ResourceQualifier { } } } -impl ::core::cmp::PartialEq for ResourceQualifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceQualifier {} -impl ::core::fmt::Debug for ResourceQualifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceQualifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceQualifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})"); } -impl ::core::clone::Clone for ResourceQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceQualifier { type Vtable = IResourceQualifier_Vtbl; } @@ -1575,6 +1334,7 @@ unsafe impl ::core::marker::Sync for ResourceQualifier {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceQualifierMapView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierMapView { @@ -1622,30 +1382,10 @@ impl ResourceQualifierMapView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceQualifierMapView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceQualifierMapView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceQualifierMapView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceQualifierMapView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceQualifierMapView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView;pinterface({e480ce40-a338-4ada-adcf-272272e48cb9};string;string))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceQualifierMapView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceQualifierMapView { type Vtable = super::super::super::Foundation::Collections::IMapView_Vtbl<::windows_core::HSTRING, ::windows_core::HSTRING>; } @@ -1686,6 +1426,7 @@ unsafe impl ::core::marker::Sync for ResourceQualifierMapView {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceQualifierObservableMap(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierObservableMap { @@ -1775,30 +1516,10 @@ impl ResourceQualifierObservableMap { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceQualifierObservableMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceQualifierObservableMap {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceQualifierObservableMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceQualifierObservableMap").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceQualifierObservableMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap;pinterface({65df2bf5-bf39-41b5-aebc-5a9d865e472b};string;string))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceQualifierObservableMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceQualifierObservableMap { type Vtable = super::super::super::Foundation::Collections::IObservableMap_Vtbl<::windows_core::HSTRING, ::windows_core::HSTRING>; } @@ -1841,6 +1562,7 @@ unsafe impl ::core::marker::Sync for ResourceQualifierObservableMap {} #[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceQualifierVectorView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierVectorView { @@ -1894,30 +1616,10 @@ impl ResourceQualifierVectorView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ResourceQualifierVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ResourceQualifierVectorView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ResourceQualifierVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceQualifierVectorView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ResourceQualifierVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.ApplicationModel.Resources.Core.ResourceQualifier;{785da5b2-4afd-4376-a888-c5f9a6b7a05c})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ResourceQualifierVectorView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ResourceQualifierVectorView { type Vtable = super::super::super::Foundation::Collections::IVectorView_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs index ac74f61751..5073151396 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndexedResourceCandidate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIndexedResourceCandidate { type Vtable = IIndexedResourceCandidate_Vtbl; } -impl ::core::clone::Clone for IIndexedResourceCandidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndexedResourceCandidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e619ef3_faec_4414_a9d7_54acd5953f29); } @@ -34,15 +30,11 @@ pub struct IIndexedResourceCandidate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndexedResourceQualifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIndexedResourceQualifier { type Vtable = IIndexedResourceQualifier_Vtbl; } -impl ::core::clone::Clone for IIndexedResourceQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndexedResourceQualifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdae3bb9b_d304_497f_a168_a340042c8adb); } @@ -56,18 +48,13 @@ pub struct IIndexedResourceQualifier_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceIndexer(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IResourceIndexer { type Vtable = IResourceIndexer_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IResourceIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IResourceIndexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d4cf9a5_e32f_4ab2_8748_96350a016da3); } @@ -88,18 +75,13 @@ pub struct IResourceIndexer_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceIndexerFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IResourceIndexerFactory { type Vtable = IResourceIndexerFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IResourceIndexerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IResourceIndexerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8de3f09_31cd_4d97_bd30_8d39f742bc61); } @@ -116,18 +98,13 @@ pub struct IResourceIndexerFactory_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceIndexerFactory2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IResourceIndexerFactory2 { type Vtable = IResourceIndexerFactory2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IResourceIndexerFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IResourceIndexerFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6040f18d_d5e5_4b60_9201_cd279cbcfed9); } @@ -143,6 +120,7 @@ pub struct IResourceIndexerFactory2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IndexedResourceCandidate(::windows_core::IUnknown); impl IndexedResourceCandidate { pub fn Type(&self) -> ::windows_core::Result { @@ -194,25 +172,9 @@ impl IndexedResourceCandidate { } } } -impl ::core::cmp::PartialEq for IndexedResourceCandidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IndexedResourceCandidate {} -impl ::core::fmt::Debug for IndexedResourceCandidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IndexedResourceCandidate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IndexedResourceCandidate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceCandidate;{0e619ef3-faec-4414-a9d7-54acd5953f29})"); } -impl ::core::clone::Clone for IndexedResourceCandidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IndexedResourceCandidate { type Vtable = IIndexedResourceCandidate_Vtbl; } @@ -227,6 +189,7 @@ unsafe impl ::core::marker::Send for IndexedResourceCandidate {} unsafe impl ::core::marker::Sync for IndexedResourceCandidate {} #[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IndexedResourceQualifier(::windows_core::IUnknown); impl IndexedResourceQualifier { pub fn QualifierName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -244,25 +207,9 @@ impl IndexedResourceQualifier { } } } -impl ::core::cmp::PartialEq for IndexedResourceQualifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IndexedResourceQualifier {} -impl ::core::fmt::Debug for IndexedResourceQualifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IndexedResourceQualifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IndexedResourceQualifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.IndexedResourceQualifier;{dae3bb9b-d304-497f-a168-a340042c8adb})"); } -impl ::core::clone::Clone for IndexedResourceQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IndexedResourceQualifier { type Vtable = IIndexedResourceQualifier_Vtbl; } @@ -278,6 +225,7 @@ unsafe impl ::core::marker::Sync for IndexedResourceQualifier {} #[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceIndexer(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl ResourceIndexer { @@ -342,30 +290,10 @@ impl ResourceIndexer { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for ResourceIndexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for ResourceIndexer {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for ResourceIndexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceIndexer").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for ResourceIndexer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.Management.ResourceIndexer;{2d4cf9a5-e32f-4ab2-8748-96350a016da3})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ResourceIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ResourceIndexer { type Vtable = IResourceIndexer_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index 68cf666248..a58d331a2a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -4,15 +4,11 @@ pub mod Core; pub mod Management; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoader { type Vtable = IResourceLoader_Vtbl; } -impl ::core::clone::Clone for IResourceLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08524908_16ef_45ad_a602_293637d7e61a); } @@ -24,15 +20,11 @@ pub struct IResourceLoader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoader2 { type Vtable = IResourceLoader2_Vtbl; } -impl ::core::clone::Clone for IResourceLoader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10eb6ec6_8138_48c1_bc65_e1f14207367c); } @@ -47,15 +39,11 @@ pub struct IResourceLoader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoaderFactory { type Vtable = IResourceLoaderFactory_Vtbl; } -impl ::core::clone::Clone for IResourceLoaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc33a3603_69dc_4285_a077_d5c0e47ccbe8); } @@ -67,15 +55,11 @@ pub struct IResourceLoaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoaderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoaderStatics { type Vtable = IResourceLoaderStatics_Vtbl; } -impl ::core::clone::Clone for IResourceLoaderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoaderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf777ce1_19c8_49c2_953c_47e9227b334e); } @@ -90,15 +74,11 @@ pub struct IResourceLoaderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoaderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoaderStatics2 { type Vtable = IResourceLoaderStatics2_Vtbl; } -impl ::core::clone::Clone for IResourceLoaderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoaderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cc04141_6466_4989_9494_0b82dfc53f1f); } @@ -113,15 +93,11 @@ pub struct IResourceLoaderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoaderStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoaderStatics3 { type Vtable = IResourceLoaderStatics3_Vtbl; } -impl ::core::clone::Clone for IResourceLoaderStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoaderStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64609dfb_64ac_491b_8100_0e558d61c1d0); } @@ -136,15 +112,11 @@ pub struct IResourceLoaderStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceLoaderStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceLoaderStatics4 { type Vtable = IResourceLoaderStatics4_Vtbl; } -impl ::core::clone::Clone for IResourceLoaderStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceLoaderStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fb36c32_6c8c_4316_962e_909539b5c259); } @@ -156,6 +128,7 @@ pub struct IResourceLoaderStatics4_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Resources\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceLoader(::windows_core::IUnknown); impl ResourceLoader { pub fn new() -> ::windows_core::Result { @@ -268,25 +241,9 @@ impl ResourceLoader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ResourceLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceLoader {} -impl ::core::fmt::Debug for ResourceLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceLoader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceLoader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Resources.ResourceLoader;{08524908-16ef-45ad-a602-293637d7e61a})"); } -impl ::core::clone::Clone for ResourceLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceLoader { type Vtable = IResourceLoader_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs index 2e82875b7b..db8d0bd70d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRequestingFocusOnKeyboardInputEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRequestingFocusOnKeyboardInputEventArgs { type Vtable = IRequestingFocusOnKeyboardInputEventArgs_Vtbl; } -impl ::core::clone::Clone for IRequestingFocusOnKeyboardInputEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRequestingFocusOnKeyboardInputEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1195f27_b1a7_41a2_879d_6a68687e5985); } @@ -19,15 +15,11 @@ pub struct IRequestingFocusOnKeyboardInputEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestion { type Vtable = ISearchSuggestion_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b5554b0_1527_437b_95c5_8d18d2b8af55); } @@ -47,15 +39,11 @@ pub struct ISearchSuggestion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestionManager { type Vtable = ISearchSuggestionManager_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f0c50a1_cb9d_497b_b500_3c04ac959ad2); } @@ -97,15 +85,11 @@ pub struct ISearchSuggestionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestionsRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestionsRequestedEventArgs { type Vtable = ISearchSuggestionsRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestionsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestionsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fd519e5_9e7e_4ab4_8be3_c76b1bd4344a); } @@ -120,27 +104,12 @@ pub struct ISearchSuggestionsRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RequestingFocusOnKeyboardInputEventArgs(::windows_core::IUnknown); impl RequestingFocusOnKeyboardInputEventArgs {} -impl ::core::cmp::PartialEq for RequestingFocusOnKeyboardInputEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RequestingFocusOnKeyboardInputEventArgs {} -impl ::core::fmt::Debug for RequestingFocusOnKeyboardInputEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RequestingFocusOnKeyboardInputEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RequestingFocusOnKeyboardInputEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs;{a1195f27-b1a7-41a2-879d-6a68687e5985})"); } -impl ::core::clone::Clone for RequestingFocusOnKeyboardInputEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RequestingFocusOnKeyboardInputEventArgs { type Vtable = IRequestingFocusOnKeyboardInputEventArgs_Vtbl; } @@ -155,6 +124,7 @@ unsafe impl ::core::marker::Send for RequestingFocusOnKeyboardInputEventArgs {} unsafe impl ::core::marker::Sync for RequestingFocusOnKeyboardInputEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestion(::windows_core::IUnknown); impl SearchSuggestion { pub fn Kind(&self) -> ::windows_core::Result { @@ -202,25 +172,9 @@ impl SearchSuggestion { } } } -impl ::core::cmp::PartialEq for SearchSuggestion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestion {} -impl ::core::fmt::Debug for SearchSuggestion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestion;{5b5554b0-1527-437b-95c5-8d18d2b8af55})"); } -impl ::core::clone::Clone for SearchSuggestion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestion { type Vtable = ISearchSuggestion_Vtbl; } @@ -233,6 +187,7 @@ impl ::windows_core::RuntimeName for SearchSuggestion { ::windows_core::imp::interface_hierarchy!(SearchSuggestion, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestionManager(::windows_core::IUnknown); impl SearchSuggestionManager { pub fn new() -> ::windows_core::Result { @@ -344,25 +299,9 @@ impl SearchSuggestionManager { unsafe { (::windows_core::Interface::vtable(this).RemoveRequestingFocusOnKeyboardInput)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for SearchSuggestionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestionManager {} -impl ::core::fmt::Debug for SearchSuggestionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionManager;{3f0c50a1-cb9d-497b-b500-3c04ac959ad2})"); } -impl ::core::clone::Clone for SearchSuggestionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestionManager { type Vtable = ISearchSuggestionManager_Vtbl; } @@ -375,6 +314,7 @@ impl ::windows_core::RuntimeName for SearchSuggestionManager { ::windows_core::imp::interface_hierarchy!(SearchSuggestionManager, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_Search_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestionsRequestedEventArgs(::windows_core::IUnknown); impl SearchSuggestionsRequestedEventArgs { pub fn QueryText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -406,25 +346,9 @@ impl SearchSuggestionsRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for SearchSuggestionsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestionsRequestedEventArgs {} -impl ::core::fmt::Debug for SearchSuggestionsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestionsRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestionsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs;{6fd519e5-9e7e-4ab4-8be3-c76b1bd4344a})"); } -impl ::core::clone::Clone for SearchSuggestionsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestionsRequestedEventArgs { type Vtable = ISearchSuggestionsRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs index b0114f3726..e35c94be01 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs @@ -55,7 +55,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 289d0efaf4..c4bd7e9f42 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalContentSuggestionSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalContentSuggestionSettings { type Vtable = ILocalContentSuggestionSettings_Vtbl; } -impl ::core::clone::Clone for ILocalContentSuggestionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalContentSuggestionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeaeb062_743d_456e_84a3_23f06f2d15d7); } @@ -34,18 +30,13 @@ pub struct ILocalContentSuggestionSettings_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPane(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPane { type Vtable = ISearchPane_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPane { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdacec38_3700_4d73_91a1_2f998674238a); } @@ -158,6 +149,7 @@ pub struct ISearchPane_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneQueryChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl ISearchPaneQueryChangedEventArgs { @@ -192,20 +184,6 @@ impl ISearchPaneQueryChangedEventArgs { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(ISearchPaneQueryChangedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for ISearchPaneQueryChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for ISearchPaneQueryChangedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for ISearchPaneQueryChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchPaneQueryChangedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for ISearchPaneQueryChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3c064fe9-2351-4248-a529-7110f464a785}"); } @@ -214,12 +192,6 @@ unsafe impl ::windows_core::Interface for ISearchPaneQueryChangedEventArgs { type Vtable = ISearchPaneQueryChangedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneQueryChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneQueryChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c064fe9_2351_4248_a529_7110f464a785); } @@ -243,15 +215,11 @@ pub struct ISearchPaneQueryChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneQueryLinguisticDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchPaneQueryLinguisticDetails { type Vtable = ISearchPaneQueryLinguisticDetails_Vtbl; } -impl ::core::clone::Clone for ISearchPaneQueryLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchPaneQueryLinguisticDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82fb460e_0940_4b6d_b8d0_642b30989e15); } @@ -269,18 +237,13 @@ pub struct ISearchPaneQueryLinguisticDetails_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneQuerySubmittedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneQuerySubmittedEventArgs { type Vtable = ISearchPaneQuerySubmittedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneQuerySubmittedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneQuerySubmittedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x143ba4fc_e9c5_4736_91b2_e8eb9cb88356); } @@ -301,18 +264,13 @@ pub struct ISearchPaneQuerySubmittedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails { type Vtable = ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x460c92e5_4c32_4538_a4d4_b6b4400d140f); } @@ -329,18 +287,13 @@ pub struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneResultSuggestionChosenEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneResultSuggestionChosenEventArgs { type Vtable = ISearchPaneResultSuggestionChosenEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneResultSuggestionChosenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneResultSuggestionChosenEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8316cc0_aed2_41e0_bce0_c26ca74f85ec); } @@ -357,18 +310,13 @@ pub struct ISearchPaneResultSuggestionChosenEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneStatics { type Vtable = ISearchPaneStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9572adf1_8f1d_481f_a15b_c61655f16a0e); } @@ -385,18 +333,13 @@ pub struct ISearchPaneStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneStaticsWithHideThisApplication(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneStaticsWithHideThisApplication { type Vtable = ISearchPaneStaticsWithHideThisApplication_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneStaticsWithHideThisApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneStaticsWithHideThisApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00732830_50f1_4d03_99ac_c6644c8ed8b5); } @@ -413,18 +356,13 @@ pub struct ISearchPaneStaticsWithHideThisApplication_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneSuggestionsRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneSuggestionsRequest { type Vtable = ISearchPaneSuggestionsRequest_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneSuggestionsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneSuggestionsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81b10b1c_e561_4093_9b4d_2ad482794a53); } @@ -449,18 +387,13 @@ pub struct ISearchPaneSuggestionsRequest_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneSuggestionsRequestDeferral(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneSuggestionsRequestDeferral { type Vtable = ISearchPaneSuggestionsRequestDeferral_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneSuggestionsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneSuggestionsRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0d009f7_8748_4ee2_ad44_afa6be997c51); } @@ -477,18 +410,13 @@ pub struct ISearchPaneSuggestionsRequestDeferral_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneSuggestionsRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneSuggestionsRequestedEventArgs { type Vtable = ISearchPaneSuggestionsRequestedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneSuggestionsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneSuggestionsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc89b8a2f_ac56_4460_8d2f_80023bec4fc5); } @@ -505,18 +433,13 @@ pub struct ISearchPaneSuggestionsRequestedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPaneVisibilityChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISearchPaneVisibilityChangedEventArgs { type Vtable = ISearchPaneVisibilityChangedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISearchPaneVisibilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISearchPaneVisibilityChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c4d3046_ac4b_49f2_97d6_020e6182cb9c); } @@ -532,15 +455,11 @@ pub struct ISearchPaneVisibilityChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchQueryLinguisticDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchQueryLinguisticDetails { type Vtable = ISearchQueryLinguisticDetails_Vtbl; } -impl ::core::clone::Clone for ISearchQueryLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchQueryLinguisticDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46a1205b_69c9_4745_b72f_a8a4fc8f24ae); } @@ -557,15 +476,11 @@ pub struct ISearchQueryLinguisticDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchQueryLinguisticDetailsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchQueryLinguisticDetailsFactory { type Vtable = ISearchQueryLinguisticDetailsFactory_Vtbl; } -impl ::core::clone::Clone for ISearchQueryLinguisticDetailsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchQueryLinguisticDetailsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcac6c3b8_3c64_4dfd_ad9f_479e4d4065a4); } @@ -580,15 +495,11 @@ pub struct ISearchQueryLinguisticDetailsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestionCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestionCollection { type Vtable = ISearchSuggestionCollection_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x323a8a4b_fbea_4446_abbc_3da7915fdd3a); } @@ -610,15 +521,11 @@ pub struct ISearchSuggestionCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestionsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestionsRequest { type Vtable = ISearchSuggestionsRequest_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestionsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestionsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e4e26a7_44e5_4039_9099_6000ead1f0c6); } @@ -632,15 +539,11 @@ pub struct ISearchSuggestionsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchSuggestionsRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISearchSuggestionsRequestDeferral { type Vtable = ISearchSuggestionsRequestDeferral_Vtbl; } -impl ::core::clone::Clone for ISearchSuggestionsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchSuggestionsRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb71598a9_c065_456d_a845_1eccec5dc28b); } @@ -652,6 +555,7 @@ pub struct ISearchSuggestionsRequestDeferral_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocalContentSuggestionSettings(::windows_core::IUnknown); impl LocalContentSuggestionSettings { pub fn new() -> ::windows_core::Result { @@ -702,25 +606,9 @@ impl LocalContentSuggestionSettings { } } } -impl ::core::cmp::PartialEq for LocalContentSuggestionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocalContentSuggestionSettings {} -impl ::core::fmt::Debug for LocalContentSuggestionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocalContentSuggestionSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocalContentSuggestionSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.LocalContentSuggestionSettings;{eeaeb062-743d-456e-84a3-23f06f2d15d7})"); } -impl ::core::clone::Clone for LocalContentSuggestionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocalContentSuggestionSettings { type Vtable = ILocalContentSuggestionSettings_Vtbl; } @@ -734,6 +622,7 @@ impl ::windows_core::RuntimeName for LocalContentSuggestionSettings { #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPane(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPane { @@ -971,30 +860,10 @@ impl SearchPane { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPane { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPane {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPane { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPane").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPane { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPane;{fdacec38-3700-4d73-91a1-2f998674238a})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPane { type Vtable = ISearchPane_Vtbl; } @@ -1011,6 +880,7 @@ impl ::windows_core::RuntimeName for SearchPane { #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneQueryChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneQueryChangedEventArgs { @@ -1043,30 +913,10 @@ impl SearchPaneQueryChangedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneQueryChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneQueryChangedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneQueryChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneQueryChangedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneQueryChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs;{3c064fe9-2351-4248-a529-7110f464a785})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneQueryChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneQueryChangedEventArgs { type Vtable = ISearchPaneQueryChangedEventArgs_Vtbl; } @@ -1088,6 +938,7 @@ unsafe impl ::core::marker::Send for SearchPaneQueryChangedEventArgs {} unsafe impl ::core::marker::Sync for SearchPaneQueryChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneQueryLinguisticDetails(::windows_core::IUnknown); impl SearchPaneQueryLinguisticDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1114,25 +965,9 @@ impl SearchPaneQueryLinguisticDetails { } } } -impl ::core::cmp::PartialEq for SearchPaneQueryLinguisticDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchPaneQueryLinguisticDetails {} -impl ::core::fmt::Debug for SearchPaneQueryLinguisticDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneQueryLinguisticDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchPaneQueryLinguisticDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails;{82fb460e-0940-4b6d-b8d0-642b30989e15})"); } -impl ::core::clone::Clone for SearchPaneQueryLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchPaneQueryLinguisticDetails { type Vtable = ISearchPaneQueryLinguisticDetails_Vtbl; } @@ -1148,6 +983,7 @@ unsafe impl ::core::marker::Sync for SearchPaneQueryLinguisticDetails {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneQuerySubmittedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneQuerySubmittedEventArgs { @@ -1180,30 +1016,10 @@ impl SearchPaneQuerySubmittedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneQuerySubmittedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneQuerySubmittedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneQuerySubmittedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneQuerySubmittedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneQuerySubmittedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs;{143ba4fc-e9c5-4736-91b2-e8eb9cb88356})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneQuerySubmittedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneQuerySubmittedEventArgs { type Vtable = ISearchPaneQuerySubmittedEventArgs_Vtbl; } @@ -1224,6 +1040,7 @@ unsafe impl ::core::marker::Sync for SearchPaneQuerySubmittedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneResultSuggestionChosenEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneResultSuggestionChosenEventArgs { @@ -1238,30 +1055,10 @@ impl SearchPaneResultSuggestionChosenEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneResultSuggestionChosenEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneResultSuggestionChosenEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneResultSuggestionChosenEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneResultSuggestionChosenEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneResultSuggestionChosenEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs;{c8316cc0-aed2-41e0-bce0-c26ca74f85ec})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneResultSuggestionChosenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneResultSuggestionChosenEventArgs { type Vtable = ISearchPaneResultSuggestionChosenEventArgs_Vtbl; } @@ -1282,6 +1079,7 @@ unsafe impl ::core::marker::Sync for SearchPaneResultSuggestionChosenEventArgs { #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneSuggestionsRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequest { @@ -1314,30 +1112,10 @@ impl SearchPaneSuggestionsRequest { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneSuggestionsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneSuggestionsRequest {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneSuggestionsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneSuggestionsRequest").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneSuggestionsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest;{81b10b1c-e561-4093-9b4d-2ad482794a53})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneSuggestionsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneSuggestionsRequest { type Vtable = ISearchPaneSuggestionsRequest_Vtbl; } @@ -1358,6 +1136,7 @@ unsafe impl ::core::marker::Sync for SearchPaneSuggestionsRequest {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneSuggestionsRequestDeferral(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequestDeferral { @@ -1369,30 +1148,10 @@ impl SearchPaneSuggestionsRequestDeferral { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneSuggestionsRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneSuggestionsRequestDeferral {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneSuggestionsRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneSuggestionsRequestDeferral").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneSuggestionsRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral;{a0d009f7-8748-4ee2-ad44-afa6be997c51})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneSuggestionsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneSuggestionsRequestDeferral { type Vtable = ISearchPaneSuggestionsRequestDeferral_Vtbl; } @@ -1413,6 +1172,7 @@ unsafe impl ::core::marker::Sync for SearchPaneSuggestionsRequestDeferral {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneSuggestionsRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneSuggestionsRequestedEventArgs { @@ -1454,30 +1214,10 @@ impl SearchPaneSuggestionsRequestedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneSuggestionsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneSuggestionsRequestedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneSuggestionsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneSuggestionsRequestedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneSuggestionsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs;{c89b8a2f-ac56-4460-8d2f-80023bec4fc5})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneSuggestionsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneSuggestionsRequestedEventArgs { type Vtable = ISearchPaneSuggestionsRequestedEventArgs_Vtbl; } @@ -1500,6 +1240,7 @@ unsafe impl ::core::marker::Sync for SearchPaneSuggestionsRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchPaneVisibilityChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SearchPaneVisibilityChangedEventArgs { @@ -1514,30 +1255,10 @@ impl SearchPaneVisibilityChangedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SearchPaneVisibilityChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SearchPaneVisibilityChangedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SearchPaneVisibilityChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchPaneVisibilityChangedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SearchPaneVisibilityChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs;{3c4d3046-ac4b-49f2-97d6-020e6182cb9c})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SearchPaneVisibilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SearchPaneVisibilityChangedEventArgs { type Vtable = ISearchPaneVisibilityChangedEventArgs_Vtbl; } @@ -1557,6 +1278,7 @@ unsafe impl ::core::marker::Send for SearchPaneVisibilityChangedEventArgs {} unsafe impl ::core::marker::Sync for SearchPaneVisibilityChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchQueryLinguisticDetails(::windows_core::IUnknown); impl SearchQueryLinguisticDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1599,25 +1321,9 @@ impl SearchQueryLinguisticDetails { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SearchQueryLinguisticDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchQueryLinguisticDetails {} -impl ::core::fmt::Debug for SearchQueryLinguisticDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchQueryLinguisticDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchQueryLinguisticDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchQueryLinguisticDetails;{46a1205b-69c9-4745-b72f-a8a4fc8f24ae})"); } -impl ::core::clone::Clone for SearchQueryLinguisticDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchQueryLinguisticDetails { type Vtable = ISearchQueryLinguisticDetails_Vtbl; } @@ -1632,6 +1338,7 @@ unsafe impl ::core::marker::Send for SearchQueryLinguisticDetails {} unsafe impl ::core::marker::Sync for SearchQueryLinguisticDetails {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestionCollection(::windows_core::IUnknown); impl SearchSuggestionCollection { pub fn Size(&self) -> ::windows_core::Result { @@ -1668,25 +1375,9 @@ impl SearchSuggestionCollection { unsafe { (::windows_core::Interface::vtable(this).AppendSearchSeparator)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(label)).ok() } } } -impl ::core::cmp::PartialEq for SearchSuggestionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestionCollection {} -impl ::core::fmt::Debug for SearchSuggestionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestionCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestionCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionCollection;{323a8a4b-fbea-4446-abbc-3da7915fdd3a})"); } -impl ::core::clone::Clone for SearchSuggestionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestionCollection { type Vtable = ISearchSuggestionCollection_Vtbl; } @@ -1701,6 +1392,7 @@ unsafe impl ::core::marker::Send for SearchSuggestionCollection {} unsafe impl ::core::marker::Sync for SearchSuggestionCollection {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestionsRequest(::windows_core::IUnknown); impl SearchSuggestionsRequest { pub fn IsCanceled(&self) -> ::windows_core::Result { @@ -1725,25 +1417,9 @@ impl SearchSuggestionsRequest { } } } -impl ::core::cmp::PartialEq for SearchSuggestionsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestionsRequest {} -impl ::core::fmt::Debug for SearchSuggestionsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestionsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestionsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequest;{4e4e26a7-44e5-4039-9099-6000ead1f0c6})"); } -impl ::core::clone::Clone for SearchSuggestionsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestionsRequest { type Vtable = ISearchSuggestionsRequest_Vtbl; } @@ -1758,6 +1434,7 @@ unsafe impl ::core::marker::Send for SearchSuggestionsRequest {} unsafe impl ::core::marker::Sync for SearchSuggestionsRequest {} #[doc = "*Required features: `\"ApplicationModel_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SearchSuggestionsRequestDeferral(::windows_core::IUnknown); impl SearchSuggestionsRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1765,25 +1442,9 @@ impl SearchSuggestionsRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SearchSuggestionsRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SearchSuggestionsRequestDeferral {} -impl ::core::fmt::Debug for SearchSuggestionsRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SearchSuggestionsRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SearchSuggestionsRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral;{b71598a9-c065-456d-a845-1eccec5dc28b})"); } -impl ::core::clone::Clone for SearchSuggestionsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SearchSuggestionsRequestDeferral { type Vtable = ISearchSuggestionsRequestDeferral_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs index a35c661026..3bfd7fc866 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILicenseManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILicenseManagerStatics { type Vtable = ILicenseManagerStatics_Vtbl; } -impl ::core::clone::Clone for ILicenseManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILicenseManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5ac3ae0_da47_4f20_9a23_09182c9476ff); } @@ -27,15 +23,11 @@ pub struct ILicenseManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILicenseManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILicenseManagerStatics2 { type Vtable = ILicenseManagerStatics2_Vtbl; } -impl ::core::clone::Clone for ILicenseManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILicenseManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab2ec47b_1f79_4480_b87e_2c499e601ba3); } @@ -50,15 +42,11 @@ pub struct ILicenseManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILicenseSatisfactionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILicenseSatisfactionInfo { type Vtable = ILicenseSatisfactionInfo_Vtbl; } -impl ::core::clone::Clone for ILicenseSatisfactionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILicenseSatisfactionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ccbb08f_db31_48d5_8384_fa17c81474e2); } @@ -76,15 +64,11 @@ pub struct ILicenseSatisfactionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILicenseSatisfactionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILicenseSatisfactionResult { type Vtable = ILicenseSatisfactionResult_Vtbl; } -impl ::core::clone::Clone for ILicenseSatisfactionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILicenseSatisfactionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c674f73_3c87_4ee1_8201_f428359bd3af); } @@ -148,6 +132,7 @@ impl ::windows_core::RuntimeName for LicenseManager { } #[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LicenseSatisfactionInfo(::windows_core::IUnknown); impl LicenseSatisfactionInfo { pub fn SatisfiedByDevice(&self) -> ::windows_core::Result { @@ -200,25 +185,9 @@ impl LicenseSatisfactionInfo { } } } -impl ::core::cmp::PartialEq for LicenseSatisfactionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LicenseSatisfactionInfo {} -impl ::core::fmt::Debug for LicenseSatisfactionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LicenseSatisfactionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LicenseSatisfactionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo;{3ccbb08f-db31-48d5-8384-fa17c81474e2})"); } -impl ::core::clone::Clone for LicenseSatisfactionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LicenseSatisfactionInfo { type Vtable = ILicenseSatisfactionInfo_Vtbl; } @@ -233,6 +202,7 @@ unsafe impl ::core::marker::Send for LicenseSatisfactionInfo {} unsafe impl ::core::marker::Sync for LicenseSatisfactionInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_LicenseManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LicenseSatisfactionResult(::windows_core::IUnknown); impl LicenseSatisfactionResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -252,25 +222,9 @@ impl LicenseSatisfactionResult { } } } -impl ::core::cmp::PartialEq for LicenseSatisfactionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LicenseSatisfactionResult {} -impl ::core::fmt::Debug for LicenseSatisfactionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LicenseSatisfactionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LicenseSatisfactionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult;{3c674f73-3c87-4ee1-8201-f428359bd3af})"); } -impl ::core::clone::Clone for LicenseSatisfactionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LicenseSatisfactionResult { type Vtable = ILicenseSatisfactionResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs index cfdcfd8a0d..08ba4bb5bb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallItem { type Vtable = IAppInstallItem_Vtbl; } -impl ::core::clone::Clone for IAppInstallItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49d3dfab_168a_4cbf_a93a_9e448c82737d); } @@ -43,15 +39,11 @@ pub struct IAppInstallItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallItem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallItem2 { type Vtable = IAppInstallItem2_Vtbl; } -impl ::core::clone::Clone for IAppInstallItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3972af8_40c0_4fd7_aa6c_0aa13ca6188c); } @@ -65,15 +57,11 @@ pub struct IAppInstallItem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallItem3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallItem3 { type Vtable = IAppInstallItem3_Vtbl; } -impl ::core::clone::Clone for IAppInstallItem3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallItem3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f3dc998_dd47_433c_9234_560172d67a45); } @@ -89,15 +77,11 @@ pub struct IAppInstallItem3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallItem4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallItem4 { type Vtable = IAppInstallItem4_Vtbl; } -impl ::core::clone::Clone for IAppInstallItem4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallItem4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2d1ce12_71ff_4fc8_b540_453d4b37e1d1); } @@ -110,15 +94,11 @@ pub struct IAppInstallItem4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallItem5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallItem5 { type Vtable = IAppInstallItem5_Vtbl; } -impl ::core::clone::Clone for IAppInstallItem5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallItem5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5510e7cc_4076_4a0b_9472_c21d9d380e55); } @@ -139,15 +119,11 @@ pub struct IAppInstallItem5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager { type Vtable = IAppInstallManager_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9353e170_8441_4b45_bd72_7c2fa925beee); } @@ -213,15 +189,11 @@ pub struct IAppInstallManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager2 { type Vtable = IAppInstallManager2_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16937851_ed37_480d_8314_52e27c03f04a); } @@ -255,15 +227,11 @@ pub struct IAppInstallManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager3 { type Vtable = IAppInstallManager3_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95b24b17_e96a_4d0e_84e1_c8cb417a0178); } @@ -303,15 +271,11 @@ pub struct IAppInstallManager3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager4 { type Vtable = IAppInstallManager4_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x260a2a16_5a9e_4ebd_b944_f2ba75c31159); } @@ -334,15 +298,11 @@ pub struct IAppInstallManager4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager5 { type Vtable = IAppInstallManager5_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cd7be4c_1be9_4f7f_b675_aa1d64a529b2); } @@ -357,15 +317,11 @@ pub struct IAppInstallManager5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager6 { type Vtable = IAppInstallManager6_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9e7d408_f27a_4471_b2f4_e76efcbebcca); } @@ -408,15 +364,11 @@ pub struct IAppInstallManager6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManager7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManager7 { type Vtable = IAppInstallManager7_Vtbl; } -impl ::core::clone::Clone for IAppInstallManager7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManager7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5ee7b30_d5e4_49a3_9853_3db03203321d); } @@ -428,15 +380,11 @@ pub struct IAppInstallManager7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallManagerItemEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallManagerItemEventArgs { type Vtable = IAppInstallManagerItemEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppInstallManagerItemEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallManagerItemEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc505743_4674_4dd1_957e_c25682086a14); } @@ -448,15 +396,11 @@ pub struct IAppInstallManagerItemEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallOptions { type Vtable = IAppInstallOptions_Vtbl; } -impl ::core::clone::Clone for IAppInstallOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9808300_1cb8_4eb6_8c9f_6a30c64a5b51); } @@ -485,15 +429,11 @@ pub struct IAppInstallOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallOptions2 { type Vtable = IAppInstallOptions2_Vtbl; } -impl ::core::clone::Clone for IAppInstallOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a04c0d7_c94b_425e_95b4_bf27faeaee89); } @@ -522,15 +462,11 @@ pub struct IAppInstallOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallStatus { type Vtable = IAppInstallStatus_Vtbl; } -impl ::core::clone::Clone for IAppInstallStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x936dccfa_2450_4126_88b1_6127a644dd5c); } @@ -546,15 +482,11 @@ pub struct IAppInstallStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallStatus2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallStatus2 { type Vtable = IAppInstallStatus2_Vtbl; } -impl ::core::clone::Clone for IAppInstallStatus2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallStatus2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96e7818a_5e92_4aa9_8edc_58fed4b87e00); } @@ -570,15 +502,11 @@ pub struct IAppInstallStatus2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallStatus3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallStatus3 { type Vtable = IAppInstallStatus3_Vtbl; } -impl ::core::clone::Clone for IAppInstallStatus3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallStatus3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb880c56_837b_4b4c_9ebb_6d44a0a96307); } @@ -590,15 +518,11 @@ pub struct IAppInstallStatus3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUpdateOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUpdateOptions { type Vtable = IAppUpdateOptions_Vtbl; } -impl ::core::clone::Clone for IAppUpdateOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUpdateOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26f0b02f_c2f3_4aea_af8c_6308dd9db85f); } @@ -613,15 +537,11 @@ pub struct IAppUpdateOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUpdateOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUpdateOptions2 { type Vtable = IAppUpdateOptions2_Vtbl; } -impl ::core::clone::Clone for IAppUpdateOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUpdateOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4646e08_ed26_4bf9_9679_48f628e53df8); } @@ -634,15 +554,11 @@ pub struct IAppUpdateOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetEntitlementResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGetEntitlementResult { type Vtable = IGetEntitlementResult_Vtbl; } -impl ::core::clone::Clone for IGetEntitlementResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetEntitlementResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74fc843f_1a9e_4609_8e4d_819086d08a3d); } @@ -654,6 +570,7 @@ pub struct IGetEntitlementResult_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallItem(::windows_core::IUnknown); impl AppInstallItem { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -834,25 +751,9 @@ impl AppInstallItem { unsafe { (::windows_core::Interface::vtable(this).SetInstallInProgressToastNotificationMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AppInstallItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallItem {} -impl ::core::fmt::Debug for AppInstallItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem;{49d3dfab-168a-4cbf-a93a-9e448c82737d})"); } -impl ::core::clone::Clone for AppInstallItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallItem { type Vtable = IAppInstallItem_Vtbl; } @@ -867,6 +768,7 @@ unsafe impl ::core::marker::Send for AppInstallItem {} unsafe impl ::core::marker::Sync for AppInstallItem {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallManager(::windows_core::IUnknown); impl AppInstallManager { pub fn new() -> ::windows_core::Result { @@ -1307,25 +1209,9 @@ impl AppInstallManager { } } } -impl ::core::cmp::PartialEq for AppInstallManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallManager {} -impl ::core::fmt::Debug for AppInstallManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager;{9353e170-8441-4b45-bd72-7c2fa925beee})"); } -impl ::core::clone::Clone for AppInstallManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallManager { type Vtable = IAppInstallManager_Vtbl; } @@ -1340,6 +1226,7 @@ unsafe impl ::core::marker::Send for AppInstallManager {} unsafe impl ::core::marker::Sync for AppInstallManager {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallManagerItemEventArgs(::windows_core::IUnknown); impl AppInstallManagerItemEventArgs { pub fn Item(&self) -> ::windows_core::Result { @@ -1350,25 +1237,9 @@ impl AppInstallManagerItemEventArgs { } } } -impl ::core::cmp::PartialEq for AppInstallManagerItemEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallManagerItemEventArgs {} -impl ::core::fmt::Debug for AppInstallManagerItemEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallManagerItemEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallManagerItemEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs;{bc505743-4674-4dd1-957e-c25682086a14})"); } -impl ::core::clone::Clone for AppInstallManagerItemEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallManagerItemEventArgs { type Vtable = IAppInstallManagerItemEventArgs_Vtbl; } @@ -1383,6 +1254,7 @@ unsafe impl ::core::marker::Send for AppInstallManagerItemEventArgs {} unsafe impl ::core::marker::Sync for AppInstallManagerItemEventArgs {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallOptions(::windows_core::IUnknown); impl AppInstallOptions { pub fn new() -> ::windows_core::Result { @@ -1565,25 +1437,9 @@ impl AppInstallOptions { unsafe { (::windows_core::Interface::vtable(this).SetExtendedCampaignId)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for AppInstallOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallOptions {} -impl ::core::fmt::Debug for AppInstallOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions;{c9808300-1cb8-4eb6-8c9f-6a30c64a5b51})"); } -impl ::core::clone::Clone for AppInstallOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallOptions { type Vtable = IAppInstallOptions_Vtbl; } @@ -1598,6 +1454,7 @@ unsafe impl ::core::marker::Send for AppInstallOptions {} unsafe impl ::core::marker::Sync for AppInstallOptions {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallStatus(::windows_core::IUnknown); impl AppInstallStatus { pub fn InstallState(&self) -> ::windows_core::Result { @@ -1659,25 +1516,9 @@ impl AppInstallStatus { } } } -impl ::core::cmp::PartialEq for AppInstallStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallStatus {} -impl ::core::fmt::Debug for AppInstallStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus;{936dccfa-2450-4126-88b1-6127a644dd5c})"); } -impl ::core::clone::Clone for AppInstallStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallStatus { type Vtable = IAppInstallStatus_Vtbl; } @@ -1692,6 +1533,7 @@ unsafe impl ::core::marker::Send for AppInstallStatus {} unsafe impl ::core::marker::Sync for AppInstallStatus {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppUpdateOptions(::windows_core::IUnknown); impl AppUpdateOptions { pub fn new() -> ::windows_core::Result { @@ -1735,25 +1577,9 @@ impl AppUpdateOptions { unsafe { (::windows_core::Interface::vtable(this).SetAutomaticallyDownloadAndInstallUpdateIfFound)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AppUpdateOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppUpdateOptions {} -impl ::core::fmt::Debug for AppUpdateOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppUpdateOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppUpdateOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions;{26f0b02f-c2f3-4aea-af8c-6308dd9db85f})"); } -impl ::core::clone::Clone for AppUpdateOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppUpdateOptions { type Vtable = IAppUpdateOptions_Vtbl; } @@ -1768,6 +1594,7 @@ unsafe impl ::core::marker::Send for AppUpdateOptions {} unsafe impl ::core::marker::Sync for AppUpdateOptions {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview_InstallControl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GetEntitlementResult(::windows_core::IUnknown); impl GetEntitlementResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1778,25 +1605,9 @@ impl GetEntitlementResult { } } } -impl ::core::cmp::PartialEq for GetEntitlementResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GetEntitlementResult {} -impl ::core::fmt::Debug for GetEntitlementResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GetEntitlementResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GetEntitlementResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult;{74fc843f-1a9e-4609-8e4d-819086d08a3d})"); } -impl ::core::clone::Clone for GetEntitlementResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GetEntitlementResult { type Vtable = IGetEntitlementResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs index dd96758b6d..020971cd07 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -2,15 +2,11 @@ pub mod InstallControl; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeliveryOptimizationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeliveryOptimizationSettings { type Vtable = IDeliveryOptimizationSettings_Vtbl; } -impl ::core::clone::Clone for IDeliveryOptimizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeliveryOptimizationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1810fda0_e853_565e_b874_7a8a7b9a0e0f); } @@ -23,15 +19,11 @@ pub struct IDeliveryOptimizationSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeliveryOptimizationSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeliveryOptimizationSettingsStatics { type Vtable = IDeliveryOptimizationSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IDeliveryOptimizationSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeliveryOptimizationSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c817caf_aed5_5999_b4c9_8c60898bc4f3); } @@ -43,15 +35,11 @@ pub struct IDeliveryOptimizationSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConfigurationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConfigurationStatics { type Vtable = IStoreConfigurationStatics_Vtbl; } -impl ::core::clone::Clone for IStoreConfigurationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConfigurationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728f7fc0_8628_42ec_84a2_07780eb44d8b); } @@ -74,15 +62,11 @@ pub struct IStoreConfigurationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConfigurationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConfigurationStatics2 { type Vtable = IStoreConfigurationStatics2_Vtbl; } -impl ::core::clone::Clone for IStoreConfigurationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConfigurationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x657c4595_c8b7_4fe9_9f4c_4d71027d347e); } @@ -101,15 +85,11 @@ pub struct IStoreConfigurationStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConfigurationStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConfigurationStatics3 { type Vtable = IStoreConfigurationStatics3_Vtbl; } -impl ::core::clone::Clone for IStoreConfigurationStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConfigurationStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d45f57c_f144_4cb5_9d3f_4eb05e30b6d3); } @@ -145,15 +125,11 @@ pub struct IStoreConfigurationStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConfigurationStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConfigurationStatics4 { type Vtable = IStoreConfigurationStatics4_Vtbl; } -impl ::core::clone::Clone for IStoreConfigurationStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConfigurationStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20ff56d2_4ee3_4cf0_9b12_552c03310f75); } @@ -184,15 +160,11 @@ pub struct IStoreConfigurationStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConfigurationStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConfigurationStatics5 { type Vtable = IStoreConfigurationStatics5_Vtbl; } -impl ::core::clone::Clone for IStoreConfigurationStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConfigurationStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7613191_8fa9_49db_822b_0160e7e4e5c5); } @@ -211,15 +183,11 @@ pub struct IStoreConfigurationStatics5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreHardwareManufacturerInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreHardwareManufacturerInfo { type Vtable = IStoreHardwareManufacturerInfo_Vtbl; } -impl ::core::clone::Clone for IStoreHardwareManufacturerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreHardwareManufacturerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf292dc08_c654_43ac_a21f_34801c9d3388); } @@ -234,15 +202,11 @@ pub struct IStoreHardwareManufacturerInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePreview { type Vtable = IStorePreview_Vtbl; } -impl ::core::clone::Clone for IStorePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a157241_840e_49a9_bc01_5d5b01fbc8e9); } @@ -261,15 +225,11 @@ pub struct IStorePreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePreviewProductInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePreviewProductInfo { type Vtable = IStorePreviewProductInfo_Vtbl; } -impl ::core::clone::Clone for IStorePreviewProductInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePreviewProductInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1937dbb3_6c01_4c9d_85cd_5babaac2b351); } @@ -288,15 +248,11 @@ pub struct IStorePreviewProductInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePreviewPurchaseResults(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePreviewPurchaseResults { type Vtable = IStorePreviewPurchaseResults_Vtbl; } -impl ::core::clone::Clone for IStorePreviewPurchaseResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePreviewPurchaseResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0daaed1_d6c5_4e53_a043_fba0d8e61231); } @@ -308,15 +264,11 @@ pub struct IStorePreviewPurchaseResults_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePreviewSkuInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePreviewSkuInfo { type Vtable = IStorePreviewSkuInfo_Vtbl; } -impl ::core::clone::Clone for IStorePreviewSkuInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePreviewSkuInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81fd76e2_0b26_48d9_98ce_27461c669d6c); } @@ -336,15 +288,11 @@ pub struct IStorePreviewSkuInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerHelper(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerHelper { type Vtable = IWebAuthenticationCoreManagerHelper_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06a50525_e715_4123_9276_9d6f865ba55f); } @@ -363,6 +311,7 @@ pub struct IWebAuthenticationCoreManagerHelper_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeliveryOptimizationSettings(::windows_core::IUnknown); impl DeliveryOptimizationSettings { pub fn DownloadMode(&self) -> ::windows_core::Result { @@ -391,25 +340,9 @@ impl DeliveryOptimizationSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DeliveryOptimizationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeliveryOptimizationSettings {} -impl ::core::fmt::Debug for DeliveryOptimizationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeliveryOptimizationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeliveryOptimizationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.DeliveryOptimizationSettings;{1810fda0-e853-565e-b874-7a8a7b9a0e0f})"); } -impl ::core::clone::Clone for DeliveryOptimizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeliveryOptimizationSettings { type Vtable = IDeliveryOptimizationSettings_Vtbl; } @@ -661,6 +594,7 @@ impl ::windows_core::RuntimeName for StoreConfiguration { } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreHardwareManufacturerInfo(::windows_core::IUnknown); impl StoreHardwareManufacturerInfo { pub fn HardwareManufacturerId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -692,25 +626,9 @@ impl StoreHardwareManufacturerInfo { } } } -impl ::core::cmp::PartialEq for StoreHardwareManufacturerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreHardwareManufacturerInfo {} -impl ::core::fmt::Debug for StoreHardwareManufacturerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreHardwareManufacturerInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreHardwareManufacturerInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StoreHardwareManufacturerInfo;{f292dc08-c654-43ac-a21f-34801c9d3388})"); } -impl ::core::clone::Clone for StoreHardwareManufacturerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreHardwareManufacturerInfo { type Vtable = IStoreHardwareManufacturerInfo_Vtbl; } @@ -753,6 +671,7 @@ impl ::windows_core::RuntimeName for StorePreview { } #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePreviewProductInfo(::windows_core::IUnknown); impl StorePreviewProductInfo { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -793,25 +712,9 @@ impl StorePreviewProductInfo { } } } -impl ::core::cmp::PartialEq for StorePreviewProductInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePreviewProductInfo {} -impl ::core::fmt::Debug for StorePreviewProductInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePreviewProductInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePreviewProductInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewProductInfo;{1937dbb3-6c01-4c9d-85cd-5babaac2b351})"); } -impl ::core::clone::Clone for StorePreviewProductInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePreviewProductInfo { type Vtable = IStorePreviewProductInfo_Vtbl; } @@ -826,6 +729,7 @@ unsafe impl ::core::marker::Send for StorePreviewProductInfo {} unsafe impl ::core::marker::Sync for StorePreviewProductInfo {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePreviewPurchaseResults(::windows_core::IUnknown); impl StorePreviewPurchaseResults { pub fn ProductPurchaseStatus(&self) -> ::windows_core::Result { @@ -836,25 +740,9 @@ impl StorePreviewPurchaseResults { } } } -impl ::core::cmp::PartialEq for StorePreviewPurchaseResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePreviewPurchaseResults {} -impl ::core::fmt::Debug for StorePreviewPurchaseResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePreviewPurchaseResults").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePreviewPurchaseResults { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewPurchaseResults;{b0daaed1-d6c5-4e53-a043-fba0d8e61231})"); } -impl ::core::clone::Clone for StorePreviewPurchaseResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePreviewPurchaseResults { type Vtable = IStorePreviewPurchaseResults_Vtbl; } @@ -869,6 +757,7 @@ unsafe impl ::core::marker::Send for StorePreviewPurchaseResults {} unsafe impl ::core::marker::Sync for StorePreviewPurchaseResults {} #[doc = "*Required features: `\"ApplicationModel_Store_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePreviewSkuInfo(::windows_core::IUnknown); impl StorePreviewSkuInfo { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -935,25 +824,9 @@ impl StorePreviewSkuInfo { } } } -impl ::core::cmp::PartialEq for StorePreviewSkuInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePreviewSkuInfo {} -impl ::core::fmt::Debug for StorePreviewSkuInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePreviewSkuInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePreviewSkuInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.Preview.StorePreviewSkuInfo;{81fd76e2-0b26-48d9-98ce-27461c669d6c})"); } -impl ::core::clone::Clone for StorePreviewSkuInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePreviewSkuInfo { type Vtable = IStorePreviewSkuInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index ef6b3608a3..a2744dd5ca 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -4,15 +4,11 @@ pub mod LicenseManagement; pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentApp { type Vtable = ICurrentApp_Vtbl; } -impl ::core::clone::Clone for ICurrentApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd52dc065_da3f_4685_995e_9b482eb5e603); } @@ -49,15 +45,11 @@ pub struct ICurrentApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentApp2Statics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentApp2Statics { type Vtable = ICurrentApp2Statics_Vtbl; } -impl ::core::clone::Clone for ICurrentApp2Statics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentApp2Statics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf4e6e2d_3171_4ad3_8614_2c61244373cb); } @@ -76,15 +68,11 @@ pub struct ICurrentApp2Statics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppSimulator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppSimulator { type Vtable = ICurrentAppSimulator_Vtbl; } -impl ::core::clone::Clone for ICurrentAppSimulator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppSimulator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf17f9db1_74cd_4787_9787_19866e9a5559); } @@ -125,15 +113,11 @@ pub struct ICurrentAppSimulator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppSimulatorStaticsWithFiltering(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppSimulatorStaticsWithFiltering { type Vtable = ICurrentAppSimulatorStaticsWithFiltering_Vtbl; } -impl ::core::clone::Clone for ICurrentAppSimulatorStaticsWithFiltering { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppSimulatorStaticsWithFiltering { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x617e70e2_f86f_4b54_9666_dde285092c68); } @@ -152,15 +136,11 @@ pub struct ICurrentAppSimulatorStaticsWithFiltering_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppSimulatorWithCampaignId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppSimulatorWithCampaignId { type Vtable = ICurrentAppSimulatorWithCampaignId_Vtbl; } -impl ::core::clone::Clone for ICurrentAppSimulatorWithCampaignId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppSimulatorWithCampaignId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84678a43_df00_4672_a43f_b25b1441cfcf); } @@ -175,15 +155,11 @@ pub struct ICurrentAppSimulatorWithCampaignId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppSimulatorWithConsumables(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppSimulatorWithConsumables { type Vtable = ICurrentAppSimulatorWithConsumables_Vtbl; } -impl ::core::clone::Clone for ICurrentAppSimulatorWithConsumables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppSimulatorWithConsumables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e51f0ab_20e7_4412_9b85_59bb78388667); } @@ -210,15 +186,11 @@ pub struct ICurrentAppSimulatorWithConsumables_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppStaticsWithFiltering(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppStaticsWithFiltering { type Vtable = ICurrentAppStaticsWithFiltering_Vtbl; } -impl ::core::clone::Clone for ICurrentAppStaticsWithFiltering { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppStaticsWithFiltering { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd36d6542_9085_438e_97ba_a25c976be2fd); } @@ -238,15 +210,11 @@ pub struct ICurrentAppStaticsWithFiltering_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppWithCampaignId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppWithCampaignId { type Vtable = ICurrentAppWithCampaignId_Vtbl; } -impl ::core::clone::Clone for ICurrentAppWithCampaignId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppWithCampaignId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x312f4cd0_36c1_44a6_b32b_432d608e4dd6); } @@ -261,15 +229,11 @@ pub struct ICurrentAppWithCampaignId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentAppWithConsumables(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentAppWithConsumables { type Vtable = ICurrentAppWithConsumables_Vtbl; } -impl ::core::clone::Clone for ICurrentAppWithConsumables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentAppWithConsumables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x844e0071_9e4f_4f79_995a_5f91172e6cef); } @@ -296,15 +260,11 @@ pub struct ICurrentAppWithConsumables_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILicenseInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILicenseInformation { type Vtable = ILicenseInformation_Vtbl; } -impl ::core::clone::Clone for ILicenseInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILicenseInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8eb7dc30_f170_4ed5_8e21_1516da3fd367); } @@ -333,15 +293,11 @@ pub struct ILicenseInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IListingInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IListingInformation { type Vtable = IListingInformation_Vtbl; } -impl ::core::clone::Clone for IListingInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IListingInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x588b4abf_bc74_4383_b78c_99606323dece); } @@ -361,15 +317,11 @@ pub struct IListingInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IListingInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IListingInformation2 { type Vtable = IListingInformation2_Vtbl; } -impl ::core::clone::Clone for IListingInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IListingInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0fd2c1d_b30e_4384_84ea_72fefa82223e); } @@ -387,15 +339,11 @@ pub struct IListingInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductLicense(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductLicense { type Vtable = IProductLicense_Vtbl; } -impl ::core::clone::Clone for IProductLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductLicense { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x363308c7_2bcf_4c0e_8f2f_e808aaa8f99d); } @@ -412,15 +360,11 @@ pub struct IProductLicense_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductLicenseWithFulfillment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductLicenseWithFulfillment { type Vtable = IProductLicenseWithFulfillment_Vtbl; } -impl ::core::clone::Clone for IProductLicenseWithFulfillment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductLicenseWithFulfillment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc535c8a_f667_40f3_ba3c_045a63abb3ac); } @@ -432,15 +376,11 @@ pub struct IProductLicenseWithFulfillment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductListing(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductListing { type Vtable = IProductListing_Vtbl; } -impl ::core::clone::Clone for IProductListing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductListing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45a7d6ad_c750_4d9c_947c_b00dcbf9e9c2); } @@ -454,15 +394,11 @@ pub struct IProductListing_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductListing2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductListing2 { type Vtable = IProductListing2_Vtbl; } -impl ::core::clone::Clone for IProductListing2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductListing2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf89e290f_73fe_494d_a939_08a9b2495abe); } @@ -480,15 +416,11 @@ pub struct IProductListing2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductListingWithConsumables(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductListingWithConsumables { type Vtable = IProductListingWithConsumables_Vtbl; } -impl ::core::clone::Clone for IProductListingWithConsumables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductListingWithConsumables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb9e9790_8f6b_481f_93a7_5c3a63068149); } @@ -500,15 +432,11 @@ pub struct IProductListingWithConsumables_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductListingWithMetadata(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductListingWithMetadata { type Vtable = IProductListingWithMetadata_Vtbl; } -impl ::core::clone::Clone for IProductListingWithMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductListingWithMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x124da567_23f8_423e_9532_189943c40ace); } @@ -530,15 +458,11 @@ pub struct IProductListingWithMetadata_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductPurchaseDisplayProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductPurchaseDisplayProperties { type Vtable = IProductPurchaseDisplayProperties_Vtbl; } -impl ::core::clone::Clone for IProductPurchaseDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductPurchaseDisplayProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd70b7420_bc92_401b_a809_c9b2e5dbbdaf); } @@ -561,15 +485,11 @@ pub struct IProductPurchaseDisplayProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProductPurchaseDisplayPropertiesFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProductPurchaseDisplayPropertiesFactory { type Vtable = IProductPurchaseDisplayPropertiesFactory_Vtbl; } -impl ::core::clone::Clone for IProductPurchaseDisplayPropertiesFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProductPurchaseDisplayPropertiesFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f491df4_32d6_4b40_b474_b83038a4d9cf); } @@ -581,15 +501,11 @@ pub struct IProductPurchaseDisplayPropertiesFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPurchaseResults(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPurchaseResults { type Vtable = IPurchaseResults_Vtbl; } -impl ::core::clone::Clone for IPurchaseResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPurchaseResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed50b37e_8656_4f65_b8c8_ac7e0cb1a1c2); } @@ -604,15 +520,11 @@ pub struct IPurchaseResults_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnfulfilledConsumable(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnfulfilledConsumable { type Vtable = IUnfulfilledConsumable_Vtbl; } -impl ::core::clone::Clone for IUnfulfilledConsumable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnfulfilledConsumable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2df7fbbb_1cdd_4cb8_a014_7b9cf8986927); } @@ -965,6 +877,7 @@ impl ::windows_core::RuntimeName for CurrentAppSimulator { } #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LicenseInformation(::windows_core::IUnknown); impl LicenseInformation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1018,25 +931,9 @@ impl LicenseInformation { unsafe { (::windows_core::Interface::vtable(this).RemoveLicenseChanged)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for LicenseInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LicenseInformation {} -impl ::core::fmt::Debug for LicenseInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LicenseInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LicenseInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.LicenseInformation;{8eb7dc30-f170-4ed5-8e21-1516da3fd367})"); } -impl ::core::clone::Clone for LicenseInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LicenseInformation { type Vtable = ILicenseInformation_Vtbl; } @@ -1051,6 +948,7 @@ unsafe impl ::core::marker::Send for LicenseInformation {} unsafe impl ::core::marker::Sync for LicenseInformation {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ListingInformation(::windows_core::IUnknown); impl ListingInformation { pub fn CurrentMarket(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1128,25 +1026,9 @@ impl ListingInformation { } } } -impl ::core::cmp::PartialEq for ListingInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ListingInformation {} -impl ::core::fmt::Debug for ListingInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ListingInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ListingInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ListingInformation;{588b4abf-bc74-4383-b78c-99606323dece})"); } -impl ::core::clone::Clone for ListingInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ListingInformation { type Vtable = IListingInformation_Vtbl; } @@ -1161,6 +1043,7 @@ unsafe impl ::core::marker::Send for ListingInformation {} unsafe impl ::core::marker::Sync for ListingInformation {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProductLicense(::windows_core::IUnknown); impl ProductLicense { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1194,25 +1077,9 @@ impl ProductLicense { } } } -impl ::core::cmp::PartialEq for ProductLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProductLicense {} -impl ::core::fmt::Debug for ProductLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProductLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProductLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductLicense;{363308c7-2bcf-4c0e-8f2f-e808aaa8f99d})"); } -impl ::core::clone::Clone for ProductLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProductLicense { type Vtable = IProductLicense_Vtbl; } @@ -1227,6 +1094,7 @@ unsafe impl ::core::marker::Send for ProductLicense {} unsafe impl ::core::marker::Sync for ProductLicense {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProductListing(::windows_core::IUnknown); impl ProductListing { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1320,25 +1188,9 @@ impl ProductListing { } } } -impl ::core::cmp::PartialEq for ProductListing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProductListing {} -impl ::core::fmt::Debug for ProductListing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProductListing").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProductListing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductListing;{45a7d6ad-c750-4d9c-947c-b00dcbf9e9c2})"); } -impl ::core::clone::Clone for ProductListing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProductListing { type Vtable = IProductListing_Vtbl; } @@ -1353,6 +1205,7 @@ unsafe impl ::core::marker::Send for ProductListing {} unsafe impl ::core::marker::Sync for ProductListing {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProductPurchaseDisplayProperties(::windows_core::IUnknown); impl ProductPurchaseDisplayProperties { pub fn new() -> ::windows_core::Result { @@ -1414,25 +1267,9 @@ impl ProductPurchaseDisplayProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProductPurchaseDisplayProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProductPurchaseDisplayProperties {} -impl ::core::fmt::Debug for ProductPurchaseDisplayProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProductPurchaseDisplayProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProductPurchaseDisplayProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.ProductPurchaseDisplayProperties;{d70b7420-bc92-401b-a809-c9b2e5dbbdaf})"); } -impl ::core::clone::Clone for ProductPurchaseDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProductPurchaseDisplayProperties { type Vtable = IProductPurchaseDisplayProperties_Vtbl; } @@ -1447,6 +1284,7 @@ unsafe impl ::core::marker::Send for ProductPurchaseDisplayProperties {} unsafe impl ::core::marker::Sync for ProductPurchaseDisplayProperties {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PurchaseResults(::windows_core::IUnknown); impl PurchaseResults { pub fn Status(&self) -> ::windows_core::Result { @@ -1478,25 +1316,9 @@ impl PurchaseResults { } } } -impl ::core::cmp::PartialEq for PurchaseResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PurchaseResults {} -impl ::core::fmt::Debug for PurchaseResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PurchaseResults").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PurchaseResults { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.PurchaseResults;{ed50b37e-8656-4f65-b8c8-ac7e0cb1a1c2})"); } -impl ::core::clone::Clone for PurchaseResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PurchaseResults { type Vtable = IPurchaseResults_Vtbl; } @@ -1511,6 +1333,7 @@ unsafe impl ::core::marker::Send for PurchaseResults {} unsafe impl ::core::marker::Sync for PurchaseResults {} #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnfulfilledConsumable(::windows_core::IUnknown); impl UnfulfilledConsumable { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1535,25 +1358,9 @@ impl UnfulfilledConsumable { } } } -impl ::core::cmp::PartialEq for UnfulfilledConsumable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UnfulfilledConsumable {} -impl ::core::fmt::Debug for UnfulfilledConsumable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnfulfilledConsumable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UnfulfilledConsumable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Store.UnfulfilledConsumable;{2df7fbbb-1cdd-4cb8-a014-7b9cf8986927})"); } -impl ::core::clone::Clone for UnfulfilledConsumable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UnfulfilledConsumable { type Vtable = IUnfulfilledConsumable_Vtbl; } @@ -1664,6 +1471,7 @@ impl ::windows_core::RuntimeType for ProductType { } #[doc = "*Required features: `\"ApplicationModel_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LicenseChangedEventHandler(pub ::windows_core::IUnknown); impl LicenseChangedEventHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1686,9 +1494,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1713,25 +1524,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for LicenseChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LicenseChangedEventHandler {} -impl ::core::fmt::Debug for LicenseChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LicenseChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for LicenseChangedEventHandler { type Vtable = LicenseChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for LicenseChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for LicenseChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4a50255_1369_4c36_832f_6f2d88e3659b); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs index 03fdef8e8e..885f8e89a6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreUserActivityManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreUserActivityManagerStatics { type Vtable = ICoreUserActivityManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICoreUserActivityManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreUserActivityManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca3adb02_a4be_4d4d_bfa8_6795f4264efb); } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs index 4b08ae2720..d4f9b2fb81 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs @@ -21,7 +21,7 @@ impl IUserActivityContentInfo_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index aa60f26b6c..7f427a87f8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivity { type Vtable = IUserActivity_Vtbl; } -impl ::core::clone::Clone for IUserActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc103e9e_2cab_4d36_aea2_b4bb556cef0f); } @@ -57,15 +53,11 @@ pub struct IUserActivity_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivity2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivity2 { type Vtable = IUserActivity2_Vtbl; } -impl ::core::clone::Clone for IUserActivity2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivity2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dc40c62_08c4_47ac_aa9c_2bb2221c55fd); } @@ -77,15 +69,11 @@ pub struct IUserActivity2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivity3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivity3 { type Vtable = IUserActivity3_Vtbl; } -impl ::core::clone::Clone for IUserActivity3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivity3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7697744_e1a2_5147_8e06_55f1eeef271c); } @@ -98,15 +86,11 @@ pub struct IUserActivity3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityAttribution(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityAttribution { type Vtable = IUserActivityAttribution_Vtbl; } -impl ::core::clone::Clone for IUserActivityAttribution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityAttribution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34a5c8b5_86dd_4aec_a491_6a4faea5d22e); } @@ -129,15 +113,11 @@ pub struct IUserActivityAttribution_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityAttributionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityAttributionFactory { type Vtable = IUserActivityAttributionFactory_Vtbl; } -impl ::core::clone::Clone for IUserActivityAttributionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityAttributionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe62bd252_c566_4f42_9974_916c4d76377e); } @@ -152,15 +132,11 @@ pub struct IUserActivityAttributionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityChannel { type Vtable = IUserActivityChannel_Vtbl; } -impl ::core::clone::Clone for IUserActivityChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbac0f8b8_a0e4_483b_b948_9cbabd06070c); } @@ -183,15 +159,11 @@ pub struct IUserActivityChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityChannel2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityChannel2 { type Vtable = IUserActivityChannel2_Vtbl; } -impl ::core::clone::Clone for IUserActivityChannel2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityChannel2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1698e35b_eb7e_4ea0_bf17_a459e8be706c); } @@ -210,15 +182,11 @@ pub struct IUserActivityChannel2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityChannelStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityChannelStatics { type Vtable = IUserActivityChannelStatics_Vtbl; } -impl ::core::clone::Clone for IUserActivityChannelStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityChannelStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8c005ab_198d_4d80_abb2_c9775ec4a729); } @@ -230,15 +198,11 @@ pub struct IUserActivityChannelStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityChannelStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityChannelStatics2 { type Vtable = IUserActivityChannelStatics2_Vtbl; } -impl ::core::clone::Clone for IUserActivityChannelStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityChannelStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e87de30_aa4f_4624_9ad0_d40f3ba0317c); } @@ -254,15 +218,11 @@ pub struct IUserActivityChannelStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityChannelStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityChannelStatics3 { type Vtable = IUserActivityChannelStatics3_Vtbl; } -impl ::core::clone::Clone for IUserActivityChannelStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityChannelStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53bc4ddb_bbdf_5984_802a_5305874e205c); } @@ -277,6 +237,7 @@ pub struct IUserActivityChannelStatics3_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityContentInfo(::windows_core::IUnknown); impl IUserActivityContentInfo { pub fn ToJson(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -288,28 +249,12 @@ impl IUserActivityContentInfo { } } ::windows_core::imp::interface_hierarchy!(IUserActivityContentInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserActivityContentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserActivityContentInfo {} -impl ::core::fmt::Debug for IUserActivityContentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserActivityContentInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IUserActivityContentInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b399e5ad-137f-409d-822d-e1af27ce08dc}"); } unsafe impl ::windows_core::Interface for IUserActivityContentInfo { type Vtable = IUserActivityContentInfo_Vtbl; } -impl ::core::clone::Clone for IUserActivityContentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityContentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb399e5ad_137f_409d_822d_e1af27ce08dc); } @@ -321,15 +266,11 @@ pub struct IUserActivityContentInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityContentInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityContentInfoStatics { type Vtable = IUserActivityContentInfoStatics_Vtbl; } -impl ::core::clone::Clone for IUserActivityContentInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityContentInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9988c34b_0386_4bc9_968a_8200b004144f); } @@ -341,15 +282,11 @@ pub struct IUserActivityContentInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityFactory { type Vtable = IUserActivityFactory_Vtbl; } -impl ::core::clone::Clone for IUserActivityFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c385758_361d_4a67_8a3b_34ca2978f9a3); } @@ -361,15 +298,11 @@ pub struct IUserActivityFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityRequest { type Vtable = IUserActivityRequest_Vtbl; } -impl ::core::clone::Clone for IUserActivityRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0ef6355_cf35_4ff0_8833_50cb4b72e06d); } @@ -381,15 +314,11 @@ pub struct IUserActivityRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityRequestManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityRequestManager { type Vtable = IUserActivityRequestManager_Vtbl; } -impl ::core::clone::Clone for IUserActivityRequestManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityRequestManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c30be4e_903d_48d6_82d4_4043ed57791b); } @@ -408,15 +337,11 @@ pub struct IUserActivityRequestManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityRequestManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityRequestManagerStatics { type Vtable = IUserActivityRequestManagerStatics_Vtbl; } -impl ::core::clone::Clone for IUserActivityRequestManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityRequestManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0392df1_224a_432c_81e5_0c76b4c4cefa); } @@ -428,15 +353,11 @@ pub struct IUserActivityRequestManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityRequestedEventArgs { type Vtable = IUserActivityRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserActivityRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4cc7a4c_8229_4cfd_a3bc_c61d318575a4); } @@ -452,15 +373,11 @@ pub struct IUserActivityRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivitySession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivitySession { type Vtable = IUserActivitySession_Vtbl; } -impl ::core::clone::Clone for IUserActivitySession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivitySession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae434d78_24fa_44a3_ad48_6eda61aa1924); } @@ -472,15 +389,11 @@ pub struct IUserActivitySession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivitySessionHistoryItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivitySessionHistoryItem { type Vtable = IUserActivitySessionHistoryItem_Vtbl; } -impl ::core::clone::Clone for IUserActivitySessionHistoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivitySessionHistoryItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8d59bd3_3e5d_49fd_98d7_6da97521e255); } @@ -500,15 +413,11 @@ pub struct IUserActivitySessionHistoryItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityStatics { type Vtable = IUserActivityStatics_Vtbl; } -impl ::core::clone::Clone for IUserActivityStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c8fd333_0e09_47f6_9ac7_95cf5c39367b); } @@ -528,15 +437,11 @@ pub struct IUserActivityStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityVisualElements(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityVisualElements { type Vtable = IUserActivityVisualElements_Vtbl; } -impl ::core::clone::Clone for IUserActivityVisualElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityVisualElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94757513_262f_49ef_bbbf_9b75d2e85250); } @@ -569,15 +474,11 @@ pub struct IUserActivityVisualElements_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityVisualElements2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserActivityVisualElements2 { type Vtable = IUserActivityVisualElements2_Vtbl; } -impl ::core::clone::Clone for IUserActivityVisualElements2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityVisualElements2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaae7fc7_3eef_4359_825c_9d51b9220de3); } @@ -590,6 +491,7 @@ pub struct IUserActivityVisualElements2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivity(::windows_core::IUnknown); impl UserActivity { pub fn State(&self) -> ::windows_core::Result { @@ -768,25 +670,9 @@ impl UserActivity { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivity {} -impl ::core::fmt::Debug for UserActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivity;{fc103e9e-2cab-4d36-aea2-b4bb556cef0f})"); } -impl ::core::clone::Clone for UserActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivity { type Vtable = IUserActivity_Vtbl; } @@ -801,6 +687,7 @@ unsafe impl ::core::marker::Send for UserActivity {} unsafe impl ::core::marker::Sync for UserActivity {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityAttribution(::windows_core::IUnknown); impl UserActivityAttribution { pub fn new() -> ::windows_core::Result { @@ -867,25 +754,9 @@ impl UserActivityAttribution { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserActivityAttribution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityAttribution {} -impl ::core::fmt::Debug for UserActivityAttribution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityAttribution").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityAttribution { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityAttribution;{34a5c8b5-86dd-4aec-a491-6a4faea5d22e})"); } -impl ::core::clone::Clone for UserActivityAttribution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityAttribution { type Vtable = IUserActivityAttribution_Vtbl; } @@ -900,6 +771,7 @@ unsafe impl ::core::marker::Send for UserActivityAttribution {} unsafe impl ::core::marker::Sync for UserActivityAttribution {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityChannel(::windows_core::IUnknown); impl UserActivityChannel { #[doc = "*Required features: `\"Foundation\"`*"] @@ -994,25 +866,9 @@ impl UserActivityChannel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserActivityChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityChannel {} -impl ::core::fmt::Debug for UserActivityChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityChannel;{bac0f8b8-a0e4-483b-b948-9cbabd06070c})"); } -impl ::core::clone::Clone for UserActivityChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityChannel { type Vtable = IUserActivityChannel_Vtbl; } @@ -1027,6 +883,7 @@ unsafe impl ::core::marker::Send for UserActivityChannel {} unsafe impl ::core::marker::Sync for UserActivityChannel {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityContentInfo(::windows_core::IUnknown); impl UserActivityContentInfo { pub fn ToJson(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1048,25 +905,9 @@ impl UserActivityContentInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserActivityContentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityContentInfo {} -impl ::core::fmt::Debug for UserActivityContentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityContentInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityContentInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityContentInfo;{b399e5ad-137f-409d-822d-e1af27ce08dc})"); } -impl ::core::clone::Clone for UserActivityContentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityContentInfo { type Vtable = IUserActivityContentInfo_Vtbl; } @@ -1082,6 +923,7 @@ unsafe impl ::core::marker::Send for UserActivityContentInfo {} unsafe impl ::core::marker::Sync for UserActivityContentInfo {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityRequest(::windows_core::IUnknown); impl UserActivityRequest { pub fn SetUserActivity(&self, activity: P0) -> ::windows_core::Result<()> @@ -1092,25 +934,9 @@ impl UserActivityRequest { unsafe { (::windows_core::Interface::vtable(this).SetUserActivity)(::windows_core::Interface::as_raw(this), activity.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for UserActivityRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityRequest {} -impl ::core::fmt::Debug for UserActivityRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequest;{a0ef6355-cf35-4ff0-8833-50cb4b72e06d})"); } -impl ::core::clone::Clone for UserActivityRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityRequest { type Vtable = IUserActivityRequest_Vtbl; } @@ -1125,6 +951,7 @@ unsafe impl ::core::marker::Send for UserActivityRequest {} unsafe impl ::core::marker::Sync for UserActivityRequest {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityRequestManager(::windows_core::IUnknown); impl UserActivityRequestManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1157,25 +984,9 @@ impl UserActivityRequestManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserActivityRequestManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityRequestManager {} -impl ::core::fmt::Debug for UserActivityRequestManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityRequestManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityRequestManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestManager;{0c30be4e-903d-48d6-82d4-4043ed57791b})"); } -impl ::core::clone::Clone for UserActivityRequestManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityRequestManager { type Vtable = IUserActivityRequestManager_Vtbl; } @@ -1188,6 +999,7 @@ impl ::windows_core::RuntimeName for UserActivityRequestManager { ::windows_core::imp::interface_hierarchy!(UserActivityRequestManager, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityRequestedEventArgs(::windows_core::IUnknown); impl UserActivityRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1207,25 +1019,9 @@ impl UserActivityRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for UserActivityRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityRequestedEventArgs {} -impl ::core::fmt::Debug for UserActivityRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityRequestedEventArgs;{a4cc7a4c-8229-4cfd-a3bc-c61d318575a4})"); } -impl ::core::clone::Clone for UserActivityRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityRequestedEventArgs { type Vtable = IUserActivityRequestedEventArgs_Vtbl; } @@ -1240,6 +1036,7 @@ unsafe impl ::core::marker::Send for UserActivityRequestedEventArgs {} unsafe impl ::core::marker::Sync for UserActivityRequestedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivitySession(::windows_core::IUnknown); impl UserActivitySession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1256,25 +1053,9 @@ impl UserActivitySession { } } } -impl ::core::cmp::PartialEq for UserActivitySession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivitySession {} -impl ::core::fmt::Debug for UserActivitySession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivitySession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivitySession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySession;{ae434d78-24fa-44a3-ad48-6eda61aa1924})"); } -impl ::core::clone::Clone for UserActivitySession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivitySession { type Vtable = IUserActivitySession_Vtbl; } @@ -1291,6 +1072,7 @@ unsafe impl ::core::marker::Send for UserActivitySession {} unsafe impl ::core::marker::Sync for UserActivitySession {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivitySessionHistoryItem(::windows_core::IUnknown); impl UserActivitySessionHistoryItem { pub fn UserActivity(&self) -> ::windows_core::Result { @@ -1319,25 +1101,9 @@ impl UserActivitySessionHistoryItem { } } } -impl ::core::cmp::PartialEq for UserActivitySessionHistoryItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivitySessionHistoryItem {} -impl ::core::fmt::Debug for UserActivitySessionHistoryItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivitySessionHistoryItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivitySessionHistoryItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivitySessionHistoryItem;{e8d59bd3-3e5d-49fd-98d7-6da97521e255})"); } -impl ::core::clone::Clone for UserActivitySessionHistoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivitySessionHistoryItem { type Vtable = IUserActivitySessionHistoryItem_Vtbl; } @@ -1352,6 +1118,7 @@ unsafe impl ::core::marker::Send for UserActivitySessionHistoryItem {} unsafe impl ::core::marker::Sync for UserActivitySessionHistoryItem {} #[doc = "*Required features: `\"ApplicationModel_UserActivities\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserActivityVisualElements(::windows_core::IUnknown); impl UserActivityVisualElements { pub fn DisplayText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1435,25 +1202,9 @@ impl UserActivityVisualElements { unsafe { (::windows_core::Interface::vtable(this).SetAttributionDisplayText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for UserActivityVisualElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserActivityVisualElements {} -impl ::core::fmt::Debug for UserActivityVisualElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserActivityVisualElements").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserActivityVisualElements { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserActivities.UserActivityVisualElements;{94757513-262f-49ef-bbbf-9b75d2e85250})"); } -impl ::core::clone::Clone for UserActivityVisualElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserActivityVisualElements { type Vtable = IUserActivityVisualElements_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs index f6cf090ebd..95572e8cfd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs @@ -20,7 +20,7 @@ impl IUserDataAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs index 2c4839e060..eac8c66643 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountPartnerAccountInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountPartnerAccountInfo { type Vtable = IUserDataAccountPartnerAccountInfo_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountPartnerAccountInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountPartnerAccountInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f200037_f6ef_4ec3_8630_012c59c1149f); } @@ -22,15 +18,11 @@ pub struct IUserDataAccountPartnerAccountInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountProviderAddAccountOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountProviderAddAccountOperation { type Vtable = IUserDataAccountProviderAddAccountOperation_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountProviderAddAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountProviderAddAccountOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9c72530_3f84_4b5d_8eaa_45e97aa842ed); } @@ -47,6 +39,7 @@ pub struct IUserDataAccountProviderAddAccountOperation_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountProviderOperation(::windows_core::IUnknown); impl IUserDataAccountProviderOperation { pub fn Kind(&self) -> ::windows_core::Result { @@ -58,28 +51,12 @@ impl IUserDataAccountProviderOperation { } } ::windows_core::imp::interface_hierarchy!(IUserDataAccountProviderOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserDataAccountProviderOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserDataAccountProviderOperation {} -impl ::core::fmt::Debug for IUserDataAccountProviderOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserDataAccountProviderOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IUserDataAccountProviderOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a20aad63-888c-4a62-a3dd-34d07a802b2b}"); } unsafe impl ::windows_core::Interface for IUserDataAccountProviderOperation { type Vtable = IUserDataAccountProviderOperation_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountProviderOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountProviderOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa20aad63_888c_4a62_a3dd_34d07a802b2b); } @@ -91,15 +68,11 @@ pub struct IUserDataAccountProviderOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountProviderResolveErrorsOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountProviderResolveErrorsOperation { type Vtable = IUserDataAccountProviderResolveErrorsOperation_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountProviderResolveErrorsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountProviderResolveErrorsOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6235dc15_bfcb_41e1_9957_9759a28846cc); } @@ -112,15 +85,11 @@ pub struct IUserDataAccountProviderResolveErrorsOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountProviderSettingsOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountProviderSettingsOperation { type Vtable = IUserDataAccountProviderSettingsOperation_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountProviderSettingsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountProviderSettingsOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92034db7_8648_4f30_acfa_3002658ca80d); } @@ -133,6 +102,7 @@ pub struct IUserDataAccountProviderSettingsOperation_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountPartnerAccountInfo(::windows_core::IUnknown); impl UserDataAccountPartnerAccountInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -157,25 +127,9 @@ impl UserDataAccountPartnerAccountInfo { } } } -impl ::core::cmp::PartialEq for UserDataAccountPartnerAccountInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountPartnerAccountInfo {} -impl ::core::fmt::Debug for UserDataAccountPartnerAccountInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountPartnerAccountInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountPartnerAccountInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountPartnerAccountInfo;{5f200037-f6ef-4ec3-8630-012c59c1149f})"); } -impl ::core::clone::Clone for UserDataAccountPartnerAccountInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountPartnerAccountInfo { type Vtable = IUserDataAccountPartnerAccountInfo_Vtbl; } @@ -190,6 +144,7 @@ unsafe impl ::core::marker::Send for UserDataAccountPartnerAccountInfo {} unsafe impl ::core::marker::Sync for UserDataAccountPartnerAccountInfo {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountProviderAddAccountOperation(::windows_core::IUnknown); impl UserDataAccountProviderAddAccountOperation { pub fn ContentKinds(&self) -> ::windows_core::Result { @@ -220,25 +175,9 @@ impl UserDataAccountProviderAddAccountOperation { } } } -impl ::core::cmp::PartialEq for UserDataAccountProviderAddAccountOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountProviderAddAccountOperation {} -impl ::core::fmt::Debug for UserDataAccountProviderAddAccountOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountProviderAddAccountOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountProviderAddAccountOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderAddAccountOperation;{b9c72530-3f84-4b5d-8eaa-45e97aa842ed})"); } -impl ::core::clone::Clone for UserDataAccountProviderAddAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountProviderAddAccountOperation { type Vtable = IUserDataAccountProviderAddAccountOperation_Vtbl; } @@ -254,6 +193,7 @@ unsafe impl ::core::marker::Send for UserDataAccountProviderAddAccountOperation unsafe impl ::core::marker::Sync for UserDataAccountProviderAddAccountOperation {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountProviderResolveErrorsOperation(::windows_core::IUnknown); impl UserDataAccountProviderResolveErrorsOperation { pub fn Kind(&self) -> ::windows_core::Result { @@ -275,25 +215,9 @@ impl UserDataAccountProviderResolveErrorsOperation { unsafe { (::windows_core::Interface::vtable(this).ReportCompleted)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for UserDataAccountProviderResolveErrorsOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountProviderResolveErrorsOperation {} -impl ::core::fmt::Debug for UserDataAccountProviderResolveErrorsOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountProviderResolveErrorsOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountProviderResolveErrorsOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderResolveErrorsOperation;{6235dc15-bfcb-41e1-9957-9759a28846cc})"); } -impl ::core::clone::Clone for UserDataAccountProviderResolveErrorsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountProviderResolveErrorsOperation { type Vtable = IUserDataAccountProviderResolveErrorsOperation_Vtbl; } @@ -309,6 +233,7 @@ unsafe impl ::core::marker::Send for UserDataAccountProviderResolveErrorsOperati unsafe impl ::core::marker::Sync for UserDataAccountProviderResolveErrorsOperation {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountProviderSettingsOperation(::windows_core::IUnknown); impl UserDataAccountProviderSettingsOperation { pub fn Kind(&self) -> ::windows_core::Result { @@ -330,25 +255,9 @@ impl UserDataAccountProviderSettingsOperation { unsafe { (::windows_core::Interface::vtable(this).ReportCompleted)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for UserDataAccountProviderSettingsOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountProviderSettingsOperation {} -impl ::core::fmt::Debug for UserDataAccountProviderSettingsOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountProviderSettingsOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountProviderSettingsOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.Provider.UserDataAccountProviderSettingsOperation;{92034db7-8648-4f30-acfa-3002658ca80d})"); } -impl ::core::clone::Clone for UserDataAccountProviderSettingsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountProviderSettingsOperation { type Vtable = IUserDataAccountProviderSettingsOperation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs index 95044fefbe..ffebb8c4fd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccountConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccountConfiguration { type Vtable = IDeviceAccountConfiguration_Vtbl; } -impl ::core::clone::Clone for IDeviceAccountConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccountConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad0123a3_fbdc_4d1b_be43_5a27ea4a1b63); } @@ -51,15 +47,11 @@ pub struct IDeviceAccountConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccountConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccountConfiguration2 { type Vtable = IDeviceAccountConfiguration2_Vtbl; } -impl ::core::clone::Clone for IDeviceAccountConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccountConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2b2e5a6_728d_4a4a_8945_2bf8580136de); } @@ -150,15 +142,11 @@ pub struct IDeviceAccountConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountSystemAccessManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountSystemAccessManagerStatics { type Vtable = IUserDataAccountSystemAccessManagerStatics_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountSystemAccessManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountSystemAccessManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d6b11b9_cbe5_45f5_822b_c267b81dbdb6); } @@ -173,15 +161,11 @@ pub struct IUserDataAccountSystemAccessManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountSystemAccessManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountSystemAccessManagerStatics2 { type Vtable = IUserDataAccountSystemAccessManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountSystemAccessManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountSystemAccessManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x943f854d_4b4e_439f_83d3_979b27c05ac7); } @@ -208,6 +192,7 @@ pub struct IUserDataAccountSystemAccessManagerStatics2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts_SystemAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceAccountConfiguration(::windows_core::IUnknown); impl DeviceAccountConfiguration { pub fn new() -> ::windows_core::Result { @@ -733,25 +718,9 @@ impl DeviceAccountConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetIsSyncScheduleManagedBySystem)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DeviceAccountConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceAccountConfiguration {} -impl ::core::fmt::Debug for DeviceAccountConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceAccountConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceAccountConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.SystemAccess.DeviceAccountConfiguration;{ad0123a3-fbdc-4d1b-be43-5a27ea4a1b63})"); } -impl ::core::clone::Clone for DeviceAccountConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceAccountConfiguration { type Vtable = IDeviceAccountConfiguration_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index 549d463b0b..568f042c3e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -4,15 +4,11 @@ pub mod Provider; pub mod SystemAccess; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccount { type Vtable = IUserDataAccount_Vtbl; } -impl ::core::clone::Clone for IUserDataAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9c4367e_b348_4910_be94_4ad4bba6dea7); } @@ -58,15 +54,11 @@ pub struct IUserDataAccount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccount2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccount2 { type Vtable = IUserDataAccount2_Vtbl; } -impl ::core::clone::Clone for IUserDataAccount2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccount2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x078cd89f_de82_404b_8195_c8a3ac198f60); } @@ -79,15 +71,11 @@ pub struct IUserDataAccount2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccount3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccount3 { type Vtable = IUserDataAccount3_Vtbl; } -impl ::core::clone::Clone for IUserDataAccount3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccount3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01533845_6c43_4286_9d69_3e1709a1f266); } @@ -104,15 +92,11 @@ pub struct IUserDataAccount3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccount4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccount4 { type Vtable = IUserDataAccount4_Vtbl; } -impl ::core::clone::Clone for IUserDataAccount4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccount4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4315210_eae5_4f0a_a8b2_1cca115e008f); } @@ -146,15 +130,11 @@ pub struct IUserDataAccount4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountManagerForUser { type Vtable = IUserDataAccountManagerForUser_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a6e8db_db8f_41ab_a65f_8c5971aac982); } @@ -173,15 +153,11 @@ pub struct IUserDataAccountManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountManagerStatics { type Vtable = IUserDataAccountManagerStatics_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d9b89ea_1928_4a20_86d5_3c737f7dc3b0); } @@ -208,15 +184,11 @@ pub struct IUserDataAccountManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountManagerStatics2 { type Vtable = IUserDataAccountManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a3ded88_316b_435e_b534_f7d4b4b7dba6); } @@ -231,15 +203,11 @@ pub struct IUserDataAccountManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountStore { type Vtable = IUserDataAccountStore_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2073b0ad_7d0a_4e76_bf45_2368f978a59a); } @@ -262,15 +230,11 @@ pub struct IUserDataAccountStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountStore2 { type Vtable = IUserDataAccountStore2_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1e0aef7_9560_4631_8af0_061d30161469); } @@ -293,15 +257,11 @@ pub struct IUserDataAccountStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountStore3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountStore3 { type Vtable = IUserDataAccountStore3_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountStore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountStore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8142c094_f3c9_478b_b117_6585bebb6789); } @@ -316,15 +276,11 @@ pub struct IUserDataAccountStore3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAccountStoreChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAccountStoreChangedEventArgs { type Vtable = IUserDataAccountStoreChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataAccountStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAccountStoreChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84e3e2e5_8820_4512_b1f6_2e035be1072c); } @@ -339,6 +295,7 @@ pub struct IUserDataAccountStoreChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccount(::windows_core::IUnknown); impl UserDataAccount { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -542,25 +499,9 @@ impl UserDataAccount { unsafe { (::windows_core::Interface::vtable(this).SetIcon)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for UserDataAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccount {} -impl ::core::fmt::Debug for UserDataAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccount;{b9c4367e-b348-4910-be94-4ad4bba6dea7})"); } -impl ::core::clone::Clone for UserDataAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccount { type Vtable = IUserDataAccount_Vtbl; } @@ -635,6 +576,7 @@ impl ::windows_core::RuntimeName for UserDataAccountManager { } #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountManagerForUser(::windows_core::IUnknown); impl UserDataAccountManagerForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -656,25 +598,9 @@ impl UserDataAccountManagerForUser { } } } -impl ::core::cmp::PartialEq for UserDataAccountManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountManagerForUser {} -impl ::core::fmt::Debug for UserDataAccountManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser;{56a6e8db-db8f-41ab-a65f-8c5971aac982})"); } -impl ::core::clone::Clone for UserDataAccountManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountManagerForUser { type Vtable = IUserDataAccountManagerForUser_Vtbl; } @@ -689,6 +615,7 @@ unsafe impl ::core::marker::Send for UserDataAccountManagerForUser {} unsafe impl ::core::marker::Sync for UserDataAccountManagerForUser {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountStore(::windows_core::IUnknown); impl UserDataAccountStore { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -755,25 +682,9 @@ impl UserDataAccountStore { } } } -impl ::core::cmp::PartialEq for UserDataAccountStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountStore {} -impl ::core::fmt::Debug for UserDataAccountStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore;{2073b0ad-7d0a-4e76-bf45-2368f978a59a})"); } -impl ::core::clone::Clone for UserDataAccountStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountStore { type Vtable = IUserDataAccountStore_Vtbl; } @@ -788,6 +699,7 @@ unsafe impl ::core::marker::Send for UserDataAccountStore {} unsafe impl ::core::marker::Sync for UserDataAccountStore {} #[doc = "*Required features: `\"ApplicationModel_UserDataAccounts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAccountStoreChangedEventArgs(::windows_core::IUnknown); impl UserDataAccountStoreChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -800,25 +712,9 @@ impl UserDataAccountStoreChangedEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataAccountStoreChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAccountStoreChangedEventArgs {} -impl ::core::fmt::Debug for UserDataAccountStoreChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAccountStoreChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAccountStoreChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs;{84e3e2e5-8820-4512-b1f6-2e035be1072c})"); } -impl ::core::clone::Clone for UserDataAccountStoreChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAccountStoreChangedEventArgs { type Vtable = IUserDataAccountStoreChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs index d7e5e2940d..1c5749837e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskDataProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskDataProviderConnection { type Vtable = IUserDataTaskDataProviderConnection_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskDataProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ff39d1d_a447_428b_afe9_e5402bdeb041); } @@ -60,15 +56,11 @@ pub struct IUserDataTaskDataProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskDataProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskDataProviderTriggerDetails { type Vtable = IUserDataTaskDataProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskDataProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae273202_b1c9_453e_afc5_b30af3bd217d); } @@ -80,15 +72,11 @@ pub struct IUserDataTaskDataProviderTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListCompleteTaskRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListCompleteTaskRequest { type Vtable = IUserDataTaskListCompleteTaskRequest_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListCompleteTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListCompleteTaskRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf65e14a3_1a42_49da_8552_2873e52c55eb); } @@ -109,15 +97,11 @@ pub struct IUserDataTaskListCompleteTaskRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListCompleteTaskRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListCompleteTaskRequestEventArgs { type Vtable = IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListCompleteTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListCompleteTaskRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd77c393d_4cf2_48ad_87fd_963f0eaa7a95); } @@ -133,15 +117,11 @@ pub struct IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListCreateOrUpdateTaskRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListCreateOrUpdateTaskRequest { type Vtable = IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListCreateOrUpdateTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListCreateOrUpdateTaskRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2133772c_55c2_4300_8279_04326e07cce4); } @@ -162,15 +142,11 @@ pub struct IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListCreateOrUpdateTaskRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListCreateOrUpdateTaskRequestEventArgs { type Vtable = IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListCreateOrUpdateTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListCreateOrUpdateTaskRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12c55a52_e378_419b_ae38_a5e9e604476e); } @@ -186,15 +162,11 @@ pub struct IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListDeleteTaskRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListDeleteTaskRequest { type Vtable = IUserDataTaskListDeleteTaskRequest_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListDeleteTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListDeleteTaskRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b863c68_7657_4f3d_b074_d47ec8df07e7); } @@ -215,15 +187,11 @@ pub struct IUserDataTaskListDeleteTaskRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListDeleteTaskRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListDeleteTaskRequestEventArgs { type Vtable = IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListDeleteTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListDeleteTaskRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6063dad9_f562_4145_8efe_d50078c92b7f); } @@ -239,15 +207,11 @@ pub struct IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListSkipOccurrenceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListSkipOccurrenceRequest { type Vtable = IUserDataTaskListSkipOccurrenceRequest_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListSkipOccurrenceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListSkipOccurrenceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab87e34d_1cd3_431c_9f58_089aa4338d85); } @@ -268,15 +232,11 @@ pub struct IUserDataTaskListSkipOccurrenceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListSkipOccurrenceRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListSkipOccurrenceRequestEventArgs { type Vtable = IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListSkipOccurrenceRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListSkipOccurrenceRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a3b924a_cc2f_4e7b_aacd_a5b9d29cfa4e); } @@ -292,15 +252,11 @@ pub struct IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListSyncManagerSyncRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListSyncManagerSyncRequest { type Vtable = IUserDataTaskListSyncManagerSyncRequest_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListSyncManagerSyncRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40a73807_7590_4149_ae19_b211431a9f48); } @@ -320,15 +276,11 @@ pub struct IUserDataTaskListSyncManagerSyncRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListSyncManagerSyncRequestEventArgs { type Vtable = IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListSyncManagerSyncRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ead1c12_768e_43bd_8385_5cdc351ffdea); } @@ -344,6 +296,7 @@ pub struct IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskDataProviderConnection(::windows_core::IUnknown); impl UserDataTaskDataProviderConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -441,25 +394,9 @@ impl UserDataTaskDataProviderConnection { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for UserDataTaskDataProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskDataProviderConnection {} -impl ::core::fmt::Debug for UserDataTaskDataProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskDataProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskDataProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderConnection;{9ff39d1d-a447-428b-afe9-e5402bdeb041})"); } -impl ::core::clone::Clone for UserDataTaskDataProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskDataProviderConnection { type Vtable = IUserDataTaskDataProviderConnection_Vtbl; } @@ -474,6 +411,7 @@ unsafe impl ::core::marker::Send for UserDataTaskDataProviderConnection {} unsafe impl ::core::marker::Sync for UserDataTaskDataProviderConnection {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskDataProviderTriggerDetails(::windows_core::IUnknown); impl UserDataTaskDataProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -484,25 +422,9 @@ impl UserDataTaskDataProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for UserDataTaskDataProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskDataProviderTriggerDetails {} -impl ::core::fmt::Debug for UserDataTaskDataProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskDataProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskDataProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskDataProviderTriggerDetails;{ae273202-b1c9-453e-afc5-b30af3bd217d})"); } -impl ::core::clone::Clone for UserDataTaskDataProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskDataProviderTriggerDetails { type Vtable = IUserDataTaskDataProviderTriggerDetails_Vtbl; } @@ -517,6 +439,7 @@ unsafe impl ::core::marker::Send for UserDataTaskDataProviderTriggerDetails {} unsafe impl ::core::marker::Sync for UserDataTaskDataProviderTriggerDetails {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListCompleteTaskRequest(::windows_core::IUnknown); impl UserDataTaskListCompleteTaskRequest { pub fn TaskListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -552,25 +475,9 @@ impl UserDataTaskListCompleteTaskRequest { } } } -impl ::core::cmp::PartialEq for UserDataTaskListCompleteTaskRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListCompleteTaskRequest {} -impl ::core::fmt::Debug for UserDataTaskListCompleteTaskRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListCompleteTaskRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListCompleteTaskRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequest;{f65e14a3-1a42-49da-8552-2873e52c55eb})"); } -impl ::core::clone::Clone for UserDataTaskListCompleteTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListCompleteTaskRequest { type Vtable = IUserDataTaskListCompleteTaskRequest_Vtbl; } @@ -585,6 +492,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListCompleteTaskRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListCompleteTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListCompleteTaskRequestEventArgs(::windows_core::IUnknown); impl UserDataTaskListCompleteTaskRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -604,25 +512,9 @@ impl UserDataTaskListCompleteTaskRequestEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataTaskListCompleteTaskRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListCompleteTaskRequestEventArgs {} -impl ::core::fmt::Debug for UserDataTaskListCompleteTaskRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListCompleteTaskRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListCompleteTaskRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCompleteTaskRequestEventArgs;{d77c393d-4cf2-48ad-87fd-963f0eaa7a95})"); } -impl ::core::clone::Clone for UserDataTaskListCompleteTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListCompleteTaskRequestEventArgs { type Vtable = IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl; } @@ -637,6 +529,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListCompleteTaskRequestEventArg unsafe impl ::core::marker::Sync for UserDataTaskListCompleteTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListCreateOrUpdateTaskRequest(::windows_core::IUnknown); impl UserDataTaskListCreateOrUpdateTaskRequest { pub fn TaskListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -675,25 +568,9 @@ impl UserDataTaskListCreateOrUpdateTaskRequest { } } } -impl ::core::cmp::PartialEq for UserDataTaskListCreateOrUpdateTaskRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListCreateOrUpdateTaskRequest {} -impl ::core::fmt::Debug for UserDataTaskListCreateOrUpdateTaskRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListCreateOrUpdateTaskRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListCreateOrUpdateTaskRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequest;{2133772c-55c2-4300-8279-04326e07cce4})"); } -impl ::core::clone::Clone for UserDataTaskListCreateOrUpdateTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListCreateOrUpdateTaskRequest { type Vtable = IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl; } @@ -708,6 +585,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListCreateOrUpdateTaskRequest { unsafe impl ::core::marker::Sync for UserDataTaskListCreateOrUpdateTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListCreateOrUpdateTaskRequestEventArgs(::windows_core::IUnknown); impl UserDataTaskListCreateOrUpdateTaskRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -727,25 +605,9 @@ impl UserDataTaskListCreateOrUpdateTaskRequestEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListCreateOrUpdateTaskRequestEventArgs {} -impl ::core::fmt::Debug for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListCreateOrUpdateTaskRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListCreateOrUpdateTaskRequestEventArgs;{12c55a52-e378-419b-ae38-a5e9e604476e})"); } -impl ::core::clone::Clone for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListCreateOrUpdateTaskRequestEventArgs { type Vtable = IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl; } @@ -760,6 +622,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListCreateOrUpdateTaskRequestEv unsafe impl ::core::marker::Sync for UserDataTaskListCreateOrUpdateTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListDeleteTaskRequest(::windows_core::IUnknown); impl UserDataTaskListDeleteTaskRequest { pub fn TaskListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -795,25 +658,9 @@ impl UserDataTaskListDeleteTaskRequest { } } } -impl ::core::cmp::PartialEq for UserDataTaskListDeleteTaskRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListDeleteTaskRequest {} -impl ::core::fmt::Debug for UserDataTaskListDeleteTaskRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListDeleteTaskRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListDeleteTaskRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequest;{4b863c68-7657-4f3d-b074-d47ec8df07e7})"); } -impl ::core::clone::Clone for UserDataTaskListDeleteTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListDeleteTaskRequest { type Vtable = IUserDataTaskListDeleteTaskRequest_Vtbl; } @@ -828,6 +675,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListDeleteTaskRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListDeleteTaskRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListDeleteTaskRequestEventArgs(::windows_core::IUnknown); impl UserDataTaskListDeleteTaskRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -847,25 +695,9 @@ impl UserDataTaskListDeleteTaskRequestEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataTaskListDeleteTaskRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListDeleteTaskRequestEventArgs {} -impl ::core::fmt::Debug for UserDataTaskListDeleteTaskRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListDeleteTaskRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListDeleteTaskRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListDeleteTaskRequestEventArgs;{6063dad9-f562-4145-8efe-d50078c92b7f})"); } -impl ::core::clone::Clone for UserDataTaskListDeleteTaskRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListDeleteTaskRequestEventArgs { type Vtable = IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl; } @@ -880,6 +712,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListDeleteTaskRequestEventArgs unsafe impl ::core::marker::Sync for UserDataTaskListDeleteTaskRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListSkipOccurrenceRequest(::windows_core::IUnknown); impl UserDataTaskListSkipOccurrenceRequest { pub fn TaskListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -915,25 +748,9 @@ impl UserDataTaskListSkipOccurrenceRequest { } } } -impl ::core::cmp::PartialEq for UserDataTaskListSkipOccurrenceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListSkipOccurrenceRequest {} -impl ::core::fmt::Debug for UserDataTaskListSkipOccurrenceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListSkipOccurrenceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListSkipOccurrenceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequest;{ab87e34d-1cd3-431c-9f58-089aa4338d85})"); } -impl ::core::clone::Clone for UserDataTaskListSkipOccurrenceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListSkipOccurrenceRequest { type Vtable = IUserDataTaskListSkipOccurrenceRequest_Vtbl; } @@ -948,6 +765,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListSkipOccurrenceRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListSkipOccurrenceRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListSkipOccurrenceRequestEventArgs(::windows_core::IUnknown); impl UserDataTaskListSkipOccurrenceRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -967,25 +785,9 @@ impl UserDataTaskListSkipOccurrenceRequestEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataTaskListSkipOccurrenceRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListSkipOccurrenceRequestEventArgs {} -impl ::core::fmt::Debug for UserDataTaskListSkipOccurrenceRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListSkipOccurrenceRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListSkipOccurrenceRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSkipOccurrenceRequestEventArgs;{7a3b924a-cc2f-4e7b-aacd-a5b9d29cfa4e})"); } -impl ::core::clone::Clone for UserDataTaskListSkipOccurrenceRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListSkipOccurrenceRequestEventArgs { type Vtable = IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl; } @@ -1000,6 +802,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListSkipOccurrenceRequestEventA unsafe impl ::core::marker::Sync for UserDataTaskListSkipOccurrenceRequestEventArgs {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListSyncManagerSyncRequest(::windows_core::IUnknown); impl UserDataTaskListSyncManagerSyncRequest { pub fn TaskListId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1028,25 +831,9 @@ impl UserDataTaskListSyncManagerSyncRequest { } } } -impl ::core::cmp::PartialEq for UserDataTaskListSyncManagerSyncRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListSyncManagerSyncRequest {} -impl ::core::fmt::Debug for UserDataTaskListSyncManagerSyncRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListSyncManagerSyncRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListSyncManagerSyncRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequest;{40a73807-7590-4149-ae19-b211431a9f48})"); } -impl ::core::clone::Clone for UserDataTaskListSyncManagerSyncRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListSyncManagerSyncRequest { type Vtable = IUserDataTaskListSyncManagerSyncRequest_Vtbl; } @@ -1061,6 +848,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListSyncManagerSyncRequest {} unsafe impl ::core::marker::Sync for UserDataTaskListSyncManagerSyncRequest {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks_DataProvider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListSyncManagerSyncRequestEventArgs(::windows_core::IUnknown); impl UserDataTaskListSyncManagerSyncRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1080,25 +868,9 @@ impl UserDataTaskListSyncManagerSyncRequestEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataTaskListSyncManagerSyncRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListSyncManagerSyncRequestEventArgs {} -impl ::core::fmt::Debug for UserDataTaskListSyncManagerSyncRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListSyncManagerSyncRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListSyncManagerSyncRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.DataProvider.UserDataTaskListSyncManagerSyncRequestEventArgs;{8ead1c12-768e-43bd-8385-5cdc351ffdea})"); } -impl ::core::clone::Clone for UserDataTaskListSyncManagerSyncRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListSyncManagerSyncRequestEventArgs { type Vtable = IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index 074e0a57c4..71782d8b2c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -2,15 +2,11 @@ pub mod DataProvider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTask(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTask { type Vtable = IUserDataTask_Vtbl; } -impl ::core::clone::Clone for IUserDataTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c6585d1_e0d4_4f99_aee2_bc2d5ddadf4c); } @@ -72,15 +68,11 @@ pub struct IUserDataTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskBatch { type Vtable = IUserDataTaskBatch_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x382da5fe_20b5_431c_8f42_a5d292ec930c); } @@ -95,15 +87,11 @@ pub struct IUserDataTaskBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskList { type Vtable = IUserDataTaskList_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49412e39_7c1d_4df1_bed3_314b7cbf5e4e); } @@ -151,15 +139,11 @@ pub struct IUserDataTaskList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListLimitedWriteOperations(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListLimitedWriteOperations { type Vtable = IUserDataTaskListLimitedWriteOperations_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListLimitedWriteOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListLimitedWriteOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7aa267f2_6078_4183_919e_4f29f19cfae9); } @@ -186,15 +170,11 @@ pub struct IUserDataTaskListLimitedWriteOperations_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskListSyncManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskListSyncManager { type Vtable = IUserDataTaskListSyncManager_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskListSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskListSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e591a95_1dcf_469f_93ec_ba48bb553c6b); } @@ -235,15 +215,11 @@ pub struct IUserDataTaskListSyncManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskManager { type Vtable = IUserDataTaskManager_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8451c914_e60b_48a9_9211_7fb8a56cb84c); } @@ -262,15 +238,11 @@ pub struct IUserDataTaskManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskManagerStatics { type Vtable = IUserDataTaskManagerStatics_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb35539f8_c502_47fc_a81e_100883719d55); } @@ -286,15 +258,11 @@ pub struct IUserDataTaskManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskQueryOptions { type Vtable = IUserDataTaskQueryOptions_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x959f27ed_909a_4d30_8c1b_331d8fe667e2); } @@ -309,15 +277,11 @@ pub struct IUserDataTaskQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskReader { type Vtable = IUserDataTaskReader_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03e688b1_4ccf_4500_883b_e76290cfed63); } @@ -332,15 +296,11 @@ pub struct IUserDataTaskReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskRecurrenceProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskRecurrenceProperties { type Vtable = IUserDataTaskRecurrenceProperties_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskRecurrenceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskRecurrenceProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73df80b0_27c6_40ce_b149_9cd41485a69e); } @@ -403,15 +363,11 @@ pub struct IUserDataTaskRecurrenceProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskRegenerationProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskRegenerationProperties { type Vtable = IUserDataTaskRegenerationProperties_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskRegenerationProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskRegenerationProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92ab0007_090e_4704_bb5c_84fc0b0d9c31); } @@ -442,15 +398,11 @@ pub struct IUserDataTaskRegenerationProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataTaskStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataTaskStore { type Vtable = IUserDataTaskStore_Vtbl; } -impl ::core::clone::Clone for IUserDataTaskStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataTaskStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf06a9cb0_f1db_45ba_8a62_086004c0213d); } @@ -477,6 +429,7 @@ pub struct IUserDataTaskStore_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTask(::windows_core::IUnknown); impl UserDataTask { pub fn new() -> ::windows_core::Result { @@ -674,25 +627,9 @@ impl UserDataTask { unsafe { (::windows_core::Interface::vtable(this).SetStartDate)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for UserDataTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTask {} -impl ::core::fmt::Debug for UserDataTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTask;{7c6585d1-e0d4-4f99-aee2-bc2d5ddadf4c})"); } -impl ::core::clone::Clone for UserDataTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTask { type Vtable = IUserDataTask_Vtbl; } @@ -707,6 +644,7 @@ unsafe impl ::core::marker::Send for UserDataTask {} unsafe impl ::core::marker::Sync for UserDataTask {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskBatch(::windows_core::IUnknown); impl UserDataTaskBatch { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -719,25 +657,9 @@ impl UserDataTaskBatch { } } } -impl ::core::cmp::PartialEq for UserDataTaskBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskBatch {} -impl ::core::fmt::Debug for UserDataTaskBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskBatch;{382da5fe-20b5-431c-8f42-a5d292ec930c})"); } -impl ::core::clone::Clone for UserDataTaskBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskBatch { type Vtable = IUserDataTaskBatch_Vtbl; } @@ -752,6 +674,7 @@ unsafe impl ::core::marker::Send for UserDataTaskBatch {} unsafe impl ::core::marker::Sync for UserDataTaskBatch {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskList(::windows_core::IUnknown); impl UserDataTaskList { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -897,25 +820,9 @@ impl UserDataTaskList { } } } -impl ::core::cmp::PartialEq for UserDataTaskList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskList {} -impl ::core::fmt::Debug for UserDataTaskList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskList;{49412e39-7c1d-4df1-bed3-314b7cbf5e4e})"); } -impl ::core::clone::Clone for UserDataTaskList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskList { type Vtable = IUserDataTaskList_Vtbl; } @@ -930,6 +837,7 @@ unsafe impl ::core::marker::Send for UserDataTaskList {} unsafe impl ::core::marker::Sync for UserDataTaskList {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListLimitedWriteOperations(::windows_core::IUnknown); impl UserDataTaskListLimitedWriteOperations { #[doc = "*Required features: `\"Foundation\"`*"] @@ -972,25 +880,9 @@ impl UserDataTaskListLimitedWriteOperations { } } } -impl ::core::cmp::PartialEq for UserDataTaskListLimitedWriteOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListLimitedWriteOperations {} -impl ::core::fmt::Debug for UserDataTaskListLimitedWriteOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListLimitedWriteOperations").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListLimitedWriteOperations { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListLimitedWriteOperations;{7aa267f2-6078-4183-919e-4f29f19cfae9})"); } -impl ::core::clone::Clone for UserDataTaskListLimitedWriteOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListLimitedWriteOperations { type Vtable = IUserDataTaskListLimitedWriteOperations_Vtbl; } @@ -1005,6 +897,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListLimitedWriteOperations {} unsafe impl ::core::marker::Sync for UserDataTaskListLimitedWriteOperations {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskListSyncManager(::windows_core::IUnknown); impl UserDataTaskListSyncManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1076,25 +969,9 @@ impl UserDataTaskListSyncManager { unsafe { (::windows_core::Interface::vtable(this).RemoveSyncStatusChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for UserDataTaskListSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskListSyncManager {} -impl ::core::fmt::Debug for UserDataTaskListSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskListSyncManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskListSyncManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskListSyncManager;{8e591a95-1dcf-469f-93ec-ba48bb553c6b})"); } -impl ::core::clone::Clone for UserDataTaskListSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskListSyncManager { type Vtable = IUserDataTaskListSyncManager_Vtbl; } @@ -1109,6 +986,7 @@ unsafe impl ::core::marker::Send for UserDataTaskListSyncManager {} unsafe impl ::core::marker::Sync for UserDataTaskListSyncManager {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskManager(::windows_core::IUnknown); impl UserDataTaskManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1152,25 +1030,9 @@ impl UserDataTaskManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserDataTaskManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskManager {} -impl ::core::fmt::Debug for UserDataTaskManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskManager;{8451c914-e60b-48a9-9211-7fb8a56cb84c})"); } -impl ::core::clone::Clone for UserDataTaskManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskManager { type Vtable = IUserDataTaskManager_Vtbl; } @@ -1185,6 +1047,7 @@ unsafe impl ::core::marker::Send for UserDataTaskManager {} unsafe impl ::core::marker::Sync for UserDataTaskManager {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskQueryOptions(::windows_core::IUnknown); impl UserDataTaskQueryOptions { pub fn new() -> ::windows_core::Result { @@ -1217,25 +1080,9 @@ impl UserDataTaskQueryOptions { unsafe { (::windows_core::Interface::vtable(this).SetKind)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for UserDataTaskQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskQueryOptions {} -impl ::core::fmt::Debug for UserDataTaskQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskQueryOptions;{959f27ed-909a-4d30-8c1b-331d8fe667e2})"); } -impl ::core::clone::Clone for UserDataTaskQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskQueryOptions { type Vtable = IUserDataTaskQueryOptions_Vtbl; } @@ -1250,6 +1097,7 @@ unsafe impl ::core::marker::Send for UserDataTaskQueryOptions {} unsafe impl ::core::marker::Sync for UserDataTaskQueryOptions {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskReader(::windows_core::IUnknown); impl UserDataTaskReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1262,25 +1110,9 @@ impl UserDataTaskReader { } } } -impl ::core::cmp::PartialEq for UserDataTaskReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskReader {} -impl ::core::fmt::Debug for UserDataTaskReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskReader;{03e688b1-4ccf-4500-883b-e76290cfed63})"); } -impl ::core::clone::Clone for UserDataTaskReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskReader { type Vtable = IUserDataTaskReader_Vtbl; } @@ -1295,6 +1127,7 @@ unsafe impl ::core::marker::Send for UserDataTaskReader {} unsafe impl ::core::marker::Sync for UserDataTaskReader {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskRecurrenceProperties(::windows_core::IUnknown); impl UserDataTaskRecurrenceProperties { pub fn new() -> ::windows_core::Result { @@ -1435,25 +1268,9 @@ impl UserDataTaskRecurrenceProperties { unsafe { (::windows_core::Interface::vtable(this).SetDay)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for UserDataTaskRecurrenceProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskRecurrenceProperties {} -impl ::core::fmt::Debug for UserDataTaskRecurrenceProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskRecurrenceProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskRecurrenceProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRecurrenceProperties;{73df80b0-27c6-40ce-b149-9cd41485a69e})"); } -impl ::core::clone::Clone for UserDataTaskRecurrenceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskRecurrenceProperties { type Vtable = IUserDataTaskRecurrenceProperties_Vtbl; } @@ -1468,6 +1285,7 @@ unsafe impl ::core::marker::Send for UserDataTaskRecurrenceProperties {} unsafe impl ::core::marker::Sync for UserDataTaskRecurrenceProperties {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskRegenerationProperties(::windows_core::IUnknown); impl UserDataTaskRegenerationProperties { pub fn new() -> ::windows_core::Result { @@ -1536,25 +1354,9 @@ impl UserDataTaskRegenerationProperties { unsafe { (::windows_core::Interface::vtable(this).SetInterval)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for UserDataTaskRegenerationProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskRegenerationProperties {} -impl ::core::fmt::Debug for UserDataTaskRegenerationProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskRegenerationProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskRegenerationProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskRegenerationProperties;{92ab0007-090e-4704-bb5c-84fc0b0d9c31})"); } -impl ::core::clone::Clone for UserDataTaskRegenerationProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskRegenerationProperties { type Vtable = IUserDataTaskRegenerationProperties_Vtbl; } @@ -1569,6 +1371,7 @@ unsafe impl ::core::marker::Send for UserDataTaskRegenerationProperties {} unsafe impl ::core::marker::Sync for UserDataTaskRegenerationProperties {} #[doc = "*Required features: `\"ApplicationModel_UserDataTasks\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataTaskStore(::windows_core::IUnknown); impl UserDataTaskStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1608,25 +1411,9 @@ impl UserDataTaskStore { } } } -impl ::core::cmp::PartialEq for UserDataTaskStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataTaskStore {} -impl ::core::fmt::Debug for UserDataTaskStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataTaskStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataTaskStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.UserDataTasks.UserDataTaskStore;{f06a9cb0-f1db-45ba-8a62-086004c0213d})"); } -impl ::core::clone::Clone for UserDataTaskStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataTaskStore { type Vtable = IUserDataTaskStore_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index f54f7b159d..edb5d92133 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommand(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommand { type Vtable = IVoiceCommand_Vtbl; } -impl ::core::clone::Clone for IVoiceCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x936f5273_ec82_42a6_a55c_d2d79ec6f920); } @@ -28,15 +24,11 @@ pub struct IVoiceCommand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandCompletedEventArgs { type Vtable = IVoiceCommandCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc85e675d_fe42_432c_9907_09df9fcf64e8); } @@ -48,15 +40,11 @@ pub struct IVoiceCommandCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandConfirmationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandConfirmationResult { type Vtable = IVoiceCommandConfirmationResult_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandConfirmationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandConfirmationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa022593e_8221_4526_b083_840972262247); } @@ -68,15 +56,11 @@ pub struct IVoiceCommandConfirmationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandContentTile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandContentTile { type Vtable = IVoiceCommandContentTile_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandContentTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandContentTile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3eefe9f0_b8c7_4c76_a0de_1607895ee327); } @@ -109,15 +93,11 @@ pub struct IVoiceCommandContentTile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandDefinition { type Vtable = IVoiceCommandDefinition_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7972aad0_0974_4979_984b_cb8959cd61ae); } @@ -134,15 +114,11 @@ pub struct IVoiceCommandDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandDefinitionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandDefinitionManagerStatics { type Vtable = IVoiceCommandDefinitionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandDefinitionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandDefinitionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fe7a69e_067e_4f16_a18c_5b17e9499940); } @@ -161,15 +137,11 @@ pub struct IVoiceCommandDefinitionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandDisambiguationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandDisambiguationResult { type Vtable = IVoiceCommandDisambiguationResult_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandDisambiguationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandDisambiguationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecc68cfe_c9ac_45df_a8ea_feea08ef9c5e); } @@ -181,15 +153,11 @@ pub struct IVoiceCommandDisambiguationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandResponse { type Vtable = IVoiceCommandResponse_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0284b30e_8a3b_4cc4_a6a1_cad5be2716b5); } @@ -210,15 +178,11 @@ pub struct IVoiceCommandResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandResponseStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandResponseStatics { type Vtable = IVoiceCommandResponseStatics_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandResponseStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandResponseStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2932f813_0d3b_49f2_96dd_625019bd3b5d); } @@ -240,15 +204,11 @@ pub struct IVoiceCommandResponseStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandServiceConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandServiceConnection { type Vtable = IVoiceCommandServiceConnection_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandServiceConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd894bb9f_21da_44a4_98a2_fb131920a9cc); } @@ -299,15 +259,11 @@ pub struct IVoiceCommandServiceConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandServiceConnectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandServiceConnectionStatics { type Vtable = IVoiceCommandServiceConnectionStatics_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandServiceConnectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandServiceConnectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x370ebffb_2d34_42df_8770_074d0f334697); } @@ -322,15 +278,11 @@ pub struct IVoiceCommandServiceConnectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandUserMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandUserMessage { type Vtable = IVoiceCommandUserMessage_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandUserMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandUserMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x674eb3c0_44f6_4f07_b979_4c723fc08597); } @@ -345,6 +297,7 @@ pub struct IVoiceCommandUserMessage_Vtbl { } #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommand(::windows_core::IUnknown); impl VoiceCommand { pub fn CommandName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -373,25 +326,9 @@ impl VoiceCommand { } } } -impl ::core::cmp::PartialEq for VoiceCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommand {} -impl ::core::fmt::Debug for VoiceCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommand;{936f5273-ec82-42a6-a55c-d2d79ec6f920})"); } -impl ::core::clone::Clone for VoiceCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommand { type Vtable = IVoiceCommand_Vtbl; } @@ -406,6 +343,7 @@ unsafe impl ::core::marker::Send for VoiceCommand {} unsafe impl ::core::marker::Sync for VoiceCommand {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandCompletedEventArgs(::windows_core::IUnknown); impl VoiceCommandCompletedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -416,25 +354,9 @@ impl VoiceCommandCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for VoiceCommandCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandCompletedEventArgs {} -impl ::core::fmt::Debug for VoiceCommandCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs;{c85e675d-fe42-432c-9907-09df9fcf64e8})"); } -impl ::core::clone::Clone for VoiceCommandCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandCompletedEventArgs { type Vtable = IVoiceCommandCompletedEventArgs_Vtbl; } @@ -449,6 +371,7 @@ unsafe impl ::core::marker::Send for VoiceCommandCompletedEventArgs {} unsafe impl ::core::marker::Sync for VoiceCommandCompletedEventArgs {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandConfirmationResult(::windows_core::IUnknown); impl VoiceCommandConfirmationResult { pub fn Confirmed(&self) -> ::windows_core::Result { @@ -459,25 +382,9 @@ impl VoiceCommandConfirmationResult { } } } -impl ::core::cmp::PartialEq for VoiceCommandConfirmationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandConfirmationResult {} -impl ::core::fmt::Debug for VoiceCommandConfirmationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandConfirmationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandConfirmationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult;{a022593e-8221-4526-b083-840972262247})"); } -impl ::core::clone::Clone for VoiceCommandConfirmationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandConfirmationResult { type Vtable = IVoiceCommandConfirmationResult_Vtbl; } @@ -492,6 +399,7 @@ unsafe impl ::core::marker::Send for VoiceCommandConfirmationResult {} unsafe impl ::core::marker::Sync for VoiceCommandConfirmationResult {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandContentTile(::windows_core::IUnknown); impl VoiceCommandContentTile { pub fn new() -> ::windows_core::Result { @@ -600,25 +508,9 @@ impl VoiceCommandContentTile { unsafe { (::windows_core::Interface::vtable(this).SetContentTileType)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VoiceCommandContentTile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandContentTile {} -impl ::core::fmt::Debug for VoiceCommandContentTile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandContentTile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandContentTile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile;{3eefe9f0-b8c7-4c76-a0de-1607895ee327})"); } -impl ::core::clone::Clone for VoiceCommandContentTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandContentTile { type Vtable = IVoiceCommandContentTile_Vtbl; } @@ -633,6 +525,7 @@ unsafe impl ::core::marker::Send for VoiceCommandContentTile {} unsafe impl ::core::marker::Sync for VoiceCommandContentTile {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandDefinition(::windows_core::IUnknown); impl VoiceCommandDefinition { pub fn Language(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -662,25 +555,9 @@ impl VoiceCommandDefinition { } } } -impl ::core::cmp::PartialEq for VoiceCommandDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandDefinition {} -impl ::core::fmt::Debug for VoiceCommandDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition;{7972aad0-0974-4979-984b-cb8959cd61ae})"); } -impl ::core::clone::Clone for VoiceCommandDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandDefinition { type Vtable = IVoiceCommandDefinition_Vtbl; } @@ -726,6 +603,7 @@ impl ::windows_core::RuntimeName for VoiceCommandDefinitionManager { } #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandDisambiguationResult(::windows_core::IUnknown); impl VoiceCommandDisambiguationResult { pub fn SelectedItem(&self) -> ::windows_core::Result { @@ -736,25 +614,9 @@ impl VoiceCommandDisambiguationResult { } } } -impl ::core::cmp::PartialEq for VoiceCommandDisambiguationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandDisambiguationResult {} -impl ::core::fmt::Debug for VoiceCommandDisambiguationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandDisambiguationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandDisambiguationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult;{ecc68cfe-c9ac-45df-a8ea-feea08ef9c5e})"); } -impl ::core::clone::Clone for VoiceCommandDisambiguationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandDisambiguationResult { type Vtable = IVoiceCommandDisambiguationResult_Vtbl; } @@ -769,6 +631,7 @@ unsafe impl ::core::marker::Send for VoiceCommandDisambiguationResult {} unsafe impl ::core::marker::Sync for VoiceCommandDisambiguationResult {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandResponse(::windows_core::IUnknown); impl VoiceCommandResponse { pub fn Message(&self) -> ::windows_core::Result { @@ -875,25 +738,9 @@ impl VoiceCommandResponse { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VoiceCommandResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandResponse {} -impl ::core::fmt::Debug for VoiceCommandResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse;{0284b30e-8a3b-4cc4-a6a1-cad5be2716b5})"); } -impl ::core::clone::Clone for VoiceCommandResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandResponse { type Vtable = IVoiceCommandResponse_Vtbl; } @@ -908,6 +755,7 @@ unsafe impl ::core::marker::Send for VoiceCommandResponse {} unsafe impl ::core::marker::Sync for VoiceCommandResponse {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandServiceConnection(::windows_core::IUnknown); impl VoiceCommandServiceConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1035,25 +883,9 @@ impl VoiceCommandServiceConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VoiceCommandServiceConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandServiceConnection {} -impl ::core::fmt::Debug for VoiceCommandServiceConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandServiceConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandServiceConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection;{d894bb9f-21da-44a4-98a2-fb131920a9cc})"); } -impl ::core::clone::Clone for VoiceCommandServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandServiceConnection { type Vtable = IVoiceCommandServiceConnection_Vtbl; } @@ -1068,6 +900,7 @@ unsafe impl ::core::marker::Send for VoiceCommandServiceConnection {} unsafe impl ::core::marker::Sync for VoiceCommandServiceConnection {} #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandUserMessage(::windows_core::IUnknown); impl VoiceCommandUserMessage { pub fn new() -> ::windows_core::Result { @@ -1100,25 +933,9 @@ impl VoiceCommandUserMessage { unsafe { (::windows_core::Interface::vtable(this).SetSpokenMessage)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for VoiceCommandUserMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandUserMessage {} -impl ::core::fmt::Debug for VoiceCommandUserMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandUserMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandUserMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage;{674eb3c0-44f6-4f07-b979-4c723fc08597})"); } -impl ::core::clone::Clone for VoiceCommandUserMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandUserMessage { type Vtable = IVoiceCommandUserMessage_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs index 9188891555..80b2c07f4e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemSystemStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemSystemStore { type Vtable = IWalletItemSystemStore_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemSystemStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemSystemStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x522e2bff_96a2_4a17_8d19_fe1d9f837561); } @@ -45,18 +40,13 @@ pub struct IWalletItemSystemStore_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemSystemStore2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemSystemStore2 { type Vtable = IWalletItemSystemStore2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemSystemStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemSystemStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf98d3a4e_be00_4fdd_9734_6c113c1ac1cb); } @@ -77,18 +67,13 @@ pub struct IWalletItemSystemStore2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletManagerSystemStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletManagerSystemStatics { type Vtable = IWalletManagerSystemStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletManagerSystemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletManagerSystemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbee8eb89_2634_4b9a_8b23_ee8903c91fe0); } @@ -105,6 +90,7 @@ pub struct IWalletManagerSystemStatics_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Wallet_System\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletItemSystemStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletItemSystemStore { @@ -185,30 +171,10 @@ impl WalletItemSystemStore { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletItemSystemStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletItemSystemStore {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletItemSystemStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletItemSystemStore").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletItemSystemStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.System.WalletItemSystemStore;{522e2bff-96a2-4a17-8d19-fe1d9f837561})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletItemSystemStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletItemSystemStore { type Vtable = IWalletItemSystemStore_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 82247f631b..4826ddf51a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -3,18 +3,13 @@ pub mod System; #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletBarcode(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletBarcode { type Vtable = IWalletBarcode_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletBarcode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletBarcode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f857b29_de80_4ea4_a1cd_81cd084dac27); } @@ -39,18 +34,13 @@ pub struct IWalletBarcode_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletBarcodeFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletBarcodeFactory { type Vtable = IWalletBarcodeFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletBarcodeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletBarcodeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30117161_ed9c_469e_bbfd_306c95ea7108); } @@ -71,18 +61,13 @@ pub struct IWalletBarcodeFactory_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItem(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItem { type Vtable = IWalletItem_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20b54be8_118d_4ec4_996c_b963e7bd3e74); } @@ -303,18 +288,13 @@ pub struct IWalletItem_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemCustomProperty(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemCustomProperty { type Vtable = IWalletItemCustomProperty_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemCustomProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemCustomProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb94b40f3_fa00_40fd_98dc_9de46697f1e7); } @@ -367,18 +347,13 @@ pub struct IWalletItemCustomProperty_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemCustomPropertyFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemCustomPropertyFactory { type Vtable = IWalletItemCustomPropertyFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemCustomPropertyFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemCustomPropertyFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0046a44_61a1_41aa_b259_a5610ab5d575); } @@ -395,18 +370,13 @@ pub struct IWalletItemCustomPropertyFactory_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemFactory { type Vtable = IWalletItemFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53e27470_4f0b_4a3e_99e5_0bbb1eab38d4); } @@ -423,18 +393,13 @@ pub struct IWalletItemFactory_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemStore { type Vtable = IWalletItemStore_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7160484b_6d49_48f8_91a9_40a1d0f13ef4); } @@ -487,18 +452,13 @@ pub struct IWalletItemStore_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletItemStore2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletItemStore2 { type Vtable = IWalletItemStore2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletItemStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletItemStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65e682f0_7009_4a15_bd54_4fff379bffe2); } @@ -519,18 +479,13 @@ pub struct IWalletItemStore2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletManagerStatics { type Vtable = IWalletManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5111d6b8_c9a4_4c64_b4dd_e1e548001c0d); } @@ -547,18 +502,13 @@ pub struct IWalletManagerStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletRelevantLocation(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletRelevantLocation { type Vtable = IWalletRelevantLocation_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletRelevantLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletRelevantLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fd8782a_e3f9_4de1_bab3_bb192e46b3f3); } @@ -587,18 +537,13 @@ pub struct IWalletRelevantLocation_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletTransaction(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletTransaction { type Vtable = IWalletTransaction_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40e1e940_2606_4519_81cb_bff1c60d1f79); } @@ -659,18 +604,13 @@ pub struct IWalletTransaction_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletVerb(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletVerb { type Vtable = IWalletVerb_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletVerb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletVerb { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17b826d6_e3c1_4c74_8a94_217aadbc4884); } @@ -691,18 +631,13 @@ pub struct IWalletVerb_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWalletVerbFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IWalletVerbFactory { type Vtable = IWalletVerbFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IWalletVerbFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IWalletVerbFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76012771_be58_4d5e_83ed_58b1669c7ad9); } @@ -719,6 +654,7 @@ pub struct IWalletVerbFactory_Vtbl { #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletBarcode(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletBarcode { @@ -776,30 +712,10 @@ impl WalletBarcode { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletBarcode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletBarcode {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletBarcode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletBarcode").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletBarcode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletBarcode;{4f857b29-de80-4ea4-a1cd-81cd084dac27})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletBarcode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletBarcode { type Vtable = IWalletBarcode_Vtbl; } @@ -820,6 +736,7 @@ unsafe impl ::core::marker::Sync for WalletBarcode {} #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletItem(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletItem { @@ -1271,30 +1188,10 @@ impl WalletItem { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletItem {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletItem").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItem;{20b54be8-118d-4ec4-996c-b963e7bd3e74})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletItem { type Vtable = IWalletItem_Vtbl; } @@ -1315,6 +1212,7 @@ unsafe impl ::core::marker::Sync for WalletItem {} #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletItemCustomProperty(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletItemCustomProperty { @@ -1409,30 +1307,10 @@ impl WalletItemCustomProperty { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletItemCustomProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletItemCustomProperty {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletItemCustomProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletItemCustomProperty").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletItemCustomProperty { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemCustomProperty;{b94b40f3-fa00-40fd-98dc-9de46697f1e7})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletItemCustomProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletItemCustomProperty { type Vtable = IWalletItemCustomProperty_Vtbl; } @@ -1453,6 +1331,7 @@ unsafe impl ::core::marker::Sync for WalletItemCustomProperty {} #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletItemStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletItemStore { @@ -1557,30 +1436,10 @@ impl WalletItemStore { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletItemStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletItemStore {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletItemStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletItemStore").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletItemStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletItemStore;{7160484b-6d49-48f8-91a9-40a1d0f13ef4})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletItemStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletItemStore { type Vtable = IWalletItemStore_Vtbl; } @@ -1625,6 +1484,7 @@ impl ::windows_core::RuntimeName for WalletManager { #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletRelevantLocation(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletRelevantLocation { @@ -1667,30 +1527,10 @@ impl WalletRelevantLocation { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletRelevantLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletRelevantLocation {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletRelevantLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletRelevantLocation").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletRelevantLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletRelevantLocation;{9fd8782a-e3f9-4de1-bab3-bb192e46b3f3})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletRelevantLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletRelevantLocation { type Vtable = IWalletRelevantLocation_Vtbl; } @@ -1711,6 +1551,7 @@ unsafe impl ::core::marker::Sync for WalletRelevantLocation {} #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletTransaction(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletTransaction { @@ -1816,30 +1657,10 @@ impl WalletTransaction { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletTransaction {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletTransaction").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletTransaction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletTransaction;{40e1e940-2606-4519-81cb-bff1c60d1f79})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletTransaction { type Vtable = IWalletTransaction_Vtbl; } @@ -1860,6 +1681,7 @@ unsafe impl ::core::marker::Sync for WalletTransaction {} #[doc = "*Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WalletVerb(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl WalletVerb { @@ -1894,30 +1716,10 @@ impl WalletVerb { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for WalletVerb { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for WalletVerb {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for WalletVerb { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WalletVerb").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for WalletVerb { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Wallet.WalletVerb;{17b826d6-e3c1-4c74-8a94-217aadbc4884})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for WalletVerb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for WalletVerb { type Vtable = IWalletVerb_Vtbl; } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs index db088dba2b..ed24e3fc21 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs @@ -27,8 +27,8 @@ impl IEnteredBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl ILeavingBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IPackageCatalogStatics2_Vtbl { OpenForPackage: OpenForPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl ISuspendingDeferral_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Complete: Complete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl ISuspendingEventArgs_Vtbl { SuspendingOperation: SuspendingOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -186,7 +186,7 @@ impl ISuspendingOperation_Vtbl { Deadline: Deadline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 51b031a442..4dcea8103d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -52,15 +52,11 @@ pub mod VoiceCommands; pub mod Wallet; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDisplayInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDisplayInfo { type Vtable = IAppDisplayInfo_Vtbl; } -impl ::core::clone::Clone for IAppDisplayInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDisplayInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1aeb1103_e4d4_41aa_a4f6_c4a276e79eac); } @@ -77,15 +73,11 @@ pub struct IAppDisplayInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInfo { type Vtable = IAppInfo_Vtbl; } -impl ::core::clone::Clone for IAppInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf7f59b3_6a09_4de8_a6c0_5792d56880d1); } @@ -100,15 +92,11 @@ pub struct IAppInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInfo2 { type Vtable = IAppInfo2_Vtbl; } -impl ::core::clone::Clone for IAppInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe4b1f5a_2098_431b_bd25_b30878748d47); } @@ -120,15 +108,11 @@ pub struct IAppInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInfo3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInfo3 { type Vtable = IAppInfo3_Vtbl; } -impl ::core::clone::Clone for IAppInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09a78e46_93a4_46de_9397_0843b57115ea); } @@ -140,15 +124,11 @@ pub struct IAppInfo3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInfo4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInfo4 { type Vtable = IAppInfo4_Vtbl; } -impl ::core::clone::Clone for IAppInfo4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInfo4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f34bdeb_1609_4554_9f33_12e1e803e0d4); } @@ -160,15 +140,11 @@ pub struct IAppInfo4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInfoStatics { type Vtable = IAppInfoStatics_Vtbl; } -impl ::core::clone::Clone for IAppInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf1f782a_e48b_4f0c_9b0b_79c3f8957dd7); } @@ -185,15 +161,11 @@ pub struct IAppInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallerInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallerInfo { type Vtable = IAppInstallerInfo_Vtbl; } -impl ::core::clone::Clone for IAppInstallerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29ab2ac0_d4f6_42a3_adcd_d6583c659508); } @@ -208,15 +180,11 @@ pub struct IAppInstallerInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallerInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallerInfo2 { type Vtable = IAppInstallerInfo2_Vtbl; } -impl ::core::clone::Clone for IAppInstallerInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallerInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd20f1388_8256_597c_8511_c84ec50d5e2b); } @@ -260,15 +228,11 @@ pub struct IAppInstallerInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstance(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstance { type Vtable = IAppInstance_Vtbl; } -impl ::core::clone::Clone for IAppInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x675f2b47_f25f_4532_9fd6_3633e0634d01); } @@ -282,15 +246,11 @@ pub struct IAppInstance_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstanceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstanceStatics { type Vtable = IAppInstanceStatics_Vtbl; } -impl ::core::clone::Clone for IAppInstanceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstanceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d11e77f_9ea6_47af_a6ec_46784c5ba254); } @@ -312,15 +272,11 @@ pub struct IAppInstanceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraApplicationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraApplicationManagerStatics { type Vtable = ICameraApplicationManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICameraApplicationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraApplicationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9599ddce_9bd3_435c_8054_c1add50028fe); } @@ -332,15 +288,11 @@ pub struct ICameraApplicationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesignModeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDesignModeStatics { type Vtable = IDesignModeStatics_Vtbl; } -impl ::core::clone::Clone for IDesignModeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesignModeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c3893cc_f81a_4e7a_b857_76a80887e185); } @@ -352,15 +304,11 @@ pub struct IDesignModeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesignModeStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDesignModeStatics2 { type Vtable = IDesignModeStatics2_Vtbl; } -impl ::core::clone::Clone for IDesignModeStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesignModeStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80cf8137_b064_4858_bec8_3eba22357535); } @@ -372,6 +320,7 @@ pub struct IDesignModeStatics2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnteredBackgroundEventArgs(::windows_core::IUnknown); impl IEnteredBackgroundEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -385,28 +334,12 @@ impl IEnteredBackgroundEventArgs { } } ::windows_core::imp::interface_hierarchy!(IEnteredBackgroundEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IEnteredBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnteredBackgroundEventArgs {} -impl ::core::fmt::Debug for IEnteredBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnteredBackgroundEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IEnteredBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f722dcc2-9827-403d-aaed-ecca9ac17398}"); } unsafe impl ::windows_core::Interface for IEnteredBackgroundEventArgs { type Vtable = IEnteredBackgroundEventArgs_Vtbl; } -impl ::core::clone::Clone for IEnteredBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnteredBackgroundEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf722dcc2_9827_403d_aaed_ecca9ac17398); } @@ -421,15 +354,11 @@ pub struct IEnteredBackgroundEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindRelatedPackagesOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFindRelatedPackagesOptions { type Vtable = IFindRelatedPackagesOptions_Vtbl; } -impl ::core::clone::Clone for IFindRelatedPackagesOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindRelatedPackagesOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41dd7eea_b335_521f_b96c_5ea07f5b7329); } @@ -450,15 +379,11 @@ pub struct IFindRelatedPackagesOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindRelatedPackagesOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFindRelatedPackagesOptionsFactory { type Vtable = IFindRelatedPackagesOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IFindRelatedPackagesOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindRelatedPackagesOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d17254_a4fd_55c4_98cf_f2710b7d8be2); } @@ -470,15 +395,11 @@ pub struct IFindRelatedPackagesOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullTrustProcessLaunchResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFullTrustProcessLaunchResult { type Vtable = IFullTrustProcessLaunchResult_Vtbl; } -impl ::core::clone::Clone for IFullTrustProcessLaunchResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullTrustProcessLaunchResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8917d888_edfb_515f_8e22_5ebceb69dfd9); } @@ -491,15 +412,11 @@ pub struct IFullTrustProcessLaunchResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullTrustProcessLauncherStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFullTrustProcessLauncherStatics { type Vtable = IFullTrustProcessLauncherStatics_Vtbl; } -impl ::core::clone::Clone for IFullTrustProcessLauncherStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullTrustProcessLauncherStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd784837f_1100_3c6b_a455_f6262cc331b6); } @@ -526,15 +443,11 @@ pub struct IFullTrustProcessLauncherStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullTrustProcessLauncherStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFullTrustProcessLauncherStatics2 { type Vtable = IFullTrustProcessLauncherStatics2_Vtbl; } -impl ::core::clone::Clone for IFullTrustProcessLauncherStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullTrustProcessLauncherStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b8ed72f_b65c_56cf_a1a7_2bf77cbc6ea8); } @@ -553,6 +466,7 @@ pub struct IFullTrustProcessLauncherStatics2_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILeavingBackgroundEventArgs(::windows_core::IUnknown); impl ILeavingBackgroundEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -566,28 +480,12 @@ impl ILeavingBackgroundEventArgs { } } ::windows_core::imp::interface_hierarchy!(ILeavingBackgroundEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILeavingBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILeavingBackgroundEventArgs {} -impl ::core::fmt::Debug for ILeavingBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILeavingBackgroundEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILeavingBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e}"); } unsafe impl ::windows_core::Interface for ILeavingBackgroundEventArgs { type Vtable = ILeavingBackgroundEventArgs_Vtbl; } -impl ::core::clone::Clone for ILeavingBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILeavingBackgroundEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e); } @@ -602,15 +500,11 @@ pub struct ILeavingBackgroundEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILimitedAccessFeatureRequestResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILimitedAccessFeatureRequestResult { type Vtable = ILimitedAccessFeatureRequestResult_Vtbl; } -impl ::core::clone::Clone for ILimitedAccessFeatureRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILimitedAccessFeatureRequestResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45156a6_1e24_5ddd_abb4_6188aba4d5bf); } @@ -627,15 +521,11 @@ pub struct ILimitedAccessFeatureRequestResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILimitedAccessFeaturesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILimitedAccessFeaturesStatics { type Vtable = ILimitedAccessFeaturesStatics_Vtbl; } -impl ::core::clone::Clone for ILimitedAccessFeaturesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILimitedAccessFeaturesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8be612d4_302b_5fbf_a632_1a99e43e8925); } @@ -647,15 +537,11 @@ pub struct ILimitedAccessFeaturesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage { type Vtable = IPackage_Vtbl; } -impl ::core::clone::Clone for IPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x163c792f_bd75_413c_bf23_b1fe7b95d825); } @@ -676,15 +562,11 @@ pub struct IPackage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage2 { type Vtable = IPackage2_Vtbl; } -impl ::core::clone::Clone for IPackage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6612fb6_7688_4ace_95fb_359538e7aa01); } @@ -705,15 +587,11 @@ pub struct IPackage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage3 { type Vtable = IPackage3_Vtbl; } -impl ::core::clone::Clone for IPackage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f738b61_f86a_4917_93d1_f1ee9d3b35d9); } @@ -733,15 +611,11 @@ pub struct IPackage3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage4 { type Vtable = IPackage4_Vtbl; } -impl ::core::clone::Clone for IPackage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65aed1ae_b95b_450c_882b_6255187f397e); } @@ -758,15 +632,11 @@ pub struct IPackage4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage5 { type Vtable = IPackage5_Vtbl; } -impl ::core::clone::Clone for IPackage5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e842dd4_d9ac_45ed_9a1e_74ce056b2635); } @@ -797,15 +667,11 @@ pub struct IPackage5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage6 { type Vtable = IPackage6_Vtbl; } -impl ::core::clone::Clone for IPackage6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b1ad942_12d7_4754_ae4e_638cbc0e3a2e); } @@ -821,15 +687,11 @@ pub struct IPackage6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage7 { type Vtable = IPackage7_Vtbl; } -impl ::core::clone::Clone for IPackage7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86ff8d31_a2e4_45e0_9732_283a6d88fde1); } @@ -848,15 +710,11 @@ pub struct IPackage7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage8(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage8 { type Vtable = IPackage8_Vtbl; } -impl ::core::clone::Clone for IPackage8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c584f7b_ce2a_4be6_a093_77cfbb2a7ea1); } @@ -894,15 +752,11 @@ pub struct IPackage8_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackage9(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackage9 { type Vtable = IPackage9_Vtbl; } -impl ::core::clone::Clone for IPackage9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackage9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5ab224f_d7e1_49ec_90ce_720cdbd02e9c); } @@ -918,15 +772,11 @@ pub struct IPackage9_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalog(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalog { type Vtable = IPackageCatalog_Vtbl; } -impl ::core::clone::Clone for IPackageCatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x230a3751_9de3_4445_be74_91fb325abefe); } @@ -977,15 +827,11 @@ pub struct IPackageCatalog_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalog2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalog2 { type Vtable = IPackageCatalog2_Vtbl; } -impl ::core::clone::Clone for IPackageCatalog2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalog2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96a60c36_8ff7_4344_b6bf_ee64c2207ed2); } @@ -1008,15 +854,11 @@ pub struct IPackageCatalog2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalog3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalog3 { type Vtable = IPackageCatalog3_Vtbl; } -impl ::core::clone::Clone for IPackageCatalog3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalog3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96dd5c88_8837_43f9_9015_033434ba14f3); } @@ -1031,15 +873,11 @@ pub struct IPackageCatalog3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalog4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalog4 { type Vtable = IPackageCatalog4_Vtbl; } -impl ::core::clone::Clone for IPackageCatalog4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalog4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc37c399b_44cc_4b7b_8baf_796c04ead3b9); } @@ -1058,15 +896,11 @@ pub struct IPackageCatalog4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogAddOptionalPackageResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalogAddOptionalPackageResult { type Vtable = IPackageCatalogAddOptionalPackageResult_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogAddOptionalPackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogAddOptionalPackageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bf10cd4_b4df_47b3_a963_e2fa832f7dd3); } @@ -1079,15 +913,11 @@ pub struct IPackageCatalogAddOptionalPackageResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogAddResourcePackageResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalogAddResourcePackageResult { type Vtable = IPackageCatalogAddResourcePackageResult_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogAddResourcePackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogAddResourcePackageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9636ce0d_3e17_493f_aa08_ccec6fdef699); } @@ -1101,15 +931,11 @@ pub struct IPackageCatalogAddResourcePackageResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogRemoveOptionalPackagesResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalogRemoveOptionalPackagesResult { type Vtable = IPackageCatalogRemoveOptionalPackagesResult_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogRemoveOptionalPackagesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogRemoveOptionalPackagesResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29d2f97b_d974_4e64_9359_22cadfd79828); } @@ -1125,15 +951,11 @@ pub struct IPackageCatalogRemoveOptionalPackagesResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogRemoveResourcePackagesResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalogRemoveResourcePackagesResult { type Vtable = IPackageCatalogRemoveResourcePackagesResult_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogRemoveResourcePackagesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogRemoveResourcePackagesResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae719709_1a52_4321_87b3_e5a1a17981a7); } @@ -1149,15 +971,11 @@ pub struct IPackageCatalogRemoveResourcePackagesResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageCatalogStatics { type Vtable = IPackageCatalogStatics_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa18c9696_e65b_4634_ba21_5e63eb7244a7); } @@ -1170,6 +988,7 @@ pub struct IPackageCatalogStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageCatalogStatics2(::windows_core::IUnknown); impl IPackageCatalogStatics2 { pub fn OpenForPackage(&self, package: P0) -> ::windows_core::Result @@ -1184,28 +1003,12 @@ impl IPackageCatalogStatics2 { } } ::windows_core::imp::interface_hierarchy!(IPackageCatalogStatics2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPackageCatalogStatics2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPackageCatalogStatics2 {} -impl ::core::fmt::Debug for IPackageCatalogStatics2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPackageCatalogStatics2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPackageCatalogStatics2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4c11c159-9a28-598c-b185-55e1899b2be4}"); } unsafe impl ::windows_core::Interface for IPackageCatalogStatics2 { type Vtable = IPackageCatalogStatics2_Vtbl; } -impl ::core::clone::Clone for IPackageCatalogStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageCatalogStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c11c159_9a28_598c_b185_55e1899b2be4); } @@ -1217,15 +1020,11 @@ pub struct IPackageCatalogStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageContentGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageContentGroup { type Vtable = IPackageContentGroup_Vtbl; } -impl ::core::clone::Clone for IPackageContentGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageContentGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f62695d_120a_4798_b5e1_5800dda8f2e1); } @@ -1240,15 +1039,11 @@ pub struct IPackageContentGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageContentGroupStagingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageContentGroupStagingEventArgs { type Vtable = IPackageContentGroupStagingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageContentGroupStagingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageContentGroupStagingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d7bc27e_6f27_446c_986e_d4733d4d9113); } @@ -1266,15 +1061,11 @@ pub struct IPackageContentGroupStagingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageContentGroupStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageContentGroupStatics { type Vtable = IPackageContentGroupStatics_Vtbl; } -impl ::core::clone::Clone for IPackageContentGroupStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageContentGroupStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70ee7619_5f12_4b92_b9ea_6ccada13bc75); } @@ -1286,15 +1077,11 @@ pub struct IPackageContentGroupStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageId { type Vtable = IPackageId_Vtbl; } -impl ::core::clone::Clone for IPackageId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1adb665e_37c7_4790_9980_dd7ae74e8bb2); } @@ -1316,15 +1103,11 @@ pub struct IPackageId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageIdWithMetadata(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageIdWithMetadata { type Vtable = IPackageIdWithMetadata_Vtbl; } -impl ::core::clone::Clone for IPackageIdWithMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageIdWithMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40577a7c_0c9e_443d_9074_855f5ce0a08d); } @@ -1337,15 +1120,11 @@ pub struct IPackageIdWithMetadata_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageInstallingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageInstallingEventArgs { type Vtable = IPackageInstallingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageInstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageInstallingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97741eb7_ab7a_401a_8b61_eb0e7faff237); } @@ -1361,15 +1140,11 @@ pub struct IPackageInstallingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageStagingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageStagingEventArgs { type Vtable = IPackageStagingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageStagingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageStagingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1041682d_54e2_4f51_b828_9ef7046c210f); } @@ -1385,15 +1160,11 @@ pub struct IPackageStagingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageStatics { type Vtable = IPackageStatics_Vtbl; } -impl ::core::clone::Clone for IPackageStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e534bdf_2960_4878_97a4_9624deb72f2d); } @@ -1405,15 +1176,11 @@ pub struct IPackageStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageStatus { type Vtable = IPackageStatus_Vtbl; } -impl ::core::clone::Clone for IPackageStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fe74f71_a365_4c09_a02d_046d525ea1da); } @@ -1436,15 +1203,11 @@ pub struct IPackageStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageStatus2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageStatus2 { type Vtable = IPackageStatus2_Vtbl; } -impl ::core::clone::Clone for IPackageStatus2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageStatus2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf428fa93_7c56_4862_acfa_abaedcc0694d); } @@ -1456,15 +1219,11 @@ pub struct IPackageStatus2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageStatusChangedEventArgs { type Vtable = IPackageStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x437d714d_bd80_4a70_bc50_f6e796509575); } @@ -1476,15 +1235,11 @@ pub struct IPackageStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageUninstallingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageUninstallingEventArgs { type Vtable = IPackageUninstallingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageUninstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageUninstallingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4443aa52_ab22_44cd_82bb_4ec9b827367a); } @@ -1500,15 +1255,11 @@ pub struct IPackageUninstallingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageUpdateAvailabilityResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageUpdateAvailabilityResult { type Vtable = IPackageUpdateAvailabilityResult_Vtbl; } -impl ::core::clone::Clone for IPackageUpdateAvailabilityResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageUpdateAvailabilityResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x114e5009_199a_48a1_a079_313c45634a71); } @@ -1521,15 +1272,11 @@ pub struct IPackageUpdateAvailabilityResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageUpdatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageUpdatingEventArgs { type Vtable = IPackageUpdatingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPackageUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageUpdatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd7b4228_fd74_443e_b114_23e677b0e86f); } @@ -1546,15 +1293,11 @@ pub struct IPackageUpdatingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageWithMetadata(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageWithMetadata { type Vtable = IPackageWithMetadata_Vtbl; } -impl ::core::clone::Clone for IPackageWithMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageWithMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95949780_1de9_40f2_b452_0de9f1910012); } @@ -1574,15 +1317,11 @@ pub struct IPackageWithMetadata_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartupTask(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStartupTask { type Vtable = IStartupTask_Vtbl; } -impl ::core::clone::Clone for IStartupTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartupTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf75c23c8_b5f2_4f6c_88dd_36cb1d599d17); } @@ -1600,15 +1339,11 @@ pub struct IStartupTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartupTaskStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStartupTaskStatics { type Vtable = IStartupTaskStatics_Vtbl; } -impl ::core::clone::Clone for IStartupTaskStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartupTaskStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee5b60bd_a148_41a7_b26e_e8b88a1e62f8); } @@ -1627,6 +1362,7 @@ pub struct IStartupTaskStatics_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISuspendingDeferral(::windows_core::IUnknown); impl ISuspendingDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1635,28 +1371,12 @@ impl ISuspendingDeferral { } } ::windows_core::imp::interface_hierarchy!(ISuspendingDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISuspendingDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISuspendingDeferral {} -impl ::core::fmt::Debug for ISuspendingDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISuspendingDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISuspendingDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{59140509-8bc9-4eb4-b636-dabdc4f46f66}"); } unsafe impl ::windows_core::Interface for ISuspendingDeferral { type Vtable = ISuspendingDeferral_Vtbl; } -impl ::core::clone::Clone for ISuspendingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISuspendingDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59140509_8bc9_4eb4_b636_dabdc4f46f66); } @@ -1668,6 +1388,7 @@ pub struct ISuspendingDeferral_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISuspendingEventArgs(::windows_core::IUnknown); impl ISuspendingEventArgs { pub fn SuspendingOperation(&self) -> ::windows_core::Result { @@ -1679,28 +1400,12 @@ impl ISuspendingEventArgs { } } ::windows_core::imp::interface_hierarchy!(ISuspendingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISuspendingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISuspendingEventArgs {} -impl ::core::fmt::Debug for ISuspendingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISuspendingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISuspendingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96061c05-2dba-4d08-b0bd-2b30a131c6aa}"); } unsafe impl ::windows_core::Interface for ISuspendingEventArgs { type Vtable = ISuspendingEventArgs_Vtbl; } -impl ::core::clone::Clone for ISuspendingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISuspendingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96061c05_2dba_4d08_b0bd_2b30a131c6aa); } @@ -1712,6 +1417,7 @@ pub struct ISuspendingEventArgs_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISuspendingOperation(::windows_core::IUnknown); impl ISuspendingOperation { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -1732,28 +1438,12 @@ impl ISuspendingOperation { } } ::windows_core::imp::interface_hierarchy!(ISuspendingOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISuspendingOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISuspendingOperation {} -impl ::core::fmt::Debug for ISuspendingOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISuspendingOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISuspendingOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9da4ca41-20e1-4e9b-9f65-a9f435340c3a}"); } unsafe impl ::windows_core::Interface for ISuspendingOperation { type Vtable = ISuspendingOperation_Vtbl; } -impl ::core::clone::Clone for ISuspendingOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISuspendingOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9da4ca41_20e1_4e9b_9f65_a9f435340c3a); } @@ -1769,6 +1459,7 @@ pub struct ISuspendingOperation_Vtbl { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppDisplayInfo(::windows_core::IUnknown); impl AppDisplayInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1795,25 +1486,9 @@ impl AppDisplayInfo { } } } -impl ::core::cmp::PartialEq for AppDisplayInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppDisplayInfo {} -impl ::core::fmt::Debug for AppDisplayInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppDisplayInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppDisplayInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppDisplayInfo;{1aeb1103-e4d4-41aa-a4f6-c4a276e79eac})"); } -impl ::core::clone::Clone for AppDisplayInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppDisplayInfo { type Vtable = IAppDisplayInfo_Vtbl; } @@ -1828,6 +1503,7 @@ unsafe impl ::core::marker::Send for AppDisplayInfo {} unsafe impl ::core::marker::Sync for AppDisplayInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInfo(::windows_core::IUnknown); impl AppInfo { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1908,25 +1584,9 @@ impl AppInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInfo {} -impl ::core::fmt::Debug for AppInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInfo;{cf7f59b3-6a09-4de8-a6c0-5792d56880d1})"); } -impl ::core::clone::Clone for AppInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInfo { type Vtable = IAppInfo_Vtbl; } @@ -1941,6 +1601,7 @@ unsafe impl ::core::marker::Send for AppInfo {} unsafe impl ::core::marker::Sync for AppInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallerInfo(::windows_core::IUnknown); impl AppInstallerInfo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2070,25 +1731,9 @@ impl AppInstallerInfo { } } } -impl ::core::cmp::PartialEq for AppInstallerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallerInfo {} -impl ::core::fmt::Debug for AppInstallerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallerInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallerInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstallerInfo;{29ab2ac0-d4f6-42a3-adcd-d6583c659508})"); } -impl ::core::clone::Clone for AppInstallerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallerInfo { type Vtable = IAppInstallerInfo_Vtbl; } @@ -2103,6 +1748,7 @@ unsafe impl ::core::marker::Send for AppInstallerInfo {} unsafe impl ::core::marker::Sync for AppInstallerInfo {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstance(::windows_core::IUnknown); impl AppInstance { pub fn Key(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2160,25 +1806,9 @@ impl AppInstance { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstance {} -impl ::core::fmt::Debug for AppInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.AppInstance;{675f2b47-f25f-4532-9fd6-3633e0634d01})"); } -impl ::core::clone::Clone for AppInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstance { type Vtable = IAppInstance_Vtbl; } @@ -2237,6 +1867,7 @@ impl ::windows_core::RuntimeName for DesignMode { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnteredBackgroundEventArgs(::windows_core::IUnknown); impl EnteredBackgroundEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2249,25 +1880,9 @@ impl EnteredBackgroundEventArgs { } } } -impl ::core::cmp::PartialEq for EnteredBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnteredBackgroundEventArgs {} -impl ::core::fmt::Debug for EnteredBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnteredBackgroundEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnteredBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); } -impl ::core::clone::Clone for EnteredBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnteredBackgroundEventArgs { type Vtable = IEnteredBackgroundEventArgs_Vtbl; } @@ -2283,6 +1898,7 @@ unsafe impl ::core::marker::Send for EnteredBackgroundEventArgs {} unsafe impl ::core::marker::Sync for EnteredBackgroundEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FindRelatedPackagesOptions(::windows_core::IUnknown); impl FindRelatedPackagesOptions { pub fn Relationship(&self) -> ::windows_core::Result { @@ -2352,25 +1968,9 @@ impl FindRelatedPackagesOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FindRelatedPackagesOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FindRelatedPackagesOptions {} -impl ::core::fmt::Debug for FindRelatedPackagesOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FindRelatedPackagesOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FindRelatedPackagesOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FindRelatedPackagesOptions;{41dd7eea-b335-521f-b96c-5ea07f5b7329})"); } -impl ::core::clone::Clone for FindRelatedPackagesOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FindRelatedPackagesOptions { type Vtable = IFindRelatedPackagesOptions_Vtbl; } @@ -2385,6 +1985,7 @@ unsafe impl ::core::marker::Send for FindRelatedPackagesOptions {} unsafe impl ::core::marker::Sync for FindRelatedPackagesOptions {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FullTrustProcessLaunchResult(::windows_core::IUnknown); impl FullTrustProcessLaunchResult { pub fn LaunchResult(&self) -> ::windows_core::Result { @@ -2402,25 +2003,9 @@ impl FullTrustProcessLaunchResult { } } } -impl ::core::cmp::PartialEq for FullTrustProcessLaunchResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FullTrustProcessLaunchResult {} -impl ::core::fmt::Debug for FullTrustProcessLaunchResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FullTrustProcessLaunchResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FullTrustProcessLaunchResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.FullTrustProcessLaunchResult;{8917d888-edfb-515f-8e22-5ebceb69dfd9})"); } -impl ::core::clone::Clone for FullTrustProcessLaunchResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FullTrustProcessLaunchResult { type Vtable = IFullTrustProcessLaunchResult_Vtbl; } @@ -2500,6 +2085,7 @@ impl ::windows_core::RuntimeName for FullTrustProcessLauncher { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LeavingBackgroundEventArgs(::windows_core::IUnknown); impl LeavingBackgroundEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2512,25 +2098,9 @@ impl LeavingBackgroundEventArgs { } } } -impl ::core::cmp::PartialEq for LeavingBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LeavingBackgroundEventArgs {} -impl ::core::fmt::Debug for LeavingBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LeavingBackgroundEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LeavingBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); } -impl ::core::clone::Clone for LeavingBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LeavingBackgroundEventArgs { type Vtable = ILeavingBackgroundEventArgs_Vtbl; } @@ -2546,6 +2116,7 @@ unsafe impl ::core::marker::Send for LeavingBackgroundEventArgs {} unsafe impl ::core::marker::Sync for LeavingBackgroundEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LimitedAccessFeatureRequestResult(::windows_core::IUnknown); impl LimitedAccessFeatureRequestResult { pub fn FeatureId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2572,25 +2143,9 @@ impl LimitedAccessFeatureRequestResult { } } } -impl ::core::cmp::PartialEq for LimitedAccessFeatureRequestResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LimitedAccessFeatureRequestResult {} -impl ::core::fmt::Debug for LimitedAccessFeatureRequestResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LimitedAccessFeatureRequestResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LimitedAccessFeatureRequestResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.LimitedAccessFeatureRequestResult;{d45156a6-1e24-5ddd-abb4-6188aba4d5bf})"); } -impl ::core::clone::Clone for LimitedAccessFeatureRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LimitedAccessFeatureRequestResult { type Vtable = ILimitedAccessFeatureRequestResult_Vtbl; } @@ -2623,6 +2178,7 @@ impl ::windows_core::RuntimeName for LimitedAccessFeatures { } #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Package(::windows_core::IUnknown); impl Package { pub fn Id(&self) -> ::windows_core::Result { @@ -2988,25 +2544,9 @@ impl Package { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Package { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Package {} -impl ::core::fmt::Debug for Package { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Package").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Package { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.Package;{163c792f-bd75-413c-bf23-b1fe7b95d825})"); } -impl ::core::clone::Clone for Package { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Package { type Vtable = IPackage_Vtbl; } @@ -3021,6 +2561,7 @@ unsafe impl ::core::marker::Send for Package {} unsafe impl ::core::marker::Sync for Package {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageCatalog(::windows_core::IUnknown); impl PackageCatalog { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3205,25 +2746,9 @@ impl PackageCatalog { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PackageCatalog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageCatalog {} -impl ::core::fmt::Debug for PackageCatalog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageCatalog").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageCatalog { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalog;{230a3751-9de3-4445-be74-91fb325abefe})"); } -impl ::core::clone::Clone for PackageCatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageCatalog { type Vtable = IPackageCatalog_Vtbl; } @@ -3236,6 +2761,7 @@ impl ::windows_core::RuntimeName for PackageCatalog { ::windows_core::imp::interface_hierarchy!(PackageCatalog, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageCatalogAddOptionalPackageResult(::windows_core::IUnknown); impl PackageCatalogAddOptionalPackageResult { pub fn Package(&self) -> ::windows_core::Result { @@ -3253,25 +2779,9 @@ impl PackageCatalogAddOptionalPackageResult { } } } -impl ::core::cmp::PartialEq for PackageCatalogAddOptionalPackageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageCatalogAddOptionalPackageResult {} -impl ::core::fmt::Debug for PackageCatalogAddOptionalPackageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageCatalogAddOptionalPackageResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageCatalogAddOptionalPackageResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult;{3bf10cd4-b4df-47b3-a963-e2fa832f7dd3})"); } -impl ::core::clone::Clone for PackageCatalogAddOptionalPackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageCatalogAddOptionalPackageResult { type Vtable = IPackageCatalogAddOptionalPackageResult_Vtbl; } @@ -3284,6 +2794,7 @@ impl ::windows_core::RuntimeName for PackageCatalogAddOptionalPackageResult { ::windows_core::imp::interface_hierarchy!(PackageCatalogAddOptionalPackageResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageCatalogAddResourcePackageResult(::windows_core::IUnknown); impl PackageCatalogAddResourcePackageResult { pub fn Package(&self) -> ::windows_core::Result { @@ -3308,25 +2819,9 @@ impl PackageCatalogAddResourcePackageResult { } } } -impl ::core::cmp::PartialEq for PackageCatalogAddResourcePackageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageCatalogAddResourcePackageResult {} -impl ::core::fmt::Debug for PackageCatalogAddResourcePackageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageCatalogAddResourcePackageResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageCatalogAddResourcePackageResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogAddResourcePackageResult;{9636ce0d-3e17-493f-aa08-ccec6fdef699})"); } -impl ::core::clone::Clone for PackageCatalogAddResourcePackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageCatalogAddResourcePackageResult { type Vtable = IPackageCatalogAddResourcePackageResult_Vtbl; } @@ -3341,6 +2836,7 @@ unsafe impl ::core::marker::Send for PackageCatalogAddResourcePackageResult {} unsafe impl ::core::marker::Sync for PackageCatalogAddResourcePackageResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageCatalogRemoveOptionalPackagesResult(::windows_core::IUnknown); impl PackageCatalogRemoveOptionalPackagesResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3360,25 +2856,9 @@ impl PackageCatalogRemoveOptionalPackagesResult { } } } -impl ::core::cmp::PartialEq for PackageCatalogRemoveOptionalPackagesResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageCatalogRemoveOptionalPackagesResult {} -impl ::core::fmt::Debug for PackageCatalogRemoveOptionalPackagesResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageCatalogRemoveOptionalPackagesResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageCatalogRemoveOptionalPackagesResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult;{29d2f97b-d974-4e64-9359-22cadfd79828})"); } -impl ::core::clone::Clone for PackageCatalogRemoveOptionalPackagesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageCatalogRemoveOptionalPackagesResult { type Vtable = IPackageCatalogRemoveOptionalPackagesResult_Vtbl; } @@ -3391,6 +2871,7 @@ impl ::windows_core::RuntimeName for PackageCatalogRemoveOptionalPackagesResult ::windows_core::imp::interface_hierarchy!(PackageCatalogRemoveOptionalPackagesResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageCatalogRemoveResourcePackagesResult(::windows_core::IUnknown); impl PackageCatalogRemoveResourcePackagesResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3410,25 +2891,9 @@ impl PackageCatalogRemoveResourcePackagesResult { } } } -impl ::core::cmp::PartialEq for PackageCatalogRemoveResourcePackagesResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageCatalogRemoveResourcePackagesResult {} -impl ::core::fmt::Debug for PackageCatalogRemoveResourcePackagesResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageCatalogRemoveResourcePackagesResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageCatalogRemoveResourcePackagesResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult;{ae719709-1a52-4321-87b3-e5a1a17981a7})"); } -impl ::core::clone::Clone for PackageCatalogRemoveResourcePackagesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageCatalogRemoveResourcePackagesResult { type Vtable = IPackageCatalogRemoveResourcePackagesResult_Vtbl; } @@ -3443,6 +2908,7 @@ unsafe impl ::core::marker::Send for PackageCatalogRemoveResourcePackagesResult unsafe impl ::core::marker::Sync for PackageCatalogRemoveResourcePackagesResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageContentGroup(::windows_core::IUnknown); impl PackageContentGroup { pub fn Package(&self) -> ::windows_core::Result { @@ -3485,25 +2951,9 @@ impl PackageContentGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PackageContentGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageContentGroup {} -impl ::core::fmt::Debug for PackageContentGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageContentGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageContentGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroup;{8f62695d-120a-4798-b5e1-5800dda8f2e1})"); } -impl ::core::clone::Clone for PackageContentGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageContentGroup { type Vtable = IPackageContentGroup_Vtbl; } @@ -3518,6 +2968,7 @@ unsafe impl ::core::marker::Send for PackageContentGroup {} unsafe impl ::core::marker::Sync for PackageContentGroup {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageContentGroupStagingEventArgs(::windows_core::IUnknown); impl PackageContentGroupStagingEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3570,25 +3021,9 @@ impl PackageContentGroupStagingEventArgs { } } } -impl ::core::cmp::PartialEq for PackageContentGroupStagingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageContentGroupStagingEventArgs {} -impl ::core::fmt::Debug for PackageContentGroupStagingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageContentGroupStagingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageContentGroupStagingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageContentGroupStagingEventArgs;{3d7bc27e-6f27-446c-986e-d4733d4d9113})"); } -impl ::core::clone::Clone for PackageContentGroupStagingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageContentGroupStagingEventArgs { type Vtable = IPackageContentGroupStagingEventArgs_Vtbl; } @@ -3603,6 +3038,7 @@ unsafe impl ::core::marker::Send for PackageContentGroupStagingEventArgs {} unsafe impl ::core::marker::Sync for PackageContentGroupStagingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageId(::windows_core::IUnknown); impl PackageId { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3678,25 +3114,9 @@ impl PackageId { } } } -impl ::core::cmp::PartialEq for PackageId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageId {} -impl ::core::fmt::Debug for PackageId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageId;{1adb665e-37c7-4790-9980-dd7ae74e8bb2})"); } -impl ::core::clone::Clone for PackageId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageId { type Vtable = IPackageId_Vtbl; } @@ -3711,6 +3131,7 @@ unsafe impl ::core::marker::Send for PackageId {} unsafe impl ::core::marker::Sync for PackageId {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageInstallingEventArgs(::windows_core::IUnknown); impl PackageInstallingEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3749,25 +3170,9 @@ impl PackageInstallingEventArgs { } } } -impl ::core::cmp::PartialEq for PackageInstallingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageInstallingEventArgs {} -impl ::core::fmt::Debug for PackageInstallingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageInstallingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageInstallingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageInstallingEventArgs;{97741eb7-ab7a-401a-8b61-eb0e7faff237})"); } -impl ::core::clone::Clone for PackageInstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageInstallingEventArgs { type Vtable = IPackageInstallingEventArgs_Vtbl; } @@ -3782,6 +3187,7 @@ unsafe impl ::core::marker::Send for PackageInstallingEventArgs {} unsafe impl ::core::marker::Sync for PackageInstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageStagingEventArgs(::windows_core::IUnknown); impl PackageStagingEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3820,25 +3226,9 @@ impl PackageStagingEventArgs { } } } -impl ::core::cmp::PartialEq for PackageStagingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageStagingEventArgs {} -impl ::core::fmt::Debug for PackageStagingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageStagingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageStagingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStagingEventArgs;{1041682d-54e2-4f51-b828-9ef7046c210f})"); } -impl ::core::clone::Clone for PackageStagingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageStagingEventArgs { type Vtable = IPackageStagingEventArgs_Vtbl; } @@ -3853,6 +3243,7 @@ unsafe impl ::core::marker::Send for PackageStagingEventArgs {} unsafe impl ::core::marker::Sync for PackageStagingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageStatus(::windows_core::IUnknown); impl PackageStatus { pub fn VerifyIsOK(&self) -> ::windows_core::Result { @@ -3947,25 +3338,9 @@ impl PackageStatus { } } } -impl ::core::cmp::PartialEq for PackageStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageStatus {} -impl ::core::fmt::Debug for PackageStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatus;{5fe74f71-a365-4c09-a02d-046d525ea1da})"); } -impl ::core::clone::Clone for PackageStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageStatus { type Vtable = IPackageStatus_Vtbl; } @@ -3980,6 +3355,7 @@ unsafe impl ::core::marker::Send for PackageStatus {} unsafe impl ::core::marker::Sync for PackageStatus {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageStatusChangedEventArgs(::windows_core::IUnknown); impl PackageStatusChangedEventArgs { pub fn Package(&self) -> ::windows_core::Result { @@ -3990,25 +3366,9 @@ impl PackageStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PackageStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageStatusChangedEventArgs {} -impl ::core::fmt::Debug for PackageStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageStatusChangedEventArgs;{437d714d-bd80-4a70-bc50-f6e796509575})"); } -impl ::core::clone::Clone for PackageStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageStatusChangedEventArgs { type Vtable = IPackageStatusChangedEventArgs_Vtbl; } @@ -4023,6 +3383,7 @@ unsafe impl ::core::marker::Send for PackageStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for PackageStatusChangedEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageUninstallingEventArgs(::windows_core::IUnknown); impl PackageUninstallingEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4061,25 +3422,9 @@ impl PackageUninstallingEventArgs { } } } -impl ::core::cmp::PartialEq for PackageUninstallingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageUninstallingEventArgs {} -impl ::core::fmt::Debug for PackageUninstallingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageUninstallingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageUninstallingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUninstallingEventArgs;{4443aa52-ab22-44cd-82bb-4ec9b827367a})"); } -impl ::core::clone::Clone for PackageUninstallingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageUninstallingEventArgs { type Vtable = IPackageUninstallingEventArgs_Vtbl; } @@ -4094,6 +3439,7 @@ unsafe impl ::core::marker::Send for PackageUninstallingEventArgs {} unsafe impl ::core::marker::Sync for PackageUninstallingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageUpdateAvailabilityResult(::windows_core::IUnknown); impl PackageUpdateAvailabilityResult { pub fn Availability(&self) -> ::windows_core::Result { @@ -4111,25 +3457,9 @@ impl PackageUpdateAvailabilityResult { } } } -impl ::core::cmp::PartialEq for PackageUpdateAvailabilityResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageUpdateAvailabilityResult {} -impl ::core::fmt::Debug for PackageUpdateAvailabilityResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageUpdateAvailabilityResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageUpdateAvailabilityResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdateAvailabilityResult;{114e5009-199a-48a1-a079-313c45634a71})"); } -impl ::core::clone::Clone for PackageUpdateAvailabilityResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageUpdateAvailabilityResult { type Vtable = IPackageUpdateAvailabilityResult_Vtbl; } @@ -4144,6 +3474,7 @@ unsafe impl ::core::marker::Send for PackageUpdateAvailabilityResult {} unsafe impl ::core::marker::Sync for PackageUpdateAvailabilityResult {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageUpdatingEventArgs(::windows_core::IUnknown); impl PackageUpdatingEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4189,25 +3520,9 @@ impl PackageUpdatingEventArgs { } } } -impl ::core::cmp::PartialEq for PackageUpdatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageUpdatingEventArgs {} -impl ::core::fmt::Debug for PackageUpdatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageUpdatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageUpdatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.PackageUpdatingEventArgs;{cd7b4228-fd74-443e-b114-23e677b0e86f})"); } -impl ::core::clone::Clone for PackageUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageUpdatingEventArgs { type Vtable = IPackageUpdatingEventArgs_Vtbl; } @@ -4222,6 +3537,7 @@ unsafe impl ::core::marker::Send for PackageUpdatingEventArgs {} unsafe impl ::core::marker::Sync for PackageUpdatingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StartupTask(::windows_core::IUnknown); impl StartupTask { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4273,25 +3589,9 @@ impl StartupTask { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StartupTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StartupTask {} -impl ::core::fmt::Debug for StartupTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StartupTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StartupTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.StartupTask;{f75c23c8-b5f2-4f6c-88dd-36cb1d599d17})"); } -impl ::core::clone::Clone for StartupTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StartupTask { type Vtable = IStartupTask_Vtbl; } @@ -4306,6 +3606,7 @@ unsafe impl ::core::marker::Send for StartupTask {} unsafe impl ::core::marker::Sync for StartupTask {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SuspendingDeferral(::windows_core::IUnknown); impl SuspendingDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -4313,25 +3614,9 @@ impl SuspendingDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SuspendingDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SuspendingDeferral {} -impl ::core::fmt::Debug for SuspendingDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SuspendingDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); } -impl ::core::clone::Clone for SuspendingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SuspendingDeferral { type Vtable = ISuspendingDeferral_Vtbl; } @@ -4347,6 +3632,7 @@ unsafe impl ::core::marker::Send for SuspendingDeferral {} unsafe impl ::core::marker::Sync for SuspendingDeferral {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SuspendingEventArgs(::windows_core::IUnknown); impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> ::windows_core::Result { @@ -4357,25 +3643,9 @@ impl SuspendingEventArgs { } } } -impl ::core::cmp::PartialEq for SuspendingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SuspendingEventArgs {} -impl ::core::fmt::Debug for SuspendingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SuspendingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); } -impl ::core::clone::Clone for SuspendingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SuspendingEventArgs { type Vtable = ISuspendingEventArgs_Vtbl; } @@ -4391,6 +3661,7 @@ unsafe impl ::core::marker::Send for SuspendingEventArgs {} unsafe impl ::core::marker::Sync for SuspendingEventArgs {} #[doc = "*Required features: `\"ApplicationModel\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SuspendingOperation(::windows_core::IUnknown); impl SuspendingOperation { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -4410,25 +3681,9 @@ impl SuspendingOperation { } } } -impl ::core::cmp::PartialEq for SuspendingOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SuspendingOperation {} -impl ::core::fmt::Debug for SuspendingOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SuspendingOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.ApplicationModel.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); } -impl ::core::clone::Clone for SuspendingOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SuspendingOperation { type Vtable = ISuspendingOperation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index 2042990793..783dba0115 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHtmlUtilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHtmlUtilities { type Vtable = IHtmlUtilities_Vtbl; } -impl ::core::clone::Clone for IHtmlUtilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHtmlUtilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfec00add_2399_4fac_b5a7_05e9acd7181d); } diff --git a/crates/libs/windows/src/Windows/Data/Json/impl.rs b/crates/libs/windows/src/Windows/Data/Json/impl.rs index 624699842a..cbb168eeb7 100644 --- a/crates/libs/windows/src/Windows/Data/Json/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Json/impl.rs @@ -105,7 +105,7 @@ impl IJsonValue_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 48e8d7a5f3..533a255eb8 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonArray(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonArray { type Vtable = IJsonArray_Vtbl; } -impl ::core::clone::Clone for IJsonArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08c1ddb6_0cbd_4a9a_b5d3_2f852dc37e81); } @@ -24,15 +20,11 @@ pub struct IJsonArray_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonArrayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonArrayStatics { type Vtable = IJsonArrayStatics_Vtbl; } -impl ::core::clone::Clone for IJsonArrayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonArrayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb1434a9_e164_499f_93e2_8a8f49bb90ba); } @@ -45,15 +37,11 @@ pub struct IJsonArrayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonErrorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonErrorStatics2 { type Vtable = IJsonErrorStatics2_Vtbl; } -impl ::core::clone::Clone for IJsonErrorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonErrorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x404030da_87d0_436c_83ab_fc7b12c0cc26); } @@ -65,15 +53,11 @@ pub struct IJsonErrorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonObject { type Vtable = IJsonObject_Vtbl; } -impl ::core::clone::Clone for IJsonObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x064e24dd_29c2_4f83_9ac1_9ee11578beb3); } @@ -91,15 +75,11 @@ pub struct IJsonObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonObjectStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonObjectStatics { type Vtable = IJsonObjectStatics_Vtbl; } -impl ::core::clone::Clone for IJsonObjectStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonObjectStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2289f159_54de_45d8_abcc_22603fa066a0); } @@ -112,15 +92,11 @@ pub struct IJsonObjectStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonObjectWithDefaultValues(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonObjectWithDefaultValues { type Vtable = IJsonObjectWithDefaultValues_Vtbl; } -impl ::core::clone::Clone for IJsonObjectWithDefaultValues { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonObjectWithDefaultValues { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd960d2a2_b7f0_4f00_8e44_d82cf415ea13); } @@ -137,6 +113,7 @@ pub struct IJsonObjectWithDefaultValues_Vtbl { } #[doc = "*Required features: `\"Data_Json\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonValue(::windows_core::IUnknown); impl IJsonValue { pub fn ValueType(&self) -> ::windows_core::Result { @@ -190,28 +167,12 @@ impl IJsonValue { } } ::windows_core::imp::interface_hierarchy!(IJsonValue, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IJsonValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsonValue {} -impl ::core::fmt::Debug for IJsonValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsonValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IJsonValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e}"); } unsafe impl ::windows_core::Interface for IJsonValue { type Vtable = IJsonValue_Vtbl; } -impl ::core::clone::Clone for IJsonValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e); } @@ -229,15 +190,11 @@ pub struct IJsonValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonValueStatics { type Vtable = IJsonValueStatics_Vtbl; } -impl ::core::clone::Clone for IJsonValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f6b544a_2f53_48e1_91a3_f78b50a6345c); } @@ -253,15 +210,11 @@ pub struct IJsonValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsonValueStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJsonValueStatics2 { type Vtable = IJsonValueStatics2_Vtbl; } -impl ::core::clone::Clone for IJsonValueStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsonValueStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d9ecbe4_3fe8_4335_8392_93d8e36865f0); } @@ -273,6 +226,7 @@ pub struct IJsonValueStatics2_Vtbl { } #[doc = "*Required features: `\"Data_Json\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JsonArray(::windows_core::IUnknown); impl JsonArray { pub fn new() -> ::windows_core::Result { @@ -501,25 +455,9 @@ impl JsonArray { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for JsonArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JsonArray {} -impl ::core::fmt::Debug for JsonArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JsonArray").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JsonArray { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonArray;{08c1ddb6-0cbd-4a9a-b5d3-2f852dc37e81})"); } -impl ::core::clone::Clone for JsonArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JsonArray { type Vtable = IJsonArray_Vtbl; } @@ -575,6 +513,7 @@ impl ::windows_core::RuntimeName for JsonError { } #[doc = "*Required features: `\"Data_Json\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JsonObject(::windows_core::IUnknown); impl JsonObject { pub fn new() -> ::windows_core::Result { @@ -829,25 +768,9 @@ impl JsonObject { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for JsonObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JsonObject {} -impl ::core::fmt::Debug for JsonObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JsonObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JsonObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonObject;{064e24dd-29c2-4f83-9ac1-9ee11578beb3})"); } -impl ::core::clone::Clone for JsonObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JsonObject { type Vtable = IJsonObject_Vtbl; } @@ -885,6 +808,7 @@ unsafe impl ::core::marker::Send for JsonObject {} unsafe impl ::core::marker::Sync for JsonObject {} #[doc = "*Required features: `\"Data_Json\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JsonValue(::windows_core::IUnknown); impl JsonValue { pub fn ValueType(&self) -> ::windows_core::Result { @@ -992,25 +916,9 @@ impl JsonValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for JsonValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JsonValue {} -impl ::core::fmt::Debug for JsonValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JsonValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JsonValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Json.JsonValue;{a3219ecb-f0b3-4dcd-beee-19d48cd3ed1e})"); } -impl ::core::clone::Clone for JsonValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JsonValue { type Vtable = IJsonValue_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index 0bc03699f9..b62fa7e2a1 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfDocument(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdfDocument { type Vtable = IPdfDocument_Vtbl; } -impl ::core::clone::Clone for IPdfDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac7ebedd_80fa_4089_846e_81b77ff5a86c); } @@ -22,15 +18,11 @@ pub struct IPdfDocument_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfDocumentStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdfDocumentStatics { type Vtable = IPdfDocumentStatics_Vtbl; } -impl ::core::clone::Clone for IPdfDocumentStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfDocumentStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x433a0b5f_c007_4788_90f2_08143d922599); } @@ -57,15 +49,11 @@ pub struct IPdfDocumentStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfPage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdfPage { type Vtable = IPdfPage_Vtbl; } -impl ::core::clone::Clone for IPdfPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfPage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9db4b0c8_5320_4cfc_ad76_493fdad0e594); } @@ -96,15 +84,11 @@ pub struct IPdfPage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfPageDimensions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdfPageDimensions { type Vtable = IPdfPageDimensions_Vtbl; } -impl ::core::clone::Clone for IPdfPageDimensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfPageDimensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22170471_313e_44e8_835d_63a3e7624a10); } @@ -135,15 +119,11 @@ pub struct IPdfPageDimensions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfPageRenderOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdfPageRenderOptions { type Vtable = IPdfPageRenderOptions_Vtbl; } -impl ::core::clone::Clone for IPdfPageRenderOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfPageRenderOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c98056f_b7cf_4c29_9a04_52d90267f425); } @@ -178,6 +158,7 @@ pub struct IPdfPageRenderOptions_Vtbl { } #[doc = "*Required features: `\"Data_Pdf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdfDocument(::windows_core::IUnknown); impl PdfDocument { pub fn GetPage(&self, pageindex: u32) -> ::windows_core::Result { @@ -251,25 +232,9 @@ impl PdfDocument { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PdfDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdfDocument {} -impl ::core::fmt::Debug for PdfDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdfDocument").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdfDocument { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfDocument;{ac7ebedd-80fa-4089-846e-81b77ff5a86c})"); } -impl ::core::clone::Clone for PdfDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdfDocument { type Vtable = IPdfDocument_Vtbl; } @@ -284,6 +249,7 @@ unsafe impl ::core::marker::Send for PdfDocument {} unsafe impl ::core::marker::Sync for PdfDocument {} #[doc = "*Required features: `\"Data_Pdf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdfPage(::windows_core::IUnknown); impl PdfPage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -364,25 +330,9 @@ impl PdfPage { } } } -impl ::core::cmp::PartialEq for PdfPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdfPage {} -impl ::core::fmt::Debug for PdfPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdfPage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdfPage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPage;{9db4b0c8-5320-4cfc-ad76-493fdad0e594})"); } -impl ::core::clone::Clone for PdfPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdfPage { type Vtable = IPdfPage_Vtbl; } @@ -399,6 +349,7 @@ unsafe impl ::core::marker::Send for PdfPage {} unsafe impl ::core::marker::Sync for PdfPage {} #[doc = "*Required features: `\"Data_Pdf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdfPageDimensions(::windows_core::IUnknown); impl PdfPageDimensions { #[doc = "*Required features: `\"Foundation\"`*"] @@ -447,25 +398,9 @@ impl PdfPageDimensions { } } } -impl ::core::cmp::PartialEq for PdfPageDimensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdfPageDimensions {} -impl ::core::fmt::Debug for PdfPageDimensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdfPageDimensions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdfPageDimensions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageDimensions;{22170471-313e-44e8-835d-63a3e7624a10})"); } -impl ::core::clone::Clone for PdfPageDimensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdfPageDimensions { type Vtable = IPdfPageDimensions_Vtbl; } @@ -480,6 +415,7 @@ unsafe impl ::core::marker::Send for PdfPageDimensions {} unsafe impl ::core::marker::Sync for PdfPageDimensions {} #[doc = "*Required features: `\"Data_Pdf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdfPageRenderOptions(::windows_core::IUnknown); impl PdfPageRenderOptions { pub fn new() -> ::windows_core::Result { @@ -564,25 +500,9 @@ impl PdfPageRenderOptions { unsafe { (::windows_core::Interface::vtable(this).SetBitmapEncoderId)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PdfPageRenderOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdfPageRenderOptions {} -impl ::core::fmt::Debug for PdfPageRenderOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdfPageRenderOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdfPageRenderOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Pdf.PdfPageRenderOptions;{3c98056f-b7cf-4c29-9a04-52d90267f425})"); } -impl ::core::clone::Clone for PdfPageRenderOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdfPageRenderOptions { type Vtable = IPdfPageRenderOptions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index 410ae8d5d9..841a96a960 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlternateWordForm(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAlternateWordForm { type Vtable = IAlternateWordForm_Vtbl; } -impl ::core::clone::Clone for IAlternateWordForm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlternateWordForm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47396c1e_51b9_4207_9146_248e636a1d1d); } @@ -22,15 +18,11 @@ pub struct IAlternateWordForm_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectableWordSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISelectableWordSegment { type Vtable = ISelectableWordSegment_Vtbl; } -impl ::core::clone::Clone for ISelectableWordSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectableWordSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x916a4cb7_8aa7_4c78_b374_5dedb752e60b); } @@ -43,15 +35,11 @@ pub struct ISelectableWordSegment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectableWordsSegmenter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISelectableWordsSegmenter { type Vtable = ISelectableWordsSegmenter_Vtbl; } -impl ::core::clone::Clone for ISelectableWordsSegmenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectableWordsSegmenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6dc31e7_4b13_45c5_8897_7d71269e085d); } @@ -72,15 +60,11 @@ pub struct ISelectableWordsSegmenter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectableWordsSegmenterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISelectableWordsSegmenterFactory { type Vtable = ISelectableWordsSegmenterFactory_Vtbl; } -impl ::core::clone::Clone for ISelectableWordsSegmenterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectableWordsSegmenterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c7a7648_6057_4339_bc70_f210010a4150); } @@ -92,15 +76,11 @@ pub struct ISelectableWordsSegmenterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISemanticTextQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISemanticTextQuery { type Vtable = ISemanticTextQuery_Vtbl; } -impl ::core::clone::Clone for ISemanticTextQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISemanticTextQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a1cab51_1fb2_4909_80b8_35731a2b3e7f); } @@ -119,15 +99,11 @@ pub struct ISemanticTextQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISemanticTextQueryFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISemanticTextQueryFactory { type Vtable = ISemanticTextQueryFactory_Vtbl; } -impl ::core::clone::Clone for ISemanticTextQueryFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISemanticTextQueryFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x238c0503_f995_4587_8777_a2b7d80acfef); } @@ -140,15 +116,11 @@ pub struct ISemanticTextQueryFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextConversionGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextConversionGenerator { type Vtable = ITextConversionGenerator_Vtbl; } -impl ::core::clone::Clone for ITextConversionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextConversionGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03606a5e_2aa9_4ab6_af8b_a562b63a8992); } @@ -169,15 +141,11 @@ pub struct ITextConversionGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextConversionGeneratorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextConversionGeneratorFactory { type Vtable = ITextConversionGeneratorFactory_Vtbl; } -impl ::core::clone::Clone for ITextConversionGeneratorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextConversionGeneratorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcaa3781_3083_49ab_be15_56dfbbb74d6f); } @@ -189,15 +157,11 @@ pub struct ITextConversionGeneratorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPhoneme(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextPhoneme { type Vtable = ITextPhoneme_Vtbl; } -impl ::core::clone::Clone for ITextPhoneme { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextPhoneme { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9362a40a_9b7a_4569_94cf_d84f2f38cf9b); } @@ -210,15 +174,11 @@ pub struct ITextPhoneme_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPredictionGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextPredictionGenerator { type Vtable = ITextPredictionGenerator_Vtbl; } -impl ::core::clone::Clone for ITextPredictionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextPredictionGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5eacab07_abf1_4cb6_9d9e_326f2b468756); } @@ -239,15 +199,11 @@ pub struct ITextPredictionGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPredictionGenerator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextPredictionGenerator2 { type Vtable = ITextPredictionGenerator2_Vtbl; } -impl ::core::clone::Clone for ITextPredictionGenerator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextPredictionGenerator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb84723b8_2c77_486a_900a_a3453eedc15d); } @@ -274,15 +230,11 @@ pub struct ITextPredictionGenerator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPredictionGeneratorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextPredictionGeneratorFactory { type Vtable = ITextPredictionGeneratorFactory_Vtbl; } -impl ::core::clone::Clone for ITextPredictionGeneratorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextPredictionGeneratorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7257b416_8ba2_4751_9d30_9d85435653a2); } @@ -294,15 +246,11 @@ pub struct ITextPredictionGeneratorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextReverseConversionGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextReverseConversionGenerator { type Vtable = ITextReverseConversionGenerator_Vtbl; } -impl ::core::clone::Clone for ITextReverseConversionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextReverseConversionGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51e7f514_9c51_4d86_ae1b_b498fbad8313); } @@ -319,15 +267,11 @@ pub struct ITextReverseConversionGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextReverseConversionGenerator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextReverseConversionGenerator2 { type Vtable = ITextReverseConversionGenerator2_Vtbl; } -impl ::core::clone::Clone for ITextReverseConversionGenerator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextReverseConversionGenerator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1aafd2ec_85d6_46fd_828a_3a4830fa6e18); } @@ -342,15 +286,11 @@ pub struct ITextReverseConversionGenerator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextReverseConversionGeneratorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextReverseConversionGeneratorFactory { type Vtable = ITextReverseConversionGeneratorFactory_Vtbl; } -impl ::core::clone::Clone for ITextReverseConversionGeneratorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextReverseConversionGeneratorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63bed326_1fda_41f6_89d5_23ddea3c729a); } @@ -362,15 +302,11 @@ pub struct ITextReverseConversionGeneratorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnicodeCharactersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnicodeCharactersStatics { type Vtable = IUnicodeCharactersStatics_Vtbl; } -impl ::core::clone::Clone for IUnicodeCharactersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnicodeCharactersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97909e87_9291_4f91_b6c8_b6e359d7a7fb); } @@ -398,15 +334,11 @@ pub struct IUnicodeCharactersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWordSegment { type Vtable = IWordSegment_Vtbl; } -impl ::core::clone::Clone for IWordSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2d4ba6d_987c_4cc0_b6bd_d49a11b38f9a); } @@ -423,15 +355,11 @@ pub struct IWordSegment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordsSegmenter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWordsSegmenter { type Vtable = IWordsSegmenter_Vtbl; } -impl ::core::clone::Clone for IWordsSegmenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordsSegmenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86b4d4d1_b2fe_4e34_a81d_66640300454f); } @@ -452,15 +380,11 @@ pub struct IWordsSegmenter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordsSegmenterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWordsSegmenterFactory { type Vtable = IWordsSegmenterFactory_Vtbl; } -impl ::core::clone::Clone for IWordsSegmenterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordsSegmenterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6977274_fc35_455c_8bfb_6d7f4653ca97); } @@ -472,6 +396,7 @@ pub struct IWordsSegmenterFactory_Vtbl { } #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AlternateWordForm(::windows_core::IUnknown); impl AlternateWordForm { pub fn SourceTextSegment(&self) -> ::windows_core::Result { @@ -496,25 +421,9 @@ impl AlternateWordForm { } } } -impl ::core::cmp::PartialEq for AlternateWordForm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AlternateWordForm {} -impl ::core::fmt::Debug for AlternateWordForm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AlternateWordForm").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AlternateWordForm { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.AlternateWordForm;{47396c1e-51b9-4207-9146-248e636a1d1d})"); } -impl ::core::clone::Clone for AlternateWordForm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AlternateWordForm { type Vtable = IAlternateWordForm_Vtbl; } @@ -529,6 +438,7 @@ unsafe impl ::core::marker::Send for AlternateWordForm {} unsafe impl ::core::marker::Sync for AlternateWordForm {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SelectableWordSegment(::windows_core::IUnknown); impl SelectableWordSegment { pub fn Text(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -546,25 +456,9 @@ impl SelectableWordSegment { } } } -impl ::core::cmp::PartialEq for SelectableWordSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SelectableWordSegment {} -impl ::core::fmt::Debug for SelectableWordSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SelectableWordSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SelectableWordSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordSegment;{916a4cb7-8aa7-4c78-b374-5dedb752e60b})"); } -impl ::core::clone::Clone for SelectableWordSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SelectableWordSegment { type Vtable = ISelectableWordSegment_Vtbl; } @@ -579,6 +473,7 @@ unsafe impl ::core::marker::Send for SelectableWordSegment {} unsafe impl ::core::marker::Sync for SelectableWordSegment {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SelectableWordsSegmenter(::windows_core::IUnknown); impl SelectableWordsSegmenter { pub fn ResolvedLanguage(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -625,25 +520,9 @@ impl SelectableWordsSegmenter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SelectableWordsSegmenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SelectableWordsSegmenter {} -impl ::core::fmt::Debug for SelectableWordsSegmenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SelectableWordsSegmenter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SelectableWordsSegmenter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SelectableWordsSegmenter;{f6dc31e7-4b13-45c5-8897-7d71269e085d})"); } -impl ::core::clone::Clone for SelectableWordsSegmenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SelectableWordsSegmenter { type Vtable = ISelectableWordsSegmenter_Vtbl; } @@ -658,6 +537,7 @@ unsafe impl ::core::marker::Send for SelectableWordsSegmenter {} unsafe impl ::core::marker::Sync for SelectableWordsSegmenter {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SemanticTextQuery(::windows_core::IUnknown); impl SemanticTextQuery { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -696,25 +576,9 @@ impl SemanticTextQuery { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SemanticTextQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SemanticTextQuery {} -impl ::core::fmt::Debug for SemanticTextQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SemanticTextQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SemanticTextQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.SemanticTextQuery;{6a1cab51-1fb2-4909-80b8-35731a2b3e7f})"); } -impl ::core::clone::Clone for SemanticTextQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SemanticTextQuery { type Vtable = ISemanticTextQuery_Vtbl; } @@ -729,6 +593,7 @@ unsafe impl ::core::marker::Send for SemanticTextQuery {} unsafe impl ::core::marker::Sync for SemanticTextQuery {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TextConversionGenerator(::windows_core::IUnknown); impl TextConversionGenerator { pub fn ResolvedLanguage(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -775,25 +640,9 @@ impl TextConversionGenerator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TextConversionGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TextConversionGenerator {} -impl ::core::fmt::Debug for TextConversionGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TextConversionGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TextConversionGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextConversionGenerator;{03606a5e-2aa9-4ab6-af8b-a562b63a8992})"); } -impl ::core::clone::Clone for TextConversionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TextConversionGenerator { type Vtable = ITextConversionGenerator_Vtbl; } @@ -808,6 +657,7 @@ unsafe impl ::core::marker::Send for TextConversionGenerator {} unsafe impl ::core::marker::Sync for TextConversionGenerator {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TextPhoneme(::windows_core::IUnknown); impl TextPhoneme { pub fn DisplayText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -825,25 +675,9 @@ impl TextPhoneme { } } } -impl ::core::cmp::PartialEq for TextPhoneme { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TextPhoneme {} -impl ::core::fmt::Debug for TextPhoneme { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TextPhoneme").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TextPhoneme { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPhoneme;{9362a40a-9b7a-4569-94cf-d84f2f38cf9b})"); } -impl ::core::clone::Clone for TextPhoneme { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TextPhoneme { type Vtable = ITextPhoneme_Vtbl; } @@ -858,6 +692,7 @@ unsafe impl ::core::marker::Send for TextPhoneme {} unsafe impl ::core::marker::Sync for TextPhoneme {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TextPredictionGenerator(::windows_core::IUnknown); impl TextPredictionGenerator { pub fn ResolvedLanguage(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -943,25 +778,9 @@ impl TextPredictionGenerator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TextPredictionGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TextPredictionGenerator {} -impl ::core::fmt::Debug for TextPredictionGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TextPredictionGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TextPredictionGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextPredictionGenerator;{5eacab07-abf1-4cb6-9d9e-326f2b468756})"); } -impl ::core::clone::Clone for TextPredictionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TextPredictionGenerator { type Vtable = ITextPredictionGenerator_Vtbl; } @@ -976,6 +795,7 @@ unsafe impl ::core::marker::Send for TextPredictionGenerator {} unsafe impl ::core::marker::Sync for TextPredictionGenerator {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TextReverseConversionGenerator(::windows_core::IUnknown); impl TextReverseConversionGenerator { pub fn ResolvedLanguage(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1022,25 +842,9 @@ impl TextReverseConversionGenerator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TextReverseConversionGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TextReverseConversionGenerator {} -impl ::core::fmt::Debug for TextReverseConversionGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TextReverseConversionGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TextReverseConversionGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.TextReverseConversionGenerator;{51e7f514-9c51-4d86-ae1b-b498fbad8313})"); } -impl ::core::clone::Clone for TextReverseConversionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TextReverseConversionGenerator { type Vtable = ITextReverseConversionGenerator_Vtbl; } @@ -1166,6 +970,7 @@ impl ::windows_core::RuntimeName for UnicodeCharacters { } #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WordSegment(::windows_core::IUnknown); impl WordSegment { pub fn Text(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1192,25 +997,9 @@ impl WordSegment { } } } -impl ::core::cmp::PartialEq for WordSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WordSegment {} -impl ::core::fmt::Debug for WordSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WordSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WordSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordSegment;{d2d4ba6d-987c-4cc0-b6bd-d49a11b38f9a})"); } -impl ::core::clone::Clone for WordSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WordSegment { type Vtable = IWordSegment_Vtbl; } @@ -1225,6 +1014,7 @@ unsafe impl ::core::marker::Send for WordSegment {} unsafe impl ::core::marker::Sync for WordSegment {} #[doc = "*Required features: `\"Data_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WordsSegmenter(::windows_core::IUnknown); impl WordsSegmenter { pub fn ResolvedLanguage(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1271,25 +1061,9 @@ impl WordsSegmenter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WordsSegmenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WordsSegmenter {} -impl ::core::fmt::Debug for WordsSegmenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WordsSegmenter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WordsSegmenter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Text.WordsSegmenter;{86b4d4d1-b2fe-4e34-a81d-66640300454f})"); } -impl ::core::clone::Clone for WordsSegmenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WordsSegmenter { type Vtable = IWordsSegmenter_Vtbl; } @@ -1526,6 +1300,7 @@ impl ::core::default::Default for TextSegment { #[doc = "*Required features: `\"Data_Text\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SelectableWordSegmentsTokenizingHandler(pub ::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl SelectableWordSegmentsTokenizingHandler { @@ -1557,9 +1332,12 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1585,30 +1363,10 @@ impl bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for SelectableWordSegmentsTokenizingHandler {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for SelectableWordSegmentsTokenizingHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SelectableWordSegmentsTokenizingHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for SelectableWordSegmentsTokenizingHandler { type Vtable = SelectableWordSegmentsTokenizingHandler_Vtbl; } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for SelectableWordSegmentsTokenizingHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::ComInterface for SelectableWordSegmentsTokenizingHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a3dfc9c_aede_4dc7_9e6c_41c044bd3592); } @@ -1629,6 +1387,7 @@ pub struct SelectableWordSegmentsTokenizingHandler_Vtbl { #[doc = "*Required features: `\"Data_Text\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WordSegmentsTokenizingHandler(pub ::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl WordSegmentsTokenizingHandler { @@ -1660,9 +1419,12 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1688,30 +1450,10 @@ impl bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for WordSegmentsTokenizingHandler {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for WordSegmentsTokenizingHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WordSegmentsTokenizingHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for WordSegmentsTokenizingHandler { type Vtable = WordSegmentsTokenizingHandler_Vtbl; } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for WordSegmentsTokenizingHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::ComInterface for WordSegmentsTokenizingHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5dd6357_bf2a_4c4f_a31f_29e71c6f8b35); } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs index 99b0c63876..d3ef157e95 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs @@ -86,8 +86,8 @@ impl IXmlCharacterData_Vtbl { ReplaceData: ReplaceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -401,8 +401,8 @@ impl IXmlNode_Vtbl { SetPrefix: SetPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IXmlNodeSelector_Vtbl { SelectNodesNS: SelectNodesNS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -524,8 +524,8 @@ impl IXmlNodeSerializer_Vtbl { SetInnerText: SetInnerText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -551,7 +551,7 @@ impl IXmlText_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SplitText: SplitText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs index dd06d2812f..5b19ade873 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtdEntity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDtdEntity { type Vtable = IDtdEntity_Vtbl; } -impl ::core::clone::Clone for IDtdEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtdEntity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a0b5ffc_63b4_480f_9e6a_8a92816aade4); } @@ -22,15 +18,11 @@ pub struct IDtdEntity_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtdNotation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDtdNotation { type Vtable = IDtdNotation_Vtbl; } -impl ::core::clone::Clone for IDtdNotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtdNotation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cb4e04d_6d46_4edb_ab73_df83c51ad397); } @@ -43,15 +35,11 @@ pub struct IDtdNotation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlAttribute(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlAttribute { type Vtable = IXmlAttribute_Vtbl; } -impl ::core::clone::Clone for IXmlAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac144aa4_b4f1_4db6_b206_8a22c308db0a); } @@ -66,15 +54,11 @@ pub struct IXmlAttribute_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlCDataSection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlCDataSection { type Vtable = IXmlCDataSection_Vtbl; } -impl ::core::clone::Clone for IXmlCDataSection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlCDataSection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d04b46f_c8bd_45b4_8899_0400d7c2c60f); } @@ -85,6 +69,7 @@ pub struct IXmlCDataSection_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlCharacterData(::windows_core::IUnknown); impl IXmlCharacterData { pub fn Data(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -357,28 +342,12 @@ impl IXmlCharacterData { impl ::windows_core::CanTryInto for IXmlCharacterData {} impl ::windows_core::CanTryInto for IXmlCharacterData {} impl ::windows_core::CanTryInto for IXmlCharacterData {} -impl ::core::cmp::PartialEq for IXmlCharacterData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlCharacterData {} -impl ::core::fmt::Debug for IXmlCharacterData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlCharacterData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXmlCharacterData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{132e42ab-4e36-4df6-b1c8-0ce62fd88b26}"); } unsafe impl ::windows_core::Interface for IXmlCharacterData { type Vtable = IXmlCharacterData_Vtbl; } -impl ::core::clone::Clone for IXmlCharacterData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlCharacterData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x132e42ab_4e36_4df6_b1c8_0ce62fd88b26); } @@ -397,15 +366,11 @@ pub struct IXmlCharacterData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlComment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlComment { type Vtable = IXmlComment_Vtbl; } -impl ::core::clone::Clone for IXmlComment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlComment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbca474d5_b61f_4611_9cac_2e92e3476d47); } @@ -416,15 +381,11 @@ pub struct IXmlComment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocument(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocument { type Vtable = IXmlDocument_Vtbl; } -impl ::core::clone::Clone for IXmlDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7f3a506_1e87_42d6_bcfb_b8c809fa5494); } @@ -452,15 +413,11 @@ pub struct IXmlDocument_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocumentFragment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocumentFragment { type Vtable = IXmlDocumentFragment_Vtbl; } -impl ::core::clone::Clone for IXmlDocumentFragment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocumentFragment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2ea6a96_0c21_44a5_8bc9_9e4a262708ec); } @@ -471,15 +428,11 @@ pub struct IXmlDocumentFragment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocumentIO(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocumentIO { type Vtable = IXmlDocumentIO_Vtbl; } -impl ::core::clone::Clone for IXmlDocumentIO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocumentIO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cd0e74e_ee65_4489_9ebf_ca43e87ba637); } @@ -496,15 +449,11 @@ pub struct IXmlDocumentIO_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocumentIO2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocumentIO2 { type Vtable = IXmlDocumentIO2_Vtbl; } -impl ::core::clone::Clone for IXmlDocumentIO2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocumentIO2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d034661_7bd8_4ad5_9ebf_81e6347263b1); } @@ -523,15 +472,11 @@ pub struct IXmlDocumentIO2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocumentStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocumentStatics { type Vtable = IXmlDocumentStatics_Vtbl; } -impl ::core::clone::Clone for IXmlDocumentStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocumentStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5543d254_d757_4b79_9539_232b18f50bf1); } @@ -558,15 +503,11 @@ pub struct IXmlDocumentStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDocumentType(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDocumentType { type Vtable = IXmlDocumentType_Vtbl; } -impl ::core::clone::Clone for IXmlDocumentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDocumentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7342425_9781_4964_8e94_9b1c6dfc9bc7); } @@ -580,15 +521,11 @@ pub struct IXmlDocumentType_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlDomImplementation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlDomImplementation { type Vtable = IXmlDomImplementation_Vtbl; } -impl ::core::clone::Clone for IXmlDomImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlDomImplementation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6de58132_f11d_4fbb_8cc6_583cba93112f); } @@ -600,15 +537,11 @@ pub struct IXmlDomImplementation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlElement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlElement { type Vtable = IXmlElement_Vtbl; } -impl ::core::clone::Clone for IXmlElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dfb8a1f_6b10_4ef8_9f83_efcce8faec37); } @@ -632,15 +565,11 @@ pub struct IXmlElement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlEntityReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlEntityReference { type Vtable = IXmlEntityReference_Vtbl; } -impl ::core::clone::Clone for IXmlEntityReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlEntityReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e2f47bc_c3d0_4ccf_bb86_0ab8c36a61cf); } @@ -651,15 +580,11 @@ pub struct IXmlEntityReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlLoadSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlLoadSettings { type Vtable = IXmlLoadSettings_Vtbl; } -impl ::core::clone::Clone for IXmlLoadSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlLoadSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58aa07a8_fed6_46f7_b4c5_fb1ba72108d6); } @@ -680,15 +605,11 @@ pub struct IXmlLoadSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlNamedNodeMap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlNamedNodeMap { type Vtable = IXmlNamedNodeMap_Vtbl; } -impl ::core::clone::Clone for IXmlNamedNodeMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlNamedNodeMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3a69eb0_aab0_4b82_a6fa_b1453f7c021b); } @@ -707,6 +628,7 @@ pub struct IXmlNamedNodeMap_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlNode(::windows_core::IUnknown); impl IXmlNode { pub fn NodeValue(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -937,28 +859,12 @@ impl IXmlNode { ::windows_core::imp::interface_hierarchy!(IXmlNode, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IXmlNode {} impl ::windows_core::CanTryInto for IXmlNode {} -impl ::core::cmp::PartialEq for IXmlNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlNode {} -impl ::core::fmt::Debug for IXmlNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXmlNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1c741d59-2122-47d5-a856-83f3d4214875}"); } unsafe impl ::windows_core::Interface for IXmlNode { type Vtable = IXmlNode_Vtbl; } -impl ::core::clone::Clone for IXmlNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c741d59_2122_47d5_a856_83f3d4214875); } @@ -992,15 +898,11 @@ pub struct IXmlNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlNodeList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlNodeList { type Vtable = IXmlNodeList_Vtbl; } -impl ::core::clone::Clone for IXmlNodeList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlNodeList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c60ad77_83a4_4ec1_9c54_7ba429e13da6); } @@ -1013,6 +915,7 @@ pub struct IXmlNodeList_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlNodeSelector(::windows_core::IUnknown); impl IXmlNodeSelector { pub fn SelectSingleNode(&self, xpath: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -1051,28 +954,12 @@ impl IXmlNodeSelector { } } ::windows_core::imp::interface_hierarchy!(IXmlNodeSelector, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IXmlNodeSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlNodeSelector {} -impl ::core::fmt::Debug for IXmlNodeSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlNodeSelector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXmlNodeSelector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{63dbba8b-d0db-4fe1-b745-f9433afdc25b}"); } unsafe impl ::windows_core::Interface for IXmlNodeSelector { type Vtable = IXmlNodeSelector_Vtbl; } -impl ::core::clone::Clone for IXmlNodeSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlNodeSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63dbba8b_d0db_4fe1_b745_f9433afdc25b); } @@ -1087,6 +974,7 @@ pub struct IXmlNodeSelector_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlNodeSerializer(::windows_core::IUnknown); impl IXmlNodeSerializer { pub fn GetXml(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1109,28 +997,12 @@ impl IXmlNodeSerializer { } } ::windows_core::imp::interface_hierarchy!(IXmlNodeSerializer, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IXmlNodeSerializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlNodeSerializer {} -impl ::core::fmt::Debug for IXmlNodeSerializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlNodeSerializer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXmlNodeSerializer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5cc5b382-e6dd-4991-abef-06d8d2e7bd0c}"); } unsafe impl ::windows_core::Interface for IXmlNodeSerializer { type Vtable = IXmlNodeSerializer_Vtbl; } -impl ::core::clone::Clone for IXmlNodeSerializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlNodeSerializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cc5b382_e6dd_4991_abef_06d8d2e7bd0c); } @@ -1144,15 +1016,11 @@ pub struct IXmlNodeSerializer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlProcessingInstruction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXmlProcessingInstruction { type Vtable = IXmlProcessingInstruction_Vtbl; } -impl ::core::clone::Clone for IXmlProcessingInstruction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlProcessingInstruction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2707fd1e_1e92_4ece_b6f4_26f069078ddc); } @@ -1166,6 +1034,7 @@ pub struct IXmlProcessingInstruction_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlText(::windows_core::IUnknown); impl IXmlText { pub fn SplitText(&self, offset: u32) -> ::windows_core::Result { @@ -1446,28 +1315,12 @@ impl ::windows_core::CanTryInto for IXmlText {} impl ::windows_core::CanTryInto for IXmlText {} impl ::windows_core::CanTryInto for IXmlText {} impl ::windows_core::CanTryInto for IXmlText {} -impl ::core::cmp::PartialEq for IXmlText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlText {} -impl ::core::fmt::Debug for IXmlText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXmlText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f931a4cb-308d-4760-a1d5-43b67450ac7e}"); } unsafe impl ::windows_core::Interface for IXmlText { type Vtable = IXmlText_Vtbl; } -impl ::core::clone::Clone for IXmlText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf931a4cb_308d_4760_a1d5_43b67450ac7e); } @@ -1479,6 +1332,7 @@ pub struct IXmlText_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DtdEntity(::windows_core::IUnknown); impl DtdEntity { pub fn PublicId(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -1727,25 +1581,9 @@ impl DtdEntity { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for DtdEntity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DtdEntity {} -impl ::core::fmt::Debug for DtdEntity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DtdEntity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DtdEntity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdEntity;{6a0b5ffc-63b4-480f-9e6a-8a92816aade4})"); } -impl ::core::clone::Clone for DtdEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DtdEntity { type Vtable = IDtdEntity_Vtbl; } @@ -1763,6 +1601,7 @@ unsafe impl ::core::marker::Send for DtdEntity {} unsafe impl ::core::marker::Sync for DtdEntity {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DtdNotation(::windows_core::IUnknown); impl DtdNotation { pub fn PublicId(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -2004,25 +1843,9 @@ impl DtdNotation { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for DtdNotation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DtdNotation {} -impl ::core::fmt::Debug for DtdNotation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DtdNotation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DtdNotation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.DtdNotation;{8cb4e04d-6d46-4edb-ab73-df83c51ad397})"); } -impl ::core::clone::Clone for DtdNotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DtdNotation { type Vtable = IDtdNotation_Vtbl; } @@ -2040,6 +1863,7 @@ unsafe impl ::core::marker::Send for DtdNotation {} unsafe impl ::core::marker::Sync for DtdNotation {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlAttribute(::windows_core::IUnknown); impl XmlAttribute { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2292,25 +2116,9 @@ impl XmlAttribute { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlAttribute {} -impl ::core::fmt::Debug for XmlAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlAttribute").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlAttribute { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlAttribute;{ac144aa4-b4f1-4db6-b206-8a22c308db0a})"); } -impl ::core::clone::Clone for XmlAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlAttribute { type Vtable = IXmlAttribute_Vtbl; } @@ -2328,6 +2136,7 @@ unsafe impl ::core::marker::Send for XmlAttribute {} unsafe impl ::core::marker::Sync for XmlAttribute {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlCDataSection(::windows_core::IUnknown); impl XmlCDataSection { pub fn Data(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2603,25 +2412,9 @@ impl XmlCDataSection { } } } -impl ::core::cmp::PartialEq for XmlCDataSection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlCDataSection {} -impl ::core::fmt::Debug for XmlCDataSection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlCDataSection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlCDataSection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlCDataSection;{4d04b46f-c8bd-45b4-8899-0400d7c2c60f})"); } -impl ::core::clone::Clone for XmlCDataSection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlCDataSection { type Vtable = IXmlCDataSection_Vtbl; } @@ -2641,6 +2434,7 @@ unsafe impl ::core::marker::Send for XmlCDataSection {} unsafe impl ::core::marker::Sync for XmlCDataSection {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlComment(::windows_core::IUnknown); impl XmlComment { pub fn Data(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2909,25 +2703,9 @@ impl XmlComment { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlComment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlComment {} -impl ::core::fmt::Debug for XmlComment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlComment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlComment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlComment;{bca474d5-b61f-4611-9cac-2e92e3476d47})"); } -impl ::core::clone::Clone for XmlComment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlComment { type Vtable = IXmlComment_Vtbl; } @@ -2946,6 +2724,7 @@ unsafe impl ::core::marker::Send for XmlComment {} unsafe impl ::core::marker::Sync for XmlComment {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlDocument(::windows_core::IUnknown); impl XmlDocument { pub fn new() -> ::windows_core::Result { @@ -3401,25 +3180,9 @@ impl XmlDocument { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XmlDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlDocument {} -impl ::core::fmt::Debug for XmlDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlDocument").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlDocument { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocument;{f7f3a506-1e87-42d6-bcfb-b8c809fa5494})"); } -impl ::core::clone::Clone for XmlDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlDocument { type Vtable = IXmlDocument_Vtbl; } @@ -3437,6 +3200,7 @@ unsafe impl ::core::marker::Send for XmlDocument {} unsafe impl ::core::marker::Sync for XmlDocument {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlDocumentFragment(::windows_core::IUnknown); impl XmlDocumentFragment { pub fn NodeValue(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -3664,25 +3428,9 @@ impl XmlDocumentFragment { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlDocumentFragment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlDocumentFragment {} -impl ::core::fmt::Debug for XmlDocumentFragment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlDocumentFragment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlDocumentFragment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentFragment;{e2ea6a96-0c21-44a5-8bc9-9e4a262708ec})"); } -impl ::core::clone::Clone for XmlDocumentFragment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlDocumentFragment { type Vtable = IXmlDocumentFragment_Vtbl; } @@ -3700,6 +3448,7 @@ unsafe impl ::core::marker::Send for XmlDocumentFragment {} unsafe impl ::core::marker::Sync for XmlDocumentFragment {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlDocumentType(::windows_core::IUnknown); impl XmlDocumentType { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3948,25 +3697,9 @@ impl XmlDocumentType { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlDocumentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlDocumentType {} -impl ::core::fmt::Debug for XmlDocumentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlDocumentType").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlDocumentType { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDocumentType;{f7342425-9781-4964-8e94-9b1c6dfc9bc7})"); } -impl ::core::clone::Clone for XmlDocumentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlDocumentType { type Vtable = IXmlDocumentType_Vtbl; } @@ -3984,6 +3717,7 @@ unsafe impl ::core::marker::Send for XmlDocumentType {} unsafe impl ::core::marker::Sync for XmlDocumentType {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlDomImplementation(::windows_core::IUnknown); impl XmlDomImplementation { pub fn HasFeature(&self, feature: &::windows_core::HSTRING, version: P0) -> ::windows_core::Result @@ -3997,25 +3731,9 @@ impl XmlDomImplementation { } } } -impl ::core::cmp::PartialEq for XmlDomImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlDomImplementation {} -impl ::core::fmt::Debug for XmlDomImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlDomImplementation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlDomImplementation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlDomImplementation;{6de58132-f11d-4fbb-8cc6-583cba93112f})"); } -impl ::core::clone::Clone for XmlDomImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlDomImplementation { type Vtable = IXmlDomImplementation_Vtbl; } @@ -4030,6 +3748,7 @@ unsafe impl ::core::marker::Send for XmlDomImplementation {} unsafe impl ::core::marker::Sync for XmlDomImplementation {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlElement(::windows_core::IUnknown); impl XmlElement { pub fn TagName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4357,25 +4076,9 @@ impl XmlElement { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlElement {} -impl ::core::fmt::Debug for XmlElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlElement;{2dfb8a1f-6b10-4ef8-9f83-efcce8faec37})"); } -impl ::core::clone::Clone for XmlElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlElement { type Vtable = IXmlElement_Vtbl; } @@ -4393,6 +4096,7 @@ unsafe impl ::core::marker::Send for XmlElement {} unsafe impl ::core::marker::Sync for XmlElement {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlEntityReference(::windows_core::IUnknown); impl XmlEntityReference { pub fn NodeValue(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -4620,25 +4324,9 @@ impl XmlEntityReference { unsafe { (::windows_core::Interface::vtable(this).SetInnerText)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlEntityReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlEntityReference {} -impl ::core::fmt::Debug for XmlEntityReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlEntityReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlEntityReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlEntityReference;{2e2f47bc-c3d0-4ccf-bb86-0ab8c36a61cf})"); } -impl ::core::clone::Clone for XmlEntityReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlEntityReference { type Vtable = IXmlEntityReference_Vtbl; } @@ -4656,6 +4344,7 @@ unsafe impl ::core::marker::Send for XmlEntityReference {} unsafe impl ::core::marker::Sync for XmlEntityReference {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlLoadSettings(::windows_core::IUnknown); impl XmlLoadSettings { pub fn new() -> ::windows_core::Result { @@ -4721,25 +4410,9 @@ impl XmlLoadSettings { unsafe { (::windows_core::Interface::vtable(this).SetElementContentWhiteSpace)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for XmlLoadSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlLoadSettings {} -impl ::core::fmt::Debug for XmlLoadSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlLoadSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlLoadSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlLoadSettings;{58aa07a8-fed6-46f7-b4c5-fb1ba72108d6})"); } -impl ::core::clone::Clone for XmlLoadSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlLoadSettings { type Vtable = IXmlLoadSettings_Vtbl; } @@ -4754,6 +4427,7 @@ unsafe impl ::core::marker::Send for XmlLoadSettings {} unsafe impl ::core::marker::Sync for XmlLoadSettings {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlNamedNodeMap(::windows_core::IUnknown); impl XmlNamedNodeMap { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4873,25 +4547,9 @@ impl XmlNamedNodeMap { } } } -impl ::core::cmp::PartialEq for XmlNamedNodeMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlNamedNodeMap {} -impl ::core::fmt::Debug for XmlNamedNodeMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlNamedNodeMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlNamedNodeMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNamedNodeMap;{b3a69eb0-aab0-4b82-a6fa-b1453f7c021b})"); } -impl ::core::clone::Clone for XmlNamedNodeMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlNamedNodeMap { type Vtable = IXmlNamedNodeMap_Vtbl; } @@ -4926,6 +4584,7 @@ unsafe impl ::core::marker::Send for XmlNamedNodeMap {} unsafe impl ::core::marker::Sync for XmlNamedNodeMap {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlNodeList(::windows_core::IUnknown); impl XmlNodeList { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4991,25 +4650,9 @@ impl XmlNodeList { } } } -impl ::core::cmp::PartialEq for XmlNodeList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlNodeList {} -impl ::core::fmt::Debug for XmlNodeList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlNodeList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlNodeList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlNodeList;{8c60ad77-83a4-4ec1-9c54-7ba429e13da6})"); } -impl ::core::clone::Clone for XmlNodeList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlNodeList { type Vtable = IXmlNodeList_Vtbl; } @@ -5044,6 +4687,7 @@ unsafe impl ::core::marker::Send for XmlNodeList {} unsafe impl ::core::marker::Sync for XmlNodeList {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlProcessingInstruction(::windows_core::IUnknown); impl XmlProcessingInstruction { pub fn NodeValue(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -5289,25 +4933,9 @@ impl XmlProcessingInstruction { unsafe { (::windows_core::Interface::vtable(this).SetData)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for XmlProcessingInstruction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlProcessingInstruction {} -impl ::core::fmt::Debug for XmlProcessingInstruction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlProcessingInstruction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlProcessingInstruction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlProcessingInstruction;{2707fd1e-1e92-4ece-b6f4-26f069078ddc})"); } -impl ::core::clone::Clone for XmlProcessingInstruction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlProcessingInstruction { type Vtable = IXmlProcessingInstruction_Vtbl; } @@ -5325,6 +4953,7 @@ unsafe impl ::core::marker::Send for XmlProcessingInstruction {} unsafe impl ::core::marker::Sync for XmlProcessingInstruction {} #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XmlText(::windows_core::IUnknown); impl XmlText { pub fn Data(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5600,25 +5229,9 @@ impl XmlText { } } } -impl ::core::cmp::PartialEq for XmlText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XmlText {} -impl ::core::fmt::Debug for XmlText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XmlText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XmlText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Dom.XmlText;{f931a4cb-308d-4760-a1d5-43b67450ac7e})"); } -impl ::core::clone::Clone for XmlText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XmlText { type Vtable = IXmlText_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs index 0460dc0b53..e7a3f03d6e 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXsltProcessor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXsltProcessor { type Vtable = IXsltProcessor_Vtbl; } -impl ::core::clone::Clone for IXsltProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXsltProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b64703f_550c_48c6_a90f_93a5b964518f); } @@ -23,15 +19,11 @@ pub struct IXsltProcessor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXsltProcessor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXsltProcessor2 { type Vtable = IXsltProcessor2_Vtbl; } -impl ::core::clone::Clone for IXsltProcessor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXsltProcessor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8da45c56_97a5_44cb_a8be_27d86280c70a); } @@ -46,15 +38,11 @@ pub struct IXsltProcessor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXsltProcessorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXsltProcessorFactory { type Vtable = IXsltProcessorFactory_Vtbl; } -impl ::core::clone::Clone for IXsltProcessorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXsltProcessorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x274146c0_9a51_4663_bf30_0ef742146f20); } @@ -69,6 +57,7 @@ pub struct IXsltProcessorFactory_Vtbl { } #[doc = "*Required features: `\"Data_Xml_Xsl\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XsltProcessor(::windows_core::IUnknown); impl XsltProcessor { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -112,25 +101,9 @@ impl XsltProcessor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XsltProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XsltProcessor {} -impl ::core::fmt::Debug for XsltProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XsltProcessor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XsltProcessor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Data.Xml.Xsl.XsltProcessor;{7b64703f-550c-48c6-a90f-93a5b964518f})"); } -impl ::core::clone::Clone for XsltProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XsltProcessor { type Vtable = IXsltProcessor_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs index 356fd4ec39..daebd33938 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs @@ -122,8 +122,8 @@ impl IAdcControllerProvider_Vtbl { ReadValue: ReadValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Adc_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -152,7 +152,7 @@ impl IAdcProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs index b6cd0da7cd..827cbeaccb 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Devices_Adc_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcControllerProvider(::windows_core::IUnknown); impl IAdcControllerProvider { pub fn ChannelCount(&self) -> ::windows_core::Result { @@ -65,28 +66,12 @@ impl IAdcControllerProvider { } } ::windows_core::imp::interface_hierarchy!(IAdcControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAdcControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdcControllerProvider {} -impl ::core::fmt::Debug for IAdcControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdcControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAdcControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{be545828-816d-4de5-a048-aba06958aaa8}"); } unsafe impl ::windows_core::Interface for IAdcControllerProvider { type Vtable = IAdcControllerProvider_Vtbl; } -impl ::core::clone::Clone for IAdcControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe545828_816d_4de5_a048_aba06958aaa8); } @@ -107,6 +92,7 @@ pub struct IAdcControllerProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Adc_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcProvider(::windows_core::IUnknown); impl IAdcProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -120,28 +106,12 @@ impl IAdcProvider { } } ::windows_core::imp::interface_hierarchy!(IAdcProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAdcProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdcProvider {} -impl ::core::fmt::Debug for IAdcProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdcProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAdcProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{28953668-9359-4c57-bc88-e275e81638c9}"); } unsafe impl ::windows_core::Interface for IAdcProvider { type Vtable = IAdcProvider_Vtbl; } -impl ::core::clone::Clone for IAdcProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28953668_9359_4c57_bc88_e275e81638c9); } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index d41b743e04..278ccf9ea3 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdcChannel { type Vtable = IAdcChannel_Vtbl; } -impl ::core::clone::Clone for IAdcChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x040bf414_2588_4a56_abef_73a260acc60a); } @@ -24,15 +20,11 @@ pub struct IAdcChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdcController { type Vtable = IAdcController_Vtbl; } -impl ::core::clone::Clone for IAdcController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a76e4b0_a896_4219_86b6_ea8cdce98f56); } @@ -51,15 +43,11 @@ pub struct IAdcController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdcControllerStatics { type Vtable = IAdcControllerStatics_Vtbl; } -impl ::core::clone::Clone for IAdcControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcce98e0c_01f8_4891_bc3b_be53ef279ca4); } @@ -74,15 +62,11 @@ pub struct IAdcControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdcControllerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdcControllerStatics2 { type Vtable = IAdcControllerStatics2_Vtbl; } -impl ::core::clone::Clone for IAdcControllerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdcControllerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2b93b1d_977b_4f5a_a5fe_a6abaffe6484); } @@ -97,6 +81,7 @@ pub struct IAdcControllerStatics2_Vtbl { } #[doc = "*Required features: `\"Devices_Adc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdcChannel(::windows_core::IUnknown); impl AdcChannel { pub fn Controller(&self) -> ::windows_core::Result { @@ -127,25 +112,9 @@ impl AdcChannel { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AdcChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdcChannel {} -impl ::core::fmt::Debug for AdcChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdcChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdcChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcChannel;{040bf414-2588-4a56-abef-73a260acc60a})"); } -impl ::core::clone::Clone for AdcChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdcChannel { type Vtable = IAdcChannel_Vtbl; } @@ -162,6 +131,7 @@ unsafe impl ::core::marker::Send for AdcChannel {} unsafe impl ::core::marker::Sync for AdcChannel {} #[doc = "*Required features: `\"Devices_Adc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdcController(::windows_core::IUnknown); impl AdcController { pub fn ChannelCount(&self) -> ::windows_core::Result { @@ -247,25 +217,9 @@ impl AdcController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AdcController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdcController {} -impl ::core::fmt::Debug for AdcController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdcController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdcController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Adc.AdcController;{2a76e4b0-a896-4219-86b6-ea8cdce98f56})"); } -impl ::core::clone::Clone for AdcController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdcController { type Vtable = IAdcController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Background/mod.rs index 810e7d8dd6..845debba14 100644 --- a/crates/libs/windows/src/Windows/Devices/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Background/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceServicingDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceServicingDetails { type Vtable = IDeviceServicingDetails_Vtbl; } -impl ::core::clone::Clone for IDeviceServicingDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceServicingDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4aabee29_2344_4ac4_8527_4a8ef6905645); } @@ -25,15 +21,11 @@ pub struct IDeviceServicingDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceUseDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceUseDetails { type Vtable = IDeviceUseDetails_Vtbl; } -impl ::core::clone::Clone for IDeviceUseDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceUseDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d565141_557e_4154_b994_e4f7a11fb323); } @@ -46,6 +38,7 @@ pub struct IDeviceUseDetails_Vtbl { } #[doc = "*Required features: `\"Devices_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceServicingDetails(::windows_core::IUnknown); impl DeviceServicingDetails { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -72,25 +65,9 @@ impl DeviceServicingDetails { } } } -impl ::core::cmp::PartialEq for DeviceServicingDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceServicingDetails {} -impl ::core::fmt::Debug for DeviceServicingDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceServicingDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceServicingDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceServicingDetails;{4aabee29-2344-4ac4-8527-4a8ef6905645})"); } -impl ::core::clone::Clone for DeviceServicingDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceServicingDetails { type Vtable = IDeviceServicingDetails_Vtbl; } @@ -105,6 +82,7 @@ unsafe impl ::core::marker::Send for DeviceServicingDetails {} unsafe impl ::core::marker::Sync for DeviceServicingDetails {} #[doc = "*Required features: `\"Devices_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceUseDetails(::windows_core::IUnknown); impl DeviceUseDetails { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -122,25 +100,9 @@ impl DeviceUseDetails { } } } -impl ::core::cmp::PartialEq for DeviceUseDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceUseDetails {} -impl ::core::fmt::Debug for DeviceUseDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceUseDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceUseDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Background.DeviceUseDetails;{7d565141-557e-4154-b994-e4f7a11fb323})"); } -impl ::core::clone::Clone for DeviceUseDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceUseDetails { type Vtable = IDeviceUseDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs index 28f4e04c65..634da87db2 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisement { type Vtable = IBluetoothLEAdvertisement_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x066fb2b7_33d1_4e7d_8367_cf81d0f79653); } @@ -49,15 +45,11 @@ pub struct IBluetoothLEAdvertisement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementBytePattern(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementBytePattern { type Vtable = IBluetoothLEAdvertisementBytePattern_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementBytePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementBytePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbfad7f2_b9c5_4a08_bc51_502f8ef68a79); } @@ -80,15 +72,11 @@ pub struct IBluetoothLEAdvertisementBytePattern_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementBytePatternFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementBytePatternFactory { type Vtable = IBluetoothLEAdvertisementBytePatternFactory_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementBytePatternFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementBytePatternFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2e24d73_fd5c_4ec3_be2a_9ca6fa11b7bd); } @@ -103,15 +91,11 @@ pub struct IBluetoothLEAdvertisementBytePatternFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementDataSection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementDataSection { type Vtable = IBluetoothLEAdvertisementDataSection_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementDataSection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementDataSection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7213314_3a43_40f9_b6f0_92bfefc34ae3); } @@ -132,15 +116,11 @@ pub struct IBluetoothLEAdvertisementDataSection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementDataSectionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementDataSectionFactory { type Vtable = IBluetoothLEAdvertisementDataSectionFactory_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementDataSectionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementDataSectionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7a40942_a845_4045_bf7e_3e9971db8a6b); } @@ -155,15 +135,11 @@ pub struct IBluetoothLEAdvertisementDataSectionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementDataTypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementDataTypesStatics { type Vtable = IBluetoothLEAdvertisementDataTypesStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementDataTypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementDataTypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bb6472f_0606_434b_a76e_74159f0684d3); } @@ -196,15 +172,11 @@ pub struct IBluetoothLEAdvertisementDataTypesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementFilter { type Vtable = IBluetoothLEAdvertisementFilter_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x131eb0d3_d04e_47b1_837e_49405bf6f80f); } @@ -221,15 +193,11 @@ pub struct IBluetoothLEAdvertisementFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisher { type Vtable = IBluetoothLEAdvertisementPublisher_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcde820f9_d9fa_43d6_a264_ddd8b7da8b78); } @@ -252,15 +220,11 @@ pub struct IBluetoothLEAdvertisementPublisher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisher2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisher2 { type Vtable = IBluetoothLEAdvertisementPublisher2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbdb545e_56f1_510f_a434_217fbd9e7bd2); } @@ -285,15 +249,11 @@ pub struct IBluetoothLEAdvertisementPublisher2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherFactory { type Vtable = IBluetoothLEAdvertisementPublisherFactory_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c5f065e_b863_4981_a1af_1c544d8b0c0d); } @@ -305,15 +265,11 @@ pub struct IBluetoothLEAdvertisementPublisherFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs { type Vtable = IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09c2bd9f_2dff_4b23_86ee_0d14fb94aeae); } @@ -326,15 +282,11 @@ pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 { type Vtable = IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f62790e_dc88_5c8b_b34e_10b321850f88); } @@ -349,15 +301,11 @@ pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementReceivedEventArgs { type Vtable = IBluetoothLEAdvertisementReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27987ddf_e596_41be_8d43_9e6731d4a913); } @@ -376,15 +324,11 @@ pub struct IBluetoothLEAdvertisementReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementReceivedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementReceivedEventArgs2 { type Vtable = IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementReceivedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementReceivedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12d9c87b_0399_5f0e_a348_53b02b6b162e); } @@ -405,15 +349,11 @@ pub struct IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcher { type Vtable = IBluetoothLEAdvertisementWatcher_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6ac336f_f3d3_4297_8d6c_c81ea6623f40); } @@ -465,15 +405,11 @@ pub struct IBluetoothLEAdvertisementWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcher2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcher2 { type Vtable = IBluetoothLEAdvertisementWatcher2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01bf26bc_b164_5805_90a3_e8a7997ff225); } @@ -486,15 +422,11 @@ pub struct IBluetoothLEAdvertisementWatcher2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcherFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcherFactory { type Vtable = IBluetoothLEAdvertisementWatcherFactory_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcherFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcherFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9aaf2d56_39ac_453e_b32a_85c657e017f1); } @@ -506,15 +438,11 @@ pub struct IBluetoothLEAdvertisementWatcherFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcherStoppedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcherStoppedEventArgs { type Vtable = IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcherStoppedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcherStoppedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd40f84d_e7b9_43e3_9c04_0685d085fd8c); } @@ -526,15 +454,11 @@ pub struct IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEManufacturerData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEManufacturerData { type Vtable = IBluetoothLEManufacturerData_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEManufacturerData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEManufacturerData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x912dba18_6963_4533_b061_4694dafb34e5); } @@ -555,15 +479,11 @@ pub struct IBluetoothLEManufacturerData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEManufacturerDataFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEManufacturerDataFactory { type Vtable = IBluetoothLEManufacturerDataFactory_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEManufacturerDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEManufacturerDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc09b39f8_319a_441e_8de5_66a81e877a6c); } @@ -578,6 +498,7 @@ pub struct IBluetoothLEManufacturerDataFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisement(::windows_core::IUnknown); impl BluetoothLEAdvertisement { pub fn new() -> ::windows_core::Result { @@ -662,25 +583,9 @@ impl BluetoothLEAdvertisement { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisement {} -impl ::core::fmt::Debug for BluetoothLEAdvertisement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement;{066fb2b7-33d1-4e7d-8367-cf81d0f79653})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisement { type Vtable = IBluetoothLEAdvertisement_Vtbl; } @@ -695,6 +600,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisement {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisement {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementBytePattern(::windows_core::IUnknown); impl BluetoothLEAdvertisementBytePattern { pub fn new() -> ::windows_core::Result { @@ -761,25 +667,9 @@ impl BluetoothLEAdvertisementBytePattern { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementBytePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementBytePattern {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementBytePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementBytePattern").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementBytePattern { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementBytePattern;{fbfad7f2-b9c5-4a08-bc51-502f8ef68a79})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementBytePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementBytePattern { type Vtable = IBluetoothLEAdvertisementBytePattern_Vtbl; } @@ -794,6 +684,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementBytePattern {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementBytePattern {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementDataSection(::windows_core::IUnknown); impl BluetoothLEAdvertisementDataSection { pub fn new() -> ::windows_core::Result { @@ -849,25 +740,9 @@ impl BluetoothLEAdvertisementDataSection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementDataSection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementDataSection {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementDataSection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementDataSection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementDataSection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection;{d7213314-3a43-40f9-b6f0-92bfefc34ae3})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementDataSection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementDataSection { type Vtable = IBluetoothLEAdvertisementDataSection_Vtbl; } @@ -1026,6 +901,7 @@ impl ::windows_core::RuntimeName for BluetoothLEAdvertisementDataTypes { } #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementFilter(::windows_core::IUnknown); impl BluetoothLEAdvertisementFilter { pub fn new() -> ::windows_core::Result { @@ -1059,25 +935,9 @@ impl BluetoothLEAdvertisementFilter { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementFilter {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter;{131eb0d3-d04e-47b1-837e-49405bf6f80f})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementFilter { type Vtable = IBluetoothLEAdvertisementFilter_Vtbl; } @@ -1092,6 +952,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementFilter {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementFilter {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementPublisher(::windows_core::IUnknown); impl BluetoothLEAdvertisementPublisher { pub fn new() -> ::windows_core::Result { @@ -1207,25 +1068,9 @@ impl BluetoothLEAdvertisementPublisher { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementPublisher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementPublisher {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementPublisher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementPublisher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher;{cde820f9-d9fa-43d6-a264-ddd8b7da8b78})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementPublisher { type Vtable = IBluetoothLEAdvertisementPublisher_Vtbl; } @@ -1240,6 +1085,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisher {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisher {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementPublisherStatusChangedEventArgs(::windows_core::IUnknown); impl BluetoothLEAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -1266,25 +1112,9 @@ impl BluetoothLEAdvertisementPublisherStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementPublisherStatusChangedEventArgs {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementPublisherStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatusChangedEventArgs;{09c2bd9f-2dff-4b23-86ee-0d14fb94aeae})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementPublisherStatusChangedEventArgs { type Vtable = IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl; } @@ -1299,6 +1129,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisherStatusChan unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementReceivedEventArgs(::windows_core::IUnknown); impl BluetoothLEAdvertisementReceivedEventArgs { pub fn RawSignalStrengthInDBm(&self) -> ::windows_core::Result { @@ -1390,25 +1221,9 @@ impl BluetoothLEAdvertisementReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementReceivedEventArgs {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs;{27987ddf-e596-41be-8d43-9e6731d4a913})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementReceivedEventArgs { type Vtable = IBluetoothLEAdvertisementReceivedEventArgs_Vtbl; } @@ -1423,6 +1238,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementReceivedEventArgs { unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementReceivedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementWatcher(::windows_core::IUnknown); impl BluetoothLEAdvertisementWatcher { pub fn new() -> ::windows_core::Result { @@ -1584,25 +1400,9 @@ impl BluetoothLEAdvertisementWatcher { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementWatcher {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher;{a6ac336f-f3d3-4297-8d6c-c81ea6623f40})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementWatcher { type Vtable = IBluetoothLEAdvertisementWatcher_Vtbl; } @@ -1617,6 +1417,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcher {} unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcher {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementWatcherStoppedEventArgs(::windows_core::IUnknown); impl BluetoothLEAdvertisementWatcherStoppedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -1627,25 +1428,9 @@ impl BluetoothLEAdvertisementWatcherStoppedEventArgs { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementWatcherStoppedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementWatcherStoppedEventArgs {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherStoppedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementWatcherStoppedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementWatcherStoppedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs;{dd40f84d-e7b9-43e3-9c04-0685d085fd8c})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherStoppedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementWatcherStoppedEventArgs { type Vtable = IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl; } @@ -1660,6 +1445,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcherStoppedEvent unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherStoppedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEManufacturerData(::windows_core::IUnknown); impl BluetoothLEManufacturerData { pub fn new() -> ::windows_core::Result { @@ -1715,25 +1501,9 @@ impl BluetoothLEManufacturerData { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEManufacturerData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEManufacturerData {} -impl ::core::fmt::Debug for BluetoothLEManufacturerData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEManufacturerData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEManufacturerData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData;{912dba18-6963-4533-b061-4694dafb34e5})"); } -impl ::core::clone::Clone for BluetoothLEManufacturerData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEManufacturerData { type Vtable = IBluetoothLEManufacturerData_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs index be6aa31ee2..6ee4b8b78a 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherTriggerDetails { type Vtable = IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x610eca86_3480_41c9_a918_7ddadf207e00); } @@ -24,15 +20,11 @@ pub struct IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementPublisherTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementPublisherTriggerDetails2 { type Vtable = IBluetoothLEAdvertisementPublisherTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementPublisherTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementPublisherTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4a3d025_c601_42d6_9829_4ccb3f5cd77f); } @@ -47,15 +39,11 @@ pub struct IBluetoothLEAdvertisementPublisherTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAdvertisementWatcherTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAdvertisementWatcherTriggerDetails { type Vtable = IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAdvertisementWatcherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAdvertisementWatcherTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7db5ad7_2257_4e69_9784_fee645c1dce0); } @@ -72,15 +60,11 @@ pub struct IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTriggerDetails { type Vtable = IGattCharacteristicNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ba03b18_0fec_436a_93b1_f46c697532a2); } @@ -99,15 +83,11 @@ pub struct IGattCharacteristicNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicNotificationTriggerDetails2 { type Vtable = IGattCharacteristicNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x727a50dc_949d_454a_b192_983467e3d50f); } @@ -124,15 +104,11 @@ pub struct IGattCharacteristicNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderConnection { type Vtable = IGattServiceProviderConnection_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fa1b9b9_2f13_40b5_9582_8eb78e98ef13); } @@ -149,15 +125,11 @@ pub struct IGattServiceProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderConnectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderConnectionStatics { type Vtable = IGattServiceProviderConnectionStatics_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderConnectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderConnectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d509f4b_0b0e_4466_b8cd_6ebdda1fa17d); } @@ -172,15 +144,11 @@ pub struct IGattServiceProviderConnectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderTriggerDetails { type Vtable = IGattServiceProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae8c0625_05ff_4afb_b16a_de95f3cf0158); } @@ -192,15 +160,11 @@ pub struct IGattServiceProviderTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommConnectionTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommConnectionTriggerDetails { type Vtable = IRfcommConnectionTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IRfcommConnectionTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommConnectionTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf922734d_2e3c_4efc_ab59_fc5cf96f97e3); } @@ -217,15 +181,11 @@ pub struct IRfcommConnectionTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommInboundConnectionInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommInboundConnectionInformation { type Vtable = IRfcommInboundConnectionInformation_Vtbl; } -impl ::core::clone::Clone for IRfcommInboundConnectionInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommInboundConnectionInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d3e75a8_5429_4059_92e3_1e8b65528707); } @@ -254,15 +214,11 @@ pub struct IRfcommInboundConnectionInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommOutboundConnectionInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommOutboundConnectionInformation { type Vtable = IRfcommOutboundConnectionInformation_Vtbl; } -impl ::core::clone::Clone for IRfcommOutboundConnectionInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommOutboundConnectionInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb091227b_f434_4cb0_99b1_4ab8cedaedd7); } @@ -281,6 +237,7 @@ pub struct IRfcommOutboundConnectionInformation_Vtbl { } #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementPublisherTriggerDetails(::windows_core::IUnknown); impl BluetoothLEAdvertisementPublisherTriggerDetails { #[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] @@ -309,25 +266,9 @@ impl BluetoothLEAdvertisementPublisherTriggerDetails { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementPublisherTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementPublisherTriggerDetails {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementPublisherTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementPublisherTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementPublisherTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementPublisherTriggerDetails;{610eca86-3480-41c9-a918-7ddadf207e00})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementPublisherTriggerDetails { type Vtable = IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl; } @@ -342,6 +283,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementPublisherTriggerDet unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAdvertisementWatcherTriggerDetails(::windows_core::IUnknown); impl BluetoothLEAdvertisementWatcherTriggerDetails { pub fn Error(&self) -> ::windows_core::Result { @@ -368,25 +310,9 @@ impl BluetoothLEAdvertisementWatcherTriggerDetails { } } } -impl ::core::cmp::PartialEq for BluetoothLEAdvertisementWatcherTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAdvertisementWatcherTriggerDetails {} -impl ::core::fmt::Debug for BluetoothLEAdvertisementWatcherTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAdvertisementWatcherTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAdvertisementWatcherTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.BluetoothLEAdvertisementWatcherTriggerDetails;{a7db5ad7-2257-4e69-9784-fee645c1dce0})"); } -impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAdvertisementWatcherTriggerDetails { type Vtable = IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl; } @@ -401,6 +327,7 @@ unsafe impl ::core::marker::Send for BluetoothLEAdvertisementWatcherTriggerDetai unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattCharacteristicNotificationTriggerDetails(::windows_core::IUnknown); impl GattCharacteristicNotificationTriggerDetails { #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] @@ -445,25 +372,9 @@ impl GattCharacteristicNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for GattCharacteristicNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattCharacteristicNotificationTriggerDetails {} -impl ::core::fmt::Debug for GattCharacteristicNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattCharacteristicNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattCharacteristicNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattCharacteristicNotificationTriggerDetails;{9ba03b18-0fec-436a-93b1-f46c697532a2})"); } -impl ::core::clone::Clone for GattCharacteristicNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattCharacteristicNotificationTriggerDetails { type Vtable = IGattCharacteristicNotificationTriggerDetails_Vtbl; } @@ -478,6 +389,7 @@ unsafe impl ::core::marker::Send for GattCharacteristicNotificationTriggerDetail unsafe impl ::core::marker::Sync for GattCharacteristicNotificationTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderConnection(::windows_core::IUnknown); impl GattServiceProviderConnection { pub fn TriggerId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -514,25 +426,9 @@ impl GattServiceProviderConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattServiceProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderConnection {} -impl ::core::fmt::Debug for GattServiceProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderConnection;{7fa1b9b9-2f13-40b5-9582-8eb78e98ef13})"); } -impl ::core::clone::Clone for GattServiceProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderConnection { type Vtable = IGattServiceProviderConnection_Vtbl; } @@ -547,6 +443,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderConnection {} unsafe impl ::core::marker::Sync for GattServiceProviderConnection {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderTriggerDetails(::windows_core::IUnknown); impl GattServiceProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -557,25 +454,9 @@ impl GattServiceProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for GattServiceProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderTriggerDetails {} -impl ::core::fmt::Debug for GattServiceProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.GattServiceProviderTriggerDetails;{ae8c0625-05ff-4afb-b16a-de95f3cf0158})"); } -impl ::core::clone::Clone for GattServiceProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderTriggerDetails { type Vtable = IGattServiceProviderTriggerDetails_Vtbl; } @@ -590,6 +471,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderTriggerDetails {} unsafe impl ::core::marker::Sync for GattServiceProviderTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommConnectionTriggerDetails(::windows_core::IUnknown); impl RfcommConnectionTriggerDetails { #[doc = "*Required features: `\"Networking_Sockets\"`*"] @@ -616,25 +498,9 @@ impl RfcommConnectionTriggerDetails { } } } -impl ::core::cmp::PartialEq for RfcommConnectionTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommConnectionTriggerDetails {} -impl ::core::fmt::Debug for RfcommConnectionTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommConnectionTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommConnectionTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommConnectionTriggerDetails;{f922734d-2e3c-4efc-ab59-fc5cf96f97e3})"); } -impl ::core::clone::Clone for RfcommConnectionTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommConnectionTriggerDetails { type Vtable = IRfcommConnectionTriggerDetails_Vtbl; } @@ -649,6 +515,7 @@ unsafe impl ::core::marker::Send for RfcommConnectionTriggerDetails {} unsafe impl ::core::marker::Sync for RfcommConnectionTriggerDetails {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommInboundConnectionInformation(::windows_core::IUnknown); impl RfcommInboundConnectionInformation { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -699,25 +566,9 @@ impl RfcommInboundConnectionInformation { unsafe { (::windows_core::Interface::vtable(this).SetServiceCapabilities)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for RfcommInboundConnectionInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommInboundConnectionInformation {} -impl ::core::fmt::Debug for RfcommInboundConnectionInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommInboundConnectionInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommInboundConnectionInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation;{6d3e75a8-5429-4059-92e3-1e8b65528707})"); } -impl ::core::clone::Clone for RfcommInboundConnectionInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommInboundConnectionInformation { type Vtable = IRfcommInboundConnectionInformation_Vtbl; } @@ -732,6 +583,7 @@ unsafe impl ::core::marker::Send for RfcommInboundConnectionInformation {} unsafe impl ::core::marker::Sync for RfcommInboundConnectionInformation {} #[doc = "*Required features: `\"Devices_Bluetooth_Background\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommOutboundConnectionInformation(::windows_core::IUnknown); impl RfcommOutboundConnectionInformation { #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] @@ -753,25 +605,9 @@ impl RfcommOutboundConnectionInformation { unsafe { (::windows_core::Interface::vtable(this).SetRemoteServiceId)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for RfcommOutboundConnectionInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommOutboundConnectionInformation {} -impl ::core::fmt::Debug for RfcommOutboundConnectionInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommOutboundConnectionInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommOutboundConnectionInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation;{b091227b-f434-4cb0-99b1-4ab8cedaedd7})"); } -impl ::core::clone::Clone for RfcommOutboundConnectionInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommOutboundConnectionInformation { type Vtable = IRfcommOutboundConnectionInformation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs index 8d40db5485..1cd9b56abe 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristic { type Vtable = IGattCharacteristic_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59cb50c1_5934_4f68_a198_eb864fa44e6b); } @@ -65,15 +61,11 @@ pub struct IGattCharacteristic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristic2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristic2 { type Vtable = IGattCharacteristic2_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristic2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristic2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae1ab578_ec06_4764_b780_9835a1d35d6e); } @@ -89,15 +81,11 @@ pub struct IGattCharacteristic2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristic3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristic3 { type Vtable = IGattCharacteristic3_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristic3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristic3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f3c663e_93d4_406b_b817_db81f8ed53b3); } @@ -136,15 +124,11 @@ pub struct IGattCharacteristic3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicStatics { type Vtable = IGattCharacteristicStatics_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59cb50c3_5934_4f68_a198_eb864fa44e6b); } @@ -159,15 +143,11 @@ pub struct IGattCharacteristicStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicUuidsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicUuidsStatics { type Vtable = IGattCharacteristicUuidsStatics_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicUuidsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicUuidsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58fa4586_b1de_470c_b7de_0d11ff44f4b7); } @@ -199,15 +179,11 @@ pub struct IGattCharacteristicUuidsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicUuidsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicUuidsStatics2 { type Vtable = IGattCharacteristicUuidsStatics2_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicUuidsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicUuidsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1855b425_d46e_4a2c_9c3f_ed6dea29e7be); } @@ -278,15 +254,11 @@ pub struct IGattCharacteristicUuidsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattCharacteristicsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattCharacteristicsResult { type Vtable = IGattCharacteristicsResult_Vtbl; } -impl ::core::clone::Clone for IGattCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattCharacteristicsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1194945c_b257_4f3e_9db7_f68bc9a9aef2); } @@ -306,15 +278,11 @@ pub struct IGattCharacteristicsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattClientNotificationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattClientNotificationResult { type Vtable = IGattClientNotificationResult_Vtbl; } -impl ::core::clone::Clone for IGattClientNotificationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattClientNotificationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x506d5599_0112_419a_8e3b_ae21afabd2c2); } @@ -331,15 +299,11 @@ pub struct IGattClientNotificationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattClientNotificationResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattClientNotificationResult2 { type Vtable = IGattClientNotificationResult2_Vtbl; } -impl ::core::clone::Clone for IGattClientNotificationResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattClientNotificationResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8faec497_45e0_497e_9582_29a1fe281ad5); } @@ -351,15 +315,11 @@ pub struct IGattClientNotificationResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDescriptor { type Vtable = IGattDescriptor_Vtbl; } -impl ::core::clone::Clone for IGattDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92055f2b_8084_4344_b4c2_284de19a8506); } @@ -386,15 +346,11 @@ pub struct IGattDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDescriptor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDescriptor2 { type Vtable = IGattDescriptor2_Vtbl; } -impl ::core::clone::Clone for IGattDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f563d39_d630_406c_ba11_10cdd16b0e5e); } @@ -409,15 +365,11 @@ pub struct IGattDescriptor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDescriptorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDescriptorStatics { type Vtable = IGattDescriptorStatics_Vtbl; } -impl ::core::clone::Clone for IGattDescriptorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDescriptorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92055f2d_8084_4344_b4c2_284de19a8506); } @@ -432,15 +384,11 @@ pub struct IGattDescriptorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDescriptorUuidsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDescriptorUuidsStatics { type Vtable = IGattDescriptorUuidsStatics_Vtbl; } -impl ::core::clone::Clone for IGattDescriptorUuidsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDescriptorUuidsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6f862ce_9cfc_42f1_9185_ff37b75181d3); } @@ -457,15 +405,11 @@ pub struct IGattDescriptorUuidsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDescriptorsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDescriptorsResult { type Vtable = IGattDescriptorsResult_Vtbl; } -impl ::core::clone::Clone for IGattDescriptorsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDescriptorsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bc091f3_95e7_4489_8d25_ff81955a57b9); } @@ -485,15 +429,11 @@ pub struct IGattDescriptorsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceService { type Vtable = IGattDeviceService_Vtbl; } -impl ::core::clone::Clone for IGattDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac7b7c05_b33c_47cf_990f_6b8f5577df71); } @@ -515,15 +455,11 @@ pub struct IGattDeviceService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceService2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceService2 { type Vtable = IGattDeviceService2_Vtbl; } -impl ::core::clone::Clone for IGattDeviceService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc54520b_0b0d_4708_bae0_9ffd9489bc59); } @@ -550,15 +486,11 @@ pub struct IGattDeviceService2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceService3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceService3 { type Vtable = IGattDeviceService3_Vtbl; } -impl ::core::clone::Clone for IGattDeviceService3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceService3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb293a950_0c53_437c_a9b3_5c3210c6e569); } @@ -615,15 +547,11 @@ pub struct IGattDeviceService3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceServiceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceServiceStatics { type Vtable = IGattDeviceServiceStatics_Vtbl; } -impl ::core::clone::Clone for IGattDeviceServiceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceServiceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x196d0022_faad_45dc_ae5b_2ac3184e84db); } @@ -647,15 +575,11 @@ pub struct IGattDeviceServiceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceServiceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceServiceStatics2 { type Vtable = IGattDeviceServiceStatics2_Vtbl; } -impl ::core::clone::Clone for IGattDeviceServiceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceServiceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0604186e_24a6_4b0d_a2f2_30cc01545d25); } @@ -674,15 +598,11 @@ pub struct IGattDeviceServiceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattDeviceServicesResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattDeviceServicesResult { type Vtable = IGattDeviceServicesResult_Vtbl; } -impl ::core::clone::Clone for IGattDeviceServicesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattDeviceServicesResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x171dd3ee_016d_419d_838a_576cf475a3d8); } @@ -702,15 +622,11 @@ pub struct IGattDeviceServicesResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalCharacteristic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalCharacteristic { type Vtable = IGattLocalCharacteristic_Vtbl; } -impl ::core::clone::Clone for IGattLocalCharacteristic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalCharacteristic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaede376d_5412_4d74_92a8_8deb8526829c); } @@ -778,15 +694,11 @@ pub struct IGattLocalCharacteristic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalCharacteristicParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalCharacteristicParameters { type Vtable = IGattLocalCharacteristicParameters_Vtbl; } -impl ::core::clone::Clone for IGattLocalCharacteristicParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalCharacteristicParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaf73db4_4cff_44c7_8445_040e6ead0063); } @@ -817,15 +729,11 @@ pub struct IGattLocalCharacteristicParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalCharacteristicResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalCharacteristicResult { type Vtable = IGattLocalCharacteristicResult_Vtbl; } -impl ::core::clone::Clone for IGattLocalCharacteristicResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalCharacteristicResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7975de9b_0170_4397_9666_92f863f12ee6); } @@ -838,15 +746,11 @@ pub struct IGattLocalCharacteristicResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalDescriptor { type Vtable = IGattLocalDescriptor_Vtbl; } -impl ::core::clone::Clone for IGattLocalDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf48ebe06_789d_4a4b_8652_bd017b5d2fc6); } @@ -880,15 +784,11 @@ pub struct IGattLocalDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalDescriptorParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalDescriptorParameters { type Vtable = IGattLocalDescriptorParameters_Vtbl; } -impl ::core::clone::Clone for IGattLocalDescriptorParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalDescriptorParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fdede6a_f3c1_4b66_8c4b_e3d2293b40e9); } @@ -911,15 +811,11 @@ pub struct IGattLocalDescriptorParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalDescriptorResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalDescriptorResult { type Vtable = IGattLocalDescriptorResult_Vtbl; } -impl ::core::clone::Clone for IGattLocalDescriptorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalDescriptorResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x375791be_321f_4366_bfc1_3bc6b82c79f8); } @@ -932,15 +828,11 @@ pub struct IGattLocalDescriptorResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattLocalService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattLocalService { type Vtable = IGattLocalService_Vtbl; } -impl ::core::clone::Clone for IGattLocalService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattLocalService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf513e258_f7f7_4902_b803_57fcc7d6fe83); } @@ -960,15 +852,11 @@ pub struct IGattLocalService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattPresentationFormat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattPresentationFormat { type Vtable = IGattPresentationFormat_Vtbl; } -impl ::core::clone::Clone for IGattPresentationFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattPresentationFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x196d0021_faad_45dc_ae5b_2ac3184e84db); } @@ -984,15 +872,11 @@ pub struct IGattPresentationFormat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattPresentationFormatStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattPresentationFormatStatics { type Vtable = IGattPresentationFormatStatics_Vtbl; } -impl ::core::clone::Clone for IGattPresentationFormatStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattPresentationFormatStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x196d0020_faad_45dc_ae5b_2ac3184e84db); } @@ -1004,15 +888,11 @@ pub struct IGattPresentationFormatStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattPresentationFormatStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattPresentationFormatStatics2 { type Vtable = IGattPresentationFormatStatics2_Vtbl; } -impl ::core::clone::Clone for IGattPresentationFormatStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattPresentationFormatStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9c21713_b82f_435e_b634_21fd85a43c07); } @@ -1024,15 +904,11 @@ pub struct IGattPresentationFormatStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattPresentationFormatTypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattPresentationFormatTypesStatics { type Vtable = IGattPresentationFormatTypesStatics_Vtbl; } -impl ::core::clone::Clone for IGattPresentationFormatTypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattPresentationFormatTypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaf1ba0a_30ba_409c_bef7_cffb6d03b8fb); } @@ -1070,15 +946,11 @@ pub struct IGattPresentationFormatTypesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattProtocolErrorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattProtocolErrorStatics { type Vtable = IGattProtocolErrorStatics_Vtbl; } -impl ::core::clone::Clone for IGattProtocolErrorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattProtocolErrorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca46c5c5_0ecc_4809_bea3_cf79bc991e37); } @@ -1106,15 +978,11 @@ pub struct IGattProtocolErrorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadClientCharacteristicConfigurationDescriptorResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadClientCharacteristicConfigurationDescriptorResult { type Vtable = IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl; } -impl ::core::clone::Clone for IGattReadClientCharacteristicConfigurationDescriptorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadClientCharacteristicConfigurationDescriptorResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63a66f09_1aea_4c4c_a50f_97bae474b348); } @@ -1127,15 +995,11 @@ pub struct IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadClientCharacteristicConfigurationDescriptorResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadClientCharacteristicConfigurationDescriptorResult2 { type Vtable = IGattReadClientCharacteristicConfigurationDescriptorResult2_Vtbl; } -impl ::core::clone::Clone for IGattReadClientCharacteristicConfigurationDescriptorResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadClientCharacteristicConfigurationDescriptorResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bf1a59d_ba4d_4622_8651_f4ee150d0a5d); } @@ -1150,15 +1014,11 @@ pub struct IGattReadClientCharacteristicConfigurationDescriptorResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadRequest { type Vtable = IGattReadRequest_Vtbl; } -impl ::core::clone::Clone for IGattReadRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1dd6535_6acd_42a6_a4bb_d789dae0043e); } @@ -1185,15 +1045,11 @@ pub struct IGattReadRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadRequestedEventArgs { type Vtable = IGattReadRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattReadRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93497243_f39c_484b_8ab6_996ba486cfa3); } @@ -1213,15 +1069,11 @@ pub struct IGattReadRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadResult { type Vtable = IGattReadResult_Vtbl; } -impl ::core::clone::Clone for IGattReadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63a66f08_1aea_4c4c_a50f_97bae474b348); } @@ -1237,15 +1089,11 @@ pub struct IGattReadResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReadResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReadResult2 { type Vtable = IGattReadResult2_Vtbl; } -impl ::core::clone::Clone for IGattReadResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReadResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa10f50a0_fb43_48af_baaa_638a5c6329fe); } @@ -1260,15 +1108,11 @@ pub struct IGattReadResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReliableWriteTransaction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReliableWriteTransaction { type Vtable = IGattReliableWriteTransaction_Vtbl; } -impl ::core::clone::Clone for IGattReliableWriteTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReliableWriteTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63a66f07_1aea_4c4c_a50f_97bae474b348); } @@ -1287,15 +1131,11 @@ pub struct IGattReliableWriteTransaction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattReliableWriteTransaction2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattReliableWriteTransaction2 { type Vtable = IGattReliableWriteTransaction2_Vtbl; } -impl ::core::clone::Clone for IGattReliableWriteTransaction2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattReliableWriteTransaction2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51113987_ef12_462f_9fb2_a1a43a679416); } @@ -1310,15 +1150,11 @@ pub struct IGattReliableWriteTransaction2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattRequestStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattRequestStateChangedEventArgs { type Vtable = IGattRequestStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattRequestStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattRequestStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe834d92c_27be_44b3_9d0d_4fc6e808dd3f); } @@ -1331,15 +1167,11 @@ pub struct IGattRequestStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProvider { type Vtable = IGattServiceProvider_Vtbl; } -impl ::core::clone::Clone for IGattServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7822b3cd_2889_4f86_a051_3f0aed1c2760); } @@ -1363,15 +1195,11 @@ pub struct IGattServiceProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderAdvertisementStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderAdvertisementStatusChangedEventArgs { type Vtable = IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderAdvertisementStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderAdvertisementStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59a5aa65_fa21_4ffc_b155_04d928012686); } @@ -1384,15 +1212,11 @@ pub struct IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderAdvertisingParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderAdvertisingParameters { type Vtable = IGattServiceProviderAdvertisingParameters_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderAdvertisingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderAdvertisingParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2ce31ab_6315_4c22_9bd7_781dbc3d8d82); } @@ -1407,15 +1231,11 @@ pub struct IGattServiceProviderAdvertisingParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderAdvertisingParameters2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderAdvertisingParameters2 { type Vtable = IGattServiceProviderAdvertisingParameters2_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderAdvertisingParameters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderAdvertisingParameters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff68468d_ca92_4434_9743_0e90988ad879); } @@ -1434,15 +1254,11 @@ pub struct IGattServiceProviderAdvertisingParameters2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderResult { type Vtable = IGattServiceProviderResult_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x764696d8_c53e_428c_8a48_67afe02c3ae6); } @@ -1455,15 +1271,11 @@ pub struct IGattServiceProviderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceProviderStatics { type Vtable = IGattServiceProviderStatics_Vtbl; } -impl ::core::clone::Clone for IGattServiceProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31794063_5256_4054_a4f4_7bbe7755a57e); } @@ -1478,15 +1290,11 @@ pub struct IGattServiceProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceUuidsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceUuidsStatics { type Vtable = IGattServiceUuidsStatics_Vtbl; } -impl ::core::clone::Clone for IGattServiceUuidsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceUuidsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dc57058_9aba_4417_b8f2_dce016d34ee2); } @@ -1506,15 +1314,11 @@ pub struct IGattServiceUuidsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattServiceUuidsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattServiceUuidsStatics2 { type Vtable = IGattServiceUuidsStatics2_Vtbl; } -impl ::core::clone::Clone for IGattServiceUuidsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattServiceUuidsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ae94f5_3d15_4f79_9c0c_eaafa675155c); } @@ -1538,15 +1342,11 @@ pub struct IGattServiceUuidsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattSession { type Vtable = IGattSession_Vtbl; } -impl ::core::clone::Clone for IGattSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd23b5143_e04e_4c24_999c_9c256f9856b1); } @@ -1579,15 +1379,11 @@ pub struct IGattSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattSessionStatics { type Vtable = IGattSessionStatics_Vtbl; } -impl ::core::clone::Clone for IGattSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e65b95c_539f_4db7_82a8_73bdbbf73ebf); } @@ -1602,15 +1398,11 @@ pub struct IGattSessionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattSessionStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattSessionStatusChangedEventArgs { type Vtable = IGattSessionStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattSessionStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattSessionStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7605b72e_837f_404c_ab34_3163f39ddf32); } @@ -1623,15 +1415,11 @@ pub struct IGattSessionStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattSubscribedClient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattSubscribedClient { type Vtable = IGattSubscribedClient_Vtbl; } -impl ::core::clone::Clone for IGattSubscribedClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattSubscribedClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x736e9001_15a4_4ec2_9248_e3f20d463be9); } @@ -1652,15 +1440,11 @@ pub struct IGattSubscribedClient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattValueChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattValueChangedEventArgs { type Vtable = IGattValueChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattValueChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd21bdb54_06e3_4ed8_a263_acfac8ba7313); } @@ -1679,15 +1463,11 @@ pub struct IGattValueChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattWriteRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattWriteRequest { type Vtable = IGattWriteRequest_Vtbl; } -impl ::core::clone::Clone for IGattWriteRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattWriteRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeb6a9ed_de2f_4fc2_a9a8_94ea7844f13d); } @@ -1715,15 +1495,11 @@ pub struct IGattWriteRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattWriteRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattWriteRequestedEventArgs { type Vtable = IGattWriteRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGattWriteRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattWriteRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dec8bbe_a73a_471a_94d5_037deadd0806); } @@ -1743,15 +1519,11 @@ pub struct IGattWriteRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGattWriteResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGattWriteResult { type Vtable = IGattWriteResult_Vtbl; } -impl ::core::clone::Clone for IGattWriteResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGattWriteResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4991ddb1_cb2b_44f7_99fc_d29a2871dc9b); } @@ -1767,6 +1539,7 @@ pub struct IGattWriteResult_Vtbl { } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattCharacteristic(::windows_core::IUnknown); impl GattCharacteristic { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"deprecated\"`*"] @@ -2003,25 +1776,9 @@ impl GattCharacteristic { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattCharacteristic { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattCharacteristic {} -impl ::core::fmt::Debug for GattCharacteristic { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattCharacteristic").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattCharacteristic { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic;{59cb50c1-5934-4f68-a198-eb864fa44e6b})"); } -impl ::core::clone::Clone for GattCharacteristic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattCharacteristic { type Vtable = IGattCharacteristic_Vtbl; } @@ -2539,6 +2296,7 @@ impl ::windows_core::RuntimeName for GattCharacteristicUuids { } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattCharacteristicsResult(::windows_core::IUnknown); impl GattCharacteristicsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2567,25 +2325,9 @@ impl GattCharacteristicsResult { } } } -impl ::core::cmp::PartialEq for GattCharacteristicsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattCharacteristicsResult {} -impl ::core::fmt::Debug for GattCharacteristicsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattCharacteristicsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattCharacteristicsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult;{1194945c-b257-4f3e-9db7-f68bc9a9aef2})"); } -impl ::core::clone::Clone for GattCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattCharacteristicsResult { type Vtable = IGattCharacteristicsResult_Vtbl; } @@ -2600,6 +2342,7 @@ unsafe impl ::core::marker::Send for GattCharacteristicsResult {} unsafe impl ::core::marker::Sync for GattCharacteristicsResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattClientNotificationResult(::windows_core::IUnknown); impl GattClientNotificationResult { pub fn SubscribedClient(&self) -> ::windows_core::Result { @@ -2633,25 +2376,9 @@ impl GattClientNotificationResult { } } } -impl ::core::cmp::PartialEq for GattClientNotificationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattClientNotificationResult {} -impl ::core::fmt::Debug for GattClientNotificationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattClientNotificationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattClientNotificationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult;{506d5599-0112-419a-8e3b-ae21afabd2c2})"); } -impl ::core::clone::Clone for GattClientNotificationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattClientNotificationResult { type Vtable = IGattClientNotificationResult_Vtbl; } @@ -2666,6 +2393,7 @@ unsafe impl ::core::marker::Send for GattClientNotificationResult {} unsafe impl ::core::marker::Sync for GattClientNotificationResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattDescriptor(::windows_core::IUnknown); impl GattDescriptor { pub fn ProtectionLevel(&self) -> ::windows_core::Result { @@ -2749,25 +2477,9 @@ impl GattDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattDescriptor {} -impl ::core::fmt::Debug for GattDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptor;{92055f2b-8084-4344-b4c2-284de19a8506})"); } -impl ::core::clone::Clone for GattDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattDescriptor { type Vtable = IGattDescriptor_Vtbl; } @@ -2830,6 +2542,7 @@ impl ::windows_core::RuntimeName for GattDescriptorUuids { } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattDescriptorsResult(::windows_core::IUnknown); impl GattDescriptorsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2858,25 +2571,9 @@ impl GattDescriptorsResult { } } } -impl ::core::cmp::PartialEq for GattDescriptorsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattDescriptorsResult {} -impl ::core::fmt::Debug for GattDescriptorsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattDescriptorsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattDescriptorsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDescriptorsResult;{9bc091f3-95e7-4489-8d25-ff81955a57b9})"); } -impl ::core::clone::Clone for GattDescriptorsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattDescriptorsResult { type Vtable = IGattDescriptorsResult_Vtbl; } @@ -2891,6 +2588,7 @@ unsafe impl ::core::marker::Send for GattDescriptorsResult {} unsafe impl ::core::marker::Sync for GattDescriptorsResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattDeviceService(::windows_core::IUnknown); impl GattDeviceService { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3172,25 +2870,9 @@ impl GattDeviceService { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattDeviceService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattDeviceService {} -impl ::core::fmt::Debug for GattDeviceService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattDeviceService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattDeviceService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService;{ac7b7c05-b33c-47cf-990f-6b8f5577df71})"); } -impl ::core::clone::Clone for GattDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattDeviceService { type Vtable = IGattDeviceService_Vtbl; } @@ -3207,6 +2889,7 @@ unsafe impl ::core::marker::Send for GattDeviceService {} unsafe impl ::core::marker::Sync for GattDeviceService {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattDeviceServicesResult(::windows_core::IUnknown); impl GattDeviceServicesResult { pub fn Status(&self) -> ::windows_core::Result { @@ -3235,25 +2918,9 @@ impl GattDeviceServicesResult { } } } -impl ::core::cmp::PartialEq for GattDeviceServicesResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattDeviceServicesResult {} -impl ::core::fmt::Debug for GattDeviceServicesResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattDeviceServicesResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattDeviceServicesResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult;{171dd3ee-016d-419d-838a-576cf475a3d8})"); } -impl ::core::clone::Clone for GattDeviceServicesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattDeviceServicesResult { type Vtable = IGattDeviceServicesResult_Vtbl; } @@ -3268,6 +2935,7 @@ unsafe impl ::core::marker::Send for GattDeviceServicesResult {} unsafe impl ::core::marker::Sync for GattDeviceServicesResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalCharacteristic(::windows_core::IUnknown); impl GattLocalCharacteristic { pub fn Uuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3433,25 +3101,9 @@ impl GattLocalCharacteristic { } } } -impl ::core::cmp::PartialEq for GattLocalCharacteristic { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalCharacteristic {} -impl ::core::fmt::Debug for GattLocalCharacteristic { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalCharacteristic").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalCharacteristic { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic;{aede376d-5412-4d74-92a8-8deb8526829c})"); } -impl ::core::clone::Clone for GattLocalCharacteristic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalCharacteristic { type Vtable = IGattLocalCharacteristic_Vtbl; } @@ -3466,6 +3118,7 @@ unsafe impl ::core::marker::Send for GattLocalCharacteristic {} unsafe impl ::core::marker::Sync for GattLocalCharacteristic {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalCharacteristicParameters(::windows_core::IUnknown); impl GattLocalCharacteristicParameters { pub fn new() -> ::windows_core::Result { @@ -3547,25 +3200,9 @@ impl GattLocalCharacteristicParameters { } } } -impl ::core::cmp::PartialEq for GattLocalCharacteristicParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalCharacteristicParameters {} -impl ::core::fmt::Debug for GattLocalCharacteristicParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalCharacteristicParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalCharacteristicParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters;{faf73db4-4cff-44c7-8445-040e6ead0063})"); } -impl ::core::clone::Clone for GattLocalCharacteristicParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalCharacteristicParameters { type Vtable = IGattLocalCharacteristicParameters_Vtbl; } @@ -3580,6 +3217,7 @@ unsafe impl ::core::marker::Send for GattLocalCharacteristicParameters {} unsafe impl ::core::marker::Sync for GattLocalCharacteristicParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalCharacteristicResult(::windows_core::IUnknown); impl GattLocalCharacteristicResult { pub fn Characteristic(&self) -> ::windows_core::Result { @@ -3597,25 +3235,9 @@ impl GattLocalCharacteristicResult { } } } -impl ::core::cmp::PartialEq for GattLocalCharacteristicResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalCharacteristicResult {} -impl ::core::fmt::Debug for GattLocalCharacteristicResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalCharacteristicResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalCharacteristicResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult;{7975de9b-0170-4397-9666-92f863f12ee6})"); } -impl ::core::clone::Clone for GattLocalCharacteristicResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalCharacteristicResult { type Vtable = IGattLocalCharacteristicResult_Vtbl; } @@ -3630,6 +3252,7 @@ unsafe impl ::core::marker::Send for GattLocalCharacteristicResult {} unsafe impl ::core::marker::Sync for GattLocalCharacteristicResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalDescriptor(::windows_core::IUnknown); impl GattLocalDescriptor { pub fn Uuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3699,25 +3322,9 @@ impl GattLocalDescriptor { unsafe { (::windows_core::Interface::vtable(this).RemoveWriteRequested)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for GattLocalDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalDescriptor {} -impl ::core::fmt::Debug for GattLocalDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptor;{f48ebe06-789d-4a4b-8652-bd017b5d2fc6})"); } -impl ::core::clone::Clone for GattLocalDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalDescriptor { type Vtable = IGattLocalDescriptor_Vtbl; } @@ -3732,6 +3339,7 @@ unsafe impl ::core::marker::Send for GattLocalDescriptor {} unsafe impl ::core::marker::Sync for GattLocalDescriptor {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalDescriptorParameters(::windows_core::IUnknown); impl GattLocalDescriptorParameters { pub fn new() -> ::windows_core::Result { @@ -3782,25 +3390,9 @@ impl GattLocalDescriptorParameters { } } } -impl ::core::cmp::PartialEq for GattLocalDescriptorParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalDescriptorParameters {} -impl ::core::fmt::Debug for GattLocalDescriptorParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalDescriptorParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalDescriptorParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters;{5fdede6a-f3c1-4b66-8c4b-e3d2293b40e9})"); } -impl ::core::clone::Clone for GattLocalDescriptorParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalDescriptorParameters { type Vtable = IGattLocalDescriptorParameters_Vtbl; } @@ -3815,6 +3407,7 @@ unsafe impl ::core::marker::Send for GattLocalDescriptorParameters {} unsafe impl ::core::marker::Sync for GattLocalDescriptorParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalDescriptorResult(::windows_core::IUnknown); impl GattLocalDescriptorResult { pub fn Descriptor(&self) -> ::windows_core::Result { @@ -3832,25 +3425,9 @@ impl GattLocalDescriptorResult { } } } -impl ::core::cmp::PartialEq for GattLocalDescriptorResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalDescriptorResult {} -impl ::core::fmt::Debug for GattLocalDescriptorResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalDescriptorResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalDescriptorResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorResult;{375791be-321f-4366-bfc1-3bc6b82c79f8})"); } -impl ::core::clone::Clone for GattLocalDescriptorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalDescriptorResult { type Vtable = IGattLocalDescriptorResult_Vtbl; } @@ -3865,6 +3442,7 @@ unsafe impl ::core::marker::Send for GattLocalDescriptorResult {} unsafe impl ::core::marker::Sync for GattLocalDescriptorResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattLocalService(::windows_core::IUnknown); impl GattLocalService { pub fn Uuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3896,25 +3474,9 @@ impl GattLocalService { } } } -impl ::core::cmp::PartialEq for GattLocalService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattLocalService {} -impl ::core::fmt::Debug for GattLocalService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattLocalService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattLocalService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService;{f513e258-f7f7-4902-b803-57fcc7d6fe83})"); } -impl ::core::clone::Clone for GattLocalService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattLocalService { type Vtable = IGattLocalService_Vtbl; } @@ -3929,6 +3491,7 @@ unsafe impl ::core::marker::Send for GattLocalService {} unsafe impl ::core::marker::Sync for GattLocalService {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattPresentationFormat(::windows_core::IUnknown); impl GattPresentationFormat { pub fn FormatType(&self) -> ::windows_core::Result { @@ -3989,25 +3552,9 @@ impl GattPresentationFormat { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattPresentationFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattPresentationFormat {} -impl ::core::fmt::Debug for GattPresentationFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattPresentationFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattPresentationFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattPresentationFormat;{196d0021-faad-45dc-ae5b-2ac3184e84db})"); } -impl ::core::clone::Clone for GattPresentationFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattPresentationFormat { type Vtable = IGattPresentationFormat_Vtbl; } @@ -4310,6 +3857,7 @@ impl ::windows_core::RuntimeName for GattProtocolError { } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattReadClientCharacteristicConfigurationDescriptorResult(::windows_core::IUnknown); impl GattReadClientCharacteristicConfigurationDescriptorResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4336,25 +3884,9 @@ impl GattReadClientCharacteristicConfigurationDescriptorResult { } } } -impl ::core::cmp::PartialEq for GattReadClientCharacteristicConfigurationDescriptorResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattReadClientCharacteristicConfigurationDescriptorResult {} -impl ::core::fmt::Debug for GattReadClientCharacteristicConfigurationDescriptorResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattReadClientCharacteristicConfigurationDescriptorResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattReadClientCharacteristicConfigurationDescriptorResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadClientCharacteristicConfigurationDescriptorResult;{63a66f09-1aea-4c4c-a50f-97bae474b348})"); } -impl ::core::clone::Clone for GattReadClientCharacteristicConfigurationDescriptorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattReadClientCharacteristicConfigurationDescriptorResult { type Vtable = IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl; } @@ -4369,6 +3901,7 @@ unsafe impl ::core::marker::Send for GattReadClientCharacteristicConfigurationDe unsafe impl ::core::marker::Sync for GattReadClientCharacteristicConfigurationDescriptorResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattReadRequest(::windows_core::IUnknown); impl GattReadRequest { pub fn Offset(&self) -> ::windows_core::Result { @@ -4424,25 +3957,9 @@ impl GattReadRequest { unsafe { (::windows_core::Interface::vtable(this).RespondWithProtocolError)(::windows_core::Interface::as_raw(this), protocolerror).ok() } } } -impl ::core::cmp::PartialEq for GattReadRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattReadRequest {} -impl ::core::fmt::Debug for GattReadRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattReadRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattReadRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest;{f1dd6535-6acd-42a6-a4bb-d789dae0043e})"); } -impl ::core::clone::Clone for GattReadRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattReadRequest { type Vtable = IGattReadRequest_Vtbl; } @@ -4457,6 +3974,7 @@ unsafe impl ::core::marker::Send for GattReadRequest {} unsafe impl ::core::marker::Sync for GattReadRequest {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattReadRequestedEventArgs(::windows_core::IUnknown); impl GattReadRequestedEventArgs { pub fn Session(&self) -> ::windows_core::Result { @@ -4485,25 +4003,9 @@ impl GattReadRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for GattReadRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattReadRequestedEventArgs {} -impl ::core::fmt::Debug for GattReadRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattReadRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattReadRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs;{93497243-f39c-484b-8ab6-996ba486cfa3})"); } -impl ::core::clone::Clone for GattReadRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattReadRequestedEventArgs { type Vtable = IGattReadRequestedEventArgs_Vtbl; } @@ -4518,6 +4020,7 @@ unsafe impl ::core::marker::Send for GattReadRequestedEventArgs {} unsafe impl ::core::marker::Sync for GattReadRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattReadResult(::windows_core::IUnknown); impl GattReadResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4546,25 +4049,9 @@ impl GattReadResult { } } } -impl ::core::cmp::PartialEq for GattReadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattReadResult {} -impl ::core::fmt::Debug for GattReadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattReadResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattReadResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult;{63a66f08-1aea-4c4c-a50f-97bae474b348})"); } -impl ::core::clone::Clone for GattReadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattReadResult { type Vtable = IGattReadResult_Vtbl; } @@ -4579,6 +4066,7 @@ unsafe impl ::core::marker::Send for GattReadResult {} unsafe impl ::core::marker::Sync for GattReadResult {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattReliableWriteTransaction(::windows_core::IUnknown); impl GattReliableWriteTransaction { pub fn new() -> ::windows_core::Result { @@ -4617,25 +4105,9 @@ impl GattReliableWriteTransaction { } } } -impl ::core::cmp::PartialEq for GattReliableWriteTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattReliableWriteTransaction {} -impl ::core::fmt::Debug for GattReliableWriteTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattReliableWriteTransaction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattReliableWriteTransaction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReliableWriteTransaction;{63a66f07-1aea-4c4c-a50f-97bae474b348})"); } -impl ::core::clone::Clone for GattReliableWriteTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattReliableWriteTransaction { type Vtable = IGattReliableWriteTransaction_Vtbl; } @@ -4650,6 +4122,7 @@ unsafe impl ::core::marker::Send for GattReliableWriteTransaction {} unsafe impl ::core::marker::Sync for GattReliableWriteTransaction {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattRequestStateChangedEventArgs(::windows_core::IUnknown); impl GattRequestStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -4667,25 +4140,9 @@ impl GattRequestStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GattRequestStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattRequestStateChangedEventArgs {} -impl ::core::fmt::Debug for GattRequestStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattRequestStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattRequestStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestStateChangedEventArgs;{e834d92c-27be-44b3-9d0d-4fc6e808dd3f})"); } -impl ::core::clone::Clone for GattRequestStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattRequestStateChangedEventArgs { type Vtable = IGattRequestStateChangedEventArgs_Vtbl; } @@ -4700,6 +4157,7 @@ unsafe impl ::core::marker::Send for GattRequestStateChangedEventArgs {} unsafe impl ::core::marker::Sync for GattRequestStateChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProvider(::windows_core::IUnknown); impl GattServiceProvider { pub fn Service(&self) -> ::windows_core::Result { @@ -4763,25 +4221,9 @@ impl GattServiceProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProvider {} -impl ::core::fmt::Debug for GattServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider;{7822b3cd-2889-4f86-a051-3f0aed1c2760})"); } -impl ::core::clone::Clone for GattServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProvider { type Vtable = IGattServiceProvider_Vtbl; } @@ -4796,6 +4238,7 @@ unsafe impl ::core::marker::Send for GattServiceProvider {} unsafe impl ::core::marker::Sync for GattServiceProvider {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderAdvertisementStatusChangedEventArgs(::windows_core::IUnknown); impl GattServiceProviderAdvertisementStatusChangedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -4813,25 +4256,9 @@ impl GattServiceProviderAdvertisementStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GattServiceProviderAdvertisementStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderAdvertisementStatusChangedEventArgs {} -impl ::core::fmt::Debug for GattServiceProviderAdvertisementStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderAdvertisementStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderAdvertisementStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatusChangedEventArgs;{59a5aa65-fa21-4ffc-b155-04d928012686})"); } -impl ::core::clone::Clone for GattServiceProviderAdvertisementStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderAdvertisementStatusChangedEventArgs { type Vtable = IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl; } @@ -4846,6 +4273,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderAdvertisementStatusChang unsafe impl ::core::marker::Sync for GattServiceProviderAdvertisementStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderAdvertisingParameters(::windows_core::IUnknown); impl GattServiceProviderAdvertisingParameters { pub fn new() -> ::windows_core::Result { @@ -4896,25 +4324,9 @@ impl GattServiceProviderAdvertisingParameters { } } } -impl ::core::cmp::PartialEq for GattServiceProviderAdvertisingParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderAdvertisingParameters {} -impl ::core::fmt::Debug for GattServiceProviderAdvertisingParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderAdvertisingParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderAdvertisingParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters;{e2ce31ab-6315-4c22-9bd7-781dbc3d8d82})"); } -impl ::core::clone::Clone for GattServiceProviderAdvertisingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderAdvertisingParameters { type Vtable = IGattServiceProviderAdvertisingParameters_Vtbl; } @@ -4929,6 +4341,7 @@ unsafe impl ::core::marker::Send for GattServiceProviderAdvertisingParameters {} unsafe impl ::core::marker::Sync for GattServiceProviderAdvertisingParameters {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattServiceProviderResult(::windows_core::IUnknown); impl GattServiceProviderResult { pub fn Error(&self) -> ::windows_core::Result { @@ -4946,25 +4359,9 @@ impl GattServiceProviderResult { } } } -impl ::core::cmp::PartialEq for GattServiceProviderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattServiceProviderResult {} -impl ::core::fmt::Debug for GattServiceProviderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattServiceProviderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattServiceProviderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult;{764696d8-c53e-428c-8a48-67afe02c3ae6})"); } -impl ::core::clone::Clone for GattServiceProviderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattServiceProviderResult { type Vtable = IGattServiceProviderResult_Vtbl; } @@ -5128,6 +4525,7 @@ impl ::windows_core::RuntimeName for GattServiceUuids { } #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattSession(::windows_core::IUnknown); impl GattSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5228,25 +4626,9 @@ impl GattSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GattSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattSession {} -impl ::core::fmt::Debug for GattSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession;{d23b5143-e04e-4c24-999c-9c256f9856b1})"); } -impl ::core::clone::Clone for GattSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattSession { type Vtable = IGattSession_Vtbl; } @@ -5263,6 +4645,7 @@ unsafe impl ::core::marker::Send for GattSession {} unsafe impl ::core::marker::Sync for GattSession {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattSessionStatusChangedEventArgs(::windows_core::IUnknown); impl GattSessionStatusChangedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -5280,25 +4663,9 @@ impl GattSessionStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GattSessionStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattSessionStatusChangedEventArgs {} -impl ::core::fmt::Debug for GattSessionStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattSessionStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattSessionStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatusChangedEventArgs;{7605b72e-837f-404c-ab34-3163f39ddf32})"); } -impl ::core::clone::Clone for GattSessionStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattSessionStatusChangedEventArgs { type Vtable = IGattSessionStatusChangedEventArgs_Vtbl; } @@ -5313,6 +4680,7 @@ unsafe impl ::core::marker::Send for GattSessionStatusChangedEventArgs {} unsafe impl ::core::marker::Sync for GattSessionStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattSubscribedClient(::windows_core::IUnknown); impl GattSubscribedClient { pub fn Session(&self) -> ::windows_core::Result { @@ -5348,25 +4716,9 @@ impl GattSubscribedClient { unsafe { (::windows_core::Interface::vtable(this).RemoveMaxNotificationSizeChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for GattSubscribedClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattSubscribedClient {} -impl ::core::fmt::Debug for GattSubscribedClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattSubscribedClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattSubscribedClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient;{736e9001-15a4-4ec2-9248-e3f20d463be9})"); } -impl ::core::clone::Clone for GattSubscribedClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattSubscribedClient { type Vtable = IGattSubscribedClient_Vtbl; } @@ -5381,6 +4733,7 @@ unsafe impl ::core::marker::Send for GattSubscribedClient {} unsafe impl ::core::marker::Sync for GattSubscribedClient {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattValueChangedEventArgs(::windows_core::IUnknown); impl GattValueChangedEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -5402,25 +4755,9 @@ impl GattValueChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GattValueChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattValueChangedEventArgs {} -impl ::core::fmt::Debug for GattValueChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattValueChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattValueChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs;{d21bdb54-06e3-4ed8-a263-acfac8ba7313})"); } -impl ::core::clone::Clone for GattValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattValueChangedEventArgs { type Vtable = IGattValueChangedEventArgs_Vtbl; } @@ -5435,6 +4772,7 @@ unsafe impl ::core::marker::Send for GattValueChangedEventArgs {} unsafe impl ::core::marker::Sync for GattValueChangedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattWriteRequest(::windows_core::IUnknown); impl GattWriteRequest { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -5494,25 +4832,9 @@ impl GattWriteRequest { unsafe { (::windows_core::Interface::vtable(this).RespondWithProtocolError)(::windows_core::Interface::as_raw(this), protocolerror).ok() } } } -impl ::core::cmp::PartialEq for GattWriteRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattWriteRequest {} -impl ::core::fmt::Debug for GattWriteRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattWriteRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattWriteRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest;{aeb6a9ed-de2f-4fc2-a9a8-94ea7844f13d})"); } -impl ::core::clone::Clone for GattWriteRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattWriteRequest { type Vtable = IGattWriteRequest_Vtbl; } @@ -5527,6 +4849,7 @@ unsafe impl ::core::marker::Send for GattWriteRequest {} unsafe impl ::core::marker::Sync for GattWriteRequest {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattWriteRequestedEventArgs(::windows_core::IUnknown); impl GattWriteRequestedEventArgs { pub fn Session(&self) -> ::windows_core::Result { @@ -5555,25 +4878,9 @@ impl GattWriteRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for GattWriteRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattWriteRequestedEventArgs {} -impl ::core::fmt::Debug for GattWriteRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattWriteRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattWriteRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs;{2dec8bbe-a73a-471a-94d5-037deadd0806})"); } -impl ::core::clone::Clone for GattWriteRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattWriteRequestedEventArgs { type Vtable = IGattWriteRequestedEventArgs_Vtbl; } @@ -5588,6 +4895,7 @@ unsafe impl ::core::marker::Send for GattWriteRequestedEventArgs {} unsafe impl ::core::marker::Sync for GattWriteRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Bluetooth_GenericAttributeProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GattWriteResult(::windows_core::IUnknown); impl GattWriteResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5607,25 +4915,9 @@ impl GattWriteResult { } } } -impl ::core::cmp::PartialEq for GattWriteResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GattWriteResult {} -impl ::core::fmt::Debug for GattWriteResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GattWriteResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GattWriteResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteResult;{4991ddb1-cb2b-44f7-99fc-d29a2871dc9b})"); } -impl ::core::clone::Clone for GattWriteResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GattWriteResult { type Vtable = IGattWriteResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs index 193237fcaa..10b1d93f07 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceService { type Vtable = IRfcommDeviceService_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae81ff1f_c5a1_4c40_8c28_f3efd69062f3); } @@ -41,15 +37,11 @@ pub struct IRfcommDeviceService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceService2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceService2 { type Vtable = IRfcommDeviceService2_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x536ced14_ebcd_49fe_bf9f_40efc689b20d); } @@ -61,15 +53,11 @@ pub struct IRfcommDeviceService2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceService3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceService3 { type Vtable = IRfcommDeviceService3_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceService3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceService3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c22ace6_dd44_4d23_866d_8f3486ee6490); } @@ -88,15 +76,11 @@ pub struct IRfcommDeviceService3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceServiceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceServiceStatics { type Vtable = IRfcommDeviceServiceStatics_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceServiceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceServiceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4a149ef_626d_41ac_b253_87ac5c27e28a); } @@ -112,15 +96,11 @@ pub struct IRfcommDeviceServiceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceServiceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceServiceStatics2 { type Vtable = IRfcommDeviceServiceStatics2_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceServiceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceServiceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa8cb1c9_e78d_4be4_8076_0a3d87a0a05f); } @@ -135,15 +115,11 @@ pub struct IRfcommDeviceServiceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommDeviceServicesResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommDeviceServicesResult { type Vtable = IRfcommDeviceServicesResult_Vtbl; } -impl ::core::clone::Clone for IRfcommDeviceServicesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommDeviceServicesResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b48388c_7ccf_488e_9625_d259a5732d55); } @@ -159,15 +135,11 @@ pub struct IRfcommDeviceServicesResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommServiceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommServiceId { type Vtable = IRfcommServiceId_Vtbl; } -impl ::core::clone::Clone for IRfcommServiceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommServiceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22629204_7e02_4017_8136_da1b6a1b9bbf); } @@ -181,15 +153,11 @@ pub struct IRfcommServiceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommServiceIdStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommServiceIdStatics { type Vtable = IRfcommServiceIdStatics_Vtbl; } -impl ::core::clone::Clone for IRfcommServiceIdStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommServiceIdStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a179eba_a975_46e3_b56b_08ffd783a5fe); } @@ -208,15 +176,11 @@ pub struct IRfcommServiceIdStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommServiceProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommServiceProvider { type Vtable = IRfcommServiceProvider_Vtbl; } -impl ::core::clone::Clone for IRfcommServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeadbfdc4_b1f6_44ff_9f7c_e7a82ab86821); } @@ -237,15 +201,11 @@ pub struct IRfcommServiceProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommServiceProvider2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommServiceProvider2 { type Vtable = IRfcommServiceProvider2_Vtbl; } -impl ::core::clone::Clone for IRfcommServiceProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommServiceProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x736bdfc6_3c81_4d1e_baf2_ddbb81284512); } @@ -260,15 +220,11 @@ pub struct IRfcommServiceProvider2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRfcommServiceProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRfcommServiceProviderStatics { type Vtable = IRfcommServiceProviderStatics_Vtbl; } -impl ::core::clone::Clone for IRfcommServiceProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRfcommServiceProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98888303_69ca_413a_84f7_4344c7292997); } @@ -283,6 +239,7 @@ pub struct IRfcommServiceProviderStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommDeviceService(::windows_core::IUnknown); impl RfcommDeviceService { #[doc = "*Required features: `\"Foundation\"`*"] @@ -441,25 +398,9 @@ impl RfcommDeviceService { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RfcommDeviceService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommDeviceService {} -impl ::core::fmt::Debug for RfcommDeviceService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommDeviceService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommDeviceService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceService;{ae81ff1f-c5a1-4c40-8c28-f3efd69062f3})"); } -impl ::core::clone::Clone for RfcommDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommDeviceService { type Vtable = IRfcommDeviceService_Vtbl; } @@ -476,6 +417,7 @@ unsafe impl ::core::marker::Send for RfcommDeviceService {} unsafe impl ::core::marker::Sync for RfcommDeviceService {} #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommDeviceServicesResult(::windows_core::IUnknown); impl RfcommDeviceServicesResult { pub fn Error(&self) -> ::windows_core::Result { @@ -495,25 +437,9 @@ impl RfcommDeviceServicesResult { } } } -impl ::core::cmp::PartialEq for RfcommDeviceServicesResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommDeviceServicesResult {} -impl ::core::fmt::Debug for RfcommDeviceServicesResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommDeviceServicesResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommDeviceServicesResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommDeviceServicesResult;{3b48388c-7ccf-488e-9625-d259a5732d55})"); } -impl ::core::clone::Clone for RfcommDeviceServicesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommDeviceServicesResult { type Vtable = IRfcommDeviceServicesResult_Vtbl; } @@ -528,6 +454,7 @@ unsafe impl ::core::marker::Send for RfcommDeviceServicesResult {} unsafe impl ::core::marker::Sync for RfcommDeviceServicesResult {} #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommServiceId(::windows_core::IUnknown); impl RfcommServiceId { pub fn Uuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -605,25 +532,9 @@ impl RfcommServiceId { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RfcommServiceId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommServiceId {} -impl ::core::fmt::Debug for RfcommServiceId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommServiceId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommServiceId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceId;{22629204-7e02-4017-8136-da1b6a1b9bbf})"); } -impl ::core::clone::Clone for RfcommServiceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommServiceId { type Vtable = IRfcommServiceId_Vtbl; } @@ -638,6 +549,7 @@ unsafe impl ::core::marker::Send for RfcommServiceId {} unsafe impl ::core::marker::Sync for RfcommServiceId {} #[doc = "*Required features: `\"Devices_Bluetooth_Rfcomm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RfcommServiceProvider(::windows_core::IUnknown); impl RfcommServiceProvider { pub fn ServiceId(&self) -> ::windows_core::Result { @@ -695,25 +607,9 @@ impl RfcommServiceProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RfcommServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RfcommServiceProvider {} -impl ::core::fmt::Debug for RfcommServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RfcommServiceProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RfcommServiceProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.Rfcomm.RfcommServiceProvider;{eadbfdc4-b1f6-44ff-9f7c-e7a82ab86821})"); } -impl ::core::clone::Clone for RfcommServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RfcommServiceProvider { type Vtable = IRfcommServiceProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index c7b7c832de..77b9bfdcad 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -8,15 +8,11 @@ pub mod GenericAttributeProfile; pub mod Rfcomm; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothAdapter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothAdapter { type Vtable = IBluetoothAdapter_Vtbl; } -impl ::core::clone::Clone for IBluetoothAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7974f04c_5f7a_4a34_9225_a855f84b1a8b); } @@ -38,15 +34,11 @@ pub struct IBluetoothAdapter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothAdapter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothAdapter2 { type Vtable = IBluetoothAdapter2_Vtbl; } -impl ::core::clone::Clone for IBluetoothAdapter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothAdapter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac94cecc_24d5_41b3_916d_1097c50b102b); } @@ -59,15 +51,11 @@ pub struct IBluetoothAdapter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothAdapter3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothAdapter3 { type Vtable = IBluetoothAdapter3_Vtbl; } -impl ::core::clone::Clone for IBluetoothAdapter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothAdapter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f8624e0_cba9_5211_9f89_3aac62b4c6b8); } @@ -80,15 +68,11 @@ pub struct IBluetoothAdapter3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothAdapterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothAdapterStatics { type Vtable = IBluetoothAdapterStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothAdapterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothAdapterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b02fb6a_ac4c_4741_8661_8eab7d17ea9f); } @@ -108,15 +92,11 @@ pub struct IBluetoothAdapterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothClassOfDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothClassOfDevice { type Vtable = IBluetoothClassOfDevice_Vtbl; } -impl ::core::clone::Clone for IBluetoothClassOfDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothClassOfDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd640227e_d7d7_4661_9454_65039ca17a2b); } @@ -131,15 +111,11 @@ pub struct IBluetoothClassOfDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothClassOfDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothClassOfDeviceStatics { type Vtable = IBluetoothClassOfDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothClassOfDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothClassOfDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe46135bd_0fa2_416c_91b4_c1e48ca061c1); } @@ -152,15 +128,11 @@ pub struct IBluetoothClassOfDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDevice { type Vtable = IBluetoothDevice_Vtbl; } -impl ::core::clone::Clone for IBluetoothDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2335b156_90d2_4a04_aef5_0e20b9e6b707); } @@ -212,15 +184,11 @@ pub struct IBluetoothDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDevice2 { type Vtable = IBluetoothDevice2_Vtbl; } -impl ::core::clone::Clone for IBluetoothDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0133f954_b156_4dd0_b1f5_c11bc31a5163); } @@ -235,15 +203,11 @@ pub struct IBluetoothDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDevice3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDevice3 { type Vtable = IBluetoothDevice3_Vtbl; } -impl ::core::clone::Clone for IBluetoothDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57fff78b_651a_4454_b90f_eb21ef0b0d71); } @@ -278,15 +242,11 @@ pub struct IBluetoothDevice3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDevice4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDevice4 { type Vtable = IBluetoothDevice4_Vtbl; } -impl ::core::clone::Clone for IBluetoothDevice4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDevice4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x817c34ad_0e9c_42b2_a8dc_3e8094940d12); } @@ -298,15 +258,11 @@ pub struct IBluetoothDevice4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDevice5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDevice5 { type Vtable = IBluetoothDevice5_Vtbl; } -impl ::core::clone::Clone for IBluetoothDevice5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDevice5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5e0b385_5e85_4559_a10d_1c7281379f96); } @@ -318,15 +274,11 @@ pub struct IBluetoothDevice5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDeviceId { type Vtable = IBluetoothDeviceId_Vtbl; } -impl ::core::clone::Clone for IBluetoothDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc17949af_57c1_4642_bcce_e6c06b20ae76); } @@ -340,15 +292,11 @@ pub struct IBluetoothDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDeviceIdStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDeviceIdStatics { type Vtable = IBluetoothDeviceIdStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothDeviceIdStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDeviceIdStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7884e67_3efb_4f31_bbc2_810e09977404); } @@ -360,15 +308,11 @@ pub struct IBluetoothDeviceIdStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDeviceStatics { type Vtable = IBluetoothDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0991df51_57db_4725_bbd7_84f64327ec2c); } @@ -392,15 +336,11 @@ pub struct IBluetoothDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothDeviceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothDeviceStatics2 { type Vtable = IBluetoothDeviceStatics2_Vtbl; } -impl ::core::clone::Clone for IBluetoothDeviceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothDeviceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc29e8e2f_4e14_4477_aa1b_b8b47e5b7ece); } @@ -416,15 +356,11 @@ pub struct IBluetoothDeviceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAppearance(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAppearance { type Vtable = IBluetoothLEAppearance_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAppearance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAppearance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d2079f2_66a8_4258_985e_02b4d9509f18); } @@ -438,15 +374,11 @@ pub struct IBluetoothLEAppearance_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAppearanceCategoriesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAppearanceCategoriesStatics { type Vtable = IBluetoothLEAppearanceCategoriesStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAppearanceCategoriesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAppearanceCategoriesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d4d54fe_046a_4185_aab6_824cf0610861); } @@ -479,15 +411,11 @@ pub struct IBluetoothLEAppearanceCategoriesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAppearanceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAppearanceStatics { type Vtable = IBluetoothLEAppearanceStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAppearanceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAppearanceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa193c0c7_4504_4f4a_9ba5_cd1054e5e065); } @@ -500,15 +428,11 @@ pub struct IBluetoothLEAppearanceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEAppearanceSubcategoriesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEAppearanceSubcategoriesStatics { type Vtable = IBluetoothLEAppearanceSubcategoriesStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEAppearanceSubcategoriesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEAppearanceSubcategoriesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe57ba606_2144_415a_8312_71ccf291f8d1); } @@ -547,15 +471,11 @@ pub struct IBluetoothLEAppearanceSubcategoriesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEConnectionParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEConnectionParameters { type Vtable = IBluetoothLEConnectionParameters_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEConnectionParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33cb0771_8da9_508f_a366_1ca388c929ab); } @@ -569,15 +489,11 @@ pub struct IBluetoothLEConnectionParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEConnectionPhy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEConnectionPhy { type Vtable = IBluetoothLEConnectionPhy_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEConnectionPhy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEConnectionPhy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x781e5e48_621e_5a7e_8be6_1b9561ff63c9); } @@ -590,15 +506,11 @@ pub struct IBluetoothLEConnectionPhy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEConnectionPhyInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEConnectionPhyInfo { type Vtable = IBluetoothLEConnectionPhyInfo_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEConnectionPhyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEConnectionPhyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a100bdd_602e_5c27_a1ae_b230015a6394); } @@ -612,15 +524,11 @@ pub struct IBluetoothLEConnectionPhyInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice { type Vtable = IBluetoothLEDevice_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5ee2f7b_4ad8_4642_ac48_80a0b500e887); } @@ -667,15 +575,11 @@ pub struct IBluetoothLEDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice2 { type Vtable = IBluetoothLEDevice2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26f062b3_7aee_4d31_baba_b1b9775f5916); } @@ -692,15 +596,11 @@ pub struct IBluetoothLEDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice3 { type Vtable = IBluetoothLEDevice3_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaee9e493_44ac_40dc_af33_b2c13c01ca46); } @@ -735,15 +635,11 @@ pub struct IBluetoothLEDevice3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice4 { type Vtable = IBluetoothLEDevice4_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b605031_2248_4b2f_acf0_7cee36fc5870); } @@ -755,15 +651,11 @@ pub struct IBluetoothLEDevice4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice5 { type Vtable = IBluetoothLEDevice5_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d6a1260_5287_458e_95ba_17c8b7bb326e); } @@ -775,15 +667,11 @@ pub struct IBluetoothLEDevice5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDevice6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDevice6 { type Vtable = IBluetoothLEDevice6_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDevice6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDevice6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca7190ef_0cae_573c_a1ca_e1fc5bfc39e2); } @@ -813,15 +701,11 @@ pub struct IBluetoothLEDevice6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDeviceStatics { type Vtable = IBluetoothLEDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8cf1a19_f0b6_4bf0_8689_41303de2d9f4); } @@ -841,15 +725,11 @@ pub struct IBluetoothLEDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEDeviceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEDeviceStatics2 { type Vtable = IBluetoothLEDeviceStatics2_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEDeviceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEDeviceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f12c06b_3bac_43e8_ad16_563271bd41c2); } @@ -870,15 +750,11 @@ pub struct IBluetoothLEDeviceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEPreferredConnectionParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEPreferredConnectionParameters { type Vtable = IBluetoothLEPreferredConnectionParameters_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEPreferredConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEPreferredConnectionParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2f44344_7372_5f7b_9b34_29c944f5a715); } @@ -893,15 +769,11 @@ pub struct IBluetoothLEPreferredConnectionParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEPreferredConnectionParametersRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEPreferredConnectionParametersRequest { type Vtable = IBluetoothLEPreferredConnectionParametersRequest_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEPreferredConnectionParametersRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEPreferredConnectionParametersRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a375276_a528_5266_b661_cce6a5ff9739); } @@ -913,15 +785,11 @@ pub struct IBluetoothLEPreferredConnectionParametersRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothLEPreferredConnectionParametersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothLEPreferredConnectionParametersStatics { type Vtable = IBluetoothLEPreferredConnectionParametersStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothLEPreferredConnectionParametersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothLEPreferredConnectionParametersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e3e8edc_2751_55aa_a838_8faeee818d72); } @@ -935,15 +803,11 @@ pub struct IBluetoothLEPreferredConnectionParametersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothSignalStrengthFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothSignalStrengthFilter { type Vtable = IBluetoothSignalStrengthFilter_Vtbl; } -impl ::core::clone::Clone for IBluetoothSignalStrengthFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothSignalStrengthFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf7b7391_6bb5_4cfe_90b1_5d7324edcf7f); } @@ -986,15 +850,11 @@ pub struct IBluetoothSignalStrengthFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBluetoothUuidHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBluetoothUuidHelperStatics { type Vtable = IBluetoothUuidHelperStatics_Vtbl; } -impl ::core::clone::Clone for IBluetoothUuidHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBluetoothUuidHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17df0cd8_cf74_4b21_afe6_f57a11bcdea0); } @@ -1010,6 +870,7 @@ pub struct IBluetoothUuidHelperStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothAdapter(::windows_core::IUnknown); impl BluetoothAdapter { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1126,25 +987,9 @@ impl BluetoothAdapter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothAdapter {} -impl ::core::fmt::Debug for BluetoothAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothAdapter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothAdapter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothAdapter;{7974f04c-5f7a-4a34-9225-a855f84b1a8b})"); } -impl ::core::clone::Clone for BluetoothAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothAdapter { type Vtable = IBluetoothAdapter_Vtbl; } @@ -1159,6 +1004,7 @@ unsafe impl ::core::marker::Send for BluetoothAdapter {} unsafe impl ::core::marker::Sync for BluetoothAdapter {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothClassOfDevice(::windows_core::IUnknown); impl BluetoothClassOfDevice { pub fn RawValue(&self) -> ::windows_core::Result { @@ -1207,25 +1053,9 @@ impl BluetoothClassOfDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothClassOfDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothClassOfDevice {} -impl ::core::fmt::Debug for BluetoothClassOfDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothClassOfDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothClassOfDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothClassOfDevice;{d640227e-d7d7-4661-9454-65039ca17a2b})"); } -impl ::core::clone::Clone for BluetoothClassOfDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothClassOfDevice { type Vtable = IBluetoothClassOfDevice_Vtbl; } @@ -1240,6 +1070,7 @@ unsafe impl ::core::marker::Send for BluetoothClassOfDevice {} unsafe impl ::core::marker::Sync for BluetoothClassOfDevice {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothDevice(::windows_core::IUnknown); impl BluetoothDevice { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1524,25 +1355,9 @@ impl BluetoothDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothDevice {} -impl ::core::fmt::Debug for BluetoothDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDevice;{2335b156-90d2-4a04-aef5-0e20b9e6b707})"); } -impl ::core::clone::Clone for BluetoothDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothDevice { type Vtable = IBluetoothDevice_Vtbl; } @@ -1559,6 +1374,7 @@ unsafe impl ::core::marker::Send for BluetoothDevice {} unsafe impl ::core::marker::Sync for BluetoothDevice {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothDeviceId(::windows_core::IUnknown); impl BluetoothDeviceId { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1594,25 +1410,9 @@ impl BluetoothDeviceId { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothDeviceId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothDeviceId {} -impl ::core::fmt::Debug for BluetoothDeviceId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothDeviceId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothDeviceId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothDeviceId;{c17949af-57c1-4642-bcce-e6c06b20ae76})"); } -impl ::core::clone::Clone for BluetoothDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothDeviceId { type Vtable = IBluetoothDeviceId_Vtbl; } @@ -1627,6 +1427,7 @@ unsafe impl ::core::marker::Send for BluetoothDeviceId {} unsafe impl ::core::marker::Sync for BluetoothDeviceId {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEAppearance(::windows_core::IUnknown); impl BluetoothLEAppearance { pub fn RawValue(&self) -> ::windows_core::Result { @@ -1668,25 +1469,9 @@ impl BluetoothLEAppearance { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEAppearance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEAppearance {} -impl ::core::fmt::Debug for BluetoothLEAppearance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEAppearance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEAppearance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEAppearance;{5d2079f2-66a8-4258-985e-02b4d9509f18})"); } -impl ::core::clone::Clone for BluetoothLEAppearance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEAppearance { type Vtable = IBluetoothLEAppearance_Vtbl; } @@ -2025,6 +1810,7 @@ impl ::windows_core::RuntimeName for BluetoothLEAppearanceSubcategories { } #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEConnectionParameters(::windows_core::IUnknown); impl BluetoothLEConnectionParameters { pub fn LinkTimeout(&self) -> ::windows_core::Result { @@ -2049,25 +1835,9 @@ impl BluetoothLEConnectionParameters { } } } -impl ::core::cmp::PartialEq for BluetoothLEConnectionParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEConnectionParameters {} -impl ::core::fmt::Debug for BluetoothLEConnectionParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEConnectionParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEConnectionParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionParameters;{33cb0771-8da9-508f-a366-1ca388c929ab})"); } -impl ::core::clone::Clone for BluetoothLEConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEConnectionParameters { type Vtable = IBluetoothLEConnectionParameters_Vtbl; } @@ -2082,6 +1852,7 @@ unsafe impl ::core::marker::Send for BluetoothLEConnectionParameters {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionParameters {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEConnectionPhy(::windows_core::IUnknown); impl BluetoothLEConnectionPhy { pub fn TransmitInfo(&self) -> ::windows_core::Result { @@ -2099,25 +1870,9 @@ impl BluetoothLEConnectionPhy { } } } -impl ::core::cmp::PartialEq for BluetoothLEConnectionPhy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEConnectionPhy {} -impl ::core::fmt::Debug for BluetoothLEConnectionPhy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEConnectionPhy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEConnectionPhy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhy;{781e5e48-621e-5a7e-8be6-1b9561ff63c9})"); } -impl ::core::clone::Clone for BluetoothLEConnectionPhy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEConnectionPhy { type Vtable = IBluetoothLEConnectionPhy_Vtbl; } @@ -2132,6 +1887,7 @@ unsafe impl ::core::marker::Send for BluetoothLEConnectionPhy {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionPhy {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEConnectionPhyInfo(::windows_core::IUnknown); impl BluetoothLEConnectionPhyInfo { pub fn IsUncoded1MPhy(&self) -> ::windows_core::Result { @@ -2156,25 +1912,9 @@ impl BluetoothLEConnectionPhyInfo { } } } -impl ::core::cmp::PartialEq for BluetoothLEConnectionPhyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEConnectionPhyInfo {} -impl ::core::fmt::Debug for BluetoothLEConnectionPhyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEConnectionPhyInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEConnectionPhyInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEConnectionPhyInfo;{9a100bdd-602e-5c27-a1ae-b230015a6394})"); } -impl ::core::clone::Clone for BluetoothLEConnectionPhyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEConnectionPhyInfo { type Vtable = IBluetoothLEConnectionPhyInfo_Vtbl; } @@ -2189,6 +1929,7 @@ unsafe impl ::core::marker::Send for BluetoothLEConnectionPhyInfo {} unsafe impl ::core::marker::Sync for BluetoothLEConnectionPhyInfo {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEDevice(::windows_core::IUnknown); impl BluetoothLEDevice { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2528,25 +2269,9 @@ impl BluetoothLEDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEDevice {} -impl ::core::fmt::Debug for BluetoothLEDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEDevice;{b5ee2f7b-4ad8-4642-ac48-80a0b500e887})"); } -impl ::core::clone::Clone for BluetoothLEDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEDevice { type Vtable = IBluetoothLEDevice_Vtbl; } @@ -2563,6 +2288,7 @@ unsafe impl ::core::marker::Send for BluetoothLEDevice {} unsafe impl ::core::marker::Sync for BluetoothLEDevice {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEPreferredConnectionParameters(::windows_core::IUnknown); impl BluetoothLEPreferredConnectionParameters { pub fn LinkTimeout(&self) -> ::windows_core::Result { @@ -2617,25 +2343,9 @@ impl BluetoothLEPreferredConnectionParameters { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BluetoothLEPreferredConnectionParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEPreferredConnectionParameters {} -impl ::core::fmt::Debug for BluetoothLEPreferredConnectionParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEPreferredConnectionParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEPreferredConnectionParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParameters;{f2f44344-7372-5f7b-9b34-29c944f5a715})"); } -impl ::core::clone::Clone for BluetoothLEPreferredConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEPreferredConnectionParameters { type Vtable = IBluetoothLEPreferredConnectionParameters_Vtbl; } @@ -2650,6 +2360,7 @@ unsafe impl ::core::marker::Send for BluetoothLEPreferredConnectionParameters {} unsafe impl ::core::marker::Sync for BluetoothLEPreferredConnectionParameters {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothLEPreferredConnectionParametersRequest(::windows_core::IUnknown); impl BluetoothLEPreferredConnectionParametersRequest { pub fn Status(&self) -> ::windows_core::Result { @@ -2666,25 +2377,9 @@ impl BluetoothLEPreferredConnectionParametersRequest { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BluetoothLEPreferredConnectionParametersRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothLEPreferredConnectionParametersRequest {} -impl ::core::fmt::Debug for BluetoothLEPreferredConnectionParametersRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothLEPreferredConnectionParametersRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothLEPreferredConnectionParametersRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothLEPreferredConnectionParametersRequest;{8a375276-a528-5266-b661-cce6a5ff9739})"); } -impl ::core::clone::Clone for BluetoothLEPreferredConnectionParametersRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothLEPreferredConnectionParametersRequest { type Vtable = IBluetoothLEPreferredConnectionParametersRequest_Vtbl; } @@ -2701,6 +2396,7 @@ unsafe impl ::core::marker::Send for BluetoothLEPreferredConnectionParametersReq unsafe impl ::core::marker::Sync for BluetoothLEPreferredConnectionParametersRequest {} #[doc = "*Required features: `\"Devices_Bluetooth\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BluetoothSignalStrengthFilter(::windows_core::IUnknown); impl BluetoothSignalStrengthFilter { pub fn new() -> ::windows_core::Result { @@ -2783,25 +2479,9 @@ impl BluetoothSignalStrengthFilter { unsafe { (::windows_core::Interface::vtable(this).SetSamplingInterval)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for BluetoothSignalStrengthFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BluetoothSignalStrengthFilter {} -impl ::core::fmt::Debug for BluetoothSignalStrengthFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BluetoothSignalStrengthFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BluetoothSignalStrengthFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter;{df7b7391-6bb5-4cfe-90b1-5d7324edcf7f})"); } -impl ::core::clone::Clone for BluetoothSignalStrengthFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BluetoothSignalStrengthFilter { type Vtable = IBluetoothSignalStrengthFilter_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs index 203805add0..abb37207f2 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs @@ -75,7 +75,7 @@ impl IIOControlCode_Vtbl { ControlCode: ControlCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index 1c5cb15c64..8d58855274 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomDevice { type Vtable = ICustomDevice_Vtbl; } -impl ::core::clone::Clone for ICustomDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd30251f_c48b_43bd_bcb1_dec88f15143e); } @@ -35,15 +31,11 @@ pub struct ICustomDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomDeviceStatics { type Vtable = ICustomDeviceStatics_Vtbl; } -impl ::core::clone::Clone for ICustomDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8220312_ef4c_46b1_a58e_eeb308dc8917); } @@ -59,6 +51,7 @@ pub struct ICustomDeviceStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIOControlCode(::windows_core::IUnknown); impl IIOControlCode { pub fn AccessMode(&self) -> ::windows_core::Result { @@ -98,28 +91,12 @@ impl IIOControlCode { } } ::windows_core::imp::interface_hierarchy!(IIOControlCode, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IIOControlCode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIOControlCode {} -impl ::core::fmt::Debug for IIOControlCode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIOControlCode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIOControlCode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0e9559e7-60c8-4375-a761-7f8808066c60}"); } unsafe impl ::windows_core::Interface for IIOControlCode { type Vtable = IIOControlCode_Vtbl; } -impl ::core::clone::Clone for IIOControlCode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIOControlCode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e9559e7_60c8_4375_a761_7f8808066c60); } @@ -135,15 +112,11 @@ pub struct IIOControlCode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIOControlCodeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIOControlCodeFactory { type Vtable = IIOControlCodeFactory_Vtbl; } -impl ::core::clone::Clone for IIOControlCodeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIOControlCodeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x856a7cf0_4c11_44ae_afc6_b8d4a212788f); } @@ -155,15 +128,11 @@ pub struct IIOControlCodeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownDeviceTypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownDeviceTypesStatics { type Vtable = IKnownDeviceTypesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownDeviceTypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownDeviceTypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee5479c2_5448_45da_ad1b_24948c239094); } @@ -175,6 +144,7 @@ pub struct IKnownDeviceTypesStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CustomDevice(::windows_core::IUnknown); impl CustomDevice { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -243,25 +213,9 @@ impl CustomDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CustomDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CustomDevice {} -impl ::core::fmt::Debug for CustomDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CustomDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CustomDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.CustomDevice;{dd30251f-c48b-43bd-bcb1-dec88f15143e})"); } -impl ::core::clone::Clone for CustomDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CustomDevice { type Vtable = ICustomDevice_Vtbl; } @@ -276,6 +230,7 @@ unsafe impl ::core::marker::Send for CustomDevice {} unsafe impl ::core::marker::Sync for CustomDevice {} #[doc = "*Required features: `\"Devices_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOControlCode(::windows_core::IUnknown); impl IOControlCode { pub fn AccessMode(&self) -> ::windows_core::Result { @@ -325,25 +280,9 @@ impl IOControlCode { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IOControlCode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOControlCode {} -impl ::core::fmt::Debug for IOControlCode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOControlCode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IOControlCode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Custom.IOControlCode;{0e9559e7-60c8-4375-a761-7f8808066c60})"); } -impl ::core::clone::Clone for IOControlCode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IOControlCode { type Vtable = IIOControlCode_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs index c68e2510c3..d78e7987e2 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayAdapter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayAdapter { type Vtable = IDisplayAdapter_Vtbl; } -impl ::core::clone::Clone for IDisplayAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa56f5287_f000_5f2e_b5ac_3783a2b69af5); } @@ -33,15 +29,11 @@ pub struct IDisplayAdapter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayAdapterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayAdapterStatics { type Vtable = IDisplayAdapterStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayAdapterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayAdapterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dac3cda_481f_5469_8470_82c4ba680a28); } @@ -56,15 +48,11 @@ pub struct IDisplayAdapterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayDevice { type Vtable = IDisplayDevice_Vtbl; } -impl ::core::clone::Clone for IDisplayDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4c9b62c_335f_5731_8cb4_c1ccd4731070); } @@ -85,15 +73,11 @@ pub struct IDisplayDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayDevice2 { type Vtable = IDisplayDevice2_Vtbl; } -impl ::core::clone::Clone for IDisplayDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fefe50c_0940_54bd_a02f_f9c7a536ad60); } @@ -108,15 +92,11 @@ pub struct IDisplayDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayFence(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayFence { type Vtable = IDisplayFence_Vtbl; } -impl ::core::clone::Clone for IDisplayFence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayFence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04dcf9ef_3406_5700_8fec_77eba4c5a74b); } @@ -127,15 +107,11 @@ pub struct IDisplayFence_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManager { type Vtable = IDisplayManager_Vtbl; } -impl ::core::clone::Clone for IDisplayManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ed9245b_15ec_56e2_9072_7fe5084a31a7); } @@ -204,15 +180,11 @@ pub struct IDisplayManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerChangedEventArgs { type Vtable = IDisplayManagerChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6abfa285_6cca_5731_bcdc_42e5d2f5c50f); } @@ -229,15 +201,11 @@ pub struct IDisplayManagerChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerDisabledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerDisabledEventArgs { type Vtable = IDisplayManagerDisabledEventArgs_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerDisabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerDisabledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8726dde4_6793_5973_a11f_5ffbc93fdb90); } @@ -254,15 +222,11 @@ pub struct IDisplayManagerDisabledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerEnabledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerEnabledEventArgs { type Vtable = IDisplayManagerEnabledEventArgs_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerEnabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerEnabledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0cf3f6f_42fa_59a2_b297_26e1713de848); } @@ -279,15 +243,11 @@ pub struct IDisplayManagerEnabledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerPathsFailedOrInvalidatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerPathsFailedOrInvalidatedEventArgs { type Vtable = IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerPathsFailedOrInvalidatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerPathsFailedOrInvalidatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03a65659_1dec_5c15_b2a2_8fe9129869fe); } @@ -304,15 +264,11 @@ pub struct IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerResultWithState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerResultWithState { type Vtable = IDisplayManagerResultWithState_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerResultWithState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerResultWithState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e656aa6_6614_54be_bfef_4994547f7be1); } @@ -326,15 +282,11 @@ pub struct IDisplayManagerResultWithState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayManagerStatics { type Vtable = IDisplayManagerStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b6b9446_b999_5535_9d69_53f092c780a1); } @@ -346,15 +298,11 @@ pub struct IDisplayManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayModeInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayModeInfo { type Vtable = IDisplayModeInfo_Vtbl; } -impl ::core::clone::Clone for IDisplayModeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayModeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48d513a0_f79b_5a74_a05e_da821f470868); } @@ -389,15 +337,11 @@ pub struct IDisplayModeInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayModeInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayModeInfo2 { type Vtable = IDisplayModeInfo2_Vtbl; } -impl ::core::clone::Clone for IDisplayModeInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayModeInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc86fa386_0ddb_5473_bfb0_4b7807b5f909); } @@ -412,15 +356,11 @@ pub struct IDisplayModeInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPath(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayPath { type Vtable = IDisplayPath_Vtbl; } -impl ::core::clone::Clone for IDisplayPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3dfd64a_7460_5cde_811b_d5ae9f3d9f84); } @@ -491,15 +431,11 @@ pub struct IDisplayPath_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPath2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayPath2 { type Vtable = IDisplayPath2_Vtbl; } -impl ::core::clone::Clone for IDisplayPath2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPath2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf32459c5_e994_570b_9ec8_ef42c35a8547); } @@ -518,15 +454,11 @@ pub struct IDisplayPath2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPrimaryDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayPrimaryDescription { type Vtable = IDisplayPrimaryDescription_Vtbl; } -impl ::core::clone::Clone for IDisplayPrimaryDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPrimaryDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x872591d2_d533_50ff_a85e_06696194b77c); } @@ -556,15 +488,11 @@ pub struct IDisplayPrimaryDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPrimaryDescriptionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayPrimaryDescriptionFactory { type Vtable = IDisplayPrimaryDescriptionFactory_Vtbl; } -impl ::core::clone::Clone for IDisplayPrimaryDescriptionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPrimaryDescriptionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a6aff7b_3637_5c46_b479_76d576216e65); } @@ -579,15 +507,11 @@ pub struct IDisplayPrimaryDescriptionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPrimaryDescriptionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayPrimaryDescriptionStatics { type Vtable = IDisplayPrimaryDescriptionStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayPrimaryDescriptionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPrimaryDescriptionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe60e4cfb_36c9_56dd_8fa1_6ff8c4e0ff07); } @@ -602,15 +526,11 @@ pub struct IDisplayPrimaryDescriptionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayScanout(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayScanout { type Vtable = IDisplayScanout_Vtbl; } -impl ::core::clone::Clone for IDisplayScanout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayScanout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3051828_1ba5_50e7_8a39_bb1fd2f4f8b9); } @@ -621,15 +541,11 @@ pub struct IDisplayScanout_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplaySource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplaySource { type Vtable = IDisplaySource_Vtbl; } -impl ::core::clone::Clone for IDisplaySource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplaySource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecd15fc1_eadc_51bc_971d_3bc628db2dd4); } @@ -649,15 +565,11 @@ pub struct IDisplaySource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplaySource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplaySource2 { type Vtable = IDisplaySource2_Vtbl; } -impl ::core::clone::Clone for IDisplaySource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplaySource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71e18952_b321_5af4_bfe8_03fbea31e40d); } @@ -677,15 +589,11 @@ pub struct IDisplaySource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayState { type Vtable = IDisplayState_Vtbl; } -impl ::core::clone::Clone for IDisplayState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08129321_11b5_5cb2_99f8_e90b479a8a1d); } @@ -719,15 +627,11 @@ pub struct IDisplayState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayStateOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayStateOperationResult { type Vtable = IDisplayStateOperationResult_Vtbl; } -impl ::core::clone::Clone for IDisplayStateOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayStateOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcadbfdf_dc27_5638_b7f2_ebdfa4f7ea93); } @@ -740,15 +644,11 @@ pub struct IDisplayStateOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplaySurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplaySurface { type Vtable = IDisplaySurface_Vtbl; } -impl ::core::clone::Clone for IDisplaySurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplaySurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x594f6cc6_139a_56d6_a4b1_15fe2cb76adb); } @@ -759,15 +659,11 @@ pub struct IDisplaySurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTarget { type Vtable = IDisplayTarget_Vtbl; } -impl ::core::clone::Clone for IDisplayTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec57c6f_47b4_546b_987c_e73fa791fe3a); } @@ -795,15 +691,11 @@ pub struct IDisplayTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTask(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTask { type Vtable = IDisplayTask_Vtbl; } -impl ::core::clone::Clone for IDisplayTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e087448_135b_5bb0_bf63_637f84227c7a); } @@ -816,15 +708,11 @@ pub struct IDisplayTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTask2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTask2 { type Vtable = IDisplayTask2_Vtbl; } -impl ::core::clone::Clone for IDisplayTask2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTask2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0957ea19_bd55_55de_9267_c97b61e71c37); } @@ -836,15 +724,11 @@ pub struct IDisplayTask2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTaskPool(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTaskPool { type Vtable = IDisplayTaskPool_Vtbl; } -impl ::core::clone::Clone for IDisplayTaskPool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTaskPool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc676253d_237d_5548_aafa_3e517fefef1c); } @@ -860,15 +744,11 @@ pub struct IDisplayTaskPool_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTaskPool2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTaskPool2 { type Vtable = IDisplayTaskPool2_Vtbl; } -impl ::core::clone::Clone for IDisplayTaskPool2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTaskPool2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46b879b6_5d17_5955_a872_eb38003db586); } @@ -880,15 +760,11 @@ pub struct IDisplayTaskPool2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayTaskResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayTaskResult { type Vtable = IDisplayTaskResult_Vtbl; } -impl ::core::clone::Clone for IDisplayTaskResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayTaskResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fbc7d67_f9b1_55e0_9d88_d3a5197a3f59); } @@ -902,15 +778,11 @@ pub struct IDisplayTaskResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayView { type Vtable = IDisplayView_Vtbl; } -impl ::core::clone::Clone for IDisplayView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0c98ca1_b759_5b59_b1ad_f0786aa9e53d); } @@ -938,15 +810,11 @@ pub struct IDisplayView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayWireFormat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayWireFormat { type Vtable = IDisplayWireFormat_Vtbl; } -impl ::core::clone::Clone for IDisplayWireFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayWireFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1acc967d_872c_5a38_bbb9_1d4872b76255); } @@ -966,15 +834,11 @@ pub struct IDisplayWireFormat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayWireFormatFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayWireFormatFactory { type Vtable = IDisplayWireFormatFactory_Vtbl; } -impl ::core::clone::Clone for IDisplayWireFormatFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayWireFormatFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2efc8d5_09d6_55e6_ad22_9014b3d25229); } @@ -986,15 +850,11 @@ pub struct IDisplayWireFormatFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayWireFormatStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayWireFormatStatics { type Vtable = IDisplayWireFormatStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayWireFormatStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayWireFormatStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc575a22d_c3e6_5f7a_bdfb_87c6ab8661d5); } @@ -1009,6 +869,7 @@ pub struct IDisplayWireFormatStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayAdapter(::windows_core::IUnknown); impl DisplayAdapter { #[doc = "*Required features: `\"Graphics\"`*"] @@ -1085,25 +946,9 @@ impl DisplayAdapter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayAdapter {} -impl ::core::fmt::Debug for DisplayAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayAdapter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayAdapter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayAdapter;{a56f5287-f000-5f2e-b5ac-3783a2b69af5})"); } -impl ::core::clone::Clone for DisplayAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayAdapter { type Vtable = IDisplayAdapter_Vtbl; } @@ -1118,6 +963,7 @@ unsafe impl ::core::marker::Send for DisplayAdapter {} unsafe impl ::core::marker::Sync for DisplayAdapter {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayDevice(::windows_core::IUnknown); impl DisplayDevice { pub fn CreateScanoutSource(&self, target: P0) -> ::windows_core::Result @@ -1200,25 +1046,9 @@ impl DisplayDevice { } } } -impl ::core::cmp::PartialEq for DisplayDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayDevice {} -impl ::core::fmt::Debug for DisplayDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayDevice;{a4c9b62c-335f-5731-8cb4-c1ccd4731070})"); } -impl ::core::clone::Clone for DisplayDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayDevice { type Vtable = IDisplayDevice_Vtbl; } @@ -1233,27 +1063,12 @@ unsafe impl ::core::marker::Send for DisplayDevice {} unsafe impl ::core::marker::Sync for DisplayDevice {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayFence(::windows_core::IUnknown); impl DisplayFence {} -impl ::core::cmp::PartialEq for DisplayFence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayFence {} -impl ::core::fmt::Debug for DisplayFence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayFence").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayFence { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayFence;{04dcf9ef-3406-5700-8fec-77eba4c5a74b})"); } -impl ::core::clone::Clone for DisplayFence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayFence { type Vtable = IDisplayFence_Vtbl; } @@ -1268,6 +1083,7 @@ unsafe impl ::core::marker::Send for DisplayFence {} unsafe impl ::core::marker::Sync for DisplayFence {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManager(::windows_core::IUnknown); impl DisplayManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1457,25 +1273,9 @@ impl DisplayManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManager {} -impl ::core::fmt::Debug for DisplayManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManager;{4ed9245b-15ec-56e2-9072-7fe5084a31a7})"); } -impl ::core::clone::Clone for DisplayManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManager { type Vtable = IDisplayManager_Vtbl; } @@ -1492,6 +1292,7 @@ unsafe impl ::core::marker::Send for DisplayManager {} unsafe impl ::core::marker::Sync for DisplayManager {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManagerChangedEventArgs(::windows_core::IUnknown); impl DisplayManagerChangedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -1515,25 +1316,9 @@ impl DisplayManagerChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DisplayManagerChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManagerChangedEventArgs {} -impl ::core::fmt::Debug for DisplayManagerChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManagerChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManagerChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerChangedEventArgs;{6abfa285-6cca-5731-bcdc-42e5d2f5c50f})"); } -impl ::core::clone::Clone for DisplayManagerChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManagerChangedEventArgs { type Vtable = IDisplayManagerChangedEventArgs_Vtbl; } @@ -1548,6 +1333,7 @@ unsafe impl ::core::marker::Send for DisplayManagerChangedEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerChangedEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManagerDisabledEventArgs(::windows_core::IUnknown); impl DisplayManagerDisabledEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -1571,25 +1357,9 @@ impl DisplayManagerDisabledEventArgs { } } } -impl ::core::cmp::PartialEq for DisplayManagerDisabledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManagerDisabledEventArgs {} -impl ::core::fmt::Debug for DisplayManagerDisabledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManagerDisabledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManagerDisabledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs;{8726dde4-6793-5973-a11f-5ffbc93fdb90})"); } -impl ::core::clone::Clone for DisplayManagerDisabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManagerDisabledEventArgs { type Vtable = IDisplayManagerDisabledEventArgs_Vtbl; } @@ -1604,6 +1374,7 @@ unsafe impl ::core::marker::Send for DisplayManagerDisabledEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerDisabledEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManagerEnabledEventArgs(::windows_core::IUnknown); impl DisplayManagerEnabledEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -1627,25 +1398,9 @@ impl DisplayManagerEnabledEventArgs { } } } -impl ::core::cmp::PartialEq for DisplayManagerEnabledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManagerEnabledEventArgs {} -impl ::core::fmt::Debug for DisplayManagerEnabledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManagerEnabledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManagerEnabledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs;{f0cf3f6f-42fa-59a2-b297-26e1713de848})"); } -impl ::core::clone::Clone for DisplayManagerEnabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManagerEnabledEventArgs { type Vtable = IDisplayManagerEnabledEventArgs_Vtbl; } @@ -1660,6 +1415,7 @@ unsafe impl ::core::marker::Send for DisplayManagerEnabledEventArgs {} unsafe impl ::core::marker::Sync for DisplayManagerEnabledEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManagerPathsFailedOrInvalidatedEventArgs(::windows_core::IUnknown); impl DisplayManagerPathsFailedOrInvalidatedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -1683,25 +1439,9 @@ impl DisplayManagerPathsFailedOrInvalidatedEventArgs { } } } -impl ::core::cmp::PartialEq for DisplayManagerPathsFailedOrInvalidatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManagerPathsFailedOrInvalidatedEventArgs {} -impl ::core::fmt::Debug for DisplayManagerPathsFailedOrInvalidatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManagerPathsFailedOrInvalidatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManagerPathsFailedOrInvalidatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs;{03a65659-1dec-5c15-b2a2-8fe9129869fe})"); } -impl ::core::clone::Clone for DisplayManagerPathsFailedOrInvalidatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManagerPathsFailedOrInvalidatedEventArgs { type Vtable = IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl; } @@ -1716,6 +1456,7 @@ unsafe impl ::core::marker::Send for DisplayManagerPathsFailedOrInvalidatedEvent unsafe impl ::core::marker::Sync for DisplayManagerPathsFailedOrInvalidatedEventArgs {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayManagerResultWithState(::windows_core::IUnknown); impl DisplayManagerResultWithState { pub fn ErrorCode(&self) -> ::windows_core::Result { @@ -1740,25 +1481,9 @@ impl DisplayManagerResultWithState { } } } -impl ::core::cmp::PartialEq for DisplayManagerResultWithState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayManagerResultWithState {} -impl ::core::fmt::Debug for DisplayManagerResultWithState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayManagerResultWithState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayManagerResultWithState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayManagerResultWithState;{8e656aa6-6614-54be-bfef-4994547f7be1})"); } -impl ::core::clone::Clone for DisplayManagerResultWithState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayManagerResultWithState { type Vtable = IDisplayManagerResultWithState_Vtbl; } @@ -1773,6 +1498,7 @@ unsafe impl ::core::marker::Send for DisplayManagerResultWithState {} unsafe impl ::core::marker::Sync for DisplayManagerResultWithState {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayModeInfo(::windows_core::IUnknown); impl DisplayModeInfo { #[doc = "*Required features: `\"Graphics\"`*"] @@ -1861,25 +1587,9 @@ impl DisplayModeInfo { } } } -impl ::core::cmp::PartialEq for DisplayModeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayModeInfo {} -impl ::core::fmt::Debug for DisplayModeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayModeInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayModeInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayModeInfo;{48d513a0-f79b-5a74-a05e-da821f470868})"); } -impl ::core::clone::Clone for DisplayModeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayModeInfo { type Vtable = IDisplayModeInfo_Vtbl; } @@ -1894,6 +1604,7 @@ unsafe impl ::core::marker::Send for DisplayModeInfo {} unsafe impl ::core::marker::Sync for DisplayModeInfo {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayPath(::windows_core::IUnknown); impl DisplayPath { pub fn View(&self) -> ::windows_core::Result { @@ -2095,25 +1806,9 @@ impl DisplayPath { unsafe { (::windows_core::Interface::vtable(this).SetPhysicalPresentationRate)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for DisplayPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayPath {} -impl ::core::fmt::Debug for DisplayPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayPath").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayPath { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPath;{b3dfd64a-7460-5cde-811b-d5ae9f3d9f84})"); } -impl ::core::clone::Clone for DisplayPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayPath { type Vtable = IDisplayPath_Vtbl; } @@ -2128,6 +1823,7 @@ unsafe impl ::core::marker::Send for DisplayPath {} unsafe impl ::core::marker::Sync for DisplayPath {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayPrimaryDescription(::windows_core::IUnknown); impl DisplayPrimaryDescription { pub fn Width(&self) -> ::windows_core::Result { @@ -2217,25 +1913,9 @@ impl DisplayPrimaryDescription { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayPrimaryDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayPrimaryDescription {} -impl ::core::fmt::Debug for DisplayPrimaryDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayPrimaryDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayPrimaryDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayPrimaryDescription;{872591d2-d533-50ff-a85e-06696194b77c})"); } -impl ::core::clone::Clone for DisplayPrimaryDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayPrimaryDescription { type Vtable = IDisplayPrimaryDescription_Vtbl; } @@ -2250,27 +1930,12 @@ unsafe impl ::core::marker::Send for DisplayPrimaryDescription {} unsafe impl ::core::marker::Sync for DisplayPrimaryDescription {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayScanout(::windows_core::IUnknown); impl DisplayScanout {} -impl ::core::cmp::PartialEq for DisplayScanout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayScanout {} -impl ::core::fmt::Debug for DisplayScanout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayScanout").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayScanout { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayScanout;{e3051828-1ba5-50e7-8a39-bb1fd2f4f8b9})"); } -impl ::core::clone::Clone for DisplayScanout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayScanout { type Vtable = IDisplayScanout_Vtbl; } @@ -2285,6 +1950,7 @@ unsafe impl ::core::marker::Send for DisplayScanout {} unsafe impl ::core::marker::Sync for DisplayScanout {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplaySource(::windows_core::IUnknown); impl DisplaySource { #[doc = "*Required features: `\"Graphics\"`*"] @@ -2338,25 +2004,9 @@ impl DisplaySource { unsafe { (::windows_core::Interface::vtable(this).RemoveStatusChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for DisplaySource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplaySource {} -impl ::core::fmt::Debug for DisplaySource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplaySource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplaySource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySource;{ecd15fc1-eadc-51bc-971d-3bc628db2dd4})"); } -impl ::core::clone::Clone for DisplaySource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplaySource { type Vtable = IDisplaySource_Vtbl; } @@ -2371,6 +2021,7 @@ unsafe impl ::core::marker::Send for DisplaySource {} unsafe impl ::core::marker::Sync for DisplaySource {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayState(::windows_core::IUnknown); impl DisplayState { pub fn IsReadOnly(&self) -> ::windows_core::Result { @@ -2495,25 +2146,9 @@ impl DisplayState { } } } -impl ::core::cmp::PartialEq for DisplayState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayState {} -impl ::core::fmt::Debug for DisplayState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayState;{08129321-11b5-5cb2-99f8-e90b479a8a1d})"); } -impl ::core::clone::Clone for DisplayState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayState { type Vtable = IDisplayState_Vtbl; } @@ -2528,6 +2163,7 @@ unsafe impl ::core::marker::Send for DisplayState {} unsafe impl ::core::marker::Sync for DisplayState {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayStateOperationResult(::windows_core::IUnknown); impl DisplayStateOperationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2545,25 +2181,9 @@ impl DisplayStateOperationResult { } } } -impl ::core::cmp::PartialEq for DisplayStateOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayStateOperationResult {} -impl ::core::fmt::Debug for DisplayStateOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayStateOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayStateOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayStateOperationResult;{fcadbfdf-dc27-5638-b7f2-ebdfa4f7ea93})"); } -impl ::core::clone::Clone for DisplayStateOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayStateOperationResult { type Vtable = IDisplayStateOperationResult_Vtbl; } @@ -2578,27 +2198,12 @@ unsafe impl ::core::marker::Send for DisplayStateOperationResult {} unsafe impl ::core::marker::Sync for DisplayStateOperationResult {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplaySurface(::windows_core::IUnknown); impl DisplaySurface {} -impl ::core::cmp::PartialEq for DisplaySurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplaySurface {} -impl ::core::fmt::Debug for DisplaySurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplaySurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplaySurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplaySurface;{594f6cc6-139a-56d6-a4b1-15fe2cb76adb})"); } -impl ::core::clone::Clone for DisplaySurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplaySurface { type Vtable = IDisplaySurface_Vtbl; } @@ -2613,6 +2218,7 @@ unsafe impl ::core::marker::Send for DisplaySurface {} unsafe impl ::core::marker::Sync for DisplaySurface {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayTarget(::windows_core::IUnknown); impl DisplayTarget { pub fn Adapter(&self) -> ::windows_core::Result { @@ -2722,25 +2328,9 @@ impl DisplayTarget { } } } -impl ::core::cmp::PartialEq for DisplayTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayTarget {} -impl ::core::fmt::Debug for DisplayTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTarget;{aec57c6f-47b4-546b-987c-e73fa791fe3a})"); } -impl ::core::clone::Clone for DisplayTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayTarget { type Vtable = IDisplayTarget_Vtbl; } @@ -2755,6 +2345,7 @@ unsafe impl ::core::marker::Send for DisplayTarget {} unsafe impl ::core::marker::Sync for DisplayTarget {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayTask(::windows_core::IUnknown); impl DisplayTask { pub fn SetScanout(&self, scanout: P0) -> ::windows_core::Result<()> @@ -2779,25 +2370,9 @@ impl DisplayTask { unsafe { (::windows_core::Interface::vtable(this).SetSignal)(::windows_core::Interface::as_raw(this), signalkind, fence.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for DisplayTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayTask {} -impl ::core::fmt::Debug for DisplayTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTask;{5e087448-135b-5bb0-bf63-637f84227c7a})"); } -impl ::core::clone::Clone for DisplayTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayTask { type Vtable = IDisplayTask_Vtbl; } @@ -2812,6 +2387,7 @@ unsafe impl ::core::marker::Send for DisplayTask {} unsafe impl ::core::marker::Sync for DisplayTask {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayTaskPool(::windows_core::IUnknown); impl DisplayTaskPool { pub fn CreateTask(&self) -> ::windows_core::Result { @@ -2841,25 +2417,9 @@ impl DisplayTaskPool { } } } -impl ::core::cmp::PartialEq for DisplayTaskPool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayTaskPool {} -impl ::core::fmt::Debug for DisplayTaskPool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayTaskPool").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayTaskPool { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskPool;{c676253d-237d-5548-aafa-3e517fefef1c})"); } -impl ::core::clone::Clone for DisplayTaskPool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayTaskPool { type Vtable = IDisplayTaskPool_Vtbl; } @@ -2874,6 +2434,7 @@ unsafe impl ::core::marker::Send for DisplayTaskPool {} unsafe impl ::core::marker::Sync for DisplayTaskPool {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayTaskResult(::windows_core::IUnknown); impl DisplayTaskResult { pub fn PresentStatus(&self) -> ::windows_core::Result { @@ -2898,25 +2459,9 @@ impl DisplayTaskResult { } } } -impl ::core::cmp::PartialEq for DisplayTaskResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayTaskResult {} -impl ::core::fmt::Debug for DisplayTaskResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayTaskResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayTaskResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayTaskResult;{6fbc7d67-f9b1-55e0-9d88-d3a5197a3f59})"); } -impl ::core::clone::Clone for DisplayTaskResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayTaskResult { type Vtable = IDisplayTaskResult_Vtbl; } @@ -2931,6 +2476,7 @@ unsafe impl ::core::marker::Send for DisplayTaskResult {} unsafe impl ::core::marker::Sync for DisplayTaskResult {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayView(::windows_core::IUnknown); impl DisplayView { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2977,25 +2523,9 @@ impl DisplayView { } } } -impl ::core::cmp::PartialEq for DisplayView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayView {} -impl ::core::fmt::Debug for DisplayView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayView;{b0c98ca1-b759-5b59-b1ad-f0786aa9e53d})"); } -impl ::core::clone::Clone for DisplayView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayView { type Vtable = IDisplayView_Vtbl; } @@ -3010,6 +2540,7 @@ unsafe impl ::core::marker::Send for DisplayView {} unsafe impl ::core::marker::Sync for DisplayView {} #[doc = "*Required features: `\"Devices_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayWireFormat(::windows_core::IUnknown); impl DisplayWireFormat { pub fn PixelEncoding(&self) -> ::windows_core::Result { @@ -3084,25 +2615,9 @@ impl DisplayWireFormat { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayWireFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayWireFormat {} -impl ::core::fmt::Debug for DisplayWireFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayWireFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayWireFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.Core.DisplayWireFormat;{1acc967d-872c-5a38-bbb9-1d4872b76255})"); } -impl ::core::clone::Clone for DisplayWireFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayWireFormat { type Vtable = IDisplayWireFormat_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/mod.rs index c9bf2e5ccc..a36348cc67 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayMonitor { type Vtable = IDisplayMonitor_Vtbl; } -impl ::core::clone::Clone for IDisplayMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f6b15d4_1d01_4c51_87e2_6f954a772b59); } @@ -62,15 +58,11 @@ pub struct IDisplayMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayMonitor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayMonitor2 { type Vtable = IDisplayMonitor2_Vtbl; } -impl ::core::clone::Clone for IDisplayMonitor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayMonitor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x023018e6_cb23_5830_96df_a7bf6e602577); } @@ -82,15 +74,11 @@ pub struct IDisplayMonitor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayMonitorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayMonitorStatics { type Vtable = IDisplayMonitorStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayMonitorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayMonitorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eae698f_a228_4c05_821d_b695d667de8e); } @@ -110,6 +98,7 @@ pub struct IDisplayMonitorStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayMonitor(::windows_core::IUnknown); impl DisplayMonitor { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -301,25 +290,9 @@ impl DisplayMonitor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayMonitor {} -impl ::core::fmt::Debug for DisplayMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Display.DisplayMonitor;{1f6b15d4-1d01-4c51-87e2-6f954a772b59})"); } -impl ::core::clone::Clone for DisplayMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayMonitor { type Vtable = IDisplayMonitor_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs index d654a3b60b..90033f3bd3 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPnpObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPnpObject { type Vtable = IPnpObject_Vtbl; } -impl ::core::clone::Clone for IPnpObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPnpObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95c66258_733b_4a8f_93a3_db078ac870c1); } @@ -26,15 +22,11 @@ pub struct IPnpObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPnpObjectStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPnpObjectStatics { type Vtable = IPnpObjectStatics_Vtbl; } -impl ::core::clone::Clone for IPnpObjectStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPnpObjectStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3c32a3d_d168_4660_bbf3_a733b14b6e01); } @@ -65,15 +57,11 @@ pub struct IPnpObjectStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPnpObjectUpdate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPnpObjectUpdate { type Vtable = IPnpObjectUpdate_Vtbl; } -impl ::core::clone::Clone for IPnpObjectUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPnpObjectUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f59e812_001e_4844_bcc6_432886856a17); } @@ -90,15 +78,11 @@ pub struct IPnpObjectUpdate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPnpObjectWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPnpObjectWatcher { type Vtable = IPnpObjectWatcher_Vtbl; } -impl ::core::clone::Clone for IPnpObjectWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPnpObjectWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83c95ca8_4772_4a7a_aca8_e48c42a89c44); } @@ -152,6 +136,7 @@ pub struct IPnpObjectWatcher_Vtbl { } #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PnpObject(::windows_core::IUnknown); impl PnpObject { pub fn Type(&self) -> ::windows_core::Result { @@ -245,25 +230,9 @@ impl PnpObject { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PnpObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PnpObject {} -impl ::core::fmt::Debug for PnpObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PnpObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PnpObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})"); } -impl ::core::clone::Clone for PnpObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PnpObject { type Vtable = IPnpObject_Vtbl; } @@ -279,6 +248,7 @@ unsafe impl ::core::marker::Sync for PnpObject {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PnpObjectCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PnpObjectCollection { @@ -332,30 +302,10 @@ impl PnpObjectCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for PnpObjectCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PnpObjectCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PnpObjectCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PnpObjectCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PnpObjectCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.Pnp.PnpObject;{95c66258-733b-4a8f-93a3-db078ac870c1})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PnpObjectCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PnpObjectCollection { type Vtable = super::super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -395,6 +345,7 @@ unsafe impl ::core::marker::Send for PnpObjectCollection {} unsafe impl ::core::marker::Sync for PnpObjectCollection {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PnpObjectUpdate(::windows_core::IUnknown); impl PnpObjectUpdate { pub fn Type(&self) -> ::windows_core::Result { @@ -421,25 +372,9 @@ impl PnpObjectUpdate { } } } -impl ::core::cmp::PartialEq for PnpObjectUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PnpObjectUpdate {} -impl ::core::fmt::Debug for PnpObjectUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PnpObjectUpdate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PnpObjectUpdate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectUpdate;{6f59e812-001e-4844-bcc6-432886856a17})"); } -impl ::core::clone::Clone for PnpObjectUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PnpObjectUpdate { type Vtable = IPnpObjectUpdate_Vtbl; } @@ -454,6 +389,7 @@ unsafe impl ::core::marker::Send for PnpObjectUpdate {} unsafe impl ::core::marker::Sync for PnpObjectUpdate {} #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PnpObjectWatcher(::windows_core::IUnknown); impl PnpObjectWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -562,25 +498,9 @@ impl PnpObjectWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PnpObjectWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PnpObjectWatcher {} -impl ::core::fmt::Debug for PnpObjectWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PnpObjectWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PnpObjectWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.Pnp.PnpObjectWatcher;{83c95ca8-4772-4a7a-aca8-e48c42a89c44})"); } -impl ::core::clone::Clone for PnpObjectWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PnpObjectWatcher { type Vtable = IPnpObjectWatcher_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs index 56997434d4..55def3269c 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs @@ -7,7 +7,7 @@ impl IDevicePairingSettings_Vtbl { pub const fn new, Impl: IDevicePairingSettings_Impl, const OFFSET: isize>() -> IDevicePairingSettings_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index 830cd5cee3..9fcc739d49 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -2,15 +2,11 @@ pub mod Pnp; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccessChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccessChangedEventArgs { type Vtable = IDeviceAccessChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDeviceAccessChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccessChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdeda0bcc_4f9d_4f58_9dba_a9bc800408d5); } @@ -22,15 +18,11 @@ pub struct IDeviceAccessChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccessChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccessChangedEventArgs2 { type Vtable = IDeviceAccessChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IDeviceAccessChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccessChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82523262_934b_4b30_a178_adc39f2f2be3); } @@ -42,15 +34,11 @@ pub struct IDeviceAccessChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccessInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccessInformation { type Vtable = IDeviceAccessInformation_Vtbl; } -impl ::core::clone::Clone for IDeviceAccessInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccessInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0baa9a73_6de5_4915_8ddd_9a0554a6f545); } @@ -70,15 +58,11 @@ pub struct IDeviceAccessInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceAccessInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceAccessInformationStatics { type Vtable = IDeviceAccessInformationStatics_Vtbl; } -impl ::core::clone::Clone for IDeviceAccessInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceAccessInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x574bd3d3_5f30_45cd_8a94_724fe5973084); } @@ -92,15 +76,11 @@ pub struct IDeviceAccessInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceConnectionChangeTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceConnectionChangeTriggerDetails { type Vtable = IDeviceConnectionChangeTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IDeviceConnectionChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceConnectionChangeTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8578c0c_bbc1_484b_bffa_7b31dcc200b2); } @@ -112,15 +92,11 @@ pub struct IDeviceConnectionChangeTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceDisconnectButtonClickedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceDisconnectButtonClickedEventArgs { type Vtable = IDeviceDisconnectButtonClickedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDeviceDisconnectButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceDisconnectButtonClickedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e44b56d_f902_4a00_b536_f37992e6a2a7); } @@ -132,15 +108,11 @@ pub struct IDeviceDisconnectButtonClickedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformation { type Vtable = IDeviceInformation_Vtbl; } -impl ::core::clone::Clone for IDeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaba0fb95_4398_489d_8e44_e6130927011f); } @@ -169,15 +141,11 @@ pub struct IDeviceInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformation2 { type Vtable = IDeviceInformation2_Vtbl; } -impl ::core::clone::Clone for IDeviceInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf156a638_7997_48d9_a10c_269d46533f48); } @@ -190,15 +158,11 @@ pub struct IDeviceInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationCustomPairing(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationCustomPairing { type Vtable = IDeviceInformationCustomPairing_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationCustomPairing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationCustomPairing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85138c02_4ee6_4914_8370_107a39144c0e); } @@ -229,15 +193,11 @@ pub struct IDeviceInformationCustomPairing_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationPairing(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationPairing { type Vtable = IDeviceInformationPairing_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationPairing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationPairing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c4769f5_f684_40d5_8469_e8dbaab70485); } @@ -258,15 +218,11 @@ pub struct IDeviceInformationPairing_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationPairing2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationPairing2 { type Vtable = IDeviceInformationPairing2_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationPairing2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationPairing2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf68612fd_0aee_4328_85cc_1c742bb1790d); } @@ -287,15 +243,11 @@ pub struct IDeviceInformationPairing2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationPairingStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationPairingStatics { type Vtable = IDeviceInformationPairingStatics_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationPairingStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationPairingStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe915c408_36d4_49a1_bf13_514173799b6b); } @@ -307,15 +259,11 @@ pub struct IDeviceInformationPairingStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationPairingStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationPairingStatics2 { type Vtable = IDeviceInformationPairingStatics2_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationPairingStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationPairingStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04de5372_b7b7_476b_a74f_c5836a704d98); } @@ -327,15 +275,11 @@ pub struct IDeviceInformationPairingStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationStatics { type Vtable = IDeviceInformationStatics_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc17f100e_3a46_4a78_8013_769dc9b97390); } @@ -377,15 +321,11 @@ pub struct IDeviceInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationStatics2 { type Vtable = IDeviceInformationStatics2_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x493b4f34_a84f_45fd_9167_15d1cb1bd1f9); } @@ -409,15 +349,11 @@ pub struct IDeviceInformationStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationUpdate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationUpdate { type Vtable = IDeviceInformationUpdate_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f315305_d972_44b7_a37e_9e822c78213b); } @@ -433,15 +369,11 @@ pub struct IDeviceInformationUpdate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceInformationUpdate2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceInformationUpdate2 { type Vtable = IDeviceInformationUpdate2_Vtbl; } -impl ::core::clone::Clone for IDeviceInformationUpdate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceInformationUpdate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d9d148c_a873_485e_baa6_aa620788e3cc); } @@ -453,15 +385,11 @@ pub struct IDeviceInformationUpdate2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePairingRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePairingRequestedEventArgs { type Vtable = IDevicePairingRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDevicePairingRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePairingRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf717fc56_de6b_487f_8376_0180aca69963); } @@ -481,15 +409,11 @@ pub struct IDevicePairingRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePairingRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePairingRequestedEventArgs2 { type Vtable = IDevicePairingRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IDevicePairingRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePairingRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc83752d9_e4d3_4db0_a360_a105e437dbdc); } @@ -504,15 +428,11 @@ pub struct IDevicePairingRequestedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePairingResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePairingResult { type Vtable = IDevicePairingResult_Vtbl; } -impl ::core::clone::Clone for IDevicePairingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePairingResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x072b02bf_dd95_4025_9b37_de51adba37b7); } @@ -525,31 +445,16 @@ pub struct IDevicePairingResult_Vtbl { } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePairingSettings(::windows_core::IUnknown); impl IDevicePairingSettings {} ::windows_core::imp::interface_hierarchy!(IDevicePairingSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IDevicePairingSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDevicePairingSettings {} -impl ::core::fmt::Debug for IDevicePairingSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDevicePairingSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDevicePairingSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{482cb27c-83bb-420e-be51-6602b222de54}"); } unsafe impl ::windows_core::Interface for IDevicePairingSettings { type Vtable = IDevicePairingSettings_Vtbl; } -impl ::core::clone::Clone for IDevicePairingSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePairingSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x482cb27c_83bb_420e_be51_6602b222de54); } @@ -560,15 +465,11 @@ pub struct IDevicePairingSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePicker { type Vtable = IDevicePicker_Vtbl; } -impl ::core::clone::Clone for IDevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84997aa2_034a_4440_8813_7d0bd479bf5a); } @@ -627,15 +528,11 @@ pub struct IDevicePicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePickerAppearance(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePickerAppearance { type Vtable = IDevicePickerAppearance_Vtbl; } -impl ::core::clone::Clone for IDevicePickerAppearance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePickerAppearance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe69a12c6_e627_4ed8_9b6c_460af445e56d); } @@ -696,15 +593,11 @@ pub struct IDevicePickerAppearance_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePickerFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePickerFilter { type Vtable = IDevicePickerFilter_Vtbl; } -impl ::core::clone::Clone for IDevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePickerFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91db92a2_57cb_48f1_9b59_a59b7a1f02a2); } @@ -723,15 +616,11 @@ pub struct IDevicePickerFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceSelectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceSelectedEventArgs { type Vtable = IDeviceSelectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceSelectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x269edade_1d2f_4940_8402_4156b81d3c77); } @@ -743,15 +632,11 @@ pub struct IDeviceSelectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceUnpairingResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceUnpairingResult { type Vtable = IDeviceUnpairingResult_Vtbl; } -impl ::core::clone::Clone for IDeviceUnpairingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceUnpairingResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66f44ad3_79d9_444b_92cf_a92ef72571c7); } @@ -763,15 +648,11 @@ pub struct IDeviceUnpairingResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceWatcher { type Vtable = IDeviceWatcher_Vtbl; } -impl ::core::clone::Clone for IDeviceWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9eab97d_8f6b_4f96_a9f4_abc814e22271); } @@ -825,15 +706,11 @@ pub struct IDeviceWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceWatcher2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceWatcher2 { type Vtable = IDeviceWatcher2_Vtbl; } -impl ::core::clone::Clone for IDeviceWatcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceWatcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff08456e_ed14_49e9_9a69_8117c54ae971); } @@ -848,15 +725,11 @@ pub struct IDeviceWatcher2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceWatcherEvent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceWatcherEvent { type Vtable = IDeviceWatcherEvent_Vtbl; } -impl ::core::clone::Clone for IDeviceWatcherEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceWatcherEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74aa9c0b_1dbd_47fd_b635_3cc556d0ff8b); } @@ -870,15 +743,11 @@ pub struct IDeviceWatcherEvent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceWatcherTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceWatcherTriggerDetails { type Vtable = IDeviceWatcherTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IDeviceWatcherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceWatcherTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38808119_4cb7_4e57_a56d_776d07cbfef9); } @@ -893,15 +762,11 @@ pub struct IDeviceWatcherTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnclosureLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnclosureLocation { type Vtable = IEnclosureLocation_Vtbl; } -impl ::core::clone::Clone for IEnclosureLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnclosureLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42340a27_5810_459c_aabb_c65e1f813ecf); } @@ -915,15 +780,11 @@ pub struct IEnclosureLocation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnclosureLocation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnclosureLocation2 { type Vtable = IEnclosureLocation2_Vtbl; } -impl ::core::clone::Clone for IEnclosureLocation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnclosureLocation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2885995b_e07d_485d_8a9e_bdf29aef4f66); } @@ -935,6 +796,7 @@ pub struct IEnclosureLocation2_Vtbl { } #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceAccessChangedEventArgs(::windows_core::IUnknown); impl DeviceAccessChangedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -952,25 +814,9 @@ impl DeviceAccessChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DeviceAccessChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceAccessChangedEventArgs {} -impl ::core::fmt::Debug for DeviceAccessChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceAccessChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceAccessChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessChangedEventArgs;{deda0bcc-4f9d-4f58-9dba-a9bc800408d5})"); } -impl ::core::clone::Clone for DeviceAccessChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceAccessChangedEventArgs { type Vtable = IDeviceAccessChangedEventArgs_Vtbl; } @@ -985,6 +831,7 @@ unsafe impl ::core::marker::Send for DeviceAccessChangedEventArgs {} unsafe impl ::core::marker::Sync for DeviceAccessChangedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceAccessInformation(::windows_core::IUnknown); impl DeviceAccessInformation { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1036,25 +883,9 @@ impl DeviceAccessInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DeviceAccessInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceAccessInformation {} -impl ::core::fmt::Debug for DeviceAccessInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceAccessInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceAccessInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceAccessInformation;{0baa9a73-6de5-4915-8ddd-9a0554a6f545})"); } -impl ::core::clone::Clone for DeviceAccessInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceAccessInformation { type Vtable = IDeviceAccessInformation_Vtbl; } @@ -1069,6 +900,7 @@ unsafe impl ::core::marker::Send for DeviceAccessInformation {} unsafe impl ::core::marker::Sync for DeviceAccessInformation {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceConnectionChangeTriggerDetails(::windows_core::IUnknown); impl DeviceConnectionChangeTriggerDetails { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1079,25 +911,9 @@ impl DeviceConnectionChangeTriggerDetails { } } } -impl ::core::cmp::PartialEq for DeviceConnectionChangeTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceConnectionChangeTriggerDetails {} -impl ::core::fmt::Debug for DeviceConnectionChangeTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceConnectionChangeTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceConnectionChangeTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceConnectionChangeTriggerDetails;{b8578c0c-bbc1-484b-bffa-7b31dcc200b2})"); } -impl ::core::clone::Clone for DeviceConnectionChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceConnectionChangeTriggerDetails { type Vtable = IDeviceConnectionChangeTriggerDetails_Vtbl; } @@ -1112,6 +928,7 @@ unsafe impl ::core::marker::Send for DeviceConnectionChangeTriggerDetails {} unsafe impl ::core::marker::Sync for DeviceConnectionChangeTriggerDetails {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceDisconnectButtonClickedEventArgs(::windows_core::IUnknown); impl DeviceDisconnectButtonClickedEventArgs { pub fn Device(&self) -> ::windows_core::Result { @@ -1122,25 +939,9 @@ impl DeviceDisconnectButtonClickedEventArgs { } } } -impl ::core::cmp::PartialEq for DeviceDisconnectButtonClickedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceDisconnectButtonClickedEventArgs {} -impl ::core::fmt::Debug for DeviceDisconnectButtonClickedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceDisconnectButtonClickedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceDisconnectButtonClickedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceDisconnectButtonClickedEventArgs;{8e44b56d-f902-4a00-b536-f37992e6a2a7})"); } -impl ::core::clone::Clone for DeviceDisconnectButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceDisconnectButtonClickedEventArgs { type Vtable = IDeviceDisconnectButtonClickedEventArgs_Vtbl; } @@ -1155,6 +956,7 @@ unsafe impl ::core::marker::Send for DeviceDisconnectButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for DeviceDisconnectButtonClickedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceInformation(::windows_core::IUnknown); impl DeviceInformation { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1373,25 +1175,9 @@ impl DeviceInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DeviceInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceInformation {} -impl ::core::fmt::Debug for DeviceInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})"); } -impl ::core::clone::Clone for DeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceInformation { type Vtable = IDeviceInformation_Vtbl; } @@ -1407,6 +1193,7 @@ unsafe impl ::core::marker::Sync for DeviceInformation {} #[doc = "*Required features: `\"Devices_Enumeration\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceInformationCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl DeviceInformationCollection { @@ -1460,30 +1247,10 @@ impl DeviceInformationCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for DeviceInformationCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for DeviceInformationCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for DeviceInformationCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceInformationCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for DeviceInformationCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Enumeration.DeviceInformation;{aba0fb95-4398-489d-8e44-e6130927011f})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for DeviceInformationCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for DeviceInformationCollection { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -1523,6 +1290,7 @@ unsafe impl ::core::marker::Send for DeviceInformationCollection {} unsafe impl ::core::marker::Sync for DeviceInformationCollection {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceInformationCustomPairing(::windows_core::IUnknown); impl DeviceInformationCustomPairing { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1574,25 +1342,9 @@ impl DeviceInformationCustomPairing { unsafe { (::windows_core::Interface::vtable(this).RemovePairingRequested)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for DeviceInformationCustomPairing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceInformationCustomPairing {} -impl ::core::fmt::Debug for DeviceInformationCustomPairing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceInformationCustomPairing").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceInformationCustomPairing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationCustomPairing;{85138c02-4ee6-4914-8370-107a39144c0e})"); } -impl ::core::clone::Clone for DeviceInformationCustomPairing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceInformationCustomPairing { type Vtable = IDeviceInformationCustomPairing_Vtbl; } @@ -1607,6 +1359,7 @@ unsafe impl ::core::marker::Send for DeviceInformationCustomPairing {} unsafe impl ::core::marker::Sync for DeviceInformationCustomPairing {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceInformationPairing(::windows_core::IUnknown); impl DeviceInformationPairing { pub fn IsPaired(&self) -> ::windows_core::Result { @@ -1699,25 +1452,9 @@ impl DeviceInformationPairing { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DeviceInformationPairing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceInformationPairing {} -impl ::core::fmt::Debug for DeviceInformationPairing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceInformationPairing").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceInformationPairing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationPairing;{2c4769f5-f684-40d5-8469-e8dbaab70485})"); } -impl ::core::clone::Clone for DeviceInformationPairing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceInformationPairing { type Vtable = IDeviceInformationPairing_Vtbl; } @@ -1732,6 +1469,7 @@ unsafe impl ::core::marker::Send for DeviceInformationPairing {} unsafe impl ::core::marker::Sync for DeviceInformationPairing {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceInformationUpdate(::windows_core::IUnknown); impl DeviceInformationUpdate { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1758,25 +1496,9 @@ impl DeviceInformationUpdate { } } } -impl ::core::cmp::PartialEq for DeviceInformationUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceInformationUpdate {} -impl ::core::fmt::Debug for DeviceInformationUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceInformationUpdate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceInformationUpdate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceInformationUpdate;{8f315305-d972-44b7-a37e-9e822c78213b})"); } -impl ::core::clone::Clone for DeviceInformationUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceInformationUpdate { type Vtable = IDeviceInformationUpdate_Vtbl; } @@ -1791,6 +1513,7 @@ unsafe impl ::core::marker::Send for DeviceInformationUpdate {} unsafe impl ::core::marker::Sync for DeviceInformationUpdate {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePairingRequestedEventArgs(::windows_core::IUnknown); impl DevicePairingRequestedEventArgs { pub fn DeviceInformation(&self) -> ::windows_core::Result { @@ -1841,25 +1564,9 @@ impl DevicePairingRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).AcceptWithPasswordCredential)(::windows_core::Interface::as_raw(this), passwordcredential.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for DevicePairingRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePairingRequestedEventArgs {} -impl ::core::fmt::Debug for DevicePairingRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePairingRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePairingRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingRequestedEventArgs;{f717fc56-de6b-487f-8376-0180aca69963})"); } -impl ::core::clone::Clone for DevicePairingRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePairingRequestedEventArgs { type Vtable = IDevicePairingRequestedEventArgs_Vtbl; } @@ -1874,6 +1581,7 @@ unsafe impl ::core::marker::Send for DevicePairingRequestedEventArgs {} unsafe impl ::core::marker::Sync for DevicePairingRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePairingResult(::windows_core::IUnknown); impl DevicePairingResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1891,25 +1599,9 @@ impl DevicePairingResult { } } } -impl ::core::cmp::PartialEq for DevicePairingResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePairingResult {} -impl ::core::fmt::Debug for DevicePairingResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePairingResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePairingResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePairingResult;{072b02bf-dd95-4025-9b37-de51adba37b7})"); } -impl ::core::clone::Clone for DevicePairingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePairingResult { type Vtable = IDevicePairingResult_Vtbl; } @@ -1924,6 +1616,7 @@ unsafe impl ::core::marker::Send for DevicePairingResult {} unsafe impl ::core::marker::Sync for DevicePairingResult {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePicker(::windows_core::IUnknown); impl DevicePicker { pub fn new() -> ::windows_core::Result { @@ -2052,25 +1745,9 @@ impl DevicePicker { unsafe { (::windows_core::Interface::vtable(this).SetDisplayStatus)(::windows_core::Interface::as_raw(this), device.into_param().abi(), ::core::mem::transmute_copy(status), options).ok() } } } -impl ::core::cmp::PartialEq for DevicePicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePicker {} -impl ::core::fmt::Debug for DevicePicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePicker;{84997aa2-034a-4440-8813-7d0bd479bf5a})"); } -impl ::core::clone::Clone for DevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePicker { type Vtable = IDevicePicker_Vtbl; } @@ -2085,6 +1762,7 @@ unsafe impl ::core::marker::Send for DevicePicker {} unsafe impl ::core::marker::Sync for DevicePicker {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePickerAppearance(::windows_core::IUnknown); impl DevicePickerAppearance { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2189,25 +1867,9 @@ impl DevicePickerAppearance { unsafe { (::windows_core::Interface::vtable(this).SetSelectedAccentColor)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DevicePickerAppearance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePickerAppearance {} -impl ::core::fmt::Debug for DevicePickerAppearance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePickerAppearance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePickerAppearance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerAppearance;{e69a12c6-e627-4ed8-9b6c-460af445e56d})"); } -impl ::core::clone::Clone for DevicePickerAppearance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePickerAppearance { type Vtable = IDevicePickerAppearance_Vtbl; } @@ -2222,6 +1884,7 @@ unsafe impl ::core::marker::Send for DevicePickerAppearance {} unsafe impl ::core::marker::Sync for DevicePickerAppearance {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePickerFilter(::windows_core::IUnknown); impl DevicePickerFilter { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2243,25 +1906,9 @@ impl DevicePickerFilter { } } } -impl ::core::cmp::PartialEq for DevicePickerFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePickerFilter {} -impl ::core::fmt::Debug for DevicePickerFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePickerFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePickerFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DevicePickerFilter;{91db92a2-57cb-48f1-9b59-a59b7a1f02a2})"); } -impl ::core::clone::Clone for DevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePickerFilter { type Vtable = IDevicePickerFilter_Vtbl; } @@ -2276,6 +1923,7 @@ unsafe impl ::core::marker::Send for DevicePickerFilter {} unsafe impl ::core::marker::Sync for DevicePickerFilter {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceSelectedEventArgs(::windows_core::IUnknown); impl DeviceSelectedEventArgs { pub fn SelectedDevice(&self) -> ::windows_core::Result { @@ -2286,25 +1934,9 @@ impl DeviceSelectedEventArgs { } } } -impl ::core::cmp::PartialEq for DeviceSelectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceSelectedEventArgs {} -impl ::core::fmt::Debug for DeviceSelectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceSelectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceSelectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceSelectedEventArgs;{269edade-1d2f-4940-8402-4156b81d3c77})"); } -impl ::core::clone::Clone for DeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceSelectedEventArgs { type Vtable = IDeviceSelectedEventArgs_Vtbl; } @@ -2320,6 +1952,7 @@ unsafe impl ::core::marker::Sync for DeviceSelectedEventArgs {} #[doc = "*Required features: `\"Devices_Enumeration\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceThumbnail(::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl DeviceThumbnail { @@ -2448,30 +2081,10 @@ impl DeviceThumbnail { } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for DeviceThumbnail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for DeviceThumbnail {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for DeviceThumbnail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceThumbnail").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] impl ::windows_core::RuntimeType for DeviceThumbnail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for DeviceThumbnail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for DeviceThumbnail { type Vtable = super::super::Storage::Streams::IRandomAccessStreamWithContentType_Vtbl; } @@ -2503,6 +2116,7 @@ unsafe impl ::core::marker::Send for DeviceThumbnail {} unsafe impl ::core::marker::Sync for DeviceThumbnail {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceUnpairingResult(::windows_core::IUnknown); impl DeviceUnpairingResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2513,25 +2127,9 @@ impl DeviceUnpairingResult { } } } -impl ::core::cmp::PartialEq for DeviceUnpairingResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceUnpairingResult {} -impl ::core::fmt::Debug for DeviceUnpairingResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceUnpairingResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceUnpairingResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceUnpairingResult;{66f44ad3-79d9-444b-92cf-a92ef72571c7})"); } -impl ::core::clone::Clone for DeviceUnpairingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceUnpairingResult { type Vtable = IDeviceUnpairingResult_Vtbl; } @@ -2546,6 +2144,7 @@ unsafe impl ::core::marker::Send for DeviceUnpairingResult {} unsafe impl ::core::marker::Sync for DeviceUnpairingResult {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceWatcher(::windows_core::IUnknown); impl DeviceWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2666,25 +2265,9 @@ impl DeviceWatcher { } } } -impl ::core::cmp::PartialEq for DeviceWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceWatcher {} -impl ::core::fmt::Debug for DeviceWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcher;{c9eab97d-8f6b-4f96-a9f4-abc814e22271})"); } -impl ::core::clone::Clone for DeviceWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceWatcher { type Vtable = IDeviceWatcher_Vtbl; } @@ -2699,6 +2282,7 @@ unsafe impl ::core::marker::Send for DeviceWatcher {} unsafe impl ::core::marker::Sync for DeviceWatcher {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceWatcherEvent(::windows_core::IUnknown); impl DeviceWatcherEvent { pub fn Kind(&self) -> ::windows_core::Result { @@ -2723,25 +2307,9 @@ impl DeviceWatcherEvent { } } } -impl ::core::cmp::PartialEq for DeviceWatcherEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceWatcherEvent {} -impl ::core::fmt::Debug for DeviceWatcherEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceWatcherEvent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceWatcherEvent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherEvent;{74aa9c0b-1dbd-47fd-b635-3cc556d0ff8b})"); } -impl ::core::clone::Clone for DeviceWatcherEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceWatcherEvent { type Vtable = IDeviceWatcherEvent_Vtbl; } @@ -2756,6 +2324,7 @@ unsafe impl ::core::marker::Send for DeviceWatcherEvent {} unsafe impl ::core::marker::Sync for DeviceWatcherEvent {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceWatcherTriggerDetails(::windows_core::IUnknown); impl DeviceWatcherTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2768,25 +2337,9 @@ impl DeviceWatcherTriggerDetails { } } } -impl ::core::cmp::PartialEq for DeviceWatcherTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceWatcherTriggerDetails {} -impl ::core::fmt::Debug for DeviceWatcherTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceWatcherTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceWatcherTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.DeviceWatcherTriggerDetails;{38808119-4cb7-4e57-a56d-776d07cbfef9})"); } -impl ::core::clone::Clone for DeviceWatcherTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceWatcherTriggerDetails { type Vtable = IDeviceWatcherTriggerDetails_Vtbl; } @@ -2801,6 +2354,7 @@ unsafe impl ::core::marker::Send for DeviceWatcherTriggerDetails {} unsafe impl ::core::marker::Sync for DeviceWatcherTriggerDetails {} #[doc = "*Required features: `\"Devices_Enumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnclosureLocation(::windows_core::IUnknown); impl EnclosureLocation { pub fn InDock(&self) -> ::windows_core::Result { @@ -2832,25 +2386,9 @@ impl EnclosureLocation { } } } -impl ::core::cmp::PartialEq for EnclosureLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnclosureLocation {} -impl ::core::fmt::Debug for EnclosureLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnclosureLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnclosureLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Enumeration.EnclosureLocation;{42340a27-5810-459c-aabb-c65e1f813ecf})"); } -impl ::core::clone::Clone for EnclosureLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnclosureLocation { type Vtable = IEnclosureLocation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs index 9232245359..046c43775c 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeofence(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeofence { type Vtable = IGeofence_Vtbl; } -impl ::core::clone::Clone for IGeofence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeofence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c090823_edb8_47e0_8245_5bf61d321f2d); } @@ -35,15 +31,11 @@ pub struct IGeofence_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeofenceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeofenceFactory { type Vtable = IGeofenceFactory_Vtbl; } -impl ::core::clone::Clone for IGeofenceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeofenceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x841f624b_325f_4b90_bca7_2b8022a93796); } @@ -64,15 +56,11 @@ pub struct IGeofenceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeofenceMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeofenceMonitor { type Vtable = IGeofenceMonitor_Vtbl; } -impl ::core::clone::Clone for IGeofenceMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeofenceMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c0f5f78_1c1f_4621_bbbd_833b92247226); } @@ -109,15 +97,11 @@ pub struct IGeofenceMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeofenceMonitorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeofenceMonitorStatics { type Vtable = IGeofenceMonitorStatics_Vtbl; } -impl ::core::clone::Clone for IGeofenceMonitorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeofenceMonitorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd32fcf_7e75_4899_ace3_2bd0a65cce06); } @@ -129,15 +113,11 @@ pub struct IGeofenceMonitorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeofenceStateChangeReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeofenceStateChangeReport { type Vtable = IGeofenceStateChangeReport_Vtbl; } -impl ::core::clone::Clone for IGeofenceStateChangeReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeofenceStateChangeReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a243c18_2464_4c89_be05_b3ffff5babc5); } @@ -152,6 +132,7 @@ pub struct IGeofenceStateChangeReport_Vtbl { } #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geofence(::windows_core::IUnknown); impl Geofence { #[doc = "*Required features: `\"Foundation\"`*"] @@ -255,25 +236,9 @@ impl Geofence { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Geofence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geofence {} -impl ::core::fmt::Debug for Geofence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geofence").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geofence { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.Geofence;{9c090823-edb8-47e0-8245-5bf61d321f2d})"); } -impl ::core::clone::Clone for Geofence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geofence { type Vtable = IGeofence_Vtbl; } @@ -288,6 +253,7 @@ unsafe impl ::core::marker::Send for Geofence {} unsafe impl ::core::marker::Sync for Geofence {} #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeofenceMonitor(::windows_core::IUnknown); impl GeofenceMonitor { pub fn Status(&self) -> ::windows_core::Result { @@ -370,25 +336,9 @@ impl GeofenceMonitor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GeofenceMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeofenceMonitor {} -impl ::core::fmt::Debug for GeofenceMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeofenceMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeofenceMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceMonitor;{4c0f5f78-1c1f-4621-bbbd-833b92247226})"); } -impl ::core::clone::Clone for GeofenceMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeofenceMonitor { type Vtable = IGeofenceMonitor_Vtbl; } @@ -403,6 +353,7 @@ unsafe impl ::core::marker::Send for GeofenceMonitor {} unsafe impl ::core::marker::Sync for GeofenceMonitor {} #[doc = "*Required features: `\"Devices_Geolocation_Geofencing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeofenceStateChangeReport(::windows_core::IUnknown); impl GeofenceStateChangeReport { pub fn NewState(&self) -> ::windows_core::Result { @@ -434,25 +385,9 @@ impl GeofenceStateChangeReport { } } } -impl ::core::cmp::PartialEq for GeofenceStateChangeReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeofenceStateChangeReport {} -impl ::core::fmt::Debug for GeofenceStateChangeReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeofenceStateChangeReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeofenceStateChangeReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geofencing.GeofenceStateChangeReport;{9a243c18-2464-4c89-be05-b3ffff5babc5})"); } -impl ::core::clone::Clone for GeofenceStateChangeReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeofenceStateChangeReport { type Vtable = IGeofenceStateChangeReport_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs index b13a9027e6..75c6f6e049 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocationProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocationProvider { type Vtable = IGeolocationProvider_Vtbl; } -impl ::core::clone::Clone for IGeolocationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4cf071d_3f64_509f_8dc2_0b74a059829d); } @@ -30,6 +26,7 @@ pub struct IGeolocationProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Geolocation_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeolocationProvider(::windows_core::IUnknown); impl GeolocationProvider { pub fn new() -> ::windows_core::Result { @@ -76,25 +73,9 @@ impl GeolocationProvider { unsafe { (::windows_core::Interface::vtable(this).RemoveIsOverriddenChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for GeolocationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeolocationProvider {} -impl ::core::fmt::Debug for GeolocationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeolocationProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeolocationProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Provider.GeolocationProvider;{e4cf071d-3f64-509f-8dc2-0b74a059829d})"); } -impl ::core::clone::Clone for GeolocationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeolocationProvider { type Vtable = IGeolocationProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs index 9bd273cbce..a5129fa976 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs @@ -49,7 +49,7 @@ impl IGeoshape_Vtbl { AltitudeReferenceSystem: AltitudeReferenceSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index 8da7e2697c..69846c4a4c 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -4,15 +4,11 @@ pub mod Geofencing; pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICivicAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICivicAddress { type Vtable = ICivicAddress_Vtbl; } -impl ::core::clone::Clone for ICivicAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICivicAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8567a1a_64f4_4d48_bcea_f6b008eca34c); } @@ -31,15 +27,11 @@ pub struct ICivicAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoboundingBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeoboundingBox { type Vtable = IGeoboundingBox_Vtbl; } -impl ::core::clone::Clone for IGeoboundingBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoboundingBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0896c80b_274f_43da_9a06_cbfcdaeb4ec2); } @@ -55,15 +47,11 @@ pub struct IGeoboundingBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoboundingBoxFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeoboundingBoxFactory { type Vtable = IGeoboundingBoxFactory_Vtbl; } -impl ::core::clone::Clone for IGeoboundingBoxFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoboundingBoxFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dfba589_0411_4abc_b3b5_5bbccb57d98c); } @@ -77,15 +65,11 @@ pub struct IGeoboundingBoxFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoboundingBoxStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeoboundingBoxStatics { type Vtable = IGeoboundingBoxStatics_Vtbl; } -impl ::core::clone::Clone for IGeoboundingBoxStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoboundingBoxStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67b80708_e61a_4cd0_841b_93233792b5ca); } @@ -108,15 +92,11 @@ pub struct IGeoboundingBoxStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocircle(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocircle { type Vtable = IGeocircle_Vtbl; } -impl ::core::clone::Clone for IGeocircle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocircle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39e45843_a7f9_4e63_92a7_ba0c28d124b1); } @@ -129,15 +109,11 @@ pub struct IGeocircle_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocircleFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocircleFactory { type Vtable = IGeocircleFactory_Vtbl; } -impl ::core::clone::Clone for IGeocircleFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocircleFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafd6531f_72b1_4f7d_87cc_4ed4c9849c05); } @@ -151,15 +127,11 @@ pub struct IGeocircleFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinate { type Vtable = IGeocoordinate_Vtbl; } -impl ::core::clone::Clone for IGeocoordinate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee21a3aa_976a_4c70_803d_083ea55bcbc4); } @@ -199,15 +171,11 @@ pub struct IGeocoordinate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateSatelliteData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateSatelliteData { type Vtable = IGeocoordinateSatelliteData_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateSatelliteData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateSatelliteData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc32a74d9_2608_474c_912c_06dd490f4af7); } @@ -230,15 +198,11 @@ pub struct IGeocoordinateSatelliteData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateSatelliteData2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateSatelliteData2 { type Vtable = IGeocoordinateSatelliteData2_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateSatelliteData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateSatelliteData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x761c8cfd_a19d_5a51_80f5_71676115483e); } @@ -257,15 +221,11 @@ pub struct IGeocoordinateSatelliteData2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateWithPoint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateWithPoint { type Vtable = IGeocoordinateWithPoint_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateWithPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateWithPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeea0525_d22c_4d46_b527_0b96066fc7db); } @@ -277,15 +237,11 @@ pub struct IGeocoordinateWithPoint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateWithPositionData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateWithPositionData { type Vtable = IGeocoordinateWithPositionData_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateWithPositionData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateWithPositionData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95e634be_dbd6_40ac_b8f2_a65c0340d9a6); } @@ -298,15 +254,11 @@ pub struct IGeocoordinateWithPositionData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateWithPositionSourceTimestamp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateWithPositionSourceTimestamp { type Vtable = IGeocoordinateWithPositionSourceTimestamp_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateWithPositionSourceTimestamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateWithPositionSourceTimestamp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8543fc02_c9f1_4610_afe0_8bc3a6a87036); } @@ -321,15 +273,11 @@ pub struct IGeocoordinateWithPositionSourceTimestamp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeocoordinateWithRemoteSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeocoordinateWithRemoteSource { type Vtable = IGeocoordinateWithRemoteSource_Vtbl; } -impl ::core::clone::Clone for IGeocoordinateWithRemoteSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeocoordinateWithRemoteSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x397cebd7_ee38_5f3b_8900_c4a7bc9cf953); } @@ -341,15 +289,11 @@ pub struct IGeocoordinateWithRemoteSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocator { type Vtable = IGeolocator_Vtbl; } -impl ::core::clone::Clone for IGeolocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9c3bf62_4524_4989_8aa9_de019d2e551f); } @@ -391,15 +335,11 @@ pub struct IGeolocator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocator2 { type Vtable = IGeolocator2_Vtbl; } -impl ::core::clone::Clone for IGeolocator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1b42e6d_8891_43b4_ad36_27c6fe9a97b1); } @@ -411,15 +351,11 @@ pub struct IGeolocator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocatorStatics { type Vtable = IGeolocatorStatics_Vtbl; } -impl ::core::clone::Clone for IGeolocatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a8e7571_2df5_4591_9f87_eb5fd894e9b7); } @@ -442,15 +378,11 @@ pub struct IGeolocatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocatorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocatorStatics2 { type Vtable = IGeolocatorStatics2_Vtbl; } -impl ::core::clone::Clone for IGeolocatorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocatorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x993011a2_fa1c_4631_a71d_0dbeb1250d9c); } @@ -470,15 +402,11 @@ pub struct IGeolocatorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeolocatorWithScalarAccuracy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeolocatorWithScalarAccuracy { type Vtable = IGeolocatorWithScalarAccuracy_Vtbl; } -impl ::core::clone::Clone for IGeolocatorWithScalarAccuracy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeolocatorWithScalarAccuracy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96f5d3c1_b80f_460a_994d_a96c47a51aa4); } @@ -497,15 +425,11 @@ pub struct IGeolocatorWithScalarAccuracy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeopath(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeopath { type Vtable = IGeopath_Vtbl; } -impl ::core::clone::Clone for IGeopath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeopath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe53fd7b9_2da4_4714_a652_de8593289898); } @@ -520,15 +444,11 @@ pub struct IGeopath_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeopathFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeopathFactory { type Vtable = IGeopathFactory_Vtbl; } -impl ::core::clone::Clone for IGeopathFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeopathFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27bea9c8_c7e7_4359_9b9b_fca3e05ef593); } @@ -551,15 +471,11 @@ pub struct IGeopathFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeopoint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeopoint { type Vtable = IGeopoint_Vtbl; } -impl ::core::clone::Clone for IGeopoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeopoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bfa00eb_e56e_49bb_9caf_cbaa78a8bcef); } @@ -571,15 +487,11 @@ pub struct IGeopoint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeopointFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeopointFactory { type Vtable = IGeopointFactory_Vtbl; } -impl ::core::clone::Clone for IGeopointFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeopointFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb6b8d33_76bd_4e30_8af7_a844dc37b7a0); } @@ -593,15 +505,11 @@ pub struct IGeopointFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoposition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeoposition { type Vtable = IGeoposition_Vtbl; } -impl ::core::clone::Clone for IGeoposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoposition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc18d0454_7d41_4ff7_a957_9dffb4ef7f5b); } @@ -614,15 +522,11 @@ pub struct IGeoposition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoposition2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeoposition2 { type Vtable = IGeoposition2_Vtbl; } -impl ::core::clone::Clone for IGeoposition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoposition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f62f697_8671_4b0d_86f8_474a8496187c); } @@ -634,6 +538,7 @@ pub struct IGeoposition2_Vtbl { } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeoshape(::windows_core::IUnknown); impl IGeoshape { pub fn GeoshapeType(&self) -> ::windows_core::Result { @@ -659,28 +564,12 @@ impl IGeoshape { } } ::windows_core::imp::interface_hierarchy!(IGeoshape, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGeoshape { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGeoshape {} -impl ::core::fmt::Debug for IGeoshape { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGeoshape").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGeoshape { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c99ca2af-c729-43c1-8fab-d6dec914df7e}"); } unsafe impl ::windows_core::Interface for IGeoshape { type Vtable = IGeoshape_Vtbl; } -impl ::core::clone::Clone for IGeoshape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeoshape { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99ca2af_c729_43c1_8fab_d6dec914df7e); } @@ -694,15 +583,11 @@ pub struct IGeoshape_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisit(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisit { type Vtable = IGeovisit_Vtbl; } -impl ::core::clone::Clone for IGeovisit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1877a76_9ef6_41ab_a0dd_793ece76e2de); } @@ -719,15 +604,11 @@ pub struct IGeovisit_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisitMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisitMonitor { type Vtable = IGeovisitMonitor_Vtbl; } -impl ::core::clone::Clone for IGeovisitMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisitMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80118aaf_5944_4591_83c1_396647f54f2c); } @@ -749,15 +630,11 @@ pub struct IGeovisitMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisitMonitorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisitMonitorStatics { type Vtable = IGeovisitMonitorStatics_Vtbl; } -impl ::core::clone::Clone for IGeovisitMonitorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisitMonitorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcf976a7_bbf2_4cdd_95cf_554c82edfb87); } @@ -772,15 +649,11 @@ pub struct IGeovisitMonitorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisitStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisitStateChangedEventArgs { type Vtable = IGeovisitStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGeovisitStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisitStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceb4d1ff_8b53_4968_beed_4cecd029ce15); } @@ -792,15 +665,11 @@ pub struct IGeovisitStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeovisitTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeovisitTriggerDetails { type Vtable = IGeovisitTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IGeovisitTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeovisitTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea770d9e_d1c9_454b_99b7_b2f8cdd2482f); } @@ -815,15 +684,11 @@ pub struct IGeovisitTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPositionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPositionChangedEventArgs { type Vtable = IPositionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPositionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPositionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37859ce5_9d1e_46c5_bf3b_6ad8cac1a093); } @@ -835,15 +700,11 @@ pub struct IPositionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStatusChangedEventArgs { type Vtable = IStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3453d2da_8c93_4111_a205_9aecfc9be5c0); } @@ -855,15 +716,11 @@ pub struct IStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVenueData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVenueData { type Vtable = IVenueData_Vtbl; } -impl ::core::clone::Clone for IVenueData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVenueData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66f39187_60e3_4b2f_b527_4f53f1c3c677); } @@ -876,6 +733,7 @@ pub struct IVenueData_Vtbl { } #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CivicAddress(::windows_core::IUnknown); impl CivicAddress { pub fn Country(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -916,25 +774,9 @@ impl CivicAddress { } } } -impl ::core::cmp::PartialEq for CivicAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CivicAddress {} -impl ::core::fmt::Debug for CivicAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CivicAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CivicAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.CivicAddress;{a8567a1a-64f4-4d48-bcea-f6b008eca34c})"); } -impl ::core::clone::Clone for CivicAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CivicAddress { type Vtable = ICivicAddress_Vtbl; } @@ -949,6 +791,7 @@ unsafe impl ::core::marker::Send for CivicAddress {} unsafe impl ::core::marker::Sync for CivicAddress {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeoboundingBox(::windows_core::IUnknown); impl GeoboundingBox { pub fn NorthwestCorner(&self) -> ::windows_core::Result { @@ -1069,25 +912,9 @@ impl GeoboundingBox { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GeoboundingBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeoboundingBox {} -impl ::core::fmt::Debug for GeoboundingBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeoboundingBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeoboundingBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeoboundingBox;{0896c80b-274f-43da-9a06-cbfcdaeb4ec2})"); } -impl ::core::clone::Clone for GeoboundingBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeoboundingBox { type Vtable = IGeoboundingBox_Vtbl; } @@ -1103,6 +930,7 @@ unsafe impl ::core::marker::Send for GeoboundingBox {} unsafe impl ::core::marker::Sync for GeoboundingBox {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geocircle(::windows_core::IUnknown); impl Geocircle { pub fn Center(&self) -> ::windows_core::Result { @@ -1164,25 +992,9 @@ impl Geocircle { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Geocircle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geocircle {} -impl ::core::fmt::Debug for Geocircle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geocircle").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geocircle { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocircle;{39e45843-a7f9-4e63-92a7-ba0c28d124b1})"); } -impl ::core::clone::Clone for Geocircle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geocircle { type Vtable = IGeocircle_Vtbl; } @@ -1198,6 +1010,7 @@ unsafe impl ::core::marker::Send for Geocircle {} unsafe impl ::core::marker::Sync for Geocircle {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geocoordinate(::windows_core::IUnknown); impl Geocoordinate { #[doc = "*Required features: `\"deprecated\"`*"] @@ -1308,25 +1121,9 @@ impl Geocoordinate { } } } -impl ::core::cmp::PartialEq for Geocoordinate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geocoordinate {} -impl ::core::fmt::Debug for Geocoordinate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geocoordinate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geocoordinate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geocoordinate;{ee21a3aa-976a-4c70-803d-083ea55bcbc4})"); } -impl ::core::clone::Clone for Geocoordinate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geocoordinate { type Vtable = IGeocoordinate_Vtbl; } @@ -1341,6 +1138,7 @@ unsafe impl ::core::marker::Send for Geocoordinate {} unsafe impl ::core::marker::Sync for Geocoordinate {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeocoordinateSatelliteData(::windows_core::IUnknown); impl GeocoordinateSatelliteData { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1389,25 +1187,9 @@ impl GeocoordinateSatelliteData { } } } -impl ::core::cmp::PartialEq for GeocoordinateSatelliteData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeocoordinateSatelliteData {} -impl ::core::fmt::Debug for GeocoordinateSatelliteData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeocoordinateSatelliteData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeocoordinateSatelliteData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeocoordinateSatelliteData;{c32a74d9-2608-474c-912c-06dd490f4af7})"); } -impl ::core::clone::Clone for GeocoordinateSatelliteData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeocoordinateSatelliteData { type Vtable = IGeocoordinateSatelliteData_Vtbl; } @@ -1422,6 +1204,7 @@ unsafe impl ::core::marker::Send for GeocoordinateSatelliteData {} unsafe impl ::core::marker::Sync for GeocoordinateSatelliteData {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geolocator(::windows_core::IUnknown); impl Geolocator { pub fn new() -> ::windows_core::Result { @@ -1604,25 +1387,9 @@ impl Geolocator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Geolocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geolocator {} -impl ::core::fmt::Debug for Geolocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geolocator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geolocator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geolocator;{a9c3bf62-4524-4989-8aa9-de019d2e551f})"); } -impl ::core::clone::Clone for Geolocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geolocator { type Vtable = IGeolocator_Vtbl; } @@ -1637,6 +1404,7 @@ unsafe impl ::core::marker::Send for Geolocator {} unsafe impl ::core::marker::Sync for Geolocator {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geopath(::windows_core::IUnknown); impl Geopath { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1708,25 +1476,9 @@ impl Geopath { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Geopath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geopath {} -impl ::core::fmt::Debug for Geopath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geopath").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geopath { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopath;{e53fd7b9-2da4-4714-a652-de8593289898})"); } -impl ::core::clone::Clone for Geopath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geopath { type Vtable = IGeopath_Vtbl; } @@ -1742,6 +1494,7 @@ unsafe impl ::core::marker::Send for Geopath {} unsafe impl ::core::marker::Sync for Geopath {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geopoint(::windows_core::IUnknown); impl Geopoint { pub fn Position(&self) -> ::windows_core::Result { @@ -1796,25 +1549,9 @@ impl Geopoint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Geopoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geopoint {} -impl ::core::fmt::Debug for Geopoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geopoint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geopoint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geopoint;{6bfa00eb-e56e-49bb-9caf-cbaa78a8bcef})"); } -impl ::core::clone::Clone for Geopoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geopoint { type Vtable = IGeopoint_Vtbl; } @@ -1830,6 +1567,7 @@ unsafe impl ::core::marker::Send for Geopoint {} unsafe impl ::core::marker::Sync for Geopoint {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geoposition(::windows_core::IUnknown); impl Geoposition { pub fn Coordinate(&self) -> ::windows_core::Result { @@ -1854,25 +1592,9 @@ impl Geoposition { } } } -impl ::core::cmp::PartialEq for Geoposition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geoposition {} -impl ::core::fmt::Debug for Geoposition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geoposition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geoposition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geoposition;{c18d0454-7d41-4ff7-a957-9dffb4ef7f5b})"); } -impl ::core::clone::Clone for Geoposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geoposition { type Vtable = IGeoposition_Vtbl; } @@ -1887,6 +1609,7 @@ unsafe impl ::core::marker::Send for Geoposition {} unsafe impl ::core::marker::Sync for Geoposition {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Geovisit(::windows_core::IUnknown); impl Geovisit { pub fn Position(&self) -> ::windows_core::Result { @@ -1913,25 +1636,9 @@ impl Geovisit { } } } -impl ::core::cmp::PartialEq for Geovisit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Geovisit {} -impl ::core::fmt::Debug for Geovisit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Geovisit").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Geovisit { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.Geovisit;{b1877a76-9ef6-41ab-a0dd-793ece76e2de})"); } -impl ::core::clone::Clone for Geovisit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Geovisit { type Vtable = IGeovisit_Vtbl; } @@ -1946,6 +1653,7 @@ unsafe impl ::core::marker::Send for Geovisit {} unsafe impl ::core::marker::Sync for Geovisit {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeovisitMonitor(::windows_core::IUnknown); impl GeovisitMonitor { pub fn new() -> ::windows_core::Result { @@ -2002,25 +1710,9 @@ impl GeovisitMonitor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GeovisitMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeovisitMonitor {} -impl ::core::fmt::Debug for GeovisitMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeovisitMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeovisitMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitMonitor;{80118aaf-5944-4591-83c1-396647f54f2c})"); } -impl ::core::clone::Clone for GeovisitMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeovisitMonitor { type Vtable = IGeovisitMonitor_Vtbl; } @@ -2035,6 +1727,7 @@ unsafe impl ::core::marker::Send for GeovisitMonitor {} unsafe impl ::core::marker::Sync for GeovisitMonitor {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeovisitStateChangedEventArgs(::windows_core::IUnknown); impl GeovisitStateChangedEventArgs { pub fn Visit(&self) -> ::windows_core::Result { @@ -2045,25 +1738,9 @@ impl GeovisitStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GeovisitStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeovisitStateChangedEventArgs {} -impl ::core::fmt::Debug for GeovisitStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeovisitStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeovisitStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitStateChangedEventArgs;{ceb4d1ff-8b53-4968-beed-4cecd029ce15})"); } -impl ::core::clone::Clone for GeovisitStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeovisitStateChangedEventArgs { type Vtable = IGeovisitStateChangedEventArgs_Vtbl; } @@ -2078,6 +1755,7 @@ unsafe impl ::core::marker::Send for GeovisitStateChangedEventArgs {} unsafe impl ::core::marker::Sync for GeovisitStateChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeovisitTriggerDetails(::windows_core::IUnknown); impl GeovisitTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2090,25 +1768,9 @@ impl GeovisitTriggerDetails { } } } -impl ::core::cmp::PartialEq for GeovisitTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeovisitTriggerDetails {} -impl ::core::fmt::Debug for GeovisitTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeovisitTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeovisitTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.GeovisitTriggerDetails;{ea770d9e-d1c9-454b-99b7-b2f8cdd2482f})"); } -impl ::core::clone::Clone for GeovisitTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeovisitTriggerDetails { type Vtable = IGeovisitTriggerDetails_Vtbl; } @@ -2123,6 +1785,7 @@ unsafe impl ::core::marker::Send for GeovisitTriggerDetails {} unsafe impl ::core::marker::Sync for GeovisitTriggerDetails {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PositionChangedEventArgs(::windows_core::IUnknown); impl PositionChangedEventArgs { pub fn Position(&self) -> ::windows_core::Result { @@ -2133,25 +1796,9 @@ impl PositionChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PositionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PositionChangedEventArgs {} -impl ::core::fmt::Debug for PositionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PositionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PositionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.PositionChangedEventArgs;{37859ce5-9d1e-46c5-bf3b-6ad8cac1a093})"); } -impl ::core::clone::Clone for PositionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PositionChangedEventArgs { type Vtable = IPositionChangedEventArgs_Vtbl; } @@ -2166,6 +1813,7 @@ unsafe impl ::core::marker::Send for PositionChangedEventArgs {} unsafe impl ::core::marker::Sync for PositionChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StatusChangedEventArgs(::windows_core::IUnknown); impl StatusChangedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -2176,25 +1824,9 @@ impl StatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for StatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StatusChangedEventArgs {} -impl ::core::fmt::Debug for StatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.StatusChangedEventArgs;{3453d2da-8c93-4111-a205-9aecfc9be5c0})"); } -impl ::core::clone::Clone for StatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StatusChangedEventArgs { type Vtable = IStatusChangedEventArgs_Vtbl; } @@ -2209,6 +1841,7 @@ unsafe impl ::core::marker::Send for StatusChangedEventArgs {} unsafe impl ::core::marker::Sync for StatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VenueData(::windows_core::IUnknown); impl VenueData { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2226,25 +1859,9 @@ impl VenueData { } } } -impl ::core::cmp::PartialEq for VenueData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VenueData {} -impl ::core::fmt::Debug for VenueData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VenueData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VenueData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Geolocation.VenueData;{66f39187-60e3-4b2f-b527-4f53f1c3c677})"); } -impl ::core::clone::Clone for VenueData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VenueData { type Vtable = IVenueData_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs index 1fb127d0fa..6887624323 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs @@ -37,8 +37,8 @@ impl IGpioControllerProvider_Vtbl { OpenPinProvider: OpenPinProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IGpioPinProvider_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -205,7 +205,7 @@ impl IGpioProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs index 4c6ed62ae4..5216a51c18 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioControllerProvider(::windows_core::IUnknown); impl IGpioControllerProvider { pub fn PinCount(&self) -> ::windows_core::Result { @@ -18,28 +19,12 @@ impl IGpioControllerProvider { } } ::windows_core::imp::interface_hierarchy!(IGpioControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGpioControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGpioControllerProvider {} -impl ::core::fmt::Debug for IGpioControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGpioControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGpioControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ad11cec7-19ea-4b21-874f-b91aed4a25db}"); } unsafe impl ::windows_core::Interface for IGpioControllerProvider { type Vtable = IGpioControllerProvider_Vtbl; } -impl ::core::clone::Clone for IGpioControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad11cec7_19ea_4b21_874f_b91aed4a25db); } @@ -52,6 +37,7 @@ pub struct IGpioControllerProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioPinProvider(::windows_core::IUnknown); impl IGpioPinProvider { #[doc = "*Required features: `\"Foundation\"`*"] @@ -132,28 +118,12 @@ impl IGpioPinProvider { } } ::windows_core::imp::interface_hierarchy!(IGpioPinProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGpioPinProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGpioPinProvider {} -impl ::core::fmt::Debug for IGpioPinProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGpioPinProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGpioPinProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{42344cb7-6abc-40ff-9ce7-73b85301b900}"); } unsafe impl ::windows_core::Interface for IGpioPinProvider { type Vtable = IGpioPinProvider_Vtbl; } -impl ::core::clone::Clone for IGpioPinProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioPinProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42344cb7_6abc_40ff_9ce7_73b85301b900); } @@ -187,15 +157,11 @@ pub struct IGpioPinProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioPinProviderValueChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioPinProviderValueChangedEventArgs { type Vtable = IGpioPinProviderValueChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGpioPinProviderValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioPinProviderValueChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32a6d6f2_3d5b_44cd_8fbe_13a69f2edb24); } @@ -207,15 +173,11 @@ pub struct IGpioPinProviderValueChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioPinProviderValueChangedEventArgsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioPinProviderValueChangedEventArgsFactory { type Vtable = IGpioPinProviderValueChangedEventArgsFactory_Vtbl; } -impl ::core::clone::Clone for IGpioPinProviderValueChangedEventArgsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioPinProviderValueChangedEventArgsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ecb0b59_568c_4392_b24a_8a59a902b1f1); } @@ -227,6 +189,7 @@ pub struct IGpioPinProviderValueChangedEventArgsFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioProvider(::windows_core::IUnknown); impl IGpioProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -240,28 +203,12 @@ impl IGpioProvider { } } ::windows_core::imp::interface_hierarchy!(IGpioProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGpioProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGpioProvider {} -impl ::core::fmt::Debug for IGpioProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGpioProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGpioProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{44e82707-08ca-434a-afe0-d61580446f7e}"); } unsafe impl ::windows_core::Interface for IGpioProvider { type Vtable = IGpioProvider_Vtbl; } -impl ::core::clone::Clone for IGpioProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44e82707_08ca_434a_afe0_d61580446f7e); } @@ -276,6 +223,7 @@ pub struct IGpioProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioPinProviderValueChangedEventArgs(::windows_core::IUnknown); impl GpioPinProviderValueChangedEventArgs { pub fn Edge(&self) -> ::windows_core::Result { @@ -297,25 +245,9 @@ impl GpioPinProviderValueChangedEventArgs { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GpioPinProviderValueChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioPinProviderValueChangedEventArgs {} -impl ::core::fmt::Debug for GpioPinProviderValueChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioPinProviderValueChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioPinProviderValueChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.Provider.GpioPinProviderValueChangedEventArgs;{32a6d6f2-3d5b-44cd-8fbe-13a69f2edb24})"); } -impl ::core::clone::Clone for GpioPinProviderValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioPinProviderValueChangedEventArgs { type Vtable = IGpioPinProviderValueChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index 49a0fc1fc8..ae478259a2 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioChangeCounter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioChangeCounter { type Vtable = IGpioChangeCounter_Vtbl; } -impl ::core::clone::Clone for IGpioChangeCounter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioChangeCounter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb5ec0de_6801_43ff_803d_4576628a8b26); } @@ -34,15 +30,11 @@ pub struct IGpioChangeCounter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioChangeCounterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioChangeCounterFactory { type Vtable = IGpioChangeCounterFactory_Vtbl; } -impl ::core::clone::Clone for IGpioChangeCounterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioChangeCounterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x147d94b6_0a9e_410c_b4fa_f89f4052084d); } @@ -54,15 +46,11 @@ pub struct IGpioChangeCounterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioChangeReader { type Vtable = IGpioChangeReader_Vtbl; } -impl ::core::clone::Clone for IGpioChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0abc885f_e031_48e8_8590_70de78363c6d); } @@ -99,15 +87,11 @@ pub struct IGpioChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioChangeReaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioChangeReaderFactory { type Vtable = IGpioChangeReaderFactory_Vtbl; } -impl ::core::clone::Clone for IGpioChangeReaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioChangeReaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9598ef3_390e_441a_9d1c_e8de0b2df0df); } @@ -120,15 +104,11 @@ pub struct IGpioChangeReaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioController { type Vtable = IGpioController_Vtbl; } -impl ::core::clone::Clone for IGpioController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x284012e3_7461_469c_a8bc_61d69d08a53c); } @@ -143,15 +123,11 @@ pub struct IGpioController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioControllerStatics { type Vtable = IGpioControllerStatics_Vtbl; } -impl ::core::clone::Clone for IGpioControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ed6f42e_7af7_4116_9533_c43d99a1fb64); } @@ -163,15 +139,11 @@ pub struct IGpioControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioControllerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioControllerStatics2 { type Vtable = IGpioControllerStatics2_Vtbl; } -impl ::core::clone::Clone for IGpioControllerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioControllerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x912b7d20_6ca4_4106_a373_fffd346b0e5b); } @@ -190,15 +162,11 @@ pub struct IGpioControllerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioPin(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioPin { type Vtable = IGpioPin_Vtbl; } -impl ::core::clone::Clone for IGpioPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11d9b087_afae_4790_9ee9_e0eac942d201); } @@ -232,15 +200,11 @@ pub struct IGpioPin_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpioPinValueChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGpioPinValueChangedEventArgs { type Vtable = IGpioPinValueChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGpioPinValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpioPinValueChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3137aae1_703d_4059_bd24_b5b25dffb84e); } @@ -252,6 +216,7 @@ pub struct IGpioPinValueChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioChangeCounter(::windows_core::IUnknown); impl GpioChangeCounter { #[doc = "*Required features: `\"Foundation\"`*"] @@ -319,25 +284,9 @@ impl GpioChangeCounter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GpioChangeCounter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioChangeCounter {} -impl ::core::fmt::Debug for GpioChangeCounter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioChangeCounter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioChangeCounter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeCounter;{cb5ec0de-6801-43ff-803d-4576628a8b26})"); } -impl ::core::clone::Clone for GpioChangeCounter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioChangeCounter { type Vtable = IGpioChangeCounter_Vtbl; } @@ -354,6 +303,7 @@ unsafe impl ::core::marker::Send for GpioChangeCounter {} unsafe impl ::core::marker::Sync for GpioChangeCounter {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioChangeReader(::windows_core::IUnknown); impl GpioChangeReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -480,25 +430,9 @@ impl GpioChangeReader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GpioChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioChangeReader {} -impl ::core::fmt::Debug for GpioChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioChangeReader;{0abc885f-e031-48e8-8590-70de78363c6d})"); } -impl ::core::clone::Clone for GpioChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioChangeReader { type Vtable = IGpioChangeReader_Vtbl; } @@ -515,6 +449,7 @@ unsafe impl ::core::marker::Send for GpioChangeReader {} unsafe impl ::core::marker::Sync for GpioChangeReader {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioController(::windows_core::IUnknown); impl GpioController { pub fn PinCount(&self) -> ::windows_core::Result { @@ -581,25 +516,9 @@ impl GpioController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GpioController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioController {} -impl ::core::fmt::Debug for GpioController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioController;{284012e3-7461-469c-a8bc-61d69d08a53c})"); } -impl ::core::clone::Clone for GpioController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioController { type Vtable = IGpioController_Vtbl; } @@ -614,6 +533,7 @@ unsafe impl ::core::marker::Send for GpioController {} unsafe impl ::core::marker::Sync for GpioController {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioPin(::windows_core::IUnknown); impl GpioPin { #[doc = "*Required features: `\"Foundation\"`*"] @@ -699,25 +619,9 @@ impl GpioPin { } } } -impl ::core::cmp::PartialEq for GpioPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioPin {} -impl ::core::fmt::Debug for GpioPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioPin").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioPin { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPin;{11d9b087-afae-4790-9ee9-e0eac942d201})"); } -impl ::core::clone::Clone for GpioPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioPin { type Vtable = IGpioPin_Vtbl; } @@ -734,6 +638,7 @@ unsafe impl ::core::marker::Send for GpioPin {} unsafe impl ::core::marker::Sync for GpioPin {} #[doc = "*Required features: `\"Devices_Gpio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GpioPinValueChangedEventArgs(::windows_core::IUnknown); impl GpioPinValueChangedEventArgs { pub fn Edge(&self) -> ::windows_core::Result { @@ -744,25 +649,9 @@ impl GpioPinValueChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GpioPinValueChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GpioPinValueChangedEventArgs {} -impl ::core::fmt::Debug for GpioPinValueChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GpioPinValueChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GpioPinValueChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Gpio.GpioPinValueChangedEventArgs;{3137aae1-703d-4059-bd24-b5b25dffb84e})"); } -impl ::core::clone::Clone for GpioPinValueChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GpioPinValueChangedEventArgs { type Vtable = IGpioPinValueChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index f77d5a00cc..ee57782095 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownSimpleHapticsControllerWaveformsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownSimpleHapticsControllerWaveformsStatics { type Vtable = IKnownSimpleHapticsControllerWaveformsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownSimpleHapticsControllerWaveformsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownSimpleHapticsControllerWaveformsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef7_4cee_11e6_b535_001bdc06ab3b); } @@ -24,15 +20,11 @@ pub struct IKnownSimpleHapticsControllerWaveformsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownSimpleHapticsControllerWaveformsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownSimpleHapticsControllerWaveformsStatics2 { type Vtable = IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl; } -impl ::core::clone::Clone for IKnownSimpleHapticsControllerWaveformsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownSimpleHapticsControllerWaveformsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7d24c27_b79d_510a_bf79_ff6d49173e1d); } @@ -53,15 +45,11 @@ pub struct IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleHapticsController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleHapticsController { type Vtable = ISimpleHapticsController_Vtbl; } -impl ::core::clone::Clone for ISimpleHapticsController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleHapticsController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef9_4cee_11e6_b535_001bdc06ab3b); } @@ -92,15 +80,11 @@ pub struct ISimpleHapticsController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleHapticsControllerFeedback(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleHapticsControllerFeedback { type Vtable = ISimpleHapticsControllerFeedback_Vtbl; } -impl ::core::clone::Clone for ISimpleHapticsControllerFeedback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleHapticsControllerFeedback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef8_4cee_11e6_b535_001bdc06ab3b); } @@ -116,15 +100,11 @@ pub struct ISimpleHapticsControllerFeedback_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVibrationDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVibrationDevice { type Vtable = IVibrationDevice_Vtbl; } -impl ::core::clone::Clone for IVibrationDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVibrationDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40f21a3e_8844_47ff_b312_06185a3844da); } @@ -137,15 +117,11 @@ pub struct IVibrationDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVibrationDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVibrationDeviceStatics { type Vtable = IVibrationDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IVibrationDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVibrationDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53e2eded_2290_4ac9_8eb3_1a84122eb71c); } @@ -280,6 +256,7 @@ impl ::windows_core::RuntimeName for KnownSimpleHapticsControllerWaveforms { } #[doc = "*Required features: `\"Devices_Haptics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SimpleHapticsController(::windows_core::IUnknown); impl SimpleHapticsController { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -363,25 +340,9 @@ impl SimpleHapticsController { unsafe { (::windows_core::Interface::vtable(this).SendHapticFeedbackForPlayCount)(::windows_core::Interface::as_raw(this), feedback.into_param().abi(), intensity, playcount, replaypauseinterval).ok() } } } -impl ::core::cmp::PartialEq for SimpleHapticsController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SimpleHapticsController {} -impl ::core::fmt::Debug for SimpleHapticsController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SimpleHapticsController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SimpleHapticsController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsController;{3d577ef9-4cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for SimpleHapticsController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SimpleHapticsController { type Vtable = ISimpleHapticsController_Vtbl; } @@ -396,6 +357,7 @@ unsafe impl ::core::marker::Send for SimpleHapticsController {} unsafe impl ::core::marker::Sync for SimpleHapticsController {} #[doc = "*Required features: `\"Devices_Haptics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SimpleHapticsControllerFeedback(::windows_core::IUnknown); impl SimpleHapticsControllerFeedback { pub fn Waveform(&self) -> ::windows_core::Result { @@ -415,25 +377,9 @@ impl SimpleHapticsControllerFeedback { } } } -impl ::core::cmp::PartialEq for SimpleHapticsControllerFeedback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SimpleHapticsControllerFeedback {} -impl ::core::fmt::Debug for SimpleHapticsControllerFeedback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SimpleHapticsControllerFeedback").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SimpleHapticsControllerFeedback { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.SimpleHapticsControllerFeedback;{3d577ef8-4cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for SimpleHapticsControllerFeedback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SimpleHapticsControllerFeedback { type Vtable = ISimpleHapticsControllerFeedback_Vtbl; } @@ -448,6 +394,7 @@ unsafe impl ::core::marker::Send for SimpleHapticsControllerFeedback {} unsafe impl ::core::marker::Sync for SimpleHapticsControllerFeedback {} #[doc = "*Required features: `\"Devices_Haptics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VibrationDevice(::windows_core::IUnknown); impl VibrationDevice { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -508,25 +455,9 @@ impl VibrationDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VibrationDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VibrationDevice {} -impl ::core::fmt::Debug for VibrationDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VibrationDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VibrationDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Haptics.VibrationDevice;{40f21a3e-8844-47ff-b312-06185a3844da})"); } -impl ::core::clone::Clone for VibrationDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VibrationDevice { type Vtable = IVibrationDevice_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs index a3372e06b0..38a984b61d 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidBooleanControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidBooleanControl { type Vtable = IHidBooleanControl_Vtbl; } -impl ::core::clone::Clone for IHidBooleanControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidBooleanControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x524df48a_3695_408c_bba2_e2eb5abfbc20); } @@ -25,15 +21,11 @@ pub struct IHidBooleanControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidBooleanControlDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidBooleanControlDescription { type Vtable = IHidBooleanControlDescription_Vtbl; } -impl ::core::clone::Clone for IHidBooleanControlDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidBooleanControlDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6196e543_29d8_4a2a_8683_849e207bbe31); } @@ -53,15 +45,11 @@ pub struct IHidBooleanControlDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidBooleanControlDescription2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidBooleanControlDescription2 { type Vtable = IHidBooleanControlDescription2_Vtbl; } -impl ::core::clone::Clone for IHidBooleanControlDescription2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidBooleanControlDescription2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8eed2ea_8a77_4c36_aa00_5ff0449d3e73); } @@ -73,15 +61,11 @@ pub struct IHidBooleanControlDescription2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidCollection { type Vtable = IHidCollection_Vtbl; } -impl ::core::clone::Clone for IHidCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7189f5a3_32f1_46e3_befd_44d2663b7e6a); } @@ -96,15 +80,11 @@ pub struct IHidCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidDevice { type Vtable = IHidDevice_Vtbl; } -impl ::core::clone::Clone for IHidDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f8a14e7_2200_432e_95da_d09b87d574a8); } @@ -164,15 +144,11 @@ pub struct IHidDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidDeviceStatics { type Vtable = IHidDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IHidDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e5981e4_9856_418c_9f73_77de0cd85754); } @@ -189,15 +165,11 @@ pub struct IHidDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidFeatureReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidFeatureReport { type Vtable = IHidFeatureReport_Vtbl; } -impl ::core::clone::Clone for IHidFeatureReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidFeatureReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x841d9b79_5ae5_46e3_82ef_1fec5c8942f4); } @@ -221,15 +193,11 @@ pub struct IHidFeatureReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidInputReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidInputReport { type Vtable = IHidInputReport_Vtbl; } -impl ::core::clone::Clone for IHidInputReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidInputReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc35d0e50_f7e7_4e8d_b23e_cabbe56b90e9); } @@ -257,15 +225,11 @@ pub struct IHidInputReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidInputReportReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidInputReportReceivedEventArgs { type Vtable = IHidInputReportReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHidInputReportReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidInputReportReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7059c5cb_59b2_4dc2_985c_0adc6136fa2d); } @@ -277,15 +241,11 @@ pub struct IHidInputReportReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidNumericControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidNumericControl { type Vtable = IHidNumericControl_Vtbl; } -impl ::core::clone::Clone for IHidNumericControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidNumericControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe38a12a5_35a7_4b75_89c8_fb1f28b10823); } @@ -305,15 +265,11 @@ pub struct IHidNumericControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidNumericControlDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidNumericControlDescription { type Vtable = IHidNumericControlDescription_Vtbl; } -impl ::core::clone::Clone for IHidNumericControlDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidNumericControlDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x638d5e86_1d97_4c75_927f_5ff58ba05e32); } @@ -343,15 +299,11 @@ pub struct IHidNumericControlDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidOutputReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidOutputReport { type Vtable = IHidOutputReport_Vtbl; } -impl ::core::clone::Clone for IHidOutputReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidOutputReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62cb2544_c896_4463_93c1_df9db053c450); } @@ -375,6 +327,7 @@ pub struct IHidOutputReport_Vtbl { } #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidBooleanControl(::windows_core::IUnknown); impl HidBooleanControl { pub fn Id(&self) -> ::windows_core::Result { @@ -417,25 +370,9 @@ impl HidBooleanControl { } } } -impl ::core::cmp::PartialEq for HidBooleanControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidBooleanControl {} -impl ::core::fmt::Debug for HidBooleanControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidBooleanControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidBooleanControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControl;{524df48a-3695-408c-bba2-e2eb5abfbc20})"); } -impl ::core::clone::Clone for HidBooleanControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidBooleanControl { type Vtable = IHidBooleanControl_Vtbl; } @@ -450,6 +387,7 @@ unsafe impl ::core::marker::Send for HidBooleanControl {} unsafe impl ::core::marker::Sync for HidBooleanControl {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidBooleanControlDescription(::windows_core::IUnknown); impl HidBooleanControlDescription { pub fn Id(&self) -> ::windows_core::Result { @@ -504,25 +442,9 @@ impl HidBooleanControlDescription { } } } -impl ::core::cmp::PartialEq for HidBooleanControlDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidBooleanControlDescription {} -impl ::core::fmt::Debug for HidBooleanControlDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidBooleanControlDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidBooleanControlDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidBooleanControlDescription;{6196e543-29d8-4a2a-8683-849e207bbe31})"); } -impl ::core::clone::Clone for HidBooleanControlDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidBooleanControlDescription { type Vtable = IHidBooleanControlDescription_Vtbl; } @@ -537,6 +459,7 @@ unsafe impl ::core::marker::Send for HidBooleanControlDescription {} unsafe impl ::core::marker::Sync for HidBooleanControlDescription {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidCollection(::windows_core::IUnknown); impl HidCollection { pub fn Id(&self) -> ::windows_core::Result { @@ -568,25 +491,9 @@ impl HidCollection { } } } -impl ::core::cmp::PartialEq for HidCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidCollection {} -impl ::core::fmt::Debug for HidCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidCollection;{7189f5a3-32f1-46e3-befd-44d2663b7e6a})"); } -impl ::core::clone::Clone for HidCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidCollection { type Vtable = IHidCollection_Vtbl; } @@ -601,6 +508,7 @@ unsafe impl ::core::marker::Send for HidCollection {} unsafe impl ::core::marker::Sync for HidCollection {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidDevice(::windows_core::IUnknown); impl HidDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -794,25 +702,9 @@ impl HidDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HidDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidDevice {} -impl ::core::fmt::Debug for HidDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidDevice;{5f8a14e7-2200-432e-95da-d09b87d574a8})"); } -impl ::core::clone::Clone for HidDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidDevice { type Vtable = IHidDevice_Vtbl; } @@ -829,6 +721,7 @@ unsafe impl ::core::marker::Send for HidDevice {} unsafe impl ::core::marker::Sync for HidDevice {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidFeatureReport(::windows_core::IUnknown); impl HidFeatureReport { pub fn Id(&self) -> ::windows_core::Result { @@ -891,25 +784,9 @@ impl HidFeatureReport { } } } -impl ::core::cmp::PartialEq for HidFeatureReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidFeatureReport {} -impl ::core::fmt::Debug for HidFeatureReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidFeatureReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidFeatureReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidFeatureReport;{841d9b79-5ae5-46e3-82ef-1fec5c8942f4})"); } -impl ::core::clone::Clone for HidFeatureReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidFeatureReport { type Vtable = IHidFeatureReport_Vtbl; } @@ -924,6 +801,7 @@ unsafe impl ::core::marker::Send for HidFeatureReport {} unsafe impl ::core::marker::Sync for HidFeatureReport {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidInputReport(::windows_core::IUnknown); impl HidInputReport { pub fn Id(&self) -> ::windows_core::Result { @@ -995,25 +873,9 @@ impl HidInputReport { } } } -impl ::core::cmp::PartialEq for HidInputReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidInputReport {} -impl ::core::fmt::Debug for HidInputReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidInputReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidInputReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReport;{c35d0e50-f7e7-4e8d-b23e-cabbe56b90e9})"); } -impl ::core::clone::Clone for HidInputReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidInputReport { type Vtable = IHidInputReport_Vtbl; } @@ -1028,6 +890,7 @@ unsafe impl ::core::marker::Send for HidInputReport {} unsafe impl ::core::marker::Sync for HidInputReport {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidInputReportReceivedEventArgs(::windows_core::IUnknown); impl HidInputReportReceivedEventArgs { pub fn Report(&self) -> ::windows_core::Result { @@ -1038,25 +901,9 @@ impl HidInputReportReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for HidInputReportReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidInputReportReceivedEventArgs {} -impl ::core::fmt::Debug for HidInputReportReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidInputReportReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidInputReportReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidInputReportReceivedEventArgs;{7059c5cb-59b2-4dc2-985c-0adc6136fa2d})"); } -impl ::core::clone::Clone for HidInputReportReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidInputReportReceivedEventArgs { type Vtable = IHidInputReportReceivedEventArgs_Vtbl; } @@ -1071,6 +918,7 @@ unsafe impl ::core::marker::Send for HidInputReportReceivedEventArgs {} unsafe impl ::core::marker::Sync for HidInputReportReceivedEventArgs {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidNumericControl(::windows_core::IUnknown); impl HidNumericControl { pub fn Id(&self) -> ::windows_core::Result { @@ -1131,25 +979,9 @@ impl HidNumericControl { } } } -impl ::core::cmp::PartialEq for HidNumericControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidNumericControl {} -impl ::core::fmt::Debug for HidNumericControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidNumericControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidNumericControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControl;{e38a12a5-35a7-4b75-89c8-fb1f28b10823})"); } -impl ::core::clone::Clone for HidNumericControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidNumericControl { type Vtable = IHidNumericControl_Vtbl; } @@ -1164,6 +996,7 @@ unsafe impl ::core::marker::Send for HidNumericControl {} unsafe impl ::core::marker::Sync for HidNumericControl {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidNumericControlDescription(::windows_core::IUnknown); impl HidNumericControlDescription { pub fn Id(&self) -> ::windows_core::Result { @@ -1281,25 +1114,9 @@ impl HidNumericControlDescription { } } } -impl ::core::cmp::PartialEq for HidNumericControlDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidNumericControlDescription {} -impl ::core::fmt::Debug for HidNumericControlDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidNumericControlDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidNumericControlDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidNumericControlDescription;{638d5e86-1d97-4c75-927f-5ff58ba05e32})"); } -impl ::core::clone::Clone for HidNumericControlDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidNumericControlDescription { type Vtable = IHidNumericControlDescription_Vtbl; } @@ -1314,6 +1131,7 @@ unsafe impl ::core::marker::Send for HidNumericControlDescription {} unsafe impl ::core::marker::Sync for HidNumericControlDescription {} #[doc = "*Required features: `\"Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidOutputReport(::windows_core::IUnknown); impl HidOutputReport { pub fn Id(&self) -> ::windows_core::Result { @@ -1376,25 +1194,9 @@ impl HidOutputReport { } } } -impl ::core::cmp::PartialEq for HidOutputReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidOutputReport {} -impl ::core::fmt::Debug for HidOutputReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidOutputReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidOutputReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.HumanInterfaceDevice.HidOutputReport;{62cb2544-c896-4463-93c1-df9db053c450})"); } -impl ::core::clone::Clone for HidOutputReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidOutputReport { type Vtable = IHidOutputReport_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index ccd58191ef..e880808251 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -24,8 +24,8 @@ impl II2cControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_I2c_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl II2cDeviceProvider_Vtbl { WriteReadPartial: WriteReadPartial::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_I2c_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -150,7 +150,7 @@ impl II2cProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs index b1c7872ec6..e88556ac57 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cControllerProvider(::windows_core::IUnknown); impl II2cControllerProvider { pub fn GetDeviceProvider(&self, settings: P0) -> ::windows_core::Result @@ -14,28 +15,12 @@ impl II2cControllerProvider { } } ::windows_core::imp::interface_hierarchy!(II2cControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for II2cControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for II2cControllerProvider {} -impl ::core::fmt::Debug for II2cControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("II2cControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for II2cControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{61c2bb82-4510-4163-a87c-4e15a9558980}"); } unsafe impl ::windows_core::Interface for II2cControllerProvider { type Vtable = II2cControllerProvider_Vtbl; } -impl ::core::clone::Clone for II2cControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61c2bb82_4510_4163_a87c_4e15a9558980); } @@ -47,6 +32,7 @@ pub struct II2cControllerProvider_Vtbl { } #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cDeviceProvider(::windows_core::IUnknown); impl II2cDeviceProvider { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -99,28 +85,12 @@ impl II2cDeviceProvider { ::windows_core::imp::interface_hierarchy!(II2cDeviceProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for II2cDeviceProvider {} -impl ::core::cmp::PartialEq for II2cDeviceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for II2cDeviceProvider {} -impl ::core::fmt::Debug for II2cDeviceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("II2cDeviceProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for II2cDeviceProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ad342654-57e8-453e-8329-d1e447d103a9}"); } unsafe impl ::windows_core::Interface for II2cDeviceProvider { type Vtable = II2cDeviceProvider_Vtbl; } -impl ::core::clone::Clone for II2cDeviceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cDeviceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad342654_57e8_453e_8329_d1e447d103a9); } @@ -138,6 +108,7 @@ pub struct II2cDeviceProvider_Vtbl { } #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cProvider(::windows_core::IUnknown); impl II2cProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -151,28 +122,12 @@ impl II2cProvider { } } ::windows_core::imp::interface_hierarchy!(II2cProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for II2cProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for II2cProvider {} -impl ::core::fmt::Debug for II2cProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("II2cProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for II2cProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6f13083e-bf62-4fe2-a95a-f08999669818}"); } unsafe impl ::windows_core::Interface for II2cProvider { type Vtable = II2cProvider_Vtbl; } -impl ::core::clone::Clone for II2cProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f13083e_bf62_4fe2_a95a_f08999669818); } @@ -187,15 +142,11 @@ pub struct II2cProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderI2cConnectionSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProviderI2cConnectionSettings { type Vtable = IProviderI2cConnectionSettings_Vtbl; } -impl ::core::clone::Clone for IProviderI2cConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderI2cConnectionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9db4e34_e510_44b7_809d_f2f85b555339); } @@ -212,6 +163,7 @@ pub struct IProviderI2cConnectionSettings_Vtbl { } #[doc = "*Required features: `\"Devices_I2c_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProviderI2cConnectionSettings(::windows_core::IUnknown); impl ProviderI2cConnectionSettings { pub fn SlaveAddress(&self) -> ::windows_core::Result { @@ -248,25 +200,9 @@ impl ProviderI2cConnectionSettings { unsafe { (::windows_core::Interface::vtable(this).SetSharingMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ProviderI2cConnectionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProviderI2cConnectionSettings {} -impl ::core::fmt::Debug for ProviderI2cConnectionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProviderI2cConnectionSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProviderI2cConnectionSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.Provider.ProviderI2cConnectionSettings;{e9db4e34-e510-44b7-809d-f2f85b555339})"); } -impl ::core::clone::Clone for ProviderI2cConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProviderI2cConnectionSettings { type Vtable = IProviderI2cConnectionSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs index 179623c5c4..de9a580f84 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs @@ -55,7 +55,7 @@ impl II2cDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index cc8452db88..3990d35911 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cConnectionSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for II2cConnectionSettings { type Vtable = II2cConnectionSettings_Vtbl; } -impl ::core::clone::Clone for II2cConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cConnectionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2db1307_ab6f_4639_a767_54536dc3460f); } @@ -27,15 +23,11 @@ pub struct II2cConnectionSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cConnectionSettingsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for II2cConnectionSettingsFactory { type Vtable = II2cConnectionSettingsFactory_Vtbl; } -impl ::core::clone::Clone for II2cConnectionSettingsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cConnectionSettingsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81b586b3_9693_41b1_a243_ded4f6e66926); } @@ -47,15 +39,11 @@ pub struct II2cConnectionSettingsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for II2cController { type Vtable = II2cController_Vtbl; } -impl ::core::clone::Clone for II2cController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc48ab1b2_87a0_4166_8e3e_b4b8f97cd729); } @@ -67,15 +55,11 @@ pub struct II2cController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for II2cControllerStatics { type Vtable = II2cControllerStatics_Vtbl; } -impl ::core::clone::Clone for II2cControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40fc0365_5f05_4e7e_84bd_100db8e0aec5); } @@ -94,15 +78,11 @@ pub struct II2cControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for II2cDevice { type Vtable = II2cDevice_Vtbl; } -impl ::core::clone::Clone for II2cDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8636c136_b9c5_4f70_9449_cc46dc6f57eb); } @@ -121,6 +101,7 @@ pub struct II2cDevice_Vtbl { } #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct II2cDeviceStatics(::windows_core::IUnknown); impl II2cDeviceStatics { pub fn GetDeviceSelector(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -151,28 +132,12 @@ impl II2cDeviceStatics { } } ::windows_core::imp::interface_hierarchy!(II2cDeviceStatics, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for II2cDeviceStatics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for II2cDeviceStatics {} -impl ::core::fmt::Debug for II2cDeviceStatics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("II2cDeviceStatics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for II2cDeviceStatics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{91a33be3-7334-4512-96bc-fbae9459f5f6}"); } unsafe impl ::windows_core::Interface for II2cDeviceStatics { type Vtable = II2cDeviceStatics_Vtbl; } -impl ::core::clone::Clone for II2cDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for II2cDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91a33be3_7334_4512_96bc_fbae9459f5f6); } @@ -189,6 +154,7 @@ pub struct II2cDeviceStatics_Vtbl { } #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct I2cConnectionSettings(::windows_core::IUnknown); impl I2cConnectionSettings { pub fn SlaveAddress(&self) -> ::windows_core::Result { @@ -236,25 +202,9 @@ impl I2cConnectionSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for I2cConnectionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for I2cConnectionSettings {} -impl ::core::fmt::Debug for I2cConnectionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("I2cConnectionSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for I2cConnectionSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cConnectionSettings;{f2db1307-ab6f-4639-a767-54536dc3460f})"); } -impl ::core::clone::Clone for I2cConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for I2cConnectionSettings { type Vtable = II2cConnectionSettings_Vtbl; } @@ -269,6 +219,7 @@ unsafe impl ::core::marker::Send for I2cConnectionSettings {} unsafe impl ::core::marker::Sync for I2cConnectionSettings {} #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct I2cController(::windows_core::IUnknown); impl I2cController { pub fn GetDevice(&self, settings: P0) -> ::windows_core::Result @@ -306,25 +257,9 @@ impl I2cController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for I2cController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for I2cController {} -impl ::core::fmt::Debug for I2cController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("I2cController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for I2cController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cController;{c48ab1b2-87a0-4166-8e3e-b4b8f97cd729})"); } -impl ::core::clone::Clone for I2cController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for I2cController { type Vtable = II2cController_Vtbl; } @@ -339,6 +274,7 @@ unsafe impl ::core::marker::Send for I2cController {} unsafe impl ::core::marker::Sync for I2cController {} #[doc = "*Required features: `\"Devices_I2c\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct I2cDevice(::windows_core::IUnknown); impl I2cDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -423,25 +359,9 @@ impl I2cDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for I2cDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for I2cDevice {} -impl ::core::fmt::Debug for I2cDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("I2cDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for I2cDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.I2c.I2cDevice;{8636c136-b9c5-4f70-9449-cc46dc6f57eb})"); } -impl ::core::clone::Clone for I2cDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for I2cDevice { type Vtable = II2cDevice_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs index 0b000a4122..f103fb477c 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeDevicePreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeDevicePreview { type Vtable = IGazeDevicePreview_Vtbl; } -impl ::core::clone::Clone for IGazeDevicePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeDevicePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7ee9_b389_11e7_b201_c8d3ffb75721); } @@ -35,15 +31,11 @@ pub struct IGazeDevicePreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeDeviceWatcherAddedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeDeviceWatcherAddedPreviewEventArgs { type Vtable = IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeDeviceWatcherAddedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeDeviceWatcherAddedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7eed_b389_11e7_b201_c8d3ffb75721); } @@ -55,15 +47,11 @@ pub struct IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeDeviceWatcherPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeDeviceWatcherPreview { type Vtable = IGazeDeviceWatcherPreview_Vtbl; } -impl ::core::clone::Clone for IGazeDeviceWatcherPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeDeviceWatcherPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7ee7_b389_11e7_b201_c8d3ffb75721); } @@ -108,15 +96,11 @@ pub struct IGazeDeviceWatcherPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeDeviceWatcherRemovedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeDeviceWatcherRemovedPreviewEventArgs { type Vtable = IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeDeviceWatcherRemovedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeDeviceWatcherRemovedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2631f08_0e3f_431f_a606_50b35af94a1c); } @@ -128,15 +112,11 @@ pub struct IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeDeviceWatcherUpdatedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeDeviceWatcherUpdatedPreviewEventArgs { type Vtable = IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeDeviceWatcherUpdatedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeDeviceWatcherUpdatedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fe830ef_7f08_4737_88e1_4a83ae4e4885); } @@ -148,15 +128,11 @@ pub struct IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeEnteredPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeEnteredPreviewEventArgs { type Vtable = IGazeEnteredPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeEnteredPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeEnteredPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2567bf43_1225_489f_9dd1_daa7c50fbf4b); } @@ -170,15 +146,11 @@ pub struct IGazeEnteredPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeExitedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeExitedPreviewEventArgs { type Vtable = IGazeExitedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeExitedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeExitedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d0af07e_7d83_40ef_9f0a_fbc1bbdcc5ac); } @@ -192,15 +164,11 @@ pub struct IGazeExitedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeInputSourcePreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeInputSourcePreview { type Vtable = IGazeInputSourcePreview_Vtbl; } -impl ::core::clone::Clone for IGazeInputSourcePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeInputSourcePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7ee8_b389_11e7_b201_c8d3ffb75721); } @@ -235,15 +203,11 @@ pub struct IGazeInputSourcePreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeInputSourcePreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeInputSourcePreviewStatics { type Vtable = IGazeInputSourcePreviewStatics_Vtbl; } -impl ::core::clone::Clone for IGazeInputSourcePreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeInputSourcePreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7ee6_b389_11e7_b201_c8d3ffb75721); } @@ -256,15 +220,11 @@ pub struct IGazeInputSourcePreviewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazeMovedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazeMovedPreviewEventArgs { type Vtable = IGazeMovedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for IGazeMovedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazeMovedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7eeb_b389_11e7_b201_c8d3ffb75721); } @@ -282,15 +242,11 @@ pub struct IGazeMovedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGazePointPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGazePointPreview { type Vtable = IGazePointPreview_Vtbl; } -impl ::core::clone::Clone for IGazePointPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGazePointPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79e7eea_b389_11e7_b201_c8d3ffb75721); } @@ -315,6 +271,7 @@ pub struct IGazePointPreview_Vtbl { } #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeDevicePreview(::windows_core::IUnknown); impl GazeDevicePreview { pub fn Id(&self) -> ::windows_core::Result { @@ -373,25 +330,9 @@ impl GazeDevicePreview { } } } -impl ::core::cmp::PartialEq for GazeDevicePreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeDevicePreview {} -impl ::core::fmt::Debug for GazeDevicePreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeDevicePreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeDevicePreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDevicePreview;{e79e7ee9-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazeDevicePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeDevicePreview { type Vtable = IGazeDevicePreview_Vtbl; } @@ -406,6 +347,7 @@ unsafe impl ::core::marker::Send for GazeDevicePreview {} unsafe impl ::core::marker::Sync for GazeDevicePreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeDeviceWatcherAddedPreviewEventArgs(::windows_core::IUnknown); impl GazeDeviceWatcherAddedPreviewEventArgs { pub fn Device(&self) -> ::windows_core::Result { @@ -416,25 +358,9 @@ impl GazeDeviceWatcherAddedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeDeviceWatcherAddedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeDeviceWatcherAddedPreviewEventArgs {} -impl ::core::fmt::Debug for GazeDeviceWatcherAddedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeDeviceWatcherAddedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeDeviceWatcherAddedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherAddedPreviewEventArgs;{e79e7eed-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazeDeviceWatcherAddedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeDeviceWatcherAddedPreviewEventArgs { type Vtable = IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl; } @@ -449,6 +375,7 @@ unsafe impl ::core::marker::Send for GazeDeviceWatcherAddedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherAddedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeDeviceWatcherPreview(::windows_core::IUnknown); impl GazeDeviceWatcherPreview { #[doc = "*Required features: `\"Foundation\"`*"] @@ -532,25 +459,9 @@ impl GazeDeviceWatcherPreview { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for GazeDeviceWatcherPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeDeviceWatcherPreview {} -impl ::core::fmt::Debug for GazeDeviceWatcherPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeDeviceWatcherPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeDeviceWatcherPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherPreview;{e79e7ee7-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazeDeviceWatcherPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeDeviceWatcherPreview { type Vtable = IGazeDeviceWatcherPreview_Vtbl; } @@ -565,6 +476,7 @@ unsafe impl ::core::marker::Send for GazeDeviceWatcherPreview {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherPreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeDeviceWatcherRemovedPreviewEventArgs(::windows_core::IUnknown); impl GazeDeviceWatcherRemovedPreviewEventArgs { pub fn Device(&self) -> ::windows_core::Result { @@ -575,25 +487,9 @@ impl GazeDeviceWatcherRemovedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeDeviceWatcherRemovedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeDeviceWatcherRemovedPreviewEventArgs {} -impl ::core::fmt::Debug for GazeDeviceWatcherRemovedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeDeviceWatcherRemovedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeDeviceWatcherRemovedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherRemovedPreviewEventArgs;{f2631f08-0e3f-431f-a606-50b35af94a1c})"); } -impl ::core::clone::Clone for GazeDeviceWatcherRemovedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeDeviceWatcherRemovedPreviewEventArgs { type Vtable = IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl; } @@ -608,6 +504,7 @@ unsafe impl ::core::marker::Send for GazeDeviceWatcherRemovedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherRemovedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeDeviceWatcherUpdatedPreviewEventArgs(::windows_core::IUnknown); impl GazeDeviceWatcherUpdatedPreviewEventArgs { pub fn Device(&self) -> ::windows_core::Result { @@ -618,25 +515,9 @@ impl GazeDeviceWatcherUpdatedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeDeviceWatcherUpdatedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeDeviceWatcherUpdatedPreviewEventArgs {} -impl ::core::fmt::Debug for GazeDeviceWatcherUpdatedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeDeviceWatcherUpdatedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeDeviceWatcherUpdatedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeDeviceWatcherUpdatedPreviewEventArgs;{7fe830ef-7f08-4737-88e1-4a83ae4e4885})"); } -impl ::core::clone::Clone for GazeDeviceWatcherUpdatedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeDeviceWatcherUpdatedPreviewEventArgs { type Vtable = IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl; } @@ -651,6 +532,7 @@ unsafe impl ::core::marker::Send for GazeDeviceWatcherUpdatedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeDeviceWatcherUpdatedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeEnteredPreviewEventArgs(::windows_core::IUnknown); impl GazeEnteredPreviewEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -672,25 +554,9 @@ impl GazeEnteredPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeEnteredPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeEnteredPreviewEventArgs {} -impl ::core::fmt::Debug for GazeEnteredPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeEnteredPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeEnteredPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeEnteredPreviewEventArgs;{2567bf43-1225-489f-9dd1-daa7c50fbf4b})"); } -impl ::core::clone::Clone for GazeEnteredPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeEnteredPreviewEventArgs { type Vtable = IGazeEnteredPreviewEventArgs_Vtbl; } @@ -705,6 +571,7 @@ unsafe impl ::core::marker::Send for GazeEnteredPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeEnteredPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeExitedPreviewEventArgs(::windows_core::IUnknown); impl GazeExitedPreviewEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -726,25 +593,9 @@ impl GazeExitedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeExitedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeExitedPreviewEventArgs {} -impl ::core::fmt::Debug for GazeExitedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeExitedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeExitedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeExitedPreviewEventArgs;{5d0af07e-7d83-40ef-9f0a-fbc1bbdcc5ac})"); } -impl ::core::clone::Clone for GazeExitedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeExitedPreviewEventArgs { type Vtable = IGazeExitedPreviewEventArgs_Vtbl; } @@ -759,6 +610,7 @@ unsafe impl ::core::marker::Send for GazeExitedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeExitedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeInputSourcePreview(::windows_core::IUnknown); impl GazeInputSourcePreview { #[doc = "*Required features: `\"Foundation\"`*"] @@ -833,25 +685,9 @@ impl GazeInputSourcePreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GazeInputSourcePreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeInputSourcePreview {} -impl ::core::fmt::Debug for GazeInputSourcePreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeInputSourcePreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeInputSourcePreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeInputSourcePreview;{e79e7ee8-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazeInputSourcePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeInputSourcePreview { type Vtable = IGazeInputSourcePreview_Vtbl; } @@ -866,6 +702,7 @@ unsafe impl ::core::marker::Send for GazeInputSourcePreview {} unsafe impl ::core::marker::Sync for GazeInputSourcePreview {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazeMovedPreviewEventArgs(::windows_core::IUnknown); impl GazeMovedPreviewEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -896,25 +733,9 @@ impl GazeMovedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for GazeMovedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazeMovedPreviewEventArgs {} -impl ::core::fmt::Debug for GazeMovedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazeMovedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazeMovedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazeMovedPreviewEventArgs;{e79e7eeb-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazeMovedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazeMovedPreviewEventArgs { type Vtable = IGazeMovedPreviewEventArgs_Vtbl; } @@ -929,6 +750,7 @@ unsafe impl ::core::marker::Send for GazeMovedPreviewEventArgs {} unsafe impl ::core::marker::Sync for GazeMovedPreviewEventArgs {} #[doc = "*Required features: `\"Devices_Input_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GazePointPreview(::windows_core::IUnknown); impl GazePointPreview { pub fn SourceDevice(&self) -> ::windows_core::Result { @@ -973,25 +795,9 @@ impl GazePointPreview { } } } -impl ::core::cmp::PartialEq for GazePointPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GazePointPreview {} -impl ::core::fmt::Debug for GazePointPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GazePointPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GazePointPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.Preview.GazePointPreview;{e79e7eea-b389-11e7-b201-c8d3ffb75721})"); } -impl ::core::clone::Clone for GazePointPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GazePointPreview { type Vtable = IGazePointPreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index 089577ca0f..15c3684599 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -2,15 +2,11 @@ pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyboardCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyboardCapabilities { type Vtable = IKeyboardCapabilities_Vtbl; } -impl ::core::clone::Clone for IKeyboardCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyboardCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a3f9b56_6798_4bbc_833e_0f34b17c65ff); } @@ -22,15 +18,11 @@ pub struct IKeyboardCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMouseCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMouseCapabilities { type Vtable = IMouseCapabilities_Vtbl; } -impl ::core::clone::Clone for IMouseCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMouseCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbca5e023_7dd9_4b6b_9a92_55d43cb38f73); } @@ -46,15 +38,11 @@ pub struct IMouseCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMouseDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMouseDevice { type Vtable = IMouseDevice_Vtbl; } -impl ::core::clone::Clone for IMouseDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMouseDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88edf458_f2c8_49f4_be1f_c256b388bc11); } @@ -73,15 +61,11 @@ pub struct IMouseDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMouseDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMouseDeviceStatics { type Vtable = IMouseDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IMouseDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMouseDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x484a9045_6d70_49db_8e68_46ffbd17d38d); } @@ -93,15 +77,11 @@ pub struct IMouseDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMouseEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMouseEventArgs { type Vtable = IMouseEventArgs_Vtbl; } -impl ::core::clone::Clone for IMouseEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMouseEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf625aa5d_2354_4cc7_9230_96941c969fde); } @@ -113,15 +93,11 @@ pub struct IMouseEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenButtonListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenButtonListener { type Vtable = IPenButtonListener_Vtbl; } -impl ::core::clone::Clone for IPenButtonListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenButtonListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8245c376_1ee3_53f7_b1f7_8334a16f2815); } @@ -165,15 +141,11 @@ pub struct IPenButtonListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenButtonListenerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenButtonListenerStatics { type Vtable = IPenButtonListenerStatics_Vtbl; } -impl ::core::clone::Clone for IPenButtonListenerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenButtonListenerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19a8a584_862f_5f69_bfea_05f6584f133f); } @@ -185,15 +157,11 @@ pub struct IPenButtonListenerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDevice { type Vtable = IPenDevice_Vtbl; } -impl ::core::clone::Clone for IPenDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31856eba_a738_5a8c_b8f6_f97ef68d18ef); } @@ -205,15 +173,11 @@ pub struct IPenDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDevice2 { type Vtable = IPenDevice2_Vtbl; } -impl ::core::clone::Clone for IPenDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0207d327_7fb8_5566_8c34_f8342037b7f9); } @@ -228,15 +192,11 @@ pub struct IPenDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDeviceStatics { type Vtable = IPenDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IPenDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dfbbe01_0966_5180_bcb4_b85060e39479); } @@ -248,15 +208,11 @@ pub struct IPenDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDockListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDockListener { type Vtable = IPenDockListener_Vtbl; } -impl ::core::clone::Clone for IPenDockListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDockListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x759f4d90_1dc0_55cb_ad18_b9101456f592); } @@ -292,15 +248,11 @@ pub struct IPenDockListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDockListenerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDockListenerStatics { type Vtable = IPenDockListenerStatics_Vtbl; } -impl ::core::clone::Clone for IPenDockListenerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDockListenerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcab75e9a_0016_5c72_969e_a97e11992a93); } @@ -312,15 +264,11 @@ pub struct IPenDockListenerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenDockedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenDockedEventArgs { type Vtable = IPenDockedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPenDockedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenDockedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd4277c6_ca63_5d4e_9ed3_a28a54521c8c); } @@ -331,15 +279,11 @@ pub struct IPenDockedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenTailButtonClickedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenTailButtonClickedEventArgs { type Vtable = IPenTailButtonClickedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPenTailButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenTailButtonClickedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d2fb7b6_6ad3_5d3e_ab29_05ea2410e390); } @@ -350,15 +294,11 @@ pub struct IPenTailButtonClickedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenTailButtonDoubleClickedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenTailButtonDoubleClickedEventArgs { type Vtable = IPenTailButtonDoubleClickedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPenTailButtonDoubleClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenTailButtonDoubleClickedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x846321a2_618a_5478_b04c_b358231da4a7); } @@ -369,15 +309,11 @@ pub struct IPenTailButtonDoubleClickedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenTailButtonLongPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenTailButtonLongPressedEventArgs { type Vtable = IPenTailButtonLongPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPenTailButtonLongPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenTailButtonLongPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf37c606e_c60a_5f42_b818_a53112406c13); } @@ -388,15 +324,11 @@ pub struct IPenTailButtonLongPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenUndockedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenUndockedEventArgs { type Vtable = IPenUndockedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPenUndockedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenUndockedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccd09150_261b_59e6_a5d4_c1964cd03feb); } @@ -407,15 +339,11 @@ pub struct IPenUndockedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerDevice { type Vtable = IPointerDevice_Vtbl; } -impl ::core::clone::Clone for IPointerDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93c9bafc_ebcb_467e_82c6_276feae36b5a); } @@ -441,15 +369,11 @@ pub struct IPointerDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerDevice2 { type Vtable = IPointerDevice2_Vtbl; } -impl ::core::clone::Clone for IPointerDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8a6d2a0_c484_489f_ae3e_30d2ee1ffd3e); } @@ -461,15 +385,11 @@ pub struct IPointerDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerDeviceStatics { type Vtable = IPointerDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IPointerDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8b89aa1_d1c6_416e_bd8d_5790914dc563); } @@ -485,15 +405,11 @@ pub struct IPointerDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITouchCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITouchCapabilities { type Vtable = ITouchCapabilities_Vtbl; } -impl ::core::clone::Clone for ITouchCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITouchCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20dd55f9_13f1_46c8_9285_2c05fa3eda6f); } @@ -506,6 +422,7 @@ pub struct ITouchCapabilities_Vtbl { } #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyboardCapabilities(::windows_core::IUnknown); impl KeyboardCapabilities { pub fn new() -> ::windows_core::Result { @@ -523,25 +440,9 @@ impl KeyboardCapabilities { } } } -impl ::core::cmp::PartialEq for KeyboardCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyboardCapabilities {} -impl ::core::fmt::Debug for KeyboardCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyboardCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyboardCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.KeyboardCapabilities;{3a3f9b56-6798-4bbc-833e-0f34b17c65ff})"); } -impl ::core::clone::Clone for KeyboardCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyboardCapabilities { type Vtable = IKeyboardCapabilities_Vtbl; } @@ -556,6 +457,7 @@ unsafe impl ::core::marker::Send for KeyboardCapabilities {} unsafe impl ::core::marker::Sync for KeyboardCapabilities {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MouseCapabilities(::windows_core::IUnknown); impl MouseCapabilities { pub fn new() -> ::windows_core::Result { @@ -601,25 +503,9 @@ impl MouseCapabilities { } } } -impl ::core::cmp::PartialEq for MouseCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MouseCapabilities {} -impl ::core::fmt::Debug for MouseCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MouseCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MouseCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseCapabilities;{bca5e023-7dd9-4b6b-9a92-55d43cb38f73})"); } -impl ::core::clone::Clone for MouseCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MouseCapabilities { type Vtable = IMouseCapabilities_Vtbl; } @@ -634,6 +520,7 @@ unsafe impl ::core::marker::Send for MouseCapabilities {} unsafe impl ::core::marker::Sync for MouseCapabilities {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MouseDevice(::windows_core::IUnknown); impl MouseDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -666,25 +553,9 @@ impl MouseDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MouseDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MouseDevice {} -impl ::core::fmt::Debug for MouseDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MouseDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MouseDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseDevice;{88edf458-f2c8-49f4-be1f-c256b388bc11})"); } -impl ::core::clone::Clone for MouseDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MouseDevice { type Vtable = IMouseDevice_Vtbl; } @@ -697,6 +568,7 @@ impl ::windows_core::RuntimeName for MouseDevice { ::windows_core::imp::interface_hierarchy!(MouseDevice, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MouseEventArgs(::windows_core::IUnknown); impl MouseEventArgs { pub fn MouseDelta(&self) -> ::windows_core::Result { @@ -707,25 +579,9 @@ impl MouseEventArgs { } } } -impl ::core::cmp::PartialEq for MouseEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MouseEventArgs {} -impl ::core::fmt::Debug for MouseEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MouseEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MouseEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.MouseEventArgs;{f625aa5d-2354-4cc7-9230-96941c969fde})"); } -impl ::core::clone::Clone for MouseEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MouseEventArgs { type Vtable = IMouseEventArgs_Vtbl; } @@ -738,6 +594,7 @@ impl ::windows_core::RuntimeName for MouseEventArgs { ::windows_core::imp::interface_hierarchy!(MouseEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenButtonListener(::windows_core::IUnknown); impl PenButtonListener { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -831,25 +688,9 @@ impl PenButtonListener { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PenButtonListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenButtonListener {} -impl ::core::fmt::Debug for PenButtonListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenButtonListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenButtonListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenButtonListener;{8245c376-1ee3-53f7-b1f7-8334a16f2815})"); } -impl ::core::clone::Clone for PenButtonListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenButtonListener { type Vtable = IPenButtonListener_Vtbl; } @@ -864,6 +705,7 @@ unsafe impl ::core::marker::Send for PenButtonListener {} unsafe impl ::core::marker::Sync for PenButtonListener {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenDevice(::windows_core::IUnknown); impl PenDevice { pub fn PenId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -894,25 +736,9 @@ impl PenDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PenDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenDevice {} -impl ::core::fmt::Debug for PenDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDevice;{31856eba-a738-5a8c-b8f6-f97ef68d18ef})"); } -impl ::core::clone::Clone for PenDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenDevice { type Vtable = IPenDevice_Vtbl; } @@ -927,6 +753,7 @@ unsafe impl ::core::marker::Send for PenDevice {} unsafe impl ::core::marker::Sync for PenDevice {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenDockListener(::windows_core::IUnknown); impl PenDockListener { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -1002,25 +829,9 @@ impl PenDockListener { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PenDockListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenDockListener {} -impl ::core::fmt::Debug for PenDockListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenDockListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenDockListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockListener;{759f4d90-1dc0-55cb-ad18-b9101456f592})"); } -impl ::core::clone::Clone for PenDockListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenDockListener { type Vtable = IPenDockListener_Vtbl; } @@ -1035,27 +846,12 @@ unsafe impl ::core::marker::Send for PenDockListener {} unsafe impl ::core::marker::Sync for PenDockListener {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenDockedEventArgs(::windows_core::IUnknown); impl PenDockedEventArgs {} -impl ::core::cmp::PartialEq for PenDockedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenDockedEventArgs {} -impl ::core::fmt::Debug for PenDockedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenDockedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenDockedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenDockedEventArgs;{fd4277c6-ca63-5d4e-9ed3-a28a54521c8c})"); } -impl ::core::clone::Clone for PenDockedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenDockedEventArgs { type Vtable = IPenDockedEventArgs_Vtbl; } @@ -1070,27 +866,12 @@ unsafe impl ::core::marker::Send for PenDockedEventArgs {} unsafe impl ::core::marker::Sync for PenDockedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenTailButtonClickedEventArgs(::windows_core::IUnknown); impl PenTailButtonClickedEventArgs {} -impl ::core::cmp::PartialEq for PenTailButtonClickedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenTailButtonClickedEventArgs {} -impl ::core::fmt::Debug for PenTailButtonClickedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenTailButtonClickedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenTailButtonClickedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonClickedEventArgs;{5d2fb7b6-6ad3-5d3e-ab29-05ea2410e390})"); } -impl ::core::clone::Clone for PenTailButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenTailButtonClickedEventArgs { type Vtable = IPenTailButtonClickedEventArgs_Vtbl; } @@ -1105,27 +886,12 @@ unsafe impl ::core::marker::Send for PenTailButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonClickedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenTailButtonDoubleClickedEventArgs(::windows_core::IUnknown); impl PenTailButtonDoubleClickedEventArgs {} -impl ::core::cmp::PartialEq for PenTailButtonDoubleClickedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenTailButtonDoubleClickedEventArgs {} -impl ::core::fmt::Debug for PenTailButtonDoubleClickedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenTailButtonDoubleClickedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenTailButtonDoubleClickedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonDoubleClickedEventArgs;{846321a2-618a-5478-b04c-b358231da4a7})"); } -impl ::core::clone::Clone for PenTailButtonDoubleClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenTailButtonDoubleClickedEventArgs { type Vtable = IPenTailButtonDoubleClickedEventArgs_Vtbl; } @@ -1140,27 +906,12 @@ unsafe impl ::core::marker::Send for PenTailButtonDoubleClickedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonDoubleClickedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenTailButtonLongPressedEventArgs(::windows_core::IUnknown); impl PenTailButtonLongPressedEventArgs {} -impl ::core::cmp::PartialEq for PenTailButtonLongPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenTailButtonLongPressedEventArgs {} -impl ::core::fmt::Debug for PenTailButtonLongPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenTailButtonLongPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenTailButtonLongPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenTailButtonLongPressedEventArgs;{f37c606e-c60a-5f42-b818-a53112406c13})"); } -impl ::core::clone::Clone for PenTailButtonLongPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenTailButtonLongPressedEventArgs { type Vtable = IPenTailButtonLongPressedEventArgs_Vtbl; } @@ -1175,27 +926,12 @@ unsafe impl ::core::marker::Send for PenTailButtonLongPressedEventArgs {} unsafe impl ::core::marker::Sync for PenTailButtonLongPressedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenUndockedEventArgs(::windows_core::IUnknown); impl PenUndockedEventArgs {} -impl ::core::cmp::PartialEq for PenUndockedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenUndockedEventArgs {} -impl ::core::fmt::Debug for PenUndockedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenUndockedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenUndockedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PenUndockedEventArgs;{ccd09150-261b-59e6-a5d4-c1964cd03feb})"); } -impl ::core::clone::Clone for PenUndockedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenUndockedEventArgs { type Vtable = IPenUndockedEventArgs_Vtbl; } @@ -1210,6 +946,7 @@ unsafe impl ::core::marker::Send for PenUndockedEventArgs {} unsafe impl ::core::marker::Sync for PenUndockedEventArgs {} #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointerDevice(::windows_core::IUnknown); impl PointerDevice { pub fn PointerDeviceType(&self) -> ::windows_core::Result { @@ -1287,25 +1024,9 @@ impl PointerDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PointerDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointerDevice {} -impl ::core::fmt::Debug for PointerDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointerDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointerDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.PointerDevice;{93c9bafc-ebcb-467e-82c6-276feae36b5a})"); } -impl ::core::clone::Clone for PointerDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointerDevice { type Vtable = IPointerDevice_Vtbl; } @@ -1318,6 +1039,7 @@ impl ::windows_core::RuntimeName for PointerDevice { ::windows_core::imp::interface_hierarchy!(PointerDevice, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TouchCapabilities(::windows_core::IUnknown); impl TouchCapabilities { pub fn new() -> ::windows_core::Result { @@ -1342,25 +1064,9 @@ impl TouchCapabilities { } } } -impl ::core::cmp::PartialEq for TouchCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TouchCapabilities {} -impl ::core::fmt::Debug for TouchCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TouchCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TouchCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Input.TouchCapabilities;{20dd55f9-13f1-46c8-9285-2c05fa3eda6f})"); } -impl ::core::clone::Clone for TouchCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TouchCapabilities { type Vtable = ITouchCapabilities_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs index 9f86661a20..0b74cf86b1 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs @@ -30,7 +30,7 @@ impl ILampArrayEffect_Vtbl { SetZIndex: SetZIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs index a160c989dd..60da536725 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayBitmapEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayBitmapEffect { type Vtable = ILampArrayBitmapEffect_Vtbl; } -impl ::core::clone::Clone for ILampArrayBitmapEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayBitmapEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3238e065_d877_4627_89e5_2a88f7052fa6); } @@ -55,15 +51,11 @@ pub struct ILampArrayBitmapEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayBitmapEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayBitmapEffectFactory { type Vtable = ILampArrayBitmapEffectFactory_Vtbl; } -impl ::core::clone::Clone for ILampArrayBitmapEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayBitmapEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13608090_e336_4c8f_9053_a92407ca7b1d); } @@ -75,15 +67,11 @@ pub struct ILampArrayBitmapEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayBitmapRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayBitmapRequestedEventArgs { type Vtable = ILampArrayBitmapRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILampArrayBitmapRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayBitmapRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8b4af9e_fe63_4d51_babd_619defb454ba); } @@ -102,15 +90,11 @@ pub struct ILampArrayBitmapRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayBlinkEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayBlinkEffect { type Vtable = ILampArrayBlinkEffect_Vtbl; } -impl ::core::clone::Clone for ILampArrayBlinkEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayBlinkEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebbf35f6_2fc5_4bb3_b3c3_6221a7680d13); } @@ -173,15 +157,11 @@ pub struct ILampArrayBlinkEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayBlinkEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayBlinkEffectFactory { type Vtable = ILampArrayBlinkEffectFactory_Vtbl; } -impl ::core::clone::Clone for ILampArrayBlinkEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayBlinkEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x879f1d97_9f50_49b2_a56f_013aa08d55e0); } @@ -193,15 +173,11 @@ pub struct ILampArrayBlinkEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayColorRampEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayColorRampEffect { type Vtable = ILampArrayColorRampEffect_Vtbl; } -impl ::core::clone::Clone for ILampArrayColorRampEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayColorRampEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b004437_40a7_432e_a0b9_0d570c2153ff); } @@ -238,15 +214,11 @@ pub struct ILampArrayColorRampEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayColorRampEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayColorRampEffectFactory { type Vtable = ILampArrayColorRampEffectFactory_Vtbl; } -impl ::core::clone::Clone for ILampArrayColorRampEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayColorRampEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x520bd133_0c74_4df5_bea7_4899e0266b0f); } @@ -258,15 +230,11 @@ pub struct ILampArrayColorRampEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayCustomEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayCustomEffect { type Vtable = ILampArrayCustomEffect_Vtbl; } -impl ::core::clone::Clone for ILampArrayCustomEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayCustomEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec579170_3c34_4876_818b_5765f78b0ee4); } @@ -301,15 +269,11 @@ pub struct ILampArrayCustomEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayCustomEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayCustomEffectFactory { type Vtable = ILampArrayCustomEffectFactory_Vtbl; } -impl ::core::clone::Clone for ILampArrayCustomEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayCustomEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68b4774d_63e5_4af0_a58b_3e535b94e8c9); } @@ -321,6 +285,7 @@ pub struct ILampArrayCustomEffectFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayEffect(::windows_core::IUnknown); impl ILampArrayEffect { pub fn ZIndex(&self) -> ::windows_core::Result { @@ -336,28 +301,12 @@ impl ILampArrayEffect { } } ::windows_core::imp::interface_hierarchy!(ILampArrayEffect, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILampArrayEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILampArrayEffect {} -impl ::core::fmt::Debug for ILampArrayEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILampArrayEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILampArrayEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{11d45590-57fb-4546-b1ce-863107f740df}"); } unsafe impl ::windows_core::Interface for ILampArrayEffect { type Vtable = ILampArrayEffect_Vtbl; } -impl ::core::clone::Clone for ILampArrayEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11d45590_57fb_4546_b1ce_863107f740df); } @@ -370,15 +319,11 @@ pub struct ILampArrayEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayEffectPlaylist(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayEffectPlaylist { type Vtable = ILampArrayEffectPlaylist_Vtbl; } -impl ::core::clone::Clone for ILampArrayEffectPlaylist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayEffectPlaylist { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7de58bfe_6f61_4103_98c7_d6632f7b9169); } @@ -400,15 +345,11 @@ pub struct ILampArrayEffectPlaylist_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayEffectPlaylistStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayEffectPlaylistStatics { type Vtable = ILampArrayEffectPlaylistStatics_Vtbl; } -impl ::core::clone::Clone for ILampArrayEffectPlaylistStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayEffectPlaylistStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb15235c_ea35_4c7f_a016_f3bfc6a6c47d); } @@ -431,15 +372,11 @@ pub struct ILampArrayEffectPlaylistStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArraySolidEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArraySolidEffect { type Vtable = ILampArraySolidEffect_Vtbl; } -impl ::core::clone::Clone for ILampArraySolidEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArraySolidEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x441f8213_43cc_4b33_80eb_c6ddde7dc8ed); } @@ -476,15 +413,11 @@ pub struct ILampArraySolidEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArraySolidEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArraySolidEffectFactory { type Vtable = ILampArraySolidEffectFactory_Vtbl; } -impl ::core::clone::Clone for ILampArraySolidEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArraySolidEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf862a32c_5576_4341_961b_aee1f13cf9dd); } @@ -496,15 +429,11 @@ pub struct ILampArraySolidEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayUpdateRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayUpdateRequestedEventArgs { type Vtable = ILampArrayUpdateRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILampArrayUpdateRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayUpdateRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73560d6a_576a_48af_8539_67ffa0ab3516); } @@ -535,6 +464,7 @@ pub struct ILampArrayUpdateRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayBitmapEffect(::windows_core::IUnknown); impl LampArrayBitmapEffect { #[doc = "*Required features: `\"Foundation\"`*"] @@ -635,25 +565,9 @@ impl LampArrayBitmapEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArrayBitmapEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayBitmapEffect {} -impl ::core::fmt::Debug for LampArrayBitmapEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayBitmapEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayBitmapEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapEffect;{3238e065-d877-4627-89e5-2a88f7052fa6})"); } -impl ::core::clone::Clone for LampArrayBitmapEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayBitmapEffect { type Vtable = ILampArrayBitmapEffect_Vtbl; } @@ -669,6 +583,7 @@ unsafe impl ::core::marker::Send for LampArrayBitmapEffect {} unsafe impl ::core::marker::Sync for LampArrayBitmapEffect {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayBitmapRequestedEventArgs(::windows_core::IUnknown); impl LampArrayBitmapRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -690,25 +605,9 @@ impl LampArrayBitmapRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).UpdateBitmap)(::windows_core::Interface::as_raw(this), bitmap.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for LampArrayBitmapRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayBitmapRequestedEventArgs {} -impl ::core::fmt::Debug for LampArrayBitmapRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayBitmapRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayBitmapRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBitmapRequestedEventArgs;{c8b4af9e-fe63-4d51-babd-619defb454ba})"); } -impl ::core::clone::Clone for LampArrayBitmapRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayBitmapRequestedEventArgs { type Vtable = ILampArrayBitmapRequestedEventArgs_Vtbl; } @@ -723,6 +622,7 @@ unsafe impl ::core::marker::Send for LampArrayBitmapRequestedEventArgs {} unsafe impl ::core::marker::Sync for LampArrayBitmapRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayBlinkEffect(::windows_core::IUnknown); impl LampArrayBlinkEffect { #[doc = "*Required features: `\"UI\"`*"] @@ -863,25 +763,9 @@ impl LampArrayBlinkEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArrayBlinkEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayBlinkEffect {} -impl ::core::fmt::Debug for LampArrayBlinkEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayBlinkEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayBlinkEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayBlinkEffect;{ebbf35f6-2fc5-4bb3-b3c3-6221a7680d13})"); } -impl ::core::clone::Clone for LampArrayBlinkEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayBlinkEffect { type Vtable = ILampArrayBlinkEffect_Vtbl; } @@ -897,6 +781,7 @@ unsafe impl ::core::marker::Send for LampArrayBlinkEffect {} unsafe impl ::core::marker::Sync for LampArrayBlinkEffect {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayColorRampEffect(::windows_core::IUnknown); impl LampArrayColorRampEffect { #[doc = "*Required features: `\"UI\"`*"] @@ -981,25 +866,9 @@ impl LampArrayColorRampEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArrayColorRampEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayColorRampEffect {} -impl ::core::fmt::Debug for LampArrayColorRampEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayColorRampEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayColorRampEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayColorRampEffect;{2b004437-40a7-432e-a0b9-0d570c2153ff})"); } -impl ::core::clone::Clone for LampArrayColorRampEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayColorRampEffect { type Vtable = ILampArrayColorRampEffect_Vtbl; } @@ -1015,6 +884,7 @@ unsafe impl ::core::marker::Send for LampArrayColorRampEffect {} unsafe impl ::core::marker::Sync for LampArrayColorRampEffect {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayCustomEffect(::windows_core::IUnknown); impl LampArrayCustomEffect { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1091,25 +961,9 @@ impl LampArrayCustomEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArrayCustomEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayCustomEffect {} -impl ::core::fmt::Debug for LampArrayCustomEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayCustomEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayCustomEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayCustomEffect;{ec579170-3c34-4876-818b-5765f78b0ee4})"); } -impl ::core::clone::Clone for LampArrayCustomEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayCustomEffect { type Vtable = ILampArrayCustomEffect_Vtbl; } @@ -1125,6 +979,7 @@ unsafe impl ::core::marker::Send for LampArrayCustomEffect {} unsafe impl ::core::marker::Sync for LampArrayCustomEffect {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayEffectPlaylist(::windows_core::IUnknown); impl LampArrayEffectPlaylist { pub fn new() -> ::windows_core::Result { @@ -1268,25 +1123,9 @@ impl LampArrayEffectPlaylist { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArrayEffectPlaylist { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayEffectPlaylist {} -impl ::core::fmt::Debug for LampArrayEffectPlaylist { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayEffectPlaylist").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayEffectPlaylist { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayEffectPlaylist;{7de58bfe-6f61-4103-98c7-d6632f7b9169})"); } -impl ::core::clone::Clone for LampArrayEffectPlaylist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayEffectPlaylist { type Vtable = ILampArrayEffectPlaylist_Vtbl; } @@ -1321,6 +1160,7 @@ unsafe impl ::core::marker::Send for LampArrayEffectPlaylist {} unsafe impl ::core::marker::Sync for LampArrayEffectPlaylist {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArraySolidEffect(::windows_core::IUnknown); impl LampArraySolidEffect { pub fn ZIndex(&self) -> ::windows_core::Result { @@ -1405,25 +1245,9 @@ impl LampArraySolidEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArraySolidEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArraySolidEffect {} -impl ::core::fmt::Debug for LampArraySolidEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArraySolidEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArraySolidEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArraySolidEffect;{441f8213-43cc-4b33-80eb-c6ddde7dc8ed})"); } -impl ::core::clone::Clone for LampArraySolidEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArraySolidEffect { type Vtable = ILampArraySolidEffect_Vtbl; } @@ -1439,6 +1263,7 @@ unsafe impl ::core::marker::Send for LampArraySolidEffect {} unsafe impl ::core::marker::Sync for LampArraySolidEffect {} #[doc = "*Required features: `\"Devices_Lights_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArrayUpdateRequestedEventArgs(::windows_core::IUnknown); impl LampArrayUpdateRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1475,25 +1300,9 @@ impl LampArrayUpdateRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetColorsForIndices)(::windows_core::Interface::as_raw(this), desiredcolors.len() as u32, desiredcolors.as_ptr(), lampindexes.len() as u32, lampindexes.as_ptr()).ok() } } } -impl ::core::cmp::PartialEq for LampArrayUpdateRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArrayUpdateRequestedEventArgs {} -impl ::core::fmt::Debug for LampArrayUpdateRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArrayUpdateRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArrayUpdateRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Effects.LampArrayUpdateRequestedEventArgs;{73560d6a-576a-48af-8539-67ffa0ab3516})"); } -impl ::core::clone::Clone for LampArrayUpdateRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArrayUpdateRequestedEventArgs { type Vtable = ILampArrayUpdateRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 5e7bccb359..f1de1ce820 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -2,15 +2,11 @@ pub mod Effects; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILamp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILamp { type Vtable = ILamp_Vtbl; } -impl ::core::clone::Clone for ILamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILamp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x047d5b9a_ea45_4b2b_b1a2_14dff00bde7b); } @@ -43,15 +39,11 @@ pub struct ILamp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArray(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArray { type Vtable = ILampArray_Vtbl; } -impl ::core::clone::Clone for ILampArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ace9787_c8a0_4e95_a1e0_d58676538649); } @@ -124,15 +116,11 @@ pub struct ILampArray_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampArrayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampArrayStatics { type Vtable = ILampArrayStatics_Vtbl; } -impl ::core::clone::Clone for ILampArrayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampArrayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bb8c98d_5fc1_452d_bb1f_4ad410d398ff); } @@ -148,15 +136,11 @@ pub struct ILampArrayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampAvailabilityChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampAvailabilityChangedEventArgs { type Vtable = ILampAvailabilityChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILampAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampAvailabilityChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f6e3ded_07a2_499d_9260_67e304532ba4); } @@ -168,15 +152,11 @@ pub struct ILampAvailabilityChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampInfo { type Vtable = ILampInfo_Vtbl; } -impl ::core::clone::Clone for ILampInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30bb521c_0acf_49da_8c10_150b9cf62713); } @@ -209,15 +189,11 @@ pub struct ILampInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILampStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILampStatics { type Vtable = ILampStatics_Vtbl; } -impl ::core::clone::Clone for ILampStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILampStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa822416c_8885_401e_b821_8e8b38a8e8ec); } @@ -237,6 +213,7 @@ pub struct ILampStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Lights\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Lamp(::windows_core::IUnknown); impl Lamp { #[doc = "*Required features: `\"Foundation\"`*"] @@ -342,25 +319,9 @@ impl Lamp { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Lamp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Lamp {} -impl ::core::fmt::Debug for Lamp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Lamp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Lamp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.Lamp;{047d5b9a-ea45-4b2b-b1a2-14dff00bde7b})"); } -impl ::core::clone::Clone for Lamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Lamp { type Vtable = ILamp_Vtbl; } @@ -377,6 +338,7 @@ unsafe impl ::core::marker::Send for Lamp {} unsafe impl ::core::marker::Sync for Lamp {} #[doc = "*Required features: `\"Devices_Lights\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampArray(::windows_core::IUnknown); impl LampArray { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -581,25 +543,9 @@ impl LampArray { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LampArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampArray {} -impl ::core::fmt::Debug for LampArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampArray").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampArray { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampArray;{7ace9787-c8a0-4e95-a1e0-d58676538649})"); } -impl ::core::clone::Clone for LampArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampArray { type Vtable = ILampArray_Vtbl; } @@ -614,6 +560,7 @@ unsafe impl ::core::marker::Send for LampArray {} unsafe impl ::core::marker::Sync for LampArray {} #[doc = "*Required features: `\"Devices_Lights\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampAvailabilityChangedEventArgs(::windows_core::IUnknown); impl LampAvailabilityChangedEventArgs { pub fn IsAvailable(&self) -> ::windows_core::Result { @@ -624,25 +571,9 @@ impl LampAvailabilityChangedEventArgs { } } } -impl ::core::cmp::PartialEq for LampAvailabilityChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampAvailabilityChangedEventArgs {} -impl ::core::fmt::Debug for LampAvailabilityChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampAvailabilityChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampAvailabilityChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampAvailabilityChangedEventArgs;{4f6e3ded-07a2-499d-9260-67e304532ba4})"); } -impl ::core::clone::Clone for LampAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampAvailabilityChangedEventArgs { type Vtable = ILampAvailabilityChangedEventArgs_Vtbl; } @@ -657,6 +588,7 @@ unsafe impl ::core::marker::Send for LampAvailabilityChangedEventArgs {} unsafe impl ::core::marker::Sync for LampAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"Devices_Lights\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LampInfo(::windows_core::IUnknown); impl LampInfo { pub fn Index(&self) -> ::windows_core::Result { @@ -738,25 +670,9 @@ impl LampInfo { } } } -impl ::core::cmp::PartialEq for LampInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LampInfo {} -impl ::core::fmt::Debug for LampInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LampInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LampInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Lights.LampInfo;{30bb521c-0acf-49da-8c10-150b9cf62713})"); } -impl ::core::clone::Clone for LampInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LampInfo { type Vtable = ILampInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs index d2978883a8..84344a0d92 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs @@ -53,8 +53,8 @@ impl IMidiMessage_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Midi\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -100,7 +100,7 @@ impl IMidiOutPort_Vtbl { DeviceId: DeviceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 5cfbab536b..038f56e0b8 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiChannelPressureMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiChannelPressureMessage { type Vtable = IMidiChannelPressureMessage_Vtbl; } -impl ::core::clone::Clone for IMidiChannelPressureMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiChannelPressureMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe1fa860_62b4_4d52_a37e_92e54d35b909); } @@ -21,15 +17,11 @@ pub struct IMidiChannelPressureMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiChannelPressureMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiChannelPressureMessageFactory { type Vtable = IMidiChannelPressureMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiChannelPressureMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiChannelPressureMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6218ed2f_2284_412a_94cf_10fb04842c6c); } @@ -41,15 +33,11 @@ pub struct IMidiChannelPressureMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiControlChangeMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiControlChangeMessage { type Vtable = IMidiControlChangeMessage_Vtbl; } -impl ::core::clone::Clone for IMidiControlChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiControlChangeMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e15f83_780d_405f_b781_3e1598c97f40); } @@ -63,15 +51,11 @@ pub struct IMidiControlChangeMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiControlChangeMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiControlChangeMessageFactory { type Vtable = IMidiControlChangeMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiControlChangeMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiControlChangeMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ab14321_956c_46ad_9752_f87f55052fe3); } @@ -83,15 +67,11 @@ pub struct IMidiControlChangeMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiInPort(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiInPort { type Vtable = IMidiInPort_Vtbl; } -impl ::core::clone::Clone for IMidiInPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiInPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5c1d9db_971a_4eaf_a23d_ea19fe607ff9); } @@ -111,15 +91,11 @@ pub struct IMidiInPort_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiInPortStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiInPortStatics { type Vtable = IMidiInPortStatics_Vtbl; } -impl ::core::clone::Clone for IMidiInPortStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiInPortStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44c439dc_67ff_4a6e_8bac_fdb6610cf296); } @@ -135,6 +111,7 @@ pub struct IMidiInPortStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiMessage(::windows_core::IUnknown); impl IMidiMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -164,28 +141,12 @@ impl IMidiMessage { } } ::windows_core::imp::interface_hierarchy!(IMidiMessage, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMidiMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMidiMessage {} -impl ::core::fmt::Debug for IMidiMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMidiMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMidiMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{79767945-1094-4283-9be0-289fc0ee8334}"); } unsafe impl ::windows_core::Interface for IMidiMessage { type Vtable = IMidiMessage_Vtbl; } -impl ::core::clone::Clone for IMidiMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79767945_1094_4283_9be0_289fc0ee8334); } @@ -205,15 +166,11 @@ pub struct IMidiMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiMessageReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiMessageReceivedEventArgs { type Vtable = IMidiMessageReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMidiMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiMessageReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76566e56_f328_4b51_907d_b3a8ce96bf80); } @@ -225,15 +182,11 @@ pub struct IMidiMessageReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiNoteOffMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiNoteOffMessage { type Vtable = IMidiNoteOffMessage_Vtbl; } -impl ::core::clone::Clone for IMidiNoteOffMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiNoteOffMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16fd8af4_198e_4d8f_a654_d305a293548f); } @@ -247,15 +200,11 @@ pub struct IMidiNoteOffMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiNoteOffMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiNoteOffMessageFactory { type Vtable = IMidiNoteOffMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiNoteOffMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiNoteOffMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6b240e0_a749_425f_8af4_a4d979cc15b5); } @@ -267,15 +216,11 @@ pub struct IMidiNoteOffMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiNoteOnMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiNoteOnMessage { type Vtable = IMidiNoteOnMessage_Vtbl; } -impl ::core::clone::Clone for IMidiNoteOnMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiNoteOnMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0224af5_6181_46dd_afa2_410004c057aa); } @@ -289,15 +234,11 @@ pub struct IMidiNoteOnMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiNoteOnMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiNoteOnMessageFactory { type Vtable = IMidiNoteOnMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiNoteOnMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiNoteOnMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b4280a0_59c1_420e_b517_15a10aa9606b); } @@ -309,6 +250,7 @@ pub struct IMidiNoteOnMessageFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiOutPort(::windows_core::IUnknown); impl IMidiOutPort { pub fn SendMessage(&self, midimessage: P0) -> ::windows_core::Result<()> @@ -344,28 +286,12 @@ impl IMidiOutPort { ::windows_core::imp::interface_hierarchy!(IMidiOutPort, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IMidiOutPort {} -impl ::core::cmp::PartialEq for IMidiOutPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMidiOutPort {} -impl ::core::fmt::Debug for IMidiOutPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMidiOutPort").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMidiOutPort { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{931d6d9f-57a2-4a3a-adb8-4640886f6693}"); } unsafe impl ::windows_core::Interface for IMidiOutPort { type Vtable = IMidiOutPort_Vtbl; } -impl ::core::clone::Clone for IMidiOutPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiOutPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x931d6d9f_57a2_4a3a_adb8_4640886f6693); } @@ -382,15 +308,11 @@ pub struct IMidiOutPort_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiOutPortStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiOutPortStatics { type Vtable = IMidiOutPortStatics_Vtbl; } -impl ::core::clone::Clone for IMidiOutPortStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiOutPortStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x065cc3e9_0f88_448b_9b64_a95826c65b8f); } @@ -406,15 +328,11 @@ pub struct IMidiOutPortStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiPitchBendChangeMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiPitchBendChangeMessage { type Vtable = IMidiPitchBendChangeMessage_Vtbl; } -impl ::core::clone::Clone for IMidiPitchBendChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiPitchBendChangeMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29df4cb1_2e9f_4faf_8c2b_9cb82a9079ca); } @@ -427,15 +345,11 @@ pub struct IMidiPitchBendChangeMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiPitchBendChangeMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiPitchBendChangeMessageFactory { type Vtable = IMidiPitchBendChangeMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiPitchBendChangeMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiPitchBendChangeMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5eedf55_cfc8_4926_b30e_a3622393306c); } @@ -447,15 +361,11 @@ pub struct IMidiPitchBendChangeMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiPolyphonicKeyPressureMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiPolyphonicKeyPressureMessage { type Vtable = IMidiPolyphonicKeyPressureMessage_Vtbl; } -impl ::core::clone::Clone for IMidiPolyphonicKeyPressureMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiPolyphonicKeyPressureMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f7337fe_ace8_48a0_868e_7cdbf20f04d6); } @@ -469,15 +379,11 @@ pub struct IMidiPolyphonicKeyPressureMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiPolyphonicKeyPressureMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiPolyphonicKeyPressureMessageFactory { type Vtable = IMidiPolyphonicKeyPressureMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiPolyphonicKeyPressureMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiPolyphonicKeyPressureMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe98f483e_c4b3_4dd2_917c_e349815a1b3b); } @@ -489,15 +395,11 @@ pub struct IMidiPolyphonicKeyPressureMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiProgramChangeMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiProgramChangeMessage { type Vtable = IMidiProgramChangeMessage_Vtbl; } -impl ::core::clone::Clone for IMidiProgramChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiProgramChangeMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cbb3c78_7a3e_4327_aa98_20b8e4485af8); } @@ -510,15 +412,11 @@ pub struct IMidiProgramChangeMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiProgramChangeMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiProgramChangeMessageFactory { type Vtable = IMidiProgramChangeMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiProgramChangeMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiProgramChangeMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6b04387_524b_4104_9c99_6572bfd2e261); } @@ -530,15 +428,11 @@ pub struct IMidiProgramChangeMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSongPositionPointerMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSongPositionPointerMessage { type Vtable = IMidiSongPositionPointerMessage_Vtbl; } -impl ::core::clone::Clone for IMidiSongPositionPointerMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSongPositionPointerMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ca50c56_ec5e_4ae4_a115_88dc57cc2b79); } @@ -550,15 +444,11 @@ pub struct IMidiSongPositionPointerMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSongPositionPointerMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSongPositionPointerMessageFactory { type Vtable = IMidiSongPositionPointerMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiSongPositionPointerMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSongPositionPointerMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c00e996_f10b_4fea_b395_f5d6cf80f64e); } @@ -570,15 +460,11 @@ pub struct IMidiSongPositionPointerMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSongSelectMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSongSelectMessage { type Vtable = IMidiSongSelectMessage_Vtbl; } -impl ::core::clone::Clone for IMidiSongSelectMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSongSelectMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49f0f27f_6d83_4741_a5bf_4629f6be974f); } @@ -590,15 +476,11 @@ pub struct IMidiSongSelectMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSongSelectMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSongSelectMessageFactory { type Vtable = IMidiSongSelectMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiSongSelectMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSongSelectMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x848878e4_8748_4129_a66c_a05493f75daa); } @@ -610,15 +492,11 @@ pub struct IMidiSongSelectMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSynthesizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSynthesizer { type Vtable = IMidiSynthesizer_Vtbl; } -impl ::core::clone::Clone for IMidiSynthesizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSynthesizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0da155e_db90_405f_b8ae_21d2e17f2e45); } @@ -635,15 +513,11 @@ pub struct IMidiSynthesizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSynthesizerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSynthesizerStatics { type Vtable = IMidiSynthesizerStatics_Vtbl; } -impl ::core::clone::Clone for IMidiSynthesizerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSynthesizerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4224eaa8_6629_4d6b_aa8f_d4521a5a31ce); } @@ -666,15 +540,11 @@ pub struct IMidiSynthesizerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiSystemExclusiveMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiSystemExclusiveMessageFactory { type Vtable = IMidiSystemExclusiveMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiSystemExclusiveMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiSystemExclusiveMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x083de222_3b74_4320_9b42_0ca8545f8a24); } @@ -689,15 +559,11 @@ pub struct IMidiSystemExclusiveMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiTimeCodeMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiTimeCodeMessage { type Vtable = IMidiTimeCodeMessage_Vtbl; } -impl ::core::clone::Clone for IMidiTimeCodeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiTimeCodeMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bf7087d_fa63_4a1c_8deb_c0e87796a6d7); } @@ -710,15 +576,11 @@ pub struct IMidiTimeCodeMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMidiTimeCodeMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMidiTimeCodeMessageFactory { type Vtable = IMidiTimeCodeMessageFactory_Vtbl; } -impl ::core::clone::Clone for IMidiTimeCodeMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMidiTimeCodeMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb3099c5_771c_40de_b961_175a7489a85e); } @@ -730,6 +592,7 @@ pub struct IMidiTimeCodeMessageFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiActiveSensingMessage(::windows_core::IUnknown); impl MidiActiveSensingMessage { pub fn new() -> ::windows_core::Result { @@ -765,25 +628,9 @@ impl MidiActiveSensingMessage { } } } -impl ::core::cmp::PartialEq for MidiActiveSensingMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiActiveSensingMessage {} -impl ::core::fmt::Debug for MidiActiveSensingMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiActiveSensingMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiActiveSensingMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiActiveSensingMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiActiveSensingMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiActiveSensingMessage { type Vtable = IMidiMessage_Vtbl; } @@ -799,6 +646,7 @@ unsafe impl ::core::marker::Send for MidiActiveSensingMessage {} unsafe impl ::core::marker::Sync for MidiActiveSensingMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiChannelPressureMessage(::windows_core::IUnknown); impl MidiChannelPressureMessage { pub fn Channel(&self) -> ::windows_core::Result { @@ -852,25 +700,9 @@ impl MidiChannelPressureMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiChannelPressureMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiChannelPressureMessage {} -impl ::core::fmt::Debug for MidiChannelPressureMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiChannelPressureMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiChannelPressureMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiChannelPressureMessage;{be1fa860-62b4-4d52-a37e-92e54d35b909})"); } -impl ::core::clone::Clone for MidiChannelPressureMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiChannelPressureMessage { type Vtable = IMidiChannelPressureMessage_Vtbl; } @@ -886,6 +718,7 @@ unsafe impl ::core::marker::Send for MidiChannelPressureMessage {} unsafe impl ::core::marker::Sync for MidiChannelPressureMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiContinueMessage(::windows_core::IUnknown); impl MidiContinueMessage { pub fn new() -> ::windows_core::Result { @@ -921,25 +754,9 @@ impl MidiContinueMessage { } } } -impl ::core::cmp::PartialEq for MidiContinueMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiContinueMessage {} -impl ::core::fmt::Debug for MidiContinueMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiContinueMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiContinueMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiContinueMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiContinueMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiContinueMessage { type Vtable = IMidiMessage_Vtbl; } @@ -955,6 +772,7 @@ unsafe impl ::core::marker::Send for MidiContinueMessage {} unsafe impl ::core::marker::Sync for MidiContinueMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiControlChangeMessage(::windows_core::IUnknown); impl MidiControlChangeMessage { pub fn Channel(&self) -> ::windows_core::Result { @@ -1015,25 +833,9 @@ impl MidiControlChangeMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiControlChangeMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiControlChangeMessage {} -impl ::core::fmt::Debug for MidiControlChangeMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiControlChangeMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiControlChangeMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiControlChangeMessage;{b7e15f83-780d-405f-b781-3e1598c97f40})"); } -impl ::core::clone::Clone for MidiControlChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiControlChangeMessage { type Vtable = IMidiControlChangeMessage_Vtbl; } @@ -1049,6 +851,7 @@ unsafe impl ::core::marker::Send for MidiControlChangeMessage {} unsafe impl ::core::marker::Sync for MidiControlChangeMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiInPort(::windows_core::IUnknown); impl MidiInPort { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1102,25 +905,9 @@ impl MidiInPort { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiInPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiInPort {} -impl ::core::fmt::Debug for MidiInPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiInPort").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiInPort { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiInPort;{d5c1d9db-971a-4eaf-a23d-ea19fe607ff9})"); } -impl ::core::clone::Clone for MidiInPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiInPort { type Vtable = IMidiInPort_Vtbl; } @@ -1137,6 +924,7 @@ unsafe impl ::core::marker::Send for MidiInPort {} unsafe impl ::core::marker::Sync for MidiInPort {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiMessageReceivedEventArgs(::windows_core::IUnknown); impl MidiMessageReceivedEventArgs { pub fn Message(&self) -> ::windows_core::Result { @@ -1147,25 +935,9 @@ impl MidiMessageReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MidiMessageReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiMessageReceivedEventArgs {} -impl ::core::fmt::Debug for MidiMessageReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiMessageReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiMessageReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiMessageReceivedEventArgs;{76566e56-f328-4b51-907d-b3a8ce96bf80})"); } -impl ::core::clone::Clone for MidiMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiMessageReceivedEventArgs { type Vtable = IMidiMessageReceivedEventArgs_Vtbl; } @@ -1180,6 +952,7 @@ unsafe impl ::core::marker::Send for MidiMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for MidiMessageReceivedEventArgs {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiNoteOffMessage(::windows_core::IUnknown); impl MidiNoteOffMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1240,25 +1013,9 @@ impl MidiNoteOffMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiNoteOffMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiNoteOffMessage {} -impl ::core::fmt::Debug for MidiNoteOffMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiNoteOffMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiNoteOffMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOffMessage;{16fd8af4-198e-4d8f-a654-d305a293548f})"); } -impl ::core::clone::Clone for MidiNoteOffMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiNoteOffMessage { type Vtable = IMidiNoteOffMessage_Vtbl; } @@ -1274,6 +1031,7 @@ unsafe impl ::core::marker::Send for MidiNoteOffMessage {} unsafe impl ::core::marker::Sync for MidiNoteOffMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiNoteOnMessage(::windows_core::IUnknown); impl MidiNoteOnMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1334,25 +1092,9 @@ impl MidiNoteOnMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiNoteOnMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiNoteOnMessage {} -impl ::core::fmt::Debug for MidiNoteOnMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiNoteOnMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiNoteOnMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiNoteOnMessage;{e0224af5-6181-46dd-afa2-410004c057aa})"); } -impl ::core::clone::Clone for MidiNoteOnMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiNoteOnMessage { type Vtable = IMidiNoteOnMessage_Vtbl; } @@ -1368,6 +1110,7 @@ unsafe impl ::core::marker::Send for MidiNoteOnMessage {} unsafe impl ::core::marker::Sync for MidiNoteOnMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiOutPort(::windows_core::IUnknown); impl MidiOutPort { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1419,25 +1162,9 @@ impl MidiOutPort { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiOutPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiOutPort {} -impl ::core::fmt::Debug for MidiOutPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiOutPort").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiOutPort { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiOutPort;{931d6d9f-57a2-4a3a-adb8-4640886f6693})"); } -impl ::core::clone::Clone for MidiOutPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiOutPort { type Vtable = IMidiOutPort_Vtbl; } @@ -1455,6 +1182,7 @@ unsafe impl ::core::marker::Send for MidiOutPort {} unsafe impl ::core::marker::Sync for MidiOutPort {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiPitchBendChangeMessage(::windows_core::IUnknown); impl MidiPitchBendChangeMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1508,25 +1236,9 @@ impl MidiPitchBendChangeMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiPitchBendChangeMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiPitchBendChangeMessage {} -impl ::core::fmt::Debug for MidiPitchBendChangeMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiPitchBendChangeMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiPitchBendChangeMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPitchBendChangeMessage;{29df4cb1-2e9f-4faf-8c2b-9cb82a9079ca})"); } -impl ::core::clone::Clone for MidiPitchBendChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiPitchBendChangeMessage { type Vtable = IMidiPitchBendChangeMessage_Vtbl; } @@ -1542,6 +1254,7 @@ unsafe impl ::core::marker::Send for MidiPitchBendChangeMessage {} unsafe impl ::core::marker::Sync for MidiPitchBendChangeMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiPolyphonicKeyPressureMessage(::windows_core::IUnknown); impl MidiPolyphonicKeyPressureMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1602,25 +1315,9 @@ impl MidiPolyphonicKeyPressureMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiPolyphonicKeyPressureMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiPolyphonicKeyPressureMessage {} -impl ::core::fmt::Debug for MidiPolyphonicKeyPressureMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiPolyphonicKeyPressureMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiPolyphonicKeyPressureMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiPolyphonicKeyPressureMessage;{1f7337fe-ace8-48a0-868e-7cdbf20f04d6})"); } -impl ::core::clone::Clone for MidiPolyphonicKeyPressureMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiPolyphonicKeyPressureMessage { type Vtable = IMidiPolyphonicKeyPressureMessage_Vtbl; } @@ -1636,6 +1333,7 @@ unsafe impl ::core::marker::Send for MidiPolyphonicKeyPressureMessage {} unsafe impl ::core::marker::Sync for MidiPolyphonicKeyPressureMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiProgramChangeMessage(::windows_core::IUnknown); impl MidiProgramChangeMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1689,25 +1387,9 @@ impl MidiProgramChangeMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiProgramChangeMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiProgramChangeMessage {} -impl ::core::fmt::Debug for MidiProgramChangeMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiProgramChangeMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiProgramChangeMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiProgramChangeMessage;{9cbb3c78-7a3e-4327-aa98-20b8e4485af8})"); } -impl ::core::clone::Clone for MidiProgramChangeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiProgramChangeMessage { type Vtable = IMidiProgramChangeMessage_Vtbl; } @@ -1723,6 +1405,7 @@ unsafe impl ::core::marker::Send for MidiProgramChangeMessage {} unsafe impl ::core::marker::Sync for MidiProgramChangeMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiSongPositionPointerMessage(::windows_core::IUnknown); impl MidiSongPositionPointerMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1769,25 +1452,9 @@ impl MidiSongPositionPointerMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiSongPositionPointerMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiSongPositionPointerMessage {} -impl ::core::fmt::Debug for MidiSongPositionPointerMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiSongPositionPointerMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiSongPositionPointerMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongPositionPointerMessage;{4ca50c56-ec5e-4ae4-a115-88dc57cc2b79})"); } -impl ::core::clone::Clone for MidiSongPositionPointerMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiSongPositionPointerMessage { type Vtable = IMidiSongPositionPointerMessage_Vtbl; } @@ -1803,6 +1470,7 @@ unsafe impl ::core::marker::Send for MidiSongPositionPointerMessage {} unsafe impl ::core::marker::Sync for MidiSongPositionPointerMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiSongSelectMessage(::windows_core::IUnknown); impl MidiSongSelectMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1849,25 +1517,9 @@ impl MidiSongSelectMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiSongSelectMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiSongSelectMessage {} -impl ::core::fmt::Debug for MidiSongSelectMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiSongSelectMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiSongSelectMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSongSelectMessage;{49f0f27f-6d83-4741-a5bf-4629f6be974f})"); } -impl ::core::clone::Clone for MidiSongSelectMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiSongSelectMessage { type Vtable = IMidiSongSelectMessage_Vtbl; } @@ -1883,6 +1535,7 @@ unsafe impl ::core::marker::Send for MidiSongSelectMessage {} unsafe impl ::core::marker::Sync for MidiSongSelectMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiStartMessage(::windows_core::IUnknown); impl MidiStartMessage { pub fn new() -> ::windows_core::Result { @@ -1918,25 +1571,9 @@ impl MidiStartMessage { } } } -impl ::core::cmp::PartialEq for MidiStartMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiStartMessage {} -impl ::core::fmt::Debug for MidiStartMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiStartMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiStartMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStartMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiStartMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiStartMessage { type Vtable = IMidiMessage_Vtbl; } @@ -1952,6 +1589,7 @@ unsafe impl ::core::marker::Send for MidiStartMessage {} unsafe impl ::core::marker::Sync for MidiStartMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiStopMessage(::windows_core::IUnknown); impl MidiStopMessage { pub fn new() -> ::windows_core::Result { @@ -1987,25 +1625,9 @@ impl MidiStopMessage { } } } -impl ::core::cmp::PartialEq for MidiStopMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiStopMessage {} -impl ::core::fmt::Debug for MidiStopMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiStopMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiStopMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiStopMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiStopMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiStopMessage { type Vtable = IMidiMessage_Vtbl; } @@ -2021,6 +1643,7 @@ unsafe impl ::core::marker::Send for MidiStopMessage {} unsafe impl ::core::marker::Sync for MidiStopMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiSynthesizer(::windows_core::IUnknown); impl MidiSynthesizer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2108,25 +1731,9 @@ impl MidiSynthesizer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiSynthesizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiSynthesizer {} -impl ::core::fmt::Debug for MidiSynthesizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiSynthesizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiSynthesizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSynthesizer;{f0da155e-db90-405f-b8ae-21d2e17f2e45})"); } -impl ::core::clone::Clone for MidiSynthesizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiSynthesizer { type Vtable = IMidiSynthesizer_Vtbl; } @@ -2144,6 +1751,7 @@ unsafe impl ::core::marker::Send for MidiSynthesizer {} unsafe impl ::core::marker::Sync for MidiSynthesizer {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiSystemExclusiveMessage(::windows_core::IUnknown); impl MidiSystemExclusiveMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2188,25 +1796,9 @@ impl MidiSystemExclusiveMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiSystemExclusiveMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiSystemExclusiveMessage {} -impl ::core::fmt::Debug for MidiSystemExclusiveMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiSystemExclusiveMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiSystemExclusiveMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemExclusiveMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiSystemExclusiveMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiSystemExclusiveMessage { type Vtable = IMidiMessage_Vtbl; } @@ -2222,6 +1814,7 @@ unsafe impl ::core::marker::Send for MidiSystemExclusiveMessage {} unsafe impl ::core::marker::Sync for MidiSystemExclusiveMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiSystemResetMessage(::windows_core::IUnknown); impl MidiSystemResetMessage { pub fn new() -> ::windows_core::Result { @@ -2257,25 +1850,9 @@ impl MidiSystemResetMessage { } } } -impl ::core::cmp::PartialEq for MidiSystemResetMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiSystemResetMessage {} -impl ::core::fmt::Debug for MidiSystemResetMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiSystemResetMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiSystemResetMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiSystemResetMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiSystemResetMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiSystemResetMessage { type Vtable = IMidiMessage_Vtbl; } @@ -2291,6 +1868,7 @@ unsafe impl ::core::marker::Send for MidiSystemResetMessage {} unsafe impl ::core::marker::Sync for MidiSystemResetMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiTimeCodeMessage(::windows_core::IUnknown); impl MidiTimeCodeMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2344,25 +1922,9 @@ impl MidiTimeCodeMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MidiTimeCodeMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiTimeCodeMessage {} -impl ::core::fmt::Debug for MidiTimeCodeMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiTimeCodeMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiTimeCodeMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimeCodeMessage;{0bf7087d-fa63-4a1c-8deb-c0e87796a6d7})"); } -impl ::core::clone::Clone for MidiTimeCodeMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiTimeCodeMessage { type Vtable = IMidiTimeCodeMessage_Vtbl; } @@ -2378,6 +1940,7 @@ unsafe impl ::core::marker::Send for MidiTimeCodeMessage {} unsafe impl ::core::marker::Sync for MidiTimeCodeMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiTimingClockMessage(::windows_core::IUnknown); impl MidiTimingClockMessage { pub fn new() -> ::windows_core::Result { @@ -2413,25 +1976,9 @@ impl MidiTimingClockMessage { } } } -impl ::core::cmp::PartialEq for MidiTimingClockMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiTimingClockMessage {} -impl ::core::fmt::Debug for MidiTimingClockMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiTimingClockMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiTimingClockMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTimingClockMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiTimingClockMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiTimingClockMessage { type Vtable = IMidiMessage_Vtbl; } @@ -2447,6 +1994,7 @@ unsafe impl ::core::marker::Send for MidiTimingClockMessage {} unsafe impl ::core::marker::Sync for MidiTimingClockMessage {} #[doc = "*Required features: `\"Devices_Midi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MidiTuneRequestMessage(::windows_core::IUnknown); impl MidiTuneRequestMessage { pub fn new() -> ::windows_core::Result { @@ -2482,25 +2030,9 @@ impl MidiTuneRequestMessage { } } } -impl ::core::cmp::PartialEq for MidiTuneRequestMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MidiTuneRequestMessage {} -impl ::core::fmt::Debug for MidiTuneRequestMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MidiTuneRequestMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MidiTuneRequestMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Midi.MidiTuneRequestMessage;{79767945-1094-4283-9be0-289fc0ee8334})"); } -impl ::core::clone::Clone for MidiTuneRequestMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MidiTuneRequestMessage { type Vtable = IMidiMessage_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs index 1b3cd7f910..c4dc596493 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerDisableScannerRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerDisableScannerRequest { type Vtable = IBarcodeScannerDisableScannerRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerDisableScannerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerDisableScannerRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88ecf7c0_37b9_4275_8e77_c8e52ae5a9c8); } @@ -27,15 +23,11 @@ pub struct IBarcodeScannerDisableScannerRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerDisableScannerRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerDisableScannerRequest2 { type Vtable = IBarcodeScannerDisableScannerRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerDisableScannerRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerDisableScannerRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccdfe625_65c3_4ccc_b457_f39c7a9ea60d); } @@ -54,15 +46,11 @@ pub struct IBarcodeScannerDisableScannerRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerDisableScannerRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerDisableScannerRequestEventArgs { type Vtable = IBarcodeScannerDisableScannerRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerDisableScannerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerDisableScannerRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7006e142_e802_46f5_b604_352a15ce9232); } @@ -78,15 +66,11 @@ pub struct IBarcodeScannerDisableScannerRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerEnableScannerRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerEnableScannerRequest { type Vtable = IBarcodeScannerEnableScannerRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerEnableScannerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerEnableScannerRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0b3e9ba_816a_452b_bd77_b7e453ec446d); } @@ -105,15 +89,11 @@ pub struct IBarcodeScannerEnableScannerRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerEnableScannerRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerEnableScannerRequest2 { type Vtable = IBarcodeScannerEnableScannerRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerEnableScannerRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerEnableScannerRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71a4f2a8_9905_41ac_9121_b645916a84a1); } @@ -132,15 +112,11 @@ pub struct IBarcodeScannerEnableScannerRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerEnableScannerRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerEnableScannerRequestEventArgs { type Vtable = IBarcodeScannerEnableScannerRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerEnableScannerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerEnableScannerRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x956c9419_7b4e_4451_8c41_8e10cfbc5b41); } @@ -156,15 +132,11 @@ pub struct IBarcodeScannerEnableScannerRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerFrameReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerFrameReader { type Vtable = IBarcodeScannerFrameReader_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerFrameReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbc72b07_64c3_482b_93c8_65fb33c22208); } @@ -196,15 +168,11 @@ pub struct IBarcodeScannerFrameReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerFrameReaderFrameArrivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerFrameReaderFrameArrivedEventArgs { type Vtable = IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerFrameReaderFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerFrameReaderFrameArrivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0bbd604_54fd_436d_8629_712e787223dd); } @@ -219,15 +187,11 @@ pub struct IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerGetSymbologyAttributesRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerGetSymbologyAttributesRequest { type Vtable = IBarcodeScannerGetSymbologyAttributesRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerGetSymbologyAttributesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerGetSymbologyAttributesRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9774c46a_58e4_4c5f_b8e9_e41467632700); } @@ -247,15 +211,11 @@ pub struct IBarcodeScannerGetSymbologyAttributesRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerGetSymbologyAttributesRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerGetSymbologyAttributesRequest2 { type Vtable = IBarcodeScannerGetSymbologyAttributesRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerGetSymbologyAttributesRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerGetSymbologyAttributesRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a6a2b13_75a8_49fb_b852_bfb93d760af7); } @@ -274,15 +234,11 @@ pub struct IBarcodeScannerGetSymbologyAttributesRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerGetSymbologyAttributesRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerGetSymbologyAttributesRequestEventArgs { type Vtable = IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerGetSymbologyAttributesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerGetSymbologyAttributesRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f89de3e_fb5d_493c_b402_356b24d574a6); } @@ -298,15 +254,11 @@ pub struct IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerHideVideoPreviewRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerHideVideoPreviewRequest { type Vtable = IBarcodeScannerHideVideoPreviewRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerHideVideoPreviewRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerHideVideoPreviewRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa4ebe7f_6670_40e1_b90b_bb10d8d425fa); } @@ -325,15 +277,11 @@ pub struct IBarcodeScannerHideVideoPreviewRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerHideVideoPreviewRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerHideVideoPreviewRequest2 { type Vtable = IBarcodeScannerHideVideoPreviewRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerHideVideoPreviewRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerHideVideoPreviewRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e28435d_9814_431d_a2f2_d6248c5ad4b5); } @@ -352,15 +300,11 @@ pub struct IBarcodeScannerHideVideoPreviewRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerHideVideoPreviewRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerHideVideoPreviewRequestEventArgs { type Vtable = IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerHideVideoPreviewRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerHideVideoPreviewRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16a281fc_d6be_4bc7_9df1_33741f3eadea); } @@ -376,15 +320,11 @@ pub struct IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerProviderConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerProviderConnection { type Vtable = IBarcodeScannerProviderConnection_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerProviderConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb44acbed_0b3a_4fa3_86c5_491ea30780eb); } @@ -488,15 +428,11 @@ pub struct IBarcodeScannerProviderConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerProviderConnection2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerProviderConnection2 { type Vtable = IBarcodeScannerProviderConnection2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerProviderConnection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerProviderConnection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe9b53cd_1134_418c_a06b_04423a73f3d7); } @@ -519,15 +455,11 @@ pub struct IBarcodeScannerProviderConnection2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerProviderTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerProviderTriggerDetails { type Vtable = IBarcodeScannerProviderTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerProviderTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50856d82_24e3_48ce_99c7_70aac1cbc9f7); } @@ -539,15 +471,11 @@ pub struct IBarcodeScannerProviderTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetActiveSymbologiesRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetActiveSymbologiesRequest { type Vtable = IBarcodeScannerSetActiveSymbologiesRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetActiveSymbologiesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetActiveSymbologiesRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb3f32b9_f7da_41a1_9f79_07bcd95f0bdf); } @@ -570,15 +498,11 @@ pub struct IBarcodeScannerSetActiveSymbologiesRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetActiveSymbologiesRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetActiveSymbologiesRequest2 { type Vtable = IBarcodeScannerSetActiveSymbologiesRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetActiveSymbologiesRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetActiveSymbologiesRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5ff6edf_fa9a_4749_b11b_e8fccb75bc6b); } @@ -597,15 +521,11 @@ pub struct IBarcodeScannerSetActiveSymbologiesRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetActiveSymbologiesRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetActiveSymbologiesRequestEventArgs { type Vtable = IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetActiveSymbologiesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetActiveSymbologiesRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06305afa_7bf6_4d52_801a_330272f60ae1); } @@ -621,15 +541,11 @@ pub struct IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetSymbologyAttributesRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetSymbologyAttributesRequest { type Vtable = IBarcodeScannerSetSymbologyAttributesRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetSymbologyAttributesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetSymbologyAttributesRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32fb814f_a37f_48b0_acea_dce1480f12ae); } @@ -650,15 +566,11 @@ pub struct IBarcodeScannerSetSymbologyAttributesRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetSymbologyAttributesRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetSymbologyAttributesRequest2 { type Vtable = IBarcodeScannerSetSymbologyAttributesRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetSymbologyAttributesRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetSymbologyAttributesRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdffbbfc1_dba8_4b77_be1e_b56cd72f65b3); } @@ -677,15 +589,11 @@ pub struct IBarcodeScannerSetSymbologyAttributesRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerSetSymbologyAttributesRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerSetSymbologyAttributesRequestEventArgs { type Vtable = IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerSetSymbologyAttributesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerSetSymbologyAttributesRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2b89809_9824_47d4_85bd_d0077baa7bd2); } @@ -701,15 +609,11 @@ pub struct IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStartSoftwareTriggerRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStartSoftwareTriggerRequest { type Vtable = IBarcodeScannerStartSoftwareTriggerRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStartSoftwareTriggerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStartSoftwareTriggerRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3fa7b27_ff62_4454_af4a_cb6144a3e3f7); } @@ -728,15 +632,11 @@ pub struct IBarcodeScannerStartSoftwareTriggerRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStartSoftwareTriggerRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStartSoftwareTriggerRequest2 { type Vtable = IBarcodeScannerStartSoftwareTriggerRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStartSoftwareTriggerRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStartSoftwareTriggerRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb72a25c_6658_4765_a68e_327482653deb); } @@ -755,15 +655,11 @@ pub struct IBarcodeScannerStartSoftwareTriggerRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStartSoftwareTriggerRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStartSoftwareTriggerRequestEventArgs { type Vtable = IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStartSoftwareTriggerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStartSoftwareTriggerRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2305d843_c88f_4f3b_8c3b_d3df071051ec); } @@ -779,15 +675,11 @@ pub struct IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStopSoftwareTriggerRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStopSoftwareTriggerRequest { type Vtable = IBarcodeScannerStopSoftwareTriggerRequest_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStopSoftwareTriggerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStopSoftwareTriggerRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f9faf35_e287_4ca8_b70d_5a91d694f668); } @@ -806,15 +698,11 @@ pub struct IBarcodeScannerStopSoftwareTriggerRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStopSoftwareTriggerRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStopSoftwareTriggerRequest2 { type Vtable = IBarcodeScannerStopSoftwareTriggerRequest2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStopSoftwareTriggerRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStopSoftwareTriggerRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb57c5dd_fe50_49f8_a0b4_bdc230814da2); } @@ -833,15 +721,11 @@ pub struct IBarcodeScannerStopSoftwareTriggerRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStopSoftwareTriggerRequestEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStopSoftwareTriggerRequestEventArgs { type Vtable = IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStopSoftwareTriggerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStopSoftwareTriggerRequestEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeac34450_4eb7_481a_9273_147a273b99b8); } @@ -857,15 +741,11 @@ pub struct IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerVideoFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerVideoFrame { type Vtable = IBarcodeScannerVideoFrame_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerVideoFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e585248_9df7_4121_a175_801d8000112e); } @@ -886,15 +766,11 @@ pub struct IBarcodeScannerVideoFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeSymbologyAttributesBuilder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeSymbologyAttributesBuilder { type Vtable = IBarcodeSymbologyAttributesBuilder_Vtbl; } -impl ::core::clone::Clone for IBarcodeSymbologyAttributesBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeSymbologyAttributesBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc57b0cbf_e4f5_40b9_84cf_e63fbaea42b4); } @@ -912,6 +788,7 @@ pub struct IBarcodeSymbologyAttributesBuilder_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerDisableScannerRequest(::windows_core::IUnknown); impl BarcodeScannerDisableScannerRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -951,25 +828,9 @@ impl BarcodeScannerDisableScannerRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerDisableScannerRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerDisableScannerRequest {} -impl ::core::fmt::Debug for BarcodeScannerDisableScannerRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerDisableScannerRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerDisableScannerRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequest;{88ecf7c0-37b9-4275-8e77-c8e52ae5a9c8})"); } -impl ::core::clone::Clone for BarcodeScannerDisableScannerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerDisableScannerRequest { type Vtable = IBarcodeScannerDisableScannerRequest_Vtbl; } @@ -984,6 +845,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerDisableScannerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerDisableScannerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerDisableScannerRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerDisableScannerRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1003,25 +865,9 @@ impl BarcodeScannerDisableScannerRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerDisableScannerRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerDisableScannerRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerDisableScannerRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerDisableScannerRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerDisableScannerRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerDisableScannerRequestEventArgs;{7006e142-e802-46f5-b604-352a15ce9232})"); } -impl ::core::clone::Clone for BarcodeScannerDisableScannerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerDisableScannerRequestEventArgs { type Vtable = IBarcodeScannerDisableScannerRequestEventArgs_Vtbl; } @@ -1036,6 +882,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerDisableScannerRequestEventArg unsafe impl ::core::marker::Sync for BarcodeScannerDisableScannerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerEnableScannerRequest(::windows_core::IUnknown); impl BarcodeScannerEnableScannerRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1075,25 +922,9 @@ impl BarcodeScannerEnableScannerRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerEnableScannerRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerEnableScannerRequest {} -impl ::core::fmt::Debug for BarcodeScannerEnableScannerRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerEnableScannerRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerEnableScannerRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequest;{c0b3e9ba-816a-452b-bd77-b7e453ec446d})"); } -impl ::core::clone::Clone for BarcodeScannerEnableScannerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerEnableScannerRequest { type Vtable = IBarcodeScannerEnableScannerRequest_Vtbl; } @@ -1108,6 +939,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerEnableScannerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerEnableScannerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerEnableScannerRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerEnableScannerRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1127,25 +959,9 @@ impl BarcodeScannerEnableScannerRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerEnableScannerRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerEnableScannerRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerEnableScannerRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerEnableScannerRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerEnableScannerRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerEnableScannerRequestEventArgs;{956c9419-7b4e-4451-8c41-8e10cfbc5b41})"); } -impl ::core::clone::Clone for BarcodeScannerEnableScannerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerEnableScannerRequestEventArgs { type Vtable = IBarcodeScannerEnableScannerRequestEventArgs_Vtbl; } @@ -1160,6 +976,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerEnableScannerRequestEventArgs unsafe impl ::core::marker::Sync for BarcodeScannerEnableScannerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerFrameReader(::windows_core::IUnknown); impl BarcodeScannerFrameReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1221,25 +1038,9 @@ impl BarcodeScannerFrameReader { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BarcodeScannerFrameReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerFrameReader {} -impl ::core::fmt::Debug for BarcodeScannerFrameReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerFrameReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerFrameReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReader;{dbc72b07-64c3-482b-93c8-65fb33c22208})"); } -impl ::core::clone::Clone for BarcodeScannerFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerFrameReader { type Vtable = IBarcodeScannerFrameReader_Vtbl; } @@ -1256,6 +1057,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerFrameReader {} unsafe impl ::core::marker::Sync for BarcodeScannerFrameReader {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerFrameReaderFrameArrivedEventArgs(::windows_core::IUnknown); impl BarcodeScannerFrameReaderFrameArrivedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1268,25 +1070,9 @@ impl BarcodeScannerFrameReaderFrameArrivedEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerFrameReaderFrameArrivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerFrameReaderFrameArrivedEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerFrameReaderFrameArrivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerFrameReaderFrameArrivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerFrameReaderFrameArrivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerFrameReaderFrameArrivedEventArgs;{b0bbd604-54fd-436d-8629-712e787223dd})"); } -impl ::core::clone::Clone for BarcodeScannerFrameReaderFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerFrameReaderFrameArrivedEventArgs { type Vtable = IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl; } @@ -1301,6 +1087,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerFrameReaderFrameArrivedEventA unsafe impl ::core::marker::Sync for BarcodeScannerFrameReaderFrameArrivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerGetSymbologyAttributesRequest(::windows_core::IUnknown); impl BarcodeScannerGetSymbologyAttributesRequest { pub fn Symbology(&self) -> ::windows_core::Result { @@ -1350,25 +1137,9 @@ impl BarcodeScannerGetSymbologyAttributesRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerGetSymbologyAttributesRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerGetSymbologyAttributesRequest {} -impl ::core::fmt::Debug for BarcodeScannerGetSymbologyAttributesRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerGetSymbologyAttributesRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerGetSymbologyAttributesRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequest;{9774c46a-58e4-4c5f-b8e9-e41467632700})"); } -impl ::core::clone::Clone for BarcodeScannerGetSymbologyAttributesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerGetSymbologyAttributesRequest { type Vtable = IBarcodeScannerGetSymbologyAttributesRequest_Vtbl; } @@ -1383,6 +1154,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerGetSymbologyAttributesRequest unsafe impl ::core::marker::Sync for BarcodeScannerGetSymbologyAttributesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerGetSymbologyAttributesRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerGetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1402,25 +1174,9 @@ impl BarcodeScannerGetSymbologyAttributesRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerGetSymbologyAttributesRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerGetSymbologyAttributesRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerGetSymbologyAttributesRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerGetSymbologyAttributesRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerGetSymbologyAttributesRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerGetSymbologyAttributesRequestEventArgs;{7f89de3e-fb5d-493c-b402-356b24d574a6})"); } -impl ::core::clone::Clone for BarcodeScannerGetSymbologyAttributesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerGetSymbologyAttributesRequestEventArgs { type Vtable = IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl; } @@ -1435,6 +1191,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerGetSymbologyAttributesRequest unsafe impl ::core::marker::Sync for BarcodeScannerGetSymbologyAttributesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerHideVideoPreviewRequest(::windows_core::IUnknown); impl BarcodeScannerHideVideoPreviewRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1474,25 +1231,9 @@ impl BarcodeScannerHideVideoPreviewRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerHideVideoPreviewRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerHideVideoPreviewRequest {} -impl ::core::fmt::Debug for BarcodeScannerHideVideoPreviewRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerHideVideoPreviewRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerHideVideoPreviewRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequest;{fa4ebe7f-6670-40e1-b90b-bb10d8d425fa})"); } -impl ::core::clone::Clone for BarcodeScannerHideVideoPreviewRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerHideVideoPreviewRequest { type Vtable = IBarcodeScannerHideVideoPreviewRequest_Vtbl; } @@ -1507,6 +1248,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerHideVideoPreviewRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerHideVideoPreviewRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerHideVideoPreviewRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerHideVideoPreviewRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1526,25 +1268,9 @@ impl BarcodeScannerHideVideoPreviewRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerHideVideoPreviewRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerHideVideoPreviewRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerHideVideoPreviewRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerHideVideoPreviewRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerHideVideoPreviewRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerHideVideoPreviewRequestEventArgs;{16a281fc-d6be-4bc7-9df1-33741f3eadea})"); } -impl ::core::clone::Clone for BarcodeScannerHideVideoPreviewRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerHideVideoPreviewRequestEventArgs { type Vtable = IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl; } @@ -1559,6 +1285,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerHideVideoPreviewRequestEventA unsafe impl ::core::marker::Sync for BarcodeScannerHideVideoPreviewRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerProviderConnection(::windows_core::IUnknown); impl BarcodeScannerProviderConnection { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1845,25 +1572,9 @@ impl BarcodeScannerProviderConnection { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BarcodeScannerProviderConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerProviderConnection {} -impl ::core::fmt::Debug for BarcodeScannerProviderConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerProviderConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerProviderConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderConnection;{b44acbed-0b3a-4fa3-86c5-491ea30780eb})"); } -impl ::core::clone::Clone for BarcodeScannerProviderConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerProviderConnection { type Vtable = IBarcodeScannerProviderConnection_Vtbl; } @@ -1880,6 +1591,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerProviderConnection {} unsafe impl ::core::marker::Sync for BarcodeScannerProviderConnection {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerProviderTriggerDetails(::windows_core::IUnknown); impl BarcodeScannerProviderTriggerDetails { pub fn Connection(&self) -> ::windows_core::Result { @@ -1890,25 +1602,9 @@ impl BarcodeScannerProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for BarcodeScannerProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerProviderTriggerDetails {} -impl ::core::fmt::Debug for BarcodeScannerProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerProviderTriggerDetails;{50856d82-24e3-48ce-99c7-70aac1cbc9f7})"); } -impl ::core::clone::Clone for BarcodeScannerProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerProviderTriggerDetails { type Vtable = IBarcodeScannerProviderTriggerDetails_Vtbl; } @@ -1923,6 +1619,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerProviderTriggerDetails {} unsafe impl ::core::marker::Sync for BarcodeScannerProviderTriggerDetails {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerSetActiveSymbologiesRequest(::windows_core::IUnknown); impl BarcodeScannerSetActiveSymbologiesRequest { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1971,25 +1668,9 @@ impl BarcodeScannerSetActiveSymbologiesRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerSetActiveSymbologiesRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerSetActiveSymbologiesRequest {} -impl ::core::fmt::Debug for BarcodeScannerSetActiveSymbologiesRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerSetActiveSymbologiesRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerSetActiveSymbologiesRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequest;{db3f32b9-f7da-41a1-9f79-07bcd95f0bdf})"); } -impl ::core::clone::Clone for BarcodeScannerSetActiveSymbologiesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerSetActiveSymbologiesRequest { type Vtable = IBarcodeScannerSetActiveSymbologiesRequest_Vtbl; } @@ -2004,6 +1685,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerSetActiveSymbologiesRequest { unsafe impl ::core::marker::Sync for BarcodeScannerSetActiveSymbologiesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerSetActiveSymbologiesRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerSetActiveSymbologiesRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2023,25 +1705,9 @@ impl BarcodeScannerSetActiveSymbologiesRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerSetActiveSymbologiesRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerSetActiveSymbologiesRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerSetActiveSymbologiesRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerSetActiveSymbologiesRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerSetActiveSymbologiesRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetActiveSymbologiesRequestEventArgs;{06305afa-7bf6-4d52-801a-330272f60ae1})"); } -impl ::core::clone::Clone for BarcodeScannerSetActiveSymbologiesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerSetActiveSymbologiesRequestEventArgs { type Vtable = IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl; } @@ -2056,6 +1722,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerSetActiveSymbologiesRequestEv unsafe impl ::core::marker::Sync for BarcodeScannerSetActiveSymbologiesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerSetSymbologyAttributesRequest(::windows_core::IUnknown); impl BarcodeScannerSetSymbologyAttributesRequest { pub fn Symbology(&self) -> ::windows_core::Result { @@ -2109,25 +1776,9 @@ impl BarcodeScannerSetSymbologyAttributesRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerSetSymbologyAttributesRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerSetSymbologyAttributesRequest {} -impl ::core::fmt::Debug for BarcodeScannerSetSymbologyAttributesRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerSetSymbologyAttributesRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerSetSymbologyAttributesRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequest;{32fb814f-a37f-48b0-acea-dce1480f12ae})"); } -impl ::core::clone::Clone for BarcodeScannerSetSymbologyAttributesRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerSetSymbologyAttributesRequest { type Vtable = IBarcodeScannerSetSymbologyAttributesRequest_Vtbl; } @@ -2142,6 +1793,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerSetSymbologyAttributesRequest unsafe impl ::core::marker::Sync for BarcodeScannerSetSymbologyAttributesRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerSetSymbologyAttributesRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerSetSymbologyAttributesRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2161,25 +1813,9 @@ impl BarcodeScannerSetSymbologyAttributesRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerSetSymbologyAttributesRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerSetSymbologyAttributesRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerSetSymbologyAttributesRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerSetSymbologyAttributesRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerSetSymbologyAttributesRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerSetSymbologyAttributesRequestEventArgs;{b2b89809-9824-47d4-85bd-d0077baa7bd2})"); } -impl ::core::clone::Clone for BarcodeScannerSetSymbologyAttributesRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerSetSymbologyAttributesRequestEventArgs { type Vtable = IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl; } @@ -2194,6 +1830,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerSetSymbologyAttributesRequest unsafe impl ::core::marker::Sync for BarcodeScannerSetSymbologyAttributesRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerStartSoftwareTriggerRequest(::windows_core::IUnknown); impl BarcodeScannerStartSoftwareTriggerRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2233,25 +1870,9 @@ impl BarcodeScannerStartSoftwareTriggerRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerStartSoftwareTriggerRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerStartSoftwareTriggerRequest {} -impl ::core::fmt::Debug for BarcodeScannerStartSoftwareTriggerRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerStartSoftwareTriggerRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerStartSoftwareTriggerRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequest;{e3fa7b27-ff62-4454-af4a-cb6144a3e3f7})"); } -impl ::core::clone::Clone for BarcodeScannerStartSoftwareTriggerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerStartSoftwareTriggerRequest { type Vtable = IBarcodeScannerStartSoftwareTriggerRequest_Vtbl; } @@ -2266,6 +1887,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerStartSoftwareTriggerRequest { unsafe impl ::core::marker::Sync for BarcodeScannerStartSoftwareTriggerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerStartSoftwareTriggerRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerStartSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2285,25 +1907,9 @@ impl BarcodeScannerStartSoftwareTriggerRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerStartSoftwareTriggerRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerStartSoftwareTriggerRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerStartSoftwareTriggerRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerStartSoftwareTriggerRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerStartSoftwareTriggerRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStartSoftwareTriggerRequestEventArgs;{2305d843-c88f-4f3b-8c3b-d3df071051ec})"); } -impl ::core::clone::Clone for BarcodeScannerStartSoftwareTriggerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerStartSoftwareTriggerRequestEventArgs { type Vtable = IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl; } @@ -2318,6 +1924,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerStartSoftwareTriggerRequestEv unsafe impl ::core::marker::Sync for BarcodeScannerStartSoftwareTriggerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerStopSoftwareTriggerRequest(::windows_core::IUnknown); impl BarcodeScannerStopSoftwareTriggerRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2357,25 +1964,9 @@ impl BarcodeScannerStopSoftwareTriggerRequest { } } } -impl ::core::cmp::PartialEq for BarcodeScannerStopSoftwareTriggerRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerStopSoftwareTriggerRequest {} -impl ::core::fmt::Debug for BarcodeScannerStopSoftwareTriggerRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerStopSoftwareTriggerRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerStopSoftwareTriggerRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequest;{6f9faf35-e287-4ca8-b70d-5a91d694f668})"); } -impl ::core::clone::Clone for BarcodeScannerStopSoftwareTriggerRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerStopSoftwareTriggerRequest { type Vtable = IBarcodeScannerStopSoftwareTriggerRequest_Vtbl; } @@ -2390,6 +1981,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerStopSoftwareTriggerRequest {} unsafe impl ::core::marker::Sync for BarcodeScannerStopSoftwareTriggerRequest {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerStopSoftwareTriggerRequestEventArgs(::windows_core::IUnknown); impl BarcodeScannerStopSoftwareTriggerRequestEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -2409,25 +2001,9 @@ impl BarcodeScannerStopSoftwareTriggerRequestEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerStopSoftwareTriggerRequestEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerStopSoftwareTriggerRequestEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerStopSoftwareTriggerRequestEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerStopSoftwareTriggerRequestEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerStopSoftwareTriggerRequestEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerStopSoftwareTriggerRequestEventArgs;{eac34450-4eb7-481a-9273-147a273b99b8})"); } -impl ::core::clone::Clone for BarcodeScannerStopSoftwareTriggerRequestEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerStopSoftwareTriggerRequestEventArgs { type Vtable = IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl; } @@ -2442,6 +2018,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerStopSoftwareTriggerRequestEve unsafe impl ::core::marker::Sync for BarcodeScannerStopSoftwareTriggerRequestEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerVideoFrame(::windows_core::IUnknown); impl BarcodeScannerVideoFrame { #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -2483,25 +2060,9 @@ impl BarcodeScannerVideoFrame { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BarcodeScannerVideoFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerVideoFrame {} -impl ::core::fmt::Debug for BarcodeScannerVideoFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerVideoFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerVideoFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeScannerVideoFrame;{7e585248-9df7-4121-a175-801d8000112e})"); } -impl ::core::clone::Clone for BarcodeScannerVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerVideoFrame { type Vtable = IBarcodeScannerVideoFrame_Vtbl; } @@ -2518,6 +2079,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerVideoFrame {} unsafe impl ::core::marker::Sync for BarcodeScannerVideoFrame {} #[doc = "*Required features: `\"Devices_PointOfService_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeSymbologyAttributesBuilder(::windows_core::IUnknown); impl BarcodeSymbologyAttributesBuilder { pub fn new() -> ::windows_core::Result { @@ -2568,25 +2130,9 @@ impl BarcodeSymbologyAttributesBuilder { } } } -impl ::core::cmp::PartialEq for BarcodeSymbologyAttributesBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeSymbologyAttributesBuilder {} -impl ::core::fmt::Debug for BarcodeSymbologyAttributesBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeSymbologyAttributesBuilder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeSymbologyAttributesBuilder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.Provider.BarcodeSymbologyAttributesBuilder;{c57b0cbf-e4f5-40b9-84cf-e63fbaea42b4})"); } -impl ::core::clone::Clone for BarcodeSymbologyAttributesBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeSymbologyAttributesBuilder { type Vtable = IBarcodeSymbologyAttributesBuilder_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs index 8b0c1935bb..f58cb8e2fa 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs @@ -24,8 +24,8 @@ impl ICashDrawerEventSourceEventArgs_Vtbl { CashDrawer: CashDrawer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl ICommonClaimedPosPrinterStation_Vtbl { ValidateData: ValidateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl ICommonPosPrintStationCapabilities_Vtbl { SupportedCharactersPerLine: SupportedCharactersPerLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl ICommonReceiptSlipCapabilities_Vtbl { SupportedBitmapRotations: SupportedBitmapRotations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl IPosPrinterJob_Vtbl { ExecuteAsync: ExecuteAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation\"`, `\"Graphics_Imaging\"`, `\"implement\"`*"] @@ -762,7 +762,7 @@ impl IReceiptOrSlipJob_Vtbl { PrintBitmapCustomWidthCustomAlign: PrintBitmapCustomWidthCustomAlign::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 5eeb9423f2..2da1d43b0e 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScanner(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScanner { type Vtable = IBarcodeScanner_Vtbl; } -impl ::core::clone::Clone for IBarcodeScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScanner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbea33e06_b264_4f03_a9c1_45b20f01134f); } @@ -56,15 +52,11 @@ pub struct IBarcodeScanner_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScanner2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScanner2 { type Vtable = IBarcodeScanner2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScanner2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScanner2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89215167_8cee_436d_89ab_8dfb43bb4286); } @@ -76,15 +68,11 @@ pub struct IBarcodeScanner2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerCapabilities { type Vtable = IBarcodeScannerCapabilities_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc60691e4_f2c8_4420_a307_b12ef6622857); } @@ -99,15 +87,11 @@ pub struct IBarcodeScannerCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerCapabilities1(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerCapabilities1 { type Vtable = IBarcodeScannerCapabilities1_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerCapabilities1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerCapabilities1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e5ab3e9_0e2c_472f_a1cc_ee8054b6a684); } @@ -119,15 +103,11 @@ pub struct IBarcodeScannerCapabilities1_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerCapabilities2 { type Vtable = IBarcodeScannerCapabilities2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf211cfec_e1a1_4ea8_9abc_92b1596270ab); } @@ -139,15 +119,11 @@ pub struct IBarcodeScannerCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerDataReceivedEventArgs { type Vtable = IBarcodeScannerDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4234a7e2_ed97_467d_ad2b_01e44313a929); } @@ -159,15 +135,11 @@ pub struct IBarcodeScannerDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerErrorOccurredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerErrorOccurredEventArgs { type Vtable = IBarcodeScannerErrorOccurredEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerErrorOccurredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd2602f_cf3a_4002_a75a_c5ec468f0a20); } @@ -181,15 +153,11 @@ pub struct IBarcodeScannerErrorOccurredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerImagePreviewReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerImagePreviewReceivedEventArgs { type Vtable = IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerImagePreviewReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerImagePreviewReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3b7de85_6e8b_434e_9f58_06ef26bc4baf); } @@ -204,15 +172,11 @@ pub struct IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerReport { type Vtable = IBarcodeScannerReport_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ce4d8b0_a489_4b96_86c4_f0bf8a37753d); } @@ -232,15 +196,11 @@ pub struct IBarcodeScannerReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerReportFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerReportFactory { type Vtable = IBarcodeScannerReportFactory_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerReportFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerReportFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2547326_2013_457c_8963_49c15dca78ce); } @@ -255,15 +215,11 @@ pub struct IBarcodeScannerReportFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStatics { type Vtable = IBarcodeScannerStatics_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d115f6f_da49_41e8_8c8c_f0cb62a9c4fc); } @@ -283,15 +239,11 @@ pub struct IBarcodeScannerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStatics2 { type Vtable = IBarcodeScannerStatics2_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8652473_a36f_4007_b1d0_279ebe92a656); } @@ -303,15 +255,11 @@ pub struct IBarcodeScannerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeScannerStatusUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeScannerStatusUpdatedEventArgs { type Vtable = IBarcodeScannerStatusUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarcodeScannerStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeScannerStatusUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x355d8586_9c43_462b_a91a_816dc97f452c); } @@ -324,15 +272,11 @@ pub struct IBarcodeScannerStatusUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeSymbologiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeSymbologiesStatics { type Vtable = IBarcodeSymbologiesStatics_Vtbl; } -impl ::core::clone::Clone for IBarcodeSymbologiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeSymbologiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca8549bb_06d2_43f4_a44b_c620679fd8d0); } @@ -437,15 +381,11 @@ pub struct IBarcodeSymbologiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeSymbologiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeSymbologiesStatics2 { type Vtable = IBarcodeSymbologiesStatics2_Vtbl; } -impl ::core::clone::Clone for IBarcodeSymbologiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeSymbologiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b7518f4_99d0_40bf_9424_b91d6dd4c6e0); } @@ -457,15 +397,11 @@ pub struct IBarcodeSymbologiesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarcodeSymbologyAttributes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarcodeSymbologyAttributes { type Vtable = IBarcodeSymbologyAttributes_Vtbl; } -impl ::core::clone::Clone for IBarcodeSymbologyAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarcodeSymbologyAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66413a78_ab7a_4ada_8ece_936014b2ead7); } @@ -489,15 +425,11 @@ pub struct IBarcodeSymbologyAttributes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawer { type Vtable = ICashDrawer_Vtbl; } -impl ::core::clone::Clone for ICashDrawer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f88f5c8_de54_4aee_a890_920bcbfe30fc); } @@ -533,15 +465,11 @@ pub struct ICashDrawer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerCapabilities { type Vtable = ICashDrawerCapabilities_Vtbl; } -impl ::core::clone::Clone for ICashDrawerCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bc6de0b_e8e7_4b1f_b1d1_3e501ad08247); } @@ -558,15 +486,11 @@ pub struct ICashDrawerCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerCloseAlarm(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerCloseAlarm { type Vtable = ICashDrawerCloseAlarm_Vtbl; } -impl ::core::clone::Clone for ICashDrawerCloseAlarm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerCloseAlarm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf88cc7_6f63_430e_ab3b_95d75ffbe87f); } @@ -615,15 +539,11 @@ pub struct ICashDrawerCloseAlarm_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerEventSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerEventSource { type Vtable = ICashDrawerEventSource_Vtbl; } -impl ::core::clone::Clone for ICashDrawerEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerEventSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe006e46c_f2f9_442f_8dd6_06c10a4227ba); } @@ -650,6 +570,7 @@ pub struct ICashDrawerEventSource_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerEventSourceEventArgs(::windows_core::IUnknown); impl ICashDrawerEventSourceEventArgs { pub fn CashDrawer(&self) -> ::windows_core::Result { @@ -661,28 +582,12 @@ impl ICashDrawerEventSourceEventArgs { } } ::windows_core::imp::interface_hierarchy!(ICashDrawerEventSourceEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICashDrawerEventSourceEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICashDrawerEventSourceEventArgs {} -impl ::core::fmt::Debug for ICashDrawerEventSourceEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICashDrawerEventSourceEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICashDrawerEventSourceEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{69cb3bc1-147f-421c-9c23-090123bb786c}"); } unsafe impl ::windows_core::Interface for ICashDrawerEventSourceEventArgs { type Vtable = ICashDrawerEventSourceEventArgs_Vtbl; } -impl ::core::clone::Clone for ICashDrawerEventSourceEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerEventSourceEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69cb3bc1_147f_421c_9c23_090123bb786c); } @@ -694,15 +599,11 @@ pub struct ICashDrawerEventSourceEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerStatics { type Vtable = ICashDrawerStatics_Vtbl; } -impl ::core::clone::Clone for ICashDrawerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfa0955a_d437_4fff_b547_dda969a4f883); } @@ -722,15 +623,11 @@ pub struct ICashDrawerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerStatics2 { type Vtable = ICashDrawerStatics2_Vtbl; } -impl ::core::clone::Clone for ICashDrawerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e818121_8c42_40e8_9c0e_40297048104c); } @@ -742,15 +639,11 @@ pub struct ICashDrawerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerStatus { type Vtable = ICashDrawerStatus_Vtbl; } -impl ::core::clone::Clone for ICashDrawerStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bbd78bf_dca1_4e06_99eb_5af6a5aec108); } @@ -763,15 +656,11 @@ pub struct ICashDrawerStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICashDrawerStatusUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICashDrawerStatusUpdatedEventArgs { type Vtable = ICashDrawerStatusUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICashDrawerStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICashDrawerStatusUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30aae98a_0d70_459c_9553_87e124c52488); } @@ -783,15 +672,11 @@ pub struct ICashDrawerStatusUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScanner(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScanner { type Vtable = IClaimedBarcodeScanner_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScanner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a63b49c_8fa4_4332_bb26_945d11d81e0f); } @@ -881,15 +766,11 @@ pub struct IClaimedBarcodeScanner_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScanner1(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScanner1 { type Vtable = IClaimedBarcodeScanner1_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScanner1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScanner1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf61aad0c_8551_42b4_998c_970c20210a22); } @@ -908,15 +789,11 @@ pub struct IClaimedBarcodeScanner1_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScanner2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScanner2 { type Vtable = IClaimedBarcodeScanner2_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScanner2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScanner2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3b59e8c_2d8b_4f70_8af3_3448bedd5fe2); } @@ -935,15 +812,11 @@ pub struct IClaimedBarcodeScanner2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScanner3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScanner3 { type Vtable = IClaimedBarcodeScanner3_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScanner3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScanner3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6ceb430_712e_45fc_8b86_cd55f5aef79d); } @@ -961,15 +834,11 @@ pub struct IClaimedBarcodeScanner3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScanner4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScanner4 { type Vtable = IClaimedBarcodeScanner4_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScanner4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScanner4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d501f97_376a_41a8_a230_2f37c1949dde); } @@ -988,15 +857,11 @@ pub struct IClaimedBarcodeScanner4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedBarcodeScannerClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedBarcodeScannerClosedEventArgs { type Vtable = IClaimedBarcodeScannerClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClaimedBarcodeScannerClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedBarcodeScannerClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf7d5489_a22c_4c65_a901_88d77d833954); } @@ -1007,15 +872,11 @@ pub struct IClaimedBarcodeScannerClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedCashDrawer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedCashDrawer { type Vtable = IClaimedCashDrawer_Vtbl; } -impl ::core::clone::Clone for IClaimedCashDrawer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedCashDrawer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca3f99af_abb8_42c1_8a84_5c66512f5a75); } @@ -1062,15 +923,11 @@ pub struct IClaimedCashDrawer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedCashDrawer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedCashDrawer2 { type Vtable = IClaimedCashDrawer2_Vtbl; } -impl ::core::clone::Clone for IClaimedCashDrawer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedCashDrawer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cbab5a2_de42_4d5b_b0c1_9b57a2ba89c3); } @@ -1089,15 +946,11 @@ pub struct IClaimedCashDrawer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedCashDrawerClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedCashDrawerClosedEventArgs { type Vtable = IClaimedCashDrawerClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClaimedCashDrawerClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedCashDrawerClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc573f33_3f34_4c5c_baae_deadf16cd7fa); } @@ -1108,15 +961,11 @@ pub struct IClaimedCashDrawerClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedJournalPrinter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedJournalPrinter { type Vtable = IClaimedJournalPrinter_Vtbl; } -impl ::core::clone::Clone for IClaimedJournalPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedJournalPrinter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67ea0630_517d_487f_9fdf_d2e0a0a264a5); } @@ -1128,15 +977,11 @@ pub struct IClaimedJournalPrinter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedLineDisplay(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedLineDisplay { type Vtable = IClaimedLineDisplay_Vtbl; } -impl ::core::clone::Clone for IClaimedLineDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedLineDisplay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x120ac970_9a75_4acf_aae7_09972bcf8794); } @@ -1164,15 +1009,11 @@ pub struct IClaimedLineDisplay_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedLineDisplay2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedLineDisplay2 { type Vtable = IClaimedLineDisplay2_Vtbl; } -impl ::core::clone::Clone for IClaimedLineDisplay2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedLineDisplay2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa31c75ed_41f5_4e76_a074_795e47a46e97); } @@ -1245,15 +1086,11 @@ pub struct IClaimedLineDisplay2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedLineDisplay3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedLineDisplay3 { type Vtable = IClaimedLineDisplay3_Vtbl; } -impl ::core::clone::Clone for IClaimedLineDisplay3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedLineDisplay3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x642ecd92_e9d4_4ecc_af75_329c274cd18f); } @@ -1272,15 +1109,11 @@ pub struct IClaimedLineDisplay3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedLineDisplayClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedLineDisplayClosedEventArgs { type Vtable = IClaimedLineDisplayClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClaimedLineDisplayClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedLineDisplayClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf915f364_d3d5_4f10_b511_90939edfacd8); } @@ -1291,15 +1124,11 @@ pub struct IClaimedLineDisplayClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedLineDisplayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedLineDisplayStatics { type Vtable = IClaimedLineDisplayStatics_Vtbl; } -impl ::core::clone::Clone for IClaimedLineDisplayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedLineDisplayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78ca98fb_8b6b_4973_86f0_3e570c351825); } @@ -1316,15 +1145,11 @@ pub struct IClaimedLineDisplayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedMagneticStripeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedMagneticStripeReader { type Vtable = IClaimedMagneticStripeReader_Vtbl; } -impl ::core::clone::Clone for IClaimedMagneticStripeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedMagneticStripeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x475ca8f3_9417_48bc_b9d7_4163a7844c02); } @@ -1422,15 +1247,11 @@ pub struct IClaimedMagneticStripeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedMagneticStripeReader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedMagneticStripeReader2 { type Vtable = IClaimedMagneticStripeReader2_Vtbl; } -impl ::core::clone::Clone for IClaimedMagneticStripeReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedMagneticStripeReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x236fafdf_e2dc_4d7d_9c78_060df2bf2928); } @@ -1449,15 +1270,11 @@ pub struct IClaimedMagneticStripeReader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedMagneticStripeReaderClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedMagneticStripeReaderClosedEventArgs { type Vtable = IClaimedMagneticStripeReaderClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClaimedMagneticStripeReaderClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedMagneticStripeReaderClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14ada93a_adcd_4c80_acda_c3eaed2647e1); } @@ -1468,15 +1285,11 @@ pub struct IClaimedMagneticStripeReaderClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedPosPrinter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedPosPrinter { type Vtable = IClaimedPosPrinter_Vtbl; } -impl ::core::clone::Clone for IClaimedPosPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedPosPrinter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d64ce0c_e03e_4b14_a38e_c28c34b86353); } @@ -1527,15 +1340,11 @@ pub struct IClaimedPosPrinter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedPosPrinter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedPosPrinter2 { type Vtable = IClaimedPosPrinter2_Vtbl; } -impl ::core::clone::Clone for IClaimedPosPrinter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedPosPrinter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bf7a3d5_5198_437a_82df_589993fa77e1); } @@ -1554,15 +1363,11 @@ pub struct IClaimedPosPrinter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedPosPrinterClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedPosPrinterClosedEventArgs { type Vtable = IClaimedPosPrinterClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClaimedPosPrinterClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedPosPrinterClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2b7a27b_4d40_471d_92ed_63375b18c788); } @@ -1573,15 +1378,11 @@ pub struct IClaimedPosPrinterClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedReceiptPrinter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedReceiptPrinter { type Vtable = IClaimedReceiptPrinter_Vtbl; } -impl ::core::clone::Clone for IClaimedReceiptPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedReceiptPrinter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ad27a74_dd61_4ee2_9837_5b5d72d538b9); } @@ -1604,15 +1405,11 @@ pub struct IClaimedReceiptPrinter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClaimedSlipPrinter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClaimedSlipPrinter { type Vtable = IClaimedSlipPrinter_Vtbl; } -impl ::core::clone::Clone for IClaimedSlipPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClaimedSlipPrinter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd5deff2_af90_4e8a_b77b_e3ae9ca63a7f); } @@ -1648,6 +1445,7 @@ pub struct IClaimedSlipPrinter_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommonClaimedPosPrinterStation(::windows_core::IUnknown); impl ICommonClaimedPosPrinterStation { pub fn SetCharactersPerLine(&self, value: u32) -> ::windows_core::Result<()> { @@ -1770,28 +1568,12 @@ impl ICommonClaimedPosPrinterStation { } } ::windows_core::imp::interface_hierarchy!(ICommonClaimedPosPrinterStation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICommonClaimedPosPrinterStation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommonClaimedPosPrinterStation {} -impl ::core::fmt::Debug for ICommonClaimedPosPrinterStation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommonClaimedPosPrinterStation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICommonClaimedPosPrinterStation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b7eb66a8-fe8a-4cfb-8b42-e35b280cb27c}"); } unsafe impl ::windows_core::Interface for ICommonClaimedPosPrinterStation { type Vtable = ICommonClaimedPosPrinterStation_Vtbl; } -impl ::core::clone::Clone for ICommonClaimedPosPrinterStation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommonClaimedPosPrinterStation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7eb66a8_fe8a_4cfb_8b42_e35b280cb27c); } @@ -1821,6 +1603,7 @@ pub struct ICommonClaimedPosPrinterStation_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommonPosPrintStationCapabilities(::windows_core::IUnknown); impl ICommonPosPrintStationCapabilities { pub fn IsPrinterPresent(&self) -> ::windows_core::Result { @@ -1918,28 +1701,12 @@ impl ICommonPosPrintStationCapabilities { } } ::windows_core::imp::interface_hierarchy!(ICommonPosPrintStationCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICommonPosPrintStationCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommonPosPrintStationCapabilities {} -impl ::core::fmt::Debug for ICommonPosPrintStationCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommonPosPrintStationCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICommonPosPrintStationCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{de5b52ca-e02e-40e9-9e5e-1b488e6aacfc}"); } unsafe impl ::windows_core::Interface for ICommonPosPrintStationCapabilities { type Vtable = ICommonPosPrintStationCapabilities_Vtbl; } -impl ::core::clone::Clone for ICommonPosPrintStationCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommonPosPrintStationCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde5b52ca_e02e_40e9_9e5e_1b488e6aacfc); } @@ -1966,6 +1733,7 @@ pub struct ICommonPosPrintStationCapabilities_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommonReceiptSlipCapabilities(::windows_core::IUnknown); impl ICommonReceiptSlipCapabilities { pub fn IsBarcodeSupported(&self) -> ::windows_core::Result { @@ -2131,28 +1899,12 @@ impl ICommonReceiptSlipCapabilities { } ::windows_core::imp::interface_hierarchy!(ICommonReceiptSlipCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ICommonReceiptSlipCapabilities {} -impl ::core::cmp::PartialEq for ICommonReceiptSlipCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommonReceiptSlipCapabilities {} -impl ::core::fmt::Debug for ICommonReceiptSlipCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommonReceiptSlipCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICommonReceiptSlipCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{09286b8b-9873-4d05-bfbe-4727a6038f69}"); } unsafe impl ::windows_core::Interface for ICommonReceiptSlipCapabilities { type Vtable = ICommonReceiptSlipCapabilities_Vtbl; } -impl ::core::clone::Clone for ICommonReceiptSlipCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommonReceiptSlipCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09286b8b_9873_4d05_bfbe_4727a6038f69); } @@ -2178,15 +1930,11 @@ pub struct ICommonReceiptSlipCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJournalPrintJob(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJournalPrintJob { type Vtable = IJournalPrintJob_Vtbl; } -impl ::core::clone::Clone for IJournalPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJournalPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f4f2864_f3f0_55d0_8c39_74cc91783eed); } @@ -2200,15 +1948,11 @@ pub struct IJournalPrintJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJournalPrinterCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJournalPrinterCapabilities { type Vtable = IJournalPrinterCapabilities_Vtbl; } -impl ::core::clone::Clone for IJournalPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJournalPrinterCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b5ccc43_e047_4463_bb58_17b5ba1d8056); } @@ -2219,15 +1963,11 @@ pub struct IJournalPrinterCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJournalPrinterCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJournalPrinterCapabilities2 { type Vtable = IJournalPrinterCapabilities2_Vtbl; } -impl ::core::clone::Clone for IJournalPrinterCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJournalPrinterCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03b0b645_33b8_533b_baaa_a4389283ab0a); } @@ -2244,15 +1984,11 @@ pub struct IJournalPrinterCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplay(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplay { type Vtable = ILineDisplay_Vtbl; } -impl ::core::clone::Clone for ILineDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24f5df4e_3c99_44e2_b73f_e51be3637a8c); } @@ -2274,15 +2010,11 @@ pub struct ILineDisplay_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplay2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplay2 { type Vtable = ILineDisplay2_Vtbl; } -impl ::core::clone::Clone for ILineDisplay2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplay2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc296a628_ef44_40f3_bd1c_b04c6a5cdc7d); } @@ -2297,15 +2029,11 @@ pub struct ILineDisplay2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayAttributes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayAttributes { type Vtable = ILineDisplayAttributes_Vtbl; } -impl ::core::clone::Clone for ILineDisplayAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc17de99c_229a_4c14_a6f1_b4e4b1fead92); } @@ -2342,15 +2070,11 @@ pub struct ILineDisplayAttributes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayCapabilities { type Vtable = ILineDisplayCapabilities_Vtbl; } -impl ::core::clone::Clone for ILineDisplayCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a15b5d1_8dc5_4b9c_9172_303e47b70c55); } @@ -2379,15 +2103,11 @@ pub struct ILineDisplayCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayCursor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayCursor { type Vtable = ILineDisplayCursor_Vtbl; } -impl ::core::clone::Clone for ILineDisplayCursor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayCursor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecdffc45_754a_4e3b_ab2b_151181085605); } @@ -2410,15 +2130,11 @@ pub struct ILineDisplayCursor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayCursorAttributes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayCursorAttributes { type Vtable = ILineDisplayCursorAttributes_Vtbl; } -impl ::core::clone::Clone for ILineDisplayCursorAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayCursorAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e2d54fe_4ffd_4190_aae1_ce285f20c896); } @@ -2443,15 +2159,11 @@ pub struct ILineDisplayCursorAttributes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayCustomGlyphs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayCustomGlyphs { type Vtable = ILineDisplayCustomGlyphs_Vtbl; } -impl ::core::clone::Clone for ILineDisplayCustomGlyphs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayCustomGlyphs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2257f63c_f263_44f1_a1a0_e750a6a0ec54); } @@ -2474,15 +2186,11 @@ pub struct ILineDisplayCustomGlyphs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayMarquee(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayMarquee { type Vtable = ILineDisplayMarquee_Vtbl; } -impl ::core::clone::Clone for ILineDisplayMarquee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayMarquee { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3d33e3e_f46a_4b7a_bc21_53eb3b57f8b4); } @@ -2519,15 +2227,11 @@ pub struct ILineDisplayMarquee_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayStatics { type Vtable = ILineDisplayStatics_Vtbl; } -impl ::core::clone::Clone for ILineDisplayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x022dc0b6_11b0_4690_9547_0b39c5af2114); } @@ -2548,15 +2252,11 @@ pub struct ILineDisplayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayStatics2 { type Vtable = ILineDisplayStatics2_Vtbl; } -impl ::core::clone::Clone for ILineDisplayStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x600c3f1c_77ab_4968_a7de_c02ff169f2cc); } @@ -2568,15 +2268,11 @@ pub struct ILineDisplayStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayStatisticsCategorySelector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayStatisticsCategorySelector { type Vtable = ILineDisplayStatisticsCategorySelector_Vtbl; } -impl ::core::clone::Clone for ILineDisplayStatisticsCategorySelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayStatisticsCategorySelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb521c46b_9274_4d24_94f3_b6017b832444); } @@ -2590,15 +2286,11 @@ pub struct ILineDisplayStatisticsCategorySelector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayStatusUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayStatusUpdatedEventArgs { type Vtable = ILineDisplayStatusUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILineDisplayStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayStatusUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddd57c1a_86fb_4eba_93d1_6f5eda52b752); } @@ -2610,15 +2302,11 @@ pub struct ILineDisplayStatusUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayStoredBitmap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayStoredBitmap { type Vtable = ILineDisplayStoredBitmap_Vtbl; } -impl ::core::clone::Clone for ILineDisplayStoredBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayStoredBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf621515b_d81e_43ba_bf1b_bcfa3c785ba0); } @@ -2634,15 +2322,11 @@ pub struct ILineDisplayStoredBitmap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayWindow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayWindow { type Vtable = ILineDisplayWindow_Vtbl; } -impl ::core::clone::Clone for ILineDisplayWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd21feef4_2364_4be5_bee1_851680af4964); } @@ -2689,15 +2373,11 @@ pub struct ILineDisplayWindow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILineDisplayWindow2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILineDisplayWindow2 { type Vtable = ILineDisplayWindow2_Vtbl; } -impl ::core::clone::Clone for ILineDisplayWindow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILineDisplayWindow2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa95ce2e6_bdd8_4365_8e11_de94de8dff02); } @@ -2738,15 +2418,11 @@ pub struct ILineDisplayWindow2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReader { type Vtable = IMagneticStripeReader_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a92b015_47c3_468a_9333_0c6517574883); } @@ -2782,15 +2458,11 @@ pub struct IMagneticStripeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderAamvaCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderAamvaCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderAamvaCardDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a4bbd51_c316_4910_87f3_7a62ba862d31); } @@ -2820,15 +2492,11 @@ pub struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderBankCardDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderBankCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderBankCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderBankCardDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e958823_a31a_4763_882c_23725e39b08e); } @@ -2848,15 +2516,11 @@ pub struct IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderCapabilities { type Vtable = IMagneticStripeReaderCapabilities_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7128809c_c440_44a2_a467_469175d02896); } @@ -2878,15 +2542,11 @@ pub struct IMagneticStripeReaderCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderCardTypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderCardTypesStatics { type Vtable = IMagneticStripeReaderCardTypesStatics_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderCardTypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderCardTypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x528f2c5d_2986_474f_8454_7ccd05928d5f); } @@ -2901,15 +2561,11 @@ pub struct IMagneticStripeReaderCardTypesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderEncryptionAlgorithmsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderEncryptionAlgorithmsStatics { type Vtable = IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderEncryptionAlgorithmsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderEncryptionAlgorithmsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53b57350_c3db_4754_9c00_41392374a109); } @@ -2923,15 +2579,11 @@ pub struct IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderErrorOccurredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderErrorOccurredEventArgs { type Vtable = IMagneticStripeReaderErrorOccurredEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderErrorOccurredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fedf95d_2c84_41ad_b778_f2356a789ab1); } @@ -2948,15 +2600,11 @@ pub struct IMagneticStripeReaderErrorOccurredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderReport { type Vtable = IMagneticStripeReaderReport_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a5b6047_99b0_4188_bef1_eddf79f78fe6); } @@ -2985,15 +2633,11 @@ pub struct IMagneticStripeReaderReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderStatics { type Vtable = IMagneticStripeReaderStatics_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc45fab4a_efd7_4760_a5ce_15b0e47e94eb); } @@ -3013,15 +2657,11 @@ pub struct IMagneticStripeReaderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderStatics2 { type Vtable = IMagneticStripeReaderStatics2_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cadc362_d667_48fa_86bc_f5ae1189262b); } @@ -3033,15 +2673,11 @@ pub struct IMagneticStripeReaderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderStatusUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderStatusUpdatedEventArgs { type Vtable = IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderStatusUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09cc6bb0_3262_401d_9e8a_e80d6358906b); } @@ -3054,15 +2690,11 @@ pub struct IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderTrackData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderTrackData { type Vtable = IMagneticStripeReaderTrackData_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderTrackData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderTrackData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x104cf671_4a9d_446e_abc5_20402307ba36); } @@ -3085,15 +2717,11 @@ pub struct IMagneticStripeReaderTrackData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf0a5514_59cc_4a60_99e8_99a53dace5aa); } @@ -3105,15 +2733,11 @@ pub struct IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinter { type Vtable = IPosPrinter_Vtbl; } -impl ::core::clone::Clone for IPosPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a03c10e_9a19_4a01_994f_12dfad6adcbf); } @@ -3155,15 +2779,11 @@ pub struct IPosPrinter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinter2 { type Vtable = IPosPrinter2_Vtbl; } -impl ::core::clone::Clone for IPosPrinter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x248475e8_8b98_5517_8e48_760e86f68987); } @@ -3179,15 +2799,11 @@ pub struct IPosPrinter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterCapabilities { type Vtable = IPosPrinterCapabilities_Vtbl; } -impl ::core::clone::Clone for IPosPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcde95721_4380_4985_adc5_39db30cd93bc); } @@ -3208,15 +2824,11 @@ pub struct IPosPrinterCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterCharacterSetIdsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterCharacterSetIdsStatics { type Vtable = IPosPrinterCharacterSetIdsStatics_Vtbl; } -impl ::core::clone::Clone for IPosPrinterCharacterSetIdsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterCharacterSetIdsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c709eff_709a_4fe7_b215_06a748a38b39); } @@ -3230,15 +2842,11 @@ pub struct IPosPrinterCharacterSetIdsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterFontProperty(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterFontProperty { type Vtable = IPosPrinterFontProperty_Vtbl; } -impl ::core::clone::Clone for IPosPrinterFontProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterFontProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7f4e93a_f8ac_5f04_84d2_29b16d8a633c); } @@ -3255,6 +2863,7 @@ pub struct IPosPrinterFontProperty_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterJob(::windows_core::IUnknown); impl IPosPrinterJob { pub fn Print(&self, data: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -3280,28 +2889,12 @@ impl IPosPrinterJob { } } ::windows_core::imp::interface_hierarchy!(IPosPrinterJob, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPosPrinterJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPosPrinterJob {} -impl ::core::fmt::Debug for IPosPrinterJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPosPrinterJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPosPrinterJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9a94005c-0615-4591-a58f-30f87edfe2e4}"); } unsafe impl ::windows_core::Interface for IPosPrinterJob { type Vtable = IPosPrinterJob_Vtbl; } -impl ::core::clone::Clone for IPosPrinterJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a94005c_0615_4591_a58f_30f87edfe2e4); } @@ -3319,15 +2912,11 @@ pub struct IPosPrinterJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterPrintOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterPrintOptions { type Vtable = IPosPrinterPrintOptions_Vtbl; } -impl ::core::clone::Clone for IPosPrinterPrintOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterPrintOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a2e16fd_1d02_5a58_9d59_bfcde76fde86); } @@ -3364,15 +2953,11 @@ pub struct IPosPrinterPrintOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterReleaseDeviceRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterReleaseDeviceRequestedEventArgs { type Vtable = IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPosPrinterReleaseDeviceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterReleaseDeviceRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bcba359_1cef_40b2_9ecb_f927f856ae3c); } @@ -3383,15 +2968,11 @@ pub struct IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterStatics { type Vtable = IPosPrinterStatics_Vtbl; } -impl ::core::clone::Clone for IPosPrinterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ce0d4ea_132f_4cdf_a64a_2d0d7c96a85b); } @@ -3411,15 +2992,11 @@ pub struct IPosPrinterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterStatics2 { type Vtable = IPosPrinterStatics2_Vtbl; } -impl ::core::clone::Clone for IPosPrinterStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeecd2c1c_b0d0_42e7_b137_b89b16244d41); } @@ -3431,15 +3008,11 @@ pub struct IPosPrinterStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterStatus { type Vtable = IPosPrinterStatus_Vtbl; } -impl ::core::clone::Clone for IPosPrinterStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1f0c730_da40_4328_bf76_5156fa33b747); } @@ -3452,15 +3025,11 @@ pub struct IPosPrinterStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPosPrinterStatusUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPosPrinterStatusUpdatedEventArgs { type Vtable = IPosPrinterStatusUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPosPrinterStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPosPrinterStatusUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2edb87df_13a6_428d_ba81_b0e7c3e5a3cd); } @@ -3472,6 +3041,7 @@ pub struct IPosPrinterStatusUpdatedEventArgs_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReceiptOrSlipJob(::windows_core::IUnknown); impl IReceiptOrSlipJob { pub fn SetBarcodeRotation(&self, value: PosPrinterRotation) -> ::windows_core::Result<()> { @@ -3600,28 +3170,12 @@ impl IReceiptOrSlipJob { } ::windows_core::imp::interface_hierarchy!(IReceiptOrSlipJob, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IReceiptOrSlipJob {} -impl ::core::cmp::PartialEq for IReceiptOrSlipJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReceiptOrSlipJob {} -impl ::core::fmt::Debug for IReceiptOrSlipJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReceiptOrSlipJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IReceiptOrSlipJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{532199be-c8c3-4dc2-89e9-5c4a37b34ddc}"); } unsafe impl ::windows_core::Interface for IReceiptOrSlipJob { type Vtable = IReceiptOrSlipJob_Vtbl; } -impl ::core::clone::Clone for IReceiptOrSlipJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReceiptOrSlipJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x532199be_c8c3_4dc2_89e9_5c4a37b34ddc); } @@ -3674,15 +3228,11 @@ pub struct IReceiptOrSlipJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReceiptPrintJob(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReceiptPrintJob { type Vtable = IReceiptPrintJob_Vtbl; } -impl ::core::clone::Clone for IReceiptPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReceiptPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa96066e_acad_4b79_9d0f_c0cfc08dc77b); } @@ -3696,15 +3246,11 @@ pub struct IReceiptPrintJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReceiptPrintJob2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReceiptPrintJob2 { type Vtable = IReceiptPrintJob2_Vtbl; } -impl ::core::clone::Clone for IReceiptPrintJob2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReceiptPrintJob2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cbc12e3_9e29_5179_bcd8_1811d3b9a10e); } @@ -3719,15 +3265,11 @@ pub struct IReceiptPrintJob2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReceiptPrinterCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReceiptPrinterCapabilities { type Vtable = IReceiptPrinterCapabilities_Vtbl; } -impl ::core::clone::Clone for IReceiptPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReceiptPrinterCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8f0b58f_51a8_43fc_9bd5_8de272a6415b); } @@ -3741,15 +3283,11 @@ pub struct IReceiptPrinterCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReceiptPrinterCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReceiptPrinterCapabilities2 { type Vtable = IReceiptPrinterCapabilities2_Vtbl; } -impl ::core::clone::Clone for IReceiptPrinterCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReceiptPrinterCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20030638_8a2c_55ac_9a7b_7576d8869e99); } @@ -3766,15 +3304,11 @@ pub struct IReceiptPrinterCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISlipPrintJob(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISlipPrintJob { type Vtable = ISlipPrintJob_Vtbl; } -impl ::core::clone::Clone for ISlipPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISlipPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d88f95d_6131_5a4b_b7d5_8ef2da7b4165); } @@ -3788,15 +3322,11 @@ pub struct ISlipPrintJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISlipPrinterCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISlipPrinterCapabilities { type Vtable = ISlipPrinterCapabilities_Vtbl; } -impl ::core::clone::Clone for ISlipPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISlipPrinterCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99b16399_488c_4157_8ac2_9f57f708d3db); } @@ -3809,15 +3339,11 @@ pub struct ISlipPrinterCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISlipPrinterCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISlipPrinterCapabilities2 { type Vtable = ISlipPrinterCapabilities2_Vtbl; } -impl ::core::clone::Clone for ISlipPrinterCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISlipPrinterCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ff89671_2d1a_5000_87c2_b0851bfdf07e); } @@ -3834,15 +3360,11 @@ pub struct ISlipPrinterCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnifiedPosErrorData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnifiedPosErrorData { type Vtable = IUnifiedPosErrorData_Vtbl; } -impl ::core::clone::Clone for IUnifiedPosErrorData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnifiedPosErrorData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b998c3a_555c_4889_8ed8_c599bb3a712a); } @@ -3857,15 +3379,11 @@ pub struct IUnifiedPosErrorData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnifiedPosErrorDataFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnifiedPosErrorDataFactory { type Vtable = IUnifiedPosErrorDataFactory_Vtbl; } -impl ::core::clone::Clone for IUnifiedPosErrorDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnifiedPosErrorDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b982551_1ffe_451b_a368_63e0ce465f5a); } @@ -3877,6 +3395,7 @@ pub struct IUnifiedPosErrorDataFactory_Vtbl { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScanner(::windows_core::IUnknown); impl BarcodeScanner { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4027,25 +3546,9 @@ impl BarcodeScanner { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BarcodeScanner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScanner {} -impl ::core::fmt::Debug for BarcodeScanner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScanner").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScanner { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScanner;{bea33e06-b264-4f03-a9c1-45b20f01134f})"); } -impl ::core::clone::Clone for BarcodeScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScanner { type Vtable = IBarcodeScanner_Vtbl; } @@ -4062,6 +3565,7 @@ unsafe impl ::core::marker::Send for BarcodeScanner {} unsafe impl ::core::marker::Sync for BarcodeScanner {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerCapabilities(::windows_core::IUnknown); impl BarcodeScannerCapabilities { pub fn PowerReportingType(&self) -> ::windows_core::Result { @@ -4107,25 +3611,9 @@ impl BarcodeScannerCapabilities { } } } -impl ::core::cmp::PartialEq for BarcodeScannerCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerCapabilities {} -impl ::core::fmt::Debug for BarcodeScannerCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerCapabilities;{c60691e4-f2c8-4420-a307-b12ef6622857})"); } -impl ::core::clone::Clone for BarcodeScannerCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerCapabilities { type Vtable = IBarcodeScannerCapabilities_Vtbl; } @@ -4140,6 +3628,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerCapabilities {} unsafe impl ::core::marker::Sync for BarcodeScannerCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerDataReceivedEventArgs(::windows_core::IUnknown); impl BarcodeScannerDataReceivedEventArgs { pub fn Report(&self) -> ::windows_core::Result { @@ -4150,25 +3639,9 @@ impl BarcodeScannerDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerDataReceivedEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerDataReceivedEventArgs;{4234a7e2-ed97-467d-ad2b-01e44313a929})"); } -impl ::core::clone::Clone for BarcodeScannerDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerDataReceivedEventArgs { type Vtable = IBarcodeScannerDataReceivedEventArgs_Vtbl; } @@ -4183,6 +3656,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerErrorOccurredEventArgs(::windows_core::IUnknown); impl BarcodeScannerErrorOccurredEventArgs { pub fn PartialInputData(&self) -> ::windows_core::Result { @@ -4207,25 +3681,9 @@ impl BarcodeScannerErrorOccurredEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerErrorOccurredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerErrorOccurredEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerErrorOccurredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerErrorOccurredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerErrorOccurredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerErrorOccurredEventArgs;{2cd2602f-cf3a-4002-a75a-c5ec468f0a20})"); } -impl ::core::clone::Clone for BarcodeScannerErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerErrorOccurredEventArgs { type Vtable = IBarcodeScannerErrorOccurredEventArgs_Vtbl; } @@ -4240,6 +3698,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for BarcodeScannerErrorOccurredEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerImagePreviewReceivedEventArgs(::windows_core::IUnknown); impl BarcodeScannerImagePreviewReceivedEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -4252,25 +3711,9 @@ impl BarcodeScannerImagePreviewReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for BarcodeScannerImagePreviewReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerImagePreviewReceivedEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerImagePreviewReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerImagePreviewReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerImagePreviewReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerImagePreviewReceivedEventArgs;{f3b7de85-6e8b-434e-9f58-06ef26bc4baf})"); } -impl ::core::clone::Clone for BarcodeScannerImagePreviewReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerImagePreviewReceivedEventArgs { type Vtable = IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl; } @@ -4285,6 +3728,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerImagePreviewReceivedEventArgs unsafe impl ::core::marker::Sync for BarcodeScannerImagePreviewReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerReport(::windows_core::IUnknown); impl BarcodeScannerReport { pub fn ScanDataType(&self) -> ::windows_core::Result { @@ -4330,25 +3774,9 @@ impl BarcodeScannerReport { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BarcodeScannerReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerReport {} -impl ::core::fmt::Debug for BarcodeScannerReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeScannerReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerReport;{5ce4d8b0-a489-4b96-86c4-f0bf8a37753d})"); } -impl ::core::clone::Clone for BarcodeScannerReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerReport { type Vtable = IBarcodeScannerReport_Vtbl; } @@ -4363,6 +3791,7 @@ unsafe impl ::core::marker::Send for BarcodeScannerReport {} unsafe impl ::core::marker::Sync for BarcodeScannerReport {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeScannerStatusUpdatedEventArgs(::windows_core::IUnknown); impl BarcodeScannerStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -4375,30 +3804,14 @@ impl BarcodeScannerStatusUpdatedEventArgs { pub fn ExtendedStatus(&self) -> ::windows_core::Result { let this = self; unsafe { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(this).ExtendedStatus)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) - } - } -} -impl ::core::cmp::PartialEq for BarcodeScannerStatusUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeScannerStatusUpdatedEventArgs {} -impl ::core::fmt::Debug for BarcodeScannerStatusUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeScannerStatusUpdatedEventArgs").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(this).ExtendedStatus)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) + } } } impl ::windows_core::RuntimeType for BarcodeScannerStatusUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeScannerStatusUpdatedEventArgs;{355d8586-9c43-462b-a91a-816dc97f452c})"); } -impl ::core::clone::Clone for BarcodeScannerStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeScannerStatusUpdatedEventArgs { type Vtable = IBarcodeScannerStatusUpdatedEventArgs_Vtbl; } @@ -5000,6 +4413,7 @@ impl ::windows_core::RuntimeName for BarcodeSymbologies { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarcodeSymbologyAttributes(::windows_core::IUnknown); impl BarcodeSymbologyAttributes { pub fn IsCheckDigitValidationEnabled(&self) -> ::windows_core::Result { @@ -5079,25 +4493,9 @@ impl BarcodeSymbologyAttributes { } } } -impl ::core::cmp::PartialEq for BarcodeSymbologyAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarcodeSymbologyAttributes {} -impl ::core::fmt::Debug for BarcodeSymbologyAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarcodeSymbologyAttributes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarcodeSymbologyAttributes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.BarcodeSymbologyAttributes;{66413a78-ab7a-4ada-8ece-936014b2ead7})"); } -impl ::core::clone::Clone for BarcodeSymbologyAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarcodeSymbologyAttributes { type Vtable = IBarcodeSymbologyAttributes_Vtbl; } @@ -5112,6 +4510,7 @@ unsafe impl ::core::marker::Send for BarcodeSymbologyAttributes {} unsafe impl ::core::marker::Sync for BarcodeSymbologyAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawer(::windows_core::IUnknown); impl CashDrawer { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5242,25 +4641,9 @@ impl CashDrawer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CashDrawer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawer {} -impl ::core::fmt::Debug for CashDrawer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawer;{9f88f5c8-de54-4aee-a890-920bcbfe30fc})"); } -impl ::core::clone::Clone for CashDrawer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawer { type Vtable = ICashDrawer_Vtbl; } @@ -5277,6 +4660,7 @@ unsafe impl ::core::marker::Send for CashDrawer {} unsafe impl ::core::marker::Sync for CashDrawer {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerCapabilities(::windows_core::IUnknown); impl CashDrawerCapabilities { pub fn PowerReportingType(&self) -> ::windows_core::Result { @@ -5322,25 +4706,9 @@ impl CashDrawerCapabilities { } } } -impl ::core::cmp::PartialEq for CashDrawerCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerCapabilities {} -impl ::core::fmt::Debug for CashDrawerCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCapabilities;{0bc6de0b-e8e7-4b1f-b1d1-3e501ad08247})"); } -impl ::core::clone::Clone for CashDrawerCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerCapabilities { type Vtable = ICashDrawerCapabilities_Vtbl; } @@ -5355,6 +4723,7 @@ unsafe impl ::core::marker::Send for CashDrawerCapabilities {} unsafe impl ::core::marker::Sync for CashDrawerCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerCloseAlarm(::windows_core::IUnknown); impl CashDrawerCloseAlarm { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5441,25 +4810,9 @@ impl CashDrawerCloseAlarm { } } } -impl ::core::cmp::PartialEq for CashDrawerCloseAlarm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerCloseAlarm {} -impl ::core::fmt::Debug for CashDrawerCloseAlarm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerCloseAlarm").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerCloseAlarm { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerCloseAlarm;{6bf88cc7-6f63-430e-ab3b-95d75ffbe87f})"); } -impl ::core::clone::Clone for CashDrawerCloseAlarm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerCloseAlarm { type Vtable = ICashDrawerCloseAlarm_Vtbl; } @@ -5474,6 +4827,7 @@ unsafe impl ::core::marker::Send for CashDrawerCloseAlarm {} unsafe impl ::core::marker::Sync for CashDrawerCloseAlarm {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerClosedEventArgs(::windows_core::IUnknown); impl CashDrawerClosedEventArgs { pub fn CashDrawer(&self) -> ::windows_core::Result { @@ -5484,25 +4838,9 @@ impl CashDrawerClosedEventArgs { } } } -impl ::core::cmp::PartialEq for CashDrawerClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerClosedEventArgs {} -impl ::core::fmt::Debug for CashDrawerClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerClosedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); } -impl ::core::clone::Clone for CashDrawerClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerClosedEventArgs { type Vtable = ICashDrawerEventSourceEventArgs_Vtbl; } @@ -5518,6 +4856,7 @@ unsafe impl ::core::marker::Send for CashDrawerClosedEventArgs {} unsafe impl ::core::marker::Sync for CashDrawerClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerEventSource(::windows_core::IUnknown); impl CashDrawerEventSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5557,25 +4896,9 @@ impl CashDrawerEventSource { unsafe { (::windows_core::Interface::vtable(this).RemoveDrawerOpened)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for CashDrawerEventSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerEventSource {} -impl ::core::fmt::Debug for CashDrawerEventSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerEventSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerEventSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerEventSource;{e006e46c-f2f9-442f-8dd6-06c10a4227ba})"); } -impl ::core::clone::Clone for CashDrawerEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerEventSource { type Vtable = ICashDrawerEventSource_Vtbl; } @@ -5590,6 +4913,7 @@ unsafe impl ::core::marker::Send for CashDrawerEventSource {} unsafe impl ::core::marker::Sync for CashDrawerEventSource {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerOpenedEventArgs(::windows_core::IUnknown); impl CashDrawerOpenedEventArgs { pub fn CashDrawer(&self) -> ::windows_core::Result { @@ -5600,25 +4924,9 @@ impl CashDrawerOpenedEventArgs { } } } -impl ::core::cmp::PartialEq for CashDrawerOpenedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerOpenedEventArgs {} -impl ::core::fmt::Debug for CashDrawerOpenedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerOpenedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerOpenedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerOpenedEventArgs;{69cb3bc1-147f-421c-9c23-090123bb786c})"); } -impl ::core::clone::Clone for CashDrawerOpenedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerOpenedEventArgs { type Vtable = ICashDrawerEventSourceEventArgs_Vtbl; } @@ -5634,6 +4942,7 @@ unsafe impl ::core::marker::Send for CashDrawerOpenedEventArgs {} unsafe impl ::core::marker::Sync for CashDrawerOpenedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerStatus(::windows_core::IUnknown); impl CashDrawerStatus { pub fn StatusKind(&self) -> ::windows_core::Result { @@ -5651,25 +4960,9 @@ impl CashDrawerStatus { } } } -impl ::core::cmp::PartialEq for CashDrawerStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerStatus {} -impl ::core::fmt::Debug for CashDrawerStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatus;{6bbd78bf-dca1-4e06-99eb-5af6a5aec108})"); } -impl ::core::clone::Clone for CashDrawerStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerStatus { type Vtable = ICashDrawerStatus_Vtbl; } @@ -5684,6 +4977,7 @@ unsafe impl ::core::marker::Send for CashDrawerStatus {} unsafe impl ::core::marker::Sync for CashDrawerStatus {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CashDrawerStatusUpdatedEventArgs(::windows_core::IUnknown); impl CashDrawerStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -5694,25 +4988,9 @@ impl CashDrawerStatusUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for CashDrawerStatusUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CashDrawerStatusUpdatedEventArgs {} -impl ::core::fmt::Debug for CashDrawerStatusUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CashDrawerStatusUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CashDrawerStatusUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.CashDrawerStatusUpdatedEventArgs;{30aae98a-0d70-459c-9553-87e124c52488})"); } -impl ::core::clone::Clone for CashDrawerStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CashDrawerStatusUpdatedEventArgs { type Vtable = ICashDrawerStatusUpdatedEventArgs_Vtbl; } @@ -5727,6 +5005,7 @@ unsafe impl ::core::marker::Send for CashDrawerStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for CashDrawerStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedBarcodeScanner(::windows_core::IUnknown); impl ClaimedBarcodeScanner { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6028,25 +5307,9 @@ impl ClaimedBarcodeScanner { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ClaimedBarcodeScanner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedBarcodeScanner {} -impl ::core::fmt::Debug for ClaimedBarcodeScanner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedBarcodeScanner").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedBarcodeScanner { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScanner;{4a63b49c-8fa4-4332-bb26-945d11d81e0f})"); } -impl ::core::clone::Clone for ClaimedBarcodeScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedBarcodeScanner { type Vtable = IClaimedBarcodeScanner_Vtbl; } @@ -6063,27 +5326,12 @@ unsafe impl ::core::marker::Send for ClaimedBarcodeScanner {} unsafe impl ::core::marker::Sync for ClaimedBarcodeScanner {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedBarcodeScannerClosedEventArgs(::windows_core::IUnknown); impl ClaimedBarcodeScannerClosedEventArgs {} -impl ::core::cmp::PartialEq for ClaimedBarcodeScannerClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedBarcodeScannerClosedEventArgs {} -impl ::core::fmt::Debug for ClaimedBarcodeScannerClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedBarcodeScannerClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedBarcodeScannerClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedBarcodeScannerClosedEventArgs;{cf7d5489-a22c-4c65-a901-88d77d833954})"); } -impl ::core::clone::Clone for ClaimedBarcodeScannerClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedBarcodeScannerClosedEventArgs { type Vtable = IClaimedBarcodeScannerClosedEventArgs_Vtbl; } @@ -6098,6 +5346,7 @@ unsafe impl ::core::marker::Send for ClaimedBarcodeScannerClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedBarcodeScannerClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedCashDrawer(::windows_core::IUnknown); impl ClaimedCashDrawer { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6231,25 +5480,9 @@ impl ClaimedCashDrawer { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ClaimedCashDrawer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedCashDrawer {} -impl ::core::fmt::Debug for ClaimedCashDrawer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedCashDrawer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedCashDrawer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawer;{ca3f99af-abb8-42c1-8a84-5c66512f5a75})"); } -impl ::core::clone::Clone for ClaimedCashDrawer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedCashDrawer { type Vtable = IClaimedCashDrawer_Vtbl; } @@ -6266,27 +5499,12 @@ unsafe impl ::core::marker::Send for ClaimedCashDrawer {} unsafe impl ::core::marker::Sync for ClaimedCashDrawer {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedCashDrawerClosedEventArgs(::windows_core::IUnknown); impl ClaimedCashDrawerClosedEventArgs {} -impl ::core::cmp::PartialEq for ClaimedCashDrawerClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedCashDrawerClosedEventArgs {} -impl ::core::fmt::Debug for ClaimedCashDrawerClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedCashDrawerClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedCashDrawerClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedCashDrawerClosedEventArgs;{cc573f33-3f34-4c5c-baae-deadf16cd7fa})"); } -impl ::core::clone::Clone for ClaimedCashDrawerClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedCashDrawerClosedEventArgs { type Vtable = IClaimedCashDrawerClosedEventArgs_Vtbl; } @@ -6301,6 +5519,7 @@ unsafe impl ::core::marker::Send for ClaimedCashDrawerClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedCashDrawerClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedJournalPrinter(::windows_core::IUnknown); impl ClaimedJournalPrinter { pub fn CreateJob(&self) -> ::windows_core::Result { @@ -6429,25 +5648,9 @@ impl ClaimedJournalPrinter { } } } -impl ::core::cmp::PartialEq for ClaimedJournalPrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedJournalPrinter {} -impl ::core::fmt::Debug for ClaimedJournalPrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedJournalPrinter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedJournalPrinter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedJournalPrinter;{67ea0630-517d-487f-9fdf-d2e0a0a264a5})"); } -impl ::core::clone::Clone for ClaimedJournalPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedJournalPrinter { type Vtable = IClaimedJournalPrinter_Vtbl; } @@ -6463,6 +5666,7 @@ unsafe impl ::core::marker::Send for ClaimedJournalPrinter {} unsafe impl ::core::marker::Sync for ClaimedJournalPrinter {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedLineDisplay(::windows_core::IUnknown); impl ClaimedLineDisplay { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6757,25 +5961,9 @@ impl ClaimedLineDisplay { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ClaimedLineDisplay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedLineDisplay {} -impl ::core::fmt::Debug for ClaimedLineDisplay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedLineDisplay").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedLineDisplay { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplay;{120ac970-9a75-4acf-aae7-09972bcf8794})"); } -impl ::core::clone::Clone for ClaimedLineDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedLineDisplay { type Vtable = IClaimedLineDisplay_Vtbl; } @@ -6792,27 +5980,12 @@ unsafe impl ::core::marker::Send for ClaimedLineDisplay {} unsafe impl ::core::marker::Sync for ClaimedLineDisplay {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedLineDisplayClosedEventArgs(::windows_core::IUnknown); impl ClaimedLineDisplayClosedEventArgs {} -impl ::core::cmp::PartialEq for ClaimedLineDisplayClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedLineDisplayClosedEventArgs {} -impl ::core::fmt::Debug for ClaimedLineDisplayClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedLineDisplayClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedLineDisplayClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedLineDisplayClosedEventArgs;{f915f364-d3d5-4f10-b511-90939edfacd8})"); } -impl ::core::clone::Clone for ClaimedLineDisplayClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedLineDisplayClosedEventArgs { type Vtable = IClaimedLineDisplayClosedEventArgs_Vtbl; } @@ -6827,6 +6000,7 @@ unsafe impl ::core::marker::Send for ClaimedLineDisplayClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedLineDisplayClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedMagneticStripeReader(::windows_core::IUnknown); impl ClaimedMagneticStripeReader { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7106,25 +6280,9 @@ impl ClaimedMagneticStripeReader { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ClaimedMagneticStripeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedMagneticStripeReader {} -impl ::core::fmt::Debug for ClaimedMagneticStripeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedMagneticStripeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedMagneticStripeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReader;{475ca8f3-9417-48bc-b9d7-4163a7844c02})"); } -impl ::core::clone::Clone for ClaimedMagneticStripeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedMagneticStripeReader { type Vtable = IClaimedMagneticStripeReader_Vtbl; } @@ -7141,27 +6299,12 @@ unsafe impl ::core::marker::Send for ClaimedMagneticStripeReader {} unsafe impl ::core::marker::Sync for ClaimedMagneticStripeReader {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedMagneticStripeReaderClosedEventArgs(::windows_core::IUnknown); impl ClaimedMagneticStripeReaderClosedEventArgs {} -impl ::core::cmp::PartialEq for ClaimedMagneticStripeReaderClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedMagneticStripeReaderClosedEventArgs {} -impl ::core::fmt::Debug for ClaimedMagneticStripeReaderClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedMagneticStripeReaderClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedMagneticStripeReaderClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedMagneticStripeReaderClosedEventArgs;{14ada93a-adcd-4c80-acda-c3eaed2647e1})"); } -impl ::core::clone::Clone for ClaimedMagneticStripeReaderClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedMagneticStripeReaderClosedEventArgs { type Vtable = IClaimedMagneticStripeReaderClosedEventArgs_Vtbl; } @@ -7176,6 +6319,7 @@ unsafe impl ::core::marker::Send for ClaimedMagneticStripeReaderClosedEventArgs unsafe impl ::core::marker::Sync for ClaimedMagneticStripeReaderClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedPosPrinter(::windows_core::IUnknown); impl ClaimedPosPrinter { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7347,25 +6491,9 @@ impl ClaimedPosPrinter { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ClaimedPosPrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedPosPrinter {} -impl ::core::fmt::Debug for ClaimedPosPrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedPosPrinter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedPosPrinter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinter;{6d64ce0c-e03e-4b14-a38e-c28c34b86353})"); } -impl ::core::clone::Clone for ClaimedPosPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedPosPrinter { type Vtable = IClaimedPosPrinter_Vtbl; } @@ -7382,27 +6510,12 @@ unsafe impl ::core::marker::Send for ClaimedPosPrinter {} unsafe impl ::core::marker::Sync for ClaimedPosPrinter {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedPosPrinterClosedEventArgs(::windows_core::IUnknown); impl ClaimedPosPrinterClosedEventArgs {} -impl ::core::cmp::PartialEq for ClaimedPosPrinterClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedPosPrinterClosedEventArgs {} -impl ::core::fmt::Debug for ClaimedPosPrinterClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedPosPrinterClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedPosPrinterClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedPosPrinterClosedEventArgs;{e2b7a27b-4d40-471d-92ed-63375b18c788})"); } -impl ::core::clone::Clone for ClaimedPosPrinterClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedPosPrinterClosedEventArgs { type Vtable = IClaimedPosPrinterClosedEventArgs_Vtbl; } @@ -7417,6 +6530,7 @@ unsafe impl ::core::marker::Send for ClaimedPosPrinterClosedEventArgs {} unsafe impl ::core::marker::Sync for ClaimedPosPrinterClosedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedReceiptPrinter(::windows_core::IUnknown); impl ClaimedReceiptPrinter { pub fn SidewaysMaxLines(&self) -> ::windows_core::Result { @@ -7584,25 +6698,9 @@ impl ClaimedReceiptPrinter { } } } -impl ::core::cmp::PartialEq for ClaimedReceiptPrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedReceiptPrinter {} -impl ::core::fmt::Debug for ClaimedReceiptPrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedReceiptPrinter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedReceiptPrinter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedReceiptPrinter;{9ad27a74-dd61-4ee2-9837-5b5d72d538b9})"); } -impl ::core::clone::Clone for ClaimedReceiptPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedReceiptPrinter { type Vtable = IClaimedReceiptPrinter_Vtbl; } @@ -7618,6 +6716,7 @@ unsafe impl ::core::marker::Send for ClaimedReceiptPrinter {} unsafe impl ::core::marker::Sync for ClaimedReceiptPrinter {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClaimedSlipPrinter(::windows_core::IUnknown); impl ClaimedSlipPrinter { pub fn SidewaysMaxLines(&self) -> ::windows_core::Result { @@ -7829,25 +6928,9 @@ impl ClaimedSlipPrinter { } } } -impl ::core::cmp::PartialEq for ClaimedSlipPrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClaimedSlipPrinter {} -impl ::core::fmt::Debug for ClaimedSlipPrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClaimedSlipPrinter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClaimedSlipPrinter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ClaimedSlipPrinter;{bd5deff2-af90-4e8a-b77b-e3ae9ca63a7f})"); } -impl ::core::clone::Clone for ClaimedSlipPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClaimedSlipPrinter { type Vtable = IClaimedSlipPrinter_Vtbl; } @@ -7863,6 +6946,7 @@ unsafe impl ::core::marker::Send for ClaimedSlipPrinter {} unsafe impl ::core::marker::Sync for ClaimedSlipPrinter {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JournalPrintJob(::windows_core::IUnknown); impl JournalPrintJob { pub fn Print(&self, data: &::windows_core::HSTRING, printoptions: P0) -> ::windows_core::Result<()> @@ -7902,25 +6986,9 @@ impl JournalPrintJob { } } } -impl ::core::cmp::PartialEq for JournalPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JournalPrintJob {} -impl ::core::fmt::Debug for JournalPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JournalPrintJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JournalPrintJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrintJob;{9a94005c-0615-4591-a58f-30f87edfe2e4})"); } -impl ::core::clone::Clone for JournalPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JournalPrintJob { type Vtable = IPosPrinterJob_Vtbl; } @@ -7936,6 +7004,7 @@ unsafe impl ::core::marker::Send for JournalPrintJob {} unsafe impl ::core::marker::Sync for JournalPrintJob {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JournalPrinterCapabilities(::windows_core::IUnknown); impl JournalPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows_core::Result { @@ -8074,25 +7143,9 @@ impl JournalPrinterCapabilities { } } } -impl ::core::cmp::PartialEq for JournalPrinterCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JournalPrinterCapabilities {} -impl ::core::fmt::Debug for JournalPrinterCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JournalPrinterCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JournalPrinterCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.JournalPrinterCapabilities;{3b5ccc43-e047-4463-bb58-17b5ba1d8056})"); } -impl ::core::clone::Clone for JournalPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JournalPrinterCapabilities { type Vtable = IJournalPrinterCapabilities_Vtbl; } @@ -8108,6 +7161,7 @@ unsafe impl ::core::marker::Send for JournalPrinterCapabilities {} unsafe impl ::core::marker::Sync for JournalPrinterCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplay(::windows_core::IUnknown); impl LineDisplay { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8228,25 +7282,9 @@ impl LineDisplay { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LineDisplay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplay {} -impl ::core::fmt::Debug for LineDisplay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplay").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplay { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplay;{24f5df4e-3c99-44e2-b73f-e51be3637a8c})"); } -impl ::core::clone::Clone for LineDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplay { type Vtable = ILineDisplay_Vtbl; } @@ -8263,6 +7301,7 @@ unsafe impl ::core::marker::Send for LineDisplay {} unsafe impl ::core::marker::Sync for LineDisplay {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayAttributes(::windows_core::IUnknown); impl LineDisplayAttributes { pub fn IsPowerNotifyEnabled(&self) -> ::windows_core::Result { @@ -8354,25 +7393,9 @@ impl LineDisplayAttributes { unsafe { (::windows_core::Interface::vtable(this).SetCurrentWindow)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for LineDisplayAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayAttributes {} -impl ::core::fmt::Debug for LineDisplayAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayAttributes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayAttributes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayAttributes;{c17de99c-229a-4c14-a6f1-b4e4b1fead92})"); } -impl ::core::clone::Clone for LineDisplayAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayAttributes { type Vtable = ILineDisplayAttributes_Vtbl; } @@ -8387,6 +7410,7 @@ unsafe impl ::core::marker::Send for LineDisplayAttributes {} unsafe impl ::core::marker::Sync for LineDisplayAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayCapabilities(::windows_core::IUnknown); impl LineDisplayCapabilities { pub fn IsStatisticsReportingSupported(&self) -> ::windows_core::Result { @@ -8516,25 +7540,9 @@ impl LineDisplayCapabilities { } } } -impl ::core::cmp::PartialEq for LineDisplayCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayCapabilities {} -impl ::core::fmt::Debug for LineDisplayCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCapabilities;{5a15b5d1-8dc5-4b9c-9172-303e47b70c55})"); } -impl ::core::clone::Clone for LineDisplayCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayCapabilities { type Vtable = ILineDisplayCapabilities_Vtbl; } @@ -8549,6 +7557,7 @@ unsafe impl ::core::marker::Send for LineDisplayCapabilities {} unsafe impl ::core::marker::Sync for LineDisplayCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayCursor(::windows_core::IUnknown); impl LineDisplayCursor { pub fn CanCustomize(&self) -> ::windows_core::Result { @@ -8617,28 +7626,12 @@ impl LineDisplayCursor { unsafe { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(this).TryUpdateAttributesAsync)(::windows_core::Interface::as_raw(this), attributes.into_param().abi(), &mut result__).from_abi(result__) - } - } -} -impl ::core::cmp::PartialEq for LineDisplayCursor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayCursor {} -impl ::core::fmt::Debug for LineDisplayCursor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayCursor").field(&self.0).finish() + } } } impl ::windows_core::RuntimeType for LineDisplayCursor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursor;{ecdffc45-754a-4e3b-ab2b-151181085605})"); } -impl ::core::clone::Clone for LineDisplayCursor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayCursor { type Vtable = ILineDisplayCursor_Vtbl; } @@ -8653,6 +7646,7 @@ unsafe impl ::core::marker::Send for LineDisplayCursor {} unsafe impl ::core::marker::Sync for LineDisplayCursor {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayCursorAttributes(::windows_core::IUnknown); impl LineDisplayCursorAttributes { pub fn IsBlinkEnabled(&self) -> ::windows_core::Result { @@ -8704,25 +7698,9 @@ impl LineDisplayCursorAttributes { unsafe { (::windows_core::Interface::vtable(this).SetPosition)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for LineDisplayCursorAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayCursorAttributes {} -impl ::core::fmt::Debug for LineDisplayCursorAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayCursorAttributes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayCursorAttributes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCursorAttributes;{4e2d54fe-4ffd-4190-aae1-ce285f20c896})"); } -impl ::core::clone::Clone for LineDisplayCursorAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayCursorAttributes { type Vtable = ILineDisplayCursorAttributes_Vtbl; } @@ -8737,6 +7715,7 @@ unsafe impl ::core::marker::Send for LineDisplayCursorAttributes {} unsafe impl ::core::marker::Sync for LineDisplayCursorAttributes {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayCustomGlyphs(::windows_core::IUnknown); impl LineDisplayCustomGlyphs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8770,25 +7749,9 @@ impl LineDisplayCustomGlyphs { } } } -impl ::core::cmp::PartialEq for LineDisplayCustomGlyphs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayCustomGlyphs {} -impl ::core::fmt::Debug for LineDisplayCustomGlyphs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayCustomGlyphs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayCustomGlyphs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayCustomGlyphs;{2257f63c-f263-44f1-a1a0-e750a6a0ec54})"); } -impl ::core::clone::Clone for LineDisplayCustomGlyphs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayCustomGlyphs { type Vtable = ILineDisplayCustomGlyphs_Vtbl; } @@ -8803,6 +7766,7 @@ unsafe impl ::core::marker::Send for LineDisplayCustomGlyphs {} unsafe impl ::core::marker::Sync for LineDisplayCustomGlyphs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayMarquee(::windows_core::IUnknown); impl LineDisplayMarquee { pub fn Format(&self) -> ::windows_core::Result { @@ -8865,25 +7829,9 @@ impl LineDisplayMarquee { } } } -impl ::core::cmp::PartialEq for LineDisplayMarquee { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayMarquee {} -impl ::core::fmt::Debug for LineDisplayMarquee { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayMarquee").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayMarquee { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayMarquee;{a3d33e3e-f46a-4b7a-bc21-53eb3b57f8b4})"); } -impl ::core::clone::Clone for LineDisplayMarquee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayMarquee { type Vtable = ILineDisplayMarquee_Vtbl; } @@ -8898,6 +7846,7 @@ unsafe impl ::core::marker::Send for LineDisplayMarquee {} unsafe impl ::core::marker::Sync for LineDisplayMarquee {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayStatisticsCategorySelector(::windows_core::IUnknown); impl LineDisplayStatisticsCategorySelector { pub fn AllStatistics(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8922,25 +7871,9 @@ impl LineDisplayStatisticsCategorySelector { } } } -impl ::core::cmp::PartialEq for LineDisplayStatisticsCategorySelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayStatisticsCategorySelector {} -impl ::core::fmt::Debug for LineDisplayStatisticsCategorySelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayStatisticsCategorySelector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayStatisticsCategorySelector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatisticsCategorySelector;{b521c46b-9274-4d24-94f3-b6017b832444})"); } -impl ::core::clone::Clone for LineDisplayStatisticsCategorySelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayStatisticsCategorySelector { type Vtable = ILineDisplayStatisticsCategorySelector_Vtbl; } @@ -8955,6 +7888,7 @@ unsafe impl ::core::marker::Send for LineDisplayStatisticsCategorySelector {} unsafe impl ::core::marker::Sync for LineDisplayStatisticsCategorySelector {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayStatusUpdatedEventArgs(::windows_core::IUnknown); impl LineDisplayStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -8965,25 +7899,9 @@ impl LineDisplayStatusUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for LineDisplayStatusUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayStatusUpdatedEventArgs {} -impl ::core::fmt::Debug for LineDisplayStatusUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayStatusUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayStatusUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStatusUpdatedEventArgs;{ddd57c1a-86fb-4eba-93d1-6f5eda52b752})"); } -impl ::core::clone::Clone for LineDisplayStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayStatusUpdatedEventArgs { type Vtable = ILineDisplayStatusUpdatedEventArgs_Vtbl; } @@ -8998,6 +7916,7 @@ unsafe impl ::core::marker::Send for LineDisplayStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for LineDisplayStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayStoredBitmap(::windows_core::IUnknown); impl LineDisplayStoredBitmap { pub fn EscapeSequence(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9017,25 +7936,9 @@ impl LineDisplayStoredBitmap { } } } -impl ::core::cmp::PartialEq for LineDisplayStoredBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayStoredBitmap {} -impl ::core::fmt::Debug for LineDisplayStoredBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayStoredBitmap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayStoredBitmap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayStoredBitmap;{f621515b-d81e-43ba-bf1b-bcfa3c785ba0})"); } -impl ::core::clone::Clone for LineDisplayStoredBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayStoredBitmap { type Vtable = ILineDisplayStoredBitmap_Vtbl; } @@ -9050,6 +7953,7 @@ unsafe impl ::core::marker::Send for LineDisplayStoredBitmap {} unsafe impl ::core::marker::Sync for LineDisplayStoredBitmap {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LineDisplayWindow(::windows_core::IUnknown); impl LineDisplayWindow { #[doc = "*Required features: `\"Foundation\"`*"] @@ -9232,25 +8136,9 @@ impl LineDisplayWindow { } } } -impl ::core::cmp::PartialEq for LineDisplayWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LineDisplayWindow {} -impl ::core::fmt::Debug for LineDisplayWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LineDisplayWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LineDisplayWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.LineDisplayWindow;{d21feef4-2364-4be5-bee1-851680af4964})"); } -impl ::core::clone::Clone for LineDisplayWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LineDisplayWindow { type Vtable = ILineDisplayWindow_Vtbl; } @@ -9267,6 +8155,7 @@ unsafe impl ::core::marker::Send for LineDisplayWindow {} unsafe impl ::core::marker::Sync for LineDisplayWindow {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReader(::windows_core::IUnknown); impl MagneticStripeReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -9397,25 +8286,9 @@ impl MagneticStripeReader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MagneticStripeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReader {} -impl ::core::fmt::Debug for MagneticStripeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReader;{1a92b015-47c3-468a-9333-0c6517574883})"); } -impl ::core::clone::Clone for MagneticStripeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReader { type Vtable = IMagneticStripeReader_Vtbl; } @@ -9432,6 +8305,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReader {} unsafe impl ::core::marker::Sync for MagneticStripeReader {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderAamvaCardDataReceivedEventArgs(::windows_core::IUnknown); impl MagneticStripeReaderAamvaCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows_core::Result { @@ -9568,25 +8442,9 @@ impl MagneticStripeReaderAamvaCardDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderAamvaCardDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderAamvaCardDataReceivedEventArgs {} -impl ::core::fmt::Debug for MagneticStripeReaderAamvaCardDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderAamvaCardDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderAamvaCardDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs;{0a4bbd51-c316-4910-87f3-7a62ba862d31})"); } -impl ::core::clone::Clone for MagneticStripeReaderAamvaCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderAamvaCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl; } @@ -9601,6 +8459,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderAamvaCardDataReceivedEv unsafe impl ::core::marker::Sync for MagneticStripeReaderAamvaCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderBankCardDataReceivedEventArgs(::windows_core::IUnknown); impl MagneticStripeReaderBankCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows_core::Result { @@ -9667,25 +8526,9 @@ impl MagneticStripeReaderBankCardDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderBankCardDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderBankCardDataReceivedEventArgs {} -impl ::core::fmt::Debug for MagneticStripeReaderBankCardDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderBankCardDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderBankCardDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs;{2e958823-a31a-4763-882c-23725e39b08e})"); } -impl ::core::clone::Clone for MagneticStripeReaderBankCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderBankCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl; } @@ -9700,6 +8543,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderBankCardDataReceivedEve unsafe impl ::core::marker::Sync for MagneticStripeReaderBankCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderCapabilities(::windows_core::IUnknown); impl MagneticStripeReaderCapabilities { pub fn CardAuthentication(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9780,25 +8624,9 @@ impl MagneticStripeReaderCapabilities { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderCapabilities {} -impl ::core::fmt::Debug for MagneticStripeReaderCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderCapabilities;{7128809c-c440-44a2-a467-469175d02896})"); } -impl ::core::clone::Clone for MagneticStripeReaderCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderCapabilities { type Vtable = IMagneticStripeReaderCapabilities_Vtbl; } @@ -9879,6 +8707,7 @@ impl ::windows_core::RuntimeName for MagneticStripeReaderEncryptionAlgorithms { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderErrorOccurredEventArgs(::windows_core::IUnknown); impl MagneticStripeReaderErrorOccurredEventArgs { pub fn Track1Status(&self) -> ::windows_core::Result { @@ -9924,25 +8753,9 @@ impl MagneticStripeReaderErrorOccurredEventArgs { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderErrorOccurredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderErrorOccurredEventArgs {} -impl ::core::fmt::Debug for MagneticStripeReaderErrorOccurredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderErrorOccurredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderErrorOccurredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs;{1fedf95d-2c84-41ad-b778-f2356a789ab1})"); } -impl ::core::clone::Clone for MagneticStripeReaderErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderErrorOccurredEventArgs { type Vtable = IMagneticStripeReaderErrorOccurredEventArgs_Vtbl; } @@ -9957,6 +8770,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderErrorOccurredEventArgs unsafe impl ::core::marker::Sync for MagneticStripeReaderErrorOccurredEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderReport(::windows_core::IUnknown); impl MagneticStripeReaderReport { pub fn CardType(&self) -> ::windows_core::Result { @@ -10029,25 +8843,9 @@ impl MagneticStripeReaderReport { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderReport {} -impl ::core::fmt::Debug for MagneticStripeReaderReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderReport;{6a5b6047-99b0-4188-bef1-eddf79f78fe6})"); } -impl ::core::clone::Clone for MagneticStripeReaderReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderReport { type Vtable = IMagneticStripeReaderReport_Vtbl; } @@ -10062,6 +8860,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderReport {} unsafe impl ::core::marker::Sync for MagneticStripeReaderReport {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderStatusUpdatedEventArgs(::windows_core::IUnknown); impl MagneticStripeReaderStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -10079,25 +8878,9 @@ impl MagneticStripeReaderStatusUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderStatusUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderStatusUpdatedEventArgs {} -impl ::core::fmt::Debug for MagneticStripeReaderStatusUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderStatusUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderStatusUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs;{09cc6bb0-3262-401d-9e8a-e80d6358906b})"); } -impl ::core::clone::Clone for MagneticStripeReaderStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderStatusUpdatedEventArgs { type Vtable = IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl; } @@ -10112,6 +8895,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderStatusUpdatedEventArgs unsafe impl ::core::marker::Sync for MagneticStripeReaderStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderTrackData(::windows_core::IUnknown); impl MagneticStripeReaderTrackData { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -10142,25 +8926,9 @@ impl MagneticStripeReaderTrackData { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderTrackData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderTrackData {} -impl ::core::fmt::Debug for MagneticStripeReaderTrackData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderTrackData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderTrackData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderTrackData;{104cf671-4a9d-446e-abc5-20402307ba36})"); } -impl ::core::clone::Clone for MagneticStripeReaderTrackData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderTrackData { type Vtable = IMagneticStripeReaderTrackData_Vtbl; } @@ -10175,6 +8943,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderTrackData {} unsafe impl ::core::marker::Sync for MagneticStripeReaderTrackData {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs(::windows_core::IUnknown); impl MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { pub fn Report(&self) -> ::windows_core::Result { @@ -10185,25 +8954,9 @@ impl MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs {} -impl ::core::fmt::Debug for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs;{af0a5514-59cc-4a60-99e8-99a53dace5aa})"); } -impl ::core::clone::Clone for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs { type Vtable = IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_Vtbl; } @@ -10218,6 +8971,7 @@ unsafe impl ::core::marker::Send for MagneticStripeReaderVendorSpecificCardDataR unsafe impl ::core::marker::Sync for MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinter(::windows_core::IUnknown); impl PosPrinter { #[doc = "*Required features: `\"Foundation\"`*"] @@ -10368,25 +9122,9 @@ impl PosPrinter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PosPrinter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinter {} -impl ::core::fmt::Debug for PosPrinter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinter;{2a03c10e-9a19-4a01-994f-12dfad6adcbf})"); } -impl ::core::clone::Clone for PosPrinter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinter { type Vtable = IPosPrinter_Vtbl; } @@ -10403,6 +9141,7 @@ unsafe impl ::core::marker::Send for PosPrinter {} unsafe impl ::core::marker::Sync for PosPrinter {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterCapabilities(::windows_core::IUnknown); impl PosPrinterCapabilities { pub fn PowerReportingType(&self) -> ::windows_core::Result { @@ -10476,25 +9215,9 @@ impl PosPrinterCapabilities { } } } -impl ::core::cmp::PartialEq for PosPrinterCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterCapabilities {} -impl ::core::fmt::Debug for PosPrinterCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterCapabilities;{cde95721-4380-4985-adc5-39db30cd93bc})"); } -impl ::core::clone::Clone for PosPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterCapabilities { type Vtable = IPosPrinterCapabilities_Vtbl; } @@ -10539,6 +9262,7 @@ impl ::windows_core::RuntimeName for PosPrinterCharacterSetIds { } #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterFontProperty(::windows_core::IUnknown); impl PosPrinterFontProperty { pub fn TypeFace(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -10565,25 +9289,9 @@ impl PosPrinterFontProperty { } } } -impl ::core::cmp::PartialEq for PosPrinterFontProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterFontProperty {} -impl ::core::fmt::Debug for PosPrinterFontProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterFontProperty").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterFontProperty { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterFontProperty;{a7f4e93a-f8ac-5f04-84d2-29b16d8a633c})"); } -impl ::core::clone::Clone for PosPrinterFontProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterFontProperty { type Vtable = IPosPrinterFontProperty_Vtbl; } @@ -10598,6 +9306,7 @@ unsafe impl ::core::marker::Send for PosPrinterFontProperty {} unsafe impl ::core::marker::Sync for PosPrinterFontProperty {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterPrintOptions(::windows_core::IUnknown); impl PosPrinterPrintOptions { pub fn new() -> ::windows_core::Result { @@ -10751,25 +9460,9 @@ impl PosPrinterPrintOptions { unsafe { (::windows_core::Interface::vtable(this).SetCharacterSet)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PosPrinterPrintOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterPrintOptions {} -impl ::core::fmt::Debug for PosPrinterPrintOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterPrintOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterPrintOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterPrintOptions;{0a2e16fd-1d02-5a58-9d59-bfcde76fde86})"); } -impl ::core::clone::Clone for PosPrinterPrintOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterPrintOptions { type Vtable = IPosPrinterPrintOptions_Vtbl; } @@ -10784,27 +9477,12 @@ unsafe impl ::core::marker::Send for PosPrinterPrintOptions {} unsafe impl ::core::marker::Sync for PosPrinterPrintOptions {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterReleaseDeviceRequestedEventArgs(::windows_core::IUnknown); impl PosPrinterReleaseDeviceRequestedEventArgs {} -impl ::core::cmp::PartialEq for PosPrinterReleaseDeviceRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterReleaseDeviceRequestedEventArgs {} -impl ::core::fmt::Debug for PosPrinterReleaseDeviceRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterReleaseDeviceRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterReleaseDeviceRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterReleaseDeviceRequestedEventArgs;{2bcba359-1cef-40b2-9ecb-f927f856ae3c})"); } -impl ::core::clone::Clone for PosPrinterReleaseDeviceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterReleaseDeviceRequestedEventArgs { type Vtable = IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl; } @@ -10819,6 +9497,7 @@ unsafe impl ::core::marker::Send for PosPrinterReleaseDeviceRequestedEventArgs { unsafe impl ::core::marker::Sync for PosPrinterReleaseDeviceRequestedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterStatus(::windows_core::IUnknown); impl PosPrinterStatus { pub fn StatusKind(&self) -> ::windows_core::Result { @@ -10836,25 +9515,9 @@ impl PosPrinterStatus { } } } -impl ::core::cmp::PartialEq for PosPrinterStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterStatus {} -impl ::core::fmt::Debug for PosPrinterStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatus;{d1f0c730-da40-4328-bf76-5156fa33b747})"); } -impl ::core::clone::Clone for PosPrinterStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterStatus { type Vtable = IPosPrinterStatus_Vtbl; } @@ -10869,6 +9532,7 @@ unsafe impl ::core::marker::Send for PosPrinterStatus {} unsafe impl ::core::marker::Sync for PosPrinterStatus {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PosPrinterStatusUpdatedEventArgs(::windows_core::IUnknown); impl PosPrinterStatusUpdatedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -10879,25 +9543,9 @@ impl PosPrinterStatusUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for PosPrinterStatusUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PosPrinterStatusUpdatedEventArgs {} -impl ::core::fmt::Debug for PosPrinterStatusUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PosPrinterStatusUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PosPrinterStatusUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.PosPrinterStatusUpdatedEventArgs;{2edb87df-13a6-428d-ba81-b0e7c3e5a3cd})"); } -impl ::core::clone::Clone for PosPrinterStatusUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PosPrinterStatusUpdatedEventArgs { type Vtable = IPosPrinterStatusUpdatedEventArgs_Vtbl; } @@ -10912,6 +9560,7 @@ unsafe impl ::core::marker::Send for PosPrinterStatusUpdatedEventArgs {} unsafe impl ::core::marker::Sync for PosPrinterStatusUpdatedEventArgs {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ReceiptPrintJob(::windows_core::IUnknown); impl ReceiptPrintJob { pub fn Print(&self, data: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -11069,25 +9718,9 @@ impl ReceiptPrintJob { unsafe { (::windows_core::Interface::vtable(this).FeedPaperByMapModeUnit)(::windows_core::Interface::as_raw(this), distance).ok() } } } -impl ::core::cmp::PartialEq for ReceiptPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ReceiptPrintJob {} -impl ::core::fmt::Debug for ReceiptPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ReceiptPrintJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ReceiptPrintJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrintJob;{aa96066e-acad-4b79-9d0f-c0cfc08dc77b})"); } -impl ::core::clone::Clone for ReceiptPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ReceiptPrintJob { type Vtable = IReceiptPrintJob_Vtbl; } @@ -11104,6 +9737,7 @@ unsafe impl ::core::marker::Send for ReceiptPrintJob {} unsafe impl ::core::marker::Sync for ReceiptPrintJob {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ReceiptPrinterCapabilities(::windows_core::IUnknown); impl ReceiptPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows_core::Result { @@ -11330,25 +9964,9 @@ impl ReceiptPrinterCapabilities { } } } -impl ::core::cmp::PartialEq for ReceiptPrinterCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ReceiptPrinterCapabilities {} -impl ::core::fmt::Debug for ReceiptPrinterCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ReceiptPrinterCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ReceiptPrinterCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.ReceiptPrinterCapabilities;{b8f0b58f-51a8-43fc-9bd5-8de272a6415b})"); } -impl ::core::clone::Clone for ReceiptPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ReceiptPrinterCapabilities { type Vtable = IReceiptPrinterCapabilities_Vtbl; } @@ -11365,6 +9983,7 @@ unsafe impl ::core::marker::Send for ReceiptPrinterCapabilities {} unsafe impl ::core::marker::Sync for ReceiptPrinterCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SlipPrintJob(::windows_core::IUnknown); impl SlipPrintJob { pub fn Print(&self, data: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -11506,25 +10125,9 @@ impl SlipPrintJob { unsafe { (::windows_core::Interface::vtable(this).FeedPaperByMapModeUnit)(::windows_core::Interface::as_raw(this), distance).ok() } } } -impl ::core::cmp::PartialEq for SlipPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SlipPrintJob {} -impl ::core::fmt::Debug for SlipPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SlipPrintJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SlipPrintJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrintJob;{532199be-c8c3-4dc2-89e9-5c4a37b34ddc})"); } -impl ::core::clone::Clone for SlipPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SlipPrintJob { type Vtable = IReceiptOrSlipJob_Vtbl; } @@ -11541,6 +10144,7 @@ unsafe impl ::core::marker::Send for SlipPrintJob {} unsafe impl ::core::marker::Sync for SlipPrintJob {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SlipPrinterCapabilities(::windows_core::IUnknown); impl SlipPrinterCapabilities { pub fn IsPrinterPresent(&self) -> ::windows_core::Result { @@ -11760,25 +10364,9 @@ impl SlipPrinterCapabilities { } } } -impl ::core::cmp::PartialEq for SlipPrinterCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SlipPrinterCapabilities {} -impl ::core::fmt::Debug for SlipPrinterCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SlipPrinterCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SlipPrinterCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.SlipPrinterCapabilities;{99b16399-488c-4157-8ac2-9f57f708d3db})"); } -impl ::core::clone::Clone for SlipPrinterCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SlipPrinterCapabilities { type Vtable = ISlipPrinterCapabilities_Vtbl; } @@ -11795,6 +10383,7 @@ unsafe impl ::core::marker::Send for SlipPrinterCapabilities {} unsafe impl ::core::marker::Sync for SlipPrinterCapabilities {} #[doc = "*Required features: `\"Devices_PointOfService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnifiedPosErrorData(::windows_core::IUnknown); impl UnifiedPosErrorData { pub fn Message(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -11837,25 +10426,9 @@ impl UnifiedPosErrorData { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UnifiedPosErrorData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UnifiedPosErrorData {} -impl ::core::fmt::Debug for UnifiedPosErrorData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnifiedPosErrorData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UnifiedPosErrorData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.PointOfService.UnifiedPosErrorData;{2b998c3a-555c-4889-8ed8-c599bb3a712a})"); } -impl ::core::clone::Clone for UnifiedPosErrorData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UnifiedPosErrorData { type Vtable = IUnifiedPosErrorData_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs index 5e4dffaf1c..f4a1542a3e 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServiceDeviceStatics { type Vtable = IServiceDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IServiceDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa88214e1_59c7_4a20_aba6_9f6707937230); } @@ -21,15 +17,11 @@ pub struct IServiceDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageDeviceStatics { type Vtable = IStorageDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IStorageDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ece44ee_1b23_4dd2_8652_bc164f003128); } diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index bc30cbd336..e842db555d 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBattery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBattery { type Vtable = IBattery_Vtbl; } -impl ::core::clone::Clone for IBattery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBattery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc894fc6_0072_47c8_8b5d_614aaa7a437e); } @@ -29,15 +25,11 @@ pub struct IBattery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBatteryReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBatteryReport { type Vtable = IBatteryReport_Vtbl; } -impl ::core::clone::Clone for IBatteryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBatteryReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9858c3a_4e13_420a_a8d0_24f18f395401); } @@ -68,15 +60,11 @@ pub struct IBatteryReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBatteryStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBatteryStatics { type Vtable = IBatteryStatics_Vtbl; } -impl ::core::clone::Clone for IBatteryStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBatteryStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79cd72b6_9e5e_4452_bea6_dfcd541e597f); } @@ -93,6 +81,7 @@ pub struct IBatteryStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Power\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Battery(::windows_core::IUnknown); impl Battery { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -153,25 +142,9 @@ impl Battery { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Battery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Battery {} -impl ::core::fmt::Debug for Battery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Battery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Battery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.Battery;{bc894fc6-0072-47c8-8b5d-614aaa7a437e})"); } -impl ::core::clone::Clone for Battery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Battery { type Vtable = IBattery_Vtbl; } @@ -186,6 +159,7 @@ unsafe impl ::core::marker::Send for Battery {} unsafe impl ::core::marker::Sync for Battery {} #[doc = "*Required features: `\"Devices_Power\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BatteryReport(::windows_core::IUnknown); impl BatteryReport { #[doc = "*Required features: `\"Foundation\"`*"] @@ -234,25 +208,9 @@ impl BatteryReport { } } } -impl ::core::cmp::PartialEq for BatteryReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BatteryReport {} -impl ::core::fmt::Debug for BatteryReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BatteryReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BatteryReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Power.BatteryReport;{c9858c3a-4e13-420a-a8d0-24f18f395401})"); } -impl ::core::clone::Clone for BatteryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BatteryReport { type Vtable = IBatteryReport_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs index 8be905eb1c..ddc77f70a7 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DWorkflow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DWorkflow { type Vtable = IPrint3DWorkflow_Vtbl; } -impl ::core::clone::Clone for IPrint3DWorkflow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DWorkflow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc56f74bd_3669_4a66_ab42_c8151930cd34); } @@ -31,15 +27,11 @@ pub struct IPrint3DWorkflow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DWorkflow2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DWorkflow2 { type Vtable = IPrint3DWorkflow2_Vtbl; } -impl ::core::clone::Clone for IPrint3DWorkflow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DWorkflow2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2a6c54f_8ac1_4918_9741_e34f3004239e); } @@ -58,15 +50,11 @@ pub struct IPrint3DWorkflow2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DWorkflowPrintRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DWorkflowPrintRequestedEventArgs { type Vtable = IPrint3DWorkflowPrintRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DWorkflowPrintRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DWorkflowPrintRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19f8c858_5ac8_4b55_8a5f_e61567dafb4d); } @@ -81,15 +69,11 @@ pub struct IPrint3DWorkflowPrintRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DWorkflowPrinterChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DWorkflowPrinterChangedEventArgs { type Vtable = IPrint3DWorkflowPrinterChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DWorkflowPrinterChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DWorkflowPrinterChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45226402_95fc_4847_93b3_134dbf5c60f7); } @@ -101,15 +85,11 @@ pub struct IPrint3DWorkflowPrinterChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintExtensionContextStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintExtensionContextStatic { type Vtable = IPrintExtensionContextStatic_Vtbl; } -impl ::core::clone::Clone for IPrintExtensionContextStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintExtensionContextStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe70d9fc1_ff79_4aa4_8c9b_0c93aedfde8a); } @@ -121,15 +101,11 @@ pub struct IPrintExtensionContextStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintNotificationEventDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintNotificationEventDetails { type Vtable = IPrintNotificationEventDetails_Vtbl; } -impl ::core::clone::Clone for IPrintNotificationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintNotificationEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe00e4c8a_4828_4da1_8bb8_8672df8515e7); } @@ -143,15 +119,11 @@ pub struct IPrintNotificationEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskConfiguration { type Vtable = IPrintTaskConfiguration_Vtbl; } -impl ::core::clone::Clone for IPrintTaskConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3c22451_3aa4_4885_9240_311f5f8fbe9d); } @@ -171,15 +143,11 @@ pub struct IPrintTaskConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskConfigurationSaveRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskConfigurationSaveRequest { type Vtable = IPrintTaskConfigurationSaveRequest_Vtbl; } -impl ::core::clone::Clone for IPrintTaskConfigurationSaveRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskConfigurationSaveRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeaf2fcb_621e_4b62_ac77_b281cce08d60); } @@ -197,15 +165,11 @@ pub struct IPrintTaskConfigurationSaveRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskConfigurationSaveRequestedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskConfigurationSaveRequestedDeferral { type Vtable = IPrintTaskConfigurationSaveRequestedDeferral_Vtbl; } -impl ::core::clone::Clone for IPrintTaskConfigurationSaveRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskConfigurationSaveRequestedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe959d568_f729_44a4_871d_bd0628696a33); } @@ -217,15 +181,11 @@ pub struct IPrintTaskConfigurationSaveRequestedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskConfigurationSaveRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskConfigurationSaveRequestedEventArgs { type Vtable = IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskConfigurationSaveRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskConfigurationSaveRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe06c2879_0d61_4938_91d0_96a45bee8479); } @@ -237,6 +197,7 @@ pub struct IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DWorkflow(::windows_core::IUnknown); impl Print3DWorkflow { pub fn DeviceID(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -301,25 +262,9 @@ impl Print3DWorkflow { unsafe { (::windows_core::Interface::vtable(this).RemovePrinterChanged)(::windows_core::Interface::as_raw(this), eventcookie).ok() } } } -impl ::core::cmp::PartialEq for Print3DWorkflow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DWorkflow {} -impl ::core::fmt::Debug for Print3DWorkflow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DWorkflow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DWorkflow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflow;{c56f74bd-3669-4a66-ab42-c8151930cd34})"); } -impl ::core::clone::Clone for Print3DWorkflow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DWorkflow { type Vtable = IPrint3DWorkflow_Vtbl; } @@ -334,6 +279,7 @@ unsafe impl ::core::marker::Send for Print3DWorkflow {} unsafe impl ::core::marker::Sync for Print3DWorkflow {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DWorkflowPrintRequestedEventArgs(::windows_core::IUnknown); impl Print3DWorkflowPrintRequestedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -359,25 +305,9 @@ impl Print3DWorkflowPrintRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetSourceChanged)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Print3DWorkflowPrintRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DWorkflowPrintRequestedEventArgs {} -impl ::core::fmt::Debug for Print3DWorkflowPrintRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DWorkflowPrintRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DWorkflowPrintRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrintRequestedEventArgs;{19f8c858-5ac8-4b55-8a5f-e61567dafb4d})"); } -impl ::core::clone::Clone for Print3DWorkflowPrintRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DWorkflowPrintRequestedEventArgs { type Vtable = IPrint3DWorkflowPrintRequestedEventArgs_Vtbl; } @@ -392,6 +322,7 @@ unsafe impl ::core::marker::Send for Print3DWorkflowPrintRequestedEventArgs {} unsafe impl ::core::marker::Sync for Print3DWorkflowPrintRequestedEventArgs {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DWorkflowPrinterChangedEventArgs(::windows_core::IUnknown); impl Print3DWorkflowPrinterChangedEventArgs { pub fn NewDeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -402,25 +333,9 @@ impl Print3DWorkflowPrinterChangedEventArgs { } } } -impl ::core::cmp::PartialEq for Print3DWorkflowPrinterChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DWorkflowPrinterChangedEventArgs {} -impl ::core::fmt::Debug for Print3DWorkflowPrinterChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DWorkflowPrinterChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DWorkflowPrinterChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.Print3DWorkflowPrinterChangedEventArgs;{45226402-95fc-4847-93b3-134dbf5c60f7})"); } -impl ::core::clone::Clone for Print3DWorkflowPrinterChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DWorkflowPrinterChangedEventArgs { type Vtable = IPrint3DWorkflowPrinterChangedEventArgs_Vtbl; } @@ -453,6 +368,7 @@ impl ::windows_core::RuntimeName for PrintExtensionContext { } #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintNotificationEventDetails(::windows_core::IUnknown); impl PrintNotificationEventDetails { pub fn PrinterName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -474,25 +390,9 @@ impl PrintNotificationEventDetails { unsafe { (::windows_core::Interface::vtable(this).SetEventData)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for PrintNotificationEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintNotificationEventDetails {} -impl ::core::fmt::Debug for PrintNotificationEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintNotificationEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintNotificationEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintNotificationEventDetails;{e00e4c8a-4828-4da1-8bb8-8672df8515e7})"); } -impl ::core::clone::Clone for PrintNotificationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintNotificationEventDetails { type Vtable = IPrintNotificationEventDetails_Vtbl; } @@ -507,6 +407,7 @@ unsafe impl ::core::marker::Send for PrintNotificationEventDetails {} unsafe impl ::core::marker::Sync for PrintNotificationEventDetails {} #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskConfiguration(::windows_core::IUnknown); impl PrintTaskConfiguration { pub fn PrinterExtensionContext(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -535,25 +436,9 @@ impl PrintTaskConfiguration { unsafe { (::windows_core::Interface::vtable(this).RemoveSaveRequested)(::windows_core::Interface::as_raw(this), eventcookie).ok() } } } -impl ::core::cmp::PartialEq for PrintTaskConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskConfiguration {} -impl ::core::fmt::Debug for PrintTaskConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfiguration;{e3c22451-3aa4-4885-9240-311f5f8fbe9d})"); } -impl ::core::clone::Clone for PrintTaskConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskConfiguration { type Vtable = IPrintTaskConfiguration_Vtbl; } @@ -566,6 +451,7 @@ impl ::windows_core::RuntimeName for PrintTaskConfiguration { ::windows_core::imp::interface_hierarchy!(PrintTaskConfiguration, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskConfigurationSaveRequest(::windows_core::IUnknown); impl PrintTaskConfigurationSaveRequest { pub fn Cancel(&self) -> ::windows_core::Result<()> { @@ -596,25 +482,9 @@ impl PrintTaskConfigurationSaveRequest { } } } -impl ::core::cmp::PartialEq for PrintTaskConfigurationSaveRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskConfigurationSaveRequest {} -impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskConfigurationSaveRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskConfigurationSaveRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequest;{eeaf2fcb-621e-4b62-ac77-b281cce08d60})"); } -impl ::core::clone::Clone for PrintTaskConfigurationSaveRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskConfigurationSaveRequest { type Vtable = IPrintTaskConfigurationSaveRequest_Vtbl; } @@ -627,6 +497,7 @@ impl ::windows_core::RuntimeName for PrintTaskConfigurationSaveRequest { ::windows_core::imp::interface_hierarchy!(PrintTaskConfigurationSaveRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskConfigurationSaveRequestedDeferral(::windows_core::IUnknown); impl PrintTaskConfigurationSaveRequestedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -634,25 +505,9 @@ impl PrintTaskConfigurationSaveRequestedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintTaskConfigurationSaveRequestedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskConfigurationSaveRequestedDeferral {} -impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequestedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskConfigurationSaveRequestedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskConfigurationSaveRequestedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedDeferral;{e959d568-f729-44a4-871d-bd0628696a33})"); } -impl ::core::clone::Clone for PrintTaskConfigurationSaveRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskConfigurationSaveRequestedDeferral { type Vtable = IPrintTaskConfigurationSaveRequestedDeferral_Vtbl; } @@ -665,6 +520,7 @@ impl ::windows_core::RuntimeName for PrintTaskConfigurationSaveRequestedDeferral ::windows_core::imp::interface_hierarchy!(PrintTaskConfigurationSaveRequestedDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Printers_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskConfigurationSaveRequestedEventArgs(::windows_core::IUnknown); impl PrintTaskConfigurationSaveRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -675,25 +531,9 @@ impl PrintTaskConfigurationSaveRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskConfigurationSaveRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskConfigurationSaveRequestedEventArgs {} -impl ::core::fmt::Debug for PrintTaskConfigurationSaveRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskConfigurationSaveRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskConfigurationSaveRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Extensions.PrintTaskConfigurationSaveRequestedEventArgs;{e06c2879-0d61-4938-91d0-96a45bee8479})"); } -impl ::core::clone::Clone for PrintTaskConfigurationSaveRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskConfigurationSaveRequestedEventArgs { type Vtable = IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index 7480a7de14..4474dd8bbb 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -2,15 +2,11 @@ pub mod Extensions; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppAttributeError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppAttributeError { type Vtable = IIppAttributeError_Vtbl; } -impl ::core::clone::Clone for IIppAttributeError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppAttributeError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x750feda1_9eef_5c39_93e4_46149bbcef27); } @@ -27,15 +23,11 @@ pub struct IIppAttributeError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppAttributeValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppAttributeValue { type Vtable = IIppAttributeValue_Vtbl; } -impl ::core::clone::Clone for IIppAttributeValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppAttributeValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99407fed_e2bb_59a3_988b_28a974052a26); } @@ -119,15 +111,11 @@ pub struct IIppAttributeValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppAttributeValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppAttributeValueStatics { type Vtable = IIppAttributeValueStatics_Vtbl; } -impl ::core::clone::Clone for IIppAttributeValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppAttributeValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10d43942_dd94_5998_b235_afafb6fa7935); } @@ -243,15 +231,11 @@ pub struct IIppAttributeValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppIntegerRange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppIntegerRange { type Vtable = IIppIntegerRange_Vtbl; } -impl ::core::clone::Clone for IIppIntegerRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppIntegerRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92907346_c3ea_5ed6_bdb1_3752c62c6f7f); } @@ -264,15 +248,11 @@ pub struct IIppIntegerRange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppIntegerRangeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppIntegerRangeFactory { type Vtable = IIppIntegerRangeFactory_Vtbl; } -impl ::core::clone::Clone for IIppIntegerRangeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppIntegerRangeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75d4ecae_f87e_54ad_b5d0_465204db7553); } @@ -284,15 +264,11 @@ pub struct IIppIntegerRangeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppPrintDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppPrintDevice { type Vtable = IIppPrintDevice_Vtbl; } -impl ::core::clone::Clone for IIppPrintDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppPrintDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd748ac56_76f3_5dc6_afd4_c2a8686b9359); } @@ -324,15 +300,11 @@ pub struct IIppPrintDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppPrintDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppPrintDevice2 { type Vtable = IIppPrintDevice2_Vtbl; } -impl ::core::clone::Clone for IIppPrintDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppPrintDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7c844c9_9d21_5c63_ac20_3676915be2d7); } @@ -347,15 +319,11 @@ pub struct IIppPrintDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppPrintDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppPrintDeviceStatics { type Vtable = IIppPrintDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IIppPrintDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppPrintDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dc19f08_7f20_52ab_94a7_894b83b2a17e); } @@ -370,15 +338,11 @@ pub struct IIppPrintDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppResolution(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppResolution { type Vtable = IIppResolution_Vtbl; } -impl ::core::clone::Clone for IIppResolution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppResolution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb493f86_6bf3_56f5_86ce_263d08aead63); } @@ -392,15 +356,11 @@ pub struct IIppResolution_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppResolutionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppResolutionFactory { type Vtable = IIppResolutionFactory_Vtbl; } -impl ::core::clone::Clone for IIppResolutionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppResolutionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe481c2ae_251a_5326_b173_95543ed99a35); } @@ -412,15 +372,11 @@ pub struct IIppResolutionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppSetAttributesResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppSetAttributesResult { type Vtable = IIppSetAttributesResult_Vtbl; } -impl ::core::clone::Clone for IIppSetAttributesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppSetAttributesResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d1c7f55_aa9d_58a3_90e9_17bdc5281f07); } @@ -436,15 +392,11 @@ pub struct IIppSetAttributesResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppTextWithLanguage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppTextWithLanguage { type Vtable = IIppTextWithLanguage_Vtbl; } -impl ::core::clone::Clone for IIppTextWithLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppTextWithLanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x326447a6_5149_5936_90e8_0c736036bf77); } @@ -457,15 +409,11 @@ pub struct IIppTextWithLanguage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIppTextWithLanguageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIppTextWithLanguageFactory { type Vtable = IIppTextWithLanguageFactory_Vtbl; } -impl ::core::clone::Clone for IIppTextWithLanguageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIppTextWithLanguageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca4a1e8d_2968_5775_997c_8a46f1a574ed); } @@ -477,15 +425,11 @@ pub struct IIppTextWithLanguageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPageConfigurationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPageConfigurationSettings { type Vtable = IPageConfigurationSettings_Vtbl; } -impl ::core::clone::Clone for IPageConfigurationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPageConfigurationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6fc1e02_5331_54ff_95a0_1fcb76bb97a9); } @@ -500,15 +444,11 @@ pub struct IPageConfigurationSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdlPassthroughProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdlPassthroughProvider { type Vtable = IPdlPassthroughProvider_Vtbl; } -impl ::core::clone::Clone for IPdlPassthroughProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdlPassthroughProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23c71dd2_6117_553f_9378_180af5849a49); } @@ -531,15 +471,11 @@ pub struct IPdlPassthroughProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdlPassthroughTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPdlPassthroughTarget { type Vtable = IPdlPassthroughTarget_Vtbl; } -impl ::core::clone::Clone for IPdlPassthroughTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdlPassthroughTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9840be79_67f8_5385_a5b9_e8c96e0fca76); } @@ -556,15 +492,11 @@ pub struct IPdlPassthroughTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DDevice { type Vtable = IPrint3DDevice_Vtbl; } -impl ::core::clone::Clone for IPrint3DDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x041c3d19_9713_42a2_9813_7dc3337428d3); } @@ -576,15 +508,11 @@ pub struct IPrint3DDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DDeviceStatics { type Vtable = IPrint3DDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IPrint3DDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfde3620a_67cd_41b7_a344_5150a1fd75b5); } @@ -600,15 +528,11 @@ pub struct IPrint3DDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchema(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSchema { type Vtable = IPrintSchema_Vtbl; } -impl ::core::clone::Clone for IPrintSchema { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSchema { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2b98316_26b8_4bfb_8138_9f962c22a35b); } @@ -631,6 +555,7 @@ pub struct IPrintSchema_Vtbl { } #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppAttributeError(::windows_core::IUnknown); impl IppAttributeError { pub fn Reason(&self) -> ::windows_core::Result { @@ -657,25 +582,9 @@ impl IppAttributeError { } } } -impl ::core::cmp::PartialEq for IppAttributeError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppAttributeError {} -impl ::core::fmt::Debug for IppAttributeError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppAttributeError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppAttributeError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeError;{750feda1-9eef-5c39-93e4-46149bbcef27})"); } -impl ::core::clone::Clone for IppAttributeError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppAttributeError { type Vtable = IIppAttributeError_Vtbl; } @@ -690,6 +599,7 @@ unsafe impl ::core::marker::Send for IppAttributeError {} unsafe impl ::core::marker::Sync for IppAttributeError {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppAttributeValue(::windows_core::IUnknown); impl IppAttributeValue { pub fn Kind(&self) -> ::windows_core::Result { @@ -1220,25 +1130,9 @@ impl IppAttributeValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IppAttributeValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppAttributeValue {} -impl ::core::fmt::Debug for IppAttributeValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppAttributeValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppAttributeValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppAttributeValue;{99407fed-e2bb-59a3-988b-28a974052a26})"); } -impl ::core::clone::Clone for IppAttributeValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppAttributeValue { type Vtable = IIppAttributeValue_Vtbl; } @@ -1253,6 +1147,7 @@ unsafe impl ::core::marker::Send for IppAttributeValue {} unsafe impl ::core::marker::Sync for IppAttributeValue {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppIntegerRange(::windows_core::IUnknown); impl IppIntegerRange { pub fn Start(&self) -> ::windows_core::Result { @@ -1281,25 +1176,9 @@ impl IppIntegerRange { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IppIntegerRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppIntegerRange {} -impl ::core::fmt::Debug for IppIntegerRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppIntegerRange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppIntegerRange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppIntegerRange;{92907346-c3ea-5ed6-bdb1-3752c62c6f7f})"); } -impl ::core::clone::Clone for IppIntegerRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppIntegerRange { type Vtable = IIppIntegerRange_Vtbl; } @@ -1314,6 +1193,7 @@ unsafe impl ::core::marker::Send for IppIntegerRange {} unsafe impl ::core::marker::Sync for IppIntegerRange {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppPrintDevice(::windows_core::IUnknown); impl IppPrintDevice { pub fn PrinterName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1438,25 +1318,9 @@ impl IppPrintDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IppPrintDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppPrintDevice {} -impl ::core::fmt::Debug for IppPrintDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppPrintDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppPrintDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppPrintDevice;{d748ac56-76f3-5dc6-afd4-c2a8686b9359})"); } -impl ::core::clone::Clone for IppPrintDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppPrintDevice { type Vtable = IIppPrintDevice_Vtbl; } @@ -1471,6 +1335,7 @@ unsafe impl ::core::marker::Send for IppPrintDevice {} unsafe impl ::core::marker::Sync for IppPrintDevice {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppResolution(::windows_core::IUnknown); impl IppResolution { pub fn Width(&self) -> ::windows_core::Result { @@ -1506,25 +1371,9 @@ impl IppResolution { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IppResolution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppResolution {} -impl ::core::fmt::Debug for IppResolution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppResolution").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppResolution { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppResolution;{cb493f86-6bf3-56f5-86ce-263d08aead63})"); } -impl ::core::clone::Clone for IppResolution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppResolution { type Vtable = IIppResolution_Vtbl; } @@ -1539,6 +1388,7 @@ unsafe impl ::core::marker::Send for IppResolution {} unsafe impl ::core::marker::Sync for IppResolution {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppSetAttributesResult(::windows_core::IUnknown); impl IppSetAttributesResult { pub fn Succeeded(&self) -> ::windows_core::Result { @@ -1558,25 +1408,9 @@ impl IppSetAttributesResult { } } } -impl ::core::cmp::PartialEq for IppSetAttributesResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppSetAttributesResult {} -impl ::core::fmt::Debug for IppSetAttributesResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppSetAttributesResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppSetAttributesResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppSetAttributesResult;{7d1c7f55-aa9d-58a3-90e9-17bdc5281f07})"); } -impl ::core::clone::Clone for IppSetAttributesResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppSetAttributesResult { type Vtable = IIppSetAttributesResult_Vtbl; } @@ -1591,6 +1425,7 @@ unsafe impl ::core::marker::Send for IppSetAttributesResult {} unsafe impl ::core::marker::Sync for IppSetAttributesResult {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IppTextWithLanguage(::windows_core::IUnknown); impl IppTextWithLanguage { pub fn Language(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1619,25 +1454,9 @@ impl IppTextWithLanguage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IppTextWithLanguage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IppTextWithLanguage {} -impl ::core::fmt::Debug for IppTextWithLanguage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IppTextWithLanguage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IppTextWithLanguage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.IppTextWithLanguage;{326447a6-5149-5936-90e8-0c736036bf77})"); } -impl ::core::clone::Clone for IppTextWithLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IppTextWithLanguage { type Vtable = IIppTextWithLanguage_Vtbl; } @@ -1652,6 +1471,7 @@ unsafe impl ::core::marker::Send for IppTextWithLanguage {} unsafe impl ::core::marker::Sync for IppTextWithLanguage {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PageConfigurationSettings(::windows_core::IUnknown); impl PageConfigurationSettings { pub fn new() -> ::windows_core::Result { @@ -1684,25 +1504,9 @@ impl PageConfigurationSettings { unsafe { (::windows_core::Interface::vtable(this).SetSizeSource)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PageConfigurationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PageConfigurationSettings {} -impl ::core::fmt::Debug for PageConfigurationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PageConfigurationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PageConfigurationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PageConfigurationSettings;{b6fc1e02-5331-54ff-95a0-1fcb76bb97a9})"); } -impl ::core::clone::Clone for PageConfigurationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PageConfigurationSettings { type Vtable = IPageConfigurationSettings_Vtbl; } @@ -1717,6 +1521,7 @@ unsafe impl ::core::marker::Send for PageConfigurationSettings {} unsafe impl ::core::marker::Sync for PageConfigurationSettings {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdlPassthroughProvider(::windows_core::IUnknown); impl PdlPassthroughProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1755,25 +1560,9 @@ impl PdlPassthroughProvider { } } } -impl ::core::cmp::PartialEq for PdlPassthroughProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdlPassthroughProvider {} -impl ::core::fmt::Debug for PdlPassthroughProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdlPassthroughProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdlPassthroughProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughProvider;{23c71dd2-6117-553f-9378-180af5849a49})"); } -impl ::core::clone::Clone for PdlPassthroughProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdlPassthroughProvider { type Vtable = IPdlPassthroughProvider_Vtbl; } @@ -1788,6 +1577,7 @@ unsafe impl ::core::marker::Send for PdlPassthroughProvider {} unsafe impl ::core::marker::Sync for PdlPassthroughProvider {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PdlPassthroughTarget(::windows_core::IUnknown); impl PdlPassthroughTarget { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1817,25 +1607,9 @@ impl PdlPassthroughTarget { unsafe { (::windows_core::Interface::vtable(this).Submit)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PdlPassthroughTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PdlPassthroughTarget {} -impl ::core::fmt::Debug for PdlPassthroughTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PdlPassthroughTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PdlPassthroughTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PdlPassthroughTarget;{9840be79-67f8-5385-a5b9-e8c96e0fca76})"); } -impl ::core::clone::Clone for PdlPassthroughTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PdlPassthroughTarget { type Vtable = IPdlPassthroughTarget_Vtbl; } @@ -1852,6 +1626,7 @@ unsafe impl ::core::marker::Send for PdlPassthroughTarget {} unsafe impl ::core::marker::Sync for PdlPassthroughTarget {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DDevice(::windows_core::IUnknown); impl Print3DDevice { pub fn PrintSchema(&self) -> ::windows_core::Result { @@ -1881,25 +1656,9 @@ impl Print3DDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Print3DDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DDevice {} -impl ::core::fmt::Debug for Print3DDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.Print3DDevice;{041c3d19-9713-42a2-9813-7dc3337428d3})"); } -impl ::core::clone::Clone for Print3DDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DDevice { type Vtable = IPrint3DDevice_Vtbl; } @@ -1914,6 +1673,7 @@ unsafe impl ::core::marker::Send for Print3DDevice {} unsafe impl ::core::marker::Sync for Print3DDevice {} #[doc = "*Required features: `\"Devices_Printers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSchema(::windows_core::IUnknown); impl PrintSchema { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -1950,25 +1710,9 @@ impl PrintSchema { } } } -impl ::core::cmp::PartialEq for PrintSchema { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSchema {} -impl ::core::fmt::Debug for PrintSchema { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSchema").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSchema { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Printers.PrintSchema;{c2b98316-26b8-4bfb-8138-9f962c22a35b})"); } -impl ::core::clone::Clone for PrintSchema { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSchema { type Vtable = IPrintSchema_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs index 99e8dfe0e1..e81b7d14be 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs @@ -110,8 +110,8 @@ impl IPwmControllerProvider_Vtbl { SetPulseParameters: SetPulseParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Pwm_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -140,7 +140,7 @@ impl IPwmProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs index 807ff8767c..cbb2bc31b7 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Devices_Pwm_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmControllerProvider(::windows_core::IUnknown); impl IPwmControllerProvider { pub fn PinCount(&self) -> ::windows_core::Result { @@ -59,28 +60,12 @@ impl IPwmControllerProvider { } } ::windows_core::imp::interface_hierarchy!(IPwmControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPwmControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPwmControllerProvider {} -impl ::core::fmt::Debug for IPwmControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPwmControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPwmControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1300593b-e2e3-40a4-b7d9-48dff0377a52}"); } unsafe impl ::windows_core::Interface for IPwmControllerProvider { type Vtable = IPwmControllerProvider_Vtbl; } -impl ::core::clone::Clone for IPwmControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1300593b_e2e3_40a4_b7d9_48dff0377a52); } @@ -101,6 +86,7 @@ pub struct IPwmControllerProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Pwm_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmProvider(::windows_core::IUnknown); impl IPwmProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -114,28 +100,12 @@ impl IPwmProvider { } } ::windows_core::imp::interface_hierarchy!(IPwmProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPwmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPwmProvider {} -impl ::core::fmt::Debug for IPwmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPwmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPwmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a3301228-52f1-47b0-9349-66ba43d25902}"); } unsafe impl ::windows_core::Interface for IPwmProvider { type Vtable = IPwmProvider_Vtbl; } -impl ::core::clone::Clone for IPwmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3301228_52f1_47b0_9349_66ba43d25902); } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 60adcce52b..74396ef233 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPwmController { type Vtable = IPwmController_Vtbl; } -impl ::core::clone::Clone for IPwmController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc45f5c85_d2e8_42cf_9bd6_cf5ed029e6a7); } @@ -27,15 +23,11 @@ pub struct IPwmController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPwmControllerStatics { type Vtable = IPwmControllerStatics_Vtbl; } -impl ::core::clone::Clone for IPwmControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4263bda1_8946_4404_bd48_81dd124af4d9); } @@ -50,15 +42,11 @@ pub struct IPwmControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmControllerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPwmControllerStatics2 { type Vtable = IPwmControllerStatics2_Vtbl; } -impl ::core::clone::Clone for IPwmControllerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmControllerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44fc5b1f_f119_4bdd_97ad_f76ef986736d); } @@ -73,15 +61,11 @@ pub struct IPwmControllerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmControllerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPwmControllerStatics3 { type Vtable = IPwmControllerStatics3_Vtbl; } -impl ::core::clone::Clone for IPwmControllerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmControllerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2581871_0229_4344_ae3f_9b7cd0e66b94); } @@ -98,15 +82,11 @@ pub struct IPwmControllerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPwmPin(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPwmPin { type Vtable = IPwmPin_Vtbl; } -impl ::core::clone::Clone for IPwmPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPwmPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22972dc8_c6cf_4821_b7f9_c6454fb6af79); } @@ -125,6 +105,7 @@ pub struct IPwmPin_Vtbl { } #[doc = "*Required features: `\"Devices_Pwm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PwmController(::windows_core::IUnknown); impl PwmController { pub fn PinCount(&self) -> ::windows_core::Result { @@ -224,25 +205,9 @@ impl PwmController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PwmController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PwmController {} -impl ::core::fmt::Debug for PwmController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PwmController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PwmController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmController;{c45f5c85-d2e8-42cf-9bd6-cf5ed029e6a7})"); } -impl ::core::clone::Clone for PwmController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PwmController { type Vtable = IPwmController_Vtbl; } @@ -257,6 +222,7 @@ unsafe impl ::core::marker::Send for PwmController {} unsafe impl ::core::marker::Sync for PwmController {} #[doc = "*Required features: `\"Devices_Pwm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PwmPin(::windows_core::IUnknown); impl PwmPin { #[doc = "*Required features: `\"Foundation\"`*"] @@ -310,25 +276,9 @@ impl PwmPin { } } } -impl ::core::cmp::PartialEq for PwmPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PwmPin {} -impl ::core::fmt::Debug for PwmPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PwmPin").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PwmPin { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Pwm.PwmPin;{22972dc8-c6cf-4821-b7f9-c6454fb6af79})"); } -impl ::core::clone::Clone for PwmPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PwmPin { type Vtable = IPwmPin_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index 20d467c88c..db4bc7bf08 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadio(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadio { type Vtable = IRadio_Vtbl; } -impl ::core::clone::Clone for IRadio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x252118df_b33e_416a_875f_1cf38ae2d83e); } @@ -34,15 +30,11 @@ pub struct IRadio_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadioStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadioStatics { type Vtable = IRadioStatics_Vtbl; } -impl ::core::clone::Clone for IRadioStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadioStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fb6a12e_67cb_46ae_aae9_65919f86eff4); } @@ -66,6 +58,7 @@ pub struct IRadioStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Radios\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Radio(::windows_core::IUnknown); impl Radio { #[doc = "*Required features: `\"Foundation\"`*"] @@ -152,25 +145,9 @@ impl Radio { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Radio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Radio {} -impl ::core::fmt::Debug for Radio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Radio").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Radio { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Radios.Radio;{252118df-b33e-416a-875f-1cf38ae2d83e})"); } -impl ::core::clone::Clone for Radio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Radio { type Vtable = IRadio_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs index c005ae1c8e..a4fecc471a 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs @@ -56,8 +56,8 @@ impl IImageScannerFormatConfiguration_Vtbl { IsFormatSupported: IsFormatSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Scanners\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -416,7 +416,7 @@ impl IImageScannerSourceConfiguration_Vtbl { SetContrast: SetContrast::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index debb40516e..f7af1414f6 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScanner(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageScanner { type Vtable = IImageScanner_Vtbl; } -impl ::core::clone::Clone for IImageScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScanner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53a88f78_5298_48a0_8da3_8087519665e0); } @@ -34,15 +30,11 @@ pub struct IImageScanner_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerFeederConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageScannerFeederConfiguration { type Vtable = IImageScannerFeederConfiguration_Vtbl; } -impl ::core::clone::Clone for IImageScannerFeederConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerFeederConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74bdacee_fa97_4c17_8280_40e39c6dcc67); } @@ -88,6 +80,7 @@ pub struct IImageScannerFeederConfiguration_Vtbl { } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerFormatConfiguration(::windows_core::IUnknown); impl IImageScannerFormatConfiguration { pub fn DefaultFormat(&self) -> ::windows_core::Result { @@ -117,28 +110,12 @@ impl IImageScannerFormatConfiguration { } } ::windows_core::imp::interface_hierarchy!(IImageScannerFormatConfiguration, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IImageScannerFormatConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageScannerFormatConfiguration {} -impl ::core::fmt::Debug for IImageScannerFormatConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageScannerFormatConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IImageScannerFormatConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ae275d11-dadf-4010-bf10-cca5c83dcbb0}"); } unsafe impl ::windows_core::Interface for IImageScannerFormatConfiguration { type Vtable = IImageScannerFormatConfiguration_Vtbl; } -impl ::core::clone::Clone for IImageScannerFormatConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerFormatConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae275d11_dadf_4010_bf10_cca5c83dcbb0); } @@ -153,15 +130,11 @@ pub struct IImageScannerFormatConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerPreviewResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageScannerPreviewResult { type Vtable = IImageScannerPreviewResult_Vtbl; } -impl ::core::clone::Clone for IImageScannerPreviewResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerPreviewResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08b7fe8e_8891_441d_be9c_176fa109c8bb); } @@ -174,15 +147,11 @@ pub struct IImageScannerPreviewResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerScanResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageScannerScanResult { type Vtable = IImageScannerScanResult_Vtbl; } -impl ::core::clone::Clone for IImageScannerScanResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerScanResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc91624cd_9037_4e48_84c1_ac0975076bc5); } @@ -197,6 +166,7 @@ pub struct IImageScannerScanResult_Vtbl { } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerSourceConfiguration(::windows_core::IUnknown); impl IImageScannerSourceConfiguration { #[doc = "*Required features: `\"Foundation\"`*"] @@ -420,28 +390,12 @@ impl IImageScannerSourceConfiguration { } ::windows_core::imp::interface_hierarchy!(IImageScannerSourceConfiguration, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IImageScannerSourceConfiguration {} -impl ::core::cmp::PartialEq for IImageScannerSourceConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageScannerSourceConfiguration {} -impl ::core::fmt::Debug for IImageScannerSourceConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageScannerSourceConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IImageScannerSourceConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bfb50055-0b44-4c82-9e89-205f9c234e59}"); } unsafe impl ::windows_core::Interface for IImageScannerSourceConfiguration { type Vtable = IImageScannerSourceConfiguration_Vtbl; } -impl ::core::clone::Clone for IImageScannerSourceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerSourceConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfb50055_0b44_4c82_9e89_205f9c234e59); } @@ -493,15 +447,11 @@ pub struct IImageScannerSourceConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageScannerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageScannerStatics { type Vtable = IImageScannerStatics_Vtbl; } -impl ::core::clone::Clone for IImageScannerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageScannerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc57e70e_d804_4477_9fb5_b911b5473897); } @@ -517,6 +467,7 @@ pub struct IImageScannerStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScanner(::windows_core::IUnknown); impl ImageScanner { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -612,25 +563,9 @@ impl ImageScanner { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ImageScanner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScanner {} -impl ::core::fmt::Debug for ImageScanner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScanner").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScanner { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScanner;{53a88f78-5298-48a0-8da3-8087519665e0})"); } -impl ::core::clone::Clone for ImageScanner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScanner { type Vtable = IImageScanner_Vtbl; } @@ -645,6 +580,7 @@ unsafe impl ::core::marker::Send for ImageScanner {} unsafe impl ::core::marker::Sync for ImageScanner {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScannerAutoConfiguration(::windows_core::IUnknown); impl ImageScannerAutoConfiguration { pub fn DefaultFormat(&self) -> ::windows_core::Result { @@ -673,25 +609,9 @@ impl ImageScannerAutoConfiguration { } } } -impl ::core::cmp::PartialEq for ImageScannerAutoConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScannerAutoConfiguration {} -impl ::core::fmt::Debug for ImageScannerAutoConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScannerAutoConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScannerAutoConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerAutoConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } -impl ::core::clone::Clone for ImageScannerAutoConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScannerAutoConfiguration { type Vtable = IImageScannerFormatConfiguration_Vtbl; } @@ -707,6 +627,7 @@ unsafe impl ::core::marker::Send for ImageScannerAutoConfiguration {} unsafe impl ::core::marker::Sync for ImageScannerAutoConfiguration {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScannerFeederConfiguration(::windows_core::IUnknown); impl ImageScannerFeederConfiguration { pub fn CanAutoDetectPageSize(&self) -> ::windows_core::Result { @@ -1041,25 +962,9 @@ impl ImageScannerFeederConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetContrast)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ImageScannerFeederConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScannerFeederConfiguration {} -impl ::core::fmt::Debug for ImageScannerFeederConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScannerFeederConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScannerFeederConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFeederConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } -impl ::core::clone::Clone for ImageScannerFeederConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScannerFeederConfiguration { type Vtable = IImageScannerFormatConfiguration_Vtbl; } @@ -1076,6 +981,7 @@ unsafe impl ::core::marker::Send for ImageScannerFeederConfiguration {} unsafe impl ::core::marker::Sync for ImageScannerFeederConfiguration {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScannerFlatbedConfiguration(::windows_core::IUnknown); impl ImageScannerFlatbedConfiguration { pub fn DefaultFormat(&self) -> ::windows_core::Result { @@ -1297,25 +1203,9 @@ impl ImageScannerFlatbedConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetContrast)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ImageScannerFlatbedConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScannerFlatbedConfiguration {} -impl ::core::fmt::Debug for ImageScannerFlatbedConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScannerFlatbedConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScannerFlatbedConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerFlatbedConfiguration;{ae275d11-dadf-4010-bf10-cca5c83dcbb0})"); } -impl ::core::clone::Clone for ImageScannerFlatbedConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScannerFlatbedConfiguration { type Vtable = IImageScannerFormatConfiguration_Vtbl; } @@ -1332,6 +1222,7 @@ unsafe impl ::core::marker::Send for ImageScannerFlatbedConfiguration {} unsafe impl ::core::marker::Sync for ImageScannerFlatbedConfiguration {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScannerPreviewResult(::windows_core::IUnknown); impl ImageScannerPreviewResult { pub fn Succeeded(&self) -> ::windows_core::Result { @@ -1349,25 +1240,9 @@ impl ImageScannerPreviewResult { } } } -impl ::core::cmp::PartialEq for ImageScannerPreviewResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScannerPreviewResult {} -impl ::core::fmt::Debug for ImageScannerPreviewResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScannerPreviewResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScannerPreviewResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerPreviewResult;{08b7fe8e-8891-441d-be9c-176fa109c8bb})"); } -impl ::core::clone::Clone for ImageScannerPreviewResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScannerPreviewResult { type Vtable = IImageScannerPreviewResult_Vtbl; } @@ -1382,6 +1257,7 @@ unsafe impl ::core::marker::Send for ImageScannerPreviewResult {} unsafe impl ::core::marker::Sync for ImageScannerPreviewResult {} #[doc = "*Required features: `\"Devices_Scanners\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageScannerScanResult(::windows_core::IUnknown); impl ImageScannerScanResult { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Storage\"`*"] @@ -1394,25 +1270,9 @@ impl ImageScannerScanResult { } } } -impl ::core::cmp::PartialEq for ImageScannerScanResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageScannerScanResult {} -impl ::core::fmt::Debug for ImageScannerScanResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageScannerScanResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageScannerScanResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Scanners.ImageScannerScanResult;{c91624cd-9037-4e48-84c1-ac0975076bc5})"); } -impl ::core::clone::Clone for ImageScannerScanResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageScannerScanResult { type Vtable = IImageScannerScanResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs index fe3423a867..99731f29e9 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensor { type Vtable = ICustomSensor_Vtbl; } -impl ::core::clone::Clone for ICustomSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa136f9ad_4034_4b4d_99dd_531aac649c09); } @@ -32,15 +28,11 @@ pub struct ICustomSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensor2 { type Vtable = ICustomSensor2_Vtbl; } -impl ::core::clone::Clone for ICustomSensor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20db3111_ec58_4d9f_bfbd_e77825088510); } @@ -54,15 +46,11 @@ pub struct ICustomSensor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensorReading { type Vtable = ICustomSensorReading_Vtbl; } -impl ::core::clone::Clone for ICustomSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64004f4d_446a_4366_a87a_5f963268ec53); } @@ -81,15 +69,11 @@ pub struct ICustomSensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensorReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensorReading2 { type Vtable = ICustomSensorReading2_Vtbl; } -impl ::core::clone::Clone for ICustomSensorReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensorReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x223c98ea_bf73_4992_9a48_d3c897594ccb); } @@ -104,15 +88,11 @@ pub struct ICustomSensorReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensorReadingChangedEventArgs { type Vtable = ICustomSensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICustomSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b202023_cffd_4cc1_8ff0_e21823d76fcc); } @@ -124,15 +104,11 @@ pub struct ICustomSensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICustomSensorStatics { type Vtable = ICustomSensorStatics_Vtbl; } -impl ::core::clone::Clone for ICustomSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x992052cf_f422_4c7d_836b_e7dc74a7124b); } @@ -148,6 +124,7 @@ pub struct ICustomSensorStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Sensors_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CustomSensor(::windows_core::IUnknown); impl CustomSensor { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -238,25 +215,9 @@ impl CustomSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CustomSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CustomSensor {} -impl ::core::fmt::Debug for CustomSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CustomSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CustomSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensor;{a136f9ad-4034-4b4d-99dd-531aac649c09})"); } -impl ::core::clone::Clone for CustomSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CustomSensor { type Vtable = ICustomSensor_Vtbl; } @@ -271,6 +232,7 @@ unsafe impl ::core::marker::Send for CustomSensor {} unsafe impl ::core::marker::Sync for CustomSensor {} #[doc = "*Required features: `\"Devices_Sensors_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CustomSensorReading(::windows_core::IUnknown); impl CustomSensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -301,25 +263,9 @@ impl CustomSensorReading { } } } -impl ::core::cmp::PartialEq for CustomSensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CustomSensorReading {} -impl ::core::fmt::Debug for CustomSensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CustomSensorReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CustomSensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReading;{64004f4d-446a-4366-a87a-5f963268ec53})"); } -impl ::core::clone::Clone for CustomSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CustomSensorReading { type Vtable = ICustomSensorReading_Vtbl; } @@ -334,6 +280,7 @@ unsafe impl ::core::marker::Send for CustomSensorReading {} unsafe impl ::core::marker::Sync for CustomSensorReading {} #[doc = "*Required features: `\"Devices_Sensors_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CustomSensorReadingChangedEventArgs(::windows_core::IUnknown); impl CustomSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -344,25 +291,9 @@ impl CustomSensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for CustomSensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CustomSensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for CustomSensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CustomSensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CustomSensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Custom.CustomSensorReadingChangedEventArgs;{6b202023-cffd-4cc1-8ff0-e21823d76fcc})"); } -impl ::core::clone::Clone for CustomSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CustomSensorReadingChangedEventArgs { type Vtable = ICustomSensorReadingChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs index 739d26a9fa..fa31424326 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs @@ -7,7 +7,7 @@ impl ISensorDataThreshold_Vtbl { pub const fn new, Impl: ISensorDataThreshold_Impl, const OFFSET: isize>() -> ISensorDataThreshold_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index dd8c862223..55b7900eff 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -2,15 +2,11 @@ pub mod Custom; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometer { type Vtable = IAccelerometer_Vtbl; } -impl ::core::clone::Clone for IAccelerometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf184548_2711_4da7_8098_4b82205d3c7d); } @@ -41,15 +37,11 @@ pub struct IAccelerometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometer2 { type Vtable = IAccelerometer2_Vtbl; } -impl ::core::clone::Clone for IAccelerometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8f092ee_4964_401a_b602_220d7153c60a); } @@ -68,15 +60,11 @@ pub struct IAccelerometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometer3 { type Vtable = IAccelerometer3_Vtbl; } -impl ::core::clone::Clone for IAccelerometer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87e0022a_ed80_49eb_bf8a_a4ea31e5cd84); } @@ -90,15 +78,11 @@ pub struct IAccelerometer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometer4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometer4 { type Vtable = IAccelerometer4_Vtbl; } -impl ::core::clone::Clone for IAccelerometer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d373c4f_42d3_45b2_8144_ab7fb665eb59); } @@ -110,15 +94,11 @@ pub struct IAccelerometer4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometer5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometer5 { type Vtable = IAccelerometer5_Vtbl; } -impl ::core::clone::Clone for IAccelerometer5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometer5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e7e7021_def4_53a6_af43_806fd538edf6); } @@ -130,15 +110,11 @@ pub struct IAccelerometer5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerDataThreshold { type Vtable = IAccelerometerDataThreshold_Vtbl; } -impl ::core::clone::Clone for IAccelerometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf92c1b68_6320_5577_879e_9942621c3dd9); } @@ -155,15 +131,11 @@ pub struct IAccelerometerDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerDeviceId { type Vtable = IAccelerometerDeviceId_Vtbl; } -impl ::core::clone::Clone for IAccelerometerDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7eac64a9_97d5_446d_ab5a_917df9b96a2c); } @@ -175,15 +147,11 @@ pub struct IAccelerometerDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerReading { type Vtable = IAccelerometerReading_Vtbl; } -impl ::core::clone::Clone for IAccelerometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9fe7acb_d351_40af_8bb6_7aa9ae641fb7); } @@ -201,15 +169,11 @@ pub struct IAccelerometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerReading2 { type Vtable = IAccelerometerReading2_Vtbl; } -impl ::core::clone::Clone for IAccelerometerReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a864aa2_15ae_4a40_be55_db58d7de7389); } @@ -228,15 +192,11 @@ pub struct IAccelerometerReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerReadingChangedEventArgs { type Vtable = IAccelerometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAccelerometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0095c65b_b6ac_475a_9f44_8b32d35a3f25); } @@ -248,15 +208,11 @@ pub struct IAccelerometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerShakenEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerShakenEventArgs { type Vtable = IAccelerometerShakenEventArgs_Vtbl; } -impl ::core::clone::Clone for IAccelerometerShakenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerShakenEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95ff01d1_4a28_4f35_98e8_8178aae4084a); } @@ -271,15 +227,11 @@ pub struct IAccelerometerShakenEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerStatics { type Vtable = IAccelerometerStatics_Vtbl; } -impl ::core::clone::Clone for IAccelerometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5e28b74_5a87_4a2d_becc_0f906ea061dd); } @@ -291,15 +243,11 @@ pub struct IAccelerometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerStatics2 { type Vtable = IAccelerometerStatics2_Vtbl; } -impl ::core::clone::Clone for IAccelerometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4842f_d86b_4685_b2d7_3396f798d57b); } @@ -311,15 +259,11 @@ pub struct IAccelerometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccelerometerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccelerometerStatics3 { type Vtable = IAccelerometerStatics3_Vtbl; } -impl ::core::clone::Clone for IAccelerometerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccelerometerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9de218cf_455d_4cf3_8200_70e1410340f8); } @@ -335,15 +279,11 @@ pub struct IAccelerometerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensor { type Vtable = IActivitySensor_Vtbl; } -impl ::core::clone::Clone for IActivitySensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd7a630c_fb5f_48eb_b09b_a2708d1c61ef); } @@ -377,15 +317,11 @@ pub struct IActivitySensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorReading { type Vtable = IActivitySensorReading_Vtbl; } -impl ::core::clone::Clone for IActivitySensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85125a96_1472_40a2_b2ae_e1ef29226c78); } @@ -402,15 +338,11 @@ pub struct IActivitySensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorReadingChangeReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorReadingChangeReport { type Vtable = IActivitySensorReadingChangeReport_Vtbl; } -impl ::core::clone::Clone for IActivitySensorReadingChangeReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorReadingChangeReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f3c2915_d93b_47bd_960a_f20fb2f322b9); } @@ -422,15 +354,11 @@ pub struct IActivitySensorReadingChangeReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorReadingChangedEventArgs { type Vtable = IActivitySensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IActivitySensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde386717_aeb6_4ec7_946a_d9cc19b951ec); } @@ -442,15 +370,11 @@ pub struct IActivitySensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorStatics { type Vtable = IActivitySensorStatics_Vtbl; } -impl ::core::clone::Clone for IActivitySensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa71e0e9d_ee8b_45d1_b25b_08cc0df92ab6); } @@ -478,15 +402,11 @@ pub struct IActivitySensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivitySensorTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivitySensorTriggerDetails { type Vtable = IActivitySensorTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IActivitySensorTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivitySensorTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c9e6612_b9ca_4677_b263_243297f79d3a); } @@ -501,15 +421,11 @@ pub struct IActivitySensorTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeter { type Vtable = IAltimeter_Vtbl; } -impl ::core::clone::Clone for IAltimeter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72f057fd_8f04_49f1_b4a7_f4e363b701a2); } @@ -533,15 +449,11 @@ pub struct IAltimeter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeter2 { type Vtable = IAltimeter2_Vtbl; } -impl ::core::clone::Clone for IAltimeter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9471bf9_2add_48f5_9f08_3d0c7660d938); } @@ -555,15 +467,11 @@ pub struct IAltimeter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeterReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeterReading { type Vtable = IAltimeterReading_Vtbl; } -impl ::core::clone::Clone for IAltimeterReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeterReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbe8ef73_7f5e_48c8_aa1a_f1f3befc1144); } @@ -579,15 +487,11 @@ pub struct IAltimeterReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeterReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeterReading2 { type Vtable = IAltimeterReading2_Vtbl; } -impl ::core::clone::Clone for IAltimeterReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeterReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x543a1bd9_6d0b_42b2_bd69_bc8fae0f782c); } @@ -606,15 +510,11 @@ pub struct IAltimeterReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeterReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeterReadingChangedEventArgs { type Vtable = IAltimeterReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAltimeterReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeterReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7069d077_446d_47f7_998c_ebc23b45e4a2); } @@ -626,15 +526,11 @@ pub struct IAltimeterReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAltimeterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAltimeterStatics { type Vtable = IAltimeterStatics_Vtbl; } -impl ::core::clone::Clone for IAltimeterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAltimeterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9eb4d7c3_e5ac_47ce_8eef_d3718168c01f); } @@ -646,15 +542,11 @@ pub struct IAltimeterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometer { type Vtable = IBarometer_Vtbl; } -impl ::core::clone::Clone for IBarometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x934475a8_78bf_452f_b017_f0209ce6dab4); } @@ -678,15 +570,11 @@ pub struct IBarometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometer2 { type Vtable = IBarometer2_Vtbl; } -impl ::core::clone::Clone for IBarometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32bcc418_3eeb_4d04_9574_7633a8781f9f); } @@ -700,15 +588,11 @@ pub struct IBarometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometer3 { type Vtable = IBarometer3_Vtbl; } -impl ::core::clone::Clone for IBarometer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e35f0ea_02b5_5a04_b03d_822084863a54); } @@ -720,15 +604,11 @@ pub struct IBarometer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerDataThreshold { type Vtable = IBarometerDataThreshold_Vtbl; } -impl ::core::clone::Clone for IBarometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x076b952c_cb62_5a90_a0d1_f85e4a936394); } @@ -741,15 +621,11 @@ pub struct IBarometerDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerReading { type Vtable = IBarometerReading_Vtbl; } -impl ::core::clone::Clone for IBarometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5b9d2e6_1df6_4a1a_a7ad_321d4f5db247); } @@ -765,15 +641,11 @@ pub struct IBarometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerReading2 { type Vtable = IBarometerReading2_Vtbl; } -impl ::core::clone::Clone for IBarometerReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85a244eb_90c5_4875_891c_3865b4c357e7); } @@ -792,15 +664,11 @@ pub struct IBarometerReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerReadingChangedEventArgs { type Vtable = IBarometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBarometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d84945f_037b_404f_9bbb_6232d69543c3); } @@ -812,15 +680,11 @@ pub struct IBarometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerStatics { type Vtable = IBarometerStatics_Vtbl; } -impl ::core::clone::Clone for IBarometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x286b270a_02e3_4f86_84fc_fdd892b5940f); } @@ -832,15 +696,11 @@ pub struct IBarometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBarometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBarometerStatics2 { type Vtable = IBarometerStatics2_Vtbl; } -impl ::core::clone::Clone for IBarometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBarometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fc6b1e7_95ff_44ac_878e_d65c8308c34c); } @@ -856,15 +716,11 @@ pub struct IBarometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompass { type Vtable = ICompass_Vtbl; } -impl ::core::clone::Clone for ICompass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x292ffa94_1b45_403c_ba06_b106dba69a64); } @@ -887,15 +743,11 @@ pub struct ICompass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompass2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompass2 { type Vtable = ICompass2_Vtbl; } -impl ::core::clone::Clone for ICompass2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompass2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36f26d09_c7d7_434f_b461_979ddfc2322f); } @@ -914,15 +766,11 @@ pub struct ICompass2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompass3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompass3 { type Vtable = ICompass3_Vtbl; } -impl ::core::clone::Clone for ICompass3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompass3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa424801b_c5ea_4d45_a0ec_4b791f041a89); } @@ -936,15 +784,11 @@ pub struct ICompass3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompass4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompass4 { type Vtable = ICompass4_Vtbl; } -impl ::core::clone::Clone for ICompass4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompass4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x291e7f11_ec32_5dcc_bfcb_0bb39eba5774); } @@ -956,15 +800,11 @@ pub struct ICompass4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassDataThreshold { type Vtable = ICompassDataThreshold_Vtbl; } -impl ::core::clone::Clone for ICompassDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd15b52b3_d39d_5ec8_b2e4_f193e6ab34ed); } @@ -977,15 +817,11 @@ pub struct ICompassDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassDeviceId { type Vtable = ICompassDeviceId_Vtbl; } -impl ::core::clone::Clone for ICompassDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd181ca29_b085_4b1d_870a_4ff57ba74fd4); } @@ -997,15 +833,11 @@ pub struct ICompassDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassReading { type Vtable = ICompassReading_Vtbl; } -impl ::core::clone::Clone for ICompassReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82911128_513d_4dc9_b781_5eedfbf02d0c); } @@ -1025,15 +857,11 @@ pub struct ICompassReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassReading2 { type Vtable = ICompassReading2_Vtbl; } -impl ::core::clone::Clone for ICompassReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb13a661e_51bb_4a12_bedd_ad47ff87d2e8); } @@ -1052,15 +880,11 @@ pub struct ICompassReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassReadingChangedEventArgs { type Vtable = ICompassReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICompassReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f1549b0_e8bc_4c7e_b009_4e41df137072); } @@ -1072,15 +896,11 @@ pub struct ICompassReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassReadingHeadingAccuracy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassReadingHeadingAccuracy { type Vtable = ICompassReadingHeadingAccuracy_Vtbl; } -impl ::core::clone::Clone for ICompassReadingHeadingAccuracy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassReadingHeadingAccuracy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe761354e_8911_40f7_9e16_6ecc7daec5de); } @@ -1092,15 +912,11 @@ pub struct ICompassReadingHeadingAccuracy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassStatics { type Vtable = ICompassStatics_Vtbl; } -impl ::core::clone::Clone for ICompassStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9abc97df_56ec_4c25_b54d_40a68bb5b269); } @@ -1112,15 +928,11 @@ pub struct ICompassStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompassStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompassStatics2 { type Vtable = ICompassStatics2_Vtbl; } -impl ::core::clone::Clone for ICompassStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompassStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ace0ead_3baa_4990_9ce4_be0913754ed2); } @@ -1136,15 +948,11 @@ pub struct ICompassStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometer { type Vtable = IGyrometer_Vtbl; } -impl ::core::clone::Clone for IGyrometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdb9a9c4_84b1_4ca2_9763_9b589506c70c); } @@ -1167,15 +975,11 @@ pub struct IGyrometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometer2 { type Vtable = IGyrometer2_Vtbl; } -impl ::core::clone::Clone for IGyrometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63df2443_8ce8_41c3_ac44_8698810b557f); } @@ -1194,15 +998,11 @@ pub struct IGyrometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometer3 { type Vtable = IGyrometer3_Vtbl; } -impl ::core::clone::Clone for IGyrometer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d6f88d5_8fbc_4484_914b_528adfd947b1); } @@ -1216,15 +1016,11 @@ pub struct IGyrometer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometer4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometer4 { type Vtable = IGyrometer4_Vtbl; } -impl ::core::clone::Clone for IGyrometer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0628a60c_4c4b_5096_94e6_c356df68bef7); } @@ -1236,15 +1032,11 @@ pub struct IGyrometer4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerDataThreshold { type Vtable = IGyrometerDataThreshold_Vtbl; } -impl ::core::clone::Clone for IGyrometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8648b31e_6e52_5259_bbad_242a69dc38c8); } @@ -1261,15 +1053,11 @@ pub struct IGyrometerDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerDeviceId { type Vtable = IGyrometerDeviceId_Vtbl; } -impl ::core::clone::Clone for IGyrometerDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ee5e978_89a2_4275_9e95_7126f4708760); } @@ -1281,15 +1069,11 @@ pub struct IGyrometerDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerReading { type Vtable = IGyrometerReading_Vtbl; } -impl ::core::clone::Clone for IGyrometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3d6de5c_1ee4_456f_9de7_e2493b5c8e03); } @@ -1307,15 +1091,11 @@ pub struct IGyrometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerReading2 { type Vtable = IGyrometerReading2_Vtbl; } -impl ::core::clone::Clone for IGyrometerReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16afe13c_2b89_44bb_822b_d1e1556ff09b); } @@ -1334,15 +1114,11 @@ pub struct IGyrometerReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerReadingChangedEventArgs { type Vtable = IGyrometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGyrometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fdf1895_6f9e_42ce_8d58_388c0ab8356d); } @@ -1354,15 +1130,11 @@ pub struct IGyrometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerStatics { type Vtable = IGyrometerStatics_Vtbl; } -impl ::core::clone::Clone for IGyrometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83b6e7c9_e49d_4b39_86e6_cd554be4c5c1); } @@ -1374,15 +1146,11 @@ pub struct IGyrometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGyrometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGyrometerStatics2 { type Vtable = IGyrometerStatics2_Vtbl; } -impl ::core::clone::Clone for IGyrometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGyrometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef83f7a1_d700_4204_9613_79c6b161df4e); } @@ -1398,15 +1166,11 @@ pub struct IGyrometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHingeAngleReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHingeAngleReading { type Vtable = IHingeAngleReading_Vtbl; } -impl ::core::clone::Clone for IHingeAngleReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHingeAngleReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3cd45b9_1bf1_4f65_a704_e2da04f182c0); } @@ -1426,15 +1190,11 @@ pub struct IHingeAngleReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHingeAngleSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHingeAngleSensor { type Vtable = IHingeAngleSensor_Vtbl; } -impl ::core::clone::Clone for IHingeAngleSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHingeAngleSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9d3be02_bfdf_437f_8c29_88c77393d309); } @@ -1461,15 +1221,11 @@ pub struct IHingeAngleSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHingeAngleSensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHingeAngleSensorReadingChangedEventArgs { type Vtable = IHingeAngleSensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHingeAngleSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHingeAngleSensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24d9558b_fad0_42b8_a854_78923049a1ba); } @@ -1481,15 +1237,11 @@ pub struct IHingeAngleSensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHingeAngleSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHingeAngleSensorStatics { type Vtable = IHingeAngleSensorStatics_Vtbl; } -impl ::core::clone::Clone for IHingeAngleSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHingeAngleSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7b63910_fbb1_4123_89ce_4ea34eb0dfca); } @@ -1513,15 +1265,11 @@ pub struct IHingeAngleSensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceFeatures(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceFeatures { type Vtable = IHumanPresenceFeatures_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceFeatures { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceFeatures { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdb09fda_3244_557a_bd29_8b004f59f2cc); } @@ -1540,15 +1288,11 @@ pub struct IHumanPresenceFeatures_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSensor { type Vtable = IHumanPresenceSensor_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2116788b_e389_5cc3_9a97_cb17be1008bd); } @@ -1577,15 +1321,11 @@ pub struct IHumanPresenceSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSensorReading { type Vtable = IHumanPresenceSensorReading_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83533bf5_a85a_5d50_8be4_6072d745a3bb); } @@ -1606,15 +1346,11 @@ pub struct IHumanPresenceSensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSensorReadingChangedEventArgs { type Vtable = IHumanPresenceSensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9dc4583_fd69_5c5e_ab1f_942204eae2db); } @@ -1626,15 +1362,11 @@ pub struct IHumanPresenceSensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSensorStatics { type Vtable = IHumanPresenceSensorStatics_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ae89842_dba9_56b2_9f27_eac69d621004); } @@ -1654,15 +1386,11 @@ pub struct IHumanPresenceSensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSettings { type Vtable = IHumanPresenceSettings_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef4daf5b_07b7_5eb6_86bb_b7ff49ce44fb); } @@ -1705,15 +1433,11 @@ pub struct IHumanPresenceSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHumanPresenceSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHumanPresenceSettingsStatics { type Vtable = IHumanPresenceSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IHumanPresenceSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHumanPresenceSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f343202_e010_52c4_af0c_04a8f1e033da); } @@ -1751,15 +1475,11 @@ pub struct IHumanPresenceSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometer { type Vtable = IInclinometer_Vtbl; } -impl ::core::clone::Clone for IInclinometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2648ca6f_2286_406f_9161_f0c4bd806ebf); } @@ -1782,15 +1502,11 @@ pub struct IInclinometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometer2 { type Vtable = IInclinometer2_Vtbl; } -impl ::core::clone::Clone for IInclinometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x029f3393_28b2_45f8_bb16_61e86a7fae6e); } @@ -1810,15 +1526,11 @@ pub struct IInclinometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometer3 { type Vtable = IInclinometer3_Vtbl; } -impl ::core::clone::Clone for IInclinometer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a095004_d765_4384_a3d7_0283f3abe6ae); } @@ -1832,15 +1544,11 @@ pub struct IInclinometer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometer4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometer4 { type Vtable = IInclinometer4_Vtbl; } -impl ::core::clone::Clone for IInclinometer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43852618_8fca_548e_bbf5_5c50412b6aa4); } @@ -1852,15 +1560,11 @@ pub struct IInclinometer4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerDataThreshold { type Vtable = IInclinometerDataThreshold_Vtbl; } -impl ::core::clone::Clone for IInclinometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf80a4783_7bfe_545e_bb60_a0ebc47bd2fb); } @@ -1877,15 +1581,11 @@ pub struct IInclinometerDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerDeviceId { type Vtable = IInclinometerDeviceId_Vtbl; } -impl ::core::clone::Clone for IInclinometerDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01e91982_41ff_4406_ae83_62210ff16fe3); } @@ -1897,15 +1597,11 @@ pub struct IInclinometerDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerReading { type Vtable = IInclinometerReading_Vtbl; } -impl ::core::clone::Clone for IInclinometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f44f055_b6f6_497f_b127_1a775e501458); } @@ -1923,15 +1619,11 @@ pub struct IInclinometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerReading2 { type Vtable = IInclinometerReading2_Vtbl; } -impl ::core::clone::Clone for IInclinometerReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f164781_e90b_4658_8915_0103e08a805a); } @@ -1950,15 +1642,11 @@ pub struct IInclinometerReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerReadingChangedEventArgs { type Vtable = IInclinometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IInclinometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ae91dc1_e7eb_4938_8511_ae0d6b440438); } @@ -1970,15 +1658,11 @@ pub struct IInclinometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerReadingYawAccuracy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerReadingYawAccuracy { type Vtable = IInclinometerReadingYawAccuracy_Vtbl; } -impl ::core::clone::Clone for IInclinometerReadingYawAccuracy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerReadingYawAccuracy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb453e880_1fe3_4986_a257_e6ece2723949); } @@ -1990,15 +1674,11 @@ pub struct IInclinometerReadingYawAccuracy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerStatics { type Vtable = IInclinometerStatics_Vtbl; } -impl ::core::clone::Clone for IInclinometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf22ec551_9c30_453a_8b49_3c3eeb33cb61); } @@ -2010,15 +1690,11 @@ pub struct IInclinometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerStatics2 { type Vtable = IInclinometerStatics2_Vtbl; } -impl ::core::clone::Clone for IInclinometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x043f9775_6a1e_499c_86e0_638c1a864b00); } @@ -2030,15 +1706,11 @@ pub struct IInclinometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerStatics3 { type Vtable = IInclinometerStatics3_Vtbl; } -impl ::core::clone::Clone for IInclinometerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd9a4280_b91a_4829_9392_abc0b6bdf2b4); } @@ -2050,15 +1722,11 @@ pub struct IInclinometerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInclinometerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInclinometerStatics4 { type Vtable = IInclinometerStatics4_Vtbl; } -impl ::core::clone::Clone for IInclinometerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInclinometerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8ba96f9_6e85_4a83_aed0_d7cdcc9856c8); } @@ -2074,15 +1742,11 @@ pub struct IInclinometerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensor { type Vtable = ILightSensor_Vtbl; } -impl ::core::clone::Clone for ILightSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf84c0718_0c54_47ae_922e_789f57fb03a0); } @@ -2105,15 +1769,11 @@ pub struct ILightSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensor2 { type Vtable = ILightSensor2_Vtbl; } -impl ::core::clone::Clone for ILightSensor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x486b24e8_a94c_4090_8f48_09f782a9f7d5); } @@ -2127,15 +1787,11 @@ pub struct ILightSensor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensor3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensor3 { type Vtable = ILightSensor3_Vtbl; } -impl ::core::clone::Clone for ILightSensor3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensor3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4876d0ff_9f4c_5f72_adbd_a3471b063c00); } @@ -2147,15 +1803,11 @@ pub struct ILightSensor3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorDataThreshold { type Vtable = ILightSensorDataThreshold_Vtbl; } -impl ::core::clone::Clone for ILightSensorDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb160afd1_878f_5492_9f2c_33dc3ae584a3); } @@ -2170,15 +1822,11 @@ pub struct ILightSensorDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorDeviceId { type Vtable = ILightSensorDeviceId_Vtbl; } -impl ::core::clone::Clone for ILightSensorDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fee49f8_0afb_4f51_87f0_6c26375ce94f); } @@ -2190,15 +1838,11 @@ pub struct ILightSensorDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorReading { type Vtable = ILightSensorReading_Vtbl; } -impl ::core::clone::Clone for ILightSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffdf6300_227c_4d2b_b302_fc0142485c68); } @@ -2214,15 +1858,11 @@ pub struct ILightSensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorReading2 { type Vtable = ILightSensorReading2_Vtbl; } -impl ::core::clone::Clone for ILightSensorReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7512185_44a3_44c9_8190_9ef6de0a8a74); } @@ -2241,15 +1881,11 @@ pub struct ILightSensorReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorReadingChangedEventArgs { type Vtable = ILightSensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILightSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3a2f4cf_258b_420c_b8ab_8edd601ecf50); } @@ -2261,15 +1897,11 @@ pub struct ILightSensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorStatics { type Vtable = ILightSensorStatics_Vtbl; } -impl ::core::clone::Clone for ILightSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45db8c84_c3a8_471e_9a53_6457fad87c0e); } @@ -2281,15 +1913,11 @@ pub struct ILightSensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILightSensorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILightSensorStatics2 { type Vtable = ILightSensorStatics2_Vtbl; } -impl ::core::clone::Clone for ILightSensorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILightSensorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ec0a650_ddc6_40ab_ace3_ec3359d42c51); } @@ -2305,15 +1933,11 @@ pub struct ILightSensorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometer { type Vtable = IMagnetometer_Vtbl; } -impl ::core::clone::Clone for IMagnetometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x484f626e_d3c9_4111_b3f6_2cf1faa418d5); } @@ -2336,15 +1960,11 @@ pub struct IMagnetometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometer2 { type Vtable = IMagnetometer2_Vtbl; } -impl ::core::clone::Clone for IMagnetometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4656c85_26f6_444b_a9e2_a23f966cd368); } @@ -2363,15 +1983,11 @@ pub struct IMagnetometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometer3 { type Vtable = IMagnetometer3_Vtbl; } -impl ::core::clone::Clone for IMagnetometer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe93db7c_a625_48ef_acf7_fac104832671); } @@ -2385,15 +2001,11 @@ pub struct IMagnetometer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometer4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometer4 { type Vtable = IMagnetometer4_Vtbl; } -impl ::core::clone::Clone for IMagnetometer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfb17901_3e0f_508f_b24b_f2bb75015f40); } @@ -2405,15 +2017,11 @@ pub struct IMagnetometer4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerDataThreshold(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerDataThreshold { type Vtable = IMagnetometerDataThreshold_Vtbl; } -impl ::core::clone::Clone for IMagnetometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd177cb01_9063_5fa5_b596_b445e9dc3401); } @@ -2430,15 +2038,11 @@ pub struct IMagnetometerDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerDeviceId { type Vtable = IMagnetometerDeviceId_Vtbl; } -impl ::core::clone::Clone for IMagnetometerDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58b498c2_7e4b_404c_9fc5_5de8b40ebae3); } @@ -2450,15 +2054,11 @@ pub struct IMagnetometerDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerReading { type Vtable = IMagnetometerReading_Vtbl; } -impl ::core::clone::Clone for IMagnetometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c2cc40d_ebfd_4e5c_bb11_afc29b3cae61); } @@ -2477,15 +2077,11 @@ pub struct IMagnetometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerReading2 { type Vtable = IMagnetometerReading2_Vtbl; } -impl ::core::clone::Clone for IMagnetometerReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4c95c61_61d9_404b_a328_066f177a1409); } @@ -2504,15 +2100,11 @@ pub struct IMagnetometerReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerReadingChangedEventArgs { type Vtable = IMagnetometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMagnetometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17eae872_2eb9_4ee7_8ad0_3127537d949b); } @@ -2524,15 +2116,11 @@ pub struct IMagnetometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerStatics { type Vtable = IMagnetometerStatics_Vtbl; } -impl ::core::clone::Clone for IMagnetometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x853c64cc_0698_4dda_a6df_9cb9cc4ab40a); } @@ -2544,15 +2132,11 @@ pub struct IMagnetometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMagnetometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMagnetometerStatics2 { type Vtable = IMagnetometerStatics2_Vtbl; } -impl ::core::clone::Clone for IMagnetometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMagnetometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c0819f0_ffc6_4f89_a06f_18fa10792933); } @@ -2568,15 +2152,11 @@ pub struct IMagnetometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensor { type Vtable = IOrientationSensor_Vtbl; } -impl ::core::clone::Clone for IOrientationSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e354635_cf6b_4c63_abd8_10252b0bf6ec); } @@ -2599,15 +2179,11 @@ pub struct IOrientationSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensor2 { type Vtable = IOrientationSensor2_Vtbl; } -impl ::core::clone::Clone for IOrientationSensor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d924cf9_2f1f_49c9_8042_4a1813d67760); } @@ -2627,15 +2203,11 @@ pub struct IOrientationSensor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensor3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensor3 { type Vtable = IOrientationSensor3_Vtbl; } -impl ::core::clone::Clone for IOrientationSensor3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensor3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cce578d_646b_48c5_b7ee_44fdc4c6aafd); } @@ -2649,15 +2221,11 @@ pub struct IOrientationSensor3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorDeviceId { type Vtable = IOrientationSensorDeviceId_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a69b648_4c29_49ec_b28f_ea1d117b66f0); } @@ -2669,15 +2237,11 @@ pub struct IOrientationSensorDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorReading { type Vtable = IOrientationSensorReading_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4756c993_6595_4897_bcc6_d537ee757564); } @@ -2694,15 +2258,11 @@ pub struct IOrientationSensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorReading2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorReading2 { type Vtable = IOrientationSensorReading2_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorReading2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorReading2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00576e5f_49f8_4c05_9e07_24fac79408c3); } @@ -2721,15 +2281,11 @@ pub struct IOrientationSensorReading2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorReadingChangedEventArgs { type Vtable = IOrientationSensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x012c1186_c3ba_46bc_ae65_7a98996cbfb8); } @@ -2741,15 +2297,11 @@ pub struct IOrientationSensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorReadingYawAccuracy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorReadingYawAccuracy { type Vtable = IOrientationSensorReadingYawAccuracy_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorReadingYawAccuracy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorReadingYawAccuracy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1ac9824_3f5a_49a2_bc7b_1180bc38cd2b); } @@ -2761,15 +2313,11 @@ pub struct IOrientationSensorReadingYawAccuracy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorStatics { type Vtable = IOrientationSensorStatics_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10ef8712_fb4c_428a_898b_2765e409e669); } @@ -2781,15 +2329,11 @@ pub struct IOrientationSensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorStatics2 { type Vtable = IOrientationSensorStatics2_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59da0d0b_d40a_4c71_9276_8a272a0a6619); } @@ -2801,15 +2345,11 @@ pub struct IOrientationSensorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorStatics3 { type Vtable = IOrientationSensorStatics3_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd82ce920_2777_40ff_9f59_d654b085f12f); } @@ -2822,15 +2362,11 @@ pub struct IOrientationSensorStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOrientationSensorStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOrientationSensorStatics4 { type Vtable = IOrientationSensorStatics4_Vtbl; } -impl ::core::clone::Clone for IOrientationSensorStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOrientationSensorStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa67feb55_2c85_4b28_a0fe_58c4b20495f5); } @@ -2847,15 +2383,11 @@ pub struct IOrientationSensorStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometer { type Vtable = IPedometer_Vtbl; } -impl ::core::clone::Clone for IPedometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a1e013d_3d98_45f8_8920_8e4ecaca5f97); } @@ -2879,15 +2411,11 @@ pub struct IPedometer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometer2 { type Vtable = IPedometer2_Vtbl; } -impl ::core::clone::Clone for IPedometer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5a406df_2b81_4add_b2ff_77ab6c98ba19); } @@ -2902,15 +2430,11 @@ pub struct IPedometer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometerDataThresholdFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometerDataThresholdFactory { type Vtable = IPedometerDataThresholdFactory_Vtbl; } -impl ::core::clone::Clone for IPedometerDataThresholdFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometerDataThresholdFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbad8f50_7a54_466b_9010_77a162fca5d7); } @@ -2922,15 +2446,11 @@ pub struct IPedometerDataThresholdFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometerReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometerReading { type Vtable = IPedometerReading_Vtbl; } -impl ::core::clone::Clone for IPedometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometerReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2245dcf4_a8e1_432f_896a_be0dd9b02d24); } @@ -2951,15 +2471,11 @@ pub struct IPedometerReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometerReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometerReadingChangedEventArgs { type Vtable = IPedometerReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPedometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometerReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf855e47e_abbc_4456_86a8_25cf2b333742); } @@ -2971,15 +2487,11 @@ pub struct IPedometerReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometerStatics { type Vtable = IPedometerStatics_Vtbl; } -impl ::core::clone::Clone for IPedometerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82980a2f_4083_4dfb_b411_938ea0f4b946); } @@ -3007,15 +2519,11 @@ pub struct IPedometerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPedometerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPedometerStatics2 { type Vtable = IPedometerStatics2_Vtbl; } -impl ::core::clone::Clone for IPedometerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPedometerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79f5c6bb_ce0e_4133_b47e_8627ea72f677); } @@ -3030,15 +2538,11 @@ pub struct IPedometerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensor { type Vtable = IProximitySensor_Vtbl; } -impl ::core::clone::Clone for IProximitySensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54c076b8_ecfb_4944_b928_74fc504d47ee); } @@ -3071,15 +2575,11 @@ pub struct IProximitySensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensorDataThresholdFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensorDataThresholdFactory { type Vtable = IProximitySensorDataThresholdFactory_Vtbl; } -impl ::core::clone::Clone for IProximitySensorDataThresholdFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensorDataThresholdFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905ac121_6d27_4ad3_9db5_6467f2a5ad9d); } @@ -3091,15 +2591,11 @@ pub struct IProximitySensorDataThresholdFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensorReading(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensorReading { type Vtable = IProximitySensorReading_Vtbl; } -impl ::core::clone::Clone for IProximitySensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensorReading { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71228d59_132d_4d5f_8ff9_2f0db8751ced); } @@ -3119,15 +2615,11 @@ pub struct IProximitySensorReading_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensorReadingChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensorReadingChangedEventArgs { type Vtable = IProximitySensorReadingChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IProximitySensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensorReadingChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfc2f366_c3e8_40fd_8cc3_67e289004938); } @@ -3139,15 +2631,11 @@ pub struct IProximitySensorReadingChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensorStatics { type Vtable = IProximitySensorStatics_Vtbl; } -impl ::core::clone::Clone for IProximitySensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29186649_6269_4e57_a5ad_82be80813392); } @@ -3160,15 +2648,11 @@ pub struct IProximitySensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximitySensorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximitySensorStatics2 { type Vtable = IProximitySensorStatics2_Vtbl; } -impl ::core::clone::Clone for IProximitySensorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximitySensorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbf473ae_e9ca_422f_ad67_4c3d25df350c); } @@ -3183,31 +2667,16 @@ pub struct IProximitySensorStatics2_Vtbl { } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorDataThreshold(::windows_core::IUnknown); impl ISensorDataThreshold {} ::windows_core::imp::interface_hierarchy!(ISensorDataThreshold, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISensorDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorDataThreshold {} -impl ::core::fmt::Debug for ISensorDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISensorDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{54daec61-fe4b-4e07-b260-3a4cdfbe396e}"); } unsafe impl ::windows_core::Interface for ISensorDataThreshold { type Vtable = ISensorDataThreshold_Vtbl; } -impl ::core::clone::Clone for ISensorDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorDataThreshold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54daec61_fe4b_4e07_b260_3a4cdfbe396e); } @@ -3218,15 +2687,11 @@ pub struct ISensorDataThreshold_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorDataThresholdTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISensorDataThresholdTriggerDetails { type Vtable = ISensorDataThresholdTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ISensorDataThresholdTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorDataThresholdTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9106f1b7_e88d_48b1_bc90_619c7b349391); } @@ -3239,15 +2704,11 @@ pub struct ISensorDataThresholdTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorQuaternion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISensorQuaternion { type Vtable = ISensorQuaternion_Vtbl; } -impl ::core::clone::Clone for ISensorQuaternion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorQuaternion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9c5c827_c71c_46e7_9da3_36a193b232bc); } @@ -3262,15 +2723,11 @@ pub struct ISensorQuaternion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorRotationMatrix(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISensorRotationMatrix { type Vtable = ISensorRotationMatrix_Vtbl; } -impl ::core::clone::Clone for ISensorRotationMatrix { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorRotationMatrix { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a3d5a67_22f4_4392_9538_65d0bd064aa6); } @@ -3290,15 +2747,11 @@ pub struct ISensorRotationMatrix_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensor { type Vtable = ISimpleOrientationSensor_Vtbl; } -impl ::core::clone::Clone for ISimpleOrientationSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ff53856_214a_4dee_a3f9_616f1ab06ffd); } @@ -3318,15 +2771,11 @@ pub struct ISimpleOrientationSensor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensor2 { type Vtable = ISimpleOrientationSensor2_Vtbl; } -impl ::core::clone::Clone for ISimpleOrientationSensor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa277a798_8870_453e_8bd6_b8f5d8d7941b); } @@ -3345,14 +2794,10 @@ pub struct ISimpleOrientationSensor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensorDeviceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensorDeviceId { - type Vtable = ISimpleOrientationSensorDeviceId_Vtbl; -} -impl ::core::clone::Clone for ISimpleOrientationSensorDeviceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } + type Vtable = ISimpleOrientationSensorDeviceId_Vtbl; } unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensorDeviceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc00acb_3b76_41f6_8091_30efe646d3cf); @@ -3365,15 +2810,11 @@ pub struct ISimpleOrientationSensorDeviceId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensorOrientationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensorOrientationChangedEventArgs { type Vtable = ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISimpleOrientationSensorOrientationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensorOrientationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcd5c660_23d4_4b4c_a22e_ba81ade0c601); } @@ -3389,15 +2830,11 @@ pub struct ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensorStatics { type Vtable = ISimpleOrientationSensorStatics_Vtbl; } -impl ::core::clone::Clone for ISimpleOrientationSensorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72ed066f_70aa_40c6_9b1b_3433f7459b4e); } @@ -3409,15 +2846,11 @@ pub struct ISimpleOrientationSensorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleOrientationSensorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISimpleOrientationSensorStatics2 { type Vtable = ISimpleOrientationSensorStatics2_Vtbl; } -impl ::core::clone::Clone for ISimpleOrientationSensorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleOrientationSensorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x848f9c7f_b138_4e11_8910_a2a2a3b56d83); } @@ -3433,6 +2866,7 @@ pub struct ISimpleOrientationSensorStatics2_Vtbl { } #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Accelerometer(::windows_core::IUnknown); impl Accelerometer { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -3592,25 +3026,9 @@ impl Accelerometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Accelerometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Accelerometer {} -impl ::core::fmt::Debug for Accelerometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Accelerometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Accelerometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Accelerometer;{df184548-2711-4da7-8098-4b82205d3c7d})"); } -impl ::core::clone::Clone for Accelerometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Accelerometer { type Vtable = IAccelerometer_Vtbl; } @@ -3625,6 +3043,7 @@ unsafe impl ::core::marker::Send for Accelerometer {} unsafe impl ::core::marker::Sync for Accelerometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccelerometerDataThreshold(::windows_core::IUnknown); impl AccelerometerDataThreshold { pub fn XAxisInGForce(&self) -> ::windows_core::Result { @@ -3661,25 +3080,9 @@ impl AccelerometerDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetZAxisInGForce)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AccelerometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccelerometerDataThreshold {} -impl ::core::fmt::Debug for AccelerometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccelerometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccelerometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerDataThreshold;{f92c1b68-6320-5577-879e-9942621c3dd9})"); } -impl ::core::clone::Clone for AccelerometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccelerometerDataThreshold { type Vtable = IAccelerometerDataThreshold_Vtbl; } @@ -3694,6 +3097,7 @@ unsafe impl ::core::marker::Send for AccelerometerDataThreshold {} unsafe impl ::core::marker::Sync for AccelerometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccelerometerReading(::windows_core::IUnknown); impl AccelerometerReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3745,25 +3149,9 @@ impl AccelerometerReading { } } } -impl ::core::cmp::PartialEq for AccelerometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccelerometerReading {} -impl ::core::fmt::Debug for AccelerometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccelerometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccelerometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReading;{b9fe7acb-d351-40af-8bb6-7aa9ae641fb7})"); } -impl ::core::clone::Clone for AccelerometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccelerometerReading { type Vtable = IAccelerometerReading_Vtbl; } @@ -3778,6 +3166,7 @@ unsafe impl ::core::marker::Send for AccelerometerReading {} unsafe impl ::core::marker::Sync for AccelerometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccelerometerReadingChangedEventArgs(::windows_core::IUnknown); impl AccelerometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -3788,25 +3177,9 @@ impl AccelerometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AccelerometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccelerometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for AccelerometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccelerometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccelerometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerReadingChangedEventArgs;{0095c65b-b6ac-475a-9f44-8b32d35a3f25})"); } -impl ::core::clone::Clone for AccelerometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccelerometerReadingChangedEventArgs { type Vtable = IAccelerometerReadingChangedEventArgs_Vtbl; } @@ -3821,6 +3194,7 @@ unsafe impl ::core::marker::Send for AccelerometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for AccelerometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccelerometerShakenEventArgs(::windows_core::IUnknown); impl AccelerometerShakenEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3833,25 +3207,9 @@ impl AccelerometerShakenEventArgs { } } } -impl ::core::cmp::PartialEq for AccelerometerShakenEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccelerometerShakenEventArgs {} -impl ::core::fmt::Debug for AccelerometerShakenEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccelerometerShakenEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccelerometerShakenEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AccelerometerShakenEventArgs;{95ff01d1-4a28-4f35-98e8-8178aae4084a})"); } -impl ::core::clone::Clone for AccelerometerShakenEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccelerometerShakenEventArgs { type Vtable = IAccelerometerShakenEventArgs_Vtbl; } @@ -3866,6 +3224,7 @@ unsafe impl ::core::marker::Send for AccelerometerShakenEventArgs {} unsafe impl ::core::marker::Sync for AccelerometerShakenEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensor(::windows_core::IUnknown); impl ActivitySensor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3978,25 +3337,9 @@ impl ActivitySensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ActivitySensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensor {} -impl ::core::fmt::Debug for ActivitySensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensor;{cd7a630c-fb5f-48eb-b09b-a2708d1c61ef})"); } -impl ::core::clone::Clone for ActivitySensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensor { type Vtable = IActivitySensor_Vtbl; } @@ -4011,6 +3354,7 @@ unsafe impl ::core::marker::Send for ActivitySensor {} unsafe impl ::core::marker::Sync for ActivitySensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensorReading(::windows_core::IUnknown); impl ActivitySensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4037,25 +3381,9 @@ impl ActivitySensorReading { } } } -impl ::core::cmp::PartialEq for ActivitySensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensorReading {} -impl ::core::fmt::Debug for ActivitySensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensorReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReading;{85125a96-1472-40a2-b2ae-e1ef29226c78})"); } -impl ::core::clone::Clone for ActivitySensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensorReading { type Vtable = IActivitySensorReading_Vtbl; } @@ -4070,6 +3398,7 @@ unsafe impl ::core::marker::Send for ActivitySensorReading {} unsafe impl ::core::marker::Sync for ActivitySensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensorReadingChangeReport(::windows_core::IUnknown); impl ActivitySensorReadingChangeReport { pub fn Reading(&self) -> ::windows_core::Result { @@ -4080,25 +3409,9 @@ impl ActivitySensorReadingChangeReport { } } } -impl ::core::cmp::PartialEq for ActivitySensorReadingChangeReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensorReadingChangeReport {} -impl ::core::fmt::Debug for ActivitySensorReadingChangeReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensorReadingChangeReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensorReadingChangeReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangeReport;{4f3c2915-d93b-47bd-960a-f20fb2f322b9})"); } -impl ::core::clone::Clone for ActivitySensorReadingChangeReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensorReadingChangeReport { type Vtable = IActivitySensorReadingChangeReport_Vtbl; } @@ -4113,6 +3426,7 @@ unsafe impl ::core::marker::Send for ActivitySensorReadingChangeReport {} unsafe impl ::core::marker::Sync for ActivitySensorReadingChangeReport {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensorReadingChangedEventArgs(::windows_core::IUnknown); impl ActivitySensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -4123,25 +3437,9 @@ impl ActivitySensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ActivitySensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for ActivitySensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorReadingChangedEventArgs;{de386717-aeb6-4ec7-946a-d9cc19b951ec})"); } -impl ::core::clone::Clone for ActivitySensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensorReadingChangedEventArgs { type Vtable = IActivitySensorReadingChangedEventArgs_Vtbl; } @@ -4156,6 +3454,7 @@ unsafe impl ::core::marker::Send for ActivitySensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for ActivitySensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivitySensorTriggerDetails(::windows_core::IUnknown); impl ActivitySensorTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4168,25 +3467,9 @@ impl ActivitySensorTriggerDetails { } } } -impl ::core::cmp::PartialEq for ActivitySensorTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivitySensorTriggerDetails {} -impl ::core::fmt::Debug for ActivitySensorTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivitySensorTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivitySensorTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ActivitySensorTriggerDetails;{2c9e6612-b9ca-4677-b263-243297f79d3a})"); } -impl ::core::clone::Clone for ActivitySensorTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivitySensorTriggerDetails { type Vtable = IActivitySensorTriggerDetails_Vtbl; } @@ -4201,6 +3484,7 @@ unsafe impl ::core::marker::Send for ActivitySensorTriggerDetails {} unsafe impl ::core::marker::Sync for ActivitySensorTriggerDetails {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Altimeter(::windows_core::IUnknown); impl Altimeter { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -4283,25 +3567,9 @@ impl Altimeter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Altimeter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Altimeter {} -impl ::core::fmt::Debug for Altimeter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Altimeter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Altimeter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Altimeter;{72f057fd-8f04-49f1-b4a7-f4e363b701a2})"); } -impl ::core::clone::Clone for Altimeter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Altimeter { type Vtable = IAltimeter_Vtbl; } @@ -4316,6 +3584,7 @@ unsafe impl ::core::marker::Send for Altimeter {} unsafe impl ::core::marker::Sync for Altimeter {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AltimeterReading(::windows_core::IUnknown); impl AltimeterReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4353,25 +3622,9 @@ impl AltimeterReading { } } } -impl ::core::cmp::PartialEq for AltimeterReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AltimeterReading {} -impl ::core::fmt::Debug for AltimeterReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AltimeterReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AltimeterReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReading;{fbe8ef73-7f5e-48c8-aa1a-f1f3befc1144})"); } -impl ::core::clone::Clone for AltimeterReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AltimeterReading { type Vtable = IAltimeterReading_Vtbl; } @@ -4386,6 +3639,7 @@ unsafe impl ::core::marker::Send for AltimeterReading {} unsafe impl ::core::marker::Sync for AltimeterReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AltimeterReadingChangedEventArgs(::windows_core::IUnknown); impl AltimeterReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -4396,25 +3650,9 @@ impl AltimeterReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AltimeterReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AltimeterReadingChangedEventArgs {} -impl ::core::fmt::Debug for AltimeterReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AltimeterReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AltimeterReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.AltimeterReadingChangedEventArgs;{7069d077-446d-47f7-998c-ebc23b45e4a2})"); } -impl ::core::clone::Clone for AltimeterReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AltimeterReadingChangedEventArgs { type Vtable = IAltimeterReadingChangedEventArgs_Vtbl; } @@ -4429,6 +3667,7 @@ unsafe impl ::core::marker::Send for AltimeterReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for AltimeterReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Barometer(::windows_core::IUnknown); impl Barometer { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -4537,25 +3776,9 @@ impl Barometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Barometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Barometer {} -impl ::core::fmt::Debug for Barometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Barometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Barometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Barometer;{934475a8-78bf-452f-b017-f0209ce6dab4})"); } -impl ::core::clone::Clone for Barometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Barometer { type Vtable = IBarometer_Vtbl; } @@ -4570,6 +3793,7 @@ unsafe impl ::core::marker::Send for Barometer {} unsafe impl ::core::marker::Sync for Barometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarometerDataThreshold(::windows_core::IUnknown); impl BarometerDataThreshold { pub fn Hectopascals(&self) -> ::windows_core::Result { @@ -4584,25 +3808,9 @@ impl BarometerDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetHectopascals)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BarometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarometerDataThreshold {} -impl ::core::fmt::Debug for BarometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerDataThreshold;{076b952c-cb62-5a90-a0d1-f85e4a936394})"); } -impl ::core::clone::Clone for BarometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarometerDataThreshold { type Vtable = IBarometerDataThreshold_Vtbl; } @@ -4617,6 +3825,7 @@ unsafe impl ::core::marker::Send for BarometerDataThreshold {} unsafe impl ::core::marker::Sync for BarometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarometerReading(::windows_core::IUnknown); impl BarometerReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4654,25 +3863,9 @@ impl BarometerReading { } } } -impl ::core::cmp::PartialEq for BarometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarometerReading {} -impl ::core::fmt::Debug for BarometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReading;{f5b9d2e6-1df6-4a1a-a7ad-321d4f5db247})"); } -impl ::core::clone::Clone for BarometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarometerReading { type Vtable = IBarometerReading_Vtbl; } @@ -4687,6 +3880,7 @@ unsafe impl ::core::marker::Send for BarometerReading {} unsafe impl ::core::marker::Sync for BarometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BarometerReadingChangedEventArgs(::windows_core::IUnknown); impl BarometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -4697,25 +3891,9 @@ impl BarometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for BarometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BarometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for BarometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BarometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BarometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.BarometerReadingChangedEventArgs;{3d84945f-037b-404f-9bbb-6232d69543c3})"); } -impl ::core::clone::Clone for BarometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BarometerReadingChangedEventArgs { type Vtable = IBarometerReadingChangedEventArgs_Vtbl; } @@ -4730,6 +3908,7 @@ unsafe impl ::core::marker::Send for BarometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for BarometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Compass(::windows_core::IUnknown); impl Compass { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -4853,25 +4032,9 @@ impl Compass { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Compass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Compass {} -impl ::core::fmt::Debug for Compass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Compass").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Compass { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Compass;{292ffa94-1b45-403c-ba06-b106dba69a64})"); } -impl ::core::clone::Clone for Compass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Compass { type Vtable = ICompass_Vtbl; } @@ -4886,6 +4049,7 @@ unsafe impl ::core::marker::Send for Compass {} unsafe impl ::core::marker::Sync for Compass {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompassDataThreshold(::windows_core::IUnknown); impl CompassDataThreshold { pub fn Degrees(&self) -> ::windows_core::Result { @@ -4900,25 +4064,9 @@ impl CompassDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetDegrees)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompassDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompassDataThreshold {} -impl ::core::fmt::Debug for CompassDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompassDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompassDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassDataThreshold;{d15b52b3-d39d-5ec8-b2e4-f193e6ab34ed})"); } -impl ::core::clone::Clone for CompassDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompassDataThreshold { type Vtable = ICompassDataThreshold_Vtbl; } @@ -4933,6 +4081,7 @@ unsafe impl ::core::marker::Send for CompassDataThreshold {} unsafe impl ::core::marker::Sync for CompassDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompassReading(::windows_core::IUnknown); impl CompassReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4986,25 +4135,9 @@ impl CompassReading { } } } -impl ::core::cmp::PartialEq for CompassReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompassReading {} -impl ::core::fmt::Debug for CompassReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompassReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompassReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReading;{82911128-513d-4dc9-b781-5eedfbf02d0c})"); } -impl ::core::clone::Clone for CompassReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompassReading { type Vtable = ICompassReading_Vtbl; } @@ -5019,6 +4152,7 @@ unsafe impl ::core::marker::Send for CompassReading {} unsafe impl ::core::marker::Sync for CompassReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompassReadingChangedEventArgs(::windows_core::IUnknown); impl CompassReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -5029,25 +4163,9 @@ impl CompassReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for CompassReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompassReadingChangedEventArgs {} -impl ::core::fmt::Debug for CompassReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompassReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompassReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.CompassReadingChangedEventArgs;{8f1549b0-e8bc-4c7e-b009-4e41df137072})"); } -impl ::core::clone::Clone for CompassReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompassReadingChangedEventArgs { type Vtable = ICompassReadingChangedEventArgs_Vtbl; } @@ -5062,6 +4180,7 @@ unsafe impl ::core::marker::Send for CompassReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for CompassReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Gyrometer(::windows_core::IUnknown); impl Gyrometer { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -5185,25 +4304,9 @@ impl Gyrometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Gyrometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Gyrometer {} -impl ::core::fmt::Debug for Gyrometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Gyrometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Gyrometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Gyrometer;{fdb9a9c4-84b1-4ca2-9763-9b589506c70c})"); } -impl ::core::clone::Clone for Gyrometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Gyrometer { type Vtable = IGyrometer_Vtbl; } @@ -5218,6 +4321,7 @@ unsafe impl ::core::marker::Send for Gyrometer {} unsafe impl ::core::marker::Sync for Gyrometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GyrometerDataThreshold(::windows_core::IUnknown); impl GyrometerDataThreshold { pub fn XAxisInDegreesPerSecond(&self) -> ::windows_core::Result { @@ -5254,25 +4358,9 @@ impl GyrometerDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetZAxisInDegreesPerSecond)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for GyrometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GyrometerDataThreshold {} -impl ::core::fmt::Debug for GyrometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GyrometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GyrometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerDataThreshold;{8648b31e-6e52-5259-bbad-242a69dc38c8})"); } -impl ::core::clone::Clone for GyrometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GyrometerDataThreshold { type Vtable = IGyrometerDataThreshold_Vtbl; } @@ -5287,6 +4375,7 @@ unsafe impl ::core::marker::Send for GyrometerDataThreshold {} unsafe impl ::core::marker::Sync for GyrometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GyrometerReading(::windows_core::IUnknown); impl GyrometerReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5338,25 +4427,9 @@ impl GyrometerReading { } } } -impl ::core::cmp::PartialEq for GyrometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GyrometerReading {} -impl ::core::fmt::Debug for GyrometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GyrometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GyrometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReading;{b3d6de5c-1ee4-456f-9de7-e2493b5c8e03})"); } -impl ::core::clone::Clone for GyrometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GyrometerReading { type Vtable = IGyrometerReading_Vtbl; } @@ -5371,6 +4444,7 @@ unsafe impl ::core::marker::Send for GyrometerReading {} unsafe impl ::core::marker::Sync for GyrometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GyrometerReadingChangedEventArgs(::windows_core::IUnknown); impl GyrometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -5381,25 +4455,9 @@ impl GyrometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for GyrometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GyrometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for GyrometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GyrometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GyrometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.GyrometerReadingChangedEventArgs;{0fdf1895-6f9e-42ce-8d58-388c0ab8356d})"); } -impl ::core::clone::Clone for GyrometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GyrometerReadingChangedEventArgs { type Vtable = IGyrometerReadingChangedEventArgs_Vtbl; } @@ -5414,6 +4472,7 @@ unsafe impl ::core::marker::Send for GyrometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for GyrometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HingeAngleReading(::windows_core::IUnknown); impl HingeAngleReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5442,25 +4501,9 @@ impl HingeAngleReading { } } } -impl ::core::cmp::PartialEq for HingeAngleReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HingeAngleReading {} -impl ::core::fmt::Debug for HingeAngleReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HingeAngleReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HingeAngleReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleReading;{a3cd45b9-1bf1-4f65-a704-e2da04f182c0})"); } -impl ::core::clone::Clone for HingeAngleReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HingeAngleReading { type Vtable = IHingeAngleReading_Vtbl; } @@ -5475,6 +4518,7 @@ unsafe impl ::core::marker::Send for HingeAngleReading {} unsafe impl ::core::marker::Sync for HingeAngleReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HingeAngleSensor(::windows_core::IUnknown); impl HingeAngleSensor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5565,25 +4609,9 @@ impl HingeAngleSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HingeAngleSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HingeAngleSensor {} -impl ::core::fmt::Debug for HingeAngleSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HingeAngleSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HingeAngleSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensor;{e9d3be02-bfdf-437f-8c29-88c77393d309})"); } -impl ::core::clone::Clone for HingeAngleSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HingeAngleSensor { type Vtable = IHingeAngleSensor_Vtbl; } @@ -5598,6 +4626,7 @@ unsafe impl ::core::marker::Send for HingeAngleSensor {} unsafe impl ::core::marker::Sync for HingeAngleSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HingeAngleSensorReadingChangedEventArgs(::windows_core::IUnknown); impl HingeAngleSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -5608,25 +4637,9 @@ impl HingeAngleSensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for HingeAngleSensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HingeAngleSensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for HingeAngleSensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HingeAngleSensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HingeAngleSensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HingeAngleSensorReadingChangedEventArgs;{24d9558b-fad0-42b8-a854-78923049a1ba})"); } -impl ::core::clone::Clone for HingeAngleSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HingeAngleSensorReadingChangedEventArgs { type Vtable = IHingeAngleSensorReadingChangedEventArgs_Vtbl; } @@ -5641,6 +4654,7 @@ unsafe impl ::core::marker::Send for HingeAngleSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for HingeAngleSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HumanPresenceFeatures(::windows_core::IUnknown); impl HumanPresenceFeatures { pub fn SensorId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5681,25 +4695,9 @@ impl HumanPresenceFeatures { } } } -impl ::core::cmp::PartialEq for HumanPresenceFeatures { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HumanPresenceFeatures {} -impl ::core::fmt::Debug for HumanPresenceFeatures { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HumanPresenceFeatures").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HumanPresenceFeatures { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceFeatures;{bdb09fda-3244-557a-bd29-8b004f59f2cc})"); } -impl ::core::clone::Clone for HumanPresenceFeatures { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HumanPresenceFeatures { type Vtable = IHumanPresenceFeatures_Vtbl; } @@ -5714,6 +4712,7 @@ unsafe impl ::core::marker::Send for HumanPresenceFeatures {} unsafe impl ::core::marker::Sync for HumanPresenceFeatures {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HumanPresenceSensor(::windows_core::IUnknown); impl HumanPresenceSensor { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5794,25 +4793,9 @@ impl HumanPresenceSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HumanPresenceSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HumanPresenceSensor {} -impl ::core::fmt::Debug for HumanPresenceSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HumanPresenceSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HumanPresenceSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensor;{2116788b-e389-5cc3-9a97-cb17be1008bd})"); } -impl ::core::clone::Clone for HumanPresenceSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HumanPresenceSensor { type Vtable = IHumanPresenceSensor_Vtbl; } @@ -5827,6 +4810,7 @@ unsafe impl ::core::marker::Send for HumanPresenceSensor {} unsafe impl ::core::marker::Sync for HumanPresenceSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HumanPresenceSensorReading(::windows_core::IUnknown); impl HumanPresenceSensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5859,28 +4843,12 @@ impl HumanPresenceSensorReading { unsafe { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(this).DistanceInMillimeters)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) - } - } -} -impl ::core::cmp::PartialEq for HumanPresenceSensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HumanPresenceSensorReading {} -impl ::core::fmt::Debug for HumanPresenceSensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HumanPresenceSensorReading").field(&self.0).finish() + } } } impl ::windows_core::RuntimeType for HumanPresenceSensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReading;{83533bf5-a85a-5d50-8be4-6072d745a3bb})"); } -impl ::core::clone::Clone for HumanPresenceSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HumanPresenceSensorReading { type Vtable = IHumanPresenceSensorReading_Vtbl; } @@ -5895,6 +4863,7 @@ unsafe impl ::core::marker::Send for HumanPresenceSensorReading {} unsafe impl ::core::marker::Sync for HumanPresenceSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HumanPresenceSensorReadingChangedEventArgs(::windows_core::IUnknown); impl HumanPresenceSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -5905,25 +4874,9 @@ impl HumanPresenceSensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for HumanPresenceSensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HumanPresenceSensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for HumanPresenceSensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HumanPresenceSensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HumanPresenceSensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSensorReadingChangedEventArgs;{a9dc4583-fd69-5c5e-ab1f-942204eae2db})"); } -impl ::core::clone::Clone for HumanPresenceSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HumanPresenceSensorReadingChangedEventArgs { type Vtable = IHumanPresenceSensorReadingChangedEventArgs_Vtbl; } @@ -5938,6 +4891,7 @@ unsafe impl ::core::marker::Send for HumanPresenceSensorReadingChangedEventArgs unsafe impl ::core::marker::Sync for HumanPresenceSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HumanPresenceSettings(::windows_core::IUnknown); impl HumanPresenceSettings { pub fn SensorId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6110,25 +5064,9 @@ impl HumanPresenceSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HumanPresenceSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HumanPresenceSettings {} -impl ::core::fmt::Debug for HumanPresenceSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HumanPresenceSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HumanPresenceSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.HumanPresenceSettings;{ef4daf5b-07b7-5eb6-86bb-b7ff49ce44fb})"); } -impl ::core::clone::Clone for HumanPresenceSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HumanPresenceSettings { type Vtable = IHumanPresenceSettings_Vtbl; } @@ -6143,6 +5081,7 @@ unsafe impl ::core::marker::Send for HumanPresenceSettings {} unsafe impl ::core::marker::Sync for HumanPresenceSettings {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Inclinometer(::windows_core::IUnknown); impl Inclinometer { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -6295,25 +5234,9 @@ impl Inclinometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Inclinometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Inclinometer {} -impl ::core::fmt::Debug for Inclinometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Inclinometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Inclinometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Inclinometer;{2648ca6f-2286-406f-9161-f0c4bd806ebf})"); } -impl ::core::clone::Clone for Inclinometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Inclinometer { type Vtable = IInclinometer_Vtbl; } @@ -6328,6 +5251,7 @@ unsafe impl ::core::marker::Send for Inclinometer {} unsafe impl ::core::marker::Sync for Inclinometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InclinometerDataThreshold(::windows_core::IUnknown); impl InclinometerDataThreshold { pub fn PitchInDegrees(&self) -> ::windows_core::Result { @@ -6364,25 +5288,9 @@ impl InclinometerDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetYawInDegrees)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InclinometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InclinometerDataThreshold {} -impl ::core::fmt::Debug for InclinometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InclinometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InclinometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerDataThreshold;{f80a4783-7bfe-545e-bb60-a0ebc47bd2fb})"); } -impl ::core::clone::Clone for InclinometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InclinometerDataThreshold { type Vtable = IInclinometerDataThreshold_Vtbl; } @@ -6397,6 +5305,7 @@ unsafe impl ::core::marker::Send for InclinometerDataThreshold {} unsafe impl ::core::marker::Sync for InclinometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InclinometerReading(::windows_core::IUnknown); impl InclinometerReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6455,25 +5364,9 @@ impl InclinometerReading { } } } -impl ::core::cmp::PartialEq for InclinometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InclinometerReading {} -impl ::core::fmt::Debug for InclinometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InclinometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InclinometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReading;{9f44f055-b6f6-497f-b127-1a775e501458})"); } -impl ::core::clone::Clone for InclinometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InclinometerReading { type Vtable = IInclinometerReading_Vtbl; } @@ -6488,6 +5381,7 @@ unsafe impl ::core::marker::Send for InclinometerReading {} unsafe impl ::core::marker::Sync for InclinometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InclinometerReadingChangedEventArgs(::windows_core::IUnknown); impl InclinometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -6498,25 +5392,9 @@ impl InclinometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for InclinometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InclinometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for InclinometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InclinometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InclinometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.InclinometerReadingChangedEventArgs;{4ae91dc1-e7eb-4938-8511-ae0d6b440438})"); } -impl ::core::clone::Clone for InclinometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InclinometerReadingChangedEventArgs { type Vtable = IInclinometerReadingChangedEventArgs_Vtbl; } @@ -6531,6 +5409,7 @@ unsafe impl ::core::marker::Send for InclinometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for InclinometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LightSensor(::windows_core::IUnknown); impl LightSensor { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -6639,25 +5518,9 @@ impl LightSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LightSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LightSensor {} -impl ::core::fmt::Debug for LightSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LightSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LightSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensor;{f84c0718-0c54-47ae-922e-789f57fb03a0})"); } -impl ::core::clone::Clone for LightSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LightSensor { type Vtable = ILightSensor_Vtbl; } @@ -6672,6 +5535,7 @@ unsafe impl ::core::marker::Send for LightSensor {} unsafe impl ::core::marker::Sync for LightSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LightSensorDataThreshold(::windows_core::IUnknown); impl LightSensorDataThreshold { pub fn LuxPercentage(&self) -> ::windows_core::Result { @@ -6697,25 +5561,9 @@ impl LightSensorDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetAbsoluteLux)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for LightSensorDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LightSensorDataThreshold {} -impl ::core::fmt::Debug for LightSensorDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LightSensorDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LightSensorDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorDataThreshold;{b160afd1-878f-5492-9f2c-33dc3ae584a3})"); } -impl ::core::clone::Clone for LightSensorDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LightSensorDataThreshold { type Vtable = ILightSensorDataThreshold_Vtbl; } @@ -6730,6 +5578,7 @@ unsafe impl ::core::marker::Send for LightSensorDataThreshold {} unsafe impl ::core::marker::Sync for LightSensorDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LightSensorReading(::windows_core::IUnknown); impl LightSensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6767,25 +5616,9 @@ impl LightSensorReading { } } } -impl ::core::cmp::PartialEq for LightSensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LightSensorReading {} -impl ::core::fmt::Debug for LightSensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LightSensorReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LightSensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReading;{ffdf6300-227c-4d2b-b302-fc0142485c68})"); } -impl ::core::clone::Clone for LightSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LightSensorReading { type Vtable = ILightSensorReading_Vtbl; } @@ -6800,6 +5633,7 @@ unsafe impl ::core::marker::Send for LightSensorReading {} unsafe impl ::core::marker::Sync for LightSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LightSensorReadingChangedEventArgs(::windows_core::IUnknown); impl LightSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -6810,25 +5644,9 @@ impl LightSensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for LightSensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LightSensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for LightSensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LightSensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LightSensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.LightSensorReadingChangedEventArgs;{a3a2f4cf-258b-420c-b8ab-8edd601ecf50})"); } -impl ::core::clone::Clone for LightSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LightSensorReadingChangedEventArgs { type Vtable = ILightSensorReadingChangedEventArgs_Vtbl; } @@ -6843,6 +5661,7 @@ unsafe impl ::core::marker::Send for LightSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for LightSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Magnetometer(::windows_core::IUnknown); impl Magnetometer { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -6966,25 +5785,9 @@ impl Magnetometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Magnetometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Magnetometer {} -impl ::core::fmt::Debug for Magnetometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Magnetometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Magnetometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Magnetometer;{484f626e-d3c9-4111-b3f6-2cf1faa418d5})"); } -impl ::core::clone::Clone for Magnetometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Magnetometer { type Vtable = IMagnetometer_Vtbl; } @@ -6999,6 +5802,7 @@ unsafe impl ::core::marker::Send for Magnetometer {} unsafe impl ::core::marker::Sync for Magnetometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagnetometerDataThreshold(::windows_core::IUnknown); impl MagnetometerDataThreshold { pub fn XAxisMicroteslas(&self) -> ::windows_core::Result { @@ -7035,25 +5839,9 @@ impl MagnetometerDataThreshold { unsafe { (::windows_core::Interface::vtable(this).SetZAxisMicroteslas)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MagnetometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagnetometerDataThreshold {} -impl ::core::fmt::Debug for MagnetometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagnetometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagnetometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerDataThreshold;{d177cb01-9063-5fa5-b596-b445e9dc3401})"); } -impl ::core::clone::Clone for MagnetometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagnetometerDataThreshold { type Vtable = IMagnetometerDataThreshold_Vtbl; } @@ -7068,6 +5856,7 @@ unsafe impl ::core::marker::Send for MagnetometerDataThreshold {} unsafe impl ::core::marker::Sync for MagnetometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagnetometerReading(::windows_core::IUnknown); impl MagnetometerReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7126,25 +5915,9 @@ impl MagnetometerReading { } } } -impl ::core::cmp::PartialEq for MagnetometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagnetometerReading {} -impl ::core::fmt::Debug for MagnetometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagnetometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagnetometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReading;{0c2cc40d-ebfd-4e5c-bb11-afc29b3cae61})"); } -impl ::core::clone::Clone for MagnetometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagnetometerReading { type Vtable = IMagnetometerReading_Vtbl; } @@ -7159,6 +5932,7 @@ unsafe impl ::core::marker::Send for MagnetometerReading {} unsafe impl ::core::marker::Sync for MagnetometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MagnetometerReadingChangedEventArgs(::windows_core::IUnknown); impl MagnetometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -7169,25 +5943,9 @@ impl MagnetometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MagnetometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MagnetometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for MagnetometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MagnetometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MagnetometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.MagnetometerReadingChangedEventArgs;{17eae872-2eb9-4ee7-8ad0-3127537d949b})"); } -impl ::core::clone::Clone for MagnetometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MagnetometerReadingChangedEventArgs { type Vtable = IMagnetometerReadingChangedEventArgs_Vtbl; } @@ -7202,6 +5960,7 @@ unsafe impl ::core::marker::Send for MagnetometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for MagnetometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OrientationSensor(::windows_core::IUnknown); impl OrientationSensor { pub fn GetCurrentReading(&self) -> ::windows_core::Result { @@ -7359,25 +6118,9 @@ impl OrientationSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for OrientationSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OrientationSensor {} -impl ::core::fmt::Debug for OrientationSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OrientationSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OrientationSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensor;{5e354635-cf6b-4c63-abd8-10252b0bf6ec})"); } -impl ::core::clone::Clone for OrientationSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OrientationSensor { type Vtable = IOrientationSensor_Vtbl; } @@ -7392,6 +6135,7 @@ unsafe impl ::core::marker::Send for OrientationSensor {} unsafe impl ::core::marker::Sync for OrientationSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OrientationSensorReading(::windows_core::IUnknown); impl OrientationSensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7443,25 +6187,9 @@ impl OrientationSensorReading { } } } -impl ::core::cmp::PartialEq for OrientationSensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OrientationSensorReading {} -impl ::core::fmt::Debug for OrientationSensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OrientationSensorReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OrientationSensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReading;{4756c993-6595-4897-bcc6-d537ee757564})"); } -impl ::core::clone::Clone for OrientationSensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OrientationSensorReading { type Vtable = IOrientationSensorReading_Vtbl; } @@ -7476,6 +6204,7 @@ unsafe impl ::core::marker::Send for OrientationSensorReading {} unsafe impl ::core::marker::Sync for OrientationSensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OrientationSensorReadingChangedEventArgs(::windows_core::IUnknown); impl OrientationSensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -7486,25 +6215,9 @@ impl OrientationSensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for OrientationSensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OrientationSensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for OrientationSensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OrientationSensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OrientationSensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.OrientationSensorReadingChangedEventArgs;{012c1186-c3ba-46bc-ae65-7a98996cbfb8})"); } -impl ::core::clone::Clone for OrientationSensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OrientationSensorReadingChangedEventArgs { type Vtable = IOrientationSensorReadingChangedEventArgs_Vtbl; } @@ -7519,6 +6232,7 @@ unsafe impl ::core::marker::Send for OrientationSensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for OrientationSensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Pedometer(::windows_core::IUnknown); impl Pedometer { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7640,25 +6354,9 @@ impl Pedometer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Pedometer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Pedometer {} -impl ::core::fmt::Debug for Pedometer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Pedometer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Pedometer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.Pedometer;{9a1e013d-3d98-45f8-8920-8e4ecaca5f97})"); } -impl ::core::clone::Clone for Pedometer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Pedometer { type Vtable = IPedometer_Vtbl; } @@ -7673,6 +6371,7 @@ unsafe impl ::core::marker::Send for Pedometer {} unsafe impl ::core::marker::Sync for Pedometer {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PedometerDataThreshold(::windows_core::IUnknown); impl PedometerDataThreshold { pub fn Create(sensor: P0, stepgoal: i32) -> ::windows_core::Result @@ -7690,25 +6389,9 @@ impl PedometerDataThreshold { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PedometerDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PedometerDataThreshold {} -impl ::core::fmt::Debug for PedometerDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PedometerDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PedometerDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); } -impl ::core::clone::Clone for PedometerDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PedometerDataThreshold { type Vtable = ISensorDataThreshold_Vtbl; } @@ -7724,6 +6407,7 @@ unsafe impl ::core::marker::Send for PedometerDataThreshold {} unsafe impl ::core::marker::Sync for PedometerDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PedometerReading(::windows_core::IUnknown); impl PedometerReading { pub fn StepKind(&self) -> ::windows_core::Result { @@ -7759,25 +6443,9 @@ impl PedometerReading { } } } -impl ::core::cmp::PartialEq for PedometerReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PedometerReading {} -impl ::core::fmt::Debug for PedometerReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PedometerReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PedometerReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReading;{2245dcf4-a8e1-432f-896a-be0dd9b02d24})"); } -impl ::core::clone::Clone for PedometerReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PedometerReading { type Vtable = IPedometerReading_Vtbl; } @@ -7792,6 +6460,7 @@ unsafe impl ::core::marker::Send for PedometerReading {} unsafe impl ::core::marker::Sync for PedometerReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PedometerReadingChangedEventArgs(::windows_core::IUnknown); impl PedometerReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -7802,25 +6471,9 @@ impl PedometerReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PedometerReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PedometerReadingChangedEventArgs {} -impl ::core::fmt::Debug for PedometerReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PedometerReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PedometerReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.PedometerReadingChangedEventArgs;{f855e47e-abbc-4456-86a8-25cf2b333742})"); } -impl ::core::clone::Clone for PedometerReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PedometerReadingChangedEventArgs { type Vtable = IPedometerReadingChangedEventArgs_Vtbl; } @@ -7835,6 +6488,7 @@ unsafe impl ::core::marker::Send for PedometerReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for PedometerReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximitySensor(::windows_core::IUnknown); impl ProximitySensor { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7930,25 +6584,9 @@ impl ProximitySensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProximitySensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximitySensor {} -impl ::core::fmt::Debug for ProximitySensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximitySensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximitySensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensor;{54c076b8-ecfb-4944-b928-74fc504d47ee})"); } -impl ::core::clone::Clone for ProximitySensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximitySensor { type Vtable = IProximitySensor_Vtbl; } @@ -7963,6 +6601,7 @@ unsafe impl ::core::marker::Send for ProximitySensor {} unsafe impl ::core::marker::Sync for ProximitySensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximitySensorDataThreshold(::windows_core::IUnknown); impl ProximitySensorDataThreshold { pub fn Create(sensor: P0) -> ::windows_core::Result @@ -7980,25 +6619,9 @@ impl ProximitySensorDataThreshold { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProximitySensorDataThreshold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximitySensorDataThreshold {} -impl ::core::fmt::Debug for ProximitySensorDataThreshold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximitySensorDataThreshold").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximitySensorDataThreshold { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDataThreshold;{54daec61-fe4b-4e07-b260-3a4cdfbe396e})"); } -impl ::core::clone::Clone for ProximitySensorDataThreshold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximitySensorDataThreshold { type Vtable = ISensorDataThreshold_Vtbl; } @@ -8015,6 +6638,7 @@ unsafe impl ::core::marker::Sync for ProximitySensorDataThreshold {} #[doc = "*Required features: `\"Devices_Sensors\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximitySensorDisplayOnOffController(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl ProximitySensorDisplayOnOffController { @@ -8026,30 +6650,10 @@ impl ProximitySensorDisplayOnOffController { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for ProximitySensorDisplayOnOffController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for ProximitySensorDisplayOnOffController {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for ProximitySensorDisplayOnOffController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximitySensorDisplayOnOffController").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for ProximitySensorDisplayOnOffController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorDisplayOnOffController;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for ProximitySensorDisplayOnOffController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for ProximitySensorDisplayOnOffController { type Vtable = super::super::Foundation::IClosable_Vtbl; } @@ -8071,6 +6675,7 @@ unsafe impl ::core::marker::Send for ProximitySensorDisplayOnOffController {} unsafe impl ::core::marker::Sync for ProximitySensorDisplayOnOffController {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximitySensorReading(::windows_core::IUnknown); impl ProximitySensorReading { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8099,25 +6704,9 @@ impl ProximitySensorReading { } } } -impl ::core::cmp::PartialEq for ProximitySensorReading { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximitySensorReading {} -impl ::core::fmt::Debug for ProximitySensorReading { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximitySensorReading").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximitySensorReading { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReading;{71228d59-132d-4d5f-8ff9-2f0db8751ced})"); } -impl ::core::clone::Clone for ProximitySensorReading { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximitySensorReading { type Vtable = IProximitySensorReading_Vtbl; } @@ -8132,6 +6721,7 @@ unsafe impl ::core::marker::Send for ProximitySensorReading {} unsafe impl ::core::marker::Sync for ProximitySensorReading {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximitySensorReadingChangedEventArgs(::windows_core::IUnknown); impl ProximitySensorReadingChangedEventArgs { pub fn Reading(&self) -> ::windows_core::Result { @@ -8142,25 +6732,9 @@ impl ProximitySensorReadingChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ProximitySensorReadingChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximitySensorReadingChangedEventArgs {} -impl ::core::fmt::Debug for ProximitySensorReadingChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximitySensorReadingChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximitySensorReadingChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.ProximitySensorReadingChangedEventArgs;{cfc2f366-c3e8-40fd-8cc3-67e289004938})"); } -impl ::core::clone::Clone for ProximitySensorReadingChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximitySensorReadingChangedEventArgs { type Vtable = IProximitySensorReadingChangedEventArgs_Vtbl; } @@ -8175,6 +6749,7 @@ unsafe impl ::core::marker::Send for ProximitySensorReadingChangedEventArgs {} unsafe impl ::core::marker::Sync for ProximitySensorReadingChangedEventArgs {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SensorDataThresholdTriggerDetails(::windows_core::IUnknown); impl SensorDataThresholdTriggerDetails { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8192,25 +6767,9 @@ impl SensorDataThresholdTriggerDetails { } } } -impl ::core::cmp::PartialEq for SensorDataThresholdTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SensorDataThresholdTriggerDetails {} -impl ::core::fmt::Debug for SensorDataThresholdTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SensorDataThresholdTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SensorDataThresholdTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorDataThresholdTriggerDetails;{9106f1b7-e88d-48b1-bc90-619c7b349391})"); } -impl ::core::clone::Clone for SensorDataThresholdTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SensorDataThresholdTriggerDetails { type Vtable = ISensorDataThresholdTriggerDetails_Vtbl; } @@ -8225,6 +6784,7 @@ unsafe impl ::core::marker::Send for SensorDataThresholdTriggerDetails {} unsafe impl ::core::marker::Sync for SensorDataThresholdTriggerDetails {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SensorQuaternion(::windows_core::IUnknown); impl SensorQuaternion { pub fn W(&self) -> ::windows_core::Result { @@ -8256,25 +6816,9 @@ impl SensorQuaternion { } } } -impl ::core::cmp::PartialEq for SensorQuaternion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SensorQuaternion {} -impl ::core::fmt::Debug for SensorQuaternion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SensorQuaternion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SensorQuaternion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorQuaternion;{c9c5c827-c71c-46e7-9da3-36a193b232bc})"); } -impl ::core::clone::Clone for SensorQuaternion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SensorQuaternion { type Vtable = ISensorQuaternion_Vtbl; } @@ -8289,6 +6833,7 @@ unsafe impl ::core::marker::Send for SensorQuaternion {} unsafe impl ::core::marker::Sync for SensorQuaternion {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SensorRotationMatrix(::windows_core::IUnknown); impl SensorRotationMatrix { pub fn M11(&self) -> ::windows_core::Result { @@ -8355,25 +6900,9 @@ impl SensorRotationMatrix { } } } -impl ::core::cmp::PartialEq for SensorRotationMatrix { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SensorRotationMatrix {} -impl ::core::fmt::Debug for SensorRotationMatrix { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SensorRotationMatrix").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SensorRotationMatrix { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SensorRotationMatrix;{0a3d5a67-22f4-4392-9538-65d0bd064aa6})"); } -impl ::core::clone::Clone for SensorRotationMatrix { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SensorRotationMatrix { type Vtable = ISensorRotationMatrix_Vtbl; } @@ -8388,6 +6917,7 @@ unsafe impl ::core::marker::Send for SensorRotationMatrix {} unsafe impl ::core::marker::Sync for SensorRotationMatrix {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SimpleOrientationSensor(::windows_core::IUnknown); impl SimpleOrientationSensor { pub fn GetCurrentOrientation(&self) -> ::windows_core::Result { @@ -8468,25 +6998,9 @@ impl SimpleOrientationSensor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SimpleOrientationSensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SimpleOrientationSensor {} -impl ::core::fmt::Debug for SimpleOrientationSensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SimpleOrientationSensor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SimpleOrientationSensor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensor;{5ff53856-214a-4dee-a3f9-616f1ab06ffd})"); } -impl ::core::clone::Clone for SimpleOrientationSensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SimpleOrientationSensor { type Vtable = ISimpleOrientationSensor_Vtbl; } @@ -8501,6 +7015,7 @@ unsafe impl ::core::marker::Send for SimpleOrientationSensor {} unsafe impl ::core::marker::Sync for SimpleOrientationSensor {} #[doc = "*Required features: `\"Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SimpleOrientationSensorOrientationChangedEventArgs(::windows_core::IUnknown); impl SimpleOrientationSensorOrientationChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8520,25 +7035,9 @@ impl SimpleOrientationSensorOrientationChangedEventArgs { } } } -impl ::core::cmp::PartialEq for SimpleOrientationSensorOrientationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SimpleOrientationSensorOrientationChangedEventArgs {} -impl ::core::fmt::Debug for SimpleOrientationSensorOrientationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SimpleOrientationSensorOrientationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SimpleOrientationSensorOrientationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sensors.SimpleOrientationSensorOrientationChangedEventArgs;{bcd5c660-23d4-4b4c-a22e-ba81ade0c601})"); } -impl ::core::clone::Clone for SimpleOrientationSensorOrientationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SimpleOrientationSensorOrientationChangedEventArgs { type Vtable = ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index c64bc72360..d5d91ff1ed 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IErrorReceivedEventArgs { type Vtable = IErrorReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IErrorReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcc6bf59_1283_4d8a_bfdf_566b33ddb28f); } @@ -20,15 +16,11 @@ pub struct IErrorReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPinChangedEventArgs { type Vtable = IPinChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPinChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2bf1db0_fc9c_4607_93d0_fa5e8343ee22); } @@ -40,15 +32,11 @@ pub struct IPinChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISerialDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISerialDevice { type Vtable = ISerialDevice_Vtbl; } -impl ::core::clone::Clone for ISerialDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISerialDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe187ccc6_2210_414f_b65a_f5553a03372a); } @@ -122,15 +110,11 @@ pub struct ISerialDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISerialDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISerialDeviceStatics { type Vtable = ISerialDeviceStatics_Vtbl; } -impl ::core::clone::Clone for ISerialDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISerialDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x058c4a70_0836_4993_ae1a_b61ae3be056b); } @@ -148,6 +132,7 @@ pub struct ISerialDeviceStatics_Vtbl { } #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ErrorReceivedEventArgs(::windows_core::IUnknown); impl ErrorReceivedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -158,25 +143,9 @@ impl ErrorReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for ErrorReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ErrorReceivedEventArgs {} -impl ::core::fmt::Debug for ErrorReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ErrorReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ErrorReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.ErrorReceivedEventArgs;{fcc6bf59-1283-4d8a-bfdf-566b33ddb28f})"); } -impl ::core::clone::Clone for ErrorReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ErrorReceivedEventArgs { type Vtable = IErrorReceivedEventArgs_Vtbl; } @@ -191,6 +160,7 @@ unsafe impl ::core::marker::Send for ErrorReceivedEventArgs {} unsafe impl ::core::marker::Sync for ErrorReceivedEventArgs {} #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PinChangedEventArgs(::windows_core::IUnknown); impl PinChangedEventArgs { pub fn PinChange(&self) -> ::windows_core::Result { @@ -201,25 +171,9 @@ impl PinChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PinChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PinChangedEventArgs {} -impl ::core::fmt::Debug for PinChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PinChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PinChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.PinChangedEventArgs;{a2bf1db0-fc9c-4607-93d0-fa5e8343ee22})"); } -impl ::core::clone::Clone for PinChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PinChangedEventArgs { type Vtable = IPinChangedEventArgs_Vtbl; } @@ -234,6 +188,7 @@ unsafe impl ::core::marker::Send for PinChangedEventArgs {} unsafe impl ::core::marker::Sync for PinChangedEventArgs {} #[doc = "*Required features: `\"Devices_SerialCommunication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SerialDevice(::windows_core::IUnknown); impl SerialDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -495,25 +450,9 @@ impl SerialDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SerialDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SerialDevice {} -impl ::core::fmt::Debug for SerialDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SerialDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SerialDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SerialCommunication.SerialDevice;{e187ccc6-2210-414f-b65a-f5553a03372a})"); } -impl ::core::clone::Clone for SerialDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SerialDevice { type Vtable = ISerialDevice_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index ff37700965..3a9bc4dc4b 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICardAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICardAddedEventArgs { type Vtable = ICardAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICardAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICardAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18bbef98_f18b_4dd3_b118_dfb2c8e23cc6); } @@ -20,15 +16,11 @@ pub struct ICardAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICardRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICardRemovedEventArgs { type Vtable = ICardRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICardRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICardRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15331aaf_22d7_4945_afc9_03b46f42a6cd); } @@ -40,15 +32,11 @@ pub struct ICardRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownSmartCardAppletIds(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownSmartCardAppletIds { type Vtable = IKnownSmartCardAppletIds_Vtbl; } -impl ::core::clone::Clone for IKnownSmartCardAppletIds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownSmartCardAppletIds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b04d8d8_95b4_4c88_8cea_411e55511efc); } @@ -67,15 +55,11 @@ pub struct IKnownSmartCardAppletIds_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCard(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCard { type Vtable = ISmartCard_Vtbl; } -impl ::core::clone::Clone for ISmartCard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b718871_6434_43f4_b55a_6a29623870aa); } @@ -95,15 +79,11 @@ pub struct ISmartCard_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroup { type Vtable = ISmartCardAppletIdGroup_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7db165e6_6264_56f4_5e03_c86385395eb1); } @@ -126,15 +106,11 @@ pub struct ISmartCardAppletIdGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroup2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroup2 { type Vtable = ISmartCardAppletIdGroup2_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b0ef9dc_9956_4a62_8d4e_d37a68ebc3a6); } @@ -161,15 +137,11 @@ pub struct ISmartCardAppletIdGroup2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroupFactory { type Vtable = ISmartCardAppletIdGroupFactory_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9105eb4d_4a65_4e41_8061_cbe83f3695e5); } @@ -184,15 +156,11 @@ pub struct ISmartCardAppletIdGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroupRegistration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroupRegistration { type Vtable = ISmartCardAppletIdGroupRegistration_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroupRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroupRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf1208d1_31bb_5596_43b1_6d69a0257b3a); } @@ -214,15 +182,11 @@ pub struct ISmartCardAppletIdGroupRegistration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroupRegistration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroupRegistration2 { type Vtable = ISmartCardAppletIdGroupRegistration2_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroupRegistration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroupRegistration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f5508d8_98a7_4f2e_91d9_6cfcceda407f); } @@ -238,15 +202,11 @@ pub struct ISmartCardAppletIdGroupRegistration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAppletIdGroupStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAppletIdGroupStatics { type Vtable = ISmartCardAppletIdGroupStatics_Vtbl; } -impl ::core::clone::Clone for ISmartCardAppletIdGroupStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAppletIdGroupStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab2899a9_e76c_45cf_bf1d_90eaa6205927); } @@ -258,15 +218,11 @@ pub struct ISmartCardAppletIdGroupStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAutomaticResponseApdu(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAutomaticResponseApdu { type Vtable = ISmartCardAutomaticResponseApdu_Vtbl; } -impl ::core::clone::Clone for ISmartCardAutomaticResponseApdu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAutomaticResponseApdu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52152bab_c63e_4531_a857_d756d99b986a); } @@ -311,15 +267,11 @@ pub struct ISmartCardAutomaticResponseApdu_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAutomaticResponseApdu2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAutomaticResponseApdu2 { type Vtable = ISmartCardAutomaticResponseApdu2_Vtbl; } -impl ::core::clone::Clone for ISmartCardAutomaticResponseApdu2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAutomaticResponseApdu2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44aebb14_559d_4531_4e51_89db6fa8a57a); } @@ -346,15 +298,11 @@ pub struct ISmartCardAutomaticResponseApdu2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAutomaticResponseApdu3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAutomaticResponseApdu3 { type Vtable = ISmartCardAutomaticResponseApdu3_Vtbl; } -impl ::core::clone::Clone for ISmartCardAutomaticResponseApdu3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAutomaticResponseApdu3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf43da74_6576_4392_9367_fe3bc9e2d496); } @@ -367,15 +315,11 @@ pub struct ISmartCardAutomaticResponseApdu3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardAutomaticResponseApduFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardAutomaticResponseApduFactory { type Vtable = ISmartCardAutomaticResponseApduFactory_Vtbl; } -impl ::core::clone::Clone for ISmartCardAutomaticResponseApduFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardAutomaticResponseApduFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe97ea2fa_d02c_4c55_b02a_8cff7fa9f05b); } @@ -390,15 +334,11 @@ pub struct ISmartCardAutomaticResponseApduFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardChallengeContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardChallengeContext { type Vtable = ISmartCardChallengeContext_Vtbl; } -impl ::core::clone::Clone for ISmartCardChallengeContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardChallengeContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x192a5319_c9c4_4947_81cc_44794a61ef91); } @@ -429,15 +369,11 @@ pub struct ISmartCardChallengeContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardConnect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardConnect { type Vtable = ISmartCardConnect_Vtbl; } -impl ::core::clone::Clone for ISmartCardConnect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardConnect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fdf87e5_028d_491e_a058_3382c3986f40); } @@ -452,15 +388,11 @@ pub struct ISmartCardConnect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardConnection { type Vtable = ISmartCardConnection_Vtbl; } -impl ::core::clone::Clone for ISmartCardConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7edb991a_a81a_47bc_a649_156be6b7f231); } @@ -475,15 +407,11 @@ pub struct ISmartCardConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGenerator { type Vtable = ISmartCardCryptogramGenerator_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe39f587b_edd3_4e49_b594_0ff5e4d0c76f); } @@ -542,15 +470,11 @@ pub struct ISmartCardCryptogramGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGenerator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGenerator2 { type Vtable = ISmartCardCryptogramGenerator2_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGenerator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGenerator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7116aa34_5d6d_4b4a_96a3_efa47d2a7e25); } @@ -581,15 +505,11 @@ pub struct ISmartCardCryptogramGenerator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGeneratorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGeneratorStatics { type Vtable = ISmartCardCryptogramGeneratorStatics_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGeneratorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGeneratorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09933910_cb9c_4015_967d_5234f3b02900); } @@ -604,15 +524,11 @@ pub struct ISmartCardCryptogramGeneratorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGeneratorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGeneratorStatics2 { type Vtable = ISmartCardCryptogramGeneratorStatics2_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGeneratorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGeneratorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09bdf5e5_b4bd_4e23_a588_74469204c128); } @@ -624,15 +540,11 @@ pub struct ISmartCardCryptogramGeneratorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2798e029_d687_4c92_86c6_399e9a0ecb09); } @@ -648,15 +560,11 @@ pub struct ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtb } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e6a8a5c_9773_46c4_a32f_b1e543159e04); } @@ -672,15 +580,11 @@ pub struct ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsRes } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c7ce857_a7e7_489d_b9d6_368061515012); } @@ -696,15 +600,11 @@ pub struct ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_V } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramMaterialCharacteristics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramMaterialCharacteristics { type Vtable = ISmartCardCryptogramMaterialCharacteristics_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramMaterialCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramMaterialCharacteristics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc9ac5cc_c1d7_4153_923b_a2d43c6c8d49); } @@ -732,15 +632,11 @@ pub struct ISmartCardCryptogramMaterialCharacteristics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramMaterialPackageCharacteristics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramMaterialPackageCharacteristics { type Vtable = ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramMaterialPackageCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramMaterialPackageCharacteristics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffb58e1f_0692_4c47_93cf_34d91f9dcd00); } @@ -758,15 +654,11 @@ pub struct ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramMaterialPossessionProof(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramMaterialPossessionProof { type Vtable = ISmartCardCryptogramMaterialPossessionProof_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramMaterialPossessionProof { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramMaterialPossessionProof { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5b9ab8c_a141_4135_9add_b0d2e3aa1fc9); } @@ -782,15 +674,11 @@ pub struct ISmartCardCryptogramMaterialPossessionProof_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramPlacementStep(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramPlacementStep { type Vtable = ISmartCardCryptogramPlacementStep_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramPlacementStep { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramPlacementStep { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x947b03eb_8342_4792_a2e5_925636378a53); } @@ -825,15 +713,11 @@ pub struct ISmartCardCryptogramPlacementStep_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramStorageKeyCharacteristics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramStorageKeyCharacteristics { type Vtable = ISmartCardCryptogramStorageKeyCharacteristics_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramStorageKeyCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramStorageKeyCharacteristics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8552546e_4457_4825_b464_635471a39f5c); } @@ -851,15 +735,11 @@ pub struct ISmartCardCryptogramStorageKeyCharacteristics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramStorageKeyInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramStorageKeyInfo { type Vtable = ISmartCardCryptogramStorageKeyInfo_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramStorageKeyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramStorageKeyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77b0f00d_b097_4f61_a26a_9561639c9c3a); } @@ -889,15 +769,11 @@ pub struct ISmartCardCryptogramStorageKeyInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardCryptogramStorageKeyInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardCryptogramStorageKeyInfo2 { type Vtable = ISmartCardCryptogramStorageKeyInfo2_Vtbl; } -impl ::core::clone::Clone for ISmartCardCryptogramStorageKeyInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardCryptogramStorageKeyInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000440f9_f7fd_417d_89e1_fbb0382adc4d); } @@ -909,15 +785,11 @@ pub struct ISmartCardCryptogramStorageKeyInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulator { type Vtable = ISmartCardEmulator_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfb906b2_875e_47e5_8077_e8bff1b1c6fb); } @@ -929,15 +801,11 @@ pub struct ISmartCardEmulator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulator2 { type Vtable = ISmartCardEmulator2_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe3fc0b8_8529_411a_807b_48edc2a0ab44); } @@ -966,15 +834,11 @@ pub struct ISmartCardEmulator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorApduReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorApduReceivedEventArgs { type Vtable = ISmartCardEmulatorApduReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorApduReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorApduReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd55d1576_69d2_5333_5b5f_f8c0d6e9f09f); } @@ -995,15 +859,11 @@ pub struct ISmartCardEmulatorApduReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorApduReceivedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorApduReceivedEventArgs2 { type Vtable = ISmartCardEmulatorApduReceivedEventArgs2_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorApduReceivedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorApduReceivedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bf93df0_22e1_4238_8610_94ce4a965425); } @@ -1019,15 +879,11 @@ pub struct ISmartCardEmulatorApduReceivedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorApduReceivedEventArgsWithCryptograms { type Vtable = ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorApduReceivedEventArgsWithCryptograms { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorApduReceivedEventArgsWithCryptograms { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd550bac7_b7bf_4e29_9294_0c4ac3c941bd); } @@ -1046,15 +902,11 @@ pub struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorConnectionDeactivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorConnectionDeactivatedEventArgs { type Vtable = ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorConnectionDeactivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorConnectionDeactivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2186d8d3_c5eb_5262_43df_62a0a1b55557); } @@ -1067,15 +919,11 @@ pub struct ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorConnectionProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorConnectionProperties { type Vtable = ISmartCardEmulatorConnectionProperties_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorConnectionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorConnectionProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e2ca5ee_f969_507d_6cf9_34e2d18df311); } @@ -1088,15 +936,11 @@ pub struct ISmartCardEmulatorConnectionProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorStatics { type Vtable = ISmartCardEmulatorStatics_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a9bfc4b_c4d3_494f_b8a2_6215d81e85b2); } @@ -1111,15 +955,11 @@ pub struct ISmartCardEmulatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorStatics2 { type Vtable = ISmartCardEmulatorStatics2_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69ae9f8a_b775_488b_8436_6c1e28ed731f); } @@ -1143,15 +983,11 @@ pub struct ISmartCardEmulatorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardEmulatorStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardEmulatorStatics3 { type Vtable = ISmartCardEmulatorStatics3_Vtbl; } -impl ::core::clone::Clone for ISmartCardEmulatorStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardEmulatorStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59ea142a_9f09_43f5_8565_cfa8148e4cb2); } @@ -1163,15 +999,11 @@ pub struct ISmartCardEmulatorStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardPinPolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardPinPolicy { type Vtable = ISmartCardPinPolicy_Vtbl; } -impl ::core::clone::Clone for ISmartCardPinPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardPinPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x183ce184_4db6_4841_ac9e_2ac1f39b7304); } @@ -1194,15 +1026,11 @@ pub struct ISmartCardPinPolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardPinResetDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardPinResetDeferral { type Vtable = ISmartCardPinResetDeferral_Vtbl; } -impl ::core::clone::Clone for ISmartCardPinResetDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardPinResetDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18c94aac_7805_4004_85e4_bbefac8f6884); } @@ -1214,15 +1042,11 @@ pub struct ISmartCardPinResetDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardPinResetRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardPinResetRequest { type Vtable = ISmartCardPinResetRequest_Vtbl; } -impl ::core::clone::Clone for ISmartCardPinResetRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardPinResetRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12fe3c4d_5fb9_4e8e_9ff6_61f475124fef); } @@ -1246,15 +1070,11 @@ pub struct ISmartCardPinResetRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardProvisioning(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardProvisioning { type Vtable = ISmartCardProvisioning_Vtbl; } -impl ::core::clone::Clone for ISmartCardProvisioning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardProvisioning { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19eeedbd_1fab_477c_b712_1a2c5af1fd6e); } @@ -1286,15 +1106,11 @@ pub struct ISmartCardProvisioning_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardProvisioning2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardProvisioning2 { type Vtable = ISmartCardProvisioning2_Vtbl; } -impl ::core::clone::Clone for ISmartCardProvisioning2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardProvisioning2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10fd28eb_3f79_4b66_9b7c_11c149b7d0bc); } @@ -1309,15 +1125,11 @@ pub struct ISmartCardProvisioning2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardProvisioningStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardProvisioningStatics { type Vtable = ISmartCardProvisioningStatics_Vtbl; } -impl ::core::clone::Clone for ISmartCardProvisioningStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardProvisioningStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13882848_0d13_4e70_9735_51daeca5254f); } @@ -1344,15 +1156,11 @@ pub struct ISmartCardProvisioningStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardProvisioningStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardProvisioningStatics2 { type Vtable = ISmartCardProvisioningStatics2_Vtbl; } -impl ::core::clone::Clone for ISmartCardProvisioningStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardProvisioningStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3447c6a8_c9a0_4bd6_b50d_251f4e8d3a62); } @@ -1371,15 +1179,11 @@ pub struct ISmartCardProvisioningStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardReader { type Vtable = ISmartCardReader_Vtbl; } -impl ::core::clone::Clone for ISmartCardReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1074b4e0_54c2_4df0_817a_14c14378f06c); } @@ -1417,15 +1221,11 @@ pub struct ISmartCardReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardReaderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardReaderStatics { type Vtable = ISmartCardReaderStatics_Vtbl; } -impl ::core::clone::Clone for ISmartCardReaderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardReaderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x103c04e1_a1ca_48f2_a281_5b6f669af107); } @@ -1442,15 +1242,11 @@ pub struct ISmartCardReaderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardTriggerDetails { type Vtable = ISmartCardTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ISmartCardTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f9bf11e_39ef_4f2b_b44f_0a9155b177bc); } @@ -1470,15 +1266,11 @@ pub struct ISmartCardTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardTriggerDetails2 { type Vtable = ISmartCardTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for ISmartCardTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2945c569_8975_4a51_9e1a_5f8a76ee51af); } @@ -1498,15 +1290,11 @@ pub struct ISmartCardTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartCardTriggerDetails3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartCardTriggerDetails3 { type Vtable = ISmartCardTriggerDetails3_Vtbl; } -impl ::core::clone::Clone for ISmartCardTriggerDetails3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartCardTriggerDetails3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3e2c27d_18c6_4ba8_8376_ef03d4912666); } @@ -1518,6 +1306,7 @@ pub struct ISmartCardTriggerDetails3_Vtbl { } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CardAddedEventArgs(::windows_core::IUnknown); impl CardAddedEventArgs { pub fn SmartCard(&self) -> ::windows_core::Result { @@ -1528,25 +1317,9 @@ impl CardAddedEventArgs { } } } -impl ::core::cmp::PartialEq for CardAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CardAddedEventArgs {} -impl ::core::fmt::Debug for CardAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CardAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CardAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardAddedEventArgs;{18bbef98-f18b-4dd3-b118-dfb2c8e23cc6})"); } -impl ::core::clone::Clone for CardAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CardAddedEventArgs { type Vtable = ICardAddedEventArgs_Vtbl; } @@ -1561,6 +1334,7 @@ unsafe impl ::core::marker::Send for CardAddedEventArgs {} unsafe impl ::core::marker::Sync for CardAddedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CardRemovedEventArgs(::windows_core::IUnknown); impl CardRemovedEventArgs { pub fn SmartCard(&self) -> ::windows_core::Result { @@ -1571,25 +1345,9 @@ impl CardRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for CardRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CardRemovedEventArgs {} -impl ::core::fmt::Debug for CardRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CardRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CardRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.CardRemovedEventArgs;{15331aaf-22d7-4945-afc9-03b46f42a6cd})"); } -impl ::core::clone::Clone for CardRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CardRemovedEventArgs { type Vtable = ICardRemovedEventArgs_Vtbl; } @@ -1632,6 +1390,7 @@ impl ::windows_core::RuntimeName for KnownSmartCardAppletIds { } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCard(::windows_core::IUnknown); impl SmartCard { pub fn Reader(&self) -> ::windows_core::Result { @@ -1669,25 +1428,9 @@ impl SmartCard { } } } -impl ::core::cmp::PartialEq for SmartCard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCard {} -impl ::core::fmt::Debug for SmartCard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCard").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCard { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCard;{1b718871-6434-43f4-b55a-6a29623870aa})"); } -impl ::core::clone::Clone for SmartCard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCard { type Vtable = ISmartCard_Vtbl; } @@ -1702,6 +1445,7 @@ unsafe impl ::core::marker::Send for SmartCard {} unsafe impl ::core::marker::Sync for SmartCard {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardAppletIdGroup(::windows_core::IUnknown); impl SmartCardAppletIdGroup { pub fn new() -> ::windows_core::Result { @@ -1841,25 +1585,9 @@ impl SmartCardAppletIdGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardAppletIdGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardAppletIdGroup {} -impl ::core::fmt::Debug for SmartCardAppletIdGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardAppletIdGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardAppletIdGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroup;{7db165e6-6264-56f4-5e03-c86385395eb1})"); } -impl ::core::clone::Clone for SmartCardAppletIdGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardAppletIdGroup { type Vtable = ISmartCardAppletIdGroup_Vtbl; } @@ -1874,6 +1602,7 @@ unsafe impl ::core::marker::Send for SmartCardAppletIdGroup {} unsafe impl ::core::marker::Sync for SmartCardAppletIdGroup {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardAppletIdGroupRegistration(::windows_core::IUnknown); impl SmartCardAppletIdGroupRegistration { pub fn ActivationPolicy(&self) -> ::windows_core::Result { @@ -1938,25 +1667,9 @@ impl SmartCardAppletIdGroupRegistration { } } } -impl ::core::cmp::PartialEq for SmartCardAppletIdGroupRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardAppletIdGroupRegistration {} -impl ::core::fmt::Debug for SmartCardAppletIdGroupRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardAppletIdGroupRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardAppletIdGroupRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAppletIdGroupRegistration;{df1208d1-31bb-5596-43b1-6d69a0257b3a})"); } -impl ::core::clone::Clone for SmartCardAppletIdGroupRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardAppletIdGroupRegistration { type Vtable = ISmartCardAppletIdGroupRegistration_Vtbl; } @@ -1971,6 +1684,7 @@ unsafe impl ::core::marker::Send for SmartCardAppletIdGroupRegistration {} unsafe impl ::core::marker::Sync for SmartCardAppletIdGroupRegistration {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardAutomaticResponseApdu(::windows_core::IUnknown); impl SmartCardAutomaticResponseApdu { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2121,25 +1835,9 @@ impl SmartCardAutomaticResponseApdu { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardAutomaticResponseApdu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardAutomaticResponseApdu {} -impl ::core::fmt::Debug for SmartCardAutomaticResponseApdu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardAutomaticResponseApdu").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardAutomaticResponseApdu { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardAutomaticResponseApdu;{52152bab-c63e-4531-a857-d756d99b986a})"); } -impl ::core::clone::Clone for SmartCardAutomaticResponseApdu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardAutomaticResponseApdu { type Vtable = ISmartCardAutomaticResponseApdu_Vtbl; } @@ -2154,6 +1852,7 @@ unsafe impl ::core::marker::Send for SmartCardAutomaticResponseApdu {} unsafe impl ::core::marker::Sync for SmartCardAutomaticResponseApdu {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardChallengeContext(::windows_core::IUnknown); impl SmartCardChallengeContext { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2221,25 +1920,9 @@ impl SmartCardChallengeContext { } } } -impl ::core::cmp::PartialEq for SmartCardChallengeContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardChallengeContext {} -impl ::core::fmt::Debug for SmartCardChallengeContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardChallengeContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardChallengeContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardChallengeContext;{192a5319-c9c4-4947-81cc-44794a61ef91})"); } -impl ::core::clone::Clone for SmartCardChallengeContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardChallengeContext { type Vtable = ISmartCardChallengeContext_Vtbl; } @@ -2256,6 +1939,7 @@ unsafe impl ::core::marker::Send for SmartCardChallengeContext {} unsafe impl ::core::marker::Sync for SmartCardChallengeContext {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardConnection(::windows_core::IUnknown); impl SmartCardConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2277,25 +1961,9 @@ impl SmartCardConnection { } } } -impl ::core::cmp::PartialEq for SmartCardConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardConnection {} -impl ::core::fmt::Debug for SmartCardConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardConnection;{7edb991a-a81a-47bc-a649-156be6b7f231})"); } -impl ::core::clone::Clone for SmartCardConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardConnection { type Vtable = ISmartCardConnection_Vtbl; } @@ -2312,6 +1980,7 @@ unsafe impl ::core::marker::Send for SmartCardConnection {} unsafe impl ::core::marker::Sync for SmartCardConnection {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramGenerator(::windows_core::IUnknown); impl SmartCardCryptogramGenerator { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2502,25 +2171,9 @@ impl SmartCardCryptogramGenerator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardCryptogramGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramGenerator {} -impl ::core::fmt::Debug for SmartCardCryptogramGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGenerator;{e39f587b-edd3-4e49-b594-0ff5e4d0c76f})"); } -impl ::core::clone::Clone for SmartCardCryptogramGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramGenerator { type Vtable = ISmartCardCryptogramGenerator_Vtbl; } @@ -2535,6 +2188,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramGenerator {} unsafe impl ::core::marker::Sync for SmartCardCryptogramGenerator {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(::windows_core::IUnknown); impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn new() -> ::windows_core::Result { @@ -2561,25 +2215,9 @@ impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult {} -impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult;{2798e029-d687-4c92-86c6-399e9a0ecb09})"); } -impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtbl; } @@ -2594,6 +2232,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramMaterial unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(::windows_core::IUnknown); impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn new() -> ::windows_core::Result { @@ -2620,25 +2259,9 @@ impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult {} -impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult;{4e6a8a5c-9773-46c4-a32f-b1e543159e04})"); } -impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_Vtbl; } @@ -2653,6 +2276,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramMaterial unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(::windows_core::IUnknown); impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn new() -> ::windows_core::Result { @@ -2679,25 +2303,9 @@ impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult {} -impl ::core::fmt::Debug for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult;{8c7ce857-a7e7-489d-b9d6-368061515012})"); } -impl ::core::clone::Clone for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { type Vtable = ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_Vtbl; } @@ -2712,6 +2320,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramGetAllCryptogramStorageK unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramMaterialCharacteristics(::windows_core::IUnknown); impl SmartCardCryptogramMaterialCharacteristics { pub fn new() -> ::windows_core::Result { @@ -2784,25 +2393,9 @@ impl SmartCardCryptogramMaterialCharacteristics { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramMaterialCharacteristics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramMaterialCharacteristics {} -impl ::core::fmt::Debug for SmartCardCryptogramMaterialCharacteristics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramMaterialCharacteristics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramMaterialCharacteristics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialCharacteristics;{fc9ac5cc-c1d7-4153-923b-a2d43c6c8d49})"); } -impl ::core::clone::Clone for SmartCardCryptogramMaterialCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramMaterialCharacteristics { type Vtable = ISmartCardCryptogramMaterialCharacteristics_Vtbl; } @@ -2817,6 +2410,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialCharacteristics unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramMaterialPackageCharacteristics(::windows_core::IUnknown); impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn new() -> ::windows_core::Result { @@ -2857,25 +2451,9 @@ impl SmartCardCryptogramMaterialPackageCharacteristics { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramMaterialPackageCharacteristics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramMaterialPackageCharacteristics {} -impl ::core::fmt::Debug for SmartCardCryptogramMaterialPackageCharacteristics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramMaterialPackageCharacteristics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramMaterialPackageCharacteristics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPackageCharacteristics;{ffb58e1f-0692-4c47-93cf-34d91f9dcd00})"); } -impl ::core::clone::Clone for SmartCardCryptogramMaterialPackageCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramMaterialPackageCharacteristics { type Vtable = ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl; } @@ -2890,6 +2468,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialPackageCharacter unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialPackageCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramMaterialPossessionProof(::windows_core::IUnknown); impl SmartCardCryptogramMaterialPossessionProof { pub fn OperationStatus(&self) -> ::windows_core::Result { @@ -2909,25 +2488,9 @@ impl SmartCardCryptogramMaterialPossessionProof { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramMaterialPossessionProof { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramMaterialPossessionProof {} -impl ::core::fmt::Debug for SmartCardCryptogramMaterialPossessionProof { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramMaterialPossessionProof").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramMaterialPossessionProof { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramMaterialPossessionProof;{e5b9ab8c-a141-4135-9add-b0d2e3aa1fc9})"); } -impl ::core::clone::Clone for SmartCardCryptogramMaterialPossessionProof { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramMaterialPossessionProof { type Vtable = ISmartCardCryptogramMaterialPossessionProof_Vtbl; } @@ -2942,6 +2505,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramMaterialPossessionProof unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialPossessionProof {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramPlacementStep(::windows_core::IUnknown); impl SmartCardCryptogramPlacementStep { pub fn new() -> ::windows_core::Result { @@ -3061,25 +2625,9 @@ impl SmartCardCryptogramPlacementStep { unsafe { (::windows_core::Interface::vtable(this).SetChainedOutputStep)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramPlacementStep { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramPlacementStep {} -impl ::core::fmt::Debug for SmartCardCryptogramPlacementStep { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramPlacementStep").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramPlacementStep { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramPlacementStep;{947b03eb-8342-4792-a2e5-925636378a53})"); } -impl ::core::clone::Clone for SmartCardCryptogramPlacementStep { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramPlacementStep { type Vtable = ISmartCardCryptogramPlacementStep_Vtbl; } @@ -3094,6 +2642,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramPlacementStep {} unsafe impl ::core::marker::Sync for SmartCardCryptogramPlacementStep {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramStorageKeyCharacteristics(::windows_core::IUnknown); impl SmartCardCryptogramStorageKeyCharacteristics { pub fn new() -> ::windows_core::Result { @@ -3134,25 +2683,9 @@ impl SmartCardCryptogramStorageKeyCharacteristics { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramStorageKeyCharacteristics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramStorageKeyCharacteristics {} -impl ::core::fmt::Debug for SmartCardCryptogramStorageKeyCharacteristics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramStorageKeyCharacteristics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramStorageKeyCharacteristics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyCharacteristics;{8552546e-4457-4825-b464-635471a39f5c})"); } -impl ::core::clone::Clone for SmartCardCryptogramStorageKeyCharacteristics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramStorageKeyCharacteristics { type Vtable = ISmartCardCryptogramStorageKeyCharacteristics_Vtbl; } @@ -3167,6 +2700,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramStorageKeyCharacteristic unsafe impl ::core::marker::Sync for SmartCardCryptogramStorageKeyCharacteristics {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardCryptogramStorageKeyInfo(::windows_core::IUnknown); impl SmartCardCryptogramStorageKeyInfo { pub fn OperationStatus(&self) -> ::windows_core::Result { @@ -3234,25 +2768,9 @@ impl SmartCardCryptogramStorageKeyInfo { } } } -impl ::core::cmp::PartialEq for SmartCardCryptogramStorageKeyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardCryptogramStorageKeyInfo {} -impl ::core::fmt::Debug for SmartCardCryptogramStorageKeyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardCryptogramStorageKeyInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardCryptogramStorageKeyInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardCryptogramStorageKeyInfo;{77b0f00d-b097-4f61-a26a-9561639c9c3a})"); } -impl ::core::clone::Clone for SmartCardCryptogramStorageKeyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardCryptogramStorageKeyInfo { type Vtable = ISmartCardCryptogramStorageKeyInfo_Vtbl; } @@ -3267,6 +2785,7 @@ unsafe impl ::core::marker::Send for SmartCardCryptogramStorageKeyInfo {} unsafe impl ::core::marker::Sync for SmartCardCryptogramStorageKeyInfo {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardEmulator(::windows_core::IUnknown); impl SmartCardEmulator { pub fn EnablementPolicy(&self) -> ::windows_core::Result { @@ -3389,25 +2908,9 @@ impl SmartCardEmulator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardEmulator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardEmulator {} -impl ::core::fmt::Debug for SmartCardEmulator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardEmulator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardEmulator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulator;{dfb906b2-875e-47e5-8077-e8bff1b1c6fb})"); } -impl ::core::clone::Clone for SmartCardEmulator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardEmulator { type Vtable = ISmartCardEmulator_Vtbl; } @@ -3422,6 +2925,7 @@ unsafe impl ::core::marker::Send for SmartCardEmulator {} unsafe impl ::core::marker::Sync for SmartCardEmulator {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardEmulatorApduReceivedEventArgs(::windows_core::IUnknown); impl SmartCardEmulatorApduReceivedEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3507,25 +3011,9 @@ impl SmartCardEmulatorApduReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for SmartCardEmulatorApduReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardEmulatorApduReceivedEventArgs {} -impl ::core::fmt::Debug for SmartCardEmulatorApduReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardEmulatorApduReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardEmulatorApduReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorApduReceivedEventArgs;{d55d1576-69d2-5333-5b5f-f8c0d6e9f09f})"); } -impl ::core::clone::Clone for SmartCardEmulatorApduReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardEmulatorApduReceivedEventArgs { type Vtable = ISmartCardEmulatorApduReceivedEventArgs_Vtbl; } @@ -3540,6 +3028,7 @@ unsafe impl ::core::marker::Send for SmartCardEmulatorApduReceivedEventArgs {} unsafe impl ::core::marker::Sync for SmartCardEmulatorApduReceivedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardEmulatorConnectionDeactivatedEventArgs(::windows_core::IUnknown); impl SmartCardEmulatorConnectionDeactivatedEventArgs { pub fn ConnectionProperties(&self) -> ::windows_core::Result { @@ -3557,25 +3046,9 @@ impl SmartCardEmulatorConnectionDeactivatedEventArgs { } } } -impl ::core::cmp::PartialEq for SmartCardEmulatorConnectionDeactivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardEmulatorConnectionDeactivatedEventArgs {} -impl ::core::fmt::Debug for SmartCardEmulatorConnectionDeactivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardEmulatorConnectionDeactivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardEmulatorConnectionDeactivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionDeactivatedEventArgs;{2186d8d3-c5eb-5262-43df-62a0a1b55557})"); } -impl ::core::clone::Clone for SmartCardEmulatorConnectionDeactivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardEmulatorConnectionDeactivatedEventArgs { type Vtable = ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl; } @@ -3590,6 +3063,7 @@ unsafe impl ::core::marker::Send for SmartCardEmulatorConnectionDeactivatedEvent unsafe impl ::core::marker::Sync for SmartCardEmulatorConnectionDeactivatedEventArgs {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardEmulatorConnectionProperties(::windows_core::IUnknown); impl SmartCardEmulatorConnectionProperties { pub fn Id(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3607,25 +3081,9 @@ impl SmartCardEmulatorConnectionProperties { } } } -impl ::core::cmp::PartialEq for SmartCardEmulatorConnectionProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardEmulatorConnectionProperties {} -impl ::core::fmt::Debug for SmartCardEmulatorConnectionProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardEmulatorConnectionProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardEmulatorConnectionProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardEmulatorConnectionProperties;{4e2ca5ee-f969-507d-6cf9-34e2d18df311})"); } -impl ::core::clone::Clone for SmartCardEmulatorConnectionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardEmulatorConnectionProperties { type Vtable = ISmartCardEmulatorConnectionProperties_Vtbl; } @@ -3640,6 +3098,7 @@ unsafe impl ::core::marker::Send for SmartCardEmulatorConnectionProperties {} unsafe impl ::core::marker::Sync for SmartCardEmulatorConnectionProperties {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardPinPolicy(::windows_core::IUnknown); impl SmartCardPinPolicy { pub fn new() -> ::windows_core::Result { @@ -3716,25 +3175,9 @@ impl SmartCardPinPolicy { unsafe { (::windows_core::Interface::vtable(this).SetSpecialCharacters)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SmartCardPinPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardPinPolicy {} -impl ::core::fmt::Debug for SmartCardPinPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardPinPolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardPinPolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinPolicy;{183ce184-4db6-4841-ac9e-2ac1f39b7304})"); } -impl ::core::clone::Clone for SmartCardPinPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardPinPolicy { type Vtable = ISmartCardPinPolicy_Vtbl; } @@ -3749,6 +3192,7 @@ unsafe impl ::core::marker::Send for SmartCardPinPolicy {} unsafe impl ::core::marker::Sync for SmartCardPinPolicy {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardPinResetDeferral(::windows_core::IUnknown); impl SmartCardPinResetDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -3756,25 +3200,9 @@ impl SmartCardPinResetDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SmartCardPinResetDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardPinResetDeferral {} -impl ::core::fmt::Debug for SmartCardPinResetDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardPinResetDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardPinResetDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetDeferral;{18c94aac-7805-4004-85e4-bbefac8f6884})"); } -impl ::core::clone::Clone for SmartCardPinResetDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardPinResetDeferral { type Vtable = ISmartCardPinResetDeferral_Vtbl; } @@ -3789,6 +3217,7 @@ unsafe impl ::core::marker::Send for SmartCardPinResetDeferral {} unsafe impl ::core::marker::Sync for SmartCardPinResetDeferral {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardPinResetRequest(::windows_core::IUnknown); impl SmartCardPinResetRequest { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3826,25 +3255,9 @@ impl SmartCardPinResetRequest { unsafe { (::windows_core::Interface::vtable(this).SetResponse)(::windows_core::Interface::as_raw(this), response.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for SmartCardPinResetRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardPinResetRequest {} -impl ::core::fmt::Debug for SmartCardPinResetRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardPinResetRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardPinResetRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardPinResetRequest;{12fe3c4d-5fb9-4e8e-9ff6-61f475124fef})"); } -impl ::core::clone::Clone for SmartCardPinResetRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardPinResetRequest { type Vtable = ISmartCardPinResetRequest_Vtbl; } @@ -3859,6 +3272,7 @@ unsafe impl ::core::marker::Send for SmartCardPinResetRequest {} unsafe impl ::core::marker::Sync for SmartCardPinResetRequest {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardProvisioning(::windows_core::IUnknown); impl SmartCardProvisioning { pub fn SmartCard(&self) -> ::windows_core::Result { @@ -4006,25 +3420,9 @@ impl SmartCardProvisioning { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardProvisioning { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardProvisioning {} -impl ::core::fmt::Debug for SmartCardProvisioning { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardProvisioning").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardProvisioning { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardProvisioning;{19eeedbd-1fab-477c-b712-1a2c5af1fd6e})"); } -impl ::core::clone::Clone for SmartCardProvisioning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardProvisioning { type Vtable = ISmartCardProvisioning_Vtbl; } @@ -4039,6 +3437,7 @@ unsafe impl ::core::marker::Send for SmartCardProvisioning {} unsafe impl ::core::marker::Sync for SmartCardProvisioning {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardReader(::windows_core::IUnknown); impl SmartCardReader { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4142,25 +3541,9 @@ impl SmartCardReader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmartCardReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardReader {} -impl ::core::fmt::Debug for SmartCardReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardReader;{1074b4e0-54c2-4df0-817a-14c14378f06c})"); } -impl ::core::clone::Clone for SmartCardReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardReader { type Vtable = ISmartCardReader_Vtbl; } @@ -4175,6 +3558,7 @@ unsafe impl ::core::marker::Send for SmartCardReader {} unsafe impl ::core::marker::Sync for SmartCardReader {} #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardTriggerDetails(::windows_core::IUnknown); impl SmartCardTriggerDetails { pub fn TriggerType(&self) -> ::windows_core::Result { @@ -4235,25 +3619,9 @@ impl SmartCardTriggerDetails { } } } -impl ::core::cmp::PartialEq for SmartCardTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardTriggerDetails {} -impl ::core::fmt::Debug for SmartCardTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmartCardTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.SmartCards.SmartCardTriggerDetails;{5f9bf11e-39ef-4f2b-b44f-0a9155b177bc})"); } -impl ::core::clone::Clone for SmartCardTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmartCardTriggerDetails { type Vtable = ISmartCardTriggerDetails_Vtbl; } @@ -5133,6 +4501,7 @@ impl ::windows_core::RuntimeType for SmartCardUnlockPromptingBehavior { } #[doc = "*Required features: `\"Devices_SmartCards\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmartCardPinResetHandler(pub ::windows_core::IUnknown); impl SmartCardPinResetHandler { pub fn new, ::core::option::Option<&SmartCardPinResetRequest>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -5159,9 +4528,12 @@ impl, ::core::option::Op base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5186,25 +4558,9 @@ impl, ::core::option::Op ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&request)).into() } } -impl ::core::cmp::PartialEq for SmartCardPinResetHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmartCardPinResetHandler {} -impl ::core::fmt::Debug for SmartCardPinResetHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmartCardPinResetHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for SmartCardPinResetHandler { type Vtable = SmartCardPinResetHandler_Vtbl; } -impl ::core::clone::Clone for SmartCardPinResetHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for SmartCardPinResetHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x138d5e40_f3bc_4a5c_b41d_4b4ef684e237); } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index af9acd1de3..82f868cca2 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -55,8 +55,8 @@ impl ISmsBinaryMessage_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl ISmsDevice_Vtbl { RemoveSmsDeviceStatusChanged: RemoveSmsDeviceStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"implement\"`*"] @@ -237,8 +237,8 @@ impl ISmsMessage_Vtbl { MessageClass: MessageClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl ISmsMessageBase_Vtbl { SimIccId: SimIccId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation_Collections\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -488,7 +488,7 @@ impl ISmsTextMessage_Vtbl { ToBinaryMessages: ToBinaryMessages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 995838b7fd..ce18f0407c 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsAppMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsAppMessage { type Vtable = ISmsAppMessage_Vtbl; } -impl ::core::clone::Clone for ISmsAppMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsAppMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8bb8494_d3a0_4a0a_86d7_291033a8cf54); } @@ -51,6 +47,7 @@ pub struct ISmsAppMessage_Vtbl { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsBinaryMessage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl ISmsBinaryMessage { @@ -104,20 +101,6 @@ impl ISmsBinaryMessage { #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for ISmsBinaryMessage {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for ISmsBinaryMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for ISmsBinaryMessage {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for ISmsBinaryMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmsBinaryMessage").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for ISmsBinaryMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5bf4e813-3b53-4c6e-b61a-d86a63755650}"); } @@ -126,12 +109,6 @@ unsafe impl ::windows_core::Interface for ISmsBinaryMessage { type Vtable = ISmsBinaryMessage_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsBinaryMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsBinaryMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bf4e813_3b53_4c6e_b61a_d86a63755650); } @@ -159,15 +136,11 @@ pub struct ISmsBinaryMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsBroadcastMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsBroadcastMessage { type Vtable = ISmsBroadcastMessage_Vtbl; } -impl ::core::clone::Clone for ISmsBroadcastMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsBroadcastMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75aebbf1_e4b7_4874_a09c_2956e592f957); } @@ -192,6 +165,7 @@ pub struct ISmsBroadcastMessage_Vtbl { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDevice(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl ISmsDevice { @@ -295,20 +269,6 @@ impl ISmsDevice { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(ISmsDevice, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for ISmsDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for ISmsDevice {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for ISmsDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmsDevice").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for ISmsDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{091791ed-872b-4eec-9c72-ab11627b34ec}"); } @@ -317,12 +277,6 @@ unsafe impl ::windows_core::Interface for ISmsDevice { type Vtable = ISmsDevice_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x091791ed_872b_4eec_9c72_ab11627b34ec); } @@ -374,15 +328,11 @@ pub struct ISmsDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsDevice2 { type Vtable = ISmsDevice2_Vtbl; } -impl ::core::clone::Clone for ISmsDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd8a5c13_e522_46cb_b8d5_9ead30fb6c47); } @@ -413,15 +363,11 @@ pub struct ISmsDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDevice2Statics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsDevice2Statics { type Vtable = ISmsDevice2Statics_Vtbl; } -impl ::core::clone::Clone for ISmsDevice2Statics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsDevice2Statics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65c78325_1031_491e_8fb6_ef9991afe363); } @@ -437,18 +383,13 @@ pub struct ISmsDevice2Statics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDeviceMessageStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsDeviceMessageStore { type Vtable = ISmsDeviceMessageStore_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsDeviceMessageStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsDeviceMessageStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9889f253_f188_4427_8d54_ce0c2423c5c1); } @@ -481,18 +422,13 @@ pub struct ISmsDeviceMessageStore_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDeviceStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsDeviceStatics { type Vtable = ISmsDeviceStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf88d07ea_d815_4dd1_a234_4520ce4604a4); } @@ -517,18 +453,13 @@ pub struct ISmsDeviceStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsDeviceStatics2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsDeviceStatics2 { type Vtable = ISmsDeviceStatics2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsDeviceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsDeviceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ca11c87_0873_4caf_8a7d_bd471e8586d1); } @@ -544,15 +475,11 @@ pub struct ISmsDeviceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsFilterRule(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsFilterRule { type Vtable = ISmsFilterRule_Vtbl; } -impl ::core::clone::Clone for ISmsFilterRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsFilterRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40e32fae_b049_4fbc_afe9_e2a610eff55c); } @@ -610,15 +537,11 @@ pub struct ISmsFilterRule_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsFilterRuleFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsFilterRuleFactory { type Vtable = ISmsFilterRuleFactory_Vtbl; } -impl ::core::clone::Clone for ISmsFilterRuleFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsFilterRuleFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00c36508_6296_4f29_9aad_8920ceba3ce8); } @@ -630,15 +553,11 @@ pub struct ISmsFilterRuleFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsFilterRules(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsFilterRules { type Vtable = ISmsFilterRules_Vtbl; } -impl ::core::clone::Clone for ISmsFilterRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsFilterRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e47eafb_79cd_4881_9894_55a4135b23fa); } @@ -654,15 +573,11 @@ pub struct ISmsFilterRules_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsFilterRulesFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsFilterRulesFactory { type Vtable = ISmsFilterRulesFactory_Vtbl; } -impl ::core::clone::Clone for ISmsFilterRulesFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsFilterRulesFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa09924ed_6e2e_4530_9fde_465d02eed00e); } @@ -674,6 +589,7 @@ pub struct ISmsFilterRulesFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessage(::windows_core::IUnknown); impl ISmsMessage { pub fn Id(&self) -> ::windows_core::Result { @@ -692,28 +608,12 @@ impl ISmsMessage { } } ::windows_core::imp::interface_hierarchy!(ISmsMessage, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISmsMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISmsMessage {} -impl ::core::fmt::Debug for ISmsMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmsMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISmsMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ed3c5e28-6984-4b07-811d-8d5906ed3cea}"); } unsafe impl ::windows_core::Interface for ISmsMessage { type Vtable = ISmsMessage_Vtbl; } -impl ::core::clone::Clone for ISmsMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed3c5e28_6984_4b07_811d_8d5906ed3cea); } @@ -726,6 +626,7 @@ pub struct ISmsMessage_Vtbl { } #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageBase(::windows_core::IUnknown); impl ISmsMessageBase { pub fn MessageType(&self) -> ::windows_core::Result { @@ -765,28 +666,12 @@ impl ISmsMessageBase { } } ::windows_core::imp::interface_hierarchy!(ISmsMessageBase, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISmsMessageBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISmsMessageBase {} -impl ::core::fmt::Debug for ISmsMessageBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmsMessageBase").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISmsMessageBase { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2cf0fe30-fe50-4fc6-aa88-4ccfe27a29ea}"); } unsafe impl ::windows_core::Interface for ISmsMessageBase { type Vtable = ISmsMessageBase_Vtbl; } -impl ::core::clone::Clone for ISmsMessageBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessageBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cf0fe30_fe50_4fc6_aa88_4ccfe27a29ea); } @@ -803,18 +688,13 @@ pub struct ISmsMessageBase_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageReceivedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsMessageReceivedEventArgs { type Vtable = ISmsMessageReceivedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsMessageReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08e80a98_b8e5_41c1_a3d8_d3abfae22675); } @@ -834,15 +714,11 @@ pub struct ISmsMessageReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageReceivedTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsMessageReceivedTriggerDetails { type Vtable = ISmsMessageReceivedTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ISmsMessageReceivedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessageReceivedTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bcfcbd4_2657_4128_ad5f_e3877132bdb1); } @@ -862,15 +738,11 @@ pub struct ISmsMessageReceivedTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageRegistration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsMessageRegistration { type Vtable = ISmsMessageRegistration_Vtbl; } -impl ::core::clone::Clone for ISmsMessageRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessageRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1720503e_f34f_446b_83b3_0ff19923b409); } @@ -891,15 +763,11 @@ pub struct ISmsMessageRegistration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsMessageRegistrationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsMessageRegistrationStatics { type Vtable = ISmsMessageRegistrationStatics_Vtbl; } -impl ::core::clone::Clone for ISmsMessageRegistrationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsMessageRegistrationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63a05464_2898_4778_a03c_6f994907d63a); } @@ -916,18 +784,13 @@ pub struct ISmsMessageRegistrationStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsReceivedEventDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsReceivedEventDetails { type Vtable = ISmsReceivedEventDetails_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsReceivedEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsReceivedEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bb50f15_e46d_4c82_847d_5a0304c1d53d); } @@ -948,18 +811,13 @@ pub struct ISmsReceivedEventDetails_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsReceivedEventDetails2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsReceivedEventDetails2 { type Vtable = ISmsReceivedEventDetails2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsReceivedEventDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsReceivedEventDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40e05c86_a7b4_4771_9ae7_0b5ffb12c03a); } @@ -979,15 +837,11 @@ pub struct ISmsReceivedEventDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsSendMessageResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsSendMessageResult { type Vtable = ISmsSendMessageResult_Vtbl; } -impl ::core::clone::Clone for ISmsSendMessageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsSendMessageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb139af2_78c9_4feb_9622_452328088d62); } @@ -1008,15 +862,11 @@ pub struct ISmsSendMessageResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsStatusMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsStatusMessage { type Vtable = ISmsStatusMessage_Vtbl; } -impl ::core::clone::Clone for ISmsStatusMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsStatusMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6d28342_b70b_4677_9379_c9783fdff8f4); } @@ -1041,6 +891,7 @@ pub struct ISmsStatusMessage_Vtbl { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsTextMessage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl ISmsTextMessage { @@ -1169,20 +1020,6 @@ impl ISmsTextMessage { #[cfg(feature = "deprecated")] impl ::windows_core::CanTryInto for ISmsTextMessage {} #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for ISmsTextMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for ISmsTextMessage {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for ISmsTextMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmsTextMessage").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for ISmsTextMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d61c904c-a495-487f-9a6f-971548c5bc9f}"); } @@ -1191,12 +1028,6 @@ unsafe impl ::windows_core::Interface for ISmsTextMessage { type Vtable = ISmsTextMessage_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsTextMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsTextMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd61c904c_a495_487f_9a6f_971548c5bc9f); } @@ -1260,15 +1091,11 @@ pub struct ISmsTextMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsTextMessage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsTextMessage2 { type Vtable = ISmsTextMessage2_Vtbl; } -impl ::core::clone::Clone for ISmsTextMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsTextMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22a0d893_4555_4755_b5a1_e7fd84955f8d); } @@ -1299,18 +1126,13 @@ pub struct ISmsTextMessage2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsTextMessageStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISmsTextMessageStatics { type Vtable = ISmsTextMessageStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISmsTextMessageStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISmsTextMessageStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f68c5ed_3ccc_47a3_8c55_380d3b010892); } @@ -1330,15 +1152,11 @@ pub struct ISmsTextMessageStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsVoicemailMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsVoicemailMessage { type Vtable = ISmsVoicemailMessage_Vtbl; } -impl ::core::clone::Clone for ISmsVoicemailMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsVoicemailMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x271aa0a6_95b1_44ff_bcb8_b8fdd7e08bc3); } @@ -1359,15 +1177,11 @@ pub struct ISmsVoicemailMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmsWapMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmsWapMessage { type Vtable = ISmsWapMessage_Vtbl; } -impl ::core::clone::Clone for ISmsWapMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmsWapMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd937743_7a55_4d3b_9021_f22e022d09c5); } @@ -1395,6 +1209,7 @@ pub struct ISmsWapMessage_Vtbl { #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation\"`, `\"deprecated\"`*"] #[cfg(all(feature = "Foundation", feature = "deprecated"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeleteSmsMessageOperation(::windows_core::IUnknown); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl DeleteSmsMessageOperation { @@ -1463,30 +1278,10 @@ impl DeleteSmsMessageOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::PartialEq for DeleteSmsMessageOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::Eq for DeleteSmsMessageOperation {} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::fmt::Debug for DeleteSmsMessageOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeleteSmsMessageOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows_core::RuntimeType for DeleteSmsMessageOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::clone::Clone for DeleteSmsMessageOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for DeleteSmsMessageOperation { type Vtable = super::super::Foundation::IAsyncAction_Vtbl; } @@ -1538,6 +1333,7 @@ impl ::windows_core::CanTryInto for Delete #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation\"`, `\"deprecated\"`*"] #[cfg(all(feature = "Foundation", feature = "deprecated"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeleteSmsMessagesOperation(::windows_core::IUnknown); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl DeleteSmsMessagesOperation { @@ -1606,30 +1402,10 @@ impl DeleteSmsMessagesOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::PartialEq for DeleteSmsMessagesOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::Eq for DeleteSmsMessagesOperation {} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::fmt::Debug for DeleteSmsMessagesOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeleteSmsMessagesOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows_core::RuntimeType for DeleteSmsMessagesOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.DeleteSmsMessagesOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::clone::Clone for DeleteSmsMessagesOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for DeleteSmsMessagesOperation { type Vtable = super::super::Foundation::IAsyncAction_Vtbl; } @@ -1681,6 +1457,7 @@ impl ::windows_core::CanTryInto for Delete #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation\"`, `\"deprecated\"`*"] #[cfg(all(feature = "Foundation", feature = "deprecated"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GetSmsDeviceOperation(::windows_core::IUnknown); #[cfg(all(feature = "Foundation", feature = "deprecated"))] impl GetSmsDeviceOperation { @@ -1752,30 +1529,10 @@ impl GetSmsDeviceOperation { } } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::PartialEq for GetSmsDeviceOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::Eq for GetSmsDeviceOperation {} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::fmt::Debug for GetSmsDeviceOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GetSmsDeviceOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows_core::RuntimeType for GetSmsDeviceOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsDeviceOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})))"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::clone::Clone for GetSmsDeviceOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for GetSmsDeviceOperation { type Vtable = super::super::Foundation::IAsyncOperation_Vtbl; } @@ -1827,6 +1584,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::Eq for GetSmsMessageOperation {} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::fmt::Debug for GetSmsMessageOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GetSmsMessageOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows_core::RuntimeType for GetSmsMessageOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessageOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};{ed3c5e28-6984-4b07-811d-8d5906ed3cea}))"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::clone::Clone for GetSmsMessageOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for GetSmsMessageOperation { type Vtable = super::super::Foundation::IAsyncOperation_Vtbl; } @@ -1973,6 +1711,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -impl ::core::cmp::Eq for GetSmsMessagesOperation {} -#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -impl ::core::fmt::Debug for GetSmsMessagesOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GetSmsMessagesOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl ::windows_core::RuntimeType for GetSmsMessagesOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.GetSmsMessagesOperation;pinterface({b5d036d7-e297-498f-ba60-0289e76e23dd};pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};{ed3c5e28-6984-4b07-811d-8d5906ed3cea});i4))"); } #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -impl ::core::clone::Clone for GetSmsMessagesOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] unsafe impl ::windows_core::Interface for GetSmsMessagesOperation { type Vtable = super::super::Foundation::IAsyncOperationWithProgress_Vtbl, i32>; } @@ -2137,6 +1856,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::cmp::Eq for SendSmsMessageOperation {} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::fmt::Debug for SendSmsMessageOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SendSmsMessageOperation").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] impl ::windows_core::RuntimeType for SendSmsMessageOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SendSmsMessageOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(all(feature = "Foundation", feature = "deprecated"))] -impl ::core::clone::Clone for SendSmsMessageOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for SendSmsMessageOperation { type Vtable = super::super::Foundation::IAsyncAction_Vtbl; } @@ -2279,6 +1979,7 @@ impl ::windows_core::CanTryInto for Send impl ::windows_core::CanTryInto for SendSmsMessageOperation {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsAppMessage(::windows_core::IUnknown); impl SmsAppMessage { pub fn new() -> ::windows_core::Result { @@ -2457,25 +2158,9 @@ impl SmsAppMessage { } } } -impl ::core::cmp::PartialEq for SmsAppMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsAppMessage {} -impl ::core::fmt::Debug for SmsAppMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsAppMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsAppMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsAppMessage;{e8bb8494-d3a0-4a0a-86d7-291033a8cf54})"); } -impl ::core::clone::Clone for SmsAppMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsAppMessage { type Vtable = ISmsAppMessage_Vtbl; } @@ -2492,6 +2177,7 @@ unsafe impl ::core::marker::Sync for SmsAppMessage {} #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsBinaryMessage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsBinaryMessage { @@ -2548,30 +2234,10 @@ impl SmsBinaryMessage { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsBinaryMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsBinaryMessage {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsBinaryMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsBinaryMessage").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsBinaryMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBinaryMessage;{5bf4e813-3b53-4c6e-b61a-d86a63755650})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsBinaryMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsBinaryMessage { type Vtable = ISmsBinaryMessage_Vtbl; } @@ -2595,6 +2261,7 @@ unsafe impl ::core::marker::Send for SmsBinaryMessage {} unsafe impl ::core::marker::Sync for SmsBinaryMessage {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsBroadcastMessage(::windows_core::IUnknown); impl SmsBroadcastMessage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2705,25 +2372,9 @@ impl SmsBroadcastMessage { } } } -impl ::core::cmp::PartialEq for SmsBroadcastMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsBroadcastMessage {} -impl ::core::fmt::Debug for SmsBroadcastMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsBroadcastMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsBroadcastMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsBroadcastMessage;{75aebbf1-e4b7-4874-a09c-2956e592f957})"); } -impl ::core::clone::Clone for SmsBroadcastMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsBroadcastMessage { type Vtable = ISmsBroadcastMessage_Vtbl; } @@ -2740,6 +2391,7 @@ unsafe impl ::core::marker::Sync for SmsBroadcastMessage {} #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsDevice(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsDevice { @@ -2885,30 +2537,10 @@ impl SmsDevice { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsDevice {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsDevice").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice;{091791ed-872b-4eec-9c72-ab11627b34ec})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsDevice { type Vtable = ISmsDevice_Vtbl; } @@ -2926,6 +2558,7 @@ impl ::windows_core::RuntimeName for SmsDevice { impl ::windows_core::CanTryInto for SmsDevice {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsDevice2(::windows_core::IUnknown); impl SmsDevice2 { pub fn SmscAddress(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3044,25 +2677,9 @@ impl SmsDevice2 { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmsDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsDevice2 {} -impl ::core::fmt::Debug for SmsDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsDevice2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsDevice2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDevice2;{bd8a5c13-e522-46cb-b8d5-9ead30fb6c47})"); } -impl ::core::clone::Clone for SmsDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsDevice2 { type Vtable = ISmsDevice2_Vtbl; } @@ -3076,6 +2693,7 @@ impl ::windows_core::RuntimeName for SmsDevice2 { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsDeviceMessageStore(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsDeviceMessageStore { @@ -3126,30 +2744,10 @@ impl SmsDeviceMessageStore { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsDeviceMessageStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsDeviceMessageStore {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsDeviceMessageStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsDeviceMessageStore").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsDeviceMessageStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsDeviceMessageStore;{9889f253-f188-4427-8d54-ce0c2423c5c1})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsDeviceMessageStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsDeviceMessageStore { type Vtable = ISmsDeviceMessageStore_Vtbl; } @@ -3165,6 +2763,7 @@ impl ::windows_core::RuntimeName for SmsDeviceMessageStore { ::windows_core::imp::interface_hierarchy!(SmsDeviceMessageStore, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsFilterRule(::windows_core::IUnknown); impl SmsFilterRule { pub fn MessageType(&self) -> ::windows_core::Result { @@ -3296,25 +2895,9 @@ impl SmsFilterRule { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmsFilterRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsFilterRule {} -impl ::core::fmt::Debug for SmsFilterRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsFilterRule").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsFilterRule { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRule;{40e32fae-b049-4fbc-afe9-e2a610eff55c})"); } -impl ::core::clone::Clone for SmsFilterRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsFilterRule { type Vtable = ISmsFilterRule_Vtbl; } @@ -3329,6 +2912,7 @@ unsafe impl ::core::marker::Send for SmsFilterRule {} unsafe impl ::core::marker::Sync for SmsFilterRule {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsFilterRules(::windows_core::IUnknown); impl SmsFilterRules { pub fn ActionType(&self) -> ::windows_core::Result { @@ -3359,25 +2943,9 @@ impl SmsFilterRules { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmsFilterRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsFilterRules {} -impl ::core::fmt::Debug for SmsFilterRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsFilterRules").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsFilterRules { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsFilterRules;{4e47eafb-79cd-4881-9894-55a4135b23fa})"); } -impl ::core::clone::Clone for SmsFilterRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsFilterRules { type Vtable = ISmsFilterRules_Vtbl; } @@ -3393,6 +2961,7 @@ unsafe impl ::core::marker::Sync for SmsFilterRules {} #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsMessageReceivedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsMessageReceivedEventArgs { @@ -3416,30 +2985,10 @@ impl SmsMessageReceivedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsMessageReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsMessageReceivedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsMessageReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsMessageReceivedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsMessageReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedEventArgs;{08e80a98-b8e5-41c1-a3d8-d3abfae22675})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsMessageReceivedEventArgs { type Vtable = ISmsMessageReceivedEventArgs_Vtbl; } @@ -3455,6 +3004,7 @@ impl ::windows_core::RuntimeName for SmsMessageReceivedEventArgs { ::windows_core::imp::interface_hierarchy!(SmsMessageReceivedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsMessageReceivedTriggerDetails(::windows_core::IUnknown); impl SmsMessageReceivedTriggerDetails { pub fn MessageType(&self) -> ::windows_core::Result { @@ -3515,25 +3065,9 @@ impl SmsMessageReceivedTriggerDetails { unsafe { (::windows_core::Interface::vtable(this).Accept)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SmsMessageReceivedTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsMessageReceivedTriggerDetails {} -impl ::core::fmt::Debug for SmsMessageReceivedTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsMessageReceivedTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsMessageReceivedTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageReceivedTriggerDetails;{2bcfcbd4-2657-4128-ad5f-e3877132bdb1})"); } -impl ::core::clone::Clone for SmsMessageReceivedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsMessageReceivedTriggerDetails { type Vtable = ISmsMessageReceivedTriggerDetails_Vtbl; } @@ -3548,6 +3082,7 @@ unsafe impl ::core::marker::Send for SmsMessageReceivedTriggerDetails {} unsafe impl ::core::marker::Sync for SmsMessageReceivedTriggerDetails {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsMessageRegistration(::windows_core::IUnknown); impl SmsMessageRegistration { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3602,25 +3137,9 @@ impl SmsMessageRegistration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SmsMessageRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsMessageRegistration {} -impl ::core::fmt::Debug for SmsMessageRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsMessageRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsMessageRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsMessageRegistration;{1720503e-f34f-446b-83b3-0ff19923b409})"); } -impl ::core::clone::Clone for SmsMessageRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsMessageRegistration { type Vtable = ISmsMessageRegistration_Vtbl; } @@ -3634,6 +3153,7 @@ impl ::windows_core::RuntimeName for SmsMessageRegistration { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsReceivedEventDetails(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsReceivedEventDetails { @@ -3675,30 +3195,10 @@ impl SmsReceivedEventDetails { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsReceivedEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsReceivedEventDetails {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsReceivedEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsReceivedEventDetails").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsReceivedEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsReceivedEventDetails;{5bb50f15-e46d-4c82-847d-5a0304c1d53d})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsReceivedEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsReceivedEventDetails { type Vtable = ISmsReceivedEventDetails_Vtbl; } @@ -3718,6 +3218,7 @@ unsafe impl ::core::marker::Send for SmsReceivedEventDetails {} unsafe impl ::core::marker::Sync for SmsReceivedEventDetails {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsSendMessageResult(::windows_core::IUnknown); impl SmsSendMessageResult { pub fn IsSuccessful(&self) -> ::windows_core::Result { @@ -3772,25 +3273,9 @@ impl SmsSendMessageResult { } } } -impl ::core::cmp::PartialEq for SmsSendMessageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsSendMessageResult {} -impl ::core::fmt::Debug for SmsSendMessageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsSendMessageResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsSendMessageResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsSendMessageResult;{db139af2-78c9-4feb-9622-452328088d62})"); } -impl ::core::clone::Clone for SmsSendMessageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsSendMessageResult { type Vtable = ISmsSendMessageResult_Vtbl; } @@ -3805,6 +3290,7 @@ unsafe impl ::core::marker::Send for SmsSendMessageResult {} unsafe impl ::core::marker::Sync for SmsSendMessageResult {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsStatusMessage(::windows_core::IUnknown); impl SmsStatusMessage { pub fn MessageType(&self) -> ::windows_core::Result { @@ -3896,25 +3382,9 @@ impl SmsStatusMessage { } } } -impl ::core::cmp::PartialEq for SmsStatusMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsStatusMessage {} -impl ::core::fmt::Debug for SmsStatusMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsStatusMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsStatusMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsStatusMessage;{e6d28342-b70b-4677-9379-c9783fdff8f4})"); } -impl ::core::clone::Clone for SmsStatusMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsStatusMessage { type Vtable = ISmsStatusMessage_Vtbl; } @@ -3931,6 +3401,7 @@ unsafe impl ::core::marker::Sync for SmsStatusMessage {} #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsTextMessage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsTextMessage { @@ -4087,30 +3558,10 @@ impl SmsTextMessage { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsTextMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsTextMessage {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsTextMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsTextMessage").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SmsTextMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage;{d61c904c-a495-487f-9a6f-971548c5bc9f})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsTextMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsTextMessage { type Vtable = ISmsTextMessage_Vtbl; } @@ -4134,6 +3585,7 @@ unsafe impl ::core::marker::Send for SmsTextMessage {} unsafe impl ::core::marker::Sync for SmsTextMessage {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsTextMessage2(::windows_core::IUnknown); impl SmsTextMessage2 { pub fn new() -> ::windows_core::Result { @@ -4275,25 +3727,9 @@ impl SmsTextMessage2 { } } } -impl ::core::cmp::PartialEq for SmsTextMessage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsTextMessage2 {} -impl ::core::fmt::Debug for SmsTextMessage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsTextMessage2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsTextMessage2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsTextMessage2;{22a0d893-4555-4755-b5a1-e7fd84955f8d})"); } -impl ::core::clone::Clone for SmsTextMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsTextMessage2 { type Vtable = ISmsTextMessage2_Vtbl; } @@ -4309,6 +3745,7 @@ unsafe impl ::core::marker::Send for SmsTextMessage2 {} unsafe impl ::core::marker::Sync for SmsTextMessage2 {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsVoicemailMessage(::windows_core::IUnknown); impl SmsVoicemailMessage { pub fn MessageType(&self) -> ::windows_core::Result { @@ -4379,25 +3816,9 @@ impl SmsVoicemailMessage { } } } -impl ::core::cmp::PartialEq for SmsVoicemailMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsVoicemailMessage {} -impl ::core::fmt::Debug for SmsVoicemailMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsVoicemailMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsVoicemailMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsVoicemailMessage;{271aa0a6-95b1-44ff-bcb8-b8fdd7e08bc3})"); } -impl ::core::clone::Clone for SmsVoicemailMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsVoicemailMessage { type Vtable = ISmsVoicemailMessage_Vtbl; } @@ -4413,6 +3834,7 @@ unsafe impl ::core::marker::Send for SmsVoicemailMessage {} unsafe impl ::core::marker::Sync for SmsVoicemailMessage {} #[doc = "*Required features: `\"Devices_Sms\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsWapMessage(::windows_core::IUnknown); impl SmsWapMessage { pub fn MessageType(&self) -> ::windows_core::Result { @@ -4506,25 +3928,9 @@ impl SmsWapMessage { } } } -impl ::core::cmp::PartialEq for SmsWapMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SmsWapMessage {} -impl ::core::fmt::Debug for SmsWapMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsWapMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SmsWapMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Sms.SmsWapMessage;{cd937743-7a55-4d3b-9021-f22e022d09c5})"); } -impl ::core::clone::Clone for SmsWapMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SmsWapMessage { type Vtable = ISmsWapMessage_Vtbl; } @@ -4974,6 +4380,7 @@ impl ::core::default::Default for SmsEncodedLength { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsDeviceStatusChangedEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsDeviceStatusChangedEventHandler { @@ -5004,9 +4411,12 @@ impl) -> ::windows_core::Result<()> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5032,30 +4442,10 @@ impl) -> ::windows_core::Result<()> } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsDeviceStatusChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsDeviceStatusChangedEventHandler {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsDeviceStatusChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsDeviceStatusChangedEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsDeviceStatusChangedEventHandler { type Vtable = SmsDeviceStatusChangedEventHandler_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsDeviceStatusChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for SmsDeviceStatusChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x982b1162_3dd7_4618_af89_0c272d5d06d8); } @@ -5076,6 +4466,7 @@ pub struct SmsDeviceStatusChangedEventHandler_Vtbl { #[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SmsMessageReceivedEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SmsMessageReceivedEventHandler { @@ -5107,9 +4498,12 @@ impl, ::core::option::Option<&SmsMes base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5135,30 +4529,10 @@ impl, ::core::option::Option<&SmsMes } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SmsMessageReceivedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SmsMessageReceivedEventHandler {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SmsMessageReceivedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SmsMessageReceivedEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SmsMessageReceivedEventHandler { type Vtable = SmsMessageReceivedEventHandler_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SmsMessageReceivedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for SmsMessageReceivedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b7ad409_ec2d_47ce_a253_732beeebcacd); } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index 26f7f30469..477d4de53b 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -24,8 +24,8 @@ impl ISpiControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Spi_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl ISpiDeviceProvider_Vtbl { TransferFullDuplex: TransferFullDuplex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Spi_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -132,7 +132,7 @@ impl ISpiProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs index 125bad05c8..0048d25262 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderSpiConnectionSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProviderSpiConnectionSettings { type Vtable = IProviderSpiConnectionSettings_Vtbl; } -impl ::core::clone::Clone for IProviderSpiConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderSpiConnectionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6034550_a542_4ec0_9601_a4dd68f8697b); } @@ -29,15 +25,11 @@ pub struct IProviderSpiConnectionSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderSpiConnectionSettingsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProviderSpiConnectionSettingsFactory { type Vtable = IProviderSpiConnectionSettingsFactory_Vtbl; } -impl ::core::clone::Clone for IProviderSpiConnectionSettingsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderSpiConnectionSettingsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66456b5a_0c79_43e3_9f3c_e59780ac18fa); } @@ -49,6 +41,7 @@ pub struct IProviderSpiConnectionSettingsFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiControllerProvider(::windows_core::IUnknown); impl ISpiControllerProvider { pub fn GetDeviceProvider(&self, settings: P0) -> ::windows_core::Result @@ -63,28 +56,12 @@ impl ISpiControllerProvider { } } ::windows_core::imp::interface_hierarchy!(ISpiControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISpiControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpiControllerProvider {} -impl ::core::fmt::Debug for ISpiControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpiControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISpiControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c1686504-02ce-4226-a385-4f11fb04b41b}"); } unsafe impl ::windows_core::Interface for ISpiControllerProvider { type Vtable = ISpiControllerProvider_Vtbl; } -impl ::core::clone::Clone for ISpiControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1686504_02ce_4226_a385_4f11fb04b41b); } @@ -96,6 +73,7 @@ pub struct ISpiControllerProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiDeviceProvider(::windows_core::IUnknown); impl ISpiDeviceProvider { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -138,28 +116,12 @@ impl ISpiDeviceProvider { ::windows_core::imp::interface_hierarchy!(ISpiDeviceProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for ISpiDeviceProvider {} -impl ::core::cmp::PartialEq for ISpiDeviceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpiDeviceProvider {} -impl ::core::fmt::Debug for ISpiDeviceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpiDeviceProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISpiDeviceProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0d1c3443-304b-405c-b4f7-f5ab1074461e}"); } unsafe impl ::windows_core::Interface for ISpiDeviceProvider { type Vtable = ISpiDeviceProvider_Vtbl; } -impl ::core::clone::Clone for ISpiDeviceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiDeviceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d1c3443_304b_405c_b4f7_f5ab1074461e); } @@ -176,6 +138,7 @@ pub struct ISpiDeviceProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiProvider(::windows_core::IUnknown); impl ISpiProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -189,28 +152,12 @@ impl ISpiProvider { } } ::windows_core::imp::interface_hierarchy!(ISpiProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISpiProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpiProvider {} -impl ::core::fmt::Debug for ISpiProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpiProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISpiProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96b461e2-77d4-48ce-aaa0-75715a8362cf}"); } unsafe impl ::windows_core::Interface for ISpiProvider { type Vtable = ISpiProvider_Vtbl; } -impl ::core::clone::Clone for ISpiProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96b461e2_77d4_48ce_aaa0_75715a8362cf); } @@ -225,6 +172,7 @@ pub struct ISpiProvider_Vtbl { } #[doc = "*Required features: `\"Devices_Spi_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProviderSpiConnectionSettings(::windows_core::IUnknown); impl ProviderSpiConnectionSettings { pub fn ChipSelectLine(&self) -> ::windows_core::Result { @@ -294,25 +242,9 @@ impl ProviderSpiConnectionSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProviderSpiConnectionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProviderSpiConnectionSettings {} -impl ::core::fmt::Debug for ProviderSpiConnectionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProviderSpiConnectionSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProviderSpiConnectionSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.Provider.ProviderSpiConnectionSettings;{f6034550-a542-4ec0-9601-a4dd68f8697b})"); } -impl ::core::clone::Clone for ProviderSpiConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProviderSpiConnectionSettings { type Vtable = IProviderSpiConnectionSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs index 90888fc1e7..82d0a66e57 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs @@ -69,7 +69,7 @@ impl ISpiDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 448f5de570..768838ab57 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiBusInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiBusInfo { type Vtable = ISpiBusInfo_Vtbl; } -impl ::core::clone::Clone for ISpiBusInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiBusInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9929444a_54f2_48c6_b952_9c32fc02c669); } @@ -28,15 +24,11 @@ pub struct ISpiBusInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiConnectionSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiConnectionSettings { type Vtable = ISpiConnectionSettings_Vtbl; } -impl ::core::clone::Clone for ISpiConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiConnectionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5283a37f_f935_4b9f_a7a7_3a7890afa5ce); } @@ -57,15 +49,11 @@ pub struct ISpiConnectionSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiConnectionSettingsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiConnectionSettingsFactory { type Vtable = ISpiConnectionSettingsFactory_Vtbl; } -impl ::core::clone::Clone for ISpiConnectionSettingsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiConnectionSettingsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff99081e_10c4_44b7_9fea_a748b5a46f31); } @@ -77,15 +65,11 @@ pub struct ISpiConnectionSettingsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiController { type Vtable = ISpiController_Vtbl; } -impl ::core::clone::Clone for ISpiController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8d3c829_9895_4159_a934_8741f1ee6d27); } @@ -97,15 +81,11 @@ pub struct ISpiController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiControllerStatics { type Vtable = ISpiControllerStatics_Vtbl; } -impl ::core::clone::Clone for ISpiControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d5229e2_138b_4e48_b964_4f2f79b9c5a2); } @@ -124,15 +104,11 @@ pub struct ISpiControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpiDevice { type Vtable = ISpiDevice_Vtbl; } -impl ::core::clone::Clone for ISpiDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05d5356d_11b6_4d39_84d5_95dfb4c9f2ce); } @@ -149,6 +125,7 @@ pub struct ISpiDevice_Vtbl { } #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpiDeviceStatics(::windows_core::IUnknown); impl ISpiDeviceStatics { pub fn GetDeviceSelector(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -186,28 +163,12 @@ impl ISpiDeviceStatics { } } ::windows_core::imp::interface_hierarchy!(ISpiDeviceStatics, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISpiDeviceStatics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpiDeviceStatics {} -impl ::core::fmt::Debug for ISpiDeviceStatics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpiDeviceStatics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISpiDeviceStatics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a278e559-5720-4d3f-bd93-56f5ff5a5879}"); } unsafe impl ::windows_core::Interface for ISpiDeviceStatics { type Vtable = ISpiDeviceStatics_Vtbl; } -impl ::core::clone::Clone for ISpiDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpiDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa278e559_5720_4d3f_bd93_56f5ff5a5879); } @@ -225,6 +186,7 @@ pub struct ISpiDeviceStatics_Vtbl { } #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpiBusInfo(::windows_core::IUnknown); impl SpiBusInfo { pub fn ChipSelectLineCount(&self) -> ::windows_core::Result { @@ -258,25 +220,9 @@ impl SpiBusInfo { } } } -impl ::core::cmp::PartialEq for SpiBusInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpiBusInfo {} -impl ::core::fmt::Debug for SpiBusInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpiBusInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpiBusInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiBusInfo;{9929444a-54f2-48c6-b952-9c32fc02c669})"); } -impl ::core::clone::Clone for SpiBusInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpiBusInfo { type Vtable = ISpiBusInfo_Vtbl; } @@ -291,6 +237,7 @@ unsafe impl ::core::marker::Send for SpiBusInfo {} unsafe impl ::core::marker::Sync for SpiBusInfo {} #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpiConnectionSettings(::windows_core::IUnknown); impl SpiConnectionSettings { pub fn ChipSelectLine(&self) -> ::windows_core::Result { @@ -360,25 +307,9 @@ impl SpiConnectionSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpiConnectionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpiConnectionSettings {} -impl ::core::fmt::Debug for SpiConnectionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpiConnectionSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpiConnectionSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiConnectionSettings;{5283a37f-f935-4b9f-a7a7-3a7890afa5ce})"); } -impl ::core::clone::Clone for SpiConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpiConnectionSettings { type Vtable = ISpiConnectionSettings_Vtbl; } @@ -393,6 +324,7 @@ unsafe impl ::core::marker::Send for SpiConnectionSettings {} unsafe impl ::core::marker::Sync for SpiConnectionSettings {} #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpiController(::windows_core::IUnknown); impl SpiController { pub fn GetDevice(&self, settings: P0) -> ::windows_core::Result @@ -430,25 +362,9 @@ impl SpiController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpiController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpiController {} -impl ::core::fmt::Debug for SpiController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpiController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpiController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})"); } -impl ::core::clone::Clone for SpiController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpiController { type Vtable = ISpiController_Vtbl; } @@ -463,6 +379,7 @@ unsafe impl ::core::marker::Send for SpiController {} unsafe impl ::core::marker::Sync for SpiController {} #[doc = "*Required features: `\"Devices_Spi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpiDevice(::windows_core::IUnknown); impl SpiDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -536,25 +453,9 @@ impl SpiDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpiDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpiDevice {} -impl ::core::fmt::Debug for SpiDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpiDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpiDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce})"); } -impl ::core::clone::Clone for SpiDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpiDevice { type Vtable = ISpiDevice_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index 96e22c7f4e..f641170ae2 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbBulkInEndpointDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbBulkInEndpointDescriptor { type Vtable = IUsbBulkInEndpointDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbBulkInEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbBulkInEndpointDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c6e4846_06cf_42a9_9dc2_971c1b14b6e3); } @@ -22,15 +18,11 @@ pub struct IUsbBulkInEndpointDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbBulkInPipe(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbBulkInPipe { type Vtable = IUsbBulkInPipe_Vtbl; } -impl ::core::clone::Clone for IUsbBulkInPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbBulkInPipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf01d2d3b_4548_4d50_b326_d82cdabe1220); } @@ -54,15 +46,11 @@ pub struct IUsbBulkInPipe_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbBulkOutEndpointDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbBulkOutEndpointDescriptor { type Vtable = IUsbBulkOutEndpointDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbBulkOutEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbBulkOutEndpointDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2820847a_ffee_4f60_9be1_956cac3ecb65); } @@ -76,15 +64,11 @@ pub struct IUsbBulkOutEndpointDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbBulkOutPipe(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbBulkOutPipe { type Vtable = IUsbBulkOutPipe_Vtbl; } -impl ::core::clone::Clone for IUsbBulkOutPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbBulkOutPipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8e9ee6e_0115_45aa_8b21_37b225bccee7); } @@ -106,15 +90,11 @@ pub struct IUsbBulkOutPipe_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbConfiguration { type Vtable = IUsbConfiguration_Vtbl; } -impl ::core::clone::Clone for IUsbConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68177429_36a9_46d7_b873_fc689251ec30); } @@ -134,15 +114,11 @@ pub struct IUsbConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbConfigurationDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbConfigurationDescriptor { type Vtable = IUsbConfigurationDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbConfigurationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbConfigurationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2176d92_b442_407a_8207_7d646c0385f3); } @@ -157,15 +133,11 @@ pub struct IUsbConfigurationDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbConfigurationDescriptorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbConfigurationDescriptorStatics { type Vtable = IUsbConfigurationDescriptorStatics_Vtbl; } -impl ::core::clone::Clone for IUsbConfigurationDescriptorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbConfigurationDescriptorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x424ced93_e740_40a1_92bd_da120ea04914); } @@ -178,15 +150,11 @@ pub struct IUsbConfigurationDescriptorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbControlRequestType(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbControlRequestType { type Vtable = IUsbControlRequestType_Vtbl; } -impl ::core::clone::Clone for IUsbControlRequestType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbControlRequestType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e9465a6_d73d_46de_94be_aae7f07c0f5c); } @@ -205,15 +173,11 @@ pub struct IUsbControlRequestType_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDescriptor { type Vtable = IUsbDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a89f216_5f9d_4874_8904_da9ad3f5528f); } @@ -230,15 +194,11 @@ pub struct IUsbDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDevice { type Vtable = IUsbDevice_Vtbl; } -impl ::core::clone::Clone for IUsbDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5249b992_c456_44d5_ad5e_24f5a089f63b); } @@ -268,15 +228,11 @@ pub struct IUsbDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDeviceClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDeviceClass { type Vtable = IUsbDeviceClass_Vtbl; } -impl ::core::clone::Clone for IUsbDeviceClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDeviceClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x051942f9_845e_47eb_b12a_38f2f617afe7); } @@ -305,15 +261,11 @@ pub struct IUsbDeviceClass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDeviceClasses(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDeviceClasses { type Vtable = IUsbDeviceClasses_Vtbl; } -impl ::core::clone::Clone for IUsbDeviceClasses { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDeviceClasses { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x686f955d_9b92_4b30_9781_c22c55ac35cb); } @@ -324,15 +276,11 @@ pub struct IUsbDeviceClasses_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDeviceClassesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDeviceClassesStatics { type Vtable = IUsbDeviceClassesStatics_Vtbl; } -impl ::core::clone::Clone for IUsbDeviceClassesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDeviceClassesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb20b0527_c580_4599_a165_981b4fd03230); } @@ -352,15 +300,11 @@ pub struct IUsbDeviceClassesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDeviceDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDeviceDescriptor { type Vtable = IUsbDeviceDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbDeviceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDeviceDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f48d1f6_ba97_4322_b92c_b5b189216588); } @@ -377,15 +321,11 @@ pub struct IUsbDeviceDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbDeviceStatics { type Vtable = IUsbDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IUsbDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x066b85a2_09b7_4446_8502_6fe6dcaa7309); } @@ -404,15 +344,11 @@ pub struct IUsbDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbEndpointDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbEndpointDescriptor { type Vtable = IUsbEndpointDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbEndpointDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b4862d9_8df7_4b40_ac83_578f139f0575); } @@ -430,15 +366,11 @@ pub struct IUsbEndpointDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbEndpointDescriptorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbEndpointDescriptorStatics { type Vtable = IUsbEndpointDescriptorStatics_Vtbl; } -impl ::core::clone::Clone for IUsbEndpointDescriptorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbEndpointDescriptorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc890b201_9a6a_495e_a82c_295b9e708106); } @@ -451,15 +383,11 @@ pub struct IUsbEndpointDescriptorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterface { type Vtable = IUsbInterface_Vtbl; } -impl ::core::clone::Clone for IUsbInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0322b95_7f47_48ab_a727_678c25be2112); } @@ -495,15 +423,11 @@ pub struct IUsbInterface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterfaceDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterfaceDescriptor { type Vtable = IUsbInterfaceDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbInterfaceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterfaceDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x199670c7_b7ee_4f90_8cd5_94a2e257598a); } @@ -519,15 +443,11 @@ pub struct IUsbInterfaceDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterfaceDescriptorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterfaceDescriptorStatics { type Vtable = IUsbInterfaceDescriptorStatics_Vtbl; } -impl ::core::clone::Clone for IUsbInterfaceDescriptorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterfaceDescriptorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe34a9ff5_77d6_48b6_b0be_16c6422316fe); } @@ -540,15 +460,11 @@ pub struct IUsbInterfaceDescriptorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterfaceSetting(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterfaceSetting { type Vtable = IUsbInterfaceSetting_Vtbl; } -impl ::core::clone::Clone for IUsbInterfaceSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterfaceSetting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1827bba7_8da7_4af7_8f4c_7f3032e781f5); } @@ -585,15 +501,11 @@ pub struct IUsbInterfaceSetting_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterruptInEndpointDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterruptInEndpointDescriptor { type Vtable = IUsbInterruptInEndpointDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbInterruptInEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterruptInEndpointDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0528967_c911_4c3a_86b2_419c2da89039); } @@ -611,15 +523,11 @@ pub struct IUsbInterruptInEndpointDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterruptInEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterruptInEventArgs { type Vtable = IUsbInterruptInEventArgs_Vtbl; } -impl ::core::clone::Clone for IUsbInterruptInEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterruptInEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7b04092_1418_4936_8209_299cf5605583); } @@ -634,15 +542,11 @@ pub struct IUsbInterruptInEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterruptInPipe(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterruptInPipe { type Vtable = IUsbInterruptInPipe_Vtbl; } -impl ::core::clone::Clone for IUsbInterruptInPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterruptInPipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa007116_84d7_48c7_8a3f_4c0b235f2ea6); } @@ -666,15 +570,11 @@ pub struct IUsbInterruptInPipe_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterruptOutEndpointDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterruptOutEndpointDescriptor { type Vtable = IUsbInterruptOutEndpointDescriptor_Vtbl; } -impl ::core::clone::Clone for IUsbInterruptOutEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterruptOutEndpointDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc9fed81_10ca_4533_952d_9e278341e80f); } @@ -692,15 +592,11 @@ pub struct IUsbInterruptOutEndpointDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbInterruptOutPipe(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbInterruptOutPipe { type Vtable = IUsbInterruptOutPipe_Vtbl; } -impl ::core::clone::Clone for IUsbInterruptOutPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbInterruptOutPipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe984c8a9_aaf9_49d0_b96c_f661ab4a7f95); } @@ -722,15 +618,11 @@ pub struct IUsbInterruptOutPipe_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbSetupPacket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbSetupPacket { type Vtable = IUsbSetupPacket_Vtbl; } -impl ::core::clone::Clone for IUsbSetupPacket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbSetupPacket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x104ba132_c78f_4c51_b654_e49d02f2cb03); } @@ -751,15 +643,11 @@ pub struct IUsbSetupPacket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUsbSetupPacketFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUsbSetupPacketFactory { type Vtable = IUsbSetupPacketFactory_Vtbl; } -impl ::core::clone::Clone for IUsbSetupPacketFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUsbSetupPacketFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9257d50_1b2e_4a41_a2a7_338f0cef3c14); } @@ -774,6 +662,7 @@ pub struct IUsbSetupPacketFactory_Vtbl { } #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbBulkInEndpointDescriptor(::windows_core::IUnknown); impl UsbBulkInEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows_core::Result { @@ -798,25 +687,9 @@ impl UsbBulkInEndpointDescriptor { } } } -impl ::core::cmp::PartialEq for UsbBulkInEndpointDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbBulkInEndpointDescriptor {} -impl ::core::fmt::Debug for UsbBulkInEndpointDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbBulkInEndpointDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbBulkInEndpointDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInEndpointDescriptor;{3c6e4846-06cf-42a9-9dc2-971c1b14b6e3})"); } -impl ::core::clone::Clone for UsbBulkInEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbBulkInEndpointDescriptor { type Vtable = IUsbBulkInEndpointDescriptor_Vtbl; } @@ -831,6 +704,7 @@ unsafe impl ::core::marker::Send for UsbBulkInEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbBulkInEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbBulkInPipe(::windows_core::IUnknown); impl UsbBulkInPipe { pub fn MaxTransferSizeBytes(&self) -> ::windows_core::Result { @@ -881,25 +755,9 @@ impl UsbBulkInPipe { } } } -impl ::core::cmp::PartialEq for UsbBulkInPipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbBulkInPipe {} -impl ::core::fmt::Debug for UsbBulkInPipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbBulkInPipe").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbBulkInPipe { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkInPipe;{f01d2d3b-4548-4d50-b326-d82cdabe1220})"); } -impl ::core::clone::Clone for UsbBulkInPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbBulkInPipe { type Vtable = IUsbBulkInPipe_Vtbl; } @@ -914,6 +772,7 @@ unsafe impl ::core::marker::Send for UsbBulkInPipe {} unsafe impl ::core::marker::Sync for UsbBulkInPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbBulkOutEndpointDescriptor(::windows_core::IUnknown); impl UsbBulkOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows_core::Result { @@ -938,25 +797,9 @@ impl UsbBulkOutEndpointDescriptor { } } } -impl ::core::cmp::PartialEq for UsbBulkOutEndpointDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbBulkOutEndpointDescriptor {} -impl ::core::fmt::Debug for UsbBulkOutEndpointDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbBulkOutEndpointDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbBulkOutEndpointDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutEndpointDescriptor;{2820847a-ffee-4f60-9be1-956cac3ecb65})"); } -impl ::core::clone::Clone for UsbBulkOutEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbBulkOutEndpointDescriptor { type Vtable = IUsbBulkOutEndpointDescriptor_Vtbl; } @@ -971,6 +814,7 @@ unsafe impl ::core::marker::Send for UsbBulkOutEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbBulkOutEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbBulkOutPipe(::windows_core::IUnknown); impl UsbBulkOutPipe { pub fn EndpointDescriptor(&self) -> ::windows_core::Result { @@ -1010,25 +854,9 @@ impl UsbBulkOutPipe { } } } -impl ::core::cmp::PartialEq for UsbBulkOutPipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbBulkOutPipe {} -impl ::core::fmt::Debug for UsbBulkOutPipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbBulkOutPipe").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbBulkOutPipe { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbBulkOutPipe;{a8e9ee6e-0115-45aa-8b21-37b225bccee7})"); } -impl ::core::clone::Clone for UsbBulkOutPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbBulkOutPipe { type Vtable = IUsbBulkOutPipe_Vtbl; } @@ -1043,6 +871,7 @@ unsafe impl ::core::marker::Send for UsbBulkOutPipe {} unsafe impl ::core::marker::Sync for UsbBulkOutPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbConfiguration(::windows_core::IUnknown); impl UsbConfiguration { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1071,25 +900,9 @@ impl UsbConfiguration { } } } -impl ::core::cmp::PartialEq for UsbConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbConfiguration {} -impl ::core::fmt::Debug for UsbConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfiguration;{68177429-36a9-46d7-b873-fc689251ec30})"); } -impl ::core::clone::Clone for UsbConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbConfiguration { type Vtable = IUsbConfiguration_Vtbl; } @@ -1104,6 +917,7 @@ unsafe impl ::core::marker::Send for UsbConfiguration {} unsafe impl ::core::marker::Sync for UsbConfiguration {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbConfigurationDescriptor(::windows_core::IUnknown); impl UsbConfigurationDescriptor { pub fn ConfigurationValue(&self) -> ::windows_core::Result { @@ -1158,25 +972,9 @@ impl UsbConfigurationDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbConfigurationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbConfigurationDescriptor {} -impl ::core::fmt::Debug for UsbConfigurationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbConfigurationDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbConfigurationDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbConfigurationDescriptor;{f2176d92-b442-407a-8207-7d646c0385f3})"); } -impl ::core::clone::Clone for UsbConfigurationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbConfigurationDescriptor { type Vtable = IUsbConfigurationDescriptor_Vtbl; } @@ -1191,6 +989,7 @@ unsafe impl ::core::marker::Send for UsbConfigurationDescriptor {} unsafe impl ::core::marker::Sync for UsbConfigurationDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbControlRequestType(::windows_core::IUnknown); impl UsbControlRequestType { pub fn new() -> ::windows_core::Result { @@ -1245,25 +1044,9 @@ impl UsbControlRequestType { unsafe { (::windows_core::Interface::vtable(this).SetAsByte)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for UsbControlRequestType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbControlRequestType {} -impl ::core::fmt::Debug for UsbControlRequestType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbControlRequestType").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbControlRequestType { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbControlRequestType;{8e9465a6-d73d-46de-94be-aae7f07c0f5c})"); } -impl ::core::clone::Clone for UsbControlRequestType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbControlRequestType { type Vtable = IUsbControlRequestType_Vtbl; } @@ -1278,6 +1061,7 @@ unsafe impl ::core::marker::Send for UsbControlRequestType {} unsafe impl ::core::marker::Sync for UsbControlRequestType {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbDescriptor(::windows_core::IUnknown); impl UsbDescriptor { pub fn Length(&self) -> ::windows_core::Result { @@ -1304,25 +1088,9 @@ impl UsbDescriptor { unsafe { (::windows_core::Interface::vtable(this).ReadDescriptorBuffer)(::windows_core::Interface::as_raw(this), buffer.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for UsbDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbDescriptor {} -impl ::core::fmt::Debug for UsbDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDescriptor;{0a89f216-5f9d-4874-8904-da9ad3f5528f})"); } -impl ::core::clone::Clone for UsbDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbDescriptor { type Vtable = IUsbDescriptor_Vtbl; } @@ -1337,6 +1105,7 @@ unsafe impl ::core::marker::Send for UsbDescriptor {} unsafe impl ::core::marker::Sync for UsbDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbDevice(::windows_core::IUnknown); impl UsbDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1457,25 +1226,9 @@ impl UsbDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbDevice {} -impl ::core::fmt::Debug for UsbDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDevice;{5249b992-c456-44d5-ad5e-24f5a089f63b})"); } -impl ::core::clone::Clone for UsbDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbDevice { type Vtable = IUsbDevice_Vtbl; } @@ -1492,6 +1245,7 @@ unsafe impl ::core::marker::Send for UsbDevice {} unsafe impl ::core::marker::Sync for UsbDevice {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbDeviceClass(::windows_core::IUnknown); impl UsbDeviceClass { pub fn new() -> ::windows_core::Result { @@ -1549,25 +1303,9 @@ impl UsbDeviceClass { unsafe { (::windows_core::Interface::vtable(this).SetProtocolCode)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for UsbDeviceClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbDeviceClass {} -impl ::core::fmt::Debug for UsbDeviceClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbDeviceClass").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbDeviceClass { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClass;{051942f9-845e-47eb-b12a-38f2f617afe7})"); } -impl ::core::clone::Clone for UsbDeviceClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbDeviceClass { type Vtable = IUsbDeviceClass_Vtbl; } @@ -1582,6 +1320,7 @@ unsafe impl ::core::marker::Send for UsbDeviceClass {} unsafe impl ::core::marker::Sync for UsbDeviceClass {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbDeviceClasses(::windows_core::IUnknown); impl UsbDeviceClasses { pub fn CdcControl() -> ::windows_core::Result { @@ -1644,25 +1383,9 @@ impl UsbDeviceClasses { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbDeviceClasses { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbDeviceClasses {} -impl ::core::fmt::Debug for UsbDeviceClasses { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbDeviceClasses").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbDeviceClasses { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceClasses;{686f955d-9b92-4b30-9781-c22c55ac35cb})"); } -impl ::core::clone::Clone for UsbDeviceClasses { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbDeviceClasses { type Vtable = IUsbDeviceClasses_Vtbl; } @@ -1677,6 +1400,7 @@ unsafe impl ::core::marker::Send for UsbDeviceClasses {} unsafe impl ::core::marker::Sync for UsbDeviceClasses {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbDeviceDescriptor(::windows_core::IUnknown); impl UsbDeviceDescriptor { pub fn BcdUsb(&self) -> ::windows_core::Result { @@ -1722,25 +1446,9 @@ impl UsbDeviceDescriptor { } } } -impl ::core::cmp::PartialEq for UsbDeviceDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbDeviceDescriptor {} -impl ::core::fmt::Debug for UsbDeviceDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbDeviceDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbDeviceDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbDeviceDescriptor;{1f48d1f6-ba97-4322-b92c-b5b189216588})"); } -impl ::core::clone::Clone for UsbDeviceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbDeviceDescriptor { type Vtable = IUsbDeviceDescriptor_Vtbl; } @@ -1755,6 +1463,7 @@ unsafe impl ::core::marker::Send for UsbDeviceDescriptor {} unsafe impl ::core::marker::Sync for UsbDeviceDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbEndpointDescriptor(::windows_core::IUnknown); impl UsbEndpointDescriptor { pub fn EndpointNumber(&self) -> ::windows_core::Result { @@ -1830,25 +1539,9 @@ impl UsbEndpointDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbEndpointDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbEndpointDescriptor {} -impl ::core::fmt::Debug for UsbEndpointDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbEndpointDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbEndpointDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbEndpointDescriptor;{6b4862d9-8df7-4b40-ac83-578f139f0575})"); } -impl ::core::clone::Clone for UsbEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbEndpointDescriptor { type Vtable = IUsbEndpointDescriptor_Vtbl; } @@ -1863,6 +1556,7 @@ unsafe impl ::core::marker::Send for UsbEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterface(::windows_core::IUnknown); impl UsbInterface { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1927,25 +1621,9 @@ impl UsbInterface { } } } -impl ::core::cmp::PartialEq for UsbInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterface {} -impl ::core::fmt::Debug for UsbInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterface;{a0322b95-7f47-48ab-a727-678c25be2112})"); } -impl ::core::clone::Clone for UsbInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterface { type Vtable = IUsbInterface_Vtbl; } @@ -1960,6 +1638,7 @@ unsafe impl ::core::marker::Send for UsbInterface {} unsafe impl ::core::marker::Sync for UsbInterface {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterfaceDescriptor(::windows_core::IUnknown); impl UsbInterfaceDescriptor { pub fn ClassCode(&self) -> ::windows_core::Result { @@ -2021,25 +1700,9 @@ impl UsbInterfaceDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbInterfaceDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterfaceDescriptor {} -impl ::core::fmt::Debug for UsbInterfaceDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterfaceDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterfaceDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceDescriptor;{199670c7-b7ee-4f90-8cd5-94a2e257598a})"); } -impl ::core::clone::Clone for UsbInterfaceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterfaceDescriptor { type Vtable = IUsbInterfaceDescriptor_Vtbl; } @@ -2054,6 +1717,7 @@ unsafe impl ::core::marker::Send for UsbInterfaceDescriptor {} unsafe impl ::core::marker::Sync for UsbInterfaceDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterfaceSetting(::windows_core::IUnknown); impl UsbInterfaceSetting { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2125,25 +1789,9 @@ impl UsbInterfaceSetting { } } } -impl ::core::cmp::PartialEq for UsbInterfaceSetting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterfaceSetting {} -impl ::core::fmt::Debug for UsbInterfaceSetting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterfaceSetting").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterfaceSetting { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterfaceSetting;{1827bba7-8da7-4af7-8f4c-7f3032e781f5})"); } -impl ::core::clone::Clone for UsbInterfaceSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterfaceSetting { type Vtable = IUsbInterfaceSetting_Vtbl; } @@ -2158,6 +1806,7 @@ unsafe impl ::core::marker::Send for UsbInterfaceSetting {} unsafe impl ::core::marker::Sync for UsbInterfaceSetting {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterruptInEndpointDescriptor(::windows_core::IUnknown); impl UsbInterruptInEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows_core::Result { @@ -2191,25 +1840,9 @@ impl UsbInterruptInEndpointDescriptor { } } } -impl ::core::cmp::PartialEq for UsbInterruptInEndpointDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterruptInEndpointDescriptor {} -impl ::core::fmt::Debug for UsbInterruptInEndpointDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterruptInEndpointDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterruptInEndpointDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEndpointDescriptor;{c0528967-c911-4c3a-86b2-419c2da89039})"); } -impl ::core::clone::Clone for UsbInterruptInEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterruptInEndpointDescriptor { type Vtable = IUsbInterruptInEndpointDescriptor_Vtbl; } @@ -2224,6 +1857,7 @@ unsafe impl ::core::marker::Send for UsbInterruptInEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbInterruptInEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterruptInEventArgs(::windows_core::IUnknown); impl UsbInterruptInEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2236,25 +1870,9 @@ impl UsbInterruptInEventArgs { } } } -impl ::core::cmp::PartialEq for UsbInterruptInEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterruptInEventArgs {} -impl ::core::fmt::Debug for UsbInterruptInEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterruptInEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterruptInEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInEventArgs;{b7b04092-1418-4936-8209-299cf5605583})"); } -impl ::core::clone::Clone for UsbInterruptInEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterruptInEventArgs { type Vtable = IUsbInterruptInEventArgs_Vtbl; } @@ -2269,6 +1887,7 @@ unsafe impl ::core::marker::Send for UsbInterruptInEventArgs {} unsafe impl ::core::marker::Sync for UsbInterruptInEventArgs {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterruptInPipe(::windows_core::IUnknown); impl UsbInterruptInPipe { pub fn EndpointDescriptor(&self) -> ::windows_core::Result { @@ -2306,25 +1925,9 @@ impl UsbInterruptInPipe { unsafe { (::windows_core::Interface::vtable(this).RemoveDataReceived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for UsbInterruptInPipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterruptInPipe {} -impl ::core::fmt::Debug for UsbInterruptInPipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterruptInPipe").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterruptInPipe { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptInPipe;{fa007116-84d7-48c7-8a3f-4c0b235f2ea6})"); } -impl ::core::clone::Clone for UsbInterruptInPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterruptInPipe { type Vtable = IUsbInterruptInPipe_Vtbl; } @@ -2339,6 +1942,7 @@ unsafe impl ::core::marker::Send for UsbInterruptInPipe {} unsafe impl ::core::marker::Sync for UsbInterruptInPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterruptOutEndpointDescriptor(::windows_core::IUnknown); impl UsbInterruptOutEndpointDescriptor { pub fn MaxPacketSize(&self) -> ::windows_core::Result { @@ -2372,25 +1976,9 @@ impl UsbInterruptOutEndpointDescriptor { } } } -impl ::core::cmp::PartialEq for UsbInterruptOutEndpointDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterruptOutEndpointDescriptor {} -impl ::core::fmt::Debug for UsbInterruptOutEndpointDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterruptOutEndpointDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterruptOutEndpointDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutEndpointDescriptor;{cc9fed81-10ca-4533-952d-9e278341e80f})"); } -impl ::core::clone::Clone for UsbInterruptOutEndpointDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterruptOutEndpointDescriptor { type Vtable = IUsbInterruptOutEndpointDescriptor_Vtbl; } @@ -2405,6 +1993,7 @@ unsafe impl ::core::marker::Send for UsbInterruptOutEndpointDescriptor {} unsafe impl ::core::marker::Sync for UsbInterruptOutEndpointDescriptor {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbInterruptOutPipe(::windows_core::IUnknown); impl UsbInterruptOutPipe { pub fn EndpointDescriptor(&self) -> ::windows_core::Result { @@ -2444,25 +2033,9 @@ impl UsbInterruptOutPipe { } } } -impl ::core::cmp::PartialEq for UsbInterruptOutPipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbInterruptOutPipe {} -impl ::core::fmt::Debug for UsbInterruptOutPipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbInterruptOutPipe").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbInterruptOutPipe { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbInterruptOutPipe;{e984c8a9-aaf9-49d0-b96c-f661ab4a7f95})"); } -impl ::core::clone::Clone for UsbInterruptOutPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbInterruptOutPipe { type Vtable = IUsbInterruptOutPipe_Vtbl; } @@ -2477,6 +2050,7 @@ unsafe impl ::core::marker::Send for UsbInterruptOutPipe {} unsafe impl ::core::marker::Sync for UsbInterruptOutPipe {} #[doc = "*Required features: `\"Devices_Usb\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UsbSetupPacket(::windows_core::IUnknown); impl UsbSetupPacket { pub fn new() -> ::windows_core::Result { @@ -2561,25 +2135,9 @@ impl UsbSetupPacket { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UsbSetupPacket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UsbSetupPacket {} -impl ::core::fmt::Debug for UsbSetupPacket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UsbSetupPacket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UsbSetupPacket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.Usb.UsbSetupPacket;{104ba132-c78f-4c51-b654-e49d02f2cb03})"); } -impl ::core::clone::Clone for UsbSetupPacket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UsbSetupPacket { type Vtable = IUsbSetupPacket_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index 7a68ddf0a9..b09e51ddd0 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiAdapter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiAdapter { type Vtable = IWiFiAdapter_Vtbl; } -impl ::core::clone::Clone for IWiFiAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6c4e423_3d75_43a4_b9de_11e26b72d9b0); } @@ -49,15 +45,11 @@ pub struct IWiFiAdapter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiAdapter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiAdapter2 { type Vtable = IWiFiAdapter2_Vtbl; } -impl ::core::clone::Clone for IWiFiAdapter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiAdapter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bc4501d_81e4_453d_9430_1fcafbadd6b6); } @@ -76,15 +68,11 @@ pub struct IWiFiAdapter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiAdapterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiAdapterStatics { type Vtable = IWiFiAdapterStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiAdapterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiAdapterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda25fddd_d24c_43e3_aabd_c4659f730f99); } @@ -108,15 +96,11 @@ pub struct IWiFiAdapterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiAvailableNetwork(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiAvailableNetwork { type Vtable = IWiFiAvailableNetwork_Vtbl; } -impl ::core::clone::Clone for IWiFiAvailableNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiAvailableNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26e96246_183e_4704_9826_71b4a2f0f668); } @@ -147,15 +131,11 @@ pub struct IWiFiAvailableNetwork_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiConnectionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiConnectionResult { type Vtable = IWiFiConnectionResult_Vtbl; } -impl ::core::clone::Clone for IWiFiConnectionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiConnectionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x143bdfd9_c37d_40be_a5c8_857bce85a931); } @@ -167,15 +147,11 @@ pub struct IWiFiConnectionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiNetworkReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiNetworkReport { type Vtable = IWiFiNetworkReport_Vtbl; } -impl ::core::clone::Clone for IWiFiNetworkReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiNetworkReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9524ded2_5911_445e_8194_be4f1a704895); } @@ -194,15 +170,11 @@ pub struct IWiFiNetworkReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiOnDemandHotspotConnectTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiOnDemandHotspotConnectTriggerDetails { type Vtable = IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IWiFiOnDemandHotspotConnectTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiOnDemandHotspotConnectTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa268eb58_68f5_59cf_8d38_35bf44b097ef); } @@ -220,15 +192,11 @@ pub struct IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiOnDemandHotspotConnectionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiOnDemandHotspotConnectionResult { type Vtable = IWiFiOnDemandHotspotConnectionResult_Vtbl; } -impl ::core::clone::Clone for IWiFiOnDemandHotspotConnectionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiOnDemandHotspotConnectionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x911794a1_6c82_5de3_8a4a_f9ff22a4957a); } @@ -240,15 +208,11 @@ pub struct IWiFiOnDemandHotspotConnectionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiOnDemandHotspotNetwork(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiOnDemandHotspotNetwork { type Vtable = IWiFiOnDemandHotspotNetwork_Vtbl; } -impl ::core::clone::Clone for IWiFiOnDemandHotspotNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiOnDemandHotspotNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18dc7115_a04e_507c_bbaf_b78369d29fa7); } @@ -262,15 +226,11 @@ pub struct IWiFiOnDemandHotspotNetwork_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiOnDemandHotspotNetworkProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiOnDemandHotspotNetworkProperties { type Vtable = IWiFiOnDemandHotspotNetworkProperties_Vtbl; } -impl ::core::clone::Clone for IWiFiOnDemandHotspotNetworkProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiOnDemandHotspotNetworkProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc810a1f2_c81d_5852_be50_e4bd4d81e98d); } @@ -313,15 +273,11 @@ pub struct IWiFiOnDemandHotspotNetworkProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiOnDemandHotspotNetworkStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiOnDemandHotspotNetworkStatics { type Vtable = IWiFiOnDemandHotspotNetworkStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiOnDemandHotspotNetworkStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiOnDemandHotspotNetworkStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f5b8ac_80e7_5054_871c_8739f374e3c9); } @@ -333,15 +289,11 @@ pub struct IWiFiOnDemandHotspotNetworkStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiWpsConfigurationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiWpsConfigurationResult { type Vtable = IWiFiWpsConfigurationResult_Vtbl; } -impl ::core::clone::Clone for IWiFiWpsConfigurationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiWpsConfigurationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67b49871_17ee_42d1_b14f_5a11f1226fb5); } @@ -357,6 +309,7 @@ pub struct IWiFiWpsConfigurationResult_Vtbl { } #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiAdapter(::windows_core::IUnknown); impl WiFiAdapter { #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -505,25 +458,9 @@ impl WiFiAdapter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiAdapter {} -impl ::core::fmt::Debug for WiFiAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiAdapter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiAdapter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAdapter;{a6c4e423-3d75-43a4-b9de-11e26b72d9b0})"); } -impl ::core::clone::Clone for WiFiAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiAdapter { type Vtable = IWiFiAdapter_Vtbl; } @@ -538,6 +475,7 @@ unsafe impl ::core::marker::Send for WiFiAdapter {} unsafe impl ::core::marker::Sync for WiFiAdapter {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiAvailableNetwork(::windows_core::IUnknown); impl WiFiAvailableNetwork { #[doc = "*Required features: `\"Foundation\"`*"] @@ -624,25 +562,9 @@ impl WiFiAvailableNetwork { } } } -impl ::core::cmp::PartialEq for WiFiAvailableNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiAvailableNetwork {} -impl ::core::fmt::Debug for WiFiAvailableNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiAvailableNetwork").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiAvailableNetwork { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiAvailableNetwork;{26e96246-183e-4704-9826-71b4a2f0f668})"); } -impl ::core::clone::Clone for WiFiAvailableNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiAvailableNetwork { type Vtable = IWiFiAvailableNetwork_Vtbl; } @@ -657,6 +579,7 @@ unsafe impl ::core::marker::Send for WiFiAvailableNetwork {} unsafe impl ::core::marker::Sync for WiFiAvailableNetwork {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiConnectionResult(::windows_core::IUnknown); impl WiFiConnectionResult { pub fn ConnectionStatus(&self) -> ::windows_core::Result { @@ -667,25 +590,9 @@ impl WiFiConnectionResult { } } } -impl ::core::cmp::PartialEq for WiFiConnectionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiConnectionResult {} -impl ::core::fmt::Debug for WiFiConnectionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiConnectionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiConnectionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiConnectionResult;{143bdfd9-c37d-40be-a5c8-857bce85a931})"); } -impl ::core::clone::Clone for WiFiConnectionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiConnectionResult { type Vtable = IWiFiConnectionResult_Vtbl; } @@ -700,6 +607,7 @@ unsafe impl ::core::marker::Send for WiFiConnectionResult {} unsafe impl ::core::marker::Sync for WiFiConnectionResult {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiNetworkReport(::windows_core::IUnknown); impl WiFiNetworkReport { #[doc = "*Required features: `\"Foundation\"`*"] @@ -721,25 +629,9 @@ impl WiFiNetworkReport { } } } -impl ::core::cmp::PartialEq for WiFiNetworkReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiNetworkReport {} -impl ::core::fmt::Debug for WiFiNetworkReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiNetworkReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiNetworkReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiNetworkReport;{9524ded2-5911-445e-8194-be4f1a704895})"); } -impl ::core::clone::Clone for WiFiNetworkReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiNetworkReport { type Vtable = IWiFiNetworkReport_Vtbl; } @@ -754,6 +646,7 @@ unsafe impl ::core::marker::Send for WiFiNetworkReport {} unsafe impl ::core::marker::Sync for WiFiNetworkReport {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotConnectTriggerDetails(::windows_core::IUnknown); impl WiFiOnDemandHotspotConnectTriggerDetails { pub fn RequestedNetwork(&self) -> ::windows_core::Result { @@ -784,25 +677,9 @@ impl WiFiOnDemandHotspotConnectTriggerDetails { } } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotConnectTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotConnectTriggerDetails {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotConnectTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotConnectTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectTriggerDetails;{a268eb58-68f5-59cf-8d38-35bf44b097ef})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotConnectTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotConnectTriggerDetails { type Vtable = IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl; } @@ -817,6 +694,7 @@ unsafe impl ::core::marker::Send for WiFiOnDemandHotspotConnectTriggerDetails {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotConnectTriggerDetails {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotConnectionResult(::windows_core::IUnknown); impl WiFiOnDemandHotspotConnectionResult { pub fn Status(&self) -> ::windows_core::Result { @@ -827,25 +705,9 @@ impl WiFiOnDemandHotspotConnectionResult { } } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotConnectionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotConnectionResult {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotConnectionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotConnectionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotConnectionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotConnectionResult;{911794a1-6c82-5de3-8a4a-f9ff22a4957a})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotConnectionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotConnectionResult { type Vtable = IWiFiOnDemandHotspotConnectionResult_Vtbl; } @@ -860,6 +722,7 @@ unsafe impl ::core::marker::Send for WiFiOnDemandHotspotConnectionResult {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotConnectionResult {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotNetwork(::windows_core::IUnknown); impl WiFiOnDemandHotspotNetwork { pub fn GetProperties(&self) -> ::windows_core::Result { @@ -895,25 +758,9 @@ impl WiFiOnDemandHotspotNetwork { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotNetwork {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotNetwork").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotNetwork { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetwork;{18dc7115-a04e-507c-bbaf-b78369d29fa7})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotNetwork { type Vtable = IWiFiOnDemandHotspotNetwork_Vtbl; } @@ -928,6 +775,7 @@ unsafe impl ::core::marker::Send for WiFiOnDemandHotspotNetwork {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotNetwork {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiOnDemandHotspotNetworkProperties(::windows_core::IUnknown); impl WiFiOnDemandHotspotNetworkProperties { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1029,25 +877,9 @@ impl WiFiOnDemandHotspotNetworkProperties { unsafe { (::windows_core::Interface::vtable(this).SetPassword)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for WiFiOnDemandHotspotNetworkProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiOnDemandHotspotNetworkProperties {} -impl ::core::fmt::Debug for WiFiOnDemandHotspotNetworkProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiOnDemandHotspotNetworkProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiOnDemandHotspotNetworkProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiOnDemandHotspotNetworkProperties;{c810a1f2-c81d-5852-be50-e4bd4d81e98d})"); } -impl ::core::clone::Clone for WiFiOnDemandHotspotNetworkProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiOnDemandHotspotNetworkProperties { type Vtable = IWiFiOnDemandHotspotNetworkProperties_Vtbl; } @@ -1062,6 +894,7 @@ unsafe impl ::core::marker::Send for WiFiOnDemandHotspotNetworkProperties {} unsafe impl ::core::marker::Sync for WiFiOnDemandHotspotNetworkProperties {} #[doc = "*Required features: `\"Devices_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiWpsConfigurationResult(::windows_core::IUnknown); impl WiFiWpsConfigurationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1081,25 +914,9 @@ impl WiFiWpsConfigurationResult { } } } -impl ::core::cmp::PartialEq for WiFiWpsConfigurationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiWpsConfigurationResult {} -impl ::core::fmt::Debug for WiFiWpsConfigurationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiWpsConfigurationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiWpsConfigurationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFi.WiFiWpsConfigurationResult;{67b49871-17ee-42d1-b14f-5a11f1226fb5})"); } -impl ::core::clone::Clone for WiFiWpsConfigurationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiWpsConfigurationResult { type Vtable = IWiFiWpsConfigurationResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs index 2534b2090f..2571d077c0 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectService { type Vtable = IWiFiDirectService_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50aabbb8_5f71_45ec_84f1_a1e4fc7879a3); } @@ -58,15 +54,11 @@ pub struct IWiFiDirectService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceAdvertiser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceAdvertiser { type Vtable = IWiFiDirectServiceAdvertiser_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceAdvertiser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceAdvertiser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4aa1ee1_9d8f_4f4f_93ee_7ddea2e37f46); } @@ -146,15 +138,11 @@ pub struct IWiFiDirectServiceAdvertiser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceAdvertiserFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceAdvertiserFactory { type Vtable = IWiFiDirectServiceAdvertiserFactory_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceAdvertiserFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceAdvertiserFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3106ac0d_b446_4f13_9f9a_8ae925feba2b); } @@ -166,15 +154,11 @@ pub struct IWiFiDirectServiceAdvertiserFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs { type Vtable = IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcd9e01e_83df_43e5_8f43_cbe8479e84eb); } @@ -190,15 +174,11 @@ pub struct IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceProvisioningInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceProvisioningInfo { type Vtable = IWiFiDirectServiceProvisioningInfo_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceProvisioningInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceProvisioningInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bdb7cfe_97d9_45a2_8e99_db50910fb6a6); } @@ -211,15 +191,11 @@ pub struct IWiFiDirectServiceProvisioningInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceRemotePortAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceRemotePortAddedEventArgs { type Vtable = IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceRemotePortAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceRemotePortAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4cebac1_3fd3_4f0e_b7bd_782906f44411); } @@ -235,15 +211,11 @@ pub struct IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceSession { type Vtable = IWiFiDirectServiceSession_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81142163_e426_47cb_8640_e1b3588bf26f); } @@ -289,15 +261,11 @@ pub struct IWiFiDirectServiceSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceSessionDeferredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceSessionDeferredEventArgs { type Vtable = IWiFiDirectServiceSessionDeferredEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceSessionDeferredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceSessionDeferredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dfc197f_1201_4f1f_b6f4_5df1b7b9fb2e); } @@ -312,15 +280,11 @@ pub struct IWiFiDirectServiceSessionDeferredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceSessionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceSessionRequest { type Vtable = IWiFiDirectServiceSessionRequest_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceSessionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceSessionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0e27c8b_50cb_4a58_9bcf_e472b99fba04); } @@ -340,15 +304,11 @@ pub struct IWiFiDirectServiceSessionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceSessionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceSessionRequestedEventArgs { type Vtable = IWiFiDirectServiceSessionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceSessionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceSessionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74bdcc11_53d6_4999_b4f8_6c8ecc1771e7); } @@ -360,15 +320,11 @@ pub struct IWiFiDirectServiceSessionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectServiceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectServiceStatics { type Vtable = IWiFiDirectServiceStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectServiceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectServiceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7db40045_fd74_4688_b725_5dce86acf233); } @@ -388,6 +344,7 @@ pub struct IWiFiDirectServiceStatics_Vtbl { } #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectService(::windows_core::IUnknown); impl WiFiDirectService { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -520,25 +477,9 @@ impl WiFiDirectService { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiDirectService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectService {} -impl ::core::fmt::Debug for WiFiDirectService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectService;{50aabbb8-5f71-45ec-84f1-a1e4fc7879a3})"); } -impl ::core::clone::Clone for WiFiDirectService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectService { type Vtable = IWiFiDirectService_Vtbl; } @@ -553,6 +494,7 @@ unsafe impl ::core::marker::Send for WiFiDirectService {} unsafe impl ::core::marker::Sync for WiFiDirectService {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceAdvertiser(::windows_core::IUnknown); impl WiFiDirectServiceAdvertiser { pub fn ServiceName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -772,25 +714,9 @@ impl WiFiDirectServiceAdvertiser { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiDirectServiceAdvertiser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceAdvertiser {} -impl ::core::fmt::Debug for WiFiDirectServiceAdvertiser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceAdvertiser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceAdvertiser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser;{a4aa1ee1-9d8f-4f4f-93ee-7ddea2e37f46})"); } -impl ::core::clone::Clone for WiFiDirectServiceAdvertiser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceAdvertiser { type Vtable = IWiFiDirectServiceAdvertiser_Vtbl; } @@ -805,6 +731,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceAdvertiser {} unsafe impl ::core::marker::Sync for WiFiDirectServiceAdvertiser {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceAutoAcceptSessionConnectedEventArgs(::windows_core::IUnknown); impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { pub fn Session(&self) -> ::windows_core::Result { @@ -824,25 +751,9 @@ impl WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs {} -impl ::core::fmt::Debug for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceAutoAcceptSessionConnectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAutoAcceptSessionConnectedEventArgs;{dcd9e01e-83df-43e5-8f43-cbe8479e84eb})"); } -impl ::core::clone::Clone for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs { type Vtable = IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl; } @@ -857,6 +768,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceAutoAcceptSessionConnected unsafe impl ::core::marker::Sync for WiFiDirectServiceAutoAcceptSessionConnectedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceProvisioningInfo(::windows_core::IUnknown); impl WiFiDirectServiceProvisioningInfo { pub fn SelectedConfigurationMethod(&self) -> ::windows_core::Result { @@ -874,25 +786,9 @@ impl WiFiDirectServiceProvisioningInfo { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceProvisioningInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceProvisioningInfo {} -impl ::core::fmt::Debug for WiFiDirectServiceProvisioningInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceProvisioningInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceProvisioningInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceProvisioningInfo;{8bdb7cfe-97d9-45a2-8e99-db50910fb6a6})"); } -impl ::core::clone::Clone for WiFiDirectServiceProvisioningInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceProvisioningInfo { type Vtable = IWiFiDirectServiceProvisioningInfo_Vtbl; } @@ -907,6 +803,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceProvisioningInfo {} unsafe impl ::core::marker::Sync for WiFiDirectServiceProvisioningInfo {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceRemotePortAddedEventArgs(::windows_core::IUnknown); impl WiFiDirectServiceRemotePortAddedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Networking\"`*"] @@ -926,25 +823,9 @@ impl WiFiDirectServiceRemotePortAddedEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceRemotePortAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceRemotePortAddedEventArgs {} -impl ::core::fmt::Debug for WiFiDirectServiceRemotePortAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceRemotePortAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceRemotePortAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceRemotePortAddedEventArgs;{d4cebac1-3fd3-4f0e-b7bd-782906f44411})"); } -impl ::core::clone::Clone for WiFiDirectServiceRemotePortAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceRemotePortAddedEventArgs { type Vtable = IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl; } @@ -959,6 +840,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceRemotePortAddedEventArgs { unsafe impl ::core::marker::Sync for WiFiDirectServiceRemotePortAddedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceSession(::windows_core::IUnknown); impl WiFiDirectServiceSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1086,25 +968,9 @@ impl WiFiDirectServiceSession { unsafe { (::windows_core::Interface::vtable(this).RemoveRemotePortAdded)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceSession {} -impl ::core::fmt::Debug for WiFiDirectServiceSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSession;{81142163-e426-47cb-8640-e1b3588bf26f})"); } -impl ::core::clone::Clone for WiFiDirectServiceSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceSession { type Vtable = IWiFiDirectServiceSession_Vtbl; } @@ -1121,6 +987,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceSession {} unsafe impl ::core::marker::Sync for WiFiDirectServiceSession {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceSessionDeferredEventArgs(::windows_core::IUnknown); impl WiFiDirectServiceSessionDeferredEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1133,25 +1000,9 @@ impl WiFiDirectServiceSessionDeferredEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceSessionDeferredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceSessionDeferredEventArgs {} -impl ::core::fmt::Debug for WiFiDirectServiceSessionDeferredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceSessionDeferredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceSessionDeferredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionDeferredEventArgs;{8dfc197f-1201-4f1f-b6f4-5df1b7b9fb2e})"); } -impl ::core::clone::Clone for WiFiDirectServiceSessionDeferredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceSessionDeferredEventArgs { type Vtable = IWiFiDirectServiceSessionDeferredEventArgs_Vtbl; } @@ -1166,6 +1017,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceSessionDeferredEventArgs { unsafe impl ::core::marker::Sync for WiFiDirectServiceSessionDeferredEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceSessionRequest(::windows_core::IUnknown); impl WiFiDirectServiceSessionRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1200,25 +1052,9 @@ impl WiFiDirectServiceSessionRequest { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceSessionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceSessionRequest {} -impl ::core::fmt::Debug for WiFiDirectServiceSessionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceSessionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceSessionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequest;{a0e27c8b-50cb-4a58-9bcf-e472b99fba04})"); } -impl ::core::clone::Clone for WiFiDirectServiceSessionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceSessionRequest { type Vtable = IWiFiDirectServiceSessionRequest_Vtbl; } @@ -1235,6 +1071,7 @@ unsafe impl ::core::marker::Send for WiFiDirectServiceSessionRequest {} unsafe impl ::core::marker::Sync for WiFiDirectServiceSessionRequest {} #[doc = "*Required features: `\"Devices_WiFiDirect_Services\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectServiceSessionRequestedEventArgs(::windows_core::IUnknown); impl WiFiDirectServiceSessionRequestedEventArgs { pub fn GetSessionRequest(&self) -> ::windows_core::Result { @@ -1245,25 +1082,9 @@ impl WiFiDirectServiceSessionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectServiceSessionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectServiceSessionRequestedEventArgs {} -impl ::core::fmt::Debug for WiFiDirectServiceSessionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectServiceSessionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectServiceSessionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionRequestedEventArgs;{74bdcc11-53d6-4999-b4f8-6c8ecc1771e7})"); } -impl ::core::clone::Clone for WiFiDirectServiceSessionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectServiceSessionRequestedEventArgs { type Vtable = IWiFiDirectServiceSessionRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index a9029a2c04..f7bdfc7836 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -2,15 +2,11 @@ pub mod Services; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectAdvertisement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectAdvertisement { type Vtable = IWiFiDirectAdvertisement_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectAdvertisement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectAdvertisement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab511a2d_2a06_49a1_a584_61435c7905a6); } @@ -34,15 +30,11 @@ pub struct IWiFiDirectAdvertisement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectAdvertisement2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectAdvertisement2 { type Vtable = IWiFiDirectAdvertisement2_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectAdvertisement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectAdvertisement2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb759aa46_d816_491b_917a_b40d7dc403a2); } @@ -57,15 +49,11 @@ pub struct IWiFiDirectAdvertisement2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectAdvertisementPublisher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectAdvertisementPublisher { type Vtable = IWiFiDirectAdvertisementPublisher_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectAdvertisementPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectAdvertisementPublisher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb35a2d1a_9b1f_45d9_925a_694d66df68ef); } @@ -88,15 +76,11 @@ pub struct IWiFiDirectAdvertisementPublisher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectAdvertisementPublisherStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectAdvertisementPublisherStatusChangedEventArgs { type Vtable = IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectAdvertisementPublisherStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectAdvertisementPublisherStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaafde53c_5481_46e6_90dd_32116518f192); } @@ -109,15 +93,11 @@ pub struct IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionListener { type Vtable = IWiFiDirectConnectionListener_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x699c1b0d_8d13_4ee9_b9ec_9c72f8251f7d); } @@ -136,15 +116,11 @@ pub struct IWiFiDirectConnectionListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionParameters { type Vtable = IWiFiDirectConnectionParameters_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2e55405_5702_4b16_a02c_bbcd21ef6098); } @@ -157,15 +133,11 @@ pub struct IWiFiDirectConnectionParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionParameters2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionParameters2 { type Vtable = IWiFiDirectConnectionParameters2_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionParameters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionParameters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab3b0fbe_aa82_44b4_88c8_e3056b89801d); } @@ -182,15 +154,11 @@ pub struct IWiFiDirectConnectionParameters2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionParametersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionParametersStatics { type Vtable = IWiFiDirectConnectionParametersStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionParametersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionParametersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x598af493_7642_456f_b9d8_e8a9eb1f401a); } @@ -205,15 +173,11 @@ pub struct IWiFiDirectConnectionParametersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionRequest { type Vtable = IWiFiDirectConnectionRequest_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8eb99605_914f_49c3_a614_d18dc5b19b43); } @@ -228,15 +192,11 @@ pub struct IWiFiDirectConnectionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectConnectionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectConnectionRequestedEventArgs { type Vtable = IWiFiDirectConnectionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectConnectionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf99d20be_d38d_484f_8215_e7b65abf244c); } @@ -248,15 +208,11 @@ pub struct IWiFiDirectConnectionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectDevice { type Vtable = IWiFiDirectDevice_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72deaaa8_72eb_4dae_8a28_8513355d2777); } @@ -281,15 +237,11 @@ pub struct IWiFiDirectDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectDeviceStatics { type Vtable = IWiFiDirectDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe86cb57c_3aac_4851_a792_482aaf931b04); } @@ -305,15 +257,11 @@ pub struct IWiFiDirectDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectDeviceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectDeviceStatics2 { type Vtable = IWiFiDirectDeviceStatics2_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectDeviceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectDeviceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a953e49_b103_437e_9226_ab67971342f9); } @@ -329,15 +277,11 @@ pub struct IWiFiDirectDeviceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectInformationElement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectInformationElement { type Vtable = IWiFiDirectInformationElement_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectInformationElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectInformationElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaffb72d6_76bb_497e_ac8b_dc72838bc309); } @@ -366,15 +310,11 @@ pub struct IWiFiDirectInformationElement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectInformationElementStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectInformationElementStatics { type Vtable = IWiFiDirectInformationElementStatics_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectInformationElementStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectInformationElementStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbd02f16_11a5_4e60_8caa_34772148378a); } @@ -393,15 +333,11 @@ pub struct IWiFiDirectInformationElementStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiFiDirectLegacySettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWiFiDirectLegacySettings { type Vtable = IWiFiDirectLegacySettings_Vtbl; } -impl ::core::clone::Clone for IWiFiDirectLegacySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiFiDirectLegacySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa64fdbba_f2fd_4567_a91b_f5c2f5321057); } @@ -424,6 +360,7 @@ pub struct IWiFiDirectLegacySettings_Vtbl { } #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectAdvertisement(::windows_core::IUnknown); impl WiFiDirectAdvertisement { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -483,25 +420,9 @@ impl WiFiDirectAdvertisement { } } } -impl ::core::cmp::PartialEq for WiFiDirectAdvertisement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectAdvertisement {} -impl ::core::fmt::Debug for WiFiDirectAdvertisement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectAdvertisement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectAdvertisement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisement;{ab511a2d-2a06-49a1-a584-61435c7905a6})"); } -impl ::core::clone::Clone for WiFiDirectAdvertisement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectAdvertisement { type Vtable = IWiFiDirectAdvertisement_Vtbl; } @@ -516,6 +437,7 @@ unsafe impl ::core::marker::Send for WiFiDirectAdvertisement {} unsafe impl ::core::marker::Sync for WiFiDirectAdvertisement {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectAdvertisementPublisher(::windows_core::IUnknown); impl WiFiDirectAdvertisementPublisher { pub fn new() -> ::windows_core::Result { @@ -566,25 +488,9 @@ impl WiFiDirectAdvertisementPublisher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WiFiDirectAdvertisementPublisher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectAdvertisementPublisher {} -impl ::core::fmt::Debug for WiFiDirectAdvertisementPublisher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectAdvertisementPublisher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectAdvertisementPublisher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisher;{b35a2d1a-9b1f-45d9-925a-694d66df68ef})"); } -impl ::core::clone::Clone for WiFiDirectAdvertisementPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectAdvertisementPublisher { type Vtable = IWiFiDirectAdvertisementPublisher_Vtbl; } @@ -599,6 +505,7 @@ unsafe impl ::core::marker::Send for WiFiDirectAdvertisementPublisher {} unsafe impl ::core::marker::Sync for WiFiDirectAdvertisementPublisher {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectAdvertisementPublisherStatusChangedEventArgs(::windows_core::IUnknown); impl WiFiDirectAdvertisementPublisherStatusChangedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -616,25 +523,9 @@ impl WiFiDirectAdvertisementPublisherStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectAdvertisementPublisherStatusChangedEventArgs {} -impl ::core::fmt::Debug for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectAdvertisementPublisherStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectAdvertisementPublisherStatusChangedEventArgs;{aafde53c-5481-46e6-90dd-32116518f192})"); } -impl ::core::clone::Clone for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectAdvertisementPublisherStatusChangedEventArgs { type Vtable = IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl; } @@ -649,6 +540,7 @@ unsafe impl ::core::marker::Send for WiFiDirectAdvertisementPublisherStatusChang unsafe impl ::core::marker::Sync for WiFiDirectAdvertisementPublisherStatusChangedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectConnectionListener(::windows_core::IUnknown); impl WiFiDirectConnectionListener { pub fn new() -> ::windows_core::Result { @@ -677,25 +569,9 @@ impl WiFiDirectConnectionListener { unsafe { (::windows_core::Interface::vtable(this).RemoveConnectionRequested)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WiFiDirectConnectionListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectConnectionListener {} -impl ::core::fmt::Debug for WiFiDirectConnectionListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectConnectionListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectConnectionListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionListener;{699c1b0d-8d13-4ee9-b9ec-9c72f8251f7d})"); } -impl ::core::clone::Clone for WiFiDirectConnectionListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectConnectionListener { type Vtable = IWiFiDirectConnectionListener_Vtbl; } @@ -710,6 +586,7 @@ unsafe impl ::core::marker::Send for WiFiDirectConnectionListener {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionListener {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectConnectionParameters(::windows_core::IUnknown); impl WiFiDirectConnectionParameters { pub fn new() -> ::windows_core::Result { @@ -764,25 +641,9 @@ impl WiFiDirectConnectionParameters { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiDirectConnectionParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectConnectionParameters {} -impl ::core::fmt::Debug for WiFiDirectConnectionParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectConnectionParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectConnectionParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionParameters;{b2e55405-5702-4b16-a02c-bbcd21ef6098})"); } -impl ::core::clone::Clone for WiFiDirectConnectionParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectConnectionParameters { type Vtable = IWiFiDirectConnectionParameters_Vtbl; } @@ -799,6 +660,7 @@ unsafe impl ::core::marker::Send for WiFiDirectConnectionParameters {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionParameters {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectConnectionRequest(::windows_core::IUnknown); impl WiFiDirectConnectionRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -817,25 +679,9 @@ impl WiFiDirectConnectionRequest { } } } -impl ::core::cmp::PartialEq for WiFiDirectConnectionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectConnectionRequest {} -impl ::core::fmt::Debug for WiFiDirectConnectionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectConnectionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectConnectionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequest;{8eb99605-914f-49c3-a614-d18dc5b19b43})"); } -impl ::core::clone::Clone for WiFiDirectConnectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectConnectionRequest { type Vtable = IWiFiDirectConnectionRequest_Vtbl; } @@ -852,6 +698,7 @@ unsafe impl ::core::marker::Send for WiFiDirectConnectionRequest {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionRequest {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectConnectionRequestedEventArgs(::windows_core::IUnknown); impl WiFiDirectConnectionRequestedEventArgs { pub fn GetConnectionRequest(&self) -> ::windows_core::Result { @@ -862,25 +709,9 @@ impl WiFiDirectConnectionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WiFiDirectConnectionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectConnectionRequestedEventArgs {} -impl ::core::fmt::Debug for WiFiDirectConnectionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectConnectionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectConnectionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectConnectionRequestedEventArgs;{f99d20be-d38d-484f-8215-e7b65abf244c})"); } -impl ::core::clone::Clone for WiFiDirectConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectConnectionRequestedEventArgs { type Vtable = IWiFiDirectConnectionRequestedEventArgs_Vtbl; } @@ -895,6 +726,7 @@ unsafe impl ::core::marker::Send for WiFiDirectConnectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for WiFiDirectConnectionRequestedEventArgs {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectDevice(::windows_core::IUnknown); impl WiFiDirectDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -986,25 +818,9 @@ impl WiFiDirectDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiDirectDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectDevice {} -impl ::core::fmt::Debug for WiFiDirectDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectDevice;{72deaaa8-72eb-4dae-8a28-8513355d2777})"); } -impl ::core::clone::Clone for WiFiDirectDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectDevice { type Vtable = IWiFiDirectDevice_Vtbl; } @@ -1021,6 +837,7 @@ unsafe impl ::core::marker::Send for WiFiDirectDevice {} unsafe impl ::core::marker::Sync for WiFiDirectDevice {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectInformationElement(::windows_core::IUnknown); impl WiFiDirectInformationElement { pub fn new() -> ::windows_core::Result { @@ -1105,25 +922,9 @@ impl WiFiDirectInformationElement { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WiFiDirectInformationElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectInformationElement {} -impl ::core::fmt::Debug for WiFiDirectInformationElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectInformationElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectInformationElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectInformationElement;{affb72d6-76bb-497e-ac8b-dc72838bc309})"); } -impl ::core::clone::Clone for WiFiDirectInformationElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectInformationElement { type Vtable = IWiFiDirectInformationElement_Vtbl; } @@ -1138,6 +939,7 @@ unsafe impl ::core::marker::Send for WiFiDirectInformationElement {} unsafe impl ::core::marker::Sync for WiFiDirectInformationElement {} #[doc = "*Required features: `\"Devices_WiFiDirect\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WiFiDirectLegacySettings(::windows_core::IUnknown); impl WiFiDirectLegacySettings { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1181,25 +983,9 @@ impl WiFiDirectLegacySettings { unsafe { (::windows_core::Interface::vtable(this).SetPassphrase)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for WiFiDirectLegacySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WiFiDirectLegacySettings {} -impl ::core::fmt::Debug for WiFiDirectLegacySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WiFiDirectLegacySettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WiFiDirectLegacySettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.WiFiDirect.WiFiDirectLegacySettings;{a64fdbba-f2fd-4567-a91b-f5c2f5321057})"); } -impl ::core::clone::Clone for WiFiDirectLegacySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WiFiDirectLegacySettings { type Vtable = IWiFiDirectLegacySettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Devices/impl.rs b/crates/libs/windows/src/Windows/Devices/impl.rs index e8edae9c9b..d4ac0d925b 100644 --- a/crates/libs/windows/src/Windows/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/impl.rs @@ -83,7 +83,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { SpiControllerProvider: SpiControllerProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index aab9efd674..c8a780b088 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -58,6 +58,7 @@ pub mod WiFi; pub mod WiFiDirect; #[doc = "*Required features: `\"Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLevelDevicesAggregateProvider(::windows_core::IUnknown); impl ILowLevelDevicesAggregateProvider { #[doc = "*Required features: `\"Devices_Adc_Provider\"`*"] @@ -107,28 +108,12 @@ impl ILowLevelDevicesAggregateProvider { } } ::windows_core::imp::interface_hierarchy!(ILowLevelDevicesAggregateProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILowLevelDevicesAggregateProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILowLevelDevicesAggregateProvider {} -impl ::core::fmt::Debug for ILowLevelDevicesAggregateProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILowLevelDevicesAggregateProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILowLevelDevicesAggregateProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a73e561c-aac1-4ec7-a852-479f7060d01f}"); } unsafe impl ::windows_core::Interface for ILowLevelDevicesAggregateProvider { type Vtable = ILowLevelDevicesAggregateProvider_Vtbl; } -impl ::core::clone::Clone for ILowLevelDevicesAggregateProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLevelDevicesAggregateProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa73e561c_aac1_4ec7_a852_479f7060d01f); } @@ -159,15 +144,11 @@ pub struct ILowLevelDevicesAggregateProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLevelDevicesAggregateProviderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLevelDevicesAggregateProviderFactory { type Vtable = ILowLevelDevicesAggregateProviderFactory_Vtbl; } -impl ::core::clone::Clone for ILowLevelDevicesAggregateProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLevelDevicesAggregateProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ac4aaf6_3473_465e_96d5_36281a2c57af); } @@ -182,15 +163,11 @@ pub struct ILowLevelDevicesAggregateProviderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLevelDevicesController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLevelDevicesController { type Vtable = ILowLevelDevicesController_Vtbl; } -impl ::core::clone::Clone for ILowLevelDevicesController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLevelDevicesController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ec23dd4_179b_45de_9b39_3ae02527de52); } @@ -201,15 +178,11 @@ pub struct ILowLevelDevicesController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLevelDevicesControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLevelDevicesControllerStatics { type Vtable = ILowLevelDevicesControllerStatics_Vtbl; } -impl ::core::clone::Clone for ILowLevelDevicesControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLevelDevicesControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x093e926a_fccb_4394_a697_19de637c2db3); } @@ -222,6 +195,7 @@ pub struct ILowLevelDevicesControllerStatics_Vtbl { } #[doc = "*Required features: `\"Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLevelDevicesAggregateProvider(::windows_core::IUnknown); impl LowLevelDevicesAggregateProvider { #[doc = "*Required features: `\"Devices_Adc_Provider\"`*"] @@ -290,25 +264,9 @@ impl LowLevelDevicesAggregateProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LowLevelDevicesAggregateProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLevelDevicesAggregateProvider {} -impl ::core::fmt::Debug for LowLevelDevicesAggregateProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLevelDevicesAggregateProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLevelDevicesAggregateProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesAggregateProvider;{a73e561c-aac1-4ec7-a852-479f7060d01f})"); } -impl ::core::clone::Clone for LowLevelDevicesAggregateProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLevelDevicesAggregateProvider { type Vtable = ILowLevelDevicesAggregateProvider_Vtbl; } @@ -324,6 +282,7 @@ unsafe impl ::core::marker::Send for LowLevelDevicesAggregateProvider {} unsafe impl ::core::marker::Sync for LowLevelDevicesAggregateProvider {} #[doc = "*Required features: `\"Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLevelDevicesController(::windows_core::IUnknown); impl LowLevelDevicesController { pub fn DefaultProvider() -> ::windows_core::Result { @@ -344,25 +303,9 @@ impl LowLevelDevicesController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LowLevelDevicesController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLevelDevicesController {} -impl ::core::fmt::Debug for LowLevelDevicesController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLevelDevicesController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLevelDevicesController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Devices.LowLevelDevicesController;{2ec23dd4-179b-45de-9b39-3ae02527de52})"); } -impl ::core::clone::Clone for LowLevelDevicesController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLevelDevicesController { type Vtable = ILowLevelDevicesController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs index 19df4b942d..6ebd80bb57 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceLockdownProfileInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceLockdownProfileInformation { type Vtable = IDeviceLockdownProfileInformation_Vtbl; } -impl ::core::clone::Clone for IDeviceLockdownProfileInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceLockdownProfileInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7980e14e_45b1_4a96_92fc_62756b739678); } @@ -20,15 +16,11 @@ pub struct IDeviceLockdownProfileInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceLockdownProfileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeviceLockdownProfileStatics { type Vtable = IDeviceLockdownProfileStatics_Vtbl; } -impl ::core::clone::Clone for IDeviceLockdownProfileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceLockdownProfileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x622f6965_f9a8_41a1_a691_88cd80c7a069); } @@ -89,6 +81,7 @@ impl ::windows_core::RuntimeName for DeviceLockdownProfile { } #[doc = "*Required features: `\"Embedded_DeviceLockdown\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceLockdownProfileInformation(::windows_core::IUnknown); impl DeviceLockdownProfileInformation { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -99,25 +92,9 @@ impl DeviceLockdownProfileInformation { } } } -impl ::core::cmp::PartialEq for DeviceLockdownProfileInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceLockdownProfileInformation {} -impl ::core::fmt::Debug for DeviceLockdownProfileInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceLockdownProfileInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeviceLockdownProfileInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Embedded.DeviceLockdown.DeviceLockdownProfileInformation;{7980e14e-45b1-4a96-92fc-62756b739678})"); } -impl ::core::clone::Clone for DeviceLockdownProfileInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeviceLockdownProfileInformation { type Vtable = IDeviceLockdownProfileInformation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index 45d188f2c3..6a45952ecc 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -28,8 +28,8 @@ impl IIterable_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -101,8 +101,8 @@ impl IIterator_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IMapChangedEventArgs_Vtbl { K: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IObservableVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IPropertySet_Vtbl { pub const fn new, Impl: IPropertySet_Impl, const OFFSET: isize>() -> IPropertySet_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl IVectorChangedEventArgs_Vtbl { Index: Index::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IVectorView_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[::windows_implement::implement(IIterable)] diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index 3a6ff0ef9a..8f818e0398 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterable(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -14,17 +15,6 @@ impl IIterable { } impl ::windows_core::CanInto<::windows_core::IUnknown> for IIterable {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IIterable {} -impl ::core::cmp::PartialEq for IIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterable {} -impl ::core::fmt::Debug for IIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{faa585ea-6214-4217-afda-7f46de5869b3}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -45,11 +35,6 @@ impl ::core::iter::IntoIterator for &IIterable ::windows_core::Interface for IIterable { type Vtable = IIterable_Vtbl; } -impl ::core::clone::Clone for IIterable { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -65,6 +50,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterator(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -100,17 +86,6 @@ impl IIterator { } impl ::windows_core::CanInto<::windows_core::IUnknown> for IIterator {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IIterator {} -impl ::core::cmp::PartialEq for IIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterator {} -impl ::core::fmt::Debug for IIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{6a79e863-4300-459a-9966-cbb660963ee1}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -127,11 +102,6 @@ impl ::core::iter::Iterator for IIterator { unsafe impl ::windows_core::Interface for IIterator { type Vtable = IIterator_Vtbl; } -impl ::core::clone::Clone for IIterator { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -150,6 +120,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyValuePair(::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static, @@ -172,28 +143,12 @@ impl ::windows_core::CanInto<::windows_core::IUnknown> for IKeyValuePair {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IKeyValuePair {} -impl ::core::cmp::PartialEq for IKeyValuePair { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKeyValuePair {} -impl ::core::fmt::Debug for IKeyValuePair { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKeyValuePair").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IKeyValuePair { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{02b51929-c1c4-4a7e-8940-0312b5c18500}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IKeyValuePair { type Vtable = IKeyValuePair_Vtbl; } -impl ::core::clone::Clone for IKeyValuePair { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IKeyValuePair { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -212,6 +167,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMap(::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static, @@ -284,17 +240,6 @@ impl ::windows_core::CanInto<::windows_core::IUnknown> for IMap {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IMap {} impl ::windows_core::CanTryInto>> for IMap {} -impl ::core::cmp::PartialEq for IMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMap {} -impl ::core::fmt::Debug for IMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{3c2925fe-8519-45c1-aa79-197b6718c1c1}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -315,11 +260,6 @@ impl ::windows_core::Interface for IMap { type Vtable = IMap_Vtbl; } -impl ::core::clone::Clone for IMap { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -343,6 +283,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapChangedEventArgs(::windows_core::IUnknown, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static; @@ -364,28 +305,12 @@ impl IMapChangedEventArgs { } impl ::windows_core::CanInto<::windows_core::IUnknown> for IMapChangedEventArgs {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IMapChangedEventArgs {} -impl ::core::cmp::PartialEq for IMapChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMapChangedEventArgs {} -impl ::core::fmt::Debug for IMapChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMapChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9939f4df-050a-4c0f-aa60-77075f9c4777}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IMapChangedEventArgs { type Vtable = IMapChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMapChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IMapChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -402,6 +327,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapView(::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static, @@ -449,17 +375,6 @@ impl ::windows_core::CanInto<::windows_core::IUnknown> for IMapView {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IMapView {} impl ::windows_core::CanTryInto>> for IMapView {} -impl ::core::cmp::PartialEq for IMapView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMapView {} -impl ::core::fmt::Debug for IMapView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMapView { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{e480ce40-a338-4ada-adcf-272272e48cb9}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -480,11 +395,6 @@ impl ::windows_core::Interface for IMapView { type Vtable = IMapView_Vtbl; } -impl ::core::clone::Clone for IMapView { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IMapView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -505,6 +415,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObservableMap(::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static, @@ -592,17 +503,6 @@ impl ::windows_core::CanInto<::windows_core::IInspectable> for IObservableMap {} impl ::windows_core::CanTryInto>> for IObservableMap {} impl ::windows_core::CanTryInto> for IObservableMap {} -impl ::core::cmp::PartialEq for IObservableMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObservableMap {} -impl ::core::fmt::Debug for IObservableMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObservableMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IObservableMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{65df2bf5-bf39-41b5-aebc-5a9d865e472b}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -623,11 +523,6 @@ impl ::windows_core::Interface for IObservableMap { type Vtable = IObservableMap_Vtbl; } -impl ::core::clone::Clone for IObservableMap { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IObservableMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -646,6 +541,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObservableVector(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -751,17 +647,6 @@ impl ::windows_core::CanInto<::windows impl ::windows_core::CanInto<::windows_core::IInspectable> for IObservableVector {} impl ::windows_core::CanTryInto> for IObservableVector {} impl ::windows_core::CanTryInto> for IObservableVector {} -impl ::core::cmp::PartialEq for IObservableVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObservableVector {} -impl ::core::fmt::Debug for IObservableVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObservableVector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IObservableVector { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{5917eb53-50b4-4a0d-b309-65862b3f1dbc}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -782,11 +667,6 @@ impl ::core::iter::IntoIterator for &I unsafe impl ::windows_core::Interface for IObservableVector { type Vtable = IObservableVector_Vtbl; } -impl ::core::clone::Clone for IObservableVector { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IObservableVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -803,6 +683,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySet(::windows_core::IUnknown); impl IPropertySet { pub fn First(&self) -> ::windows_core::Result>> { @@ -877,17 +758,6 @@ impl IPropertySet { impl ::windows_core::CanTryInto>> for IPropertySet {} impl ::windows_core::CanTryInto> for IPropertySet {} impl ::windows_core::CanTryInto> for IPropertySet {} -impl ::core::cmp::PartialEq for IPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySet {} -impl ::core::fmt::Debug for IPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8a43ed9f-f4e6-4421-acf9-1dab2986820c}"); } @@ -908,11 +778,6 @@ impl ::core::iter::IntoIterator for &IPropertySet { unsafe impl ::windows_core::Interface for IPropertySet { type Vtable = IPropertySet_Vtbl; } -impl ::core::clone::Clone for IPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a43ed9f_f4e6_4421_acf9_1dab2986820c); } @@ -923,6 +788,7 @@ pub struct IPropertySet_Vtbl { } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1013,17 +879,6 @@ impl IVector { impl ::windows_core::CanInto<::windows_core::IUnknown> for IVector {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IVector {} impl ::windows_core::CanTryInto> for IVector {} -impl ::core::cmp::PartialEq for IVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVector {} -impl ::core::fmt::Debug for IVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVector { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{913337e9-11a1-4345-a3a2-4e7f956e222d}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -1062,11 +917,6 @@ impl ::core::iter::IntoIterator for &IVector unsafe impl ::windows_core::Interface for IVector { type Vtable = IVector_Vtbl; } -impl ::core::clone::Clone for IVector { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -1093,6 +943,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVectorChangedEventArgs(::windows_core::IUnknown); impl IVectorChangedEventArgs { pub fn CollectionChange(&self) -> ::windows_core::Result { @@ -1111,28 +962,12 @@ impl IVectorChangedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IVectorChangedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVectorChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVectorChangedEventArgs {} -impl ::core::fmt::Debug for IVectorChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVectorChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVectorChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{575933df-34fe-4480-af15-07691f3d5d9b}"); } unsafe impl ::windows_core::Interface for IVectorChangedEventArgs { type Vtable = IVectorChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVectorChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVectorChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x575933df_34fe_4480_af15_07691f3d5d9b); } @@ -1145,6 +980,7 @@ pub struct IVectorChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVectorView(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1191,17 +1027,6 @@ impl IVectorView { impl ::windows_core::CanInto<::windows_core::IUnknown> for IVectorView {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IVectorView {} impl ::windows_core::CanTryInto> for IVectorView {} -impl ::core::cmp::PartialEq for IVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVectorView {} -impl ::core::fmt::Debug for IVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVectorView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -1240,11 +1065,6 @@ impl ::core::iter::IntoIterator for &IVectorView unsafe impl ::windows_core::Interface for IVectorView { type Vtable = IVectorView_Vtbl; } -impl ::core::clone::Clone for IVectorView { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IVectorView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -1263,6 +1083,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PropertySet(::windows_core::IUnknown); impl PropertySet { pub fn new() -> ::windows_core::Result { @@ -1340,25 +1161,9 @@ impl PropertySet { unsafe { (::windows_core::Interface::vtable(this).RemoveMapChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for PropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PropertySet {} -impl ::core::fmt::Debug for PropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PropertySet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.PropertySet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } -impl ::core::clone::Clone for PropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PropertySet { type Vtable = IPropertySet_Vtbl; } @@ -1391,6 +1196,7 @@ unsafe impl ::core::marker::Send for PropertySet {} unsafe impl ::core::marker::Sync for PropertySet {} #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StringMap(::windows_core::IUnknown); impl StringMap { pub fn new() -> ::windows_core::Result { @@ -1465,25 +1271,9 @@ impl StringMap { unsafe { (::windows_core::Interface::vtable(this).RemoveMapChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for StringMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StringMap {} -impl ::core::fmt::Debug for StringMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StringMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StringMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.StringMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); } -impl ::core::clone::Clone for StringMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StringMap { type Vtable = IMap_Vtbl<::windows_core::HSTRING, ::windows_core::HSTRING>; } @@ -1515,6 +1305,7 @@ unsafe impl ::core::marker::Send for StringMap {} unsafe impl ::core::marker::Sync for StringMap {} #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ValueSet(::windows_core::IUnknown); impl ValueSet { pub fn new() -> ::windows_core::Result { @@ -1592,25 +1383,9 @@ impl ValueSet { unsafe { (::windows_core::Interface::vtable(this).RemoveMapChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ValueSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ValueSet {} -impl ::core::fmt::Debug for ValueSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ValueSet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ValueSet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Collections.ValueSet;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } -impl ::core::clone::Clone for ValueSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ValueSet { type Vtable = IPropertySet_Vtbl; } @@ -1675,6 +1450,7 @@ impl ::windows_core::RuntimeType for CollectionChange { } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapChangedEventHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where K: ::windows_core::RuntimeType + 'static, @@ -1710,9 +1486,12 @@ impl, V: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1737,25 +1516,9 @@ impl ::core::cmp::PartialEq for MapChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapChangedEventHandler {} -impl ::core::fmt::Debug for MapChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MapChangedEventHandler { type Vtable = MapChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for MapChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for MapChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -1776,6 +1539,7 @@ where } #[doc = "*Required features: `\"Foundation_Collections\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VectorChangedEventHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1808,9 +1572,12 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1835,25 +1602,9 @@ impl ::core::cmp::PartialEq for VectorChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VectorChangedEventHandler {} -impl ::core::fmt::Debug for VectorChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VectorChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for VectorChangedEventHandler { type Vtable = VectorChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for VectorChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for VectorChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs index 44a6eab65b..9ada3b0f09 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs @@ -30,8 +30,8 @@ impl IErrorReportingSettings_Vtbl { GetErrorOptions: GetErrorOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"Storage\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IFileLoggingSession_Vtbl { RemoveLogFileGenerated: RemoveLogFileGenerated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl ILoggingChannel_Vtbl { RemoveLoggingEnabled: RemoveLoggingEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"Storage\"`, `\"implement\"`*"] @@ -290,8 +290,8 @@ impl ILoggingSession_Vtbl { RemoveLoggingChannel: RemoveLoggingChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"implement\"`*"] @@ -429,7 +429,7 @@ impl ILoggingTarget_Vtbl { StartActivityWithFieldsAndOptions: StartActivityWithFieldsAndOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index 7285816160..30c91d5b44 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncCausalityTracerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsyncCausalityTracerStatics { type Vtable = IAsyncCausalityTracerStatics_Vtbl; } -impl ::core::clone::Clone for IAsyncCausalityTracerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncCausalityTracerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50850b26_267e_451b_a890_ab6a370245ee); } @@ -26,15 +22,11 @@ pub struct IAsyncCausalityTracerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IErrorDetails { type Vtable = IErrorDetails_Vtbl; } -impl ::core::clone::Clone for IErrorDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x378cbb01_2cc9_428f_8c55_2c990d463e8f); } @@ -48,15 +40,11 @@ pub struct IErrorDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorDetailsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IErrorDetailsStatics { type Vtable = IErrorDetailsStatics_Vtbl; } -impl ::core::clone::Clone for IErrorDetailsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorDetailsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7703750_0b1d_46c8_aa0e_4b8178e4fce9); } @@ -68,6 +56,7 @@ pub struct IErrorDetailsStatics_Vtbl { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorReportingSettings(::windows_core::IUnknown); impl IErrorReportingSettings { pub fn SetErrorOptions(&self, value: ErrorOptions) -> ::windows_core::Result<()> { @@ -83,28 +72,12 @@ impl IErrorReportingSettings { } } ::windows_core::imp::interface_hierarchy!(IErrorReportingSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IErrorReportingSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorReportingSettings {} -impl ::core::fmt::Debug for IErrorReportingSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorReportingSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IErrorReportingSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0}"); } unsafe impl ::windows_core::Interface for IErrorReportingSettings { type Vtable = IErrorReportingSettings_Vtbl; } -impl ::core::clone::Clone for IErrorReportingSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorReportingSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16369792_b03e_4ba1_8bb8_d28f4ab4d2c0); } @@ -117,6 +90,7 @@ pub struct IErrorReportingSettings_Vtbl { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileLoggingSession(::windows_core::IUnknown); impl IFileLoggingSession { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -177,28 +151,12 @@ impl IFileLoggingSession { } ::windows_core::imp::interface_hierarchy!(IFileLoggingSession, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IFileLoggingSession {} -impl ::core::cmp::PartialEq for IFileLoggingSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileLoggingSession {} -impl ::core::fmt::Debug for IFileLoggingSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileLoggingSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IFileLoggingSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{24c74216-fed2-404c-895f-1f9699cb02f7}"); } unsafe impl ::windows_core::Interface for IFileLoggingSession { type Vtable = IFileLoggingSession_Vtbl; } -impl ::core::clone::Clone for IFileLoggingSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileLoggingSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24c74216_fed2_404c_895f_1f9699cb02f7); } @@ -219,15 +177,11 @@ pub struct IFileLoggingSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileLoggingSessionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileLoggingSessionFactory { type Vtable = IFileLoggingSessionFactory_Vtbl; } -impl ::core::clone::Clone for IFileLoggingSessionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileLoggingSessionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea08dce_8447_4daa_9133_12eb46f697d4); } @@ -239,15 +193,11 @@ pub struct IFileLoggingSessionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILogFileGeneratedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILogFileGeneratedEventArgs { type Vtable = ILogFileGeneratedEventArgs_Vtbl; } -impl ::core::clone::Clone for ILogFileGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILogFileGeneratedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x269e976f_0d38_4c1a_b53f_b395d881df84); } @@ -262,15 +212,11 @@ pub struct ILogFileGeneratedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingActivity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingActivity { type Vtable = ILoggingActivity_Vtbl; } -impl ::core::clone::Clone for ILoggingActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc032941_b766_4cb5_9848_97ac6ba6d60c); } @@ -283,15 +229,11 @@ pub struct ILoggingActivity_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingActivity2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingActivity2 { type Vtable = ILoggingActivity2_Vtbl; } -impl ::core::clone::Clone for ILoggingActivity2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingActivity2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26c29808_6322_456a_af82_80c8642f178b); } @@ -306,15 +248,11 @@ pub struct ILoggingActivity2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingActivityFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingActivityFactory { type Vtable = ILoggingActivityFactory_Vtbl; } -impl ::core::clone::Clone for ILoggingActivityFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingActivityFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b33b483_e10a_4c58_97d5_10fb451074fb); } @@ -327,6 +265,7 @@ pub struct ILoggingActivityFactory_Vtbl { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannel(::windows_core::IUnknown); impl ILoggingChannel { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -387,28 +326,12 @@ impl ILoggingChannel { } ::windows_core::imp::interface_hierarchy!(ILoggingChannel, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILoggingChannel {} -impl ::core::cmp::PartialEq for ILoggingChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoggingChannel {} -impl ::core::fmt::Debug for ILoggingChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoggingChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILoggingChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e9a50343-11d7-4f01-b5ca-cf495278c0a8}"); } unsafe impl ::windows_core::Interface for ILoggingChannel { type Vtable = ILoggingChannel_Vtbl; } -impl ::core::clone::Clone for ILoggingChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9a50343_11d7_4f01_b5ca_cf495278c0a8); } @@ -428,15 +351,11 @@ pub struct ILoggingChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannel2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingChannel2 { type Vtable = ILoggingChannel2_Vtbl; } -impl ::core::clone::Clone for ILoggingChannel2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannel2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f4c3cf3_0bac_45a5_9e33_baf3f3a246a5); } @@ -448,15 +367,11 @@ pub struct ILoggingChannel2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannelFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingChannelFactory { type Vtable = ILoggingChannelFactory_Vtbl; } -impl ::core::clone::Clone for ILoggingChannelFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannelFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4edc5b9c_af80_4a9b_b0dc_398f9ae5207b); } @@ -471,15 +386,11 @@ pub struct ILoggingChannelFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannelFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingChannelFactory2 { type Vtable = ILoggingChannelFactory2_Vtbl; } -impl ::core::clone::Clone for ILoggingChannelFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannelFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c6ef5dd_3b27_4dc9_99f0_299c6e4603a1); } @@ -492,15 +403,11 @@ pub struct ILoggingChannelFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannelOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingChannelOptions { type Vtable = ILoggingChannelOptions_Vtbl; } -impl ::core::clone::Clone for ILoggingChannelOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannelOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3e847ff_0ebb_4a53_8c54_dec24926cb2c); } @@ -513,15 +420,11 @@ pub struct ILoggingChannelOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingChannelOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingChannelOptionsFactory { type Vtable = ILoggingChannelOptionsFactory_Vtbl; } -impl ::core::clone::Clone for ILoggingChannelOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingChannelOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa93151da_7faf_4191_8755_5e86dc65d896); } @@ -533,15 +436,11 @@ pub struct ILoggingChannelOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingFields(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingFields { type Vtable = ILoggingFields_Vtbl; } -impl ::core::clone::Clone for ILoggingFields { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingFields { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7f6b7af_762d_4579_83bd_52c23bc333bc); } @@ -667,15 +566,11 @@ pub struct ILoggingFields_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingOptions { type Vtable = ILoggingOptions_Vtbl; } -impl ::core::clone::Clone for ILoggingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90bc7850_0192_4f5d_ac26_006adaca12d8); } @@ -698,15 +593,11 @@ pub struct ILoggingOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingOptionsFactory { type Vtable = ILoggingOptionsFactory_Vtbl; } -impl ::core::clone::Clone for ILoggingOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd713c6cb_98ab_464b_9f22_a3268478368a); } @@ -718,6 +609,7 @@ pub struct ILoggingOptionsFactory_Vtbl { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingSession(::windows_core::IUnknown); impl ILoggingSession { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -767,28 +659,12 @@ impl ILoggingSession { } ::windows_core::imp::interface_hierarchy!(ILoggingSession, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ILoggingSession {} -impl ::core::cmp::PartialEq for ILoggingSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoggingSession {} -impl ::core::fmt::Debug for ILoggingSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoggingSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILoggingSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6221f306-9380-4ad7-baf5-41ea9310d768}"); } unsafe impl ::windows_core::Interface for ILoggingSession { type Vtable = ILoggingSession_Vtbl; } -impl ::core::clone::Clone for ILoggingSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6221f306_9380_4ad7_baf5_41ea9310d768); } @@ -807,15 +683,11 @@ pub struct ILoggingSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingSessionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILoggingSessionFactory { type Vtable = ILoggingSessionFactory_Vtbl; } -impl ::core::clone::Clone for ILoggingSessionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingSessionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e937ee5_58fd_45e0_8c2f_a132eff95c1e); } @@ -827,6 +699,7 @@ pub struct ILoggingSessionFactory_Vtbl { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoggingTarget(::windows_core::IUnknown); impl ILoggingTarget { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -916,28 +789,12 @@ impl ILoggingTarget { } } ::windows_core::imp::interface_hierarchy!(ILoggingTarget, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILoggingTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoggingTarget {} -impl ::core::fmt::Debug for ILoggingTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoggingTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILoggingTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{65f16c35-e388-4e26-b17a-f51cd3a83916}"); } unsafe impl ::windows_core::Interface for ILoggingTarget { type Vtable = ILoggingTarget_Vtbl; } -impl ::core::clone::Clone for ILoggingTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoggingTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65f16c35_e388_4e26_b17a_f51cd3a83916); } @@ -959,15 +816,11 @@ pub struct ILoggingTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITracingStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITracingStatusChangedEventArgs { type Vtable = ITracingStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITracingStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITracingStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x410b7711_ff3b_477f_9c9a_d2efda302dc3); } @@ -1019,6 +872,7 @@ impl ::windows_core::RuntimeName for AsyncCausalityTracer { } #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ErrorDetails(::windows_core::IUnknown); impl ErrorDetails { pub fn Description(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1054,25 +908,9 @@ impl ErrorDetails { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ErrorDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ErrorDetails {} -impl ::core::fmt::Debug for ErrorDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ErrorDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ErrorDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.ErrorDetails;{378cbb01-2cc9-428f-8c55-2c990d463e8f})"); } -impl ::core::clone::Clone for ErrorDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ErrorDetails { type Vtable = IErrorDetails_Vtbl; } @@ -1087,6 +925,7 @@ unsafe impl ::core::marker::Send for ErrorDetails {} unsafe impl ::core::marker::Sync for ErrorDetails {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileLoggingSession(::windows_core::IUnknown); impl FileLoggingSession { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -1156,25 +995,9 @@ impl FileLoggingSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileLoggingSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileLoggingSession {} -impl ::core::fmt::Debug for FileLoggingSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileLoggingSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileLoggingSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.FileLoggingSession;{24c74216-fed2-404c-895f-1f9699cb02f7})"); } -impl ::core::clone::Clone for FileLoggingSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileLoggingSession { type Vtable = IFileLoggingSession_Vtbl; } @@ -1191,6 +1014,7 @@ unsafe impl ::core::marker::Send for FileLoggingSession {} unsafe impl ::core::marker::Sync for FileLoggingSession {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LogFileGeneratedEventArgs(::windows_core::IUnknown); impl LogFileGeneratedEventArgs { #[doc = "*Required features: `\"Storage\"`*"] @@ -1203,25 +1027,9 @@ impl LogFileGeneratedEventArgs { } } } -impl ::core::cmp::PartialEq for LogFileGeneratedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LogFileGeneratedEventArgs {} -impl ::core::fmt::Debug for LogFileGeneratedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LogFileGeneratedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LogFileGeneratedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs;{269e976f-0d38-4c1a-b53f-b395d881df84})"); } -impl ::core::clone::Clone for LogFileGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LogFileGeneratedEventArgs { type Vtable = ILogFileGeneratedEventArgs_Vtbl; } @@ -1236,6 +1044,7 @@ unsafe impl ::core::marker::Send for LogFileGeneratedEventArgs {} unsafe impl ::core::marker::Sync for LogFileGeneratedEventArgs {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingActivity(::windows_core::IUnknown); impl LoggingActivity { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -1391,25 +1200,9 @@ impl LoggingActivity { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LoggingActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingActivity {} -impl ::core::fmt::Debug for LoggingActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingActivity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingActivity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingActivity;{bc032941-b766-4cb5-9848-97ac6ba6d60c})"); } -impl ::core::clone::Clone for LoggingActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingActivity { type Vtable = ILoggingActivity_Vtbl; } @@ -1426,6 +1219,7 @@ unsafe impl ::core::marker::Send for LoggingActivity {} unsafe impl ::core::marker::Sync for LoggingActivity {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingChannel(::windows_core::IUnknown); impl LoggingChannel { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -1612,25 +1406,9 @@ impl LoggingChannel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LoggingChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingChannel {} -impl ::core::fmt::Debug for LoggingChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannel;{e9a50343-11d7-4f01-b5ca-cf495278c0a8})"); } -impl ::core::clone::Clone for LoggingChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingChannel { type Vtable = ILoggingChannel_Vtbl; } @@ -1648,6 +1426,7 @@ unsafe impl ::core::marker::Send for LoggingChannel {} unsafe impl ::core::marker::Sync for LoggingChannel {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingChannelOptions(::windows_core::IUnknown); impl LoggingChannelOptions { pub fn new() -> ::windows_core::Result { @@ -1680,25 +1459,9 @@ impl LoggingChannelOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LoggingChannelOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingChannelOptions {} -impl ::core::fmt::Debug for LoggingChannelOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingChannelOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingChannelOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingChannelOptions;{c3e847ff-0ebb-4a53-8c54-dec24926cb2c})"); } -impl ::core::clone::Clone for LoggingChannelOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingChannelOptions { type Vtable = ILoggingChannelOptions_Vtbl; } @@ -1713,6 +1476,7 @@ unsafe impl ::core::marker::Send for LoggingChannelOptions {} unsafe impl ::core::marker::Sync for LoggingChannelOptions {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingFields(::windows_core::IUnknown); impl LoggingFields { pub fn new() -> ::windows_core::Result { @@ -2183,25 +1947,9 @@ impl LoggingFields { unsafe { (::windows_core::Interface::vtable(this).AddRectArrayWithFormatAndTags)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(name), value.len() as u32, value.as_ptr(), format, tags).ok() } } } -impl ::core::cmp::PartialEq for LoggingFields { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingFields {} -impl ::core::fmt::Debug for LoggingFields { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingFields").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingFields { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingFields;{d7f6b7af-762d-4579-83bd-52c23bc333bc})"); } -impl ::core::clone::Clone for LoggingFields { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingFields { type Vtable = ILoggingFields_Vtbl; } @@ -2216,6 +1964,7 @@ unsafe impl ::core::marker::Send for LoggingFields {} unsafe impl ::core::marker::Sync for LoggingFields {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingOptions(::windows_core::IUnknown); impl LoggingOptions { pub fn new() -> ::windows_core::Result { @@ -2303,25 +2052,9 @@ impl LoggingOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LoggingOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingOptions {} -impl ::core::fmt::Debug for LoggingOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingOptions;{90bc7850-0192-4f5d-ac26-006adaca12d8})"); } -impl ::core::clone::Clone for LoggingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingOptions { type Vtable = ILoggingOptions_Vtbl; } @@ -2336,6 +2069,7 @@ unsafe impl ::core::marker::Send for LoggingOptions {} unsafe impl ::core::marker::Sync for LoggingOptions {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LoggingSession(::windows_core::IUnknown); impl LoggingSession { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -2394,25 +2128,9 @@ impl LoggingSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LoggingSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LoggingSession {} -impl ::core::fmt::Debug for LoggingSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LoggingSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LoggingSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.LoggingSession;{6221f306-9380-4ad7-baf5-41ea9310d768})"); } -impl ::core::clone::Clone for LoggingSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LoggingSession { type Vtable = ILoggingSession_Vtbl; } @@ -2429,6 +2147,7 @@ unsafe impl ::core::marker::Send for LoggingSession {} unsafe impl ::core::marker::Sync for LoggingSession {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RuntimeBrokerErrorSettings(::windows_core::IUnknown); impl RuntimeBrokerErrorSettings { pub fn new() -> ::windows_core::Result { @@ -2450,25 +2169,9 @@ impl RuntimeBrokerErrorSettings { } } } -impl ::core::cmp::PartialEq for RuntimeBrokerErrorSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RuntimeBrokerErrorSettings {} -impl ::core::fmt::Debug for RuntimeBrokerErrorSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RuntimeBrokerErrorSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RuntimeBrokerErrorSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.RuntimeBrokerErrorSettings;{16369792-b03e-4ba1-8bb8-d28f4ab4d2c0})"); } -impl ::core::clone::Clone for RuntimeBrokerErrorSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RuntimeBrokerErrorSettings { type Vtable = IErrorReportingSettings_Vtbl; } @@ -2484,6 +2187,7 @@ unsafe impl ::core::marker::Send for RuntimeBrokerErrorSettings {} unsafe impl ::core::marker::Sync for RuntimeBrokerErrorSettings {} #[doc = "*Required features: `\"Foundation_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TracingStatusChangedEventArgs(::windows_core::IUnknown); impl TracingStatusChangedEventArgs { pub fn Enabled(&self) -> ::windows_core::Result { @@ -2501,25 +2205,9 @@ impl TracingStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TracingStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TracingStatusChangedEventArgs {} -impl ::core::fmt::Debug for TracingStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TracingStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TracingStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Diagnostics.TracingStatusChangedEventArgs;{410b7711-ff3b-477f-9c9a-d2efda302dc3})"); } -impl ::core::clone::Clone for TracingStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TracingStatusChangedEventArgs { type Vtable = ITracingStatusChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index 5036b66c15..ab4ba58b0d 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApiInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApiInformationStatics { type Vtable = IApiInformationStatics_Vtbl; } -impl ::core::clone::Clone for IApiInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApiInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x997439fe_f681_4a11_b416_c13a47e8ba36); } diff --git a/crates/libs/windows/src/Windows/Foundation/impl.rs b/crates/libs/windows/src/Windows/Foundation/impl.rs index 9d327bc945..b9206b6556 100644 --- a/crates/libs/windows/src/Windows/Foundation/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/impl.rs @@ -38,8 +38,8 @@ impl IAsyncAction_Vtbl { GetResults: GetResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IAsyncActionWithProgress_ TProgress: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl IAsyncInfo_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IAsyncOperation_Vtbl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -329,8 +329,8 @@ impl IClosable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl IGetActivationFactory_Vtbl { GetActivationFactory: GetActivationFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IMemoryBuffer_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateReference: CreateReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -435,8 +435,8 @@ impl IMemoryBufferReference_Vtbl { RemoveClosed: RemoveClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -845,8 +845,8 @@ impl IPropertyValue_Vtbl { GetRectArray: GetRectArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -879,8 +879,8 @@ impl IReference_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IReferenceArray_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -941,8 +941,8 @@ impl IStringable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToString: ToString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -985,7 +985,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 530bb9f0b8..8f78a6630a 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -8,6 +8,7 @@ pub mod Metadata; pub mod Numerics; #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncAction(::windows_core::IUnknown); impl IAsyncAction { pub fn SetCompleted(&self, handler: P0) -> ::windows_core::Result<()> @@ -60,17 +61,6 @@ impl IAsyncAction { } ::windows_core::imp::interface_hierarchy!(IAsyncAction, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IAsyncAction {} -impl ::core::cmp::PartialEq for IAsyncAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncAction {} -impl ::core::fmt::Debug for IAsyncAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncAction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAsyncAction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5a648006-843a-4da9-865b-9d26e5dfad7b}"); } @@ -108,11 +98,6 @@ unsafe impl ::core::marker::Sync for IAsyncAction {} unsafe impl ::windows_core::Interface for IAsyncAction { type Vtable = IAsyncAction_Vtbl; } -impl ::core::clone::Clone for IAsyncAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a648006_843a_4da9_865b_9d26e5dfad7b); } @@ -126,6 +111,7 @@ pub struct IAsyncAction_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncActionWithProgress(::windows_core::IUnknown, ::core::marker::PhantomData) where TProgress: ::windows_core::RuntimeType + 'static; @@ -195,17 +181,6 @@ impl IAsyncActionWithProgress< impl ::windows_core::CanInto<::windows_core::IUnknown> for IAsyncActionWithProgress {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncActionWithProgress {} impl ::windows_core::CanTryInto for IAsyncActionWithProgress {} -impl ::core::cmp::PartialEq for IAsyncActionWithProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncActionWithProgress {} -impl ::core::fmt::Debug for IAsyncActionWithProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncActionWithProgress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAsyncActionWithProgress { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{1f6db258-e803-48a1-9546-eb7353398884}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -243,11 +218,6 @@ unsafe impl ::core::marker::Sy unsafe impl ::windows_core::Interface for IAsyncActionWithProgress { type Vtable = IAsyncActionWithProgress_Vtbl; } -impl ::core::clone::Clone for IAsyncActionWithProgress { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IAsyncActionWithProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -267,6 +237,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncInfo(::windows_core::IUnknown); impl IAsyncInfo { pub fn Id(&self) -> ::windows_core::Result { @@ -300,28 +271,12 @@ impl IAsyncInfo { } } ::windows_core::imp::interface_hierarchy!(IAsyncInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAsyncInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncInfo {} -impl ::core::fmt::Debug for IAsyncInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAsyncInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{00000036-0000-0000-c000-000000000046}"); } unsafe impl ::windows_core::Interface for IAsyncInfo { type Vtable = IAsyncInfo_Vtbl; } -impl ::core::clone::Clone for IAsyncInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000036_0000_0000_c000_000000000046); } @@ -337,6 +292,7 @@ pub struct IAsyncInfo_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncOperation(::windows_core::IUnknown, ::core::marker::PhantomData) where TResult: ::windows_core::RuntimeType + 'static; @@ -395,17 +351,6 @@ impl IAsyncOperation { impl ::windows_core::CanInto<::windows_core::IUnknown> for IAsyncOperation {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncOperation {} impl ::windows_core::CanTryInto for IAsyncOperation {} -impl ::core::cmp::PartialEq for IAsyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncOperation {} -impl ::core::fmt::Debug for IAsyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAsyncOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -443,11 +388,6 @@ unsafe impl ::core::marker::Sync unsafe impl ::windows_core::Interface for IAsyncOperation { type Vtable = IAsyncOperation_Vtbl; } -impl ::core::clone::Clone for IAsyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IAsyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -465,6 +405,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncOperationWithProgress(::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where TResult: ::windows_core::RuntimeType + 'static, @@ -538,17 +479,6 @@ impl ::windows_core::CanInto<::windows_core::IUnknown> for IAsyncOperationWithProgress {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IAsyncOperationWithProgress {} impl ::windows_core::CanTryInto for IAsyncOperationWithProgress {} -impl ::core::cmp::PartialEq for IAsyncOperationWithProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncOperationWithProgress {} -impl ::core::fmt::Debug for IAsyncOperationWithProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncOperationWithProgress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAsyncOperationWithProgress { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{b5d036d7-e297-498f-ba60-0289e76e23dd}").push_slice(b";").push_other(::SIGNATURE).push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } @@ -586,11 +516,6 @@ unsafe impl ::windows_core::Interface for IAsyncOperationWithProgress { type Vtable = IAsyncOperationWithProgress_Vtbl; } -impl ::core::clone::Clone for IAsyncOperationWithProgress { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IAsyncOperationWithProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -612,6 +537,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClosable(::windows_core::IUnknown); impl IClosable { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -620,28 +546,12 @@ impl IClosable { } } ::windows_core::imp::interface_hierarchy!(IClosable, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IClosable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClosable {} -impl ::core::fmt::Debug for IClosable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClosable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IClosable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{30d5a829-7fa4-4026-83bb-d75bae4ea99e}"); } unsafe impl ::windows_core::Interface for IClosable { type Vtable = IClosable_Vtbl; } -impl ::core::clone::Clone for IClosable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClosable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30d5a829_7fa4_4026_83bb_d75bae4ea99e); } @@ -653,15 +563,11 @@ pub struct IClosable_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeferral { type Vtable = IDeferral_Vtbl; } -impl ::core::clone::Clone for IDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6269732_3b7f_46a7_b40b_4fdca2a2c693); } @@ -673,15 +579,11 @@ pub struct IDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeferralFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeferralFactory { type Vtable = IDeferralFactory_Vtbl; } -impl ::core::clone::Clone for IDeferralFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeferralFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65a1ecc5_3fb5_4832_8ca9_f061b281d13a); } @@ -693,6 +595,7 @@ pub struct IDeferralFactory_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetActivationFactory(::windows_core::IUnknown); impl IGetActivationFactory { pub fn GetActivationFactory(&self, activatableclassid: &::windows_core::HSTRING) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -704,28 +607,12 @@ impl IGetActivationFactory { } } ::windows_core::imp::interface_hierarchy!(IGetActivationFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGetActivationFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetActivationFactory {} -impl ::core::fmt::Debug for IGetActivationFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetActivationFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGetActivationFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4edb8ee2-96dd-49a7-94f7-4607ddab8e3c}"); } unsafe impl ::windows_core::Interface for IGetActivationFactory { type Vtable = IGetActivationFactory_Vtbl; } -impl ::core::clone::Clone for IGetActivationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetActivationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4edb8ee2_96dd_49a7_94f7_4607ddab8e3c); } @@ -737,15 +624,11 @@ pub struct IGetActivationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidHelperStatics { type Vtable = IGuidHelperStatics_Vtbl; } -impl ::core::clone::Clone for IGuidHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59c7966b_ae52_5283_ad7f_a1b9e9678add); } @@ -759,6 +642,7 @@ pub struct IGuidHelperStatics_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryBuffer(::windows_core::IUnknown); impl IMemoryBuffer { pub fn CreateReference(&self) -> ::windows_core::Result { @@ -775,28 +659,12 @@ impl IMemoryBuffer { } ::windows_core::imp::interface_hierarchy!(IMemoryBuffer, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IMemoryBuffer {} -impl ::core::cmp::PartialEq for IMemoryBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemoryBuffer {} -impl ::core::fmt::Debug for IMemoryBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemoryBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMemoryBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fbc4dd2a-245b-11e4-af98-689423260cf8}"); } unsafe impl ::windows_core::Interface for IMemoryBuffer { type Vtable = IMemoryBuffer_Vtbl; } -impl ::core::clone::Clone for IMemoryBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc4dd2a_245b_11e4_af98_689423260cf8); } @@ -808,15 +676,11 @@ pub struct IMemoryBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryBufferFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMemoryBufferFactory { type Vtable = IMemoryBufferFactory_Vtbl; } -impl ::core::clone::Clone for IMemoryBufferFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryBufferFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc4dd2b_245b_11e4_af98_689423260cf8); } @@ -828,6 +692,7 @@ pub struct IMemoryBufferFactory_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryBufferReference(::windows_core::IUnknown); impl IMemoryBufferReference { pub fn Capacity(&self) -> ::windows_core::Result { @@ -858,28 +723,12 @@ impl IMemoryBufferReference { } ::windows_core::imp::interface_hierarchy!(IMemoryBufferReference, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IMemoryBufferReference {} -impl ::core::cmp::PartialEq for IMemoryBufferReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemoryBufferReference {} -impl ::core::fmt::Debug for IMemoryBufferReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemoryBufferReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMemoryBufferReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fbc4dd29-245b-11e4-af98-689423260cf8}"); } unsafe impl ::windows_core::Interface for IMemoryBufferReference { type Vtable = IMemoryBufferReference_Vtbl; } -impl ::core::clone::Clone for IMemoryBufferReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryBufferReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc4dd29_245b_11e4_af98_689423260cf8); } @@ -893,6 +742,7 @@ pub struct IMemoryBufferReference_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyValue(::windows_core::IUnknown); impl IPropertyValue { pub fn Type(&self) -> ::windows_core::Result { @@ -1113,28 +963,12 @@ impl IPropertyValue { } } ::windows_core::imp::interface_hierarchy!(IPropertyValue, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPropertyValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyValue {} -impl ::core::fmt::Debug for IPropertyValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPropertyValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4bd682dd-7554-40e9-9a9b-82654ede7e62}"); } unsafe impl ::windows_core::Interface for IPropertyValue { type Vtable = IPropertyValue_Vtbl; } -impl ::core::clone::Clone for IPropertyValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bd682dd_7554_40e9_9a9b_82654ede7e62); } @@ -1184,15 +1018,11 @@ pub struct IPropertyValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPropertyValueStatics { type Vtable = IPropertyValueStatics_Vtbl; } -impl ::core::clone::Clone for IPropertyValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); } @@ -1242,6 +1072,7 @@ pub struct IPropertyValueStatics_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReference(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1473,28 +1304,12 @@ impl IReference { impl ::windows_core::CanInto<::windows_core::IUnknown> for IReference {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IReference {} impl ::windows_core::CanTryInto for IReference {} -impl ::core::cmp::PartialEq for IReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReference {} -impl ::core::fmt::Debug for IReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17706-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReference { type Vtable = IReference_Vtbl; } -impl ::core::clone::Clone for IReference { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -1510,6 +1325,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReferenceArray(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1741,28 +1557,12 @@ impl IReferenceArray { impl ::windows_core::CanInto<::windows_core::IUnknown> for IReferenceArray {} impl ::windows_core::CanInto<::windows_core::IInspectable> for IReferenceArray {} impl ::windows_core::CanTryInto for IReferenceArray {} -impl ::core::cmp::PartialEq for IReferenceArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReferenceArray {} -impl ::core::fmt::Debug for IReferenceArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReferenceArray").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IReferenceArray { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new().push_slice(b"pinterface(").push_slice(b"{61c17707-2d65-11e0-9ae8-d48564015472}").push_slice(b";").push_other(::SIGNATURE).push_slice(b")") }; } unsafe impl ::windows_core::Interface for IReferenceArray { type Vtable = IReferenceArray_Vtbl; } -impl ::core::clone::Clone for IReferenceArray { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IReferenceArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -1778,6 +1578,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringable(::windows_core::IUnknown); impl IStringable { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1789,28 +1590,12 @@ impl IStringable { } } ::windows_core::imp::interface_hierarchy!(IStringable, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStringable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringable {} -impl ::core::fmt::Debug for IStringable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStringable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); } unsafe impl ::windows_core::Interface for IStringable { type Vtable = IStringable_Vtbl; } -impl ::core::clone::Clone for IStringable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); } @@ -1822,15 +1607,11 @@ pub struct IStringable_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriEscapeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriEscapeStatics { type Vtable = IUriEscapeStatics_Vtbl; } -impl ::core::clone::Clone for IUriEscapeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriEscapeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1); } @@ -1843,15 +1624,11 @@ pub struct IUriEscapeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClass { type Vtable = IUriRuntimeClass_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e365e57_48b2_4160_956f_c7385120bbfc); } @@ -1879,15 +1656,11 @@ pub struct IUriRuntimeClass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClassFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClassFactory { type Vtable = IUriRuntimeClassFactory_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44a9796f_723e_4fdf_a218_033e75b0c084); } @@ -1900,15 +1673,11 @@ pub struct IUriRuntimeClassFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClassWithAbsoluteCanonicalUri(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClassWithAbsoluteCanonicalUri { type Vtable = IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClassWithAbsoluteCanonicalUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClassWithAbsoluteCanonicalUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x758d9661_221c_480f_a339_50656673f46f); } @@ -1921,6 +1690,7 @@ pub struct IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderEntry(::windows_core::IUnknown); impl IWwwFormUrlDecoderEntry { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1939,28 +1709,12 @@ impl IWwwFormUrlDecoderEntry { } } ::windows_core::imp::interface_hierarchy!(IWwwFormUrlDecoderEntry, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWwwFormUrlDecoderEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWwwFormUrlDecoderEntry {} -impl ::core::fmt::Debug for IWwwFormUrlDecoderEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWwwFormUrlDecoderEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWwwFormUrlDecoderEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{125e7431-f678-4e8e-b670-20a9b06c512d}"); } unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x125e7431_f678_4e8e_b670_20a9b06c512d); } @@ -1973,15 +1727,11 @@ pub struct IWwwFormUrlDecoderEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderRuntimeClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderRuntimeClass { type Vtable = IWwwFormUrlDecoderRuntimeClass_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderRuntimeClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderRuntimeClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45a0451_f225_4542_9296_0e1df5d254df); } @@ -1993,15 +1743,11 @@ pub struct IWwwFormUrlDecoderRuntimeClass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderRuntimeClassFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderRuntimeClassFactory { type Vtable = IWwwFormUrlDecoderRuntimeClassFactory_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderRuntimeClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderRuntimeClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b); } @@ -2013,6 +1759,7 @@ pub struct IWwwFormUrlDecoderRuntimeClassFactory_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Deferral(::windows_core::IUnknown); impl Deferral { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -2038,25 +1785,9 @@ impl Deferral { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Deferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Deferral {} -impl ::core::fmt::Debug for Deferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Deferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Deferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Deferral;{d6269732-3b7f-46a7-b40b-4fdca2a2c693})"); } -impl ::core::clone::Clone for Deferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Deferral { type Vtable = IDeferral_Vtbl; } @@ -2102,6 +1833,7 @@ impl ::windows_core::RuntimeName for GuidHelper { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MemoryBuffer(::windows_core::IUnknown); impl MemoryBuffer { pub fn Close(&self) -> ::windows_core::Result<()> { @@ -2127,25 +1859,9 @@ impl MemoryBuffer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MemoryBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MemoryBuffer {} -impl ::core::fmt::Debug for MemoryBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MemoryBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MemoryBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.MemoryBuffer;{fbc4dd2a-245b-11e4-af98-689423260cf8})"); } -impl ::core::clone::Clone for MemoryBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MemoryBuffer { type Vtable = IMemoryBuffer_Vtbl; } @@ -2411,6 +2127,7 @@ impl ::windows_core::RuntimeName for PropertyValue { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Uri(::windows_core::IUnknown); impl Uri { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2591,25 +2308,9 @@ impl Uri { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Uri { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Uri {} -impl ::core::fmt::Debug for Uri { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Uri").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Uri { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.Uri;{9e365e57-48b2-4160-956f-c7385120bbfc})"); } -impl ::core::clone::Clone for Uri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Uri { type Vtable = IUriRuntimeClass_Vtbl; } @@ -2625,6 +2326,7 @@ unsafe impl ::core::marker::Send for Uri {} unsafe impl ::core::marker::Sync for Uri {} #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WwwFormUrlDecoder(::windows_core::IUnknown); impl WwwFormUrlDecoder { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2694,25 +2396,9 @@ impl WwwFormUrlDecoder { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WwwFormUrlDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WwwFormUrlDecoder {} -impl ::core::fmt::Debug for WwwFormUrlDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WwwFormUrlDecoder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WwwFormUrlDecoder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoder;{d45a0451-f225-4542-9296-0e1df5d254df})"); } -impl ::core::clone::Clone for WwwFormUrlDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WwwFormUrlDecoder { type Vtable = IWwwFormUrlDecoderRuntimeClass_Vtbl; } @@ -2747,6 +2433,7 @@ unsafe impl ::core::marker::Send for WwwFormUrlDecoder {} unsafe impl ::core::marker::Sync for WwwFormUrlDecoder {} #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WwwFormUrlDecoderEntry(::windows_core::IUnknown); impl WwwFormUrlDecoderEntry { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2764,25 +2451,9 @@ impl WwwFormUrlDecoderEntry { } } } -impl ::core::cmp::PartialEq for WwwFormUrlDecoderEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WwwFormUrlDecoderEntry {} -impl ::core::fmt::Debug for WwwFormUrlDecoderEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WwwFormUrlDecoderEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WwwFormUrlDecoderEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Foundation.WwwFormUrlDecoderEntry;{125e7431-f678-4e8e-b670-20a9b06c512d})"); } -impl ::core::clone::Clone for WwwFormUrlDecoderEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_Vtbl; } @@ -3102,6 +2773,7 @@ impl ::core::default::Default for TimeSpan { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncActionCompletedHandler(pub ::windows_core::IUnknown); impl AsyncActionCompletedHandler { pub fn new, AsyncStatus) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3127,9 +2799,12 @@ impl, AsyncStatus) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3154,25 +2829,9 @@ impl, AsyncStatus) -> ::windows_c ((*this).invoke)(::windows_core::from_raw_borrowed(&asyncinfo), asyncstatus).into() } } -impl ::core::cmp::PartialEq for AsyncActionCompletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncActionCompletedHandler {} -impl ::core::fmt::Debug for AsyncActionCompletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncActionCompletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncActionCompletedHandler { type Vtable = AsyncActionCompletedHandler_Vtbl; } -impl ::core::clone::Clone for AsyncActionCompletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncActionCompletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4ed5c81_76c9_40bd_8be6_b1d90fb20ae7); } @@ -3187,6 +2846,7 @@ pub struct AsyncActionCompletedHandler_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncActionProgressHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData) where TProgress: ::windows_core::RuntimeType + 'static; @@ -3219,9 +2879,12 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3246,25 +2909,9 @@ impl ::core::cmp::PartialEq for AsyncActionProgressHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncActionProgressHandler {} -impl ::core::fmt::Debug for AsyncActionProgressHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncActionProgressHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncActionProgressHandler { type Vtable = AsyncActionProgressHandler_Vtbl; } -impl ::core::clone::Clone for AsyncActionProgressHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for AsyncActionProgressHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3283,6 +2930,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncActionWithProgressCompletedHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData) where TProgress: ::windows_core::RuntimeType + 'static; @@ -3314,9 +2962,12 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3341,25 +2992,9 @@ impl ::core::cmp::PartialEq for AsyncActionWithProgressCompletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncActionWithProgressCompletedHandler {} -impl ::core::fmt::Debug for AsyncActionWithProgressCompletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncActionWithProgressCompletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncActionWithProgressCompletedHandler { type Vtable = AsyncActionWithProgressCompletedHandler_Vtbl; } -impl ::core::clone::Clone for AsyncActionWithProgressCompletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for AsyncActionWithProgressCompletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3378,6 +3013,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncOperationCompletedHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData) where TResult: ::windows_core::RuntimeType + 'static; @@ -3409,9 +3045,12 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3436,25 +3075,9 @@ impl ::core::cmp::PartialEq for AsyncOperationCompletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncOperationCompletedHandler {} -impl ::core::fmt::Debug for AsyncOperationCompletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncOperationCompletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncOperationCompletedHandler { type Vtable = AsyncOperationCompletedHandler_Vtbl; } -impl ::core::clone::Clone for AsyncOperationCompletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for AsyncOperationCompletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3473,6 +3096,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncOperationProgressHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where TResult: ::windows_core::RuntimeType + 'static, @@ -3508,9 +3132,12 @@ impl, TProgress: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3535,25 +3162,9 @@ impl ::core::cmp::PartialEq for AsyncOperationProgressHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncOperationProgressHandler {} -impl ::core::fmt::Debug for AsyncOperationProgressHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncOperationProgressHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncOperationProgressHandler { type Vtable = AsyncOperationProgressHandler_Vtbl; } -impl ::core::clone::Clone for AsyncOperationProgressHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for AsyncOperationProgressHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3574,6 +3185,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncOperationWithProgressCompletedHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where TResult: ::windows_core::RuntimeType + 'static, @@ -3608,9 +3220,12 @@ impl, TProgress: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3635,25 +3250,9 @@ impl ::core::cmp::PartialEq for AsyncOperationWithProgressCompletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncOperationWithProgressCompletedHandler {} -impl ::core::fmt::Debug for AsyncOperationWithProgressCompletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncOperationWithProgressCompletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncOperationWithProgressCompletedHandler { type Vtable = AsyncOperationWithProgressCompletedHandler_Vtbl; } -impl ::core::clone::Clone for AsyncOperationWithProgressCompletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for AsyncOperationWithProgressCompletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3674,6 +3273,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeferralCompletedHandler(pub ::windows_core::IUnknown); impl DeferralCompletedHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3696,9 +3296,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3723,25 +3326,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for DeferralCompletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeferralCompletedHandler {} -impl ::core::fmt::Debug for DeferralCompletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeferralCompletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DeferralCompletedHandler { type Vtable = DeferralCompletedHandler_Vtbl; } -impl ::core::clone::Clone for DeferralCompletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DeferralCompletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed32a372_f3c8_4faa_9cfb_470148da3888); } @@ -3756,6 +3343,7 @@ pub struct DeferralCompletedHandler_Vtbl { } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EventHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -3788,9 +3376,12 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3815,25 +3406,9 @@ impl ::core::cmp::PartialEq for EventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EventHandler {} -impl ::core::fmt::Debug for EventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for EventHandler { type Vtable = EventHandler_Vtbl; } -impl ::core::clone::Clone for EventHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for EventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } @@ -3852,6 +3427,7 @@ where } #[doc = "*Required features: `\"Foundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TypedEventHandler(pub ::windows_core::IUnknown, ::core::marker::PhantomData, ::core::marker::PhantomData) where TSender: ::windows_core::RuntimeType + 'static, @@ -3887,9 +3463,12 @@ impl, TResult: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3914,25 +3493,9 @@ impl ::core::cmp::PartialEq for TypedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TypedEventHandler {} -impl ::core::fmt::Debug for TypedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TypedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for TypedEventHandler { type Vtable = TypedEventHandler_Vtbl; } -impl ::core::clone::Clone for TypedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::, ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for TypedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_signature(::SIGNATURE); } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs index 3a16d6050b..59878b9e9e 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs @@ -38,8 +38,8 @@ impl ICustomGameControllerFactory_Vtbl { OnGameControllerRemoved: OnGameControllerRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl IGameControllerInputSink_Vtbl { OnInputSuspended: OnInputSuspended::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -149,8 +149,8 @@ impl IGameControllerProvider_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl IGipGameControllerInputSink_Vtbl { OnMessageReceived: OnMessageReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IHidGameControllerInputSink_Vtbl { OnInputReportReceived: OnInputReportReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -225,7 +225,7 @@ impl IXusbGameControllerInputSink_Vtbl { OnInputReceived: OnInputReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs index 2756d20e4b..04015732a0 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomGameControllerFactory(::windows_core::IUnknown); impl ICustomGameControllerFactory { pub fn CreateGameController(&self, provider: P0) -> ::windows_core::Result<::windows_core::IInspectable> @@ -28,28 +29,12 @@ impl ICustomGameControllerFactory { } } ::windows_core::imp::interface_hierarchy!(ICustomGameControllerFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICustomGameControllerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICustomGameControllerFactory {} -impl ::core::fmt::Debug for ICustomGameControllerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICustomGameControllerFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICustomGameControllerFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{69a0ae5e-758e-4cbe-ace6-62155fe9126f}"); } unsafe impl ::windows_core::Interface for ICustomGameControllerFactory { type Vtable = ICustomGameControllerFactory_Vtbl; } -impl ::core::clone::Clone for ICustomGameControllerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomGameControllerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69a0ae5e_758e_4cbe_ace6_62155fe9126f); } @@ -63,15 +48,11 @@ pub struct ICustomGameControllerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerFactoryManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameControllerFactoryManagerStatics { type Vtable = IGameControllerFactoryManagerStatics_Vtbl; } -impl ::core::clone::Clone for IGameControllerFactoryManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerFactoryManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36cb66e3_d0a1_4986_a24c_40b137deba9e); } @@ -85,15 +66,11 @@ pub struct IGameControllerFactoryManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerFactoryManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameControllerFactoryManagerStatics2 { type Vtable = IGameControllerFactoryManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IGameControllerFactoryManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerFactoryManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeace5644_19df_4115_b32a_2793e2aea3bb); } @@ -105,6 +82,7 @@ pub struct IGameControllerFactoryManagerStatics2_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerInputSink(::windows_core::IUnknown); impl IGameControllerInputSink { pub fn OnInputResumed(&self, timestamp: u64) -> ::windows_core::Result<()> { @@ -117,28 +95,12 @@ impl IGameControllerInputSink { } } ::windows_core::imp::interface_hierarchy!(IGameControllerInputSink, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGameControllerInputSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameControllerInputSink {} -impl ::core::fmt::Debug for IGameControllerInputSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameControllerInputSink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGameControllerInputSink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1ff6f922-c640-4c78-a820-9a715c558bcb}"); } unsafe impl ::windows_core::Interface for IGameControllerInputSink { type Vtable = IGameControllerInputSink_Vtbl; } -impl ::core::clone::Clone for IGameControllerInputSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerInputSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ff6f922_c640_4c78_a820_9a715c558bcb); } @@ -151,6 +113,7 @@ pub struct IGameControllerInputSink_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerProvider(::windows_core::IUnknown); impl IGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows_core::Result { @@ -190,28 +153,12 @@ impl IGameControllerProvider { } } ::windows_core::imp::interface_hierarchy!(IGameControllerProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGameControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameControllerProvider {} -impl ::core::fmt::Debug for IGameControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGameControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e6d73982-2996-4559-b16c-3e57d46e58d6}"); } unsafe impl ::windows_core::Interface for IGameControllerProvider { type Vtable = IGameControllerProvider_Vtbl; } -impl ::core::clone::Clone for IGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6d73982_2996_4559_b16c_3e57d46e58d6); } @@ -227,15 +174,11 @@ pub struct IGameControllerProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGipFirmwareUpdateResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGipFirmwareUpdateResult { type Vtable = IGipFirmwareUpdateResult_Vtbl; } -impl ::core::clone::Clone for IGipFirmwareUpdateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGipFirmwareUpdateResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b794d32_8553_4292_8e03_e16651a2f8bc); } @@ -249,6 +192,7 @@ pub struct IGipFirmwareUpdateResult_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGipGameControllerInputSink(::windows_core::IUnknown); impl IGipGameControllerInputSink { pub fn OnKeyReceived(&self, timestamp: u64, keycode: u8, ispressed: bool) -> ::windows_core::Result<()> { @@ -270,28 +214,12 @@ impl IGipGameControllerInputSink { } ::windows_core::imp::interface_hierarchy!(IGipGameControllerInputSink, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IGipGameControllerInputSink {} -impl ::core::cmp::PartialEq for IGipGameControllerInputSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGipGameControllerInputSink {} -impl ::core::fmt::Debug for IGipGameControllerInputSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGipGameControllerInputSink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGipGameControllerInputSink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a2108abf-09f1-43bc-a140-80f899ec36fb}"); } unsafe impl ::windows_core::Interface for IGipGameControllerInputSink { type Vtable = IGipGameControllerInputSink_Vtbl; } -impl ::core::clone::Clone for IGipGameControllerInputSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGipGameControllerInputSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2108abf_09f1_43bc_a140_80f899ec36fb); } @@ -304,15 +232,11 @@ pub struct IGipGameControllerInputSink_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGipGameControllerProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGipGameControllerProvider { type Vtable = IGipGameControllerProvider_Vtbl; } -impl ::core::clone::Clone for IGipGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGipGameControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbcf1e19_1af5_45a8_bf02_a0ee50c823fc); } @@ -329,6 +253,7 @@ pub struct IGipGameControllerProvider_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidGameControllerInputSink(::windows_core::IUnknown); impl IHidGameControllerInputSink { pub fn OnInputReportReceived(&self, timestamp: u64, reportid: u8, reportbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -346,28 +271,12 @@ impl IHidGameControllerInputSink { } ::windows_core::imp::interface_hierarchy!(IHidGameControllerInputSink, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IHidGameControllerInputSink {} -impl ::core::cmp::PartialEq for IHidGameControllerInputSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHidGameControllerInputSink {} -impl ::core::fmt::Debug for IHidGameControllerInputSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHidGameControllerInputSink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IHidGameControllerInputSink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f754c322-182d-40e4-a126-fcee4ffa1e31}"); } unsafe impl ::windows_core::Interface for IHidGameControllerInputSink { type Vtable = IHidGameControllerInputSink_Vtbl; } -impl ::core::clone::Clone for IHidGameControllerInputSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidGameControllerInputSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf754c322_182d_40e4_a126_fcee4ffa1e31); } @@ -379,15 +288,11 @@ pub struct IHidGameControllerInputSink_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHidGameControllerProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHidGameControllerProvider { type Vtable = IHidGameControllerProvider_Vtbl; } -impl ::core::clone::Clone for IHidGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHidGameControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95ce3af4_abf0_4b68_a081_3b7de73ff0e7); } @@ -403,6 +308,7 @@ pub struct IHidGameControllerProvider_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXusbGameControllerInputSink(::windows_core::IUnknown); impl IXusbGameControllerInputSink { pub fn OnInputReceived(&self, timestamp: u64, reportid: u8, inputbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -420,28 +326,12 @@ impl IXusbGameControllerInputSink { } ::windows_core::imp::interface_hierarchy!(IXusbGameControllerInputSink, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IXusbGameControllerInputSink {} -impl ::core::cmp::PartialEq for IXusbGameControllerInputSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXusbGameControllerInputSink {} -impl ::core::fmt::Debug for IXusbGameControllerInputSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXusbGameControllerInputSink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IXusbGameControllerInputSink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b2ac1d95-6ecb-42b3-8aab-025401ca4712}"); } unsafe impl ::windows_core::Interface for IXusbGameControllerInputSink { type Vtable = IXusbGameControllerInputSink_Vtbl; } -impl ::core::clone::Clone for IXusbGameControllerInputSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXusbGameControllerInputSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2ac1d95_6ecb_42b3_8aab_025401ca4712); } @@ -453,15 +343,11 @@ pub struct IXusbGameControllerInputSink_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXusbGameControllerProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXusbGameControllerProvider { type Vtable = IXusbGameControllerProvider_Vtbl; } -impl ::core::clone::Clone for IXusbGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXusbGameControllerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e2971eb_0efb_48b4_808b_837643b2f216); } @@ -518,6 +404,7 @@ impl ::windows_core::RuntimeName for GameControllerFactoryManager { } #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GipFirmwareUpdateResult(::windows_core::IUnknown); impl GipFirmwareUpdateResult { pub fn ExtendedErrorCode(&self) -> ::windows_core::Result { @@ -542,25 +429,9 @@ impl GipFirmwareUpdateResult { } } } -impl ::core::cmp::PartialEq for GipFirmwareUpdateResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GipFirmwareUpdateResult {} -impl ::core::fmt::Debug for GipFirmwareUpdateResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GipFirmwareUpdateResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GipFirmwareUpdateResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipFirmwareUpdateResult;{6b794d32-8553-4292-8e03-e16651a2f8bc})"); } -impl ::core::clone::Clone for GipFirmwareUpdateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GipFirmwareUpdateResult { type Vtable = IGipFirmwareUpdateResult_Vtbl; } @@ -575,6 +446,7 @@ unsafe impl ::core::marker::Send for GipFirmwareUpdateResult {} unsafe impl ::core::marker::Sync for GipFirmwareUpdateResult {} #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GipGameControllerProvider(::windows_core::IUnknown); impl GipGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows_core::Result { @@ -633,25 +505,9 @@ impl GipGameControllerProvider { } } } -impl ::core::cmp::PartialEq for GipGameControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GipGameControllerProvider {} -impl ::core::fmt::Debug for GipGameControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GipGameControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GipGameControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.GipGameControllerProvider;{dbcf1e19-1af5-45a8-bf02-a0ee50c823fc})"); } -impl ::core::clone::Clone for GipGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GipGameControllerProvider { type Vtable = IGipGameControllerProvider_Vtbl; } @@ -667,6 +523,7 @@ unsafe impl ::core::marker::Send for GipGameControllerProvider {} unsafe impl ::core::marker::Sync for GipGameControllerProvider {} #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HidGameControllerProvider(::windows_core::IUnknown); impl HidGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows_core::Result { @@ -731,25 +588,9 @@ impl HidGameControllerProvider { unsafe { (::windows_core::Interface::vtable(this).SendOutputReport)(::windows_core::Interface::as_raw(this), reportid, reportbuffer.len() as u32, reportbuffer.as_ptr()).ok() } } } -impl ::core::cmp::PartialEq for HidGameControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HidGameControllerProvider {} -impl ::core::fmt::Debug for HidGameControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HidGameControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HidGameControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.HidGameControllerProvider;{95ce3af4-abf0-4b68-a081-3b7de73ff0e7})"); } -impl ::core::clone::Clone for HidGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HidGameControllerProvider { type Vtable = IHidGameControllerProvider_Vtbl; } @@ -765,6 +606,7 @@ unsafe impl ::core::marker::Send for HidGameControllerProvider {} unsafe impl ::core::marker::Sync for HidGameControllerProvider {} #[doc = "*Required features: `\"Gaming_Input_Custom\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XusbGameControllerProvider(::windows_core::IUnknown); impl XusbGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> ::windows_core::Result { @@ -807,25 +649,9 @@ impl XusbGameControllerProvider { unsafe { (::windows_core::Interface::vtable(this).SetVibration)(::windows_core::Interface::as_raw(this), lowfrequencymotorspeed, highfrequencymotorspeed).ok() } } } -impl ::core::cmp::PartialEq for XusbGameControllerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XusbGameControllerProvider {} -impl ::core::fmt::Debug for XusbGameControllerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XusbGameControllerProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XusbGameControllerProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Custom.XusbGameControllerProvider;{6e2971eb-0efb-48b4-808b-837643b2f216})"); } -impl ::core::clone::Clone for XusbGameControllerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XusbGameControllerProvider { type Vtable = IXusbGameControllerProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs index aa84f899a5..4826d8c45f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs @@ -57,7 +57,7 @@ impl IForceFeedbackEffect_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs index 6bbf3fba7e..ccc67ad99b 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConditionForceEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConditionForceEffect { type Vtable = IConditionForceEffect_Vtbl; } -impl ::core::clone::Clone for IConditionForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConditionForceEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32d1ea68_3695_4e69_85c0_cd1944189140); } @@ -24,15 +20,11 @@ pub struct IConditionForceEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConditionForceEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConditionForceEffectFactory { type Vtable = IConditionForceEffectFactory_Vtbl; } -impl ::core::clone::Clone for IConditionForceEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConditionForceEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91a99264_1810_4eb6_a773_bfd3b8cddbab); } @@ -44,15 +36,11 @@ pub struct IConditionForceEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConstantForceEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConstantForceEffect { type Vtable = IConstantForceEffect_Vtbl; } -impl ::core::clone::Clone for IConstantForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConstantForceEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bfa0140_f3c7_415c_b068_0f068734bce0); } @@ -71,6 +59,7 @@ pub struct IConstantForceEffect_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IForceFeedbackEffect(::windows_core::IUnknown); impl IForceFeedbackEffect { pub fn Gain(&self) -> ::windows_core::Result { @@ -101,28 +90,12 @@ impl IForceFeedbackEffect { } } ::windows_core::imp::interface_hierarchy!(IForceFeedbackEffect, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IForceFeedbackEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IForceFeedbackEffect {} -impl ::core::fmt::Debug for IForceFeedbackEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IForceFeedbackEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IForceFeedbackEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a17fba0c-2ae4-48c2-8063-eabd0777cb89}"); } unsafe impl ::windows_core::Interface for IForceFeedbackEffect { type Vtable = IForceFeedbackEffect_Vtbl; } -impl ::core::clone::Clone for IForceFeedbackEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IForceFeedbackEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa17fba0c_2ae4_48c2_8063_eabd0777cb89); } @@ -138,15 +111,11 @@ pub struct IForceFeedbackEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IForceFeedbackMotor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IForceFeedbackMotor { type Vtable = IForceFeedbackMotor_Vtbl; } -impl ::core::clone::Clone for IForceFeedbackMotor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IForceFeedbackMotor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d3d417c_a5ea_4516_8026_2b00f74ef6e5); } @@ -185,15 +154,11 @@ pub struct IForceFeedbackMotor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeriodicForceEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeriodicForceEffect { type Vtable = IPeriodicForceEffect_Vtbl; } -impl ::core::clone::Clone for IPeriodicForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeriodicForceEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c5138d7_fc75_4d52_9a0a_efe4cab5fe64); } @@ -213,15 +178,11 @@ pub struct IPeriodicForceEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeriodicForceEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeriodicForceEffectFactory { type Vtable = IPeriodicForceEffectFactory_Vtbl; } -impl ::core::clone::Clone for IPeriodicForceEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeriodicForceEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f62eb1a_9851_477b_b318_35ecaa15070f); } @@ -233,15 +194,11 @@ pub struct IPeriodicForceEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRampForceEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRampForceEffect { type Vtable = IRampForceEffect_Vtbl; } -impl ::core::clone::Clone for IRampForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRampForceEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1f81259_1ca6_4080_b56d_b43f3354d052); } @@ -260,6 +217,7 @@ pub struct IRampForceEffect_Vtbl { } #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConditionForceEffect(::windows_core::IUnknown); impl ConditionForceEffect { pub fn Kind(&self) -> ::windows_core::Result { @@ -313,25 +271,9 @@ impl ConditionForceEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ConditionForceEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConditionForceEffect {} -impl ::core::fmt::Debug for ConditionForceEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConditionForceEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConditionForceEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConditionForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } -impl ::core::clone::Clone for ConditionForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConditionForceEffect { type Vtable = IForceFeedbackEffect_Vtbl; } @@ -347,6 +289,7 @@ unsafe impl ::core::marker::Send for ConditionForceEffect {} unsafe impl ::core::marker::Sync for ConditionForceEffect {} #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConstantForceEffect(::windows_core::IUnknown); impl ConstantForceEffect { pub fn new() -> ::windows_core::Result { @@ -395,25 +338,9 @@ impl ConstantForceEffect { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ConstantForceEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConstantForceEffect {} -impl ::core::fmt::Debug for ConstantForceEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConstantForceEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConstantForceEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ConstantForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } -impl ::core::clone::Clone for ConstantForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConstantForceEffect { type Vtable = IForceFeedbackEffect_Vtbl; } @@ -429,6 +356,7 @@ unsafe impl ::core::marker::Send for ConstantForceEffect {} unsafe impl ::core::marker::Sync for ConstantForceEffect {} #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ForceFeedbackMotor(::windows_core::IUnknown); impl ForceFeedbackMotor { pub fn AreEffectsPaused(&self) -> ::windows_core::Result { @@ -527,25 +455,9 @@ impl ForceFeedbackMotor { } } } -impl ::core::cmp::PartialEq for ForceFeedbackMotor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ForceFeedbackMotor {} -impl ::core::fmt::Debug for ForceFeedbackMotor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ForceFeedbackMotor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ForceFeedbackMotor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.ForceFeedbackMotor;{8d3d417c-a5ea-4516-8026-2b00f74ef6e5})"); } -impl ::core::clone::Clone for ForceFeedbackMotor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ForceFeedbackMotor { type Vtable = IForceFeedbackMotor_Vtbl; } @@ -560,6 +472,7 @@ unsafe impl ::core::marker::Send for ForceFeedbackMotor {} unsafe impl ::core::marker::Sync for ForceFeedbackMotor {} #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PeriodicForceEffect(::windows_core::IUnknown); impl PeriodicForceEffect { pub fn Gain(&self) -> ::windows_core::Result { @@ -619,25 +532,9 @@ impl PeriodicForceEffect { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PeriodicForceEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PeriodicForceEffect {} -impl ::core::fmt::Debug for PeriodicForceEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PeriodicForceEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PeriodicForceEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.PeriodicForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } -impl ::core::clone::Clone for PeriodicForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PeriodicForceEffect { type Vtable = IForceFeedbackEffect_Vtbl; } @@ -653,6 +550,7 @@ unsafe impl ::core::marker::Send for PeriodicForceEffect {} unsafe impl ::core::marker::Sync for PeriodicForceEffect {} #[doc = "*Required features: `\"Gaming_Input_ForceFeedback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RampForceEffect(::windows_core::IUnknown); impl RampForceEffect { pub fn new() -> ::windows_core::Result { @@ -701,25 +599,9 @@ impl RampForceEffect { unsafe { (::windows_core::Interface::vtable(this).SetParametersWithEnvelope)(::windows_core::Interface::as_raw(this), startvector, endvector, attackgain, sustaingain, releasegain, startdelay, attackduration, sustainduration, releaseduration, repeatcount).ok() } } } -impl ::core::cmp::PartialEq for RampForceEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RampForceEffect {} -impl ::core::fmt::Debug for RampForceEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RampForceEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RampForceEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ForceFeedback.RampForceEffect;{a17fba0c-2ae4-48c2-8063-eabd0777cb89})"); } -impl ::core::clone::Clone for RampForceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RampForceEffect { type Vtable = IForceFeedbackEffect_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs index 274d753a74..5e96c77491 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerProviderInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameControllerProviderInfoStatics { type Vtable = IGameControllerProviderInfoStatics_Vtbl; } -impl ::core::clone::Clone for IGameControllerProviderInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerProviderInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0be1e6c5_d9bd_44ee_8362_488b2e464bfb); } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs index d3036476fc..9241f97533 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs @@ -114,8 +114,8 @@ impl IGameController_Vtbl { User: User::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input\"`, `\"Devices_Power\"`, `\"implement\"`*"] @@ -147,7 +147,7 @@ impl IGameControllerBatteryInfo_Vtbl { TryGetBatteryReport: TryGetBatteryReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index 8a125d0b82..29b57afd7f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -6,15 +6,11 @@ pub mod ForceFeedback; pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IArcadeStick(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IArcadeStick { type Vtable = IArcadeStick_Vtbl; } -impl ::core::clone::Clone for IArcadeStick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IArcadeStick { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb14a539d_befb_4c81_8051_15ecf3b13036); } @@ -27,15 +23,11 @@ pub struct IArcadeStick_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IArcadeStickStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IArcadeStickStatics { type Vtable = IArcadeStickStatics_Vtbl; } -impl ::core::clone::Clone for IArcadeStickStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IArcadeStickStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c37b8c8_37b1_4ad8_9458_200f1a30018e); } @@ -66,15 +58,11 @@ pub struct IArcadeStickStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IArcadeStickStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IArcadeStickStatics2 { type Vtable = IArcadeStickStatics2_Vtbl; } -impl ::core::clone::Clone for IArcadeStickStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IArcadeStickStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52b5d744_bb86_445a_b59c_596f0e2a49df); } @@ -86,15 +74,11 @@ pub struct IArcadeStickStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFlightStick(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFlightStick { type Vtable = IFlightStick_Vtbl; } -impl ::core::clone::Clone for IFlightStick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFlightStick { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4a2c01c_b83b_4459_a1a9_97b03c33da7c); } @@ -108,15 +92,11 @@ pub struct IFlightStick_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFlightStickStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFlightStickStatics { type Vtable = IFlightStickStatics_Vtbl; } -impl ::core::clone::Clone for IFlightStickStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFlightStickStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5514924a_fecc_435e_83dc_5cec8a18a520); } @@ -148,6 +128,7 @@ pub struct IFlightStickStatics_Vtbl { } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameController(::windows_core::IUnknown); impl IGameController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -229,28 +210,12 @@ impl IGameController { } } ::windows_core::imp::interface_hierarchy!(IGameController, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGameController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameController {} -impl ::core::fmt::Debug for IGameController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGameController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1baf6522-5f64-42c5-8267-b9fe2215bfbd}"); } unsafe impl ::windows_core::Interface for IGameController { type Vtable = IGameController_Vtbl; } -impl ::core::clone::Clone for IGameController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1baf6522_5f64_42c5_8267_b9fe2215bfbd); } @@ -291,6 +256,7 @@ pub struct IGameController_Vtbl { } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameControllerBatteryInfo(::windows_core::IUnknown); impl IGameControllerBatteryInfo { #[doc = "*Required features: `\"Devices_Power\"`*"] @@ -304,28 +270,12 @@ impl IGameControllerBatteryInfo { } } ::windows_core::imp::interface_hierarchy!(IGameControllerBatteryInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGameControllerBatteryInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameControllerBatteryInfo {} -impl ::core::fmt::Debug for IGameControllerBatteryInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameControllerBatteryInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGameControllerBatteryInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{dcecc681-3963-4da6-955d-553f3b6f6161}"); } unsafe impl ::windows_core::Interface for IGameControllerBatteryInfo { type Vtable = IGameControllerBatteryInfo_Vtbl; } -impl ::core::clone::Clone for IGameControllerBatteryInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameControllerBatteryInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcecc681_3963_4da6_955d_553f3b6f6161); } @@ -340,15 +290,11 @@ pub struct IGameControllerBatteryInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGamepad(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGamepad { type Vtable = IGamepad_Vtbl; } -impl ::core::clone::Clone for IGamepad { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGamepad { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc7bb43c_0a69_3903_9e9d_a50f86a45de5); } @@ -362,15 +308,11 @@ pub struct IGamepad_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGamepad2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGamepad2 { type Vtable = IGamepad2_Vtbl; } -impl ::core::clone::Clone for IGamepad2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGamepad2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c1689bd_5915_4245_b0c0_c89fae0308ff); } @@ -382,15 +324,11 @@ pub struct IGamepad2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGamepadStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGamepadStatics { type Vtable = IGamepadStatics_Vtbl; } -impl ::core::clone::Clone for IGamepadStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGamepadStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bbce529_d49c_39e9_9560_e47dde96b7c8); } @@ -421,15 +359,11 @@ pub struct IGamepadStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGamepadStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGamepadStatics2 { type Vtable = IGamepadStatics2_Vtbl; } -impl ::core::clone::Clone for IGamepadStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGamepadStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42676dc5_0856_47c4_9213_b395504c3a3c); } @@ -441,15 +375,11 @@ pub struct IGamepadStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeadset(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHeadset { type Vtable = IHeadset_Vtbl; } -impl ::core::clone::Clone for IHeadset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHeadset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fd156ef_6925_3fa8_9181_029c5223ae3b); } @@ -462,15 +392,11 @@ pub struct IHeadset_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRacingWheel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRacingWheel { type Vtable = IRacingWheel_Vtbl; } -impl ::core::clone::Clone for IRacingWheel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRacingWheel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf546656f_e106_4c82_a90f_554012904b85); } @@ -492,15 +418,11 @@ pub struct IRacingWheel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRacingWheelStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRacingWheelStatics { type Vtable = IRacingWheelStatics_Vtbl; } -impl ::core::clone::Clone for IRacingWheelStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRacingWheelStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ac12cd5_581b_4936_9f94_69f1e6514c7d); } @@ -531,15 +453,11 @@ pub struct IRacingWheelStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRacingWheelStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRacingWheelStatics2 { type Vtable = IRacingWheelStatics2_Vtbl; } -impl ::core::clone::Clone for IRacingWheelStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRacingWheelStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe666bcaa_edfd_4323_a9f6_3c384048d1ed); } @@ -551,15 +469,11 @@ pub struct IRacingWheelStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawGameController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawGameController { type Vtable = IRawGameController_Vtbl; } -impl ::core::clone::Clone for IRawGameController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawGameController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cad6d91_a7e1_4f71_9a78_33e9c5dfea62); } @@ -582,15 +496,11 @@ pub struct IRawGameController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawGameController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawGameController2 { type Vtable = IRawGameController2_Vtbl; } -impl ::core::clone::Clone for IRawGameController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawGameController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43c0c035_bb73_4756_a787_3ed6bea617bd); } @@ -607,15 +517,11 @@ pub struct IRawGameController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawGameControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawGameControllerStatics { type Vtable = IRawGameControllerStatics_Vtbl; } -impl ::core::clone::Clone for IRawGameControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawGameControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb8d0792_e95a_4b19_afc7_0a59f8bf759e); } @@ -647,15 +553,11 @@ pub struct IRawGameControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUINavigationController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUINavigationController { type Vtable = IUINavigationController_Vtbl; } -impl ::core::clone::Clone for IUINavigationController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUINavigationController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5aeefdd_f50e_4a55_8cdc_d33229548175); } @@ -669,15 +571,11 @@ pub struct IUINavigationController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUINavigationControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUINavigationControllerStatics { type Vtable = IUINavigationControllerStatics_Vtbl; } -impl ::core::clone::Clone for IUINavigationControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUINavigationControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f14930a_f6f8_4a48_8d89_94786cca0c2e); } @@ -708,15 +606,11 @@ pub struct IUINavigationControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUINavigationControllerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUINavigationControllerStatics2 { type Vtable = IUINavigationControllerStatics2_Vtbl; } -impl ::core::clone::Clone for IUINavigationControllerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUINavigationControllerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0cb28e3_b20b_4b0b_9ed4_f3d53cec0de4); } @@ -728,6 +622,7 @@ pub struct IUINavigationControllerStatics2_Vtbl { } #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ArcadeStick(::windows_core::IUnknown); impl ArcadeStick { pub fn GetButtonLabel(&self, button: ArcadeStickButtons) -> ::windows_core::Result { @@ -890,25 +785,9 @@ impl ArcadeStick { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ArcadeStick { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ArcadeStick {} -impl ::core::fmt::Debug for ArcadeStick { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ArcadeStick").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ArcadeStick { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.ArcadeStick;{b14a539d-befb-4c81-8051-15ecf3b13036})"); } -impl ::core::clone::Clone for ArcadeStick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ArcadeStick { type Vtable = IArcadeStick_Vtbl; } @@ -925,6 +804,7 @@ unsafe impl ::core::marker::Send for ArcadeStick {} unsafe impl ::core::marker::Sync for ArcadeStick {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FlightStick(::windows_core::IUnknown); impl FlightStick { pub fn HatSwitchKind(&self) -> ::windows_core::Result { @@ -1089,25 +969,9 @@ impl FlightStick { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FlightStick { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FlightStick {} -impl ::core::fmt::Debug for FlightStick { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FlightStick").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FlightStick { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.FlightStick;{b4a2c01c-b83b-4459-a1a9-97b03c33da7c})"); } -impl ::core::clone::Clone for FlightStick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FlightStick { type Vtable = IFlightStick_Vtbl; } @@ -1124,6 +988,7 @@ unsafe impl ::core::marker::Send for FlightStick {} unsafe impl ::core::marker::Sync for FlightStick {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Gamepad(::windows_core::IUnknown); impl Gamepad { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1297,25 +1162,9 @@ impl Gamepad { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Gamepad { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Gamepad {} -impl ::core::fmt::Debug for Gamepad { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Gamepad").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Gamepad { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Gamepad;{bc7bb43c-0a69-3903-9e9d-a50f86a45de5})"); } -impl ::core::clone::Clone for Gamepad { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Gamepad { type Vtable = IGamepad_Vtbl; } @@ -1332,6 +1181,7 @@ unsafe impl ::core::marker::Send for Gamepad {} unsafe impl ::core::marker::Sync for Gamepad {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Headset(::windows_core::IUnknown); impl Headset { #[doc = "*Required features: `\"Devices_Power\"`*"] @@ -1358,25 +1208,9 @@ impl Headset { } } } -impl ::core::cmp::PartialEq for Headset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Headset {} -impl ::core::fmt::Debug for Headset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Headset").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Headset { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.Headset;{3fd156ef-6925-3fa8-9181-029c5223ae3b})"); } -impl ::core::clone::Clone for Headset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Headset { type Vtable = IHeadset_Vtbl; } @@ -1392,6 +1226,7 @@ unsafe impl ::core::marker::Send for Headset {} unsafe impl ::core::marker::Sync for Headset {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RacingWheel(::windows_core::IUnknown); impl RacingWheel { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1598,25 +1433,9 @@ impl RacingWheel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RacingWheel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RacingWheel {} -impl ::core::fmt::Debug for RacingWheel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RacingWheel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RacingWheel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RacingWheel;{f546656f-e106-4c82-a90f-554012904b85})"); } -impl ::core::clone::Clone for RacingWheel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RacingWheel { type Vtable = IRacingWheel_Vtbl; } @@ -1633,6 +1452,7 @@ unsafe impl ::core::marker::Send for RacingWheel {} unsafe impl ::core::marker::Sync for RacingWheel {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RawGameController(::windows_core::IUnknown); impl RawGameController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1864,25 +1684,9 @@ impl RawGameController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RawGameController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RawGameController {} -impl ::core::fmt::Debug for RawGameController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RawGameController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RawGameController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.RawGameController;{7cad6d91-a7e1-4f71-9a78-33e9c5dfea62})"); } -impl ::core::clone::Clone for RawGameController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RawGameController { type Vtable = IRawGameController_Vtbl; } @@ -1899,6 +1703,7 @@ unsafe impl ::core::marker::Send for RawGameController {} unsafe impl ::core::marker::Sync for RawGameController {} #[doc = "*Required features: `\"Gaming_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UINavigationController(::windows_core::IUnknown); impl UINavigationController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2068,25 +1873,9 @@ impl UINavigationController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UINavigationController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UINavigationController {} -impl ::core::fmt::Debug for UINavigationController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UINavigationController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UINavigationController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Input.UINavigationController;{e5aeefdd-f50e-4a55-8cdc-d33229548175})"); } -impl ::core::clone::Clone for UINavigationController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UINavigationController { type Vtable = IUINavigationController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs index 95a8c6c7ed..bca025588c 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs @@ -82,7 +82,7 @@ impl IGameListEntry_Vtbl { SetCategoryAsync: SetCategoryAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs index d14cc2e8a8..198c443e74 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameListEntry(::windows_core::IUnknown); impl IGameListEntry { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -47,28 +48,12 @@ impl IGameListEntry { } } ::windows_core::imp::interface_hierarchy!(IGameListEntry, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGameListEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameListEntry {} -impl ::core::fmt::Debug for IGameListEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameListEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGameListEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{735924d3-811f-4494-b69c-c641a0c61543}"); } unsafe impl ::windows_core::Interface for IGameListEntry { type Vtable = IGameListEntry_Vtbl; } -impl ::core::clone::Clone for IGameListEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameListEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x735924d3_811f_4494_b69c_c641a0c61543); } @@ -96,15 +81,11 @@ pub struct IGameListEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameListEntry2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameListEntry2 { type Vtable = IGameListEntry2_Vtbl; } -impl ::core::clone::Clone for IGameListEntry2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameListEntry2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd84a8f8b_8749_4a25_90d3_f6c5a427886d); } @@ -135,15 +116,11 @@ pub struct IGameListEntry2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameListStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameListStatics { type Vtable = IGameListStatics_Vtbl; } -impl ::core::clone::Clone for IGameListStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameListStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ddd0f6f_9c66_4b05_945c_d6ed78491b8c); } @@ -186,15 +163,11 @@ pub struct IGameListStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameListStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameListStatics2 { type Vtable = IGameListStatics2_Vtbl; } -impl ::core::clone::Clone for IGameListStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameListStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x395f2098_ea1a_45aa_9268_a83905686f27); } @@ -213,15 +186,11 @@ pub struct IGameListStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameModeConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameModeConfiguration { type Vtable = IGameModeConfiguration_Vtbl; } -impl ::core::clone::Clone for IGameModeConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameModeConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78e591af_b142_4ef0_8830_55bc2be4f5ea); } @@ -292,15 +261,11 @@ pub struct IGameModeConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameModeUserConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameModeUserConfiguration { type Vtable = IGameModeUserConfiguration_Vtbl; } -impl ::core::clone::Clone for IGameModeUserConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameModeUserConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72d34af4_756b_470f_a0c2_ba62a90795db); } @@ -319,15 +284,11 @@ pub struct IGameModeUserConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameModeUserConfigurationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameModeUserConfigurationStatics { type Vtable = IGameModeUserConfigurationStatics_Vtbl; } -impl ::core::clone::Clone for IGameModeUserConfigurationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameModeUserConfigurationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e50d97c_66ea_478e_a4a1_f57c0e8d00e7); } @@ -443,6 +404,7 @@ impl ::windows_core::RuntimeName for GameList { } #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameListEntry(::windows_core::IUnknown); impl GameListEntry { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -559,25 +521,9 @@ impl GameListEntry { } } } -impl ::core::cmp::PartialEq for GameListEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameListEntry {} -impl ::core::fmt::Debug for GameListEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameListEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameListEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameListEntry;{735924d3-811f-4494-b69c-c641a0c61543})"); } -impl ::core::clone::Clone for GameListEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameListEntry { type Vtable = IGameListEntry_Vtbl; } @@ -593,6 +539,7 @@ unsafe impl ::core::marker::Send for GameListEntry {} unsafe impl ::core::marker::Sync for GameListEntry {} #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameModeConfiguration(::windows_core::IUnknown); impl GameModeConfiguration { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -744,25 +691,9 @@ impl GameModeConfiguration { } } } -impl ::core::cmp::PartialEq for GameModeConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameModeConfiguration {} -impl ::core::fmt::Debug for GameModeConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameModeConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameModeConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeConfiguration;{78e591af-b142-4ef0-8830-55bc2be4f5ea})"); } -impl ::core::clone::Clone for GameModeConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameModeConfiguration { type Vtable = IGameModeConfiguration_Vtbl; } @@ -777,6 +708,7 @@ unsafe impl ::core::marker::Send for GameModeConfiguration {} unsafe impl ::core::marker::Sync for GameModeConfiguration {} #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameModeUserConfiguration(::windows_core::IUnknown); impl GameModeUserConfiguration { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -809,25 +741,9 @@ impl GameModeUserConfiguration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GameModeUserConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameModeUserConfiguration {} -impl ::core::fmt::Debug for GameModeUserConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameModeUserConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameModeUserConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.Preview.GamesEnumeration.GameModeUserConfiguration;{72d34af4-756b-470f-a0c2-ba62a90795db})"); } -impl ::core::clone::Clone for GameModeUserConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameModeUserConfiguration { type Vtable = IGameModeUserConfiguration_Vtbl; } @@ -905,6 +821,7 @@ impl ::windows_core::RuntimeType for GameListEntryLaunchableState { } #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameListChangedEventHandler(pub ::windows_core::IUnknown); impl GameListChangedEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -930,9 +847,12 @@ impl) -> ::windows_core::Result< base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -957,25 +877,9 @@ impl) -> ::windows_core::Result< ((*this).invoke)(::windows_core::from_raw_borrowed(&game)).into() } } -impl ::core::cmp::PartialEq for GameListChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameListChangedEventHandler {} -impl ::core::fmt::Debug for GameListChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameListChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for GameListChangedEventHandler { type Vtable = GameListChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for GameListChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for GameListChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25f6a421_d8f5_4d91_b40e_53d5e86fde64); } @@ -990,6 +894,7 @@ pub struct GameListChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameListRemovedEventHandler(pub ::windows_core::IUnknown); impl GameListRemovedEventHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1012,9 +917,12 @@ impl ::windows_core::Result<()> + ::core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1039,25 +947,9 @@ impl ::windows_core::Result<()> + ::core:: ((*this).invoke)(::core::mem::transmute(&identifier)).into() } } -impl ::core::cmp::PartialEq for GameListRemovedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameListRemovedEventHandler {} -impl ::core::fmt::Debug for GameListRemovedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameListRemovedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for GameListRemovedEventHandler { type Vtable = GameListRemovedEventHandler_Vtbl; } -impl ::core::clone::Clone for GameListRemovedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for GameListRemovedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10c5648f_6c8f_4712_9b38_474bc22e76d8); } diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 066edef328..29949a8718 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarStatics { type Vtable = IGameBarStatics_Vtbl; } -impl ::core::clone::Clone for IGameBarStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1db9a292_cc78_4173_be45_b61e67283ea7); } @@ -37,15 +33,11 @@ pub struct IGameBarStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameChatMessageReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameChatMessageReceivedEventArgs { type Vtable = IGameChatMessageReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGameChatMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameChatMessageReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa28201f1_3fb9_4e42_a403_7afce2023b1e); } @@ -61,15 +53,11 @@ pub struct IGameChatMessageReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameChatOverlay(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameChatOverlay { type Vtable = IGameChatOverlay_Vtbl; } -impl ::core::clone::Clone for IGameChatOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameChatOverlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbc64865_f6fc_4a48_ae07_03ac6ed43704); } @@ -83,15 +71,11 @@ pub struct IGameChatOverlay_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameChatOverlayMessageSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameChatOverlayMessageSource { type Vtable = IGameChatOverlayMessageSource_Vtbl; } -impl ::core::clone::Clone for IGameChatOverlayMessageSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameChatOverlayMessageSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e177397_59fb_4f4f_8e9a_80acf817743c); } @@ -114,15 +98,11 @@ pub struct IGameChatOverlayMessageSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameChatOverlayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameChatOverlayStatics { type Vtable = IGameChatOverlayStatics_Vtbl; } -impl ::core::clone::Clone for IGameChatOverlayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameChatOverlayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89acf614_7867_49f7_9687_25d9dbf444d1); } @@ -134,15 +114,11 @@ pub struct IGameChatOverlayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameUIProviderActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameUIProviderActivatedEventArgs { type Vtable = IGameUIProviderActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGameUIProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameUIProviderActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7b3203e_caf7_4ded_bbd2_47de43bb6dd5); } @@ -217,6 +193,7 @@ impl ::windows_core::RuntimeName for GameBar { } #[doc = "*Required features: `\"Gaming_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameChatMessageReceivedEventArgs(::windows_core::IUnknown); impl GameChatMessageReceivedEventArgs { pub fn AppId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -255,25 +232,9 @@ impl GameChatMessageReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for GameChatMessageReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameChatMessageReceivedEventArgs {} -impl ::core::fmt::Debug for GameChatMessageReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameChatMessageReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameChatMessageReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatMessageReceivedEventArgs;{a28201f1-3fb9-4e42-a403-7afce2023b1e})"); } -impl ::core::clone::Clone for GameChatMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameChatMessageReceivedEventArgs { type Vtable = IGameChatMessageReceivedEventArgs_Vtbl; } @@ -288,6 +249,7 @@ unsafe impl ::core::marker::Send for GameChatMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for GameChatMessageReceivedEventArgs {} #[doc = "*Required features: `\"Gaming_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameChatOverlay(::windows_core::IUnknown); impl GameChatOverlay { pub fn DesiredPosition(&self) -> ::windows_core::Result { @@ -317,25 +279,9 @@ impl GameChatOverlay { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GameChatOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameChatOverlay {} -impl ::core::fmt::Debug for GameChatOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameChatOverlay").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameChatOverlay { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlay;{fbc64865-f6fc-4a48-ae07-03ac6ed43704})"); } -impl ::core::clone::Clone for GameChatOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameChatOverlay { type Vtable = IGameChatOverlay_Vtbl; } @@ -350,6 +296,7 @@ unsafe impl ::core::marker::Send for GameChatOverlay {} unsafe impl ::core::marker::Sync for GameChatOverlay {} #[doc = "*Required features: `\"Gaming_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameChatOverlayMessageSource(::windows_core::IUnknown); impl GameChatOverlayMessageSource { pub fn new() -> ::windows_core::Result { @@ -384,25 +331,9 @@ impl GameChatOverlayMessageSource { unsafe { (::windows_core::Interface::vtable(this).SetDelayBeforeClosingAfterMessageReceived)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for GameChatOverlayMessageSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameChatOverlayMessageSource {} -impl ::core::fmt::Debug for GameChatOverlayMessageSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameChatOverlayMessageSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameChatOverlayMessageSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameChatOverlayMessageSource;{1e177397-59fb-4f4f-8e9a-80acf817743c})"); } -impl ::core::clone::Clone for GameChatOverlayMessageSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameChatOverlayMessageSource { type Vtable = IGameChatOverlayMessageSource_Vtbl; } @@ -417,6 +348,7 @@ unsafe impl ::core::marker::Send for GameChatOverlayMessageSource {} unsafe impl ::core::marker::Sync for GameChatOverlayMessageSource {} #[doc = "*Required features: `\"Gaming_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameUIProviderActivatedEventArgs(::windows_core::IUnknown); impl GameUIProviderActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -465,25 +397,9 @@ impl GameUIProviderActivatedEventArgs { unsafe { (::windows_core::Interface::vtable(this).ReportCompleted)(::windows_core::Interface::as_raw(this), results.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for GameUIProviderActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameUIProviderActivatedEventArgs {} -impl ::core::fmt::Debug for GameUIProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameUIProviderActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameUIProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.UI.GameUIProviderActivatedEventArgs;{a7b3203e-caf7-4ded-bbd2-47de43bb6dd5})"); } -impl ::core::clone::Clone for GameUIProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameUIProviderActivatedEventArgs { type Vtable = IGameUIProviderActivatedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs index 7e16abb92e..66fc1ce133 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveBlobGetResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveBlobGetResult { type Vtable = IGameSaveBlobGetResult_Vtbl; } -impl ::core::clone::Clone for IGameSaveBlobGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveBlobGetResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x917281e0_7201_4953_aa2c_4008f03aef45); } @@ -24,15 +20,11 @@ pub struct IGameSaveBlobGetResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveBlobInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveBlobInfo { type Vtable = IGameSaveBlobInfo_Vtbl; } -impl ::core::clone::Clone for IGameSaveBlobInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveBlobInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadd38034_baf0_4645_b6d0_46edaffb3c2b); } @@ -45,15 +37,11 @@ pub struct IGameSaveBlobInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveBlobInfoGetResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveBlobInfoGetResult { type Vtable = IGameSaveBlobInfoGetResult_Vtbl; } -impl ::core::clone::Clone for IGameSaveBlobInfoGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveBlobInfoGetResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7578582_3697_42bf_989c_665d923b5231); } @@ -69,15 +57,11 @@ pub struct IGameSaveBlobInfoGetResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveBlobInfoQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveBlobInfoQuery { type Vtable = IGameSaveBlobInfoQuery_Vtbl; } -impl ::core::clone::Clone for IGameSaveBlobInfoQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveBlobInfoQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fdd74b2_eeee_447b_a9d2_7f96c0f83208); } @@ -100,15 +84,11 @@ pub struct IGameSaveBlobInfoQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveContainer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveContainer { type Vtable = IGameSaveContainer_Vtbl; } -impl ::core::clone::Clone for IGameSaveContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3c08f89_563f_4ecd_9c6f_33fd0e323d10); } @@ -138,15 +118,11 @@ pub struct IGameSaveContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveContainerInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveContainerInfo { type Vtable = IGameSaveContainerInfo_Vtbl; } -impl ::core::clone::Clone for IGameSaveContainerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveContainerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e27300_155d_4bb4_b2ba_930306f391b5); } @@ -165,15 +141,11 @@ pub struct IGameSaveContainerInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveContainerInfoGetResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveContainerInfoGetResult { type Vtable = IGameSaveContainerInfoGetResult_Vtbl; } -impl ::core::clone::Clone for IGameSaveContainerInfoGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveContainerInfoGetResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffc50d74_c581_4f9d_9e39_30a10c1e4c50); } @@ -189,15 +161,11 @@ pub struct IGameSaveContainerInfoGetResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveContainerInfoQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveContainerInfoQuery { type Vtable = IGameSaveContainerInfoQuery_Vtbl; } -impl ::core::clone::Clone for IGameSaveContainerInfoQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveContainerInfoQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c94e863_6f80_4327_9327_ffc11afd42b3); } @@ -220,15 +188,11 @@ pub struct IGameSaveContainerInfoQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveOperationResult { type Vtable = IGameSaveOperationResult_Vtbl; } -impl ::core::clone::Clone for IGameSaveOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf0f1a05_24a0_4582_9a55_b1bbbb9388d8); } @@ -240,15 +204,11 @@ pub struct IGameSaveOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveProvider { type Vtable = IGameSaveProvider_Vtbl; } -impl ::core::clone::Clone for IGameSaveProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90a60394_80fe_4211_97f8_a5de14dd95d2); } @@ -278,15 +238,11 @@ pub struct IGameSaveProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveProviderGetResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveProviderGetResult { type Vtable = IGameSaveProviderGetResult_Vtbl; } -impl ::core::clone::Clone for IGameSaveProviderGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveProviderGetResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ab90816_d393_4d65_ac16_41c3e67ab945); } @@ -299,15 +255,11 @@ pub struct IGameSaveProviderGetResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameSaveProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameSaveProviderStatics { type Vtable = IGameSaveProviderStatics_Vtbl; } -impl ::core::clone::Clone for IGameSaveProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameSaveProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd01d3ed0_7b03_449d_8cbd_3402842a1048); } @@ -326,6 +278,7 @@ pub struct IGameSaveProviderStatics_Vtbl { } #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveBlobGetResult(::windows_core::IUnknown); impl GameSaveBlobGetResult { pub fn Status(&self) -> ::windows_core::Result { @@ -345,25 +298,9 @@ impl GameSaveBlobGetResult { } } } -impl ::core::cmp::PartialEq for GameSaveBlobGetResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveBlobGetResult {} -impl ::core::fmt::Debug for GameSaveBlobGetResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveBlobGetResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveBlobGetResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobGetResult;{917281e0-7201-4953-aa2c-4008f03aef45})"); } -impl ::core::clone::Clone for GameSaveBlobGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveBlobGetResult { type Vtable = IGameSaveBlobGetResult_Vtbl; } @@ -378,6 +315,7 @@ unsafe impl ::core::marker::Send for GameSaveBlobGetResult {} unsafe impl ::core::marker::Sync for GameSaveBlobGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveBlobInfo(::windows_core::IUnknown); impl GameSaveBlobInfo { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -395,25 +333,9 @@ impl GameSaveBlobInfo { } } } -impl ::core::cmp::PartialEq for GameSaveBlobInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveBlobInfo {} -impl ::core::fmt::Debug for GameSaveBlobInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveBlobInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveBlobInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfo;{add38034-baf0-4645-b6d0-46edaffb3c2b})"); } -impl ::core::clone::Clone for GameSaveBlobInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveBlobInfo { type Vtable = IGameSaveBlobInfo_Vtbl; } @@ -428,6 +350,7 @@ unsafe impl ::core::marker::Send for GameSaveBlobInfo {} unsafe impl ::core::marker::Sync for GameSaveBlobInfo {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveBlobInfoGetResult(::windows_core::IUnknown); impl GameSaveBlobInfoGetResult { pub fn Status(&self) -> ::windows_core::Result { @@ -447,25 +370,9 @@ impl GameSaveBlobInfoGetResult { } } } -impl ::core::cmp::PartialEq for GameSaveBlobInfoGetResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveBlobInfoGetResult {} -impl ::core::fmt::Debug for GameSaveBlobInfoGetResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveBlobInfoGetResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveBlobInfoGetResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoGetResult;{c7578582-3697-42bf-989c-665d923b5231})"); } -impl ::core::clone::Clone for GameSaveBlobInfoGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveBlobInfoGetResult { type Vtable = IGameSaveBlobInfoGetResult_Vtbl; } @@ -480,6 +387,7 @@ unsafe impl ::core::marker::Send for GameSaveBlobInfoGetResult {} unsafe impl ::core::marker::Sync for GameSaveBlobInfoGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveBlobInfoQuery(::windows_core::IUnknown); impl GameSaveBlobInfoQuery { #[doc = "*Required features: `\"Foundation\"`*"] @@ -510,25 +418,9 @@ impl GameSaveBlobInfoQuery { } } } -impl ::core::cmp::PartialEq for GameSaveBlobInfoQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveBlobInfoQuery {} -impl ::core::fmt::Debug for GameSaveBlobInfoQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveBlobInfoQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveBlobInfoQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveBlobInfoQuery;{9fdd74b2-eeee-447b-a9d2-7f96c0f83208})"); } -impl ::core::clone::Clone for GameSaveBlobInfoQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveBlobInfoQuery { type Vtable = IGameSaveBlobInfoQuery_Vtbl; } @@ -543,6 +435,7 @@ unsafe impl ::core::marker::Send for GameSaveBlobInfoQuery {} unsafe impl ::core::marker::Sync for GameSaveBlobInfoQuery {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveContainer(::windows_core::IUnknown); impl GameSaveContainer { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -617,25 +510,9 @@ impl GameSaveContainer { } } } -impl ::core::cmp::PartialEq for GameSaveContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveContainer {} -impl ::core::fmt::Debug for GameSaveContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainer;{c3c08f89-563f-4ecd-9c6f-33fd0e323d10})"); } -impl ::core::clone::Clone for GameSaveContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveContainer { type Vtable = IGameSaveContainer_Vtbl; } @@ -650,6 +527,7 @@ unsafe impl ::core::marker::Send for GameSaveContainer {} unsafe impl ::core::marker::Sync for GameSaveContainer {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveContainerInfo(::windows_core::IUnknown); impl GameSaveContainerInfo { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -690,25 +568,9 @@ impl GameSaveContainerInfo { } } } -impl ::core::cmp::PartialEq for GameSaveContainerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveContainerInfo {} -impl ::core::fmt::Debug for GameSaveContainerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveContainerInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveContainerInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfo;{b7e27300-155d-4bb4-b2ba-930306f391b5})"); } -impl ::core::clone::Clone for GameSaveContainerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveContainerInfo { type Vtable = IGameSaveContainerInfo_Vtbl; } @@ -723,6 +585,7 @@ unsafe impl ::core::marker::Send for GameSaveContainerInfo {} unsafe impl ::core::marker::Sync for GameSaveContainerInfo {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveContainerInfoGetResult(::windows_core::IUnknown); impl GameSaveContainerInfoGetResult { pub fn Status(&self) -> ::windows_core::Result { @@ -742,25 +605,9 @@ impl GameSaveContainerInfoGetResult { } } } -impl ::core::cmp::PartialEq for GameSaveContainerInfoGetResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveContainerInfoGetResult {} -impl ::core::fmt::Debug for GameSaveContainerInfoGetResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveContainerInfoGetResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveContainerInfoGetResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoGetResult;{ffc50d74-c581-4f9d-9e39-30a10c1e4c50})"); } -impl ::core::clone::Clone for GameSaveContainerInfoGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveContainerInfoGetResult { type Vtable = IGameSaveContainerInfoGetResult_Vtbl; } @@ -775,6 +622,7 @@ unsafe impl ::core::marker::Send for GameSaveContainerInfoGetResult {} unsafe impl ::core::marker::Sync for GameSaveContainerInfoGetResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveContainerInfoQuery(::windows_core::IUnknown); impl GameSaveContainerInfoQuery { #[doc = "*Required features: `\"Foundation\"`*"] @@ -805,25 +653,9 @@ impl GameSaveContainerInfoQuery { } } } -impl ::core::cmp::PartialEq for GameSaveContainerInfoQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveContainerInfoQuery {} -impl ::core::fmt::Debug for GameSaveContainerInfoQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveContainerInfoQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveContainerInfoQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveContainerInfoQuery;{3c94e863-6f80-4327-9327-ffc11afd42b3})"); } -impl ::core::clone::Clone for GameSaveContainerInfoQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveContainerInfoQuery { type Vtable = IGameSaveContainerInfoQuery_Vtbl; } @@ -838,6 +670,7 @@ unsafe impl ::core::marker::Send for GameSaveContainerInfoQuery {} unsafe impl ::core::marker::Sync for GameSaveContainerInfoQuery {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveOperationResult(::windows_core::IUnknown); impl GameSaveOperationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -848,25 +681,9 @@ impl GameSaveOperationResult { } } } -impl ::core::cmp::PartialEq for GameSaveOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveOperationResult {} -impl ::core::fmt::Debug for GameSaveOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveOperationResult;{cf0f1a05-24a0-4582-9a55-b1bbbb9388d8})"); } -impl ::core::clone::Clone for GameSaveOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveOperationResult { type Vtable = IGameSaveOperationResult_Vtbl; } @@ -881,6 +698,7 @@ unsafe impl ::core::marker::Send for GameSaveOperationResult {} unsafe impl ::core::marker::Sync for GameSaveOperationResult {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveProvider(::windows_core::IUnknown); impl GameSaveProvider { #[doc = "*Required features: `\"System\"`*"] @@ -968,25 +786,9 @@ impl GameSaveProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GameSaveProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveProvider {} -impl ::core::fmt::Debug for GameSaveProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProvider;{90a60394-80fe-4211-97f8-a5de14dd95d2})"); } -impl ::core::clone::Clone for GameSaveProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveProvider { type Vtable = IGameSaveProvider_Vtbl; } @@ -1001,6 +803,7 @@ unsafe impl ::core::marker::Send for GameSaveProvider {} unsafe impl ::core::marker::Sync for GameSaveProvider {} #[doc = "*Required features: `\"Gaming_XboxLive_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameSaveProviderGetResult(::windows_core::IUnknown); impl GameSaveProviderGetResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1018,25 +821,9 @@ impl GameSaveProviderGetResult { } } } -impl ::core::cmp::PartialEq for GameSaveProviderGetResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameSaveProviderGetResult {} -impl ::core::fmt::Debug for GameSaveProviderGetResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameSaveProviderGetResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameSaveProviderGetResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Gaming.XboxLive.Storage.GameSaveProviderGetResult;{3ab90816-d393-4d65-ac16-41c3e67ab945})"); } -impl ::core::clone::Clone for GameSaveProviderGetResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameSaveProviderGetResult { type Vtable = IGameSaveProviderGetResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index 3b34b2910b..362ad9d25f 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICharacterGrouping(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICharacterGrouping { type Vtable = ICharacterGrouping_Vtbl; } -impl ::core::clone::Clone for ICharacterGrouping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICharacterGrouping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfae761bb_805d_4bb0_95bb_c1f7c3e8eb8e); } @@ -21,15 +17,11 @@ pub struct ICharacterGrouping_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICharacterGroupings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICharacterGroupings { type Vtable = ICharacterGroupings_Vtbl; } -impl ::core::clone::Clone for ICharacterGroupings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICharacterGroupings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8d20a75_d4cf_4055_80e5_ce169c226496); } @@ -41,15 +33,11 @@ pub struct ICharacterGroupings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICharacterGroupingsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICharacterGroupingsFactory { type Vtable = ICharacterGroupingsFactory_Vtbl; } -impl ::core::clone::Clone for ICharacterGroupingsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICharacterGroupingsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99ea9fd9_886d_4401_9f98_69c82d4c2f78); } @@ -61,6 +49,7 @@ pub struct ICharacterGroupingsFactory_Vtbl { } #[doc = "*Required features: `\"Globalization_Collation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CharacterGrouping(::windows_core::IUnknown); impl CharacterGrouping { pub fn First(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -78,25 +67,9 @@ impl CharacterGrouping { } } } -impl ::core::cmp::PartialEq for CharacterGrouping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CharacterGrouping {} -impl ::core::fmt::Debug for CharacterGrouping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CharacterGrouping").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CharacterGrouping { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGrouping;{fae761bb-805d-4bb0-95bb-c1f7c3e8eb8e})"); } -impl ::core::clone::Clone for CharacterGrouping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CharacterGrouping { type Vtable = ICharacterGrouping_Vtbl; } @@ -111,6 +84,7 @@ unsafe impl ::core::marker::Send for CharacterGrouping {} unsafe impl ::core::marker::Sync for CharacterGrouping {} #[doc = "*Required features: `\"Globalization_Collation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CharacterGroupings(::windows_core::IUnknown); impl CharacterGroupings { pub fn new() -> ::windows_core::Result { @@ -187,25 +161,9 @@ impl CharacterGroupings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CharacterGroupings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CharacterGroupings {} -impl ::core::fmt::Debug for CharacterGroupings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CharacterGroupings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CharacterGroupings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Collation.CharacterGroupings;{b8d20a75-d4cf-4055-80e5-ce169c226496})"); } -impl ::core::clone::Clone for CharacterGroupings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CharacterGroupings { type Vtable = ICharacterGroupings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index 4122718f34..c188583d04 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDateTimeFormatter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDateTimeFormatter { type Vtable = IDateTimeFormatter_Vtbl; } -impl ::core::clone::Clone for IDateTimeFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDateTimeFormatter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95eeca10_73e0_4e4b_a183_3d6ad0ba35ec); } @@ -46,15 +42,11 @@ pub struct IDateTimeFormatter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDateTimeFormatter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDateTimeFormatter2 { type Vtable = IDateTimeFormatter2_Vtbl; } -impl ::core::clone::Clone for IDateTimeFormatter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDateTimeFormatter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27c91a86_bdaa_4fd0_9e36_671d5aa5ee03); } @@ -69,15 +61,11 @@ pub struct IDateTimeFormatter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDateTimeFormatterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDateTimeFormatterFactory { type Vtable = IDateTimeFormatterFactory_Vtbl; } -impl ::core::clone::Clone for IDateTimeFormatterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDateTimeFormatterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec8d8a53_1a2e_412d_8815_3b745fb1a2a0); } @@ -107,15 +95,11 @@ pub struct IDateTimeFormatterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDateTimeFormatterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDateTimeFormatterStatics { type Vtable = IDateTimeFormatterStatics_Vtbl; } -impl ::core::clone::Clone for IDateTimeFormatterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDateTimeFormatterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfcde7c0_df4c_4a2e_9012_f47daf3f1212); } @@ -130,6 +114,7 @@ pub struct IDateTimeFormatterStatics_Vtbl { } #[doc = "*Required features: `\"Globalization_DateTimeFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DateTimeFormatter(::windows_core::IUnknown); impl DateTimeFormatter { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -367,25 +352,9 @@ impl DateTimeFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DateTimeFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DateTimeFormatter {} -impl ::core::fmt::Debug for DateTimeFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DateTimeFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DateTimeFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.DateTimeFormatting.DateTimeFormatter;{95eeca10-73e0-4e4b-a183-3d6ad0ba35ec})"); } -impl ::core::clone::Clone for DateTimeFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DateTimeFormatter { type Vtable = IDateTimeFormatter_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs index a35f851011..24fb8603e2 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageFont(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageFont { type Vtable = ILanguageFont_Vtbl; } -impl ::core::clone::Clone for ILanguageFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageFont { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb12e5c3a_b76d_459b_beeb_901151cd77d1); } @@ -33,15 +29,11 @@ pub struct ILanguageFont_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageFontGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageFontGroup { type Vtable = ILanguageFontGroup_Vtbl; } -impl ::core::clone::Clone for ILanguageFontGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageFontGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf33a7fc3_3a5c_4aea_b9ff_b39fb242f7f6); } @@ -63,15 +55,11 @@ pub struct ILanguageFontGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageFontGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageFontGroupFactory { type Vtable = ILanguageFontGroupFactory_Vtbl; } -impl ::core::clone::Clone for ILanguageFontGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageFontGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcaeac67_4e77_49c7_b856_dde934fc735b); } @@ -83,6 +71,7 @@ pub struct ILanguageFontGroupFactory_Vtbl { } #[doc = "*Required features: `\"Globalization_Fonts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LanguageFont(::windows_core::IUnknown); impl LanguageFont { pub fn FontFamily(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -127,25 +116,9 @@ impl LanguageFont { } } } -impl ::core::cmp::PartialEq for LanguageFont { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LanguageFont {} -impl ::core::fmt::Debug for LanguageFont { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LanguageFont").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LanguageFont { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFont;{b12e5c3a-b76d-459b-beeb-901151cd77d1})"); } -impl ::core::clone::Clone for LanguageFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LanguageFont { type Vtable = ILanguageFont_Vtbl; } @@ -160,6 +133,7 @@ unsafe impl ::core::marker::Send for LanguageFont {} unsafe impl ::core::marker::Sync for LanguageFont {} #[doc = "*Required features: `\"Globalization_Fonts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LanguageFontGroup(::windows_core::IUnknown); impl LanguageFontGroup { pub fn UITextFont(&self) -> ::windows_core::Result { @@ -251,25 +225,9 @@ impl LanguageFontGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LanguageFontGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LanguageFontGroup {} -impl ::core::fmt::Debug for LanguageFontGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LanguageFontGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LanguageFontGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Fonts.LanguageFontGroup;{f33a7fc3-3a5c-4aea-b9ff-b39fb242f7f6})"); } -impl ::core::clone::Clone for LanguageFontGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LanguageFontGroup { type Vtable = ILanguageFontGroup_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs index 38be6826bc..6300676af1 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs @@ -52,8 +52,8 @@ impl INumberFormatter_Vtbl { FormatDouble: FormatDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl INumberFormatter2_Vtbl { FormatDouble: FormatDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl INumberFormatterOptions_Vtbl { ResolvedGeographicRegion: ResolvedGeographicRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -347,8 +347,8 @@ impl INumberParser_Vtbl { ParseDouble: ParseDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -441,8 +441,8 @@ impl INumberRounder_Vtbl { RoundDouble: RoundDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl INumberRounderOption_Vtbl { SetNumberRounder: SetNumberRounder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl ISignedZeroOption_Vtbl { SetIsZeroSigned: SetIsZeroSigned::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -550,7 +550,7 @@ impl ISignificantDigitsOption_Vtbl { SetSignificantDigits: SetSignificantDigits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 04747241f0..c62df543f5 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyFormatter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyFormatter { type Vtable = ICurrencyFormatter_Vtbl; } -impl ::core::clone::Clone for ICurrencyFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyFormatter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11730ca5_4b00_41b2_b332_73b12a497d54); } @@ -24,15 +20,11 @@ pub struct ICurrencyFormatter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyFormatter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyFormatter2 { type Vtable = ICurrencyFormatter2_Vtbl; } -impl ::core::clone::Clone for ICurrencyFormatter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyFormatter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x072c2f1d_e7ba_4197_920e_247c92f7dea6); } @@ -46,15 +38,11 @@ pub struct ICurrencyFormatter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyFormatterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyFormatterFactory { type Vtable = ICurrencyFormatterFactory_Vtbl; } -impl ::core::clone::Clone for ICurrencyFormatterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyFormatterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86c7537e_b938_4aa2_84b0_2c33dc5b1450); } @@ -70,15 +58,11 @@ pub struct ICurrencyFormatterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDecimalFormatterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDecimalFormatterFactory { type Vtable = IDecimalFormatterFactory_Vtbl; } -impl ::core::clone::Clone for IDecimalFormatterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDecimalFormatterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d018c9a_e393_46b8_b830_7a69c8f89fbb); } @@ -93,15 +77,11 @@ pub struct IDecimalFormatterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIncrementNumberRounder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIncrementNumberRounder { type Vtable = IIncrementNumberRounder_Vtbl; } -impl ::core::clone::Clone for IIncrementNumberRounder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIncrementNumberRounder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70a64ff8_66ab_4155_9da1_739e46764543); } @@ -116,6 +96,7 @@ pub struct IIncrementNumberRounder_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberFormatter(::windows_core::IUnknown); impl INumberFormatter { pub fn FormatInt(&self, value: i64) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -141,28 +122,12 @@ impl INumberFormatter { } } ::windows_core::imp::interface_hierarchy!(INumberFormatter, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberFormatter {} -impl ::core::fmt::Debug for INumberFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a5007c49-7676-4db7-8631-1b6ff265caa9}"); } unsafe impl ::windows_core::Interface for INumberFormatter { type Vtable = INumberFormatter_Vtbl; } -impl ::core::clone::Clone for INumberFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberFormatter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5007c49_7676_4db7_8631_1b6ff265caa9); } @@ -176,6 +141,7 @@ pub struct INumberFormatter_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberFormatter2(::windows_core::IUnknown); impl INumberFormatter2 { pub fn FormatInt(&self, value: i64) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -201,28 +167,12 @@ impl INumberFormatter2 { } } ::windows_core::imp::interface_hierarchy!(INumberFormatter2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberFormatter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberFormatter2 {} -impl ::core::fmt::Debug for INumberFormatter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberFormatter2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberFormatter2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d4a8c1f0-80d0-4b0d-a89e-882c1e8f8310}"); } unsafe impl ::windows_core::Interface for INumberFormatter2 { type Vtable = INumberFormatter2_Vtbl; } -impl ::core::clone::Clone for INumberFormatter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberFormatter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4a8c1f0_80d0_4b0d_a89e_882c1e8f8310); } @@ -236,6 +186,7 @@ pub struct INumberFormatter2_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberFormatterOptions(::windows_core::IUnknown); impl INumberFormatterOptions { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -325,28 +276,12 @@ impl INumberFormatterOptions { } } ::windows_core::imp::interface_hierarchy!(INumberFormatterOptions, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberFormatterOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberFormatterOptions {} -impl ::core::fmt::Debug for INumberFormatterOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberFormatterOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberFormatterOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{80332d21-aee1-4a39-baa2-07ed8c96daf6}"); } unsafe impl ::windows_core::Interface for INumberFormatterOptions { type Vtable = INumberFormatterOptions_Vtbl; } -impl ::core::clone::Clone for INumberFormatterOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberFormatterOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80332d21_aee1_4a39_baa2_07ed8c96daf6); } @@ -374,6 +309,7 @@ pub struct INumberFormatterOptions_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberParser(::windows_core::IUnknown); impl INumberParser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -405,28 +341,12 @@ impl INumberParser { } } ::windows_core::imp::interface_hierarchy!(INumberParser, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberParser {} -impl ::core::fmt::Debug for INumberParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberParser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberParser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e6659412-4a13-4a53-83a1-392fbe4cff9f}"); } unsafe impl ::windows_core::Interface for INumberParser { type Vtable = INumberParser_Vtbl; } -impl ::core::clone::Clone for INumberParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6659412_4a13_4a53_83a1_392fbe4cff9f); } @@ -449,6 +369,7 @@ pub struct INumberParser_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberRounder(::windows_core::IUnknown); impl INumberRounder { pub fn RoundInt32(&self, value: i32) -> ::windows_core::Result { @@ -495,28 +416,12 @@ impl INumberRounder { } } ::windows_core::imp::interface_hierarchy!(INumberRounder, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberRounder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberRounder {} -impl ::core::fmt::Debug for INumberRounder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberRounder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberRounder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5473c375-38ed-4631-b80c-ef34fc48b7f5}"); } unsafe impl ::windows_core::Interface for INumberRounder { type Vtable = INumberRounder_Vtbl; } -impl ::core::clone::Clone for INumberRounder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberRounder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5473c375_38ed_4631_b80c_ef34fc48b7f5); } @@ -533,6 +438,7 @@ pub struct INumberRounder_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumberRounderOption(::windows_core::IUnknown); impl INumberRounderOption { pub fn NumberRounder(&self) -> ::windows_core::Result { @@ -551,28 +457,12 @@ impl INumberRounderOption { } } ::windows_core::imp::interface_hierarchy!(INumberRounderOption, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for INumberRounderOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INumberRounderOption {} -impl ::core::fmt::Debug for INumberRounderOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INumberRounderOption").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for INumberRounderOption { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3b088433-646f-4efe-8d48-66eb2e49e736}"); } unsafe impl ::windows_core::Interface for INumberRounderOption { type Vtable = INumberRounderOption_Vtbl; } -impl ::core::clone::Clone for INumberRounderOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumberRounderOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b088433_646f_4efe_8d48_66eb2e49e736); } @@ -585,15 +475,11 @@ pub struct INumberRounderOption_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumeralSystemTranslator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INumeralSystemTranslator { type Vtable = INumeralSystemTranslator_Vtbl; } -impl ::core::clone::Clone for INumeralSystemTranslator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumeralSystemTranslator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28f5bc2c_8c23_4234_ad2e_fa5a3a426e9b); } @@ -612,15 +498,11 @@ pub struct INumeralSystemTranslator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumeralSystemTranslatorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INumeralSystemTranslatorFactory { type Vtable = INumeralSystemTranslatorFactory_Vtbl; } -impl ::core::clone::Clone for INumeralSystemTranslatorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumeralSystemTranslatorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9630c8da_36ef_4d88_a85c_6f0d98d620a6); } @@ -635,15 +517,11 @@ pub struct INumeralSystemTranslatorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPercentFormatterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPercentFormatterFactory { type Vtable = IPercentFormatterFactory_Vtbl; } -impl ::core::clone::Clone for IPercentFormatterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPercentFormatterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7828aef_fed4_4018_a6e2_e09961e03765); } @@ -658,15 +536,11 @@ pub struct IPercentFormatterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPermilleFormatterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPermilleFormatterFactory { type Vtable = IPermilleFormatterFactory_Vtbl; } -impl ::core::clone::Clone for IPermilleFormatterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPermilleFormatterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b37b4ac_e638_4ed5_a998_62f6b06a49ae); } @@ -681,6 +555,7 @@ pub struct IPermilleFormatterFactory_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignedZeroOption(::windows_core::IUnknown); impl ISignedZeroOption { pub fn IsZeroSigned(&self) -> ::windows_core::Result { @@ -696,28 +571,12 @@ impl ISignedZeroOption { } } ::windows_core::imp::interface_hierarchy!(ISignedZeroOption, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISignedZeroOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISignedZeroOption {} -impl ::core::fmt::Debug for ISignedZeroOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISignedZeroOption").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISignedZeroOption { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fd1cdd31-0a3c-49c4-a642-96a1564f4f30}"); } unsafe impl ::windows_core::Interface for ISignedZeroOption { type Vtable = ISignedZeroOption_Vtbl; } -impl ::core::clone::Clone for ISignedZeroOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISignedZeroOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd1cdd31_0a3c_49c4_a642_96a1564f4f30); } @@ -730,15 +589,11 @@ pub struct ISignedZeroOption_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignificantDigitsNumberRounder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISignificantDigitsNumberRounder { type Vtable = ISignificantDigitsNumberRounder_Vtbl; } -impl ::core::clone::Clone for ISignificantDigitsNumberRounder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISignificantDigitsNumberRounder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5941bca_6646_4913_8c76_1b191ff94dfd); } @@ -753,6 +608,7 @@ pub struct ISignificantDigitsNumberRounder_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignificantDigitsOption(::windows_core::IUnknown); impl ISignificantDigitsOption { pub fn SignificantDigits(&self) -> ::windows_core::Result { @@ -768,28 +624,12 @@ impl ISignificantDigitsOption { } } ::windows_core::imp::interface_hierarchy!(ISignificantDigitsOption, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISignificantDigitsOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISignificantDigitsOption {} -impl ::core::fmt::Debug for ISignificantDigitsOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISignificantDigitsOption").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISignificantDigitsOption { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1d4dfcdd-2d43-4ee8-bbf1-c1b26a711a58}"); } unsafe impl ::windows_core::Interface for ISignificantDigitsOption { type Vtable = ISignificantDigitsOption_Vtbl; } -impl ::core::clone::Clone for ISignificantDigitsOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISignificantDigitsOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d4dfcdd_2d43_4ee8_bbf1_c1b26a711a58); } @@ -802,6 +642,7 @@ pub struct ISignificantDigitsOption_Vtbl { } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CurrencyFormatter(::windows_core::IUnknown); impl CurrencyFormatter { pub fn Currency(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1045,25 +886,9 @@ impl CurrencyFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CurrencyFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CurrencyFormatter {} -impl ::core::fmt::Debug for CurrencyFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CurrencyFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CurrencyFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.CurrencyFormatter;{11730ca5-4b00-41b2-b332-73b12a497d54})"); } -impl ::core::clone::Clone for CurrencyFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CurrencyFormatter { type Vtable = ICurrencyFormatter_Vtbl; } @@ -1085,6 +910,7 @@ unsafe impl ::core::marker::Send for CurrencyFormatter {} unsafe impl ::core::marker::Sync for CurrencyFormatter {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DecimalFormatter(::windows_core::IUnknown); impl DecimalFormatter { pub fn new() -> ::windows_core::Result { @@ -1301,25 +1127,9 @@ impl DecimalFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DecimalFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DecimalFormatter {} -impl ::core::fmt::Debug for DecimalFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DecimalFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DecimalFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.DecimalFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } -impl ::core::clone::Clone for DecimalFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DecimalFormatter { type Vtable = INumberFormatter_Vtbl; } @@ -1341,6 +1151,7 @@ unsafe impl ::core::marker::Send for DecimalFormatter {} unsafe impl ::core::marker::Sync for DecimalFormatter {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IncrementNumberRounder(::windows_core::IUnknown); impl IncrementNumberRounder { pub fn new() -> ::windows_core::Result { @@ -1415,25 +1226,9 @@ impl IncrementNumberRounder { } } } -impl ::core::cmp::PartialEq for IncrementNumberRounder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IncrementNumberRounder {} -impl ::core::fmt::Debug for IncrementNumberRounder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IncrementNumberRounder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IncrementNumberRounder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.IncrementNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); } -impl ::core::clone::Clone for IncrementNumberRounder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IncrementNumberRounder { type Vtable = INumberRounder_Vtbl; } @@ -1449,6 +1244,7 @@ unsafe impl ::core::marker::Send for IncrementNumberRounder {} unsafe impl ::core::marker::Sync for IncrementNumberRounder {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NumeralSystemTranslator(::windows_core::IUnknown); impl NumeralSystemTranslator { pub fn new() -> ::windows_core::Result { @@ -1509,25 +1305,9 @@ impl NumeralSystemTranslator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NumeralSystemTranslator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NumeralSystemTranslator {} -impl ::core::fmt::Debug for NumeralSystemTranslator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NumeralSystemTranslator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NumeralSystemTranslator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.NumeralSystemTranslator;{28f5bc2c-8c23-4234-ad2e-fa5a3a426e9b})"); } -impl ::core::clone::Clone for NumeralSystemTranslator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NumeralSystemTranslator { type Vtable = INumeralSystemTranslator_Vtbl; } @@ -1542,6 +1322,7 @@ unsafe impl ::core::marker::Send for NumeralSystemTranslator {} unsafe impl ::core::marker::Sync for NumeralSystemTranslator {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PercentFormatter(::windows_core::IUnknown); impl PercentFormatter { pub fn new() -> ::windows_core::Result { @@ -1758,25 +1539,9 @@ impl PercentFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PercentFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PercentFormatter {} -impl ::core::fmt::Debug for PercentFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PercentFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PercentFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PercentFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } -impl ::core::clone::Clone for PercentFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PercentFormatter { type Vtable = INumberFormatter_Vtbl; } @@ -1798,6 +1563,7 @@ unsafe impl ::core::marker::Send for PercentFormatter {} unsafe impl ::core::marker::Sync for PercentFormatter {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PermilleFormatter(::windows_core::IUnknown); impl PermilleFormatter { pub fn new() -> ::windows_core::Result { @@ -2014,25 +1780,9 @@ impl PermilleFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PermilleFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PermilleFormatter {} -impl ::core::fmt::Debug for PermilleFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PermilleFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PermilleFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.PermilleFormatter;{a5007c49-7676-4db7-8631-1b6ff265caa9})"); } -impl ::core::clone::Clone for PermilleFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PermilleFormatter { type Vtable = INumberFormatter_Vtbl; } @@ -2054,6 +1804,7 @@ unsafe impl ::core::marker::Send for PermilleFormatter {} unsafe impl ::core::marker::Sync for PermilleFormatter {} #[doc = "*Required features: `\"Globalization_NumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SignificantDigitsNumberRounder(::windows_core::IUnknown); impl SignificantDigitsNumberRounder { pub fn new() -> ::windows_core::Result { @@ -2128,25 +1879,9 @@ impl SignificantDigitsNumberRounder { unsafe { (::windows_core::Interface::vtable(this).SetSignificantDigits)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SignificantDigitsNumberRounder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SignificantDigitsNumberRounder {} -impl ::core::fmt::Debug for SignificantDigitsNumberRounder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SignificantDigitsNumberRounder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SignificantDigitsNumberRounder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder;{5473c375-38ed-4631-b80c-ef34fc48b7f5})"); } -impl ::core::clone::Clone for SignificantDigitsNumberRounder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SignificantDigitsNumberRounder { type Vtable = INumberRounder_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index fe87a335a4..aeb5048e19 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNumberFormatter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNumberFormatter { type Vtable = IPhoneNumberFormatter_Vtbl; } -impl ::core::clone::Clone for IPhoneNumberFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNumberFormatter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1556b49e_bad4_4b4a_900d_4407adb7c981); } @@ -24,15 +20,11 @@ pub struct IPhoneNumberFormatter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNumberFormatterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNumberFormatterStatics { type Vtable = IPhoneNumberFormatterStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneNumberFormatterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNumberFormatterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ca6f931_84d9_414b_ab4e_a0552c878602); } @@ -47,15 +39,11 @@ pub struct IPhoneNumberFormatterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNumberInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNumberInfo { type Vtable = IPhoneNumberInfo_Vtbl; } -impl ::core::clone::Clone for IPhoneNumberInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNumberInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c7ce4dd_c8b4_4ea3_9aef_b342e2c5b417); } @@ -74,15 +62,11 @@ pub struct IPhoneNumberInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNumberInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNumberInfoFactory { type Vtable = IPhoneNumberInfoFactory_Vtbl; } -impl ::core::clone::Clone for IPhoneNumberInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNumberInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8202b964_adaa_4cff_8fcf_17e7516a28ff); } @@ -94,15 +78,11 @@ pub struct IPhoneNumberInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNumberInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNumberInfoStatics { type Vtable = IPhoneNumberInfoStatics_Vtbl; } -impl ::core::clone::Clone for IPhoneNumberInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNumberInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b3f4f6a_86a9_40e9_8649_6d61161928d4); } @@ -115,6 +95,7 @@ pub struct IPhoneNumberInfoStatics_Vtbl { } #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneNumberFormatter(::windows_core::IUnknown); impl PhoneNumberFormatter { pub fn new() -> ::windows_core::Result { @@ -192,25 +173,9 @@ impl PhoneNumberFormatter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneNumberFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneNumberFormatter {} -impl ::core::fmt::Debug for PhoneNumberFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneNumberFormatter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneNumberFormatter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter;{1556b49e-bad4-4b4a-900d-4407adb7c981})"); } -impl ::core::clone::Clone for PhoneNumberFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneNumberFormatter { type Vtable = IPhoneNumberFormatter_Vtbl; } @@ -225,6 +190,7 @@ unsafe impl ::core::marker::Send for PhoneNumberFormatter {} unsafe impl ::core::marker::Sync for PhoneNumberFormatter {} #[doc = "*Required features: `\"Globalization_PhoneNumberFormatting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneNumberInfo(::windows_core::IUnknown); impl PhoneNumberInfo { pub fn CountryCode(&self) -> ::windows_core::Result { @@ -324,25 +290,9 @@ impl PhoneNumberInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhoneNumberInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneNumberInfo {} -impl ::core::fmt::Debug for PhoneNumberInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneNumberInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneNumberInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo;{1c7ce4dd-c8b4-4ea3-9aef-b342e2c5b417})"); } -impl ::core::clone::Clone for PhoneNumberInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneNumberInfo { type Vtable = IPhoneNumberInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index 83738dd3ea..60d9fab291 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -10,15 +10,11 @@ pub mod NumberFormatting; pub mod PhoneNumberFormatting; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationLanguagesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationLanguagesStatics { type Vtable = IApplicationLanguagesStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationLanguagesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationLanguagesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75b40847_0a4c_4a92_9565_fd63c95f7aed); } @@ -39,15 +35,11 @@ pub struct IApplicationLanguagesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationLanguagesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationLanguagesStatics2 { type Vtable = IApplicationLanguagesStatics2_Vtbl; } -impl ::core::clone::Clone for IApplicationLanguagesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationLanguagesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1df0de4f_072b_4d7b_8f06_cb2db40f2bb5); } @@ -62,15 +54,11 @@ pub struct IApplicationLanguagesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendar { type Vtable = ICalendar_Vtbl; } -impl ::core::clone::Clone for ICalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca30221d_86d9_40fb_a26b_d44eb7cf08ea); } @@ -191,15 +179,11 @@ pub struct ICalendar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarFactory { type Vtable = ICalendarFactory_Vtbl; } -impl ::core::clone::Clone for ICalendarFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83f58412_e56b_4c75_a66e_0f63d57758a6); } @@ -218,15 +202,11 @@ pub struct ICalendarFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarFactory2 { type Vtable = ICalendarFactory2_Vtbl; } -impl ::core::clone::Clone for ICalendarFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb44b378c_ca7e_4590_9e72_ea2bec1a5115); } @@ -241,15 +221,11 @@ pub struct ICalendarFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarIdentifiersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarIdentifiersStatics { type Vtable = ICalendarIdentifiersStatics_Vtbl; } -impl ::core::clone::Clone for ICalendarIdentifiersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarIdentifiersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80653f68_2cb2_4c1f_b590_f0f52bf4fd1a); } @@ -269,15 +245,11 @@ pub struct ICalendarIdentifiersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarIdentifiersStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarIdentifiersStatics2 { type Vtable = ICalendarIdentifiersStatics2_Vtbl; } -impl ::core::clone::Clone for ICalendarIdentifiersStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarIdentifiersStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7df4d488_5fd0_42a7_95b5_7d98d823075f); } @@ -289,15 +261,11 @@ pub struct ICalendarIdentifiersStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarIdentifiersStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarIdentifiersStatics3 { type Vtable = ICalendarIdentifiersStatics3_Vtbl; } -impl ::core::clone::Clone for ICalendarIdentifiersStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarIdentifiersStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c225423_1fad_40c0_9334_a8eb90db04f5); } @@ -313,15 +281,11 @@ pub struct ICalendarIdentifiersStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClockIdentifiersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClockIdentifiersStatics { type Vtable = IClockIdentifiersStatics_Vtbl; } -impl ::core::clone::Clone for IClockIdentifiersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClockIdentifiersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x523805bb_12ec_4f83_bc31_b1b4376b0808); } @@ -334,15 +298,11 @@ pub struct IClockIdentifiersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyAmount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyAmount { type Vtable = ICurrencyAmount_Vtbl; } -impl ::core::clone::Clone for ICurrencyAmount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyAmount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74b49942_eb75_443a_95b3_7d723f56f93c); } @@ -355,15 +315,11 @@ pub struct ICurrencyAmount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyAmountFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyAmountFactory { type Vtable = ICurrencyAmountFactory_Vtbl; } -impl ::core::clone::Clone for ICurrencyAmountFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyAmountFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48d7168f_ef3b_4aee_a6a1_4b036fe03ff0); } @@ -375,15 +331,11 @@ pub struct ICurrencyAmountFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyIdentifiersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyIdentifiersStatics { type Vtable = ICurrencyIdentifiersStatics_Vtbl; } -impl ::core::clone::Clone for ICurrencyIdentifiersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyIdentifiersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f1d091b_d586_4913_9b6a_a9bd2dc12874); } @@ -551,15 +503,11 @@ pub struct ICurrencyIdentifiersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyIdentifiersStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyIdentifiersStatics2 { type Vtable = ICurrencyIdentifiersStatics2_Vtbl; } -impl ::core::clone::Clone for ICurrencyIdentifiersStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyIdentifiersStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1814797f_c3b2_4c33_9591_980011950d37); } @@ -571,15 +519,11 @@ pub struct ICurrencyIdentifiersStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrencyIdentifiersStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrencyIdentifiersStatics3 { type Vtable = ICurrencyIdentifiersStatics3_Vtbl; } -impl ::core::clone::Clone for ICurrencyIdentifiersStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrencyIdentifiersStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fb23bfa_ed25_4f4d_857f_237f1748c21c); } @@ -594,15 +538,11 @@ pub struct ICurrencyIdentifiersStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeographicRegion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeographicRegion { type Vtable = IGeographicRegion_Vtbl; } -impl ::core::clone::Clone for IGeographicRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeographicRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01e9a621_4a64_4ed9_954f_9edeb07bd903); } @@ -623,15 +563,11 @@ pub struct IGeographicRegion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeographicRegionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeographicRegionFactory { type Vtable = IGeographicRegionFactory_Vtbl; } -impl ::core::clone::Clone for IGeographicRegionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeographicRegionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53425270_77b4_426b_859f_81e19d512546); } @@ -643,15 +579,11 @@ pub struct IGeographicRegionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeographicRegionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeographicRegionStatics { type Vtable = IGeographicRegionStatics_Vtbl; } -impl ::core::clone::Clone for IGeographicRegionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeographicRegionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29e28974_7ad9_4ef4_8799_b3b44fadec08); } @@ -663,15 +595,11 @@ pub struct IGeographicRegionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJapanesePhoneme(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJapanesePhoneme { type Vtable = IJapanesePhoneme_Vtbl; } -impl ::core::clone::Clone for IJapanesePhoneme { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJapanesePhoneme { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f6a9300_e85b_43e6_897d_5d82f862df21); } @@ -685,15 +613,11 @@ pub struct IJapanesePhoneme_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJapanesePhoneticAnalyzerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJapanesePhoneticAnalyzerStatics { type Vtable = IJapanesePhoneticAnalyzerStatics_Vtbl; } -impl ::core::clone::Clone for IJapanesePhoneticAnalyzerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJapanesePhoneticAnalyzerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88ab9e90_93de_41b2_b4d5_8edb227fd1c2); } @@ -712,15 +636,11 @@ pub struct IJapanesePhoneticAnalyzerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguage { type Vtable = ILanguage_Vtbl; } -impl ::core::clone::Clone for ILanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea79a752_f7c2_4265_b1bd_c4dec4e4f080); } @@ -735,15 +655,11 @@ pub struct ILanguage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguage2 { type Vtable = ILanguage2_Vtbl; } -impl ::core::clone::Clone for ILanguage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a47e5b5_d94d_4886_a404_a5a5b9d5b494); } @@ -755,15 +671,11 @@ pub struct ILanguage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguage3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguage3 { type Vtable = ILanguage3_Vtbl; } -impl ::core::clone::Clone for ILanguage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6af3d10_641a_5ba4_bb43_5e12aed75954); } @@ -775,15 +687,11 @@ pub struct ILanguage3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExtensionSubtags(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageExtensionSubtags { type Vtable = ILanguageExtensionSubtags_Vtbl; } -impl ::core::clone::Clone for ILanguageExtensionSubtags { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExtensionSubtags { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d7daf45_368d_4364_852b_dec927037b85); } @@ -798,15 +706,11 @@ pub struct ILanguageExtensionSubtags_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageFactory { type Vtable = ILanguageFactory_Vtbl; } -impl ::core::clone::Clone for ILanguageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b0252ac_0c27_44f8_b792_9793fb66c63e); } @@ -818,15 +722,11 @@ pub struct ILanguageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageStatics { type Vtable = ILanguageStatics_Vtbl; } -impl ::core::clone::Clone for ILanguageStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb23cd557_0865_46d4_89b8_d59be8990f0d); } @@ -839,15 +739,11 @@ pub struct ILanguageStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageStatics2 { type Vtable = ILanguageStatics2_Vtbl; } -impl ::core::clone::Clone for ILanguageStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30199f6e_914b_4b2a_9d6e_e3b0e27dbe4f); } @@ -859,15 +755,11 @@ pub struct ILanguageStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanguageStatics3 { type Vtable = ILanguageStatics3_Vtbl; } -impl ::core::clone::Clone for ILanguageStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd15ecb5a_71de_5752_9542_fac5b4f27261); } @@ -882,15 +774,11 @@ pub struct ILanguageStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumeralSystemIdentifiersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INumeralSystemIdentifiersStatics { type Vtable = INumeralSystemIdentifiersStatics_Vtbl; } -impl ::core::clone::Clone for INumeralSystemIdentifiersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumeralSystemIdentifiersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5c662c3_68c9_4d3d_b765_972029e21dec); } @@ -937,15 +825,11 @@ pub struct INumeralSystemIdentifiersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INumeralSystemIdentifiersStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INumeralSystemIdentifiersStatics2 { type Vtable = INumeralSystemIdentifiersStatics2_Vtbl; } -impl ::core::clone::Clone for INumeralSystemIdentifiersStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INumeralSystemIdentifiersStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f003228_9ddb_4a34_9104_0260c091a7c7); } @@ -968,15 +852,11 @@ pub struct INumeralSystemIdentifiersStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeZoneOnCalendar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeZoneOnCalendar { type Vtable = ITimeZoneOnCalendar_Vtbl; } -impl ::core::clone::Clone for ITimeZoneOnCalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeZoneOnCalendar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb3c25e5_46cf_4317_a3f5_02621ad54478); } @@ -1044,6 +924,7 @@ impl ::windows_core::RuntimeName for ApplicationLanguages { } #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Calendar(::windows_core::IUnknown); impl Calendar { pub fn new() -> ::windows_core::Result { @@ -1741,25 +1622,9 @@ impl Calendar { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Calendar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Calendar {} -impl ::core::fmt::Debug for Calendar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Calendar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Calendar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Calendar;{ca30221d-86d9-40fb-a26b-d44eb7cf08ea})"); } -impl ::core::clone::Clone for Calendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Calendar { type Vtable = ICalendar_Vtbl; } @@ -1910,6 +1775,7 @@ impl ::windows_core::RuntimeName for ClockIdentifiers { } #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CurrencyAmount(::windows_core::IUnknown); impl CurrencyAmount { pub fn Amount(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1938,25 +1804,9 @@ impl CurrencyAmount { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CurrencyAmount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CurrencyAmount {} -impl ::core::fmt::Debug for CurrencyAmount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CurrencyAmount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CurrencyAmount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.CurrencyAmount;{74b49942-eb75-443a-95b3-7d723f56f93c})"); } -impl ::core::clone::Clone for CurrencyAmount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CurrencyAmount { type Vtable = ICurrencyAmount_Vtbl; } @@ -2965,6 +2815,7 @@ impl ::windows_core::RuntimeName for CurrencyIdentifiers { } #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GeographicRegion(::windows_core::IUnknown); impl GeographicRegion { pub fn new() -> ::windows_core::Result { @@ -3048,25 +2899,9 @@ impl GeographicRegion { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GeographicRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GeographicRegion {} -impl ::core::fmt::Debug for GeographicRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GeographicRegion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GeographicRegion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.GeographicRegion;{01e9a621-4a64-4ed9-954f-9edeb07bd903})"); } -impl ::core::clone::Clone for GeographicRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GeographicRegion { type Vtable = IGeographicRegion_Vtbl; } @@ -3081,6 +2916,7 @@ unsafe impl ::core::marker::Send for GeographicRegion {} unsafe impl ::core::marker::Sync for GeographicRegion {} #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JapanesePhoneme(::windows_core::IUnknown); impl JapanesePhoneme { pub fn DisplayText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3105,25 +2941,9 @@ impl JapanesePhoneme { } } } -impl ::core::cmp::PartialEq for JapanesePhoneme { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JapanesePhoneme {} -impl ::core::fmt::Debug for JapanesePhoneme { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JapanesePhoneme").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JapanesePhoneme { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.JapanesePhoneme;{2f6a9300-e85b-43e6-897d-5d82f862df21})"); } -impl ::core::clone::Clone for JapanesePhoneme { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JapanesePhoneme { type Vtable = IJapanesePhoneme_Vtbl; } @@ -3164,6 +2984,7 @@ impl ::windows_core::RuntimeName for JapanesePhoneticAnalyzer { } #[doc = "*Required features: `\"Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Language(::windows_core::IUnknown); impl Language { pub fn LanguageTag(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3273,25 +3094,9 @@ impl Language { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Language { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Language {} -impl ::core::fmt::Debug for Language { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Language").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Language { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Globalization.Language;{ea79a752-f7c2-4265-b1bd-c4dec4e4f080})"); } -impl ::core::clone::Clone for Language { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Language { type Vtable = ILanguage_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index e8aaebccf7..f075595b46 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D11CaptureFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDirect3D11CaptureFrame { type Vtable = IDirect3D11CaptureFrame_Vtbl; } -impl ::core::clone::Clone for IDirect3D11CaptureFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D11CaptureFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa50c623_38da_4b32_acf3_fa9734ad800e); } @@ -28,15 +24,11 @@ pub struct IDirect3D11CaptureFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D11CaptureFramePool(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDirect3D11CaptureFramePool { type Vtable = IDirect3D11CaptureFramePool_Vtbl; } -impl ::core::clone::Clone for IDirect3D11CaptureFramePool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D11CaptureFramePool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24eb6d22_1975_422e_82e7_780dbd8ddf24); } @@ -65,15 +57,11 @@ pub struct IDirect3D11CaptureFramePool_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D11CaptureFramePoolStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDirect3D11CaptureFramePoolStatics { type Vtable = IDirect3D11CaptureFramePoolStatics_Vtbl; } -impl ::core::clone::Clone for IDirect3D11CaptureFramePoolStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D11CaptureFramePoolStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7784056a_67aa_4d53_ae54_1088d5a8ca21); } @@ -88,15 +76,11 @@ pub struct IDirect3D11CaptureFramePoolStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D11CaptureFramePoolStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDirect3D11CaptureFramePoolStatics2 { type Vtable = IDirect3D11CaptureFramePoolStatics2_Vtbl; } -impl ::core::clone::Clone for IDirect3D11CaptureFramePoolStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D11CaptureFramePoolStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x589b103f_6bbc_5df5_a991_02e28b3b66d5); } @@ -111,15 +95,11 @@ pub struct IDirect3D11CaptureFramePoolStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureAccessStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureAccessStatics { type Vtable = IGraphicsCaptureAccessStatics_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureAccessStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureAccessStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x743ed370_06ec_5040_a58a_901f0f757095); } @@ -134,15 +114,11 @@ pub struct IGraphicsCaptureAccessStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureItem { type Vtable = IGraphicsCaptureItem_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79c3f95b_31f7_4ec2_a464_632ef5d30760); } @@ -163,15 +139,11 @@ pub struct IGraphicsCaptureItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureItemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureItemStatics { type Vtable = IGraphicsCaptureItemStatics_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureItemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureItemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa87ebea5_457c_5788_ab47_0cf1d3637e74); } @@ -186,15 +158,11 @@ pub struct IGraphicsCaptureItemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureItemStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureItemStatics2 { type Vtable = IGraphicsCaptureItemStatics2_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureItemStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureItemStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b92acc9_e584_5862_bf5c_9c316c6d2dbb); } @@ -210,15 +178,11 @@ pub struct IGraphicsCaptureItemStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCapturePicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCapturePicker { type Vtable = IGraphicsCapturePicker_Vtbl; } -impl ::core::clone::Clone for IGraphicsCapturePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCapturePicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a1711b3_ad79_4b4a_9336_1318fdde3539); } @@ -233,15 +197,11 @@ pub struct IGraphicsCapturePicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureSession { type Vtable = IGraphicsCaptureSession_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x814e42a9_f70f_4ad7_939b_fddcc6eb880d); } @@ -253,15 +213,11 @@ pub struct IGraphicsCaptureSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureSession2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureSession2 { type Vtable = IGraphicsCaptureSession2_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c39ae40_7d2e_5044_804e_8b6799d4cf9e); } @@ -274,15 +230,11 @@ pub struct IGraphicsCaptureSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureSession3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureSession3 { type Vtable = IGraphicsCaptureSession3_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureSession3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureSession3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2cdd966_22ae_5ea1_9596_3a289344c3be); } @@ -295,15 +247,11 @@ pub struct IGraphicsCaptureSession3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGraphicsCaptureSessionStatics { type Vtable = IGraphicsCaptureSessionStatics_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2224a540_5974_49aa_b232_0882536f4cb5); } @@ -315,6 +263,7 @@ pub struct IGraphicsCaptureSessionStatics_Vtbl { } #[doc = "*Required features: `\"Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Direct3D11CaptureFrame(::windows_core::IUnknown); impl Direct3D11CaptureFrame { #[doc = "*Required features: `\"Foundation\"`*"] @@ -349,25 +298,9 @@ impl Direct3D11CaptureFrame { } } } -impl ::core::cmp::PartialEq for Direct3D11CaptureFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Direct3D11CaptureFrame {} -impl ::core::fmt::Debug for Direct3D11CaptureFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Direct3D11CaptureFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Direct3D11CaptureFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFrame;{fa50c623-38da-4b32-acf3-fa9734ad800e})"); } -impl ::core::clone::Clone for Direct3D11CaptureFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Direct3D11CaptureFrame { type Vtable = IDirect3D11CaptureFrame_Vtbl; } @@ -384,6 +317,7 @@ unsafe impl ::core::marker::Send for Direct3D11CaptureFrame {} unsafe impl ::core::marker::Sync for Direct3D11CaptureFrame {} #[doc = "*Required features: `\"Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Direct3D11CaptureFramePool(::windows_core::IUnknown); impl Direct3D11CaptureFramePool { #[doc = "*Required features: `\"Foundation\"`*"] @@ -478,25 +412,9 @@ impl Direct3D11CaptureFramePool { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Direct3D11CaptureFramePool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Direct3D11CaptureFramePool {} -impl ::core::fmt::Debug for Direct3D11CaptureFramePool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Direct3D11CaptureFramePool").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Direct3D11CaptureFramePool { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.Direct3D11CaptureFramePool;{24eb6d22-1975-422e-82e7-780dbd8ddf24})"); } -impl ::core::clone::Clone for Direct3D11CaptureFramePool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Direct3D11CaptureFramePool { type Vtable = IDirect3D11CaptureFramePool_Vtbl; } @@ -533,6 +451,7 @@ impl ::windows_core::RuntimeName for GraphicsCaptureAccess { } #[doc = "*Required features: `\"Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GraphicsCaptureItem(::windows_core::IUnknown); impl GraphicsCaptureItem { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -603,25 +522,9 @@ impl GraphicsCaptureItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GraphicsCaptureItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GraphicsCaptureItem {} -impl ::core::fmt::Debug for GraphicsCaptureItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GraphicsCaptureItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GraphicsCaptureItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureItem;{79c3f95b-31f7-4ec2-a464-632ef5d30760})"); } -impl ::core::clone::Clone for GraphicsCaptureItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GraphicsCaptureItem { type Vtable = IGraphicsCaptureItem_Vtbl; } @@ -636,6 +539,7 @@ unsafe impl ::core::marker::Send for GraphicsCaptureItem {} unsafe impl ::core::marker::Sync for GraphicsCaptureItem {} #[doc = "*Required features: `\"Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GraphicsCapturePicker(::windows_core::IUnknown); impl GraphicsCapturePicker { pub fn new() -> ::windows_core::Result { @@ -655,25 +559,9 @@ impl GraphicsCapturePicker { } } } -impl ::core::cmp::PartialEq for GraphicsCapturePicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GraphicsCapturePicker {} -impl ::core::fmt::Debug for GraphicsCapturePicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GraphicsCapturePicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GraphicsCapturePicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCapturePicker;{5a1711b3-ad79-4b4a-9336-1318fdde3539})"); } -impl ::core::clone::Clone for GraphicsCapturePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GraphicsCapturePicker { type Vtable = IGraphicsCapturePicker_Vtbl; } @@ -688,6 +576,7 @@ unsafe impl ::core::marker::Send for GraphicsCapturePicker {} unsafe impl ::core::marker::Sync for GraphicsCapturePicker {} #[doc = "*Required features: `\"Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GraphicsCaptureSession(::windows_core::IUnknown); impl GraphicsCaptureSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -734,25 +623,9 @@ impl GraphicsCaptureSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GraphicsCaptureSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GraphicsCaptureSession {} -impl ::core::fmt::Debug for GraphicsCaptureSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GraphicsCaptureSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GraphicsCaptureSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Capture.GraphicsCaptureSession;{814e42a9-f70f-4ad7-939b-fddcc6eb880d})"); } -impl ::core::clone::Clone for GraphicsCaptureSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GraphicsCaptureSession { type Vtable = IGraphicsCaptureSession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs index c029441505..d4b3c48406 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs @@ -17,8 +17,8 @@ impl IDirect3DDevice_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trim: Trim:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -46,7 +46,7 @@ impl IDirect3DSurface_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Description: Description:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs index 148bde6cbb..bdd1304169 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDevice(::windows_core::IUnknown); impl IDirect3DDevice { pub fn Trim(&self) -> ::windows_core::Result<()> { @@ -16,28 +17,12 @@ impl IDirect3DDevice { ::windows_core::imp::interface_hierarchy!(IDirect3DDevice, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IDirect3DDevice {} -impl ::core::cmp::PartialEq for IDirect3DDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDevice {} -impl ::core::fmt::Debug for IDirect3DDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDirect3DDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a37624ab-8d5f-4650-9d3e-9eae3d9bc670}"); } unsafe impl ::windows_core::Interface for IDirect3DDevice { type Vtable = IDirect3DDevice_Vtbl; } -impl ::core::clone::Clone for IDirect3DDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa37624ab_8d5f_4650_9d3e_9eae3d9bc670); } @@ -49,6 +34,7 @@ pub struct IDirect3DDevice_Vtbl { } #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DSurface(::windows_core::IUnknown); impl IDirect3DSurface { pub fn Description(&self) -> ::windows_core::Result { @@ -68,28 +54,12 @@ impl IDirect3DSurface { ::windows_core::imp::interface_hierarchy!(IDirect3DSurface, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IDirect3DSurface {} -impl ::core::cmp::PartialEq for IDirect3DSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DSurface {} -impl ::core::fmt::Debug for IDirect3DSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDirect3DSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0bf4a146-13c1-4694-bee3-7abf15eaf586}"); } unsafe impl ::windows_core::Interface for IDirect3DSurface { type Vtable = IDirect3DSurface_Vtbl; } -impl ::core::clone::Clone for IDirect3DSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bf4a146_13c1_4694_bee3_7abf15eaf586); } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs index 7cdc27f6e4..ce953d40bb 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdmiDisplayInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdmiDisplayInformation { type Vtable = IHdmiDisplayInformation_Vtbl; } -impl ::core::clone::Clone for IHdmiDisplayInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdmiDisplayInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x130b3c0a_f565_476e_abd5_ea05aee74c69); } @@ -48,15 +44,11 @@ pub struct IHdmiDisplayInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdmiDisplayInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdmiDisplayInformationStatics { type Vtable = IHdmiDisplayInformationStatics_Vtbl; } -impl ::core::clone::Clone for IHdmiDisplayInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdmiDisplayInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ce6b260_f42a_4a15_914c_7b8e2a5a65df); } @@ -68,15 +60,11 @@ pub struct IHdmiDisplayInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdmiDisplayMode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdmiDisplayMode { type Vtable = IHdmiDisplayMode_Vtbl; } -impl ::core::clone::Clone for IHdmiDisplayMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdmiDisplayMode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c06d5ad_1b90_4f51_9981_ef5a1c0ddf66); } @@ -98,15 +86,11 @@ pub struct IHdmiDisplayMode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdmiDisplayMode2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdmiDisplayMode2 { type Vtable = IHdmiDisplayMode2_Vtbl; } -impl ::core::clone::Clone for IHdmiDisplayMode2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdmiDisplayMode2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07cd4e9f_4b3c_42b8_84e7_895368718af2); } @@ -118,6 +102,7 @@ pub struct IHdmiDisplayMode2_Vtbl { } #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HdmiDisplayInformation(::windows_core::IUnknown); impl HdmiDisplayInformation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -211,25 +196,9 @@ impl HdmiDisplayInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HdmiDisplayInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HdmiDisplayInformation {} -impl ::core::fmt::Debug for HdmiDisplayInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HdmiDisplayInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HdmiDisplayInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayInformation;{130b3c0a-f565-476e-abd5-ea05aee74c69})"); } -impl ::core::clone::Clone for HdmiDisplayInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HdmiDisplayInformation { type Vtable = IHdmiDisplayInformation_Vtbl; } @@ -244,6 +213,7 @@ unsafe impl ::core::marker::Send for HdmiDisplayInformation {} unsafe impl ::core::marker::Sync for HdmiDisplayInformation {} #[doc = "*Required features: `\"Graphics_Display_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HdmiDisplayMode(::windows_core::IUnknown); impl HdmiDisplayMode { pub fn ResolutionWidthInRawPixels(&self) -> ::windows_core::Result { @@ -334,25 +304,9 @@ impl HdmiDisplayMode { } } } -impl ::core::cmp::PartialEq for HdmiDisplayMode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HdmiDisplayMode {} -impl ::core::fmt::Debug for HdmiDisplayMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HdmiDisplayMode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HdmiDisplayMode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.Core.HdmiDisplayMode;{0c06d5ad-1b90-4f51-9981-ef5a1c0ddf66})"); } -impl ::core::clone::Clone for HdmiDisplayMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HdmiDisplayMode { type Vtable = IHdmiDisplayMode_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index fc81899e2a..914efd4603 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedColorInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedColorInfo { type Vtable = IAdvancedColorInfo_Vtbl; } -impl ::core::clone::Clone for IAdvancedColorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedColorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8797dcfb_b229_4081_ae9a_2cc85e34ad6a); } @@ -44,15 +40,11 @@ pub struct IAdvancedColorInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrightnessOverride(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBrightnessOverride { type Vtable = IBrightnessOverride_Vtbl; } -impl ::core::clone::Clone for IBrightnessOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrightnessOverride { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96c9621a_c143_4392_bedd_4a7e9574c8fd); } @@ -95,15 +87,11 @@ pub struct IBrightnessOverride_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrightnessOverrideSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBrightnessOverrideSettings { type Vtable = IBrightnessOverrideSettings_Vtbl; } -impl ::core::clone::Clone for IBrightnessOverrideSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrightnessOverrideSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd112ab2a_7604_4dba_bcf8_4b6f49502cb0); } @@ -116,15 +104,11 @@ pub struct IBrightnessOverrideSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrightnessOverrideSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBrightnessOverrideSettingsStatics { type Vtable = IBrightnessOverrideSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IBrightnessOverrideSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrightnessOverrideSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd487dc90_6f74_440b_b383_5fe96cf00b0f); } @@ -138,15 +122,11 @@ pub struct IBrightnessOverrideSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrightnessOverrideStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBrightnessOverrideStatics { type Vtable = IBrightnessOverrideStatics_Vtbl; } -impl ::core::clone::Clone for IBrightnessOverrideStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrightnessOverrideStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03a7b9ed_e1f1_4a68_a11f_946ad8ce5393); } @@ -163,15 +143,11 @@ pub struct IBrightnessOverrideStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorOverrideSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorOverrideSettings { type Vtable = IColorOverrideSettings_Vtbl; } -impl ::core::clone::Clone for IColorOverrideSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorOverrideSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbefa134_4a81_4c4d_a5b6_7d1b5c4bd00b); } @@ -183,15 +159,11 @@ pub struct IColorOverrideSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorOverrideSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorOverrideSettingsStatics { type Vtable = IColorOverrideSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IColorOverrideSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorOverrideSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb068e05f_c41f_4ac9_afab_827ab6248f9a); } @@ -203,15 +175,11 @@ pub struct IColorOverrideSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayEnhancementOverride(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayEnhancementOverride { type Vtable = IDisplayEnhancementOverride_Vtbl; } -impl ::core::clone::Clone for IDisplayEnhancementOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayEnhancementOverride { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x429594cf_d97a_4b02_a428_5c4292f7f522); } @@ -255,15 +223,11 @@ pub struct IDisplayEnhancementOverride_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayEnhancementOverrideCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayEnhancementOverrideCapabilities { type Vtable = IDisplayEnhancementOverrideCapabilities_Vtbl; } -impl ::core::clone::Clone for IDisplayEnhancementOverrideCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayEnhancementOverrideCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x457060de_ee5a_47b7_9918_1e51e812ccc8); } @@ -280,15 +244,11 @@ pub struct IDisplayEnhancementOverrideCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayEnhancementOverrideCapabilitiesChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayEnhancementOverrideCapabilitiesChangedEventArgs { type Vtable = IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDisplayEnhancementOverrideCapabilitiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayEnhancementOverrideCapabilitiesChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb61e664_15fa_49da_8b77_07dbd2af585d); } @@ -300,15 +260,11 @@ pub struct IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayEnhancementOverrideStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayEnhancementOverrideStatics { type Vtable = IDisplayEnhancementOverrideStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayEnhancementOverrideStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayEnhancementOverrideStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf5b7ec1_9791_4453_b013_29b6f778e519); } @@ -320,15 +276,11 @@ pub struct IDisplayEnhancementOverrideStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformation { type Vtable = IDisplayInformation_Vtbl; } -impl ::core::clone::Clone for IDisplayInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbed112ae_adc3_4dc9_ae65_851f4d7d4799); } @@ -382,15 +334,11 @@ pub struct IDisplayInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformation2 { type Vtable = IDisplayInformation2_Vtbl; } -impl ::core::clone::Clone for IDisplayInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dcd0021_fad1_4b8e_8edf_775887b8bf19); } @@ -402,15 +350,11 @@ pub struct IDisplayInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformation3 { type Vtable = IDisplayInformation3_Vtbl; } -impl ::core::clone::Clone for IDisplayInformation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb15011d_0f09_4466_8ff3_11de9a3c929a); } @@ -425,15 +369,11 @@ pub struct IDisplayInformation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformation4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformation4 { type Vtable = IDisplayInformation4_Vtbl; } -impl ::core::clone::Clone for IDisplayInformation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc972ce2f_1242_46be_b536_e1aafe9e7acf); } @@ -446,15 +386,11 @@ pub struct IDisplayInformation4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformation5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformation5 { type Vtable = IDisplayInformation5_Vtbl; } -impl ::core::clone::Clone for IDisplayInformation5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformation5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a5442dc_2cde_4a8d_80d1_21dc5adcc1aa); } @@ -474,15 +410,11 @@ pub struct IDisplayInformation5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayInformationStatics { type Vtable = IDisplayInformationStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6a02a6c_d452_44dc_ba07_96f3c6adf9d1); } @@ -505,18 +437,13 @@ pub struct IDisplayInformationStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPropertiesStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IDisplayPropertiesStatics { type Vtable = IDisplayPropertiesStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IDisplayPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IDisplayPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6937ed8d_30ea_4ded_8271_4553ff02f68a); } @@ -600,15 +527,11 @@ pub struct IDisplayPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayServices(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayServices { type Vtable = IDisplayServices_Vtbl; } -impl ::core::clone::Clone for IDisplayServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b54f32b_890d_5747_bd26_fdbdeb0c8a71); } @@ -619,15 +542,11 @@ pub struct IDisplayServices_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayServicesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayServicesStatics { type Vtable = IDisplayServicesStatics_Vtbl; } -impl ::core::clone::Clone for IDisplayServicesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayServicesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc2096bf_730a_5560_b461_91c13d692e0c); } @@ -639,6 +558,7 @@ pub struct IDisplayServicesStatics_Vtbl { } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvancedColorInfo(::windows_core::IUnknown); impl AdvancedColorInfo { pub fn CurrentAdvancedColorKind(&self) -> ::windows_core::Result { @@ -727,25 +647,9 @@ impl AdvancedColorInfo { } } } -impl ::core::cmp::PartialEq for AdvancedColorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvancedColorInfo {} -impl ::core::fmt::Debug for AdvancedColorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvancedColorInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvancedColorInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.AdvancedColorInfo;{8797dcfb-b229-4081-ae9a-2cc85e34ad6a})"); } -impl ::core::clone::Clone for AdvancedColorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvancedColorInfo { type Vtable = IAdvancedColorInfo_Vtbl; } @@ -760,6 +664,7 @@ unsafe impl ::core::marker::Send for AdvancedColorInfo {} unsafe impl ::core::marker::Sync for AdvancedColorInfo {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BrightnessOverride(::windows_core::IUnknown); impl BrightnessOverride { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -889,25 +794,9 @@ impl BrightnessOverride { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BrightnessOverride { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BrightnessOverride {} -impl ::core::fmt::Debug for BrightnessOverride { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BrightnessOverride").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BrightnessOverride { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverride;{96c9621a-c143-4392-bedd-4a7e9574c8fd})"); } -impl ::core::clone::Clone for BrightnessOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BrightnessOverride { type Vtable = IBrightnessOverride_Vtbl; } @@ -922,6 +811,7 @@ unsafe impl ::core::marker::Send for BrightnessOverride {} unsafe impl ::core::marker::Sync for BrightnessOverride {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BrightnessOverrideSettings(::windows_core::IUnknown); impl BrightnessOverrideSettings { pub fn DesiredLevel(&self) -> ::windows_core::Result { @@ -962,25 +852,9 @@ impl BrightnessOverrideSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BrightnessOverrideSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BrightnessOverrideSettings {} -impl ::core::fmt::Debug for BrightnessOverrideSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BrightnessOverrideSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BrightnessOverrideSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.BrightnessOverrideSettings;{d112ab2a-7604-4dba-bcf8-4b6f49502cb0})"); } -impl ::core::clone::Clone for BrightnessOverrideSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BrightnessOverrideSettings { type Vtable = IBrightnessOverrideSettings_Vtbl; } @@ -995,6 +869,7 @@ unsafe impl ::core::marker::Send for BrightnessOverrideSettings {} unsafe impl ::core::marker::Sync for BrightnessOverrideSettings {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ColorOverrideSettings(::windows_core::IUnknown); impl ColorOverrideSettings { pub fn DesiredDisplayColorOverrideScenario(&self) -> ::windows_core::Result { @@ -1016,25 +891,9 @@ impl ColorOverrideSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ColorOverrideSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ColorOverrideSettings {} -impl ::core::fmt::Debug for ColorOverrideSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ColorOverrideSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ColorOverrideSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.ColorOverrideSettings;{fbefa134-4a81-4c4d-a5b6-7d1b5c4bd00b})"); } -impl ::core::clone::Clone for ColorOverrideSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ColorOverrideSettings { type Vtable = IColorOverrideSettings_Vtbl; } @@ -1049,6 +908,7 @@ unsafe impl ::core::marker::Send for ColorOverrideSettings {} unsafe impl ::core::marker::Sync for ColorOverrideSettings {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayEnhancementOverride(::windows_core::IUnknown); impl DisplayEnhancementOverride { pub fn ColorOverrideSettings(&self) -> ::windows_core::Result { @@ -1174,25 +1034,9 @@ impl DisplayEnhancementOverride { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayEnhancementOverride { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayEnhancementOverride {} -impl ::core::fmt::Debug for DisplayEnhancementOverride { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayEnhancementOverride").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayEnhancementOverride { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverride;{429594cf-d97a-4b02-a428-5c4292f7f522})"); } -impl ::core::clone::Clone for DisplayEnhancementOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayEnhancementOverride { type Vtable = IDisplayEnhancementOverride_Vtbl; } @@ -1207,6 +1051,7 @@ unsafe impl ::core::marker::Send for DisplayEnhancementOverride {} unsafe impl ::core::marker::Sync for DisplayEnhancementOverride {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayEnhancementOverrideCapabilities(::windows_core::IUnknown); impl DisplayEnhancementOverrideCapabilities { pub fn IsBrightnessControlSupported(&self) -> ::windows_core::Result { @@ -1233,25 +1078,9 @@ impl DisplayEnhancementOverrideCapabilities { } } } -impl ::core::cmp::PartialEq for DisplayEnhancementOverrideCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayEnhancementOverrideCapabilities {} -impl ::core::fmt::Debug for DisplayEnhancementOverrideCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayEnhancementOverrideCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayEnhancementOverrideCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilities;{457060de-ee5a-47b7-9918-1e51e812ccc8})"); } -impl ::core::clone::Clone for DisplayEnhancementOverrideCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayEnhancementOverrideCapabilities { type Vtable = IDisplayEnhancementOverrideCapabilities_Vtbl; } @@ -1266,6 +1095,7 @@ unsafe impl ::core::marker::Send for DisplayEnhancementOverrideCapabilities {} unsafe impl ::core::marker::Sync for DisplayEnhancementOverrideCapabilities {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayEnhancementOverrideCapabilitiesChangedEventArgs(::windows_core::IUnknown); impl DisplayEnhancementOverrideCapabilitiesChangedEventArgs { pub fn Capabilities(&self) -> ::windows_core::Result { @@ -1276,25 +1106,9 @@ impl DisplayEnhancementOverrideCapabilitiesChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayEnhancementOverrideCapabilitiesChangedEventArgs {} -impl ::core::fmt::Debug for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayEnhancementOverrideCapabilitiesChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayEnhancementOverrideCapabilitiesChangedEventArgs;{db61e664-15fa-49da-8b77-07dbd2af585d})"); } -impl ::core::clone::Clone for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayEnhancementOverrideCapabilitiesChangedEventArgs { type Vtable = IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_Vtbl; } @@ -1309,6 +1123,7 @@ unsafe impl ::core::marker::Send for DisplayEnhancementOverrideCapabilitiesChang unsafe impl ::core::marker::Sync for DisplayEnhancementOverrideCapabilitiesChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayInformation(::windows_core::IUnknown); impl DisplayInformation { pub fn CurrentOrientation(&self) -> ::windows_core::Result { @@ -1533,25 +1348,9 @@ impl DisplayInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayInformation {} -impl ::core::fmt::Debug for DisplayInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayInformation;{bed112ae-adc3-4dc9-ae65-851f4d7d4799})"); } -impl ::core::clone::Clone for DisplayInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayInformation { type Vtable = IDisplayInformation_Vtbl; } @@ -1723,6 +1522,7 @@ impl ::windows_core::RuntimeName for DisplayProperties { } #[doc = "*Required features: `\"Graphics_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayServices(::windows_core::IUnknown); impl DisplayServices { pub fn FindAll() -> ::windows_core::Result<::windows_core::Array> { @@ -1737,25 +1537,9 @@ impl DisplayServices { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DisplayServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayServices {} -impl ::core::fmt::Debug for DisplayServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayServices").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayServices { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Display.DisplayServices;{1b54f32b-890d-5747-bd26-fdbdeb0c8a71})"); } -impl ::core::clone::Clone for DisplayServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayServices { type Vtable = IDisplayServices_Vtbl; } @@ -2133,6 +1917,7 @@ impl ::core::default::Default for NitRange { #[doc = "*Required features: `\"Graphics_Display\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayPropertiesEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl DisplayPropertiesEventHandler { @@ -2163,9 +1948,12 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2191,30 +1979,10 @@ impl) -> ::window } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for DisplayPropertiesEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for DisplayPropertiesEventHandler {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for DisplayPropertiesEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayPropertiesEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for DisplayPropertiesEventHandler { type Vtable = DisplayPropertiesEventHandler_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for DisplayPropertiesEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for DisplayPropertiesEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbdd8b01_f1a1_46d1_9ee3_543bcc995980); } diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs index eee812e04a..2bc65bc92b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs @@ -31,8 +31,8 @@ impl IGraphicsEffect_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Effects\"`, `\"implement\"`*"] @@ -44,7 +44,7 @@ impl IGraphicsEffectSource_Vtbl { pub const fn new, Impl: IGraphicsEffectSource_Impl, const OFFSET: isize>() -> IGraphicsEffectSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index de68f1a985..b49e21864c 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Graphics_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsEffect(::windows_core::IUnknown); impl IGraphicsEffect { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -16,28 +17,12 @@ impl IGraphicsEffect { } ::windows_core::imp::interface_hierarchy!(IGraphicsEffect, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IGraphicsEffect {} -impl ::core::cmp::PartialEq for IGraphicsEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphicsEffect {} -impl ::core::fmt::Debug for IGraphicsEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphicsEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGraphicsEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cb51c0ce-8fe6-4636-b202-861faa07d8f3}"); } unsafe impl ::windows_core::Interface for IGraphicsEffect { type Vtable = IGraphicsEffect_Vtbl; } -impl ::core::clone::Clone for IGraphicsEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb51c0ce_8fe6_4636_b202_861faa07d8f3); } @@ -50,31 +35,16 @@ pub struct IGraphicsEffect_Vtbl { } #[doc = "*Required features: `\"Graphics_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsEffectSource(::windows_core::IUnknown); impl IGraphicsEffectSource {} ::windows_core::imp::interface_hierarchy!(IGraphicsEffectSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGraphicsEffectSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphicsEffectSource {} -impl ::core::fmt::Debug for IGraphicsEffectSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphicsEffectSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGraphicsEffectSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2d8f9ddc-4339-4eb9-9216-f9deb75658a2}"); } unsafe impl ::windows_core::Interface for IGraphicsEffectSource { type Vtable = IGraphicsEffectSource_Vtbl; } -impl ::core::clone::Clone for IGraphicsEffectSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsEffectSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d8f9ddc_4339_4eb9_9216_f9deb75658a2); } diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index 31cadce3fc..2a0b27a1d4 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera { type Vtable = IHolographicCamera_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4e98445_9bed_4980_9ba0_e87680d1cb74); } @@ -29,15 +25,11 @@ pub struct IHolographicCamera_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera2 { type Vtable = IHolographicCamera2_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb55b9f1a_ba8c_4f84_ad79_2e7e1e2450f3); } @@ -51,15 +43,11 @@ pub struct IHolographicCamera2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera3 { type Vtable = IHolographicCamera3_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45aa4fb3_7b59_524e_4a3f_4a6ad6650477); } @@ -77,15 +65,11 @@ pub struct IHolographicCamera3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera4 { type Vtable = IHolographicCamera4_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a2531d6_4723_4f39_a9a5_9d05181d9b44); } @@ -97,15 +81,11 @@ pub struct IHolographicCamera4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera5 { type Vtable = IHolographicCamera5_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x229706f2_628d_4ef5_9c08_a63fdd7787c6); } @@ -119,15 +99,11 @@ pub struct IHolographicCamera5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCamera6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCamera6 { type Vtable = IHolographicCamera6_Vtbl; } -impl ::core::clone::Clone for IHolographicCamera6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCamera6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0209194f_632d_5154_ab52_0b5d15b12505); } @@ -139,15 +115,11 @@ pub struct IHolographicCamera6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraPose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraPose { type Vtable = IHolographicCameraPose_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraPose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d7d7e30_12de_45bd_912b_c7f6561599d1); } @@ -181,15 +153,11 @@ pub struct IHolographicCameraPose_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraPose2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraPose2 { type Vtable = IHolographicCameraPose2_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraPose2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraPose2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x232be073_5d2d_4560_814e_2697c4fce16b); } @@ -212,15 +180,11 @@ pub struct IHolographicCameraPose2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraRenderingParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraRenderingParameters { type Vtable = IHolographicCameraRenderingParameters_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraRenderingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraRenderingParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8eac2ed1_5bf4_4e16_8236_ae0800c11d0d); } @@ -251,15 +215,11 @@ pub struct IHolographicCameraRenderingParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraRenderingParameters2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraRenderingParameters2 { type Vtable = IHolographicCameraRenderingParameters2_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraRenderingParameters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraRenderingParameters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x261270e3_b696_4634_94d6_be0681643599); } @@ -276,15 +236,11 @@ pub struct IHolographicCameraRenderingParameters2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraRenderingParameters3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraRenderingParameters3 { type Vtable = IHolographicCameraRenderingParameters3_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraRenderingParameters3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraRenderingParameters3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1aa513f_136d_4b06_b9d4_e4b914cd0683); } @@ -297,15 +253,11 @@ pub struct IHolographicCameraRenderingParameters3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraRenderingParameters4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraRenderingParameters4 { type Vtable = IHolographicCameraRenderingParameters4_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraRenderingParameters4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraRenderingParameters4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0878fa4c_e163_57dc_82b7_c406ab3e0537); } @@ -318,15 +270,11 @@ pub struct IHolographicCameraRenderingParameters4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraViewportParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicCameraViewportParameters { type Vtable = IHolographicCameraViewportParameters_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraViewportParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraViewportParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80cdf3f7_842a_41e1_93ed_5692ab1fbb10); } @@ -345,15 +293,11 @@ pub struct IHolographicCameraViewportParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicDisplay(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicDisplay { type Vtable = IHolographicDisplay_Vtbl; } -impl ::core::clone::Clone for IHolographicDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicDisplay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9acea414_1d9f_4090_a388_90c06f6eae9c); } @@ -376,15 +320,11 @@ pub struct IHolographicDisplay_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicDisplay2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicDisplay2 { type Vtable = IHolographicDisplay2_Vtbl; } -impl ::core::clone::Clone for IHolographicDisplay2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicDisplay2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75ac3f82_e755_436c_8d96_4d32d131473e); } @@ -396,15 +336,11 @@ pub struct IHolographicDisplay2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicDisplay3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicDisplay3 { type Vtable = IHolographicDisplay3_Vtbl; } -impl ::core::clone::Clone for IHolographicDisplay3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicDisplay3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc4c6ac6_6480_5008_b29e_157d77c843f7); } @@ -416,15 +352,11 @@ pub struct IHolographicDisplay3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicDisplayStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicDisplayStatics { type Vtable = IHolographicDisplayStatics_Vtbl; } -impl ::core::clone::Clone for IHolographicDisplayStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicDisplayStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb374983_e7b0_4841_8355_3ae5b536e9a4); } @@ -436,15 +368,11 @@ pub struct IHolographicDisplayStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrame { type Vtable = IHolographicFrame_Vtbl; } -impl ::core::clone::Clone for IHolographicFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6988eb6_a8b9_3054_a6eb_d624b6536375); } @@ -473,15 +401,11 @@ pub struct IHolographicFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrame2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrame2 { type Vtable = IHolographicFrame2_Vtbl; } -impl ::core::clone::Clone for IHolographicFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x283f37bf_3bf2_5e91_6633_870574e6f217); } @@ -493,15 +417,11 @@ pub struct IHolographicFrame2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrame3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrame3 { type Vtable = IHolographicFrame3_Vtbl; } -impl ::core::clone::Clone for IHolographicFrame3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrame3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5e964c9_8a27_55d3_9f98_94530d369052); } @@ -513,15 +433,11 @@ pub struct IHolographicFrame3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFramePrediction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFramePrediction { type Vtable = IHolographicFramePrediction_Vtbl; } -impl ::core::clone::Clone for IHolographicFramePrediction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFramePrediction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x520f4de1_5c0a_4e79_a81e_6abe02bb2739); } @@ -541,18 +457,13 @@ pub struct IHolographicFramePrediction_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFramePresentationMonitor(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IHolographicFramePresentationMonitor { type Vtable = IHolographicFramePresentationMonitor_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IHolographicFramePresentationMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IHolographicFramePresentationMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca87256c_6fae_428e_bb83_25dfee51136b); } @@ -569,18 +480,13 @@ pub struct IHolographicFramePresentationMonitor_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFramePresentationReport(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IHolographicFramePresentationReport { type Vtable = IHolographicFramePresentationReport_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IHolographicFramePresentationReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IHolographicFramePresentationReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80baf614_f2f4_4c8a_8de3_065c78f6d5de); } @@ -612,15 +518,11 @@ pub struct IHolographicFramePresentationReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrameRenderingReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrameRenderingReport { type Vtable = IHolographicFrameRenderingReport_Vtbl; } -impl ::core::clone::Clone for IHolographicFrameRenderingReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrameRenderingReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05f32de4_e384_51b3_b934_f0d3a0f78606); } @@ -645,15 +547,11 @@ pub struct IHolographicFrameRenderingReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrameScanoutMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrameScanoutMonitor { type Vtable = IHolographicFrameScanoutMonitor_Vtbl; } -impl ::core::clone::Clone for IHolographicFrameScanoutMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrameScanoutMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e83efa9_843c_5401_8095_9bc1b8b08638); } @@ -668,15 +566,11 @@ pub struct IHolographicFrameScanoutMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicFrameScanoutReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicFrameScanoutReport { type Vtable = IHolographicFrameScanoutReport_Vtbl; } -impl ::core::clone::Clone for IHolographicFrameScanoutReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicFrameScanoutReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ebbe606_03a0_5ca0_b46e_bba068d7233f); } @@ -701,15 +595,11 @@ pub struct IHolographicFrameScanoutReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicQuadLayer { type Vtable = IHolographicQuadLayer_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x903460c9_c9d9_5d5c_41ac_a2d5ab0fd331); } @@ -728,15 +618,11 @@ pub struct IHolographicQuadLayer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicQuadLayerFactory { type Vtable = IHolographicQuadLayerFactory_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa67538f3_5a14_5a10_489a_455065b37b76); } @@ -755,15 +641,11 @@ pub struct IHolographicQuadLayerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayerUpdateParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicQuadLayerUpdateParameters { type Vtable = IHolographicQuadLayerUpdateParameters_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayerUpdateParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayerUpdateParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b0ea3b0_798d_5bca_55c2_2c0c762ebb08); } @@ -795,15 +677,11 @@ pub struct IHolographicQuadLayerUpdateParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayerUpdateParameters2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicQuadLayerUpdateParameters2 { type Vtable = IHolographicQuadLayerUpdateParameters2_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayerUpdateParameters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayerUpdateParameters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f33d32d_82c1_46c1_8980_3cb70d98182b); } @@ -819,15 +697,11 @@ pub struct IHolographicQuadLayerUpdateParameters2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpace(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpace { type Vtable = IHolographicSpace_Vtbl; } -impl ::core::clone::Clone for IHolographicSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4380dba6_5e78_434f_807c_3433d1efe8b7); } @@ -860,15 +734,11 @@ pub struct IHolographicSpace_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpace2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpace2 { type Vtable = IHolographicSpace2_Vtbl; } -impl ::core::clone::Clone for IHolographicSpace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f81a9a8_b7ff_4883_9827_7d677287ea70); } @@ -897,15 +767,11 @@ pub struct IHolographicSpace2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpace3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpace3 { type Vtable = IHolographicSpace3_Vtbl; } -impl ::core::clone::Clone for IHolographicSpace3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpace3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf1733d1_f224_587e_8d71_1e8fc8f07b1f); } @@ -917,15 +783,11 @@ pub struct IHolographicSpace3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceCameraAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpaceCameraAddedEventArgs { type Vtable = IHolographicSpaceCameraAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceCameraAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceCameraAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58f1da35_bbb3_3c8f_993d_6c80e7feb99f); } @@ -941,15 +803,11 @@ pub struct IHolographicSpaceCameraAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceCameraRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpaceCameraRemovedEventArgs { type Vtable = IHolographicSpaceCameraRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceCameraRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceCameraRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x805444a8_f2ae_322e_8da9_836a0a95a4c1); } @@ -961,15 +819,11 @@ pub struct IHolographicSpaceCameraRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpaceStatics { type Vtable = IHolographicSpaceStatics_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x364e6064_c8f2_3ba1_8391_66b8489e67fd); } @@ -984,15 +838,11 @@ pub struct IHolographicSpaceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpaceStatics2 { type Vtable = IHolographicSpaceStatics2_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e777088_75fc_48af_8758_0652f6f07c59); } @@ -1013,15 +863,11 @@ pub struct IHolographicSpaceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicSpaceStatics3 { type Vtable = IHolographicSpaceStatics3_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b00de3d_b1a3_4dfe_8e79_fec5909e6df8); } @@ -1033,15 +879,11 @@ pub struct IHolographicSpaceStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicViewConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicViewConfiguration { type Vtable = IHolographicViewConfiguration_Vtbl; } -impl ::core::clone::Clone for IHolographicViewConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicViewConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c1de6e6_67e9_5004_b02c_67a3a122b576); } @@ -1082,15 +924,11 @@ pub struct IHolographicViewConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicViewConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHolographicViewConfiguration2 { type Vtable = IHolographicViewConfiguration2_Vtbl; } -impl ::core::clone::Clone for IHolographicViewConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicViewConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe241756e_e0d0_5019_9af5_1b165bc2f54e); } @@ -1105,6 +943,7 @@ pub struct IHolographicViewConfiguration2_Vtbl { } #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicCamera(::windows_core::IUnknown); impl HolographicCamera { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1230,25 +1069,9 @@ impl HolographicCamera { } } } -impl ::core::cmp::PartialEq for HolographicCamera { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicCamera {} -impl ::core::fmt::Debug for HolographicCamera { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicCamera").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicCamera { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCamera;{e4e98445-9bed-4980-9ba0-e87680d1cb74})"); } -impl ::core::clone::Clone for HolographicCamera { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicCamera { type Vtable = IHolographicCamera_Vtbl; } @@ -1263,6 +1086,7 @@ unsafe impl ::core::marker::Send for HolographicCamera {} unsafe impl ::core::marker::Sync for HolographicCamera {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicCameraPose(::windows_core::IUnknown); impl HolographicCameraPose { pub fn HolographicCamera(&self) -> ::windows_core::Result { @@ -1362,25 +1186,9 @@ impl HolographicCameraPose { unsafe { (::windows_core::Interface::vtable(this).OverrideViewport)(::windows_core::Interface::as_raw(this), leftviewport, rightviewport).ok() } } } -impl ::core::cmp::PartialEq for HolographicCameraPose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicCameraPose {} -impl ::core::fmt::Debug for HolographicCameraPose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicCameraPose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicCameraPose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraPose;{0d7d7e30-12de-45bd-912b-c7f6561599d1})"); } -impl ::core::clone::Clone for HolographicCameraPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicCameraPose { type Vtable = IHolographicCameraPose_Vtbl; } @@ -1395,6 +1203,7 @@ unsafe impl ::core::marker::Send for HolographicCameraPose {} unsafe impl ::core::marker::Sync for HolographicCameraPose {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicCameraRenderingParameters(::windows_core::IUnknown); impl HolographicCameraRenderingParameters { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Perception_Spatial\"`*"] @@ -1485,25 +1294,9 @@ impl HolographicCameraRenderingParameters { unsafe { (::windows_core::Interface::vtable(this).SetDepthReprojectionMethod)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for HolographicCameraRenderingParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicCameraRenderingParameters {} -impl ::core::fmt::Debug for HolographicCameraRenderingParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicCameraRenderingParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicCameraRenderingParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraRenderingParameters;{8eac2ed1-5bf4-4e16-8236-ae0800c11d0d})"); } -impl ::core::clone::Clone for HolographicCameraRenderingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicCameraRenderingParameters { type Vtable = IHolographicCameraRenderingParameters_Vtbl; } @@ -1518,6 +1311,7 @@ unsafe impl ::core::marker::Send for HolographicCameraRenderingParameters {} unsafe impl ::core::marker::Sync for HolographicCameraRenderingParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicCameraViewportParameters(::windows_core::IUnknown); impl HolographicCameraViewportParameters { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1539,25 +1333,9 @@ impl HolographicCameraViewportParameters { } } } -impl ::core::cmp::PartialEq for HolographicCameraViewportParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicCameraViewportParameters {} -impl ::core::fmt::Debug for HolographicCameraViewportParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicCameraViewportParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicCameraViewportParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicCameraViewportParameters;{80cdf3f7-842a-41e1-93ed-5692ab1fbb10})"); } -impl ::core::clone::Clone for HolographicCameraViewportParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicCameraViewportParameters { type Vtable = IHolographicCameraViewportParameters_Vtbl; } @@ -1572,6 +1350,7 @@ unsafe impl ::core::marker::Send for HolographicCameraViewportParameters {} unsafe impl ::core::marker::Sync for HolographicCameraViewportParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicDisplay(::windows_core::IUnknown); impl HolographicDisplay { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1646,25 +1425,9 @@ impl HolographicDisplay { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HolographicDisplay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicDisplay {} -impl ::core::fmt::Debug for HolographicDisplay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicDisplay").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicDisplay { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicDisplay;{9acea414-1d9f-4090-a388-90c06f6eae9c})"); } -impl ::core::clone::Clone for HolographicDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicDisplay { type Vtable = IHolographicDisplay_Vtbl; } @@ -1679,6 +1442,7 @@ unsafe impl ::core::marker::Send for HolographicDisplay {} unsafe impl ::core::marker::Sync for HolographicDisplay {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFrame(::windows_core::IUnknown); impl HolographicFrame { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1765,25 +1529,9 @@ impl HolographicFrame { } } } -impl ::core::cmp::PartialEq for HolographicFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicFrame {} -impl ::core::fmt::Debug for HolographicFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrame;{c6988eb6-a8b9-3054-a6eb-d624b6536375})"); } -impl ::core::clone::Clone for HolographicFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicFrame { type Vtable = IHolographicFrame_Vtbl; } @@ -1798,6 +1546,7 @@ unsafe impl ::core::marker::Send for HolographicFrame {} unsafe impl ::core::marker::Sync for HolographicFrame {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFramePrediction(::windows_core::IUnknown); impl HolographicFramePrediction { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1819,25 +1568,9 @@ impl HolographicFramePrediction { } } } -impl ::core::cmp::PartialEq for HolographicFramePrediction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicFramePrediction {} -impl ::core::fmt::Debug for HolographicFramePrediction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFramePrediction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicFramePrediction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePrediction;{520f4de1-5c0a-4e79-a81e-6abe02bb2739})"); } -impl ::core::clone::Clone for HolographicFramePrediction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicFramePrediction { type Vtable = IHolographicFramePrediction_Vtbl; } @@ -1853,6 +1586,7 @@ unsafe impl ::core::marker::Sync for HolographicFramePrediction {} #[doc = "*Required features: `\"Graphics_Holographic\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFramePresentationMonitor(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl HolographicFramePresentationMonitor { @@ -1873,30 +1607,10 @@ impl HolographicFramePresentationMonitor { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for HolographicFramePresentationMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for HolographicFramePresentationMonitor {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for HolographicFramePresentationMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFramePresentationMonitor").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for HolographicFramePresentationMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationMonitor;{ca87256c-6fae-428e-bb83-25dfee51136b})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for HolographicFramePresentationMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for HolographicFramePresentationMonitor { type Vtable = IHolographicFramePresentationMonitor_Vtbl; } @@ -1919,6 +1633,7 @@ unsafe impl ::core::marker::Sync for HolographicFramePresentationMonitor {} #[doc = "*Required features: `\"Graphics_Holographic\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFramePresentationReport(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl HolographicFramePresentationReport { @@ -1969,30 +1684,10 @@ impl HolographicFramePresentationReport { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for HolographicFramePresentationReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for HolographicFramePresentationReport {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for HolographicFramePresentationReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFramePresentationReport").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for HolographicFramePresentationReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFramePresentationReport;{80baf614-f2f4-4c8a-8de3-065c78f6d5de})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for HolographicFramePresentationReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for HolographicFramePresentationReport { type Vtable = IHolographicFramePresentationReport_Vtbl; } @@ -2012,6 +1707,7 @@ unsafe impl ::core::marker::Send for HolographicFramePresentationReport {} unsafe impl ::core::marker::Sync for HolographicFramePresentationReport {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFrameRenderingReport(::windows_core::IUnknown); impl HolographicFrameRenderingReport { pub fn FrameId(&self) -> ::windows_core::Result { @@ -2056,25 +1752,9 @@ impl HolographicFrameRenderingReport { } } } -impl ::core::cmp::PartialEq for HolographicFrameRenderingReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicFrameRenderingReport {} -impl ::core::fmt::Debug for HolographicFrameRenderingReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFrameRenderingReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicFrameRenderingReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameRenderingReport;{05f32de4-e384-51b3-b934-f0d3a0f78606})"); } -impl ::core::clone::Clone for HolographicFrameRenderingReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicFrameRenderingReport { type Vtable = IHolographicFrameRenderingReport_Vtbl; } @@ -2089,6 +1769,7 @@ unsafe impl ::core::marker::Send for HolographicFrameRenderingReport {} unsafe impl ::core::marker::Sync for HolographicFrameRenderingReport {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFrameScanoutMonitor(::windows_core::IUnknown); impl HolographicFrameScanoutMonitor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2107,25 +1788,9 @@ impl HolographicFrameScanoutMonitor { } } } -impl ::core::cmp::PartialEq for HolographicFrameScanoutMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicFrameScanoutMonitor {} -impl ::core::fmt::Debug for HolographicFrameScanoutMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFrameScanoutMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicFrameScanoutMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutMonitor;{7e83efa9-843c-5401-8095-9bc1b8b08638})"); } -impl ::core::clone::Clone for HolographicFrameScanoutMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicFrameScanoutMonitor { type Vtable = IHolographicFrameScanoutMonitor_Vtbl; } @@ -2142,6 +1807,7 @@ unsafe impl ::core::marker::Send for HolographicFrameScanoutMonitor {} unsafe impl ::core::marker::Sync for HolographicFrameScanoutMonitor {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicFrameScanoutReport(::windows_core::IUnknown); impl HolographicFrameScanoutReport { pub fn RenderingReport(&self) -> ::windows_core::Result { @@ -2186,25 +1852,9 @@ impl HolographicFrameScanoutReport { } } } -impl ::core::cmp::PartialEq for HolographicFrameScanoutReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicFrameScanoutReport {} -impl ::core::fmt::Debug for HolographicFrameScanoutReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicFrameScanoutReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicFrameScanoutReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicFrameScanoutReport;{0ebbe606-03a0-5ca0-b46e-bba068d7233f})"); } -impl ::core::clone::Clone for HolographicFrameScanoutReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicFrameScanoutReport { type Vtable = IHolographicFrameScanoutReport_Vtbl; } @@ -2219,6 +1869,7 @@ unsafe impl ::core::marker::Send for HolographicFrameScanoutReport {} unsafe impl ::core::marker::Sync for HolographicFrameScanoutReport {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicQuadLayer(::windows_core::IUnknown); impl HolographicQuadLayer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2267,25 +1918,9 @@ impl HolographicQuadLayer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HolographicQuadLayer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicQuadLayer {} -impl ::core::fmt::Debug for HolographicQuadLayer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicQuadLayer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicQuadLayer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayer;{903460c9-c9d9-5d5c-41ac-a2d5ab0fd331})"); } -impl ::core::clone::Clone for HolographicQuadLayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicQuadLayer { type Vtable = IHolographicQuadLayer_Vtbl; } @@ -2302,6 +1937,7 @@ unsafe impl ::core::marker::Send for HolographicQuadLayer {} unsafe impl ::core::marker::Sync for HolographicQuadLayer {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicQuadLayerUpdateParameters(::windows_core::IUnknown); impl HolographicQuadLayerUpdateParameters { #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`*"] @@ -2361,25 +1997,9 @@ impl HolographicQuadLayerUpdateParameters { } } } -impl ::core::cmp::PartialEq for HolographicQuadLayerUpdateParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicQuadLayerUpdateParameters {} -impl ::core::fmt::Debug for HolographicQuadLayerUpdateParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicQuadLayerUpdateParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicQuadLayerUpdateParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicQuadLayerUpdateParameters;{2b0ea3b0-798d-5bca-55c2-2c0c762ebb08})"); } -impl ::core::clone::Clone for HolographicQuadLayerUpdateParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicQuadLayerUpdateParameters { type Vtable = IHolographicQuadLayerUpdateParameters_Vtbl; } @@ -2394,6 +2014,7 @@ unsafe impl ::core::marker::Send for HolographicQuadLayerUpdateParameters {} unsafe impl ::core::marker::Sync for HolographicQuadLayerUpdateParameters {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicSpace(::windows_core::IUnknown); impl HolographicSpace { pub fn PrimaryAdapterId(&self) -> ::windows_core::Result { @@ -2567,25 +2188,9 @@ impl HolographicSpace { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HolographicSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicSpace {} -impl ::core::fmt::Debug for HolographicSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicSpace").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicSpace { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpace;{4380dba6-5e78-434f-807c-3433d1efe8b7})"); } -impl ::core::clone::Clone for HolographicSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicSpace { type Vtable = IHolographicSpace_Vtbl; } @@ -2600,6 +2205,7 @@ unsafe impl ::core::marker::Send for HolographicSpace {} unsafe impl ::core::marker::Sync for HolographicSpace {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicSpaceCameraAddedEventArgs(::windows_core::IUnknown); impl HolographicSpaceCameraAddedEventArgs { pub fn Camera(&self) -> ::windows_core::Result { @@ -2619,25 +2225,9 @@ impl HolographicSpaceCameraAddedEventArgs { } } } -impl ::core::cmp::PartialEq for HolographicSpaceCameraAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicSpaceCameraAddedEventArgs {} -impl ::core::fmt::Debug for HolographicSpaceCameraAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicSpaceCameraAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicSpaceCameraAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraAddedEventArgs;{58f1da35-bbb3-3c8f-993d-6c80e7feb99f})"); } -impl ::core::clone::Clone for HolographicSpaceCameraAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicSpaceCameraAddedEventArgs { type Vtable = IHolographicSpaceCameraAddedEventArgs_Vtbl; } @@ -2652,6 +2242,7 @@ unsafe impl ::core::marker::Send for HolographicSpaceCameraAddedEventArgs {} unsafe impl ::core::marker::Sync for HolographicSpaceCameraAddedEventArgs {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicSpaceCameraRemovedEventArgs(::windows_core::IUnknown); impl HolographicSpaceCameraRemovedEventArgs { pub fn Camera(&self) -> ::windows_core::Result { @@ -2662,25 +2253,9 @@ impl HolographicSpaceCameraRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for HolographicSpaceCameraRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicSpaceCameraRemovedEventArgs {} -impl ::core::fmt::Debug for HolographicSpaceCameraRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicSpaceCameraRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicSpaceCameraRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicSpaceCameraRemovedEventArgs;{805444a8-f2ae-322e-8da9-836a0a95a4c1})"); } -impl ::core::clone::Clone for HolographicSpaceCameraRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicSpaceCameraRemovedEventArgs { type Vtable = IHolographicSpaceCameraRemovedEventArgs_Vtbl; } @@ -2695,6 +2270,7 @@ unsafe impl ::core::marker::Send for HolographicSpaceCameraRemovedEventArgs {} unsafe impl ::core::marker::Sync for HolographicSpaceCameraRemovedEventArgs {} #[doc = "*Required features: `\"Graphics_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HolographicViewConfiguration(::windows_core::IUnknown); impl HolographicViewConfiguration { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2797,25 +2373,9 @@ impl HolographicViewConfiguration { } } } -impl ::core::cmp::PartialEq for HolographicViewConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HolographicViewConfiguration {} -impl ::core::fmt::Debug for HolographicViewConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HolographicViewConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HolographicViewConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Holographic.HolographicViewConfiguration;{5c1de6e6-67e9-5004-b02c-67a3a122b576})"); } -impl ::core::clone::Clone for HolographicViewConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HolographicViewConfiguration { type Vtable = IHolographicViewConfiguration_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs index c3b6cbb43a..3abd5ab002 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs @@ -173,8 +173,8 @@ impl IBitmapFrame_Vtbl { GetPixelDataTransformedAsync: GetPixelDataTransformedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { GetSoftwareBitmapTransformedAsync: GetSoftwareBitmapTransformedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -267,7 +267,7 @@ impl IBitmapPropertiesView_Vtbl { GetPropertiesAsync: GetPropertiesAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index b5b1dec6b1..069e18192e 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapBuffer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapBuffer { type Vtable = IBitmapBuffer_Vtbl; } -impl ::core::clone::Clone for IBitmapBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa53e04c4_399c_438c_b28f_a63a6b83d1a1); } @@ -21,15 +17,11 @@ pub struct IBitmapBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapCodecInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapCodecInformation { type Vtable = IBitmapCodecInformation_Vtbl; } -impl ::core::clone::Clone for IBitmapCodecInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapCodecInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x400caaf2_c4b0_4392_a3b0_6f6f9ba95cb4); } @@ -50,15 +42,11 @@ pub struct IBitmapCodecInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapDecoder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapDecoder { type Vtable = IBitmapDecoder_Vtbl; } -impl ::core::clone::Clone for IBitmapDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacef22ba_1d74_4c91_9dfc_9620745233e6); } @@ -80,15 +68,11 @@ pub struct IBitmapDecoder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapDecoderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapDecoderStatics { type Vtable = IBitmapDecoderStatics_Vtbl; } -impl ::core::clone::Clone for IBitmapDecoderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapDecoderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x438ccb26_bcef_4e95_bad6_23a822e58d01); } @@ -118,15 +102,11 @@ pub struct IBitmapDecoderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapDecoderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapDecoderStatics2 { type Vtable = IBitmapDecoderStatics2_Vtbl; } -impl ::core::clone::Clone for IBitmapDecoderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapDecoderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ba68ea_99a1_40c4_80d9_aef0dafa6c3f); } @@ -139,15 +119,11 @@ pub struct IBitmapDecoderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapEncoder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapEncoder { type Vtable = IBitmapEncoder_Vtbl; } -impl ::core::clone::Clone for IBitmapEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bc468e3_e1f8_4b54_95e8_32919551ce62); } @@ -181,15 +157,11 @@ pub struct IBitmapEncoder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapEncoderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapEncoderStatics { type Vtable = IBitmapEncoderStatics_Vtbl; } -impl ::core::clone::Clone for IBitmapEncoderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapEncoderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa74356a7_a4e4_4eb9_8e40_564de7e1ccb2); } @@ -226,15 +198,11 @@ pub struct IBitmapEncoderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapEncoderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapEncoderStatics2 { type Vtable = IBitmapEncoderStatics2_Vtbl; } -impl ::core::clone::Clone for IBitmapEncoderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapEncoderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33cbc259_fe31_41b1_b812_086d21e87e16); } @@ -246,15 +214,11 @@ pub struct IBitmapEncoderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapEncoderWithSoftwareBitmap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapEncoderWithSoftwareBitmap { type Vtable = IBitmapEncoderWithSoftwareBitmap_Vtbl; } -impl ::core::clone::Clone for IBitmapEncoderWithSoftwareBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapEncoderWithSoftwareBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x686cd241_4330_4c77_ace4_0334968b1768); } @@ -266,6 +230,7 @@ pub struct IBitmapEncoderWithSoftwareBitmap_Vtbl { } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapFrame(::windows_core::IUnknown); impl IBitmapFrame { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -363,28 +328,12 @@ impl IBitmapFrame { } } ::windows_core::imp::interface_hierarchy!(IBitmapFrame, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBitmapFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitmapFrame {} -impl ::core::fmt::Debug for IBitmapFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitmapFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBitmapFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{72a49a1c-8081-438d-91bc-94ecfc8185c6}"); } unsafe impl ::windows_core::Interface for IBitmapFrame { type Vtable = IBitmapFrame_Vtbl; } -impl ::core::clone::Clone for IBitmapFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72a49a1c_8081_438d_91bc_94ecfc8185c6); } @@ -416,6 +365,7 @@ pub struct IBitmapFrame_Vtbl { } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapFrameWithSoftwareBitmap(::windows_core::IUnknown); impl IBitmapFrameWithSoftwareBitmap { #[doc = "*Required features: `\"Foundation\"`*"] @@ -544,28 +494,12 @@ impl IBitmapFrameWithSoftwareBitmap { } ::windows_core::imp::interface_hierarchy!(IBitmapFrameWithSoftwareBitmap, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBitmapFrameWithSoftwareBitmap {} -impl ::core::cmp::PartialEq for IBitmapFrameWithSoftwareBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitmapFrameWithSoftwareBitmap {} -impl ::core::fmt::Debug for IBitmapFrameWithSoftwareBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitmapFrameWithSoftwareBitmap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBitmapFrameWithSoftwareBitmap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fe287c9a-420c-4963-87ad-691436e08383}"); } unsafe impl ::windows_core::Interface for IBitmapFrameWithSoftwareBitmap { type Vtable = IBitmapFrameWithSoftwareBitmap_Vtbl; } -impl ::core::clone::Clone for IBitmapFrameWithSoftwareBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapFrameWithSoftwareBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe287c9a_420c_4963_87ad_691436e08383); } @@ -588,15 +522,11 @@ pub struct IBitmapFrameWithSoftwareBitmap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapProperties { type Vtable = IBitmapProperties_Vtbl; } -impl ::core::clone::Clone for IBitmapProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea9f4f1b_b505_4450_a4d1_e8ca94529d8d); } @@ -611,6 +541,7 @@ pub struct IBitmapProperties_Vtbl { } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapPropertiesView(::windows_core::IUnknown); impl IBitmapPropertiesView { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -627,28 +558,12 @@ impl IBitmapPropertiesView { } } ::windows_core::imp::interface_hierarchy!(IBitmapPropertiesView, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBitmapPropertiesView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitmapPropertiesView {} -impl ::core::fmt::Debug for IBitmapPropertiesView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitmapPropertiesView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBitmapPropertiesView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{7e0fe87a-3a70-48f8-9c55-196cf5a545f5}"); } unsafe impl ::windows_core::Interface for IBitmapPropertiesView { type Vtable = IBitmapPropertiesView_Vtbl; } -impl ::core::clone::Clone for IBitmapPropertiesView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapPropertiesView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e0fe87a_3a70_48f8_9c55_196cf5a545f5); } @@ -663,15 +578,11 @@ pub struct IBitmapPropertiesView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapTransform(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapTransform { type Vtable = IBitmapTransform_Vtbl; } -impl ::core::clone::Clone for IBitmapTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae755344_e268_4d35_adcf_e995d31a8d34); } @@ -694,15 +605,11 @@ pub struct IBitmapTransform_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapTypedValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapTypedValue { type Vtable = IBitmapTypedValue_Vtbl; } -impl ::core::clone::Clone for IBitmapTypedValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapTypedValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd8044a9_2443_4000_b0cd_79316c56f589); } @@ -718,15 +625,11 @@ pub struct IBitmapTypedValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitmapTypedValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBitmapTypedValueFactory { type Vtable = IBitmapTypedValueFactory_Vtbl; } -impl ::core::clone::Clone for IBitmapTypedValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitmapTypedValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92dbb599_ce13_46bb_9545_cb3a3f63eb8b); } @@ -741,15 +644,11 @@ pub struct IBitmapTypedValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPixelDataProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPixelDataProvider { type Vtable = IPixelDataProvider_Vtbl; } -impl ::core::clone::Clone for IPixelDataProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPixelDataProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd831f25_185c_4595_9fb9_ccbe6ec18a6f); } @@ -761,15 +660,11 @@ pub struct IPixelDataProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftwareBitmap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISoftwareBitmap { type Vtable = ISoftwareBitmap_Vtbl; } -impl ::core::clone::Clone for ISoftwareBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftwareBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x689e0708_7eef_483f_963f_da938818e073); } @@ -800,15 +695,11 @@ pub struct ISoftwareBitmap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftwareBitmapFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISoftwareBitmapFactory { type Vtable = ISoftwareBitmapFactory_Vtbl; } -impl ::core::clone::Clone for ISoftwareBitmapFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftwareBitmapFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99feb69_2d62_4d47_a6b3_4fdb6a07fdf8); } @@ -821,15 +712,11 @@ pub struct ISoftwareBitmapFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftwareBitmapStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISoftwareBitmapStatics { type Vtable = ISoftwareBitmapStatics_Vtbl; } -impl ::core::clone::Clone for ISoftwareBitmapStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftwareBitmapStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0385db_672f_4a9d_806e_c2442f343e86); } @@ -859,6 +746,7 @@ pub struct ISoftwareBitmapStatics_Vtbl { } #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapBuffer(::windows_core::IUnknown); impl BitmapBuffer { pub fn GetPlaneCount(&self) -> ::windows_core::Result { @@ -891,25 +779,9 @@ impl BitmapBuffer { } } } -impl ::core::cmp::PartialEq for BitmapBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapBuffer {} -impl ::core::fmt::Debug for BitmapBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapBuffer;{a53e04c4-399c-438c-b28f-a63a6b83d1a1})"); } -impl ::core::clone::Clone for BitmapBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapBuffer { type Vtable = IBitmapBuffer_Vtbl; } @@ -928,6 +800,7 @@ unsafe impl ::core::marker::Send for BitmapBuffer {} unsafe impl ::core::marker::Sync for BitmapBuffer {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapCodecInformation(::windows_core::IUnknown); impl BitmapCodecInformation { pub fn CodecId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -963,25 +836,9 @@ impl BitmapCodecInformation { } } } -impl ::core::cmp::PartialEq for BitmapCodecInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapCodecInformation {} -impl ::core::fmt::Debug for BitmapCodecInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapCodecInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapCodecInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapCodecInformation;{400caaf2-c4b0-4392-a3b0-6f6f9ba95cb4})"); } -impl ::core::clone::Clone for BitmapCodecInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapCodecInformation { type Vtable = IBitmapCodecInformation_Vtbl; } @@ -996,6 +853,7 @@ unsafe impl ::core::marker::Send for BitmapCodecInformation {} unsafe impl ::core::marker::Sync for BitmapCodecInformation {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapDecoder(::windows_core::IUnknown); impl BitmapDecoder { pub fn BitmapContainerProperties(&self) -> ::windows_core::Result { @@ -1255,25 +1113,9 @@ impl BitmapDecoder { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BitmapDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapDecoder {} -impl ::core::fmt::Debug for BitmapDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapDecoder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapDecoder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapDecoder;{acef22ba-1d74-4c91-9dfc-9620745233e6})"); } -impl ::core::clone::Clone for BitmapDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapDecoder { type Vtable = IBitmapDecoder_Vtbl; } @@ -1290,6 +1132,7 @@ unsafe impl ::core::marker::Send for BitmapDecoder {} unsafe impl ::core::marker::Sync for BitmapDecoder {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapEncoder(::windows_core::IUnknown); impl BitmapEncoder { pub fn EncoderInformation(&self) -> ::windows_core::Result { @@ -1501,25 +1344,9 @@ impl BitmapEncoder { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BitmapEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapEncoder {} -impl ::core::fmt::Debug for BitmapEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapEncoder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapEncoder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapEncoder;{2bc468e3-e1f8-4b54-95e8-32919551ce62})"); } -impl ::core::clone::Clone for BitmapEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapEncoder { type Vtable = IBitmapEncoder_Vtbl; } @@ -1534,6 +1361,7 @@ unsafe impl ::core::marker::Send for BitmapEncoder {} unsafe impl ::core::marker::Sync for BitmapEncoder {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapFrame(::windows_core::IUnknown); impl BitmapFrame { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -1660,25 +1488,9 @@ impl BitmapFrame { } } } -impl ::core::cmp::PartialEq for BitmapFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapFrame {} -impl ::core::fmt::Debug for BitmapFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapFrame;{72a49a1c-8081-438d-91bc-94ecfc8185c6})"); } -impl ::core::clone::Clone for BitmapFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapFrame { type Vtable = IBitmapFrame_Vtbl; } @@ -1695,6 +1507,7 @@ unsafe impl ::core::marker::Send for BitmapFrame {} unsafe impl ::core::marker::Sync for BitmapFrame {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapProperties(::windows_core::IUnknown); impl BitmapProperties { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1722,25 +1535,9 @@ impl BitmapProperties { } } } -impl ::core::cmp::PartialEq for BitmapProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapProperties {} -impl ::core::fmt::Debug for BitmapProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapProperties;{ea9f4f1b-b505-4450-a4d1-e8ca94529d8d})"); } -impl ::core::clone::Clone for BitmapProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapProperties { type Vtable = IBitmapProperties_Vtbl; } @@ -1756,6 +1553,7 @@ unsafe impl ::core::marker::Send for BitmapProperties {} unsafe impl ::core::marker::Sync for BitmapProperties {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapPropertiesView(::windows_core::IUnknown); impl BitmapPropertiesView { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1771,25 +1569,9 @@ impl BitmapPropertiesView { } } } -impl ::core::cmp::PartialEq for BitmapPropertiesView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapPropertiesView {} -impl ::core::fmt::Debug for BitmapPropertiesView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapPropertiesView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapPropertiesView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertiesView;{7e0fe87a-3a70-48f8-9c55-196cf5a545f5})"); } -impl ::core::clone::Clone for BitmapPropertiesView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapPropertiesView { type Vtable = IBitmapPropertiesView_Vtbl; } @@ -1806,6 +1588,7 @@ unsafe impl ::core::marker::Sync for BitmapPropertiesView {} #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapPropertySet(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl BitmapPropertySet { @@ -1887,30 +1670,10 @@ impl BitmapPropertySet { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for BitmapPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for BitmapPropertySet {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for BitmapPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for BitmapPropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for BitmapPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for BitmapPropertySet { type Vtable = super::super::Foundation::Collections::IMap_Vtbl<::windows_core::HSTRING, BitmapTypedValue>; } @@ -1950,6 +1713,7 @@ unsafe impl ::core::marker::Send for BitmapPropertySet {} unsafe impl ::core::marker::Sync for BitmapPropertySet {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapTransform(::windows_core::IUnknown); impl BitmapTransform { pub fn new() -> ::windows_core::Result { @@ -2026,25 +1790,9 @@ impl BitmapTransform { unsafe { (::windows_core::Interface::vtable(this).SetBounds)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BitmapTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapTransform {} -impl ::core::fmt::Debug for BitmapTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapTransform").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapTransform { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTransform;{ae755344-e268-4d35-adcf-e995d31a8d34})"); } -impl ::core::clone::Clone for BitmapTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapTransform { type Vtable = IBitmapTransform_Vtbl; } @@ -2059,6 +1807,7 @@ unsafe impl ::core::marker::Send for BitmapTransform {} unsafe impl ::core::marker::Sync for BitmapTransform {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BitmapTypedValue(::windows_core::IUnknown); impl BitmapTypedValue { pub fn Value(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -2094,25 +1843,9 @@ impl BitmapTypedValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BitmapTypedValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BitmapTypedValue {} -impl ::core::fmt::Debug for BitmapTypedValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BitmapTypedValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BitmapTypedValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.BitmapTypedValue;{cd8044a9-2443-4000-b0cd-79316c56f589})"); } -impl ::core::clone::Clone for BitmapTypedValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BitmapTypedValue { type Vtable = IBitmapTypedValue_Vtbl; } @@ -2128,6 +1861,7 @@ unsafe impl ::core::marker::Sync for BitmapTypedValue {} #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageStream(::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl ImageStream { @@ -2256,30 +1990,10 @@ impl ImageStream { } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for ImageStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for ImageStream {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for ImageStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageStream").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] impl ::windows_core::RuntimeType for ImageStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.ImageStream;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for ImageStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for ImageStream { type Vtable = super::super::Storage::Streams::IRandomAccessStreamWithContentType_Vtbl; } @@ -2311,6 +2025,7 @@ unsafe impl ::core::marker::Send for ImageStream {} unsafe impl ::core::marker::Sync for ImageStream {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PixelDataProvider(::windows_core::IUnknown); impl PixelDataProvider { pub fn DetachPixelData(&self) -> ::windows_core::Result<::windows_core::Array> { @@ -2321,25 +2036,9 @@ impl PixelDataProvider { } } } -impl ::core::cmp::PartialEq for PixelDataProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PixelDataProvider {} -impl ::core::fmt::Debug for PixelDataProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PixelDataProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PixelDataProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.PixelDataProvider;{dd831f25-185c-4595-9fb9-ccbe6ec18a6f})"); } -impl ::core::clone::Clone for PixelDataProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PixelDataProvider { type Vtable = IPixelDataProvider_Vtbl; } @@ -2354,6 +2053,7 @@ unsafe impl ::core::marker::Send for PixelDataProvider {} unsafe impl ::core::marker::Sync for PixelDataProvider {} #[doc = "*Required features: `\"Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SoftwareBitmap(::windows_core::IUnknown); impl SoftwareBitmap { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2552,25 +2252,9 @@ impl SoftwareBitmap { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SoftwareBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SoftwareBitmap {} -impl ::core::fmt::Debug for SoftwareBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SoftwareBitmap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SoftwareBitmap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Imaging.SoftwareBitmap;{689e0708-7eef-483f-963f-da938818e073})"); } -impl ::core::clone::Clone for SoftwareBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SoftwareBitmap { type Vtable = ISoftwareBitmap_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs index 6e00aebd01..dc86687de7 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs @@ -31,8 +31,8 @@ impl IPrintCustomOptionDetails_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -61,8 +61,8 @@ impl IPrintItemListOptionDetails_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Items: Items:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl IPrintNumberOptionDetails_Vtbl { MaxValue: MaxValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl IPrintOptionDetails_Vtbl { TrySetValue: TrySetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -243,7 +243,7 @@ impl IPrintTextOptionDetails_Vtbl { MaxCharacters: MaxCharacters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs index d3828953f1..51b7424d50 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintBindingOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintBindingOptionDetails { type Vtable = IPrintBindingOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintBindingOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintBindingOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3f4cc98_9564_4f16_a055_a98b9a49e9d3); } @@ -23,15 +19,11 @@ pub struct IPrintBindingOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintBorderingOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintBorderingOptionDetails { type Vtable = IPrintBorderingOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintBorderingOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintBorderingOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d73bc8f_fb53_4eb2_985f_1d91de0b7639); } @@ -46,15 +38,11 @@ pub struct IPrintBorderingOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCollationOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCollationOptionDetails { type Vtable = IPrintCollationOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCollationOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCollationOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6abb166_a5a6_40dc_acc3_739f28f1e5d3); } @@ -69,15 +57,11 @@ pub struct IPrintCollationOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintColorModeOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintColorModeOptionDetails { type Vtable = IPrintColorModeOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintColorModeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintColorModeOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdba97704_f1d6_4843_a484_9b447cdcf3b6); } @@ -92,15 +76,11 @@ pub struct IPrintColorModeOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCopiesOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCopiesOptionDetails { type Vtable = IPrintCopiesOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCopiesOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCopiesOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42053099_4339_4343_898d_2c47b5e0c341); } @@ -115,15 +95,11 @@ pub struct IPrintCopiesOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomItemDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomItemDetails { type Vtable = IPrintCustomItemDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCustomItemDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomItemDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5704b637_5c3a_449a_aa36_b3291b1192fd); } @@ -137,15 +113,11 @@ pub struct IPrintCustomItemDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomItemListOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomItemListOptionDetails { type Vtable = IPrintCustomItemListOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCustomItemListOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomItemListOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5fafd88_58f2_4ebd_b90f_51e4f2944c5d); } @@ -157,15 +129,11 @@ pub struct IPrintCustomItemListOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomItemListOptionDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomItemListOptionDetails2 { type Vtable = IPrintCustomItemListOptionDetails2_Vtbl; } -impl ::core::clone::Clone for IPrintCustomItemListOptionDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomItemListOptionDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9d6353d_651c_4a39_906e_1091a1801bf1); } @@ -180,15 +148,11 @@ pub struct IPrintCustomItemListOptionDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomItemListOptionDetails3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomItemListOptionDetails3 { type Vtable = IPrintCustomItemListOptionDetails3_Vtbl; } -impl ::core::clone::Clone for IPrintCustomItemListOptionDetails3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomItemListOptionDetails3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fa1b53f_3c34_4868_a407_fc5eab259b21); } @@ -203,6 +167,7 @@ pub struct IPrintCustomItemListOptionDetails3_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomOptionDetails(::windows_core::IUnknown); impl IPrintCustomOptionDetails { pub fn SetDisplayName(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -272,28 +237,12 @@ impl IPrintCustomOptionDetails { } ::windows_core::imp::interface_hierarchy!(IPrintCustomOptionDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrintCustomOptionDetails {} -impl ::core::cmp::PartialEq for IPrintCustomOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCustomOptionDetails {} -impl ::core::fmt::Debug for IPrintCustomOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCustomOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintCustomOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e32bde1c-28af-4b90-95da-a3acf320b929}"); } unsafe impl ::windows_core::Interface for IPrintCustomOptionDetails { type Vtable = IPrintCustomOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCustomOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe32bde1c_28af_4b90_95da_a3acf320b929); } @@ -306,15 +255,11 @@ pub struct IPrintCustomOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomTextOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomTextOptionDetails { type Vtable = IPrintCustomTextOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCustomTextOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomTextOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ad171f8_c8bd_4905_9192_0d75136e8b31); } @@ -327,15 +272,11 @@ pub struct IPrintCustomTextOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomTextOptionDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomTextOptionDetails2 { type Vtable = IPrintCustomTextOptionDetails2_Vtbl; } -impl ::core::clone::Clone for IPrintCustomTextOptionDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomTextOptionDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcea70b54_b977_4718_8338_7ed2b0d86fe3); } @@ -350,15 +291,11 @@ pub struct IPrintCustomTextOptionDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCustomToggleOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintCustomToggleOptionDetails { type Vtable = IPrintCustomToggleOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintCustomToggleOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCustomToggleOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9db4d514_e461_4608_8ee9_db6f5ed073c6); } @@ -373,15 +310,11 @@ pub struct IPrintCustomToggleOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDuplexOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintDuplexOptionDetails { type Vtable = IPrintDuplexOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintDuplexOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDuplexOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcd94591_d4a4_44fa_b3fe_42e0ba28d5ad); } @@ -396,15 +329,11 @@ pub struct IPrintDuplexOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintHolePunchOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintHolePunchOptionDetails { type Vtable = IPrintHolePunchOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintHolePunchOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintHolePunchOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6de1f18_482c_4657_9d71_8ddddbea1e1e); } @@ -419,6 +348,7 @@ pub struct IPrintHolePunchOptionDetails_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintItemListOptionDetails(::windows_core::IUnknown); impl IPrintItemListOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -486,28 +416,12 @@ impl IPrintItemListOptionDetails { } ::windows_core::imp::interface_hierarchy!(IPrintItemListOptionDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrintItemListOptionDetails {} -impl ::core::cmp::PartialEq for IPrintItemListOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintItemListOptionDetails {} -impl ::core::fmt::Debug for IPrintItemListOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintItemListOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintItemListOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9a2257bf-fe61-43d8-a24f-a3f6ab7320e7}"); } unsafe impl ::windows_core::Interface for IPrintItemListOptionDetails { type Vtable = IPrintItemListOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintItemListOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintItemListOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a2257bf_fe61_43d8_a24f_a3f6ab7320e7); } @@ -522,15 +436,11 @@ pub struct IPrintItemListOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintMediaSizeOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintMediaSizeOptionDetails { type Vtable = IPrintMediaSizeOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintMediaSizeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintMediaSizeOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c8d5bcf_c0bf_47c8_b84a_628e7d0d1a1d); } @@ -545,15 +455,11 @@ pub struct IPrintMediaSizeOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintMediaTypeOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintMediaTypeOptionDetails { type Vtable = IPrintMediaTypeOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintMediaTypeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintMediaTypeOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8c7000b_abf3_4abc_8e86_22abc5744a43); } @@ -568,6 +474,7 @@ pub struct IPrintMediaTypeOptionDetails_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintNumberOptionDetails(::windows_core::IUnknown); impl IPrintNumberOptionDetails { pub fn MinValue(&self) -> ::windows_core::Result { @@ -640,28 +547,12 @@ impl IPrintNumberOptionDetails { } ::windows_core::imp::interface_hierarchy!(IPrintNumberOptionDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrintNumberOptionDetails {} -impl ::core::cmp::PartialEq for IPrintNumberOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintNumberOptionDetails {} -impl ::core::fmt::Debug for IPrintNumberOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintNumberOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintNumberOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4d01bbaf-645c-4de9-965f-6fc6bbc47cab}"); } unsafe impl ::windows_core::Interface for IPrintNumberOptionDetails { type Vtable = IPrintNumberOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintNumberOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintNumberOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d01bbaf_645c_4de9_965f_6fc6bbc47cab); } @@ -674,6 +565,7 @@ pub struct IPrintNumberOptionDetails_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOptionDetails(::windows_core::IUnknown); impl IPrintOptionDetails { pub fn OptionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -731,28 +623,12 @@ impl IPrintOptionDetails { } } ::windows_core::imp::interface_hierarchy!(IPrintOptionDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOptionDetails {} -impl ::core::fmt::Debug for IPrintOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{390686cf-d682-495f-adfe-d7333f5c1808}"); } unsafe impl ::windows_core::Interface for IPrintOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x390686cf_d682_495f_adfe_d7333f5c1808); } @@ -771,15 +647,11 @@ pub struct IPrintOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOrientationOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintOrientationOptionDetails { type Vtable = IPrintOrientationOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintOrientationOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOrientationOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46c38879_66e0_4da0_87b4_d25457824eb7); } @@ -794,15 +666,11 @@ pub struct IPrintOrientationOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPageRangeOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintPageRangeOptionDetails { type Vtable = IPrintPageRangeOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintPageRangeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPageRangeOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a19e4b7_2be8_4aa7_9ea5_defbe8713b4e); } @@ -817,15 +685,11 @@ pub struct IPrintPageRangeOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintQualityOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintQualityOptionDetails { type Vtable = IPrintQualityOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintQualityOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintQualityOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd06ba1_ce1a_44e6_84f9_3a92ea1e3044); } @@ -840,15 +704,11 @@ pub struct IPrintQualityOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintStapleOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintStapleOptionDetails { type Vtable = IPrintStapleOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintStapleOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintStapleOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd43175bd_9c0b_44e0_84f6_ceebce653800); } @@ -863,15 +723,11 @@ pub struct IPrintStapleOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptionChangedEventArgs { type Vtable = IPrintTaskOptionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65197d05_a5ee_4307_9407_9acad147679c); } @@ -883,15 +739,11 @@ pub struct IPrintTaskOptionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptionDetails { type Vtable = IPrintTaskOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5720af1_a89e_42a6_81af_f8e010b38a68); } @@ -924,15 +776,11 @@ pub struct IPrintTaskOptionDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptionDetails2 { type Vtable = IPrintTaskOptionDetails2_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53730a09_f968_4692_a177_c074597186db); } @@ -944,15 +792,11 @@ pub struct IPrintTaskOptionDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionDetailsStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptionDetailsStatic { type Vtable = IPrintTaskOptionDetailsStatic_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionDetailsStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionDetailsStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x135da193_0961_4b6e_8766_f13b7fbccd58); } @@ -964,6 +808,7 @@ pub struct IPrintTaskOptionDetailsStatic_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTextOptionDetails(::windows_core::IUnknown); impl IPrintTextOptionDetails { pub fn MaxCharacters(&self) -> ::windows_core::Result { @@ -1029,28 +874,12 @@ impl IPrintTextOptionDetails { } ::windows_core::imp::interface_hierarchy!(IPrintTextOptionDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPrintTextOptionDetails {} -impl ::core::cmp::PartialEq for IPrintTextOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTextOptionDetails {} -impl ::core::fmt::Debug for IPrintTextOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTextOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintTextOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ad75e563-5ce4-46bc-9918-ab9fad144c5b}"); } unsafe impl ::windows_core::Interface for IPrintTextOptionDetails { type Vtable = IPrintTextOptionDetails_Vtbl; } -impl ::core::clone::Clone for IPrintTextOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTextOptionDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad75e563_5ce4_46bc_9918_ab9fad144c5b); } @@ -1062,6 +891,7 @@ pub struct IPrintTextOptionDetails_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintBindingOptionDetails(::windows_core::IUnknown); impl PrintBindingOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1149,25 +979,9 @@ impl PrintBindingOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintBindingOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintBindingOptionDetails {} -impl ::core::fmt::Debug for PrintBindingOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintBindingOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintBindingOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBindingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintBindingOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintBindingOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1184,6 +998,7 @@ unsafe impl ::core::marker::Send for PrintBindingOptionDetails {} unsafe impl ::core::marker::Sync for PrintBindingOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintBorderingOptionDetails(::windows_core::IUnknown); impl PrintBorderingOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1271,25 +1086,9 @@ impl PrintBorderingOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintBorderingOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintBorderingOptionDetails {} -impl ::core::fmt::Debug for PrintBorderingOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintBorderingOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintBorderingOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintBorderingOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintBorderingOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintBorderingOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1306,6 +1105,7 @@ unsafe impl ::core::marker::Send for PrintBorderingOptionDetails {} unsafe impl ::core::marker::Sync for PrintBorderingOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCollationOptionDetails(::windows_core::IUnknown); impl PrintCollationOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1393,25 +1193,9 @@ impl PrintCollationOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintCollationOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCollationOptionDetails {} -impl ::core::fmt::Debug for PrintCollationOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCollationOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCollationOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCollationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintCollationOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCollationOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1428,6 +1212,7 @@ unsafe impl ::core::marker::Send for PrintCollationOptionDetails {} unsafe impl ::core::marker::Sync for PrintCollationOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintColorModeOptionDetails(::windows_core::IUnknown); impl PrintColorModeOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1515,25 +1300,9 @@ impl PrintColorModeOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintColorModeOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintColorModeOptionDetails {} -impl ::core::fmt::Debug for PrintColorModeOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintColorModeOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintColorModeOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintColorModeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintColorModeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintColorModeOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1550,6 +1319,7 @@ unsafe impl ::core::marker::Send for PrintColorModeOptionDetails {} unsafe impl ::core::marker::Sync for PrintColorModeOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCopiesOptionDetails(::windows_core::IUnknown); impl PrintCopiesOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1642,25 +1412,9 @@ impl PrintCopiesOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintCopiesOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCopiesOptionDetails {} -impl ::core::fmt::Debug for PrintCopiesOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCopiesOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCopiesOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCopiesOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintCopiesOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCopiesOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1677,6 +1431,7 @@ unsafe impl ::core::marker::Send for PrintCopiesOptionDetails {} unsafe impl ::core::marker::Sync for PrintCopiesOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCustomItemDetails(::windows_core::IUnknown); impl PrintCustomItemDetails { pub fn ItemId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1698,25 +1453,9 @@ impl PrintCustomItemDetails { } } } -impl ::core::cmp::PartialEq for PrintCustomItemDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCustomItemDetails {} -impl ::core::fmt::Debug for PrintCustomItemDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCustomItemDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCustomItemDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemDetails;{5704b637-5c3a-449a-aa36-b3291b1192fd})"); } -impl ::core::clone::Clone for PrintCustomItemDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCustomItemDetails { type Vtable = IPrintCustomItemDetails_Vtbl; } @@ -1731,6 +1470,7 @@ unsafe impl ::core::marker::Send for PrintCustomItemDetails {} unsafe impl ::core::marker::Sync for PrintCustomItemDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCustomItemListOptionDetails(::windows_core::IUnknown); impl PrintCustomItemListOptionDetails { pub fn AddItem(&self, itemid: &::windows_core::HSTRING, displayname: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1842,25 +1582,9 @@ impl PrintCustomItemListOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintCustomItemListOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCustomItemListOptionDetails {} -impl ::core::fmt::Debug for PrintCustomItemListOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCustomItemListOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCustomItemListOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomItemListOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintCustomItemListOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCustomItemListOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -1878,6 +1602,7 @@ unsafe impl ::core::marker::Send for PrintCustomItemListOptionDetails {} unsafe impl ::core::marker::Sync for PrintCustomItemListOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCustomTextOptionDetails(::windows_core::IUnknown); impl PrintCustomTextOptionDetails { pub fn SetDisplayName(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1978,25 +1703,9 @@ impl PrintCustomTextOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintCustomTextOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCustomTextOptionDetails {} -impl ::core::fmt::Debug for PrintCustomTextOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCustomTextOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCustomTextOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomTextOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintCustomTextOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCustomTextOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2013,6 +1722,7 @@ unsafe impl ::core::marker::Send for PrintCustomTextOptionDetails {} unsafe impl ::core::marker::Sync for PrintCustomTextOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintCustomToggleOptionDetails(::windows_core::IUnknown); impl PrintCustomToggleOptionDetails { pub fn SetDisplayName(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2102,25 +1812,9 @@ impl PrintCustomToggleOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintCustomToggleOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintCustomToggleOptionDetails {} -impl ::core::fmt::Debug for PrintCustomToggleOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintCustomToggleOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintCustomToggleOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintCustomToggleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintCustomToggleOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintCustomToggleOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2137,6 +1831,7 @@ unsafe impl ::core::marker::Send for PrintCustomToggleOptionDetails {} unsafe impl ::core::marker::Sync for PrintCustomToggleOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintDuplexOptionDetails(::windows_core::IUnknown); impl PrintDuplexOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2224,25 +1919,9 @@ impl PrintDuplexOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintDuplexOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintDuplexOptionDetails {} -impl ::core::fmt::Debug for PrintDuplexOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintDuplexOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintDuplexOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintDuplexOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintDuplexOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintDuplexOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2259,6 +1938,7 @@ unsafe impl ::core::marker::Send for PrintDuplexOptionDetails {} unsafe impl ::core::marker::Sync for PrintDuplexOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintHolePunchOptionDetails(::windows_core::IUnknown); impl PrintHolePunchOptionDetails { pub fn SetWarningText(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2346,25 +2026,9 @@ impl PrintHolePunchOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintHolePunchOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintHolePunchOptionDetails {} -impl ::core::fmt::Debug for PrintHolePunchOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintHolePunchOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintHolePunchOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintHolePunchOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintHolePunchOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintHolePunchOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2381,6 +2045,7 @@ unsafe impl ::core::marker::Send for PrintHolePunchOptionDetails {} unsafe impl ::core::marker::Sync for PrintHolePunchOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintMediaSizeOptionDetails(::windows_core::IUnknown); impl PrintMediaSizeOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2468,25 +2133,9 @@ impl PrintMediaSizeOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintMediaSizeOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintMediaSizeOptionDetails {} -impl ::core::fmt::Debug for PrintMediaSizeOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintMediaSizeOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintMediaSizeOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaSizeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintMediaSizeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintMediaSizeOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2503,6 +2152,7 @@ unsafe impl ::core::marker::Send for PrintMediaSizeOptionDetails {} unsafe impl ::core::marker::Sync for PrintMediaSizeOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintMediaTypeOptionDetails(::windows_core::IUnknown); impl PrintMediaTypeOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2590,25 +2240,9 @@ impl PrintMediaTypeOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintMediaTypeOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintMediaTypeOptionDetails {} -impl ::core::fmt::Debug for PrintMediaTypeOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintMediaTypeOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintMediaTypeOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintMediaTypeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintMediaTypeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintMediaTypeOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2625,6 +2259,7 @@ unsafe impl ::core::marker::Send for PrintMediaTypeOptionDetails {} unsafe impl ::core::marker::Sync for PrintMediaTypeOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintOrientationOptionDetails(::windows_core::IUnknown); impl PrintOrientationOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2712,25 +2347,9 @@ impl PrintOrientationOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintOrientationOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintOrientationOptionDetails {} -impl ::core::fmt::Debug for PrintOrientationOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintOrientationOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintOrientationOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintOrientationOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintOrientationOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintOrientationOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2747,6 +2366,7 @@ unsafe impl ::core::marker::Send for PrintOrientationOptionDetails {} unsafe impl ::core::marker::Sync for PrintOrientationOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintPageRangeOptionDetails(::windows_core::IUnknown); impl PrintPageRangeOptionDetails { pub fn OptionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2825,25 +2445,9 @@ impl PrintPageRangeOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintPageRangeOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintPageRangeOptionDetails {} -impl ::core::fmt::Debug for PrintPageRangeOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintPageRangeOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintPageRangeOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintPageRangeOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintPageRangeOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintPageRangeOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2859,6 +2463,7 @@ unsafe impl ::core::marker::Send for PrintPageRangeOptionDetails {} unsafe impl ::core::marker::Sync for PrintPageRangeOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintQualityOptionDetails(::windows_core::IUnknown); impl PrintQualityOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2946,25 +2551,9 @@ impl PrintQualityOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintQualityOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintQualityOptionDetails {} -impl ::core::fmt::Debug for PrintQualityOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintQualityOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintQualityOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintQualityOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintQualityOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintQualityOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -2981,6 +2570,7 @@ unsafe impl ::core::marker::Send for PrintQualityOptionDetails {} unsafe impl ::core::marker::Sync for PrintQualityOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintStapleOptionDetails(::windows_core::IUnknown); impl PrintStapleOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3068,25 +2658,9 @@ impl PrintStapleOptionDetails { } } } -impl ::core::cmp::PartialEq for PrintStapleOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintStapleOptionDetails {} -impl ::core::fmt::Debug for PrintStapleOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintStapleOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintStapleOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintStapleOptionDetails;{390686cf-d682-495f-adfe-d7333f5c1808})"); } -impl ::core::clone::Clone for PrintStapleOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintStapleOptionDetails { type Vtable = IPrintOptionDetails_Vtbl; } @@ -3103,6 +2677,7 @@ unsafe impl ::core::marker::Send for PrintStapleOptionDetails {} unsafe impl ::core::marker::Sync for PrintStapleOptionDetails {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskOptionChangedEventArgs(::windows_core::IUnknown); impl PrintTaskOptionChangedEventArgs { pub fn OptionId(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -3113,25 +2688,9 @@ impl PrintTaskOptionChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskOptionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskOptionChangedEventArgs {} -impl ::core::fmt::Debug for PrintTaskOptionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskOptionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskOptionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionChangedEventArgs;{65197d05-a5ee-4307-9407-9acad147679c})"); } -impl ::core::clone::Clone for PrintTaskOptionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskOptionChangedEventArgs { type Vtable = IPrintTaskOptionChangedEventArgs_Vtbl; } @@ -3146,6 +2705,7 @@ unsafe impl ::core::marker::Send for PrintTaskOptionChangedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskOptionChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskOptionDetails(::windows_core::IUnknown); impl PrintTaskOptionDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3247,25 +2807,9 @@ impl PrintTaskOptionDetails { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PrintTaskOptionDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskOptionDetails {} -impl ::core::fmt::Debug for PrintTaskOptionDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskOptionDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskOptionDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.OptionDetails.PrintTaskOptionDetails;{f5720af1-a89e-42a6-81af-f8e010b38a68})"); } -impl ::core::clone::Clone for PrintTaskOptionDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskOptionDetails { type Vtable = IPrintTaskOptionDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs index 22c069e5b5..1d658fafa4 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportExtensionSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportExtensionSession { type Vtable = IPrintSupportExtensionSession_Vtbl; } -impl ::core::clone::Clone for IPrintSupportExtensionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportExtensionSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea45f1a_f4c6_54b3_a0b8_a559839aa4c3); } @@ -40,15 +36,11 @@ pub struct IPrintSupportExtensionSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportExtensionSession2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportExtensionSession2 { type Vtable = IPrintSupportExtensionSession2_Vtbl; } -impl ::core::clone::Clone for IPrintSupportExtensionSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportExtensionSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10fa8c11_6de8_5765_8fcf_e716e0f27ed1); } @@ -67,15 +59,11 @@ pub struct IPrintSupportExtensionSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportExtensionTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportExtensionTriggerDetails { type Vtable = IPrintSupportExtensionTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPrintSupportExtensionTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportExtensionTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae083711_9b09_55d1_a0ae_2a14c5f83d6a); } @@ -87,15 +75,11 @@ pub struct IPrintSupportExtensionTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs { type Vtable = IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15969bf0_9028_5722_8a37_7d7c34b41dd6); } @@ -118,15 +102,11 @@ pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2 { type Vtable = IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x469df9e7_fd07_5eeb_a07d_9fcc67f089ba); } @@ -151,15 +131,11 @@ pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintDeviceCapabilitiesUpdatePolicy { type Vtable = IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintDeviceCapabilitiesUpdatePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintDeviceCapabilitiesUpdatePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f5fc025_8c35_5529_8038_8cdc3634bbcd); } @@ -170,15 +146,11 @@ pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics { type Vtable = IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d9e1a70_7c39_551f_aa1f_f8ca35b3119e); } @@ -194,15 +166,11 @@ pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintTicketElement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintTicketElement { type Vtable = IPrintSupportPrintTicketElement_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintTicketElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintTicketElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b2a4489_730d_5be7_80e6_8332941abf13); } @@ -217,15 +185,11 @@ pub struct IPrintSupportPrintTicketElement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrintTicketValidationRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrintTicketValidationRequestedEventArgs { type Vtable = IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrintTicketValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrintTicketValidationRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338e4e69_db55_55c7_8338_ef64680a8f90); } @@ -245,15 +209,11 @@ pub struct IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportPrinterSelectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportPrinterSelectedEventArgs { type Vtable = IPrintSupportPrinterSelectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintSupportPrinterSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportPrinterSelectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b1cb7d9_a8a4_5c09_adb2_66165f817977); } @@ -293,15 +253,11 @@ pub struct IPrintSupportPrinterSelectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportSessionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportSessionInfo { type Vtable = IPrintSupportSessionInfo_Vtbl; } -impl ::core::clone::Clone for IPrintSupportSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportSessionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x852149af_777d_53e9_9ee9_45d3f4b5be9c); } @@ -320,15 +276,11 @@ pub struct IPrintSupportSessionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportSettingsActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportSettingsActivatedEventArgs { type Vtable = IPrintSupportSettingsActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintSupportSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportSettingsActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e1b565e_a013_55ea_9b8c_eea39d9fb6c1); } @@ -344,15 +296,11 @@ pub struct IPrintSupportSettingsActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSupportSettingsUISession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintSupportSettingsUISession { type Vtable = IPrintSupportSettingsUISession_Vtbl; } -impl ::core::clone::Clone for IPrintSupportSettingsUISession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintSupportSettingsUISession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6da2251_83c3_55e4_a0f8_5de8b062adbf); } @@ -374,6 +322,7 @@ pub struct IPrintSupportSettingsUISession_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportExtensionSession(::windows_core::IUnknown); impl PrintSupportExtensionSession { #[doc = "*Required features: `\"Devices_Printers\"`*"] @@ -444,25 +393,9 @@ impl PrintSupportExtensionSession { unsafe { (::windows_core::Interface::vtable(this).RemovePrinterSelected)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for PrintSupportExtensionSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportExtensionSession {} -impl ::core::fmt::Debug for PrintSupportExtensionSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportExtensionSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportExtensionSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionSession;{eea45f1a-f4c6-54b3-a0b8-a559839aa4c3})"); } -impl ::core::clone::Clone for PrintSupportExtensionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportExtensionSession { type Vtable = IPrintSupportExtensionSession_Vtbl; } @@ -477,6 +410,7 @@ unsafe impl ::core::marker::Send for PrintSupportExtensionSession {} unsafe impl ::core::marker::Sync for PrintSupportExtensionSession {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportExtensionTriggerDetails(::windows_core::IUnknown); impl PrintSupportExtensionTriggerDetails { pub fn Session(&self) -> ::windows_core::Result { @@ -487,25 +421,9 @@ impl PrintSupportExtensionTriggerDetails { } } } -impl ::core::cmp::PartialEq for PrintSupportExtensionTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportExtensionTriggerDetails {} -impl ::core::fmt::Debug for PrintSupportExtensionTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportExtensionTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportExtensionTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportExtensionTriggerDetails;{ae083711-9b09-55d1-a0ae-2a14c5f83d6a})"); } -impl ::core::clone::Clone for PrintSupportExtensionTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportExtensionTriggerDetails { type Vtable = IPrintSupportExtensionTriggerDetails_Vtbl; } @@ -520,6 +438,7 @@ unsafe impl ::core::marker::Send for PrintSupportExtensionTriggerDetails {} unsafe impl ::core::marker::Sync for PrintSupportExtensionTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportPrintDeviceCapabilitiesChangedEventArgs(::windows_core::IUnknown); impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -591,25 +510,9 @@ impl PrintSupportPrintDeviceCapabilitiesChangedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetPrintDeviceCapabilitiesUpdatePolicy)(::windows_core::Interface::as_raw(this), updatepolicy.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportPrintDeviceCapabilitiesChangedEventArgs {} -impl ::core::fmt::Debug for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportPrintDeviceCapabilitiesChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesChangedEventArgs;{15969bf0-9028-5722-8a37-7d7c34b41dd6})"); } -impl ::core::clone::Clone for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportPrintDeviceCapabilitiesChangedEventArgs { type Vtable = IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl; } @@ -624,6 +527,7 @@ unsafe impl ::core::marker::Send for PrintSupportPrintDeviceCapabilitiesChangedE unsafe impl ::core::marker::Sync for PrintSupportPrintDeviceCapabilitiesChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportPrintDeviceCapabilitiesUpdatePolicy(::windows_core::IUnknown); impl PrintSupportPrintDeviceCapabilitiesUpdatePolicy { #[doc = "*Required features: `\"Foundation\"`*"] @@ -646,25 +550,9 @@ impl PrintSupportPrintDeviceCapabilitiesUpdatePolicy { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportPrintDeviceCapabilitiesUpdatePolicy {} -impl ::core::fmt::Debug for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportPrintDeviceCapabilitiesUpdatePolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintDeviceCapabilitiesUpdatePolicy;{5f5fc025-8c35-5529-8038-8cdc3634bbcd})"); } -impl ::core::clone::Clone for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportPrintDeviceCapabilitiesUpdatePolicy { type Vtable = IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl; } @@ -679,6 +567,7 @@ unsafe impl ::core::marker::Send for PrintSupportPrintDeviceCapabilitiesUpdatePo unsafe impl ::core::marker::Sync for PrintSupportPrintDeviceCapabilitiesUpdatePolicy {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportPrintTicketElement(::windows_core::IUnknown); impl PrintSupportPrintTicketElement { pub fn new() -> ::windows_core::Result { @@ -711,25 +600,9 @@ impl PrintSupportPrintTicketElement { unsafe { (::windows_core::Interface::vtable(this).SetNamespaceUri)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for PrintSupportPrintTicketElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportPrintTicketElement {} -impl ::core::fmt::Debug for PrintSupportPrintTicketElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportPrintTicketElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportPrintTicketElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketElement;{4b2a4489-730d-5be7-80e6-8332941abf13})"); } -impl ::core::clone::Clone for PrintSupportPrintTicketElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportPrintTicketElement { type Vtable = IPrintSupportPrintTicketElement_Vtbl; } @@ -744,6 +617,7 @@ unsafe impl ::core::marker::Send for PrintSupportPrintTicketElement {} unsafe impl ::core::marker::Sync for PrintSupportPrintTicketElement {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportPrintTicketValidationRequestedEventArgs(::windows_core::IUnknown); impl PrintSupportPrintTicketValidationRequestedEventArgs { #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -769,25 +643,9 @@ impl PrintSupportPrintTicketValidationRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintSupportPrintTicketValidationRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportPrintTicketValidationRequestedEventArgs {} -impl ::core::fmt::Debug for PrintSupportPrintTicketValidationRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportPrintTicketValidationRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportPrintTicketValidationRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrintTicketValidationRequestedEventArgs;{338e4e69-db55-55c7-8338-ef64680a8f90})"); } -impl ::core::clone::Clone for PrintSupportPrintTicketValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportPrintTicketValidationRequestedEventArgs { type Vtable = IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl; } @@ -802,6 +660,7 @@ unsafe impl ::core::marker::Send for PrintSupportPrintTicketValidationRequestedE unsafe impl ::core::marker::Sync for PrintSupportPrintTicketValidationRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportPrinterSelectedEventArgs(::windows_core::IUnknown); impl PrintSupportPrinterSelectedEventArgs { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -875,25 +734,9 @@ impl PrintSupportPrinterSelectedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintSupportPrinterSelectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportPrinterSelectedEventArgs {} -impl ::core::fmt::Debug for PrintSupportPrinterSelectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportPrinterSelectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportPrinterSelectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportPrinterSelectedEventArgs;{7b1cb7d9-a8a4-5c09-adb2-66165f817977})"); } -impl ::core::clone::Clone for PrintSupportPrinterSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportPrinterSelectedEventArgs { type Vtable = IPrintSupportPrinterSelectedEventArgs_Vtbl; } @@ -908,6 +751,7 @@ unsafe impl ::core::marker::Send for PrintSupportPrinterSelectedEventArgs {} unsafe impl ::core::marker::Sync for PrintSupportPrinterSelectedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportSessionInfo(::windows_core::IUnknown); impl PrintSupportSessionInfo { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -929,25 +773,9 @@ impl PrintSupportSessionInfo { } } } -impl ::core::cmp::PartialEq for PrintSupportSessionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportSessionInfo {} -impl ::core::fmt::Debug for PrintSupportSessionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportSessionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportSessionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSessionInfo;{852149af-777d-53e9-9ee9-45d3f4b5be9c})"); } -impl ::core::clone::Clone for PrintSupportSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportSessionInfo { type Vtable = IPrintSupportSessionInfo_Vtbl; } @@ -962,6 +790,7 @@ unsafe impl ::core::marker::Send for PrintSupportSessionInfo {} unsafe impl ::core::marker::Sync for PrintSupportSessionInfo {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportSettingsActivatedEventArgs(::windows_core::IUnknown); impl PrintSupportSettingsActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -1017,25 +846,9 @@ impl PrintSupportSettingsActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintSupportSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportSettingsActivatedEventArgs {} -impl ::core::fmt::Debug for PrintSupportSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportSettingsActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsActivatedEventArgs;{1e1b565e-a013-55ea-9b8c-eea39d9fb6c1})"); } -impl ::core::clone::Clone for PrintSupportSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportSettingsActivatedEventArgs { type Vtable = IPrintSupportSettingsActivatedEventArgs_Vtbl; } @@ -1054,6 +867,7 @@ unsafe impl ::core::marker::Send for PrintSupportSettingsActivatedEventArgs {} unsafe impl ::core::marker::Sync for PrintSupportSettingsActivatedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_PrintSupport\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintSupportSettingsUISession(::windows_core::IUnknown); impl PrintSupportSettingsUISession { #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] @@ -1096,25 +910,9 @@ impl PrintSupportSettingsUISession { } } } -impl ::core::cmp::PartialEq for PrintSupportSettingsUISession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintSupportSettingsUISession {} -impl ::core::fmt::Debug for PrintSupportSettingsUISession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintSupportSettingsUISession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintSupportSettingsUISession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintSupport.PrintSupportSettingsUISession;{c6da2251-83c3-55e4-a0f8-5de8b062adbf})"); } -impl ::core::clone::Clone for PrintSupportSettingsUISession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintSupportSettingsUISession { type Vtable = IPrintSupportSettingsUISession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs index cc9f6b49bc..7ddc5e22af 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketCapabilities { type Vtable = IPrintTicketCapabilities_Vtbl; } -impl ::core::clone::Clone for IPrintTicketCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c45508b_bbdc_4256_a142_2fd615ecb416); } @@ -42,15 +38,11 @@ pub struct IPrintTicketCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketFeature(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketFeature { type Vtable = IPrintTicketFeature_Vtbl; } -impl ::core::clone::Clone for IPrintTicketFeature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketFeature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7607d6a_59f5_4103_8858_b97710963d39); } @@ -76,15 +68,11 @@ pub struct IPrintTicketFeature_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketOption(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketOption { type Vtable = IPrintTicketOption_Vtbl; } -impl ::core::clone::Clone for IPrintTicketOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb086cf90_b367_4e4b_bd48_9c78a0bb31ce); } @@ -112,15 +100,11 @@ pub struct IPrintTicketOption_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketParameterDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketParameterDefinition { type Vtable = IPrintTicketParameterDefinition_Vtbl; } -impl ::core::clone::Clone for IPrintTicketParameterDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketParameterDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6bab4e4_2962_4c01_b7f3_9a9294eb8335); } @@ -141,15 +125,11 @@ pub struct IPrintTicketParameterDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketParameterInitializer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketParameterInitializer { type Vtable = IPrintTicketParameterInitializer_Vtbl; } -impl ::core::clone::Clone for IPrintTicketParameterInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketParameterInitializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e3335bb_a0a5_48b1_9d5c_07116ddc597a); } @@ -168,15 +148,11 @@ pub struct IPrintTicketParameterInitializer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTicketValue { type Vtable = IPrintTicketValue_Vtbl; } -impl ::core::clone::Clone for IPrintTicketValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66b30a32_244d_4e22_a98b_bb3cf1f2dd91); } @@ -190,15 +166,11 @@ pub struct IPrintTicketValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkflowPrintTicket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWorkflowPrintTicket { type Vtable = IWorkflowPrintTicket_Vtbl; } -impl ::core::clone::Clone for IWorkflowPrintTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkflowPrintTicket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41d52285_35e8_448e_a8c5_e4b6a2cf826c); } @@ -244,15 +216,11 @@ pub struct IWorkflowPrintTicket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkflowPrintTicketValidationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWorkflowPrintTicketValidationResult { type Vtable = IWorkflowPrintTicketValidationResult_Vtbl; } -impl ::core::clone::Clone for IWorkflowPrintTicketValidationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkflowPrintTicketValidationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ad1f392_da7b_4a36_bf36_6a99a62e2059); } @@ -265,6 +233,7 @@ pub struct IWorkflowPrintTicketValidationResult_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketCapabilities(::windows_core::IUnknown); impl PrintTicketCapabilities { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -410,25 +379,9 @@ impl PrintTicketCapabilities { } } } -impl ::core::cmp::PartialEq for PrintTicketCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketCapabilities {} -impl ::core::fmt::Debug for PrintTicketCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketCapabilities;{8c45508b-bbdc-4256-a142-2fd615ecb416})"); } -impl ::core::clone::Clone for PrintTicketCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketCapabilities { type Vtable = IPrintTicketCapabilities_Vtbl; } @@ -443,6 +396,7 @@ unsafe impl ::core::marker::Send for PrintTicketCapabilities {} unsafe impl ::core::marker::Sync for PrintTicketCapabilities {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketFeature(::windows_core::IUnknown); impl PrintTicketFeature { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -513,25 +467,9 @@ impl PrintTicketFeature { } } } -impl ::core::cmp::PartialEq for PrintTicketFeature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketFeature {} -impl ::core::fmt::Debug for PrintTicketFeature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketFeature").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketFeature { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketFeature;{e7607d6a-59f5-4103-8858-b97710963d39})"); } -impl ::core::clone::Clone for PrintTicketFeature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketFeature { type Vtable = IPrintTicketFeature_Vtbl; } @@ -546,6 +484,7 @@ unsafe impl ::core::marker::Send for PrintTicketFeature {} unsafe impl ::core::marker::Sync for PrintTicketFeature {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketOption(::windows_core::IUnknown); impl PrintTicketOption { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -611,25 +550,9 @@ impl PrintTicketOption { } } } -impl ::core::cmp::PartialEq for PrintTicketOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketOption {} -impl ::core::fmt::Debug for PrintTicketOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketOption").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketOption { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketOption;{b086cf90-b367-4e4b-bd48-9c78a0bb31ce})"); } -impl ::core::clone::Clone for PrintTicketOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketOption { type Vtable = IPrintTicketOption_Vtbl; } @@ -644,6 +567,7 @@ unsafe impl ::core::marker::Send for PrintTicketOption {} unsafe impl ::core::marker::Sync for PrintTicketOption {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketParameterDefinition(::windows_core::IUnknown); impl PrintTicketParameterDefinition { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -698,25 +622,9 @@ impl PrintTicketParameterDefinition { } } } -impl ::core::cmp::PartialEq for PrintTicketParameterDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketParameterDefinition {} -impl ::core::fmt::Debug for PrintTicketParameterDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketParameterDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketParameterDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterDefinition;{d6bab4e4-2962-4c01-b7f3-9a9294eb8335})"); } -impl ::core::clone::Clone for PrintTicketParameterDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketParameterDefinition { type Vtable = IPrintTicketParameterDefinition_Vtbl; } @@ -731,6 +639,7 @@ unsafe impl ::core::marker::Send for PrintTicketParameterDefinition {} unsafe impl ::core::marker::Sync for PrintTicketParameterDefinition {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketParameterInitializer(::windows_core::IUnknown); impl PrintTicketParameterInitializer { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -771,25 +680,9 @@ impl PrintTicketParameterInitializer { } } } -impl ::core::cmp::PartialEq for PrintTicketParameterInitializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketParameterInitializer {} -impl ::core::fmt::Debug for PrintTicketParameterInitializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketParameterInitializer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketParameterInitializer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketParameterInitializer;{5e3335bb-a0a5-48b1-9d5c-07116ddc597a})"); } -impl ::core::clone::Clone for PrintTicketParameterInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketParameterInitializer { type Vtable = IPrintTicketParameterInitializer_Vtbl; } @@ -804,6 +697,7 @@ unsafe impl ::core::marker::Send for PrintTicketParameterInitializer {} unsafe impl ::core::marker::Sync for PrintTicketParameterInitializer {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTicketValue(::windows_core::IUnknown); impl PrintTicketValue { pub fn Type(&self) -> ::windows_core::Result { @@ -828,25 +722,9 @@ impl PrintTicketValue { } } } -impl ::core::cmp::PartialEq for PrintTicketValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTicketValue {} -impl ::core::fmt::Debug for PrintTicketValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTicketValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTicketValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.PrintTicketValue;{66b30a32-244d-4e22-a98b-bb3cf1f2dd91})"); } -impl ::core::clone::Clone for PrintTicketValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTicketValue { type Vtable = IPrintTicketValue_Vtbl; } @@ -861,6 +739,7 @@ unsafe impl ::core::marker::Send for PrintTicketValue {} unsafe impl ::core::marker::Sync for PrintTicketValue {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WorkflowPrintTicket(::windows_core::IUnknown); impl WorkflowPrintTicket { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1055,25 +934,9 @@ impl WorkflowPrintTicket { } } } -impl ::core::cmp::PartialEq for WorkflowPrintTicket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WorkflowPrintTicket {} -impl ::core::fmt::Debug for WorkflowPrintTicket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WorkflowPrintTicket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WorkflowPrintTicket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicket;{41d52285-35e8-448e-a8c5-e4b6a2cf826c})"); } -impl ::core::clone::Clone for WorkflowPrintTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WorkflowPrintTicket { type Vtable = IWorkflowPrintTicket_Vtbl; } @@ -1088,6 +951,7 @@ unsafe impl ::core::marker::Send for WorkflowPrintTicket {} unsafe impl ::core::marker::Sync for WorkflowPrintTicket {} #[doc = "*Required features: `\"Graphics_Printing_PrintTicket\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WorkflowPrintTicketValidationResult(::windows_core::IUnknown); impl WorkflowPrintTicketValidationResult { pub fn Validated(&self) -> ::windows_core::Result { @@ -1105,25 +969,9 @@ impl WorkflowPrintTicketValidationResult { } } } -impl ::core::cmp::PartialEq for WorkflowPrintTicketValidationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WorkflowPrintTicketValidationResult {} -impl ::core::fmt::Debug for WorkflowPrintTicketValidationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WorkflowPrintTicketValidationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WorkflowPrintTicketValidationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTicket.WorkflowPrintTicketValidationResult;{0ad1f392-da7b-4a36-bf36-6a99a62e2059})"); } -impl ::core::clone::Clone for WorkflowPrintTicketValidationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WorkflowPrintTicketValidationResult { type Vtable = IWorkflowPrintTicketValidationResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs index d3e493a7cc..9290cccfc6 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowBackgroundSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowBackgroundSession { type Vtable = IPrintWorkflowBackgroundSession_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowBackgroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowBackgroundSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b7913ba_0c5e_528a_7458_86a46cbddc45); } @@ -37,15 +33,11 @@ pub struct IPrintWorkflowBackgroundSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowBackgroundSetupRequestedEventArgs { type Vtable = IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowBackgroundSetupRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowBackgroundSetupRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43e97342_1750_59c9_61fb_383748a20362); } @@ -66,15 +58,11 @@ pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowConfiguration { type Vtable = IPrintWorkflowConfiguration_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0aac4ed_fd4b_5df5_4bb6_8d0d159ebe3f); } @@ -88,15 +76,11 @@ pub struct IPrintWorkflowConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowConfiguration2 { type Vtable = IPrintWorkflowConfiguration2_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde350a50_a6d4_5be2_8b9a_09d3d39ea780); } @@ -108,15 +92,11 @@ pub struct IPrintWorkflowConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowForegroundSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowForegroundSession { type Vtable = IPrintWorkflowForegroundSession_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowForegroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowForegroundSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc79b63d0_f8ec_4ceb_953a_c8876157dd33); } @@ -145,15 +125,11 @@ pub struct IPrintWorkflowForegroundSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowForegroundSetupRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowForegroundSetupRequestedEventArgs { type Vtable = IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowForegroundSetupRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowForegroundSetupRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbe38247_9c1b_4dd3_9b2b_c80468d941b3); } @@ -173,15 +149,11 @@ pub struct IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobActivatedEventArgs { type Vtable = IPrintWorkflowJobActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4bd5e6d_034e_5e00_a616_f961a033dcc8); } @@ -193,15 +165,11 @@ pub struct IPrintWorkflowJobActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobBackgroundSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobBackgroundSession { type Vtable = IPrintWorkflowJobBackgroundSession_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobBackgroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobBackgroundSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5ec6ad8_20c9_5d51_8507_2734b46f96c5); } @@ -230,15 +198,11 @@ pub struct IPrintWorkflowJobBackgroundSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobNotificationEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobNotificationEventArgs { type Vtable = IPrintWorkflowJobNotificationEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobNotificationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobNotificationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ae16fba_5398_5eba_b472_978650186a9a); } @@ -255,15 +219,11 @@ pub struct IPrintWorkflowJobNotificationEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobStartingEventArgs { type Vtable = IPrintWorkflowJobStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3d99ba8_31ad_5e09_b0d7_601b97f161ad); } @@ -284,15 +244,11 @@ pub struct IPrintWorkflowJobStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobTriggerDetails { type Vtable = IPrintWorkflowJobTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff296129_60e2_51db_ba8c_e2ccddb516b9); } @@ -304,15 +260,11 @@ pub struct IPrintWorkflowJobTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowJobUISession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowJobUISession { type Vtable = IPrintWorkflowJobUISession_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowJobUISession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowJobUISession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00c8736b_7637_5687_a302_0f664d2aac65); } @@ -341,15 +293,11 @@ pub struct IPrintWorkflowJobUISession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowObjectModelSourceFileContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowObjectModelSourceFileContent { type Vtable = IPrintWorkflowObjectModelSourceFileContent_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowObjectModelSourceFileContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowObjectModelSourceFileContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc36c8a6a_8a2a_419a_b3c3_2090e6bfab2f); } @@ -360,15 +308,11 @@ pub struct IPrintWorkflowObjectModelSourceFileContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowObjectModelSourceFileContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowObjectModelSourceFileContentFactory { type Vtable = IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowObjectModelSourceFileContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowObjectModelSourceFileContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93b1b903_f013_56d6_b708_99ac2ccb12ee); } @@ -383,15 +327,11 @@ pub struct IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowObjectModelTargetPackage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowObjectModelTargetPackage { type Vtable = IPrintWorkflowObjectModelTargetPackage_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowObjectModelTargetPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowObjectModelTargetPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); } @@ -402,15 +342,11 @@ pub struct IPrintWorkflowObjectModelTargetPackage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlConverter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlConverter { type Vtable = IPrintWorkflowPdlConverter_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40604b62_0ae4_51f1_818f_731dc0b005ab); } @@ -425,15 +361,11 @@ pub struct IPrintWorkflowPdlConverter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlConverter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlConverter2 { type Vtable = IPrintWorkflowPdlConverter2_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlConverter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlConverter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x854ceec1_7837_5b93_b7af_57a6998c2f71); } @@ -448,15 +380,11 @@ pub struct IPrintWorkflowPdlConverter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlDataAvailableEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlDataAvailableEventArgs { type Vtable = IPrintWorkflowPdlDataAvailableEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlDataAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlDataAvailableEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4ad6b50_1547_5991_a0ef_e2ee20211518); } @@ -474,15 +402,11 @@ pub struct IPrintWorkflowPdlDataAvailableEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlModificationRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlModificationRequestedEventArgs { type Vtable = IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlModificationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlModificationRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a339a61_2e13_5edd_a707_ceec61d7333b); } @@ -511,15 +435,11 @@ pub struct IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlModificationRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlModificationRequestedEventArgs2 { type Vtable = IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlModificationRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlModificationRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d692147_6c62_5e31_a0e7_d49f92c111c0); } @@ -538,15 +458,11 @@ pub struct IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlSourceContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlSourceContent { type Vtable = IPrintWorkflowPdlSourceContent_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlSourceContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlSourceContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92f7fc41_32b8_56ab_845e_b1e68b3aedd5); } @@ -566,15 +482,11 @@ pub struct IPrintWorkflowPdlSourceContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPdlTargetStream(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPdlTargetStream { type Vtable = IPrintWorkflowPdlTargetStream_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPdlTargetStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPdlTargetStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa742dfe5_1ee3_52a9_9f9f_2e2043180fd1); } @@ -590,15 +502,11 @@ pub struct IPrintWorkflowPdlTargetStream_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowPrinterJob(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowPrinterJob { type Vtable = IPrintWorkflowPrinterJob_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowPrinterJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowPrinterJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12009f94_0d14_5443_bc09_250311ce570b); } @@ -635,15 +543,11 @@ pub struct IPrintWorkflowPrinterJob_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowSourceContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowSourceContent { type Vtable = IPrintWorkflowSourceContent_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowSourceContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowSourceContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a28c641_ceb1_4533_bb73_fbe63eefdb18); } @@ -660,15 +564,11 @@ pub struct IPrintWorkflowSourceContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowSpoolStreamContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowSpoolStreamContent { type Vtable = IPrintWorkflowSpoolStreamContent_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowSpoolStreamContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowSpoolStreamContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72e55ece_e406_4b74_84e1_3ff3fdcdaf70); } @@ -683,15 +583,11 @@ pub struct IPrintWorkflowSpoolStreamContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowStreamTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowStreamTarget { type Vtable = IPrintWorkflowStreamTarget_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowStreamTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowStreamTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb23bba84_8565_488b_9839_1c9e7c7aa916); } @@ -706,15 +602,11 @@ pub struct IPrintWorkflowStreamTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowSubmittedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowSubmittedEventArgs { type Vtable = IPrintWorkflowSubmittedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowSubmittedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowSubmittedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3add0a41_3794_5569_5c87_40e8ff720f83); } @@ -734,15 +626,11 @@ pub struct IPrintWorkflowSubmittedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowSubmittedOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowSubmittedOperation { type Vtable = IPrintWorkflowSubmittedOperation_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowSubmittedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowSubmittedOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e4e6216_3be1_5f0f_5c81_a5a2bd4eab0e); } @@ -756,15 +644,11 @@ pub struct IPrintWorkflowSubmittedOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowTarget { type Vtable = IPrintWorkflowTarget_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29da276c_0a73_5aed_4f3d_970d3251f057); } @@ -777,15 +661,11 @@ pub struct IPrintWorkflowTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowTriggerDetails { type Vtable = IPrintWorkflowTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5739d868_9d86_4052_b0cb_f310becd59bb); } @@ -797,15 +677,11 @@ pub struct IPrintWorkflowTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowUIActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowUIActivatedEventArgs { type Vtable = IPrintWorkflowUIActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowUIActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowUIActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc8a844d_09eb_5746_72a6_8dc8b5edbe9b); } @@ -817,15 +693,11 @@ pub struct IPrintWorkflowUIActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowUILauncher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowUILauncher { type Vtable = IPrintWorkflowUILauncher_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowUILauncher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowUILauncher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64e9e22f_14cc_5828_96fb_39163fb6c378); } @@ -841,15 +713,11 @@ pub struct IPrintWorkflowUILauncher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowXpsDataAvailableEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintWorkflowXpsDataAvailableEventArgs { type Vtable = IPrintWorkflowXpsDataAvailableEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowXpsDataAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowXpsDataAvailableEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d11c331_54d1_434e_be0e_82c5fa58e5b2); } @@ -865,6 +733,7 @@ pub struct IPrintWorkflowXpsDataAvailableEventArgs_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowBackgroundSession(::windows_core::IUnknown); impl PrintWorkflowBackgroundSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -915,25 +784,9 @@ impl PrintWorkflowBackgroundSession { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowBackgroundSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowBackgroundSession {} -impl ::core::fmt::Debug for PrintWorkflowBackgroundSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowBackgroundSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowBackgroundSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSession;{5b7913ba-0c5e-528a-7458-86a46cbddc45})"); } -impl ::core::clone::Clone for PrintWorkflowBackgroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowBackgroundSession { type Vtable = IPrintWorkflowBackgroundSession_Vtbl; } @@ -948,6 +801,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowBackgroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowBackgroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowBackgroundSetupRequestedEventArgs(::windows_core::IUnknown); impl PrintWorkflowBackgroundSetupRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Printing_PrintTicket\"`*"] @@ -980,25 +834,9 @@ impl PrintWorkflowBackgroundSetupRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowBackgroundSetupRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowBackgroundSetupRequestedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowBackgroundSetupRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowBackgroundSetupRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowBackgroundSetupRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowBackgroundSetupRequestedEventArgs;{43e97342-1750-59c9-61fb-383748a20362})"); } -impl ::core::clone::Clone for PrintWorkflowBackgroundSetupRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowBackgroundSetupRequestedEventArgs { type Vtable = IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl; } @@ -1013,6 +851,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowBackgroundSetupRequestedEventA unsafe impl ::core::marker::Sync for PrintWorkflowBackgroundSetupRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowConfiguration(::windows_core::IUnknown); impl PrintWorkflowConfiguration { pub fn SourceAppDisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1041,25 +880,9 @@ impl PrintWorkflowConfiguration { unsafe { (::windows_core::Interface::vtable(this).AbortPrintFlow)(::windows_core::Interface::as_raw(this), reason).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowConfiguration {} -impl ::core::fmt::Debug for PrintWorkflowConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowConfiguration;{d0aac4ed-fd4b-5df5-4bb6-8d0d159ebe3f})"); } -impl ::core::clone::Clone for PrintWorkflowConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowConfiguration { type Vtable = IPrintWorkflowConfiguration_Vtbl; } @@ -1074,6 +897,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowConfiguration {} unsafe impl ::core::marker::Sync for PrintWorkflowConfiguration {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowForegroundSession(::windows_core::IUnknown); impl PrintWorkflowForegroundSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1124,25 +948,9 @@ impl PrintWorkflowForegroundSession { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowForegroundSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowForegroundSession {} -impl ::core::fmt::Debug for PrintWorkflowForegroundSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowForegroundSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowForegroundSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSession;{c79b63d0-f8ec-4ceb-953a-c8876157dd33})"); } -impl ::core::clone::Clone for PrintWorkflowForegroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowForegroundSession { type Vtable = IPrintWorkflowForegroundSession_Vtbl; } @@ -1157,6 +965,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowForegroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowForegroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowForegroundSetupRequestedEventArgs(::windows_core::IUnknown); impl PrintWorkflowForegroundSetupRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Printing_PrintTicket\"`*"] @@ -1185,25 +994,9 @@ impl PrintWorkflowForegroundSetupRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowForegroundSetupRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowForegroundSetupRequestedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowForegroundSetupRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowForegroundSetupRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowForegroundSetupRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowForegroundSetupRequestedEventArgs;{bbe38247-9c1b-4dd3-9b2b-c80468d941b3})"); } -impl ::core::clone::Clone for PrintWorkflowForegroundSetupRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowForegroundSetupRequestedEventArgs { type Vtable = IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl; } @@ -1218,6 +1011,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowForegroundSetupRequestedEventA unsafe impl ::core::marker::Sync for PrintWorkflowForegroundSetupRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobActivatedEventArgs(::windows_core::IUnknown); impl PrintWorkflowJobActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -1264,25 +1058,9 @@ impl PrintWorkflowJobActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobActivatedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowJobActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobActivatedEventArgs;{d4bd5e6d-034e-5e00-a616-f961a033dcc8})"); } -impl ::core::clone::Clone for PrintWorkflowJobActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobActivatedEventArgs { type Vtable = IPrintWorkflowJobActivatedEventArgs_Vtbl; } @@ -1301,6 +1079,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobActivatedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowJobActivatedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobBackgroundSession(::windows_core::IUnknown); impl PrintWorkflowJobBackgroundSession { pub fn Status(&self) -> ::windows_core::Result { @@ -1351,25 +1130,9 @@ impl PrintWorkflowJobBackgroundSession { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobBackgroundSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobBackgroundSession {} -impl ::core::fmt::Debug for PrintWorkflowJobBackgroundSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobBackgroundSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobBackgroundSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobBackgroundSession;{c5ec6ad8-20c9-5d51-8507-2734b46f96c5})"); } -impl ::core::clone::Clone for PrintWorkflowJobBackgroundSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobBackgroundSession { type Vtable = IPrintWorkflowJobBackgroundSession_Vtbl; } @@ -1384,6 +1147,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobBackgroundSession {} unsafe impl ::core::marker::Sync for PrintWorkflowJobBackgroundSession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobNotificationEventArgs(::windows_core::IUnknown); impl PrintWorkflowJobNotificationEventArgs { pub fn Configuration(&self) -> ::windows_core::Result { @@ -1410,25 +1174,9 @@ impl PrintWorkflowJobNotificationEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobNotificationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobNotificationEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowJobNotificationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobNotificationEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobNotificationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobNotificationEventArgs;{0ae16fba-5398-5eba-b472-978650186a9a})"); } -impl ::core::clone::Clone for PrintWorkflowJobNotificationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobNotificationEventArgs { type Vtable = IPrintWorkflowJobNotificationEventArgs_Vtbl; } @@ -1443,6 +1191,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobNotificationEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowJobNotificationEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobStartingEventArgs(::windows_core::IUnknown); impl PrintWorkflowJobStartingEventArgs { pub fn Configuration(&self) -> ::windows_core::Result { @@ -1475,25 +1224,9 @@ impl PrintWorkflowJobStartingEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobStartingEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowJobStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobStartingEventArgs;{e3d99ba8-31ad-5e09-b0d7-601b97f161ad})"); } -impl ::core::clone::Clone for PrintWorkflowJobStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobStartingEventArgs { type Vtable = IPrintWorkflowJobStartingEventArgs_Vtbl; } @@ -1508,6 +1241,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobStartingEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowJobStartingEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobTriggerDetails(::windows_core::IUnknown); impl PrintWorkflowJobTriggerDetails { pub fn PrintWorkflowJobSession(&self) -> ::windows_core::Result { @@ -1518,25 +1252,9 @@ impl PrintWorkflowJobTriggerDetails { } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobTriggerDetails {} -impl ::core::fmt::Debug for PrintWorkflowJobTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobTriggerDetails;{ff296129-60e2-51db-ba8c-e2ccddb516b9})"); } -impl ::core::clone::Clone for PrintWorkflowJobTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobTriggerDetails { type Vtable = IPrintWorkflowJobTriggerDetails_Vtbl; } @@ -1551,6 +1269,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobTriggerDetails {} unsafe impl ::core::marker::Sync for PrintWorkflowJobTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowJobUISession(::windows_core::IUnknown); impl PrintWorkflowJobUISession { pub fn Status(&self) -> ::windows_core::Result { @@ -1601,25 +1320,9 @@ impl PrintWorkflowJobUISession { unsafe { (::windows_core::Interface::vtable(this).Start)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowJobUISession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowJobUISession {} -impl ::core::fmt::Debug for PrintWorkflowJobUISession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowJobUISession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowJobUISession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowJobUISession;{00c8736b-7637-5687-a302-0f664d2aac65})"); } -impl ::core::clone::Clone for PrintWorkflowJobUISession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowJobUISession { type Vtable = IPrintWorkflowJobUISession_Vtbl; } @@ -1634,6 +1337,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowJobUISession {} unsafe impl ::core::marker::Sync for PrintWorkflowJobUISession {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowObjectModelSourceFileContent(::windows_core::IUnknown); impl PrintWorkflowObjectModelSourceFileContent { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1653,25 +1357,9 @@ impl PrintWorkflowObjectModelSourceFileContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PrintWorkflowObjectModelSourceFileContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowObjectModelSourceFileContent {} -impl ::core::fmt::Debug for PrintWorkflowObjectModelSourceFileContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowObjectModelSourceFileContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowObjectModelSourceFileContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelSourceFileContent;{c36c8a6a-8a2a-419a-b3c3-2090e6bfab2f})"); } -impl ::core::clone::Clone for PrintWorkflowObjectModelSourceFileContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowObjectModelSourceFileContent { type Vtable = IPrintWorkflowObjectModelSourceFileContent_Vtbl; } @@ -1686,27 +1374,12 @@ unsafe impl ::core::marker::Send for PrintWorkflowObjectModelSourceFileContent { unsafe impl ::core::marker::Sync for PrintWorkflowObjectModelSourceFileContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowObjectModelTargetPackage(::windows_core::IUnknown); impl PrintWorkflowObjectModelTargetPackage {} -impl ::core::cmp::PartialEq for PrintWorkflowObjectModelTargetPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowObjectModelTargetPackage {} -impl ::core::fmt::Debug for PrintWorkflowObjectModelTargetPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowObjectModelTargetPackage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowObjectModelTargetPackage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowObjectModelTargetPackage;{7d96bc74-9b54-4ca1-ad3a-979c3d44ddac})"); } -impl ::core::clone::Clone for PrintWorkflowObjectModelTargetPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowObjectModelTargetPackage { type Vtable = IPrintWorkflowObjectModelTargetPackage_Vtbl; } @@ -1721,6 +1394,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowObjectModelTargetPackage {} unsafe impl ::core::marker::Sync for PrintWorkflowObjectModelTargetPackage {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPdlConverter(::windows_core::IUnknown); impl PrintWorkflowPdlConverter { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Printing_PrintTicket\"`, `\"Storage_Streams\"`*"] @@ -1752,25 +1426,9 @@ impl PrintWorkflowPdlConverter { } } } -impl ::core::cmp::PartialEq for PrintWorkflowPdlConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPdlConverter {} -impl ::core::fmt::Debug for PrintWorkflowPdlConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPdlConverter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPdlConverter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlConverter;{40604b62-0ae4-51f1-818f-731dc0b005ab})"); } -impl ::core::clone::Clone for PrintWorkflowPdlConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPdlConverter { type Vtable = IPrintWorkflowPdlConverter_Vtbl; } @@ -1785,6 +1443,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPdlConverter {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlConverter {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPdlDataAvailableEventArgs(::windows_core::IUnknown); impl PrintWorkflowPdlDataAvailableEventArgs { pub fn Configuration(&self) -> ::windows_core::Result { @@ -1818,25 +1477,9 @@ impl PrintWorkflowPdlDataAvailableEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowPdlDataAvailableEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPdlDataAvailableEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowPdlDataAvailableEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPdlDataAvailableEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPdlDataAvailableEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlDataAvailableEventArgs;{d4ad6b50-1547-5991-a0ef-e2ee20211518})"); } -impl ::core::clone::Clone for PrintWorkflowPdlDataAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPdlDataAvailableEventArgs { type Vtable = IPrintWorkflowPdlDataAvailableEventArgs_Vtbl; } @@ -1851,6 +1494,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPdlDataAvailableEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlDataAvailableEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPdlModificationRequestedEventArgs(::windows_core::IUnknown); impl PrintWorkflowPdlModificationRequestedEventArgs { pub fn Configuration(&self) -> ::windows_core::Result { @@ -1955,25 +1599,9 @@ impl PrintWorkflowPdlModificationRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowPdlModificationRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPdlModificationRequestedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowPdlModificationRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPdlModificationRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPdlModificationRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlModificationRequestedEventArgs;{1a339a61-2e13-5edd-a707-ceec61d7333b})"); } -impl ::core::clone::Clone for PrintWorkflowPdlModificationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPdlModificationRequestedEventArgs { type Vtable = IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl; } @@ -1988,6 +1616,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPdlModificationRequestedEventA unsafe impl ::core::marker::Sync for PrintWorkflowPdlModificationRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPdlSourceContent(::windows_core::IUnknown); impl PrintWorkflowPdlSourceContent { pub fn ContentType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2016,25 +1645,9 @@ impl PrintWorkflowPdlSourceContent { } } } -impl ::core::cmp::PartialEq for PrintWorkflowPdlSourceContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPdlSourceContent {} -impl ::core::fmt::Debug for PrintWorkflowPdlSourceContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPdlSourceContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPdlSourceContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlSourceContent;{92f7fc41-32b8-56ab-845e-b1e68b3aedd5})"); } -impl ::core::clone::Clone for PrintWorkflowPdlSourceContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPdlSourceContent { type Vtable = IPrintWorkflowPdlSourceContent_Vtbl; } @@ -2049,6 +1662,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPdlSourceContent {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlSourceContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPdlTargetStream(::windows_core::IUnknown); impl PrintWorkflowPdlTargetStream { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2065,25 +1679,9 @@ impl PrintWorkflowPdlTargetStream { unsafe { (::windows_core::Interface::vtable(this).CompleteStreamSubmission)(::windows_core::Interface::as_raw(this), status).ok() } } } -impl ::core::cmp::PartialEq for PrintWorkflowPdlTargetStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPdlTargetStream {} -impl ::core::fmt::Debug for PrintWorkflowPdlTargetStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPdlTargetStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPdlTargetStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPdlTargetStream;{a742dfe5-1ee3-52a9-9f9f-2e2043180fd1})"); } -impl ::core::clone::Clone for PrintWorkflowPdlTargetStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPdlTargetStream { type Vtable = IPrintWorkflowPdlTargetStream_Vtbl; } @@ -2098,6 +1696,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPdlTargetStream {} unsafe impl ::core::marker::Sync for PrintWorkflowPdlTargetStream {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowPrinterJob(::windows_core::IUnknown); impl PrintWorkflowPrinterJob { pub fn JobId(&self) -> ::windows_core::Result { @@ -2181,25 +1780,9 @@ impl PrintWorkflowPrinterJob { } } } -impl ::core::cmp::PartialEq for PrintWorkflowPrinterJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowPrinterJob {} -impl ::core::fmt::Debug for PrintWorkflowPrinterJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowPrinterJob").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowPrinterJob { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowPrinterJob;{12009f94-0d14-5443-bc09-250311ce570b})"); } -impl ::core::clone::Clone for PrintWorkflowPrinterJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowPrinterJob { type Vtable = IPrintWorkflowPrinterJob_Vtbl; } @@ -2214,6 +1797,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowPrinterJob {} unsafe impl ::core::marker::Sync for PrintWorkflowPrinterJob {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowSourceContent(::windows_core::IUnknown); impl PrintWorkflowSourceContent { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Printing_PrintTicket\"`*"] @@ -2240,25 +1824,9 @@ impl PrintWorkflowSourceContent { } } } -impl ::core::cmp::PartialEq for PrintWorkflowSourceContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowSourceContent {} -impl ::core::fmt::Debug for PrintWorkflowSourceContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowSourceContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowSourceContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSourceContent;{1a28c641-ceb1-4533-bb73-fbe63eefdb18})"); } -impl ::core::clone::Clone for PrintWorkflowSourceContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowSourceContent { type Vtable = IPrintWorkflowSourceContent_Vtbl; } @@ -2273,6 +1841,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowSourceContent {} unsafe impl ::core::marker::Sync for PrintWorkflowSourceContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowSpoolStreamContent(::windows_core::IUnknown); impl PrintWorkflowSpoolStreamContent { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2285,25 +1854,9 @@ impl PrintWorkflowSpoolStreamContent { } } } -impl ::core::cmp::PartialEq for PrintWorkflowSpoolStreamContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowSpoolStreamContent {} -impl ::core::fmt::Debug for PrintWorkflowSpoolStreamContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowSpoolStreamContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowSpoolStreamContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSpoolStreamContent;{72e55ece-e406-4b74-84e1-3ff3fdcdaf70})"); } -impl ::core::clone::Clone for PrintWorkflowSpoolStreamContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowSpoolStreamContent { type Vtable = IPrintWorkflowSpoolStreamContent_Vtbl; } @@ -2318,6 +1871,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowSpoolStreamContent {} unsafe impl ::core::marker::Sync for PrintWorkflowSpoolStreamContent {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowStreamTarget(::windows_core::IUnknown); impl PrintWorkflowStreamTarget { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2330,25 +1884,9 @@ impl PrintWorkflowStreamTarget { } } } -impl ::core::cmp::PartialEq for PrintWorkflowStreamTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowStreamTarget {} -impl ::core::fmt::Debug for PrintWorkflowStreamTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowStreamTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowStreamTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowStreamTarget;{b23bba84-8565-488b-9839-1c9e7c7aa916})"); } -impl ::core::clone::Clone for PrintWorkflowStreamTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowStreamTarget { type Vtable = IPrintWorkflowStreamTarget_Vtbl; } @@ -2363,6 +1901,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowStreamTarget {} unsafe impl ::core::marker::Sync for PrintWorkflowStreamTarget {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowSubmittedEventArgs(::windows_core::IUnknown); impl PrintWorkflowSubmittedEventArgs { pub fn Operation(&self) -> ::windows_core::Result { @@ -2394,25 +1933,9 @@ impl PrintWorkflowSubmittedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowSubmittedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowSubmittedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowSubmittedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowSubmittedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowSubmittedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedEventArgs;{3add0a41-3794-5569-5c87-40e8ff720f83})"); } -impl ::core::clone::Clone for PrintWorkflowSubmittedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowSubmittedEventArgs { type Vtable = IPrintWorkflowSubmittedEventArgs_Vtbl; } @@ -2427,6 +1950,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowSubmittedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowSubmittedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowSubmittedOperation(::windows_core::IUnknown); impl PrintWorkflowSubmittedOperation { pub fn Complete(&self, status: PrintWorkflowSubmittedStatus) -> ::windows_core::Result<()> { @@ -2448,25 +1972,9 @@ impl PrintWorkflowSubmittedOperation { } } } -impl ::core::cmp::PartialEq for PrintWorkflowSubmittedOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowSubmittedOperation {} -impl ::core::fmt::Debug for PrintWorkflowSubmittedOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowSubmittedOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowSubmittedOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowSubmittedOperation;{2e4e6216-3be1-5f0f-5c81-a5a2bd4eab0e})"); } -impl ::core::clone::Clone for PrintWorkflowSubmittedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowSubmittedOperation { type Vtable = IPrintWorkflowSubmittedOperation_Vtbl; } @@ -2481,6 +1989,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowSubmittedOperation {} unsafe impl ::core::marker::Sync for PrintWorkflowSubmittedOperation {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowTarget(::windows_core::IUnknown); impl PrintWorkflowTarget { pub fn TargetAsStream(&self) -> ::windows_core::Result { @@ -2498,25 +2007,9 @@ impl PrintWorkflowTarget { } } } -impl ::core::cmp::PartialEq for PrintWorkflowTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowTarget {} -impl ::core::fmt::Debug for PrintWorkflowTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTarget;{29da276c-0a73-5aed-4f3d-970d3251f057})"); } -impl ::core::clone::Clone for PrintWorkflowTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowTarget { type Vtable = IPrintWorkflowTarget_Vtbl; } @@ -2531,6 +2024,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowTarget {} unsafe impl ::core::marker::Sync for PrintWorkflowTarget {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowTriggerDetails(::windows_core::IUnknown); impl PrintWorkflowTriggerDetails { pub fn PrintWorkflowSession(&self) -> ::windows_core::Result { @@ -2541,25 +2035,9 @@ impl PrintWorkflowTriggerDetails { } } } -impl ::core::cmp::PartialEq for PrintWorkflowTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowTriggerDetails {} -impl ::core::fmt::Debug for PrintWorkflowTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowTriggerDetails;{5739d868-9d86-4052-b0cb-f310becd59bb})"); } -impl ::core::clone::Clone for PrintWorkflowTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowTriggerDetails { type Vtable = IPrintWorkflowTriggerDetails_Vtbl; } @@ -2574,6 +2052,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowTriggerDetails {} unsafe impl ::core::marker::Sync for PrintWorkflowTriggerDetails {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowUIActivatedEventArgs(::windows_core::IUnknown); impl PrintWorkflowUIActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -2620,25 +2099,9 @@ impl PrintWorkflowUIActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowUIActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowUIActivatedEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowUIActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowUIActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowUIActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUIActivatedEventArgs;{bc8a844d-09eb-5746-72a6-8dc8b5edbe9b})"); } -impl ::core::clone::Clone for PrintWorkflowUIActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowUIActivatedEventArgs { type Vtable = IPrintWorkflowUIActivatedEventArgs_Vtbl; } @@ -2657,6 +2120,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowUIActivatedEventArgs {} unsafe impl ::core::marker::Sync for PrintWorkflowUIActivatedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowUILauncher(::windows_core::IUnknown); impl PrintWorkflowUILauncher { pub fn IsUILaunchEnabled(&self) -> ::windows_core::Result { @@ -2676,25 +2140,9 @@ impl PrintWorkflowUILauncher { } } } -impl ::core::cmp::PartialEq for PrintWorkflowUILauncher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowUILauncher {} -impl ::core::fmt::Debug for PrintWorkflowUILauncher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowUILauncher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowUILauncher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowUILauncher;{64e9e22f-14cc-5828-96fb-39163fb6c378})"); } -impl ::core::clone::Clone for PrintWorkflowUILauncher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowUILauncher { type Vtable = IPrintWorkflowUILauncher_Vtbl; } @@ -2709,6 +2157,7 @@ unsafe impl ::core::marker::Send for PrintWorkflowUILauncher {} unsafe impl ::core::marker::Sync for PrintWorkflowUILauncher {} #[doc = "*Required features: `\"Graphics_Printing_Workflow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintWorkflowXpsDataAvailableEventArgs(::windows_core::IUnknown); impl PrintWorkflowXpsDataAvailableEventArgs { pub fn Operation(&self) -> ::windows_core::Result { @@ -2728,25 +2177,9 @@ impl PrintWorkflowXpsDataAvailableEventArgs { } } } -impl ::core::cmp::PartialEq for PrintWorkflowXpsDataAvailableEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintWorkflowXpsDataAvailableEventArgs {} -impl ::core::fmt::Debug for PrintWorkflowXpsDataAvailableEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintWorkflowXpsDataAvailableEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintWorkflowXpsDataAvailableEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.Workflow.PrintWorkflowXpsDataAvailableEventArgs;{4d11c331-54d1-434e-be0e-82c5fa58e5b2})"); } -impl ::core::clone::Clone for PrintWorkflowXpsDataAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintWorkflowXpsDataAvailableEventArgs { type Vtable = IPrintWorkflowXpsDataAvailableEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs index ea5913f347..a97f61da4a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs @@ -7,8 +7,8 @@ impl IPrintDocumentSource_Vtbl { pub const fn new, Impl: IPrintDocumentSource_Impl, const OFFSET: isize>() -> IPrintDocumentSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -39,8 +39,8 @@ impl IPrintTaskOptionsCore_Vtbl { GetPageDescription: GetPageDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { NumberOfCopies: NumberOfCopies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -334,7 +334,7 @@ impl IPrintTaskOptionsCoreUIConfiguration_Vtbl { DisplayedOptions: DisplayedOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index 29ab1c2b0e..888be7a4d6 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -8,31 +8,16 @@ pub mod PrintTicket; pub mod Workflow; #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDocumentSource(::windows_core::IUnknown); impl IPrintDocumentSource {} ::windows_core::imp::interface_hierarchy!(IPrintDocumentSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintDocumentSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDocumentSource {} -impl ::core::fmt::Debug for IPrintDocumentSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDocumentSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintDocumentSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{dedc0c30-f1eb-47df-aae6-ed5427511f01}"); } unsafe impl ::windows_core::Interface for IPrintDocumentSource { type Vtable = IPrintDocumentSource_Vtbl; } -impl ::core::clone::Clone for IPrintDocumentSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDocumentSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdedc0c30_f1eb_47df_aae6_ed5427511f01); } @@ -43,15 +28,11 @@ pub struct IPrintDocumentSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintManager { type Vtable = IPrintManager_Vtbl; } -impl ::core::clone::Clone for IPrintManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff2a9694_8c99_44fd_ae4a_19d9aa9a0f0a); } @@ -70,15 +51,11 @@ pub struct IPrintManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintManagerStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintManagerStatic { type Vtable = IPrintManagerStatic_Vtbl; } -impl ::core::clone::Clone for IPrintManagerStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintManagerStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58185dcd_e634_4654_84f0_e0152a8217ac); } @@ -94,15 +71,11 @@ pub struct IPrintManagerStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintManagerStatic2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintManagerStatic2 { type Vtable = IPrintManagerStatic2_Vtbl; } -impl ::core::clone::Clone for IPrintManagerStatic2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintManagerStatic2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35a99955_e6ab_4139_9abd_b86a729b3598); } @@ -114,15 +87,11 @@ pub struct IPrintManagerStatic2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPageInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintPageInfo { type Vtable = IPrintPageInfo_Vtbl; } -impl ::core::clone::Clone for IPrintPageInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPageInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd4be9c9_a6a1_4ada_930e_da872a4f23d3); } @@ -149,15 +118,11 @@ pub struct IPrintPageInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPageRange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintPageRange { type Vtable = IPrintPageRange_Vtbl; } -impl ::core::clone::Clone for IPrintPageRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPageRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8a06c54_6e7c_51c5_57fd_0660c2d71513); } @@ -170,15 +135,11 @@ pub struct IPrintPageRange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPageRangeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintPageRangeFactory { type Vtable = IPrintPageRangeFactory_Vtbl; } -impl ::core::clone::Clone for IPrintPageRangeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPageRangeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x408fd45f_e047_5f85_7129_fb085a4fad14); } @@ -191,15 +152,11 @@ pub struct IPrintPageRangeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPageRangeOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintPageRangeOptions { type Vtable = IPrintPageRangeOptions_Vtbl; } -impl ::core::clone::Clone for IPrintPageRangeOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPageRangeOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce6db728_1357_46b2_a923_79f995f448fc); } @@ -216,15 +173,11 @@ pub struct IPrintPageRangeOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTask(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTask { type Vtable = IPrintTask_Vtbl; } -impl ::core::clone::Clone for IPrintTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61d80247_6cf6_4fad_84e2_a5e82e2d4ceb); } @@ -273,15 +226,11 @@ pub struct IPrintTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTask2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTask2 { type Vtable = IPrintTask2_Vtbl; } -impl ::core::clone::Clone for IPrintTask2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTask2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36234877_3e53_4d9d_8f5e_316ac8dedae1); } @@ -294,15 +243,11 @@ pub struct IPrintTask2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskCompletedEventArgs { type Vtable = IPrintTaskCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bcd34af_24e9_4c10_8d07_14c346ba3fce); } @@ -314,15 +259,11 @@ pub struct IPrintTaskCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptions { type Vtable = IPrintTaskOptions_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a0a66bb_d289_41bb_96dd_57e28338ae3f); } @@ -339,15 +280,11 @@ pub struct IPrintTaskOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskOptions2 { type Vtable = IPrintTaskOptions2_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb9b1606_9a36_4b59_8617_b217849262e1); } @@ -363,6 +300,7 @@ pub struct IPrintTaskOptions2_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionsCore(::windows_core::IUnknown); impl IPrintTaskOptionsCore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -376,28 +314,12 @@ impl IPrintTaskOptionsCore { } } ::windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCore, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintTaskOptionsCore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskOptionsCore {} -impl ::core::fmt::Debug for IPrintTaskOptionsCore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskOptionsCore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintTaskOptionsCore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1bdbb474-4ed1-41eb-be3c-72d18ed67337}"); } unsafe impl ::windows_core::Interface for IPrintTaskOptionsCore { type Vtable = IPrintTaskOptionsCore_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionsCore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionsCore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bdbb474_4ed1_41eb_be3c_72d18ed67337); } @@ -412,6 +334,7 @@ pub struct IPrintTaskOptionsCore_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionsCoreProperties(::windows_core::IUnknown); impl IPrintTaskOptionsCoreProperties { pub fn SetMediaSize(&self, value: PrintMediaSize) -> ::windows_core::Result<()> { @@ -551,28 +474,12 @@ impl IPrintTaskOptionsCoreProperties { } } ::windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintTaskOptionsCoreProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskOptionsCoreProperties {} -impl ::core::fmt::Debug for IPrintTaskOptionsCoreProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskOptionsCoreProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintTaskOptionsCoreProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c1b71832-9e93-4e55-814b-3326a59efce1}"); } unsafe impl ::windows_core::Interface for IPrintTaskOptionsCoreProperties { type Vtable = IPrintTaskOptionsCoreProperties_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionsCoreProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionsCoreProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1b71832_9e93_4e55_814b_3326a59efce1); } @@ -607,6 +514,7 @@ pub struct IPrintTaskOptionsCoreProperties_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskOptionsCoreUIConfiguration(::windows_core::IUnknown); impl IPrintTaskOptionsCoreUIConfiguration { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -620,28 +528,12 @@ impl IPrintTaskOptionsCoreUIConfiguration { } } ::windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreUIConfiguration, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintTaskOptionsCoreUIConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskOptionsCoreUIConfiguration {} -impl ::core::fmt::Debug for IPrintTaskOptionsCoreUIConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskOptionsCoreUIConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPrintTaskOptionsCoreUIConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{62e69e23-9a1e-4336-b74f-3cc7f4cff709}"); } unsafe impl ::windows_core::Interface for IPrintTaskOptionsCoreUIConfiguration { type Vtable = IPrintTaskOptionsCoreUIConfiguration_Vtbl; } -impl ::core::clone::Clone for IPrintTaskOptionsCoreUIConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskOptionsCoreUIConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62e69e23_9a1e_4336_b74f_3cc7f4cff709); } @@ -656,15 +548,11 @@ pub struct IPrintTaskOptionsCoreUIConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskProgressingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskProgressingEventArgs { type Vtable = IPrintTaskProgressingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskProgressingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskProgressingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x810cd3cb_b410_4282_a073_5ac378234174); } @@ -676,15 +564,11 @@ pub struct IPrintTaskProgressingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskRequest { type Vtable = IPrintTaskRequest_Vtbl; } -impl ::core::clone::Clone for IPrintTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ff61e2e_2722_4240_a67c_f364849a17f3); } @@ -701,15 +585,11 @@ pub struct IPrintTaskRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskRequestedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskRequestedDeferral { type Vtable = IPrintTaskRequestedDeferral_Vtbl; } -impl ::core::clone::Clone for IPrintTaskRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskRequestedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfefb3f0_ce3e_42c7_9496_64800c622c44); } @@ -721,15 +601,11 @@ pub struct IPrintTaskRequestedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskRequestedEventArgs { type Vtable = IPrintTaskRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0aff924_a31b_454c_a7b6_5d0cc522fc16); } @@ -741,15 +617,11 @@ pub struct IPrintTaskRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskSourceRequestedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskSourceRequestedArgs { type Vtable = IPrintTaskSourceRequestedArgs_Vtbl; } -impl ::core::clone::Clone for IPrintTaskSourceRequestedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskSourceRequestedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9f067be_f456_41f0_9c98_5ce73e851410); } @@ -766,15 +638,11 @@ pub struct IPrintTaskSourceRequestedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskSourceRequestedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskSourceRequestedDeferral { type Vtable = IPrintTaskSourceRequestedDeferral_Vtbl; } -impl ::core::clone::Clone for IPrintTaskSourceRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskSourceRequestedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a1560d1_6992_4d9d_8555_4ca4563fb166); } @@ -786,15 +654,11 @@ pub struct IPrintTaskSourceRequestedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskTargetDeviceSupport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrintTaskTargetDeviceSupport { type Vtable = IPrintTaskTargetDeviceSupport_Vtbl; } -impl ::core::clone::Clone for IPrintTaskTargetDeviceSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskTargetDeviceSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x295d70c0_c2cb_4b7d_b0ea_93095091a220); } @@ -809,15 +673,11 @@ pub struct IPrintTaskTargetDeviceSupport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardPrintTaskOptionsStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardPrintTaskOptionsStatic { type Vtable = IStandardPrintTaskOptionsStatic_Vtbl; } -impl ::core::clone::Clone for IStandardPrintTaskOptionsStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardPrintTaskOptionsStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4483d26_0dd0_4cd4_baff_930fc7d6a574); } @@ -841,15 +701,11 @@ pub struct IStandardPrintTaskOptionsStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardPrintTaskOptionsStatic2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardPrintTaskOptionsStatic2 { type Vtable = IStandardPrintTaskOptionsStatic2_Vtbl; } -impl ::core::clone::Clone for IStandardPrintTaskOptionsStatic2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardPrintTaskOptionsStatic2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3be38bf4_7a44_4269_9a52_81261e289ee9); } @@ -861,15 +717,11 @@ pub struct IStandardPrintTaskOptionsStatic2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardPrintTaskOptionsStatic3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardPrintTaskOptionsStatic3 { type Vtable = IStandardPrintTaskOptionsStatic3_Vtbl; } -impl ::core::clone::Clone for IStandardPrintTaskOptionsStatic3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardPrintTaskOptionsStatic3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbf68e86_3858_41b3_a799_55dd9888d475); } @@ -881,6 +733,7 @@ pub struct IStandardPrintTaskOptionsStatic3_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintManager(::windows_core::IUnknown); impl PrintManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -932,25 +785,9 @@ impl PrintManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PrintManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintManager {} -impl ::core::fmt::Debug for PrintManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintManager;{ff2a9694-8c99-44fd-ae4a-19d9aa9a0f0a})"); } -impl ::core::clone::Clone for PrintManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintManager { type Vtable = IPrintManager_Vtbl; } @@ -965,6 +802,7 @@ unsafe impl ::core::marker::Send for PrintManager {} unsafe impl ::core::marker::Sync for PrintManager {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintPageInfo(::windows_core::IUnknown); impl PrintPageInfo { pub fn new() -> ::windows_core::Result { @@ -1034,25 +872,9 @@ impl PrintPageInfo { } } } -impl ::core::cmp::PartialEq for PrintPageInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintPageInfo {} -impl ::core::fmt::Debug for PrintPageInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintPageInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintPageInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageInfo;{dd4be9c9-a6a1-4ada-930e-da872a4f23d3})"); } -impl ::core::clone::Clone for PrintPageInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintPageInfo { type Vtable = IPrintPageInfo_Vtbl; } @@ -1067,6 +889,7 @@ unsafe impl ::core::marker::Send for PrintPageInfo {} unsafe impl ::core::marker::Sync for PrintPageInfo {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintPageRange(::windows_core::IUnknown); impl PrintPageRange { pub fn FirstPageNumber(&self) -> ::windows_core::Result { @@ -1101,25 +924,9 @@ impl PrintPageRange { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PrintPageRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintPageRange {} -impl ::core::fmt::Debug for PrintPageRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintPageRange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintPageRange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRange;{f8a06c54-6e7c-51c5-57fd-0660c2d71513})"); } -impl ::core::clone::Clone for PrintPageRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintPageRange { type Vtable = IPrintPageRange_Vtbl; } @@ -1134,6 +941,7 @@ unsafe impl ::core::marker::Send for PrintPageRange {} unsafe impl ::core::marker::Sync for PrintPageRange {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintPageRangeOptions(::windows_core::IUnknown); impl PrintPageRangeOptions { pub fn SetAllowAllPages(&self, value: bool) -> ::windows_core::Result<()> { @@ -1170,25 +978,9 @@ impl PrintPageRangeOptions { } } } -impl ::core::cmp::PartialEq for PrintPageRangeOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintPageRangeOptions {} -impl ::core::fmt::Debug for PrintPageRangeOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintPageRangeOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintPageRangeOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintPageRangeOptions;{ce6db728-1357-46b2-a923-79f995f448fc})"); } -impl ::core::clone::Clone for PrintPageRangeOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintPageRangeOptions { type Vtable = IPrintPageRangeOptions_Vtbl; } @@ -1203,6 +995,7 @@ unsafe impl ::core::marker::Send for PrintPageRangeOptions {} unsafe impl ::core::marker::Sync for PrintPageRangeOptions {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTask(::windows_core::IUnknown); impl PrintTask { #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"] @@ -1334,25 +1127,9 @@ impl PrintTask { } } } -impl ::core::cmp::PartialEq for PrintTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTask {} -impl ::core::fmt::Debug for PrintTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTask;{61d80247-6cf6-4fad-84e2-a5e82e2d4ceb})"); } -impl ::core::clone::Clone for PrintTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTask { type Vtable = IPrintTask_Vtbl; } @@ -1367,6 +1144,7 @@ unsafe impl ::core::marker::Send for PrintTask {} unsafe impl ::core::marker::Sync for PrintTask {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskCompletedEventArgs(::windows_core::IUnknown); impl PrintTaskCompletedEventArgs { pub fn Completion(&self) -> ::windows_core::Result { @@ -1377,25 +1155,9 @@ impl PrintTaskCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskCompletedEventArgs {} -impl ::core::fmt::Debug for PrintTaskCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskCompletedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fce})"); } -impl ::core::clone::Clone for PrintTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskCompletedEventArgs { type Vtable = IPrintTaskCompletedEventArgs_Vtbl; } @@ -1410,6 +1172,7 @@ unsafe impl ::core::marker::Send for PrintTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskCompletedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskOptions(::windows_core::IUnknown); impl PrintTaskOptions { pub fn SetBordering(&self, value: PrintBordering) -> ::windows_core::Result<()> { @@ -1605,25 +1368,9 @@ impl PrintTaskOptions { } } } -impl ::core::cmp::PartialEq for PrintTaskOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskOptions {} -impl ::core::fmt::Debug for PrintTaskOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskOptions;{1bdbb474-4ed1-41eb-be3c-72d18ed67337})"); } -impl ::core::clone::Clone for PrintTaskOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskOptions { type Vtable = IPrintTaskOptionsCore_Vtbl; } @@ -1641,6 +1388,7 @@ unsafe impl ::core::marker::Send for PrintTaskOptions {} unsafe impl ::core::marker::Sync for PrintTaskOptions {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskProgressingEventArgs(::windows_core::IUnknown); impl PrintTaskProgressingEventArgs { pub fn DocumentPageCount(&self) -> ::windows_core::Result { @@ -1651,25 +1399,9 @@ impl PrintTaskProgressingEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskProgressingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskProgressingEventArgs {} -impl ::core::fmt::Debug for PrintTaskProgressingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskProgressingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskProgressingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskProgressingEventArgs;{810cd3cb-b410-4282-a073-5ac378234174})"); } -impl ::core::clone::Clone for PrintTaskProgressingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskProgressingEventArgs { type Vtable = IPrintTaskProgressingEventArgs_Vtbl; } @@ -1684,6 +1416,7 @@ unsafe impl ::core::marker::Send for PrintTaskProgressingEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskProgressingEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskRequest(::windows_core::IUnknown); impl PrintTaskRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1713,25 +1446,9 @@ impl PrintTaskRequest { } } } -impl ::core::cmp::PartialEq for PrintTaskRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskRequest {} -impl ::core::fmt::Debug for PrintTaskRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequest;{6ff61e2e-2722-4240-a67c-f364849a17f3})"); } -impl ::core::clone::Clone for PrintTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskRequest { type Vtable = IPrintTaskRequest_Vtbl; } @@ -1746,6 +1463,7 @@ unsafe impl ::core::marker::Send for PrintTaskRequest {} unsafe impl ::core::marker::Sync for PrintTaskRequest {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskRequestedDeferral(::windows_core::IUnknown); impl PrintTaskRequestedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1753,25 +1471,9 @@ impl PrintTaskRequestedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintTaskRequestedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskRequestedDeferral {} -impl ::core::fmt::Debug for PrintTaskRequestedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskRequestedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskRequestedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedDeferral;{cfefb3f0-ce3e-42c7-9496-64800c622c44})"); } -impl ::core::clone::Clone for PrintTaskRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskRequestedDeferral { type Vtable = IPrintTaskRequestedDeferral_Vtbl; } @@ -1786,6 +1488,7 @@ unsafe impl ::core::marker::Send for PrintTaskRequestedDeferral {} unsafe impl ::core::marker::Sync for PrintTaskRequestedDeferral {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskRequestedEventArgs(::windows_core::IUnknown); impl PrintTaskRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1796,25 +1499,9 @@ impl PrintTaskRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskRequestedEventArgs {} -impl ::core::fmt::Debug for PrintTaskRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskRequestedEventArgs;{d0aff924-a31b-454c-a7b6-5d0cc522fc16})"); } -impl ::core::clone::Clone for PrintTaskRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskRequestedEventArgs { type Vtable = IPrintTaskRequestedEventArgs_Vtbl; } @@ -1829,6 +1516,7 @@ unsafe impl ::core::marker::Send for PrintTaskRequestedEventArgs {} unsafe impl ::core::marker::Sync for PrintTaskRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskSourceRequestedArgs(::windows_core::IUnknown); impl PrintTaskSourceRequestedArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1855,25 +1543,9 @@ impl PrintTaskSourceRequestedArgs { } } } -impl ::core::cmp::PartialEq for PrintTaskSourceRequestedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskSourceRequestedArgs {} -impl ::core::fmt::Debug for PrintTaskSourceRequestedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskSourceRequestedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskSourceRequestedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedArgs;{f9f067be-f456-41f0-9c98-5ce73e851410})"); } -impl ::core::clone::Clone for PrintTaskSourceRequestedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskSourceRequestedArgs { type Vtable = IPrintTaskSourceRequestedArgs_Vtbl; } @@ -1888,6 +1560,7 @@ unsafe impl ::core::marker::Send for PrintTaskSourceRequestedArgs {} unsafe impl ::core::marker::Sync for PrintTaskSourceRequestedArgs {} #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskSourceRequestedDeferral(::windows_core::IUnknown); impl PrintTaskSourceRequestedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1895,25 +1568,9 @@ impl PrintTaskSourceRequestedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PrintTaskSourceRequestedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskSourceRequestedDeferral {} -impl ::core::fmt::Debug for PrintTaskSourceRequestedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskSourceRequestedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrintTaskSourceRequestedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing.PrintTaskSourceRequestedDeferral;{4a1560d1-6992-4d9d-8555-4ca4563fb166})"); } -impl ::core::clone::Clone for PrintTaskSourceRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrintTaskSourceRequestedDeferral { type Vtable = IPrintTaskSourceRequestedDeferral_Vtbl; } @@ -2707,6 +2364,7 @@ impl ::core::default::Default for PrintPageDescription { } #[doc = "*Required features: `\"Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrintTaskSourceRequestedHandler(pub ::windows_core::IUnknown); impl PrintTaskSourceRequestedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -2732,9 +2390,12 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2759,25 +2420,9 @@ impl) -> ::window ((*this).invoke)(::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for PrintTaskSourceRequestedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrintTaskSourceRequestedHandler {} -impl ::core::fmt::Debug for PrintTaskSourceRequestedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrintTaskSourceRequestedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for PrintTaskSourceRequestedHandler { type Vtable = PrintTaskSourceRequestedHandler_Vtbl; } -impl ::core::clone::Clone for PrintTaskSourceRequestedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for PrintTaskSourceRequestedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c109fa8_5cb6_4b3a_8663_f39cb02dc9b4); } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 642f464fd7..fb5a755c54 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DManager { type Vtable = IPrint3DManager_Vtbl; } -impl ::core::clone::Clone for IPrint3DManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d2fcb0a_7366_4971_8bd5_17c4e3e8c6c0); } @@ -27,15 +23,11 @@ pub struct IPrint3DManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DManagerStatics { type Vtable = IPrint3DManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPrint3DManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ef1cafe_a9ad_4c08_a917_1d1f863eabcb); } @@ -51,15 +43,11 @@ pub struct IPrint3DManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTask(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTask { type Vtable = IPrint3DTask_Vtbl; } -impl ::core::clone::Clone for IPrint3DTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ce3d080_2118_4c28_80de_f426d70191ae); } @@ -95,15 +83,11 @@ pub struct IPrint3DTask_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTaskCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTaskCompletedEventArgs { type Vtable = IPrint3DTaskCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTaskCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc1914af_2614_4f1d_accc_d6fc4fda5455); } @@ -116,15 +100,11 @@ pub struct IPrint3DTaskCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTaskRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTaskRequest { type Vtable = IPrint3DTaskRequest_Vtbl; } -impl ::core::clone::Clone for IPrint3DTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTaskRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2595c46f_2245_4c5a_8731_0d604dc6bc3c); } @@ -136,15 +116,11 @@ pub struct IPrint3DTaskRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTaskRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTaskRequestedEventArgs { type Vtable = IPrint3DTaskRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DTaskRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTaskRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x150cb77f_18c5_40d7_9f40_fab3096e05a9); } @@ -156,15 +132,11 @@ pub struct IPrint3DTaskRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTaskSourceChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTaskSourceChangedEventArgs { type Vtable = IPrint3DTaskSourceChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DTaskSourceChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTaskSourceChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bcd34af_24e9_4c10_8d07_14c346ba3fcf); } @@ -176,15 +148,11 @@ pub struct IPrint3DTaskSourceChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint3DTaskSourceRequestedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrint3DTaskSourceRequestedArgs { type Vtable = IPrint3DTaskSourceRequestedArgs_Vtbl; } -impl ::core::clone::Clone for IPrint3DTaskSourceRequestedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint3DTaskSourceRequestedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc77c9aba_24af_424d_a3bf_92250c355602); } @@ -196,15 +164,11 @@ pub struct IPrint3DTaskSourceRequestedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3D3MFPackage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3D3MFPackage { type Vtable = IPrinting3D3MFPackage_Vtbl; } -impl ::core::clone::Clone for IPrinting3D3MFPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3D3MFPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf64dd5c8_2ab7_45a9_a1b7_267e948d5b18); } @@ -249,15 +213,11 @@ pub struct IPrinting3D3MFPackage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3D3MFPackage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3D3MFPackage2 { type Vtable = IPrinting3D3MFPackage2_Vtbl; } -impl ::core::clone::Clone for IPrinting3D3MFPackage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3D3MFPackage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x965c7ac4_93cb_4430_92b8_789cd454f883); } @@ -270,15 +230,11 @@ pub struct IPrinting3D3MFPackage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3D3MFPackageStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3D3MFPackageStatics { type Vtable = IPrinting3D3MFPackageStatics_Vtbl; } -impl ::core::clone::Clone for IPrinting3D3MFPackageStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3D3MFPackageStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7058d9af_7a9a_4787_b817_f6f459214823); } @@ -293,15 +249,11 @@ pub struct IPrinting3D3MFPackageStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DBaseMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DBaseMaterial { type Vtable = IPrinting3DBaseMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DBaseMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DBaseMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0f0e743_c50c_4bcb_9d04_fc16adcea2c9); } @@ -316,15 +268,11 @@ pub struct IPrinting3DBaseMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DBaseMaterialGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DBaseMaterialGroup { type Vtable = IPrinting3DBaseMaterialGroup_Vtbl; } -impl ::core::clone::Clone for IPrinting3DBaseMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DBaseMaterialGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94f070b8_2515_4a8d_a1f0_d0fc13d06021); } @@ -340,15 +288,11 @@ pub struct IPrinting3DBaseMaterialGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DBaseMaterialGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DBaseMaterialGroupFactory { type Vtable = IPrinting3DBaseMaterialGroupFactory_Vtbl; } -impl ::core::clone::Clone for IPrinting3DBaseMaterialGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DBaseMaterialGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c1546dc_8697_4193_976b_84bb4116e5bf); } @@ -360,15 +304,11 @@ pub struct IPrinting3DBaseMaterialGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DBaseMaterialStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DBaseMaterialStatics { type Vtable = IPrinting3DBaseMaterialStatics_Vtbl; } -impl ::core::clone::Clone for IPrinting3DBaseMaterialStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DBaseMaterialStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x815a47bc_374a_476d_be92_3ecfd1cb9776); } @@ -381,15 +321,11 @@ pub struct IPrinting3DBaseMaterialStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DColorMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DColorMaterial { type Vtable = IPrinting3DColorMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DColorMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DColorMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1899928_7ce7_4285_a35d_f145c9510c7b); } @@ -402,15 +338,11 @@ pub struct IPrinting3DColorMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DColorMaterial2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DColorMaterial2 { type Vtable = IPrinting3DColorMaterial2_Vtbl; } -impl ::core::clone::Clone for IPrinting3DColorMaterial2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DColorMaterial2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfab0e852_0aef_44e9_9ddd_36eeea5acd44); } @@ -429,15 +361,11 @@ pub struct IPrinting3DColorMaterial2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DColorMaterialGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DColorMaterialGroup { type Vtable = IPrinting3DColorMaterialGroup_Vtbl; } -impl ::core::clone::Clone for IPrinting3DColorMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DColorMaterialGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x001a6bd0_aadf_4226_afe9_f369a0b45004); } @@ -453,15 +381,11 @@ pub struct IPrinting3DColorMaterialGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DColorMaterialGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DColorMaterialGroupFactory { type Vtable = IPrinting3DColorMaterialGroupFactory_Vtbl; } -impl ::core::clone::Clone for IPrinting3DColorMaterialGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DColorMaterialGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71d38d6d_b1ea_4a5b_bc54_19c65f3df044); } @@ -473,15 +397,11 @@ pub struct IPrinting3DColorMaterialGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DComponent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DComponent { type Vtable = IPrinting3DComponent_Vtbl; } -impl ::core::clone::Clone for IPrinting3DComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e287845_bf7f_4cdb_a27f_30a01437fede); } @@ -506,15 +426,11 @@ pub struct IPrinting3DComponent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DComponentWithMatrix(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DComponentWithMatrix { type Vtable = IPrinting3DComponentWithMatrix_Vtbl; } -impl ::core::clone::Clone for IPrinting3DComponentWithMatrix { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DComponentWithMatrix { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3279f335_0ef0_456b_9a21_49bebe8b51c2); } @@ -535,15 +451,11 @@ pub struct IPrinting3DComponentWithMatrix_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DCompositeMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DCompositeMaterial { type Vtable = IPrinting3DCompositeMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DCompositeMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DCompositeMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x462238dd_562e_4f6c_882d_f4d841fd63c7); } @@ -558,15 +470,11 @@ pub struct IPrinting3DCompositeMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DCompositeMaterialGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DCompositeMaterialGroup { type Vtable = IPrinting3DCompositeMaterialGroup_Vtbl; } -impl ::core::clone::Clone for IPrinting3DCompositeMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DCompositeMaterialGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d946a5b_40f1_496d_a5fb_340a5a678e30); } @@ -586,15 +494,11 @@ pub struct IPrinting3DCompositeMaterialGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DCompositeMaterialGroup2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DCompositeMaterialGroup2 { type Vtable = IPrinting3DCompositeMaterialGroup2_Vtbl; } -impl ::core::clone::Clone for IPrinting3DCompositeMaterialGroup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DCompositeMaterialGroup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06e86d62_7d3b_41e1_944c_bafde4555483); } @@ -607,15 +511,11 @@ pub struct IPrinting3DCompositeMaterialGroup2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DCompositeMaterialGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DCompositeMaterialGroupFactory { type Vtable = IPrinting3DCompositeMaterialGroupFactory_Vtbl; } -impl ::core::clone::Clone for IPrinting3DCompositeMaterialGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DCompositeMaterialGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd08ecd13_92ff_43aa_a627_8d43c22c817e); } @@ -627,15 +527,11 @@ pub struct IPrinting3DCompositeMaterialGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DFaceReductionOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DFaceReductionOptions { type Vtable = IPrinting3DFaceReductionOptions_Vtbl; } -impl ::core::clone::Clone for IPrinting3DFaceReductionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DFaceReductionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbfed397_2d74_46f7_be85_99a67bbb6629); } @@ -652,15 +548,11 @@ pub struct IPrinting3DFaceReductionOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMaterial { type Vtable = IPrinting3DMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x378db256_ed62_4952_b85b_03567d7c465e); } @@ -691,15 +583,11 @@ pub struct IPrinting3DMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMesh(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMesh { type Vtable = IPrinting3DMesh_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMesh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x192e90dc_0228_2e01_bc20_c5290cbf32c4); } @@ -754,15 +642,11 @@ pub struct IPrinting3DMesh_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMeshVerificationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMeshVerificationResult { type Vtable = IPrinting3DMeshVerificationResult_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMeshVerificationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMeshVerificationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x195671ba_e93a_4e8a_a46f_dea8e852197e); } @@ -782,15 +666,11 @@ pub struct IPrinting3DMeshVerificationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DModel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DModel { type Vtable = IPrinting3DModel_Vtbl; } -impl ::core::clone::Clone for IPrinting3DModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d012ef0_52fb_919a_77b0_4b1a3b80324f); } @@ -834,15 +714,11 @@ pub struct IPrinting3DModel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DModel2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DModel2 { type Vtable = IPrinting3DModel2_Vtbl; } -impl ::core::clone::Clone for IPrinting3DModel2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DModel2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc92069c7_c841_47f3_a84e_a149fd08b657); } @@ -877,15 +753,11 @@ pub struct IPrinting3DModel2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DModelTexture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DModelTexture { type Vtable = IPrinting3DModelTexture_Vtbl; } -impl ::core::clone::Clone for IPrinting3DModelTexture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DModelTexture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5dafcf01_b59d_483c_97bb_a4d546d1c75c); } @@ -902,15 +774,11 @@ pub struct IPrinting3DModelTexture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMultiplePropertyMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMultiplePropertyMaterial { type Vtable = IPrinting3DMultiplePropertyMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMultiplePropertyMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMultiplePropertyMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25a6254b_c6e9_484d_a214_a25e5776ba62); } @@ -925,15 +793,11 @@ pub struct IPrinting3DMultiplePropertyMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMultiplePropertyMaterialGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMultiplePropertyMaterialGroup { type Vtable = IPrinting3DMultiplePropertyMaterialGroup_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMultiplePropertyMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMultiplePropertyMaterialGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0950519_aeb9_4515_a39b_a088fbbb277c); } @@ -953,15 +817,11 @@ pub struct IPrinting3DMultiplePropertyMaterialGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DMultiplePropertyMaterialGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DMultiplePropertyMaterialGroupFactory { type Vtable = IPrinting3DMultiplePropertyMaterialGroupFactory_Vtbl; } -impl ::core::clone::Clone for IPrinting3DMultiplePropertyMaterialGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DMultiplePropertyMaterialGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x323e196e_d4c6_451e_a814_4d78a210fe53); } @@ -973,15 +833,11 @@ pub struct IPrinting3DMultiplePropertyMaterialGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DTexture2CoordMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DTexture2CoordMaterial { type Vtable = IPrinting3DTexture2CoordMaterial_Vtbl; } -impl ::core::clone::Clone for IPrinting3DTexture2CoordMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DTexture2CoordMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d844bfb_07e9_4986_9833_8dd3d48c6859); } @@ -998,15 +854,11 @@ pub struct IPrinting3DTexture2CoordMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DTexture2CoordMaterialGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DTexture2CoordMaterialGroup { type Vtable = IPrinting3DTexture2CoordMaterialGroup_Vtbl; } -impl ::core::clone::Clone for IPrinting3DTexture2CoordMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DTexture2CoordMaterialGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x627d7ca7_6d90_4fb9_9fc4_9feff3dfa892); } @@ -1022,15 +874,11 @@ pub struct IPrinting3DTexture2CoordMaterialGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DTexture2CoordMaterialGroup2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DTexture2CoordMaterialGroup2 { type Vtable = IPrinting3DTexture2CoordMaterialGroup2_Vtbl; } -impl ::core::clone::Clone for IPrinting3DTexture2CoordMaterialGroup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DTexture2CoordMaterialGroup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69fbdbba_b12e_429b_8386_df5284f6e80f); } @@ -1043,15 +891,11 @@ pub struct IPrinting3DTexture2CoordMaterialGroup2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DTexture2CoordMaterialGroupFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DTexture2CoordMaterialGroupFactory { type Vtable = IPrinting3DTexture2CoordMaterialGroupFactory_Vtbl; } -impl ::core::clone::Clone for IPrinting3DTexture2CoordMaterialGroupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DTexture2CoordMaterialGroupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbb049b0_468a_4c6f_b2a2_8eb8ba8dea48); } @@ -1063,15 +907,11 @@ pub struct IPrinting3DTexture2CoordMaterialGroupFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DTextureResource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrinting3DTextureResource { type Vtable = IPrinting3DTextureResource_Vtbl; } -impl ::core::clone::Clone for IPrinting3DTextureResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DTextureResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa70df32d_6ab1_44ae_bc45_a27382c0d38c); } @@ -1092,6 +932,7 @@ pub struct IPrinting3DTextureResource_Vtbl { } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DManager(::windows_core::IUnknown); impl Print3DManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1132,25 +973,9 @@ impl Print3DManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Print3DManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DManager {} -impl ::core::fmt::Debug for Print3DManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DManager;{4d2fcb0a-7366-4971-8bd5-17c4e3e8c6c0})"); } -impl ::core::clone::Clone for Print3DManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DManager { type Vtable = IPrint3DManager_Vtbl; } @@ -1165,6 +990,7 @@ unsafe impl ::core::marker::Send for Print3DManager {} unsafe impl ::core::marker::Sync for Print3DManager {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTask(::windows_core::IUnknown); impl Print3DTask { pub fn Source(&self) -> ::windows_core::Result { @@ -1229,25 +1055,9 @@ impl Print3DTask { unsafe { (::windows_core::Interface::vtable(this).RemoveSourceChanged)(::windows_core::Interface::as_raw(this), eventcookie).ok() } } } -impl ::core::cmp::PartialEq for Print3DTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTask {} -impl ::core::fmt::Debug for Print3DTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTask").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTask { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTask;{8ce3d080-2118-4c28-80de-f426d70191ae})"); } -impl ::core::clone::Clone for Print3DTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTask { type Vtable = IPrint3DTask_Vtbl; } @@ -1262,6 +1072,7 @@ unsafe impl ::core::marker::Send for Print3DTask {} unsafe impl ::core::marker::Sync for Print3DTask {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskCompletedEventArgs(::windows_core::IUnknown); impl Print3DTaskCompletedEventArgs { pub fn Completion(&self) -> ::windows_core::Result { @@ -1279,25 +1090,9 @@ impl Print3DTaskCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for Print3DTaskCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskCompletedEventArgs {} -impl ::core::fmt::Debug for Print3DTaskCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTaskCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskCompletedEventArgs;{cc1914af-2614-4f1d-accc-d6fc4fda5455})"); } -impl ::core::clone::Clone for Print3DTaskCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTaskCompletedEventArgs { type Vtable = IPrint3DTaskCompletedEventArgs_Vtbl; } @@ -1312,6 +1107,7 @@ unsafe impl ::core::marker::Send for Print3DTaskCompletedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskCompletedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskRequest(::windows_core::IUnknown); impl Print3DTaskRequest { pub fn CreateTask(&self, title: &::windows_core::HSTRING, printerid: &::windows_core::HSTRING, handler: P0) -> ::windows_core::Result @@ -1325,25 +1121,9 @@ impl Print3DTaskRequest { } } } -impl ::core::cmp::PartialEq for Print3DTaskRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskRequest {} -impl ::core::fmt::Debug for Print3DTaskRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTaskRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequest;{2595c46f-2245-4c5a-8731-0d604dc6bc3c})"); } -impl ::core::clone::Clone for Print3DTaskRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTaskRequest { type Vtable = IPrint3DTaskRequest_Vtbl; } @@ -1358,6 +1138,7 @@ unsafe impl ::core::marker::Send for Print3DTaskRequest {} unsafe impl ::core::marker::Sync for Print3DTaskRequest {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskRequestedEventArgs(::windows_core::IUnknown); impl Print3DTaskRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1368,25 +1149,9 @@ impl Print3DTaskRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for Print3DTaskRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskRequestedEventArgs {} -impl ::core::fmt::Debug for Print3DTaskRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTaskRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs;{150cb77f-18c5-40d7-9f40-fab3096e05a9})"); } -impl ::core::clone::Clone for Print3DTaskRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTaskRequestedEventArgs { type Vtable = IPrint3DTaskRequestedEventArgs_Vtbl; } @@ -1401,6 +1166,7 @@ unsafe impl ::core::marker::Send for Print3DTaskRequestedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskRequestedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskSourceChangedEventArgs(::windows_core::IUnknown); impl Print3DTaskSourceChangedEventArgs { pub fn Source(&self) -> ::windows_core::Result { @@ -1411,25 +1177,9 @@ impl Print3DTaskSourceChangedEventArgs { } } } -impl ::core::cmp::PartialEq for Print3DTaskSourceChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskSourceChangedEventArgs {} -impl ::core::fmt::Debug for Print3DTaskSourceChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskSourceChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTaskSourceChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceChangedEventArgs;{5bcd34af-24e9-4c10-8d07-14c346ba3fcf})"); } -impl ::core::clone::Clone for Print3DTaskSourceChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTaskSourceChangedEventArgs { type Vtable = IPrint3DTaskSourceChangedEventArgs_Vtbl; } @@ -1444,6 +1194,7 @@ unsafe impl ::core::marker::Send for Print3DTaskSourceChangedEventArgs {} unsafe impl ::core::marker::Sync for Print3DTaskSourceChangedEventArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskSourceRequestedArgs(::windows_core::IUnknown); impl Print3DTaskSourceRequestedArgs { pub fn SetSource(&self, source: P0) -> ::windows_core::Result<()> @@ -1454,25 +1205,9 @@ impl Print3DTaskSourceRequestedArgs { unsafe { (::windows_core::Interface::vtable(this).SetSource)(::windows_core::Interface::as_raw(this), source.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for Print3DTaskSourceRequestedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskSourceRequestedArgs {} -impl ::core::fmt::Debug for Print3DTaskSourceRequestedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskSourceRequestedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Print3DTaskSourceRequestedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Print3DTaskSourceRequestedArgs;{c77c9aba-24af-424d-a3bf-92250c355602})"); } -impl ::core::clone::Clone for Print3DTaskSourceRequestedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Print3DTaskSourceRequestedArgs { type Vtable = IPrint3DTaskSourceRequestedArgs_Vtbl; } @@ -1487,6 +1222,7 @@ unsafe impl ::core::marker::Send for Print3DTaskSourceRequestedArgs {} unsafe impl ::core::marker::Sync for Print3DTaskSourceRequestedArgs {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3D3MFPackage(::windows_core::IUnknown); impl Printing3D3MFPackage { pub fn new() -> ::windows_core::Result { @@ -1616,25 +1352,9 @@ impl Printing3D3MFPackage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3D3MFPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3D3MFPackage {} -impl ::core::fmt::Debug for Printing3D3MFPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3D3MFPackage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3D3MFPackage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3D3MFPackage;{f64dd5c8-2ab7-45a9-a1b7-267e948d5b18})"); } -impl ::core::clone::Clone for Printing3D3MFPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3D3MFPackage { type Vtable = IPrinting3D3MFPackage_Vtbl; } @@ -1649,6 +1369,7 @@ unsafe impl ::core::marker::Send for Printing3D3MFPackage {} unsafe impl ::core::marker::Sync for Printing3D3MFPackage {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DBaseMaterial(::windows_core::IUnknown); impl Printing3DBaseMaterial { pub fn new() -> ::windows_core::Result { @@ -1701,25 +1422,9 @@ impl Printing3DBaseMaterial { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DBaseMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DBaseMaterial {} -impl ::core::fmt::Debug for Printing3DBaseMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DBaseMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DBaseMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterial;{d0f0e743-c50c-4bcb-9d04-fc16adcea2c9})"); } -impl ::core::clone::Clone for Printing3DBaseMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DBaseMaterial { type Vtable = IPrinting3DBaseMaterial_Vtbl; } @@ -1734,6 +1439,7 @@ unsafe impl ::core::marker::Send for Printing3DBaseMaterial {} unsafe impl ::core::marker::Sync for Printing3DBaseMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DBaseMaterialGroup(::windows_core::IUnknown); impl Printing3DBaseMaterialGroup { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1764,25 +1470,9 @@ impl Printing3DBaseMaterialGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DBaseMaterialGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DBaseMaterialGroup {} -impl ::core::fmt::Debug for Printing3DBaseMaterialGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DBaseMaterialGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DBaseMaterialGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup;{94f070b8-2515-4a8d-a1f0-d0fc13d06021})"); } -impl ::core::clone::Clone for Printing3DBaseMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DBaseMaterialGroup { type Vtable = IPrinting3DBaseMaterialGroup_Vtbl; } @@ -1797,6 +1487,7 @@ unsafe impl ::core::marker::Send for Printing3DBaseMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DBaseMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DColorMaterial(::windows_core::IUnknown); impl Printing3DColorMaterial { pub fn new() -> ::windows_core::Result { @@ -1833,25 +1524,9 @@ impl Printing3DColorMaterial { unsafe { (::windows_core::Interface::vtable(this).SetColor)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Printing3DColorMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DColorMaterial {} -impl ::core::fmt::Debug for Printing3DColorMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DColorMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DColorMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterial;{e1899928-7ce7-4285-a35d-f145c9510c7b})"); } -impl ::core::clone::Clone for Printing3DColorMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DColorMaterial { type Vtable = IPrinting3DColorMaterial_Vtbl; } @@ -1866,6 +1541,7 @@ unsafe impl ::core::marker::Send for Printing3DColorMaterial {} unsafe impl ::core::marker::Sync for Printing3DColorMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DColorMaterialGroup(::windows_core::IUnknown); impl Printing3DColorMaterialGroup { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1896,25 +1572,9 @@ impl Printing3DColorMaterialGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DColorMaterialGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DColorMaterialGroup {} -impl ::core::fmt::Debug for Printing3DColorMaterialGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DColorMaterialGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DColorMaterialGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DColorMaterialGroup;{001a6bd0-aadf-4226-afe9-f369a0b45004})"); } -impl ::core::clone::Clone for Printing3DColorMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DColorMaterialGroup { type Vtable = IPrinting3DColorMaterialGroup_Vtbl; } @@ -1929,6 +1589,7 @@ unsafe impl ::core::marker::Send for Printing3DColorMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DColorMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DComponent(::windows_core::IUnknown); impl Printing3DComponent { pub fn new() -> ::windows_core::Result { @@ -2009,25 +1670,9 @@ impl Printing3DComponent { unsafe { (::windows_core::Interface::vtable(this).SetPartNumber)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for Printing3DComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DComponent {} -impl ::core::fmt::Debug for Printing3DComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DComponent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DComponent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponent;{7e287845-bf7f-4cdb-a27f-30a01437fede})"); } -impl ::core::clone::Clone for Printing3DComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DComponent { type Vtable = IPrinting3DComponent_Vtbl; } @@ -2042,6 +1687,7 @@ unsafe impl ::core::marker::Send for Printing3DComponent {} unsafe impl ::core::marker::Sync for Printing3DComponent {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DComponentWithMatrix(::windows_core::IUnknown); impl Printing3DComponentWithMatrix { pub fn new() -> ::windows_core::Result { @@ -2081,25 +1727,9 @@ impl Printing3DComponentWithMatrix { unsafe { (::windows_core::Interface::vtable(this).SetMatrix)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Printing3DComponentWithMatrix { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DComponentWithMatrix {} -impl ::core::fmt::Debug for Printing3DComponentWithMatrix { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DComponentWithMatrix").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DComponentWithMatrix { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DComponentWithMatrix;{3279f335-0ef0-456b-9a21-49bebe8b51c2})"); } -impl ::core::clone::Clone for Printing3DComponentWithMatrix { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DComponentWithMatrix { type Vtable = IPrinting3DComponentWithMatrix_Vtbl; } @@ -2114,6 +1744,7 @@ unsafe impl ::core::marker::Send for Printing3DComponentWithMatrix {} unsafe impl ::core::marker::Sync for Printing3DComponentWithMatrix {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DCompositeMaterial(::windows_core::IUnknown); impl Printing3DCompositeMaterial { pub fn new() -> ::windows_core::Result { @@ -2133,25 +1764,9 @@ impl Printing3DCompositeMaterial { } } } -impl ::core::cmp::PartialEq for Printing3DCompositeMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DCompositeMaterial {} -impl ::core::fmt::Debug for Printing3DCompositeMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DCompositeMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DCompositeMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterial;{462238dd-562e-4f6c-882d-f4d841fd63c7})"); } -impl ::core::clone::Clone for Printing3DCompositeMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DCompositeMaterial { type Vtable = IPrinting3DCompositeMaterial_Vtbl; } @@ -2166,6 +1781,7 @@ unsafe impl ::core::marker::Send for Printing3DCompositeMaterial {} unsafe impl ::core::marker::Sync for Printing3DCompositeMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DCompositeMaterialGroup(::windows_core::IUnknown); impl Printing3DCompositeMaterialGroup { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2219,25 +1835,9 @@ impl Printing3DCompositeMaterialGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DCompositeMaterialGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DCompositeMaterialGroup {} -impl ::core::fmt::Debug for Printing3DCompositeMaterialGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DCompositeMaterialGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DCompositeMaterialGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup;{8d946a5b-40f1-496d-a5fb-340a5a678e30})"); } -impl ::core::clone::Clone for Printing3DCompositeMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DCompositeMaterialGroup { type Vtable = IPrinting3DCompositeMaterialGroup_Vtbl; } @@ -2252,6 +1852,7 @@ unsafe impl ::core::marker::Send for Printing3DCompositeMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DCompositeMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DFaceReductionOptions(::windows_core::IUnknown); impl Printing3DFaceReductionOptions { pub fn new() -> ::windows_core::Result { @@ -2295,25 +1896,9 @@ impl Printing3DFaceReductionOptions { unsafe { (::windows_core::Interface::vtable(this).SetMaxEdgeLength)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Printing3DFaceReductionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DFaceReductionOptions {} -impl ::core::fmt::Debug for Printing3DFaceReductionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DFaceReductionOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DFaceReductionOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DFaceReductionOptions;{bbfed397-2d74-46f7-be85-99a67bbb6629})"); } -impl ::core::clone::Clone for Printing3DFaceReductionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DFaceReductionOptions { type Vtable = IPrinting3DFaceReductionOptions_Vtbl; } @@ -2328,6 +1913,7 @@ unsafe impl ::core::marker::Send for Printing3DFaceReductionOptions {} unsafe impl ::core::marker::Sync for Printing3DFaceReductionOptions {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DMaterial(::windows_core::IUnknown); impl Printing3DMaterial { pub fn new() -> ::windows_core::Result { @@ -2383,25 +1969,9 @@ impl Printing3DMaterial { } } } -impl ::core::cmp::PartialEq for Printing3DMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DMaterial {} -impl ::core::fmt::Debug for Printing3DMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMaterial;{378db256-ed62-4952-b85b-03567d7c465e})"); } -impl ::core::clone::Clone for Printing3DMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DMaterial { type Vtable = IPrinting3DMaterial_Vtbl; } @@ -2416,6 +1986,7 @@ unsafe impl ::core::marker::Send for Printing3DMaterial {} unsafe impl ::core::marker::Sync for Printing3DMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DMesh(::windows_core::IUnknown); impl Printing3DMesh { pub fn new() -> ::windows_core::Result { @@ -2571,25 +2142,9 @@ impl Printing3DMesh { } } } -impl ::core::cmp::PartialEq for Printing3DMesh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DMesh {} -impl ::core::fmt::Debug for Printing3DMesh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DMesh").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DMesh { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMesh;{192e90dc-0228-2e01-bc20-c5290cbf32c4})"); } -impl ::core::clone::Clone for Printing3DMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DMesh { type Vtable = IPrinting3DMesh_Vtbl; } @@ -2604,6 +2159,7 @@ unsafe impl ::core::marker::Send for Printing3DMesh {} unsafe impl ::core::marker::Sync for Printing3DMesh {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DMeshVerificationResult(::windows_core::IUnknown); impl Printing3DMeshVerificationResult { pub fn IsValid(&self) -> ::windows_core::Result { @@ -2632,25 +2188,9 @@ impl Printing3DMeshVerificationResult { } } } -impl ::core::cmp::PartialEq for Printing3DMeshVerificationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DMeshVerificationResult {} -impl ::core::fmt::Debug for Printing3DMeshVerificationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DMeshVerificationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DMeshVerificationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMeshVerificationResult;{195671ba-e93a-4e8a-a46f-dea8e852197e})"); } -impl ::core::clone::Clone for Printing3DMeshVerificationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DMeshVerificationResult { type Vtable = IPrinting3DMeshVerificationResult_Vtbl; } @@ -2665,6 +2205,7 @@ unsafe impl ::core::marker::Send for Printing3DMeshVerificationResult {} unsafe impl ::core::marker::Sync for Printing3DMeshVerificationResult {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DModel(::windows_core::IUnknown); impl Printing3DModel { pub fn new() -> ::windows_core::Result { @@ -2846,25 +2387,9 @@ impl Printing3DModel { } } } -impl ::core::cmp::PartialEq for Printing3DModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DModel {} -impl ::core::fmt::Debug for Printing3DModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DModel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DModel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModel;{2d012ef0-52fb-919a-77b0-4b1a3b80324f})"); } -impl ::core::clone::Clone for Printing3DModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DModel { type Vtable = IPrinting3DModel_Vtbl; } @@ -2879,6 +2404,7 @@ unsafe impl ::core::marker::Send for Printing3DModel {} unsafe impl ::core::marker::Sync for Printing3DModel {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DModelTexture(::windows_core::IUnknown); impl Printing3DModelTexture { pub fn new() -> ::windows_core::Result { @@ -2925,25 +2451,9 @@ impl Printing3DModelTexture { unsafe { (::windows_core::Interface::vtable(this).SetTileStyleV)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Printing3DModelTexture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DModelTexture {} -impl ::core::fmt::Debug for Printing3DModelTexture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DModelTexture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DModelTexture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DModelTexture;{5dafcf01-b59d-483c-97bb-a4d546d1c75c})"); } -impl ::core::clone::Clone for Printing3DModelTexture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DModelTexture { type Vtable = IPrinting3DModelTexture_Vtbl; } @@ -2958,6 +2468,7 @@ unsafe impl ::core::marker::Send for Printing3DModelTexture {} unsafe impl ::core::marker::Sync for Printing3DModelTexture {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DMultiplePropertyMaterial(::windows_core::IUnknown); impl Printing3DMultiplePropertyMaterial { pub fn new() -> ::windows_core::Result { @@ -2977,25 +2488,9 @@ impl Printing3DMultiplePropertyMaterial { } } } -impl ::core::cmp::PartialEq for Printing3DMultiplePropertyMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DMultiplePropertyMaterial {} -impl ::core::fmt::Debug for Printing3DMultiplePropertyMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DMultiplePropertyMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DMultiplePropertyMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial;{25a6254b-c6e9-484d-a214-a25e5776ba62})"); } -impl ::core::clone::Clone for Printing3DMultiplePropertyMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DMultiplePropertyMaterial { type Vtable = IPrinting3DMultiplePropertyMaterial_Vtbl; } @@ -3010,6 +2505,7 @@ unsafe impl ::core::marker::Send for Printing3DMultiplePropertyMaterial {} unsafe impl ::core::marker::Sync for Printing3DMultiplePropertyMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DMultiplePropertyMaterialGroup(::windows_core::IUnknown); impl Printing3DMultiplePropertyMaterialGroup { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3049,25 +2545,9 @@ impl Printing3DMultiplePropertyMaterialGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DMultiplePropertyMaterialGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DMultiplePropertyMaterialGroup {} -impl ::core::fmt::Debug for Printing3DMultiplePropertyMaterialGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DMultiplePropertyMaterialGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DMultiplePropertyMaterialGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup;{f0950519-aeb9-4515-a39b-a088fbbb277c})"); } -impl ::core::clone::Clone for Printing3DMultiplePropertyMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DMultiplePropertyMaterialGroup { type Vtable = IPrinting3DMultiplePropertyMaterialGroup_Vtbl; } @@ -3082,6 +2562,7 @@ unsafe impl ::core::marker::Send for Printing3DMultiplePropertyMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DMultiplePropertyMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DTexture2CoordMaterial(::windows_core::IUnknown); impl Printing3DTexture2CoordMaterial { pub fn new() -> ::windows_core::Result { @@ -3128,25 +2609,9 @@ impl Printing3DTexture2CoordMaterial { unsafe { (::windows_core::Interface::vtable(this).SetV)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Printing3DTexture2CoordMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DTexture2CoordMaterial {} -impl ::core::fmt::Debug for Printing3DTexture2CoordMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DTexture2CoordMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DTexture2CoordMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial;{8d844bfb-07e9-4986-9833-8dd3d48c6859})"); } -impl ::core::clone::Clone for Printing3DTexture2CoordMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DTexture2CoordMaterial { type Vtable = IPrinting3DTexture2CoordMaterial_Vtbl; } @@ -3161,6 +2626,7 @@ unsafe impl ::core::marker::Send for Printing3DTexture2CoordMaterial {} unsafe impl ::core::marker::Sync for Printing3DTexture2CoordMaterial {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DTexture2CoordMaterialGroup(::windows_core::IUnknown); impl Printing3DTexture2CoordMaterialGroup { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3205,25 +2671,9 @@ impl Printing3DTexture2CoordMaterialGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Printing3DTexture2CoordMaterialGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DTexture2CoordMaterialGroup {} -impl ::core::fmt::Debug for Printing3DTexture2CoordMaterialGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DTexture2CoordMaterialGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DTexture2CoordMaterialGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup;{627d7ca7-6d90-4fb9-9fc4-9feff3dfa892})"); } -impl ::core::clone::Clone for Printing3DTexture2CoordMaterialGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DTexture2CoordMaterialGroup { type Vtable = IPrinting3DTexture2CoordMaterialGroup_Vtbl; } @@ -3238,6 +2688,7 @@ unsafe impl ::core::marker::Send for Printing3DTexture2CoordMaterialGroup {} unsafe impl ::core::marker::Sync for Printing3DTexture2CoordMaterialGroup {} #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Printing3DTextureResource(::windows_core::IUnknown); impl Printing3DTextureResource { pub fn new() -> ::windows_core::Result { @@ -3277,25 +2728,9 @@ impl Printing3DTextureResource { unsafe { (::windows_core::Interface::vtable(this).SetName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for Printing3DTextureResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Printing3DTextureResource {} -impl ::core::fmt::Debug for Printing3DTextureResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Printing3DTextureResource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Printing3DTextureResource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Graphics.Printing3D.Printing3DTextureResource;{a70df32d-6ab1-44ae-bc45-a27382c0d38c})"); } -impl ::core::clone::Clone for Printing3DTextureResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Printing3DTextureResource { type Vtable = IPrinting3DTextureResource_Vtbl; } @@ -3605,6 +3040,7 @@ impl ::core::default::Default for Printing3DBufferDescription { } #[doc = "*Required features: `\"Graphics_Printing3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Print3DTaskSourceRequestedHandler(pub ::windows_core::IUnknown); impl Print3DTaskSourceRequestedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3630,9 +3066,12 @@ impl) -> ::wind base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3657,25 +3096,9 @@ impl) -> ::wind ((*this).invoke)(::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for Print3DTaskSourceRequestedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Print3DTaskSourceRequestedHandler {} -impl ::core::fmt::Debug for Print3DTaskSourceRequestedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Print3DTaskSourceRequestedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for Print3DTaskSourceRequestedHandler { type Vtable = Print3DTaskSourceRequestedHandler_Vtbl; } -impl ::core::clone::Clone for Print3DTaskSourceRequestedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for Print3DTaskSourceRequestedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9175e70_c917_46de_bb51_d9a94db3711f); } diff --git a/crates/libs/windows/src/Windows/Graphics/impl.rs b/crates/libs/windows/src/Windows/Graphics/impl.rs index 318837ae62..d2583fb5b4 100644 --- a/crates/libs/windows/src/Windows/Graphics/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/impl.rs @@ -7,7 +7,7 @@ impl IGeometrySource2D_Vtbl { pub const fn new, Impl: IGeometrySource2D_Impl, const OFFSET: isize>() -> IGeometrySource2D_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/mod.rs b/crates/libs/windows/src/Windows/Graphics/mod.rs index 8b85d89e36..aa440b624d 100644 --- a/crates/libs/windows/src/Windows/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/mod.rs @@ -16,31 +16,16 @@ pub mod Printing; pub mod Printing3D; #[doc = "*Required features: `\"Graphics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeometrySource2D(::windows_core::IUnknown); impl IGeometrySource2D {} ::windows_core::imp::interface_hierarchy!(IGeometrySource2D, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IGeometrySource2D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGeometrySource2D {} -impl ::core::fmt::Debug for IGeometrySource2D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGeometrySource2D").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IGeometrySource2D { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{caff7902-670c-4181-a624-da977203b845}"); } unsafe impl ::windows_core::Interface for IGeometrySource2D { type Vtable = IGeometrySource2D_Vtbl; } -impl ::core::clone::Clone for IGeometrySource2D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeometrySource2D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaff7902_670c_4181_a624_da977203b845); } diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index b76821c4e0..f29e9dad81 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDataManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationDataManager { type Vtable = IApplicationDataManager_Vtbl; } -impl ::core::clone::Clone for IApplicationDataManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDataManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74d10432_2e99_4000_9a3a_64307e858129); } @@ -19,15 +15,11 @@ pub struct IApplicationDataManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDataManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationDataManagerStatics { type Vtable = IApplicationDataManagerStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationDataManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDataManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e1862e3_698e_49a1_9752_dee94925b9b3); } @@ -42,6 +34,7 @@ pub struct IApplicationDataManagerStatics_Vtbl { } #[doc = "*Required features: `\"Management_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationDataManager(::windows_core::IUnknown); impl ApplicationDataManager { #[doc = "*Required features: `\"Storage\"`*"] @@ -58,25 +51,9 @@ impl ApplicationDataManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ApplicationDataManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationDataManager {} -impl ::core::fmt::Debug for ApplicationDataManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationDataManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationDataManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Core.ApplicationDataManager;{74d10432-2e99-4000-9a3a-64307e858129})"); } -impl ::core::clone::Clone for ApplicationDataManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationDataManager { type Vtable = IApplicationDataManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs index 0c4c0f2f16..fbf1b702d7 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClassicAppManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClassicAppManagerStatics { type Vtable = IClassicAppManagerStatics_Vtbl; } -impl ::core::clone::Clone for IClassicAppManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClassicAppManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2fad668_882c_4f33_b035_0df7b90d67e6); } @@ -20,15 +16,11 @@ pub struct IClassicAppManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstalledClassicAppInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstalledClassicAppInfo { type Vtable = IInstalledClassicAppInfo_Vtbl; } -impl ::core::clone::Clone for IInstalledClassicAppInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstalledClassicAppInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a7d3da3_65d0_4086_80d6_0610d760207d); } @@ -59,6 +51,7 @@ impl ::windows_core::RuntimeName for ClassicAppManager { } #[doc = "*Required features: `\"Management_Deployment_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InstalledClassicAppInfo(::windows_core::IUnknown); impl InstalledClassicAppInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -76,25 +69,9 @@ impl InstalledClassicAppInfo { } } } -impl ::core::cmp::PartialEq for InstalledClassicAppInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InstalledClassicAppInfo {} -impl ::core::fmt::Debug for InstalledClassicAppInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InstalledClassicAppInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InstalledClassicAppInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.Preview.InstalledClassicAppInfo;{0a7d3da3-65d0-4086-80d6-0610d760207d})"); } -impl ::core::clone::Clone for InstalledClassicAppInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InstalledClassicAppInfo { type Vtable = IInstalledClassicAppInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 641f20f255..759f6e0f9d 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -2,15 +2,11 @@ pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddPackageOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAddPackageOptions { type Vtable = IAddPackageOptions_Vtbl; } -impl ::core::clone::Clone for IAddPackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddPackageOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05cee018_f68f_422b_95a4_66679ec77fc0); } @@ -69,15 +65,11 @@ pub struct IAddPackageOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddPackageOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAddPackageOptions2 { type Vtable = IAddPackageOptions2_Vtbl; } -impl ::core::clone::Clone for IAddPackageOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddPackageOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee515828_bf33_40f7_84af_1b6fad2919d7); } @@ -94,15 +86,11 @@ pub struct IAddPackageOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallerManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallerManager { type Vtable = IAppInstallerManager_Vtbl; } -impl ::core::clone::Clone for IAppInstallerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallerManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7ee21c3_2103_53ee_9b18_68afeab0033d); } @@ -119,15 +107,11 @@ pub struct IAppInstallerManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppInstallerManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppInstallerManagerStatics { type Vtable = IAppInstallerManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppInstallerManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppInstallerManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc95a6ed5_fc59_5336_9b2e_2b07c5e61434); } @@ -140,15 +124,11 @@ pub struct IAppInstallerManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoUpdateSettingsOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutoUpdateSettingsOptions { type Vtable = IAutoUpdateSettingsOptions_Vtbl; } -impl ::core::clone::Clone for IAutoUpdateSettingsOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoUpdateSettingsOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67491d87_35e1_512a_8968_1ae88d1be6d3); } @@ -205,15 +185,11 @@ pub struct IAutoUpdateSettingsOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoUpdateSettingsOptionsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutoUpdateSettingsOptionsStatics { type Vtable = IAutoUpdateSettingsOptionsStatics_Vtbl; } -impl ::core::clone::Clone for IAutoUpdateSettingsOptionsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoUpdateSettingsOptionsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x887b337d_0c05_54d0_bd49_3bb7a2c084cb); } @@ -228,15 +204,11 @@ pub struct IAutoUpdateSettingsOptionsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateSharedPackageContainerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateSharedPackageContainerOptions { type Vtable = ICreateSharedPackageContainerOptions_Vtbl; } -impl ::core::clone::Clone for ICreateSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateSharedPackageContainerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2ab6ece_f664_5c8e_a4b3_2a33276d3dde); } @@ -255,15 +227,11 @@ pub struct ICreateSharedPackageContainerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateSharedPackageContainerResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateSharedPackageContainerResult { type Vtable = ICreateSharedPackageContainerResult_Vtbl; } -impl ::core::clone::Clone for ICreateSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateSharedPackageContainerResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce8810bf_151c_5707_b936_497e564afc7a); } @@ -277,15 +245,11 @@ pub struct ICreateSharedPackageContainerResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeleteSharedPackageContainerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeleteSharedPackageContainerOptions { type Vtable = IDeleteSharedPackageContainerOptions_Vtbl; } -impl ::core::clone::Clone for IDeleteSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeleteSharedPackageContainerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d81865f_986e_5138_8b5d_384d8e66ed6c); } @@ -300,15 +264,11 @@ pub struct IDeleteSharedPackageContainerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeleteSharedPackageContainerResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeleteSharedPackageContainerResult { type Vtable = IDeleteSharedPackageContainerResult_Vtbl; } -impl ::core::clone::Clone for IDeleteSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeleteSharedPackageContainerResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35398884_5736_517b_85bc_e598c81ab284); } @@ -321,15 +281,11 @@ pub struct IDeleteSharedPackageContainerResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeploymentResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeploymentResult { type Vtable = IDeploymentResult_Vtbl; } -impl ::core::clone::Clone for IDeploymentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeploymentResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2563b9ae_b77d_4c1f_8a7b_20e6ad515ef3); } @@ -343,15 +299,11 @@ pub struct IDeploymentResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeploymentResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDeploymentResult2 { type Vtable = IDeploymentResult2_Vtbl; } -impl ::core::clone::Clone for IDeploymentResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeploymentResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc0e715c_5a01_4bd7_bcf1_381c8c82e04a); } @@ -363,15 +315,11 @@ pub struct IDeploymentResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindSharedPackageContainerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFindSharedPackageContainerOptions { type Vtable = IFindSharedPackageContainerOptions_Vtbl; } -impl ::core::clone::Clone for IFindSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindSharedPackageContainerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb40fc8fe_8384_54cc_817d_ae09d3b6a606); } @@ -386,15 +334,11 @@ pub struct IFindSharedPackageContainerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageAllUserProvisioningOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageAllUserProvisioningOptions { type Vtable = IPackageAllUserProvisioningOptions_Vtbl; } -impl ::core::clone::Clone for IPackageAllUserProvisioningOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageAllUserProvisioningOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda35aa22_1de0_5d3e_99ff_d24f3118bf5e); } @@ -413,15 +357,11 @@ pub struct IPackageAllUserProvisioningOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager { type Vtable = IPackageManager_Vtbl; } -impl ::core::clone::Clone for IPackageManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a7d4b65_5e8f_4fc7_a2e5_7f6925cb8b53); } @@ -493,15 +433,11 @@ pub struct IPackageManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager10(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager10 { type Vtable = IPackageManager10_Vtbl; } -impl ::core::clone::Clone for IPackageManager10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7d7d07e_2e66_4093_aed5_e093ed87b3bb); } @@ -516,15 +452,11 @@ pub struct IPackageManager10_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager2 { type Vtable = IPackageManager2_Vtbl; } -impl ::core::clone::Clone for IPackageManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7aad08d_0840_46f2_b5d8_cad47693a095); } @@ -575,15 +507,11 @@ pub struct IPackageManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager3 { type Vtable = IPackageManager3_Vtbl; } -impl ::core::clone::Clone for IPackageManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaad9948_36f1_41a7_9188_bc263e0dcb72); } @@ -639,15 +567,11 @@ pub struct IPackageManager3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager4 { type Vtable = IPackageManager4_Vtbl; } -impl ::core::clone::Clone for IPackageManager4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c719963_bab6_46bf_8ff7_da4719230ae6); } @@ -662,15 +586,11 @@ pub struct IPackageManager4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager5 { type Vtable = IPackageManager5_Vtbl; } -impl ::core::clone::Clone for IPackageManager5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x711f3117_1afd_4313_978c_9bb6e1b864a7); } @@ -694,15 +614,11 @@ pub struct IPackageManager5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager6 { type Vtable = IPackageManager6_Vtbl; } -impl ::core::clone::Clone for IPackageManager6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0847e909_53cd_4e4f_832e_57d180f6e447); } @@ -737,15 +653,11 @@ pub struct IPackageManager6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager7 { type Vtable = IPackageManager7_Vtbl; } -impl ::core::clone::Clone for IPackageManager7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf28654f4_2ba7_4b80_88d6_be15f9a23fba); } @@ -760,15 +672,11 @@ pub struct IPackageManager7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager8(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager8 { type Vtable = IPackageManager8_Vtbl; } -impl ::core::clone::Clone for IPackageManager8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8575330_1298_4ee2_80ee_7f659c5d2782); } @@ -783,15 +691,11 @@ pub struct IPackageManager8_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManager9(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManager9 { type Vtable = IPackageManager9_Vtbl; } -impl ::core::clone::Clone for IPackageManager9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManager9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1aa79035_cc71_4b2e_80a6_c7041d8579a7); } @@ -824,15 +728,11 @@ pub struct IPackageManager9_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageManagerDebugSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageManagerDebugSettings { type Vtable = IPackageManagerDebugSettings_Vtbl; } -impl ::core::clone::Clone for IPackageManagerDebugSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageManagerDebugSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a611683_a988_4fcf_8f0f_ce175898e8eb); } @@ -851,15 +751,11 @@ pub struct IPackageManagerDebugSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageUserInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageUserInformation { type Vtable = IPackageUserInformation_Vtbl; } -impl ::core::clone::Clone for IPackageUserInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageUserInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6383423_fa09_4cbc_9055_15ca275e2e7e); } @@ -872,15 +768,11 @@ pub struct IPackageUserInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageVolume(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageVolume { type Vtable = IPackageVolume_Vtbl; } -impl ::core::clone::Clone for IPackageVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf2672c3_1a40_4450_9739_2ace2e898853); } @@ -953,15 +845,11 @@ pub struct IPackageVolume_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageVolume2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageVolume2 { type Vtable = IPackageVolume2_Vtbl; } -impl ::core::clone::Clone for IPackageVolume2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageVolume2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46abcf2e_9dd4_47a2_ab8c_c6408349bcd8); } @@ -978,15 +866,11 @@ pub struct IPackageVolume2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisterPackageOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRegisterPackageOptions { type Vtable = IRegisterPackageOptions_Vtbl; } -impl ::core::clone::Clone for IRegisterPackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisterPackageOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x677112a7_50d4_496c_8415_0602b4c6d3bf); } @@ -1031,15 +915,11 @@ pub struct IRegisterPackageOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisterPackageOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRegisterPackageOptions2 { type Vtable = IRegisterPackageOptions2_Vtbl; } -impl ::core::clone::Clone for IRegisterPackageOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisterPackageOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dfa9743_86ff_4a11_bc93_434eb6be3a0b); } @@ -1054,15 +934,11 @@ pub struct IRegisterPackageOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPackageContainer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedPackageContainer { type Vtable = ISharedPackageContainer_Vtbl; } -impl ::core::clone::Clone for ISharedPackageContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedPackageContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x177f1aa9_151e_5ef7_b1d9_2fba0b4b0d17); } @@ -1081,15 +957,11 @@ pub struct ISharedPackageContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPackageContainerManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedPackageContainerManager { type Vtable = ISharedPackageContainerManager_Vtbl; } -impl ::core::clone::Clone for ISharedPackageContainerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedPackageContainerManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe353068_1ef7_5ac8_ab3f_0b9f612f0274); } @@ -1111,15 +983,11 @@ pub struct ISharedPackageContainerManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPackageContainerManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedPackageContainerManagerStatics { type Vtable = ISharedPackageContainerManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISharedPackageContainerManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedPackageContainerManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ef56348_838a_5f55_a89e_1198a2c627e6); } @@ -1133,15 +1001,11 @@ pub struct ISharedPackageContainerManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPackageContainerMember(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedPackageContainerMember { type Vtable = ISharedPackageContainerMember_Vtbl; } -impl ::core::clone::Clone for ISharedPackageContainerMember { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedPackageContainerMember { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe0d0438_43c9_5426_b89c_f79bf85ddff4); } @@ -1153,15 +1017,11 @@ pub struct ISharedPackageContainerMember_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPackageContainerMemberFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedPackageContainerMemberFactory { type Vtable = ISharedPackageContainerMemberFactory_Vtbl; } -impl ::core::clone::Clone for ISharedPackageContainerMemberFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedPackageContainerMemberFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49b0ceeb_498f_5a62_b738_b3ca0d436704); } @@ -1173,15 +1033,11 @@ pub struct ISharedPackageContainerMemberFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStagePackageOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStagePackageOptions { type Vtable = IStagePackageOptions_Vtbl; } -impl ::core::clone::Clone for IStagePackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStagePackageOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b110c9c_b95d_4c56_bd36_6d656800d06b); } @@ -1232,15 +1088,11 @@ pub struct IStagePackageOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStagePackageOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStagePackageOptions2 { type Vtable = IStagePackageOptions2_Vtbl; } -impl ::core::clone::Clone for IStagePackageOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStagePackageOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x990c4ccc_6226_4192_ba92_79875fce0d9c); } @@ -1255,15 +1107,11 @@ pub struct IStagePackageOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSharedPackageContainerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUpdateSharedPackageContainerOptions { type Vtable = IUpdateSharedPackageContainerOptions_Vtbl; } -impl ::core::clone::Clone for IUpdateSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUpdateSharedPackageContainerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80672e83_7194_59f9_b5b9_daa5375f130a); } @@ -1278,15 +1126,11 @@ pub struct IUpdateSharedPackageContainerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSharedPackageContainerResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUpdateSharedPackageContainerResult { type Vtable = IUpdateSharedPackageContainerResult_Vtbl; } -impl ::core::clone::Clone for IUpdateSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUpdateSharedPackageContainerResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa407df7_c72d_5458_aea3_4645b6a8ee99); } @@ -1299,6 +1143,7 @@ pub struct IUpdateSharedPackageContainerResult_Vtbl { } #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AddPackageOptions(::windows_core::IUnknown); impl AddPackageOptions { pub fn new() -> ::windows_core::Result { @@ -1518,25 +1363,9 @@ impl AddPackageOptions { unsafe { (::windows_core::Interface::vtable(this).SetLimitToExistingPackages)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AddPackageOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AddPackageOptions {} -impl ::core::fmt::Debug for AddPackageOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AddPackageOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AddPackageOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AddPackageOptions;{05cee018-f68f-422b-95a4-66679ec77fc0})"); } -impl ::core::clone::Clone for AddPackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AddPackageOptions { type Vtable = IAddPackageOptions_Vtbl; } @@ -1551,6 +1380,7 @@ unsafe impl ::core::marker::Send for AddPackageOptions {} unsafe impl ::core::marker::Sync for AddPackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppInstallerManager(::windows_core::IUnknown); impl AppInstallerManager { pub fn SetAutoUpdateSettings(&self, packagefamilyname: &::windows_core::HSTRING, appinstallerinfo: P0) -> ::windows_core::Result<()> @@ -1588,25 +1418,9 @@ impl AppInstallerManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppInstallerManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppInstallerManager {} -impl ::core::fmt::Debug for AppInstallerManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppInstallerManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppInstallerManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AppInstallerManager;{e7ee21c3-2103-53ee-9b18-68afeab0033d})"); } -impl ::core::clone::Clone for AppInstallerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppInstallerManager { type Vtable = IAppInstallerManager_Vtbl; } @@ -1621,6 +1435,7 @@ unsafe impl ::core::marker::Send for AppInstallerManager {} unsafe impl ::core::marker::Sync for AppInstallerManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutoUpdateSettingsOptions(::windows_core::IUnknown); impl AutoUpdateSettingsOptions { pub fn new() -> ::windows_core::Result { @@ -1793,25 +1608,9 @@ impl AutoUpdateSettingsOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AutoUpdateSettingsOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutoUpdateSettingsOptions {} -impl ::core::fmt::Debug for AutoUpdateSettingsOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutoUpdateSettingsOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutoUpdateSettingsOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.AutoUpdateSettingsOptions;{67491d87-35e1-512a-8968-1ae88d1be6d3})"); } -impl ::core::clone::Clone for AutoUpdateSettingsOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutoUpdateSettingsOptions { type Vtable = IAutoUpdateSettingsOptions_Vtbl; } @@ -1826,6 +1625,7 @@ unsafe impl ::core::marker::Send for AutoUpdateSettingsOptions {} unsafe impl ::core::marker::Sync for AutoUpdateSettingsOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateSharedPackageContainerOptions(::windows_core::IUnknown); impl CreateSharedPackageContainerOptions { pub fn new() -> ::windows_core::Result { @@ -1867,25 +1667,9 @@ impl CreateSharedPackageContainerOptions { unsafe { (::windows_core::Interface::vtable(this).SetCreateCollisionOption)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CreateSharedPackageContainerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateSharedPackageContainerOptions {} -impl ::core::fmt::Debug for CreateSharedPackageContainerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateSharedPackageContainerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateSharedPackageContainerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerOptions;{c2ab6ece-f664-5c8e-a4b3-2a33276d3dde})"); } -impl ::core::clone::Clone for CreateSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateSharedPackageContainerOptions { type Vtable = ICreateSharedPackageContainerOptions_Vtbl; } @@ -1900,6 +1684,7 @@ unsafe impl ::core::marker::Send for CreateSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for CreateSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateSharedPackageContainerResult(::windows_core::IUnknown); impl CreateSharedPackageContainerResult { pub fn Container(&self) -> ::windows_core::Result { @@ -1924,25 +1709,9 @@ impl CreateSharedPackageContainerResult { } } } -impl ::core::cmp::PartialEq for CreateSharedPackageContainerResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateSharedPackageContainerResult {} -impl ::core::fmt::Debug for CreateSharedPackageContainerResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateSharedPackageContainerResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateSharedPackageContainerResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.CreateSharedPackageContainerResult;{ce8810bf-151c-5707-b936-497e564afc7a})"); } -impl ::core::clone::Clone for CreateSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateSharedPackageContainerResult { type Vtable = ICreateSharedPackageContainerResult_Vtbl; } @@ -1957,6 +1726,7 @@ unsafe impl ::core::marker::Send for CreateSharedPackageContainerResult {} unsafe impl ::core::marker::Sync for CreateSharedPackageContainerResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeleteSharedPackageContainerOptions(::windows_core::IUnknown); impl DeleteSharedPackageContainerOptions { pub fn new() -> ::windows_core::Result { @@ -1989,25 +1759,9 @@ impl DeleteSharedPackageContainerOptions { unsafe { (::windows_core::Interface::vtable(this).SetAllUsers)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DeleteSharedPackageContainerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeleteSharedPackageContainerOptions {} -impl ::core::fmt::Debug for DeleteSharedPackageContainerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeleteSharedPackageContainerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeleteSharedPackageContainerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerOptions;{9d81865f-986e-5138-8b5d-384d8e66ed6c})"); } -impl ::core::clone::Clone for DeleteSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeleteSharedPackageContainerOptions { type Vtable = IDeleteSharedPackageContainerOptions_Vtbl; } @@ -2022,6 +1776,7 @@ unsafe impl ::core::marker::Send for DeleteSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for DeleteSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeleteSharedPackageContainerResult(::windows_core::IUnknown); impl DeleteSharedPackageContainerResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2039,25 +1794,9 @@ impl DeleteSharedPackageContainerResult { } } } -impl ::core::cmp::PartialEq for DeleteSharedPackageContainerResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeleteSharedPackageContainerResult {} -impl ::core::fmt::Debug for DeleteSharedPackageContainerResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeleteSharedPackageContainerResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeleteSharedPackageContainerResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeleteSharedPackageContainerResult;{35398884-5736-517b-85bc-e598c81ab284})"); } -impl ::core::clone::Clone for DeleteSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeleteSharedPackageContainerResult { type Vtable = IDeleteSharedPackageContainerResult_Vtbl; } @@ -2072,6 +1811,7 @@ unsafe impl ::core::marker::Send for DeleteSharedPackageContainerResult {} unsafe impl ::core::marker::Sync for DeleteSharedPackageContainerResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeploymentResult(::windows_core::IUnknown); impl DeploymentResult { pub fn ErrorText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2103,25 +1843,9 @@ impl DeploymentResult { } } } -impl ::core::cmp::PartialEq for DeploymentResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeploymentResult {} -impl ::core::fmt::Debug for DeploymentResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeploymentResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DeploymentResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.DeploymentResult;{2563b9ae-b77d-4c1f-8a7b-20e6ad515ef3})"); } -impl ::core::clone::Clone for DeploymentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DeploymentResult { type Vtable = IDeploymentResult_Vtbl; } @@ -2136,6 +1860,7 @@ unsafe impl ::core::marker::Send for DeploymentResult {} unsafe impl ::core::marker::Sync for DeploymentResult {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FindSharedPackageContainerOptions(::windows_core::IUnknown); impl FindSharedPackageContainerOptions { pub fn new() -> ::windows_core::Result { @@ -2168,25 +1893,9 @@ impl FindSharedPackageContainerOptions { unsafe { (::windows_core::Interface::vtable(this).SetPackageFamilyName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for FindSharedPackageContainerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FindSharedPackageContainerOptions {} -impl ::core::fmt::Debug for FindSharedPackageContainerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FindSharedPackageContainerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FindSharedPackageContainerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.FindSharedPackageContainerOptions;{b40fc8fe-8384-54cc-817d-ae09d3b6a606})"); } -impl ::core::clone::Clone for FindSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FindSharedPackageContainerOptions { type Vtable = IFindSharedPackageContainerOptions_Vtbl; } @@ -2201,6 +1910,7 @@ unsafe impl ::core::marker::Send for FindSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for FindSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageAllUserProvisioningOptions(::windows_core::IUnknown); impl PackageAllUserProvisioningOptions { pub fn new() -> ::windows_core::Result { @@ -2229,25 +1939,9 @@ impl PackageAllUserProvisioningOptions { } } } -impl ::core::cmp::PartialEq for PackageAllUserProvisioningOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageAllUserProvisioningOptions {} -impl ::core::fmt::Debug for PackageAllUserProvisioningOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageAllUserProvisioningOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageAllUserProvisioningOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageAllUserProvisioningOptions;{da35aa22-1de0-5d3e-99ff-d24f3118bf5e})"); } -impl ::core::clone::Clone for PackageAllUserProvisioningOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageAllUserProvisioningOptions { type Vtable = IPackageAllUserProvisioningOptions_Vtbl; } @@ -2262,6 +1956,7 @@ unsafe impl ::core::marker::Send for PackageAllUserProvisioningOptions {} unsafe impl ::core::marker::Sync for PackageAllUserProvisioningOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageManager(::windows_core::IUnknown); impl PackageManager { pub fn new() -> ::windows_core::Result { @@ -2927,25 +2622,9 @@ impl PackageManager { } } } -impl ::core::cmp::PartialEq for PackageManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageManager {} -impl ::core::fmt::Debug for PackageManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManager;{9a7d4b65-5e8f-4fc7-a2e5-7f6925cb8b53})"); } -impl ::core::clone::Clone for PackageManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageManager { type Vtable = IPackageManager_Vtbl; } @@ -2960,6 +2639,7 @@ unsafe impl ::core::marker::Send for PackageManager {} unsafe impl ::core::marker::Sync for PackageManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageManagerDebugSettings(::windows_core::IUnknown); impl PackageManagerDebugSettings { #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`*"] @@ -2987,25 +2667,9 @@ impl PackageManagerDebugSettings { } } } -impl ::core::cmp::PartialEq for PackageManagerDebugSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageManagerDebugSettings {} -impl ::core::fmt::Debug for PackageManagerDebugSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageManagerDebugSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageManagerDebugSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageManagerDebugSettings;{1a611683-a988-4fcf-8f0f-ce175898e8eb})"); } -impl ::core::clone::Clone for PackageManagerDebugSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageManagerDebugSettings { type Vtable = IPackageManagerDebugSettings_Vtbl; } @@ -3020,6 +2684,7 @@ unsafe impl ::core::marker::Send for PackageManagerDebugSettings {} unsafe impl ::core::marker::Sync for PackageManagerDebugSettings {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageUserInformation(::windows_core::IUnknown); impl PackageUserInformation { pub fn UserSecurityId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3037,25 +2702,9 @@ impl PackageUserInformation { } } } -impl ::core::cmp::PartialEq for PackageUserInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageUserInformation {} -impl ::core::fmt::Debug for PackageUserInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageUserInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageUserInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageUserInformation;{f6383423-fa09-4cbc-9055-15ca275e2e7e})"); } -impl ::core::clone::Clone for PackageUserInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageUserInformation { type Vtable = IPackageUserInformation_Vtbl; } @@ -3070,6 +2719,7 @@ unsafe impl ::core::marker::Send for PackageUserInformation {} unsafe impl ::core::marker::Sync for PackageUserInformation {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageVolume(::windows_core::IUnknown); impl PackageVolume { pub fn IsOffline(&self) -> ::windows_core::Result { @@ -3264,25 +2914,9 @@ impl PackageVolume { } } } -impl ::core::cmp::PartialEq for PackageVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageVolume {} -impl ::core::fmt::Debug for PackageVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageVolume").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageVolume { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.PackageVolume;{cf2672c3-1a40-4450-9739-2ace2e898853})"); } -impl ::core::clone::Clone for PackageVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageVolume { type Vtable = IPackageVolume_Vtbl; } @@ -3297,6 +2931,7 @@ unsafe impl ::core::marker::Send for PackageVolume {} unsafe impl ::core::marker::Sync for PackageVolume {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RegisterPackageOptions(::windows_core::IUnknown); impl RegisterPackageOptions { pub fn new() -> ::windows_core::Result { @@ -3454,25 +3089,9 @@ impl RegisterPackageOptions { } } } -impl ::core::cmp::PartialEq for RegisterPackageOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RegisterPackageOptions {} -impl ::core::fmt::Debug for RegisterPackageOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RegisterPackageOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RegisterPackageOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.RegisterPackageOptions;{677112a7-50d4-496c-8415-0602b4c6d3bf})"); } -impl ::core::clone::Clone for RegisterPackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RegisterPackageOptions { type Vtable = IRegisterPackageOptions_Vtbl; } @@ -3487,6 +3106,7 @@ unsafe impl ::core::marker::Send for RegisterPackageOptions {} unsafe impl ::core::marker::Sync for RegisterPackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SharedPackageContainer(::windows_core::IUnknown); impl SharedPackageContainer { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3530,25 +3150,9 @@ impl SharedPackageContainer { } } } -impl ::core::cmp::PartialEq for SharedPackageContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SharedPackageContainer {} -impl ::core::fmt::Debug for SharedPackageContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SharedPackageContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SharedPackageContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainer;{177f1aa9-151e-5ef7-b1d9-2fba0b4b0d17})"); } -impl ::core::clone::Clone for SharedPackageContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SharedPackageContainer { type Vtable = ISharedPackageContainer_Vtbl; } @@ -3563,6 +3167,7 @@ unsafe impl ::core::marker::Send for SharedPackageContainer {} unsafe impl ::core::marker::Sync for SharedPackageContainer {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SharedPackageContainerManager(::windows_core::IUnknown); impl SharedPackageContainerManager { pub fn CreateContainer(&self, name: &::windows_core::HSTRING, options: P0) -> ::windows_core::Result @@ -3637,25 +3242,9 @@ impl SharedPackageContainerManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SharedPackageContainerManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SharedPackageContainerManager {} -impl ::core::fmt::Debug for SharedPackageContainerManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SharedPackageContainerManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SharedPackageContainerManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerManager;{be353068-1ef7-5ac8-ab3f-0b9f612f0274})"); } -impl ::core::clone::Clone for SharedPackageContainerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SharedPackageContainerManager { type Vtable = ISharedPackageContainerManager_Vtbl; } @@ -3670,6 +3259,7 @@ unsafe impl ::core::marker::Send for SharedPackageContainerManager {} unsafe impl ::core::marker::Sync for SharedPackageContainerManager {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SharedPackageContainerMember(::windows_core::IUnknown); impl SharedPackageContainerMember { pub fn PackageFamilyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3691,25 +3281,9 @@ impl SharedPackageContainerMember { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SharedPackageContainerMember { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SharedPackageContainerMember {} -impl ::core::fmt::Debug for SharedPackageContainerMember { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SharedPackageContainerMember").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SharedPackageContainerMember { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.SharedPackageContainerMember;{fe0d0438-43c9-5426-b89c-f79bf85ddff4})"); } -impl ::core::clone::Clone for SharedPackageContainerMember { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SharedPackageContainerMember { type Vtable = ISharedPackageContainerMember_Vtbl; } @@ -3724,6 +3298,7 @@ unsafe impl ::core::marker::Send for SharedPackageContainerMember {} unsafe impl ::core::marker::Sync for SharedPackageContainerMember {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StagePackageOptions(::windows_core::IUnknown); impl StagePackageOptions { pub fn new() -> ::windows_core::Result { @@ -3888,25 +3463,9 @@ impl StagePackageOptions { } } } -impl ::core::cmp::PartialEq for StagePackageOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StagePackageOptions {} -impl ::core::fmt::Debug for StagePackageOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StagePackageOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StagePackageOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.StagePackageOptions;{0b110c9c-b95d-4c56-bd36-6d656800d06b})"); } -impl ::core::clone::Clone for StagePackageOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StagePackageOptions { type Vtable = IStagePackageOptions_Vtbl; } @@ -3921,6 +3480,7 @@ unsafe impl ::core::marker::Send for StagePackageOptions {} unsafe impl ::core::marker::Sync for StagePackageOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UpdateSharedPackageContainerOptions(::windows_core::IUnknown); impl UpdateSharedPackageContainerOptions { pub fn new() -> ::windows_core::Result { @@ -3953,25 +3513,9 @@ impl UpdateSharedPackageContainerOptions { unsafe { (::windows_core::Interface::vtable(this).SetRequirePackagesPresent)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for UpdateSharedPackageContainerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UpdateSharedPackageContainerOptions {} -impl ::core::fmt::Debug for UpdateSharedPackageContainerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UpdateSharedPackageContainerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UpdateSharedPackageContainerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerOptions;{80672e83-7194-59f9-b5b9-daa5375f130a})"); } -impl ::core::clone::Clone for UpdateSharedPackageContainerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UpdateSharedPackageContainerOptions { type Vtable = IUpdateSharedPackageContainerOptions_Vtbl; } @@ -3986,6 +3530,7 @@ unsafe impl ::core::marker::Send for UpdateSharedPackageContainerOptions {} unsafe impl ::core::marker::Sync for UpdateSharedPackageContainerOptions {} #[doc = "*Required features: `\"Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UpdateSharedPackageContainerResult(::windows_core::IUnknown); impl UpdateSharedPackageContainerResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4003,25 +3548,9 @@ impl UpdateSharedPackageContainerResult { } } } -impl ::core::cmp::PartialEq for UpdateSharedPackageContainerResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UpdateSharedPackageContainerResult {} -impl ::core::fmt::Debug for UpdateSharedPackageContainerResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UpdateSharedPackageContainerResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UpdateSharedPackageContainerResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Deployment.UpdateSharedPackageContainerResult;{aa407df7-c72d-5458-aea3-4645b6a8ee99})"); } -impl ::core::clone::Clone for UpdateSharedPackageContainerResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UpdateSharedPackageContainerResult { type Vtable = IUpdateSharedPackageContainerResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index 38a90174e8..91ed5f72b3 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedPolicyData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INamedPolicyData { type Vtable = INamedPolicyData_Vtbl; } -impl ::core::clone::Clone for INamedPolicyData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedPolicyData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38dcb198_95ac_4077_a643_8078cae26400); } @@ -44,15 +40,11 @@ pub struct INamedPolicyData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedPolicyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INamedPolicyStatics { type Vtable = INamedPolicyStatics_Vtbl; } -impl ::core::clone::Clone for INamedPolicyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedPolicyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f793be7_76c4_4058_8cad_67662cd05f0d); } @@ -97,6 +89,7 @@ impl ::windows_core::RuntimeName for NamedPolicy { } #[doc = "*Required features: `\"Management_Policies\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NamedPolicyData(::windows_core::IUnknown); impl NamedPolicyData { pub fn Area(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -199,25 +192,9 @@ impl NamedPolicyData { unsafe { (::windows_core::Interface::vtable(this).RemoveChanged)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for NamedPolicyData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NamedPolicyData {} -impl ::core::fmt::Debug for NamedPolicyData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NamedPolicyData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NamedPolicyData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Policies.NamedPolicyData;{38dcb198-95ac-4077-a643-8078cae26400})"); } -impl ::core::clone::Clone for NamedPolicyData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NamedPolicyData { type Vtable = INamedPolicyData_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index be8dc7cd17..15e870beb6 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewBuildsManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPreviewBuildsManager { type Vtable = IPreviewBuildsManager_Vtbl; } -impl ::core::clone::Clone for IPreviewBuildsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewBuildsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa07dd61_7e4f_59f7_7c9f_def9051c5f62); } @@ -26,15 +22,11 @@ pub struct IPreviewBuildsManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewBuildsManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPreviewBuildsManagerStatics { type Vtable = IPreviewBuildsManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPreviewBuildsManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewBuildsManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e422887_b112_5a70_7da1_97d78d32aa29); } @@ -47,15 +39,11 @@ pub struct IPreviewBuildsManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewBuildsState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPreviewBuildsState { type Vtable = IPreviewBuildsState_Vtbl; } -impl ::core::clone::Clone for IPreviewBuildsState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewBuildsState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2f2903e_b223_5f63_7546_3e8eac070a2e); } @@ -70,15 +58,11 @@ pub struct IPreviewBuildsState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdate { type Vtable = IWindowsUpdate_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3c88dd7_0ef3_52b2_a9ad_66bfc6bd9582); } @@ -122,15 +106,11 @@ pub struct IWindowsUpdate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateActionCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateActionCompletedEventArgs { type Vtable = IWindowsUpdateActionCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateActionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateActionCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c44b950_a655_5321_aec1_aee762922131); } @@ -145,15 +125,11 @@ pub struct IWindowsUpdateActionCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateActionProgress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateActionProgress { type Vtable = IWindowsUpdateActionProgress_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateActionProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateActionProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83b22d8a_4bb0_549f_ba39_59724882d137); } @@ -166,15 +142,11 @@ pub struct IWindowsUpdateActionProgress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateActionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateActionResult { type Vtable = IWindowsUpdateActionResult_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateActionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateActionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6692c62_f697_51b7_ab7f_e73e5e688f12); } @@ -192,15 +164,11 @@ pub struct IWindowsUpdateActionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateAdministrator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateAdministrator { type Vtable = IWindowsUpdateAdministrator_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateAdministrator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateAdministrator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a60181c_ba1e_5cf9_aa65_304120b73d72); } @@ -220,15 +188,11 @@ pub struct IWindowsUpdateAdministrator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateAdministratorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateAdministratorStatics { type Vtable = IWindowsUpdateAdministratorStatics_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateAdministratorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateAdministratorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x013e6d36_ef69_53bc_8db8_c403bca550ed); } @@ -245,15 +209,11 @@ pub struct IWindowsUpdateAdministratorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateApprovalData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateApprovalData { type Vtable = IWindowsUpdateApprovalData_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateApprovalData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateApprovalData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaadf5bfd_84db_59bc_85e2_ad4fc1f62f7c); } @@ -304,15 +264,11 @@ pub struct IWindowsUpdateApprovalData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateAttentionRequiredInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateAttentionRequiredInfo { type Vtable = IWindowsUpdateAttentionRequiredInfo_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateAttentionRequiredInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateAttentionRequiredInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44df2579_74d3_5ffa_b6ce_09e187e1e0ed); } @@ -328,15 +284,11 @@ pub struct IWindowsUpdateAttentionRequiredInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateAttentionRequiredReasonChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateAttentionRequiredReasonChangedEventArgs { type Vtable = IWindowsUpdateAttentionRequiredReasonChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateAttentionRequiredReasonChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateAttentionRequiredReasonChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0627abca_dbb8_524a_b1d2_d9df004eeb31); } @@ -349,15 +301,11 @@ pub struct IWindowsUpdateAttentionRequiredReasonChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateGetAdministratorResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateGetAdministratorResult { type Vtable = IWindowsUpdateGetAdministratorResult_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateGetAdministratorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateGetAdministratorResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb39ffc4_2c42_5b1c_8995_343341c92c50); } @@ -370,15 +318,11 @@ pub struct IWindowsUpdateGetAdministratorResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateItem { type Vtable = IWindowsUpdateItem_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb222e44a_49b6_59bf_a033_ef617cd73a98); } @@ -403,15 +347,11 @@ pub struct IWindowsUpdateItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateManager { type Vtable = IWindowsUpdateManager_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5dd966c0_a71a_5602_bbd0_09a70e4573fa); } @@ -489,15 +429,11 @@ pub struct IWindowsUpdateManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateManagerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateManagerFactory { type Vtable = IWindowsUpdateManagerFactory_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateManagerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateManagerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b394df8_decb_5f44_b47c_6ccf3bcfdb37); } @@ -509,15 +445,11 @@ pub struct IWindowsUpdateManagerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateProgressChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateProgressChangedEventArgs { type Vtable = IWindowsUpdateProgressChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateProgressChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateProgressChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbfbdeeb_94c8_5aa7_b0fb_66c67c233b0a); } @@ -530,15 +462,11 @@ pub struct IWindowsUpdateProgressChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateRestartRequestOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateRestartRequestOptions { type Vtable = IWindowsUpdateRestartRequestOptions_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateRestartRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateRestartRequestOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38cfb7d3_4188_5222_905c_6c4443c951ee); } @@ -569,15 +497,11 @@ pub struct IWindowsUpdateRestartRequestOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateRestartRequestOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateRestartRequestOptionsFactory { type Vtable = IWindowsUpdateRestartRequestOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateRestartRequestOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateRestartRequestOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75f41d04_0e17_50d0_8c15_6b9d0539b3a9); } @@ -592,15 +516,11 @@ pub struct IWindowsUpdateRestartRequestOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateScanCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsUpdateScanCompletedEventArgs { type Vtable = IWindowsUpdateScanCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowsUpdateScanCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsUpdateScanCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95b6953e_ba5c_5fe8_b115_12de184a6bb0); } @@ -618,6 +538,7 @@ pub struct IWindowsUpdateScanCompletedEventArgs_Vtbl { } #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PreviewBuildsManager(::windows_core::IUnknown); impl PreviewBuildsManager { pub fn ArePreviewBuildsAllowed(&self) -> ::windows_core::Result { @@ -665,25 +586,9 @@ impl PreviewBuildsManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PreviewBuildsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PreviewBuildsManager {} -impl ::core::fmt::Debug for PreviewBuildsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PreviewBuildsManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PreviewBuildsManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsManager;{fa07dd61-7e4f-59f7-7c9f-def9051c5f62})"); } -impl ::core::clone::Clone for PreviewBuildsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PreviewBuildsManager { type Vtable = IPreviewBuildsManager_Vtbl; } @@ -698,6 +603,7 @@ unsafe impl ::core::marker::Send for PreviewBuildsManager {} unsafe impl ::core::marker::Sync for PreviewBuildsManager {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PreviewBuildsState(::windows_core::IUnknown); impl PreviewBuildsState { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -710,25 +616,9 @@ impl PreviewBuildsState { } } } -impl ::core::cmp::PartialEq for PreviewBuildsState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PreviewBuildsState {} -impl ::core::fmt::Debug for PreviewBuildsState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PreviewBuildsState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PreviewBuildsState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.PreviewBuildsState;{a2f2903e-b223-5f63-7546-3e8eac070a2e})"); } -impl ::core::clone::Clone for PreviewBuildsState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PreviewBuildsState { type Vtable = IPreviewBuildsState_Vtbl; } @@ -743,6 +633,7 @@ unsafe impl ::core::marker::Send for PreviewBuildsState {} unsafe impl ::core::marker::Sync for PreviewBuildsState {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdate(::windows_core::IUnknown); impl WindowsUpdate { pub fn ProviderId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -917,25 +808,9 @@ impl WindowsUpdate { unsafe { (::windows_core::Interface::vtable(this).AcceptEula)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WindowsUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdate {} -impl ::core::fmt::Debug for WindowsUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdate;{c3c88dd7-0ef3-52b2-a9ad-66bfc6bd9582})"); } -impl ::core::clone::Clone for WindowsUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdate { type Vtable = IWindowsUpdate_Vtbl; } @@ -950,6 +825,7 @@ unsafe impl ::core::marker::Send for WindowsUpdate {} unsafe impl ::core::marker::Sync for WindowsUpdate {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateActionCompletedEventArgs(::windows_core::IUnknown); impl WindowsUpdateActionCompletedEventArgs { pub fn Update(&self) -> ::windows_core::Result { @@ -981,25 +857,9 @@ impl WindowsUpdateActionCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowsUpdateActionCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateActionCompletedEventArgs {} -impl ::core::fmt::Debug for WindowsUpdateActionCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateActionCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateActionCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionCompletedEventArgs;{2c44b950-a655-5321-aec1-aee762922131})"); } -impl ::core::clone::Clone for WindowsUpdateActionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateActionCompletedEventArgs { type Vtable = IWindowsUpdateActionCompletedEventArgs_Vtbl; } @@ -1014,6 +874,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateActionCompletedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateActionCompletedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateActionProgress(::windows_core::IUnknown); impl WindowsUpdateActionProgress { pub fn Action(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1031,25 +892,9 @@ impl WindowsUpdateActionProgress { } } } -impl ::core::cmp::PartialEq for WindowsUpdateActionProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateActionProgress {} -impl ::core::fmt::Debug for WindowsUpdateActionProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateActionProgress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateActionProgress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionProgress;{83b22d8a-4bb0-549f-ba39-59724882d137})"); } -impl ::core::clone::Clone for WindowsUpdateActionProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateActionProgress { type Vtable = IWindowsUpdateActionProgress_Vtbl; } @@ -1064,6 +909,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateActionProgress {} unsafe impl ::core::marker::Sync for WindowsUpdateActionProgress {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateActionResult(::windows_core::IUnknown); impl WindowsUpdateActionResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1097,25 +943,9 @@ impl WindowsUpdateActionResult { } } } -impl ::core::cmp::PartialEq for WindowsUpdateActionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateActionResult {} -impl ::core::fmt::Debug for WindowsUpdateActionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateActionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateActionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateActionResult;{e6692c62-f697-51b7-ab7f-e73e5e688f12})"); } -impl ::core::clone::Clone for WindowsUpdateActionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateActionResult { type Vtable = IWindowsUpdateActionResult_Vtbl; } @@ -1130,6 +960,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateActionResult {} unsafe impl ::core::marker::Sync for WindowsUpdateActionResult {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateAdministrator(::windows_core::IUnknown); impl WindowsUpdateAdministrator { pub fn StartAdministratorScan(&self) -> ::windows_core::Result<()> { @@ -1206,25 +1037,9 @@ impl WindowsUpdateAdministrator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WindowsUpdateAdministrator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateAdministrator {} -impl ::core::fmt::Debug for WindowsUpdateAdministrator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateAdministrator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateAdministrator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAdministrator;{7a60181c-ba1e-5cf9-aa65-304120b73d72})"); } -impl ::core::clone::Clone for WindowsUpdateAdministrator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateAdministrator { type Vtable = IWindowsUpdateAdministrator_Vtbl; } @@ -1239,6 +1054,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateAdministrator {} unsafe impl ::core::marker::Sync for WindowsUpdateAdministrator {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateApprovalData(::windows_core::IUnknown); impl WindowsUpdateApprovalData { pub fn new() -> ::windows_core::Result { @@ -1339,25 +1155,9 @@ impl WindowsUpdateApprovalData { unsafe { (::windows_core::Interface::vtable(this).SetOptOutOfAutoReboot)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for WindowsUpdateApprovalData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateApprovalData {} -impl ::core::fmt::Debug for WindowsUpdateApprovalData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateApprovalData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateApprovalData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateApprovalData;{aadf5bfd-84db-59bc-85e2-ad4fc1f62f7c})"); } -impl ::core::clone::Clone for WindowsUpdateApprovalData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateApprovalData { type Vtable = IWindowsUpdateApprovalData_Vtbl; } @@ -1372,6 +1172,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateApprovalData {} unsafe impl ::core::marker::Sync for WindowsUpdateApprovalData {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateAttentionRequiredInfo(::windows_core::IUnknown); impl WindowsUpdateAttentionRequiredInfo { pub fn Reason(&self) -> ::windows_core::Result { @@ -1391,25 +1192,9 @@ impl WindowsUpdateAttentionRequiredInfo { } } } -impl ::core::cmp::PartialEq for WindowsUpdateAttentionRequiredInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateAttentionRequiredInfo {} -impl ::core::fmt::Debug for WindowsUpdateAttentionRequiredInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateAttentionRequiredInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateAttentionRequiredInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredInfo;{44df2579-74d3-5ffa-b6ce-09e187e1e0ed})"); } -impl ::core::clone::Clone for WindowsUpdateAttentionRequiredInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateAttentionRequiredInfo { type Vtable = IWindowsUpdateAttentionRequiredInfo_Vtbl; } @@ -1424,6 +1209,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateAttentionRequiredInfo {} unsafe impl ::core::marker::Sync for WindowsUpdateAttentionRequiredInfo {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateAttentionRequiredReasonChangedEventArgs(::windows_core::IUnknown); impl WindowsUpdateAttentionRequiredReasonChangedEventArgs { pub fn Update(&self) -> ::windows_core::Result { @@ -1441,25 +1227,9 @@ impl WindowsUpdateAttentionRequiredReasonChangedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowsUpdateAttentionRequiredReasonChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateAttentionRequiredReasonChangedEventArgs {} -impl ::core::fmt::Debug for WindowsUpdateAttentionRequiredReasonChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateAttentionRequiredReasonChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateAttentionRequiredReasonChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateAttentionRequiredReasonChangedEventArgs;{0627abca-dbb8-524a-b1d2-d9df004eeb31})"); } -impl ::core::clone::Clone for WindowsUpdateAttentionRequiredReasonChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateAttentionRequiredReasonChangedEventArgs { type Vtable = IWindowsUpdateAttentionRequiredReasonChangedEventArgs_Vtbl; } @@ -1474,6 +1244,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateAttentionRequiredReasonChanged unsafe impl ::core::marker::Sync for WindowsUpdateAttentionRequiredReasonChangedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateGetAdministratorResult(::windows_core::IUnknown); impl WindowsUpdateGetAdministratorResult { pub fn Administrator(&self) -> ::windows_core::Result { @@ -1491,25 +1262,9 @@ impl WindowsUpdateGetAdministratorResult { } } } -impl ::core::cmp::PartialEq for WindowsUpdateGetAdministratorResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateGetAdministratorResult {} -impl ::core::fmt::Debug for WindowsUpdateGetAdministratorResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateGetAdministratorResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateGetAdministratorResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateGetAdministratorResult;{bb39ffc4-2c42-5b1c-8995-343341c92c50})"); } -impl ::core::clone::Clone for WindowsUpdateGetAdministratorResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateGetAdministratorResult { type Vtable = IWindowsUpdateGetAdministratorResult_Vtbl; } @@ -1524,6 +1279,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateGetAdministratorResult {} unsafe impl ::core::marker::Sync for WindowsUpdateGetAdministratorResult {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateItem(::windows_core::IUnknown); impl WindowsUpdateItem { pub fn ProviderId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1587,25 +1343,9 @@ impl WindowsUpdateItem { } } } -impl ::core::cmp::PartialEq for WindowsUpdateItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateItem {} -impl ::core::fmt::Debug for WindowsUpdateItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateItem;{b222e44a-49b6-59bf-a033-ef617cd73a98})"); } -impl ::core::clone::Clone for WindowsUpdateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateItem { type Vtable = IWindowsUpdateItem_Vtbl; } @@ -1620,6 +1360,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateItem {} unsafe impl ::core::marker::Sync for WindowsUpdateItem {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateManager(::windows_core::IUnknown); impl WindowsUpdateManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1796,25 +1537,9 @@ impl WindowsUpdateManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WindowsUpdateManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateManager {} -impl ::core::fmt::Debug for WindowsUpdateManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateManager;{5dd966c0-a71a-5602-bbd0-09a70e4573fa})"); } -impl ::core::clone::Clone for WindowsUpdateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateManager { type Vtable = IWindowsUpdateManager_Vtbl; } @@ -1829,6 +1554,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateManager {} unsafe impl ::core::marker::Sync for WindowsUpdateManager {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateProgressChangedEventArgs(::windows_core::IUnknown); impl WindowsUpdateProgressChangedEventArgs { pub fn Update(&self) -> ::windows_core::Result { @@ -1846,25 +1572,9 @@ impl WindowsUpdateProgressChangedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowsUpdateProgressChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateProgressChangedEventArgs {} -impl ::core::fmt::Debug for WindowsUpdateProgressChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateProgressChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateProgressChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateProgressChangedEventArgs;{bbfbdeeb-94c8-5aa7-b0fb-66c67c233b0a})"); } -impl ::core::clone::Clone for WindowsUpdateProgressChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateProgressChangedEventArgs { type Vtable = IWindowsUpdateProgressChangedEventArgs_Vtbl; } @@ -1879,6 +1589,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateProgressChangedEventArgs {} unsafe impl ::core::marker::Sync for WindowsUpdateProgressChangedEventArgs {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateRestartRequestOptions(::windows_core::IUnknown); impl WindowsUpdateRestartRequestOptions { pub fn new() -> ::windows_core::Result { @@ -1989,25 +1700,9 @@ impl WindowsUpdateRestartRequestOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WindowsUpdateRestartRequestOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateRestartRequestOptions {} -impl ::core::fmt::Debug for WindowsUpdateRestartRequestOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateRestartRequestOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateRestartRequestOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateRestartRequestOptions;{38cfb7d3-4188-5222-905c-6c4443c951ee})"); } -impl ::core::clone::Clone for WindowsUpdateRestartRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateRestartRequestOptions { type Vtable = IWindowsUpdateRestartRequestOptions_Vtbl; } @@ -2022,6 +1717,7 @@ unsafe impl ::core::marker::Send for WindowsUpdateRestartRequestOptions {} unsafe impl ::core::marker::Sync for WindowsUpdateRestartRequestOptions {} #[doc = "*Required features: `\"Management_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowsUpdateScanCompletedEventArgs(::windows_core::IUnknown); impl WindowsUpdateScanCompletedEventArgs { pub fn ProviderId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2055,25 +1751,9 @@ impl WindowsUpdateScanCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowsUpdateScanCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowsUpdateScanCompletedEventArgs {} -impl ::core::fmt::Debug for WindowsUpdateScanCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowsUpdateScanCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowsUpdateScanCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.Update.WindowsUpdateScanCompletedEventArgs;{95b6953e-ba5c-5fe8-b115-12de184a6bb0})"); } -impl ::core::clone::Clone for WindowsUpdateScanCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowsUpdateScanCompletedEventArgs { type Vtable = IWindowsUpdateScanCompletedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs index 7479a4132e..0bd241ea8c 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMdmAllowPolicyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMdmAllowPolicyStatics { type Vtable = IMdmAllowPolicyStatics_Vtbl; } -impl ::core::clone::Clone for IMdmAllowPolicyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMdmAllowPolicyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc39709e7_741c_41f2_a4b6_314c31502586); } @@ -23,15 +19,11 @@ pub struct IMdmAllowPolicyStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMdmPolicyStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMdmPolicyStatics2 { type Vtable = IMdmPolicyStatics2_Vtbl; } -impl ::core::clone::Clone for IMdmPolicyStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMdmPolicyStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99c7526_03d4_49f9_a993_43efccd265c4); } @@ -43,15 +35,11 @@ pub struct IMdmPolicyStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkplaceSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWorkplaceSettingsStatics { type Vtable = IWorkplaceSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IWorkplaceSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkplaceSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4676ffd_2d92_4c08_bad4_f6590b54a6d3); } diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index afcf5e99d7..df77ef0ccd 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -10,15 +10,11 @@ pub mod Update; pub mod Workplace; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMdmAlert(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMdmAlert { type Vtable = IMdmAlert_Vtbl; } -impl ::core::clone::Clone for IMdmAlert { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMdmAlert { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0fbc327_28c1_4b52_a548_c5807caf70b6); } @@ -42,15 +38,11 @@ pub struct IMdmAlert_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMdmSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMdmSession { type Vtable = IMdmSession_Vtbl; } -impl ::core::clone::Clone for IMdmSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMdmSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe89314c_8f64_4797_a9d7_9d88f86ae166); } @@ -81,15 +73,11 @@ pub struct IMdmSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMdmSessionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMdmSessionManagerStatics { type Vtable = IMdmSessionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IMdmSessionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMdmSessionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf4ad959_f745_4b79_9b5c_de0bf8efe44b); } @@ -107,6 +95,7 @@ pub struct IMdmSessionManagerStatics_Vtbl { } #[doc = "*Required features: `\"Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MdmAlert(::windows_core::IUnknown); impl MdmAlert { pub fn new() -> ::windows_core::Result { @@ -190,25 +179,9 @@ impl MdmAlert { unsafe { (::windows_core::Interface::vtable(this).SetType)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for MdmAlert { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MdmAlert {} -impl ::core::fmt::Debug for MdmAlert { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MdmAlert").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MdmAlert { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.MdmAlert;{b0fbc327-28c1-4b52-a548-c5807caf70b6})"); } -impl ::core::clone::Clone for MdmAlert { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MdmAlert { type Vtable = IMdmAlert_Vtbl; } @@ -221,6 +194,7 @@ impl ::windows_core::RuntimeName for MdmAlert { ::windows_core::imp::interface_hierarchy!(MdmAlert, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MdmSession(::windows_core::IUnknown); impl MdmSession { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -288,25 +262,9 @@ impl MdmSession { } } } -impl ::core::cmp::PartialEq for MdmSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MdmSession {} -impl ::core::fmt::Debug for MdmSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MdmSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MdmSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Management.MdmSession;{fe89314c-8f64-4797-a9d7-9d88f86ae166})"); } -impl ::core::clone::Clone for MdmSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MdmSession { type Vtable = IMdmSession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index c9f5478afc..cea881542a 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastingMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastingMonitor { type Vtable = IAppBroadcastingMonitor_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastingMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastingMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f95a68_8907_48a0_b8ef_24d208137542); } @@ -28,15 +24,11 @@ pub struct IAppBroadcastingMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastingStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastingStatus { type Vtable = IAppBroadcastingStatus_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastingStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastingStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1225e4df_03a1_42f8_8b80_c9228cd9cf2e); } @@ -49,15 +41,11 @@ pub struct IAppBroadcastingStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastingStatusDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastingStatusDetails { type Vtable = IAppBroadcastingStatusDetails_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastingStatusDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastingStatusDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x069dada4_b573_4e3c_8e19_1bafacd09713); } @@ -76,15 +64,11 @@ pub struct IAppBroadcastingStatusDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastingUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastingUI { type Vtable = IAppBroadcastingUI_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastingUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastingUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe56f9f8f_ee99_4dca_a3c3_70af3db44f5f); } @@ -97,15 +81,11 @@ pub struct IAppBroadcastingUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastingUIStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastingUIStatics { type Vtable = IAppBroadcastingUIStatics_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastingUIStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastingUIStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55a8a79d_23cb_4579_9c34_886fe02c045a); } @@ -121,6 +101,7 @@ pub struct IAppBroadcastingUIStatics_Vtbl { } #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastingMonitor(::windows_core::IUnknown); impl AppBroadcastingMonitor { pub fn new() -> ::windows_core::Result { @@ -156,25 +137,9 @@ impl AppBroadcastingMonitor { unsafe { (::windows_core::Interface::vtable(this).RemoveIsCurrentAppBroadcastingChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastingMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastingMonitor {} -impl ::core::fmt::Debug for AppBroadcastingMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastingMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastingMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingMonitor;{00f95a68-8907-48a0-b8ef-24d208137542})"); } -impl ::core::clone::Clone for AppBroadcastingMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastingMonitor { type Vtable = IAppBroadcastingMonitor_Vtbl; } @@ -189,6 +154,7 @@ unsafe impl ::core::marker::Send for AppBroadcastingMonitor {} unsafe impl ::core::marker::Sync for AppBroadcastingMonitor {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastingStatus(::windows_core::IUnknown); impl AppBroadcastingStatus { pub fn CanStartBroadcast(&self) -> ::windows_core::Result { @@ -206,25 +172,9 @@ impl AppBroadcastingStatus { } } } -impl ::core::cmp::PartialEq for AppBroadcastingStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastingStatus {} -impl ::core::fmt::Debug for AppBroadcastingStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastingStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastingStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatus;{1225e4df-03a1-42f8-8b80-c9228cd9cf2e})"); } -impl ::core::clone::Clone for AppBroadcastingStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastingStatus { type Vtable = IAppBroadcastingStatus_Vtbl; } @@ -239,6 +189,7 @@ unsafe impl ::core::marker::Send for AppBroadcastingStatus {} unsafe impl ::core::marker::Sync for AppBroadcastingStatus {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastingStatusDetails(::windows_core::IUnknown); impl AppBroadcastingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> ::windows_core::Result { @@ -298,25 +249,9 @@ impl AppBroadcastingStatusDetails { } } } -impl ::core::cmp::PartialEq for AppBroadcastingStatusDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastingStatusDetails {} -impl ::core::fmt::Debug for AppBroadcastingStatusDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastingStatusDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastingStatusDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingStatusDetails;{069dada4-b573-4e3c-8e19-1bafacd09713})"); } -impl ::core::clone::Clone for AppBroadcastingStatusDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastingStatusDetails { type Vtable = IAppBroadcastingStatusDetails_Vtbl; } @@ -331,6 +266,7 @@ unsafe impl ::core::marker::Send for AppBroadcastingStatusDetails {} unsafe impl ::core::marker::Sync for AppBroadcastingStatusDetails {} #[doc = "*Required features: `\"Media_AppBroadcasting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastingUI(::windows_core::IUnknown); impl AppBroadcastingUI { pub fn GetStatus(&self) -> ::windows_core::Result { @@ -367,25 +303,9 @@ impl AppBroadcastingUI { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppBroadcastingUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastingUI {} -impl ::core::fmt::Debug for AppBroadcastingUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastingUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastingUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppBroadcasting.AppBroadcastingUI;{e56f9f8f-ee99-4dca-a3c3-70af3db44f5f})"); } -impl ::core::clone::Clone for AppBroadcastingUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastingUI { type Vtable = IAppBroadcastingUI_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index c631a85a62..65cc075e73 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingManager { type Vtable = IAppRecordingManager_Vtbl; } -impl ::core::clone::Clone for IAppRecordingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7e26076_a044_48e2_a512_3094d574c7cc); } @@ -36,15 +32,11 @@ pub struct IAppRecordingManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingManagerStatics { type Vtable = IAppRecordingManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppRecordingManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50e709f7_38ce_4bd3_9db2_e72bbe9de11d); } @@ -56,15 +48,11 @@ pub struct IAppRecordingManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingResult { type Vtable = IAppRecordingResult_Vtbl; } -impl ::core::clone::Clone for IAppRecordingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a900864_c66d_46f9_b2d9_5bc2dad070d7); } @@ -82,15 +70,11 @@ pub struct IAppRecordingResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingSaveScreenshotResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingSaveScreenshotResult { type Vtable = IAppRecordingSaveScreenshotResult_Vtbl; } -impl ::core::clone::Clone for IAppRecordingSaveScreenshotResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingSaveScreenshotResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c5b8d0a_0abb_4457_aaee_24f9c12ec778); } @@ -107,15 +91,11 @@ pub struct IAppRecordingSaveScreenshotResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingSavedScreenshotInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingSavedScreenshotInfo { type Vtable = IAppRecordingSavedScreenshotInfo_Vtbl; } -impl ::core::clone::Clone for IAppRecordingSavedScreenshotInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingSavedScreenshotInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b642d0a_189a_4d00_bf25_e1bb1249d594); } @@ -131,15 +111,11 @@ pub struct IAppRecordingSavedScreenshotInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingStatus { type Vtable = IAppRecordingStatus_Vtbl; } -impl ::core::clone::Clone for IAppRecordingStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d0cc82c_bc18_4b8a_a6ef_127efab3b5d9); } @@ -157,15 +133,11 @@ pub struct IAppRecordingStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppRecordingStatusDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppRecordingStatusDetails { type Vtable = IAppRecordingStatusDetails_Vtbl; } -impl ::core::clone::Clone for IAppRecordingStatusDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppRecordingStatusDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb538a9b0_14ed_4412_ac45_6d672c9c9949); } @@ -185,6 +157,7 @@ pub struct IAppRecordingStatusDetails_Vtbl { } #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingManager(::windows_core::IUnknown); impl AppRecordingManager { pub fn GetStatus(&self) -> ::windows_core::Result { @@ -252,25 +225,9 @@ impl AppRecordingManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppRecordingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingManager {} -impl ::core::fmt::Debug for AppRecordingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingManager;{e7e26076-a044-48e2-a512-3094d574c7cc})"); } -impl ::core::clone::Clone for AppRecordingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingManager { type Vtable = IAppRecordingManager_Vtbl; } @@ -285,6 +242,7 @@ unsafe impl ::core::marker::Send for AppRecordingManager {} unsafe impl ::core::marker::Sync for AppRecordingManager {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingResult(::windows_core::IUnknown); impl AppRecordingResult { pub fn Succeeded(&self) -> ::windows_core::Result { @@ -318,25 +276,9 @@ impl AppRecordingResult { } } } -impl ::core::cmp::PartialEq for AppRecordingResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingResult {} -impl ::core::fmt::Debug for AppRecordingResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingResult;{3a900864-c66d-46f9-b2d9-5bc2dad070d7})"); } -impl ::core::clone::Clone for AppRecordingResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingResult { type Vtable = IAppRecordingResult_Vtbl; } @@ -351,6 +293,7 @@ unsafe impl ::core::marker::Send for AppRecordingResult {} unsafe impl ::core::marker::Sync for AppRecordingResult {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingSaveScreenshotResult(::windows_core::IUnknown); impl AppRecordingSaveScreenshotResult { pub fn Succeeded(&self) -> ::windows_core::Result { @@ -377,25 +320,9 @@ impl AppRecordingSaveScreenshotResult { } } } -impl ::core::cmp::PartialEq for AppRecordingSaveScreenshotResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingSaveScreenshotResult {} -impl ::core::fmt::Debug for AppRecordingSaveScreenshotResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingSaveScreenshotResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingSaveScreenshotResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSaveScreenshotResult;{9c5b8d0a-0abb-4457-aaee-24f9c12ec778})"); } -impl ::core::clone::Clone for AppRecordingSaveScreenshotResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingSaveScreenshotResult { type Vtable = IAppRecordingSaveScreenshotResult_Vtbl; } @@ -410,6 +337,7 @@ unsafe impl ::core::marker::Send for AppRecordingSaveScreenshotResult {} unsafe impl ::core::marker::Sync for AppRecordingSaveScreenshotResult {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingSavedScreenshotInfo(::windows_core::IUnknown); impl AppRecordingSavedScreenshotInfo { #[doc = "*Required features: `\"Storage\"`*"] @@ -429,25 +357,9 @@ impl AppRecordingSavedScreenshotInfo { } } } -impl ::core::cmp::PartialEq for AppRecordingSavedScreenshotInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingSavedScreenshotInfo {} -impl ::core::fmt::Debug for AppRecordingSavedScreenshotInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingSavedScreenshotInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingSavedScreenshotInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingSavedScreenshotInfo;{9b642d0a-189a-4d00-bf25-e1bb1249d594})"); } -impl ::core::clone::Clone for AppRecordingSavedScreenshotInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingSavedScreenshotInfo { type Vtable = IAppRecordingSavedScreenshotInfo_Vtbl; } @@ -462,6 +374,7 @@ unsafe impl ::core::marker::Send for AppRecordingSavedScreenshotInfo {} unsafe impl ::core::marker::Sync for AppRecordingSavedScreenshotInfo {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingStatus(::windows_core::IUnknown); impl AppRecordingStatus { pub fn CanRecord(&self) -> ::windows_core::Result { @@ -495,25 +408,9 @@ impl AppRecordingStatus { } } } -impl ::core::cmp::PartialEq for AppRecordingStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingStatus {} -impl ::core::fmt::Debug for AppRecordingStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatus;{1d0cc82c-bc18-4b8a-a6ef-127efab3b5d9})"); } -impl ::core::clone::Clone for AppRecordingStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingStatus { type Vtable = IAppRecordingStatus_Vtbl; } @@ -528,6 +425,7 @@ unsafe impl ::core::marker::Send for AppRecordingStatus {} unsafe impl ::core::marker::Sync for AppRecordingStatus {} #[doc = "*Required features: `\"Media_AppRecording\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppRecordingStatusDetails(::windows_core::IUnknown); impl AppRecordingStatusDetails { pub fn IsAnyAppBroadcasting(&self) -> ::windows_core::Result { @@ -594,25 +492,9 @@ impl AppRecordingStatusDetails { } } } -impl ::core::cmp::PartialEq for AppRecordingStatusDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppRecordingStatusDetails {} -impl ::core::fmt::Debug for AppRecordingStatusDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppRecordingStatusDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppRecordingStatusDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AppRecording.AppRecordingStatusDetails;{b538a9b0-14ed-4412-ac45-6d672c9c9949})"); } -impl ::core::clone::Clone for AppRecordingStatusDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppRecordingStatusDetails { type Vtable = IAppRecordingStatusDetails_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Media/Audio/impl.rs index 842aea52d6..f6227b8b91 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/impl.rs @@ -48,8 +48,8 @@ impl IAudioInputNode_Vtbl { RemoveOutgoingConnection: RemoveOutgoingConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IAudioInputNode2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Emitter: Emitter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IAudioNode_Vtbl { EnableEffectsByDefinition: EnableEffectsByDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -240,7 +240,7 @@ impl IAudioNodeWithListener_Vtbl { Listener: Listener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 5b050d65be..8195ee125c 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceInputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceInputNode { type Vtable = IAudioDeviceInputNode_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceInputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb01b6be1_6f4e_49e2_ac01_559d62beb3a9); } @@ -23,15 +19,11 @@ pub struct IAudioDeviceInputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceOutputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceOutputNode { type Vtable = IAudioDeviceOutputNode_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceOutputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x362edbff_ff1c_4434_9e0f_bd2ef522ac82); } @@ -46,15 +38,11 @@ pub struct IAudioDeviceOutputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFileInputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFileInputNode { type Vtable = IAudioFileInputNode_Vtbl; } -impl ::core::clone::Clone for IAudioFileInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFileInputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905b67c8_6f65_4cd4_8890_4694843c276d); } @@ -115,15 +103,11 @@ pub struct IAudioFileInputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFileOutputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFileOutputNode { type Vtable = IAudioFileOutputNode_Vtbl; } -impl ::core::clone::Clone for IAudioFileOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFileOutputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50e01980_5166_4093_80f8_ada00089e9cf); } @@ -146,15 +130,11 @@ pub struct IAudioFileOutputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFrameCompletedEventArgs { type Vtable = IAudioFrameCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAudioFrameCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc7c829e_0208_4504_a5a8_f0f268920a65); } @@ -166,15 +146,11 @@ pub struct IAudioFrameCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameInputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFrameInputNode { type Vtable = IAudioFrameInputNode_Vtbl; } -impl ::core::clone::Clone for IAudioFrameInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameInputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01b266c7_fd96_4ff5_a3c5_d27a9bf44237); } @@ -206,15 +182,11 @@ pub struct IAudioFrameInputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameOutputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFrameOutputNode { type Vtable = IAudioFrameOutputNode_Vtbl; } -impl ::core::clone::Clone for IAudioFrameOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameOutputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb847371b_3299_45f5_88b3_c9d12a3f1cc8); } @@ -226,15 +198,11 @@ pub struct IAudioFrameOutputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraph(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraph { type Vtable = IAudioGraph_Vtbl; } -impl ::core::clone::Clone for IAudioGraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraph { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ad46eed_e48c_4e14_9660_2c4f83e9cdd8); } @@ -327,15 +295,11 @@ pub struct IAudioGraph_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraph2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraph2 { type Vtable = IAudioGraph2_Vtbl; } -impl ::core::clone::Clone for IAudioGraph2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraph2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e4c3bd5_4fc1_45f6_a947_3cd38f4fd839); } @@ -366,15 +330,11 @@ pub struct IAudioGraph2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraph3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraph3 { type Vtable = IAudioGraph3_Vtbl; } -impl ::core::clone::Clone for IAudioGraph3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraph3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddcd25ae_1185_42a7_831d_6a9b0fc86820); } @@ -393,15 +353,11 @@ pub struct IAudioGraph3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphConnection { type Vtable = IAudioGraphConnection_Vtbl; } -impl ::core::clone::Clone for IAudioGraphConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x763070ed_d04e_4fac_b233_600b42edd469); } @@ -415,15 +371,11 @@ pub struct IAudioGraphConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphSettings { type Vtable = IAudioGraphSettings_Vtbl; } -impl ::core::clone::Clone for IAudioGraphSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d59647f_e6fe_4628_84f8_9d8bdba25785); } @@ -464,15 +416,11 @@ pub struct IAudioGraphSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphSettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphSettings2 { type Vtable = IAudioGraphSettings2_Vtbl; } -impl ::core::clone::Clone for IAudioGraphSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72919787_4dab_46e3_b4c9_d8e1a2636062); } @@ -485,15 +433,11 @@ pub struct IAudioGraphSettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphSettingsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphSettingsFactory { type Vtable = IAudioGraphSettingsFactory_Vtbl; } -impl ::core::clone::Clone for IAudioGraphSettingsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphSettingsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5d91cc6_c2eb_4a61_a214_1d66d75f83da); } @@ -508,15 +452,11 @@ pub struct IAudioGraphSettingsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphStatics { type Vtable = IAudioGraphStatics_Vtbl; } -impl ::core::clone::Clone for IAudioGraphStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76ec3132_e159_4ab7_a82a_17beb4b31e94); } @@ -531,15 +471,11 @@ pub struct IAudioGraphStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioGraphUnrecoverableErrorOccurredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioGraphUnrecoverableErrorOccurredEventArgs { type Vtable = IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl; } -impl ::core::clone::Clone for IAudioGraphUnrecoverableErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioGraphUnrecoverableErrorOccurredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3d9cbe0_3ff6_4fb3_b262_50d435c55423); } @@ -551,6 +487,7 @@ pub struct IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioInputNode(::windows_core::IUnknown); impl IAudioInputNode { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -664,28 +601,12 @@ impl IAudioInputNode { impl ::windows_core::CanTryInto for IAudioInputNode {} #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IAudioInputNode {} -impl ::core::cmp::PartialEq for IAudioInputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioInputNode {} -impl ::core::fmt::Debug for IAudioInputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioInputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAudioInputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d148005c-8428-4784-b7fd-a99d468c5d20}"); } unsafe impl ::windows_core::Interface for IAudioInputNode { type Vtable = IAudioInputNode_Vtbl; } -impl ::core::clone::Clone for IAudioInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioInputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd148005c_8428_4784_b7fd_a99d468c5d20); } @@ -703,6 +624,7 @@ pub struct IAudioInputNode_Vtbl { } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioInputNode2(::windows_core::IUnknown); impl IAudioInputNode2 { pub fn Emitter(&self) -> ::windows_core::Result { @@ -824,28 +746,12 @@ impl ::windows_core::CanTryInto for IAudioInputNode2 {} impl ::windows_core::CanTryInto for IAudioInputNode2 {} #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IAudioInputNode2 {} -impl ::core::cmp::PartialEq for IAudioInputNode2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioInputNode2 {} -impl ::core::fmt::Debug for IAudioInputNode2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioInputNode2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAudioInputNode2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{905156b7-ca68-4c6d-a8bc-e3ee17fe3fd2}"); } unsafe impl ::windows_core::Interface for IAudioInputNode2 { type Vtable = IAudioInputNode2_Vtbl; } -impl ::core::clone::Clone for IAudioInputNode2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioInputNode2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905156b7_ca68_4c6d_a8bc_e3ee17fe3fd2); } @@ -857,6 +763,7 @@ pub struct IAudioInputNode2_Vtbl { } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNode(::windows_core::IUnknown); impl IAudioNode { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Media_Effects\"`*"] @@ -939,28 +846,12 @@ impl IAudioNode { ::windows_core::imp::interface_hierarchy!(IAudioNode, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IAudioNode {} -impl ::core::cmp::PartialEq for IAudioNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioNode {} -impl ::core::fmt::Debug for IAudioNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAudioNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{15389d7f-dbd8-4819-bf03-668e9357cd6d}"); } unsafe impl ::windows_core::Interface for IAudioNode { type Vtable = IAudioNode_Vtbl; } -impl ::core::clone::Clone for IAudioNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15389d7f_dbd8_4819_bf03_668e9357cd6d); } @@ -994,15 +885,11 @@ pub struct IAudioNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitter { type Vtable = IAudioNodeEmitter_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3676971d_880a_47b8_adf7_1323a9d965be); } @@ -1046,15 +933,11 @@ pub struct IAudioNodeEmitter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitter2 { type Vtable = IAudioNodeEmitter2_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ab6eecb_ec29_47f8_818c_b6b660a5aeb1); } @@ -1067,15 +950,11 @@ pub struct IAudioNodeEmitter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterConeProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterConeProperties { type Vtable = IAudioNodeEmitterConeProperties_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterConeProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterConeProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe99b2cee_02ca_4375_9326_0c6ae4bcdfb5); } @@ -1089,15 +968,11 @@ pub struct IAudioNodeEmitterConeProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterDecayModel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterDecayModel { type Vtable = IAudioNodeEmitterDecayModel_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterDecayModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterDecayModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d1d5af7_0d53_4fa9_bd84_d5816a86f3ff); } @@ -1112,15 +987,11 @@ pub struct IAudioNodeEmitterDecayModel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterDecayModelStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterDecayModelStatics { type Vtable = IAudioNodeEmitterDecayModelStatics_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterDecayModelStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterDecayModelStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7787ca8_f178_462f_bc81_8dd5cbe5dae8); } @@ -1133,15 +1004,11 @@ pub struct IAudioNodeEmitterDecayModelStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterFactory { type Vtable = IAudioNodeEmitterFactory_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdc8489a_6ad6_4ce4_b7f7_a99370df7ee9); } @@ -1153,15 +1020,11 @@ pub struct IAudioNodeEmitterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterNaturalDecayModelProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterNaturalDecayModelProperties { type Vtable = IAudioNodeEmitterNaturalDecayModelProperties_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterNaturalDecayModelProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterNaturalDecayModelProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48934bcf_cf2c_4efc_9331_75bd22df1f0c); } @@ -1174,15 +1037,11 @@ pub struct IAudioNodeEmitterNaturalDecayModelProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterShape(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterShape { type Vtable = IAudioNodeEmitterShape_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterShape { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea0311c5_e73d_44bc_859c_45553bbc4828); } @@ -1195,15 +1054,11 @@ pub struct IAudioNodeEmitterShape_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeEmitterShapeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeEmitterShapeStatics { type Vtable = IAudioNodeEmitterShapeStatics_Vtbl; } -impl ::core::clone::Clone for IAudioNodeEmitterShapeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeEmitterShapeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57bb2771_ffa5_4b86_a779_e264aeb9145f); } @@ -1216,15 +1071,11 @@ pub struct IAudioNodeEmitterShapeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioNodeListener { type Vtable = IAudioNodeListener_Vtbl; } -impl ::core::clone::Clone for IAudioNodeListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9722e16_0c0a_41da_b755_6c77835fb1eb); } @@ -1261,6 +1112,7 @@ pub struct IAudioNodeListener_Vtbl { } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioNodeWithListener(::windows_core::IUnknown); impl IAudioNodeWithListener { pub fn SetListener(&self, value: P0) -> ::windows_core::Result<()> @@ -1358,28 +1210,12 @@ impl IAudioNodeWithListener { impl ::windows_core::CanTryInto for IAudioNodeWithListener {} #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IAudioNodeWithListener {} -impl ::core::cmp::PartialEq for IAudioNodeWithListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioNodeWithListener {} -impl ::core::fmt::Debug for IAudioNodeWithListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioNodeWithListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAudioNodeWithListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0e0f907c-79ff-4544-9eeb-01257b15105a}"); } unsafe impl ::windows_core::Interface for IAudioNodeWithListener { type Vtable = IAudioNodeWithListener_Vtbl; } -impl ::core::clone::Clone for IAudioNodeWithListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioNodeWithListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e0f907c_79ff_4544_9eeb_01257b15105a); } @@ -1392,15 +1228,11 @@ pub struct IAudioNodeWithListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioPlaybackConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioPlaybackConnection { type Vtable = IAudioPlaybackConnection_Vtbl; } -impl ::core::clone::Clone for IAudioPlaybackConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioPlaybackConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a4c1dea_cafc_50e7_8718_ea3f81cbfa51); } @@ -1431,15 +1263,11 @@ pub struct IAudioPlaybackConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioPlaybackConnectionOpenResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioPlaybackConnectionOpenResult { type Vtable = IAudioPlaybackConnectionOpenResult_Vtbl; } -impl ::core::clone::Clone for IAudioPlaybackConnectionOpenResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioPlaybackConnectionOpenResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e656aef_39f9_5fc9_a519_a5bbfd9fe921); } @@ -1452,15 +1280,11 @@ pub struct IAudioPlaybackConnectionOpenResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioPlaybackConnectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioPlaybackConnectionStatics { type Vtable = IAudioPlaybackConnectionStatics_Vtbl; } -impl ::core::clone::Clone for IAudioPlaybackConnectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioPlaybackConnectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe60963a2_69e6_5ffc_9e13_824a85213daf); } @@ -1473,15 +1297,11 @@ pub struct IAudioPlaybackConnectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStateMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStateMonitor { type Vtable = IAudioStateMonitor_Vtbl; } -impl ::core::clone::Clone for IAudioStateMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStateMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d13d136_0199_4cdc_b84e_e72c2b581ece); } @@ -1501,15 +1321,11 @@ pub struct IAudioStateMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStateMonitorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStateMonitorStatics { type Vtable = IAudioStateMonitorStatics_Vtbl; } -impl ::core::clone::Clone for IAudioStateMonitorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStateMonitorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6374ea4c_1b3b_4001_94d9_dd225330fa40); } @@ -1546,15 +1362,11 @@ pub struct IAudioStateMonitorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioDeviceInputNodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioDeviceInputNodeResult { type Vtable = ICreateAudioDeviceInputNodeResult_Vtbl; } -impl ::core::clone::Clone for ICreateAudioDeviceInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioDeviceInputNodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16eec7a8_1ca7_40ef_91a4_d346e0aa1bba); } @@ -1567,15 +1379,11 @@ pub struct ICreateAudioDeviceInputNodeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioDeviceInputNodeResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioDeviceInputNodeResult2 { type Vtable = ICreateAudioDeviceInputNodeResult2_Vtbl; } -impl ::core::clone::Clone for ICreateAudioDeviceInputNodeResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioDeviceInputNodeResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x921c69ce_3f35_41c7_9622_79f608baedc2); } @@ -1587,15 +1395,11 @@ pub struct ICreateAudioDeviceInputNodeResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioDeviceOutputNodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioDeviceOutputNodeResult { type Vtable = ICreateAudioDeviceOutputNodeResult_Vtbl; } -impl ::core::clone::Clone for ICreateAudioDeviceOutputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioDeviceOutputNodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7776d27_1d9a_47f7_9cd4_2859cc1b7bff); } @@ -1608,15 +1412,11 @@ pub struct ICreateAudioDeviceOutputNodeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioDeviceOutputNodeResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioDeviceOutputNodeResult2 { type Vtable = ICreateAudioDeviceOutputNodeResult2_Vtbl; } -impl ::core::clone::Clone for ICreateAudioDeviceOutputNodeResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioDeviceOutputNodeResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4864269f_bdce_4ab1_bd38_fbae93aedaca); } @@ -1628,15 +1428,11 @@ pub struct ICreateAudioDeviceOutputNodeResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioFileInputNodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioFileInputNodeResult { type Vtable = ICreateAudioFileInputNodeResult_Vtbl; } -impl ::core::clone::Clone for ICreateAudioFileInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioFileInputNodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce83d61c_e297_4c50_9ce7_1c7a69d6bd09); } @@ -1649,15 +1445,11 @@ pub struct ICreateAudioFileInputNodeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioFileInputNodeResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioFileInputNodeResult2 { type Vtable = ICreateAudioFileInputNodeResult2_Vtbl; } -impl ::core::clone::Clone for ICreateAudioFileInputNodeResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioFileInputNodeResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9082020_3d80_4fe0_81c1_768fea7ca7e0); } @@ -1669,15 +1461,11 @@ pub struct ICreateAudioFileInputNodeResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioFileOutputNodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioFileOutputNodeResult { type Vtable = ICreateAudioFileOutputNodeResult_Vtbl; } -impl ::core::clone::Clone for ICreateAudioFileOutputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioFileOutputNodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47d6ba7b_e909_453f_866e_5540cda734ff); } @@ -1690,15 +1478,11 @@ pub struct ICreateAudioFileOutputNodeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioFileOutputNodeResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioFileOutputNodeResult2 { type Vtable = ICreateAudioFileOutputNodeResult2_Vtbl; } -impl ::core::clone::Clone for ICreateAudioFileOutputNodeResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioFileOutputNodeResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f01b50d_3318_47b3_a60a_1b492be7fc0d); } @@ -1710,15 +1494,11 @@ pub struct ICreateAudioFileOutputNodeResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioGraphResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioGraphResult { type Vtable = ICreateAudioGraphResult_Vtbl; } -impl ::core::clone::Clone for ICreateAudioGraphResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioGraphResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5453ef7e_7bde_4b76_bb5d_48f79cfc8c0b); } @@ -1731,15 +1511,11 @@ pub struct ICreateAudioGraphResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateAudioGraphResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateAudioGraphResult2 { type Vtable = ICreateAudioGraphResult2_Vtbl; } -impl ::core::clone::Clone for ICreateAudioGraphResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateAudioGraphResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d738dfc_88c6_4fcb_a534_85cedd4050a1); } @@ -1751,15 +1527,11 @@ pub struct ICreateAudioGraphResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateMediaSourceAudioInputNodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateMediaSourceAudioInputNodeResult { type Vtable = ICreateMediaSourceAudioInputNodeResult_Vtbl; } -impl ::core::clone::Clone for ICreateMediaSourceAudioInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateMediaSourceAudioInputNodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46a658a3_53c0_4d59_9e51_cc1d1044a4c4); } @@ -1772,15 +1544,11 @@ pub struct ICreateMediaSourceAudioInputNodeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateMediaSourceAudioInputNodeResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICreateMediaSourceAudioInputNodeResult2 { type Vtable = ICreateMediaSourceAudioInputNodeResult2_Vtbl; } -impl ::core::clone::Clone for ICreateMediaSourceAudioInputNodeResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateMediaSourceAudioInputNodeResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63514ce8_6a1a_49e3_97ec_28fd5be114e5); } @@ -1792,15 +1560,11 @@ pub struct ICreateMediaSourceAudioInputNodeResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEchoEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEchoEffectDefinition { type Vtable = IEchoEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IEchoEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEchoEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e4d3faa_36b8_4c91_b9da_11f44a8a6610); } @@ -1817,15 +1581,11 @@ pub struct IEchoEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEchoEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEchoEffectDefinitionFactory { type Vtable = IEchoEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IEchoEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEchoEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d4e2257_aaf2_4e86_a54c_fb79db8f6c12); } @@ -1837,15 +1597,11 @@ pub struct IEchoEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEqualizerBand(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEqualizerBand { type Vtable = IEqualizerBand_Vtbl; } -impl ::core::clone::Clone for IEqualizerBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEqualizerBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc00a5a6a_262d_4b85_9bb7_43280b62ed0c); } @@ -1862,15 +1618,11 @@ pub struct IEqualizerBand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEqualizerEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEqualizerEffectDefinition { type Vtable = IEqualizerEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IEqualizerEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEqualizerEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x023f6f1f_83fe_449a_a822_c696442d16b0); } @@ -1885,15 +1637,11 @@ pub struct IEqualizerEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEqualizerEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEqualizerEffectDefinitionFactory { type Vtable = IEqualizerEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IEqualizerEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEqualizerEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2876fc4_d410_4eb5_9e69_c9aa1277eaf0); } @@ -1905,15 +1653,11 @@ pub struct IEqualizerEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameInputNodeQuantumStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameInputNodeQuantumStartedEventArgs { type Vtable = IFrameInputNodeQuantumStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFrameInputNodeQuantumStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameInputNodeQuantumStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d9bd498_a306_4f06_bd9f_e9efc8226304); } @@ -1925,15 +1669,11 @@ pub struct IFrameInputNodeQuantumStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILimiterEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILimiterEffectDefinition { type Vtable = ILimiterEffectDefinition_Vtbl; } -impl ::core::clone::Clone for ILimiterEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILimiterEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b755d19_2603_47ba_bdeb_39055e3486dc); } @@ -1948,15 +1688,11 @@ pub struct ILimiterEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILimiterEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILimiterEffectDefinitionFactory { type Vtable = ILimiterEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for ILimiterEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILimiterEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecbae6f1_61ff_45ef_b8f5_48659a57c72d); } @@ -1968,15 +1704,11 @@ pub struct ILimiterEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceAudioInputNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceAudioInputNode { type Vtable = IMediaSourceAudioInputNode_Vtbl; } -impl ::core::clone::Clone for IMediaSourceAudioInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceAudioInputNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99d8983b_a88a_4041_8e4f_ddbac0c91fd3); } @@ -2037,15 +1769,11 @@ pub struct IMediaSourceAudioInputNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReverbEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReverbEffectDefinition { type Vtable = IReverbEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IReverbEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReverbEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4606aa89_f563_4d0a_8f6e_f0cddff35d84); } @@ -2102,15 +1830,11 @@ pub struct IReverbEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReverbEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReverbEffectDefinitionFactory { type Vtable = IReverbEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IReverbEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReverbEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7d5cbfe_100b_4ff0_9da6_dc4e05a759f0); } @@ -2122,15 +1846,11 @@ pub struct IReverbEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISetDefaultSpatialAudioFormatResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISetDefaultSpatialAudioFormatResult { type Vtable = ISetDefaultSpatialAudioFormatResult_Vtbl; } -impl ::core::clone::Clone for ISetDefaultSpatialAudioFormatResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISetDefaultSpatialAudioFormatResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c2aa511_1400_5e70_9ea9_ae151241e8ea); } @@ -2142,15 +1862,11 @@ pub struct ISetDefaultSpatialAudioFormatResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioDeviceConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioDeviceConfiguration { type Vtable = ISpatialAudioDeviceConfiguration_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioDeviceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioDeviceConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee830034_61cf_5749_9da4_10f0fe028199); } @@ -2178,15 +1894,11 @@ pub struct ISpatialAudioDeviceConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioDeviceConfigurationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioDeviceConfigurationStatics { type Vtable = ISpatialAudioDeviceConfigurationStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioDeviceConfigurationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioDeviceConfigurationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ec37f7b_936d_4e04_9728_2827d9f758c4); } @@ -2198,15 +1910,11 @@ pub struct ISpatialAudioDeviceConfigurationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioFormatConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioFormatConfiguration { type Vtable = ISpatialAudioFormatConfiguration_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioFormatConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioFormatConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32df09a8_50f0_5395_9923_7d44ca71ed6d); } @@ -2227,15 +1935,11 @@ pub struct ISpatialAudioFormatConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioFormatConfigurationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioFormatConfigurationStatics { type Vtable = ISpatialAudioFormatConfigurationStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioFormatConfigurationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioFormatConfigurationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b5fef71_67c9_4e5f_a35b_41680711f8c7); } @@ -2247,15 +1951,11 @@ pub struct ISpatialAudioFormatConfigurationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioFormatSubtypeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioFormatSubtypeStatics { type Vtable = ISpatialAudioFormatSubtypeStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioFormatSubtypeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioFormatSubtypeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3de8a47_83ee_4266_a945_bedf507afeed); } @@ -2272,15 +1972,11 @@ pub struct ISpatialAudioFormatSubtypeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioFormatSubtypeStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAudioFormatSubtypeStatics2 { type Vtable = ISpatialAudioFormatSubtypeStatics2_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioFormatSubtypeStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioFormatSubtypeStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4565e6cb_d95b_5621_b6af_0e8849c57c80); } @@ -2292,6 +1988,7 @@ pub struct ISpatialAudioFormatSubtypeStatics2_Vtbl { } #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceInputNode(::windows_core::IUnknown); impl AudioDeviceInputNode { #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2417,25 +2114,9 @@ impl AudioDeviceInputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioDeviceInputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceInputNode {} -impl ::core::fmt::Debug for AudioDeviceInputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceInputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceInputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceInputNode;{b01b6be1-6f4e-49e2-ac01-559d62beb3a9})"); } -impl ::core::clone::Clone for AudioDeviceInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceInputNode { type Vtable = IAudioDeviceInputNode_Vtbl; } @@ -2455,6 +2136,7 @@ unsafe impl ::core::marker::Send for AudioDeviceInputNode {} unsafe impl ::core::marker::Sync for AudioDeviceInputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceOutputNode(::windows_core::IUnknown); impl AudioDeviceOutputNode { #[doc = "*Required features: `\"Devices_Enumeration\"`*"] @@ -2557,25 +2239,9 @@ impl AudioDeviceOutputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioDeviceOutputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceOutputNode {} -impl ::core::fmt::Debug for AudioDeviceOutputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceOutputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceOutputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioDeviceOutputNode;{362edbff-ff1c-4434-9e0f-bd2ef522ac82})"); } -impl ::core::clone::Clone for AudioDeviceOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceOutputNode { type Vtable = IAudioDeviceOutputNode_Vtbl; } @@ -2594,6 +2260,7 @@ unsafe impl ::core::marker::Send for AudioDeviceOutputNode {} unsafe impl ::core::marker::Sync for AudioDeviceOutputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFileInputNode(::windows_core::IUnknown); impl AudioFileInputNode { pub fn SetPlaybackSpeedFactor(&self, value: f64) -> ::windows_core::Result<()> { @@ -2826,25 +2493,9 @@ impl AudioFileInputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioFileInputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFileInputNode {} -impl ::core::fmt::Debug for AudioFileInputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFileInputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFileInputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileInputNode;{905b67c8-6f65-4cd4-8890-4694843c276d})"); } -impl ::core::clone::Clone for AudioFileInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFileInputNode { type Vtable = IAudioFileInputNode_Vtbl; } @@ -2864,6 +2515,7 @@ unsafe impl ::core::marker::Send for AudioFileInputNode {} unsafe impl ::core::marker::Sync for AudioFileInputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFileOutputNode(::windows_core::IUnknown); impl AudioFileOutputNode { #[doc = "*Required features: `\"Storage\"`*"] @@ -2970,25 +2622,9 @@ impl AudioFileOutputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioFileOutputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFileOutputNode {} -impl ::core::fmt::Debug for AudioFileOutputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFileOutputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFileOutputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFileOutputNode;{50e01980-5166-4093-80f8-ada00089e9cf})"); } -impl ::core::clone::Clone for AudioFileOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFileOutputNode { type Vtable = IAudioFileOutputNode_Vtbl; } @@ -3006,6 +2642,7 @@ unsafe impl ::core::marker::Send for AudioFileOutputNode {} unsafe impl ::core::marker::Sync for AudioFileOutputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFrameCompletedEventArgs(::windows_core::IUnknown); impl AudioFrameCompletedEventArgs { pub fn Frame(&self) -> ::windows_core::Result { @@ -3016,25 +2653,9 @@ impl AudioFrameCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for AudioFrameCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFrameCompletedEventArgs {} -impl ::core::fmt::Debug for AudioFrameCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFrameCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFrameCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameCompletedEventArgs;{dc7c829e-0208-4504-a5a8-f0f268920a65})"); } -impl ::core::clone::Clone for AudioFrameCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFrameCompletedEventArgs { type Vtable = IAudioFrameCompletedEventArgs_Vtbl; } @@ -3049,6 +2670,7 @@ unsafe impl ::core::marker::Send for AudioFrameCompletedEventArgs {} unsafe impl ::core::marker::Sync for AudioFrameCompletedEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFrameInputNode(::windows_core::IUnknown); impl AudioFrameInputNode { pub fn SetPlaybackSpeedFactor(&self, value: f64) -> ::windows_core::Result<()> { @@ -3230,25 +2852,9 @@ impl AudioFrameInputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioFrameInputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFrameInputNode {} -impl ::core::fmt::Debug for AudioFrameInputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFrameInputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFrameInputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameInputNode;{01b266c7-fd96-4ff5-a3c5-d27a9bf44237})"); } -impl ::core::clone::Clone for AudioFrameInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFrameInputNode { type Vtable = IAudioFrameInputNode_Vtbl; } @@ -3268,6 +2874,7 @@ unsafe impl ::core::marker::Send for AudioFrameInputNode {} unsafe impl ::core::marker::Sync for AudioFrameInputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFrameOutputNode(::windows_core::IUnknown); impl AudioFrameOutputNode { pub fn GetFrame(&self) -> ::windows_core::Result { @@ -3354,25 +2961,9 @@ impl AudioFrameOutputNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioFrameOutputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFrameOutputNode {} -impl ::core::fmt::Debug for AudioFrameOutputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFrameOutputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFrameOutputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioFrameOutputNode;{b847371b-3299-45f5-88b3-c9d12a3f1cc8})"); } -impl ::core::clone::Clone for AudioFrameOutputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFrameOutputNode { type Vtable = IAudioFrameOutputNode_Vtbl; } @@ -3390,6 +2981,7 @@ unsafe impl ::core::marker::Send for AudioFrameOutputNode {} unsafe impl ::core::marker::Sync for AudioFrameOutputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioGraph(::windows_core::IUnknown); impl AudioGraph { pub fn CreateFrameInputNode(&self) -> ::windows_core::Result { @@ -3751,25 +3343,9 @@ impl AudioGraph { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioGraph { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioGraph {} -impl ::core::fmt::Debug for AudioGraph { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioGraph").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioGraph { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraph;{1ad46eed-e48c-4e14-9660-2c4f83e9cdd8})"); } -impl ::core::clone::Clone for AudioGraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioGraph { type Vtable = IAudioGraph_Vtbl; } @@ -3787,6 +3363,7 @@ unsafe impl ::core::marker::Sync for AudioGraph {} #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioGraphBatchUpdater(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl AudioGraphBatchUpdater { @@ -3798,30 +3375,10 @@ impl AudioGraphBatchUpdater { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for AudioGraphBatchUpdater { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for AudioGraphBatchUpdater {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for AudioGraphBatchUpdater { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioGraphBatchUpdater").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for AudioGraphBatchUpdater { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphBatchUpdater;{30d5a829-7fa4-4026-83bb-d75bae4ea99e})"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for AudioGraphBatchUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for AudioGraphBatchUpdater { type Vtable = super::super::Foundation::IClosable_Vtbl; } @@ -3843,6 +3400,7 @@ unsafe impl ::core::marker::Send for AudioGraphBatchUpdater {} unsafe impl ::core::marker::Sync for AudioGraphBatchUpdater {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioGraphConnection(::windows_core::IUnknown); impl AudioGraphConnection { pub fn Destination(&self) -> ::windows_core::Result { @@ -3864,25 +3422,9 @@ impl AudioGraphConnection { } } } -impl ::core::cmp::PartialEq for AudioGraphConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioGraphConnection {} -impl ::core::fmt::Debug for AudioGraphConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioGraphConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioGraphConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphConnection;{763070ed-d04e-4fac-b233-600b42edd469})"); } -impl ::core::clone::Clone for AudioGraphConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioGraphConnection { type Vtable = IAudioGraphConnection_Vtbl; } @@ -3897,6 +3439,7 @@ unsafe impl ::core::marker::Send for AudioGraphConnection {} unsafe impl ::core::marker::Sync for AudioGraphConnection {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioGraphSettings(::windows_core::IUnknown); impl AudioGraphSettings { #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -4008,25 +3551,9 @@ impl AudioGraphSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioGraphSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioGraphSettings {} -impl ::core::fmt::Debug for AudioGraphSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioGraphSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioGraphSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphSettings;{1d59647f-e6fe-4628-84f8-9d8bdba25785})"); } -impl ::core::clone::Clone for AudioGraphSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioGraphSettings { type Vtable = IAudioGraphSettings_Vtbl; } @@ -4041,6 +3568,7 @@ unsafe impl ::core::marker::Send for AudioGraphSettings {} unsafe impl ::core::marker::Sync for AudioGraphSettings {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioGraphUnrecoverableErrorOccurredEventArgs(::windows_core::IUnknown); impl AudioGraphUnrecoverableErrorOccurredEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -4051,25 +3579,9 @@ impl AudioGraphUnrecoverableErrorOccurredEventArgs { } } } -impl ::core::cmp::PartialEq for AudioGraphUnrecoverableErrorOccurredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioGraphUnrecoverableErrorOccurredEventArgs {} -impl ::core::fmt::Debug for AudioGraphUnrecoverableErrorOccurredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioGraphUnrecoverableErrorOccurredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioGraphUnrecoverableErrorOccurredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioGraphUnrecoverableErrorOccurredEventArgs;{c3d9cbe0-3ff6-4fb3-b262-50d435c55423})"); } -impl ::core::clone::Clone for AudioGraphUnrecoverableErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioGraphUnrecoverableErrorOccurredEventArgs { type Vtable = IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl; } @@ -4084,6 +3596,7 @@ unsafe impl ::core::marker::Send for AudioGraphUnrecoverableErrorOccurredEventAr unsafe impl ::core::marker::Sync for AudioGraphUnrecoverableErrorOccurredEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeEmitter(::windows_core::IUnknown); impl AudioNodeEmitter { pub fn new() -> ::windows_core::Result { @@ -4219,25 +3732,9 @@ impl AudioNodeEmitter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioNodeEmitter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeEmitter {} -impl ::core::fmt::Debug for AudioNodeEmitter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeEmitter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeEmitter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitter;{3676971d-880a-47b8-adf7-1323a9d965be})"); } -impl ::core::clone::Clone for AudioNodeEmitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeEmitter { type Vtable = IAudioNodeEmitter_Vtbl; } @@ -4252,6 +3749,7 @@ unsafe impl ::core::marker::Send for AudioNodeEmitter {} unsafe impl ::core::marker::Sync for AudioNodeEmitter {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeEmitterConeProperties(::windows_core::IUnknown); impl AudioNodeEmitterConeProperties { pub fn InnerAngle(&self) -> ::windows_core::Result { @@ -4276,25 +3774,9 @@ impl AudioNodeEmitterConeProperties { } } } -impl ::core::cmp::PartialEq for AudioNodeEmitterConeProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeEmitterConeProperties {} -impl ::core::fmt::Debug for AudioNodeEmitterConeProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeEmitterConeProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeEmitterConeProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterConeProperties;{e99b2cee-02ca-4375-9326-0c6ae4bcdfb5})"); } -impl ::core::clone::Clone for AudioNodeEmitterConeProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeEmitterConeProperties { type Vtable = IAudioNodeEmitterConeProperties_Vtbl; } @@ -4309,6 +3791,7 @@ unsafe impl ::core::marker::Send for AudioNodeEmitterConeProperties {} unsafe impl ::core::marker::Sync for AudioNodeEmitterConeProperties {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeEmitterDecayModel(::windows_core::IUnknown); impl AudioNodeEmitterDecayModel { pub fn Kind(&self) -> ::windows_core::Result { @@ -4357,25 +3840,9 @@ impl AudioNodeEmitterDecayModel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioNodeEmitterDecayModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeEmitterDecayModel {} -impl ::core::fmt::Debug for AudioNodeEmitterDecayModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeEmitterDecayModel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeEmitterDecayModel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterDecayModel;{1d1d5af7-0d53-4fa9-bd84-d5816a86f3ff})"); } -impl ::core::clone::Clone for AudioNodeEmitterDecayModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeEmitterDecayModel { type Vtable = IAudioNodeEmitterDecayModel_Vtbl; } @@ -4390,6 +3857,7 @@ unsafe impl ::core::marker::Send for AudioNodeEmitterDecayModel {} unsafe impl ::core::marker::Sync for AudioNodeEmitterDecayModel {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeEmitterNaturalDecayModelProperties(::windows_core::IUnknown); impl AudioNodeEmitterNaturalDecayModelProperties { pub fn UnityGainDistance(&self) -> ::windows_core::Result { @@ -4407,25 +3875,9 @@ impl AudioNodeEmitterNaturalDecayModelProperties { } } } -impl ::core::cmp::PartialEq for AudioNodeEmitterNaturalDecayModelProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeEmitterNaturalDecayModelProperties {} -impl ::core::fmt::Debug for AudioNodeEmitterNaturalDecayModelProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeEmitterNaturalDecayModelProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeEmitterNaturalDecayModelProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterNaturalDecayModelProperties;{48934bcf-cf2c-4efc-9331-75bd22df1f0c})"); } -impl ::core::clone::Clone for AudioNodeEmitterNaturalDecayModelProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeEmitterNaturalDecayModelProperties { type Vtable = IAudioNodeEmitterNaturalDecayModelProperties_Vtbl; } @@ -4440,6 +3892,7 @@ unsafe impl ::core::marker::Send for AudioNodeEmitterNaturalDecayModelProperties unsafe impl ::core::marker::Sync for AudioNodeEmitterNaturalDecayModelProperties {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeEmitterShape(::windows_core::IUnknown); impl AudioNodeEmitterShape { pub fn Kind(&self) -> ::windows_core::Result { @@ -4474,25 +3927,9 @@ impl AudioNodeEmitterShape { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioNodeEmitterShape { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeEmitterShape {} -impl ::core::fmt::Debug for AudioNodeEmitterShape { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeEmitterShape").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeEmitterShape { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeEmitterShape;{ea0311c5-e73d-44bc-859c-45553bbc4828})"); } -impl ::core::clone::Clone for AudioNodeEmitterShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeEmitterShape { type Vtable = IAudioNodeEmitterShape_Vtbl; } @@ -4507,6 +3944,7 @@ unsafe impl ::core::marker::Send for AudioNodeEmitterShape {} unsafe impl ::core::marker::Sync for AudioNodeEmitterShape {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioNodeListener(::windows_core::IUnknown); impl AudioNodeListener { pub fn new() -> ::windows_core::Result { @@ -4573,25 +4011,9 @@ impl AudioNodeListener { unsafe { (::windows_core::Interface::vtable(this).SetDopplerVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AudioNodeListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioNodeListener {} -impl ::core::fmt::Debug for AudioNodeListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioNodeListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioNodeListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioNodeListener;{d9722e16-0c0a-41da-b755-6c77835fb1eb})"); } -impl ::core::clone::Clone for AudioNodeListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioNodeListener { type Vtable = IAudioNodeListener_Vtbl; } @@ -4606,6 +4028,7 @@ unsafe impl ::core::marker::Send for AudioNodeListener {} unsafe impl ::core::marker::Sync for AudioNodeListener {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioPlaybackConnection(::windows_core::IUnknown); impl AudioPlaybackConnection { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -4693,25 +4116,9 @@ impl AudioPlaybackConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioPlaybackConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioPlaybackConnection {} -impl ::core::fmt::Debug for AudioPlaybackConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioPlaybackConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioPlaybackConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnection;{1a4c1dea-cafc-50e7-8718-ea3f81cbfa51})"); } -impl ::core::clone::Clone for AudioPlaybackConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioPlaybackConnection { type Vtable = IAudioPlaybackConnection_Vtbl; } @@ -4728,6 +4135,7 @@ unsafe impl ::core::marker::Send for AudioPlaybackConnection {} unsafe impl ::core::marker::Sync for AudioPlaybackConnection {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioPlaybackConnectionOpenResult(::windows_core::IUnknown); impl AudioPlaybackConnectionOpenResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4745,25 +4153,9 @@ impl AudioPlaybackConnectionOpenResult { } } } -impl ::core::cmp::PartialEq for AudioPlaybackConnectionOpenResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioPlaybackConnectionOpenResult {} -impl ::core::fmt::Debug for AudioPlaybackConnectionOpenResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioPlaybackConnectionOpenResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioPlaybackConnectionOpenResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioPlaybackConnectionOpenResult;{4e656aef-39f9-5fc9-a519-a5bbfd9fe921})"); } -impl ::core::clone::Clone for AudioPlaybackConnectionOpenResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioPlaybackConnectionOpenResult { type Vtable = IAudioPlaybackConnectionOpenResult_Vtbl; } @@ -4778,6 +4170,7 @@ unsafe impl ::core::marker::Send for AudioPlaybackConnectionOpenResult {} unsafe impl ::core::marker::Sync for AudioPlaybackConnectionOpenResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioStateMonitor(::windows_core::IUnknown); impl AudioStateMonitor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4871,25 +4264,9 @@ impl AudioStateMonitor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioStateMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioStateMonitor {} -impl ::core::fmt::Debug for AudioStateMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioStateMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioStateMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioStateMonitor;{1d13d136-0199-4cdc-b84e-e72c2b581ece})"); } -impl ::core::clone::Clone for AudioStateMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioStateMonitor { type Vtable = IAudioStateMonitor_Vtbl; } @@ -4904,6 +4281,7 @@ unsafe impl ::core::marker::Send for AudioStateMonitor {} unsafe impl ::core::marker::Sync for AudioStateMonitor {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioSubmixNode(::windows_core::IUnknown); impl AudioSubmixNode { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5020,25 +4398,9 @@ impl AudioSubmixNode { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioSubmixNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioSubmixNode {} -impl ::core::fmt::Debug for AudioSubmixNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioSubmixNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioSubmixNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.AudioSubmixNode;{d148005c-8428-4784-b7fd-a99d468c5d20})"); } -impl ::core::clone::Clone for AudioSubmixNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioSubmixNode { type Vtable = IAudioInputNode_Vtbl; } @@ -5058,6 +4420,7 @@ unsafe impl ::core::marker::Send for AudioSubmixNode {} unsafe impl ::core::marker::Sync for AudioSubmixNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateAudioDeviceInputNodeResult(::windows_core::IUnknown); impl CreateAudioDeviceInputNodeResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5082,25 +4445,9 @@ impl CreateAudioDeviceInputNodeResult { } } } -impl ::core::cmp::PartialEq for CreateAudioDeviceInputNodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateAudioDeviceInputNodeResult {} -impl ::core::fmt::Debug for CreateAudioDeviceInputNodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateAudioDeviceInputNodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateAudioDeviceInputNodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceInputNodeResult;{16eec7a8-1ca7-40ef-91a4-d346e0aa1bba})"); } -impl ::core::clone::Clone for CreateAudioDeviceInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateAudioDeviceInputNodeResult { type Vtable = ICreateAudioDeviceInputNodeResult_Vtbl; } @@ -5115,6 +4462,7 @@ unsafe impl ::core::marker::Send for CreateAudioDeviceInputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioDeviceInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateAudioDeviceOutputNodeResult(::windows_core::IUnknown); impl CreateAudioDeviceOutputNodeResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5139,25 +4487,9 @@ impl CreateAudioDeviceOutputNodeResult { } } } -impl ::core::cmp::PartialEq for CreateAudioDeviceOutputNodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateAudioDeviceOutputNodeResult {} -impl ::core::fmt::Debug for CreateAudioDeviceOutputNodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateAudioDeviceOutputNodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateAudioDeviceOutputNodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioDeviceOutputNodeResult;{f7776d27-1d9a-47f7-9cd4-2859cc1b7bff})"); } -impl ::core::clone::Clone for CreateAudioDeviceOutputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateAudioDeviceOutputNodeResult { type Vtable = ICreateAudioDeviceOutputNodeResult_Vtbl; } @@ -5172,6 +4504,7 @@ unsafe impl ::core::marker::Send for CreateAudioDeviceOutputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioDeviceOutputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateAudioFileInputNodeResult(::windows_core::IUnknown); impl CreateAudioFileInputNodeResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5196,25 +4529,9 @@ impl CreateAudioFileInputNodeResult { } } } -impl ::core::cmp::PartialEq for CreateAudioFileInputNodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateAudioFileInputNodeResult {} -impl ::core::fmt::Debug for CreateAudioFileInputNodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateAudioFileInputNodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateAudioFileInputNodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileInputNodeResult;{ce83d61c-e297-4c50-9ce7-1c7a69d6bd09})"); } -impl ::core::clone::Clone for CreateAudioFileInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateAudioFileInputNodeResult { type Vtable = ICreateAudioFileInputNodeResult_Vtbl; } @@ -5229,6 +4546,7 @@ unsafe impl ::core::marker::Send for CreateAudioFileInputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioFileInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateAudioFileOutputNodeResult(::windows_core::IUnknown); impl CreateAudioFileOutputNodeResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5253,25 +4571,9 @@ impl CreateAudioFileOutputNodeResult { } } } -impl ::core::cmp::PartialEq for CreateAudioFileOutputNodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateAudioFileOutputNodeResult {} -impl ::core::fmt::Debug for CreateAudioFileOutputNodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateAudioFileOutputNodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateAudioFileOutputNodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioFileOutputNodeResult;{47d6ba7b-e909-453f-866e-5540cda734ff})"); } -impl ::core::clone::Clone for CreateAudioFileOutputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateAudioFileOutputNodeResult { type Vtable = ICreateAudioFileOutputNodeResult_Vtbl; } @@ -5286,6 +4588,7 @@ unsafe impl ::core::marker::Send for CreateAudioFileOutputNodeResult {} unsafe impl ::core::marker::Sync for CreateAudioFileOutputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateAudioGraphResult(::windows_core::IUnknown); impl CreateAudioGraphResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5310,25 +4613,9 @@ impl CreateAudioGraphResult { } } } -impl ::core::cmp::PartialEq for CreateAudioGraphResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateAudioGraphResult {} -impl ::core::fmt::Debug for CreateAudioGraphResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateAudioGraphResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateAudioGraphResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateAudioGraphResult;{5453ef7e-7bde-4b76-bb5d-48f79cfc8c0b})"); } -impl ::core::clone::Clone for CreateAudioGraphResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateAudioGraphResult { type Vtable = ICreateAudioGraphResult_Vtbl; } @@ -5343,6 +4630,7 @@ unsafe impl ::core::marker::Send for CreateAudioGraphResult {} unsafe impl ::core::marker::Sync for CreateAudioGraphResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CreateMediaSourceAudioInputNodeResult(::windows_core::IUnknown); impl CreateMediaSourceAudioInputNodeResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5367,25 +4655,9 @@ impl CreateMediaSourceAudioInputNodeResult { } } } -impl ::core::cmp::PartialEq for CreateMediaSourceAudioInputNodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CreateMediaSourceAudioInputNodeResult {} -impl ::core::fmt::Debug for CreateMediaSourceAudioInputNodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CreateMediaSourceAudioInputNodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CreateMediaSourceAudioInputNodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.CreateMediaSourceAudioInputNodeResult;{46a658a3-53c0-4d59-9e51-cc1d1044a4c4})"); } -impl ::core::clone::Clone for CreateMediaSourceAudioInputNodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CreateMediaSourceAudioInputNodeResult { type Vtable = ICreateMediaSourceAudioInputNodeResult_Vtbl; } @@ -5400,6 +4672,7 @@ unsafe impl ::core::marker::Send for CreateMediaSourceAudioInputNodeResult {} unsafe impl ::core::marker::Sync for CreateMediaSourceAudioInputNodeResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EchoEffectDefinition(::windows_core::IUnknown); impl EchoEffectDefinition { #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -5468,25 +4741,9 @@ impl EchoEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EchoEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EchoEffectDefinition {} -impl ::core::fmt::Debug for EchoEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EchoEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EchoEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EchoEffectDefinition;{0e4d3faa-36b8-4c91-b9da-11f44a8a6610})"); } -impl ::core::clone::Clone for EchoEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EchoEffectDefinition { type Vtable = IEchoEffectDefinition_Vtbl; } @@ -5503,6 +4760,7 @@ unsafe impl ::core::marker::Send for EchoEffectDefinition {} unsafe impl ::core::marker::Sync for EchoEffectDefinition {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EqualizerBand(::windows_core::IUnknown); impl EqualizerBand { pub fn Bandwidth(&self) -> ::windows_core::Result { @@ -5539,25 +4797,9 @@ impl EqualizerBand { unsafe { (::windows_core::Interface::vtable(this).SetGain)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for EqualizerBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EqualizerBand {} -impl ::core::fmt::Debug for EqualizerBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EqualizerBand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EqualizerBand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerBand;{c00a5a6a-262d-4b85-9bb7-43280b62ed0c})"); } -impl ::core::clone::Clone for EqualizerBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EqualizerBand { type Vtable = IEqualizerBand_Vtbl; } @@ -5572,6 +4814,7 @@ unsafe impl ::core::marker::Send for EqualizerBand {} unsafe impl ::core::marker::Sync for EqualizerBand {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EqualizerEffectDefinition(::windows_core::IUnknown); impl EqualizerEffectDefinition { #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -5616,25 +4859,9 @@ impl EqualizerEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EqualizerEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EqualizerEffectDefinition {} -impl ::core::fmt::Debug for EqualizerEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EqualizerEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EqualizerEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.EqualizerEffectDefinition;{023f6f1f-83fe-449a-a822-c696442d16b0})"); } -impl ::core::clone::Clone for EqualizerEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EqualizerEffectDefinition { type Vtable = IEqualizerEffectDefinition_Vtbl; } @@ -5651,6 +4878,7 @@ unsafe impl ::core::marker::Send for EqualizerEffectDefinition {} unsafe impl ::core::marker::Sync for EqualizerEffectDefinition {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameInputNodeQuantumStartedEventArgs(::windows_core::IUnknown); impl FrameInputNodeQuantumStartedEventArgs { pub fn RequiredSamples(&self) -> ::windows_core::Result { @@ -5661,25 +4889,9 @@ impl FrameInputNodeQuantumStartedEventArgs { } } } -impl ::core::cmp::PartialEq for FrameInputNodeQuantumStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameInputNodeQuantumStartedEventArgs {} -impl ::core::fmt::Debug for FrameInputNodeQuantumStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameInputNodeQuantumStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameInputNodeQuantumStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.FrameInputNodeQuantumStartedEventArgs;{3d9bd498-a306-4f06-bd9f-e9efc8226304})"); } -impl ::core::clone::Clone for FrameInputNodeQuantumStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameInputNodeQuantumStartedEventArgs { type Vtable = IFrameInputNodeQuantumStartedEventArgs_Vtbl; } @@ -5694,6 +4906,7 @@ unsafe impl ::core::marker::Send for FrameInputNodeQuantumStartedEventArgs {} unsafe impl ::core::marker::Sync for FrameInputNodeQuantumStartedEventArgs {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LimiterEffectDefinition(::windows_core::IUnknown); impl LimiterEffectDefinition { #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -5751,25 +4964,9 @@ impl LimiterEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for LimiterEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LimiterEffectDefinition {} -impl ::core::fmt::Debug for LimiterEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LimiterEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LimiterEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.LimiterEffectDefinition;{6b755d19-2603-47ba-bdeb-39055e3486dc})"); } -impl ::core::clone::Clone for LimiterEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LimiterEffectDefinition { type Vtable = ILimiterEffectDefinition_Vtbl; } @@ -5786,6 +4983,7 @@ unsafe impl ::core::marker::Send for LimiterEffectDefinition {} unsafe impl ::core::marker::Sync for LimiterEffectDefinition {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSourceAudioInputNode(::windows_core::IUnknown); impl MediaSourceAudioInputNode { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -6018,25 +5216,9 @@ impl MediaSourceAudioInputNode { unsafe { (::windows_core::Interface::vtable(this).RemoveMediaSourceCompleted)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MediaSourceAudioInputNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSourceAudioInputNode {} -impl ::core::fmt::Debug for MediaSourceAudioInputNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSourceAudioInputNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSourceAudioInputNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.MediaSourceAudioInputNode;{99d8983b-a88a-4041-8e4f-ddbac0c91fd3})"); } -impl ::core::clone::Clone for MediaSourceAudioInputNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSourceAudioInputNode { type Vtable = IMediaSourceAudioInputNode_Vtbl; } @@ -6056,6 +5238,7 @@ unsafe impl ::core::marker::Send for MediaSourceAudioInputNode {} unsafe impl ::core::marker::Sync for MediaSourceAudioInputNode {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ReverbEffectDefinition(::windows_core::IUnknown); impl ReverbEffectDefinition { #[doc = "*Required features: `\"Media_Effects\"`*"] @@ -6344,25 +5527,9 @@ impl ReverbEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ReverbEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ReverbEffectDefinition {} -impl ::core::fmt::Debug for ReverbEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ReverbEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ReverbEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.ReverbEffectDefinition;{4606aa89-f563-4d0a-8f6e-f0cddff35d84})"); } -impl ::core::clone::Clone for ReverbEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ReverbEffectDefinition { type Vtable = IReverbEffectDefinition_Vtbl; } @@ -6379,6 +5546,7 @@ unsafe impl ::core::marker::Send for ReverbEffectDefinition {} unsafe impl ::core::marker::Sync for ReverbEffectDefinition {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SetDefaultSpatialAudioFormatResult(::windows_core::IUnknown); impl SetDefaultSpatialAudioFormatResult { pub fn Status(&self) -> ::windows_core::Result { @@ -6389,25 +5557,9 @@ impl SetDefaultSpatialAudioFormatResult { } } } -impl ::core::cmp::PartialEq for SetDefaultSpatialAudioFormatResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SetDefaultSpatialAudioFormatResult {} -impl ::core::fmt::Debug for SetDefaultSpatialAudioFormatResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SetDefaultSpatialAudioFormatResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SetDefaultSpatialAudioFormatResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SetDefaultSpatialAudioFormatResult;{1c2aa511-1400-5e70-9ea9-ae151241e8ea})"); } -impl ::core::clone::Clone for SetDefaultSpatialAudioFormatResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SetDefaultSpatialAudioFormatResult { type Vtable = ISetDefaultSpatialAudioFormatResult_Vtbl; } @@ -6422,6 +5574,7 @@ unsafe impl ::core::marker::Send for SetDefaultSpatialAudioFormatResult {} unsafe impl ::core::marker::Sync for SetDefaultSpatialAudioFormatResult {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAudioDeviceConfiguration(::windows_core::IUnknown); impl SpatialAudioDeviceConfiguration { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6498,25 +5651,9 @@ impl SpatialAudioDeviceConfiguration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialAudioDeviceConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAudioDeviceConfiguration {} -impl ::core::fmt::Debug for SpatialAudioDeviceConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAudioDeviceConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAudioDeviceConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioDeviceConfiguration;{ee830034-61cf-5749-9da4-10f0fe028199})"); } -impl ::core::clone::Clone for SpatialAudioDeviceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAudioDeviceConfiguration { type Vtable = ISpatialAudioDeviceConfiguration_Vtbl; } @@ -6531,6 +5668,7 @@ unsafe impl ::core::marker::Send for SpatialAudioDeviceConfiguration {} unsafe impl ::core::marker::Sync for SpatialAudioDeviceConfiguration {} #[doc = "*Required features: `\"Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAudioFormatConfiguration(::windows_core::IUnknown); impl SpatialAudioFormatConfiguration { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6574,25 +5712,9 @@ impl SpatialAudioFormatConfiguration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialAudioFormatConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAudioFormatConfiguration {} -impl ::core::fmt::Debug for SpatialAudioFormatConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAudioFormatConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAudioFormatConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Audio.SpatialAudioFormatConfiguration;{32df09a8-50f0-5395-9923-7d44ca71ed6d})"); } -impl ::core::clone::Clone for SpatialAudioFormatConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAudioFormatConfiguration { type Vtable = ISpatialAudioFormatConfiguration_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs index 97a4618edf..91b69e5a41 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVariablePhotoCapturedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVariablePhotoCapturedEventArgs { type Vtable = IVariablePhotoCapturedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVariablePhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVariablePhotoCapturedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1eb4c5c_1b53_4e4a_8b5c_db7887ac949b); } @@ -29,15 +25,11 @@ pub struct IVariablePhotoCapturedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVariablePhotoSequenceCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVariablePhotoSequenceCapture { type Vtable = IVariablePhotoSequenceCapture_Vtbl; } -impl ::core::clone::Clone for IVariablePhotoSequenceCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVariablePhotoSequenceCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0112d1d_031e_4041_a6d6_bd742476a8ee); } @@ -76,15 +68,11 @@ pub struct IVariablePhotoSequenceCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVariablePhotoSequenceCapture2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVariablePhotoSequenceCapture2 { type Vtable = IVariablePhotoSequenceCapture2_Vtbl; } -impl ::core::clone::Clone for IVariablePhotoSequenceCapture2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVariablePhotoSequenceCapture2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe2c62bc_50b0_43e3_917c_e3b92798942f); } @@ -99,6 +87,7 @@ pub struct IVariablePhotoSequenceCapture2_Vtbl { } #[doc = "*Required features: `\"Media_Capture_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VariablePhotoCapturedEventArgs(::windows_core::IUnknown); impl VariablePhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows_core::Result { @@ -134,25 +123,9 @@ impl VariablePhotoCapturedEventArgs { } } } -impl ::core::cmp::PartialEq for VariablePhotoCapturedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VariablePhotoCapturedEventArgs {} -impl ::core::fmt::Debug for VariablePhotoCapturedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VariablePhotoCapturedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VariablePhotoCapturedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoCapturedEventArgs;{d1eb4c5c-1b53-4e4a-8b5c-db7887ac949b})"); } -impl ::core::clone::Clone for VariablePhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VariablePhotoCapturedEventArgs { type Vtable = IVariablePhotoCapturedEventArgs_Vtbl; } @@ -167,6 +140,7 @@ unsafe impl ::core::marker::Send for VariablePhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for VariablePhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VariablePhotoSequenceCapture(::windows_core::IUnknown); impl VariablePhotoSequenceCapture { #[doc = "*Required features: `\"Foundation\"`*"] @@ -242,25 +216,9 @@ impl VariablePhotoSequenceCapture { } } } -impl ::core::cmp::PartialEq for VariablePhotoSequenceCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VariablePhotoSequenceCapture {} -impl ::core::fmt::Debug for VariablePhotoSequenceCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VariablePhotoSequenceCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VariablePhotoSequenceCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Core.VariablePhotoSequenceCapture;{d0112d1d-031e-4041-a6d6-bd742476a8ee})"); } -impl ::core::clone::Clone for VariablePhotoSequenceCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VariablePhotoSequenceCapture { type Vtable = IVariablePhotoSequenceCapture_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs index 5a442c3160..4ea5c7420f 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMediaFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioMediaFrame { type Vtable = IAudioMediaFrame_Vtbl; } -impl ::core::clone::Clone for IAudioMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3a9feff_8021_441b_9a46_e7f0137b7981); } @@ -25,15 +21,11 @@ pub struct IAudioMediaFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferMediaFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBufferMediaFrame { type Vtable = IBufferMediaFrame_Vtbl; } -impl ::core::clone::Clone for IBufferMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5b153c7_9b84_4062_b79c_a365b2596854); } @@ -49,15 +41,11 @@ pub struct IBufferMediaFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDepthMediaFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDepthMediaFrame { type Vtable = IDepthMediaFrame_Vtbl; } -impl ::core::clone::Clone for IDepthMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDepthMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47135e4f_8549_45c0_925b_80d35efdb10a); } @@ -75,15 +63,11 @@ pub struct IDepthMediaFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDepthMediaFrame2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDepthMediaFrame2 { type Vtable = IDepthMediaFrame2_Vtbl; } -impl ::core::clone::Clone for IDepthMediaFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDepthMediaFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cca473d_c4a4_4176_b0cd_33eae3b35aa3); } @@ -96,15 +80,11 @@ pub struct IDepthMediaFrame2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDepthMediaFrameFormat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDepthMediaFrameFormat { type Vtable = IDepthMediaFrameFormat_Vtbl; } -impl ::core::clone::Clone for IDepthMediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDepthMediaFrameFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc312cf40_d729_453e_8780_2e04f140d28e); } @@ -117,15 +97,11 @@ pub struct IDepthMediaFrameFormat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInfraredMediaFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInfraredMediaFrame { type Vtable = IInfraredMediaFrame_Vtbl; } -impl ::core::clone::Clone for IInfraredMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInfraredMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fd13503_004b_4f0e_91ac_465299b41658); } @@ -139,15 +115,11 @@ pub struct IInfraredMediaFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameArrivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameArrivedEventArgs { type Vtable = IMediaFrameArrivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameArrivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b430add_a490_4435_ada1_9affd55239f7); } @@ -158,15 +130,11 @@ pub struct IMediaFrameArrivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameFormat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameFormat { type Vtable = IMediaFrameFormat_Vtbl; } -impl ::core::clone::Clone for IMediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71902b4e_b279_4a97_a9db_bd5a2fb78f39); } @@ -188,15 +156,11 @@ pub struct IMediaFrameFormat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameFormat2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameFormat2 { type Vtable = IMediaFrameFormat2_Vtbl; } -impl ::core::clone::Clone for IMediaFrameFormat2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameFormat2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63856340_5e87_4c10_86d1_6df097a6c6a8); } @@ -211,15 +175,11 @@ pub struct IMediaFrameFormat2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameReader { type Vtable = IMediaFrameReader_Vtbl; } -impl ::core::clone::Clone for IMediaFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4c94395_2028_48ed_90b0_d1c1b162e24c); } @@ -247,15 +207,11 @@ pub struct IMediaFrameReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameReader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameReader2 { type Vtable = IMediaFrameReader2_Vtbl; } -impl ::core::clone::Clone for IMediaFrameReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x871127b3_8531_4050_87cc_a13733cf3e9b); } @@ -268,15 +224,11 @@ pub struct IMediaFrameReader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameReference { type Vtable = IMediaFrameReference_Vtbl; } -impl ::core::clone::Clone for IMediaFrameReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6b88641_f0dc_4044_8dc9_961cedd05bad); } @@ -307,15 +259,11 @@ pub struct IMediaFrameReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameReference2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameReference2 { type Vtable = IMediaFrameReference2_Vtbl; } -impl ::core::clone::Clone for IMediaFrameReference2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameReference2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddbc3ecc_d5b2_49ef_836a_947d989b80c1); } @@ -327,15 +275,11 @@ pub struct IMediaFrameReference2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSource { type Vtable = IMediaFrameSource_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6782953_90db_46a8_8add_2aa884a8d253); } @@ -369,15 +313,11 @@ pub struct IMediaFrameSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceController { type Vtable = IMediaFrameSourceController_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d076635_316d_4b8f_b7b6_eeb04a8c6525); } @@ -400,15 +340,11 @@ pub struct IMediaFrameSourceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceController2 { type Vtable = IMediaFrameSourceController2_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefc49fd4_fcf2_4a03_b4e4_ac9628739bee); } @@ -427,15 +363,11 @@ pub struct IMediaFrameSourceController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceController3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceController3 { type Vtable = IMediaFrameSourceController3_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceController3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceController3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f0cf815_2464_4651_b1e8_4a82dbdb54de); } @@ -450,15 +382,11 @@ pub struct IMediaFrameSourceController3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceGetPropertyResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceGetPropertyResult { type Vtable = IMediaFrameSourceGetPropertyResult_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceGetPropertyResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceGetPropertyResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x088616c2_3a64_4bd5_bd2b_e7c898d2f37a); } @@ -471,15 +399,11 @@ pub struct IMediaFrameSourceGetPropertyResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceGroup { type Vtable = IMediaFrameSourceGroup_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f605b87_4832_4b5f_ae3d_412faab37d34); } @@ -496,15 +420,11 @@ pub struct IMediaFrameSourceGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceGroupStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceGroupStatics { type Vtable = IMediaFrameSourceGroupStatics_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceGroupStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceGroupStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c48bfc5_436f_4508_94cf_d5d8b7326445); } @@ -524,15 +444,11 @@ pub struct IMediaFrameSourceGroupStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceInfo { type Vtable = IMediaFrameSourceInfo_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87bdc9cd_4601_408f_91cf_038318cd0af3); } @@ -559,15 +475,11 @@ pub struct IMediaFrameSourceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceInfo2 { type Vtable = IMediaFrameSourceInfo2_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x195a7855_6457_42c6_a769_19b65bd32e6e); } @@ -583,15 +495,11 @@ pub struct IMediaFrameSourceInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceInfo3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceInfo3 { type Vtable = IMediaFrameSourceInfo3_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca824ab6_66ea_5885_a2b6_26c0eeec3c7b); } @@ -606,15 +514,11 @@ pub struct IMediaFrameSourceInfo3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrameSourceInfo4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaFrameSourceInfo4 { type Vtable = IMediaFrameSourceInfo4_Vtbl; } -impl ::core::clone::Clone for IMediaFrameSourceInfo4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrameSourceInfo4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4817d721_85eb_470c_8f37_43ca5498e41d); } @@ -626,15 +530,11 @@ pub struct IMediaFrameSourceInfo4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiSourceMediaFrameArrivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMultiSourceMediaFrameArrivedEventArgs { type Vtable = IMultiSourceMediaFrameArrivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMultiSourceMediaFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiSourceMediaFrameArrivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63115e01_cf51_48fd_aab0_6d693eb48127); } @@ -645,15 +545,11 @@ pub struct IMultiSourceMediaFrameArrivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiSourceMediaFrameReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMultiSourceMediaFrameReader { type Vtable = IMultiSourceMediaFrameReader_Vtbl; } -impl ::core::clone::Clone for IMultiSourceMediaFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiSourceMediaFrameReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d144402_f763_488d_98f2_b437bcf075e7); } @@ -681,15 +577,11 @@ pub struct IMultiSourceMediaFrameReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiSourceMediaFrameReader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMultiSourceMediaFrameReader2 { type Vtable = IMultiSourceMediaFrameReader2_Vtbl; } -impl ::core::clone::Clone for IMultiSourceMediaFrameReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiSourceMediaFrameReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef5c8abd_fc5c_4c6b_9d81_3cb9cc637c26); } @@ -702,15 +594,11 @@ pub struct IMultiSourceMediaFrameReader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiSourceMediaFrameReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMultiSourceMediaFrameReference { type Vtable = IMultiSourceMediaFrameReference_Vtbl; } -impl ::core::clone::Clone for IMultiSourceMediaFrameReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiSourceMediaFrameReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21964b1a_7fe2_44d6_92e5_298e6d2810e9); } @@ -722,15 +610,11 @@ pub struct IMultiSourceMediaFrameReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoMediaFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoMediaFrame { type Vtable = IVideoMediaFrame_Vtbl; } -impl ::core::clone::Clone for IVideoMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00dd4ccb_32bd_4fe1_a013_7cc13cf5dbcf); } @@ -758,15 +642,11 @@ pub struct IVideoMediaFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoMediaFrameFormat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoMediaFrameFormat { type Vtable = IVideoMediaFrameFormat_Vtbl; } -impl ::core::clone::Clone for IVideoMediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoMediaFrameFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46027fc0_d71b_45c7_8f14_6d9a0ae604e4); } @@ -781,6 +661,7 @@ pub struct IVideoMediaFrameFormat_Vtbl { } #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioMediaFrame(::windows_core::IUnknown); impl AudioMediaFrame { pub fn FrameReference(&self) -> ::windows_core::Result { @@ -807,25 +688,9 @@ impl AudioMediaFrame { } } } -impl ::core::cmp::PartialEq for AudioMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioMediaFrame {} -impl ::core::fmt::Debug for AudioMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.AudioMediaFrame;{a3a9feff-8021-441b-9a46-e7f0137b7981})"); } -impl ::core::clone::Clone for AudioMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioMediaFrame { type Vtable = IAudioMediaFrame_Vtbl; } @@ -840,6 +705,7 @@ unsafe impl ::core::marker::Send for AudioMediaFrame {} unsafe impl ::core::marker::Sync for AudioMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BufferMediaFrame(::windows_core::IUnknown); impl BufferMediaFrame { pub fn FrameReference(&self) -> ::windows_core::Result { @@ -859,25 +725,9 @@ impl BufferMediaFrame { } } } -impl ::core::cmp::PartialEq for BufferMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BufferMediaFrame {} -impl ::core::fmt::Debug for BufferMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BufferMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BufferMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.BufferMediaFrame;{b5b153c7-9b84-4062-b79c-a365b2596854})"); } -impl ::core::clone::Clone for BufferMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BufferMediaFrame { type Vtable = IBufferMediaFrame_Vtbl; } @@ -892,6 +742,7 @@ unsafe impl ::core::marker::Send for BufferMediaFrame {} unsafe impl ::core::marker::Sync for BufferMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DepthMediaFrame(::windows_core::IUnknown); impl DepthMediaFrame { pub fn FrameReference(&self) -> ::windows_core::Result { @@ -943,25 +794,9 @@ impl DepthMediaFrame { } } } -impl ::core::cmp::PartialEq for DepthMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DepthMediaFrame {} -impl ::core::fmt::Debug for DepthMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DepthMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DepthMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrame;{47135e4f-8549-45c0-925b-80d35efdb10a})"); } -impl ::core::clone::Clone for DepthMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DepthMediaFrame { type Vtable = IDepthMediaFrame_Vtbl; } @@ -976,6 +811,7 @@ unsafe impl ::core::marker::Send for DepthMediaFrame {} unsafe impl ::core::marker::Sync for DepthMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DepthMediaFrameFormat(::windows_core::IUnknown); impl DepthMediaFrameFormat { pub fn VideoFormat(&self) -> ::windows_core::Result { @@ -993,25 +829,9 @@ impl DepthMediaFrameFormat { } } } -impl ::core::cmp::PartialEq for DepthMediaFrameFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DepthMediaFrameFormat {} -impl ::core::fmt::Debug for DepthMediaFrameFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DepthMediaFrameFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DepthMediaFrameFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.DepthMediaFrameFormat;{c312cf40-d729-453e-8780-2e04f140d28e})"); } -impl ::core::clone::Clone for DepthMediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DepthMediaFrameFormat { type Vtable = IDepthMediaFrameFormat_Vtbl; } @@ -1026,6 +846,7 @@ unsafe impl ::core::marker::Send for DepthMediaFrameFormat {} unsafe impl ::core::marker::Sync for DepthMediaFrameFormat {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InfraredMediaFrame(::windows_core::IUnknown); impl InfraredMediaFrame { pub fn FrameReference(&self) -> ::windows_core::Result { @@ -1050,25 +871,9 @@ impl InfraredMediaFrame { } } } -impl ::core::cmp::PartialEq for InfraredMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InfraredMediaFrame {} -impl ::core::fmt::Debug for InfraredMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InfraredMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InfraredMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.InfraredMediaFrame;{3fd13503-004b-4f0e-91ac-465299b41658})"); } -impl ::core::clone::Clone for InfraredMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InfraredMediaFrame { type Vtable = IInfraredMediaFrame_Vtbl; } @@ -1083,27 +888,12 @@ unsafe impl ::core::marker::Send for InfraredMediaFrame {} unsafe impl ::core::marker::Sync for InfraredMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameArrivedEventArgs(::windows_core::IUnknown); impl MediaFrameArrivedEventArgs {} -impl ::core::cmp::PartialEq for MediaFrameArrivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameArrivedEventArgs {} -impl ::core::fmt::Debug for MediaFrameArrivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameArrivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameArrivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameArrivedEventArgs;{0b430add-a490-4435-ada1-9affd55239f7})"); } -impl ::core::clone::Clone for MediaFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameArrivedEventArgs { type Vtable = IMediaFrameArrivedEventArgs_Vtbl; } @@ -1118,6 +908,7 @@ unsafe impl ::core::marker::Send for MediaFrameArrivedEventArgs {} unsafe impl ::core::marker::Sync for MediaFrameArrivedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameFormat(::windows_core::IUnknown); impl MediaFrameFormat { pub fn MajorType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1169,25 +960,9 @@ impl MediaFrameFormat { } } } -impl ::core::cmp::PartialEq for MediaFrameFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameFormat {} -impl ::core::fmt::Debug for MediaFrameFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameFormat;{71902b4e-b279-4a97-a9db-bd5a2fb78f39})"); } -impl ::core::clone::Clone for MediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameFormat { type Vtable = IMediaFrameFormat_Vtbl; } @@ -1202,6 +977,7 @@ unsafe impl ::core::marker::Send for MediaFrameFormat {} unsafe impl ::core::marker::Sync for MediaFrameFormat {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameReader(::windows_core::IUnknown); impl MediaFrameReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1265,25 +1041,9 @@ impl MediaFrameReader { } } } -impl ::core::cmp::PartialEq for MediaFrameReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameReader {} -impl ::core::fmt::Debug for MediaFrameReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReader;{e4c94395-2028-48ed-90b0-d1c1b162e24c})"); } -impl ::core::clone::Clone for MediaFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameReader { type Vtable = IMediaFrameReader_Vtbl; } @@ -1300,6 +1060,7 @@ unsafe impl ::core::marker::Send for MediaFrameReader {} unsafe impl ::core::marker::Sync for MediaFrameReader {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameReference(::windows_core::IUnknown); impl MediaFrameReference { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1380,25 +1141,9 @@ impl MediaFrameReference { } } } -impl ::core::cmp::PartialEq for MediaFrameReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameReference {} -impl ::core::fmt::Debug for MediaFrameReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameReference;{f6b88641-f0dc-4044-8dc9-961cedd05bad})"); } -impl ::core::clone::Clone for MediaFrameReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameReference { type Vtable = IMediaFrameReference_Vtbl; } @@ -1415,6 +1160,7 @@ unsafe impl ::core::marker::Send for MediaFrameReference {} unsafe impl ::core::marker::Sync for MediaFrameReference {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameSource(::windows_core::IUnknown); impl MediaFrameSource { pub fn Info(&self) -> ::windows_core::Result { @@ -1490,25 +1236,9 @@ impl MediaFrameSource { } } } -impl ::core::cmp::PartialEq for MediaFrameSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameSource {} -impl ::core::fmt::Debug for MediaFrameSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSource;{d6782953-90db-46a8-8add-2aa884a8d253})"); } -impl ::core::clone::Clone for MediaFrameSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameSource { type Vtable = IMediaFrameSource_Vtbl; } @@ -1523,6 +1253,7 @@ unsafe impl ::core::marker::Send for MediaFrameSource {} unsafe impl ::core::marker::Sync for MediaFrameSource {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameSourceController(::windows_core::IUnknown); impl MediaFrameSourceController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1586,25 +1317,9 @@ impl MediaFrameSourceController { } } } -impl ::core::cmp::PartialEq for MediaFrameSourceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameSourceController {} -impl ::core::fmt::Debug for MediaFrameSourceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameSourceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameSourceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceController;{6d076635-316d-4b8f-b7b6-eeb04a8c6525})"); } -impl ::core::clone::Clone for MediaFrameSourceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameSourceController { type Vtable = IMediaFrameSourceController_Vtbl; } @@ -1619,6 +1334,7 @@ unsafe impl ::core::marker::Send for MediaFrameSourceController {} unsafe impl ::core::marker::Sync for MediaFrameSourceController {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameSourceGetPropertyResult(::windows_core::IUnknown); impl MediaFrameSourceGetPropertyResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1636,25 +1352,9 @@ impl MediaFrameSourceGetPropertyResult { } } } -impl ::core::cmp::PartialEq for MediaFrameSourceGetPropertyResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameSourceGetPropertyResult {} -impl ::core::fmt::Debug for MediaFrameSourceGetPropertyResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameSourceGetPropertyResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameSourceGetPropertyResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyResult;{088616c2-3a64-4bd5-bd2b-e7c898d2f37a})"); } -impl ::core::clone::Clone for MediaFrameSourceGetPropertyResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameSourceGetPropertyResult { type Vtable = IMediaFrameSourceGetPropertyResult_Vtbl; } @@ -1669,6 +1369,7 @@ unsafe impl ::core::marker::Send for MediaFrameSourceGetPropertyResult {} unsafe impl ::core::marker::Sync for MediaFrameSourceGetPropertyResult {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameSourceGroup(::windows_core::IUnknown); impl MediaFrameSourceGroup { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1722,25 +1423,9 @@ impl MediaFrameSourceGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaFrameSourceGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameSourceGroup {} -impl ::core::fmt::Debug for MediaFrameSourceGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameSourceGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameSourceGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceGroup;{7f605b87-4832-4b5f-ae3d-412faab37d34})"); } -impl ::core::clone::Clone for MediaFrameSourceGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameSourceGroup { type Vtable = IMediaFrameSourceGroup_Vtbl; } @@ -1755,6 +1440,7 @@ unsafe impl ::core::marker::Send for MediaFrameSourceGroup {} unsafe impl ::core::marker::Sync for MediaFrameSourceGroup {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaFrameSourceInfo(::windows_core::IUnknown); impl MediaFrameSourceInfo { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1848,25 +1534,9 @@ impl MediaFrameSourceInfo { } } } -impl ::core::cmp::PartialEq for MediaFrameSourceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaFrameSourceInfo {} -impl ::core::fmt::Debug for MediaFrameSourceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaFrameSourceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaFrameSourceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MediaFrameSourceInfo;{87bdc9cd-4601-408f-91cf-038318cd0af3})"); } -impl ::core::clone::Clone for MediaFrameSourceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaFrameSourceInfo { type Vtable = IMediaFrameSourceInfo_Vtbl; } @@ -1881,27 +1551,12 @@ unsafe impl ::core::marker::Send for MediaFrameSourceInfo {} unsafe impl ::core::marker::Sync for MediaFrameSourceInfo {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MultiSourceMediaFrameArrivedEventArgs(::windows_core::IUnknown); impl MultiSourceMediaFrameArrivedEventArgs {} -impl ::core::cmp::PartialEq for MultiSourceMediaFrameArrivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MultiSourceMediaFrameArrivedEventArgs {} -impl ::core::fmt::Debug for MultiSourceMediaFrameArrivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MultiSourceMediaFrameArrivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MultiSourceMediaFrameArrivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameArrivedEventArgs;{63115e01-cf51-48fd-aab0-6d693eb48127})"); } -impl ::core::clone::Clone for MultiSourceMediaFrameArrivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MultiSourceMediaFrameArrivedEventArgs { type Vtable = IMultiSourceMediaFrameArrivedEventArgs_Vtbl; } @@ -1916,6 +1571,7 @@ unsafe impl ::core::marker::Send for MultiSourceMediaFrameArrivedEventArgs {} unsafe impl ::core::marker::Sync for MultiSourceMediaFrameArrivedEventArgs {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MultiSourceMediaFrameReader(::windows_core::IUnknown); impl MultiSourceMediaFrameReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1979,25 +1635,9 @@ impl MultiSourceMediaFrameReader { } } } -impl ::core::cmp::PartialEq for MultiSourceMediaFrameReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MultiSourceMediaFrameReader {} -impl ::core::fmt::Debug for MultiSourceMediaFrameReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MultiSourceMediaFrameReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MultiSourceMediaFrameReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReader;{8d144402-f763-488d-98f2-b437bcf075e7})"); } -impl ::core::clone::Clone for MultiSourceMediaFrameReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MultiSourceMediaFrameReader { type Vtable = IMultiSourceMediaFrameReader_Vtbl; } @@ -2014,6 +1654,7 @@ unsafe impl ::core::marker::Send for MultiSourceMediaFrameReader {} unsafe impl ::core::marker::Sync for MultiSourceMediaFrameReader {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MultiSourceMediaFrameReference(::windows_core::IUnknown); impl MultiSourceMediaFrameReference { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2030,25 +1671,9 @@ impl MultiSourceMediaFrameReference { } } } -impl ::core::cmp::PartialEq for MultiSourceMediaFrameReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MultiSourceMediaFrameReference {} -impl ::core::fmt::Debug for MultiSourceMediaFrameReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MultiSourceMediaFrameReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MultiSourceMediaFrameReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.MultiSourceMediaFrameReference;{21964b1a-7fe2-44d6-92e5-298e6d2810e9})"); } -impl ::core::clone::Clone for MultiSourceMediaFrameReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MultiSourceMediaFrameReference { type Vtable = IMultiSourceMediaFrameReference_Vtbl; } @@ -2065,6 +1690,7 @@ unsafe impl ::core::marker::Send for MultiSourceMediaFrameReference {} unsafe impl ::core::marker::Sync for MultiSourceMediaFrameReference {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoMediaFrame(::windows_core::IUnknown); impl VideoMediaFrame { pub fn FrameReference(&self) -> ::windows_core::Result { @@ -2130,25 +1756,9 @@ impl VideoMediaFrame { } } } -impl ::core::cmp::PartialEq for VideoMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoMediaFrame {} -impl ::core::fmt::Debug for VideoMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrame;{00dd4ccb-32bd-4fe1-a013-7cc13cf5dbcf})"); } -impl ::core::clone::Clone for VideoMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoMediaFrame { type Vtable = IVideoMediaFrame_Vtbl; } @@ -2163,6 +1773,7 @@ unsafe impl ::core::marker::Send for VideoMediaFrame {} unsafe impl ::core::marker::Sync for VideoMediaFrame {} #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoMediaFrameFormat(::windows_core::IUnknown); impl VideoMediaFrameFormat { pub fn MediaFrameFormat(&self) -> ::windows_core::Result { @@ -2194,25 +1805,9 @@ impl VideoMediaFrameFormat { } } } -impl ::core::cmp::PartialEq for VideoMediaFrameFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoMediaFrameFormat {} -impl ::core::fmt::Debug for VideoMediaFrameFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoMediaFrameFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoMediaFrameFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.Frames.VideoMediaFrameFormat;{46027fc0-d71b-45c7-8f14-6d9a0ae604e4})"); } -impl ::core::clone::Clone for VideoMediaFrameFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoMediaFrameFormat { type Vtable = IVideoMediaFrameFormat_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index ee162e8e5e..495703207c 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -4,15 +4,11 @@ pub mod Core; pub mod Frames; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedCapturedPhoto(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedCapturedPhoto { type Vtable = IAdvancedCapturedPhoto_Vtbl; } -impl ::core::clone::Clone for IAdvancedCapturedPhoto { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedCapturedPhoto { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf072728b_b292_4491_9d41_99807a550bbf); } @@ -29,15 +25,11 @@ pub struct IAdvancedCapturedPhoto_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedCapturedPhoto2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedCapturedPhoto2 { type Vtable = IAdvancedCapturedPhoto2_Vtbl; } -impl ::core::clone::Clone for IAdvancedCapturedPhoto2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedCapturedPhoto2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18cf6cd8_cffe_42d8_8104_017bb318f4a1); } @@ -52,15 +44,11 @@ pub struct IAdvancedCapturedPhoto2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedPhotoCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedPhotoCapture { type Vtable = IAdvancedPhotoCapture_Vtbl; } -impl ::core::clone::Clone for IAdvancedPhotoCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedPhotoCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83ffaafa_6667_44dc_973c_a6bce596aa0f); } @@ -99,15 +87,11 @@ pub struct IAdvancedPhotoCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundService { type Vtable = IAppBroadcastBackgroundService_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad1e72a_fa94_46f9_95fc_d71511cda70b); } @@ -138,15 +122,11 @@ pub struct IAppBroadcastBackgroundService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundService2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundService2 { type Vtable = IAppBroadcastBackgroundService2_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc8ccbbf_5549_4b87_959f_23ca401fd473); } @@ -186,15 +166,11 @@ pub struct IAppBroadcastBackgroundService2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundServiceSignInInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundServiceSignInInfo { type Vtable = IAppBroadcastBackgroundServiceSignInInfo_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundServiceSignInInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundServiceSignInInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e735275_88c8_4eca_89ba_4825985db880); } @@ -236,15 +212,11 @@ pub struct IAppBroadcastBackgroundServiceSignInInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundServiceSignInInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundServiceSignInInfo2 { type Vtable = IAppBroadcastBackgroundServiceSignInInfo2_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundServiceSignInInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundServiceSignInInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9104285c_62cf_4a3c_a7ee_aeb507404645); } @@ -263,15 +235,11 @@ pub struct IAppBroadcastBackgroundServiceSignInInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundServiceStreamInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundServiceStreamInfo { type Vtable = IAppBroadcastBackgroundServiceStreamInfo_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundServiceStreamInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundServiceStreamInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31dc02bc_990a_4904_aa96_fe364381f136); } @@ -314,15 +282,11 @@ pub struct IAppBroadcastBackgroundServiceStreamInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastBackgroundServiceStreamInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastBackgroundServiceStreamInfo2 { type Vtable = IAppBroadcastBackgroundServiceStreamInfo2_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastBackgroundServiceStreamInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastBackgroundServiceStreamInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd1e9f6d_94dc_4fce_9541_a9f129596334); } @@ -334,15 +298,11 @@ pub struct IAppBroadcastBackgroundServiceStreamInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastCameraCaptureStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastCameraCaptureStateChangedEventArgs { type Vtable = IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastCameraCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastCameraCaptureStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e334cd0_b882_4b88_8692_05999aceb70f); } @@ -355,15 +315,11 @@ pub struct IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastGlobalSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastGlobalSettings { type Vtable = IAppBroadcastGlobalSettings_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastGlobalSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastGlobalSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2cb27a5_70fc_4e17_80bd_6ba0fd3ff3a0); } @@ -398,15 +354,11 @@ pub struct IAppBroadcastGlobalSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastHeartbeatRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastHeartbeatRequestedEventArgs { type Vtable = IAppBroadcastHeartbeatRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastHeartbeatRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastHeartbeatRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcea54283_ee51_4dbf_9472_79a9ed4e2165); } @@ -419,15 +371,11 @@ pub struct IAppBroadcastHeartbeatRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastManagerStatics { type Vtable = IAppBroadcastManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x364e018b_1e4e_411f_ab3e_92959844c156); } @@ -442,15 +390,11 @@ pub struct IAppBroadcastManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastMicrophoneCaptureStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastMicrophoneCaptureStateChangedEventArgs { type Vtable = IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastMicrophoneCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastMicrophoneCaptureStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa86ad5e9_9440_4908_9d09_65b7e315d795); } @@ -463,15 +407,11 @@ pub struct IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPlugIn(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPlugIn { type Vtable = IAppBroadcastPlugIn_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPlugIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPlugIn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x520c1e66_6513_4574_ac54_23b79729615b); } @@ -489,15 +429,11 @@ pub struct IAppBroadcastPlugIn_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPlugInManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPlugInManager { type Vtable = IAppBroadcastPlugInManager_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPlugInManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPlugInManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe550d979_27a1_49a7_bbf4_d7a9e9d07668); } @@ -515,15 +451,11 @@ pub struct IAppBroadcastPlugInManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPlugInManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPlugInManagerStatics { type Vtable = IAppBroadcastPlugInManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPlugInManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPlugInManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2645c20_5c76_4cdc_9364_82fe9eb6534d); } @@ -539,15 +471,11 @@ pub struct IAppBroadcastPlugInManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPlugInStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPlugInStateChangedEventArgs { type Vtable = IAppBroadcastPlugInStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPlugInStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPlugInStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4881d0f2_abc5_4fc6_84b0_89370bb47212); } @@ -559,15 +487,11 @@ pub struct IAppBroadcastPlugInStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPreview { type Vtable = IAppBroadcastPreview_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14b60f5a_6e4a_4b80_a14f_67ee77d153e7); } @@ -593,15 +517,11 @@ pub struct IAppBroadcastPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPreviewStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPreviewStateChangedEventArgs { type Vtable = IAppBroadcastPreviewStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPreviewStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPreviewStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a57f2de_8dea_4e86_90ad_03fc26b9653c); } @@ -614,15 +534,11 @@ pub struct IAppBroadcastPreviewStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPreviewStreamReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPreviewStreamReader { type Vtable = IAppBroadcastPreviewStreamReader_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPreviewStreamReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPreviewStreamReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92228d50_db3f_40a8_8cd4_f4e371ddab37); } @@ -653,15 +569,11 @@ pub struct IAppBroadcastPreviewStreamReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPreviewStreamVideoFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPreviewStreamVideoFrame { type Vtable = IAppBroadcastPreviewStreamVideoFrame_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPreviewStreamVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPreviewStreamVideoFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x010fbea1_94fe_4499_b8c0_8d244279fb12); } @@ -677,15 +589,11 @@ pub struct IAppBroadcastPreviewStreamVideoFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastPreviewStreamVideoHeader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastPreviewStreamVideoHeader { type Vtable = IAppBroadcastPreviewStreamVideoHeader_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastPreviewStreamVideoHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastPreviewStreamVideoHeader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bef6113_da84_4499_a7ab_87118cb4a157); } @@ -709,15 +617,11 @@ pub struct IAppBroadcastPreviewStreamVideoHeader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastProviderSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastProviderSettings { type Vtable = IAppBroadcastProviderSettings_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastProviderSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastProviderSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc30bdf62_9948_458f_ad50_aa06ec03da08); } @@ -742,15 +646,11 @@ pub struct IAppBroadcastProviderSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastServices(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastServices { type Vtable = IAppBroadcastServices_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8660b4d6_969b_4e3c_ac3a_8b042ee4ee63); } @@ -782,15 +682,11 @@ pub struct IAppBroadcastServices_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastSignInStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastSignInStateChangedEventArgs { type Vtable = IAppBroadcastSignInStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastSignInStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastSignInStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02b692a4_5919_4a9e_8d5e_c9bb0dd3377a); } @@ -803,15 +699,11 @@ pub struct IAppBroadcastSignInStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastState { type Vtable = IAppBroadcastState_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee08056d_8099_4ddd_922e_c56dac58abfb); } @@ -908,15 +800,11 @@ pub struct IAppBroadcastState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamAudioFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamAudioFrame { type Vtable = IAppBroadcastStreamAudioFrame_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamAudioFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamAudioFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefab4ac8_21ba_453f_8bb7_5e938a2e9a74); } @@ -932,15 +820,11 @@ pub struct IAppBroadcastStreamAudioFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamAudioHeader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamAudioHeader { type Vtable = IAppBroadcastStreamAudioHeader_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamAudioHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamAudioHeader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf21a570_6b78_4216_9f07_5aff5256f1b7); } @@ -965,15 +849,11 @@ pub struct IAppBroadcastStreamAudioHeader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamReader { type Vtable = IAppBroadcastStreamReader_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb338bcf9_3364_4460_b5f1_3cc2796a8aa2); } @@ -1012,15 +892,11 @@ pub struct IAppBroadcastStreamReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamStateChangedEventArgs { type Vtable = IAppBroadcastStreamStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5108a733_d008_4a89_93be_58aed961374e); } @@ -1032,15 +908,11 @@ pub struct IAppBroadcastStreamStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamVideoFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamVideoFrame { type Vtable = IAppBroadcastStreamVideoFrame_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamVideoFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f97cf2b_c9e4_4e88_8194_d814cbd585d8); } @@ -1056,15 +928,11 @@ pub struct IAppBroadcastStreamVideoFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastStreamVideoHeader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastStreamVideoHeader { type Vtable = IAppBroadcastStreamVideoHeader_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastStreamVideoHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastStreamVideoHeader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b9ebece_7e32_432d_8ca2_36bf10b9f462); } @@ -1090,15 +958,11 @@ pub struct IAppBroadcastStreamVideoHeader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastTriggerDetails { type Vtable = IAppBroadcastTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdeebab35_ec5e_4d8f_b1c0_5da6e8c75638); } @@ -1110,15 +974,11 @@ pub struct IAppBroadcastTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppBroadcastViewerCountChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppBroadcastViewerCountChangedEventArgs { type Vtable = IAppBroadcastViewerCountChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppBroadcastViewerCountChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppBroadcastViewerCountChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6e11825_5401_4ade_8bd2_c14ecee6807d); } @@ -1130,15 +990,11 @@ pub struct IAppBroadcastViewerCountChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCapture { type Vtable = IAppCapture_Vtbl; } -impl ::core::clone::Clone for IAppCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9749d453_a29a_45ed_8f29_22d09942cff7); } @@ -1159,15 +1015,11 @@ pub struct IAppCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureAlternateShortcutKeys(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureAlternateShortcutKeys { type Vtable = IAppCaptureAlternateShortcutKeys_Vtbl; } -impl ::core::clone::Clone for IAppCaptureAlternateShortcutKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureAlternateShortcutKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19e8e0ef_236c_40f9_b38f_9b7dd65d1ccc); } @@ -1258,15 +1110,11 @@ pub struct IAppCaptureAlternateShortcutKeys_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureAlternateShortcutKeys2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureAlternateShortcutKeys2 { type Vtable = IAppCaptureAlternateShortcutKeys2_Vtbl; } -impl ::core::clone::Clone for IAppCaptureAlternateShortcutKeys2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureAlternateShortcutKeys2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3669090_dd17_47f0_95e5_ce42286cf338); } @@ -1293,15 +1141,11 @@ pub struct IAppCaptureAlternateShortcutKeys2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureAlternateShortcutKeys3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureAlternateShortcutKeys3 { type Vtable = IAppCaptureAlternateShortcutKeys3_Vtbl; } -impl ::core::clone::Clone for IAppCaptureAlternateShortcutKeys3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureAlternateShortcutKeys3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b81448c_418e_469c_a49a_45b597c826b6); } @@ -1344,15 +1188,11 @@ pub struct IAppCaptureAlternateShortcutKeys3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureDurationGeneratedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureDurationGeneratedEventArgs { type Vtable = IAppCaptureDurationGeneratedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppCaptureDurationGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureDurationGeneratedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1f5563b_ffa1_44c9_975f_27fbeb553b35); } @@ -1367,15 +1207,11 @@ pub struct IAppCaptureDurationGeneratedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureFileGeneratedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureFileGeneratedEventArgs { type Vtable = IAppCaptureFileGeneratedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppCaptureFileGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureFileGeneratedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4189fbf4_465e_45bf_907f_165b3fb23758); } @@ -1390,15 +1226,11 @@ pub struct IAppCaptureFileGeneratedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureManagerStatics { type Vtable = IAppCaptureManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppCaptureManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d9e3ea7_6282_4735_8d4e_aa45f90f6723); } @@ -1411,15 +1243,11 @@ pub struct IAppCaptureManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureMetadataWriter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureMetadataWriter { type Vtable = IAppCaptureMetadataWriter_Vtbl; } -impl ::core::clone::Clone for IAppCaptureMetadataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureMetadataWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0ce4877_9aaf_46b4_ad31_6a60b441c780); } @@ -1447,15 +1275,11 @@ pub struct IAppCaptureMetadataWriter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureMicrophoneCaptureStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureMicrophoneCaptureStateChangedEventArgs { type Vtable = IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppCaptureMicrophoneCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureMicrophoneCaptureStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x324d249e_45bc_4c35_bc35_e469fc7a69e0); } @@ -1468,15 +1292,11 @@ pub struct IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureRecordOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureRecordOperation { type Vtable = IAppCaptureRecordOperation_Vtbl; } -impl ::core::clone::Clone for IAppCaptureRecordOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureRecordOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc66020a9_1538_495c_9bbb_2ba870ec5861); } @@ -1529,15 +1349,11 @@ pub struct IAppCaptureRecordOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureRecordingStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureRecordingStateChangedEventArgs { type Vtable = IAppCaptureRecordingStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppCaptureRecordingStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureRecordingStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24fc8712_e305_490d_b415_6b1c9049736b); } @@ -1550,15 +1366,11 @@ pub struct IAppCaptureRecordingStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureServices(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureServices { type Vtable = IAppCaptureServices_Vtbl; } -impl ::core::clone::Clone for IAppCaptureServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44fec0b5_34f5_4f18_ae8c_b9123abbfc0d); } @@ -1576,15 +1388,11 @@ pub struct IAppCaptureServices_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureSettings { type Vtable = IAppCaptureSettings_Vtbl; } -impl ::core::clone::Clone for IAppCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14683a86_8807_48d3_883a_970ee4532a39); } @@ -1649,15 +1457,11 @@ pub struct IAppCaptureSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureSettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureSettings2 { type Vtable = IAppCaptureSettings2_Vtbl; } -impl ::core::clone::Clone for IAppCaptureSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcb8cee7_e26b_476f_9b1a_ec342d2a8fde); } @@ -1670,15 +1474,11 @@ pub struct IAppCaptureSettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureSettings3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureSettings3 { type Vtable = IAppCaptureSettings3_Vtbl; } -impl ::core::clone::Clone for IAppCaptureSettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureSettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa93502fe_88c2_42d6_aaaa_40feffd75aec); } @@ -1691,15 +1491,11 @@ pub struct IAppCaptureSettings3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureSettings4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureSettings4 { type Vtable = IAppCaptureSettings4_Vtbl; } -impl ::core::clone::Clone for IAppCaptureSettings4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureSettings4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07c2774c_1a81_482f_a244_049d95f25b0b); } @@ -1718,15 +1514,11 @@ pub struct IAppCaptureSettings4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureSettings5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureSettings5 { type Vtable = IAppCaptureSettings5_Vtbl; } -impl ::core::clone::Clone for IAppCaptureSettings5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureSettings5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18894522_b0e8_4ba0_8f13_3eaa5fa4013b); } @@ -1741,15 +1533,11 @@ pub struct IAppCaptureSettings5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureState { type Vtable = IAppCaptureState_Vtbl; } -impl ::core::clone::Clone for IAppCaptureState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73134372_d4eb_44ce_9538_465f506ac4ea); } @@ -1783,15 +1571,11 @@ pub struct IAppCaptureState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureStatics { type Vtable = IAppCaptureStatics_Vtbl; } -impl ::core::clone::Clone for IAppCaptureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf922dd6c_0a7e_4e74_8b20_9c1f902d08a1); } @@ -1803,15 +1587,11 @@ pub struct IAppCaptureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCaptureStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCaptureStatics2 { type Vtable = IAppCaptureStatics2_Vtbl; } -impl ::core::clone::Clone for IAppCaptureStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCaptureStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2d881d4_836c_4da4_afd7_facc041e1cf3); } @@ -1826,15 +1606,11 @@ pub struct IAppCaptureStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraCaptureUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraCaptureUI { type Vtable = ICameraCaptureUI_Vtbl; } -impl ::core::clone::Clone for ICameraCaptureUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraCaptureUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48587540_6f93_4bb4_b8f3_e89e48948c91); } @@ -1851,15 +1627,11 @@ pub struct ICameraCaptureUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraCaptureUIPhotoCaptureSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraCaptureUIPhotoCaptureSettings { type Vtable = ICameraCaptureUIPhotoCaptureSettings_Vtbl; } -impl ::core::clone::Clone for ICameraCaptureUIPhotoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraCaptureUIPhotoCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9f5be97_3472_46a8_8a9e_04ce42ccc97d); } @@ -1892,15 +1664,11 @@ pub struct ICameraCaptureUIPhotoCaptureSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraCaptureUIVideoCaptureSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraCaptureUIVideoCaptureSettings { type Vtable = ICameraCaptureUIVideoCaptureSettings_Vtbl; } -impl ::core::clone::Clone for ICameraCaptureUIVideoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraCaptureUIVideoCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64e92d1f_a28d_425a_b84f_e568335ff24e); } @@ -1919,15 +1687,11 @@ pub struct ICameraCaptureUIVideoCaptureSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraOptionsUIStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraOptionsUIStatics { type Vtable = ICameraOptionsUIStatics_Vtbl; } -impl ::core::clone::Clone for ICameraOptionsUIStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraOptionsUIStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b0d5e34_3906_4b7d_946c_7bde844499ae); } @@ -1939,15 +1703,11 @@ pub struct ICameraOptionsUIStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedFrame { type Vtable = ICapturedFrame_Vtbl; } -impl ::core::clone::Clone for ICapturedFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dd2de1f_571b_44d8_8e80_a08a1578766e); } @@ -1960,15 +1720,11 @@ pub struct ICapturedFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedFrame2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedFrame2 { type Vtable = ICapturedFrame2_Vtbl; } -impl ::core::clone::Clone for ICapturedFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x543fa6d1_bd78_4866_adda_24314bc65dea); } @@ -1984,15 +1740,11 @@ pub struct ICapturedFrame2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedFrameControlValues(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedFrameControlValues { type Vtable = ICapturedFrameControlValues_Vtbl; } -impl ::core::clone::Clone for ICapturedFrameControlValues { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedFrameControlValues { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90c65b7f_4e0d_4ca4_882d_7a144fed0a90); } @@ -2039,15 +1791,11 @@ pub struct ICapturedFrameControlValues_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedFrameControlValues2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedFrameControlValues2 { type Vtable = ICapturedFrameControlValues2_Vtbl; } -impl ::core::clone::Clone for ICapturedFrameControlValues2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedFrameControlValues2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x500b2b88_06d2_4aa7_a7db_d37af73321d8); } @@ -2078,15 +1826,11 @@ pub struct ICapturedFrameControlValues2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedFrameWithSoftwareBitmap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedFrameWithSoftwareBitmap { type Vtable = ICapturedFrameWithSoftwareBitmap_Vtbl; } -impl ::core::clone::Clone for ICapturedFrameWithSoftwareBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedFrameWithSoftwareBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb58e8b6e_8503_49b5_9e86_897d26a3ff3d); } @@ -2101,15 +1845,11 @@ pub struct ICapturedFrameWithSoftwareBitmap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICapturedPhoto(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICapturedPhoto { type Vtable = ICapturedPhoto_Vtbl; } -impl ::core::clone::Clone for ICapturedPhoto { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICapturedPhoto { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0ce7e5a_cfcc_4d6c_8ad1_0869208aca16); } @@ -2122,15 +1862,11 @@ pub struct ICapturedPhoto_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServices(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServices { type Vtable = IGameBarServices_Vtbl; } -impl ::core::clone::Clone for IGameBarServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dbead57_50a6_499e_8c6c_d330a7311796); } @@ -2156,15 +1892,11 @@ pub struct IGameBarServices_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServicesCommandEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServicesCommandEventArgs { type Vtable = IGameBarServicesCommandEventArgs_Vtbl; } -impl ::core::clone::Clone for IGameBarServicesCommandEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServicesCommandEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa74226b2_f176_4fcf_8fbb_cf698b2eb8e0); } @@ -2177,15 +1909,11 @@ pub struct IGameBarServicesCommandEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServicesManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServicesManager { type Vtable = IGameBarServicesManager_Vtbl; } -impl ::core::clone::Clone for IGameBarServicesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServicesManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a4b9cfa_7f8b_4c60_9dbb_0bcd262dffc6); } @@ -2204,15 +1932,11 @@ pub struct IGameBarServicesManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServicesManagerGameBarServicesCreatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServicesManagerGameBarServicesCreatedEventArgs { type Vtable = IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGameBarServicesManagerGameBarServicesCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServicesManagerGameBarServicesCreatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xededbd9c_143e_49a3_a5ea_0b1995c8d46e); } @@ -2224,15 +1948,11 @@ pub struct IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServicesManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServicesManagerStatics { type Vtable = IGameBarServicesManagerStatics_Vtbl; } -impl ::core::clone::Clone for IGameBarServicesManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServicesManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34c1b616_ff25_4792_98f2_d3753f15ac13); } @@ -2244,15 +1964,11 @@ pub struct IGameBarServicesManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameBarServicesTargetInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameBarServicesTargetInfo { type Vtable = IGameBarServicesTargetInfo_Vtbl; } -impl ::core::clone::Clone for IGameBarServicesTargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameBarServicesTargetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4202f92_1611_4e05_b6ef_dfd737ae33b0); } @@ -2267,15 +1983,11 @@ pub struct IGameBarServicesTargetInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagMediaRecording(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagMediaRecording { type Vtable = ILowLagMediaRecording_Vtbl; } -impl ::core::clone::Clone for ILowLagMediaRecording { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagMediaRecording { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41c8baf7_ff3f_49f0_a477_f195e3ce5108); } @@ -2298,15 +2010,11 @@ pub struct ILowLagMediaRecording_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagMediaRecording2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagMediaRecording2 { type Vtable = ILowLagMediaRecording2_Vtbl; } -impl ::core::clone::Clone for ILowLagMediaRecording2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagMediaRecording2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6369c758_5644_41e2_97af_8ef56a25e225); } @@ -2325,15 +2033,11 @@ pub struct ILowLagMediaRecording2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagMediaRecording3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagMediaRecording3 { type Vtable = ILowLagMediaRecording3_Vtbl; } -impl ::core::clone::Clone for ILowLagMediaRecording3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagMediaRecording3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c33ab12_48f7_47da_b41e_90880a5fe0ec); } @@ -2352,15 +2056,11 @@ pub struct ILowLagMediaRecording3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagPhotoCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagPhotoCapture { type Vtable = ILowLagPhotoCapture_Vtbl; } -impl ::core::clone::Clone for ILowLagPhotoCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagPhotoCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa37251b7_6b44_473d_8f24_f703d6c0ec44); } @@ -2379,15 +2079,11 @@ pub struct ILowLagPhotoCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagPhotoSequenceCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagPhotoSequenceCapture { type Vtable = ILowLagPhotoSequenceCapture_Vtbl; } -impl ::core::clone::Clone for ILowLagPhotoSequenceCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagPhotoSequenceCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cc346bb_b9a9_4c91_8ffa_287e9c668669); } @@ -2418,15 +2114,11 @@ pub struct ILowLagPhotoSequenceCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture { type Vtable = IMediaCapture_Vtbl; } -impl ::core::clone::Clone for IMediaCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc61afbb4_fb10_4a34_ac18_ca80d9c8e7ee); } @@ -2514,15 +2206,11 @@ pub struct IMediaCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture2 { type Vtable = IMediaCapture2_Vtbl; } -impl ::core::clone::Clone for IMediaCapture2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cc68260_7da1_4043_b652_21b8878daff9); } @@ -2561,15 +2249,11 @@ pub struct IMediaCapture2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture3 { type Vtable = IMediaCapture3_Vtbl; } -impl ::core::clone::Clone for IMediaCapture3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4136f30_1564_466e_bc0a_af94e02ab016); } @@ -2600,15 +2284,11 @@ pub struct IMediaCapture3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture4 { type Vtable = IMediaCapture4_Vtbl; } -impl ::core::clone::Clone for IMediaCapture4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbacd6fd6_fb08_4947_aea2_ce14eff0ce13); } @@ -2668,15 +2348,11 @@ pub struct IMediaCapture4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture5 { type Vtable = IMediaCapture5_Vtbl; } -impl ::core::clone::Clone for IMediaCapture5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda787c22_3a9b_4720_a71e_97900a316e5a); } @@ -2715,15 +2391,11 @@ pub struct IMediaCapture5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture6 { type Vtable = IMediaCapture6_Vtbl; } -impl ::core::clone::Clone for IMediaCapture6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x228948bd_4b20_4bb1_9fd6_a583212a1012); } @@ -2746,15 +2418,11 @@ pub struct IMediaCapture6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapture7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapture7 { type Vtable = IMediaCapture7_Vtbl; } -impl ::core::clone::Clone for IMediaCapture7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapture7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9169f102_8888_541a_95bc_24e4d462542a); } @@ -2769,15 +2437,11 @@ pub struct IMediaCapture7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs { type Vtable = IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d2f920d_a588_43c6_89d6_5ad322af006a); } @@ -2790,15 +2454,11 @@ pub struct IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureFailedEventArgs { type Vtable = IMediaCaptureFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80fde3f4_54c4_42c0_8d19_cea1a87ca18b); } @@ -2811,15 +2471,11 @@ pub struct IMediaCaptureFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureFocusChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureFocusChangedEventArgs { type Vtable = IMediaCaptureFocusChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureFocusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureFocusChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81e1bc7f_2277_493e_abee_d3f44ff98c04); } @@ -2834,15 +2490,11 @@ pub struct IMediaCaptureFocusChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings { type Vtable = IMediaCaptureInitializationSettings_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9782ba70_ea65_4900_9356_8ca887726884); } @@ -2861,15 +2513,11 @@ pub struct IMediaCaptureInitializationSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings2 { type Vtable = IMediaCaptureInitializationSettings2_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x404e0626_c9dc_43e9_aee4_e6bf1b57b44c); } @@ -2884,15 +2532,11 @@ pub struct IMediaCaptureInitializationSettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings3 { type Vtable = IMediaCaptureInitializationSettings3_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4160519d_be48_4730_8104_0cf6e9e97948); } @@ -2919,15 +2563,11 @@ pub struct IMediaCaptureInitializationSettings3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings4 { type Vtable = IMediaCaptureInitializationSettings4_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf502a537_4cb7_4d28_95ed_4f9f012e0518); } @@ -2946,15 +2586,11 @@ pub struct IMediaCaptureInitializationSettings4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings5 { type Vtable = IMediaCaptureInitializationSettings5_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5a2e3b8_2626_4e94_b7b3_5308a0f64b1a); } @@ -2977,15 +2613,11 @@ pub struct IMediaCaptureInitializationSettings5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings6 { type Vtable = IMediaCaptureInitializationSettings6_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2e26b47_3db1_4d33_ab63_0ffa09056585); } @@ -2998,15 +2630,11 @@ pub struct IMediaCaptureInitializationSettings6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureInitializationSettings7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureInitializationSettings7 { type Vtable = IMediaCaptureInitializationSettings7_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureInitializationSettings7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureInitializationSettings7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41546967_f58a_5d82_9ef4_ed572fb5e34e); } @@ -3033,15 +2661,11 @@ pub struct IMediaCaptureInitializationSettings7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCapturePauseResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCapturePauseResult { type Vtable = IMediaCapturePauseResult_Vtbl; } -impl ::core::clone::Clone for IMediaCapturePauseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCapturePauseResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec47ca3_4477_4b04_a06f_2c1c5182fe9d); } @@ -3057,15 +2681,11 @@ pub struct IMediaCapturePauseResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureRelativePanelWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureRelativePanelWatcher { type Vtable = IMediaCaptureRelativePanelWatcher_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureRelativePanelWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureRelativePanelWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d896566_04be_5b89_b30e_bd34a9f12db0); } @@ -3090,15 +2710,11 @@ pub struct IMediaCaptureRelativePanelWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureSettings { type Vtable = IMediaCaptureSettings_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d83aafe_6d45_4477_8dc4_ac5bc01c4091); } @@ -3114,15 +2730,11 @@ pub struct IMediaCaptureSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureSettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureSettings2 { type Vtable = IMediaCaptureSettings2_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f9e7cfb_fa9f_4b13_9cbe_5ab94f1f3493); } @@ -3150,15 +2762,11 @@ pub struct IMediaCaptureSettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureSettings3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureSettings3 { type Vtable = IMediaCaptureSettings3_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureSettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureSettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x303c67c2_8058_4b1b_b877_8c2ef3528440); } @@ -3173,15 +2781,11 @@ pub struct IMediaCaptureSettings3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureStatics { type Vtable = IMediaCaptureStatics_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacef81ff_99ed_4645_965e_1925cfc63834); } @@ -3205,15 +2809,11 @@ pub struct IMediaCaptureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureStopResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureStopResult { type Vtable = IMediaCaptureStopResult_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureStopResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureStopResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9db6a2a_a092_4ad1_97d4_f201f9d082db); } @@ -3229,15 +2829,11 @@ pub struct IMediaCaptureStopResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureVideoPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureVideoPreview { type Vtable = IMediaCaptureVideoPreview_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureVideoPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureVideoPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27727073_549e_447f_a20a_4f03c479d8c0); } @@ -3264,15 +2860,11 @@ pub struct IMediaCaptureVideoPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureVideoProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureVideoProfile { type Vtable = IMediaCaptureVideoProfile_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureVideoProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureVideoProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21a073bf_a3ee_4ecf_9ef6_50b0bc4e1305); } @@ -3301,15 +2893,11 @@ pub struct IMediaCaptureVideoProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureVideoProfile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureVideoProfile2 { type Vtable = IMediaCaptureVideoProfile2_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureVideoProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureVideoProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97ddc95f_94ce_468f_9316_fc5bc2638f6b); } @@ -3328,15 +2916,11 @@ pub struct IMediaCaptureVideoProfile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureVideoProfileMediaDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureVideoProfileMediaDescription { type Vtable = IMediaCaptureVideoProfileMediaDescription_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureVideoProfileMediaDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureVideoProfileMediaDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8012afef_b691_49ff_83f2_c1e76eaaea1b); } @@ -3358,15 +2942,11 @@ pub struct IMediaCaptureVideoProfileMediaDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCaptureVideoProfileMediaDescription2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCaptureVideoProfileMediaDescription2 { type Vtable = IMediaCaptureVideoProfileMediaDescription2_Vtbl; } -impl ::core::clone::Clone for IMediaCaptureVideoProfileMediaDescription2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCaptureVideoProfileMediaDescription2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6a6ef13_322d_413a_b85a_68a88e02f4e9); } @@ -3382,15 +2962,11 @@ pub struct IMediaCaptureVideoProfileMediaDescription2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOptionalReferencePhotoCapturedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOptionalReferencePhotoCapturedEventArgs { type Vtable = IOptionalReferencePhotoCapturedEventArgs_Vtbl; } -impl ::core::clone::Clone for IOptionalReferencePhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOptionalReferencePhotoCapturedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x470f88b3_1e6d_4051_9c8b_f1d85af047b7); } @@ -3403,15 +2979,11 @@ pub struct IOptionalReferencePhotoCapturedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoCapturedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoCapturedEventArgs { type Vtable = IPhotoCapturedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoCapturedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x373bfbc1_984e_4ff0_bf85_1c00aabc5a45); } @@ -3428,15 +3000,11 @@ pub struct IPhotoCapturedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoConfirmationCapturedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoConfirmationCapturedEventArgs { type Vtable = IPhotoConfirmationCapturedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhotoConfirmationCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoConfirmationCapturedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab473672_c28a_4827_8f8d_3636d3beb51e); } @@ -3452,15 +3020,11 @@ pub struct IPhotoConfirmationCapturedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScreenCapture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScreenCapture { type Vtable = IScreenCapture_Vtbl; } -impl ::core::clone::Clone for IScreenCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScreenCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89179ef7_cd12_4e0e_a6d4_5b3de98b2e9b); } @@ -3489,15 +3053,11 @@ pub struct IScreenCapture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScreenCaptureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScreenCaptureStatics { type Vtable = IScreenCaptureStatics_Vtbl; } -impl ::core::clone::Clone for IScreenCaptureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScreenCaptureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc898c3b0_c8a5_11e2_8b8b_0800200c9a66); } @@ -3509,15 +3069,11 @@ pub struct IScreenCaptureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISourceSuspensionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISourceSuspensionChangedEventArgs { type Vtable = ISourceSuspensionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISourceSuspensionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISourceSuspensionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ece7b5e_d49b_4394_bc32_f97d6cedec1c); } @@ -3530,15 +3086,11 @@ pub struct ISourceSuspensionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStreamConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStreamConfiguration { type Vtable = IVideoStreamConfiguration_Vtbl; } -impl ::core::clone::Clone for IVideoStreamConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStreamConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8770a6f_4390_4b5e_ad3e_0f8af0963490); } @@ -3557,6 +3109,7 @@ pub struct IVideoStreamConfiguration_Vtbl { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvancedCapturedPhoto(::windows_core::IUnknown); impl AdvancedCapturedPhoto { pub fn Frame(&self) -> ::windows_core::Result { @@ -3592,25 +3145,9 @@ impl AdvancedCapturedPhoto { } } } -impl ::core::cmp::PartialEq for AdvancedCapturedPhoto { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvancedCapturedPhoto {} -impl ::core::fmt::Debug for AdvancedCapturedPhoto { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvancedCapturedPhoto").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvancedCapturedPhoto { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedCapturedPhoto;{f072728b-b292-4491-9d41-99807a550bbf})"); } -impl ::core::clone::Clone for AdvancedCapturedPhoto { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvancedCapturedPhoto { type Vtable = IAdvancedCapturedPhoto_Vtbl; } @@ -3625,6 +3162,7 @@ unsafe impl ::core::marker::Send for AdvancedCapturedPhoto {} unsafe impl ::core::marker::Sync for AdvancedCapturedPhoto {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvancedPhotoCapture(::windows_core::IUnknown); impl AdvancedPhotoCapture { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3694,25 +3232,9 @@ impl AdvancedPhotoCapture { } } } -impl ::core::cmp::PartialEq for AdvancedPhotoCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvancedPhotoCapture {} -impl ::core::fmt::Debug for AdvancedPhotoCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvancedPhotoCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvancedPhotoCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AdvancedPhotoCapture;{83ffaafa-6667-44dc-973c-a6bce596aa0f})"); } -impl ::core::clone::Clone for AdvancedPhotoCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvancedPhotoCapture { type Vtable = IAdvancedPhotoCapture_Vtbl; } @@ -3727,6 +3249,7 @@ unsafe impl ::core::marker::Send for AdvancedPhotoCapture {} unsafe impl ::core::marker::Sync for AdvancedPhotoCapture {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastBackgroundService(::windows_core::IUnknown); impl AppBroadcastBackgroundService { pub fn SetPlugInState(&self, value: AppBroadcastPlugInState) -> ::windows_core::Result<()> { @@ -3903,25 +3426,9 @@ impl AppBroadcastBackgroundService { unsafe { (::windows_core::Interface::vtable(this).RemoveBroadcastChannelChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastBackgroundService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastBackgroundService {} -impl ::core::fmt::Debug for AppBroadcastBackgroundService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastBackgroundService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastBackgroundService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundService;{bad1e72a-fa94-46f9-95fc-d71511cda70b})"); } -impl ::core::clone::Clone for AppBroadcastBackgroundService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastBackgroundService { type Vtable = IAppBroadcastBackgroundService_Vtbl; } @@ -3934,6 +3441,7 @@ impl ::windows_core::RuntimeName for AppBroadcastBackgroundService { ::windows_core::imp::interface_hierarchy!(AppBroadcastBackgroundService, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastBackgroundServiceSignInInfo(::windows_core::IUnknown); impl AppBroadcastBackgroundServiceSignInInfo { pub fn SignInState(&self) -> ::windows_core::Result { @@ -4036,25 +3544,9 @@ impl AppBroadcastBackgroundServiceSignInInfo { unsafe { (::windows_core::Interface::vtable(this).RemoveUserNameChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastBackgroundServiceSignInInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastBackgroundServiceSignInInfo {} -impl ::core::fmt::Debug for AppBroadcastBackgroundServiceSignInInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastBackgroundServiceSignInInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastBackgroundServiceSignInInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceSignInInfo;{5e735275-88c8-4eca-89ba-4825985db880})"); } -impl ::core::clone::Clone for AppBroadcastBackgroundServiceSignInInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastBackgroundServiceSignInInfo { type Vtable = IAppBroadcastBackgroundServiceSignInInfo_Vtbl; } @@ -4067,6 +3559,7 @@ impl ::windows_core::RuntimeName for AppBroadcastBackgroundServiceSignInInfo { ::windows_core::imp::interface_hierarchy!(AppBroadcastBackgroundServiceSignInInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastBackgroundServiceStreamInfo(::windows_core::IUnknown); impl AppBroadcastBackgroundServiceStreamInfo { pub fn StreamState(&self) -> ::windows_core::Result { @@ -4175,25 +3668,9 @@ impl AppBroadcastBackgroundServiceStreamInfo { unsafe { (::windows_core::Interface::vtable(this).ReportProblemWithStream)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastBackgroundServiceStreamInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastBackgroundServiceStreamInfo {} -impl ::core::fmt::Debug for AppBroadcastBackgroundServiceStreamInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastBackgroundServiceStreamInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastBackgroundServiceStreamInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastBackgroundServiceStreamInfo;{31dc02bc-990a-4904-aa96-fe364381f136})"); } -impl ::core::clone::Clone for AppBroadcastBackgroundServiceStreamInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastBackgroundServiceStreamInfo { type Vtable = IAppBroadcastBackgroundServiceStreamInfo_Vtbl; } @@ -4206,6 +3683,7 @@ impl ::windows_core::RuntimeName for AppBroadcastBackgroundServiceStreamInfo { ::windows_core::imp::interface_hierarchy!(AppBroadcastBackgroundServiceStreamInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastCameraCaptureStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastCameraCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -4223,25 +3701,9 @@ impl AppBroadcastCameraCaptureStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastCameraCaptureStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastCameraCaptureStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastCameraCaptureStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastCameraCaptureStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastCameraCaptureStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastCameraCaptureStateChangedEventArgs;{1e334cd0-b882-4b88-8692-05999aceb70f})"); } -impl ::core::clone::Clone for AppBroadcastCameraCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastCameraCaptureStateChangedEventArgs { type Vtable = IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl; } @@ -4256,6 +3718,7 @@ unsafe impl ::core::marker::Send for AppBroadcastCameraCaptureStateChangedEventA unsafe impl ::core::marker::Sync for AppBroadcastCameraCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastGlobalSettings(::windows_core::IUnknown); impl AppBroadcastGlobalSettings { pub fn IsBroadcastEnabled(&self) -> ::windows_core::Result { @@ -4397,25 +3860,9 @@ impl AppBroadcastGlobalSettings { } } } -impl ::core::cmp::PartialEq for AppBroadcastGlobalSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastGlobalSettings {} -impl ::core::fmt::Debug for AppBroadcastGlobalSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastGlobalSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastGlobalSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastGlobalSettings;{b2cb27a5-70fc-4e17-80bd-6ba0fd3ff3a0})"); } -impl ::core::clone::Clone for AppBroadcastGlobalSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastGlobalSettings { type Vtable = IAppBroadcastGlobalSettings_Vtbl; } @@ -4428,6 +3875,7 @@ impl ::windows_core::RuntimeName for AppBroadcastGlobalSettings { ::windows_core::imp::interface_hierarchy!(AppBroadcastGlobalSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastHeartbeatRequestedEventArgs(::windows_core::IUnknown); impl AppBroadcastHeartbeatRequestedEventArgs { pub fn SetHandled(&self, value: bool) -> ::windows_core::Result<()> { @@ -4442,25 +3890,9 @@ impl AppBroadcastHeartbeatRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastHeartbeatRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastHeartbeatRequestedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastHeartbeatRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastHeartbeatRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastHeartbeatRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastHeartbeatRequestedEventArgs;{cea54283-ee51-4dbf-9472-79a9ed4e2165})"); } -impl ::core::clone::Clone for AppBroadcastHeartbeatRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastHeartbeatRequestedEventArgs { type Vtable = IAppBroadcastHeartbeatRequestedEventArgs_Vtbl; } @@ -4509,6 +3941,7 @@ impl ::windows_core::RuntimeName for AppBroadcastManager { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastMicrophoneCaptureStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -4526,25 +3959,9 @@ impl AppBroadcastMicrophoneCaptureStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastMicrophoneCaptureStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastMicrophoneCaptureStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastMicrophoneCaptureStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastMicrophoneCaptureStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastMicrophoneCaptureStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs;{a86ad5e9-9440-4908-9d09-65b7e315d795})"); } -impl ::core::clone::Clone for AppBroadcastMicrophoneCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastMicrophoneCaptureStateChangedEventArgs { type Vtable = IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl; } @@ -4559,6 +3976,7 @@ unsafe impl ::core::marker::Send for AppBroadcastMicrophoneCaptureStateChangedEv unsafe impl ::core::marker::Sync for AppBroadcastMicrophoneCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPlugIn(::windows_core::IUnknown); impl AppBroadcastPlugIn { pub fn AppId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4592,25 +4010,9 @@ impl AppBroadcastPlugIn { } } } -impl ::core::cmp::PartialEq for AppBroadcastPlugIn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPlugIn {} -impl ::core::fmt::Debug for AppBroadcastPlugIn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPlugIn").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPlugIn { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugIn;{520c1e66-6513-4574-ac54-23b79729615b})"); } -impl ::core::clone::Clone for AppBroadcastPlugIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPlugIn { type Vtable = IAppBroadcastPlugIn_Vtbl; } @@ -4625,6 +4027,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPlugIn {} unsafe impl ::core::marker::Sync for AppBroadcastPlugIn {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPlugInManager(::windows_core::IUnknown); impl AppBroadcastPlugInManager { pub fn IsBroadcastProviderAvailable(&self) -> ::windows_core::Result { @@ -4680,25 +4083,9 @@ impl AppBroadcastPlugInManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppBroadcastPlugInManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPlugInManager {} -impl ::core::fmt::Debug for AppBroadcastPlugInManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPlugInManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPlugInManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInManager;{e550d979-27a1-49a7-bbf4-d7a9e9d07668})"); } -impl ::core::clone::Clone for AppBroadcastPlugInManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPlugInManager { type Vtable = IAppBroadcastPlugInManager_Vtbl; } @@ -4713,6 +4100,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPlugInManager {} unsafe impl ::core::marker::Sync for AppBroadcastPlugInManager {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPlugInStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastPlugInStateChangedEventArgs { pub fn PlugInState(&self) -> ::windows_core::Result { @@ -4723,25 +4111,9 @@ impl AppBroadcastPlugInStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastPlugInStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPlugInStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastPlugInStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPlugInStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPlugInStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPlugInStateChangedEventArgs;{4881d0f2-abc5-4fc6-84b0-89370bb47212})"); } -impl ::core::clone::Clone for AppBroadcastPlugInStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPlugInStateChangedEventArgs { type Vtable = IAppBroadcastPlugInStateChangedEventArgs_Vtbl; } @@ -4756,6 +4128,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPlugInStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastPlugInStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPreview(::windows_core::IUnknown); impl AppBroadcastPreview { pub fn StopPreview(&self) -> ::windows_core::Result<()> { @@ -4804,25 +4177,9 @@ impl AppBroadcastPreview { } } } -impl ::core::cmp::PartialEq for AppBroadcastPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPreview {} -impl ::core::fmt::Debug for AppBroadcastPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreview;{14b60f5a-6e4a-4b80-a14f-67ee77d153e7})"); } -impl ::core::clone::Clone for AppBroadcastPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPreview { type Vtable = IAppBroadcastPreview_Vtbl; } @@ -4837,6 +4194,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPreview {} unsafe impl ::core::marker::Sync for AppBroadcastPreview {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPreviewStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastPreviewStateChangedEventArgs { pub fn PreviewState(&self) -> ::windows_core::Result { @@ -4854,25 +4212,9 @@ impl AppBroadcastPreviewStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastPreviewStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPreviewStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastPreviewStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPreviewStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPreviewStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStateChangedEventArgs;{5a57f2de-8dea-4e86-90ad-03fc26b9653c})"); } -impl ::core::clone::Clone for AppBroadcastPreviewStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPreviewStateChangedEventArgs { type Vtable = IAppBroadcastPreviewStateChangedEventArgs_Vtbl; } @@ -4887,6 +4229,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPreviewStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPreviewStreamReader(::windows_core::IUnknown); impl AppBroadcastPreviewStreamReader { pub fn VideoWidth(&self) -> ::windows_core::Result { @@ -4954,25 +4297,9 @@ impl AppBroadcastPreviewStreamReader { unsafe { (::windows_core::Interface::vtable(this).RemoveVideoFrameArrived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastPreviewStreamReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPreviewStreamReader {} -impl ::core::fmt::Debug for AppBroadcastPreviewStreamReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPreviewStreamReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPreviewStreamReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamReader;{92228d50-db3f-40a8-8cd4-f4e371ddab37})"); } -impl ::core::clone::Clone for AppBroadcastPreviewStreamReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPreviewStreamReader { type Vtable = IAppBroadcastPreviewStreamReader_Vtbl; } @@ -4987,6 +4314,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamReader {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamReader {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPreviewStreamVideoFrame(::windows_core::IUnknown); impl AppBroadcastPreviewStreamVideoFrame { pub fn VideoHeader(&self) -> ::windows_core::Result { @@ -5006,25 +4334,9 @@ impl AppBroadcastPreviewStreamVideoFrame { } } } -impl ::core::cmp::PartialEq for AppBroadcastPreviewStreamVideoFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPreviewStreamVideoFrame {} -impl ::core::fmt::Debug for AppBroadcastPreviewStreamVideoFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPreviewStreamVideoFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastPreviewStreamVideoFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoFrame;{010fbea1-94fe-4499-b8c0-8d244279fb12})"); } -impl ::core::clone::Clone for AppBroadcastPreviewStreamVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastPreviewStreamVideoFrame { type Vtable = IAppBroadcastPreviewStreamVideoFrame_Vtbl; } @@ -5039,6 +4351,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamVideoFrame {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamVideoFrame {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastPreviewStreamVideoHeader(::windows_core::IUnknown); impl AppBroadcastPreviewStreamVideoHeader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5076,24 +4389,8 @@ impl AppBroadcastPreviewStreamVideoHeader { } } } -impl ::core::cmp::PartialEq for AppBroadcastPreviewStreamVideoHeader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastPreviewStreamVideoHeader {} -impl ::core::fmt::Debug for AppBroadcastPreviewStreamVideoHeader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastPreviewStreamVideoHeader").field(&self.0).finish() - } -} -impl ::windows_core::RuntimeType for AppBroadcastPreviewStreamVideoHeader { - const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader;{8bef6113-da84-4499-a7ab-87118cb4a157})"); -} -impl ::core::clone::Clone for AppBroadcastPreviewStreamVideoHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +impl ::windows_core::RuntimeType for AppBroadcastPreviewStreamVideoHeader { + const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastPreviewStreamVideoHeader;{8bef6113-da84-4499-a7ab-87118cb4a157})"); } unsafe impl ::windows_core::Interface for AppBroadcastPreviewStreamVideoHeader { type Vtable = IAppBroadcastPreviewStreamVideoHeader_Vtbl; @@ -5109,6 +4406,7 @@ unsafe impl ::core::marker::Send for AppBroadcastPreviewStreamVideoHeader {} unsafe impl ::core::marker::Sync for AppBroadcastPreviewStreamVideoHeader {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastProviderSettings(::windows_core::IUnknown); impl AppBroadcastProviderSettings { pub fn SetDefaultBroadcastTitle(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -5189,25 +4487,9 @@ impl AppBroadcastProviderSettings { } } } -impl ::core::cmp::PartialEq for AppBroadcastProviderSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastProviderSettings {} -impl ::core::fmt::Debug for AppBroadcastProviderSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastProviderSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastProviderSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastProviderSettings;{c30bdf62-9948-458f-ad50-aa06ec03da08})"); } -impl ::core::clone::Clone for AppBroadcastProviderSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastProviderSettings { type Vtable = IAppBroadcastProviderSettings_Vtbl; } @@ -5220,6 +4502,7 @@ impl ::windows_core::RuntimeName for AppBroadcastProviderSettings { ::windows_core::imp::interface_hierarchy!(AppBroadcastProviderSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastServices(::windows_core::IUnknown); impl AppBroadcastServices { pub fn CaptureTargetType(&self) -> ::windows_core::Result { @@ -5314,25 +4597,9 @@ impl AppBroadcastServices { } } } -impl ::core::cmp::PartialEq for AppBroadcastServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastServices {} -impl ::core::fmt::Debug for AppBroadcastServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastServices").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastServices { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastServices;{8660b4d6-969b-4e3c-ac3a-8b042ee4ee63})"); } -impl ::core::clone::Clone for AppBroadcastServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastServices { type Vtable = IAppBroadcastServices_Vtbl; } @@ -5347,6 +4614,7 @@ unsafe impl ::core::marker::Send for AppBroadcastServices {} unsafe impl ::core::marker::Sync for AppBroadcastServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastSignInStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastSignInStateChangedEventArgs { pub fn SignInState(&self) -> ::windows_core::Result { @@ -5364,25 +4632,9 @@ impl AppBroadcastSignInStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastSignInStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastSignInStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastSignInStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastSignInStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastSignInStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastSignInStateChangedEventArgs;{02b692a4-5919-4a9e-8d5e-c9bb0dd3377a})"); } -impl ::core::clone::Clone for AppBroadcastSignInStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastSignInStateChangedEventArgs { type Vtable = IAppBroadcastSignInStateChangedEventArgs_Vtbl; } @@ -5395,6 +4647,7 @@ impl ::windows_core::RuntimeName for AppBroadcastSignInStateChangedEventArgs { ::windows_core::imp::interface_hierarchy!(AppBroadcastSignInStateChangedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastState(::windows_core::IUnknown); impl AppBroadcastState { pub fn IsCaptureTargetRunning(&self) -> ::windows_core::Result { @@ -5662,25 +4915,9 @@ impl AppBroadcastState { unsafe { (::windows_core::Interface::vtable(this).RemoveCaptureTargetClosed)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastState {} -impl ::core::fmt::Debug for AppBroadcastState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastState;{ee08056d-8099-4ddd-922e-c56dac58abfb})"); } -impl ::core::clone::Clone for AppBroadcastState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastState { type Vtable = IAppBroadcastState_Vtbl; } @@ -5695,6 +4932,7 @@ unsafe impl ::core::marker::Send for AppBroadcastState {} unsafe impl ::core::marker::Sync for AppBroadcastState {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamAudioFrame(::windows_core::IUnknown); impl AppBroadcastStreamAudioFrame { pub fn AudioHeader(&self) -> ::windows_core::Result { @@ -5714,25 +4952,9 @@ impl AppBroadcastStreamAudioFrame { } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamAudioFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamAudioFrame {} -impl ::core::fmt::Debug for AppBroadcastStreamAudioFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamAudioFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamAudioFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioFrame;{efab4ac8-21ba-453f-8bb7-5e938a2e9a74})"); } -impl ::core::clone::Clone for AppBroadcastStreamAudioFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamAudioFrame { type Vtable = IAppBroadcastStreamAudioFrame_Vtbl; } @@ -5745,6 +4967,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamAudioFrame { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamAudioFrame, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamAudioHeader(::windows_core::IUnknown); impl AppBroadcastStreamAudioHeader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5789,25 +5012,9 @@ impl AppBroadcastStreamAudioHeader { } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamAudioHeader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamAudioHeader {} -impl ::core::fmt::Debug for AppBroadcastStreamAudioHeader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamAudioHeader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamAudioHeader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamAudioHeader;{bf21a570-6b78-4216-9f07-5aff5256f1b7})"); } -impl ::core::clone::Clone for AppBroadcastStreamAudioHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamAudioHeader { type Vtable = IAppBroadcastStreamAudioHeader_Vtbl; } @@ -5820,6 +5027,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamAudioHeader { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamAudioHeader, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamReader(::windows_core::IUnknown); impl AppBroadcastStreamReader { pub fn AudioChannels(&self) -> ::windows_core::Result { @@ -5924,25 +5132,9 @@ impl AppBroadcastStreamReader { unsafe { (::windows_core::Interface::vtable(this).RemoveVideoFrameArrived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamReader {} -impl ::core::fmt::Debug for AppBroadcastStreamReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamReader;{b338bcf9-3364-4460-b5f1-3cc2796a8aa2})"); } -impl ::core::clone::Clone for AppBroadcastStreamReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamReader { type Vtable = IAppBroadcastStreamReader_Vtbl; } @@ -5955,6 +5147,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamReader { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamReader, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamStateChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastStreamStateChangedEventArgs { pub fn StreamState(&self) -> ::windows_core::Result { @@ -5965,25 +5158,9 @@ impl AppBroadcastStreamStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamStateChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastStreamStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamStateChangedEventArgs;{5108a733-d008-4a89-93be-58aed961374e})"); } -impl ::core::clone::Clone for AppBroadcastStreamStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamStateChangedEventArgs { type Vtable = IAppBroadcastStreamStateChangedEventArgs_Vtbl; } @@ -5996,6 +5173,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamStateChangedEventArgs { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamStateChangedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamVideoFrame(::windows_core::IUnknown); impl AppBroadcastStreamVideoFrame { pub fn VideoHeader(&self) -> ::windows_core::Result { @@ -6015,25 +5193,9 @@ impl AppBroadcastStreamVideoFrame { } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamVideoFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamVideoFrame {} -impl ::core::fmt::Debug for AppBroadcastStreamVideoFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamVideoFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamVideoFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoFrame;{0f97cf2b-c9e4-4e88-8194-d814cbd585d8})"); } -impl ::core::clone::Clone for AppBroadcastStreamVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamVideoFrame { type Vtable = IAppBroadcastStreamVideoFrame_Vtbl; } @@ -6046,6 +5208,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamVideoFrame { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamVideoFrame, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastStreamVideoHeader(::windows_core::IUnknown); impl AppBroadcastStreamVideoHeader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6097,25 +5260,9 @@ impl AppBroadcastStreamVideoHeader { } } } -impl ::core::cmp::PartialEq for AppBroadcastStreamVideoHeader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastStreamVideoHeader {} -impl ::core::fmt::Debug for AppBroadcastStreamVideoHeader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastStreamVideoHeader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastStreamVideoHeader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastStreamVideoHeader;{0b9ebece-7e32-432d-8ca2-36bf10b9f462})"); } -impl ::core::clone::Clone for AppBroadcastStreamVideoHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastStreamVideoHeader { type Vtable = IAppBroadcastStreamVideoHeader_Vtbl; } @@ -6128,6 +5275,7 @@ impl ::windows_core::RuntimeName for AppBroadcastStreamVideoHeader { ::windows_core::imp::interface_hierarchy!(AppBroadcastStreamVideoHeader, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastTriggerDetails(::windows_core::IUnknown); impl AppBroadcastTriggerDetails { pub fn BackgroundService(&self) -> ::windows_core::Result { @@ -6138,25 +5286,9 @@ impl AppBroadcastTriggerDetails { } } } -impl ::core::cmp::PartialEq for AppBroadcastTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastTriggerDetails {} -impl ::core::fmt::Debug for AppBroadcastTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastTriggerDetails;{deebab35-ec5e-4d8f-b1c0-5da6e8c75638})"); } -impl ::core::clone::Clone for AppBroadcastTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastTriggerDetails { type Vtable = IAppBroadcastTriggerDetails_Vtbl; } @@ -6169,6 +5301,7 @@ impl ::windows_core::RuntimeName for AppBroadcastTriggerDetails { ::windows_core::imp::interface_hierarchy!(AppBroadcastTriggerDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppBroadcastViewerCountChangedEventArgs(::windows_core::IUnknown); impl AppBroadcastViewerCountChangedEventArgs { pub fn ViewerCount(&self) -> ::windows_core::Result { @@ -6179,25 +5312,9 @@ impl AppBroadcastViewerCountChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppBroadcastViewerCountChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppBroadcastViewerCountChangedEventArgs {} -impl ::core::fmt::Debug for AppBroadcastViewerCountChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppBroadcastViewerCountChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppBroadcastViewerCountChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppBroadcastViewerCountChangedEventArgs;{e6e11825-5401-4ade-8bd2-c14ecee6807d})"); } -impl ::core::clone::Clone for AppBroadcastViewerCountChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppBroadcastViewerCountChangedEventArgs { type Vtable = IAppBroadcastViewerCountChangedEventArgs_Vtbl; } @@ -6212,6 +5329,7 @@ unsafe impl ::core::marker::Send for AppBroadcastViewerCountChangedEventArgs {} unsafe impl ::core::marker::Sync for AppBroadcastViewerCountChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCapture(::windows_core::IUnknown); impl AppCapture { pub fn IsCapturingAudio(&self) -> ::windows_core::Result { @@ -6271,25 +5389,9 @@ impl AppCapture { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCapture {} -impl ::core::fmt::Debug for AppCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCapture;{9749d453-a29a-45ed-8f29-22d09942cff7})"); } -impl ::core::clone::Clone for AppCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCapture { type Vtable = IAppCapture_Vtbl; } @@ -6302,6 +5404,7 @@ impl ::windows_core::RuntimeName for AppCapture { ::windows_core::imp::interface_hierarchy!(AppCapture, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureAlternateShortcutKeys(::windows_core::IUnknown); impl AppCaptureAlternateShortcutKeys { #[doc = "*Required features: `\"System\"`*"] @@ -6545,25 +5648,9 @@ impl AppCaptureAlternateShortcutKeys { } } } -impl ::core::cmp::PartialEq for AppCaptureAlternateShortcutKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureAlternateShortcutKeys {} -impl ::core::fmt::Debug for AppCaptureAlternateShortcutKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureAlternateShortcutKeys").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureAlternateShortcutKeys { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureAlternateShortcutKeys;{19e8e0ef-236c-40f9-b38f-9b7dd65d1ccc})"); } -impl ::core::clone::Clone for AppCaptureAlternateShortcutKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureAlternateShortcutKeys { type Vtable = IAppCaptureAlternateShortcutKeys_Vtbl; } @@ -6576,6 +5663,7 @@ impl ::windows_core::RuntimeName for AppCaptureAlternateShortcutKeys { ::windows_core::imp::interface_hierarchy!(AppCaptureAlternateShortcutKeys, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureDurationGeneratedEventArgs(::windows_core::IUnknown); impl AppCaptureDurationGeneratedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6588,25 +5676,9 @@ impl AppCaptureDurationGeneratedEventArgs { } } } -impl ::core::cmp::PartialEq for AppCaptureDurationGeneratedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureDurationGeneratedEventArgs {} -impl ::core::fmt::Debug for AppCaptureDurationGeneratedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureDurationGeneratedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureDurationGeneratedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureDurationGeneratedEventArgs;{c1f5563b-ffa1-44c9-975f-27fbeb553b35})"); } -impl ::core::clone::Clone for AppCaptureDurationGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureDurationGeneratedEventArgs { type Vtable = IAppCaptureDurationGeneratedEventArgs_Vtbl; } @@ -6621,6 +5693,7 @@ unsafe impl ::core::marker::Send for AppCaptureDurationGeneratedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureDurationGeneratedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureFileGeneratedEventArgs(::windows_core::IUnknown); impl AppCaptureFileGeneratedEventArgs { #[doc = "*Required features: `\"Storage\"`*"] @@ -6633,25 +5706,9 @@ impl AppCaptureFileGeneratedEventArgs { } } } -impl ::core::cmp::PartialEq for AppCaptureFileGeneratedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureFileGeneratedEventArgs {} -impl ::core::fmt::Debug for AppCaptureFileGeneratedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureFileGeneratedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureFileGeneratedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureFileGeneratedEventArgs;{4189fbf4-465e-45bf-907f-165b3fb23758})"); } -impl ::core::clone::Clone for AppCaptureFileGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureFileGeneratedEventArgs { type Vtable = IAppCaptureFileGeneratedEventArgs_Vtbl; } @@ -6690,6 +5747,7 @@ impl ::windows_core::RuntimeName for AppCaptureManager { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureMetadataWriter(::windows_core::IUnknown); impl AppCaptureMetadataWriter { pub fn new() -> ::windows_core::Result { @@ -6763,25 +5821,9 @@ impl AppCaptureMetadataWriter { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppCaptureMetadataWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureMetadataWriter {} -impl ::core::fmt::Debug for AppCaptureMetadataWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureMetadataWriter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureMetadataWriter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMetadataWriter;{e0ce4877-9aaf-46b4-ad31-6a60b441c780})"); } -impl ::core::clone::Clone for AppCaptureMetadataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureMetadataWriter { type Vtable = IAppCaptureMetadataWriter_Vtbl; } @@ -6798,6 +5840,7 @@ unsafe impl ::core::marker::Send for AppCaptureMetadataWriter {} unsafe impl ::core::marker::Sync for AppCaptureMetadataWriter {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureMicrophoneCaptureStateChangedEventArgs(::windows_core::IUnknown); impl AppCaptureMicrophoneCaptureStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -6815,25 +5858,9 @@ impl AppCaptureMicrophoneCaptureStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppCaptureMicrophoneCaptureStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureMicrophoneCaptureStateChangedEventArgs {} -impl ::core::fmt::Debug for AppCaptureMicrophoneCaptureStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureMicrophoneCaptureStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureMicrophoneCaptureStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureMicrophoneCaptureStateChangedEventArgs;{324d249e-45bc-4c35-bc35-e469fc7a69e0})"); } -impl ::core::clone::Clone for AppCaptureMicrophoneCaptureStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureMicrophoneCaptureStateChangedEventArgs { type Vtable = IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl; } @@ -6848,6 +5875,7 @@ unsafe impl ::core::marker::Send for AppCaptureMicrophoneCaptureStateChangedEven unsafe impl ::core::marker::Sync for AppCaptureMicrophoneCaptureStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureRecordOperation(::windows_core::IUnknown); impl AppCaptureRecordOperation { pub fn StopRecording(&self) -> ::windows_core::Result<()> { @@ -6952,25 +5980,9 @@ impl AppCaptureRecordOperation { unsafe { (::windows_core::Interface::vtable(this).RemoveFileGenerated)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppCaptureRecordOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureRecordOperation {} -impl ::core::fmt::Debug for AppCaptureRecordOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureRecordOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureRecordOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordOperation;{c66020a9-1538-495c-9bbb-2ba870ec5861})"); } -impl ::core::clone::Clone for AppCaptureRecordOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureRecordOperation { type Vtable = IAppCaptureRecordOperation_Vtbl; } @@ -6985,6 +5997,7 @@ unsafe impl ::core::marker::Send for AppCaptureRecordOperation {} unsafe impl ::core::marker::Sync for AppCaptureRecordOperation {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureRecordingStateChangedEventArgs(::windows_core::IUnknown); impl AppCaptureRecordingStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -7002,25 +6015,9 @@ impl AppCaptureRecordingStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppCaptureRecordingStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureRecordingStateChangedEventArgs {} -impl ::core::fmt::Debug for AppCaptureRecordingStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureRecordingStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureRecordingStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureRecordingStateChangedEventArgs;{24fc8712-e305-490d-b415-6b1c9049736b})"); } -impl ::core::clone::Clone for AppCaptureRecordingStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureRecordingStateChangedEventArgs { type Vtable = IAppCaptureRecordingStateChangedEventArgs_Vtbl; } @@ -7035,6 +6032,7 @@ unsafe impl ::core::marker::Send for AppCaptureRecordingStateChangedEventArgs {} unsafe impl ::core::marker::Sync for AppCaptureRecordingStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureServices(::windows_core::IUnknown); impl AppCaptureServices { pub fn Record(&self) -> ::windows_core::Result { @@ -7068,25 +6066,9 @@ impl AppCaptureServices { } } } -impl ::core::cmp::PartialEq for AppCaptureServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureServices {} -impl ::core::fmt::Debug for AppCaptureServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureServices").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureServices { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureServices;{44fec0b5-34f5-4f18-ae8c-b9123abbfc0d})"); } -impl ::core::clone::Clone for AppCaptureServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureServices { type Vtable = IAppCaptureServices_Vtbl; } @@ -7101,6 +6083,7 @@ unsafe impl ::core::marker::Send for AppCaptureServices {} unsafe impl ::core::marker::Sync for AppCaptureServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureSettings(::windows_core::IUnknown); impl AppCaptureSettings { #[doc = "*Required features: `\"Storage\"`*"] @@ -7417,25 +6400,9 @@ impl AppCaptureSettings { } } } -impl ::core::cmp::PartialEq for AppCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureSettings {} -impl ::core::fmt::Debug for AppCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureSettings;{14683a86-8807-48d3-883a-970ee4532a39})"); } -impl ::core::clone::Clone for AppCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureSettings { type Vtable = IAppCaptureSettings_Vtbl; } @@ -7448,6 +6415,7 @@ impl ::windows_core::RuntimeName for AppCaptureSettings { ::windows_core::imp::interface_hierarchy!(AppCaptureSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCaptureState(::windows_core::IUnknown); impl AppCaptureState { pub fn IsTargetRunning(&self) -> ::windows_core::Result { @@ -7530,25 +6498,9 @@ impl AppCaptureState { unsafe { (::windows_core::Interface::vtable(this).RemoveCaptureTargetClosed)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AppCaptureState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCaptureState {} -impl ::core::fmt::Debug for AppCaptureState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCaptureState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCaptureState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.AppCaptureState;{73134372-d4eb-44ce-9538-465f506ac4ea})"); } -impl ::core::clone::Clone for AppCaptureState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCaptureState { type Vtable = IAppCaptureState_Vtbl; } @@ -7563,6 +6515,7 @@ unsafe impl ::core::marker::Send for AppCaptureState {} unsafe impl ::core::marker::Sync for AppCaptureState {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraCaptureUI(::windows_core::IUnknown); impl CameraCaptureUI { pub fn new() -> ::windows_core::Result { @@ -7596,25 +6549,9 @@ impl CameraCaptureUI { } } } -impl ::core::cmp::PartialEq for CameraCaptureUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraCaptureUI {} -impl ::core::fmt::Debug for CameraCaptureUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraCaptureUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraCaptureUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUI;{48587540-6f93-4bb4-b8f3-e89e48948c91})"); } -impl ::core::clone::Clone for CameraCaptureUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraCaptureUI { type Vtable = ICameraCaptureUI_Vtbl; } @@ -7627,6 +6564,7 @@ impl ::windows_core::RuntimeName for CameraCaptureUI { ::windows_core::imp::interface_hierarchy!(CameraCaptureUI, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraCaptureUIPhotoCaptureSettings(::windows_core::IUnknown); impl CameraCaptureUIPhotoCaptureSettings { pub fn Format(&self) -> ::windows_core::Result { @@ -7693,25 +6631,9 @@ impl CameraCaptureUIPhotoCaptureSettings { unsafe { (::windows_core::Interface::vtable(this).SetAllowCropping)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CameraCaptureUIPhotoCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraCaptureUIPhotoCaptureSettings {} -impl ::core::fmt::Debug for CameraCaptureUIPhotoCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraCaptureUIPhotoCaptureSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraCaptureUIPhotoCaptureSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings;{b9f5be97-3472-46a8-8a9e-04ce42ccc97d})"); } -impl ::core::clone::Clone for CameraCaptureUIPhotoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraCaptureUIPhotoCaptureSettings { type Vtable = ICameraCaptureUIPhotoCaptureSettings_Vtbl; } @@ -7726,6 +6648,7 @@ unsafe impl ::core::marker::Send for CameraCaptureUIPhotoCaptureSettings {} unsafe impl ::core::marker::Sync for CameraCaptureUIPhotoCaptureSettings {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraCaptureUIVideoCaptureSettings(::windows_core::IUnknown); impl CameraCaptureUIVideoCaptureSettings { pub fn Format(&self) -> ::windows_core::Result { @@ -7773,25 +6696,9 @@ impl CameraCaptureUIVideoCaptureSettings { unsafe { (::windows_core::Interface::vtable(this).SetAllowTrimming)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CameraCaptureUIVideoCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraCaptureUIVideoCaptureSettings {} -impl ::core::fmt::Debug for CameraCaptureUIVideoCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraCaptureUIVideoCaptureSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraCaptureUIVideoCaptureSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings;{64e92d1f-a28d-425a-b84f-e568335ff24e})"); } -impl ::core::clone::Clone for CameraCaptureUIVideoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraCaptureUIVideoCaptureSettings { type Vtable = ICameraCaptureUIVideoCaptureSettings_Vtbl; } @@ -7824,6 +6731,7 @@ impl ::windows_core::RuntimeName for CameraOptionsUI { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CapturedFrame(::windows_core::IUnknown); impl CapturedFrame { pub fn Width(&self) -> ::windows_core::Result { @@ -7989,25 +6897,9 @@ impl CapturedFrame { } } } -impl ::core::cmp::PartialEq for CapturedFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CapturedFrame {} -impl ::core::fmt::Debug for CapturedFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CapturedFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CapturedFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrame;{1dd2de1f-571b-44d8-8e80-a08a1578766e})"); } -impl ::core::clone::Clone for CapturedFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CapturedFrame { type Vtable = ICapturedFrame_Vtbl; } @@ -8034,6 +6926,7 @@ unsafe impl ::core::marker::Send for CapturedFrame {} unsafe impl ::core::marker::Sync for CapturedFrame {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CapturedFrameControlValues(::windows_core::IUnknown); impl CapturedFrameControlValues { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8163,24 +7056,8 @@ impl CapturedFrameControlValues { } } } -impl ::core::cmp::PartialEq for CapturedFrameControlValues { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CapturedFrameControlValues {} -impl ::core::fmt::Debug for CapturedFrameControlValues { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CapturedFrameControlValues").field(&self.0).finish() - } -} -impl ::windows_core::RuntimeType for CapturedFrameControlValues { - const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrameControlValues;{90c65b7f-4e0d-4ca4-882d-7a144fed0a90})"); -} -impl ::core::clone::Clone for CapturedFrameControlValues { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +impl ::windows_core::RuntimeType for CapturedFrameControlValues { + const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedFrameControlValues;{90c65b7f-4e0d-4ca4-882d-7a144fed0a90})"); } unsafe impl ::windows_core::Interface for CapturedFrameControlValues { type Vtable = ICapturedFrameControlValues_Vtbl; @@ -8196,6 +7073,7 @@ unsafe impl ::core::marker::Send for CapturedFrameControlValues {} unsafe impl ::core::marker::Sync for CapturedFrameControlValues {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CapturedPhoto(::windows_core::IUnknown); impl CapturedPhoto { pub fn Frame(&self) -> ::windows_core::Result { @@ -8213,25 +7091,9 @@ impl CapturedPhoto { } } } -impl ::core::cmp::PartialEq for CapturedPhoto { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CapturedPhoto {} -impl ::core::fmt::Debug for CapturedPhoto { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CapturedPhoto").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CapturedPhoto { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.CapturedPhoto;{b0ce7e5a-cfcc-4d6c-8ad1-0869208aca16})"); } -impl ::core::clone::Clone for CapturedPhoto { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CapturedPhoto { type Vtable = ICapturedPhoto_Vtbl; } @@ -8246,6 +7108,7 @@ unsafe impl ::core::marker::Send for CapturedPhoto {} unsafe impl ::core::marker::Sync for CapturedPhoto {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameBarServices(::windows_core::IUnknown); impl GameBarServices { pub fn TargetCapturePolicy(&self) -> ::windows_core::Result { @@ -8310,25 +7173,9 @@ impl GameBarServices { unsafe { (::windows_core::Interface::vtable(this).RemoveCommandReceived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for GameBarServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameBarServices {} -impl ::core::fmt::Debug for GameBarServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameBarServices").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameBarServices { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServices;{2dbead57-50a6-499e-8c6c-d330a7311796})"); } -impl ::core::clone::Clone for GameBarServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameBarServices { type Vtable = IGameBarServices_Vtbl; } @@ -8343,6 +7190,7 @@ unsafe impl ::core::marker::Send for GameBarServices {} unsafe impl ::core::marker::Sync for GameBarServices {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameBarServicesCommandEventArgs(::windows_core::IUnknown); impl GameBarServicesCommandEventArgs { pub fn Command(&self) -> ::windows_core::Result { @@ -8360,25 +7208,9 @@ impl GameBarServicesCommandEventArgs { } } } -impl ::core::cmp::PartialEq for GameBarServicesCommandEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameBarServicesCommandEventArgs {} -impl ::core::fmt::Debug for GameBarServicesCommandEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameBarServicesCommandEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameBarServicesCommandEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesCommandEventArgs;{a74226b2-f176-4fcf-8fbb-cf698b2eb8e0})"); } -impl ::core::clone::Clone for GameBarServicesCommandEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameBarServicesCommandEventArgs { type Vtable = IGameBarServicesCommandEventArgs_Vtbl; } @@ -8393,6 +7225,7 @@ unsafe impl ::core::marker::Send for GameBarServicesCommandEventArgs {} unsafe impl ::core::marker::Sync for GameBarServicesCommandEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameBarServicesManager(::windows_core::IUnknown); impl GameBarServicesManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8425,25 +7258,9 @@ impl GameBarServicesManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GameBarServicesManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameBarServicesManager {} -impl ::core::fmt::Debug for GameBarServicesManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameBarServicesManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameBarServicesManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManager;{3a4b9cfa-7f8b-4c60-9dbb-0bcd262dffc6})"); } -impl ::core::clone::Clone for GameBarServicesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameBarServicesManager { type Vtable = IGameBarServicesManager_Vtbl; } @@ -8458,6 +7275,7 @@ unsafe impl ::core::marker::Send for GameBarServicesManager {} unsafe impl ::core::marker::Sync for GameBarServicesManager {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameBarServicesManagerGameBarServicesCreatedEventArgs(::windows_core::IUnknown); impl GameBarServicesManagerGameBarServicesCreatedEventArgs { pub fn GameBarServices(&self) -> ::windows_core::Result { @@ -8468,25 +7286,9 @@ impl GameBarServicesManagerGameBarServicesCreatedEventArgs { } } } -impl ::core::cmp::PartialEq for GameBarServicesManagerGameBarServicesCreatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameBarServicesManagerGameBarServicesCreatedEventArgs {} -impl ::core::fmt::Debug for GameBarServicesManagerGameBarServicesCreatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameBarServicesManagerGameBarServicesCreatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameBarServicesManagerGameBarServicesCreatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesManagerGameBarServicesCreatedEventArgs;{ededbd9c-143e-49a3-a5ea-0b1995c8d46e})"); } -impl ::core::clone::Clone for GameBarServicesManagerGameBarServicesCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameBarServicesManagerGameBarServicesCreatedEventArgs { type Vtable = IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl; } @@ -8501,6 +7303,7 @@ unsafe impl ::core::marker::Send for GameBarServicesManagerGameBarServicesCreate unsafe impl ::core::marker::Sync for GameBarServicesManagerGameBarServicesCreatedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameBarServicesTargetInfo(::windows_core::IUnknown); impl GameBarServicesTargetInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8532,25 +7335,9 @@ impl GameBarServicesTargetInfo { } } } -impl ::core::cmp::PartialEq for GameBarServicesTargetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameBarServicesTargetInfo {} -impl ::core::fmt::Debug for GameBarServicesTargetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameBarServicesTargetInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameBarServicesTargetInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.GameBarServicesTargetInfo;{b4202f92-1611-4e05-b6ef-dfd737ae33b0})"); } -impl ::core::clone::Clone for GameBarServicesTargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameBarServicesTargetInfo { type Vtable = IGameBarServicesTargetInfo_Vtbl; } @@ -8565,6 +7352,7 @@ unsafe impl ::core::marker::Send for GameBarServicesTargetInfo {} unsafe impl ::core::marker::Sync for GameBarServicesTargetInfo {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLagMediaRecording(::windows_core::IUnknown); impl LowLagMediaRecording { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8631,25 +7419,9 @@ impl LowLagMediaRecording { } } } -impl ::core::cmp::PartialEq for LowLagMediaRecording { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLagMediaRecording {} -impl ::core::fmt::Debug for LowLagMediaRecording { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLagMediaRecording").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLagMediaRecording { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagMediaRecording;{41c8baf7-ff3f-49f0-a477-f195e3ce5108})"); } -impl ::core::clone::Clone for LowLagMediaRecording { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLagMediaRecording { type Vtable = ILowLagMediaRecording_Vtbl; } @@ -8662,6 +7434,7 @@ impl ::windows_core::RuntimeName for LowLagMediaRecording { ::windows_core::imp::interface_hierarchy!(LowLagMediaRecording, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLagPhotoCapture(::windows_core::IUnknown); impl LowLagPhotoCapture { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8683,25 +7456,9 @@ impl LowLagPhotoCapture { } } } -impl ::core::cmp::PartialEq for LowLagPhotoCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLagPhotoCapture {} -impl ::core::fmt::Debug for LowLagPhotoCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLagPhotoCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLagPhotoCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoCapture;{a37251b7-6b44-473d-8f24-f703d6c0ec44})"); } -impl ::core::clone::Clone for LowLagPhotoCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLagPhotoCapture { type Vtable = ILowLagPhotoCapture_Vtbl; } @@ -8714,6 +7471,7 @@ impl ::windows_core::RuntimeName for LowLagPhotoCapture { ::windows_core::imp::interface_hierarchy!(LowLagPhotoCapture, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLagPhotoSequenceCapture(::windows_core::IUnknown); impl LowLagPhotoSequenceCapture { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8762,25 +7520,9 @@ impl LowLagPhotoSequenceCapture { unsafe { (::windows_core::Interface::vtable(this).RemovePhotoCaptured)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for LowLagPhotoSequenceCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLagPhotoSequenceCapture {} -impl ::core::fmt::Debug for LowLagPhotoSequenceCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLagPhotoSequenceCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLagPhotoSequenceCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.LowLagPhotoSequenceCapture;{7cc346bb-b9a9-4c91-8ffa-287e9c668669})"); } -impl ::core::clone::Clone for LowLagPhotoSequenceCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLagPhotoSequenceCapture { type Vtable = ILowLagPhotoSequenceCapture_Vtbl; } @@ -8793,6 +7535,7 @@ impl ::windows_core::RuntimeName for LowLagPhotoSequenceCapture { ::windows_core::imp::interface_hierarchy!(LowLagPhotoSequenceCapture, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCapture(::windows_core::IUnknown); impl MediaCapture { pub fn new() -> ::windows_core::Result { @@ -9506,25 +8249,9 @@ impl MediaCapture { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCapture {} -impl ::core::fmt::Debug for MediaCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapture;{c61afbb4-fb10-4a34-ac18-ca80d9c8e7ee})"); } -impl ::core::clone::Clone for MediaCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCapture { type Vtable = IMediaCapture_Vtbl; } @@ -9539,6 +8266,7 @@ impl ::windows_core::RuntimeName for MediaCapture { impl ::windows_core::CanTryInto for MediaCapture {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureDeviceExclusiveControlStatusChangedEventArgs(::windows_core::IUnknown); impl MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9556,25 +8284,9 @@ impl MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs {} -impl ::core::fmt::Debug for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureDeviceExclusiveControlStatusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs;{9d2f920d-a588-43c6-89d6-5ad322af006a})"); } -impl ::core::clone::Clone for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs { type Vtable = IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl; } @@ -9589,6 +8301,7 @@ unsafe impl ::core::marker::Send for MediaCaptureDeviceExclusiveControlStatusCha unsafe impl ::core::marker::Sync for MediaCaptureDeviceExclusiveControlStatusChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureFailedEventArgs(::windows_core::IUnknown); impl MediaCaptureFailedEventArgs { pub fn Message(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9606,25 +8319,9 @@ impl MediaCaptureFailedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaCaptureFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureFailedEventArgs {} -impl ::core::fmt::Debug for MediaCaptureFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFailedEventArgs;{80fde3f4-54c4-42c0-8d19-cea1a87ca18b})"); } -impl ::core::clone::Clone for MediaCaptureFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureFailedEventArgs { type Vtable = IMediaCaptureFailedEventArgs_Vtbl; } @@ -9637,6 +8334,7 @@ impl ::windows_core::RuntimeName for MediaCaptureFailedEventArgs { ::windows_core::imp::interface_hierarchy!(MediaCaptureFailedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureFocusChangedEventArgs(::windows_core::IUnknown); impl MediaCaptureFocusChangedEventArgs { #[doc = "*Required features: `\"Media_Devices\"`*"] @@ -9649,25 +8347,9 @@ impl MediaCaptureFocusChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaCaptureFocusChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureFocusChangedEventArgs {} -impl ::core::fmt::Debug for MediaCaptureFocusChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureFocusChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureFocusChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureFocusChangedEventArgs;{81e1bc7f-2277-493e-abee-d3f44ff98c04})"); } -impl ::core::clone::Clone for MediaCaptureFocusChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureFocusChangedEventArgs { type Vtable = IMediaCaptureFocusChangedEventArgs_Vtbl; } @@ -9682,6 +8364,7 @@ unsafe impl ::core::marker::Send for MediaCaptureFocusChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaCaptureFocusChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureInitializationSettings(::windows_core::IUnknown); impl MediaCaptureInitializationSettings { pub fn new() -> ::windows_core::Result { @@ -9937,25 +8620,9 @@ impl MediaCaptureInitializationSettings { unsafe { (::windows_core::Interface::vtable(this).SetDeviceUri)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for MediaCaptureInitializationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureInitializationSettings {} -impl ::core::fmt::Debug for MediaCaptureInitializationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureInitializationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureInitializationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureInitializationSettings;{9782ba70-ea65-4900-9356-8ca887726884})"); } -impl ::core::clone::Clone for MediaCaptureInitializationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureInitializationSettings { type Vtable = IMediaCaptureInitializationSettings_Vtbl; } @@ -9970,6 +8637,7 @@ unsafe impl ::core::marker::Send for MediaCaptureInitializationSettings {} unsafe impl ::core::marker::Sync for MediaCaptureInitializationSettings {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCapturePauseResult(::windows_core::IUnknown); impl MediaCapturePauseResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -9995,25 +8663,9 @@ impl MediaCapturePauseResult { } } } -impl ::core::cmp::PartialEq for MediaCapturePauseResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCapturePauseResult {} -impl ::core::fmt::Debug for MediaCapturePauseResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCapturePauseResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCapturePauseResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCapturePauseResult;{aec47ca3-4477-4b04-a06f-2c1c5182fe9d})"); } -impl ::core::clone::Clone for MediaCapturePauseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCapturePauseResult { type Vtable = IMediaCapturePauseResult_Vtbl; } @@ -10028,6 +8680,7 @@ impl ::windows_core::RuntimeName for MediaCapturePauseResult { impl ::windows_core::CanTryInto for MediaCapturePauseResult {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureRelativePanelWatcher(::windows_core::IUnknown); impl MediaCaptureRelativePanelWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -10072,25 +8725,9 @@ impl MediaCaptureRelativePanelWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaCaptureRelativePanelWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureRelativePanelWatcher {} -impl ::core::fmt::Debug for MediaCaptureRelativePanelWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureRelativePanelWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureRelativePanelWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureRelativePanelWatcher;{7d896566-04be-5b89-b30e-bd34a9f12db0})"); } -impl ::core::clone::Clone for MediaCaptureRelativePanelWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureRelativePanelWatcher { type Vtable = IMediaCaptureRelativePanelWatcher_Vtbl; } @@ -10107,6 +8744,7 @@ unsafe impl ::core::marker::Send for MediaCaptureRelativePanelWatcher {} unsafe impl ::core::marker::Sync for MediaCaptureRelativePanelWatcher {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureSettings(::windows_core::IUnknown); impl MediaCaptureSettings { pub fn AudioDeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -10216,25 +8854,9 @@ impl MediaCaptureSettings { } } } -impl ::core::cmp::PartialEq for MediaCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureSettings {} -impl ::core::fmt::Debug for MediaCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureSettings;{1d83aafe-6d45-4477-8dc4-ac5bc01c4091})"); } -impl ::core::clone::Clone for MediaCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureSettings { type Vtable = IMediaCaptureSettings_Vtbl; } @@ -10247,6 +8869,7 @@ impl ::windows_core::RuntimeName for MediaCaptureSettings { ::windows_core::imp::interface_hierarchy!(MediaCaptureSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureStopResult(::windows_core::IUnknown); impl MediaCaptureStopResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -10272,25 +8895,9 @@ impl MediaCaptureStopResult { } } } -impl ::core::cmp::PartialEq for MediaCaptureStopResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureStopResult {} -impl ::core::fmt::Debug for MediaCaptureStopResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureStopResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureStopResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureStopResult;{f9db6a2a-a092-4ad1-97d4-f201f9d082db})"); } -impl ::core::clone::Clone for MediaCaptureStopResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureStopResult { type Vtable = IMediaCaptureStopResult_Vtbl; } @@ -10305,6 +8912,7 @@ impl ::windows_core::RuntimeName for MediaCaptureStopResult { impl ::windows_core::CanTryInto for MediaCaptureStopResult {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureVideoProfile(::windows_core::IUnknown); impl MediaCaptureVideoProfile { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -10376,25 +8984,9 @@ impl MediaCaptureVideoProfile { } } } -impl ::core::cmp::PartialEq for MediaCaptureVideoProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureVideoProfile {} -impl ::core::fmt::Debug for MediaCaptureVideoProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureVideoProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureVideoProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfile;{21a073bf-a3ee-4ecf-9ef6-50b0bc4e1305})"); } -impl ::core::clone::Clone for MediaCaptureVideoProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureVideoProfile { type Vtable = IMediaCaptureVideoProfile_Vtbl; } @@ -10409,6 +9001,7 @@ unsafe impl ::core::marker::Send for MediaCaptureVideoProfile {} unsafe impl ::core::marker::Sync for MediaCaptureVideoProfile {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureVideoProfileMediaDescription(::windows_core::IUnknown); impl MediaCaptureVideoProfileMediaDescription { pub fn Width(&self) -> ::windows_core::Result { @@ -10467,25 +9060,9 @@ impl MediaCaptureVideoProfileMediaDescription { } } } -impl ::core::cmp::PartialEq for MediaCaptureVideoProfileMediaDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureVideoProfileMediaDescription {} -impl ::core::fmt::Debug for MediaCaptureVideoProfileMediaDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureVideoProfileMediaDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCaptureVideoProfileMediaDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.MediaCaptureVideoProfileMediaDescription;{8012afef-b691-49ff-83f2-c1e76eaaea1b})"); } -impl ::core::clone::Clone for MediaCaptureVideoProfileMediaDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCaptureVideoProfileMediaDescription { type Vtable = IMediaCaptureVideoProfileMediaDescription_Vtbl; } @@ -10500,6 +9077,7 @@ unsafe impl ::core::marker::Send for MediaCaptureVideoProfileMediaDescription {} unsafe impl ::core::marker::Sync for MediaCaptureVideoProfileMediaDescription {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OptionalReferencePhotoCapturedEventArgs(::windows_core::IUnknown); impl OptionalReferencePhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows_core::Result { @@ -10517,25 +9095,9 @@ impl OptionalReferencePhotoCapturedEventArgs { } } } -impl ::core::cmp::PartialEq for OptionalReferencePhotoCapturedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OptionalReferencePhotoCapturedEventArgs {} -impl ::core::fmt::Debug for OptionalReferencePhotoCapturedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OptionalReferencePhotoCapturedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OptionalReferencePhotoCapturedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs;{470f88b3-1e6d-4051-9c8b-f1d85af047b7})"); } -impl ::core::clone::Clone for OptionalReferencePhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OptionalReferencePhotoCapturedEventArgs { type Vtable = IOptionalReferencePhotoCapturedEventArgs_Vtbl; } @@ -10550,6 +9112,7 @@ unsafe impl ::core::marker::Send for OptionalReferencePhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for OptionalReferencePhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoCapturedEventArgs(::windows_core::IUnknown); impl PhotoCapturedEventArgs { pub fn Frame(&self) -> ::windows_core::Result { @@ -10576,25 +9139,9 @@ impl PhotoCapturedEventArgs { } } } -impl ::core::cmp::PartialEq for PhotoCapturedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoCapturedEventArgs {} -impl ::core::fmt::Debug for PhotoCapturedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoCapturedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoCapturedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoCapturedEventArgs;{373bfbc1-984e-4ff0-bf85-1c00aabc5a45})"); } -impl ::core::clone::Clone for PhotoCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoCapturedEventArgs { type Vtable = IPhotoCapturedEventArgs_Vtbl; } @@ -10609,6 +9156,7 @@ unsafe impl ::core::marker::Send for PhotoCapturedEventArgs {} unsafe impl ::core::marker::Sync for PhotoCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoConfirmationCapturedEventArgs(::windows_core::IUnknown); impl PhotoConfirmationCapturedEventArgs { pub fn Frame(&self) -> ::windows_core::Result { @@ -10628,25 +9176,9 @@ impl PhotoConfirmationCapturedEventArgs { } } } -impl ::core::cmp::PartialEq for PhotoConfirmationCapturedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoConfirmationCapturedEventArgs {} -impl ::core::fmt::Debug for PhotoConfirmationCapturedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoConfirmationCapturedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoConfirmationCapturedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.PhotoConfirmationCapturedEventArgs;{ab473672-c28a-4827-8f8d-3636d3beb51e})"); } -impl ::core::clone::Clone for PhotoConfirmationCapturedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoConfirmationCapturedEventArgs { type Vtable = IPhotoConfirmationCapturedEventArgs_Vtbl; } @@ -10661,6 +9193,7 @@ unsafe impl ::core::marker::Send for PhotoConfirmationCapturedEventArgs {} unsafe impl ::core::marker::Sync for PhotoConfirmationCapturedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScreenCapture(::windows_core::IUnknown); impl ScreenCapture { #[doc = "*Required features: `\"Media_Core\"`*"] @@ -10725,25 +9258,9 @@ impl ScreenCapture { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ScreenCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScreenCapture {} -impl ::core::fmt::Debug for ScreenCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScreenCapture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScreenCapture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.ScreenCapture;{89179ef7-cd12-4e0e-a6d4-5b3de98b2e9b})"); } -impl ::core::clone::Clone for ScreenCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScreenCapture { type Vtable = IScreenCapture_Vtbl; } @@ -10758,6 +9275,7 @@ unsafe impl ::core::marker::Send for ScreenCapture {} unsafe impl ::core::marker::Sync for ScreenCapture {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SourceSuspensionChangedEventArgs(::windows_core::IUnknown); impl SourceSuspensionChangedEventArgs { pub fn IsAudioSuspended(&self) -> ::windows_core::Result { @@ -10775,25 +9293,9 @@ impl SourceSuspensionChangedEventArgs { } } } -impl ::core::cmp::PartialEq for SourceSuspensionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SourceSuspensionChangedEventArgs {} -impl ::core::fmt::Debug for SourceSuspensionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SourceSuspensionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SourceSuspensionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.SourceSuspensionChangedEventArgs;{2ece7b5e-d49b-4394-bc32-f97d6cedec1c})"); } -impl ::core::clone::Clone for SourceSuspensionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SourceSuspensionChangedEventArgs { type Vtable = ISourceSuspensionChangedEventArgs_Vtbl; } @@ -10808,6 +9310,7 @@ unsafe impl ::core::marker::Send for SourceSuspensionChangedEventArgs {} unsafe impl ::core::marker::Sync for SourceSuspensionChangedEventArgs {} #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoStreamConfiguration(::windows_core::IUnknown); impl VideoStreamConfiguration { #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -10829,25 +9332,9 @@ impl VideoStreamConfiguration { } } } -impl ::core::cmp::PartialEq for VideoStreamConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoStreamConfiguration {} -impl ::core::fmt::Debug for VideoStreamConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoStreamConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoStreamConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Capture.VideoStreamConfiguration;{d8770a6f-4390-4b5e-ad3e-0f8af0963490})"); } -impl ::core::clone::Clone for VideoStreamConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoStreamConfiguration { type Vtable = IVideoStreamConfiguration_Vtbl; } @@ -12307,6 +10794,7 @@ impl ::core::default::Default for WhiteBalanceGain { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCaptureFailedEventHandler(pub ::windows_core::IUnknown); impl MediaCaptureFailedEventHandler { pub fn new, ::core::option::Option<&MediaCaptureFailedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -12333,9 +10821,12 @@ impl, ::core::option::Option<&Med base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -12360,25 +10851,9 @@ impl, ::core::option::Option<&Med ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&erroreventargs)).into() } } -impl ::core::cmp::PartialEq for MediaCaptureFailedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCaptureFailedEventHandler {} -impl ::core::fmt::Debug for MediaCaptureFailedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCaptureFailedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MediaCaptureFailedEventHandler { type Vtable = MediaCaptureFailedEventHandler_Vtbl; } -impl ::core::clone::Clone for MediaCaptureFailedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MediaCaptureFailedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2014effb_5cd8_4f08_a314_0d360da59f14); } @@ -12393,6 +10868,7 @@ pub struct MediaCaptureFailedEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RecordLimitationExceededEventHandler(pub ::windows_core::IUnknown); impl RecordLimitationExceededEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -12418,9 +10894,12 @@ impl) -> ::windows_core::Result<( base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -12445,25 +10924,9 @@ impl) -> ::windows_core::Result<( ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for RecordLimitationExceededEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RecordLimitationExceededEventHandler {} -impl ::core::fmt::Debug for RecordLimitationExceededEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RecordLimitationExceededEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for RecordLimitationExceededEventHandler { type Vtable = RecordLimitationExceededEventHandler_Vtbl; } -impl ::core::clone::Clone for RecordLimitationExceededEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for RecordLimitationExceededEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fae8f2e_4fe1_4ffd_aaba_e1f1337d4e53); } diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index 3df28fa434..9dd6d0b483 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingConnection { type Vtable = ICastingConnection_Vtbl; } -impl ::core::clone::Clone for ICastingConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd951653_c2f1_4498_8b78_5fb4cd3640dd); } @@ -47,15 +43,11 @@ pub struct ICastingConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingConnectionErrorOccurredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingConnectionErrorOccurredEventArgs { type Vtable = ICastingConnectionErrorOccurredEventArgs_Vtbl; } -impl ::core::clone::Clone for ICastingConnectionErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingConnectionErrorOccurredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7fb3c69_8719_4f00_81fb_961863c79a32); } @@ -68,15 +60,11 @@ pub struct ICastingConnectionErrorOccurredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingDevice { type Vtable = ICastingDevice_Vtbl; } -impl ::core::clone::Clone for ICastingDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde721c83_4a43_4ad1_a6d2_2492a796c3f2); } @@ -98,15 +86,11 @@ pub struct ICastingDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingDevicePicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingDevicePicker { type Vtable = ICastingDevicePicker_Vtbl; } -impl ::core::clone::Clone for ICastingDevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingDevicePicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcd39924_0591_49be_aacb_4b82ee756a95); } @@ -147,15 +131,11 @@ pub struct ICastingDevicePicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingDevicePickerFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingDevicePickerFilter { type Vtable = ICastingDevicePickerFilter_Vtbl; } -impl ::core::clone::Clone for ICastingDevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingDevicePickerFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe8c619c_b563_4354_ae33_9fdaad8c6291); } @@ -176,15 +156,11 @@ pub struct ICastingDevicePickerFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingDeviceSelectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingDeviceSelectedEventArgs { type Vtable = ICastingDeviceSelectedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICastingDeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingDeviceSelectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc439e86_dd57_4d0d_9400_af45e4fb3663); } @@ -196,15 +172,11 @@ pub struct ICastingDeviceSelectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingDeviceStatics { type Vtable = ICastingDeviceStatics_Vtbl; } -impl ::core::clone::Clone for ICastingDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7d958d7_4d13_4237_a365_4c4f6a4cfd2f); } @@ -228,15 +200,11 @@ pub struct ICastingDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICastingSource { type Vtable = ICastingSource_Vtbl; } -impl ::core::clone::Clone for ICastingSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf429ea72_3467_47e6_a027_522923e9d727); } @@ -255,6 +223,7 @@ pub struct ICastingSource_Vtbl { } #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingConnection(::windows_core::IUnknown); impl CastingConnection { pub fn State(&self) -> ::windows_core::Result { @@ -349,25 +318,9 @@ impl CastingConnection { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for CastingConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingConnection {} -impl ::core::fmt::Debug for CastingConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnection;{cd951653-c2f1-4498-8b78-5fb4cd3640dd})"); } -impl ::core::clone::Clone for CastingConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingConnection { type Vtable = ICastingConnection_Vtbl; } @@ -384,6 +337,7 @@ unsafe impl ::core::marker::Send for CastingConnection {} unsafe impl ::core::marker::Sync for CastingConnection {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingConnectionErrorOccurredEventArgs(::windows_core::IUnknown); impl CastingConnectionErrorOccurredEventArgs { pub fn ErrorStatus(&self) -> ::windows_core::Result { @@ -401,25 +355,9 @@ impl CastingConnectionErrorOccurredEventArgs { } } } -impl ::core::cmp::PartialEq for CastingConnectionErrorOccurredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingConnectionErrorOccurredEventArgs {} -impl ::core::fmt::Debug for CastingConnectionErrorOccurredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingConnectionErrorOccurredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingConnectionErrorOccurredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingConnectionErrorOccurredEventArgs;{a7fb3c69-8719-4f00-81fb-961863c79a32})"); } -impl ::core::clone::Clone for CastingConnectionErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingConnectionErrorOccurredEventArgs { type Vtable = ICastingConnectionErrorOccurredEventArgs_Vtbl; } @@ -434,6 +372,7 @@ unsafe impl ::core::marker::Send for CastingConnectionErrorOccurredEventArgs {} unsafe impl ::core::marker::Sync for CastingConnectionErrorOccurredEventArgs {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingDevice(::windows_core::IUnknown); impl CastingDevice { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -517,25 +456,9 @@ impl CastingDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CastingDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingDevice {} -impl ::core::fmt::Debug for CastingDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevice;{de721c83-4a43-4ad1-a6d2-2492a796c3f2})"); } -impl ::core::clone::Clone for CastingDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingDevice { type Vtable = ICastingDevice_Vtbl; } @@ -550,6 +473,7 @@ unsafe impl ::core::marker::Send for CastingDevice {} unsafe impl ::core::marker::Sync for CastingDevice {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingDevicePicker(::windows_core::IUnknown); impl CastingDevicePicker { pub fn new() -> ::windows_core::Result { @@ -628,25 +552,9 @@ impl CastingDevicePicker { unsafe { (::windows_core::Interface::vtable(this).Hide)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for CastingDevicePicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingDevicePicker {} -impl ::core::fmt::Debug for CastingDevicePicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingDevicePicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingDevicePicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePicker;{dcd39924-0591-49be-aacb-4b82ee756a95})"); } -impl ::core::clone::Clone for CastingDevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingDevicePicker { type Vtable = ICastingDevicePicker_Vtbl; } @@ -661,6 +569,7 @@ unsafe impl ::core::marker::Send for CastingDevicePicker {} unsafe impl ::core::marker::Sync for CastingDevicePicker {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingDevicePickerFilter(::windows_core::IUnknown); impl CastingDevicePickerFilter { pub fn SupportsAudio(&self) -> ::windows_core::Result { @@ -706,25 +615,9 @@ impl CastingDevicePickerFilter { } } } -impl ::core::cmp::PartialEq for CastingDevicePickerFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingDevicePickerFilter {} -impl ::core::fmt::Debug for CastingDevicePickerFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingDevicePickerFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingDevicePickerFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDevicePickerFilter;{be8c619c-b563-4354-ae33-9fdaad8c6291})"); } -impl ::core::clone::Clone for CastingDevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingDevicePickerFilter { type Vtable = ICastingDevicePickerFilter_Vtbl; } @@ -739,6 +632,7 @@ unsafe impl ::core::marker::Send for CastingDevicePickerFilter {} unsafe impl ::core::marker::Sync for CastingDevicePickerFilter {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingDeviceSelectedEventArgs(::windows_core::IUnknown); impl CastingDeviceSelectedEventArgs { pub fn SelectedCastingDevice(&self) -> ::windows_core::Result { @@ -749,25 +643,9 @@ impl CastingDeviceSelectedEventArgs { } } } -impl ::core::cmp::PartialEq for CastingDeviceSelectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingDeviceSelectedEventArgs {} -impl ::core::fmt::Debug for CastingDeviceSelectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingDeviceSelectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingDeviceSelectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingDeviceSelectedEventArgs;{dc439e86-dd57-4d0d-9400-af45e4fb3663})"); } -impl ::core::clone::Clone for CastingDeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingDeviceSelectedEventArgs { type Vtable = ICastingDeviceSelectedEventArgs_Vtbl; } @@ -782,6 +660,7 @@ unsafe impl ::core::marker::Send for CastingDeviceSelectedEventArgs {} unsafe impl ::core::marker::Sync for CastingDeviceSelectedEventArgs {} #[doc = "*Required features: `\"Media_Casting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CastingSource(::windows_core::IUnknown); impl CastingSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -803,25 +682,9 @@ impl CastingSource { unsafe { (::windows_core::Interface::vtable(this).SetPreferredSourceUri)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CastingSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CastingSource {} -impl ::core::fmt::Debug for CastingSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CastingSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CastingSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Casting.CastingSource;{f429ea72-3467-47e6-a027-522923e9d727})"); } -impl ::core::clone::Clone for CastingSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CastingSource { type Vtable = ICastingSource_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs index de61a0603a..343728385b 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClosedCaptionPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClosedCaptionPropertiesStatics { type Vtable = IClosedCaptionPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IClosedCaptionPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClosedCaptionPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10aa1f84_cc30_4141_b503_5272289e0c20); } diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index ce075309fa..1587a777c8 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentRestrictionsBrowsePolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentRestrictionsBrowsePolicy { type Vtable = IContentRestrictionsBrowsePolicy_Vtbl; } -impl ::core::clone::Clone for IContentRestrictionsBrowsePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentRestrictionsBrowsePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c0133a4_442e_461a_8757_fad2f5bd37e4); } @@ -28,15 +24,11 @@ pub struct IContentRestrictionsBrowsePolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRatedContentDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRatedContentDescription { type Vtable = IRatedContentDescription_Vtbl; } -impl ::core::clone::Clone for IRatedContentDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRatedContentDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x694866df_66b2_4dc3_96b1_f090eedee255); } @@ -69,15 +61,11 @@ pub struct IRatedContentDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRatedContentDescriptionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRatedContentDescriptionFactory { type Vtable = IRatedContentDescriptionFactory_Vtbl; } -impl ::core::clone::Clone for IRatedContentDescriptionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRatedContentDescriptionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e38df62_9b90_4fa6_89c1_4b8d2ffb3573); } @@ -89,15 +77,11 @@ pub struct IRatedContentDescriptionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRatedContentRestrictions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRatedContentRestrictions { type Vtable = IRatedContentRestrictions_Vtbl; } -impl ::core::clone::Clone for IRatedContentRestrictions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRatedContentRestrictions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f7f23cb_ba07_4401_a49d_8b9222205723); } @@ -128,15 +112,11 @@ pub struct IRatedContentRestrictions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRatedContentRestrictionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRatedContentRestrictionsFactory { type Vtable = IRatedContentRestrictionsFactory_Vtbl; } -impl ::core::clone::Clone for IRatedContentRestrictionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRatedContentRestrictionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb4b2996_c3bd_4910_9619_97cfd0694d56); } @@ -148,6 +128,7 @@ pub struct IRatedContentRestrictionsFactory_Vtbl { } #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContentRestrictionsBrowsePolicy(::windows_core::IUnknown); impl ContentRestrictionsBrowsePolicy { pub fn GeographicRegion(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -176,25 +157,9 @@ impl ContentRestrictionsBrowsePolicy { } } } -impl ::core::cmp::PartialEq for ContentRestrictionsBrowsePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContentRestrictionsBrowsePolicy {} -impl ::core::fmt::Debug for ContentRestrictionsBrowsePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContentRestrictionsBrowsePolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContentRestrictionsBrowsePolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.ContentRestrictionsBrowsePolicy;{8c0133a4-442e-461a-8757-fad2f5bd37e4})"); } -impl ::core::clone::Clone for ContentRestrictionsBrowsePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContentRestrictionsBrowsePolicy { type Vtable = IContentRestrictionsBrowsePolicy_Vtbl; } @@ -209,6 +174,7 @@ unsafe impl ::core::marker::Send for ContentRestrictionsBrowsePolicy {} unsafe impl ::core::marker::Sync for ContentRestrictionsBrowsePolicy {} #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RatedContentDescription(::windows_core::IUnknown); impl RatedContentDescription { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -292,25 +258,9 @@ impl RatedContentDescription { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RatedContentDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RatedContentDescription {} -impl ::core::fmt::Debug for RatedContentDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RatedContentDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RatedContentDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentDescription;{694866df-66b2-4dc3-96b1-f090eedee255})"); } -impl ::core::clone::Clone for RatedContentDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RatedContentDescription { type Vtable = IRatedContentDescription_Vtbl; } @@ -325,6 +275,7 @@ unsafe impl ::core::marker::Send for RatedContentDescription {} unsafe impl ::core::marker::Sync for RatedContentDescription {} #[doc = "*Required features: `\"Media_ContentRestrictions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RatedContentRestrictions(::windows_core::IUnknown); impl RatedContentRestrictions { pub fn new() -> ::windows_core::Result { @@ -397,25 +348,9 @@ impl RatedContentRestrictions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RatedContentRestrictions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RatedContentRestrictions {} -impl ::core::fmt::Debug for RatedContentRestrictions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RatedContentRestrictions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RatedContentRestrictions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ContentRestrictions.RatedContentRestrictions;{3f7f23cb-ba07-4401-a49d-8b9222205723})"); } -impl ::core::clone::Clone for RatedContentRestrictions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RatedContentRestrictions { type Vtable = IRatedContentRestrictions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Control/mod.rs b/crates/libs/windows/src/Windows/Media/Control/mod.rs index 10ec2bf728..55c840db8e 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentSessionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentSessionChangedEventArgs { type Vtable = ICurrentSessionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICurrentSessionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentSessionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6969cb39_0bfa_5fe0_8d73_09cc5e5408e1); } @@ -19,15 +15,11 @@ pub struct ICurrentSessionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSession { type Vtable = IGlobalSystemMediaTransportControlsSession_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7148c835_9b14_5ae2_ab85_dc9b1c14e1a8); } @@ -129,15 +121,11 @@ pub struct IGlobalSystemMediaTransportControlsSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionManager { type Vtable = IGlobalSystemMediaTransportControlsSessionManager_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcace8eac_e86e_504a_ab31_5ff8ff1bce49); } @@ -169,15 +157,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionManagerStatics { type Vtable = IGlobalSystemMediaTransportControlsSessionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2050c4ee_11a0_57de_aed7_c97c70338245); } @@ -192,15 +176,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionMediaProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionMediaProperties { type Vtable = IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionMediaProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionMediaProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68856cf6_adb4_54b2_ac16_05837907acb6); } @@ -230,15 +210,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionPlaybackControls(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionPlaybackControls { type Vtable = IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionPlaybackControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionPlaybackControls { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6501a3e6_bc7a_503a_bb1b_68f158f3fb03); } @@ -264,15 +240,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionPlaybackInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionPlaybackInfo { type Vtable = IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionPlaybackInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionPlaybackInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94b4b6cf_e8ba_51ad_87a7_c10ade106127); } @@ -301,15 +273,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalSystemMediaTransportControlsSessionTimelineProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalSystemMediaTransportControlsSessionTimelineProperties { type Vtable = IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl; } -impl ::core::clone::Clone for IGlobalSystemMediaTransportControlsSessionTimelineProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalSystemMediaTransportControlsSessionTimelineProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xede34136_6f25_588d_8ecf_ea5b6735aaa5); } @@ -344,15 +312,11 @@ pub struct IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPropertiesChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPropertiesChangedEventArgs { type Vtable = IMediaPropertiesChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPropertiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPropertiesChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d3741cb_adf0_5cef_91ba_cfabcdd77678); } @@ -363,15 +327,11 @@ pub struct IMediaPropertiesChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackInfoChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackInfoChangedEventArgs { type Vtable = IPlaybackInfoChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPlaybackInfoChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackInfoChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x786756c2_bc0d_50a5_8807_054291fef139); } @@ -382,15 +342,11 @@ pub struct IPlaybackInfoChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISessionsChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISessionsChangedEventArgs { type Vtable = ISessionsChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISessionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISessionsChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbf0cd32_42c4_5a58_b317_f34bbfbd26e0); } @@ -401,15 +357,11 @@ pub struct ISessionsChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimelinePropertiesChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimelinePropertiesChangedEventArgs { type Vtable = ITimelinePropertiesChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITimelinePropertiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimelinePropertiesChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29033a2f_c923_5a77_bcaf_055ff415ad32); } @@ -420,27 +372,12 @@ pub struct ITimelinePropertiesChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CurrentSessionChangedEventArgs(::windows_core::IUnknown); impl CurrentSessionChangedEventArgs {} -impl ::core::cmp::PartialEq for CurrentSessionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CurrentSessionChangedEventArgs {} -impl ::core::fmt::Debug for CurrentSessionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CurrentSessionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CurrentSessionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.CurrentSessionChangedEventArgs;{6969cb39-0bfa-5fe0-8d73-09cc5e5408e1})"); } -impl ::core::clone::Clone for CurrentSessionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CurrentSessionChangedEventArgs { type Vtable = ICurrentSessionChangedEventArgs_Vtbl; } @@ -455,6 +392,7 @@ unsafe impl ::core::marker::Send for CurrentSessionChangedEventArgs {} unsafe impl ::core::marker::Sync for CurrentSessionChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSession(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSession { pub fn SourceAppUserModelId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -677,25 +615,9 @@ impl GlobalSystemMediaTransportControlsSession { unsafe { (::windows_core::Interface::vtable(this).RemoveMediaPropertiesChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSession {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSession;{7148c835-9b14-5ae2-ab85-dc9b1c14e1a8})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSession { type Vtable = IGlobalSystemMediaTransportControlsSession_Vtbl; } @@ -710,6 +632,7 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSession { unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSession {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSessionManager(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSessionManager { pub fn GetCurrentSession(&self) -> ::windows_core::Result { @@ -778,25 +701,9 @@ impl GlobalSystemMediaTransportControlsSessionManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSessionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSessionManager {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSessionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSessionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionManager;{cace8eac-e86e-504a-ab31-5ff8ff1bce49})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSessionManager { type Vtable = IGlobalSystemMediaTransportControlsSessionManager_Vtbl; } @@ -811,6 +718,7 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionMa unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionManager {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSessionMediaProperties(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSessionMediaProperties { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -890,25 +798,9 @@ impl GlobalSystemMediaTransportControlsSessionMediaProperties { } } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSessionMediaProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSessionMediaProperties {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionMediaProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSessionMediaProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSessionMediaProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties;{68856cf6-adb4-54b2-ac16-05837907acb6})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionMediaProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSessionMediaProperties { type Vtable = IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl; } @@ -923,6 +815,7 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionMe unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionMediaProperties {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSessionPlaybackControls(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSessionPlaybackControls { pub fn IsPlayEnabled(&self) -> ::windows_core::Result { @@ -1031,25 +924,9 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackControls { } } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSessionPlaybackControls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSessionPlaybackControls {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionPlaybackControls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSessionPlaybackControls").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSessionPlaybackControls { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackControls;{6501a3e6-bc7a-503a-bb1b-68f158f3fb03})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionPlaybackControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSessionPlaybackControls { type Vtable = IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl; } @@ -1064,6 +941,7 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionPl unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionPlaybackControls {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSessionPlaybackInfo(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { pub fn Controls(&self) -> ::windows_core::Result { @@ -1117,25 +995,9 @@ impl GlobalSystemMediaTransportControlsSessionPlaybackInfo { } } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSessionPlaybackInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSessionPlaybackInfo {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionPlaybackInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSessionPlaybackInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSessionPlaybackInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionPlaybackInfo;{94b4b6cf-e8ba-51ad-87a7-c10ade106127})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionPlaybackInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSessionPlaybackInfo { type Vtable = IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl; } @@ -1150,6 +1012,7 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionPl unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionPlaybackInfo {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalSystemMediaTransportControlsSessionTimelineProperties(::windows_core::IUnknown); impl GlobalSystemMediaTransportControlsSessionTimelineProperties { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1207,25 +1070,9 @@ impl GlobalSystemMediaTransportControlsSessionTimelineProperties { } } } -impl ::core::cmp::PartialEq for GlobalSystemMediaTransportControlsSessionTimelineProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalSystemMediaTransportControlsSessionTimelineProperties {} -impl ::core::fmt::Debug for GlobalSystemMediaTransportControlsSessionTimelineProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalSystemMediaTransportControlsSessionTimelineProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalSystemMediaTransportControlsSessionTimelineProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.GlobalSystemMediaTransportControlsSessionTimelineProperties;{ede34136-6f25-588d-8ecf-ea5b6735aaa5})"); } -impl ::core::clone::Clone for GlobalSystemMediaTransportControlsSessionTimelineProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalSystemMediaTransportControlsSessionTimelineProperties { type Vtable = IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl; } @@ -1240,27 +1087,12 @@ unsafe impl ::core::marker::Send for GlobalSystemMediaTransportControlsSessionTi unsafe impl ::core::marker::Sync for GlobalSystemMediaTransportControlsSessionTimelineProperties {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPropertiesChangedEventArgs(::windows_core::IUnknown); impl MediaPropertiesChangedEventArgs {} -impl ::core::cmp::PartialEq for MediaPropertiesChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPropertiesChangedEventArgs {} -impl ::core::fmt::Debug for MediaPropertiesChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPropertiesChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPropertiesChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.MediaPropertiesChangedEventArgs;{7d3741cb-adf0-5cef-91ba-cfabcdd77678})"); } -impl ::core::clone::Clone for MediaPropertiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPropertiesChangedEventArgs { type Vtable = IMediaPropertiesChangedEventArgs_Vtbl; } @@ -1275,27 +1107,12 @@ unsafe impl ::core::marker::Send for MediaPropertiesChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaPropertiesChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackInfoChangedEventArgs(::windows_core::IUnknown); impl PlaybackInfoChangedEventArgs {} -impl ::core::cmp::PartialEq for PlaybackInfoChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackInfoChangedEventArgs {} -impl ::core::fmt::Debug for PlaybackInfoChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackInfoChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackInfoChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.PlaybackInfoChangedEventArgs;{786756c2-bc0d-50a5-8807-054291fef139})"); } -impl ::core::clone::Clone for PlaybackInfoChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackInfoChangedEventArgs { type Vtable = IPlaybackInfoChangedEventArgs_Vtbl; } @@ -1310,27 +1127,12 @@ unsafe impl ::core::marker::Send for PlaybackInfoChangedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackInfoChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SessionsChangedEventArgs(::windows_core::IUnknown); impl SessionsChangedEventArgs {} -impl ::core::cmp::PartialEq for SessionsChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SessionsChangedEventArgs {} -impl ::core::fmt::Debug for SessionsChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SessionsChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SessionsChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.SessionsChangedEventArgs;{bbf0cd32-42c4-5a58-b317-f34bbfbd26e0})"); } -impl ::core::clone::Clone for SessionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SessionsChangedEventArgs { type Vtable = ISessionsChangedEventArgs_Vtbl; } @@ -1345,27 +1147,12 @@ unsafe impl ::core::marker::Send for SessionsChangedEventArgs {} unsafe impl ::core::marker::Sync for SessionsChangedEventArgs {} #[doc = "*Required features: `\"Media_Control\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimelinePropertiesChangedEventArgs(::windows_core::IUnknown); impl TimelinePropertiesChangedEventArgs {} -impl ::core::cmp::PartialEq for TimelinePropertiesChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimelinePropertiesChangedEventArgs {} -impl ::core::fmt::Debug for TimelinePropertiesChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimelinePropertiesChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimelinePropertiesChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Control.TimelinePropertiesChangedEventArgs;{29033a2f-c923-5a77-bcaf-055ff415ad32})"); } -impl ::core::clone::Clone for TimelinePropertiesChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimelinePropertiesChangedEventArgs { type Vtable = ITimelinePropertiesChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs index 6169c2af5c..d2c1f5fa27 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoundLevelBrokerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISoundLevelBrokerStatics { type Vtable = ISoundLevelBrokerStatics_Vtbl; } -impl ::core::clone::Clone for ISoundLevelBrokerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoundLevelBrokerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a633961_dbed_464c_a09a_33412f5caa3f); } diff --git a/crates/libs/windows/src/Windows/Media/Core/impl.rs b/crates/libs/windows/src/Windows/Media/Core/impl.rs index a55bcc517d..3992477ff9 100644 --- a/crates/libs/windows/src/Windows/Media/Core/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Core/impl.rs @@ -74,8 +74,8 @@ impl IMediaCue_Vtbl { Id: Id::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IMediaSource_Vtbl { pub const fn new, Impl: IMediaSource_Impl, const OFFSET: isize>() -> IMediaSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl IMediaStreamDescriptor_Vtbl { Language: Language::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IMediaStreamDescriptor2_Vtbl { Label: Label::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -273,8 +273,8 @@ impl IMediaTrack_Vtbl { Label: Label::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl ISingleSelectMediaTrackList_Vtbl { SelectedIndex: SelectedIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -365,7 +365,7 @@ impl ITimedMetadataTrackProvider_Vtbl { TimedMetadataTracks: TimedMetadataTracks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 71418d09ae..de85a2a75e 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -2,15 +2,11 @@ pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStreamDescriptor { type Vtable = IAudioStreamDescriptor_Vtbl; } -impl ::core::clone::Clone for IAudioStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e3692e4_4027_4847_a70b_df1d9a2a7b04); } @@ -25,15 +21,11 @@ pub struct IAudioStreamDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamDescriptor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStreamDescriptor2 { type Vtable = IAudioStreamDescriptor2_Vtbl; } -impl ::core::clone::Clone for IAudioStreamDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e68f1f6_a448_497b_8840_85082665acf9); } @@ -60,15 +52,11 @@ pub struct IAudioStreamDescriptor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamDescriptor3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStreamDescriptor3 { type Vtable = IAudioStreamDescriptor3_Vtbl; } -impl ::core::clone::Clone for IAudioStreamDescriptor3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamDescriptor3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d220da1_8e83_44ef_8973_2f63e993f36b); } @@ -80,15 +68,11 @@ pub struct IAudioStreamDescriptor3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamDescriptorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioStreamDescriptorFactory { type Vtable = IAudioStreamDescriptorFactory_Vtbl; } -impl ::core::clone::Clone for IAudioStreamDescriptorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamDescriptorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a86ce9e_4cb1_4380_8e0c_83504b7f5bf3); } @@ -103,15 +87,11 @@ pub struct IAudioStreamDescriptorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioTrack(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioTrack { type Vtable = IAudioTrack_Vtbl; } -impl ::core::clone::Clone for IAudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf23b6e77_3ef7_40de_b943_068b1321701d); } @@ -140,15 +120,11 @@ pub struct IAudioTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioTrackOpenFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioTrackOpenFailedEventArgs { type Vtable = IAudioTrackOpenFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAudioTrackOpenFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioTrackOpenFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeddb9b9_bb7c_4112_bf76_9384676f824b); } @@ -160,15 +136,11 @@ pub struct IAudioTrackOpenFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioTrackSupportInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioTrackSupportInfo { type Vtable = IAudioTrackSupportInfo_Vtbl; } -impl ::core::clone::Clone for IAudioTrackSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioTrackSupportInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x178beff7_cc39_44a6_b951_4a5653f073fa); } @@ -183,15 +155,11 @@ pub struct IAudioTrackSupportInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChapterCue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChapterCue { type Vtable = IChapterCue_Vtbl; } -impl ::core::clone::Clone for IChapterCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChapterCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72a98001_d38a_4c0a_8fa6_75cddaf4664c); } @@ -204,15 +172,11 @@ pub struct IChapterCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodecInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICodecInfo { type Vtable = ICodecInfo_Vtbl; } -impl ::core::clone::Clone for ICodecInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodecInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51e89f85_ea97_499c_86ac_4ce5e73f3a42); } @@ -231,15 +195,11 @@ pub struct ICodecInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodecQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICodecQuery { type Vtable = ICodecQuery_Vtbl; } -impl ::core::clone::Clone for ICodecQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodecQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x222a953a_af61_4e04_808a_a4634e2f3ac4); } @@ -254,15 +214,11 @@ pub struct ICodecQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodecSubtypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICodecSubtypesStatics { type Vtable = ICodecSubtypesStatics_Vtbl; } -impl ::core::clone::Clone for ICodecSubtypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodecSubtypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa66ac4f2_888b_4224_8cf6_2a8d4eb02382); } @@ -324,15 +280,11 @@ pub struct ICodecSubtypesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataCue { type Vtable = IDataCue_Vtbl; } -impl ::core::clone::Clone for IDataCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c7f676d_1fbc_4e2d_9a87_ee38bd1dc637); } @@ -351,15 +303,11 @@ pub struct IDataCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCue2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataCue2 { type Vtable = IDataCue2_Vtbl; } -impl ::core::clone::Clone for IDataCue2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataCue2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc561b15_95f2_49e8_96f1_8dd5dac68d93); } @@ -374,15 +322,11 @@ pub struct IDataCue2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetectedEventArgs { type Vtable = IFaceDetectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFaceDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19918426_c65b_46ba_85f8_13880576c90a); } @@ -394,15 +338,11 @@ pub struct IFaceDetectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetectionEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetectionEffect { type Vtable = IFaceDetectionEffect_Vtbl; } -impl ::core::clone::Clone for IFaceDetectionEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetectionEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae15ebd2_0542_42a9_bc90_f283a29f46c1); } @@ -431,15 +371,11 @@ pub struct IFaceDetectionEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetectionEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetectionEffectDefinition { type Vtable = IFaceDetectionEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IFaceDetectionEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetectionEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43dca081_b848_4f33_b702_1fd2624fb016); } @@ -454,15 +390,11 @@ pub struct IFaceDetectionEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetectionEffectFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetectionEffectFrame { type Vtable = IFaceDetectionEffectFrame_Vtbl; } -impl ::core::clone::Clone for IFaceDetectionEffectFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetectionEffectFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ab08993_5dc8_447b_a247_5270bd802ece); } @@ -477,15 +409,11 @@ pub struct IFaceDetectionEffectFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHighDynamicRangeControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHighDynamicRangeControl { type Vtable = IHighDynamicRangeControl_Vtbl; } -impl ::core::clone::Clone for IHighDynamicRangeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHighDynamicRangeControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55f1a7ae_d957_4dc9_9d1c_8553a82a7d99); } @@ -498,15 +426,11 @@ pub struct IHighDynamicRangeControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHighDynamicRangeOutput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHighDynamicRangeOutput { type Vtable = IHighDynamicRangeOutput_Vtbl; } -impl ::core::clone::Clone for IHighDynamicRangeOutput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHighDynamicRangeOutput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f57806b_253b_4119_bb40_3a90e51384f7); } @@ -522,15 +446,11 @@ pub struct IHighDynamicRangeOutput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageCue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageCue { type Vtable = IImageCue_Vtbl; } -impl ::core::clone::Clone for IImageCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52828282_367b_440b_9116_3c84570dd270); } @@ -553,15 +473,11 @@ pub struct IImageCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeMediaStreamSourceRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInitializeMediaStreamSourceRequestedEventArgs { type Vtable = IInitializeMediaStreamSourceRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IInitializeMediaStreamSourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeMediaStreamSourceRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25bc45e1_9b08_4c2e_a855_4542f1a75deb); } @@ -581,15 +497,11 @@ pub struct IInitializeMediaStreamSourceRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLightFusionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLightFusionResult { type Vtable = ILowLightFusionResult_Vtbl; } -impl ::core::clone::Clone for ILowLightFusionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLightFusionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78edbe35_27a0_42e0_9cd3_738d2089de9c); } @@ -604,15 +516,11 @@ pub struct ILowLightFusionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLightFusionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLightFusionStatics { type Vtable = ILowLightFusionStatics_Vtbl; } -impl ::core::clone::Clone for ILowLightFusionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLightFusionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5305016d_c29e_40e2_87a9_9e1fd2f192f5); } @@ -632,15 +540,11 @@ pub struct ILowLightFusionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBinder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBinder { type Vtable = IMediaBinder_Vtbl; } -impl ::core::clone::Clone for IMediaBinder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBinder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b7e40aa_de07_424f_83f1_f1de46c4fa2e); } @@ -662,15 +566,11 @@ pub struct IMediaBinder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBindingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBindingEventArgs { type Vtable = IMediaBindingEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaBindingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBindingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb61cb25a_1b6d_4630_a86d_2f0837f712e5); } @@ -706,15 +606,11 @@ pub struct IMediaBindingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBindingEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBindingEventArgs2 { type Vtable = IMediaBindingEventArgs2_Vtbl; } -impl ::core::clone::Clone for IMediaBindingEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBindingEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0464cceb_bb5a_482f_b8ba_f0284c696567); } @@ -733,15 +629,11 @@ pub struct IMediaBindingEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBindingEventArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBindingEventArgs3 { type Vtable = IMediaBindingEventArgs3_Vtbl; } -impl ::core::clone::Clone for IMediaBindingEventArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBindingEventArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8eb475e_19be_44fc_a5ed_7aba315037f9); } @@ -756,6 +648,7 @@ pub struct IMediaBindingEventArgs3_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCue(::windows_core::IUnknown); impl IMediaCue { #[doc = "*Required features: `\"Foundation\"`*"] @@ -801,28 +694,12 @@ impl IMediaCue { } } ::windows_core::imp::interface_hierarchy!(IMediaCue, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaCue {} -impl ::core::fmt::Debug for IMediaCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c7d15e5d-59dc-431f-a0ee-27744323b36d}"); } unsafe impl ::windows_core::Interface for IMediaCue { type Vtable = IMediaCue_Vtbl; } -impl ::core::clone::Clone for IMediaCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7d15e5d_59dc_431f_a0ee_27744323b36d); } @@ -851,15 +728,11 @@ pub struct IMediaCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCueEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCueEventArgs { type Vtable = IMediaCueEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaCueEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCueEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd12f47f7_5fa4_4e68_9fe5_32160dcee57e); } @@ -871,31 +744,16 @@ pub struct IMediaCueEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSource(::windows_core::IUnknown); impl IMediaSource {} ::windows_core::imp::interface_hierarchy!(IMediaSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaSource {} -impl ::core::fmt::Debug for IMediaSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e7bfb599-a09d-4c21-bcdf-20af4f86b3d9}"); } unsafe impl ::windows_core::Interface for IMediaSource { type Vtable = IMediaSource_Vtbl; } -impl ::core::clone::Clone for IMediaSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7bfb599_a09d_4c21_bcdf_20af4f86b3d9); } @@ -906,15 +764,11 @@ pub struct IMediaSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSource2 { type Vtable = IMediaSource2_Vtbl; } -impl ::core::clone::Clone for IMediaSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2eb61048_655f_4c37_b813_b4e45dfa0abe); } @@ -950,15 +804,11 @@ pub struct IMediaSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSource3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSource3 { type Vtable = IMediaSource3_Vtbl; } -impl ::core::clone::Clone for IMediaSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb59f0d9b_4b6e_41ed_bbb4_7c7509a994ad); } @@ -979,15 +829,11 @@ pub struct IMediaSource3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSource4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSource4 { type Vtable = IMediaSource4_Vtbl; } -impl ::core::clone::Clone for IMediaSource4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSource4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdafad57_8eff_4c63_85a6_84de0ae3e4f2); } @@ -1012,15 +858,11 @@ pub struct IMediaSource4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSource5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSource5 { type Vtable = IMediaSource5_Vtbl; } -impl ::core::clone::Clone for IMediaSource5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSource5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x331a22ae_ed2e_4a22_94c8_b743a92b3022); } @@ -1035,15 +877,11 @@ pub struct IMediaSource5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceAppServiceConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceAppServiceConnection { type Vtable = IMediaSourceAppServiceConnection_Vtbl; } -impl ::core::clone::Clone for IMediaSourceAppServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceAppServiceConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61e1ea97_1916_4810_b7f4_b642be829596); } @@ -1063,15 +901,11 @@ pub struct IMediaSourceAppServiceConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceAppServiceConnectionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceAppServiceConnectionFactory { type Vtable = IMediaSourceAppServiceConnectionFactory_Vtbl; } -impl ::core::clone::Clone for IMediaSourceAppServiceConnectionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceAppServiceConnectionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65b912eb_80b9_44f9_9c1e_e120f6d92838); } @@ -1086,15 +920,11 @@ pub struct IMediaSourceAppServiceConnectionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceError { type Vtable = IMediaSourceError_Vtbl; } -impl ::core::clone::Clone for IMediaSourceError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c0a8965_37c5_4e9d_8d21_1cdee90cecc6); } @@ -1106,15 +936,11 @@ pub struct IMediaSourceError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceOpenOperationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceOpenOperationCompletedEventArgs { type Vtable = IMediaSourceOpenOperationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaSourceOpenOperationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceOpenOperationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc682ceb_e281_477c_a8e0_1acd654114c8); } @@ -1126,15 +952,11 @@ pub struct IMediaSourceOpenOperationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceStateChangedEventArgs { type Vtable = IMediaSourceStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaSourceStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a30af82_9071_4bac_bc39_ca2a93b717a9); } @@ -1147,15 +969,11 @@ pub struct IMediaSourceStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceStatics { type Vtable = IMediaSourceStatics_Vtbl; } -impl ::core::clone::Clone for IMediaSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf77d6fa4_4652_410e_b1d8_e9a5e245a45c); } @@ -1189,15 +1007,11 @@ pub struct IMediaSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceStatics2 { type Vtable = IMediaSourceStatics2_Vtbl; } -impl ::core::clone::Clone for IMediaSourceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeee161a4_7f13_4896_b8cb_df0de5bcb9f1); } @@ -1209,15 +1023,11 @@ pub struct IMediaSourceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceStatics3 { type Vtable = IMediaSourceStatics3_Vtbl; } -impl ::core::clone::Clone for IMediaSourceStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x453a30d6_2bea_4122_9f73_eace04526e35); } @@ -1232,15 +1042,11 @@ pub struct IMediaSourceStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSourceStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSourceStatics4 { type Vtable = IMediaSourceStatics4_Vtbl; } -impl ::core::clone::Clone for IMediaSourceStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSourceStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x281b3bfc_e50a_4428_a500_9c4ed918d3f0); } @@ -1255,6 +1061,7 @@ pub struct IMediaSourceStatics4_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamDescriptor(::windows_core::IUnknown); impl IMediaStreamDescriptor { pub fn IsSelected(&self) -> ::windows_core::Result { @@ -1288,28 +1095,12 @@ impl IMediaStreamDescriptor { } } ::windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaStreamDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaStreamDescriptor {} -impl ::core::fmt::Debug for IMediaStreamDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaStreamDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaStreamDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{80f16e6e-92f7-451e-97d2-afd80742da70}"); } unsafe impl ::windows_core::Interface for IMediaStreamDescriptor { type Vtable = IMediaStreamDescriptor_Vtbl; } -impl ::core::clone::Clone for IMediaStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80f16e6e_92f7_451e_97d2_afd80742da70); } @@ -1325,6 +1116,7 @@ pub struct IMediaStreamDescriptor_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamDescriptor2(::windows_core::IUnknown); impl IMediaStreamDescriptor2 { pub fn SetLabel(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -1370,28 +1162,12 @@ impl IMediaStreamDescriptor2 { } ::windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IMediaStreamDescriptor2 {} -impl ::core::cmp::PartialEq for IMediaStreamDescriptor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaStreamDescriptor2 {} -impl ::core::fmt::Debug for IMediaStreamDescriptor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaStreamDescriptor2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaStreamDescriptor2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5073010f-e8b2-4071-b00b-ebf337a76b58}"); } unsafe impl ::windows_core::Interface for IMediaStreamDescriptor2 { type Vtable = IMediaStreamDescriptor2_Vtbl; } -impl ::core::clone::Clone for IMediaStreamDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5073010f_e8b2_4071_b00b_ebf337a76b58); } @@ -1404,15 +1180,11 @@ pub struct IMediaStreamDescriptor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSample(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSample { type Vtable = IMediaStreamSample_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c8db627_4b80_4361_9837_6cb7481ad9d6); } @@ -1464,15 +1236,11 @@ pub struct IMediaStreamSample_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSample2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSample2 { type Vtable = IMediaStreamSample2_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSample2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSample2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45078691_fce8_4746_a1c8_10c25d3d7cd3); } @@ -1487,15 +1255,11 @@ pub struct IMediaStreamSample2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSampleProtectionProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSampleProtectionProperties { type Vtable = IMediaStreamSampleProtectionProperties_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSampleProtectionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSampleProtectionProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4eb88292_ecdf_493e_841d_dd4add7caca2); } @@ -1512,15 +1276,11 @@ pub struct IMediaStreamSampleProtectionProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSampleStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSampleStatics { type Vtable = IMediaStreamSampleStatics_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSampleStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSampleStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfdf218f_a6cf_4579_be41_73dd941ad972); } @@ -1539,15 +1299,11 @@ pub struct IMediaStreamSampleStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSampleStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSampleStatics2 { type Vtable = IMediaStreamSampleStatics2_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSampleStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSampleStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9efe9521_6d46_494c_a2f8_d662922e2dd7); } @@ -1562,15 +1318,11 @@ pub struct IMediaStreamSampleStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSource { type Vtable = IMediaStreamSource_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3712d543_45eb_4138_aa62_c01e26f3843f); } @@ -1670,15 +1422,11 @@ pub struct IMediaStreamSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSource2 { type Vtable = IMediaStreamSource2_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec55d0ad_2e6a_4f74_adbb_b562d1533849); } @@ -1697,15 +1445,11 @@ pub struct IMediaStreamSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSource3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSource3 { type Vtable = IMediaStreamSource3_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a2a2746_3ddd_4ddf_a121_94045ecf9440); } @@ -1724,15 +1468,11 @@ pub struct IMediaStreamSource3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSource4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSource4 { type Vtable = IMediaStreamSource4_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSource4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSource4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d0cfcab_830d_417c_a3a9_2454fd6415c7); } @@ -1745,15 +1485,11 @@ pub struct IMediaStreamSource4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceClosedEventArgs { type Vtable = IMediaStreamSourceClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd8c7eb2_4816_4e24_88f0_491ef7386406); } @@ -1765,15 +1501,11 @@ pub struct IMediaStreamSourceClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceClosedRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceClosedRequest { type Vtable = IMediaStreamSourceClosedRequest_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceClosedRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceClosedRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x907c00e9_18a3_4951_887a_2c1eebd5c69e); } @@ -1785,15 +1517,11 @@ pub struct IMediaStreamSourceClosedRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceFactory { type Vtable = IMediaStreamSourceFactory_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef77e0d9_d158_4b7a_863f_203342fbfd41); } @@ -1806,15 +1534,11 @@ pub struct IMediaStreamSourceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSampleRenderedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSampleRenderedEventArgs { type Vtable = IMediaStreamSourceSampleRenderedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSampleRenderedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSampleRenderedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d697b05_d4f2_4c7a_9dfe_8d6cd0b3ee84); } @@ -1829,15 +1553,11 @@ pub struct IMediaStreamSourceSampleRenderedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSampleRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSampleRequest { type Vtable = IMediaStreamSourceSampleRequest_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSampleRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSampleRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4db341a9_3501_4d9b_83f9_8f235c822532); } @@ -1853,15 +1573,11 @@ pub struct IMediaStreamSourceSampleRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSampleRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSampleRequestDeferral { type Vtable = IMediaStreamSourceSampleRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSampleRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSampleRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7895cc02_f982_43c8_9d16_c62d999319be); } @@ -1873,15 +1589,11 @@ pub struct IMediaStreamSourceSampleRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSampleRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSampleRequestedEventArgs { type Vtable = IMediaStreamSourceSampleRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSampleRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSampleRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10f9bb9e_71c5_492f_847f_0da1f35e81f8); } @@ -1893,15 +1605,11 @@ pub struct IMediaStreamSourceSampleRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceStartingEventArgs { type Vtable = IMediaStreamSourceStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf41468f2_c274_4940_a5bb_28a572452fa7); } @@ -1913,15 +1621,11 @@ pub struct IMediaStreamSourceStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceStartingRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceStartingRequest { type Vtable = IMediaStreamSourceStartingRequest_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceStartingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceStartingRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a9093e4_35c4_4b1b_a791_0d99db56dd1d); } @@ -1941,15 +1645,11 @@ pub struct IMediaStreamSourceStartingRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceStartingRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceStartingRequestDeferral { type Vtable = IMediaStreamSourceStartingRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceStartingRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceStartingRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f1356a5_6340_4dc4_9910_068ed9f598f8); } @@ -1961,15 +1661,11 @@ pub struct IMediaStreamSourceStartingRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSwitchStreamsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSwitchStreamsRequest { type Vtable = IMediaStreamSourceSwitchStreamsRequest_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSwitchStreamsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSwitchStreamsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41b8808e_38a9_4ec3_9ba0_b69b85501e90); } @@ -1983,15 +1679,11 @@ pub struct IMediaStreamSourceSwitchStreamsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSwitchStreamsRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSwitchStreamsRequestDeferral { type Vtable = IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSwitchStreamsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSwitchStreamsRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbee3d835_a505_4f9a_b943_2b8cb1b4bbd9); } @@ -2003,15 +1695,11 @@ pub struct IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamSourceSwitchStreamsRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaStreamSourceSwitchStreamsRequestedEventArgs { type Vtable = IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaStreamSourceSwitchStreamsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStreamSourceSwitchStreamsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42202b72_6ea1_4677_981e_350a0da412aa); } @@ -2023,6 +1711,7 @@ pub struct IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTrack(::windows_core::IUnknown); impl IMediaTrack { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2059,28 +1748,12 @@ impl IMediaTrack { } } ::windows_core::imp::interface_hierarchy!(IMediaTrack, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaTrack {} -impl ::core::fmt::Debug for IMediaTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{03e1fafc-c931-491a-b46b-c10ee8c256b7}"); } unsafe impl ::windows_core::Interface for IMediaTrack { type Vtable = IMediaTrack_Vtbl; } -impl ::core::clone::Clone for IMediaTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03e1fafc_c931_491a_b46b_c10ee8c256b7); } @@ -2096,15 +1769,11 @@ pub struct IMediaTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMseSourceBuffer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMseSourceBuffer { type Vtable = IMseSourceBuffer_Vtbl; } -impl ::core::clone::Clone for IMseSourceBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMseSourceBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c1aa3e3_df8d_4079_a3fe_6849184b4e2f); } @@ -2203,15 +1872,11 @@ pub struct IMseSourceBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMseSourceBufferList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMseSourceBufferList { type Vtable = IMseSourceBufferList_Vtbl; } -impl ::core::clone::Clone for IMseSourceBufferList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMseSourceBufferList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95fae8e7_a8e7_4ebf_8927_145e940ba511); } @@ -2242,15 +1907,11 @@ pub struct IMseSourceBufferList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMseStreamSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMseStreamSource { type Vtable = IMseStreamSource_Vtbl; } -impl ::core::clone::Clone for IMseStreamSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMseStreamSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0b4198d_02f4_4923_88dd_81bc3f360ffa); } @@ -2299,15 +1960,11 @@ pub struct IMseStreamSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMseStreamSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMseStreamSource2 { type Vtable = IMseStreamSource2_Vtbl; } -impl ::core::clone::Clone for IMseStreamSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMseStreamSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66f57d37_f9e7_418a_9cde_a020e956552b); } @@ -2326,15 +1983,11 @@ pub struct IMseStreamSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMseStreamSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMseStreamSourceStatics { type Vtable = IMseStreamSourceStatics_Vtbl; } -impl ::core::clone::Clone for IMseStreamSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMseStreamSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x465c679d_d570_43ce_ba21_0bff5f3fbd0a); } @@ -2346,15 +1999,11 @@ pub struct IMseStreamSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneAnalysisEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneAnalysisEffect { type Vtable = ISceneAnalysisEffect_Vtbl; } -impl ::core::clone::Clone for ISceneAnalysisEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneAnalysisEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc04ba319_ca41_4813_bffd_7b08b0ed2557); } @@ -2382,15 +2031,11 @@ pub struct ISceneAnalysisEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneAnalysisEffectFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneAnalysisEffectFrame { type Vtable = ISceneAnalysisEffectFrame_Vtbl; } -impl ::core::clone::Clone for ISceneAnalysisEffectFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneAnalysisEffectFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8b10e4c_7fd9_42e1_85eb_6572c297c987); } @@ -2406,15 +2051,11 @@ pub struct ISceneAnalysisEffectFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneAnalysisEffectFrame2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneAnalysisEffectFrame2 { type Vtable = ISceneAnalysisEffectFrame2_Vtbl; } -impl ::core::clone::Clone for ISceneAnalysisEffectFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneAnalysisEffectFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d4e29be_061f_47ae_9915_02524b5f9a5f); } @@ -2426,15 +2067,11 @@ pub struct ISceneAnalysisEffectFrame2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneAnalyzedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneAnalyzedEventArgs { type Vtable = ISceneAnalyzedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISceneAnalyzedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneAnalyzedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x146b9588_2851_45e4_ad55_44cf8df8db4d); } @@ -2446,6 +2083,7 @@ pub struct ISceneAnalyzedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISingleSelectMediaTrackList(::windows_core::IUnknown); impl ISingleSelectMediaTrackList { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2479,28 +2117,12 @@ impl ISingleSelectMediaTrackList { } } ::windows_core::imp::interface_hierarchy!(ISingleSelectMediaTrackList, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISingleSelectMediaTrackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISingleSelectMediaTrackList {} -impl ::core::fmt::Debug for ISingleSelectMediaTrackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISingleSelectMediaTrackList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISingleSelectMediaTrackList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{77206f1f-c34f-494f-8077-2bad9ff4ecf1}"); } unsafe impl ::windows_core::Interface for ISingleSelectMediaTrackList { type Vtable = ISingleSelectMediaTrackList_Vtbl; } -impl ::core::clone::Clone for ISingleSelectMediaTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISingleSelectMediaTrackList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77206f1f_c34f_494f_8077_2bad9ff4ecf1); } @@ -2521,15 +2143,11 @@ pub struct ISingleSelectMediaTrackList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechCue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechCue { type Vtable = ISpeechCue_Vtbl; } -impl ::core::clone::Clone for ISpeechCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaee254dc_1725_4bad_8043_a98499b017a2); } @@ -2558,15 +2176,11 @@ pub struct ISpeechCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataStreamDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataStreamDescriptor { type Vtable = ITimedMetadataStreamDescriptor_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataStreamDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x133336bf_296a_463e_9ff9_01cd25691408); } @@ -2582,15 +2196,11 @@ pub struct ITimedMetadataStreamDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataStreamDescriptorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataStreamDescriptorFactory { type Vtable = ITimedMetadataStreamDescriptorFactory_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataStreamDescriptorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataStreamDescriptorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc027de30_7362_4ff9_98b1_2dfd0b8d1cae); } @@ -2605,15 +2215,11 @@ pub struct ITimedMetadataStreamDescriptorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrack(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataTrack { type Vtable = ITimedMetadataTrack_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e6aed9e_f67a_49a9_b330_cf03b0e9cf07); } @@ -2660,15 +2266,11 @@ pub struct ITimedMetadataTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrack2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataTrack2 { type Vtable = ITimedMetadataTrack2_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrack2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrack2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21b4b648_9f9d_40ba_a8f3_1a92753aef0b); } @@ -2684,15 +2286,11 @@ pub struct ITimedMetadataTrack2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrackError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataTrackError { type Vtable = ITimedMetadataTrackError_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrackError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrackError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3767915_4114_4819_b9d9_dd76089e72f8); } @@ -2705,15 +2303,11 @@ pub struct ITimedMetadataTrackError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrackFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataTrackFactory { type Vtable = ITimedMetadataTrackFactory_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrackFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrackFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dd57611_97b3_4e1f_852c_0f482c81ad26); } @@ -2725,15 +2319,11 @@ pub struct ITimedMetadataTrackFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrackFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataTrackFailedEventArgs { type Vtable = ITimedMetadataTrackFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrackFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrackFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa57fc9d1_6789_4d4d_b07f_84b4f31acb70); } @@ -2745,6 +2335,7 @@ pub struct ITimedMetadataTrackFailedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataTrackProvider(::windows_core::IUnknown); impl ITimedMetadataTrackProvider { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2758,28 +2349,12 @@ impl ITimedMetadataTrackProvider { } } ::windows_core::imp::interface_hierarchy!(ITimedMetadataTrackProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ITimedMetadataTrackProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimedMetadataTrackProvider {} -impl ::core::fmt::Debug for ITimedMetadataTrackProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimedMetadataTrackProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITimedMetadataTrackProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3b7f2024-f74e-4ade-93c5-219da05b6856}"); } unsafe impl ::windows_core::Interface for ITimedMetadataTrackProvider { type Vtable = ITimedMetadataTrackProvider_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataTrackProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataTrackProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b7f2024_f74e_4ade_93c5_219da05b6856); } @@ -2794,15 +2369,11 @@ pub struct ITimedMetadataTrackProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextBouten(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextBouten { type Vtable = ITimedTextBouten_Vtbl; } -impl ::core::clone::Clone for ITimedTextBouten { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextBouten { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9062783_5597_5092_820c_8f738e0f774a); } @@ -2825,15 +2396,11 @@ pub struct ITimedTextBouten_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextCue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextCue { type Vtable = ITimedTextCue_Vtbl; } -impl ::core::clone::Clone for ITimedTextCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51c79e51_3b86_494d_b359_bb2ea7aca9a9); } @@ -2852,15 +2419,11 @@ pub struct ITimedTextCue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextLine(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextLine { type Vtable = ITimedTextLine_Vtbl; } -impl ::core::clone::Clone for ITimedTextLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextLine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x978d7ce2_7308_4c66_be50_65777289f5df); } @@ -2877,15 +2440,11 @@ pub struct ITimedTextLine_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextRegion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextRegion { type Vtable = ITimedTextRegion_Vtbl; } -impl ::core::clone::Clone for ITimedTextRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ed0881f_8a06_4222_9f59_b21bf40124b4); } @@ -2926,15 +2485,11 @@ pub struct ITimedTextRegion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextRuby(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextRuby { type Vtable = ITimedTextRuby_Vtbl; } -impl ::core::clone::Clone for ITimedTextRuby { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextRuby { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10335c29_5b3c_5693_9959_d05a0bd24628); } @@ -2953,15 +2508,11 @@ pub struct ITimedTextRuby_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextSource { type Vtable = ITimedTextSource_Vtbl; } -impl ::core::clone::Clone for ITimedTextSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4ed9ba6_101f_404d_a949_82f33fcd93b7); } @@ -2980,15 +2531,11 @@ pub struct ITimedTextSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextSourceResolveResultEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextSourceResolveResultEventArgs { type Vtable = ITimedTextSourceResolveResultEventArgs_Vtbl; } -impl ::core::clone::Clone for ITimedTextSourceResolveResultEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextSourceResolveResultEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48907c9c_dcd8_4c33_9ad3_6cdce7b1c566); } @@ -3004,15 +2551,11 @@ pub struct ITimedTextSourceResolveResultEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextSourceStatics { type Vtable = ITimedTextSourceStatics_Vtbl; } -impl ::core::clone::Clone for ITimedTextSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e311853_9aba_4ac4_bb98_2fb176c3bfdd); } @@ -3039,15 +2582,11 @@ pub struct ITimedTextSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextSourceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextSourceStatics2 { type Vtable = ITimedTextSourceStatics2_Vtbl; } -impl ::core::clone::Clone for ITimedTextSourceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextSourceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb66b7602_923e_43fa_9633_587075812db5); } @@ -3074,15 +2613,11 @@ pub struct ITimedTextSourceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextStyle(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextStyle { type Vtable = ITimedTextStyle_Vtbl; } -impl ::core::clone::Clone for ITimedTextStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb2384d_a825_40c2_a7f5_281eaedf3b55); } @@ -3135,15 +2670,11 @@ pub struct ITimedTextStyle_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextStyle2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextStyle2 { type Vtable = ITimedTextStyle2_Vtbl; } -impl ::core::clone::Clone for ITimedTextStyle2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextStyle2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x655f492d_6111_4787_89cc_686fece57e14); } @@ -3162,15 +2693,11 @@ pub struct ITimedTextStyle2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextStyle3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextStyle3 { type Vtable = ITimedTextStyle3_Vtbl; } -impl ::core::clone::Clone for ITimedTextStyle3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextStyle3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf803f93b_3e99_595e_bbb7_78a2fa13c270); } @@ -3187,15 +2714,11 @@ pub struct ITimedTextStyle3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedTextSubformat(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedTextSubformat { type Vtable = ITimedTextSubformat_Vtbl; } -impl ::core::clone::Clone for ITimedTextSubformat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedTextSubformat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd713502f_3261_4722_a0c2_b937b2390f14); } @@ -3212,15 +2735,11 @@ pub struct ITimedTextSubformat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStabilizationEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStabilizationEffect { type Vtable = IVideoStabilizationEffect_Vtbl; } -impl ::core::clone::Clone for IVideoStabilizationEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStabilizationEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0808a650_9698_4e57_877b_bd7cb2ee0f8a); } @@ -3245,15 +2764,11 @@ pub struct IVideoStabilizationEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStabilizationEffectEnabledChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStabilizationEffectEnabledChangedEventArgs { type Vtable = IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVideoStabilizationEffectEnabledChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStabilizationEffectEnabledChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x187eff28_67bb_4713_b900_4168da164529); } @@ -3265,15 +2780,11 @@ pub struct IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStreamDescriptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStreamDescriptor { type Vtable = IVideoStreamDescriptor_Vtbl; } -impl ::core::clone::Clone for IVideoStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStreamDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12ee0d55_9c2b_4440_8057_2c7a90f0cbec); } @@ -3288,15 +2799,11 @@ pub struct IVideoStreamDescriptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStreamDescriptor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStreamDescriptor2 { type Vtable = IVideoStreamDescriptor2_Vtbl; } -impl ::core::clone::Clone for IVideoStreamDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStreamDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b306e10_453e_4088_832d_c36fa4f94af3); } @@ -3308,15 +2815,11 @@ pub struct IVideoStreamDescriptor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoStreamDescriptorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoStreamDescriptorFactory { type Vtable = IVideoStreamDescriptorFactory_Vtbl; } -impl ::core::clone::Clone for IVideoStreamDescriptorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoStreamDescriptorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x494ef6d1_bb75_43d2_9e5e_7b79a3afced4); } @@ -3331,15 +2834,11 @@ pub struct IVideoStreamDescriptorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTrack(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTrack { type Vtable = IVideoTrack_Vtbl; } -impl ::core::clone::Clone for IVideoTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99f3b7f3_e298_4396_bb6a_a51be6a2a20a); } @@ -3368,15 +2867,11 @@ pub struct IVideoTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTrackOpenFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTrackOpenFailedEventArgs { type Vtable = IVideoTrackOpenFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVideoTrackOpenFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTrackOpenFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7679e231_04f9_4c82_a4ee_8602c8bb4754); } @@ -3388,15 +2883,11 @@ pub struct IVideoTrackOpenFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTrackSupportInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTrackSupportInfo { type Vtable = IVideoTrackSupportInfo_Vtbl; } -impl ::core::clone::Clone for IVideoTrackSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTrackSupportInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bb534a0_fc5f_450d_8ff0_778d590486de); } @@ -3409,6 +2900,7 @@ pub struct IVideoTrackSupportInfo_Vtbl { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioStreamDescriptor(::windows_core::IUnknown); impl AudioStreamDescriptor { #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -3520,25 +3012,9 @@ impl AudioStreamDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioStreamDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioStreamDescriptor {} -impl ::core::fmt::Debug for AudioStreamDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioStreamDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioStreamDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioStreamDescriptor;{1e3692e4-4027-4847-a70b-df1d9a2a7b04})"); } -impl ::core::clone::Clone for AudioStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioStreamDescriptor { type Vtable = IAudioStreamDescriptor_Vtbl; } @@ -3555,6 +3031,7 @@ unsafe impl ::core::marker::Send for AudioStreamDescriptor {} unsafe impl ::core::marker::Sync for AudioStreamDescriptor {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioTrack(::windows_core::IUnknown); impl AudioTrack { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3640,25 +3117,9 @@ impl AudioTrack { } } } -impl ::core::cmp::PartialEq for AudioTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioTrack {} -impl ::core::fmt::Debug for AudioTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); } -impl ::core::clone::Clone for AudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioTrack { type Vtable = IMediaTrack_Vtbl; } @@ -3674,6 +3135,7 @@ unsafe impl ::core::marker::Send for AudioTrack {} unsafe impl ::core::marker::Sync for AudioTrack {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioTrackOpenFailedEventArgs(::windows_core::IUnknown); impl AudioTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3684,25 +3146,9 @@ impl AudioTrackOpenFailedEventArgs { } } } -impl ::core::cmp::PartialEq for AudioTrackOpenFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioTrackOpenFailedEventArgs {} -impl ::core::fmt::Debug for AudioTrackOpenFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioTrackOpenFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioTrackOpenFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackOpenFailedEventArgs;{eeddb9b9-bb7c-4112-bf76-9384676f824b})"); } -impl ::core::clone::Clone for AudioTrackOpenFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioTrackOpenFailedEventArgs { type Vtable = IAudioTrackOpenFailedEventArgs_Vtbl; } @@ -3717,6 +3163,7 @@ unsafe impl ::core::marker::Send for AudioTrackOpenFailedEventArgs {} unsafe impl ::core::marker::Sync for AudioTrackOpenFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioTrackSupportInfo(::windows_core::IUnknown); impl AudioTrackSupportInfo { pub fn DecoderStatus(&self) -> ::windows_core::Result { @@ -3748,25 +3195,9 @@ impl AudioTrackSupportInfo { } } } -impl ::core::cmp::PartialEq for AudioTrackSupportInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioTrackSupportInfo {} -impl ::core::fmt::Debug for AudioTrackSupportInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioTrackSupportInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioTrackSupportInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.AudioTrackSupportInfo;{178beff7-cc39-44a6-b951-4a5653f073fa})"); } -impl ::core::clone::Clone for AudioTrackSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioTrackSupportInfo { type Vtable = IAudioTrackSupportInfo_Vtbl; } @@ -3781,6 +3212,7 @@ unsafe impl ::core::marker::Send for AudioTrackSupportInfo {} unsafe impl ::core::marker::Sync for AudioTrackSupportInfo {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChapterCue(::windows_core::IUnknown); impl ChapterCue { pub fn new() -> ::windows_core::Result { @@ -3843,25 +3275,9 @@ impl ChapterCue { } } } -impl ::core::cmp::PartialEq for ChapterCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChapterCue {} -impl ::core::fmt::Debug for ChapterCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChapterCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChapterCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ChapterCue;{72a98001-d38a-4c0a-8fa6-75cddaf4664c})"); } -impl ::core::clone::Clone for ChapterCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChapterCue { type Vtable = IChapterCue_Vtbl; } @@ -3877,6 +3293,7 @@ unsafe impl ::core::marker::Send for ChapterCue {} unsafe impl ::core::marker::Sync for ChapterCue {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CodecInfo(::windows_core::IUnknown); impl CodecInfo { pub fn Kind(&self) -> ::windows_core::Result { @@ -3917,25 +3334,9 @@ impl CodecInfo { } } } -impl ::core::cmp::PartialEq for CodecInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CodecInfo {} -impl ::core::fmt::Debug for CodecInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CodecInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CodecInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecInfo;{51e89f85-ea97-499c-86ac-4ce5e73f3a42})"); } -impl ::core::clone::Clone for CodecInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CodecInfo { type Vtable = ICodecInfo_Vtbl; } @@ -3950,6 +3351,7 @@ unsafe impl ::core::marker::Send for CodecInfo {} unsafe impl ::core::marker::Sync for CodecInfo {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CodecQuery(::windows_core::IUnknown); impl CodecQuery { pub fn new() -> ::windows_core::Result { @@ -3969,25 +3371,9 @@ impl CodecQuery { } } } -impl ::core::cmp::PartialEq for CodecQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CodecQuery {} -impl ::core::fmt::Debug for CodecQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CodecQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CodecQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.CodecQuery;{222a953a-af61-4e04-808a-a4634e2f3ac4})"); } -impl ::core::clone::Clone for CodecQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CodecQuery { type Vtable = ICodecQuery_Vtbl; } @@ -4320,6 +3706,7 @@ impl ::windows_core::RuntimeName for CodecSubtypes { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataCue(::windows_core::IUnknown); impl DataCue { pub fn new() -> ::windows_core::Result { @@ -4398,25 +3785,9 @@ impl DataCue { } } } -impl ::core::cmp::PartialEq for DataCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataCue {} -impl ::core::fmt::Debug for DataCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.DataCue;{7c7f676d-1fbc-4e2d-9a87-ee38bd1dc637})"); } -impl ::core::clone::Clone for DataCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataCue { type Vtable = IDataCue_Vtbl; } @@ -4432,6 +3803,7 @@ unsafe impl ::core::marker::Send for DataCue {} unsafe impl ::core::marker::Sync for DataCue {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceDetectedEventArgs(::windows_core::IUnknown); impl FaceDetectedEventArgs { pub fn ResultFrame(&self) -> ::windows_core::Result { @@ -4442,25 +3814,9 @@ impl FaceDetectedEventArgs { } } } -impl ::core::cmp::PartialEq for FaceDetectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FaceDetectedEventArgs {} -impl ::core::fmt::Debug for FaceDetectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceDetectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FaceDetectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectedEventArgs;{19918426-c65b-46ba-85f8-13880576c90a})"); } -impl ::core::clone::Clone for FaceDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FaceDetectedEventArgs { type Vtable = IFaceDetectedEventArgs_Vtbl; } @@ -4475,6 +3831,7 @@ unsafe impl ::core::marker::Send for FaceDetectedEventArgs {} unsafe impl ::core::marker::Sync for FaceDetectedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceDetectionEffect(::windows_core::IUnknown); impl FaceDetectionEffect { pub fn SetEnabled(&self, value: bool) -> ::windows_core::Result<()> { @@ -4531,25 +3888,9 @@ impl FaceDetectionEffect { unsafe { (::windows_core::Interface::vtable(this).SetProperties)(::windows_core::Interface::as_raw(this), configuration.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for FaceDetectionEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FaceDetectionEffect {} -impl ::core::fmt::Debug for FaceDetectionEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceDetectionEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FaceDetectionEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffect;{ae15ebd2-0542-42a9-bc90-f283a29f46c1})"); } -impl ::core::clone::Clone for FaceDetectionEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FaceDetectionEffect { type Vtable = IFaceDetectionEffect_Vtbl; } @@ -4566,6 +3907,7 @@ unsafe impl ::core::marker::Sync for FaceDetectionEffect {} #[doc = "*Required features: `\"Media_Core\"`, `\"Media_Effects\"`*"] #[cfg(feature = "Media_Effects")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceDetectionEffectDefinition(::windows_core::IUnknown); #[cfg(feature = "Media_Effects")] impl FaceDetectionEffectDefinition { @@ -4618,30 +3960,10 @@ impl FaceDetectionEffectDefinition { } } #[cfg(feature = "Media_Effects")] -impl ::core::cmp::PartialEq for FaceDetectionEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Media_Effects")] -impl ::core::cmp::Eq for FaceDetectionEffectDefinition {} -#[cfg(feature = "Media_Effects")] -impl ::core::fmt::Debug for FaceDetectionEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceDetectionEffectDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Media_Effects")] impl ::windows_core::RuntimeType for FaceDetectionEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] -impl ::core::clone::Clone for FaceDetectionEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Media_Effects")] unsafe impl ::windows_core::Interface for FaceDetectionEffectDefinition { type Vtable = super::Effects::IVideoEffectDefinition_Vtbl; } @@ -4663,6 +3985,7 @@ unsafe impl ::core::marker::Send for FaceDetectionEffectDefinition {} unsafe impl ::core::marker::Sync for FaceDetectionEffectDefinition {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceDetectionEffectFrame(::windows_core::IUnknown); impl FaceDetectionEffectFrame { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4769,25 +4092,9 @@ impl FaceDetectionEffectFrame { } } } -impl ::core::cmp::PartialEq for FaceDetectionEffectFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FaceDetectionEffectFrame {} -impl ::core::fmt::Debug for FaceDetectionEffectFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceDetectionEffectFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FaceDetectionEffectFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.FaceDetectionEffectFrame;{8ab08993-5dc8-447b-a247-5270bd802ece})"); } -impl ::core::clone::Clone for FaceDetectionEffectFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FaceDetectionEffectFrame { type Vtable = IFaceDetectionEffectFrame_Vtbl; } @@ -4805,6 +4112,7 @@ unsafe impl ::core::marker::Send for FaceDetectionEffectFrame {} unsafe impl ::core::marker::Sync for FaceDetectionEffectFrame {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HighDynamicRangeControl(::windows_core::IUnknown); impl HighDynamicRangeControl { pub fn SetEnabled(&self, value: bool) -> ::windows_core::Result<()> { @@ -4819,25 +4127,9 @@ impl HighDynamicRangeControl { } } } -impl ::core::cmp::PartialEq for HighDynamicRangeControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HighDynamicRangeControl {} -impl ::core::fmt::Debug for HighDynamicRangeControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HighDynamicRangeControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HighDynamicRangeControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeControl;{55f1a7ae-d957-4dc9-9d1c-8553a82a7d99})"); } -impl ::core::clone::Clone for HighDynamicRangeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HighDynamicRangeControl { type Vtable = IHighDynamicRangeControl_Vtbl; } @@ -4852,6 +4144,7 @@ unsafe impl ::core::marker::Send for HighDynamicRangeControl {} unsafe impl ::core::marker::Sync for HighDynamicRangeControl {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HighDynamicRangeOutput(::windows_core::IUnknown); impl HighDynamicRangeOutput { pub fn Certainty(&self) -> ::windows_core::Result { @@ -4871,24 +4164,8 @@ impl HighDynamicRangeOutput { } } } -impl ::core::cmp::PartialEq for HighDynamicRangeOutput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HighDynamicRangeOutput {} -impl ::core::fmt::Debug for HighDynamicRangeOutput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HighDynamicRangeOutput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HighDynamicRangeOutput { - const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeOutput;{0f57806b-253b-4119-bb40-3a90e51384f7})"); -} -impl ::core::clone::Clone for HighDynamicRangeOutput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } + const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.HighDynamicRangeOutput;{0f57806b-253b-4119-bb40-3a90e51384f7})"); } unsafe impl ::windows_core::Interface for HighDynamicRangeOutput { type Vtable = IHighDynamicRangeOutput_Vtbl; @@ -4904,6 +4181,7 @@ unsafe impl ::core::marker::Send for HighDynamicRangeOutput {} unsafe impl ::core::marker::Sync for HighDynamicRangeOutput {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageCue(::windows_core::IUnknown); impl ImageCue { pub fn new() -> ::windows_core::Result { @@ -4995,25 +4273,9 @@ impl ImageCue { } } } -impl ::core::cmp::PartialEq for ImageCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageCue {} -impl ::core::fmt::Debug for ImageCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.ImageCue;{52828282-367b-440b-9116-3c84570dd270})"); } -impl ::core::clone::Clone for ImageCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageCue { type Vtable = IImageCue_Vtbl; } @@ -5029,6 +4291,7 @@ unsafe impl ::core::marker::Send for ImageCue {} unsafe impl ::core::marker::Sync for ImageCue {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InitializeMediaStreamSourceRequestedEventArgs(::windows_core::IUnknown); impl InitializeMediaStreamSourceRequestedEventArgs { pub fn Source(&self) -> ::windows_core::Result { @@ -5057,25 +4320,9 @@ impl InitializeMediaStreamSourceRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for InitializeMediaStreamSourceRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InitializeMediaStreamSourceRequestedEventArgs {} -impl ::core::fmt::Debug for InitializeMediaStreamSourceRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InitializeMediaStreamSourceRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InitializeMediaStreamSourceRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.InitializeMediaStreamSourceRequestedEventArgs;{25bc45e1-9b08-4c2e-a855-4542f1a75deb})"); } -impl ::core::clone::Clone for InitializeMediaStreamSourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InitializeMediaStreamSourceRequestedEventArgs { type Vtable = IInitializeMediaStreamSourceRequestedEventArgs_Vtbl; } @@ -5127,6 +4374,7 @@ impl ::windows_core::RuntimeName for LowLightFusion { } #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLightFusionResult(::windows_core::IUnknown); impl LowLightFusionResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5145,25 +4393,9 @@ impl LowLightFusionResult { } } } -impl ::core::cmp::PartialEq for LowLightFusionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLightFusionResult {} -impl ::core::fmt::Debug for LowLightFusionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLightFusionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLightFusionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.LowLightFusionResult;{78edbe35-27a0-42e0-9cd3-738d2089de9c})"); } -impl ::core::clone::Clone for LowLightFusionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLightFusionResult { type Vtable = ILowLightFusionResult_Vtbl; } @@ -5180,6 +4412,7 @@ unsafe impl ::core::marker::Send for LowLightFusionResult {} unsafe impl ::core::marker::Sync for LowLightFusionResult {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBinder(::windows_core::IUnknown); impl MediaBinder { pub fn new() -> ::windows_core::Result { @@ -5226,25 +4459,9 @@ impl MediaBinder { } } } -impl ::core::cmp::PartialEq for MediaBinder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBinder {} -impl ::core::fmt::Debug for MediaBinder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBinder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBinder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBinder;{2b7e40aa-de07-424f-83f1-f1de46c4fa2e})"); } -impl ::core::clone::Clone for MediaBinder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBinder { type Vtable = IMediaBinder_Vtbl; } @@ -5259,6 +4476,7 @@ unsafe impl ::core::marker::Send for MediaBinder {} unsafe impl ::core::marker::Sync for MediaBinder {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBindingEventArgs(::windows_core::IUnknown); impl MediaBindingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5350,25 +4568,9 @@ impl MediaBindingEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetDownloadOperation)(::windows_core::Interface::as_raw(this), downloadoperation.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for MediaBindingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBindingEventArgs {} -impl ::core::fmt::Debug for MediaBindingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBindingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBindingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaBindingEventArgs;{b61cb25a-1b6d-4630-a86d-2f0837f712e5})"); } -impl ::core::clone::Clone for MediaBindingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBindingEventArgs { type Vtable = IMediaBindingEventArgs_Vtbl; } @@ -5383,6 +4585,7 @@ unsafe impl ::core::marker::Send for MediaBindingEventArgs {} unsafe impl ::core::marker::Sync for MediaBindingEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaCueEventArgs(::windows_core::IUnknown); impl MediaCueEventArgs { pub fn Cue(&self) -> ::windows_core::Result { @@ -5393,25 +4596,9 @@ impl MediaCueEventArgs { } } } -impl ::core::cmp::PartialEq for MediaCueEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaCueEventArgs {} -impl ::core::fmt::Debug for MediaCueEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaCueEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaCueEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaCueEventArgs;{d12f47f7-5fa4-4e68-9fe5-32160dcee57e})"); } -impl ::core::clone::Clone for MediaCueEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaCueEventArgs { type Vtable = IMediaCueEventArgs_Vtbl; } @@ -5426,6 +4613,7 @@ unsafe impl ::core::marker::Send for MediaCueEventArgs {} unsafe impl ::core::marker::Sync for MediaCueEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSource(::windows_core::IUnknown); impl MediaSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5708,25 +4896,9 @@ impl MediaSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSource {} -impl ::core::fmt::Debug for MediaSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSource;{2eb61048-655f-4c37-b813-b4e45dfa0abe})"); } -impl ::core::clone::Clone for MediaSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSource { type Vtable = IMediaSource2_Vtbl; } @@ -5745,6 +4917,7 @@ unsafe impl ::core::marker::Send for MediaSource {} unsafe impl ::core::marker::Sync for MediaSource {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSourceAppServiceConnection(::windows_core::IUnknown); impl MediaSourceAppServiceConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5786,25 +4959,9 @@ impl MediaSourceAppServiceConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaSourceAppServiceConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSourceAppServiceConnection {} -impl ::core::fmt::Debug for MediaSourceAppServiceConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSourceAppServiceConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSourceAppServiceConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceAppServiceConnection;{61e1ea97-1916-4810-b7f4-b642be829596})"); } -impl ::core::clone::Clone for MediaSourceAppServiceConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSourceAppServiceConnection { type Vtable = IMediaSourceAppServiceConnection_Vtbl; } @@ -5817,6 +4974,7 @@ impl ::windows_core::RuntimeName for MediaSourceAppServiceConnection { ::windows_core::imp::interface_hierarchy!(MediaSourceAppServiceConnection, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSourceError(::windows_core::IUnknown); impl MediaSourceError { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -5827,25 +4985,9 @@ impl MediaSourceError { } } } -impl ::core::cmp::PartialEq for MediaSourceError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSourceError {} -impl ::core::fmt::Debug for MediaSourceError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSourceError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSourceError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceError;{5c0a8965-37c5-4e9d-8d21-1cdee90cecc6})"); } -impl ::core::clone::Clone for MediaSourceError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSourceError { type Vtable = IMediaSourceError_Vtbl; } @@ -5860,6 +5002,7 @@ unsafe impl ::core::marker::Send for MediaSourceError {} unsafe impl ::core::marker::Sync for MediaSourceError {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSourceOpenOperationCompletedEventArgs(::windows_core::IUnknown); impl MediaSourceOpenOperationCompletedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -5870,25 +5013,9 @@ impl MediaSourceOpenOperationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaSourceOpenOperationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSourceOpenOperationCompletedEventArgs {} -impl ::core::fmt::Debug for MediaSourceOpenOperationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSourceOpenOperationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSourceOpenOperationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceOpenOperationCompletedEventArgs;{fc682ceb-e281-477c-a8e0-1acd654114c8})"); } -impl ::core::clone::Clone for MediaSourceOpenOperationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSourceOpenOperationCompletedEventArgs { type Vtable = IMediaSourceOpenOperationCompletedEventArgs_Vtbl; } @@ -5903,6 +5030,7 @@ unsafe impl ::core::marker::Send for MediaSourceOpenOperationCompletedEventArgs unsafe impl ::core::marker::Sync for MediaSourceOpenOperationCompletedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaSourceStateChangedEventArgs(::windows_core::IUnknown); impl MediaSourceStateChangedEventArgs { pub fn OldState(&self) -> ::windows_core::Result { @@ -5920,25 +5048,9 @@ impl MediaSourceStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaSourceStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaSourceStateChangedEventArgs {} -impl ::core::fmt::Debug for MediaSourceStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaSourceStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaSourceStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaSourceStateChangedEventArgs;{0a30af82-9071-4bac-bc39-ca2a93b717a9})"); } -impl ::core::clone::Clone for MediaSourceStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaSourceStateChangedEventArgs { type Vtable = IMediaSourceStateChangedEventArgs_Vtbl; } @@ -5953,6 +5065,7 @@ unsafe impl ::core::marker::Send for MediaSourceStateChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaSourceStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSample(::windows_core::IUnknown); impl MediaStreamSample { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6112,25 +5225,9 @@ impl MediaStreamSample { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaStreamSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSample {} -impl ::core::fmt::Debug for MediaStreamSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSample").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSample { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSample;{5c8db627-4b80-4361-9837-6cb7481ad9d6})"); } -impl ::core::clone::Clone for MediaStreamSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSample { type Vtable = IMediaStreamSample_Vtbl; } @@ -6146,6 +5243,7 @@ unsafe impl ::core::marker::Sync for MediaStreamSample {} #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSamplePropertySet(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl MediaStreamSamplePropertySet { @@ -6220,30 +5318,10 @@ impl MediaStreamSamplePropertySet { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for MediaStreamSamplePropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for MediaStreamSamplePropertySet {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for MediaStreamSamplePropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSamplePropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for MediaStreamSamplePropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSamplePropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for MediaStreamSamplePropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for MediaStreamSamplePropertySet { type Vtable = super::super::Foundation::Collections::IMap_Vtbl<::windows_core::GUID, ::windows_core::IInspectable>; } @@ -6283,6 +5361,7 @@ unsafe impl ::core::marker::Send for MediaStreamSamplePropertySet {} unsafe impl ::core::marker::Sync for MediaStreamSamplePropertySet {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSampleProtectionProperties(::windows_core::IUnknown); impl MediaStreamSampleProtectionProperties { pub fn SetKeyIdentifier(&self, value: &[u8]) -> ::windows_core::Result<()> { @@ -6310,25 +5389,9 @@ impl MediaStreamSampleProtectionProperties { unsafe { (::windows_core::Interface::vtable(this).GetSubSampleMapping)(::windows_core::Interface::as_raw(this), value.set_abi_len(), value as *mut _ as _).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSampleProtectionProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSampleProtectionProperties {} -impl ::core::fmt::Debug for MediaStreamSampleProtectionProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSampleProtectionProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSampleProtectionProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSampleProtectionProperties;{4eb88292-ecdf-493e-841d-dd4add7caca2})"); } -impl ::core::clone::Clone for MediaStreamSampleProtectionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSampleProtectionProperties { type Vtable = IMediaStreamSampleProtectionProperties_Vtbl; } @@ -6343,6 +5406,7 @@ unsafe impl ::core::marker::Send for MediaStreamSampleProtectionProperties {} unsafe impl ::core::marker::Sync for MediaStreamSampleProtectionProperties {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSource(::windows_core::IUnknown); impl MediaStreamSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6626,25 +5690,9 @@ impl MediaStreamSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaStreamSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSource {} -impl ::core::fmt::Debug for MediaStreamSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSource;{3712d543-45eb-4138-aa62-c01e26f3843f})"); } -impl ::core::clone::Clone for MediaStreamSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSource { type Vtable = IMediaStreamSource_Vtbl; } @@ -6660,6 +5708,7 @@ unsafe impl ::core::marker::Send for MediaStreamSource {} unsafe impl ::core::marker::Sync for MediaStreamSource {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceClosedEventArgs(::windows_core::IUnknown); impl MediaStreamSourceClosedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -6670,25 +5719,9 @@ impl MediaStreamSourceClosedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceClosedEventArgs {} -impl ::core::fmt::Debug for MediaStreamSourceClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedEventArgs;{cd8c7eb2-4816-4e24-88f0-491ef7386406})"); } -impl ::core::clone::Clone for MediaStreamSourceClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceClosedEventArgs { type Vtable = IMediaStreamSourceClosedEventArgs_Vtbl; } @@ -6703,6 +5736,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceClosedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceClosedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceClosedRequest(::windows_core::IUnknown); impl MediaStreamSourceClosedRequest { pub fn Reason(&self) -> ::windows_core::Result { @@ -6713,25 +5747,9 @@ impl MediaStreamSourceClosedRequest { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceClosedRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceClosedRequest {} -impl ::core::fmt::Debug for MediaStreamSourceClosedRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceClosedRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceClosedRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceClosedRequest;{907c00e9-18a3-4951-887a-2c1eebd5c69e})"); } -impl ::core::clone::Clone for MediaStreamSourceClosedRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceClosedRequest { type Vtable = IMediaStreamSourceClosedRequest_Vtbl; } @@ -6746,6 +5764,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceClosedRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceClosedRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSampleRenderedEventArgs(::windows_core::IUnknown); impl MediaStreamSourceSampleRenderedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6758,25 +5777,9 @@ impl MediaStreamSourceSampleRenderedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSampleRenderedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSampleRenderedEventArgs {} -impl ::core::fmt::Debug for MediaStreamSourceSampleRenderedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSampleRenderedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSampleRenderedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRenderedEventArgs;{9d697b05-d4f2-4c7a-9dfe-8d6cd0b3ee84})"); } -impl ::core::clone::Clone for MediaStreamSourceSampleRenderedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSampleRenderedEventArgs { type Vtable = IMediaStreamSourceSampleRenderedEventArgs_Vtbl; } @@ -6791,6 +5794,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSampleRenderedEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRenderedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSampleRequest(::windows_core::IUnknown); impl MediaStreamSourceSampleRequest { pub fn StreamDescriptor(&self) -> ::windows_core::Result { @@ -6826,25 +5830,9 @@ impl MediaStreamSourceSampleRequest { unsafe { (::windows_core::Interface::vtable(this).ReportSampleProgress)(::windows_core::Interface::as_raw(this), progress).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSampleRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSampleRequest {} -impl ::core::fmt::Debug for MediaStreamSourceSampleRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSampleRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSampleRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequest;{4db341a9-3501-4d9b-83f9-8f235c822532})"); } -impl ::core::clone::Clone for MediaStreamSourceSampleRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSampleRequest { type Vtable = IMediaStreamSourceSampleRequest_Vtbl; } @@ -6859,6 +5847,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSampleRequestDeferral(::windows_core::IUnknown); impl MediaStreamSourceSampleRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -6866,25 +5855,9 @@ impl MediaStreamSourceSampleRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSampleRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSampleRequestDeferral {} -impl ::core::fmt::Debug for MediaStreamSourceSampleRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSampleRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSampleRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestDeferral;{7895cc02-f982-43c8-9d16-c62d999319be})"); } -impl ::core::clone::Clone for MediaStreamSourceSampleRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSampleRequestDeferral { type Vtable = IMediaStreamSourceSampleRequestDeferral_Vtbl; } @@ -6899,6 +5872,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequestDeferral {} unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSampleRequestedEventArgs(::windows_core::IUnknown); impl MediaStreamSourceSampleRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -6909,25 +5883,9 @@ impl MediaStreamSourceSampleRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSampleRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSampleRequestedEventArgs {} -impl ::core::fmt::Debug for MediaStreamSourceSampleRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSampleRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSampleRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSampleRequestedEventArgs;{10f9bb9e-71c5-492f-847f-0da1f35e81f8})"); } -impl ::core::clone::Clone for MediaStreamSourceSampleRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSampleRequestedEventArgs { type Vtable = IMediaStreamSourceSampleRequestedEventArgs_Vtbl; } @@ -6942,6 +5900,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSampleRequestedEventArgs { unsafe impl ::core::marker::Sync for MediaStreamSourceSampleRequestedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceStartingEventArgs(::windows_core::IUnknown); impl MediaStreamSourceStartingEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -6952,25 +5911,9 @@ impl MediaStreamSourceStartingEventArgs { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceStartingEventArgs {} -impl ::core::fmt::Debug for MediaStreamSourceStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingEventArgs;{f41468f2-c274-4940-a5bb-28a572452fa7})"); } -impl ::core::clone::Clone for MediaStreamSourceStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceStartingEventArgs { type Vtable = IMediaStreamSourceStartingEventArgs_Vtbl; } @@ -6985,6 +5928,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceStartingEventArgs {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceStartingRequest(::windows_core::IUnknown); impl MediaStreamSourceStartingRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7010,25 +5954,9 @@ impl MediaStreamSourceStartingRequest { unsafe { (::windows_core::Interface::vtable(this).SetActualStartPosition)(::windows_core::Interface::as_raw(this), position).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSourceStartingRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceStartingRequest {} -impl ::core::fmt::Debug for MediaStreamSourceStartingRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceStartingRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceStartingRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequest;{2a9093e4-35c4-4b1b-a791-0d99db56dd1d})"); } -impl ::core::clone::Clone for MediaStreamSourceStartingRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceStartingRequest { type Vtable = IMediaStreamSourceStartingRequest_Vtbl; } @@ -7043,6 +5971,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceStartingRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceStartingRequestDeferral(::windows_core::IUnknown); impl MediaStreamSourceStartingRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -7050,25 +5979,9 @@ impl MediaStreamSourceStartingRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSourceStartingRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceStartingRequestDeferral {} -impl ::core::fmt::Debug for MediaStreamSourceStartingRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceStartingRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceStartingRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceStartingRequestDeferral;{3f1356a5-6340-4dc4-9910-068ed9f598f8})"); } -impl ::core::clone::Clone for MediaStreamSourceStartingRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceStartingRequestDeferral { type Vtable = IMediaStreamSourceStartingRequestDeferral_Vtbl; } @@ -7083,6 +5996,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceStartingRequestDeferral {} unsafe impl ::core::marker::Sync for MediaStreamSourceStartingRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSwitchStreamsRequest(::windows_core::IUnknown); impl MediaStreamSourceSwitchStreamsRequest { pub fn OldStreamDescriptor(&self) -> ::windows_core::Result { @@ -7107,25 +6021,9 @@ impl MediaStreamSourceSwitchStreamsRequest { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSwitchStreamsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSwitchStreamsRequest {} -impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSwitchStreamsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSwitchStreamsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequest;{41b8808e-38a9-4ec3-9ba0-b69b85501e90})"); } -impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSwitchStreamsRequest { type Vtable = IMediaStreamSourceSwitchStreamsRequest_Vtbl; } @@ -7140,6 +6038,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequest {} unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequest {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSwitchStreamsRequestDeferral(::windows_core::IUnknown); impl MediaStreamSourceSwitchStreamsRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -7147,25 +6046,9 @@ impl MediaStreamSourceSwitchStreamsRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSwitchStreamsRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSwitchStreamsRequestDeferral {} -impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSwitchStreamsRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSwitchStreamsRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestDeferral;{bee3d835-a505-4f9a-b943-2b8cb1b4bbd9})"); } -impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSwitchStreamsRequestDeferral { type Vtable = IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl; } @@ -7180,6 +6063,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequestDeferr unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequestDeferral {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaStreamSourceSwitchStreamsRequestedEventArgs(::windows_core::IUnknown); impl MediaStreamSourceSwitchStreamsRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -7190,25 +6074,9 @@ impl MediaStreamSourceSwitchStreamsRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaStreamSourceSwitchStreamsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaStreamSourceSwitchStreamsRequestedEventArgs {} -impl ::core::fmt::Debug for MediaStreamSourceSwitchStreamsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaStreamSourceSwitchStreamsRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaStreamSourceSwitchStreamsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MediaStreamSourceSwitchStreamsRequestedEventArgs;{42202b72-6ea1-4677-981e-350a0da412aa})"); } -impl ::core::clone::Clone for MediaStreamSourceSwitchStreamsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaStreamSourceSwitchStreamsRequestedEventArgs { type Vtable = IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl; } @@ -7223,6 +6091,7 @@ unsafe impl ::core::marker::Send for MediaStreamSourceSwitchStreamsRequestedEven unsafe impl ::core::marker::Sync for MediaStreamSourceSwitchStreamsRequestedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MseSourceBuffer(::windows_core::IUnknown); impl MseSourceBuffer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7427,29 +6296,13 @@ impl MseSourceBuffer { where P0: ::windows_core::TryIntoParam>, { - let this = self; - unsafe { (::windows_core::Interface::vtable(this).Remove)(::windows_core::Interface::as_raw(this), start, end.try_into_param()?.abi()).ok() } - } -} -impl ::core::cmp::PartialEq for MseSourceBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MseSourceBuffer {} -impl ::core::fmt::Debug for MseSourceBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MseSourceBuffer").field(&self.0).finish() + let this = self; + unsafe { (::windows_core::Interface::vtable(this).Remove)(::windows_core::Interface::as_raw(this), start, end.try_into_param()?.abi()).ok() } } } impl ::windows_core::RuntimeType for MseSourceBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBuffer;{0c1aa3e3-df8d-4079-a3fe-6849184b4e2f})"); } -impl ::core::clone::Clone for MseSourceBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MseSourceBuffer { type Vtable = IMseSourceBuffer_Vtbl; } @@ -7464,6 +6317,7 @@ unsafe impl ::core::marker::Send for MseSourceBuffer {} unsafe impl ::core::marker::Sync for MseSourceBuffer {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MseSourceBufferList(::windows_core::IUnknown); impl MseSourceBufferList { #[doc = "*Required features: `\"Foundation\"`*"] @@ -7512,25 +6366,9 @@ impl MseSourceBufferList { } } } -impl ::core::cmp::PartialEq for MseSourceBufferList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MseSourceBufferList {} -impl ::core::fmt::Debug for MseSourceBufferList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MseSourceBufferList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MseSourceBufferList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseSourceBufferList;{95fae8e7-a8e7-4ebf-8927-145e940ba511})"); } -impl ::core::clone::Clone for MseSourceBufferList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MseSourceBufferList { type Vtable = IMseSourceBufferList_Vtbl; } @@ -7545,6 +6383,7 @@ unsafe impl ::core::marker::Send for MseSourceBufferList {} unsafe impl ::core::marker::Sync for MseSourceBufferList {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MseStreamSource(::windows_core::IUnknown); impl MseStreamSource { pub fn new() -> ::windows_core::Result { @@ -7695,25 +6534,9 @@ impl MseStreamSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MseStreamSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MseStreamSource {} -impl ::core::fmt::Debug for MseStreamSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MseStreamSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MseStreamSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.MseStreamSource;{b0b4198d-02f4-4923-88dd-81bc3f360ffa})"); } -impl ::core::clone::Clone for MseStreamSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MseStreamSource { type Vtable = IMseStreamSource_Vtbl; } @@ -7729,6 +6552,7 @@ unsafe impl ::core::marker::Send for MseStreamSource {} unsafe impl ::core::marker::Sync for MseStreamSource {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneAnalysisEffect(::windows_core::IUnknown); impl SceneAnalysisEffect { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7781,25 +6605,9 @@ impl SceneAnalysisEffect { unsafe { (::windows_core::Interface::vtable(this).RemoveSceneAnalyzed)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for SceneAnalysisEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneAnalysisEffect {} -impl ::core::fmt::Debug for SceneAnalysisEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneAnalysisEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneAnalysisEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffect;{c04ba319-ca41-4813-bffd-7b08b0ed2557})"); } -impl ::core::clone::Clone for SceneAnalysisEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneAnalysisEffect { type Vtable = ISceneAnalysisEffect_Vtbl; } @@ -7816,6 +6624,7 @@ unsafe impl ::core::marker::Sync for SceneAnalysisEffect {} #[doc = "*Required features: `\"Media_Core\"`, `\"Media_Effects\"`*"] #[cfg(feature = "Media_Effects")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneAnalysisEffectDefinition(::windows_core::IUnknown); #[cfg(feature = "Media_Effects")] impl SceneAnalysisEffectDefinition { @@ -7846,30 +6655,10 @@ impl SceneAnalysisEffectDefinition { } } #[cfg(feature = "Media_Effects")] -impl ::core::cmp::PartialEq for SceneAnalysisEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Media_Effects")] -impl ::core::cmp::Eq for SceneAnalysisEffectDefinition {} -#[cfg(feature = "Media_Effects")] -impl ::core::fmt::Debug for SceneAnalysisEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneAnalysisEffectDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Media_Effects")] impl ::windows_core::RuntimeType for SceneAnalysisEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] -impl ::core::clone::Clone for SceneAnalysisEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Media_Effects")] unsafe impl ::windows_core::Interface for SceneAnalysisEffectDefinition { type Vtable = super::Effects::IVideoEffectDefinition_Vtbl; } @@ -7891,6 +6680,7 @@ unsafe impl ::core::marker::Send for SceneAnalysisEffectDefinition {} unsafe impl ::core::marker::Sync for SceneAnalysisEffectDefinition {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneAnalysisEffectFrame(::windows_core::IUnknown); impl SceneAnalysisEffectFrame { #[doc = "*Required features: `\"Foundation\"`*"] @@ -8011,25 +6801,9 @@ impl SceneAnalysisEffectFrame { } } } -impl ::core::cmp::PartialEq for SceneAnalysisEffectFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneAnalysisEffectFrame {} -impl ::core::fmt::Debug for SceneAnalysisEffectFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneAnalysisEffectFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneAnalysisEffectFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalysisEffectFrame;{d8b10e4c-7fd9-42e1-85eb-6572c297c987})"); } -impl ::core::clone::Clone for SceneAnalysisEffectFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneAnalysisEffectFrame { type Vtable = ISceneAnalysisEffectFrame_Vtbl; } @@ -8047,6 +6821,7 @@ unsafe impl ::core::marker::Send for SceneAnalysisEffectFrame {} unsafe impl ::core::marker::Sync for SceneAnalysisEffectFrame {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneAnalyzedEventArgs(::windows_core::IUnknown); impl SceneAnalyzedEventArgs { pub fn ResultFrame(&self) -> ::windows_core::Result { @@ -8057,25 +6832,9 @@ impl SceneAnalyzedEventArgs { } } } -impl ::core::cmp::PartialEq for SceneAnalyzedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneAnalyzedEventArgs {} -impl ::core::fmt::Debug for SceneAnalyzedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneAnalyzedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneAnalyzedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SceneAnalyzedEventArgs;{146b9588-2851-45e4-ad55-44cf8df8db4d})"); } -impl ::core::clone::Clone for SceneAnalyzedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneAnalyzedEventArgs { type Vtable = ISceneAnalyzedEventArgs_Vtbl; } @@ -8090,6 +6849,7 @@ unsafe impl ::core::marker::Send for SceneAnalyzedEventArgs {} unsafe impl ::core::marker::Sync for SceneAnalyzedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechCue(::windows_core::IUnknown); impl SpeechCue { pub fn new() -> ::windows_core::Result { @@ -8188,25 +6948,9 @@ impl SpeechCue { unsafe { (::windows_core::Interface::vtable(this).SetEndPositionInInput)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for SpeechCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechCue {} -impl ::core::fmt::Debug for SpeechCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.SpeechCue;{aee254dc-1725-4bad-8043-a98499b017a2})"); } -impl ::core::clone::Clone for SpeechCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechCue { type Vtable = ISpeechCue_Vtbl; } @@ -8222,6 +6966,7 @@ unsafe impl ::core::marker::Send for SpeechCue {} unsafe impl ::core::marker::Sync for SpeechCue {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataStreamDescriptor(::windows_core::IUnknown); impl TimedMetadataStreamDescriptor { pub fn IsSelected(&self) -> ::windows_core::Result { @@ -8297,25 +7042,9 @@ impl TimedMetadataStreamDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TimedMetadataStreamDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataStreamDescriptor {} -impl ::core::fmt::Debug for TimedMetadataStreamDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataStreamDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataStreamDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataStreamDescriptor;{80f16e6e-92f7-451e-97d2-afd80742da70})"); } -impl ::core::clone::Clone for TimedMetadataStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataStreamDescriptor { type Vtable = IMediaStreamDescriptor_Vtbl; } @@ -8332,6 +7061,7 @@ unsafe impl ::core::marker::Send for TimedMetadataStreamDescriptor {} unsafe impl ::core::marker::Sync for TimedMetadataStreamDescriptor {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataTrack(::windows_core::IUnknown); impl TimedMetadataTrack { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8494,25 +7224,9 @@ impl TimedMetadataTrack { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TimedMetadataTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataTrack {} -impl ::core::fmt::Debug for TimedMetadataTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})"); } -impl ::core::clone::Clone for TimedMetadataTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataTrack { type Vtable = ITimedMetadataTrack_Vtbl; } @@ -8528,6 +7242,7 @@ unsafe impl ::core::marker::Send for TimedMetadataTrack {} unsafe impl ::core::marker::Sync for TimedMetadataTrack {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataTrackError(::windows_core::IUnknown); impl TimedMetadataTrackError { pub fn ErrorCode(&self) -> ::windows_core::Result { @@ -8545,25 +7260,9 @@ impl TimedMetadataTrackError { } } } -impl ::core::cmp::PartialEq for TimedMetadataTrackError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataTrackError {} -impl ::core::fmt::Debug for TimedMetadataTrackError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataTrackError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataTrackError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackError;{b3767915-4114-4819-b9d9-dd76089e72f8})"); } -impl ::core::clone::Clone for TimedMetadataTrackError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataTrackError { type Vtable = ITimedMetadataTrackError_Vtbl; } @@ -8578,6 +7277,7 @@ unsafe impl ::core::marker::Send for TimedMetadataTrackError {} unsafe impl ::core::marker::Sync for TimedMetadataTrackError {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataTrackFailedEventArgs(::windows_core::IUnknown); impl TimedMetadataTrackFailedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -8588,25 +7288,9 @@ impl TimedMetadataTrackFailedEventArgs { } } } -impl ::core::cmp::PartialEq for TimedMetadataTrackFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataTrackFailedEventArgs {} -impl ::core::fmt::Debug for TimedMetadataTrackFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataTrackFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataTrackFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedMetadataTrackFailedEventArgs;{a57fc9d1-6789-4d4d-b07f-84b4f31acb70})"); } -impl ::core::clone::Clone for TimedMetadataTrackFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataTrackFailedEventArgs { type Vtable = ITimedMetadataTrackFailedEventArgs_Vtbl; } @@ -8621,6 +7305,7 @@ unsafe impl ::core::marker::Send for TimedMetadataTrackFailedEventArgs {} unsafe impl ::core::marker::Sync for TimedMetadataTrackFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextBouten(::windows_core::IUnknown); impl TimedTextBouten { pub fn Type(&self) -> ::windows_core::Result { @@ -8661,25 +7346,9 @@ impl TimedTextBouten { unsafe { (::windows_core::Interface::vtable(this).SetPosition)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for TimedTextBouten { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextBouten {} -impl ::core::fmt::Debug for TimedTextBouten { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextBouten").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextBouten { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextBouten;{d9062783-5597-5092-820c-8f738e0f774a})"); } -impl ::core::clone::Clone for TimedTextBouten { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextBouten { type Vtable = ITimedTextBouten_Vtbl; } @@ -8694,6 +7363,7 @@ unsafe impl ::core::marker::Send for TimedTextBouten {} unsafe impl ::core::marker::Sync for TimedTextBouten {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextCue(::windows_core::IUnknown); impl TimedTextCue { pub fn new() -> ::windows_core::Result { @@ -8782,25 +7452,9 @@ impl TimedTextCue { } } } -impl ::core::cmp::PartialEq for TimedTextCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextCue {} -impl ::core::fmt::Debug for TimedTextCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextCue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextCue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextCue;{51c79e51-3b86-494d-b359-bb2ea7aca9a9})"); } -impl ::core::clone::Clone for TimedTextCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextCue { type Vtable = ITimedTextCue_Vtbl; } @@ -8816,6 +7470,7 @@ unsafe impl ::core::marker::Send for TimedTextCue {} unsafe impl ::core::marker::Sync for TimedTextCue {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextLine(::windows_core::IUnknown); impl TimedTextLine { pub fn new() -> ::windows_core::Result { @@ -8846,25 +7501,9 @@ impl TimedTextLine { } } } -impl ::core::cmp::PartialEq for TimedTextLine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextLine {} -impl ::core::fmt::Debug for TimedTextLine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextLine").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextLine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextLine;{978d7ce2-7308-4c66-be50-65777289f5df})"); } -impl ::core::clone::Clone for TimedTextLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextLine { type Vtable = ITimedTextLine_Vtbl; } @@ -8879,6 +7518,7 @@ unsafe impl ::core::marker::Send for TimedTextLine {} unsafe impl ::core::marker::Sync for TimedTextLine {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextRegion(::windows_core::IUnknown); impl TimedTextRegion { pub fn new() -> ::windows_core::Result { @@ -9025,25 +7665,9 @@ impl TimedTextRegion { unsafe { (::windows_core::Interface::vtable(this).SetScrollMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for TimedTextRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextRegion {} -impl ::core::fmt::Debug for TimedTextRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextRegion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextRegion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRegion;{1ed0881f-8a06-4222-9f59-b21bf40124b4})"); } -impl ::core::clone::Clone for TimedTextRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextRegion { type Vtable = ITimedTextRegion_Vtbl; } @@ -9058,6 +7682,7 @@ unsafe impl ::core::marker::Send for TimedTextRegion {} unsafe impl ::core::marker::Sync for TimedTextRegion {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextRuby(::windows_core::IUnknown); impl TimedTextRuby { pub fn Text(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9105,25 +7730,9 @@ impl TimedTextRuby { unsafe { (::windows_core::Interface::vtable(this).SetReserve)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for TimedTextRuby { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextRuby {} -impl ::core::fmt::Debug for TimedTextRuby { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextRuby").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextRuby { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextRuby;{10335c29-5b3c-5693-9959-d05a0bd24628})"); } -impl ::core::clone::Clone for TimedTextRuby { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextRuby { type Vtable = ITimedTextRuby_Vtbl; } @@ -9138,6 +7747,7 @@ unsafe impl ::core::marker::Send for TimedTextRuby {} unsafe impl ::core::marker::Sync for TimedTextRuby {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextSource(::windows_core::IUnknown); impl TimedTextSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -9261,25 +7871,9 @@ impl TimedTextSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TimedTextSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextSource {} -impl ::core::fmt::Debug for TimedTextSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSource;{c4ed9ba6-101f-404d-a949-82f33fcd93b7})"); } -impl ::core::clone::Clone for TimedTextSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextSource { type Vtable = ITimedTextSource_Vtbl; } @@ -9294,6 +7888,7 @@ unsafe impl ::core::marker::Send for TimedTextSource {} unsafe impl ::core::marker::Sync for TimedTextSource {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextSourceResolveResultEventArgs(::windows_core::IUnknown); impl TimedTextSourceResolveResultEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -9313,25 +7908,9 @@ impl TimedTextSourceResolveResultEventArgs { } } } -impl ::core::cmp::PartialEq for TimedTextSourceResolveResultEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextSourceResolveResultEventArgs {} -impl ::core::fmt::Debug for TimedTextSourceResolveResultEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextSourceResolveResultEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextSourceResolveResultEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSourceResolveResultEventArgs;{48907c9c-dcd8-4c33-9ad3-6cdce7b1c566})"); } -impl ::core::clone::Clone for TimedTextSourceResolveResultEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextSourceResolveResultEventArgs { type Vtable = ITimedTextSourceResolveResultEventArgs_Vtbl; } @@ -9346,6 +7925,7 @@ unsafe impl ::core::marker::Send for TimedTextSourceResolveResultEventArgs {} unsafe impl ::core::marker::Sync for TimedTextSourceResolveResultEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextStyle(::windows_core::IUnknown); impl TimedTextStyle { pub fn new() -> ::windows_core::Result { @@ -9580,25 +8160,9 @@ impl TimedTextStyle { unsafe { (::windows_core::Interface::vtable(this).SetFontAngleInDegrees)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for TimedTextStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextStyle {} -impl ::core::fmt::Debug for TimedTextStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextStyle").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextStyle { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextStyle;{1bb2384d-a825-40c2-a7f5-281eaedf3b55})"); } -impl ::core::clone::Clone for TimedTextStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextStyle { type Vtable = ITimedTextStyle_Vtbl; } @@ -9613,6 +8177,7 @@ unsafe impl ::core::marker::Send for TimedTextStyle {} unsafe impl ::core::marker::Sync for TimedTextStyle {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedTextSubformat(::windows_core::IUnknown); impl TimedTextSubformat { pub fn new() -> ::windows_core::Result { @@ -9659,25 +8224,9 @@ impl TimedTextSubformat { unsafe { (::windows_core::Interface::vtable(this).SetSubformatStyle)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for TimedTextSubformat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedTextSubformat {} -impl ::core::fmt::Debug for TimedTextSubformat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedTextSubformat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedTextSubformat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.TimedTextSubformat;{d713502f-3261-4722-a0c2-b937b2390f14})"); } -impl ::core::clone::Clone for TimedTextSubformat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedTextSubformat { type Vtable = ITimedTextSubformat_Vtbl; } @@ -9692,6 +8241,7 @@ unsafe impl ::core::marker::Send for TimedTextSubformat {} unsafe impl ::core::marker::Sync for TimedTextSubformat {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoStabilizationEffect(::windows_core::IUnknown); impl VideoStabilizationEffect { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -9746,25 +8296,9 @@ impl VideoStabilizationEffect { } } } -impl ::core::cmp::PartialEq for VideoStabilizationEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoStabilizationEffect {} -impl ::core::fmt::Debug for VideoStabilizationEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoStabilizationEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoStabilizationEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffect;{0808a650-9698-4e57-877b-bd7cb2ee0f8a})"); } -impl ::core::clone::Clone for VideoStabilizationEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoStabilizationEffect { type Vtable = IVideoStabilizationEffect_Vtbl; } @@ -9781,6 +8315,7 @@ unsafe impl ::core::marker::Sync for VideoStabilizationEffect {} #[doc = "*Required features: `\"Media_Core\"`, `\"Media_Effects\"`*"] #[cfg(feature = "Media_Effects")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoStabilizationEffectDefinition(::windows_core::IUnknown); #[cfg(feature = "Media_Effects")] impl VideoStabilizationEffectDefinition { @@ -9811,30 +8346,10 @@ impl VideoStabilizationEffectDefinition { } } #[cfg(feature = "Media_Effects")] -impl ::core::cmp::PartialEq for VideoStabilizationEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Media_Effects")] -impl ::core::cmp::Eq for VideoStabilizationEffectDefinition {} -#[cfg(feature = "Media_Effects")] -impl ::core::fmt::Debug for VideoStabilizationEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoStabilizationEffectDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Media_Effects")] impl ::windows_core::RuntimeType for VideoStabilizationEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } #[cfg(feature = "Media_Effects")] -impl ::core::clone::Clone for VideoStabilizationEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Media_Effects")] unsafe impl ::windows_core::Interface for VideoStabilizationEffectDefinition { type Vtable = super::Effects::IVideoEffectDefinition_Vtbl; } @@ -9856,6 +8371,7 @@ unsafe impl ::core::marker::Send for VideoStabilizationEffectDefinition {} unsafe impl ::core::marker::Sync for VideoStabilizationEffectDefinition {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoStabilizationEffectEnabledChangedEventArgs(::windows_core::IUnknown); impl VideoStabilizationEffectEnabledChangedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -9866,25 +8382,9 @@ impl VideoStabilizationEffectEnabledChangedEventArgs { } } } -impl ::core::cmp::PartialEq for VideoStabilizationEffectEnabledChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoStabilizationEffectEnabledChangedEventArgs {} -impl ::core::fmt::Debug for VideoStabilizationEffectEnabledChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoStabilizationEffectEnabledChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoStabilizationEffectEnabledChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStabilizationEffectEnabledChangedEventArgs;{187eff28-67bb-4713-b900-4168da164529})"); } -impl ::core::clone::Clone for VideoStabilizationEffectEnabledChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoStabilizationEffectEnabledChangedEventArgs { type Vtable = IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl; } @@ -9899,6 +8399,7 @@ unsafe impl ::core::marker::Send for VideoStabilizationEffectEnabledChangedEvent unsafe impl ::core::marker::Sync for VideoStabilizationEffectEnabledChangedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoStreamDescriptor(::windows_core::IUnknown); impl VideoStreamDescriptor { pub fn IsSelected(&self) -> ::windows_core::Result { @@ -9974,25 +8475,9 @@ impl VideoStreamDescriptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VideoStreamDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoStreamDescriptor {} -impl ::core::fmt::Debug for VideoStreamDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoStreamDescriptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoStreamDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoStreamDescriptor;{12ee0d55-9c2b-4440-8057-2c7a90f0cbec})"); } -impl ::core::clone::Clone for VideoStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoStreamDescriptor { type Vtable = IVideoStreamDescriptor_Vtbl; } @@ -10009,6 +8494,7 @@ unsafe impl ::core::marker::Send for VideoStreamDescriptor {} unsafe impl ::core::marker::Sync for VideoStreamDescriptor {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTrack(::windows_core::IUnknown); impl VideoTrack { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -10094,25 +8580,9 @@ impl VideoTrack { } } } -impl ::core::cmp::PartialEq for VideoTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTrack {} -impl ::core::fmt::Debug for VideoTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})"); } -impl ::core::clone::Clone for VideoTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTrack { type Vtable = IMediaTrack_Vtbl; } @@ -10128,6 +8598,7 @@ unsafe impl ::core::marker::Send for VideoTrack {} unsafe impl ::core::marker::Sync for VideoTrack {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTrackOpenFailedEventArgs(::windows_core::IUnknown); impl VideoTrackOpenFailedEventArgs { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -10138,25 +8609,9 @@ impl VideoTrackOpenFailedEventArgs { } } } -impl ::core::cmp::PartialEq for VideoTrackOpenFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTrackOpenFailedEventArgs {} -impl ::core::fmt::Debug for VideoTrackOpenFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTrackOpenFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTrackOpenFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackOpenFailedEventArgs;{7679e231-04f9-4c82-a4ee-8602c8bb4754})"); } -impl ::core::clone::Clone for VideoTrackOpenFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTrackOpenFailedEventArgs { type Vtable = IVideoTrackOpenFailedEventArgs_Vtbl; } @@ -10171,6 +8626,7 @@ unsafe impl ::core::marker::Send for VideoTrackOpenFailedEventArgs {} unsafe impl ::core::marker::Sync for VideoTrackOpenFailedEventArgs {} #[doc = "*Required features: `\"Media_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTrackSupportInfo(::windows_core::IUnknown); impl VideoTrackSupportInfo { pub fn DecoderStatus(&self) -> ::windows_core::Result { @@ -10188,25 +8644,9 @@ impl VideoTrackSupportInfo { } } } -impl ::core::cmp::PartialEq for VideoTrackSupportInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTrackSupportInfo {} -impl ::core::fmt::Debug for VideoTrackSupportInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTrackSupportInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTrackSupportInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Core.VideoTrackSupportInfo;{4bb534a0-fc5f-450d-8ff0-778d590486de})"); } -impl ::core::clone::Clone for VideoTrackSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTrackSupportInfo { type Vtable = IVideoTrackSupportInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs index 4aef0cb56f..08b9497b71 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraIntrinsics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraIntrinsics { type Vtable = ICameraIntrinsics_Vtbl; } -impl ::core::clone::Clone for ICameraIntrinsics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraIntrinsics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aa6ed32_6589_49da_afde_594270ca0aac); } @@ -53,15 +49,11 @@ pub struct ICameraIntrinsics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraIntrinsics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraIntrinsics2 { type Vtable = ICameraIntrinsics2_Vtbl; } -impl ::core::clone::Clone for ICameraIntrinsics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraIntrinsics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cdaa447_0798_4b4d_839f_c5ec414db27a); } @@ -92,15 +84,11 @@ pub struct ICameraIntrinsics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraIntrinsicsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraIntrinsicsFactory { type Vtable = ICameraIntrinsicsFactory_Vtbl; } -impl ::core::clone::Clone for ICameraIntrinsicsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraIntrinsicsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0ddc486_2132_4a34_a659_9bfe2a055712); } @@ -115,15 +103,11 @@ pub struct ICameraIntrinsicsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDepthCorrelatedCoordinateMapper(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDepthCorrelatedCoordinateMapper { type Vtable = IDepthCorrelatedCoordinateMapper_Vtbl; } -impl ::core::clone::Clone for IDepthCorrelatedCoordinateMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDepthCorrelatedCoordinateMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf95d89fb_8af0_4cb0_926d_696866e5046a); } @@ -150,15 +134,11 @@ pub struct IDepthCorrelatedCoordinateMapper_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameControlCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameControlCapabilities { type Vtable = IFrameControlCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameControlCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameControlCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8ffae60_4e9e_4377_a789_e24c4ae7e544); } @@ -174,15 +154,11 @@ pub struct IFrameControlCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameControlCapabilities2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameControlCapabilities2 { type Vtable = IFrameControlCapabilities2_Vtbl; } -impl ::core::clone::Clone for IFrameControlCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameControlCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce9b0464_4730_440f_bd3e_efe8a8f230a8); } @@ -194,15 +170,11 @@ pub struct IFrameControlCapabilities2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameController { type Vtable = IFrameController_Vtbl; } -impl ::core::clone::Clone for IFrameController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc16459d9_baef_4052_9177_48aff2af7522); } @@ -225,15 +197,11 @@ pub struct IFrameController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameController2 { type Vtable = IFrameController2_Vtbl; } -impl ::core::clone::Clone for IFrameController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00d3bc75_d87c_485b_8a09_5c358568b427); } @@ -245,15 +213,11 @@ pub struct IFrameController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameExposureCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameExposureCapabilities { type Vtable = IFrameExposureCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameExposureCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameExposureCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdbe9ce3_3985_4e72_97c2_0590d61307a1); } @@ -277,15 +241,11 @@ pub struct IFrameExposureCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameExposureCompensationCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameExposureCompensationCapabilities { type Vtable = IFrameExposureCompensationCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameExposureCompensationCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameExposureCompensationCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb988a823_8065_41ee_b04f_722265954500); } @@ -300,15 +260,11 @@ pub struct IFrameExposureCompensationCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameExposureCompensationControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameExposureCompensationControl { type Vtable = IFrameExposureCompensationControl_Vtbl; } -impl ::core::clone::Clone for IFrameExposureCompensationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameExposureCompensationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe95896c9_f7f9_48ca_8591_a26531cb1578); } @@ -327,15 +283,11 @@ pub struct IFrameExposureCompensationControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameExposureControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameExposureControl { type Vtable = IFrameExposureControl_Vtbl; } -impl ::core::clone::Clone for IFrameExposureControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameExposureControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1605a61_ffaf_4752_b621_f5b6f117f432); } @@ -356,15 +308,11 @@ pub struct IFrameExposureControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameFlashCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameFlashCapabilities { type Vtable = IFrameFlashCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameFlashCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameFlashCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb9341a2_5ebe_4f62_8223_0e2b05bfbbd0); } @@ -378,15 +326,11 @@ pub struct IFrameFlashCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameFlashControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameFlashControl { type Vtable = IFrameFlashControl_Vtbl; } -impl ::core::clone::Clone for IFrameFlashControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameFlashControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75d5f6c7_bd45_4fab_9375_45ac04b332c2); } @@ -405,15 +349,11 @@ pub struct IFrameFlashControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameFocusCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameFocusCapabilities { type Vtable = IFrameFocusCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameFocusCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameFocusCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b25cd58_01c0_4065_9c40_c1a721425c1a); } @@ -428,15 +368,11 @@ pub struct IFrameFocusCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameFocusControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameFocusControl { type Vtable = IFrameFocusControl_Vtbl; } -impl ::core::clone::Clone for IFrameFocusControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameFocusControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x272df1d0_d912_4214_a67b_e38a8d48d8c6); } @@ -455,15 +391,11 @@ pub struct IFrameFocusControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameIsoSpeedCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameIsoSpeedCapabilities { type Vtable = IFrameIsoSpeedCapabilities_Vtbl; } -impl ::core::clone::Clone for IFrameIsoSpeedCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameIsoSpeedCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16bdff61_6df6_4ac9_b92a_9f6ecd1ad2fa); } @@ -478,15 +410,11 @@ pub struct IFrameIsoSpeedCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameIsoSpeedControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFrameIsoSpeedControl { type Vtable = IFrameIsoSpeedControl_Vtbl; } -impl ::core::clone::Clone for IFrameIsoSpeedControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameIsoSpeedControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a03efed_786a_4c75_a557_7ab9a85f588c); } @@ -507,15 +435,11 @@ pub struct IFrameIsoSpeedControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVariablePhotoSequenceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVariablePhotoSequenceController { type Vtable = IVariablePhotoSequenceController_Vtbl; } -impl ::core::clone::Clone for IVariablePhotoSequenceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVariablePhotoSequenceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fbff880_ed8c_43fd_a7c3_b35809e4229a); } @@ -543,6 +467,7 @@ pub struct IVariablePhotoSequenceController_Vtbl { } #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraIntrinsics(::windows_core::IUnknown); impl CameraIntrinsics { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -678,25 +603,9 @@ impl CameraIntrinsics { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CameraIntrinsics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraIntrinsics {} -impl ::core::fmt::Debug for CameraIntrinsics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraIntrinsics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraIntrinsics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.CameraIntrinsics;{0aa6ed32-6589-49da-afde-594270ca0aac})"); } -impl ::core::clone::Clone for CameraIntrinsics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraIntrinsics { type Vtable = ICameraIntrinsics_Vtbl; } @@ -711,6 +620,7 @@ unsafe impl ::core::marker::Send for CameraIntrinsics {} unsafe impl ::core::marker::Sync for CameraIntrinsics {} #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DepthCorrelatedCoordinateMapper(::windows_core::IUnknown); impl DepthCorrelatedCoordinateMapper { #[doc = "*Required features: `\"Foundation\"`*"] @@ -764,25 +674,9 @@ impl DepthCorrelatedCoordinateMapper { unsafe { (::windows_core::Interface::vtable(this).MapPoints)(::windows_core::Interface::as_raw(this), sourcepoints.len() as u32, sourcepoints.as_ptr(), targetcoordinatesystem.into_param().abi(), targetcameraintrinsics.into_param().abi(), results.len() as u32, results.as_mut_ptr()).ok() } } } -impl ::core::cmp::PartialEq for DepthCorrelatedCoordinateMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DepthCorrelatedCoordinateMapper {} -impl ::core::fmt::Debug for DepthCorrelatedCoordinateMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DepthCorrelatedCoordinateMapper").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DepthCorrelatedCoordinateMapper { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.DepthCorrelatedCoordinateMapper;{f95d89fb-8af0-4cb0-926d-696866e5046a})"); } -impl ::core::clone::Clone for DepthCorrelatedCoordinateMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DepthCorrelatedCoordinateMapper { type Vtable = IDepthCorrelatedCoordinateMapper_Vtbl; } @@ -799,6 +693,7 @@ unsafe impl ::core::marker::Send for DepthCorrelatedCoordinateMapper {} unsafe impl ::core::marker::Sync for DepthCorrelatedCoordinateMapper {} #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameControlCapabilities(::windows_core::IUnknown); impl FrameControlCapabilities { pub fn Exposure(&self) -> ::windows_core::Result { @@ -844,25 +739,9 @@ impl FrameControlCapabilities { } } } -impl ::core::cmp::PartialEq for FrameControlCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameControlCapabilities {} -impl ::core::fmt::Debug for FrameControlCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameControlCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameControlCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameControlCapabilities;{a8ffae60-4e9e-4377-a789-e24c4ae7e544})"); } -impl ::core::clone::Clone for FrameControlCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameControlCapabilities { type Vtable = IFrameControlCapabilities_Vtbl; } @@ -875,6 +754,7 @@ impl ::windows_core::RuntimeName for FrameControlCapabilities { ::windows_core::imp::interface_hierarchy!(FrameControlCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameController(::windows_core::IUnknown); impl FrameController { pub fn new() -> ::windows_core::Result { @@ -938,25 +818,9 @@ impl FrameController { } } } -impl ::core::cmp::PartialEq for FrameController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameController {} -impl ::core::fmt::Debug for FrameController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameController;{c16459d9-baef-4052-9177-48aff2af7522})"); } -impl ::core::clone::Clone for FrameController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameController { type Vtable = IFrameController_Vtbl; } @@ -971,6 +835,7 @@ unsafe impl ::core::marker::Send for FrameController {} unsafe impl ::core::marker::Sync for FrameController {} #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameExposureCapabilities(::windows_core::IUnknown); impl FrameExposureCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -1008,25 +873,9 @@ impl FrameExposureCapabilities { } } } -impl ::core::cmp::PartialEq for FrameExposureCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameExposureCapabilities {} -impl ::core::fmt::Debug for FrameExposureCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameExposureCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameExposureCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCapabilities;{bdbe9ce3-3985-4e72-97c2-0590d61307a1})"); } -impl ::core::clone::Clone for FrameExposureCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameExposureCapabilities { type Vtable = IFrameExposureCapabilities_Vtbl; } @@ -1039,6 +888,7 @@ impl ::windows_core::RuntimeName for FrameExposureCapabilities { ::windows_core::imp::interface_hierarchy!(FrameExposureCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameExposureCompensationCapabilities(::windows_core::IUnknown); impl FrameExposureCompensationCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -1070,25 +920,9 @@ impl FrameExposureCompensationCapabilities { } } } -impl ::core::cmp::PartialEq for FrameExposureCompensationCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameExposureCompensationCapabilities {} -impl ::core::fmt::Debug for FrameExposureCompensationCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameExposureCompensationCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameExposureCompensationCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationCapabilities;{b988a823-8065-41ee-b04f-722265954500})"); } -impl ::core::clone::Clone for FrameExposureCompensationCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameExposureCompensationCapabilities { type Vtable = IFrameExposureCompensationCapabilities_Vtbl; } @@ -1101,6 +935,7 @@ impl ::windows_core::RuntimeName for FrameExposureCompensationCapabilities { ::windows_core::imp::interface_hierarchy!(FrameExposureCompensationCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameExposureCompensationControl(::windows_core::IUnknown); impl FrameExposureCompensationControl { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1122,25 +957,9 @@ impl FrameExposureCompensationControl { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for FrameExposureCompensationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameExposureCompensationControl {} -impl ::core::fmt::Debug for FrameExposureCompensationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameExposureCompensationControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameExposureCompensationControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureCompensationControl;{e95896c9-f7f9-48ca-8591-a26531cb1578})"); } -impl ::core::clone::Clone for FrameExposureCompensationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameExposureCompensationControl { type Vtable = IFrameExposureCompensationControl_Vtbl; } @@ -1153,6 +972,7 @@ impl ::windows_core::RuntimeName for FrameExposureCompensationControl { ::windows_core::imp::interface_hierarchy!(FrameExposureCompensationControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameExposureControl(::windows_core::IUnknown); impl FrameExposureControl { pub fn Auto(&self) -> ::windows_core::Result { @@ -1185,25 +1005,9 @@ impl FrameExposureControl { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for FrameExposureControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameExposureControl {} -impl ::core::fmt::Debug for FrameExposureControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameExposureControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameExposureControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameExposureControl;{b1605a61-ffaf-4752-b621-f5b6f117f432})"); } -impl ::core::clone::Clone for FrameExposureControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameExposureControl { type Vtable = IFrameExposureControl_Vtbl; } @@ -1216,6 +1020,7 @@ impl ::windows_core::RuntimeName for FrameExposureControl { ::windows_core::imp::interface_hierarchy!(FrameExposureControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameFlashCapabilities(::windows_core::IUnknown); impl FrameFlashCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -1240,25 +1045,9 @@ impl FrameFlashCapabilities { } } } -impl ::core::cmp::PartialEq for FrameFlashCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameFlashCapabilities {} -impl ::core::fmt::Debug for FrameFlashCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameFlashCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameFlashCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashCapabilities;{bb9341a2-5ebe-4f62-8223-0e2b05bfbbd0})"); } -impl ::core::clone::Clone for FrameFlashCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameFlashCapabilities { type Vtable = IFrameFlashCapabilities_Vtbl; } @@ -1271,6 +1060,7 @@ impl ::windows_core::RuntimeName for FrameFlashCapabilities { ::windows_core::imp::interface_hierarchy!(FrameFlashCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameFlashControl(::windows_core::IUnknown); impl FrameFlashControl { pub fn Mode(&self) -> ::windows_core::Result { @@ -1318,25 +1108,9 @@ impl FrameFlashControl { unsafe { (::windows_core::Interface::vtable(this).SetPowerPercent)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FrameFlashControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameFlashControl {} -impl ::core::fmt::Debug for FrameFlashControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameFlashControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameFlashControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFlashControl;{75d5f6c7-bd45-4fab-9375-45ac04b332c2})"); } -impl ::core::clone::Clone for FrameFlashControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameFlashControl { type Vtable = IFrameFlashControl_Vtbl; } @@ -1349,6 +1123,7 @@ impl ::windows_core::RuntimeName for FrameFlashControl { ::windows_core::imp::interface_hierarchy!(FrameFlashControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameFocusCapabilities(::windows_core::IUnknown); impl FrameFocusCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -1380,25 +1155,9 @@ impl FrameFocusCapabilities { } } } -impl ::core::cmp::PartialEq for FrameFocusCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameFocusCapabilities {} -impl ::core::fmt::Debug for FrameFocusCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameFocusCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameFocusCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusCapabilities;{7b25cd58-01c0-4065-9c40-c1a721425c1a})"); } -impl ::core::clone::Clone for FrameFocusCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameFocusCapabilities { type Vtable = IFrameFocusCapabilities_Vtbl; } @@ -1411,6 +1170,7 @@ impl ::windows_core::RuntimeName for FrameFocusCapabilities { ::windows_core::imp::interface_hierarchy!(FrameFocusCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameFocusControl(::windows_core::IUnknown); impl FrameFocusControl { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1432,25 +1192,9 @@ impl FrameFocusControl { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for FrameFocusControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameFocusControl {} -impl ::core::fmt::Debug for FrameFocusControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameFocusControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameFocusControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameFocusControl;{272df1d0-d912-4214-a67b-e38a8d48d8c6})"); } -impl ::core::clone::Clone for FrameFocusControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameFocusControl { type Vtable = IFrameFocusControl_Vtbl; } @@ -1463,6 +1207,7 @@ impl ::windows_core::RuntimeName for FrameFocusControl { ::windows_core::imp::interface_hierarchy!(FrameFocusControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameIsoSpeedCapabilities(::windows_core::IUnknown); impl FrameIsoSpeedCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -1494,25 +1239,9 @@ impl FrameIsoSpeedCapabilities { } } } -impl ::core::cmp::PartialEq for FrameIsoSpeedCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameIsoSpeedCapabilities {} -impl ::core::fmt::Debug for FrameIsoSpeedCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameIsoSpeedCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameIsoSpeedCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedCapabilities;{16bdff61-6df6-4ac9-b92a-9f6ecd1ad2fa})"); } -impl ::core::clone::Clone for FrameIsoSpeedCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameIsoSpeedCapabilities { type Vtable = IFrameIsoSpeedCapabilities_Vtbl; } @@ -1525,6 +1254,7 @@ impl ::windows_core::RuntimeName for FrameIsoSpeedCapabilities { ::windows_core::imp::interface_hierarchy!(FrameIsoSpeedCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FrameIsoSpeedControl(::windows_core::IUnknown); impl FrameIsoSpeedControl { pub fn Auto(&self) -> ::windows_core::Result { @@ -1557,25 +1287,9 @@ impl FrameIsoSpeedControl { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for FrameIsoSpeedControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FrameIsoSpeedControl {} -impl ::core::fmt::Debug for FrameIsoSpeedControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FrameIsoSpeedControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FrameIsoSpeedControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.FrameIsoSpeedControl;{1a03efed-786a-4c75-a557-7ab9a85f588c})"); } -impl ::core::clone::Clone for FrameIsoSpeedControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FrameIsoSpeedControl { type Vtable = IFrameIsoSpeedControl_Vtbl; } @@ -1588,6 +1302,7 @@ impl ::windows_core::RuntimeName for FrameIsoSpeedControl { ::windows_core::imp::interface_hierarchy!(FrameIsoSpeedControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VariablePhotoSequenceController(::windows_core::IUnknown); impl VariablePhotoSequenceController { pub fn Supported(&self) -> ::windows_core::Result { @@ -1653,25 +1368,9 @@ impl VariablePhotoSequenceController { } } } -impl ::core::cmp::PartialEq for VariablePhotoSequenceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VariablePhotoSequenceController {} -impl ::core::fmt::Debug for VariablePhotoSequenceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VariablePhotoSequenceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VariablePhotoSequenceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.Core.VariablePhotoSequenceController;{7fbff880-ed8c-43fd-a7c3-b35809e4229a})"); } -impl ::core::clone::Clone for VariablePhotoSequenceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VariablePhotoSequenceController { type Vtable = IVariablePhotoSequenceController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index a65aad5c02..47b0ba72c3 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -37,8 +37,8 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { Role: Role::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Devices\"`, `\"Foundation_Collections\"`, `\"Media_Capture\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -98,7 +98,7 @@ impl IMediaDeviceController_Vtbl { SetMediaStreamPropertiesAsync: SetMediaStreamPropertiesAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 630230273c..72e92dfb43 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedPhotoCaptureSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedPhotoCaptureSettings { type Vtable = IAdvancedPhotoCaptureSettings_Vtbl; } -impl ::core::clone::Clone for IAdvancedPhotoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedPhotoCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08f3863a_0018_445b_93d2_646d1c5ed05c); } @@ -23,15 +19,11 @@ pub struct IAdvancedPhotoCaptureSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedPhotoControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedPhotoControl { type Vtable = IAdvancedPhotoControl_Vtbl; } -impl ::core::clone::Clone for IAdvancedPhotoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedPhotoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5b15486_9001_4682_9309_68eae0080eec); } @@ -49,15 +41,11 @@ pub struct IAdvancedPhotoControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController { type Vtable = IAdvancedVideoCaptureDeviceController_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde6ff4d3_2b96_4583_80ab_b5b01dc6a8d7); } @@ -70,15 +58,11 @@ pub struct IAdvancedVideoCaptureDeviceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController10(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController10 { type Vtable = IAdvancedVideoCaptureDeviceController10_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc621b82d_d6f0_5c1b_a388_a6e938407146); } @@ -90,15 +74,11 @@ pub struct IAdvancedVideoCaptureDeviceController10_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController11(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController11 { type Vtable = IAdvancedVideoCaptureDeviceController11_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController11 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController11 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5b65ae2_3772_580c_a630_e75de9106904); } @@ -113,15 +93,11 @@ pub struct IAdvancedVideoCaptureDeviceController11_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController2 { type Vtable = IAdvancedVideoCaptureDeviceController2_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bb94f8f_f11a_43db_b402_11930b80ae56); } @@ -145,15 +121,11 @@ pub struct IAdvancedVideoCaptureDeviceController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController3 { type Vtable = IAdvancedVideoCaptureDeviceController3_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa98b8f34_ee0d_470c_b9f0_4229c4bbd089); } @@ -170,15 +142,11 @@ pub struct IAdvancedVideoCaptureDeviceController3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController4 { type Vtable = IAdvancedVideoCaptureDeviceController4_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea9fbfaf_d371_41c3_9a17_824a87ebdfd2); } @@ -195,15 +163,11 @@ pub struct IAdvancedVideoCaptureDeviceController4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController5 { type Vtable = IAdvancedVideoCaptureDeviceController5_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33512b17_b9cb_4a23_b875_f9eaab535492); } @@ -225,15 +189,11 @@ pub struct IAdvancedVideoCaptureDeviceController5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController6 { type Vtable = IAdvancedVideoCaptureDeviceController6_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6563a53_68a1_44b7_9f89_b5fa97ac0cbe); } @@ -245,15 +205,11 @@ pub struct IAdvancedVideoCaptureDeviceController6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController7 { type Vtable = IAdvancedVideoCaptureDeviceController7_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d2927f0_a054_50e7_b7df_7c04234d10f0); } @@ -265,15 +221,11 @@ pub struct IAdvancedVideoCaptureDeviceController7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController8(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController8 { type Vtable = IAdvancedVideoCaptureDeviceController8_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd843f010_e7fb_595b_9a78_0e54c4532b43); } @@ -285,15 +237,11 @@ pub struct IAdvancedVideoCaptureDeviceController8_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedVideoCaptureDeviceController9(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvancedVideoCaptureDeviceController9 { type Vtable = IAdvancedVideoCaptureDeviceController9_Vtbl; } -impl ::core::clone::Clone for IAdvancedVideoCaptureDeviceController9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedVideoCaptureDeviceController9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bdca95d_0255_51bc_a10d_5a169ec1625a); } @@ -305,15 +253,11 @@ pub struct IAdvancedVideoCaptureDeviceController9_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceController { type Vtable = IAudioDeviceController_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedd4a388_79c7_4f7c_90e8_ef934b21580a); } @@ -328,15 +272,11 @@ pub struct IAudioDeviceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceModule(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceModule { type Vtable = IAudioDeviceModule_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceModule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceModule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86cfac36_47c1_4b33_9852_8773ec4be123); } @@ -356,15 +296,11 @@ pub struct IAudioDeviceModule_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceModuleNotificationEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceModuleNotificationEventArgs { type Vtable = IAudioDeviceModuleNotificationEventArgs_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceModuleNotificationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceModuleNotificationEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3e3ccaf_224c_48be_956b_9a13134e96e8); } @@ -380,15 +316,11 @@ pub struct IAudioDeviceModuleNotificationEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceModulesManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceModulesManager { type Vtable = IAudioDeviceModulesManager_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceModulesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceModulesManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aa40c4d_960a_4d1c_b318_0022604547ed); } @@ -415,15 +347,11 @@ pub struct IAudioDeviceModulesManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceModulesManagerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioDeviceModulesManagerFactory { type Vtable = IAudioDeviceModulesManagerFactory_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceModulesManagerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceModulesManagerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8db03670_e64d_4773_96c0_bc7ebf0e063f); } @@ -435,15 +363,11 @@ pub struct IAudioDeviceModulesManagerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICallControl { type Vtable = ICallControl_Vtbl; } -impl ::core::clone::Clone for ICallControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa520d0d6_ae8d_45db_8011_ca49d3b3e578); } @@ -507,15 +431,11 @@ pub struct ICallControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallControlStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICallControlStatics { type Vtable = ICallControlStatics_Vtbl; } -impl ::core::clone::Clone for ICallControlStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallControlStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03945ad5_85ab_40e1_af19_56c94303b019); } @@ -528,15 +448,11 @@ pub struct ICallControlStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraOcclusionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraOcclusionInfo { type Vtable = ICameraOcclusionInfo_Vtbl; } -impl ::core::clone::Clone for ICameraOcclusionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraOcclusionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf6c4ad0_a84d_5db6_be58_a5da21cfe011); } @@ -557,15 +473,11 @@ pub struct ICameraOcclusionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraOcclusionState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraOcclusionState { type Vtable = ICameraOcclusionState_Vtbl; } -impl ::core::clone::Clone for ICameraOcclusionState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraOcclusionState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x430adeb8_6842_5e55_9bde_04b4ef3a8a57); } @@ -578,15 +490,11 @@ pub struct ICameraOcclusionState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraOcclusionStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraOcclusionStateChangedEventArgs { type Vtable = ICameraOcclusionStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICameraOcclusionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraOcclusionStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8512d848_c0de_57ca_a1ca_fb2c3d23df55); } @@ -598,6 +506,7 @@ pub struct ICameraOcclusionStateChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultAudioDeviceChangedEventArgs(::windows_core::IUnknown); impl IDefaultAudioDeviceChangedEventArgs { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -616,28 +525,12 @@ impl IDefaultAudioDeviceChangedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IDefaultAudioDeviceChangedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IDefaultAudioDeviceChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDefaultAudioDeviceChangedEventArgs {} -impl ::core::fmt::Debug for IDefaultAudioDeviceChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDefaultAudioDeviceChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDefaultAudioDeviceChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{110f882f-1c05-4657-a18e-47c9b69f07ab}"); } unsafe impl ::windows_core::Interface for IDefaultAudioDeviceChangedEventArgs { type Vtable = IDefaultAudioDeviceChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDefaultAudioDeviceChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultAudioDeviceChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x110f882f_1c05_4657_a18e_47c9b69f07ab); } @@ -650,15 +543,11 @@ pub struct IDefaultAudioDeviceChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialRequestedEventArgs { type Vtable = IDialRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDialRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x037b929e_953c_4286_8866_4f0f376c855a); } @@ -671,15 +560,11 @@ pub struct IDialRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalWindowBounds(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDigitalWindowBounds { type Vtable = IDigitalWindowBounds_Vtbl; } -impl ::core::clone::Clone for IDigitalWindowBounds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDigitalWindowBounds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd4f21dd_d173_5c6b_8c25_bdd26d5122b1); } @@ -696,15 +581,11 @@ pub struct IDigitalWindowBounds_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalWindowCapability(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDigitalWindowCapability { type Vtable = IDigitalWindowCapability_Vtbl; } -impl ::core::clone::Clone for IDigitalWindowCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDigitalWindowCapability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd78bad2c_f721_5244_a196_b56ccbec606c); } @@ -724,15 +605,11 @@ pub struct IDigitalWindowCapability_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalWindowControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDigitalWindowControl { type Vtable = IDigitalWindowControl_Vtbl; } -impl ::core::clone::Clone for IDigitalWindowControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDigitalWindowControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23b69eff_65d2_53ea_8780_de582b48b544); } @@ -754,15 +631,11 @@ pub struct IDigitalWindowControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExposureCompensationControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExposureCompensationControl { type Vtable = IExposureCompensationControl_Vtbl; } -impl ::core::clone::Clone for IExposureCompensationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExposureCompensationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81c8e834_dcec_4011_a610_1f3847e64aca); } @@ -782,15 +655,11 @@ pub struct IExposureCompensationControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExposureControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExposureControl { type Vtable = IExposureControl_Vtbl; } -impl ::core::clone::Clone for IExposureControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExposureControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09e8cbe2_ad96_4f28_a0e0_96ed7e1b5fd2); } @@ -827,15 +696,11 @@ pub struct IExposureControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExposurePriorityVideoControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExposurePriorityVideoControl { type Vtable = IExposurePriorityVideoControl_Vtbl; } -impl ::core::clone::Clone for IExposurePriorityVideoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExposurePriorityVideoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cb240a3_5168_4271_9ea5_47621a98a352); } @@ -849,15 +714,11 @@ pub struct IExposurePriorityVideoControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFlashControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFlashControl { type Vtable = IFlashControl_Vtbl; } -impl ::core::clone::Clone for IFlashControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFlashControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdef41dbe_7d68_45e3_8c0f_be7bb32837d0); } @@ -879,15 +740,11 @@ pub struct IFlashControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFlashControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFlashControl2 { type Vtable = IFlashControl2_Vtbl; } -impl ::core::clone::Clone for IFlashControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFlashControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d29cc9e_75e1_4af7_bd7d_4e38e1c06cd6); } @@ -901,15 +758,11 @@ pub struct IFlashControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusControl { type Vtable = IFocusControl_Vtbl; } -impl ::core::clone::Clone for IFocusControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0d889f6_5228_4453_b153_85606592b238); } @@ -946,15 +799,11 @@ pub struct IFocusControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusControl2 { type Vtable = IFocusControl2_Vtbl; } -impl ::core::clone::Clone for IFocusControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f7cff48_c534_4e9e_94c3_52ef2afd5d07); } @@ -990,15 +839,11 @@ pub struct IFocusControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusSettings { type Vtable = IFocusSettings_Vtbl; } -impl ::core::clone::Clone for IFocusSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79958f6b_3263_4275_85d6_aeae891c96ee); } @@ -1033,15 +878,11 @@ pub struct IFocusSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdrVideoControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdrVideoControl { type Vtable = IHdrVideoControl_Vtbl; } -impl ::core::clone::Clone for IHdrVideoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdrVideoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55d8e2d0_30c0_43bf_9b9a_9799d70ced94); } @@ -1059,15 +900,11 @@ pub struct IHdrVideoControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInfraredTorchControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInfraredTorchControl { type Vtable = IInfraredTorchControl_Vtbl; } -impl ::core::clone::Clone for IInfraredTorchControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInfraredTorchControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cba2c83_6cb6_5a04_a6fc_3be7b33ff056); } @@ -1090,15 +927,11 @@ pub struct IInfraredTorchControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsoSpeedControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsoSpeedControl { type Vtable = IIsoSpeedControl_Vtbl; } -impl ::core::clone::Clone for IIsoSpeedControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsoSpeedControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27b6c322_25ad_4f1b_aaab_524ab376ca33); } @@ -1122,15 +955,11 @@ pub struct IIsoSpeedControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsoSpeedControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsoSpeedControl2 { type Vtable = IIsoSpeedControl2_Vtbl; } -impl ::core::clone::Clone for IIsoSpeedControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsoSpeedControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f1578f2_6d77_4f8a_8c2f_6130b6395053); } @@ -1154,15 +983,11 @@ pub struct IIsoSpeedControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeypadPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeypadPressedEventArgs { type Vtable = IKeypadPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for IKeypadPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeypadPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3a43900_b4fa_49cd_9442_89af6568f601); } @@ -1174,15 +999,11 @@ pub struct IKeypadPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagPhotoControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagPhotoControl { type Vtable = ILowLagPhotoControl_Vtbl; } -impl ::core::clone::Clone for ILowLagPhotoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagPhotoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d5c4dd0_fadf_415d_aee6_3baa529300c9); } @@ -1214,15 +1035,11 @@ pub struct ILowLagPhotoControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILowLagPhotoSequenceControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILowLagPhotoSequenceControl { type Vtable = ILowLagPhotoSequenceControl_Vtbl; } -impl ::core::clone::Clone for ILowLagPhotoSequenceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILowLagPhotoSequenceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dcf909d_6d16_409c_bafe_b9a594c6fde6); } @@ -1261,15 +1078,11 @@ pub struct ILowLagPhotoSequenceControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaDeviceControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaDeviceControl { type Vtable = IMediaDeviceControl_Vtbl; } -impl ::core::clone::Clone for IMediaDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaDeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa8dfa9_6f75_4863_ba0b_583f3036b4de); } @@ -1285,15 +1098,11 @@ pub struct IMediaDeviceControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaDeviceControlCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaDeviceControlCapabilities { type Vtable = IMediaDeviceControlCapabilities_Vtbl; } -impl ::core::clone::Clone for IMediaDeviceControlCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaDeviceControlCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23005816_eb85_43e2_b92b_8240d5ee70ec); } @@ -1310,6 +1119,7 @@ pub struct IMediaDeviceControlCapabilities_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaDeviceController(::windows_core::IUnknown); impl IMediaDeviceController { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Media_Capture\"`, `\"Media_MediaProperties\"`*"] @@ -1344,28 +1154,12 @@ impl IMediaDeviceController { } } ::windows_core::imp::interface_hierarchy!(IMediaDeviceController, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaDeviceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaDeviceController {} -impl ::core::fmt::Debug for IMediaDeviceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaDeviceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaDeviceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f6f8f5ce-209a-48fb-86fc-d44578f317e6}"); } unsafe impl ::windows_core::Interface for IMediaDeviceController { type Vtable = IMediaDeviceController_Vtbl; } -impl ::core::clone::Clone for IMediaDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaDeviceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6f8f5ce_209a_48fb_86fc_d44578f317e6); } @@ -1388,15 +1182,11 @@ pub struct IMediaDeviceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaDeviceStatics { type Vtable = IMediaDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IMediaDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa2d9a40_909f_4bba_bf8b_0c0d296f14f0); } @@ -1428,15 +1218,11 @@ pub struct IMediaDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModuleCommandResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IModuleCommandResult { type Vtable = IModuleCommandResult_Vtbl; } -impl ::core::clone::Clone for IModuleCommandResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModuleCommandResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x520d1eb4_1374_4c7d_b1e4_39dcdf3eae4e); } @@ -1452,15 +1238,11 @@ pub struct IModuleCommandResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpticalImageStabilizationControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOpticalImageStabilizationControl { type Vtable = IOpticalImageStabilizationControl_Vtbl; } -impl ::core::clone::Clone for IOpticalImageStabilizationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpticalImageStabilizationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfad9c1d_00bc_423b_8eb2_a0178ca94247); } @@ -1478,15 +1260,11 @@ pub struct IOpticalImageStabilizationControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPanelBasedOptimizationControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPanelBasedOptimizationControl { type Vtable = IPanelBasedOptimizationControl_Vtbl; } -impl ::core::clone::Clone for IPanelBasedOptimizationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPanelBasedOptimizationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33323223_6247_5419_a5a4_3d808645d917); } @@ -1506,15 +1284,11 @@ pub struct IPanelBasedOptimizationControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoConfirmationControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoConfirmationControl { type Vtable = IPhotoConfirmationControl_Vtbl; } -impl ::core::clone::Clone for IPhotoConfirmationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoConfirmationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8f3f363_ff5e_4582_a9a8_0550f85a4a76); } @@ -1536,15 +1310,11 @@ pub struct IPhotoConfirmationControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRedialRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRedialRequestedEventArgs { type Vtable = IRedialRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRedialRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRedialRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7eb55209_76ab_4c31_b40e_4b58379d580c); } @@ -1556,15 +1326,11 @@ pub struct IRedialRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegionOfInterest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRegionOfInterest { type Vtable = IRegionOfInterest_Vtbl; } -impl ::core::clone::Clone for IRegionOfInterest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegionOfInterest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5ecc834_ce66_4e05_a78f_cf391a5ec2d1); } @@ -1589,15 +1355,11 @@ pub struct IRegionOfInterest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegionOfInterest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRegionOfInterest2 { type Vtable = IRegionOfInterest2_Vtbl; } -impl ::core::clone::Clone for IRegionOfInterest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegionOfInterest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19fe2a91_73aa_4d51_8a9d_56ccf7db7f54); } @@ -1614,15 +1376,11 @@ pub struct IRegionOfInterest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegionsOfInterestControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRegionsOfInterestControl { type Vtable = IRegionsOfInterestControl_Vtbl; } -impl ::core::clone::Clone for IRegionsOfInterestControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegionsOfInterestControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc323f527_ab0b_4558_8b5b_df5693db0378); } @@ -1649,15 +1407,11 @@ pub struct IRegionsOfInterestControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneModeControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneModeControl { type Vtable = ISceneModeControl_Vtbl; } -impl ::core::clone::Clone for ISceneModeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneModeControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd48e5af7_8d59_4854_8c62_12c70ba89b7c); } @@ -1677,15 +1431,11 @@ pub struct ISceneModeControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITorchControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITorchControl { type Vtable = ITorchControl_Vtbl; } -impl ::core::clone::Clone for ITorchControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITorchControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6053665_8250_416c_919a_724296afa306); } @@ -1702,15 +1452,11 @@ pub struct ITorchControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoDeviceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoDeviceController { type Vtable = IVideoDeviceController_Vtbl; } -impl ::core::clone::Clone for IVideoDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoDeviceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99555575_2e2e_40b8_b6c7_f82d10013210); } @@ -1740,15 +1486,11 @@ pub struct IVideoDeviceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoDeviceControllerGetDevicePropertyResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoDeviceControllerGetDevicePropertyResult { type Vtable = IVideoDeviceControllerGetDevicePropertyResult_Vtbl; } -impl ::core::clone::Clone for IVideoDeviceControllerGetDevicePropertyResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoDeviceControllerGetDevicePropertyResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5d88395_6ed5_4790_8b5d_0ef13935d0f8); } @@ -1761,15 +1503,11 @@ pub struct IVideoDeviceControllerGetDevicePropertyResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTemporalDenoisingControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTemporalDenoisingControl { type Vtable = IVideoTemporalDenoisingControl_Vtbl; } -impl ::core::clone::Clone for IVideoTemporalDenoisingControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTemporalDenoisingControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ab34735_3e2a_4a32_baff_4358c4fbdd57); } @@ -1787,15 +1525,11 @@ pub struct IVideoTemporalDenoisingControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWhiteBalanceControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWhiteBalanceControl { type Vtable = IWhiteBalanceControl_Vtbl; } -impl ::core::clone::Clone for IWhiteBalanceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWhiteBalanceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x781f047e_7162_49c8_a8f9_9481c565363e); } @@ -1820,15 +1554,11 @@ pub struct IWhiteBalanceControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoomControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IZoomControl { type Vtable = IZoomControl_Vtbl; } -impl ::core::clone::Clone for IZoomControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoomControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a1e0b12_32da_4c17_bfd7_8d0c73c8f5a5); } @@ -1845,15 +1575,11 @@ pub struct IZoomControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoomControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IZoomControl2 { type Vtable = IZoomControl2_Vtbl; } -impl ::core::clone::Clone for IZoomControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoomControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69843db0_2e99_4641_8529_184f319d1671); } @@ -1870,15 +1596,11 @@ pub struct IZoomControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoomSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IZoomSettings { type Vtable = IZoomSettings_Vtbl; } -impl ::core::clone::Clone for IZoomSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoomSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ad66b24_14b4_4bfd_b18f_88fe24463b52); } @@ -1893,6 +1615,7 @@ pub struct IZoomSettings_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvancedPhotoCaptureSettings(::windows_core::IUnknown); impl AdvancedPhotoCaptureSettings { pub fn new() -> ::windows_core::Result { @@ -1914,25 +1637,9 @@ impl AdvancedPhotoCaptureSettings { unsafe { (::windows_core::Interface::vtable(this).SetMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AdvancedPhotoCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvancedPhotoCaptureSettings {} -impl ::core::fmt::Debug for AdvancedPhotoCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvancedPhotoCaptureSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvancedPhotoCaptureSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoCaptureSettings;{08f3863a-0018-445b-93d2-646d1c5ed05c})"); } -impl ::core::clone::Clone for AdvancedPhotoCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvancedPhotoCaptureSettings { type Vtable = IAdvancedPhotoCaptureSettings_Vtbl; } @@ -1947,6 +1654,7 @@ unsafe impl ::core::marker::Send for AdvancedPhotoCaptureSettings {} unsafe impl ::core::marker::Sync for AdvancedPhotoCaptureSettings {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvancedPhotoControl(::windows_core::IUnknown); impl AdvancedPhotoControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -1980,25 +1688,9 @@ impl AdvancedPhotoControl { unsafe { (::windows_core::Interface::vtable(this).Configure)(::windows_core::Interface::as_raw(this), settings.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for AdvancedPhotoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvancedPhotoControl {} -impl ::core::fmt::Debug for AdvancedPhotoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvancedPhotoControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvancedPhotoControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AdvancedPhotoControl;{c5b15486-9001-4682-9309-68eae0080eec})"); } -impl ::core::clone::Clone for AdvancedPhotoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvancedPhotoControl { type Vtable = IAdvancedPhotoControl_Vtbl; } @@ -2013,6 +1705,7 @@ unsafe impl ::core::marker::Send for AdvancedPhotoControl {} unsafe impl ::core::marker::Sync for AdvancedPhotoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceController(::windows_core::IUnknown); impl AudioDeviceController { pub fn SetMuted(&self, value: bool) -> ::windows_core::Result<()> { @@ -2068,25 +1761,9 @@ impl AudioDeviceController { } } } -impl ::core::cmp::PartialEq for AudioDeviceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceController {} -impl ::core::fmt::Debug for AudioDeviceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceController;{edd4a388-79c7-4f7c-90e8-ef934b21580a})"); } -impl ::core::clone::Clone for AudioDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceController { type Vtable = IAudioDeviceController_Vtbl; } @@ -2100,6 +1777,7 @@ impl ::windows_core::RuntimeName for AudioDeviceController { impl ::windows_core::CanTryInto for AudioDeviceController {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceModule(::windows_core::IUnknown); impl AudioDeviceModule { pub fn ClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2150,25 +1828,9 @@ impl AudioDeviceModule { } } } -impl ::core::cmp::PartialEq for AudioDeviceModule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceModule {} -impl ::core::fmt::Debug for AudioDeviceModule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceModule").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceModule { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModule;{86cfac36-47c1-4b33-9852-8773ec4be123})"); } -impl ::core::clone::Clone for AudioDeviceModule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceModule { type Vtable = IAudioDeviceModule_Vtbl; } @@ -2181,6 +1843,7 @@ impl ::windows_core::RuntimeName for AudioDeviceModule { ::windows_core::imp::interface_hierarchy!(AudioDeviceModule, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceModuleNotificationEventArgs(::windows_core::IUnknown); impl AudioDeviceModuleNotificationEventArgs { pub fn Module(&self) -> ::windows_core::Result { @@ -2200,25 +1863,9 @@ impl AudioDeviceModuleNotificationEventArgs { } } } -impl ::core::cmp::PartialEq for AudioDeviceModuleNotificationEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceModuleNotificationEventArgs {} -impl ::core::fmt::Debug for AudioDeviceModuleNotificationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceModuleNotificationEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceModuleNotificationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModuleNotificationEventArgs;{e3e3ccaf-224c-48be-956b-9a13134e96e8})"); } -impl ::core::clone::Clone for AudioDeviceModuleNotificationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceModuleNotificationEventArgs { type Vtable = IAudioDeviceModuleNotificationEventArgs_Vtbl; } @@ -2233,6 +1880,7 @@ unsafe impl ::core::marker::Send for AudioDeviceModuleNotificationEventArgs {} unsafe impl ::core::marker::Sync for AudioDeviceModuleNotificationEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioDeviceModulesManager(::windows_core::IUnknown); impl AudioDeviceModulesManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2283,25 +1931,9 @@ impl AudioDeviceModulesManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioDeviceModulesManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioDeviceModulesManager {} -impl ::core::fmt::Debug for AudioDeviceModulesManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioDeviceModulesManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioDeviceModulesManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.AudioDeviceModulesManager;{6aa40c4d-960a-4d1c-b318-0022604547ed})"); } -impl ::core::clone::Clone for AudioDeviceModulesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioDeviceModulesManager { type Vtable = IAudioDeviceModulesManager_Vtbl; } @@ -2316,6 +1948,7 @@ unsafe impl ::core::marker::Send for AudioDeviceModulesManager {} unsafe impl ::core::marker::Sync for AudioDeviceModulesManager {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CallControl(::windows_core::IUnknown); impl CallControl { pub fn IndicateNewIncomingCall(&self, enableringer: bool, callerid: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -2473,25 +2106,9 @@ impl CallControl { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CallControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CallControl {} -impl ::core::fmt::Debug for CallControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CallControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CallControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CallControl;{a520d0d6-ae8d-45db-8011-ca49d3b3e578})"); } -impl ::core::clone::Clone for CallControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CallControl { type Vtable = ICallControl_Vtbl; } @@ -2506,6 +2123,7 @@ unsafe impl ::core::marker::Send for CallControl {} unsafe impl ::core::marker::Sync for CallControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraOcclusionInfo(::windows_core::IUnknown); impl CameraOcclusionInfo { pub fn GetState(&self) -> ::windows_core::Result { @@ -2541,25 +2159,9 @@ impl CameraOcclusionInfo { unsafe { (::windows_core::Interface::vtable(this).RemoveStateChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for CameraOcclusionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraOcclusionInfo {} -impl ::core::fmt::Debug for CameraOcclusionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraOcclusionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraOcclusionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionInfo;{af6c4ad0-a84d-5db6-be58-a5da21cfe011})"); } -impl ::core::clone::Clone for CameraOcclusionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraOcclusionInfo { type Vtable = ICameraOcclusionInfo_Vtbl; } @@ -2574,6 +2176,7 @@ unsafe impl ::core::marker::Send for CameraOcclusionInfo {} unsafe impl ::core::marker::Sync for CameraOcclusionInfo {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraOcclusionState(::windows_core::IUnknown); impl CameraOcclusionState { pub fn IsOccluded(&self) -> ::windows_core::Result { @@ -2591,25 +2194,9 @@ impl CameraOcclusionState { } } } -impl ::core::cmp::PartialEq for CameraOcclusionState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraOcclusionState {} -impl ::core::fmt::Debug for CameraOcclusionState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraOcclusionState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraOcclusionState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionState;{430adeb8-6842-5e55-9bde-04b4ef3a8a57})"); } -impl ::core::clone::Clone for CameraOcclusionState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraOcclusionState { type Vtable = ICameraOcclusionState_Vtbl; } @@ -2624,6 +2211,7 @@ unsafe impl ::core::marker::Send for CameraOcclusionState {} unsafe impl ::core::marker::Sync for CameraOcclusionState {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraOcclusionStateChangedEventArgs(::windows_core::IUnknown); impl CameraOcclusionStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -2634,25 +2222,9 @@ impl CameraOcclusionStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for CameraOcclusionStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraOcclusionStateChangedEventArgs {} -impl ::core::fmt::Debug for CameraOcclusionStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraOcclusionStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraOcclusionStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.CameraOcclusionStateChangedEventArgs;{8512d848-c0de-57ca-a1ca-fb2c3d23df55})"); } -impl ::core::clone::Clone for CameraOcclusionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraOcclusionStateChangedEventArgs { type Vtable = ICameraOcclusionStateChangedEventArgs_Vtbl; } @@ -2667,6 +2239,7 @@ unsafe impl ::core::marker::Send for CameraOcclusionStateChangedEventArgs {} unsafe impl ::core::marker::Sync for CameraOcclusionStateChangedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DefaultAudioCaptureDeviceChangedEventArgs(::windows_core::IUnknown); impl DefaultAudioCaptureDeviceChangedEventArgs { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2684,25 +2257,9 @@ impl DefaultAudioCaptureDeviceChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DefaultAudioCaptureDeviceChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DefaultAudioCaptureDeviceChangedEventArgs {} -impl ::core::fmt::Debug for DefaultAudioCaptureDeviceChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DefaultAudioCaptureDeviceChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DefaultAudioCaptureDeviceChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); } -impl ::core::clone::Clone for DefaultAudioCaptureDeviceChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DefaultAudioCaptureDeviceChangedEventArgs { type Vtable = IDefaultAudioDeviceChangedEventArgs_Vtbl; } @@ -2718,6 +2275,7 @@ unsafe impl ::core::marker::Send for DefaultAudioCaptureDeviceChangedEventArgs { unsafe impl ::core::marker::Sync for DefaultAudioCaptureDeviceChangedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DefaultAudioRenderDeviceChangedEventArgs(::windows_core::IUnknown); impl DefaultAudioRenderDeviceChangedEventArgs { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2735,25 +2293,9 @@ impl DefaultAudioRenderDeviceChangedEventArgs { } } } -impl ::core::cmp::PartialEq for DefaultAudioRenderDeviceChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DefaultAudioRenderDeviceChangedEventArgs {} -impl ::core::fmt::Debug for DefaultAudioRenderDeviceChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DefaultAudioRenderDeviceChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DefaultAudioRenderDeviceChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs;{110f882f-1c05-4657-a18e-47c9b69f07ab})"); } -impl ::core::clone::Clone for DefaultAudioRenderDeviceChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DefaultAudioRenderDeviceChangedEventArgs { type Vtable = IDefaultAudioDeviceChangedEventArgs_Vtbl; } @@ -2769,6 +2311,7 @@ unsafe impl ::core::marker::Send for DefaultAudioRenderDeviceChangedEventArgs {} unsafe impl ::core::marker::Sync for DefaultAudioRenderDeviceChangedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialRequestedEventArgs(::windows_core::IUnknown); impl DialRequestedEventArgs { pub fn Handled(&self) -> ::windows_core::Result<()> { @@ -2783,25 +2326,9 @@ impl DialRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for DialRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialRequestedEventArgs {} -impl ::core::fmt::Debug for DialRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DialRequestedEventArgs;{037b929e-953c-4286-8866-4f0f376c855a})"); } -impl ::core::clone::Clone for DialRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialRequestedEventArgs { type Vtable = IDialRequestedEventArgs_Vtbl; } @@ -2816,6 +2343,7 @@ unsafe impl ::core::marker::Send for DialRequestedEventArgs {} unsafe impl ::core::marker::Sync for DialRequestedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DigitalWindowBounds(::windows_core::IUnknown); impl DigitalWindowBounds { pub fn new() -> ::windows_core::Result { @@ -2859,25 +2387,9 @@ impl DigitalWindowBounds { unsafe { (::windows_core::Interface::vtable(this).SetScale)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DigitalWindowBounds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DigitalWindowBounds {} -impl ::core::fmt::Debug for DigitalWindowBounds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DigitalWindowBounds").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DigitalWindowBounds { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowBounds;{dd4f21dd-d173-5c6b-8c25-bdd26d5122b1})"); } -impl ::core::clone::Clone for DigitalWindowBounds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DigitalWindowBounds { type Vtable = IDigitalWindowBounds_Vtbl; } @@ -2892,6 +2404,7 @@ unsafe impl ::core::marker::Send for DigitalWindowBounds {} unsafe impl ::core::marker::Sync for DigitalWindowBounds {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DigitalWindowCapability(::windows_core::IUnknown); impl DigitalWindowCapability { pub fn Width(&self) -> ::windows_core::Result { @@ -2939,25 +2452,9 @@ impl DigitalWindowCapability { } } } -impl ::core::cmp::PartialEq for DigitalWindowCapability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DigitalWindowCapability {} -impl ::core::fmt::Debug for DigitalWindowCapability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DigitalWindowCapability").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DigitalWindowCapability { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowCapability;{d78bad2c-f721-5244-a196-b56ccbec606c})"); } -impl ::core::clone::Clone for DigitalWindowCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DigitalWindowCapability { type Vtable = IDigitalWindowCapability_Vtbl; } @@ -2972,6 +2469,7 @@ unsafe impl ::core::marker::Send for DigitalWindowCapability {} unsafe impl ::core::marker::Sync for DigitalWindowCapability {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DigitalWindowControl(::windows_core::IUnknown); impl DigitalWindowControl { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -3030,25 +2528,9 @@ impl DigitalWindowControl { } } } -impl ::core::cmp::PartialEq for DigitalWindowControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DigitalWindowControl {} -impl ::core::fmt::Debug for DigitalWindowControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DigitalWindowControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DigitalWindowControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.DigitalWindowControl;{23b69eff-65d2-53ea-8780-de582b48b544})"); } -impl ::core::clone::Clone for DigitalWindowControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DigitalWindowControl { type Vtable = IDigitalWindowControl_Vtbl; } @@ -3063,6 +2545,7 @@ unsafe impl ::core::marker::Send for DigitalWindowControl {} unsafe impl ::core::marker::Sync for DigitalWindowControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExposureCompensationControl(::windows_core::IUnknown); impl ExposureCompensationControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3110,25 +2593,9 @@ impl ExposureCompensationControl { } } } -impl ::core::cmp::PartialEq for ExposureCompensationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExposureCompensationControl {} -impl ::core::fmt::Debug for ExposureCompensationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExposureCompensationControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExposureCompensationControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureCompensationControl;{81c8e834-dcec-4011-a610-1f3847e64aca})"); } -impl ::core::clone::Clone for ExposureCompensationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExposureCompensationControl { type Vtable = IExposureCompensationControl_Vtbl; } @@ -3141,6 +2608,7 @@ impl ::windows_core::RuntimeName for ExposureCompensationControl { ::windows_core::imp::interface_hierarchy!(ExposureCompensationControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExposureControl(::windows_core::IUnknown); impl ExposureControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3209,28 +2677,12 @@ impl ExposureControl { unsafe { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(this).SetValueAsync)(::windows_core::Interface::as_raw(this), shutterduration, &mut result__).from_abi(result__) - } - } -} -impl ::core::cmp::PartialEq for ExposureControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExposureControl {} -impl ::core::fmt::Debug for ExposureControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExposureControl").field(&self.0).finish() + } } } impl ::windows_core::RuntimeType for ExposureControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposureControl;{09e8cbe2-ad96-4f28-a0e0-96ed7e1b5fd2})"); } -impl ::core::clone::Clone for ExposureControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExposureControl { type Vtable = IExposureControl_Vtbl; } @@ -3243,6 +2695,7 @@ impl ::windows_core::RuntimeName for ExposureControl { ::windows_core::imp::interface_hierarchy!(ExposureControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExposurePriorityVideoControl(::windows_core::IUnknown); impl ExposurePriorityVideoControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3264,25 +2717,9 @@ impl ExposurePriorityVideoControl { unsafe { (::windows_core::Interface::vtable(this).SetEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ExposurePriorityVideoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExposurePriorityVideoControl {} -impl ::core::fmt::Debug for ExposurePriorityVideoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExposurePriorityVideoControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExposurePriorityVideoControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ExposurePriorityVideoControl;{2cb240a3-5168-4271-9ea5-47621a98a352})"); } -impl ::core::clone::Clone for ExposurePriorityVideoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExposurePriorityVideoControl { type Vtable = IExposurePriorityVideoControl_Vtbl; } @@ -3297,6 +2734,7 @@ unsafe impl ::core::marker::Send for ExposurePriorityVideoControl {} unsafe impl ::core::marker::Sync for ExposurePriorityVideoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FlashControl(::windows_core::IUnknown); impl FlashControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3383,25 +2821,9 @@ impl FlashControl { unsafe { (::windows_core::Interface::vtable(this).SetAssistantLightEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FlashControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FlashControl {} -impl ::core::fmt::Debug for FlashControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FlashControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FlashControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FlashControl;{def41dbe-7d68-45e3-8c0f-be7bb32837d0})"); } -impl ::core::clone::Clone for FlashControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FlashControl { type Vtable = IFlashControl_Vtbl; } @@ -3414,6 +2836,7 @@ impl ::windows_core::RuntimeName for FlashControl { ::windows_core::imp::interface_hierarchy!(FlashControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FocusControl(::windows_core::IUnknown); impl FocusControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3584,25 +3007,9 @@ impl FocusControl { unsafe { (::windows_core::Interface::vtable(this).Configure)(::windows_core::Interface::as_raw(this), settings.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for FocusControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FocusControl {} -impl ::core::fmt::Debug for FocusControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FocusControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FocusControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusControl;{c0d889f6-5228-4453-b153-85606592b238})"); } -impl ::core::clone::Clone for FocusControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FocusControl { type Vtable = IFocusControl_Vtbl; } @@ -3615,6 +3022,7 @@ impl ::windows_core::RuntimeName for FocusControl { ::windows_core::imp::interface_hierarchy!(FocusControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FocusSettings(::windows_core::IUnknown); impl FocusSettings { pub fn new() -> ::windows_core::Result { @@ -3705,25 +3113,9 @@ impl FocusSettings { unsafe { (::windows_core::Interface::vtable(this).SetDisableDriverFallback)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FocusSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FocusSettings {} -impl ::core::fmt::Debug for FocusSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FocusSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FocusSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.FocusSettings;{79958f6b-3263-4275-85d6-aeae891c96ee})"); } -impl ::core::clone::Clone for FocusSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FocusSettings { type Vtable = IFocusSettings_Vtbl; } @@ -3738,6 +3130,7 @@ unsafe impl ::core::marker::Send for FocusSettings {} unsafe impl ::core::marker::Sync for FocusSettings {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HdrVideoControl(::windows_core::IUnknown); impl HdrVideoControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3768,25 +3161,9 @@ impl HdrVideoControl { unsafe { (::windows_core::Interface::vtable(this).SetMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for HdrVideoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HdrVideoControl {} -impl ::core::fmt::Debug for HdrVideoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HdrVideoControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HdrVideoControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.HdrVideoControl;{55d8e2d0-30c0-43bf-9b9a-9799d70ced94})"); } -impl ::core::clone::Clone for HdrVideoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HdrVideoControl { type Vtable = IHdrVideoControl_Vtbl; } @@ -3801,6 +3178,7 @@ unsafe impl ::core::marker::Send for HdrVideoControl {} unsafe impl ::core::marker::Sync for HdrVideoControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InfraredTorchControl(::windows_core::IUnknown); impl InfraredTorchControl { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -3863,25 +3241,9 @@ impl InfraredTorchControl { unsafe { (::windows_core::Interface::vtable(this).SetPower)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InfraredTorchControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InfraredTorchControl {} -impl ::core::fmt::Debug for InfraredTorchControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InfraredTorchControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InfraredTorchControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.InfraredTorchControl;{1cba2c83-6cb6-5a04-a6fc-3be7b33ff056})"); } -impl ::core::clone::Clone for InfraredTorchControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InfraredTorchControl { type Vtable = IInfraredTorchControl_Vtbl; } @@ -3896,6 +3258,7 @@ unsafe impl ::core::marker::Send for InfraredTorchControl {} unsafe impl ::core::marker::Sync for InfraredTorchControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsoSpeedControl(::windows_core::IUnknown); impl IsoSpeedControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -3986,25 +3349,9 @@ impl IsoSpeedControl { } } } -impl ::core::cmp::PartialEq for IsoSpeedControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsoSpeedControl {} -impl ::core::fmt::Debug for IsoSpeedControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsoSpeedControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsoSpeedControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.IsoSpeedControl;{27b6c322-25ad-4f1b-aaab-524ab376ca33})"); } -impl ::core::clone::Clone for IsoSpeedControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsoSpeedControl { type Vtable = IIsoSpeedControl_Vtbl; } @@ -4017,6 +3364,7 @@ impl ::windows_core::RuntimeName for IsoSpeedControl { ::windows_core::imp::interface_hierarchy!(IsoSpeedControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeypadPressedEventArgs(::windows_core::IUnknown); impl KeypadPressedEventArgs { pub fn TelephonyKey(&self) -> ::windows_core::Result { @@ -4027,25 +3375,9 @@ impl KeypadPressedEventArgs { } } } -impl ::core::cmp::PartialEq for KeypadPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeypadPressedEventArgs {} -impl ::core::fmt::Debug for KeypadPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeypadPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeypadPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.KeypadPressedEventArgs;{d3a43900-b4fa-49cd-9442-89af6568f601})"); } -impl ::core::clone::Clone for KeypadPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeypadPressedEventArgs { type Vtable = IKeypadPressedEventArgs_Vtbl; } @@ -4060,6 +3392,7 @@ unsafe impl ::core::marker::Send for KeypadPressedEventArgs {} unsafe impl ::core::marker::Sync for KeypadPressedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLagPhotoControl(::windows_core::IUnknown); impl LowLagPhotoControl { #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -4128,25 +3461,9 @@ impl LowLagPhotoControl { } } } -impl ::core::cmp::PartialEq for LowLagPhotoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLagPhotoControl {} -impl ::core::fmt::Debug for LowLagPhotoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLagPhotoControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLagPhotoControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoControl;{6d5c4dd0-fadf-415d-aee6-3baa529300c9})"); } -impl ::core::clone::Clone for LowLagPhotoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLagPhotoControl { type Vtable = ILowLagPhotoControl_Vtbl; } @@ -4159,6 +3476,7 @@ impl ::windows_core::RuntimeName for LowLagPhotoControl { ::windows_core::imp::interface_hierarchy!(LowLagPhotoControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LowLagPhotoSequenceControl(::windows_core::IUnknown); impl LowLagPhotoSequenceControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -4270,25 +3588,9 @@ impl LowLagPhotoSequenceControl { } } } -impl ::core::cmp::PartialEq for LowLagPhotoSequenceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LowLagPhotoSequenceControl {} -impl ::core::fmt::Debug for LowLagPhotoSequenceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LowLagPhotoSequenceControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LowLagPhotoSequenceControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.LowLagPhotoSequenceControl;{3dcf909d-6d16-409c-bafe-b9a594c6fde6})"); } -impl ::core::clone::Clone for LowLagPhotoSequenceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LowLagPhotoSequenceControl { type Vtable = ILowLagPhotoSequenceControl_Vtbl; } @@ -4375,6 +3677,7 @@ impl ::windows_core::RuntimeName for MediaDevice { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaDeviceControl(::windows_core::IUnknown); impl MediaDeviceControl { pub fn Capabilities(&self) -> ::windows_core::Result { @@ -4413,25 +3716,9 @@ impl MediaDeviceControl { } } } -impl ::core::cmp::PartialEq for MediaDeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaDeviceControl {} -impl ::core::fmt::Debug for MediaDeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaDeviceControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaDeviceControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControl;{efa8dfa9-6f75-4863-ba0b-583f3036b4de})"); } -impl ::core::clone::Clone for MediaDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaDeviceControl { type Vtable = IMediaDeviceControl_Vtbl; } @@ -4444,6 +3731,7 @@ impl ::windows_core::RuntimeName for MediaDeviceControl { ::windows_core::imp::interface_hierarchy!(MediaDeviceControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaDeviceControlCapabilities(::windows_core::IUnknown); impl MediaDeviceControlCapabilities { pub fn Supported(&self) -> ::windows_core::Result { @@ -4489,25 +3777,9 @@ impl MediaDeviceControlCapabilities { } } } -impl ::core::cmp::PartialEq for MediaDeviceControlCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaDeviceControlCapabilities {} -impl ::core::fmt::Debug for MediaDeviceControlCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaDeviceControlCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaDeviceControlCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.MediaDeviceControlCapabilities;{23005816-eb85-43e2-b92b-8240d5ee70ec})"); } -impl ::core::clone::Clone for MediaDeviceControlCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaDeviceControlCapabilities { type Vtable = IMediaDeviceControlCapabilities_Vtbl; } @@ -4520,6 +3792,7 @@ impl ::windows_core::RuntimeName for MediaDeviceControlCapabilities { ::windows_core::imp::interface_hierarchy!(MediaDeviceControlCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ModuleCommandResult(::windows_core::IUnknown); impl ModuleCommandResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4539,25 +3812,9 @@ impl ModuleCommandResult { } } } -impl ::core::cmp::PartialEq for ModuleCommandResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ModuleCommandResult {} -impl ::core::fmt::Debug for ModuleCommandResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ModuleCommandResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ModuleCommandResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ModuleCommandResult;{520d1eb4-1374-4c7d-b1e4-39dcdf3eae4e})"); } -impl ::core::clone::Clone for ModuleCommandResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ModuleCommandResult { type Vtable = IModuleCommandResult_Vtbl; } @@ -4570,6 +3827,7 @@ impl ::windows_core::RuntimeName for ModuleCommandResult { ::windows_core::imp::interface_hierarchy!(ModuleCommandResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OpticalImageStabilizationControl(::windows_core::IUnknown); impl OpticalImageStabilizationControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -4600,25 +3858,9 @@ impl OpticalImageStabilizationControl { unsafe { (::windows_core::Interface::vtable(this).SetMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for OpticalImageStabilizationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OpticalImageStabilizationControl {} -impl ::core::fmt::Debug for OpticalImageStabilizationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OpticalImageStabilizationControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OpticalImageStabilizationControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.OpticalImageStabilizationControl;{bfad9c1d-00bc-423b-8eb2-a0178ca94247})"); } -impl ::core::clone::Clone for OpticalImageStabilizationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OpticalImageStabilizationControl { type Vtable = IOpticalImageStabilizationControl_Vtbl; } @@ -4633,6 +3875,7 @@ unsafe impl ::core::marker::Send for OpticalImageStabilizationControl {} unsafe impl ::core::marker::Sync for OpticalImageStabilizationControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PanelBasedOptimizationControl(::windows_core::IUnknown); impl PanelBasedOptimizationControl { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -4658,25 +3901,9 @@ impl PanelBasedOptimizationControl { unsafe { (::windows_core::Interface::vtable(this).SetPanel)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PanelBasedOptimizationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PanelBasedOptimizationControl {} -impl ::core::fmt::Debug for PanelBasedOptimizationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PanelBasedOptimizationControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PanelBasedOptimizationControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PanelBasedOptimizationControl;{33323223-6247-5419-a5a4-3d808645d917})"); } -impl ::core::clone::Clone for PanelBasedOptimizationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PanelBasedOptimizationControl { type Vtable = IPanelBasedOptimizationControl_Vtbl; } @@ -4691,6 +3918,7 @@ unsafe impl ::core::marker::Send for PanelBasedOptimizationControl {} unsafe impl ::core::marker::Sync for PanelBasedOptimizationControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoConfirmationControl(::windows_core::IUnknown); impl PhotoConfirmationControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -4727,25 +3955,9 @@ impl PhotoConfirmationControl { unsafe { (::windows_core::Interface::vtable(this).SetPixelFormat)(::windows_core::Interface::as_raw(this), format).ok() } } } -impl ::core::cmp::PartialEq for PhotoConfirmationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoConfirmationControl {} -impl ::core::fmt::Debug for PhotoConfirmationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoConfirmationControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoConfirmationControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.PhotoConfirmationControl;{c8f3f363-ff5e-4582-a9a8-0550f85a4a76})"); } -impl ::core::clone::Clone for PhotoConfirmationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoConfirmationControl { type Vtable = IPhotoConfirmationControl_Vtbl; } @@ -4758,6 +3970,7 @@ impl ::windows_core::RuntimeName for PhotoConfirmationControl { ::windows_core::imp::interface_hierarchy!(PhotoConfirmationControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RedialRequestedEventArgs(::windows_core::IUnknown); impl RedialRequestedEventArgs { pub fn Handled(&self) -> ::windows_core::Result<()> { @@ -4765,25 +3978,9 @@ impl RedialRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).Handled)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for RedialRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RedialRequestedEventArgs {} -impl ::core::fmt::Debug for RedialRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RedialRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RedialRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RedialRequestedEventArgs;{7eb55209-76ab-4c31-b40e-4b58379d580c})"); } -impl ::core::clone::Clone for RedialRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RedialRequestedEventArgs { type Vtable = IRedialRequestedEventArgs_Vtbl; } @@ -4798,6 +3995,7 @@ unsafe impl ::core::marker::Send for RedialRequestedEventArgs {} unsafe impl ::core::marker::Sync for RedialRequestedEventArgs {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RegionOfInterest(::windows_core::IUnknown); impl RegionOfInterest { pub fn new() -> ::windows_core::Result { @@ -4889,25 +4087,9 @@ impl RegionOfInterest { unsafe { (::windows_core::Interface::vtable(this).SetWeight)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for RegionOfInterest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RegionOfInterest {} -impl ::core::fmt::Debug for RegionOfInterest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RegionOfInterest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RegionOfInterest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionOfInterest;{e5ecc834-ce66-4e05-a78f-cf391a5ec2d1})"); } -impl ::core::clone::Clone for RegionOfInterest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RegionOfInterest { type Vtable = IRegionOfInterest_Vtbl; } @@ -4922,6 +4104,7 @@ unsafe impl ::core::marker::Send for RegionOfInterest {} unsafe impl ::core::marker::Sync for RegionOfInterest {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RegionsOfInterestControl(::windows_core::IUnknown); impl RegionsOfInterestControl { pub fn MaxRegions(&self) -> ::windows_core::Result { @@ -4986,25 +4169,9 @@ impl RegionsOfInterestControl { } } } -impl ::core::cmp::PartialEq for RegionsOfInterestControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RegionsOfInterestControl {} -impl ::core::fmt::Debug for RegionsOfInterestControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RegionsOfInterestControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RegionsOfInterestControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.RegionsOfInterestControl;{c323f527-ab0b-4558-8b5b-df5693db0378})"); } -impl ::core::clone::Clone for RegionsOfInterestControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RegionsOfInterestControl { type Vtable = IRegionsOfInterestControl_Vtbl; } @@ -5017,6 +4184,7 @@ impl ::windows_core::RuntimeName for RegionsOfInterestControl { ::windows_core::imp::interface_hierarchy!(RegionsOfInterestControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneModeControl(::windows_core::IUnknown); impl SceneModeControl { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5045,25 +4213,9 @@ impl SceneModeControl { } } } -impl ::core::cmp::PartialEq for SceneModeControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneModeControl {} -impl ::core::fmt::Debug for SceneModeControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneModeControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneModeControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.SceneModeControl;{d48e5af7-8d59-4854-8c62-12c70ba89b7c})"); } -impl ::core::clone::Clone for SceneModeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneModeControl { type Vtable = ISceneModeControl_Vtbl; } @@ -5076,6 +4228,7 @@ impl ::windows_core::RuntimeName for SceneModeControl { ::windows_core::imp::interface_hierarchy!(SceneModeControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TorchControl(::windows_core::IUnknown); impl TorchControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -5115,25 +4268,9 @@ impl TorchControl { unsafe { (::windows_core::Interface::vtable(this).SetPowerPercent)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for TorchControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TorchControl {} -impl ::core::fmt::Debug for TorchControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TorchControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TorchControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.TorchControl;{a6053665-8250-416c-919a-724296afa306})"); } -impl ::core::clone::Clone for TorchControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TorchControl { type Vtable = ITorchControl_Vtbl; } @@ -5146,6 +4283,7 @@ impl ::windows_core::RuntimeName for TorchControl { ::windows_core::imp::interface_hierarchy!(TorchControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoDeviceController(::windows_core::IUnknown); impl VideoDeviceController { pub fn SetDeviceProperty(&self, propertyid: &::windows_core::HSTRING, propertyvalue: P0) -> ::windows_core::Result<()> @@ -5530,25 +4668,9 @@ impl VideoDeviceController { } } } -impl ::core::cmp::PartialEq for VideoDeviceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoDeviceController {} -impl ::core::fmt::Debug for VideoDeviceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoDeviceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoDeviceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceController;{99555575-2e2e-40b8-b6c7-f82d10013210})"); } -impl ::core::clone::Clone for VideoDeviceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoDeviceController { type Vtable = IVideoDeviceController_Vtbl; } @@ -5562,6 +4684,7 @@ impl ::windows_core::RuntimeName for VideoDeviceController { impl ::windows_core::CanTryInto for VideoDeviceController {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoDeviceControllerGetDevicePropertyResult(::windows_core::IUnknown); impl VideoDeviceControllerGetDevicePropertyResult { pub fn Status(&self) -> ::windows_core::Result { @@ -5579,25 +4702,9 @@ impl VideoDeviceControllerGetDevicePropertyResult { } } } -impl ::core::cmp::PartialEq for VideoDeviceControllerGetDevicePropertyResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoDeviceControllerGetDevicePropertyResult {} -impl ::core::fmt::Debug for VideoDeviceControllerGetDevicePropertyResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoDeviceControllerGetDevicePropertyResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoDeviceControllerGetDevicePropertyResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoDeviceControllerGetDevicePropertyResult;{c5d88395-6ed5-4790-8b5d-0ef13935d0f8})"); } -impl ::core::clone::Clone for VideoDeviceControllerGetDevicePropertyResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoDeviceControllerGetDevicePropertyResult { type Vtable = IVideoDeviceControllerGetDevicePropertyResult_Vtbl; } @@ -5612,6 +4719,7 @@ unsafe impl ::core::marker::Send for VideoDeviceControllerGetDevicePropertyResul unsafe impl ::core::marker::Sync for VideoDeviceControllerGetDevicePropertyResult {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTemporalDenoisingControl(::windows_core::IUnknown); impl VideoTemporalDenoisingControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -5642,25 +4750,9 @@ impl VideoTemporalDenoisingControl { unsafe { (::windows_core::Interface::vtable(this).SetMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VideoTemporalDenoisingControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTemporalDenoisingControl {} -impl ::core::fmt::Debug for VideoTemporalDenoisingControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTemporalDenoisingControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTemporalDenoisingControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.VideoTemporalDenoisingControl;{7ab34735-3e2a-4a32-baff-4358c4fbdd57})"); } -impl ::core::clone::Clone for VideoTemporalDenoisingControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTemporalDenoisingControl { type Vtable = IVideoTemporalDenoisingControl_Vtbl; } @@ -5675,6 +4767,7 @@ unsafe impl ::core::marker::Send for VideoTemporalDenoisingControl {} unsafe impl ::core::marker::Sync for VideoTemporalDenoisingControl {} #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WhiteBalanceControl(::windows_core::IUnknown); impl WhiteBalanceControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -5738,25 +4831,9 @@ impl WhiteBalanceControl { } } } -impl ::core::cmp::PartialEq for WhiteBalanceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WhiteBalanceControl {} -impl ::core::fmt::Debug for WhiteBalanceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WhiteBalanceControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WhiteBalanceControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.WhiteBalanceControl;{781f047e-7162-49c8-a8f9-9481c565363e})"); } -impl ::core::clone::Clone for WhiteBalanceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WhiteBalanceControl { type Vtable = IWhiteBalanceControl_Vtbl; } @@ -5769,6 +4846,7 @@ impl ::windows_core::RuntimeName for WhiteBalanceControl { ::windows_core::imp::interface_hierarchy!(WhiteBalanceControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ZoomControl(::windows_core::IUnknown); impl ZoomControl { pub fn Supported(&self) -> ::windows_core::Result { @@ -5834,25 +4912,9 @@ impl ZoomControl { unsafe { (::windows_core::Interface::vtable(this).Configure)(::windows_core::Interface::as_raw(this), settings.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ZoomControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ZoomControl {} -impl ::core::fmt::Debug for ZoomControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ZoomControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ZoomControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomControl;{3a1e0b12-32da-4c17-bfd7-8d0c73c8f5a5})"); } -impl ::core::clone::Clone for ZoomControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ZoomControl { type Vtable = IZoomControl_Vtbl; } @@ -5865,6 +4927,7 @@ impl ::windows_core::RuntimeName for ZoomControl { ::windows_core::imp::interface_hierarchy!(ZoomControl, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ZoomSettings(::windows_core::IUnknown); impl ZoomSettings { pub fn new() -> ::windows_core::Result { @@ -5897,25 +4960,9 @@ impl ZoomSettings { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ZoomSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ZoomSettings {} -impl ::core::fmt::Debug for ZoomSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ZoomSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ZoomSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Devices.ZoomSettings;{6ad66b24-14b4-4bfd-b18f-88fe24463b52})"); } -impl ::core::clone::Clone for ZoomSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ZoomSettings { type Vtable = IZoomSettings_Vtbl; } @@ -6795,6 +5842,7 @@ impl ::windows_core::RuntimeType for ZoomTransitionMode { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CallControlEventHandler(pub ::windows_core::IUnknown); impl CallControlEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -6820,9 +5868,12 @@ impl) -> ::windows_core::Result<() base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6847,25 +5898,9 @@ impl) -> ::windows_core::Result<() ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for CallControlEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CallControlEventHandler {} -impl ::core::fmt::Debug for CallControlEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CallControlEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for CallControlEventHandler { type Vtable = CallControlEventHandler_Vtbl; } -impl ::core::clone::Clone for CallControlEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for CallControlEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x596f759f_50df_4454_bc63_4d3d01b61958); } @@ -6880,6 +5915,7 @@ pub struct CallControlEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialRequestedEventHandler(pub ::windows_core::IUnknown); impl DialRequestedEventHandler { pub fn new, ::core::option::Option<&DialRequestedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -6906,9 +5942,12 @@ impl, ::core::option::Option<&Dial base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6933,25 +5972,9 @@ impl, ::core::option::Option<&Dial ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for DialRequestedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialRequestedEventHandler {} -impl ::core::fmt::Debug for DialRequestedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialRequestedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DialRequestedEventHandler { type Vtable = DialRequestedEventHandler_Vtbl; } -impl ::core::clone::Clone for DialRequestedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DialRequestedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5abbffdb_c21f_4bc4_891b_257e28c1b1a4); } @@ -6966,6 +5989,7 @@ pub struct DialRequestedEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeypadPressedEventHandler(pub ::windows_core::IUnknown); impl KeypadPressedEventHandler { pub fn new, ::core::option::Option<&KeypadPressedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -6992,9 +6016,12 @@ impl, ::core::option::Option<&Keyp base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7019,25 +6046,9 @@ impl, ::core::option::Option<&Keyp ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for KeypadPressedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeypadPressedEventHandler {} -impl ::core::fmt::Debug for KeypadPressedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeypadPressedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for KeypadPressedEventHandler { type Vtable = KeypadPressedEventHandler_Vtbl; } -impl ::core::clone::Clone for KeypadPressedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for KeypadPressedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe637a454_c527_422c_8926_c9af83b559a0); } @@ -7052,6 +6063,7 @@ pub struct KeypadPressedEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RedialRequestedEventHandler(pub ::windows_core::IUnknown); impl RedialRequestedEventHandler { pub fn new, ::core::option::Option<&RedialRequestedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7078,9 +6090,12 @@ impl, ::core::option::Option<&Redi base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7105,25 +6120,9 @@ impl, ::core::option::Option<&Redi ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for RedialRequestedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RedialRequestedEventHandler {} -impl ::core::fmt::Debug for RedialRequestedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RedialRequestedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for RedialRequestedEventHandler { type Vtable = RedialRequestedEventHandler_Vtbl; } -impl ::core::clone::Clone for RedialRequestedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for RedialRequestedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbaf257d1_4ebd_4b84_9f47_6ec43d75d8b1); } diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index 34cd6cd126..c2e6a2bd2b 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialApp { type Vtable = IDialApp_Vtbl; } -impl ::core::clone::Clone for IDialApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x555ffbd3_45b7_49f3_bbd7_302db6084646); } @@ -32,15 +28,11 @@ pub struct IDialApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialAppStateDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialAppStateDetails { type Vtable = IDialAppStateDetails_Vtbl; } -impl ::core::clone::Clone for IDialAppStateDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialAppStateDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddc4a4a1_f5de_400d_bea4_8c8466bb2961); } @@ -53,15 +45,11 @@ pub struct IDialAppStateDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDevice { type Vtable = IDialDevice_Vtbl; } -impl ::core::clone::Clone for IDialDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfff0edaf_759f_41d2_a20a_7f29ce0b3784); } @@ -74,15 +62,11 @@ pub struct IDialDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDevice2 { type Vtable = IDialDevice2_Vtbl; } -impl ::core::clone::Clone for IDialDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbab7f3d5_5bfb_4eba_8b32_b57c5c5ee5c9); } @@ -98,15 +82,11 @@ pub struct IDialDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDevicePicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDevicePicker { type Vtable = IDialDevicePicker_Vtbl; } -impl ::core::clone::Clone for IDialDevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDevicePicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba7e520a_ff59_4f4b_bdac_d89f495ad6e1); } @@ -164,15 +144,11 @@ pub struct IDialDevicePicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDevicePickerFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDevicePickerFilter { type Vtable = IDialDevicePickerFilter_Vtbl; } -impl ::core::clone::Clone for IDialDevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDevicePickerFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc17c93ba_86c0_485d_b8d6_0f9a8f641590); } @@ -187,15 +163,11 @@ pub struct IDialDevicePickerFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDeviceSelectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDeviceSelectedEventArgs { type Vtable = IDialDeviceSelectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDialDeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDeviceSelectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x480b92ad_ac76_47eb_9c06_a19304da0247); } @@ -207,15 +179,11 @@ pub struct IDialDeviceSelectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDeviceStatics { type Vtable = IDialDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IDialDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa69cc95_01f8_4758_8461_2bbd1cdc3cf3); } @@ -235,15 +203,11 @@ pub struct IDialDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialDisconnectButtonClickedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialDisconnectButtonClickedEventArgs { type Vtable = IDialDisconnectButtonClickedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDialDisconnectButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialDisconnectButtonClickedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52765152_9c81_4e55_adc2_0ebe99cde3b6); } @@ -255,15 +219,11 @@ pub struct IDialDisconnectButtonClickedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialReceiverApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialReceiverApp { type Vtable = IDialReceiverApp_Vtbl; } -impl ::core::clone::Clone for IDialReceiverApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialReceiverApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd3e7c57_5045_470e_b304_4dd9b13e7d11); } @@ -282,15 +242,11 @@ pub struct IDialReceiverApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialReceiverApp2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialReceiverApp2 { type Vtable = IDialReceiverApp2_Vtbl; } -impl ::core::clone::Clone for IDialReceiverApp2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialReceiverApp2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x530c5805_9130_42ac_a504_1977dcb2ea8a); } @@ -305,15 +261,11 @@ pub struct IDialReceiverApp2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialReceiverAppStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDialReceiverAppStatics { type Vtable = IDialReceiverAppStatics_Vtbl; } -impl ::core::clone::Clone for IDialReceiverAppStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialReceiverAppStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53183a3c_4c36_4d02_b28a_f2a9da38ec52); } @@ -325,6 +277,7 @@ pub struct IDialReceiverAppStatics_Vtbl { } #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialApp(::windows_core::IUnknown); impl DialApp { pub fn AppName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -362,25 +315,9 @@ impl DialApp { } } } -impl ::core::cmp::PartialEq for DialApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialApp {} -impl ::core::fmt::Debug for DialApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialApp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialApp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialApp;{555ffbd3-45b7-49f3-bbd7-302db6084646})"); } -impl ::core::clone::Clone for DialApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialApp { type Vtable = IDialApp_Vtbl; } @@ -395,6 +332,7 @@ unsafe impl ::core::marker::Send for DialApp {} unsafe impl ::core::marker::Sync for DialApp {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialAppStateDetails(::windows_core::IUnknown); impl DialAppStateDetails { pub fn State(&self) -> ::windows_core::Result { @@ -412,25 +350,9 @@ impl DialAppStateDetails { } } } -impl ::core::cmp::PartialEq for DialAppStateDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialAppStateDetails {} -impl ::core::fmt::Debug for DialAppStateDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialAppStateDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialAppStateDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialAppStateDetails;{ddc4a4a1-f5de-400d-bea4-8c8466bb2961})"); } -impl ::core::clone::Clone for DialAppStateDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialAppStateDetails { type Vtable = IDialAppStateDetails_Vtbl; } @@ -445,6 +367,7 @@ unsafe impl ::core::marker::Send for DialAppStateDetails {} unsafe impl ::core::marker::Sync for DialAppStateDetails {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialDevice(::windows_core::IUnknown); impl DialDevice { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -508,25 +431,9 @@ impl DialDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DialDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialDevice {} -impl ::core::fmt::Debug for DialDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevice;{fff0edaf-759f-41d2-a20a-7f29ce0b3784})"); } -impl ::core::clone::Clone for DialDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialDevice { type Vtable = IDialDevice_Vtbl; } @@ -541,6 +448,7 @@ unsafe impl ::core::marker::Send for DialDevice {} unsafe impl ::core::marker::Sync for DialDevice {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialDevicePicker(::windows_core::IUnknown); impl DialDevicePicker { pub fn new() -> ::windows_core::Result { @@ -662,25 +570,9 @@ impl DialDevicePicker { unsafe { (::windows_core::Interface::vtable(this).SetDisplayStatus)(::windows_core::Interface::as_raw(this), device.into_param().abi(), status).ok() } } } -impl ::core::cmp::PartialEq for DialDevicePicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialDevicePicker {} -impl ::core::fmt::Debug for DialDevicePicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialDevicePicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialDevicePicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePicker;{ba7e520a-ff59-4f4b-bdac-d89f495ad6e1})"); } -impl ::core::clone::Clone for DialDevicePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialDevicePicker { type Vtable = IDialDevicePicker_Vtbl; } @@ -695,6 +587,7 @@ unsafe impl ::core::marker::Send for DialDevicePicker {} unsafe impl ::core::marker::Sync for DialDevicePicker {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialDevicePickerFilter(::windows_core::IUnknown); impl DialDevicePickerFilter { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -707,25 +600,9 @@ impl DialDevicePickerFilter { } } } -impl ::core::cmp::PartialEq for DialDevicePickerFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialDevicePickerFilter {} -impl ::core::fmt::Debug for DialDevicePickerFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialDevicePickerFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialDevicePickerFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDevicePickerFilter;{c17c93ba-86c0-485d-b8d6-0f9a8f641590})"); } -impl ::core::clone::Clone for DialDevicePickerFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialDevicePickerFilter { type Vtable = IDialDevicePickerFilter_Vtbl; } @@ -740,6 +617,7 @@ unsafe impl ::core::marker::Send for DialDevicePickerFilter {} unsafe impl ::core::marker::Sync for DialDevicePickerFilter {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialDeviceSelectedEventArgs(::windows_core::IUnknown); impl DialDeviceSelectedEventArgs { pub fn SelectedDialDevice(&self) -> ::windows_core::Result { @@ -750,25 +628,9 @@ impl DialDeviceSelectedEventArgs { } } } -impl ::core::cmp::PartialEq for DialDeviceSelectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialDeviceSelectedEventArgs {} -impl ::core::fmt::Debug for DialDeviceSelectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialDeviceSelectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialDeviceSelectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDeviceSelectedEventArgs;{480b92ad-ac76-47eb-9c06-a19304da0247})"); } -impl ::core::clone::Clone for DialDeviceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialDeviceSelectedEventArgs { type Vtable = IDialDeviceSelectedEventArgs_Vtbl; } @@ -783,6 +645,7 @@ unsafe impl ::core::marker::Send for DialDeviceSelectedEventArgs {} unsafe impl ::core::marker::Sync for DialDeviceSelectedEventArgs {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialDisconnectButtonClickedEventArgs(::windows_core::IUnknown); impl DialDisconnectButtonClickedEventArgs { pub fn Device(&self) -> ::windows_core::Result { @@ -793,25 +656,9 @@ impl DialDisconnectButtonClickedEventArgs { } } } -impl ::core::cmp::PartialEq for DialDisconnectButtonClickedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialDisconnectButtonClickedEventArgs {} -impl ::core::fmt::Debug for DialDisconnectButtonClickedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialDisconnectButtonClickedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialDisconnectButtonClickedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialDisconnectButtonClickedEventArgs;{52765152-9c81-4e55-adc2-0ebe99cde3b6})"); } -impl ::core::clone::Clone for DialDisconnectButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialDisconnectButtonClickedEventArgs { type Vtable = IDialDisconnectButtonClickedEventArgs_Vtbl; } @@ -826,6 +673,7 @@ unsafe impl ::core::marker::Send for DialDisconnectButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for DialDisconnectButtonClickedEventArgs {} #[doc = "*Required features: `\"Media_DialProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DialReceiverApp(::windows_core::IUnknown); impl DialReceiverApp { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -870,25 +718,9 @@ impl DialReceiverApp { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DialReceiverApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DialReceiverApp {} -impl ::core::fmt::Debug for DialReceiverApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DialReceiverApp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DialReceiverApp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.DialProtocol.DialReceiverApp;{fd3e7c57-5045-470e-b304-4dd9b13e7d11})"); } -impl ::core::clone::Clone for DialReceiverApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DialReceiverApp { type Vtable = IDialReceiverApp_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index 4632c1cdb9..a2117c1077 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundAudioTrack(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundAudioTrack { type Vtable = IBackgroundAudioTrack_Vtbl; } -impl ::core::clone::Clone for IBackgroundAudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundAudioTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b91b3bd_9e21_4266_a9c2_67dd011a2357); } @@ -66,15 +62,11 @@ pub struct IBackgroundAudioTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundAudioTrackStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundAudioTrackStatics { type Vtable = IBackgroundAudioTrackStatics_Vtbl; } -impl ::core::clone::Clone for IBackgroundAudioTrackStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundAudioTrackStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9b1c0d7_d018_42a8_a559_cb4d9e97e664); } @@ -90,15 +82,11 @@ pub struct IBackgroundAudioTrackStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmbeddedAudioTrack(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmbeddedAudioTrack { type Vtable = IEmbeddedAudioTrack_Vtbl; } -impl ::core::clone::Clone for IEmbeddedAudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmbeddedAudioTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55ee5a7a_2d30_3fba_a190_4f1a6454f88f); } @@ -113,15 +101,11 @@ pub struct IEmbeddedAudioTrack_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaClip(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaClip { type Vtable = IMediaClip_Vtbl; } -impl ::core::clone::Clone for IMediaClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53f25366_5fba_3ea4_8693_24761811140a); } @@ -189,15 +173,11 @@ pub struct IMediaClip_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaClipStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaClipStatics { type Vtable = IMediaClipStatics_Vtbl; } -impl ::core::clone::Clone for IMediaClipStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaClipStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa402b68_928f_43c4_bc6e_783a1a359656); } @@ -220,15 +200,11 @@ pub struct IMediaClipStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaClipStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaClipStatics2 { type Vtable = IMediaClipStatics2_Vtbl; } -impl ::core::clone::Clone for IMediaClipStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaClipStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b1dd7b3_854e_4d9b_877d_4774a556cd12); } @@ -243,15 +219,11 @@ pub struct IMediaClipStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaComposition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaComposition { type Vtable = IMediaComposition_Vtbl; } -impl ::core::clone::Clone for IMediaComposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaComposition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e06e605_dc71_41d6_b837_2d2bc14a2947); } @@ -319,15 +291,11 @@ pub struct IMediaComposition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaComposition2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaComposition2 { type Vtable = IMediaComposition2_Vtbl; } -impl ::core::clone::Clone for IMediaComposition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaComposition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa59e5372_2366_492c_bec8_e6dfba6d0281); } @@ -342,15 +310,11 @@ pub struct IMediaComposition2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaCompositionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaCompositionStatics { type Vtable = IMediaCompositionStatics_Vtbl; } -impl ::core::clone::Clone for IMediaCompositionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaCompositionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87a08f04_e32a_45ce_8f66_a30df0766224); } @@ -365,15 +329,11 @@ pub struct IMediaCompositionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaOverlay(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaOverlay { type Vtable = IMediaOverlay_Vtbl; } -impl ::core::clone::Clone for IMediaOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaOverlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa902ae5d_7869_4830_8ab1_94dc01c05fa4); } @@ -406,15 +366,11 @@ pub struct IMediaOverlay_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaOverlayFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaOverlayFactory { type Vtable = IMediaOverlayFactory_Vtbl; } -impl ::core::clone::Clone for IMediaOverlayFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaOverlayFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb584828a_6188_4f8f_a2e0_aa552d598e18); } @@ -430,15 +386,11 @@ pub struct IMediaOverlayFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaOverlayLayer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaOverlayLayer { type Vtable = IMediaOverlayLayer_Vtbl; } -impl ::core::clone::Clone for IMediaOverlayLayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaOverlayLayer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6d9ba57_eeda_46c6_bbe5_e398c84168ac); } @@ -458,15 +410,11 @@ pub struct IMediaOverlayLayer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaOverlayLayerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaOverlayLayerFactory { type Vtable = IMediaOverlayLayerFactory_Vtbl; } -impl ::core::clone::Clone for IMediaOverlayLayerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaOverlayLayerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x947cb473_a39e_4362_abbf_9f8b5070a062); } @@ -481,6 +429,7 @@ pub struct IMediaOverlayLayerFactory_Vtbl { } #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundAudioTrack(::windows_core::IUnknown); impl BackgroundAudioTrack { #[doc = "*Required features: `\"Foundation\"`*"] @@ -617,25 +566,9 @@ impl BackgroundAudioTrack { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundAudioTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundAudioTrack {} -impl ::core::fmt::Debug for BackgroundAudioTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundAudioTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundAudioTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.BackgroundAudioTrack;{4b91b3bd-9e21-4266-a9c2-67dd011a2357})"); } -impl ::core::clone::Clone for BackgroundAudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundAudioTrack { type Vtable = IBackgroundAudioTrack_Vtbl; } @@ -650,6 +583,7 @@ unsafe impl ::core::marker::Send for BackgroundAudioTrack {} unsafe impl ::core::marker::Sync for BackgroundAudioTrack {} #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmbeddedAudioTrack(::windows_core::IUnknown); impl EmbeddedAudioTrack { #[doc = "*Required features: `\"Media_MediaProperties\"`*"] @@ -662,25 +596,9 @@ impl EmbeddedAudioTrack { } } } -impl ::core::cmp::PartialEq for EmbeddedAudioTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmbeddedAudioTrack {} -impl ::core::fmt::Debug for EmbeddedAudioTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmbeddedAudioTrack").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmbeddedAudioTrack { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.EmbeddedAudioTrack;{55ee5a7a-2d30-3fba-a190-4f1a6454f88f})"); } -impl ::core::clone::Clone for EmbeddedAudioTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmbeddedAudioTrack { type Vtable = IEmbeddedAudioTrack_Vtbl; } @@ -695,6 +613,7 @@ unsafe impl ::core::marker::Send for EmbeddedAudioTrack {} unsafe impl ::core::marker::Sync for EmbeddedAudioTrack {} #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaClip(::windows_core::IUnknown); impl MediaClip { #[doc = "*Required features: `\"Foundation\"`*"] @@ -889,25 +808,9 @@ impl MediaClip { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaClip {} -impl ::core::fmt::Debug for MediaClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaClip").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaClip { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaClip;{53f25366-5fba-3ea4-8693-24761811140a})"); } -impl ::core::clone::Clone for MediaClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaClip { type Vtable = IMediaClip_Vtbl; } @@ -922,6 +825,7 @@ unsafe impl ::core::marker::Send for MediaClip {} unsafe impl ::core::marker::Sync for MediaClip {} #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaComposition(::windows_core::IUnknown); impl MediaComposition { pub fn new() -> ::windows_core::Result { @@ -1109,25 +1013,9 @@ impl MediaComposition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaComposition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaComposition {} -impl ::core::fmt::Debug for MediaComposition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaComposition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaComposition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaComposition;{2e06e605-dc71-41d6-b837-2d2bc14a2947})"); } -impl ::core::clone::Clone for MediaComposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaComposition { type Vtable = IMediaComposition_Vtbl; } @@ -1142,6 +1030,7 @@ unsafe impl ::core::marker::Send for MediaComposition {} unsafe impl ::core::marker::Sync for MediaComposition {} #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaOverlay(::windows_core::IUnknown); impl MediaOverlay { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1236,25 +1125,9 @@ impl MediaOverlay { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaOverlay {} -impl ::core::fmt::Debug for MediaOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaOverlay").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaOverlay { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlay;{a902ae5d-7869-4830-8ab1-94dc01c05fa4})"); } -impl ::core::clone::Clone for MediaOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaOverlay { type Vtable = IMediaOverlay_Vtbl; } @@ -1269,6 +1142,7 @@ unsafe impl ::core::marker::Send for MediaOverlay {} unsafe impl ::core::marker::Sync for MediaOverlay {} #[doc = "*Required features: `\"Media_Editing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaOverlayLayer(::windows_core::IUnknown); impl MediaOverlayLayer { pub fn new() -> ::windows_core::Result { @@ -1320,25 +1194,9 @@ impl MediaOverlayLayer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaOverlayLayer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaOverlayLayer {} -impl ::core::fmt::Debug for MediaOverlayLayer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaOverlayLayer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaOverlayLayer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Editing.MediaOverlayLayer;{a6d9ba57-eeda-46c6-bbe5-e398c84168ac})"); } -impl ::core::clone::Clone for MediaOverlayLayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaOverlayLayer { type Vtable = IMediaOverlayLayer_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Effects/impl.rs b/crates/libs/windows/src/Windows/Media/Effects/impl.rs index bdb93488b2..cb3a17562d 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/impl.rs @@ -41,8 +41,8 @@ impl IAudioEffectDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IBasicAudioEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl IBasicVideoEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IVideoCompositor_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl IVideoCompositorDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -369,7 +369,7 @@ impl IVideoEffectDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 594e1c98ec..14b617d31a 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioCaptureEffectsManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioCaptureEffectsManager { type Vtable = IAudioCaptureEffectsManager_Vtbl; } -impl ::core::clone::Clone for IAudioCaptureEffectsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioCaptureEffectsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f85c271_038d_4393_8298_540110608eef); } @@ -31,15 +27,11 @@ pub struct IAudioCaptureEffectsManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEffect { type Vtable = IAudioEffect_Vtbl; } -impl ::core::clone::Clone for IAudioEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34aafa51_9207_4055_be93_6e5734a86ae4); } @@ -51,6 +43,7 @@ pub struct IAudioEffect_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffectDefinition(::windows_core::IUnknown); impl IAudioEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -71,28 +64,12 @@ impl IAudioEffectDefinition { } } ::windows_core::imp::interface_hierarchy!(IAudioEffectDefinition, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAudioEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEffectDefinition {} -impl ::core::fmt::Debug for IAudioEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAudioEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e4d7f974-7d80-4f73-9089-e31c9db9c294}"); } unsafe impl ::windows_core::Interface for IAudioEffectDefinition { type Vtable = IAudioEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IAudioEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4d7f974_7d80_4f73_9089_e31c9db9c294); } @@ -108,15 +85,11 @@ pub struct IAudioEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEffectDefinitionFactory { type Vtable = IAudioEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IAudioEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e1da646_e705_45ed_8a2b_fc4e4f405a97); } @@ -132,15 +105,11 @@ pub struct IAudioEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffectsManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEffectsManagerStatics { type Vtable = IAudioEffectsManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAudioEffectsManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffectsManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66406c04_86fa_47cc_a315_f489d8c3fe10); } @@ -167,15 +136,11 @@ pub struct IAudioEffectsManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioRenderEffectsManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioRenderEffectsManager { type Vtable = IAudioRenderEffectsManager_Vtbl; } -impl ::core::clone::Clone for IAudioRenderEffectsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioRenderEffectsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dc98966_8751_42b2_bfcb_39ca7864bd47); } @@ -199,18 +164,13 @@ pub struct IAudioRenderEffectsManager_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioRenderEffectsManager2(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IAudioRenderEffectsManager2 { type Vtable = IAudioRenderEffectsManager2_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IAudioRenderEffectsManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IAudioRenderEffectsManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa844cd09_5ecc_44b3_bb4e_1db07287139c); } @@ -234,6 +194,7 @@ pub struct IAudioRenderEffectsManager2_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicAudioEffect(::windows_core::IUnknown); impl IBasicAudioEffect { pub fn UseInputFrameForOutput(&self) -> ::windows_core::Result { @@ -288,28 +249,12 @@ impl IBasicAudioEffect { } ::windows_core::imp::interface_hierarchy!(IBasicAudioEffect, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBasicAudioEffect {} -impl ::core::cmp::PartialEq for IBasicAudioEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBasicAudioEffect {} -impl ::core::fmt::Debug for IBasicAudioEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBasicAudioEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBasicAudioEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8c062c53-6bc0-48b8-a99a-4b41550f1359}"); } unsafe impl ::windows_core::Interface for IBasicAudioEffect { type Vtable = IBasicAudioEffect_Vtbl; } -impl ::core::clone::Clone for IBasicAudioEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBasicAudioEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c062c53_6bc0_48b8_a99a_4b41550f1359); } @@ -332,6 +277,7 @@ pub struct IBasicAudioEffect_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicVideoEffect(::windows_core::IUnknown); impl IBasicVideoEffect { pub fn IsReadOnly(&self) -> ::windows_core::Result { @@ -401,28 +347,12 @@ impl IBasicVideoEffect { } ::windows_core::imp::interface_hierarchy!(IBasicVideoEffect, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IBasicVideoEffect {} -impl ::core::cmp::PartialEq for IBasicVideoEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBasicVideoEffect {} -impl ::core::fmt::Debug for IBasicVideoEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBasicVideoEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBasicVideoEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8262c7ef-b360-40be-949b-2ff42ff35693}"); } unsafe impl ::windows_core::Interface for IBasicVideoEffect { type Vtable = IBasicVideoEffect_Vtbl; } -impl ::core::clone::Clone for IBasicVideoEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBasicVideoEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8262c7ef_b360_40be_949b_2ff42ff35693); } @@ -447,15 +377,11 @@ pub struct IBasicVideoEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositeVideoFrameContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositeVideoFrameContext { type Vtable = ICompositeVideoFrameContext_Vtbl; } -impl ::core::clone::Clone for ICompositeVideoFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositeVideoFrameContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c30024b_f514_4278_a5f7_b9188049d110); } @@ -476,15 +402,11 @@ pub struct ICompositeVideoFrameContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessAudioFrameContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessAudioFrameContext { type Vtable = IProcessAudioFrameContext_Vtbl; } -impl ::core::clone::Clone for IProcessAudioFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessAudioFrameContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cd92946_1222_4a27_a586_fb3e20273255); } @@ -497,15 +419,11 @@ pub struct IProcessAudioFrameContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessVideoFrameContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessVideoFrameContext { type Vtable = IProcessVideoFrameContext_Vtbl; } -impl ::core::clone::Clone for IProcessVideoFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessVideoFrameContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x276f0e2b_6461_401e_ba78_0fdad6114eec); } @@ -518,15 +436,11 @@ pub struct IProcessVideoFrameContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISlowMotionEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISlowMotionEffectDefinition { type Vtable = ISlowMotionEffectDefinition_Vtbl; } -impl ::core::clone::Clone for ISlowMotionEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISlowMotionEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35053cd0_176c_4763_82c4_1b02dbe31737); } @@ -539,6 +453,7 @@ pub struct ISlowMotionEffectDefinition_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoCompositor(::windows_core::IUnknown); impl IVideoCompositor { pub fn TimeIndependent(&self) -> ::windows_core::Result { @@ -585,28 +500,12 @@ impl IVideoCompositor { } ::windows_core::imp::interface_hierarchy!(IVideoCompositor, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IVideoCompositor {} -impl ::core::cmp::PartialEq for IVideoCompositor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoCompositor {} -impl ::core::fmt::Debug for IVideoCompositor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoCompositor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVideoCompositor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8510b43e-420c-420f-96c7-7c98bba1fc55}"); } unsafe impl ::windows_core::Interface for IVideoCompositor { type Vtable = IVideoCompositor_Vtbl; } -impl ::core::clone::Clone for IVideoCompositor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoCompositor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8510b43e_420c_420f_96c7_7c98bba1fc55); } @@ -625,6 +524,7 @@ pub struct IVideoCompositor_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoCompositorDefinition(::windows_core::IUnknown); impl IVideoCompositorDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -645,28 +545,12 @@ impl IVideoCompositorDefinition { } } ::windows_core::imp::interface_hierarchy!(IVideoCompositorDefinition, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVideoCompositorDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoCompositorDefinition {} -impl ::core::fmt::Debug for IVideoCompositorDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoCompositorDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVideoCompositorDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2}"); } unsafe impl ::windows_core::Interface for IVideoCompositorDefinition { type Vtable = IVideoCompositorDefinition_Vtbl; } -impl ::core::clone::Clone for IVideoCompositorDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoCompositorDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7946b8d0_2010_4ae3_9ab2_2cef42edd4d2); } @@ -682,15 +566,11 @@ pub struct IVideoCompositorDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoCompositorDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoCompositorDefinitionFactory { type Vtable = IVideoCompositorDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IVideoCompositorDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoCompositorDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4366fd10_68b8_4d52_89b6_02a968cca899); } @@ -706,6 +586,7 @@ pub struct IVideoCompositorDefinitionFactory_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEffectDefinition(::windows_core::IUnknown); impl IVideoEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -726,28 +607,12 @@ impl IVideoEffectDefinition { } } ::windows_core::imp::interface_hierarchy!(IVideoEffectDefinition, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVideoEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoEffectDefinition {} -impl ::core::fmt::Debug for IVideoEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVideoEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{39f38cf0-8d0f-4f3e-84fc-2d46a5297943}"); } unsafe impl ::windows_core::Interface for IVideoEffectDefinition { type Vtable = IVideoEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IVideoEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39f38cf0_8d0f_4f3e_84fc_2d46a5297943); } @@ -763,15 +628,11 @@ pub struct IVideoEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEffectDefinitionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEffectDefinitionFactory { type Vtable = IVideoEffectDefinitionFactory_Vtbl; } -impl ::core::clone::Clone for IVideoEffectDefinitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEffectDefinitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81439b4e_6e33_428f_9d21_b5aafef7617c); } @@ -787,15 +648,11 @@ pub struct IVideoEffectDefinitionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTransformEffectDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTransformEffectDefinition { type Vtable = IVideoTransformEffectDefinition_Vtbl; } -impl ::core::clone::Clone for IVideoTransformEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTransformEffectDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9664bb6a_1ea6_4aa6_8074_abe8851ecae2); } @@ -854,15 +711,11 @@ pub struct IVideoTransformEffectDefinition_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTransformEffectDefinition2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTransformEffectDefinition2 { type Vtable = IVideoTransformEffectDefinition2_Vtbl; } -impl ::core::clone::Clone for IVideoTransformEffectDefinition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTransformEffectDefinition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0a8089f_66c8_4694_9fd9_1136abf7444a); } @@ -874,15 +727,11 @@ pub struct IVideoTransformEffectDefinition2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoTransformSphericalProjection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoTransformSphericalProjection { type Vtable = IVideoTransformSphericalProjection_Vtbl; } -impl ::core::clone::Clone for IVideoTransformSphericalProjection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoTransformSphericalProjection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf4401f0_9bf2_4c39_9f41_e022514a8468); } @@ -921,6 +770,7 @@ pub struct IVideoTransformSphericalProjection_Vtbl { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioCaptureEffectsManager(::windows_core::IUnknown); impl AudioCaptureEffectsManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -951,25 +801,9 @@ impl AudioCaptureEffectsManager { } } } -impl ::core::cmp::PartialEq for AudioCaptureEffectsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioCaptureEffectsManager {} -impl ::core::fmt::Debug for AudioCaptureEffectsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioCaptureEffectsManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioCaptureEffectsManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioCaptureEffectsManager;{8f85c271-038d-4393-8298-540110608eef})"); } -impl ::core::clone::Clone for AudioCaptureEffectsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioCaptureEffectsManager { type Vtable = IAudioCaptureEffectsManager_Vtbl; } @@ -984,6 +818,7 @@ unsafe impl ::core::marker::Send for AudioCaptureEffectsManager {} unsafe impl ::core::marker::Sync for AudioCaptureEffectsManager {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioEffect(::windows_core::IUnknown); impl AudioEffect { pub fn AudioEffectType(&self) -> ::windows_core::Result { @@ -994,25 +829,9 @@ impl AudioEffect { } } } -impl ::core::cmp::PartialEq for AudioEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioEffect {} -impl ::core::fmt::Debug for AudioEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffect;{34aafa51-9207-4055-be93-6e5734a86ae4})"); } -impl ::core::clone::Clone for AudioEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioEffect { type Vtable = IAudioEffect_Vtbl; } @@ -1027,6 +846,7 @@ unsafe impl ::core::marker::Send for AudioEffect {} unsafe impl ::core::marker::Sync for AudioEffect {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioEffectDefinition(::windows_core::IUnknown); impl AudioEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1068,25 +888,9 @@ impl AudioEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioEffectDefinition {} -impl ::core::fmt::Debug for AudioEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioEffectDefinition;{e4d7f974-7d80-4f73-9089-e31c9db9c294})"); } -impl ::core::clone::Clone for AudioEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioEffectDefinition { type Vtable = IAudioEffectDefinition_Vtbl; } @@ -1146,6 +950,7 @@ impl ::windows_core::RuntimeName for AudioEffectsManager { } #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioRenderEffectsManager(::windows_core::IUnknown); impl AudioRenderEffectsManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1200,25 +1005,9 @@ impl AudioRenderEffectsManager { unsafe { (::windows_core::Interface::vtable(this).ShowSettingsUI)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AudioRenderEffectsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioRenderEffectsManager {} -impl ::core::fmt::Debug for AudioRenderEffectsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioRenderEffectsManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioRenderEffectsManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.AudioRenderEffectsManager;{4dc98966-8751-42b2-bfcb-39ca7864bd47})"); } -impl ::core::clone::Clone for AudioRenderEffectsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioRenderEffectsManager { type Vtable = IAudioRenderEffectsManager_Vtbl; } @@ -1233,6 +1022,7 @@ unsafe impl ::core::marker::Send for AudioRenderEffectsManager {} unsafe impl ::core::marker::Sync for AudioRenderEffectsManager {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositeVideoFrameContext(::windows_core::IUnknown); impl CompositeVideoFrameContext { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`*"] @@ -1271,25 +1061,9 @@ impl CompositeVideoFrameContext { } } } -impl ::core::cmp::PartialEq for CompositeVideoFrameContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositeVideoFrameContext {} -impl ::core::fmt::Debug for CompositeVideoFrameContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositeVideoFrameContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositeVideoFrameContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.CompositeVideoFrameContext;{6c30024b-f514-4278-a5f7-b9188049d110})"); } -impl ::core::clone::Clone for CompositeVideoFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositeVideoFrameContext { type Vtable = ICompositeVideoFrameContext_Vtbl; } @@ -1304,6 +1078,7 @@ unsafe impl ::core::marker::Send for CompositeVideoFrameContext {} unsafe impl ::core::marker::Sync for CompositeVideoFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessAudioFrameContext(::windows_core::IUnknown); impl ProcessAudioFrameContext { pub fn InputFrame(&self) -> ::windows_core::Result { @@ -1321,25 +1096,9 @@ impl ProcessAudioFrameContext { } } } -impl ::core::cmp::PartialEq for ProcessAudioFrameContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessAudioFrameContext {} -impl ::core::fmt::Debug for ProcessAudioFrameContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessAudioFrameContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessAudioFrameContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessAudioFrameContext;{4cd92946-1222-4a27-a586-fb3e20273255})"); } -impl ::core::clone::Clone for ProcessAudioFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessAudioFrameContext { type Vtable = IProcessAudioFrameContext_Vtbl; } @@ -1354,6 +1113,7 @@ unsafe impl ::core::marker::Send for ProcessAudioFrameContext {} unsafe impl ::core::marker::Sync for ProcessAudioFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessVideoFrameContext(::windows_core::IUnknown); impl ProcessVideoFrameContext { pub fn InputFrame(&self) -> ::windows_core::Result { @@ -1371,25 +1131,9 @@ impl ProcessVideoFrameContext { } } } -impl ::core::cmp::PartialEq for ProcessVideoFrameContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessVideoFrameContext {} -impl ::core::fmt::Debug for ProcessVideoFrameContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessVideoFrameContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessVideoFrameContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.ProcessVideoFrameContext;{276f0e2b-6461-401e-ba78-0fdad6114eec})"); } -impl ::core::clone::Clone for ProcessVideoFrameContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessVideoFrameContext { type Vtable = IProcessVideoFrameContext_Vtbl; } @@ -1404,6 +1148,7 @@ unsafe impl ::core::marker::Send for ProcessVideoFrameContext {} unsafe impl ::core::marker::Sync for ProcessVideoFrameContext {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SlowMotionEffectDefinition(::windows_core::IUnknown); impl SlowMotionEffectDefinition { pub fn new() -> ::windows_core::Result { @@ -1441,25 +1186,9 @@ impl SlowMotionEffectDefinition { } } } -impl ::core::cmp::PartialEq for SlowMotionEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SlowMotionEffectDefinition {} -impl ::core::fmt::Debug for SlowMotionEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SlowMotionEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SlowMotionEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.SlowMotionEffectDefinition;{35053cd0-176c-4763-82c4-1b02dbe31737})"); } -impl ::core::clone::Clone for SlowMotionEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SlowMotionEffectDefinition { type Vtable = ISlowMotionEffectDefinition_Vtbl; } @@ -1475,6 +1204,7 @@ unsafe impl ::core::marker::Send for SlowMotionEffectDefinition {} unsafe impl ::core::marker::Sync for SlowMotionEffectDefinition {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoCompositorDefinition(::windows_core::IUnknown); impl VideoCompositorDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1516,25 +1246,9 @@ impl VideoCompositorDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VideoCompositorDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoCompositorDefinition {} -impl ::core::fmt::Debug for VideoCompositorDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoCompositorDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoCompositorDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoCompositorDefinition;{7946b8d0-2010-4ae3-9ab2-2cef42edd4d2})"); } -impl ::core::clone::Clone for VideoCompositorDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoCompositorDefinition { type Vtable = IVideoCompositorDefinition_Vtbl; } @@ -1550,6 +1264,7 @@ unsafe impl ::core::marker::Send for VideoCompositorDefinition {} unsafe impl ::core::marker::Sync for VideoCompositorDefinition {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoEffectDefinition(::windows_core::IUnknown); impl VideoEffectDefinition { pub fn ActivatableClassId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1591,25 +1306,9 @@ impl VideoEffectDefinition { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VideoEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoEffectDefinition {} -impl ::core::fmt::Debug for VideoEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } -impl ::core::clone::Clone for VideoEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoEffectDefinition { type Vtable = IVideoEffectDefinition_Vtbl; } @@ -1625,6 +1324,7 @@ unsafe impl ::core::marker::Send for VideoEffectDefinition {} unsafe impl ::core::marker::Sync for VideoEffectDefinition {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTransformEffectDefinition(::windows_core::IUnknown); impl VideoTransformEffectDefinition { pub fn new() -> ::windows_core::Result { @@ -1748,25 +1448,9 @@ impl VideoTransformEffectDefinition { } } } -impl ::core::cmp::PartialEq for VideoTransformEffectDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTransformEffectDefinition {} -impl ::core::fmt::Debug for VideoTransformEffectDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTransformEffectDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTransformEffectDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformEffectDefinition;{39f38cf0-8d0f-4f3e-84fc-2d46a5297943})"); } -impl ::core::clone::Clone for VideoTransformEffectDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTransformEffectDefinition { type Vtable = IVideoEffectDefinition_Vtbl; } @@ -1782,6 +1466,7 @@ unsafe impl ::core::marker::Send for VideoTransformEffectDefinition {} unsafe impl ::core::marker::Sync for VideoTransformEffectDefinition {} #[doc = "*Required features: `\"Media_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoTransformSphericalProjection(::windows_core::IUnknown); impl VideoTransformSphericalProjection { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1852,25 +1537,9 @@ impl VideoTransformSphericalProjection { unsafe { (::windows_core::Interface::vtable(this).SetViewOrientation)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VideoTransformSphericalProjection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoTransformSphericalProjection {} -impl ::core::fmt::Debug for VideoTransformSphericalProjection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoTransformSphericalProjection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoTransformSphericalProjection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Effects.VideoTransformSphericalProjection;{cf4401f0-9bf2-4c39-9f41-e022514a8468})"); } -impl ::core::clone::Clone for VideoTransformSphericalProjection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoTransformSphericalProjection { type Vtable = IVideoTransformSphericalProjection_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index 15245dfb0b..2c51c899a8 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDetectedFace(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDetectedFace { type Vtable = IDetectedFace_Vtbl; } -impl ::core::clone::Clone for IDetectedFace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDetectedFace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8200d454_66bc_34df_9410_e89400195414); } @@ -23,15 +19,11 @@ pub struct IDetectedFace_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetector { type Vtable = IFaceDetector_Vtbl; } -impl ::core::clone::Clone for IFaceDetector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16b672dc_fe6f_3117_8d95_c3f04d51630c); } @@ -66,15 +58,11 @@ pub struct IFaceDetector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceDetectorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceDetectorStatics { type Vtable = IFaceDetectorStatics_Vtbl; } -impl ::core::clone::Clone for IFaceDetectorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceDetectorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc042d67_9047_33f6_881b_6746c1b218b8); } @@ -98,15 +86,11 @@ pub struct IFaceDetectorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceTracker { type Vtable = IFaceTracker_Vtbl; } -impl ::core::clone::Clone for IFaceTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ba67d8c_a841_4420_93e6_2420a1884fcf); } @@ -137,15 +121,11 @@ pub struct IFaceTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaceTrackerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFaceTrackerStatics { type Vtable = IFaceTrackerStatics_Vtbl; } -impl ::core::clone::Clone for IFaceTrackerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFaceTrackerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9629198_1801_3fa5_932e_31d767af6c4d); } @@ -169,6 +149,7 @@ pub struct IFaceTrackerStatics_Vtbl { } #[doc = "*Required features: `\"Media_FaceAnalysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DetectedFace(::windows_core::IUnknown); impl DetectedFace { #[doc = "*Required features: `\"Graphics_Imaging\"`*"] @@ -181,25 +162,9 @@ impl DetectedFace { } } } -impl ::core::cmp::PartialEq for DetectedFace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DetectedFace {} -impl ::core::fmt::Debug for DetectedFace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DetectedFace").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DetectedFace { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.DetectedFace;{8200d454-66bc-34df-9410-e89400195414})"); } -impl ::core::clone::Clone for DetectedFace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DetectedFace { type Vtable = IDetectedFace_Vtbl; } @@ -214,6 +179,7 @@ unsafe impl ::core::marker::Send for DetectedFace {} unsafe impl ::core::marker::Sync for DetectedFace {} #[doc = "*Required features: `\"Media_FaceAnalysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceDetector(::windows_core::IUnknown); impl FaceDetector { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Graphics_Imaging\"`*"] @@ -306,25 +272,9 @@ impl FaceDetector { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FaceDetector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FaceDetector {} -impl ::core::fmt::Debug for FaceDetector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceDetector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FaceDetector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceDetector;{16b672dc-fe6f-3117-8d95-c3f04d51630c})"); } -impl ::core::clone::Clone for FaceDetector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FaceDetector { type Vtable = IFaceDetector_Vtbl; } @@ -339,6 +289,7 @@ unsafe impl ::core::marker::Send for FaceDetector {} unsafe impl ::core::marker::Sync for FaceDetector {} #[doc = "*Required features: `\"Media_FaceAnalysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FaceTracker(::windows_core::IUnknown); impl FaceTracker { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -419,25 +370,9 @@ impl FaceTracker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FaceTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FaceTracker {} -impl ::core::fmt::Debug for FaceTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FaceTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FaceTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.FaceAnalysis.FaceTracker;{6ba67d8c-a841-4420-93e6-2420a1884fcf})"); } -impl ::core::clone::Clone for FaceTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FaceTracker { type Vtable = IFaceTracker_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index b33a4a95df..16f18634ac 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportDeleteImportedItemsFromSourceResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportDeleteImportedItemsFromSourceResult { type Vtable = IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl; } -impl ::core::clone::Clone for IPhotoImportDeleteImportedItemsFromSourceResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportDeleteImportedItemsFromSourceResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4e112f8_843d_428a_a1a6_81510292b0ae); } @@ -35,15 +31,11 @@ pub struct IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportFindItemsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportFindItemsResult { type Vtable = IPhotoImportFindItemsResult_Vtbl; } -impl ::core::clone::Clone for IPhotoImportFindItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportFindItemsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3915e647_6c78_492b_844e_8fe5e8f6bfb9); } @@ -108,15 +100,11 @@ pub struct IPhotoImportFindItemsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportFindItemsResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportFindItemsResult2 { type Vtable = IPhotoImportFindItemsResult2_Vtbl; } -impl ::core::clone::Clone for IPhotoImportFindItemsResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportFindItemsResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbdd6a3b_ecf9_406a_815e_5015625b0a88); } @@ -131,15 +119,11 @@ pub struct IPhotoImportFindItemsResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportImportItemsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportImportItemsResult { type Vtable = IPhotoImportImportItemsResult_Vtbl; } -impl ::core::clone::Clone for IPhotoImportImportItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportImportItemsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4d4f478_d419_4443_a84e_f06a850c0b00); } @@ -170,15 +154,11 @@ pub struct IPhotoImportImportItemsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportItem { type Vtable = IPhotoImportItem_Vtbl; } -impl ::core::clone::Clone for IPhotoImportItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9d07e76_9bfc_43b8_b356_633b6a988c9e); } @@ -220,15 +200,11 @@ pub struct IPhotoImportItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportItem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportItem2 { type Vtable = IPhotoImportItem2_Vtbl; } -impl ::core::clone::Clone for IPhotoImportItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1053505_f53b_46a3_9e30_3610791a9110); } @@ -240,15 +216,11 @@ pub struct IPhotoImportItem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportItemImportedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportItemImportedEventArgs { type Vtable = IPhotoImportItemImportedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhotoImportItemImportedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportItemImportedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42cb2fdd_7d68_47b5_bc7c_ceb73e0c77dc); } @@ -260,15 +232,11 @@ pub struct IPhotoImportItemImportedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportManagerStatics { type Vtable = IPhotoImportManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPhotoImportManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2771903d_a046_4f06_9b9c_bfd662e83287); } @@ -291,15 +259,11 @@ pub struct IPhotoImportManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportOperation { type Vtable = IPhotoImportOperation_Vtbl; } -impl ::core::clone::Clone for IPhotoImportOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9f797e4_a09a_4ee4_a4b1_20940277a5be); } @@ -324,15 +288,11 @@ pub struct IPhotoImportOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSelectionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSelectionChangedEventArgs { type Vtable = IPhotoImportSelectionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSelectionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSelectionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10461782_fa9d_4c30_8bc9_4d64911572d5); } @@ -344,15 +304,11 @@ pub struct IPhotoImportSelectionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSession { type Vtable = IPhotoImportSession_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa63916e_ecdb_4efe_94c6_5f5cafe34cfb); } @@ -383,15 +339,11 @@ pub struct IPhotoImportSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSession2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSession2 { type Vtable = IPhotoImportSession2_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a526710_3ec6_469d_a375_2b9f4785391e); } @@ -406,15 +358,11 @@ pub struct IPhotoImportSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSidecar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSidecar { type Vtable = IPhotoImportSidecar_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSidecar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSidecar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46d7d757_f802_44c7_9c98_7a71f4bc1486); } @@ -431,15 +379,11 @@ pub struct IPhotoImportSidecar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSource { type Vtable = IPhotoImportSource_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f8ea35e_145b_4cd6_87f1_54965a982fef); } @@ -482,15 +426,11 @@ pub struct IPhotoImportSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportSourceStatics { type Vtable = IPhotoImportSourceStatics_Vtbl; } -impl ::core::clone::Clone for IPhotoImportSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0528e586_32d8_467c_8cee_23a1b2f43e85); } @@ -509,15 +449,11 @@ pub struct IPhotoImportSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportStorageMedium(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportStorageMedium { type Vtable = IPhotoImportStorageMedium_Vtbl; } -impl ::core::clone::Clone for IPhotoImportStorageMedium { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportStorageMedium { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2b9b093_fc85_487f_87c2_58d675d05b07); } @@ -536,15 +472,11 @@ pub struct IPhotoImportStorageMedium_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoImportVideoSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhotoImportVideoSegment { type Vtable = IPhotoImportVideoSegment_Vtbl; } -impl ::core::clone::Clone for IPhotoImportVideoSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoImportVideoSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x623c0289_321a_41d8_9166_8c62a333276c); } @@ -566,6 +498,7 @@ pub struct IPhotoImportVideoSegment_Vtbl { } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportDeleteImportedItemsFromSourceResult(::windows_core::IUnknown); impl PhotoImportDeleteImportedItemsFromSourceResult { pub fn Session(&self) -> ::windows_core::Result { @@ -662,25 +595,9 @@ impl PhotoImportDeleteImportedItemsFromSourceResult { } } } -impl ::core::cmp::PartialEq for PhotoImportDeleteImportedItemsFromSourceResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportDeleteImportedItemsFromSourceResult {} -impl ::core::fmt::Debug for PhotoImportDeleteImportedItemsFromSourceResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportDeleteImportedItemsFromSourceResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportDeleteImportedItemsFromSourceResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportDeleteImportedItemsFromSourceResult;{f4e112f8-843d-428a-a1a6-81510292b0ae})"); } -impl ::core::clone::Clone for PhotoImportDeleteImportedItemsFromSourceResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportDeleteImportedItemsFromSourceResult { type Vtable = IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl; } @@ -695,6 +612,7 @@ unsafe impl ::core::marker::Send for PhotoImportDeleteImportedItemsFromSourceRes unsafe impl ::core::marker::Sync for PhotoImportDeleteImportedItemsFromSourceResult {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportFindItemsResult(::windows_core::IUnknown); impl PhotoImportFindItemsResult { pub fn Session(&self) -> ::windows_core::Result { @@ -940,25 +858,9 @@ impl PhotoImportFindItemsResult { unsafe { (::windows_core::Interface::vtable(this).AddItemsInDateRangeToSelection)(::windows_core::Interface::as_raw(this), rangestart, rangelength).ok() } } } -impl ::core::cmp::PartialEq for PhotoImportFindItemsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportFindItemsResult {} -impl ::core::fmt::Debug for PhotoImportFindItemsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportFindItemsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportFindItemsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportFindItemsResult;{3915e647-6c78-492b-844e-8fe5e8f6bfb9})"); } -impl ::core::clone::Clone for PhotoImportFindItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportFindItemsResult { type Vtable = IPhotoImportFindItemsResult_Vtbl; } @@ -973,6 +875,7 @@ unsafe impl ::core::marker::Send for PhotoImportFindItemsResult {} unsafe impl ::core::marker::Sync for PhotoImportFindItemsResult {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportImportItemsResult(::windows_core::IUnknown); impl PhotoImportImportItemsResult { pub fn Session(&self) -> ::windows_core::Result { @@ -1078,25 +981,9 @@ impl PhotoImportImportItemsResult { } } } -impl ::core::cmp::PartialEq for PhotoImportImportItemsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportImportItemsResult {} -impl ::core::fmt::Debug for PhotoImportImportItemsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportImportItemsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportImportItemsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportImportItemsResult;{e4d4f478-d419-4443-a84e-f06a850c0b00})"); } -impl ::core::clone::Clone for PhotoImportImportItemsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportImportItemsResult { type Vtable = IPhotoImportImportItemsResult_Vtbl; } @@ -1111,6 +998,7 @@ unsafe impl ::core::marker::Send for PhotoImportImportItemsResult {} unsafe impl ::core::marker::Sync for PhotoImportImportItemsResult {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportItem(::windows_core::IUnknown); impl PhotoImportItem { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1221,25 +1109,9 @@ impl PhotoImportItem { } } } -impl ::core::cmp::PartialEq for PhotoImportItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportItem {} -impl ::core::fmt::Debug for PhotoImportItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItem;{a9d07e76-9bfc-43b8-b356-633b6a988c9e})"); } -impl ::core::clone::Clone for PhotoImportItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportItem { type Vtable = IPhotoImportItem_Vtbl; } @@ -1254,6 +1126,7 @@ unsafe impl ::core::marker::Send for PhotoImportItem {} unsafe impl ::core::marker::Sync for PhotoImportItem {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportItemImportedEventArgs(::windows_core::IUnknown); impl PhotoImportItemImportedEventArgs { pub fn ImportedItem(&self) -> ::windows_core::Result { @@ -1264,25 +1137,9 @@ impl PhotoImportItemImportedEventArgs { } } } -impl ::core::cmp::PartialEq for PhotoImportItemImportedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportItemImportedEventArgs {} -impl ::core::fmt::Debug for PhotoImportItemImportedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportItemImportedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportItemImportedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportItemImportedEventArgs;{42cb2fdd-7d68-47b5-bc7c-ceb73e0c77dc})"); } -impl ::core::clone::Clone for PhotoImportItemImportedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportItemImportedEventArgs { type Vtable = IPhotoImportItemImportedEventArgs_Vtbl; } @@ -1333,6 +1190,7 @@ impl ::windows_core::RuntimeName for PhotoImportManager { } #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportOperation(::windows_core::IUnknown); impl PhotoImportOperation { pub fn Stage(&self) -> ::windows_core::Result { @@ -1377,25 +1235,9 @@ impl PhotoImportOperation { } } } -impl ::core::cmp::PartialEq for PhotoImportOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportOperation {} -impl ::core::fmt::Debug for PhotoImportOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportOperation;{d9f797e4-a09a-4ee4-a4b1-20940277a5be})"); } -impl ::core::clone::Clone for PhotoImportOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportOperation { type Vtable = IPhotoImportOperation_Vtbl; } @@ -1410,6 +1252,7 @@ unsafe impl ::core::marker::Send for PhotoImportOperation {} unsafe impl ::core::marker::Sync for PhotoImportOperation {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportSelectionChangedEventArgs(::windows_core::IUnknown); impl PhotoImportSelectionChangedEventArgs { pub fn IsSelectionEmpty(&self) -> ::windows_core::Result { @@ -1420,25 +1263,9 @@ impl PhotoImportSelectionChangedEventArgs { } } } -impl ::core::cmp::PartialEq for PhotoImportSelectionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportSelectionChangedEventArgs {} -impl ::core::fmt::Debug for PhotoImportSelectionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportSelectionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportSelectionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSelectionChangedEventArgs;{10461782-fa9d-4c30-8bc9-4d64911572d5})"); } -impl ::core::clone::Clone for PhotoImportSelectionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportSelectionChangedEventArgs { type Vtable = IPhotoImportSelectionChangedEventArgs_Vtbl; } @@ -1453,6 +1280,7 @@ unsafe impl ::core::marker::Send for PhotoImportSelectionChangedEventArgs {} unsafe impl ::core::marker::Sync for PhotoImportSelectionChangedEventArgs {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportSession(::windows_core::IUnknown); impl PhotoImportSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1558,25 +1386,9 @@ impl PhotoImportSession { } } } -impl ::core::cmp::PartialEq for PhotoImportSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportSession {} -impl ::core::fmt::Debug for PhotoImportSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSession;{aa63916e-ecdb-4efe-94c6-5f5cafe34cfb})"); } -impl ::core::clone::Clone for PhotoImportSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportSession { type Vtable = IPhotoImportSession_Vtbl; } @@ -1593,6 +1405,7 @@ unsafe impl ::core::marker::Send for PhotoImportSession {} unsafe impl ::core::marker::Sync for PhotoImportSession {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportSidecar(::windows_core::IUnknown); impl PhotoImportSidecar { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1619,25 +1432,9 @@ impl PhotoImportSidecar { } } } -impl ::core::cmp::PartialEq for PhotoImportSidecar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportSidecar {} -impl ::core::fmt::Debug for PhotoImportSidecar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportSidecar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportSidecar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSidecar;{46d7d757-f802-44c7-9c98-7a71f4bc1486})"); } -impl ::core::clone::Clone for PhotoImportSidecar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportSidecar { type Vtable = IPhotoImportSidecar_Vtbl; } @@ -1652,6 +1449,7 @@ unsafe impl ::core::marker::Send for PhotoImportSidecar {} unsafe impl ::core::marker::Sync for PhotoImportSidecar {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportSource(::windows_core::IUnknown); impl PhotoImportSource { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1808,25 +1606,9 @@ impl PhotoImportSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PhotoImportSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportSource {} -impl ::core::fmt::Debug for PhotoImportSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportSource;{1f8ea35e-145b-4cd6-87f1-54965a982fef})"); } -impl ::core::clone::Clone for PhotoImportSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportSource { type Vtable = IPhotoImportSource_Vtbl; } @@ -1841,6 +1623,7 @@ unsafe impl ::core::marker::Send for PhotoImportSource {} unsafe impl ::core::marker::Sync for PhotoImportSource {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportStorageMedium(::windows_core::IUnknown); impl PhotoImportStorageMedium { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1897,25 +1680,9 @@ impl PhotoImportStorageMedium { unsafe { (::windows_core::Interface::vtable(this).Refresh)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PhotoImportStorageMedium { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportStorageMedium {} -impl ::core::fmt::Debug for PhotoImportStorageMedium { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportStorageMedium").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportStorageMedium { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportStorageMedium;{f2b9b093-fc85-487f-87c2-58d675d05b07})"); } -impl ::core::clone::Clone for PhotoImportStorageMedium { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportStorageMedium { type Vtable = IPhotoImportStorageMedium_Vtbl; } @@ -1930,6 +1697,7 @@ unsafe impl ::core::marker::Send for PhotoImportStorageMedium {} unsafe impl ::core::marker::Sync for PhotoImportStorageMedium {} #[doc = "*Required features: `\"Media_Import\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhotoImportVideoSegment(::windows_core::IUnknown); impl PhotoImportVideoSegment { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1972,25 +1740,9 @@ impl PhotoImportVideoSegment { } } } -impl ::core::cmp::PartialEq for PhotoImportVideoSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhotoImportVideoSegment {} -impl ::core::fmt::Debug for PhotoImportVideoSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhotoImportVideoSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhotoImportVideoSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Import.PhotoImportVideoSegment;{623c0289-321a-41d8-9166-8c62a333276c})"); } -impl ::core::clone::Clone for PhotoImportVideoSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhotoImportVideoSegment { type Vtable = IPhotoImportVideoSegment_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs index 8e94282bed..3a02069e7f 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs @@ -62,7 +62,7 @@ impl IMediaEncodingProperties_Vtbl { Subtype: Subtype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index fe48b0c822..c055727444 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingProperties { type Vtable = IAudioEncodingProperties_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62bc7a16_005c_4b3b_8a0b_0a090e9687f3); } @@ -27,15 +23,11 @@ pub struct IAudioEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingProperties2 { type Vtable = IAudioEncodingProperties2_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc45d54da_80bd_4c23_80d5_72d4a181e894); } @@ -47,15 +39,11 @@ pub struct IAudioEncodingProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingProperties3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingProperties3 { type Vtable = IAudioEncodingProperties3_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingProperties3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingProperties3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87600341_748c_4f8d_b0fd_10caf08ff087); } @@ -67,15 +55,11 @@ pub struct IAudioEncodingProperties3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingPropertiesStatics { type Vtable = IAudioEncodingPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cad332c_ebe9_4527_b36d_e42a13cf38db); } @@ -91,15 +75,11 @@ pub struct IAudioEncodingPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingPropertiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingPropertiesStatics2 { type Vtable = IAudioEncodingPropertiesStatics2_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingPropertiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingPropertiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7489316f_77a0_433d_8ed5_4040280e8665); } @@ -112,15 +92,11 @@ pub struct IAudioEncodingPropertiesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEncodingPropertiesWithFormatUserData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioEncodingPropertiesWithFormatUserData { type Vtable = IAudioEncodingPropertiesWithFormatUserData_Vtbl; } -impl ::core::clone::Clone for IAudioEncodingPropertiesWithFormatUserData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEncodingPropertiesWithFormatUserData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98f10d79_13ea_49ff_be70_2673db69702c); } @@ -133,15 +109,11 @@ pub struct IAudioEncodingPropertiesWithFormatUserData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContainerEncodingProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContainerEncodingProperties { type Vtable = IContainerEncodingProperties_Vtbl; } -impl ::core::clone::Clone for IContainerEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContainerEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59ac2a57_b32a_479e_8a61_4b7f2e9e7ea0); } @@ -152,15 +124,11 @@ pub struct IContainerEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContainerEncodingProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContainerEncodingProperties2 { type Vtable = IContainerEncodingProperties2_Vtbl; } -impl ::core::clone::Clone for IContainerEncodingProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContainerEncodingProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb272c029_ae26_4819_baad_ad7a49b0a876); } @@ -172,15 +140,11 @@ pub struct IContainerEncodingProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IH264ProfileIdsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IH264ProfileIdsStatics { type Vtable = IH264ProfileIdsStatics_Vtbl; } -impl ::core::clone::Clone for IH264ProfileIdsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IH264ProfileIdsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38654ca7_846a_4f97_a2e5_c3a15bbf70fd); } @@ -201,15 +165,11 @@ pub struct IH264ProfileIdsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageEncodingProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageEncodingProperties { type Vtable = IImageEncodingProperties_Vtbl; } -impl ::core::clone::Clone for IImageEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78625635_f331_4189_b1c3_b48d5ae034f1); } @@ -224,15 +184,11 @@ pub struct IImageEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageEncodingProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageEncodingProperties2 { type Vtable = IImageEncodingProperties2_Vtbl; } -impl ::core::clone::Clone for IImageEncodingProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageEncodingProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc854a2df_c923_469b_ac8e_6a9f3c1cd9e3); } @@ -244,15 +200,11 @@ pub struct IImageEncodingProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageEncodingPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageEncodingPropertiesStatics { type Vtable = IImageEncodingPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IImageEncodingPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageEncodingPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x257c68dc_8b99_439e_aa59_913a36161297); } @@ -266,15 +218,11 @@ pub struct IImageEncodingPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageEncodingPropertiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageEncodingPropertiesStatics2 { type Vtable = IImageEncodingPropertiesStatics2_Vtbl; } -impl ::core::clone::Clone for IImageEncodingPropertiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageEncodingPropertiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6c25b29_3824_46b0_956e_501329e1be3c); } @@ -287,15 +235,11 @@ pub struct IImageEncodingPropertiesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageEncodingPropertiesStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageEncodingPropertiesStatics3 { type Vtable = IImageEncodingPropertiesStatics3_Vtbl; } -impl ::core::clone::Clone for IImageEncodingPropertiesStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageEncodingPropertiesStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48f4814d_a2ff_48dc_8ea0_e90680663656); } @@ -307,15 +251,11 @@ pub struct IImageEncodingPropertiesStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfile { type Vtable = IMediaEncodingProfile_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7dbf5a8_1db9_4783_876b_3dfe12acfdb3); } @@ -332,15 +272,11 @@ pub struct IMediaEncodingProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfile2 { type Vtable = IMediaEncodingProfile2_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x349b3e0a_4035_488e_9877_85632865ed10); } @@ -367,15 +303,11 @@ pub struct IMediaEncodingProfile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfile3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfile3 { type Vtable = IMediaEncodingProfile3_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfile3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfile3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba6ebe88_7570_4e69_accf_5611ad015f88); } @@ -394,15 +326,11 @@ pub struct IMediaEncodingProfile3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfileStatics { type Vtable = IMediaEncodingProfileStatics_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x197f352c_2ede_4a45_a896_817a4854f8fe); } @@ -426,15 +354,11 @@ pub struct IMediaEncodingProfileStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfileStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfileStatics2 { type Vtable = IMediaEncodingProfileStatics2_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfileStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfileStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce8de74f_6af4_4288_8fe2_79adf1f79a43); } @@ -447,15 +371,11 @@ pub struct IMediaEncodingProfileStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProfileStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingProfileStatics3 { type Vtable = IMediaEncodingProfileStatics3_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProfileStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProfileStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90dac5aa_cf76_4294_a9ed_1a1420f51f6b); } @@ -469,6 +389,7 @@ pub struct IMediaEncodingProfileStatics3_Vtbl { } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingProperties(::windows_core::IUnknown); impl IMediaEncodingProperties { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -500,28 +421,12 @@ impl IMediaEncodingProperties { } } ::windows_core::imp::interface_hierarchy!(IMediaEncodingProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaEncodingProperties {} -impl ::core::fmt::Debug for IMediaEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4}"); } unsafe impl ::windows_core::Interface for IMediaEncodingProperties { type Vtable = IMediaEncodingProperties_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4002af6_acd4_4e5a_a24b_5d7498a8b8c4); } @@ -539,15 +444,11 @@ pub struct IMediaEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics { type Vtable = IMediaEncodingSubtypesStatics_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b6580e_a171_4464_ba5a_53189e48c1c8); } @@ -598,15 +499,11 @@ pub struct IMediaEncodingSubtypesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics2 { type Vtable = IMediaEncodingSubtypesStatics2_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b7cd23d_42ff_4d33_8531_0626bee4b52d); } @@ -621,15 +518,11 @@ pub struct IMediaEncodingSubtypesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics3 { type Vtable = IMediaEncodingSubtypesStatics3_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba2414e4_883d_464e_a44f_097da08ef7ff); } @@ -642,15 +535,11 @@ pub struct IMediaEncodingSubtypesStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics4 { type Vtable = IMediaEncodingSubtypesStatics4_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddece58a_3949_4644_8a2c_59ef02c642fa); } @@ -662,15 +551,11 @@ pub struct IMediaEncodingSubtypesStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics5 { type Vtable = IMediaEncodingSubtypesStatics5_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ad4a007_ffce_4760_9828_5d0c99637e6a); } @@ -682,15 +567,11 @@ pub struct IMediaEncodingSubtypesStatics5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEncodingSubtypesStatics6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaEncodingSubtypesStatics6 { type Vtable = IMediaEncodingSubtypesStatics6_Vtbl; } -impl ::core::clone::Clone for IMediaEncodingSubtypesStatics6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEncodingSubtypesStatics6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1252973_a984_5912_93bb_54e7e569e053); } @@ -705,15 +586,11 @@ pub struct IMediaEncodingSubtypesStatics6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaRatio(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaRatio { type Vtable = IMediaRatio_Vtbl; } -impl ::core::clone::Clone for IMediaRatio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaRatio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2d0fee5_8929_401d_ac78_7d357e378163); } @@ -728,15 +605,11 @@ pub struct IMediaRatio_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpeg2ProfileIdsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMpeg2ProfileIdsStatics { type Vtable = IMpeg2ProfileIdsStatics_Vtbl; } -impl ::core::clone::Clone for IMpeg2ProfileIdsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpeg2ProfileIdsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa461ff85_e57a_4128_9b21_d5331b04235c); } @@ -752,15 +625,11 @@ pub struct IMpeg2ProfileIdsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataEncodingProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataEncodingProperties { type Vtable = ITimedMetadataEncodingProperties_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51cd30d3_d690_4cfa_97f4_4a398e9db420); } @@ -774,15 +643,11 @@ pub struct ITimedMetadataEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataEncodingPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataEncodingPropertiesStatics { type Vtable = ITimedMetadataEncodingPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataEncodingPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataEncodingPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6629bb67_6e55_5643_89a0_7a7e8d85b52c); } @@ -797,15 +662,11 @@ pub struct ITimedMetadataEncodingPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingProperties { type Vtable = IVideoEncodingProperties_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76ee6c9a_37c2_4f2a_880a_1282bbb4373d); } @@ -824,15 +685,11 @@ pub struct IVideoEncodingProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingProperties2 { type Vtable = IVideoEncodingProperties2_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf743a1ef_d465_4290_a94b_ef0f1528f8e3); } @@ -847,15 +704,11 @@ pub struct IVideoEncodingProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingProperties3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingProperties3 { type Vtable = IVideoEncodingProperties3_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingProperties3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingProperties3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x386bcdc4_873a_479f_b3eb_56c1fcbec6d7); } @@ -867,15 +720,11 @@ pub struct IVideoEncodingProperties3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingProperties4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingProperties4 { type Vtable = IVideoEncodingProperties4_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingProperties4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingProperties4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x724ef014_c10c_40f2_9d72_3ee13b45fa8e); } @@ -887,15 +736,11 @@ pub struct IVideoEncodingProperties4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingProperties5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingProperties5 { type Vtable = IVideoEncodingProperties5_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingProperties5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingProperties5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4959080f_272f_4ece_a4df_c0ccdb33d840); } @@ -907,15 +752,11 @@ pub struct IVideoEncodingProperties5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingPropertiesStatics { type Vtable = IVideoEncodingPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ce14d44_1dc5_43db_9f38_ebebf90152cb); } @@ -929,15 +770,11 @@ pub struct IVideoEncodingPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncodingPropertiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEncodingPropertiesStatics2 { type Vtable = IVideoEncodingPropertiesStatics2_Vtbl; } -impl ::core::clone::Clone for IVideoEncodingPropertiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncodingPropertiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf1ebd5d_49fe_4d00_b59a_cfa4dfc51944); } @@ -949,6 +786,7 @@ pub struct IVideoEncodingPropertiesStatics2_Vtbl { } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioEncodingProperties(::windows_core::IUnknown); impl AudioEncodingProperties { pub fn new() -> ::windows_core::Result { @@ -1104,25 +942,9 @@ impl AudioEncodingProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioEncodingProperties {} -impl ::core::fmt::Debug for AudioEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.AudioEncodingProperties;{62bc7a16-005c-4b3b-8a0b-0a090e9687f3})"); } -impl ::core::clone::Clone for AudioEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioEncodingProperties { type Vtable = IAudioEncodingProperties_Vtbl; } @@ -1138,6 +960,7 @@ unsafe impl ::core::marker::Send for AudioEncodingProperties {} unsafe impl ::core::marker::Sync for AudioEncodingProperties {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContainerEncodingProperties(::windows_core::IUnknown); impl ContainerEncodingProperties { pub fn new() -> ::windows_core::Result { @@ -1182,25 +1005,9 @@ impl ContainerEncodingProperties { } } } -impl ::core::cmp::PartialEq for ContainerEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContainerEncodingProperties {} -impl ::core::fmt::Debug for ContainerEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContainerEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContainerEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ContainerEncodingProperties;{59ac2a57-b32a-479e-8a61-4b7f2e9e7ea0})"); } -impl ::core::clone::Clone for ContainerEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContainerEncodingProperties { type Vtable = IContainerEncodingProperties_Vtbl; } @@ -1288,6 +1095,7 @@ impl ::windows_core::RuntimeName for H264ProfileIds { } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageEncodingProperties(::windows_core::IUnknown); impl ImageEncodingProperties { pub fn new() -> ::windows_core::Result { @@ -1405,25 +1213,9 @@ impl ImageEncodingProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ImageEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageEncodingProperties {} -impl ::core::fmt::Debug for ImageEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.ImageEncodingProperties;{78625635-f331-4189-b1c3-b48d5ae034f1})"); } -impl ::core::clone::Clone for ImageEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageEncodingProperties { type Vtable = IImageEncodingProperties_Vtbl; } @@ -1439,6 +1231,7 @@ unsafe impl ::core::marker::Send for ImageEncodingProperties {} unsafe impl ::core::marker::Sync for ImageEncodingProperties {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaEncodingProfile(::windows_core::IUnknown); impl MediaEncodingProfile { pub fn new() -> ::windows_core::Result { @@ -1642,25 +1435,9 @@ impl MediaEncodingProfile { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaEncodingProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaEncodingProfile {} -impl ::core::fmt::Debug for MediaEncodingProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaEncodingProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaEncodingProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaEncodingProfile;{e7dbf5a8-1db9-4783-876b-3dfe12acfdb3})"); } -impl ::core::clone::Clone for MediaEncodingProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaEncodingProfile { type Vtable = IMediaEncodingProfile_Vtbl; } @@ -2025,6 +1802,7 @@ impl ::windows_core::RuntimeName for MediaEncodingSubtypes { #[doc = "*Required features: `\"Media_MediaProperties\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPropertySet(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl MediaPropertySet { @@ -2106,30 +1884,10 @@ impl MediaPropertySet { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for MediaPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for MediaPropertySet {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for MediaPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for MediaPropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaPropertySet;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};g16;cinterface(IInspectable)))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for MediaPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for MediaPropertySet { type Vtable = super::super::Foundation::Collections::IMap_Vtbl<::windows_core::GUID, ::windows_core::IInspectable>; } @@ -2169,6 +1927,7 @@ unsafe impl ::core::marker::Send for MediaPropertySet {} unsafe impl ::core::marker::Sync for MediaPropertySet {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaRatio(::windows_core::IUnknown); impl MediaRatio { pub fn SetNumerator(&self, value: u32) -> ::windows_core::Result<()> { @@ -2194,25 +1953,9 @@ impl MediaRatio { } } } -impl ::core::cmp::PartialEq for MediaRatio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaRatio {} -impl ::core::fmt::Debug for MediaRatio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaRatio").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaRatio { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.MediaRatio;{d2d0fee5-8929-401d-ac78-7d357e378163})"); } -impl ::core::clone::Clone for MediaRatio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaRatio { type Vtable = IMediaRatio_Vtbl; } @@ -2269,6 +2012,7 @@ impl ::windows_core::RuntimeName for Mpeg2ProfileIds { } #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataEncodingProperties(::windows_core::IUnknown); impl TimedMetadataEncodingProperties { pub fn new() -> ::windows_core::Result { @@ -2350,25 +2094,9 @@ impl TimedMetadataEncodingProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TimedMetadataEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataEncodingProperties {} -impl ::core::fmt::Debug for TimedMetadataEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.TimedMetadataEncodingProperties;{b4002af6-acd4-4e5a-a24b-5d7498a8b8c4})"); } -impl ::core::clone::Clone for TimedMetadataEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataEncodingProperties { type Vtable = IMediaEncodingProperties_Vtbl; } @@ -2384,6 +2112,7 @@ unsafe impl ::core::marker::Send for TimedMetadataEncodingProperties {} unsafe impl ::core::marker::Sync for TimedMetadataEncodingProperties {} #[doc = "*Required features: `\"Media_MediaProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoEncodingProperties(::windows_core::IUnknown); impl VideoEncodingProperties { pub fn new() -> ::windows_core::Result { @@ -2542,25 +2271,9 @@ impl VideoEncodingProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VideoEncodingProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoEncodingProperties {} -impl ::core::fmt::Debug for VideoEncodingProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoEncodingProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoEncodingProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProperties.VideoEncodingProperties;{76ee6c9a-37c2-4f2a-880a-1282bbb4373d})"); } -impl ::core::clone::Clone for VideoEncodingProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoEncodingProperties { type Vtable = IVideoEncodingProperties_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index 91874fad29..77b4367451 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiver { type Vtable = IMiracastReceiver_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a315258_e444_51b4_aff7_b88daa1229e0); } @@ -53,15 +49,11 @@ pub struct IMiracastReceiver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverApplySettingsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverApplySettingsResult { type Vtable = IMiracastReceiverApplySettingsResult_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverApplySettingsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverApplySettingsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0aa6272_09cd_58e1_a4f2_5d5143d312f9); } @@ -74,15 +66,11 @@ pub struct IMiracastReceiverApplySettingsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverConnection { type Vtable = IMiracastReceiverConnection_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x704b2f36_d2e5_551f_a854_f822b7917d28); } @@ -109,15 +97,11 @@ pub struct IMiracastReceiverConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverConnectionCreatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverConnectionCreatedEventArgs { type Vtable = IMiracastReceiverConnectionCreatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverConnectionCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverConnectionCreatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d8dfa39_307a_5c0f_94bd_d0c69d169982); } @@ -134,15 +118,11 @@ pub struct IMiracastReceiverConnectionCreatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverCursorImageChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverCursorImageChannel { type Vtable = IMiracastReceiverCursorImageChannel_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverCursorImageChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverCursorImageChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9ac332d_723a_5a9d_b90a_81153efa2a0f); } @@ -182,15 +162,11 @@ pub struct IMiracastReceiverCursorImageChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverCursorImageChannelSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverCursorImageChannelSettings { type Vtable = IMiracastReceiverCursorImageChannelSettings_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverCursorImageChannelSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverCursorImageChannelSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccdbedff_bd00_5b9c_8e4c_00cacf86b634); } @@ -211,15 +187,11 @@ pub struct IMiracastReceiverCursorImageChannelSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverDisconnectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverDisconnectedEventArgs { type Vtable = IMiracastReceiverDisconnectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverDisconnectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9a15e5e_5fee_57e6_b4b0_04727db93229); } @@ -231,15 +203,11 @@ pub struct IMiracastReceiverDisconnectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverGameControllerDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverGameControllerDevice { type Vtable = IMiracastReceiverGameControllerDevice_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverGameControllerDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverGameControllerDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d7171e8_bed4_5118_a058_e2477eb5888d); } @@ -264,15 +232,11 @@ pub struct IMiracastReceiverGameControllerDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverInputDevices(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverInputDevices { type Vtable = IMiracastReceiverInputDevices_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverInputDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverInputDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda35bb02_28aa_5ee8_96f5_a42901c66f00); } @@ -285,15 +249,11 @@ pub struct IMiracastReceiverInputDevices_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverKeyboardDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverKeyboardDevice { type Vtable = IMiracastReceiverKeyboardDevice_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverKeyboardDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverKeyboardDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeb67272_06c0_54ff_ac96_217464ff2501); } @@ -316,15 +276,11 @@ pub struct IMiracastReceiverKeyboardDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverMediaSourceCreatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverMediaSourceCreatedEventArgs { type Vtable = IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverMediaSourceCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverMediaSourceCreatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17cf519e_1246_531d_945a_6b158e39c3aa); } @@ -345,15 +301,11 @@ pub struct IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverSession { type Vtable = IMiracastReceiverSession_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d2bcdb4_ef8b_5209_bfc9_c32116504803); } @@ -397,15 +349,11 @@ pub struct IMiracastReceiverSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverSessionStartResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverSessionStartResult { type Vtable = IMiracastReceiverSessionStartResult_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverSessionStartResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverSessionStartResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7c573ee_40ca_51ff_95f2_c9de34f2e90e); } @@ -418,15 +366,11 @@ pub struct IMiracastReceiverSessionStartResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverSettings { type Vtable = IMiracastReceiverSettings_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57cd2f24_c55a_5fbe_9464_eb05307705dd); } @@ -447,15 +391,11 @@ pub struct IMiracastReceiverSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverStatus { type Vtable = IMiracastReceiverStatus_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc28a5591_23ab_519e_ad09_90bff6dcc87e); } @@ -474,15 +414,11 @@ pub struct IMiracastReceiverStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverStreamControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverStreamControl { type Vtable = IMiracastReceiverStreamControl_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38ea2d8b_2769_5ad7_8a8a_254b9df7ba82); } @@ -505,15 +441,11 @@ pub struct IMiracastReceiverStreamControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastReceiverVideoStreamSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastReceiverVideoStreamSettings { type Vtable = IMiracastReceiverVideoStreamSettings_Vtbl; } -impl ::core::clone::Clone for IMiracastReceiverVideoStreamSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastReceiverVideoStreamSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x169b5e1b_149d_52d0_b126_6f89744e4f50); } @@ -534,15 +466,11 @@ pub struct IMiracastReceiverVideoStreamSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMiracastTransmitter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMiracastTransmitter { type Vtable = IMiracastTransmitter_Vtbl; } -impl ::core::clone::Clone for IMiracastTransmitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMiracastTransmitter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x342d79fd_2e64_5508_8a30_833d1eac70d0); } @@ -566,6 +494,7 @@ pub struct IMiracastTransmitter_Vtbl { } #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiver(::windows_core::IUnknown); impl MiracastReceiver { pub fn new() -> ::windows_core::Result { @@ -690,25 +619,9 @@ impl MiracastReceiver { unsafe { (::windows_core::Interface::vtable(this).RemoveKnownTransmitter)(::windows_core::Interface::as_raw(this), transmitter.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiver {} -impl ::core::fmt::Debug for MiracastReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiver;{7a315258-e444-51b4-aff7-b88daa1229e0})"); } -impl ::core::clone::Clone for MiracastReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiver { type Vtable = IMiracastReceiver_Vtbl; } @@ -723,6 +636,7 @@ unsafe impl ::core::marker::Send for MiracastReceiver {} unsafe impl ::core::marker::Sync for MiracastReceiver {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverApplySettingsResult(::windows_core::IUnknown); impl MiracastReceiverApplySettingsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -740,25 +654,9 @@ impl MiracastReceiverApplySettingsResult { } } } -impl ::core::cmp::PartialEq for MiracastReceiverApplySettingsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverApplySettingsResult {} -impl ::core::fmt::Debug for MiracastReceiverApplySettingsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverApplySettingsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverApplySettingsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverApplySettingsResult;{d0aa6272-09cd-58e1-a4f2-5d5143d312f9})"); } -impl ::core::clone::Clone for MiracastReceiverApplySettingsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverApplySettingsResult { type Vtable = IMiracastReceiverApplySettingsResult_Vtbl; } @@ -773,6 +671,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverApplySettingsResult {} unsafe impl ::core::marker::Sync for MiracastReceiverApplySettingsResult {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverConnection(::windows_core::IUnknown); impl MiracastReceiverConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -844,25 +743,9 @@ impl MiracastReceiverConnection { } } } -impl ::core::cmp::PartialEq for MiracastReceiverConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverConnection {} -impl ::core::fmt::Debug for MiracastReceiverConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnection;{704b2f36-d2e5-551f-a854-f822b7917d28})"); } -impl ::core::clone::Clone for MiracastReceiverConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverConnection { type Vtable = IMiracastReceiverConnection_Vtbl; } @@ -879,6 +762,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverConnection {} unsafe impl ::core::marker::Sync for MiracastReceiverConnection {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverConnectionCreatedEventArgs(::windows_core::IUnknown); impl MiracastReceiverConnectionCreatedEventArgs { pub fn Connection(&self) -> ::windows_core::Result { @@ -905,25 +789,9 @@ impl MiracastReceiverConnectionCreatedEventArgs { } } } -impl ::core::cmp::PartialEq for MiracastReceiverConnectionCreatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverConnectionCreatedEventArgs {} -impl ::core::fmt::Debug for MiracastReceiverConnectionCreatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverConnectionCreatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverConnectionCreatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverConnectionCreatedEventArgs;{7d8dfa39-307a-5c0f-94bd-d0c69d169982})"); } -impl ::core::clone::Clone for MiracastReceiverConnectionCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverConnectionCreatedEventArgs { type Vtable = IMiracastReceiverConnectionCreatedEventArgs_Vtbl; } @@ -938,6 +806,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverConnectionCreatedEventArgs unsafe impl ::core::marker::Sync for MiracastReceiverConnectionCreatedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverCursorImageChannel(::windows_core::IUnknown); impl MiracastReceiverCursorImageChannel { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1011,25 +880,9 @@ impl MiracastReceiverCursorImageChannel { unsafe { (::windows_core::Interface::vtable(this).RemovePositionChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverCursorImageChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverCursorImageChannel {} -impl ::core::fmt::Debug for MiracastReceiverCursorImageChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverCursorImageChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverCursorImageChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannel;{d9ac332d-723a-5a9d-b90a-81153efa2a0f})"); } -impl ::core::clone::Clone for MiracastReceiverCursorImageChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverCursorImageChannel { type Vtable = IMiracastReceiverCursorImageChannel_Vtbl; } @@ -1044,6 +897,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverCursorImageChannel {} unsafe impl ::core::marker::Sync for MiracastReceiverCursorImageChannel {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverCursorImageChannelSettings(::windows_core::IUnknown); impl MiracastReceiverCursorImageChannelSettings { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1073,25 +927,9 @@ impl MiracastReceiverCursorImageChannelSettings { unsafe { (::windows_core::Interface::vtable(this).SetMaxImageSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverCursorImageChannelSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverCursorImageChannelSettings {} -impl ::core::fmt::Debug for MiracastReceiverCursorImageChannelSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverCursorImageChannelSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverCursorImageChannelSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverCursorImageChannelSettings;{ccdbedff-bd00-5b9c-8e4c-00cacf86b634})"); } -impl ::core::clone::Clone for MiracastReceiverCursorImageChannelSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverCursorImageChannelSettings { type Vtable = IMiracastReceiverCursorImageChannelSettings_Vtbl; } @@ -1106,6 +944,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverCursorImageChannelSettings unsafe impl ::core::marker::Sync for MiracastReceiverCursorImageChannelSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverDisconnectedEventArgs(::windows_core::IUnknown); impl MiracastReceiverDisconnectedEventArgs { pub fn Connection(&self) -> ::windows_core::Result { @@ -1116,25 +955,9 @@ impl MiracastReceiverDisconnectedEventArgs { } } } -impl ::core::cmp::PartialEq for MiracastReceiverDisconnectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverDisconnectedEventArgs {} -impl ::core::fmt::Debug for MiracastReceiverDisconnectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverDisconnectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverDisconnectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverDisconnectedEventArgs;{d9a15e5e-5fee-57e6-b4b0-04727db93229})"); } -impl ::core::clone::Clone for MiracastReceiverDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverDisconnectedEventArgs { type Vtable = IMiracastReceiverDisconnectedEventArgs_Vtbl; } @@ -1149,6 +972,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverDisconnectedEventArgs {} unsafe impl ::core::marker::Sync for MiracastReceiverDisconnectedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverGameControllerDevice(::windows_core::IUnknown); impl MiracastReceiverGameControllerDevice { pub fn TransmitInput(&self) -> ::windows_core::Result { @@ -1206,25 +1030,9 @@ impl MiracastReceiverGameControllerDevice { unsafe { (::windows_core::Interface::vtable(this).RemoveChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverGameControllerDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverGameControllerDevice {} -impl ::core::fmt::Debug for MiracastReceiverGameControllerDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverGameControllerDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverGameControllerDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverGameControllerDevice;{2d7171e8-bed4-5118-a058-e2477eb5888d})"); } -impl ::core::clone::Clone for MiracastReceiverGameControllerDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverGameControllerDevice { type Vtable = IMiracastReceiverGameControllerDevice_Vtbl; } @@ -1239,6 +1047,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverGameControllerDevice {} unsafe impl ::core::marker::Sync for MiracastReceiverGameControllerDevice {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverInputDevices(::windows_core::IUnknown); impl MiracastReceiverInputDevices { pub fn Keyboard(&self) -> ::windows_core::Result { @@ -1256,25 +1065,9 @@ impl MiracastReceiverInputDevices { } } } -impl ::core::cmp::PartialEq for MiracastReceiverInputDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverInputDevices {} -impl ::core::fmt::Debug for MiracastReceiverInputDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverInputDevices").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverInputDevices { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverInputDevices;{da35bb02-28aa-5ee8-96f5-a42901c66f00})"); } -impl ::core::clone::Clone for MiracastReceiverInputDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverInputDevices { type Vtable = IMiracastReceiverInputDevices_Vtbl; } @@ -1289,6 +1082,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverInputDevices {} unsafe impl ::core::marker::Sync for MiracastReceiverInputDevices {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverKeyboardDevice(::windows_core::IUnknown); impl MiracastReceiverKeyboardDevice { pub fn TransmitInput(&self) -> ::windows_core::Result { @@ -1335,25 +1129,9 @@ impl MiracastReceiverKeyboardDevice { unsafe { (::windows_core::Interface::vtable(this).RemoveChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverKeyboardDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverKeyboardDevice {} -impl ::core::fmt::Debug for MiracastReceiverKeyboardDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverKeyboardDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverKeyboardDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverKeyboardDevice;{beb67272-06c0-54ff-ac96-217464ff2501})"); } -impl ::core::clone::Clone for MiracastReceiverKeyboardDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverKeyboardDevice { type Vtable = IMiracastReceiverKeyboardDevice_Vtbl; } @@ -1368,6 +1146,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverKeyboardDevice {} unsafe impl ::core::marker::Sync for MiracastReceiverKeyboardDevice {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverMediaSourceCreatedEventArgs(::windows_core::IUnknown); impl MiracastReceiverMediaSourceCreatedEventArgs { pub fn Connection(&self) -> ::windows_core::Result { @@ -1403,25 +1182,9 @@ impl MiracastReceiverMediaSourceCreatedEventArgs { } } } -impl ::core::cmp::PartialEq for MiracastReceiverMediaSourceCreatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverMediaSourceCreatedEventArgs {} -impl ::core::fmt::Debug for MiracastReceiverMediaSourceCreatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverMediaSourceCreatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverMediaSourceCreatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverMediaSourceCreatedEventArgs;{17cf519e-1246-531d-945a-6b158e39c3aa})"); } -impl ::core::clone::Clone for MiracastReceiverMediaSourceCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverMediaSourceCreatedEventArgs { type Vtable = IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl; } @@ -1436,6 +1199,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverMediaSourceCreatedEventArgs unsafe impl ::core::marker::Sync for MiracastReceiverMediaSourceCreatedEventArgs {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverSession(::windows_core::IUnknown); impl MiracastReceiverSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1537,25 +1301,9 @@ impl MiracastReceiverSession { } } } -impl ::core::cmp::PartialEq for MiracastReceiverSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverSession {} -impl ::core::fmt::Debug for MiracastReceiverSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSession;{1d2bcdb4-ef8b-5209-bfc9-c32116504803})"); } -impl ::core::clone::Clone for MiracastReceiverSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverSession { type Vtable = IMiracastReceiverSession_Vtbl; } @@ -1572,6 +1320,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverSession {} unsafe impl ::core::marker::Sync for MiracastReceiverSession {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverSessionStartResult(::windows_core::IUnknown); impl MiracastReceiverSessionStartResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1589,25 +1338,9 @@ impl MiracastReceiverSessionStartResult { } } } -impl ::core::cmp::PartialEq for MiracastReceiverSessionStartResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverSessionStartResult {} -impl ::core::fmt::Debug for MiracastReceiverSessionStartResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverSessionStartResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverSessionStartResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSessionStartResult;{b7c573ee-40ca-51ff-95f2-c9de34f2e90e})"); } -impl ::core::clone::Clone for MiracastReceiverSessionStartResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverSessionStartResult { type Vtable = IMiracastReceiverSessionStartResult_Vtbl; } @@ -1622,6 +1355,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverSessionStartResult {} unsafe impl ::core::marker::Sync for MiracastReceiverSessionStartResult {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverSettings(::windows_core::IUnknown); impl MiracastReceiverSettings { pub fn FriendlyName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1680,25 +1414,9 @@ impl MiracastReceiverSettings { unsafe { (::windows_core::Interface::vtable(this).SetRequireAuthorizationFromKnownTransmitters)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverSettings {} -impl ::core::fmt::Debug for MiracastReceiverSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverSettings;{57cd2f24-c55a-5fbe-9464-eb05307705dd})"); } -impl ::core::clone::Clone for MiracastReceiverSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverSettings { type Vtable = IMiracastReceiverSettings_Vtbl; } @@ -1713,6 +1431,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverSettings {} unsafe impl ::core::marker::Sync for MiracastReceiverSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverStatus(::windows_core::IUnknown); impl MiracastReceiverStatus { pub fn ListeningStatus(&self) -> ::windows_core::Result { @@ -1753,25 +1472,9 @@ impl MiracastReceiverStatus { } } } -impl ::core::cmp::PartialEq for MiracastReceiverStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverStatus {} -impl ::core::fmt::Debug for MiracastReceiverStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStatus;{c28a5591-23ab-519e-ad09-90bff6dcc87e})"); } -impl ::core::clone::Clone for MiracastReceiverStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverStatus { type Vtable = IMiracastReceiverStatus_Vtbl; } @@ -1786,6 +1489,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverStatus {} unsafe impl ::core::marker::Sync for MiracastReceiverStatus {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverStreamControl(::windows_core::IUnknown); impl MiracastReceiverStreamControl { pub fn GetVideoStreamSettings(&self) -> ::windows_core::Result { @@ -1835,25 +1539,9 @@ impl MiracastReceiverStreamControl { unsafe { (::windows_core::Interface::vtable(this).SetMuteAudio)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverStreamControl {} -impl ::core::fmt::Debug for MiracastReceiverStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverStreamControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverStreamControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverStreamControl;{38ea2d8b-2769-5ad7-8a8a-254b9df7ba82})"); } -impl ::core::clone::Clone for MiracastReceiverStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverStreamControl { type Vtable = IMiracastReceiverStreamControl_Vtbl; } @@ -1868,6 +1556,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverStreamControl {} unsafe impl ::core::marker::Sync for MiracastReceiverStreamControl {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastReceiverVideoStreamSettings(::windows_core::IUnknown); impl MiracastReceiverVideoStreamSettings { #[doc = "*Required features: `\"Graphics\"`*"] @@ -1897,25 +1586,9 @@ impl MiracastReceiverVideoStreamSettings { unsafe { (::windows_core::Interface::vtable(this).SetBitrate)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MiracastReceiverVideoStreamSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastReceiverVideoStreamSettings {} -impl ::core::fmt::Debug for MiracastReceiverVideoStreamSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastReceiverVideoStreamSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastReceiverVideoStreamSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastReceiverVideoStreamSettings;{169b5e1b-149d-52d0-b126-6f89744e4f50})"); } -impl ::core::clone::Clone for MiracastReceiverVideoStreamSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastReceiverVideoStreamSettings { type Vtable = IMiracastReceiverVideoStreamSettings_Vtbl; } @@ -1930,6 +1603,7 @@ unsafe impl ::core::marker::Send for MiracastReceiverVideoStreamSettings {} unsafe impl ::core::marker::Sync for MiracastReceiverVideoStreamSettings {} #[doc = "*Required features: `\"Media_Miracast\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MiracastTransmitter(::windows_core::IUnknown); impl MiracastTransmitter { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1980,25 +1654,9 @@ impl MiracastTransmitter { } } } -impl ::core::cmp::PartialEq for MiracastTransmitter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MiracastTransmitter {} -impl ::core::fmt::Debug for MiracastTransmitter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MiracastTransmitter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MiracastTransmitter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Miracast.MiracastTransmitter;{342d79fd-2e64-5508-8a30-833d1eac70d0})"); } -impl ::core::clone::Clone for MiracastTransmitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MiracastTransmitter { type Vtable = IMiracastTransmitter_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 04c4ba249c..72f48a4659 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOcrEngine(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOcrEngine { type Vtable = IOcrEngine_Vtbl; } -impl ::core::clone::Clone for IOcrEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOcrEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a14bc41_5b76_3140_b680_8825562683ac); } @@ -27,15 +23,11 @@ pub struct IOcrEngine_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOcrEngineStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOcrEngineStatics { type Vtable = IOcrEngineStatics_Vtbl; } -impl ::core::clone::Clone for IOcrEngineStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOcrEngineStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bffa85a_3384_3540_9940_699120d428a8); } @@ -60,15 +52,11 @@ pub struct IOcrEngineStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOcrLine(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOcrLine { type Vtable = IOcrLine_Vtbl; } -impl ::core::clone::Clone for IOcrLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOcrLine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0043a16f_e31f_3a24_899c_d444bd088124); } @@ -84,15 +72,11 @@ pub struct IOcrLine_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOcrResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOcrResult { type Vtable = IOcrResult_Vtbl; } -impl ::core::clone::Clone for IOcrResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOcrResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bd235b2_175b_3d6a_92e2_388c206e2f63); } @@ -112,15 +96,11 @@ pub struct IOcrResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOcrWord(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOcrWord { type Vtable = IOcrWord_Vtbl; } -impl ::core::clone::Clone for IOcrWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOcrWord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c2a477a_5cd9_3525_ba2a_23d1e0a68a1d); } @@ -136,6 +116,7 @@ pub struct IOcrWord_Vtbl { } #[doc = "*Required features: `\"Media_Ocr\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OcrEngine(::windows_core::IUnknown); impl OcrEngine { #[doc = "*Required features: `\"Foundation\"`, `\"Graphics_Imaging\"`*"] @@ -207,25 +188,9 @@ impl OcrEngine { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for OcrEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OcrEngine {} -impl ::core::fmt::Debug for OcrEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OcrEngine").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OcrEngine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrEngine;{5a14bc41-5b76-3140-b680-8825562683ac})"); } -impl ::core::clone::Clone for OcrEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OcrEngine { type Vtable = IOcrEngine_Vtbl; } @@ -240,6 +205,7 @@ unsafe impl ::core::marker::Send for OcrEngine {} unsafe impl ::core::marker::Sync for OcrEngine {} #[doc = "*Required features: `\"Media_Ocr\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OcrLine(::windows_core::IUnknown); impl OcrLine { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -259,25 +225,9 @@ impl OcrLine { } } } -impl ::core::cmp::PartialEq for OcrLine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OcrLine {} -impl ::core::fmt::Debug for OcrLine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OcrLine").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OcrLine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrLine;{0043a16f-e31f-3a24-899c-d444bd088124})"); } -impl ::core::clone::Clone for OcrLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OcrLine { type Vtable = IOcrLine_Vtbl; } @@ -292,6 +242,7 @@ unsafe impl ::core::marker::Send for OcrLine {} unsafe impl ::core::marker::Sync for OcrLine {} #[doc = "*Required features: `\"Media_Ocr\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OcrResult(::windows_core::IUnknown); impl OcrResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -320,25 +271,9 @@ impl OcrResult { } } } -impl ::core::cmp::PartialEq for OcrResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OcrResult {} -impl ::core::fmt::Debug for OcrResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OcrResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OcrResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrResult;{9bd235b2-175b-3d6a-92e2-388c206e2f63})"); } -impl ::core::clone::Clone for OcrResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OcrResult { type Vtable = IOcrResult_Vtbl; } @@ -353,6 +288,7 @@ unsafe impl ::core::marker::Send for OcrResult {} unsafe impl ::core::marker::Sync for OcrResult {} #[doc = "*Required features: `\"Media_Ocr\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OcrWord(::windows_core::IUnknown); impl OcrWord { #[doc = "*Required features: `\"Foundation\"`*"] @@ -372,25 +308,9 @@ impl OcrWord { } } } -impl ::core::cmp::PartialEq for OcrWord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OcrWord {} -impl ::core::fmt::Debug for OcrWord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OcrWord").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OcrWord { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Ocr.OcrWord;{3c2a477a-5cd9-3525-ba2a-23d1e0a68a1d})"); } -impl ::core::clone::Clone for OcrWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OcrWord { type Vtable = IOcrWord_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 24b9c60d30..900f1c725a 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentTimeChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentTimeChangeRequestedEventArgs { type Vtable = ICurrentTimeChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICurrentTimeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentTimeChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99711324_edc7_4bf5_91f6_3c8627db59e5); } @@ -23,15 +19,11 @@ pub struct ICurrentTimeChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMuteChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMuteChangeRequestedEventArgs { type Vtable = IMuteChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMuteChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMuteChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4b4f5f6_af1f_4f1e_b437_7da32400e1d4); } @@ -44,18 +36,13 @@ pub struct IMuteChangeRequestedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToConnection(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToConnection { type Vtable = IPlayToConnection_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x112fbfc8_f235_4fde_8d41_9bf27c9e9a40); } @@ -96,18 +83,13 @@ pub struct IPlayToConnection_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToConnectionErrorEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToConnectionErrorEventArgs { type Vtable = IPlayToConnectionErrorEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToConnectionErrorEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToConnectionErrorEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf5eada6_88e6_445f_9d40_d9b9f8939896); } @@ -128,18 +110,13 @@ pub struct IPlayToConnectionErrorEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToConnectionStateChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToConnectionStateChangedEventArgs { type Vtable = IPlayToConnectionStateChangedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToConnectionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToConnectionStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68c4b50f_0c20_4980_8602_58c62238d423); } @@ -160,18 +137,13 @@ pub struct IPlayToConnectionStateChangedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToConnectionTransferredEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToConnectionTransferredEventArgs { type Vtable = IPlayToConnectionTransferredEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToConnectionTransferredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToConnectionTransferredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfae3193a_0683_47d9_8df0_18cbb48984d8); } @@ -192,18 +164,13 @@ pub struct IPlayToConnectionTransferredEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToManager(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToManager { type Vtable = IPlayToManager_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf56a206e_1b77_42ef_8f0d_b949f8d9b260); } @@ -240,18 +207,13 @@ pub struct IPlayToManager_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToManagerStatics { type Vtable = IPlayToManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64e6a887_3982_4f3b_ba20_6155e435325b); } @@ -271,15 +233,11 @@ pub struct IPlayToManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToReceiver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayToReceiver { type Vtable = IPlayToReceiver_Vtbl; } -impl ::core::clone::Clone for IPlayToReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayToReceiver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac15cf47_a162_4aa6_af1b_3aa35f3b9069); } @@ -401,18 +359,13 @@ pub struct IPlayToReceiver_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSource(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSource { type Vtable = IPlayToSource_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f138a08_fbb7_4b09_8356_aa5f4e335c31); } @@ -441,18 +394,13 @@ pub struct IPlayToSource_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceDeferral(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSourceDeferral { type Vtable = IPlayToSourceDeferral_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSourceDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSourceDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4100891d_278e_4f29_859b_a9e501053e7d); } @@ -469,18 +417,13 @@ pub struct IPlayToSourceDeferral_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSourceRequest { type Vtable = IPlayToSourceRequest_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSourceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSourceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8584665_64f4_44a0_ac0d_468d2b8fda83); } @@ -509,18 +452,13 @@ pub struct IPlayToSourceRequest_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSourceRequestedEventArgs { type Vtable = IPlayToSourceRequestedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSourceRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5cdc330_29df_4ec6_9da9_9fbdfcfc1b3e); } @@ -537,18 +475,13 @@ pub struct IPlayToSourceRequestedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceSelectedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSourceSelectedEventArgs { type Vtable = IPlayToSourceSelectedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSourceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSourceSelectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c9d8511_5202_4dcb_8c67_abda12bb3c12); } @@ -581,18 +514,13 @@ pub struct IPlayToSourceSelectedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceWithPreferredSourceUri(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IPlayToSourceWithPreferredSourceUri { type Vtable = IPlayToSourceWithPreferredSourceUri_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IPlayToSourceWithPreferredSourceUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IPlayToSourceWithPreferredSourceUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaab253eb_3301_4dc4_afba_b2f2ed9635a0); } @@ -612,15 +540,11 @@ pub struct IPlayToSourceWithPreferredSourceUri_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackRateChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackRateChangeRequestedEventArgs { type Vtable = IPlaybackRateChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPlaybackRateChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackRateChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f5661ae_2c88_4cca_8540_d586095d13a5); } @@ -632,15 +556,11 @@ pub struct IPlaybackRateChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISourceChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISourceChangeRequestedEventArgs { type Vtable = ISourceChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISourceChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISourceChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb3f3a96_7aa6_4a8b_86e7_54f6c6d34f64); } @@ -676,15 +596,11 @@ pub struct ISourceChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVolumeChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVolumeChangeRequestedEventArgs { type Vtable = IVolumeChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVolumeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVolumeChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f026d5c_cf75_4c2b_913e_6d7c6c329179); } @@ -696,6 +612,7 @@ pub struct IVolumeChangeRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CurrentTimeChangeRequestedEventArgs(::windows_core::IUnknown); impl CurrentTimeChangeRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -708,25 +625,9 @@ impl CurrentTimeChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for CurrentTimeChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CurrentTimeChangeRequestedEventArgs {} -impl ::core::fmt::Debug for CurrentTimeChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CurrentTimeChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CurrentTimeChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.CurrentTimeChangeRequestedEventArgs;{99711324-edc7-4bf5-91f6-3c8627db59e5})"); } -impl ::core::clone::Clone for CurrentTimeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CurrentTimeChangeRequestedEventArgs { type Vtable = ICurrentTimeChangeRequestedEventArgs_Vtbl; } @@ -739,6 +640,7 @@ impl ::windows_core::RuntimeName for CurrentTimeChangeRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(CurrentTimeChangeRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MuteChangeRequestedEventArgs(::windows_core::IUnknown); impl MuteChangeRequestedEventArgs { pub fn Mute(&self) -> ::windows_core::Result { @@ -749,25 +651,9 @@ impl MuteChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for MuteChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MuteChangeRequestedEventArgs {} -impl ::core::fmt::Debug for MuteChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MuteChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MuteChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.MuteChangeRequestedEventArgs;{e4b4f5f6-af1f-4f1e-b437-7da32400e1d4})"); } -impl ::core::clone::Clone for MuteChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MuteChangeRequestedEventArgs { type Vtable = IMuteChangeRequestedEventArgs_Vtbl; } @@ -781,6 +667,7 @@ impl ::windows_core::RuntimeName for MuteChangeRequestedEventArgs { #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToConnection(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToConnection { @@ -849,30 +736,10 @@ impl PlayToConnection { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToConnection {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToConnection").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnection;{112fbfc8-f235-4fde-8d41-9bf27c9e9a40})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToConnection { type Vtable = IPlayToConnection_Vtbl; } @@ -893,6 +760,7 @@ unsafe impl ::core::marker::Sync for PlayToConnection {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToConnectionErrorEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToConnectionErrorEventArgs { @@ -916,30 +784,10 @@ impl PlayToConnectionErrorEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToConnectionErrorEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToConnectionErrorEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToConnectionErrorEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToConnectionErrorEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToConnectionErrorEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionErrorEventArgs;{bf5eada6-88e6-445f-9d40-d9b9f8939896})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToConnectionErrorEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToConnectionErrorEventArgs { type Vtable = IPlayToConnectionErrorEventArgs_Vtbl; } @@ -960,6 +808,7 @@ unsafe impl ::core::marker::Sync for PlayToConnectionErrorEventArgs {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToConnectionStateChangedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToConnectionStateChangedEventArgs { @@ -983,30 +832,10 @@ impl PlayToConnectionStateChangedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToConnectionStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToConnectionStateChangedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToConnectionStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToConnectionStateChangedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToConnectionStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionStateChangedEventArgs;{68c4b50f-0c20-4980-8602-58c62238d423})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToConnectionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToConnectionStateChangedEventArgs { type Vtable = IPlayToConnectionStateChangedEventArgs_Vtbl; } @@ -1027,6 +856,7 @@ unsafe impl ::core::marker::Sync for PlayToConnectionStateChangedEventArgs {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToConnectionTransferredEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToConnectionTransferredEventArgs { @@ -1050,30 +880,10 @@ impl PlayToConnectionTransferredEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToConnectionTransferredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToConnectionTransferredEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToConnectionTransferredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToConnectionTransferredEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToConnectionTransferredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToConnectionTransferredEventArgs;{fae3193a-0683-47d9-8df0-18cbb48984d8})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToConnectionTransferredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToConnectionTransferredEventArgs { type Vtable = IPlayToConnectionTransferredEventArgs_Vtbl; } @@ -1094,6 +904,7 @@ unsafe impl ::core::marker::Sync for PlayToConnectionTransferredEventArgs {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToManager(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToManager { @@ -1169,30 +980,10 @@ impl PlayToManager { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToManager {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToManager").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToManager;{f56a206e-1b77-42ef-8f0d-b949f8d9b260})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToManager { type Vtable = IPlayToManager_Vtbl; } @@ -1212,6 +1003,7 @@ unsafe impl ::core::marker::Send for PlayToManager {} unsafe impl ::core::marker::Sync for PlayToManager {} #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToReceiver(::windows_core::IUnknown); impl PlayToReceiver { pub fn new() -> ::windows_core::Result { @@ -1507,25 +1299,9 @@ impl PlayToReceiver { } } } -impl ::core::cmp::PartialEq for PlayToReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayToReceiver {} -impl ::core::fmt::Debug for PlayToReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToReceiver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayToReceiver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToReceiver;{ac15cf47-a162-4aa6-af1b-3aa35f3b9069})"); } -impl ::core::clone::Clone for PlayToReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayToReceiver { type Vtable = IPlayToReceiver_Vtbl; } @@ -1539,6 +1315,7 @@ impl ::windows_core::RuntimeName for PlayToReceiver { #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToSource(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToSource { @@ -1595,30 +1372,10 @@ impl PlayToSource { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToSource {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToSource").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSource;{7f138a08-fbb7-4b09-8356-aa5f4e335c31})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToSource { type Vtable = IPlayToSource_Vtbl; } @@ -1639,6 +1396,7 @@ unsafe impl ::core::marker::Sync for PlayToSource {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToSourceDeferral(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToSourceDeferral { @@ -1650,30 +1408,10 @@ impl PlayToSourceDeferral { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToSourceDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToSourceDeferral {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToSourceDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToSourceDeferral").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToSourceDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceDeferral;{4100891d-278e-4f29-859b-a9e501053e7d})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToSourceDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToSourceDeferral { type Vtable = IPlayToSourceDeferral_Vtbl; } @@ -1694,6 +1432,7 @@ unsafe impl ::core::marker::Sync for PlayToSourceDeferral {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToSourceRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToSourceRequest { @@ -1732,30 +1471,10 @@ impl PlayToSourceRequest { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToSourceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToSourceRequest {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToSourceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToSourceRequest").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToSourceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequest;{f8584665-64f4-44a0-ac0d-468d2b8fda83})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToSourceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToSourceRequest { type Vtable = IPlayToSourceRequest_Vtbl; } @@ -1776,6 +1495,7 @@ unsafe impl ::core::marker::Sync for PlayToSourceRequest {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToSourceRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToSourceRequestedEventArgs { @@ -1790,30 +1510,10 @@ impl PlayToSourceRequestedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToSourceRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToSourceRequestedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToSourceRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToSourceRequestedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToSourceRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceRequestedEventArgs;{c5cdc330-29df-4ec6-9da9-9fbdfcfc1b3e})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToSourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToSourceRequestedEventArgs { type Vtable = IPlayToSourceRequestedEventArgs_Vtbl; } @@ -1834,6 +1534,7 @@ unsafe impl ::core::marker::Sync for PlayToSourceRequestedEventArgs {} #[doc = "*Required features: `\"Media_PlayTo\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayToSourceSelectedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl PlayToSourceSelectedEventArgs { @@ -1884,30 +1585,10 @@ impl PlayToSourceSelectedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for PlayToSourceSelectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for PlayToSourceSelectedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for PlayToSourceSelectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayToSourceSelectedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for PlayToSourceSelectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlayToSourceSelectedEventArgs;{0c9d8511-5202-4dcb-8c67-abda12bb3c12})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for PlayToSourceSelectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for PlayToSourceSelectedEventArgs { type Vtable = IPlayToSourceSelectedEventArgs_Vtbl; } @@ -1927,6 +1608,7 @@ unsafe impl ::core::marker::Send for PlayToSourceSelectedEventArgs {} unsafe impl ::core::marker::Sync for PlayToSourceSelectedEventArgs {} #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackRateChangeRequestedEventArgs(::windows_core::IUnknown); impl PlaybackRateChangeRequestedEventArgs { pub fn Rate(&self) -> ::windows_core::Result { @@ -1937,25 +1619,9 @@ impl PlaybackRateChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PlaybackRateChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackRateChangeRequestedEventArgs {} -impl ::core::fmt::Debug for PlaybackRateChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackRateChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackRateChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.PlaybackRateChangeRequestedEventArgs;{0f5661ae-2c88-4cca-8540-d586095d13a5})"); } -impl ::core::clone::Clone for PlaybackRateChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackRateChangeRequestedEventArgs { type Vtable = IPlaybackRateChangeRequestedEventArgs_Vtbl; } @@ -1968,6 +1634,7 @@ impl ::windows_core::RuntimeName for PlaybackRateChangeRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(PlaybackRateChangeRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SourceChangeRequestedEventArgs(::windows_core::IUnknown); impl SourceChangeRequestedEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2051,25 +1718,9 @@ impl SourceChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for SourceChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SourceChangeRequestedEventArgs {} -impl ::core::fmt::Debug for SourceChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SourceChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SourceChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.SourceChangeRequestedEventArgs;{fb3f3a96-7aa6-4a8b-86e7-54f6c6d34f64})"); } -impl ::core::clone::Clone for SourceChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SourceChangeRequestedEventArgs { type Vtable = ISourceChangeRequestedEventArgs_Vtbl; } @@ -2082,6 +1733,7 @@ impl ::windows_core::RuntimeName for SourceChangeRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(SourceChangeRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_PlayTo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VolumeChangeRequestedEventArgs(::windows_core::IUnknown); impl VolumeChangeRequestedEventArgs { pub fn Volume(&self) -> ::windows_core::Result { @@ -2092,25 +1744,9 @@ impl VolumeChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for VolumeChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VolumeChangeRequestedEventArgs {} -impl ::core::fmt::Debug for VolumeChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VolumeChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VolumeChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlayTo.VolumeChangeRequestedEventArgs;{6f026d5c-cf75-4c2b-913e-6d7c6c329179})"); } -impl ::core::clone::Clone for VolumeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VolumeChangeRequestedEventArgs { type Vtable = IVolumeChangeRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Playback/impl.rs b/crates/libs/windows/src/Windows/Media/Playback/impl.rs index 7be2712439..9c7bb3e18e 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/impl.rs @@ -34,8 +34,8 @@ impl IMediaEnginePlaybackSource_Vtbl { SetPlaybackSource: SetPlaybackSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Playback\"`, `\"implement\"`*"] @@ -47,7 +47,7 @@ impl IMediaPlaybackSource_Vtbl { pub const fn new, Impl: IMediaPlaybackSource_Impl, const OFFSET: isize>() -> IMediaPlaybackSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index ecdbedb8d3..4c01cb4ae6 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundMediaPlayerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IBackgroundMediaPlayerStatics { type Vtable = IBackgroundMediaPlayerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IBackgroundMediaPlayerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IBackgroundMediaPlayerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x856ddbc1_55f7_471f_a0f2_68ac4c904592); } @@ -60,15 +55,11 @@ pub struct IBackgroundMediaPlayerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentMediaPlaybackItemChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentMediaPlaybackItemChangedEventArgs { type Vtable = ICurrentMediaPlaybackItemChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICurrentMediaPlaybackItemChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentMediaPlaybackItemChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1743a892_5c43_4a15_967a_572d2d0f26c6); } @@ -81,15 +72,11 @@ pub struct ICurrentMediaPlaybackItemChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentMediaPlaybackItemChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICurrentMediaPlaybackItemChangedEventArgs2 { type Vtable = ICurrentMediaPlaybackItemChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for ICurrentMediaPlaybackItemChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentMediaPlaybackItemChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d80a51e_996e_40a9_be48_e66ec90b2b7d); } @@ -101,15 +88,11 @@ pub struct ICurrentMediaPlaybackItemChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreak(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreak { type Vtable = IMediaBreak_Vtbl; } -impl ::core::clone::Clone for IMediaBreak { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreak { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x714be270_0def_4ebc_a489_6b34930e1558); } @@ -132,15 +115,11 @@ pub struct IMediaBreak_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakEndedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakEndedEventArgs { type Vtable = IMediaBreakEndedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaBreakEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakEndedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32b93276_1c5d_4fee_8732_236dc3a88580); } @@ -152,15 +131,11 @@ pub struct IMediaBreakEndedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakFactory { type Vtable = IMediaBreakFactory_Vtbl; } -impl ::core::clone::Clone for IMediaBreakFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4516e002_18e0_4079_8b5f_d33495c15d2e); } @@ -176,15 +151,11 @@ pub struct IMediaBreakFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakManager { type Vtable = IMediaBreakManager_Vtbl; } -impl ::core::clone::Clone for IMediaBreakManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa854ddb1_feb4_4d9b_9d97_0fdbe58e5e39); } @@ -231,15 +202,11 @@ pub struct IMediaBreakManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakSchedule(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakSchedule { type Vtable = IMediaBreakSchedule_Vtbl; } -impl ::core::clone::Clone for IMediaBreakSchedule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakSchedule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa19a5813_98b6_41d8_83da_f971d22b7bba); } @@ -269,15 +236,11 @@ pub struct IMediaBreakSchedule_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakSeekedOverEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakSeekedOverEventArgs { type Vtable = IMediaBreakSeekedOverEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaBreakSeekedOverEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakSeekedOverEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5aa6746_0606_4492_b9d3_c3c8fde0a4ea); } @@ -300,15 +263,11 @@ pub struct IMediaBreakSeekedOverEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakSkippedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakSkippedEventArgs { type Vtable = IMediaBreakSkippedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaBreakSkippedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakSkippedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ee94c05_2f54_4a3e_a3ab_24c3b270b4a3); } @@ -320,15 +279,11 @@ pub struct IMediaBreakSkippedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBreakStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaBreakStartedEventArgs { type Vtable = IMediaBreakStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaBreakStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBreakStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa87efe71_dfd4_454a_956e_0a4a648395f8); } @@ -341,6 +296,7 @@ pub struct IMediaBreakStartedEventArgs_Vtbl { #[doc = "*Required features: `\"Media_Playback\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEnginePlaybackSource(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl IMediaEnginePlaybackSource { @@ -366,20 +322,6 @@ impl IMediaEnginePlaybackSource { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(IMediaEnginePlaybackSource, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for IMediaEnginePlaybackSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for IMediaEnginePlaybackSource {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for IMediaEnginePlaybackSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaEnginePlaybackSource").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for IMediaEnginePlaybackSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5c1d0ba7-3856-48b9-8dc6-244bf107bf8c}"); } @@ -388,12 +330,6 @@ unsafe impl ::windows_core::Interface for IMediaEnginePlaybackSource { type Vtable = IMediaEnginePlaybackSource_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IMediaEnginePlaybackSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IMediaEnginePlaybackSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c1d0ba7_3856_48b9_8dc6_244bf107bf8c); } @@ -413,15 +349,11 @@ pub struct IMediaEnginePlaybackSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaItemDisplayProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaItemDisplayProperties { type Vtable = IMediaItemDisplayProperties_Vtbl; } -impl ::core::clone::Clone for IMediaItemDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaItemDisplayProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e3c1b48_7097_4384_a217_c1291dfa8c16); } @@ -445,15 +377,11 @@ pub struct IMediaItemDisplayProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManager { type Vtable = IMediaPlaybackCommandManager_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5acee5a6_5cb6_4a5a_8521_cc86b1c1ed37); } @@ -557,15 +485,11 @@ pub struct IMediaPlaybackCommandManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d6f4f23_5230_4411_a0e9_bad94c2a045c); } @@ -583,15 +507,11 @@ pub struct IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerCommandBehavior(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerCommandBehavior { type Vtable = IMediaPlaybackCommandManagerCommandBehavior_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerCommandBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerCommandBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x786c1e78_ce78_4a10_afd6_843fcbb90c2e); } @@ -614,15 +534,11 @@ pub struct IMediaPlaybackCommandManagerCommandBehavior_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerFastForwardReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerFastForwardReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerFastForwardReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerFastForwardReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30f064d9_b491_4d0a_bc21_3098bd1332e9); } @@ -639,15 +555,11 @@ pub struct IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerNextReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerNextReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerNextReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerNextReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1504433_a2b0_45d4_b9de_5f42ac14a839); } @@ -664,15 +576,11 @@ pub struct IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerPauseReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerPauseReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerPauseReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerPauseReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ceccd1c_c25c_4221_b16c_c3c98ce012d6); } @@ -689,15 +597,11 @@ pub struct IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerPlayReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerPlayReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerPlayReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerPlayReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9af0004e_578b_4c56_a006_16159d888a48); } @@ -714,15 +618,11 @@ pub struct IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerPositionReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerPositionReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerPositionReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerPositionReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5591a754_d627_4bdd_a90d_86a015b24902); } @@ -743,15 +643,11 @@ pub struct IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerPreviousReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerPreviousReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerPreviousReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerPreviousReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x525e3081_4632_4f76_99b1_d771623f6287); } @@ -768,15 +664,11 @@ pub struct IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerRateReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerRateReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerRateReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerRateReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18ea3939_4a16_4169_8b05_3eb9f5ff78eb); } @@ -794,15 +686,11 @@ pub struct IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerRewindReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerRewindReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerRewindReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerRewindReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f085947_a3c0_425d_aaef_97ba7898b141); } @@ -819,15 +707,11 @@ pub struct IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackCommandManagerShuffleReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackCommandManagerShuffleReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackCommandManagerShuffleReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackCommandManagerShuffleReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50a05cef_63ee_4a96_b7b5_fee08b9ff90c); } @@ -845,15 +729,11 @@ pub struct IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItem { type Vtable = IMediaPlaybackItem_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x047097d2_e4af_48ab_b283_6929e674ece2); } @@ -904,15 +784,11 @@ pub struct IMediaPlaybackItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItem2 { type Vtable = IMediaPlaybackItem2_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd859d171_d7ef_4b81_ac1f_f40493cbb091); } @@ -936,15 +812,11 @@ pub struct IMediaPlaybackItem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItem3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItem3 { type Vtable = IMediaPlaybackItem3_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItem3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItem3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d328220_b80a_4d09_9ff8_f87094a1c831); } @@ -960,15 +832,11 @@ pub struct IMediaPlaybackItem3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemError { type Vtable = IMediaPlaybackItemError_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69fbef2b_dcd6_4df9_a450_dbf4c6f1c2c2); } @@ -981,15 +849,11 @@ pub struct IMediaPlaybackItemError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemFactory { type Vtable = IMediaPlaybackItemFactory_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7133fce1_1769_4ff9_a7c1_38d2c4d42360); } @@ -1004,15 +868,11 @@ pub struct IMediaPlaybackItemFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemFactory2 { type Vtable = IMediaPlaybackItemFactory2_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd77cdf3a_b947_4972_b35d_adfb931a71e6); } @@ -1031,15 +891,11 @@ pub struct IMediaPlaybackItemFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemFailedEventArgs { type Vtable = IMediaPlaybackItemFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7703134a_e9a7_47c3_862c_c656d30683d4); } @@ -1052,15 +908,11 @@ pub struct IMediaPlaybackItemFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemOpenedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemOpenedEventArgs { type Vtable = IMediaPlaybackItemOpenedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemOpenedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemOpenedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbd9bd82_3037_4fbe_ae8f_39fc39edf4ef); } @@ -1072,15 +924,11 @@ pub struct IMediaPlaybackItemOpenedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackItemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackItemStatics { type Vtable = IMediaPlaybackItemStatics_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackItemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackItemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b1be7f4_4345_403c_8a67_f5de91df4c86); } @@ -1095,15 +943,11 @@ pub struct IMediaPlaybackItemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackList { type Vtable = IMediaPlaybackList_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f77ee9c_dc42_4e26_a98d_7850df8ec925); } @@ -1151,15 +995,11 @@ pub struct IMediaPlaybackList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackList2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackList2 { type Vtable = IMediaPlaybackList2_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e09b478_600a_4274_a14b_0b6723d0f48b); } @@ -1188,15 +1028,11 @@ pub struct IMediaPlaybackList2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackList3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackList3 { type Vtable = IMediaPlaybackList3_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd24bba9_bc47_4463_aa90_c18b7e5ffde1); } @@ -1215,15 +1051,11 @@ pub struct IMediaPlaybackList3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSession { type Vtable = IMediaPlaybackSession_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc32b683d_0407_41ba_8946_8b345a5a5435); } @@ -1353,15 +1185,11 @@ pub struct IMediaPlaybackSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSession2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSession2 { type Vtable = IMediaPlaybackSession2_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8ba7c79_1fc8_4097_ad70_c0fa18cc0050); } @@ -1420,15 +1248,11 @@ pub struct IMediaPlaybackSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSession3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSession3 { type Vtable = IMediaPlaybackSession3_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSession3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSession3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ba2b41a_a3e2_405f_b77b_a4812c238b66); } @@ -1448,15 +1272,11 @@ pub struct IMediaPlaybackSession3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSessionBufferingStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSessionBufferingStartedEventArgs { type Vtable = IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSessionBufferingStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSessionBufferingStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd6aafed_74e2_43b5_b115_76236c33791a); } @@ -1468,15 +1288,11 @@ pub struct IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSessionOutputDegradationPolicyState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSessionOutputDegradationPolicyState { type Vtable = IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSessionOutputDegradationPolicyState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSessionOutputDegradationPolicyState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x558e727d_f633_49f9_965a_abaa1db709be); } @@ -1488,31 +1304,16 @@ pub struct IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl { } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSource(::windows_core::IUnknown); impl IMediaPlaybackSource {} ::windows_core::imp::interface_hierarchy!(IMediaPlaybackSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaPlaybackSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaPlaybackSource {} -impl ::core::fmt::Debug for IMediaPlaybackSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaPlaybackSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaPlaybackSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ef9dc2bc-9317-4696-b051-2bad643177b5}"); } unsafe impl ::windows_core::Interface for IMediaPlaybackSource { type Vtable = IMediaPlaybackSource_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef9dc2bc_9317_4696_b051_2bad643177b5); } @@ -1523,15 +1324,11 @@ pub struct IMediaPlaybackSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackSphericalVideoProjection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackSphericalVideoProjection { type Vtable = IMediaPlaybackSphericalVideoProjection_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackSphericalVideoProjection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackSphericalVideoProjection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd405b37c_6f0e_4661_b8ee_d487ba9752d5); } @@ -1564,15 +1361,11 @@ pub struct IMediaPlaybackSphericalVideoProjection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlaybackTimedMetadataTrackList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlaybackTimedMetadataTrackList { type Vtable = IMediaPlaybackTimedMetadataTrackList_Vtbl; } -impl ::core::clone::Clone for IMediaPlaybackTimedMetadataTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlaybackTimedMetadataTrackList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72b41319_bbfb_46a3_9372_9c9c744b9438); } @@ -1593,15 +1386,11 @@ pub struct IMediaPlaybackTimedMetadataTrackList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer { type Vtable = IMediaPlayer_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x381a83cb_6fff_499b_8d64_2885dfc1249e); } @@ -1750,15 +1539,11 @@ pub struct IMediaPlayer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer2 { type Vtable = IMediaPlayer2_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c841218_2123_4fc5_9082_2f883f77bdf5); } @@ -1774,15 +1559,11 @@ pub struct IMediaPlayer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer3 { type Vtable = IMediaPlayer3_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee0660da_031b_4feb_bd9b_92e0a0a8d299); } @@ -1842,15 +1623,11 @@ pub struct IMediaPlayer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer4 { type Vtable = IMediaPlayer4_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80035db0_7448_4770_afcf_2a57450914c5); } @@ -1869,15 +1646,11 @@ pub struct IMediaPlayer4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer5 { type Vtable = IMediaPlayer5_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfe537fd_f86a_4446_bf4d_c8e792b7b4b3); } @@ -1910,15 +1683,11 @@ pub struct IMediaPlayer5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer6 { type Vtable = IMediaPlayer6_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0caa086_ae65_414c_b010_8bc55f00e692); } @@ -1945,15 +1714,11 @@ pub struct IMediaPlayer6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayer7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayer7 { type Vtable = IMediaPlayer7_Vtbl; } -impl ::core::clone::Clone for IMediaPlayer7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayer7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d1dc478_4500_4531_b3f4_777a71491f7f); } @@ -1968,15 +1733,11 @@ pub struct IMediaPlayer7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerDataReceivedEventArgs { type Vtable = IMediaPlayerDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc75a9405_c801_412a_835b_83fc0e622a8e); } @@ -1991,15 +1752,11 @@ pub struct IMediaPlayerDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerEffects(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerEffects { type Vtable = IMediaPlayerEffects_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerEffects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerEffects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85a1deda_cab6_4cc0_8be3_6035f4de2591); } @@ -2015,15 +1772,11 @@ pub struct IMediaPlayerEffects_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerEffects2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerEffects2 { type Vtable = IMediaPlayerEffects2_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerEffects2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerEffects2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa419a79_1bbe_46c5_ae1f_8ee69fb3c2c7); } @@ -2038,15 +1791,11 @@ pub struct IMediaPlayerEffects2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerFailedEventArgs { type Vtable = IMediaPlayerFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2744e9b9_a7e3_4f16_bac4_7914ebc08301); } @@ -2060,15 +1809,11 @@ pub struct IMediaPlayerFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerRateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerRateChangedEventArgs { type Vtable = IMediaPlayerRateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerRateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerRateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40600d58_3b61_4bb2_989f_fc65608b6cab); } @@ -2080,15 +1825,11 @@ pub struct IMediaPlayerRateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerSource { type Vtable = IMediaPlayerSource_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd4f8897_1423_4c3e_82c5_0fb1af94f715); } @@ -2119,15 +1860,11 @@ pub struct IMediaPlayerSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerSource2 { type Vtable = IMediaPlayerSource2_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82449b9f_7322_4c0b_b03b_3e69a48260c5); } @@ -2140,15 +1877,11 @@ pub struct IMediaPlayerSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPlayerSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaPlayerSurface { type Vtable = IMediaPlayerSurface_Vtbl; } -impl ::core::clone::Clone for IMediaPlayerSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaPlayerSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ed653bc_b736_49c3_830b_764a3845313a); } @@ -2168,15 +1901,11 @@ pub struct IMediaPlayerSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackMediaMarker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackMediaMarker { type Vtable = IPlaybackMediaMarker_Vtbl; } -impl ::core::clone::Clone for IPlaybackMediaMarker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackMediaMarker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4d22f5c_3c1c_4444_b6b9_778b0422d41a); } @@ -2193,15 +1922,11 @@ pub struct IPlaybackMediaMarker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackMediaMarkerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackMediaMarkerFactory { type Vtable = IPlaybackMediaMarkerFactory_Vtbl; } -impl ::core::clone::Clone for IPlaybackMediaMarkerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackMediaMarkerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c530a78_e0ae_4e1a_a8c8_e23f982a937b); } @@ -2220,15 +1945,11 @@ pub struct IPlaybackMediaMarkerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackMediaMarkerReachedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackMediaMarkerReachedEventArgs { type Vtable = IPlaybackMediaMarkerReachedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPlaybackMediaMarkerReachedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackMediaMarkerReachedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x578cd1b9_90e2_4e60_abc4_8740b01f6196); } @@ -2240,15 +1961,11 @@ pub struct IPlaybackMediaMarkerReachedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackMediaMarkerSequence(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackMediaMarkerSequence { type Vtable = IPlaybackMediaMarkerSequence_Vtbl; } -impl ::core::clone::Clone for IPlaybackMediaMarkerSequence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackMediaMarkerSequence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2810cee_638b_46cf_8817_1d111fe9d8c4); } @@ -2262,15 +1979,11 @@ pub struct IPlaybackMediaMarkerSequence_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimedMetadataPresentationModeChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimedMetadataPresentationModeChangedEventArgs { type Vtable = ITimedMetadataPresentationModeChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITimedMetadataPresentationModeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimedMetadataPresentationModeChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1636099_65df_45ae_8cef_dc0b53fdc2bb); } @@ -2372,6 +2085,7 @@ impl ::windows_core::RuntimeName for BackgroundMediaPlayer { } #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CurrentMediaPlaybackItemChangedEventArgs(::windows_core::IUnknown); impl CurrentMediaPlaybackItemChangedEventArgs { pub fn NewItem(&self) -> ::windows_core::Result { @@ -2396,25 +2110,9 @@ impl CurrentMediaPlaybackItemChangedEventArgs { } } } -impl ::core::cmp::PartialEq for CurrentMediaPlaybackItemChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CurrentMediaPlaybackItemChangedEventArgs {} -impl ::core::fmt::Debug for CurrentMediaPlaybackItemChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CurrentMediaPlaybackItemChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CurrentMediaPlaybackItemChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.CurrentMediaPlaybackItemChangedEventArgs;{1743a892-5c43-4a15-967a-572d2d0f26c6})"); } -impl ::core::clone::Clone for CurrentMediaPlaybackItemChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CurrentMediaPlaybackItemChangedEventArgs { type Vtable = ICurrentMediaPlaybackItemChangedEventArgs_Vtbl; } @@ -2429,6 +2127,7 @@ unsafe impl ::core::marker::Send for CurrentMediaPlaybackItemChangedEventArgs {} unsafe impl ::core::marker::Sync for CurrentMediaPlaybackItemChangedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreak(::windows_core::IUnknown); impl MediaBreak { pub fn PlaybackList(&self) -> ::windows_core::Result { @@ -2494,25 +2193,9 @@ impl MediaBreak { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaBreak { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreak {} -impl ::core::fmt::Debug for MediaBreak { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreak").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreak { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreak;{714be270-0def-4ebc-a489-6b34930e1558})"); } -impl ::core::clone::Clone for MediaBreak { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreak { type Vtable = IMediaBreak_Vtbl; } @@ -2527,6 +2210,7 @@ unsafe impl ::core::marker::Send for MediaBreak {} unsafe impl ::core::marker::Sync for MediaBreak {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakEndedEventArgs(::windows_core::IUnknown); impl MediaBreakEndedEventArgs { pub fn MediaBreak(&self) -> ::windows_core::Result { @@ -2537,25 +2221,9 @@ impl MediaBreakEndedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaBreakEndedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakEndedEventArgs {} -impl ::core::fmt::Debug for MediaBreakEndedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakEndedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakEndedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakEndedEventArgs;{32b93276-1c5d-4fee-8732-236dc3a88580})"); } -impl ::core::clone::Clone for MediaBreakEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakEndedEventArgs { type Vtable = IMediaBreakEndedEventArgs_Vtbl; } @@ -2570,6 +2238,7 @@ unsafe impl ::core::marker::Send for MediaBreakEndedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakEndedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakManager(::windows_core::IUnknown); impl MediaBreakManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2670,25 +2339,9 @@ impl MediaBreakManager { unsafe { (::windows_core::Interface::vtable(this).SkipCurrentBreak)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaBreakManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakManager {} -impl ::core::fmt::Debug for MediaBreakManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakManager;{a854ddb1-feb4-4d9b-9d97-0fdbe58e5e39})"); } -impl ::core::clone::Clone for MediaBreakManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakManager { type Vtable = IMediaBreakManager_Vtbl; } @@ -2703,6 +2356,7 @@ unsafe impl ::core::marker::Send for MediaBreakManager {} unsafe impl ::core::marker::Sync for MediaBreakManager {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakSchedule(::windows_core::IUnknown); impl MediaBreakSchedule { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2782,25 +2436,9 @@ impl MediaBreakSchedule { } } } -impl ::core::cmp::PartialEq for MediaBreakSchedule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakSchedule {} -impl ::core::fmt::Debug for MediaBreakSchedule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakSchedule").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakSchedule { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSchedule;{a19a5813-98b6-41d8-83da-f971d22b7bba})"); } -impl ::core::clone::Clone for MediaBreakSchedule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakSchedule { type Vtable = IMediaBreakSchedule_Vtbl; } @@ -2815,6 +2453,7 @@ unsafe impl ::core::marker::Send for MediaBreakSchedule {} unsafe impl ::core::marker::Sync for MediaBreakSchedule {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakSeekedOverEventArgs(::windows_core::IUnknown); impl MediaBreakSeekedOverEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2845,25 +2484,9 @@ impl MediaBreakSeekedOverEventArgs { } } } -impl ::core::cmp::PartialEq for MediaBreakSeekedOverEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakSeekedOverEventArgs {} -impl ::core::fmt::Debug for MediaBreakSeekedOverEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakSeekedOverEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakSeekedOverEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSeekedOverEventArgs;{e5aa6746-0606-4492-b9d3-c3c8fde0a4ea})"); } -impl ::core::clone::Clone for MediaBreakSeekedOverEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakSeekedOverEventArgs { type Vtable = IMediaBreakSeekedOverEventArgs_Vtbl; } @@ -2878,6 +2501,7 @@ unsafe impl ::core::marker::Send for MediaBreakSeekedOverEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakSeekedOverEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakSkippedEventArgs(::windows_core::IUnknown); impl MediaBreakSkippedEventArgs { pub fn MediaBreak(&self) -> ::windows_core::Result { @@ -2888,25 +2512,9 @@ impl MediaBreakSkippedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaBreakSkippedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakSkippedEventArgs {} -impl ::core::fmt::Debug for MediaBreakSkippedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakSkippedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakSkippedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakSkippedEventArgs;{6ee94c05-2f54-4a3e-a3ab-24c3b270b4a3})"); } -impl ::core::clone::Clone for MediaBreakSkippedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakSkippedEventArgs { type Vtable = IMediaBreakSkippedEventArgs_Vtbl; } @@ -2921,6 +2529,7 @@ unsafe impl ::core::marker::Send for MediaBreakSkippedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakSkippedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaBreakStartedEventArgs(::windows_core::IUnknown); impl MediaBreakStartedEventArgs { pub fn MediaBreak(&self) -> ::windows_core::Result { @@ -2931,25 +2540,9 @@ impl MediaBreakStartedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaBreakStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaBreakStartedEventArgs {} -impl ::core::fmt::Debug for MediaBreakStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaBreakStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaBreakStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaBreakStartedEventArgs;{a87efe71-dfd4-454a-956e-0a4a648395f8})"); } -impl ::core::clone::Clone for MediaBreakStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaBreakStartedEventArgs { type Vtable = IMediaBreakStartedEventArgs_Vtbl; } @@ -2964,6 +2557,7 @@ unsafe impl ::core::marker::Send for MediaBreakStartedEventArgs {} unsafe impl ::core::marker::Sync for MediaBreakStartedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaItemDisplayProperties(::windows_core::IUnknown); impl MediaItemDisplayProperties { pub fn Type(&self) -> ::windows_core::Result { @@ -3014,25 +2608,9 @@ impl MediaItemDisplayProperties { unsafe { (::windows_core::Interface::vtable(this).ClearAll)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MediaItemDisplayProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaItemDisplayProperties {} -impl ::core::fmt::Debug for MediaItemDisplayProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaItemDisplayProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaItemDisplayProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaItemDisplayProperties;{1e3c1b48-7097-4384-a217-c1291dfa8c16})"); } -impl ::core::clone::Clone for MediaItemDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaItemDisplayProperties { type Vtable = IMediaItemDisplayProperties_Vtbl; } @@ -3048,6 +2626,7 @@ unsafe impl ::core::marker::Sync for MediaItemDisplayProperties {} #[doc = "*Required features: `\"Media_Playback\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`*"] #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackAudioTrackList(::windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackAudioTrackList { @@ -3134,30 +2713,10 @@ impl MediaPlaybackAudioTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::PartialEq for MediaPlaybackAudioTrackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::Eq for MediaPlaybackAudioTrackList {} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::fmt::Debug for MediaPlaybackAudioTrackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackAudioTrackList").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows_core::RuntimeType for MediaPlaybackAudioTrackList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackAudioTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.AudioTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::clone::Clone for MediaPlaybackAudioTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] unsafe impl ::windows_core::Interface for MediaPlaybackAudioTrackList { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -3199,6 +2758,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackAudioTrackList {} unsafe impl ::core::marker::Sync for MediaPlaybackAudioTrackList {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManager(::windows_core::IUnknown); impl MediaPlaybackCommandManager { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -3470,25 +3030,9 @@ impl MediaPlaybackCommandManager { unsafe { (::windows_core::Interface::vtable(this).RemoveRateReceived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManager {} -impl ::core::fmt::Debug for MediaPlaybackCommandManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManager;{5acee5a6-5cb6-4a5a-8521-cc86b1c1ed37})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManager { type Vtable = IMediaPlaybackCommandManager_Vtbl; } @@ -3503,6 +3047,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManager {} unsafe impl ::core::marker::Sync for MediaPlaybackCommandManager {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3533,25 +3078,9 @@ impl MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs;{3d6f4f23-5230-4411-a0e9-bad94c2a045c})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl; } @@ -3566,6 +3095,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerAutoRepeatModeRe unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerCommandBehavior(::windows_core::IUnknown); impl MediaPlaybackCommandManagerCommandBehavior { pub fn CommandManager(&self) -> ::windows_core::Result { @@ -3612,25 +3142,9 @@ impl MediaPlaybackCommandManagerCommandBehavior { unsafe { (::windows_core::Interface::vtable(this).RemoveIsEnabledChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerCommandBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerCommandBehavior {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerCommandBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerCommandBehavior").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerCommandBehavior { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerCommandBehavior;{786c1e78-ce78-4a10-afd6-843fcbb90c2e})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerCommandBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerCommandBehavior { type Vtable = IMediaPlaybackCommandManagerCommandBehavior_Vtbl; } @@ -3645,6 +3159,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerCommandBehavior unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerCommandBehavior {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerFastForwardReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3668,25 +3183,9 @@ impl MediaPlaybackCommandManagerFastForwardReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerFastForwardReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerFastForwardReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerFastForwardReceivedEventArgs;{30f064d9-b491-4d0a-bc21-3098bd1332e9})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerFastForwardReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl; } @@ -3701,6 +3200,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerFastForwardRecei unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerFastForwardReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerNextReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerNextReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3724,25 +3224,9 @@ impl MediaPlaybackCommandManagerNextReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerNextReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerNextReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerNextReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerNextReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerNextReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerNextReceivedEventArgs;{e1504433-a2b0-45d4-b9de-5f42ac14a839})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerNextReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerNextReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl; } @@ -3757,6 +3241,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerNextReceivedEven unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerNextReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerPauseReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerPauseReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3780,25 +3265,9 @@ impl MediaPlaybackCommandManagerPauseReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerPauseReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerPauseReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerPauseReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerPauseReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerPauseReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPauseReceivedEventArgs;{5ceccd1c-c25c-4221-b16c-c3c98ce012d6})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerPauseReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerPauseReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl; } @@ -3813,6 +3282,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPauseReceivedEve unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPauseReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerPlayReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerPlayReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3836,25 +3306,9 @@ impl MediaPlaybackCommandManagerPlayReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerPlayReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerPlayReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerPlayReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerPlayReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerPlayReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPlayReceivedEventArgs;{9af0004e-578b-4c56-a006-16159d888a48})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerPlayReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerPlayReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl; } @@ -3869,6 +3323,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPlayReceivedEven unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPlayReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerPositionReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerPositionReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3901,25 +3356,9 @@ impl MediaPlaybackCommandManagerPositionReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerPositionReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerPositionReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerPositionReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerPositionReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerPositionReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPositionReceivedEventArgs;{5591a754-d627-4bdd-a90d-86a015b24902})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerPositionReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerPositionReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl; } @@ -3934,6 +3373,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPositionReceived unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPositionReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerPreviousReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -3957,25 +3397,9 @@ impl MediaPlaybackCommandManagerPreviousReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerPreviousReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerPreviousReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerPreviousReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerPreviousReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerPreviousReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerPreviousReceivedEventArgs;{525e3081-4632-4f76-99b1-d771623f6287})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerPreviousReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerPreviousReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl; } @@ -3990,6 +3414,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerPreviousReceived unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerPreviousReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerRateReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerRateReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -4020,25 +3445,9 @@ impl MediaPlaybackCommandManagerRateReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerRateReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerRateReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerRateReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerRateReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerRateReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRateReceivedEventArgs;{18ea3939-4a16-4169-8b05-3eb9f5ff78eb})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerRateReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerRateReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl; } @@ -4053,6 +3462,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerRateReceivedEven unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerRateReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerRewindReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerRewindReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -4076,25 +3486,9 @@ impl MediaPlaybackCommandManagerRewindReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerRewindReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerRewindReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerRewindReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerRewindReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerRewindReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerRewindReceivedEventArgs;{9f085947-a3c0-425d-aaef-97ba7898b141})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerRewindReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerRewindReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl; } @@ -4109,6 +3503,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerRewindReceivedEv unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerRewindReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackCommandManagerShuffleReceivedEventArgs(::windows_core::IUnknown); impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -4139,25 +3534,9 @@ impl MediaPlaybackCommandManagerShuffleReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackCommandManagerShuffleReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackCommandManagerShuffleReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackCommandManagerShuffleReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackCommandManagerShuffleReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackCommandManagerShuffleReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackCommandManagerShuffleReceivedEventArgs;{50a05cef-63ee-4a96-b7b5-fee08b9ff90c})"); } -impl ::core::clone::Clone for MediaPlaybackCommandManagerShuffleReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackCommandManagerShuffleReceivedEventArgs { type Vtable = IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl; } @@ -4172,6 +3551,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackCommandManagerShuffleReceivedE unsafe impl ::core::marker::Sync for MediaPlaybackCommandManagerShuffleReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackItem(::windows_core::IUnknown); impl MediaPlaybackItem { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4403,25 +3783,9 @@ impl MediaPlaybackItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaPlaybackItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackItem {} -impl ::core::fmt::Debug for MediaPlaybackItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItem;{047097d2-e4af-48ab-b283-6929e674ece2})"); } -impl ::core::clone::Clone for MediaPlaybackItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackItem { type Vtable = IMediaPlaybackItem_Vtbl; } @@ -4437,6 +3801,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackItem {} unsafe impl ::core::marker::Sync for MediaPlaybackItem {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackItemError(::windows_core::IUnknown); impl MediaPlaybackItemError { pub fn ErrorCode(&self) -> ::windows_core::Result { @@ -4454,25 +3819,9 @@ impl MediaPlaybackItemError { } } } -impl ::core::cmp::PartialEq for MediaPlaybackItemError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackItemError {} -impl ::core::fmt::Debug for MediaPlaybackItemError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackItemError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackItemError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemError;{69fbef2b-dcd6-4df9-a450-dbf4c6f1c2c2})"); } -impl ::core::clone::Clone for MediaPlaybackItemError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackItemError { type Vtable = IMediaPlaybackItemError_Vtbl; } @@ -4487,6 +3836,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackItemError {} unsafe impl ::core::marker::Sync for MediaPlaybackItemError {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackItemFailedEventArgs(::windows_core::IUnknown); impl MediaPlaybackItemFailedEventArgs { pub fn Item(&self) -> ::windows_core::Result { @@ -4504,25 +3854,9 @@ impl MediaPlaybackItemFailedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackItemFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackItemFailedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackItemFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackItemFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackItemFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemFailedEventArgs;{7703134a-e9a7-47c3-862c-c656d30683d4})"); } -impl ::core::clone::Clone for MediaPlaybackItemFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackItemFailedEventArgs { type Vtable = IMediaPlaybackItemFailedEventArgs_Vtbl; } @@ -4537,6 +3871,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackItemFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackItemFailedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackItemOpenedEventArgs(::windows_core::IUnknown); impl MediaPlaybackItemOpenedEventArgs { pub fn Item(&self) -> ::windows_core::Result { @@ -4547,25 +3882,9 @@ impl MediaPlaybackItemOpenedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackItemOpenedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackItemOpenedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackItemOpenedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackItemOpenedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackItemOpenedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackItemOpenedEventArgs;{cbd9bd82-3037-4fbe-ae8f-39fc39edf4ef})"); } -impl ::core::clone::Clone for MediaPlaybackItemOpenedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackItemOpenedEventArgs { type Vtable = IMediaPlaybackItemOpenedEventArgs_Vtbl; } @@ -4580,6 +3899,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackItemOpenedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlaybackItemOpenedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackList(::windows_core::IUnknown); impl MediaPlaybackList { pub fn new() -> ::windows_core::Result { @@ -4778,25 +4098,9 @@ impl MediaPlaybackList { unsafe { (::windows_core::Interface::vtable(this).SetMaxPlayedItemsToKeepOpen)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for MediaPlaybackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackList {} -impl ::core::fmt::Debug for MediaPlaybackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackList;{7f77ee9c-dc42-4e26-a98d-7850df8ec925})"); } -impl ::core::clone::Clone for MediaPlaybackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackList { type Vtable = IMediaPlaybackList_Vtbl; } @@ -4812,6 +4116,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackList {} unsafe impl ::core::marker::Sync for MediaPlaybackList {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackSession(::windows_core::IUnknown); impl MediaPlaybackSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5269,25 +4574,9 @@ impl MediaPlaybackSession { } } } -impl ::core::cmp::PartialEq for MediaPlaybackSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackSession {} -impl ::core::fmt::Debug for MediaPlaybackSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSession;{c32b683d-0407-41ba-8946-8b345a5a5435})"); } -impl ::core::clone::Clone for MediaPlaybackSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackSession { type Vtable = IMediaPlaybackSession_Vtbl; } @@ -5302,6 +4591,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackSession {} unsafe impl ::core::marker::Sync for MediaPlaybackSession {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackSessionBufferingStartedEventArgs(::windows_core::IUnknown); impl MediaPlaybackSessionBufferingStartedEventArgs { pub fn IsPlaybackInterruption(&self) -> ::windows_core::Result { @@ -5312,25 +4602,9 @@ impl MediaPlaybackSessionBufferingStartedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlaybackSessionBufferingStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackSessionBufferingStartedEventArgs {} -impl ::core::fmt::Debug for MediaPlaybackSessionBufferingStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackSessionBufferingStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackSessionBufferingStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionBufferingStartedEventArgs;{cd6aafed-74e2-43b5-b115-76236c33791a})"); } -impl ::core::clone::Clone for MediaPlaybackSessionBufferingStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackSessionBufferingStartedEventArgs { type Vtable = IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl; } @@ -5345,6 +4619,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackSessionBufferingStartedEventAr unsafe impl ::core::marker::Sync for MediaPlaybackSessionBufferingStartedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackSessionOutputDegradationPolicyState(::windows_core::IUnknown); impl MediaPlaybackSessionOutputDegradationPolicyState { pub fn VideoConstrictionReason(&self) -> ::windows_core::Result { @@ -5355,25 +4630,9 @@ impl MediaPlaybackSessionOutputDegradationPolicyState { } } } -impl ::core::cmp::PartialEq for MediaPlaybackSessionOutputDegradationPolicyState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackSessionOutputDegradationPolicyState {} -impl ::core::fmt::Debug for MediaPlaybackSessionOutputDegradationPolicyState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackSessionOutputDegradationPolicyState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackSessionOutputDegradationPolicyState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSessionOutputDegradationPolicyState;{558e727d-f633-49f9-965a-abaa1db709be})"); } -impl ::core::clone::Clone for MediaPlaybackSessionOutputDegradationPolicyState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackSessionOutputDegradationPolicyState { type Vtable = IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl; } @@ -5388,6 +4647,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackSessionOutputDegradationPolicy unsafe impl ::core::marker::Sync for MediaPlaybackSessionOutputDegradationPolicyState {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackSphericalVideoProjection(::windows_core::IUnknown); impl MediaPlaybackSphericalVideoProjection { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -5454,25 +4714,9 @@ impl MediaPlaybackSphericalVideoProjection { unsafe { (::windows_core::Interface::vtable(this).SetProjectionMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MediaPlaybackSphericalVideoProjection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlaybackSphericalVideoProjection {} -impl ::core::fmt::Debug for MediaPlaybackSphericalVideoProjection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackSphericalVideoProjection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlaybackSphericalVideoProjection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackSphericalVideoProjection;{d405b37c-6f0e-4661-b8ee-d487ba9752d5})"); } -impl ::core::clone::Clone for MediaPlaybackSphericalVideoProjection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlaybackSphericalVideoProjection { type Vtable = IMediaPlaybackSphericalVideoProjection_Vtbl; } @@ -5488,6 +4732,7 @@ unsafe impl ::core::marker::Sync for MediaPlaybackSphericalVideoProjection {} #[doc = "*Required features: `\"Media_Playback\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`*"] #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackTimedMetadataTrackList(::windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackTimedMetadataTrackList { @@ -5570,30 +4815,10 @@ impl MediaPlaybackTimedMetadataTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::PartialEq for MediaPlaybackTimedMetadataTrackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::Eq for MediaPlaybackTimedMetadataTrackList {} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::fmt::Debug for MediaPlaybackTimedMetadataTrackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackTimedMetadataTrackList").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows_core::RuntimeType for MediaPlaybackTimedMetadataTrackList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackTimedMetadataTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.TimedMetadataTrack;{9e6aed9e-f67a-49a9-b330-cf03b0e9cf07})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::clone::Clone for MediaPlaybackTimedMetadataTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] unsafe impl ::windows_core::Interface for MediaPlaybackTimedMetadataTrackList { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -5634,6 +4859,7 @@ unsafe impl ::core::marker::Sync for MediaPlaybackTimedMetadataTrackList {} #[doc = "*Required features: `\"Media_Playback\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`*"] #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlaybackVideoTrackList(::windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackVideoTrackList { @@ -5720,30 +4946,10 @@ impl MediaPlaybackVideoTrackList { } } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::PartialEq for MediaPlaybackVideoTrackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::cmp::Eq for MediaPlaybackVideoTrackList {} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::fmt::Debug for MediaPlaybackVideoTrackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlaybackVideoTrackList").field(&self.0).finish() - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl ::windows_core::RuntimeType for MediaPlaybackVideoTrackList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlaybackVideoTrackList;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Media.Core.VideoTrack;{03e1fafc-c931-491a-b46b-c10ee8c256b7})))"); } #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -impl ::core::clone::Clone for MediaPlaybackVideoTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] unsafe impl ::windows_core::Interface for MediaPlaybackVideoTrackList { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -5785,6 +4991,7 @@ unsafe impl ::core::marker::Send for MediaPlaybackVideoTrackList {} unsafe impl ::core::marker::Sync for MediaPlaybackVideoTrackList {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlayer(::windows_core::IUnknown); impl MediaPlayer { pub fn new() -> ::windows_core::Result { @@ -6525,25 +5732,9 @@ impl MediaPlayer { unsafe { (::windows_core::Interface::vtable(this).SetSource)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for MediaPlayer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlayer {} -impl ::core::fmt::Debug for MediaPlayer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlayer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlayer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayer;{381a83cb-6fff-499b-8d64-2885dfc1249e})"); } -impl ::core::clone::Clone for MediaPlayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlayer { type Vtable = IMediaPlayer_Vtbl; } @@ -6560,6 +5751,7 @@ unsafe impl ::core::marker::Send for MediaPlayer {} unsafe impl ::core::marker::Sync for MediaPlayer {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlayerDataReceivedEventArgs(::windows_core::IUnknown); impl MediaPlayerDataReceivedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -6572,25 +5764,9 @@ impl MediaPlayerDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlayerDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlayerDataReceivedEventArgs {} -impl ::core::fmt::Debug for MediaPlayerDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlayerDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlayerDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerDataReceivedEventArgs;{c75a9405-c801-412a-835b-83fc0e622a8e})"); } -impl ::core::clone::Clone for MediaPlayerDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlayerDataReceivedEventArgs { type Vtable = IMediaPlayerDataReceivedEventArgs_Vtbl; } @@ -6605,6 +5781,7 @@ unsafe impl ::core::marker::Send for MediaPlayerDataReceivedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerDataReceivedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlayerFailedEventArgs(::windows_core::IUnknown); impl MediaPlayerFailedEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -6629,25 +5806,9 @@ impl MediaPlayerFailedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlayerFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlayerFailedEventArgs {} -impl ::core::fmt::Debug for MediaPlayerFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlayerFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlayerFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerFailedEventArgs;{2744e9b9-a7e3-4f16-bac4-7914ebc08301})"); } -impl ::core::clone::Clone for MediaPlayerFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlayerFailedEventArgs { type Vtable = IMediaPlayerFailedEventArgs_Vtbl; } @@ -6662,6 +5823,7 @@ unsafe impl ::core::marker::Send for MediaPlayerFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerFailedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlayerRateChangedEventArgs(::windows_core::IUnknown); impl MediaPlayerRateChangedEventArgs { pub fn NewRate(&self) -> ::windows_core::Result { @@ -6672,25 +5834,9 @@ impl MediaPlayerRateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaPlayerRateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlayerRateChangedEventArgs {} -impl ::core::fmt::Debug for MediaPlayerRateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlayerRateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlayerRateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerRateChangedEventArgs;{40600d58-3b61-4bb2-989f-fc65608b6cab})"); } -impl ::core::clone::Clone for MediaPlayerRateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlayerRateChangedEventArgs { type Vtable = IMediaPlayerRateChangedEventArgs_Vtbl; } @@ -6705,6 +5851,7 @@ unsafe impl ::core::marker::Send for MediaPlayerRateChangedEventArgs {} unsafe impl ::core::marker::Sync for MediaPlayerRateChangedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaPlayerSurface(::windows_core::IUnknown); impl MediaPlayerSurface { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6739,25 +5886,9 @@ impl MediaPlayerSurface { } } } -impl ::core::cmp::PartialEq for MediaPlayerSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaPlayerSurface {} -impl ::core::fmt::Debug for MediaPlayerSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaPlayerSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaPlayerSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.MediaPlayerSurface;{0ed653bc-b736-49c3-830b-764a3845313a})"); } -impl ::core::clone::Clone for MediaPlayerSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaPlayerSurface { type Vtable = IMediaPlayerSurface_Vtbl; } @@ -6774,6 +5905,7 @@ unsafe impl ::core::marker::Send for MediaPlayerSurface {} unsafe impl ::core::marker::Sync for MediaPlayerSurface {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackMediaMarker(::windows_core::IUnknown); impl PlaybackMediaMarker { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6821,25 +5953,9 @@ impl PlaybackMediaMarker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PlaybackMediaMarker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackMediaMarker {} -impl ::core::fmt::Debug for PlaybackMediaMarker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackMediaMarker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackMediaMarker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarker;{c4d22f5c-3c1c-4444-b6b9-778b0422d41a})"); } -impl ::core::clone::Clone for PlaybackMediaMarker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackMediaMarker { type Vtable = IPlaybackMediaMarker_Vtbl; } @@ -6854,6 +5970,7 @@ unsafe impl ::core::marker::Send for PlaybackMediaMarker {} unsafe impl ::core::marker::Sync for PlaybackMediaMarker {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackMediaMarkerReachedEventArgs(::windows_core::IUnknown); impl PlaybackMediaMarkerReachedEventArgs { pub fn PlaybackMediaMarker(&self) -> ::windows_core::Result { @@ -6864,25 +5981,9 @@ impl PlaybackMediaMarkerReachedEventArgs { } } } -impl ::core::cmp::PartialEq for PlaybackMediaMarkerReachedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackMediaMarkerReachedEventArgs {} -impl ::core::fmt::Debug for PlaybackMediaMarkerReachedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackMediaMarkerReachedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackMediaMarkerReachedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs;{578cd1b9-90e2-4e60-abc4-8740b01f6196})"); } -impl ::core::clone::Clone for PlaybackMediaMarkerReachedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackMediaMarkerReachedEventArgs { type Vtable = IPlaybackMediaMarkerReachedEventArgs_Vtbl; } @@ -6897,6 +5998,7 @@ unsafe impl ::core::marker::Send for PlaybackMediaMarkerReachedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackMediaMarkerReachedEventArgs {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackMediaMarkerSequence(::windows_core::IUnknown); impl PlaybackMediaMarkerSequence { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -6927,25 +6029,9 @@ impl PlaybackMediaMarkerSequence { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PlaybackMediaMarkerSequence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackMediaMarkerSequence {} -impl ::core::fmt::Debug for PlaybackMediaMarkerSequence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackMediaMarkerSequence").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackMediaMarkerSequence { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.PlaybackMediaMarkerSequence;{f2810cee-638b-46cf-8817-1d111fe9d8c4})"); } -impl ::core::clone::Clone for PlaybackMediaMarkerSequence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackMediaMarkerSequence { type Vtable = IPlaybackMediaMarkerSequence_Vtbl; } @@ -6978,6 +6064,7 @@ unsafe impl ::core::marker::Send for PlaybackMediaMarkerSequence {} unsafe impl ::core::marker::Sync for PlaybackMediaMarkerSequence {} #[doc = "*Required features: `\"Media_Playback\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimedMetadataPresentationModeChangedEventArgs(::windows_core::IUnknown); impl TimedMetadataPresentationModeChangedEventArgs { #[doc = "*Required features: `\"Media_Core\"`*"] @@ -7004,25 +6091,9 @@ impl TimedMetadataPresentationModeChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TimedMetadataPresentationModeChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimedMetadataPresentationModeChangedEventArgs {} -impl ::core::fmt::Debug for TimedMetadataPresentationModeChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimedMetadataPresentationModeChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TimedMetadataPresentationModeChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playback.TimedMetadataPresentationModeChangedEventArgs;{d1636099-65df-45ae-8cef-dc0b53fdc2bb})"); } -impl ::core::clone::Clone for TimedMetadataPresentationModeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TimedMetadataPresentationModeChangedEventArgs { type Vtable = ITimedMetadataPresentationModeChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index 2da214dc60..294be3ada5 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaylist(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaylist { type Vtable = IPlaylist_Vtbl; } -impl ::core::clone::Clone for IPlaylist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaylist { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x803736f5_cf44_4d97_83b3_7a089e9ab663); } @@ -35,15 +31,11 @@ pub struct IPlaylist_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaylistStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaylistStatics { type Vtable = IPlaylistStatics_Vtbl; } -impl ::core::clone::Clone for IPlaylistStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaylistStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5c331cd_81f9_4ff3_95b9_70b6ff046b68); } @@ -58,6 +50,7 @@ pub struct IPlaylistStatics_Vtbl { } #[doc = "*Required features: `\"Media_Playlists\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Playlist(::windows_core::IUnknown); impl Playlist { pub fn new() -> ::windows_core::Result { @@ -126,25 +119,9 @@ impl Playlist { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Playlist { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Playlist {} -impl ::core::fmt::Debug for Playlist { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Playlist").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Playlist { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Playlists.Playlist;{803736f5-cf44-4d97-83b3-7a089e9ab663})"); } -impl ::core::clone::Clone for Playlist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Playlist { type Vtable = IPlaylist_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs index ba0258154f..d85fed4f48 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs @@ -54,8 +54,8 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { ClosedCaptionData: ClosedCaptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl INDCustomData_Vtbl { CustomData: CustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl INDDownloadEngine_Vtbl { Notifier: Notifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -271,8 +271,8 @@ impl INDDownloadEngineNotifier_Vtbl { OnNetworkError: OnNetworkError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -304,8 +304,8 @@ impl INDLicenseFetchCompletedEventArgs_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl INDLicenseFetchDescriptor_Vtbl { SetLicenseFetchChallengeCustomData: SetLicenseFetchChallengeCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -405,8 +405,8 @@ impl INDLicenseFetchResult_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -480,8 +480,8 @@ impl INDMessenger_Vtbl { SendLicenseFetchRequestAsync: SendLicenseFetchRequestAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -512,8 +512,8 @@ impl INDProximityDetectionCompletedEventArgs_Vtbl { ProximityDetectionRetryCount: ProximityDetectionRetryCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl INDRegistrationCompletedEventArgs_Vtbl { SetTransmitterCertificateAccepted: SetTransmitterCertificateAccepted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl INDSendResult_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Response: Response:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl INDStartResult_Vtbl { MediaStreamSource: MediaStreamSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl INDStorageFileHelper_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetFileURLs: GetFileURLs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -740,8 +740,8 @@ impl INDStreamParser_Vtbl { Notifier: Notifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -787,8 +787,8 @@ impl INDStreamParserNotifier_Vtbl { OnBeginSetupDecryptor: OnBeginSetupDecryptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -958,8 +958,8 @@ impl INDTransmitterProperties_Vtbl { ModelNumber: ModelNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1044,8 +1044,8 @@ impl IPlayReadyDomain_Vtbl { DomainJoinUrl: DomainJoinUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1155,8 +1155,8 @@ impl IPlayReadyLicense_Vtbl { GetKIDAtChainDepth: GetKIDAtChainDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1215,8 +1215,8 @@ impl IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { SetDomainServiceId: SetDomainServiceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"implement\"`*"] @@ -1252,8 +1252,8 @@ impl IPlayReadyLicenseSession_Vtbl { ConfigureMediaProtectionManager: ConfigureMediaProtectionManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IPlayReadyLicenseSession2_Vtbl { CreateLicenseIterable: CreateLicenseIterable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { PublisherCertificate: PublisherCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1501,7 +1501,7 @@ impl IPlayReadyServiceRequest_Vtbl { ProcessManualEnablingResponse: ProcessManualEnablingResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 7182757687..5c4417e130 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDClient(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for INDClient { type Vtable = INDClient_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bd6781b_61b8_46e2_99a5_8abcb6b9f7d6); } @@ -81,18 +76,13 @@ pub struct INDClient_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDClientFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for INDClientFactory { type Vtable = INDClientFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDClientFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDClientFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e53dd62_fee8_451f_b0d4_f706cca3e037); } @@ -109,6 +99,7 @@ pub struct INDClientFactory_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDClosedCaptionDataReceivedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDClosedCaptionDataReceivedEventArgs { @@ -143,20 +134,6 @@ impl INDClosedCaptionDataReceivedEventArgs { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDClosedCaptionDataReceivedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDClosedCaptionDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDClosedCaptionDataReceivedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDClosedCaptionDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDClosedCaptionDataReceivedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDClosedCaptionDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4738d29f-c345-4649-8468-b8c5fc357190}"); } @@ -165,12 +142,6 @@ unsafe impl ::windows_core::Interface for INDClosedCaptionDataReceivedEventArgs type Vtable = INDClosedCaptionDataReceivedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDClosedCaptionDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDClosedCaptionDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4738d29f_c345_4649_8468_b8c5fc357190); } @@ -195,6 +166,7 @@ pub struct INDClosedCaptionDataReceivedEventArgs_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDCustomData(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDCustomData { @@ -220,20 +192,6 @@ impl INDCustomData { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDCustomData, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDCustomData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDCustomData {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDCustomData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDCustomData").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDCustomData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267}"); } @@ -242,12 +200,6 @@ unsafe impl ::windows_core::Interface for INDCustomData { type Vtable = INDCustomData_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDCustomData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDCustomData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5cb0fdc_2d09_4f19_b5e1_76a0b3ee9267); } @@ -268,18 +220,13 @@ pub struct INDCustomData_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDCustomDataFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for INDCustomDataFactory { type Vtable = INDCustomDataFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDCustomDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDCustomDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd65405ab_3424_4833_8c9a_af5fdeb22872); } @@ -296,6 +243,7 @@ pub struct INDCustomDataFactory_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDDownloadEngine(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDDownloadEngine { @@ -372,20 +320,6 @@ impl INDDownloadEngine { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDDownloadEngine, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDDownloadEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDDownloadEngine {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDDownloadEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDDownloadEngine").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDDownloadEngine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2d223d65-c4b6-4438-8d46-b96e6d0fb21f}"); } @@ -394,12 +328,6 @@ unsafe impl ::windows_core::Interface for INDDownloadEngine { type Vtable = INDDownloadEngine_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDDownloadEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDDownloadEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d223d65_c4b6_4438_8d46_b96e6d0fb21f); } @@ -448,6 +376,7 @@ pub struct INDDownloadEngine_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDDownloadEngineNotifier(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDDownloadEngineNotifier { @@ -494,20 +423,6 @@ impl INDDownloadEngineNotifier { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDDownloadEngineNotifier, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDDownloadEngineNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDDownloadEngineNotifier {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDDownloadEngineNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDDownloadEngineNotifier").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDDownloadEngineNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d720b4d4-f4b8-4530-a809-9193a571e7fc}"); } @@ -516,12 +431,6 @@ unsafe impl ::windows_core::Interface for INDDownloadEngineNotifier { type Vtable = INDDownloadEngineNotifier_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDDownloadEngineNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDDownloadEngineNotifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd720b4d4_f4b8_4530_a809_9193a571e7fc); } @@ -558,6 +467,7 @@ pub struct INDDownloadEngineNotifier_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDLicenseFetchCompletedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDLicenseFetchCompletedEventArgs { @@ -574,20 +484,6 @@ impl INDLicenseFetchCompletedEventArgs { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDLicenseFetchCompletedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDLicenseFetchCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDLicenseFetchCompletedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDLicenseFetchCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDLicenseFetchCompletedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDLicenseFetchCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1ee30a1a-11b2-4558-8865-e3a516922517}"); } @@ -596,12 +492,6 @@ unsafe impl ::windows_core::Interface for INDLicenseFetchCompletedEventArgs { type Vtable = INDLicenseFetchCompletedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDLicenseFetchCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDLicenseFetchCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ee30a1a_11b2_4558_8865_e3a516922517); } @@ -618,6 +508,7 @@ pub struct INDLicenseFetchCompletedEventArgs_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDLicenseFetchDescriptor(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDLicenseFetchDescriptor { @@ -661,20 +552,6 @@ impl INDLicenseFetchDescriptor { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDLicenseFetchDescriptor, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDLicenseFetchDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDLicenseFetchDescriptor {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDLicenseFetchDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDLicenseFetchDescriptor").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDLicenseFetchDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5498d33a-e686-4935-a567-7ca77ad20fa4}"); } @@ -683,12 +560,6 @@ unsafe impl ::windows_core::Interface for INDLicenseFetchDescriptor { type Vtable = INDLicenseFetchDescriptor_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDLicenseFetchDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDLicenseFetchDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5498d33a_e686_4935_a567_7ca77ad20fa4); } @@ -717,18 +588,13 @@ pub struct INDLicenseFetchDescriptor_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDLicenseFetchDescriptorFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for INDLicenseFetchDescriptorFactory { type Vtable = INDLicenseFetchDescriptorFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDLicenseFetchDescriptorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDLicenseFetchDescriptorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0031202_cfac_4f00_ae6a_97af80b848f2); } @@ -745,6 +611,7 @@ pub struct INDLicenseFetchDescriptorFactory_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDLicenseFetchResult(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDLicenseFetchResult { @@ -761,20 +628,6 @@ impl INDLicenseFetchResult { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDLicenseFetchResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDLicenseFetchResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDLicenseFetchResult {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDLicenseFetchResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDLicenseFetchResult").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDLicenseFetchResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{21d39698-aa62-45ff-a5ff-8037e5433825}"); } @@ -783,12 +636,6 @@ unsafe impl ::windows_core::Interface for INDLicenseFetchResult { type Vtable = INDLicenseFetchResult_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDLicenseFetchResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDLicenseFetchResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21d39698_aa62_45ff_a5ff_8037e5433825); } @@ -805,6 +652,7 @@ pub struct INDLicenseFetchResult_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDMessenger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDMessenger { @@ -848,20 +696,6 @@ impl INDMessenger { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDMessenger, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDMessenger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDMessenger {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDMessenger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDMessenger").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDMessenger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d42df95d-a75b-47bf-8249-bc83820da38a}"); } @@ -870,12 +704,6 @@ unsafe impl ::windows_core::Interface for INDMessenger { type Vtable = INDMessenger_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDMessenger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDMessenger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd42df95d_a75b_47bf_8249_bc83820da38a); } @@ -904,6 +732,7 @@ pub struct INDMessenger_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDProximityDetectionCompletedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDProximityDetectionCompletedEventArgs { @@ -920,20 +749,6 @@ impl INDProximityDetectionCompletedEventArgs { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDProximityDetectionCompletedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDProximityDetectionCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDProximityDetectionCompletedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDProximityDetectionCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDProximityDetectionCompletedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDProximityDetectionCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2a706328-da25-4f8c-9eb7-5d0fc3658bca}"); } @@ -942,12 +757,6 @@ unsafe impl ::windows_core::Interface for INDProximityDetectionCompletedEventArg type Vtable = INDProximityDetectionCompletedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDProximityDetectionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDProximityDetectionCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a706328_da25_4f8c_9eb7_5d0fc3658bca); } @@ -964,6 +773,7 @@ pub struct INDProximityDetectionCompletedEventArgs_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDRegistrationCompletedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDRegistrationCompletedEventArgs { @@ -1004,20 +814,6 @@ impl INDRegistrationCompletedEventArgs { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDRegistrationCompletedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDRegistrationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDRegistrationCompletedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDRegistrationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDRegistrationCompletedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDRegistrationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9e39b64d-ab5b-4905-acdc-787a77c6374d}"); } @@ -1026,12 +822,6 @@ unsafe impl ::windows_core::Interface for INDRegistrationCompletedEventArgs { type Vtable = INDRegistrationCompletedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDRegistrationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDRegistrationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e39b64d_ab5b_4905_acdc_787a77c6374d); } @@ -1060,6 +850,7 @@ pub struct INDRegistrationCompletedEventArgs_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDSendResult(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDSendResult { @@ -1076,20 +867,6 @@ impl INDSendResult { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDSendResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDSendResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDSendResult {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDSendResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDSendResult").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDSendResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e3685517-a584-479d-90b7-d689c7bf7c80}"); } @@ -1098,12 +875,6 @@ unsafe impl ::windows_core::Interface for INDSendResult { type Vtable = INDSendResult_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDSendResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDSendResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3685517_a584_479d_90b7_d689c7bf7c80); } @@ -1120,6 +891,7 @@ pub struct INDSendResult_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDStartResult(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDStartResult { @@ -1136,20 +908,6 @@ impl INDStartResult { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDStartResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDStartResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDStartResult {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDStartResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDStartResult").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDStartResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{79f6e96e-f50f-4015-8ba4-c2bc344ebd4e}"); } @@ -1158,12 +916,6 @@ unsafe impl ::windows_core::Interface for INDStartResult { type Vtable = INDStartResult_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDStartResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDStartResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79f6e96e_f50f_4015_8ba4_c2bc344ebd4e); } @@ -1180,6 +932,7 @@ pub struct INDStartResult_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDStorageFileHelper(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDStorageFileHelper { @@ -1199,20 +952,6 @@ impl INDStorageFileHelper { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDStorageFileHelper, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDStorageFileHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDStorageFileHelper {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDStorageFileHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDStorageFileHelper").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDStorageFileHelper { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f}"); } @@ -1221,12 +960,6 @@ unsafe impl ::windows_core::Interface for INDStorageFileHelper { type Vtable = INDStorageFileHelper_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDStorageFileHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDStorageFileHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8f0bef8_91d2_4d47_a3f9_eaff4edb729f); } @@ -1243,6 +976,7 @@ pub struct INDStorageFileHelper_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDStreamParser(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDStreamParser { @@ -1289,20 +1023,6 @@ impl INDStreamParser { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDStreamParser, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDStreamParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDStreamParser {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDStreamParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDStreamParser").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDStreamParser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e0baa198-9796-41c9-8695-59437e67e66a}"); } @@ -1311,12 +1031,6 @@ unsafe impl ::windows_core::Interface for INDStreamParser { type Vtable = INDStreamParser_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDStreamParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDStreamParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0baa198_9796_41c9_8695_59437e67e66a); } @@ -1349,6 +1063,7 @@ pub struct INDStreamParser_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDStreamParserNotifier(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDStreamParserNotifier { @@ -1393,20 +1108,6 @@ impl INDStreamParserNotifier { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDStreamParserNotifier, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDStreamParserNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDStreamParserNotifier {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDStreamParserNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDStreamParserNotifier").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDStreamParserNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c167acd0-2ce6-426c-ace5-5e9275fea715}"); } @@ -1415,12 +1116,6 @@ unsafe impl ::windows_core::Interface for INDStreamParserNotifier { type Vtable = INDStreamParserNotifier_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDStreamParserNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDStreamParserNotifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc167acd0_2ce6_426c_ace5_5e9275fea715); } @@ -1449,18 +1144,13 @@ pub struct INDStreamParserNotifier_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDTCPMessengerFactory(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for INDTCPMessengerFactory { type Vtable = INDTCPMessengerFactory_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDTCPMessengerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDTCPMessengerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dd85cfe_1b99_4f68_8f82_8177f7cedf2b); } @@ -1477,6 +1167,7 @@ pub struct INDTCPMessengerFactory_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDTransmitterProperties(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl INDTransmitterProperties { @@ -1583,20 +1274,6 @@ impl INDTransmitterProperties { #[cfg(feature = "deprecated")] ::windows_core::imp::interface_hierarchy!(INDTransmitterProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for INDTransmitterProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for INDTransmitterProperties {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for INDTransmitterProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDTransmitterProperties").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for INDTransmitterProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e536af23-ac4f-4adc-8c66-4ff7c2702dd6}"); } @@ -1605,12 +1282,6 @@ unsafe impl ::windows_core::Interface for INDTransmitterProperties { type Vtable = INDTransmitterProperties_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for INDTransmitterProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for INDTransmitterProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe536af23_ac4f_4adc_8c66_4ff7c2702dd6); } @@ -1666,15 +1337,11 @@ pub struct INDTransmitterProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyContentHeader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyContentHeader { type Vtable = IPlayReadyContentHeader_Vtbl; } -impl ::core::clone::Clone for IPlayReadyContentHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyContentHeader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a438a6a_7f4c_452e_88bd_0148c6387a2c); } @@ -1701,15 +1368,11 @@ pub struct IPlayReadyContentHeader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyContentHeader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyContentHeader2 { type Vtable = IPlayReadyContentHeader2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyContentHeader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyContentHeader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x359c79f4_2180_498c_965b_e754d875eab2); } @@ -1722,15 +1385,11 @@ pub struct IPlayReadyContentHeader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyContentHeaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyContentHeaderFactory { type Vtable = IPlayReadyContentHeaderFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadyContentHeaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyContentHeaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb97c8ff_b758_4776_bf01_217a8b510b2c); } @@ -1750,15 +1409,11 @@ pub struct IPlayReadyContentHeaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyContentHeaderFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyContentHeaderFactory2 { type Vtable = IPlayReadyContentHeaderFactory2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyContentHeaderFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyContentHeaderFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1239cf5_ae6d_4778_97fd_6e3a2eeadbeb); } @@ -1773,15 +1428,11 @@ pub struct IPlayReadyContentHeaderFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyContentResolver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyContentResolver { type Vtable = IPlayReadyContentResolver_Vtbl; } -impl ::core::clone::Clone for IPlayReadyContentResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyContentResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbfd2523_906d_4982_a6b8_6849565a7ce8); } @@ -1793,6 +1444,7 @@ pub struct IPlayReadyContentResolver_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyDomain(::windows_core::IUnknown); impl IPlayReadyDomain { pub fn AccountId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -1834,28 +1486,12 @@ impl IPlayReadyDomain { } } ::windows_core::imp::interface_hierarchy!(IPlayReadyDomain, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPlayReadyDomain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyDomain {} -impl ::core::fmt::Debug for IPlayReadyDomain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyDomain").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyDomain { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}"); } unsafe impl ::windows_core::Interface for IPlayReadyDomain { type Vtable = IPlayReadyDomain_Vtbl; } -impl ::core::clone::Clone for IPlayReadyDomain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyDomain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadcc93ac_97e6_43ef_95e4_d7868f3b16a9); } @@ -1874,15 +1510,11 @@ pub struct IPlayReadyDomain_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyDomainIterableFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyDomainIterableFactory { type Vtable = IPlayReadyDomainIterableFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadyDomainIterableFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyDomainIterableFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4df384ee_3121_4df3_a5e8_d0c24c0500fc); } @@ -1897,15 +1529,11 @@ pub struct IPlayReadyDomainIterableFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyDomainJoinServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyDomainJoinServiceRequest { type Vtable = IPlayReadyDomainJoinServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyDomainJoinServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyDomainJoinServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x171b4a5a_405f_4739_b040_67b9f0c38758); } @@ -1922,15 +1550,11 @@ pub struct IPlayReadyDomainJoinServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyDomainLeaveServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyDomainLeaveServiceRequest { type Vtable = IPlayReadyDomainLeaveServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyDomainLeaveServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyDomainLeaveServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x062d58be_97ad_4917_aa03_46d4c252d464); } @@ -1945,15 +1569,11 @@ pub struct IPlayReadyDomainLeaveServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyITADataGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyITADataGenerator { type Vtable = IPlayReadyITADataGenerator_Vtbl; } -impl ::core::clone::Clone for IPlayReadyITADataGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyITADataGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24446b8e_10b9_4530_b25b_901a8029a9b2); } @@ -1968,15 +1588,11 @@ pub struct IPlayReadyITADataGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyIndividualizationServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyIndividualizationServiceRequest { type Vtable = IPlayReadyIndividualizationServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyIndividualizationServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyIndividualizationServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21f5a86b_008c_4611_ab2f_aaa6c69f0e24); } @@ -1987,6 +1603,7 @@ pub struct IPlayReadyIndividualizationServiceRequest_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicense(::windows_core::IUnknown); impl IPlayReadyLicense { pub fn FullyEvaluated(&self) -> ::windows_core::Result { @@ -2042,28 +1659,12 @@ impl IPlayReadyLicense { } } ::windows_core::imp::interface_hierarchy!(IPlayReadyLicense, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPlayReadyLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyLicense {} -impl ::core::fmt::Debug for IPlayReadyLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}"); } unsafe impl ::windows_core::Interface for IPlayReadyLicense { type Vtable = IPlayReadyLicense_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicense { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee474c4e_fa3c_414d_a9f2_3ffc1ef832d4); } @@ -2084,15 +1685,11 @@ pub struct IPlayReadyLicense_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicense2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicense2 { type Vtable = IPlayReadyLicense2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicense2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicense2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30f4e7a7_d8e3_48a0_bcda_ff9f40530436); } @@ -2107,6 +1704,7 @@ pub struct IPlayReadyLicense2_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseAcquisitionServiceRequest(::windows_core::IUnknown); impl IPlayReadyLicenseAcquisitionServiceRequest { pub fn ContentHeader(&self) -> ::windows_core::Result { @@ -2218,28 +1816,12 @@ impl IPlayReadyLicenseAcquisitionServiceRequest { ::windows_core::imp::interface_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPlayReadyLicenseAcquisitionServiceRequest {} impl ::windows_core::CanTryInto for IPlayReadyLicenseAcquisitionServiceRequest {} -impl ::core::cmp::PartialEq for IPlayReadyLicenseAcquisitionServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyLicenseAcquisitionServiceRequest {} -impl ::core::fmt::Debug for IPlayReadyLicenseAcquisitionServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyLicenseAcquisitionServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyLicenseAcquisitionServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e}"); } unsafe impl ::windows_core::Interface for IPlayReadyLicenseAcquisitionServiceRequest { type Vtable = IPlayReadyLicenseAcquisitionServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseAcquisitionServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseAcquisitionServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d85ff45_3e9f_4f48_93e1_9530c8d58c3e); } @@ -2254,15 +1836,11 @@ pub struct IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseAcquisitionServiceRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicenseAcquisitionServiceRequest2 { type Vtable = IPlayReadyLicenseAcquisitionServiceRequest2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseAcquisitionServiceRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseAcquisitionServiceRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7fa5eb5_fe0c_b225_bc60_5a9edd32ceb5); } @@ -2274,15 +1852,11 @@ pub struct IPlayReadyLicenseAcquisitionServiceRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseAcquisitionServiceRequest3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicenseAcquisitionServiceRequest3 { type Vtable = IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseAcquisitionServiceRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseAcquisitionServiceRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x394e5f4d_7f75_430d_b2e7_7f75f34b2d75); } @@ -2297,15 +1871,11 @@ pub struct IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseIterableFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicenseIterableFactory { type Vtable = IPlayReadyLicenseIterableFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseIterableFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseIterableFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4179f08_0837_4978_8e68_be4293c8d7a6); } @@ -2320,15 +1890,11 @@ pub struct IPlayReadyLicenseIterableFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseManagement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicenseManagement { type Vtable = IPlayReadyLicenseManagement_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaeb2141_0957_4405_b892_8bf3ec5dadd9); } @@ -2343,6 +1909,7 @@ pub struct IPlayReadyLicenseManagement_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseSession(::windows_core::IUnknown); impl IPlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> ::windows_core::Result { @@ -2361,28 +1928,12 @@ impl IPlayReadyLicenseSession { } } ::windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPlayReadyLicenseSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyLicenseSession {} -impl ::core::fmt::Debug for IPlayReadyLicenseSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyLicenseSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyLicenseSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a1723a39-87fa-4fdd-abbb-a9720e845259}"); } unsafe impl ::windows_core::Interface for IPlayReadyLicenseSession { type Vtable = IPlayReadyLicenseSession_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1723a39_87fa_4fdd_abbb_a9720e845259); } @@ -2395,6 +1946,7 @@ pub struct IPlayReadyLicenseSession_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseSession2(::windows_core::IUnknown); impl IPlayReadyLicenseSession2 { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2426,28 +1978,12 @@ impl IPlayReadyLicenseSession2 { } ::windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPlayReadyLicenseSession2 {} -impl ::core::cmp::PartialEq for IPlayReadyLicenseSession2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyLicenseSession2 {} -impl ::core::fmt::Debug for IPlayReadyLicenseSession2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyLicenseSession2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyLicenseSession2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4909be3a-3aed-4656-8ad7-ee0fd7799510}"); } unsafe impl ::windows_core::Interface for IPlayReadyLicenseSession2 { type Vtable = IPlayReadyLicenseSession2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4909be3a_3aed_4656_8ad7_ee0fd7799510); } @@ -2462,15 +1998,11 @@ pub struct IPlayReadyLicenseSession2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyLicenseSessionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyLicenseSessionFactory { type Vtable = IPlayReadyLicenseSessionFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadyLicenseSessionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyLicenseSessionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62492699_6527_429e_98be_48d798ac2739); } @@ -2485,15 +2017,11 @@ pub struct IPlayReadyLicenseSessionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyMeteringReportServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyMeteringReportServiceRequest { type Vtable = IPlayReadyMeteringReportServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyMeteringReportServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyMeteringReportServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc12b231c_0ecd_4f11_a185_1e24a4a67fb7); } @@ -2506,15 +2034,11 @@ pub struct IPlayReadyMeteringReportServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyRevocationServiceRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyRevocationServiceRequest { type Vtable = IPlayReadyRevocationServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyRevocationServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyRevocationServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x543d66ac_faf0_4560_84a5_0e4acec939e4); } @@ -2525,15 +2049,11 @@ pub struct IPlayReadyRevocationServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadySecureStopIterableFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadySecureStopIterableFactory { type Vtable = IPlayReadySecureStopIterableFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadySecureStopIterableFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadySecureStopIterableFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f1f0165_4214_4d9e_81eb_e89f9d294aee); } @@ -2548,6 +2068,7 @@ pub struct IPlayReadySecureStopIterableFactory_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadySecureStopServiceRequest(::windows_core::IUnknown); impl IPlayReadySecureStopServiceRequest { pub fn SessionID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2673,28 +2194,12 @@ impl IPlayReadySecureStopServiceRequest { ::windows_core::imp::interface_hierarchy!(IPlayReadySecureStopServiceRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPlayReadySecureStopServiceRequest {} impl ::windows_core::CanTryInto for IPlayReadySecureStopServiceRequest {} -impl ::core::cmp::PartialEq for IPlayReadySecureStopServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadySecureStopServiceRequest {} -impl ::core::fmt::Debug for IPlayReadySecureStopServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadySecureStopServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadySecureStopServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b5501ee5-01bf-4401-9677-05630a6a4cc8}"); } unsafe impl ::windows_core::Interface for IPlayReadySecureStopServiceRequest { type Vtable = IPlayReadySecureStopServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadySecureStopServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadySecureStopServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5501ee5_01bf_4401_9677_05630a6a4cc8); } @@ -2716,15 +2221,11 @@ pub struct IPlayReadySecureStopServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadySecureStopServiceRequestFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadySecureStopServiceRequestFactory { type Vtable = IPlayReadySecureStopServiceRequestFactory_Vtbl; } -impl ::core::clone::Clone for IPlayReadySecureStopServiceRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadySecureStopServiceRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e448ac9_e67e_494e_9f49_6285438c76cf); } @@ -2737,6 +2238,7 @@ pub struct IPlayReadySecureStopServiceRequestFactory_Vtbl { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyServiceRequest(::windows_core::IUnknown); impl IPlayReadyServiceRequest { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2822,28 +2324,12 @@ impl IPlayReadyServiceRequest { } ::windows_core::imp::interface_hierarchy!(IPlayReadyServiceRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IPlayReadyServiceRequest {} -impl ::core::cmp::PartialEq for IPlayReadyServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayReadyServiceRequest {} -impl ::core::fmt::Debug for IPlayReadyServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayReadyServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPlayReadyServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8bad2836-a703-45a6-a180-76f3565aa725}"); } unsafe impl ::windows_core::Interface for IPlayReadyServiceRequest { type Vtable = IPlayReadyServiceRequest_Vtbl; } -impl ::core::clone::Clone for IPlayReadyServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bad2836_a703_45a6_a180_76f3565aa725); } @@ -2872,15 +2358,11 @@ pub struct IPlayReadyServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadySoapMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadySoapMessage { type Vtable = IPlayReadySoapMessage_Vtbl; } -impl ::core::clone::Clone for IPlayReadySoapMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadySoapMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb659fcb5_ce41_41ba_8a0d_61df5fffa139); } @@ -2900,15 +2382,11 @@ pub struct IPlayReadySoapMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyStatics { type Vtable = IPlayReadyStatics_Vtbl; } -impl ::core::clone::Clone for IPlayReadyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e69c00d_247c_469a_8f31_5c1a1571d9c6); } @@ -2927,15 +2405,11 @@ pub struct IPlayReadyStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyStatics2 { type Vtable = IPlayReadyStatics2_Vtbl; } -impl ::core::clone::Clone for IPlayReadyStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f8d6a92_5f9a_423e_9466_b33969af7a3d); } @@ -2947,15 +2421,11 @@ pub struct IPlayReadyStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyStatics3 { type Vtable = IPlayReadyStatics3_Vtbl; } -impl ::core::clone::Clone for IPlayReadyStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fa33f71_2dd3_4bed_ae49_f7148e63e710); } @@ -2968,15 +2438,11 @@ pub struct IPlayReadyStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyStatics4 { type Vtable = IPlayReadyStatics4_Vtbl; } -impl ::core::clone::Clone for IPlayReadyStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50a91300_d824_4231_9d5e_78ef8844c7d7); } @@ -2989,15 +2455,11 @@ pub struct IPlayReadyStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayReadyStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlayReadyStatics5 { type Vtable = IPlayReadyStatics5_Vtbl; } -impl ::core::clone::Clone for IPlayReadyStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayReadyStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x230a7075_dfa0_4f8e_a779_cefea9c6824b); } @@ -3018,6 +2480,7 @@ pub struct IPlayReadyStatics5_Vtbl { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDClient(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDClient { @@ -3169,24 +2632,10 @@ impl NDClient { }) } #[doc(hidden)] - #[cfg(feature = "deprecated")] - pub fn INDClientFactory ::windows_core::Result>(callback: F) -> ::windows_core::Result { - static SHARED: ::windows_core::imp::FactoryCache = ::windows_core::imp::FactoryCache::new(); - SHARED.call(callback) - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDClient {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDClient").field(&self.0).finish() + #[cfg(feature = "deprecated")] + pub fn INDClientFactory ::windows_core::Result>(callback: F) -> ::windows_core::Result { + static SHARED: ::windows_core::imp::FactoryCache = ::windows_core::imp::FactoryCache::new(); + SHARED.call(callback) } } #[cfg(feature = "deprecated")] @@ -3194,12 +2643,6 @@ impl ::windows_core::RuntimeType for NDClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDClient;{3bd6781b-61b8-46e2-99a5-8abcb6b9f7d6})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDClient { type Vtable = INDClient_Vtbl; } @@ -3216,6 +2659,7 @@ impl ::windows_core::RuntimeName for NDClient { #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDCustomData(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDCustomData { @@ -3253,30 +2697,10 @@ impl NDCustomData { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDCustomData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDCustomData {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDCustomData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDCustomData").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDCustomData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDCustomData;{f5cb0fdc-2d09-4f19-b5e1-76a0b3ee9267})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDCustomData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDCustomData { type Vtable = INDCustomData_Vtbl; } @@ -3295,6 +2719,7 @@ impl ::windows_core::CanTryInto for NDCustomData {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDDownloadEngineNotifier(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDDownloadEngineNotifier { @@ -3346,30 +2771,10 @@ impl NDDownloadEngineNotifier { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDDownloadEngineNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDDownloadEngineNotifier {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDDownloadEngineNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDDownloadEngineNotifier").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDDownloadEngineNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDDownloadEngineNotifier;{d720b4d4-f4b8-4530-a809-9193a571e7fc})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDDownloadEngineNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDDownloadEngineNotifier { type Vtable = INDDownloadEngineNotifier_Vtbl; } @@ -3388,6 +2793,7 @@ impl ::windows_core::CanTryInto for NDDownloadEngineN #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDLicenseFetchDescriptor(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDLicenseFetchDescriptor { @@ -3446,30 +2852,10 @@ impl NDLicenseFetchDescriptor { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDLicenseFetchDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDLicenseFetchDescriptor {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDLicenseFetchDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDLicenseFetchDescriptor").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDLicenseFetchDescriptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDLicenseFetchDescriptor;{5498d33a-e686-4935-a567-7ca77ad20fa4})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDLicenseFetchDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDLicenseFetchDescriptor { type Vtable = INDLicenseFetchDescriptor_Vtbl; } @@ -3488,6 +2874,7 @@ impl ::windows_core::CanTryInto for NDLicenseFetchDes #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDStorageFileHelper(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDStorageFileHelper { @@ -3512,30 +2899,10 @@ impl NDStorageFileHelper { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDStorageFileHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDStorageFileHelper {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDStorageFileHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDStorageFileHelper").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDStorageFileHelper { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStorageFileHelper;{d8f0bef8-91d2-4d47-a3f9-eaff4edb729f})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDStorageFileHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDStorageFileHelper { type Vtable = INDStorageFileHelper_Vtbl; } @@ -3554,6 +2921,7 @@ impl ::windows_core::CanTryInto for NDStorageFileHelper {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDStreamParserNotifier(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDStreamParserNotifier { @@ -3603,30 +2971,10 @@ impl NDStreamParserNotifier { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDStreamParserNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDStreamParserNotifier {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDStreamParserNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDStreamParserNotifier").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDStreamParserNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDStreamParserNotifier;{c167acd0-2ce6-426c-ace5-5e9275fea715})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDStreamParserNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDStreamParserNotifier { type Vtable = INDStreamParserNotifier_Vtbl; } @@ -3645,6 +2993,7 @@ impl ::windows_core::CanTryInto for NDStreamParserNotif #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NDTCPMessenger(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl NDTCPMessenger { @@ -3700,30 +3049,10 @@ impl NDTCPMessenger { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for NDTCPMessenger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for NDTCPMessenger {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for NDTCPMessenger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NDTCPMessenger").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for NDTCPMessenger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.NDTCPMessenger;{d42df95d-a75b-47bf-8249-bc83820da38a})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for NDTCPMessenger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for NDTCPMessenger { type Vtable = INDMessenger_Vtbl; } @@ -3741,6 +3070,7 @@ impl ::windows_core::RuntimeName for NDTCPMessenger { impl ::windows_core::CanTryInto for NDTCPMessenger {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyContentHeader(::windows_core::IUnknown); impl PlayReadyContentHeader { pub fn KeyId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3884,25 +3214,9 @@ impl PlayReadyContentHeader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PlayReadyContentHeader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyContentHeader {} -impl ::core::fmt::Debug for PlayReadyContentHeader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyContentHeader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyContentHeader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyContentHeader;{9a438a6a-7f4c-452e-88bd-0148c6387a2c})"); } -impl ::core::clone::Clone for PlayReadyContentHeader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyContentHeader { type Vtable = IPlayReadyContentHeader_Vtbl; } @@ -3936,6 +3250,7 @@ impl ::windows_core::RuntimeName for PlayReadyContentResolver { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyDomain(::windows_core::IUnknown); impl PlayReadyDomain { pub fn AccountId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3976,25 +3291,9 @@ impl PlayReadyDomain { } } } -impl ::core::cmp::PartialEq for PlayReadyDomain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyDomain {} -impl ::core::fmt::Debug for PlayReadyDomain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyDomain").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyDomain { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomain;{adcc93ac-97e6-43ef-95e4-d7868f3b16a9})"); } -impl ::core::clone::Clone for PlayReadyDomain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyDomain { type Vtable = IPlayReadyDomain_Vtbl; } @@ -4009,6 +3308,7 @@ impl ::windows_core::CanTryInto for PlayReadyDomain {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyDomainIterable(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PlayReadyDomainIterable { @@ -4036,30 +3336,10 @@ impl PlayReadyDomainIterable { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for PlayReadyDomainIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadyDomainIterable {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadyDomainIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyDomainIterable").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadyDomainIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadyDomainIterable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadyDomainIterable { type Vtable = super::super::super::Foundation::Collections::IIterable_Vtbl; } @@ -4094,6 +3374,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadyDomainIterator {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadyDomainIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyDomainIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadyDomainIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{adcc93ac-97e6-43ef-95e4-d7868f3b16a9}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadyDomainIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadyDomainIterator { type Vtable = super::super::super::Foundation::Collections::IIterator_Vtbl; } @@ -4176,6 +3437,7 @@ impl ::windows_core::RuntimeName for PlayReadyDomainIterator { impl ::windows_core::CanTryInto> for PlayReadyDomainIterator {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyDomainJoinServiceRequest(::windows_core::IUnknown); impl PlayReadyDomainJoinServiceRequest { pub fn new() -> ::windows_core::Result { @@ -4299,25 +3561,9 @@ impl PlayReadyDomainJoinServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyDomainJoinServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyDomainJoinServiceRequest {} -impl ::core::fmt::Debug for PlayReadyDomainJoinServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyDomainJoinServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyDomainJoinServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainJoinServiceRequest;{171b4a5a-405f-4739-b040-67b9f0c38758})"); } -impl ::core::clone::Clone for PlayReadyDomainJoinServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyDomainJoinServiceRequest { type Vtable = IPlayReadyDomainJoinServiceRequest_Vtbl; } @@ -4332,6 +3578,7 @@ impl ::windows_core::CanTryInto for PlayR impl ::windows_core::CanTryInto for PlayReadyDomainJoinServiceRequest {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyDomainLeaveServiceRequest(::windows_core::IUnknown); impl PlayReadyDomainLeaveServiceRequest { pub fn new() -> ::windows_core::Result { @@ -4444,25 +3691,9 @@ impl PlayReadyDomainLeaveServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyDomainLeaveServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyDomainLeaveServiceRequest {} -impl ::core::fmt::Debug for PlayReadyDomainLeaveServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyDomainLeaveServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyDomainLeaveServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyDomainLeaveServiceRequest;{062d58be-97ad-4917-aa03-46d4c252d464})"); } -impl ::core::clone::Clone for PlayReadyDomainLeaveServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyDomainLeaveServiceRequest { type Vtable = IPlayReadyDomainLeaveServiceRequest_Vtbl; } @@ -4477,6 +3708,7 @@ impl ::windows_core::CanTryInto for PlayR impl ::windows_core::CanTryInto for PlayReadyDomainLeaveServiceRequest {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyITADataGenerator(::windows_core::IUnknown); impl PlayReadyITADataGenerator { pub fn new() -> ::windows_core::Result { @@ -4499,25 +3731,9 @@ impl PlayReadyITADataGenerator { } } } -impl ::core::cmp::PartialEq for PlayReadyITADataGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyITADataGenerator {} -impl ::core::fmt::Debug for PlayReadyITADataGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyITADataGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyITADataGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyITADataGenerator;{24446b8e-10b9-4530-b25b-901a8029a9b2})"); } -impl ::core::clone::Clone for PlayReadyITADataGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyITADataGenerator { type Vtable = IPlayReadyITADataGenerator_Vtbl; } @@ -4530,6 +3746,7 @@ impl ::windows_core::RuntimeName for PlayReadyITADataGenerator { ::windows_core::imp::interface_hierarchy!(PlayReadyITADataGenerator, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyIndividualizationServiceRequest(::windows_core::IUnknown); impl PlayReadyIndividualizationServiceRequest { pub fn new() -> ::windows_core::Result { @@ -4620,25 +3837,9 @@ impl PlayReadyIndividualizationServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyIndividualizationServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyIndividualizationServiceRequest {} -impl ::core::fmt::Debug for PlayReadyIndividualizationServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyIndividualizationServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyIndividualizationServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyIndividualizationServiceRequest;{21f5a86b-008c-4611-ab2f-aaa6c69f0e24})"); } -impl ::core::clone::Clone for PlayReadyIndividualizationServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyIndividualizationServiceRequest { type Vtable = IPlayReadyIndividualizationServiceRequest_Vtbl; } @@ -4653,6 +3854,7 @@ impl ::windows_core::CanTryInto for PlayR impl ::windows_core::CanTryInto for PlayReadyIndividualizationServiceRequest {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyLicense(::windows_core::IUnknown); impl PlayReadyLicense { pub fn FullyEvaluated(&self) -> ::windows_core::Result { @@ -4735,25 +3937,9 @@ impl PlayReadyLicense { } } } -impl ::core::cmp::PartialEq for PlayReadyLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyLicense {} -impl ::core::fmt::Debug for PlayReadyLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicense;{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4})"); } -impl ::core::clone::Clone for PlayReadyLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyLicense { type Vtable = IPlayReadyLicense_Vtbl; } @@ -4767,6 +3953,7 @@ impl ::windows_core::RuntimeName for PlayReadyLicense { impl ::windows_core::CanTryInto for PlayReadyLicense {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyLicenseAcquisitionServiceRequest(::windows_core::IUnknown); impl PlayReadyLicenseAcquisitionServiceRequest { pub fn new() -> ::windows_core::Result { @@ -4901,25 +4088,9 @@ impl PlayReadyLicenseAcquisitionServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyLicenseAcquisitionServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyLicenseAcquisitionServiceRequest {} -impl ::core::fmt::Debug for PlayReadyLicenseAcquisitionServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyLicenseAcquisitionServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyLicenseAcquisitionServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseAcquisitionServiceRequest;{5d85ff45-3e9f-4f48-93e1-9530c8d58c3e})"); } -impl ::core::clone::Clone for PlayReadyLicenseAcquisitionServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyLicenseAcquisitionServiceRequest { type Vtable = IPlayReadyLicenseAcquisitionServiceRequest_Vtbl; } @@ -4936,6 +4107,7 @@ impl ::windows_core::CanTryInto for PlayReadyLicenseAc #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyLicenseIterable(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PlayReadyLicenseIterable { @@ -4973,30 +4145,10 @@ impl PlayReadyLicenseIterable { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for PlayReadyLicenseIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadyLicenseIterable {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadyLicenseIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyLicenseIterable").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadyLicenseIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadyLicenseIterable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadyLicenseIterable { type Vtable = super::super::super::Foundation::Collections::IIterable_Vtbl; } @@ -5031,6 +4183,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadyLicenseIterator {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadyLicenseIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyLicenseIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadyLicenseIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{ee474c4e-fa3c-414d-a9f2-3ffc1ef832d4}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadyLicenseIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadyLicenseIterator { type Vtable = super::super::super::Foundation::Collections::IIterator_Vtbl; } @@ -5136,6 +4269,7 @@ impl ::windows_core::RuntimeName for PlayReadyLicenseManagement { } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyLicenseSession(::windows_core::IUnknown); impl PlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> ::windows_core::Result { @@ -5181,25 +4315,9 @@ impl PlayReadyLicenseSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PlayReadyLicenseSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyLicenseSession {} -impl ::core::fmt::Debug for PlayReadyLicenseSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyLicenseSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyLicenseSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyLicenseSession;{a1723a39-87fa-4fdd-abbb-a9720e845259})"); } -impl ::core::clone::Clone for PlayReadyLicenseSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyLicenseSession { type Vtable = IPlayReadyLicenseSession_Vtbl; } @@ -5214,6 +4332,7 @@ impl ::windows_core::CanTryInto for PlayReadyLicenseSe impl ::windows_core::CanTryInto for PlayReadyLicenseSession {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyMeteringReportServiceRequest(::windows_core::IUnknown); impl PlayReadyMeteringReportServiceRequest { pub fn new() -> ::windows_core::Result { @@ -5315,25 +4434,9 @@ impl PlayReadyMeteringReportServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyMeteringReportServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyMeteringReportServiceRequest {} -impl ::core::fmt::Debug for PlayReadyMeteringReportServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyMeteringReportServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyMeteringReportServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyMeteringReportServiceRequest;{c12b231c-0ecd-4f11-a185-1e24a4a67fb7})"); } -impl ::core::clone::Clone for PlayReadyMeteringReportServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyMeteringReportServiceRequest { type Vtable = IPlayReadyMeteringReportServiceRequest_Vtbl; } @@ -5348,6 +4451,7 @@ impl ::windows_core::CanTryInto for PlayR impl ::windows_core::CanTryInto for PlayReadyMeteringReportServiceRequest {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadyRevocationServiceRequest(::windows_core::IUnknown); impl PlayReadyRevocationServiceRequest { pub fn new() -> ::windows_core::Result { @@ -5438,25 +4542,9 @@ impl PlayReadyRevocationServiceRequest { } } } -impl ::core::cmp::PartialEq for PlayReadyRevocationServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadyRevocationServiceRequest {} -impl ::core::fmt::Debug for PlayReadyRevocationServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadyRevocationServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadyRevocationServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadyRevocationServiceRequest;{543d66ac-faf0-4560-84a5-0e4acec939e4})"); } -impl ::core::clone::Clone for PlayReadyRevocationServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadyRevocationServiceRequest { type Vtable = IPlayReadyRevocationServiceRequest_Vtbl; } @@ -5472,6 +4560,7 @@ impl ::windows_core::CanTryInto for PlayReadyRevocatio #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadySecureStopIterable(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PlayReadySecureStopIterable { @@ -5499,30 +4588,10 @@ impl PlayReadySecureStopIterable { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for PlayReadySecureStopIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadySecureStopIterable {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadySecureStopIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadySecureStopIterable").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadySecureStopIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterable;pinterface({faa585ea-6214-4217-afda-7f46de5869b3};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadySecureStopIterable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadySecureStopIterable { type Vtable = super::super::super::Foundation::Collections::IIterable_Vtbl; } @@ -5557,6 +4626,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PlayReadySecureStopIterator {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PlayReadySecureStopIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadySecureStopIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PlayReadySecureStopIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopIterator;pinterface({6a79e863-4300-459a-9966-cbb660963ee1};{b5501ee5-01bf-4401-9677-05630a6a4cc8}))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PlayReadySecureStopIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PlayReadySecureStopIterator { type Vtable = super::super::super::Foundation::Collections::IIterator_Vtbl; } @@ -5639,6 +4689,7 @@ impl ::windows_core::RuntimeName for PlayReadySecureStopIterator { impl ::windows_core::CanTryInto> for PlayReadySecureStopIterator {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadySecureStopServiceRequest(::windows_core::IUnknown); impl PlayReadySecureStopServiceRequest { pub fn ProtectionSystem(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5778,25 +4829,9 @@ impl PlayReadySecureStopServiceRequest { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PlayReadySecureStopServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadySecureStopServiceRequest {} -impl ::core::fmt::Debug for PlayReadySecureStopServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadySecureStopServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadySecureStopServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySecureStopServiceRequest;{b5501ee5-01bf-4401-9677-05630a6a4cc8})"); } -impl ::core::clone::Clone for PlayReadySecureStopServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadySecureStopServiceRequest { type Vtable = IPlayReadySecureStopServiceRequest_Vtbl; } @@ -5812,6 +4847,7 @@ impl ::windows_core::CanTryInto for PlayRead impl ::windows_core::CanTryInto for PlayReadySecureStopServiceRequest {} #[doc = "*Required features: `\"Media_Protection_PlayReady\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlayReadySoapMessage(::windows_core::IUnknown); impl PlayReadySoapMessage { pub fn GetMessageBody(&self) -> ::windows_core::Result<::windows_core::Array> { @@ -5840,25 +4876,9 @@ impl PlayReadySoapMessage { } } } -impl ::core::cmp::PartialEq for PlayReadySoapMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlayReadySoapMessage {} -impl ::core::fmt::Debug for PlayReadySoapMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlayReadySoapMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlayReadySoapMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.PlayReady.PlayReadySoapMessage;{b659fcb5-ce41-41ba-8a0d-61df5fffa139})"); } -impl ::core::clone::Clone for PlayReadySoapMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlayReadySoapMessage { type Vtable = IPlayReadySoapMessage_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Protection/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/impl.rs index 4084844b74..53d7d086be 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/impl.rs @@ -36,7 +36,7 @@ impl IMediaProtectionServiceRequest_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index 8e01917d1d..a3e9bfbe78 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -2,15 +2,11 @@ pub mod PlayReady; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentLoadFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IComponentLoadFailedEventArgs { type Vtable = IComponentLoadFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IComponentLoadFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponentLoadFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95972e93_7746_417e_8495_f031bbc5862c); } @@ -23,15 +19,11 @@ pub struct IComponentLoadFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentRenewalStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IComponentRenewalStatics { type Vtable = IComponentRenewalStatics_Vtbl; } -impl ::core::clone::Clone for IComponentRenewalStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponentRenewalStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ffbcd67_b795_48c5_8b7b_a7c4efe202e3); } @@ -46,15 +38,11 @@ pub struct IComponentRenewalStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHdcpSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHdcpSession { type Vtable = IHdcpSession_Vtbl; } -impl ::core::clone::Clone for IHdcpSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHdcpSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x718845e9_64d7_426d_809b_1be461941a2a); } @@ -82,15 +70,11 @@ pub struct IHdcpSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProtectionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProtectionManager { type Vtable = IMediaProtectionManager_Vtbl; } -impl ::core::clone::Clone for IMediaProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProtectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45694947_c741_434b_a79e_474c12d93d2f); } @@ -129,15 +113,11 @@ pub struct IMediaProtectionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProtectionPMPServer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProtectionPMPServer { type Vtable = IMediaProtectionPMPServer_Vtbl; } -impl ::core::clone::Clone for IMediaProtectionPMPServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProtectionPMPServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c111226_7b26_4d31_95bb_9c1b08ef7fc0); } @@ -152,15 +132,11 @@ pub struct IMediaProtectionPMPServer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProtectionPMPServerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProtectionPMPServerFactory { type Vtable = IMediaProtectionPMPServerFactory_Vtbl; } -impl ::core::clone::Clone for IMediaProtectionPMPServerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProtectionPMPServerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x602c8e5e_f7d2_487e_af91_dbc4252b2182); } @@ -175,15 +151,11 @@ pub struct IMediaProtectionPMPServerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProtectionServiceCompletion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProtectionServiceCompletion { type Vtable = IMediaProtectionServiceCompletion_Vtbl; } -impl ::core::clone::Clone for IMediaProtectionServiceCompletion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProtectionServiceCompletion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b5cca18_cfd5_44ee_a2ed_df76010c14b5); } @@ -195,6 +167,7 @@ pub struct IMediaProtectionServiceCompletion_Vtbl { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProtectionServiceRequest(::windows_core::IUnknown); impl IMediaProtectionServiceRequest { pub fn ProtectionSystem(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -213,28 +186,12 @@ impl IMediaProtectionServiceRequest { } } ::windows_core::imp::interface_hierarchy!(IMediaProtectionServiceRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaProtectionServiceRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaProtectionServiceRequest {} -impl ::core::fmt::Debug for IMediaProtectionServiceRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaProtectionServiceRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaProtectionServiceRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b1de0ea6-2094-478d-87a4-8b95200f85c6}"); } unsafe impl ::windows_core::Interface for IMediaProtectionServiceRequest { type Vtable = IMediaProtectionServiceRequest_Vtbl; } -impl ::core::clone::Clone for IMediaProtectionServiceRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProtectionServiceRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1de0ea6_2094_478d_87a4_8b95200f85c6); } @@ -247,15 +204,11 @@ pub struct IMediaProtectionServiceRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionCapabilities { type Vtable = IProtectionCapabilities_Vtbl; } -impl ::core::clone::Clone for IProtectionCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7ac5d7e_7480_4d29_a464_7bcd913dd8e4); } @@ -267,15 +220,11 @@ pub struct IProtectionCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRevocationAndRenewalInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRevocationAndRenewalInformation { type Vtable = IRevocationAndRenewalInformation_Vtbl; } -impl ::core::clone::Clone for IRevocationAndRenewalInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRevocationAndRenewalInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3a1937b_2501_439e_a6e7_6fc95e175fcf); } @@ -290,15 +239,11 @@ pub struct IRevocationAndRenewalInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRevocationAndRenewalItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRevocationAndRenewalItem { type Vtable = IRevocationAndRenewalItem_Vtbl; } -impl ::core::clone::Clone for IRevocationAndRenewalItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRevocationAndRenewalItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3099c20c_3cf0_49ea_902d_caf32d2dde2c); } @@ -314,15 +259,11 @@ pub struct IRevocationAndRenewalItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServiceRequestedEventArgs { type Vtable = IServiceRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IServiceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34283baf_abb4_4fc1_bd89_93f106573a49); } @@ -335,15 +276,11 @@ pub struct IServiceRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServiceRequestedEventArgs2 { type Vtable = IServiceRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IServiceRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x553c69d6_fafe_4128_8dfa_130e398a13a7); } @@ -358,6 +295,7 @@ pub struct IServiceRequestedEventArgs2_Vtbl { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ComponentLoadFailedEventArgs(::windows_core::IUnknown); impl ComponentLoadFailedEventArgs { pub fn Information(&self) -> ::windows_core::Result { @@ -375,25 +313,9 @@ impl ComponentLoadFailedEventArgs { } } } -impl ::core::cmp::PartialEq for ComponentLoadFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ComponentLoadFailedEventArgs {} -impl ::core::fmt::Debug for ComponentLoadFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ComponentLoadFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ComponentLoadFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ComponentLoadFailedEventArgs;{95972e93-7746-417e-8495-f031bbc5862c})"); } -impl ::core::clone::Clone for ComponentLoadFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ComponentLoadFailedEventArgs { type Vtable = IComponentLoadFailedEventArgs_Vtbl; } @@ -431,6 +353,7 @@ impl ::windows_core::RuntimeName for ComponentRenewal { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HdcpSession(::windows_core::IUnknown); impl HdcpSession { pub fn new() -> ::windows_core::Result { @@ -490,25 +413,9 @@ impl HdcpSession { unsafe { (::windows_core::Interface::vtable(this).RemoveProtectionChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for HdcpSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HdcpSession {} -impl ::core::fmt::Debug for HdcpSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HdcpSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HdcpSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.HdcpSession;{718845e9-64d7-426d-809b-1be461941a2a})"); } -impl ::core::clone::Clone for HdcpSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HdcpSession { type Vtable = IHdcpSession_Vtbl; } @@ -525,6 +432,7 @@ unsafe impl ::core::marker::Send for HdcpSession {} unsafe impl ::core::marker::Sync for HdcpSession {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaProtectionManager(::windows_core::IUnknown); impl MediaProtectionManager { pub fn new() -> ::windows_core::Result { @@ -598,25 +506,9 @@ impl MediaProtectionManager { } } } -impl ::core::cmp::PartialEq for MediaProtectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaProtectionManager {} -impl ::core::fmt::Debug for MediaProtectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaProtectionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaProtectionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionManager;{45694947-c741-434b-a79e-474c12d93d2f})"); } -impl ::core::clone::Clone for MediaProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaProtectionManager { type Vtable = IMediaProtectionManager_Vtbl; } @@ -631,6 +523,7 @@ unsafe impl ::core::marker::Send for MediaProtectionManager {} unsafe impl ::core::marker::Sync for MediaProtectionManager {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaProtectionPMPServer(::windows_core::IUnknown); impl MediaProtectionPMPServer { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -659,25 +552,9 @@ impl MediaProtectionPMPServer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MediaProtectionPMPServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaProtectionPMPServer {} -impl ::core::fmt::Debug for MediaProtectionPMPServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaProtectionPMPServer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaProtectionPMPServer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionPMPServer;{0c111226-7b26-4d31-95bb-9c1b08ef7fc0})"); } -impl ::core::clone::Clone for MediaProtectionPMPServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaProtectionPMPServer { type Vtable = IMediaProtectionPMPServer_Vtbl; } @@ -692,6 +569,7 @@ unsafe impl ::core::marker::Send for MediaProtectionPMPServer {} unsafe impl ::core::marker::Sync for MediaProtectionPMPServer {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaProtectionServiceCompletion(::windows_core::IUnknown); impl MediaProtectionServiceCompletion { pub fn Complete(&self, success: bool) -> ::windows_core::Result<()> { @@ -699,25 +577,9 @@ impl MediaProtectionServiceCompletion { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this), success).ok() } } } -impl ::core::cmp::PartialEq for MediaProtectionServiceCompletion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaProtectionServiceCompletion {} -impl ::core::fmt::Debug for MediaProtectionServiceCompletion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaProtectionServiceCompletion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaProtectionServiceCompletion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.MediaProtectionServiceCompletion;{8b5cca18-cfd5-44ee-a2ed-df76010c14b5})"); } -impl ::core::clone::Clone for MediaProtectionServiceCompletion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaProtectionServiceCompletion { type Vtable = IMediaProtectionServiceCompletion_Vtbl; } @@ -732,6 +594,7 @@ unsafe impl ::core::marker::Send for MediaProtectionServiceCompletion {} unsafe impl ::core::marker::Sync for MediaProtectionServiceCompletion {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectionCapabilities(::windows_core::IUnknown); impl ProtectionCapabilities { pub fn new() -> ::windows_core::Result { @@ -749,25 +612,9 @@ impl ProtectionCapabilities { } } } -impl ::core::cmp::PartialEq for ProtectionCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectionCapabilities {} -impl ::core::fmt::Debug for ProtectionCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectionCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectionCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ProtectionCapabilities;{c7ac5d7e-7480-4d29-a464-7bcd913dd8e4})"); } -impl ::core::clone::Clone for ProtectionCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectionCapabilities { type Vtable = IProtectionCapabilities_Vtbl; } @@ -782,6 +629,7 @@ unsafe impl ::core::marker::Send for ProtectionCapabilities {} unsafe impl ::core::marker::Sync for ProtectionCapabilities {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RevocationAndRenewalInformation(::windows_core::IUnknown); impl RevocationAndRenewalInformation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -794,25 +642,9 @@ impl RevocationAndRenewalInformation { } } } -impl ::core::cmp::PartialEq for RevocationAndRenewalInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RevocationAndRenewalInformation {} -impl ::core::fmt::Debug for RevocationAndRenewalInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RevocationAndRenewalInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RevocationAndRenewalInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalInformation;{f3a1937b-2501-439e-a6e7-6fc95e175fcf})"); } -impl ::core::clone::Clone for RevocationAndRenewalInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RevocationAndRenewalInformation { type Vtable = IRevocationAndRenewalInformation_Vtbl; } @@ -827,6 +659,7 @@ unsafe impl ::core::marker::Send for RevocationAndRenewalInformation {} unsafe impl ::core::marker::Sync for RevocationAndRenewalInformation {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RevocationAndRenewalItem(::windows_core::IUnknown); impl RevocationAndRenewalItem { pub fn Reasons(&self) -> ::windows_core::Result { @@ -865,25 +698,9 @@ impl RevocationAndRenewalItem { } } } -impl ::core::cmp::PartialEq for RevocationAndRenewalItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RevocationAndRenewalItem {} -impl ::core::fmt::Debug for RevocationAndRenewalItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RevocationAndRenewalItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RevocationAndRenewalItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.RevocationAndRenewalItem;{3099c20c-3cf0-49ea-902d-caf32d2dde2c})"); } -impl ::core::clone::Clone for RevocationAndRenewalItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RevocationAndRenewalItem { type Vtable = IRevocationAndRenewalItem_Vtbl; } @@ -898,6 +715,7 @@ unsafe impl ::core::marker::Send for RevocationAndRenewalItem {} unsafe impl ::core::marker::Sync for RevocationAndRenewalItem {} #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServiceRequestedEventArgs(::windows_core::IUnknown); impl ServiceRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -924,25 +742,9 @@ impl ServiceRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for ServiceRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServiceRequestedEventArgs {} -impl ::core::fmt::Debug for ServiceRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServiceRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServiceRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Protection.ServiceRequestedEventArgs;{34283baf-abb4-4fc1-bd89-93f106573a49})"); } -impl ::core::clone::Clone for ServiceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServiceRequestedEventArgs { type Vtable = IServiceRequestedEventArgs_Vtbl; } @@ -1194,6 +996,7 @@ impl ::windows_core::RuntimeType for RevocationAndRenewalReasons { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ComponentLoadFailedEventHandler(pub ::windows_core::IUnknown); impl ComponentLoadFailedEventHandler { pub fn new, ::core::option::Option<&ComponentLoadFailedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1220,9 +1023,12 @@ impl, ::core::option::O base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1247,25 +1053,9 @@ impl, ::core::option::O ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for ComponentLoadFailedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ComponentLoadFailedEventHandler {} -impl ::core::fmt::Debug for ComponentLoadFailedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ComponentLoadFailedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ComponentLoadFailedEventHandler { type Vtable = ComponentLoadFailedEventHandler_Vtbl; } -impl ::core::clone::Clone for ComponentLoadFailedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ComponentLoadFailedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95da643c_6db9_424b_86ca_091af432081c); } @@ -1280,6 +1070,7 @@ pub struct ComponentLoadFailedEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RebootNeededEventHandler(pub ::windows_core::IUnknown); impl RebootNeededEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1305,9 +1096,12 @@ impl) -> ::windows_core base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1332,25 +1126,9 @@ impl) -> ::windows_core ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for RebootNeededEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RebootNeededEventHandler {} -impl ::core::fmt::Debug for RebootNeededEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RebootNeededEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for RebootNeededEventHandler { type Vtable = RebootNeededEventHandler_Vtbl; } -impl ::core::clone::Clone for RebootNeededEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for RebootNeededEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64e12a45_973b_4a3a_b260_91898a49a82c); } @@ -1365,6 +1143,7 @@ pub struct RebootNeededEventHandler_Vtbl { } #[doc = "*Required features: `\"Media_Protection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServiceRequestedEventHandler(pub ::windows_core::IUnknown); impl ServiceRequestedEventHandler { pub fn new, ::core::option::Option<&ServiceRequestedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1391,9 +1170,12 @@ impl, ::core::option::O base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1418,25 +1200,9 @@ impl, ::core::option::O ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for ServiceRequestedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServiceRequestedEventHandler {} -impl ::core::fmt::Debug for ServiceRequestedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServiceRequestedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ServiceRequestedEventHandler { type Vtable = ServiceRequestedEventHandler_Vtbl; } -impl ::core::clone::Clone for ServiceRequestedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ServiceRequestedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2d690ba_cac9_48e1_95c0_d38495a84055); } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs index 0a4b97d296..d2ea2a7b73 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs @@ -84,7 +84,7 @@ impl ISpeechRecognitionConstraint_Vtbl { SetProbability: SetProbability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 802d7328ae..68e817159b 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechContinuousRecognitionCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechContinuousRecognitionCompletedEventArgs { type Vtable = ISpeechContinuousRecognitionCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpeechContinuousRecognitionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechContinuousRecognitionCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3d069bb_e30c_5e18_424b_7fbe81f8fbd0); } @@ -20,15 +16,11 @@ pub struct ISpeechContinuousRecognitionCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechContinuousRecognitionResultGeneratedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechContinuousRecognitionResultGeneratedEventArgs { type Vtable = ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpeechContinuousRecognitionResultGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechContinuousRecognitionResultGeneratedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19091e1e_6e7e_5a46_40fb_76594f786504); } @@ -40,15 +32,11 @@ pub struct ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechContinuousRecognitionSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechContinuousRecognitionSession { type Vtable = ISpeechContinuousRecognitionSession_Vtbl; } -impl ::core::clone::Clone for ISpeechContinuousRecognitionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechContinuousRecognitionSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a213c04_6614_49f8_99a2_b5e9b3a085c8); } @@ -104,15 +92,11 @@ pub struct ISpeechContinuousRecognitionSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionCompilationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionCompilationResult { type Vtable = ISpeechRecognitionCompilationResult_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionCompilationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionCompilationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x407e6c5d_6ac7_4da4_9cc1_2fce32cf7489); } @@ -124,6 +108,7 @@ pub struct ISpeechRecognitionCompilationResult_Vtbl { } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionConstraint(::windows_core::IUnknown); impl ISpeechRecognitionConstraint { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -168,28 +153,12 @@ impl ISpeechRecognitionConstraint { } } ::windows_core::imp::interface_hierarchy!(ISpeechRecognitionConstraint, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISpeechRecognitionConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpeechRecognitionConstraint {} -impl ::core::fmt::Debug for ISpeechRecognitionConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecognitionConstraint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISpeechRecognitionConstraint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{79ac1628-4d68-43c4-8911-40dc4101b55b}"); } unsafe impl ::windows_core::Interface for ISpeechRecognitionConstraint { type Vtable = ISpeechRecognitionConstraint_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79ac1628_4d68_43c4_8911_40dc4101b55b); } @@ -207,15 +176,11 @@ pub struct ISpeechRecognitionConstraint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionGrammarFileConstraint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionGrammarFileConstraint { type Vtable = ISpeechRecognitionGrammarFileConstraint_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionGrammarFileConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionGrammarFileConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5031a8f_85ca_4fa4_b11a_474fc41b3835); } @@ -230,15 +195,11 @@ pub struct ISpeechRecognitionGrammarFileConstraint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionGrammarFileConstraintFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionGrammarFileConstraintFactory { type Vtable = ISpeechRecognitionGrammarFileConstraintFactory_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionGrammarFileConstraintFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionGrammarFileConstraintFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da770eb_c479_4c27_9f19_89974ef392d1); } @@ -257,15 +218,11 @@ pub struct ISpeechRecognitionGrammarFileConstraintFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionHypothesis(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionHypothesis { type Vtable = ISpeechRecognitionHypothesis_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionHypothesis { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionHypothesis { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a7b25b0_99c5_4f7d_bf84_10aa1302b634); } @@ -277,15 +234,11 @@ pub struct ISpeechRecognitionHypothesis_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionHypothesisGeneratedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionHypothesisGeneratedEventArgs { type Vtable = ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionHypothesisGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionHypothesisGeneratedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55161a7a_8023_5866_411d_1213bb271476); } @@ -297,15 +250,11 @@ pub struct ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionListConstraint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionListConstraint { type Vtable = ISpeechRecognitionListConstraint_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionListConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionListConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09c487e9_e4ad_4526_81f2_4946fb481d98); } @@ -320,15 +269,11 @@ pub struct ISpeechRecognitionListConstraint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionListConstraintFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionListConstraintFactory { type Vtable = ISpeechRecognitionListConstraintFactory_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionListConstraintFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionListConstraintFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40f3cdc7_562a_426a_9f3b_3b4e282be1d5); } @@ -347,15 +292,11 @@ pub struct ISpeechRecognitionListConstraintFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionQualityDegradingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionQualityDegradingEventArgs { type Vtable = ISpeechRecognitionQualityDegradingEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionQualityDegradingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionQualityDegradingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fe24105_8c3a_4c7e_8d0a_5bd4f5b14ad8); } @@ -367,15 +308,11 @@ pub struct ISpeechRecognitionQualityDegradingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionResult { type Vtable = ISpeechRecognitionResult_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e303157_034e_4652_857e_d0454cc4beec); } @@ -400,15 +337,11 @@ pub struct ISpeechRecognitionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionResult2 { type Vtable = ISpeechRecognitionResult2_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf7ed1ba_451b_4166_a0c1_1ffe84032d03); } @@ -427,15 +360,11 @@ pub struct ISpeechRecognitionResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionSemanticInterpretation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionSemanticInterpretation { type Vtable = ISpeechRecognitionSemanticInterpretation_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionSemanticInterpretation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionSemanticInterpretation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaae1da9b_7e32_4c1f_89fe_0c65f486f52e); } @@ -450,15 +379,11 @@ pub struct ISpeechRecognitionSemanticInterpretation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionTopicConstraint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionTopicConstraint { type Vtable = ISpeechRecognitionTopicConstraint_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionTopicConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionTopicConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf6fdf19_825d_4e69_a681_36e48cf1c93e); } @@ -471,15 +396,11 @@ pub struct ISpeechRecognitionTopicConstraint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionTopicConstraintFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionTopicConstraintFactory { type Vtable = ISpeechRecognitionTopicConstraintFactory_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionTopicConstraintFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionTopicConstraintFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e6863df_ec05_47d7_a5df_56a3431e58d2); } @@ -492,15 +413,11 @@ pub struct ISpeechRecognitionTopicConstraintFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognitionVoiceCommandDefinitionConstraint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognitionVoiceCommandDefinitionConstraint { type Vtable = ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognitionVoiceCommandDefinitionConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognitionVoiceCommandDefinitionConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2791c2b_1ef4_4ae7_9d77_b6ff10b8a3c2); } @@ -511,15 +428,11 @@ pub struct ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizer { type Vtable = ISpeechRecognizer_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bc3c9cb_c26a_40f2_aeb5_8096b2e48073); } @@ -568,15 +481,11 @@ pub struct ISpeechRecognizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizer2 { type Vtable = ISpeechRecognizer2_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63c9baf1_91e3_4ea4_86a1_7c3867d084a6); } @@ -601,15 +510,11 @@ pub struct ISpeechRecognizer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerFactory { type Vtable = ISpeechRecognizerFactory_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60c488dd_7fb8_4033_ac70_d046f64818e1); } @@ -624,15 +529,11 @@ pub struct ISpeechRecognizerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerStateChangedEventArgs { type Vtable = ISpeechRecognizerStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x563d4f09_ba03_4bad_ad81_ddc6c4dab0c3); } @@ -644,15 +545,11 @@ pub struct ISpeechRecognizerStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerStatics { type Vtable = ISpeechRecognizerStatics_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87a35eac_a7dc_4b0b_bcc9_24f47c0b7ebf); } @@ -675,15 +572,11 @@ pub struct ISpeechRecognizerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerStatics2 { type Vtable = ISpeechRecognizerStatics2_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d1b0d95_7565_4ef9_a2f3_ba15162a96cf); } @@ -698,15 +591,11 @@ pub struct ISpeechRecognizerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerTimeouts(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerTimeouts { type Vtable = ISpeechRecognizerTimeouts_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerTimeouts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerTimeouts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ef76fca_6a3c_4dca_a153_df1bc88a79af); } @@ -741,15 +630,11 @@ pub struct ISpeechRecognizerTimeouts_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerUIOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechRecognizerUIOptions { type Vtable = ISpeechRecognizerUIOptions_Vtbl; } -impl ::core::clone::Clone for ISpeechRecognizerUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechRecognizerUIOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7888d641_b92b_44ba_a25f_d1864630641f); } @@ -768,15 +653,11 @@ pub struct ISpeechRecognizerUIOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandManager { type Vtable = IVoiceCommandManager_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa3a8dd5_b6e7_4ee2_baa9_dd6baced0a2b); } @@ -795,15 +676,11 @@ pub struct IVoiceCommandManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceCommandSet(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceCommandSet { type Vtable = IVoiceCommandSet_Vtbl; } -impl ::core::clone::Clone for IVoiceCommandSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceCommandSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bedda75_46e6_4b11_a088_5c68632899b5); } @@ -820,6 +697,7 @@ pub struct IVoiceCommandSet_Vtbl { } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechContinuousRecognitionCompletedEventArgs(::windows_core::IUnknown); impl SpeechContinuousRecognitionCompletedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -830,25 +708,9 @@ impl SpeechContinuousRecognitionCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for SpeechContinuousRecognitionCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechContinuousRecognitionCompletedEventArgs {} -impl ::core::fmt::Debug for SpeechContinuousRecognitionCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechContinuousRecognitionCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechContinuousRecognitionCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs;{e3d069bb-e30c-5e18-424b-7fbe81f8fbd0})"); } -impl ::core::clone::Clone for SpeechContinuousRecognitionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechContinuousRecognitionCompletedEventArgs { type Vtable = ISpeechContinuousRecognitionCompletedEventArgs_Vtbl; } @@ -863,6 +725,7 @@ unsafe impl ::core::marker::Send for SpeechContinuousRecognitionCompletedEventAr unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionCompletedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechContinuousRecognitionResultGeneratedEventArgs(::windows_core::IUnknown); impl SpeechContinuousRecognitionResultGeneratedEventArgs { pub fn Result(&self) -> ::windows_core::Result { @@ -873,25 +736,9 @@ impl SpeechContinuousRecognitionResultGeneratedEventArgs { } } } -impl ::core::cmp::PartialEq for SpeechContinuousRecognitionResultGeneratedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechContinuousRecognitionResultGeneratedEventArgs {} -impl ::core::fmt::Debug for SpeechContinuousRecognitionResultGeneratedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechContinuousRecognitionResultGeneratedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechContinuousRecognitionResultGeneratedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs;{19091e1e-6e7e-5a46-40fb-76594f786504})"); } -impl ::core::clone::Clone for SpeechContinuousRecognitionResultGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechContinuousRecognitionResultGeneratedEventArgs { type Vtable = ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl; } @@ -906,6 +753,7 @@ unsafe impl ::core::marker::Send for SpeechContinuousRecognitionResultGeneratedE unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionResultGeneratedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechContinuousRecognitionSession(::windows_core::IUnknown); impl SpeechContinuousRecognitionSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1009,25 +857,9 @@ impl SpeechContinuousRecognitionSession { unsafe { (::windows_core::Interface::vtable(this).RemoveResultGenerated)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpeechContinuousRecognitionSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechContinuousRecognitionSession {} -impl ::core::fmt::Debug for SpeechContinuousRecognitionSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechContinuousRecognitionSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechContinuousRecognitionSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession;{6a213c04-6614-49f8-99a2-b5e9b3a085c8})"); } -impl ::core::clone::Clone for SpeechContinuousRecognitionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechContinuousRecognitionSession { type Vtable = ISpeechContinuousRecognitionSession_Vtbl; } @@ -1042,6 +874,7 @@ unsafe impl ::core::marker::Send for SpeechContinuousRecognitionSession {} unsafe impl ::core::marker::Sync for SpeechContinuousRecognitionSession {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionCompilationResult(::windows_core::IUnknown); impl SpeechRecognitionCompilationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1052,25 +885,9 @@ impl SpeechRecognitionCompilationResult { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionCompilationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionCompilationResult {} -impl ::core::fmt::Debug for SpeechRecognitionCompilationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionCompilationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionCompilationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult;{407e6c5d-6ac7-4da4-9cc1-2fce32cf7489})"); } -impl ::core::clone::Clone for SpeechRecognitionCompilationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionCompilationResult { type Vtable = ISpeechRecognitionCompilationResult_Vtbl; } @@ -1085,6 +902,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionCompilationResult {} unsafe impl ::core::marker::Sync for SpeechRecognitionCompilationResult {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionGrammarFileConstraint(::windows_core::IUnknown); impl SpeechRecognitionGrammarFileConstraint { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1164,25 +982,9 @@ impl SpeechRecognitionGrammarFileConstraint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpeechRecognitionGrammarFileConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionGrammarFileConstraint {} -impl ::core::fmt::Debug for SpeechRecognitionGrammarFileConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionGrammarFileConstraint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionGrammarFileConstraint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint;{b5031a8f-85ca-4fa4-b11a-474fc41b3835})"); } -impl ::core::clone::Clone for SpeechRecognitionGrammarFileConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionGrammarFileConstraint { type Vtable = ISpeechRecognitionGrammarFileConstraint_Vtbl; } @@ -1198,6 +1000,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionGrammarFileConstraint {} unsafe impl ::core::marker::Sync for SpeechRecognitionGrammarFileConstraint {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionHypothesis(::windows_core::IUnknown); impl SpeechRecognitionHypothesis { pub fn Text(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1208,25 +1011,9 @@ impl SpeechRecognitionHypothesis { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionHypothesis { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionHypothesis {} -impl ::core::fmt::Debug for SpeechRecognitionHypothesis { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionHypothesis").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionHypothesis { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis;{7a7b25b0-99c5-4f7d-bf84-10aa1302b634})"); } -impl ::core::clone::Clone for SpeechRecognitionHypothesis { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionHypothesis { type Vtable = ISpeechRecognitionHypothesis_Vtbl; } @@ -1241,6 +1028,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionHypothesis {} unsafe impl ::core::marker::Sync for SpeechRecognitionHypothesis {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionHypothesisGeneratedEventArgs(::windows_core::IUnknown); impl SpeechRecognitionHypothesisGeneratedEventArgs { pub fn Hypothesis(&self) -> ::windows_core::Result { @@ -1251,25 +1039,9 @@ impl SpeechRecognitionHypothesisGeneratedEventArgs { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionHypothesisGeneratedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionHypothesisGeneratedEventArgs {} -impl ::core::fmt::Debug for SpeechRecognitionHypothesisGeneratedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionHypothesisGeneratedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionHypothesisGeneratedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs;{55161a7a-8023-5866-411d-1213bb271476})"); } -impl ::core::clone::Clone for SpeechRecognitionHypothesisGeneratedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionHypothesisGeneratedEventArgs { type Vtable = ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl; } @@ -1284,6 +1056,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionHypothesisGeneratedEventAr unsafe impl ::core::marker::Sync for SpeechRecognitionHypothesisGeneratedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionListConstraint(::windows_core::IUnknown); impl SpeechRecognitionListConstraint { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1363,25 +1136,9 @@ impl SpeechRecognitionListConstraint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpeechRecognitionListConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionListConstraint {} -impl ::core::fmt::Debug for SpeechRecognitionListConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionListConstraint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionListConstraint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint;{09c487e9-e4ad-4526-81f2-4946fb481d98})"); } -impl ::core::clone::Clone for SpeechRecognitionListConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionListConstraint { type Vtable = ISpeechRecognitionListConstraint_Vtbl; } @@ -1397,6 +1154,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionListConstraint {} unsafe impl ::core::marker::Sync for SpeechRecognitionListConstraint {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionQualityDegradingEventArgs(::windows_core::IUnknown); impl SpeechRecognitionQualityDegradingEventArgs { pub fn Problem(&self) -> ::windows_core::Result { @@ -1407,25 +1165,9 @@ impl SpeechRecognitionQualityDegradingEventArgs { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionQualityDegradingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionQualityDegradingEventArgs {} -impl ::core::fmt::Debug for SpeechRecognitionQualityDegradingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionQualityDegradingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionQualityDegradingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs;{4fe24105-8c3a-4c7e-8d0a-5bd4f5b14ad8})"); } -impl ::core::clone::Clone for SpeechRecognitionQualityDegradingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionQualityDegradingEventArgs { type Vtable = ISpeechRecognitionQualityDegradingEventArgs_Vtbl; } @@ -1440,6 +1182,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionQualityDegradingEventArgs unsafe impl ::core::marker::Sync for SpeechRecognitionQualityDegradingEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionResult(::windows_core::IUnknown); impl SpeechRecognitionResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1521,25 +1264,9 @@ impl SpeechRecognitionResult { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionResult {} -impl ::core::fmt::Debug for SpeechRecognitionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionResult;{4e303157-034e-4652-857e-d0454cc4beec})"); } -impl ::core::clone::Clone for SpeechRecognitionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionResult { type Vtable = ISpeechRecognitionResult_Vtbl; } @@ -1554,6 +1281,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionResult {} unsafe impl ::core::marker::Sync for SpeechRecognitionResult {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionSemanticInterpretation(::windows_core::IUnknown); impl SpeechRecognitionSemanticInterpretation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1566,25 +1294,9 @@ impl SpeechRecognitionSemanticInterpretation { } } } -impl ::core::cmp::PartialEq for SpeechRecognitionSemanticInterpretation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionSemanticInterpretation {} -impl ::core::fmt::Debug for SpeechRecognitionSemanticInterpretation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionSemanticInterpretation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionSemanticInterpretation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation;{aae1da9b-7e32-4c1f-89fe-0c65f486f52e})"); } -impl ::core::clone::Clone for SpeechRecognitionSemanticInterpretation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionSemanticInterpretation { type Vtable = ISpeechRecognitionSemanticInterpretation_Vtbl; } @@ -1599,6 +1311,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionSemanticInterpretation {} unsafe impl ::core::marker::Sync for SpeechRecognitionSemanticInterpretation {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionTopicConstraint(::windows_core::IUnknown); impl SpeechRecognitionTopicConstraint { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1673,25 +1386,9 @@ impl SpeechRecognitionTopicConstraint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpeechRecognitionTopicConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionTopicConstraint {} -impl ::core::fmt::Debug for SpeechRecognitionTopicConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionTopicConstraint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionTopicConstraint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint;{bf6fdf19-825d-4e69-a681-36e48cf1c93e})"); } -impl ::core::clone::Clone for SpeechRecognitionTopicConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionTopicConstraint { type Vtable = ISpeechRecognitionTopicConstraint_Vtbl; } @@ -1707,6 +1404,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionTopicConstraint {} unsafe impl ::core::marker::Sync for SpeechRecognitionTopicConstraint {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognitionVoiceCommandDefinitionConstraint(::windows_core::IUnknown); impl SpeechRecognitionVoiceCommandDefinitionConstraint { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -1750,25 +1448,9 @@ impl SpeechRecognitionVoiceCommandDefinitionConstraint { unsafe { (::windows_core::Interface::vtable(this).SetProbability)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpeechRecognitionVoiceCommandDefinitionConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognitionVoiceCommandDefinitionConstraint {} -impl ::core::fmt::Debug for SpeechRecognitionVoiceCommandDefinitionConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognitionVoiceCommandDefinitionConstraint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognitionVoiceCommandDefinitionConstraint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint;{f2791c2b-1ef4-4ae7-9d77-b6ff10b8a3c2})"); } -impl ::core::clone::Clone for SpeechRecognitionVoiceCommandDefinitionConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognitionVoiceCommandDefinitionConstraint { type Vtable = ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl; } @@ -1784,6 +1466,7 @@ unsafe impl ::core::marker::Send for SpeechRecognitionVoiceCommandDefinitionCons unsafe impl ::core::marker::Sync for SpeechRecognitionVoiceCommandDefinitionConstraint {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognizer(::windows_core::IUnknown); impl SpeechRecognizer { pub fn new() -> ::windows_core::Result { @@ -1997,25 +1680,9 @@ impl SpeechRecognizer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpeechRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognizer {} -impl ::core::fmt::Debug for SpeechRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizer;{0bc3c9cb-c26a-40f2-aeb5-8096b2e48073})"); } -impl ::core::clone::Clone for SpeechRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognizer { type Vtable = ISpeechRecognizer_Vtbl; } @@ -2032,6 +1699,7 @@ unsafe impl ::core::marker::Send for SpeechRecognizer {} unsafe impl ::core::marker::Sync for SpeechRecognizer {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognizerStateChangedEventArgs(::windows_core::IUnknown); impl SpeechRecognizerStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -2042,25 +1710,9 @@ impl SpeechRecognizerStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for SpeechRecognizerStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognizerStateChangedEventArgs {} -impl ::core::fmt::Debug for SpeechRecognizerStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognizerStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognizerStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs;{563d4f09-ba03-4bad-ad81-ddc6c4dab0c3})"); } -impl ::core::clone::Clone for SpeechRecognizerStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognizerStateChangedEventArgs { type Vtable = ISpeechRecognizerStateChangedEventArgs_Vtbl; } @@ -2075,6 +1727,7 @@ unsafe impl ::core::marker::Send for SpeechRecognizerStateChangedEventArgs {} unsafe impl ::core::marker::Sync for SpeechRecognizerStateChangedEventArgs {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognizerTimeouts(::windows_core::IUnknown); impl SpeechRecognizerTimeouts { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2123,25 +1776,9 @@ impl SpeechRecognizerTimeouts { unsafe { (::windows_core::Interface::vtable(this).SetBabbleTimeout)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpeechRecognizerTimeouts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognizerTimeouts {} -impl ::core::fmt::Debug for SpeechRecognizerTimeouts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognizerTimeouts").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognizerTimeouts { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts;{2ef76fca-6a3c-4dca-a153-df1bc88a79af})"); } -impl ::core::clone::Clone for SpeechRecognizerTimeouts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognizerTimeouts { type Vtable = ISpeechRecognizerTimeouts_Vtbl; } @@ -2156,6 +1793,7 @@ unsafe impl ::core::marker::Send for SpeechRecognizerTimeouts {} unsafe impl ::core::marker::Sync for SpeechRecognizerTimeouts {} #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechRecognizerUIOptions(::windows_core::IUnknown); impl SpeechRecognizerUIOptions { pub fn ExampleText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2203,25 +1841,9 @@ impl SpeechRecognizerUIOptions { unsafe { (::windows_core::Interface::vtable(this).SetShowConfirmation)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpeechRecognizerUIOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechRecognizerUIOptions {} -impl ::core::fmt::Debug for SpeechRecognizerUIOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechRecognizerUIOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechRecognizerUIOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions;{7888d641-b92b-44ba-a25f-d1864630641f})"); } -impl ::core::clone::Clone for SpeechRecognizerUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechRecognizerUIOptions { type Vtable = ISpeechRecognizerUIOptions_Vtbl; } @@ -2267,6 +1889,7 @@ impl ::windows_core::RuntimeName for VoiceCommandManager { } #[doc = "*Required features: `\"Media_SpeechRecognition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceCommandSet(::windows_core::IUnknown); impl VoiceCommandSet { pub fn Language(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2296,25 +1919,9 @@ impl VoiceCommandSet { } } } -impl ::core::cmp::PartialEq for VoiceCommandSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceCommandSet {} -impl ::core::fmt::Debug for VoiceCommandSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceCommandSet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceCommandSet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechRecognition.VoiceCommandSet;{0bedda75-46e6-4b11-a088-5c68632899b5})"); } -impl ::core::clone::Clone for VoiceCommandSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceCommandSet { type Vtable = IVoiceCommandSet_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 8a14aad897..4011314f79 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstalledVoicesStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstalledVoicesStatic { type Vtable = IInstalledVoicesStatic_Vtbl; } -impl ::core::clone::Clone for IInstalledVoicesStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstalledVoicesStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d526ecc_7533_4c3f_85be_888c2baeebdc); } @@ -24,15 +20,11 @@ pub struct IInstalledVoicesStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstalledVoicesStatic2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstalledVoicesStatic2 { type Vtable = IInstalledVoicesStatic2_Vtbl; } -impl ::core::clone::Clone for IInstalledVoicesStatic2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstalledVoicesStatic2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64255f2e_358d_4058_be9a_fd3fcb423530); } @@ -47,15 +39,11 @@ pub struct IInstalledVoicesStatic2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesisStream(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesisStream { type Vtable = ISpeechSynthesisStream_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesisStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesisStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83e46e93_244c_4622_ba0b_6229c4d0d65d); } @@ -70,15 +58,11 @@ pub struct ISpeechSynthesisStream_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesizer { type Vtable = ISpeechSynthesizer_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce9f7c76_97f4_4ced_ad68_d51c458e45c6); } @@ -99,15 +83,11 @@ pub struct ISpeechSynthesizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesizer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesizer2 { type Vtable = ISpeechSynthesizer2_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesizer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesizer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7c5ecb2_4339_4d6a_bbf8_c7a4f1544c2e); } @@ -119,15 +99,11 @@ pub struct ISpeechSynthesizer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesizerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesizerOptions { type Vtable = ISpeechSynthesizerOptions_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesizerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesizerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0e23871_cc3d_43c9_91b1_ee185324d83d); } @@ -142,15 +118,11 @@ pub struct ISpeechSynthesizerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesizerOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesizerOptions2 { type Vtable = ISpeechSynthesizerOptions2_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesizerOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesizerOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cbef60e_119c_4bed_b118_d250c3a25793); } @@ -167,15 +139,11 @@ pub struct ISpeechSynthesizerOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechSynthesizerOptions3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeechSynthesizerOptions3 { type Vtable = ISpeechSynthesizerOptions3_Vtbl; } -impl ::core::clone::Clone for ISpeechSynthesizerOptions3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechSynthesizerOptions3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x401ed877_902c_4814_a582_a5d0c0769fa8); } @@ -190,15 +158,11 @@ pub struct ISpeechSynthesizerOptions3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVoiceInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVoiceInformation { type Vtable = IVoiceInformation_Vtbl; } -impl ::core::clone::Clone for IVoiceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVoiceInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb127d6a4_1291_4604_aa9c_83134083352c); } @@ -214,6 +178,7 @@ pub struct IVoiceInformation_Vtbl { } #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechSynthesisStream(::windows_core::IUnknown); impl SpeechSynthesisStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -358,25 +323,9 @@ impl SpeechSynthesisStream { } } } -impl ::core::cmp::PartialEq for SpeechSynthesisStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechSynthesisStream {} -impl ::core::fmt::Debug for SpeechSynthesisStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechSynthesisStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechSynthesisStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesisStream;{83e46e93-244c-4622-ba0b-6229c4d0d65d})"); } -impl ::core::clone::Clone for SpeechSynthesisStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechSynthesisStream { type Vtable = ISpeechSynthesisStream_Vtbl; } @@ -405,6 +354,7 @@ unsafe impl ::core::marker::Send for SpeechSynthesisStream {} unsafe impl ::core::marker::Sync for SpeechSynthesisStream {} #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechSynthesizer(::windows_core::IUnknown); impl SpeechSynthesizer { pub fn new() -> ::windows_core::Result { @@ -495,25 +445,9 @@ impl SpeechSynthesizer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpeechSynthesizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechSynthesizer {} -impl ::core::fmt::Debug for SpeechSynthesizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechSynthesizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechSynthesizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizer;{ce9f7c76-97f4-4ced-ad68-d51c458e45c6})"); } -impl ::core::clone::Clone for SpeechSynthesizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechSynthesizer { type Vtable = ISpeechSynthesizer_Vtbl; } @@ -530,6 +464,7 @@ unsafe impl ::core::marker::Send for SpeechSynthesizer {} unsafe impl ::core::marker::Sync for SpeechSynthesizer {} #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeechSynthesizerOptions(::windows_core::IUnknown); impl SpeechSynthesizerOptions { pub fn IncludeWordBoundaryMetadata(&self) -> ::windows_core::Result { @@ -610,25 +545,9 @@ impl SpeechSynthesizerOptions { unsafe { (::windows_core::Interface::vtable(this).SetPunctuationSilence)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpeechSynthesizerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeechSynthesizerOptions {} -impl ::core::fmt::Debug for SpeechSynthesizerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeechSynthesizerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeechSynthesizerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.SpeechSynthesizerOptions;{a0e23871-cc3d-43c9-91b1-ee185324d83d})"); } -impl ::core::clone::Clone for SpeechSynthesizerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeechSynthesizerOptions { type Vtable = ISpeechSynthesizerOptions_Vtbl; } @@ -643,6 +562,7 @@ unsafe impl ::core::marker::Send for SpeechSynthesizerOptions {} unsafe impl ::core::marker::Sync for SpeechSynthesizerOptions {} #[doc = "*Required features: `\"Media_SpeechSynthesis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VoiceInformation(::windows_core::IUnknown); impl VoiceInformation { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -681,25 +601,9 @@ impl VoiceInformation { } } } -impl ::core::cmp::PartialEq for VoiceInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VoiceInformation {} -impl ::core::fmt::Debug for VoiceInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VoiceInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VoiceInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SpeechSynthesis.VoiceInformation;{b127d6a4-1291-4604-aa9c-83134083352c})"); } -impl ::core::clone::Clone for VoiceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VoiceInformation { type Vtable = IVoiceInformation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs index 0eded6bd22..df6f1c85fc 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSource { type Vtable = IAdaptiveMediaSource_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c7332ef_d39f_4396_b4d9_043957a7c964); } @@ -102,15 +98,11 @@ pub struct IAdaptiveMediaSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSource2 { type Vtable = IAdaptiveMediaSource2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17890342_6760_4bb9_a58a_f7aa98b08c0e); } @@ -122,15 +114,11 @@ pub struct IAdaptiveMediaSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSource3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSource3 { type Vtable = IAdaptiveMediaSource3_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba7023fd_c334_461b_a36e_c99f54f7174a); } @@ -159,15 +147,11 @@ pub struct IAdaptiveMediaSource3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceAdvancedSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceAdvancedSettings { type Vtable = IAdaptiveMediaSourceAdvancedSettings_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceAdvancedSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceAdvancedSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55db1680_1aeb_47dc_aa08_9a11610ba45a); } @@ -196,15 +180,11 @@ pub struct IAdaptiveMediaSourceAdvancedSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceCorrelatedTimes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceCorrelatedTimes { type Vtable = IAdaptiveMediaSourceCorrelatedTimes_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceCorrelatedTimes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceCorrelatedTimes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05108787_e032_48e1_ab8d_002b0b3051df); } @@ -227,15 +207,11 @@ pub struct IAdaptiveMediaSourceCorrelatedTimes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceCreationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceCreationResult { type Vtable = IAdaptiveMediaSourceCreationResult_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceCreationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4686b6b2_800f_4e31_9093_76d4782013e7); } @@ -252,15 +228,11 @@ pub struct IAdaptiveMediaSourceCreationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceCreationResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceCreationResult2 { type Vtable = IAdaptiveMediaSourceCreationResult2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceCreationResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceCreationResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c3243bf_1c44_404b_a201_df45ac7898e8); } @@ -272,15 +244,11 @@ pub struct IAdaptiveMediaSourceCreationResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs { type Vtable = IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDiagnosticAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3af64f06_6d9c_494a_b7a9_b3a5dee6ad68); } @@ -324,15 +292,11 @@ pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 { type Vtable = IAdaptiveMediaSourceDiagnosticAvailableEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c6dd857_16a5_4d9f_810e_00bd901b3ef9); } @@ -344,15 +308,11 @@ pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 { type Vtable = IAdaptiveMediaSourceDiagnosticAvailableEventArgs3_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDiagnosticAvailableEventArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3650cd5_daeb_4103_84da_68769ad513ff); } @@ -368,15 +328,11 @@ pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDiagnostics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDiagnostics { type Vtable = IAdaptiveMediaSourceDiagnostics_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDiagnostics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDiagnostics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b24ee68_962e_448c_aebf_b29b56098e23); } @@ -395,15 +351,11 @@ pub struct IAdaptiveMediaSourceDiagnostics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x670c0a44_e04e_4eff_816a_17399f78f4ba); } @@ -416,15 +368,11 @@ pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 { type Vtable = IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3f1f444_96ae_4de0_b540_2b3246e6968c); } @@ -436,15 +384,11 @@ pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadCompletedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19240dc3_5b37_4a1a_8970_d621cb6ca83b); } @@ -472,15 +416,11 @@ pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadCompletedEventArgs2 { type Vtable = IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadCompletedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadCompletedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x704744c4_964a_40e4_af95_9177dd6dfa00); } @@ -497,15 +437,11 @@ pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadCompletedEventArgs3 { type Vtable = IAdaptiveMediaSourceDownloadCompletedEventArgs3_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadCompletedEventArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadCompletedEventArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f8a8bd1_93b2_47c6_badc_8be2c8f7f6e8); } @@ -521,15 +457,11 @@ pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadFailedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37739048_f4ab_40a4_b135_c6dfd8bd7ff1); } @@ -557,15 +489,11 @@ pub struct IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadFailedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadFailedEventArgs2 { type Vtable = IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadFailedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadFailedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70919568_967c_4986_90c5_c6fc4b31e2d8); } @@ -583,15 +511,11 @@ pub struct IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadFailedEventArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadFailedEventArgs3 { type Vtable = IAdaptiveMediaSourceDownloadFailedEventArgs3_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadFailedEventArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadFailedEventArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0354549_1132_4a10_915a_c2211b5b9409); } @@ -607,15 +531,11 @@ pub struct IAdaptiveMediaSourceDownloadFailedEventArgs3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadRequestedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadRequestedDeferral { type Vtable = IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadRequestedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05c68f64_fa20_4dbd_9821_4bf4c9bf77ab); } @@ -627,15 +547,11 @@ pub struct IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadRequestedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc83fdffd_44a9_47a2_bf96_03398b4bfaaf); } @@ -661,15 +577,11 @@ pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadRequestedEventArgs2 { type Vtable = IAdaptiveMediaSourceDownloadRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb37d8bfe_aa44_4d82_825b_611de3bcfecb); } @@ -685,15 +597,11 @@ pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadRequestedEventArgs3 { type Vtable = IAdaptiveMediaSourceDownloadRequestedEventArgs3_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadRequestedEventArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadRequestedEventArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x333c50fd_4f62_4481_ab44_1e47b0574225); } @@ -709,15 +617,11 @@ pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadResult { type Vtable = IAdaptiveMediaSourceDownloadResult_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4afdc73_bcee_4a6a_9f0a_fec41e2339b0); } @@ -756,15 +660,11 @@ pub struct IAdaptiveMediaSourceDownloadResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadResult2 { type Vtable = IAdaptiveMediaSourceDownloadResult2_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15552cb7_7b80_4ac4_8660_a4b97f7c70f0); } @@ -791,15 +691,11 @@ pub struct IAdaptiveMediaSourceDownloadResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceDownloadStatistics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceDownloadStatistics { type Vtable = IAdaptiveMediaSourceDownloadStatistics_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceDownloadStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceDownloadStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa306cefb_e96a_4dff_a9b8_1ae08c01ae98); } @@ -823,15 +719,11 @@ pub struct IAdaptiveMediaSourceDownloadStatistics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs { type Vtable = IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23a29f6d_7dda_4a51_87a9_6fa8c5b292be); } @@ -845,15 +737,11 @@ pub struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveMediaSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveMediaSourceStatics { type Vtable = IAdaptiveMediaSourceStatics_Vtbl; } -impl ::core::clone::Clone for IAdaptiveMediaSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveMediaSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50a6bd5d_66ef_4cd3_9579_9e660507dc3f); } @@ -881,6 +769,7 @@ pub struct IAdaptiveMediaSourceStatics_Vtbl { } #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSource(::windows_core::IUnknown); impl AdaptiveMediaSource { pub fn IsLive(&self) -> ::windows_core::Result { @@ -1217,25 +1106,9 @@ impl AdaptiveMediaSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AdaptiveMediaSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSource {} -impl ::core::fmt::Debug for AdaptiveMediaSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSource;{4c7332ef-d39f-4396-b4d9-043957a7c964})"); } -impl ::core::clone::Clone for AdaptiveMediaSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSource { type Vtable = IAdaptiveMediaSource_Vtbl; } @@ -1254,6 +1127,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSource {} unsafe impl ::core::marker::Sync for AdaptiveMediaSource {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceAdvancedSettings(::windows_core::IUnknown); impl AdaptiveMediaSourceAdvancedSettings { pub fn AllSegmentsIndependent(&self) -> ::windows_core::Result { @@ -1304,25 +1178,9 @@ impl AdaptiveMediaSourceAdvancedSettings { unsafe { (::windows_core::Interface::vtable(this).SetBitrateDowngradeTriggerRatio)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceAdvancedSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceAdvancedSettings {} -impl ::core::fmt::Debug for AdaptiveMediaSourceAdvancedSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceAdvancedSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceAdvancedSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceAdvancedSettings;{55db1680-1aeb-47dc-aa08-9a11610ba45a})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceAdvancedSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceAdvancedSettings { type Vtable = IAdaptiveMediaSourceAdvancedSettings_Vtbl; } @@ -1337,6 +1195,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceAdvancedSettings {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceAdvancedSettings {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceCorrelatedTimes(::windows_core::IUnknown); impl AdaptiveMediaSourceCorrelatedTimes { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1367,25 +1226,9 @@ impl AdaptiveMediaSourceCorrelatedTimes { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceCorrelatedTimes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceCorrelatedTimes {} -impl ::core::fmt::Debug for AdaptiveMediaSourceCorrelatedTimes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceCorrelatedTimes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceCorrelatedTimes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCorrelatedTimes;{05108787-e032-48e1-ab8d-002b0b3051df})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceCorrelatedTimes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceCorrelatedTimes { type Vtable = IAdaptiveMediaSourceCorrelatedTimes_Vtbl; } @@ -1400,6 +1243,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceCorrelatedTimes {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceCorrelatedTimes {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceCreationResult(::windows_core::IUnknown); impl AdaptiveMediaSourceCreationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1433,25 +1277,9 @@ impl AdaptiveMediaSourceCreationResult { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceCreationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceCreationResult {} -impl ::core::fmt::Debug for AdaptiveMediaSourceCreationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceCreationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceCreationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceCreationResult;{4686b6b2-800f-4e31-9093-76d4782013e7})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceCreationResult { type Vtable = IAdaptiveMediaSourceCreationResult_Vtbl; } @@ -1466,6 +1294,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceCreationResult {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceCreationResult {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDiagnosticAvailableEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { pub fn DiagnosticType(&self) -> ::windows_core::Result { @@ -1571,25 +1400,9 @@ impl AdaptiveMediaSourceDiagnosticAvailableEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDiagnosticAvailableEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDiagnosticAvailableEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDiagnosticAvailableEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDiagnosticAvailableEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDiagnosticAvailableEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs;{3af64f06-6d9c-494a-b7a9-b3a5dee6ad68})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDiagnosticAvailableEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDiagnosticAvailableEventArgs { type Vtable = IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl; } @@ -1604,6 +1417,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDiagnosticAvailableEvent unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDiagnosticAvailableEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDiagnostics(::windows_core::IUnknown); impl AdaptiveMediaSourceDiagnostics { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1625,25 +1439,9 @@ impl AdaptiveMediaSourceDiagnostics { unsafe { (::windows_core::Interface::vtable(this).RemoveDiagnosticAvailable)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDiagnostics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDiagnostics {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDiagnostics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDiagnostics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDiagnostics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnostics;{9b24ee68-962e-448c-aebf-b29b56098e23})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDiagnostics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDiagnostics { type Vtable = IAdaptiveMediaSourceDiagnostics_Vtbl; } @@ -1658,6 +1456,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDiagnostics {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDiagnostics {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadBitrateChangedEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadBitrateChangedEventArgs { pub fn OldValue(&self) -> ::windows_core::Result { @@ -1682,25 +1481,9 @@ impl AdaptiveMediaSourceDownloadBitrateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadBitrateChangedEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadBitrateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs;{670c0a44-e04e-4eff-816a-17399f78f4ba})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadBitrateChangedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl; } @@ -1715,6 +1498,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadBitrateChangedEv unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadBitrateChangedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadCompletedEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadCompletedEventArgs { pub fn ResourceType(&self) -> ::windows_core::Result { @@ -1800,25 +1584,9 @@ impl AdaptiveMediaSourceDownloadCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadCompletedEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs;{19240dc3-5b37-4a1a-8970-d621cb6ca83b})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadCompletedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl; } @@ -1833,6 +1601,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadCompletedEventAr unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadCompletedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadFailedEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadFailedEventArgs { pub fn ResourceType(&self) -> ::windows_core::Result { @@ -1925,25 +1694,9 @@ impl AdaptiveMediaSourceDownloadFailedEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadFailedEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadFailedEventArgs;{37739048-f4ab-40a4-b135-c6dfd8bd7ff1})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadFailedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl; } @@ -1958,6 +1711,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadFailedEventArgs unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadFailedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadRequestedDeferral(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadRequestedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1965,25 +1719,9 @@ impl AdaptiveMediaSourceDownloadRequestedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadRequestedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadRequestedDeferral {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadRequestedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadRequestedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadRequestedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedDeferral;{05c68f64-fa20-4dbd-9821-4bf4c9bf77ab})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadRequestedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadRequestedDeferral { type Vtable = IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl; } @@ -1998,6 +1736,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadRequestedDeferra unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadRequestedDeferral {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadRequestedEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadRequestedEventArgs { pub fn ResourceType(&self) -> ::windows_core::Result { @@ -2081,25 +1820,9 @@ impl AdaptiveMediaSourceDownloadRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadRequestedEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs;{c83fdffd-44a9-47a2-bf96-03398b4bfaaf})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadRequestedEventArgs { type Vtable = IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl; } @@ -2114,6 +1837,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadRequestedEventAr unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadRequestedEventArgs {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadResult(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2229,25 +1953,9 @@ impl AdaptiveMediaSourceDownloadResult { unsafe { (::windows_core::Interface::vtable(this).SetResourceByteRangeLength)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadResult {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadResult;{f4afdc73-bcee-4a6a-9f0a-fec41e2339b0})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadResult { type Vtable = IAdaptiveMediaSourceDownloadResult_Vtbl; } @@ -2262,6 +1970,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadResult {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadResult {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourceDownloadStatistics(::windows_core::IUnknown); impl AdaptiveMediaSourceDownloadStatistics { pub fn ContentBytesReceivedCount(&self) -> ::windows_core::Result { @@ -2299,25 +2008,9 @@ impl AdaptiveMediaSourceDownloadStatistics { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourceDownloadStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourceDownloadStatistics {} -impl ::core::fmt::Debug for AdaptiveMediaSourceDownloadStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourceDownloadStatistics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourceDownloadStatistics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDownloadStatistics;{a306cefb-e96a-4dff-a9b8-1ae08c01ae98})"); } -impl ::core::clone::Clone for AdaptiveMediaSourceDownloadStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourceDownloadStatistics { type Vtable = IAdaptiveMediaSourceDownloadStatistics_Vtbl; } @@ -2332,6 +2025,7 @@ unsafe impl ::core::marker::Send for AdaptiveMediaSourceDownloadStatistics {} unsafe impl ::core::marker::Sync for AdaptiveMediaSourceDownloadStatistics {} #[doc = "*Required features: `\"Media_Streaming_Adaptive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveMediaSourcePlaybackBitrateChangedEventArgs(::windows_core::IUnknown); impl AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { pub fn OldValue(&self) -> ::windows_core::Result { @@ -2356,25 +2050,9 @@ impl AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs {} -impl ::core::fmt::Debug for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveMediaSourcePlaybackBitrateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Streaming.Adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs;{23a29f6d-7dda-4a51-87a9-6fa8c5b292be})"); } -impl ::core::clone::Clone for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveMediaSourcePlaybackBitrateChangedEventArgs { type Vtable = IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index 19952fe40a..298ebd26d6 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTranscoder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaTranscoder { type Vtable = IMediaTranscoder_Vtbl; } -impl ::core::clone::Clone for IMediaTranscoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTranscoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x190c99d2_a0aa_4d34_86bc_eed1b12c2f5b); } @@ -58,15 +54,11 @@ pub struct IMediaTranscoder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTranscoder2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaTranscoder2 { type Vtable = IMediaTranscoder2_Vtbl; } -impl ::core::clone::Clone for IMediaTranscoder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTranscoder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40531d74_35e0_4f04_8574_ca8bc4e5a082); } @@ -83,15 +75,11 @@ pub struct IMediaTranscoder2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrepareTranscodeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPrepareTranscodeResult { type Vtable = IPrepareTranscodeResult_Vtbl; } -impl ::core::clone::Clone for IPrepareTranscodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrepareTranscodeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05f25dce_994f_4a34_9d68_97ccce1730d6); } @@ -108,6 +96,7 @@ pub struct IPrepareTranscodeResult_Vtbl { } #[doc = "*Required features: `\"Media_Transcoding\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaTranscoder(::windows_core::IUnknown); impl MediaTranscoder { pub fn new() -> ::windows_core::Result { @@ -253,25 +242,9 @@ impl MediaTranscoder { } } } -impl ::core::cmp::PartialEq for MediaTranscoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaTranscoder {} -impl ::core::fmt::Debug for MediaTranscoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaTranscoder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaTranscoder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.MediaTranscoder;{190c99d2-a0aa-4d34-86bc-eed1b12c2f5b})"); } -impl ::core::clone::Clone for MediaTranscoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaTranscoder { type Vtable = IMediaTranscoder_Vtbl; } @@ -286,6 +259,7 @@ unsafe impl ::core::marker::Send for MediaTranscoder {} unsafe impl ::core::marker::Sync for MediaTranscoder {} #[doc = "*Required features: `\"Media_Transcoding\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PrepareTranscodeResult(::windows_core::IUnknown); impl PrepareTranscodeResult { pub fn CanTranscode(&self) -> ::windows_core::Result { @@ -312,25 +286,9 @@ impl PrepareTranscodeResult { } } } -impl ::core::cmp::PartialEq for PrepareTranscodeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PrepareTranscodeResult {} -impl ::core::fmt::Debug for PrepareTranscodeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PrepareTranscodeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PrepareTranscodeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.Transcoding.PrepareTranscodeResult;{05f25dce-994f-4a34-9d68-97ccce1730d6})"); } -impl ::core::clone::Clone for PrepareTranscodeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PrepareTranscodeResult { type Vtable = IPrepareTranscodeResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index f071c1f5a7..532857c338 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -17,8 +17,8 @@ impl IMediaExtension_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SetProperties: SetProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IMediaFrame_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IMediaMarker_Vtbl { Text: Text::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl IMediaMarkers_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Markers: Markers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 3ac10d3e5b..dae423b7ad 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -54,15 +54,11 @@ pub mod Streaming; pub mod Transcoding; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioBuffer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioBuffer { type Vtable = IAudioBuffer_Vtbl; } -impl ::core::clone::Clone for IAudioBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35175827_724b_4c6a_b130_f6537f9ae0d0); } @@ -76,15 +72,11 @@ pub struct IAudioBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFrame { type Vtable = IAudioFrame_Vtbl; } -impl ::core::clone::Clone for IAudioFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe36ac304_aab2_4277_9ed0_43cedf8e29c6); } @@ -96,15 +88,11 @@ pub struct IAudioFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioFrameFactory { type Vtable = IAudioFrameFactory_Vtbl; } -impl ::core::clone::Clone for IAudioFrameFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91a90ade_2422_40a6_b9ad_30d02404317d); } @@ -116,15 +104,11 @@ pub struct IAudioFrameFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoRepeatModeChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutoRepeatModeChangeRequestedEventArgs { type Vtable = IAutoRepeatModeChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAutoRepeatModeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoRepeatModeChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea137efa_d852_438e_882b_c990109a78f4); } @@ -136,15 +120,11 @@ pub struct IAutoRepeatModeChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageDisplayProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageDisplayProperties { type Vtable = IImageDisplayProperties_Vtbl; } -impl ::core::clone::Clone for IImageDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageDisplayProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd0bc7ef_54e7_411f_9933_f0e98b0a96d2); } @@ -160,18 +140,13 @@ pub struct IImageDisplayProperties_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaControl(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IMediaControl { type Vtable = IMediaControl_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IMediaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IMediaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98f1fbe1_7a8d_42cb_b6fe_8fe698264f13); } @@ -315,6 +290,7 @@ pub struct IMediaControl_Vtbl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaExtension(::windows_core::IUnknown); impl IMediaExtension { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -328,28 +304,12 @@ impl IMediaExtension { } } ::windows_core::imp::interface_hierarchy!(IMediaExtension, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaExtension {} -impl ::core::fmt::Debug for IMediaExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaExtension").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaExtension { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{07915118-45df-442b-8a3f-f7826a6370ab}"); } unsafe impl ::windows_core::Interface for IMediaExtension { type Vtable = IMediaExtension_Vtbl; } -impl ::core::clone::Clone for IMediaExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07915118_45df_442b_8a3f_f7826a6370ab); } @@ -364,15 +324,11 @@ pub struct IMediaExtension_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaExtensionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaExtensionManager { type Vtable = IMediaExtensionManager_Vtbl; } -impl ::core::clone::Clone for IMediaExtensionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaExtensionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a25eaf5_242d_4dfb_97f4_69b7c42576ff); } @@ -413,15 +369,11 @@ pub struct IMediaExtensionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaExtensionManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaExtensionManager2 { type Vtable = IMediaExtensionManager2_Vtbl; } -impl ::core::clone::Clone for IMediaExtensionManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaExtensionManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bcebf47_4043_4fed_acaf_54ec29dfb1f7); } @@ -436,6 +388,7 @@ pub struct IMediaExtensionManager2_Vtbl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFrame(::windows_core::IUnknown); impl IMediaFrame { pub fn Type(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -536,28 +489,12 @@ impl IMediaFrame { ::windows_core::imp::interface_hierarchy!(IMediaFrame, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IMediaFrame {} -impl ::core::cmp::PartialEq for IMediaFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaFrame {} -impl ::core::fmt::Debug for IMediaFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bfb52f8c-5943-47d8-8e10-05308aa5fbd0}"); } unsafe impl ::windows_core::Interface for IMediaFrame { type Vtable = IMediaFrame_Vtbl; } -impl ::core::clone::Clone for IMediaFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfb52f8c_5943_47d8_8e10_05308aa5fbd0); } @@ -600,6 +537,7 @@ pub struct IMediaFrame_Vtbl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaMarker(::windows_core::IUnknown); impl IMediaMarker { #[doc = "*Required features: `\"Foundation\"`*"] @@ -627,28 +565,12 @@ impl IMediaMarker { } } ::windows_core::imp::interface_hierarchy!(IMediaMarker, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaMarker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaMarker {} -impl ::core::fmt::Debug for IMediaMarker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaMarker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaMarker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1803def8-dca5-4b6f-9c20-e3d3c0643625}"); } unsafe impl ::windows_core::Interface for IMediaMarker { type Vtable = IMediaMarker_Vtbl; } -impl ::core::clone::Clone for IMediaMarker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaMarker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1803def8_dca5_4b6f_9c20_e3d3c0643625); } @@ -665,15 +587,11 @@ pub struct IMediaMarker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaMarkerTypesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaMarkerTypesStatics { type Vtable = IMediaMarkerTypesStatics_Vtbl; } -impl ::core::clone::Clone for IMediaMarkerTypesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaMarkerTypesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb198040_482f_4743_8832_45853821ece0); } @@ -685,6 +603,7 @@ pub struct IMediaMarkerTypesStatics_Vtbl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaMarkers(::windows_core::IUnknown); impl IMediaMarkers { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -698,28 +617,12 @@ impl IMediaMarkers { } } ::windows_core::imp::interface_hierarchy!(IMediaMarkers, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMediaMarkers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaMarkers {} -impl ::core::fmt::Debug for IMediaMarkers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaMarkers").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMediaMarkers { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{afeab189-f8dd-466e-aa10-920b52353fdf}"); } unsafe impl ::windows_core::Interface for IMediaMarkers { type Vtable = IMediaMarkers_Vtbl; } -impl ::core::clone::Clone for IMediaMarkers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaMarkers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafeab189_f8dd_466e_aa10_920b52353fdf); } @@ -734,15 +637,11 @@ pub struct IMediaMarkers_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaProcessingTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaProcessingTriggerDetails { type Vtable = IMediaProcessingTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMediaProcessingTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaProcessingTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb8564ac_a351_4f4e_b4f0_9bf2408993db); } @@ -757,15 +656,11 @@ pub struct IMediaProcessingTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTimelineController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaTimelineController { type Vtable = IMediaTimelineController_Vtbl; } -impl ::core::clone::Clone for IMediaTimelineController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTimelineController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ed361f3_0b78_4360_bf71_0c841999ea1b); } @@ -806,15 +701,11 @@ pub struct IMediaTimelineController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTimelineController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaTimelineController2 { type Vtable = IMediaTimelineController2_Vtbl; } -impl ::core::clone::Clone for IMediaTimelineController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTimelineController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef74ea38_9e72_4df9_8355_6e90c81bbadd); } @@ -851,15 +742,11 @@ pub struct IMediaTimelineController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTimelineControllerFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaTimelineControllerFailedEventArgs { type Vtable = IMediaTimelineControllerFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMediaTimelineControllerFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaTimelineControllerFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8821f81d_3e77_43fb_be26_4fc87a044834); } @@ -871,15 +758,11 @@ pub struct IMediaTimelineControllerFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMusicDisplayProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMusicDisplayProperties { type Vtable = IMusicDisplayProperties_Vtbl; } -impl ::core::clone::Clone for IMusicDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMusicDisplayProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bbf0c59_d0a0_4d26_92a0_f978e1d18e7b); } @@ -896,15 +779,11 @@ pub struct IMusicDisplayProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMusicDisplayProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMusicDisplayProperties2 { type Vtable = IMusicDisplayProperties2_Vtbl; } -impl ::core::clone::Clone for IMusicDisplayProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMusicDisplayProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00368462_97d3_44b9_b00f_008afcefaf18); } @@ -923,15 +802,11 @@ pub struct IMusicDisplayProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMusicDisplayProperties3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMusicDisplayProperties3 { type Vtable = IMusicDisplayProperties3_Vtbl; } -impl ::core::clone::Clone for IMusicDisplayProperties3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMusicDisplayProperties3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4db51ac1_0681_4e8c_9401_b8159d9eefc7); } @@ -944,15 +819,11 @@ pub struct IMusicDisplayProperties3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackPositionChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackPositionChangeRequestedEventArgs { type Vtable = IPlaybackPositionChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPlaybackPositionChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackPositionChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4493f88_eb28_4961_9c14_335e44f3e125); } @@ -967,15 +838,11 @@ pub struct IPlaybackPositionChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackRateChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaybackRateChangeRequestedEventArgs { type Vtable = IPlaybackRateChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPlaybackRateChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackRateChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ce2c41f_3cd6_4f77_9ba7_eb27c26a2140); } @@ -987,15 +854,11 @@ pub struct IPlaybackRateChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShuffleEnabledChangeRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShuffleEnabledChangeRequestedEventArgs { type Vtable = IShuffleEnabledChangeRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IShuffleEnabledChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShuffleEnabledChangeRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49b593fe_4fd0_4666_a314_c0e01940d302); } @@ -1007,15 +870,11 @@ pub struct IShuffleEnabledChangeRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControls(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControls { type Vtable = ISystemMediaTransportControls_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControls { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99fa3ff4_1742_42a6_902e_087d41f965ec); } @@ -1068,15 +927,11 @@ pub struct ISystemMediaTransportControls_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControls2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControls2 { type Vtable = ISystemMediaTransportControls2_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControls2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControls2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea98d2f6_7f3c_4af2_a586_72889808efb1); } @@ -1126,15 +981,11 @@ pub struct ISystemMediaTransportControls2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsButtonPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsButtonPressedEventArgs { type Vtable = ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsButtonPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsButtonPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7f47116_a56f_4dc8_9e11_92031f4a87c2); } @@ -1146,15 +997,11 @@ pub struct ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsDisplayUpdater(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsDisplayUpdater { type Vtable = ISystemMediaTransportControlsDisplayUpdater_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsDisplayUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsDisplayUpdater { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8abbc53e_fa55_4ecf_ad8e_c984e5dd1550); } @@ -1186,15 +1033,11 @@ pub struct ISystemMediaTransportControlsDisplayUpdater_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsPropertyChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsPropertyChangedEventArgs { type Vtable = ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsPropertyChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsPropertyChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0ca0936_339b_4cb3_8eeb_737607f56e08); } @@ -1206,15 +1049,11 @@ pub struct ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsStatics { type Vtable = ISystemMediaTransportControlsStatics_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43ba380a_eca4_4832_91ab_d415fae484c6); } @@ -1226,15 +1065,11 @@ pub struct ISystemMediaTransportControlsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsTimelineProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsTimelineProperties { type Vtable = ISystemMediaTransportControlsTimelineProperties_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsTimelineProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsTimelineProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5125316a_c3a2_475b_8507_93534dc88f15); } @@ -1285,15 +1120,11 @@ pub struct ISystemMediaTransportControlsTimelineProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoDisplayProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoDisplayProperties { type Vtable = IVideoDisplayProperties_Vtbl; } -impl ::core::clone::Clone for IVideoDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoDisplayProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5609fdb1_5d2d_4872_8170_45dee5bc2f5c); } @@ -1308,15 +1139,11 @@ pub struct IVideoDisplayProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoDisplayProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoDisplayProperties2 { type Vtable = IVideoDisplayProperties2_Vtbl; } -impl ::core::clone::Clone for IVideoDisplayProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoDisplayProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb410e1ce_ab52_41ab_a486_cc10fab152f9); } @@ -1331,15 +1158,11 @@ pub struct IVideoDisplayProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEffectsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoEffectsStatics { type Vtable = IVideoEffectsStatics_Vtbl; } -impl ::core::clone::Clone for IVideoEffectsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEffectsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fcda5e8_baf1_4521_980c_3bcebb44cf38); } @@ -1351,15 +1174,11 @@ pub struct IVideoEffectsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoFrame { type Vtable = IVideoFrame_Vtbl; } -impl ::core::clone::Clone for IVideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cc06625_90fc_4c92_bd95_7ded21819d1c); } @@ -1382,15 +1201,11 @@ pub struct IVideoFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrame2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoFrame2 { type Vtable = IVideoFrame2_Vtbl; } -impl ::core::clone::Clone for IVideoFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3837840d_336c_4366_8d46_060798736c5d); } @@ -1405,15 +1220,11 @@ pub struct IVideoFrame2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrameFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoFrameFactory { type Vtable = IVideoFrameFactory_Vtbl; } -impl ::core::clone::Clone for IVideoFrameFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrameFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x014b6d69_2228_4c92_92ff_50c380d3e776); } @@ -1432,15 +1243,11 @@ pub struct IVideoFrameFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrameStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoFrameStatics { type Vtable = IVideoFrameStatics_Vtbl; } -impl ::core::clone::Clone for IVideoFrameStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrameStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab2a556f_6111_4b33_8ec3_2b209a02e17a); } @@ -1467,6 +1274,7 @@ pub struct IVideoFrameStatics_Vtbl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioBuffer(::windows_core::IUnknown); impl AudioBuffer { pub fn Capacity(&self) -> ::windows_core::Result { @@ -1503,25 +1311,9 @@ impl AudioBuffer { } } } -impl ::core::cmp::PartialEq for AudioBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioBuffer {} -impl ::core::fmt::Debug for AudioBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AudioBuffer;{35175827-724b-4c6a-b130-f6537f9ae0d0})"); } -impl ::core::clone::Clone for AudioBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioBuffer { type Vtable = IAudioBuffer_Vtbl; } @@ -1540,6 +1332,7 @@ unsafe impl ::core::marker::Send for AudioBuffer {} unsafe impl ::core::marker::Sync for AudioBuffer {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioFrame(::windows_core::IUnknown); impl AudioFrame { pub fn LockBuffer(&self, mode: AudioBufferAccessMode) -> ::windows_core::Result { @@ -1655,25 +1448,9 @@ impl AudioFrame { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioFrame {} -impl ::core::fmt::Debug for AudioFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AudioFrame;{e36ac304-aab2-4277-9ed0-43cedf8e29c6})"); } -impl ::core::clone::Clone for AudioFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioFrame { type Vtable = IAudioFrame_Vtbl; } @@ -1691,6 +1468,7 @@ unsafe impl ::core::marker::Send for AudioFrame {} unsafe impl ::core::marker::Sync for AudioFrame {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutoRepeatModeChangeRequestedEventArgs(::windows_core::IUnknown); impl AutoRepeatModeChangeRequestedEventArgs { pub fn RequestedAutoRepeatMode(&self) -> ::windows_core::Result { @@ -1701,25 +1479,9 @@ impl AutoRepeatModeChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for AutoRepeatModeChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutoRepeatModeChangeRequestedEventArgs {} -impl ::core::fmt::Debug for AutoRepeatModeChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutoRepeatModeChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutoRepeatModeChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.AutoRepeatModeChangeRequestedEventArgs;{ea137efa-d852-438e-882b-c990109a78f4})"); } -impl ::core::clone::Clone for AutoRepeatModeChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutoRepeatModeChangeRequestedEventArgs { type Vtable = IAutoRepeatModeChangeRequestedEventArgs_Vtbl; } @@ -1734,6 +1496,7 @@ unsafe impl ::core::marker::Send for AutoRepeatModeChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for AutoRepeatModeChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageDisplayProperties(::windows_core::IUnknown); impl ImageDisplayProperties { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1759,25 +1522,9 @@ impl ImageDisplayProperties { unsafe { (::windows_core::Interface::vtable(this).SetSubtitle)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ImageDisplayProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageDisplayProperties {} -impl ::core::fmt::Debug for ImageDisplayProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageDisplayProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageDisplayProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ImageDisplayProperties;{cd0bc7ef-54e7-411f-9933-f0e98b0a96d2})"); } -impl ::core::clone::Clone for ImageDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageDisplayProperties { type Vtable = IImageDisplayProperties_Vtbl; } @@ -2063,6 +1810,7 @@ impl ::windows_core::RuntimeName for MediaControl { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaExtensionManager(::windows_core::IUnknown); impl MediaExtensionManager { pub fn new() -> ::windows_core::Result { @@ -2161,25 +1909,9 @@ impl MediaExtensionManager { unsafe { (::windows_core::Interface::vtable(this).RegisterMediaExtensionForAppService)(::windows_core::Interface::as_raw(this), extension.try_into_param()?.abi(), connection.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for MediaExtensionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaExtensionManager {} -impl ::core::fmt::Debug for MediaExtensionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaExtensionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaExtensionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaExtensionManager;{4a25eaf5-242d-4dfb-97f4-69b7c42576ff})"); } -impl ::core::clone::Clone for MediaExtensionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaExtensionManager { type Vtable = IMediaExtensionManager_Vtbl; } @@ -2212,6 +1944,7 @@ impl ::windows_core::RuntimeName for MediaMarkerTypes { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaProcessingTriggerDetails(::windows_core::IUnknown); impl MediaProcessingTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2224,25 +1957,9 @@ impl MediaProcessingTriggerDetails { } } } -impl ::core::cmp::PartialEq for MediaProcessingTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaProcessingTriggerDetails {} -impl ::core::fmt::Debug for MediaProcessingTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaProcessingTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaProcessingTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaProcessingTriggerDetails;{eb8564ac-a351-4f4e-b4f0-9bf2408993db})"); } -impl ::core::clone::Clone for MediaProcessingTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaProcessingTriggerDetails { type Vtable = IMediaProcessingTriggerDetails_Vtbl; } @@ -2257,6 +1974,7 @@ unsafe impl ::core::marker::Send for MediaProcessingTriggerDetails {} unsafe impl ::core::marker::Sync for MediaProcessingTriggerDetails {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaTimelineController(::windows_core::IUnknown); impl MediaTimelineController { pub fn new() -> ::windows_core::Result { @@ -2413,25 +2131,9 @@ impl MediaTimelineController { unsafe { (::windows_core::Interface::vtable(this).RemoveEnded)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MediaTimelineController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaTimelineController {} -impl ::core::fmt::Debug for MediaTimelineController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaTimelineController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaTimelineController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineController;{8ed361f3-0b78-4360-bf71-0c841999ea1b})"); } -impl ::core::clone::Clone for MediaTimelineController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaTimelineController { type Vtable = IMediaTimelineController_Vtbl; } @@ -2446,6 +2148,7 @@ unsafe impl ::core::marker::Send for MediaTimelineController {} unsafe impl ::core::marker::Sync for MediaTimelineController {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaTimelineControllerFailedEventArgs(::windows_core::IUnknown); impl MediaTimelineControllerFailedEventArgs { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -2456,25 +2159,9 @@ impl MediaTimelineControllerFailedEventArgs { } } } -impl ::core::cmp::PartialEq for MediaTimelineControllerFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaTimelineControllerFailedEventArgs {} -impl ::core::fmt::Debug for MediaTimelineControllerFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaTimelineControllerFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaTimelineControllerFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MediaTimelineControllerFailedEventArgs;{8821f81d-3e77-43fb-be26-4fc87a044834})"); } -impl ::core::clone::Clone for MediaTimelineControllerFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaTimelineControllerFailedEventArgs { type Vtable = IMediaTimelineControllerFailedEventArgs_Vtbl; } @@ -2489,6 +2176,7 @@ unsafe impl ::core::marker::Send for MediaTimelineControllerFailedEventArgs {} unsafe impl ::core::marker::Sync for MediaTimelineControllerFailedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MusicDisplayProperties(::windows_core::IUnknown); impl MusicDisplayProperties { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2567,25 +2255,9 @@ impl MusicDisplayProperties { unsafe { (::windows_core::Interface::vtable(this).SetAlbumTrackCount)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MusicDisplayProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MusicDisplayProperties {} -impl ::core::fmt::Debug for MusicDisplayProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MusicDisplayProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MusicDisplayProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.MusicDisplayProperties;{6bbf0c59-d0a0-4d26-92a0-f978e1d18e7b})"); } -impl ::core::clone::Clone for MusicDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MusicDisplayProperties { type Vtable = IMusicDisplayProperties_Vtbl; } @@ -2600,6 +2272,7 @@ unsafe impl ::core::marker::Send for MusicDisplayProperties {} unsafe impl ::core::marker::Sync for MusicDisplayProperties {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackPositionChangeRequestedEventArgs(::windows_core::IUnknown); impl PlaybackPositionChangeRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2612,25 +2285,9 @@ impl PlaybackPositionChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PlaybackPositionChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackPositionChangeRequestedEventArgs {} -impl ::core::fmt::Debug for PlaybackPositionChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackPositionChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackPositionChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackPositionChangeRequestedEventArgs;{b4493f88-eb28-4961-9c14-335e44f3e125})"); } -impl ::core::clone::Clone for PlaybackPositionChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackPositionChangeRequestedEventArgs { type Vtable = IPlaybackPositionChangeRequestedEventArgs_Vtbl; } @@ -2645,6 +2302,7 @@ unsafe impl ::core::marker::Send for PlaybackPositionChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackPositionChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaybackRateChangeRequestedEventArgs(::windows_core::IUnknown); impl PlaybackRateChangeRequestedEventArgs { pub fn RequestedPlaybackRate(&self) -> ::windows_core::Result { @@ -2655,25 +2313,9 @@ impl PlaybackRateChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for PlaybackRateChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaybackRateChangeRequestedEventArgs {} -impl ::core::fmt::Debug for PlaybackRateChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaybackRateChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaybackRateChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.PlaybackRateChangeRequestedEventArgs;{2ce2c41f-3cd6-4f77-9ba7-eb27c26a2140})"); } -impl ::core::clone::Clone for PlaybackRateChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaybackRateChangeRequestedEventArgs { type Vtable = IPlaybackRateChangeRequestedEventArgs_Vtbl; } @@ -2688,6 +2330,7 @@ unsafe impl ::core::marker::Send for PlaybackRateChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for PlaybackRateChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShuffleEnabledChangeRequestedEventArgs(::windows_core::IUnknown); impl ShuffleEnabledChangeRequestedEventArgs { pub fn RequestedShuffleEnabled(&self) -> ::windows_core::Result { @@ -2698,25 +2341,9 @@ impl ShuffleEnabledChangeRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for ShuffleEnabledChangeRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShuffleEnabledChangeRequestedEventArgs {} -impl ::core::fmt::Debug for ShuffleEnabledChangeRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShuffleEnabledChangeRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShuffleEnabledChangeRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.ShuffleEnabledChangeRequestedEventArgs;{49b593fe-4fd0-4666-a314-c0e01940d302})"); } -impl ::core::clone::Clone for ShuffleEnabledChangeRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShuffleEnabledChangeRequestedEventArgs { type Vtable = IShuffleEnabledChangeRequestedEventArgs_Vtbl; } @@ -2731,6 +2358,7 @@ unsafe impl ::core::marker::Send for ShuffleEnabledChangeRequestedEventArgs {} unsafe impl ::core::marker::Sync for ShuffleEnabledChangeRequestedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaTransportControls(::windows_core::IUnknown); impl SystemMediaTransportControls { pub fn PlaybackStatus(&self) -> ::windows_core::Result { @@ -3039,25 +2667,9 @@ impl SystemMediaTransportControls { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemMediaTransportControls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaTransportControls {} -impl ::core::fmt::Debug for SystemMediaTransportControls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaTransportControls").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaTransportControls { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControls;{99fa3ff4-1742-42a6-902e-087d41f965ec})"); } -impl ::core::clone::Clone for SystemMediaTransportControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaTransportControls { type Vtable = ISystemMediaTransportControls_Vtbl; } @@ -3072,6 +2684,7 @@ unsafe impl ::core::marker::Send for SystemMediaTransportControls {} unsafe impl ::core::marker::Sync for SystemMediaTransportControls {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaTransportControlsButtonPressedEventArgs(::windows_core::IUnknown); impl SystemMediaTransportControlsButtonPressedEventArgs { pub fn Button(&self) -> ::windows_core::Result { @@ -3082,25 +2695,9 @@ impl SystemMediaTransportControlsButtonPressedEventArgs { } } } -impl ::core::cmp::PartialEq for SystemMediaTransportControlsButtonPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaTransportControlsButtonPressedEventArgs {} -impl ::core::fmt::Debug for SystemMediaTransportControlsButtonPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaTransportControlsButtonPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaTransportControlsButtonPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsButtonPressedEventArgs;{b7f47116-a56f-4dc8-9e11-92031f4a87c2})"); } -impl ::core::clone::Clone for SystemMediaTransportControlsButtonPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaTransportControlsButtonPressedEventArgs { type Vtable = ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl; } @@ -3115,6 +2712,7 @@ unsafe impl ::core::marker::Send for SystemMediaTransportControlsButtonPressedEv unsafe impl ::core::marker::Sync for SystemMediaTransportControlsButtonPressedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaTransportControlsDisplayUpdater(::windows_core::IUnknown); impl SystemMediaTransportControlsDisplayUpdater { pub fn Type(&self) -> ::windows_core::Result { @@ -3199,25 +2797,9 @@ impl SystemMediaTransportControlsDisplayUpdater { unsafe { (::windows_core::Interface::vtable(this).Update)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SystemMediaTransportControlsDisplayUpdater { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaTransportControlsDisplayUpdater {} -impl ::core::fmt::Debug for SystemMediaTransportControlsDisplayUpdater { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaTransportControlsDisplayUpdater").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaTransportControlsDisplayUpdater { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsDisplayUpdater;{8abbc53e-fa55-4ecf-ad8e-c984e5dd1550})"); } -impl ::core::clone::Clone for SystemMediaTransportControlsDisplayUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaTransportControlsDisplayUpdater { type Vtable = ISystemMediaTransportControlsDisplayUpdater_Vtbl; } @@ -3232,6 +2814,7 @@ unsafe impl ::core::marker::Send for SystemMediaTransportControlsDisplayUpdater unsafe impl ::core::marker::Sync for SystemMediaTransportControlsDisplayUpdater {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaTransportControlsPropertyChangedEventArgs(::windows_core::IUnknown); impl SystemMediaTransportControlsPropertyChangedEventArgs { pub fn Property(&self) -> ::windows_core::Result { @@ -3242,25 +2825,9 @@ impl SystemMediaTransportControlsPropertyChangedEventArgs { } } } -impl ::core::cmp::PartialEq for SystemMediaTransportControlsPropertyChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaTransportControlsPropertyChangedEventArgs {} -impl ::core::fmt::Debug for SystemMediaTransportControlsPropertyChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaTransportControlsPropertyChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaTransportControlsPropertyChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsPropertyChangedEventArgs;{d0ca0936-339b-4cb3-8eeb-737607f56e08})"); } -impl ::core::clone::Clone for SystemMediaTransportControlsPropertyChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaTransportControlsPropertyChangedEventArgs { type Vtable = ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl; } @@ -3275,6 +2842,7 @@ unsafe impl ::core::marker::Send for SystemMediaTransportControlsPropertyChanged unsafe impl ::core::marker::Sync for SystemMediaTransportControlsPropertyChangedEventArgs {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaTransportControlsTimelineProperties(::windows_core::IUnknown); impl SystemMediaTransportControlsTimelineProperties { pub fn new() -> ::windows_core::Result { @@ -3360,25 +2928,9 @@ impl SystemMediaTransportControlsTimelineProperties { unsafe { (::windows_core::Interface::vtable(this).SetPosition)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SystemMediaTransportControlsTimelineProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaTransportControlsTimelineProperties {} -impl ::core::fmt::Debug for SystemMediaTransportControlsTimelineProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaTransportControlsTimelineProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaTransportControlsTimelineProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.SystemMediaTransportControlsTimelineProperties;{5125316a-c3a2-475b-8507-93534dc88f15})"); } -impl ::core::clone::Clone for SystemMediaTransportControlsTimelineProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaTransportControlsTimelineProperties { type Vtable = ISystemMediaTransportControlsTimelineProperties_Vtbl; } @@ -3393,6 +2945,7 @@ unsafe impl ::core::marker::Send for SystemMediaTransportControlsTimelinePropert unsafe impl ::core::marker::Sync for SystemMediaTransportControlsTimelineProperties {} #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoDisplayProperties(::windows_core::IUnknown); impl VideoDisplayProperties { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3427,25 +2980,9 @@ impl VideoDisplayProperties { } } } -impl ::core::cmp::PartialEq for VideoDisplayProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoDisplayProperties {} -impl ::core::fmt::Debug for VideoDisplayProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoDisplayProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoDisplayProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.VideoDisplayProperties;{5609fdb1-5d2d-4872-8170-45dee5bc2f5c})"); } -impl ::core::clone::Clone for VideoDisplayProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoDisplayProperties { type Vtable = IVideoDisplayProperties_Vtbl; } @@ -3478,6 +3015,7 @@ impl ::windows_core::RuntimeName for VideoEffects { } #[doc = "*Required features: `\"Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoFrame(::windows_core::IUnknown); impl VideoFrame { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3686,25 +3224,9 @@ impl VideoFrame { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VideoFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoFrame {} -impl ::core::fmt::Debug for VideoFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Media.VideoFrame;{0cc06625-90fc-4c92-bd95-7ded21819d1c})"); } -impl ::core::clone::Clone for VideoFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoFrame { type Vtable = IVideoFrame_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs index d7131a793f..263178cb06 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs @@ -124,8 +124,8 @@ impl IBackgroundTransferBase_Vtbl { SetCostPolicy: SetCostPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IBackgroundTransferContentPartFactory_Vtbl { CreateWithNameAndFileName: CreateWithNameAndFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -290,8 +290,8 @@ impl IBackgroundTransferOperation_Vtbl { GetResponseInformation: GetResponseInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"implement\"`*"] @@ -326,7 +326,7 @@ impl IBackgroundTransferOperationPriority_Vtbl { SetPriority: SetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 17277a549f..7287ad2502 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloader { type Vtable = IBackgroundDownloader_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1c79333_6649_4b1d_a826_a4b3dd234d0b); } @@ -31,15 +27,11 @@ pub struct IBackgroundDownloader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloader2 { type Vtable = IBackgroundDownloader2_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa94a5847_348d_4a35_890e_8a1ef3798479); } @@ -84,15 +76,11 @@ pub struct IBackgroundDownloader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloader3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloader3 { type Vtable = IBackgroundDownloader3_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloader3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloader3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd11a8c48_86e8_48e2_b615_6976aabf861d); } @@ -104,15 +92,11 @@ pub struct IBackgroundDownloader3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloaderFactory { type Vtable = IBackgroundDownloaderFactory_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26836c24_d89e_46f4_a29a_4f4d4f144155); } @@ -124,15 +108,11 @@ pub struct IBackgroundDownloaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloaderStaticMethods(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloaderStaticMethods { type Vtable = IBackgroundDownloaderStaticMethods_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloaderStaticMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloaderStaticMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52a65a35_c64e_426c_9919_540d0d21a650); } @@ -151,15 +131,11 @@ pub struct IBackgroundDownloaderStaticMethods_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloaderStaticMethods2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundDownloaderStaticMethods2 { type Vtable = IBackgroundDownloaderStaticMethods2_Vtbl; } -impl ::core::clone::Clone for IBackgroundDownloaderStaticMethods2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundDownloaderStaticMethods2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2faa1327_1ad4_4ca5_b2cd_08dbf0746afe); } @@ -175,18 +151,13 @@ pub struct IBackgroundDownloaderStaticMethods2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundDownloaderUserConsent(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IBackgroundDownloaderUserConsent { type Vtable = IBackgroundDownloaderUserConsent_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IBackgroundDownloaderUserConsent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IBackgroundDownloaderUserConsent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d14e906_9266_4808_bd71_5925f2a3130a); } @@ -202,6 +173,7 @@ pub struct IBackgroundDownloaderUserConsent_Vtbl { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferBase(::windows_core::IUnknown); impl IBackgroundTransferBase { pub fn SetRequestHeader(&self, headername: &::windows_core::HSTRING, headervalue: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -283,28 +255,12 @@ impl IBackgroundTransferBase { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTransferBase, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTransferBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTransferBase {} -impl ::core::fmt::Debug for IBackgroundTransferBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTransferBase").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTransferBase { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2a9da250-c769-458c-afe8-feb8d4d3b2ef}"); } unsafe impl ::windows_core::Interface for IBackgroundTransferBase { type Vtable = IBackgroundTransferBase_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a9da250_c769_458c_afe8_feb8d4d3b2ef); } @@ -344,15 +300,11 @@ pub struct IBackgroundTransferBase_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferCompletionGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferCompletionGroup { type Vtable = IBackgroundTransferCompletionGroup_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferCompletionGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferCompletionGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d930225_986b_574d_7950_0add47f5d706); } @@ -369,15 +321,11 @@ pub struct IBackgroundTransferCompletionGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferCompletionGroupTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferCompletionGroupTriggerDetails { type Vtable = IBackgroundTransferCompletionGroupTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferCompletionGroupTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferCompletionGroupTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b6be286_6e47_5136_7fcb_fa4389f46f5b); } @@ -396,15 +344,11 @@ pub struct IBackgroundTransferCompletionGroupTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferContentPart(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferContentPart { type Vtable = IBackgroundTransferContentPart_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferContentPart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferContentPart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8e15657_d7d1_4ed8_838e_674ac217ace6); } @@ -421,6 +365,7 @@ pub struct IBackgroundTransferContentPart_Vtbl { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferContentPartFactory(::windows_core::IUnknown); impl IBackgroundTransferContentPartFactory { pub fn CreateWithName(&self, name: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -439,28 +384,12 @@ impl IBackgroundTransferContentPartFactory { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTransferContentPartFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTransferContentPartFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTransferContentPartFactory {} -impl ::core::fmt::Debug for IBackgroundTransferContentPartFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTransferContentPartFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTransferContentPartFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{90ef98a9-7a01-4a0b-9f80-a0b0bb370f8d}"); } unsafe impl ::windows_core::Interface for IBackgroundTransferContentPartFactory { type Vtable = IBackgroundTransferContentPartFactory_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferContentPartFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferContentPartFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90ef98a9_7a01_4a0b_9f80_a0b0bb370f8d); } @@ -473,15 +402,11 @@ pub struct IBackgroundTransferContentPartFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferErrorStaticMethods(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferErrorStaticMethods { type Vtable = IBackgroundTransferErrorStaticMethods_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferErrorStaticMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferErrorStaticMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaad33b04_1192_4bf4_8b68_39c5add244e2); } @@ -496,15 +421,11 @@ pub struct IBackgroundTransferErrorStaticMethods_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferGroup { type Vtable = IBackgroundTransferGroup_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8c3e3e4_6459_4540_85eb_aaa1c8903677); } @@ -518,15 +439,11 @@ pub struct IBackgroundTransferGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferGroupStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferGroupStatics { type Vtable = IBackgroundTransferGroupStatics_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferGroupStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferGroupStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02ec50b2_7d18_495b_aa22_32a97d45d3e2); } @@ -538,6 +455,7 @@ pub struct IBackgroundTransferGroupStatics_Vtbl { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferOperation(::windows_core::IUnknown); impl IBackgroundTransferOperation { pub fn Guid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -601,28 +519,12 @@ impl IBackgroundTransferOperation { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTransferOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTransferOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTransferOperation {} -impl ::core::fmt::Debug for IBackgroundTransferOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTransferOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTransferOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ded06846-90ca-44fb-8fb1-124154c0d539}"); } unsafe impl ::windows_core::Interface for IBackgroundTransferOperation { type Vtable = IBackgroundTransferOperation_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xded06846_90ca_44fb_8fb1_124154c0d539); } @@ -650,6 +552,7 @@ pub struct IBackgroundTransferOperation_Vtbl { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferOperationPriority(::windows_core::IUnknown); impl IBackgroundTransferOperationPriority { pub fn Priority(&self) -> ::windows_core::Result { @@ -665,28 +568,12 @@ impl IBackgroundTransferOperationPriority { } } ::windows_core::imp::interface_hierarchy!(IBackgroundTransferOperationPriority, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBackgroundTransferOperationPriority { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundTransferOperationPriority {} -impl ::core::fmt::Debug for IBackgroundTransferOperationPriority { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundTransferOperationPriority").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBackgroundTransferOperationPriority { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{04854327-5254-4b3a-915e-0aa49275c0f9}"); } unsafe impl ::windows_core::Interface for IBackgroundTransferOperationPriority { type Vtable = IBackgroundTransferOperationPriority_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferOperationPriority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferOperationPriority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04854327_5254_4b3a_915e_0aa49275c0f9); } @@ -699,15 +586,11 @@ pub struct IBackgroundTransferOperationPriority_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundTransferRangesDownloadedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundTransferRangesDownloadedEventArgs { type Vtable = IBackgroundTransferRangesDownloadedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackgroundTransferRangesDownloadedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundTransferRangesDownloadedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ebc7453_bf48_4a88_9248_b0c165184f5c); } @@ -727,15 +610,11 @@ pub struct IBackgroundTransferRangesDownloadedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploader { type Vtable = IBackgroundUploader_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc595c9ae_cead_465b_8801_c55ac90a01ce); } @@ -766,15 +645,11 @@ pub struct IBackgroundUploader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploader2 { type Vtable = IBackgroundUploader2_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e0612ce_0c34_4463_807f_198a1b8bd4ad); } @@ -819,15 +694,11 @@ pub struct IBackgroundUploader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploader3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploader3 { type Vtable = IBackgroundUploader3_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploader3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploader3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb95e9439_5bf0_4b3a_8c47_2c6199a854b9); } @@ -839,15 +710,11 @@ pub struct IBackgroundUploader3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploaderFactory { type Vtable = IBackgroundUploaderFactory_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x736203c7_10e7_48a0_ac3c_1ac71095ec57); } @@ -859,15 +726,11 @@ pub struct IBackgroundUploaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploaderStaticMethods(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploaderStaticMethods { type Vtable = IBackgroundUploaderStaticMethods_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploaderStaticMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploaderStaticMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2875cfb_9b05_4741_9121_740a83e247df); } @@ -886,15 +749,11 @@ pub struct IBackgroundUploaderStaticMethods_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploaderStaticMethods2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackgroundUploaderStaticMethods2 { type Vtable = IBackgroundUploaderStaticMethods2_Vtbl; } -impl ::core::clone::Clone for IBackgroundUploaderStaticMethods2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundUploaderStaticMethods2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe919ac62_ea08_42f0_a2ac_07e467549080); } @@ -910,18 +769,13 @@ pub struct IBackgroundUploaderStaticMethods2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundUploaderUserConsent(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IBackgroundUploaderUserConsent { type Vtable = IBackgroundUploaderUserConsent_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IBackgroundUploaderUserConsent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IBackgroundUploaderUserConsent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bb384cb_0760_461d_907f_5138f84d44c1); } @@ -937,15 +791,11 @@ pub struct IBackgroundUploaderUserConsent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentPrefetcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentPrefetcher { type Vtable = IContentPrefetcher_Vtbl; } -impl ::core::clone::Clone for IContentPrefetcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentPrefetcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8d6f754_7dc1_4cd9_8810_2a6aa9417e11); } @@ -968,15 +818,11 @@ pub struct IContentPrefetcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentPrefetcherTime(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentPrefetcherTime { type Vtable = IContentPrefetcherTime_Vtbl; } -impl ::core::clone::Clone for IContentPrefetcherTime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentPrefetcherTime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe361fd08_132a_4fde_a7cc_fcb0e66523af); } @@ -991,15 +837,11 @@ pub struct IContentPrefetcherTime_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadOperation { type Vtable = IDownloadOperation_Vtbl; } -impl ::core::clone::Clone for IDownloadOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd87ebb0_5714_4e09_ba68_bef73903b0d7); } @@ -1025,15 +867,11 @@ pub struct IDownloadOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadOperation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadOperation2 { type Vtable = IDownloadOperation2_Vtbl; } -impl ::core::clone::Clone for IDownloadOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3cced40_8f9c_4353_9cd4_290dee387c38); } @@ -1045,15 +883,11 @@ pub struct IDownloadOperation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadOperation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadOperation3 { type Vtable = IDownloadOperation3_Vtbl; } -impl ::core::clone::Clone for IDownloadOperation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadOperation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5027351c_7d5e_4adc_b8d3_df5c6031b9cc); } @@ -1094,15 +928,11 @@ pub struct IDownloadOperation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadOperation4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadOperation4 { type Vtable = IDownloadOperation4_Vtbl; } -impl ::core::clone::Clone for IDownloadOperation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadOperation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cdaaef4_8cef_404a_966d_f058400bed80); } @@ -1114,15 +944,11 @@ pub struct IDownloadOperation4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadOperation5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadOperation5 { type Vtable = IDownloadOperation5_Vtbl; } -impl ::core::clone::Clone for IDownloadOperation5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadOperation5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa699a86f_5590_463a_b8d6_1e491a2760a5); } @@ -1135,15 +961,11 @@ pub struct IDownloadOperation5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResponseInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResponseInformation { type Vtable = IResponseInformation_Vtbl; } -impl ::core::clone::Clone for IResponseInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResponseInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8bb9a12_f713_4792_8b68_d9d297f91d2e); } @@ -1165,18 +987,13 @@ pub struct IResponseInformation_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnconstrainedTransferRequestResult(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IUnconstrainedTransferRequestResult { type Vtable = IUnconstrainedTransferRequestResult_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IUnconstrainedTransferRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IUnconstrainedTransferRequestResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c24b81f_d944_4112_a98e_6a69522b7ebb); } @@ -1192,15 +1009,11 @@ pub struct IUnconstrainedTransferRequestResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUploadOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUploadOperation { type Vtable = IUploadOperation_Vtbl; } -impl ::core::clone::Clone for IUploadOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUploadOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e5624e0_7389_434c_8b35_427fd36bbdae); } @@ -1224,15 +1037,11 @@ pub struct IUploadOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUploadOperation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUploadOperation2 { type Vtable = IUploadOperation2_Vtbl; } -impl ::core::clone::Clone for IUploadOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUploadOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x556189f2_2774_4df6_9fa5_209f2bfb12f7); } @@ -1244,15 +1053,11 @@ pub struct IUploadOperation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUploadOperation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUploadOperation3 { type Vtable = IUploadOperation3_Vtbl; } -impl ::core::clone::Clone for IUploadOperation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUploadOperation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42c92ca3_de39_4546_bc62_3774b4294de3); } @@ -1264,15 +1069,11 @@ pub struct IUploadOperation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUploadOperation4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUploadOperation4 { type Vtable = IUploadOperation4_Vtbl; } -impl ::core::clone::Clone for IUploadOperation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUploadOperation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50edef31_fac5_41ee_b030_dc77caee9faa); } @@ -1285,6 +1086,7 @@ pub struct IUploadOperation4_Vtbl { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundDownloader(::windows_core::IUnknown); impl BackgroundDownloader { pub fn new() -> ::windows_core::Result { @@ -1574,25 +1376,9 @@ impl BackgroundDownloader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundDownloader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundDownloader {} -impl ::core::fmt::Debug for BackgroundDownloader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundDownloader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundDownloader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundDownloader;{c1c79333-6649-4b1d-a826-a4b3dd234d0b})"); } -impl ::core::clone::Clone for BackgroundDownloader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundDownloader { type Vtable = IBackgroundDownloader_Vtbl; } @@ -1608,6 +1394,7 @@ unsafe impl ::core::marker::Send for BackgroundDownloader {} unsafe impl ::core::marker::Sync for BackgroundDownloader {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTransferCompletionGroup(::windows_core::IUnknown); impl BackgroundTransferCompletionGroup { pub fn new() -> ::windows_core::Result { @@ -1638,25 +1425,9 @@ impl BackgroundTransferCompletionGroup { unsafe { (::windows_core::Interface::vtable(this).Enable)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BackgroundTransferCompletionGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTransferCompletionGroup {} -impl ::core::fmt::Debug for BackgroundTransferCompletionGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTransferCompletionGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTransferCompletionGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup;{2d930225-986b-574d-7950-0add47f5d706})"); } -impl ::core::clone::Clone for BackgroundTransferCompletionGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTransferCompletionGroup { type Vtable = IBackgroundTransferCompletionGroup_Vtbl; } @@ -1671,6 +1442,7 @@ unsafe impl ::core::marker::Send for BackgroundTransferCompletionGroup {} unsafe impl ::core::marker::Sync for BackgroundTransferCompletionGroup {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTransferCompletionGroupTriggerDetails(::windows_core::IUnknown); impl BackgroundTransferCompletionGroupTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1692,25 +1464,9 @@ impl BackgroundTransferCompletionGroupTriggerDetails { } } } -impl ::core::cmp::PartialEq for BackgroundTransferCompletionGroupTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTransferCompletionGroupTriggerDetails {} -impl ::core::fmt::Debug for BackgroundTransferCompletionGroupTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTransferCompletionGroupTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTransferCompletionGroupTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails;{7b6be286-6e47-5136-7fcb-fa4389f46f5b})"); } -impl ::core::clone::Clone for BackgroundTransferCompletionGroupTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTransferCompletionGroupTriggerDetails { type Vtable = IBackgroundTransferCompletionGroupTriggerDetails_Vtbl; } @@ -1725,6 +1481,7 @@ unsafe impl ::core::marker::Send for BackgroundTransferCompletionGroupTriggerDet unsafe impl ::core::marker::Sync for BackgroundTransferCompletionGroupTriggerDetails {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTransferContentPart(::windows_core::IUnknown); impl BackgroundTransferContentPart { pub fn new() -> ::windows_core::Result { @@ -1769,25 +1526,9 @@ impl BackgroundTransferContentPart { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundTransferContentPart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTransferContentPart {} -impl ::core::fmt::Debug for BackgroundTransferContentPart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTransferContentPart").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTransferContentPart { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart;{e8e15657-d7d1-4ed8-838e-674ac217ace6})"); } -impl ::core::clone::Clone for BackgroundTransferContentPart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTransferContentPart { type Vtable = IBackgroundTransferContentPart_Vtbl; } @@ -1822,6 +1563,7 @@ impl ::windows_core::RuntimeName for BackgroundTransferError { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTransferGroup(::windows_core::IUnknown); impl BackgroundTransferGroup { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1854,25 +1596,9 @@ impl BackgroundTransferGroup { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundTransferGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTransferGroup {} -impl ::core::fmt::Debug for BackgroundTransferGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTransferGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTransferGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup;{d8c3e3e4-6459-4540-85eb-aaa1c8903677})"); } -impl ::core::clone::Clone for BackgroundTransferGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTransferGroup { type Vtable = IBackgroundTransferGroup_Vtbl; } @@ -1887,6 +1613,7 @@ unsafe impl ::core::marker::Send for BackgroundTransferGroup {} unsafe impl ::core::marker::Sync for BackgroundTransferGroup {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundTransferRangesDownloadedEventArgs(::windows_core::IUnknown); impl BackgroundTransferRangesDownloadedEventArgs { pub fn WasDownloadRestarted(&self) -> ::windows_core::Result { @@ -1915,25 +1642,9 @@ impl BackgroundTransferRangesDownloadedEventArgs { } } } -impl ::core::cmp::PartialEq for BackgroundTransferRangesDownloadedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundTransferRangesDownloadedEventArgs {} -impl ::core::fmt::Debug for BackgroundTransferRangesDownloadedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundTransferRangesDownloadedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundTransferRangesDownloadedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs;{3ebc7453-bf48-4a88-9248-b0c165184f5c})"); } -impl ::core::clone::Clone for BackgroundTransferRangesDownloadedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundTransferRangesDownloadedEventArgs { type Vtable = IBackgroundTransferRangesDownloadedEventArgs_Vtbl; } @@ -1948,6 +1659,7 @@ unsafe impl ::core::marker::Send for BackgroundTransferRangesDownloadedEventArgs unsafe impl ::core::marker::Sync for BackgroundTransferRangesDownloadedEventArgs {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundUploader(::windows_core::IUnknown); impl BackgroundUploader { pub fn new() -> ::windows_core::Result { @@ -2261,25 +1973,9 @@ impl BackgroundUploader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BackgroundUploader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackgroundUploader {} -impl ::core::fmt::Debug for BackgroundUploader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundUploader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackgroundUploader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.BackgroundUploader;{c595c9ae-cead-465b-8801-c55ac90a01ce})"); } -impl ::core::clone::Clone for BackgroundUploader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackgroundUploader { type Vtable = IBackgroundUploader_Vtbl; } @@ -2344,6 +2040,7 @@ impl ::windows_core::RuntimeName for ContentPrefetcher { } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DownloadOperation(::windows_core::IUnknown); impl DownloadOperation { pub fn Guid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2552,25 +2249,9 @@ impl DownloadOperation { unsafe { (::windows_core::Interface::vtable(this).RemoveRequestHeader)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(headername)).ok() } } } -impl ::core::cmp::PartialEq for DownloadOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DownloadOperation {} -impl ::core::fmt::Debug for DownloadOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DownloadOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DownloadOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.DownloadOperation;{bd87ebb0-5714-4e09-ba68-bef73903b0d7})"); } -impl ::core::clone::Clone for DownloadOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DownloadOperation { type Vtable = IDownloadOperation_Vtbl; } @@ -2587,6 +2268,7 @@ unsafe impl ::core::marker::Send for DownloadOperation {} unsafe impl ::core::marker::Sync for DownloadOperation {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResponseInformation(::windows_core::IUnknown); impl ResponseInformation { pub fn IsResumable(&self) -> ::windows_core::Result { @@ -2622,25 +2304,9 @@ impl ResponseInformation { } } } -impl ::core::cmp::PartialEq for ResponseInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResponseInformation {} -impl ::core::fmt::Debug for ResponseInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResponseInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResponseInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.ResponseInformation;{f8bb9a12-f713-4792-8b68-d9d297f91d2e})"); } -impl ::core::clone::Clone for ResponseInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResponseInformation { type Vtable = IResponseInformation_Vtbl; } @@ -2656,6 +2322,7 @@ unsafe impl ::core::marker::Sync for ResponseInformation {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnconstrainedTransferRequestResult(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl UnconstrainedTransferRequestResult { @@ -2670,30 +2337,10 @@ impl UnconstrainedTransferRequestResult { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for UnconstrainedTransferRequestResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for UnconstrainedTransferRequestResult {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for UnconstrainedTransferRequestResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnconstrainedTransferRequestResult").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for UnconstrainedTransferRequestResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult;{4c24b81f-d944-4112-a98e-6a69522b7ebb})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for UnconstrainedTransferRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for UnconstrainedTransferRequestResult { type Vtable = IUnconstrainedTransferRequestResult_Vtbl; } @@ -2713,6 +2360,7 @@ unsafe impl ::core::marker::Send for UnconstrainedTransferRequestResult {} unsafe impl ::core::marker::Sync for UnconstrainedTransferRequestResult {} #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UploadOperation(::windows_core::IUnknown); impl UploadOperation { pub fn Guid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2839,25 +2487,9 @@ impl UploadOperation { unsafe { (::windows_core::Interface::vtable(this).RemoveRequestHeader)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(headername)).ok() } } } -impl ::core::cmp::PartialEq for UploadOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UploadOperation {} -impl ::core::fmt::Debug for UploadOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UploadOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UploadOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.BackgroundTransfer.UploadOperation;{3e5624e0-7389-434c-8b35-427fd36bbdae})"); } -impl ::core::clone::Clone for UploadOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UploadOperation { type Vtable = IUploadOperation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index 676e5dbc46..4806a8f622 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttributedNetworkUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAttributedNetworkUsage { type Vtable = IAttributedNetworkUsage_Vtbl; } -impl ::core::clone::Clone for IAttributedNetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttributedNetworkUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf769b039_eca2_45eb_ade1_b0368b756c49); } @@ -27,15 +23,11 @@ pub struct IAttributedNetworkUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICellularApnContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICellularApnContext { type Vtable = ICellularApnContext_Vtbl; } -impl ::core::clone::Clone for ICellularApnContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICellularApnContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fa529f4_effd_4542_9ab2_705bbf94943a); } @@ -58,15 +50,11 @@ pub struct ICellularApnContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICellularApnContext2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICellularApnContext2 { type Vtable = ICellularApnContext2_Vtbl; } -impl ::core::clone::Clone for ICellularApnContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICellularApnContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76b0eb1a_ac49_4350_b1e5_dc4763bc69c7); } @@ -79,15 +67,11 @@ pub struct ICellularApnContext2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionCost(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionCost { type Vtable = IConnectionCost_Vtbl; } -impl ::core::clone::Clone for IConnectionCost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionCost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad7d829_3416_4b10_a202_bac0b075bdae); } @@ -102,15 +86,11 @@ pub struct IConnectionCost_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionCost2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionCost2 { type Vtable = IConnectionCost2_Vtbl; } -impl ::core::clone::Clone for IConnectionCost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionCost2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e113a05_e209_4549_bb25_5e0db691cb05); } @@ -122,15 +102,11 @@ pub struct IConnectionCost2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile { type Vtable = IConnectionProfile_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71ba143c_598e_49d0_84eb_8febaedcc195); } @@ -159,15 +135,11 @@ pub struct IConnectionProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile2 { type Vtable = IConnectionProfile2_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2045145_4c9f_400c_9150_7ec7d6e2888a); } @@ -199,15 +171,11 @@ pub struct IConnectionProfile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile3 { type Vtable = IConnectionProfile3_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x578c2528_4cd9_4161_8045_201cfd5b115c); } @@ -222,15 +190,11 @@ pub struct IConnectionProfile3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile4 { type Vtable = IConnectionProfile4_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a2d42cd_81e0_4ae6_abed_ab9ca13eb714); } @@ -245,15 +209,11 @@ pub struct IConnectionProfile4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile5 { type Vtable = IConnectionProfile5_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85361ec7_9c73_4be0_8f14_578eec71ee0e); } @@ -269,15 +229,11 @@ pub struct IConnectionProfile5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfile6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfile6 { type Vtable = IConnectionProfile6_Vtbl; } -impl ::core::clone::Clone for IConnectionProfile6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfile6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc27dfe2_7a6f_5d0e_9589_2fe2e5b6f9aa); } @@ -289,15 +245,11 @@ pub struct IConnectionProfile6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfileFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfileFilter { type Vtable = IConnectionProfileFilter_Vtbl; } -impl ::core::clone::Clone for IConnectionProfileFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfileFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204c7cc8_bd2d_4e8d_a4b3_455ec337388a); } @@ -324,15 +276,11 @@ pub struct IConnectionProfileFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfileFilter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfileFilter2 { type Vtable = IConnectionProfileFilter2_Vtbl; } -impl ::core::clone::Clone for IConnectionProfileFilter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfileFilter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd068ee1_c3fc_4fad_9ddc_593faa4b7885); } @@ -371,15 +319,11 @@ pub struct IConnectionProfileFilter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionProfileFilter3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionProfileFilter3 { type Vtable = IConnectionProfileFilter3_Vtbl; } -impl ::core::clone::Clone for IConnectionProfileFilter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionProfileFilter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aaa09c0_5014_447c_8809_aee4cb0af94a); } @@ -398,15 +342,11 @@ pub struct IConnectionProfileFilter3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionSession { type Vtable = IConnectionSession_Vtbl; } -impl ::core::clone::Clone for IConnectionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff905d4c_f83b_41b0_8a0c_1462d9c56b73); } @@ -418,15 +358,11 @@ pub struct IConnectionSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectivityInterval(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectivityInterval { type Vtable = IConnectivityInterval_Vtbl; } -impl ::core::clone::Clone for IConnectivityInterval { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectivityInterval { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4faa3fff_6746_4824_a964_eed8e87f8709); } @@ -445,15 +381,11 @@ pub struct IConnectivityInterval_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectivityManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectivityManagerStatics { type Vtable = IConnectivityManagerStatics_Vtbl; } -impl ::core::clone::Clone for IConnectivityManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectivityManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5120d4b1_4fb1_48b0_afc9_42e0092a8164); } @@ -470,15 +402,11 @@ pub struct IConnectivityManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPlanStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPlanStatus { type Vtable = IDataPlanStatus_Vtbl; } -impl ::core::clone::Clone for IDataPlanStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPlanStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x977a8b8c_3885_40f3_8851_42cd2bd568bb); } @@ -510,15 +438,11 @@ pub struct IDataPlanStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataPlanUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataPlanUsage { type Vtable = IDataPlanUsage_Vtbl; } -impl ::core::clone::Clone for IDataPlanUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataPlanUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb921492d_3b44_47ff_b361_be59e69ed1b0); } @@ -535,18 +459,13 @@ pub struct IDataPlanUsage_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataUsage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IDataUsage { type Vtable = IDataUsage_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IDataUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IDataUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1431dd3_b146_4d39_b959_0c69b096c512); } @@ -566,15 +485,11 @@ pub struct IDataUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIPInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIPInformation { type Vtable = IIPInformation_Vtbl; } -impl ::core::clone::Clone for IIPInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIPInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd85145e0_138f_47d7_9b3a_36bb488cef33); } @@ -590,15 +505,11 @@ pub struct IIPInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanIdentifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanIdentifier { type Vtable = ILanIdentifier_Vtbl; } -impl ::core::clone::Clone for ILanIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanIdentifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48aa53aa_1108_4546_a6cb_9a74da4b7ba0); } @@ -612,15 +523,11 @@ pub struct ILanIdentifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanIdentifierData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILanIdentifierData { type Vtable = ILanIdentifierData_Vtbl; } -impl ::core::clone::Clone for ILanIdentifierData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanIdentifierData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa74e83c3_d639_45be_a36a_c4e4aeaf6d9b); } @@ -636,15 +543,11 @@ pub struct ILanIdentifierData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkAdapter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkAdapter { type Vtable = INetworkAdapter_Vtbl; } -impl ::core::clone::Clone for INetworkAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b542e03_5388_496c_a8a3_affd39aec2e6); } @@ -664,15 +567,11 @@ pub struct INetworkAdapter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkInformationStatics { type Vtable = INetworkInformationStatics_Vtbl; } -impl ::core::clone::Clone for INetworkInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5074f851_950d_4165_9c15_365619481eea); } @@ -712,15 +611,11 @@ pub struct INetworkInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkInformationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkInformationStatics2 { type Vtable = INetworkInformationStatics2_Vtbl; } -impl ::core::clone::Clone for INetworkInformationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkInformationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x459ced14_2832_49b6_ba6e_e265f04786a8); } @@ -735,15 +630,11 @@ pub struct INetworkInformationStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkItem { type Vtable = INetworkItem_Vtbl; } -impl ::core::clone::Clone for INetworkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01bc4d39_f5e0_4567_a28c_42080c831b2b); } @@ -756,15 +647,11 @@ pub struct INetworkItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkSecuritySettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkSecuritySettings { type Vtable = INetworkSecuritySettings_Vtbl; } -impl ::core::clone::Clone for INetworkSecuritySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkSecuritySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ca07e8d_917b_4b5f_b84d_28f7a5ac5402); } @@ -777,15 +664,11 @@ pub struct INetworkSecuritySettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkStateChangeEventDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkStateChangeEventDetails { type Vtable = INetworkStateChangeEventDetails_Vtbl; } -impl ::core::clone::Clone for INetworkStateChangeEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkStateChangeEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f0cf333_d7a6_44dd_a4e9_687c476b903d); } @@ -802,15 +685,11 @@ pub struct INetworkStateChangeEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkStateChangeEventDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkStateChangeEventDetails2 { type Vtable = INetworkStateChangeEventDetails2_Vtbl; } -impl ::core::clone::Clone for INetworkStateChangeEventDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkStateChangeEventDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd643c0e8_30d3_4f6a_ad47_6a1873ceb3c1); } @@ -823,15 +702,11 @@ pub struct INetworkStateChangeEventDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkUsage { type Vtable = INetworkUsage_Vtbl; } -impl ::core::clone::Clone for INetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49da8fce_9985_4927_bf5b_072b5c65f8d9); } @@ -848,15 +723,11 @@ pub struct INetworkUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderNetworkUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProviderNetworkUsage { type Vtable = IProviderNetworkUsage_Vtbl; } -impl ::core::clone::Clone for IProviderNetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderNetworkUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ec69e04_7931_48c8_b8f3_46300fa42728); } @@ -870,15 +741,11 @@ pub struct IProviderNetworkUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProxyConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProxyConfiguration { type Vtable = IProxyConfiguration_Vtbl; } -impl ::core::clone::Clone for IProxyConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProxyConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef3a60b4_9004_4dd6_b7d8_b3e502f4aad0); } @@ -894,15 +761,11 @@ pub struct IProxyConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRoutePolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRoutePolicy { type Vtable = IRoutePolicy_Vtbl; } -impl ::core::clone::Clone for IRoutePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRoutePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11abc4ac_0fc7_42e4_8742_569923b1ca11); } @@ -916,15 +779,11 @@ pub struct IRoutePolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRoutePolicyFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRoutePolicyFactory { type Vtable = IRoutePolicyFactory_Vtbl; } -impl ::core::clone::Clone for IRoutePolicyFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRoutePolicyFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36027933_a18e_4db5_a697_f58fa7364e44); } @@ -936,15 +795,11 @@ pub struct IRoutePolicyFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWlanConnectionProfileDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWlanConnectionProfileDetails { type Vtable = IWlanConnectionProfileDetails_Vtbl; } -impl ::core::clone::Clone for IWlanConnectionProfileDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWlanConnectionProfileDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x562098cb_b35a_4bf1_a884_b7557e88ff86); } @@ -956,15 +811,11 @@ pub struct IWlanConnectionProfileDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwanConnectionProfileDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwanConnectionProfileDetails { type Vtable = IWwanConnectionProfileDetails_Vtbl; } -impl ::core::clone::Clone for IWwanConnectionProfileDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwanConnectionProfileDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e4da8fe_835f_4df3_82fd_df556ebc09ef); } @@ -979,15 +830,11 @@ pub struct IWwanConnectionProfileDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwanConnectionProfileDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwanConnectionProfileDetails2 { type Vtable = IWwanConnectionProfileDetails2_Vtbl; } -impl ::core::clone::Clone for IWwanConnectionProfileDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwanConnectionProfileDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a754ede_a1ed_48b2_8e92_b460033d52e2); } @@ -1003,6 +850,7 @@ pub struct IWwanConnectionProfileDetails2_Vtbl { } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AttributedNetworkUsage(::windows_core::IUnknown); impl AttributedNetworkUsage { pub fn BytesSent(&self) -> ::windows_core::Result { @@ -1043,25 +891,9 @@ impl AttributedNetworkUsage { } } } -impl ::core::cmp::PartialEq for AttributedNetworkUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AttributedNetworkUsage {} -impl ::core::fmt::Debug for AttributedNetworkUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AttributedNetworkUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AttributedNetworkUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.AttributedNetworkUsage;{f769b039-eca2-45eb-ade1-b0368b756c49})"); } -impl ::core::clone::Clone for AttributedNetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AttributedNetworkUsage { type Vtable = IAttributedNetworkUsage_Vtbl; } @@ -1076,6 +908,7 @@ unsafe impl ::core::marker::Send for AttributedNetworkUsage {} unsafe impl ::core::marker::Sync for AttributedNetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CellularApnContext(::windows_core::IUnknown); impl CellularApnContext { pub fn new() -> ::windows_core::Result { @@ -1163,25 +996,9 @@ impl CellularApnContext { unsafe { (::windows_core::Interface::vtable(this).SetProfileName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for CellularApnContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CellularApnContext {} -impl ::core::fmt::Debug for CellularApnContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CellularApnContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CellularApnContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.CellularApnContext;{6fa529f4-effd-4542-9ab2-705bbf94943a})"); } -impl ::core::clone::Clone for CellularApnContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CellularApnContext { type Vtable = ICellularApnContext_Vtbl; } @@ -1196,6 +1013,7 @@ unsafe impl ::core::marker::Send for CellularApnContext {} unsafe impl ::core::marker::Sync for CellularApnContext {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectionCost(::windows_core::IUnknown); impl ConnectionCost { pub fn NetworkCostType(&self) -> ::windows_core::Result { @@ -1234,25 +1052,9 @@ impl ConnectionCost { } } } -impl ::core::cmp::PartialEq for ConnectionCost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectionCost {} -impl ::core::fmt::Debug for ConnectionCost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectionCost").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectionCost { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionCost;{bad7d829-3416-4b10-a202-bac0b075bdae})"); } -impl ::core::clone::Clone for ConnectionCost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectionCost { type Vtable = IConnectionCost_Vtbl; } @@ -1267,6 +1069,7 @@ unsafe impl ::core::marker::Send for ConnectionCost {} unsafe impl ::core::marker::Sync for ConnectionCost {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectionProfile(::windows_core::IUnknown); impl ConnectionProfile { pub fn ProfileName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1451,25 +1254,9 @@ impl ConnectionProfile { } } } -impl ::core::cmp::PartialEq for ConnectionProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectionProfile {} -impl ::core::fmt::Debug for ConnectionProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectionProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectionProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfile;{71ba143c-598e-49d0-84eb-8febaedcc195})"); } -impl ::core::clone::Clone for ConnectionProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectionProfile { type Vtable = IConnectionProfile_Vtbl; } @@ -1484,6 +1271,7 @@ unsafe impl ::core::marker::Send for ConnectionProfile {} unsafe impl ::core::marker::Sync for ConnectionProfile {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectionProfileFilter(::windows_core::IUnknown); impl ConnectionProfileFilter { pub fn new() -> ::windows_core::Result { @@ -1637,25 +1425,9 @@ impl ConnectionProfileFilter { } } } -impl ::core::cmp::PartialEq for ConnectionProfileFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectionProfileFilter {} -impl ::core::fmt::Debug for ConnectionProfileFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectionProfileFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectionProfileFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionProfileFilter;{204c7cc8-bd2d-4e8d-a4b3-455ec337388a})"); } -impl ::core::clone::Clone for ConnectionProfileFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectionProfileFilter { type Vtable = IConnectionProfileFilter_Vtbl; } @@ -1670,6 +1442,7 @@ unsafe impl ::core::marker::Send for ConnectionProfileFilter {} unsafe impl ::core::marker::Sync for ConnectionProfileFilter {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectionSession(::windows_core::IUnknown); impl ConnectionSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1686,25 +1459,9 @@ impl ConnectionSession { } } } -impl ::core::cmp::PartialEq for ConnectionSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectionSession {} -impl ::core::fmt::Debug for ConnectionSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectionSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectionSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectionSession;{ff905d4c-f83b-41b0-8a0c-1462d9c56b73})"); } -impl ::core::clone::Clone for ConnectionSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectionSession { type Vtable = IConnectionSession_Vtbl; } @@ -1721,6 +1478,7 @@ unsafe impl ::core::marker::Send for ConnectionSession {} unsafe impl ::core::marker::Sync for ConnectionSession {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectivityInterval(::windows_core::IUnknown); impl ConnectivityInterval { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1742,25 +1500,9 @@ impl ConnectivityInterval { } } } -impl ::core::cmp::PartialEq for ConnectivityInterval { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectivityInterval {} -impl ::core::fmt::Debug for ConnectivityInterval { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectivityInterval").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectivityInterval { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ConnectivityInterval;{4faa3fff-6746-4824-a964-eed8e87f8709})"); } -impl ::core::clone::Clone for ConnectivityInterval { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectivityInterval { type Vtable = IConnectivityInterval_Vtbl; } @@ -1810,6 +1552,7 @@ impl ::windows_core::RuntimeName for ConnectivityManager { } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPlanStatus(::windows_core::IUnknown); impl DataPlanStatus { pub fn DataPlanUsage(&self) -> ::windows_core::Result { @@ -1865,25 +1608,9 @@ impl DataPlanStatus { } } } -impl ::core::cmp::PartialEq for DataPlanStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPlanStatus {} -impl ::core::fmt::Debug for DataPlanStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPlanStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPlanStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanStatus;{977a8b8c-3885-40f3-8851-42cd2bd568bb})"); } -impl ::core::clone::Clone for DataPlanStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPlanStatus { type Vtable = IDataPlanStatus_Vtbl; } @@ -1898,6 +1625,7 @@ unsafe impl ::core::marker::Send for DataPlanStatus {} unsafe impl ::core::marker::Sync for DataPlanStatus {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataPlanUsage(::windows_core::IUnknown); impl DataPlanUsage { pub fn MegabytesUsed(&self) -> ::windows_core::Result { @@ -1917,25 +1645,9 @@ impl DataPlanUsage { } } } -impl ::core::cmp::PartialEq for DataPlanUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataPlanUsage {} -impl ::core::fmt::Debug for DataPlanUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataPlanUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataPlanUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataPlanUsage;{b921492d-3b44-47ff-b361-be59e69ed1b0})"); } -impl ::core::clone::Clone for DataPlanUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataPlanUsage { type Vtable = IDataPlanUsage_Vtbl; } @@ -1951,6 +1663,7 @@ unsafe impl ::core::marker::Sync for DataPlanUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataUsage(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl DataUsage { @@ -1974,30 +1687,10 @@ impl DataUsage { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for DataUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for DataUsage {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for DataUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataUsage").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for DataUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.DataUsage;{c1431dd3-b146-4d39-b959-0c69b096c512})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for DataUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for DataUsage { type Vtable = IDataUsage_Vtbl; } @@ -2017,6 +1710,7 @@ unsafe impl ::core::marker::Send for DataUsage {} unsafe impl ::core::marker::Sync for DataUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPInformation(::windows_core::IUnknown); impl IPInformation { pub fn NetworkAdapter(&self) -> ::windows_core::Result { @@ -2036,25 +1730,9 @@ impl IPInformation { } } } -impl ::core::cmp::PartialEq for IPInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPInformation {} -impl ::core::fmt::Debug for IPInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.IPInformation;{d85145e0-138f-47d7-9b3a-36bb488cef33})"); } -impl ::core::clone::Clone for IPInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IPInformation { type Vtable = IIPInformation_Vtbl; } @@ -2069,6 +1747,7 @@ unsafe impl ::core::marker::Send for IPInformation {} unsafe impl ::core::marker::Sync for IPInformation {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LanIdentifier(::windows_core::IUnknown); impl LanIdentifier { pub fn InfrastructureId(&self) -> ::windows_core::Result { @@ -2093,25 +1772,9 @@ impl LanIdentifier { } } } -impl ::core::cmp::PartialEq for LanIdentifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LanIdentifier {} -impl ::core::fmt::Debug for LanIdentifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LanIdentifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LanIdentifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifier;{48aa53aa-1108-4546-a6cb-9a74da4b7ba0})"); } -impl ::core::clone::Clone for LanIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LanIdentifier { type Vtable = ILanIdentifier_Vtbl; } @@ -2126,6 +1789,7 @@ unsafe impl ::core::marker::Send for LanIdentifier {} unsafe impl ::core::marker::Sync for LanIdentifier {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LanIdentifierData(::windows_core::IUnknown); impl LanIdentifierData { pub fn Type(&self) -> ::windows_core::Result { @@ -2145,25 +1809,9 @@ impl LanIdentifierData { } } } -impl ::core::cmp::PartialEq for LanIdentifierData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LanIdentifierData {} -impl ::core::fmt::Debug for LanIdentifierData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LanIdentifierData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LanIdentifierData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.LanIdentifierData;{a74e83c3-d639-45be-a36a-c4e4aeaf6d9b})"); } -impl ::core::clone::Clone for LanIdentifierData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LanIdentifierData { type Vtable = ILanIdentifierData_Vtbl; } @@ -2178,6 +1826,7 @@ unsafe impl ::core::marker::Send for LanIdentifierData {} unsafe impl ::core::marker::Sync for LanIdentifierData {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkAdapter(::windows_core::IUnknown); impl NetworkAdapter { pub fn OutboundMaxBitsPerSecond(&self) -> ::windows_core::Result { @@ -2225,25 +1874,9 @@ impl NetworkAdapter { } } } -impl ::core::cmp::PartialEq for NetworkAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkAdapter {} -impl ::core::fmt::Debug for NetworkAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkAdapter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkAdapter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkAdapter;{3b542e03-5388-496c-a8a3-affd39aec2e6})"); } -impl ::core::clone::Clone for NetworkAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkAdapter { type Vtable = INetworkAdapter_Vtbl; } @@ -2354,6 +1987,7 @@ impl ::windows_core::RuntimeName for NetworkInformation { } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkItem(::windows_core::IUnknown); impl NetworkItem { pub fn NetworkId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2371,25 +2005,9 @@ impl NetworkItem { } } } -impl ::core::cmp::PartialEq for NetworkItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkItem {} -impl ::core::fmt::Debug for NetworkItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkItem;{01bc4d39-f5e0-4567-a28c-42080c831b2b})"); } -impl ::core::clone::Clone for NetworkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkItem { type Vtable = INetworkItem_Vtbl; } @@ -2404,6 +2022,7 @@ unsafe impl ::core::marker::Send for NetworkItem {} unsafe impl ::core::marker::Sync for NetworkItem {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkSecuritySettings(::windows_core::IUnknown); impl NetworkSecuritySettings { pub fn NetworkAuthenticationType(&self) -> ::windows_core::Result { @@ -2421,25 +2040,9 @@ impl NetworkSecuritySettings { } } } -impl ::core::cmp::PartialEq for NetworkSecuritySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkSecuritySettings {} -impl ::core::fmt::Debug for NetworkSecuritySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkSecuritySettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkSecuritySettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkSecuritySettings;{7ca07e8d-917b-4b5f-b84d-28f7a5ac5402})"); } -impl ::core::clone::Clone for NetworkSecuritySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkSecuritySettings { type Vtable = INetworkSecuritySettings_Vtbl; } @@ -2454,6 +2057,7 @@ unsafe impl ::core::marker::Send for NetworkSecuritySettings {} unsafe impl ::core::marker::Sync for NetworkSecuritySettings {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkStateChangeEventDetails(::windows_core::IUnknown); impl NetworkStateChangeEventDetails { pub fn HasNewInternetConnectionProfile(&self) -> ::windows_core::Result { @@ -2513,25 +2117,9 @@ impl NetworkStateChangeEventDetails { } } } -impl ::core::cmp::PartialEq for NetworkStateChangeEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkStateChangeEventDetails {} -impl ::core::fmt::Debug for NetworkStateChangeEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkStateChangeEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkStateChangeEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkStateChangeEventDetails;{1f0cf333-d7a6-44dd-a4e9-687c476b903d})"); } -impl ::core::clone::Clone for NetworkStateChangeEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkStateChangeEventDetails { type Vtable = INetworkStateChangeEventDetails_Vtbl; } @@ -2546,6 +2134,7 @@ unsafe impl ::core::marker::Send for NetworkStateChangeEventDetails {} unsafe impl ::core::marker::Sync for NetworkStateChangeEventDetails {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkUsage(::windows_core::IUnknown); impl NetworkUsage { pub fn BytesSent(&self) -> ::windows_core::Result { @@ -2572,25 +2161,9 @@ impl NetworkUsage { } } } -impl ::core::cmp::PartialEq for NetworkUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkUsage {} -impl ::core::fmt::Debug for NetworkUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.NetworkUsage;{49da8fce-9985-4927-bf5b-072b5c65f8d9})"); } -impl ::core::clone::Clone for NetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkUsage { type Vtable = INetworkUsage_Vtbl; } @@ -2605,6 +2178,7 @@ unsafe impl ::core::marker::Send for NetworkUsage {} unsafe impl ::core::marker::Sync for NetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProviderNetworkUsage(::windows_core::IUnknown); impl ProviderNetworkUsage { pub fn BytesSent(&self) -> ::windows_core::Result { @@ -2629,25 +2203,9 @@ impl ProviderNetworkUsage { } } } -impl ::core::cmp::PartialEq for ProviderNetworkUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProviderNetworkUsage {} -impl ::core::fmt::Debug for ProviderNetworkUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProviderNetworkUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProviderNetworkUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProviderNetworkUsage;{5ec69e04-7931-48c8-b8f3-46300fa42728})"); } -impl ::core::clone::Clone for ProviderNetworkUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProviderNetworkUsage { type Vtable = IProviderNetworkUsage_Vtbl; } @@ -2662,6 +2220,7 @@ unsafe impl ::core::marker::Send for ProviderNetworkUsage {} unsafe impl ::core::marker::Sync for ProviderNetworkUsage {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProxyConfiguration(::windows_core::IUnknown); impl ProxyConfiguration { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2681,25 +2240,9 @@ impl ProxyConfiguration { } } } -impl ::core::cmp::PartialEq for ProxyConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProxyConfiguration {} -impl ::core::fmt::Debug for ProxyConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProxyConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProxyConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.ProxyConfiguration;{ef3a60b4-9004-4dd6-b7d8-b3e502f4aad0})"); } -impl ::core::clone::Clone for ProxyConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProxyConfiguration { type Vtable = IProxyConfiguration_Vtbl; } @@ -2714,6 +2257,7 @@ unsafe impl ::core::marker::Send for ProxyConfiguration {} unsafe impl ::core::marker::Sync for ProxyConfiguration {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RoutePolicy(::windows_core::IUnknown); impl RoutePolicy { pub fn ConnectionProfile(&self) -> ::windows_core::Result { @@ -2753,25 +2297,9 @@ impl RoutePolicy { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RoutePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RoutePolicy {} -impl ::core::fmt::Debug for RoutePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RoutePolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RoutePolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.RoutePolicy;{11abc4ac-0fc7-42e4-8742-569923b1ca11})"); } -impl ::core::clone::Clone for RoutePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RoutePolicy { type Vtable = IRoutePolicy_Vtbl; } @@ -2786,6 +2314,7 @@ unsafe impl ::core::marker::Send for RoutePolicy {} unsafe impl ::core::marker::Sync for RoutePolicy {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WlanConnectionProfileDetails(::windows_core::IUnknown); impl WlanConnectionProfileDetails { pub fn GetConnectedSsid(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2796,25 +2325,9 @@ impl WlanConnectionProfileDetails { } } } -impl ::core::cmp::PartialEq for WlanConnectionProfileDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WlanConnectionProfileDetails {} -impl ::core::fmt::Debug for WlanConnectionProfileDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WlanConnectionProfileDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WlanConnectionProfileDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WlanConnectionProfileDetails;{562098cb-b35a-4bf1-a884-b7557e88ff86})"); } -impl ::core::clone::Clone for WlanConnectionProfileDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WlanConnectionProfileDetails { type Vtable = IWlanConnectionProfileDetails_Vtbl; } @@ -2829,6 +2342,7 @@ unsafe impl ::core::marker::Send for WlanConnectionProfileDetails {} unsafe impl ::core::marker::Sync for WlanConnectionProfileDetails {} #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WwanConnectionProfileDetails(::windows_core::IUnknown); impl WwanConnectionProfileDetails { pub fn HomeProviderId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2876,25 +2390,9 @@ impl WwanConnectionProfileDetails { } } } -impl ::core::cmp::PartialEq for WwanConnectionProfileDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WwanConnectionProfileDetails {} -impl ::core::fmt::Debug for WwanConnectionProfileDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WwanConnectionProfileDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WwanConnectionProfileDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Connectivity.WwanConnectionProfileDetails;{0e4da8fe-835f-4df3-82fd-df556ebc09ef})"); } -impl ::core::clone::Clone for WwanConnectionProfileDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WwanConnectionProfileDetails { type Vtable = IWwanConnectionProfileDetails_Vtbl; } @@ -3551,6 +3049,7 @@ impl ::core::default::Default for NetworkUsageStates { } #[doc = "*Required features: `\"Networking_Connectivity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkStatusChangedEventHandler(pub ::windows_core::IUnknown); impl NetworkStatusChangedEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -3576,9 +3075,12 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3603,25 +3105,9 @@ impl) -> ::window ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for NetworkStatusChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkStatusChangedEventHandler {} -impl ::core::fmt::Debug for NetworkStatusChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkStatusChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for NetworkStatusChangedEventHandler { type Vtable = NetworkStatusChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for NetworkStatusChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for NetworkStatusChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71ba143f_598e_49d0_84eb_8febaedcc195); } diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index c69867871c..aacd2d927a 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESim(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESim { type Vtable = IESim_Vtbl; } -impl ::core::clone::Clone for IESim { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESim { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f6e6e26_f123_437d_8ced_dc1d2bc0c3a9); } @@ -52,15 +48,11 @@ pub struct IESim_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESim2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESim2 { type Vtable = IESim2_Vtbl; } -impl ::core::clone::Clone for IESim2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESim2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd4fd0a0_c68f_56eb_b99b_8f34b8100299); } @@ -81,15 +73,11 @@ pub struct IESim2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESim3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESim3 { type Vtable = IESim3_Vtbl; } -impl ::core::clone::Clone for IESim3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESim3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe1edf45_01b8_5d31_b8d3_d9cbebb2b831); } @@ -104,15 +92,11 @@ pub struct IESim3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimAddedEventArgs { type Vtable = IESimAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IESimAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38bd0a58_4d5a_4d08_8da7_e73eff369ddd); } @@ -124,15 +108,11 @@ pub struct IESimAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimDiscoverEvent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimDiscoverEvent { type Vtable = IESimDiscoverEvent_Vtbl; } -impl ::core::clone::Clone for IESimDiscoverEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimDiscoverEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe59ac3e3_39bc_5f6f_9321_0d4a182d261b); } @@ -145,15 +125,11 @@ pub struct IESimDiscoverEvent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimDiscoverResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimDiscoverResult { type Vtable = IESimDiscoverResult_Vtbl; } -impl ::core::clone::Clone for IESimDiscoverResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimDiscoverResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56b4bb5e_ab2f_5ac6_b359_dd5a8e237926); } @@ -171,15 +147,11 @@ pub struct IESimDiscoverResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimDownloadProfileMetadataResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimDownloadProfileMetadataResult { type Vtable = IESimDownloadProfileMetadataResult_Vtbl; } -impl ::core::clone::Clone for IESimDownloadProfileMetadataResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimDownloadProfileMetadataResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4234d9e_5ad6_426d_8d00_4434f449afec); } @@ -192,15 +164,11 @@ pub struct IESimDownloadProfileMetadataResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimManagerStatics { type Vtable = IESimManagerStatics_Vtbl; } -impl ::core::clone::Clone for IESimManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bfa2c0c_df88_4631_bf04_c12e281b3962); } @@ -221,15 +189,11 @@ pub struct IESimManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimOperationResult { type Vtable = IESimOperationResult_Vtbl; } -impl ::core::clone::Clone for IESimOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa67b63b1_309b_4e77_9e7e_cd93f1ddc7b9); } @@ -241,15 +205,11 @@ pub struct IESimOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimPolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimPolicy { type Vtable = IESimPolicy_Vtbl; } -impl ::core::clone::Clone for IESimPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41e1b99d_cf7e_4315_882b_6f1e74b0d38f); } @@ -261,15 +221,11 @@ pub struct IESimPolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimProfile { type Vtable = IESimProfile_Vtbl; } -impl ::core::clone::Clone for IESimProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee1e7880_06a9_4027_b4f8_ddb23d7810e0); } @@ -303,15 +259,11 @@ pub struct IESimProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimProfileMetadata(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimProfileMetadata { type Vtable = IESimProfileMetadata_Vtbl; } -impl ::core::clone::Clone for IESimProfileMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimProfileMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed25831f_90db_498d_a7b4_ebce807d3c23); } @@ -356,15 +308,11 @@ pub struct IESimProfileMetadata_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimProfilePolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimProfilePolicy { type Vtable = IESimProfilePolicy_Vtbl; } -impl ::core::clone::Clone for IESimProfilePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimProfilePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6dd0f1d_9c5c_46c5_a289_a948999bf062); } @@ -378,15 +326,11 @@ pub struct IESimProfilePolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimRemovedEventArgs { type Vtable = IESimRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IESimRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdec5277b_2fd9_4ed9_8376_d9b5e41278a3); } @@ -398,15 +342,11 @@ pub struct IESimRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimServiceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimServiceInfo { type Vtable = IESimServiceInfo_Vtbl; } -impl ::core::clone::Clone for IESimServiceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimServiceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf16aabcf_7f59_4a51_8494_bd89d5ff50ee); } @@ -419,15 +359,11 @@ pub struct IESimServiceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimUpdatedEventArgs { type Vtable = IESimUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IESimUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c125cec_508d_4b88_83cb_68bef8168d12); } @@ -439,15 +375,11 @@ pub struct IESimUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESimWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IESimWatcher { type Vtable = IESimWatcher_Vtbl; } -impl ::core::clone::Clone for IESimWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESimWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1f84ceb_a28d_4fbf_9771_6e31b81ccf22); } @@ -501,15 +433,11 @@ pub struct IESimWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFdnAccessManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFdnAccessManagerStatics { type Vtable = IFdnAccessManagerStatics_Vtbl; } -impl ::core::clone::Clone for IFdnAccessManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFdnAccessManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2aa4395_f1e6_4319_aa3e_477ca64b2bdf); } @@ -524,15 +452,11 @@ pub struct IFdnAccessManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHotspotAuthenticationContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHotspotAuthenticationContext { type Vtable = IHotspotAuthenticationContext_Vtbl; } -impl ::core::clone::Clone for IHotspotAuthenticationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHotspotAuthenticationContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_1003_4de5_83c7_de61d88831d0); } @@ -564,15 +488,11 @@ pub struct IHotspotAuthenticationContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHotspotAuthenticationContext2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHotspotAuthenticationContext2 { type Vtable = IHotspotAuthenticationContext2_Vtbl; } -impl ::core::clone::Clone for IHotspotAuthenticationContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHotspotAuthenticationContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_1004_4de5_83c7_de61d88831d0); } @@ -587,15 +507,11 @@ pub struct IHotspotAuthenticationContext2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHotspotAuthenticationContextStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHotspotAuthenticationContextStatics { type Vtable = IHotspotAuthenticationContextStatics_Vtbl; } -impl ::core::clone::Clone for IHotspotAuthenticationContextStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHotspotAuthenticationContextStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_1002_4de5_83c7_de61d88831d0); } @@ -607,15 +523,11 @@ pub struct IHotspotAuthenticationContextStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHotspotAuthenticationEventDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHotspotAuthenticationEventDetails { type Vtable = IHotspotAuthenticationEventDetails_Vtbl; } -impl ::core::clone::Clone for IHotspotAuthenticationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHotspotAuthenticationEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_1001_4de5_83c7_de61d88831d0); } @@ -627,15 +539,11 @@ pub struct IHotspotAuthenticationEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHotspotCredentialsAuthenticationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHotspotCredentialsAuthenticationResult { type Vtable = IHotspotCredentialsAuthenticationResult_Vtbl; } -impl ::core::clone::Clone for IHotspotCredentialsAuthenticationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHotspotCredentialsAuthenticationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe756c791_1005_4de5_83c7_de61d88831d0); } @@ -656,15 +564,11 @@ pub struct IHotspotCredentialsAuthenticationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownCSimFilePathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownCSimFilePathsStatics { type Vtable = IKnownCSimFilePathsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownCSimFilePathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownCSimFilePathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb458aeed_49f1_4c22_b073_96d511bf9c35); } @@ -687,15 +591,11 @@ pub struct IKnownCSimFilePathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownRuimFilePathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownRuimFilePathsStatics { type Vtable = IKnownRuimFilePathsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownRuimFilePathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownRuimFilePathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3883c8b9_ff24_4571_a867_09f960426e14); } @@ -718,15 +618,11 @@ pub struct IKnownRuimFilePathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownSimFilePathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownSimFilePathsStatics { type Vtable = IKnownSimFilePathsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownSimFilePathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownSimFilePathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80cd1a63_37a5_43d3_80a3_ccd23e8fecee); } @@ -753,15 +649,11 @@ pub struct IKnownSimFilePathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownUSimFilePathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownUSimFilePathsStatics { type Vtable = IKnownUSimFilePathsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownUSimFilePathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownUSimFilePathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c34e581_1f1b_43f4_9530_8b092d32d71f); } @@ -792,15 +684,11 @@ pub struct IKnownUSimFilePathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccount(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccount { type Vtable = IMobileBroadbandAccount_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36c24ccd_cee2_43e0_a603_ee86a36d6570); } @@ -816,15 +704,11 @@ pub struct IMobileBroadbandAccount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccount2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccount2 { type Vtable = IMobileBroadbandAccount2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccount2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccount2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38f52f1c_1136_4257_959f_b658a352b6d4); } @@ -839,15 +723,11 @@ pub struct IMobileBroadbandAccount2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccount3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccount3 { type Vtable = IMobileBroadbandAccount3_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccount3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccount3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x092a1e21_9379_4b9b_ad31_d5fee2f748c6); } @@ -862,15 +742,11 @@ pub struct IMobileBroadbandAccount3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccountEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccountEventArgs { type Vtable = IMobileBroadbandAccountEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccountEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccountEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3853c880_77de_4c04_bead_a123b08c9f59); } @@ -882,15 +758,11 @@ pub struct IMobileBroadbandAccountEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccountStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccountStatics { type Vtable = IMobileBroadbandAccountStatics_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccountStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccountStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa7f4d24_afc1_4fc8_ae9a_a9175310faad); } @@ -906,15 +778,11 @@ pub struct IMobileBroadbandAccountStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccountUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccountUpdatedEventArgs { type Vtable = IMobileBroadbandAccountUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccountUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccountUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bc31d88_a6bd_49e1_80ab_6b91354a57d4); } @@ -928,15 +796,11 @@ pub struct IMobileBroadbandAccountUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAccountWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAccountWatcher { type Vtable = IMobileBroadbandAccountWatcher_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAccountWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAccountWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf3335e_23b5_449f_928d_5e0d3e04471d); } @@ -990,15 +854,11 @@ pub struct IMobileBroadbandAccountWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAntennaSar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAntennaSar { type Vtable = IMobileBroadbandAntennaSar_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAntennaSar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAntennaSar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9af4b7e_cbf9_4109_90be_5c06bfd513b6); } @@ -1011,15 +871,11 @@ pub struct IMobileBroadbandAntennaSar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandAntennaSarFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandAntennaSarFactory { type Vtable = IMobileBroadbandAntennaSarFactory_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandAntennaSarFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandAntennaSarFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa91e1716_c04d_4a21_8698_1459dc672c6e); } @@ -1031,15 +887,11 @@ pub struct IMobileBroadbandAntennaSarFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellCdma(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellCdma { type Vtable = IMobileBroadbandCellCdma_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellCdma { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellCdma { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0601b3b4_411a_4f2e_8287_76f5650c60cd); } @@ -1082,15 +934,11 @@ pub struct IMobileBroadbandCellCdma_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellGsm(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellGsm { type Vtable = IMobileBroadbandCellGsm_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellGsm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellGsm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc917f06_7ee0_47b8_9e1f_c3b48df9df5b); } @@ -1126,15 +974,11 @@ pub struct IMobileBroadbandCellGsm_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellLte(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellLte { type Vtable = IMobileBroadbandCellLte_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellLte { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellLte { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9197c87b_2b78_456d_8b53_aaa25d0af741); } @@ -1174,15 +1018,11 @@ pub struct IMobileBroadbandCellLte_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellNR(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellNR { type Vtable = IMobileBroadbandCellNR_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellNR { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellNR { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa13f0deb_66fc_4b4b_83a9_a487a3a5a0a6); } @@ -1226,15 +1066,11 @@ pub struct IMobileBroadbandCellNR_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellTdscdma(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellTdscdma { type Vtable = IMobileBroadbandCellTdscdma_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellTdscdma { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellTdscdma { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0eda1655_db0e_4182_8cda_cc419a7bde08); } @@ -1274,15 +1110,11 @@ pub struct IMobileBroadbandCellTdscdma_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellUmts(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellUmts { type Vtable = IMobileBroadbandCellUmts_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellUmts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellUmts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77b4b5ae_49c8_4f15_b285_4c26a7f67215); } @@ -1322,15 +1154,11 @@ pub struct IMobileBroadbandCellUmts_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellsInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellsInfo { type Vtable = IMobileBroadbandCellsInfo_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellsInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89a9562a_e472_4da5_929c_de61711dd261); } @@ -1381,15 +1209,11 @@ pub struct IMobileBroadbandCellsInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCellsInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCellsInfo2 { type Vtable = IMobileBroadbandCellsInfo2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCellsInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCellsInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66205912_b89f_4e12_bbb6_d5cf09a820ca); } @@ -1408,15 +1232,11 @@ pub struct IMobileBroadbandCellsInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandCurrentSlotIndexChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandCurrentSlotIndexChangedEventArgs { type Vtable = IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandCurrentSlotIndexChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandCurrentSlotIndexChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf718b184_c370_5fd4_a670_1846cb9bce47); } @@ -1428,15 +1248,11 @@ pub struct IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceInformation { type Vtable = IMobileBroadbandDeviceInformation_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6d08168_e381_4c6e_9be8_fe156969a446); } @@ -1467,15 +1283,11 @@ pub struct IMobileBroadbandDeviceInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceInformation2 { type Vtable = IMobileBroadbandDeviceInformation2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e467af1_f932_4737_a722_03ba72370cb8); } @@ -1489,15 +1301,11 @@ pub struct IMobileBroadbandDeviceInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceInformation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceInformation3 { type Vtable = IMobileBroadbandDeviceInformation3_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceInformation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceInformation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe08bb4bd_5d30_4b5a_92cc_d54df881d49e); } @@ -1511,15 +1319,11 @@ pub struct IMobileBroadbandDeviceInformation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceInformation4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceInformation4 { type Vtable = IMobileBroadbandDeviceInformation4_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceInformation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceInformation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x263f3152_7b9d_582c_b17c_f80a60b50031); } @@ -1531,15 +1335,11 @@ pub struct IMobileBroadbandDeviceInformation4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceService { type Vtable = IMobileBroadbandDeviceService_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22be1a52_bd80_40ac_8e1f_2e07836a3dbd); } @@ -1557,15 +1357,11 @@ pub struct IMobileBroadbandDeviceService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceCommandResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceCommandResult { type Vtable = IMobileBroadbandDeviceServiceCommandResult_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceCommandResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceCommandResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0f46abb_94d6_44b9_a538_f0810b645389); } @@ -1581,15 +1377,11 @@ pub struct IMobileBroadbandDeviceServiceCommandResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceCommandSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceCommandSession { type Vtable = IMobileBroadbandDeviceServiceCommandSession_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceCommandSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceCommandSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc098a45_913b_4914_b6c3_ae6304593e75); } @@ -1609,15 +1401,11 @@ pub struct IMobileBroadbandDeviceServiceCommandSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceDataReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceDataReceivedEventArgs { type Vtable = IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceDataReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6aa13de_1380_40e3_8618_73cbca48138c); } @@ -1632,15 +1420,11 @@ pub struct IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceDataSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceDataSession { type Vtable = IMobileBroadbandDeviceServiceDataSession_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceDataSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceDataSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdad62333_8bcf_4289_8a37_045c2169486a); } @@ -1664,15 +1448,11 @@ pub struct IMobileBroadbandDeviceServiceDataSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceInformation { type Vtable = IMobileBroadbandDeviceServiceInformation_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53d69b5b_c4ed_45f0_803a_d9417a6d9846); } @@ -1686,15 +1466,11 @@ pub struct IMobileBroadbandDeviceServiceInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceTriggerDetails { type Vtable = IMobileBroadbandDeviceServiceTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a055b70_b9ae_4458_9241_a6a5fbf18a0c); } @@ -1711,15 +1487,11 @@ pub struct IMobileBroadbandDeviceServiceTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandDeviceServiceTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandDeviceServiceTriggerDetails2 { type Vtable = IMobileBroadbandDeviceServiceTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandDeviceServiceTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandDeviceServiceTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd83d5f16_336a_553f_94bb_0cd1a2ff0c81); } @@ -1731,15 +1503,11 @@ pub struct IMobileBroadbandDeviceServiceTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModem { type Vtable = IMobileBroadbandModem_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0356912_e9f9_4f67_a03d_43189a316bf1); } @@ -1769,15 +1537,11 @@ pub struct IMobileBroadbandModem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModem2 { type Vtable = IMobileBroadbandModem2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12862b28_b9eb_4ee2_bbe3_711f53eea373); } @@ -1796,15 +1560,11 @@ pub struct IMobileBroadbandModem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModem3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModem3 { type Vtable = IMobileBroadbandModem3_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModem3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModem3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9fec6ea_2f34_4582_9102_c314d2a87eec); } @@ -1828,15 +1588,11 @@ pub struct IMobileBroadbandModem3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModem4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModem4 { type Vtable = IMobileBroadbandModem4_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModem4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModem4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a0398c2_91be_412b_b569_586e9f0030d1); } @@ -1857,15 +1613,11 @@ pub struct IMobileBroadbandModem4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModemConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModemConfiguration { type Vtable = IMobileBroadbandModemConfiguration_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModemConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModemConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfce035a3_d6cd_4320_b982_be9d3ec7890f); } @@ -1879,15 +1631,11 @@ pub struct IMobileBroadbandModemConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModemConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModemConfiguration2 { type Vtable = IMobileBroadbandModemConfiguration2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModemConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModemConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x320ff5c5_e460_42ae_aa51_69621e7a4477); } @@ -1899,15 +1647,11 @@ pub struct IMobileBroadbandModemConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModemIsolation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModemIsolation { type Vtable = IMobileBroadbandModemIsolation_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModemIsolation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModemIsolation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5618fec_e661_4330_9bb4_3480212ec354); } @@ -1928,15 +1672,11 @@ pub struct IMobileBroadbandModemIsolation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModemIsolationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModemIsolationFactory { type Vtable = IMobileBroadbandModemIsolationFactory_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModemIsolationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModemIsolationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21d7ec58_c2b1_4c2f_a030_72820a24ecd9); } @@ -1948,15 +1688,11 @@ pub struct IMobileBroadbandModemIsolationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandModemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandModemStatics { type Vtable = IMobileBroadbandModemStatics_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandModemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandModemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf99ed637_d6f1_4a78_8cbc_6421a65063c8); } @@ -1970,15 +1706,11 @@ pub struct IMobileBroadbandModemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandNetwork(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandNetwork { type Vtable = IMobileBroadbandNetwork_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb63928c_0309_4cb6_a8c1_6a5a3c8e1ff6); } @@ -2002,15 +1734,11 @@ pub struct IMobileBroadbandNetwork_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandNetwork2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandNetwork2 { type Vtable = IMobileBroadbandNetwork2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandNetwork2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandNetwork2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a55db22_62f7_4bdd_ba1d_477441960ba0); } @@ -2029,15 +1757,11 @@ pub struct IMobileBroadbandNetwork2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandNetwork3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandNetwork3 { type Vtable = IMobileBroadbandNetwork3_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandNetwork3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandNetwork3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33670a8a_c7ef_444c_ab6c_df7ef7a390fe); } @@ -2052,15 +1776,11 @@ pub struct IMobileBroadbandNetwork3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandNetworkRegistrationStateChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandNetworkRegistrationStateChange { type Vtable = IMobileBroadbandNetworkRegistrationStateChange_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandNetworkRegistrationStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandNetworkRegistrationStateChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeaf94e1_960f_49b4_a08d_7d85e968c7ec); } @@ -2073,15 +1793,11 @@ pub struct IMobileBroadbandNetworkRegistrationStateChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails { type Vtable = IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89135cff_28b8_46aa_b137_1c4b0f21edfe); } @@ -2096,15 +1812,11 @@ pub struct IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPco(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPco { type Vtable = IMobileBroadbandPco_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPco { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPco { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4e4fcbe_e3a3_43c5_a87b_6c86d229d7fa); } @@ -2121,15 +1833,11 @@ pub struct IMobileBroadbandPco_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPcoDataChangeTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPcoDataChangeTriggerDetails { type Vtable = IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPcoDataChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPcoDataChangeTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x263f5114_64e0_4493_909b_2d14a01962b1); } @@ -2141,15 +1849,11 @@ pub struct IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPin(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPin { type Vtable = IMobileBroadbandPin_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe661d709_e779_45bf_8281_75323df9e321); } @@ -2187,15 +1891,11 @@ pub struct IMobileBroadbandPin_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPinLockStateChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPinLockStateChange { type Vtable = IMobileBroadbandPinLockStateChange_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPinLockStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPinLockStateChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe16673e_1f04_4f95_8b90_e7f559dde7e5); } @@ -2209,15 +1909,11 @@ pub struct IMobileBroadbandPinLockStateChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPinLockStateChangeTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPinLockStateChangeTriggerDetails { type Vtable = IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPinLockStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPinLockStateChangeTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd338c091_3e91_4d38_9036_aee83a6e79ad); } @@ -2232,15 +1928,11 @@ pub struct IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPinManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPinManager { type Vtable = IMobileBroadbandPinManager_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPinManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPinManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83567edd_6e1f_4b9b_a413_2b1f50cc36df); } @@ -2256,15 +1948,11 @@ pub struct IMobileBroadbandPinManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandPinOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandPinOperationResult { type Vtable = IMobileBroadbandPinOperationResult_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandPinOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandPinOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11dddc32_31e7_49f5_b663_123d3bef0362); } @@ -2277,15 +1965,11 @@ pub struct IMobileBroadbandPinOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandRadioStateChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandRadioStateChange { type Vtable = IMobileBroadbandRadioStateChange_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandRadioStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandRadioStateChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb054a561_9833_4aed_9717_4348b21a24b3); } @@ -2298,15 +1982,11 @@ pub struct IMobileBroadbandRadioStateChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandRadioStateChangeTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandRadioStateChangeTriggerDetails { type Vtable = IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandRadioStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandRadioStateChangeTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71301ace_093c_42c6_b0db_ad1f75a65445); } @@ -2321,15 +2001,11 @@ pub struct IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandSarManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandSarManager { type Vtable = IMobileBroadbandSarManager_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandSarManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandSarManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5b26833_967e_40c9_a485_19c0dd209e22); } @@ -2385,15 +2061,11 @@ pub struct IMobileBroadbandSarManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandSlotInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandSlotInfo { type Vtable = IMobileBroadbandSlotInfo_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandSlotInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandSlotInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd350b32_882e_542a_b17d_0bb1b49bae9e); } @@ -2406,15 +2078,11 @@ pub struct IMobileBroadbandSlotInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandSlotInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandSlotInfo2 { type Vtable = IMobileBroadbandSlotInfo2_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandSlotInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandSlotInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x393cb039_ca44_524c_822d_83a3620f0efc); } @@ -2426,15 +2094,11 @@ pub struct IMobileBroadbandSlotInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandSlotInfoChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandSlotInfoChangedEventArgs { type Vtable = IMobileBroadbandSlotInfoChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandSlotInfoChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandSlotInfoChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3158839f_950c_54ce_a48d_ba4529b48f0f); } @@ -2446,15 +2110,11 @@ pub struct IMobileBroadbandSlotInfoChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandSlotManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandSlotManager { type Vtable = IMobileBroadbandSlotManager_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandSlotManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandSlotManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba07cd6_2019_5f81_a294_cc364a11d0b2); } @@ -2491,15 +2151,11 @@ pub struct IMobileBroadbandSlotManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandTransmissionStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandTransmissionStateChangedEventArgs { type Vtable = IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandTransmissionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandTransmissionStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x612e3875_040a_4f99_a4f9_61d7c32da129); } @@ -2511,15 +2167,11 @@ pub struct IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandUicc(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandUicc { type Vtable = IMobileBroadbandUicc_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandUicc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandUicc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe634f691_525a_4ce2_8fce_aa4162579154); } @@ -2535,15 +2187,11 @@ pub struct IMobileBroadbandUicc_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandUiccApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandUiccApp { type Vtable = IMobileBroadbandUiccApp_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandUiccApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandUiccApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d170556_98a1_43dd_b2ec_50c90cf248df); } @@ -2567,15 +2215,11 @@ pub struct IMobileBroadbandUiccApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandUiccAppReadRecordResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandUiccAppReadRecordResult { type Vtable = IMobileBroadbandUiccAppReadRecordResult_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandUiccAppReadRecordResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandUiccAppReadRecordResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64c95285_358e_47c5_8249_695f383b2bdb); } @@ -2591,15 +2235,11 @@ pub struct IMobileBroadbandUiccAppReadRecordResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandUiccAppRecordDetailsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandUiccAppRecordDetailsResult { type Vtable = IMobileBroadbandUiccAppRecordDetailsResult_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandUiccAppRecordDetailsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandUiccAppRecordDetailsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd919682f_be14_4934_981d_2f57b9ed83e6); } @@ -2616,15 +2256,11 @@ pub struct IMobileBroadbandUiccAppRecordDetailsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMobileBroadbandUiccAppsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMobileBroadbandUiccAppsResult { type Vtable = IMobileBroadbandUiccAppsResult_Vtbl; } -impl ::core::clone::Clone for IMobileBroadbandUiccAppsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMobileBroadbandUiccAppsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x744930eb_8157_4a41_8494_6bf54c9b1d2b); } @@ -2640,15 +2276,11 @@ pub struct IMobileBroadbandUiccAppsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorDataUsageTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorDataUsageTriggerDetails { type Vtable = INetworkOperatorDataUsageTriggerDetails_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorDataUsageTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorDataUsageTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50e3126d_a465_4eeb_9317_28a167630cea); } @@ -2660,15 +2292,11 @@ pub struct INetworkOperatorDataUsageTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorNotificationEventDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorNotificationEventDetails { type Vtable = INetworkOperatorNotificationEventDetails_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorNotificationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorNotificationEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc68a9d1_82e1_4488_9f2c_1276c2468fac); } @@ -2688,15 +2316,11 @@ pub struct INetworkOperatorNotificationEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringAccessPointConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringAccessPointConfiguration { type Vtable = INetworkOperatorTetheringAccessPointConfiguration_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringAccessPointConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringAccessPointConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bcc0284_412e_403d_acc6_b757e34774a4); } @@ -2711,15 +2335,11 @@ pub struct INetworkOperatorTetheringAccessPointConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringAccessPointConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringAccessPointConfiguration2 { type Vtable = INetworkOperatorTetheringAccessPointConfiguration2_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringAccessPointConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringAccessPointConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1809142_7238_59a0_928b_74ab46fd64b6); } @@ -2737,15 +2357,11 @@ pub struct INetworkOperatorTetheringAccessPointConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringClient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringClient { type Vtable = INetworkOperatorTetheringClient_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x709d254c_595f_4847_bb30_646935542918); } @@ -2761,15 +2377,11 @@ pub struct INetworkOperatorTetheringClient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringClientManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringClientManager { type Vtable = INetworkOperatorTetheringClientManager_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringClientManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringClientManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91b14016_8dca_4225_bbed_eef8b8d718d7); } @@ -2784,15 +2396,11 @@ pub struct INetworkOperatorTetheringClientManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringEntitlementCheck(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringEntitlementCheck { type Vtable = INetworkOperatorTetheringEntitlementCheck_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringEntitlementCheck { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringEntitlementCheck { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0108916d_9e9a_4af6_8da3_60493b19c204); } @@ -2804,15 +2412,11 @@ pub struct INetworkOperatorTetheringEntitlementCheck_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringManager { type Vtable = INetworkOperatorTetheringManager_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45a8da0_0e86_4d98_8ba4_dd70d4b764d3); } @@ -2839,15 +2443,11 @@ pub struct INetworkOperatorTetheringManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringManagerStatics { type Vtable = INetworkOperatorTetheringManagerStatics_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ebcbacc_f8c3_405c_9964_70a1eeabe194); } @@ -2860,15 +2460,11 @@ pub struct INetworkOperatorTetheringManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringManagerStatics2 { type Vtable = INetworkOperatorTetheringManagerStatics2_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b235412_35f0_49e7_9b08_16d278fbaa42); } @@ -2887,15 +2483,11 @@ pub struct INetworkOperatorTetheringManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringManagerStatics3 { type Vtable = INetworkOperatorTetheringManagerStatics3_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fdaadb6_4af9_4f21_9b58_d53e9f24231e); } @@ -2910,15 +2502,11 @@ pub struct INetworkOperatorTetheringManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringManagerStatics4 { type Vtable = INetworkOperatorTetheringManagerStatics4_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3b9f9d0_ebff_46a4_a847_d663d8b0977e); } @@ -2940,15 +2528,11 @@ pub struct INetworkOperatorTetheringManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkOperatorTetheringOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INetworkOperatorTetheringOperationResult { type Vtable = INetworkOperatorTetheringOperationResult_Vtbl; } -impl ::core::clone::Clone for INetworkOperatorTetheringOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkOperatorTetheringOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebd203a1_01ba_476d_b4b3_bf3d12c8f80c); } @@ -2961,15 +2545,11 @@ pub struct INetworkOperatorTetheringOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisionFromXmlDocumentResults(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProvisionFromXmlDocumentResults { type Vtable = IProvisionFromXmlDocumentResults_Vtbl; } -impl ::core::clone::Clone for IProvisionFromXmlDocumentResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisionFromXmlDocumentResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x217700e0_8203_11df_adb9_f4ce462d9137); } @@ -2982,15 +2562,11 @@ pub struct IProvisionFromXmlDocumentResults_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisionedProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProvisionedProfile { type Vtable = IProvisionedProfile_Vtbl; } -impl ::core::clone::Clone for IProvisionedProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisionedProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x217700e0_8202_11df_adb9_f4ce462d9137); } @@ -3009,15 +2585,11 @@ pub struct IProvisionedProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisioningAgent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProvisioningAgent { type Vtable = IProvisioningAgent_Vtbl; } -impl ::core::clone::Clone for IProvisioningAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisioningAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x217700e0_8201_11df_adb9_f4ce462d9137); } @@ -3033,15 +2605,11 @@ pub struct IProvisioningAgent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisioningAgentStaticMethods(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProvisioningAgentStaticMethods { type Vtable = IProvisioningAgentStaticMethods_Vtbl; } -impl ::core::clone::Clone for IProvisioningAgentStaticMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisioningAgentStaticMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x217700e0_8101_11df_adb9_f4ce462d9137); } @@ -3053,15 +2621,11 @@ pub struct IProvisioningAgentStaticMethods_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITetheringEntitlementCheckTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITetheringEntitlementCheckTriggerDetails { type Vtable = ITetheringEntitlementCheckTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ITetheringEntitlementCheckTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITetheringEntitlementCheckTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03c65e9d_5926_41f3_a94e_b50926fc421b); } @@ -3075,15 +2639,11 @@ pub struct ITetheringEntitlementCheckTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUssdMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUssdMessage { type Vtable = IUssdMessage_Vtbl; } -impl ::core::clone::Clone for IUssdMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUssdMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9acf82_2004_4d5d_bf81_2aba1b4be4a8); } @@ -3100,15 +2660,11 @@ pub struct IUssdMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUssdMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUssdMessageFactory { type Vtable = IUssdMessageFactory_Vtbl; } -impl ::core::clone::Clone for IUssdMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUssdMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9acf82_1003_4d5d_bf81_2aba1b4be4a8); } @@ -3120,15 +2676,11 @@ pub struct IUssdMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUssdReply(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUssdReply { type Vtable = IUssdReply_Vtbl; } -impl ::core::clone::Clone for IUssdReply { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUssdReply { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9acf82_2005_4d5d_bf81_2aba1b4be4a8); } @@ -3141,15 +2693,11 @@ pub struct IUssdReply_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUssdSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUssdSession { type Vtable = IUssdSession_Vtbl; } -impl ::core::clone::Clone for IUssdSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUssdSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9acf82_2002_4d5d_bf81_2aba1b4be4a8); } @@ -3165,15 +2713,11 @@ pub struct IUssdSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUssdSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUssdSessionStatics { type Vtable = IUssdSessionStatics_Vtbl; } -impl ::core::clone::Clone for IUssdSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUssdSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9acf82_1001_4d5d_bf81_2aba1b4be4a8); } @@ -3186,6 +2730,7 @@ pub struct IUssdSessionStatics_Vtbl { } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESim(::windows_core::IUnknown); impl ESim { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3328,25 +2873,9 @@ impl ESim { } } } -impl ::core::cmp::PartialEq for ESim { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESim {} -impl ::core::fmt::Debug for ESim { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESim").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESim { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESim;{6f6e6e26-f123-437d-8ced-dc1d2bc0c3a9})"); } -impl ::core::clone::Clone for ESim { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESim { type Vtable = IESim_Vtbl; } @@ -3361,6 +2890,7 @@ unsafe impl ::core::marker::Send for ESim {} unsafe impl ::core::marker::Sync for ESim {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimAddedEventArgs(::windows_core::IUnknown); impl ESimAddedEventArgs { pub fn ESim(&self) -> ::windows_core::Result { @@ -3371,25 +2901,9 @@ impl ESimAddedEventArgs { } } } -impl ::core::cmp::PartialEq for ESimAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimAddedEventArgs {} -impl ::core::fmt::Debug for ESimAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimAddedEventArgs;{38bd0a58-4d5a-4d08-8da7-e73eff369ddd})"); } -impl ::core::clone::Clone for ESimAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimAddedEventArgs { type Vtable = IESimAddedEventArgs_Vtbl; } @@ -3404,6 +2918,7 @@ unsafe impl ::core::marker::Send for ESimAddedEventArgs {} unsafe impl ::core::marker::Sync for ESimAddedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimDiscoverEvent(::windows_core::IUnknown); impl ESimDiscoverEvent { pub fn MatchingId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3421,25 +2936,9 @@ impl ESimDiscoverEvent { } } } -impl ::core::cmp::PartialEq for ESimDiscoverEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimDiscoverEvent {} -impl ::core::fmt::Debug for ESimDiscoverEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimDiscoverEvent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimDiscoverEvent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverEvent;{e59ac3e3-39bc-5f6f-9321-0d4a182d261b})"); } -impl ::core::clone::Clone for ESimDiscoverEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimDiscoverEvent { type Vtable = IESimDiscoverEvent_Vtbl; } @@ -3454,6 +2953,7 @@ unsafe impl ::core::marker::Send for ESimDiscoverEvent {} unsafe impl ::core::marker::Sync for ESimDiscoverEvent {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimDiscoverResult(::windows_core::IUnknown); impl ESimDiscoverResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3487,25 +2987,9 @@ impl ESimDiscoverResult { } } } -impl ::core::cmp::PartialEq for ESimDiscoverResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimDiscoverResult {} -impl ::core::fmt::Debug for ESimDiscoverResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimDiscoverResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimDiscoverResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDiscoverResult;{56b4bb5e-ab2f-5ac6-b359-dd5a8e237926})"); } -impl ::core::clone::Clone for ESimDiscoverResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimDiscoverResult { type Vtable = IESimDiscoverResult_Vtbl; } @@ -3520,6 +3004,7 @@ unsafe impl ::core::marker::Send for ESimDiscoverResult {} unsafe impl ::core::marker::Sync for ESimDiscoverResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimDownloadProfileMetadataResult(::windows_core::IUnknown); impl ESimDownloadProfileMetadataResult { pub fn Result(&self) -> ::windows_core::Result { @@ -3537,25 +3022,9 @@ impl ESimDownloadProfileMetadataResult { } } } -impl ::core::cmp::PartialEq for ESimDownloadProfileMetadataResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimDownloadProfileMetadataResult {} -impl ::core::fmt::Debug for ESimDownloadProfileMetadataResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimDownloadProfileMetadataResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimDownloadProfileMetadataResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimDownloadProfileMetadataResult;{c4234d9e-5ad6-426d-8d00-4434f449afec})"); } -impl ::core::clone::Clone for ESimDownloadProfileMetadataResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimDownloadProfileMetadataResult { type Vtable = IESimDownloadProfileMetadataResult_Vtbl; } @@ -3610,6 +3079,7 @@ impl ::windows_core::RuntimeName for ESimManager { } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimOperationResult(::windows_core::IUnknown); impl ESimOperationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -3620,25 +3090,9 @@ impl ESimOperationResult { } } } -impl ::core::cmp::PartialEq for ESimOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimOperationResult {} -impl ::core::fmt::Debug for ESimOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimOperationResult;{a67b63b1-309b-4e77-9e7e-cd93f1ddc7b9})"); } -impl ::core::clone::Clone for ESimOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimOperationResult { type Vtable = IESimOperationResult_Vtbl; } @@ -3653,6 +3107,7 @@ unsafe impl ::core::marker::Send for ESimOperationResult {} unsafe impl ::core::marker::Sync for ESimOperationResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimPolicy(::windows_core::IUnknown); impl ESimPolicy { pub fn ShouldEnableManagingUi(&self) -> ::windows_core::Result { @@ -3663,25 +3118,9 @@ impl ESimPolicy { } } } -impl ::core::cmp::PartialEq for ESimPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimPolicy {} -impl ::core::fmt::Debug for ESimPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimPolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimPolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimPolicy;{41e1b99d-cf7e-4315-882b-6f1e74b0d38f})"); } -impl ::core::clone::Clone for ESimPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimPolicy { type Vtable = IESimPolicy_Vtbl; } @@ -3696,6 +3135,7 @@ unsafe impl ::core::marker::Send for ESimPolicy {} unsafe impl ::core::marker::Sync for ESimPolicy {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimProfile(::windows_core::IUnknown); impl ESimProfile { pub fn Class(&self) -> ::windows_core::Result { @@ -3784,25 +3224,9 @@ impl ESimProfile { } } } -impl ::core::cmp::PartialEq for ESimProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimProfile {} -impl ::core::fmt::Debug for ESimProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfile;{ee1e7880-06a9-4027-b4f8-ddb23d7810e0})"); } -impl ::core::clone::Clone for ESimProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimProfile { type Vtable = IESimProfile_Vtbl; } @@ -3817,6 +3241,7 @@ unsafe impl ::core::marker::Send for ESimProfile {} unsafe impl ::core::marker::Sync for ESimProfile {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimProfileMetadata(::windows_core::IUnknown); impl ESimProfileMetadata { pub fn IsConfirmationCodeRequired(&self) -> ::windows_core::Result { @@ -3925,25 +3350,9 @@ impl ESimProfileMetadata { unsafe { (::windows_core::Interface::vtable(this).RemoveStateChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ESimProfileMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimProfileMetadata {} -impl ::core::fmt::Debug for ESimProfileMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimProfileMetadata").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimProfileMetadata { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfileMetadata;{ed25831f-90db-498d-a7b4-ebce807d3c23})"); } -impl ::core::clone::Clone for ESimProfileMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimProfileMetadata { type Vtable = IESimProfileMetadata_Vtbl; } @@ -3958,6 +3367,7 @@ unsafe impl ::core::marker::Send for ESimProfileMetadata {} unsafe impl ::core::marker::Sync for ESimProfileMetadata {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimProfilePolicy(::windows_core::IUnknown); impl ESimProfilePolicy { pub fn CanDelete(&self) -> ::windows_core::Result { @@ -3982,25 +3392,9 @@ impl ESimProfilePolicy { } } } -impl ::core::cmp::PartialEq for ESimProfilePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimProfilePolicy {} -impl ::core::fmt::Debug for ESimProfilePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimProfilePolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimProfilePolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimProfilePolicy;{e6dd0f1d-9c5c-46c5-a289-a948999bf062})"); } -impl ::core::clone::Clone for ESimProfilePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimProfilePolicy { type Vtable = IESimProfilePolicy_Vtbl; } @@ -4015,6 +3409,7 @@ unsafe impl ::core::marker::Send for ESimProfilePolicy {} unsafe impl ::core::marker::Sync for ESimProfilePolicy {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimRemovedEventArgs(::windows_core::IUnknown); impl ESimRemovedEventArgs { pub fn ESim(&self) -> ::windows_core::Result { @@ -4025,25 +3420,9 @@ impl ESimRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for ESimRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimRemovedEventArgs {} -impl ::core::fmt::Debug for ESimRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimRemovedEventArgs;{dec5277b-2fd9-4ed9-8376-d9b5e41278a3})"); } -impl ::core::clone::Clone for ESimRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimRemovedEventArgs { type Vtable = IESimRemovedEventArgs_Vtbl; } @@ -4058,6 +3437,7 @@ unsafe impl ::core::marker::Send for ESimRemovedEventArgs {} unsafe impl ::core::marker::Sync for ESimRemovedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimServiceInfo(::windows_core::IUnknown); impl ESimServiceInfo { pub fn AuthenticationPreference(&self) -> ::windows_core::Result { @@ -4075,25 +3455,9 @@ impl ESimServiceInfo { } } } -impl ::core::cmp::PartialEq for ESimServiceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimServiceInfo {} -impl ::core::fmt::Debug for ESimServiceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimServiceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimServiceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimServiceInfo;{f16aabcf-7f59-4a51-8494-bd89d5ff50ee})"); } -impl ::core::clone::Clone for ESimServiceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimServiceInfo { type Vtable = IESimServiceInfo_Vtbl; } @@ -4108,6 +3472,7 @@ unsafe impl ::core::marker::Send for ESimServiceInfo {} unsafe impl ::core::marker::Sync for ESimServiceInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimUpdatedEventArgs(::windows_core::IUnknown); impl ESimUpdatedEventArgs { pub fn ESim(&self) -> ::windows_core::Result { @@ -4118,25 +3483,9 @@ impl ESimUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for ESimUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimUpdatedEventArgs {} -impl ::core::fmt::Debug for ESimUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimUpdatedEventArgs;{4c125cec-508d-4b88-83cb-68bef8168d12})"); } -impl ::core::clone::Clone for ESimUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimUpdatedEventArgs { type Vtable = IESimUpdatedEventArgs_Vtbl; } @@ -4151,6 +3500,7 @@ unsafe impl ::core::marker::Send for ESimUpdatedEventArgs {} unsafe impl ::core::marker::Sync for ESimUpdatedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ESimWatcher(::windows_core::IUnknown); impl ESimWatcher { pub fn Status(&self) -> ::windows_core::Result { @@ -4259,25 +3609,9 @@ impl ESimWatcher { unsafe { (::windows_core::Interface::vtable(this).RemoveUpdated)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ESimWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ESimWatcher {} -impl ::core::fmt::Debug for ESimWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ESimWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ESimWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ESimWatcher;{c1f84ceb-a28d-4fbf-9771-6e31b81ccf22})"); } -impl ::core::clone::Clone for ESimWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ESimWatcher { type Vtable = IESimWatcher_Vtbl; } @@ -4312,6 +3646,7 @@ impl ::windows_core::RuntimeName for FdnAccessManager { } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HotspotAuthenticationContext(::windows_core::IUnknown); impl HotspotAuthenticationContext { pub fn WirelessNetworkId(&self) -> ::windows_core::Result<::windows_core::Array> { @@ -4394,25 +3729,9 @@ impl HotspotAuthenticationContext { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HotspotAuthenticationContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HotspotAuthenticationContext {} -impl ::core::fmt::Debug for HotspotAuthenticationContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HotspotAuthenticationContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HotspotAuthenticationContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationContext;{e756c791-1003-4de5-83c7-de61d88831d0})"); } -impl ::core::clone::Clone for HotspotAuthenticationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HotspotAuthenticationContext { type Vtable = IHotspotAuthenticationContext_Vtbl; } @@ -4425,6 +3744,7 @@ impl ::windows_core::RuntimeName for HotspotAuthenticationContext { ::windows_core::imp::interface_hierarchy!(HotspotAuthenticationContext, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HotspotAuthenticationEventDetails(::windows_core::IUnknown); impl HotspotAuthenticationEventDetails { pub fn EventToken(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4435,25 +3755,9 @@ impl HotspotAuthenticationEventDetails { } } } -impl ::core::cmp::PartialEq for HotspotAuthenticationEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HotspotAuthenticationEventDetails {} -impl ::core::fmt::Debug for HotspotAuthenticationEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HotspotAuthenticationEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HotspotAuthenticationEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotAuthenticationEventDetails;{e756c791-1001-4de5-83c7-de61d88831d0})"); } -impl ::core::clone::Clone for HotspotAuthenticationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HotspotAuthenticationEventDetails { type Vtable = IHotspotAuthenticationEventDetails_Vtbl; } @@ -4466,6 +3770,7 @@ impl ::windows_core::RuntimeName for HotspotAuthenticationEventDetails { ::windows_core::imp::interface_hierarchy!(HotspotAuthenticationEventDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HotspotCredentialsAuthenticationResult(::windows_core::IUnknown); impl HotspotCredentialsAuthenticationResult { pub fn HasNetworkErrorOccurred(&self) -> ::windows_core::Result { @@ -4501,25 +3806,9 @@ impl HotspotCredentialsAuthenticationResult { } } } -impl ::core::cmp::PartialEq for HotspotCredentialsAuthenticationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HotspotCredentialsAuthenticationResult {} -impl ::core::fmt::Debug for HotspotCredentialsAuthenticationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HotspotCredentialsAuthenticationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HotspotCredentialsAuthenticationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.HotspotCredentialsAuthenticationResult;{e756c791-1005-4de5-83c7-de61d88831d0})"); } -impl ::core::clone::Clone for HotspotCredentialsAuthenticationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HotspotCredentialsAuthenticationResult { type Vtable = IHotspotCredentialsAuthenticationResult_Vtbl; } @@ -4700,6 +3989,7 @@ impl ::windows_core::RuntimeName for KnownUSimFilePaths { } #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandAccount(::windows_core::IUnknown); impl MobileBroadbandAccount { pub fn NetworkAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4775,25 +4065,9 @@ impl MobileBroadbandAccount { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandAccount {} -impl ::core::fmt::Debug for MobileBroadbandAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandAccount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandAccount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccount;{36c24ccd-cee2-43e0-a603-ee86a36d6570})"); } -impl ::core::clone::Clone for MobileBroadbandAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandAccount { type Vtable = IMobileBroadbandAccount_Vtbl; } @@ -4806,6 +4080,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandAccount { ::windows_core::imp::interface_hierarchy!(MobileBroadbandAccount, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandAccountEventArgs(::windows_core::IUnknown); impl MobileBroadbandAccountEventArgs { pub fn NetworkAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4816,25 +4091,9 @@ impl MobileBroadbandAccountEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandAccountEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandAccountEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandAccountEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandAccountEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandAccountEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountEventArgs;{3853c880-77de-4c04-bead-a123b08c9f59})"); } -impl ::core::clone::Clone for MobileBroadbandAccountEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandAccountEventArgs { type Vtable = IMobileBroadbandAccountEventArgs_Vtbl; } @@ -4847,6 +4106,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandAccountEventArgs { ::windows_core::imp::interface_hierarchy!(MobileBroadbandAccountEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandAccountUpdatedEventArgs(::windows_core::IUnknown); impl MobileBroadbandAccountUpdatedEventArgs { pub fn NetworkAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4871,25 +4131,9 @@ impl MobileBroadbandAccountUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandAccountUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandAccountUpdatedEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandAccountUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandAccountUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandAccountUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountUpdatedEventArgs;{7bc31d88-a6bd-49e1-80ab-6b91354a57d4})"); } -impl ::core::clone::Clone for MobileBroadbandAccountUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandAccountUpdatedEventArgs { type Vtable = IMobileBroadbandAccountUpdatedEventArgs_Vtbl; } @@ -4902,6 +4146,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandAccountUpdatedEventArgs { ::windows_core::imp::interface_hierarchy!(MobileBroadbandAccountUpdatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandAccountWatcher(::windows_core::IUnknown); impl MobileBroadbandAccountWatcher { pub fn new() -> ::windows_core::Result { @@ -5017,25 +4262,9 @@ impl MobileBroadbandAccountWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MobileBroadbandAccountWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandAccountWatcher {} -impl ::core::fmt::Debug for MobileBroadbandAccountWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandAccountWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandAccountWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAccountWatcher;{6bf3335e-23b5-449f-928d-5e0d3e04471d})"); } -impl ::core::clone::Clone for MobileBroadbandAccountWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandAccountWatcher { type Vtable = IMobileBroadbandAccountWatcher_Vtbl; } @@ -5048,6 +4277,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandAccountWatcher { ::windows_core::imp::interface_hierarchy!(MobileBroadbandAccountWatcher, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandAntennaSar(::windows_core::IUnknown); impl MobileBroadbandAntennaSar { pub fn AntennaIndex(&self) -> ::windows_core::Result { @@ -5076,25 +4306,9 @@ impl MobileBroadbandAntennaSar { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandAntennaSar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandAntennaSar {} -impl ::core::fmt::Debug for MobileBroadbandAntennaSar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandAntennaSar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandAntennaSar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandAntennaSar;{b9af4b7e-cbf9-4109-90be-5c06bfd513b6})"); } -impl ::core::clone::Clone for MobileBroadbandAntennaSar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandAntennaSar { type Vtable = IMobileBroadbandAntennaSar_Vtbl; } @@ -5109,6 +4323,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandAntennaSar {} unsafe impl ::core::marker::Sync for MobileBroadbandAntennaSar {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellCdma(::windows_core::IUnknown); impl MobileBroadbandCellCdma { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5184,25 +4399,9 @@ impl MobileBroadbandCellCdma { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellCdma { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellCdma {} -impl ::core::fmt::Debug for MobileBroadbandCellCdma { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellCdma").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellCdma { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellCdma;{0601b3b4-411a-4f2e-8287-76f5650c60cd})"); } -impl ::core::clone::Clone for MobileBroadbandCellCdma { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellCdma { type Vtable = IMobileBroadbandCellCdma_Vtbl; } @@ -5217,6 +4416,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellCdma {} unsafe impl ::core::marker::Sync for MobileBroadbandCellCdma {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellGsm(::windows_core::IUnknown); impl MobileBroadbandCellGsm { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5281,25 +4481,9 @@ impl MobileBroadbandCellGsm { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellGsm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellGsm {} -impl ::core::fmt::Debug for MobileBroadbandCellGsm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellGsm").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellGsm { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellGsm;{cc917f06-7ee0-47b8-9e1f-c3b48df9df5b})"); } -impl ::core::clone::Clone for MobileBroadbandCellGsm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellGsm { type Vtable = IMobileBroadbandCellGsm_Vtbl; } @@ -5314,6 +4498,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellGsm {} unsafe impl ::core::marker::Sync for MobileBroadbandCellGsm {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellLte(::windows_core::IUnknown); impl MobileBroadbandCellLte { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5387,25 +4572,9 @@ impl MobileBroadbandCellLte { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellLte { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellLte {} -impl ::core::fmt::Debug for MobileBroadbandCellLte { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellLte").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellLte { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellLte;{9197c87b-2b78-456d-8b53-aaa25d0af741})"); } -impl ::core::clone::Clone for MobileBroadbandCellLte { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellLte { type Vtable = IMobileBroadbandCellLte_Vtbl; } @@ -5420,6 +4589,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellLte {} unsafe impl ::core::marker::Sync for MobileBroadbandCellLte {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellNR(::windows_core::IUnknown); impl MobileBroadbandCellNR { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5502,25 +4672,9 @@ impl MobileBroadbandCellNR { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellNR { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellNR {} -impl ::core::fmt::Debug for MobileBroadbandCellNR { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellNR").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellNR { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellNR;{a13f0deb-66fc-4b4b-83a9-a487a3a5a0a6})"); } -impl ::core::clone::Clone for MobileBroadbandCellNR { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellNR { type Vtable = IMobileBroadbandCellNR_Vtbl; } @@ -5535,6 +4689,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellNR {} unsafe impl ::core::marker::Sync for MobileBroadbandCellNR {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellTdscdma(::windows_core::IUnknown); impl MobileBroadbandCellTdscdma { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5608,25 +4763,9 @@ impl MobileBroadbandCellTdscdma { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellTdscdma { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellTdscdma {} -impl ::core::fmt::Debug for MobileBroadbandCellTdscdma { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellTdscdma").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellTdscdma { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellTdscdma;{0eda1655-db0e-4182-8cda-cc419a7bde08})"); } -impl ::core::clone::Clone for MobileBroadbandCellTdscdma { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellTdscdma { type Vtable = IMobileBroadbandCellTdscdma_Vtbl; } @@ -5641,6 +4780,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellTdscdma {} unsafe impl ::core::marker::Sync for MobileBroadbandCellTdscdma {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellUmts(::windows_core::IUnknown); impl MobileBroadbandCellUmts { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5714,25 +4854,9 @@ impl MobileBroadbandCellUmts { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellUmts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellUmts {} -impl ::core::fmt::Debug for MobileBroadbandCellUmts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellUmts").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellUmts { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellUmts;{77b4b5ae-49c8-4f15-b285-4c26a7f67215})"); } -impl ::core::clone::Clone for MobileBroadbandCellUmts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellUmts { type Vtable = IMobileBroadbandCellUmts_Vtbl; } @@ -5747,6 +4871,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellUmts {} unsafe impl ::core::marker::Sync for MobileBroadbandCellUmts {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCellsInfo(::windows_core::IUnknown); impl MobileBroadbandCellsInfo { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5858,25 +4983,9 @@ impl MobileBroadbandCellsInfo { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCellsInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCellsInfo {} -impl ::core::fmt::Debug for MobileBroadbandCellsInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCellsInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCellsInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCellsInfo;{89a9562a-e472-4da5-929c-de61711dd261})"); } -impl ::core::clone::Clone for MobileBroadbandCellsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCellsInfo { type Vtable = IMobileBroadbandCellsInfo_Vtbl; } @@ -5891,6 +5000,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCellsInfo {} unsafe impl ::core::marker::Sync for MobileBroadbandCellsInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandCurrentSlotIndexChangedEventArgs(::windows_core::IUnknown); impl MobileBroadbandCurrentSlotIndexChangedEventArgs { pub fn CurrentSlotIndex(&self) -> ::windows_core::Result { @@ -5901,25 +5011,9 @@ impl MobileBroadbandCurrentSlotIndexChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandCurrentSlotIndexChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandCurrentSlotIndexChangedEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandCurrentSlotIndexChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandCurrentSlotIndexChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandCurrentSlotIndexChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandCurrentSlotIndexChangedEventArgs;{f718b184-c370-5fd4-a670-1846cb9bce47})"); } -impl ::core::clone::Clone for MobileBroadbandCurrentSlotIndexChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandCurrentSlotIndexChangedEventArgs { type Vtable = IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl; } @@ -5934,6 +5028,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandCurrentSlotIndexChangedEvent unsafe impl ::core::marker::Sync for MobileBroadbandCurrentSlotIndexChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceInformation(::windows_core::IUnknown); impl MobileBroadbandDeviceInformation { pub fn NetworkDeviceStatus(&self) -> ::windows_core::Result { @@ -6088,25 +5183,9 @@ impl MobileBroadbandDeviceInformation { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceInformation {} -impl ::core::fmt::Debug for MobileBroadbandDeviceInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceInformation;{e6d08168-e381-4c6e-9be8-fe156969a446})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceInformation { type Vtable = IMobileBroadbandDeviceInformation_Vtbl; } @@ -6119,6 +5198,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandDeviceInformation { ::windows_core::imp::interface_hierarchy!(MobileBroadbandDeviceInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceService(::windows_core::IUnknown); impl MobileBroadbandDeviceService { pub fn DeviceServiceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -6152,25 +5232,9 @@ impl MobileBroadbandDeviceService { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceService {} -impl ::core::fmt::Debug for MobileBroadbandDeviceService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceService;{22be1a52-bd80-40ac-8e1f-2e07836a3dbd})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceService { type Vtable = IMobileBroadbandDeviceService_Vtbl; } @@ -6185,6 +5249,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceService {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceService {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceCommandResult(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceCommandResult { pub fn StatusCode(&self) -> ::windows_core::Result { @@ -6204,25 +5269,9 @@ impl MobileBroadbandDeviceServiceCommandResult { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceCommandResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceCommandResult {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceCommandResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceCommandResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceCommandResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandResult;{b0f46abb-94d6-44b9-a538-f0810b645389})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceCommandResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceCommandResult { type Vtable = IMobileBroadbandDeviceServiceCommandResult_Vtbl; } @@ -6237,6 +5286,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceCommandResult { unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceCommandResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceCommandSession(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceCommandSession { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -6268,25 +5318,9 @@ impl MobileBroadbandDeviceServiceCommandSession { unsafe { (::windows_core::Interface::vtable(this).CloseSession)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceCommandSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceCommandSession {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceCommandSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceCommandSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceCommandSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceCommandSession;{fc098a45-913b-4914-b6c3-ae6304593e75})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceCommandSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceCommandSession { type Vtable = IMobileBroadbandDeviceServiceCommandSession_Vtbl; } @@ -6301,6 +5335,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceCommandSession unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceCommandSession {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceDataReceivedEventArgs(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceDataReceivedEventArgs { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -6313,25 +5348,9 @@ impl MobileBroadbandDeviceServiceDataReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceDataReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceDataReceivedEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceDataReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceDataReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceDataReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataReceivedEventArgs;{b6aa13de-1380-40e3-8618-73cbca48138c})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceDataReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceDataReceivedEventArgs { type Vtable = IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl; } @@ -6346,6 +5365,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceDataReceivedEve unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceDataReceivedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceDataSession(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceDataSession { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -6383,25 +5403,9 @@ impl MobileBroadbandDeviceServiceDataSession { unsafe { (::windows_core::Interface::vtable(this).RemoveDataReceived)(::windows_core::Interface::as_raw(this), eventcookie).ok() } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceDataSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceDataSession {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceDataSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceDataSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceDataSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceDataSession;{dad62333-8bcf-4289-8a37-045c2169486a})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceDataSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceDataSession { type Vtable = IMobileBroadbandDeviceServiceDataSession_Vtbl; } @@ -6416,6 +5420,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceDataSession {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceDataSession {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceInformation(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceInformation { pub fn DeviceServiceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -6440,25 +5445,9 @@ impl MobileBroadbandDeviceServiceInformation { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceInformation {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceInformation;{53d69b5b-c4ed-45f0-803a-d9417a6d9846})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceInformation { type Vtable = IMobileBroadbandDeviceServiceInformation_Vtbl; } @@ -6473,6 +5462,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceInformation {} unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceInformation {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandDeviceServiceTriggerDetails(::windows_core::IUnknown); impl MobileBroadbandDeviceServiceTriggerDetails { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6506,25 +5496,9 @@ impl MobileBroadbandDeviceServiceTriggerDetails { } } } -impl ::core::cmp::PartialEq for MobileBroadbandDeviceServiceTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandDeviceServiceTriggerDetails {} -impl ::core::fmt::Debug for MobileBroadbandDeviceServiceTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandDeviceServiceTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandDeviceServiceTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandDeviceServiceTriggerDetails;{4a055b70-b9ae-4458-9241-a6a5fbf18a0c})"); } -impl ::core::clone::Clone for MobileBroadbandDeviceServiceTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandDeviceServiceTriggerDetails { type Vtable = IMobileBroadbandDeviceServiceTriggerDetails_Vtbl; } @@ -6539,6 +5513,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandDeviceServiceTriggerDetails unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandModem(::windows_core::IUnknown); impl MobileBroadbandModem { pub fn CurrentAccount(&self) -> ::windows_core::Result { @@ -6725,25 +5700,9 @@ impl MobileBroadbandModem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandModem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandModem {} -impl ::core::fmt::Debug for MobileBroadbandModem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandModem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandModem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModem;{d0356912-e9f9-4f67-a03d-43189a316bf1})"); } -impl ::core::clone::Clone for MobileBroadbandModem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandModem { type Vtable = IMobileBroadbandModem_Vtbl; } @@ -6758,6 +5717,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandModem {} unsafe impl ::core::marker::Sync for MobileBroadbandModem {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandModemConfiguration(::windows_core::IUnknown); impl MobileBroadbandModemConfiguration { pub fn Uicc(&self) -> ::windows_core::Result { @@ -6789,25 +5749,9 @@ impl MobileBroadbandModemConfiguration { } } } -impl ::core::cmp::PartialEq for MobileBroadbandModemConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandModemConfiguration {} -impl ::core::fmt::Debug for MobileBroadbandModemConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandModemConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandModemConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemConfiguration;{fce035a3-d6cd-4320-b982-be9d3ec7890f})"); } -impl ::core::clone::Clone for MobileBroadbandModemConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandModemConfiguration { type Vtable = IMobileBroadbandModemConfiguration_Vtbl; } @@ -6820,6 +5764,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandModemConfiguration { ::windows_core::imp::interface_hierarchy!(MobileBroadbandModemConfiguration, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandModemIsolation(::windows_core::IUnknown); impl MobileBroadbandModemIsolation { pub fn AddAllowedHost(&self, host: P0) -> ::windows_core::Result<()> @@ -6867,25 +5812,9 @@ impl MobileBroadbandModemIsolation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MobileBroadbandModemIsolation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandModemIsolation {} -impl ::core::fmt::Debug for MobileBroadbandModemIsolation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandModemIsolation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandModemIsolation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation;{b5618fec-e661-4330-9bb4-3480212ec354})"); } -impl ::core::clone::Clone for MobileBroadbandModemIsolation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandModemIsolation { type Vtable = IMobileBroadbandModemIsolation_Vtbl; } @@ -6900,6 +5829,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandModemIsolation {} unsafe impl ::core::marker::Sync for MobileBroadbandModemIsolation {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandNetwork(::windows_core::IUnknown); impl MobileBroadbandNetwork { #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -6999,25 +5929,9 @@ impl MobileBroadbandNetwork { } } } -impl ::core::cmp::PartialEq for MobileBroadbandNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandNetwork {} -impl ::core::fmt::Debug for MobileBroadbandNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandNetwork").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandNetwork { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetwork;{cb63928c-0309-4cb6-a8c1-6a5a3c8e1ff6})"); } -impl ::core::clone::Clone for MobileBroadbandNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandNetwork { type Vtable = IMobileBroadbandNetwork_Vtbl; } @@ -7030,6 +5944,7 @@ impl ::windows_core::RuntimeName for MobileBroadbandNetwork { ::windows_core::imp::interface_hierarchy!(MobileBroadbandNetwork, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandNetworkRegistrationStateChange(::windows_core::IUnknown); impl MobileBroadbandNetworkRegistrationStateChange { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7047,25 +5962,9 @@ impl MobileBroadbandNetworkRegistrationStateChange { } } } -impl ::core::cmp::PartialEq for MobileBroadbandNetworkRegistrationStateChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandNetworkRegistrationStateChange {} -impl ::core::fmt::Debug for MobileBroadbandNetworkRegistrationStateChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandNetworkRegistrationStateChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandNetworkRegistrationStateChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChange;{beaf94e1-960f-49b4-a08d-7d85e968c7ec})"); } -impl ::core::clone::Clone for MobileBroadbandNetworkRegistrationStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandNetworkRegistrationStateChange { type Vtable = IMobileBroadbandNetworkRegistrationStateChange_Vtbl; } @@ -7080,6 +5979,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandNetworkRegistrationStateChan unsafe impl ::core::marker::Sync for MobileBroadbandNetworkRegistrationStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandNetworkRegistrationStateChangeTriggerDetails(::windows_core::IUnknown); impl MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7092,25 +5992,9 @@ impl MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { } } } -impl ::core::cmp::PartialEq for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails {} -impl ::core::fmt::Debug for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandNetworkRegistrationStateChangeTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandNetworkRegistrationStateChangeTriggerDetails;{89135cff-28b8-46aa-b137-1c4b0f21edfe})"); } -impl ::core::clone::Clone for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails { type Vtable = IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl; } @@ -7125,6 +6009,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandNetworkRegistrationStateChan unsafe impl ::core::marker::Sync for MobileBroadbandNetworkRegistrationStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPco(::windows_core::IUnknown); impl MobileBroadbandPco { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -7151,25 +6036,9 @@ impl MobileBroadbandPco { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPco { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPco {} -impl ::core::fmt::Debug for MobileBroadbandPco { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPco").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPco { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPco;{d4e4fcbe-e3a3-43c5-a87b-6c86d229d7fa})"); } -impl ::core::clone::Clone for MobileBroadbandPco { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPco { type Vtable = IMobileBroadbandPco_Vtbl; } @@ -7184,6 +6053,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPco {} unsafe impl ::core::marker::Sync for MobileBroadbandPco {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPcoDataChangeTriggerDetails(::windows_core::IUnknown); impl MobileBroadbandPcoDataChangeTriggerDetails { pub fn UpdatedData(&self) -> ::windows_core::Result { @@ -7194,25 +6064,9 @@ impl MobileBroadbandPcoDataChangeTriggerDetails { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPcoDataChangeTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPcoDataChangeTriggerDetails {} -impl ::core::fmt::Debug for MobileBroadbandPcoDataChangeTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPcoDataChangeTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPcoDataChangeTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPcoDataChangeTriggerDetails;{263f5114-64e0-4493-909b-2d14a01962b1})"); } -impl ::core::clone::Clone for MobileBroadbandPcoDataChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPcoDataChangeTriggerDetails { type Vtable = IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl; } @@ -7227,6 +6081,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPcoDataChangeTriggerDetails unsafe impl ::core::marker::Sync for MobileBroadbandPcoDataChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPin(::windows_core::IUnknown); impl MobileBroadbandPin { pub fn Type(&self) -> ::windows_core::Result { @@ -7324,25 +6179,9 @@ impl MobileBroadbandPin { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPin {} -impl ::core::fmt::Debug for MobileBroadbandPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPin").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPin { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPin;{e661d709-e779-45bf-8281-75323df9e321})"); } -impl ::core::clone::Clone for MobileBroadbandPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPin { type Vtable = IMobileBroadbandPin_Vtbl; } @@ -7357,6 +6196,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPin {} unsafe impl ::core::marker::Sync for MobileBroadbandPin {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPinLockStateChange(::windows_core::IUnknown); impl MobileBroadbandPinLockStateChange { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7381,25 +6221,9 @@ impl MobileBroadbandPinLockStateChange { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPinLockStateChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPinLockStateChange {} -impl ::core::fmt::Debug for MobileBroadbandPinLockStateChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPinLockStateChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPinLockStateChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChange;{be16673e-1f04-4f95-8b90-e7f559dde7e5})"); } -impl ::core::clone::Clone for MobileBroadbandPinLockStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPinLockStateChange { type Vtable = IMobileBroadbandPinLockStateChange_Vtbl; } @@ -7414,6 +6238,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPinLockStateChange {} unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPinLockStateChangeTriggerDetails(::windows_core::IUnknown); impl MobileBroadbandPinLockStateChangeTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7426,25 +6251,9 @@ impl MobileBroadbandPinLockStateChangeTriggerDetails { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPinLockStateChangeTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPinLockStateChangeTriggerDetails {} -impl ::core::fmt::Debug for MobileBroadbandPinLockStateChangeTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPinLockStateChangeTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPinLockStateChangeTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinLockStateChangeTriggerDetails;{d338c091-3e91-4d38-9036-aee83a6e79ad})"); } -impl ::core::clone::Clone for MobileBroadbandPinLockStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPinLockStateChangeTriggerDetails { type Vtable = IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl; } @@ -7459,6 +6268,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPinLockStateChangeTriggerDet unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPinManager(::windows_core::IUnknown); impl MobileBroadbandPinManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7478,25 +6288,9 @@ impl MobileBroadbandPinManager { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPinManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPinManager {} -impl ::core::fmt::Debug for MobileBroadbandPinManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPinManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPinManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinManager;{83567edd-6e1f-4b9b-a413-2b1f50cc36df})"); } -impl ::core::clone::Clone for MobileBroadbandPinManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPinManager { type Vtable = IMobileBroadbandPinManager_Vtbl; } @@ -7511,6 +6305,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPinManager {} unsafe impl ::core::marker::Sync for MobileBroadbandPinManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandPinOperationResult(::windows_core::IUnknown); impl MobileBroadbandPinOperationResult { pub fn IsSuccessful(&self) -> ::windows_core::Result { @@ -7528,25 +6323,9 @@ impl MobileBroadbandPinOperationResult { } } } -impl ::core::cmp::PartialEq for MobileBroadbandPinOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandPinOperationResult {} -impl ::core::fmt::Debug for MobileBroadbandPinOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandPinOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandPinOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandPinOperationResult;{11dddc32-31e7-49f5-b663-123d3bef0362})"); } -impl ::core::clone::Clone for MobileBroadbandPinOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandPinOperationResult { type Vtable = IMobileBroadbandPinOperationResult_Vtbl; } @@ -7561,6 +6340,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandPinOperationResult {} unsafe impl ::core::marker::Sync for MobileBroadbandPinOperationResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandRadioStateChange(::windows_core::IUnknown); impl MobileBroadbandRadioStateChange { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -7578,25 +6358,9 @@ impl MobileBroadbandRadioStateChange { } } } -impl ::core::cmp::PartialEq for MobileBroadbandRadioStateChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandRadioStateChange {} -impl ::core::fmt::Debug for MobileBroadbandRadioStateChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandRadioStateChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandRadioStateChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChange;{b054a561-9833-4aed-9717-4348b21a24b3})"); } -impl ::core::clone::Clone for MobileBroadbandRadioStateChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandRadioStateChange { type Vtable = IMobileBroadbandRadioStateChange_Vtbl; } @@ -7611,6 +6375,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandRadioStateChange {} unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChange {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandRadioStateChangeTriggerDetails(::windows_core::IUnknown); impl MobileBroadbandRadioStateChangeTriggerDetails { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7623,25 +6388,9 @@ impl MobileBroadbandRadioStateChangeTriggerDetails { } } } -impl ::core::cmp::PartialEq for MobileBroadbandRadioStateChangeTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandRadioStateChangeTriggerDetails {} -impl ::core::fmt::Debug for MobileBroadbandRadioStateChangeTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandRadioStateChangeTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandRadioStateChangeTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandRadioStateChangeTriggerDetails;{71301ace-093c-42c6-b0db-ad1f75a65445})"); } -impl ::core::clone::Clone for MobileBroadbandRadioStateChangeTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandRadioStateChangeTriggerDetails { type Vtable = IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl; } @@ -7656,6 +6405,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandRadioStateChangeTriggerDetai unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChangeTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandSarManager(::windows_core::IUnknown); impl MobileBroadbandSarManager { pub fn IsBackoffEnabled(&self) -> ::windows_core::Result { @@ -7781,25 +6531,9 @@ impl MobileBroadbandSarManager { unsafe { (::windows_core::Interface::vtable(this).StopTransmissionStateMonitoring)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for MobileBroadbandSarManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandSarManager {} -impl ::core::fmt::Debug for MobileBroadbandSarManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandSarManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandSarManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSarManager;{e5b26833-967e-40c9-a485-19c0dd209e22})"); } -impl ::core::clone::Clone for MobileBroadbandSarManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandSarManager { type Vtable = IMobileBroadbandSarManager_Vtbl; } @@ -7814,6 +6548,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandSarManager {} unsafe impl ::core::marker::Sync for MobileBroadbandSarManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandSlotInfo(::windows_core::IUnknown); impl MobileBroadbandSlotInfo { pub fn Index(&self) -> ::windows_core::Result { @@ -7838,25 +6573,9 @@ impl MobileBroadbandSlotInfo { } } } -impl ::core::cmp::PartialEq for MobileBroadbandSlotInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandSlotInfo {} -impl ::core::fmt::Debug for MobileBroadbandSlotInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandSlotInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandSlotInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfo;{bd350b32-882e-542a-b17d-0bb1b49bae9e})"); } -impl ::core::clone::Clone for MobileBroadbandSlotInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandSlotInfo { type Vtable = IMobileBroadbandSlotInfo_Vtbl; } @@ -7871,6 +6590,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandSlotInfo {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotInfo {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandSlotInfoChangedEventArgs(::windows_core::IUnknown); impl MobileBroadbandSlotInfoChangedEventArgs { pub fn SlotInfo(&self) -> ::windows_core::Result { @@ -7881,25 +6601,9 @@ impl MobileBroadbandSlotInfoChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandSlotInfoChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandSlotInfoChangedEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandSlotInfoChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandSlotInfoChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandSlotInfoChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotInfoChangedEventArgs;{3158839f-950c-54ce-a48d-ba4529b48f0f})"); } -impl ::core::clone::Clone for MobileBroadbandSlotInfoChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandSlotInfoChangedEventArgs { type Vtable = IMobileBroadbandSlotInfoChangedEventArgs_Vtbl; } @@ -7914,6 +6618,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandSlotInfoChangedEventArgs {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotInfoChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandSlotManager(::windows_core::IUnknown); impl MobileBroadbandSlotManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -7985,25 +6690,9 @@ impl MobileBroadbandSlotManager { unsafe { (::windows_core::Interface::vtable(this).RemoveCurrentSlotIndexChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for MobileBroadbandSlotManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandSlotManager {} -impl ::core::fmt::Debug for MobileBroadbandSlotManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandSlotManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandSlotManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandSlotManager;{eba07cd6-2019-5f81-a294-cc364a11d0b2})"); } -impl ::core::clone::Clone for MobileBroadbandSlotManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandSlotManager { type Vtable = IMobileBroadbandSlotManager_Vtbl; } @@ -8018,6 +6707,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandSlotManager {} unsafe impl ::core::marker::Sync for MobileBroadbandSlotManager {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandTransmissionStateChangedEventArgs(::windows_core::IUnknown); impl MobileBroadbandTransmissionStateChangedEventArgs { pub fn IsTransmitting(&self) -> ::windows_core::Result { @@ -8028,25 +6718,9 @@ impl MobileBroadbandTransmissionStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for MobileBroadbandTransmissionStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandTransmissionStateChangedEventArgs {} -impl ::core::fmt::Debug for MobileBroadbandTransmissionStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandTransmissionStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandTransmissionStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandTransmissionStateChangedEventArgs;{612e3875-040a-4f99-a4f9-61d7c32da129})"); } -impl ::core::clone::Clone for MobileBroadbandTransmissionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandTransmissionStateChangedEventArgs { type Vtable = IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl; } @@ -8061,6 +6735,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandTransmissionStateChangedEven unsafe impl ::core::marker::Sync for MobileBroadbandTransmissionStateChangedEventArgs {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandUicc(::windows_core::IUnknown); impl MobileBroadbandUicc { pub fn SimIccId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8080,25 +6755,9 @@ impl MobileBroadbandUicc { } } } -impl ::core::cmp::PartialEq for MobileBroadbandUicc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandUicc {} -impl ::core::fmt::Debug for MobileBroadbandUicc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandUicc").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandUicc { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUicc;{e634f691-525a-4ce2-8fce-aa4162579154})"); } -impl ::core::clone::Clone for MobileBroadbandUicc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandUicc { type Vtable = IMobileBroadbandUicc_Vtbl; } @@ -8113,6 +6772,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandUicc {} unsafe impl ::core::marker::Sync for MobileBroadbandUicc {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandUiccApp(::windows_core::IUnknown); impl MobileBroadbandUiccApp { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -8156,25 +6816,9 @@ impl MobileBroadbandUiccApp { } } } -impl ::core::cmp::PartialEq for MobileBroadbandUiccApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandUiccApp {} -impl ::core::fmt::Debug for MobileBroadbandUiccApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandUiccApp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandUiccApp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccApp;{4d170556-98a1-43dd-b2ec-50c90cf248df})"); } -impl ::core::clone::Clone for MobileBroadbandUiccApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandUiccApp { type Vtable = IMobileBroadbandUiccApp_Vtbl; } @@ -8189,6 +6833,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandUiccApp {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccApp {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandUiccAppReadRecordResult(::windows_core::IUnknown); impl MobileBroadbandUiccAppReadRecordResult { pub fn Status(&self) -> ::windows_core::Result { @@ -8208,25 +6853,9 @@ impl MobileBroadbandUiccAppReadRecordResult { } } } -impl ::core::cmp::PartialEq for MobileBroadbandUiccAppReadRecordResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandUiccAppReadRecordResult {} -impl ::core::fmt::Debug for MobileBroadbandUiccAppReadRecordResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandUiccAppReadRecordResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandUiccAppReadRecordResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppReadRecordResult;{64c95285-358e-47c5-8249-695f383b2bdb})"); } -impl ::core::clone::Clone for MobileBroadbandUiccAppReadRecordResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandUiccAppReadRecordResult { type Vtable = IMobileBroadbandUiccAppReadRecordResult_Vtbl; } @@ -8241,6 +6870,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandUiccAppReadRecordResult {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppReadRecordResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandUiccAppRecordDetailsResult(::windows_core::IUnknown); impl MobileBroadbandUiccAppRecordDetailsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -8286,25 +6916,9 @@ impl MobileBroadbandUiccAppRecordDetailsResult { } } } -impl ::core::cmp::PartialEq for MobileBroadbandUiccAppRecordDetailsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandUiccAppRecordDetailsResult {} -impl ::core::fmt::Debug for MobileBroadbandUiccAppRecordDetailsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandUiccAppRecordDetailsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandUiccAppRecordDetailsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppRecordDetailsResult;{d919682f-be14-4934-981d-2f57b9ed83e6})"); } -impl ::core::clone::Clone for MobileBroadbandUiccAppRecordDetailsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandUiccAppRecordDetailsResult { type Vtable = IMobileBroadbandUiccAppRecordDetailsResult_Vtbl; } @@ -8319,6 +6933,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandUiccAppRecordDetailsResult { unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppRecordDetailsResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MobileBroadbandUiccAppsResult(::windows_core::IUnknown); impl MobileBroadbandUiccAppsResult { pub fn Status(&self) -> ::windows_core::Result { @@ -8338,25 +6953,9 @@ impl MobileBroadbandUiccAppsResult { } } } -impl ::core::cmp::PartialEq for MobileBroadbandUiccAppsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MobileBroadbandUiccAppsResult {} -impl ::core::fmt::Debug for MobileBroadbandUiccAppsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MobileBroadbandUiccAppsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MobileBroadbandUiccAppsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.MobileBroadbandUiccAppsResult;{744930eb-8157-4a41-8494-6bf54c9b1d2b})"); } -impl ::core::clone::Clone for MobileBroadbandUiccAppsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MobileBroadbandUiccAppsResult { type Vtable = IMobileBroadbandUiccAppsResult_Vtbl; } @@ -8371,6 +6970,7 @@ unsafe impl ::core::marker::Send for MobileBroadbandUiccAppsResult {} unsafe impl ::core::marker::Sync for MobileBroadbandUiccAppsResult {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorDataUsageTriggerDetails(::windows_core::IUnknown); impl NetworkOperatorDataUsageTriggerDetails { pub fn NotificationKind(&self) -> ::windows_core::Result { @@ -8381,25 +6981,9 @@ impl NetworkOperatorDataUsageTriggerDetails { } } } -impl ::core::cmp::PartialEq for NetworkOperatorDataUsageTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorDataUsageTriggerDetails {} -impl ::core::fmt::Debug for NetworkOperatorDataUsageTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorDataUsageTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorDataUsageTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorDataUsageTriggerDetails;{50e3126d-a465-4eeb-9317-28a167630cea})"); } -impl ::core::clone::Clone for NetworkOperatorDataUsageTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorDataUsageTriggerDetails { type Vtable = INetworkOperatorDataUsageTriggerDetails_Vtbl; } @@ -8414,6 +6998,7 @@ unsafe impl ::core::marker::Send for NetworkOperatorDataUsageTriggerDetails {} unsafe impl ::core::marker::Sync for NetworkOperatorDataUsageTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorNotificationEventDetails(::windows_core::IUnknown); impl NetworkOperatorNotificationEventDetails { pub fn NotificationType(&self) -> ::windows_core::Result { @@ -8465,25 +7050,9 @@ impl NetworkOperatorNotificationEventDetails { unsafe { (::windows_core::Interface::vtable(this).AuthorizeTethering)(::windows_core::Interface::as_raw(this), allow, ::core::mem::transmute_copy(entitlementfailurereason)).ok() } } } -impl ::core::cmp::PartialEq for NetworkOperatorNotificationEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorNotificationEventDetails {} -impl ::core::fmt::Debug for NetworkOperatorNotificationEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorNotificationEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorNotificationEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorNotificationEventDetails;{bc68a9d1-82e1-4488-9f2c-1276c2468fac})"); } -impl ::core::clone::Clone for NetworkOperatorNotificationEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorNotificationEventDetails { type Vtable = INetworkOperatorNotificationEventDetails_Vtbl; } @@ -8498,6 +7067,7 @@ unsafe impl ::core::marker::Send for NetworkOperatorNotificationEventDetails {} unsafe impl ::core::marker::Sync for NetworkOperatorNotificationEventDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorTetheringAccessPointConfiguration(::windows_core::IUnknown); impl NetworkOperatorTetheringAccessPointConfiguration { pub fn new() -> ::windows_core::Result { @@ -8557,25 +7127,9 @@ impl NetworkOperatorTetheringAccessPointConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetBand)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for NetworkOperatorTetheringAccessPointConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorTetheringAccessPointConfiguration {} -impl ::core::fmt::Debug for NetworkOperatorTetheringAccessPointConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorTetheringAccessPointConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorTetheringAccessPointConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration;{0bcc0284-412e-403d-acc6-b757e34774a4})"); } -impl ::core::clone::Clone for NetworkOperatorTetheringAccessPointConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorTetheringAccessPointConfiguration { type Vtable = INetworkOperatorTetheringAccessPointConfiguration_Vtbl; } @@ -8590,6 +7144,7 @@ unsafe impl ::core::marker::Send for NetworkOperatorTetheringAccessPointConfigur unsafe impl ::core::marker::Sync for NetworkOperatorTetheringAccessPointConfiguration {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorTetheringClient(::windows_core::IUnknown); impl NetworkOperatorTetheringClient { pub fn MacAddress(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -8609,25 +7164,9 @@ impl NetworkOperatorTetheringClient { } } } -impl ::core::cmp::PartialEq for NetworkOperatorTetheringClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorTetheringClient {} -impl ::core::fmt::Debug for NetworkOperatorTetheringClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorTetheringClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorTetheringClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringClient;{709d254c-595f-4847-bb30-646935542918})"); } -impl ::core::clone::Clone for NetworkOperatorTetheringClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorTetheringClient { type Vtable = INetworkOperatorTetheringClient_Vtbl; } @@ -8642,6 +7181,7 @@ unsafe impl ::core::marker::Send for NetworkOperatorTetheringClient {} unsafe impl ::core::marker::Sync for NetworkOperatorTetheringClient {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorTetheringManager(::windows_core::IUnknown); impl NetworkOperatorTetheringManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -8806,25 +7346,9 @@ impl NetworkOperatorTetheringManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NetworkOperatorTetheringManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorTetheringManager {} -impl ::core::fmt::Debug for NetworkOperatorTetheringManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorTetheringManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorTetheringManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringManager;{d45a8da0-0e86-4d98-8ba4-dd70d4b764d3})"); } -impl ::core::clone::Clone for NetworkOperatorTetheringManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorTetheringManager { type Vtable = INetworkOperatorTetheringManager_Vtbl; } @@ -8837,6 +7361,7 @@ impl ::windows_core::RuntimeName for NetworkOperatorTetheringManager { ::windows_core::imp::interface_hierarchy!(NetworkOperatorTetheringManager, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NetworkOperatorTetheringOperationResult(::windows_core::IUnknown); impl NetworkOperatorTetheringOperationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -8854,25 +7379,9 @@ impl NetworkOperatorTetheringOperationResult { } } } -impl ::core::cmp::PartialEq for NetworkOperatorTetheringOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NetworkOperatorTetheringOperationResult {} -impl ::core::fmt::Debug for NetworkOperatorTetheringOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NetworkOperatorTetheringOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NetworkOperatorTetheringOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.NetworkOperatorTetheringOperationResult;{ebd203a1-01ba-476d-b4b3-bf3d12c8f80c})"); } -impl ::core::clone::Clone for NetworkOperatorTetheringOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NetworkOperatorTetheringOperationResult { type Vtable = INetworkOperatorTetheringOperationResult_Vtbl; } @@ -8885,6 +7394,7 @@ impl ::windows_core::RuntimeName for NetworkOperatorTetheringOperationResult { ::windows_core::imp::interface_hierarchy!(NetworkOperatorTetheringOperationResult, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProvisionFromXmlDocumentResults(::windows_core::IUnknown); impl ProvisionFromXmlDocumentResults { pub fn AllElementsProvisioned(&self) -> ::windows_core::Result { @@ -8902,25 +7412,9 @@ impl ProvisionFromXmlDocumentResults { } } } -impl ::core::cmp::PartialEq for ProvisionFromXmlDocumentResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProvisionFromXmlDocumentResults {} -impl ::core::fmt::Debug for ProvisionFromXmlDocumentResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProvisionFromXmlDocumentResults").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProvisionFromXmlDocumentResults { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionFromXmlDocumentResults;{217700e0-8203-11df-adb9-f4ce462d9137})"); } -impl ::core::clone::Clone for ProvisionFromXmlDocumentResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProvisionFromXmlDocumentResults { type Vtable = IProvisionFromXmlDocumentResults_Vtbl; } @@ -8933,6 +7427,7 @@ impl ::windows_core::RuntimeName for ProvisionFromXmlDocumentResults { ::windows_core::imp::interface_hierarchy!(ProvisionFromXmlDocumentResults, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProvisionedProfile(::windows_core::IUnknown); impl ProvisionedProfile { #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -8948,25 +7443,9 @@ impl ProvisionedProfile { unsafe { (::windows_core::Interface::vtable(this).UpdateUsage)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ProvisionedProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProvisionedProfile {} -impl ::core::fmt::Debug for ProvisionedProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProvisionedProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProvisionedProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisionedProfile;{217700e0-8202-11df-adb9-f4ce462d9137})"); } -impl ::core::clone::Clone for ProvisionedProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProvisionedProfile { type Vtable = IProvisionedProfile_Vtbl; } @@ -8979,6 +7458,7 @@ impl ::windows_core::RuntimeName for ProvisionedProfile { ::windows_core::imp::interface_hierarchy!(ProvisionedProfile, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProvisioningAgent(::windows_core::IUnknown); impl ProvisioningAgent { pub fn new() -> ::windows_core::Result { @@ -9016,25 +7496,9 @@ impl ProvisioningAgent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProvisioningAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProvisioningAgent {} -impl ::core::fmt::Debug for ProvisioningAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProvisioningAgent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProvisioningAgent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.ProvisioningAgent;{217700e0-8201-11df-adb9-f4ce462d9137})"); } -impl ::core::clone::Clone for ProvisioningAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProvisioningAgent { type Vtable = IProvisioningAgent_Vtbl; } @@ -9047,6 +7511,7 @@ impl ::windows_core::RuntimeName for ProvisioningAgent { ::windows_core::imp::interface_hierarchy!(ProvisioningAgent, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TetheringEntitlementCheckTriggerDetails(::windows_core::IUnknown); impl TetheringEntitlementCheckTriggerDetails { pub fn NetworkAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -9065,25 +7530,9 @@ impl TetheringEntitlementCheckTriggerDetails { unsafe { (::windows_core::Interface::vtable(this).DenyTethering)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(entitlementfailurereason)).ok() } } } -impl ::core::cmp::PartialEq for TetheringEntitlementCheckTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TetheringEntitlementCheckTriggerDetails {} -impl ::core::fmt::Debug for TetheringEntitlementCheckTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TetheringEntitlementCheckTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TetheringEntitlementCheckTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.TetheringEntitlementCheckTriggerDetails;{03c65e9d-5926-41f3-a94e-b50926fc421b})"); } -impl ::core::clone::Clone for TetheringEntitlementCheckTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TetheringEntitlementCheckTriggerDetails { type Vtable = ITetheringEntitlementCheckTriggerDetails_Vtbl; } @@ -9098,6 +7547,7 @@ unsafe impl ::core::marker::Send for TetheringEntitlementCheckTriggerDetails {} unsafe impl ::core::marker::Sync for TetheringEntitlementCheckTriggerDetails {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UssdMessage(::windows_core::IUnknown); impl UssdMessage { pub fn DataCodingScheme(&self) -> ::windows_core::Result { @@ -9145,25 +7595,9 @@ impl UssdMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UssdMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UssdMessage {} -impl ::core::fmt::Debug for UssdMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UssdMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UssdMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdMessage;{2f9acf82-2004-4d5d-bf81-2aba1b4be4a8})"); } -impl ::core::clone::Clone for UssdMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UssdMessage { type Vtable = IUssdMessage_Vtbl; } @@ -9178,6 +7612,7 @@ unsafe impl ::core::marker::Send for UssdMessage {} unsafe impl ::core::marker::Sync for UssdMessage {} #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UssdReply(::windows_core::IUnknown); impl UssdReply { pub fn ResultCode(&self) -> ::windows_core::Result { @@ -9195,25 +7630,9 @@ impl UssdReply { } } } -impl ::core::cmp::PartialEq for UssdReply { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UssdReply {} -impl ::core::fmt::Debug for UssdReply { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UssdReply").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UssdReply { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdReply;{2f9acf82-2005-4d5d-bf81-2aba1b4be4a8})"); } -impl ::core::clone::Clone for UssdReply { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UssdReply { type Vtable = IUssdReply_Vtbl; } @@ -9226,6 +7645,7 @@ impl ::windows_core::RuntimeName for UssdReply { ::windows_core::imp::interface_hierarchy!(UssdReply, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Networking_NetworkOperators\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UssdSession(::windows_core::IUnknown); impl UssdSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -9262,25 +7682,9 @@ impl UssdSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UssdSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UssdSession {} -impl ::core::fmt::Debug for UssdSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UssdSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UssdSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.NetworkOperators.UssdSession;{2f9acf82-2002-4d5d-bf81-2aba1b4be4a8})"); } -impl ::core::clone::Clone for UssdSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UssdSession { type Vtable = IUssdSession_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index d473468355..0b0fcca67f 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IConnectionRequestedEventArgs { type Vtable = IConnectionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb6891ae_4f1e_4c66_bd0d_46924a942e08); } @@ -20,15 +16,11 @@ pub struct IConnectionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerFinderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerFinderStatics { type Vtable = IPeerFinderStatics_Vtbl; } -impl ::core::clone::Clone for IPeerFinderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerFinderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x914b3b61_f6e1_47c4_a14c_148a1903d0c6); } @@ -79,15 +71,11 @@ pub struct IPeerFinderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerFinderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerFinderStatics2 { type Vtable = IPeerFinderStatics2_Vtbl; } -impl ::core::clone::Clone for IPeerFinderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerFinderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6e73c65_fdd0_4b0b_9312_866408935d82); } @@ -109,15 +97,11 @@ pub struct IPeerFinderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerInformation { type Vtable = IPeerInformation_Vtbl; } -impl ::core::clone::Clone for IPeerInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20024f08_9fff_45f4_b6e9_408b2ebef373); } @@ -129,15 +113,11 @@ pub struct IPeerInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerInformation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerInformation3 { type Vtable = IPeerInformation3_Vtbl; } -impl ::core::clone::Clone for IPeerInformation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerInformation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb20f612a_dbd0_40f8_95bd_2d4209c7836f); } @@ -153,15 +133,11 @@ pub struct IPeerInformation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerInformationWithHostAndService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerInformationWithHostAndService { type Vtable = IPeerInformationWithHostAndService_Vtbl; } -impl ::core::clone::Clone for IPeerInformationWithHostAndService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerInformationWithHostAndService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecc7ccad_1b70_4e8b_92db_bbe781419308); } @@ -174,15 +150,11 @@ pub struct IPeerInformationWithHostAndService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPeerWatcher { type Vtable = IPeerWatcher_Vtbl; } -impl ::core::clone::Clone for IPeerWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cee21f8_2fa6_4679_9691_03c94a420f34); } @@ -236,15 +208,11 @@ pub struct IPeerWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximityDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximityDevice { type Vtable = IProximityDevice_Vtbl; } -impl ::core::clone::Clone for IProximityDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximityDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa8a552_f6e1_4329_a0fc_ab6b0fd28262); } @@ -295,15 +263,11 @@ pub struct IProximityDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximityDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximityDeviceStatics { type Vtable = IProximityDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IProximityDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximityDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x914ba01d_f6e1_47c4_a14c_148a1903d0c6); } @@ -317,15 +281,11 @@ pub struct IProximityDeviceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProximityMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProximityMessage { type Vtable = IProximityMessage_Vtbl; } -impl ::core::clone::Clone for IProximityMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProximityMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefab0782_f6e1_4675_a045_d8e320c24808); } @@ -343,15 +303,11 @@ pub struct IProximityMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITriggeredConnectionStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITriggeredConnectionStateChangedEventArgs { type Vtable = ITriggeredConnectionStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITriggeredConnectionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITriggeredConnectionStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6a780ad_f6e1_4d54_96e2_33f620bca88a); } @@ -368,6 +324,7 @@ pub struct ITriggeredConnectionStateChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ConnectionRequestedEventArgs(::windows_core::IUnknown); impl ConnectionRequestedEventArgs { pub fn PeerInformation(&self) -> ::windows_core::Result { @@ -378,25 +335,9 @@ impl ConnectionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for ConnectionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ConnectionRequestedEventArgs {} -impl ::core::fmt::Debug for ConnectionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ConnectionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ConnectionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ConnectionRequestedEventArgs;{eb6891ae-4f1e-4c66-bd0d-46924a942e08})"); } -impl ::core::clone::Clone for ConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ConnectionRequestedEventArgs { type Vtable = IConnectionRequestedEventArgs_Vtbl; } @@ -569,6 +510,7 @@ impl ::windows_core::RuntimeName for PeerFinder { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PeerInformation(::windows_core::IUnknown); impl PeerInformation { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -609,25 +551,9 @@ impl PeerInformation { } } } -impl ::core::cmp::PartialEq for PeerInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PeerInformation {} -impl ::core::fmt::Debug for PeerInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PeerInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PeerInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerInformation;{20024f08-9fff-45f4-b6e9-408b2ebef373})"); } -impl ::core::clone::Clone for PeerInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PeerInformation { type Vtable = IPeerInformation_Vtbl; } @@ -642,6 +568,7 @@ unsafe impl ::core::marker::Send for PeerInformation {} unsafe impl ::core::marker::Sync for PeerInformation {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PeerWatcher(::windows_core::IUnknown); impl PeerWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -750,25 +677,9 @@ impl PeerWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PeerWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PeerWatcher {} -impl ::core::fmt::Debug for PeerWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PeerWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PeerWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.PeerWatcher;{3cee21f8-2fa6-4679-9691-03c94a420f34})"); } -impl ::core::clone::Clone for PeerWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PeerWatcher { type Vtable = IPeerWatcher_Vtbl; } @@ -783,6 +694,7 @@ unsafe impl ::core::marker::Send for PeerWatcher {} unsafe impl ::core::marker::Sync for PeerWatcher {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximityDevice(::windows_core::IUnknown); impl ProximityDevice { pub fn SubscribeForMessage(&self, messagetype: &::windows_core::HSTRING, messagereceivedhandler: P0) -> ::windows_core::Result @@ -951,25 +863,9 @@ impl ProximityDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProximityDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximityDevice {} -impl ::core::fmt::Debug for ProximityDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximityDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximityDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityDevice;{efa8a552-f6e1-4329-a0fc-ab6b0fd28262})"); } -impl ::core::clone::Clone for ProximityDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximityDevice { type Vtable = IProximityDevice_Vtbl; } @@ -984,6 +880,7 @@ unsafe impl ::core::marker::Send for ProximityDevice {} unsafe impl ::core::marker::Sync for ProximityDevice {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProximityMessage(::windows_core::IUnknown); impl ProximityMessage { pub fn MessageType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1017,25 +914,9 @@ impl ProximityMessage { } } } -impl ::core::cmp::PartialEq for ProximityMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProximityMessage {} -impl ::core::fmt::Debug for ProximityMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProximityMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProximityMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.ProximityMessage;{efab0782-f6e1-4675-a045-d8e320c24808})"); } -impl ::core::clone::Clone for ProximityMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProximityMessage { type Vtable = IProximityMessage_Vtbl; } @@ -1050,6 +931,7 @@ unsafe impl ::core::marker::Send for ProximityMessage {} unsafe impl ::core::marker::Sync for ProximityMessage {} #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TriggeredConnectionStateChangedEventArgs(::windows_core::IUnknown); impl TriggeredConnectionStateChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -1076,25 +958,9 @@ impl TriggeredConnectionStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TriggeredConnectionStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TriggeredConnectionStateChangedEventArgs {} -impl ::core::fmt::Debug for TriggeredConnectionStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TriggeredConnectionStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TriggeredConnectionStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs;{c6a780ad-f6e1-4d54-96e2-33f620bca88a})"); } -impl ::core::clone::Clone for TriggeredConnectionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TriggeredConnectionStateChangedEventArgs { type Vtable = ITriggeredConnectionStateChangedEventArgs_Vtbl; } @@ -1272,6 +1138,7 @@ impl ::windows_core::RuntimeType for TriggeredConnectState { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceArrivedEventHandler(pub ::windows_core::IUnknown); impl DeviceArrivedEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1297,9 +1164,12 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1324,25 +1194,9 @@ impl) -> ::windows_core::Resul ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for DeviceArrivedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceArrivedEventHandler {} -impl ::core::fmt::Debug for DeviceArrivedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceArrivedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DeviceArrivedEventHandler { type Vtable = DeviceArrivedEventHandler_Vtbl; } -impl ::core::clone::Clone for DeviceArrivedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DeviceArrivedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa9da69_f6e1_49c9_a49e_8e0fc58fb911); } @@ -1357,6 +1211,7 @@ pub struct DeviceArrivedEventHandler_Vtbl { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DeviceDepartedEventHandler(pub ::windows_core::IUnknown); impl DeviceDepartedEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1382,9 +1237,12 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1409,25 +1267,9 @@ impl) -> ::windows_core::Resul ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for DeviceDepartedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DeviceDepartedEventHandler {} -impl ::core::fmt::Debug for DeviceDepartedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceDepartedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DeviceDepartedEventHandler { type Vtable = DeviceDepartedEventHandler_Vtbl; } -impl ::core::clone::Clone for DeviceDepartedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DeviceDepartedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa9da69_f6e2_49c9_a49e_8e0fc58fb911); } @@ -1442,6 +1284,7 @@ pub struct DeviceDepartedEventHandler_Vtbl { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageReceivedHandler(pub ::windows_core::IUnknown); impl MessageReceivedHandler { pub fn new, ::core::option::Option<&ProximityMessage>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1468,9 +1311,12 @@ impl, ::core::option::Option<& base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1495,25 +1341,9 @@ impl, ::core::option::Option<& ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&message)).into() } } -impl ::core::cmp::PartialEq for MessageReceivedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageReceivedHandler {} -impl ::core::fmt::Debug for MessageReceivedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageReceivedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MessageReceivedHandler { type Vtable = MessageReceivedHandler_Vtbl; } -impl ::core::clone::Clone for MessageReceivedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MessageReceivedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefab0782_f6e2_4675_a045_d8e320c24808); } @@ -1528,6 +1358,7 @@ pub struct MessageReceivedHandler_Vtbl { } #[doc = "*Required features: `\"Networking_Proximity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageTransmittedHandler(pub ::windows_core::IUnknown); impl MessageTransmittedHandler { pub fn new, i64) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1553,9 +1384,12 @@ impl, i64) -> ::windows_core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1580,25 +1414,9 @@ impl, i64) -> ::windows_core:: ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), messageid).into() } } -impl ::core::cmp::PartialEq for MessageTransmittedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageTransmittedHandler {} -impl ::core::fmt::Debug for MessageTransmittedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageTransmittedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MessageTransmittedHandler { type Vtable = MessageTransmittedHandler_Vtbl; } -impl ::core::clone::Clone for MessageTransmittedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MessageTransmittedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefaa0b4a_f6e2_4d7d_856c_78fc8efc021e); } diff --git a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs index f5113e70d1..37f1c6d105 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannel { type Vtable = IPushNotificationChannel_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b28102e_ef0b_4f39_9b8a_a3c194de7081); } @@ -33,15 +29,11 @@ pub struct IPushNotificationChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerForUser { type Vtable = IPushNotificationChannelManagerForUser_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4c45704_1182_42c7_8890_f563c4890dc4); } @@ -68,15 +60,11 @@ pub struct IPushNotificationChannelManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerForUser2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerForUser2 { type Vtable = IPushNotificationChannelManagerForUser2_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerForUser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerForUser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc38b066a_7cc1_4dac_87fd_be6e920414a4); } @@ -95,15 +83,11 @@ pub struct IPushNotificationChannelManagerForUser2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerStatics { type Vtable = IPushNotificationChannelManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8baf9b65_77a1_4588_bd19_861529a9dcf0); } @@ -126,15 +110,11 @@ pub struct IPushNotificationChannelManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerStatics2 { type Vtable = IPushNotificationChannelManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb444a65d_a7e9_4b28_950e_f375a907f9df); } @@ -149,15 +129,11 @@ pub struct IPushNotificationChannelManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerStatics3 { type Vtable = IPushNotificationChannelManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4701fefe_0ede_4a3f_ae78_bfa471496925); } @@ -169,15 +145,11 @@ pub struct IPushNotificationChannelManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelManagerStatics4 { type Vtable = IPushNotificationChannelManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc540efb_7820_5a5b_9c01_b4757f774025); } @@ -196,15 +168,11 @@ pub struct IPushNotificationChannelManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationChannelsRevokedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationChannelsRevokedEventArgs { type Vtable = IPushNotificationChannelsRevokedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPushNotificationChannelsRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationChannelsRevokedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20e1a24c_1a34_5beb_aae2_40c232c8c140); } @@ -215,15 +183,11 @@ pub struct IPushNotificationChannelsRevokedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPushNotificationReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPushNotificationReceivedEventArgs { type Vtable = IPushNotificationReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IPushNotificationReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPushNotificationReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1065e0c_36cd_484c_b935_0a99b753cf00); } @@ -250,15 +214,11 @@ pub struct IPushNotificationReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawNotification { type Vtable = IRawNotification_Vtbl; } -impl ::core::clone::Clone for IRawNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a227281_3b79_42ac_9963_22ab00d4f0b7); } @@ -270,15 +230,11 @@ pub struct IRawNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawNotification2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawNotification2 { type Vtable = IRawNotification2_Vtbl; } -impl ::core::clone::Clone for IRawNotification2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawNotification2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6d0cf19_0c6f_4cdd_9424_eec5be014d26); } @@ -294,15 +250,11 @@ pub struct IRawNotification2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawNotification3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRawNotification3 { type Vtable = IRawNotification3_Vtbl; } -impl ::core::clone::Clone for IRawNotification3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawNotification3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62737dde_8a73_424c_ab44_5635f40a96e5); } @@ -317,6 +269,7 @@ pub struct IRawNotification3_Vtbl { } #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PushNotificationChannel(::windows_core::IUnknown); impl PushNotificationChannel { pub fn Uri(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -358,25 +311,9 @@ impl PushNotificationChannel { unsafe { (::windows_core::Interface::vtable(this).RemovePushNotificationReceived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for PushNotificationChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PushNotificationChannel {} -impl ::core::fmt::Debug for PushNotificationChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PushNotificationChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PushNotificationChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannel;{2b28102e-ef0b-4f39-9b8a-a3c194de7081})"); } -impl ::core::clone::Clone for PushNotificationChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PushNotificationChannel { type Vtable = IPushNotificationChannel_Vtbl; } @@ -475,6 +412,7 @@ impl ::windows_core::RuntimeName for PushNotificationChannelManager { } #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PushNotificationChannelManagerForUser(::windows_core::IUnknown); impl PushNotificationChannelManagerForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -538,25 +476,9 @@ impl PushNotificationChannelManagerForUser { } } } -impl ::core::cmp::PartialEq for PushNotificationChannelManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PushNotificationChannelManagerForUser {} -impl ::core::fmt::Debug for PushNotificationChannelManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PushNotificationChannelManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PushNotificationChannelManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser;{a4c45704-1182-42c7-8890-f563c4890dc4})"); } -impl ::core::clone::Clone for PushNotificationChannelManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PushNotificationChannelManagerForUser { type Vtable = IPushNotificationChannelManagerForUser_Vtbl; } @@ -571,27 +493,12 @@ unsafe impl ::core::marker::Send for PushNotificationChannelManagerForUser {} unsafe impl ::core::marker::Sync for PushNotificationChannelManagerForUser {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PushNotificationChannelsRevokedEventArgs(::windows_core::IUnknown); impl PushNotificationChannelsRevokedEventArgs {} -impl ::core::cmp::PartialEq for PushNotificationChannelsRevokedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PushNotificationChannelsRevokedEventArgs {} -impl ::core::fmt::Debug for PushNotificationChannelsRevokedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PushNotificationChannelsRevokedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PushNotificationChannelsRevokedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs;{20e1a24c-1a34-5beb-aae2-40c232c8c140})"); } -impl ::core::clone::Clone for PushNotificationChannelsRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PushNotificationChannelsRevokedEventArgs { type Vtable = IPushNotificationChannelsRevokedEventArgs_Vtbl; } @@ -606,6 +513,7 @@ unsafe impl ::core::marker::Send for PushNotificationChannelsRevokedEventArgs {} unsafe impl ::core::marker::Sync for PushNotificationChannelsRevokedEventArgs {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PushNotificationReceivedEventArgs(::windows_core::IUnknown); impl PushNotificationReceivedEventArgs { pub fn SetCancel(&self, value: bool) -> ::windows_core::Result<()> { @@ -661,25 +569,9 @@ impl PushNotificationReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for PushNotificationReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PushNotificationReceivedEventArgs {} -impl ::core::fmt::Debug for PushNotificationReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PushNotificationReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PushNotificationReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs;{d1065e0c-36cd-484c-b935-0a99b753cf00})"); } -impl ::core::clone::Clone for PushNotificationReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PushNotificationReceivedEventArgs { type Vtable = IPushNotificationReceivedEventArgs_Vtbl; } @@ -694,6 +586,7 @@ unsafe impl ::core::marker::Send for PushNotificationReceivedEventArgs {} unsafe impl ::core::marker::Sync for PushNotificationReceivedEventArgs {} #[doc = "*Required features: `\"Networking_PushNotifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RawNotification(::windows_core::IUnknown); impl RawNotification { pub fn Content(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -729,25 +622,9 @@ impl RawNotification { } } } -impl ::core::cmp::PartialEq for RawNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RawNotification {} -impl ::core::fmt::Debug for RawNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RawNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RawNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.PushNotifications.RawNotification;{1a227281-3b79-42ac-9963-22ab00d4f0b7})"); } -impl ::core::clone::Clone for RawNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RawNotification { type Vtable = IRawNotification_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs index ef27b7dab4..7f39b37edf 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDnssdRegistrationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDnssdRegistrationResult { type Vtable = IDnssdRegistrationResult_Vtbl; } -impl ::core::clone::Clone for IDnssdRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDnssdRegistrationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d786ad2_e606_5350_73ea_7e97f066162f); } @@ -22,15 +18,11 @@ pub struct IDnssdRegistrationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDnssdServiceInstance(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDnssdServiceInstance { type Vtable = IDnssdServiceInstance_Vtbl; } -impl ::core::clone::Clone for IDnssdServiceInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDnssdServiceInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe246db7e_98a5_4ca1_b9e4_c253d33c35ff); } @@ -71,15 +63,11 @@ pub struct IDnssdServiceInstance_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDnssdServiceInstanceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDnssdServiceInstanceFactory { type Vtable = IDnssdServiceInstanceFactory_Vtbl; } -impl ::core::clone::Clone for IDnssdServiceInstanceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDnssdServiceInstanceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cb061a1_c478_4331_9684_4af2186c0a2b); } @@ -91,15 +79,11 @@ pub struct IDnssdServiceInstanceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDnssdServiceWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDnssdServiceWatcher { type Vtable = IDnssdServiceWatcher_Vtbl; } -impl ::core::clone::Clone for IDnssdServiceWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDnssdServiceWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc34d9c1_db7d_4b69_983d_c6f83f205682); } @@ -137,6 +121,7 @@ pub struct IDnssdServiceWatcher_Vtbl { } #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DnssdRegistrationResult(::windows_core::IUnknown); impl DnssdRegistrationResult { pub fn new() -> ::windows_core::Result { @@ -177,25 +162,9 @@ impl DnssdRegistrationResult { } } } -impl ::core::cmp::PartialEq for DnssdRegistrationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DnssdRegistrationResult {} -impl ::core::fmt::Debug for DnssdRegistrationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DnssdRegistrationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DnssdRegistrationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdRegistrationResult;{3d786ad2-e606-5350-73ea-7e97f066162f})"); } -impl ::core::clone::Clone for DnssdRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DnssdRegistrationResult { type Vtable = IDnssdRegistrationResult_Vtbl; } @@ -212,6 +181,7 @@ unsafe impl ::core::marker::Send for DnssdRegistrationResult {} unsafe impl ::core::marker::Sync for DnssdRegistrationResult {} #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DnssdServiceInstance(::windows_core::IUnknown); impl DnssdServiceInstance { pub fn DnssdServiceInstanceName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -355,25 +325,9 @@ impl DnssdServiceInstance { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DnssdServiceInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DnssdServiceInstance {} -impl ::core::fmt::Debug for DnssdServiceInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DnssdServiceInstance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DnssdServiceInstance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})"); } -impl ::core::clone::Clone for DnssdServiceInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DnssdServiceInstance { type Vtable = IDnssdServiceInstance_Vtbl; } @@ -391,6 +345,7 @@ unsafe impl ::core::marker::Sync for DnssdServiceInstance {} #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DnssdServiceInstanceCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl DnssdServiceInstanceCollection { @@ -444,30 +399,10 @@ impl DnssdServiceInstanceCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for DnssdServiceInstanceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for DnssdServiceInstanceCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for DnssdServiceInstanceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DnssdServiceInstanceCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for DnssdServiceInstanceCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstanceCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceInstance;{e246db7e-98a5-4ca1-b9e4-c253d33c35ff})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for DnssdServiceInstanceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for DnssdServiceInstanceCollection { type Vtable = super::super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -507,6 +442,7 @@ unsafe impl ::core::marker::Send for DnssdServiceInstanceCollection {} unsafe impl ::core::marker::Sync for DnssdServiceInstanceCollection {} #[doc = "*Required features: `\"Networking_ServiceDiscovery_Dnssd\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DnssdServiceWatcher(::windows_core::IUnknown); impl DnssdServiceWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -579,25 +515,9 @@ impl DnssdServiceWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for DnssdServiceWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DnssdServiceWatcher {} -impl ::core::fmt::Debug for DnssdServiceWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DnssdServiceWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DnssdServiceWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.ServiceDiscovery.Dnssd.DnssdServiceWatcher;{cc34d9c1-db7d-4b69-983d-c6f83f205682})"); } -impl ::core::clone::Clone for DnssdServiceWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DnssdServiceWatcher { type Vtable = IDnssdServiceWatcher_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs index f2d8a3e237..4be7e76d16 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs @@ -24,8 +24,8 @@ impl IControlChannelTriggerEventDetails_Vtbl { ControlChannelTrigger: ControlChannelTrigger::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"implement\"`*"] @@ -79,8 +79,8 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { SoftwareSlotReset: SoftwareSlotReset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IWebSocket_Vtbl { CloseWithStatus: CloseWithStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Credentials\"`, `\"implement\"`*"] @@ -255,8 +255,8 @@ impl IWebSocketControl_Vtbl { SupportedProtocols: SupportedProtocols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IWebSocketControl2_Vtbl { IgnorableServerCertificateErrors: IgnorableServerCertificateErrors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"implement\"`*"] @@ -345,8 +345,8 @@ impl IWebSocketInformation_Vtbl { Protocol: Protocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -419,7 +419,7 @@ impl IWebSocketInformation2_Vtbl { ServerIntermediateCertificates: ServerIntermediateCertificates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 18a38e8304..198897278e 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChannelTrigger(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IControlChannelTrigger { type Vtable = IControlChannelTrigger_Vtbl; } -impl ::core::clone::Clone for IControlChannelTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChannelTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d1431a7_ee96_40e8_a199_8703cd969ec3); } @@ -36,15 +32,11 @@ pub struct IControlChannelTrigger_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChannelTrigger2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IControlChannelTrigger2 { type Vtable = IControlChannelTrigger2_Vtbl; } -impl ::core::clone::Clone for IControlChannelTrigger2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChannelTrigger2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf00d237_51be_4514_9725_3556e1879580); } @@ -56,6 +48,7 @@ pub struct IControlChannelTrigger2_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChannelTriggerEventDetails(::windows_core::IUnknown); impl IControlChannelTriggerEventDetails { pub fn ControlChannelTrigger(&self) -> ::windows_core::Result { @@ -67,28 +60,12 @@ impl IControlChannelTriggerEventDetails { } } ::windows_core::imp::interface_hierarchy!(IControlChannelTriggerEventDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IControlChannelTriggerEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IControlChannelTriggerEventDetails {} -impl ::core::fmt::Debug for IControlChannelTriggerEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IControlChannelTriggerEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IControlChannelTriggerEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1b36e047-89bb-4236-96ac-71d012bb4869}"); } unsafe impl ::windows_core::Interface for IControlChannelTriggerEventDetails { type Vtable = IControlChannelTriggerEventDetails_Vtbl; } -impl ::core::clone::Clone for IControlChannelTriggerEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChannelTriggerEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b36e047_89bb_4236_96ac_71d012bb4869); } @@ -100,15 +77,11 @@ pub struct IControlChannelTriggerEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChannelTriggerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IControlChannelTriggerFactory { type Vtable = IControlChannelTriggerFactory_Vtbl; } -impl ::core::clone::Clone for IControlChannelTriggerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChannelTriggerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda4b7cf0_8d71_446f_88c3_b95184a2d6cd); } @@ -121,6 +94,7 @@ pub struct IControlChannelTriggerFactory_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChannelTriggerResetEventDetails(::windows_core::IUnknown); impl IControlChannelTriggerResetEventDetails { pub fn ResetReason(&self) -> ::windows_core::Result { @@ -146,28 +120,12 @@ impl IControlChannelTriggerResetEventDetails { } } ::windows_core::imp::interface_hierarchy!(IControlChannelTriggerResetEventDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IControlChannelTriggerResetEventDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IControlChannelTriggerResetEventDetails {} -impl ::core::fmt::Debug for IControlChannelTriggerResetEventDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IControlChannelTriggerResetEventDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IControlChannelTriggerResetEventDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6851038e-8ec4-42fe-9bb2-21e91b7bfcb1}"); } unsafe impl ::windows_core::Interface for IControlChannelTriggerResetEventDetails { type Vtable = IControlChannelTriggerResetEventDetails_Vtbl; } -impl ::core::clone::Clone for IControlChannelTriggerResetEventDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChannelTriggerResetEventDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6851038e_8ec4_42fe_9bb2_21e91b7bfcb1); } @@ -181,15 +139,11 @@ pub struct IControlChannelTriggerResetEventDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocket { type Vtable = IDatagramSocket_Vtbl; } -impl ::core::clone::Clone for IDatagramSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fe25bbb_c3bc_4677_8446_ca28a465a3af); } @@ -239,15 +193,11 @@ pub struct IDatagramSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocket2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocket2 { type Vtable = IDatagramSocket2_Vtbl; } -impl ::core::clone::Clone for IDatagramSocket2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocket2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd83ba354_9a9d_4185_a20a_1424c9c2a7cd); } @@ -262,15 +212,11 @@ pub struct IDatagramSocket2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocket3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocket3 { type Vtable = IDatagramSocket3_Vtbl; } -impl ::core::clone::Clone for IDatagramSocket3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocket3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37544f09_ab92_4306_9ac1_0c381283d9c6); } @@ -293,15 +239,11 @@ pub struct IDatagramSocket3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketControl { type Vtable = IDatagramSocketControl_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52ac3f2e_349a_4135_bb58_b79b2647d390); } @@ -316,15 +258,11 @@ pub struct IDatagramSocketControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketControl2 { type Vtable = IDatagramSocketControl2_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ead5c2_979c_4415_82a1_3cfaf646c192); } @@ -339,15 +277,11 @@ pub struct IDatagramSocketControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketControl3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketControl3 { type Vtable = IDatagramSocketControl3_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4eb8256_1f6d_4598_9b57_d42a001df349); } @@ -360,15 +294,11 @@ pub struct IDatagramSocketControl3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketInformation { type Vtable = IDatagramSocketInformation_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f1a569a_55fb_48cd_9706_7a974f7b1585); } @@ -383,15 +313,11 @@ pub struct IDatagramSocketInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketMessageReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketMessageReceivedEventArgs { type Vtable = IDatagramSocketMessageReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketMessageReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e2ddca2_1712_4ce4_b179_8c652c6d107e); } @@ -413,15 +339,11 @@ pub struct IDatagramSocketMessageReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDatagramSocketStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDatagramSocketStatics { type Vtable = IDatagramSocketStatics_Vtbl; } -impl ::core::clone::Clone for IDatagramSocketStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDatagramSocketStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9c62aee_1494_4a21_bb7e_8589fc751d9d); } @@ -440,15 +362,11 @@ pub struct IDatagramSocketStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocket { type Vtable = IMessageWebSocket_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33727d08_34d5_4746_ad7b_8dde5bc2ef88); } @@ -469,15 +387,11 @@ pub struct IMessageWebSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocket2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocket2 { type Vtable = IMessageWebSocket2_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocket2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocket2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbed0cee7_f9c8_440a_9ad5_737281d9742e); } @@ -496,15 +410,11 @@ pub struct IMessageWebSocket2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocket3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocket3 { type Vtable = IMessageWebSocket3_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocket3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocket3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59d9defb_71af_4349_8487_911fcf681597); } @@ -523,15 +433,11 @@ pub struct IMessageWebSocket3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocketControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocketControl { type Vtable = IMessageWebSocketControl_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8118388a_c629_4f0a_80fb_81fc05538862); } @@ -546,15 +452,11 @@ pub struct IMessageWebSocketControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocketControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocketControl2 { type Vtable = IMessageWebSocketControl2_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocketControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocketControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe30fd791_080c_400a_a712_27dfa9e744d8); } @@ -587,15 +489,11 @@ pub struct IMessageWebSocketControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocketMessageReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocketMessageReceivedEventArgs { type Vtable = IMessageWebSocketMessageReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocketMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocketMessageReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x478c22ac_4c4b_42ed_9ed7_1ef9f94fa3d5); } @@ -615,15 +513,11 @@ pub struct IMessageWebSocketMessageReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageWebSocketMessageReceivedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageWebSocketMessageReceivedEventArgs2 { type Vtable = IMessageWebSocketMessageReceivedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IMessageWebSocketMessageReceivedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageWebSocketMessageReceivedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89ce06fd_dd6f_4a07_87f9_f9eb4d89d83d); } @@ -635,15 +529,11 @@ pub struct IMessageWebSocketMessageReceivedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerMessageWebSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServerMessageWebSocket { type Vtable = IServerMessageWebSocket_Vtbl; } -impl ::core::clone::Clone for IServerMessageWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerMessageWebSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3ac9240_813b_5efd_7e11_ae2305fc77f1); } @@ -677,15 +567,11 @@ pub struct IServerMessageWebSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerMessageWebSocketControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServerMessageWebSocketControl { type Vtable = IServerMessageWebSocketControl_Vtbl; } -impl ::core::clone::Clone for IServerMessageWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerMessageWebSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69c2f051_1c1f_587a_4519_2181610192b7); } @@ -698,15 +584,11 @@ pub struct IServerMessageWebSocketControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerMessageWebSocketInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServerMessageWebSocketInformation { type Vtable = IServerMessageWebSocketInformation_Vtbl; } -impl ::core::clone::Clone for IServerMessageWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerMessageWebSocketInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc32b45f_4448_5505_6cc9_09afa8915f5d); } @@ -720,15 +602,11 @@ pub struct IServerMessageWebSocketInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerStreamWebSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServerStreamWebSocket { type Vtable = IServerStreamWebSocket_Vtbl; } -impl ::core::clone::Clone for IServerStreamWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerStreamWebSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ced5bbf_74f6_55e4_79df_9132680dfee8); } @@ -757,15 +635,11 @@ pub struct IServerStreamWebSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerStreamWebSocketInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServerStreamWebSocketInformation { type Vtable = IServerStreamWebSocketInformation_Vtbl; } -impl ::core::clone::Clone for IServerStreamWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerStreamWebSocketInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc32b45f_4448_5505_6cc9_09aba8915f5d); } @@ -779,15 +653,11 @@ pub struct IServerStreamWebSocketInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityContext { type Vtable = ISocketActivityContext_Vtbl; } -impl ::core::clone::Clone for ISocketActivityContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43b04d64_4c85_4396_a637_1d973f6ebd49); } @@ -802,15 +672,11 @@ pub struct ISocketActivityContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityContextFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityContextFactory { type Vtable = ISocketActivityContextFactory_Vtbl; } -impl ::core::clone::Clone for ISocketActivityContextFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityContextFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb99fc3c3_088c_4388_83ae_2525138e049a); } @@ -825,15 +691,11 @@ pub struct ISocketActivityContextFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityInformation { type Vtable = ISocketActivityInformation_Vtbl; } -impl ::core::clone::Clone for ISocketActivityInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d8a42e4_a87e_4b74_9968_185b2511defe); } @@ -851,15 +713,11 @@ pub struct ISocketActivityInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityInformationStatics { type Vtable = ISocketActivityInformationStatics_Vtbl; } -impl ::core::clone::Clone for ISocketActivityInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8570b47a_7e7d_4736_8041_1327a6543c56); } @@ -874,15 +732,11 @@ pub struct ISocketActivityInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketActivityTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketActivityTriggerDetails { type Vtable = ISocketActivityTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ISocketActivityTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketActivityTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45f406a7_fc9f_4f81_acad_355fef51e67b); } @@ -895,15 +749,11 @@ pub struct ISocketActivityTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISocketErrorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISocketErrorStatics { type Vtable = ISocketErrorStatics_Vtbl; } -impl ::core::clone::Clone for ISocketErrorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISocketErrorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x828337f4_7d56_4d8e_b7b4_a07dd7c1bca9); } @@ -915,15 +765,11 @@ pub struct ISocketErrorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocket { type Vtable = IStreamSocket_Vtbl; } -impl ::core::clone::Clone for IStreamSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69a22cf3_fc7b_4857_af38_f6e7de6a5b49); } @@ -964,15 +810,11 @@ pub struct IStreamSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocket2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocket2 { type Vtable = IStreamSocket2_Vtbl; } -impl ::core::clone::Clone for IStreamSocket2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocket2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29d0e575_f314_4d09_adf0_0fbd967fbd9f); } @@ -987,15 +829,11 @@ pub struct IStreamSocket2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocket3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocket3 { type Vtable = IStreamSocket3_Vtbl; } -impl ::core::clone::Clone for IStreamSocket3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocket3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f430b00_9d28_4854_bac3_2301941ec223); } @@ -1018,15 +856,11 @@ pub struct IStreamSocket3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketControl { type Vtable = IStreamSocketControl_Vtbl; } -impl ::core::clone::Clone for IStreamSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe25adf1_92ab_4af3_9992_0f4c85e36cc4); } @@ -1047,15 +881,11 @@ pub struct IStreamSocketControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketControl2 { type Vtable = IStreamSocketControl2_Vtbl; } -impl ::core::clone::Clone for IStreamSocketControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2d09a56_060f_44c1_b8e2_1fbf60bd62c5); } @@ -1070,15 +900,11 @@ pub struct IStreamSocketControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketControl3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketControl3 { type Vtable = IStreamSocketControl3_Vtbl; } -impl ::core::clone::Clone for IStreamSocketControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc56a444c_4e74_403e_894c_b31cae5c7342); } @@ -1099,15 +925,11 @@ pub struct IStreamSocketControl3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketControl4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketControl4 { type Vtable = IStreamSocketControl4_Vtbl; } -impl ::core::clone::Clone for IStreamSocketControl4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketControl4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x964e2b3d_ec27_4888_b3ce_c74b418423ad); } @@ -1120,15 +942,11 @@ pub struct IStreamSocketControl4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketInformation { type Vtable = IStreamSocketInformation_Vtbl; } -impl ::core::clone::Clone for IStreamSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b80ae30_5e68_4205_88f0_dc85d2e25ded); } @@ -1152,15 +970,11 @@ pub struct IStreamSocketInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketInformation2 { type Vtable = IStreamSocketInformation2_Vtbl; } -impl ::core::clone::Clone for IStreamSocketInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12c28452_4bdc_4ee4_976a_cf130e9d92e3); } @@ -1184,15 +998,11 @@ pub struct IStreamSocketInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListener { type Vtable = IStreamSocketListener_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff513437_df9f_4df0_bf82_0ec5d7b35aae); } @@ -1221,15 +1031,11 @@ pub struct IStreamSocketListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListener2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListener2 { type Vtable = IStreamSocketListener2_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListener2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListener2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x658dc13e_bb3e_4458_b232_ed1088694b98); } @@ -1248,15 +1054,11 @@ pub struct IStreamSocketListener2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListener3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListener3 { type Vtable = IStreamSocketListener3_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListener3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListener3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4798201c_bdf8_4919_8542_28d450e74507); } @@ -1275,15 +1077,11 @@ pub struct IStreamSocketListener3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListenerConnectionReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListenerConnectionReceivedEventArgs { type Vtable = IStreamSocketListenerConnectionReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListenerConnectionReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListenerConnectionReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c472ea9_373f_447b_85b1_ddd4548803ba); } @@ -1295,15 +1093,11 @@ pub struct IStreamSocketListenerConnectionReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListenerControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListenerControl { type Vtable = IStreamSocketListenerControl_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListenerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListenerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20d8c576_8d8a_4dba_9722_a16c4d984980); } @@ -1316,15 +1110,11 @@ pub struct IStreamSocketListenerControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListenerControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListenerControl2 { type Vtable = IStreamSocketListenerControl2_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListenerControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListenerControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x948bb665_2c3e_404b_b8b0_8eb249a2b0a1); } @@ -1343,15 +1133,11 @@ pub struct IStreamSocketListenerControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketListenerInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketListenerInformation { type Vtable = IStreamSocketListenerInformation_Vtbl; } -impl ::core::clone::Clone for IStreamSocketListenerInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketListenerInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe62ba82f_a63a_430b_bf62_29e93e5633b4); } @@ -1363,15 +1149,11 @@ pub struct IStreamSocketListenerInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSocketStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamSocketStatics { type Vtable = IStreamSocketStatics_Vtbl; } -impl ::core::clone::Clone for IStreamSocketStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSocketStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa420bc4a_6e2e_4af5_b556_355ae0cd4f29); } @@ -1390,15 +1172,11 @@ pub struct IStreamSocketStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamWebSocket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamWebSocket { type Vtable = IStreamWebSocket_Vtbl; } -impl ::core::clone::Clone for IStreamWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamWebSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd4a49d8_b289_45bb_97eb_c7525205a843); } @@ -1415,15 +1193,11 @@ pub struct IStreamWebSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamWebSocket2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamWebSocket2 { type Vtable = IStreamWebSocket2_Vtbl; } -impl ::core::clone::Clone for IStreamWebSocket2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamWebSocket2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa4d08cb_93f5_4678_8236_57cce5417ed5); } @@ -1442,15 +1216,11 @@ pub struct IStreamWebSocket2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamWebSocketControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamWebSocketControl { type Vtable = IStreamWebSocketControl_Vtbl; } -impl ::core::clone::Clone for IStreamWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamWebSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4f478b1_a45a_48db_953a_645b7d964c07); } @@ -1463,15 +1233,11 @@ pub struct IStreamWebSocketControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamWebSocketControl2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStreamWebSocketControl2 { type Vtable = IStreamWebSocketControl2_Vtbl; } -impl ::core::clone::Clone for IStreamWebSocketControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamWebSocketControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x215d9f7e_fa58_40da_9f11_a48dafe95037); } @@ -1502,6 +1268,7 @@ pub struct IStreamWebSocketControl2_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocket(::windows_core::IUnknown); impl IWebSocket { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1561,28 +1328,12 @@ impl IWebSocket { ::windows_core::imp::interface_hierarchy!(IWebSocket, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IWebSocket {} -impl ::core::cmp::PartialEq for IWebSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebSocket {} -impl ::core::fmt::Debug for IWebSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{f877396f-99b1-4e18-bc08-850c9adf156e}"); } unsafe impl ::windows_core::Interface for IWebSocket { type Vtable = IWebSocket_Vtbl; } -impl ::core::clone::Clone for IWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf877396f_99b1_4e18_bc08_850c9adf156e); } @@ -1611,15 +1362,11 @@ pub struct IWebSocket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebSocketClosedEventArgs { type Vtable = IWebSocketClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebSocketClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceb78d07_d0a8_4703_a091_c8c2c0915bc3); } @@ -1632,6 +1379,7 @@ pub struct IWebSocketClosedEventArgs_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketControl(::windows_core::IUnknown); impl IWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> ::windows_core::Result { @@ -1692,28 +1440,12 @@ impl IWebSocketControl { } } ::windows_core::imp::interface_hierarchy!(IWebSocketControl, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebSocketControl {} -impl ::core::fmt::Debug for IWebSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2ec4bdc3-d9a5-455a-9811-de24d45337e9}"); } unsafe impl ::windows_core::Interface for IWebSocketControl { type Vtable = IWebSocketControl_Vtbl; } -impl ::core::clone::Clone for IWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ec4bdc3_d9a5_455a_9811_de24d45337e9); } @@ -1746,6 +1478,7 @@ pub struct IWebSocketControl_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketControl2(::windows_core::IUnknown); impl IWebSocketControl2 { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Security_Cryptography_Certificates\"`*"] @@ -1816,28 +1549,12 @@ impl IWebSocketControl2 { } ::windows_core::imp::interface_hierarchy!(IWebSocketControl2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebSocketControl2 {} -impl ::core::cmp::PartialEq for IWebSocketControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebSocketControl2 {} -impl ::core::fmt::Debug for IWebSocketControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebSocketControl2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebSocketControl2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{79c3be03-f2ca-461e-af4e-9665bc2d0620}"); } unsafe impl ::windows_core::Interface for IWebSocketControl2 { type Vtable = IWebSocketControl2_Vtbl; } -impl ::core::clone::Clone for IWebSocketControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79c3be03_f2ca_461e_af4e_9665bc2d0620); } @@ -1852,15 +1569,11 @@ pub struct IWebSocketControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketErrorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebSocketErrorStatics { type Vtable = IWebSocketErrorStatics_Vtbl; } -impl ::core::clone::Clone for IWebSocketErrorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketErrorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27cdf35b_1f61_4709_8e02_61283ada4e9d); } @@ -1875,6 +1588,7 @@ pub struct IWebSocketErrorStatics_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketInformation(::windows_core::IUnknown); impl IWebSocketInformation { pub fn LocalAddress(&self) -> ::windows_core::Result { @@ -1900,28 +1614,12 @@ impl IWebSocketInformation { } } ::windows_core::imp::interface_hierarchy!(IWebSocketInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebSocketInformation {} -impl ::core::fmt::Debug for IWebSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5e01e316-c92a-47a5-b25f-07847639d181}"); } unsafe impl ::windows_core::Interface for IWebSocketInformation { type Vtable = IWebSocketInformation_Vtbl; } -impl ::core::clone::Clone for IWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e01e316_c92a_47a5_b25f_07847639d181); } @@ -1935,6 +1633,7 @@ pub struct IWebSocketInformation_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketInformation2(::windows_core::IUnknown); impl IWebSocketInformation2 { #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -1995,28 +1694,12 @@ impl IWebSocketInformation2 { } ::windows_core::imp::interface_hierarchy!(IWebSocketInformation2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebSocketInformation2 {} -impl ::core::cmp::PartialEq for IWebSocketInformation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebSocketInformation2 {} -impl ::core::fmt::Debug for IWebSocketInformation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebSocketInformation2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebSocketInformation2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ce1d39ce-a1b7-4d43-8269-8d5b981bd47a}"); } unsafe impl ::windows_core::Interface for IWebSocketInformation2 { type Vtable = IWebSocketInformation2_Vtbl; } -impl ::core::clone::Clone for IWebSocketInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce1d39ce_a1b7_4d43_8269_8d5b981bd47a); } @@ -2040,15 +1723,11 @@ pub struct IWebSocketInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebSocketServerCustomValidationRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebSocketServerCustomValidationRequestedEventArgs { type Vtable = IWebSocketServerCustomValidationRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebSocketServerCustomValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebSocketServerCustomValidationRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffeffe48_022a_4ab7_8b36_e10af4640e6b); } @@ -2077,6 +1756,7 @@ pub struct IWebSocketServerCustomValidationRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ControlChannelTrigger(::windows_core::IUnknown); impl ControlChannelTrigger { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2182,25 +1862,9 @@ impl ControlChannelTrigger { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ControlChannelTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ControlChannelTrigger {} -impl ::core::fmt::Debug for ControlChannelTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ControlChannelTrigger").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ControlChannelTrigger { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ControlChannelTrigger;{7d1431a7-ee96-40e8-a199-8703cd969ec3})"); } -impl ::core::clone::Clone for ControlChannelTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ControlChannelTrigger { type Vtable = IControlChannelTrigger_Vtbl; } @@ -2217,6 +1881,7 @@ unsafe impl ::core::marker::Send for ControlChannelTrigger {} unsafe impl ::core::marker::Sync for ControlChannelTrigger {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DatagramSocket(::windows_core::IUnknown); impl DatagramSocket { pub fn new() -> ::windows_core::Result { @@ -2426,25 +2091,9 @@ impl DatagramSocket { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DatagramSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DatagramSocket {} -impl ::core::fmt::Debug for DatagramSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DatagramSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DatagramSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocket;{7fe25bbb-c3bc-4677-8446-ca28a465a3af})"); } -impl ::core::clone::Clone for DatagramSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DatagramSocket { type Vtable = IDatagramSocket_Vtbl; } @@ -2461,6 +2110,7 @@ unsafe impl ::core::marker::Send for DatagramSocket {} unsafe impl ::core::marker::Sync for DatagramSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DatagramSocketControl(::windows_core::IUnknown); impl DatagramSocketControl { pub fn QualityOfService(&self) -> ::windows_core::Result { @@ -2519,25 +2169,9 @@ impl DatagramSocketControl { unsafe { (::windows_core::Interface::vtable(this).SetMulticastOnly)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DatagramSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DatagramSocketControl {} -impl ::core::fmt::Debug for DatagramSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DatagramSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DatagramSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketControl;{52ac3f2e-349a-4135-bb58-b79b2647d390})"); } -impl ::core::clone::Clone for DatagramSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DatagramSocketControl { type Vtable = IDatagramSocketControl_Vtbl; } @@ -2552,6 +2186,7 @@ unsafe impl ::core::marker::Send for DatagramSocketControl {} unsafe impl ::core::marker::Sync for DatagramSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DatagramSocketInformation(::windows_core::IUnknown); impl DatagramSocketInformation { pub fn LocalAddress(&self) -> ::windows_core::Result { @@ -2583,25 +2218,9 @@ impl DatagramSocketInformation { } } } -impl ::core::cmp::PartialEq for DatagramSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DatagramSocketInformation {} -impl ::core::fmt::Debug for DatagramSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DatagramSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DatagramSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketInformation;{5f1a569a-55fb-48cd-9706-7a974f7b1585})"); } -impl ::core::clone::Clone for DatagramSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DatagramSocketInformation { type Vtable = IDatagramSocketInformation_Vtbl; } @@ -2616,6 +2235,7 @@ unsafe impl ::core::marker::Send for DatagramSocketInformation {} unsafe impl ::core::marker::Sync for DatagramSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DatagramSocketMessageReceivedEventArgs(::windows_core::IUnknown); impl DatagramSocketMessageReceivedEventArgs { pub fn RemoteAddress(&self) -> ::windows_core::Result { @@ -2658,25 +2278,9 @@ impl DatagramSocketMessageReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for DatagramSocketMessageReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DatagramSocketMessageReceivedEventArgs {} -impl ::core::fmt::Debug for DatagramSocketMessageReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DatagramSocketMessageReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DatagramSocketMessageReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs;{9e2ddca2-1712-4ce4-b179-8c652c6d107e})"); } -impl ::core::clone::Clone for DatagramSocketMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DatagramSocketMessageReceivedEventArgs { type Vtable = IDatagramSocketMessageReceivedEventArgs_Vtbl; } @@ -2691,6 +2295,7 @@ unsafe impl ::core::marker::Send for DatagramSocketMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for DatagramSocketMessageReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageWebSocket(::windows_core::IUnknown); impl MessageWebSocket { pub fn new() -> ::windows_core::Result { @@ -2828,25 +2433,9 @@ impl MessageWebSocket { unsafe { (::windows_core::Interface::vtable(this).CloseWithStatus)(::windows_core::Interface::as_raw(this), code, ::core::mem::transmute_copy(reason)).ok() } } } -impl ::core::cmp::PartialEq for MessageWebSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageWebSocket {} -impl ::core::fmt::Debug for MessageWebSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageWebSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MessageWebSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocket;{33727d08-34d5-4746-ad7b-8dde5bc2ef88})"); } -impl ::core::clone::Clone for MessageWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MessageWebSocket { type Vtable = IMessageWebSocket_Vtbl; } @@ -2864,6 +2453,7 @@ unsafe impl ::core::marker::Send for MessageWebSocket {} unsafe impl ::core::marker::Sync for MessageWebSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageWebSocketControl(::windows_core::IUnknown); impl MessageWebSocketControl { pub fn MaxMessageSize(&self) -> ::windows_core::Result { @@ -3007,25 +2597,9 @@ impl MessageWebSocketControl { } } } -impl ::core::cmp::PartialEq for MessageWebSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageWebSocketControl {} -impl ::core::fmt::Debug for MessageWebSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageWebSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MessageWebSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketControl;{8118388a-c629-4f0a-80fb-81fc05538862})"); } -impl ::core::clone::Clone for MessageWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MessageWebSocketControl { type Vtable = IMessageWebSocketControl_Vtbl; } @@ -3042,6 +2616,7 @@ unsafe impl ::core::marker::Send for MessageWebSocketControl {} unsafe impl ::core::marker::Sync for MessageWebSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageWebSocketInformation(::windows_core::IUnknown); impl MessageWebSocketInformation { pub fn LocalAddress(&self) -> ::windows_core::Result { @@ -3100,25 +2675,9 @@ impl MessageWebSocketInformation { } } } -impl ::core::cmp::PartialEq for MessageWebSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageWebSocketInformation {} -impl ::core::fmt::Debug for MessageWebSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageWebSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MessageWebSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); } -impl ::core::clone::Clone for MessageWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MessageWebSocketInformation { type Vtable = IWebSocketInformation_Vtbl; } @@ -3135,6 +2694,7 @@ unsafe impl ::core::marker::Send for MessageWebSocketInformation {} unsafe impl ::core::marker::Sync for MessageWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageWebSocketMessageReceivedEventArgs(::windows_core::IUnknown); impl MessageWebSocketMessageReceivedEventArgs { pub fn MessageType(&self) -> ::windows_core::Result { @@ -3170,25 +2730,9 @@ impl MessageWebSocketMessageReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for MessageWebSocketMessageReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageWebSocketMessageReceivedEventArgs {} -impl ::core::fmt::Debug for MessageWebSocketMessageReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageWebSocketMessageReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MessageWebSocketMessageReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs;{478c22ac-4c4b-42ed-9ed7-1ef9f94fa3d5})"); } -impl ::core::clone::Clone for MessageWebSocketMessageReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MessageWebSocketMessageReceivedEventArgs { type Vtable = IMessageWebSocketMessageReceivedEventArgs_Vtbl; } @@ -3203,6 +2747,7 @@ unsafe impl ::core::marker::Send for MessageWebSocketMessageReceivedEventArgs {} unsafe impl ::core::marker::Sync for MessageWebSocketMessageReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServerMessageWebSocket(::windows_core::IUnknown); impl ServerMessageWebSocket { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3275,25 +2820,9 @@ impl ServerMessageWebSocket { unsafe { (::windows_core::Interface::vtable(this).CloseWithStatus)(::windows_core::Interface::as_raw(this), code, ::core::mem::transmute_copy(reason)).ok() } } } -impl ::core::cmp::PartialEq for ServerMessageWebSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServerMessageWebSocket {} -impl ::core::fmt::Debug for ServerMessageWebSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServerMessageWebSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServerMessageWebSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocket;{e3ac9240-813b-5efd-7e11-ae2305fc77f1})"); } -impl ::core::clone::Clone for ServerMessageWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServerMessageWebSocket { type Vtable = IServerMessageWebSocket_Vtbl; } @@ -3310,6 +2839,7 @@ unsafe impl ::core::marker::Send for ServerMessageWebSocket {} unsafe impl ::core::marker::Sync for ServerMessageWebSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServerMessageWebSocketControl(::windows_core::IUnknown); impl ServerMessageWebSocketControl { pub fn MessageType(&self) -> ::windows_core::Result { @@ -3324,25 +2854,9 @@ impl ServerMessageWebSocketControl { unsafe { (::windows_core::Interface::vtable(this).SetMessageType)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ServerMessageWebSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServerMessageWebSocketControl {} -impl ::core::fmt::Debug for ServerMessageWebSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServerMessageWebSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServerMessageWebSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketControl;{69c2f051-1c1f-587a-4519-2181610192b7})"); } -impl ::core::clone::Clone for ServerMessageWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServerMessageWebSocketControl { type Vtable = IServerMessageWebSocketControl_Vtbl; } @@ -3357,6 +2871,7 @@ unsafe impl ::core::marker::Send for ServerMessageWebSocketControl {} unsafe impl ::core::marker::Sync for ServerMessageWebSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServerMessageWebSocketInformation(::windows_core::IUnknown); impl ServerMessageWebSocketInformation { pub fn BandwidthStatistics(&self) -> ::windows_core::Result { @@ -3381,25 +2896,9 @@ impl ServerMessageWebSocketInformation { } } } -impl ::core::cmp::PartialEq for ServerMessageWebSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServerMessageWebSocketInformation {} -impl ::core::fmt::Debug for ServerMessageWebSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServerMessageWebSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServerMessageWebSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerMessageWebSocketInformation;{fc32b45f-4448-5505-6cc9-09afa8915f5d})"); } -impl ::core::clone::Clone for ServerMessageWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServerMessageWebSocketInformation { type Vtable = IServerMessageWebSocketInformation_Vtbl; } @@ -3414,6 +2913,7 @@ unsafe impl ::core::marker::Send for ServerMessageWebSocketInformation {} unsafe impl ::core::marker::Sync for ServerMessageWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServerStreamWebSocket(::windows_core::IUnknown); impl ServerStreamWebSocket { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3470,25 +2970,9 @@ impl ServerStreamWebSocket { unsafe { (::windows_core::Interface::vtable(this).CloseWithStatus)(::windows_core::Interface::as_raw(this), code, ::core::mem::transmute_copy(reason)).ok() } } } -impl ::core::cmp::PartialEq for ServerStreamWebSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServerStreamWebSocket {} -impl ::core::fmt::Debug for ServerStreamWebSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServerStreamWebSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServerStreamWebSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocket;{2ced5bbf-74f6-55e4-79df-9132680dfee8})"); } -impl ::core::clone::Clone for ServerStreamWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServerStreamWebSocket { type Vtable = IServerStreamWebSocket_Vtbl; } @@ -3505,6 +2989,7 @@ unsafe impl ::core::marker::Send for ServerStreamWebSocket {} unsafe impl ::core::marker::Sync for ServerStreamWebSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServerStreamWebSocketInformation(::windows_core::IUnknown); impl ServerStreamWebSocketInformation { pub fn BandwidthStatistics(&self) -> ::windows_core::Result { @@ -3529,25 +3014,9 @@ impl ServerStreamWebSocketInformation { } } } -impl ::core::cmp::PartialEq for ServerStreamWebSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServerStreamWebSocketInformation {} -impl ::core::fmt::Debug for ServerStreamWebSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServerStreamWebSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServerStreamWebSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.ServerStreamWebSocketInformation;{fc32b45f-4448-5505-6cc9-09aba8915f5d})"); } -impl ::core::clone::Clone for ServerStreamWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServerStreamWebSocketInformation { type Vtable = IServerStreamWebSocketInformation_Vtbl; } @@ -3562,6 +3031,7 @@ unsafe impl ::core::marker::Send for ServerStreamWebSocketInformation {} unsafe impl ::core::marker::Sync for ServerStreamWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SocketActivityContext(::windows_core::IUnknown); impl SocketActivityContext { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -3590,25 +3060,9 @@ impl SocketActivityContext { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SocketActivityContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SocketActivityContext {} -impl ::core::fmt::Debug for SocketActivityContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SocketActivityContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SocketActivityContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityContext;{43b04d64-4c85-4396-a637-1d973f6ebd49})"); } -impl ::core::clone::Clone for SocketActivityContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SocketActivityContext { type Vtable = ISocketActivityContext_Vtbl; } @@ -3623,6 +3077,7 @@ unsafe impl ::core::marker::Send for SocketActivityContext {} unsafe impl ::core::marker::Sync for SocketActivityContext {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SocketActivityInformation(::windows_core::IUnknown); impl SocketActivityInformation { pub fn TaskId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3688,25 +3143,9 @@ impl SocketActivityInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SocketActivityInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SocketActivityInformation {} -impl ::core::fmt::Debug for SocketActivityInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SocketActivityInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SocketActivityInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityInformation;{8d8a42e4-a87e-4b74-9968-185b2511defe})"); } -impl ::core::clone::Clone for SocketActivityInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SocketActivityInformation { type Vtable = ISocketActivityInformation_Vtbl; } @@ -3721,6 +3160,7 @@ unsafe impl ::core::marker::Send for SocketActivityInformation {} unsafe impl ::core::marker::Sync for SocketActivityInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SocketActivityTriggerDetails(::windows_core::IUnknown); impl SocketActivityTriggerDetails { pub fn Reason(&self) -> ::windows_core::Result { @@ -3738,25 +3178,9 @@ impl SocketActivityTriggerDetails { } } } -impl ::core::cmp::PartialEq for SocketActivityTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SocketActivityTriggerDetails {} -impl ::core::fmt::Debug for SocketActivityTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SocketActivityTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SocketActivityTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.SocketActivityTriggerDetails;{45f406a7-fc9f-4f81-acad-355fef51e67b})"); } -impl ::core::clone::Clone for SocketActivityTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SocketActivityTriggerDetails { type Vtable = ISocketActivityTriggerDetails_Vtbl; } @@ -3789,6 +3213,7 @@ impl ::windows_core::RuntimeName for SocketError { } #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocket(::windows_core::IUnknown); impl StreamSocket { pub fn new() -> ::windows_core::Result { @@ -3974,25 +3399,9 @@ impl StreamSocket { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StreamSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocket {} -impl ::core::fmt::Debug for StreamSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocket;{69a22cf3-fc7b-4857-af38-f6e7de6a5b49})"); } -impl ::core::clone::Clone for StreamSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocket { type Vtable = IStreamSocket_Vtbl; } @@ -4009,6 +3418,7 @@ unsafe impl ::core::marker::Send for StreamSocket {} unsafe impl ::core::marker::Sync for StreamSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketControl(::windows_core::IUnknown); impl StreamSocketControl { pub fn NoDelay(&self) -> ::windows_core::Result { @@ -4116,25 +3526,9 @@ impl StreamSocketControl { unsafe { (::windows_core::Interface::vtable(this).SetMinProtectionLevel)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for StreamSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketControl {} -impl ::core::fmt::Debug for StreamSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketControl;{fe25adf1-92ab-4af3-9992-0f4c85e36cc4})"); } -impl ::core::clone::Clone for StreamSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketControl { type Vtable = IStreamSocketControl_Vtbl; } @@ -4149,6 +3543,7 @@ unsafe impl ::core::marker::Send for StreamSocketControl {} unsafe impl ::core::marker::Sync for StreamSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketInformation(::windows_core::IUnknown); impl StreamSocketInformation { pub fn LocalAddress(&self) -> ::windows_core::Result { @@ -4258,25 +3653,9 @@ impl StreamSocketInformation { } } } -impl ::core::cmp::PartialEq for StreamSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketInformation {} -impl ::core::fmt::Debug for StreamSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketInformation;{3b80ae30-5e68-4205-88f0-dc85d2e25ded})"); } -impl ::core::clone::Clone for StreamSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketInformation { type Vtable = IStreamSocketInformation_Vtbl; } @@ -4291,6 +3670,7 @@ unsafe impl ::core::marker::Send for StreamSocketInformation {} unsafe impl ::core::marker::Sync for StreamSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketListener(::windows_core::IUnknown); impl StreamSocketListener { pub fn new() -> ::windows_core::Result { @@ -4409,25 +3789,9 @@ impl StreamSocketListener { unsafe { (::windows_core::Interface::vtable(this).TransferOwnershipWithContext)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(socketid), data.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for StreamSocketListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketListener {} -impl ::core::fmt::Debug for StreamSocketListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListener;{ff513437-df9f-4df0-bf82-0ec5d7b35aae})"); } -impl ::core::clone::Clone for StreamSocketListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketListener { type Vtable = IStreamSocketListener_Vtbl; } @@ -4444,6 +3808,7 @@ unsafe impl ::core::marker::Send for StreamSocketListener {} unsafe impl ::core::marker::Sync for StreamSocketListener {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketListenerConnectionReceivedEventArgs(::windows_core::IUnknown); impl StreamSocketListenerConnectionReceivedEventArgs { pub fn Socket(&self) -> ::windows_core::Result { @@ -4454,25 +3819,9 @@ impl StreamSocketListenerConnectionReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for StreamSocketListenerConnectionReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketListenerConnectionReceivedEventArgs {} -impl ::core::fmt::Debug for StreamSocketListenerConnectionReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketListenerConnectionReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketListenerConnectionReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerConnectionReceivedEventArgs;{0c472ea9-373f-447b-85b1-ddd4548803ba})"); } -impl ::core::clone::Clone for StreamSocketListenerConnectionReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketListenerConnectionReceivedEventArgs { type Vtable = IStreamSocketListenerConnectionReceivedEventArgs_Vtbl; } @@ -4487,6 +3836,7 @@ unsafe impl ::core::marker::Send for StreamSocketListenerConnectionReceivedEvent unsafe impl ::core::marker::Sync for StreamSocketListenerConnectionReceivedEventArgs {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketListenerControl(::windows_core::IUnknown); impl StreamSocketListenerControl { pub fn QualityOfService(&self) -> ::windows_core::Result { @@ -4545,25 +3895,9 @@ impl StreamSocketListenerControl { unsafe { (::windows_core::Interface::vtable(this).SetOutboundUnicastHopLimit)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for StreamSocketListenerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketListenerControl {} -impl ::core::fmt::Debug for StreamSocketListenerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketListenerControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketListenerControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerControl;{20d8c576-8d8a-4dba-9722-a16c4d984980})"); } -impl ::core::clone::Clone for StreamSocketListenerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketListenerControl { type Vtable = IStreamSocketListenerControl_Vtbl; } @@ -4578,6 +3912,7 @@ unsafe impl ::core::marker::Send for StreamSocketListenerControl {} unsafe impl ::core::marker::Sync for StreamSocketListenerControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamSocketListenerInformation(::windows_core::IUnknown); impl StreamSocketListenerInformation { pub fn LocalPort(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4588,25 +3923,9 @@ impl StreamSocketListenerInformation { } } } -impl ::core::cmp::PartialEq for StreamSocketListenerInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamSocketListenerInformation {} -impl ::core::fmt::Debug for StreamSocketListenerInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamSocketListenerInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamSocketListenerInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamSocketListenerInformation;{e62ba82f-a63a-430b-bf62-29e93e5633b4})"); } -impl ::core::clone::Clone for StreamSocketListenerInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamSocketListenerInformation { type Vtable = IStreamSocketListenerInformation_Vtbl; } @@ -4621,6 +3940,7 @@ unsafe impl ::core::marker::Send for StreamSocketListenerInformation {} unsafe impl ::core::marker::Sync for StreamSocketListenerInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamWebSocket(::windows_core::IUnknown); impl StreamWebSocket { pub fn new() -> ::windows_core::Result { @@ -4725,25 +4045,9 @@ impl StreamWebSocket { unsafe { (::windows_core::Interface::vtable(this).CloseWithStatus)(::windows_core::Interface::as_raw(this), code, ::core::mem::transmute_copy(reason)).ok() } } } -impl ::core::cmp::PartialEq for StreamWebSocket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamWebSocket {} -impl ::core::fmt::Debug for StreamWebSocket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamWebSocket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamWebSocket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocket;{bd4a49d8-b289-45bb-97eb-c7525205a843})"); } -impl ::core::clone::Clone for StreamWebSocket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamWebSocket { type Vtable = IStreamWebSocket_Vtbl; } @@ -4761,6 +4065,7 @@ unsafe impl ::core::marker::Send for StreamWebSocket {} unsafe impl ::core::marker::Sync for StreamWebSocket {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamWebSocketControl(::windows_core::IUnknown); impl StreamWebSocketControl { pub fn NoDelay(&self) -> ::windows_core::Result { @@ -4882,25 +4187,9 @@ impl StreamWebSocketControl { } } } -impl ::core::cmp::PartialEq for StreamWebSocketControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamWebSocketControl {} -impl ::core::fmt::Debug for StreamWebSocketControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamWebSocketControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamWebSocketControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketControl;{b4f478b1-a45a-48db-953a-645b7d964c07})"); } -impl ::core::clone::Clone for StreamWebSocketControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamWebSocketControl { type Vtable = IStreamWebSocketControl_Vtbl; } @@ -4917,6 +4206,7 @@ unsafe impl ::core::marker::Send for StreamWebSocketControl {} unsafe impl ::core::marker::Sync for StreamWebSocketControl {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamWebSocketInformation(::windows_core::IUnknown); impl StreamWebSocketInformation { pub fn LocalAddress(&self) -> ::windows_core::Result { @@ -4975,25 +4265,9 @@ impl StreamWebSocketInformation { } } } -impl ::core::cmp::PartialEq for StreamWebSocketInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StreamWebSocketInformation {} -impl ::core::fmt::Debug for StreamWebSocketInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamWebSocketInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StreamWebSocketInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.StreamWebSocketInformation;{5e01e316-c92a-47a5-b25f-07847639d181})"); } -impl ::core::clone::Clone for StreamWebSocketInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StreamWebSocketInformation { type Vtable = IWebSocketInformation_Vtbl; } @@ -5010,6 +4284,7 @@ unsafe impl ::core::marker::Send for StreamWebSocketInformation {} unsafe impl ::core::marker::Sync for StreamWebSocketInformation {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebSocketClosedEventArgs(::windows_core::IUnknown); impl WebSocketClosedEventArgs { pub fn Code(&self) -> ::windows_core::Result { @@ -5027,25 +4302,9 @@ impl WebSocketClosedEventArgs { } } } -impl ::core::cmp::PartialEq for WebSocketClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebSocketClosedEventArgs {} -impl ::core::fmt::Debug for WebSocketClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebSocketClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebSocketClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketClosedEventArgs;{ceb78d07-d0a8-4703-a091-c8c2c0915bc3})"); } -impl ::core::clone::Clone for WebSocketClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebSocketClosedEventArgs { type Vtable = IWebSocketClosedEventArgs_Vtbl; } @@ -5081,6 +4340,7 @@ impl ::windows_core::RuntimeName for WebSocketError { #[doc = "*Required features: `\"Networking_Sockets\"`, `\"ApplicationModel_Background\"`*"] #[cfg(feature = "ApplicationModel_Background")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebSocketKeepAlive(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Background")] impl WebSocketKeepAlive { @@ -5102,30 +4362,10 @@ impl WebSocketKeepAlive { } } #[cfg(feature = "ApplicationModel_Background")] -impl ::core::cmp::PartialEq for WebSocketKeepAlive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Background")] -impl ::core::cmp::Eq for WebSocketKeepAlive {} -#[cfg(feature = "ApplicationModel_Background")] -impl ::core::fmt::Debug for WebSocketKeepAlive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebSocketKeepAlive").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Background")] impl ::windows_core::RuntimeType for WebSocketKeepAlive { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketKeepAlive;{7d13d534-fd12-43ce-8c22-ea1ff13c06df})"); } #[cfg(feature = "ApplicationModel_Background")] -impl ::core::clone::Clone for WebSocketKeepAlive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Background")] unsafe impl ::windows_core::Interface for WebSocketKeepAlive { type Vtable = super::super::ApplicationModel::Background::IBackgroundTask_Vtbl; } @@ -5147,6 +4387,7 @@ unsafe impl ::core::marker::Send for WebSocketKeepAlive {} unsafe impl ::core::marker::Sync for WebSocketKeepAlive {} #[doc = "*Required features: `\"Networking_Sockets\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebSocketServerCustomValidationRequestedEventArgs(::windows_core::IUnknown); impl WebSocketServerCustomValidationRequestedEventArgs { #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -5197,25 +4438,9 @@ impl WebSocketServerCustomValidationRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WebSocketServerCustomValidationRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebSocketServerCustomValidationRequestedEventArgs {} -impl ::core::fmt::Debug for WebSocketServerCustomValidationRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebSocketServerCustomValidationRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebSocketServerCustomValidationRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Sockets.WebSocketServerCustomValidationRequestedEventArgs;{ffeffe48-022a-4ab7-8b36-e10af4640e6b})"); } -impl ::core::clone::Clone for WebSocketServerCustomValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebSocketServerCustomValidationRequestedEventArgs { type Vtable = IWebSocketServerCustomValidationRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs index 28967350e7..e0460fa176 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs @@ -17,8 +17,8 @@ impl IVpnChannelStatics_Vtbl { ProcessEventAsync: ProcessEventAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -92,8 +92,8 @@ impl IVpnCredential_Vtbl { OldPasswordCredential: OldPasswordCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IVpnCustomPrompt_Vtbl { Bordered: Bordered::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IVpnCustomPromptElement_Vtbl { Emphasized: Emphasized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -279,8 +279,8 @@ impl IVpnDomainNameInfoFactory_Vtbl { CreateVpnDomainNameInfo: CreateVpnDomainNameInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IVpnInterfaceIdFactory_Vtbl { CreateVpnInterfaceId: CreateVpnInterfaceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -342,8 +342,8 @@ impl IVpnNamespaceInfoFactory_Vtbl { CreateVpnNamespaceInfo: CreateVpnNamespaceInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IVpnPacketBufferFactory_Vtbl { CreateVpnPacketBuffer: CreateVpnPacketBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl IVpnPlugIn_Vtbl { Decapsulate: Decapsulate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -559,8 +559,8 @@ impl IVpnProfile_Vtbl { SetAlwaysOn: SetAlwaysOn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -586,7 +586,7 @@ impl IVpnRouteFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateVpnRoute: CreateVpnRoute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 181e800193..1f3d62e1dc 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnAppId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnAppId { type Vtable = IVpnAppId_Vtbl; } -impl ::core::clone::Clone for IVpnAppId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnAppId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b06a635_5c58_41d9_94a7_bfbcf1d8ca54); } @@ -23,15 +19,11 @@ pub struct IVpnAppId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnAppIdFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnAppIdFactory { type Vtable = IVpnAppIdFactory_Vtbl; } -impl ::core::clone::Clone for IVpnAppIdFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnAppIdFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46adfd2a_0aab_4fdb_821d_d3ddc919788b); } @@ -43,15 +35,11 @@ pub struct IVpnAppIdFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannel { type Vtable = IVpnChannel_Vtbl; } -impl ::core::clone::Clone for IVpnChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ac78d07_d1a8_4303_a091_c8d2e0915bc3); } @@ -93,15 +81,11 @@ pub struct IVpnChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannel2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannel2 { type Vtable = IVpnChannel2_Vtbl; } -impl ::core::clone::Clone for IVpnChannel2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannel2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2255d165_993b_4629_ad60_f1c3f3537f50); } @@ -151,15 +135,11 @@ pub struct IVpnChannel2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannel4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannel4 { type Vtable = IVpnChannel4_Vtbl; } -impl ::core::clone::Clone for IVpnChannel4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannel4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7266ede_2937_419d_9570_486aebb81803); } @@ -182,15 +162,11 @@ pub struct IVpnChannel4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannel5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannel5 { type Vtable = IVpnChannel5_Vtbl; } -impl ::core::clone::Clone for IVpnChannel5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannel5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde7a0992_8384_4fbc_882c_1fd23124cd3b); } @@ -205,15 +181,11 @@ pub struct IVpnChannel5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannel6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannel6 { type Vtable = IVpnChannel6_Vtbl; } -impl ::core::clone::Clone for IVpnChannel6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannel6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55843696_bd63_49c5_abca_5da77885551a); } @@ -228,15 +200,11 @@ pub struct IVpnChannel6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannelActivityEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannelActivityEventArgs { type Vtable = IVpnChannelActivityEventArgs_Vtbl; } -impl ::core::clone::Clone for IVpnChannelActivityEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannelActivityEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa36c88f2_afdc_4775_855d_d4ac0a35fc55); } @@ -248,15 +216,11 @@ pub struct IVpnChannelActivityEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannelActivityStateChangedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannelActivityStateChangedArgs { type Vtable = IVpnChannelActivityStateChangedArgs_Vtbl; } -impl ::core::clone::Clone for IVpnChannelActivityStateChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannelActivityStateChangedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d750565_fdc0_4bbe_a23b_45fffc6d97a1); } @@ -268,15 +232,11 @@ pub struct IVpnChannelActivityStateChangedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannelConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannelConfiguration { type Vtable = IVpnChannelConfiguration_Vtbl; } -impl ::core::clone::Clone for IVpnChannelConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannelConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e2ddca2_2012_4fe4_b179_8c652c6d107e); } @@ -293,15 +253,11 @@ pub struct IVpnChannelConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannelConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnChannelConfiguration2 { type Vtable = IVpnChannelConfiguration2_Vtbl; } -impl ::core::clone::Clone for IVpnChannelConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannelConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf30b574c_7824_471c_a118_63dbc93ae4c7); } @@ -316,6 +272,7 @@ pub struct IVpnChannelConfiguration2_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnChannelStatics(::windows_core::IUnknown); impl IVpnChannelStatics { pub fn ProcessEventAsync(&self, thirdpartyplugin: P0, event: P1) -> ::windows_core::Result<()> @@ -328,28 +285,12 @@ impl IVpnChannelStatics { } } ::windows_core::imp::interface_hierarchy!(IVpnChannelStatics, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnChannelStatics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnChannelStatics {} -impl ::core::fmt::Debug for IVpnChannelStatics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnChannelStatics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnChannelStatics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{88eb062d-e818-4ffd-98a6-363e3736c95d}"); } unsafe impl ::windows_core::Interface for IVpnChannelStatics { type Vtable = IVpnChannelStatics_Vtbl; } -impl ::core::clone::Clone for IVpnChannelStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnChannelStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88eb062d_e818_4ffd_98a6_363e3736c95d); } @@ -361,6 +302,7 @@ pub struct IVpnChannelStatics_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCredential(::windows_core::IUnknown); impl IVpnCredential { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -399,28 +341,12 @@ impl IVpnCredential { } } ::windows_core::imp::interface_hierarchy!(IVpnCredential, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnCredential {} -impl ::core::fmt::Debug for IVpnCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnCredential").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnCredential { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b7e78af3-a46d-404b-8729-1832522853ac}"); } unsafe impl ::windows_core::Interface for IVpnCredential { type Vtable = IVpnCredential_Vtbl; } -impl ::core::clone::Clone for IVpnCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e78af3_a46d_404b_8729_1832522853ac); } @@ -444,15 +370,11 @@ pub struct IVpnCredential_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomCheckBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomCheckBox { type Vtable = IVpnCustomCheckBox_Vtbl; } -impl ::core::clone::Clone for IVpnCustomCheckBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomCheckBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43878753_03c5_4e61_93d7_a957714c4282); } @@ -466,15 +388,11 @@ pub struct IVpnCustomCheckBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomComboBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomComboBox { type Vtable = IVpnCustomComboBox_Vtbl; } -impl ::core::clone::Clone for IVpnCustomComboBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomComboBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a24158e_dba1_4c6f_8270_dcf3c9761c4c); } @@ -494,15 +412,11 @@ pub struct IVpnCustomComboBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomEditBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomEditBox { type Vtable = IVpnCustomEditBox_Vtbl; } -impl ::core::clone::Clone for IVpnCustomEditBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomEditBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3002d9a0_cfbf_4c0b_8f3c_66f503c20b39); } @@ -518,15 +432,11 @@ pub struct IVpnCustomEditBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomErrorBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomErrorBox { type Vtable = IVpnCustomErrorBox_Vtbl; } -impl ::core::clone::Clone for IVpnCustomErrorBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomErrorBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ec4efb2_c942_42af_b223_588b48328721); } @@ -537,6 +447,7 @@ pub struct IVpnCustomErrorBox_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPrompt(::windows_core::IUnknown); impl IVpnCustomPrompt { pub fn SetLabel(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -574,28 +485,12 @@ impl IVpnCustomPrompt { } } ::windows_core::imp::interface_hierarchy!(IVpnCustomPrompt, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnCustomPrompt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnCustomPrompt {} -impl ::core::fmt::Debug for IVpnCustomPrompt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnCustomPrompt").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnCustomPrompt { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9b2ebe7b-87d5-433c-b4f6-eee6aa68a244}"); } unsafe impl ::windows_core::Interface for IVpnCustomPrompt { type Vtable = IVpnCustomPrompt_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPrompt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPrompt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b2ebe7b_87d5_433c_b4f6_eee6aa68a244); } @@ -612,15 +507,11 @@ pub struct IVpnCustomPrompt_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPromptBooleanInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomPromptBooleanInput { type Vtable = IVpnCustomPromptBooleanInput_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPromptBooleanInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPromptBooleanInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c9a69e_ff47_4527_9f27_a49292019979); } @@ -634,6 +525,7 @@ pub struct IVpnCustomPromptBooleanInput_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPromptElement(::windows_core::IUnknown); impl IVpnCustomPromptElement { pub fn SetDisplayName(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -671,28 +563,12 @@ impl IVpnCustomPromptElement { } } ::windows_core::imp::interface_hierarchy!(IVpnCustomPromptElement, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnCustomPromptElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnCustomPromptElement {} -impl ::core::fmt::Debug for IVpnCustomPromptElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnCustomPromptElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnCustomPromptElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{73bd5638-6f04-404d-93dd-50a44924a38b}"); } unsafe impl ::windows_core::Interface for IVpnCustomPromptElement { type Vtable = IVpnCustomPromptElement_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPromptElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPromptElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73bd5638_6f04_404d_93dd_50a44924a38b); } @@ -709,15 +585,11 @@ pub struct IVpnCustomPromptElement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPromptOptionSelector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomPromptOptionSelector { type Vtable = IVpnCustomPromptOptionSelector_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPromptOptionSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPromptOptionSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b8f34d9_8ec1_4e95_9a4e_7ba64d38f330); } @@ -733,15 +605,11 @@ pub struct IVpnCustomPromptOptionSelector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPromptText(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomPromptText { type Vtable = IVpnCustomPromptText_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPromptText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPromptText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bc8bdee_3a42_49a3_abdd_07b2edea752d); } @@ -754,15 +622,11 @@ pub struct IVpnCustomPromptText_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomPromptTextInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomPromptTextInput { type Vtable = IVpnCustomPromptTextInput_Vtbl; } -impl ::core::clone::Clone for IVpnCustomPromptTextInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomPromptTextInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9da9c75_913c_47d5_88ba_48fc48930235); } @@ -778,15 +642,11 @@ pub struct IVpnCustomPromptTextInput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnCustomTextBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnCustomTextBox { type Vtable = IVpnCustomTextBox_Vtbl; } -impl ::core::clone::Clone for IVpnCustomTextBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnCustomTextBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaa4c3ca_8f23_4d36_91f1_76d937827942); } @@ -799,15 +659,11 @@ pub struct IVpnCustomTextBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnDomainNameAssignment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnDomainNameAssignment { type Vtable = IVpnDomainNameAssignment_Vtbl; } -impl ::core::clone::Clone for IVpnDomainNameAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnDomainNameAssignment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4135b141_ccdb_49b5_9401_039a8ae767e9); } @@ -830,15 +686,11 @@ pub struct IVpnDomainNameAssignment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnDomainNameInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnDomainNameInfo { type Vtable = IVpnDomainNameInfo_Vtbl; } -impl ::core::clone::Clone for IVpnDomainNameInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnDomainNameInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad2eb82f_ea8e_4f7a_843e_1a87e32e1b9a); } @@ -861,15 +713,11 @@ pub struct IVpnDomainNameInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnDomainNameInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnDomainNameInfo2 { type Vtable = IVpnDomainNameInfo2_Vtbl; } -impl ::core::clone::Clone for IVpnDomainNameInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnDomainNameInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab871151_6c53_4828_9883_d886de104407); } @@ -884,6 +732,7 @@ pub struct IVpnDomainNameInfo2_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnDomainNameInfoFactory(::windows_core::IUnknown); impl IVpnDomainNameInfoFactory { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -901,28 +750,12 @@ impl IVpnDomainNameInfoFactory { } } ::windows_core::imp::interface_hierarchy!(IVpnDomainNameInfoFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnDomainNameInfoFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnDomainNameInfoFactory {} -impl ::core::fmt::Debug for IVpnDomainNameInfoFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnDomainNameInfoFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnDomainNameInfoFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2507bb75-028f-4688-8d3a-c4531df37da8}"); } unsafe impl ::windows_core::Interface for IVpnDomainNameInfoFactory { type Vtable = IVpnDomainNameInfoFactory_Vtbl; } -impl ::core::clone::Clone for IVpnDomainNameInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnDomainNameInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2507bb75_028f_4688_8d3a_c4531df37da8); } @@ -937,15 +770,11 @@ pub struct IVpnDomainNameInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnForegroundActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnForegroundActivatedEventArgs { type Vtable = IVpnForegroundActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVpnForegroundActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnForegroundActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85b465b0_cadb_4d70_ac92_543a24dc9ebc); } @@ -962,15 +791,11 @@ pub struct IVpnForegroundActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnForegroundActivationOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnForegroundActivationOperation { type Vtable = IVpnForegroundActivationOperation_Vtbl; } -impl ::core::clone::Clone for IVpnForegroundActivationOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnForegroundActivationOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e010d57_f17a_4bd5_9b6d_f984f1297d3c); } @@ -985,15 +810,11 @@ pub struct IVpnForegroundActivationOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnInterfaceId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnInterfaceId { type Vtable = IVpnInterfaceId_Vtbl; } -impl ::core::clone::Clone for IVpnInterfaceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnInterfaceId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e2ddca2_1712_4ce4_b179_8c652c6d1011); } @@ -1005,6 +826,7 @@ pub struct IVpnInterfaceId_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnInterfaceIdFactory(::windows_core::IUnknown); impl IVpnInterfaceIdFactory { pub fn CreateVpnInterfaceId(&self, address: &[u8]) -> ::windows_core::Result { @@ -1016,28 +838,12 @@ impl IVpnInterfaceIdFactory { } } ::windows_core::imp::interface_hierarchy!(IVpnInterfaceIdFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnInterfaceIdFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnInterfaceIdFactory {} -impl ::core::fmt::Debug for IVpnInterfaceIdFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnInterfaceIdFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnInterfaceIdFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d1000}"); } unsafe impl ::windows_core::Interface for IVpnInterfaceIdFactory { type Vtable = IVpnInterfaceIdFactory_Vtbl; } -impl ::core::clone::Clone for IVpnInterfaceIdFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnInterfaceIdFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e2ddca2_1712_4ce4_b179_8c652c6d1000); } @@ -1049,15 +855,11 @@ pub struct IVpnInterfaceIdFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnManagementAgent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnManagementAgent { type Vtable = IVpnManagementAgent_Vtbl; } -impl ::core::clone::Clone for IVpnManagementAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnManagementAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x193696cd_a5c4_4abe_852b_785be4cb3e34); } @@ -1104,15 +906,11 @@ pub struct IVpnManagementAgent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnNamespaceAssignment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnNamespaceAssignment { type Vtable = IVpnNamespaceAssignment_Vtbl; } -impl ::core::clone::Clone for IVpnNamespaceAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnNamespaceAssignment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7f7db18_307d_4c0e_bd62_8fa270bbadd6); } @@ -1139,15 +937,11 @@ pub struct IVpnNamespaceAssignment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnNamespaceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnNamespaceInfo { type Vtable = IVpnNamespaceInfo_Vtbl; } -impl ::core::clone::Clone for IVpnNamespaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnNamespaceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30edfb43_444f_44c5_8167_a35a91f1af94); } @@ -1176,6 +970,7 @@ pub struct IVpnNamespaceInfo_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnNamespaceInfoFactory(::windows_core::IUnknown); impl IVpnNamespaceInfoFactory { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1193,28 +988,12 @@ impl IVpnNamespaceInfoFactory { } } ::windows_core::imp::interface_hierarchy!(IVpnNamespaceInfoFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnNamespaceInfoFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnNamespaceInfoFactory {} -impl ::core::fmt::Debug for IVpnNamespaceInfoFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnNamespaceInfoFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnNamespaceInfoFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cb3e951a-b0ce-442b-acbb-5f99b202c31c}"); } unsafe impl ::windows_core::Interface for IVpnNamespaceInfoFactory { type Vtable = IVpnNamespaceInfoFactory_Vtbl; } -impl ::core::clone::Clone for IVpnNamespaceInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnNamespaceInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3e951a_b0ce_442b_acbb_5f99b202c31c); } @@ -1229,15 +1008,11 @@ pub struct IVpnNamespaceInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnNativeProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnNativeProfile { type Vtable = IVpnNativeProfile_Vtbl; } -impl ::core::clone::Clone for IVpnNativeProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnNativeProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4aee29e_6417_4333_9842_f0a66db69802); } @@ -1262,15 +1037,11 @@ pub struct IVpnNativeProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnNativeProfile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnNativeProfile2 { type Vtable = IVpnNativeProfile2_Vtbl; } -impl ::core::clone::Clone for IVpnNativeProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnNativeProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fec2467_cdb5_4ac7_b5a3_0afb5ec47682); } @@ -1284,15 +1055,11 @@ pub struct IVpnNativeProfile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBuffer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPacketBuffer { type Vtable = IVpnPacketBuffer_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2f891fc_4d5c_4a63_b70d_4e307eacce55); } @@ -1311,15 +1078,11 @@ pub struct IVpnPacketBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBuffer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPacketBuffer2 { type Vtable = IVpnPacketBuffer2_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBuffer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBuffer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x665e91f0_8805_4bf5_a619_2e84882e6b4f); } @@ -1331,15 +1094,11 @@ pub struct IVpnPacketBuffer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBuffer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPacketBuffer3 { type Vtable = IVpnPacketBuffer3_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBuffer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBuffer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe256072f_107b_4c40_b127_5bc53e0ad960); } @@ -1352,6 +1111,7 @@ pub struct IVpnPacketBuffer3_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBufferFactory(::windows_core::IUnknown); impl IVpnPacketBufferFactory { pub fn CreateVpnPacketBuffer(&self, parentbuffer: P0, offset: u32, length: u32) -> ::windows_core::Result @@ -1366,28 +1126,12 @@ impl IVpnPacketBufferFactory { } } ::windows_core::imp::interface_hierarchy!(IVpnPacketBufferFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnPacketBufferFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnPacketBufferFactory {} -impl ::core::fmt::Debug for IVpnPacketBufferFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnPacketBufferFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnPacketBufferFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9e2ddca2-1712-4ce4-b179-8c652c6d9999}"); } unsafe impl ::windows_core::Interface for IVpnPacketBufferFactory { type Vtable = IVpnPacketBufferFactory_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBufferFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBufferFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e2ddca2_1712_4ce4_b179_8c652c6d9999); } @@ -1399,15 +1143,11 @@ pub struct IVpnPacketBufferFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBufferList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPacketBufferList { type Vtable = IVpnPacketBufferList_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBufferList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBufferList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2f891fc_4d5c_4a63_b70d_4e307eacce77); } @@ -1426,15 +1166,11 @@ pub struct IVpnPacketBufferList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPacketBufferList2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPacketBufferList2 { type Vtable = IVpnPacketBufferList2_Vtbl; } -impl ::core::clone::Clone for IVpnPacketBufferList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPacketBufferList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e7acfe5_ea1e_482a_8d98_c065f57d89ea); } @@ -1449,15 +1185,11 @@ pub struct IVpnPacketBufferList2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPickedCredential(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPickedCredential { type Vtable = IVpnPickedCredential_Vtbl; } -impl ::core::clone::Clone for IVpnPickedCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPickedCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a793ac7_8854_4e52_ad97_24dd9a842bce); } @@ -1477,6 +1209,7 @@ pub struct IVpnPickedCredential_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPlugIn(::windows_core::IUnknown); impl IVpnPlugIn { pub fn Connect(&self, channel: P0) -> ::windows_core::Result<()> @@ -1521,28 +1254,12 @@ impl IVpnPlugIn { } } ::windows_core::imp::interface_hierarchy!(IVpnPlugIn, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnPlugIn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnPlugIn {} -impl ::core::fmt::Debug for IVpnPlugIn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnPlugIn").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnPlugIn { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ceb78d07-d0a8-4703-a091-c8c2c0915bc4}"); } unsafe impl ::windows_core::Interface for IVpnPlugIn { type Vtable = IVpnPlugIn_Vtbl; } -impl ::core::clone::Clone for IVpnPlugIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPlugIn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceb78d07_d0a8_4703_a091_c8c2c0915bc4); } @@ -1558,15 +1275,11 @@ pub struct IVpnPlugIn_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPlugInProfile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPlugInProfile { type Vtable = IVpnPlugInProfile_Vtbl; } -impl ::core::clone::Clone for IVpnPlugInProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPlugInProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0edf0da4_4f00_4589_8d7b_4bf988f6542c); } @@ -1585,15 +1298,11 @@ pub struct IVpnPlugInProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnPlugInProfile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnPlugInProfile2 { type Vtable = IVpnPlugInProfile2_Vtbl; } -impl ::core::clone::Clone for IVpnPlugInProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnPlugInProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x611c4892_cf94_4ad6_ba99_00f4ff34565e); } @@ -1607,6 +1316,7 @@ pub struct IVpnPlugInProfile2_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnProfile(::windows_core::IUnknown); impl IVpnProfile { pub fn ProfileName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1680,28 +1390,12 @@ impl IVpnProfile { } } ::windows_core::imp::interface_hierarchy!(IVpnProfile, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnProfile {} -impl ::core::fmt::Debug for IVpnProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{7875b751-b0d7-43db-8a93-d3fe2479e56a}"); } unsafe impl ::windows_core::Interface for IVpnProfile { type Vtable = IVpnProfile_Vtbl; } -impl ::core::clone::Clone for IVpnProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7875b751_b0d7_43db_8a93_d3fe2479e56a); } @@ -1734,15 +1428,11 @@ pub struct IVpnProfile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnRoute(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnRoute { type Vtable = IVpnRoute_Vtbl; } -impl ::core::clone::Clone for IVpnRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnRoute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5731b83_0969_4699_938e_7776db29cfb3); } @@ -1757,15 +1447,11 @@ pub struct IVpnRoute_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnRouteAssignment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnRouteAssignment { type Vtable = IVpnRouteAssignment_Vtbl; } -impl ::core::clone::Clone for IVpnRouteAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnRouteAssignment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb64de22_ce39_4a76_9550_f61039f80e48); } @@ -1810,6 +1496,7 @@ pub struct IVpnRouteAssignment_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnRouteFactory(::windows_core::IUnknown); impl IVpnRouteFactory { pub fn CreateVpnRoute(&self, address: P0, prefixsize: u8) -> ::windows_core::Result @@ -1824,28 +1511,12 @@ impl IVpnRouteFactory { } } ::windows_core::imp::interface_hierarchy!(IVpnRouteFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVpnRouteFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVpnRouteFactory {} -impl ::core::fmt::Debug for IVpnRouteFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVpnRouteFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVpnRouteFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bdeab5ff-45cf-4b99-83fb-db3bc2672b02}"); } unsafe impl ::windows_core::Interface for IVpnRouteFactory { type Vtable = IVpnRouteFactory_Vtbl; } -impl ::core::clone::Clone for IVpnRouteFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnRouteFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdeab5ff_45cf_4b99_83fb_db3bc2672b02); } @@ -1857,15 +1528,11 @@ pub struct IVpnRouteFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnSystemHealth(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnSystemHealth { type Vtable = IVpnSystemHealth_Vtbl; } -impl ::core::clone::Clone for IVpnSystemHealth { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnSystemHealth { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99a8f8af_c0ee_4e75_817a_f231aee5123d); } @@ -1880,15 +1547,11 @@ pub struct IVpnSystemHealth_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnTrafficFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnTrafficFilter { type Vtable = IVpnTrafficFilter_Vtbl; } -impl ::core::clone::Clone for IVpnTrafficFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnTrafficFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f691b60_6c9f_47f5_ac36_bb1b042e2c50); } @@ -1925,15 +1588,11 @@ pub struct IVpnTrafficFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnTrafficFilterAssignment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnTrafficFilterAssignment { type Vtable = IVpnTrafficFilterAssignment_Vtbl; } -impl ::core::clone::Clone for IVpnTrafficFilterAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnTrafficFilterAssignment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56ccd45c_e664_471e_89cd_601603b9e0f3); } @@ -1952,15 +1611,11 @@ pub struct IVpnTrafficFilterAssignment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVpnTrafficFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVpnTrafficFilterFactory { type Vtable = IVpnTrafficFilterFactory_Vtbl; } -impl ::core::clone::Clone for IVpnTrafficFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVpnTrafficFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x480d41d5_7f99_474c_86ee_96df168318f1); } @@ -1972,6 +1627,7 @@ pub struct IVpnTrafficFilterFactory_Vtbl { } #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnAppId(::windows_core::IUnknown); impl VpnAppId { pub fn Type(&self) -> ::windows_core::Result { @@ -2008,25 +1664,9 @@ impl VpnAppId { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnAppId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnAppId {} -impl ::core::fmt::Debug for VpnAppId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnAppId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnAppId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnAppId;{7b06a635-5c58-41d9-94a7-bfbcf1d8ca54})"); } -impl ::core::clone::Clone for VpnAppId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnAppId { type Vtable = IVpnAppId_Vtbl; } @@ -2041,6 +1681,7 @@ unsafe impl ::core::marker::Send for VpnAppId {} unsafe impl ::core::marker::Sync for VpnAppId {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnChannel(::windows_core::IUnknown); impl VpnChannel { pub fn AssociateTransport(&self, mainoutertunneltransport: P0, optionaloutertunneltransport: P1) -> ::windows_core::Result<()> @@ -2389,25 +2030,9 @@ impl VpnChannel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnChannel {} -impl ::core::fmt::Debug for VpnChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannel;{4ac78d07-d1a8-4303-a091-c8d2e0915bc3})"); } -impl ::core::clone::Clone for VpnChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnChannel { type Vtable = IVpnChannel_Vtbl; } @@ -2422,6 +2047,7 @@ unsafe impl ::core::marker::Send for VpnChannel {} unsafe impl ::core::marker::Sync for VpnChannel {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnChannelActivityEventArgs(::windows_core::IUnknown); impl VpnChannelActivityEventArgs { pub fn Type(&self) -> ::windows_core::Result { @@ -2432,25 +2058,9 @@ impl VpnChannelActivityEventArgs { } } } -impl ::core::cmp::PartialEq for VpnChannelActivityEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnChannelActivityEventArgs {} -impl ::core::fmt::Debug for VpnChannelActivityEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnChannelActivityEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnChannelActivityEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityEventArgs;{a36c88f2-afdc-4775-855d-d4ac0a35fc55})"); } -impl ::core::clone::Clone for VpnChannelActivityEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnChannelActivityEventArgs { type Vtable = IVpnChannelActivityEventArgs_Vtbl; } @@ -2465,6 +2075,7 @@ unsafe impl ::core::marker::Send for VpnChannelActivityEventArgs {} unsafe impl ::core::marker::Sync for VpnChannelActivityEventArgs {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnChannelActivityStateChangedArgs(::windows_core::IUnknown); impl VpnChannelActivityStateChangedArgs { pub fn ActivityState(&self) -> ::windows_core::Result { @@ -2475,25 +2086,9 @@ impl VpnChannelActivityStateChangedArgs { } } } -impl ::core::cmp::PartialEq for VpnChannelActivityStateChangedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnChannelActivityStateChangedArgs {} -impl ::core::fmt::Debug for VpnChannelActivityStateChangedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnChannelActivityStateChangedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnChannelActivityStateChangedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelActivityStateChangedArgs;{3d750565-fdc0-4bbe-a23b-45fffc6d97a1})"); } -impl ::core::clone::Clone for VpnChannelActivityStateChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnChannelActivityStateChangedArgs { type Vtable = IVpnChannelActivityStateChangedArgs_Vtbl; } @@ -2508,6 +2103,7 @@ unsafe impl ::core::marker::Send for VpnChannelActivityStateChangedArgs {} unsafe impl ::core::marker::Sync for VpnChannelActivityStateChangedArgs {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnChannelConfiguration(::windows_core::IUnknown); impl VpnChannelConfiguration { pub fn ServerServiceName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2543,25 +2139,9 @@ impl VpnChannelConfiguration { } } } -impl ::core::cmp::PartialEq for VpnChannelConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnChannelConfiguration {} -impl ::core::fmt::Debug for VpnChannelConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnChannelConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnChannelConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnChannelConfiguration;{0e2ddca2-2012-4fe4-b179-8c652c6d107e})"); } -impl ::core::clone::Clone for VpnChannelConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnChannelConfiguration { type Vtable = IVpnChannelConfiguration_Vtbl; } @@ -2576,6 +2156,7 @@ unsafe impl ::core::marker::Send for VpnChannelConfiguration {} unsafe impl ::core::marker::Sync for VpnChannelConfiguration {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCredential(::windows_core::IUnknown); impl VpnCredential { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -2613,25 +2194,9 @@ impl VpnCredential { } } } -impl ::core::cmp::PartialEq for VpnCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCredential {} -impl ::core::fmt::Debug for VpnCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCredential").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCredential { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCredential;{b7e78af3-a46d-404b-8729-1832522853ac})"); } -impl ::core::clone::Clone for VpnCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCredential { type Vtable = IVpnCredential_Vtbl; } @@ -2647,6 +2212,7 @@ unsafe impl ::core::marker::Send for VpnCredential {} unsafe impl ::core::marker::Sync for VpnCredential {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomCheckBox(::windows_core::IUnknown); impl VpnCustomCheckBox { pub fn new() -> ::windows_core::Result { @@ -2708,25 +2274,9 @@ impl VpnCustomCheckBox { } } } -impl ::core::cmp::PartialEq for VpnCustomCheckBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomCheckBox {} -impl ::core::fmt::Debug for VpnCustomCheckBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomCheckBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomCheckBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomCheckBox;{43878753-03c5-4e61-93d7-a957714c4282})"); } -impl ::core::clone::Clone for VpnCustomCheckBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomCheckBox { type Vtable = IVpnCustomCheckBox_Vtbl; } @@ -2742,6 +2292,7 @@ unsafe impl ::core::marker::Send for VpnCustomCheckBox {} unsafe impl ::core::marker::Sync for VpnCustomCheckBox {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomComboBox(::windows_core::IUnknown); impl VpnCustomComboBox { pub fn new() -> ::windows_core::Result { @@ -2810,25 +2361,9 @@ impl VpnCustomComboBox { } } } -impl ::core::cmp::PartialEq for VpnCustomComboBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomComboBox {} -impl ::core::fmt::Debug for VpnCustomComboBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomComboBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomComboBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomComboBox;{9a24158e-dba1-4c6f-8270-dcf3c9761c4c})"); } -impl ::core::clone::Clone for VpnCustomComboBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomComboBox { type Vtable = IVpnCustomComboBox_Vtbl; } @@ -2844,6 +2379,7 @@ unsafe impl ::core::marker::Send for VpnCustomComboBox {} unsafe impl ::core::marker::Sync for VpnCustomComboBox {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomEditBox(::windows_core::IUnknown); impl VpnCustomEditBox { pub fn new() -> ::windows_core::Result { @@ -2916,25 +2452,9 @@ impl VpnCustomEditBox { } } } -impl ::core::cmp::PartialEq for VpnCustomEditBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomEditBox {} -impl ::core::fmt::Debug for VpnCustomEditBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomEditBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomEditBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomEditBox;{3002d9a0-cfbf-4c0b-8f3c-66f503c20b39})"); } -impl ::core::clone::Clone for VpnCustomEditBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomEditBox { type Vtable = IVpnCustomEditBox_Vtbl; } @@ -2950,6 +2470,7 @@ unsafe impl ::core::marker::Send for VpnCustomEditBox {} unsafe impl ::core::marker::Sync for VpnCustomEditBox {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomErrorBox(::windows_core::IUnknown); impl VpnCustomErrorBox { pub fn new() -> ::windows_core::Result { @@ -2993,25 +2514,9 @@ impl VpnCustomErrorBox { } } } -impl ::core::cmp::PartialEq for VpnCustomErrorBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomErrorBox {} -impl ::core::fmt::Debug for VpnCustomErrorBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomErrorBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomErrorBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomErrorBox;{9ec4efb2-c942-42af-b223-588b48328721})"); } -impl ::core::clone::Clone for VpnCustomErrorBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomErrorBox { type Vtable = IVpnCustomErrorBox_Vtbl; } @@ -3027,6 +2532,7 @@ unsafe impl ::core::marker::Send for VpnCustomErrorBox {} unsafe impl ::core::marker::Sync for VpnCustomErrorBox {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomPromptBooleanInput(::windows_core::IUnknown); impl VpnCustomPromptBooleanInput { pub fn new() -> ::windows_core::Result { @@ -3088,25 +2594,9 @@ impl VpnCustomPromptBooleanInput { } } } -impl ::core::cmp::PartialEq for VpnCustomPromptBooleanInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomPromptBooleanInput {} -impl ::core::fmt::Debug for VpnCustomPromptBooleanInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomPromptBooleanInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomPromptBooleanInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptBooleanInput;{c4c9a69e-ff47-4527-9f27-a49292019979})"); } -impl ::core::clone::Clone for VpnCustomPromptBooleanInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomPromptBooleanInput { type Vtable = IVpnCustomPromptBooleanInput_Vtbl; } @@ -3122,6 +2612,7 @@ unsafe impl ::core::marker::Send for VpnCustomPromptBooleanInput {} unsafe impl ::core::marker::Sync for VpnCustomPromptBooleanInput {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomPromptOptionSelector(::windows_core::IUnknown); impl VpnCustomPromptOptionSelector { pub fn new() -> ::windows_core::Result { @@ -3181,25 +2672,9 @@ impl VpnCustomPromptOptionSelector { } } } -impl ::core::cmp::PartialEq for VpnCustomPromptOptionSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomPromptOptionSelector {} -impl ::core::fmt::Debug for VpnCustomPromptOptionSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomPromptOptionSelector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomPromptOptionSelector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptOptionSelector;{3b8f34d9-8ec1-4e95-9a4e-7ba64d38f330})"); } -impl ::core::clone::Clone for VpnCustomPromptOptionSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomPromptOptionSelector { type Vtable = IVpnCustomPromptOptionSelector_Vtbl; } @@ -3215,6 +2690,7 @@ unsafe impl ::core::marker::Send for VpnCustomPromptOptionSelector {} unsafe impl ::core::marker::Sync for VpnCustomPromptOptionSelector {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomPromptText(::windows_core::IUnknown); impl VpnCustomPromptText { pub fn new() -> ::windows_core::Result { @@ -3269,25 +2745,9 @@ impl VpnCustomPromptText { } } } -impl ::core::cmp::PartialEq for VpnCustomPromptText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomPromptText {} -impl ::core::fmt::Debug for VpnCustomPromptText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomPromptText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomPromptText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptText;{3bc8bdee-3a42-49a3-abdd-07b2edea752d})"); } -impl ::core::clone::Clone for VpnCustomPromptText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomPromptText { type Vtable = IVpnCustomPromptText_Vtbl; } @@ -3303,6 +2763,7 @@ unsafe impl ::core::marker::Send for VpnCustomPromptText {} unsafe impl ::core::marker::Sync for VpnCustomPromptText {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomPromptTextInput(::windows_core::IUnknown); impl VpnCustomPromptTextInput { pub fn new() -> ::windows_core::Result { @@ -3375,25 +2836,9 @@ impl VpnCustomPromptTextInput { } } } -impl ::core::cmp::PartialEq for VpnCustomPromptTextInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomPromptTextInput {} -impl ::core::fmt::Debug for VpnCustomPromptTextInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomPromptTextInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomPromptTextInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomPromptTextInput;{c9da9c75-913c-47d5-88ba-48fc48930235})"); } -impl ::core::clone::Clone for VpnCustomPromptTextInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomPromptTextInput { type Vtable = IVpnCustomPromptTextInput_Vtbl; } @@ -3409,6 +2854,7 @@ unsafe impl ::core::marker::Send for VpnCustomPromptTextInput {} unsafe impl ::core::marker::Sync for VpnCustomPromptTextInput {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnCustomTextBox(::windows_core::IUnknown); impl VpnCustomTextBox { pub fn new() -> ::windows_core::Result { @@ -3463,25 +2909,9 @@ impl VpnCustomTextBox { } } } -impl ::core::cmp::PartialEq for VpnCustomTextBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnCustomTextBox {} -impl ::core::fmt::Debug for VpnCustomTextBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnCustomTextBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnCustomTextBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnCustomTextBox;{daa4c3ca-8f23-4d36-91f1-76d937827942})"); } -impl ::core::clone::Clone for VpnCustomTextBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnCustomTextBox { type Vtable = IVpnCustomTextBox_Vtbl; } @@ -3497,6 +2927,7 @@ unsafe impl ::core::marker::Send for VpnCustomTextBox {} unsafe impl ::core::marker::Sync for VpnCustomTextBox {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnDomainNameAssignment(::windows_core::IUnknown); impl VpnDomainNameAssignment { pub fn new() -> ::windows_core::Result { @@ -3534,25 +2965,9 @@ impl VpnDomainNameAssignment { } } } -impl ::core::cmp::PartialEq for VpnDomainNameAssignment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnDomainNameAssignment {} -impl ::core::fmt::Debug for VpnDomainNameAssignment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnDomainNameAssignment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnDomainNameAssignment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameAssignment;{4135b141-ccdb-49b5-9401-039a8ae767e9})"); } -impl ::core::clone::Clone for VpnDomainNameAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnDomainNameAssignment { type Vtable = IVpnDomainNameAssignment_Vtbl; } @@ -3567,6 +2982,7 @@ unsafe impl ::core::marker::Send for VpnDomainNameAssignment {} unsafe impl ::core::marker::Sync for VpnDomainNameAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnDomainNameInfo(::windows_core::IUnknown); impl VpnDomainNameInfo { pub fn SetDomainName(&self, value: P0) -> ::windows_core::Result<()> @@ -3639,25 +3055,9 @@ impl VpnDomainNameInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnDomainNameInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnDomainNameInfo {} -impl ::core::fmt::Debug for VpnDomainNameInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnDomainNameInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnDomainNameInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnDomainNameInfo;{ad2eb82f-ea8e-4f7a-843e-1a87e32e1b9a})"); } -impl ::core::clone::Clone for VpnDomainNameInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnDomainNameInfo { type Vtable = IVpnDomainNameInfo_Vtbl; } @@ -3672,6 +3072,7 @@ unsafe impl ::core::marker::Send for VpnDomainNameInfo {} unsafe impl ::core::marker::Sync for VpnDomainNameInfo {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnForegroundActivatedEventArgs(::windows_core::IUnknown); impl VpnForegroundActivatedEventArgs { #[doc = "*Required features: `\"ApplicationModel_Activation\"`*"] @@ -3734,25 +3135,9 @@ impl VpnForegroundActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for VpnForegroundActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnForegroundActivatedEventArgs {} -impl ::core::fmt::Debug for VpnForegroundActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnForegroundActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnForegroundActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivatedEventArgs;{85b465b0-cadb-4d70-ac92-543a24dc9ebc})"); } -impl ::core::clone::Clone for VpnForegroundActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnForegroundActivatedEventArgs { type Vtable = IVpnForegroundActivatedEventArgs_Vtbl; } @@ -3771,6 +3156,7 @@ unsafe impl ::core::marker::Send for VpnForegroundActivatedEventArgs {} unsafe impl ::core::marker::Sync for VpnForegroundActivatedEventArgs {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnForegroundActivationOperation(::windows_core::IUnknown); impl VpnForegroundActivationOperation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3783,25 +3169,9 @@ impl VpnForegroundActivationOperation { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this), result.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for VpnForegroundActivationOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnForegroundActivationOperation {} -impl ::core::fmt::Debug for VpnForegroundActivationOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnForegroundActivationOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnForegroundActivationOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnForegroundActivationOperation;{9e010d57-f17a-4bd5-9b6d-f984f1297d3c})"); } -impl ::core::clone::Clone for VpnForegroundActivationOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnForegroundActivationOperation { type Vtable = IVpnForegroundActivationOperation_Vtbl; } @@ -3816,6 +3186,7 @@ unsafe impl ::core::marker::Send for VpnForegroundActivationOperation {} unsafe impl ::core::marker::Sync for VpnForegroundActivationOperation {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnInterfaceId(::windows_core::IUnknown); impl VpnInterfaceId { pub fn GetAddressInfo(&self, id: &mut ::windows_core::Array) -> ::windows_core::Result<()> { @@ -3834,25 +3205,9 @@ impl VpnInterfaceId { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnInterfaceId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnInterfaceId {} -impl ::core::fmt::Debug for VpnInterfaceId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnInterfaceId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnInterfaceId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnInterfaceId;{9e2ddca2-1712-4ce4-b179-8c652c6d1011})"); } -impl ::core::clone::Clone for VpnInterfaceId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnInterfaceId { type Vtable = IVpnInterfaceId_Vtbl; } @@ -3867,6 +3222,7 @@ unsafe impl ::core::marker::Send for VpnInterfaceId {} unsafe impl ::core::marker::Sync for VpnInterfaceId {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnManagementAgent(::windows_core::IUnknown); impl VpnManagementAgent { pub fn new() -> ::windows_core::Result { @@ -3977,25 +3333,9 @@ impl VpnManagementAgent { } } } -impl ::core::cmp::PartialEq for VpnManagementAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnManagementAgent {} -impl ::core::fmt::Debug for VpnManagementAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnManagementAgent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnManagementAgent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnManagementAgent;{193696cd-a5c4-4abe-852b-785be4cb3e34})"); } -impl ::core::clone::Clone for VpnManagementAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnManagementAgent { type Vtable = IVpnManagementAgent_Vtbl; } @@ -4010,6 +3350,7 @@ unsafe impl ::core::marker::Send for VpnManagementAgent {} unsafe impl ::core::marker::Sync for VpnManagementAgent {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnNamespaceAssignment(::windows_core::IUnknown); impl VpnNamespaceAssignment { pub fn new() -> ::windows_core::Result { @@ -4056,25 +3397,9 @@ impl VpnNamespaceAssignment { } } } -impl ::core::cmp::PartialEq for VpnNamespaceAssignment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnNamespaceAssignment {} -impl ::core::fmt::Debug for VpnNamespaceAssignment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnNamespaceAssignment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnNamespaceAssignment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceAssignment;{d7f7db18-307d-4c0e-bd62-8fa270bbadd6})"); } -impl ::core::clone::Clone for VpnNamespaceAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnNamespaceAssignment { type Vtable = IVpnNamespaceAssignment_Vtbl; } @@ -4089,6 +3414,7 @@ unsafe impl ::core::marker::Send for VpnNamespaceAssignment {} unsafe impl ::core::marker::Sync for VpnNamespaceAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnNamespaceInfo(::windows_core::IUnknown); impl VpnNamespaceInfo { pub fn SetNamespace(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -4156,25 +3482,9 @@ impl VpnNamespaceInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnNamespaceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnNamespaceInfo {} -impl ::core::fmt::Debug for VpnNamespaceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnNamespaceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnNamespaceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNamespaceInfo;{30edfb43-444f-44c5-8167-a35a91f1af94})"); } -impl ::core::clone::Clone for VpnNamespaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnNamespaceInfo { type Vtable = IVpnNamespaceInfo_Vtbl; } @@ -4189,6 +3499,7 @@ unsafe impl ::core::marker::Send for VpnNamespaceInfo {} unsafe impl ::core::marker::Sync for VpnNamespaceInfo {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnNativeProfile(::windows_core::IUnknown); impl VpnNativeProfile { pub fn new() -> ::windows_core::Result { @@ -4350,25 +3661,9 @@ impl VpnNativeProfile { unsafe { (::windows_core::Interface::vtable(this).SetAlwaysOn)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VpnNativeProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnNativeProfile {} -impl ::core::fmt::Debug for VpnNativeProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnNativeProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnNativeProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnNativeProfile;{a4aee29e-6417-4333-9842-f0a66db69802})"); } -impl ::core::clone::Clone for VpnNativeProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnNativeProfile { type Vtable = IVpnNativeProfile_Vtbl; } @@ -4384,6 +3679,7 @@ unsafe impl ::core::marker::Send for VpnNativeProfile {} unsafe impl ::core::marker::Sync for VpnNativeProfile {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnPacketBuffer(::windows_core::IUnknown); impl VpnPacketBuffer { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -4453,25 +3749,9 @@ impl VpnPacketBuffer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnPacketBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnPacketBuffer {} -impl ::core::fmt::Debug for VpnPacketBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnPacketBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnPacketBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBuffer;{c2f891fc-4d5c-4a63-b70d-4e307eacce55})"); } -impl ::core::clone::Clone for VpnPacketBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnPacketBuffer { type Vtable = IVpnPacketBuffer_Vtbl; } @@ -4486,6 +3766,7 @@ unsafe impl ::core::marker::Send for VpnPacketBuffer {} unsafe impl ::core::marker::Sync for VpnPacketBuffer {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnPacketBufferList(::windows_core::IUnknown); impl VpnPacketBufferList { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4548,25 +3829,9 @@ impl VpnPacketBufferList { } } } -impl ::core::cmp::PartialEq for VpnPacketBufferList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnPacketBufferList {} -impl ::core::fmt::Debug for VpnPacketBufferList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnPacketBufferList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnPacketBufferList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPacketBufferList;{c2f891fc-4d5c-4a63-b70d-4e307eacce77})"); } -impl ::core::clone::Clone for VpnPacketBufferList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnPacketBufferList { type Vtable = IVpnPacketBufferList_Vtbl; } @@ -4599,6 +3864,7 @@ unsafe impl ::core::marker::Send for VpnPacketBufferList {} unsafe impl ::core::marker::Sync for VpnPacketBufferList {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnPickedCredential(::windows_core::IUnknown); impl VpnPickedCredential { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -4627,25 +3893,9 @@ impl VpnPickedCredential { } } } -impl ::core::cmp::PartialEq for VpnPickedCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnPickedCredential {} -impl ::core::fmt::Debug for VpnPickedCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnPickedCredential").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnPickedCredential { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPickedCredential;{9a793ac7-8854-4e52-ad97-24dd9a842bce})"); } -impl ::core::clone::Clone for VpnPickedCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnPickedCredential { type Vtable = IVpnPickedCredential_Vtbl; } @@ -4660,6 +3910,7 @@ unsafe impl ::core::marker::Send for VpnPickedCredential {} unsafe impl ::core::marker::Sync for VpnPickedCredential {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnPlugInProfile(::windows_core::IUnknown); impl VpnPlugInProfile { pub fn new() -> ::windows_core::Result { @@ -4788,25 +4039,9 @@ impl VpnPlugInProfile { unsafe { (::windows_core::Interface::vtable(this).SetAlwaysOn)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VpnPlugInProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnPlugInProfile {} -impl ::core::fmt::Debug for VpnPlugInProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnPlugInProfile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnPlugInProfile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnPlugInProfile;{0edf0da4-4f00-4589-8d7b-4bf988f6542c})"); } -impl ::core::clone::Clone for VpnPlugInProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnPlugInProfile { type Vtable = IVpnPlugInProfile_Vtbl; } @@ -4822,6 +4057,7 @@ unsafe impl ::core::marker::Send for VpnPlugInProfile {} unsafe impl ::core::marker::Sync for VpnPlugInProfile {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnRoute(::windows_core::IUnknown); impl VpnRoute { pub fn SetAddress(&self, value: P0) -> ::windows_core::Result<()> @@ -4864,25 +4100,9 @@ impl VpnRoute { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnRoute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnRoute {} -impl ::core::fmt::Debug for VpnRoute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnRoute").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnRoute { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRoute;{b5731b83-0969-4699-938e-7776db29cfb3})"); } -impl ::core::clone::Clone for VpnRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnRoute { type Vtable = IVpnRoute_Vtbl; } @@ -4897,6 +4117,7 @@ unsafe impl ::core::marker::Send for VpnRoute {} unsafe impl ::core::marker::Sync for VpnRoute {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnRouteAssignment(::windows_core::IUnknown); impl VpnRouteAssignment { pub fn new() -> ::windows_core::Result { @@ -4990,25 +4211,9 @@ impl VpnRouteAssignment { } } } -impl ::core::cmp::PartialEq for VpnRouteAssignment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnRouteAssignment {} -impl ::core::fmt::Debug for VpnRouteAssignment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnRouteAssignment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnRouteAssignment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnRouteAssignment;{db64de22-ce39-4a76-9550-f61039f80e48})"); } -impl ::core::clone::Clone for VpnRouteAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnRouteAssignment { type Vtable = IVpnRouteAssignment_Vtbl; } @@ -5023,6 +4228,7 @@ unsafe impl ::core::marker::Send for VpnRouteAssignment {} unsafe impl ::core::marker::Sync for VpnRouteAssignment {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnSystemHealth(::windows_core::IUnknown); impl VpnSystemHealth { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -5035,25 +4241,9 @@ impl VpnSystemHealth { } } } -impl ::core::cmp::PartialEq for VpnSystemHealth { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnSystemHealth {} -impl ::core::fmt::Debug for VpnSystemHealth { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnSystemHealth").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnSystemHealth { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnSystemHealth;{99a8f8af-c0ee-4e75-817a-f231aee5123d})"); } -impl ::core::clone::Clone for VpnSystemHealth { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnSystemHealth { type Vtable = IVpnSystemHealth_Vtbl; } @@ -5068,6 +4258,7 @@ unsafe impl ::core::marker::Send for VpnSystemHealth {} unsafe impl ::core::marker::Sync for VpnSystemHealth {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnTrafficFilter(::windows_core::IUnknown); impl VpnTrafficFilter { pub fn AppId(&self) -> ::windows_core::Result { @@ -5166,25 +4357,9 @@ impl VpnTrafficFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VpnTrafficFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnTrafficFilter {} -impl ::core::fmt::Debug for VpnTrafficFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnTrafficFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnTrafficFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilter;{2f691b60-6c9f-47f5-ac36-bb1b042e2c50})"); } -impl ::core::clone::Clone for VpnTrafficFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnTrafficFilter { type Vtable = IVpnTrafficFilter_Vtbl; } @@ -5199,6 +4374,7 @@ unsafe impl ::core::marker::Send for VpnTrafficFilter {} unsafe impl ::core::marker::Sync for VpnTrafficFilter {} #[doc = "*Required features: `\"Networking_Vpn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VpnTrafficFilterAssignment(::windows_core::IUnknown); impl VpnTrafficFilterAssignment { pub fn new() -> ::windows_core::Result { @@ -5240,25 +4416,9 @@ impl VpnTrafficFilterAssignment { unsafe { (::windows_core::Interface::vtable(this).SetAllowInbound)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for VpnTrafficFilterAssignment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VpnTrafficFilterAssignment {} -impl ::core::fmt::Debug for VpnTrafficFilterAssignment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VpnTrafficFilterAssignment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VpnTrafficFilterAssignment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.Vpn.VpnTrafficFilterAssignment;{56ccd45c-e664-471e-89cd-601603b9e0f3})"); } -impl ::core::clone::Clone for VpnTrafficFilterAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VpnTrafficFilterAssignment { type Vtable = IVpnTrafficFilterAssignment_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 726d06b168..4f9a92957b 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveDeviceAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveDeviceAddress { type Vtable = IXboxLiveDeviceAddress_Vtbl; } -impl ::core::clone::Clone for IXboxLiveDeviceAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveDeviceAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5bbd279_3c86_4b57_a31a_b9462408fd01); } @@ -37,15 +33,11 @@ pub struct IXboxLiveDeviceAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveDeviceAddressStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveDeviceAddressStatics { type Vtable = IXboxLiveDeviceAddressStatics_Vtbl; } -impl ::core::clone::Clone for IXboxLiveDeviceAddressStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveDeviceAddressStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5954a819_4a79_4931_827c_7f503e963263); } @@ -64,15 +56,11 @@ pub struct IXboxLiveDeviceAddressStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPair(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPair { type Vtable = IXboxLiveEndpointPair_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPair { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e9a839b_813e_44e0_b87f_c87a093475e4); } @@ -104,15 +92,11 @@ pub struct IXboxLiveEndpointPair_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPairCreationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPairCreationResult { type Vtable = IXboxLiveEndpointPairCreationResult_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPairCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPairCreationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9a8bb95_2aab_4d1e_9794_33ecc0dcf0fe); } @@ -127,15 +111,11 @@ pub struct IXboxLiveEndpointPairCreationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPairStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPairStateChangedEventArgs { type Vtable = IXboxLiveEndpointPairStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPairStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPairStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x592e3b55_de08_44e7_ac3b_b9b9a169583a); } @@ -148,15 +128,11 @@ pub struct IXboxLiveEndpointPairStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPairStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPairStatics { type Vtable = IXboxLiveEndpointPairStatics_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPairStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPairStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64316b30_217a_4243_8ee1_6729281d27db); } @@ -169,15 +145,11 @@ pub struct IXboxLiveEndpointPairStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPairTemplate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPairTemplate { type Vtable = IXboxLiveEndpointPairTemplate_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPairTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPairTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b286ecf_3457_40ce_b9a1_c0cfe0213ea7); } @@ -222,15 +194,11 @@ pub struct IXboxLiveEndpointPairTemplate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveEndpointPairTemplateStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveEndpointPairTemplateStatics { type Vtable = IXboxLiveEndpointPairTemplateStatics_Vtbl; } -impl ::core::clone::Clone for IXboxLiveEndpointPairTemplateStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveEndpointPairTemplateStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e13137b_737b_4a23_bc64_0870f75655ba); } @@ -246,15 +214,11 @@ pub struct IXboxLiveEndpointPairTemplateStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveInboundEndpointPairCreatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveInboundEndpointPairCreatedEventArgs { type Vtable = IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IXboxLiveInboundEndpointPairCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveInboundEndpointPairCreatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc183b62_22ba_48d2_80de_c23968bd198b); } @@ -266,15 +230,11 @@ pub struct IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveQualityOfServiceMeasurement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveQualityOfServiceMeasurement { type Vtable = IXboxLiveQualityOfServiceMeasurement_Vtbl; } -impl ::core::clone::Clone for IXboxLiveQualityOfServiceMeasurement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveQualityOfServiceMeasurement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d682bce_a5d6_47e6_a236_cfde5fbdf2ed); } @@ -322,15 +282,11 @@ pub struct IXboxLiveQualityOfServiceMeasurement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveQualityOfServiceMeasurementStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveQualityOfServiceMeasurementStatics { type Vtable = IXboxLiveQualityOfServiceMeasurementStatics_Vtbl; } -impl ::core::clone::Clone for IXboxLiveQualityOfServiceMeasurementStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveQualityOfServiceMeasurementStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e352dca_23cf_440a_b077_5e30857a8234); } @@ -358,15 +314,11 @@ pub struct IXboxLiveQualityOfServiceMeasurementStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveQualityOfServiceMetricResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveQualityOfServiceMetricResult { type Vtable = IXboxLiveQualityOfServiceMetricResult_Vtbl; } -impl ::core::clone::Clone for IXboxLiveQualityOfServiceMetricResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveQualityOfServiceMetricResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeec53d1_3561_4782_b0cf_d3ae29d9fa87); } @@ -381,15 +333,11 @@ pub struct IXboxLiveQualityOfServiceMetricResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXboxLiveQualityOfServicePrivatePayloadResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IXboxLiveQualityOfServicePrivatePayloadResult { type Vtable = IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl; } -impl ::core::clone::Clone for IXboxLiveQualityOfServicePrivatePayloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXboxLiveQualityOfServicePrivatePayloadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a6302ae_6f38_41c0_9fcc_ea6cb978cafc); } @@ -406,6 +354,7 @@ pub struct IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl { } #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveDeviceAddress(::windows_core::IUnknown); impl XboxLiveDeviceAddress { #[doc = "*Required features: `\"Foundation\"`*"] @@ -518,25 +467,9 @@ impl XboxLiveDeviceAddress { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XboxLiveDeviceAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveDeviceAddress {} -impl ::core::fmt::Debug for XboxLiveDeviceAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveDeviceAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveDeviceAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveDeviceAddress;{f5bbd279-3c86-4b57-a31a-b9462408fd01})"); } -impl ::core::clone::Clone for XboxLiveDeviceAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveDeviceAddress { type Vtable = IXboxLiveDeviceAddress_Vtbl; } @@ -551,6 +484,7 @@ unsafe impl ::core::marker::Send for XboxLiveDeviceAddress {} unsafe impl ::core::marker::Sync for XboxLiveDeviceAddress {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveEndpointPair(::windows_core::IUnknown); impl XboxLiveEndpointPair { #[doc = "*Required features: `\"Foundation\"`*"] @@ -659,25 +593,9 @@ impl XboxLiveEndpointPair { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XboxLiveEndpointPair { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveEndpointPair {} -impl ::core::fmt::Debug for XboxLiveEndpointPair { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveEndpointPair").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveEndpointPair { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPair;{1e9a839b-813e-44e0-b87f-c87a093475e4})"); } -impl ::core::clone::Clone for XboxLiveEndpointPair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveEndpointPair { type Vtable = IXboxLiveEndpointPair_Vtbl; } @@ -692,6 +610,7 @@ unsafe impl ::core::marker::Send for XboxLiveEndpointPair {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPair {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveEndpointPairCreationResult(::windows_core::IUnknown); impl XboxLiveEndpointPairCreationResult { pub fn DeviceAddress(&self) -> ::windows_core::Result { @@ -723,25 +642,9 @@ impl XboxLiveEndpointPairCreationResult { } } } -impl ::core::cmp::PartialEq for XboxLiveEndpointPairCreationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveEndpointPairCreationResult {} -impl ::core::fmt::Debug for XboxLiveEndpointPairCreationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveEndpointPairCreationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveEndpointPairCreationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult;{d9a8bb95-2aab-4d1e-9794-33ecc0dcf0fe})"); } -impl ::core::clone::Clone for XboxLiveEndpointPairCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveEndpointPairCreationResult { type Vtable = IXboxLiveEndpointPairCreationResult_Vtbl; } @@ -756,6 +659,7 @@ unsafe impl ::core::marker::Send for XboxLiveEndpointPairCreationResult {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPairCreationResult {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveEndpointPairStateChangedEventArgs(::windows_core::IUnknown); impl XboxLiveEndpointPairStateChangedEventArgs { pub fn OldState(&self) -> ::windows_core::Result { @@ -773,25 +677,9 @@ impl XboxLiveEndpointPairStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for XboxLiveEndpointPairStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveEndpointPairStateChangedEventArgs {} -impl ::core::fmt::Debug for XboxLiveEndpointPairStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveEndpointPairStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveEndpointPairStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs;{592e3b55-de08-44e7-ac3b-b9b9a169583a})"); } -impl ::core::clone::Clone for XboxLiveEndpointPairStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveEndpointPairStateChangedEventArgs { type Vtable = IXboxLiveEndpointPairStateChangedEventArgs_Vtbl; } @@ -806,6 +694,7 @@ unsafe impl ::core::marker::Send for XboxLiveEndpointPairStateChangedEventArgs { unsafe impl ::core::marker::Sync for XboxLiveEndpointPairStateChangedEventArgs {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveEndpointPairTemplate(::windows_core::IUnknown); impl XboxLiveEndpointPairTemplate { #[doc = "*Required features: `\"Foundation\"`*"] @@ -945,25 +834,9 @@ impl XboxLiveEndpointPairTemplate { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XboxLiveEndpointPairTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveEndpointPairTemplate {} -impl ::core::fmt::Debug for XboxLiveEndpointPairTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveEndpointPairTemplate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveEndpointPairTemplate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate;{6b286ecf-3457-40ce-b9a1-c0cfe0213ea7})"); } -impl ::core::clone::Clone for XboxLiveEndpointPairTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveEndpointPairTemplate { type Vtable = IXboxLiveEndpointPairTemplate_Vtbl; } @@ -978,6 +851,7 @@ unsafe impl ::core::marker::Send for XboxLiveEndpointPairTemplate {} unsafe impl ::core::marker::Sync for XboxLiveEndpointPairTemplate {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveInboundEndpointPairCreatedEventArgs(::windows_core::IUnknown); impl XboxLiveInboundEndpointPairCreatedEventArgs { pub fn EndpointPair(&self) -> ::windows_core::Result { @@ -988,25 +862,9 @@ impl XboxLiveInboundEndpointPairCreatedEventArgs { } } } -impl ::core::cmp::PartialEq for XboxLiveInboundEndpointPairCreatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveInboundEndpointPairCreatedEventArgs {} -impl ::core::fmt::Debug for XboxLiveInboundEndpointPairCreatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveInboundEndpointPairCreatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveInboundEndpointPairCreatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs;{dc183b62-22ba-48d2-80de-c23968bd198b})"); } -impl ::core::clone::Clone for XboxLiveInboundEndpointPairCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveInboundEndpointPairCreatedEventArgs { type Vtable = IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl; } @@ -1021,6 +879,7 @@ unsafe impl ::core::marker::Send for XboxLiveInboundEndpointPairCreatedEventArgs unsafe impl ::core::marker::Sync for XboxLiveInboundEndpointPairCreatedEventArgs {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveQualityOfServiceMeasurement(::windows_core::IUnknown); impl XboxLiveQualityOfServiceMeasurement { pub fn new() -> ::windows_core::Result { @@ -1217,25 +1076,9 @@ impl XboxLiveQualityOfServiceMeasurement { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for XboxLiveQualityOfServiceMeasurement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveQualityOfServiceMeasurement {} -impl ::core::fmt::Debug for XboxLiveQualityOfServiceMeasurement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveQualityOfServiceMeasurement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveQualityOfServiceMeasurement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement;{4d682bce-a5d6-47e6-a236-cfde5fbdf2ed})"); } -impl ::core::clone::Clone for XboxLiveQualityOfServiceMeasurement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveQualityOfServiceMeasurement { type Vtable = IXboxLiveQualityOfServiceMeasurement_Vtbl; } @@ -1250,6 +1093,7 @@ unsafe impl ::core::marker::Send for XboxLiveQualityOfServiceMeasurement {} unsafe impl ::core::marker::Sync for XboxLiveQualityOfServiceMeasurement {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveQualityOfServiceMetricResult(::windows_core::IUnknown); impl XboxLiveQualityOfServiceMetricResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1281,25 +1125,9 @@ impl XboxLiveQualityOfServiceMetricResult { } } } -impl ::core::cmp::PartialEq for XboxLiveQualityOfServiceMetricResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveQualityOfServiceMetricResult {} -impl ::core::fmt::Debug for XboxLiveQualityOfServiceMetricResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveQualityOfServiceMetricResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveQualityOfServiceMetricResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult;{aeec53d1-3561-4782-b0cf-d3ae29d9fa87})"); } -impl ::core::clone::Clone for XboxLiveQualityOfServiceMetricResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveQualityOfServiceMetricResult { type Vtable = IXboxLiveQualityOfServiceMetricResult_Vtbl; } @@ -1314,6 +1142,7 @@ unsafe impl ::core::marker::Send for XboxLiveQualityOfServiceMetricResult {} unsafe impl ::core::marker::Sync for XboxLiveQualityOfServiceMetricResult {} #[doc = "*Required features: `\"Networking_XboxLive\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XboxLiveQualityOfServicePrivatePayloadResult(::windows_core::IUnknown); impl XboxLiveQualityOfServicePrivatePayloadResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1340,25 +1169,9 @@ impl XboxLiveQualityOfServicePrivatePayloadResult { } } } -impl ::core::cmp::PartialEq for XboxLiveQualityOfServicePrivatePayloadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for XboxLiveQualityOfServicePrivatePayloadResult {} -impl ::core::fmt::Debug for XboxLiveQualityOfServicePrivatePayloadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XboxLiveQualityOfServicePrivatePayloadResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for XboxLiveQualityOfServicePrivatePayloadResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult;{5a6302ae-6f38-41c0-9fcc-ea6cb978cafc})"); } -impl ::core::clone::Clone for XboxLiveQualityOfServicePrivatePayloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for XboxLiveQualityOfServicePrivatePayloadResult { type Vtable = IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index e13e3165bf..b8e9ed4de0 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -18,15 +18,11 @@ pub mod Vpn; pub mod XboxLive; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEndpointPair(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEndpointPair { type Vtable = IEndpointPair_Vtbl; } -impl ::core::clone::Clone for IEndpointPair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEndpointPair { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33a0aa36_f8fa_4b30_b856_76517c3bd06d); } @@ -45,15 +41,11 @@ pub struct IEndpointPair_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEndpointPairFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEndpointPairFactory { type Vtable = IEndpointPairFactory_Vtbl; } -impl ::core::clone::Clone for IEndpointPairFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEndpointPairFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb609d971_64e0_442b_aa6f_cc8c8f181f78); } @@ -65,15 +57,11 @@ pub struct IEndpointPairFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostName(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHostName { type Vtable = IHostName_Vtbl; } -impl ::core::clone::Clone for IHostName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf8ecaad_ed96_49a7_9084_d416cae88dcb); } @@ -93,15 +81,11 @@ pub struct IHostName_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostNameFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHostNameFactory { type Vtable = IHostNameFactory_Vtbl; } -impl ::core::clone::Clone for IHostNameFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostNameFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x458c23ed_712f_4576_adf1_c20b2c643558); } @@ -113,15 +97,11 @@ pub struct IHostNameFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostNameStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHostNameStatics { type Vtable = IHostNameStatics_Vtbl; } -impl ::core::clone::Clone for IHostNameStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostNameStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf68cd4bf_a388_4e8b_91ea_54dd6dd901c0); } @@ -133,6 +113,7 @@ pub struct IHostNameStatics_Vtbl { } #[doc = "*Required features: `\"Networking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EndpointPair(::windows_core::IUnknown); impl EndpointPair { pub fn LocalHostName(&self) -> ::windows_core::Result { @@ -201,25 +182,9 @@ impl EndpointPair { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EndpointPair { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EndpointPair {} -impl ::core::fmt::Debug for EndpointPair { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EndpointPair").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EndpointPair { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.EndpointPair;{33a0aa36-f8fa-4b30-b856-76517c3bd06d})"); } -impl ::core::clone::Clone for EndpointPair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EndpointPair { type Vtable = IEndpointPair_Vtbl; } @@ -234,6 +199,7 @@ unsafe impl ::core::marker::Send for EndpointPair {} unsafe impl ::core::marker::Sync for EndpointPair {} #[doc = "*Required features: `\"Networking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HostName(::windows_core::IUnknown); impl HostName { #[doc = "*Required features: `\"Networking_Connectivity\"`*"] @@ -315,25 +281,9 @@ impl HostName { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HostName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HostName {} -impl ::core::fmt::Debug for HostName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HostName").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HostName { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Networking.HostName;{bf8ecaad-ed96-49a7-9084-d416cae88dcb})"); } -impl ::core::clone::Clone for HostName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HostName { type Vtable = IHostName_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs index 5959b3cffc..4eefe1d8a4 100644 --- a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorePerceptionAutomationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICorePerceptionAutomationStatics { type Vtable = ICorePerceptionAutomationStatics_Vtbl; } -impl ::core::clone::Clone for ICorePerceptionAutomationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorePerceptionAutomationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bb04541_4ce2_4923_9a76_8187ecc59112); } diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index dec076811a..0f690d6590 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEyesPose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEyesPose { type Vtable = IEyesPose_Vtbl; } -impl ::core::clone::Clone for IEyesPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEyesPose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x682a9b23_8a1e_5b86_a060_906ffacb62a4); } @@ -25,15 +21,11 @@ pub struct IEyesPose_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEyesPoseStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEyesPoseStatics { type Vtable = IEyesPoseStatics_Vtbl; } -impl ::core::clone::Clone for IEyesPoseStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEyesPoseStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cff7413_b21f_54c0_80c1_e60d994ca58c); } @@ -49,15 +41,11 @@ pub struct IEyesPoseStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandMeshObserver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHandMeshObserver { type Vtable = IHandMeshObserver_Vtbl; } -impl ::core::clone::Clone for IHandMeshObserver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandMeshObserver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85ae30cb_6fc3_55c4_a7b4_29e33896ca69); } @@ -79,15 +67,11 @@ pub struct IHandMeshObserver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandMeshVertexState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHandMeshVertexState { type Vtable = IHandMeshVertexState_Vtbl; } -impl ::core::clone::Clone for IHandMeshVertexState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandMeshVertexState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x046c5fef_1d8b_55de_ab2c_1cd424886d8f); } @@ -107,15 +91,11 @@ pub struct IHandMeshVertexState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandPose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHandPose { type Vtable = IHandPose_Vtbl; } -impl ::core::clone::Clone for IHandPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandPose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d98e79a_bb08_5d09_91de_df0dd3fae46c); } @@ -142,15 +122,11 @@ pub struct IHandPose_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeadPose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHeadPose { type Vtable = IHeadPose_Vtbl; } -impl ::core::clone::Clone for IHeadPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHeadPose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f5ac5a5_49db_379f_9429_32a2faf34fa6); } @@ -173,6 +149,7 @@ pub struct IHeadPose_Vtbl { } #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EyesPose(::windows_core::IUnknown); impl EyesPose { pub fn IsCalibrationValid(&self) -> ::windows_core::Result { @@ -218,25 +195,9 @@ impl EyesPose { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EyesPose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EyesPose {} -impl ::core::fmt::Debug for EyesPose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EyesPose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EyesPose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.EyesPose;{682a9b23-8a1e-5b86-a060-906ffacb62a4})"); } -impl ::core::clone::Clone for EyesPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EyesPose { type Vtable = IEyesPose_Vtbl; } @@ -251,6 +212,7 @@ unsafe impl ::core::marker::Send for EyesPose {} unsafe impl ::core::marker::Sync for EyesPose {} #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HandMeshObserver(::windows_core::IUnknown); impl HandMeshObserver { #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] @@ -312,25 +274,9 @@ impl HandMeshObserver { } } } -impl ::core::cmp::PartialEq for HandMeshObserver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HandMeshObserver {} -impl ::core::fmt::Debug for HandMeshObserver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HandMeshObserver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HandMeshObserver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshObserver;{85ae30cb-6fc3-55c4-a7b4-29e33896ca69})"); } -impl ::core::clone::Clone for HandMeshObserver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HandMeshObserver { type Vtable = IHandMeshObserver_Vtbl; } @@ -345,6 +291,7 @@ unsafe impl ::core::marker::Send for HandMeshObserver {} unsafe impl ::core::marker::Sync for HandMeshObserver {} #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HandMeshVertexState(::windows_core::IUnknown); impl HandMeshVertexState { #[doc = "*Required features: `\"Perception_Spatial\"`*"] @@ -370,25 +317,9 @@ impl HandMeshVertexState { } } } -impl ::core::cmp::PartialEq for HandMeshVertexState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HandMeshVertexState {} -impl ::core::fmt::Debug for HandMeshVertexState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HandMeshVertexState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HandMeshVertexState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandMeshVertexState;{046c5fef-1d8b-55de-ab2c-1cd424886d8f})"); } -impl ::core::clone::Clone for HandMeshVertexState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HandMeshVertexState { type Vtable = IHandMeshVertexState_Vtbl; } @@ -403,6 +334,7 @@ unsafe impl ::core::marker::Send for HandMeshVertexState {} unsafe impl ::core::marker::Sync for HandMeshVertexState {} #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HandPose(::windows_core::IUnknown); impl HandPose { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Perception_Spatial\"`*"] @@ -445,25 +377,9 @@ impl HandPose { unsafe { (::windows_core::Interface::vtable(this).GetRelativeJoints)(::windows_core::Interface::as_raw(this), joints.len() as u32, joints.as_ptr(), referencejoints.len() as u32, referencejoints.as_ptr(), jointposes.len() as u32, jointposes.as_mut_ptr()).ok() } } } -impl ::core::cmp::PartialEq for HandPose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HandPose {} -impl ::core::fmt::Debug for HandPose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HandPose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HandPose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HandPose;{4d98e79a-bb08-5d09-91de-df0dd3fae46c})"); } -impl ::core::clone::Clone for HandPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HandPose { type Vtable = IHandPose_Vtbl; } @@ -478,6 +394,7 @@ unsafe impl ::core::marker::Send for HandPose {} unsafe impl ::core::marker::Sync for HandPose {} #[doc = "*Required features: `\"Perception_People\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HeadPose(::windows_core::IUnknown); impl HeadPose { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -508,25 +425,9 @@ impl HeadPose { } } } -impl ::core::cmp::PartialEq for HeadPose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HeadPose {} -impl ::core::fmt::Debug for HeadPose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HeadPose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HeadPose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.People.HeadPose;{7f5ac5a5-49db-379f-9429-32a2faf34fa6})"); } -impl ::core::clone::Clone for HeadPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HeadPose { type Vtable = IHeadPose_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs index 23003b6536..1b49e6190b 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialGraphInteropFrameOfReferencePreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialGraphInteropFrameOfReferencePreview { type Vtable = ISpatialGraphInteropFrameOfReferencePreview_Vtbl; } -impl ::core::clone::Clone for ISpatialGraphInteropFrameOfReferencePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialGraphInteropFrameOfReferencePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8271b23_735f_5729_a98e_e64ed189abc5); } @@ -25,15 +21,11 @@ pub struct ISpatialGraphInteropFrameOfReferencePreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialGraphInteropPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialGraphInteropPreviewStatics { type Vtable = ISpatialGraphInteropPreviewStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialGraphInteropPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialGraphInteropPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc042644c_20d8_4ed0_aef7_6805b8e53f55); } @@ -54,15 +46,11 @@ pub struct ISpatialGraphInteropPreviewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialGraphInteropPreviewStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialGraphInteropPreviewStatics2 { type Vtable = ISpatialGraphInteropPreviewStatics2_Vtbl; } -impl ::core::clone::Clone for ISpatialGraphInteropPreviewStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialGraphInteropPreviewStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2490b15f_6cbd_4b1e_b765_31e462a32df2); } @@ -82,6 +70,7 @@ pub struct ISpatialGraphInteropPreviewStatics2_Vtbl { } #[doc = "*Required features: `\"Perception_Spatial_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialGraphInteropFrameOfReferencePreview(::windows_core::IUnknown); impl SpatialGraphInteropFrameOfReferencePreview { pub fn CoordinateSystem(&self) -> ::windows_core::Result { @@ -108,25 +97,9 @@ impl SpatialGraphInteropFrameOfReferencePreview { } } } -impl ::core::cmp::PartialEq for SpatialGraphInteropFrameOfReferencePreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialGraphInteropFrameOfReferencePreview {} -impl ::core::fmt::Debug for SpatialGraphInteropFrameOfReferencePreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialGraphInteropFrameOfReferencePreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialGraphInteropFrameOfReferencePreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Preview.SpatialGraphInteropFrameOfReferencePreview;{a8271b23-735f-5729-a98e-e64ed189abc5})"); } -impl ::core::clone::Clone for SpatialGraphInteropFrameOfReferencePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialGraphInteropFrameOfReferencePreview { type Vtable = ISpatialGraphInteropFrameOfReferencePreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs index 82ceeff4d1..c00c794f31 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceInfo { type Vtable = ISpatialSurfaceInfo_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8e9ebe7_39b7_3962_bb03_57f56e1fb0a1); } @@ -36,15 +32,11 @@ pub struct ISpatialSurfaceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceMesh(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceMesh { type Vtable = ISpatialSurfaceMesh_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceMesh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x108f57d9_df0d_3950_a0fd_f972c77c27b4); } @@ -64,15 +56,11 @@ pub struct ISpatialSurfaceMesh_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceMeshBuffer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceMeshBuffer { type Vtable = ISpatialSurfaceMeshBuffer_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceMeshBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceMeshBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93cf59e0_871f_33f8_98b2_03d101458f6f); } @@ -93,15 +81,11 @@ pub struct ISpatialSurfaceMeshBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceMeshOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceMeshOptions { type Vtable = ISpatialSurfaceMeshOptions_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceMeshOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceMeshOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2759f89_3572_3d2d_a10d_5fee9394aa37); } @@ -138,15 +122,11 @@ pub struct ISpatialSurfaceMeshOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceMeshOptionsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceMeshOptionsStatics { type Vtable = ISpatialSurfaceMeshOptionsStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceMeshOptionsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceMeshOptionsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b340abf_9781_4505_8935_013575caae5e); } @@ -169,15 +149,11 @@ pub struct ISpatialSurfaceMeshOptionsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceObserver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceObserver { type Vtable = ISpatialSurfaceObserver_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceObserver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceObserver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10b69819_ddca_3483_ac3a_748fe8c86df5); } @@ -205,15 +181,11 @@ pub struct ISpatialSurfaceObserver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceObserverStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceObserverStatics { type Vtable = ISpatialSurfaceObserverStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceObserverStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceObserverStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x165951ed_2108_4168_9175_87e027bc9285); } @@ -228,15 +200,11 @@ pub struct ISpatialSurfaceObserverStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialSurfaceObserverStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialSurfaceObserverStatics2 { type Vtable = ISpatialSurfaceObserverStatics2_Vtbl; } -impl ::core::clone::Clone for ISpatialSurfaceObserverStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialSurfaceObserverStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f534261_c55d_4e6b_a895_a19de69a42e3); } @@ -248,6 +216,7 @@ pub struct ISpatialSurfaceObserverStatics2_Vtbl { } #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialSurfaceInfo(::windows_core::IUnknown); impl SpatialSurfaceInfo { pub fn Id(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -300,25 +269,9 @@ impl SpatialSurfaceInfo { } } } -impl ::core::cmp::PartialEq for SpatialSurfaceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialSurfaceInfo {} -impl ::core::fmt::Debug for SpatialSurfaceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialSurfaceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialSurfaceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo;{f8e9ebe7-39b7-3962-bb03-57f56e1fb0a1})"); } -impl ::core::clone::Clone for SpatialSurfaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialSurfaceInfo { type Vtable = ISpatialSurfaceInfo_Vtbl; } @@ -333,6 +286,7 @@ unsafe impl ::core::marker::Send for SpatialSurfaceInfo {} unsafe impl ::core::marker::Sync for SpatialSurfaceInfo {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialSurfaceMesh(::windows_core::IUnknown); impl SpatialSurfaceMesh { pub fn SurfaceInfo(&self) -> ::windows_core::Result { @@ -380,25 +334,9 @@ impl SpatialSurfaceMesh { } } } -impl ::core::cmp::PartialEq for SpatialSurfaceMesh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialSurfaceMesh {} -impl ::core::fmt::Debug for SpatialSurfaceMesh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialSurfaceMesh").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialSurfaceMesh { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh;{108f57d9-df0d-3950-a0fd-f972c77c27b4})"); } -impl ::core::clone::Clone for SpatialSurfaceMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialSurfaceMesh { type Vtable = ISpatialSurfaceMesh_Vtbl; } @@ -413,6 +351,7 @@ unsafe impl ::core::marker::Send for SpatialSurfaceMesh {} unsafe impl ::core::marker::Sync for SpatialSurfaceMesh {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialSurfaceMeshBuffer(::windows_core::IUnknown); impl SpatialSurfaceMeshBuffer { #[doc = "*Required features: `\"Graphics_DirectX\"`*"] @@ -448,25 +387,9 @@ impl SpatialSurfaceMeshBuffer { } } } -impl ::core::cmp::PartialEq for SpatialSurfaceMeshBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialSurfaceMeshBuffer {} -impl ::core::fmt::Debug for SpatialSurfaceMeshBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialSurfaceMeshBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialSurfaceMeshBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer;{93cf59e0-871f-33f8-98b2-03d101458f6f})"); } -impl ::core::clone::Clone for SpatialSurfaceMeshBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialSurfaceMeshBuffer { type Vtable = ISpatialSurfaceMeshBuffer_Vtbl; } @@ -481,6 +404,7 @@ unsafe impl ::core::marker::Send for SpatialSurfaceMeshBuffer {} unsafe impl ::core::marker::Sync for SpatialSurfaceMeshBuffer {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialSurfaceMeshOptions(::windows_core::IUnknown); impl SpatialSurfaceMeshOptions { pub fn new() -> ::windows_core::Result { @@ -576,25 +500,9 @@ impl SpatialSurfaceMeshOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialSurfaceMeshOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialSurfaceMeshOptions {} -impl ::core::fmt::Debug for SpatialSurfaceMeshOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialSurfaceMeshOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialSurfaceMeshOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions;{d2759f89-3572-3d2d-a10d-5fee9394aa37})"); } -impl ::core::clone::Clone for SpatialSurfaceMeshOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialSurfaceMeshOptions { type Vtable = ISpatialSurfaceMeshOptions_Vtbl; } @@ -609,6 +517,7 @@ unsafe impl ::core::marker::Send for SpatialSurfaceMeshOptions {} unsafe impl ::core::marker::Sync for SpatialSurfaceMeshOptions {} #[doc = "*Required features: `\"Perception_Spatial_Surfaces\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialSurfaceObserver(::windows_core::IUnknown); impl SpatialSurfaceObserver { pub fn new() -> ::windows_core::Result { @@ -686,25 +595,9 @@ impl SpatialSurfaceObserver { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialSurfaceObserver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialSurfaceObserver {} -impl ::core::fmt::Debug for SpatialSurfaceObserver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialSurfaceObserver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialSurfaceObserver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver;{10b69819-ddca-3483-ac3a-748fe8c86df5})"); } -impl ::core::clone::Clone for SpatialSurfaceObserver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialSurfaceObserver { type Vtable = ISpatialSurfaceObserver_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index dfe44deedf..bbaa89510b 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -4,15 +4,11 @@ pub mod Preview; pub mod Surfaces; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchor { type Vtable = ISpatialAnchor_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0529e5ce_1d34_3702_bcec_eabff578a869); } @@ -33,15 +29,11 @@ pub struct ISpatialAnchor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchor2 { type Vtable = ISpatialAnchor2_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed17c908_a695_4cf6_92fd_97263ba71047); } @@ -53,15 +45,11 @@ pub struct ISpatialAnchor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorExportSufficiency(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorExportSufficiency { type Vtable = ISpatialAnchorExportSufficiency_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorExportSufficiency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorExportSufficiency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77c25b2b_3409_4088_b91b_fdfd05d1648f); } @@ -75,15 +63,11 @@ pub struct ISpatialAnchorExportSufficiency_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorExporter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorExporter { type Vtable = ISpatialAnchorExporter_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorExporter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorExporter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a2a4338_24fb_4269_89c5_88304aeef20f); } @@ -102,15 +86,11 @@ pub struct ISpatialAnchorExporter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorExporterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorExporterStatics { type Vtable = ISpatialAnchorExporterStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorExporterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorExporterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed2507b8_2475_439c_85ff_7fed341fdc88); } @@ -126,15 +106,11 @@ pub struct ISpatialAnchorExporterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorManagerStatics { type Vtable = ISpatialAnchorManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88e30eab_f3b7_420b_b086_8a80c07d910d); } @@ -149,15 +125,11 @@ pub struct ISpatialAnchorManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorRawCoordinateSystemAdjustedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorRawCoordinateSystemAdjustedEventArgs { type Vtable = ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorRawCoordinateSystemAdjustedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorRawCoordinateSystemAdjustedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1e81eb8_56c7_3117_a2e4_81e0fcf28e00); } @@ -172,15 +144,11 @@ pub struct ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorStatics { type Vtable = ISpatialAnchorStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9928642_0174_311c_ae79_0e5107669f16); } @@ -200,15 +168,11 @@ pub struct ISpatialAnchorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialAnchorStore { type Vtable = ISpatialAnchorStore_Vtbl; } -impl ::core::clone::Clone for ISpatialAnchorStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAnchorStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0bc3636_486a_3cb0_9e6f_1245165c4db6); } @@ -227,18 +191,13 @@ pub struct ISpatialAnchorStore_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAnchorTransferManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISpatialAnchorTransferManagerStatics { type Vtable = ISpatialAnchorTransferManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISpatialAnchorTransferManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISpatialAnchorTransferManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03bbf9b9_12d8_4bce_8835_c5df3ac0adab); } @@ -262,15 +221,11 @@ pub struct ISpatialAnchorTransferManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialBoundingVolume(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialBoundingVolume { type Vtable = ISpatialBoundingVolume_Vtbl; } -impl ::core::clone::Clone for ISpatialBoundingVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialBoundingVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb2065da_68c3_33df_b7af_4c787207999c); } @@ -281,15 +236,11 @@ pub struct ISpatialBoundingVolume_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialBoundingVolumeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialBoundingVolumeStatics { type Vtable = ISpatialBoundingVolumeStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialBoundingVolumeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialBoundingVolumeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05889117_b3e1_36d8_b017_566181a5b196); } @@ -316,15 +267,11 @@ pub struct ISpatialBoundingVolumeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialCoordinateSystem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialCoordinateSystem { type Vtable = ISpatialCoordinateSystem_Vtbl; } -impl ::core::clone::Clone for ISpatialCoordinateSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialCoordinateSystem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69ebca4b_60a3_3586_a653_59a7bd676d07); } @@ -339,15 +286,11 @@ pub struct ISpatialCoordinateSystem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntity { type Vtable = ISpatialEntity_Vtbl; } -impl ::core::clone::Clone for ISpatialEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x166de955_e1eb_454c_ba08_e6c0668ddc65); } @@ -364,15 +307,11 @@ pub struct ISpatialEntity_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityAddedEventArgs { type Vtable = ISpatialEntityAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa397f49b_156a_4707_ac2c_d31d570ed399); } @@ -384,15 +323,11 @@ pub struct ISpatialEntityAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityFactory { type Vtable = ISpatialEntityFactory_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1f1e325_349f_4225_a2f3_4b01c15fe056); } @@ -408,15 +343,11 @@ pub struct ISpatialEntityFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityRemovedEventArgs { type Vtable = ISpatialEntityRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91741800_536d_4e9f_abf6_415b5444d651); } @@ -428,15 +359,11 @@ pub struct ISpatialEntityRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityStore { type Vtable = ISpatialEntityStore_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x329788ba_e513_4f06_889d_1be30ecf43e6); } @@ -456,15 +383,11 @@ pub struct ISpatialEntityStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityStoreStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityStoreStatics { type Vtable = ISpatialEntityStoreStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityStoreStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityStoreStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b4b389e_7c50_4e92_8a62_4d1d4b7ccd3e); } @@ -480,15 +403,11 @@ pub struct ISpatialEntityStoreStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityUpdatedEventArgs { type Vtable = ISpatialEntityUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5671766_627b_43cb_a49f_b3be6d47deed); } @@ -500,15 +419,11 @@ pub struct ISpatialEntityUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialEntityWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialEntityWatcher { type Vtable = ISpatialEntityWatcher_Vtbl; } -impl ::core::clone::Clone for ISpatialEntityWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialEntityWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3b85fa0_6d5e_4bbc_805d_5fe5b9ba1959); } @@ -554,15 +469,11 @@ pub struct ISpatialEntityWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocation { type Vtable = ISpatialLocation_Vtbl; } -impl ::core::clone::Clone for ISpatialLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d81d29d_24a1_37d5_8fa1_39b4f9ad67e2); } @@ -597,15 +508,11 @@ pub struct ISpatialLocation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocation2 { type Vtable = ISpatialLocation2_Vtbl; } -impl ::core::clone::Clone for ISpatialLocation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x117f2416_38a7_4a18_b404_ab8fabe1d78b); } @@ -624,15 +531,11 @@ pub struct ISpatialLocation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocator { type Vtable = ISpatialLocator_Vtbl; } -impl ::core::clone::Clone for ISpatialLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6478925_9e0c_3bb6_997e_b64ecca24cf4); } @@ -687,15 +590,11 @@ pub struct ISpatialLocator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocatorAttachedFrameOfReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocatorAttachedFrameOfReference { type Vtable = ISpatialLocatorAttachedFrameOfReference_Vtbl; } -impl ::core::clone::Clone for ISpatialLocatorAttachedFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocatorAttachedFrameOfReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1774ef6_1f4f_499c_9625_ef5e6ed7a048); } @@ -728,15 +627,11 @@ pub struct ISpatialLocatorAttachedFrameOfReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocatorPositionalTrackingDeactivatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocatorPositionalTrackingDeactivatingEventArgs { type Vtable = ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialLocatorPositionalTrackingDeactivatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocatorPositionalTrackingDeactivatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8a84063_e3f4_368b_9061_9ea9d1d6cc16); } @@ -749,15 +644,11 @@ pub struct ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialLocatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialLocatorStatics { type Vtable = ISpatialLocatorStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialLocatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialLocatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb76e3340_a7c2_361b_bb82_56e93b89b1bb); } @@ -769,15 +660,11 @@ pub struct ISpatialLocatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialStageFrameOfReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialStageFrameOfReference { type Vtable = ISpatialStageFrameOfReference_Vtbl; } -impl ::core::clone::Clone for ISpatialStageFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialStageFrameOfReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a8a3464_ad0d_4590_ab86_33062b674926); } @@ -796,15 +683,11 @@ pub struct ISpatialStageFrameOfReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialStageFrameOfReferenceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialStageFrameOfReferenceStatics { type Vtable = ISpatialStageFrameOfReferenceStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialStageFrameOfReferenceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialStageFrameOfReferenceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf78d5c4d_a0a4_499c_8d91_a8c965d40654); } @@ -828,15 +711,11 @@ pub struct ISpatialStageFrameOfReferenceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialStationaryFrameOfReference(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialStationaryFrameOfReference { type Vtable = ISpatialStationaryFrameOfReference_Vtbl; } -impl ::core::clone::Clone for ISpatialStationaryFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialStationaryFrameOfReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09dbccb9_bcf8_3e7f_be7e_7edccbb178a8); } @@ -848,6 +727,7 @@ pub struct ISpatialStationaryFrameOfReference_Vtbl { } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAnchor(::windows_core::IUnknown); impl SpatialAnchor { pub fn CoordinateSystem(&self) -> ::windows_core::Result { @@ -926,25 +806,9 @@ impl SpatialAnchor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialAnchor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAnchor {} -impl ::core::fmt::Debug for SpatialAnchor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAnchor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAnchor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchor;{0529e5ce-1d34-3702-bcec-eabff578a869})"); } -impl ::core::clone::Clone for SpatialAnchor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAnchor { type Vtable = ISpatialAnchor_Vtbl; } @@ -959,6 +823,7 @@ unsafe impl ::core::marker::Send for SpatialAnchor {} unsafe impl ::core::marker::Sync for SpatialAnchor {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAnchorExportSufficiency(::windows_core::IUnknown); impl SpatialAnchorExportSufficiency { pub fn IsMinimallySufficient(&self) -> ::windows_core::Result { @@ -983,25 +848,9 @@ impl SpatialAnchorExportSufficiency { } } } -impl ::core::cmp::PartialEq for SpatialAnchorExportSufficiency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAnchorExportSufficiency {} -impl ::core::fmt::Debug for SpatialAnchorExportSufficiency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAnchorExportSufficiency").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAnchorExportSufficiency { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExportSufficiency;{77c25b2b-3409-4088-b91b-fdfd05d1648f})"); } -impl ::core::clone::Clone for SpatialAnchorExportSufficiency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAnchorExportSufficiency { type Vtable = ISpatialAnchorExportSufficiency_Vtbl; } @@ -1016,6 +865,7 @@ unsafe impl ::core::marker::Send for SpatialAnchorExportSufficiency {} unsafe impl ::core::marker::Sync for SpatialAnchorExportSufficiency {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAnchorExporter(::windows_core::IUnknown); impl SpatialAnchorExporter { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1063,25 +913,9 @@ impl SpatialAnchorExporter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialAnchorExporter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAnchorExporter {} -impl ::core::fmt::Debug for SpatialAnchorExporter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAnchorExporter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAnchorExporter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorExporter;{9a2a4338-24fb-4269-89c5-88304aeef20f})"); } -impl ::core::clone::Clone for SpatialAnchorExporter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAnchorExporter { type Vtable = ISpatialAnchorExporter_Vtbl; } @@ -1116,6 +950,7 @@ impl ::windows_core::RuntimeName for SpatialAnchorManager { } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAnchorRawCoordinateSystemAdjustedEventArgs(::windows_core::IUnknown); impl SpatialAnchorRawCoordinateSystemAdjustedEventArgs { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1128,25 +963,9 @@ impl SpatialAnchorRawCoordinateSystemAdjustedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAnchorRawCoordinateSystemAdjustedEventArgs {} -impl ::core::fmt::Debug for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAnchorRawCoordinateSystemAdjustedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs;{a1e81eb8-56c7-3117-a2e4-81e0fcf28e00})"); } -impl ::core::clone::Clone for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAnchorRawCoordinateSystemAdjustedEventArgs { type Vtable = ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl; } @@ -1161,6 +980,7 @@ unsafe impl ::core::marker::Send for SpatialAnchorRawCoordinateSystemAdjustedEve unsafe impl ::core::marker::Sync for SpatialAnchorRawCoordinateSystemAdjustedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialAnchorStore(::windows_core::IUnknown); impl SpatialAnchorStore { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1191,25 +1011,9 @@ impl SpatialAnchorStore { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SpatialAnchorStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialAnchorStore {} -impl ::core::fmt::Debug for SpatialAnchorStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialAnchorStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialAnchorStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialAnchorStore;{b0bc3636-486a-3cb0-9e6f-1245165c4db6})"); } -impl ::core::clone::Clone for SpatialAnchorStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialAnchorStore { type Vtable = ISpatialAnchorStore_Vtbl; } @@ -1271,6 +1075,7 @@ impl ::windows_core::RuntimeName for SpatialAnchorTransferManager { } #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialBoundingVolume(::windows_core::IUnknown); impl SpatialBoundingVolume { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1323,25 +1128,9 @@ impl SpatialBoundingVolume { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialBoundingVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialBoundingVolume {} -impl ::core::fmt::Debug for SpatialBoundingVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialBoundingVolume").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialBoundingVolume { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialBoundingVolume;{fb2065da-68c3-33df-b7af-4c787207999c})"); } -impl ::core::clone::Clone for SpatialBoundingVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialBoundingVolume { type Vtable = ISpatialBoundingVolume_Vtbl; } @@ -1356,6 +1145,7 @@ unsafe impl ::core::marker::Send for SpatialBoundingVolume {} unsafe impl ::core::marker::Sync for SpatialBoundingVolume {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialCoordinateSystem(::windows_core::IUnknown); impl SpatialCoordinateSystem { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1371,25 +1161,9 @@ impl SpatialCoordinateSystem { } } } -impl ::core::cmp::PartialEq for SpatialCoordinateSystem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialCoordinateSystem {} -impl ::core::fmt::Debug for SpatialCoordinateSystem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialCoordinateSystem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialCoordinateSystem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialCoordinateSystem;{69ebca4b-60a3-3586-a653-59a7bd676d07})"); } -impl ::core::clone::Clone for SpatialCoordinateSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialCoordinateSystem { type Vtable = ISpatialCoordinateSystem_Vtbl; } @@ -1404,6 +1178,7 @@ unsafe impl ::core::marker::Send for SpatialCoordinateSystem {} unsafe impl ::core::marker::Sync for SpatialCoordinateSystem {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntity(::windows_core::IUnknown); impl SpatialEntity { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1456,25 +1231,9 @@ impl SpatialEntity { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialEntity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntity {} -impl ::core::fmt::Debug for SpatialEntity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntity;{166de955-e1eb-454c-ba08-e6c0668ddc65})"); } -impl ::core::clone::Clone for SpatialEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntity { type Vtable = ISpatialEntity_Vtbl; } @@ -1489,6 +1248,7 @@ unsafe impl ::core::marker::Send for SpatialEntity {} unsafe impl ::core::marker::Sync for SpatialEntity {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntityAddedEventArgs(::windows_core::IUnknown); impl SpatialEntityAddedEventArgs { pub fn Entity(&self) -> ::windows_core::Result { @@ -1499,25 +1259,9 @@ impl SpatialEntityAddedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialEntityAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntityAddedEventArgs {} -impl ::core::fmt::Debug for SpatialEntityAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntityAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntityAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityAddedEventArgs;{a397f49b-156a-4707-ac2c-d31d570ed399})"); } -impl ::core::clone::Clone for SpatialEntityAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntityAddedEventArgs { type Vtable = ISpatialEntityAddedEventArgs_Vtbl; } @@ -1532,6 +1276,7 @@ unsafe impl ::core::marker::Send for SpatialEntityAddedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityAddedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntityRemovedEventArgs(::windows_core::IUnknown); impl SpatialEntityRemovedEventArgs { pub fn Entity(&self) -> ::windows_core::Result { @@ -1542,25 +1287,9 @@ impl SpatialEntityRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialEntityRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntityRemovedEventArgs {} -impl ::core::fmt::Debug for SpatialEntityRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntityRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntityRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityRemovedEventArgs;{91741800-536d-4e9f-abf6-415b5444d651})"); } -impl ::core::clone::Clone for SpatialEntityRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntityRemovedEventArgs { type Vtable = ISpatialEntityRemovedEventArgs_Vtbl; } @@ -1575,6 +1304,7 @@ unsafe impl ::core::marker::Send for SpatialEntityRemovedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityRemovedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntityStore(::windows_core::IUnknown); impl SpatialEntityStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1631,25 +1361,9 @@ impl SpatialEntityStore { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialEntityStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntityStore {} -impl ::core::fmt::Debug for SpatialEntityStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntityStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntityStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityStore;{329788ba-e513-4f06-889d-1be30ecf43e6})"); } -impl ::core::clone::Clone for SpatialEntityStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntityStore { type Vtable = ISpatialEntityStore_Vtbl; } @@ -1664,6 +1378,7 @@ unsafe impl ::core::marker::Send for SpatialEntityStore {} unsafe impl ::core::marker::Sync for SpatialEntityStore {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntityUpdatedEventArgs(::windows_core::IUnknown); impl SpatialEntityUpdatedEventArgs { pub fn Entity(&self) -> ::windows_core::Result { @@ -1674,25 +1389,9 @@ impl SpatialEntityUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialEntityUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntityUpdatedEventArgs {} -impl ::core::fmt::Debug for SpatialEntityUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntityUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntityUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs;{e5671766-627b-43cb-a49f-b3be6d47deed})"); } -impl ::core::clone::Clone for SpatialEntityUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntityUpdatedEventArgs { type Vtable = ISpatialEntityUpdatedEventArgs_Vtbl; } @@ -1707,6 +1406,7 @@ unsafe impl ::core::marker::Send for SpatialEntityUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialEntityUpdatedEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialEntityWatcher(::windows_core::IUnknown); impl SpatialEntityWatcher { pub fn Status(&self) -> ::windows_core::Result { @@ -1797,25 +1497,9 @@ impl SpatialEntityWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SpatialEntityWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialEntityWatcher {} -impl ::core::fmt::Debug for SpatialEntityWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialEntityWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialEntityWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialEntityWatcher;{b3b85fa0-6d5e-4bbc-805d-5fe5b9ba1959})"); } -impl ::core::clone::Clone for SpatialEntityWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialEntityWatcher { type Vtable = ISpatialEntityWatcher_Vtbl; } @@ -1830,6 +1514,7 @@ unsafe impl ::core::marker::Send for SpatialEntityWatcher {} unsafe impl ::core::marker::Sync for SpatialEntityWatcher {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialLocation(::windows_core::IUnknown); impl SpatialLocation { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1905,25 +1590,9 @@ impl SpatialLocation { } } } -impl ::core::cmp::PartialEq for SpatialLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialLocation {} -impl ::core::fmt::Debug for SpatialLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocation;{1d81d29d-24a1-37d5-8fa1-39b4f9ad67e2})"); } -impl ::core::clone::Clone for SpatialLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialLocation { type Vtable = ISpatialLocation_Vtbl; } @@ -1938,6 +1607,7 @@ unsafe impl ::core::marker::Send for SpatialLocation {} unsafe impl ::core::marker::Sync for SpatialLocation {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialLocator(::windows_core::IUnknown); impl SpatialLocator { pub fn Locatability(&self) -> ::windows_core::Result { @@ -2074,25 +1744,9 @@ impl SpatialLocator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialLocator {} -impl ::core::fmt::Debug for SpatialLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialLocator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialLocator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocator;{f6478925-9e0c-3bb6-997e-b64ecca24cf4})"); } -impl ::core::clone::Clone for SpatialLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialLocator { type Vtable = ISpatialLocator_Vtbl; } @@ -2107,6 +1761,7 @@ unsafe impl ::core::marker::Send for SpatialLocator {} unsafe impl ::core::marker::Sync for SpatialLocator {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialLocatorAttachedFrameOfReference(::windows_core::IUnknown); impl SpatialLocatorAttachedFrameOfReference { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -2166,25 +1821,9 @@ impl SpatialLocatorAttachedFrameOfReference { } } } -impl ::core::cmp::PartialEq for SpatialLocatorAttachedFrameOfReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialLocatorAttachedFrameOfReference {} -impl ::core::fmt::Debug for SpatialLocatorAttachedFrameOfReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialLocatorAttachedFrameOfReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialLocatorAttachedFrameOfReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference;{e1774ef6-1f4f-499c-9625-ef5e6ed7a048})"); } -impl ::core::clone::Clone for SpatialLocatorAttachedFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialLocatorAttachedFrameOfReference { type Vtable = ISpatialLocatorAttachedFrameOfReference_Vtbl; } @@ -2199,6 +1838,7 @@ unsafe impl ::core::marker::Send for SpatialLocatorAttachedFrameOfReference {} unsafe impl ::core::marker::Sync for SpatialLocatorAttachedFrameOfReference {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialLocatorPositionalTrackingDeactivatingEventArgs(::windows_core::IUnknown); impl SpatialLocatorPositionalTrackingDeactivatingEventArgs { pub fn Canceled(&self) -> ::windows_core::Result { @@ -2213,25 +1853,9 @@ impl SpatialLocatorPositionalTrackingDeactivatingEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetCanceled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpatialLocatorPositionalTrackingDeactivatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialLocatorPositionalTrackingDeactivatingEventArgs {} -impl ::core::fmt::Debug for SpatialLocatorPositionalTrackingDeactivatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialLocatorPositionalTrackingDeactivatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialLocatorPositionalTrackingDeactivatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs;{b8a84063-e3f4-368b-9061-9ea9d1d6cc16})"); } -impl ::core::clone::Clone for SpatialLocatorPositionalTrackingDeactivatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialLocatorPositionalTrackingDeactivatingEventArgs { type Vtable = ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl; } @@ -2246,6 +1870,7 @@ unsafe impl ::core::marker::Send for SpatialLocatorPositionalTrackingDeactivatin unsafe impl ::core::marker::Sync for SpatialLocatorPositionalTrackingDeactivatingEventArgs {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialStageFrameOfReference(::windows_core::IUnknown); impl SpatialStageFrameOfReference { pub fn CoordinateSystem(&self) -> ::windows_core::Result { @@ -2327,25 +1952,9 @@ impl SpatialStageFrameOfReference { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialStageFrameOfReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialStageFrameOfReference {} -impl ::core::fmt::Debug for SpatialStageFrameOfReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialStageFrameOfReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialStageFrameOfReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStageFrameOfReference;{7a8a3464-ad0d-4590-ab86-33062b674926})"); } -impl ::core::clone::Clone for SpatialStageFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialStageFrameOfReference { type Vtable = ISpatialStageFrameOfReference_Vtbl; } @@ -2360,6 +1969,7 @@ unsafe impl ::core::marker::Send for SpatialStageFrameOfReference {} unsafe impl ::core::marker::Sync for SpatialStageFrameOfReference {} #[doc = "*Required features: `\"Perception_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialStationaryFrameOfReference(::windows_core::IUnknown); impl SpatialStationaryFrameOfReference { pub fn CoordinateSystem(&self) -> ::windows_core::Result { @@ -2370,25 +1980,9 @@ impl SpatialStationaryFrameOfReference { } } } -impl ::core::cmp::PartialEq for SpatialStationaryFrameOfReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialStationaryFrameOfReference {} -impl ::core::fmt::Debug for SpatialStationaryFrameOfReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialStationaryFrameOfReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialStationaryFrameOfReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.Spatial.SpatialStationaryFrameOfReference;{09dbccb9-bcf8-3e7f-be7e-7edccbb178a8})"); } -impl ::core::clone::Clone for SpatialStationaryFrameOfReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialStationaryFrameOfReference { type Vtable = ISpatialStationaryFrameOfReference_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index 9f7767f888..aef5b77d30 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -6,15 +6,11 @@ pub mod People; pub mod Spatial; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerceptionTimestamp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPerceptionTimestamp { type Vtable = IPerceptionTimestamp_Vtbl; } -impl ::core::clone::Clone for IPerceptionTimestamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerceptionTimestamp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87c24804_a22e_4adb_ba26_d78ef639bcf4); } @@ -33,15 +29,11 @@ pub struct IPerceptionTimestamp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerceptionTimestamp2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPerceptionTimestamp2 { type Vtable = IPerceptionTimestamp2_Vtbl; } -impl ::core::clone::Clone for IPerceptionTimestamp2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerceptionTimestamp2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe354b7ed_2bd1_41b7_9ed0_74a15c354537); } @@ -56,15 +48,11 @@ pub struct IPerceptionTimestamp2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerceptionTimestampHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPerceptionTimestampHelperStatics { type Vtable = IPerceptionTimestampHelperStatics_Vtbl; } -impl ::core::clone::Clone for IPerceptionTimestampHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerceptionTimestampHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47a611d4_a9df_4edc_855d_f4d339d967ac); } @@ -79,15 +67,11 @@ pub struct IPerceptionTimestampHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerceptionTimestampHelperStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPerceptionTimestampHelperStatics2 { type Vtable = IPerceptionTimestampHelperStatics2_Vtbl; } -impl ::core::clone::Clone for IPerceptionTimestampHelperStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerceptionTimestampHelperStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73d1a7fe_3fb9_4571_87d4_3c920a5e86eb); } @@ -102,6 +86,7 @@ pub struct IPerceptionTimestampHelperStatics2_Vtbl { } #[doc = "*Required features: `\"Perception\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PerceptionTimestamp(::windows_core::IUnknown); impl PerceptionTimestamp { #[doc = "*Required features: `\"Foundation\"`*"] @@ -132,25 +117,9 @@ impl PerceptionTimestamp { } } } -impl ::core::cmp::PartialEq for PerceptionTimestamp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PerceptionTimestamp {} -impl ::core::fmt::Debug for PerceptionTimestamp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PerceptionTimestamp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PerceptionTimestamp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Perception.PerceptionTimestamp;{87c24804-a22e-4adb-ba26-d78ef639bcf4})"); } -impl ::core::clone::Clone for PerceptionTimestamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PerceptionTimestamp { type Vtable = IPerceptionTimestamp_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs index 2c7ce29b87..150f2d21e9 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationProfileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationProfileStatics { type Vtable = IApplicationProfileStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationProfileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationProfileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5008ab4_7e7a_11e1_a7f2_b0a14824019b); } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs index 7bebb22771..0783b784bd 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVibrationDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVibrationDevice { type Vtable = IVibrationDevice_Vtbl; } -impl ::core::clone::Clone for IVibrationDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVibrationDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b4a6595_cfcd_4e08_92fb_c1906d04498c); } @@ -24,15 +20,11 @@ pub struct IVibrationDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVibrationDeviceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVibrationDeviceStatics { type Vtable = IVibrationDeviceStatics_Vtbl; } -impl ::core::clone::Clone for IVibrationDeviceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVibrationDeviceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x332fd2f1_1c69_4c91_949e_4bb67a85bdc7); } @@ -44,6 +36,7 @@ pub struct IVibrationDeviceStatics_Vtbl { } #[doc = "*Required features: `\"Phone_Devices_Notification\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VibrationDevice(::windows_core::IUnknown); impl VibrationDevice { #[doc = "*Required features: `\"Foundation\"`*"] @@ -68,25 +61,9 @@ impl VibrationDevice { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VibrationDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VibrationDevice {} -impl ::core::fmt::Debug for VibrationDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VibrationDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VibrationDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Notification.VibrationDevice;{1b4a6595-cfcd-4e08-92fb-c1906d04498c})"); } -impl ::core::clone::Clone for VibrationDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VibrationDevice { type Vtable = IVibrationDevice_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs index 6897aa8a7a..984fb0a08c 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBattery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBattery { type Vtable = IBattery_Vtbl; } -impl ::core::clone::Clone for IBattery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBattery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x972adbdd_6720_4702_a476_b9d38a0070e3); } @@ -32,15 +28,11 @@ pub struct IBattery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBatteryStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBatteryStatics { type Vtable = IBatteryStatics_Vtbl; } -impl ::core::clone::Clone for IBatteryStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBatteryStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaf5bc70_6369_11e1_b86c_0800200c9a66); } @@ -52,6 +44,7 @@ pub struct IBatteryStatics_Vtbl { } #[doc = "*Required features: `\"Phone_Devices_Power\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Battery(::windows_core::IUnknown); impl Battery { pub fn RemainingChargePercent(&self) -> ::windows_core::Result { @@ -100,25 +93,9 @@ impl Battery { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Battery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Battery {} -impl ::core::fmt::Debug for Battery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Battery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Battery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Devices.Power.Battery;{972adbdd-6720-4702-a476-b9d38a0070e3})"); } -impl ::core::clone::Clone for Battery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Battery { type Vtable = IBattery_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs index 9b7812242e..ae95bbbf03 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterprise(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterprise { type Vtable = IEnterprise_Vtbl; } -impl ::core::clone::Clone for IEnterprise { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterprise { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96592f8d_856c_4426_a947_b06307718078); } @@ -31,15 +27,11 @@ pub struct IEnterprise_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseEnrollmentManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterpriseEnrollmentManager { type Vtable = IEnterpriseEnrollmentManager_Vtbl; } -impl ::core::clone::Clone for IEnterpriseEnrollmentManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseEnrollmentManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20f9f390_2c69_41d8_88e6_e4b3884026cb); } @@ -67,15 +59,11 @@ pub struct IEnterpriseEnrollmentManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseEnrollmentResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterpriseEnrollmentResult { type Vtable = IEnterpriseEnrollmentResult_Vtbl; } -impl ::core::clone::Clone for IEnterpriseEnrollmentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseEnrollmentResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ff71ce6_90db_4342_b326_1729aa91301c); } @@ -88,15 +76,11 @@ pub struct IEnterpriseEnrollmentResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstallationManagerStatics { type Vtable = IInstallationManagerStatics_Vtbl; } -impl ::core::clone::Clone for IInstallationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstallationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x929aa738_8d49_42ac_80c9_b4ad793c43f2); } @@ -127,15 +111,11 @@ pub struct IInstallationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstallationManagerStatics2 { type Vtable = IInstallationManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IInstallationManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstallationManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c6c2cbd_fa4a_4c8e_ab97_d959452f19e5); } @@ -158,15 +138,11 @@ pub struct IInstallationManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageInstallResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageInstallResult { type Vtable = IPackageInstallResult_Vtbl; } -impl ::core::clone::Clone for IPackageInstallResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageInstallResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33e8eed5_0f7e_4473_967c_7d6e1c0e7de1); } @@ -182,15 +158,11 @@ pub struct IPackageInstallResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageInstallResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPackageInstallResult2 { type Vtable = IPackageInstallResult2_Vtbl; } -impl ::core::clone::Clone for IPackageInstallResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageInstallResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7149d909_3ff9_41ed_a717_2bc65ffc61d2); } @@ -202,6 +174,7 @@ pub struct IPackageInstallResult2_Vtbl { } #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Enterprise(::windows_core::IUnknown); impl Enterprise { pub fn Id(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -251,25 +224,9 @@ impl Enterprise { } } } -impl ::core::cmp::PartialEq for Enterprise { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Enterprise {} -impl ::core::fmt::Debug for Enterprise { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Enterprise").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Enterprise { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.Enterprise;{96592f8d-856c-4426-a947-b06307718078})"); } -impl ::core::clone::Clone for Enterprise { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Enterprise { type Vtable = IEnterprise_Vtbl; } @@ -337,6 +294,7 @@ impl ::windows_core::RuntimeName for EnterpriseEnrollmentManager { } #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnterpriseEnrollmentResult(::windows_core::IUnknown); impl EnterpriseEnrollmentResult { pub fn EnrolledEnterprise(&self) -> ::windows_core::Result { @@ -354,25 +312,9 @@ impl EnterpriseEnrollmentResult { } } } -impl ::core::cmp::PartialEq for EnterpriseEnrollmentResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnterpriseEnrollmentResult {} -impl ::core::fmt::Debug for EnterpriseEnrollmentResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnterpriseEnrollmentResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnterpriseEnrollmentResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.EnterpriseEnrollmentResult;{9ff71ce6-90db-4342-b326-1729aa91301c})"); } -impl ::core::clone::Clone for EnterpriseEnrollmentResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnterpriseEnrollmentResult { type Vtable = IEnterpriseEnrollmentResult_Vtbl; } @@ -477,6 +419,7 @@ impl ::windows_core::RuntimeName for InstallationManager { } #[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PackageInstallResult(::windows_core::IUnknown); impl PackageInstallResult { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -503,25 +446,9 @@ impl PackageInstallResult { } } } -impl ::core::cmp::PartialEq for PackageInstallResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PackageInstallResult {} -impl ::core::fmt::Debug for PackageInstallResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PackageInstallResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PackageInstallResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Management.Deployment.PackageInstallResult;{33e8eed5-0f7e-4473-967c-7d6e1c0e7de1})"); } -impl ::core::clone::Clone for PackageInstallResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PackageInstallResult { type Vtable = IPackageInstallResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs index 834ff0e7d6..08157b1e82 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioRoutingManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioRoutingManager { type Vtable = IAudioRoutingManager_Vtbl; } -impl ::core::clone::Clone for IAudioRoutingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioRoutingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79340d20_71cc_4526_9f29_fc8d2486418b); } @@ -30,15 +26,11 @@ pub struct IAudioRoutingManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioRoutingManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAudioRoutingManagerStatics { type Vtable = IAudioRoutingManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAudioRoutingManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioRoutingManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x977fb2a4_5590_4a6f_adde_6a3d0ad58250); } @@ -50,6 +42,7 @@ pub struct IAudioRoutingManagerStatics_Vtbl { } #[doc = "*Required features: `\"Phone_Media_Devices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AudioRoutingManager(::windows_core::IUnknown); impl AudioRoutingManager { pub fn GetAudioEndpoint(&self) -> ::windows_core::Result { @@ -100,25 +93,9 @@ impl AudioRoutingManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AudioRoutingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AudioRoutingManager {} -impl ::core::fmt::Debug for AudioRoutingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AudioRoutingManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AudioRoutingManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Media.Devices.AudioRoutingManager;{79340d20-71cc-4526-9f29-fc8d2486418b})"); } -impl ::core::clone::Clone for AudioRoutingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AudioRoutingManager { type Vtable = IAudioRoutingManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs index 44de0ee3ec..712b331efd 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs @@ -87,7 +87,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { SetStartedProcessing: SetStartedProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs index 81d5421f65..c7a534a28d 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessoryManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccessoryManager { type Vtable = IAccessoryManager_Vtbl; } -impl ::core::clone::Clone for IAccessoryManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessoryManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d04a12c_883d_4aa7_bca7_fa4bb8bffee6); } @@ -78,15 +74,11 @@ pub struct IAccessoryManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessoryManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccessoryManager2 { type Vtable = IAccessoryManager2_Vtbl; } -impl ::core::clone::Clone for IAccessoryManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessoryManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbacad44d_d393_46c6_b80c_15fdf44d5386); } @@ -124,15 +116,11 @@ pub struct IAccessoryManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessoryManager3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccessoryManager3 { type Vtable = IAccessoryManager3_Vtbl; } -impl ::core::clone::Clone for IAccessoryManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessoryManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81f75137_edc7_47e0_b2f7_7e577c833f7d); } @@ -147,6 +135,7 @@ pub struct IAccessoryManager3_Vtbl { } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessoryNotificationTriggerDetails(::windows_core::IUnknown); impl IAccessoryNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -192,28 +181,12 @@ impl IAccessoryNotificationTriggerDetails { } } ::windows_core::imp::interface_hierarchy!(IAccessoryNotificationTriggerDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAccessoryNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessoryNotificationTriggerDetails {} -impl ::core::fmt::Debug for IAccessoryNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessoryNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAccessoryNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6968a7d4-e3ca-49cb-8c87-2c11cdff9646}"); } unsafe impl ::windows_core::Interface for IAccessoryNotificationTriggerDetails { type Vtable = IAccessoryNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAccessoryNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessoryNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646); } @@ -233,15 +206,11 @@ pub struct IAccessoryNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlarmNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAlarmNotificationTriggerDetails { type Vtable = IAlarmNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IAlarmNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlarmNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38f5fa30_c738_4da2_908c_775d83c36abb); } @@ -259,15 +228,11 @@ pub struct IAlarmNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlarmNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAlarmNotificationTriggerDetails2 { type Vtable = IAlarmNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IAlarmNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlarmNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf16e06a_7155_40fe_a9c2_7bd2127ef853); } @@ -279,15 +244,11 @@ pub struct IAlarmNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppNotificationInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppNotificationInfo { type Vtable = IAppNotificationInfo_Vtbl; } -impl ::core::clone::Clone for IAppNotificationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppNotificationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2157bea5_e286_45d3_9bea_f790fc216e0e); } @@ -300,15 +261,11 @@ pub struct IAppNotificationInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBinaryId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBinaryId { type Vtable = IBinaryId_Vtbl; } -impl ::core::clone::Clone for IBinaryId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBinaryId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f0da531_5595_44b4_9181_ce4efa3fc168); } @@ -321,15 +278,11 @@ pub struct IBinaryId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarChangedNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarChangedNotificationTriggerDetails { type Vtable = ICalendarChangedNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ICalendarChangedNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarChangedNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b8a3bfc_279d_42ab_9c68_3e87977bf216); } @@ -342,15 +295,11 @@ pub struct ICalendarChangedNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICortanaTileNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICortanaTileNotificationTriggerDetails { type Vtable = ICortanaTileNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for ICortanaTileNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICortanaTileNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc0f01d5_1489_46bb_b73b_7f90067ecf27); } @@ -371,15 +320,11 @@ pub struct ICortanaTileNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAccountInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailAccountInfo { type Vtable = IEmailAccountInfo_Vtbl; } -impl ::core::clone::Clone for IEmailAccountInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailAccountInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfbc02ab_bda0_4568_927e_b2ede35818a1); } @@ -392,15 +337,11 @@ pub struct IEmailAccountInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailFolderInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailFolderInfo { type Vtable = IEmailFolderInfo_Vtbl; } -impl ::core::clone::Clone for IEmailFolderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailFolderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc207150e_e237_46d6_90e6_4f529eeac1e2); } @@ -413,15 +354,11 @@ pub struct IEmailFolderInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailNotificationTriggerDetails { type Vtable = IEmailNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IEmailNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3b82612_46cf_4e70_8e0d_7b2e04ab492b); } @@ -444,15 +381,11 @@ pub struct IEmailNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailNotificationTriggerDetails2 { type Vtable = IEmailNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IEmailNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x168067e3_c56f_4ec7_bed1_f734e08de5b2); } @@ -464,15 +397,11 @@ pub struct IEmailNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailReadNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEmailReadNotificationTriggerDetails { type Vtable = IEmailReadNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IEmailReadNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmailReadNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5b7a087_06f3_4e3e_8c42_325e67010413); } @@ -487,15 +416,11 @@ pub struct IEmailReadNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaControlsTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaControlsTriggerDetails { type Vtable = IMediaControlsTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IMediaControlsTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaControlsTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfab4648b_ae45_4548_91ca_4ab0548e33b5); } @@ -508,15 +433,11 @@ pub struct IMediaControlsTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaMetadata(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaMetadata { type Vtable = IMediaMetadata_Vtbl; } -impl ::core::clone::Clone for IMediaMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b50ddf7_bb6c_4330_b3cd_0704a54cdb80); } @@ -540,15 +461,11 @@ pub struct IMediaMetadata_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneCallDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneCallDetails { type Vtable = IPhoneCallDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneCallDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneCallDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c1b6f53_f071_483e_bf33_ebd44b724447); } @@ -580,15 +497,11 @@ pub struct IPhoneCallDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineDetails { type Vtable = IPhoneLineDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneLineDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47eb32dc_33ed_49b9_995c_a296bac82b77); } @@ -605,15 +518,11 @@ pub struct IPhoneLineDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneLineDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneLineDetails2 { type Vtable = IPhoneLineDetails2_Vtbl; } -impl ::core::clone::Clone for IPhoneLineDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneLineDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb30cd77d_0147_498c_8241_bf0cabc60a25); } @@ -625,15 +534,11 @@ pub struct IPhoneLineDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhoneNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPhoneNotificationTriggerDetails { type Vtable = IPhoneNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IPhoneNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhoneNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccc2fdf7_09c3_4118_91bc_ca6323a8d383); } @@ -647,15 +552,11 @@ pub struct IPhoneNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReminderNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReminderNotificationTriggerDetails { type Vtable = IReminderNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IReminderNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReminderNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bddaa5d_9f61_4bf0_9feb_10502bc0b0c2); } @@ -679,15 +580,11 @@ pub struct IReminderNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReminderNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IReminderNotificationTriggerDetails2 { type Vtable = IReminderNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IReminderNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReminderNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe715f9c0_504d_4c0f_a6b3_bcb9722c6cdd); } @@ -699,15 +596,11 @@ pub struct IReminderNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeedDialEntry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpeedDialEntry { type Vtable = ISpeedDialEntry_Vtbl; } -impl ::core::clone::Clone for ISpeedDialEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeedDialEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9240b6db_872c_46dc_b62a_be4541b166f8); } @@ -721,15 +614,11 @@ pub struct ISpeedDialEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextResponse { type Vtable = ITextResponse_Vtbl; } -impl ::core::clone::Clone for ITextResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9cb74c3_2457_4cdb_8110_72f5e8e883e8); } @@ -742,15 +631,11 @@ pub struct ITextResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationTriggerDetails { type Vtable = IToastNotificationTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IToastNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9314895_4e6d_4e9d_afec_9e921b875ae8); } @@ -766,15 +651,11 @@ pub struct IToastNotificationTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationTriggerDetails2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationTriggerDetails2 { type Vtable = IToastNotificationTriggerDetails2_Vtbl; } -impl ::core::clone::Clone for IToastNotificationTriggerDetails2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationTriggerDetails2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e0479dd_cac4_4f60_afa3_b925d9d83c93); } @@ -786,15 +667,11 @@ pub struct IToastNotificationTriggerDetails2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVolumeInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVolumeInfo { type Vtable = IVolumeInfo_Vtbl; } -impl ::core::clone::Clone for IVolumeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVolumeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x944dd118_7704_4481_b92e_d3ed3ece6322); } @@ -1114,6 +991,7 @@ impl ::windows_core::RuntimeName for AccessoryManager { } #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AlarmNotificationTriggerDetails(::windows_core::IUnknown); impl AlarmNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1195,25 +1073,9 @@ impl AlarmNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for AlarmNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AlarmNotificationTriggerDetails {} -impl ::core::fmt::Debug for AlarmNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AlarmNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AlarmNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails;{38f5fa30-c738-4da2-908c-775d83c36abb})"); } -impl ::core::clone::Clone for AlarmNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AlarmNotificationTriggerDetails { type Vtable = IAlarmNotificationTriggerDetails_Vtbl; } @@ -1227,6 +1089,7 @@ impl ::windows_core::RuntimeName for AlarmNotificationTriggerDetails { impl ::windows_core::CanTryInto for AlarmNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppNotificationInfo(::windows_core::IUnknown); impl AppNotificationInfo { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1244,25 +1107,9 @@ impl AppNotificationInfo { } } } -impl ::core::cmp::PartialEq for AppNotificationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppNotificationInfo {} -impl ::core::fmt::Debug for AppNotificationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppNotificationInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppNotificationInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.AppNotificationInfo;{2157bea5-e286-45d3-9bea-f790fc216e0e})"); } -impl ::core::clone::Clone for AppNotificationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppNotificationInfo { type Vtable = IAppNotificationInfo_Vtbl; } @@ -1275,6 +1122,7 @@ impl ::windows_core::RuntimeName for AppNotificationInfo { ::windows_core::imp::interface_hierarchy!(AppNotificationInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BinaryId(::windows_core::IUnknown); impl BinaryId { pub fn Id(&self) -> ::windows_core::Result { @@ -1292,25 +1140,9 @@ impl BinaryId { } } } -impl ::core::cmp::PartialEq for BinaryId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BinaryId {} -impl ::core::fmt::Debug for BinaryId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BinaryId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BinaryId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.BinaryId;{4f0da531-5595-44b4-9181-ce4efa3fc168})"); } -impl ::core::clone::Clone for BinaryId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BinaryId { type Vtable = IBinaryId_Vtbl; } @@ -1323,6 +1155,7 @@ impl ::windows_core::RuntimeName for BinaryId { ::windows_core::imp::interface_hierarchy!(BinaryId, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CalendarChangedNotificationTriggerDetails(::windows_core::IUnknown); impl CalendarChangedNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1381,25 +1214,9 @@ impl CalendarChangedNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for CalendarChangedNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CalendarChangedNotificationTriggerDetails {} -impl ::core::fmt::Debug for CalendarChangedNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CalendarChangedNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CalendarChangedNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails;{4b8a3bfc-279d-42ab-9c68-3e87977bf216})"); } -impl ::core::clone::Clone for CalendarChangedNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CalendarChangedNotificationTriggerDetails { type Vtable = ICalendarChangedNotificationTriggerDetails_Vtbl; } @@ -1413,6 +1230,7 @@ impl ::windows_core::RuntimeName for CalendarChangedNotificationTriggerDetails { impl ::windows_core::CanTryInto for CalendarChangedNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CortanaTileNotificationTriggerDetails(::windows_core::IUnknown); impl CortanaTileNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1527,25 +1345,9 @@ impl CortanaTileNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for CortanaTileNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CortanaTileNotificationTriggerDetails {} -impl ::core::fmt::Debug for CortanaTileNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CortanaTileNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CortanaTileNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails;{dc0f01d5-1489-46bb-b73b-7f90067ecf27})"); } -impl ::core::clone::Clone for CortanaTileNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CortanaTileNotificationTriggerDetails { type Vtable = ICortanaTileNotificationTriggerDetails_Vtbl; } @@ -1559,6 +1361,7 @@ impl ::windows_core::RuntimeName for CortanaTileNotificationTriggerDetails { impl ::windows_core::CanTryInto for CortanaTileNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailAccountInfo(::windows_core::IUnknown); impl EmailAccountInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1576,25 +1379,9 @@ impl EmailAccountInfo { } } } -impl ::core::cmp::PartialEq for EmailAccountInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailAccountInfo {} -impl ::core::fmt::Debug for EmailAccountInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailAccountInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailAccountInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailAccountInfo;{dfbc02ab-bda0-4568-927e-b2ede35818a1})"); } -impl ::core::clone::Clone for EmailAccountInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailAccountInfo { type Vtable = IEmailAccountInfo_Vtbl; } @@ -1607,6 +1394,7 @@ impl ::windows_core::RuntimeName for EmailAccountInfo { ::windows_core::imp::interface_hierarchy!(EmailAccountInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailFolderInfo(::windows_core::IUnknown); impl EmailFolderInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1624,25 +1412,9 @@ impl EmailFolderInfo { } } } -impl ::core::cmp::PartialEq for EmailFolderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailFolderInfo {} -impl ::core::fmt::Debug for EmailFolderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailFolderInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailFolderInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailFolderInfo;{c207150e-e237-46d6-90e6-4f529eeac1e2})"); } -impl ::core::clone::Clone for EmailFolderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailFolderInfo { type Vtable = IEmailFolderInfo_Vtbl; } @@ -1655,6 +1427,7 @@ impl ::windows_core::RuntimeName for EmailFolderInfo { ::windows_core::imp::interface_hierarchy!(EmailFolderInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailNotificationTriggerDetails(::windows_core::IUnknown); impl EmailNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1752,25 +1525,9 @@ impl EmailNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for EmailNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailNotificationTriggerDetails {} -impl ::core::fmt::Debug for EmailNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailNotificationTriggerDetails;{f3b82612-46cf-4e70-8e0d-7b2e04ab492b})"); } -impl ::core::clone::Clone for EmailNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailNotificationTriggerDetails { type Vtable = IEmailNotificationTriggerDetails_Vtbl; } @@ -1784,6 +1541,7 @@ impl ::windows_core::RuntimeName for EmailNotificationTriggerDetails { impl ::windows_core::CanTryInto for EmailNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EmailReadNotificationTriggerDetails(::windows_core::IUnknown); impl EmailReadNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1856,25 +1614,9 @@ impl EmailReadNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for EmailReadNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EmailReadNotificationTriggerDetails {} -impl ::core::fmt::Debug for EmailReadNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EmailReadNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EmailReadNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails;{f5b7a087-06f3-4e3e-8c42-325e67010413})"); } -impl ::core::clone::Clone for EmailReadNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EmailReadNotificationTriggerDetails { type Vtable = IEmailReadNotificationTriggerDetails_Vtbl; } @@ -1888,6 +1630,7 @@ impl ::windows_core::RuntimeName for EmailReadNotificationTriggerDetails { impl ::windows_core::CanTryInto for EmailReadNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaControlsTriggerDetails(::windows_core::IUnknown); impl MediaControlsTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1946,25 +1689,9 @@ impl MediaControlsTriggerDetails { } } } -impl ::core::cmp::PartialEq for MediaControlsTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaControlsTriggerDetails {} -impl ::core::fmt::Debug for MediaControlsTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaControlsTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaControlsTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaControlsTriggerDetails;{fab4648b-ae45-4548-91ca-4ab0548e33b5})"); } -impl ::core::clone::Clone for MediaControlsTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaControlsTriggerDetails { type Vtable = IMediaControlsTriggerDetails_Vtbl; } @@ -1978,6 +1705,7 @@ impl ::windows_core::RuntimeName for MediaControlsTriggerDetails { impl ::windows_core::CanTryInto for MediaControlsTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MediaMetadata(::windows_core::IUnknown); impl MediaMetadata { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2034,25 +1762,9 @@ impl MediaMetadata { } } } -impl ::core::cmp::PartialEq for MediaMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MediaMetadata {} -impl ::core::fmt::Debug for MediaMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MediaMetadata").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MediaMetadata { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.MediaMetadata;{9b50ddf7-bb6c-4330-b3cd-0704a54cdb80})"); } -impl ::core::clone::Clone for MediaMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MediaMetadata { type Vtable = IMediaMetadata_Vtbl; } @@ -2065,6 +1777,7 @@ impl ::windows_core::RuntimeName for MediaMetadata { ::windows_core::imp::interface_hierarchy!(MediaMetadata, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneCallDetails(::windows_core::IUnknown); impl PhoneCallDetails { pub fn PhoneLine(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2158,25 +1871,9 @@ impl PhoneCallDetails { } } } -impl ::core::cmp::PartialEq for PhoneCallDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneCallDetails {} -impl ::core::fmt::Debug for PhoneCallDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneCallDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneCallDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneCallDetails;{0c1b6f53-f071-483e-bf33-ebd44b724447})"); } -impl ::core::clone::Clone for PhoneCallDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneCallDetails { type Vtable = IPhoneCallDetails_Vtbl; } @@ -2189,6 +1886,7 @@ impl ::windows_core::RuntimeName for PhoneCallDetails { ::windows_core::imp::interface_hierarchy!(PhoneCallDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneLineDetails(::windows_core::IUnknown); impl PhoneLineDetails { pub fn LineId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2241,25 +1939,9 @@ impl PhoneLineDetails { } } } -impl ::core::cmp::PartialEq for PhoneLineDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneLineDetails {} -impl ::core::fmt::Debug for PhoneLineDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneLineDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneLineDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneLineDetails;{47eb32dc-33ed-49b9-995c-a296bac82b77})"); } -impl ::core::clone::Clone for PhoneLineDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneLineDetails { type Vtable = IPhoneLineDetails_Vtbl; } @@ -2272,6 +1954,7 @@ impl ::windows_core::RuntimeName for PhoneLineDetails { ::windows_core::imp::interface_hierarchy!(PhoneLineDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PhoneNotificationTriggerDetails(::windows_core::IUnknown); impl PhoneNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2337,25 +2020,9 @@ impl PhoneNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for PhoneNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PhoneNotificationTriggerDetails {} -impl ::core::fmt::Debug for PhoneNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PhoneNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PhoneNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails;{ccc2fdf7-09c3-4118-91bc-ca6323a8d383})"); } -impl ::core::clone::Clone for PhoneNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PhoneNotificationTriggerDetails { type Vtable = IPhoneNotificationTriggerDetails_Vtbl; } @@ -2369,6 +2036,7 @@ impl ::windows_core::RuntimeName for PhoneNotificationTriggerDetails { impl ::windows_core::CanTryInto for PhoneNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ReminderNotificationTriggerDetails(::windows_core::IUnknown); impl ReminderNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2473,25 +2141,9 @@ impl ReminderNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for ReminderNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ReminderNotificationTriggerDetails {} -impl ::core::fmt::Debug for ReminderNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ReminderNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ReminderNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails;{5bddaa5d-9f61-4bf0-9feb-10502bc0b0c2})"); } -impl ::core::clone::Clone for ReminderNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ReminderNotificationTriggerDetails { type Vtable = IReminderNotificationTriggerDetails_Vtbl; } @@ -2505,6 +2157,7 @@ impl ::windows_core::RuntimeName for ReminderNotificationTriggerDetails { impl ::windows_core::CanTryInto for ReminderNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpeedDialEntry(::windows_core::IUnknown); impl SpeedDialEntry { pub fn PhoneNumber(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2529,25 +2182,9 @@ impl SpeedDialEntry { } } } -impl ::core::cmp::PartialEq for SpeedDialEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpeedDialEntry {} -impl ::core::fmt::Debug for SpeedDialEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpeedDialEntry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpeedDialEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.SpeedDialEntry;{9240b6db-872c-46dc-b62a-be4541b166f8})"); } -impl ::core::clone::Clone for SpeedDialEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpeedDialEntry { type Vtable = ISpeedDialEntry_Vtbl; } @@ -2560,6 +2197,7 @@ impl ::windows_core::RuntimeName for SpeedDialEntry { ::windows_core::imp::interface_hierarchy!(SpeedDialEntry, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TextResponse(::windows_core::IUnknown); impl TextResponse { pub fn Id(&self) -> ::windows_core::Result { @@ -2577,25 +2215,9 @@ impl TextResponse { } } } -impl ::core::cmp::PartialEq for TextResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TextResponse {} -impl ::core::fmt::Debug for TextResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TextResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TextResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.TextResponse;{e9cb74c3-2457-4cdb-8110-72f5e8e883e8})"); } -impl ::core::clone::Clone for TextResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TextResponse { type Vtable = ITextResponse_Vtbl; } @@ -2608,6 +2230,7 @@ impl ::windows_core::RuntimeName for TextResponse { ::windows_core::imp::interface_hierarchy!(TextResponse, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationTriggerDetails(::windows_core::IUnknown); impl ToastNotificationTriggerDetails { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2694,25 +2317,9 @@ impl ToastNotificationTriggerDetails { } } } -impl ::core::cmp::PartialEq for ToastNotificationTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationTriggerDetails {} -impl ::core::fmt::Debug for ToastNotificationTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.ToastNotificationTriggerDetails;{c9314895-4e6d-4e9d-afec-9e921b875ae8})"); } -impl ::core::clone::Clone for ToastNotificationTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationTriggerDetails { type Vtable = IToastNotificationTriggerDetails_Vtbl; } @@ -2726,6 +2333,7 @@ impl ::windows_core::RuntimeName for ToastNotificationTriggerDetails { impl ::windows_core::CanTryInto for ToastNotificationTriggerDetails {} #[doc = "*Required features: `\"Phone_Notification_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VolumeInfo(::windows_core::IUnknown); impl VolumeInfo { pub fn SystemVolume(&self) -> ::windows_core::Result { @@ -2764,25 +2372,9 @@ impl VolumeInfo { } } } -impl ::core::cmp::PartialEq for VolumeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VolumeInfo {} -impl ::core::fmt::Debug for VolumeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VolumeInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VolumeInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.Notification.Management.VolumeInfo;{944dd118-7704-4481-b92e-d3ed3ece6322})"); } -impl ::core::clone::Clone for VolumeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VolumeInfo { type Vtable = IVolumeInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs index 335e17c4d9..8a520deb65 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPartnerProvisioningManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPartnerProvisioningManagerStatics { type Vtable = IContactPartnerProvisioningManagerStatics_Vtbl; } -impl ::core::clone::Clone for IContactPartnerProvisioningManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPartnerProvisioningManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0d79a21_01af_4fd3_98cd_b3d656de15f4); } @@ -27,15 +23,11 @@ pub struct IContactPartnerProvisioningManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPartnerProvisioningManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactPartnerProvisioningManagerStatics2 { type Vtable = IContactPartnerProvisioningManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IContactPartnerProvisioningManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPartnerProvisioningManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc26155f7_55ed_475d_9334_c5d484c30f1a); } @@ -50,15 +42,11 @@ pub struct IContactPartnerProvisioningManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessagePartnerProvisioningManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessagePartnerProvisioningManagerStatics { type Vtable = IMessagePartnerProvisioningManagerStatics_Vtbl; } -impl ::core::clone::Clone for IMessagePartnerProvisioningManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessagePartnerProvisioningManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a1b0850_73c5_457c_bc59_ed7d615c05a4); } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index 2c2d3b128b..7f9aafa59e 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -202,8 +202,8 @@ impl IContactInformation_Vtbl { ToVcardWithOptionsAsync: ToVcardWithOptionsAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Phone_PersonalInformation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -241,7 +241,7 @@ impl IContactInformation2_Vtbl { SetDisplayPictureDate: SetDisplayPictureDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 404dab9991..589c6dc5ee 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -2,15 +2,11 @@ pub mod Provisioning; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactAddress { type Vtable = IContactAddress_Vtbl; } -impl ::core::clone::Clone for IContactAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f24f927_94a9_44a2_a155_2d0b37d1dccd); } @@ -31,15 +27,11 @@ pub struct IContactAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactChangeRecord(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactChangeRecord { type Vtable = IContactChangeRecord_Vtbl; } -impl ::core::clone::Clone for IContactChangeRecord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactChangeRecord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9d3f78f_513b_4742_be00_cc5c5c236b04); } @@ -54,6 +46,7 @@ pub struct IContactChangeRecord_Vtbl { } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInformation(::windows_core::IUnknown); impl IContactInformation { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -170,28 +163,12 @@ impl IContactInformation { } } ::windows_core::imp::interface_hierarchy!(IContactInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactInformation {} -impl ::core::fmt::Debug for IContactInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e2b51ffc-e792-4ab7-b15b-f2e078664dea}"); } unsafe impl ::windows_core::Interface for IContactInformation { type Vtable = IContactInformation_Vtbl; } -impl ::core::clone::Clone for IContactInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2b51ffc_e792_4ab7_b15b_f2e078664dea); } @@ -236,6 +213,7 @@ pub struct IContactInformation_Vtbl { } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInformation2(::windows_core::IUnknown); impl IContactInformation2 { #[doc = "*Required features: `\"Foundation\"`*"] @@ -255,28 +233,12 @@ impl IContactInformation2 { } } ::windows_core::imp::interface_hierarchy!(IContactInformation2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContactInformation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactInformation2 {} -impl ::core::fmt::Debug for IContactInformation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactInformation2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContactInformation2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3198b20c-621e-4668-ac38-d667b87d06d5}"); } unsafe impl ::windows_core::Interface for IContactInformation2 { type Vtable = IContactInformation2_Vtbl; } -impl ::core::clone::Clone for IContactInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3198b20c_621e_4668_ac38_d667b87d06d5); } @@ -295,15 +257,11 @@ pub struct IContactInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactInformationStatics { type Vtable = IContactInformationStatics_Vtbl; } -impl ::core::clone::Clone for IContactInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f67bb29_03d0_4be6_b2a5_fb13859f1202); } @@ -318,15 +276,11 @@ pub struct IContactInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactQueryOptions { type Vtable = IContactQueryOptions_Vtbl; } -impl ::core::clone::Clone for IContactQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x580cab76_3f31_46c1_9a50_424a53dacae3); } @@ -343,15 +297,11 @@ pub struct IContactQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactQueryResult { type Vtable = IContactQueryResult_Vtbl; } -impl ::core::clone::Clone for IContactQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc03db722_ecdb_4700_857e_3e786426b04b); } @@ -375,15 +325,11 @@ pub struct IContactQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStore { type Vtable = IContactStore_Vtbl; } -impl ::core::clone::Clone for IContactStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2cd6fef_2bfd_4fad_8552_4e698097e8eb); } @@ -425,15 +371,11 @@ pub struct IContactStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStore2 { type Vtable = IContactStore2_Vtbl; } -impl ::core::clone::Clone for IContactStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65f1b64f_d653_43a7_b236_b30c0f4d7269); } @@ -448,15 +390,11 @@ pub struct IContactStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactStoreStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContactStoreStatics { type Vtable = IContactStoreStatics_Vtbl; } -impl ::core::clone::Clone for IContactStoreStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactStoreStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa804fe22_4beb_44cc_a572_67a5b92e8567); } @@ -475,15 +413,11 @@ pub struct IContactStoreStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownContactPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownContactPropertiesStatics { type Vtable = IKnownContactPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownContactPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownContactPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5812b01_2ced_4ee6_b1d6_094bf88ef0b6); } @@ -529,15 +463,11 @@ pub struct IKnownContactPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoredContact(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoredContact { type Vtable = IStoredContact_Vtbl; } -impl ::core::clone::Clone for IStoredContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoredContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb070b7b1_263d_4e71_abe7_591d2466570e); } @@ -564,15 +494,11 @@ pub struct IStoredContact_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoredContactFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoredContactFactory { type Vtable = IStoredContactFactory_Vtbl; } -impl ::core::clone::Clone for IStoredContactFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoredContactFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ede921_c225_4fd9_89c5_cecc2c8a4b79); } @@ -585,6 +511,7 @@ pub struct IStoredContactFactory_Vtbl { } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactAddress(::windows_core::IUnknown); impl ContactAddress { pub fn new() -> ::windows_core::Result { @@ -650,25 +577,9 @@ impl ContactAddress { unsafe { (::windows_core::Interface::vtable(this).SetStreetAddress)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContactAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactAddress {} -impl ::core::fmt::Debug for ContactAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactAddress;{5f24f927-94a9-44a2-a155-2d0b37d1dccd})"); } -impl ::core::clone::Clone for ContactAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactAddress { type Vtable = IContactAddress_Vtbl; } @@ -683,6 +594,7 @@ unsafe impl ::core::marker::Send for ContactAddress {} unsafe impl ::core::marker::Sync for ContactAddress {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactChangeRecord(::windows_core::IUnknown); impl ContactChangeRecord { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -714,25 +626,9 @@ impl ContactChangeRecord { } } } -impl ::core::cmp::PartialEq for ContactChangeRecord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactChangeRecord {} -impl ::core::fmt::Debug for ContactChangeRecord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactChangeRecord").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactChangeRecord { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactChangeRecord;{b9d3f78f-513b-4742-be00-cc5c5c236b04})"); } -impl ::core::clone::Clone for ContactChangeRecord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactChangeRecord { type Vtable = IContactChangeRecord_Vtbl; } @@ -747,6 +643,7 @@ unsafe impl ::core::marker::Send for ContactChangeRecord {} unsafe impl ::core::marker::Sync for ContactChangeRecord {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactInformation(::windows_core::IUnknown); impl ContactInformation { pub fn new() -> ::windows_core::Result { @@ -885,25 +782,9 @@ impl ContactInformation { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactInformation {} -impl ::core::fmt::Debug for ContactInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactInformation;{e2b51ffc-e792-4ab7-b15b-f2e078664dea})"); } -impl ::core::clone::Clone for ContactInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactInformation { type Vtable = IContactInformation_Vtbl; } @@ -919,6 +800,7 @@ unsafe impl ::core::marker::Send for ContactInformation {} unsafe impl ::core::marker::Sync for ContactInformation {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactQueryOptions(::windows_core::IUnknown); impl ContactQueryOptions { pub fn new() -> ::windows_core::Result { @@ -949,25 +831,9 @@ impl ContactQueryOptions { unsafe { (::windows_core::Interface::vtable(this).SetOrderBy)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContactQueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactQueryOptions {} -impl ::core::fmt::Debug for ContactQueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactQueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactQueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryOptions;{580cab76-3f31-46c1-9a50-424a53dacae3})"); } -impl ::core::clone::Clone for ContactQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactQueryOptions { type Vtable = IContactQueryOptions_Vtbl; } @@ -982,6 +848,7 @@ unsafe impl ::core::marker::Send for ContactQueryOptions {} unsafe impl ::core::marker::Sync for ContactQueryOptions {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactQueryResult(::windows_core::IUnknown); impl ContactQueryResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1019,25 +886,9 @@ impl ContactQueryResult { } } } -impl ::core::cmp::PartialEq for ContactQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactQueryResult {} -impl ::core::fmt::Debug for ContactQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactQueryResult;{c03db722-ecdb-4700-857e-3e786426b04b})"); } -impl ::core::clone::Clone for ContactQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactQueryResult { type Vtable = IContactQueryResult_Vtbl; } @@ -1052,6 +903,7 @@ unsafe impl ::core::marker::Send for ContactQueryResult {} unsafe impl ::core::marker::Sync for ContactQueryResult {} #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContactStore(::windows_core::IUnknown); impl ContactStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1175,25 +1027,9 @@ impl ContactStore { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContactStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContactStore {} -impl ::core::fmt::Debug for ContactStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContactStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContactStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.ContactStore;{b2cd6fef-2bfd-4fad-8552-4e698097e8eb})"); } -impl ::core::clone::Clone for ContactStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContactStore { type Vtable = IContactStore_Vtbl; } @@ -1430,6 +1266,7 @@ impl ::windows_core::RuntimeName for KnownContactProperties { } #[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoredContact(::windows_core::IUnknown); impl StoredContact { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1636,25 +1473,9 @@ impl StoredContact { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StoredContact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoredContact {} -impl ::core::fmt::Debug for StoredContact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoredContact").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoredContact { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.PersonalInformation.StoredContact;{b070b7b1-263d-4e71-abe7-591d2466570e})"); } -impl ::core::clone::Clone for StoredContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoredContact { type Vtable = IStoredContact_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs index f4a441b3b5..3d92c6fd92 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs @@ -27,7 +27,7 @@ impl IToastNotificationManagerStatics3_Vtbl { CreateToastNotifierForSecondaryTile: CreateToastNotifierForSecondaryTile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 57633be89b..be73bbcd2d 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDualSimTile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDualSimTile { type Vtable = IDualSimTile_Vtbl; } -impl ::core::clone::Clone for IDualSimTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDualSimTile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x143ab213_d05f_4041_a18c_3e3fcb75b41e); } @@ -34,15 +30,11 @@ pub struct IDualSimTile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDualSimTileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDualSimTileStatics { type Vtable = IDualSimTileStatics_Vtbl; } -impl ::core::clone::Clone for IDualSimTileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDualSimTileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50567c9e_c58f_4dc9_b6e8_fa6777eeeb37); } @@ -82,6 +74,7 @@ pub struct IDualSimTileStatics_Vtbl { } #[doc = "*Required features: `\"Phone_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerStatics3(::windows_core::IUnknown); impl IToastNotificationManagerStatics3 { #[doc = "*Required features: `\"UI_Notifications\"`*"] @@ -95,28 +88,12 @@ impl IToastNotificationManagerStatics3 { } } ::windows_core::imp::interface_hierarchy!(IToastNotificationManagerStatics3, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IToastNotificationManagerStatics3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IToastNotificationManagerStatics3 {} -impl ::core::fmt::Debug for IToastNotificationManagerStatics3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IToastNotificationManagerStatics3").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IToastNotificationManagerStatics3 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2717f54b-50df-4455-8e6e-41e0fc8e13ce}"); } unsafe impl ::windows_core::Interface for IToastNotificationManagerStatics3 { type Vtable = IToastNotificationManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2717f54b_50df_4455_8e6e_41e0fc8e13ce); } @@ -131,6 +108,7 @@ pub struct IToastNotificationManagerStatics3_Vtbl { } #[doc = "*Required features: `\"Phone_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DualSimTile(::windows_core::IUnknown); impl DualSimTile { pub fn new() -> ::windows_core::Result { @@ -253,25 +231,9 @@ impl DualSimTile { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DualSimTile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DualSimTile {} -impl ::core::fmt::Debug for DualSimTile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DualSimTile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DualSimTile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.StartScreen.DualSimTile;{143ab213-d05f-4041-a18c-3e3fcb75b41e})"); } -impl ::core::clone::Clone for DualSimTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DualSimTile { type Vtable = IDualSimTile_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs index 0adc759c20..2be809763a 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPowerManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPowerManagerStatics { type Vtable = IPowerManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPowerManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPowerManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25de8fd0_1c5b_11e1_bddb_0800200c9a66); } @@ -28,15 +24,11 @@ pub struct IPowerManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPowerManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPowerManagerStatics2 { type Vtable = IPowerManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IPowerManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPowerManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x596236cf_1918_4551_a466_c51aae373bf8); } diff --git a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs index 4ae961fc7d..a53b07aaf0 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRetailModeStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IRetailModeStatics { type Vtable = IRetailModeStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IRetailModeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IRetailModeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7ded029_fdda_43e7_93fb_e53ab6e89ec3); } diff --git a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs index 879de9cffa..6a0c855fbd 100644 --- a/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameService { type Vtable = IGameService_Vtbl; } -impl ::core::clone::Clone for IGameService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e2d5098_48a9_4efc_afd6_8e6da09003fb); } @@ -45,15 +41,11 @@ pub struct IGameService_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameService2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameService2 { type Vtable = IGameService2_Vtbl; } -impl ::core::clone::Clone for IGameService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2364ef6_ea17_4be5_8d8a_c860885e051f); } @@ -69,15 +61,11 @@ pub struct IGameService2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameServicePropertyCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGameServicePropertyCollection { type Vtable = IGameServicePropertyCollection_Vtbl; } -impl ::core::clone::Clone for IGameServicePropertyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameServicePropertyCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07e57fc8_debb_4609_9cc8_529d16bc2bd9); } @@ -180,6 +168,7 @@ impl ::windows_core::RuntimeName for GameService { } #[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GameServicePropertyCollection(::windows_core::IUnknown); impl GameServicePropertyCollection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -192,25 +181,9 @@ impl GameServicePropertyCollection { } } } -impl ::core::cmp::PartialEq for GameServicePropertyCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GameServicePropertyCollection {} -impl ::core::fmt::Debug for GameServicePropertyCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GameServicePropertyCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GameServicePropertyCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.System.UserProfile.GameServices.Core.GameServicePropertyCollection;{07e57fc8-debb-4609-9cc8-529d16bc2bd9})"); } -impl ::core::clone::Clone for GameServicePropertyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GameServicePropertyCollection { type Vtable = IGameServicePropertyCollection_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Phone/System/mod.rs b/crates/libs/windows/src/Windows/Phone/System/mod.rs index f00c450142..6d320019d2 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -6,15 +6,11 @@ pub mod Profile; pub mod UserProfile; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemProtectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemProtectionStatics { type Vtable = ISystemProtectionStatics_Vtbl; } -impl ::core::clone::Clone for ISystemProtectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemProtectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49c36560_97e1_4d99_8bfb_befeaa6ace6d); } @@ -26,15 +22,11 @@ pub struct ISystemProtectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemProtectionUnlockStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemProtectionUnlockStatics { type Vtable = ISystemProtectionUnlockStatics_Vtbl; } -impl ::core::clone::Clone for ISystemProtectionUnlockStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemProtectionUnlockStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0692fa3f_8f11_4c4b_aa0d_87d7af7b1779); } diff --git a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs index d1fa3838ad..37faa87f48 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackPressedEventArgs { type Vtable = IBackPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6f555ff_64ec_42a2_b93b_2fbc0c36a121); } @@ -21,15 +17,11 @@ pub struct IBackPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICameraEventArgs { type Vtable = ICameraEventArgs_Vtbl; } -impl ::core::clone::Clone for ICameraEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4063bda_201f_473d_bc69_e9e4ac57c9d0); } @@ -40,15 +32,11 @@ pub struct ICameraEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHardwareButtonsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHardwareButtonsStatics { type Vtable = IHardwareButtonsStatics_Vtbl; } -impl ::core::clone::Clone for IHardwareButtonsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHardwareButtonsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x594b8780_da66_4fd8_a776_7506bd0cbfa7); } @@ -67,15 +55,11 @@ pub struct IHardwareButtonsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHardwareButtonsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHardwareButtonsStatics2 { type Vtable = IHardwareButtonsStatics2_Vtbl; } -impl ::core::clone::Clone for IHardwareButtonsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHardwareButtonsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39c6c274_993f_40dd_854c_831a8934b92e); } @@ -110,6 +94,7 @@ pub struct IHardwareButtonsStatics2_Vtbl { } #[doc = "*Required features: `\"Phone_UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackPressedEventArgs(::windows_core::IUnknown); impl BackPressedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -124,25 +109,9 @@ impl BackPressedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BackPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackPressedEventArgs {} -impl ::core::fmt::Debug for BackPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.BackPressedEventArgs;{f6f555ff-64ec-42a2-b93b-2fbc0c36a121})"); } -impl ::core::clone::Clone for BackPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackPressedEventArgs { type Vtable = IBackPressedEventArgs_Vtbl; } @@ -157,27 +126,12 @@ unsafe impl ::core::marker::Send for BackPressedEventArgs {} unsafe impl ::core::marker::Sync for BackPressedEventArgs {} #[doc = "*Required features: `\"Phone_UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CameraEventArgs(::windows_core::IUnknown); impl CameraEventArgs {} -impl ::core::cmp::PartialEq for CameraEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CameraEventArgs {} -impl ::core::fmt::Debug for CameraEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CameraEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CameraEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Phone.UI.Input.CameraEventArgs;{b4063bda-201f-473d-bc69-e9e4ac57c9d0})"); } -impl ::core::clone::Clone for CameraEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CameraEventArgs { type Vtable = ICameraEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs index e792ead633..61d4a9e1b7 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorAuthenticationManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorAuthenticationManager { type Vtable = IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorAuthenticationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorAuthenticationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fd340a5_f574_4320_a08e_0a19a82322aa); } @@ -59,15 +55,11 @@ pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorAuthenticatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorAuthenticatorStatics { type Vtable = IMicrosoftAccountMultiFactorAuthenticatorStatics_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorAuthenticatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorAuthenticatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd964c2e6_f446_4c71_8b79_6ea4024aa9b8); } @@ -79,15 +71,11 @@ pub struct IMicrosoftAccountMultiFactorAuthenticatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorGetSessionsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorGetSessionsResult { type Vtable = IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorGetSessionsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorGetSessionsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e23a9a0_e9fa_497a_95de_6d5747bf974c); } @@ -103,15 +91,11 @@ pub struct IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorOneTimeCodedInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorOneTimeCodedInfo { type Vtable = IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorOneTimeCodedInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorOneTimeCodedInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82ba264b_d87c_4668_a976_40cfae547d08); } @@ -132,15 +116,11 @@ pub struct IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorSessionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorSessionInfo { type Vtable = IMicrosoftAccountMultiFactorSessionInfo_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorSessionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f7eabb4_a278_4635_b765_b494eb260af4); } @@ -164,15 +144,11 @@ pub struct IMicrosoftAccountMultiFactorSessionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { type Vtable = IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl; } -impl ::core::clone::Clone for IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa7ec5fb_da3f_4088_a20d_5618afadb2e5); } @@ -192,6 +168,7 @@ pub struct IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MicrosoftAccountMultiFactorAuthenticationManager(::windows_core::IUnknown); impl MicrosoftAccountMultiFactorAuthenticationManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -308,25 +285,9 @@ impl MicrosoftAccountMultiFactorAuthenticationManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MicrosoftAccountMultiFactorAuthenticationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MicrosoftAccountMultiFactorAuthenticationManager {} -impl ::core::fmt::Debug for MicrosoftAccountMultiFactorAuthenticationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MicrosoftAccountMultiFactorAuthenticationManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MicrosoftAccountMultiFactorAuthenticationManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager;{0fd340a5-f574-4320-a08e-0a19a82322aa})"); } -impl ::core::clone::Clone for MicrosoftAccountMultiFactorAuthenticationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MicrosoftAccountMultiFactorAuthenticationManager { type Vtable = IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl; } @@ -341,6 +302,7 @@ unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorAuthenticationMa unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorAuthenticationManager {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MicrosoftAccountMultiFactorGetSessionsResult(::windows_core::IUnknown); impl MicrosoftAccountMultiFactorGetSessionsResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -360,25 +322,9 @@ impl MicrosoftAccountMultiFactorGetSessionsResult { } } } -impl ::core::cmp::PartialEq for MicrosoftAccountMultiFactorGetSessionsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MicrosoftAccountMultiFactorGetSessionsResult {} -impl ::core::fmt::Debug for MicrosoftAccountMultiFactorGetSessionsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MicrosoftAccountMultiFactorGetSessionsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MicrosoftAccountMultiFactorGetSessionsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult;{4e23a9a0-e9fa-497a-95de-6d5747bf974c})"); } -impl ::core::clone::Clone for MicrosoftAccountMultiFactorGetSessionsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MicrosoftAccountMultiFactorGetSessionsResult { type Vtable = IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl; } @@ -393,6 +339,7 @@ unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorGetSessionsResul unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorGetSessionsResult {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MicrosoftAccountMultiFactorOneTimeCodedInfo(::windows_core::IUnknown); impl MicrosoftAccountMultiFactorOneTimeCodedInfo { pub fn Code(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -428,25 +375,9 @@ impl MicrosoftAccountMultiFactorOneTimeCodedInfo { } } } -impl ::core::cmp::PartialEq for MicrosoftAccountMultiFactorOneTimeCodedInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MicrosoftAccountMultiFactorOneTimeCodedInfo {} -impl ::core::fmt::Debug for MicrosoftAccountMultiFactorOneTimeCodedInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MicrosoftAccountMultiFactorOneTimeCodedInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MicrosoftAccountMultiFactorOneTimeCodedInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo;{82ba264b-d87c-4668-a976-40cfae547d08})"); } -impl ::core::clone::Clone for MicrosoftAccountMultiFactorOneTimeCodedInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MicrosoftAccountMultiFactorOneTimeCodedInfo { type Vtable = IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl; } @@ -461,6 +392,7 @@ unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorOneTimeCodedInfo unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorOneTimeCodedInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MicrosoftAccountMultiFactorSessionInfo(::windows_core::IUnknown); impl MicrosoftAccountMultiFactorSessionInfo { pub fn UserAccountId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -517,25 +449,9 @@ impl MicrosoftAccountMultiFactorSessionInfo { } } } -impl ::core::cmp::PartialEq for MicrosoftAccountMultiFactorSessionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MicrosoftAccountMultiFactorSessionInfo {} -impl ::core::fmt::Debug for MicrosoftAccountMultiFactorSessionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MicrosoftAccountMultiFactorSessionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MicrosoftAccountMultiFactorSessionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo;{5f7eabb4-a278-4635-b765-b494eb260af4})"); } -impl ::core::clone::Clone for MicrosoftAccountMultiFactorSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MicrosoftAccountMultiFactorSessionInfo { type Vtable = IMicrosoftAccountMultiFactorSessionInfo_Vtbl; } @@ -550,6 +466,7 @@ unsafe impl ::core::marker::Send for MicrosoftAccountMultiFactorSessionInfo {} unsafe impl ::core::marker::Sync for MicrosoftAccountMultiFactorSessionInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(::windows_core::IUnknown); impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -578,25 +495,9 @@ impl MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { } } } -impl ::core::cmp::PartialEq for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo {} -impl ::core::fmt::Debug for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo;{aa7ec5fb-da3f-4088-a20d-5618afadb2e5})"); } -impl ::core::clone::Clone for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo { type Vtable = IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs index 5374caad9c..a96e14c21a 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseKeyCredentialRegistrationInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterpriseKeyCredentialRegistrationInfo { type Vtable = IEnterpriseKeyCredentialRegistrationInfo_Vtbl; } -impl ::core::clone::Clone for IEnterpriseKeyCredentialRegistrationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseKeyCredentialRegistrationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38321acc_672b_4823_b603_6b3c753daf97); } @@ -26,15 +22,11 @@ pub struct IEnterpriseKeyCredentialRegistrationInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseKeyCredentialRegistrationManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterpriseKeyCredentialRegistrationManager { type Vtable = IEnterpriseKeyCredentialRegistrationManager_Vtbl; } -impl ::core::clone::Clone for IEnterpriseKeyCredentialRegistrationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseKeyCredentialRegistrationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83f3be3f_a25f_4cba_bb8e_bdc32d03c297); } @@ -49,15 +41,11 @@ pub struct IEnterpriseKeyCredentialRegistrationManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseKeyCredentialRegistrationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnterpriseKeyCredentialRegistrationManagerStatics { type Vtable = IEnterpriseKeyCredentialRegistrationManagerStatics_Vtbl; } -impl ::core::clone::Clone for IEnterpriseKeyCredentialRegistrationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseKeyCredentialRegistrationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77b85e9e_acf4_4bc0_bac2_40bb46efbb3f); } @@ -69,6 +57,7 @@ pub struct IEnterpriseKeyCredentialRegistrationManagerStatics_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Identity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnterpriseKeyCredentialRegistrationInfo(::windows_core::IUnknown); impl EnterpriseKeyCredentialRegistrationInfo { pub fn TenantId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -107,25 +96,9 @@ impl EnterpriseKeyCredentialRegistrationInfo { } } } -impl ::core::cmp::PartialEq for EnterpriseKeyCredentialRegistrationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnterpriseKeyCredentialRegistrationInfo {} -impl ::core::fmt::Debug for EnterpriseKeyCredentialRegistrationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnterpriseKeyCredentialRegistrationInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnterpriseKeyCredentialRegistrationInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo;{38321acc-672b-4823-b603-6b3c753daf97})"); } -impl ::core::clone::Clone for EnterpriseKeyCredentialRegistrationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnterpriseKeyCredentialRegistrationInfo { type Vtable = IEnterpriseKeyCredentialRegistrationInfo_Vtbl; } @@ -140,6 +113,7 @@ unsafe impl ::core::marker::Send for EnterpriseKeyCredentialRegistrationInfo {} unsafe impl ::core::marker::Sync for EnterpriseKeyCredentialRegistrationInfo {} #[doc = "*Required features: `\"Security_Authentication_Identity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnterpriseKeyCredentialRegistrationManager(::windows_core::IUnknown); impl EnterpriseKeyCredentialRegistrationManager { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -163,25 +137,9 @@ impl EnterpriseKeyCredentialRegistrationManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EnterpriseKeyCredentialRegistrationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnterpriseKeyCredentialRegistrationManager {} -impl ::core::fmt::Debug for EnterpriseKeyCredentialRegistrationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnterpriseKeyCredentialRegistrationManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnterpriseKeyCredentialRegistrationManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager;{83f3be3f-a25f-4cba-bb8e-bdc32d03c297})"); } -impl ::core::clone::Clone for EnterpriseKeyCredentialRegistrationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnterpriseKeyCredentialRegistrationManager { type Vtable = IEnterpriseKeyCredentialRegistrationManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs index 9dcebc8c73..5f2cd53f8d 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdAuthenticator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdAuthenticator { type Vtable = IOnlineIdAuthenticator_Vtbl; } -impl ::core::clone::Clone for IOnlineIdAuthenticator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdAuthenticator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa003f58a_29ab_4817_b884_d7516dad18b9); } @@ -35,15 +31,11 @@ pub struct IOnlineIdAuthenticator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdServiceTicket(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdServiceTicket { type Vtable = IOnlineIdServiceTicket_Vtbl; } -impl ::core::clone::Clone for IOnlineIdServiceTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdServiceTicket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc95c547f_d781_4a94_acb8_c59874238c26); } @@ -57,15 +49,11 @@ pub struct IOnlineIdServiceTicket_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdServiceTicketRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdServiceTicketRequest { type Vtable = IOnlineIdServiceTicketRequest_Vtbl; } -impl ::core::clone::Clone for IOnlineIdServiceTicketRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdServiceTicketRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x297445d3_fb63_4135_8909_4e354c061466); } @@ -78,15 +66,11 @@ pub struct IOnlineIdServiceTicketRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdServiceTicketRequestFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdServiceTicketRequestFactory { type Vtable = IOnlineIdServiceTicketRequestFactory_Vtbl; } -impl ::core::clone::Clone for IOnlineIdServiceTicketRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdServiceTicketRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbebb0a08_9e73_4077_9614_08614c0bc245); } @@ -99,15 +83,11 @@ pub struct IOnlineIdServiceTicketRequestFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdSystemAuthenticatorForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdSystemAuthenticatorForUser { type Vtable = IOnlineIdSystemAuthenticatorForUser_Vtbl; } -impl ::core::clone::Clone for IOnlineIdSystemAuthenticatorForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdSystemAuthenticatorForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5798befb_1de4_4186_a2e6_b563f86aaf44); } @@ -128,15 +108,11 @@ pub struct IOnlineIdSystemAuthenticatorForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdSystemAuthenticatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdSystemAuthenticatorStatics { type Vtable = IOnlineIdSystemAuthenticatorStatics_Vtbl; } -impl ::core::clone::Clone for IOnlineIdSystemAuthenticatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdSystemAuthenticatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85047792_f634_41e3_96a4_5164e902c740); } @@ -152,15 +128,11 @@ pub struct IOnlineIdSystemAuthenticatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdSystemIdentity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdSystemIdentity { type Vtable = IOnlineIdSystemIdentity_Vtbl; } -impl ::core::clone::Clone for IOnlineIdSystemIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdSystemIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x743cd20d_b6ca_434d_8124_53ea12685307); } @@ -173,15 +145,11 @@ pub struct IOnlineIdSystemIdentity_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOnlineIdSystemTicketResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOnlineIdSystemTicketResult { type Vtable = IOnlineIdSystemTicketResult_Vtbl; } -impl ::core::clone::Clone for IOnlineIdSystemTicketResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOnlineIdSystemTicketResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb0a5ff8_b098_4acd_9d13_9e640652b5b6); } @@ -195,15 +163,11 @@ pub struct IOnlineIdSystemTicketResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserIdentity(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserIdentity { type Vtable = IUserIdentity_Vtbl; } -impl ::core::clone::Clone for IUserIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2146d9cd_0742_4be3_8a1c_7c7ae679aa88); } @@ -225,6 +189,7 @@ pub struct IUserIdentity_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdAuthenticator(::windows_core::IUnknown); impl OnlineIdAuthenticator { pub fn new() -> ::windows_core::Result { @@ -293,25 +258,9 @@ impl OnlineIdAuthenticator { } } } -impl ::core::cmp::PartialEq for OnlineIdAuthenticator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdAuthenticator {} -impl ::core::fmt::Debug for OnlineIdAuthenticator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdAuthenticator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdAuthenticator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdAuthenticator;{a003f58a-29ab-4817-b884-d7516dad18b9})"); } -impl ::core::clone::Clone for OnlineIdAuthenticator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdAuthenticator { type Vtable = IOnlineIdAuthenticator_Vtbl; } @@ -326,6 +275,7 @@ unsafe impl ::core::marker::Send for OnlineIdAuthenticator {} unsafe impl ::core::marker::Sync for OnlineIdAuthenticator {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdServiceTicket(::windows_core::IUnknown); impl OnlineIdServiceTicket { pub fn Value(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -350,25 +300,9 @@ impl OnlineIdServiceTicket { } } } -impl ::core::cmp::PartialEq for OnlineIdServiceTicket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdServiceTicket {} -impl ::core::fmt::Debug for OnlineIdServiceTicket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdServiceTicket").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdServiceTicket { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket;{c95c547f-d781-4a94-acb8-c59874238c26})"); } -impl ::core::clone::Clone for OnlineIdServiceTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdServiceTicket { type Vtable = IOnlineIdServiceTicket_Vtbl; } @@ -383,6 +317,7 @@ unsafe impl ::core::marker::Send for OnlineIdServiceTicket {} unsafe impl ::core::marker::Sync for OnlineIdServiceTicket {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdServiceTicketRequest(::windows_core::IUnknown); impl OnlineIdServiceTicketRequest { pub fn Service(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -417,25 +352,9 @@ impl OnlineIdServiceTicketRequest { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for OnlineIdServiceTicketRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdServiceTicketRequest {} -impl ::core::fmt::Debug for OnlineIdServiceTicketRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdServiceTicketRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdServiceTicketRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest;{297445d3-fb63-4135-8909-4e354c061466})"); } -impl ::core::clone::Clone for OnlineIdServiceTicketRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdServiceTicketRequest { type Vtable = IOnlineIdServiceTicketRequest_Vtbl; } @@ -479,6 +398,7 @@ impl ::windows_core::RuntimeName for OnlineIdSystemAuthenticator { } #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdSystemAuthenticatorForUser(::windows_core::IUnknown); impl OnlineIdSystemAuthenticatorForUser { #[doc = "*Required features: `\"Foundation\"`*"] @@ -514,25 +434,9 @@ impl OnlineIdSystemAuthenticatorForUser { } } } -impl ::core::cmp::PartialEq for OnlineIdSystemAuthenticatorForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdSystemAuthenticatorForUser {} -impl ::core::fmt::Debug for OnlineIdSystemAuthenticatorForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdSystemAuthenticatorForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdSystemAuthenticatorForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser;{5798befb-1de4-4186-a2e6-b563f86aaf44})"); } -impl ::core::clone::Clone for OnlineIdSystemAuthenticatorForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdSystemAuthenticatorForUser { type Vtable = IOnlineIdSystemAuthenticatorForUser_Vtbl; } @@ -547,6 +451,7 @@ unsafe impl ::core::marker::Send for OnlineIdSystemAuthenticatorForUser {} unsafe impl ::core::marker::Sync for OnlineIdSystemAuthenticatorForUser {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdSystemIdentity(::windows_core::IUnknown); impl OnlineIdSystemIdentity { pub fn Ticket(&self) -> ::windows_core::Result { @@ -564,25 +469,9 @@ impl OnlineIdSystemIdentity { } } } -impl ::core::cmp::PartialEq for OnlineIdSystemIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdSystemIdentity {} -impl ::core::fmt::Debug for OnlineIdSystemIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdSystemIdentity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdSystemIdentity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity;{743cd20d-b6ca-434d-8124-53ea12685307})"); } -impl ::core::clone::Clone for OnlineIdSystemIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdSystemIdentity { type Vtable = IOnlineIdSystemIdentity_Vtbl; } @@ -597,6 +486,7 @@ unsafe impl ::core::marker::Send for OnlineIdSystemIdentity {} unsafe impl ::core::marker::Sync for OnlineIdSystemIdentity {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OnlineIdSystemTicketResult(::windows_core::IUnknown); impl OnlineIdSystemTicketResult { pub fn Identity(&self) -> ::windows_core::Result { @@ -621,25 +511,9 @@ impl OnlineIdSystemTicketResult { } } } -impl ::core::cmp::PartialEq for OnlineIdSystemTicketResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OnlineIdSystemTicketResult {} -impl ::core::fmt::Debug for OnlineIdSystemTicketResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OnlineIdSystemTicketResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OnlineIdSystemTicketResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult;{db0a5ff8-b098-4acd-9d13-9e640652b5b6})"); } -impl ::core::clone::Clone for OnlineIdSystemTicketResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OnlineIdSystemTicketResult { type Vtable = IOnlineIdSystemTicketResult_Vtbl; } @@ -655,6 +529,7 @@ unsafe impl ::core::marker::Sync for OnlineIdSystemTicketResult {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SignOutUserOperation(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl SignOutUserOperation { @@ -723,30 +598,10 @@ impl SignOutUserOperation { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for SignOutUserOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for SignOutUserOperation {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for SignOutUserOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SignOutUserOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for SignOutUserOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.SignOutUserOperation;{5a648006-843a-4da9-865b-9d26e5dfad7b})"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for SignOutUserOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for SignOutUserOperation { type Vtable = super::super::super::Foundation::IAsyncAction_Vtbl; } @@ -802,6 +657,7 @@ unsafe impl ::core::marker::Sync for SignOutUserOperation {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserAuthenticationOperation(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl UserAuthenticationOperation { @@ -873,30 +729,10 @@ impl UserAuthenticationOperation { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for UserAuthenticationOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for UserAuthenticationOperation {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for UserAuthenticationOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserAuthenticationOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for UserAuthenticationOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserAuthenticationOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})))"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for UserAuthenticationOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for UserAuthenticationOperation { type Vtable = super::super::super::Foundation::IAsyncOperation_Vtbl; } @@ -951,6 +787,7 @@ unsafe impl ::core::marker::Send for UserAuthenticationOperation {} unsafe impl ::core::marker::Sync for UserAuthenticationOperation {} #[doc = "*Required features: `\"Security_Authentication_OnlineId\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserIdentity(::windows_core::IUnknown); impl UserIdentity { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1012,25 +849,9 @@ impl UserIdentity { } } } -impl ::core::cmp::PartialEq for UserIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserIdentity {} -impl ::core::fmt::Debug for UserIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserIdentity").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserIdentity { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.OnlineId.UserIdentity;{2146d9cd-0742-4be3-8a1c-7c7ae679aa88})"); } -impl ::core::clone::Clone for UserIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserIdentity { type Vtable = IUserIdentity_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs index 9bf3528eb8..44d6516dbf 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindAllAccountsResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFindAllAccountsResult { type Vtable = IFindAllAccountsResult_Vtbl; } -impl ::core::clone::Clone for IFindAllAccountsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindAllAccountsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5812b5d_b72e_420c_86ab_aac0d7b7261f); } @@ -25,15 +21,11 @@ pub struct IFindAllAccountsResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountEventArgs { type Vtable = IWebAccountEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebAccountEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fb7037d_424e_44ec_977c_ef2415462a5a); } @@ -48,15 +40,11 @@ pub struct IWebAccountEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountMonitor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountMonitor { type Vtable = IWebAccountMonitor_Vtbl; } -impl ::core::clone::Clone for IWebAccountMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7445f5fd_aa9d_4619_8d5d_c138a4ede3e5); } @@ -91,15 +79,11 @@ pub struct IWebAccountMonitor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountMonitor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountMonitor2 { type Vtable = IWebAccountMonitor2_Vtbl; } -impl ::core::clone::Clone for IWebAccountMonitor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountMonitor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7adc1f8_24b8_4f01_9ae5_24545e71233a); } @@ -118,15 +102,11 @@ pub struct IWebAccountMonitor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerStatics { type Vtable = IWebAuthenticationCoreManagerStatics_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aca7c92_a581_4479_9c10_752eff44fd34); } @@ -165,15 +145,11 @@ pub struct IWebAuthenticationCoreManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerStatics2 { type Vtable = IWebAuthenticationCoreManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf584184a_8b57_4820_b6a4_70a5b6fcf44a); } @@ -188,15 +164,11 @@ pub struct IWebAuthenticationCoreManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerStatics3 { type Vtable = IWebAuthenticationCoreManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2404eeb2_8924_4d93_ab3a_99688b419d56); } @@ -211,15 +183,11 @@ pub struct IWebAuthenticationCoreManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerStatics4 { type Vtable = IWebAuthenticationCoreManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54e633fe_96e0_41e8_9832_1298897c2aaf); } @@ -250,15 +218,11 @@ pub struct IWebAuthenticationCoreManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderError(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderError { type Vtable = IWebProviderError_Vtbl; } -impl ::core::clone::Clone for IWebProviderError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb191bb1_50c5_4809_8dca_09c99410245c); } @@ -275,15 +239,11 @@ pub struct IWebProviderError_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderErrorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderErrorFactory { type Vtable = IWebProviderErrorFactory_Vtbl; } -impl ::core::clone::Clone for IWebProviderErrorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderErrorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3c40a2d_89ef_4e37_847f_a8b9d5a32910); } @@ -295,15 +255,11 @@ pub struct IWebProviderErrorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenRequest { type Vtable = IWebTokenRequest_Vtbl; } -impl ::core::clone::Clone for IWebTokenRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb77b4d68_adcb_4673_b364_0cf7b35caf97); } @@ -325,15 +281,11 @@ pub struct IWebTokenRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenRequest2 { type Vtable = IWebTokenRequest2_Vtbl; } -impl ::core::clone::Clone for IWebTokenRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd700c079_30c8_4397_9654_961c3be8b855); } @@ -348,15 +300,11 @@ pub struct IWebTokenRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenRequest3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenRequest3 { type Vtable = IWebTokenRequest3_Vtbl; } -impl ::core::clone::Clone for IWebTokenRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a755b51_3bb1_41a5_a63d_90bc32c7db9a); } @@ -369,15 +317,11 @@ pub struct IWebTokenRequest3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenRequestFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenRequestFactory { type Vtable = IWebTokenRequestFactory_Vtbl; } -impl ::core::clone::Clone for IWebTokenRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cf2141c_0ff0_4c67_b84f_99ddbe4a72c9); } @@ -404,15 +348,11 @@ pub struct IWebTokenRequestFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenRequestResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenRequestResult { type Vtable = IWebTokenRequestResult_Vtbl; } -impl ::core::clone::Clone for IWebTokenRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenRequestResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc12a8305_d1f8_4483_8d54_38fe292784ff); } @@ -433,15 +373,11 @@ pub struct IWebTokenRequestResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenResponse { type Vtable = IWebTokenResponse_Vtbl; } -impl ::core::clone::Clone for IWebTokenResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67a7c5ca_83f6_44c6_a3b1_0eb69e41fa8a); } @@ -462,15 +398,11 @@ pub struct IWebTokenResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebTokenResponseFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebTokenResponseFactory { type Vtable = IWebTokenResponseFactory_Vtbl; } -impl ::core::clone::Clone for IWebTokenResponseFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebTokenResponseFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab6bf7f8_5450_4ef6_97f7_052b0431c0f0); } @@ -490,6 +422,7 @@ pub struct IWebTokenResponseFactory_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FindAllAccountsResult(::windows_core::IUnknown); impl FindAllAccountsResult { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"Security_Credentials\"`*"] @@ -516,25 +449,9 @@ impl FindAllAccountsResult { } } } -impl ::core::cmp::PartialEq for FindAllAccountsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FindAllAccountsResult {} -impl ::core::fmt::Debug for FindAllAccountsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FindAllAccountsResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FindAllAccountsResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.FindAllAccountsResult;{a5812b5d-b72e-420c-86ab-aac0d7b7261f})"); } -impl ::core::clone::Clone for FindAllAccountsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FindAllAccountsResult { type Vtable = IFindAllAccountsResult_Vtbl; } @@ -549,6 +466,7 @@ unsafe impl ::core::marker::Send for FindAllAccountsResult {} unsafe impl ::core::marker::Sync for FindAllAccountsResult {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountEventArgs(::windows_core::IUnknown); impl WebAccountEventArgs { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -561,25 +479,9 @@ impl WebAccountEventArgs { } } } -impl ::core::cmp::PartialEq for WebAccountEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountEventArgs {} -impl ::core::fmt::Debug for WebAccountEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountEventArgs;{6fb7037d-424e-44ec-977c-ef2415462a5a})"); } -impl ::core::clone::Clone for WebAccountEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountEventArgs { type Vtable = IWebAccountEventArgs_Vtbl; } @@ -594,6 +496,7 @@ unsafe impl ::core::marker::Send for WebAccountEventArgs {} unsafe impl ::core::marker::Sync for WebAccountEventArgs {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountMonitor(::windows_core::IUnknown); impl WebAccountMonitor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -669,25 +572,9 @@ impl WebAccountMonitor { unsafe { (::windows_core::Interface::vtable(this).RemoveAccountPictureUpdated)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WebAccountMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountMonitor {} -impl ::core::fmt::Debug for WebAccountMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountMonitor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountMonitor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebAccountMonitor;{7445f5fd-aa9d-4619-8d5d-c138a4ede3e5})"); } -impl ::core::clone::Clone for WebAccountMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountMonitor { type Vtable = IWebAccountMonitor_Vtbl; } @@ -873,6 +760,7 @@ impl ::windows_core::RuntimeName for WebAuthenticationCoreManager { } #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebProviderError(::windows_core::IUnknown); impl WebProviderError { pub fn ErrorCode(&self) -> ::windows_core::Result { @@ -910,25 +798,9 @@ impl WebProviderError { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebProviderError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebProviderError {} -impl ::core::fmt::Debug for WebProviderError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebProviderError").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebProviderError { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebProviderError;{db191bb1-50c5-4809-8dca-09c99410245c})"); } -impl ::core::clone::Clone for WebProviderError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebProviderError { type Vtable = IWebProviderError_Vtbl; } @@ -943,6 +815,7 @@ unsafe impl ::core::marker::Send for WebProviderError {} unsafe impl ::core::marker::Sync for WebProviderError {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebTokenRequest(::windows_core::IUnknown); impl WebTokenRequest { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1054,25 +927,9 @@ impl WebTokenRequest { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebTokenRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebTokenRequest {} -impl ::core::fmt::Debug for WebTokenRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebTokenRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebTokenRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequest;{b77b4d68-adcb-4673-b364-0cf7b35caf97})"); } -impl ::core::clone::Clone for WebTokenRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebTokenRequest { type Vtable = IWebTokenRequest_Vtbl; } @@ -1087,6 +944,7 @@ unsafe impl ::core::marker::Send for WebTokenRequest {} unsafe impl ::core::marker::Sync for WebTokenRequest {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebTokenRequestResult(::windows_core::IUnknown); impl WebTokenRequestResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1122,25 +980,9 @@ impl WebTokenRequestResult { } } } -impl ::core::cmp::PartialEq for WebTokenRequestResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebTokenRequestResult {} -impl ::core::fmt::Debug for WebTokenRequestResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebTokenRequestResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebTokenRequestResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenRequestResult;{c12a8305-d1f8-4483-8d54-38fe292784ff})"); } -impl ::core::clone::Clone for WebTokenRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebTokenRequestResult { type Vtable = IWebTokenRequestResult_Vtbl; } @@ -1155,6 +997,7 @@ unsafe impl ::core::marker::Send for WebTokenRequestResult {} unsafe impl ::core::marker::Sync for WebTokenRequestResult {} #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebTokenResponse(::windows_core::IUnknown); impl WebTokenResponse { pub fn new() -> ::windows_core::Result { @@ -1231,25 +1074,9 @@ impl WebTokenResponse { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebTokenResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebTokenResponse {} -impl ::core::fmt::Debug for WebTokenResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebTokenResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebTokenResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Core.WebTokenResponse;{67a7c5ca-83f6-44c6-a3b1-0eb69e41fa8a})"); } -impl ::core::clone::Clone for WebTokenResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebTokenResponse { type Vtable = IWebTokenResponse_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs index 38c5a64389..0e132711a3 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs @@ -27,8 +27,8 @@ impl IWebAccountProviderBaseReportOperation_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IWebAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Security_Authentication_Web_Core\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IWebAccountProviderSilentReportOperation_Vtbl { ReportUserInteractionRequiredWithError: ReportUserInteractionRequiredWithError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IWebAccountProviderTokenObjects_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"System\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IWebAccountProviderTokenObjects2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -213,8 +213,8 @@ impl IWebAccountProviderTokenOperation_Vtbl { CacheExpirationTime: CacheExpirationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Security_Authentication_Web_Core\"`, `\"implement\"`*"] @@ -239,7 +239,7 @@ impl IWebAccountProviderUIReportOperation_Vtbl { ReportUserCanceled: ReportUserCanceled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs index 4e5fd598ad..a169ba0dc7 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountClientView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountClientView { type Vtable = IWebAccountClientView_Vtbl; } -impl ::core::clone::Clone for IWebAccountClientView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountClientView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7bd66ba_0bc7_4c66_bfd4_65d3082cbca8); } @@ -25,15 +21,11 @@ pub struct IWebAccountClientView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountClientViewFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountClientViewFactory { type Vtable = IWebAccountClientViewFactory_Vtbl; } -impl ::core::clone::Clone for IWebAccountClientViewFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountClientViewFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x616d16a4_de22_4855_a326_06cebf2a3f23); } @@ -52,15 +44,11 @@ pub struct IWebAccountClientViewFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountManagerStatics { type Vtable = IWebAccountManagerStatics_Vtbl; } -impl ::core::clone::Clone for IWebAccountManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2e8e1a6_d49a_4032_84bf_1a2847747bf1); } @@ -111,15 +99,11 @@ pub struct IWebAccountManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountManagerStatics2 { type Vtable = IWebAccountManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IWebAccountManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68a7a829_2d5f_4653_8bb0_bd2fa6bd2d87); } @@ -134,15 +118,11 @@ pub struct IWebAccountManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountManagerStatics3 { type Vtable = IWebAccountManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IWebAccountManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd4523a6_8a4f_4aa2_b15e_03f550af1359); } @@ -169,15 +149,11 @@ pub struct IWebAccountManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountManagerStatics4 { type Vtable = IWebAccountManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IWebAccountManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59ebc2d2_f7db_412f_bc3f_f2fea04430b4); } @@ -196,15 +172,11 @@ pub struct IWebAccountManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountMapManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountMapManagerStatics { type Vtable = IWebAccountMapManagerStatics_Vtbl; } -impl ::core::clone::Clone for IWebAccountMapManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountMapManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8fa446f_3a1b_48a4_8e90_1e59ca6f54db); } @@ -231,15 +203,11 @@ pub struct IWebAccountMapManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderAddAccountOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderAddAccountOperation { type Vtable = IWebAccountProviderAddAccountOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderAddAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderAddAccountOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73ebdccf_4378_4c79_9335_a5d7ab81594e); } @@ -251,6 +219,7 @@ pub struct IWebAccountProviderAddAccountOperation_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderBaseReportOperation(::windows_core::IUnknown); impl IWebAccountProviderBaseReportOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -268,28 +237,12 @@ impl IWebAccountProviderBaseReportOperation { } } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderBaseReportOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebAccountProviderBaseReportOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderBaseReportOperation {} -impl ::core::fmt::Debug for IWebAccountProviderBaseReportOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderBaseReportOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderBaseReportOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bba4acbb-993b-4d57-bbe4-1421e3668b4c}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderBaseReportOperation { type Vtable = IWebAccountProviderBaseReportOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderBaseReportOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderBaseReportOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbba4acbb_993b_4d57_bbe4_1421e3668b4c); } @@ -305,15 +258,11 @@ pub struct IWebAccountProviderBaseReportOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderDeleteAccountOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderDeleteAccountOperation { type Vtable = IWebAccountProviderDeleteAccountOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderDeleteAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderDeleteAccountOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0abb48b8_9e01_49c9_a355_7d48caf7d6ca); } @@ -328,15 +277,11 @@ pub struct IWebAccountProviderDeleteAccountOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderManageAccountOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderManageAccountOperation { type Vtable = IWebAccountProviderManageAccountOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderManageAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderManageAccountOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed20dc5c_d21b_463e_a9b7_c1fd0edae978); } @@ -352,6 +297,7 @@ pub struct IWebAccountProviderManageAccountOperation_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderOperation(::windows_core::IUnknown); impl IWebAccountProviderOperation { pub fn Kind(&self) -> ::windows_core::Result { @@ -363,28 +309,12 @@ impl IWebAccountProviderOperation { } } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebAccountProviderOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderOperation {} -impl ::core::fmt::Debug for IWebAccountProviderOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6d5d2426-10b1-419a-a44e-f9c5161574e6}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderOperation { type Vtable = IWebAccountProviderOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d5d2426_10b1_419a_a44e_f9c5161574e6); } @@ -396,15 +326,11 @@ pub struct IWebAccountProviderOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderRetrieveCookiesOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderRetrieveCookiesOperation { type Vtable = IWebAccountProviderRetrieveCookiesOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderRetrieveCookiesOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderRetrieveCookiesOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a040441_0fa3_4ab1_a01c_20b110358594); } @@ -435,15 +361,11 @@ pub struct IWebAccountProviderRetrieveCookiesOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderSignOutAccountOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderSignOutAccountOperation { type Vtable = IWebAccountProviderSignOutAccountOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderSignOutAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderSignOutAccountOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb890e21d_0c55_47bc_8c72_04a6fc7cac07); } @@ -463,6 +385,7 @@ pub struct IWebAccountProviderSignOutAccountOperation_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderSilentReportOperation(::windows_core::IUnknown); impl IWebAccountProviderSilentReportOperation { pub fn ReportUserInteractionRequired(&self) -> ::windows_core::Result<()> { @@ -494,28 +417,12 @@ impl IWebAccountProviderSilentReportOperation { } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderSilentReportOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAccountProviderSilentReportOperation {} -impl ::core::cmp::PartialEq for IWebAccountProviderSilentReportOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderSilentReportOperation {} -impl ::core::fmt::Debug for IWebAccountProviderSilentReportOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderSilentReportOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderSilentReportOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e0b545f8-3b0f-44da-924c-7b18baaa62a9}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderSilentReportOperation { type Vtable = IWebAccountProviderSilentReportOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderSilentReportOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderSilentReportOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0b545f8_3b0f_44da_924c_7b18baaa62a9); } @@ -531,6 +438,7 @@ pub struct IWebAccountProviderSilentReportOperation_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderTokenObjects(::windows_core::IUnknown); impl IWebAccountProviderTokenObjects { pub fn Operation(&self) -> ::windows_core::Result { @@ -542,28 +450,12 @@ impl IWebAccountProviderTokenObjects { } } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebAccountProviderTokenObjects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderTokenObjects {} -impl ::core::fmt::Debug for IWebAccountProviderTokenObjects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderTokenObjects").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderTokenObjects { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{408f284b-1328-42db-89a4-0bce7a717d8e}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderTokenObjects { type Vtable = IWebAccountProviderTokenObjects_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderTokenObjects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderTokenObjects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x408f284b_1328_42db_89a4_0bce7a717d8e); } @@ -575,6 +467,7 @@ pub struct IWebAccountProviderTokenObjects_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderTokenObjects2(::windows_core::IUnknown); impl IWebAccountProviderTokenObjects2 { #[doc = "*Required features: `\"System\"`*"] @@ -596,28 +489,12 @@ impl IWebAccountProviderTokenObjects2 { } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAccountProviderTokenObjects2 {} -impl ::core::cmp::PartialEq for IWebAccountProviderTokenObjects2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderTokenObjects2 {} -impl ::core::fmt::Debug for IWebAccountProviderTokenObjects2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderTokenObjects2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderTokenObjects2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1020b893-5ca5-4fff-95fb-b820273fc395}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderTokenObjects2 { type Vtable = IWebAccountProviderTokenObjects2_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderTokenObjects2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderTokenObjects2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1020b893_5ca5_4fff_95fb_b820273fc395); } @@ -632,6 +509,7 @@ pub struct IWebAccountProviderTokenObjects2_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderTokenOperation(::windows_core::IUnknown); impl IWebAccountProviderTokenOperation { pub fn ProviderRequest(&self) -> ::windows_core::Result { @@ -675,28 +553,12 @@ impl IWebAccountProviderTokenOperation { } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAccountProviderTokenOperation {} -impl ::core::cmp::PartialEq for IWebAccountProviderTokenOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderTokenOperation {} -impl ::core::fmt::Debug for IWebAccountProviderTokenOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderTokenOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderTokenOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{95c613be-2034-4c38-9434-d26c14b2b4b2}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderTokenOperation { type Vtable = IWebAccountProviderTokenOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderTokenOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderTokenOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95c613be_2034_4c38_9434_d26c14b2b4b2); } @@ -720,6 +582,7 @@ pub struct IWebAccountProviderTokenOperation_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderUIReportOperation(::windows_core::IUnknown); impl IWebAccountProviderUIReportOperation { pub fn ReportUserCanceled(&self) -> ::windows_core::Result<()> { @@ -742,28 +605,12 @@ impl IWebAccountProviderUIReportOperation { } ::windows_core::imp::interface_hierarchy!(IWebAccountProviderUIReportOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IWebAccountProviderUIReportOperation {} -impl ::core::cmp::PartialEq for IWebAccountProviderUIReportOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccountProviderUIReportOperation {} -impl ::core::fmt::Debug for IWebAccountProviderUIReportOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccountProviderUIReportOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccountProviderUIReportOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{28ff92d3-8f80-42fb-944f-b2107bbd42e6}"); } unsafe impl ::windows_core::Interface for IWebAccountProviderUIReportOperation { type Vtable = IWebAccountProviderUIReportOperation_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderUIReportOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderUIReportOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28ff92d3_8f80_42fb_944f_b2107bbd42e6); } @@ -775,15 +622,11 @@ pub struct IWebAccountProviderUIReportOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountScopeManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountScopeManagerStatics { type Vtable = IWebAccountScopeManagerStatics_Vtbl; } -impl ::core::clone::Clone for IWebAccountScopeManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountScopeManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c6ce37c_12b2_423a_bf3d_85b8d7e53656); } @@ -806,15 +649,11 @@ pub struct IWebAccountScopeManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderTokenRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderTokenRequest { type Vtable = IWebProviderTokenRequest_Vtbl; } -impl ::core::clone::Clone for IWebProviderTokenRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderTokenRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e18778b_8805_454b_9f11_468d2af1095a); } @@ -842,15 +681,11 @@ pub struct IWebProviderTokenRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderTokenRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderTokenRequest2 { type Vtable = IWebProviderTokenRequest2_Vtbl; } -impl ::core::clone::Clone for IWebProviderTokenRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderTokenRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5d72e4c_10b1_4aa6_88b1_0b6c9e0c1e46); } @@ -865,15 +700,11 @@ pub struct IWebProviderTokenRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderTokenRequest3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderTokenRequest3 { type Vtable = IWebProviderTokenRequest3_Vtbl; } -impl ::core::clone::Clone for IWebProviderTokenRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderTokenRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b2716aa_4289_446e_9256_dafb6f66a51e); } @@ -890,15 +721,11 @@ pub struct IWebProviderTokenRequest3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderTokenResponse(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderTokenResponse { type Vtable = IWebProviderTokenResponse_Vtbl; } -impl ::core::clone::Clone for IWebProviderTokenResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderTokenResponse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef213793_ef55_4186_b7ce_8cb2e7f9849e); } @@ -913,15 +740,11 @@ pub struct IWebProviderTokenResponse_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProviderTokenResponseFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebProviderTokenResponseFactory { type Vtable = IWebProviderTokenResponseFactory_Vtbl; } -impl ::core::clone::Clone for IWebProviderTokenResponseFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebProviderTokenResponseFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa49d99a_25ba_4077_9cfa_9db4dea7b71a); } @@ -936,6 +759,7 @@ pub struct IWebProviderTokenResponseFactory_Vtbl { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountClientView(::windows_core::IUnknown); impl WebAccountClientView { #[doc = "*Required features: `\"Foundation\"`*"] @@ -989,25 +813,9 @@ impl WebAccountClientView { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebAccountClientView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountClientView {} -impl ::core::fmt::Debug for WebAccountClientView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountClientView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountClientView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountClientView;{e7bd66ba-0bc7-4c66-bfd4-65d3082cbca8})"); } -impl ::core::clone::Clone for WebAccountClientView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountClientView { type Vtable = IWebAccountClientView_Vtbl; } @@ -1322,6 +1130,7 @@ impl ::windows_core::RuntimeName for WebAccountManager { } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderAddAccountOperation(::windows_core::IUnknown); impl WebAccountProviderAddAccountOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1336,25 +1145,9 @@ impl WebAccountProviderAddAccountOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderAddAccountOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderAddAccountOperation {} -impl ::core::fmt::Debug for WebAccountProviderAddAccountOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderAddAccountOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderAddAccountOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation;{73ebdccf-4378-4c79-9335-a5d7ab81594e})"); } -impl ::core::clone::Clone for WebAccountProviderAddAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderAddAccountOperation { type Vtable = IWebAccountProviderAddAccountOperation_Vtbl; } @@ -1370,6 +1163,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderAddAccountOperation {} unsafe impl ::core::marker::Sync for WebAccountProviderAddAccountOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderDeleteAccountOperation(::windows_core::IUnknown); impl WebAccountProviderDeleteAccountOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1402,25 +1196,9 @@ impl WebAccountProviderDeleteAccountOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderDeleteAccountOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderDeleteAccountOperation {} -impl ::core::fmt::Debug for WebAccountProviderDeleteAccountOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderDeleteAccountOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderDeleteAccountOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation;{0abb48b8-9e01-49c9-a355-7d48caf7d6ca})"); } -impl ::core::clone::Clone for WebAccountProviderDeleteAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderDeleteAccountOperation { type Vtable = IWebAccountProviderDeleteAccountOperation_Vtbl; } @@ -1437,6 +1215,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderDeleteAccountOperation {} unsafe impl ::core::marker::Sync for WebAccountProviderDeleteAccountOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderGetTokenSilentOperation(::windows_core::IUnknown); impl WebAccountProviderGetTokenSilentOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1504,25 +1283,9 @@ impl WebAccountProviderGetTokenSilentOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderGetTokenSilentOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderGetTokenSilentOperation {} -impl ::core::fmt::Debug for WebAccountProviderGetTokenSilentOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderGetTokenSilentOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderGetTokenSilentOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); } -impl ::core::clone::Clone for WebAccountProviderGetTokenSilentOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderGetTokenSilentOperation { type Vtable = IWebAccountProviderTokenOperation_Vtbl; } @@ -1541,6 +1304,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderGetTokenSilentOperation { unsafe impl ::core::marker::Sync for WebAccountProviderGetTokenSilentOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderManageAccountOperation(::windows_core::IUnknown); impl WebAccountProviderManageAccountOperation { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1564,25 +1328,9 @@ impl WebAccountProviderManageAccountOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderManageAccountOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderManageAccountOperation {} -impl ::core::fmt::Debug for WebAccountProviderManageAccountOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderManageAccountOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderManageAccountOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation;{ed20dc5c-d21b-463e-a9b7-c1fd0edae978})"); } -impl ::core::clone::Clone for WebAccountProviderManageAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderManageAccountOperation { type Vtable = IWebAccountProviderManageAccountOperation_Vtbl; } @@ -1598,6 +1346,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderManageAccountOperation {} unsafe impl ::core::marker::Sync for WebAccountProviderManageAccountOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderRequestTokenOperation(::windows_core::IUnknown); impl WebAccountProviderRequestTokenOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1656,25 +1405,9 @@ impl WebAccountProviderRequestTokenOperation { unsafe { (::windows_core::Interface::vtable(this).ReportUserCanceled)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WebAccountProviderRequestTokenOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderRequestTokenOperation {} -impl ::core::fmt::Debug for WebAccountProviderRequestTokenOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderRequestTokenOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderRequestTokenOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation;{95c613be-2034-4c38-9434-d26c14b2b4b2})"); } -impl ::core::clone::Clone for WebAccountProviderRequestTokenOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderRequestTokenOperation { type Vtable = IWebAccountProviderTokenOperation_Vtbl; } @@ -1693,6 +1426,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderRequestTokenOperation {} unsafe impl ::core::marker::Sync for WebAccountProviderRequestTokenOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderRetrieveCookiesOperation(::windows_core::IUnknown); impl WebAccountProviderRetrieveCookiesOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1761,25 +1495,9 @@ impl WebAccountProviderRetrieveCookiesOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderRetrieveCookiesOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderRetrieveCookiesOperation {} -impl ::core::fmt::Debug for WebAccountProviderRetrieveCookiesOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderRetrieveCookiesOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderRetrieveCookiesOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation;{5a040441-0fa3-4ab1-a01c-20b110358594})"); } -impl ::core::clone::Clone for WebAccountProviderRetrieveCookiesOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderRetrieveCookiesOperation { type Vtable = IWebAccountProviderRetrieveCookiesOperation_Vtbl; } @@ -1796,6 +1514,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderRetrieveCookiesOperation unsafe impl ::core::marker::Sync for WebAccountProviderRetrieveCookiesOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderSignOutAccountOperation(::windows_core::IUnknown); impl WebAccountProviderSignOutAccountOperation { pub fn ReportCompleted(&self) -> ::windows_core::Result<()> { @@ -1844,25 +1563,9 @@ impl WebAccountProviderSignOutAccountOperation { } } } -impl ::core::cmp::PartialEq for WebAccountProviderSignOutAccountOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderSignOutAccountOperation {} -impl ::core::fmt::Debug for WebAccountProviderSignOutAccountOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderSignOutAccountOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderSignOutAccountOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation;{b890e21d-0c55-47bc-8c72-04a6fc7cac07})"); } -impl ::core::clone::Clone for WebAccountProviderSignOutAccountOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderSignOutAccountOperation { type Vtable = IWebAccountProviderSignOutAccountOperation_Vtbl; } @@ -1879,6 +1582,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderSignOutAccountOperation { unsafe impl ::core::marker::Sync for WebAccountProviderSignOutAccountOperation {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderTriggerDetails(::windows_core::IUnknown); impl WebAccountProviderTriggerDetails { pub fn Operation(&self) -> ::windows_core::Result { @@ -1898,25 +1602,9 @@ impl WebAccountProviderTriggerDetails { } } } -impl ::core::cmp::PartialEq for WebAccountProviderTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderTriggerDetails {} -impl ::core::fmt::Debug for WebAccountProviderTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails;{408f284b-1328-42db-89a4-0bce7a717d8e})"); } -impl ::core::clone::Clone for WebAccountProviderTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderTriggerDetails { type Vtable = IWebAccountProviderTokenObjects_Vtbl; } @@ -1933,6 +1621,7 @@ unsafe impl ::core::marker::Send for WebAccountProviderTriggerDetails {} unsafe impl ::core::marker::Sync for WebAccountProviderTriggerDetails {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebProviderTokenRequest(::windows_core::IUnknown); impl WebProviderTokenRequest { #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -2017,25 +1706,9 @@ impl WebProviderTokenRequest { } } } -impl ::core::cmp::PartialEq for WebProviderTokenRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebProviderTokenRequest {} -impl ::core::fmt::Debug for WebProviderTokenRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebProviderTokenRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebProviderTokenRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest;{1e18778b-8805-454b-9f11-468d2af1095a})"); } -impl ::core::clone::Clone for WebProviderTokenRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebProviderTokenRequest { type Vtable = IWebProviderTokenRequest_Vtbl; } @@ -2050,6 +1723,7 @@ unsafe impl ::core::marker::Send for WebProviderTokenRequest {} unsafe impl ::core::marker::Sync for WebProviderTokenRequest {} #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebProviderTokenResponse(::windows_core::IUnknown); impl WebProviderTokenResponse { #[doc = "*Required features: `\"Security_Authentication_Web_Core\"`*"] @@ -2078,25 +1752,9 @@ impl WebProviderTokenResponse { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebProviderTokenResponse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebProviderTokenResponse {} -impl ::core::fmt::Debug for WebProviderTokenResponse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebProviderTokenResponse").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebProviderTokenResponse { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse;{ef213793-ef55-4186-b7ce-8cb2e7f9849e})"); } -impl ::core::clone::Clone for WebProviderTokenResponse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebProviderTokenResponse { type Vtable = IWebProviderTokenResponse_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs index f204340ccb..0ef5144952 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -4,15 +4,11 @@ pub mod Core; pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationBrokerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationBrokerStatics { type Vtable = IWebAuthenticationBrokerStatics_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationBrokerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationBrokerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f149f1a_e673_40b5_bc22_201a6864a37b); } @@ -35,15 +31,11 @@ pub struct IWebAuthenticationBrokerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationBrokerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationBrokerStatics2 { type Vtable = IWebAuthenticationBrokerStatics2_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationBrokerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationBrokerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73cdfb9e_14e7_41da_a971_aaf4410b621e); } @@ -74,15 +66,11 @@ pub struct IWebAuthenticationBrokerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAuthenticationResult { type Vtable = IWebAuthenticationResult_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64002b4b_ede9_470a_a5cd_0323faf6e262); } @@ -193,6 +181,7 @@ impl ::windows_core::RuntimeName for WebAuthenticationBroker { } #[doc = "*Required features: `\"Security_Authentication_Web\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAuthenticationResult(::windows_core::IUnknown); impl WebAuthenticationResult { pub fn ResponseData(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -217,25 +206,9 @@ impl WebAuthenticationResult { } } } -impl ::core::cmp::PartialEq for WebAuthenticationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAuthenticationResult {} -impl ::core::fmt::Debug for WebAuthenticationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAuthenticationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAuthenticationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authentication.Web.WebAuthenticationResult;{64002b4b-ede9-470a-a5cd-0323faf6e262})"); } -impl ::core::clone::Clone for WebAuthenticationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAuthenticationResult { type Vtable = IWebAuthenticationResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs index 410435cfc7..9e6300f261 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCapability(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCapability { type Vtable = IAppCapability_Vtbl; } -impl ::core::clone::Clone for IAppCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCapability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c49d915_8a2a_4295_9437_2df7c396aff4); } @@ -37,15 +33,11 @@ pub struct IAppCapability_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCapability2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCapability2 { type Vtable = IAppCapability2_Vtbl; } -impl ::core::clone::Clone for IAppCapability2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCapability2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11c7ccb6_c74f_50a3_b960_88008767d939); } @@ -58,15 +50,11 @@ pub struct IAppCapability2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCapabilityAccessChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCapabilityAccessChangedEventArgs { type Vtable = IAppCapabilityAccessChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppCapabilityAccessChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCapabilityAccessChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a578d15_bdd7_457e_8cca_6f53bd2e5944); } @@ -77,15 +65,11 @@ pub struct IAppCapabilityAccessChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppCapabilityStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppCapabilityStatics { type Vtable = IAppCapabilityStatics_Vtbl; } -impl ::core::clone::Clone for IAppCapabilityStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppCapabilityStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c353e2a_46ee_44e5_af3d_6ad3fc49bd22); } @@ -109,6 +93,7 @@ pub struct IAppCapabilityStatics_Vtbl { } #[doc = "*Required features: `\"Security_Authorization_AppCapabilityAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCapability(::windows_core::IUnknown); impl AppCapability { pub fn CapabilityName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -218,25 +203,9 @@ impl AppCapability { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppCapability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCapability {} -impl ::core::fmt::Debug for AppCapability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCapability").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCapability { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapability;{4c49d915-8a2a-4295-9437-2df7c396aff4})"); } -impl ::core::clone::Clone for AppCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCapability { type Vtable = IAppCapability_Vtbl; } @@ -251,27 +220,12 @@ unsafe impl ::core::marker::Send for AppCapability {} unsafe impl ::core::marker::Sync for AppCapability {} #[doc = "*Required features: `\"Security_Authorization_AppCapabilityAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppCapabilityAccessChangedEventArgs(::windows_core::IUnknown); impl AppCapabilityAccessChangedEventArgs {} -impl ::core::cmp::PartialEq for AppCapabilityAccessChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppCapabilityAccessChangedEventArgs {} -impl ::core::fmt::Debug for AppCapabilityAccessChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppCapabilityAccessChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppCapabilityAccessChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs;{0a578d15-bdd7-457e-8cca-6f53bd2e5944})"); } -impl ::core::clone::Clone for AppCapabilityAccessChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppCapabilityAccessChangedEventArgs { type Vtable = IAppCapabilityAccessChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs index 2e279e5958..a5aeb961d9 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialPickerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialPickerOptions { type Vtable = ICredentialPickerOptions_Vtbl; } -impl ::core::clone::Clone for ICredentialPickerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialPickerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x965a0b4c_95fa_467f_992b_0b22e5859bf6); } @@ -45,15 +41,11 @@ pub struct ICredentialPickerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialPickerResults(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialPickerResults { type Vtable = ICredentialPickerResults_Vtbl; } -impl ::core::clone::Clone for ICredentialPickerResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialPickerResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1948f99a_cc30_410c_9c38_cc0884c5b3d7); } @@ -74,15 +66,11 @@ pub struct ICredentialPickerResults_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialPickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialPickerStatics { type Vtable = ICredentialPickerStatics_Vtbl; } -impl ::core::clone::Clone for ICredentialPickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialPickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa3a5c73_c9ea_4782_99fb_e6d7e938e12d); } @@ -105,15 +93,11 @@ pub struct ICredentialPickerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserConsentVerifierStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserConsentVerifierStatics { type Vtable = IUserConsentVerifierStatics_Vtbl; } -impl ::core::clone::Clone for IUserConsentVerifierStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserConsentVerifierStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf4f3f91_564c_4ddc_b8b5_973447627c65); } @@ -171,6 +155,7 @@ impl ::windows_core::RuntimeName for CredentialPicker { } #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CredentialPickerOptions(::windows_core::IUnknown); impl CredentialPickerOptions { pub fn new() -> ::windows_core::Result { @@ -298,25 +283,9 @@ impl CredentialPickerOptions { } } } -impl ::core::cmp::PartialEq for CredentialPickerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CredentialPickerOptions {} -impl ::core::fmt::Debug for CredentialPickerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CredentialPickerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CredentialPickerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerOptions;{965a0b4c-95fa-467f-992b-0b22e5859bf6})"); } -impl ::core::clone::Clone for CredentialPickerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CredentialPickerOptions { type Vtable = ICredentialPickerOptions_Vtbl; } @@ -329,6 +298,7 @@ impl ::windows_core::RuntimeName for CredentialPickerOptions { ::windows_core::imp::interface_hierarchy!(CredentialPickerOptions, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Security_Credentials_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CredentialPickerResults(::windows_core::IUnknown); impl CredentialPickerResults { pub fn ErrorCode(&self) -> ::windows_core::Result { @@ -383,25 +353,9 @@ impl CredentialPickerResults { } } } -impl ::core::cmp::PartialEq for CredentialPickerResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CredentialPickerResults {} -impl ::core::fmt::Debug for CredentialPickerResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CredentialPickerResults").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CredentialPickerResults { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.UI.CredentialPickerResults;{1948f99a-cc30-410c-9c38-cc0884c5b3d7})"); } -impl ::core::clone::Clone for CredentialPickerResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CredentialPickerResults { type Vtable = ICredentialPickerResults_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs index 4280b8c658..b9902f6b5b 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs @@ -51,7 +51,7 @@ impl IWebAccount_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index 2ea89fd84c..98d379c3c2 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -2,15 +2,11 @@ pub mod UI; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialFactory { type Vtable = ICredentialFactory_Vtbl; } -impl ::core::clone::Clone for ICredentialFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54ef13a1_bf26_47b5_97dd_de779b7cad58); } @@ -22,15 +18,11 @@ pub struct ICredentialFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyCredential(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyCredential { type Vtable = IKeyCredential_Vtbl; } -impl ::core::clone::Clone for IKeyCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9585ef8d_457b_4847_b11a_fa960bbdb138); } @@ -58,15 +50,11 @@ pub struct IKeyCredential_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyCredentialAttestationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyCredentialAttestationResult { type Vtable = IKeyCredentialAttestationResult_Vtbl; } -impl ::core::clone::Clone for IKeyCredentialAttestationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyCredentialAttestationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78aab3a1_a3c1_4103_b6cc_472c44171cbb); } @@ -86,15 +74,11 @@ pub struct IKeyCredentialAttestationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyCredentialManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyCredentialManagerStatics { type Vtable = IKeyCredentialManagerStatics_Vtbl; } -impl ::core::clone::Clone for IKeyCredentialManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyCredentialManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aac468b_0ef1_4ce0_8290_4106da6a63b5); } @@ -125,15 +109,11 @@ pub struct IKeyCredentialManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyCredentialOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyCredentialOperationResult { type Vtable = IKeyCredentialOperationResult_Vtbl; } -impl ::core::clone::Clone for IKeyCredentialOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyCredentialOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf53786c1_5261_4cdd_976d_cc909ac71620); } @@ -149,15 +129,11 @@ pub struct IKeyCredentialOperationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyCredentialRetrievalResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyCredentialRetrievalResult { type Vtable = IKeyCredentialRetrievalResult_Vtbl; } -impl ::core::clone::Clone for IKeyCredentialRetrievalResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyCredentialRetrievalResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58cd7703_8d87_4249_9b58_f6598cc9644e); } @@ -170,15 +146,11 @@ pub struct IKeyCredentialRetrievalResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPasswordCredential(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPasswordCredential { type Vtable = IPasswordCredential_Vtbl; } -impl ::core::clone::Clone for IPasswordCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPasswordCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ab18989_c720_41a7_a6c1_feadb36329a0); } @@ -200,15 +172,11 @@ pub struct IPasswordCredential_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPasswordVault(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPasswordVault { type Vtable = IPasswordVault_Vtbl; } -impl ::core::clone::Clone for IPasswordVault { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPasswordVault { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61fd2c0b_c8d4_48c1_a54f_bc5a64205af2); } @@ -234,6 +202,7 @@ pub struct IPasswordVault_Vtbl { } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccount(::windows_core::IUnknown); impl IWebAccount { pub fn WebAccountProvider(&self) -> ::windows_core::Result { @@ -259,28 +228,12 @@ impl IWebAccount { } } ::windows_core::imp::interface_hierarchy!(IWebAccount, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAccount {} -impl ::core::fmt::Debug for IWebAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAccount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebAccount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{69473eb2-8031-49be-80bb-96cb46d99aba}"); } unsafe impl ::windows_core::Interface for IWebAccount { type Vtable = IWebAccount_Vtbl; } -impl ::core::clone::Clone for IWebAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69473eb2_8031_49be_80bb_96cb46d99aba); } @@ -294,15 +247,11 @@ pub struct IWebAccount_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccount2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccount2 { type Vtable = IWebAccount2_Vtbl; } -impl ::core::clone::Clone for IWebAccount2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccount2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b56d6f8_990b_4eb5_94a7_5621f3a8b824); } @@ -330,15 +279,11 @@ pub struct IWebAccount2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountFactory { type Vtable = IWebAccountFactory_Vtbl; } -impl ::core::clone::Clone for IWebAccountFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac9afb39_1de9_4e92_b78f_0581a87f6e5c); } @@ -350,15 +295,11 @@ pub struct IWebAccountFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProvider { type Vtable = IWebAccountProvider_Vtbl; } -impl ::core::clone::Clone for IWebAccountProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29dcc8c3_7ab9_4a7c_a336_b942f9dbf7c7); } @@ -375,15 +316,11 @@ pub struct IWebAccountProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProvider2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProvider2 { type Vtable = IWebAccountProvider2_Vtbl; } -impl ::core::clone::Clone for IWebAccountProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a01eb05_4e42_41d4_b518_e008a5163614); } @@ -396,15 +333,11 @@ pub struct IWebAccountProvider2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProvider3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProvider3 { type Vtable = IWebAccountProvider3_Vtbl; } -impl ::core::clone::Clone for IWebAccountProvider3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProvider3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda1c518b_970d_4d49_825c_f2706f8ca7fe); } @@ -419,15 +352,11 @@ pub struct IWebAccountProvider3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProvider4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProvider4 { type Vtable = IWebAccountProvider4_Vtbl; } -impl ::core::clone::Clone for IWebAccountProvider4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProvider4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x718fd8db_e796_4210_b74e_84d29894b080); } @@ -439,15 +368,11 @@ pub struct IWebAccountProvider4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderFactory { type Vtable = IWebAccountProviderFactory_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d767df1_e1e1_4b9a_a774_5c7c7e3bf371); } @@ -462,6 +387,7 @@ pub struct IWebAccountProviderFactory_Vtbl { } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyCredential(::windows_core::IUnknown); impl KeyCredential { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -511,25 +437,9 @@ impl KeyCredential { } } } -impl ::core::cmp::PartialEq for KeyCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyCredential {} -impl ::core::fmt::Debug for KeyCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyCredential").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyCredential { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredential;{9585ef8d-457b-4847-b11a-fa960bbdb138})"); } -impl ::core::clone::Clone for KeyCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyCredential { type Vtable = IKeyCredential_Vtbl; } @@ -544,6 +454,7 @@ unsafe impl ::core::marker::Send for KeyCredential {} unsafe impl ::core::marker::Sync for KeyCredential {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyCredentialAttestationResult(::windows_core::IUnknown); impl KeyCredentialAttestationResult { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -572,25 +483,9 @@ impl KeyCredentialAttestationResult { } } } -impl ::core::cmp::PartialEq for KeyCredentialAttestationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyCredentialAttestationResult {} -impl ::core::fmt::Debug for KeyCredentialAttestationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyCredentialAttestationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyCredentialAttestationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialAttestationResult;{78aab3a1-a3c1-4103-b6cc-472c44171cbb})"); } -impl ::core::clone::Clone for KeyCredentialAttestationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyCredentialAttestationResult { type Vtable = IKeyCredentialAttestationResult_Vtbl; } @@ -657,6 +552,7 @@ impl ::windows_core::RuntimeName for KeyCredentialManager { } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyCredentialOperationResult(::windows_core::IUnknown); impl KeyCredentialOperationResult { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -676,25 +572,9 @@ impl KeyCredentialOperationResult { } } } -impl ::core::cmp::PartialEq for KeyCredentialOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyCredentialOperationResult {} -impl ::core::fmt::Debug for KeyCredentialOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyCredentialOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyCredentialOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialOperationResult;{f53786c1-5261-4cdd-976d-cc909ac71620})"); } -impl ::core::clone::Clone for KeyCredentialOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyCredentialOperationResult { type Vtable = IKeyCredentialOperationResult_Vtbl; } @@ -709,6 +589,7 @@ unsafe impl ::core::marker::Send for KeyCredentialOperationResult {} unsafe impl ::core::marker::Sync for KeyCredentialOperationResult {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyCredentialRetrievalResult(::windows_core::IUnknown); impl KeyCredentialRetrievalResult { pub fn Credential(&self) -> ::windows_core::Result { @@ -726,25 +607,9 @@ impl KeyCredentialRetrievalResult { } } } -impl ::core::cmp::PartialEq for KeyCredentialRetrievalResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyCredentialRetrievalResult {} -impl ::core::fmt::Debug for KeyCredentialRetrievalResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyCredentialRetrievalResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyCredentialRetrievalResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.KeyCredentialRetrievalResult;{58cd7703-8d87-4249-9b58-f6598cc9644e})"); } -impl ::core::clone::Clone for KeyCredentialRetrievalResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyCredentialRetrievalResult { type Vtable = IKeyCredentialRetrievalResult_Vtbl; } @@ -759,6 +624,7 @@ unsafe impl ::core::marker::Send for KeyCredentialRetrievalResult {} unsafe impl ::core::marker::Sync for KeyCredentialRetrievalResult {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PasswordCredential(::windows_core::IUnknown); impl PasswordCredential { pub fn new() -> ::windows_core::Result { @@ -826,25 +692,9 @@ impl PasswordCredential { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PasswordCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PasswordCredential {} -impl ::core::fmt::Debug for PasswordCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PasswordCredential").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PasswordCredential { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredential;{6ab18989-c720-41a7-a6c1-feadb36329a0})"); } -impl ::core::clone::Clone for PasswordCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PasswordCredential { type Vtable = IPasswordCredential_Vtbl; } @@ -860,6 +710,7 @@ unsafe impl ::core::marker::Sync for PasswordCredential {} #[doc = "*Required features: `\"Security_Credentials\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PasswordCredentialPropertyStore(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PasswordCredentialPropertyStore { @@ -959,30 +810,10 @@ impl PasswordCredentialPropertyStore { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for PasswordCredentialPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for PasswordCredentialPropertyStore {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for PasswordCredentialPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PasswordCredentialPropertyStore").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for PasswordCredentialPropertyStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordCredentialPropertyStore;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for PasswordCredentialPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for PasswordCredentialPropertyStore { type Vtable = super::super::Foundation::Collections::IPropertySet_Vtbl; } @@ -1026,6 +857,7 @@ unsafe impl ::core::marker::Send for PasswordCredentialPropertyStore {} unsafe impl ::core::marker::Sync for PasswordCredentialPropertyStore {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PasswordVault(::windows_core::IUnknown); impl PasswordVault { pub fn new() -> ::windows_core::Result { @@ -1084,25 +916,9 @@ impl PasswordVault { } } } -impl ::core::cmp::PartialEq for PasswordVault { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PasswordVault {} -impl ::core::fmt::Debug for PasswordVault { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PasswordVault").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PasswordVault { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.PasswordVault;{61fd2c0b-c8d4-48c1-a54f-bc5a64205af2})"); } -impl ::core::clone::Clone for PasswordVault { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PasswordVault { type Vtable = IPasswordVault_Vtbl; } @@ -1117,6 +933,7 @@ unsafe impl ::core::marker::Send for PasswordVault {} unsafe impl ::core::marker::Sync for PasswordVault {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccount(::windows_core::IUnknown); impl WebAccount { pub fn WebAccountProvider(&self) -> ::windows_core::Result { @@ -1198,25 +1015,9 @@ impl WebAccount { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccount {} -impl ::core::fmt::Debug for WebAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccount").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccount { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccount;{69473eb2-8031-49be-80bb-96cb46d99aba})"); } -impl ::core::clone::Clone for WebAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccount { type Vtable = IWebAccount_Vtbl; } @@ -1232,6 +1033,7 @@ unsafe impl ::core::marker::Send for WebAccount {} unsafe impl ::core::marker::Sync for WebAccount {} #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProvider(::windows_core::IUnknown); impl WebAccountProvider { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1304,25 +1106,9 @@ impl WebAccountProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebAccountProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProvider {} -impl ::core::fmt::Debug for WebAccountProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Credentials.WebAccountProvider;{29dcc8c3-7ab9-4a7c-a336-b942f9dbf7c7})"); } -impl ::core::clone::Clone for WebAccountProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProvider { type Vtable = IWebAccountProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs index 6cf687382f..f3671e25e0 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificate { type Vtable = ICertificate_Vtbl; } -impl ::core::clone::Clone for ICertificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x333f740c_04d8_43b3_b278_8c5fcc9be5a0); } @@ -52,15 +48,11 @@ pub struct ICertificate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificate2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificate2 { type Vtable = ICertificate2_Vtbl; } -impl ::core::clone::Clone for ICertificate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17b8374c_8a25_4d96_a492_8fc29ac4fda6); } @@ -77,15 +69,11 @@ pub struct ICertificate2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificate3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificate3 { type Vtable = ICertificate3_Vtbl; } -impl ::core::clone::Clone for ICertificate3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificate3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe51a966_ae5f_4652_ace7_c6d7e7724cf3); } @@ -99,15 +87,11 @@ pub struct ICertificate3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateChain(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateChain { type Vtable = ICertificateChain_Vtbl; } -impl ::core::clone::Clone for ICertificateChain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateChain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20bf5385_3691_4501_a62c_fd97278b31ee); } @@ -124,15 +108,11 @@ pub struct ICertificateChain_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateEnrollmentManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateEnrollmentManagerStatics { type Vtable = ICertificateEnrollmentManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICertificateEnrollmentManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateEnrollmentManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8846ef3f_a986_48fb_9fd7_9aec06935bf1); } @@ -155,15 +135,11 @@ pub struct ICertificateEnrollmentManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateEnrollmentManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateEnrollmentManagerStatics2 { type Vtable = ICertificateEnrollmentManagerStatics2_Vtbl; } -impl ::core::clone::Clone for ICertificateEnrollmentManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateEnrollmentManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc5b1c33_6429_4014_999c_5d9735802d1d); } @@ -179,15 +155,11 @@ pub struct ICertificateEnrollmentManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateEnrollmentManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateEnrollmentManagerStatics3 { type Vtable = ICertificateEnrollmentManagerStatics3_Vtbl; } -impl ::core::clone::Clone for ICertificateEnrollmentManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateEnrollmentManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdec82be_617c_425a_b72d_398b26ac7264); } @@ -202,15 +174,11 @@ pub struct ICertificateEnrollmentManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateExtension(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateExtension { type Vtable = ICertificateExtension_Vtbl; } -impl ::core::clone::Clone for ICertificateExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84cf0656_a9e6_454d_8e45_2ea7c4bcd53b); } @@ -228,15 +196,11 @@ pub struct ICertificateExtension_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateFactory { type Vtable = ICertificateFactory_Vtbl; } -impl ::core::clone::Clone for ICertificateFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17b4221c_4baf_44a2_9608_04fb62b16942); } @@ -251,15 +215,11 @@ pub struct ICertificateFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateKeyUsages(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateKeyUsages { type Vtable = ICertificateKeyUsages_Vtbl; } -impl ::core::clone::Clone for ICertificateKeyUsages { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateKeyUsages { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ac6206f_e1cf_486a_b485_a69c83e46fd1); } @@ -286,15 +246,11 @@ pub struct ICertificateKeyUsages_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateQuery { type Vtable = ICertificateQuery_Vtbl; } -impl ::core::clone::Clone for ICertificateQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b082a31_a728_4916_b5ee_ffcb8acf2417); } @@ -317,15 +273,11 @@ pub struct ICertificateQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateQuery2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateQuery2 { type Vtable = ICertificateQuery2_Vtbl; } -impl ::core::clone::Clone for ICertificateQuery2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateQuery2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x935a0af7_0bd9_4f75_b8c2_e27a7f74eecd); } @@ -342,15 +294,11 @@ pub struct ICertificateQuery2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateRequestProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateRequestProperties { type Vtable = ICertificateRequestProperties_Vtbl; } -impl ::core::clone::Clone for ICertificateRequestProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateRequestProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x487e84f6_94e2_4dce_8833_1a700a37a29a); } @@ -379,15 +327,11 @@ pub struct ICertificateRequestProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateRequestProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateRequestProperties2 { type Vtable = ICertificateRequestProperties2_Vtbl; } -impl ::core::clone::Clone for ICertificateRequestProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateRequestProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da0c954_d73f_4ff3_a0a6_0677c0ada05b); } @@ -404,15 +348,11 @@ pub struct ICertificateRequestProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateRequestProperties3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateRequestProperties3 { type Vtable = ICertificateRequestProperties3_Vtbl; } -impl ::core::clone::Clone for ICertificateRequestProperties3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateRequestProperties3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe687f616_734d_46b1_9d4c_6edfdbfc845b); } @@ -433,15 +373,11 @@ pub struct ICertificateRequestProperties3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateRequestProperties4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateRequestProperties4 { type Vtable = ICertificateRequestProperties4_Vtbl; } -impl ::core::clone::Clone for ICertificateRequestProperties4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateRequestProperties4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e429ad2_1c61_4fea_b8fe_135fb19cdce4); } @@ -461,15 +397,11 @@ pub struct ICertificateRequestProperties4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateStore { type Vtable = ICertificateStore_Vtbl; } -impl ::core::clone::Clone for ICertificateStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0bff720_344e_4331_af14_a7f7a7ebc93a); } @@ -482,15 +414,11 @@ pub struct ICertificateStore_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateStore2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateStore2 { type Vtable = ICertificateStore2_Vtbl; } -impl ::core::clone::Clone for ICertificateStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7e68e4a_417d_4d1a_babd_15687e549974); } @@ -502,15 +430,11 @@ pub struct ICertificateStore2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateStoresStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateStoresStatics { type Vtable = ICertificateStoresStatics_Vtbl; } -impl ::core::clone::Clone for ICertificateStoresStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateStoresStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbecc739_c6fe_4de7_99cf_74c3e596e032); } @@ -532,15 +456,11 @@ pub struct ICertificateStoresStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateStoresStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICertificateStoresStatics2 { type Vtable = ICertificateStoresStatics2_Vtbl; } -impl ::core::clone::Clone for ICertificateStoresStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertificateStoresStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa900b79_a0d4_4b8c_bc55_c0a37eb141ed); } @@ -552,15 +472,11 @@ pub struct ICertificateStoresStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChainBuildingParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChainBuildingParameters { type Vtable = IChainBuildingParameters_Vtbl; } -impl ::core::clone::Clone for IChainBuildingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChainBuildingParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x422ba922_7c8d_47b7_b59b_b12703733ac3); } @@ -595,15 +511,11 @@ pub struct IChainBuildingParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChainValidationParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IChainValidationParameters { type Vtable = IChainValidationParameters_Vtbl; } -impl ::core::clone::Clone for IChainValidationParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChainValidationParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4743b4a_7eb0_4b56_a040_b9c8e655ddf3); } @@ -624,15 +536,11 @@ pub struct IChainValidationParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsAttachedSignature(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsAttachedSignature { type Vtable = ICmsAttachedSignature_Vtbl; } -impl ::core::clone::Clone for ICmsAttachedSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsAttachedSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61899d9d_3757_4ecb_bddc_0ca357d7a936); } @@ -653,15 +561,11 @@ pub struct ICmsAttachedSignature_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsAttachedSignatureFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsAttachedSignatureFactory { type Vtable = ICmsAttachedSignatureFactory_Vtbl; } -impl ::core::clone::Clone for ICmsAttachedSignatureFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsAttachedSignatureFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0c8fc15_f757_4c64_a362_52cc1c77cffb); } @@ -676,15 +580,11 @@ pub struct ICmsAttachedSignatureFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsAttachedSignatureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsAttachedSignatureStatics { type Vtable = ICmsAttachedSignatureStatics_Vtbl; } -impl ::core::clone::Clone for ICmsAttachedSignatureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsAttachedSignatureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87989c8e_b0ad_498d_a7f5_78b59bce4b36); } @@ -699,15 +599,11 @@ pub struct ICmsAttachedSignatureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsDetachedSignature(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsDetachedSignature { type Vtable = ICmsDetachedSignature_Vtbl; } -impl ::core::clone::Clone for ICmsDetachedSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsDetachedSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f1ef154_f65e_4536_8339_5944081db2ca); } @@ -730,15 +626,11 @@ pub struct ICmsDetachedSignature_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsDetachedSignatureFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsDetachedSignatureFactory { type Vtable = ICmsDetachedSignatureFactory_Vtbl; } -impl ::core::clone::Clone for ICmsDetachedSignatureFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsDetachedSignatureFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4ab3503_ae7f_4387_ad19_00f150e48ebb); } @@ -753,15 +645,11 @@ pub struct ICmsDetachedSignatureFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsDetachedSignatureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsDetachedSignatureStatics { type Vtable = ICmsDetachedSignatureStatics_Vtbl; } -impl ::core::clone::Clone for ICmsDetachedSignatureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsDetachedSignatureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d114cfd_bf9b_4682_9be6_91f57c053808); } @@ -776,15 +664,11 @@ pub struct ICmsDetachedSignatureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsSignerInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsSignerInfo { type Vtable = ICmsSignerInfo_Vtbl; } -impl ::core::clone::Clone for ICmsSignerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsSignerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50d020db_1d2f_4c1a_b5c5_d0188ff91f47); } @@ -800,15 +684,11 @@ pub struct ICmsSignerInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICmsTimestampInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICmsTimestampInfo { type Vtable = ICmsTimestampInfo_Vtbl; } -impl ::core::clone::Clone for ICmsTimestampInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICmsTimestampInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f5f00f2_2c18_4f88_8435_c534086076f5); } @@ -828,15 +708,11 @@ pub struct ICmsTimestampInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyAlgorithmNamesStatics { type Vtable = IKeyAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for IKeyAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x479065d7_7ac7_4581_8c3b_d07027140448); } @@ -855,15 +731,11 @@ pub struct IKeyAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyAlgorithmNamesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyAlgorithmNamesStatics2 { type Vtable = IKeyAlgorithmNamesStatics2_Vtbl; } -impl ::core::clone::Clone for IKeyAlgorithmNamesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyAlgorithmNamesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99b5686_e1fd_4a4a_893d_a26f33dd8bb4); } @@ -876,15 +748,11 @@ pub struct IKeyAlgorithmNamesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyAttestationHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyAttestationHelperStatics { type Vtable = IKeyAttestationHelperStatics_Vtbl; } -impl ::core::clone::Clone for IKeyAttestationHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyAttestationHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1648e246_f644_4326_88be_3af102d30e0c); } @@ -900,15 +768,11 @@ pub struct IKeyAttestationHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyAttestationHelperStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyAttestationHelperStatics2 { type Vtable = IKeyAttestationHelperStatics2_Vtbl; } -impl ::core::clone::Clone for IKeyAttestationHelperStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyAttestationHelperStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c590b2c_a6c6_4a5e_9e64_e85d5279df97); } @@ -923,15 +787,11 @@ pub struct IKeyAttestationHelperStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyStorageProviderNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyStorageProviderNamesStatics { type Vtable = IKeyStorageProviderNamesStatics_Vtbl; } -impl ::core::clone::Clone for IKeyStorageProviderNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyStorageProviderNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf186ae0_5529_4602_bd94_0aab91957b5c); } @@ -945,15 +805,11 @@ pub struct IKeyStorageProviderNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyStorageProviderNamesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyStorageProviderNamesStatics2 { type Vtable = IKeyStorageProviderNamesStatics2_Vtbl; } -impl ::core::clone::Clone for IKeyStorageProviderNamesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyStorageProviderNamesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x262d743d_9c2e_41cc_8812_c4d971dd7c60); } @@ -965,15 +821,11 @@ pub struct IKeyStorageProviderNamesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPfxImportParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPfxImportParameters { type Vtable = IPfxImportParameters_Vtbl; } -impl ::core::clone::Clone for IPfxImportParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPfxImportParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x680d3511_9a08_47c8_864a_2edd4d8eb46c); } @@ -998,15 +850,11 @@ pub struct IPfxImportParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStandardCertificateStoreNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStandardCertificateStoreNamesStatics { type Vtable = IStandardCertificateStoreNamesStatics_Vtbl; } -impl ::core::clone::Clone for IStandardCertificateStoreNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStandardCertificateStoreNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c154adb_a496_41f8_8fe5_9e96f36efbf8); } @@ -1020,15 +868,11 @@ pub struct IStandardCertificateStoreNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubjectAlternativeNameInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISubjectAlternativeNameInfo { type Vtable = ISubjectAlternativeNameInfo_Vtbl; } -impl ::core::clone::Clone for ISubjectAlternativeNameInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubjectAlternativeNameInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x582859f1_569d_4c20_be7b_4e1c9a0bc52b); } @@ -1063,15 +907,11 @@ pub struct ISubjectAlternativeNameInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubjectAlternativeNameInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISubjectAlternativeNameInfo2 { type Vtable = ISubjectAlternativeNameInfo2_Vtbl; } -impl ::core::clone::Clone for ISubjectAlternativeNameInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubjectAlternativeNameInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x437a78c6_1c51_41ea_b34a_3d654398a370); } @@ -1107,15 +947,11 @@ pub struct ISubjectAlternativeNameInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserCertificateEnrollmentManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserCertificateEnrollmentManager { type Vtable = IUserCertificateEnrollmentManager_Vtbl; } -impl ::core::clone::Clone for IUserCertificateEnrollmentManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserCertificateEnrollmentManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96313718_22e1_4819_b20b_ab46a6eca06e); } @@ -1142,15 +978,11 @@ pub struct IUserCertificateEnrollmentManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserCertificateEnrollmentManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserCertificateEnrollmentManager2 { type Vtable = IUserCertificateEnrollmentManager2_Vtbl; } -impl ::core::clone::Clone for IUserCertificateEnrollmentManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserCertificateEnrollmentManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dad9cb1_65de_492a_b86d_fc5c482c3747); } @@ -1165,15 +997,11 @@ pub struct IUserCertificateEnrollmentManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserCertificateStore(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserCertificateStore { type Vtable = IUserCertificateStore_Vtbl; } -impl ::core::clone::Clone for IUserCertificateStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserCertificateStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9fb1d83_789f_4b4e_9180_045a757aac6d); } @@ -1193,6 +1021,7 @@ pub struct IUserCertificateStore_Vtbl { } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Certificate(::windows_core::IUnknown); impl Certificate { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1396,25 +1225,9 @@ impl Certificate { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Certificate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Certificate {} -impl ::core::fmt::Debug for Certificate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Certificate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Certificate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.Certificate;{333f740c-04d8-43b3-b278-8c5fcc9be5a0})"); } -impl ::core::clone::Clone for Certificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Certificate { type Vtable = ICertificate_Vtbl; } @@ -1429,6 +1242,7 @@ unsafe impl ::core::marker::Send for Certificate {} unsafe impl ::core::marker::Sync for Certificate {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateChain(::windows_core::IUnknown); impl CertificateChain { pub fn Validate(&self) -> ::windows_core::Result { @@ -1458,25 +1272,9 @@ impl CertificateChain { } } } -impl ::core::cmp::PartialEq for CertificateChain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateChain {} -impl ::core::fmt::Debug for CertificateChain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateChain").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateChain { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateChain;{20bf5385-3691-4501-a62c-fd97278b31ee})"); } -impl ::core::clone::Clone for CertificateChain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateChain { type Vtable = ICertificateChain_Vtbl; } @@ -1565,6 +1363,7 @@ impl ::windows_core::RuntimeName for CertificateEnrollmentManager { } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateExtension(::windows_core::IUnknown); impl CertificateExtension { pub fn new() -> ::windows_core::Result { @@ -1612,25 +1411,9 @@ impl CertificateExtension { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.len() as u32, value.as_ptr()).ok() } } } -impl ::core::cmp::PartialEq for CertificateExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateExtension {} -impl ::core::fmt::Debug for CertificateExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateExtension").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateExtension { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateExtension;{84cf0656-a9e6-454d-8e45-2ea7c4bcd53b})"); } -impl ::core::clone::Clone for CertificateExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateExtension { type Vtable = ICertificateExtension_Vtbl; } @@ -1645,6 +1428,7 @@ unsafe impl ::core::marker::Send for CertificateExtension {} unsafe impl ::core::marker::Sync for CertificateExtension {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateKeyUsages(::windows_core::IUnknown); impl CertificateKeyUsages { pub fn new() -> ::windows_core::Result { @@ -1743,25 +1527,9 @@ impl CertificateKeyUsages { unsafe { (::windows_core::Interface::vtable(this).SetDigitalSignature)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CertificateKeyUsages { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateKeyUsages {} -impl ::core::fmt::Debug for CertificateKeyUsages { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateKeyUsages").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateKeyUsages { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateKeyUsages;{6ac6206f-e1cf-486a-b485-a69c83e46fd1})"); } -impl ::core::clone::Clone for CertificateKeyUsages { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateKeyUsages { type Vtable = ICertificateKeyUsages_Vtbl; } @@ -1776,6 +1544,7 @@ unsafe impl ::core::marker::Send for CertificateKeyUsages {} unsafe impl ::core::marker::Sync for CertificateKeyUsages {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateQuery(::windows_core::IUnknown); impl CertificateQuery { pub fn new() -> ::windows_core::Result { @@ -1872,25 +1641,9 @@ impl CertificateQuery { unsafe { (::windows_core::Interface::vtable(this).SetStoreName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for CertificateQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateQuery {} -impl ::core::fmt::Debug for CertificateQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateQuery;{5b082a31-a728-4916-b5ee-ffcb8acf2417})"); } -impl ::core::clone::Clone for CertificateQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateQuery { type Vtable = ICertificateQuery_Vtbl; } @@ -1905,6 +1658,7 @@ unsafe impl ::core::marker::Send for CertificateQuery {} unsafe impl ::core::marker::Sync for CertificateQuery {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateRequestProperties(::windows_core::IUnknown); impl CertificateRequestProperties { pub fn new() -> ::windows_core::Result { @@ -2133,25 +1887,9 @@ impl CertificateRequestProperties { } } } -impl ::core::cmp::PartialEq for CertificateRequestProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateRequestProperties {} -impl ::core::fmt::Debug for CertificateRequestProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateRequestProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateRequestProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateRequestProperties;{487e84f6-94e2-4dce-8833-1a700a37a29a})"); } -impl ::core::clone::Clone for CertificateRequestProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateRequestProperties { type Vtable = ICertificateRequestProperties_Vtbl; } @@ -2166,6 +1904,7 @@ unsafe impl ::core::marker::Send for CertificateRequestProperties {} unsafe impl ::core::marker::Sync for CertificateRequestProperties {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CertificateStore(::windows_core::IUnknown); impl CertificateStore { pub fn Add(&self, certificate: P0) -> ::windows_core::Result<()> @@ -2190,25 +1929,9 @@ impl CertificateStore { } } } -impl ::core::cmp::PartialEq for CertificateStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CertificateStore {} -impl ::core::fmt::Debug for CertificateStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CertificateStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CertificateStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CertificateStore;{b0bff720-344e-4331-af14-a7f7a7ebc93a})"); } -impl ::core::clone::Clone for CertificateStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CertificateStore { type Vtable = ICertificateStore_Vtbl; } @@ -2283,6 +2006,7 @@ impl ::windows_core::RuntimeName for CertificateStores { } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChainBuildingParameters(::windows_core::IUnknown); impl ChainBuildingParameters { pub fn new() -> ::windows_core::Result { @@ -2370,25 +2094,9 @@ impl ChainBuildingParameters { } } } -impl ::core::cmp::PartialEq for ChainBuildingParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChainBuildingParameters {} -impl ::core::fmt::Debug for ChainBuildingParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChainBuildingParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChainBuildingParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainBuildingParameters;{422ba922-7c8d-47b7-b59b-b12703733ac3})"); } -impl ::core::clone::Clone for ChainBuildingParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChainBuildingParameters { type Vtable = IChainBuildingParameters_Vtbl; } @@ -2403,6 +2111,7 @@ unsafe impl ::core::marker::Send for ChainBuildingParameters {} unsafe impl ::core::marker::Sync for ChainBuildingParameters {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ChainValidationParameters(::windows_core::IUnknown); impl ChainValidationParameters { pub fn new() -> ::windows_core::Result { @@ -2442,25 +2151,9 @@ impl ChainValidationParameters { unsafe { (::windows_core::Interface::vtable(this).SetServerDnsName)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ChainValidationParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ChainValidationParameters {} -impl ::core::fmt::Debug for ChainValidationParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ChainValidationParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ChainValidationParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.ChainValidationParameters;{c4743b4a-7eb0-4b56-a040-b9c8e655ddf3})"); } -impl ::core::clone::Clone for ChainValidationParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ChainValidationParameters { type Vtable = IChainValidationParameters_Vtbl; } @@ -2475,6 +2168,7 @@ unsafe impl ::core::marker::Send for ChainValidationParameters {} unsafe impl ::core::marker::Sync for ChainValidationParameters {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CmsAttachedSignature(::windows_core::IUnknown); impl CmsAttachedSignature { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2544,25 +2238,9 @@ impl CmsAttachedSignature { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CmsAttachedSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CmsAttachedSignature {} -impl ::core::fmt::Debug for CmsAttachedSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CmsAttachedSignature").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CmsAttachedSignature { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsAttachedSignature;{61899d9d-3757-4ecb-bddc-0ca357d7a936})"); } -impl ::core::clone::Clone for CmsAttachedSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CmsAttachedSignature { type Vtable = ICmsAttachedSignature_Vtbl; } @@ -2577,6 +2255,7 @@ unsafe impl ::core::marker::Send for CmsAttachedSignature {} unsafe impl ::core::marker::Sync for CmsAttachedSignature {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CmsDetachedSignature(::windows_core::IUnknown); impl CmsDetachedSignature { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2644,25 +2323,9 @@ impl CmsDetachedSignature { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CmsDetachedSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CmsDetachedSignature {} -impl ::core::fmt::Debug for CmsDetachedSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CmsDetachedSignature").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CmsDetachedSignature { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsDetachedSignature;{0f1ef154-f65e-4536-8339-5944081db2ca})"); } -impl ::core::clone::Clone for CmsDetachedSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CmsDetachedSignature { type Vtable = ICmsDetachedSignature_Vtbl; } @@ -2677,6 +2340,7 @@ unsafe impl ::core::marker::Send for CmsDetachedSignature {} unsafe impl ::core::marker::Sync for CmsDetachedSignature {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CmsSignerInfo(::windows_core::IUnknown); impl CmsSignerInfo { pub fn new() -> ::windows_core::Result { @@ -2719,25 +2383,9 @@ impl CmsSignerInfo { } } } -impl ::core::cmp::PartialEq for CmsSignerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CmsSignerInfo {} -impl ::core::fmt::Debug for CmsSignerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CmsSignerInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CmsSignerInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsSignerInfo;{50d020db-1d2f-4c1a-b5c5-d0188ff91f47})"); } -impl ::core::clone::Clone for CmsSignerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CmsSignerInfo { type Vtable = ICmsSignerInfo_Vtbl; } @@ -2752,6 +2400,7 @@ unsafe impl ::core::marker::Send for CmsSignerInfo {} unsafe impl ::core::marker::Sync for CmsSignerInfo {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CmsTimestampInfo(::windows_core::IUnknown); impl CmsTimestampInfo { pub fn SigningCertificate(&self) -> ::windows_core::Result { @@ -2780,25 +2429,9 @@ impl CmsTimestampInfo { } } } -impl ::core::cmp::PartialEq for CmsTimestampInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CmsTimestampInfo {} -impl ::core::fmt::Debug for CmsTimestampInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CmsTimestampInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CmsTimestampInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.CmsTimestampInfo;{2f5f00f2-2c18-4f88-8435-c534086076f5})"); } -impl ::core::clone::Clone for CmsTimestampInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CmsTimestampInfo { type Vtable = ICmsTimestampInfo_Vtbl; } @@ -2970,6 +2603,7 @@ impl ::windows_core::RuntimeName for KeyStorageProviderNames { } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PfxImportParameters(::windows_core::IUnknown); impl PfxImportParameters { pub fn new() -> ::windows_core::Result { @@ -3057,25 +2691,9 @@ impl PfxImportParameters { unsafe { (::windows_core::Interface::vtable(this).SetReaderName)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for PfxImportParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PfxImportParameters {} -impl ::core::fmt::Debug for PfxImportParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PfxImportParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PfxImportParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.PfxImportParameters;{680d3511-9a08-47c8-864a-2edd4d8eb46c})"); } -impl ::core::clone::Clone for PfxImportParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PfxImportParameters { type Vtable = IPfxImportParameters_Vtbl; } @@ -3120,6 +2738,7 @@ impl ::windows_core::RuntimeName for StandardCertificateStoreNames { } #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SubjectAlternativeNameInfo(::windows_core::IUnknown); impl SubjectAlternativeNameInfo { pub fn new() -> ::windows_core::Result { @@ -3245,25 +2864,9 @@ impl SubjectAlternativeNameInfo { } } } -impl ::core::cmp::PartialEq for SubjectAlternativeNameInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SubjectAlternativeNameInfo {} -impl ::core::fmt::Debug for SubjectAlternativeNameInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SubjectAlternativeNameInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SubjectAlternativeNameInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.SubjectAlternativeNameInfo;{582859f1-569d-4c20-be7b-4e1c9a0bc52b})"); } -impl ::core::clone::Clone for SubjectAlternativeNameInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SubjectAlternativeNameInfo { type Vtable = ISubjectAlternativeNameInfo_Vtbl; } @@ -3278,6 +2881,7 @@ unsafe impl ::core::marker::Send for SubjectAlternativeNameInfo {} unsafe impl ::core::marker::Sync for SubjectAlternativeNameInfo {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserCertificateEnrollmentManager(::windows_core::IUnknown); impl UserCertificateEnrollmentManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3332,25 +2936,9 @@ impl UserCertificateEnrollmentManager { } } } -impl ::core::cmp::PartialEq for UserCertificateEnrollmentManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserCertificateEnrollmentManager {} -impl ::core::fmt::Debug for UserCertificateEnrollmentManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserCertificateEnrollmentManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserCertificateEnrollmentManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager;{96313718-22e1-4819-b20b-ab46a6eca06e})"); } -impl ::core::clone::Clone for UserCertificateEnrollmentManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserCertificateEnrollmentManager { type Vtable = IUserCertificateEnrollmentManager_Vtbl; } @@ -3365,6 +2953,7 @@ unsafe impl ::core::marker::Send for UserCertificateEnrollmentManager {} unsafe impl ::core::marker::Sync for UserCertificateEnrollmentManager {} #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserCertificateStore(::windows_core::IUnknown); impl UserCertificateStore { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3399,25 +2988,9 @@ impl UserCertificateStore { } } } -impl ::core::cmp::PartialEq for UserCertificateStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserCertificateStore {} -impl ::core::fmt::Debug for UserCertificateStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserCertificateStore").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserCertificateStore { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Certificates.UserCertificateStore;{c9fb1d83-789f-4b4e-9180-045a757aac6d})"); } -impl ::core::clone::Clone for UserCertificateStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserCertificateStore { type Vtable = IUserCertificateStore_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs index 2cf700f26e..0e5a0540d9 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsymmetricAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsymmetricAlgorithmNamesStatics { type Vtable = IAsymmetricAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for IAsymmetricAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsymmetricAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaf6fce4_67c0_46aa_84f9_752e77449f9b); } @@ -37,15 +33,11 @@ pub struct IAsymmetricAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsymmetricAlgorithmNamesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsymmetricAlgorithmNamesStatics2 { type Vtable = IAsymmetricAlgorithmNamesStatics2_Vtbl; } -impl ::core::clone::Clone for IAsymmetricAlgorithmNamesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsymmetricAlgorithmNamesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf141c0d6_4bff_4f23_ba66_6045b137d5df); } @@ -59,15 +51,11 @@ pub struct IAsymmetricAlgorithmNamesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsymmetricKeyAlgorithmProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsymmetricKeyAlgorithmProvider { type Vtable = IAsymmetricKeyAlgorithmProvider_Vtbl; } -impl ::core::clone::Clone for IAsymmetricKeyAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsymmetricKeyAlgorithmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8d2ff37_6259_4e88_b7e0_94191fde699e); } @@ -96,15 +84,11 @@ pub struct IAsymmetricKeyAlgorithmProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsymmetricKeyAlgorithmProvider2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsymmetricKeyAlgorithmProvider2 { type Vtable = IAsymmetricKeyAlgorithmProvider2_Vtbl; } -impl ::core::clone::Clone for IAsymmetricKeyAlgorithmProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsymmetricKeyAlgorithmProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e322a7e_7c4d_4997_ac4f_1b848b36306e); } @@ -117,15 +101,11 @@ pub struct IAsymmetricKeyAlgorithmProvider2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsymmetricKeyAlgorithmProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAsymmetricKeyAlgorithmProviderStatics { type Vtable = IAsymmetricKeyAlgorithmProviderStatics_Vtbl; } -impl ::core::clone::Clone for IAsymmetricKeyAlgorithmProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsymmetricKeyAlgorithmProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x425bde18_a7f3_47a6_a8d2_c48d6033a65c); } @@ -137,15 +117,11 @@ pub struct IAsymmetricKeyAlgorithmProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptographicEngineStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICryptographicEngineStatics { type Vtable = ICryptographicEngineStatics_Vtbl; } -impl ::core::clone::Clone for ICryptographicEngineStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICryptographicEngineStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fea0639_6ff7_4c85_a095_95eb31715eb9); } @@ -184,15 +160,11 @@ pub struct ICryptographicEngineStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptographicEngineStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICryptographicEngineStatics2 { type Vtable = ICryptographicEngineStatics2_Vtbl; } -impl ::core::clone::Clone for ICryptographicEngineStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICryptographicEngineStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x675948fe_df9f_4191_92c7_6ce6f58420e0); } @@ -223,15 +195,11 @@ pub struct ICryptographicEngineStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptographicKey(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICryptographicKey { type Vtable = ICryptographicKey_Vtbl; } -impl ::core::clone::Clone for ICryptographicKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICryptographicKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed2a3b70_8e7b_4009_8401_ffd1a62eeb27); } @@ -259,15 +227,11 @@ pub struct ICryptographicKey_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEccCurveNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEccCurveNamesStatics { type Vtable = IEccCurveNamesStatics_Vtbl; } -impl ::core::clone::Clone for IEccCurveNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEccCurveNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3ff930c_aeeb_409e_b7d4_9b95295aaecf); } @@ -327,15 +291,11 @@ pub struct IEccCurveNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEncryptedAndAuthenticatedData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEncryptedAndAuthenticatedData { type Vtable = IEncryptedAndAuthenticatedData_Vtbl; } -impl ::core::clone::Clone for IEncryptedAndAuthenticatedData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEncryptedAndAuthenticatedData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fa42fe7_1ecb_4b00_bea5_60b83f862f17); } @@ -354,15 +314,11 @@ pub struct IEncryptedAndAuthenticatedData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHashAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHashAlgorithmNamesStatics { type Vtable = IHashAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for IHashAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHashAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b5e0516_de96_4f0a_8d57_dcc9dae36c76); } @@ -378,15 +334,11 @@ pub struct IHashAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHashAlgorithmProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHashAlgorithmProvider { type Vtable = IHashAlgorithmProvider_Vtbl; } -impl ::core::clone::Clone for IHashAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHashAlgorithmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe9b3080_b2c3_422b_bce1_ec90efb5d7b5); } @@ -404,15 +356,11 @@ pub struct IHashAlgorithmProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHashAlgorithmProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHashAlgorithmProviderStatics { type Vtable = IHashAlgorithmProviderStatics_Vtbl; } -impl ::core::clone::Clone for IHashAlgorithmProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHashAlgorithmProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fac9741_5cc4_4336_ae38_6212b75a915a); } @@ -424,15 +372,11 @@ pub struct IHashAlgorithmProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHashComputation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHashComputation { type Vtable = IHashComputation_Vtbl; } -impl ::core::clone::Clone for IHashComputation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHashComputation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5904d1b6_ad31_4603_a3a4_b1bda98e2562); } @@ -451,15 +395,11 @@ pub struct IHashComputation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationAlgorithmNamesStatics { type Vtable = IKeyDerivationAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b6e363e_94d2_4739_a57b_022e0c3a402a); } @@ -485,15 +425,11 @@ pub struct IKeyDerivationAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationAlgorithmNamesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationAlgorithmNamesStatics2 { type Vtable = IKeyDerivationAlgorithmNamesStatics2_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationAlgorithmNamesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationAlgorithmNamesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57953fab_6044_466f_97f4_337b7808384d); } @@ -509,15 +445,11 @@ pub struct IKeyDerivationAlgorithmNamesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationAlgorithmProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationAlgorithmProvider { type Vtable = IKeyDerivationAlgorithmProvider_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationAlgorithmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1fba83b_4671_43b7_9158_763aaa98b6bf); } @@ -533,15 +465,11 @@ pub struct IKeyDerivationAlgorithmProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationAlgorithmProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationAlgorithmProviderStatics { type Vtable = IKeyDerivationAlgorithmProviderStatics_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationAlgorithmProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationAlgorithmProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a22097a_0a1c_443b_9418_b9498aeb1603); } @@ -553,15 +481,11 @@ pub struct IKeyDerivationAlgorithmProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationParameters { type Vtable = IKeyDerivationParameters_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bf05967_047b_4a8c_964a_469ffd5522e2); } @@ -581,15 +505,11 @@ pub struct IKeyDerivationParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationParameters2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationParameters2 { type Vtable = IKeyDerivationParameters2_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationParameters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationParameters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd4166d1_417e_4f4c_b666_c0d879f3f8e0); } @@ -602,15 +522,11 @@ pub struct IKeyDerivationParameters2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationParametersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationParametersStatics { type Vtable = IKeyDerivationParametersStatics_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationParametersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationParametersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea961fbe_f37f_4146_9dfe_a456f1735f4b); } @@ -633,15 +549,11 @@ pub struct IKeyDerivationParametersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyDerivationParametersStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyDerivationParametersStatics2 { type Vtable = IKeyDerivationParametersStatics2_Vtbl; } -impl ::core::clone::Clone for IKeyDerivationParametersStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyDerivationParametersStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5783dd5_58e3_4efb_b283_a1653126e1be); } @@ -653,15 +565,11 @@ pub struct IKeyDerivationParametersStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMacAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMacAlgorithmNamesStatics { type Vtable = IMacAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for IMacAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMacAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41412678_fb1e_43a4_895e_a9026e4390a3); } @@ -678,15 +586,11 @@ pub struct IMacAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMacAlgorithmProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMacAlgorithmProvider { type Vtable = IMacAlgorithmProvider_Vtbl; } -impl ::core::clone::Clone for IMacAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMacAlgorithmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a3fc5c3_1cbd_41ce_a092_aa0bc5d2d2f5); } @@ -703,15 +607,11 @@ pub struct IMacAlgorithmProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMacAlgorithmProvider2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMacAlgorithmProvider2 { type Vtable = IMacAlgorithmProvider2_Vtbl; } -impl ::core::clone::Clone for IMacAlgorithmProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMacAlgorithmProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6da32a15_d931_42ed_8e7e_c301caee119c); } @@ -726,15 +626,11 @@ pub struct IMacAlgorithmProvider2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMacAlgorithmProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMacAlgorithmProviderStatics { type Vtable = IMacAlgorithmProviderStatics_Vtbl; } -impl ::core::clone::Clone for IMacAlgorithmProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMacAlgorithmProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9bdc147_cc77_4df0_9e4e_b921e080644c); } @@ -746,15 +642,11 @@ pub struct IMacAlgorithmProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistedKeyProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPersistedKeyProviderStatics { type Vtable = IPersistedKeyProviderStatics_Vtbl; } -impl ::core::clone::Clone for IPersistedKeyProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistedKeyProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77274814_d9d4_4cf5_b668_e0457df30894); } @@ -773,15 +665,11 @@ pub struct IPersistedKeyProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISymmetricAlgorithmNamesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISymmetricAlgorithmNamesStatics { type Vtable = ISymmetricAlgorithmNamesStatics_Vtbl; } -impl ::core::clone::Clone for ISymmetricAlgorithmNamesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISymmetricAlgorithmNamesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6870727b_c996_4eae_84d7_79b2aeb73b9c); } @@ -811,15 +699,11 @@ pub struct ISymmetricAlgorithmNamesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISymmetricKeyAlgorithmProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISymmetricKeyAlgorithmProvider { type Vtable = ISymmetricKeyAlgorithmProvider_Vtbl; } -impl ::core::clone::Clone for ISymmetricKeyAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISymmetricKeyAlgorithmProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d7e4a33_3bd0_4902_8ac8_470d50d21376); } @@ -836,15 +720,11 @@ pub struct ISymmetricKeyAlgorithmProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISymmetricKeyAlgorithmProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISymmetricKeyAlgorithmProviderStatics { type Vtable = ISymmetricKeyAlgorithmProviderStatics_Vtbl; } -impl ::core::clone::Clone for ISymmetricKeyAlgorithmProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISymmetricKeyAlgorithmProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d3b2326_1f37_491f_b60e_f5431b26b483); } @@ -999,6 +879,7 @@ impl ::windows_core::RuntimeName for AsymmetricAlgorithmNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsymmetricKeyAlgorithmProvider(::windows_core::IUnknown); impl AsymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1089,25 +970,9 @@ impl AsymmetricKeyAlgorithmProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AsymmetricKeyAlgorithmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsymmetricKeyAlgorithmProvider {} -impl ::core::fmt::Debug for AsymmetricKeyAlgorithmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsymmetricKeyAlgorithmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AsymmetricKeyAlgorithmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.AsymmetricKeyAlgorithmProvider;{e8d2ff37-6259-4e88-b7e0-94191fde699e})"); } -impl ::core::clone::Clone for AsymmetricKeyAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AsymmetricKeyAlgorithmProvider { type Vtable = IAsymmetricKeyAlgorithmProvider_Vtbl; } @@ -1293,6 +1158,7 @@ impl ::windows_core::RuntimeName for CryptographicEngine { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CryptographicHash(::windows_core::IUnknown); impl CryptographicHash { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1314,25 +1180,9 @@ impl CryptographicHash { } } } -impl ::core::cmp::PartialEq for CryptographicHash { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CryptographicHash {} -impl ::core::fmt::Debug for CryptographicHash { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CryptographicHash").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CryptographicHash { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicHash;{5904d1b6-ad31-4603-a3a4-b1bda98e2562})"); } -impl ::core::clone::Clone for CryptographicHash { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CryptographicHash { type Vtable = IHashComputation_Vtbl; } @@ -1347,6 +1197,7 @@ unsafe impl ::core::marker::Send for CryptographicHash {} unsafe impl ::core::marker::Sync for CryptographicHash {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CryptographicKey(::windows_core::IUnknown); impl CryptographicKey { pub fn KeySize(&self) -> ::windows_core::Result { @@ -1393,25 +1244,9 @@ impl CryptographicKey { } } } -impl ::core::cmp::PartialEq for CryptographicKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CryptographicKey {} -impl ::core::fmt::Debug for CryptographicKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CryptographicKey").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CryptographicKey { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.CryptographicKey;{ed2a3b70-8e7b-4009-8401-ffd1a62eeb27})"); } -impl ::core::clone::Clone for CryptographicKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CryptographicKey { type Vtable = ICryptographicKey_Vtbl; } @@ -1716,6 +1551,7 @@ impl ::windows_core::RuntimeName for EccCurveNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EncryptedAndAuthenticatedData(::windows_core::IUnknown); impl EncryptedAndAuthenticatedData { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1737,25 +1573,9 @@ impl EncryptedAndAuthenticatedData { } } } -impl ::core::cmp::PartialEq for EncryptedAndAuthenticatedData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EncryptedAndAuthenticatedData {} -impl ::core::fmt::Debug for EncryptedAndAuthenticatedData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EncryptedAndAuthenticatedData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EncryptedAndAuthenticatedData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.EncryptedAndAuthenticatedData;{6fa42fe7-1ecb-4b00-bea5-60b83f862f17})"); } -impl ::core::clone::Clone for EncryptedAndAuthenticatedData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EncryptedAndAuthenticatedData { type Vtable = IEncryptedAndAuthenticatedData_Vtbl; } @@ -1812,6 +1632,7 @@ impl ::windows_core::RuntimeName for HashAlgorithmNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HashAlgorithmProvider(::windows_core::IUnknown); impl HashAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1859,25 +1680,9 @@ impl HashAlgorithmProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HashAlgorithmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HashAlgorithmProvider {} -impl ::core::fmt::Debug for HashAlgorithmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HashAlgorithmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HashAlgorithmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.HashAlgorithmProvider;{be9b3080-b2c3-422b-bce1-ec90efb5d7b5})"); } -impl ::core::clone::Clone for HashAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HashAlgorithmProvider { type Vtable = IHashAlgorithmProvider_Vtbl; } @@ -2029,6 +1834,7 @@ impl ::windows_core::RuntimeName for KeyDerivationAlgorithmNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyDerivationAlgorithmProvider(::windows_core::IUnknown); impl KeyDerivationAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2062,25 +1868,9 @@ impl KeyDerivationAlgorithmProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for KeyDerivationAlgorithmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyDerivationAlgorithmProvider {} -impl ::core::fmt::Debug for KeyDerivationAlgorithmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyDerivationAlgorithmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyDerivationAlgorithmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationAlgorithmProvider;{e1fba83b-4671-43b7-9158-763aaa98b6bf})"); } -impl ::core::clone::Clone for KeyDerivationAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyDerivationAlgorithmProvider { type Vtable = IKeyDerivationAlgorithmProvider_Vtbl; } @@ -2095,6 +1885,7 @@ unsafe impl ::core::marker::Send for KeyDerivationAlgorithmProvider {} unsafe impl ::core::marker::Sync for KeyDerivationAlgorithmProvider {} #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyDerivationParameters(::windows_core::IUnknown); impl KeyDerivationParameters { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -2188,25 +1979,9 @@ impl KeyDerivationParameters { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for KeyDerivationParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyDerivationParameters {} -impl ::core::fmt::Debug for KeyDerivationParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyDerivationParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyDerivationParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.KeyDerivationParameters;{7bf05967-047b-4a8c-964a-469ffd5522e2})"); } -impl ::core::clone::Clone for KeyDerivationParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyDerivationParameters { type Vtable = IKeyDerivationParameters_Vtbl; } @@ -2269,6 +2044,7 @@ impl ::windows_core::RuntimeName for MacAlgorithmNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MacAlgorithmProvider(::windows_core::IUnknown); impl MacAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2321,25 +2097,9 @@ impl MacAlgorithmProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MacAlgorithmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MacAlgorithmProvider {} -impl ::core::fmt::Debug for MacAlgorithmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MacAlgorithmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MacAlgorithmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.MacAlgorithmProvider;{4a3fc5c3-1cbd-41ce-a092-aa0bc5d2d2f5})"); } -impl ::core::clone::Clone for MacAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MacAlgorithmProvider { type Vtable = IMacAlgorithmProvider_Vtbl; } @@ -2514,6 +2274,7 @@ impl ::windows_core::RuntimeName for SymmetricAlgorithmNames { } #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SymmetricKeyAlgorithmProvider(::windows_core::IUnknown); impl SymmetricKeyAlgorithmProvider { pub fn AlgorithmName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2554,25 +2315,9 @@ impl SymmetricKeyAlgorithmProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SymmetricKeyAlgorithmProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SymmetricKeyAlgorithmProvider {} -impl ::core::fmt::Debug for SymmetricKeyAlgorithmProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SymmetricKeyAlgorithmProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SymmetricKeyAlgorithmProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.Core.SymmetricKeyAlgorithmProvider;{3d7e4a33-3bd0-4902-8ac8-470d50d21376})"); } -impl ::core::clone::Clone for SymmetricKeyAlgorithmProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SymmetricKeyAlgorithmProvider { type Vtable = ISymmetricKeyAlgorithmProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs index 495359eabd..83df4e381f 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProtectionProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProtectionProvider { type Vtable = IDataProtectionProvider_Vtbl; } -impl ::core::clone::Clone for IDataProtectionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProtectionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09639948_ed22_4270_bd1c_6d72c00f8787); } @@ -35,15 +31,11 @@ pub struct IDataProtectionProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProtectionProviderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProtectionProviderFactory { type Vtable = IDataProtectionProviderFactory_Vtbl; } -impl ::core::clone::Clone for IDataProtectionProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProtectionProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadf33dac_4932_4cdf_ac41_7214333514ca); } @@ -55,6 +47,7 @@ pub struct IDataProtectionProviderFactory_Vtbl { } #[doc = "*Required features: `\"Security_Cryptography_DataProtection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataProtectionProvider(::windows_core::IUnknown); impl DataProtectionProvider { pub fn new() -> ::windows_core::Result { @@ -126,25 +119,9 @@ impl DataProtectionProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DataProtectionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataProtectionProvider {} -impl ::core::fmt::Debug for DataProtectionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataProtectionProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataProtectionProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Cryptography.DataProtection.DataProtectionProvider;{09639948-ed22-4270-bd1c-6d72c00f8787})"); } -impl ::core::clone::Clone for DataProtectionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataProtectionProvider { type Vtable = IDataProtectionProvider_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs index 219f94dccf..d2a7810655 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -6,15 +6,11 @@ pub mod Core; pub mod DataProtection; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptographicBufferStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICryptographicBufferStatics { type Vtable = ICryptographicBufferStatics_Vtbl; } -impl ::core::clone::Clone for ICryptographicBufferStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICryptographicBufferStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x320b7e22_3cb0_4cdf_8663_1d28910065eb); } diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index 2135f295ab..d47972af60 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataAvailabilityStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataAvailabilityStateChangedEventArgs { type Vtable = IUserDataAvailabilityStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDataAvailabilityStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataAvailabilityStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa76582c9_06a2_4273_a803_834c9f87fbeb); } @@ -23,15 +19,11 @@ pub struct IUserDataAvailabilityStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataBufferUnprotectResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataBufferUnprotectResult { type Vtable = IUserDataBufferUnprotectResult_Vtbl; } -impl ::core::clone::Clone for IUserDataBufferUnprotectResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataBufferUnprotectResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8efd0e90_fa9a_46a4_a377_01cebf1e74d8); } @@ -47,15 +39,11 @@ pub struct IUserDataBufferUnprotectResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataProtectionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataProtectionManager { type Vtable = IUserDataProtectionManager_Vtbl; } -impl ::core::clone::Clone for IUserDataProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataProtectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f13237d_b42e_4a88_9480_0f240924c876); } @@ -91,15 +79,11 @@ pub struct IUserDataProtectionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataProtectionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataProtectionManagerStatics { type Vtable = IUserDataProtectionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IUserDataProtectionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataProtectionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x977780e8_6dce_4fae_af85_782ac2cf4572); } @@ -115,15 +99,11 @@ pub struct IUserDataProtectionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataStorageItemProtectionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataStorageItemProtectionInfo { type Vtable = IUserDataStorageItemProtectionInfo_Vtbl; } -impl ::core::clone::Clone for IUserDataStorageItemProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataStorageItemProtectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b6680f6_e87f_40a1_b19d_a6187a0c662f); } @@ -135,6 +115,7 @@ pub struct IUserDataStorageItemProtectionInfo_Vtbl { } #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataAvailabilityStateChangedEventArgs(::windows_core::IUnknown); impl UserDataAvailabilityStateChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -147,25 +128,9 @@ impl UserDataAvailabilityStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for UserDataAvailabilityStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataAvailabilityStateChangedEventArgs {} -impl ::core::fmt::Debug for UserDataAvailabilityStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataAvailabilityStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataAvailabilityStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataAvailabilityStateChangedEventArgs;{a76582c9-06a2-4273-a803-834c9f87fbeb})"); } -impl ::core::clone::Clone for UserDataAvailabilityStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataAvailabilityStateChangedEventArgs { type Vtable = IUserDataAvailabilityStateChangedEventArgs_Vtbl; } @@ -180,6 +145,7 @@ unsafe impl ::core::marker::Send for UserDataAvailabilityStateChangedEventArgs { unsafe impl ::core::marker::Sync for UserDataAvailabilityStateChangedEventArgs {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataBufferUnprotectResult(::windows_core::IUnknown); impl UserDataBufferUnprotectResult { pub fn Status(&self) -> ::windows_core::Result { @@ -199,25 +165,9 @@ impl UserDataBufferUnprotectResult { } } } -impl ::core::cmp::PartialEq for UserDataBufferUnprotectResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataBufferUnprotectResult {} -impl ::core::fmt::Debug for UserDataBufferUnprotectResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataBufferUnprotectResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataBufferUnprotectResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataBufferUnprotectResult;{8efd0e90-fa9a-46a4-a377-01cebf1e74d8})"); } -impl ::core::clone::Clone for UserDataBufferUnprotectResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataBufferUnprotectResult { type Vtable = IUserDataBufferUnprotectResult_Vtbl; } @@ -232,6 +182,7 @@ unsafe impl ::core::marker::Send for UserDataBufferUnprotectResult {} unsafe impl ::core::marker::Sync for UserDataBufferUnprotectResult {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataProtectionManager(::windows_core::IUnknown); impl UserDataProtectionManager { #[doc = "*Required features: `\"Foundation\"`, `\"Storage\"`*"] @@ -330,25 +281,9 @@ impl UserDataProtectionManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserDataProtectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataProtectionManager {} -impl ::core::fmt::Debug for UserDataProtectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataProtectionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataProtectionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataProtectionManager;{1f13237d-b42e-4a88-9480-0f240924c876})"); } -impl ::core::clone::Clone for UserDataProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataProtectionManager { type Vtable = IUserDataProtectionManager_Vtbl; } @@ -363,6 +298,7 @@ unsafe impl ::core::marker::Send for UserDataProtectionManager {} unsafe impl ::core::marker::Sync for UserDataProtectionManager {} #[doc = "*Required features: `\"Security_DataProtection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataStorageItemProtectionInfo(::windows_core::IUnknown); impl UserDataStorageItemProtectionInfo { pub fn Availability(&self) -> ::windows_core::Result { @@ -373,25 +309,9 @@ impl UserDataStorageItemProtectionInfo { } } } -impl ::core::cmp::PartialEq for UserDataStorageItemProtectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataStorageItemProtectionInfo {} -impl ::core::fmt::Debug for UserDataStorageItemProtectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataStorageItemProtectionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataStorageItemProtectionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.DataProtection.UserDataStorageItemProtectionInfo;{5b6680f6-e87f-40a1-b19d-a6187a0c662f})"); } -impl ::core::clone::Clone for UserDataStorageItemProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataStorageItemProtectionInfo { type Vtable = IUserDataStorageItemProtectionInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 91fb4e7a27..dbb97dd2d4 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferProtectUnprotectResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBufferProtectUnprotectResult { type Vtable = IBufferProtectUnprotectResult_Vtbl; } -impl ::core::clone::Clone for IBufferProtectUnprotectResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferProtectUnprotectResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47995edc_6cec_4e3a_b251_9e7485d79e7a); } @@ -24,15 +20,11 @@ pub struct IBufferProtectUnprotectResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProtectionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProtectionInfo { type Vtable = IDataProtectionInfo_Vtbl; } -impl ::core::clone::Clone for IDataProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProtectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8420b0c1_5e31_4405_9540_3f943af0cb26); } @@ -45,15 +37,11 @@ pub struct IDataProtectionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataProtectionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataProtectionManagerStatics { type Vtable = IDataProtectionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IDataProtectionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataProtectionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6149b74_9144_4ee4_8a8a_30b5f361430e); } @@ -88,15 +76,11 @@ pub struct IDataProtectionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileProtectionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileProtectionInfo { type Vtable = IFileProtectionInfo_Vtbl; } -impl ::core::clone::Clone for IFileProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileProtectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ee96486_147e_4dd0_8faf_5253ed91ad0c); } @@ -110,15 +94,11 @@ pub struct IFileProtectionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileProtectionInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileProtectionInfo2 { type Vtable = IFileProtectionInfo2_Vtbl; } -impl ::core::clone::Clone for IFileProtectionInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileProtectionInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82123a4c_557a_498d_8e94_944cd5836432); } @@ -130,15 +110,11 @@ pub struct IFileProtectionInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileProtectionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileProtectionManagerStatics { type Vtable = IFileProtectionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IFileProtectionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileProtectionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5846fc9b_e613_426b_bb38_88cba1dc9adb); } @@ -177,15 +153,11 @@ pub struct IFileProtectionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileProtectionManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileProtectionManagerStatics2 { type Vtable = IFileProtectionManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IFileProtectionManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileProtectionManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83d2a745_0483_41ab_b2d5_bc7f23d74ebb); } @@ -208,15 +180,11 @@ pub struct IFileProtectionManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileProtectionManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileProtectionManagerStatics3 { type Vtable = IFileProtectionManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IFileProtectionManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileProtectionManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6918849a_624f_46d6_b241_e9cd5fdf3e3f); } @@ -236,18 +204,13 @@ pub struct IFileProtectionManagerStatics3_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileRevocationManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IFileRevocationManagerStatics { type Vtable = IFileRevocationManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IFileRevocationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IFileRevocationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x256bbc3d_1c5d_4260_8c75_9144cfb78ba9); } @@ -275,15 +238,11 @@ pub struct IFileRevocationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUnprotectOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUnprotectOptions { type Vtable = IFileUnprotectOptions_Vtbl; } -impl ::core::clone::Clone for IFileUnprotectOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUnprotectOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d1312f1_3b0d_4dd8_a1f8_1ec53822e2f3); } @@ -296,15 +255,11 @@ pub struct IFileUnprotectOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUnprotectOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUnprotectOptionsFactory { type Vtable = IFileUnprotectOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IFileUnprotectOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUnprotectOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51aeb39c_da8c_4c3f_9bfb_cb73a7cce0dd); } @@ -316,15 +271,11 @@ pub struct IFileUnprotectOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedAccessResumedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedAccessResumedEventArgs { type Vtable = IProtectedAccessResumedEventArgs_Vtbl; } -impl ::core::clone::Clone for IProtectedAccessResumedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedAccessResumedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac4dca59_5d80_4e95_8c5f_8539450eebe0); } @@ -339,15 +290,11 @@ pub struct IProtectedAccessResumedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedAccessSuspendingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedAccessSuspendingEventArgs { type Vtable = IProtectedAccessSuspendingEventArgs_Vtbl; } -impl ::core::clone::Clone for IProtectedAccessSuspendingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedAccessSuspendingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75a193e0_a344_429f_b975_04fc1f88c185); } @@ -370,15 +317,11 @@ pub struct IProtectedAccessSuspendingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedContainerExportResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedContainerExportResult { type Vtable = IProtectedContainerExportResult_Vtbl; } -impl ::core::clone::Clone for IProtectedContainerExportResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedContainerExportResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3948ef95_f7fb_4b42_afb0_df70b41543c1); } @@ -394,15 +337,11 @@ pub struct IProtectedContainerExportResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedContainerImportResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedContainerImportResult { type Vtable = IProtectedContainerImportResult_Vtbl; } -impl ::core::clone::Clone for IProtectedContainerImportResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedContainerImportResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdb780d1_e7bb_4d1a_9339_34dc41149f9b); } @@ -418,15 +357,11 @@ pub struct IProtectedContainerImportResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedContentRevokedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedContentRevokedEventArgs { type Vtable = IProtectedContentRevokedEventArgs_Vtbl; } -impl ::core::clone::Clone for IProtectedContentRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedContentRevokedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63686821_58b9_47ee_93d9_f0f741cf43f0); } @@ -441,15 +376,11 @@ pub struct IProtectedContentRevokedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedFileCreateResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectedFileCreateResult { type Vtable = IProtectedFileCreateResult_Vtbl; } -impl ::core::clone::Clone for IProtectedFileCreateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedFileCreateResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28e3ed6a_e9e7_4a03_9f53_bdb16172699b); } @@ -469,15 +400,11 @@ pub struct IProtectedFileCreateResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyAuditInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyAuditInfo { type Vtable = IProtectionPolicyAuditInfo_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyAuditInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyAuditInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x425ab7e4_feb7_44fc_b3bb_c3c4d7ecbebb); } @@ -496,15 +423,11 @@ pub struct IProtectionPolicyAuditInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyAuditInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyAuditInfoFactory { type Vtable = IProtectionPolicyAuditInfoFactory_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyAuditInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyAuditInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed4180b_92e8_42d5_83d4_25440b423549); } @@ -517,15 +440,11 @@ pub struct IProtectionPolicyAuditInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManager { type Vtable = IProtectionPolicyManager_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5703e18_a08d_47e6_a240_9934d7165eb5); } @@ -538,15 +457,11 @@ pub struct IProtectionPolicyManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManager2 { type Vtable = IProtectionPolicyManager2_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabf7527a_8435_417f_99b6_51beaf365888); } @@ -559,15 +474,11 @@ pub struct IProtectionPolicyManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManagerStatics { type Vtable = IProtectionPolicyManagerStatics_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0bffc66_8c3d_4d56_8804_c68f0ad32ec5); } @@ -617,15 +528,11 @@ pub struct IProtectionPolicyManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManagerStatics2 { type Vtable = IProtectionPolicyManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb68f9a8c_39e0_4649_b2e4_070ab8a579b3); } @@ -657,15 +564,11 @@ pub struct IProtectionPolicyManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManagerStatics3 { type Vtable = IProtectionPolicyManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48ff9e8c_6a6f_4d9f_bced_18ab537aa015); } @@ -693,15 +596,11 @@ pub struct IProtectionPolicyManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtectionPolicyManagerStatics4 { type Vtable = IProtectionPolicyManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20b794db_ccbd_490f_8c83_49ccb77aea6c); } @@ -747,15 +646,11 @@ pub struct IProtectionPolicyManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThreadNetworkContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IThreadNetworkContext { type Vtable = IThreadNetworkContext_Vtbl; } -impl ::core::clone::Clone for IThreadNetworkContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThreadNetworkContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa4ea8e9_ef13_405a_b12c_d7348c6f41fc); } @@ -766,6 +661,7 @@ pub struct IThreadNetworkContext_Vtbl { } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BufferProtectUnprotectResult(::windows_core::IUnknown); impl BufferProtectUnprotectResult { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -785,25 +681,9 @@ impl BufferProtectUnprotectResult { } } } -impl ::core::cmp::PartialEq for BufferProtectUnprotectResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BufferProtectUnprotectResult {} -impl ::core::fmt::Debug for BufferProtectUnprotectResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BufferProtectUnprotectResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BufferProtectUnprotectResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.BufferProtectUnprotectResult;{47995edc-6cec-4e3a-b251-9e7485d79e7a})"); } -impl ::core::clone::Clone for BufferProtectUnprotectResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BufferProtectUnprotectResult { type Vtable = IBufferProtectUnprotectResult_Vtbl; } @@ -818,6 +698,7 @@ unsafe impl ::core::marker::Send for BufferProtectUnprotectResult {} unsafe impl ::core::marker::Sync for BufferProtectUnprotectResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataProtectionInfo(::windows_core::IUnknown); impl DataProtectionInfo { pub fn Status(&self) -> ::windows_core::Result { @@ -835,25 +716,9 @@ impl DataProtectionInfo { } } } -impl ::core::cmp::PartialEq for DataProtectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataProtectionInfo {} -impl ::core::fmt::Debug for DataProtectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataProtectionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataProtectionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.DataProtectionInfo;{8420b0c1-5e31-4405-9540-3f943af0cb26})"); } -impl ::core::clone::Clone for DataProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataProtectionInfo { type Vtable = IDataProtectionInfo_Vtbl; } @@ -948,6 +813,7 @@ impl ::windows_core::RuntimeName for DataProtectionManager { } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileProtectionInfo(::windows_core::IUnknown); impl FileProtectionInfo { pub fn Status(&self) -> ::windows_core::Result { @@ -979,25 +845,9 @@ impl FileProtectionInfo { } } } -impl ::core::cmp::PartialEq for FileProtectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileProtectionInfo {} -impl ::core::fmt::Debug for FileProtectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileProtectionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileProtectionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileProtectionInfo;{4ee96486-147e-4dd0-8faf-5253ed91ad0c})"); } -impl ::core::clone::Clone for FileProtectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileProtectionInfo { type Vtable = IFileProtectionInfo_Vtbl; } @@ -1226,6 +1076,7 @@ impl ::windows_core::RuntimeName for FileRevocationManager { } #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileUnprotectOptions(::windows_core::IUnknown); impl FileUnprotectOptions { pub fn SetAudit(&self, value: bool) -> ::windows_core::Result<()> { @@ -1251,25 +1102,9 @@ impl FileUnprotectOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileUnprotectOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileUnprotectOptions {} -impl ::core::fmt::Debug for FileUnprotectOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileUnprotectOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileUnprotectOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.FileUnprotectOptions;{7d1312f1-3b0d-4dd8-a1f8-1ec53822e2f3})"); } -impl ::core::clone::Clone for FileUnprotectOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileUnprotectOptions { type Vtable = IFileUnprotectOptions_Vtbl; } @@ -1284,6 +1119,7 @@ unsafe impl ::core::marker::Send for FileUnprotectOptions {} unsafe impl ::core::marker::Sync for FileUnprotectOptions {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedAccessResumedEventArgs(::windows_core::IUnknown); impl ProtectedAccessResumedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1296,25 +1132,9 @@ impl ProtectedAccessResumedEventArgs { } } } -impl ::core::cmp::PartialEq for ProtectedAccessResumedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedAccessResumedEventArgs {} -impl ::core::fmt::Debug for ProtectedAccessResumedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedAccessResumedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedAccessResumedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessResumedEventArgs;{ac4dca59-5d80-4e95-8c5f-8539450eebe0})"); } -impl ::core::clone::Clone for ProtectedAccessResumedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedAccessResumedEventArgs { type Vtable = IProtectedAccessResumedEventArgs_Vtbl; } @@ -1329,6 +1149,7 @@ unsafe impl ::core::marker::Send for ProtectedAccessResumedEventArgs {} unsafe impl ::core::marker::Sync for ProtectedAccessResumedEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedAccessSuspendingEventArgs(::windows_core::IUnknown); impl ProtectedAccessSuspendingEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1359,25 +1180,9 @@ impl ProtectedAccessSuspendingEventArgs { } } } -impl ::core::cmp::PartialEq for ProtectedAccessSuspendingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedAccessSuspendingEventArgs {} -impl ::core::fmt::Debug for ProtectedAccessSuspendingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedAccessSuspendingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedAccessSuspendingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedAccessSuspendingEventArgs;{75a193e0-a344-429f-b975-04fc1f88c185})"); } -impl ::core::clone::Clone for ProtectedAccessSuspendingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedAccessSuspendingEventArgs { type Vtable = IProtectedAccessSuspendingEventArgs_Vtbl; } @@ -1392,6 +1197,7 @@ unsafe impl ::core::marker::Send for ProtectedAccessSuspendingEventArgs {} unsafe impl ::core::marker::Sync for ProtectedAccessSuspendingEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedContainerExportResult(::windows_core::IUnknown); impl ProtectedContainerExportResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1411,25 +1217,9 @@ impl ProtectedContainerExportResult { } } } -impl ::core::cmp::PartialEq for ProtectedContainerExportResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedContainerExportResult {} -impl ::core::fmt::Debug for ProtectedContainerExportResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedContainerExportResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedContainerExportResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerExportResult;{3948ef95-f7fb-4b42-afb0-df70b41543c1})"); } -impl ::core::clone::Clone for ProtectedContainerExportResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedContainerExportResult { type Vtable = IProtectedContainerExportResult_Vtbl; } @@ -1444,6 +1234,7 @@ unsafe impl ::core::marker::Send for ProtectedContainerExportResult {} unsafe impl ::core::marker::Sync for ProtectedContainerExportResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedContainerImportResult(::windows_core::IUnknown); impl ProtectedContainerImportResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1463,25 +1254,9 @@ impl ProtectedContainerImportResult { } } } -impl ::core::cmp::PartialEq for ProtectedContainerImportResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedContainerImportResult {} -impl ::core::fmt::Debug for ProtectedContainerImportResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedContainerImportResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedContainerImportResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContainerImportResult;{cdb780d1-e7bb-4d1a-9339-34dc41149f9b})"); } -impl ::core::clone::Clone for ProtectedContainerImportResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedContainerImportResult { type Vtable = IProtectedContainerImportResult_Vtbl; } @@ -1496,6 +1271,7 @@ unsafe impl ::core::marker::Send for ProtectedContainerImportResult {} unsafe impl ::core::marker::Sync for ProtectedContainerImportResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedContentRevokedEventArgs(::windows_core::IUnknown); impl ProtectedContentRevokedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1508,25 +1284,9 @@ impl ProtectedContentRevokedEventArgs { } } } -impl ::core::cmp::PartialEq for ProtectedContentRevokedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedContentRevokedEventArgs {} -impl ::core::fmt::Debug for ProtectedContentRevokedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedContentRevokedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedContentRevokedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedContentRevokedEventArgs;{63686821-58b9-47ee-93d9-f0f741cf43f0})"); } -impl ::core::clone::Clone for ProtectedContentRevokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedContentRevokedEventArgs { type Vtable = IProtectedContentRevokedEventArgs_Vtbl; } @@ -1541,6 +1301,7 @@ unsafe impl ::core::marker::Send for ProtectedContentRevokedEventArgs {} unsafe impl ::core::marker::Sync for ProtectedContentRevokedEventArgs {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectedFileCreateResult(::windows_core::IUnknown); impl ProtectedFileCreateResult { #[doc = "*Required features: `\"Storage\"`*"] @@ -1569,25 +1330,9 @@ impl ProtectedFileCreateResult { } } } -impl ::core::cmp::PartialEq for ProtectedFileCreateResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectedFileCreateResult {} -impl ::core::fmt::Debug for ProtectedFileCreateResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectedFileCreateResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectedFileCreateResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectedFileCreateResult;{28e3ed6a-e9e7-4a03-9f53-bdb16172699b})"); } -impl ::core::clone::Clone for ProtectedFileCreateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectedFileCreateResult { type Vtable = IProtectedFileCreateResult_Vtbl; } @@ -1602,6 +1347,7 @@ unsafe impl ::core::marker::Send for ProtectedFileCreateResult {} unsafe impl ::core::marker::Sync for ProtectedFileCreateResult {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectionPolicyAuditInfo(::windows_core::IUnknown); impl ProtectionPolicyAuditInfo { pub fn SetAction(&self, value: ProtectionPolicyAuditAction) -> ::windows_core::Result<()> { @@ -1666,25 +1412,9 @@ impl ProtectionPolicyAuditInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProtectionPolicyAuditInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectionPolicyAuditInfo {} -impl ::core::fmt::Debug for ProtectionPolicyAuditInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectionPolicyAuditInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectionPolicyAuditInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyAuditInfo;{425ab7e4-feb7-44fc-b3bb-c3c4d7ecbebb})"); } -impl ::core::clone::Clone for ProtectionPolicyAuditInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectionPolicyAuditInfo { type Vtable = IProtectionPolicyAuditInfo_Vtbl; } @@ -1699,6 +1429,7 @@ unsafe impl ::core::marker::Send for ProtectionPolicyAuditInfo {} unsafe impl ::core::marker::Sync for ProtectionPolicyAuditInfo {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtectionPolicyManager(::windows_core::IUnknown); impl ProtectionPolicyManager { pub fn SetIdentity(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2069,25 +1800,9 @@ impl ProtectionPolicyManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProtectionPolicyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtectionPolicyManager {} -impl ::core::fmt::Debug for ProtectionPolicyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtectionPolicyManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtectionPolicyManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ProtectionPolicyManager;{d5703e18-a08d-47e6-a240-9934d7165eb5})"); } -impl ::core::clone::Clone for ProtectionPolicyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtectionPolicyManager { type Vtable = IProtectionPolicyManager_Vtbl; } @@ -2102,6 +1817,7 @@ unsafe impl ::core::marker::Send for ProtectionPolicyManager {} unsafe impl ::core::marker::Sync for ProtectionPolicyManager {} #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ThreadNetworkContext(::windows_core::IUnknown); impl ThreadNetworkContext { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2111,25 +1827,9 @@ impl ThreadNetworkContext { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ThreadNetworkContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ThreadNetworkContext {} -impl ::core::fmt::Debug for ThreadNetworkContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ThreadNetworkContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ThreadNetworkContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.EnterpriseData.ThreadNetworkContext;{fa4ea8e9-ef13-405a-b12c-d7348c6f41fc})"); } -impl ::core::clone::Clone for ThreadNetworkContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ThreadNetworkContext { type Vtable = IThreadNetworkContext_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index 7fcf2ac9ea..0c0701b539 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEasClientDeviceInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEasClientDeviceInformation { type Vtable = IEasClientDeviceInformation_Vtbl; } -impl ::core::clone::Clone for IEasClientDeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEasClientDeviceInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54dfd981_1968_4ca3_b958_e595d16505eb); } @@ -25,15 +21,11 @@ pub struct IEasClientDeviceInformation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEasClientDeviceInformation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEasClientDeviceInformation2 { type Vtable = IEasClientDeviceInformation2_Vtbl; } -impl ::core::clone::Clone for IEasClientDeviceInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEasClientDeviceInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffb35923_bb26_4d6a_81bc_165aee0ad754); } @@ -46,15 +38,11 @@ pub struct IEasClientDeviceInformation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEasClientSecurityPolicy(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEasClientSecurityPolicy { type Vtable = IEasClientSecurityPolicy_Vtbl; } -impl ::core::clone::Clone for IEasClientSecurityPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEasClientSecurityPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45b72362_dfba_4a9b_aced_6fe2adcb6420); } @@ -98,15 +86,11 @@ pub struct IEasClientSecurityPolicy_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEasComplianceResults(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEasComplianceResults { type Vtable = IEasComplianceResults_Vtbl; } -impl ::core::clone::Clone for IEasComplianceResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEasComplianceResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x463c299c_7f19_4c66_b403_cb45dd57a2b3); } @@ -126,15 +110,11 @@ pub struct IEasComplianceResults_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEasComplianceResults2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEasComplianceResults2 { type Vtable = IEasComplianceResults2_Vtbl; } -impl ::core::clone::Clone for IEasComplianceResults2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEasComplianceResults2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fbe60c9_1aa8_47f5_88bb_cb3ef0bffb15); } @@ -146,6 +126,7 @@ pub struct IEasComplianceResults2_Vtbl { } #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EasClientDeviceInformation(::windows_core::IUnknown); impl EasClientDeviceInformation { pub fn new() -> ::windows_core::Result { @@ -212,25 +193,9 @@ impl EasClientDeviceInformation { } } } -impl ::core::cmp::PartialEq for EasClientDeviceInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EasClientDeviceInformation {} -impl ::core::fmt::Debug for EasClientDeviceInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EasClientDeviceInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EasClientDeviceInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation;{54dfd981-1968-4ca3-b958-e595d16505eb})"); } -impl ::core::clone::Clone for EasClientDeviceInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EasClientDeviceInformation { type Vtable = IEasClientDeviceInformation_Vtbl; } @@ -243,6 +208,7 @@ impl ::windows_core::RuntimeName for EasClientDeviceInformation { ::windows_core::imp::interface_hierarchy!(EasClientDeviceInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EasClientSecurityPolicy(::windows_core::IUnknown); impl EasClientSecurityPolicy { pub fn new() -> ::windows_core::Result { @@ -365,25 +331,9 @@ impl EasClientSecurityPolicy { } } } -impl ::core::cmp::PartialEq for EasClientSecurityPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EasClientSecurityPolicy {} -impl ::core::fmt::Debug for EasClientSecurityPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EasClientSecurityPolicy").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EasClientSecurityPolicy { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy;{45b72362-dfba-4a9b-aced-6fe2adcb6420})"); } -impl ::core::clone::Clone for EasClientSecurityPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EasClientSecurityPolicy { type Vtable = IEasClientSecurityPolicy_Vtbl; } @@ -396,6 +346,7 @@ impl ::windows_core::RuntimeName for EasClientSecurityPolicy { ::windows_core::imp::interface_hierarchy!(EasClientSecurityPolicy, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Security_ExchangeActiveSyncProvisioning\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EasComplianceResults(::windows_core::IUnknown); impl EasComplianceResults { pub fn Compliant(&self) -> ::windows_core::Result { @@ -469,25 +420,9 @@ impl EasComplianceResults { } } } -impl ::core::cmp::PartialEq for EasComplianceResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EasComplianceResults {} -impl ::core::fmt::Debug for EasComplianceResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EasComplianceResults").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EasComplianceResults { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults;{463c299c-7f19-4c66-b403-cb45dd57a2b3})"); } -impl ::core::clone::Clone for EasComplianceResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EasComplianceResults { type Vtable = IEasComplianceResults_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index 0d5811e5b9..37ab588174 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironment { type Vtable = IIsolatedWindowsEnvironment_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41d24597_c328_4467_b37f_4dfc6f60b6bc); } @@ -57,15 +53,11 @@ pub struct IIsolatedWindowsEnvironment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironment2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironment2 { type Vtable = IIsolatedWindowsEnvironment2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d365f39_88bd_4ab4_93cf_7e2bcef337c0); } @@ -84,15 +76,11 @@ pub struct IIsolatedWindowsEnvironment2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironment3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironment3 { type Vtable = IIsolatedWindowsEnvironment3_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironment3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironment3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb7fc7d2_d06e_4c26_8ada_dacdaaad03f5); } @@ -112,15 +100,11 @@ pub struct IIsolatedWindowsEnvironment3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironment4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironment4 { type Vtable = IIsolatedWindowsEnvironment4_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironment4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironment4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11e3701a_dd9e_4f1b_812c_4020f307f93c); } @@ -132,15 +116,11 @@ pub struct IIsolatedWindowsEnvironment4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentCreateResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentCreateResult { type Vtable = IIsolatedWindowsEnvironmentCreateResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentCreateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentCreateResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef9a5e58_dcd7_45c2_9c85_ab642a715e8e); } @@ -154,15 +134,11 @@ pub struct IIsolatedWindowsEnvironmentCreateResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentCreateResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentCreateResult2 { type Vtable = IIsolatedWindowsEnvironmentCreateResult2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentCreateResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentCreateResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa547dbc7_61d4_4fb8_ab5c_edefa3d388ad); } @@ -174,15 +150,11 @@ pub struct IIsolatedWindowsEnvironmentCreateResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentFactory { type Vtable = IIsolatedWindowsEnvironmentFactory_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1aca93e7_e804_454d_8466_f9897c20b0f6); } @@ -206,15 +178,11 @@ pub struct IIsolatedWindowsEnvironmentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentFile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentFile { type Vtable = IIsolatedWindowsEnvironmentFile_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d5ae1ef_029f_4101_8c35_fe91bf9cd5f0); } @@ -228,15 +196,11 @@ pub struct IIsolatedWindowsEnvironmentFile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentFile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentFile2 { type Vtable = IIsolatedWindowsEnvironmentFile2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentFile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentFile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4eeb8dec_ad5d_4b0a_b754_f36c3d46d684); } @@ -249,15 +213,11 @@ pub struct IIsolatedWindowsEnvironmentFile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentHostStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentHostStatics { type Vtable = IIsolatedWindowsEnvironmentHostStatics_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentHostStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentHostStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c0e22c7_05a0_517a_b81c_6ee8790c381f); } @@ -273,15 +233,11 @@ pub struct IIsolatedWindowsEnvironmentHostStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentLaunchFileResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentLaunchFileResult { type Vtable = IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentLaunchFileResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentLaunchFileResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x685d4176_f6e0_4569_b1aa_215c0ff5b257); } @@ -295,15 +251,11 @@ pub struct IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOptions { type Vtable = IIsolatedWindowsEnvironmentOptions_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb71d98f7_61f0_4008_b207_0bf9eb2d76f2); } @@ -331,15 +283,11 @@ pub struct IIsolatedWindowsEnvironmentOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOptions2 { type Vtable = IIsolatedWindowsEnvironmentOptions2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10d7cc31_8b8f_4b9d_b22c_617103b55b08); } @@ -352,15 +300,11 @@ pub struct IIsolatedWindowsEnvironmentOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOptions3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOptions3 { type Vtable = IIsolatedWindowsEnvironmentOptions3_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOptions3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOptions3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98d5aa23_161f_4cd9_8a9c_269b30122b0d); } @@ -377,15 +321,11 @@ pub struct IIsolatedWindowsEnvironmentOptions3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOwnerRegistrationData { type Vtable = IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOwnerRegistrationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOwnerRegistrationData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf888ec22_e8cf_56c0_b1df_90af4ad80e84); } @@ -412,15 +352,11 @@ pub struct IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOwnerRegistrationResult { type Vtable = IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOwnerRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOwnerRegistrationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dab9451_6169_55df_8f51_790e99d7277d); } @@ -433,15 +369,11 @@ pub struct IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentOwnerRegistrationStatics { type Vtable = IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentOwnerRegistrationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentOwnerRegistrationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10951754_204b_5ec9_9de3_df792d074a61); } @@ -454,15 +386,11 @@ pub struct IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentPostMessageResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentPostMessageResult { type Vtable = IIsolatedWindowsEnvironmentPostMessageResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentPostMessageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentPostMessageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dfa28fa_2ef0_4d8f_b341_3171b2df93b1); } @@ -475,15 +403,11 @@ pub struct IIsolatedWindowsEnvironmentPostMessageResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentProcess(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentProcess { type Vtable = IIsolatedWindowsEnvironmentProcess_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentProcess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa858c3ef_8172_4f10_af93_cbe60af88d09); } @@ -502,15 +426,11 @@ pub struct IIsolatedWindowsEnvironmentProcess_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentShareFileRequestOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentShareFileRequestOptions { type Vtable = IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentShareFileRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentShareFileRequestOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9190ed8_0fd0_4946_bb88_117a60737b61); } @@ -523,15 +443,11 @@ pub struct IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentShareFileResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentShareFileResult { type Vtable = IIsolatedWindowsEnvironmentShareFileResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentShareFileResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentShareFileResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec7caa7_9ac6_4bf5_8b91_5c1adf0d7d00); } @@ -545,15 +461,11 @@ pub struct IIsolatedWindowsEnvironmentShareFileResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentShareFolderRequestOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentShareFolderRequestOptions { type Vtable = IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentShareFolderRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentShareFolderRequestOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc405eb7d_7053_4f6a_9b87_746846ed19b2); } @@ -566,15 +478,11 @@ pub struct IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentShareFolderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentShareFolderResult { type Vtable = IIsolatedWindowsEnvironmentShareFolderResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentShareFolderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentShareFolderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x556ba72e_ca9d_4211_b143_1cedc86eb2fe); } @@ -587,15 +495,11 @@ pub struct IIsolatedWindowsEnvironmentShareFolderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentStartProcessResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentStartProcessResult { type Vtable = IIsolatedWindowsEnvironmentStartProcessResult_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentStartProcessResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentStartProcessResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fa1dc2f_57da_4bb5_9c06_fa072d2032e2); } @@ -609,15 +513,11 @@ pub struct IIsolatedWindowsEnvironmentStartProcessResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentTelemetryParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentTelemetryParameters { type Vtable = IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentTelemetryParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentTelemetryParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebdb3cab_7a3a_4524_a0f4_f96e284d33cd); } @@ -630,15 +530,11 @@ pub struct IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentUserInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentUserInfo { type Vtable = IIsolatedWindowsEnvironmentUserInfo_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentUserInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentUserInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a9c75ae_69ba_4001_96fc_19a02703b340); } @@ -655,15 +551,11 @@ pub struct IIsolatedWindowsEnvironmentUserInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsEnvironmentUserInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsEnvironmentUserInfo2 { type Vtable = IIsolatedWindowsEnvironmentUserInfo2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsEnvironmentUserInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsEnvironmentUserInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0bdd5dd_91d7_481e_94f2_2a5a6bdf9383); } @@ -678,15 +570,11 @@ pub struct IIsolatedWindowsEnvironmentUserInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsHostMessengerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsHostMessengerStatics { type Vtable = IIsolatedWindowsHostMessengerStatics_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsHostMessengerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsHostMessengerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06e444bb_53c0_4889_8fa3_53592e37cf21); } @@ -702,15 +590,11 @@ pub struct IIsolatedWindowsHostMessengerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedWindowsHostMessengerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIsolatedWindowsHostMessengerStatics2 { type Vtable = IIsolatedWindowsHostMessengerStatics2_Vtbl; } -impl ::core::clone::Clone for IIsolatedWindowsHostMessengerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedWindowsHostMessengerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55ef9ebc_0444_42ad_832d_1b89c089d1ca); } @@ -726,6 +610,7 @@ pub struct IIsolatedWindowsHostMessengerStatics2_Vtbl { } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironment(::windows_core::IUnknown); impl IsolatedWindowsEnvironment { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -940,25 +825,9 @@ impl IsolatedWindowsEnvironment { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironment {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironment;{41d24597-c328-4467-b37f-4dfc6f60b6bc})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironment { type Vtable = IIsolatedWindowsEnvironment_Vtbl; } @@ -973,6 +842,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironment {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironment {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentCreateResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentCreateResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1001,25 +871,9 @@ impl IsolatedWindowsEnvironmentCreateResult { unsafe { (::windows_core::Interface::vtable(this).ChangeCreationPriority)(::windows_core::Interface::as_raw(this), priority).ok() } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentCreateResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentCreateResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentCreateResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentCreateResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentCreateResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentCreateResult;{ef9a5e58-dcd7-45c2-9c85-ab642a715e8e})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentCreateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentCreateResult { type Vtable = IIsolatedWindowsEnvironmentCreateResult_Vtbl; } @@ -1034,6 +888,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentCreateResult {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentCreateResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentFile(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentFile { pub fn Id(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -1069,25 +924,9 @@ impl IsolatedWindowsEnvironmentFile { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentFile {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentFile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentFile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentFile;{4d5ae1ef-029f-4101-8c35-fe91bf9cd5f0})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentFile { type Vtable = IIsolatedWindowsEnvironmentFile_Vtbl; } @@ -1128,6 +967,7 @@ impl ::windows_core::RuntimeName for IsolatedWindowsEnvironmentHost { } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentLaunchFileResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentLaunchFileResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1152,25 +992,9 @@ impl IsolatedWindowsEnvironmentLaunchFileResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentLaunchFileResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentLaunchFileResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentLaunchFileResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentLaunchFileResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentLaunchFileResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentLaunchFileResult;{685d4176-f6e0-4569-b1aa-215c0ff5b257})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentLaunchFileResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentLaunchFileResult { type Vtable = IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl; } @@ -1185,6 +1009,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentLaunchFileResult unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentLaunchFileResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentOptions(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentOptions { pub fn new() -> ::windows_core::Result { @@ -1334,25 +1159,9 @@ impl IsolatedWindowsEnvironmentOptions { unsafe { (::windows_core::Interface::vtable(this).SetCreationPriority)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentOptions {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOptions;{b71d98f7-61f0-4008-b207-0bf9eb2d76f2})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentOptions { type Vtable = IIsolatedWindowsEnvironmentOptions_Vtbl; } @@ -1391,6 +1200,7 @@ impl ::windows_core::RuntimeName for IsolatedWindowsEnvironmentOwnerRegistration } #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentOwnerRegistrationData(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn new() -> ::windows_core::Result { @@ -1437,25 +1247,9 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationData { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentOwnerRegistrationData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentOwnerRegistrationData {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOwnerRegistrationData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentOwnerRegistrationData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentOwnerRegistrationData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationData;{f888ec22-e8cf-56c0-b1df-90af4ad80e84})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentOwnerRegistrationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentOwnerRegistrationData { type Vtable = IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl; } @@ -1470,6 +1264,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentOwnerRegistration unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentOwnerRegistrationData {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentOwnerRegistrationResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentOwnerRegistrationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1487,25 +1282,9 @@ impl IsolatedWindowsEnvironmentOwnerRegistrationResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentOwnerRegistrationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentOwnerRegistrationResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentOwnerRegistrationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentOwnerRegistrationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentOwnerRegistrationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentOwnerRegistrationResult;{6dab9451-6169-55df-8f51-790e99d7277d})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentOwnerRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentOwnerRegistrationResult { type Vtable = IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl; } @@ -1520,6 +1299,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentOwnerRegistration unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentOwnerRegistrationResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentPostMessageResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentPostMessageResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1537,25 +1317,9 @@ impl IsolatedWindowsEnvironmentPostMessageResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentPostMessageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentPostMessageResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentPostMessageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentPostMessageResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentPostMessageResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentPostMessageResult;{0dfa28fa-2ef0-4d8f-b341-3171b2df93b1})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentPostMessageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentPostMessageResult { type Vtable = IIsolatedWindowsEnvironmentPostMessageResult_Vtbl; } @@ -1570,6 +1334,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentPostMessageResult unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentPostMessageResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentProcess(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentProcess { pub fn State(&self) -> ::windows_core::Result { @@ -1604,25 +1369,9 @@ impl IsolatedWindowsEnvironmentProcess { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentProcess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentProcess {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentProcess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentProcess").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentProcess { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentProcess;{a858c3ef-8172-4f10-af93-cbe60af88d09})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentProcess { type Vtable = IIsolatedWindowsEnvironmentProcess_Vtbl; } @@ -1637,6 +1386,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentProcess {} unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentProcess {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentShareFileRequestOptions(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentShareFileRequestOptions { pub fn new() -> ::windows_core::Result { @@ -1658,25 +1408,9 @@ impl IsolatedWindowsEnvironmentShareFileRequestOptions { unsafe { (::windows_core::Interface::vtable(this).SetAllowWrite)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentShareFileRequestOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentShareFileRequestOptions {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFileRequestOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentShareFileRequestOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentShareFileRequestOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileRequestOptions;{c9190ed8-0fd0-4946-bb88-117a60737b61})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFileRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentShareFileRequestOptions { type Vtable = IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl; } @@ -1691,6 +1425,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFileRequestO unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFileRequestOptions {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentShareFileResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentShareFileResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1715,25 +1450,9 @@ impl IsolatedWindowsEnvironmentShareFileResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentShareFileResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentShareFileResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFileResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentShareFileResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentShareFileResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFileResult;{aec7caa7-9ac6-4bf5-8b91-5c1adf0d7d00})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFileResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentShareFileResult { type Vtable = IIsolatedWindowsEnvironmentShareFileResult_Vtbl; } @@ -1748,6 +1467,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFileResult { unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFileResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentShareFolderRequestOptions(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentShareFolderRequestOptions { pub fn new() -> ::windows_core::Result { @@ -1769,25 +1489,9 @@ impl IsolatedWindowsEnvironmentShareFolderRequestOptions { unsafe { (::windows_core::Interface::vtable(this).SetAllowWrite)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentShareFolderRequestOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentShareFolderRequestOptions {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFolderRequestOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentShareFolderRequestOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentShareFolderRequestOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderRequestOptions;{c405eb7d-7053-4f6a-9b87-746846ed19b2})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFolderRequestOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentShareFolderRequestOptions { type Vtable = IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl; } @@ -1802,6 +1506,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFolderReques unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFolderRequestOptions {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentShareFolderResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentShareFolderResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1819,25 +1524,9 @@ impl IsolatedWindowsEnvironmentShareFolderResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentShareFolderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentShareFolderResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentShareFolderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentShareFolderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentShareFolderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentShareFolderResult;{556ba72e-ca9d-4211-b143-1cedc86eb2fe})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentShareFolderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentShareFolderResult { type Vtable = IIsolatedWindowsEnvironmentShareFolderResult_Vtbl; } @@ -1852,6 +1541,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentShareFolderResult unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentShareFolderResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentStartProcessResult(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentStartProcessResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1876,25 +1566,9 @@ impl IsolatedWindowsEnvironmentStartProcessResult { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentStartProcessResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentStartProcessResult {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentStartProcessResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentStartProcessResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentStartProcessResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentStartProcessResult;{8fa1dc2f-57da-4bb5-9c06-fa072d2032e2})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentStartProcessResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentStartProcessResult { type Vtable = IIsolatedWindowsEnvironmentStartProcessResult_Vtbl; } @@ -1909,6 +1583,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentStartProcessResul unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentStartProcessResult {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentTelemetryParameters(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentTelemetryParameters { pub fn new() -> ::windows_core::Result { @@ -1930,25 +1605,9 @@ impl IsolatedWindowsEnvironmentTelemetryParameters { unsafe { (::windows_core::Interface::vtable(this).SetCorrelationId)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentTelemetryParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentTelemetryParameters {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentTelemetryParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentTelemetryParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentTelemetryParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentTelemetryParameters;{ebdb3cab-7a3a-4524-a0f4-f96e284d33cd})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentTelemetryParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentTelemetryParameters { type Vtable = IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl; } @@ -1963,6 +1622,7 @@ unsafe impl ::core::marker::Send for IsolatedWindowsEnvironmentTelemetryParamete unsafe impl ::core::marker::Sync for IsolatedWindowsEnvironmentTelemetryParameters {} #[doc = "*Required features: `\"Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IsolatedWindowsEnvironmentUserInfo(::windows_core::IUnknown); impl IsolatedWindowsEnvironmentUserInfo { pub fn EnvironmentUserSid(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1998,25 +1658,9 @@ impl IsolatedWindowsEnvironmentUserInfo { } } } -impl ::core::cmp::PartialEq for IsolatedWindowsEnvironmentUserInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IsolatedWindowsEnvironmentUserInfo {} -impl ::core::fmt::Debug for IsolatedWindowsEnvironmentUserInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IsolatedWindowsEnvironmentUserInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IsolatedWindowsEnvironmentUserInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Security.Isolation.IsolatedWindowsEnvironmentUserInfo;{8a9c75ae-69ba-4001-96fc-19a02703b340})"); } -impl ::core::clone::Clone for IsolatedWindowsEnvironmentUserInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IsolatedWindowsEnvironmentUserInfo { type Vtable = IIsolatedWindowsEnvironmentUserInfo_Vtbl; } @@ -2725,6 +2369,7 @@ impl ::core::default::Default for IsolatedWindowsEnvironmentCreateProgress { #[doc = "*Required features: `\"Security_Isolation\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HostMessageReceivedCallback(pub ::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl HostMessageReceivedCallback { @@ -2755,9 +2400,12 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2783,30 +2431,10 @@ impl bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for HostMessageReceivedCallback {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for HostMessageReceivedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HostMessageReceivedCallback").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for HostMessageReceivedCallback { type Vtable = HostMessageReceivedCallback_Vtbl; } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for HostMessageReceivedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::ComInterface for HostMessageReceivedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaf26ffa_8ce1_4cc1_b278_322d31a5e4a3); } @@ -2827,6 +2455,7 @@ pub struct HostMessageReceivedCallback_Vtbl { #[doc = "*Required features: `\"Security_Isolation\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageReceivedCallback(pub ::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl MessageReceivedCallback { @@ -2857,9 +2486,12 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2885,30 +2517,10 @@ impl bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for MessageReceivedCallback {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for MessageReceivedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageReceivedCallback").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for MessageReceivedCallback { type Vtable = MessageReceivedCallback_Vtbl; } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for MessageReceivedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::ComInterface for MessageReceivedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5b4c8ff_1d9d_4995_9fea_4d15257c0757); } diff --git a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs index 0ce7989acd..11901f10f1 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceAudioNotificationRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceAudioNotificationRequestedEventArgs { type Vtable = IGuidanceAudioNotificationRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGuidanceAudioNotificationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceAudioNotificationRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca2aa24a_c7c2_4d4c_9d7c_499576bceddb); } @@ -25,15 +21,11 @@ pub struct IGuidanceAudioNotificationRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceLaneInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceLaneInfo { type Vtable = IGuidanceLaneInfo_Vtbl; } -impl ::core::clone::Clone for IGuidanceLaneInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceLaneInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8404d114_6581_43b7_ac15_c9079bf90df1); } @@ -46,15 +38,11 @@ pub struct IGuidanceLaneInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceManeuver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceManeuver { type Vtable = IGuidanceManeuver_Vtbl; } -impl ::core::clone::Clone for IGuidanceManeuver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceManeuver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc09326c_ecc9_4928_a2a1_7232b99b94a1); } @@ -80,15 +68,11 @@ pub struct IGuidanceManeuver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceMapMatchedCoordinate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceMapMatchedCoordinate { type Vtable = IGuidanceMapMatchedCoordinate_Vtbl; } -impl ::core::clone::Clone for IGuidanceMapMatchedCoordinate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceMapMatchedCoordinate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7acb168_2912_4a99_aff1_798609b981fe); } @@ -107,15 +91,11 @@ pub struct IGuidanceMapMatchedCoordinate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceNavigator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceNavigator { type Vtable = IGuidanceNavigator_Vtbl; } -impl ::core::clone::Clone for IGuidanceNavigator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceNavigator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08f17ef7_8e3f_4d9a_be8a_108f9a012c67); } @@ -202,15 +182,11 @@ pub struct IGuidanceNavigator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceNavigator2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceNavigator2 { type Vtable = IGuidanceNavigator2_Vtbl; } -impl ::core::clone::Clone for IGuidanceNavigator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceNavigator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cdc50d1_041c_4bf3_b633_a101fc2f6b57); } @@ -231,15 +207,11 @@ pub struct IGuidanceNavigator2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceNavigatorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceNavigatorStatics { type Vtable = IGuidanceNavigatorStatics_Vtbl; } -impl ::core::clone::Clone for IGuidanceNavigatorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceNavigatorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00fd9513_4456_4e66_a143_3add6be08426); } @@ -251,15 +223,11 @@ pub struct IGuidanceNavigatorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceNavigatorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceNavigatorStatics2 { type Vtable = IGuidanceNavigatorStatics2_Vtbl; } -impl ::core::clone::Clone for IGuidanceNavigatorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceNavigatorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54c5c3e2_7784_4c85_8c95_d0c6efb43965); } @@ -271,15 +239,11 @@ pub struct IGuidanceNavigatorStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceReroutedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceReroutedEventArgs { type Vtable = IGuidanceReroutedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGuidanceReroutedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceReroutedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x115d4008_d528_454e_bb94_a50341d2c9f1); } @@ -291,15 +255,11 @@ pub struct IGuidanceReroutedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceRoadSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceRoadSegment { type Vtable = IGuidanceRoadSegment_Vtbl; } -impl ::core::clone::Clone for IGuidanceRoadSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceRoadSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb32758a6_be78_4c63_afe7_6c2957479b3e); } @@ -325,15 +285,11 @@ pub struct IGuidanceRoadSegment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceRoadSegment2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceRoadSegment2 { type Vtable = IGuidanceRoadSegment2_Vtbl; } -impl ::core::clone::Clone for IGuidanceRoadSegment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceRoadSegment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2474a61d_1723_49f1_895b_47a2c4aa9c55); } @@ -345,15 +301,11 @@ pub struct IGuidanceRoadSegment2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceRoadSignpost(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceRoadSignpost { type Vtable = IGuidanceRoadSignpost_Vtbl; } -impl ::core::clone::Clone for IGuidanceRoadSignpost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceRoadSignpost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1a728b6_f77a_4742_8312_53300f9845f0); } @@ -378,15 +330,11 @@ pub struct IGuidanceRoadSignpost_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceRoute(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceRoute { type Vtable = IGuidanceRoute_Vtbl; } -impl ::core::clone::Clone for IGuidanceRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceRoute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a14545d_801a_40bd_a286_afb2010cce6c); } @@ -419,15 +367,11 @@ pub struct IGuidanceRoute_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceRouteStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceRouteStatics { type Vtable = IGuidanceRouteStatics_Vtbl; } -impl ::core::clone::Clone for IGuidanceRouteStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceRouteStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf56d926a_55ed_49c1_b09c_4b8223b50db3); } @@ -440,15 +384,11 @@ pub struct IGuidanceRouteStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceTelemetryCollector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceTelemetryCollector { type Vtable = IGuidanceTelemetryCollector_Vtbl; } -impl ::core::clone::Clone for IGuidanceTelemetryCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceTelemetryCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb1f8da5_b878_4d92_98dd_347d23d38262); } @@ -466,15 +406,11 @@ pub struct IGuidanceTelemetryCollector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceTelemetryCollectorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceTelemetryCollectorStatics { type Vtable = IGuidanceTelemetryCollectorStatics_Vtbl; } -impl ::core::clone::Clone for IGuidanceTelemetryCollectorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceTelemetryCollectorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36532047_f160_44fb_b578_94577ca05990); } @@ -486,15 +422,11 @@ pub struct IGuidanceTelemetryCollectorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuidanceUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGuidanceUpdatedEventArgs { type Vtable = IGuidanceUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IGuidanceUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuidanceUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdac160b_9e8d_4de3_a9fa_b06321d18db9); } @@ -528,6 +460,7 @@ pub struct IGuidanceUpdatedEventArgs_Vtbl { } #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceAudioNotificationRequestedEventArgs(::windows_core::IUnknown); impl GuidanceAudioNotificationRequestedEventArgs { pub fn AudioNotification(&self) -> ::windows_core::Result { @@ -554,25 +487,9 @@ impl GuidanceAudioNotificationRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for GuidanceAudioNotificationRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceAudioNotificationRequestedEventArgs {} -impl ::core::fmt::Debug for GuidanceAudioNotificationRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceAudioNotificationRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceAudioNotificationRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceAudioNotificationRequestedEventArgs;{ca2aa24a-c7c2-4d4c-9d7c-499576bceddb})"); } -impl ::core::clone::Clone for GuidanceAudioNotificationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceAudioNotificationRequestedEventArgs { type Vtable = IGuidanceAudioNotificationRequestedEventArgs_Vtbl; } @@ -587,6 +504,7 @@ unsafe impl ::core::marker::Send for GuidanceAudioNotificationRequestedEventArgs unsafe impl ::core::marker::Sync for GuidanceAudioNotificationRequestedEventArgs {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceLaneInfo(::windows_core::IUnknown); impl GuidanceLaneInfo { pub fn LaneMarkers(&self) -> ::windows_core::Result { @@ -604,25 +522,9 @@ impl GuidanceLaneInfo { } } } -impl ::core::cmp::PartialEq for GuidanceLaneInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceLaneInfo {} -impl ::core::fmt::Debug for GuidanceLaneInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceLaneInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceLaneInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceLaneInfo;{8404d114-6581-43b7-ac15-c9079bf90df1})"); } -impl ::core::clone::Clone for GuidanceLaneInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceLaneInfo { type Vtable = IGuidanceLaneInfo_Vtbl; } @@ -637,6 +539,7 @@ unsafe impl ::core::marker::Send for GuidanceLaneInfo {} unsafe impl ::core::marker::Sync for GuidanceLaneInfo {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceManeuver(::windows_core::IUnknown); impl GuidanceManeuver { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -726,25 +629,9 @@ impl GuidanceManeuver { } } } -impl ::core::cmp::PartialEq for GuidanceManeuver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceManeuver {} -impl ::core::fmt::Debug for GuidanceManeuver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceManeuver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceManeuver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceManeuver;{fc09326c-ecc9-4928-a2a1-7232b99b94a1})"); } -impl ::core::clone::Clone for GuidanceManeuver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceManeuver { type Vtable = IGuidanceManeuver_Vtbl; } @@ -759,6 +646,7 @@ unsafe impl ::core::marker::Send for GuidanceManeuver {} unsafe impl ::core::marker::Sync for GuidanceManeuver {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceMapMatchedCoordinate(::windows_core::IUnknown); impl GuidanceMapMatchedCoordinate { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -799,25 +687,9 @@ impl GuidanceMapMatchedCoordinate { } } } -impl ::core::cmp::PartialEq for GuidanceMapMatchedCoordinate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceMapMatchedCoordinate {} -impl ::core::fmt::Debug for GuidanceMapMatchedCoordinate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceMapMatchedCoordinate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceMapMatchedCoordinate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate;{b7acb168-2912-4a99-aff1-798609b981fe})"); } -impl ::core::clone::Clone for GuidanceMapMatchedCoordinate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceMapMatchedCoordinate { type Vtable = IGuidanceMapMatchedCoordinate_Vtbl; } @@ -832,6 +704,7 @@ unsafe impl ::core::marker::Send for GuidanceMapMatchedCoordinate {} unsafe impl ::core::marker::Sync for GuidanceMapMatchedCoordinate {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceNavigator(::windows_core::IUnknown); impl GuidanceNavigator { pub fn StartNavigating(&self, route: P0) -> ::windows_core::Result<()> @@ -1090,25 +963,9 @@ impl GuidanceNavigator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GuidanceNavigator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceNavigator {} -impl ::core::fmt::Debug for GuidanceNavigator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceNavigator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceNavigator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceNavigator;{08f17ef7-8e3f-4d9a-be8a-108f9a012c67})"); } -impl ::core::clone::Clone for GuidanceNavigator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceNavigator { type Vtable = IGuidanceNavigator_Vtbl; } @@ -1123,6 +980,7 @@ unsafe impl ::core::marker::Send for GuidanceNavigator {} unsafe impl ::core::marker::Sync for GuidanceNavigator {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceReroutedEventArgs(::windows_core::IUnknown); impl GuidanceReroutedEventArgs { pub fn Route(&self) -> ::windows_core::Result { @@ -1133,25 +991,9 @@ impl GuidanceReroutedEventArgs { } } } -impl ::core::cmp::PartialEq for GuidanceReroutedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceReroutedEventArgs {} -impl ::core::fmt::Debug for GuidanceReroutedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceReroutedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceReroutedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs;{115d4008-d528-454e-bb94-a50341d2c9f1})"); } -impl ::core::clone::Clone for GuidanceReroutedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceReroutedEventArgs { type Vtable = IGuidanceReroutedEventArgs_Vtbl; } @@ -1166,6 +1008,7 @@ unsafe impl ::core::marker::Send for GuidanceReroutedEventArgs {} unsafe impl ::core::marker::Sync for GuidanceReroutedEventArgs {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceRoadSegment(::windows_core::IUnknown); impl GuidanceRoadSegment { pub fn RoadName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1243,25 +1086,9 @@ impl GuidanceRoadSegment { } } } -impl ::core::cmp::PartialEq for GuidanceRoadSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceRoadSegment {} -impl ::core::fmt::Debug for GuidanceRoadSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceRoadSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceRoadSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSegment;{b32758a6-be78-4c63-afe7-6c2957479b3e})"); } -impl ::core::clone::Clone for GuidanceRoadSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceRoadSegment { type Vtable = IGuidanceRoadSegment_Vtbl; } @@ -1276,6 +1103,7 @@ unsafe impl ::core::marker::Send for GuidanceRoadSegment {} unsafe impl ::core::marker::Sync for GuidanceRoadSegment {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceRoadSignpost(::windows_core::IUnknown); impl GuidanceRoadSignpost { pub fn ExitNumber(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1320,25 +1148,9 @@ impl GuidanceRoadSignpost { } } } -impl ::core::cmp::PartialEq for GuidanceRoadSignpost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceRoadSignpost {} -impl ::core::fmt::Debug for GuidanceRoadSignpost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceRoadSignpost").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceRoadSignpost { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoadSignpost;{f1a728b6-f77a-4742-8312-53300f9845f0})"); } -impl ::core::clone::Clone for GuidanceRoadSignpost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceRoadSignpost { type Vtable = IGuidanceRoadSignpost_Vtbl; } @@ -1353,6 +1165,7 @@ unsafe impl ::core::marker::Send for GuidanceRoadSignpost {} unsafe impl ::core::marker::Sync for GuidanceRoadSignpost {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceRoute(::windows_core::IUnknown); impl GuidanceRoute { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1438,25 +1251,9 @@ impl GuidanceRoute { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GuidanceRoute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceRoute {} -impl ::core::fmt::Debug for GuidanceRoute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceRoute").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceRoute { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceRoute;{3a14545d-801a-40bd-a286-afb2010cce6c})"); } -impl ::core::clone::Clone for GuidanceRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceRoute { type Vtable = IGuidanceRoute_Vtbl; } @@ -1471,6 +1268,7 @@ unsafe impl ::core::marker::Send for GuidanceRoute {} unsafe impl ::core::marker::Sync for GuidanceRoute {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceTelemetryCollector(::windows_core::IUnknown); impl GuidanceTelemetryCollector { pub fn Enabled(&self) -> ::windows_core::Result { @@ -1522,25 +1320,9 @@ impl GuidanceTelemetryCollector { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for GuidanceTelemetryCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceTelemetryCollector {} -impl ::core::fmt::Debug for GuidanceTelemetryCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceTelemetryCollector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceTelemetryCollector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceTelemetryCollector;{db1f8da5-b878-4d92-98dd-347d23d38262})"); } -impl ::core::clone::Clone for GuidanceTelemetryCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceTelemetryCollector { type Vtable = IGuidanceTelemetryCollector_Vtbl; } @@ -1555,6 +1337,7 @@ unsafe impl ::core::marker::Send for GuidanceTelemetryCollector {} unsafe impl ::core::marker::Sync for GuidanceTelemetryCollector {} #[doc = "*Required features: `\"Services_Maps_Guidance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GuidanceUpdatedEventArgs(::windows_core::IUnknown); impl GuidanceUpdatedEventArgs { pub fn Mode(&self) -> ::windows_core::Result { @@ -1662,25 +1445,9 @@ impl GuidanceUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for GuidanceUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GuidanceUpdatedEventArgs {} -impl ::core::fmt::Debug for GuidanceUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GuidanceUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GuidanceUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs;{fdac160b-9e8d-4de3-a9fa-b06321d18db9})"); } -impl ::core::clone::Clone for GuidanceUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GuidanceUpdatedEventArgs { type Vtable = IGuidanceUpdatedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs index 586cba0236..7d1e82b37c 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalCategoriesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalCategoriesStatics { type Vtable = ILocalCategoriesStatics_Vtbl; } -impl ::core::clone::Clone for ILocalCategoriesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalCategoriesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf49399f5_8261_4321_9974_ef92d49a8dca); } @@ -27,15 +23,11 @@ pub struct ILocalCategoriesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocation { type Vtable = ILocalLocation_Vtbl; } -impl ::core::clone::Clone for ILocalLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb0fe9ab_4502_4f2c_94a9_0d60de0e2163); } @@ -56,15 +48,11 @@ pub struct ILocalLocation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocation2 { type Vtable = ILocalLocation2_Vtbl; } -impl ::core::clone::Clone for ILocalLocation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e9e307c_ecb5_4ffc_bb8c_ba50ba8c2dc6); } @@ -81,15 +69,11 @@ pub struct ILocalLocation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocationFinderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocationFinderResult { type Vtable = ILocalLocationFinderResult_Vtbl; } -impl ::core::clone::Clone for ILocalLocationFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocationFinderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd09b6cc6_f338_4191_9fd8_5440b9a68f52); } @@ -105,15 +89,11 @@ pub struct ILocalLocationFinderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocationFinderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocationFinderStatics { type Vtable = ILocalLocationFinderStatics_Vtbl; } -impl ::core::clone::Clone for ILocalLocationFinderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocationFinderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ef7344_a0de_48ca_81a8_07c7dcfd37ab); } @@ -128,15 +108,11 @@ pub struct ILocalLocationFinderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocationHoursOfOperationItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocationHoursOfOperationItem { type Vtable = ILocalLocationHoursOfOperationItem_Vtbl; } -impl ::core::clone::Clone for ILocalLocationHoursOfOperationItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocationHoursOfOperationItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23548c72_a1c7_43f1_a4f0_1091c39ec640); } @@ -159,15 +135,11 @@ pub struct ILocalLocationHoursOfOperationItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocalLocationRatingInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILocalLocationRatingInfo { type Vtable = ILocalLocationRatingInfo_Vtbl; } -impl ::core::clone::Clone for ILocalLocationRatingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocalLocationRatingInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb1dab56_3354_4311_8bc0_a2d4d5eb806e); } @@ -187,15 +159,11 @@ pub struct ILocalLocationRatingInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaceInfoHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaceInfoHelperStatics { type Vtable = IPlaceInfoHelperStatics_Vtbl; } -impl ::core::clone::Clone for IPlaceInfoHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaceInfoHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd1ca9a7_a9c6_491b_bc09_e80fcea48ee6); } @@ -267,6 +235,7 @@ impl ::windows_core::RuntimeName for LocalCategories { } #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocalLocation(::windows_core::IUnknown); impl LocalLocation { pub fn Address(&self) -> ::windows_core::Result { @@ -344,25 +313,9 @@ impl LocalLocation { } } } -impl ::core::cmp::PartialEq for LocalLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocalLocation {} -impl ::core::fmt::Debug for LocalLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocalLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocalLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocation;{bb0fe9ab-4502-4f2c-94a9-0d60de0e2163})"); } -impl ::core::clone::Clone for LocalLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocalLocation { type Vtable = ILocalLocation_Vtbl; } @@ -400,6 +353,7 @@ impl ::windows_core::RuntimeName for LocalLocationFinder { } #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocalLocationFinderResult(::windows_core::IUnknown); impl LocalLocationFinderResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -419,25 +373,9 @@ impl LocalLocationFinderResult { } } } -impl ::core::cmp::PartialEq for LocalLocationFinderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocalLocationFinderResult {} -impl ::core::fmt::Debug for LocalLocationFinderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocalLocationFinderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocalLocationFinderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationFinderResult;{d09b6cc6-f338-4191-9fd8-5440b9a68f52})"); } -impl ::core::clone::Clone for LocalLocationFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocalLocationFinderResult { type Vtable = ILocalLocationFinderResult_Vtbl; } @@ -452,6 +390,7 @@ unsafe impl ::core::marker::Send for LocalLocationFinderResult {} unsafe impl ::core::marker::Sync for LocalLocationFinderResult {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocalLocationHoursOfOperationItem(::windows_core::IUnknown); impl LocalLocationHoursOfOperationItem { #[doc = "*Required features: `\"Globalization\"`*"] @@ -482,25 +421,9 @@ impl LocalLocationHoursOfOperationItem { } } } -impl ::core::cmp::PartialEq for LocalLocationHoursOfOperationItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocalLocationHoursOfOperationItem {} -impl ::core::fmt::Debug for LocalLocationHoursOfOperationItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocalLocationHoursOfOperationItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocalLocationHoursOfOperationItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem;{23548c72-a1c7-43f1-a4f0-1091c39ec640})"); } -impl ::core::clone::Clone for LocalLocationHoursOfOperationItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocalLocationHoursOfOperationItem { type Vtable = ILocalLocationHoursOfOperationItem_Vtbl; } @@ -515,6 +438,7 @@ unsafe impl ::core::marker::Send for LocalLocationHoursOfOperationItem {} unsafe impl ::core::marker::Sync for LocalLocationHoursOfOperationItem {} #[doc = "*Required features: `\"Services_Maps_LocalSearch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LocalLocationRatingInfo(::windows_core::IUnknown); impl LocalLocationRatingInfo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -543,25 +467,9 @@ impl LocalLocationRatingInfo { } } } -impl ::core::cmp::PartialEq for LocalLocationRatingInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LocalLocationRatingInfo {} -impl ::core::fmt::Debug for LocalLocationRatingInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LocalLocationRatingInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LocalLocationRatingInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo;{cb1dab56-3354-4311-8bc0-a2d4d5eb806e})"); } -impl ::core::clone::Clone for LocalLocationRatingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LocalLocationRatingInfo { type Vtable = ILocalLocationRatingInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs index 5e3e4d0aeb..41533a3152 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineMapPackage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOfflineMapPackage { type Vtable = IOfflineMapPackage_Vtbl; } -impl ::core::clone::Clone for IOfflineMapPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineMapPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa797673b_a5b5_4144_b525_e68c8862664b); } @@ -35,15 +31,11 @@ pub struct IOfflineMapPackage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineMapPackageQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOfflineMapPackageQueryResult { type Vtable = IOfflineMapPackageQueryResult_Vtbl; } -impl ::core::clone::Clone for IOfflineMapPackageQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineMapPackageQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55585411_39e1_4e41_a4e1_5f4872bee199); } @@ -59,15 +51,11 @@ pub struct IOfflineMapPackageQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineMapPackageStartDownloadResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOfflineMapPackageStartDownloadResult { type Vtable = IOfflineMapPackageStartDownloadResult_Vtbl; } -impl ::core::clone::Clone for IOfflineMapPackageStartDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineMapPackageStartDownloadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd965b918_d4d6_4afe_9378_3ec71ef11c3d); } @@ -79,15 +67,11 @@ pub struct IOfflineMapPackageStartDownloadResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineMapPackageStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOfflineMapPackageStatics { type Vtable = IOfflineMapPackageStatics_Vtbl; } -impl ::core::clone::Clone for IOfflineMapPackageStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineMapPackageStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x185e7922_a831_4ab0_941f_6998fa929285); } @@ -110,6 +94,7 @@ pub struct IOfflineMapPackageStatics_Vtbl { } #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OfflineMapPackage(::windows_core::IUnknown); impl OfflineMapPackage { pub fn Status(&self) -> ::windows_core::Result { @@ -206,25 +191,9 @@ impl OfflineMapPackage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for OfflineMapPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OfflineMapPackage {} -impl ::core::fmt::Debug for OfflineMapPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OfflineMapPackage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OfflineMapPackage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackage;{a797673b-a5b5-4144-b525-e68c8862664b})"); } -impl ::core::clone::Clone for OfflineMapPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OfflineMapPackage { type Vtable = IOfflineMapPackage_Vtbl; } @@ -239,6 +208,7 @@ unsafe impl ::core::marker::Send for OfflineMapPackage {} unsafe impl ::core::marker::Sync for OfflineMapPackage {} #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OfflineMapPackageQueryResult(::windows_core::IUnknown); impl OfflineMapPackageQueryResult { pub fn Status(&self) -> ::windows_core::Result { @@ -258,25 +228,9 @@ impl OfflineMapPackageQueryResult { } } } -impl ::core::cmp::PartialEq for OfflineMapPackageQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OfflineMapPackageQueryResult {} -impl ::core::fmt::Debug for OfflineMapPackageQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OfflineMapPackageQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OfflineMapPackageQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult;{55585411-39e1-4e41-a4e1-5f4872bee199})"); } -impl ::core::clone::Clone for OfflineMapPackageQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OfflineMapPackageQueryResult { type Vtable = IOfflineMapPackageQueryResult_Vtbl; } @@ -291,6 +245,7 @@ unsafe impl ::core::marker::Send for OfflineMapPackageQueryResult {} unsafe impl ::core::marker::Sync for OfflineMapPackageQueryResult {} #[doc = "*Required features: `\"Services_Maps_OfflineMaps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OfflineMapPackageStartDownloadResult(::windows_core::IUnknown); impl OfflineMapPackageStartDownloadResult { pub fn Status(&self) -> ::windows_core::Result { @@ -301,25 +256,9 @@ impl OfflineMapPackageStartDownloadResult { } } } -impl ::core::cmp::PartialEq for OfflineMapPackageStartDownloadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OfflineMapPackageStartDownloadResult {} -impl ::core::fmt::Debug for OfflineMapPackageStartDownloadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OfflineMapPackageStartDownloadResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OfflineMapPackageStartDownloadResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadResult;{d965b918-d4d6-4afe-9378-3ec71ef11c3d})"); } -impl ::core::clone::Clone for OfflineMapPackageStartDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OfflineMapPackageStartDownloadResult { type Vtable = IOfflineMapPackageStartDownloadResult_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index 8e027c7586..ecc489ee40 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -6,15 +6,11 @@ pub mod LocalSearch; pub mod OfflineMaps; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedWaypoint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnhancedWaypoint { type Vtable = IEnhancedWaypoint_Vtbl; } -impl ::core::clone::Clone for IEnhancedWaypoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedWaypoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed268c74_5913_11e6_8b77_86f30ca893d3); } @@ -30,15 +26,11 @@ pub struct IEnhancedWaypoint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedWaypointFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnhancedWaypointFactory { type Vtable = IEnhancedWaypointFactory_Vtbl; } -impl ::core::clone::Clone for IEnhancedWaypointFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedWaypointFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf868477_a2aa_46dd_b645_23b31b8aa6c7); } @@ -53,15 +45,11 @@ pub struct IEnhancedWaypointFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManeuverWarning(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManeuverWarning { type Vtable = IManeuverWarning_Vtbl; } -impl ::core::clone::Clone for IManeuverWarning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManeuverWarning { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1a36d8a_2630_4378_9e4a_6e44253dceba); } @@ -74,15 +62,11 @@ pub struct IManeuverWarning_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapAddress(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapAddress { type Vtable = IMapAddress_Vtbl; } -impl ::core::clone::Clone for IMapAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa7a973_a3b4_4494_b3ff_cba94db69699); } @@ -108,15 +92,11 @@ pub struct IMapAddress_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapAddress2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapAddress2 { type Vtable = IMapAddress2_Vtbl; } -impl ::core::clone::Clone for IMapAddress2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapAddress2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75cd6df1_e5ad_45a9_bf40_6cf256c1dd13); } @@ -128,15 +108,11 @@ pub struct IMapAddress2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapLocation { type Vtable = IMapLocation_Vtbl; } -impl ::core::clone::Clone for IMapLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c073f57_0da4_42e8_9ee2_a96fcf2371dc); } @@ -154,15 +130,11 @@ pub struct IMapLocation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapLocationFinderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapLocationFinderResult { type Vtable = IMapLocationFinderResult_Vtbl; } -impl ::core::clone::Clone for IMapLocationFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapLocationFinderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43f1f179_e8cc_45f6_bed2_54ccbf965d9a); } @@ -178,15 +150,11 @@ pub struct IMapLocationFinderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapLocationFinderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapLocationFinderStatics { type Vtable = IMapLocationFinderStatics_Vtbl; } -impl ::core::clone::Clone for IMapLocationFinderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapLocationFinderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x318adb5d_1c5d_4f35_a2df_aaca94959517); } @@ -209,15 +177,11 @@ pub struct IMapLocationFinderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapLocationFinderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapLocationFinderStatics2 { type Vtable = IMapLocationFinderStatics2_Vtbl; } -impl ::core::clone::Clone for IMapLocationFinderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapLocationFinderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x959a8b96_6485_4dfd_851a_33ac317e3af6); } @@ -232,15 +196,11 @@ pub struct IMapLocationFinderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapManagerStatics { type Vtable = IMapManagerStatics_Vtbl; } -impl ::core::clone::Clone for IMapManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37e3e515_82b4_4d54_8fd9_af2624b3011c); } @@ -253,15 +213,11 @@ pub struct IMapManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRoute(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRoute { type Vtable = IMapRoute_Vtbl; } -impl ::core::clone::Clone for IMapRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRoute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb07b732_584d_4583_9c60_641fea274349); } @@ -290,15 +246,11 @@ pub struct IMapRoute_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRoute2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRoute2 { type Vtable = IMapRoute2_Vtbl; } -impl ::core::clone::Clone for IMapRoute2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRoute2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1c5d40c_2213_4ab0_a260_46b38169beac); } @@ -311,15 +263,11 @@ pub struct IMapRoute2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRoute3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRoute3 { type Vtable = IMapRoute3_Vtbl; } -impl ::core::clone::Clone for IMapRoute3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRoute3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x858d1eae_f2ad_429f_bb37_cd21094ffc92); } @@ -335,15 +283,11 @@ pub struct IMapRoute3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRoute4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRoute4 { type Vtable = IMapRoute4_Vtbl; } -impl ::core::clone::Clone for IMapRoute4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRoute4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x366c8ca5_3053_4fa1_80ff_d475f3ed1e6e); } @@ -355,15 +299,11 @@ pub struct IMapRoute4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteDrivingOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteDrivingOptions { type Vtable = IMapRouteDrivingOptions_Vtbl; } -impl ::core::clone::Clone for IMapRouteDrivingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteDrivingOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6815364d_c6dc_4697_a452_b18f8f0b67a1); } @@ -388,15 +328,11 @@ pub struct IMapRouteDrivingOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteDrivingOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteDrivingOptions2 { type Vtable = IMapRouteDrivingOptions2_Vtbl; } -impl ::core::clone::Clone for IMapRouteDrivingOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteDrivingOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35dc8670_c298_48d0_b5ad_825460645603); } @@ -415,15 +351,11 @@ pub struct IMapRouteDrivingOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteFinderResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteFinderResult { type Vtable = IMapRouteFinderResult_Vtbl; } -impl ::core::clone::Clone for IMapRouteFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteFinderResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa868a31a_9422_46ac_8ca1_b1614d4bfbe2); } @@ -436,15 +368,11 @@ pub struct IMapRouteFinderResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteFinderResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteFinderResult2 { type Vtable = IMapRouteFinderResult2_Vtbl; } -impl ::core::clone::Clone for IMapRouteFinderResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteFinderResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20709c6d_d90c_46c8_91c6_7d4be4efb215); } @@ -459,15 +387,11 @@ pub struct IMapRouteFinderResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteFinderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteFinderStatics { type Vtable = IMapRouteFinderStatics_Vtbl; } -impl ::core::clone::Clone for IMapRouteFinderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteFinderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8a5c50f_1c64_4c3a_81eb_1f7c152afbbb); } @@ -518,15 +442,11 @@ pub struct IMapRouteFinderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteFinderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteFinderStatics2 { type Vtable = IMapRouteFinderStatics2_Vtbl; } -impl ::core::clone::Clone for IMapRouteFinderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteFinderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafcc2c73_7760_49af_b3bd_baf135b703e1); } @@ -541,15 +461,11 @@ pub struct IMapRouteFinderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteFinderStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteFinderStatics3 { type Vtable = IMapRouteFinderStatics3_Vtbl; } -impl ::core::clone::Clone for IMapRouteFinderStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteFinderStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6098134_5913_11e6_8b77_86f30ca893d3); } @@ -568,15 +484,11 @@ pub struct IMapRouteFinderStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteLeg(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteLeg { type Vtable = IMapRouteLeg_Vtbl; } -impl ::core::clone::Clone for IMapRouteLeg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteLeg { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96f8b2f6_5bba_4d17_9db6_1a263fec7471); } @@ -604,15 +516,11 @@ pub struct IMapRouteLeg_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteLeg2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteLeg2 { type Vtable = IMapRouteLeg2_Vtbl; } -impl ::core::clone::Clone for IMapRouteLeg2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteLeg2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02e2062d_c9c6_45b8_8e54_1a10b57a17e8); } @@ -628,15 +536,11 @@ pub struct IMapRouteLeg2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteManeuver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteManeuver { type Vtable = IMapRouteManeuver_Vtbl; } -impl ::core::clone::Clone for IMapRouteManeuver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteManeuver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed5c17f0_a6ab_4d65_a086_fa8a7e340df2); } @@ -656,15 +560,11 @@ pub struct IMapRouteManeuver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteManeuver2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteManeuver2 { type Vtable = IMapRouteManeuver2_Vtbl; } -impl ::core::clone::Clone for IMapRouteManeuver2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteManeuver2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d7bcd9c_7c9b_41df_838b_eae21e4b05a9); } @@ -678,15 +578,11 @@ pub struct IMapRouteManeuver2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapRouteManeuver3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapRouteManeuver3 { type Vtable = IMapRouteManeuver3_Vtbl; } -impl ::core::clone::Clone for IMapRouteManeuver3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapRouteManeuver3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6a138df_0483_4166_85be_b99336c11875); } @@ -701,15 +597,11 @@ pub struct IMapRouteManeuver3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapServiceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapServiceStatics { type Vtable = IMapServiceStatics_Vtbl; } -impl ::core::clone::Clone for IMapServiceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapServiceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0144ad85_c04c_4cdd_871a_a0726d097cd4); } @@ -722,15 +614,11 @@ pub struct IMapServiceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapServiceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapServiceStatics2 { type Vtable = IMapServiceStatics2_Vtbl; } -impl ::core::clone::Clone for IMapServiceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapServiceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8193eed_9c85_40a9_8896_0fc3fd2b7c2a); } @@ -742,15 +630,11 @@ pub struct IMapServiceStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapServiceStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapServiceStatics3 { type Vtable = IMapServiceStatics3_Vtbl; } -impl ::core::clone::Clone for IMapServiceStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapServiceStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a11ce20_63a7_4854_b355_d6dcda223d1b); } @@ -762,15 +646,11 @@ pub struct IMapServiceStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapServiceStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMapServiceStatics4 { type Vtable = IMapServiceStatics4_Vtbl; } -impl ::core::clone::Clone for IMapServiceStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapServiceStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x088a2862_6abc_420e_945f_4cfd89c67356); } @@ -783,15 +663,11 @@ pub struct IMapServiceStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaceInfo { type Vtable = IPlaceInfo_Vtbl; } -impl ::core::clone::Clone for IPlaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a0810b6_31c8_4f6a_9f18_950b4c38951a); } @@ -817,15 +693,11 @@ pub struct IPlaceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaceInfoCreateOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaceInfoCreateOptions { type Vtable = IPlaceInfoCreateOptions_Vtbl; } -impl ::core::clone::Clone for IPlaceInfoCreateOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaceInfoCreateOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd33c125_67f1_4bb3_9907_ecce939b0399); } @@ -840,15 +712,11 @@ pub struct IPlaceInfoCreateOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaceInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaceInfoStatics { type Vtable = IPlaceInfoStatics_Vtbl; } -impl ::core::clone::Clone for IPlaceInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaceInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82b9ff71_6cd0_48a4_afd9_5ed82097936b); } @@ -874,15 +742,11 @@ pub struct IPlaceInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaceInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlaceInfoStatics2 { type Vtable = IPlaceInfoStatics2_Vtbl; } -impl ::core::clone::Clone for IPlaceInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaceInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x730f0249_4047_44a3_8f81_2550a5216370); } @@ -895,6 +759,7 @@ pub struct IPlaceInfoStatics2_Vtbl { } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnhancedWaypoint(::windows_core::IUnknown); impl EnhancedWaypoint { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -930,25 +795,9 @@ impl EnhancedWaypoint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EnhancedWaypoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EnhancedWaypoint {} -impl ::core::fmt::Debug for EnhancedWaypoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnhancedWaypoint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EnhancedWaypoint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.EnhancedWaypoint;{ed268c74-5913-11e6-8b77-86f30ca893d3})"); } -impl ::core::clone::Clone for EnhancedWaypoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EnhancedWaypoint { type Vtable = IEnhancedWaypoint_Vtbl; } @@ -963,6 +812,7 @@ unsafe impl ::core::marker::Send for EnhancedWaypoint {} unsafe impl ::core::marker::Sync for EnhancedWaypoint {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ManeuverWarning(::windows_core::IUnknown); impl ManeuverWarning { pub fn Kind(&self) -> ::windows_core::Result { @@ -980,25 +830,9 @@ impl ManeuverWarning { } } } -impl ::core::cmp::PartialEq for ManeuverWarning { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ManeuverWarning {} -impl ::core::fmt::Debug for ManeuverWarning { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ManeuverWarning").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ManeuverWarning { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.ManeuverWarning;{c1a36d8a-2630-4378-9e4a-6e44253dceba})"); } -impl ::core::clone::Clone for ManeuverWarning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ManeuverWarning { type Vtable = IManeuverWarning_Vtbl; } @@ -1013,6 +847,7 @@ unsafe impl ::core::marker::Send for ManeuverWarning {} unsafe impl ::core::marker::Sync for ManeuverWarning {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapAddress(::windows_core::IUnknown); impl MapAddress { pub fn BuildingName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1128,25 +963,9 @@ impl MapAddress { } } } -impl ::core::cmp::PartialEq for MapAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapAddress {} -impl ::core::fmt::Debug for MapAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapAddress").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapAddress { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapAddress;{cfa7a973-a3b4-4494-b3ff-cba94db69699})"); } -impl ::core::clone::Clone for MapAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapAddress { type Vtable = IMapAddress_Vtbl; } @@ -1161,6 +980,7 @@ unsafe impl ::core::marker::Send for MapAddress {} unsafe impl ::core::marker::Sync for MapAddress {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapLocation(::windows_core::IUnknown); impl MapLocation { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1194,25 +1014,9 @@ impl MapLocation { } } } -impl ::core::cmp::PartialEq for MapLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapLocation {} -impl ::core::fmt::Debug for MapLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocation;{3c073f57-0da4-42e8-9ee2-a96fcf2371dc})"); } -impl ::core::clone::Clone for MapLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapLocation { type Vtable = IMapLocation_Vtbl; } @@ -1288,6 +1092,7 @@ impl ::windows_core::RuntimeName for MapLocationFinder { } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapLocationFinderResult(::windows_core::IUnknown); impl MapLocationFinderResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1307,25 +1112,9 @@ impl MapLocationFinderResult { } } } -impl ::core::cmp::PartialEq for MapLocationFinderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapLocationFinderResult {} -impl ::core::fmt::Debug for MapLocationFinderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapLocationFinderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapLocationFinderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapLocationFinderResult;{43f1f179-e8cc-45f6-bed2-54ccbf965d9a})"); } -impl ::core::clone::Clone for MapLocationFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapLocationFinderResult { type Vtable = IMapLocationFinderResult_Vtbl; } @@ -1358,6 +1147,7 @@ impl ::windows_core::RuntimeName for MapManager { } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapRoute(::windows_core::IUnknown); impl MapRoute { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1448,25 +1238,9 @@ impl MapRoute { } } } -impl ::core::cmp::PartialEq for MapRoute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapRoute {} -impl ::core::fmt::Debug for MapRoute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapRoute").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapRoute { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRoute;{fb07b732-584d-4583-9c60-641fea274349})"); } -impl ::core::clone::Clone for MapRoute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapRoute { type Vtable = IMapRoute_Vtbl; } @@ -1481,6 +1255,7 @@ unsafe impl ::core::marker::Send for MapRoute {} unsafe impl ::core::marker::Sync for MapRoute {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapRouteDrivingOptions(::windows_core::IUnknown); impl MapRouteDrivingOptions { pub fn new() -> ::windows_core::Result { @@ -1560,25 +1335,9 @@ impl MapRouteDrivingOptions { unsafe { (::windows_core::Interface::vtable(this).SetDepartureTime)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for MapRouteDrivingOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapRouteDrivingOptions {} -impl ::core::fmt::Debug for MapRouteDrivingOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapRouteDrivingOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapRouteDrivingOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteDrivingOptions;{6815364d-c6dc-4697-a452-b18f8f0b67a1})"); } -impl ::core::clone::Clone for MapRouteDrivingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapRouteDrivingOptions { type Vtable = IMapRouteDrivingOptions_Vtbl; } @@ -1766,6 +1525,7 @@ impl ::windows_core::RuntimeName for MapRouteFinder { } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapRouteFinderResult(::windows_core::IUnknown); impl MapRouteFinderResult { pub fn Route(&self) -> ::windows_core::Result { @@ -1792,25 +1552,9 @@ impl MapRouteFinderResult { } } } -impl ::core::cmp::PartialEq for MapRouteFinderResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapRouteFinderResult {} -impl ::core::fmt::Debug for MapRouteFinderResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapRouteFinderResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapRouteFinderResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteFinderResult;{a868a31a-9422-46ac-8ca1-b1614d4bfbe2})"); } -impl ::core::clone::Clone for MapRouteFinderResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapRouteFinderResult { type Vtable = IMapRouteFinderResult_Vtbl; } @@ -1825,6 +1569,7 @@ unsafe impl ::core::marker::Send for MapRouteFinderResult {} unsafe impl ::core::marker::Sync for MapRouteFinderResult {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapRouteLeg(::windows_core::IUnknown); impl MapRouteLeg { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1887,25 +1632,9 @@ impl MapRouteLeg { } } } -impl ::core::cmp::PartialEq for MapRouteLeg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapRouteLeg {} -impl ::core::fmt::Debug for MapRouteLeg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapRouteLeg").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapRouteLeg { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteLeg;{96f8b2f6-5bba-4d17-9db6-1a263fec7471})"); } -impl ::core::clone::Clone for MapRouteLeg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapRouteLeg { type Vtable = IMapRouteLeg_Vtbl; } @@ -1920,6 +1649,7 @@ unsafe impl ::core::marker::Send for MapRouteLeg {} unsafe impl ::core::marker::Sync for MapRouteLeg {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MapRouteManeuver(::windows_core::IUnknown); impl MapRouteManeuver { #[doc = "*Required features: `\"Devices_Geolocation\"`*"] @@ -1997,25 +1727,9 @@ impl MapRouteManeuver { } } } -impl ::core::cmp::PartialEq for MapRouteManeuver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MapRouteManeuver {} -impl ::core::fmt::Debug for MapRouteManeuver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MapRouteManeuver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MapRouteManeuver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.MapRouteManeuver;{ed5c17f0-a6ab-4d65-a086-fa8a7e340df2})"); } -impl ::core::clone::Clone for MapRouteManeuver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MapRouteManeuver { type Vtable = IMapRouteManeuver_Vtbl; } @@ -2087,6 +1801,7 @@ impl ::windows_core::RuntimeName for MapService { } #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaceInfo(::windows_core::IUnknown); impl PlaceInfo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2210,25 +1925,9 @@ impl PlaceInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PlaceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaceInfo {} -impl ::core::fmt::Debug for PlaceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfo;{9a0810b6-31c8-4f6a-9f18-950b4c38951a})"); } -impl ::core::clone::Clone for PlaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaceInfo { type Vtable = IPlaceInfo_Vtbl; } @@ -2243,6 +1942,7 @@ unsafe impl ::core::marker::Send for PlaceInfo {} unsafe impl ::core::marker::Sync for PlaceInfo {} #[doc = "*Required features: `\"Services_Maps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlaceInfoCreateOptions(::windows_core::IUnknown); impl PlaceInfoCreateOptions { pub fn new() -> ::windows_core::Result { @@ -2275,25 +1975,9 @@ impl PlaceInfoCreateOptions { } } } -impl ::core::cmp::PartialEq for PlaceInfoCreateOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlaceInfoCreateOptions {} -impl ::core::fmt::Debug for PlaceInfoCreateOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlaceInfoCreateOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlaceInfoCreateOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Maps.PlaceInfoCreateOptions;{cd33c125-67f1-4bb3-9907-ecce939b0399})"); } -impl ::core::clone::Clone for PlaceInfoCreateOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlaceInfoCreateOptions { type Vtable = IPlaceInfoCreateOptions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index dd1b12c17c..b4eeefcccd 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreAcquireLicenseResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreAcquireLicenseResult { type Vtable = IStoreAcquireLicenseResult_Vtbl; } -impl ::core::clone::Clone for IStoreAcquireLicenseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreAcquireLicenseResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbd7946d_f040_4cb3_9a39_29bcecdbe22d); } @@ -21,15 +17,11 @@ pub struct IStoreAcquireLicenseResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreAppLicense(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreAppLicense { type Vtable = IStoreAppLicense_Vtbl; } -impl ::core::clone::Clone for IStoreAppLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreAppLicense { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf389f9de_73c0_45ce_9bab_b2fe3e5eafd3); } @@ -58,15 +50,11 @@ pub struct IStoreAppLicense_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreAppLicense2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreAppLicense2 { type Vtable = IStoreAppLicense2_Vtbl; } -impl ::core::clone::Clone for IStoreAppLicense2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreAppLicense2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4666e91_4443_40b3_993f_28904435bdc6); } @@ -78,15 +66,11 @@ pub struct IStoreAppLicense2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreAvailability(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreAvailability { type Vtable = IStoreAvailability_Vtbl; } -impl ::core::clone::Clone for IStoreAvailability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreAvailability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa060325_0ffd_4493_ad43_f1f9918f69fa); } @@ -112,15 +96,11 @@ pub struct IStoreAvailability_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreCanAcquireLicenseResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreCanAcquireLicenseResult { type Vtable = IStoreCanAcquireLicenseResult_Vtbl; } -impl ::core::clone::Clone for IStoreCanAcquireLicenseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreCanAcquireLicenseResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a693db3_0088_482f_86d5_bd46522663ad); } @@ -134,15 +114,11 @@ pub struct IStoreCanAcquireLicenseResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreCollectionData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreCollectionData { type Vtable = IStoreCollectionData_Vtbl; } -impl ::core::clone::Clone for IStoreCollectionData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreCollectionData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8aa4c3b3_5bb3_441a_2ab4_4dab73d5ce67); } @@ -173,15 +149,11 @@ pub struct IStoreCollectionData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreConsumableResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreConsumableResult { type Vtable = IStoreConsumableResult_Vtbl; } -impl ::core::clone::Clone for IStoreConsumableResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreConsumableResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea5dab72_6a00_4052_be5b_bfdab4433352); } @@ -196,15 +168,11 @@ pub struct IStoreConsumableResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreContext { type Vtable = IStoreContext_Vtbl; } -impl ::core::clone::Clone for IStoreContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac98b6be_f4fd_4912_babd_5035e5e8bcab); } @@ -299,15 +267,11 @@ pub struct IStoreContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreContext2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreContext2 { type Vtable = IStoreContext2_Vtbl; } -impl ::core::clone::Clone for IStoreContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18bc54da_7bd9_452c_9116_3bbd06ffc63a); } @@ -322,15 +286,11 @@ pub struct IStoreContext2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreContext3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreContext3 { type Vtable = IStoreContext3_Vtbl; } -impl ::core::clone::Clone for IStoreContext3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreContext3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe26226ca_1a01_4730_85a6_ecc896e4ae38); } @@ -394,15 +354,11 @@ pub struct IStoreContext3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreContext4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreContext4 { type Vtable = IStoreContext4_Vtbl; } -impl ::core::clone::Clone for IStoreContext4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreContext4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf9c6f69_bea1_4bf4_8e74_ae03e206c6b0); } @@ -421,15 +377,11 @@ pub struct IStoreContext4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreContextStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreContextStatics { type Vtable = IStoreContextStatics_Vtbl; } -impl ::core::clone::Clone for IStoreContextStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreContextStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c06ee5f_15c0_4e72_9330_d6191cebd19c); } @@ -445,15 +397,11 @@ pub struct IStoreContextStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreImage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreImage { type Vtable = IStoreImage_Vtbl; } -impl ::core::clone::Clone for IStoreImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x081fd248_adb4_4b64_a993_784789926ed5); } @@ -472,15 +420,11 @@ pub struct IStoreImage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreLicense(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreLicense { type Vtable = IStoreLicense_Vtbl; } -impl ::core::clone::Clone for IStoreLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreLicense { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26dc9579_4c4f_4f30_bc89_649f60e36055); } @@ -499,15 +443,11 @@ pub struct IStoreLicense_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePackageInstallOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePackageInstallOptions { type Vtable = IStorePackageInstallOptions_Vtbl; } -impl ::core::clone::Clone for IStorePackageInstallOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePackageInstallOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d3d630c_0ccd_44dd_8c59_80810a729973); } @@ -520,15 +460,11 @@ pub struct IStorePackageInstallOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePackageLicense(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePackageLicense { type Vtable = IStorePackageLicense_Vtbl; } -impl ::core::clone::Clone for IStorePackageLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePackageLicense { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c465714_14e1_4973_bd14_f77724271e99); } @@ -553,15 +489,11 @@ pub struct IStorePackageLicense_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePackageUpdate(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePackageUpdate { type Vtable = IStorePackageUpdate_Vtbl; } -impl ::core::clone::Clone for IStorePackageUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePackageUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x140fa150_3cbf_4a35_b91f_48271c31b072); } @@ -577,15 +509,11 @@ pub struct IStorePackageUpdate_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePackageUpdateResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePackageUpdateResult { type Vtable = IStorePackageUpdateResult_Vtbl; } -impl ::core::clone::Clone for IStorePackageUpdateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePackageUpdateResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79142ed_61f9_4893_b4fe_cf191603af7b); } @@ -601,15 +529,11 @@ pub struct IStorePackageUpdateResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePackageUpdateResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePackageUpdateResult2 { type Vtable = IStorePackageUpdateResult2_Vtbl; } -impl ::core::clone::Clone for IStorePackageUpdateResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePackageUpdateResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x071d012e_bc62_4f2e_87ea_99d801aeaf98); } @@ -624,15 +548,11 @@ pub struct IStorePackageUpdateResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePrice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePrice { type Vtable = IStorePrice_Vtbl; } -impl ::core::clone::Clone for IStorePrice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePrice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55ba94c4_15f1_407c_8f06_006380f4df0b); } @@ -652,15 +572,11 @@ pub struct IStorePrice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreProduct(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreProduct { type Vtable = IStoreProduct_Vtbl; } -impl ::core::clone::Clone for IStoreProduct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreProduct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x320e2c52_d760_450a_a42b_67d1e901ac90); } @@ -713,15 +629,11 @@ pub struct IStoreProduct_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreProductOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreProductOptions { type Vtable = IStoreProductOptions_Vtbl; } -impl ::core::clone::Clone for IStoreProductOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreProductOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b34a0f9_a113_4811_8326_16199c927f31); } @@ -736,15 +648,11 @@ pub struct IStoreProductOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreProductPagedQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreProductPagedQueryResult { type Vtable = IStoreProductPagedQueryResult_Vtbl; } -impl ::core::clone::Clone for IStoreProductPagedQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreProductPagedQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc92718c5_4dd5_4869_a462_ecc6872e43c5); } @@ -765,15 +673,11 @@ pub struct IStoreProductPagedQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreProductQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreProductQueryResult { type Vtable = IStoreProductQueryResult_Vtbl; } -impl ::core::clone::Clone for IStoreProductQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreProductQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd805e6c5_d456_4ff6_8049_9076d5165f73); } @@ -789,15 +693,11 @@ pub struct IStoreProductQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreProductResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreProductResult { type Vtable = IStoreProductResult_Vtbl; } -impl ::core::clone::Clone for IStoreProductResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreProductResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7674f73_3c87_4ee1_8201_f428359bd3af); } @@ -810,15 +710,11 @@ pub struct IStoreProductResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePurchaseProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePurchaseProperties { type Vtable = IStorePurchaseProperties_Vtbl; } -impl ::core::clone::Clone for IStorePurchaseProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePurchaseProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x836278f3_ff87_4364_a5b4_fd2153ebe43b); } @@ -833,15 +729,11 @@ pub struct IStorePurchaseProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePurchasePropertiesFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePurchasePropertiesFactory { type Vtable = IStorePurchasePropertiesFactory_Vtbl; } -impl ::core::clone::Clone for IStorePurchasePropertiesFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePurchasePropertiesFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa768f59e_fefd_489f_9a17_22a593e68b9d); } @@ -853,15 +745,11 @@ pub struct IStorePurchasePropertiesFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorePurchaseResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorePurchaseResult { type Vtable = IStorePurchaseResult_Vtbl; } -impl ::core::clone::Clone for IStorePurchaseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorePurchaseResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadd28552_f96a_463d_a7bb_c20b4fca6952); } @@ -874,15 +762,11 @@ pub struct IStorePurchaseResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreQueueItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreQueueItem { type Vtable = IStoreQueueItem_Vtbl; } -impl ::core::clone::Clone for IStoreQueueItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreQueueItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56d5c32b_f830_4293_9188_cad2dcde7357); } @@ -913,15 +797,11 @@ pub struct IStoreQueueItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreQueueItem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreQueueItem2 { type Vtable = IStoreQueueItem2_Vtbl; } -impl ::core::clone::Clone for IStoreQueueItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreQueueItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69491ca8_1ad4_447c_ad8c_a95035f64d82); } @@ -944,15 +824,11 @@ pub struct IStoreQueueItem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreQueueItemCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreQueueItemCompletedEventArgs { type Vtable = IStoreQueueItemCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IStoreQueueItemCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreQueueItemCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1247df6c_b44a_439b_bb07_1d3003d005c2); } @@ -964,15 +840,11 @@ pub struct IStoreQueueItemCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreQueueItemStatus(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreQueueItemStatus { type Vtable = IStoreQueueItemStatus_Vtbl; } -impl ::core::clone::Clone for IStoreQueueItemStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreQueueItemStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bd6796f_9cc3_4ec3_b2ef_7be433b30174); } @@ -987,15 +859,11 @@ pub struct IStoreQueueItemStatus_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreRateAndReviewResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreRateAndReviewResult { type Vtable = IStoreRateAndReviewResult_Vtbl; } -impl ::core::clone::Clone for IStoreRateAndReviewResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreRateAndReviewResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d209d56_a6b5_4121_9b61_ee6d0fbdbdbb); } @@ -1010,15 +878,11 @@ pub struct IStoreRateAndReviewResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreRequestHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreRequestHelperStatics { type Vtable = IStoreRequestHelperStatics_Vtbl; } -impl ::core::clone::Clone for IStoreRequestHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreRequestHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ce5e5f9_a0c9_4b2c_96a6_a171c630038d); } @@ -1033,15 +897,11 @@ pub struct IStoreRequestHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreSendRequestResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreSendRequestResult { type Vtable = IStoreSendRequestResult_Vtbl; } -impl ::core::clone::Clone for IStoreSendRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreSendRequestResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc73abe60_8272_4502_8a69_6e75153a4299); } @@ -1054,15 +914,11 @@ pub struct IStoreSendRequestResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreSendRequestResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreSendRequestResult2 { type Vtable = IStoreSendRequestResult2_Vtbl; } -impl ::core::clone::Clone for IStoreSendRequestResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreSendRequestResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2901296f_c0b0_49d0_8e8d_aa940af9c10b); } @@ -1077,15 +933,11 @@ pub struct IStoreSendRequestResult2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreSku(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreSku { type Vtable = IStoreSku_Vtbl; } -impl ::core::clone::Clone for IStoreSku { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreSku { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x397e6f55_4440_4f03_863c_91f3fec83d79); } @@ -1136,15 +988,11 @@ pub struct IStoreSku_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreSubscriptionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreSubscriptionInfo { type Vtable = IStoreSubscriptionInfo_Vtbl; } -impl ::core::clone::Clone for IStoreSubscriptionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreSubscriptionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4189776a_0559_43ac_a9c6_3ab0011fb8eb); } @@ -1160,15 +1008,11 @@ pub struct IStoreSubscriptionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreUninstallStorePackageResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreUninstallStorePackageResult { type Vtable = IStoreUninstallStorePackageResult_Vtbl; } -impl ::core::clone::Clone for IStoreUninstallStorePackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreUninstallStorePackageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fca39fd_126f_4cda_b801_1346b8d0a260); } @@ -1181,15 +1025,11 @@ pub struct IStoreUninstallStorePackageResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStoreVideo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStoreVideo { type Vtable = IStoreVideo_Vtbl; } -impl ::core::clone::Clone for IStoreVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStoreVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf26cb184_6f5e_4dc2_886c_3c63083c2f94); } @@ -1209,6 +1049,7 @@ pub struct IStoreVideo_Vtbl { } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreAcquireLicenseResult(::windows_core::IUnknown); impl StoreAcquireLicenseResult { pub fn StorePackageLicense(&self) -> ::windows_core::Result { @@ -1226,25 +1067,9 @@ impl StoreAcquireLicenseResult { } } } -impl ::core::cmp::PartialEq for StoreAcquireLicenseResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreAcquireLicenseResult {} -impl ::core::fmt::Debug for StoreAcquireLicenseResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreAcquireLicenseResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreAcquireLicenseResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAcquireLicenseResult;{fbd7946d-f040-4cb3-9a39-29bcecdbe22d})"); } -impl ::core::clone::Clone for StoreAcquireLicenseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreAcquireLicenseResult { type Vtable = IStoreAcquireLicenseResult_Vtbl; } @@ -1259,6 +1084,7 @@ unsafe impl ::core::marker::Send for StoreAcquireLicenseResult {} unsafe impl ::core::marker::Sync for StoreAcquireLicenseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreAppLicense(::windows_core::IUnknown); impl StoreAppLicense { pub fn SkuStoreId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1338,25 +1164,9 @@ impl StoreAppLicense { } } } -impl ::core::cmp::PartialEq for StoreAppLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreAppLicense {} -impl ::core::fmt::Debug for StoreAppLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreAppLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreAppLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAppLicense;{f389f9de-73c0-45ce-9bab-b2fe3e5eafd3})"); } -impl ::core::clone::Clone for StoreAppLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreAppLicense { type Vtable = IStoreAppLicense_Vtbl; } @@ -1371,6 +1181,7 @@ unsafe impl ::core::marker::Send for StoreAppLicense {} unsafe impl ::core::marker::Sync for StoreAppLicense {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreAvailability(::windows_core::IUnknown); impl StoreAvailability { pub fn StoreId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1425,25 +1236,9 @@ impl StoreAvailability { } } } -impl ::core::cmp::PartialEq for StoreAvailability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreAvailability {} -impl ::core::fmt::Debug for StoreAvailability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreAvailability").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreAvailability { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreAvailability;{fa060325-0ffd-4493-ad43-f1f9918f69fa})"); } -impl ::core::clone::Clone for StoreAvailability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreAvailability { type Vtable = IStoreAvailability_Vtbl; } @@ -1458,6 +1253,7 @@ unsafe impl ::core::marker::Send for StoreAvailability {} unsafe impl ::core::marker::Sync for StoreAvailability {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreCanAcquireLicenseResult(::windows_core::IUnknown); impl StoreCanAcquireLicenseResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -1482,25 +1278,9 @@ impl StoreCanAcquireLicenseResult { } } } -impl ::core::cmp::PartialEq for StoreCanAcquireLicenseResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreCanAcquireLicenseResult {} -impl ::core::fmt::Debug for StoreCanAcquireLicenseResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreCanAcquireLicenseResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreCanAcquireLicenseResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCanAcquireLicenseResult;{3a693db3-0088-482f-86d5-bd46522663ad})"); } -impl ::core::clone::Clone for StoreCanAcquireLicenseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreCanAcquireLicenseResult { type Vtable = IStoreCanAcquireLicenseResult_Vtbl; } @@ -1515,6 +1295,7 @@ unsafe impl ::core::marker::Send for StoreCanAcquireLicenseResult {} unsafe impl ::core::marker::Sync for StoreCanAcquireLicenseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreCollectionData(::windows_core::IUnknown); impl StoreCollectionData { pub fn IsTrial(&self) -> ::windows_core::Result { @@ -1582,25 +1363,9 @@ impl StoreCollectionData { } } } -impl ::core::cmp::PartialEq for StoreCollectionData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreCollectionData {} -impl ::core::fmt::Debug for StoreCollectionData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreCollectionData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreCollectionData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreCollectionData;{8aa4c3b3-5bb3-441a-2ab4-4dab73d5ce67})"); } -impl ::core::clone::Clone for StoreCollectionData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreCollectionData { type Vtable = IStoreCollectionData_Vtbl; } @@ -1615,6 +1380,7 @@ unsafe impl ::core::marker::Send for StoreCollectionData {} unsafe impl ::core::marker::Sync for StoreCollectionData {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreConsumableResult(::windows_core::IUnknown); impl StoreConsumableResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1646,25 +1412,9 @@ impl StoreConsumableResult { } } } -impl ::core::cmp::PartialEq for StoreConsumableResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreConsumableResult {} -impl ::core::fmt::Debug for StoreConsumableResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreConsumableResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreConsumableResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreConsumableResult;{ea5dab72-6a00-4052-be5b-bfdab4433352})"); } -impl ::core::clone::Clone for StoreConsumableResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreConsumableResult { type Vtable = IStoreConsumableResult_Vtbl; } @@ -1679,6 +1429,7 @@ unsafe impl ::core::marker::Send for StoreConsumableResult {} unsafe impl ::core::marker::Sync for StoreConsumableResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreContext(::windows_core::IUnknown); impl StoreContext { #[doc = "*Required features: `\"System\"`*"] @@ -2112,25 +1863,9 @@ impl StoreContext { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StoreContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreContext {} -impl ::core::fmt::Debug for StoreContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreContext;{ac98b6be-f4fd-4912-babd-5035e5e8bcab})"); } -impl ::core::clone::Clone for StoreContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreContext { type Vtable = IStoreContext_Vtbl; } @@ -2145,6 +1880,7 @@ unsafe impl ::core::marker::Send for StoreContext {} unsafe impl ::core::marker::Sync for StoreContext {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreImage(::windows_core::IUnknown); impl StoreImage { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2185,25 +1921,9 @@ impl StoreImage { } } } -impl ::core::cmp::PartialEq for StoreImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreImage {} -impl ::core::fmt::Debug for StoreImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreImage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreImage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreImage;{081fd248-adb4-4b64-a993-784789926ed5})"); } -impl ::core::clone::Clone for StoreImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreImage { type Vtable = IStoreImage_Vtbl; } @@ -2218,6 +1938,7 @@ unsafe impl ::core::marker::Send for StoreImage {} unsafe impl ::core::marker::Sync for StoreImage {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreLicense(::windows_core::IUnknown); impl StoreLicense { pub fn SkuStoreId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2258,25 +1979,9 @@ impl StoreLicense { } } } -impl ::core::cmp::PartialEq for StoreLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreLicense {} -impl ::core::fmt::Debug for StoreLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreLicense;{26dc9579-4c4f-4f30-bc89-649f60e36055})"); } -impl ::core::clone::Clone for StoreLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreLicense { type Vtable = IStoreLicense_Vtbl; } @@ -2291,6 +1996,7 @@ unsafe impl ::core::marker::Send for StoreLicense {} unsafe impl ::core::marker::Sync for StoreLicense {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePackageInstallOptions(::windows_core::IUnknown); impl StorePackageInstallOptions { pub fn new() -> ::windows_core::Result { @@ -2312,25 +2018,9 @@ impl StorePackageInstallOptions { unsafe { (::windows_core::Interface::vtable(this).SetAllowForcedAppRestart)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for StorePackageInstallOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePackageInstallOptions {} -impl ::core::fmt::Debug for StorePackageInstallOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePackageInstallOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePackageInstallOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageInstallOptions;{1d3d630c-0ccd-44dd-8c59-80810a729973})"); } -impl ::core::clone::Clone for StorePackageInstallOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePackageInstallOptions { type Vtable = IStorePackageInstallOptions_Vtbl; } @@ -2345,6 +2035,7 @@ unsafe impl ::core::marker::Send for StorePackageInstallOptions {} unsafe impl ::core::marker::Sync for StorePackageInstallOptions {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePackageLicense(::windows_core::IUnknown); impl StorePackageLicense { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2392,25 +2083,9 @@ impl StorePackageLicense { unsafe { (::windows_core::Interface::vtable(this).ReleaseLicense)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for StorePackageLicense { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePackageLicense {} -impl ::core::fmt::Debug for StorePackageLicense { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePackageLicense").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePackageLicense { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageLicense;{0c465714-14e1-4973-bd14-f77724271e99})"); } -impl ::core::clone::Clone for StorePackageLicense { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePackageLicense { type Vtable = IStorePackageLicense_Vtbl; } @@ -2427,6 +2102,7 @@ unsafe impl ::core::marker::Send for StorePackageLicense {} unsafe impl ::core::marker::Sync for StorePackageLicense {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePackageUpdate(::windows_core::IUnknown); impl StorePackageUpdate { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2446,25 +2122,9 @@ impl StorePackageUpdate { } } } -impl ::core::cmp::PartialEq for StorePackageUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePackageUpdate {} -impl ::core::fmt::Debug for StorePackageUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePackageUpdate").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePackageUpdate { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdate;{140fa150-3cbf-4a35-b91f-48271c31b072})"); } -impl ::core::clone::Clone for StorePackageUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePackageUpdate { type Vtable = IStorePackageUpdate_Vtbl; } @@ -2479,6 +2139,7 @@ unsafe impl ::core::marker::Send for StorePackageUpdate {} unsafe impl ::core::marker::Sync for StorePackageUpdate {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePackageUpdateResult(::windows_core::IUnknown); impl StorePackageUpdateResult { pub fn OverallState(&self) -> ::windows_core::Result { @@ -2507,25 +2168,9 @@ impl StorePackageUpdateResult { } } } -impl ::core::cmp::PartialEq for StorePackageUpdateResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePackageUpdateResult {} -impl ::core::fmt::Debug for StorePackageUpdateResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePackageUpdateResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePackageUpdateResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePackageUpdateResult;{e79142ed-61f9-4893-b4fe-cf191603af7b})"); } -impl ::core::clone::Clone for StorePackageUpdateResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePackageUpdateResult { type Vtable = IStorePackageUpdateResult_Vtbl; } @@ -2540,6 +2185,7 @@ unsafe impl ::core::marker::Send for StorePackageUpdateResult {} unsafe impl ::core::marker::Sync for StorePackageUpdateResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePrice(::windows_core::IUnknown); impl StorePrice { pub fn FormattedBasePrice(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2587,25 +2233,9 @@ impl StorePrice { } } } -impl ::core::cmp::PartialEq for StorePrice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePrice {} -impl ::core::fmt::Debug for StorePrice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePrice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePrice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePrice;{55ba94c4-15f1-407c-8f06-006380f4df0b})"); } -impl ::core::clone::Clone for StorePrice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePrice { type Vtable = IStorePrice_Vtbl; } @@ -2620,6 +2250,7 @@ unsafe impl ::core::marker::Send for StorePrice {} unsafe impl ::core::marker::Sync for StorePrice {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreProduct(::windows_core::IUnknown); impl StoreProduct { pub fn StoreId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2768,25 +2399,9 @@ impl StoreProduct { } } } -impl ::core::cmp::PartialEq for StoreProduct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreProduct {} -impl ::core::fmt::Debug for StoreProduct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreProduct").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreProduct { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProduct;{320e2c52-d760-450a-a42b-67d1e901ac90})"); } -impl ::core::clone::Clone for StoreProduct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreProduct { type Vtable = IStoreProduct_Vtbl; } @@ -2801,6 +2416,7 @@ unsafe impl ::core::marker::Send for StoreProduct {} unsafe impl ::core::marker::Sync for StoreProduct {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreProductOptions(::windows_core::IUnknown); impl StoreProductOptions { pub fn new() -> ::windows_core::Result { @@ -2820,25 +2436,9 @@ impl StoreProductOptions { } } } -impl ::core::cmp::PartialEq for StoreProductOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreProductOptions {} -impl ::core::fmt::Debug for StoreProductOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreProductOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreProductOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductOptions;{5b34a0f9-a113-4811-8326-16199c927f31})"); } -impl ::core::clone::Clone for StoreProductOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreProductOptions { type Vtable = IStoreProductOptions_Vtbl; } @@ -2853,6 +2453,7 @@ unsafe impl ::core::marker::Send for StoreProductOptions {} unsafe impl ::core::marker::Sync for StoreProductOptions {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreProductPagedQueryResult(::windows_core::IUnknown); impl StoreProductPagedQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2888,25 +2489,9 @@ impl StoreProductPagedQueryResult { } } } -impl ::core::cmp::PartialEq for StoreProductPagedQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreProductPagedQueryResult {} -impl ::core::fmt::Debug for StoreProductPagedQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreProductPagedQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreProductPagedQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductPagedQueryResult;{c92718c5-4dd5-4869-a462-ecc6872e43c5})"); } -impl ::core::clone::Clone for StoreProductPagedQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreProductPagedQueryResult { type Vtable = IStoreProductPagedQueryResult_Vtbl; } @@ -2921,6 +2506,7 @@ unsafe impl ::core::marker::Send for StoreProductPagedQueryResult {} unsafe impl ::core::marker::Sync for StoreProductPagedQueryResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreProductQueryResult(::windows_core::IUnknown); impl StoreProductQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2940,25 +2526,9 @@ impl StoreProductQueryResult { } } } -impl ::core::cmp::PartialEq for StoreProductQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreProductQueryResult {} -impl ::core::fmt::Debug for StoreProductQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreProductQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreProductQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductQueryResult;{d805e6c5-d456-4ff6-8049-9076d5165f73})"); } -impl ::core::clone::Clone for StoreProductQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreProductQueryResult { type Vtable = IStoreProductQueryResult_Vtbl; } @@ -2973,6 +2543,7 @@ unsafe impl ::core::marker::Send for StoreProductQueryResult {} unsafe impl ::core::marker::Sync for StoreProductQueryResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreProductResult(::windows_core::IUnknown); impl StoreProductResult { pub fn Product(&self) -> ::windows_core::Result { @@ -2990,25 +2561,9 @@ impl StoreProductResult { } } } -impl ::core::cmp::PartialEq for StoreProductResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreProductResult {} -impl ::core::fmt::Debug for StoreProductResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreProductResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreProductResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreProductResult;{b7674f73-3c87-4ee1-8201-f428359bd3af})"); } -impl ::core::clone::Clone for StoreProductResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreProductResult { type Vtable = IStoreProductResult_Vtbl; } @@ -3023,6 +2578,7 @@ unsafe impl ::core::marker::Send for StoreProductResult {} unsafe impl ::core::marker::Sync for StoreProductResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePurchaseProperties(::windows_core::IUnknown); impl StorePurchaseProperties { pub fn new() -> ::windows_core::Result { @@ -3066,25 +2622,9 @@ impl StorePurchaseProperties { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorePurchaseProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePurchaseProperties {} -impl ::core::fmt::Debug for StorePurchaseProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePurchaseProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePurchaseProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseProperties;{836278f3-ff87-4364-a5b4-fd2153ebe43b})"); } -impl ::core::clone::Clone for StorePurchaseProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePurchaseProperties { type Vtable = IStorePurchaseProperties_Vtbl; } @@ -3099,6 +2639,7 @@ unsafe impl ::core::marker::Send for StorePurchaseProperties {} unsafe impl ::core::marker::Sync for StorePurchaseProperties {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorePurchaseResult(::windows_core::IUnknown); impl StorePurchaseResult { pub fn Status(&self) -> ::windows_core::Result { @@ -3116,25 +2657,9 @@ impl StorePurchaseResult { } } } -impl ::core::cmp::PartialEq for StorePurchaseResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorePurchaseResult {} -impl ::core::fmt::Debug for StorePurchaseResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorePurchaseResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorePurchaseResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StorePurchaseResult;{add28552-f96a-463d-a7bb-c20b4fca6952})"); } -impl ::core::clone::Clone for StorePurchaseResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorePurchaseResult { type Vtable = IStorePurchaseResult_Vtbl; } @@ -3149,6 +2674,7 @@ unsafe impl ::core::marker::Send for StorePurchaseResult {} unsafe impl ::core::marker::Sync for StorePurchaseResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreQueueItem(::windows_core::IUnknown); impl StoreQueueItem { pub fn ProductId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3243,25 +2769,9 @@ impl StoreQueueItem { } } } -impl ::core::cmp::PartialEq for StoreQueueItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreQueueItem {} -impl ::core::fmt::Debug for StoreQueueItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreQueueItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreQueueItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItem;{56d5c32b-f830-4293-9188-cad2dcde7357})"); } -impl ::core::clone::Clone for StoreQueueItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreQueueItem { type Vtable = IStoreQueueItem_Vtbl; } @@ -3276,6 +2786,7 @@ unsafe impl ::core::marker::Send for StoreQueueItem {} unsafe impl ::core::marker::Sync for StoreQueueItem {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreQueueItemCompletedEventArgs(::windows_core::IUnknown); impl StoreQueueItemCompletedEventArgs { pub fn Status(&self) -> ::windows_core::Result { @@ -3286,25 +2797,9 @@ impl StoreQueueItemCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for StoreQueueItemCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreQueueItemCompletedEventArgs {} -impl ::core::fmt::Debug for StoreQueueItemCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreQueueItemCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreQueueItemCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemCompletedEventArgs;{1247df6c-b44a-439b-bb07-1d3003d005c2})"); } -impl ::core::clone::Clone for StoreQueueItemCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreQueueItemCompletedEventArgs { type Vtable = IStoreQueueItemCompletedEventArgs_Vtbl; } @@ -3319,6 +2814,7 @@ unsafe impl ::core::marker::Send for StoreQueueItemCompletedEventArgs {} unsafe impl ::core::marker::Sync for StoreQueueItemCompletedEventArgs {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreQueueItemStatus(::windows_core::IUnknown); impl StoreQueueItemStatus { pub fn PackageInstallState(&self) -> ::windows_core::Result { @@ -3350,25 +2846,9 @@ impl StoreQueueItemStatus { } } } -impl ::core::cmp::PartialEq for StoreQueueItemStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreQueueItemStatus {} -impl ::core::fmt::Debug for StoreQueueItemStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreQueueItemStatus").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreQueueItemStatus { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreQueueItemStatus;{9bd6796f-9cc3-4ec3-b2ef-7be433b30174})"); } -impl ::core::clone::Clone for StoreQueueItemStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreQueueItemStatus { type Vtable = IStoreQueueItemStatus_Vtbl; } @@ -3383,6 +2863,7 @@ unsafe impl ::core::marker::Send for StoreQueueItemStatus {} unsafe impl ::core::marker::Sync for StoreQueueItemStatus {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreRateAndReviewResult(::windows_core::IUnknown); impl StoreRateAndReviewResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3414,25 +2895,9 @@ impl StoreRateAndReviewResult { } } } -impl ::core::cmp::PartialEq for StoreRateAndReviewResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreRateAndReviewResult {} -impl ::core::fmt::Debug for StoreRateAndReviewResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreRateAndReviewResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreRateAndReviewResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreRateAndReviewResult;{9d209d56-a6b5-4121-9b61-ee6d0fbdbdbb})"); } -impl ::core::clone::Clone for StoreRateAndReviewResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreRateAndReviewResult { type Vtable = IStoreRateAndReviewResult_Vtbl; } @@ -3470,6 +2935,7 @@ impl ::windows_core::RuntimeName for StoreRequestHelper { } #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreSendRequestResult(::windows_core::IUnknown); impl StoreSendRequestResult { pub fn Response(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3496,25 +2962,9 @@ impl StoreSendRequestResult { } } } -impl ::core::cmp::PartialEq for StoreSendRequestResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreSendRequestResult {} -impl ::core::fmt::Debug for StoreSendRequestResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreSendRequestResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreSendRequestResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSendRequestResult;{c73abe60-8272-4502-8a69-6e75153a4299})"); } -impl ::core::clone::Clone for StoreSendRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreSendRequestResult { type Vtable = IStoreSendRequestResult_Vtbl; } @@ -3529,6 +2979,7 @@ unsafe impl ::core::marker::Send for StoreSendRequestResult {} unsafe impl ::core::marker::Sync for StoreSendRequestResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreSku(::windows_core::IUnknown); impl StoreSku { pub fn StoreId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3682,25 +3133,9 @@ impl StoreSku { } } } -impl ::core::cmp::PartialEq for StoreSku { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreSku {} -impl ::core::fmt::Debug for StoreSku { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreSku").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreSku { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSku;{397e6f55-4440-4f03-863c-91f3fec83d79})"); } -impl ::core::clone::Clone for StoreSku { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreSku { type Vtable = IStoreSku_Vtbl; } @@ -3715,6 +3150,7 @@ unsafe impl ::core::marker::Send for StoreSku {} unsafe impl ::core::marker::Sync for StoreSku {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreSubscriptionInfo(::windows_core::IUnknown); impl StoreSubscriptionInfo { pub fn BillingPeriod(&self) -> ::windows_core::Result { @@ -3753,25 +3189,9 @@ impl StoreSubscriptionInfo { } } } -impl ::core::cmp::PartialEq for StoreSubscriptionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreSubscriptionInfo {} -impl ::core::fmt::Debug for StoreSubscriptionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreSubscriptionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreSubscriptionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreSubscriptionInfo;{4189776a-0559-43ac-a9c6-3ab0011fb8eb})"); } -impl ::core::clone::Clone for StoreSubscriptionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreSubscriptionInfo { type Vtable = IStoreSubscriptionInfo_Vtbl; } @@ -3786,6 +3206,7 @@ unsafe impl ::core::marker::Send for StoreSubscriptionInfo {} unsafe impl ::core::marker::Sync for StoreSubscriptionInfo {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreUninstallStorePackageResult(::windows_core::IUnknown); impl StoreUninstallStorePackageResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3803,25 +3224,9 @@ impl StoreUninstallStorePackageResult { } } } -impl ::core::cmp::PartialEq for StoreUninstallStorePackageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreUninstallStorePackageResult {} -impl ::core::fmt::Debug for StoreUninstallStorePackageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreUninstallStorePackageResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreUninstallStorePackageResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreUninstallStorePackageResult;{9fca39fd-126f-4cda-b801-1346b8d0a260})"); } -impl ::core::clone::Clone for StoreUninstallStorePackageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreUninstallStorePackageResult { type Vtable = IStoreUninstallStorePackageResult_Vtbl; } @@ -3836,6 +3241,7 @@ unsafe impl ::core::marker::Send for StoreUninstallStorePackageResult {} unsafe impl ::core::marker::Sync for StoreUninstallStorePackageResult {} #[doc = "*Required features: `\"Services_Store\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StoreVideo(::windows_core::IUnknown); impl StoreVideo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3883,25 +3289,9 @@ impl StoreVideo { } } } -impl ::core::cmp::PartialEq for StoreVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StoreVideo {} -impl ::core::fmt::Debug for StoreVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StoreVideo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StoreVideo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.Store.StoreVideo;{f26cb184-6f5e-4dc2-886c-3c63083c2f94})"); } -impl ::core::clone::Clone for StoreVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StoreVideo { type Vtable = IStoreVideo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index 4e693a2606..a7de572de6 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentAction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentAction { type Vtable = ITargetedContentAction_Vtbl; } -impl ::core::clone::Clone for ITargetedContentAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd75b691e_6cd6_4ca0_9d8f_4728b0b7e6b6); } @@ -23,15 +19,11 @@ pub struct ITargetedContentAction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentAvailabilityChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentAvailabilityChangedEventArgs { type Vtable = ITargetedContentAvailabilityChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITargetedContentAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentAvailabilityChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0f59d26_5927_4450_965c_1ceb7becde65); } @@ -46,15 +38,11 @@ pub struct ITargetedContentAvailabilityChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentChangedEventArgs { type Vtable = ITargetedContentChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITargetedContentChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99d488c9_587e_4586_8ef7_b54ca9453a16); } @@ -70,15 +58,11 @@ pub struct ITargetedContentChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentCollection { type Vtable = ITargetedContentCollection_Vtbl; } -impl ::core::clone::Clone for ITargetedContentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d4b66c5_f163_44ba_9f6e_e1a4c2bb559d); } @@ -105,15 +89,11 @@ pub struct ITargetedContentCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentContainer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentContainer { type Vtable = ITargetedContentContainer_Vtbl; } -impl ::core::clone::Clone for ITargetedContentContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc2494c9_8837_47c2_850f_d79d64595926); } @@ -132,15 +112,11 @@ pub struct ITargetedContentContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentContainerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentContainerStatics { type Vtable = ITargetedContentContainerStatics_Vtbl; } -impl ::core::clone::Clone for ITargetedContentContainerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentContainerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b47e7fb_2140_4c1f_a736_c59583f227d8); } @@ -155,15 +131,11 @@ pub struct ITargetedContentContainerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentImage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentImage { type Vtable = ITargetedContentImage_Vtbl; } -impl ::core::clone::Clone for ITargetedContentImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7a585d9_779f_4b1e_bbb1_8eaf53fbeab2); } @@ -176,15 +148,11 @@ pub struct ITargetedContentImage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentItem { type Vtable = ITargetedContentItem_Vtbl; } -impl ::core::clone::Clone for ITargetedContentItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38168dc4_276c_4c32_96ba_565c6e406e74); } @@ -207,15 +175,11 @@ pub struct ITargetedContentItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentItemState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentItemState { type Vtable = ITargetedContentItemState_Vtbl; } -impl ::core::clone::Clone for ITargetedContentItemState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentItemState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73935454_4c65_4b47_a441_472de53c79b6); } @@ -228,15 +192,11 @@ pub struct ITargetedContentItemState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentObject { type Vtable = ITargetedContentObject_Vtbl; } -impl ::core::clone::Clone for ITargetedContentObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x041d7969_2212_42d1_9dfa_88a8e3033aa3); } @@ -251,15 +211,11 @@ pub struct ITargetedContentObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentStateChangedEventArgs { type Vtable = ITargetedContentStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITargetedContentStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a1cef3d_8073_4416_8df2_546835a6414f); } @@ -274,15 +230,11 @@ pub struct ITargetedContentStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentSubscription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentSubscription { type Vtable = ITargetedContentSubscription_Vtbl; } -impl ::core::clone::Clone for ITargetedContentSubscription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentSubscription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x882c2c49_c652_4c7a_acad_1f7fa2986c73); } @@ -322,15 +274,11 @@ pub struct ITargetedContentSubscription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentSubscriptionOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentSubscriptionOptions { type Vtable = ITargetedContentSubscriptionOptions_Vtbl; } -impl ::core::clone::Clone for ITargetedContentSubscriptionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentSubscriptionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61ee6ad0_2c83_421b_8467_413eaf1aeb97); } @@ -353,15 +301,11 @@ pub struct ITargetedContentSubscriptionOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentSubscriptionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentSubscriptionStatics { type Vtable = ITargetedContentSubscriptionStatics_Vtbl; } -impl ::core::clone::Clone for ITargetedContentSubscriptionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentSubscriptionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaddfe80_360d_4916_b53c_7ea27090d02a); } @@ -377,15 +321,11 @@ pub struct ITargetedContentSubscriptionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetedContentValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetedContentValue { type Vtable = ITargetedContentValue_Vtbl; } -impl ::core::clone::Clone for ITargetedContentValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetedContentValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaafde4b3_4215_4bf8_867f_43f04865f9bf); } @@ -439,6 +379,7 @@ pub struct ITargetedContentValue_Vtbl { } #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentAction(::windows_core::IUnknown); impl TargetedContentAction { #[doc = "*Required features: `\"Foundation\"`*"] @@ -451,25 +392,9 @@ impl TargetedContentAction { } } } -impl ::core::cmp::PartialEq for TargetedContentAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentAction {} -impl ::core::fmt::Debug for TargetedContentAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentAction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentAction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAction;{d75b691e-6cd6-4ca0-9d8f-4728b0b7e6b6})"); } -impl ::core::clone::Clone for TargetedContentAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentAction { type Vtable = ITargetedContentAction_Vtbl; } @@ -484,6 +409,7 @@ unsafe impl ::core::marker::Send for TargetedContentAction {} unsafe impl ::core::marker::Sync for TargetedContentAction {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentAvailabilityChangedEventArgs(::windows_core::IUnknown); impl TargetedContentAvailabilityChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -496,25 +422,9 @@ impl TargetedContentAvailabilityChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TargetedContentAvailabilityChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentAvailabilityChangedEventArgs {} -impl ::core::fmt::Debug for TargetedContentAvailabilityChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentAvailabilityChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentAvailabilityChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentAvailabilityChangedEventArgs;{e0f59d26-5927-4450-965c-1ceb7becde65})"); } -impl ::core::clone::Clone for TargetedContentAvailabilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentAvailabilityChangedEventArgs { type Vtable = ITargetedContentAvailabilityChangedEventArgs_Vtbl; } @@ -529,6 +439,7 @@ unsafe impl ::core::marker::Send for TargetedContentAvailabilityChangedEventArgs unsafe impl ::core::marker::Sync for TargetedContentAvailabilityChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentChangedEventArgs(::windows_core::IUnknown); impl TargetedContentChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -548,25 +459,9 @@ impl TargetedContentChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TargetedContentChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentChangedEventArgs {} -impl ::core::fmt::Debug for TargetedContentChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentChangedEventArgs;{99d488c9-587e-4586-8ef7-b54ca9453a16})"); } -impl ::core::clone::Clone for TargetedContentChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentChangedEventArgs { type Vtable = ITargetedContentChangedEventArgs_Vtbl; } @@ -581,6 +476,7 @@ unsafe impl ::core::marker::Send for TargetedContentChangedEventArgs {} unsafe impl ::core::marker::Sync for TargetedContentChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentCollection(::windows_core::IUnknown); impl TargetedContentCollection { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -633,25 +529,9 @@ impl TargetedContentCollection { } } } -impl ::core::cmp::PartialEq for TargetedContentCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentCollection {} -impl ::core::fmt::Debug for TargetedContentCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentCollection;{2d4b66c5-f163-44ba-9f6e-e1a4c2bb559d})"); } -impl ::core::clone::Clone for TargetedContentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentCollection { type Vtable = ITargetedContentCollection_Vtbl; } @@ -666,6 +546,7 @@ unsafe impl ::core::marker::Send for TargetedContentCollection {} unsafe impl ::core::marker::Sync for TargetedContentCollection {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentContainer(::windows_core::IUnknown); impl TargetedContentContainer { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -719,25 +600,9 @@ impl TargetedContentContainer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TargetedContentContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentContainer {} -impl ::core::fmt::Debug for TargetedContentContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentContainer;{bc2494c9-8837-47c2-850f-d79d64595926})"); } -impl ::core::clone::Clone for TargetedContentContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentContainer { type Vtable = ITargetedContentContainer_Vtbl; } @@ -753,6 +618,7 @@ unsafe impl ::core::marker::Sync for TargetedContentContainer {} #[doc = "*Required features: `\"Services_TargetedContent\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentFile(::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl TargetedContentFile { @@ -767,30 +633,10 @@ impl TargetedContentFile { } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for TargetedContentFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for TargetedContentFile {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for TargetedContentFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentFile").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] impl ::windows_core::RuntimeType for TargetedContentFile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentFile;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for TargetedContentFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for TargetedContentFile { type Vtable = super::super::Storage::Streams::IRandomAccessStreamReference_Vtbl; } @@ -812,6 +658,7 @@ unsafe impl ::core::marker::Send for TargetedContentFile {} unsafe impl ::core::marker::Sync for TargetedContentFile {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentImage(::windows_core::IUnknown); impl TargetedContentImage { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -838,25 +685,9 @@ impl TargetedContentImage { } } } -impl ::core::cmp::PartialEq for TargetedContentImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentImage {} -impl ::core::fmt::Debug for TargetedContentImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentImage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentImage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentImage;{a7a585d9-779f-4b1e-bbb1-8eaf53fbeab2})"); } -impl ::core::clone::Clone for TargetedContentImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentImage { type Vtable = ITargetedContentImage_Vtbl; } @@ -873,6 +704,7 @@ unsafe impl ::core::marker::Send for TargetedContentImage {} unsafe impl ::core::marker::Sync for TargetedContentImage {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentItem(::windows_core::IUnknown); impl TargetedContentItem { pub fn Path(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -916,25 +748,9 @@ impl TargetedContentItem { } } } -impl ::core::cmp::PartialEq for TargetedContentItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentItem {} -impl ::core::fmt::Debug for TargetedContentItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItem;{38168dc4-276c-4c32-96ba-565c6e406e74})"); } -impl ::core::clone::Clone for TargetedContentItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentItem { type Vtable = ITargetedContentItem_Vtbl; } @@ -949,6 +765,7 @@ unsafe impl ::core::marker::Send for TargetedContentItem {} unsafe impl ::core::marker::Sync for TargetedContentItem {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentItemState(::windows_core::IUnknown); impl TargetedContentItemState { pub fn ShouldDisplay(&self) -> ::windows_core::Result { @@ -966,25 +783,9 @@ impl TargetedContentItemState { } } } -impl ::core::cmp::PartialEq for TargetedContentItemState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentItemState {} -impl ::core::fmt::Debug for TargetedContentItemState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentItemState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentItemState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentItemState;{73935454-4c65-4b47-a441-472de53c79b6})"); } -impl ::core::clone::Clone for TargetedContentItemState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentItemState { type Vtable = ITargetedContentItemState_Vtbl; } @@ -999,6 +800,7 @@ unsafe impl ::core::marker::Send for TargetedContentItemState {} unsafe impl ::core::marker::Sync for TargetedContentItemState {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentObject(::windows_core::IUnknown); impl TargetedContentObject { pub fn ObjectKind(&self) -> ::windows_core::Result { @@ -1030,25 +832,9 @@ impl TargetedContentObject { } } } -impl ::core::cmp::PartialEq for TargetedContentObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentObject {} -impl ::core::fmt::Debug for TargetedContentObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentObject;{041d7969-2212-42d1-9dfa-88a8e3033aa3})"); } -impl ::core::clone::Clone for TargetedContentObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentObject { type Vtable = ITargetedContentObject_Vtbl; } @@ -1063,6 +849,7 @@ unsafe impl ::core::marker::Send for TargetedContentObject {} unsafe impl ::core::marker::Sync for TargetedContentObject {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentStateChangedEventArgs(::windows_core::IUnknown); impl TargetedContentStateChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1075,25 +862,9 @@ impl TargetedContentStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for TargetedContentStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentStateChangedEventArgs {} -impl ::core::fmt::Debug for TargetedContentStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentStateChangedEventArgs;{9a1cef3d-8073-4416-8df2-546835a6414f})"); } -impl ::core::clone::Clone for TargetedContentStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentStateChangedEventArgs { type Vtable = ITargetedContentStateChangedEventArgs_Vtbl; } @@ -1108,6 +879,7 @@ unsafe impl ::core::marker::Send for TargetedContentStateChangedEventArgs {} unsafe impl ::core::marker::Sync for TargetedContentStateChangedEventArgs {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentSubscription(::windows_core::IUnknown); impl TargetedContentSubscription { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1200,25 +972,9 @@ impl TargetedContentSubscription { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TargetedContentSubscription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentSubscription {} -impl ::core::fmt::Debug for TargetedContentSubscription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentSubscription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentSubscription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscription;{882c2c49-c652-4c7a-acad-1f7fa2986c73})"); } -impl ::core::clone::Clone for TargetedContentSubscription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentSubscription { type Vtable = ITargetedContentSubscription_Vtbl; } @@ -1233,6 +989,7 @@ unsafe impl ::core::marker::Send for TargetedContentSubscription {} unsafe impl ::core::marker::Sync for TargetedContentSubscription {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentSubscriptionOptions(::windows_core::IUnknown); impl TargetedContentSubscriptionOptions { pub fn SubscriptionId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1276,25 +1033,9 @@ impl TargetedContentSubscriptionOptions { unsafe { (::windows_core::Interface::vtable(this).Update)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for TargetedContentSubscriptionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentSubscriptionOptions {} -impl ::core::fmt::Debug for TargetedContentSubscriptionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentSubscriptionOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentSubscriptionOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentSubscriptionOptions;{61ee6ad0-2c83-421b-8467-413eaf1aeb97})"); } -impl ::core::clone::Clone for TargetedContentSubscriptionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentSubscriptionOptions { type Vtable = ITargetedContentSubscriptionOptions_Vtbl; } @@ -1309,6 +1050,7 @@ unsafe impl ::core::marker::Send for TargetedContentSubscriptionOptions {} unsafe impl ::core::marker::Sync for TargetedContentSubscriptionOptions {} #[doc = "*Required features: `\"Services_TargetedContent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetedContentValue(::windows_core::IUnknown); impl TargetedContentValue { pub fn ValueKind(&self) -> ::windows_core::Result { @@ -1442,25 +1184,9 @@ impl TargetedContentValue { } } } -impl ::core::cmp::PartialEq for TargetedContentValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetedContentValue {} -impl ::core::fmt::Debug for TargetedContentValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetedContentValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetedContentValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Services.TargetedContent.TargetedContentValue;{aafde4b3-4215-4bf8-867f-43f04865f9bf})"); } -impl ::core::clone::Clone for TargetedContentValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetedContentValue { type Vtable = ITargetedContentValue_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index 26e2fee460..262152d9cf 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -206,7 +206,7 @@ impl IStorageItemAccessList_Vtbl { MaximumItemsAllowed: MaximumItemsAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index e82c9d8123..cbb24527b9 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IItemRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IItemRemovedEventArgs { type Vtable = IItemRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IItemRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IItemRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59677e5c_55be_4c66_ba66_5eaea79d2631); } @@ -20,15 +16,11 @@ pub struct IItemRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageApplicationPermissionsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageApplicationPermissionsStatics { type Vtable = IStorageApplicationPermissionsStatics_Vtbl; } -impl ::core::clone::Clone for IStorageApplicationPermissionsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageApplicationPermissionsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4391dfaa_d033_48f9_8060_3ec847d2e3f1); } @@ -41,15 +33,11 @@ pub struct IStorageApplicationPermissionsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageApplicationPermissionsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageApplicationPermissionsStatics2 { type Vtable = IStorageApplicationPermissionsStatics2_Vtbl; } -impl ::core::clone::Clone for IStorageApplicationPermissionsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageApplicationPermissionsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x072716ec_aa05_4294_9a11_1a3d04519ad0); } @@ -68,6 +56,7 @@ pub struct IStorageApplicationPermissionsStatics2_Vtbl { } #[doc = "*Required features: `\"Storage_AccessCache\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemAccessList(::windows_core::IUnknown); impl IStorageItemAccessList { pub fn AddOverloadDefaultMetadata(&self, file: P0) -> ::windows_core::Result<::windows_core::HSTRING> @@ -201,28 +190,12 @@ impl IStorageItemAccessList { } } ::windows_core::imp::interface_hierarchy!(IStorageItemAccessList, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageItemAccessList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemAccessList {} -impl ::core::fmt::Debug for IStorageItemAccessList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemAccessList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemAccessList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2caff6ad-de90-47f5-b2c3-dd36c9fdd453}"); } unsafe impl ::windows_core::Interface for IStorageItemAccessList { type Vtable = IStorageItemAccessList_Vtbl; } -impl ::core::clone::Clone for IStorageItemAccessList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemAccessList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2caff6ad_de90_47f5_b2c3_dd36c9fdd453); } @@ -270,15 +243,11 @@ pub struct IStorageItemAccessList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemMostRecentlyUsedList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageItemMostRecentlyUsedList { type Vtable = IStorageItemMostRecentlyUsedList_Vtbl; } -impl ::core::clone::Clone for IStorageItemMostRecentlyUsedList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemMostRecentlyUsedList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x016239d5_510d_411e_8cf1_c3d1effa4c33); } @@ -297,15 +266,11 @@ pub struct IStorageItemMostRecentlyUsedList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemMostRecentlyUsedList2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageItemMostRecentlyUsedList2 { type Vtable = IStorageItemMostRecentlyUsedList2_Vtbl; } -impl ::core::clone::Clone for IStorageItemMostRecentlyUsedList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemMostRecentlyUsedList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda481ea0_ed8d_4731_a1db_e44ee2204093); } @@ -319,6 +284,7 @@ pub struct IStorageItemMostRecentlyUsedList2_Vtbl { #[doc = "*Required features: `\"Storage_AccessCache\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccessListEntryView(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl AccessListEntryView { @@ -372,30 +338,10 @@ impl AccessListEntryView { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for AccessListEntryView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for AccessListEntryView {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for AccessListEntryView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccessListEntryView").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for AccessListEntryView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.AccessListEntryView;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};struct(Windows.Storage.AccessCache.AccessListEntry;string;string)))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for AccessListEntryView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for AccessListEntryView { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -431,6 +377,7 @@ impl ::windows_core::CanTryInto> for AccessListEntryView {} #[doc = "*Required features: `\"Storage_AccessCache\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ItemRemovedEventArgs(::windows_core::IUnknown); impl ItemRemovedEventArgs { pub fn RemovedEntry(&self) -> ::windows_core::Result { @@ -441,25 +388,9 @@ impl ItemRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for ItemRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ItemRemovedEventArgs {} -impl ::core::fmt::Debug for ItemRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ItemRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ItemRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.ItemRemovedEventArgs;{59677e5c-55be-4c66-ba66-5eaea79d2631})"); } -impl ::core::clone::Clone for ItemRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ItemRemovedEventArgs { type Vtable = IItemRemovedEventArgs_Vtbl; } @@ -523,6 +454,7 @@ impl ::windows_core::RuntimeName for StorageApplicationPermissions { } #[doc = "*Required features: `\"Storage_AccessCache\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageItemAccessList(::windows_core::IUnknown); impl StorageItemAccessList { pub fn AddOverloadDefaultMetadata(&self, file: P0) -> ::windows_core::Result<::windows_core::HSTRING> @@ -655,25 +587,9 @@ impl StorageItemAccessList { } } } -impl ::core::cmp::PartialEq for StorageItemAccessList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageItemAccessList {} -impl ::core::fmt::Debug for StorageItemAccessList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageItemAccessList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageItemAccessList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemAccessList;{2caff6ad-de90-47f5-b2c3-dd36c9fdd453})"); } -impl ::core::clone::Clone for StorageItemAccessList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageItemAccessList { type Vtable = IStorageItemAccessList_Vtbl; } @@ -687,6 +603,7 @@ impl ::windows_core::RuntimeName for StorageItemAccessList { impl ::windows_core::CanTryInto for StorageItemAccessList {} #[doc = "*Required features: `\"Storage_AccessCache\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageItemMostRecentlyUsedList(::windows_core::IUnknown); impl StorageItemMostRecentlyUsedList { pub fn AddOverloadDefaultMetadata(&self, file: P0) -> ::windows_core::Result<::windows_core::HSTRING> @@ -854,25 +771,9 @@ impl StorageItemMostRecentlyUsedList { unsafe { (::windows_core::Interface::vtable(this).AddOrReplaceWithMetadataAndVisibility)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(token), file.try_into_param()?.abi(), ::core::mem::transmute_copy(metadata), visibility).ok() } } } -impl ::core::cmp::PartialEq for StorageItemMostRecentlyUsedList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageItemMostRecentlyUsedList {} -impl ::core::fmt::Debug for StorageItemMostRecentlyUsedList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageItemMostRecentlyUsedList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageItemMostRecentlyUsedList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList;{016239d5-510d-411e-8cf1-c3d1effa4c33})"); } -impl ::core::clone::Clone for StorageItemMostRecentlyUsedList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageItemMostRecentlyUsedList { type Vtable = IStorageItemMostRecentlyUsedList_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs index c695d23350..ac54deb493 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs @@ -137,7 +137,7 @@ impl IStorageItemInformation_Vtbl { RemovePropertiesUpdated: RemovePropertiesUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index 3954254662..7dcba25972 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileInformationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileInformationFactory { type Vtable = IFileInformationFactory_Vtbl; } -impl ::core::clone::Clone for IFileInformationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileInformationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x401d88be_960f_4d6d_a7d0_1a3861e76c83); } @@ -46,15 +42,11 @@ pub struct IFileInformationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileInformationFactoryFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileInformationFactoryFactory { type Vtable = IFileInformationFactoryFactory_Vtbl; } -impl ::core::clone::Clone for IFileInformationFactoryFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileInformationFactoryFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84ea0e7d_e4a2_4f00_8afa_af5e0f826bd5); } @@ -81,6 +73,7 @@ pub struct IFileInformationFactoryFactory_Vtbl { } #[doc = "*Required features: `\"Storage_BulkAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemInformation(::windows_core::IUnknown); impl IStorageItemInformation { #[doc = "*Required features: `\"Storage_FileProperties\"`*"] @@ -175,28 +168,12 @@ impl IStorageItemInformation { } } ::windows_core::imp::interface_hierarchy!(IStorageItemInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageItemInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemInformation {} -impl ::core::fmt::Debug for IStorageItemInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{87a5cb8b-8972-4f40-8de0-d86fb179d8fa}"); } unsafe impl ::windows_core::Interface for IStorageItemInformation { type Vtable = IStorageItemInformation_Vtbl; } -impl ::core::clone::Clone for IStorageItemInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87a5cb8b_8972_4f40_8de0_d86fb179d8fa); } @@ -247,6 +224,7 @@ pub struct IStorageItemInformation_Vtbl { } #[doc = "*Required features: `\"Storage_BulkAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileInformation(::windows_core::IUnknown); impl FileInformation { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -676,25 +654,9 @@ impl FileInformation { } } } -impl ::core::cmp::PartialEq for FileInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileInformation {} -impl ::core::fmt::Debug for FileInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); } -impl ::core::clone::Clone for FileInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileInformation { type Vtable = IStorageItemInformation_Vtbl; } @@ -719,6 +681,7 @@ impl ::windows_core::CanTryInto for FileInformati impl ::windows_core::CanTryInto for FileInformation {} #[doc = "*Required features: `\"Storage_BulkAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileInformationFactory(::windows_core::IUnknown); impl FileInformationFactory { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -846,25 +809,9 @@ impl FileInformationFactory { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileInformationFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileInformationFactory {} -impl ::core::fmt::Debug for FileInformationFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileInformationFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileInformationFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FileInformationFactory;{401d88be-960f-4d6d-a7d0-1a3861e76c83})"); } -impl ::core::clone::Clone for FileInformationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileInformationFactory { type Vtable = IFileInformationFactory_Vtbl; } @@ -879,6 +826,7 @@ unsafe impl ::core::marker::Send for FileInformationFactory {} unsafe impl ::core::marker::Sync for FileInformationFactory {} #[doc = "*Required features: `\"Storage_BulkAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderInformation(::windows_core::IUnknown); impl FolderInformation { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1401,25 +1349,9 @@ impl FolderInformation { } } } -impl ::core::cmp::PartialEq for FolderInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FolderInformation {} -impl ::core::fmt::Debug for FolderInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FolderInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.BulkAccess.FolderInformation;{87a5cb8b-8972-4f40-8de0-d86fb179d8fa})"); } -impl ::core::clone::Clone for FolderInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FolderInformation { type Vtable = IStorageItemInformation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index c692e8f08b..fa90fbd77d 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompressor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompressor { type Vtable = ICompressor_Vtbl; } -impl ::core::clone::Clone for ICompressor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompressor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ac3645a_57ac_4ee1_b702_84d39d5424e0); } @@ -27,15 +23,11 @@ pub struct ICompressor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompressorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompressorFactory { type Vtable = ICompressorFactory_Vtbl; } -impl ::core::clone::Clone for ICompressorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompressorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f3d96a4_2cfb_442c_a8ba_d7d11b039da0); } @@ -54,15 +46,11 @@ pub struct ICompressorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDecompressor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDecompressor { type Vtable = IDecompressor_Vtbl; } -impl ::core::clone::Clone for IDecompressor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDecompressor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb883fe46_d68a_4c8b_ada0_4ee813fc5283); } @@ -77,15 +65,11 @@ pub struct IDecompressor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDecompressorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDecompressorFactory { type Vtable = IDecompressorFactory_Vtbl; } -impl ::core::clone::Clone for IDecompressorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDecompressorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5337e252_1da2_42e1_8834_0379d28d742f); } @@ -100,6 +84,7 @@ pub struct IDecompressorFactory_Vtbl { } #[doc = "*Required features: `\"Storage_Compression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Compressor(::windows_core::IUnknown); impl Compressor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -175,25 +160,9 @@ impl Compressor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Compressor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Compressor {} -impl ::core::fmt::Debug for Compressor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Compressor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Compressor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Compressor;{0ac3645a-57ac-4ee1-b702-84d39d5424e0})"); } -impl ::core::clone::Clone for Compressor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Compressor { type Vtable = ICompressor_Vtbl; } @@ -212,6 +181,7 @@ unsafe impl ::core::marker::Send for Compressor {} unsafe impl ::core::marker::Sync for Compressor {} #[doc = "*Required features: `\"Storage_Compression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Decompressor(::windows_core::IUnknown); impl Decompressor { #[doc = "*Required features: `\"Foundation\"`*"] @@ -258,25 +228,9 @@ impl Decompressor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Decompressor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Decompressor {} -impl ::core::fmt::Debug for Decompressor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Decompressor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Decompressor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Compression.Decompressor;{b883fe46-d68a-4c8b-ada0-4ee813fc5283})"); } -impl ::core::clone::Clone for Decompressor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Decompressor { type Vtable = IDecompressor_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs index 58ef27861e..fe5e5851f6 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs @@ -55,7 +55,7 @@ impl IStorageItemExtraProperties_Vtbl { SavePropertiesAsyncOverloadDefault: SavePropertiesAsyncOverloadDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 90acb8356c..31d4e7582f 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBasicProperties { type Vtable = IBasicProperties_Vtbl; } -impl ::core::clone::Clone for IBasicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBasicProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd05d55db_785e_4a66_be02_9beec58aea81); } @@ -28,15 +24,11 @@ pub struct IBasicProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDocumentProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDocumentProperties { type Vtable = IDocumentProperties_Vtbl; } -impl ::core::clone::Clone for IDocumentProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDocumentProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7eab19bc_1821_4923_b4a9_0aea404d0070); } @@ -59,15 +51,11 @@ pub struct IDocumentProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeotagHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGeotagHelperStatics { type Vtable = IGeotagHelperStatics_Vtbl; } -impl ::core::clone::Clone for IGeotagHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeotagHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41493244_2524_4655_86a6_ed16f5fc716b); } @@ -90,15 +78,11 @@ pub struct IGeotagHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImageProperties { type Vtable = IImageProperties_Vtbl; } -impl ::core::clone::Clone for IImageProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x523c9424_fcff_4275_afee_ecdb9ab47973); } @@ -144,15 +128,11 @@ pub struct IImageProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMusicProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMusicProperties { type Vtable = IMusicProperties_Vtbl; } -impl ::core::clone::Clone for IMusicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMusicProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc8aab62_66ec_419a_bc5d_ca65a4cb46da); } @@ -206,15 +186,11 @@ pub struct IMusicProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemContentProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageItemContentProperties { type Vtable = IStorageItemContentProperties_Vtbl; } -impl ::core::clone::Clone for IStorageItemContentProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemContentProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05294bad_bc38_48bf_85d7_770e0e2ae0ba); } @@ -241,6 +217,7 @@ pub struct IStorageItemContentProperties_Vtbl { } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemExtraProperties(::windows_core::IUnknown); impl IStorageItemExtraProperties { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -278,28 +255,12 @@ impl IStorageItemExtraProperties { } } ::windows_core::imp::interface_hierarchy!(IStorageItemExtraProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageItemExtraProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemExtraProperties {} -impl ::core::fmt::Debug for IStorageItemExtraProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemExtraProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemExtraProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c54361b2-54cd-432b-bdbc-4b19c4b470d7}"); } unsafe impl ::windows_core::Interface for IStorageItemExtraProperties { type Vtable = IStorageItemExtraProperties_Vtbl; } -impl ::core::clone::Clone for IStorageItemExtraProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemExtraProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc54361b2_54cd_432b_bdbc_4b19c4b470d7); } @@ -322,15 +283,11 @@ pub struct IStorageItemExtraProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IThumbnailProperties { type Vtable = IThumbnailProperties_Vtbl; } -impl ::core::clone::Clone for IThumbnailProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x693dd42f_dbe7_49b5_b3b3_2893ac5d3423); } @@ -345,15 +302,11 @@ pub struct IThumbnailProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVideoProperties { type Vtable = IVideoProperties_Vtbl; } -impl ::core::clone::Clone for IVideoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x719ae507_68de_4db8_97de_49998c059f2f); } @@ -406,6 +359,7 @@ pub struct IVideoProperties_Vtbl { } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BasicProperties(::windows_core::IUnknown); impl BasicProperties { pub fn Size(&self) -> ::windows_core::Result { @@ -467,25 +421,9 @@ impl BasicProperties { } } } -impl ::core::cmp::PartialEq for BasicProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BasicProperties {} -impl ::core::fmt::Debug for BasicProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BasicProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BasicProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.BasicProperties;{d05d55db-785e-4a66-be02-9beec58aea81})"); } -impl ::core::clone::Clone for BasicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BasicProperties { type Vtable = IBasicProperties_Vtbl; } @@ -499,6 +437,7 @@ impl ::windows_core::RuntimeName for BasicProperties { impl ::windows_core::CanTryInto for BasicProperties {} #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DocumentProperties(::windows_core::IUnknown); impl DocumentProperties { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -575,25 +514,9 @@ impl DocumentProperties { } } } -impl ::core::cmp::PartialEq for DocumentProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DocumentProperties {} -impl ::core::fmt::Debug for DocumentProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DocumentProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DocumentProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.DocumentProperties;{7eab19bc-1821-4923-b4a9-0aea404d0070})"); } -impl ::core::clone::Clone for DocumentProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DocumentProperties { type Vtable = IDocumentProperties_Vtbl; } @@ -654,6 +577,7 @@ impl ::windows_core::RuntimeName for GeotagHelper { } #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImageProperties(::windows_core::IUnknown); impl ImageProperties { pub fn Rating(&self) -> ::windows_core::Result { @@ -806,25 +730,9 @@ impl ImageProperties { } } } -impl ::core::cmp::PartialEq for ImageProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImageProperties {} -impl ::core::fmt::Debug for ImageProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImageProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImageProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.ImageProperties;{523c9424-fcff-4275-afee-ecdb9ab47973})"); } -impl ::core::clone::Clone for ImageProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImageProperties { type Vtable = IImageProperties_Vtbl; } @@ -838,6 +746,7 @@ impl ::windows_core::RuntimeName for ImageProperties { impl ::windows_core::CanTryInto for ImageProperties {} #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MusicProperties(::windows_core::IUnknown); impl MusicProperties { pub fn Album(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1034,25 +943,9 @@ impl MusicProperties { } } } -impl ::core::cmp::PartialEq for MusicProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MusicProperties {} -impl ::core::fmt::Debug for MusicProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MusicProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MusicProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.MusicProperties;{bc8aab62-66ec-419a-bc5d-ca65a4cb46da})"); } -impl ::core::clone::Clone for MusicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MusicProperties { type Vtable = IMusicProperties_Vtbl; } @@ -1066,6 +959,7 @@ impl ::windows_core::RuntimeName for MusicProperties { impl ::windows_core::CanTryInto for MusicProperties {} #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageItemContentProperties(::windows_core::IUnknown); impl StorageItemContentProperties { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1138,25 +1032,9 @@ impl StorageItemContentProperties { } } } -impl ::core::cmp::PartialEq for StorageItemContentProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageItemContentProperties {} -impl ::core::fmt::Debug for StorageItemContentProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageItemContentProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageItemContentProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemContentProperties;{05294bad-bc38-48bf-85d7-770e0e2ae0ba})"); } -impl ::core::clone::Clone for StorageItemContentProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageItemContentProperties { type Vtable = IStorageItemContentProperties_Vtbl; } @@ -1171,6 +1049,7 @@ impl ::windows_core::CanTryInto for StorageItemCont #[doc = "*Required features: `\"Storage_FileProperties\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageItemThumbnail(::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl StorageItemThumbnail { @@ -1327,30 +1206,10 @@ impl StorageItemThumbnail { } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for StorageItemThumbnail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for StorageItemThumbnail {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for StorageItemThumbnail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageItemThumbnail").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] impl ::windows_core::RuntimeType for StorageItemThumbnail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.StorageItemThumbnail;{cc254827-4b3d-438f-9232-10c76bc7e038})"); } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for StorageItemThumbnail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for StorageItemThumbnail { type Vtable = super::Streams::IRandomAccessStreamWithContentType_Vtbl; } @@ -1378,6 +1237,7 @@ impl ::windows_core::CanTryInto for Storage impl ::windows_core::CanTryInto for StorageItemThumbnail {} #[doc = "*Required features: `\"Storage_FileProperties\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VideoProperties(::windows_core::IUnknown); impl VideoProperties { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1560,25 +1420,9 @@ impl VideoProperties { } } } -impl ::core::cmp::PartialEq for VideoProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VideoProperties {} -impl ::core::fmt::Debug for VideoProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VideoProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VideoProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.FileProperties.VideoProperties;{719ae507-68de-4db8-97de-49998c059f2f})"); } -impl ::core::clone::Clone for VideoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VideoProperties { type Vtable = IVideoProperties_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs index 2db5c522fc..fdeaf9b3a5 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPickerUI { type Vtable = IFileOpenPickerUI_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdda45a10_f9d4_40c4_8af5_c5b6b5a61d1d); } @@ -48,18 +44,13 @@ pub struct IFileOpenPickerUI_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileRemovedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IFileRemovedEventArgs { type Vtable = IFileRemovedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IFileRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IFileRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13043da7_7fca_4c2b_9eca_6890f9f00185); } @@ -75,15 +66,11 @@ pub struct IFileRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePickerUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePickerUI { type Vtable = IFileSavePickerUI_Vtbl; } -impl ::core::clone::Clone for IFileSavePickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePickerUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9656c1e7_3e56_43cc_8a39_33c73d9d542b); } @@ -119,15 +106,11 @@ pub struct IFileSavePickerUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPickerClosingDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPickerClosingDeferral { type Vtable = IPickerClosingDeferral_Vtbl; } -impl ::core::clone::Clone for IPickerClosingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPickerClosingDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7af7f71e_1a67_4a31_ae80_e907708a619b); } @@ -139,15 +122,11 @@ pub struct IPickerClosingDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPickerClosingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPickerClosingEventArgs { type Vtable = IPickerClosingEventArgs_Vtbl; } -impl ::core::clone::Clone for IPickerClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPickerClosingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e59f224_b332_4f12_8b9f_a8c2f06b32cd); } @@ -160,15 +139,11 @@ pub struct IPickerClosingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPickerClosingOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPickerClosingOperation { type Vtable = IPickerClosingOperation_Vtbl; } -impl ::core::clone::Clone for IPickerClosingOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPickerClosingOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ce9fb84_beee_4e39_a773_fc5f0eae328d); } @@ -184,15 +159,11 @@ pub struct IPickerClosingOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFileRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetFileRequest { type Vtable = ITargetFileRequest_Vtbl; } -impl ::core::clone::Clone for ITargetFileRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFileRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42bd3355_7f88_478b_8e81_690b20340678); } @@ -206,15 +177,11 @@ pub struct ITargetFileRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFileRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetFileRequestDeferral { type Vtable = ITargetFileRequestDeferral_Vtbl; } -impl ::core::clone::Clone for ITargetFileRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFileRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4aee9d91_bf15_4da9_95f6_f6b7d558225b); } @@ -226,15 +193,11 @@ pub struct ITargetFileRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFileRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITargetFileRequestedEventArgs { type Vtable = ITargetFileRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITargetFileRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFileRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb163dbc1_1b51_4c89_a591_0fd40b3c57c9); } @@ -246,6 +209,7 @@ pub struct ITargetFileRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileOpenPickerUI(::windows_core::IUnknown); impl FileOpenPickerUI { pub fn AddFile(&self, id: &::windows_core::HSTRING, file: P0) -> ::windows_core::Result @@ -350,25 +314,9 @@ impl FileOpenPickerUI { unsafe { (::windows_core::Interface::vtable(this).RemoveClosing)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for FileOpenPickerUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileOpenPickerUI {} -impl ::core::fmt::Debug for FileOpenPickerUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileOpenPickerUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileOpenPickerUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileOpenPickerUI;{dda45a10-f9d4-40c4-8af5-c5b6b5a61d1d})"); } -impl ::core::clone::Clone for FileOpenPickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileOpenPickerUI { type Vtable = IFileOpenPickerUI_Vtbl; } @@ -382,6 +330,7 @@ impl ::windows_core::RuntimeName for FileOpenPickerUI { #[doc = "*Required features: `\"Storage_Pickers_Provider\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileRemovedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl FileRemovedEventArgs { @@ -396,30 +345,10 @@ impl FileRemovedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for FileRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for FileRemovedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for FileRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileRemovedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for FileRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileRemovedEventArgs;{13043da7-7fca-4c2b-9eca-6890f9f00185})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for FileRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for FileRemovedEventArgs { type Vtable = IFileRemovedEventArgs_Vtbl; } @@ -435,6 +364,7 @@ impl ::windows_core::RuntimeName for FileRemovedEventArgs { ::windows_core::imp::interface_hierarchy!(FileRemovedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileSavePickerUI(::windows_core::IUnknown); impl FileSavePickerUI { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -515,25 +445,9 @@ impl FileSavePickerUI { unsafe { (::windows_core::Interface::vtable(this).RemoveTargetFileRequested)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for FileSavePickerUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileSavePickerUI {} -impl ::core::fmt::Debug for FileSavePickerUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileSavePickerUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileSavePickerUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.FileSavePickerUI;{9656c1e7-3e56-43cc-8a39-33c73d9d542b})"); } -impl ::core::clone::Clone for FileSavePickerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileSavePickerUI { type Vtable = IFileSavePickerUI_Vtbl; } @@ -546,6 +460,7 @@ impl ::windows_core::RuntimeName for FileSavePickerUI { ::windows_core::imp::interface_hierarchy!(FileSavePickerUI, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PickerClosingDeferral(::windows_core::IUnknown); impl PickerClosingDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -553,25 +468,9 @@ impl PickerClosingDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for PickerClosingDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PickerClosingDeferral {} -impl ::core::fmt::Debug for PickerClosingDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PickerClosingDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PickerClosingDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingDeferral;{7af7f71e-1a67-4a31-ae80-e907708a619b})"); } -impl ::core::clone::Clone for PickerClosingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PickerClosingDeferral { type Vtable = IPickerClosingDeferral_Vtbl; } @@ -584,6 +483,7 @@ impl ::windows_core::RuntimeName for PickerClosingDeferral { ::windows_core::imp::interface_hierarchy!(PickerClosingDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PickerClosingEventArgs(::windows_core::IUnknown); impl PickerClosingEventArgs { pub fn ClosingOperation(&self) -> ::windows_core::Result { @@ -601,25 +501,9 @@ impl PickerClosingEventArgs { } } } -impl ::core::cmp::PartialEq for PickerClosingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PickerClosingEventArgs {} -impl ::core::fmt::Debug for PickerClosingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PickerClosingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PickerClosingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingEventArgs;{7e59f224-b332-4f12-8b9f-a8c2f06b32cd})"); } -impl ::core::clone::Clone for PickerClosingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PickerClosingEventArgs { type Vtable = IPickerClosingEventArgs_Vtbl; } @@ -632,6 +516,7 @@ impl ::windows_core::RuntimeName for PickerClosingEventArgs { ::windows_core::imp::interface_hierarchy!(PickerClosingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PickerClosingOperation(::windows_core::IUnknown); impl PickerClosingOperation { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -651,25 +536,9 @@ impl PickerClosingOperation { } } } -impl ::core::cmp::PartialEq for PickerClosingOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PickerClosingOperation {} -impl ::core::fmt::Debug for PickerClosingOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PickerClosingOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PickerClosingOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.PickerClosingOperation;{4ce9fb84-beee-4e39-a773-fc5f0eae328d})"); } -impl ::core::clone::Clone for PickerClosingOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PickerClosingOperation { type Vtable = IPickerClosingOperation_Vtbl; } @@ -682,6 +551,7 @@ impl ::windows_core::RuntimeName for PickerClosingOperation { ::windows_core::imp::interface_hierarchy!(PickerClosingOperation, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetFileRequest(::windows_core::IUnknown); impl TargetFileRequest { pub fn TargetFile(&self) -> ::windows_core::Result { @@ -706,25 +576,9 @@ impl TargetFileRequest { } } } -impl ::core::cmp::PartialEq for TargetFileRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetFileRequest {} -impl ::core::fmt::Debug for TargetFileRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetFileRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetFileRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequest;{42bd3355-7f88-478b-8e81-690b20340678})"); } -impl ::core::clone::Clone for TargetFileRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetFileRequest { type Vtable = ITargetFileRequest_Vtbl; } @@ -737,6 +591,7 @@ impl ::windows_core::RuntimeName for TargetFileRequest { ::windows_core::imp::interface_hierarchy!(TargetFileRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetFileRequestDeferral(::windows_core::IUnknown); impl TargetFileRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -744,25 +599,9 @@ impl TargetFileRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for TargetFileRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetFileRequestDeferral {} -impl ::core::fmt::Debug for TargetFileRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetFileRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetFileRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestDeferral;{4aee9d91-bf15-4da9-95f6-f6b7d558225b})"); } -impl ::core::clone::Clone for TargetFileRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetFileRequestDeferral { type Vtable = ITargetFileRequestDeferral_Vtbl; } @@ -775,6 +614,7 @@ impl ::windows_core::RuntimeName for TargetFileRequestDeferral { ::windows_core::imp::interface_hierarchy!(TargetFileRequestDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TargetFileRequestedEventArgs(::windows_core::IUnknown); impl TargetFileRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -785,25 +625,9 @@ impl TargetFileRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for TargetFileRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TargetFileRequestedEventArgs {} -impl ::core::fmt::Debug for TargetFileRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TargetFileRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TargetFileRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.Provider.TargetFileRequestedEventArgs;{b163dbc1-1b51-4c89-a591-0fd40b3c57c9})"); } -impl ::core::clone::Clone for TargetFileRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TargetFileRequestedEventArgs { type Vtable = ITargetFileRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index 4bfea7372c..3c654f37ae 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -2,15 +2,11 @@ pub mod Provider; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPicker { type Vtable = IFileOpenPicker_Vtbl; } -impl ::core::clone::Clone for IFileOpenPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ca8278a_12c5_4c5f_8977_94547793c241); } @@ -41,15 +37,11 @@ pub struct IFileOpenPicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPicker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPicker2 { type Vtable = IFileOpenPicker2_Vtbl; } -impl ::core::clone::Clone for IFileOpenPicker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPicker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ceb6cd2_b446_46f7_b265_90f8e55ad650); } @@ -72,15 +64,11 @@ pub struct IFileOpenPicker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPicker3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPicker3 { type Vtable = IFileOpenPicker3_Vtbl; } -impl ::core::clone::Clone for IFileOpenPicker3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPicker3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9a5c5b3_c5dc_5b98_bd80_a8d0ca0584d8); } @@ -95,15 +83,11 @@ pub struct IFileOpenPicker3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPickerStatics { type Vtable = IFileOpenPickerStatics_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6821573b_2f02_4833_96d4_abbfad72b67b); } @@ -118,15 +102,11 @@ pub struct IFileOpenPickerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPickerStatics2 { type Vtable = IFileOpenPickerStatics2_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8917415_eddd_5c98_b6f3_366fdfcad392); } @@ -141,15 +121,11 @@ pub struct IFileOpenPickerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenPickerWithOperationId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileOpenPickerWithOperationId { type Vtable = IFileOpenPickerWithOperationId_Vtbl; } -impl ::core::clone::Clone for IFileOpenPickerWithOperationId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenPickerWithOperationId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f57b569_2522_4ca5_aa73_a15509f1fcbf); } @@ -164,15 +140,11 @@ pub struct IFileOpenPickerWithOperationId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePicker { type Vtable = IFileSavePicker_Vtbl; } -impl ::core::clone::Clone for IFileSavePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3286ffcb_617f_4cc5_af6a_b3fdf29ad145); } @@ -203,15 +175,11 @@ pub struct IFileSavePicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePicker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePicker2 { type Vtable = IFileSavePicker2_Vtbl; } -impl ::core::clone::Clone for IFileSavePicker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePicker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ec313a2_d24b_449a_8197_e89104fd42cc); } @@ -230,15 +198,11 @@ pub struct IFileSavePicker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePicker3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePicker3 { type Vtable = IFileSavePicker3_Vtbl; } -impl ::core::clone::Clone for IFileSavePicker3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePicker3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x698aec69_ba3c_4e51_bd90_4abcbbf4cfaf); } @@ -251,15 +215,11 @@ pub struct IFileSavePicker3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePicker4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePicker4 { type Vtable = IFileSavePicker4_Vtbl; } -impl ::core::clone::Clone for IFileSavePicker4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePicker4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7d83a5a_ddfa_5de0_8b70_c842c21988ec); } @@ -274,15 +234,11 @@ pub struct IFileSavePicker4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSavePickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileSavePickerStatics { type Vtable = IFileSavePickerStatics_Vtbl; } -impl ::core::clone::Clone for IFileSavePickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSavePickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28e3cf9e_961c_5e2c_aed7_e64737f4ce37); } @@ -297,15 +253,11 @@ pub struct IFileSavePickerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderPicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFolderPicker { type Vtable = IFolderPicker_Vtbl; } -impl ::core::clone::Clone for IFolderPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x084f7799_f3fb_400a_99b1_7b4a772fd60d); } @@ -332,15 +284,11 @@ pub struct IFolderPicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderPicker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFolderPicker2 { type Vtable = IFolderPicker2_Vtbl; } -impl ::core::clone::Clone for IFolderPicker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderPicker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8eb3ba97_dc85_4616_be94_9660881f2f5d); } @@ -359,15 +307,11 @@ pub struct IFolderPicker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderPicker3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFolderPicker3 { type Vtable = IFolderPicker3_Vtbl; } -impl ::core::clone::Clone for IFolderPicker3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderPicker3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x673b1e29_d326_53c0_bd24_a25c714cee36); } @@ -382,15 +326,11 @@ pub struct IFolderPicker3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderPickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFolderPickerStatics { type Vtable = IFolderPickerStatics_Vtbl; } -impl ::core::clone::Clone for IFolderPickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderPickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9be34740_7ca1_5942_a3c8_46f2551ecff3); } @@ -406,6 +346,7 @@ pub struct IFolderPickerStatics_Vtbl { #[doc = "*Required features: `\"Storage_Pickers\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileExtensionVector(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl FileExtensionVector { @@ -507,30 +448,10 @@ impl FileExtensionVector { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for FileExtensionVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for FileExtensionVector {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for FileExtensionVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileExtensionVector").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for FileExtensionVector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileExtensionVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for FileExtensionVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for FileExtensionVector { type Vtable = super::super::Foundation::Collections::IVector_Vtbl<::windows_core::HSTRING>; } @@ -570,6 +491,7 @@ unsafe impl ::core::marker::Send for FileExtensionVector {} unsafe impl ::core::marker::Sync for FileExtensionVector {} #[doc = "*Required features: `\"Storage_Pickers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileOpenPicker(::windows_core::IUnknown); impl FileOpenPicker { pub fn new() -> ::windows_core::Result { @@ -719,25 +641,9 @@ impl FileOpenPicker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileOpenPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileOpenPicker {} -impl ::core::fmt::Debug for FileOpenPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileOpenPicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileOpenPicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileOpenPicker;{2ca8278a-12c5-4c5f-8977-94547793c241})"); } -impl ::core::clone::Clone for FileOpenPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileOpenPicker { type Vtable = IFileOpenPicker_Vtbl; } @@ -753,6 +659,7 @@ unsafe impl ::core::marker::Sync for FileOpenPicker {} #[doc = "*Required features: `\"Storage_Pickers\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FilePickerFileTypesOrderedMap(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl FilePickerFileTypesOrderedMap { @@ -827,30 +734,10 @@ impl FilePickerFileTypesOrderedMap { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for FilePickerFileTypesOrderedMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for FilePickerFileTypesOrderedMap {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for FilePickerFileTypesOrderedMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FilePickerFileTypesOrderedMap").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for FilePickerFileTypesOrderedMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerFileTypesOrderedMap;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};string)))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for FilePickerFileTypesOrderedMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for FilePickerFileTypesOrderedMap { type Vtable = super::super::Foundation::Collections::IMap_Vtbl<::windows_core::HSTRING, super::super::Foundation::Collections::IVector<::windows_core::HSTRING>>; } @@ -891,6 +778,7 @@ unsafe impl ::core::marker::Sync for FilePickerFileTypesOrderedMap {} #[doc = "*Required features: `\"Storage_Pickers\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FilePickerSelectedFilesArray(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl FilePickerSelectedFilesArray { @@ -944,30 +832,10 @@ impl FilePickerSelectedFilesArray { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for FilePickerSelectedFilesArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for FilePickerSelectedFilesArray {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for FilePickerSelectedFilesArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FilePickerSelectedFilesArray").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for FilePickerSelectedFilesArray { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FilePickerSelectedFilesArray;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for FilePickerSelectedFilesArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for FilePickerSelectedFilesArray { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -1007,6 +875,7 @@ unsafe impl ::core::marker::Send for FilePickerSelectedFilesArray {} unsafe impl ::core::marker::Sync for FilePickerSelectedFilesArray {} #[doc = "*Required features: `\"Storage_Pickers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileSavePicker(::windows_core::IUnknown); impl FileSavePicker { pub fn new() -> ::windows_core::Result { @@ -1155,25 +1024,9 @@ impl FileSavePicker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileSavePicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileSavePicker {} -impl ::core::fmt::Debug for FileSavePicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileSavePicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileSavePicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FileSavePicker;{3286ffcb-617f-4cc5-af6a-b3fdf29ad145})"); } -impl ::core::clone::Clone for FileSavePicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileSavePicker { type Vtable = IFileSavePicker_Vtbl; } @@ -1188,6 +1041,7 @@ unsafe impl ::core::marker::Send for FileSavePicker {} unsafe impl ::core::marker::Sync for FileSavePicker {} #[doc = "*Required features: `\"Storage_Pickers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderPicker(::windows_core::IUnknown); impl FolderPicker { pub fn new() -> ::windows_core::Result { @@ -1300,25 +1154,9 @@ impl FolderPicker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FolderPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FolderPicker {} -impl ::core::fmt::Debug for FolderPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderPicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FolderPicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Pickers.FolderPicker;{084f7799-f3fb-400a-99b1-7b4a772fd60d})"); } -impl ::core::clone::Clone for FolderPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FolderPicker { type Vtable = IFolderPicker_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs index 9e62af03ba..f7079113a0 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs @@ -27,8 +27,8 @@ impl IStorageProviderItemPropertySource_Vtbl { GetItemProperties: GetItemProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl IStorageProviderPropertyCapabilities_Vtbl { IsPropertySupported: IsPropertySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IStorageProviderStatusUISource_Vtbl { RemoveStatusUIChanged: RemoveStatusUIChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IStorageProviderStatusUISourceFactory_Vtbl { GetStatusUISource: GetStatusUISource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IStorageProviderUICommand_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl IStorageProviderUriSource_Vtbl { GetContentInfoForPath: GetContentInfoForPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index a264804e0a..7dab227d07 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileUpdaterStatics { type Vtable = ICachedFileUpdaterStatics_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fc90920_7bcf_4888_a81e_102d7034d7ce); } @@ -20,15 +16,11 @@ pub struct ICachedFileUpdaterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileUpdaterUI { type Vtable = ICachedFileUpdaterUI_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e6f41e6_baf2_4a97_b600_9333f5df80fd); } @@ -59,15 +51,11 @@ pub struct ICachedFileUpdaterUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileUpdaterUI2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileUpdaterUI2 { type Vtable = ICachedFileUpdaterUI2_Vtbl; } -impl ::core::clone::Clone for ICachedFileUpdaterUI2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileUpdaterUI2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8856a21c_8699_4340_9f49_f7cad7fe8991); } @@ -80,15 +68,11 @@ pub struct ICachedFileUpdaterUI2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUpdateRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUpdateRequest { type Vtable = IFileUpdateRequest_Vtbl; } -impl ::core::clone::Clone for IFileUpdateRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUpdateRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40c82536_c1fe_4d93_a792_1e736bc70837); } @@ -105,15 +89,11 @@ pub struct IFileUpdateRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUpdateRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUpdateRequest2 { type Vtable = IFileUpdateRequest2_Vtbl; } -impl ::core::clone::Clone for IFileUpdateRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUpdateRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82484648_bdbe_447b_a2ee_7afe6a032a94); } @@ -126,15 +106,11 @@ pub struct IFileUpdateRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUpdateRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUpdateRequestDeferral { type Vtable = IFileUpdateRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IFileUpdateRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUpdateRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffcedb2b_8ade_44a5_bb00_164c4e72f13a); } @@ -146,15 +122,11 @@ pub struct IFileUpdateRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileUpdateRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileUpdateRequestedEventArgs { type Vtable = IFileUpdateRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IFileUpdateRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileUpdateRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b0a9342_3905_438d_aaef_78ae265f8dd2); } @@ -166,15 +138,11 @@ pub struct IFileUpdateRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderFileTypeInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderFileTypeInfo { type Vtable = IStorageProviderFileTypeInfo_Vtbl; } -impl ::core::clone::Clone for IStorageProviderFileTypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderFileTypeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1955b9c1_0184_5a88_87df_4544f464365d); } @@ -187,15 +155,11 @@ pub struct IStorageProviderFileTypeInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderFileTypeInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderFileTypeInfoFactory { type Vtable = IStorageProviderFileTypeInfoFactory_Vtbl; } -impl ::core::clone::Clone for IStorageProviderFileTypeInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderFileTypeInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fa12c6f_cce6_5d5d_80b1_389e7cf92dbf); } @@ -207,15 +171,11 @@ pub struct IStorageProviderFileTypeInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderGetContentInfoForPathResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderGetContentInfoForPathResult { type Vtable = IStorageProviderGetContentInfoForPathResult_Vtbl; } -impl ::core::clone::Clone for IStorageProviderGetContentInfoForPathResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderGetContentInfoForPathResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2564711d_aa89_4d12_82e3_f72a92e33966); } @@ -232,15 +192,11 @@ pub struct IStorageProviderGetContentInfoForPathResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderGetPathForContentUriResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderGetPathForContentUriResult { type Vtable = IStorageProviderGetPathForContentUriResult_Vtbl; } -impl ::core::clone::Clone for IStorageProviderGetPathForContentUriResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderGetPathForContentUriResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63711a9d_4118_45a6_acb6_22c49d019f40); } @@ -255,15 +211,11 @@ pub struct IStorageProviderGetPathForContentUriResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderItemPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderItemPropertiesStatics { type Vtable = IStorageProviderItemPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IStorageProviderItemPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderItemPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d2c1c97_2704_4729_8fa9_7e6b8e158c2f); } @@ -278,15 +230,11 @@ pub struct IStorageProviderItemPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderItemProperty(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderItemProperty { type Vtable = IStorageProviderItemProperty_Vtbl; } -impl ::core::clone::Clone for IStorageProviderItemProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderItemProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x476cb558_730b_4188_b7b5_63b716ed476d); } @@ -303,15 +251,11 @@ pub struct IStorageProviderItemProperty_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderItemPropertyDefinition(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderItemPropertyDefinition { type Vtable = IStorageProviderItemPropertyDefinition_Vtbl; } -impl ::core::clone::Clone for IStorageProviderItemPropertyDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderItemPropertyDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5b383bb_ff1f_4298_831e_ff1c08089690); } @@ -326,6 +270,7 @@ pub struct IStorageProviderItemPropertyDefinition_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderItemPropertySource(::windows_core::IUnknown); impl IStorageProviderItemPropertySource { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -339,28 +284,12 @@ impl IStorageProviderItemPropertySource { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderItemPropertySource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderItemPropertySource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderItemPropertySource {} -impl ::core::fmt::Debug for IStorageProviderItemPropertySource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderItemPropertySource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderItemPropertySource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8f6f9c3e-f632-4a9b-8d99-d2d7a11df56a}"); } unsafe impl ::windows_core::Interface for IStorageProviderItemPropertySource { type Vtable = IStorageProviderItemPropertySource_Vtbl; } -impl ::core::clone::Clone for IStorageProviderItemPropertySource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderItemPropertySource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f6f9c3e_f632_4a9b_8d99_d2d7a11df56a); } @@ -375,15 +304,11 @@ pub struct IStorageProviderItemPropertySource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderMoreInfoUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderMoreInfoUI { type Vtable = IStorageProviderMoreInfoUI_Vtbl; } -impl ::core::clone::Clone for IStorageProviderMoreInfoUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderMoreInfoUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef38e591_a7cb_5e7d_9b5e_22749842697c); } @@ -398,6 +323,7 @@ pub struct IStorageProviderMoreInfoUI_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderPropertyCapabilities(::windows_core::IUnknown); impl IStorageProviderPropertyCapabilities { pub fn IsPropertySupported(&self, propertycanonicalname: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -409,28 +335,12 @@ impl IStorageProviderPropertyCapabilities { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderPropertyCapabilities, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderPropertyCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderPropertyCapabilities {} -impl ::core::fmt::Debug for IStorageProviderPropertyCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderPropertyCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderPropertyCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{658d2f0e-63b7-4567-acf9-51abe301dda5}"); } unsafe impl ::windows_core::Interface for IStorageProviderPropertyCapabilities { type Vtable = IStorageProviderPropertyCapabilities_Vtbl; } -impl ::core::clone::Clone for IStorageProviderPropertyCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderPropertyCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x658d2f0e_63b7_4567_acf9_51abe301dda5); } @@ -442,15 +352,11 @@ pub struct IStorageProviderPropertyCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderQuotaUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderQuotaUI { type Vtable = IStorageProviderQuotaUI_Vtbl; } -impl ::core::clone::Clone for IStorageProviderQuotaUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderQuotaUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba6295c3_312e_544f_9fd5_1f81b21f3649); } @@ -475,15 +381,11 @@ pub struct IStorageProviderQuotaUI_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderStatusUI(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderStatusUI { type Vtable = IStorageProviderStatusUI_Vtbl; } -impl ::core::clone::Clone for IStorageProviderStatusUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderStatusUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6b6a758_198d_5b80_977f_5ff73da33118); } @@ -522,6 +424,7 @@ pub struct IStorageProviderStatusUI_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderStatusUISource(::windows_core::IUnknown); impl IStorageProviderStatusUISource { pub fn GetStatusUI(&self) -> ::windows_core::Result { @@ -551,28 +454,12 @@ impl IStorageProviderStatusUISource { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderStatusUISource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderStatusUISource {} -impl ::core::fmt::Debug for IStorageProviderStatusUISource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderStatusUISource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderStatusUISource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a306c249-3d66-5e70-9007-e43df96051ff}"); } unsafe impl ::windows_core::Interface for IStorageProviderStatusUISource { type Vtable = IStorageProviderStatusUISource_Vtbl; } -impl ::core::clone::Clone for IStorageProviderStatusUISource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderStatusUISource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa306c249_3d66_5e70_9007_e43df96051ff); } @@ -592,6 +479,7 @@ pub struct IStorageProviderStatusUISource_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderStatusUISourceFactory(::windows_core::IUnknown); impl IStorageProviderStatusUISourceFactory { pub fn GetStatusUISource(&self, syncrootid: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -603,28 +491,12 @@ impl IStorageProviderStatusUISourceFactory { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISourceFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderStatusUISourceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderStatusUISourceFactory {} -impl ::core::fmt::Debug for IStorageProviderStatusUISourceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderStatusUISourceFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderStatusUISourceFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{12e46b74-4e5a-58d1-a62f-0376e8ee7dd8}"); } unsafe impl ::windows_core::Interface for IStorageProviderStatusUISourceFactory { type Vtable = IStorageProviderStatusUISourceFactory_Vtbl; } -impl ::core::clone::Clone for IStorageProviderStatusUISourceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderStatusUISourceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12e46b74_4e5a_58d1_a62f_0376e8ee7dd8); } @@ -636,15 +508,11 @@ pub struct IStorageProviderStatusUISourceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderSyncRootInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderSyncRootInfo { type Vtable = IStorageProviderSyncRootInfo_Vtbl; } -impl ::core::clone::Clone for IStorageProviderSyncRootInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderSyncRootInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c1305c4_99f9_41ac_8904_ab055d654926); } @@ -701,15 +569,11 @@ pub struct IStorageProviderSyncRootInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderSyncRootInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderSyncRootInfo2 { type Vtable = IStorageProviderSyncRootInfo2_Vtbl; } -impl ::core::clone::Clone for IStorageProviderSyncRootInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderSyncRootInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf51b023_7cf1_5166_bdba_efd95f529e31); } @@ -722,15 +586,11 @@ pub struct IStorageProviderSyncRootInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderSyncRootInfo3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderSyncRootInfo3 { type Vtable = IStorageProviderSyncRootInfo3_Vtbl; } -impl ::core::clone::Clone for IStorageProviderSyncRootInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderSyncRootInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x507a6617_bef6_56fd_855e_75ace2e45cf5); } @@ -745,15 +605,11 @@ pub struct IStorageProviderSyncRootInfo3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderSyncRootManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderSyncRootManagerStatics { type Vtable = IStorageProviderSyncRootManagerStatics_Vtbl; } -impl ::core::clone::Clone for IStorageProviderSyncRootManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderSyncRootManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e99fbbf_8fe3_4b40_abc7_f6fc3d74c98e); } @@ -772,15 +628,11 @@ pub struct IStorageProviderSyncRootManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderSyncRootManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProviderSyncRootManagerStatics2 { type Vtable = IStorageProviderSyncRootManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IStorageProviderSyncRootManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderSyncRootManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefb6cfee_1374_544e_9df1_5598d2e9cfdd); } @@ -792,6 +644,7 @@ pub struct IStorageProviderSyncRootManagerStatics2_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderUICommand(::windows_core::IUnknown); impl IStorageProviderUICommand { pub fn Label(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -830,28 +683,12 @@ impl IStorageProviderUICommand { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderUICommand, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderUICommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderUICommand {} -impl ::core::fmt::Debug for IStorageProviderUICommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderUICommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderUICommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0c3e0760-d846-568f-9484-105cc57b502b}"); } unsafe impl ::windows_core::Interface for IStorageProviderUICommand { type Vtable = IStorageProviderUICommand_Vtbl; } -impl ::core::clone::Clone for IStorageProviderUICommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderUICommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c3e0760_d846_568f_9484_105cc57b502b); } @@ -870,6 +707,7 @@ pub struct IStorageProviderUICommand_Vtbl { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderUriSource(::windows_core::IUnknown); impl IStorageProviderUriSource { pub fn GetPathForContentUri(&self, contenturi: &::windows_core::HSTRING, result: P0) -> ::windows_core::Result<()> @@ -888,28 +726,12 @@ impl IStorageProviderUriSource { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderUriSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageProviderUriSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderUriSource {} -impl ::core::fmt::Debug for IStorageProviderUriSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderUriSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageProviderUriSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b29806d1-8be0-4962-8bb6-0d4c2e14d47a}"); } unsafe impl ::windows_core::Interface for IStorageProviderUriSource { type Vtable = IStorageProviderUriSource_Vtbl; } -impl ::core::clone::Clone for IStorageProviderUriSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderUriSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb29806d1_8be0_4962_8bb6_0d4c2e14d47a); } @@ -940,6 +762,7 @@ impl ::windows_core::RuntimeName for CachedFileUpdater { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CachedFileUpdaterUI(::windows_core::IUnknown); impl CachedFileUpdaterUI { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1018,25 +841,9 @@ impl CachedFileUpdaterUI { } } } -impl ::core::cmp::PartialEq for CachedFileUpdaterUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CachedFileUpdaterUI {} -impl ::core::fmt::Debug for CachedFileUpdaterUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CachedFileUpdaterUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CachedFileUpdaterUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.CachedFileUpdaterUI;{9e6f41e6-baf2-4a97-b600-9333f5df80fd})"); } -impl ::core::clone::Clone for CachedFileUpdaterUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CachedFileUpdaterUI { type Vtable = ICachedFileUpdaterUI_Vtbl; } @@ -1049,6 +856,7 @@ impl ::windows_core::RuntimeName for CachedFileUpdaterUI { ::windows_core::imp::interface_hierarchy!(CachedFileUpdaterUI, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileUpdateRequest(::windows_core::IUnknown); impl FileUpdateRequest { pub fn ContentId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1102,25 +910,9 @@ impl FileUpdateRequest { unsafe { (::windows_core::Interface::vtable(this).SetUserInputNeededMessage)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for FileUpdateRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileUpdateRequest {} -impl ::core::fmt::Debug for FileUpdateRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileUpdateRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileUpdateRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequest;{40c82536-c1fe-4d93-a792-1e736bc70837})"); } -impl ::core::clone::Clone for FileUpdateRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileUpdateRequest { type Vtable = IFileUpdateRequest_Vtbl; } @@ -1133,6 +925,7 @@ impl ::windows_core::RuntimeName for FileUpdateRequest { ::windows_core::imp::interface_hierarchy!(FileUpdateRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileUpdateRequestDeferral(::windows_core::IUnknown); impl FileUpdateRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1140,25 +933,9 @@ impl FileUpdateRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for FileUpdateRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileUpdateRequestDeferral {} -impl ::core::fmt::Debug for FileUpdateRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileUpdateRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileUpdateRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestDeferral;{ffcedb2b-8ade-44a5-bb00-164c4e72f13a})"); } -impl ::core::clone::Clone for FileUpdateRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileUpdateRequestDeferral { type Vtable = IFileUpdateRequestDeferral_Vtbl; } @@ -1171,6 +948,7 @@ impl ::windows_core::RuntimeName for FileUpdateRequestDeferral { ::windows_core::imp::interface_hierarchy!(FileUpdateRequestDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileUpdateRequestedEventArgs(::windows_core::IUnknown); impl FileUpdateRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1181,25 +959,9 @@ impl FileUpdateRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for FileUpdateRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileUpdateRequestedEventArgs {} -impl ::core::fmt::Debug for FileUpdateRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileUpdateRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileUpdateRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.FileUpdateRequestedEventArgs;{7b0a9342-3905-438d-aaef-78ae265f8dd2})"); } -impl ::core::clone::Clone for FileUpdateRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileUpdateRequestedEventArgs { type Vtable = IFileUpdateRequestedEventArgs_Vtbl; } @@ -1212,6 +974,7 @@ impl ::windows_core::RuntimeName for FileUpdateRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(FileUpdateRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderFileTypeInfo(::windows_core::IUnknown); impl StorageProviderFileTypeInfo { pub fn FileExtension(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1240,25 +1003,9 @@ impl StorageProviderFileTypeInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageProviderFileTypeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderFileTypeInfo {} -impl ::core::fmt::Debug for StorageProviderFileTypeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderFileTypeInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderFileTypeInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderFileTypeInfo;{1955b9c1-0184-5a88-87df-4544f464365d})"); } -impl ::core::clone::Clone for StorageProviderFileTypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderFileTypeInfo { type Vtable = IStorageProviderFileTypeInfo_Vtbl; } @@ -1273,6 +1020,7 @@ unsafe impl ::core::marker::Send for StorageProviderFileTypeInfo {} unsafe impl ::core::marker::Sync for StorageProviderFileTypeInfo {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderGetContentInfoForPathResult(::windows_core::IUnknown); impl StorageProviderGetContentInfoForPathResult { pub fn new() -> ::windows_core::Result { @@ -1316,25 +1064,9 @@ impl StorageProviderGetContentInfoForPathResult { unsafe { (::windows_core::Interface::vtable(this).SetContentId)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderGetContentInfoForPathResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderGetContentInfoForPathResult {} -impl ::core::fmt::Debug for StorageProviderGetContentInfoForPathResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderGetContentInfoForPathResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderGetContentInfoForPathResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetContentInfoForPathResult;{2564711d-aa89-4d12-82e3-f72a92e33966})"); } -impl ::core::clone::Clone for StorageProviderGetContentInfoForPathResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderGetContentInfoForPathResult { type Vtable = IStorageProviderGetContentInfoForPathResult_Vtbl; } @@ -1349,6 +1081,7 @@ unsafe impl ::core::marker::Send for StorageProviderGetContentInfoForPathResult unsafe impl ::core::marker::Sync for StorageProviderGetContentInfoForPathResult {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderGetPathForContentUriResult(::windows_core::IUnknown); impl StorageProviderGetPathForContentUriResult { pub fn new() -> ::windows_core::Result { @@ -1381,25 +1114,9 @@ impl StorageProviderGetPathForContentUriResult { unsafe { (::windows_core::Interface::vtable(this).SetPath)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderGetPathForContentUriResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderGetPathForContentUriResult {} -impl ::core::fmt::Debug for StorageProviderGetPathForContentUriResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderGetPathForContentUriResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderGetPathForContentUriResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderGetPathForContentUriResult;{63711a9d-4118-45a6-acb6-22c49d019f40})"); } -impl ::core::clone::Clone for StorageProviderGetPathForContentUriResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderGetPathForContentUriResult { type Vtable = IStorageProviderGetPathForContentUriResult_Vtbl; } @@ -1438,6 +1155,7 @@ impl ::windows_core::RuntimeName for StorageProviderItemProperties { } #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderItemProperty(::windows_core::IUnknown); impl StorageProviderItemProperty { pub fn new() -> ::windows_core::Result { @@ -1481,25 +1199,9 @@ impl StorageProviderItemProperty { } } } -impl ::core::cmp::PartialEq for StorageProviderItemProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderItemProperty {} -impl ::core::fmt::Debug for StorageProviderItemProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderItemProperty").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderItemProperty { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemProperty;{476cb558-730b-4188-b7b5-63b716ed476d})"); } -impl ::core::clone::Clone for StorageProviderItemProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderItemProperty { type Vtable = IStorageProviderItemProperty_Vtbl; } @@ -1514,6 +1216,7 @@ unsafe impl ::core::marker::Send for StorageProviderItemProperty {} unsafe impl ::core::marker::Sync for StorageProviderItemProperty {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderItemPropertyDefinition(::windows_core::IUnknown); impl StorageProviderItemPropertyDefinition { pub fn new() -> ::windows_core::Result { @@ -1546,25 +1249,9 @@ impl StorageProviderItemPropertyDefinition { unsafe { (::windows_core::Interface::vtable(this).SetDisplayNameResource)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderItemPropertyDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderItemPropertyDefinition {} -impl ::core::fmt::Debug for StorageProviderItemPropertyDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderItemPropertyDefinition").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderItemPropertyDefinition { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderItemPropertyDefinition;{c5b383bb-ff1f-4298-831e-ff1c08089690})"); } -impl ::core::clone::Clone for StorageProviderItemPropertyDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderItemPropertyDefinition { type Vtable = IStorageProviderItemPropertyDefinition_Vtbl; } @@ -1579,6 +1266,7 @@ unsafe impl ::core::marker::Send for StorageProviderItemPropertyDefinition {} unsafe impl ::core::marker::Sync for StorageProviderItemPropertyDefinition {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderMoreInfoUI(::windows_core::IUnknown); impl StorageProviderMoreInfoUI { pub fn new() -> ::windows_core::Result { @@ -1614,25 +1302,9 @@ impl StorageProviderMoreInfoUI { unsafe { (::windows_core::Interface::vtable(this).SetCommand)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderMoreInfoUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderMoreInfoUI {} -impl ::core::fmt::Debug for StorageProviderMoreInfoUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderMoreInfoUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderMoreInfoUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderMoreInfoUI;{ef38e591-a7cb-5e7d-9b5e-22749842697c})"); } -impl ::core::clone::Clone for StorageProviderMoreInfoUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderMoreInfoUI { type Vtable = IStorageProviderMoreInfoUI_Vtbl; } @@ -1647,6 +1319,7 @@ unsafe impl ::core::marker::Send for StorageProviderMoreInfoUI {} unsafe impl ::core::marker::Sync for StorageProviderMoreInfoUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderQuotaUI(::windows_core::IUnknown); impl StorageProviderQuotaUI { pub fn new() -> ::windows_core::Result { @@ -1708,25 +1381,9 @@ impl StorageProviderQuotaUI { unsafe { (::windows_core::Interface::vtable(this).SetQuotaUsedColor)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderQuotaUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderQuotaUI {} -impl ::core::fmt::Debug for StorageProviderQuotaUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderQuotaUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderQuotaUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderQuotaUI;{ba6295c3-312e-544f-9fd5-1f81b21f3649})"); } -impl ::core::clone::Clone for StorageProviderQuotaUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderQuotaUI { type Vtable = IStorageProviderQuotaUI_Vtbl; } @@ -1741,6 +1398,7 @@ unsafe impl ::core::marker::Send for StorageProviderQuotaUI {} unsafe impl ::core::marker::Sync for StorageProviderQuotaUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderStatusUI(::windows_core::IUnknown); impl StorageProviderStatusUI { pub fn new() -> ::windows_core::Result { @@ -1865,25 +1523,9 @@ impl StorageProviderStatusUI { unsafe { (::windows_core::Interface::vtable(this).SetProviderSecondaryCommands)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageProviderStatusUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderStatusUI {} -impl ::core::fmt::Debug for StorageProviderStatusUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderStatusUI").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderStatusUI { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderStatusUI;{d6b6a758-198d-5b80-977f-5ff73da33118})"); } -impl ::core::clone::Clone for StorageProviderStatusUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderStatusUI { type Vtable = IStorageProviderStatusUI_Vtbl; } @@ -1898,6 +1540,7 @@ unsafe impl ::core::marker::Send for StorageProviderStatusUI {} unsafe impl ::core::marker::Sync for StorageProviderStatusUI {} #[doc = "*Required features: `\"Storage_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProviderSyncRootInfo(::windows_core::IUnknown); impl StorageProviderSyncRootInfo { pub fn new() -> ::windows_core::Result { @@ -2119,25 +1762,9 @@ impl StorageProviderSyncRootInfo { } } } -impl ::core::cmp::PartialEq for StorageProviderSyncRootInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProviderSyncRootInfo {} -impl ::core::fmt::Debug for StorageProviderSyncRootInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProviderSyncRootInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProviderSyncRootInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Provider.StorageProviderSyncRootInfo;{7c1305c4-99f9-41ac-8904-ab055d654926})"); } -impl ::core::clone::Clone for StorageProviderSyncRootInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProviderSyncRootInfo { type Vtable = IStorageProviderSyncRootInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 4dfb242901..825b914fc8 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -90,8 +90,8 @@ impl IIndexableContent_Vtbl { SetStreamContentType: SetStreamContentType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IStorageFolderQueryOperations_Vtbl { IsCommonFileQuerySupported: IsCommonFileQuerySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -466,7 +466,7 @@ impl IStorageQueryResultBase_Vtbl { ApplyNewQueryOptions: ApplyNewQueryOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index a185f6e731..ea4aebc935 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentIndexer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentIndexer { type Vtable = IContentIndexer_Vtbl; } -impl ::core::clone::Clone for IContentIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentIndexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1767f8d_f698_4982_b05f_3a6e8cab01a2); } @@ -44,15 +40,11 @@ pub struct IContentIndexer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentIndexerQuery(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentIndexerQuery { type Vtable = IContentIndexerQuery_Vtbl; } -impl ::core::clone::Clone for IContentIndexerQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentIndexerQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70e3b0f8_4bfc_428a_8889_cc51da9a7b9d); } @@ -84,15 +76,11 @@ pub struct IContentIndexerQuery_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentIndexerQueryOperations(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentIndexerQueryOperations { type Vtable = IContentIndexerQueryOperations_Vtbl; } -impl ::core::clone::Clone for IContentIndexerQueryOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentIndexerQueryOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28823e10_4786_42f1_9730_792b3566b150); } @@ -115,15 +103,11 @@ pub struct IContentIndexerQueryOperations_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentIndexerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentIndexerStatics { type Vtable = IContentIndexerStatics_Vtbl; } -impl ::core::clone::Clone for IContentIndexerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentIndexerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c488375_b37e_4c60_9ba8_b760fda3e59d); } @@ -136,6 +120,7 @@ pub struct IContentIndexerStatics_Vtbl { } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndexableContent(::windows_core::IUnknown); impl IIndexableContent { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -189,28 +174,12 @@ impl IIndexableContent { } } ::windows_core::imp::interface_hierarchy!(IIndexableContent, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IIndexableContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIndexableContent {} -impl ::core::fmt::Debug for IIndexableContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIndexableContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIndexableContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4}"); } unsafe impl ::windows_core::Interface for IIndexableContent { type Vtable = IIndexableContent_Vtbl; } -impl ::core::clone::Clone for IIndexableContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndexableContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccf1a05f_d4b5_483a_b06e_e0db1ec420e4); } @@ -237,15 +206,11 @@ pub struct IIndexableContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQueryOptions { type Vtable = IQueryOptions_Vtbl; } -impl ::core::clone::Clone for IQueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e5e46ee_0f45_4838_a8e9_d0479d446c30); } @@ -286,15 +251,11 @@ pub struct IQueryOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryOptionsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQueryOptionsFactory { type Vtable = IQueryOptionsFactory_Vtbl; } -impl ::core::clone::Clone for IQueryOptionsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryOptionsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x032e1f8c_a9c1_4e71_8011_0dee9d4811a3); } @@ -310,15 +271,11 @@ pub struct IQueryOptionsFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryOptionsWithProviderFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQueryOptionsWithProviderFilter { type Vtable = IQueryOptionsWithProviderFilter_Vtbl; } -impl ::core::clone::Clone for IQueryOptionsWithProviderFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryOptionsWithProviderFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b9d1026_15c4_44dd_b89a_47a59b7d7c4f); } @@ -333,15 +290,11 @@ pub struct IQueryOptionsWithProviderFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFileQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFileQueryResult { type Vtable = IStorageFileQueryResult_Vtbl; } -impl ::core::clone::Clone for IStorageFileQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFileQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52fda447_2baa_412c_b29f_d4b1778efa1e); } @@ -360,15 +313,11 @@ pub struct IStorageFileQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFileQueryResult2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFileQueryResult2 { type Vtable = IStorageFileQueryResult2_Vtbl; } -impl ::core::clone::Clone for IStorageFileQueryResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFileQueryResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e5db9dd_7141_46c4_8be3_e9dc9e27275c); } @@ -383,6 +332,7 @@ pub struct IStorageFileQueryResult2_Vtbl { } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolderQueryOperations(::windows_core::IUnknown); impl IStorageFolderQueryOperations { #[doc = "*Required features: `\"Foundation\"`*"] @@ -530,28 +480,12 @@ impl IStorageFolderQueryOperations { } } ::windows_core::imp::interface_hierarchy!(IStorageFolderQueryOperations, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageFolderQueryOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFolderQueryOperations {} -impl ::core::fmt::Debug for IStorageFolderQueryOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFolderQueryOperations").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFolderQueryOperations { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cb43ccc9-446b-4a4f-be97-757771be5203}"); } unsafe impl ::windows_core::Interface for IStorageFolderQueryOperations { type Vtable = IStorageFolderQueryOperations_Vtbl; } -impl ::core::clone::Clone for IStorageFolderQueryOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolderQueryOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb43ccc9_446b_4a4f_be97_757771be5203); } @@ -597,15 +531,11 @@ pub struct IStorageFolderQueryOperations_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolderQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFolderQueryResult { type Vtable = IStorageFolderQueryResult_Vtbl; } -impl ::core::clone::Clone for IStorageFolderQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolderQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6654c911_7d66_46fa_aecf_e4a4baa93ab8); } @@ -624,15 +554,11 @@ pub struct IStorageFolderQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemQueryResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageItemQueryResult { type Vtable = IStorageItemQueryResult_Vtbl; } -impl ::core::clone::Clone for IStorageItemQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemQueryResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8948079_9d58_47b8_b2b2_41b07f4795f9); } @@ -651,15 +577,11 @@ pub struct IStorageItemQueryResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeTrackerTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeTrackerTriggerDetails { type Vtable = IStorageLibraryChangeTrackerTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeTrackerTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeTrackerTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dc7a369_b7a3_4df2_9d61_eba85a0343d2); } @@ -672,15 +594,11 @@ pub struct IStorageLibraryChangeTrackerTriggerDetails_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryContentChangedTriggerDetails(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryContentChangedTriggerDetails { type Vtable = IStorageLibraryContentChangedTriggerDetails_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryContentChangedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryContentChangedTriggerDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a371977_abbf_4e1d_8aa5_6385d8884799); } @@ -696,6 +614,7 @@ pub struct IStorageLibraryContentChangedTriggerDetails_Vtbl { } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageQueryResultBase(::windows_core::IUnknown); impl IStorageQueryResultBase { #[doc = "*Required features: `\"Foundation\"`*"] @@ -778,28 +697,12 @@ impl IStorageQueryResultBase { } } ::windows_core::imp::interface_hierarchy!(IStorageQueryResultBase, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageQueryResultBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageQueryResultBase {} -impl ::core::fmt::Debug for IStorageQueryResultBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageQueryResultBase").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageQueryResultBase { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c297d70d-7353-47ab-ba58-8c61425dc54b}"); } unsafe impl ::windows_core::Interface for IStorageQueryResultBase { type Vtable = IStorageQueryResultBase_Vtbl; } -impl ::core::clone::Clone for IStorageQueryResultBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageQueryResultBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc297d70d_7353_47ab_ba58_8c61425dc54b); } @@ -837,15 +740,11 @@ pub struct IStorageQueryResultBase_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValueAndLanguage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IValueAndLanguage { type Vtable = IValueAndLanguage_Vtbl; } -impl ::core::clone::Clone for IValueAndLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IValueAndLanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9914881_a1ee_4bc4_92a5_466968e30436); } @@ -860,6 +759,7 @@ pub struct IValueAndLanguage_Vtbl { } #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContentIndexer(::windows_core::IUnknown); impl ContentIndexer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -991,25 +891,9 @@ impl ContentIndexer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ContentIndexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContentIndexer {} -impl ::core::fmt::Debug for ContentIndexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContentIndexer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContentIndexer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexer;{b1767f8d-f698-4982-b05f-3a6e8cab01a2})"); } -impl ::core::clone::Clone for ContentIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContentIndexer { type Vtable = IContentIndexer_Vtbl; } @@ -1024,6 +908,7 @@ unsafe impl ::core::marker::Send for ContentIndexer {} unsafe impl ::core::marker::Sync for ContentIndexer {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContentIndexerQuery(::windows_core::IUnknown); impl ContentIndexerQuery { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1079,25 +964,9 @@ impl ContentIndexerQuery { } } } -impl ::core::cmp::PartialEq for ContentIndexerQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContentIndexerQuery {} -impl ::core::fmt::Debug for ContentIndexerQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContentIndexerQuery").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContentIndexerQuery { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ContentIndexerQuery;{70e3b0f8-4bfc-428a-8889-cc51da9a7b9d})"); } -impl ::core::clone::Clone for ContentIndexerQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContentIndexerQuery { type Vtable = IContentIndexerQuery_Vtbl; } @@ -1112,6 +981,7 @@ unsafe impl ::core::marker::Send for ContentIndexerQuery {} unsafe impl ::core::marker::Sync for ContentIndexerQuery {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IndexableContent(::windows_core::IUnknown); impl IndexableContent { pub fn new() -> ::windows_core::Result { @@ -1171,25 +1041,9 @@ impl IndexableContent { unsafe { (::windows_core::Interface::vtable(this).SetStreamContentType)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for IndexableContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IndexableContent {} -impl ::core::fmt::Debug for IndexableContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IndexableContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IndexableContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.IndexableContent;{ccf1a05f-d4b5-483a-b06e-e0db1ec420e4})"); } -impl ::core::clone::Clone for IndexableContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IndexableContent { type Vtable = IIndexableContent_Vtbl; } @@ -1205,6 +1059,7 @@ unsafe impl ::core::marker::Send for IndexableContent {} unsafe impl ::core::marker::Sync for IndexableContent {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct QueryOptions(::windows_core::IUnknown); impl QueryOptions { pub fn new() -> ::windows_core::Result { @@ -1359,25 +1214,9 @@ impl QueryOptions { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for QueryOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for QueryOptions {} -impl ::core::fmt::Debug for QueryOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("QueryOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for QueryOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.QueryOptions;{1e5e46ee-0f45-4838-a8e9-d0479d446c30})"); } -impl ::core::clone::Clone for QueryOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for QueryOptions { type Vtable = IQueryOptions_Vtbl; } @@ -1393,6 +1232,7 @@ unsafe impl ::core::marker::Sync for QueryOptions {} #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SortEntryVector(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl SortEntryVector { @@ -1506,30 +1346,10 @@ impl SortEntryVector { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for SortEntryVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for SortEntryVector {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for SortEntryVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SortEntryVector").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for SortEntryVector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.SortEntryVector;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};struct(Windows.Storage.Search.SortEntry;string;b1)))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for SortEntryVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for SortEntryVector { type Vtable = super::super::Foundation::Collections::IVector_Vtbl; } @@ -1565,6 +1385,7 @@ impl ::windows_core::CanTryInto> for SortEntryVector {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageFileQueryResult(::windows_core::IUnknown); impl StorageFileQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1676,25 +1497,9 @@ impl StorageFileQueryResult { unsafe { (::windows_core::Interface::vtable(this).ApplyNewQueryOptions)(::windows_core::Interface::as_raw(this), newqueryoptions.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageFileQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageFileQueryResult {} -impl ::core::fmt::Debug for StorageFileQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageFileQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageFileQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFileQueryResult;{52fda447-2baa-412c-b29f-d4b1778efa1e})"); } -impl ::core::clone::Clone for StorageFileQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageFileQueryResult { type Vtable = IStorageFileQueryResult_Vtbl; } @@ -1708,6 +1513,7 @@ impl ::windows_core::RuntimeName for StorageFileQueryResult { impl ::windows_core::CanTryInto for StorageFileQueryResult {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageFolderQueryResult(::windows_core::IUnknown); impl StorageFolderQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1807,25 +1613,9 @@ impl StorageFolderQueryResult { unsafe { (::windows_core::Interface::vtable(this).ApplyNewQueryOptions)(::windows_core::Interface::as_raw(this), newqueryoptions.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageFolderQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageFolderQueryResult {} -impl ::core::fmt::Debug for StorageFolderQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageFolderQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageFolderQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageFolderQueryResult;{6654c911-7d66-46fa-aecf-e4a4baa93ab8})"); } -impl ::core::clone::Clone for StorageFolderQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageFolderQueryResult { type Vtable = IStorageFolderQueryResult_Vtbl; } @@ -1839,6 +1629,7 @@ impl ::windows_core::RuntimeName for StorageFolderQueryResult { impl ::windows_core::CanTryInto for StorageFolderQueryResult {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageItemQueryResult(::windows_core::IUnknown); impl StorageItemQueryResult { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1938,25 +1729,9 @@ impl StorageItemQueryResult { unsafe { (::windows_core::Interface::vtable(this).ApplyNewQueryOptions)(::windows_core::Interface::as_raw(this), newqueryoptions.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for StorageItemQueryResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageItemQueryResult {} -impl ::core::fmt::Debug for StorageItemQueryResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageItemQueryResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageItemQueryResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageItemQueryResult;{e8948079-9d58-47b8-b2b2-41b07f4795f9})"); } -impl ::core::clone::Clone for StorageItemQueryResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageItemQueryResult { type Vtable = IStorageItemQueryResult_Vtbl; } @@ -1970,6 +1745,7 @@ impl ::windows_core::RuntimeName for StorageItemQueryResult { impl ::windows_core::CanTryInto for StorageItemQueryResult {} #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChangeTrackerTriggerDetails(::windows_core::IUnknown); impl StorageLibraryChangeTrackerTriggerDetails { pub fn Folder(&self) -> ::windows_core::Result { @@ -1987,25 +1763,9 @@ impl StorageLibraryChangeTrackerTriggerDetails { } } } -impl ::core::cmp::PartialEq for StorageLibraryChangeTrackerTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChangeTrackerTriggerDetails {} -impl ::core::fmt::Debug for StorageLibraryChangeTrackerTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChangeTrackerTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChangeTrackerTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails;{1dc7a369-b7a3-4df2-9d61-eba85a0343d2})"); } -impl ::core::clone::Clone for StorageLibraryChangeTrackerTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChangeTrackerTriggerDetails { type Vtable = IStorageLibraryChangeTrackerTriggerDetails_Vtbl; } @@ -2018,6 +1778,7 @@ impl ::windows_core::RuntimeName for StorageLibraryChangeTrackerTriggerDetails { ::windows_core::imp::interface_hierarchy!(StorageLibraryChangeTrackerTriggerDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryContentChangedTriggerDetails(::windows_core::IUnknown); impl StorageLibraryContentChangedTriggerDetails { pub fn Folder(&self) -> ::windows_core::Result { @@ -2037,25 +1798,9 @@ impl StorageLibraryContentChangedTriggerDetails { } } } -impl ::core::cmp::PartialEq for StorageLibraryContentChangedTriggerDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryContentChangedTriggerDetails {} -impl ::core::fmt::Debug for StorageLibraryContentChangedTriggerDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryContentChangedTriggerDetails").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryContentChangedTriggerDetails { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails;{2a371977-abbf-4e1d-8aa5-6385d8884799})"); } -impl ::core::clone::Clone for StorageLibraryContentChangedTriggerDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryContentChangedTriggerDetails { type Vtable = IStorageLibraryContentChangedTriggerDetails_Vtbl; } @@ -2068,6 +1813,7 @@ impl ::windows_core::RuntimeName for StorageLibraryContentChangedTriggerDetails ::windows_core::imp::interface_hierarchy!(StorageLibraryContentChangedTriggerDetails, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ValueAndLanguage(::windows_core::IUnknown); impl ValueAndLanguage { pub fn new() -> ::windows_core::Result { @@ -2103,25 +1849,9 @@ impl ValueAndLanguage { unsafe { (::windows_core::Interface::vtable(this).SetValue)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ValueAndLanguage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ValueAndLanguage {} -impl ::core::fmt::Debug for ValueAndLanguage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ValueAndLanguage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ValueAndLanguage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Search.ValueAndLanguage;{b9914881-a1ee-4bc4-92a5-466968e30436})"); } -impl ::core::clone::Clone for ValueAndLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ValueAndLanguage { type Vtable = IValueAndLanguage_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs index 1be58bf635..ef9eef69fa 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs @@ -43,8 +43,8 @@ impl IBuffer_Vtbl { SetLength: SetLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IContentTypeProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ContentType: ContentType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IDataReader_Vtbl { DetachStream: DetachStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IDataWriter_Vtbl { DetachStream: DetachStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl IInputStream_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ReadAsync: ReadAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl IInputStreamReference_Vtbl { OpenSequentialReadAsync: OpenSequentialReadAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -784,8 +784,8 @@ impl IOutputStream_Vtbl { FlushAsync: FlushAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -824,8 +824,8 @@ impl IPropertySetSerializer_Vtbl { Deserialize: Deserialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl IRandomAccessStream_Vtbl { CanWrite: CanWrite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -984,8 +984,8 @@ impl IRandomAccessStreamReference_Vtbl { OpenReadAsync: OpenReadAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1000,7 +1000,7 @@ impl IRandomAccessStreamWithContentType_Vtbl { pub const fn new, Impl: IRandomAccessStreamWithContentType_Impl, const OFFSET: isize>() -> IRandomAccessStreamWithContentType_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index fba2deefea..98b44d5883 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBuffer(::windows_core::IUnknown); impl IBuffer { pub fn Capacity(&self) -> ::windows_core::Result { @@ -22,28 +23,12 @@ impl IBuffer { } } ::windows_core::imp::interface_hierarchy!(IBuffer, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBuffer {} -impl ::core::fmt::Debug for IBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBuffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IBuffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{905a0fe0-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows_core::Interface for IBuffer { type Vtable = IBuffer_Vtbl; } -impl ::core::clone::Clone for IBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905a0fe0_bc53_11df_8c49_001e4fc686da); } @@ -57,15 +42,11 @@ pub struct IBuffer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBufferFactory { type Vtable = IBufferFactory_Vtbl; } -impl ::core::clone::Clone for IBufferFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71af914d_c10f_484b_bc50_14bc623b3a27); } @@ -77,15 +58,11 @@ pub struct IBufferFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBufferStatics { type Vtable = IBufferStatics_Vtbl; } -impl ::core::clone::Clone for IBufferStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe901e65b_d716_475a_a90a_af7229b1e741); } @@ -104,6 +81,7 @@ pub struct IBufferStatics_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentTypeProvider(::windows_core::IUnknown); impl IContentTypeProvider { pub fn ContentType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -115,28 +93,12 @@ impl IContentTypeProvider { } } ::windows_core::imp::interface_hierarchy!(IContentTypeProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContentTypeProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContentTypeProvider {} -impl ::core::fmt::Debug for IContentTypeProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContentTypeProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IContentTypeProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{97d098a5-3b99-4de9-88a5-e11d2f50c795}"); } unsafe impl ::windows_core::Interface for IContentTypeProvider { type Vtable = IContentTypeProvider_Vtbl; } -impl ::core::clone::Clone for IContentTypeProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentTypeProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97d098a5_3b99_4de9_88a5_e11d2f50c795); } @@ -148,6 +110,7 @@ pub struct IContentTypeProvider_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataReader(::windows_core::IUnknown); impl IDataReader { pub fn UnconsumedBufferLength(&self) -> ::windows_core::Result { @@ -328,28 +291,12 @@ impl IDataReader { } } ::windows_core::imp::interface_hierarchy!(IDataReader, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IDataReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataReader {} -impl ::core::fmt::Debug for IDataReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDataReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e2b50029-b4c1-4314-a4b8-fb813a2f275e}"); } unsafe impl ::windows_core::Interface for IDataReader { type Vtable = IDataReader_Vtbl; } -impl ::core::clone::Clone for IDataReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2b50029_b4c1_4314_a4b8_fb813a2f275e); } @@ -395,15 +342,11 @@ pub struct IDataReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataReaderFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataReaderFactory { type Vtable = IDataReaderFactory_Vtbl; } -impl ::core::clone::Clone for IDataReaderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataReaderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7527847_57da_4e15_914c_06806699a098); } @@ -415,15 +358,11 @@ pub struct IDataReaderFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataReaderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataReaderStatics { type Vtable = IDataReaderStatics_Vtbl; } -impl ::core::clone::Clone for IDataReaderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataReaderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11fcbfc8_f93a_471b_b121_f379e349313c); } @@ -435,6 +374,7 @@ pub struct IDataReaderStatics_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataWriter(::windows_core::IUnknown); impl IDataWriter { pub fn UnstoredBufferLength(&self) -> ::windows_core::Result { @@ -588,28 +528,12 @@ impl IDataWriter { } } ::windows_core::imp::interface_hierarchy!(IDataWriter, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IDataWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataWriter {} -impl ::core::fmt::Debug for IDataWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataWriter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IDataWriter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{64b89265-d341-4922-b38a-dd4af8808c4e}"); } unsafe impl ::windows_core::Interface for IDataWriter { type Vtable = IDataWriter_Vtbl; } -impl ::core::clone::Clone for IDataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64b89265_d341_4922_b38a_dd4af8808c4e); } @@ -659,15 +583,11 @@ pub struct IDataWriter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataWriterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDataWriterFactory { type Vtable = IDataWriterFactory_Vtbl; } -impl ::core::clone::Clone for IDataWriterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataWriterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338c67c2_8b84_4c2b_9c50_7b8767847a1f); } @@ -679,15 +599,11 @@ pub struct IDataWriterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileRandomAccessStreamStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileRandomAccessStreamStatics { type Vtable = IFileRandomAccessStreamStatics_Vtbl; } -impl ::core::clone::Clone for IFileRandomAccessStreamStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileRandomAccessStreamStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73550107_3b57_4b5d_8345_554d2fc621f0); } @@ -730,6 +646,7 @@ pub struct IFileRandomAccessStreamStatics_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputStream(::windows_core::IUnknown); impl IInputStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -754,28 +671,12 @@ impl IInputStream { ::windows_core::imp::interface_hierarchy!(IInputStream, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IInputStream {} -impl ::core::cmp::PartialEq for IInputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputStream {} -impl ::core::fmt::Debug for IInputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInputStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{905a0fe2-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows_core::Interface for IInputStream { type Vtable = IInputStream_Vtbl; } -impl ::core::clone::Clone for IInputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905a0fe2_bc53_11df_8c49_001e4fc686da); } @@ -790,6 +691,7 @@ pub struct IInputStream_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputStreamReference(::windows_core::IUnknown); impl IInputStreamReference { #[doc = "*Required features: `\"Foundation\"`*"] @@ -803,28 +705,12 @@ impl IInputStreamReference { } } ::windows_core::imp::interface_hierarchy!(IInputStreamReference, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInputStreamReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputStreamReference {} -impl ::core::fmt::Debug for IInputStreamReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputStreamReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInputStreamReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{43929d18-5ec9-4b5a-919c-4205b0c804b6}"); } unsafe impl ::windows_core::Interface for IInputStreamReference { type Vtable = IInputStreamReference_Vtbl; } -impl ::core::clone::Clone for IInputStreamReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputStreamReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43929d18_5ec9_4b5a_919c_4205b0c804b6); } @@ -839,6 +725,7 @@ pub struct IInputStreamReference_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOutputStream(::windows_core::IUnknown); impl IOutputStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -872,28 +759,12 @@ impl IOutputStream { ::windows_core::imp::interface_hierarchy!(IOutputStream, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IOutputStream {} -impl ::core::cmp::PartialEq for IOutputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOutputStream {} -impl ::core::fmt::Debug for IOutputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOutputStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IOutputStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{905a0fe6-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows_core::Interface for IOutputStream { type Vtable = IOutputStream_Vtbl; } -impl ::core::clone::Clone for IOutputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOutputStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905a0fe6_bc53_11df_8c49_001e4fc686da); } @@ -912,6 +783,7 @@ pub struct IOutputStream_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySetSerializer(::windows_core::IUnknown); impl IPropertySetSerializer { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -938,28 +810,12 @@ impl IPropertySetSerializer { } } ::windows_core::imp::interface_hierarchy!(IPropertySetSerializer, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPropertySetSerializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySetSerializer {} -impl ::core::fmt::Debug for IPropertySetSerializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySetSerializer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPropertySetSerializer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6e8ebf1c-ef3d-4376-b20e-5be638aeac77}"); } unsafe impl ::windows_core::Interface for IPropertySetSerializer { type Vtable = IPropertySetSerializer_Vtbl; } -impl ::core::clone::Clone for IPropertySetSerializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySetSerializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e8ebf1c_ef3d_4376_b20e_5be638aeac77); } @@ -978,6 +834,7 @@ pub struct IPropertySetSerializer_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStream(::windows_core::IUnknown); impl IRandomAccessStream { pub fn Size(&self) -> ::windows_core::Result { @@ -1082,28 +939,12 @@ impl IRandomAccessStream { impl ::windows_core::CanTryInto for IRandomAccessStream {} impl ::windows_core::CanTryInto for IRandomAccessStream {} impl ::windows_core::CanTryInto for IRandomAccessStream {} -impl ::core::cmp::PartialEq for IRandomAccessStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRandomAccessStream {} -impl ::core::fmt::Debug for IRandomAccessStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRandomAccessStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IRandomAccessStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{905a0fe1-bc53-11df-8c49-001e4fc686da}"); } unsafe impl ::windows_core::Interface for IRandomAccessStream { type Vtable = IRandomAccessStream_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905a0fe1_bc53_11df_8c49_001e4fc686da); } @@ -1123,6 +964,7 @@ pub struct IRandomAccessStream_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStreamReference(::windows_core::IUnknown); impl IRandomAccessStreamReference { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1136,28 +978,12 @@ impl IRandomAccessStreamReference { } } ::windows_core::imp::interface_hierarchy!(IRandomAccessStreamReference, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IRandomAccessStreamReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRandomAccessStreamReference {} -impl ::core::fmt::Debug for IRandomAccessStreamReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRandomAccessStreamReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IRandomAccessStreamReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{33ee3134-1dd6-4e3a-8067-d1c162e8642b}"); } unsafe impl ::windows_core::Interface for IRandomAccessStreamReference { type Vtable = IRandomAccessStreamReference_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStreamReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStreamReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ee3134_1dd6_4e3a_8067_d1c162e8642b); } @@ -1172,15 +998,11 @@ pub struct IRandomAccessStreamReference_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStreamReferenceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRandomAccessStreamReferenceStatics { type Vtable = IRandomAccessStreamReferenceStatics_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStreamReferenceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStreamReferenceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x857309dc_3fbf_4e7d_986f_ef3b1a07a964); } @@ -1197,15 +1019,11 @@ pub struct IRandomAccessStreamReferenceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStreamStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRandomAccessStreamStatics { type Vtable = IRandomAccessStreamStatics_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStreamStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStreamStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x524cedcf_6e29_4ce5_9573_6b753db66c3a); } @@ -1228,6 +1046,7 @@ pub struct IRandomAccessStreamStatics_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStreamWithContentType(::windows_core::IUnknown); impl IRandomAccessStreamWithContentType { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1341,28 +1160,12 @@ impl ::windows_core::CanTryInto for IRandomAccessStreamWit impl ::windows_core::CanTryInto for IRandomAccessStreamWithContentType {} impl ::windows_core::CanTryInto for IRandomAccessStreamWithContentType {} impl ::windows_core::CanTryInto for IRandomAccessStreamWithContentType {} -impl ::core::cmp::PartialEq for IRandomAccessStreamWithContentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRandomAccessStreamWithContentType {} -impl ::core::fmt::Debug for IRandomAccessStreamWithContentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRandomAccessStreamWithContentType").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IRandomAccessStreamWithContentType { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cc254827-4b3d-438f-9232-10c76bc7e038}"); } unsafe impl ::windows_core::Interface for IRandomAccessStreamWithContentType { type Vtable = IRandomAccessStreamWithContentType_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStreamWithContentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStreamWithContentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc254827_4b3d_438f_9232_10c76bc7e038); } @@ -1373,6 +1176,7 @@ pub struct IRandomAccessStreamWithContentType_Vtbl { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Buffer(::windows_core::IUnknown); impl Buffer { pub fn Capacity(&self) -> ::windows_core::Result { @@ -1432,25 +1236,9 @@ impl Buffer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Buffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Buffer {} -impl ::core::fmt::Debug for Buffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Buffer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Buffer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.Buffer;{905a0fe0-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for Buffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Buffer { type Vtable = IBuffer_Vtbl; } @@ -1466,6 +1254,7 @@ unsafe impl ::core::marker::Send for Buffer {} unsafe impl ::core::marker::Sync for Buffer {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataReader(::windows_core::IUnknown); impl DataReader { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1679,25 +1468,9 @@ impl DataReader { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DataReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataReader {} -impl ::core::fmt::Debug for DataReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReader;{e2b50029-b4c1-4314-a4b8-fb813a2f275e})"); } -impl ::core::clone::Clone for DataReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataReader { type Vtable = IDataReader_Vtbl; } @@ -1716,6 +1489,7 @@ unsafe impl ::core::marker::Sync for DataReader {} #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataReaderLoadOperation(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl DataReaderLoadOperation { @@ -1787,30 +1561,10 @@ impl DataReaderLoadOperation { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for DataReaderLoadOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for DataReaderLoadOperation {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for DataReaderLoadOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataReaderLoadOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for DataReaderLoadOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataReaderLoadOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for DataReaderLoadOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for DataReaderLoadOperation { type Vtable = super::super::Foundation::IAsyncOperation_Vtbl; } @@ -1865,6 +1619,7 @@ unsafe impl ::core::marker::Send for DataReaderLoadOperation {} unsafe impl ::core::marker::Sync for DataReaderLoadOperation {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataWriter(::windows_core::IUnknown); impl DataWriter { pub fn new() -> ::windows_core::Result { @@ -2044,25 +1799,9 @@ impl DataWriter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DataWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataWriter {} -impl ::core::fmt::Debug for DataWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataWriter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DataWriter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})"); } -impl ::core::clone::Clone for DataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DataWriter { type Vtable = IDataWriter_Vtbl; } @@ -2081,6 +1820,7 @@ unsafe impl ::core::marker::Sync for DataWriter {} #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataWriterStoreOperation(::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl DataWriterStoreOperation { @@ -2152,30 +1892,10 @@ impl DataWriterStoreOperation { } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for DataWriterStoreOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for DataWriterStoreOperation {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for DataWriterStoreOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataWriterStoreOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] impl ::windows_core::RuntimeType for DataWriterStoreOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.DataWriterStoreOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))"); } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for DataWriterStoreOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for DataWriterStoreOperation { type Vtable = super::super::Foundation::IAsyncOperation_Vtbl; } @@ -2230,6 +1950,7 @@ unsafe impl ::core::marker::Send for DataWriterStoreOperation {} unsafe impl ::core::marker::Sync for DataWriterStoreOperation {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileInputStream(::windows_core::IUnknown); impl FileInputStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2251,25 +1972,9 @@ impl FileInputStream { } } } -impl ::core::cmp::PartialEq for FileInputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileInputStream {} -impl ::core::fmt::Debug for FileInputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileInputStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileInputStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileInputStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for FileInputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileInputStream { type Vtable = IInputStream_Vtbl; } @@ -2287,6 +1992,7 @@ unsafe impl ::core::marker::Send for FileInputStream {} unsafe impl ::core::marker::Sync for FileInputStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileOutputStream(::windows_core::IUnknown); impl FileOutputStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2317,25 +2023,9 @@ impl FileOutputStream { } } } -impl ::core::cmp::PartialEq for FileOutputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileOutputStream {} -impl ::core::fmt::Debug for FileOutputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileOutputStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileOutputStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileOutputStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for FileOutputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileOutputStream { type Vtable = IOutputStream_Vtbl; } @@ -2353,6 +2043,7 @@ unsafe impl ::core::marker::Send for FileOutputStream {} unsafe impl ::core::marker::Sync for FileOutputStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FileRandomAccessStream(::windows_core::IUnknown); impl FileRandomAccessStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2533,25 +2224,9 @@ impl FileRandomAccessStream { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FileRandomAccessStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FileRandomAccessStream {} -impl ::core::fmt::Debug for FileRandomAccessStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FileRandomAccessStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FileRandomAccessStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.FileRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for FileRandomAccessStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FileRandomAccessStream { type Vtable = IRandomAccessStream_Vtbl; } @@ -2571,6 +2246,7 @@ unsafe impl ::core::marker::Send for FileRandomAccessStream {} unsafe impl ::core::marker::Sync for FileRandomAccessStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InMemoryRandomAccessStream(::windows_core::IUnknown); impl InMemoryRandomAccessStream { pub fn new() -> ::windows_core::Result { @@ -2677,25 +2353,9 @@ impl InMemoryRandomAccessStream { } } } -impl ::core::cmp::PartialEq for InMemoryRandomAccessStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InMemoryRandomAccessStream {} -impl ::core::fmt::Debug for InMemoryRandomAccessStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InMemoryRandomAccessStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InMemoryRandomAccessStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InMemoryRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for InMemoryRandomAccessStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InMemoryRandomAccessStream { type Vtable = IRandomAccessStream_Vtbl; } @@ -2715,6 +2375,7 @@ unsafe impl ::core::marker::Send for InMemoryRandomAccessStream {} unsafe impl ::core::marker::Sync for InMemoryRandomAccessStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputStreamOverStream(::windows_core::IUnknown); impl InputStreamOverStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2736,25 +2397,9 @@ impl InputStreamOverStream { } } } -impl ::core::cmp::PartialEq for InputStreamOverStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputStreamOverStream {} -impl ::core::fmt::Debug for InputStreamOverStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputStreamOverStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputStreamOverStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.InputStreamOverStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for InputStreamOverStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputStreamOverStream { type Vtable = IInputStream_Vtbl; } @@ -2772,6 +2417,7 @@ unsafe impl ::core::marker::Send for InputStreamOverStream {} unsafe impl ::core::marker::Sync for InputStreamOverStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OutputStreamOverStream(::windows_core::IUnknown); impl OutputStreamOverStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2802,25 +2448,9 @@ impl OutputStreamOverStream { } } } -impl ::core::cmp::PartialEq for OutputStreamOverStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OutputStreamOverStream {} -impl ::core::fmt::Debug for OutputStreamOverStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OutputStreamOverStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OutputStreamOverStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.OutputStreamOverStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for OutputStreamOverStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OutputStreamOverStream { type Vtable = IOutputStream_Vtbl; } @@ -2886,6 +2516,7 @@ impl ::windows_core::RuntimeName for RandomAccessStream { } #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RandomAccessStreamOverStream(::windows_core::IUnknown); impl RandomAccessStreamOverStream { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2985,25 +2616,9 @@ impl RandomAccessStreamOverStream { } } } -impl ::core::cmp::PartialEq for RandomAccessStreamOverStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RandomAccessStreamOverStream {} -impl ::core::fmt::Debug for RandomAccessStreamOverStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RandomAccessStreamOverStream").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RandomAccessStreamOverStream { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamOverStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})"); } -impl ::core::clone::Clone for RandomAccessStreamOverStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RandomAccessStreamOverStream { type Vtable = IRandomAccessStream_Vtbl; } @@ -3023,6 +2638,7 @@ unsafe impl ::core::marker::Send for RandomAccessStreamOverStream {} unsafe impl ::core::marker::Sync for RandomAccessStreamOverStream {} #[doc = "*Required features: `\"Storage_Streams\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RandomAccessStreamReference(::windows_core::IUnknown); impl RandomAccessStreamReference { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3069,25 +2685,9 @@ impl RandomAccessStreamReference { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RandomAccessStreamReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RandomAccessStreamReference {} -impl ::core::fmt::Debug for RandomAccessStreamReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RandomAccessStreamReference").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RandomAccessStreamReference { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.Streams.RandomAccessStreamReference;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})"); } -impl ::core::clone::Clone for RandomAccessStreamReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RandomAccessStreamReference { type Vtable = IRandomAccessStreamReference_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index 2061bce074..02d7982630 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -181,8 +181,8 @@ impl IStorageFile_Vtbl { MoveAndReplaceAsync: MoveAndReplaceAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -228,8 +228,8 @@ impl IStorageFile2_Vtbl { OpenTransactedWriteWithOptionsAsync: OpenTransactedWriteWithOptionsAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IStorageFilePropertiesWithAvailability_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation_Collections\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IStorageFolder_Vtbl { GetItemsAsyncOverloadDefaultStartAndCount: GetItemsAsyncOverloadDefaultStartAndCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl IStorageFolder2_Vtbl { TryGetItemAsync: TryGetItemAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl IStorageItem_Vtbl { IsOfType: IsOfType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -651,8 +651,8 @@ impl IStorageItem2_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IStorageItemProperties_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -829,8 +829,8 @@ impl IStorageItemProperties2_Vtbl { GetScaledImageAsThumbnailAsync: GetScaledImageAsThumbnailAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -862,8 +862,8 @@ impl IStorageItemPropertiesWithProvider_Vtbl { Provider: Provider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"implement\"`*"] @@ -885,7 +885,7 @@ impl IStreamedFileDataRequest_Vtbl { FailAndClose: FailAndClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 98e9ac2af6..063151c983 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -16,15 +16,11 @@ pub mod Search; pub mod Streams; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDataPaths(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDataPaths { type Vtable = IAppDataPaths_Vtbl; } -impl ::core::clone::Clone for IAppDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDataPaths { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7301d60a_79a2_48c9_9ec0_3fda092f79e1); } @@ -44,15 +40,11 @@ pub struct IAppDataPaths_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDataPathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDataPathsStatics { type Vtable = IAppDataPathsStatics_Vtbl; } -impl ::core::clone::Clone for IAppDataPathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDataPathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8eb2afe_a9d9_4b14_b999_e3921379d903); } @@ -68,15 +60,11 @@ pub struct IAppDataPathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationData { type Vtable = IApplicationData_Vtbl; } -impl ::core::clone::Clone for IApplicationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3da6fb7_b744_4b45_b0b8_223a0938d0dc); } @@ -115,15 +103,11 @@ pub struct IApplicationData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationData2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationData2 { type Vtable = IApplicationData2_Vtbl; } -impl ::core::clone::Clone for IApplicationData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e65cd69_0ba3_4e32_be29_b02de6607638); } @@ -135,15 +119,11 @@ pub struct IApplicationData2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationData3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationData3 { type Vtable = IApplicationData3_Vtbl; } -impl ::core::clone::Clone for IApplicationData3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationData3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc222cf4_2772_4c1d_aa2c_c9f743ade8d1); } @@ -160,15 +140,11 @@ pub struct IApplicationData3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDataContainer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationDataContainer { type Vtable = IApplicationDataContainer_Vtbl; } -impl ::core::clone::Clone for IApplicationDataContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDataContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5aefd1e_f467_40ba_8566_ab640a441e1d); } @@ -191,15 +167,11 @@ pub struct IApplicationDataContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDataStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationDataStatics { type Vtable = IApplicationDataStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationDataStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDataStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5612147b_e843_45e3_94d8_06169e3c8e17); } @@ -211,15 +183,11 @@ pub struct IApplicationDataStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDataStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationDataStatics2 { type Vtable = IApplicationDataStatics2_Vtbl; } -impl ::core::clone::Clone for IApplicationDataStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDataStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd606211_cf49_40a4_a47c_c7f0dbba8107); } @@ -234,15 +202,11 @@ pub struct IApplicationDataStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICachedFileManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICachedFileManagerStatics { type Vtable = ICachedFileManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICachedFileManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICachedFileManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ffc224a_e782_495d_b614_654c4f0b2370); } @@ -258,15 +222,11 @@ pub struct ICachedFileManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadsFolderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadsFolderStatics { type Vtable = IDownloadsFolderStatics_Vtbl; } -impl ::core::clone::Clone for IDownloadsFolderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadsFolderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27862ed0_404e_47df_a1e2_e37308be7b37); } @@ -293,15 +253,11 @@ pub struct IDownloadsFolderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadsFolderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDownloadsFolderStatics2 { type Vtable = IDownloadsFolderStatics2_Vtbl; } -impl ::core::clone::Clone for IDownloadsFolderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadsFolderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe93045bd_8ef8_4f8e_8d15_ac0e265f390d); } @@ -328,15 +284,11 @@ pub struct IDownloadsFolderStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileIOStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFileIOStatics { type Vtable = IFileIOStatics_Vtbl; } -impl ::core::clone::Clone for IFileIOStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileIOStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x887411eb_7f54_4732_a5f0_5e43e3b8c2f5); } @@ -407,15 +359,11 @@ pub struct IFileIOStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersCameraRollStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersCameraRollStatics { type Vtable = IKnownFoldersCameraRollStatics_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersCameraRollStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersCameraRollStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d115e66_27e8_492f_b8e5_2f90896cd4cd); } @@ -427,15 +375,11 @@ pub struct IKnownFoldersCameraRollStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersPlaylistsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersPlaylistsStatics { type Vtable = IKnownFoldersPlaylistsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersPlaylistsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersPlaylistsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdad5ecd6_306f_4d6a_b496_46ba8eb106ce); } @@ -447,15 +391,11 @@ pub struct IKnownFoldersPlaylistsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersSavedPicturesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersSavedPicturesStatics { type Vtable = IKnownFoldersSavedPicturesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersSavedPicturesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersSavedPicturesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x055c93ea_253d_467c_b6ca_a97da1e9a18d); } @@ -467,15 +407,11 @@ pub struct IKnownFoldersSavedPicturesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersStatics { type Vtable = IKnownFoldersStatics_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a2a7520_4802_452d_9ad9_4351ada7ec35); } @@ -493,15 +429,11 @@ pub struct IKnownFoldersStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersStatics2 { type Vtable = IKnownFoldersStatics2_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x194bd0cd_cf6e_4d07_9d53_e9163a2536e9); } @@ -515,15 +447,11 @@ pub struct IKnownFoldersStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersStatics3 { type Vtable = IKnownFoldersStatics3_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5194341_9742_4ed5_823d_fc1401148764); } @@ -538,15 +466,11 @@ pub struct IKnownFoldersStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFoldersStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownFoldersStatics4 { type Vtable = IKnownFoldersStatics4_Vtbl; } -impl ::core::clone::Clone for IKnownFoldersStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFoldersStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1722e6bf_9ff9_4b21_bed5_90ecb13a192e); } @@ -569,15 +493,11 @@ pub struct IKnownFoldersStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPathIOStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPathIOStatics { type Vtable = IPathIOStatics_Vtbl; } -impl ::core::clone::Clone for IPathIOStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPathIOStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f2f3758_8ec7_4381_922b_8f6c07d288f3); } @@ -648,15 +568,11 @@ pub struct IPathIOStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISetVersionDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISetVersionDeferral { type Vtable = ISetVersionDeferral_Vtbl; } -impl ::core::clone::Clone for ISetVersionDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISetVersionDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x033508a2_781a_437a_b078_3f32badcfe47); } @@ -668,15 +584,11 @@ pub struct ISetVersionDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISetVersionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISetVersionRequest { type Vtable = ISetVersionRequest_Vtbl; } -impl ::core::clone::Clone for ISetVersionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISetVersionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9c76b9b_1056_4e69_8330_162619956f9b); } @@ -690,6 +602,7 @@ pub struct ISetVersionRequest_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFile(::windows_core::IUnknown); impl IStorageFile { pub fn FileType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -927,28 +840,12 @@ impl ::windows_core::CanTryInto for IStorageFile #[cfg(feature = "Storage_Streams")] impl ::windows_core::CanTryInto for IStorageFile {} impl ::windows_core::CanTryInto for IStorageFile {} -impl ::core::cmp::PartialEq for IStorageFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFile {} -impl ::core::fmt::Debug for IStorageFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{fa3f6186-4214-428c-a64c-14c9ac7315ea}"); } unsafe impl ::windows_core::Interface for IStorageFile { type Vtable = IStorageFile_Vtbl; } -impl ::core::clone::Clone for IStorageFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa3f6186_4214_428c_a64c_14c9ac7315ea); } @@ -1001,6 +898,7 @@ pub struct IStorageFile_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFile2(::windows_core::IUnknown); impl IStorageFile2 { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -1023,28 +921,12 @@ impl IStorageFile2 { } } ::windows_core::imp::interface_hierarchy!(IStorageFile2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageFile2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFile2 {} -impl ::core::fmt::Debug for IStorageFile2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFile2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFile2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{954e4bcf-0a77-42fb-b777-c2ed58a52e44}"); } unsafe impl ::windows_core::Interface for IStorageFile2 { type Vtable = IStorageFile2_Vtbl; } -impl ::core::clone::Clone for IStorageFile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x954e4bcf_0a77_42fb_b777_c2ed58a52e44); } @@ -1063,6 +945,7 @@ pub struct IStorageFile2_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFilePropertiesWithAvailability(::windows_core::IUnknown); impl IStorageFilePropertiesWithAvailability { pub fn IsAvailable(&self) -> ::windows_core::Result { @@ -1074,28 +957,12 @@ impl IStorageFilePropertiesWithAvailability { } } ::windows_core::imp::interface_hierarchy!(IStorageFilePropertiesWithAvailability, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageFilePropertiesWithAvailability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFilePropertiesWithAvailability {} -impl ::core::fmt::Debug for IStorageFilePropertiesWithAvailability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFilePropertiesWithAvailability").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFilePropertiesWithAvailability { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{afcbbe9b-582b-4133-9648-e44ca46ee491}"); } unsafe impl ::windows_core::Interface for IStorageFilePropertiesWithAvailability { type Vtable = IStorageFilePropertiesWithAvailability_Vtbl; } -impl ::core::clone::Clone for IStorageFilePropertiesWithAvailability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFilePropertiesWithAvailability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafcbbe9b_582b_4133_9648_e44ca46ee491); } @@ -1107,15 +974,11 @@ pub struct IStorageFilePropertiesWithAvailability_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFileStatics { type Vtable = IStorageFileStatics_Vtbl; } -impl ::core::clone::Clone for IStorageFileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5984c710_daf2_43c8_8bb4_a4d3eacfd03f); } @@ -1150,15 +1013,11 @@ pub struct IStorageFileStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFileStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFileStatics2 { type Vtable = IStorageFileStatics2_Vtbl; } -impl ::core::clone::Clone for IStorageFileStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFileStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c76a781_212e_4af9_8f04_740cae108974); } @@ -1173,6 +1032,7 @@ pub struct IStorageFileStatics2_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolder(::windows_core::IUnknown); impl IStorageFolder { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1350,28 +1210,12 @@ impl IStorageFolder { } ::windows_core::imp::interface_hierarchy!(IStorageFolder, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IStorageFolder {} -impl ::core::cmp::PartialEq for IStorageFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFolder {} -impl ::core::fmt::Debug for IStorageFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFolder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFolder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b}"); } unsafe impl ::windows_core::Interface for IStorageFolder { type Vtable = IStorageFolder_Vtbl; } -impl ::core::clone::Clone for IStorageFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72d1cb78_b3ef_4f75_a80b_6fd9dae2944b); } @@ -1422,6 +1266,7 @@ pub struct IStorageFolder_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolder2(::windows_core::IUnknown); impl IStorageFolder2 { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1435,28 +1280,12 @@ impl IStorageFolder2 { } } ::windows_core::imp::interface_hierarchy!(IStorageFolder2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageFolder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFolder2 {} -impl ::core::fmt::Debug for IStorageFolder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFolder2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageFolder2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e827e8b9-08d9-4a8e-a0ac-fe5ed3cbbbd3}"); } unsafe impl ::windows_core::Interface for IStorageFolder2 { type Vtable = IStorageFolder2_Vtbl; } -impl ::core::clone::Clone for IStorageFolder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe827e8b9_08d9_4a8e_a0ac_fe5ed3cbbbd3); } @@ -1471,15 +1300,11 @@ pub struct IStorageFolder2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolder3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFolder3 { type Vtable = IStorageFolder3_Vtbl; } -impl ::core::clone::Clone for IStorageFolder3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolder3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f617899_bde1_4124_aeb3_b06ad96f98d4); } @@ -1491,15 +1316,11 @@ pub struct IStorageFolder3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFolderStatics { type Vtable = IStorageFolderStatics_Vtbl; } -impl ::core::clone::Clone for IStorageFolderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08f327ff_85d5_48b9_aee9_28511e339f9f); } @@ -1514,15 +1335,11 @@ pub struct IStorageFolderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolderStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageFolderStatics2 { type Vtable = IStorageFolderStatics2_Vtbl; } -impl ::core::clone::Clone for IStorageFolderStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolderStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4656dc3_71d2_467d_8b29_371f0f62bf6f); } @@ -1537,6 +1354,7 @@ pub struct IStorageFolderStatics2_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItem(::windows_core::IUnknown); impl IStorageItem { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1623,28 +1441,12 @@ impl IStorageItem { } } ::windows_core::imp::interface_hierarchy!(IStorageItem, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItem {} -impl ::core::fmt::Debug for IStorageItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4207a996-ca2f-42f7-bde8-8b10457a7f30}"); } unsafe impl ::windows_core::Interface for IStorageItem { type Vtable = IStorageItem_Vtbl; } -impl ::core::clone::Clone for IStorageItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4207a996_ca2f_42f7_bde8_8b10457a7f30); } @@ -1683,6 +1485,7 @@ pub struct IStorageItem_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItem2(::windows_core::IUnknown); impl IStorageItem2 { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1789,28 +1592,12 @@ impl IStorageItem2 { } ::windows_core::imp::interface_hierarchy!(IStorageItem2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IStorageItem2 {} -impl ::core::cmp::PartialEq for IStorageItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItem2 {} -impl ::core::fmt::Debug for IStorageItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItem2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItem2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{53f926d2-083c-4283-b45b-81c007237e44}"); } unsafe impl ::windows_core::Interface for IStorageItem2 { type Vtable = IStorageItem2_Vtbl; } -impl ::core::clone::Clone for IStorageItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53f926d2_083c_4283_b45b_81c007237e44); } @@ -1826,6 +1613,7 @@ pub struct IStorageItem2_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemProperties(::windows_core::IUnknown); impl IStorageItemProperties { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`*"] @@ -1887,28 +1675,12 @@ impl IStorageItemProperties { } } ::windows_core::imp::interface_hierarchy!(IStorageItemProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStorageItemProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemProperties {} -impl ::core::fmt::Debug for IStorageItemProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{86664478-8029-46fe-a789-1c2f3e2ffb5c}"); } unsafe impl ::windows_core::Interface for IStorageItemProperties { type Vtable = IStorageItemProperties_Vtbl; } -impl ::core::clone::Clone for IStorageItemProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86664478_8029_46fe_a789_1c2f3e2ffb5c); } @@ -1938,6 +1710,7 @@ pub struct IStorageItemProperties_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemProperties2(::windows_core::IUnknown); impl IStorageItemProperties2 { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`*"] @@ -2027,28 +1800,12 @@ impl IStorageItemProperties2 { } ::windows_core::imp::interface_hierarchy!(IStorageItemProperties2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IStorageItemProperties2 {} -impl ::core::cmp::PartialEq for IStorageItemProperties2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemProperties2 {} -impl ::core::fmt::Debug for IStorageItemProperties2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemProperties2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemProperties2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8e86a951-04b9-4bd2-929d-fef3f71621d0}"); } unsafe impl ::windows_core::Interface for IStorageItemProperties2 { type Vtable = IStorageItemProperties2_Vtbl; } -impl ::core::clone::Clone for IStorageItemProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e86a951_04b9_4bd2_929d_fef3f71621d0); } @@ -2071,6 +1828,7 @@ pub struct IStorageItemProperties2_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemPropertiesWithProvider(::windows_core::IUnknown); impl IStorageItemPropertiesWithProvider { pub fn Provider(&self) -> ::windows_core::Result { @@ -2140,28 +1898,12 @@ impl IStorageItemPropertiesWithProvider { } ::windows_core::imp::interface_hierarchy!(IStorageItemPropertiesWithProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for IStorageItemPropertiesWithProvider {} -impl ::core::cmp::PartialEq for IStorageItemPropertiesWithProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemPropertiesWithProvider {} -impl ::core::fmt::Debug for IStorageItemPropertiesWithProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemPropertiesWithProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStorageItemPropertiesWithProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{861bf39b-6368-4dee-b40e-74684a5ce714}"); } unsafe impl ::windows_core::Interface for IStorageItemPropertiesWithProvider { type Vtable = IStorageItemPropertiesWithProvider_Vtbl; } -impl ::core::clone::Clone for IStorageItemPropertiesWithProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemPropertiesWithProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x861bf39b_6368_4dee_b40e_74684a5ce714); } @@ -2173,15 +1915,11 @@ pub struct IStorageItemPropertiesWithProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibrary(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibrary { type Vtable = IStorageLibrary_Vtbl; } -impl ::core::clone::Clone for IStorageLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1edd7103_0e5e_4d6c_b5e8_9318983d6a03); } @@ -2213,15 +1951,11 @@ pub struct IStorageLibrary_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibrary2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibrary2 { type Vtable = IStorageLibrary2_Vtbl; } -impl ::core::clone::Clone for IStorageLibrary2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibrary2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b0ce348_fcb3_4031_afb0_a68d7bd44534); } @@ -2233,15 +1967,11 @@ pub struct IStorageLibrary2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibrary3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibrary3 { type Vtable = IStorageLibrary3_Vtbl; } -impl ::core::clone::Clone for IStorageLibrary3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibrary3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a281291_2154_4201_8113_d2c05ce1ad23); } @@ -2256,15 +1986,11 @@ pub struct IStorageLibrary3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChange { type Vtable = IStorageLibraryChange_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00980b23_2be2_4909_aa48_159f5203a51e); } @@ -2283,15 +2009,11 @@ pub struct IStorageLibraryChange_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeReader(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeReader { type Vtable = IStorageLibraryChangeReader_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf205bc83_fca2_41f9_8954_ee2e991eb96f); } @@ -2310,15 +2032,11 @@ pub struct IStorageLibraryChangeReader_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeReader2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeReader2 { type Vtable = IStorageLibraryChangeReader2_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabf4868b_fbcc_4a4f_999e_e7ab7c646dbe); } @@ -2330,15 +2048,11 @@ pub struct IStorageLibraryChangeReader2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeTracker { type Vtable = IStorageLibraryChangeTracker_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e157316_6073_44f6_9681_7492d1286c90); } @@ -2352,15 +2066,11 @@ pub struct IStorageLibraryChangeTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeTracker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeTracker2 { type Vtable = IStorageLibraryChangeTracker2_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeTracker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeTracker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd051c3b_0f9f_42f9_8fb3_158d82e13821); } @@ -2373,15 +2083,11 @@ pub struct IStorageLibraryChangeTracker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryChangeTrackerOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryChangeTrackerOptions { type Vtable = IStorageLibraryChangeTrackerOptions_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryChangeTrackerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryChangeTrackerOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb52bcd4_1a6d_59c0_ad2a_823a20532483); } @@ -2394,15 +2100,11 @@ pub struct IStorageLibraryChangeTrackerOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryLastChangeId(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryLastChangeId { type Vtable = IStorageLibraryLastChangeId_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryLastChangeId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryLastChangeId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5281826a_bbe1_53bc_82ca_81cc7f039329); } @@ -2413,15 +2115,11 @@ pub struct IStorageLibraryLastChangeId_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryLastChangeIdStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryLastChangeIdStatics { type Vtable = IStorageLibraryLastChangeIdStatics_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryLastChangeIdStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryLastChangeIdStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81a49128_2ca3_5309_b0d1_cf0788e40762); } @@ -2433,15 +2131,11 @@ pub struct IStorageLibraryLastChangeIdStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryStatics { type Vtable = IStorageLibraryStatics_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4208a6db_684a_49c6_9e59_90121ee050d6); } @@ -2456,15 +2150,11 @@ pub struct IStorageLibraryStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageLibraryStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageLibraryStatics2 { type Vtable = IStorageLibraryStatics2_Vtbl; } -impl ::core::clone::Clone for IStorageLibraryStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageLibraryStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffb08ddc_fa75_4695_b9d1_7f81f97832e3); } @@ -2479,15 +2169,11 @@ pub struct IStorageLibraryStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProvider { type Vtable = IStorageProvider_Vtbl; } -impl ::core::clone::Clone for IStorageProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe705eed4_d478_47d6_ba46_1a8ebe114a20); } @@ -2500,15 +2186,11 @@ pub struct IStorageProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProvider2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageProvider2 { type Vtable = IStorageProvider2_Vtbl; } -impl ::core::clone::Clone for IStorageProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x010d1917_3404_414b_9fd7_cd44472eaa39); } @@ -2523,15 +2205,11 @@ pub struct IStorageProvider2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageStreamTransaction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStorageStreamTransaction { type Vtable = IStorageStreamTransaction_Vtbl; } -impl ::core::clone::Clone for IStorageStreamTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageStreamTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf67cf363_a53d_4d94_ae2c_67232d93acdd); } @@ -2550,6 +2228,7 @@ pub struct IStorageStreamTransaction_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamedFileDataRequest(::windows_core::IUnknown); impl IStreamedFileDataRequest { pub fn FailAndClose(&self, failuremode: StreamedFileFailureMode) -> ::windows_core::Result<()> { @@ -2558,28 +2237,12 @@ impl IStreamedFileDataRequest { } } ::windows_core::imp::interface_hierarchy!(IStreamedFileDataRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IStreamedFileDataRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamedFileDataRequest {} -impl ::core::fmt::Debug for IStreamedFileDataRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamedFileDataRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStreamedFileDataRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1673fcce-dabd-4d50-beee-180b8a8191b6}"); } unsafe impl ::windows_core::Interface for IStreamedFileDataRequest { type Vtable = IStreamedFileDataRequest_Vtbl; } -impl ::core::clone::Clone for IStreamedFileDataRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamedFileDataRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1673fcce_dabd_4d50_beee_180b8a8191b6); } @@ -2591,15 +2254,11 @@ pub struct IStreamedFileDataRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemAudioProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemAudioProperties { type Vtable = ISystemAudioProperties_Vtbl; } -impl ::core::clone::Clone for ISystemAudioProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemAudioProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f8f38b7_308c_47e1_924d_8645348e5db7); } @@ -2611,15 +2270,11 @@ pub struct ISystemAudioProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemDataPaths(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemDataPaths { type Vtable = ISystemDataPaths_Vtbl; } -impl ::core::clone::Clone for ISystemDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemDataPaths { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe32abf70_d8fa_45ec_a942_d2e26fb60ba5); } @@ -2646,15 +2301,11 @@ pub struct ISystemDataPaths_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemDataPathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemDataPathsStatics { type Vtable = ISystemDataPathsStatics_Vtbl; } -impl ::core::clone::Clone for ISystemDataPathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemDataPathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0f96fd0_9920_4bca_b379_f96fdf7caad8); } @@ -2666,15 +2317,11 @@ pub struct ISystemDataPathsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemGPSProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemGPSProperties { type Vtable = ISystemGPSProperties_Vtbl; } -impl ::core::clone::Clone for ISystemGPSProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemGPSProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0f46eb4_c174_481a_bc25_921986f6a6f3); } @@ -2687,15 +2334,11 @@ pub struct ISystemGPSProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemImageProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemImageProperties { type Vtable = ISystemImageProperties_Vtbl; } -impl ::core::clone::Clone for ISystemImageProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemImageProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x011b2e30_8b39_4308_bea1_e8aa61e47826); } @@ -2708,15 +2351,11 @@ pub struct ISystemImageProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMediaProperties { type Vtable = ISystemMediaProperties_Vtbl; } -impl ::core::clone::Clone for ISystemMediaProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa42b3316_8415_40dc_8c44_98361d235430); } @@ -2733,15 +2372,11 @@ pub struct ISystemMediaProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMusicProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMusicProperties { type Vtable = ISystemMusicProperties_Vtbl; } -impl ::core::clone::Clone for ISystemMusicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMusicProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb47988d5_67af_4bc3_8d39_5b89022026a1); } @@ -2760,15 +2395,11 @@ pub struct ISystemMusicProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemPhotoProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemPhotoProperties { type Vtable = ISystemPhotoProperties_Vtbl; } -impl ::core::clone::Clone for ISystemPhotoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemPhotoProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4734fc3d_ab21_4424_b735_f4353a56c8fc); } @@ -2784,15 +2415,11 @@ pub struct ISystemPhotoProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemProperties { type Vtable = ISystemProperties_Vtbl; } -impl ::core::clone::Clone for ISystemProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x917a71c1_85f3_4dd1_b001_a50bfd21c8d2); } @@ -2816,15 +2443,11 @@ pub struct ISystemProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemVideoProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemVideoProperties { type Vtable = ISystemVideoProperties_Vtbl; } -impl ::core::clone::Clone for ISystemVideoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemVideoProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2040f715_67f8_4322_9b80_4fa9fefb83e8); } @@ -2840,15 +2463,11 @@ pub struct ISystemVideoProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataPaths(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataPaths { type Vtable = IUserDataPaths_Vtbl; } -impl ::core::clone::Clone for IUserDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataPaths { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9c53912_abc4_46ff_8a2b_dc9d7fa6e52f); } @@ -2878,15 +2497,11 @@ pub struct IUserDataPaths_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDataPathsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDataPathsStatics { type Vtable = IUserDataPathsStatics_Vtbl; } -impl ::core::clone::Clone for IUserDataPathsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDataPathsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01b29def_e062_48a1_8b0c_f2c7a9ca56c0); } @@ -2902,6 +2517,7 @@ pub struct IUserDataPathsStatics_Vtbl { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppDataPaths(::windows_core::IUnknown); impl AppDataPaths { pub fn Cookies(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2990,25 +2606,9 @@ impl AppDataPaths { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppDataPaths { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppDataPaths {} -impl ::core::fmt::Debug for AppDataPaths { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppDataPaths").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppDataPaths { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.AppDataPaths;{7301d60a-79a2-48c9-9ec0-3fda092f79e1})"); } -impl ::core::clone::Clone for AppDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppDataPaths { type Vtable = IAppDataPaths_Vtbl; } @@ -3023,6 +2623,7 @@ unsafe impl ::core::marker::Send for AppDataPaths {} unsafe impl ::core::marker::Sync for AppDataPaths {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationData(::windows_core::IUnknown); impl ApplicationData { pub fn Version(&self) -> ::windows_core::Result { @@ -3190,25 +2791,9 @@ impl ApplicationData { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ApplicationData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationData {} -impl ::core::fmt::Debug for ApplicationData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationData;{c3da6fb7-b744-4b45-b0b8-223a0938d0dc})"); } -impl ::core::clone::Clone for ApplicationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationData { type Vtable = IApplicationData_Vtbl; } @@ -3226,6 +2811,7 @@ unsafe impl ::core::marker::Sync for ApplicationData {} #[doc = "*Required features: `\"Storage\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationDataCompositeValue(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ApplicationDataCompositeValue { @@ -3325,30 +2911,10 @@ impl ApplicationDataCompositeValue { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ApplicationDataCompositeValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ApplicationDataCompositeValue {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ApplicationDataCompositeValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationDataCompositeValue").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ApplicationDataCompositeValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataCompositeValue;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ApplicationDataCompositeValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ApplicationDataCompositeValue { type Vtable = super::Foundation::Collections::IPropertySet_Vtbl; } @@ -3392,6 +2958,7 @@ unsafe impl ::core::marker::Send for ApplicationDataCompositeValue {} unsafe impl ::core::marker::Sync for ApplicationDataCompositeValue {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationDataContainer(::windows_core::IUnknown); impl ApplicationDataContainer { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3444,25 +3011,9 @@ impl ApplicationDataContainer { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ApplicationDataContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationDataContainer {} -impl ::core::fmt::Debug for ApplicationDataContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationDataContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationDataContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainer;{c5aefd1e-f467-40ba-8566-ab640a441e1d})"); } -impl ::core::clone::Clone for ApplicationDataContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationDataContainer { type Vtable = IApplicationDataContainer_Vtbl; } @@ -3480,6 +3031,7 @@ unsafe impl ::core::marker::Sync for ApplicationDataContainer {} #[doc = "*Required features: `\"Storage\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationDataContainerSettings(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ApplicationDataContainerSettings { @@ -3572,30 +3124,10 @@ impl ApplicationDataContainerSettings { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for ApplicationDataContainerSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for ApplicationDataContainerSettings {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for ApplicationDataContainerSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationDataContainerSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for ApplicationDataContainerSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.ApplicationDataContainerSettings;{8a43ed9f-f4e6-4421-acf9-1dab2986820c})"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for ApplicationDataContainerSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for ApplicationDataContainerSettings { type Vtable = super::Foundation::Collections::IPropertySet_Vtbl; } @@ -4248,6 +3780,7 @@ impl ::windows_core::RuntimeName for PathIO { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SetVersionDeferral(::windows_core::IUnknown); impl SetVersionDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -4255,25 +3788,9 @@ impl SetVersionDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SetVersionDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SetVersionDeferral {} -impl ::core::fmt::Debug for SetVersionDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SetVersionDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SetVersionDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionDeferral;{033508a2-781a-437a-b078-3f32badcfe47})"); } -impl ::core::clone::Clone for SetVersionDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SetVersionDeferral { type Vtable = ISetVersionDeferral_Vtbl; } @@ -4288,6 +3805,7 @@ unsafe impl ::core::marker::Send for SetVersionDeferral {} unsafe impl ::core::marker::Sync for SetVersionDeferral {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SetVersionRequest(::windows_core::IUnknown); impl SetVersionRequest { pub fn CurrentVersion(&self) -> ::windows_core::Result { @@ -4312,25 +3830,9 @@ impl SetVersionRequest { } } } -impl ::core::cmp::PartialEq for SetVersionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SetVersionRequest {} -impl ::core::fmt::Debug for SetVersionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SetVersionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SetVersionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SetVersionRequest;{b9c76b9b-1056-4e69-8330-162619956f9b})"); } -impl ::core::clone::Clone for SetVersionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SetVersionRequest { type Vtable = ISetVersionRequest_Vtbl; } @@ -4345,6 +3847,7 @@ unsafe impl ::core::marker::Send for SetVersionRequest {} unsafe impl ::core::marker::Sync for SetVersionRequest {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageFile(::windows_core::IUnknown); impl StorageFile { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -4801,25 +4304,9 @@ impl StorageFile { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageFile {} -impl ::core::fmt::Debug for StorageFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageFile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageFile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFile;{fa3f6186-4214-428c-a64c-14c9ac7315ea})"); } -impl ::core::clone::Clone for StorageFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageFile { type Vtable = IStorageFile_Vtbl; } @@ -4844,6 +4331,7 @@ impl ::windows_core::CanTryInto for StorageFile {} impl ::windows_core::CanTryInto for StorageFile {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageFolder(::windows_core::IUnknown); impl StorageFolder { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5339,25 +4827,9 @@ impl StorageFolder { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageFolder {} -impl ::core::fmt::Debug for StorageFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageFolder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageFolder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageFolder;{72d1cb78-b3ef-4f75-a80b-6fd9dae2944b})"); } -impl ::core::clone::Clone for StorageFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageFolder { type Vtable = IStorageFolder_Vtbl; } @@ -5379,6 +4851,7 @@ impl ::windows_core::CanTryInto for StorageFolder {} impl ::windows_core::CanTryInto for StorageFolder {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibrary(::windows_core::IUnknown); impl StorageLibrary { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5482,25 +4955,9 @@ impl StorageLibrary { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibrary {} -impl ::core::fmt::Debug for StorageLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibrary").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibrary { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibrary;{1edd7103-0e5e-4d6c-b5e8-9318983d6a03})"); } -impl ::core::clone::Clone for StorageLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibrary { type Vtable = IStorageLibrary_Vtbl; } @@ -5513,6 +4970,7 @@ impl ::windows_core::RuntimeName for StorageLibrary { ::windows_core::imp::interface_hierarchy!(StorageLibrary, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChange(::windows_core::IUnknown); impl StorageLibraryChange { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -5553,25 +5011,9 @@ impl StorageLibraryChange { } } } -impl ::core::cmp::PartialEq for StorageLibraryChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChange {} -impl ::core::fmt::Debug for StorageLibraryChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChange;{00980b23-2be2-4909-aa48-159f5203a51e})"); } -impl ::core::clone::Clone for StorageLibraryChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChange { type Vtable = IStorageLibraryChange_Vtbl; } @@ -5586,6 +5028,7 @@ unsafe impl ::core::marker::Send for StorageLibraryChange {} unsafe impl ::core::marker::Sync for StorageLibraryChange {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChangeReader(::windows_core::IUnknown); impl StorageLibraryChangeReader { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5614,25 +5057,9 @@ impl StorageLibraryChangeReader { } } } -impl ::core::cmp::PartialEq for StorageLibraryChangeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChangeReader {} -impl ::core::fmt::Debug for StorageLibraryChangeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChangeReader").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChangeReader { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeReader;{f205bc83-fca2-41f9-8954-ee2e991eb96f})"); } -impl ::core::clone::Clone for StorageLibraryChangeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChangeReader { type Vtable = IStorageLibraryChangeReader_Vtbl; } @@ -5647,6 +5074,7 @@ unsafe impl ::core::marker::Send for StorageLibraryChangeReader {} unsafe impl ::core::marker::Sync for StorageLibraryChangeReader {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChangeTracker(::windows_core::IUnknown); impl StorageLibraryChangeTracker { pub fn GetChangeReader(&self) -> ::windows_core::Result { @@ -5676,25 +5104,9 @@ impl StorageLibraryChangeTracker { unsafe { (::windows_core::Interface::vtable(this).Disable)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for StorageLibraryChangeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChangeTracker {} -impl ::core::fmt::Debug for StorageLibraryChangeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChangeTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChangeTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTracker;{9e157316-6073-44f6-9681-7492d1286c90})"); } -impl ::core::clone::Clone for StorageLibraryChangeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChangeTracker { type Vtable = IStorageLibraryChangeTracker_Vtbl; } @@ -5709,6 +5121,7 @@ unsafe impl ::core::marker::Send for StorageLibraryChangeTracker {} unsafe impl ::core::marker::Sync for StorageLibraryChangeTracker {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryChangeTrackerOptions(::windows_core::IUnknown); impl StorageLibraryChangeTrackerOptions { pub fn new() -> ::windows_core::Result { @@ -5730,25 +5143,9 @@ impl StorageLibraryChangeTrackerOptions { unsafe { (::windows_core::Interface::vtable(this).SetTrackChangeDetails)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for StorageLibraryChangeTrackerOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryChangeTrackerOptions {} -impl ::core::fmt::Debug for StorageLibraryChangeTrackerOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryChangeTrackerOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryChangeTrackerOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryChangeTrackerOptions;{bb52bcd4-1a6d-59c0-ad2a-823a20532483})"); } -impl ::core::clone::Clone for StorageLibraryChangeTrackerOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryChangeTrackerOptions { type Vtable = IStorageLibraryChangeTrackerOptions_Vtbl; } @@ -5763,6 +5160,7 @@ unsafe impl ::core::marker::Send for StorageLibraryChangeTrackerOptions {} unsafe impl ::core::marker::Sync for StorageLibraryChangeTrackerOptions {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageLibraryLastChangeId(::windows_core::IUnknown); impl StorageLibraryLastChangeId { pub fn Unknown() -> ::windows_core::Result { @@ -5777,25 +5175,9 @@ impl StorageLibraryLastChangeId { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StorageLibraryLastChangeId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageLibraryLastChangeId {} -impl ::core::fmt::Debug for StorageLibraryLastChangeId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageLibraryLastChangeId").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageLibraryLastChangeId { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageLibraryLastChangeId;{5281826a-bbe1-53bc-82ca-81cc7f039329})"); } -impl ::core::clone::Clone for StorageLibraryLastChangeId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageLibraryLastChangeId { type Vtable = IStorageLibraryLastChangeId_Vtbl; } @@ -5810,6 +5192,7 @@ unsafe impl ::core::marker::Send for StorageLibraryLastChangeId {} unsafe impl ::core::marker::Sync for StorageLibraryLastChangeId {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageProvider(::windows_core::IUnknown); impl StorageProvider { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5836,25 +5219,9 @@ impl StorageProvider { } } } -impl ::core::cmp::PartialEq for StorageProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageProvider {} -impl ::core::fmt::Debug for StorageProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageProvider;{e705eed4-d478-47d6-ba46-1a8ebe114a20})"); } -impl ::core::clone::Clone for StorageProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageProvider { type Vtable = IStorageProvider_Vtbl; } @@ -5867,6 +5234,7 @@ impl ::windows_core::RuntimeName for StorageProvider { ::windows_core::imp::interface_hierarchy!(StorageProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StorageStreamTransaction(::windows_core::IUnknown); impl StorageStreamTransaction { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5894,25 +5262,9 @@ impl StorageStreamTransaction { } } } -impl ::core::cmp::PartialEq for StorageStreamTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StorageStreamTransaction {} -impl ::core::fmt::Debug for StorageStreamTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StorageStreamTransaction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StorageStreamTransaction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StorageStreamTransaction;{f67cf363-a53d-4d94-ae2c-67232d93acdd})"); } -impl ::core::clone::Clone for StorageStreamTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StorageStreamTransaction { type Vtable = IStorageStreamTransaction_Vtbl; } @@ -5928,6 +5280,7 @@ impl ::windows_core::CanTryInto for StorageStreamT #[doc = "*Required features: `\"Storage\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamedFileDataRequest(::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl StreamedFileDataRequest { @@ -5964,30 +5317,10 @@ impl StreamedFileDataRequest { } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for StreamedFileDataRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for StreamedFileDataRequest {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for StreamedFileDataRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamedFileDataRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] impl ::windows_core::RuntimeType for StreamedFileDataRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.StreamedFileDataRequest;{905a0fe6-bc53-11df-8c49-001e4fc686da})"); } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for StreamedFileDataRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for StreamedFileDataRequest { type Vtable = Streams::IOutputStream_Vtbl; } @@ -6009,6 +5342,7 @@ impl ::windows_core::CanTryInto for StreamedFileDataRequ impl ::windows_core::CanTryInto for StreamedFileDataRequest {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemAudioProperties(::windows_core::IUnknown); impl SystemAudioProperties { pub fn EncodingBitrate(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6019,25 +5353,9 @@ impl SystemAudioProperties { } } } -impl ::core::cmp::PartialEq for SystemAudioProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemAudioProperties {} -impl ::core::fmt::Debug for SystemAudioProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemAudioProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemAudioProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemAudioProperties;{3f8f38b7-308c-47e1-924d-8645348e5db7})"); } -impl ::core::clone::Clone for SystemAudioProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemAudioProperties { type Vtable = ISystemAudioProperties_Vtbl; } @@ -6052,6 +5370,7 @@ unsafe impl ::core::marker::Send for SystemAudioProperties {} unsafe impl ::core::marker::Sync for SystemAudioProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemDataPaths(::windows_core::IUnknown); impl SystemDataPaths { pub fn Fonts(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6178,25 +5497,9 @@ impl SystemDataPaths { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemDataPaths { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemDataPaths {} -impl ::core::fmt::Debug for SystemDataPaths { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemDataPaths").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemDataPaths { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemDataPaths;{e32abf70-d8fa-45ec-a942-d2e26fb60ba5})"); } -impl ::core::clone::Clone for SystemDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemDataPaths { type Vtable = ISystemDataPaths_Vtbl; } @@ -6211,6 +5514,7 @@ unsafe impl ::core::marker::Send for SystemDataPaths {} unsafe impl ::core::marker::Sync for SystemDataPaths {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemGPSProperties(::windows_core::IUnknown); impl SystemGPSProperties { pub fn LatitudeDecimal(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6228,25 +5532,9 @@ impl SystemGPSProperties { } } } -impl ::core::cmp::PartialEq for SystemGPSProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemGPSProperties {} -impl ::core::fmt::Debug for SystemGPSProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemGPSProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemGPSProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemGPSProperties;{c0f46eb4-c174-481a-bc25-921986f6a6f3})"); } -impl ::core::clone::Clone for SystemGPSProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemGPSProperties { type Vtable = ISystemGPSProperties_Vtbl; } @@ -6261,6 +5549,7 @@ unsafe impl ::core::marker::Send for SystemGPSProperties {} unsafe impl ::core::marker::Sync for SystemGPSProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemImageProperties(::windows_core::IUnknown); impl SystemImageProperties { pub fn HorizontalSize(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6278,25 +5567,9 @@ impl SystemImageProperties { } } } -impl ::core::cmp::PartialEq for SystemImageProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemImageProperties {} -impl ::core::fmt::Debug for SystemImageProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemImageProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemImageProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemImageProperties;{011b2e30-8b39-4308-bea1-e8aa61e47826})"); } -impl ::core::clone::Clone for SystemImageProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemImageProperties { type Vtable = ISystemImageProperties_Vtbl; } @@ -6311,6 +5584,7 @@ unsafe impl ::core::marker::Send for SystemImageProperties {} unsafe impl ::core::marker::Sync for SystemImageProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMediaProperties(::windows_core::IUnknown); impl SystemMediaProperties { pub fn Duration(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6356,25 +5630,9 @@ impl SystemMediaProperties { } } } -impl ::core::cmp::PartialEq for SystemMediaProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMediaProperties {} -impl ::core::fmt::Debug for SystemMediaProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMediaProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMediaProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMediaProperties;{a42b3316-8415-40dc-8c44-98361d235430})"); } -impl ::core::clone::Clone for SystemMediaProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMediaProperties { type Vtable = ISystemMediaProperties_Vtbl; } @@ -6389,6 +5647,7 @@ unsafe impl ::core::marker::Send for SystemMediaProperties {} unsafe impl ::core::marker::Sync for SystemMediaProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMusicProperties(::windows_core::IUnknown); impl SystemMusicProperties { pub fn AlbumArtist(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6448,25 +5707,9 @@ impl SystemMusicProperties { } } } -impl ::core::cmp::PartialEq for SystemMusicProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMusicProperties {} -impl ::core::fmt::Debug for SystemMusicProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMusicProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMusicProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemMusicProperties;{b47988d5-67af-4bc3-8d39-5b89022026a1})"); } -impl ::core::clone::Clone for SystemMusicProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMusicProperties { type Vtable = ISystemMusicProperties_Vtbl; } @@ -6481,6 +5724,7 @@ unsafe impl ::core::marker::Send for SystemMusicProperties {} unsafe impl ::core::marker::Sync for SystemMusicProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemPhotoProperties(::windows_core::IUnknown); impl SystemPhotoProperties { pub fn CameraManufacturer(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6519,25 +5763,9 @@ impl SystemPhotoProperties { } } } -impl ::core::cmp::PartialEq for SystemPhotoProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemPhotoProperties {} -impl ::core::fmt::Debug for SystemPhotoProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemPhotoProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemPhotoProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemPhotoProperties;{4734fc3d-ab21-4424-b735-f4353a56c8fc})"); } -impl ::core::clone::Clone for SystemPhotoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemPhotoProperties { type Vtable = ISystemPhotoProperties_Vtbl; } @@ -6642,6 +5870,7 @@ impl ::windows_core::RuntimeName for SystemProperties { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemVideoProperties(::windows_core::IUnknown); impl SystemVideoProperties { pub fn Director(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6680,25 +5909,9 @@ impl SystemVideoProperties { } } } -impl ::core::cmp::PartialEq for SystemVideoProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemVideoProperties {} -impl ::core::fmt::Debug for SystemVideoProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemVideoProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemVideoProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.SystemVideoProperties;{2040f715-67f8-4322-9b80-4fa9fefb83e8})"); } -impl ::core::clone::Clone for SystemVideoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemVideoProperties { type Vtable = ISystemVideoProperties_Vtbl; } @@ -6713,6 +5926,7 @@ unsafe impl ::core::marker::Send for SystemVideoProperties {} unsafe impl ::core::marker::Sync for SystemVideoProperties {} #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDataPaths(::windows_core::IUnknown); impl UserDataPaths { pub fn CameraRoll(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -6871,25 +6085,9 @@ impl UserDataPaths { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserDataPaths { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDataPaths {} -impl ::core::fmt::Debug for UserDataPaths { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDataPaths").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDataPaths { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Storage.UserDataPaths;{f9c53912-abc4-46ff-8a2b-dc9d7fa6e52f})"); } -impl ::core::clone::Clone for UserDataPaths { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDataPaths { type Vtable = IUserDataPaths_Vtbl; } @@ -7465,6 +6663,7 @@ impl ::windows_core::RuntimeType for StreamedFileFailureMode { } #[doc = "*Required features: `\"Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationDataSetVersionHandler(pub ::windows_core::IUnknown); impl ApplicationDataSetVersionHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7490,9 +6689,12 @@ impl) -> ::windows_core::Res base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7517,25 +6719,9 @@ impl) -> ::windows_core::Res ((*this).invoke)(::windows_core::from_raw_borrowed(&setversionrequest)).into() } } -impl ::core::cmp::PartialEq for ApplicationDataSetVersionHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationDataSetVersionHandler {} -impl ::core::fmt::Debug for ApplicationDataSetVersionHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationDataSetVersionHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ApplicationDataSetVersionHandler { type Vtable = ApplicationDataSetVersionHandler_Vtbl; } -impl ::core::clone::Clone for ApplicationDataSetVersionHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ApplicationDataSetVersionHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa05791e6_cc9f_4687_acab_a364fd785463); } @@ -7551,6 +6737,7 @@ pub struct ApplicationDataSetVersionHandler_Vtbl { #[doc = "*Required features: `\"Storage\"`, `\"Storage_Streams\"`*"] #[cfg(feature = "Storage_Streams")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StreamedFileDataRequestedHandler(pub ::windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] impl StreamedFileDataRequestedHandler { @@ -7581,9 +6768,12 @@ impl) -> ::windows_cor base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7609,30 +6799,10 @@ impl) -> ::windows_cor } } #[cfg(feature = "Storage_Streams")] -impl ::core::cmp::PartialEq for StreamedFileDataRequestedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Storage_Streams")] -impl ::core::cmp::Eq for StreamedFileDataRequestedHandler {} -#[cfg(feature = "Storage_Streams")] -impl ::core::fmt::Debug for StreamedFileDataRequestedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StreamedFileDataRequestedHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::Interface for StreamedFileDataRequestedHandler { type Vtable = StreamedFileDataRequestedHandler_Vtbl; } #[cfg(feature = "Storage_Streams")] -impl ::core::clone::Clone for StreamedFileDataRequestedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Storage_Streams")] unsafe impl ::windows_core::ComInterface for StreamedFileDataRequestedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfef6a824_2fe1_4d07_a35b_b77c50b5f4cc); } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs index 88a4827249..3b65e6fae3 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalConnection { type Vtable = IDevicePortalConnection_Vtbl; } -impl ::core::clone::Clone for IDevicePortalConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f447f51_1198_4da1_8d54_bdef393e09b6); } @@ -35,15 +31,11 @@ pub struct IDevicePortalConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalConnectionClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalConnectionClosedEventArgs { type Vtable = IDevicePortalConnectionClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDevicePortalConnectionClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalConnectionClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcf70e38_7032_428c_9f50_945c15a9f0cb); } @@ -55,15 +47,11 @@ pub struct IDevicePortalConnectionClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalConnectionRequestReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalConnectionRequestReceivedEventArgs { type Vtable = IDevicePortalConnectionRequestReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDevicePortalConnectionRequestReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalConnectionRequestReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64dae045_6fda_4459_9ebd_ecce22e38559); } @@ -82,15 +70,11 @@ pub struct IDevicePortalConnectionRequestReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalConnectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalConnectionStatics { type Vtable = IDevicePortalConnectionStatics_Vtbl; } -impl ::core::clone::Clone for IDevicePortalConnectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalConnectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bbe31e7_e9b9_4645_8fed_a53eea0edbd6); } @@ -105,15 +89,11 @@ pub struct IDevicePortalConnectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalWebSocketConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalWebSocketConnection { type Vtable = IDevicePortalWebSocketConnection_Vtbl; } -impl ::core::clone::Clone for IDevicePortalWebSocketConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalWebSocketConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67657920_d65a_42f0_aef4_787808098b7b); } @@ -144,15 +124,11 @@ pub struct IDevicePortalWebSocketConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDevicePortalWebSocketConnectionRequestReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDevicePortalWebSocketConnectionRequestReceivedEventArgs { type Vtable = IDevicePortalWebSocketConnectionRequestReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IDevicePortalWebSocketConnectionRequestReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDevicePortalWebSocketConnectionRequestReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79fdcaba_175c_4739_9f74_dda797c35b3f); } @@ -172,6 +148,7 @@ pub struct IDevicePortalWebSocketConnectionRequestReceivedEventArgs_Vtbl { } #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePortalConnection(::windows_core::IUnknown); impl DevicePortalConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -287,25 +264,9 @@ impl DevicePortalConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DevicePortalConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePortalConnection {} -impl ::core::fmt::Debug for DevicePortalConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePortalConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePortalConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnection;{0f447f51-1198-4da1-8d54-bdef393e09b6})"); } -impl ::core::clone::Clone for DevicePortalConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePortalConnection { type Vtable = IDevicePortalConnection_Vtbl; } @@ -320,6 +281,7 @@ unsafe impl ::core::marker::Send for DevicePortalConnection {} unsafe impl ::core::marker::Sync for DevicePortalConnection {} #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePortalConnectionClosedEventArgs(::windows_core::IUnknown); impl DevicePortalConnectionClosedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -330,25 +292,9 @@ impl DevicePortalConnectionClosedEventArgs { } } } -impl ::core::cmp::PartialEq for DevicePortalConnectionClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePortalConnectionClosedEventArgs {} -impl ::core::fmt::Debug for DevicePortalConnectionClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePortalConnectionClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePortalConnectionClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionClosedEventArgs;{fcf70e38-7032-428c-9f50-945c15a9f0cb})"); } -impl ::core::clone::Clone for DevicePortalConnectionClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePortalConnectionClosedEventArgs { type Vtable = IDevicePortalConnectionClosedEventArgs_Vtbl; } @@ -363,6 +309,7 @@ unsafe impl ::core::marker::Send for DevicePortalConnectionClosedEventArgs {} unsafe impl ::core::marker::Sync for DevicePortalConnectionClosedEventArgs {} #[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DevicePortalConnectionRequestReceivedEventArgs(::windows_core::IUnknown); impl DevicePortalConnectionRequestReceivedEventArgs { #[doc = "*Required features: `\"Web_Http\"`*"] @@ -409,25 +356,9 @@ impl DevicePortalConnectionRequestReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for DevicePortalConnectionRequestReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DevicePortalConnectionRequestReceivedEventArgs {} -impl ::core::fmt::Debug for DevicePortalConnectionRequestReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DevicePortalConnectionRequestReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DevicePortalConnectionRequestReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DevicePortal.DevicePortalConnectionRequestReceivedEventArgs;{64dae045-6fda-4459-9ebd-ecce22e38559})"); } -impl ::core::clone::Clone for DevicePortalConnectionRequestReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DevicePortalConnectionRequestReceivedEventArgs { type Vtable = IDevicePortalConnectionRequestReceivedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs index 390765a77b..928c0b0428 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformTelemetryClientStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformTelemetryClientStatics { type Vtable = IPlatformTelemetryClientStatics_Vtbl; } -impl ::core::clone::Clone for IPlatformTelemetryClientStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformTelemetryClientStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bf3f25d_d5c3_4eea_8dbe_9c8dbb0d9d8f); } @@ -21,15 +17,11 @@ pub struct IPlatformTelemetryClientStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformTelemetryRegistrationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformTelemetryRegistrationResult { type Vtable = IPlatformTelemetryRegistrationResult_Vtbl; } -impl ::core::clone::Clone for IPlatformTelemetryRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformTelemetryRegistrationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d8518ab_2292_49bd_a15a_3d71d2145112); } @@ -41,15 +33,11 @@ pub struct IPlatformTelemetryRegistrationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformTelemetryRegistrationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformTelemetryRegistrationSettings { type Vtable = IPlatformTelemetryRegistrationSettings_Vtbl; } -impl ::core::clone::Clone for IPlatformTelemetryRegistrationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformTelemetryRegistrationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x819a8582_ca19_415e_bb79_9c224bfa3a73); } @@ -91,6 +79,7 @@ impl ::windows_core::RuntimeName for PlatformTelemetryClient { } #[doc = "*Required features: `\"System_Diagnostics_Telemetry\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlatformTelemetryRegistrationResult(::windows_core::IUnknown); impl PlatformTelemetryRegistrationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -101,25 +90,9 @@ impl PlatformTelemetryRegistrationResult { } } } -impl ::core::cmp::PartialEq for PlatformTelemetryRegistrationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlatformTelemetryRegistrationResult {} -impl ::core::fmt::Debug for PlatformTelemetryRegistrationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlatformTelemetryRegistrationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlatformTelemetryRegistrationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult;{4d8518ab-2292-49bd-a15a-3d71d2145112})"); } -impl ::core::clone::Clone for PlatformTelemetryRegistrationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlatformTelemetryRegistrationResult { type Vtable = IPlatformTelemetryRegistrationResult_Vtbl; } @@ -134,6 +107,7 @@ unsafe impl ::core::marker::Send for PlatformTelemetryRegistrationResult {} unsafe impl ::core::marker::Sync for PlatformTelemetryRegistrationResult {} #[doc = "*Required features: `\"System_Diagnostics_Telemetry\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlatformTelemetryRegistrationSettings(::windows_core::IUnknown); impl PlatformTelemetryRegistrationSettings { pub fn new() -> ::windows_core::Result { @@ -166,25 +140,9 @@ impl PlatformTelemetryRegistrationSettings { unsafe { (::windows_core::Interface::vtable(this).SetUploadQuotaSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PlatformTelemetryRegistrationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlatformTelemetryRegistrationSettings {} -impl ::core::fmt::Debug for PlatformTelemetryRegistrationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlatformTelemetryRegistrationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlatformTelemetryRegistrationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings;{819a8582-ca19-415e-bb79-9c224bfa3a73})"); } -impl ::core::clone::Clone for PlatformTelemetryRegistrationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlatformTelemetryRegistrationSettings { type Vtable = IPlatformTelemetryRegistrationSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs index 4dff95e34c..b32346a5a5 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformDiagnosticActionsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformDiagnosticActionsStatics { type Vtable = IPlatformDiagnosticActionsStatics_Vtbl; } -impl ::core::clone::Clone for IPlatformDiagnosticActionsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformDiagnosticActionsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1145cfa_9292_4267_890a_9ea3ed072312); } @@ -36,15 +32,11 @@ pub struct IPlatformDiagnosticActionsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformDiagnosticTraceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformDiagnosticTraceInfo { type Vtable = IPlatformDiagnosticTraceInfo_Vtbl; } -impl ::core::clone::Clone for IPlatformDiagnosticTraceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformDiagnosticTraceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf870ed97_d597_4bf7_88dc_cf5c7dc2a1d2); } @@ -61,15 +53,11 @@ pub struct IPlatformDiagnosticTraceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformDiagnosticTraceRuntimeInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformDiagnosticTraceRuntimeInfo { type Vtable = IPlatformDiagnosticTraceRuntimeInfo_Vtbl; } -impl ::core::clone::Clone for IPlatformDiagnosticTraceRuntimeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformDiagnosticTraceRuntimeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d4d5e2d_01d8_4768_8554_1eb1ca610986); } @@ -151,6 +139,7 @@ impl ::windows_core::RuntimeName for PlatformDiagnosticActions { } #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlatformDiagnosticTraceInfo(::windows_core::IUnknown); impl PlatformDiagnosticTraceInfo { pub fn ScenarioId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -196,25 +185,9 @@ impl PlatformDiagnosticTraceInfo { } } } -impl ::core::cmp::PartialEq for PlatformDiagnosticTraceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlatformDiagnosticTraceInfo {} -impl ::core::fmt::Debug for PlatformDiagnosticTraceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlatformDiagnosticTraceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlatformDiagnosticTraceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo;{f870ed97-d597-4bf7-88dc-cf5c7dc2a1d2})"); } -impl ::core::clone::Clone for PlatformDiagnosticTraceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlatformDiagnosticTraceInfo { type Vtable = IPlatformDiagnosticTraceInfo_Vtbl; } @@ -229,6 +202,7 @@ unsafe impl ::core::marker::Send for PlatformDiagnosticTraceInfo {} unsafe impl ::core::marker::Sync for PlatformDiagnosticTraceInfo {} #[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PlatformDiagnosticTraceRuntimeInfo(::windows_core::IUnknown); impl PlatformDiagnosticTraceRuntimeInfo { pub fn RuntimeFileTime(&self) -> ::windows_core::Result { @@ -246,25 +220,9 @@ impl PlatformDiagnosticTraceRuntimeInfo { } } } -impl ::core::cmp::PartialEq for PlatformDiagnosticTraceRuntimeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PlatformDiagnosticTraceRuntimeInfo {} -impl ::core::fmt::Debug for PlatformDiagnosticTraceRuntimeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PlatformDiagnosticTraceRuntimeInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PlatformDiagnosticTraceRuntimeInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo;{3d4d5e2d-01d8-4768-8554-1eb1ca610986})"); } -impl ::core::clone::Clone for PlatformDiagnosticTraceRuntimeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PlatformDiagnosticTraceRuntimeInfo { type Vtable = IPlatformDiagnosticTraceRuntimeInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 811d41abb6..2dcb70225d 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -6,15 +6,11 @@ pub mod Telemetry; pub mod TraceReporting; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticActionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticActionResult { type Vtable = IDiagnosticActionResult_Vtbl; } -impl ::core::clone::Clone for IDiagnosticActionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticActionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc265a296_e73b_4097_b28f_3442f03dd831); } @@ -30,15 +26,11 @@ pub struct IDiagnosticActionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticInvoker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticInvoker { type Vtable = IDiagnosticInvoker_Vtbl; } -impl ::core::clone::Clone for IDiagnosticInvoker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticInvoker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x187b270a_02e3_4f86_84fc_fdd892b5940f); } @@ -53,15 +45,11 @@ pub struct IDiagnosticInvoker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticInvoker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticInvoker2 { type Vtable = IDiagnosticInvoker2_Vtbl; } -impl ::core::clone::Clone for IDiagnosticInvoker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticInvoker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3bf945c_155a_4b52_a8ec_070c44f95000); } @@ -76,15 +64,11 @@ pub struct IDiagnosticInvoker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticInvokerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticInvokerStatics { type Vtable = IDiagnosticInvokerStatics_Vtbl; } -impl ::core::clone::Clone for IDiagnosticInvokerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticInvokerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cfad8de_f15c_4554_a813_c113c3881b09); } @@ -98,15 +82,11 @@ pub struct IDiagnosticInvokerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessCpuUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessCpuUsage { type Vtable = IProcessCpuUsage_Vtbl; } -impl ::core::clone::Clone for IProcessCpuUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessCpuUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bbb2472_c8bf_423a_a810_b559ae4354e2); } @@ -118,15 +98,11 @@ pub struct IProcessCpuUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessCpuUsageReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessCpuUsageReport { type Vtable = IProcessCpuUsageReport_Vtbl; } -impl ::core::clone::Clone for IProcessCpuUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessCpuUsageReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a6d9cac_3987_4e2f_a119_6b5fa214f1b4); } @@ -145,15 +121,11 @@ pub struct IProcessCpuUsageReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiagnosticInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiagnosticInfo { type Vtable = IProcessDiagnosticInfo_Vtbl; } -impl ::core::clone::Clone for IProcessDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiagnosticInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe830b04b_300e_4ee6_a0ab_5b5f5231b434); } @@ -174,15 +146,11 @@ pub struct IProcessDiagnosticInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiagnosticInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiagnosticInfo2 { type Vtable = IProcessDiagnosticInfo2_Vtbl; } -impl ::core::clone::Clone for IProcessDiagnosticInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiagnosticInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9558cb1a_3d0b_49ec_ab70_4f7a112805de); } @@ -198,15 +166,11 @@ pub struct IProcessDiagnosticInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiagnosticInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiagnosticInfoStatics { type Vtable = IProcessDiagnosticInfoStatics_Vtbl; } -impl ::core::clone::Clone for IProcessDiagnosticInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiagnosticInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f41b260_b49f_428c_aa0e_84744f49ca95); } @@ -222,15 +186,11 @@ pub struct IProcessDiagnosticInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiagnosticInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiagnosticInfoStatics2 { type Vtable = IProcessDiagnosticInfoStatics2_Vtbl; } -impl ::core::clone::Clone for IProcessDiagnosticInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiagnosticInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a869897_9899_4a44_a29b_091663be09b6); } @@ -242,15 +202,11 @@ pub struct IProcessDiagnosticInfoStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiskUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiskUsage { type Vtable = IProcessDiskUsage_Vtbl; } -impl ::core::clone::Clone for IProcessDiskUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiskUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ad78bfd_7e51_4e53_bfaa_5a6ee1aabbf8); } @@ -262,15 +218,11 @@ pub struct IProcessDiskUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDiskUsageReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessDiskUsageReport { type Vtable = IProcessDiskUsageReport_Vtbl; } -impl ::core::clone::Clone for IProcessDiskUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDiskUsageReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x401627fd_535d_4c1f_81b8_da54e1be635e); } @@ -287,15 +239,11 @@ pub struct IProcessDiskUsageReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessMemoryUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessMemoryUsage { type Vtable = IProcessMemoryUsage_Vtbl; } -impl ::core::clone::Clone for IProcessMemoryUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessMemoryUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf50b229b_827c_42b7_b07c_0e32627e6b3e); } @@ -307,15 +255,11 @@ pub struct IProcessMemoryUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessMemoryUsageReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessMemoryUsageReport { type Vtable = IProcessMemoryUsageReport_Vtbl; } -impl ::core::clone::Clone for IProcessMemoryUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessMemoryUsageReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2c77cba_1951_4685_8532_7e749ecf8eeb); } @@ -338,15 +282,11 @@ pub struct IProcessMemoryUsageReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemCpuUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemCpuUsage { type Vtable = ISystemCpuUsage_Vtbl; } -impl ::core::clone::Clone for ISystemCpuUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemCpuUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6037b3ac_02d6_4234_8362_7fe3adc81f5f); } @@ -358,15 +298,11 @@ pub struct ISystemCpuUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemCpuUsageReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemCpuUsageReport { type Vtable = ISystemCpuUsageReport_Vtbl; } -impl ::core::clone::Clone for ISystemCpuUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemCpuUsageReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c26d0b2_9483_4f62_ab57_82b29d9719b8); } @@ -389,15 +325,11 @@ pub struct ISystemCpuUsageReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemDiagnosticInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemDiagnosticInfo { type Vtable = ISystemDiagnosticInfo_Vtbl; } -impl ::core::clone::Clone for ISystemDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemDiagnosticInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa290fe05_dff3_407f_9a1b_0b2b317ca800); } @@ -410,15 +342,11 @@ pub struct ISystemDiagnosticInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemDiagnosticInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemDiagnosticInfoStatics { type Vtable = ISystemDiagnosticInfoStatics_Vtbl; } -impl ::core::clone::Clone for ISystemDiagnosticInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemDiagnosticInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd404ac21_fc7d_45f0_9a3f_39203aed9f7e); } @@ -430,15 +358,11 @@ pub struct ISystemDiagnosticInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemDiagnosticInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemDiagnosticInfoStatics2 { type Vtable = ISystemDiagnosticInfoStatics2_Vtbl; } -impl ::core::clone::Clone for ISystemDiagnosticInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemDiagnosticInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79ded189_6af9_4da9_a422_15f73255b3eb); } @@ -451,15 +375,11 @@ pub struct ISystemDiagnosticInfoStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMemoryUsage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMemoryUsage { type Vtable = ISystemMemoryUsage_Vtbl; } -impl ::core::clone::Clone for ISystemMemoryUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMemoryUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17ffc595_1702_49cf_aa27_2f0a32591404); } @@ -471,15 +391,11 @@ pub struct ISystemMemoryUsage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMemoryUsageReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemMemoryUsageReport { type Vtable = ISystemMemoryUsageReport_Vtbl; } -impl ::core::clone::Clone for ISystemMemoryUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMemoryUsageReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38663c87_2a9f_403a_bd19_2cf3e8169500); } @@ -493,6 +409,7 @@ pub struct ISystemMemoryUsageReport_Vtbl { } #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DiagnosticActionResult(::windows_core::IUnknown); impl DiagnosticActionResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -512,25 +429,9 @@ impl DiagnosticActionResult { } } } -impl ::core::cmp::PartialEq for DiagnosticActionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DiagnosticActionResult {} -impl ::core::fmt::Debug for DiagnosticActionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DiagnosticActionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DiagnosticActionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticActionResult;{c265a296-e73b-4097-b28f-3442f03dd831})"); } -impl ::core::clone::Clone for DiagnosticActionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DiagnosticActionResult { type Vtable = IDiagnosticActionResult_Vtbl; } @@ -545,6 +446,7 @@ unsafe impl ::core::marker::Send for DiagnosticActionResult {} unsafe impl ::core::marker::Sync for DiagnosticActionResult {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DiagnosticInvoker(::windows_core::IUnknown); impl DiagnosticInvoker { #[doc = "*Required features: `\"Data_Json\"`, `\"Foundation\"`*"] @@ -595,25 +497,9 @@ impl DiagnosticInvoker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DiagnosticInvoker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DiagnosticInvoker {} -impl ::core::fmt::Debug for DiagnosticInvoker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DiagnosticInvoker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DiagnosticInvoker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.DiagnosticInvoker;{187b270a-02e3-4f86-84fc-fdd892b5940f})"); } -impl ::core::clone::Clone for DiagnosticInvoker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DiagnosticInvoker { type Vtable = IDiagnosticInvoker_Vtbl; } @@ -628,6 +514,7 @@ unsafe impl ::core::marker::Send for DiagnosticInvoker {} unsafe impl ::core::marker::Sync for DiagnosticInvoker {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessCpuUsage(::windows_core::IUnknown); impl ProcessCpuUsage { pub fn GetReport(&self) -> ::windows_core::Result { @@ -638,25 +525,9 @@ impl ProcessCpuUsage { } } } -impl ::core::cmp::PartialEq for ProcessCpuUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessCpuUsage {} -impl ::core::fmt::Debug for ProcessCpuUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessCpuUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessCpuUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsage;{0bbb2472-c8bf-423a-a810-b559ae4354e2})"); } -impl ::core::clone::Clone for ProcessCpuUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessCpuUsage { type Vtable = IProcessCpuUsage_Vtbl; } @@ -671,6 +542,7 @@ unsafe impl ::core::marker::Send for ProcessCpuUsage {} unsafe impl ::core::marker::Sync for ProcessCpuUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessCpuUsageReport(::windows_core::IUnknown); impl ProcessCpuUsageReport { #[doc = "*Required features: `\"Foundation\"`*"] @@ -692,25 +564,9 @@ impl ProcessCpuUsageReport { } } } -impl ::core::cmp::PartialEq for ProcessCpuUsageReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessCpuUsageReport {} -impl ::core::fmt::Debug for ProcessCpuUsageReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessCpuUsageReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessCpuUsageReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessCpuUsageReport;{8a6d9cac-3987-4e2f-a119-6b5fa214f1b4})"); } -impl ::core::clone::Clone for ProcessCpuUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessCpuUsageReport { type Vtable = IProcessCpuUsageReport_Vtbl; } @@ -725,6 +581,7 @@ unsafe impl ::core::marker::Send for ProcessCpuUsageReport {} unsafe impl ::core::marker::Sync for ProcessCpuUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessDiagnosticInfo(::windows_core::IUnknown); impl ProcessDiagnosticInfo { pub fn ProcessId(&self) -> ::windows_core::Result { @@ -825,25 +682,9 @@ impl ProcessDiagnosticInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ProcessDiagnosticInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessDiagnosticInfo {} -impl ::core::fmt::Debug for ProcessDiagnosticInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessDiagnosticInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessDiagnosticInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiagnosticInfo;{e830b04b-300e-4ee6-a0ab-5b5f5231b434})"); } -impl ::core::clone::Clone for ProcessDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessDiagnosticInfo { type Vtable = IProcessDiagnosticInfo_Vtbl; } @@ -858,6 +699,7 @@ unsafe impl ::core::marker::Send for ProcessDiagnosticInfo {} unsafe impl ::core::marker::Sync for ProcessDiagnosticInfo {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessDiskUsage(::windows_core::IUnknown); impl ProcessDiskUsage { pub fn GetReport(&self) -> ::windows_core::Result { @@ -868,25 +710,9 @@ impl ProcessDiskUsage { } } } -impl ::core::cmp::PartialEq for ProcessDiskUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessDiskUsage {} -impl ::core::fmt::Debug for ProcessDiskUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessDiskUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessDiskUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsage;{5ad78bfd-7e51-4e53-bfaa-5a6ee1aabbf8})"); } -impl ::core::clone::Clone for ProcessDiskUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessDiskUsage { type Vtable = IProcessDiskUsage_Vtbl; } @@ -901,6 +727,7 @@ unsafe impl ::core::marker::Send for ProcessDiskUsage {} unsafe impl ::core::marker::Sync for ProcessDiskUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessDiskUsageReport(::windows_core::IUnknown); impl ProcessDiskUsageReport { pub fn ReadOperationCount(&self) -> ::windows_core::Result { @@ -946,25 +773,9 @@ impl ProcessDiskUsageReport { } } } -impl ::core::cmp::PartialEq for ProcessDiskUsageReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessDiskUsageReport {} -impl ::core::fmt::Debug for ProcessDiskUsageReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessDiskUsageReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessDiskUsageReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessDiskUsageReport;{401627fd-535d-4c1f-81b8-da54e1be635e})"); } -impl ::core::clone::Clone for ProcessDiskUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessDiskUsageReport { type Vtable = IProcessDiskUsageReport_Vtbl; } @@ -979,6 +790,7 @@ unsafe impl ::core::marker::Send for ProcessDiskUsageReport {} unsafe impl ::core::marker::Sync for ProcessDiskUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessMemoryUsage(::windows_core::IUnknown); impl ProcessMemoryUsage { pub fn GetReport(&self) -> ::windows_core::Result { @@ -989,25 +801,9 @@ impl ProcessMemoryUsage { } } } -impl ::core::cmp::PartialEq for ProcessMemoryUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessMemoryUsage {} -impl ::core::fmt::Debug for ProcessMemoryUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessMemoryUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessMemoryUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsage;{f50b229b-827c-42b7-b07c-0e32627e6b3e})"); } -impl ::core::clone::Clone for ProcessMemoryUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessMemoryUsage { type Vtable = IProcessMemoryUsage_Vtbl; } @@ -1022,6 +818,7 @@ unsafe impl ::core::marker::Send for ProcessMemoryUsage {} unsafe impl ::core::marker::Sync for ProcessMemoryUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessMemoryUsageReport(::windows_core::IUnknown); impl ProcessMemoryUsageReport { pub fn NonPagedPoolSizeInBytes(&self) -> ::windows_core::Result { @@ -1109,25 +906,9 @@ impl ProcessMemoryUsageReport { } } } -impl ::core::cmp::PartialEq for ProcessMemoryUsageReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessMemoryUsageReport {} -impl ::core::fmt::Debug for ProcessMemoryUsageReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessMemoryUsageReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessMemoryUsageReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.ProcessMemoryUsageReport;{c2c77cba-1951-4685-8532-7e749ecf8eeb})"); } -impl ::core::clone::Clone for ProcessMemoryUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessMemoryUsageReport { type Vtable = IProcessMemoryUsageReport_Vtbl; } @@ -1142,6 +923,7 @@ unsafe impl ::core::marker::Send for ProcessMemoryUsageReport {} unsafe impl ::core::marker::Sync for ProcessMemoryUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemCpuUsage(::windows_core::IUnknown); impl SystemCpuUsage { pub fn GetReport(&self) -> ::windows_core::Result { @@ -1152,25 +934,9 @@ impl SystemCpuUsage { } } } -impl ::core::cmp::PartialEq for SystemCpuUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemCpuUsage {} -impl ::core::fmt::Debug for SystemCpuUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemCpuUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemCpuUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsage;{6037b3ac-02d6-4234-8362-7fe3adc81f5f})"); } -impl ::core::clone::Clone for SystemCpuUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemCpuUsage { type Vtable = ISystemCpuUsage_Vtbl; } @@ -1185,6 +951,7 @@ unsafe impl ::core::marker::Send for SystemCpuUsage {} unsafe impl ::core::marker::Sync for SystemCpuUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemCpuUsageReport(::windows_core::IUnknown); impl SystemCpuUsageReport { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1215,25 +982,9 @@ impl SystemCpuUsageReport { } } } -impl ::core::cmp::PartialEq for SystemCpuUsageReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemCpuUsageReport {} -impl ::core::fmt::Debug for SystemCpuUsageReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemCpuUsageReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemCpuUsageReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemCpuUsageReport;{2c26d0b2-9483-4f62-ab57-82b29d9719b8})"); } -impl ::core::clone::Clone for SystemCpuUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemCpuUsageReport { type Vtable = ISystemCpuUsageReport_Vtbl; } @@ -1248,6 +999,7 @@ unsafe impl ::core::marker::Send for SystemCpuUsageReport {} unsafe impl ::core::marker::Sync for SystemCpuUsageReport {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemDiagnosticInfo(::windows_core::IUnknown); impl SystemDiagnosticInfo { pub fn MemoryUsage(&self) -> ::windows_core::Result { @@ -1293,25 +1045,9 @@ impl SystemDiagnosticInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemDiagnosticInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemDiagnosticInfo {} -impl ::core::fmt::Debug for SystemDiagnosticInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemDiagnosticInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemDiagnosticInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemDiagnosticInfo;{a290fe05-dff3-407f-9a1b-0b2b317ca800})"); } -impl ::core::clone::Clone for SystemDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemDiagnosticInfo { type Vtable = ISystemDiagnosticInfo_Vtbl; } @@ -1326,6 +1062,7 @@ unsafe impl ::core::marker::Send for SystemDiagnosticInfo {} unsafe impl ::core::marker::Sync for SystemDiagnosticInfo {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMemoryUsage(::windows_core::IUnknown); impl SystemMemoryUsage { pub fn GetReport(&self) -> ::windows_core::Result { @@ -1336,25 +1073,9 @@ impl SystemMemoryUsage { } } } -impl ::core::cmp::PartialEq for SystemMemoryUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMemoryUsage {} -impl ::core::fmt::Debug for SystemMemoryUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMemoryUsage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMemoryUsage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsage;{17ffc595-1702-49cf-aa27-2f0a32591404})"); } -impl ::core::clone::Clone for SystemMemoryUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMemoryUsage { type Vtable = ISystemMemoryUsage_Vtbl; } @@ -1369,6 +1090,7 @@ unsafe impl ::core::marker::Send for SystemMemoryUsage {} unsafe impl ::core::marker::Sync for SystemMemoryUsage {} #[doc = "*Required features: `\"System_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemMemoryUsageReport(::windows_core::IUnknown); impl SystemMemoryUsageReport { pub fn TotalPhysicalSizeInBytes(&self) -> ::windows_core::Result { @@ -1393,25 +1115,9 @@ impl SystemMemoryUsageReport { } } } -impl ::core::cmp::PartialEq for SystemMemoryUsageReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemMemoryUsageReport {} -impl ::core::fmt::Debug for SystemMemoryUsageReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemMemoryUsageReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemMemoryUsageReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Diagnostics.SystemMemoryUsageReport;{38663c87-2a9f-403a-bd19-2cf3e8169500})"); } -impl ::core::clone::Clone for SystemMemoryUsageReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemMemoryUsageReport { type Vtable = ISystemMemoryUsageReport_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Display/mod.rs b/crates/libs/windows/src/Windows/System/Display/mod.rs index 3486a818cb..3ecacba5e2 100644 --- a/crates/libs/windows/src/Windows/System/Display/mod.rs +++ b/crates/libs/windows/src/Windows/System/Display/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayRequest { type Vtable = IDisplayRequest_Vtbl; } -impl ::core::clone::Clone for IDisplayRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5732044_f49f_4b60_8dd4_5e7e3a632ac0); } @@ -21,6 +17,7 @@ pub struct IDisplayRequest_Vtbl { } #[doc = "*Required features: `\"System_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayRequest(::windows_core::IUnknown); impl DisplayRequest { pub fn new() -> ::windows_core::Result { @@ -39,25 +36,9 @@ impl DisplayRequest { unsafe { (::windows_core::Interface::vtable(this).RequestRelease)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for DisplayRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayRequest {} -impl ::core::fmt::Debug for DisplayRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Display.DisplayRequest;{e5732044-f49f-4b60-8dd4-5e7e3a632ac0})"); } -impl ::core::clone::Clone for DisplayRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayRequest { type Vtable = IDisplayRequest_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs index a9fbf2e199..8aa7fc1946 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs @@ -33,8 +33,8 @@ impl ISysStorageProviderEventSource_Vtbl { RemoveEventReceived: RemoveEventReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl ISysStorageProviderHandlerFactory_Vtbl { GetEventSource: GetEventSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`, `\"Foundation\"`, `\"Web_Http\"`, `\"implement\"`*"] @@ -110,7 +110,7 @@ impl ISysStorageProviderHttpRequestProvider_Vtbl { SendRequestAsync: SendRequestAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs index 07696616fe..55a1d5aa9d 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISysStorageProviderEventReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISysStorageProviderEventReceivedEventArgs { type Vtable = ISysStorageProviderEventReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISysStorageProviderEventReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISysStorageProviderEventReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe132d1b9_7b9d_5820_9728_4262b5289142); } @@ -20,15 +16,11 @@ pub struct ISysStorageProviderEventReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISysStorageProviderEventReceivedEventArgsFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISysStorageProviderEventReceivedEventArgsFactory { type Vtable = ISysStorageProviderEventReceivedEventArgsFactory_Vtbl; } -impl ::core::clone::Clone for ISysStorageProviderEventReceivedEventArgsFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISysStorageProviderEventReceivedEventArgsFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde1a780e_e975_5f68_bcc6_fb46281c6a61); } @@ -40,6 +32,7 @@ pub struct ISysStorageProviderEventReceivedEventArgsFactory_Vtbl { } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISysStorageProviderEventSource(::windows_core::IUnknown); impl ISysStorageProviderEventSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -62,28 +55,12 @@ impl ISysStorageProviderEventSource { } } ::windows_core::imp::interface_hierarchy!(ISysStorageProviderEventSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISysStorageProviderEventSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISysStorageProviderEventSource {} -impl ::core::fmt::Debug for ISysStorageProviderEventSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISysStorageProviderEventSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISysStorageProviderEventSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1f36c476-9546-536a-8381-2f9a2c08cedd}"); } unsafe impl ::windows_core::Interface for ISysStorageProviderEventSource { type Vtable = ISysStorageProviderEventSource_Vtbl; } -impl ::core::clone::Clone for ISysStorageProviderEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISysStorageProviderEventSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f36c476_9546_536a_8381_2f9a2c08cedd); } @@ -102,6 +79,7 @@ pub struct ISysStorageProviderEventSource_Vtbl { } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISysStorageProviderHandlerFactory(::windows_core::IUnknown); impl ISysStorageProviderHandlerFactory { pub fn GetHttpRequestProvider(&self, syncrootid: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -120,28 +98,12 @@ impl ISysStorageProviderHandlerFactory { } } ::windows_core::imp::interface_hierarchy!(ISysStorageProviderHandlerFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISysStorageProviderHandlerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISysStorageProviderHandlerFactory {} -impl ::core::fmt::Debug for ISysStorageProviderHandlerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISysStorageProviderHandlerFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISysStorageProviderHandlerFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ee798431-8213-5e89-a623-14d8c72b8a61}"); } unsafe impl ::windows_core::Interface for ISysStorageProviderHandlerFactory { type Vtable = ISysStorageProviderHandlerFactory_Vtbl; } -impl ::core::clone::Clone for ISysStorageProviderHandlerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISysStorageProviderHandlerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee798431_8213_5e89_a623_14d8c72b8a61); } @@ -154,6 +116,7 @@ pub struct ISysStorageProviderHandlerFactory_Vtbl { } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISysStorageProviderHttpRequestProvider(::windows_core::IUnknown); impl ISysStorageProviderHttpRequestProvider { #[doc = "*Required features: `\"Foundation\"`, `\"Web_Http\"`*"] @@ -170,28 +133,12 @@ impl ISysStorageProviderHttpRequestProvider { } } ::windows_core::imp::interface_hierarchy!(ISysStorageProviderHttpRequestProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISysStorageProviderHttpRequestProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISysStorageProviderHttpRequestProvider {} -impl ::core::fmt::Debug for ISysStorageProviderHttpRequestProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISysStorageProviderHttpRequestProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISysStorageProviderHttpRequestProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{cb6fefb6-e76a-5c25-a33e-3e78a6e0e0ce}"); } unsafe impl ::windows_core::Interface for ISysStorageProviderHttpRequestProvider { type Vtable = ISysStorageProviderHttpRequestProvider_Vtbl; } -impl ::core::clone::Clone for ISysStorageProviderHttpRequestProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISysStorageProviderHttpRequestProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb6fefb6_e76a_5c25_a33e_3e78a6e0e0ce); } @@ -206,6 +153,7 @@ pub struct ISysStorageProviderHttpRequestProvider_Vtbl { } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SysStorageProviderEventReceivedEventArgs(::windows_core::IUnknown); impl SysStorageProviderEventReceivedEventArgs { pub fn Json(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -227,25 +175,9 @@ impl SysStorageProviderEventReceivedEventArgs { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SysStorageProviderEventReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SysStorageProviderEventReceivedEventArgs {} -impl ::core::fmt::Debug for SysStorageProviderEventReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SysStorageProviderEventReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SysStorageProviderEventReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Implementation.FileExplorer.SysStorageProviderEventReceivedEventArgs;{e132d1b9-7b9d-5820-9728-4262b5289142})"); } -impl ::core::clone::Clone for SysStorageProviderEventReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SysStorageProviderEventReceivedEventArgs { type Vtable = ISysStorageProviderEventReceivedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index 95131197fb..a809cc2891 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstalledDesktopApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstalledDesktopApp { type Vtable = IInstalledDesktopApp_Vtbl; } -impl ::core::clone::Clone for IInstalledDesktopApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstalledDesktopApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75eab8ed_c0bc_5364_4c28_166e0545167a); } @@ -23,15 +19,11 @@ pub struct IInstalledDesktopApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstalledDesktopAppStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInstalledDesktopAppStatics { type Vtable = IInstalledDesktopAppStatics_Vtbl; } -impl ::core::clone::Clone for IInstalledDesktopAppStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstalledDesktopAppStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x264cf74e_21cd_5f9b_6056_7866ad72489a); } @@ -46,6 +38,7 @@ pub struct IInstalledDesktopAppStatics_Vtbl { } #[doc = "*Required features: `\"System_Inventory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InstalledDesktopApp(::windows_core::IUnknown); impl InstalledDesktopApp { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -99,25 +92,9 @@ impl InstalledDesktopApp { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InstalledDesktopApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InstalledDesktopApp {} -impl ::core::fmt::Debug for InstalledDesktopApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InstalledDesktopApp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InstalledDesktopApp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Inventory.InstalledDesktopApp;{75eab8ed-c0bc-5364-4c28-166e0545167a})"); } -impl ::core::clone::Clone for InstalledDesktopApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InstalledDesktopApp { type Vtable = IInstalledDesktopApp_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index 795e6bd7e1..99de0c6dfb 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -1,18 +1,13 @@ #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundEnergyManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IBackgroundEnergyManagerStatics { type Vtable = IBackgroundEnergyManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IBackgroundEnergyManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IBackgroundEnergyManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3161d95_1180_4376_96e1_4095568147ce); } @@ -73,18 +68,13 @@ pub struct IBackgroundEnergyManagerStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IForegroundEnergyManagerStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IForegroundEnergyManagerStatics { type Vtable = IForegroundEnergyManagerStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IForegroundEnergyManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IForegroundEnergyManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ff86872_e677_4814_9a20_5337ca732b98); } @@ -136,15 +126,11 @@ pub struct IForegroundEnergyManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPowerManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPowerManagerStatics { type Vtable = IPowerManagerStatics_Vtbl; } -impl ::core::clone::Clone for IPowerManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPowerManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1394825d_62ce_4364_98d5_aa28c7fbd15b); } diff --git a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs index 56c741162a..4992e3442f 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOemSupportInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOemSupportInfo { type Vtable = IOemSupportInfo_Vtbl; } -impl ::core::clone::Clone for IOemSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOemSupportInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d2eae55_87ef_4266_86d0_c4afbeb29bb9); } @@ -28,15 +24,11 @@ pub struct IOemSupportInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmbiosInformationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmbiosInformationStatics { type Vtable = ISmbiosInformationStatics_Vtbl; } -impl ::core::clone::Clone for ISmbiosInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmbiosInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x080cca7c_637c_48c4_b728_f9273812db8e); } @@ -48,15 +40,11 @@ pub struct ISmbiosInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemSupportDeviceInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemSupportDeviceInfo { type Vtable = ISystemSupportDeviceInfo_Vtbl; } -impl ::core::clone::Clone for ISystemSupportDeviceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemSupportDeviceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05880b99_8247_441b_a996_a1784bab79a8); } @@ -74,15 +62,11 @@ pub struct ISystemSupportDeviceInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemSupportInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemSupportInfoStatics { type Vtable = ISystemSupportInfoStatics_Vtbl; } -impl ::core::clone::Clone for ISystemSupportInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemSupportInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef750974_c422_45d7_a44d_5c1c0043a2b3); } @@ -95,15 +79,11 @@ pub struct ISystemSupportInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemSupportInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemSupportInfoStatics2 { type Vtable = ISystemSupportInfoStatics2_Vtbl; } -impl ::core::clone::Clone for ISystemSupportInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemSupportInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33f349a4_3fa1_4986_aa4b_057420455e6d); } @@ -115,6 +95,7 @@ pub struct ISystemSupportInfoStatics2_Vtbl { } #[doc = "*Required features: `\"System_Profile_SystemManufacturers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OemSupportInfo(::windows_core::IUnknown); impl OemSupportInfo { #[doc = "*Required features: `\"Foundation\"`*"] @@ -143,25 +124,9 @@ impl OemSupportInfo { } } } -impl ::core::cmp::PartialEq for OemSupportInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OemSupportInfo {} -impl ::core::fmt::Debug for OemSupportInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OemSupportInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OemSupportInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.OemSupportInfo;{8d2eae55-87ef-4266-86d0-c4afbeb29bb9})"); } -impl ::core::clone::Clone for OemSupportInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OemSupportInfo { type Vtable = IOemSupportInfo_Vtbl; } @@ -194,6 +159,7 @@ impl ::windows_core::RuntimeName for SmbiosInformation { } #[doc = "*Required features: `\"System_Profile_SystemManufacturers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemSupportDeviceInfo(::windows_core::IUnknown); impl SystemSupportDeviceInfo { pub fn OperatingSystem(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -246,25 +212,9 @@ impl SystemSupportDeviceInfo { } } } -impl ::core::cmp::PartialEq for SystemSupportDeviceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemSupportDeviceInfo {} -impl ::core::fmt::Debug for SystemSupportDeviceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemSupportDeviceInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemSupportDeviceInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo;{05880b99-8247-441b-a996-a1784bab79a8})"); } -impl ::core::clone::Clone for SystemSupportDeviceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemSupportDeviceInfo { type Vtable = ISystemSupportDeviceInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index 5701cc8812..b33c6caea2 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -2,15 +2,11 @@ pub mod SystemManufacturers; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalyticsInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnalyticsInfoStatics { type Vtable = IAnalyticsInfoStatics_Vtbl; } -impl ::core::clone::Clone for IAnalyticsInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnalyticsInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d5ee066_188d_5ba9_4387_acaeb0e7e305); } @@ -23,15 +19,11 @@ pub struct IAnalyticsInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalyticsInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnalyticsInfoStatics2 { type Vtable = IAnalyticsInfoStatics2_Vtbl; } -impl ::core::clone::Clone for IAnalyticsInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnalyticsInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x101704ea_a7f9_46d2_ab94_016865afdb25); } @@ -46,15 +38,11 @@ pub struct IAnalyticsInfoStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalyticsVersionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnalyticsVersionInfo { type Vtable = IAnalyticsVersionInfo_Vtbl; } -impl ::core::clone::Clone for IAnalyticsVersionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnalyticsVersionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x926130b8_9955_4c74_bdc1_7cd0decf9b03); } @@ -67,15 +55,11 @@ pub struct IAnalyticsVersionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalyticsVersionInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnalyticsVersionInfo2 { type Vtable = IAnalyticsVersionInfo2_Vtbl; } -impl ::core::clone::Clone for IAnalyticsVersionInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnalyticsVersionInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76e915b1_ff36_407c_9f57_160d3e540747); } @@ -87,15 +71,11 @@ pub struct IAnalyticsVersionInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppApplicabilityStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppApplicabilityStatics { type Vtable = IAppApplicabilityStatics_Vtbl; } -impl ::core::clone::Clone for IAppApplicabilityStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppApplicabilityStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1664a082_0f38_5c99_83e4_48995970861c); } @@ -110,15 +90,11 @@ pub struct IAppApplicabilityStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEducationSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEducationSettingsStatics { type Vtable = IEducationSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IEducationSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEducationSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc53f0ef_4d3e_4e13_9b23_505f4d091e92); } @@ -130,15 +106,11 @@ pub struct IEducationSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHardwareIdentificationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHardwareIdentificationStatics { type Vtable = IHardwareIdentificationStatics_Vtbl; } -impl ::core::clone::Clone for IHardwareIdentificationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHardwareIdentificationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x971260e0_f170_4a42_bd55_a900b212dae2); } @@ -153,15 +125,11 @@ pub struct IHardwareIdentificationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHardwareToken(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHardwareToken { type Vtable = IHardwareToken_Vtbl; } -impl ::core::clone::Clone for IHardwareToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHardwareToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28f6d4c0_fb12_40a4_8167_7f4e03d2724c); } @@ -184,15 +152,11 @@ pub struct IHardwareToken_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownRetailInfoPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownRetailInfoPropertiesStatics { type Vtable = IKnownRetailInfoPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownRetailInfoPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownRetailInfoPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99571178_500f_487e_8e75_29e551728712); } @@ -225,15 +189,11 @@ pub struct IKnownRetailInfoPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlatformDiagnosticsAndUsageDataSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPlatformDiagnosticsAndUsageDataSettingsStatics { type Vtable = IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IPlatformDiagnosticsAndUsageDataSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlatformDiagnosticsAndUsageDataSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6e24c1b_7b1c_4b32_8c62_a66597ce723a); } @@ -254,15 +214,11 @@ pub struct IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRetailInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRetailInfoStatics { type Vtable = IRetailInfoStatics_Vtbl; } -impl ::core::clone::Clone for IRetailInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRetailInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0712c6b8_8b92_4f2a_8499_031f1798d6ef); } @@ -278,15 +234,11 @@ pub struct IRetailInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedModeSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedModeSettingsStatics { type Vtable = ISharedModeSettingsStatics_Vtbl; } -impl ::core::clone::Clone for ISharedModeSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedModeSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x893df40e_cad6_4d50_8c49_6fcfc03edb29); } @@ -298,15 +250,11 @@ pub struct ISharedModeSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedModeSettingsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISharedModeSettingsStatics2 { type Vtable = ISharedModeSettingsStatics2_Vtbl; } -impl ::core::clone::Clone for ISharedModeSettingsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedModeSettingsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x608988a4_ccf1_4ee8_a5e2_fd6a1d0cfac8); } @@ -318,15 +266,11 @@ pub struct ISharedModeSettingsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmartAppControlPolicyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISmartAppControlPolicyStatics { type Vtable = ISmartAppControlPolicyStatics_Vtbl; } -impl ::core::clone::Clone for ISmartAppControlPolicyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISmartAppControlPolicyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ff8c75b_073e_5015_8d98_5ff224180a0b); } @@ -346,15 +290,11 @@ pub struct ISmartAppControlPolicyStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemIdentificationInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemIdentificationInfo { type Vtable = ISystemIdentificationInfo_Vtbl; } -impl ::core::clone::Clone for ISystemIdentificationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemIdentificationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c659e7d_c3c2_4d33_a2df_21bc41916eb3); } @@ -370,15 +310,11 @@ pub struct ISystemIdentificationInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemIdentificationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemIdentificationStatics { type Vtable = ISystemIdentificationStatics_Vtbl; } -impl ::core::clone::Clone for ISystemIdentificationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemIdentificationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5581f42a_d3df_4d93_a37d_c41a616c6d01); } @@ -391,15 +327,11 @@ pub struct ISystemIdentificationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemSetupInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemSetupInfoStatics { type Vtable = ISystemSetupInfoStatics_Vtbl; } -impl ::core::clone::Clone for ISystemSetupInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemSetupInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8366a4b_fb6a_4571_be0a_9a0f67954123); } @@ -419,15 +351,11 @@ pub struct ISystemSetupInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnsupportedAppRequirement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUnsupportedAppRequirement { type Vtable = IUnsupportedAppRequirement_Vtbl; } -impl ::core::clone::Clone for IUnsupportedAppRequirement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnsupportedAppRequirement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6182445c_894b_5cbc_8976_a98e0a9b998d); } @@ -440,15 +368,11 @@ pub struct IUnsupportedAppRequirement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsIntegrityPolicyStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowsIntegrityPolicyStatics { type Vtable = IWindowsIntegrityPolicyStatics_Vtbl; } -impl ::core::clone::Clone for IWindowsIntegrityPolicyStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsIntegrityPolicyStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d1d81db_8d63_4789_9ea5_ddcf65a94f3c); } @@ -511,6 +435,7 @@ impl ::windows_core::RuntimeName for AnalyticsInfo { } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AnalyticsVersionInfo(::windows_core::IUnknown); impl AnalyticsVersionInfo { pub fn DeviceFamily(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -535,25 +460,9 @@ impl AnalyticsVersionInfo { } } } -impl ::core::cmp::PartialEq for AnalyticsVersionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AnalyticsVersionInfo {} -impl ::core::fmt::Debug for AnalyticsVersionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AnalyticsVersionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AnalyticsVersionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.AnalyticsVersionInfo;{926130b8-9955-4c74-bdc1-7cd0decf9b03})"); } -impl ::core::clone::Clone for AnalyticsVersionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AnalyticsVersionInfo { type Vtable = IAnalyticsVersionInfo_Vtbl; } @@ -632,6 +541,7 @@ impl ::windows_core::RuntimeName for HardwareIdentification { } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HardwareToken(::windows_core::IUnknown); impl HardwareToken { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -662,25 +572,9 @@ impl HardwareToken { } } } -impl ::core::cmp::PartialEq for HardwareToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HardwareToken {} -impl ::core::fmt::Debug for HardwareToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HardwareToken").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HardwareToken { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.HardwareToken;{28f6d4c0-fb12-40a4-8167-7f4e03d2724c})"); } -impl ::core::clone::Clone for HardwareToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HardwareToken { type Vtable = IHardwareToken_Vtbl; } @@ -995,6 +889,7 @@ impl ::windows_core::RuntimeName for SystemIdentification { } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemIdentificationInfo(::windows_core::IUnknown); impl SystemIdentificationInfo { #[doc = "*Required features: `\"Storage_Streams\"`*"] @@ -1014,25 +909,9 @@ impl SystemIdentificationInfo { } } } -impl ::core::cmp::PartialEq for SystemIdentificationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemIdentificationInfo {} -impl ::core::fmt::Debug for SystemIdentificationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemIdentificationInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemIdentificationInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.SystemIdentificationInfo;{0c659e7d-c3c2-4d33-a2df-21bc41916eb3})"); } -impl ::core::clone::Clone for SystemIdentificationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemIdentificationInfo { type Vtable = ISystemIdentificationInfo_Vtbl; } @@ -1081,6 +960,7 @@ impl ::windows_core::RuntimeName for SystemSetupInfo { } #[doc = "*Required features: `\"System_Profile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UnsupportedAppRequirement(::windows_core::IUnknown); impl UnsupportedAppRequirement { pub fn Requirement(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1098,25 +978,9 @@ impl UnsupportedAppRequirement { } } } -impl ::core::cmp::PartialEq for UnsupportedAppRequirement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UnsupportedAppRequirement {} -impl ::core::fmt::Debug for UnsupportedAppRequirement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UnsupportedAppRequirement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UnsupportedAppRequirement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Profile.UnsupportedAppRequirement;{6182445c-894b-5cbc-8976-a98e0a9b998d})"); } -impl ::core::clone::Clone for UnsupportedAppRequirement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UnsupportedAppRequirement { type Vtable = IUnsupportedAppRequirement_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs index 9377546609..26de519ba1 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteTextConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteTextConnection { type Vtable = IRemoteTextConnection_Vtbl; } -impl ::core::clone::Clone for IRemoteTextConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteTextConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e7bb02a_183e_5e66_b5e4_3e6e5c570cf1); } @@ -24,15 +20,11 @@ pub struct IRemoteTextConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteTextConnectionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteTextConnectionFactory { type Vtable = IRemoteTextConnectionFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteTextConnectionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteTextConnectionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88e075c2_0cae_596c_850f_78d345cd728b); } @@ -44,6 +36,7 @@ pub struct IRemoteTextConnectionFactory_Vtbl { } #[doc = "*Required features: `\"System_RemoteDesktop_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteTextConnection(::windows_core::IUnknown); impl RemoteTextConnection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -90,25 +83,9 @@ impl RemoteTextConnection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteTextConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteTextConnection {} -impl ::core::fmt::Debug for RemoteTextConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteTextConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteTextConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteDesktop.Input.RemoteTextConnection;{4e7bb02a-183e-5e66-b5e4-3e6e5c570cf1})"); } -impl ::core::clone::Clone for RemoteTextConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteTextConnection { type Vtable = IRemoteTextConnection_Vtbl; } @@ -125,6 +102,7 @@ unsafe impl ::core::marker::Send for RemoteTextConnection {} unsafe impl ::core::marker::Sync for RemoteTextConnection {} #[doc = "*Required features: `\"System_RemoteDesktop_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteTextConnectionDataHandler(pub ::windows_core::IUnknown); impl RemoteTextConnectionDataHandler { pub fn new ::windows_core::Result + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -150,9 +128,12 @@ impl ::windows_core::Result + ::core::marker::Send + 's base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -183,25 +164,9 @@ impl ::windows_core::Result + ::core::marker::Send + 's } } } -impl ::core::cmp::PartialEq for RemoteTextConnectionDataHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteTextConnectionDataHandler {} -impl ::core::fmt::Debug for RemoteTextConnectionDataHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteTextConnectionDataHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for RemoteTextConnectionDataHandler { type Vtable = RemoteTextConnectionDataHandler_Vtbl; } -impl ::core::clone::Clone for RemoteTextConnectionDataHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for RemoteTextConnectionDataHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x099ffbc8_8bcb_41b5_b056_57e77021bf1b); } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index 07b8fe027d..595334b320 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -2,15 +2,11 @@ pub mod Input; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractiveSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractiveSessionStatics { type Vtable = IInteractiveSessionStatics_Vtbl; } -impl ::core::clone::Clone for IInteractiveSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractiveSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60884631_dd3a_4576_9c8d_e8027618bdce); } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs index 1f35b49ea2..588d413131 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs @@ -7,7 +7,7 @@ impl IRemoteSystemFilter_Vtbl { pub const fn new, Impl: IRemoteSystemFilter_Impl, const OFFSET: isize>() -> IRemoteSystemFilter_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index e1b3aa2f72..f76b9b457b 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownRemoteSystemCapabilitiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownRemoteSystemCapabilitiesStatics { type Vtable = IKnownRemoteSystemCapabilitiesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownRemoteSystemCapabilitiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownRemoteSystemCapabilitiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8108e380_7f8a_44e4_92cd_03b6469b94a3); } @@ -23,15 +19,11 @@ pub struct IKnownRemoteSystemCapabilitiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem { type Vtable = IRemoteSystem_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed5838cd_1e10_4a8c_b4a6_4e5fd6f97721); } @@ -47,15 +39,11 @@ pub struct IRemoteSystem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem2 { type Vtable = IRemoteSystem2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09dfe4ec_fb8b_4a08_a758_6876435d769e); } @@ -71,15 +59,11 @@ pub struct IRemoteSystem2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem3 { type Vtable = IRemoteSystem3_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72b4b495_b7c6_40be_831b_73562f12ffa8); } @@ -92,15 +76,11 @@ pub struct IRemoteSystem3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem4 { type Vtable = IRemoteSystem4_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf164ffe5_b987_4ca5_9926_fa0438be6273); } @@ -112,15 +92,11 @@ pub struct IRemoteSystem4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem5 { type Vtable = IRemoteSystem5_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb2ad723_e5e2_4ae2_a7a7_a1097a098e90); } @@ -135,15 +111,11 @@ pub struct IRemoteSystem5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystem6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystem6 { type Vtable = IRemoteSystem6_Vtbl; } -impl ::core::clone::Clone for IRemoteSystem6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystem6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4cda942_c027_533e_9384_3a19b4f7eef3); } @@ -155,15 +127,11 @@ pub struct IRemoteSystem6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemAddedEventArgs { type Vtable = IRemoteSystemAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f39560f_e534_4697_8836_7abea151516e); } @@ -175,15 +143,11 @@ pub struct IRemoteSystemAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemApp(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemApp { type Vtable = IRemoteSystemApp_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80e5bcbd_d54d_41b1_9b16_6810a871ed4f); } @@ -202,15 +166,11 @@ pub struct IRemoteSystemApp_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemApp2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemApp2 { type Vtable = IRemoteSystemApp2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemApp2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemApp2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6369bf15_0a96_577a_8ff6_c35904dfa8f3); } @@ -223,15 +183,11 @@ pub struct IRemoteSystemApp2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAppRegistration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemAppRegistration { type Vtable = IRemoteSystemAppRegistration_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAppRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAppRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb47947b5_7035_4a5a_b8df_962d8f8431f4); } @@ -251,15 +207,11 @@ pub struct IRemoteSystemAppRegistration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAppRegistrationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemAppRegistrationStatics { type Vtable = IRemoteSystemAppRegistrationStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAppRegistrationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAppRegistrationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01b99840_cfd2_453f_ae25_c2539f086afd); } @@ -272,15 +224,11 @@ pub struct IRemoteSystemAppRegistrationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAuthorizationKindFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemAuthorizationKindFilter { type Vtable = IRemoteSystemAuthorizationKindFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAuthorizationKindFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAuthorizationKindFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b0dde8e_04d0_40f4_a27f_c2acbbd6b734); } @@ -292,15 +240,11 @@ pub struct IRemoteSystemAuthorizationKindFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAuthorizationKindFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemAuthorizationKindFilterFactory { type Vtable = IRemoteSystemAuthorizationKindFilterFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAuthorizationKindFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAuthorizationKindFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad65df4d_b66a_45a4_8177_8caed75d9e5a); } @@ -312,15 +256,11 @@ pub struct IRemoteSystemAuthorizationKindFilterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionInfo { type Vtable = IRemoteSystemConnectionInfo_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23278bc3_0d09_52cb_9c6a_eed2940bee43); } @@ -332,15 +272,11 @@ pub struct IRemoteSystemConnectionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionInfoStatics { type Vtable = IRemoteSystemConnectionInfoStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac831e2d_66c5_56d7_a4ce_705d94925ad6); } @@ -355,15 +291,11 @@ pub struct IRemoteSystemConnectionInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequest { type Vtable = IRemoteSystemConnectionRequest_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84ed4104_8d5e_4d72_8238_7621576c7a67); } @@ -375,15 +307,11 @@ pub struct IRemoteSystemConnectionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequest2 { type Vtable = IRemoteSystemConnectionRequest2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12df6d6f_bffc_483a_8abe_d34a6c19f92b); } @@ -395,15 +323,11 @@ pub struct IRemoteSystemConnectionRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequest3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequest3 { type Vtable = IRemoteSystemConnectionRequest3_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde86c3e7_c9cc_5a50_b8d9_ba7b34bb8d0e); } @@ -415,15 +339,11 @@ pub struct IRemoteSystemConnectionRequest3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequestFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequestFactory { type Vtable = IRemoteSystemConnectionRequestFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa0a0a20_baeb_4575_b530_810bb9786334); } @@ -435,15 +355,11 @@ pub struct IRemoteSystemConnectionRequestFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequestStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequestStatics { type Vtable = IRemoteSystemConnectionRequestStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequestStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequestStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86ca143d_8214_425c_8932_db49032d1306); } @@ -455,15 +371,11 @@ pub struct IRemoteSystemConnectionRequestStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemConnectionRequestStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemConnectionRequestStatics2 { type Vtable = IRemoteSystemConnectionRequestStatics2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemConnectionRequestStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemConnectionRequestStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x460f1027_64ec_598e_a800_4f2ee58def19); } @@ -476,15 +388,11 @@ pub struct IRemoteSystemConnectionRequestStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemDiscoveryTypeFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemDiscoveryTypeFilter { type Vtable = IRemoteSystemDiscoveryTypeFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemDiscoveryTypeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemDiscoveryTypeFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42d9041f_ee5a_43da_ac6a_6fee25460741); } @@ -496,15 +404,11 @@ pub struct IRemoteSystemDiscoveryTypeFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemDiscoveryTypeFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemDiscoveryTypeFilterFactory { type Vtable = IRemoteSystemDiscoveryTypeFilterFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemDiscoveryTypeFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemDiscoveryTypeFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f9eb993_c260_4161_92f2_9c021f23fe5d); } @@ -516,15 +420,11 @@ pub struct IRemoteSystemDiscoveryTypeFilterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemEnumerationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemEnumerationCompletedEventArgs { type Vtable = IRemoteSystemEnumerationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemEnumerationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemEnumerationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e83d5f_4030_4354_a060_14f1b22c545d); } @@ -535,31 +435,16 @@ pub struct IRemoteSystemEnumerationCompletedEventArgs_Vtbl { } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemFilter(::windows_core::IUnknown); impl IRemoteSystemFilter {} ::windows_core::imp::interface_hierarchy!(IRemoteSystemFilter, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IRemoteSystemFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteSystemFilter {} -impl ::core::fmt::Debug for IRemoteSystemFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteSystemFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IRemoteSystemFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4a3ba9e4-99eb-45eb-ba16-0367728ff374}"); } unsafe impl ::windows_core::Interface for IRemoteSystemFilter { type Vtable = IRemoteSystemFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a3ba9e4_99eb_45eb_ba16_0367728ff374); } @@ -570,15 +455,11 @@ pub struct IRemoteSystemFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemKindFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemKindFilter { type Vtable = IRemoteSystemKindFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemKindFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemKindFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38e1c9ec_22c3_4ef6_901a_bbb1c7aad4ed); } @@ -593,15 +474,11 @@ pub struct IRemoteSystemKindFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemKindFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemKindFilterFactory { type Vtable = IRemoteSystemKindFilterFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemKindFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemKindFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1fb18ee_99ea_40bc_9a39_c670aa804a28); } @@ -616,15 +493,11 @@ pub struct IRemoteSystemKindFilterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemKindStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemKindStatics { type Vtable = IRemoteSystemKindStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemKindStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemKindStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6317633_ab14_41d0_9553_796aadb882db); } @@ -640,15 +513,11 @@ pub struct IRemoteSystemKindStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemKindStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemKindStatics2 { type Vtable = IRemoteSystemKindStatics2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemKindStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemKindStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9e3a3d0_0466_4749_91e8_65f9d19a96a5); } @@ -662,15 +531,11 @@ pub struct IRemoteSystemKindStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemRemovedEventArgs { type Vtable = IRemoteSystemRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b3d16bb_7306_49ea_b7df_67d5714cb013); } @@ -682,15 +547,11 @@ pub struct IRemoteSystemRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSession { type Vtable = IRemoteSystemSession_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69476a01_9ada_490f_9549_d31cb14c9e95); } @@ -717,15 +578,11 @@ pub struct IRemoteSystemSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionAddedEventArgs { type Vtable = IRemoteSystemSessionAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd585d754_bc97_4c39_99b4_beca76e04c3f); } @@ -737,15 +594,11 @@ pub struct IRemoteSystemSessionAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionController { type Vtable = IRemoteSystemSessionController_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe48b2dd2_6820_4867_b425_d89c0a3ef7ba); } @@ -772,15 +625,11 @@ pub struct IRemoteSystemSessionController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionControllerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionControllerFactory { type Vtable = IRemoteSystemSessionControllerFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionControllerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionControllerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfcc2f6b_ac3d_4199_82cd_6670a773ef2e); } @@ -793,15 +642,11 @@ pub struct IRemoteSystemSessionControllerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionCreationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionCreationResult { type Vtable = IRemoteSystemSessionCreationResult_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionCreationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa79812c2_37de_448c_8b83_a30aa3c4ead6); } @@ -814,15 +659,11 @@ pub struct IRemoteSystemSessionCreationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionDisconnectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionDisconnectedEventArgs { type Vtable = IRemoteSystemSessionDisconnectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionDisconnectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde0bc69b_77c5_461c_8209_7c6c5d3111ab); } @@ -834,15 +675,11 @@ pub struct IRemoteSystemSessionDisconnectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionInfo { type Vtable = IRemoteSystemSessionInfo_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff4df648_8b0a_4e9a_9905_69e4b841c588); } @@ -859,15 +696,11 @@ pub struct IRemoteSystemSessionInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionInvitation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionInvitation { type Vtable = IRemoteSystemSessionInvitation_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionInvitation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionInvitation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e32cc91_51d7_4766_a121_25516c3b8294); } @@ -880,15 +713,11 @@ pub struct IRemoteSystemSessionInvitation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionInvitationListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionInvitationListener { type Vtable = IRemoteSystemSessionInvitationListener_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionInvitationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionInvitationListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08f4003f_bc71_49e1_874a_31ddff9a27b9); } @@ -907,15 +736,11 @@ pub struct IRemoteSystemSessionInvitationListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionInvitationReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionInvitationReceivedEventArgs { type Vtable = IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionInvitationReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionInvitationReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e964a2d_a10d_4edb_8dea_54d20ac19543); } @@ -927,15 +752,11 @@ pub struct IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionJoinRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionJoinRequest { type Vtable = IRemoteSystemSessionJoinRequest_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionJoinRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionJoinRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20600068_7994_4331_86d1_d89d882585ee); } @@ -948,15 +769,11 @@ pub struct IRemoteSystemSessionJoinRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionJoinRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionJoinRequestedEventArgs { type Vtable = IRemoteSystemSessionJoinRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionJoinRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionJoinRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbca4fc3_82b9_4816_9c24_e40e61774bd8); } @@ -972,15 +789,11 @@ pub struct IRemoteSystemSessionJoinRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionJoinResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionJoinResult { type Vtable = IRemoteSystemSessionJoinResult_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionJoinResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionJoinResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce7b1f04_a03e_41a4_900b_1e79328c1267); } @@ -993,15 +806,11 @@ pub struct IRemoteSystemSessionJoinResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionMessageChannel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionMessageChannel { type Vtable = IRemoteSystemSessionMessageChannel_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionMessageChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionMessageChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9524d12a_73d9_4c10_b751_c26784437127); } @@ -1033,15 +842,11 @@ pub struct IRemoteSystemSessionMessageChannel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionMessageChannelFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionMessageChannelFactory { type Vtable = IRemoteSystemSessionMessageChannelFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionMessageChannelFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionMessageChannelFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x295e1c4a_bd16_4298_b7ce_415482b0e11d); } @@ -1054,15 +859,11 @@ pub struct IRemoteSystemSessionMessageChannelFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionOptions { type Vtable = IRemoteSystemSessionOptions_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x740ed755_8418_4f01_9353_e21c9ecc6cfc); } @@ -1075,15 +876,11 @@ pub struct IRemoteSystemSessionOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionParticipant(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionParticipant { type Vtable = IRemoteSystemSessionParticipant_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionParticipant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionParticipant { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e90058c_acf9_4729_8a17_44e7baed5dcc); } @@ -1099,15 +896,11 @@ pub struct IRemoteSystemSessionParticipant_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionParticipantAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionParticipantAddedEventArgs { type Vtable = IRemoteSystemSessionParticipantAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionParticipantAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionParticipantAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd35a57d8_c9a1_4bb7_b6b0_79bb91adf93d); } @@ -1119,15 +912,11 @@ pub struct IRemoteSystemSessionParticipantAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionParticipantRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionParticipantRemovedEventArgs { type Vtable = IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionParticipantRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionParticipantRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x866ef088_de68_4abf_88a1_f90d16274192); } @@ -1139,15 +928,11 @@ pub struct IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionParticipantWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionParticipantWatcher { type Vtable = IRemoteSystemSessionParticipantWatcher_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionParticipantWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionParticipantWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcdd02cc_aa87_4d79_b6cc_4459b3e92075); } @@ -1185,15 +970,11 @@ pub struct IRemoteSystemSessionParticipantWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionRemovedEventArgs { type Vtable = IRemoteSystemSessionRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf82914e_39a1_4dea_9d63_43798d5bbbd0); } @@ -1205,15 +986,11 @@ pub struct IRemoteSystemSessionRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionStatics { type Vtable = IRemoteSystemSessionStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8524899f_fd20_44e3_9565_e75a3b14c66e); } @@ -1225,15 +1002,11 @@ pub struct IRemoteSystemSessionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionUpdatedEventArgs { type Vtable = IRemoteSystemSessionUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16875069_231e_4c91_8ec8_b3a39d9e55a3); } @@ -1245,15 +1018,11 @@ pub struct IRemoteSystemSessionUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionValueSetReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionValueSetReceivedEventArgs { type Vtable = IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionValueSetReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionValueSetReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06f31785_2da5_4e58_a78f_9e8d0784ee25); } @@ -1269,15 +1038,11 @@ pub struct IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemSessionWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemSessionWatcher { type Vtable = IRemoteSystemSessionWatcher_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemSessionWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemSessionWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8003e340_0c41_4a62_b6d7_bdbe2b19be2d); } @@ -1315,15 +1080,11 @@ pub struct IRemoteSystemSessionWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemStatics { type Vtable = IRemoteSystemStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa485b392_ff2b_4b47_be62_743f2f140f30); } @@ -1347,15 +1108,11 @@ pub struct IRemoteSystemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemStatics2 { type Vtable = IRemoteSystemStatics2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c98edca_6f99_4c52_a272_ea4f36471744); } @@ -1367,15 +1124,11 @@ pub struct IRemoteSystemStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemStatics3 { type Vtable = IRemoteSystemStatics3_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9995f16f_0b3c_5ac5_b325_cc73f437dfcd); } @@ -1391,15 +1144,11 @@ pub struct IRemoteSystemStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemStatusTypeFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemStatusTypeFilter { type Vtable = IRemoteSystemStatusTypeFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemStatusTypeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemStatusTypeFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c39514e_cbb6_4777_8534_2e0c521affa2); } @@ -1411,15 +1160,11 @@ pub struct IRemoteSystemStatusTypeFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemStatusTypeFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemStatusTypeFilterFactory { type Vtable = IRemoteSystemStatusTypeFilterFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemStatusTypeFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemStatusTypeFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33cf78fa_d724_4125_ac7a_8d281e44c949); } @@ -1431,15 +1176,11 @@ pub struct IRemoteSystemStatusTypeFilterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemUpdatedEventArgs { type Vtable = IRemoteSystemUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7502ff0e_dbcb_4155_b4ca_b30a04f27627); } @@ -1451,15 +1192,11 @@ pub struct IRemoteSystemUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWatcher { type Vtable = IRemoteSystemWatcher_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d600c7e_2c07_48c5_889c_455d2b099771); } @@ -1496,15 +1233,11 @@ pub struct IRemoteSystemWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWatcher2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWatcher2 { type Vtable = IRemoteSystemWatcher2_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWatcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWatcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73436700_19ca_48f9_a4cd_780f7ad58c71); } @@ -1531,15 +1264,11 @@ pub struct IRemoteSystemWatcher2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWatcher3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWatcher3 { type Vtable = IRemoteSystemWatcher3_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWatcher3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWatcher3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf79c0fcf_a913_55d3_8413_418fcf15ba54); } @@ -1551,15 +1280,11 @@ pub struct IRemoteSystemWatcher3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWatcherErrorOccurredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWatcherErrorOccurredEventArgs { type Vtable = IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWatcherErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWatcherErrorOccurredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74c5c6af_5114_4426_9216_20d81f8519ae); } @@ -1571,15 +1296,11 @@ pub struct IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWebAccountFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWebAccountFilter { type Vtable = IRemoteSystemWebAccountFilter_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWebAccountFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWebAccountFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fb75873_87c8_5d8f_977e_f69f96d67238); } @@ -1594,15 +1315,11 @@ pub struct IRemoteSystemWebAccountFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemWebAccountFilterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteSystemWebAccountFilterFactory { type Vtable = IRemoteSystemWebAccountFilterFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemWebAccountFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemWebAccountFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x348a2709_5f4d_5127_b4a7_bf99d5252b1b); } @@ -1653,6 +1370,7 @@ impl ::windows_core::RuntimeName for KnownRemoteSystemCapabilities { } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystem(::windows_core::IUnknown); impl RemoteSystem { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1822,25 +1540,9 @@ impl RemoteSystem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystem {} -impl ::core::fmt::Debug for RemoteSystem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystem;{ed5838cd-1e10-4a8c-b4a6-4e5fd6f97721})"); } -impl ::core::clone::Clone for RemoteSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystem { type Vtable = IRemoteSystem_Vtbl; } @@ -1855,6 +1557,7 @@ unsafe impl ::core::marker::Send for RemoteSystem {} unsafe impl ::core::marker::Sync for RemoteSystem {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemAddedEventArgs(::windows_core::IUnknown); impl RemoteSystemAddedEventArgs { pub fn RemoteSystem(&self) -> ::windows_core::Result { @@ -1865,25 +1568,9 @@ impl RemoteSystemAddedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemAddedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAddedEventArgs;{8f39560f-e534-4697-8836-7abea151516e})"); } -impl ::core::clone::Clone for RemoteSystemAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemAddedEventArgs { type Vtable = IRemoteSystemAddedEventArgs_Vtbl; } @@ -1898,6 +1585,7 @@ unsafe impl ::core::marker::Send for RemoteSystemAddedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemApp(::windows_core::IUnknown); impl RemoteSystemApp { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1952,25 +1640,9 @@ impl RemoteSystemApp { } } } -impl ::core::cmp::PartialEq for RemoteSystemApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemApp {} -impl ::core::fmt::Debug for RemoteSystemApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemApp").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemApp { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemApp;{80e5bcbd-d54d-41b1-9b16-6810a871ed4f})"); } -impl ::core::clone::Clone for RemoteSystemApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemApp { type Vtable = IRemoteSystemApp_Vtbl; } @@ -1985,6 +1657,7 @@ unsafe impl ::core::marker::Send for RemoteSystemApp {} unsafe impl ::core::marker::Sync for RemoteSystemApp {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemAppRegistration(::windows_core::IUnknown); impl RemoteSystemAppRegistration { pub fn User(&self) -> ::windows_core::Result { @@ -2033,25 +1706,9 @@ impl RemoteSystemAppRegistration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemAppRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemAppRegistration {} -impl ::core::fmt::Debug for RemoteSystemAppRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemAppRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemAppRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAppRegistration;{b47947b5-7035-4a5a-b8df-962d8f8431f4})"); } -impl ::core::clone::Clone for RemoteSystemAppRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemAppRegistration { type Vtable = IRemoteSystemAppRegistration_Vtbl; } @@ -2066,6 +1723,7 @@ unsafe impl ::core::marker::Send for RemoteSystemAppRegistration {} unsafe impl ::core::marker::Sync for RemoteSystemAppRegistration {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemAuthorizationKindFilter(::windows_core::IUnknown); impl RemoteSystemAuthorizationKindFilter { pub fn RemoteSystemAuthorizationKind(&self) -> ::windows_core::Result { @@ -2087,25 +1745,9 @@ impl RemoteSystemAuthorizationKindFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemAuthorizationKindFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemAuthorizationKindFilter {} -impl ::core::fmt::Debug for RemoteSystemAuthorizationKindFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemAuthorizationKindFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemAuthorizationKindFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemAuthorizationKindFilter;{6b0dde8e-04d0-40f4-a27f-c2acbbd6b734})"); } -impl ::core::clone::Clone for RemoteSystemAuthorizationKindFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemAuthorizationKindFilter { type Vtable = IRemoteSystemAuthorizationKindFilter_Vtbl; } @@ -2121,6 +1763,7 @@ unsafe impl ::core::marker::Send for RemoteSystemAuthorizationKindFilter {} unsafe impl ::core::marker::Sync for RemoteSystemAuthorizationKindFilter {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemConnectionInfo(::windows_core::IUnknown); impl RemoteSystemConnectionInfo { pub fn IsProximal(&self) -> ::windows_core::Result { @@ -2147,25 +1790,9 @@ impl RemoteSystemConnectionInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemConnectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemConnectionInfo {} -impl ::core::fmt::Debug for RemoteSystemConnectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemConnectionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemConnectionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionInfo;{23278bc3-0d09-52cb-9c6a-eed2940bee43})"); } -impl ::core::clone::Clone for RemoteSystemConnectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemConnectionInfo { type Vtable = IRemoteSystemConnectionInfo_Vtbl; } @@ -2180,6 +1807,7 @@ unsafe impl ::core::marker::Send for RemoteSystemConnectionInfo {} unsafe impl ::core::marker::Sync for RemoteSystemConnectionInfo {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemConnectionRequest(::windows_core::IUnknown); impl RemoteSystemConnectionRequest { pub fn RemoteSystem(&self) -> ::windows_core::Result { @@ -2252,25 +1880,9 @@ impl RemoteSystemConnectionRequest { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemConnectionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemConnectionRequest {} -impl ::core::fmt::Debug for RemoteSystemConnectionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemConnectionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemConnectionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemConnectionRequest;{84ed4104-8d5e-4d72-8238-7621576c7a67})"); } -impl ::core::clone::Clone for RemoteSystemConnectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemConnectionRequest { type Vtable = IRemoteSystemConnectionRequest_Vtbl; } @@ -2285,6 +1897,7 @@ unsafe impl ::core::marker::Send for RemoteSystemConnectionRequest {} unsafe impl ::core::marker::Sync for RemoteSystemConnectionRequest {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemDiscoveryTypeFilter(::windows_core::IUnknown); impl RemoteSystemDiscoveryTypeFilter { pub fn RemoteSystemDiscoveryType(&self) -> ::windows_core::Result { @@ -2306,25 +1919,9 @@ impl RemoteSystemDiscoveryTypeFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemDiscoveryTypeFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemDiscoveryTypeFilter {} -impl ::core::fmt::Debug for RemoteSystemDiscoveryTypeFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemDiscoveryTypeFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemDiscoveryTypeFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemDiscoveryTypeFilter;{42d9041f-ee5a-43da-ac6a-6fee25460741})"); } -impl ::core::clone::Clone for RemoteSystemDiscoveryTypeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemDiscoveryTypeFilter { type Vtable = IRemoteSystemDiscoveryTypeFilter_Vtbl; } @@ -2340,27 +1937,12 @@ unsafe impl ::core::marker::Send for RemoteSystemDiscoveryTypeFilter {} unsafe impl ::core::marker::Sync for RemoteSystemDiscoveryTypeFilter {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemEnumerationCompletedEventArgs(::windows_core::IUnknown); impl RemoteSystemEnumerationCompletedEventArgs {} -impl ::core::cmp::PartialEq for RemoteSystemEnumerationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemEnumerationCompletedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemEnumerationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemEnumerationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemEnumerationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemEnumerationCompletedEventArgs;{c6e83d5f-4030-4354-a060-14f1b22c545d})"); } -impl ::core::clone::Clone for RemoteSystemEnumerationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemEnumerationCompletedEventArgs { type Vtable = IRemoteSystemEnumerationCompletedEventArgs_Vtbl; } @@ -2375,6 +1957,7 @@ unsafe impl ::core::marker::Send for RemoteSystemEnumerationCompletedEventArgs { unsafe impl ::core::marker::Sync for RemoteSystemEnumerationCompletedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemKindFilter(::windows_core::IUnknown); impl RemoteSystemKindFilter { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -2403,25 +1986,9 @@ impl RemoteSystemKindFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemKindFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemKindFilter {} -impl ::core::fmt::Debug for RemoteSystemKindFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemKindFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemKindFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemKindFilter;{38e1c9ec-22c3-4ef6-901a-bbb1c7aad4ed})"); } -impl ::core::clone::Clone for RemoteSystemKindFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemKindFilter { type Vtable = IRemoteSystemKindFilter_Vtbl; } @@ -2502,6 +2069,7 @@ impl ::windows_core::RuntimeName for RemoteSystemKinds { } #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemRemovedEventArgs(::windows_core::IUnknown); impl RemoteSystemRemovedEventArgs { pub fn RemoteSystemId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2512,25 +2080,9 @@ impl RemoteSystemRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemRemovedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemRemovedEventArgs;{8b3d16bb-7306-49ea-b7df-67d5714cb013})"); } -impl ::core::clone::Clone for RemoteSystemRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemRemovedEventArgs { type Vtable = IRemoteSystemRemovedEventArgs_Vtbl; } @@ -2545,6 +2097,7 @@ unsafe impl ::core::marker::Send for RemoteSystemRemovedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSession(::windows_core::IUnknown); impl RemoteSystemSession { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2623,25 +2176,9 @@ impl RemoteSystemSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSession {} -impl ::core::fmt::Debug for RemoteSystemSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSession;{69476a01-9ada-490f-9549-d31cb14c9e95})"); } -impl ::core::clone::Clone for RemoteSystemSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSession { type Vtable = IRemoteSystemSession_Vtbl; } @@ -2658,6 +2195,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSession {} unsafe impl ::core::marker::Sync for RemoteSystemSession {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionAddedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionAddedEventArgs { pub fn SessionInfo(&self) -> ::windows_core::Result { @@ -2668,25 +2206,9 @@ impl RemoteSystemSessionAddedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionAddedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionAddedEventArgs;{d585d754-bc97-4c39-99b4-beca76e04c3f})"); } -impl ::core::clone::Clone for RemoteSystemSessionAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionAddedEventArgs { type Vtable = IRemoteSystemSessionAddedEventArgs_Vtbl; } @@ -2701,6 +2223,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionAddedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionController(::windows_core::IUnknown); impl RemoteSystemSessionController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2763,25 +2286,9 @@ impl RemoteSystemSessionController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemSessionController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionController {} -impl ::core::fmt::Debug for RemoteSystemSessionController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionController;{e48b2dd2-6820-4867-b425-d89c0a3ef7ba})"); } -impl ::core::clone::Clone for RemoteSystemSessionController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionController { type Vtable = IRemoteSystemSessionController_Vtbl; } @@ -2796,6 +2303,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionController {} unsafe impl ::core::marker::Sync for RemoteSystemSessionController {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionCreationResult(::windows_core::IUnknown); impl RemoteSystemSessionCreationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -2813,25 +2321,9 @@ impl RemoteSystemSessionCreationResult { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionCreationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionCreationResult {} -impl ::core::fmt::Debug for RemoteSystemSessionCreationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionCreationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionCreationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionCreationResult;{a79812c2-37de-448c-8b83-a30aa3c4ead6})"); } -impl ::core::clone::Clone for RemoteSystemSessionCreationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionCreationResult { type Vtable = IRemoteSystemSessionCreationResult_Vtbl; } @@ -2846,6 +2338,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionCreationResult {} unsafe impl ::core::marker::Sync for RemoteSystemSessionCreationResult {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionDisconnectedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionDisconnectedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -2856,25 +2349,9 @@ impl RemoteSystemSessionDisconnectedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionDisconnectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionDisconnectedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionDisconnectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionDisconnectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionDisconnectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedEventArgs;{de0bc69b-77c5-461c-8209-7c6c5d3111ab})"); } -impl ::core::clone::Clone for RemoteSystemSessionDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionDisconnectedEventArgs { type Vtable = IRemoteSystemSessionDisconnectedEventArgs_Vtbl; } @@ -2889,6 +2366,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionDisconnectedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionDisconnectedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionInfo(::windows_core::IUnknown); impl RemoteSystemSessionInfo { pub fn DisplayName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2915,25 +2393,9 @@ impl RemoteSystemSessionInfo { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionInfo {} -impl ::core::fmt::Debug for RemoteSystemSessionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInfo;{ff4df648-8b0a-4e9a-9905-69e4b841c588})"); } -impl ::core::clone::Clone for RemoteSystemSessionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionInfo { type Vtable = IRemoteSystemSessionInfo_Vtbl; } @@ -2948,6 +2410,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionInfo {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInfo {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionInvitation(::windows_core::IUnknown); impl RemoteSystemSessionInvitation { pub fn Sender(&self) -> ::windows_core::Result { @@ -2965,25 +2428,9 @@ impl RemoteSystemSessionInvitation { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionInvitation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionInvitation {} -impl ::core::fmt::Debug for RemoteSystemSessionInvitation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionInvitation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionInvitation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitation;{3e32cc91-51d7-4766-a121-25516c3b8294})"); } -impl ::core::clone::Clone for RemoteSystemSessionInvitation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionInvitation { type Vtable = IRemoteSystemSessionInvitation_Vtbl; } @@ -2998,6 +2445,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionInvitation {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitation {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionInvitationListener(::windows_core::IUnknown); impl RemoteSystemSessionInvitationListener { pub fn new() -> ::windows_core::Result { @@ -3026,25 +2474,9 @@ impl RemoteSystemSessionInvitationListener { unsafe { (::windows_core::Interface::vtable(this).RemoveInvitationReceived)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionInvitationListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionInvitationListener {} -impl ::core::fmt::Debug for RemoteSystemSessionInvitationListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionInvitationListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionInvitationListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationListener;{08f4003f-bc71-49e1-874a-31ddff9a27b9})"); } -impl ::core::clone::Clone for RemoteSystemSessionInvitationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionInvitationListener { type Vtable = IRemoteSystemSessionInvitationListener_Vtbl; } @@ -3059,6 +2491,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionInvitationListener {} unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitationListener {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionInvitationReceivedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionInvitationReceivedEventArgs { pub fn Invitation(&self) -> ::windows_core::Result { @@ -3069,25 +2502,9 @@ impl RemoteSystemSessionInvitationReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionInvitationReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionInvitationReceivedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionInvitationReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionInvitationReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionInvitationReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionInvitationReceivedEventArgs;{5e964a2d-a10d-4edb-8dea-54d20ac19543})"); } -impl ::core::clone::Clone for RemoteSystemSessionInvitationReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionInvitationReceivedEventArgs { type Vtable = IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl; } @@ -3102,6 +2519,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionInvitationReceivedEventA unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitationReceivedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionJoinRequest(::windows_core::IUnknown); impl RemoteSystemSessionJoinRequest { pub fn Participant(&self) -> ::windows_core::Result { @@ -3116,25 +2534,9 @@ impl RemoteSystemSessionJoinRequest { unsafe { (::windows_core::Interface::vtable(this).Accept)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionJoinRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionJoinRequest {} -impl ::core::fmt::Debug for RemoteSystemSessionJoinRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionJoinRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionJoinRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequest;{20600068-7994-4331-86d1-d89d882585ee})"); } -impl ::core::clone::Clone for RemoteSystemSessionJoinRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionJoinRequest { type Vtable = IRemoteSystemSessionJoinRequest_Vtbl; } @@ -3149,6 +2551,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionJoinRequest {} unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinRequest {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionJoinRequestedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionJoinRequestedEventArgs { pub fn JoinRequest(&self) -> ::windows_core::Result { @@ -3168,25 +2571,9 @@ impl RemoteSystemSessionJoinRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionJoinRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionJoinRequestedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionJoinRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionJoinRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionJoinRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinRequestedEventArgs;{dbca4fc3-82b9-4816-9c24-e40e61774bd8})"); } -impl ::core::clone::Clone for RemoteSystemSessionJoinRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionJoinRequestedEventArgs { type Vtable = IRemoteSystemSessionJoinRequestedEventArgs_Vtbl; } @@ -3201,6 +2588,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionJoinRequestedEventArgs { unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinRequestedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionJoinResult(::windows_core::IUnknown); impl RemoteSystemSessionJoinResult { pub fn Status(&self) -> ::windows_core::Result { @@ -3218,25 +2606,9 @@ impl RemoteSystemSessionJoinResult { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionJoinResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionJoinResult {} -impl ::core::fmt::Debug for RemoteSystemSessionJoinResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionJoinResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionJoinResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionJoinResult;{ce7b1f04-a03e-41a4-900b-1e79328c1267})"); } -impl ::core::clone::Clone for RemoteSystemSessionJoinResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionJoinResult { type Vtable = IRemoteSystemSessionJoinResult_Vtbl; } @@ -3251,6 +2623,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionJoinResult {} unsafe impl ::core::marker::Sync for RemoteSystemSessionJoinResult {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionMessageChannel(::windows_core::IUnknown); impl RemoteSystemSessionMessageChannel { pub fn Session(&self) -> ::windows_core::Result { @@ -3340,25 +2713,9 @@ impl RemoteSystemSessionMessageChannel { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemSessionMessageChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionMessageChannel {} -impl ::core::fmt::Debug for RemoteSystemSessionMessageChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionMessageChannel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionMessageChannel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionMessageChannel;{9524d12a-73d9-4c10-b751-c26784437127})"); } -impl ::core::clone::Clone for RemoteSystemSessionMessageChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionMessageChannel { type Vtable = IRemoteSystemSessionMessageChannel_Vtbl; } @@ -3373,6 +2730,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionMessageChannel {} unsafe impl ::core::marker::Sync for RemoteSystemSessionMessageChannel {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionOptions(::windows_core::IUnknown); impl RemoteSystemSessionOptions { pub fn new() -> ::windows_core::Result { @@ -3394,25 +2752,9 @@ impl RemoteSystemSessionOptions { unsafe { (::windows_core::Interface::vtable(this).SetIsInviteOnly)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionOptions {} -impl ::core::fmt::Debug for RemoteSystemSessionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionOptions;{740ed755-8418-4f01-9353-e21c9ecc6cfc})"); } -impl ::core::clone::Clone for RemoteSystemSessionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionOptions { type Vtable = IRemoteSystemSessionOptions_Vtbl; } @@ -3427,6 +2769,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionOptions {} unsafe impl ::core::marker::Sync for RemoteSystemSessionOptions {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionParticipant(::windows_core::IUnknown); impl RemoteSystemSessionParticipant { pub fn RemoteSystem(&self) -> ::windows_core::Result { @@ -3446,25 +2789,9 @@ impl RemoteSystemSessionParticipant { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionParticipant { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionParticipant {} -impl ::core::fmt::Debug for RemoteSystemSessionParticipant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionParticipant").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionParticipant { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipant;{7e90058c-acf9-4729-8a17-44e7baed5dcc})"); } -impl ::core::clone::Clone for RemoteSystemSessionParticipant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionParticipant { type Vtable = IRemoteSystemSessionParticipant_Vtbl; } @@ -3479,6 +2806,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionParticipant {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipant {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionParticipantAddedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionParticipantAddedEventArgs { pub fn Participant(&self) -> ::windows_core::Result { @@ -3489,25 +2817,9 @@ impl RemoteSystemSessionParticipantAddedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionParticipantAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionParticipantAddedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionParticipantAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionParticipantAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionParticipantAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantAddedEventArgs;{d35a57d8-c9a1-4bb7-b6b0-79bb91adf93d})"); } -impl ::core::clone::Clone for RemoteSystemSessionParticipantAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionParticipantAddedEventArgs { type Vtable = IRemoteSystemSessionParticipantAddedEventArgs_Vtbl; } @@ -3522,6 +2834,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantAddedEventArg unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantAddedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionParticipantRemovedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionParticipantRemovedEventArgs { pub fn Participant(&self) -> ::windows_core::Result { @@ -3532,25 +2845,9 @@ impl RemoteSystemSessionParticipantRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionParticipantRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionParticipantRemovedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionParticipantRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionParticipantRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionParticipantRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantRemovedEventArgs;{866ef088-de68-4abf-88a1-f90d16274192})"); } -impl ::core::clone::Clone for RemoteSystemSessionParticipantRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionParticipantRemovedEventArgs { type Vtable = IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl; } @@ -3565,6 +2862,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantRemovedEventA unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionParticipantWatcher(::windows_core::IUnknown); impl RemoteSystemSessionParticipantWatcher { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -3637,25 +2935,9 @@ impl RemoteSystemSessionParticipantWatcher { unsafe { (::windows_core::Interface::vtable(this).RemoveEnumerationCompleted)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionParticipantWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionParticipantWatcher {} -impl ::core::fmt::Debug for RemoteSystemSessionParticipantWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionParticipantWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionParticipantWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionParticipantWatcher;{dcdd02cc-aa87-4d79-b6cc-4459b3e92075})"); } -impl ::core::clone::Clone for RemoteSystemSessionParticipantWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionParticipantWatcher { type Vtable = IRemoteSystemSessionParticipantWatcher_Vtbl; } @@ -3670,6 +2952,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionParticipantWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemSessionParticipantWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionRemovedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionRemovedEventArgs { pub fn SessionInfo(&self) -> ::windows_core::Result { @@ -3680,25 +2963,9 @@ impl RemoteSystemSessionRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionRemovedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionRemovedEventArgs;{af82914e-39a1-4dea-9d63-43798d5bbbd0})"); } -impl ::core::clone::Clone for RemoteSystemSessionRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionRemovedEventArgs { type Vtable = IRemoteSystemSessionRemovedEventArgs_Vtbl; } @@ -3713,6 +2980,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionRemovedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionRemovedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionUpdatedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionUpdatedEventArgs { pub fn SessionInfo(&self) -> ::windows_core::Result { @@ -3723,25 +2991,9 @@ impl RemoteSystemSessionUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionUpdatedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionUpdatedEventArgs;{16875069-231e-4c91-8ec8-b3a39d9e55a3})"); } -impl ::core::clone::Clone for RemoteSystemSessionUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionUpdatedEventArgs { type Vtable = IRemoteSystemSessionUpdatedEventArgs_Vtbl; } @@ -3756,6 +3008,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionUpdatedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemSessionUpdatedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionValueSetReceivedEventArgs(::windows_core::IUnknown); impl RemoteSystemSessionValueSetReceivedEventArgs { pub fn Sender(&self) -> ::windows_core::Result { @@ -3775,25 +3028,9 @@ impl RemoteSystemSessionValueSetReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionValueSetReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionValueSetReceivedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemSessionValueSetReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionValueSetReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionValueSetReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionValueSetReceivedEventArgs;{06f31785-2da5-4e58-a78f-9e8d0784ee25})"); } -impl ::core::clone::Clone for RemoteSystemSessionValueSetReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionValueSetReceivedEventArgs { type Vtable = IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl; } @@ -3808,6 +3045,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionValueSetReceivedEventArg unsafe impl ::core::marker::Sync for RemoteSystemSessionValueSetReceivedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemSessionWatcher(::windows_core::IUnknown); impl RemoteSystemSessionWatcher { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -3880,25 +3118,9 @@ impl RemoteSystemSessionWatcher { unsafe { (::windows_core::Interface::vtable(this).RemoveRemoved)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for RemoteSystemSessionWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemSessionWatcher {} -impl ::core::fmt::Debug for RemoteSystemSessionWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemSessionWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemSessionWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemSessionWatcher;{8003e340-0c41-4a62-b6d7-bdbe2b19be2d})"); } -impl ::core::clone::Clone for RemoteSystemSessionWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemSessionWatcher { type Vtable = IRemoteSystemSessionWatcher_Vtbl; } @@ -3913,6 +3135,7 @@ unsafe impl ::core::marker::Send for RemoteSystemSessionWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemSessionWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemStatusTypeFilter(::windows_core::IUnknown); impl RemoteSystemStatusTypeFilter { pub fn RemoteSystemStatusType(&self) -> ::windows_core::Result { @@ -3934,25 +3157,9 @@ impl RemoteSystemStatusTypeFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemStatusTypeFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemStatusTypeFilter {} -impl ::core::fmt::Debug for RemoteSystemStatusTypeFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemStatusTypeFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemStatusTypeFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemStatusTypeFilter;{0c39514e-cbb6-4777-8534-2e0c521affa2})"); } -impl ::core::clone::Clone for RemoteSystemStatusTypeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemStatusTypeFilter { type Vtable = IRemoteSystemStatusTypeFilter_Vtbl; } @@ -3968,6 +3175,7 @@ unsafe impl ::core::marker::Send for RemoteSystemStatusTypeFilter {} unsafe impl ::core::marker::Sync for RemoteSystemStatusTypeFilter {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemUpdatedEventArgs(::windows_core::IUnknown); impl RemoteSystemUpdatedEventArgs { pub fn RemoteSystem(&self) -> ::windows_core::Result { @@ -3978,25 +3186,9 @@ impl RemoteSystemUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemUpdatedEventArgs {} -impl ::core::fmt::Debug for RemoteSystemUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemUpdatedEventArgs;{7502ff0e-dbcb-4155-b4ca-b30a04f27627})"); } -impl ::core::clone::Clone for RemoteSystemUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemUpdatedEventArgs { type Vtable = IRemoteSystemUpdatedEventArgs_Vtbl; } @@ -4011,6 +3203,7 @@ unsafe impl ::core::marker::Send for RemoteSystemUpdatedEventArgs {} unsafe impl ::core::marker::Sync for RemoteSystemUpdatedEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemWatcher(::windows_core::IUnknown); impl RemoteSystemWatcher { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -4119,25 +3312,9 @@ impl RemoteSystemWatcher { } } } -impl ::core::cmp::PartialEq for RemoteSystemWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemWatcher {} -impl ::core::fmt::Debug for RemoteSystemWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcher;{5d600c7e-2c07-48c5-889c-455d2b099771})"); } -impl ::core::clone::Clone for RemoteSystemWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemWatcher { type Vtable = IRemoteSystemWatcher_Vtbl; } @@ -4152,6 +3329,7 @@ unsafe impl ::core::marker::Send for RemoteSystemWatcher {} unsafe impl ::core::marker::Sync for RemoteSystemWatcher {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemWatcherErrorOccurredEventArgs(::windows_core::IUnknown); impl RemoteSystemWatcherErrorOccurredEventArgs { pub fn Error(&self) -> ::windows_core::Result { @@ -4162,25 +3340,9 @@ impl RemoteSystemWatcherErrorOccurredEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteSystemWatcherErrorOccurredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemWatcherErrorOccurredEventArgs {} -impl ::core::fmt::Debug for RemoteSystemWatcherErrorOccurredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemWatcherErrorOccurredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemWatcherErrorOccurredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWatcherErrorOccurredEventArgs;{74c5c6af-5114-4426-9216-20d81f8519ae})"); } -impl ::core::clone::Clone for RemoteSystemWatcherErrorOccurredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemWatcherErrorOccurredEventArgs { type Vtable = IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl; } @@ -4195,6 +3357,7 @@ unsafe impl ::core::marker::Send for RemoteSystemWatcherErrorOccurredEventArgs { unsafe impl ::core::marker::Sync for RemoteSystemWatcherErrorOccurredEventArgs {} #[doc = "*Required features: `\"System_RemoteSystems\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteSystemWebAccountFilter(::windows_core::IUnknown); impl RemoteSystemWebAccountFilter { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -4223,25 +3386,9 @@ impl RemoteSystemWebAccountFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteSystemWebAccountFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteSystemWebAccountFilter {} -impl ::core::fmt::Debug for RemoteSystemWebAccountFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteSystemWebAccountFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteSystemWebAccountFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteSystems.RemoteSystemWebAccountFilter;{3fb75873-87c8-5d8f-977e-f69f96d67238})"); } -impl ::core::clone::Clone for RemoteSystemWebAccountFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteSystemWebAccountFilter { type Vtable = IRemoteSystemWebAccountFilter_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs index 00047d8bc0..ee21f88534 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreallocatedWorkItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPreallocatedWorkItem { type Vtable = IPreallocatedWorkItem_Vtbl; } -impl ::core::clone::Clone for IPreallocatedWorkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreallocatedWorkItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6daa9fc_bc5b_401a_a8b2_6e754d14daa6); } @@ -23,15 +19,11 @@ pub struct IPreallocatedWorkItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreallocatedWorkItemFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPreallocatedWorkItemFactory { type Vtable = IPreallocatedWorkItemFactory_Vtbl; } -impl ::core::clone::Clone for IPreallocatedWorkItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreallocatedWorkItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3d32b45_dfea_469b_82c5_f6e3cefdeafb); } @@ -54,15 +46,11 @@ pub struct IPreallocatedWorkItemFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignalNotifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISignalNotifier { type Vtable = ISignalNotifier_Vtbl; } -impl ::core::clone::Clone for ISignalNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISignalNotifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14285e06_63a7_4713_b6d9_62f64b56fb8b); } @@ -75,15 +63,11 @@ pub struct ISignalNotifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignalNotifierStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISignalNotifierStatics { type Vtable = ISignalNotifierStatics_Vtbl; } -impl ::core::clone::Clone for ISignalNotifierStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISignalNotifierStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c4e4566_8400_46d3_a115_7d0c0dfc9f62); } @@ -104,6 +88,7 @@ pub struct ISignalNotifierStatics_Vtbl { } #[doc = "*Required features: `\"System_Threading_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PreallocatedWorkItem(::windows_core::IUnknown); impl PreallocatedWorkItem { #[doc = "*Required features: `\"Foundation\"`*"] @@ -154,25 +139,9 @@ impl PreallocatedWorkItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PreallocatedWorkItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PreallocatedWorkItem {} -impl ::core::fmt::Debug for PreallocatedWorkItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PreallocatedWorkItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PreallocatedWorkItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.PreallocatedWorkItem;{b6daa9fc-bc5b-401a-a8b2-6e754d14daa6})"); } -impl ::core::clone::Clone for PreallocatedWorkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PreallocatedWorkItem { type Vtable = IPreallocatedWorkItem_Vtbl; } @@ -187,6 +156,7 @@ unsafe impl ::core::marker::Send for PreallocatedWorkItem {} unsafe impl ::core::marker::Sync for PreallocatedWorkItem {} #[doc = "*Required features: `\"System_Threading_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SignalNotifier(::windows_core::IUnknown); impl SignalNotifier { pub fn Enable(&self) -> ::windows_core::Result<()> { @@ -243,25 +213,9 @@ impl SignalNotifier { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SignalNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SignalNotifier {} -impl ::core::fmt::Debug for SignalNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SignalNotifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SignalNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.Core.SignalNotifier;{14285e06-63a7-4713-b6d9-62f64b56fb8b})"); } -impl ::core::clone::Clone for SignalNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SignalNotifier { type Vtable = ISignalNotifier_Vtbl; } @@ -276,6 +230,7 @@ unsafe impl ::core::marker::Send for SignalNotifier {} unsafe impl ::core::marker::Sync for SignalNotifier {} #[doc = "*Required features: `\"System_Threading_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SignalHandler(pub ::windows_core::IUnknown); impl SignalHandler { pub fn new, bool) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -301,9 +256,12 @@ impl, bool) -> ::windows_core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -328,25 +286,9 @@ impl, bool) -> ::windows_core:: ((*this).invoke)(::windows_core::from_raw_borrowed(&signalnotifier), timedout).into() } } -impl ::core::cmp::PartialEq for SignalHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SignalHandler {} -impl ::core::fmt::Debug for SignalHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SignalHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for SignalHandler { type Vtable = SignalHandler_Vtbl; } -impl ::core::clone::Clone for SignalHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for SignalHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x923c402e_4721_440e_9dda_55b6f2e07710); } diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index 11a8feaf28..44168d341c 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThreadPoolStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IThreadPoolStatics { type Vtable = IThreadPoolStatics_Vtbl; } -impl ::core::clone::Clone for IThreadPoolStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThreadPoolStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6bf67dd_84bd_44f8_ac1c_93ebcb9dba91); } @@ -33,15 +29,11 @@ pub struct IThreadPoolStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThreadPoolTimer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IThreadPoolTimer { type Vtable = IThreadPoolTimer_Vtbl; } -impl ::core::clone::Clone for IThreadPoolTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThreadPoolTimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x594ebe78_55ea_4a88_a50d_3402ae1f9cf2); } @@ -61,15 +53,11 @@ pub struct IThreadPoolTimer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThreadPoolTimerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IThreadPoolTimerStatics { type Vtable = IThreadPoolTimerStatics_Vtbl; } -impl ::core::clone::Clone for IThreadPoolTimerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThreadPoolTimerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a8a9d02_e482_461b_b8c7_8efad1cce590); } @@ -141,6 +129,7 @@ impl ::windows_core::RuntimeName for ThreadPool { } #[doc = "*Required features: `\"System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ThreadPoolTimer(::windows_core::IUnknown); impl ThreadPoolTimer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -217,25 +206,9 @@ impl ThreadPoolTimer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ThreadPoolTimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ThreadPoolTimer {} -impl ::core::fmt::Debug for ThreadPoolTimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ThreadPoolTimer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ThreadPoolTimer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Threading.ThreadPoolTimer;{594ebe78-55ea-4a88-a50d-3402ae1f9cf2})"); } -impl ::core::clone::Clone for ThreadPoolTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ThreadPoolTimer { type Vtable = IThreadPoolTimer_Vtbl; } @@ -344,6 +317,7 @@ impl ::windows_core::RuntimeType for WorkItemPriority { } #[doc = "*Required features: `\"System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimerDestroyedHandler(pub ::windows_core::IUnknown); impl TimerDestroyedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -369,9 +343,12 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -396,25 +373,9 @@ impl) -> ::windows_core::Resul ((*this).invoke)(::windows_core::from_raw_borrowed(&timer)).into() } } -impl ::core::cmp::PartialEq for TimerDestroyedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimerDestroyedHandler {} -impl ::core::fmt::Debug for TimerDestroyedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimerDestroyedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for TimerDestroyedHandler { type Vtable = TimerDestroyedHandler_Vtbl; } -impl ::core::clone::Clone for TimerDestroyedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for TimerDestroyedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34ed19fa_8384_4eb9_8209_fb5094eeec35); } @@ -429,6 +390,7 @@ pub struct TimerDestroyedHandler_Vtbl { } #[doc = "*Required features: `\"System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TimerElapsedHandler(pub ::windows_core::IUnknown); impl TimerElapsedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -454,9 +416,12 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -481,25 +446,9 @@ impl) -> ::windows_core::Resul ((*this).invoke)(::windows_core::from_raw_borrowed(&timer)).into() } } -impl ::core::cmp::PartialEq for TimerElapsedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TimerElapsedHandler {} -impl ::core::fmt::Debug for TimerElapsedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TimerElapsedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for TimerElapsedHandler { type Vtable = TimerElapsedHandler_Vtbl; } -impl ::core::clone::Clone for TimerElapsedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for TimerElapsedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaaea667_fbeb_49cb_adb2_71184c556e43); } @@ -515,6 +464,7 @@ pub struct TimerElapsedHandler_Vtbl { #[doc = "*Required features: `\"System_Threading\"`, `\"Foundation\"`*"] #[cfg(feature = "Foundation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WorkItemHandler(pub ::windows_core::IUnknown); #[cfg(feature = "Foundation")] impl WorkItemHandler { @@ -545,9 +495,12 @@ impl) - base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -573,30 +526,10 @@ impl) - } } #[cfg(feature = "Foundation")] -impl ::core::cmp::PartialEq for WorkItemHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation")] -impl ::core::cmp::Eq for WorkItemHandler {} -#[cfg(feature = "Foundation")] -impl ::core::fmt::Debug for WorkItemHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WorkItemHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::Interface for WorkItemHandler { type Vtable = WorkItemHandler_Vtbl; } #[cfg(feature = "Foundation")] -impl ::core::clone::Clone for WorkItemHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation")] unsafe impl ::windows_core::ComInterface for WorkItemHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d1a8b8b_fa66_414f_9cbd_b65fc99d17fa); } diff --git a/crates/libs/windows/src/Windows/System/Update/mod.rs b/crates/libs/windows/src/Windows/System/Update/mod.rs index 8225a198b5..cca1c2b6d8 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemUpdateItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemUpdateItem { type Vtable = ISystemUpdateItem_Vtbl; } -impl ::core::clone::Clone for ISystemUpdateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemUpdateItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x779740eb_5624_519e_a8e2_09e9173b3fb7); } @@ -27,15 +23,11 @@ pub struct ISystemUpdateItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemUpdateLastErrorInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemUpdateLastErrorInfo { type Vtable = ISystemUpdateLastErrorInfo_Vtbl; } -impl ::core::clone::Clone for ISystemUpdateLastErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemUpdateLastErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ee887f7_8a44_5b6e_bd07_7aece4116ea9); } @@ -49,15 +41,11 @@ pub struct ISystemUpdateLastErrorInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemUpdateManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemUpdateManagerStatics { type Vtable = ISystemUpdateManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISystemUpdateManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemUpdateManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2d3fcef_2971_51be_b41a_8bd703bb701a); } @@ -125,6 +113,7 @@ pub struct ISystemUpdateManagerStatics_Vtbl { } #[doc = "*Required features: `\"System_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemUpdateItem(::windows_core::IUnknown); impl SystemUpdateItem { pub fn State(&self) -> ::windows_core::Result { @@ -184,25 +173,9 @@ impl SystemUpdateItem { } } } -impl ::core::cmp::PartialEq for SystemUpdateItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemUpdateItem {} -impl ::core::fmt::Debug for SystemUpdateItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemUpdateItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemUpdateItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateItem;{779740eb-5624-519e-a8e2-09e9173b3fb7})"); } -impl ::core::clone::Clone for SystemUpdateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemUpdateItem { type Vtable = ISystemUpdateItem_Vtbl; } @@ -217,6 +190,7 @@ unsafe impl ::core::marker::Send for SystemUpdateItem {} unsafe impl ::core::marker::Sync for SystemUpdateItem {} #[doc = "*Required features: `\"System_Update\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemUpdateLastErrorInfo(::windows_core::IUnknown); impl SystemUpdateLastErrorInfo { pub fn State(&self) -> ::windows_core::Result { @@ -241,25 +215,9 @@ impl SystemUpdateLastErrorInfo { } } } -impl ::core::cmp::PartialEq for SystemUpdateLastErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemUpdateLastErrorInfo {} -impl ::core::fmt::Debug for SystemUpdateLastErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemUpdateLastErrorInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemUpdateLastErrorInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.Update.SystemUpdateLastErrorInfo;{7ee887f7-8a44-5b6e-bd07-7aece4116ea9})"); } -impl ::core::clone::Clone for SystemUpdateLastErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemUpdateLastErrorInfo { type Vtable = ISystemUpdateLastErrorInfo_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 78be5e6461..20af04a6ee 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvertisingManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvertisingManagerForUser { type Vtable = IAdvertisingManagerForUser_Vtbl; } -impl ::core::clone::Clone for IAdvertisingManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvertisingManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x928bf3d0_cf7c_4ab0_a7dc_6dc5bcd44252); } @@ -21,15 +17,11 @@ pub struct IAdvertisingManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvertisingManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvertisingManagerStatics { type Vtable = IAdvertisingManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAdvertisingManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvertisingManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadd3468c_a273_48cb_b346_3544522d5581); } @@ -41,15 +33,11 @@ pub struct IAdvertisingManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvertisingManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdvertisingManagerStatics2 { type Vtable = IAdvertisingManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IAdvertisingManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvertisingManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd0947af_1a6d_46b0_95bc_f3f9d6beb9fb); } @@ -61,15 +49,11 @@ pub struct IAdvertisingManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssignedAccessSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAssignedAccessSettings { type Vtable = IAssignedAccessSettings_Vtbl; } -impl ::core::clone::Clone for IAssignedAccessSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssignedAccessSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bc57f1c_e971_5757_b8e0_512f8b8c46d2); } @@ -83,15 +67,11 @@ pub struct IAssignedAccessSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssignedAccessSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAssignedAccessSettingsStatics { type Vtable = IAssignedAccessSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IAssignedAccessSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssignedAccessSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34a81d0d_8a29_5ef3_a7be_618e6ac3bd01); } @@ -104,15 +84,11 @@ pub struct IAssignedAccessSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticsSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticsSettings { type Vtable = IDiagnosticsSettings_Vtbl; } -impl ::core::clone::Clone for IDiagnosticsSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticsSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5e9eccd_2711_44e0_973c_491d78048d24); } @@ -125,15 +101,11 @@ pub struct IDiagnosticsSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiagnosticsSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDiagnosticsSettingsStatics { type Vtable = IDiagnosticsSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IDiagnosticsSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiagnosticsSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72d2e80f_5390_4793_990b_3ccc7d6ac9c8); } @@ -146,15 +118,11 @@ pub struct IDiagnosticsSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFirstSignInSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFirstSignInSettings { type Vtable = IFirstSignInSettings_Vtbl; } -impl ::core::clone::Clone for IFirstSignInSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFirstSignInSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e945153_3a5e_452e_a601_f5baad2a4870); } @@ -165,15 +133,11 @@ pub struct IFirstSignInSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFirstSignInSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFirstSignInSettingsStatics { type Vtable = IFirstSignInSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IFirstSignInSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFirstSignInSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ce18f0f_1c41_4ea0_b7a2_6f0c1c7e8438); } @@ -185,15 +149,11 @@ pub struct IFirstSignInSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalizationPreferencesForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalizationPreferencesForUser { type Vtable = IGlobalizationPreferencesForUser_Vtbl; } -impl ::core::clone::Clone for IGlobalizationPreferencesForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalizationPreferencesForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x150f0795_4f6e_40ba_a010_e27d81bda7f5); } @@ -226,15 +186,11 @@ pub struct IGlobalizationPreferencesForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalizationPreferencesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalizationPreferencesStatics { type Vtable = IGlobalizationPreferencesStatics_Vtbl; } -impl ::core::clone::Clone for IGlobalizationPreferencesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalizationPreferencesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01bf4326_ed37_4e96_b0e9_c1340d1ea158); } @@ -266,15 +222,11 @@ pub struct IGlobalizationPreferencesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalizationPreferencesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalizationPreferencesStatics2 { type Vtable = IGlobalizationPreferencesStatics2_Vtbl; } -impl ::core::clone::Clone for IGlobalizationPreferencesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalizationPreferencesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcce85f1_4300_4cd0_9cac_1a8e7b7e18f4); } @@ -290,15 +242,11 @@ pub struct IGlobalizationPreferencesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalizationPreferencesStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGlobalizationPreferencesStatics3 { type Vtable = IGlobalizationPreferencesStatics3_Vtbl; } -impl ::core::clone::Clone for IGlobalizationPreferencesStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalizationPreferencesStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e059733_35f5_40d8_b9e8_aef3ef856fce); } @@ -310,15 +258,11 @@ pub struct IGlobalizationPreferencesStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenImageFeedStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenImageFeedStatics { type Vtable = ILockScreenImageFeedStatics_Vtbl; } -impl ::core::clone::Clone for ILockScreenImageFeedStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenImageFeedStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c0d73f6_03a9_41a6_9b01_495251ff51d5); } @@ -334,15 +278,11 @@ pub struct ILockScreenImageFeedStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockScreenStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILockScreenStatics { type Vtable = ILockScreenStatics_Vtbl; } -impl ::core::clone::Clone for ILockScreenStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockScreenStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ee9d3ad_b607_40ae_b426_7631d9821269); } @@ -370,18 +310,13 @@ pub struct ILockScreenStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserInformationStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IUserInformationStatics { type Vtable = IUserInformationStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IUserInformationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IUserInformationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77f3a910_48fa_489c_934e_2ae85ba8f772); } @@ -453,15 +388,11 @@ pub struct IUserInformationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserProfilePersonalizationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserProfilePersonalizationSettings { type Vtable = IUserProfilePersonalizationSettings_Vtbl; } -impl ::core::clone::Clone for IUserProfilePersonalizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserProfilePersonalizationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ceddab4_7998_46d5_8dd3_184f1c5f9ab9); } @@ -480,15 +411,11 @@ pub struct IUserProfilePersonalizationSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserProfilePersonalizationSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserProfilePersonalizationSettingsStatics { type Vtable = IUserProfilePersonalizationSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IUserProfilePersonalizationSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserProfilePersonalizationSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91acb841_5037_454b_9883_bb772d08dd16); } @@ -533,6 +460,7 @@ impl ::windows_core::RuntimeName for AdvertisingManager { } #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdvertisingManagerForUser(::windows_core::IUnknown); impl AdvertisingManagerForUser { pub fn AdvertisingId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -550,25 +478,9 @@ impl AdvertisingManagerForUser { } } } -impl ::core::cmp::PartialEq for AdvertisingManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdvertisingManagerForUser {} -impl ::core::fmt::Debug for AdvertisingManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdvertisingManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdvertisingManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AdvertisingManagerForUser;{928bf3d0-cf7c-4ab0-a7dc-6dc5bcd44252})"); } -impl ::core::clone::Clone for AdvertisingManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdvertisingManagerForUser { type Vtable = IAdvertisingManagerForUser_Vtbl; } @@ -583,6 +495,7 @@ unsafe impl ::core::marker::Send for AdvertisingManagerForUser {} unsafe impl ::core::marker::Sync for AdvertisingManagerForUser {} #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AssignedAccessSettings(::windows_core::IUnknown); impl AssignedAccessSettings { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -627,25 +540,9 @@ impl AssignedAccessSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AssignedAccessSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AssignedAccessSettings {} -impl ::core::fmt::Debug for AssignedAccessSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AssignedAccessSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AssignedAccessSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.AssignedAccessSettings;{1bc57f1c-e971-5757-b8e0-512f8b8c46d2})"); } -impl ::core::clone::Clone for AssignedAccessSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AssignedAccessSettings { type Vtable = IAssignedAccessSettings_Vtbl; } @@ -660,6 +557,7 @@ unsafe impl ::core::marker::Send for AssignedAccessSettings {} unsafe impl ::core::marker::Sync for AssignedAccessSettings {} #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DiagnosticsSettings(::windows_core::IUnknown); impl DiagnosticsSettings { pub fn CanUseDiagnosticsToTailorExperiences(&self) -> ::windows_core::Result { @@ -697,25 +595,9 @@ impl DiagnosticsSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DiagnosticsSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DiagnosticsSettings {} -impl ::core::fmt::Debug for DiagnosticsSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DiagnosticsSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DiagnosticsSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.DiagnosticsSettings;{e5e9eccd-2711-44e0-973c-491d78048d24})"); } -impl ::core::clone::Clone for DiagnosticsSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DiagnosticsSettings { type Vtable = IDiagnosticsSettings_Vtbl; } @@ -730,6 +612,7 @@ unsafe impl ::core::marker::Send for DiagnosticsSettings {} unsafe impl ::core::marker::Sync for DiagnosticsSettings {} #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FirstSignInSettings(::windows_core::IUnknown); impl FirstSignInSettings { pub fn GetDefault() -> ::windows_core::Result { @@ -786,25 +669,9 @@ impl FirstSignInSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FirstSignInSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FirstSignInSettings {} -impl ::core::fmt::Debug for FirstSignInSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FirstSignInSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FirstSignInSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.FirstSignInSettings;{3e945153-3a5e-452e-a601-f5baad2a4870})"); } -impl ::core::clone::Clone for FirstSignInSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FirstSignInSettings { type Vtable = IFirstSignInSettings_Vtbl; } @@ -933,6 +800,7 @@ impl ::windows_core::RuntimeName for GlobalizationPreferences { } #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GlobalizationPreferencesForUser(::windows_core::IUnknown); impl GlobalizationPreferencesForUser { pub fn User(&self) -> ::windows_core::Result { @@ -995,25 +863,9 @@ impl GlobalizationPreferencesForUser { } } } -impl ::core::cmp::PartialEq for GlobalizationPreferencesForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GlobalizationPreferencesForUser {} -impl ::core::fmt::Debug for GlobalizationPreferencesForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GlobalizationPreferencesForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GlobalizationPreferencesForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.GlobalizationPreferencesForUser;{150f0795-4f6e-40ba-a010-e27d81bda7f5})"); } -impl ::core::clone::Clone for GlobalizationPreferencesForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GlobalizationPreferencesForUser { type Vtable = IGlobalizationPreferencesForUser_Vtbl; } @@ -1252,6 +1104,7 @@ impl ::windows_core::RuntimeName for UserInformation { } #[doc = "*Required features: `\"System_UserProfile\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserProfilePersonalizationSettings(::windows_core::IUnknown); impl UserProfilePersonalizationSettings { #[doc = "*Required features: `\"Foundation\"`, `\"Storage\"`*"] @@ -1296,25 +1149,9 @@ impl UserProfilePersonalizationSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserProfilePersonalizationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserProfilePersonalizationSettings {} -impl ::core::fmt::Debug for UserProfilePersonalizationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserProfilePersonalizationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserProfilePersonalizationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserProfile.UserProfilePersonalizationSettings;{8ceddab4-7998-46d5-8dd3-184f1c5f9ab9})"); } -impl ::core::clone::Clone for UserProfilePersonalizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserProfilePersonalizationSettings { type Vtable = IUserProfilePersonalizationSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/System/impl.rs b/crates/libs/windows/src/Windows/System/impl.rs index a434710e10..f785918665 100644 --- a/crates/libs/windows/src/Windows/System/impl.rs +++ b/crates/libs/windows/src/Windows/System/impl.rs @@ -33,7 +33,7 @@ impl ILauncherViewOptions_Vtbl { SetDesiredRemainingView: SetDesiredRemainingView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 0e3888ccfd..a4511338c7 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -22,15 +22,11 @@ pub mod Update; pub mod UserProfile; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppActivationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppActivationResult { type Vtable = IAppActivationResult_Vtbl; } -impl ::core::clone::Clone for IAppActivationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppActivationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b528900_f46e_4eb0_aa6c_38af557cf9ed); } @@ -43,15 +39,11 @@ pub struct IAppActivationResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfo { type Vtable = IAppDiagnosticInfo_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe348a69a_8889_4ca3_be07_d5ffff5f0804); } @@ -66,15 +58,11 @@ pub struct IAppDiagnosticInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfo2 { type Vtable = IAppDiagnosticInfo2_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf46fbd7_191a_446c_9473_8fbc2374a354); } @@ -90,15 +78,11 @@ pub struct IAppDiagnosticInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfo3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfo3 { type Vtable = IAppDiagnosticInfo3_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc895c63d_dd61_4c65_babd_81a10b4f9815); } @@ -113,15 +97,11 @@ pub struct IAppDiagnosticInfo3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfoStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfoStatics { type Vtable = IAppDiagnosticInfoStatics_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfoStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfoStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce6925bf_10ca_40c8_a9ca_c5c96501866e); } @@ -136,15 +116,11 @@ pub struct IAppDiagnosticInfoStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfoStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfoStatics2 { type Vtable = IAppDiagnosticInfoStatics2_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfoStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfoStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05b24b86_1000_4c90_bb9f_7235071c50fe); } @@ -172,15 +148,11 @@ pub struct IAppDiagnosticInfoStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfoWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfoWatcher { type Vtable = IAppDiagnosticInfoWatcher_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfoWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfoWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75575070_01d3_489a_9325_52f9cc6ede0a); } @@ -226,15 +198,11 @@ pub struct IAppDiagnosticInfoWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDiagnosticInfoWatcherEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppDiagnosticInfoWatcherEventArgs { type Vtable = IAppDiagnosticInfoWatcherEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppDiagnosticInfoWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDiagnosticInfoWatcherEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7017c716_e1da_4c65_99df_046dff5be71a); } @@ -246,15 +214,11 @@ pub struct IAppDiagnosticInfoWatcherEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppExecutionStateChangeResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppExecutionStateChangeResult { type Vtable = IAppExecutionStateChangeResult_Vtbl; } -impl ::core::clone::Clone for IAppExecutionStateChangeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppExecutionStateChangeResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f039bf0_f91b_4df8_ae77_3033ccb69114); } @@ -266,15 +230,11 @@ pub struct IAppExecutionStateChangeResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppMemoryReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppMemoryReport { type Vtable = IAppMemoryReport_Vtbl; } -impl ::core::clone::Clone for IAppMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppMemoryReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d65339b_4d6f_45bc_9c5e_e49b3ff2758d); } @@ -289,15 +249,11 @@ pub struct IAppMemoryReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppMemoryReport2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppMemoryReport2 { type Vtable = IAppMemoryReport2_Vtbl; } -impl ::core::clone::Clone for IAppMemoryReport2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppMemoryReport2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f7f3738_51b7_42dc_b7ed_79ba46d28857); } @@ -309,15 +265,11 @@ pub struct IAppMemoryReport2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppMemoryUsageLimitChangingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppMemoryUsageLimitChangingEventArgs { type Vtable = IAppMemoryUsageLimitChangingEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppMemoryUsageLimitChangingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppMemoryUsageLimitChangingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79f86664_feca_4da5_9e40_2bc63efdc979); } @@ -330,15 +282,11 @@ pub struct IAppMemoryUsageLimitChangingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupBackgroundTaskReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupBackgroundTaskReport { type Vtable = IAppResourceGroupBackgroundTaskReport_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupBackgroundTaskReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupBackgroundTaskReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2566e74e_b05d_40c2_9dc1_1a4f039ea120); } @@ -353,15 +301,11 @@ pub struct IAppResourceGroupBackgroundTaskReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupInfo { type Vtable = IAppResourceGroupInfo_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb913f77a_e807_49f4_845e_7b8bdcfe8ee7); } @@ -384,15 +328,11 @@ pub struct IAppResourceGroupInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupInfo2 { type Vtable = IAppResourceGroupInfo2_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee9b236d_d305_4d6b_92f7_6afdad72dedc); } @@ -415,15 +355,11 @@ pub struct IAppResourceGroupInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupInfoWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupInfoWatcher { type Vtable = IAppResourceGroupInfoWatcher_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupInfoWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupInfoWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9b0a0fd_6e5a_4c72_8b17_09fec4a212bd); } @@ -477,15 +413,11 @@ pub struct IAppResourceGroupInfoWatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupInfoWatcherEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupInfoWatcherEventArgs { type Vtable = IAppResourceGroupInfoWatcherEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupInfoWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupInfoWatcherEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a787637_6302_4d2f_bf89_1c12d0b2a6b9); } @@ -501,15 +433,11 @@ pub struct IAppResourceGroupInfoWatcherEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs { type Vtable = IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bdbedd7_fee6_4fd4_98dd_e92a2cc299f3); } @@ -525,15 +453,11 @@ pub struct IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupMemoryReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupMemoryReport { type Vtable = IAppResourceGroupMemoryReport_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupMemoryReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c8c06b1_7db1_4c51_a225_7fae2d49e431); } @@ -548,15 +472,11 @@ pub struct IAppResourceGroupMemoryReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppResourceGroupStateReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppResourceGroupStateReport { type Vtable = IAppResourceGroupStateReport_Vtbl; } -impl ::core::clone::Clone for IAppResourceGroupStateReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppResourceGroupStateReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52849f18_2f70_4236_ab40_d04db0c7b931); } @@ -569,15 +489,11 @@ pub struct IAppResourceGroupStateReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerHost(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerHost { type Vtable = IAppUriHandlerHost_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d50cac5_92d2_5409_b56f_7f73e10ea4c3); } @@ -590,15 +506,11 @@ pub struct IAppUriHandlerHost_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerHost2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerHost2 { type Vtable = IAppUriHandlerHost2_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerHost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerHost2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a0bee95_29e4_51bf_8095_a3c068e3c72a); } @@ -611,15 +523,11 @@ pub struct IAppUriHandlerHost2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerHostFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerHostFactory { type Vtable = IAppUriHandlerHostFactory_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerHostFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerHostFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x257c3c96_ce04_5f98_96bb_3ebd3e9275bb); } @@ -631,15 +539,11 @@ pub struct IAppUriHandlerHostFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistration { type Vtable = IAppUriHandlerRegistration_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f73aeb1_4569_5c3f_9ba0_99123eea32c3); } @@ -660,15 +564,11 @@ pub struct IAppUriHandlerRegistration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistration2 { type Vtable = IAppUriHandlerRegistration2_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd54dac97_cb39_5f1f_883e_01853730bd6d); } @@ -688,15 +588,11 @@ pub struct IAppUriHandlerRegistration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistrationManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistrationManager { type Vtable = IAppUriHandlerRegistrationManager_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistrationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistrationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe62c9a52_ac94_5750_ac1b_6cfb6f250263); } @@ -709,15 +605,11 @@ pub struct IAppUriHandlerRegistrationManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistrationManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistrationManager2 { type Vtable = IAppUriHandlerRegistrationManager2_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistrationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistrationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbddfcaf1_b51a_5e69_aefd_7088d9f2b123); } @@ -729,15 +621,11 @@ pub struct IAppUriHandlerRegistrationManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistrationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistrationManagerStatics { type Vtable = IAppUriHandlerRegistrationManagerStatics_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistrationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistrationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5cedd9f_5729_5b76_a1d4_0285f295c124); } @@ -750,15 +638,11 @@ pub struct IAppUriHandlerRegistrationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppUriHandlerRegistrationManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppUriHandlerRegistrationManagerStatics2 { type Vtable = IAppUriHandlerRegistrationManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IAppUriHandlerRegistrationManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppUriHandlerRegistrationManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14f78379_6890_5080_90a7_98824a7f079e); } @@ -771,15 +655,11 @@ pub struct IAppUriHandlerRegistrationManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDateTimeSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDateTimeSettingsStatics { type Vtable = IDateTimeSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IDateTimeSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDateTimeSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d2150d1_47ee_48ab_a52b_9f1954278d82); } @@ -794,15 +674,11 @@ pub struct IDateTimeSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueue { type Vtable = IDispatcherQueue_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x603e88e4_a338_4ffe_a457_a5cfb9ceb899); } @@ -832,15 +708,11 @@ pub struct IDispatcherQueue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueue2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueue2 { type Vtable = IDispatcherQueue2_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueue2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueue2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc822c647_30ef_506e_bd1e_a647ae6675ff); } @@ -852,15 +724,11 @@ pub struct IDispatcherQueue2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueueController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueueController { type Vtable = IDispatcherQueueController_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueueController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueueController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f34e66_50db_4e36_a98d_61c01b384d20); } @@ -876,15 +744,11 @@ pub struct IDispatcherQueueController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueueControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueueControllerStatics { type Vtable = IDispatcherQueueControllerStatics_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueueControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueueControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a6c98e0_5198_49a2_a313_3f70d1f13c27); } @@ -896,15 +760,11 @@ pub struct IDispatcherQueueControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueueShutdownStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueueShutdownStartingEventArgs { type Vtable = IDispatcherQueueShutdownStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueueShutdownStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueueShutdownStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4724c4c_ff97_40c0_a226_cc0aaa545e89); } @@ -919,15 +779,11 @@ pub struct IDispatcherQueueShutdownStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueueStatics { type Vtable = IDispatcherQueueStatics_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa96d83d7_9371_4517_9245_d0824ac12c74); } @@ -939,15 +795,11 @@ pub struct IDispatcherQueueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatcherQueueTimer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDispatcherQueueTimer { type Vtable = IDispatcherQueueTimer_Vtbl; } -impl ::core::clone::Clone for IDispatcherQueueTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatcherQueueTimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5feabb1d_a31c_4727_b1ac_37454649d56a); } @@ -979,15 +831,11 @@ pub struct IDispatcherQueueTimer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderLauncherOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFolderLauncherOptions { type Vtable = IFolderLauncherOptions_Vtbl; } -impl ::core::clone::Clone for IFolderLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderLauncherOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb91c27d_6b87_432a_bd04_776c6f5fb2ab); } @@ -1002,15 +850,11 @@ pub struct IFolderLauncherOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownUserPropertiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownUserPropertiesStatics { type Vtable = IKnownUserPropertiesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownUserPropertiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownUserPropertiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7755911a_70c5_48e5_b637_5ba3441e4ee4); } @@ -1030,15 +874,11 @@ pub struct IKnownUserPropertiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownUserPropertiesStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownUserPropertiesStatics2 { type Vtable = IKnownUserPropertiesStatics2_Vtbl; } -impl ::core::clone::Clone for IKnownUserPropertiesStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownUserPropertiesStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b450782_f620_577e_b1b3_dd56644d79b1); } @@ -1050,15 +890,11 @@ pub struct IKnownUserPropertiesStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchUriResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILaunchUriResult { type Vtable = ILaunchUriResult_Vtbl; } -impl ::core::clone::Clone for ILaunchUriResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchUriResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec27a8df_f6d5_45ca_913a_70a40c5c8221); } @@ -1074,15 +910,11 @@ pub struct ILaunchUriResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherOptions { type Vtable = ILauncherOptions_Vtbl; } -impl ::core::clone::Clone for ILauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbafa21d8_b071_4cd8_853e_341203e557d3); } @@ -1112,15 +944,11 @@ pub struct ILauncherOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherOptions2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherOptions2 { type Vtable = ILauncherOptions2_Vtbl; } -impl ::core::clone::Clone for ILauncherOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ba08eb4_6e40_4dce_a1a3_2f53950afb49); } @@ -1141,15 +969,11 @@ pub struct ILauncherOptions2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherOptions3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherOptions3 { type Vtable = ILauncherOptions3_Vtbl; } -impl ::core::clone::Clone for ILauncherOptions3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherOptions3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0770655_4b63_4e3a_9107_4e687841923a); } @@ -1162,15 +986,11 @@ pub struct ILauncherOptions3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherOptions4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherOptions4 { type Vtable = ILauncherOptions4_Vtbl; } -impl ::core::clone::Clone for ILauncherOptions4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherOptions4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef6fd10e_e6fb_4814_a44e_57e8b9d9a01b); } @@ -1183,15 +1003,11 @@ pub struct ILauncherOptions4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherStatics { type Vtable = ILauncherStatics_Vtbl; } -impl ::core::clone::Clone for ILauncherStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x277151c3_9e3e_42f6_91a4_5dfdeb232451); } @@ -1218,15 +1034,11 @@ pub struct ILauncherStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherStatics2 { type Vtable = ILauncherStatics2_Vtbl; } -impl ::core::clone::Clone for ILauncherStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59ba2fbb_24cb_4c02_a4c4_8294569d54f1); } @@ -1277,15 +1089,11 @@ pub struct ILauncherStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherStatics3 { type Vtable = ILauncherStatics3_Vtbl; } -impl ::core::clone::Clone for ILauncherStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x234261a8_9db3_4683_aa42_dc6f51d33847); } @@ -1304,15 +1112,11 @@ pub struct ILauncherStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherStatics4 { type Vtable = ILauncherStatics4_Vtbl; } -impl ::core::clone::Clone for ILauncherStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9ec819f_b5a5_41c6_b3b3_dd1b3178bcf2); } @@ -1355,15 +1159,11 @@ pub struct ILauncherStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherStatics5 { type Vtable = ILauncherStatics5_Vtbl; } -impl ::core::clone::Clone for ILauncherStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b24ef84_d895_5fea_9153_1ac49aed9ba9); } @@ -1390,15 +1190,11 @@ pub struct ILauncherStatics5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherUIOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILauncherUIOptions { type Vtable = ILauncherUIOptions_Vtbl; } -impl ::core::clone::Clone for ILauncherUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherUIOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b25da6e_8aa6_41e9_8251_4165f5985f49); } @@ -1433,6 +1229,7 @@ pub struct ILauncherUIOptions_Vtbl { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILauncherViewOptions(::windows_core::IUnknown); impl ILauncherViewOptions { #[doc = "*Required features: `\"UI_ViewManagement\"`*"] @@ -1452,28 +1249,12 @@ impl ILauncherViewOptions { } } ::windows_core::imp::interface_hierarchy!(ILauncherViewOptions, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ILauncherViewOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILauncherViewOptions {} -impl ::core::fmt::Debug for ILauncherViewOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILauncherViewOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ILauncherViewOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8a9b29f1-7ca7-49de-9bd3-3c5b7184f616}"); } unsafe impl ::windows_core::Interface for ILauncherViewOptions { type Vtable = ILauncherViewOptions_Vtbl; } -impl ::core::clone::Clone for ILauncherViewOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILauncherViewOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a9b29f1_7ca7_49de_9bd3_3c5b7184f616); } @@ -1492,15 +1273,11 @@ pub struct ILauncherViewOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMemoryManagerStatics { type Vtable = IMemoryManagerStatics_Vtbl; } -impl ::core::clone::Clone for IMemoryManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c6c279c_d7ca_4779_9188_4057219ce64c); } @@ -1538,15 +1315,11 @@ pub struct IMemoryManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMemoryManagerStatics2 { type Vtable = IMemoryManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IMemoryManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eee351f_6d62_423f_9479_b01f9c9f7669); } @@ -1559,15 +1332,11 @@ pub struct IMemoryManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryManagerStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMemoryManagerStatics3 { type Vtable = IMemoryManagerStatics3_Vtbl; } -impl ::core::clone::Clone for IMemoryManagerStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryManagerStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x149b59ce_92ad_4e35_89eb_50dfb4c0d91c); } @@ -1579,15 +1348,11 @@ pub struct IMemoryManagerStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMemoryManagerStatics4 { type Vtable = IMemoryManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IMemoryManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5a94828_e84e_4886_8a0d_44b3190e3b72); } @@ -1599,15 +1364,11 @@ pub struct IMemoryManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessLauncherOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessLauncherOptions { type Vtable = IProcessLauncherOptions_Vtbl; } -impl ::core::clone::Clone for IProcessLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessLauncherOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3080b9cf_f444_4a83_beaf_a549a0f3229c); } @@ -1644,15 +1405,11 @@ pub struct IProcessLauncherOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessLauncherResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessLauncherResult { type Vtable = IProcessLauncherResult_Vtbl; } -impl ::core::clone::Clone for IProcessLauncherResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessLauncherResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x544c8934_86d8_4991_8e75_ece8a43b6b6d); } @@ -1664,15 +1421,11 @@ pub struct IProcessLauncherResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessLauncherStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessLauncherStatics { type Vtable = IProcessLauncherStatics_Vtbl; } -impl ::core::clone::Clone for IProcessLauncherStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessLauncherStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ab66e7_2d0e_448b_a6a0_c13c3836d09c); } @@ -1691,15 +1444,11 @@ pub struct IProcessLauncherStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessMemoryReport(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProcessMemoryReport { type Vtable = IProcessMemoryReport_Vtbl; } -impl ::core::clone::Clone for IProcessMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessMemoryReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x087305a8_9b70_4782_8741_3a982b6ce5e4); } @@ -1712,15 +1461,11 @@ pub struct IProcessMemoryReport_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtocolForResultsOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProtocolForResultsOperation { type Vtable = IProtocolForResultsOperation_Vtbl; } -impl ::core::clone::Clone for IProtocolForResultsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtocolForResultsOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd581293a_6de9_4d28_9378_f86782e182bb); } @@ -1735,15 +1480,11 @@ pub struct IProtocolForResultsOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteLauncherOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteLauncherOptions { type Vtable = IRemoteLauncherOptions_Vtbl; } -impl ::core::clone::Clone for IRemoteLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteLauncherOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e3a2788_2891_4cdf_a2d6_9dff7d02e693); } @@ -1766,15 +1507,11 @@ pub struct IRemoteLauncherOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteLauncherStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteLauncherStatics { type Vtable = IRemoteLauncherStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteLauncherStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteLauncherStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7db7a93_a30c_48b7_9f21_051026a4e517); } @@ -1797,15 +1534,11 @@ pub struct IRemoteLauncherStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShutdownManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShutdownManagerStatics { type Vtable = IShutdownManagerStatics_Vtbl; } -impl ::core::clone::Clone for IShutdownManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShutdownManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72e247ed_dd5b_4d6c_b1d0_c57a7bbb5f94); } @@ -1821,15 +1554,11 @@ pub struct IShutdownManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShutdownManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShutdownManagerStatics2 { type Vtable = IShutdownManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IShutdownManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShutdownManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f69a02f_9c34_43c7_a8c3_70b30a7f7504); } @@ -1846,15 +1575,11 @@ pub struct IShutdownManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeZoneSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeZoneSettingsStatics { type Vtable = ITimeZoneSettingsStatics_Vtbl; } -impl ::core::clone::Clone for ITimeZoneSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeZoneSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b3b2bea_a101_41ae_9fbd_028728bab73d); } @@ -1872,15 +1597,11 @@ pub struct ITimeZoneSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeZoneSettingsStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeZoneSettingsStatics2 { type Vtable = ITimeZoneSettingsStatics2_Vtbl; } -impl ::core::clone::Clone for ITimeZoneSettingsStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeZoneSettingsStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x555c0db8_39a8_49fa_b4f6_a2c7fc2842ec); } @@ -1895,15 +1616,11 @@ pub struct ITimeZoneSettingsStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUser { type Vtable = IUser_Vtbl; } -impl ::core::clone::Clone for IUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf9a26c6_e746_4bcd_b5d4_120103c4209b); } @@ -1929,15 +1646,11 @@ pub struct IUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUser2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUser2 { type Vtable = IUser2_Vtbl; } -impl ::core::clone::Clone for IUser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98ba5628_a6e3_518e_89d9_d3b2b1991a10); } @@ -1952,15 +1665,11 @@ pub struct IUser2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserAuthenticationStatusChangeDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserAuthenticationStatusChangeDeferral { type Vtable = IUserAuthenticationStatusChangeDeferral_Vtbl; } -impl ::core::clone::Clone for IUserAuthenticationStatusChangeDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserAuthenticationStatusChangeDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88b59568_bb30_42fb_a270_e9902e40efa7); } @@ -1972,15 +1681,11 @@ pub struct IUserAuthenticationStatusChangeDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserAuthenticationStatusChangingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserAuthenticationStatusChangingEventArgs { type Vtable = IUserAuthenticationStatusChangingEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserAuthenticationStatusChangingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserAuthenticationStatusChangingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c030f28_a711_4c1e_ab48_04179c15938f); } @@ -1995,15 +1700,11 @@ pub struct IUserAuthenticationStatusChangingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserChangedEventArgs { type Vtable = IUserChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x086459dc_18c6_48db_bc99_724fb9203ccc); } @@ -2015,15 +1716,11 @@ pub struct IUserChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserChangedEventArgs2 { type Vtable = IUserChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IUserChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b2ccb44_6f01_560c_97ad_fc7f32ec581f); } @@ -2038,15 +1735,11 @@ pub struct IUserChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDeviceAssociationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDeviceAssociationChangedEventArgs { type Vtable = IUserDeviceAssociationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserDeviceAssociationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDeviceAssociationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd1f6f6c_bb5d_4d7b_a5f0_c8cd11a38d42); } @@ -2060,15 +1753,11 @@ pub struct IUserDeviceAssociationChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDeviceAssociationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserDeviceAssociationStatics { type Vtable = IUserDeviceAssociationStatics_Vtbl; } -impl ::core::clone::Clone for IUserDeviceAssociationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDeviceAssociationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e491e14_f85a_4c07_8da9_7fe3d0542343); } @@ -2088,15 +1777,11 @@ pub struct IUserDeviceAssociationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserPicker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserPicker { type Vtable = IUserPicker_Vtbl; } -impl ::core::clone::Clone for IUserPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d548008_f1e3_4a6c_8ddc_a9bb0f488aed); } @@ -2115,15 +1800,11 @@ pub struct IUserPicker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserPickerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserPickerStatics { type Vtable = IUserPickerStatics_Vtbl; } -impl ::core::clone::Clone for IUserPickerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserPickerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde3290dc_7e73_4df6_a1ae_4d7eca82b40d); } @@ -2135,15 +1816,11 @@ pub struct IUserPickerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserStatics { type Vtable = IUserStatics_Vtbl; } -impl ::core::clone::Clone for IUserStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x155eb23b_242a_45e0_a2e9_3171fc6a7fdd); } @@ -2168,15 +1845,11 @@ pub struct IUserStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserStatics2 { type Vtable = IUserStatics2_Vtbl; } -impl ::core::clone::Clone for IUserStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74a37e11_2eb5_4487_b0d5_2c6790e013e9); } @@ -2188,15 +1861,11 @@ pub struct IUserStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserWatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserWatcher { type Vtable = IUserWatcher_Vtbl; } -impl ::core::clone::Clone for IUserWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x155eb23b_242a_45e0_a2e9_3171fc6a7fbb); } @@ -2266,6 +1935,7 @@ pub struct IUserWatcher_Vtbl { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppActivationResult(::windows_core::IUnknown); impl AppActivationResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -2283,25 +1953,9 @@ impl AppActivationResult { } } } -impl ::core::cmp::PartialEq for AppActivationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppActivationResult {} -impl ::core::fmt::Debug for AppActivationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppActivationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppActivationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppActivationResult;{6b528900-f46e-4eb0-aa6c-38af557cf9ed})"); } -impl ::core::clone::Clone for AppActivationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppActivationResult { type Vtable = IAppActivationResult_Vtbl; } @@ -2316,6 +1970,7 @@ unsafe impl ::core::marker::Send for AppActivationResult {} unsafe impl ::core::marker::Sync for AppActivationResult {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppDiagnosticInfo(::windows_core::IUnknown); impl AppDiagnosticInfo { #[doc = "*Required features: `\"ApplicationModel\"`*"] @@ -2409,25 +2064,9 @@ impl AppDiagnosticInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppDiagnosticInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppDiagnosticInfo {} -impl ::core::fmt::Debug for AppDiagnosticInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppDiagnosticInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppDiagnosticInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfo;{e348a69a-8889-4ca3-be07-d5ffff5f0804})"); } -impl ::core::clone::Clone for AppDiagnosticInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppDiagnosticInfo { type Vtable = IAppDiagnosticInfo_Vtbl; } @@ -2442,6 +2081,7 @@ unsafe impl ::core::marker::Send for AppDiagnosticInfo {} unsafe impl ::core::marker::Sync for AppDiagnosticInfo {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppDiagnosticInfoWatcher(::windows_core::IUnknown); impl AppDiagnosticInfoWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2532,25 +2172,9 @@ impl AppDiagnosticInfoWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppDiagnosticInfoWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppDiagnosticInfoWatcher {} -impl ::core::fmt::Debug for AppDiagnosticInfoWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppDiagnosticInfoWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppDiagnosticInfoWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcher;{75575070-01d3-489a-9325-52f9cc6ede0a})"); } -impl ::core::clone::Clone for AppDiagnosticInfoWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppDiagnosticInfoWatcher { type Vtable = IAppDiagnosticInfoWatcher_Vtbl; } @@ -2565,6 +2189,7 @@ unsafe impl ::core::marker::Send for AppDiagnosticInfoWatcher {} unsafe impl ::core::marker::Sync for AppDiagnosticInfoWatcher {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppDiagnosticInfoWatcherEventArgs(::windows_core::IUnknown); impl AppDiagnosticInfoWatcherEventArgs { pub fn AppDiagnosticInfo(&self) -> ::windows_core::Result { @@ -2575,25 +2200,9 @@ impl AppDiagnosticInfoWatcherEventArgs { } } } -impl ::core::cmp::PartialEq for AppDiagnosticInfoWatcherEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppDiagnosticInfoWatcherEventArgs {} -impl ::core::fmt::Debug for AppDiagnosticInfoWatcherEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppDiagnosticInfoWatcherEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppDiagnosticInfoWatcherEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppDiagnosticInfoWatcherEventArgs;{7017c716-e1da-4c65-99df-046dff5be71a})"); } -impl ::core::clone::Clone for AppDiagnosticInfoWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppDiagnosticInfoWatcherEventArgs { type Vtable = IAppDiagnosticInfoWatcherEventArgs_Vtbl; } @@ -2608,6 +2217,7 @@ unsafe impl ::core::marker::Send for AppDiagnosticInfoWatcherEventArgs {} unsafe impl ::core::marker::Sync for AppDiagnosticInfoWatcherEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppExecutionStateChangeResult(::windows_core::IUnknown); impl AppExecutionStateChangeResult { pub fn ExtendedError(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -2618,25 +2228,9 @@ impl AppExecutionStateChangeResult { } } } -impl ::core::cmp::PartialEq for AppExecutionStateChangeResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppExecutionStateChangeResult {} -impl ::core::fmt::Debug for AppExecutionStateChangeResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppExecutionStateChangeResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppExecutionStateChangeResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppExecutionStateChangeResult;{6f039bf0-f91b-4df8-ae77-3033ccb69114})"); } -impl ::core::clone::Clone for AppExecutionStateChangeResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppExecutionStateChangeResult { type Vtable = IAppExecutionStateChangeResult_Vtbl; } @@ -2651,6 +2245,7 @@ unsafe impl ::core::marker::Send for AppExecutionStateChangeResult {} unsafe impl ::core::marker::Sync for AppExecutionStateChangeResult {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppMemoryReport(::windows_core::IUnknown); impl AppMemoryReport { pub fn PrivateCommitUsage(&self) -> ::windows_core::Result { @@ -2689,25 +2284,9 @@ impl AppMemoryReport { } } } -impl ::core::cmp::PartialEq for AppMemoryReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppMemoryReport {} -impl ::core::fmt::Debug for AppMemoryReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppMemoryReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppMemoryReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryReport;{6d65339b-4d6f-45bc-9c5e-e49b3ff2758d})"); } -impl ::core::clone::Clone for AppMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppMemoryReport { type Vtable = IAppMemoryReport_Vtbl; } @@ -2722,6 +2301,7 @@ unsafe impl ::core::marker::Send for AppMemoryReport {} unsafe impl ::core::marker::Sync for AppMemoryReport {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppMemoryUsageLimitChangingEventArgs(::windows_core::IUnknown); impl AppMemoryUsageLimitChangingEventArgs { pub fn OldLimit(&self) -> ::windows_core::Result { @@ -2733,31 +2313,15 @@ impl AppMemoryUsageLimitChangingEventArgs { } pub fn NewLimit(&self) -> ::windows_core::Result { let this = self; - unsafe { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(this).NewLimit)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) - } - } -} -impl ::core::cmp::PartialEq for AppMemoryUsageLimitChangingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppMemoryUsageLimitChangingEventArgs {} -impl ::core::fmt::Debug for AppMemoryUsageLimitChangingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppMemoryUsageLimitChangingEventArgs").field(&self.0).finish() + unsafe { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(this).NewLimit)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) + } } } impl ::windows_core::RuntimeType for AppMemoryUsageLimitChangingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppMemoryUsageLimitChangingEventArgs;{79f86664-feca-4da5-9e40-2bc63efdc979})"); } -impl ::core::clone::Clone for AppMemoryUsageLimitChangingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppMemoryUsageLimitChangingEventArgs { type Vtable = IAppMemoryUsageLimitChangingEventArgs_Vtbl; } @@ -2772,6 +2336,7 @@ unsafe impl ::core::marker::Send for AppMemoryUsageLimitChangingEventArgs {} unsafe impl ::core::marker::Sync for AppMemoryUsageLimitChangingEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupBackgroundTaskReport(::windows_core::IUnknown); impl AppResourceGroupBackgroundTaskReport { pub fn TaskId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2803,25 +2368,9 @@ impl AppResourceGroupBackgroundTaskReport { } } } -impl ::core::cmp::PartialEq for AppResourceGroupBackgroundTaskReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupBackgroundTaskReport {} -impl ::core::fmt::Debug for AppResourceGroupBackgroundTaskReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupBackgroundTaskReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupBackgroundTaskReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupBackgroundTaskReport;{2566e74e-b05d-40c2-9dc1-1a4f039ea120})"); } -impl ::core::clone::Clone for AppResourceGroupBackgroundTaskReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupBackgroundTaskReport { type Vtable = IAppResourceGroupBackgroundTaskReport_Vtbl; } @@ -2836,6 +2385,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupBackgroundTaskReport {} unsafe impl ::core::marker::Sync for AppResourceGroupBackgroundTaskReport {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupInfo(::windows_core::IUnknown); impl AppResourceGroupInfo { pub fn InstanceId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2912,25 +2462,9 @@ impl AppResourceGroupInfo { } } } -impl ::core::cmp::PartialEq for AppResourceGroupInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupInfo {} -impl ::core::fmt::Debug for AppResourceGroupInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfo;{b913f77a-e807-49f4-845e-7b8bdcfe8ee7})"); } -impl ::core::clone::Clone for AppResourceGroupInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupInfo { type Vtable = IAppResourceGroupInfo_Vtbl; } @@ -2945,6 +2479,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupInfo {} unsafe impl ::core::marker::Sync for AppResourceGroupInfo {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupInfoWatcher(::windows_core::IUnknown); impl AppResourceGroupInfoWatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3053,25 +2588,9 @@ impl AppResourceGroupInfoWatcher { unsafe { (::windows_core::Interface::vtable(this).Stop)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AppResourceGroupInfoWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupInfoWatcher {} -impl ::core::fmt::Debug for AppResourceGroupInfoWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupInfoWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupInfoWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcher;{d9b0a0fd-6e5a-4c72-8b17-09fec4a212bd})"); } -impl ::core::clone::Clone for AppResourceGroupInfoWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupInfoWatcher { type Vtable = IAppResourceGroupInfoWatcher_Vtbl; } @@ -3086,6 +2605,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcher {} unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcher {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupInfoWatcherEventArgs(::windows_core::IUnknown); impl AppResourceGroupInfoWatcherEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3105,25 +2625,9 @@ impl AppResourceGroupInfoWatcherEventArgs { } } } -impl ::core::cmp::PartialEq for AppResourceGroupInfoWatcherEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupInfoWatcherEventArgs {} -impl ::core::fmt::Debug for AppResourceGroupInfoWatcherEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupInfoWatcherEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupInfoWatcherEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherEventArgs;{7a787637-6302-4d2f-bf89-1c12d0b2a6b9})"); } -impl ::core::clone::Clone for AppResourceGroupInfoWatcherEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupInfoWatcherEventArgs { type Vtable = IAppResourceGroupInfoWatcherEventArgs_Vtbl; } @@ -3138,6 +2642,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcherEventArgs {} unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcherEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupInfoWatcherExecutionStateChangedEventArgs(::windows_core::IUnknown); impl AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3157,25 +2662,9 @@ impl AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs {} -impl ::core::fmt::Debug for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupInfoWatcherExecutionStateChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupInfoWatcherExecutionStateChangedEventArgs;{1bdbedd7-fee6-4fd4-98dd-e92a2cc299f3})"); } -impl ::core::clone::Clone for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs { type Vtable = IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl; } @@ -3190,6 +2679,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupInfoWatcherExecutionStateCh unsafe impl ::core::marker::Sync for AppResourceGroupInfoWatcherExecutionStateChangedEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupMemoryReport(::windows_core::IUnknown); impl AppResourceGroupMemoryReport { pub fn CommitUsageLimit(&self) -> ::windows_core::Result { @@ -3221,25 +2711,9 @@ impl AppResourceGroupMemoryReport { } } } -impl ::core::cmp::PartialEq for AppResourceGroupMemoryReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupMemoryReport {} -impl ::core::fmt::Debug for AppResourceGroupMemoryReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupMemoryReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupMemoryReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupMemoryReport;{2c8c06b1-7db1-4c51-a225-7fae2d49e431})"); } -impl ::core::clone::Clone for AppResourceGroupMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupMemoryReport { type Vtable = IAppResourceGroupMemoryReport_Vtbl; } @@ -3254,6 +2728,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupMemoryReport {} unsafe impl ::core::marker::Sync for AppResourceGroupMemoryReport {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppResourceGroupStateReport(::windows_core::IUnknown); impl AppResourceGroupStateReport { pub fn ExecutionState(&self) -> ::windows_core::Result { @@ -3271,25 +2746,9 @@ impl AppResourceGroupStateReport { } } } -impl ::core::cmp::PartialEq for AppResourceGroupStateReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppResourceGroupStateReport {} -impl ::core::fmt::Debug for AppResourceGroupStateReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppResourceGroupStateReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppResourceGroupStateReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppResourceGroupStateReport;{52849f18-2f70-4236-ab40-d04db0c7b931})"); } -impl ::core::clone::Clone for AppResourceGroupStateReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppResourceGroupStateReport { type Vtable = IAppResourceGroupStateReport_Vtbl; } @@ -3304,6 +2763,7 @@ unsafe impl ::core::marker::Send for AppResourceGroupStateReport {} unsafe impl ::core::marker::Sync for AppResourceGroupStateReport {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppUriHandlerHost(::windows_core::IUnknown); impl AppUriHandlerHost { pub fn new() -> ::windows_core::Result { @@ -3347,25 +2807,9 @@ impl AppUriHandlerHost { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppUriHandlerHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppUriHandlerHost {} -impl ::core::fmt::Debug for AppUriHandlerHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppUriHandlerHost").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppUriHandlerHost { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerHost;{5d50cac5-92d2-5409-b56f-7f73e10ea4c3})"); } -impl ::core::clone::Clone for AppUriHandlerHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppUriHandlerHost { type Vtable = IAppUriHandlerHost_Vtbl; } @@ -3380,6 +2824,7 @@ unsafe impl ::core::marker::Send for AppUriHandlerHost {} unsafe impl ::core::marker::Sync for AppUriHandlerHost {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppUriHandlerRegistration(::windows_core::IUnknown); impl AppUriHandlerRegistration { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3443,25 +2888,9 @@ impl AppUriHandlerRegistration { } } } -impl ::core::cmp::PartialEq for AppUriHandlerRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppUriHandlerRegistration {} -impl ::core::fmt::Debug for AppUriHandlerRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppUriHandlerRegistration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppUriHandlerRegistration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistration;{6f73aeb1-4569-5c3f-9ba0-99123eea32c3})"); } -impl ::core::clone::Clone for AppUriHandlerRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppUriHandlerRegistration { type Vtable = IAppUriHandlerRegistration_Vtbl; } @@ -3476,6 +2905,7 @@ unsafe impl ::core::marker::Send for AppUriHandlerRegistration {} unsafe impl ::core::marker::Sync for AppUriHandlerRegistration {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppUriHandlerRegistrationManager(::windows_core::IUnknown); impl AppUriHandlerRegistrationManager { pub fn User(&self) -> ::windows_core::Result { @@ -3540,25 +2970,9 @@ impl AppUriHandlerRegistrationManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppUriHandlerRegistrationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppUriHandlerRegistrationManager {} -impl ::core::fmt::Debug for AppUriHandlerRegistrationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppUriHandlerRegistrationManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppUriHandlerRegistrationManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.AppUriHandlerRegistrationManager;{e62c9a52-ac94-5750-ac1b-6cfb6f250263})"); } -impl ::core::clone::Clone for AppUriHandlerRegistrationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppUriHandlerRegistrationManager { type Vtable = IAppUriHandlerRegistrationManager_Vtbl; } @@ -3590,6 +3004,7 @@ impl ::windows_core::RuntimeName for DateTimeSettings { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatcherQueue(::windows_core::IUnknown); impl DispatcherQueue { pub fn CreateTimer(&self) -> ::windows_core::Result { @@ -3674,25 +3089,9 @@ impl DispatcherQueue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DispatcherQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatcherQueue {} -impl ::core::fmt::Debug for DispatcherQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatcherQueue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DispatcherQueue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueue;{603e88e4-a338-4ffe-a457-a5cfb9ceb899})"); } -impl ::core::clone::Clone for DispatcherQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DispatcherQueue { type Vtable = IDispatcherQueue_Vtbl; } @@ -3707,6 +3106,7 @@ unsafe impl ::core::marker::Send for DispatcherQueue {} unsafe impl ::core::marker::Sync for DispatcherQueue {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatcherQueueController(::windows_core::IUnknown); impl DispatcherQueueController { pub fn DispatcherQueue(&self) -> ::windows_core::Result { @@ -3737,25 +3137,9 @@ impl DispatcherQueueController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DispatcherQueueController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatcherQueueController {} -impl ::core::fmt::Debug for DispatcherQueueController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatcherQueueController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DispatcherQueueController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueController;{22f34e66-50db-4e36-a98d-61c01b384d20})"); } -impl ::core::clone::Clone for DispatcherQueueController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DispatcherQueueController { type Vtable = IDispatcherQueueController_Vtbl; } @@ -3770,6 +3154,7 @@ unsafe impl ::core::marker::Send for DispatcherQueueController {} unsafe impl ::core::marker::Sync for DispatcherQueueController {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatcherQueueShutdownStartingEventArgs(::windows_core::IUnknown); impl DispatcherQueueShutdownStartingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3782,25 +3167,9 @@ impl DispatcherQueueShutdownStartingEventArgs { } } } -impl ::core::cmp::PartialEq for DispatcherQueueShutdownStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatcherQueueShutdownStartingEventArgs {} -impl ::core::fmt::Debug for DispatcherQueueShutdownStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatcherQueueShutdownStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DispatcherQueueShutdownStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueShutdownStartingEventArgs;{c4724c4c-ff97-40c0-a226-cc0aaa545e89})"); } -impl ::core::clone::Clone for DispatcherQueueShutdownStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DispatcherQueueShutdownStartingEventArgs { type Vtable = IDispatcherQueueShutdownStartingEventArgs_Vtbl; } @@ -3815,6 +3184,7 @@ unsafe impl ::core::marker::Send for DispatcherQueueShutdownStartingEventArgs {} unsafe impl ::core::marker::Sync for DispatcherQueueShutdownStartingEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatcherQueueTimer(::windows_core::IUnknown); impl DispatcherQueueTimer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3877,25 +3247,9 @@ impl DispatcherQueueTimer { unsafe { (::windows_core::Interface::vtable(this).RemoveTick)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for DispatcherQueueTimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatcherQueueTimer {} -impl ::core::fmt::Debug for DispatcherQueueTimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatcherQueueTimer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DispatcherQueueTimer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.DispatcherQueueTimer;{5feabb1d-a31c-4727-b1ac-37454649d56a})"); } -impl ::core::clone::Clone for DispatcherQueueTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DispatcherQueueTimer { type Vtable = IDispatcherQueueTimer_Vtbl; } @@ -3910,6 +3264,7 @@ unsafe impl ::core::marker::Send for DispatcherQueueTimer {} unsafe impl ::core::marker::Sync for DispatcherQueueTimer {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderLauncherOptions(::windows_core::IUnknown); impl FolderLauncherOptions { pub fn new() -> ::windows_core::Result { @@ -3944,25 +3299,9 @@ impl FolderLauncherOptions { unsafe { (::windows_core::Interface::vtable(this).SetDesiredRemainingView)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FolderLauncherOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FolderLauncherOptions {} -impl ::core::fmt::Debug for FolderLauncherOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderLauncherOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FolderLauncherOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.FolderLauncherOptions;{bb91c27d-6b87-432a-bd04-776c6f5fb2ab})"); } -impl ::core::clone::Clone for FolderLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FolderLauncherOptions { type Vtable = IFolderLauncherOptions_Vtbl; } @@ -4055,6 +3394,7 @@ impl ::windows_core::RuntimeName for KnownUserProperties { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LaunchUriResult(::windows_core::IUnknown); impl LaunchUriResult { pub fn Status(&self) -> ::windows_core::Result { @@ -4074,25 +3414,9 @@ impl LaunchUriResult { } } } -impl ::core::cmp::PartialEq for LaunchUriResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LaunchUriResult {} -impl ::core::fmt::Debug for LaunchUriResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LaunchUriResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LaunchUriResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.LaunchUriResult;{ec27a8df-f6d5-45ca-913a-70a40c5c8221})"); } -impl ::core::clone::Clone for LaunchUriResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LaunchUriResult { type Vtable = ILaunchUriResult_Vtbl; } @@ -4455,6 +3779,7 @@ impl ::windows_core::RuntimeName for Launcher { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LauncherOptions(::windows_core::IUnknown); impl LauncherOptions { pub fn new() -> ::windows_core::Result { @@ -4611,25 +3936,9 @@ impl LauncherOptions { unsafe { (::windows_core::Interface::vtable(this).SetDesiredRemainingView)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for LauncherOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LauncherOptions {} -impl ::core::fmt::Debug for LauncherOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LauncherOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LauncherOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.LauncherOptions;{bafa21d8-b071-4cd8-853e-341203e557d3})"); } -impl ::core::clone::Clone for LauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LauncherOptions { type Vtable = ILauncherOptions_Vtbl; } @@ -4645,6 +3954,7 @@ unsafe impl ::core::marker::Send for LauncherOptions {} unsafe impl ::core::marker::Sync for LauncherOptions {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LauncherUIOptions(::windows_core::IUnknown); impl LauncherUIOptions { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4699,25 +4009,9 @@ impl LauncherUIOptions { unsafe { (::windows_core::Interface::vtable(this).SetPreferredPlacement)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for LauncherUIOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LauncherUIOptions {} -impl ::core::fmt::Debug for LauncherUIOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LauncherUIOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LauncherUIOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.LauncherUIOptions;{1b25da6e-8aa6-41e9-8251-4165f5985f49})"); } -impl ::core::clone::Clone for LauncherUIOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LauncherUIOptions { type Vtable = ILauncherUIOptions_Vtbl; } @@ -4880,6 +4174,7 @@ impl ::windows_core::RuntimeName for ProcessLauncher { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessLauncherOptions(::windows_core::IUnknown); impl ProcessLauncherOptions { pub fn new() -> ::windows_core::Result { @@ -4955,25 +4250,9 @@ impl ProcessLauncherOptions { unsafe { (::windows_core::Interface::vtable(this).SetWorkingDirectory)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ProcessLauncherOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessLauncherOptions {} -impl ::core::fmt::Debug for ProcessLauncherOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessLauncherOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessLauncherOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherOptions;{3080b9cf-f444-4a83-beaf-a549a0f3229c})"); } -impl ::core::clone::Clone for ProcessLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessLauncherOptions { type Vtable = IProcessLauncherOptions_Vtbl; } @@ -4988,6 +4267,7 @@ unsafe impl ::core::marker::Send for ProcessLauncherOptions {} unsafe impl ::core::marker::Sync for ProcessLauncherOptions {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessLauncherResult(::windows_core::IUnknown); impl ProcessLauncherResult { pub fn ExitCode(&self) -> ::windows_core::Result { @@ -4998,25 +4278,9 @@ impl ProcessLauncherResult { } } } -impl ::core::cmp::PartialEq for ProcessLauncherResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessLauncherResult {} -impl ::core::fmt::Debug for ProcessLauncherResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessLauncherResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessLauncherResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessLauncherResult;{544c8934-86d8-4991-8e75-ece8a43b6b6d})"); } -impl ::core::clone::Clone for ProcessLauncherResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessLauncherResult { type Vtable = IProcessLauncherResult_Vtbl; } @@ -5031,6 +4295,7 @@ unsafe impl ::core::marker::Send for ProcessLauncherResult {} unsafe impl ::core::marker::Sync for ProcessLauncherResult {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProcessMemoryReport(::windows_core::IUnknown); impl ProcessMemoryReport { pub fn PrivateWorkingSetUsage(&self) -> ::windows_core::Result { @@ -5048,25 +4313,9 @@ impl ProcessMemoryReport { } } } -impl ::core::cmp::PartialEq for ProcessMemoryReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProcessMemoryReport {} -impl ::core::fmt::Debug for ProcessMemoryReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProcessMemoryReport").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProcessMemoryReport { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProcessMemoryReport;{087305a8-9b70-4782-8741-3a982b6ce5e4})"); } -impl ::core::clone::Clone for ProcessMemoryReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProcessMemoryReport { type Vtable = IProcessMemoryReport_Vtbl; } @@ -5081,6 +4330,7 @@ unsafe impl ::core::marker::Send for ProcessMemoryReport {} unsafe impl ::core::marker::Sync for ProcessMemoryReport {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ProtocolForResultsOperation(::windows_core::IUnknown); impl ProtocolForResultsOperation { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -5093,25 +4343,9 @@ impl ProtocolForResultsOperation { unsafe { (::windows_core::Interface::vtable(this).ReportCompleted)(::windows_core::Interface::as_raw(this), data.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for ProtocolForResultsOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ProtocolForResultsOperation {} -impl ::core::fmt::Debug for ProtocolForResultsOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ProtocolForResultsOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ProtocolForResultsOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.ProtocolForResultsOperation;{d581293a-6de9-4d28-9378-f86782e182bb})"); } -impl ::core::clone::Clone for ProtocolForResultsOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ProtocolForResultsOperation { type Vtable = IProtocolForResultsOperation_Vtbl; } @@ -5177,6 +4411,7 @@ impl ::windows_core::RuntimeName for RemoteLauncher { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteLauncherOptions(::windows_core::IUnknown); impl RemoteLauncherOptions { pub fn new() -> ::windows_core::Result { @@ -5214,25 +4449,9 @@ impl RemoteLauncherOptions { } } } -impl ::core::cmp::PartialEq for RemoteLauncherOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteLauncherOptions {} -impl ::core::fmt::Debug for RemoteLauncherOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteLauncherOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteLauncherOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.RemoteLauncherOptions;{9e3a2788-2891-4cdf-a2d6-9dff7d02e693})"); } -impl ::core::clone::Clone for RemoteLauncherOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteLauncherOptions { type Vtable = IRemoteLauncherOptions_Vtbl; } @@ -5334,6 +4553,7 @@ impl ::windows_core::RuntimeName for TimeZoneSettings { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct User(::windows_core::IUnknown); impl User { pub fn NonRoamableId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5449,25 +4669,9 @@ impl User { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for User { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for User {} -impl ::core::fmt::Debug for User { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("User").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for User { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.User;{df9a26c6-e746-4bcd-b5d4-120103c4209b})"); } -impl ::core::clone::Clone for User { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for User { type Vtable = IUser_Vtbl; } @@ -5482,6 +4686,7 @@ unsafe impl ::core::marker::Send for User {} unsafe impl ::core::marker::Sync for User {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserAuthenticationStatusChangeDeferral(::windows_core::IUnknown); impl UserAuthenticationStatusChangeDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -5489,25 +4694,9 @@ impl UserAuthenticationStatusChangeDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for UserAuthenticationStatusChangeDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserAuthenticationStatusChangeDeferral {} -impl ::core::fmt::Debug for UserAuthenticationStatusChangeDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserAuthenticationStatusChangeDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserAuthenticationStatusChangeDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangeDeferral;{88b59568-bb30-42fb-a270-e9902e40efa7})"); } -impl ::core::clone::Clone for UserAuthenticationStatusChangeDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserAuthenticationStatusChangeDeferral { type Vtable = IUserAuthenticationStatusChangeDeferral_Vtbl; } @@ -5522,6 +4711,7 @@ unsafe impl ::core::marker::Send for UserAuthenticationStatusChangeDeferral {} unsafe impl ::core::marker::Sync for UserAuthenticationStatusChangeDeferral {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserAuthenticationStatusChangingEventArgs(::windows_core::IUnknown); impl UserAuthenticationStatusChangingEventArgs { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -5553,25 +4743,9 @@ impl UserAuthenticationStatusChangingEventArgs { } } } -impl ::core::cmp::PartialEq for UserAuthenticationStatusChangingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserAuthenticationStatusChangingEventArgs {} -impl ::core::fmt::Debug for UserAuthenticationStatusChangingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserAuthenticationStatusChangingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserAuthenticationStatusChangingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserAuthenticationStatusChangingEventArgs;{8c030f28-a711-4c1e-ab48-04179c15938f})"); } -impl ::core::clone::Clone for UserAuthenticationStatusChangingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserAuthenticationStatusChangingEventArgs { type Vtable = IUserAuthenticationStatusChangingEventArgs_Vtbl; } @@ -5586,6 +4760,7 @@ unsafe impl ::core::marker::Send for UserAuthenticationStatusChangingEventArgs { unsafe impl ::core::marker::Sync for UserAuthenticationStatusChangingEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserChangedEventArgs(::windows_core::IUnknown); impl UserChangedEventArgs { pub fn User(&self) -> ::windows_core::Result { @@ -5605,25 +4780,9 @@ impl UserChangedEventArgs { } } } -impl ::core::cmp::PartialEq for UserChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserChangedEventArgs {} -impl ::core::fmt::Debug for UserChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserChangedEventArgs;{086459dc-18c6-48db-bc99-724fb9203ccc})"); } -impl ::core::clone::Clone for UserChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserChangedEventArgs { type Vtable = IUserChangedEventArgs_Vtbl; } @@ -5672,6 +4831,7 @@ impl ::windows_core::RuntimeName for UserDeviceAssociation { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserDeviceAssociationChangedEventArgs(::windows_core::IUnknown); impl UserDeviceAssociationChangedEventArgs { pub fn DeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5696,25 +4856,9 @@ impl UserDeviceAssociationChangedEventArgs { } } } -impl ::core::cmp::PartialEq for UserDeviceAssociationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserDeviceAssociationChangedEventArgs {} -impl ::core::fmt::Debug for UserDeviceAssociationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserDeviceAssociationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserDeviceAssociationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserDeviceAssociationChangedEventArgs;{bd1f6f6c-bb5d-4d7b-a5f0-c8cd11a38d42})"); } -impl ::core::clone::Clone for UserDeviceAssociationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserDeviceAssociationChangedEventArgs { type Vtable = IUserDeviceAssociationChangedEventArgs_Vtbl; } @@ -5729,6 +4873,7 @@ unsafe impl ::core::marker::Send for UserDeviceAssociationChangedEventArgs {} unsafe impl ::core::marker::Sync for UserDeviceAssociationChangedEventArgs {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserPicker(::windows_core::IUnknown); impl UserPicker { pub fn new() -> ::windows_core::Result { @@ -5784,25 +4929,9 @@ impl UserPicker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserPicker {} -impl ::core::fmt::Debug for UserPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserPicker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserPicker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserPicker;{7d548008-f1e3-4a6c-8ddc-a9bb0f488aed})"); } -impl ::core::clone::Clone for UserPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserPicker { type Vtable = IUserPicker_Vtbl; } @@ -5817,6 +4946,7 @@ unsafe impl ::core::marker::Send for UserPicker {} unsafe impl ::core::marker::Sync for UserPicker {} #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserWatcher(::windows_core::IUnknown); impl UserWatcher { pub fn Status(&self) -> ::windows_core::Result { @@ -5961,25 +5091,9 @@ impl UserWatcher { unsafe { (::windows_core::Interface::vtable(this).RemoveStopped)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for UserWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserWatcher {} -impl ::core::fmt::Debug for UserWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserWatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserWatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.System.UserWatcher;{155eb23b-242a-45e0-a2e9-3171fc6a7fbb})"); } -impl ::core::clone::Clone for UserWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserWatcher { type Vtable = IUserWatcher_Vtbl; } @@ -7001,6 +6115,7 @@ impl ::windows_core::RuntimeType for VirtualKeyModifiers { } #[doc = "*Required features: `\"System\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatcherQueueHandler(pub ::windows_core::IUnknown); impl DispatcherQueueHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7023,9 +6138,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7050,25 +6168,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for DispatcherQueueHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatcherQueueHandler {} -impl ::core::fmt::Debug for DispatcherQueueHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatcherQueueHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DispatcherQueueHandler { type Vtable = DispatcherQueueHandler_Vtbl; } -impl ::core::clone::Clone for DispatcherQueueHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DispatcherQueueHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfa2dc9c_1a2d_4917_98f2_939af1d6e0c8); } diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index 21e23fc87e..8ded19c359 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScreenReaderPositionChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScreenReaderPositionChangedEventArgs { type Vtable = IScreenReaderPositionChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IScreenReaderPositionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScreenReaderPositionChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x557eb5e5_54d0_5ccd_9fc5_ed33357f8a9f); } @@ -24,15 +20,11 @@ pub struct IScreenReaderPositionChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScreenReaderService(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScreenReaderService { type Vtable = IScreenReaderService_Vtbl; } -impl ::core::clone::Clone for IScreenReaderService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScreenReaderService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19475427_eac0_50d3_bdd9_9b487a226256); } @@ -52,6 +44,7 @@ pub struct IScreenReaderService_Vtbl { } #[doc = "*Required features: `\"UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScreenReaderPositionChangedEventArgs(::windows_core::IUnknown); impl ScreenReaderPositionChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -71,25 +64,9 @@ impl ScreenReaderPositionChangedEventArgs { } } } -impl ::core::cmp::PartialEq for ScreenReaderPositionChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScreenReaderPositionChangedEventArgs {} -impl ::core::fmt::Debug for ScreenReaderPositionChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScreenReaderPositionChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScreenReaderPositionChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs;{557eb5e5-54d0-5ccd-9fc5-ed33357f8a9f})"); } -impl ::core::clone::Clone for ScreenReaderPositionChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScreenReaderPositionChangedEventArgs { type Vtable = IScreenReaderPositionChangedEventArgs_Vtbl; } @@ -104,6 +81,7 @@ unsafe impl ::core::marker::Send for ScreenReaderPositionChangedEventArgs {} unsafe impl ::core::marker::Sync for ScreenReaderPositionChangedEventArgs {} #[doc = "*Required features: `\"UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScreenReaderService(::windows_core::IUnknown); impl ScreenReaderService { pub fn new() -> ::windows_core::Result { @@ -139,25 +117,9 @@ impl ScreenReaderService { unsafe { (::windows_core::Interface::vtable(this).RemoveScreenReaderPositionChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ScreenReaderService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScreenReaderService {} -impl ::core::fmt::Debug for ScreenReaderService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScreenReaderService").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScreenReaderService { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Accessibility.ScreenReaderService;{19475427-eac0-50d3-bdd9-9b487a226256})"); } -impl ::core::clone::Clone for ScreenReaderService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScreenReaderService { type Vtable = IScreenReaderService_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index 13090641db..bf5f08f41e 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPane(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPane { type Vtable = IAccountsSettingsPane_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPane { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81ea942c_4f09_4406_a538_838d9b14b7e6); } @@ -27,15 +23,11 @@ pub struct IAccountsSettingsPane_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneCommandsRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneCommandsRequestedEventArgs { type Vtable = IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneCommandsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneCommandsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b68c099_db19_45d0_9abf_95d3773c9330); } @@ -65,15 +57,11 @@ pub struct IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneCommandsRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneCommandsRequestedEventArgs2 { type Vtable = IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneCommandsRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneCommandsRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x362f7bad_4e37_4967_8c40_e78ee7a1e5bb); } @@ -88,15 +76,11 @@ pub struct IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneEventDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneEventDeferral { type Vtable = IAccountsSettingsPaneEventDeferral_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneEventDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneEventDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbf25d3f_e5ba_40ef_93da_65e096e5fb04); } @@ -108,15 +92,11 @@ pub struct IAccountsSettingsPaneEventDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneStatics { type Vtable = IAccountsSettingsPaneStatics_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x561f8b60_b0ec_4150_a8dc_208ee44b068a); } @@ -129,15 +109,11 @@ pub struct IAccountsSettingsPaneStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneStatics2 { type Vtable = IAccountsSettingsPaneStatics2_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd21df7c2_ce0d_484f_b8e8_e823c215765e); } @@ -156,15 +132,11 @@ pub struct IAccountsSettingsPaneStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccountsSettingsPaneStatics3 { type Vtable = IAccountsSettingsPaneStatics3_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08410458_a2ba_4c6f_b4ac_48f514331216); } @@ -183,15 +155,11 @@ pub struct IAccountsSettingsPaneStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialCommand(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialCommand { type Vtable = ICredentialCommand_Vtbl; } -impl ::core::clone::Clone for ICredentialCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5f665e6_6143_4a7a_a971_b017ba978ce2); } @@ -207,15 +175,11 @@ pub struct ICredentialCommand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialCommandFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICredentialCommandFactory { type Vtable = ICredentialCommandFactory_Vtbl; } -impl ::core::clone::Clone for ICredentialCommandFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialCommandFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27e88c17_bc3e_4b80_9495_4ed720e48a91); } @@ -234,15 +198,11 @@ pub struct ICredentialCommandFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsCommandFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISettingsCommandFactory { type Vtable = ISettingsCommandFactory_Vtbl; } -impl ::core::clone::Clone for ISettingsCommandFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsCommandFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68e15b33_1c83_433a_aa5a_ceeea5bd4764); } @@ -257,15 +217,11 @@ pub struct ISettingsCommandFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsCommandStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISettingsCommandStatics { type Vtable = ISettingsCommandStatics_Vtbl; } -impl ::core::clone::Clone for ISettingsCommandStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsCommandStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x749ae954_2f69_4b17_8aba_d05ce5778e46); } @@ -281,18 +237,13 @@ pub struct ISettingsCommandStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsPane(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISettingsPane { type Vtable = ISettingsPane_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISettingsPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISettingsPane { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1cd0932_4570_4c69_8d38_89446561ace0); } @@ -313,18 +264,13 @@ pub struct ISettingsPane_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsPaneCommandsRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISettingsPaneCommandsRequest { type Vtable = ISettingsPaneCommandsRequest_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISettingsPaneCommandsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISettingsPaneCommandsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44df23ae_5d6e_4068_a168_f47643182114); } @@ -341,18 +287,13 @@ pub struct ISettingsPaneCommandsRequest_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsPaneCommandsRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISettingsPaneCommandsRequestedEventArgs { type Vtable = ISettingsPaneCommandsRequestedEventArgs_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISettingsPaneCommandsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISettingsPaneCommandsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x205f5d24_1b48_4629_a6ca_2fdfedafb75d); } @@ -369,18 +310,13 @@ pub struct ISettingsPaneCommandsRequestedEventArgs_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsPaneStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for ISettingsPaneStatics { type Vtable = ISettingsPaneStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for ISettingsPaneStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for ISettingsPaneStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c6a52c5_ff19_471b_ba6b_f8f35694ad9a); } @@ -404,15 +340,11 @@ pub struct ISettingsPaneStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountCommand(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountCommand { type Vtable = IWebAccountCommand_Vtbl; } -impl ::core::clone::Clone for IWebAccountCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaa39398_9cfa_4246_b0c4_a913a3896541); } @@ -429,15 +361,11 @@ pub struct IWebAccountCommand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountCommandFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountCommandFactory { type Vtable = IWebAccountCommandFactory_Vtbl; } -impl ::core::clone::Clone for IWebAccountCommandFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountCommandFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfa6cdff_2f2d_42f5_81de_1d56bafc496d); } @@ -452,15 +380,11 @@ pub struct IWebAccountCommandFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountInvokedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountInvokedArgs { type Vtable = IWebAccountInvokedArgs_Vtbl; } -impl ::core::clone::Clone for IWebAccountInvokedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountInvokedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7abcc40_a1d8_4c5d_9a7f_1d34b2f90ad2); } @@ -472,15 +396,11 @@ pub struct IWebAccountInvokedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderCommand(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderCommand { type Vtable = IWebAccountProviderCommand_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd69bdd9a_a0a6_4e9b_88dc_c71e757a3501); } @@ -496,15 +416,11 @@ pub struct IWebAccountProviderCommand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAccountProviderCommandFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebAccountProviderCommandFactory { type Vtable = IWebAccountProviderCommandFactory_Vtbl; } -impl ::core::clone::Clone for IWebAccountProviderCommandFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAccountProviderCommandFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5658a1b_b176_4776_8469_a9d3ff0b3f59); } @@ -519,6 +435,7 @@ pub struct IWebAccountProviderCommandFactory_Vtbl { } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccountsSettingsPane(::windows_core::IUnknown); impl AccountsSettingsPane { #[doc = "*Required features: `\"Foundation\"`*"] @@ -602,25 +519,9 @@ impl AccountsSettingsPane { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AccountsSettingsPane { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccountsSettingsPane {} -impl ::core::fmt::Debug for AccountsSettingsPane { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccountsSettingsPane").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccountsSettingsPane { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPane;{81ea942c-4f09-4406-a538-838d9b14b7e6})"); } -impl ::core::clone::Clone for AccountsSettingsPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccountsSettingsPane { type Vtable = IAccountsSettingsPane_Vtbl; } @@ -633,6 +534,7 @@ impl ::windows_core::RuntimeName for AccountsSettingsPane { ::windows_core::imp::interface_hierarchy!(AccountsSettingsPane, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccountsSettingsPaneCommandsRequestedEventArgs(::windows_core::IUnknown); impl AccountsSettingsPaneCommandsRequestedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -699,25 +601,9 @@ impl AccountsSettingsPaneCommandsRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for AccountsSettingsPaneCommandsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccountsSettingsPaneCommandsRequestedEventArgs {} -impl ::core::fmt::Debug for AccountsSettingsPaneCommandsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccountsSettingsPaneCommandsRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccountsSettingsPaneCommandsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs;{3b68c099-db19-45d0-9abf-95d3773c9330})"); } -impl ::core::clone::Clone for AccountsSettingsPaneCommandsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccountsSettingsPaneCommandsRequestedEventArgs { type Vtable = IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl; } @@ -730,6 +616,7 @@ impl ::windows_core::RuntimeName for AccountsSettingsPaneCommandsRequestedEventA ::windows_core::imp::interface_hierarchy!(AccountsSettingsPaneCommandsRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccountsSettingsPaneEventDeferral(::windows_core::IUnknown); impl AccountsSettingsPaneEventDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -737,25 +624,9 @@ impl AccountsSettingsPaneEventDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AccountsSettingsPaneEventDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccountsSettingsPaneEventDeferral {} -impl ::core::fmt::Debug for AccountsSettingsPaneEventDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccountsSettingsPaneEventDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccountsSettingsPaneEventDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral;{cbf25d3f-e5ba-40ef-93da-65e096e5fb04})"); } -impl ::core::clone::Clone for AccountsSettingsPaneEventDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccountsSettingsPaneEventDeferral { type Vtable = IAccountsSettingsPaneEventDeferral_Vtbl; } @@ -768,6 +639,7 @@ impl ::windows_core::RuntimeName for AccountsSettingsPaneEventDeferral { ::windows_core::imp::interface_hierarchy!(AccountsSettingsPaneEventDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CredentialCommand(::windows_core::IUnknown); impl CredentialCommand { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -815,25 +687,9 @@ impl CredentialCommand { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CredentialCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CredentialCommand {} -impl ::core::fmt::Debug for CredentialCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CredentialCommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CredentialCommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.CredentialCommand;{a5f665e6-6143-4a7a-a971-b017ba978ce2})"); } -impl ::core::clone::Clone for CredentialCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CredentialCommand { type Vtable = ICredentialCommand_Vtbl; } @@ -847,6 +703,7 @@ impl ::windows_core::RuntimeName for CredentialCommand { #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"UI_Popups\"`*"] #[cfg(feature = "UI_Popups")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SettingsCommand(::windows_core::IUnknown); #[cfg(feature = "UI_Popups")] impl SettingsCommand { @@ -933,30 +790,10 @@ impl SettingsCommand { } } #[cfg(feature = "UI_Popups")] -impl ::core::cmp::PartialEq for SettingsCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "UI_Popups")] -impl ::core::cmp::Eq for SettingsCommand {} -#[cfg(feature = "UI_Popups")] -impl ::core::fmt::Debug for SettingsCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SettingsCommand").field(&self.0).finish() - } -} -#[cfg(feature = "UI_Popups")] impl ::windows_core::RuntimeType for SettingsCommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsCommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } #[cfg(feature = "UI_Popups")] -impl ::core::clone::Clone for SettingsCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "UI_Popups")] unsafe impl ::windows_core::Interface for SettingsCommand { type Vtable = super::Popups::IUICommand_Vtbl; } @@ -975,6 +812,7 @@ impl ::windows_core::CanTryInto for SettingsCommand { #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SettingsPane(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SettingsPane { @@ -1025,30 +863,10 @@ impl SettingsPane { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SettingsPane { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SettingsPane {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SettingsPane { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SettingsPane").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SettingsPane { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPane;{b1cd0932-4570-4c69-8d38-89446561ace0})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SettingsPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SettingsPane { type Vtable = ISettingsPane_Vtbl; } @@ -1065,6 +883,7 @@ impl ::windows_core::RuntimeName for SettingsPane { #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SettingsPaneCommandsRequest(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SettingsPaneCommandsRequest { @@ -1079,30 +898,10 @@ impl SettingsPaneCommandsRequest { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SettingsPaneCommandsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SettingsPaneCommandsRequest {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SettingsPaneCommandsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SettingsPaneCommandsRequest").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SettingsPaneCommandsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest;{44df23ae-5d6e-4068-a168-f47643182114})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SettingsPaneCommandsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SettingsPaneCommandsRequest { type Vtable = ISettingsPaneCommandsRequest_Vtbl; } @@ -1119,6 +918,7 @@ impl ::windows_core::RuntimeName for SettingsPaneCommandsRequest { #[doc = "*Required features: `\"UI_ApplicationSettings\"`, `\"deprecated\"`*"] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SettingsPaneCommandsRequestedEventArgs(::windows_core::IUnknown); #[cfg(feature = "deprecated")] impl SettingsPaneCommandsRequestedEventArgs { @@ -1133,30 +933,10 @@ impl SettingsPaneCommandsRequestedEventArgs { } } #[cfg(feature = "deprecated")] -impl ::core::cmp::PartialEq for SettingsPaneCommandsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "deprecated")] -impl ::core::cmp::Eq for SettingsPaneCommandsRequestedEventArgs {} -#[cfg(feature = "deprecated")] -impl ::core::fmt::Debug for SettingsPaneCommandsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SettingsPaneCommandsRequestedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "deprecated")] impl ::windows_core::RuntimeType for SettingsPaneCommandsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs;{205f5d24-1b48-4629-a6ca-2fdfedafb75d})"); } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for SettingsPaneCommandsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for SettingsPaneCommandsRequestedEventArgs { type Vtable = ISettingsPaneCommandsRequestedEventArgs_Vtbl; } @@ -1172,6 +952,7 @@ impl ::windows_core::RuntimeName for SettingsPaneCommandsRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(SettingsPaneCommandsRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountCommand(::windows_core::IUnknown); impl WebAccountCommand { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1215,25 +996,9 @@ impl WebAccountCommand { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebAccountCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountCommand {} -impl ::core::fmt::Debug for WebAccountCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountCommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountCommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountCommand;{caa39398-9cfa-4246-b0c4-a913a3896541})"); } -impl ::core::clone::Clone for WebAccountCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountCommand { type Vtable = IWebAccountCommand_Vtbl; } @@ -1246,6 +1011,7 @@ impl ::windows_core::RuntimeName for WebAccountCommand { ::windows_core::imp::interface_hierarchy!(WebAccountCommand, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountInvokedArgs(::windows_core::IUnknown); impl WebAccountInvokedArgs { pub fn Action(&self) -> ::windows_core::Result { @@ -1256,25 +1022,9 @@ impl WebAccountInvokedArgs { } } } -impl ::core::cmp::PartialEq for WebAccountInvokedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountInvokedArgs {} -impl ::core::fmt::Debug for WebAccountInvokedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountInvokedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountInvokedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountInvokedArgs;{e7abcc40-a1d8-4c5d-9a7f-1d34b2f90ad2})"); } -impl ::core::clone::Clone for WebAccountInvokedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountInvokedArgs { type Vtable = IWebAccountInvokedArgs_Vtbl; } @@ -1287,6 +1037,7 @@ impl ::windows_core::RuntimeName for WebAccountInvokedArgs { ::windows_core::imp::interface_hierarchy!(WebAccountInvokedArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderCommand(::windows_core::IUnknown); impl WebAccountProviderCommand { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -1323,25 +1074,9 @@ impl WebAccountProviderCommand { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebAccountProviderCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderCommand {} -impl ::core::fmt::Debug for WebAccountProviderCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderCommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebAccountProviderCommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ApplicationSettings.WebAccountProviderCommand;{d69bdd9a-a0a6-4e9b-88dc-c71e757a3501})"); } -impl ::core::clone::Clone for WebAccountProviderCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebAccountProviderCommand { type Vtable = IWebAccountProviderCommand_Vtbl; } @@ -1492,6 +1227,7 @@ impl ::windows_core::RuntimeType for WebAccountAction { } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CredentialCommandCredentialDeletedHandler(pub ::windows_core::IUnknown); impl CredentialCommandCredentialDeletedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1517,9 +1253,12 @@ impl) -> ::windows_core::Res base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1544,25 +1283,9 @@ impl) -> ::windows_core::Res ((*this).invoke)(::windows_core::from_raw_borrowed(&command)).into() } } -impl ::core::cmp::PartialEq for CredentialCommandCredentialDeletedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CredentialCommandCredentialDeletedHandler {} -impl ::core::fmt::Debug for CredentialCommandCredentialDeletedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CredentialCommandCredentialDeletedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for CredentialCommandCredentialDeletedHandler { type Vtable = CredentialCommandCredentialDeletedHandler_Vtbl; } -impl ::core::clone::Clone for CredentialCommandCredentialDeletedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for CredentialCommandCredentialDeletedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61c0e185_0977_4678_b4e2_98727afbeed9); } @@ -1577,6 +1300,7 @@ pub struct CredentialCommandCredentialDeletedHandler_Vtbl { } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountCommandInvokedHandler(pub ::windows_core::IUnknown); impl WebAccountCommandInvokedHandler { pub fn new, ::core::option::Option<&WebAccountInvokedArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1603,9 +1327,12 @@ impl, ::core::option::Option base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1630,25 +1357,9 @@ impl, ::core::option::Option ((*this).invoke)(::windows_core::from_raw_borrowed(&command), ::windows_core::from_raw_borrowed(&args)).into() } } -impl ::core::cmp::PartialEq for WebAccountCommandInvokedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountCommandInvokedHandler {} -impl ::core::fmt::Debug for WebAccountCommandInvokedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountCommandInvokedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for WebAccountCommandInvokedHandler { type Vtable = WebAccountCommandInvokedHandler_Vtbl; } -impl ::core::clone::Clone for WebAccountCommandInvokedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for WebAccountCommandInvokedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ee6e459_1705_4a9a_b599_a0c3d6921973); } @@ -1663,6 +1374,7 @@ pub struct WebAccountCommandInvokedHandler_Vtbl { } #[doc = "*Required features: `\"UI_ApplicationSettings\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebAccountProviderCommandInvokedHandler(pub ::windows_core::IUnknown); impl WebAccountProviderCommandInvokedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1688,9 +1400,12 @@ impl) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1715,25 +1430,9 @@ impl) -> ::windows_c ((*this).invoke)(::windows_core::from_raw_borrowed(&command)).into() } } -impl ::core::cmp::PartialEq for WebAccountProviderCommandInvokedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebAccountProviderCommandInvokedHandler {} -impl ::core::fmt::Debug for WebAccountProviderCommandInvokedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebAccountProviderCommandInvokedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for WebAccountProviderCommandInvokedHandler { type Vtable = WebAccountProviderCommandInvokedHandler_Vtbl; } -impl ::core::clone::Clone for WebAccountProviderCommandInvokedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for WebAccountProviderCommandInvokedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7de5527_4c8f_42dd_84da_5ec493abdb9a); } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs index 2696d1126e..9201c7a454 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorController { type Vtable = ICompositorController_Vtbl; } -impl ::core::clone::Clone for ICompositorController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d75f35a_70a7_4395_ba2d_cef0b18399f9); } @@ -33,6 +29,7 @@ pub struct ICompositorController_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositorController(::windows_core::IUnknown); impl CompositorController { pub fn new() -> ::windows_core::Result { @@ -87,25 +84,9 @@ impl CompositorController { unsafe { (::windows_core::Interface::vtable(this).RemoveCommitNeeded)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for CompositorController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositorController {} -impl ::core::fmt::Debug for CompositorController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositorController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositorController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Core.CompositorController;{2d75f35a-70a7-4395-ba2d-cef0b18399f9})"); } -impl ::core::clone::Clone for CompositorController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositorController { type Vtable = ICompositorController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs index fc4051b2c7..4b9f79eb39 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesktopWindowTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDesktopWindowTarget { type Vtable = IDesktopWindowTarget_Vtbl; } -impl ::core::clone::Clone for IDesktopWindowTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesktopWindowTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6329d6ca_3366_490e_9db3_25312929ac51); } @@ -20,6 +16,7 @@ pub struct IDesktopWindowTarget_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Desktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DesktopWindowTarget(::windows_core::IUnknown); impl DesktopWindowTarget { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -154,25 +151,9 @@ impl DesktopWindowTarget { } } } -impl ::core::cmp::PartialEq for DesktopWindowTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DesktopWindowTarget {} -impl ::core::fmt::Debug for DesktopWindowTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DesktopWindowTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DesktopWindowTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Desktop.DesktopWindowTarget;{6329d6ca-3366-490e-9db3-25312929ac51})"); } -impl ::core::clone::Clone for DesktopWindowTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DesktopWindowTarget { type Vtable = IDesktopWindowTarget_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs index a66c1f89a8..230ab30bc7 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDebugHeatMaps(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDebugHeatMaps { type Vtable = ICompositionDebugHeatMaps_Vtbl; } -impl ::core::clone::Clone for ICompositionDebugHeatMaps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDebugHeatMaps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe49c90ac_2ff3_5805_718c_b725ee07650f); } @@ -23,15 +19,11 @@ pub struct ICompositionDebugHeatMaps_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDebugSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDebugSettings { type Vtable = ICompositionDebugSettings_Vtbl; } -impl ::core::clone::Clone for ICompositionDebugSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDebugSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2831987e_1d82_4d38_b7b7_efd11c7bc3d1); } @@ -43,15 +35,11 @@ pub struct ICompositionDebugSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDebugSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDebugSettingsStatics { type Vtable = ICompositionDebugSettingsStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionDebugSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDebugSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64ec1f1e_6af8_4af8_b814_c870fd5a9505); } @@ -63,6 +51,7 @@ pub struct ICompositionDebugSettingsStatics_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionDebugHeatMaps(::windows_core::IUnknown); impl CompositionDebugHeatMaps { pub fn Hide(&self, subtree: P0) -> ::windows_core::Result<()> @@ -94,25 +83,9 @@ impl CompositionDebugHeatMaps { unsafe { (::windows_core::Interface::vtable(this).ShowRedraw)(::windows_core::Interface::as_raw(this), subtree.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionDebugHeatMaps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionDebugHeatMaps {} -impl ::core::fmt::Debug for CompositionDebugHeatMaps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionDebugHeatMaps").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionDebugHeatMaps { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugHeatMaps;{e49c90ac-2ff3-5805-718c-b725ee07650f})"); } -impl ::core::clone::Clone for CompositionDebugHeatMaps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionDebugHeatMaps { type Vtable = ICompositionDebugHeatMaps_Vtbl; } @@ -127,6 +100,7 @@ unsafe impl ::core::marker::Send for CompositionDebugHeatMaps {} unsafe impl ::core::marker::Sync for CompositionDebugHeatMaps {} #[doc = "*Required features: `\"UI_Composition_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionDebugSettings(::windows_core::IUnknown); impl CompositionDebugSettings { pub fn HeatMaps(&self) -> ::windows_core::Result { @@ -151,25 +125,9 @@ impl CompositionDebugSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionDebugSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionDebugSettings {} -impl ::core::fmt::Debug for CompositionDebugSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionDebugSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionDebugSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Diagnostics.CompositionDebugSettings;{2831987e-1d82-4d38-b7b7-efd11c7bc3d1})"); } -impl ::core::clone::Clone for CompositionDebugSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionDebugSettings { type Vtable = ICompositionDebugSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs index 32b07d6097..320ec8aa8b 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneLightingEffect(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneLightingEffect { type Vtable = ISceneLightingEffect_Vtbl; } -impl ::core::clone::Clone for ISceneLightingEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneLightingEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91bb5e52_95d1_4f8b_9a5a_6408b24b8c6a); } @@ -35,15 +31,11 @@ pub struct ISceneLightingEffect_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneLightingEffect2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneLightingEffect2 { type Vtable = ISceneLightingEffect2_Vtbl; } -impl ::core::clone::Clone for ISceneLightingEffect2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneLightingEffect2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e270e81_72f0_4c5c_95f8_8a6e0024f409); } @@ -56,6 +48,7 @@ pub struct ISceneLightingEffect2_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Effects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneLightingEffect(::windows_core::IUnknown); impl SceneLightingEffect { pub fn new() -> ::windows_core::Result { @@ -154,25 +147,9 @@ impl SceneLightingEffect { unsafe { (::windows_core::Interface::vtable(this).SetReflectanceModel)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SceneLightingEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneLightingEffect {} -impl ::core::fmt::Debug for SceneLightingEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneLightingEffect").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneLightingEffect { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Effects.SceneLightingEffect;{91bb5e52-95d1-4f8b-9a5a-6408b24b8c6a})"); } -impl ::core::clone::Clone for SceneLightingEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneLightingEffect { type Vtable = ISceneLightingEffect_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs index 5fccdec861..00cd845a6c 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs @@ -7,8 +7,8 @@ impl ICompositionInteractionSource_Vtbl { pub const fn new, Impl: ICompositionInteractionSource_Impl, const OFFSET: isize>() -> ICompositionInteractionSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition_Interactions\"`, `\"implement\"`*"] @@ -65,7 +65,7 @@ impl IInteractionTrackerOwner_Vtbl { ValuesChanged: ValuesChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs index e4840c5f7d..85bd8b1aeb 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionConditionalValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionConditionalValue { type Vtable = ICompositionConditionalValue_Vtbl; } -impl ::core::clone::Clone for ICompositionConditionalValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionConditionalValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43250538_eb73_4561_a71d_1a43eaeb7a9b); } @@ -23,15 +19,11 @@ pub struct ICompositionConditionalValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionConditionalValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionConditionalValueStatics { type Vtable = ICompositionConditionalValueStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionConditionalValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionConditionalValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x090c4b72_8467_4d0a_9065_ac46b80a5522); } @@ -43,31 +35,16 @@ pub struct ICompositionConditionalValueStatics_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionInteractionSource(::windows_core::IUnknown); impl ICompositionInteractionSource {} ::windows_core::imp::interface_hierarchy!(ICompositionInteractionSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionInteractionSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionInteractionSource {} -impl ::core::fmt::Debug for ICompositionInteractionSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionInteractionSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICompositionInteractionSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{043b2431-06e3-495a-ba54-409f0017fac0}"); } unsafe impl ::windows_core::Interface for ICompositionInteractionSource { type Vtable = ICompositionInteractionSource_Vtbl; } -impl ::core::clone::Clone for ICompositionInteractionSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionInteractionSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x043b2431_06e3_495a_ba54_409f0017fac0); } @@ -78,15 +55,11 @@ pub struct ICompositionInteractionSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionInteractionSourceCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionInteractionSourceCollection { type Vtable = ICompositionInteractionSourceCollection_Vtbl; } -impl ::core::clone::Clone for ICompositionInteractionSourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionInteractionSourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b468e4b_a5bf_47d8_a547_3894155a158c); } @@ -101,15 +74,11 @@ pub struct ICompositionInteractionSourceCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionSourceConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionSourceConfiguration { type Vtable = IInteractionSourceConfiguration_Vtbl; } -impl ::core::clone::Clone for IInteractionSourceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionSourceConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa78347e5_a9d1_4d02_985e_b930cd0b9da4); } @@ -126,15 +95,11 @@ pub struct IInteractionSourceConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTracker(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTracker { type Vtable = IInteractionTracker_Vtbl; } -impl ::core::clone::Clone for IInteractionTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a8e8cb1_1000_4416_8363_cc27fb877308); } @@ -238,15 +203,11 @@ pub struct IInteractionTracker_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTracker2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTracker2 { type Vtable = IInteractionTracker2_Vtbl; } -impl ::core::clone::Clone for IInteractionTracker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTracker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25769a3e_ce6d_448c_8386_92620d240756); } @@ -265,15 +226,11 @@ pub struct IInteractionTracker2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTracker3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTracker3 { type Vtable = IInteractionTracker3_Vtbl; } -impl ::core::clone::Clone for IInteractionTracker3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTracker3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6c5d7a2_5c4b_42c6_84b7_f69441b18091); } @@ -288,15 +245,11 @@ pub struct IInteractionTracker3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTracker4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTracker4 { type Vtable = IInteractionTracker4_Vtbl; } -impl ::core::clone::Clone for IInteractionTracker4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTracker4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebd222bc_04af_4ac7_847d_06ea36e80a16); } @@ -316,15 +269,11 @@ pub struct IInteractionTracker4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTracker5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTracker5 { type Vtable = IInteractionTracker5_Vtbl; } -impl ::core::clone::Clone for IInteractionTracker5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTracker5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3ef5da2_a254_40e4_88d5_44e4e16b5809); } @@ -339,15 +288,11 @@ pub struct IInteractionTracker5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerCustomAnimationStateEnteredArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerCustomAnimationStateEnteredArgs { type Vtable = IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerCustomAnimationStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerCustomAnimationStateEnteredArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d1c8cf1_d7b0_434c_a5d2_2d7611864834); } @@ -359,15 +304,11 @@ pub struct IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerCustomAnimationStateEnteredArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerCustomAnimationStateEnteredArgs2 { type Vtable = IInteractionTrackerCustomAnimationStateEnteredArgs2_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerCustomAnimationStateEnteredArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerCustomAnimationStateEnteredArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47d579b7_0985_5e99_b024_2f32c380c1a4); } @@ -379,15 +320,11 @@ pub struct IInteractionTrackerCustomAnimationStateEnteredArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerIdleStateEnteredArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerIdleStateEnteredArgs { type Vtable = IInteractionTrackerIdleStateEnteredArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerIdleStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerIdleStateEnteredArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50012faa_1510_4142_a1a5_019b09f8857b); } @@ -399,15 +336,11 @@ pub struct IInteractionTrackerIdleStateEnteredArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerIdleStateEnteredArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerIdleStateEnteredArgs2 { type Vtable = IInteractionTrackerIdleStateEnteredArgs2_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerIdleStateEnteredArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerIdleStateEnteredArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e771ed_b803_5137_9435_1c96e48721e9); } @@ -419,15 +352,11 @@ pub struct IInteractionTrackerIdleStateEnteredArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaModifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaModifier { type Vtable = IInteractionTrackerInertiaModifier_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaModifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0e2c920_26b4_4da2_8b61_5e683979bbe2); } @@ -438,15 +367,11 @@ pub struct IInteractionTrackerInertiaModifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaModifierFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaModifierFactory { type Vtable = IInteractionTrackerInertiaModifierFactory_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaModifierFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaModifierFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x993818fe_c94e_4b86_87f3_922665ba46b9); } @@ -457,15 +382,11 @@ pub struct IInteractionTrackerInertiaModifierFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaMotion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaMotion { type Vtable = IInteractionTrackerInertiaMotion_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaMotion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04922fdc_f154_4cb8_bf33_cc1ba611e6db); } @@ -480,15 +401,11 @@ pub struct IInteractionTrackerInertiaMotion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaMotionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaMotionStatics { type Vtable = IInteractionTrackerInertiaMotionStatics_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaMotionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaMotionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc83dd6_ba7b_431a_844b_6eac9130f99a); } @@ -500,15 +417,11 @@ pub struct IInteractionTrackerInertiaMotionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaNaturalMotion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaNaturalMotion { type Vtable = IInteractionTrackerInertiaNaturalMotion_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaNaturalMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaNaturalMotion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70acdaae_27dc_48ed_a3c3_6d61c9a029d2); } @@ -523,15 +436,11 @@ pub struct IInteractionTrackerInertiaNaturalMotion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaNaturalMotionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaNaturalMotionStatics { type Vtable = IInteractionTrackerInertiaNaturalMotionStatics_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaNaturalMotionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaNaturalMotionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfda55b0_5e3e_4289_932d_ee5f50e74283); } @@ -543,15 +452,11 @@ pub struct IInteractionTrackerInertiaNaturalMotionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaRestingValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaRestingValue { type Vtable = IInteractionTrackerInertiaRestingValue_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaRestingValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaRestingValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86f7ec09_5096_4170_9cc8_df2fe101bb93); } @@ -566,15 +471,11 @@ pub struct IInteractionTrackerInertiaRestingValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaRestingValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaRestingValueStatics { type Vtable = IInteractionTrackerInertiaRestingValueStatics_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaRestingValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaRestingValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18ed4699_0745_4096_bcab_3a4e99569bcf); } @@ -586,15 +487,11 @@ pub struct IInteractionTrackerInertiaRestingValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaStateEnteredArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaStateEnteredArgs { type Vtable = IInteractionTrackerInertiaStateEnteredArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaStateEnteredArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87108cf2_e7ff_4f7d_9ffd_d72f1e409b63); } @@ -624,15 +521,11 @@ pub struct IInteractionTrackerInertiaStateEnteredArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaStateEnteredArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaStateEnteredArgs2 { type Vtable = IInteractionTrackerInertiaStateEnteredArgs2_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaStateEnteredArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaStateEnteredArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1eb32f6_c26c_41f6_a189_fabc22b323cc); } @@ -644,15 +537,11 @@ pub struct IInteractionTrackerInertiaStateEnteredArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInertiaStateEnteredArgs3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInertiaStateEnteredArgs3 { type Vtable = IInteractionTrackerInertiaStateEnteredArgs3_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInertiaStateEnteredArgs3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInertiaStateEnteredArgs3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48ac1c2f_47bd_59af_a58c_79bd2eb9ef71); } @@ -664,15 +553,11 @@ pub struct IInteractionTrackerInertiaStateEnteredArgs3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInteractingStateEnteredArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInteractingStateEnteredArgs { type Vtable = IInteractionTrackerInteractingStateEnteredArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInteractingStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInteractingStateEnteredArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7263939_a17b_4011_99fd_b5c24f143748); } @@ -684,15 +569,11 @@ pub struct IInteractionTrackerInteractingStateEnteredArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerInteractingStateEnteredArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerInteractingStateEnteredArgs2 { type Vtable = IInteractionTrackerInteractingStateEnteredArgs2_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerInteractingStateEnteredArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerInteractingStateEnteredArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x509652d6_d488_59cd_819f_f52310295b11); } @@ -704,6 +585,7 @@ pub struct IInteractionTrackerInteractingStateEnteredArgs2_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerOwner(::windows_core::IUnknown); impl IInteractionTrackerOwner { pub fn CustomAnimationStateEntered(&self, sender: P0, args: P1) -> ::windows_core::Result<()> @@ -756,28 +638,12 @@ impl IInteractionTrackerOwner { } } ::windows_core::imp::interface_hierarchy!(IInteractionTrackerOwner, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInteractionTrackerOwner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInteractionTrackerOwner {} -impl ::core::fmt::Debug for IInteractionTrackerOwner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInteractionTrackerOwner").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInteractionTrackerOwner { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{db2e8af3-4deb-4e53-b29c-b06c9f96d651}"); } unsafe impl ::windows_core::Interface for IInteractionTrackerOwner { type Vtable = IInteractionTrackerOwner_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerOwner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerOwner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2e8af3_4deb_4e53_b29c_b06c9f96d651); } @@ -794,15 +660,11 @@ pub struct IInteractionTrackerOwner_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerRequestIgnoredArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerRequestIgnoredArgs { type Vtable = IInteractionTrackerRequestIgnoredArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerRequestIgnoredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerRequestIgnoredArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80dd82f1_ce25_488f_91dd_cb6455ccff2e); } @@ -814,15 +676,11 @@ pub struct IInteractionTrackerRequestIgnoredArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerStatics { type Vtable = IInteractionTrackerStatics_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbba5d7b7_6590_4498_8d6c_eb62b514c92a); } @@ -835,15 +693,11 @@ pub struct IInteractionTrackerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerStatics2 { type Vtable = IInteractionTrackerStatics2_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35e53720_46b7_5cb0_b505_f3d6884a6163); } @@ -856,15 +710,11 @@ pub struct IInteractionTrackerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerValuesChangedArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerValuesChangedArgs { type Vtable = IInteractionTrackerValuesChangedArgs_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerValuesChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerValuesChangedArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf1578ef_d3df_4501_b9e6_f02fb22f73d0); } @@ -881,15 +731,11 @@ pub struct IInteractionTrackerValuesChangedArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerVector2InertiaModifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerVector2InertiaModifier { type Vtable = IInteractionTrackerVector2InertiaModifier_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerVector2InertiaModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerVector2InertiaModifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87e08ab0_3086_4853_a4b7_77882ad5d7e3); } @@ -900,15 +746,11 @@ pub struct IInteractionTrackerVector2InertiaModifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerVector2InertiaModifierFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerVector2InertiaModifierFactory { type Vtable = IInteractionTrackerVector2InertiaModifierFactory_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerVector2InertiaModifierFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerVector2InertiaModifierFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7401d6c4_6c6d_48df_bc3e_171e227e7d7f); } @@ -919,15 +761,11 @@ pub struct IInteractionTrackerVector2InertiaModifierFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerVector2InertiaNaturalMotion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerVector2InertiaNaturalMotion { type Vtable = IInteractionTrackerVector2InertiaNaturalMotion_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerVector2InertiaNaturalMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerVector2InertiaNaturalMotion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f17695c_162d_4c07_9400_c282b28276ca); } @@ -942,15 +780,11 @@ pub struct IInteractionTrackerVector2InertiaNaturalMotion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInteractionTrackerVector2InertiaNaturalMotionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInteractionTrackerVector2InertiaNaturalMotionStatics { type Vtable = IInteractionTrackerVector2InertiaNaturalMotionStatics_Vtbl; } -impl ::core::clone::Clone for IInteractionTrackerVector2InertiaNaturalMotionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInteractionTrackerVector2InertiaNaturalMotionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82001a48_09c0_434f_8189_141c66df362f); } @@ -962,15 +796,11 @@ pub struct IInteractionTrackerVector2InertiaNaturalMotionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSource { type Vtable = IVisualInteractionSource_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca0e8a86_d8d6_4111_b088_70347bd2b0ed); } @@ -1004,15 +834,11 @@ pub struct IVisualInteractionSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSource2 { type Vtable = IVisualInteractionSource2_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa914893_a73c_414d_80d0_249bad2fbd93); } @@ -1058,15 +884,11 @@ pub struct IVisualInteractionSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSource3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSource3 { type Vtable = IVisualInteractionSource3_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd941ef2a_0d5c_4057_92d7_c9711533204f); } @@ -1078,15 +900,11 @@ pub struct IVisualInteractionSource3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSourceObjectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSourceObjectFactory { type Vtable = IVisualInteractionSourceObjectFactory_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSourceObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSourceObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2ca917c_e98a_41f2_b3c9_891c9266c8f6); } @@ -1097,15 +915,11 @@ pub struct IVisualInteractionSourceObjectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSourceStatics { type Vtable = IVisualInteractionSourceStatics_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x369965e1_8645_4f75_ba00_6479cd10c8e6); } @@ -1117,15 +931,11 @@ pub struct IVisualInteractionSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSourceStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualInteractionSourceStatics2 { type Vtable = IVisualInteractionSourceStatics2_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSourceStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSourceStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa979c032_5764_55e0_bc1f_0778786dcfde); } @@ -1137,6 +947,7 @@ pub struct IVisualInteractionSourceStatics2_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionConditionalValue(::windows_core::IUnknown); impl CompositionConditionalValue { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1292,25 +1103,9 @@ impl CompositionConditionalValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionConditionalValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionConditionalValue {} -impl ::core::fmt::Debug for CompositionConditionalValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionConditionalValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionConditionalValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionConditionalValue;{43250538-eb73-4561-a71d-1a43eaeb7a9b})"); } -impl ::core::clone::Clone for CompositionConditionalValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionConditionalValue { type Vtable = ICompositionConditionalValue_Vtbl; } @@ -1329,6 +1124,7 @@ unsafe impl ::core::marker::Send for CompositionConditionalValue {} unsafe impl ::core::marker::Sync for CompositionConditionalValue {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionInteractionSourceCollection(::windows_core::IUnknown); impl CompositionInteractionSourceCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1476,25 +1272,9 @@ impl CompositionInteractionSourceCollection { } } } -impl ::core::cmp::PartialEq for CompositionInteractionSourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionInteractionSourceCollection {} -impl ::core::fmt::Debug for CompositionInteractionSourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionInteractionSourceCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionInteractionSourceCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.CompositionInteractionSourceCollection;{1b468e4b-a5bf-47d8-a547-3894155a158c})"); } -impl ::core::clone::Clone for CompositionInteractionSourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionInteractionSourceCollection { type Vtable = ICompositionInteractionSourceCollection_Vtbl; } @@ -1531,6 +1311,7 @@ unsafe impl ::core::marker::Send for CompositionInteractionSourceCollection {} unsafe impl ::core::marker::Sync for CompositionInteractionSourceCollection {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionSourceConfiguration(::windows_core::IUnknown); impl InteractionSourceConfiguration { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1677,25 +1458,9 @@ impl InteractionSourceConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetScaleSourceMode)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InteractionSourceConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionSourceConfiguration {} -impl ::core::fmt::Debug for InteractionSourceConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionSourceConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionSourceConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionSourceConfiguration;{a78347e5-a9d1-4d02-985e-b930cd0b9da4})"); } -impl ::core::clone::Clone for InteractionSourceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionSourceConfiguration { type Vtable = IInteractionSourceConfiguration_Vtbl; } @@ -1714,6 +1479,7 @@ unsafe impl ::core::marker::Send for InteractionSourceConfiguration {} unsafe impl ::core::marker::Sync for InteractionSourceConfiguration {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTracker(::windows_core::IUnknown); impl InteractionTracker { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2193,25 +1959,9 @@ impl InteractionTracker { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InteractionTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTracker {} -impl ::core::fmt::Debug for InteractionTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTracker").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTracker { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTracker;{2a8e8cb1-1000-4416-8363-cc27fb877308})"); } -impl ::core::clone::Clone for InteractionTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTracker { type Vtable = IInteractionTracker_Vtbl; } @@ -2230,6 +1980,7 @@ unsafe impl ::core::marker::Send for InteractionTracker {} unsafe impl ::core::marker::Sync for InteractionTracker {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerCustomAnimationStateEnteredArgs(::windows_core::IUnknown); impl InteractionTrackerCustomAnimationStateEnteredArgs { pub fn RequestId(&self) -> ::windows_core::Result { @@ -2247,25 +1998,9 @@ impl InteractionTrackerCustomAnimationStateEnteredArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerCustomAnimationStateEnteredArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerCustomAnimationStateEnteredArgs {} -impl ::core::fmt::Debug for InteractionTrackerCustomAnimationStateEnteredArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerCustomAnimationStateEnteredArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerCustomAnimationStateEnteredArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerCustomAnimationStateEnteredArgs;{8d1c8cf1-d7b0-434c-a5d2-2d7611864834})"); } -impl ::core::clone::Clone for InteractionTrackerCustomAnimationStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerCustomAnimationStateEnteredArgs { type Vtable = IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl; } @@ -2280,6 +2015,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerCustomAnimationStateEnter unsafe impl ::core::marker::Sync for InteractionTrackerCustomAnimationStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerIdleStateEnteredArgs(::windows_core::IUnknown); impl InteractionTrackerIdleStateEnteredArgs { pub fn RequestId(&self) -> ::windows_core::Result { @@ -2297,25 +2033,9 @@ impl InteractionTrackerIdleStateEnteredArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerIdleStateEnteredArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerIdleStateEnteredArgs {} -impl ::core::fmt::Debug for InteractionTrackerIdleStateEnteredArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerIdleStateEnteredArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerIdleStateEnteredArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerIdleStateEnteredArgs;{50012faa-1510-4142-a1a5-019b09f8857b})"); } -impl ::core::clone::Clone for InteractionTrackerIdleStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerIdleStateEnteredArgs { type Vtable = IInteractionTrackerIdleStateEnteredArgs_Vtbl; } @@ -2330,6 +2050,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerIdleStateEnteredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerIdleStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInertiaModifier(::windows_core::IUnknown); impl InteractionTrackerInertiaModifier { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2443,25 +2164,9 @@ impl InteractionTrackerInertiaModifier { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for InteractionTrackerInertiaModifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInertiaModifier {} -impl ::core::fmt::Debug for InteractionTrackerInertiaModifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInertiaModifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInertiaModifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaModifier;{a0e2c920-26b4-4da2-8b61-5e683979bbe2})"); } -impl ::core::clone::Clone for InteractionTrackerInertiaModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInertiaModifier { type Vtable = IInteractionTrackerInertiaModifier_Vtbl; } @@ -2480,6 +2185,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInertiaModifier {} unsafe impl ::core::marker::Sync for InteractionTrackerInertiaModifier {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInertiaMotion(::windows_core::IUnknown); impl InteractionTrackerInertiaMotion { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2635,25 +2341,9 @@ impl InteractionTrackerInertiaMotion { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InteractionTrackerInertiaMotion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInertiaMotion {} -impl ::core::fmt::Debug for InteractionTrackerInertiaMotion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInertiaMotion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInertiaMotion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaMotion;{04922fdc-f154-4cb8-bf33-cc1ba611e6db})"); } -impl ::core::clone::Clone for InteractionTrackerInertiaMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInertiaMotion { type Vtable = IInteractionTrackerInertiaMotion_Vtbl; } @@ -2673,6 +2363,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInertiaMotion {} unsafe impl ::core::marker::Sync for InteractionTrackerInertiaMotion {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInertiaNaturalMotion(::windows_core::IUnknown); impl InteractionTrackerInertiaNaturalMotion { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2828,25 +2519,9 @@ impl InteractionTrackerInertiaNaturalMotion { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InteractionTrackerInertiaNaturalMotion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInertiaNaturalMotion {} -impl ::core::fmt::Debug for InteractionTrackerInertiaNaturalMotion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInertiaNaturalMotion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInertiaNaturalMotion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaNaturalMotion;{70acdaae-27dc-48ed-a3c3-6d61c9a029d2})"); } -impl ::core::clone::Clone for InteractionTrackerInertiaNaturalMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInertiaNaturalMotion { type Vtable = IInteractionTrackerInertiaNaturalMotion_Vtbl; } @@ -2866,6 +2541,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInertiaNaturalMotion {} unsafe impl ::core::marker::Sync for InteractionTrackerInertiaNaturalMotion {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInertiaRestingValue(::windows_core::IUnknown); impl InteractionTrackerInertiaRestingValue { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3021,25 +2697,9 @@ impl InteractionTrackerInertiaRestingValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InteractionTrackerInertiaRestingValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInertiaRestingValue {} -impl ::core::fmt::Debug for InteractionTrackerInertiaRestingValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInertiaRestingValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInertiaRestingValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaRestingValue;{86f7ec09-5096-4170-9cc8-df2fe101bb93})"); } -impl ::core::clone::Clone for InteractionTrackerInertiaRestingValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInertiaRestingValue { type Vtable = IInteractionTrackerInertiaRestingValue_Vtbl; } @@ -3059,6 +2719,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInertiaRestingValue {} unsafe impl ::core::marker::Sync for InteractionTrackerInertiaRestingValue {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInertiaStateEnteredArgs(::windows_core::IUnknown); impl InteractionTrackerInertiaStateEnteredArgs { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -3133,25 +2794,9 @@ impl InteractionTrackerInertiaStateEnteredArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerInertiaStateEnteredArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInertiaStateEnteredArgs {} -impl ::core::fmt::Debug for InteractionTrackerInertiaStateEnteredArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInertiaStateEnteredArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInertiaStateEnteredArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInertiaStateEnteredArgs;{87108cf2-e7ff-4f7d-9ffd-d72f1e409b63})"); } -impl ::core::clone::Clone for InteractionTrackerInertiaStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInertiaStateEnteredArgs { type Vtable = IInteractionTrackerInertiaStateEnteredArgs_Vtbl; } @@ -3166,6 +2811,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInertiaStateEnteredArgs { unsafe impl ::core::marker::Sync for InteractionTrackerInertiaStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerInteractingStateEnteredArgs(::windows_core::IUnknown); impl InteractionTrackerInteractingStateEnteredArgs { pub fn RequestId(&self) -> ::windows_core::Result { @@ -3183,25 +2829,9 @@ impl InteractionTrackerInteractingStateEnteredArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerInteractingStateEnteredArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerInteractingStateEnteredArgs {} -impl ::core::fmt::Debug for InteractionTrackerInteractingStateEnteredArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerInteractingStateEnteredArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerInteractingStateEnteredArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerInteractingStateEnteredArgs;{a7263939-a17b-4011-99fd-b5c24f143748})"); } -impl ::core::clone::Clone for InteractionTrackerInteractingStateEnteredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerInteractingStateEnteredArgs { type Vtable = IInteractionTrackerInteractingStateEnteredArgs_Vtbl; } @@ -3216,6 +2846,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerInteractingStateEnteredAr unsafe impl ::core::marker::Sync for InteractionTrackerInteractingStateEnteredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerRequestIgnoredArgs(::windows_core::IUnknown); impl InteractionTrackerRequestIgnoredArgs { pub fn RequestId(&self) -> ::windows_core::Result { @@ -3226,25 +2857,9 @@ impl InteractionTrackerRequestIgnoredArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerRequestIgnoredArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerRequestIgnoredArgs {} -impl ::core::fmt::Debug for InteractionTrackerRequestIgnoredArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerRequestIgnoredArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerRequestIgnoredArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerRequestIgnoredArgs;{80dd82f1-ce25-488f-91dd-cb6455ccff2e})"); } -impl ::core::clone::Clone for InteractionTrackerRequestIgnoredArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerRequestIgnoredArgs { type Vtable = IInteractionTrackerRequestIgnoredArgs_Vtbl; } @@ -3259,6 +2874,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerRequestIgnoredArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerRequestIgnoredArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerValuesChangedArgs(::windows_core::IUnknown); impl InteractionTrackerValuesChangedArgs { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -3285,25 +2901,9 @@ impl InteractionTrackerValuesChangedArgs { } } } -impl ::core::cmp::PartialEq for InteractionTrackerValuesChangedArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerValuesChangedArgs {} -impl ::core::fmt::Debug for InteractionTrackerValuesChangedArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerValuesChangedArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerValuesChangedArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerValuesChangedArgs;{cf1578ef-d3df-4501-b9e6-f02fb22f73d0})"); } -impl ::core::clone::Clone for InteractionTrackerValuesChangedArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerValuesChangedArgs { type Vtable = IInteractionTrackerValuesChangedArgs_Vtbl; } @@ -3318,6 +2918,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerValuesChangedArgs {} unsafe impl ::core::marker::Sync for InteractionTrackerValuesChangedArgs {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerVector2InertiaModifier(::windows_core::IUnknown); impl InteractionTrackerVector2InertiaModifier { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3431,25 +3032,9 @@ impl InteractionTrackerVector2InertiaModifier { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for InteractionTrackerVector2InertiaModifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerVector2InertiaModifier {} -impl ::core::fmt::Debug for InteractionTrackerVector2InertiaModifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerVector2InertiaModifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerVector2InertiaModifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaModifier;{87e08ab0-3086-4853-a4b7-77882ad5d7e3})"); } -impl ::core::clone::Clone for InteractionTrackerVector2InertiaModifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerVector2InertiaModifier { type Vtable = IInteractionTrackerVector2InertiaModifier_Vtbl; } @@ -3468,6 +3053,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerVector2InertiaModifier {} unsafe impl ::core::marker::Sync for InteractionTrackerVector2InertiaModifier {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InteractionTrackerVector2InertiaNaturalMotion(::windows_core::IUnknown); impl InteractionTrackerVector2InertiaNaturalMotion { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3623,25 +3209,9 @@ impl InteractionTrackerVector2InertiaNaturalMotion { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InteractionTrackerVector2InertiaNaturalMotion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InteractionTrackerVector2InertiaNaturalMotion {} -impl ::core::fmt::Debug for InteractionTrackerVector2InertiaNaturalMotion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InteractionTrackerVector2InertiaNaturalMotion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InteractionTrackerVector2InertiaNaturalMotion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.InteractionTrackerVector2InertiaNaturalMotion;{5f17695c-162d-4c07-9400-c282b28276ca})"); } -impl ::core::clone::Clone for InteractionTrackerVector2InertiaNaturalMotion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InteractionTrackerVector2InertiaNaturalMotion { type Vtable = IInteractionTrackerVector2InertiaNaturalMotion_Vtbl; } @@ -3661,6 +3231,7 @@ unsafe impl ::core::marker::Send for InteractionTrackerVector2InertiaNaturalMoti unsafe impl ::core::marker::Sync for InteractionTrackerVector2InertiaNaturalMotion {} #[doc = "*Required features: `\"UI_Composition_Interactions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualInteractionSource(::windows_core::IUnknown); impl VisualInteractionSource { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -4017,25 +3588,9 @@ impl VisualInteractionSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for VisualInteractionSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualInteractionSource {} -impl ::core::fmt::Debug for VisualInteractionSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualInteractionSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualInteractionSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Interactions.VisualInteractionSource;{ca0e8a86-d8d6-4111-b088-70347bd2b0ed})"); } -impl ::core::clone::Clone for VisualInteractionSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualInteractionSource { type Vtable = IVisualInteractionSource_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs index a2e440f3b3..f7bbcddeaa 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneBoundingBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneBoundingBox { type Vtable = ISceneBoundingBox_Vtbl; } -impl ::core::clone::Clone for ISceneBoundingBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneBoundingBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d8ffc70_c618_4083_8251_9962593114aa); } @@ -39,15 +35,11 @@ pub struct ISceneBoundingBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneComponent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneComponent { type Vtable = ISceneComponent_Vtbl; } -impl ::core::clone::Clone for ISceneComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae20fc96_226c_44bd_95cb_dd5ed9ebe9a5); } @@ -59,15 +51,11 @@ pub struct ISceneComponent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneComponentCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneComponentCollection { type Vtable = ISceneComponentCollection_Vtbl; } -impl ::core::clone::Clone for ISceneComponentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneComponentCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc483791c_5f46_45e4_b666_a3d2259f9b2e); } @@ -78,15 +66,11 @@ pub struct ISceneComponentCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneComponentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneComponentFactory { type Vtable = ISceneComponentFactory_Vtbl; } -impl ::core::clone::Clone for ISceneComponentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneComponentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fbc5574_ddd8_5889_ab5b_d8fa716e7c9e); } @@ -97,15 +81,11 @@ pub struct ISceneComponentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMaterial { type Vtable = ISceneMaterial_Vtbl; } -impl ::core::clone::Clone for ISceneMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ca74b7c_30df_4e07_9490_37875af1a123); } @@ -116,15 +96,11 @@ pub struct ISceneMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMaterialFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMaterialFactory { type Vtable = ISceneMaterialFactory_Vtbl; } -impl ::core::clone::Clone for ISceneMaterialFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMaterialFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67536c19_a707_5254_a495_7fdc799893b9); } @@ -135,15 +111,11 @@ pub struct ISceneMaterialFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMaterialInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMaterialInput { type Vtable = ISceneMaterialInput_Vtbl; } -impl ::core::clone::Clone for ISceneMaterialInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMaterialInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x422a1642_1ef1_485c_97e9_ae6f95ad812f); } @@ -154,15 +126,11 @@ pub struct ISceneMaterialInput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMaterialInputFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMaterialInputFactory { type Vtable = ISceneMaterialInputFactory_Vtbl; } -impl ::core::clone::Clone for ISceneMaterialInputFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMaterialInputFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa88feb74_7d0a_5e4c_a748_1015af9ca74f); } @@ -173,15 +141,11 @@ pub struct ISceneMaterialInputFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMesh(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMesh { type Vtable = ISceneMesh_Vtbl; } -impl ::core::clone::Clone for ISceneMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMesh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee9a1530_1155_4c0c_92bd_40020cf78347); } @@ -205,15 +169,11 @@ pub struct ISceneMesh_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMeshMaterialAttributeMap(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMeshMaterialAttributeMap { type Vtable = ISceneMeshMaterialAttributeMap_Vtbl; } -impl ::core::clone::Clone for ISceneMeshMaterialAttributeMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMeshMaterialAttributeMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce843171_3d43_4855_aa69_31ff988d049d); } @@ -224,15 +184,11 @@ pub struct ISceneMeshMaterialAttributeMap_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMeshRendererComponent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMeshRendererComponent { type Vtable = ISceneMeshRendererComponent_Vtbl; } -impl ::core::clone::Clone for ISceneMeshRendererComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMeshRendererComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9929f7e3_6364_477e_98fe_74ed9fd4c2de); } @@ -248,15 +204,11 @@ pub struct ISceneMeshRendererComponent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMeshRendererComponentStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMeshRendererComponentStatics { type Vtable = ISceneMeshRendererComponentStatics_Vtbl; } -impl ::core::clone::Clone for ISceneMeshRendererComponentStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMeshRendererComponentStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4954f37a_4459_4521_bd6e_2b38b8d711ea); } @@ -268,15 +220,11 @@ pub struct ISceneMeshRendererComponentStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMeshStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMeshStatics { type Vtable = ISceneMeshStatics_Vtbl; } -impl ::core::clone::Clone for ISceneMeshStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMeshStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8412316c_7b57_473f_966b_81dc277b1751); } @@ -288,15 +236,11 @@ pub struct ISceneMeshStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMetallicRoughnessMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMetallicRoughnessMaterial { type Vtable = ISceneMetallicRoughnessMaterial_Vtbl; } -impl ::core::clone::Clone for ISceneMetallicRoughnessMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMetallicRoughnessMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1d91446_799c_429e_a4e4_5da645f18e61); } @@ -323,15 +267,11 @@ pub struct ISceneMetallicRoughnessMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneMetallicRoughnessMaterialStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneMetallicRoughnessMaterialStatics { type Vtable = ISceneMetallicRoughnessMaterialStatics_Vtbl; } -impl ::core::clone::Clone for ISceneMetallicRoughnessMaterialStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneMetallicRoughnessMaterialStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bddca50_6d9d_4531_8dc4_b27e3e49b7ab); } @@ -343,15 +283,11 @@ pub struct ISceneMetallicRoughnessMaterialStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneModelTransform(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneModelTransform { type Vtable = ISceneModelTransform_Vtbl; } -impl ::core::clone::Clone for ISceneModelTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneModelTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc05576c2_32b1_4269_980d_b98537100ae4); } @@ -398,15 +334,11 @@ pub struct ISceneModelTransform_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneNode(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneNode { type Vtable = ISceneNode_Vtbl; } -impl ::core::clone::Clone for ISceneNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacf2c247_f307_4581_9c41_af2e29c3b016); } @@ -428,15 +360,11 @@ pub struct ISceneNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneNodeCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneNodeCollection { type Vtable = ISceneNodeCollection_Vtbl; } -impl ::core::clone::Clone for ISceneNodeCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneNodeCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29ada101_2dd9_4332_be63_60d2cf4269f2); } @@ -447,15 +375,11 @@ pub struct ISceneNodeCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneNodeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneNodeStatics { type Vtable = ISceneNodeStatics_Vtbl; } -impl ::core::clone::Clone for ISceneNodeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneNodeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x579a0faa_be9d_4210_908c_93d15feed0b7); } @@ -467,15 +391,11 @@ pub struct ISceneNodeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneObject { type Vtable = ISceneObject_Vtbl; } -impl ::core::clone::Clone for ISceneObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e94249b_0f1b_49eb_a819_877d8450005b); } @@ -486,15 +406,11 @@ pub struct ISceneObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneObjectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneObjectFactory { type Vtable = ISceneObjectFactory_Vtbl; } -impl ::core::clone::Clone for ISceneObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14fe799a_33e4_52ef_956c_44229d21f2c1); } @@ -505,15 +421,11 @@ pub struct ISceneObjectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScenePbrMaterial(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScenePbrMaterial { type Vtable = IScenePbrMaterial_Vtbl; } -impl ::core::clone::Clone for IScenePbrMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScenePbrMaterial { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaab6ebbe_d680_46df_8294_b6800a9f95e7); } @@ -548,15 +460,11 @@ pub struct IScenePbrMaterial_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScenePbrMaterialFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScenePbrMaterialFactory { type Vtable = IScenePbrMaterialFactory_Vtbl; } -impl ::core::clone::Clone for IScenePbrMaterialFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScenePbrMaterialFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e3f3dfe_0b85_5727_b5be_b7d3cbac37fa); } @@ -567,15 +475,11 @@ pub struct IScenePbrMaterialFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneRendererComponent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneRendererComponent { type Vtable = ISceneRendererComponent_Vtbl; } -impl ::core::clone::Clone for ISceneRendererComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneRendererComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1acb857_cf4f_4025_9b25_a2d1944cf507); } @@ -586,15 +490,11 @@ pub struct ISceneRendererComponent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneRendererComponentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneRendererComponentFactory { type Vtable = ISceneRendererComponentFactory_Vtbl; } -impl ::core::clone::Clone for ISceneRendererComponentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneRendererComponentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1db6ed6c_aa2c_5967_9035_56352dc69658); } @@ -605,15 +505,11 @@ pub struct ISceneRendererComponentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneSurfaceMaterialInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneSurfaceMaterialInput { type Vtable = ISceneSurfaceMaterialInput_Vtbl; } -impl ::core::clone::Clone for ISceneSurfaceMaterialInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneSurfaceMaterialInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9937da5c_a9ca_4cfc_b3aa_088356518742); } @@ -632,15 +528,11 @@ pub struct ISceneSurfaceMaterialInput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneSurfaceMaterialInputStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneSurfaceMaterialInputStatics { type Vtable = ISceneSurfaceMaterialInputStatics_Vtbl; } -impl ::core::clone::Clone for ISceneSurfaceMaterialInputStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneSurfaceMaterialInputStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a2394d3_6429_4589_bbcf_b84f4f3cfbfe); } @@ -652,15 +544,11 @@ pub struct ISceneSurfaceMaterialInputStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneVisual { type Vtable = ISceneVisual_Vtbl; } -impl ::core::clone::Clone for ISceneVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e672c1e_d734_47b1_be14_3d694ffa4301); } @@ -673,15 +561,11 @@ pub struct ISceneVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceneVisualStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISceneVisualStatics { type Vtable = ISceneVisualStatics_Vtbl; } -impl ::core::clone::Clone for ISceneVisualStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceneVisualStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8347e9a_50aa_4527_8d34_de4cb8ea88b4); } @@ -693,6 +577,7 @@ pub struct ISceneVisualStatics_Vtbl { } #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneBoundingBox(::windows_core::IUnknown); impl SceneBoundingBox { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -851,25 +736,9 @@ impl SceneBoundingBox { } } } -impl ::core::cmp::PartialEq for SceneBoundingBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneBoundingBox {} -impl ::core::fmt::Debug for SceneBoundingBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneBoundingBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneBoundingBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneBoundingBox;{5d8ffc70-c618-4083-8251-9962593114aa})"); } -impl ::core::clone::Clone for SceneBoundingBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneBoundingBox { type Vtable = ISceneBoundingBox_Vtbl; } @@ -889,6 +758,7 @@ unsafe impl ::core::marker::Send for SceneBoundingBox {} unsafe impl ::core::marker::Sync for SceneBoundingBox {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneComponent(::windows_core::IUnknown); impl SceneComponent { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1009,25 +879,9 @@ impl SceneComponent { } } } -impl ::core::cmp::PartialEq for SceneComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneComponent {} -impl ::core::fmt::Debug for SceneComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneComponent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneComponent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})"); } -impl ::core::clone::Clone for SceneComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneComponent { type Vtable = ISceneComponent_Vtbl; } @@ -1048,6 +902,7 @@ unsafe impl ::core::marker::Sync for SceneComponent {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneComponentCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl SceneComponentCollection { @@ -1271,30 +1126,10 @@ impl SceneComponentCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for SceneComponentCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for SceneComponentCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for SceneComponentCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneComponentCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for SceneComponentCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneComponentCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneComponent;{ae20fc96-226c-44bd-95cb-dd5ed9ebe9a5})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for SceneComponentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for SceneComponentCollection { type Vtable = super::super::super::Foundation::Collections::IVector_Vtbl; } @@ -1342,6 +1177,7 @@ unsafe impl ::core::marker::Send for SceneComponentCollection {} unsafe impl ::core::marker::Sync for SceneComponentCollection {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMaterial(::windows_core::IUnknown); impl SceneMaterial { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1455,25 +1291,9 @@ impl SceneMaterial { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for SceneMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMaterial {} -impl ::core::fmt::Debug for SceneMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterial;{8ca74b7c-30df-4e07-9490-37875af1a123})"); } -impl ::core::clone::Clone for SceneMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMaterial { type Vtable = ISceneMaterial_Vtbl; } @@ -1493,6 +1313,7 @@ unsafe impl ::core::marker::Send for SceneMaterial {} unsafe impl ::core::marker::Sync for SceneMaterial {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMaterialInput(::windows_core::IUnknown); impl SceneMaterialInput { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1606,25 +1427,9 @@ impl SceneMaterialInput { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for SceneMaterialInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMaterialInput {} -impl ::core::fmt::Debug for SceneMaterialInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMaterialInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMaterialInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMaterialInput;{422a1642-1ef1-485c-97e9-ae6f95ad812f})"); } -impl ::core::clone::Clone for SceneMaterialInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMaterialInput { type Vtable = ISceneMaterialInput_Vtbl; } @@ -1644,6 +1449,7 @@ unsafe impl ::core::marker::Send for SceneMaterialInput {} unsafe impl ::core::marker::Sync for SceneMaterialInput {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMesh(::windows_core::IUnknown); impl SceneMesh { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -1802,25 +1608,9 @@ impl SceneMesh { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneMesh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMesh {} -impl ::core::fmt::Debug for SceneMesh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMesh").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMesh { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMesh;{ee9a1530-1155-4c0c-92bd-40020cf78347})"); } -impl ::core::clone::Clone for SceneMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMesh { type Vtable = ISceneMesh_Vtbl; } @@ -1840,6 +1630,7 @@ unsafe impl ::core::marker::Send for SceneMesh {} unsafe impl ::core::marker::Sync for SceneMesh {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMeshMaterialAttributeMap(::windows_core::IUnknown); impl SceneMeshMaterialAttributeMap { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2019,25 +1810,9 @@ impl SceneMeshMaterialAttributeMap { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for SceneMeshMaterialAttributeMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMeshMaterialAttributeMap {} -impl ::core::fmt::Debug for SceneMeshMaterialAttributeMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMeshMaterialAttributeMap").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMeshMaterialAttributeMap { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshMaterialAttributeMap;{ce843171-3d43-4855-aa69-31ff988d049d})"); } -impl ::core::clone::Clone for SceneMeshMaterialAttributeMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMeshMaterialAttributeMap { type Vtable = ISceneMeshMaterialAttributeMap_Vtbl; } @@ -2077,6 +1852,7 @@ unsafe impl ::core::marker::Send for SceneMeshMaterialAttributeMap {} unsafe impl ::core::marker::Sync for SceneMeshMaterialAttributeMap {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMeshRendererComponent(::windows_core::IUnknown); impl SceneMeshRendererComponent { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2246,25 +2022,9 @@ impl SceneMeshRendererComponent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneMeshRendererComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMeshRendererComponent {} -impl ::core::fmt::Debug for SceneMeshRendererComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMeshRendererComponent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMeshRendererComponent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMeshRendererComponent;{9929f7e3-6364-477e-98fe-74ed9fd4c2de})"); } -impl ::core::clone::Clone for SceneMeshRendererComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMeshRendererComponent { type Vtable = ISceneMeshRendererComponent_Vtbl; } @@ -2286,6 +2046,7 @@ unsafe impl ::core::marker::Send for SceneMeshRendererComponent {} unsafe impl ::core::marker::Sync for SceneMeshRendererComponent {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneMetallicRoughnessMaterial(::windows_core::IUnknown); impl SceneMetallicRoughnessMaterial { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2590,25 +2351,9 @@ impl SceneMetallicRoughnessMaterial { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneMetallicRoughnessMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneMetallicRoughnessMaterial {} -impl ::core::fmt::Debug for SceneMetallicRoughnessMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneMetallicRoughnessMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneMetallicRoughnessMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneMetallicRoughnessMaterial;{c1d91446-799c-429e-a4e4-5da645f18e61})"); } -impl ::core::clone::Clone for SceneMetallicRoughnessMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneMetallicRoughnessMaterial { type Vtable = ISceneMetallicRoughnessMaterial_Vtbl; } @@ -2630,6 +2375,7 @@ unsafe impl ::core::marker::Send for SceneMetallicRoughnessMaterial {} unsafe impl ::core::marker::Sync for SceneMetallicRoughnessMaterial {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneModelTransform(::windows_core::IUnknown); impl SceneModelTransform { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -2825,25 +2571,9 @@ impl SceneModelTransform { unsafe { (::windows_core::Interface::vtable(this).SetTranslation)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SceneModelTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneModelTransform {} -impl ::core::fmt::Debug for SceneModelTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneModelTransform").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneModelTransform { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneModelTransform;{c05576c2-32b1-4269-980d-b98537100ae4})"); } -impl ::core::clone::Clone for SceneModelTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneModelTransform { type Vtable = ISceneModelTransform_Vtbl; } @@ -2863,6 +2593,7 @@ unsafe impl ::core::marker::Send for SceneModelTransform {} unsafe impl ::core::marker::Sync for SceneModelTransform {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneNode(::windows_core::IUnknown); impl SceneNode { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3029,25 +2760,9 @@ impl SceneNode { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneNode {} -impl ::core::fmt::Debug for SceneNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})"); } -impl ::core::clone::Clone for SceneNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneNode { type Vtable = ISceneNode_Vtbl; } @@ -3068,6 +2783,7 @@ unsafe impl ::core::marker::Sync for SceneNode {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneNodeCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl SceneNodeCollection { @@ -3291,30 +3007,10 @@ impl SceneNodeCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for SceneNodeCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for SceneNodeCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for SceneNodeCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneNodeCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for SceneNodeCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneNodeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.Scenes.SceneNode;{acf2c247-f307-4581-9c41-af2e29c3b016})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for SceneNodeCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for SceneNodeCollection { type Vtable = super::super::super::Foundation::Collections::IVector_Vtbl; } @@ -3362,6 +3058,7 @@ unsafe impl ::core::marker::Send for SceneNodeCollection {} unsafe impl ::core::marker::Sync for SceneNodeCollection {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneObject(::windows_core::IUnknown); impl SceneObject { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3475,25 +3172,9 @@ impl SceneObject { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for SceneObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneObject {} -impl ::core::fmt::Debug for SceneObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneObject;{1e94249b-0f1b-49eb-a819-877d8450005b})"); } -impl ::core::clone::Clone for SceneObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneObject { type Vtable = ISceneObject_Vtbl; } @@ -3512,6 +3193,7 @@ unsafe impl ::core::marker::Send for SceneObject {} unsafe impl ::core::marker::Sync for SceneObject {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScenePbrMaterial(::windows_core::IUnknown); impl ScenePbrMaterial { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3737,25 +3419,9 @@ impl ScenePbrMaterial { unsafe { (::windows_core::Interface::vtable(this).SetOcclusionStrength)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ScenePbrMaterial { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScenePbrMaterial {} -impl ::core::fmt::Debug for ScenePbrMaterial { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScenePbrMaterial").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScenePbrMaterial { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.ScenePbrMaterial;{aab6ebbe-d680-46df-8294-b6800a9f95e7})"); } -impl ::core::clone::Clone for ScenePbrMaterial { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScenePbrMaterial { type Vtable = IScenePbrMaterial_Vtbl; } @@ -3776,6 +3442,7 @@ unsafe impl ::core::marker::Send for ScenePbrMaterial {} unsafe impl ::core::marker::Sync for ScenePbrMaterial {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneRendererComponent(::windows_core::IUnknown); impl SceneRendererComponent { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -3896,25 +3563,9 @@ impl SceneRendererComponent { } } } -impl ::core::cmp::PartialEq for SceneRendererComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneRendererComponent {} -impl ::core::fmt::Debug for SceneRendererComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneRendererComponent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneRendererComponent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneRendererComponent;{f1acb857-cf4f-4025-9b25-a2d1944cf507})"); } -impl ::core::clone::Clone for SceneRendererComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneRendererComponent { type Vtable = ISceneRendererComponent_Vtbl; } @@ -3935,6 +3586,7 @@ unsafe impl ::core::marker::Send for SceneRendererComponent {} unsafe impl ::core::marker::Sync for SceneRendererComponent {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneSurfaceMaterialInput(::windows_core::IUnknown); impl SceneSurfaceMaterialInput { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -4109,25 +3761,9 @@ impl SceneSurfaceMaterialInput { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneSurfaceMaterialInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneSurfaceMaterialInput {} -impl ::core::fmt::Debug for SceneSurfaceMaterialInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneSurfaceMaterialInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneSurfaceMaterialInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneSurfaceMaterialInput;{9937da5c-a9ca-4cfc-b3aa-088356518742})"); } -impl ::core::clone::Clone for SceneSurfaceMaterialInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneSurfaceMaterialInput { type Vtable = ISceneSurfaceMaterialInput_Vtbl; } @@ -4148,6 +3784,7 @@ unsafe impl ::core::marker::Send for SceneSurfaceMaterialInput {} unsafe impl ::core::marker::Sync for SceneSurfaceMaterialInput {} #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SceneVisual(::windows_core::IUnknown); impl SceneVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -4580,25 +4217,9 @@ impl SceneVisual { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SceneVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SceneVisual {} -impl ::core::fmt::Debug for SceneVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SceneVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SceneVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Scenes.SceneVisual;{8e672c1e-d734-47b1-be14-3d694ffa4301})"); } -impl ::core::clone::Clone for SceneVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SceneVisual { type Vtable = ISceneVisual_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Composition/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/impl.rs index e460128210..adeec66967 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/impl.rs @@ -17,8 +17,8 @@ impl IAnimationObject_Vtbl { PopulatePropertyInfo: PopulatePropertyInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl ICompositionAnimationBase_Vtbl { pub const fn new, Impl: ICompositionAnimationBase_Impl, const OFFSET: isize>() -> ICompositionAnimationBase_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl ICompositionSupportsSystemBackdrop_Vtbl { SetSystemBackdrop: SetSystemBackdrop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl ICompositionSurface_Vtbl { pub const fn new, Impl: ICompositionSurface_Impl, const OFFSET: isize>() -> ICompositionSurface_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl ICompositionSurfaceFacade_Vtbl { GetRealSurface: GetRealSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -123,8 +123,8 @@ impl IVisualElement_Vtbl { pub const fn new, Impl: IVisualElement_Impl, const OFFSET: isize>() -> IVisualElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -153,7 +153,7 @@ impl IVisualElement2_Vtbl { GetVisualInternal: GetVisualInternal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index 6462e57b27..c591f6189e 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -12,15 +12,11 @@ pub mod Interactions; pub mod Scenes; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAmbientLight(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAmbientLight { type Vtable = IAmbientLight_Vtbl; } -impl ::core::clone::Clone for IAmbientLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAmbientLight { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa48130a1_b7c4_46f7_b9bf_daf43a44e6ee); } @@ -33,15 +29,11 @@ pub struct IAmbientLight_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAmbientLight2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAmbientLight2 { type Vtable = IAmbientLight2_Vtbl; } -impl ::core::clone::Clone for IAmbientLight2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAmbientLight2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b64a6bf_5f97_4c94_86e5_042dd386b27d); } @@ -54,15 +46,11 @@ pub struct IAmbientLight2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationController { type Vtable = IAnimationController_Vtbl; } -impl ::core::clone::Clone for IAnimationController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc934efd2_0722_4f5f_a4e2_9510f3d43bf7); } @@ -81,15 +69,11 @@ pub struct IAnimationController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationControllerStatics { type Vtable = IAnimationControllerStatics_Vtbl; } -impl ::core::clone::Clone for IAnimationControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe71164df_651b_4800_b9e5_6a3bcfed3365); } @@ -102,6 +86,7 @@ pub struct IAnimationControllerStatics_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationObject(::windows_core::IUnknown); impl IAnimationObject { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -113,28 +98,12 @@ impl IAnimationObject { } } ::windows_core::imp::interface_hierarchy!(IAnimationObject, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAnimationObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAnimationObject {} -impl ::core::fmt::Debug for IAnimationObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnimationObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAnimationObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e7141e0a-04b8-4fc5-a4dc-195392e57807}"); } unsafe impl ::windows_core::Interface for IAnimationObject { type Vtable = IAnimationObject_Vtbl; } -impl ::core::clone::Clone for IAnimationObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7141e0a_04b8_4fc5_a4dc_195392e57807); } @@ -146,15 +115,11 @@ pub struct IAnimationObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationPropertyInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationPropertyInfo { type Vtable = IAnimationPropertyInfo_Vtbl; } -impl ::core::clone::Clone for IAnimationPropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationPropertyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4716f05_ed77_4e3c_b328_5c3985b3738f); } @@ -167,15 +132,11 @@ pub struct IAnimationPropertyInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationPropertyInfo2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationPropertyInfo2 { type Vtable = IAnimationPropertyInfo2_Vtbl; } -impl ::core::clone::Clone for IAnimationPropertyInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationPropertyInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x591720b4_7472_5218_8b39_dffe615ae6da); } @@ -188,15 +149,11 @@ pub struct IAnimationPropertyInfo2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackEasingFunction { type Vtable = IBackEasingFunction_Vtbl; } -impl ::core::clone::Clone for IBackEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8560da4_5e3c_545d_b263_7987a2bd27cb); } @@ -209,15 +166,11 @@ pub struct IBackEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBooleanKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBooleanKeyFrameAnimation { type Vtable = IBooleanKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IBooleanKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBooleanKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95e23a08_d1f4_4972_9770_3efe68d82e14); } @@ -229,15 +182,11 @@ pub struct IBooleanKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBounceEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBounceEasingFunction { type Vtable = IBounceEasingFunction_Vtbl; } -impl ::core::clone::Clone for IBounceEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBounceEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7fdb44b_aad5_5174_9421_eef8b75a6a43); } @@ -251,15 +200,11 @@ pub struct IBounceEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBounceScalarNaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBounceScalarNaturalMotionAnimation { type Vtable = IBounceScalarNaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IBounceScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBounceScalarNaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbaa30dcc_a633_4618_9b06_7f7c72c87cff); } @@ -274,15 +219,11 @@ pub struct IBounceScalarNaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBounceVector2NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBounceVector2NaturalMotionAnimation { type Vtable = IBounceVector2NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IBounceVector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBounceVector2NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda344196_2154_4b3c_88aa_47361204eccd); } @@ -297,15 +238,11 @@ pub struct IBounceVector2NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBounceVector3NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBounceVector3NaturalMotionAnimation { type Vtable = IBounceVector3NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IBounceVector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBounceVector3NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47dabc31_10d3_4518_86f1_09caf742d113); } @@ -320,15 +257,11 @@ pub struct IBounceVector3NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICircleEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICircleEasingFunction { type Vtable = ICircleEasingFunction_Vtbl; } -impl ::core::clone::Clone for ICircleEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICircleEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e07222a_6f82_5a28_8748_2e92fc46ee2b); } @@ -340,15 +273,11 @@ pub struct ICircleEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorKeyFrameAnimation { type Vtable = IColorKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IColorKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93adb5e9_8e05_4593_84a3_dca152781e56); } @@ -363,15 +292,11 @@ pub struct IColorKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimation { type Vtable = ICompositionAnimation_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x464c4c2c_1caa_4061_9b40_e13fde1503ca); } @@ -411,15 +336,11 @@ pub struct ICompositionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimation2 { type Vtable = ICompositionAnimation2_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x369b603e_a80f_4948_93e3_ed23fb38c6cb); } @@ -433,15 +354,11 @@ pub struct ICompositionAnimation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimation3 { type Vtable = ICompositionAnimation3_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd51e030d_7da4_4bd7_bc2d_f4517529f43a); } @@ -456,15 +373,11 @@ pub struct ICompositionAnimation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimation4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimation4 { type Vtable = ICompositionAnimation4_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x770137be_76bc_4e23_bfed_fe9cc20f6ec9); } @@ -476,31 +389,16 @@ pub struct ICompositionAnimation4_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimationBase(::windows_core::IUnknown); impl ICompositionAnimationBase {} ::windows_core::imp::interface_hierarchy!(ICompositionAnimationBase, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionAnimationBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionAnimationBase {} -impl ::core::fmt::Debug for ICompositionAnimationBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionAnimationBase").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICompositionAnimationBase { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1c2c2999-e818-48d3-a6dd-d78c82f8ace9}"); } unsafe impl ::windows_core::Interface for ICompositionAnimationBase { type Vtable = ICompositionAnimationBase_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimationBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimationBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c2c2999_e818_48d3_a6dd_d78c82f8ace9); } @@ -511,15 +409,11 @@ pub struct ICompositionAnimationBase_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimationFactory { type Vtable = ICompositionAnimationFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10f6c4fb_6e51_4c25_bbd3_586a9bec3ef4); } @@ -530,15 +424,11 @@ pub struct ICompositionAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionAnimationGroup(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionAnimationGroup { type Vtable = ICompositionAnimationGroup_Vtbl; } -impl ::core::clone::Clone for ICompositionAnimationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionAnimationGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e7cc90c_cd14_4e07_8a55_c72527aabdac); } @@ -553,15 +443,11 @@ pub struct ICompositionAnimationGroup_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionBackdropBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionBackdropBrush { type Vtable = ICompositionBackdropBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionBackdropBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionBackdropBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5acae58_3898_499e_8d7f_224e91286a5d); } @@ -572,15 +458,11 @@ pub struct ICompositionBackdropBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionBatchCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionBatchCompletedEventArgs { type Vtable = ICompositionBatchCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICompositionBatchCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionBatchCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d00dad0_9464_450a_a562_2e2698b0a812); } @@ -591,15 +473,11 @@ pub struct ICompositionBatchCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionBrush { type Vtable = ICompositionBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab0d7608_30c0_40e9_b568_b60a6bd1fb46); } @@ -610,15 +488,11 @@ pub struct ICompositionBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionBrushFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionBrushFactory { type Vtable = ICompositionBrushFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionBrushFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionBrushFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda53fb4c_4650_47c4_ad76_765379607ed6); } @@ -629,15 +503,11 @@ pub struct ICompositionBrushFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionCapabilities(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionCapabilities { type Vtable = ICompositionCapabilities_Vtbl; } -impl ::core::clone::Clone for ICompositionCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8253353e_b517_48bc_b1e8_4b3561a2e181); } @@ -658,15 +528,11 @@ pub struct ICompositionCapabilities_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionCapabilitiesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionCapabilitiesStatics { type Vtable = ICompositionCapabilitiesStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionCapabilitiesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionCapabilitiesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7b7a86e_6416_49e5_8ddf_afe949e20562); } @@ -678,15 +544,11 @@ pub struct ICompositionCapabilitiesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionClip(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionClip { type Vtable = ICompositionClip_Vtbl; } -impl ::core::clone::Clone for ICompositionClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ccd2a52_cfc7_4ace_9983_146bb8eb6a3c); } @@ -697,15 +559,11 @@ pub struct ICompositionClip_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionClip2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionClip2 { type Vtable = ICompositionClip2_Vtbl; } -impl ::core::clone::Clone for ICompositionClip2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionClip2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5893e069_3516_40e1_89e0_5ba924927235); } @@ -760,15 +618,11 @@ pub struct ICompositionClip2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionClipFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionClipFactory { type Vtable = ICompositionClipFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionClipFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionClipFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9484caf_20c7_4aed_ac4a_9c78ba1302cf); } @@ -779,15 +633,11 @@ pub struct ICompositionClipFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionColorBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionColorBrush { type Vtable = ICompositionColorBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionColorBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionColorBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b264c5e_bf35_4831_8642_cf70c20fff2f); } @@ -800,15 +650,11 @@ pub struct ICompositionColorBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionColorGradientStop(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionColorGradientStop { type Vtable = ICompositionColorGradientStop_Vtbl; } -impl ::core::clone::Clone for ICompositionColorGradientStop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionColorGradientStop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f00ca92_c801_4e41_9a8f_a53e20f57778); } @@ -823,15 +669,11 @@ pub struct ICompositionColorGradientStop_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionColorGradientStopCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionColorGradientStopCollection { type Vtable = ICompositionColorGradientStopCollection_Vtbl; } -impl ::core::clone::Clone for ICompositionColorGradientStopCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionColorGradientStopCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f1d20ec_7b04_4b1d_90bc_9fa32c0cfd26); } @@ -842,15 +684,11 @@ pub struct ICompositionColorGradientStopCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionCommitBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionCommitBatch { type Vtable = ICompositionCommitBatch_Vtbl; } -impl ::core::clone::Clone for ICompositionCommitBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionCommitBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d00dad0_ca07_4400_8c8e_cb5db08559cc); } @@ -871,15 +709,11 @@ pub struct ICompositionCommitBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionContainerShape(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionContainerShape { type Vtable = ICompositionContainerShape_Vtbl; } -impl ::core::clone::Clone for ICompositionContainerShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionContainerShape { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f5e859b_2e5b_44a8_982c_aa0f69c16059); } @@ -894,15 +728,11 @@ pub struct ICompositionContainerShape_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDrawingSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDrawingSurface { type Vtable = ICompositionDrawingSurface_Vtbl; } -impl ::core::clone::Clone for ICompositionDrawingSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDrawingSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa166c300_fad0_4d11_9e67_e433162ff49e); } @@ -925,15 +755,11 @@ pub struct ICompositionDrawingSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDrawingSurface2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDrawingSurface2 { type Vtable = ICompositionDrawingSurface2_Vtbl; } -impl ::core::clone::Clone for ICompositionDrawingSurface2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDrawingSurface2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfad0e88b_e354_44e8_8e3d_c4880d5a213f); } @@ -968,15 +794,11 @@ pub struct ICompositionDrawingSurface2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDrawingSurfaceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionDrawingSurfaceFactory { type Vtable = ICompositionDrawingSurfaceFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionDrawingSurfaceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDrawingSurfaceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9497b00a_312d_46b9_9db3_412fd79464c8); } @@ -987,15 +809,11 @@ pub struct ICompositionDrawingSurfaceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEasingFunction { type Vtable = ICompositionEasingFunction_Vtbl; } -impl ::core::clone::Clone for ICompositionEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5145e356_bf79_4ea8_8cc2_6b5b472e6c9a); } @@ -1006,15 +824,11 @@ pub struct ICompositionEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEasingFunctionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEasingFunctionFactory { type Vtable = ICompositionEasingFunctionFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionEasingFunctionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEasingFunctionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60840774_3da0_4949_8200_7206c00190a0); } @@ -1025,15 +839,11 @@ pub struct ICompositionEasingFunctionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEasingFunctionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEasingFunctionStatics { type Vtable = ICompositionEasingFunctionStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionEasingFunctionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEasingFunctionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17a766b6_2936_53ea_b5af_c642f4a61083); } @@ -1058,15 +868,11 @@ pub struct ICompositionEasingFunctionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEffectBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEffectBrush { type Vtable = ICompositionEffectBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionEffectBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEffectBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf7f795e_83cc_44bf_a447_3e3c071789ec); } @@ -1079,15 +885,11 @@ pub struct ICompositionEffectBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEffectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEffectFactory { type Vtable = ICompositionEffectFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe5624af_ba7e_4510_9850_41c0b4ff74df); } @@ -1101,15 +903,11 @@ pub struct ICompositionEffectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEffectSourceParameter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEffectSourceParameter { type Vtable = ICompositionEffectSourceParameter_Vtbl; } -impl ::core::clone::Clone for ICompositionEffectSourceParameter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEffectSourceParameter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x858ab13a_3292_4e4e_b3bb_2b6c6544a6ee); } @@ -1121,15 +919,11 @@ pub struct ICompositionEffectSourceParameter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEffectSourceParameterFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEffectSourceParameterFactory { type Vtable = ICompositionEffectSourceParameterFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionEffectSourceParameterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEffectSourceParameterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3d9f276_aba3_4724_acf3_d0397464db1c); } @@ -1141,15 +935,11 @@ pub struct ICompositionEffectSourceParameterFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionEllipseGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionEllipseGeometry { type Vtable = ICompositionEllipseGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionEllipseGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionEllipseGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4801f884_f6ad_4b93_afa9_897b64e57b1f); } @@ -1176,15 +966,11 @@ pub struct ICompositionEllipseGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGeometricClip(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGeometricClip { type Vtable = ICompositionGeometricClip_Vtbl; } -impl ::core::clone::Clone for ICompositionGeometricClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGeometricClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc840b581_81c9_4444_a2c1_ccaece3a50e5); } @@ -1199,15 +985,11 @@ pub struct ICompositionGeometricClip_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGeometry { type Vtable = ICompositionGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe985217c_6a17_4207_abd8_5fd3dd612a9d); } @@ -1224,15 +1006,11 @@ pub struct ICompositionGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGeometryFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGeometryFactory { type Vtable = ICompositionGeometryFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionGeometryFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGeometryFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbffebfe1_8c25_480b_9f56_fed6b288055d); } @@ -1243,15 +1021,11 @@ pub struct ICompositionGeometryFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGradientBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGradientBrush { type Vtable = ICompositionGradientBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d9709e0_ffc6_4c0e_a9ab_34144d4c9098); } @@ -1311,15 +1085,11 @@ pub struct ICompositionGradientBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGradientBrush2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGradientBrush2 { type Vtable = ICompositionGradientBrush2_Vtbl; } -impl ::core::clone::Clone for ICompositionGradientBrush2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGradientBrush2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x899dd5a1_b4c7_4b33_a1b6_264addc26d10); } @@ -1332,15 +1102,11 @@ pub struct ICompositionGradientBrush2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGradientBrushFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGradientBrushFactory { type Vtable = ICompositionGradientBrushFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionGradientBrushFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGradientBrushFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56d765d7_f189_48c9_9c8d_94daf1bec010); } @@ -1351,15 +1117,11 @@ pub struct ICompositionGradientBrushFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGraphicsDevice(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGraphicsDevice { type Vtable = ICompositionGraphicsDevice_Vtbl; } -impl ::core::clone::Clone for ICompositionGraphicsDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGraphicsDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb22c6e1_80a2_4667_9936_dbeaf6eefe95); } @@ -1382,15 +1144,11 @@ pub struct ICompositionGraphicsDevice_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGraphicsDevice2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGraphicsDevice2 { type Vtable = ICompositionGraphicsDevice2_Vtbl; } -impl ::core::clone::Clone for ICompositionGraphicsDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGraphicsDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fb8bdf6_c0f0_4bcc_9fb8_084982490d7d); } @@ -1409,15 +1167,11 @@ pub struct ICompositionGraphicsDevice2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGraphicsDevice3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGraphicsDevice3 { type Vtable = ICompositionGraphicsDevice3_Vtbl; } -impl ::core::clone::Clone for ICompositionGraphicsDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGraphicsDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37f67514_d3ef_49d1_b69d_0d8eabeb3626); } @@ -1433,15 +1187,11 @@ pub struct ICompositionGraphicsDevice3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGraphicsDevice4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionGraphicsDevice4 { type Vtable = ICompositionGraphicsDevice4_Vtbl; } -impl ::core::clone::Clone for ICompositionGraphicsDevice4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGraphicsDevice4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a73bff9_a97f_4cf5_ba46_98ef358e71b1); } @@ -1456,15 +1206,11 @@ pub struct ICompositionGraphicsDevice4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLight(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLight { type Vtable = ICompositionLight_Vtbl; } -impl ::core::clone::Clone for ICompositionLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLight { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41a6d7c2_2e5d_4bc1_b09e_8f0a03e3d8d3); } @@ -1476,15 +1222,11 @@ pub struct ICompositionLight_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLight2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLight2 { type Vtable = ICompositionLight2_Vtbl; } -impl ::core::clone::Clone for ICompositionLight2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLight2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7bcda72_f35d_425d_9b98_23f4205f6669); } @@ -1496,15 +1238,11 @@ pub struct ICompositionLight2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLight3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLight3 { type Vtable = ICompositionLight3_Vtbl; } -impl ::core::clone::Clone for ICompositionLight3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLight3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b0b00e4_df07_4959_b7a4_4f7e4233f838); } @@ -1517,15 +1255,11 @@ pub struct ICompositionLight3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLightFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLightFactory { type Vtable = ICompositionLightFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionLightFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLightFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x069cf306_da3c_4b44_838a_5e03d51ace55); } @@ -1536,15 +1270,11 @@ pub struct ICompositionLightFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLineGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLineGeometry { type Vtable = ICompositionLineGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionLineGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLineGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd7615a4_0c9a_4b67_8dce_440a5bf9cdec); } @@ -1571,15 +1301,11 @@ pub struct ICompositionLineGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionLinearGradientBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionLinearGradientBrush { type Vtable = ICompositionLinearGradientBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionLinearGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionLinearGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x983bc519_a9db_413c_a2d8_2a9056fc525e); } @@ -1606,15 +1332,11 @@ pub struct ICompositionLinearGradientBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionMaskBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionMaskBrush { type Vtable = ICompositionMaskBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionMaskBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionMaskBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x522cf09e_be6b_4f41_be49_f9226d471b4a); } @@ -1629,15 +1351,11 @@ pub struct ICompositionMaskBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionMipmapSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionMipmapSurface { type Vtable = ICompositionMipmapSurface_Vtbl; } -impl ::core::clone::Clone for ICompositionMipmapSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionMipmapSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4863675c_cf4a_4b1c_9ece_c5ec0c2b2fe6); } @@ -1662,15 +1380,11 @@ pub struct ICompositionMipmapSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionNineGridBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionNineGridBrush { type Vtable = ICompositionNineGridBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionNineGridBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionNineGridBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf25154e4_bc8c_4be7_b80f_8685b83c0186); } @@ -1705,15 +1419,11 @@ pub struct ICompositionNineGridBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObject { type Vtable = ICompositionObject_Vtbl; } -impl ::core::clone::Clone for ICompositionObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcb4ad45_7609_4550_934f_16002a68fded); } @@ -1732,15 +1442,11 @@ pub struct ICompositionObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObject2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObject2 { type Vtable = ICompositionObject2_Vtbl; } -impl ::core::clone::Clone for ICompositionObject2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObject2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef874ea1_5cff_4b68_9e30_a1519d08ba03); } @@ -1757,15 +1463,11 @@ pub struct ICompositionObject2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObject3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObject3 { type Vtable = ICompositionObject3_Vtbl; } -impl ::core::clone::Clone for ICompositionObject3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObject3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bc27925_dacd_4cf2_98b1_986b76e7ebe6); } @@ -1780,15 +1482,11 @@ pub struct ICompositionObject3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObject4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObject4 { type Vtable = ICompositionObject4_Vtbl; } -impl ::core::clone::Clone for ICompositionObject4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObject4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bb3784c_346b_4a7c_966b_7310966553d5); } @@ -1800,15 +1498,11 @@ pub struct ICompositionObject4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObject5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObject5 { type Vtable = ICompositionObject5_Vtbl; } -impl ::core::clone::Clone for ICompositionObject5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObject5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d7f391b_a130_5265_a62b_60b8e668965a); } @@ -1820,15 +1514,11 @@ pub struct ICompositionObject5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObjectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObjectFactory { type Vtable = ICompositionObjectFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51205c5e_558a_4f2a_8d39_37bfe1e20ddd); } @@ -1839,15 +1529,11 @@ pub struct ICompositionObjectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionObjectStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionObjectStatics { type Vtable = ICompositionObjectStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionObjectStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionObjectStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1ed052f_1ba2_44ba_a904_6a882a0a5adb); } @@ -1860,15 +1546,11 @@ pub struct ICompositionObjectStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionPath(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionPath { type Vtable = ICompositionPath_Vtbl; } -impl ::core::clone::Clone for ICompositionPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66da1d5f_2e10_4f22_8a06_0a8151919e60); } @@ -1879,15 +1561,11 @@ pub struct ICompositionPath_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionPathFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionPathFactory { type Vtable = ICompositionPathFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionPathFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionPathFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c1e8c6a_0f33_4751_9437_eb3fb9d3ab07); } @@ -1902,15 +1580,11 @@ pub struct ICompositionPathFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionPathGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionPathGeometry { type Vtable = ICompositionPathGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionPathGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionPathGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b6a417e_2c77_4c23_af5e_6304c147bb61); } @@ -1923,15 +1597,11 @@ pub struct ICompositionPathGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadow { type Vtable = ICompositionProjectedShadow_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x285b8e72_4328_523f_bcf2_5557c52c3b25); } @@ -1952,15 +1622,11 @@ pub struct ICompositionProjectedShadow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadowCaster(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadowCaster { type Vtable = ICompositionProjectedShadowCaster_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadowCaster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadowCaster { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1d7d426_1e36_5a62_be56_a16112fdd148); } @@ -1975,15 +1641,11 @@ pub struct ICompositionProjectedShadowCaster_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadowCasterCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadowCasterCollection { type Vtable = ICompositionProjectedShadowCasterCollection_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadowCasterCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadowCasterCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2525c0c_e07f_58a3_ac91_37f73ee91740); } @@ -2001,15 +1663,11 @@ pub struct ICompositionProjectedShadowCasterCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadowCasterCollectionStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadowCasterCollectionStatics { type Vtable = ICompositionProjectedShadowCasterCollectionStatics_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadowCasterCollectionStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadowCasterCollectionStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56fbb136_e94f_5299_ab5b_6e15e38bd899); } @@ -2021,15 +1679,11 @@ pub struct ICompositionProjectedShadowCasterCollectionStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadowReceiver(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadowReceiver { type Vtable = ICompositionProjectedShadowReceiver_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadowReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadowReceiver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1377985a_6a49_536a_9be4_a96a8e5298a9); } @@ -2042,15 +1696,11 @@ pub struct ICompositionProjectedShadowReceiver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionProjectedShadowReceiverUnorderedCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionProjectedShadowReceiverUnorderedCollection { type Vtable = ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl; } -impl ::core::clone::Clone for ICompositionProjectedShadowReceiverUnorderedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionProjectedShadowReceiverUnorderedCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02b3e3b7_27d2_599f_ac4b_ab787cdde6fd); } @@ -2065,15 +1715,11 @@ pub struct ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionPropertySet(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionPropertySet { type Vtable = ICompositionPropertySet_Vtbl; } -impl ::core::clone::Clone for ICompositionPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9d6d202_5f67_4453_9117_9eadd430d3c2); } @@ -2136,15 +1782,11 @@ pub struct ICompositionPropertySet_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionPropertySet2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionPropertySet2 { type Vtable = ICompositionPropertySet2_Vtbl; } -impl ::core::clone::Clone for ICompositionPropertySet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionPropertySet2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde80731e_a211_4455_8880_7d0f3f6a44fd); } @@ -2157,14 +1799,10 @@ pub struct ICompositionPropertySet2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionRadialGradientBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionRadialGradientBrush { - type Vtable = ICompositionRadialGradientBrush_Vtbl; -} -impl ::core::clone::Clone for ICompositionRadialGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } + type Vtable = ICompositionRadialGradientBrush_Vtbl; } unsafe impl ::windows_core::ComInterface for ICompositionRadialGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d3b50c5_e3fa_4ce2_b9fc_3ee12561788f); @@ -2200,15 +1838,11 @@ pub struct ICompositionRadialGradientBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionRectangleGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionRectangleGeometry { type Vtable = ICompositionRectangleGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionRectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionRectangleGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cd51428_5356_4246_aecf_7a0b76975400); } @@ -2235,15 +1869,11 @@ pub struct ICompositionRectangleGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionRoundedRectangleGeometry(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionRoundedRectangleGeometry { type Vtable = ICompositionRoundedRectangleGeometry_Vtbl; } -impl ::core::clone::Clone for ICompositionRoundedRectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionRoundedRectangleGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8770c822_1d50_4b8b_b013_7c9a0e46935f); } @@ -2278,15 +1908,11 @@ pub struct ICompositionRoundedRectangleGeometry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionScopedBatch(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionScopedBatch { type Vtable = ICompositionScopedBatch_Vtbl; } -impl ::core::clone::Clone for ICompositionScopedBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionScopedBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d00dad0_fb07_46fd_8c72_6280d1a3d1dd); } @@ -2310,15 +1936,11 @@ pub struct ICompositionScopedBatch_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionShadow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionShadow { type Vtable = ICompositionShadow_Vtbl; } -impl ::core::clone::Clone for ICompositionShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionShadow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x329e52e2_4335_49cc_b14a_37782d10f0c4); } @@ -2329,15 +1951,11 @@ pub struct ICompositionShadow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionShadowFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionShadowFactory { type Vtable = ICompositionShadowFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionShadowFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionShadowFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x221f492f_dcba_4b91_999e_1dc217a01530); } @@ -2348,15 +1966,11 @@ pub struct ICompositionShadowFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionShape(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionShape { type Vtable = ICompositionShape_Vtbl; } -impl ::core::clone::Clone for ICompositionShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionShape { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb47ce2f7_9a88_42c4_9e87_2e500ca8688c); } @@ -2403,15 +2017,11 @@ pub struct ICompositionShape_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionShapeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionShapeFactory { type Vtable = ICompositionShapeFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionShapeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionShapeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dfc36d0_b05a_44ef_82b0_12118bcd4cd0); } @@ -2422,15 +2032,11 @@ pub struct ICompositionShapeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSpriteShape(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionSpriteShape { type Vtable = ICompositionSpriteShape_Vtbl; } -impl ::core::clone::Clone for ICompositionSpriteShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSpriteShape { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x401b61bb_0007_4363_b1f3_6bcc003fb83e); } @@ -2467,6 +2073,7 @@ pub struct ICompositionSpriteShape_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSupportsSystemBackdrop(::windows_core::IUnknown); impl ICompositionSupportsSystemBackdrop { pub fn SystemBackdrop(&self) -> ::windows_core::Result { @@ -2485,28 +2092,12 @@ impl ICompositionSupportsSystemBackdrop { } } ::windows_core::imp::interface_hierarchy!(ICompositionSupportsSystemBackdrop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionSupportsSystemBackdrop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionSupportsSystemBackdrop {} -impl ::core::fmt::Debug for ICompositionSupportsSystemBackdrop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionSupportsSystemBackdrop").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICompositionSupportsSystemBackdrop { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{397dafe4-b6c2-5bb9-951d-f5707de8b7bc}"); } unsafe impl ::windows_core::Interface for ICompositionSupportsSystemBackdrop { type Vtable = ICompositionSupportsSystemBackdrop_Vtbl; } -impl ::core::clone::Clone for ICompositionSupportsSystemBackdrop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSupportsSystemBackdrop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x397dafe4_b6c2_5bb9_951d_f5707de8b7bc); } @@ -2519,31 +2110,16 @@ pub struct ICompositionSupportsSystemBackdrop_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSurface(::windows_core::IUnknown); impl ICompositionSurface {} ::windows_core::imp::interface_hierarchy!(ICompositionSurface, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionSurface {} -impl ::core::fmt::Debug for ICompositionSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICompositionSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{1527540d-42c7-47a6-a408-668f79a90dfb}"); } unsafe impl ::windows_core::Interface for ICompositionSurface { type Vtable = ICompositionSurface_Vtbl; } -impl ::core::clone::Clone for ICompositionSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1527540d_42c7_47a6_a408_668f79a90dfb); } @@ -2554,15 +2130,11 @@ pub struct ICompositionSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSurfaceBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionSurfaceBrush { type Vtable = ICompositionSurfaceBrush_Vtbl; } -impl ::core::clone::Clone for ICompositionSurfaceBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSurfaceBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad016d79_1e4c_4c0d_9c29_83338c87c162); } @@ -2583,15 +2155,11 @@ pub struct ICompositionSurfaceBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSurfaceBrush2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionSurfaceBrush2 { type Vtable = ICompositionSurfaceBrush2_Vtbl; } -impl ::core::clone::Clone for ICompositionSurfaceBrush2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSurfaceBrush2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd27174d5_64f5_4692_9dc7_71b61d7e5880); } @@ -2646,15 +2214,11 @@ pub struct ICompositionSurfaceBrush2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSurfaceBrush3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionSurfaceBrush3 { type Vtable = ICompositionSurfaceBrush3_Vtbl; } -impl ::core::clone::Clone for ICompositionSurfaceBrush3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSurfaceBrush3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x550bb289_1fe0_42e5_8195_1eefa87ff08e); } @@ -2667,6 +2231,7 @@ pub struct ICompositionSurfaceBrush3_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionSurfaceFacade(::windows_core::IUnknown); impl ICompositionSurfaceFacade { pub fn GetRealSurface(&self) -> ::windows_core::Result { @@ -2678,28 +2243,12 @@ impl ICompositionSurfaceFacade { } } ::windows_core::imp::interface_hierarchy!(ICompositionSurfaceFacade, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionSurfaceFacade { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionSurfaceFacade {} -impl ::core::fmt::Debug for ICompositionSurfaceFacade { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionSurfaceFacade").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICompositionSurfaceFacade { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{e01622c8-2332-55c7-8868-a7312c5c229d}"); } unsafe impl ::windows_core::Interface for ICompositionSurfaceFacade { type Vtable = ICompositionSurfaceFacade_Vtbl; } -impl ::core::clone::Clone for ICompositionSurfaceFacade { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionSurfaceFacade { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe01622c8_2332_55c7_8868_a7312c5c229d); } @@ -2711,15 +2260,11 @@ pub struct ICompositionSurfaceFacade_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionTarget(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionTarget { type Vtable = ICompositionTarget_Vtbl; } -impl ::core::clone::Clone for ICompositionTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1bea8ba_d726_4663_8129_6b5e7927ffa6); } @@ -2732,15 +2277,11 @@ pub struct ICompositionTarget_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionTargetFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionTargetFactory { type Vtable = ICompositionTargetFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionTargetFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionTargetFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93cd9d2b_8516_4b14_a8ce_f49e2119ec42); } @@ -2751,15 +2292,11 @@ pub struct ICompositionTargetFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionTransform(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionTransform { type Vtable = ICompositionTransform_Vtbl; } -impl ::core::clone::Clone for ICompositionTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cd54529_fbed_4112_abc5_185906dd927c); } @@ -2770,15 +2307,11 @@ pub struct ICompositionTransform_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionTransformFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionTransformFactory { type Vtable = ICompositionTransformFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionTransformFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionTransformFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaaeca26_c149_517a_8f72_6bff7a65ce08); } @@ -2789,15 +2322,11 @@ pub struct ICompositionTransformFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionViewBox(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionViewBox { type Vtable = ICompositionViewBox_Vtbl; } -impl ::core::clone::Clone for ICompositionViewBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionViewBox { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb440bf07_068f_4537_84c6_4ecbe019e1f4); } @@ -2830,15 +2359,11 @@ pub struct ICompositionViewBox_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionVirtualDrawingSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionVirtualDrawingSurface { type Vtable = ICompositionVirtualDrawingSurface_Vtbl; } -impl ::core::clone::Clone for ICompositionVirtualDrawingSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionVirtualDrawingSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9c384db_8740_4f94_8b9d_b68521e7863d); } @@ -2853,15 +2378,11 @@ pub struct ICompositionVirtualDrawingSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionVirtualDrawingSurfaceFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionVirtualDrawingSurfaceFactory { type Vtable = ICompositionVirtualDrawingSurfaceFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionVirtualDrawingSurfaceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionVirtualDrawingSurfaceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6766106c_d56b_4a49_b1df_5076a0620768); } @@ -2872,15 +2393,11 @@ pub struct ICompositionVirtualDrawingSurfaceFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionVisualSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositionVisualSurface { type Vtable = ICompositionVisualSurface_Vtbl; } -impl ::core::clone::Clone for ICompositionVisualSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionVisualSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb224d803_4f6e_4a3f_8cae_3dc1cda74fc6); } @@ -2909,15 +2426,11 @@ pub struct ICompositionVisualSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor { type Vtable = ICompositor_Vtbl; } -impl ::core::clone::Clone for ICompositor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb403ca50_7f8c_4e83_985f_cc45060036d8); } @@ -2961,15 +2474,11 @@ pub struct ICompositor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor2 { type Vtable = ICompositor2_Vtbl; } -impl ::core::clone::Clone for ICompositor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x735081dc_5e24_45da_a38f_e32cc349a9a0); } @@ -2993,15 +2502,11 @@ pub struct ICompositor2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor3 { type Vtable = ICompositor3_Vtbl; } -impl ::core::clone::Clone for ICompositor3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9dd8ef0_6eb1_4e3c_a658_675d9c64d4ab); } @@ -3013,15 +2518,11 @@ pub struct ICompositor3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor4 { type Vtable = ICompositor4_Vtbl; } -impl ::core::clone::Clone for ICompositor4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae47e78a_7910_4425_a482_a05b758adce9); } @@ -3038,15 +2539,11 @@ pub struct ICompositor4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor5 { type Vtable = ICompositor5_Vtbl; } -impl ::core::clone::Clone for ICompositor5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48ea31ad_7fcd_4076_a79c_90cc4b852c9b); } @@ -3080,15 +2577,11 @@ pub struct ICompositor5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor6 { type Vtable = ICompositor6_Vtbl; } -impl ::core::clone::Clone for ICompositor6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a38b2bd_cec8_4eeb_830f_d8d07aedebc3); } @@ -3104,15 +2597,11 @@ pub struct ICompositor6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor7 { type Vtable = ICompositor7_Vtbl; } -impl ::core::clone::Clone for ICompositor7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3483fad_9a12_53ba_bfc8_88b7ff7977c6); } @@ -3134,15 +2623,11 @@ pub struct ICompositor7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositor8(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositor8 { type Vtable = ICompositor8_Vtbl; } -impl ::core::clone::Clone for ICompositor8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositor8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a0bdee2_fe7b_5f62_a366_9cf8effe2112); } @@ -3154,15 +2639,11 @@ pub struct ICompositor8_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorStatics { type Vtable = ICompositorStatics_Vtbl; } -impl ::core::clone::Clone for ICompositorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x080db93e_121e_4d97_8b74_1dfcf91987ea); } @@ -3175,15 +2656,11 @@ pub struct ICompositorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorWithBlurredWallpaperBackdropBrush(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorWithBlurredWallpaperBackdropBrush { type Vtable = ICompositorWithBlurredWallpaperBackdropBrush_Vtbl; } -impl ::core::clone::Clone for ICompositorWithBlurredWallpaperBackdropBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorWithBlurredWallpaperBackdropBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d8fb190_f122_5b8d_9fdd_543b0d8eb7f3); } @@ -3195,15 +2672,11 @@ pub struct ICompositorWithBlurredWallpaperBackdropBrush_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorWithProjectedShadow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorWithProjectedShadow { type Vtable = ICompositorWithProjectedShadow_Vtbl; } -impl ::core::clone::Clone for ICompositorWithProjectedShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorWithProjectedShadow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2e6330e_8a60_5a38_bb85_b44ea901677c); } @@ -3217,15 +2690,11 @@ pub struct ICompositorWithProjectedShadow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorWithRadialGradient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorWithRadialGradient { type Vtable = ICompositorWithRadialGradient_Vtbl; } -impl ::core::clone::Clone for ICompositorWithRadialGradient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorWithRadialGradient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98b9c1a7_8e71_4b53_b4a8_69ba5d19dc5b); } @@ -3237,15 +2706,11 @@ pub struct ICompositorWithRadialGradient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorWithVisualSurface(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompositorWithVisualSurface { type Vtable = ICompositorWithVisualSurface_Vtbl; } -impl ::core::clone::Clone for ICompositorWithVisualSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorWithVisualSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa1658b_0123_4551_8891_89bdcc40322b); } @@ -3257,15 +2722,11 @@ pub struct ICompositorWithVisualSurface_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContainerVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContainerVisual { type Vtable = IContainerVisual_Vtbl; } -impl ::core::clone::Clone for IContainerVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContainerVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02f6bc74_ed20_4773_afe6_d49b4a93db32); } @@ -3277,15 +2738,11 @@ pub struct IContainerVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContainerVisualFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContainerVisualFactory { type Vtable = IContainerVisualFactory_Vtbl; } -impl ::core::clone::Clone for IContainerVisualFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContainerVisualFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0363a65b_c7da_4d9a_95f4_69b5c8df670b); } @@ -3296,15 +2753,11 @@ pub struct IContainerVisualFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICubicBezierEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICubicBezierEasingFunction { type Vtable = ICubicBezierEasingFunction_Vtbl; } -impl ::core::clone::Clone for ICubicBezierEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICubicBezierEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32350666_c1e8_44f9_96b8_c98acf0ae698); } @@ -3323,15 +2776,11 @@ pub struct ICubicBezierEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDelegatedInkTrailVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDelegatedInkTrailVisual { type Vtable = IDelegatedInkTrailVisual_Vtbl; } -impl ::core::clone::Clone for IDelegatedInkTrailVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDelegatedInkTrailVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x856e60b1_e1ab_5b23_8e3d_d513f221c998); } @@ -3352,15 +2801,11 @@ pub struct IDelegatedInkTrailVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDelegatedInkTrailVisualStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDelegatedInkTrailVisualStatics { type Vtable = IDelegatedInkTrailVisualStatics_Vtbl; } -impl ::core::clone::Clone for IDelegatedInkTrailVisualStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDelegatedInkTrailVisualStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0daf6bd5_42c6_555c_9267_e0ac663af836); } @@ -3373,15 +2818,11 @@ pub struct IDelegatedInkTrailVisualStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDistantLight(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDistantLight { type Vtable = IDistantLight_Vtbl; } -impl ::core::clone::Clone for IDistantLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDistantLight { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x318cfafc_5ce3_4b55_ab5d_07a00353ac99); } @@ -3404,15 +2845,11 @@ pub struct IDistantLight_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDistantLight2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDistantLight2 { type Vtable = IDistantLight2_Vtbl; } -impl ::core::clone::Clone for IDistantLight2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDistantLight2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbcdaa1c_294b_48d7_b60e_76df64aa392b); } @@ -3425,15 +2862,11 @@ pub struct IDistantLight2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropShadow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDropShadow { type Vtable = IDropShadow_Vtbl; } -impl ::core::clone::Clone for IDropShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropShadow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb977c07_a154_4851_85e7_a8924c84fad8); } @@ -3460,15 +2893,11 @@ pub struct IDropShadow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropShadow2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDropShadow2 { type Vtable = IDropShadow2_Vtbl; } -impl ::core::clone::Clone for IDropShadow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropShadow2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c4218bc_15b9_4c2d_8d4a_0767df11977a); } @@ -3481,15 +2910,11 @@ pub struct IDropShadow2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IElasticEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IElasticEasingFunction { type Vtable = IElasticEasingFunction_Vtbl; } -impl ::core::clone::Clone for IElasticEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IElasticEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66de6285_054e_5594_8475_c22cb51f1bd5); } @@ -3503,15 +2928,11 @@ pub struct IElasticEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExponentialEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExponentialEasingFunction { type Vtable = IExponentialEasingFunction_Vtbl; } -impl ::core::clone::Clone for IExponentialEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExponentialEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f7d1a51_98d2_5638_a34a_00486554c750); } @@ -3524,15 +2945,11 @@ pub struct IExponentialEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExpressionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IExpressionAnimation { type Vtable = IExpressionAnimation_Vtbl; } -impl ::core::clone::Clone for IExpressionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExpressionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6acc5431_7d3d_4bf3_abb6_f44bdc4888c1); } @@ -3545,15 +2962,11 @@ pub struct IExpressionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImplicitAnimationCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IImplicitAnimationCollection { type Vtable = IImplicitAnimationCollection_Vtbl; } -impl ::core::clone::Clone for IImplicitAnimationCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImplicitAnimationCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0598a3ff_0a92_4c9d_a427_b25519250dbf); } @@ -3564,15 +2977,11 @@ pub struct IImplicitAnimationCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInsetClip(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInsetClip { type Vtable = IInsetClip_Vtbl; } -impl ::core::clone::Clone for IInsetClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInsetClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e73e647_84c7_477a_b474_5880e0442e15); } @@ -3591,15 +3000,11 @@ pub struct IInsetClip_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyFrameAnimation { type Vtable = IKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x126e7f22_3ae9_4540_9a8a_deae8a4a4a84); } @@ -3635,15 +3040,11 @@ pub struct IKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyFrameAnimation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyFrameAnimation2 { type Vtable = IKeyFrameAnimation2_Vtbl; } -impl ::core::clone::Clone for IKeyFrameAnimation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyFrameAnimation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4b488bb_2940_4ec0_a41a_eb6d801a2f18); } @@ -3656,15 +3057,11 @@ pub struct IKeyFrameAnimation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyFrameAnimation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyFrameAnimation3 { type Vtable = IKeyFrameAnimation3_Vtbl; } -impl ::core::clone::Clone for IKeyFrameAnimation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyFrameAnimation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x845bf0b4_d8de_462f_8753_c80d43c6ff5a); } @@ -3677,15 +3074,11 @@ pub struct IKeyFrameAnimation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyFrameAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyFrameAnimationFactory { type Vtable = IKeyFrameAnimationFactory_Vtbl; } -impl ::core::clone::Clone for IKeyFrameAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyFrameAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf0803f8_712a_4fc1_8c87_970859ed8d2e); } @@ -3696,15 +3089,11 @@ pub struct IKeyFrameAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILayerVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILayerVisual { type Vtable = ILayerVisual_Vtbl; } -impl ::core::clone::Clone for ILayerVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILayerVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf843985_0444_4887_8e83_b40b253f822c); } @@ -3717,15 +3106,11 @@ pub struct ILayerVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILayerVisual2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILayerVisual2 { type Vtable = ILayerVisual2_Vtbl; } -impl ::core::clone::Clone for ILayerVisual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILayerVisual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98f9aeeb_6f23_49f1_90b1_1f59a14fbce3); } @@ -3738,15 +3123,11 @@ pub struct ILayerVisual2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILinearEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ILinearEasingFunction { type Vtable = ILinearEasingFunction_Vtbl; } -impl ::core::clone::Clone for ILinearEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILinearEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9400975a_c7a6_46b3_acf7_1a268a0a117d); } @@ -3757,15 +3138,11 @@ pub struct ILinearEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INaturalMotionAnimation { type Vtable = INaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for INaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x438de12d_769b_4821_a949_284a6547e873); } @@ -3788,15 +3165,11 @@ pub struct INaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INaturalMotionAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INaturalMotionAnimationFactory { type Vtable = INaturalMotionAnimationFactory_Vtbl; } -impl ::core::clone::Clone for INaturalMotionAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INaturalMotionAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf53acb06_cf6a_4387_a3fe_5221f3e7e0e0); } @@ -3807,15 +3180,11 @@ pub struct INaturalMotionAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPathKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPathKeyFrameAnimation { type Vtable = IPathKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IPathKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPathKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d0d18c9_1576_4b3f_be60_1d5031f5e71b); } @@ -3828,15 +3197,11 @@ pub struct IPathKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointLight(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointLight { type Vtable = IPointLight_Vtbl; } -impl ::core::clone::Clone for IPointLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointLight { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb18545b3_0c5a_4ab0_bedc_4f3546948272); } @@ -3865,15 +3230,11 @@ pub struct IPointLight_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointLight2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointLight2 { type Vtable = IPointLight2_Vtbl; } -impl ::core::clone::Clone for IPointLight2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointLight2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefe98f2c_0678_4f69_b164_a810d995bcb7); } @@ -3886,15 +3247,11 @@ pub struct IPointLight2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointLight3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointLight3 { type Vtable = IPointLight3_Vtbl; } -impl ::core::clone::Clone for IPointLight3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointLight3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c0a8367_d4e9_468a_87ae_7ba43ab29485); } @@ -3909,15 +3266,11 @@ pub struct IPointLight3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPowerEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPowerEasingFunction { type Vtable = IPowerEasingFunction_Vtbl; } -impl ::core::clone::Clone for IPowerEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPowerEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3ff53d6_138b_5815_891a_b7f615ccc563); } @@ -3930,15 +3283,11 @@ pub struct IPowerEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQuaternionKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQuaternionKeyFrameAnimation { type Vtable = IQuaternionKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IQuaternionKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQuaternionKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x404e5835_ecf6_4240_8520_671279cf36bc); } @@ -3957,15 +3306,11 @@ pub struct IQuaternionKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRectangleClip(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRectangleClip { type Vtable = IRectangleClip_Vtbl; } -impl ::core::clone::Clone for IRectangleClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRectangleClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3e7549e_00b4_5b53_8be8_353f6c433101); } @@ -4016,15 +3361,11 @@ pub struct IRectangleClip_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRedirectVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRedirectVisual { type Vtable = IRedirectVisual_Vtbl; } -impl ::core::clone::Clone for IRedirectVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRedirectVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc6e340_8b75_5422_b06f_09ffe9f8617e); } @@ -4037,15 +3378,11 @@ pub struct IRedirectVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRenderingDeviceReplacedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRenderingDeviceReplacedEventArgs { type Vtable = IRenderingDeviceReplacedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRenderingDeviceReplacedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRenderingDeviceReplacedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a31ac7d_28bf_4e7a_8524_71679d480f38); } @@ -4057,15 +3394,11 @@ pub struct IRenderingDeviceReplacedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScalarKeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScalarKeyFrameAnimation { type Vtable = IScalarKeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IScalarKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScalarKeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae288fa9_252c_4b95_a725_bf85e38000a1); } @@ -4078,15 +3411,11 @@ pub struct IScalarKeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScalarNaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScalarNaturalMotionAnimation { type Vtable = IScalarNaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScalarNaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94a94581_bf92_495b_b5bd_d2c659430737); } @@ -4115,15 +3444,11 @@ pub struct IScalarNaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScalarNaturalMotionAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScalarNaturalMotionAnimationFactory { type Vtable = IScalarNaturalMotionAnimationFactory_Vtbl; } -impl ::core::clone::Clone for IScalarNaturalMotionAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScalarNaturalMotionAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x835aa4fc_671c_41dd_af48_ae8def8b1529); } @@ -4134,15 +3459,11 @@ pub struct IScalarNaturalMotionAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShapeVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShapeVisual { type Vtable = IShapeVisual_Vtbl; } -impl ::core::clone::Clone for IShapeVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShapeVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2bd13c3_ba7e_4b0f_9126_ffb7536b8176); } @@ -4159,15 +3480,11 @@ pub struct IShapeVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISineEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISineEasingFunction { type Vtable = ISineEasingFunction_Vtbl; } -impl ::core::clone::Clone for ISineEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISineEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1b518bf_9563_5474_bd13_44b2df4b1d58); } @@ -4179,15 +3496,11 @@ pub struct ISineEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpotLight(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpotLight { type Vtable = ISpotLight_Vtbl; } -impl ::core::clone::Clone for ISpotLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpotLight { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a9fe273_44a1_4f95_a422_8fa5116bdb44); } @@ -4234,15 +3547,11 @@ pub struct ISpotLight_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpotLight2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpotLight2 { type Vtable = ISpotLight2_Vtbl; } -impl ::core::clone::Clone for ISpotLight2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpotLight2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64ee615e_0686_4dea_a9e8_bc3a8c701459); } @@ -4257,15 +3566,11 @@ pub struct ISpotLight2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpotLight3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpotLight3 { type Vtable = ISpotLight3_Vtbl; } -impl ::core::clone::Clone for ISpotLight3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpotLight3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4d03eea_131f_480e_859e_b82705b74360); } @@ -4280,15 +3585,11 @@ pub struct ISpotLight3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpringScalarNaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpringScalarNaturalMotionAnimation { type Vtable = ISpringScalarNaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for ISpringScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpringScalarNaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0572a95f_37f9_4fbe_b87b_5cd03a89501c); } @@ -4309,15 +3610,11 @@ pub struct ISpringScalarNaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpringVector2NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpringVector2NaturalMotionAnimation { type Vtable = ISpringVector2NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for ISpringVector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpringVector2NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23f494b5_ee73_4f0f_a423_402b946df4b3); } @@ -4338,15 +3635,11 @@ pub struct ISpringVector2NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpringVector3NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpringVector3NaturalMotionAnimation { type Vtable = ISpringVector3NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for ISpringVector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpringVector3NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c8749df_d57b_4794_8e2d_cecb11e194e5); } @@ -4367,15 +3660,11 @@ pub struct ISpringVector3NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpriteVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpriteVisual { type Vtable = ISpriteVisual_Vtbl; } -impl ::core::clone::Clone for ISpriteVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpriteVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08e05581_1ad1_4f97_9757_402d76e4233b); } @@ -4388,15 +3677,11 @@ pub struct ISpriteVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpriteVisual2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpriteVisual2 { type Vtable = ISpriteVisual2_Vtbl; } -impl ::core::clone::Clone for ISpriteVisual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpriteVisual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x588c9664_997a_4850_91fe_53cb58f81ce9); } @@ -4409,15 +3694,11 @@ pub struct ISpriteVisual2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStepEasingFunction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStepEasingFunction { type Vtable = IStepEasingFunction_Vtbl; } -impl ::core::clone::Clone for IStepEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStepEasingFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0caa74b_560c_4a0b_a5f6_206ca8c3ecd6); } @@ -4438,15 +3719,11 @@ pub struct IStepEasingFunction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector2KeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector2KeyFrameAnimation { type Vtable = IVector2KeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IVector2KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector2KeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf414515_4e29_4f11_b55e_bf2a6eb36294); } @@ -4465,15 +3742,11 @@ pub struct IVector2KeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector2NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector2NaturalMotionAnimation { type Vtable = IVector2NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IVector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector2NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f3e0b7d_e512_479d_a00c_77c93a30a395); } @@ -4508,15 +3781,11 @@ pub struct IVector2NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector2NaturalMotionAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector2NaturalMotionAnimationFactory { type Vtable = IVector2NaturalMotionAnimationFactory_Vtbl; } -impl ::core::clone::Clone for IVector2NaturalMotionAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector2NaturalMotionAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c74ff61_0761_48a2_bddb_6afcc52b89d8); } @@ -4527,15 +3796,11 @@ pub struct IVector2NaturalMotionAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector3KeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector3KeyFrameAnimation { type Vtable = IVector3KeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IVector3KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector3KeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8039daa_a281_43c2_a73d_b68e3c533c40); } @@ -4554,15 +3819,11 @@ pub struct IVector3KeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector3NaturalMotionAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector3NaturalMotionAnimation { type Vtable = IVector3NaturalMotionAnimation_Vtbl; } -impl ::core::clone::Clone for IVector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector3NaturalMotionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c17042c_e2ca_45ad_969e_4e78b7b9ad41); } @@ -4597,15 +3858,11 @@ pub struct IVector3NaturalMotionAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector3NaturalMotionAnimationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector3NaturalMotionAnimationFactory { type Vtable = IVector3NaturalMotionAnimationFactory_Vtbl; } -impl ::core::clone::Clone for IVector3NaturalMotionAnimationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector3NaturalMotionAnimationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21a81d2f_0880_457b_ac87_b609018c876d); } @@ -4616,15 +3873,11 @@ pub struct IVector3NaturalMotionAnimationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVector4KeyFrameAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVector4KeyFrameAnimation { type Vtable = IVector4KeyFrameAnimation_Vtbl; } -impl ::core::clone::Clone for IVector4KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVector4KeyFrameAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2457945b_addd_4385_9606_b6a3d5e4e1b9); } @@ -4643,15 +3896,11 @@ pub struct IVector4KeyFrameAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisual { type Vtable = IVisual_Vtbl; } -impl ::core::clone::Clone for IVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x117e202d_a859_4c89_873b_c2aa566788e3); } @@ -4743,15 +3992,11 @@ pub struct IVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisual2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisual2 { type Vtable = IVisual2_Vtbl; } -impl ::core::clone::Clone for IVisual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3052b611_56c3_4c3e_8bf3_f6e1ad473f06); } @@ -4780,15 +4025,11 @@ pub struct IVisual2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisual3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisual3 { type Vtable = IVisual3_Vtbl; } -impl ::core::clone::Clone for IVisual3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisual3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30be580d_f4b6_4ab7_80dd_3738cbac9f2c); } @@ -4801,15 +4042,11 @@ pub struct IVisual3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisual4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisual4 { type Vtable = IVisual4_Vtbl; } -impl ::core::clone::Clone for IVisual4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisual4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9476bf11_e24b_5bf9_9ebe_6274109b2711); } @@ -4822,15 +4059,11 @@ pub struct IVisual4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualCollection { type Vtable = IVisualCollection_Vtbl; } -impl ::core::clone::Clone for IVisualCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b745505_fd3e_4a98_84a8_e949468c6bcb); } @@ -4848,31 +4081,16 @@ pub struct IVisualCollection_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualElement(::windows_core::IUnknown); impl IVisualElement {} ::windows_core::imp::interface_hierarchy!(IVisualElement, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVisualElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVisualElement {} -impl ::core::fmt::Debug for IVisualElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVisualElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVisualElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{01e64612-1d82-42f4-8e3f-a722ded33fc7}"); } unsafe impl ::windows_core::Interface for IVisualElement { type Vtable = IVisualElement_Vtbl; } -impl ::core::clone::Clone for IVisualElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01e64612_1d82_42f4_8e3f_a722ded33fc7); } @@ -4883,6 +4101,7 @@ pub struct IVisualElement_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualElement2(::windows_core::IUnknown); impl IVisualElement2 { pub fn GetVisualInternal(&self) -> ::windows_core::Result { @@ -4894,28 +4113,12 @@ impl IVisualElement2 { } } ::windows_core::imp::interface_hierarchy!(IVisualElement2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVisualElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVisualElement2 {} -impl ::core::fmt::Debug for IVisualElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVisualElement2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVisualElement2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{993ae8a0-6057-5e40-918c-e06e0b7e7c64}"); } unsafe impl ::windows_core::Interface for IVisualElement2 { type Vtable = IVisualElement2_Vtbl; } -impl ::core::clone::Clone for IVisualElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualElement2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x993ae8a0_6057_5e40_918c_e06e0b7e7c64); } @@ -4927,15 +4130,11 @@ pub struct IVisualElement2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualFactory { type Vtable = IVisualFactory_Vtbl; } -impl ::core::clone::Clone for IVisualFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad0ff93e_b502_4eb5_87b4_9a38a71d0137); } @@ -4946,15 +4145,11 @@ pub struct IVisualFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualUnorderedCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualUnorderedCollection { type Vtable = IVisualUnorderedCollection_Vtbl; } -impl ::core::clone::Clone for IVisualUnorderedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualUnorderedCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338faa70_54c8_40a7_8029_c9ceeb0aa250); } @@ -4969,6 +4164,7 @@ pub struct IVisualUnorderedCollection_Vtbl { } #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AmbientLight(::windows_core::IUnknown); impl AmbientLight { pub fn Color(&self) -> ::windows_core::Result { @@ -5129,25 +4325,9 @@ impl AmbientLight { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for AmbientLight { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AmbientLight {} -impl ::core::fmt::Debug for AmbientLight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AmbientLight").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AmbientLight { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AmbientLight;{a48130a1-b7c4-46f7-b9bf-daf43a44e6ee})"); } -impl ::core::clone::Clone for AmbientLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AmbientLight { type Vtable = IAmbientLight_Vtbl; } @@ -5167,6 +4347,7 @@ unsafe impl ::core::marker::Send for AmbientLight {} unsafe impl ::core::marker::Sync for AmbientLight {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AnimationController(::windows_core::IUnknown); impl AnimationController { pub fn PlaybackRate(&self) -> ::windows_core::Result { @@ -5338,25 +4519,9 @@ impl AnimationController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AnimationController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AnimationController {} -impl ::core::fmt::Debug for AnimationController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AnimationController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AnimationController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationController;{c934efd2-0722-4f5f-a4e2-9510f3d43bf7})"); } -impl ::core::clone::Clone for AnimationController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AnimationController { type Vtable = IAnimationController_Vtbl; } @@ -5375,6 +4540,7 @@ unsafe impl ::core::marker::Send for AnimationController {} unsafe impl ::core::marker::Sync for AnimationController {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AnimationPropertyInfo(::windows_core::IUnknown); impl AnimationPropertyInfo { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -5513,25 +4679,9 @@ impl AnimationPropertyInfo { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for AnimationPropertyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AnimationPropertyInfo {} -impl ::core::fmt::Debug for AnimationPropertyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AnimationPropertyInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AnimationPropertyInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.AnimationPropertyInfo;{f4716f05-ed77-4e3c-b328-5c3985b3738f})"); } -impl ::core::clone::Clone for AnimationPropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AnimationPropertyInfo { type Vtable = IAnimationPropertyInfo_Vtbl; } @@ -5550,6 +4700,7 @@ unsafe impl ::core::marker::Send for AnimationPropertyInfo {} unsafe impl ::core::marker::Sync for AnimationPropertyInfo {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackEasingFunction(::windows_core::IUnknown); impl BackEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -5677,25 +4828,9 @@ impl BackEasingFunction { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for BackEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackEasingFunction {} -impl ::core::fmt::Debug for BackEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BackEasingFunction;{b8560da4-5e3c-545d-b263-7987a2bd27cb})"); } -impl ::core::clone::Clone for BackEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackEasingFunction { type Vtable = IBackEasingFunction_Vtbl; } @@ -5715,6 +4850,7 @@ unsafe impl ::core::marker::Send for BackEasingFunction {} unsafe impl ::core::marker::Sync for BackEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BooleanKeyFrameAnimation(::windows_core::IUnknown); impl BooleanKeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -6025,25 +5161,9 @@ impl BooleanKeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).SetDelayBehavior)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BooleanKeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BooleanKeyFrameAnimation {} -impl ::core::fmt::Debug for BooleanKeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BooleanKeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BooleanKeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BooleanKeyFrameAnimation;{95e23a08-d1f4-4972-9770-3efe68d82e14})"); } -impl ::core::clone::Clone for BooleanKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BooleanKeyFrameAnimation { type Vtable = IBooleanKeyFrameAnimation_Vtbl; } @@ -6065,6 +5185,7 @@ unsafe impl ::core::marker::Send for BooleanKeyFrameAnimation {} unsafe impl ::core::marker::Sync for BooleanKeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BounceEasingFunction(::windows_core::IUnknown); impl BounceEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -6199,25 +5320,9 @@ impl BounceEasingFunction { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for BounceEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BounceEasingFunction {} -impl ::core::fmt::Debug for BounceEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BounceEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BounceEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceEasingFunction;{e7fdb44b-aad5-5174-9421-eef8b75a6a43})"); } -impl ::core::clone::Clone for BounceEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BounceEasingFunction { type Vtable = IBounceEasingFunction_Vtbl; } @@ -6237,6 +5342,7 @@ unsafe impl ::core::marker::Send for BounceEasingFunction {} unsafe impl ::core::marker::Sync for BounceEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BounceScalarNaturalMotionAnimation(::windows_core::IUnknown); impl BounceScalarNaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -6546,25 +5652,9 @@ impl BounceScalarNaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BounceScalarNaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BounceScalarNaturalMotionAnimation {} -impl ::core::fmt::Debug for BounceScalarNaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BounceScalarNaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BounceScalarNaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceScalarNaturalMotionAnimation;{baa30dcc-a633-4618-9b06-7f7c72c87cff})"); } -impl ::core::clone::Clone for BounceScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BounceScalarNaturalMotionAnimation { type Vtable = IBounceScalarNaturalMotionAnimation_Vtbl; } @@ -6587,6 +5677,7 @@ unsafe impl ::core::marker::Send for BounceScalarNaturalMotionAnimation {} unsafe impl ::core::marker::Sync for BounceScalarNaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BounceVector2NaturalMotionAnimation(::windows_core::IUnknown); impl BounceVector2NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -6900,25 +5991,9 @@ impl BounceVector2NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BounceVector2NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BounceVector2NaturalMotionAnimation {} -impl ::core::fmt::Debug for BounceVector2NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BounceVector2NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BounceVector2NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector2NaturalMotionAnimation;{da344196-2154-4b3c-88aa-47361204eccd})"); } -impl ::core::clone::Clone for BounceVector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BounceVector2NaturalMotionAnimation { type Vtable = IBounceVector2NaturalMotionAnimation_Vtbl; } @@ -6941,6 +6016,7 @@ unsafe impl ::core::marker::Send for BounceVector2NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for BounceVector2NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BounceVector3NaturalMotionAnimation(::windows_core::IUnknown); impl BounceVector3NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -7254,25 +6330,9 @@ impl BounceVector3NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BounceVector3NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BounceVector3NaturalMotionAnimation {} -impl ::core::fmt::Debug for BounceVector3NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BounceVector3NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BounceVector3NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.BounceVector3NaturalMotionAnimation;{47dabc31-10d3-4518-86f1-09caf742d113})"); } -impl ::core::clone::Clone for BounceVector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BounceVector3NaturalMotionAnimation { type Vtable = IBounceVector3NaturalMotionAnimation_Vtbl; } @@ -7295,6 +6355,7 @@ unsafe impl ::core::marker::Send for BounceVector3NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for BounceVector3NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CircleEasingFunction(::windows_core::IUnknown); impl CircleEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -7415,25 +6476,9 @@ impl CircleEasingFunction { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CircleEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CircleEasingFunction {} -impl ::core::fmt::Debug for CircleEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CircleEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CircleEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CircleEasingFunction;{1e07222a-6f82-5a28-8748-2e92fc46ee2b})"); } -impl ::core::clone::Clone for CircleEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CircleEasingFunction { type Vtable = ICircleEasingFunction_Vtbl; } @@ -7453,6 +6498,7 @@ unsafe impl ::core::marker::Send for CircleEasingFunction {} unsafe impl ::core::marker::Sync for CircleEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ColorKeyFrameAnimation(::windows_core::IUnknown); impl ColorKeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -7781,25 +6827,9 @@ impl ColorKeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).SetDelayBehavior)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ColorKeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ColorKeyFrameAnimation {} -impl ::core::fmt::Debug for ColorKeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ColorKeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ColorKeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ColorKeyFrameAnimation;{93adb5e9-8e05-4593-84a3-dca152781e56})"); } -impl ::core::clone::Clone for ColorKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ColorKeyFrameAnimation { type Vtable = IColorKeyFrameAnimation_Vtbl; } @@ -7821,6 +6851,7 @@ unsafe impl ::core::marker::Send for ColorKeyFrameAnimation {} unsafe impl ::core::marker::Sync for ColorKeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionAnimation(::windows_core::IUnknown); impl CompositionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -8024,25 +7055,9 @@ impl CompositionAnimation { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionAnimation {} -impl ::core::fmt::Debug for CompositionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimation;{464c4c2c-1caa-4061-9b40-e13fde1503ca})"); } -impl ::core::clone::Clone for CompositionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionAnimation { type Vtable = ICompositionAnimation_Vtbl; } @@ -8062,6 +7077,7 @@ unsafe impl ::core::marker::Send for CompositionAnimation {} unsafe impl ::core::marker::Sync for CompositionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionAnimationGroup(::windows_core::IUnknown); impl CompositionAnimationGroup { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -8209,25 +7225,9 @@ impl CompositionAnimationGroup { } } } -impl ::core::cmp::PartialEq for CompositionAnimationGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionAnimationGroup {} -impl ::core::fmt::Debug for CompositionAnimationGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionAnimationGroup").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionAnimationGroup { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionAnimationGroup;{5e7cc90c-cd14-4e07-8a55-c72527aabdac})"); } -impl ::core::clone::Clone for CompositionAnimationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionAnimationGroup { type Vtable = ICompositionAnimationGroup_Vtbl; } @@ -8265,6 +7265,7 @@ unsafe impl ::core::marker::Send for CompositionAnimationGroup {} unsafe impl ::core::marker::Sync for CompositionAnimationGroup {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionBackdropBrush(::windows_core::IUnknown); impl CompositionBackdropBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -8378,25 +7379,9 @@ impl CompositionBackdropBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionBackdropBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionBackdropBrush {} -impl ::core::fmt::Debug for CompositionBackdropBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionBackdropBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionBackdropBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBackdropBrush;{c5acae58-3898-499e-8d7f-224e91286a5d})"); } -impl ::core::clone::Clone for CompositionBackdropBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionBackdropBrush { type Vtable = ICompositionBackdropBrush_Vtbl; } @@ -8416,6 +7401,7 @@ unsafe impl ::core::marker::Send for CompositionBackdropBrush {} unsafe impl ::core::marker::Sync for CompositionBackdropBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionBatchCompletedEventArgs(::windows_core::IUnknown); impl CompositionBatchCompletedEventArgs { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -8529,25 +7515,9 @@ impl CompositionBatchCompletedEventArgs { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionBatchCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionBatchCompletedEventArgs {} -impl ::core::fmt::Debug for CompositionBatchCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionBatchCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionBatchCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBatchCompletedEventArgs;{0d00dad0-9464-450a-a562-2e2698b0a812})"); } -impl ::core::clone::Clone for CompositionBatchCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionBatchCompletedEventArgs { type Vtable = ICompositionBatchCompletedEventArgs_Vtbl; } @@ -8566,6 +7536,7 @@ unsafe impl ::core::marker::Send for CompositionBatchCompletedEventArgs {} unsafe impl ::core::marker::Sync for CompositionBatchCompletedEventArgs {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionBrush(::windows_core::IUnknown); impl CompositionBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -8679,25 +7650,9 @@ impl CompositionBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionBrush {} -impl ::core::fmt::Debug for CompositionBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionBrush;{ab0d7608-30c0-40e9-b568-b60a6bd1fb46})"); } -impl ::core::clone::Clone for CompositionBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionBrush { type Vtable = ICompositionBrush_Vtbl; } @@ -8716,6 +7671,7 @@ unsafe impl ::core::marker::Send for CompositionBrush {} unsafe impl ::core::marker::Sync for CompositionBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionCapabilities(::windows_core::IUnknown); impl CompositionCapabilities { pub fn AreEffectsSupported(&self) -> ::windows_core::Result { @@ -8762,25 +7718,9 @@ impl CompositionCapabilities { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionCapabilities {} -impl ::core::fmt::Debug for CompositionCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionCapabilities").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionCapabilities { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCapabilities;{8253353e-b517-48bc-b1e8-4b3561a2e181})"); } -impl ::core::clone::Clone for CompositionCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionCapabilities { type Vtable = ICompositionCapabilities_Vtbl; } @@ -8795,6 +7735,7 @@ unsafe impl ::core::marker::Send for CompositionCapabilities {} unsafe impl ::core::marker::Sync for CompositionCapabilities {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionClip(::windows_core::IUnknown); impl CompositionClip { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -9005,25 +7946,9 @@ impl CompositionClip { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionClip {} -impl ::core::fmt::Debug for CompositionClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionClip").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionClip { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionClip;{1ccd2a52-cfc7-4ace-9983-146bb8eb6a3c})"); } -impl ::core::clone::Clone for CompositionClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionClip { type Vtable = ICompositionClip_Vtbl; } @@ -9042,6 +7967,7 @@ unsafe impl ::core::marker::Send for CompositionClip {} unsafe impl ::core::marker::Sync for CompositionClip {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionColorBrush(::windows_core::IUnknown); impl CompositionColorBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -9166,25 +8092,9 @@ impl CompositionColorBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionColorBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionColorBrush {} -impl ::core::fmt::Debug for CompositionColorBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionColorBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionColorBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorBrush;{2b264c5e-bf35-4831-8642-cf70c20fff2f})"); } -impl ::core::clone::Clone for CompositionColorBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionColorBrush { type Vtable = ICompositionColorBrush_Vtbl; } @@ -9204,6 +8114,7 @@ unsafe impl ::core::marker::Send for CompositionColorBrush {} unsafe impl ::core::marker::Sync for CompositionColorBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionColorGradientStop(::windows_core::IUnknown); impl CompositionColorGradientStop { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -9339,25 +8250,9 @@ impl CompositionColorGradientStop { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionColorGradientStop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionColorGradientStop {} -impl ::core::fmt::Debug for CompositionColorGradientStop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionColorGradientStop").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionColorGradientStop { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStop;{6f00ca92-c801-4e41-9a8f-a53e20f57778})"); } -impl ::core::clone::Clone for CompositionColorGradientStop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionColorGradientStop { type Vtable = ICompositionColorGradientStop_Vtbl; } @@ -9376,6 +8271,7 @@ unsafe impl ::core::marker::Send for CompositionColorGradientStop {} unsafe impl ::core::marker::Sync for CompositionColorGradientStop {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionColorGradientStopCollection(::windows_core::IUnknown); impl CompositionColorGradientStopCollection { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -9481,31 +8377,15 @@ impl CompositionColorGradientStopCollection { } } #[doc = "*Required features: `\"Foundation_Collections\"`*"] - #[cfg(feature = "Foundation_Collections")] - pub fn ReplaceAll(&self, items: &[::core::option::Option]) -> ::windows_core::Result<()> { - let this = &::windows_core::ComInterface::cast::>(self)?; - unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } - } -} -impl ::core::cmp::PartialEq for CompositionColorGradientStopCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionColorGradientStopCollection {} -impl ::core::fmt::Debug for CompositionColorGradientStopCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionColorGradientStopCollection").field(&self.0).finish() + #[cfg(feature = "Foundation_Collections")] + pub fn ReplaceAll(&self, items: &[::core::option::Option]) -> ::windows_core::Result<()> { + let this = &::windows_core::ComInterface::cast::>(self)?; + unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } impl ::windows_core::RuntimeType for CompositionColorGradientStopCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionColorGradientStopCollection;{9f1d20ec-7b04-4b1d-90bc-9fa32c0cfd26})"); } -impl ::core::clone::Clone for CompositionColorGradientStopCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionColorGradientStopCollection { type Vtable = ICompositionColorGradientStopCollection_Vtbl; } @@ -9540,6 +8420,7 @@ unsafe impl ::core::marker::Send for CompositionColorGradientStopCollection {} unsafe impl ::core::marker::Sync for CompositionColorGradientStopCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionCommitBatch(::windows_core::IUnknown); impl CompositionCommitBatch { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -9685,25 +8566,9 @@ impl CompositionCommitBatch { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionCommitBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionCommitBatch {} -impl ::core::fmt::Debug for CompositionCommitBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionCommitBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionCommitBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionCommitBatch;{0d00dad0-ca07-4400-8c8e-cb5db08559cc})"); } -impl ::core::clone::Clone for CompositionCommitBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionCommitBatch { type Vtable = ICompositionCommitBatch_Vtbl; } @@ -9722,6 +8587,7 @@ unsafe impl ::core::marker::Send for CompositionCommitBatch {} unsafe impl ::core::marker::Sync for CompositionCommitBatch {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionContainerShape(::windows_core::IUnknown); impl CompositionContainerShape { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -9926,25 +8792,9 @@ impl CompositionContainerShape { unsafe { (::windows_core::Interface::vtable(this).SetTransformMatrix)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionContainerShape { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionContainerShape {} -impl ::core::fmt::Debug for CompositionContainerShape { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionContainerShape").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionContainerShape { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionContainerShape;{4f5e859b-2e5b-44a8-982c-aa0f69c16059})"); } -impl ::core::clone::Clone for CompositionContainerShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionContainerShape { type Vtable = ICompositionContainerShape_Vtbl; } @@ -9964,6 +8814,7 @@ unsafe impl ::core::marker::Send for CompositionContainerShape {} unsafe impl ::core::marker::Sync for CompositionContainerShape {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionDrawingSurface(::windows_core::IUnknown); impl CompositionDrawingSurface { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -10143,25 +8994,9 @@ impl CompositionDrawingSurface { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionDrawingSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionDrawingSurface {} -impl ::core::fmt::Debug for CompositionDrawingSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionDrawingSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionDrawingSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionDrawingSurface;{a166c300-fad0-4d11-9e67-e433162ff49e})"); } -impl ::core::clone::Clone for CompositionDrawingSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionDrawingSurface { type Vtable = ICompositionDrawingSurface_Vtbl; } @@ -10181,6 +9016,7 @@ unsafe impl ::core::marker::Send for CompositionDrawingSurface {} unsafe impl ::core::marker::Sync for CompositionDrawingSurface {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionEasingFunction(::windows_core::IUnknown); impl CompositionEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -10400,25 +9236,9 @@ impl CompositionEasingFunction { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionEasingFunction {} -impl ::core::fmt::Debug for CompositionEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEasingFunction;{5145e356-bf79-4ea8-8cc2-6b5b472e6c9a})"); } -impl ::core::clone::Clone for CompositionEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionEasingFunction { type Vtable = ICompositionEasingFunction_Vtbl; } @@ -10437,6 +9257,7 @@ unsafe impl ::core::marker::Send for CompositionEasingFunction {} unsafe impl ::core::marker::Sync for CompositionEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionEffectBrush(::windows_core::IUnknown); impl CompositionEffectBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -10564,25 +9385,9 @@ impl CompositionEffectBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionEffectBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionEffectBrush {} -impl ::core::fmt::Debug for CompositionEffectBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionEffectBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionEffectBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectBrush;{bf7f795e-83cc-44bf-a447-3e3c071789ec})"); } -impl ::core::clone::Clone for CompositionEffectBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionEffectBrush { type Vtable = ICompositionEffectBrush_Vtbl; } @@ -10602,6 +9407,7 @@ unsafe impl ::core::marker::Send for CompositionEffectBrush {} unsafe impl ::core::marker::Sync for CompositionEffectBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionEffectFactory(::windows_core::IUnknown); impl CompositionEffectFactory { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -10736,25 +9542,9 @@ impl CompositionEffectFactory { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionEffectFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionEffectFactory {} -impl ::core::fmt::Debug for CompositionEffectFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionEffectFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionEffectFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectFactory;{be5624af-ba7e-4510-9850-41c0b4ff74df})"); } -impl ::core::clone::Clone for CompositionEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionEffectFactory { type Vtable = ICompositionEffectFactory_Vtbl; } @@ -10773,6 +9563,7 @@ unsafe impl ::core::marker::Send for CompositionEffectFactory {} unsafe impl ::core::marker::Sync for CompositionEffectFactory {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionEffectSourceParameter(::windows_core::IUnknown); impl CompositionEffectSourceParameter { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -10794,25 +9585,9 @@ impl CompositionEffectSourceParameter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionEffectSourceParameter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionEffectSourceParameter {} -impl ::core::fmt::Debug for CompositionEffectSourceParameter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionEffectSourceParameter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionEffectSourceParameter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEffectSourceParameter;{858ab13a-3292-4e4e-b3bb-2b6c6544a6ee})"); } -impl ::core::clone::Clone for CompositionEffectSourceParameter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionEffectSourceParameter { type Vtable = ICompositionEffectSourceParameter_Vtbl; } @@ -10829,6 +9604,7 @@ unsafe impl ::core::marker::Send for CompositionEffectSourceParameter {} unsafe impl ::core::marker::Sync for CompositionEffectSourceParameter {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionEllipseGeometry(::windows_core::IUnknown); impl CompositionEllipseGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -11005,25 +9781,9 @@ impl CompositionEllipseGeometry { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionEllipseGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionEllipseGeometry {} -impl ::core::fmt::Debug for CompositionEllipseGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionEllipseGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionEllipseGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionEllipseGeometry;{4801f884-f6ad-4b93-afa9-897b64e57b1f})"); } -impl ::core::clone::Clone for CompositionEllipseGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionEllipseGeometry { type Vtable = ICompositionEllipseGeometry_Vtbl; } @@ -11043,6 +9803,7 @@ unsafe impl ::core::marker::Send for CompositionEllipseGeometry {} unsafe impl ::core::marker::Sync for CompositionEllipseGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionGeometricClip(::windows_core::IUnknown); impl CompositionGeometricClip { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -11281,25 +10042,9 @@ impl CompositionGeometricClip { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionGeometricClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionGeometricClip {} -impl ::core::fmt::Debug for CompositionGeometricClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionGeometricClip").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionGeometricClip { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometricClip;{c840b581-81c9-4444-a2c1-ccaece3a50e5})"); } -impl ::core::clone::Clone for CompositionGeometricClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionGeometricClip { type Vtable = ICompositionGeometricClip_Vtbl; } @@ -11319,6 +10064,7 @@ unsafe impl ::core::marker::Send for CompositionGeometricClip {} unsafe impl ::core::marker::Sync for CompositionGeometricClip {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionGeometry(::windows_core::IUnknown); impl CompositionGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -11465,25 +10211,9 @@ impl CompositionGeometry { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionGeometry {} -impl ::core::fmt::Debug for CompositionGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGeometry;{e985217c-6a17-4207-abd8-5fd3dd612a9d})"); } -impl ::core::clone::Clone for CompositionGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionGeometry { type Vtable = ICompositionGeometry_Vtbl; } @@ -11502,6 +10232,7 @@ unsafe impl ::core::marker::Send for CompositionGeometry {} unsafe impl ::core::marker::Sync for CompositionGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionGradientBrush(::windows_core::IUnknown); impl CompositionGradientBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -11752,25 +10483,9 @@ impl CompositionGradientBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionGradientBrush {} -impl ::core::fmt::Debug for CompositionGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionGradientBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionGradientBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGradientBrush;{1d9709e0-ffc6-4c0e-a9ab-34144d4c9098})"); } -impl ::core::clone::Clone for CompositionGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionGradientBrush { type Vtable = ICompositionGradientBrush_Vtbl; } @@ -11790,6 +10505,7 @@ unsafe impl ::core::marker::Send for CompositionGradientBrush {} unsafe impl ::core::marker::Sync for CompositionGradientBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionGraphicsDevice(::windows_core::IUnknown); impl CompositionGraphicsDevice { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -11973,25 +10689,9 @@ impl CompositionGraphicsDevice { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionGraphicsDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionGraphicsDevice {} -impl ::core::fmt::Debug for CompositionGraphicsDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionGraphicsDevice").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionGraphicsDevice { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionGraphicsDevice;{fb22c6e1-80a2-4667-9936-dbeaf6eefe95})"); } -impl ::core::clone::Clone for CompositionGraphicsDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionGraphicsDevice { type Vtable = ICompositionGraphicsDevice_Vtbl; } @@ -12010,6 +10710,7 @@ unsafe impl ::core::marker::Send for CompositionGraphicsDevice {} unsafe impl ::core::marker::Sync for CompositionGraphicsDevice {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionLight(::windows_core::IUnknown); impl CompositionLight { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -12148,25 +10849,9 @@ impl CompositionLight { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionLight { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionLight {} -impl ::core::fmt::Debug for CompositionLight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionLight").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionLight { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLight;{41a6d7c2-2e5d-4bc1-b09e-8f0a03e3d8d3})"); } -impl ::core::clone::Clone for CompositionLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionLight { type Vtable = ICompositionLight_Vtbl; } @@ -12185,6 +10870,7 @@ unsafe impl ::core::marker::Send for CompositionLight {} unsafe impl ::core::marker::Sync for CompositionLight {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionLineGeometry(::windows_core::IUnknown); impl CompositionLineGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -12361,25 +11047,9 @@ impl CompositionLineGeometry { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionLineGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionLineGeometry {} -impl ::core::fmt::Debug for CompositionLineGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionLineGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionLineGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLineGeometry;{dd7615a4-0c9a-4b67-8dce-440a5bf9cdec})"); } -impl ::core::clone::Clone for CompositionLineGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionLineGeometry { type Vtable = ICompositionLineGeometry_Vtbl; } @@ -12399,6 +11069,7 @@ unsafe impl ::core::marker::Send for CompositionLineGeometry {} unsafe impl ::core::marker::Sync for CompositionLineGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionLinearGradientBrush(::windows_core::IUnknown); impl CompositionLinearGradientBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -12679,25 +11350,9 @@ impl CompositionLinearGradientBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionLinearGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionLinearGradientBrush {} -impl ::core::fmt::Debug for CompositionLinearGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionLinearGradientBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionLinearGradientBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionLinearGradientBrush;{983bc519-a9db-413c-a2d8-2a9056fc525e})"); } -impl ::core::clone::Clone for CompositionLinearGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionLinearGradientBrush { type Vtable = ICompositionLinearGradientBrush_Vtbl; } @@ -12718,6 +11373,7 @@ unsafe impl ::core::marker::Send for CompositionLinearGradientBrush {} unsafe impl ::core::marker::Sync for CompositionLinearGradientBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionMaskBrush(::windows_core::IUnknown); impl CompositionMaskBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -12859,25 +11515,9 @@ impl CompositionMaskBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionMaskBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionMaskBrush {} -impl ::core::fmt::Debug for CompositionMaskBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionMaskBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionMaskBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMaskBrush;{522cf09e-be6b-4f41-be49-f9226d471b4a})"); } -impl ::core::clone::Clone for CompositionMaskBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionMaskBrush { type Vtable = ICompositionMaskBrush_Vtbl; } @@ -12897,6 +11537,7 @@ unsafe impl ::core::marker::Send for CompositionMaskBrush {} unsafe impl ::core::marker::Sync for CompositionMaskBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionMipmapSurface(::windows_core::IUnknown); impl CompositionMipmapSurface { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -13051,25 +11692,9 @@ impl CompositionMipmapSurface { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionMipmapSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionMipmapSurface {} -impl ::core::fmt::Debug for CompositionMipmapSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionMipmapSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionMipmapSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionMipmapSurface;{4863675c-cf4a-4b1c-9ece-c5ec0c2b2fe6})"); } -impl ::core::clone::Clone for CompositionMipmapSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionMipmapSurface { type Vtable = ICompositionMipmapSurface_Vtbl; } @@ -13089,6 +11714,7 @@ unsafe impl ::core::marker::Send for CompositionMipmapSurface {} unsafe impl ::core::marker::Sync for CompositionMipmapSurface {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionNineGridBrush(::windows_core::IUnknown); impl CompositionNineGridBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -13331,25 +11957,9 @@ impl CompositionNineGridBrush { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionNineGridBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionNineGridBrush {} -impl ::core::fmt::Debug for CompositionNineGridBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionNineGridBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionNineGridBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionNineGridBrush;{f25154e4-bc8c-4be7-b80f-8685b83c0186})"); } -impl ::core::clone::Clone for CompositionNineGridBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionNineGridBrush { type Vtable = ICompositionNineGridBrush_Vtbl; } @@ -13369,6 +11979,7 @@ unsafe impl ::core::marker::Send for CompositionNineGridBrush {} unsafe impl ::core::marker::Sync for CompositionNineGridBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionObject(::windows_core::IUnknown); impl CompositionObject { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -13501,25 +12112,9 @@ impl CompositionObject { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionObject {} -impl ::core::fmt::Debug for CompositionObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionObject;{bcb4ad45-7609-4550-934f-16002a68fded})"); } -impl ::core::clone::Clone for CompositionObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionObject { type Vtable = ICompositionObject_Vtbl; } @@ -13537,6 +12132,7 @@ unsafe impl ::core::marker::Send for CompositionObject {} unsafe impl ::core::marker::Sync for CompositionObject {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionPath(::windows_core::IUnknown); impl CompositionPath { #[doc = "*Required features: `\"Graphics\"`*"] @@ -13556,25 +12152,9 @@ impl CompositionPath { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionPath {} -impl ::core::fmt::Debug for CompositionPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionPath").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionPath { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPath;{66da1d5f-2e10-4f22-8a06-0a8151919e60})"); } -impl ::core::clone::Clone for CompositionPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionPath { type Vtable = ICompositionPath_Vtbl; } @@ -13591,6 +12171,7 @@ unsafe impl ::core::marker::Send for CompositionPath {} unsafe impl ::core::marker::Sync for CompositionPath {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionPathGeometry(::windows_core::IUnknown); impl CompositionPathGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -13751,25 +12332,9 @@ impl CompositionPathGeometry { unsafe { (::windows_core::Interface::vtable(this).SetPath)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionPathGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionPathGeometry {} -impl ::core::fmt::Debug for CompositionPathGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionPathGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionPathGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPathGeometry;{0b6a417e-2c77-4c23-af5e-6304c147bb61})"); } -impl ::core::clone::Clone for CompositionPathGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionPathGeometry { type Vtable = ICompositionPathGeometry_Vtbl; } @@ -13789,6 +12354,7 @@ unsafe impl ::core::marker::Send for CompositionPathGeometry {} unsafe impl ::core::marker::Sync for CompositionPathGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionProjectedShadow(::windows_core::IUnknown); impl CompositionProjectedShadow { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -13963,25 +12529,9 @@ impl CompositionProjectedShadow { } } } -impl ::core::cmp::PartialEq for CompositionProjectedShadow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionProjectedShadow {} -impl ::core::fmt::Debug for CompositionProjectedShadow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionProjectedShadow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionProjectedShadow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadow;{285b8e72-4328-523f-bcf2-5557c52c3b25})"); } -impl ::core::clone::Clone for CompositionProjectedShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionProjectedShadow { type Vtable = ICompositionProjectedShadow_Vtbl; } @@ -14000,6 +12550,7 @@ unsafe impl ::core::marker::Send for CompositionProjectedShadow {} unsafe impl ::core::marker::Sync for CompositionProjectedShadow {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionProjectedShadowCaster(::windows_core::IUnknown); impl CompositionProjectedShadowCaster { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -14141,25 +12692,9 @@ impl CompositionProjectedShadowCaster { unsafe { (::windows_core::Interface::vtable(this).SetCastingVisual)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionProjectedShadowCaster { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionProjectedShadowCaster {} -impl ::core::fmt::Debug for CompositionProjectedShadowCaster { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionProjectedShadowCaster").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionProjectedShadowCaster { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCaster;{b1d7d426-1e36-5a62-be56-a16112fdd148})"); } -impl ::core::clone::Clone for CompositionProjectedShadowCaster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionProjectedShadowCaster { type Vtable = ICompositionProjectedShadowCaster_Vtbl; } @@ -14178,6 +12713,7 @@ unsafe impl ::core::marker::Send for CompositionProjectedShadowCaster {} unsafe impl ::core::marker::Sync for CompositionProjectedShadowCaster {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionProjectedShadowCasterCollection(::windows_core::IUnknown); impl CompositionProjectedShadowCasterCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -14359,25 +12895,9 @@ impl CompositionProjectedShadowCasterCollection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CompositionProjectedShadowCasterCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionProjectedShadowCasterCollection {} -impl ::core::fmt::Debug for CompositionProjectedShadowCasterCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionProjectedShadowCasterCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionProjectedShadowCasterCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowCasterCollection;{d2525c0c-e07f-58a3-ac91-37f73ee91740})"); } -impl ::core::clone::Clone for CompositionProjectedShadowCasterCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionProjectedShadowCasterCollection { type Vtable = ICompositionProjectedShadowCasterCollection_Vtbl; } @@ -14414,6 +12934,7 @@ unsafe impl ::core::marker::Send for CompositionProjectedShadowCasterCollection unsafe impl ::core::marker::Sync for CompositionProjectedShadowCasterCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionProjectedShadowReceiver(::windows_core::IUnknown); impl CompositionProjectedShadowReceiver { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -14541,25 +13062,9 @@ impl CompositionProjectedShadowReceiver { unsafe { (::windows_core::Interface::vtable(this).SetReceivingVisual)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionProjectedShadowReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionProjectedShadowReceiver {} -impl ::core::fmt::Debug for CompositionProjectedShadowReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionProjectedShadowReceiver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionProjectedShadowReceiver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiver;{1377985a-6a49-536a-9be4-a96a8e5298a9})"); } -impl ::core::clone::Clone for CompositionProjectedShadowReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionProjectedShadowReceiver { type Vtable = ICompositionProjectedShadowReceiver_Vtbl; } @@ -14578,6 +13083,7 @@ unsafe impl ::core::marker::Send for CompositionProjectedShadowReceiver {} unsafe impl ::core::marker::Sync for CompositionProjectedShadowReceiver {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionProjectedShadowReceiverUnorderedCollection(::windows_core::IUnknown); impl CompositionProjectedShadowReceiverUnorderedCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -14725,25 +13231,9 @@ impl CompositionProjectedShadowReceiverUnorderedCollection { } } } -impl ::core::cmp::PartialEq for CompositionProjectedShadowReceiverUnorderedCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionProjectedShadowReceiverUnorderedCollection {} -impl ::core::fmt::Debug for CompositionProjectedShadowReceiverUnorderedCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionProjectedShadowReceiverUnorderedCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionProjectedShadowReceiverUnorderedCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionProjectedShadowReceiverUnorderedCollection;{02b3e3b7-27d2-599f-ac4b-ab787cdde6fd})"); } -impl ::core::clone::Clone for CompositionProjectedShadowReceiverUnorderedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionProjectedShadowReceiverUnorderedCollection { type Vtable = ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl; } @@ -14780,6 +13270,7 @@ unsafe impl ::core::marker::Send for CompositionProjectedShadowReceiverUnordered unsafe impl ::core::marker::Sync for CompositionProjectedShadowReceiverUnorderedCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionPropertySet(::windows_core::IUnknown); impl CompositionPropertySet { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -15016,25 +13507,9 @@ impl CompositionPropertySet { } } } -impl ::core::cmp::PartialEq for CompositionPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionPropertySet {} -impl ::core::fmt::Debug for CompositionPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionPropertySet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionPropertySet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionPropertySet;{c9d6d202-5f67-4453-9117-9eadd430d3c2})"); } -impl ::core::clone::Clone for CompositionPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionPropertySet { type Vtable = ICompositionPropertySet_Vtbl; } @@ -15053,6 +13528,7 @@ unsafe impl ::core::marker::Send for CompositionPropertySet {} unsafe impl ::core::marker::Sync for CompositionPropertySet {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionRadialGradientBrush(::windows_core::IUnknown); impl CompositionRadialGradientBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -15348,25 +13824,9 @@ impl CompositionRadialGradientBrush { unsafe { (::windows_core::Interface::vtable(this).SetGradientOriginOffset)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionRadialGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionRadialGradientBrush {} -impl ::core::fmt::Debug for CompositionRadialGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionRadialGradientBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionRadialGradientBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRadialGradientBrush;{3d3b50c5-e3fa-4ce2-b9fc-3ee12561788f})"); } -impl ::core::clone::Clone for CompositionRadialGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionRadialGradientBrush { type Vtable = ICompositionRadialGradientBrush_Vtbl; } @@ -15387,6 +13847,7 @@ unsafe impl ::core::marker::Send for CompositionRadialGradientBrush {} unsafe impl ::core::marker::Sync for CompositionRadialGradientBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionRectangleGeometry(::windows_core::IUnknown); impl CompositionRectangleGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -15563,25 +14024,9 @@ impl CompositionRectangleGeometry { unsafe { (::windows_core::Interface::vtable(this).SetSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionRectangleGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionRectangleGeometry {} -impl ::core::fmt::Debug for CompositionRectangleGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionRectangleGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionRectangleGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRectangleGeometry;{0cd51428-5356-4246-aecf-7a0b76975400})"); } -impl ::core::clone::Clone for CompositionRectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionRectangleGeometry { type Vtable = ICompositionRectangleGeometry_Vtbl; } @@ -15601,6 +14046,7 @@ unsafe impl ::core::marker::Send for CompositionRectangleGeometry {} unsafe impl ::core::marker::Sync for CompositionRectangleGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionRoundedRectangleGeometry(::windows_core::IUnknown); impl CompositionRoundedRectangleGeometry { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -15792,25 +14238,9 @@ impl CompositionRoundedRectangleGeometry { unsafe { (::windows_core::Interface::vtable(this).SetSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionRoundedRectangleGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionRoundedRectangleGeometry {} -impl ::core::fmt::Debug for CompositionRoundedRectangleGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionRoundedRectangleGeometry").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionRoundedRectangleGeometry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionRoundedRectangleGeometry;{8770c822-1d50-4b8b-b013-7c9a0e46935f})"); } -impl ::core::clone::Clone for CompositionRoundedRectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionRoundedRectangleGeometry { type Vtable = ICompositionRoundedRectangleGeometry_Vtbl; } @@ -15830,6 +14260,7 @@ unsafe impl ::core::marker::Send for CompositionRoundedRectangleGeometry {} unsafe impl ::core::marker::Sync for CompositionRoundedRectangleGeometry {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionScopedBatch(::windows_core::IUnknown); impl CompositionScopedBatch { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -15987,25 +14418,9 @@ impl CompositionScopedBatch { unsafe { (::windows_core::Interface::vtable(this).RemoveCompleted)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for CompositionScopedBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionScopedBatch {} -impl ::core::fmt::Debug for CompositionScopedBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionScopedBatch").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionScopedBatch { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionScopedBatch;{0d00dad0-fb07-46fd-8c72-6280d1a3d1dd})"); } -impl ::core::clone::Clone for CompositionScopedBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionScopedBatch { type Vtable = ICompositionScopedBatch_Vtbl; } @@ -16024,6 +14439,7 @@ unsafe impl ::core::marker::Send for CompositionScopedBatch {} unsafe impl ::core::marker::Sync for CompositionScopedBatch {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionShadow(::windows_core::IUnknown); impl CompositionShadow { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -16137,25 +14553,9 @@ impl CompositionShadow { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionShadow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionShadow {} -impl ::core::fmt::Debug for CompositionShadow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionShadow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionShadow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShadow;{329e52e2-4335-49cc-b14a-37782d10f0c4})"); } -impl ::core::clone::Clone for CompositionShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionShadow { type Vtable = ICompositionShadow_Vtbl; } @@ -16174,6 +14574,7 @@ unsafe impl ::core::marker::Send for CompositionShadow {} unsafe impl ::core::marker::Sync for CompositionShadow {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionShape(::windows_core::IUnknown); impl CompositionShape { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -16369,25 +14770,9 @@ impl CompositionShape { unsafe { (::windows_core::Interface::vtable(this).SetTransformMatrix)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionShape { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionShape {} -impl ::core::fmt::Debug for CompositionShape { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionShape").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionShape { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})"); } -impl ::core::clone::Clone for CompositionShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionShape { type Vtable = ICompositionShape_Vtbl; } @@ -16407,6 +14792,7 @@ unsafe impl ::core::marker::Sync for CompositionShape {} #[doc = "*Required features: `\"UI_Composition\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionShapeCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl CompositionShapeCollection { @@ -16630,30 +15016,10 @@ impl CompositionShapeCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for CompositionShapeCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for CompositionShapeCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for CompositionShapeCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionShapeCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for CompositionShapeCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionShapeCollection;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};rc(Windows.UI.Composition.CompositionShape;{b47ce2f7-9a88-42c4-9e87-2e500ca8688c})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for CompositionShapeCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for CompositionShapeCollection { type Vtable = super::super::Foundation::Collections::IVector_Vtbl; } @@ -16699,6 +15065,7 @@ unsafe impl ::core::marker::Send for CompositionShapeCollection {} unsafe impl ::core::marker::Sync for CompositionShapeCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionSpriteShape(::windows_core::IUnknown); impl CompositionSpriteShape { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -17033,25 +15400,9 @@ impl CompositionSpriteShape { unsafe { (::windows_core::Interface::vtable(this).SetStrokeThickness)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionSpriteShape { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionSpriteShape {} -impl ::core::fmt::Debug for CompositionSpriteShape { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionSpriteShape").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionSpriteShape { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSpriteShape;{401b61bb-0007-4363-b1f3-6bcc003fb83e})"); } -impl ::core::clone::Clone for CompositionSpriteShape { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionSpriteShape { type Vtable = ICompositionSpriteShape_Vtbl; } @@ -17072,6 +15423,7 @@ unsafe impl ::core::marker::Sync for CompositionSpriteShape {} #[doc = "*Required features: `\"UI_Composition\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionStrokeDashArray(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl CompositionStrokeDashArray { @@ -17283,30 +15635,10 @@ impl CompositionStrokeDashArray { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for CompositionStrokeDashArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for CompositionStrokeDashArray {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for CompositionStrokeDashArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionStrokeDashArray").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for CompositionStrokeDashArray { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionStrokeDashArray;pinterface({913337e9-11a1-4345-a3a2-4e7f956e222d};f4))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for CompositionStrokeDashArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for CompositionStrokeDashArray { type Vtable = super::super::Foundation::Collections::IVector_Vtbl; } @@ -17352,6 +15684,7 @@ unsafe impl ::core::marker::Send for CompositionStrokeDashArray {} unsafe impl ::core::marker::Sync for CompositionStrokeDashArray {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionSurfaceBrush(::windows_core::IUnknown); impl CompositionSurfaceBrush { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -17631,25 +15964,9 @@ impl CompositionSurfaceBrush { unsafe { (::windows_core::Interface::vtable(this).SetSnapToPixels)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionSurfaceBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionSurfaceBrush {} -impl ::core::fmt::Debug for CompositionSurfaceBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionSurfaceBrush").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionSurfaceBrush { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionSurfaceBrush;{ad016d79-1e4c-4c0d-9c29-83338c87c162})"); } -impl ::core::clone::Clone for CompositionSurfaceBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionSurfaceBrush { type Vtable = ICompositionSurfaceBrush_Vtbl; } @@ -17669,6 +15986,7 @@ unsafe impl ::core::marker::Send for CompositionSurfaceBrush {} unsafe impl ::core::marker::Sync for CompositionSurfaceBrush {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionTarget(::windows_core::IUnknown); impl CompositionTarget { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -17796,25 +16114,9 @@ impl CompositionTarget { unsafe { (::windows_core::Interface::vtable(this).SetRoot)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionTarget {} -impl ::core::fmt::Debug for CompositionTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionTarget").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionTarget { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTarget;{a1bea8ba-d726-4663-8129-6b5e7927ffa6})"); } -impl ::core::clone::Clone for CompositionTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionTarget { type Vtable = ICompositionTarget_Vtbl; } @@ -17833,6 +16135,7 @@ unsafe impl ::core::marker::Send for CompositionTarget {} unsafe impl ::core::marker::Sync for CompositionTarget {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionTransform(::windows_core::IUnknown); impl CompositionTransform { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -17946,25 +16249,9 @@ impl CompositionTransform { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CompositionTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionTransform {} -impl ::core::fmt::Debug for CompositionTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionTransform").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionTransform { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionTransform;{7cd54529-fbed-4112-abc5-185906dd927c})"); } -impl ::core::clone::Clone for CompositionTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionTransform { type Vtable = ICompositionTransform_Vtbl; } @@ -17983,6 +16270,7 @@ unsafe impl ::core::marker::Send for CompositionTransform {} unsafe impl ::core::marker::Sync for CompositionTransform {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionViewBox(::windows_core::IUnknown); impl CompositionViewBox { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -18159,25 +16447,9 @@ impl CompositionViewBox { unsafe { (::windows_core::Interface::vtable(this).SetVerticalAlignmentRatio)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionViewBox { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionViewBox {} -impl ::core::fmt::Debug for CompositionViewBox { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionViewBox").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionViewBox { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionViewBox;{b440bf07-068f-4537-84c6-4ecbe019e1f4})"); } -impl ::core::clone::Clone for CompositionViewBox { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionViewBox { type Vtable = ICompositionViewBox_Vtbl; } @@ -18196,6 +16468,7 @@ unsafe impl ::core::marker::Send for CompositionViewBox {} unsafe impl ::core::marker::Sync for CompositionViewBox {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionVirtualDrawingSurface(::windows_core::IUnknown); impl CompositionVirtualDrawingSurface { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -18381,25 +16654,9 @@ impl CompositionVirtualDrawingSurface { unsafe { (::windows_core::Interface::vtable(this).Trim)(::windows_core::Interface::as_raw(this), rects.len() as u32, rects.as_ptr()).ok() } } } -impl ::core::cmp::PartialEq for CompositionVirtualDrawingSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionVirtualDrawingSurface {} -impl ::core::fmt::Debug for CompositionVirtualDrawingSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionVirtualDrawingSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionVirtualDrawingSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVirtualDrawingSurface;{a9c384db-8740-4f94-8b9d-b68521e7863d})"); } -impl ::core::clone::Clone for CompositionVirtualDrawingSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionVirtualDrawingSurface { type Vtable = ICompositionVirtualDrawingSurface_Vtbl; } @@ -18420,6 +16677,7 @@ unsafe impl ::core::marker::Send for CompositionVirtualDrawingSurface {} unsafe impl ::core::marker::Sync for CompositionVirtualDrawingSurface {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompositionVisualSurface(::windows_core::IUnknown); impl CompositionVisualSurface { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -18577,25 +16835,9 @@ impl CompositionVisualSurface { unsafe { (::windows_core::Interface::vtable(this).SetSourceSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CompositionVisualSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompositionVisualSurface {} -impl ::core::fmt::Debug for CompositionVisualSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompositionVisualSurface").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompositionVisualSurface { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CompositionVisualSurface;{b224d803-4f6e-4a3f-8cae-3dc1cda74fc6})"); } -impl ::core::clone::Clone for CompositionVisualSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompositionVisualSurface { type Vtable = ICompositionVisualSurface_Vtbl; } @@ -18615,6 +16857,7 @@ unsafe impl ::core::marker::Send for CompositionVisualSurface {} unsafe impl ::core::marker::Sync for CompositionVisualSurface {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Compositor(::windows_core::IUnknown); impl Compositor { pub fn new() -> ::windows_core::Result { @@ -19243,25 +17486,9 @@ impl Compositor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Compositor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Compositor {} -impl ::core::fmt::Debug for Compositor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Compositor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Compositor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Compositor;{b403ca50-7f8c-4e83-985f-cc45060036d8})"); } -impl ::core::clone::Clone for Compositor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Compositor { type Vtable = ICompositor_Vtbl; } @@ -19278,6 +17505,7 @@ unsafe impl ::core::marker::Send for Compositor {} unsafe impl ::core::marker::Sync for Compositor {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContainerVisual(::windows_core::IUnknown); impl ContainerVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -19682,25 +17910,9 @@ impl ContainerVisual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ContainerVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContainerVisual {} -impl ::core::fmt::Debug for ContainerVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContainerVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContainerVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ContainerVisual;{02f6bc74-ed20-4773-afe6-d49b4a93db32})"); } -impl ::core::clone::Clone for ContainerVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContainerVisual { type Vtable = IContainerVisual_Vtbl; } @@ -19720,6 +17932,7 @@ unsafe impl ::core::marker::Send for ContainerVisual {} unsafe impl ::core::marker::Sync for ContainerVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CubicBezierEasingFunction(::windows_core::IUnknown); impl CubicBezierEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -19851,25 +18064,9 @@ impl CubicBezierEasingFunction { } } } -impl ::core::cmp::PartialEq for CubicBezierEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CubicBezierEasingFunction {} -impl ::core::fmt::Debug for CubicBezierEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CubicBezierEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CubicBezierEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.CubicBezierEasingFunction;{32350666-c1e8-44f9-96b8-c98acf0ae698})"); } -impl ::core::clone::Clone for CubicBezierEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CubicBezierEasingFunction { type Vtable = ICubicBezierEasingFunction_Vtbl; } @@ -19889,6 +18086,7 @@ unsafe impl ::core::marker::Send for CubicBezierEasingFunction {} unsafe impl ::core::marker::Sync for CubicBezierEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DelegatedInkTrailVisual(::windows_core::IUnknown); impl DelegatedInkTrailVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -20336,25 +18534,9 @@ impl DelegatedInkTrailVisual { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for DelegatedInkTrailVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DelegatedInkTrailVisual {} -impl ::core::fmt::Debug for DelegatedInkTrailVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DelegatedInkTrailVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DelegatedInkTrailVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DelegatedInkTrailVisual;{856e60b1-e1ab-5b23-8e3d-d513f221c998})"); } -impl ::core::clone::Clone for DelegatedInkTrailVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DelegatedInkTrailVisual { type Vtable = IDelegatedInkTrailVisual_Vtbl; } @@ -20374,6 +18556,7 @@ unsafe impl ::core::marker::Send for DelegatedInkTrailVisual {} unsafe impl ::core::marker::Sync for DelegatedInkTrailVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DistantLight(::windows_core::IUnknown); impl DistantLight { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -20563,25 +18746,9 @@ impl DistantLight { unsafe { (::windows_core::Interface::vtable(this).SetIntensity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DistantLight { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DistantLight {} -impl ::core::fmt::Debug for DistantLight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DistantLight").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DistantLight { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DistantLight;{318cfafc-5ce3-4b55-ab5d-07a00353ac99})"); } -impl ::core::clone::Clone for DistantLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DistantLight { type Vtable = IDistantLight_Vtbl; } @@ -20601,6 +18768,7 @@ unsafe impl ::core::marker::Send for DistantLight {} unsafe impl ::core::marker::Sync for DistantLight {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DropShadow(::windows_core::IUnknown); impl DropShadow { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -20787,25 +18955,9 @@ impl DropShadow { unsafe { (::windows_core::Interface::vtable(this).SetSourcePolicy)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for DropShadow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DropShadow {} -impl ::core::fmt::Debug for DropShadow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DropShadow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DropShadow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.DropShadow;{cb977c07-a154-4851-85e7-a8924c84fad8})"); } -impl ::core::clone::Clone for DropShadow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DropShadow { type Vtable = IDropShadow_Vtbl; } @@ -20825,6 +18977,7 @@ unsafe impl ::core::marker::Send for DropShadow {} unsafe impl ::core::marker::Sync for DropShadow {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ElasticEasingFunction(::windows_core::IUnknown); impl ElasticEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -20959,25 +19112,9 @@ impl ElasticEasingFunction { } } } -impl ::core::cmp::PartialEq for ElasticEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ElasticEasingFunction {} -impl ::core::fmt::Debug for ElasticEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ElasticEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ElasticEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ElasticEasingFunction;{66de6285-054e-5594-8475-c22cb51f1bd5})"); } -impl ::core::clone::Clone for ElasticEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ElasticEasingFunction { type Vtable = IElasticEasingFunction_Vtbl; } @@ -20997,6 +19134,7 @@ unsafe impl ::core::marker::Send for ElasticEasingFunction {} unsafe impl ::core::marker::Sync for ElasticEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExponentialEasingFunction(::windows_core::IUnknown); impl ExponentialEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -21124,25 +19262,9 @@ impl ExponentialEasingFunction { } } } -impl ::core::cmp::PartialEq for ExponentialEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExponentialEasingFunction {} -impl ::core::fmt::Debug for ExponentialEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExponentialEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExponentialEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExponentialEasingFunction;{6f7d1a51-98d2-5638-a34a-00486554c750})"); } -impl ::core::clone::Clone for ExponentialEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExponentialEasingFunction { type Vtable = IExponentialEasingFunction_Vtbl; } @@ -21162,6 +19284,7 @@ unsafe impl ::core::marker::Send for ExponentialEasingFunction {} unsafe impl ::core::marker::Sync for ExponentialEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ExpressionAnimation(::windows_core::IUnknown); impl ExpressionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -21376,25 +19499,9 @@ impl ExpressionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetExpression)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ExpressionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ExpressionAnimation {} -impl ::core::fmt::Debug for ExpressionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ExpressionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ExpressionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ExpressionAnimation;{6acc5431-7d3d-4bf3-abb6-f44bdc4888c1})"); } -impl ::core::clone::Clone for ExpressionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ExpressionAnimation { type Vtable = IExpressionAnimation_Vtbl; } @@ -21415,6 +19522,7 @@ unsafe impl ::core::marker::Send for ExpressionAnimation {} unsafe impl ::core::marker::Sync for ExpressionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ImplicitAnimationCollection(::windows_core::IUnknown); impl ImplicitAnimationCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -21597,25 +19705,9 @@ impl ImplicitAnimationCollection { unsafe { (::windows_core::Interface::vtable(this).Clear)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ImplicitAnimationCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ImplicitAnimationCollection {} -impl ::core::fmt::Debug for ImplicitAnimationCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ImplicitAnimationCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ImplicitAnimationCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ImplicitAnimationCollection;{0598a3ff-0a92-4c9d-a427-b25519250dbf})"); } -impl ::core::clone::Clone for ImplicitAnimationCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ImplicitAnimationCollection { type Vtable = IImplicitAnimationCollection_Vtbl; } @@ -21655,6 +19747,7 @@ unsafe impl ::core::marker::Sync for ImplicitAnimationCollection {} #[doc = "*Required features: `\"UI_Composition\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InitialValueExpressionCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl InitialValueExpressionCollection { @@ -21836,30 +19929,10 @@ impl InitialValueExpressionCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for InitialValueExpressionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for InitialValueExpressionCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for InitialValueExpressionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InitialValueExpressionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for InitialValueExpressionCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InitialValueExpressionCollection;pinterface({3c2925fe-8519-45c1-aa79-197b6718c1c1};string;string))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for InitialValueExpressionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for InitialValueExpressionCollection { type Vtable = super::super::Foundation::Collections::IMap_Vtbl<::windows_core::HSTRING, ::windows_core::HSTRING>; } @@ -21905,6 +19978,7 @@ unsafe impl ::core::marker::Send for InitialValueExpressionCollection {} unsafe impl ::core::marker::Sync for InitialValueExpressionCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InsetClip(::windows_core::IUnknown); impl InsetClip { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -22159,25 +20233,9 @@ impl InsetClip { unsafe { (::windows_core::Interface::vtable(this).SetTopInset)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InsetClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InsetClip {} -impl ::core::fmt::Debug for InsetClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InsetClip").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InsetClip { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.InsetClip;{1e73e647-84c7-477a-b474-5880e0442e15})"); } -impl ::core::clone::Clone for InsetClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InsetClip { type Vtable = IInsetClip_Vtbl; } @@ -22197,6 +20255,7 @@ unsafe impl ::core::marker::Send for InsetClip {} unsafe impl ::core::marker::Sync for InsetClip {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyFrameAnimation(::windows_core::IUnknown); impl KeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -22500,28 +20559,12 @@ impl KeyFrameAnimation { } pub fn SetDelayBehavior(&self, value: AnimationDelayBehavior) -> ::windows_core::Result<()> { let this = &::windows_core::ComInterface::cast::(self)?; - unsafe { (::windows_core::Interface::vtable(this).SetDelayBehavior)(::windows_core::Interface::as_raw(this), value).ok() } - } -} -impl ::core::cmp::PartialEq for KeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyFrameAnimation {} -impl ::core::fmt::Debug for KeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyFrameAnimation").field(&self.0).finish() + unsafe { (::windows_core::Interface::vtable(this).SetDelayBehavior)(::windows_core::Interface::as_raw(this), value).ok() } } } impl ::windows_core::RuntimeType for KeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.KeyFrameAnimation;{126e7f22-3ae9-4540-9a8a-deae8a4a4a84})"); } -impl ::core::clone::Clone for KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyFrameAnimation { type Vtable = IKeyFrameAnimation_Vtbl; } @@ -22542,6 +20585,7 @@ unsafe impl ::core::marker::Send for KeyFrameAnimation {} unsafe impl ::core::marker::Sync for KeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LayerVisual(::windows_core::IUnknown); impl LayerVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -22974,25 +21018,9 @@ impl LayerVisual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for LayerVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LayerVisual {} -impl ::core::fmt::Debug for LayerVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LayerVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LayerVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LayerVisual;{af843985-0444-4887-8e83-b40b253f822c})"); } -impl ::core::clone::Clone for LayerVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LayerVisual { type Vtable = ILayerVisual_Vtbl; } @@ -23013,6 +21041,7 @@ unsafe impl ::core::marker::Send for LayerVisual {} unsafe impl ::core::marker::Sync for LayerVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LinearEasingFunction(::windows_core::IUnknown); impl LinearEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -23126,25 +21155,9 @@ impl LinearEasingFunction { unsafe { (::windows_core::Interface::vtable(this).StartAnimationWithController)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(propertyname), animation.try_into_param()?.abi(), animationcontroller.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for LinearEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for LinearEasingFunction {} -impl ::core::fmt::Debug for LinearEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LinearEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for LinearEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.LinearEasingFunction;{9400975a-c7a6-46b3-acf7-1a268a0a117d})"); } -impl ::core::clone::Clone for LinearEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for LinearEasingFunction { type Vtable = ILinearEasingFunction_Vtbl; } @@ -23164,6 +21177,7 @@ unsafe impl ::core::marker::Send for LinearEasingFunction {} unsafe impl ::core::marker::Sync for LinearEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NaturalMotionAnimation(::windows_core::IUnknown); impl NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -23404,25 +21418,9 @@ impl NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetStopBehavior)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NaturalMotionAnimation {} -impl ::core::fmt::Debug for NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.NaturalMotionAnimation;{438de12d-769b-4821-a949-284a6547e873})"); } -impl ::core::clone::Clone for NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NaturalMotionAnimation { type Vtable = INaturalMotionAnimation_Vtbl; } @@ -23443,6 +21441,7 @@ unsafe impl ::core::marker::Send for NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PathKeyFrameAnimation(::windows_core::IUnknown); impl PathKeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -23764,25 +21763,9 @@ impl PathKeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, path.into_param().abi(), easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for PathKeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PathKeyFrameAnimation {} -impl ::core::fmt::Debug for PathKeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PathKeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PathKeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PathKeyFrameAnimation;{9d0d18c9-1576-4b3f-be60-1d5031f5e71b})"); } -impl ::core::clone::Clone for PathKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PathKeyFrameAnimation { type Vtable = IPathKeyFrameAnimation_Vtbl; } @@ -23804,6 +21787,7 @@ unsafe impl ::core::marker::Send for PathKeyFrameAnimation {} unsafe impl ::core::marker::Sync for PathKeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointLight(::windows_core::IUnknown); impl PointLight { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -24048,25 +22032,9 @@ impl PointLight { unsafe { (::windows_core::Interface::vtable(this).SetMaxAttenuationCutoff)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for PointLight { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointLight {} -impl ::core::fmt::Debug for PointLight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointLight").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointLight { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PointLight;{b18545b3-0c5a-4ab0-bedc-4f3546948272})"); } -impl ::core::clone::Clone for PointLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointLight { type Vtable = IPointLight_Vtbl; } @@ -24086,6 +22054,7 @@ unsafe impl ::core::marker::Send for PointLight {} unsafe impl ::core::marker::Sync for PointLight {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PowerEasingFunction(::windows_core::IUnknown); impl PowerEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -24213,25 +22182,9 @@ impl PowerEasingFunction { } } } -impl ::core::cmp::PartialEq for PowerEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PowerEasingFunction {} -impl ::core::fmt::Debug for PowerEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PowerEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PowerEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.PowerEasingFunction;{c3ff53d6-138b-5815-891a-b7f615ccc563})"); } -impl ::core::clone::Clone for PowerEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PowerEasingFunction { type Vtable = IPowerEasingFunction_Vtbl; } @@ -24251,6 +22204,7 @@ unsafe impl ::core::marker::Send for PowerEasingFunction {} unsafe impl ::core::marker::Sync for PowerEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct QuaternionKeyFrameAnimation(::windows_core::IUnknown); impl QuaternionKeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -24572,25 +22526,9 @@ impl QuaternionKeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, value, easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for QuaternionKeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for QuaternionKeyFrameAnimation {} -impl ::core::fmt::Debug for QuaternionKeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("QuaternionKeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for QuaternionKeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.QuaternionKeyFrameAnimation;{404e5835-ecf6-4240-8520-671279cf36bc})"); } -impl ::core::clone::Clone for QuaternionKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for QuaternionKeyFrameAnimation { type Vtable = IQuaternionKeyFrameAnimation_Vtbl; } @@ -24612,6 +22550,7 @@ unsafe impl ::core::marker::Send for QuaternionKeyFrameAnimation {} unsafe impl ::core::marker::Sync for QuaternionKeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RectangleClip(::windows_core::IUnknown); impl RectangleClip { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -24926,25 +22865,9 @@ impl RectangleClip { unsafe { (::windows_core::Interface::vtable(this).SetTopRightRadius)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for RectangleClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RectangleClip {} -impl ::core::fmt::Debug for RectangleClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RectangleClip").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RectangleClip { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RectangleClip;{b3e7549e-00b4-5b53-8be8-353f6c433101})"); } -impl ::core::clone::Clone for RectangleClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RectangleClip { type Vtable = IRectangleClip_Vtbl; } @@ -24964,6 +22887,7 @@ unsafe impl ::core::marker::Send for RectangleClip {} unsafe impl ::core::marker::Sync for RectangleClip {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RedirectVisual(::windows_core::IUnknown); impl RedirectVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -25382,25 +23306,9 @@ impl RedirectVisual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for RedirectVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RedirectVisual {} -impl ::core::fmt::Debug for RedirectVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RedirectVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RedirectVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RedirectVisual;{8cc6e340-8b75-5422-b06f-09ffe9f8617e})"); } -impl ::core::clone::Clone for RedirectVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RedirectVisual { type Vtable = IRedirectVisual_Vtbl; } @@ -25421,6 +23329,7 @@ unsafe impl ::core::marker::Send for RedirectVisual {} unsafe impl ::core::marker::Sync for RedirectVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RenderingDeviceReplacedEventArgs(::windows_core::IUnknown); impl RenderingDeviceReplacedEventArgs { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -25541,25 +23450,9 @@ impl RenderingDeviceReplacedEventArgs { } } } -impl ::core::cmp::PartialEq for RenderingDeviceReplacedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RenderingDeviceReplacedEventArgs {} -impl ::core::fmt::Debug for RenderingDeviceReplacedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RenderingDeviceReplacedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RenderingDeviceReplacedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.RenderingDeviceReplacedEventArgs;{3a31ac7d-28bf-4e7a-8524-71679d480f38})"); } -impl ::core::clone::Clone for RenderingDeviceReplacedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RenderingDeviceReplacedEventArgs { type Vtable = IRenderingDeviceReplacedEventArgs_Vtbl; } @@ -25578,6 +23471,7 @@ unsafe impl ::core::marker::Send for RenderingDeviceReplacedEventArgs {} unsafe impl ::core::marker::Sync for RenderingDeviceReplacedEventArgs {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScalarKeyFrameAnimation(::windows_core::IUnknown); impl ScalarKeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -25895,25 +23789,9 @@ impl ScalarKeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, value, easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for ScalarKeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScalarKeyFrameAnimation {} -impl ::core::fmt::Debug for ScalarKeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScalarKeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScalarKeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarKeyFrameAnimation;{ae288fa9-252c-4b95-a725-bf85e38000a1})"); } -impl ::core::clone::Clone for ScalarKeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScalarKeyFrameAnimation { type Vtable = IScalarKeyFrameAnimation_Vtbl; } @@ -25935,6 +23813,7 @@ unsafe impl ::core::marker::Send for ScalarKeyFrameAnimation {} unsafe impl ::core::marker::Sync for ScalarKeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScalarNaturalMotionAnimation(::windows_core::IUnknown); impl ScalarNaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -26222,25 +24101,9 @@ impl ScalarNaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ScalarNaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScalarNaturalMotionAnimation {} -impl ::core::fmt::Debug for ScalarNaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScalarNaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScalarNaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ScalarNaturalMotionAnimation;{94a94581-bf92-495b-b5bd-d2c659430737})"); } -impl ::core::clone::Clone for ScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScalarNaturalMotionAnimation { type Vtable = IScalarNaturalMotionAnimation_Vtbl; } @@ -26262,6 +24125,7 @@ unsafe impl ::core::marker::Send for ScalarNaturalMotionAnimation {} unsafe impl ::core::marker::Sync for ScalarNaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShapeVisual(::windows_core::IUnknown); impl ShapeVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -26689,25 +24553,9 @@ impl ShapeVisual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ShapeVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShapeVisual {} -impl ::core::fmt::Debug for ShapeVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShapeVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShapeVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.ShapeVisual;{f2bd13c3-ba7e-4b0f-9126-ffb7536b8176})"); } -impl ::core::clone::Clone for ShapeVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShapeVisual { type Vtable = IShapeVisual_Vtbl; } @@ -26728,6 +24576,7 @@ unsafe impl ::core::marker::Send for ShapeVisual {} unsafe impl ::core::marker::Sync for ShapeVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SineEasingFunction(::windows_core::IUnknown); impl SineEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -26848,25 +24697,9 @@ impl SineEasingFunction { } } } -impl ::core::cmp::PartialEq for SineEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SineEasingFunction {} -impl ::core::fmt::Debug for SineEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SineEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SineEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SineEasingFunction;{f1b518bf-9563-5474-bd13-44b2df4b1d58})"); } -impl ::core::clone::Clone for SineEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SineEasingFunction { type Vtable = ISineEasingFunction_Vtbl; } @@ -26886,6 +24719,7 @@ unsafe impl ::core::marker::Send for SineEasingFunction {} unsafe impl ::core::marker::Sync for SineEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpotLight(::windows_core::IUnknown); impl SpotLight { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -27211,25 +25045,9 @@ impl SpotLight { unsafe { (::windows_core::Interface::vtable(this).SetMaxAttenuationCutoff)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpotLight { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpotLight {} -impl ::core::fmt::Debug for SpotLight { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpotLight").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpotLight { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpotLight;{5a9fe273-44a1-4f95-a422-8fa5116bdb44})"); } -impl ::core::clone::Clone for SpotLight { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpotLight { type Vtable = ISpotLight_Vtbl; } @@ -27249,6 +25067,7 @@ unsafe impl ::core::marker::Send for SpotLight {} unsafe impl ::core::marker::Sync for SpotLight {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpringScalarNaturalMotionAnimation(::windows_core::IUnknown); impl SpringScalarNaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -27562,25 +25381,9 @@ impl SpringScalarNaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetPeriod)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpringScalarNaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpringScalarNaturalMotionAnimation {} -impl ::core::fmt::Debug for SpringScalarNaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpringScalarNaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpringScalarNaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringScalarNaturalMotionAnimation;{0572a95f-37f9-4fbe-b87b-5cd03a89501c})"); } -impl ::core::clone::Clone for SpringScalarNaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpringScalarNaturalMotionAnimation { type Vtable = ISpringScalarNaturalMotionAnimation_Vtbl; } @@ -27603,6 +25406,7 @@ unsafe impl ::core::marker::Send for SpringScalarNaturalMotionAnimation {} unsafe impl ::core::marker::Sync for SpringScalarNaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpringVector2NaturalMotionAnimation(::windows_core::IUnknown); impl SpringVector2NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -27920,25 +25724,9 @@ impl SpringVector2NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpringVector2NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpringVector2NaturalMotionAnimation {} -impl ::core::fmt::Debug for SpringVector2NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpringVector2NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpringVector2NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector2NaturalMotionAnimation;{23f494b5-ee73-4f0f-a423-402b946df4b3})"); } -impl ::core::clone::Clone for SpringVector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpringVector2NaturalMotionAnimation { type Vtable = ISpringVector2NaturalMotionAnimation_Vtbl; } @@ -27961,6 +25749,7 @@ unsafe impl ::core::marker::Send for SpringVector2NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for SpringVector2NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpringVector3NaturalMotionAnimation(::windows_core::IUnknown); impl SpringVector3NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -28278,25 +26067,9 @@ impl SpringVector3NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpringVector3NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpringVector3NaturalMotionAnimation {} -impl ::core::fmt::Debug for SpringVector3NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpringVector3NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpringVector3NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpringVector3NaturalMotionAnimation;{6c8749df-d57b-4794-8e2d-cecb11e194e5})"); } -impl ::core::clone::Clone for SpringVector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpringVector3NaturalMotionAnimation { type Vtable = ISpringVector3NaturalMotionAnimation_Vtbl; } @@ -28319,6 +26092,7 @@ unsafe impl ::core::marker::Send for SpringVector3NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for SpringVector3NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpriteVisual(::windows_core::IUnknown); impl SpriteVisual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -28751,25 +26525,9 @@ impl SpriteVisual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SpriteVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpriteVisual {} -impl ::core::fmt::Debug for SpriteVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpriteVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpriteVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.SpriteVisual;{08e05581-1ad1-4f97-9757-402d76e4233b})"); } -impl ::core::clone::Clone for SpriteVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpriteVisual { type Vtable = ISpriteVisual_Vtbl; } @@ -28790,6 +26548,7 @@ unsafe impl ::core::marker::Send for SpriteVisual {} unsafe impl ::core::marker::Sync for SpriteVisual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StepEasingFunction(::windows_core::IUnknown); impl StepEasingFunction { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -28958,25 +26717,9 @@ impl StepEasingFunction { unsafe { (::windows_core::Interface::vtable(this).SetStepCount)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for StepEasingFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StepEasingFunction {} -impl ::core::fmt::Debug for StepEasingFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StepEasingFunction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StepEasingFunction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.StepEasingFunction;{d0caa74b-560c-4a0b-a5f6-206ca8c3ecd6})"); } -impl ::core::clone::Clone for StepEasingFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StepEasingFunction { type Vtable = IStepEasingFunction_Vtbl; } @@ -28996,6 +26739,7 @@ unsafe impl ::core::marker::Send for StepEasingFunction {} unsafe impl ::core::marker::Sync for StepEasingFunction {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Vector2KeyFrameAnimation(::windows_core::IUnknown); impl Vector2KeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -29317,25 +27061,9 @@ impl Vector2KeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, value, easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for Vector2KeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Vector2KeyFrameAnimation {} -impl ::core::fmt::Debug for Vector2KeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Vector2KeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Vector2KeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2KeyFrameAnimation;{df414515-4e29-4f11-b55e-bf2a6eb36294})"); } -impl ::core::clone::Clone for Vector2KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Vector2KeyFrameAnimation { type Vtable = IVector2KeyFrameAnimation_Vtbl; } @@ -29357,6 +27085,7 @@ unsafe impl ::core::marker::Send for Vector2KeyFrameAnimation {} unsafe impl ::core::marker::Sync for Vector2KeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Vector2NaturalMotionAnimation(::windows_core::IUnknown); impl Vector2NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -29648,25 +27377,9 @@ impl Vector2NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Vector2NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Vector2NaturalMotionAnimation {} -impl ::core::fmt::Debug for Vector2NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Vector2NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Vector2NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector2NaturalMotionAnimation;{0f3e0b7d-e512-479d-a00c-77c93a30a395})"); } -impl ::core::clone::Clone for Vector2NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Vector2NaturalMotionAnimation { type Vtable = IVector2NaturalMotionAnimation_Vtbl; } @@ -29688,6 +27401,7 @@ unsafe impl ::core::marker::Send for Vector2NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for Vector2NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Vector3KeyFrameAnimation(::windows_core::IUnknown); impl Vector3KeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -30009,25 +27723,9 @@ impl Vector3KeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, value, easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for Vector3KeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Vector3KeyFrameAnimation {} -impl ::core::fmt::Debug for Vector3KeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Vector3KeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Vector3KeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3KeyFrameAnimation;{c8039daa-a281-43c2-a73d-b68e3c533c40})"); } -impl ::core::clone::Clone for Vector3KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Vector3KeyFrameAnimation { type Vtable = IVector3KeyFrameAnimation_Vtbl; } @@ -30049,6 +27747,7 @@ unsafe impl ::core::marker::Send for Vector3KeyFrameAnimation {} unsafe impl ::core::marker::Sync for Vector3KeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Vector3NaturalMotionAnimation(::windows_core::IUnknown); impl Vector3NaturalMotionAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -30340,25 +28039,9 @@ impl Vector3NaturalMotionAnimation { unsafe { (::windows_core::Interface::vtable(this).SetInitialVelocity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Vector3NaturalMotionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Vector3NaturalMotionAnimation {} -impl ::core::fmt::Debug for Vector3NaturalMotionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Vector3NaturalMotionAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Vector3NaturalMotionAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector3NaturalMotionAnimation;{9c17042c-e2ca-45ad-969e-4e78b7b9ad41})"); } -impl ::core::clone::Clone for Vector3NaturalMotionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Vector3NaturalMotionAnimation { type Vtable = IVector3NaturalMotionAnimation_Vtbl; } @@ -30380,6 +28063,7 @@ unsafe impl ::core::marker::Send for Vector3NaturalMotionAnimation {} unsafe impl ::core::marker::Sync for Vector3NaturalMotionAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Vector4KeyFrameAnimation(::windows_core::IUnknown); impl Vector4KeyFrameAnimation { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -30701,25 +28385,9 @@ impl Vector4KeyFrameAnimation { unsafe { (::windows_core::Interface::vtable(this).InsertKeyFrameWithEasingFunction)(::windows_core::Interface::as_raw(this), normalizedprogresskey, value, easingfunction.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for Vector4KeyFrameAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Vector4KeyFrameAnimation {} -impl ::core::fmt::Debug for Vector4KeyFrameAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Vector4KeyFrameAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Vector4KeyFrameAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Vector4KeyFrameAnimation;{2457945b-addd-4385-9606-b6a3d5e4e1b9})"); } -impl ::core::clone::Clone for Vector4KeyFrameAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Vector4KeyFrameAnimation { type Vtable = IVector4KeyFrameAnimation_Vtbl; } @@ -30741,6 +28409,7 @@ unsafe impl ::core::marker::Send for Vector4KeyFrameAnimation {} unsafe impl ::core::marker::Sync for Vector4KeyFrameAnimation {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Visual(::windows_core::IUnknown); impl Visual { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -31138,25 +28807,9 @@ impl Visual { unsafe { (::windows_core::Interface::vtable(this).SetIsPixelSnappingEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for Visual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Visual {} -impl ::core::fmt::Debug for Visual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Visual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Visual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.Visual;{117e202d-a859-4c89-873b-c2aa566788e3})"); } -impl ::core::clone::Clone for Visual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Visual { type Vtable = IVisual_Vtbl; } @@ -31175,6 +28828,7 @@ unsafe impl ::core::marker::Send for Visual {} unsafe impl ::core::marker::Sync for Visual {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualCollection(::windows_core::IUnknown); impl VisualCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -31345,25 +28999,9 @@ impl VisualCollection { unsafe { (::windows_core::Interface::vtable(this).RemoveAll)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for VisualCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualCollection {} -impl ::core::fmt::Debug for VisualCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualCollection;{8b745505-fd3e-4a98-84a8-e949468c6bcb})"); } -impl ::core::clone::Clone for VisualCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualCollection { type Vtable = IVisualCollection_Vtbl; } @@ -31400,6 +29038,7 @@ unsafe impl ::core::marker::Send for VisualCollection {} unsafe impl ::core::marker::Sync for VisualCollection {} #[doc = "*Required features: `\"UI_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualUnorderedCollection(::windows_core::IUnknown); impl VisualUnorderedCollection { pub fn PopulatePropertyInfo(&self, propertyname: &::windows_core::HSTRING, propertyinfo: P0) -> ::windows_core::Result<()> @@ -31547,25 +29186,9 @@ impl VisualUnorderedCollection { unsafe { (::windows_core::Interface::vtable(this).RemoveAll)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for VisualUnorderedCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualUnorderedCollection {} -impl ::core::fmt::Debug for VisualUnorderedCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualUnorderedCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualUnorderedCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Composition.VisualUnorderedCollection;{338faa70-54c8-40a7-8029-c9ceeb0aa250})"); } -impl ::core::clone::Clone for VisualUnorderedCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualUnorderedCollection { type Vtable = IVisualUnorderedCollection_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs index 8adb66308e..31211fdd60 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs @@ -78,7 +78,7 @@ impl IPropertyAnimation_Vtbl { Control2: Control2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs index f9f9c826c3..1ea00e3324 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationDescription(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationDescription { type Vtable = IAnimationDescription_Vtbl; } -impl ::core::clone::Clone for IAnimationDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d11a549_be3d_41de_b081_05c149962f9b); } @@ -33,15 +29,11 @@ pub struct IAnimationDescription_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnimationDescriptionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAnimationDescriptionFactory { type Vtable = IAnimationDescriptionFactory_Vtbl; } -impl ::core::clone::Clone for IAnimationDescriptionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnimationDescriptionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e27abe_c1fb_48b5_9271_ecc70ac86ef0); } @@ -53,15 +45,11 @@ pub struct IAnimationDescriptionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpacityAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOpacityAnimation { type Vtable = IOpacityAnimation_Vtbl; } -impl ::core::clone::Clone for IOpacityAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpacityAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x803aabe5_ee7e_455f_84e9_2506afb8d2b4); } @@ -77,6 +65,7 @@ pub struct IOpacityAnimation_Vtbl { } #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyAnimation(::windows_core::IUnknown); impl IPropertyAnimation { pub fn Type(&self) -> ::windows_core::Result { @@ -124,28 +113,12 @@ impl IPropertyAnimation { } } ::windows_core::imp::interface_hierarchy!(IPropertyAnimation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPropertyAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyAnimation {} -impl ::core::fmt::Debug for IPropertyAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPropertyAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3a01b4da-4d8c-411e-b615-1ade683a9903}"); } unsafe impl ::windows_core::Interface for IPropertyAnimation { type Vtable = IPropertyAnimation_Vtbl; } -impl ::core::clone::Clone for IPropertyAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a01b4da_4d8c_411e_b615_1ade683a9903); } @@ -173,15 +146,11 @@ pub struct IPropertyAnimation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScaleAnimation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScaleAnimation { type Vtable = IScaleAnimation_Vtbl; } -impl ::core::clone::Clone for IScaleAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScaleAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x023552c7_71ab_428c_9c9f_d31780964995); } @@ -206,6 +175,7 @@ pub struct IScaleAnimation_Vtbl { } #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AnimationDescription(::windows_core::IUnknown); impl AnimationDescription { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -261,25 +231,9 @@ impl AnimationDescription { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AnimationDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AnimationDescription {} -impl ::core::fmt::Debug for AnimationDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AnimationDescription").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AnimationDescription { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.AnimationDescription;{7d11a549-be3d-41de-b081-05c149962f9b})"); } -impl ::core::clone::Clone for AnimationDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AnimationDescription { type Vtable = IAnimationDescription_Vtbl; } @@ -294,6 +248,7 @@ unsafe impl ::core::marker::Send for AnimationDescription {} unsafe impl ::core::marker::Sync for AnimationDescription {} #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OpacityAnimation(::windows_core::IUnknown); impl OpacityAnimation { #[doc = "*Required features: `\"Foundation\"`*"] @@ -356,25 +311,9 @@ impl OpacityAnimation { } } } -impl ::core::cmp::PartialEq for OpacityAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OpacityAnimation {} -impl ::core::fmt::Debug for OpacityAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OpacityAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for OpacityAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.OpacityAnimation;{803aabe5-ee7e-455f-84e9-2506afb8d2b4})"); } -impl ::core::clone::Clone for OpacityAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for OpacityAnimation { type Vtable = IOpacityAnimation_Vtbl; } @@ -390,6 +329,7 @@ unsafe impl ::core::marker::Send for OpacityAnimation {} unsafe impl ::core::marker::Sync for OpacityAnimation {} #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PropertyAnimation(::windows_core::IUnknown); impl PropertyAnimation { pub fn Type(&self) -> ::windows_core::Result { @@ -436,25 +376,9 @@ impl PropertyAnimation { } } } -impl ::core::cmp::PartialEq for PropertyAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PropertyAnimation {} -impl ::core::fmt::Debug for PropertyAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PropertyAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PropertyAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.PropertyAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); } -impl ::core::clone::Clone for PropertyAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PropertyAnimation { type Vtable = IPropertyAnimation_Vtbl; } @@ -470,6 +394,7 @@ unsafe impl ::core::marker::Send for PropertyAnimation {} unsafe impl ::core::marker::Sync for PropertyAnimation {} #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScaleAnimation(::windows_core::IUnknown); impl ScaleAnimation { pub fn Type(&self) -> ::windows_core::Result { @@ -557,25 +482,9 @@ impl ScaleAnimation { } } } -impl ::core::cmp::PartialEq for ScaleAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScaleAnimation {} -impl ::core::fmt::Debug for ScaleAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScaleAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScaleAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.ScaleAnimation;{023552c7-71ab-428c-9c9f-d31780964995})"); } -impl ::core::clone::Clone for ScaleAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScaleAnimation { type Vtable = IScaleAnimation_Vtbl; } @@ -591,6 +500,7 @@ unsafe impl ::core::marker::Send for ScaleAnimation {} unsafe impl ::core::marker::Sync for ScaleAnimation {} #[doc = "*Required features: `\"UI_Core_AnimationMetrics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TranslationAnimation(::windows_core::IUnknown); impl TranslationAnimation { pub fn Type(&self) -> ::windows_core::Result { @@ -637,25 +547,9 @@ impl TranslationAnimation { } } } -impl ::core::cmp::PartialEq for TranslationAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TranslationAnimation {} -impl ::core::fmt::Debug for TranslationAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TranslationAnimation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TranslationAnimation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AnimationMetrics.TranslationAnimation;{3a01b4da-4d8c-411e-b615-1ade683a9903})"); } -impl ::core::clone::Clone for TranslationAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TranslationAnimation { type Vtable = IPropertyAnimation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs index a2305b62f8..583da00662 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAppWindowPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAppWindowPreview { type Vtable = ICoreAppWindowPreview_Vtbl; } -impl ::core::clone::Clone for ICoreAppWindowPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAppWindowPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4f6e665_365e_5fde_87a5_9543c3a15aa8); } @@ -19,15 +15,11 @@ pub struct ICoreAppWindowPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAppWindowPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAppWindowPreviewStatics { type Vtable = ICoreAppWindowPreviewStatics_Vtbl; } -impl ::core::clone::Clone for ICoreAppWindowPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAppWindowPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ac21be_423b_5db6_8a8e_4dc87353b75b); } @@ -42,15 +34,11 @@ pub struct ICoreAppWindowPreviewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationCloseRequestedPreviewEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationCloseRequestedPreviewEventArgs { type Vtable = ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationCloseRequestedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationCloseRequestedPreviewEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83d00de1_cbe5_4f31_8414_361da046518f); } @@ -67,15 +55,11 @@ pub struct ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationManagerPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationManagerPreview { type Vtable = ISystemNavigationManagerPreview_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationManagerPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationManagerPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec5f0488_6425_4777_a536_cb5634427f0d); } @@ -94,15 +78,11 @@ pub struct ISystemNavigationManagerPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationManagerPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationManagerPreviewStatics { type Vtable = ISystemNavigationManagerPreviewStatics_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationManagerPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationManagerPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e971360_df74_4bce_84cb_bd1181ac0a71); } @@ -114,6 +94,7 @@ pub struct ISystemNavigationManagerPreviewStatics_Vtbl { } #[doc = "*Required features: `\"UI_Core_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreAppWindowPreview(::windows_core::IUnknown); impl CoreAppWindowPreview { #[doc = "*Required features: `\"UI_WindowManagement\"`*"] @@ -133,25 +114,9 @@ impl CoreAppWindowPreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreAppWindowPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreAppWindowPreview {} -impl ::core::fmt::Debug for CoreAppWindowPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreAppWindowPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreAppWindowPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.CoreAppWindowPreview;{a4f6e665-365e-5fde-87a5-9543c3a15aa8})"); } -impl ::core::clone::Clone for CoreAppWindowPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreAppWindowPreview { type Vtable = ICoreAppWindowPreview_Vtbl; } @@ -166,6 +131,7 @@ unsafe impl ::core::marker::Send for CoreAppWindowPreview {} unsafe impl ::core::marker::Sync for CoreAppWindowPreview {} #[doc = "*Required features: `\"UI_Core_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemNavigationCloseRequestedPreviewEventArgs(::windows_core::IUnknown); impl SystemNavigationCloseRequestedPreviewEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -189,25 +155,9 @@ impl SystemNavigationCloseRequestedPreviewEventArgs { } } } -impl ::core::cmp::PartialEq for SystemNavigationCloseRequestedPreviewEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemNavigationCloseRequestedPreviewEventArgs {} -impl ::core::fmt::Debug for SystemNavigationCloseRequestedPreviewEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemNavigationCloseRequestedPreviewEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemNavigationCloseRequestedPreviewEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationCloseRequestedPreviewEventArgs;{83d00de1-cbe5-4f31-8414-361da046518f})"); } -impl ::core::clone::Clone for SystemNavigationCloseRequestedPreviewEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemNavigationCloseRequestedPreviewEventArgs { type Vtable = ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl; } @@ -222,6 +172,7 @@ unsafe impl ::core::marker::Send for SystemNavigationCloseRequestedPreviewEventA unsafe impl ::core::marker::Sync for SystemNavigationCloseRequestedPreviewEventArgs {} #[doc = "*Required features: `\"UI_Core_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemNavigationManagerPreview(::windows_core::IUnknown); impl SystemNavigationManagerPreview { #[doc = "*Required features: `\"Foundation\"`*"] @@ -254,25 +205,9 @@ impl SystemNavigationManagerPreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemNavigationManagerPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemNavigationManagerPreview {} -impl ::core::fmt::Debug for SystemNavigationManagerPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemNavigationManagerPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemNavigationManagerPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.Preview.SystemNavigationManagerPreview;{ec5f0488-6425-4777-a536-cb5634427f0d})"); } -impl ::core::clone::Clone for SystemNavigationManagerPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemNavigationManagerPreview { type Vtable = ISystemNavigationManagerPreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/Core/impl.rs index 60fe869964..2b2f2d3316 100644 --- a/crates/libs/windows/src/Windows/UI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/impl.rs @@ -33,8 +33,8 @@ impl ICoreAcceleratorKeys_Vtbl { RemoveAcceleratorKeyActivated: RemoveAcceleratorKeyActivated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -106,8 +106,8 @@ impl ICoreInputSourceBase_Vtbl { RemoveInputEnabled: RemoveInputEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl ICorePointerInputSource_Vtbl { RemovePointerWheelChanged: RemovePointerWheelChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"System\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl ICorePointerInputSource2_Vtbl { DispatcherQueue: DispatcherQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -438,8 +438,8 @@ impl ICorePointerRedirector_Vtbl { RemovePointerRoutedReleased: RemovePointerRoutedReleased::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation_Collections\"`, `\"System\"`, `\"implement\"`*"] @@ -993,8 +993,8 @@ impl ICoreWindow_Vtbl { RemoveVisibilityChanged: RemoveVisibilityChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"implement\"`*"] @@ -1029,8 +1029,8 @@ impl ICoreWindowEventArgs_Vtbl { SetHandled: SetHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"implement\"`*"] @@ -1052,7 +1052,7 @@ impl IInitializeWithCoreWindow_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 9935805d8a..5e48c7b2be 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -4,15 +4,11 @@ pub mod AnimationMetrics; pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAcceleratorKeyEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAcceleratorKeyEventArgs { type Vtable = IAcceleratorKeyEventArgs_Vtbl; } -impl ::core::clone::Clone for IAcceleratorKeyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAcceleratorKeyEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff1c4c4a_9287_470b_836e_9086e3126ade); } @@ -29,15 +25,11 @@ pub struct IAcceleratorKeyEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAcceleratorKeyEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAcceleratorKeyEventArgs2 { type Vtable = IAcceleratorKeyEventArgs2_Vtbl; } -impl ::core::clone::Clone for IAcceleratorKeyEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAcceleratorKeyEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd300a9f6_2f7e_4873_a555_166e596ee1c5); } @@ -49,15 +41,11 @@ pub struct IAcceleratorKeyEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationProviderRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationProviderRequestedEventArgs { type Vtable = IAutomationProviderRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAutomationProviderRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationProviderRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x961ff258_21bf_4b42_a298_fa479d4c52e2); } @@ -70,15 +58,11 @@ pub struct IAutomationProviderRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBackRequestedEventArgs { type Vtable = IBackRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IBackRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd603d28a_e411_4a4e_ba41_6a327a8675bc); } @@ -91,15 +75,11 @@ pub struct IBackRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICharacterReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICharacterReceivedEventArgs { type Vtable = ICharacterReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICharacterReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICharacterReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc584659f_99b2_4bcc_bd33_04e63f42902e); } @@ -112,15 +92,11 @@ pub struct ICharacterReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClosestInteractiveBoundsRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClosestInteractiveBoundsRequestedEventArgs { type Vtable = IClosestInteractiveBoundsRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IClosestInteractiveBoundsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClosestInteractiveBoundsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x347c11d7_f6f8_40e3_b29f_ae50d3e86486); } @@ -147,6 +123,7 @@ pub struct IClosestInteractiveBoundsRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAcceleratorKeys(::windows_core::IUnknown); impl ICoreAcceleratorKeys { #[doc = "*Required features: `\"Foundation\"`*"] @@ -169,28 +146,12 @@ impl ICoreAcceleratorKeys { } } ::windows_core::imp::interface_hierarchy!(ICoreAcceleratorKeys, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreAcceleratorKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreAcceleratorKeys {} -impl ::core::fmt::Debug for ICoreAcceleratorKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreAcceleratorKeys").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreAcceleratorKeys { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8}"); } unsafe impl ::windows_core::Interface for ICoreAcceleratorKeys { type Vtable = ICoreAcceleratorKeys_Vtbl; } -impl ::core::clone::Clone for ICoreAcceleratorKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAcceleratorKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ffdf7f5_b8c9_4ef0_b7d2_1de626561fc8); } @@ -209,15 +170,11 @@ pub struct ICoreAcceleratorKeys_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreClosestInteractiveBoundsRequested(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreClosestInteractiveBoundsRequested { type Vtable = ICoreClosestInteractiveBoundsRequested_Vtbl; } -impl ::core::clone::Clone for ICoreClosestInteractiveBoundsRequested { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreClosestInteractiveBoundsRequested { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf303043a_e8bf_4e8e_ae69_c9dadd57a114); } @@ -236,15 +193,11 @@ pub struct ICoreClosestInteractiveBoundsRequested_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreComponentFocusable(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreComponentFocusable { type Vtable = ICoreComponentFocusable_Vtbl; } -impl ::core::clone::Clone for ICoreComponentFocusable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreComponentFocusable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52f96fa3_8742_4411_ae69_79a85f29ac8b); } @@ -272,15 +225,11 @@ pub struct ICoreComponentFocusable_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreCursor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreCursor { type Vtable = ICoreCursor_Vtbl; } -impl ::core::clone::Clone for ICoreCursor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreCursor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96893acf_111d_442c_8a77_b87992f8e2d6); } @@ -293,15 +242,11 @@ pub struct ICoreCursor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreCursorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreCursorFactory { type Vtable = ICoreCursorFactory_Vtbl; } -impl ::core::clone::Clone for ICoreCursorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreCursorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6359621_a79d_4ed3_8c32_a9ef9d6b76a4); } @@ -313,15 +258,11 @@ pub struct ICoreCursorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDispatcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDispatcher { type Vtable = ICoreDispatcher_Vtbl; } -impl ::core::clone::Clone for ICoreDispatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDispatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60db2fa8_b705_4fde_a7d6_ebbb1891d39e); } @@ -342,15 +283,11 @@ pub struct ICoreDispatcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDispatcher2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDispatcher2 { type Vtable = ICoreDispatcher2_Vtbl; } -impl ::core::clone::Clone for ICoreDispatcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDispatcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f5e63c7_e3aa_4eae_b0e0_dcf321ca4b2f); } @@ -369,15 +306,11 @@ pub struct ICoreDispatcher2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreDispatcherWithTaskPriority(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreDispatcherWithTaskPriority { type Vtable = ICoreDispatcherWithTaskPriority_Vtbl; } -impl ::core::clone::Clone for ICoreDispatcherWithTaskPriority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreDispatcherWithTaskPriority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbafaecad_484d_41be_ba80_1d58c65263ea); } @@ -393,15 +326,11 @@ pub struct ICoreDispatcherWithTaskPriority_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreIndependentInputSourceController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreIndependentInputSourceController { type Vtable = ICoreIndependentInputSourceController_Vtbl; } -impl ::core::clone::Clone for ICoreIndependentInputSourceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreIndependentInputSourceController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0963261c_84fe_578a_83ca_6425309ccde4); } @@ -419,15 +348,11 @@ pub struct ICoreIndependentInputSourceController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreIndependentInputSourceControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreIndependentInputSourceControllerStatics { type Vtable = ICoreIndependentInputSourceControllerStatics_Vtbl; } -impl ::core::clone::Clone for ICoreIndependentInputSourceControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreIndependentInputSourceControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3edc4e20_9a8a_5691_8586_fca4cb57526d); } @@ -446,6 +371,7 @@ pub struct ICoreIndependentInputSourceControllerStatics_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputSourceBase(::windows_core::IUnknown); impl ICoreInputSourceBase { pub fn Dispatcher(&self) -> ::windows_core::Result { @@ -486,28 +412,12 @@ impl ICoreInputSourceBase { } } ::windows_core::imp::interface_hierarchy!(ICoreInputSourceBase, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreInputSourceBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreInputSourceBase {} -impl ::core::fmt::Debug for ICoreInputSourceBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreInputSourceBase").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreInputSourceBase { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9f488807-4580-4be8-be68-92a9311713bb}"); } unsafe impl ::windows_core::Interface for ICoreInputSourceBase { type Vtable = ICoreInputSourceBase_Vtbl; } -impl ::core::clone::Clone for ICoreInputSourceBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputSourceBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f488807_4580_4be8_be68_92a9311713bb); } @@ -529,15 +439,11 @@ pub struct ICoreInputSourceBase_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreKeyboardInputSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreKeyboardInputSource { type Vtable = ICoreKeyboardInputSource_Vtbl; } -impl ::core::clone::Clone for ICoreKeyboardInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreKeyboardInputSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x231c9088_e469_4df1_b208_6e490d71cb90); } @@ -576,15 +482,11 @@ pub struct ICoreKeyboardInputSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreKeyboardInputSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreKeyboardInputSource2 { type Vtable = ICoreKeyboardInputSource2_Vtbl; } -impl ::core::clone::Clone for ICoreKeyboardInputSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreKeyboardInputSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa24cb94_f963_47a5_8778_207c482b0afd); } @@ -596,6 +498,7 @@ pub struct ICoreKeyboardInputSource2_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorePointerInputSource(::windows_core::IUnknown); impl ICorePointerInputSource { pub fn ReleasePointerCapture(&self) -> ::windows_core::Result<()> { @@ -764,28 +667,12 @@ impl ICorePointerInputSource { } } ::windows_core::imp::interface_hierarchy!(ICorePointerInputSource, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICorePointerInputSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorePointerInputSource {} -impl ::core::fmt::Debug for ICorePointerInputSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorePointerInputSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICorePointerInputSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{bbf1bb18-e47a-48eb-8807-f8f8d3ea4551}"); } unsafe impl ::windows_core::Interface for ICorePointerInputSource { type Vtable = ICorePointerInputSource_Vtbl; } -impl ::core::clone::Clone for ICorePointerInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorePointerInputSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbf1bb18_e47a_48eb_8807_f8f8d3ea4551); } @@ -861,6 +748,7 @@ pub struct ICorePointerInputSource_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorePointerInputSource2(::windows_core::IUnknown); impl ICorePointerInputSource2 { #[doc = "*Required features: `\"System\"`*"] @@ -1039,28 +927,12 @@ impl ICorePointerInputSource2 { } ::windows_core::imp::interface_hierarchy!(ICorePointerInputSource2, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ICorePointerInputSource2 {} -impl ::core::cmp::PartialEq for ICorePointerInputSource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorePointerInputSource2 {} -impl ::core::fmt::Debug for ICorePointerInputSource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorePointerInputSource2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICorePointerInputSource2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d703708a-4516-4786-b1e5-2751d563f997}"); } unsafe impl ::windows_core::Interface for ICorePointerInputSource2 { type Vtable = ICorePointerInputSource2_Vtbl; } -impl ::core::clone::Clone for ICorePointerInputSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorePointerInputSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd703708a_4516_4786_b1e5_2751d563f997); } @@ -1075,6 +947,7 @@ pub struct ICorePointerInputSource2_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorePointerRedirector(::windows_core::IUnknown); impl ICorePointerRedirector { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1133,28 +1006,12 @@ impl ICorePointerRedirector { } } ::windows_core::imp::interface_hierarchy!(ICorePointerRedirector, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICorePointerRedirector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorePointerRedirector {} -impl ::core::fmt::Debug for ICorePointerRedirector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorePointerRedirector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICorePointerRedirector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{8f9d0c94-5688-4b0c-a9f1-f931f7fa3dc3}"); } unsafe impl ::windows_core::Interface for ICorePointerRedirector { type Vtable = ICorePointerRedirector_Vtbl; } -impl ::core::clone::Clone for ICorePointerRedirector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorePointerRedirector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f9d0c94_5688_4b0c_a9f1_f931f7fa3dc3); } @@ -1189,15 +1046,11 @@ pub struct ICorePointerRedirector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTouchHitTesting(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTouchHitTesting { type Vtable = ICoreTouchHitTesting_Vtbl; } -impl ::core::clone::Clone for ICoreTouchHitTesting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTouchHitTesting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1d8a289_3acf_4124_9fa3_ea8aba353c21); } @@ -1216,6 +1069,7 @@ pub struct ICoreTouchHitTesting_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindow(::windows_core::IUnknown); impl ICoreWindow { pub fn AutomationHostProvider(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -1644,28 +1498,12 @@ impl ICoreWindow { } } ::windows_core::imp::interface_hierarchy!(ICoreWindow, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreWindow {} -impl ::core::fmt::Debug for ICoreWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{79b9d5f2-879e-4b89-b798-79e47598030c}"); } unsafe impl ::windows_core::Interface for ICoreWindow { type Vtable = ICoreWindow_Vtbl; } -impl ::core::clone::Clone for ICoreWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79b9d5f2_879e_4b89_b798_79e47598030c); } @@ -1845,15 +1683,11 @@ pub struct ICoreWindow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindow2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindow2 { type Vtable = ICoreWindow2_Vtbl; } -impl ::core::clone::Clone for ICoreWindow2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindow2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c2b1b85_6917_4361_9c02_0d9e3a420b95); } @@ -1868,15 +1702,11 @@ pub struct ICoreWindow2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindow3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindow3 { type Vtable = ICoreWindow3_Vtbl; } -impl ::core::clone::Clone for ICoreWindow3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindow3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32c20dd8_faef_4375_a2ab_32640e4815c7); } @@ -1896,15 +1726,11 @@ pub struct ICoreWindow3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindow4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindow4 { type Vtable = ICoreWindow4_Vtbl; } -impl ::core::clone::Clone for ICoreWindow4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindow4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35caf0d0_47f0_436c_af97_0dd88f6f5f02); } @@ -1931,15 +1757,11 @@ pub struct ICoreWindow4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindow5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindow5 { type Vtable = ICoreWindow5_Vtbl; } -impl ::core::clone::Clone for ICoreWindow5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindow5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b4ae1e1_2e6d_4eaa_bda1_1c5cc1bee141); } @@ -1955,15 +1777,11 @@ pub struct ICoreWindow5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowDialog(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowDialog { type Vtable = ICoreWindowDialog_Vtbl; } -impl ::core::clone::Clone for ICoreWindowDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7392ce0_c78d_427e_8b2c_01ff420c69d5); } @@ -2014,15 +1832,11 @@ pub struct ICoreWindowDialog_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowDialogFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowDialogFactory { type Vtable = ICoreWindowDialogFactory_Vtbl; } -impl ::core::clone::Clone for ICoreWindowDialogFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowDialogFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfb2a855_1c59_4b13_b1e5_16e29805f7c4); } @@ -2034,6 +1848,7 @@ pub struct ICoreWindowDialogFactory_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowEventArgs(::windows_core::IUnknown); impl ICoreWindowEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -2049,28 +1864,12 @@ impl ICoreWindowEventArgs { } } ::windows_core::imp::interface_hierarchy!(ICoreWindowEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreWindowEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreWindowEventArgs {} -impl ::core::fmt::Debug for ICoreWindowEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreWindowEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreWindowEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{272b1ef3-c633-4da5-a26c-c6d0f56b29da}"); } unsafe impl ::windows_core::Interface for ICoreWindowEventArgs { type Vtable = ICoreWindowEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreWindowEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x272b1ef3_c633_4da5_a26c_c6d0f56b29da); } @@ -2083,15 +1882,11 @@ pub struct ICoreWindowEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowFlyout(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowFlyout { type Vtable = ICoreWindowFlyout_Vtbl; } -impl ::core::clone::Clone for ICoreWindowFlyout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowFlyout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe89d854d_2050_40bb_b344_f6f355eeb314); } @@ -2140,15 +1935,11 @@ pub struct ICoreWindowFlyout_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowFlyoutFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowFlyoutFactory { type Vtable = ICoreWindowFlyoutFactory_Vtbl; } -impl ::core::clone::Clone for ICoreWindowFlyoutFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowFlyoutFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdec4c6c4_93e8_4f7c_be27_cefaa1af68a7); } @@ -2167,15 +1958,11 @@ pub struct ICoreWindowFlyoutFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowPopupShowingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowPopupShowingEventArgs { type Vtable = ICoreWindowPopupShowingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreWindowPopupShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowPopupShowingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26155fa2_5ba5_4ea4_a3b4_2dc7d63c8e26); } @@ -2190,15 +1977,11 @@ pub struct ICoreWindowPopupShowingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowResizeManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowResizeManager { type Vtable = ICoreWindowResizeManager_Vtbl; } -impl ::core::clone::Clone for ICoreWindowResizeManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowResizeManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8f0b925_b350_48b3_a198_5c1a84700243); } @@ -2210,15 +1993,11 @@ pub struct ICoreWindowResizeManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowResizeManagerLayoutCapability(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowResizeManagerLayoutCapability { type Vtable = ICoreWindowResizeManagerLayoutCapability_Vtbl; } -impl ::core::clone::Clone for ICoreWindowResizeManagerLayoutCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowResizeManagerLayoutCapability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb74f27b_a544_4301_80e6_0ae033ef4536); } @@ -2231,15 +2010,11 @@ pub struct ICoreWindowResizeManagerLayoutCapability_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowResizeManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowResizeManagerStatics { type Vtable = ICoreWindowResizeManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICoreWindowResizeManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowResizeManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae4a9045_6d70_49db_8e68_46ffbd17d38d); } @@ -2251,15 +2026,11 @@ pub struct ICoreWindowResizeManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowStatic(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowStatic { type Vtable = ICoreWindowStatic_Vtbl; } -impl ::core::clone::Clone for ICoreWindowStatic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowStatic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d239005_3c2a_41b1_9022_536bb9cf93b1); } @@ -2271,15 +2042,11 @@ pub struct ICoreWindowStatic_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowWithContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWindowWithContext { type Vtable = ICoreWindowWithContext_Vtbl; } -impl ::core::clone::Clone for ICoreWindowWithContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowWithContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ac40241_3575_4c3b_af66_e8c529d4d06c); } @@ -2291,15 +2058,11 @@ pub struct ICoreWindowWithContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdleDispatchedHandlerArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IIdleDispatchedHandlerArgs { type Vtable = IIdleDispatchedHandlerArgs_Vtbl; } -impl ::core::clone::Clone for IIdleDispatchedHandlerArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdleDispatchedHandlerArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98bb6a24_dc1c_43cb_b4ed_d1c0eb2391f3); } @@ -2311,6 +2074,7 @@ pub struct IIdleDispatchedHandlerArgs_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithCoreWindow(::windows_core::IUnknown); impl IInitializeWithCoreWindow { pub fn Initialize(&self, window: P0) -> ::windows_core::Result<()> @@ -2322,28 +2086,12 @@ impl IInitializeWithCoreWindow { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithCoreWindow, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInitializeWithCoreWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithCoreWindow {} -impl ::core::fmt::Debug for IInitializeWithCoreWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithCoreWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInitializeWithCoreWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{188f20d6-9873-464a-ace5-57e010f465e6}"); } unsafe impl ::windows_core::Interface for IInitializeWithCoreWindow { type Vtable = IInitializeWithCoreWindow_Vtbl; } -impl ::core::clone::Clone for IInitializeWithCoreWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithCoreWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x188f20d6_9873_464a_ace5_57e010f465e6); } @@ -2355,15 +2103,11 @@ pub struct IInitializeWithCoreWindow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputEnabledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputEnabledEventArgs { type Vtable = IInputEnabledEventArgs_Vtbl; } -impl ::core::clone::Clone for IInputEnabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputEnabledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80371d4f_2fd8_4c24_aa86_3163a87b4e5a); } @@ -2375,15 +2119,11 @@ pub struct IInputEnabledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyEventArgs { type Vtable = IKeyEventArgs_Vtbl; } -impl ::core::clone::Clone for IKeyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ff5e930_2544_4a17_bd78_1f2fdebb106b); } @@ -2399,15 +2139,11 @@ pub struct IKeyEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyEventArgs2 { type Vtable = IKeyEventArgs2_Vtbl; } -impl ::core::clone::Clone for IKeyEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x583add98_0790_4571_9b12_645ef9d79e42); } @@ -2419,15 +2155,11 @@ pub struct IKeyEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerEventArgs { type Vtable = IPointerEventArgs_Vtbl; } -impl ::core::clone::Clone for IPointerEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x920d9cb1_a5fc_4a21_8c09_49dfe6ffe25f); } @@ -2450,15 +2182,11 @@ pub struct IPointerEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationManager { type Vtable = ISystemNavigationManager_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93023118_cf50_42a6_9706_69107fa122e1); } @@ -2477,15 +2205,11 @@ pub struct ISystemNavigationManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationManager2 { type Vtable = ISystemNavigationManager2_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c510401_67be_49ae_9509_671c1e54a389); } @@ -2498,15 +2222,11 @@ pub struct ISystemNavigationManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemNavigationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemNavigationManagerStatics { type Vtable = ISystemNavigationManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISystemNavigationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemNavigationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc52b5ce_bee0_4305_8c54_68228ed683b5); } @@ -2518,15 +2238,11 @@ pub struct ISystemNavigationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITouchHitTestingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITouchHitTestingEventArgs { type Vtable = ITouchHitTestingEventArgs_Vtbl; } -impl ::core::clone::Clone for ITouchHitTestingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITouchHitTestingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f3b823_0b7c_424e_9df7_33d4f962931b); } @@ -2561,15 +2277,11 @@ pub struct ITouchHitTestingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisibilityChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisibilityChangedEventArgs { type Vtable = IVisibilityChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVisibilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisibilityChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf9918ea_d801_4564_a495_b1e84f8ad085); } @@ -2581,15 +2293,11 @@ pub struct IVisibilityChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowActivatedEventArgs { type Vtable = IWindowActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x179d65e7_4658_4cb6_aa13_41d094ea255e); } @@ -2601,15 +2309,11 @@ pub struct IWindowActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowSizeChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowSizeChangedEventArgs { type Vtable = IWindowSizeChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowSizeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowSizeChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a200ec7_0426_47dc_b86c_6f475915e451); } @@ -2624,6 +2328,7 @@ pub struct IWindowSizeChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AcceleratorKeyEventArgs(::windows_core::IUnknown); impl AcceleratorKeyEventArgs { pub fn EventType(&self) -> ::windows_core::Result { @@ -2668,25 +2373,9 @@ impl AcceleratorKeyEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AcceleratorKeyEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AcceleratorKeyEventArgs {} -impl ::core::fmt::Debug for AcceleratorKeyEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AcceleratorKeyEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AcceleratorKeyEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AcceleratorKeyEventArgs;{ff1c4c4a-9287-470b-836e-9086e3126ade})"); } -impl ::core::clone::Clone for AcceleratorKeyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AcceleratorKeyEventArgs { type Vtable = IAcceleratorKeyEventArgs_Vtbl; } @@ -2702,6 +2391,7 @@ unsafe impl ::core::marker::Send for AcceleratorKeyEventArgs {} unsafe impl ::core::marker::Sync for AcceleratorKeyEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationProviderRequestedEventArgs(::windows_core::IUnknown); impl AutomationProviderRequestedEventArgs { pub fn AutomationProvider(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -2730,25 +2420,9 @@ impl AutomationProviderRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for AutomationProviderRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationProviderRequestedEventArgs {} -impl ::core::fmt::Debug for AutomationProviderRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationProviderRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationProviderRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.AutomationProviderRequestedEventArgs;{961ff258-21bf-4b42-a298-fa479d4c52e2})"); } -impl ::core::clone::Clone for AutomationProviderRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationProviderRequestedEventArgs { type Vtable = IAutomationProviderRequestedEventArgs_Vtbl; } @@ -2762,6 +2436,7 @@ impl ::windows_core::RuntimeName for AutomationProviderRequestedEventArgs { impl ::windows_core::CanTryInto for AutomationProviderRequestedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackRequestedEventArgs(::windows_core::IUnknown); impl BackRequestedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -2776,25 +2451,9 @@ impl BackRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for BackRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BackRequestedEventArgs {} -impl ::core::fmt::Debug for BackRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BackRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.BackRequestedEventArgs;{d603d28a-e411-4a4e-ba41-6a327a8675bc})"); } -impl ::core::clone::Clone for BackRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BackRequestedEventArgs { type Vtable = IBackRequestedEventArgs_Vtbl; } @@ -2809,6 +2468,7 @@ unsafe impl ::core::marker::Send for BackRequestedEventArgs {} unsafe impl ::core::marker::Sync for BackRequestedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CharacterReceivedEventArgs(::windows_core::IUnknown); impl CharacterReceivedEventArgs { pub fn KeyCode(&self) -> ::windows_core::Result { @@ -2837,25 +2497,9 @@ impl CharacterReceivedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CharacterReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CharacterReceivedEventArgs {} -impl ::core::fmt::Debug for CharacterReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CharacterReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CharacterReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CharacterReceivedEventArgs;{c584659f-99b2-4bcc-bd33-04e63f42902e})"); } -impl ::core::clone::Clone for CharacterReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CharacterReceivedEventArgs { type Vtable = ICharacterReceivedEventArgs_Vtbl; } @@ -2869,6 +2513,7 @@ impl ::windows_core::RuntimeName for CharacterReceivedEventArgs { impl ::windows_core::CanTryInto for CharacterReceivedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ClosestInteractiveBoundsRequestedEventArgs(::windows_core::IUnknown); impl ClosestInteractiveBoundsRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2905,25 +2550,9 @@ impl ClosestInteractiveBoundsRequestedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetClosestInteractiveBounds)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ClosestInteractiveBoundsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ClosestInteractiveBoundsRequestedEventArgs {} -impl ::core::fmt::Debug for ClosestInteractiveBoundsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ClosestInteractiveBoundsRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ClosestInteractiveBoundsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.ClosestInteractiveBoundsRequestedEventArgs;{347c11d7-f6f8-40e3-b29f-ae50d3e86486})"); } -impl ::core::clone::Clone for ClosestInteractiveBoundsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ClosestInteractiveBoundsRequestedEventArgs { type Vtable = IClosestInteractiveBoundsRequestedEventArgs_Vtbl; } @@ -2936,6 +2565,7 @@ impl ::windows_core::RuntimeName for ClosestInteractiveBoundsRequestedEventArgs ::windows_core::imp::interface_hierarchy!(ClosestInteractiveBoundsRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreAcceleratorKeys(::windows_core::IUnknown); impl CoreAcceleratorKeys { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2957,25 +2587,9 @@ impl CoreAcceleratorKeys { unsafe { (::windows_core::Interface::vtable(this).RemoveAcceleratorKeyActivated)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for CoreAcceleratorKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreAcceleratorKeys {} -impl ::core::fmt::Debug for CoreAcceleratorKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreAcceleratorKeys").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreAcceleratorKeys { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreAcceleratorKeys;{9ffdf7f5-b8c9-4ef0-b7d2-1de626561fc8})"); } -impl ::core::clone::Clone for CoreAcceleratorKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreAcceleratorKeys { type Vtable = ICoreAcceleratorKeys_Vtbl; } @@ -2991,6 +2605,7 @@ unsafe impl ::core::marker::Send for CoreAcceleratorKeys {} unsafe impl ::core::marker::Sync for CoreAcceleratorKeys {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreComponentInputSource(::windows_core::IUnknown); impl CoreComponentInputSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3352,25 +2967,9 @@ impl CoreComponentInputSource { unsafe { (::windows_core::Interface::vtable(this).RemoveTouchHitTesting)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for CoreComponentInputSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreComponentInputSource {} -impl ::core::fmt::Debug for CoreComponentInputSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreComponentInputSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreComponentInputSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreComponentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); } -impl ::core::clone::Clone for CoreComponentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreComponentInputSource { type Vtable = ICoreInputSourceBase_Vtbl; } @@ -3388,6 +2987,7 @@ unsafe impl ::core::marker::Send for CoreComponentInputSource {} unsafe impl ::core::marker::Sync for CoreComponentInputSource {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreCursor(::windows_core::IUnknown); impl CoreCursor { pub fn Id(&self) -> ::windows_core::Result { @@ -3416,25 +3016,9 @@ impl CoreCursor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreCursor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreCursor {} -impl ::core::fmt::Debug for CoreCursor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreCursor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreCursor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreCursor;{96893acf-111d-442c-8a77-b87992f8e2d6})"); } -impl ::core::clone::Clone for CoreCursor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreCursor { type Vtable = ICoreCursor_Vtbl; } @@ -3449,6 +3033,7 @@ unsafe impl ::core::marker::Send for CoreCursor {} unsafe impl ::core::marker::Sync for CoreCursor {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreDispatcher(::windows_core::IUnknown); impl CoreDispatcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3558,25 +3143,9 @@ impl CoreDispatcher { unsafe { (::windows_core::Interface::vtable(this).StopProcessEvents)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for CoreDispatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreDispatcher {} -impl ::core::fmt::Debug for CoreDispatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreDispatcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreDispatcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreDispatcher;{60db2fa8-b705-4fde-a7d6-ebbb1891d39e})"); } -impl ::core::clone::Clone for CoreDispatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreDispatcher { type Vtable = ICoreDispatcher_Vtbl; } @@ -3592,6 +3161,7 @@ unsafe impl ::core::marker::Send for CoreDispatcher {} unsafe impl ::core::marker::Sync for CoreDispatcher {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreIndependentInputSource(::windows_core::IUnknown); impl CoreIndependentInputSource { pub fn Dispatcher(&self) -> ::windows_core::Result { @@ -3858,25 +3428,9 @@ impl CoreIndependentInputSource { unsafe { (::windows_core::Interface::vtable(this).RemovePointerRoutedReleased)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for CoreIndependentInputSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreIndependentInputSource {} -impl ::core::fmt::Debug for CoreIndependentInputSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreIndependentInputSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreIndependentInputSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSource;{9f488807-4580-4be8-be68-92a9311713bb})"); } -impl ::core::clone::Clone for CoreIndependentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreIndependentInputSource { type Vtable = ICoreInputSourceBase_Vtbl; } @@ -3895,6 +3449,7 @@ unsafe impl ::core::marker::Send for CoreIndependentInputSource {} unsafe impl ::core::marker::Sync for CoreIndependentInputSource {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreIndependentInputSourceController(::windows_core::IUnknown); impl CoreIndependentInputSourceController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3968,25 +3523,9 @@ impl CoreIndependentInputSourceController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreIndependentInputSourceController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreIndependentInputSourceController {} -impl ::core::fmt::Debug for CoreIndependentInputSourceController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreIndependentInputSourceController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreIndependentInputSourceController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreIndependentInputSourceController;{0963261c-84fe-578a-83ca-6425309ccde4})"); } -impl ::core::clone::Clone for CoreIndependentInputSourceController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreIndependentInputSourceController { type Vtable = ICoreIndependentInputSourceController_Vtbl; } @@ -4003,6 +3542,7 @@ unsafe impl ::core::marker::Send for CoreIndependentInputSourceController {} unsafe impl ::core::marker::Sync for CoreIndependentInputSourceController {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindow(::windows_core::IUnknown); impl CoreWindow { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4585,25 +4125,9 @@ impl CoreWindow { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindow {} -impl ::core::fmt::Debug for CoreWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindow;{79b9d5f2-879e-4b89-b798-79e47598030c})"); } -impl ::core::clone::Clone for CoreWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindow { type Vtable = ICoreWindow_Vtbl; } @@ -4618,6 +4142,7 @@ impl ::windows_core::CanTryInto for CoreWindow {} impl ::windows_core::CanTryInto for CoreWindow {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindowDialog(::windows_core::IUnknown); impl CoreWindowDialog { pub fn new() -> ::windows_core::Result { @@ -4755,25 +4280,9 @@ impl CoreWindowDialog { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreWindowDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindowDialog {} -impl ::core::fmt::Debug for CoreWindowDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindowDialog").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindowDialog { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowDialog;{e7392ce0-c78d-427e-8b2c-01ff420c69d5})"); } -impl ::core::clone::Clone for CoreWindowDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindowDialog { type Vtable = ICoreWindowDialog_Vtbl; } @@ -4786,6 +4295,7 @@ impl ::windows_core::RuntimeName for CoreWindowDialog { ::windows_core::imp::interface_hierarchy!(CoreWindowDialog, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindowEventArgs(::windows_core::IUnknown); impl CoreWindowEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -4800,25 +4310,9 @@ impl CoreWindowEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreWindowEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindowEventArgs {} -impl ::core::fmt::Debug for CoreWindowEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindowEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindowEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowEventArgs;{272b1ef3-c633-4da5-a26c-c6d0f56b29da})"); } -impl ::core::clone::Clone for CoreWindowEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindowEventArgs { type Vtable = ICoreWindowEventArgs_Vtbl; } @@ -4832,6 +4326,7 @@ impl ::windows_core::RuntimeName for CoreWindowEventArgs { impl ::windows_core::CanTryInto for CoreWindowEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindowFlyout(::windows_core::IUnknown); impl CoreWindowFlyout { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4961,25 +4456,9 @@ impl CoreWindowFlyout { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreWindowFlyout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindowFlyout {} -impl ::core::fmt::Debug for CoreWindowFlyout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindowFlyout").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindowFlyout { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowFlyout;{e89d854d-2050-40bb-b344-f6f355eeb314})"); } -impl ::core::clone::Clone for CoreWindowFlyout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindowFlyout { type Vtable = ICoreWindowFlyout_Vtbl; } @@ -4992,6 +4471,7 @@ impl ::windows_core::RuntimeName for CoreWindowFlyout { ::windows_core::imp::interface_hierarchy!(CoreWindowFlyout, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindowPopupShowingEventArgs(::windows_core::IUnknown); impl CoreWindowPopupShowingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5001,25 +4481,9 @@ impl CoreWindowPopupShowingEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetDesiredSize)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreWindowPopupShowingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindowPopupShowingEventArgs {} -impl ::core::fmt::Debug for CoreWindowPopupShowingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindowPopupShowingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindowPopupShowingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowPopupShowingEventArgs;{26155fa2-5ba5-4ea4-a3b4-2dc7d63c8e26})"); } -impl ::core::clone::Clone for CoreWindowPopupShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindowPopupShowingEventArgs { type Vtable = ICoreWindowPopupShowingEventArgs_Vtbl; } @@ -5032,6 +4496,7 @@ impl ::windows_core::RuntimeName for CoreWindowPopupShowingEventArgs { ::windows_core::imp::interface_hierarchy!(CoreWindowPopupShowingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWindowResizeManager(::windows_core::IUnknown); impl CoreWindowResizeManager { pub fn NotifyLayoutCompleted(&self) -> ::windows_core::Result<()> { @@ -5061,25 +4526,9 @@ impl CoreWindowResizeManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreWindowResizeManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWindowResizeManager {} -impl ::core::fmt::Debug for CoreWindowResizeManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWindowResizeManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWindowResizeManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.CoreWindowResizeManager;{b8f0b925-b350-48b3-a198-5c1a84700243})"); } -impl ::core::clone::Clone for CoreWindowResizeManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWindowResizeManager { type Vtable = ICoreWindowResizeManager_Vtbl; } @@ -5094,6 +4543,7 @@ unsafe impl ::core::marker::Send for CoreWindowResizeManager {} unsafe impl ::core::marker::Sync for CoreWindowResizeManager {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IdleDispatchedHandlerArgs(::windows_core::IUnknown); impl IdleDispatchedHandlerArgs { pub fn IsDispatcherIdle(&self) -> ::windows_core::Result { @@ -5104,25 +4554,9 @@ impl IdleDispatchedHandlerArgs { } } } -impl ::core::cmp::PartialEq for IdleDispatchedHandlerArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IdleDispatchedHandlerArgs {} -impl ::core::fmt::Debug for IdleDispatchedHandlerArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IdleDispatchedHandlerArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IdleDispatchedHandlerArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.IdleDispatchedHandlerArgs;{98bb6a24-dc1c-43cb-b4ed-d1c0eb2391f3})"); } -impl ::core::clone::Clone for IdleDispatchedHandlerArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for IdleDispatchedHandlerArgs { type Vtable = IIdleDispatchedHandlerArgs_Vtbl; } @@ -5135,6 +4569,7 @@ impl ::windows_core::RuntimeName for IdleDispatchedHandlerArgs { ::windows_core::imp::interface_hierarchy!(IdleDispatchedHandlerArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputEnabledEventArgs(::windows_core::IUnknown); impl InputEnabledEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5156,25 +4591,9 @@ impl InputEnabledEventArgs { } } } -impl ::core::cmp::PartialEq for InputEnabledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputEnabledEventArgs {} -impl ::core::fmt::Debug for InputEnabledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputEnabledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputEnabledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.InputEnabledEventArgs;{80371d4f-2fd8-4c24-aa86-3163a87b4e5a})"); } -impl ::core::clone::Clone for InputEnabledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputEnabledEventArgs { type Vtable = IInputEnabledEventArgs_Vtbl; } @@ -5188,6 +4607,7 @@ impl ::windows_core::RuntimeName for InputEnabledEventArgs { impl ::windows_core::CanTryInto for InputEnabledEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyEventArgs(::windows_core::IUnknown); impl KeyEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5225,25 +4645,9 @@ impl KeyEventArgs { } } } -impl ::core::cmp::PartialEq for KeyEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyEventArgs {} -impl ::core::fmt::Debug for KeyEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.KeyEventArgs;{5ff5e930-2544-4a17-bd78-1f2fdebb106b})"); } -impl ::core::clone::Clone for KeyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyEventArgs { type Vtable = IKeyEventArgs_Vtbl; } @@ -5257,6 +4661,7 @@ impl ::windows_core::RuntimeName for KeyEventArgs { impl ::windows_core::CanTryInto for KeyEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointerEventArgs(::windows_core::IUnknown); impl PointerEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5298,25 +4703,9 @@ impl PointerEventArgs { } } } -impl ::core::cmp::PartialEq for PointerEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointerEventArgs {} -impl ::core::fmt::Debug for PointerEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointerEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointerEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.PointerEventArgs;{920d9cb1-a5fc-4a21-8c09-49dfe6ffe25f})"); } -impl ::core::clone::Clone for PointerEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointerEventArgs { type Vtable = IPointerEventArgs_Vtbl; } @@ -5330,6 +4719,7 @@ impl ::windows_core::RuntimeName for PointerEventArgs { impl ::windows_core::CanTryInto for PointerEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemNavigationManager(::windows_core::IUnknown); impl SystemNavigationManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5373,25 +4763,9 @@ impl SystemNavigationManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemNavigationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemNavigationManager {} -impl ::core::fmt::Debug for SystemNavigationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemNavigationManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemNavigationManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.SystemNavigationManager;{93023118-cf50-42a6-9706-69107fa122e1})"); } -impl ::core::clone::Clone for SystemNavigationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemNavigationManager { type Vtable = ISystemNavigationManager_Vtbl; } @@ -5406,6 +4780,7 @@ unsafe impl ::core::marker::Send for SystemNavigationManager {} unsafe impl ::core::marker::Sync for SystemNavigationManager {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TouchHitTestingEventArgs(::windows_core::IUnknown); impl TouchHitTestingEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5471,25 +4846,9 @@ impl TouchHitTestingEventArgs { } } } -impl ::core::cmp::PartialEq for TouchHitTestingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TouchHitTestingEventArgs {} -impl ::core::fmt::Debug for TouchHitTestingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TouchHitTestingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TouchHitTestingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.TouchHitTestingEventArgs;{22f3b823-0b7c-424e-9df7-33d4f962931b})"); } -impl ::core::clone::Clone for TouchHitTestingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TouchHitTestingEventArgs { type Vtable = ITouchHitTestingEventArgs_Vtbl; } @@ -5503,6 +4862,7 @@ impl ::windows_core::RuntimeName for TouchHitTestingEventArgs { impl ::windows_core::CanTryInto for TouchHitTestingEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisibilityChangedEventArgs(::windows_core::IUnknown); impl VisibilityChangedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5524,25 +4884,9 @@ impl VisibilityChangedEventArgs { } } } -impl ::core::cmp::PartialEq for VisibilityChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisibilityChangedEventArgs {} -impl ::core::fmt::Debug for VisibilityChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisibilityChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisibilityChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.VisibilityChangedEventArgs;{bf9918ea-d801-4564-a495-b1e84f8ad085})"); } -impl ::core::clone::Clone for VisibilityChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisibilityChangedEventArgs { type Vtable = IVisibilityChangedEventArgs_Vtbl; } @@ -5556,6 +4900,7 @@ impl ::windows_core::RuntimeName for VisibilityChangedEventArgs { impl ::windows_core::CanTryInto for VisibilityChangedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowActivatedEventArgs(::windows_core::IUnknown); impl WindowActivatedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5577,25 +4922,9 @@ impl WindowActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowActivatedEventArgs {} -impl ::core::fmt::Debug for WindowActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowActivatedEventArgs;{179d65e7-4658-4cb6-aa13-41d094ea255e})"); } -impl ::core::clone::Clone for WindowActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowActivatedEventArgs { type Vtable = IWindowActivatedEventArgs_Vtbl; } @@ -5609,6 +4938,7 @@ impl ::windows_core::RuntimeName for WindowActivatedEventArgs { impl ::windows_core::CanTryInto for WindowActivatedEventArgs {} #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowSizeChangedEventArgs(::windows_core::IUnknown); impl WindowSizeChangedEventArgs { pub fn Handled(&self) -> ::windows_core::Result { @@ -5632,25 +4962,9 @@ impl WindowSizeChangedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowSizeChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowSizeChangedEventArgs {} -impl ::core::fmt::Debug for WindowSizeChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowSizeChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowSizeChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Core.WindowSizeChangedEventArgs;{5a200ec7-0426-47dc-b86c-6f475915e451})"); } -impl ::core::clone::Clone for WindowSizeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowSizeChangedEventArgs { type Vtable = IWindowSizeChangedEventArgs_Vtbl; } @@ -6240,6 +5554,7 @@ impl ::core::default::Default for CoreProximityEvaluation { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DispatchedHandler(pub ::windows_core::IUnknown); impl DispatchedHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -6262,9 +5577,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6289,25 +5607,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for DispatchedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DispatchedHandler {} -impl ::core::fmt::Debug for DispatchedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DispatchedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DispatchedHandler { type Vtable = DispatchedHandler_Vtbl; } -impl ::core::clone::Clone for DispatchedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DispatchedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1f276c4_98d8_4636_bf49_eb79507548e9); } @@ -6322,6 +5624,7 @@ pub struct DispatchedHandler_Vtbl { } #[doc = "*Required features: `\"UI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IdleDispatchedHandler(pub ::windows_core::IUnknown); impl IdleDispatchedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -6347,9 +5650,12 @@ impl) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6374,25 +5680,9 @@ impl) -> ::windows_c ((*this).invoke)(::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for IdleDispatchedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IdleDispatchedHandler {} -impl ::core::fmt::Debug for IdleDispatchedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IdleDispatchedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IdleDispatchedHandler { type Vtable = IdleDispatchedHandler_Vtbl; } -impl ::core::clone::Clone for IdleDispatchedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IdleDispatchedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa42b0c24_7f21_4abc_99c1_8f01007f0880); } diff --git a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs index 3e6306702a..1474d7b8de 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerIndependentInputSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerIndependentInputSource { type Vtable = IRadialControllerIndependentInputSource_Vtbl; } -impl ::core::clone::Clone for IRadialControllerIndependentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerIndependentInputSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef6_4cee_11e6_b535_001bdc06ab3b); } @@ -24,15 +20,11 @@ pub struct IRadialControllerIndependentInputSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerIndependentInputSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerIndependentInputSource2 { type Vtable = IRadialControllerIndependentInputSource2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerIndependentInputSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerIndependentInputSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7073aad8_35f3_4eeb_8751_be4d0a66faf4); } @@ -47,15 +39,11 @@ pub struct IRadialControllerIndependentInputSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerIndependentInputSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerIndependentInputSourceStatics { type Vtable = IRadialControllerIndependentInputSourceStatics_Vtbl; } -impl ::core::clone::Clone for IRadialControllerIndependentInputSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerIndependentInputSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef5_4cee_11e6_b535_001bdc06ab3b); } @@ -70,6 +58,7 @@ pub struct IRadialControllerIndependentInputSourceStatics_Vtbl { } #[doc = "*Required features: `\"UI_Input_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerIndependentInputSource(::windows_core::IUnknown); impl RadialControllerIndependentInputSource { pub fn Controller(&self) -> ::windows_core::Result { @@ -114,25 +103,9 @@ impl RadialControllerIndependentInputSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RadialControllerIndependentInputSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerIndependentInputSource {} -impl ::core::fmt::Debug for RadialControllerIndependentInputSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerIndependentInputSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerIndependentInputSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Core.RadialControllerIndependentInputSource;{3d577ef6-4cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for RadialControllerIndependentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerIndependentInputSource { type Vtable = IRadialControllerIndependentInputSource_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs index 7a91abfeb9..5c22cab48c 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs @@ -108,8 +108,8 @@ impl IInkAnalysisNode_Vtbl { GetStrokeIds: GetStrokeIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`, `\"implement\"`*"] @@ -138,7 +138,7 @@ impl IInkAnalyzerFactory_Vtbl { CreateAnalyzer: CreateAnalyzer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs index 3ce6163548..9988f66ff1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisInkBullet(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisInkBullet { type Vtable = IInkAnalysisInkBullet_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisInkBullet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisInkBullet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee049368_6110_4136_95f9_ee809fc20030); } @@ -20,15 +16,11 @@ pub struct IInkAnalysisInkBullet_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisInkDrawing(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisInkDrawing { type Vtable = IInkAnalysisInkDrawing_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisInkDrawing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisInkDrawing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a85ed1f_1fe4_4e15_898c_8e112377e021); } @@ -48,15 +40,11 @@ pub struct IInkAnalysisInkDrawing_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisInkWord(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisInkWord { type Vtable = IInkAnalysisInkWord_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisInkWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisInkWord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bd228ad_83af_4034_8f3b_f8687dfff436); } @@ -72,15 +60,11 @@ pub struct IInkAnalysisInkWord_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisLine(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisLine { type Vtable = IInkAnalysisLine_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisLine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa06d048d_2b8d_4754_ad5a_d0871193a956); } @@ -93,15 +77,11 @@ pub struct IInkAnalysisLine_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisListItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisListItem { type Vtable = IInkAnalysisListItem_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisListItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisListItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4e3c23f_c4c3_4c3a_a1a6_9d85547ee586); } @@ -113,6 +93,7 @@ pub struct IInkAnalysisListItem_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisNode(::windows_core::IUnknown); impl IInkAnalysisNode { pub fn Id(&self) -> ::windows_core::Result { @@ -174,28 +155,12 @@ impl IInkAnalysisNode { } } ::windows_core::imp::interface_hierarchy!(IInkAnalysisNode, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkAnalysisNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkAnalysisNode {} -impl ::core::fmt::Debug for IInkAnalysisNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkAnalysisNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkAnalysisNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{30831f05-5f64-4a2c-ba37-4f4887879574}"); } unsafe impl ::windows_core::Interface for IInkAnalysisNode { type Vtable = IInkAnalysisNode_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30831f05_5f64_4a2c_ba37_4f4887879574); } @@ -225,15 +190,11 @@ pub struct IInkAnalysisNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisParagraph(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisParagraph { type Vtable = IInkAnalysisParagraph_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisParagraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisParagraph { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9ad045c_0cd1_4dd4_a68b_eb1f12b3d727); } @@ -245,15 +206,11 @@ pub struct IInkAnalysisParagraph_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisResult { type Vtable = IInkAnalysisResult_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8948ba79_a243_4aa3_a294_1f98bd0ff580); } @@ -265,15 +222,11 @@ pub struct IInkAnalysisResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisRoot(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisRoot { type Vtable = IInkAnalysisRoot_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisRoot { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fb6a3c4_2fde_4061_8502_a90f32545b84); } @@ -289,15 +242,11 @@ pub struct IInkAnalysisRoot_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalysisWritingRegion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalysisWritingRegion { type Vtable = IInkAnalysisWritingRegion_Vtbl; } -impl ::core::clone::Clone for IInkAnalysisWritingRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalysisWritingRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd6d6231_bd16_4663_b5ae_941d3043ef5b); } @@ -309,15 +258,11 @@ pub struct IInkAnalysisWritingRegion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalyzer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkAnalyzer { type Vtable = IInkAnalyzer_Vtbl; } -impl ::core::clone::Clone for IInkAnalyzer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalyzer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf12b8f95_0866_4dc5_8c77_f88614dfe38c); } @@ -347,6 +292,7 @@ pub struct IInkAnalyzer_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkAnalyzerFactory(::windows_core::IUnknown); impl IInkAnalyzerFactory { pub fn CreateAnalyzer(&self) -> ::windows_core::Result { @@ -358,28 +304,12 @@ impl IInkAnalyzerFactory { } } ::windows_core::imp::interface_hierarchy!(IInkAnalyzerFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkAnalyzerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkAnalyzerFactory {} -impl ::core::fmt::Debug for IInkAnalyzerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkAnalyzerFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkAnalyzerFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{29138686-1963-49d8-9589-e14384c769e3}"); } unsafe impl ::windows_core::Interface for IInkAnalyzerFactory { type Vtable = IInkAnalyzerFactory_Vtbl; } -impl ::core::clone::Clone for IInkAnalyzerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkAnalyzerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29138686_1963_49d8_9589_e14384c769e3); } @@ -391,6 +321,7 @@ pub struct IInkAnalyzerFactory_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisInkBullet(::windows_core::IUnknown); impl InkAnalysisInkBullet { pub fn RecognizedText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -458,25 +389,9 @@ impl InkAnalysisInkBullet { } } } -impl ::core::cmp::PartialEq for InkAnalysisInkBullet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisInkBullet {} -impl ::core::fmt::Debug for InkAnalysisInkBullet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisInkBullet").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisInkBullet { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkBullet;{ee049368-6110-4136-95f9-ee809fc20030})"); } -impl ::core::clone::Clone for InkAnalysisInkBullet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisInkBullet { type Vtable = IInkAnalysisInkBullet_Vtbl; } @@ -492,6 +407,7 @@ unsafe impl ::core::marker::Send for InkAnalysisInkBullet {} unsafe impl ::core::marker::Sync for InkAnalysisInkBullet {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisInkDrawing(::windows_core::IUnknown); impl InkAnalysisInkDrawing { pub fn DrawingKind(&self) -> ::windows_core::Result { @@ -577,25 +493,9 @@ impl InkAnalysisInkDrawing { } } } -impl ::core::cmp::PartialEq for InkAnalysisInkDrawing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisInkDrawing {} -impl ::core::fmt::Debug for InkAnalysisInkDrawing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisInkDrawing").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisInkDrawing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkDrawing;{6a85ed1f-1fe4-4e15-898c-8e112377e021})"); } -impl ::core::clone::Clone for InkAnalysisInkDrawing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisInkDrawing { type Vtable = IInkAnalysisInkDrawing_Vtbl; } @@ -611,6 +511,7 @@ unsafe impl ::core::marker::Send for InkAnalysisInkDrawing {} unsafe impl ::core::marker::Sync for InkAnalysisInkDrawing {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisInkWord(::windows_core::IUnknown); impl InkAnalysisInkWord { pub fn RecognizedText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -687,25 +588,9 @@ impl InkAnalysisInkWord { } } } -impl ::core::cmp::PartialEq for InkAnalysisInkWord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisInkWord {} -impl ::core::fmt::Debug for InkAnalysisInkWord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisInkWord").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisInkWord { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisInkWord;{4bd228ad-83af-4034-8f3b-f8687dfff436})"); } -impl ::core::clone::Clone for InkAnalysisInkWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisInkWord { type Vtable = IInkAnalysisInkWord_Vtbl; } @@ -721,6 +606,7 @@ unsafe impl ::core::marker::Send for InkAnalysisInkWord {} unsafe impl ::core::marker::Sync for InkAnalysisInkWord {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisLine(::windows_core::IUnknown); impl InkAnalysisLine { pub fn RecognizedText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -795,25 +681,9 @@ impl InkAnalysisLine { } } } -impl ::core::cmp::PartialEq for InkAnalysisLine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisLine {} -impl ::core::fmt::Debug for InkAnalysisLine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisLine").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisLine { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisLine;{a06d048d-2b8d-4754-ad5a-d0871193a956})"); } -impl ::core::clone::Clone for InkAnalysisLine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisLine { type Vtable = IInkAnalysisLine_Vtbl; } @@ -829,6 +699,7 @@ unsafe impl ::core::marker::Send for InkAnalysisLine {} unsafe impl ::core::marker::Sync for InkAnalysisLine {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisListItem(::windows_core::IUnknown); impl InkAnalysisListItem { pub fn RecognizedText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -896,25 +767,9 @@ impl InkAnalysisListItem { } } } -impl ::core::cmp::PartialEq for InkAnalysisListItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisListItem {} -impl ::core::fmt::Debug for InkAnalysisListItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisListItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisListItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisListItem;{b4e3c23f-c4c3-4c3a-a1a6-9d85547ee586})"); } -impl ::core::clone::Clone for InkAnalysisListItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisListItem { type Vtable = IInkAnalysisListItem_Vtbl; } @@ -930,6 +785,7 @@ unsafe impl ::core::marker::Send for InkAnalysisListItem {} unsafe impl ::core::marker::Sync for InkAnalysisListItem {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisNode(::windows_core::IUnknown); impl InkAnalysisNode { pub fn Id(&self) -> ::windows_core::Result { @@ -990,25 +846,9 @@ impl InkAnalysisNode { } } } -impl ::core::cmp::PartialEq for InkAnalysisNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisNode {} -impl ::core::fmt::Debug for InkAnalysisNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisNode;{30831f05-5f64-4a2c-ba37-4f4887879574})"); } -impl ::core::clone::Clone for InkAnalysisNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisNode { type Vtable = IInkAnalysisNode_Vtbl; } @@ -1024,6 +864,7 @@ unsafe impl ::core::marker::Send for InkAnalysisNode {} unsafe impl ::core::marker::Sync for InkAnalysisNode {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisParagraph(::windows_core::IUnknown); impl InkAnalysisParagraph { pub fn Id(&self) -> ::windows_core::Result { @@ -1091,25 +932,9 @@ impl InkAnalysisParagraph { } } } -impl ::core::cmp::PartialEq for InkAnalysisParagraph { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisParagraph {} -impl ::core::fmt::Debug for InkAnalysisParagraph { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisParagraph").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisParagraph { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisParagraph;{d9ad045c-0cd1-4dd4-a68b-eb1f12b3d727})"); } -impl ::core::clone::Clone for InkAnalysisParagraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisParagraph { type Vtable = IInkAnalysisParagraph_Vtbl; } @@ -1125,6 +950,7 @@ unsafe impl ::core::marker::Send for InkAnalysisParagraph {} unsafe impl ::core::marker::Sync for InkAnalysisParagraph {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisResult(::windows_core::IUnknown); impl InkAnalysisResult { pub fn Status(&self) -> ::windows_core::Result { @@ -1135,25 +961,9 @@ impl InkAnalysisResult { } } } -impl ::core::cmp::PartialEq for InkAnalysisResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisResult {} -impl ::core::fmt::Debug for InkAnalysisResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisResult;{8948ba79-a243-4aa3-a294-1f98bd0ff580})"); } -impl ::core::clone::Clone for InkAnalysisResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisResult { type Vtable = IInkAnalysisResult_Vtbl; } @@ -1168,6 +978,7 @@ unsafe impl ::core::marker::Send for InkAnalysisResult {} unsafe impl ::core::marker::Sync for InkAnalysisResult {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisRoot(::windows_core::IUnknown); impl InkAnalysisRoot { pub fn Id(&self) -> ::windows_core::Result { @@ -1244,25 +1055,9 @@ impl InkAnalysisRoot { } } } -impl ::core::cmp::PartialEq for InkAnalysisRoot { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisRoot {} -impl ::core::fmt::Debug for InkAnalysisRoot { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisRoot").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisRoot { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisRoot;{3fb6a3c4-2fde-4061-8502-a90f32545b84})"); } -impl ::core::clone::Clone for InkAnalysisRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisRoot { type Vtable = IInkAnalysisRoot_Vtbl; } @@ -1278,6 +1073,7 @@ unsafe impl ::core::marker::Send for InkAnalysisRoot {} unsafe impl ::core::marker::Sync for InkAnalysisRoot {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalysisWritingRegion(::windows_core::IUnknown); impl InkAnalysisWritingRegion { pub fn Id(&self) -> ::windows_core::Result { @@ -1345,25 +1141,9 @@ impl InkAnalysisWritingRegion { } } } -impl ::core::cmp::PartialEq for InkAnalysisWritingRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalysisWritingRegion {} -impl ::core::fmt::Debug for InkAnalysisWritingRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalysisWritingRegion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalysisWritingRegion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalysisWritingRegion;{dd6d6231-bd16-4663-b5ae-941d3043ef5b})"); } -impl ::core::clone::Clone for InkAnalysisWritingRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalysisWritingRegion { type Vtable = IInkAnalysisWritingRegion_Vtbl; } @@ -1379,6 +1159,7 @@ unsafe impl ::core::marker::Send for InkAnalysisWritingRegion {} unsafe impl ::core::marker::Sync for InkAnalysisWritingRegion {} #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkAnalyzer(::windows_core::IUnknown); impl InkAnalyzer { pub fn new() -> ::windows_core::Result { @@ -1456,25 +1237,9 @@ impl InkAnalyzer { } } } -impl ::core::cmp::PartialEq for InkAnalyzer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkAnalyzer {} -impl ::core::fmt::Debug for InkAnalyzer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkAnalyzer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkAnalyzer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Analysis.InkAnalyzer;{f12b8f95-0866-4dc5-8c77-f88614dfe38c})"); } -impl ::core::clone::Clone for InkAnalyzer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkAnalyzer { type Vtable = IInkAnalyzer_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs index 3c9b2d07d1..b842f9a30e 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreIncrementalInkStroke(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreIncrementalInkStroke { type Vtable = ICoreIncrementalInkStroke_Vtbl; } -impl ::core::clone::Clone for ICoreIncrementalInkStroke { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreIncrementalInkStroke { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfda015d3_9d66_4f7d_a57f_cc70b9cfaa76); } @@ -33,15 +29,11 @@ pub struct ICoreIncrementalInkStroke_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreIncrementalInkStrokeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreIncrementalInkStrokeFactory { type Vtable = ICoreIncrementalInkStrokeFactory_Vtbl; } -impl ::core::clone::Clone for ICoreIncrementalInkStrokeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreIncrementalInkStrokeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7c59f46_8da8_4f70_9751_e53bb6df4596); } @@ -56,15 +48,11 @@ pub struct ICoreIncrementalInkStrokeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInkIndependentInputSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInkIndependentInputSource { type Vtable = ICoreInkIndependentInputSource_Vtbl; } -impl ::core::clone::Clone for ICoreInkIndependentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInkIndependentInputSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39b38da9_7639_4499_a5b5_191d00e35b16); } @@ -132,15 +120,11 @@ pub struct ICoreInkIndependentInputSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInkIndependentInputSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInkIndependentInputSource2 { type Vtable = ICoreInkIndependentInputSource2_Vtbl; } -impl ::core::clone::Clone for ICoreInkIndependentInputSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInkIndependentInputSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2846b012_0b59_5bb9_a3c5_becb7cf03a33); } @@ -159,15 +143,11 @@ pub struct ICoreInkIndependentInputSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInkIndependentInputSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInkIndependentInputSourceStatics { type Vtable = ICoreInkIndependentInputSourceStatics_Vtbl; } -impl ::core::clone::Clone for ICoreInkIndependentInputSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInkIndependentInputSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73e6011b_80c0_4dfb_9b66_10ba7f3f9c84); } @@ -179,15 +159,11 @@ pub struct ICoreInkIndependentInputSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInkPresenterHost(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInkPresenterHost { type Vtable = ICoreInkPresenterHost_Vtbl; } -impl ::core::clone::Clone for ICoreInkPresenterHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInkPresenterHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x396e89e6_7d55_4617_9e58_68c70c9169b9); } @@ -207,15 +183,11 @@ pub struct ICoreInkPresenterHost_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWetStrokeUpdateEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWetStrokeUpdateEventArgs { type Vtable = ICoreWetStrokeUpdateEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreWetStrokeUpdateEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWetStrokeUpdateEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb07d14c_3380_457a_a987_991357896c1b); } @@ -233,15 +205,11 @@ pub struct ICoreWetStrokeUpdateEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWetStrokeUpdateSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWetStrokeUpdateSource { type Vtable = ICoreWetStrokeUpdateSource_Vtbl; } -impl ::core::clone::Clone for ICoreWetStrokeUpdateSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWetStrokeUpdateSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f718e22_ee52_4e00_8209_4c3e5b21a3cc); } @@ -293,15 +261,11 @@ pub struct ICoreWetStrokeUpdateSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWetStrokeUpdateSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreWetStrokeUpdateSourceStatics { type Vtable = ICoreWetStrokeUpdateSourceStatics_Vtbl; } -impl ::core::clone::Clone for ICoreWetStrokeUpdateSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWetStrokeUpdateSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dad9cba_1d3d_46ae_ab9d_8647486c6f90); } @@ -313,6 +277,7 @@ pub struct ICoreWetStrokeUpdateSourceStatics_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreIncrementalInkStroke(::windows_core::IUnknown); impl CoreIncrementalInkStroke { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -376,25 +341,9 @@ impl CoreIncrementalInkStroke { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreIncrementalInkStroke { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreIncrementalInkStroke {} -impl ::core::fmt::Debug for CoreIncrementalInkStroke { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreIncrementalInkStroke").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreIncrementalInkStroke { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreIncrementalInkStroke;{fda015d3-9d66-4f7d-a57f-cc70b9cfaa76})"); } -impl ::core::clone::Clone for CoreIncrementalInkStroke { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreIncrementalInkStroke { type Vtable = ICoreIncrementalInkStroke_Vtbl; } @@ -409,6 +358,7 @@ unsafe impl ::core::marker::Send for CoreIncrementalInkStroke {} unsafe impl ::core::marker::Sync for CoreIncrementalInkStroke {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInkIndependentInputSource(::windows_core::IUnknown); impl CoreInkIndependentInputSource { #[doc = "*Required features: `\"Foundation\"`, `\"UI_Core\"`*"] @@ -577,25 +527,9 @@ impl CoreInkIndependentInputSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreInkIndependentInputSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInkIndependentInputSource {} -impl ::core::fmt::Debug for CoreInkIndependentInputSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInkIndependentInputSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInkIndependentInputSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkIndependentInputSource;{39b38da9-7639-4499-a5b5-191d00e35b16})"); } -impl ::core::clone::Clone for CoreInkIndependentInputSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInkIndependentInputSource { type Vtable = ICoreInkIndependentInputSource_Vtbl; } @@ -610,6 +544,7 @@ unsafe impl ::core::marker::Send for CoreInkIndependentInputSource {} unsafe impl ::core::marker::Sync for CoreInkIndependentInputSource {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInkPresenterHost(::windows_core::IUnknown); impl CoreInkPresenterHost { pub fn new() -> ::windows_core::Result { @@ -645,25 +580,9 @@ impl CoreInkPresenterHost { unsafe { (::windows_core::Interface::vtable(this).SetRootVisual)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for CoreInkPresenterHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInkPresenterHost {} -impl ::core::fmt::Debug for CoreInkPresenterHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInkPresenterHost").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInkPresenterHost { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreInkPresenterHost;{396e89e6-7d55-4617-9e58-68c70c9169b9})"); } -impl ::core::clone::Clone for CoreInkPresenterHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInkPresenterHost { type Vtable = ICoreInkPresenterHost_Vtbl; } @@ -678,6 +597,7 @@ unsafe impl ::core::marker::Send for CoreInkPresenterHost {} unsafe impl ::core::marker::Sync for CoreInkPresenterHost {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWetStrokeUpdateEventArgs(::windows_core::IUnknown); impl CoreWetStrokeUpdateEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -708,25 +628,9 @@ impl CoreWetStrokeUpdateEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetDisposition)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreWetStrokeUpdateEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWetStrokeUpdateEventArgs {} -impl ::core::fmt::Debug for CoreWetStrokeUpdateEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWetStrokeUpdateEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWetStrokeUpdateEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateEventArgs;{fb07d14c-3380-457a-a987-991357896c1b})"); } -impl ::core::clone::Clone for CoreWetStrokeUpdateEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWetStrokeUpdateEventArgs { type Vtable = ICoreWetStrokeUpdateEventArgs_Vtbl; } @@ -741,6 +645,7 @@ unsafe impl ::core::marker::Send for CoreWetStrokeUpdateEventArgs {} unsafe impl ::core::marker::Sync for CoreWetStrokeUpdateEventArgs {} #[doc = "*Required features: `\"UI_Input_Inking_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreWetStrokeUpdateSource(::windows_core::IUnknown); impl CoreWetStrokeUpdateSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -855,25 +760,9 @@ impl CoreWetStrokeUpdateSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreWetStrokeUpdateSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreWetStrokeUpdateSource {} -impl ::core::fmt::Debug for CoreWetStrokeUpdateSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreWetStrokeUpdateSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreWetStrokeUpdateSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Core.CoreWetStrokeUpdateSource;{1f718e22-ee52-4e00-8209-4c3e5b21a3cc})"); } -impl ::core::clone::Clone for CoreWetStrokeUpdateSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreWetStrokeUpdateSource { type Vtable = ICoreWetStrokeUpdateSource_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs index dbb17e7bf4..7f7f5290ab 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPalmRejectionDelayZonePreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPalmRejectionDelayZonePreview { type Vtable = IPalmRejectionDelayZonePreview_Vtbl; } -impl ::core::clone::Clone for IPalmRejectionDelayZonePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPalmRejectionDelayZonePreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62b496cb_539d_5343_a65f_41f5300ec70c); } @@ -19,15 +15,11 @@ pub struct IPalmRejectionDelayZonePreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPalmRejectionDelayZonePreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPalmRejectionDelayZonePreviewStatics { type Vtable = IPalmRejectionDelayZonePreviewStatics_Vtbl; } -impl ::core::clone::Clone for IPalmRejectionDelayZonePreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPalmRejectionDelayZonePreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdef5ee0_93d0_53a9_8f0e_9a379f8f7530); } @@ -46,6 +38,7 @@ pub struct IPalmRejectionDelayZonePreviewStatics_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PalmRejectionDelayZonePreview(::windows_core::IUnknown); impl PalmRejectionDelayZonePreview { #[doc = "*Required features: `\"Foundation\"`*"] @@ -83,25 +76,9 @@ impl PalmRejectionDelayZonePreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PalmRejectionDelayZonePreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PalmRejectionDelayZonePreview {} -impl ::core::fmt::Debug for PalmRejectionDelayZonePreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PalmRejectionDelayZonePreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PalmRejectionDelayZonePreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.Preview.PalmRejectionDelayZonePreview;{62b496cb-539d-5343-a65f-41f5300ec70c})"); } -impl ::core::clone::Clone for PalmRejectionDelayZonePreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PalmRejectionDelayZonePreview { type Vtable = IPalmRejectionDelayZonePreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs index 84849fea7e..a304829970 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs @@ -24,8 +24,8 @@ impl IInkPointFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateInkPoint: CreateInkPoint:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IInkPresenterRulerFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IInkPresenterStencil_Vtbl { SetTransform: SetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IInkRecognizerContainer_Vtbl { GetRecognizers: GetRecognizers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Collections\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -404,7 +404,7 @@ impl IInkStrokeContainer_Vtbl { GetRecognitionResults: GetRecognitionResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs index 155ecc1ab5..a2b67f8541 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -6,15 +6,11 @@ pub mod Core; pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributes { type Vtable = IInkDrawingAttributes_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97a2176c_6774_48ad_84f0_48f5a9be74f9); } @@ -41,15 +37,11 @@ pub struct IInkDrawingAttributes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributes2 { type Vtable = IInkDrawingAttributes2_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributes2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cab6508_8ec4_42fd_a5a5_e4b7d1d5316d); } @@ -70,15 +62,11 @@ pub struct IInkDrawingAttributes2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributes3 { type Vtable = IInkDrawingAttributes3_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributes3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72020002_7d5b_4690_8af4_e664cbe2b74f); } @@ -91,15 +79,11 @@ pub struct IInkDrawingAttributes3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributes4 { type Vtable = IInkDrawingAttributes4_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributes4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef65dc25_9f19_456d_91a3_bc3a3d91c5fb); } @@ -112,15 +96,11 @@ pub struct IInkDrawingAttributes4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributes5 { type Vtable = IInkDrawingAttributes5_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributes5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd11aa0bb_0775_4852_ae64_41143a7ae6c9); } @@ -132,15 +112,11 @@ pub struct IInkDrawingAttributes5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributesPencilProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributesPencilProperties { type Vtable = IInkDrawingAttributesPencilProperties_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributesPencilProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributesPencilProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f2534cb_2d86_41bb_b0e8_e4c2a0253c52); } @@ -153,15 +129,11 @@ pub struct IInkDrawingAttributesPencilProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkDrawingAttributesStatics { type Vtable = IInkDrawingAttributesStatics_Vtbl; } -impl ::core::clone::Clone for IInkDrawingAttributesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDrawingAttributesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf731e03f_1a65_4862_96cb_6e1665e17f6d); } @@ -173,15 +145,11 @@ pub struct IInkDrawingAttributesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkInputConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkInputConfiguration { type Vtable = IInkInputConfiguration_Vtbl; } -impl ::core::clone::Clone for IInkInputConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkInputConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93a68dc4_0b7b_49d7_b34f_9901e524dcf2); } @@ -196,15 +164,11 @@ pub struct IInkInputConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkInputConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkInputConfiguration2 { type Vtable = IInkInputConfiguration2_Vtbl; } -impl ::core::clone::Clone for IInkInputConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkInputConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ac2272e_81b4_5cc4_a36d_d057c387dfda); } @@ -217,15 +181,11 @@ pub struct IInkInputConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkInputProcessingConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkInputProcessingConfiguration { type Vtable = IInkInputProcessingConfiguration_Vtbl; } -impl ::core::clone::Clone for IInkInputProcessingConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkInputProcessingConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2778d85e_33ca_4b06_a6d3_ac3945116d37); } @@ -240,15 +200,11 @@ pub struct IInkInputProcessingConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkManager { type Vtable = IInkManager_Vtbl; } -impl ::core::clone::Clone for IInkManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4744737d_671b_4163_9c95_4e8d7a035fe1); } @@ -272,15 +228,11 @@ pub struct IInkManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkModelerAttributes(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkModelerAttributes { type Vtable = IInkModelerAttributes_Vtbl; } -impl ::core::clone::Clone for IInkModelerAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkModelerAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad31f27_0cd9_4bfd_b6f3_9e03ba8d7454); } @@ -301,15 +253,11 @@ pub struct IInkModelerAttributes_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkModelerAttributes2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkModelerAttributes2 { type Vtable = IInkModelerAttributes2_Vtbl; } -impl ::core::clone::Clone for IInkModelerAttributes2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkModelerAttributes2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86d1d09a_4ef8_5e25_b7bc_b65424f16bb3); } @@ -322,15 +270,11 @@ pub struct IInkModelerAttributes2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPoint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPoint { type Vtable = IInkPoint_Vtbl; } -impl ::core::clone::Clone for IInkPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f87272b_858c_46a5_9b41_d195970459fd); } @@ -346,15 +290,11 @@ pub struct IInkPoint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPoint2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPoint2 { type Vtable = IInkPoint2_Vtbl; } -impl ::core::clone::Clone for IInkPoint2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPoint2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfba9c3f7_ae56_4d5c_bd2f_0ac45f5e4af9); } @@ -368,6 +308,7 @@ pub struct IInkPoint2_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPointFactory(::windows_core::IUnknown); impl IInkPointFactory { #[doc = "*Required features: `\"Foundation\"`*"] @@ -381,28 +322,12 @@ impl IInkPointFactory { } } ::windows_core::imp::interface_hierarchy!(IInkPointFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkPointFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkPointFactory {} -impl ::core::fmt::Debug for IInkPointFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkPointFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkPointFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{29e5d51c-c98f-405d-9f3b-e53e31068d4d}"); } unsafe impl ::windows_core::Interface for IInkPointFactory { type Vtable = IInkPointFactory_Vtbl; } -impl ::core::clone::Clone for IInkPointFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPointFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29e5d51c_c98f_405d_9f3b_e53e31068d4d); } @@ -417,15 +342,11 @@ pub struct IInkPointFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPointFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPointFactory2 { type Vtable = IInkPointFactory2_Vtbl; } -impl ::core::clone::Clone for IInkPointFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPointFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0145e85_daff_45f2_ad69_050d8256a209); } @@ -440,15 +361,11 @@ pub struct IInkPointFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenter { type Vtable = IInkPresenter_Vtbl; } -impl ::core::clone::Clone for IInkPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa69b70e2_887b_458f_b173_4fe4438930a3); } @@ -494,15 +411,11 @@ pub struct IInkPresenter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenter2 { type Vtable = IInkPresenter2_Vtbl; } -impl ::core::clone::Clone for IInkPresenter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf53e612_9a34_11e6_9f33_a24fc0d9649c); } @@ -515,15 +428,11 @@ pub struct IInkPresenter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenter3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenter3 { type Vtable = IInkPresenter3_Vtbl; } -impl ::core::clone::Clone for IInkPresenter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51e1ce89_d37d_4a90_83fc_7f5e9dfbf217); } @@ -535,15 +444,11 @@ pub struct IInkPresenter3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterProtractor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenterProtractor { type Vtable = IInkPresenterProtractor_Vtbl; } -impl ::core::clone::Clone for IInkPresenterProtractor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterProtractor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7de3f2aa_ef6c_4e91_a73b_5b70d56fbd17); } @@ -568,15 +473,11 @@ pub struct IInkPresenterProtractor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterProtractorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenterProtractorFactory { type Vtable = IInkPresenterProtractorFactory_Vtbl; } -impl ::core::clone::Clone for IInkPresenterProtractorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterProtractorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x320103c9_68fa_47e9_8127_8370711fc46c); } @@ -588,15 +489,11 @@ pub struct IInkPresenterProtractorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterRuler(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenterRuler { type Vtable = IInkPresenterRuler_Vtbl; } -impl ::core::clone::Clone for IInkPresenterRuler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterRuler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cda7d5a_dec7_4dd7_877a_2133f183d48a); } @@ -611,15 +508,11 @@ pub struct IInkPresenterRuler_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterRuler2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkPresenterRuler2 { type Vtable = IInkPresenterRuler2_Vtbl; } -impl ::core::clone::Clone for IInkPresenterRuler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterRuler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45130dc1_bc61_44d4_a423_54712ae671c4); } @@ -634,6 +527,7 @@ pub struct IInkPresenterRuler2_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterRulerFactory(::windows_core::IUnknown); impl IInkPresenterRulerFactory { pub fn Create(&self, inkpresenter: P0) -> ::windows_core::Result @@ -648,28 +542,12 @@ impl IInkPresenterRulerFactory { } } ::windows_core::imp::interface_hierarchy!(IInkPresenterRulerFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkPresenterRulerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkPresenterRulerFactory {} -impl ::core::fmt::Debug for IInkPresenterRulerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkPresenterRulerFactory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkPresenterRulerFactory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{34361beb-9001-4a4b-a690-69dbaf63e501}"); } unsafe impl ::windows_core::Interface for IInkPresenterRulerFactory { type Vtable = IInkPresenterRulerFactory_Vtbl; } -impl ::core::clone::Clone for IInkPresenterRulerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterRulerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34361beb_9001_4a4b_a690_69dbaf63e501); } @@ -681,6 +559,7 @@ pub struct IInkPresenterRulerFactory_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterStencil(::windows_core::IUnknown); impl IInkPresenterStencil { pub fn Kind(&self) -> ::windows_core::Result { @@ -740,28 +619,12 @@ impl IInkPresenterStencil { } } ::windows_core::imp::interface_hierarchy!(IInkPresenterStencil, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkPresenterStencil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkPresenterStencil {} -impl ::core::fmt::Debug for IInkPresenterStencil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkPresenterStencil").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkPresenterStencil { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{30d12d6d-3e06-4d02-b116-277fb5d8addc}"); } unsafe impl ::windows_core::Interface for IInkPresenterStencil { type Vtable = IInkPresenterStencil_Vtbl; } -impl ::core::clone::Clone for IInkPresenterStencil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterStencil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30d12d6d_3e06_4d02_b116_277fb5d8addc); } @@ -787,15 +650,11 @@ pub struct IInkPresenterStencil_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognitionResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkRecognitionResult { type Vtable = IInkRecognitionResult_Vtbl; } -impl ::core::clone::Clone for IInkRecognitionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkRecognitionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36461a94_5068_40ef_8a05_2c2fb60908a2); } @@ -818,15 +677,11 @@ pub struct IInkRecognitionResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkRecognizer { type Vtable = IInkRecognizer_Vtbl; } -impl ::core::clone::Clone for IInkRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x077ccea3_904d_442a_b151_aaca3631c43b); } @@ -838,6 +693,7 @@ pub struct IInkRecognizer_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizerContainer(::windows_core::IUnknown); impl IInkRecognizerContainer { pub fn SetDefaultRecognizer(&self, recognizer: P0) -> ::windows_core::Result<()> @@ -870,28 +726,12 @@ impl IInkRecognizerContainer { } } ::windows_core::imp::interface_hierarchy!(IInkRecognizerContainer, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkRecognizerContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkRecognizerContainer {} -impl ::core::fmt::Debug for IInkRecognizerContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizerContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkRecognizerContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a74d9a31-8047-4698-a912-f82a5085012f}"); } unsafe impl ::windows_core::Interface for IInkRecognizerContainer { type Vtable = IInkRecognizerContainer_Vtbl; } -impl ::core::clone::Clone for IInkRecognizerContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkRecognizerContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa74d9a31_8047_4698_a912_f82a5085012f); } @@ -911,15 +751,11 @@ pub struct IInkRecognizerContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStroke(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStroke { type Vtable = IInkStroke_Vtbl; } -impl ::core::clone::Clone for IInkStroke { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStroke { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15144d60_cce3_4fcf_9d52_11518ab6afd4); } @@ -944,15 +780,11 @@ pub struct IInkStroke_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStroke2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStroke2 { type Vtable = IInkStroke2_Vtbl; } -impl ::core::clone::Clone for IInkStroke2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStroke2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5db9e4f4_bafa_4de1_89d3_201b1ed7d89b); } @@ -975,15 +807,11 @@ pub struct IInkStroke2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStroke3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStroke3 { type Vtable = IInkStroke3_Vtbl; } -impl ::core::clone::Clone for IInkStroke3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStroke3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a807374_9499_411d_a1c4_68855d03d65f); } @@ -1011,15 +839,11 @@ pub struct IInkStroke3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStroke4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStroke4 { type Vtable = IInkStroke4_Vtbl; } -impl ::core::clone::Clone for IInkStroke4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStroke4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd5b62e5_b6e9_5b91_a577_1921d2348690); } @@ -1031,15 +855,11 @@ pub struct IInkStroke4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeBuilder(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeBuilder { type Vtable = IInkStrokeBuilder_Vtbl; } -impl ::core::clone::Clone for IInkStrokeBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82bbd1dc_1c63_41dc_9e07_4b4a70ced801); } @@ -1058,15 +878,11 @@ pub struct IInkStrokeBuilder_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeBuilder2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeBuilder2 { type Vtable = IInkStrokeBuilder2_Vtbl; } -impl ::core::clone::Clone for IInkStrokeBuilder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeBuilder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd82bc27_731f_4cbc_bbbf_6d468044f1e5); } @@ -1081,15 +897,11 @@ pub struct IInkStrokeBuilder2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeBuilder3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeBuilder3 { type Vtable = IInkStrokeBuilder3_Vtbl; } -impl ::core::clone::Clone for IInkStrokeBuilder3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeBuilder3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2c71fcd_5472_46b1_a81d_c37a3d169441); } @@ -1104,6 +916,7 @@ pub struct IInkStrokeBuilder3_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeContainer(::windows_core::IUnknown); impl IInkStrokeContainer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1234,28 +1047,12 @@ impl IInkStrokeContainer { } } ::windows_core::imp::interface_hierarchy!(IInkStrokeContainer, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInkStrokeContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkStrokeContainer {} -impl ::core::fmt::Debug for IInkStrokeContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkStrokeContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IInkStrokeContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{22accbc6-faa9-4f14-b68c-f6cee670ae16}"); } unsafe impl ::windows_core::Interface for IInkStrokeContainer { type Vtable = IInkStrokeContainer_Vtbl; } -impl ::core::clone::Clone for IInkStrokeContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22accbc6_faa9_4f14_b68c_f6cee670ae16); } @@ -1313,15 +1110,11 @@ pub struct IInkStrokeContainer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeContainer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeContainer2 { type Vtable = IInkStrokeContainer2_Vtbl; } -impl ::core::clone::Clone for IInkStrokeContainer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeContainer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8901d364_da36_4bcf_9e5c_d195825995b4); } @@ -1337,15 +1130,11 @@ pub struct IInkStrokeContainer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeContainer3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeContainer3 { type Vtable = IInkStrokeContainer3_Vtbl; } -impl ::core::clone::Clone for IInkStrokeContainer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeContainer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d07bea5_baea_4c82_a719_7b83da1067d2); } @@ -1361,15 +1150,11 @@ pub struct IInkStrokeContainer3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeInput { type Vtable = IInkStrokeInput_Vtbl; } -impl ::core::clone::Clone for IInkStrokeInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf2ffe7b_5e10_43c6_a080_88f26e1dc67d); } @@ -1413,15 +1198,11 @@ pub struct IInkStrokeInput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeRenderingSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokeRenderingSegment { type Vtable = IInkStrokeRenderingSegment_Vtbl; } -impl ::core::clone::Clone for IInkStrokeRenderingSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokeRenderingSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68510f1f_88e3_477a_a2fa_569f5f1f9bd5); } @@ -1448,15 +1229,11 @@ pub struct IInkStrokeRenderingSegment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokesCollectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokesCollectedEventArgs { type Vtable = IInkStrokesCollectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IInkStrokesCollectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokesCollectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4f3f229_1938_495c_b4d9_6de4b08d4811); } @@ -1471,15 +1248,11 @@ pub struct IInkStrokesCollectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokesErasedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkStrokesErasedEventArgs { type Vtable = IInkStrokesErasedEventArgs_Vtbl; } -impl ::core::clone::Clone for IInkStrokesErasedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkStrokesErasedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4216a22_1503_4ebf_8ff5_2de84584a8aa); } @@ -1494,15 +1267,11 @@ pub struct IInkStrokesErasedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkSynchronizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkSynchronizer { type Vtable = IInkSynchronizer_Vtbl; } -impl ::core::clone::Clone for IInkSynchronizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkSynchronizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b9ea160_ae9b_45f9_8407_4b493b163661); } @@ -1518,15 +1287,11 @@ pub struct IInkSynchronizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkUnprocessedInput(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInkUnprocessedInput { type Vtable = IInkUnprocessedInput_Vtbl; } -impl ::core::clone::Clone for IInkUnprocessedInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkUnprocessedInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb4445e0_8398_4921_ac3b_ab978c5ba256); } @@ -1594,15 +1359,11 @@ pub struct IInkUnprocessedInput_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenAndInkSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenAndInkSettings { type Vtable = IPenAndInkSettings_Vtbl; } -impl ::core::clone::Clone for IPenAndInkSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenAndInkSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc2ceb8f_0066_44a8_bb7a_b839b3deb8f5); } @@ -1619,15 +1380,11 @@ pub struct IPenAndInkSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenAndInkSettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenAndInkSettings2 { type Vtable = IPenAndInkSettings2_Vtbl; } -impl ::core::clone::Clone for IPenAndInkSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenAndInkSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3262da53_1f44_55e2_9929_ebf77e5481b8); } @@ -1639,15 +1396,11 @@ pub struct IPenAndInkSettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenAndInkSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPenAndInkSettingsStatics { type Vtable = IPenAndInkSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IPenAndInkSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPenAndInkSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed6dd036_5708_5c3c_96db_f2f552eab641); } @@ -1659,6 +1412,7 @@ pub struct IPenAndInkSettingsStatics_Vtbl { } #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkDrawingAttributes(::windows_core::IUnknown); impl InkDrawingAttributes { pub fn new() -> ::windows_core::Result { @@ -1797,25 +1551,9 @@ impl InkDrawingAttributes { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InkDrawingAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkDrawingAttributes {} -impl ::core::fmt::Debug for InkDrawingAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkDrawingAttributes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkDrawingAttributes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributes;{97a2176c-6774-48ad-84f0-48f5a9be74f9})"); } -impl ::core::clone::Clone for InkDrawingAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkDrawingAttributes { type Vtable = IInkDrawingAttributes_Vtbl; } @@ -1830,6 +1568,7 @@ unsafe impl ::core::marker::Send for InkDrawingAttributes {} unsafe impl ::core::marker::Sync for InkDrawingAttributes {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkDrawingAttributesPencilProperties(::windows_core::IUnknown); impl InkDrawingAttributesPencilProperties { pub fn Opacity(&self) -> ::windows_core::Result { @@ -1844,25 +1583,9 @@ impl InkDrawingAttributesPencilProperties { unsafe { (::windows_core::Interface::vtable(this).SetOpacity)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InkDrawingAttributesPencilProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkDrawingAttributesPencilProperties {} -impl ::core::fmt::Debug for InkDrawingAttributesPencilProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkDrawingAttributesPencilProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkDrawingAttributesPencilProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkDrawingAttributesPencilProperties;{4f2534cb-2d86-41bb-b0e8-e4c2a0253c52})"); } -impl ::core::clone::Clone for InkDrawingAttributesPencilProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkDrawingAttributesPencilProperties { type Vtable = IInkDrawingAttributesPencilProperties_Vtbl; } @@ -1877,6 +1600,7 @@ unsafe impl ::core::marker::Send for InkDrawingAttributesPencilProperties {} unsafe impl ::core::marker::Sync for InkDrawingAttributesPencilProperties {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkInputConfiguration(::windows_core::IUnknown); impl InkInputConfiguration { pub fn IsPrimaryBarrelButtonInputEnabled(&self) -> ::windows_core::Result { @@ -1913,25 +1637,9 @@ impl InkInputConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetIsPenHapticFeedbackEnabled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InkInputConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkInputConfiguration {} -impl ::core::fmt::Debug for InkInputConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkInputConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkInputConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputConfiguration;{93a68dc4-0b7b-49d7-b34f-9901e524dcf2})"); } -impl ::core::clone::Clone for InkInputConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkInputConfiguration { type Vtable = IInkInputConfiguration_Vtbl; } @@ -1946,6 +1654,7 @@ unsafe impl ::core::marker::Send for InkInputConfiguration {} unsafe impl ::core::marker::Sync for InkInputConfiguration {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkInputProcessingConfiguration(::windows_core::IUnknown); impl InkInputProcessingConfiguration { pub fn Mode(&self) -> ::windows_core::Result { @@ -1971,25 +1680,9 @@ impl InkInputProcessingConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetRightDragAction)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InkInputProcessingConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkInputProcessingConfiguration {} -impl ::core::fmt::Debug for InkInputProcessingConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkInputProcessingConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkInputProcessingConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkInputProcessingConfiguration;{2778d85e-33ca-4b06-a6d3-ac3945116d37})"); } -impl ::core::clone::Clone for InkInputProcessingConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkInputProcessingConfiguration { type Vtable = IInkInputProcessingConfiguration_Vtbl; } @@ -2004,6 +1697,7 @@ unsafe impl ::core::marker::Send for InkInputProcessingConfiguration {} unsafe impl ::core::marker::Sync for InkInputProcessingConfiguration {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkManager(::windows_core::IUnknown); impl InkManager { pub fn new() -> ::windows_core::Result { @@ -2224,25 +1918,9 @@ impl InkManager { } } } -impl ::core::cmp::PartialEq for InkManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkManager {} -impl ::core::fmt::Debug for InkManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkManager;{4744737d-671b-4163-9c95-4e8d7a035fe1})"); } -impl ::core::clone::Clone for InkManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkManager { type Vtable = IInkManager_Vtbl; } @@ -2257,6 +1935,7 @@ impl ::windows_core::CanTryInto for InkManager {} impl ::windows_core::CanTryInto for InkManager {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkModelerAttributes(::windows_core::IUnknown); impl InkModelerAttributes { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2297,25 +1976,9 @@ impl InkModelerAttributes { unsafe { (::windows_core::Interface::vtable(this).SetUseVelocityBasedPressure)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InkModelerAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkModelerAttributes {} -impl ::core::fmt::Debug for InkModelerAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkModelerAttributes").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkModelerAttributes { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkModelerAttributes;{bad31f27-0cd9-4bfd-b6f3-9e03ba8d7454})"); } -impl ::core::clone::Clone for InkModelerAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkModelerAttributes { type Vtable = IInkModelerAttributes_Vtbl; } @@ -2330,6 +1993,7 @@ unsafe impl ::core::marker::Send for InkModelerAttributes {} unsafe impl ::core::marker::Sync for InkModelerAttributes {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkPoint(::windows_core::IUnknown); impl InkPoint { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2396,25 +2060,9 @@ impl InkPoint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InkPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkPoint {} -impl ::core::fmt::Debug for InkPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkPoint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkPoint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPoint;{9f87272b-858c-46a5-9b41-d195970459fd})"); } -impl ::core::clone::Clone for InkPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkPoint { type Vtable = IInkPoint_Vtbl; } @@ -2429,6 +2077,7 @@ unsafe impl ::core::marker::Send for InkPoint {} unsafe impl ::core::marker::Sync for InkPoint {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkPresenter(::windows_core::IUnknown); impl InkPresenter { pub fn IsInputEnabled(&self) -> ::windows_core::Result { @@ -2572,25 +2221,9 @@ impl InkPresenter { } } } -impl ::core::cmp::PartialEq for InkPresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkPresenter {} -impl ::core::fmt::Debug for InkPresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkPresenter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkPresenter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenter;{a69b70e2-887b-458f-b173-4fe4438930a3})"); } -impl ::core::clone::Clone for InkPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkPresenter { type Vtable = IInkPresenter_Vtbl; } @@ -2605,6 +2238,7 @@ unsafe impl ::core::marker::Send for InkPresenter {} unsafe impl ::core::marker::Sync for InkPresenter {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkPresenterProtractor(::windows_core::IUnknown); impl InkPresenterProtractor { pub fn AreTickMarksVisible(&self) -> ::windows_core::Result { @@ -2754,25 +2388,9 @@ impl InkPresenterProtractor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InkPresenterProtractor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkPresenterProtractor {} -impl ::core::fmt::Debug for InkPresenterProtractor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkPresenterProtractor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkPresenterProtractor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterProtractor;{7de3f2aa-ef6c-4e91-a73b-5b70d56fbd17})"); } -impl ::core::clone::Clone for InkPresenterProtractor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkPresenterProtractor { type Vtable = IInkPresenterProtractor_Vtbl; } @@ -2788,6 +2406,7 @@ unsafe impl ::core::marker::Send for InkPresenterProtractor {} unsafe impl ::core::marker::Sync for InkPresenterProtractor {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkPresenterRuler(::windows_core::IUnknown); impl InkPresenterRuler { pub fn Length(&self) -> ::windows_core::Result { @@ -2904,25 +2523,9 @@ impl InkPresenterRuler { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InkPresenterRuler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkPresenterRuler {} -impl ::core::fmt::Debug for InkPresenterRuler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkPresenterRuler").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkPresenterRuler { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkPresenterRuler;{6cda7d5a-dec7-4dd7-877a-2133f183d48a})"); } -impl ::core::clone::Clone for InkPresenterRuler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkPresenterRuler { type Vtable = IInkPresenterRuler_Vtbl; } @@ -2938,6 +2541,7 @@ unsafe impl ::core::marker::Send for InkPresenterRuler {} unsafe impl ::core::marker::Sync for InkPresenterRuler {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkRecognitionResult(::windows_core::IUnknown); impl InkRecognitionResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2968,25 +2572,9 @@ impl InkRecognitionResult { } } } -impl ::core::cmp::PartialEq for InkRecognitionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkRecognitionResult {} -impl ::core::fmt::Debug for InkRecognitionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkRecognitionResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkRecognitionResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognitionResult;{36461a94-5068-40ef-8a05-2c2fb60908a2})"); } -impl ::core::clone::Clone for InkRecognitionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkRecognitionResult { type Vtable = IInkRecognitionResult_Vtbl; } @@ -3001,6 +2589,7 @@ unsafe impl ::core::marker::Send for InkRecognitionResult {} unsafe impl ::core::marker::Sync for InkRecognitionResult {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkRecognizer(::windows_core::IUnknown); impl InkRecognizer { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3011,25 +2600,9 @@ impl InkRecognizer { } } } -impl ::core::cmp::PartialEq for InkRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkRecognizer {} -impl ::core::fmt::Debug for InkRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkRecognizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkRecognizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizer;{077ccea3-904d-442a-b151-aaca3631c43b})"); } -impl ::core::clone::Clone for InkRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkRecognizer { type Vtable = IInkRecognizer_Vtbl; } @@ -3042,6 +2615,7 @@ impl ::windows_core::RuntimeName for InkRecognizer { ::windows_core::imp::interface_hierarchy!(InkRecognizer, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkRecognizerContainer(::windows_core::IUnknown); impl InkRecognizerContainer { pub fn new() -> ::windows_core::Result { @@ -3080,25 +2654,9 @@ impl InkRecognizerContainer { } } } -impl ::core::cmp::PartialEq for InkRecognizerContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkRecognizerContainer {} -impl ::core::fmt::Debug for InkRecognizerContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkRecognizerContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkRecognizerContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkRecognizerContainer;{a74d9a31-8047-4698-a912-f82a5085012f})"); } -impl ::core::clone::Clone for InkRecognizerContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkRecognizerContainer { type Vtable = IInkRecognizerContainer_Vtbl; } @@ -3112,6 +2670,7 @@ impl ::windows_core::RuntimeName for InkRecognizerContainer { impl ::windows_core::CanTryInto for InkRecognizerContainer {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStroke(::windows_core::IUnknown); impl InkStroke { pub fn DrawingAttributes(&self) -> ::windows_core::Result { @@ -3246,25 +2805,9 @@ impl InkStroke { } } } -impl ::core::cmp::PartialEq for InkStroke { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStroke {} -impl ::core::fmt::Debug for InkStroke { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStroke").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStroke { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStroke;{15144d60-cce3-4fcf-9d52-11518ab6afd4})"); } -impl ::core::clone::Clone for InkStroke { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStroke { type Vtable = IInkStroke_Vtbl; } @@ -3279,6 +2822,7 @@ unsafe impl ::core::marker::Send for InkStroke {} unsafe impl ::core::marker::Sync for InkStroke {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokeBuilder(::windows_core::IUnknown); impl InkStrokeBuilder { pub fn new() -> ::windows_core::Result { @@ -3361,25 +2905,9 @@ impl InkStrokeBuilder { } } } -impl ::core::cmp::PartialEq for InkStrokeBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokeBuilder {} -impl ::core::fmt::Debug for InkStrokeBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokeBuilder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokeBuilder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeBuilder;{82bbd1dc-1c63-41dc-9e07-4b4a70ced801})"); } -impl ::core::clone::Clone for InkStrokeBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokeBuilder { type Vtable = IInkStrokeBuilder_Vtbl; } @@ -3392,6 +2920,7 @@ impl ::windows_core::RuntimeName for InkStrokeBuilder { ::windows_core::imp::interface_hierarchy!(InkStrokeBuilder, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokeContainer(::windows_core::IUnknown); impl InkStrokeContainer { pub fn new() -> ::windows_core::Result { @@ -3560,25 +3089,9 @@ impl InkStrokeContainer { } } } -impl ::core::cmp::PartialEq for InkStrokeContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokeContainer {} -impl ::core::fmt::Debug for InkStrokeContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokeContainer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokeContainer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeContainer;{22accbc6-faa9-4f14-b68c-f6cee670ae16})"); } -impl ::core::clone::Clone for InkStrokeContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokeContainer { type Vtable = IInkStrokeContainer_Vtbl; } @@ -3592,6 +3105,7 @@ impl ::windows_core::RuntimeName for InkStrokeContainer { impl ::windows_core::CanTryInto for InkStrokeContainer {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokeInput(::windows_core::IUnknown); impl InkStrokeInput { #[doc = "*Required features: `\"Foundation\"`, `\"UI_Core\"`*"] @@ -3674,25 +3188,9 @@ impl InkStrokeInput { } } } -impl ::core::cmp::PartialEq for InkStrokeInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokeInput {} -impl ::core::fmt::Debug for InkStrokeInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokeInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokeInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeInput;{cf2ffe7b-5e10-43c6-a080-88f26e1dc67d})"); } -impl ::core::clone::Clone for InkStrokeInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokeInput { type Vtable = IInkStrokeInput_Vtbl; } @@ -3707,6 +3205,7 @@ unsafe impl ::core::marker::Send for InkStrokeInput {} unsafe impl ::core::marker::Sync for InkStrokeInput {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokeRenderingSegment(::windows_core::IUnknown); impl InkStrokeRenderingSegment { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3765,25 +3264,9 @@ impl InkStrokeRenderingSegment { } } } -impl ::core::cmp::PartialEq for InkStrokeRenderingSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokeRenderingSegment {} -impl ::core::fmt::Debug for InkStrokeRenderingSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokeRenderingSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokeRenderingSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokeRenderingSegment;{68510f1f-88e3-477a-a2fa-569f5f1f9bd5})"); } -impl ::core::clone::Clone for InkStrokeRenderingSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokeRenderingSegment { type Vtable = IInkStrokeRenderingSegment_Vtbl; } @@ -3798,6 +3281,7 @@ unsafe impl ::core::marker::Send for InkStrokeRenderingSegment {} unsafe impl ::core::marker::Sync for InkStrokeRenderingSegment {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokesCollectedEventArgs(::windows_core::IUnknown); impl InkStrokesCollectedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3810,25 +3294,9 @@ impl InkStrokesCollectedEventArgs { } } } -impl ::core::cmp::PartialEq for InkStrokesCollectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokesCollectedEventArgs {} -impl ::core::fmt::Debug for InkStrokesCollectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokesCollectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokesCollectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesCollectedEventArgs;{c4f3f229-1938-495c-b4d9-6de4b08d4811})"); } -impl ::core::clone::Clone for InkStrokesCollectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokesCollectedEventArgs { type Vtable = IInkStrokesCollectedEventArgs_Vtbl; } @@ -3841,6 +3309,7 @@ impl ::windows_core::RuntimeName for InkStrokesCollectedEventArgs { ::windows_core::imp::interface_hierarchy!(InkStrokesCollectedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkStrokesErasedEventArgs(::windows_core::IUnknown); impl InkStrokesErasedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3853,25 +3322,9 @@ impl InkStrokesErasedEventArgs { } } } -impl ::core::cmp::PartialEq for InkStrokesErasedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkStrokesErasedEventArgs {} -impl ::core::fmt::Debug for InkStrokesErasedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkStrokesErasedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkStrokesErasedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkStrokesErasedEventArgs;{a4216a22-1503-4ebf-8ff5-2de84584a8aa})"); } -impl ::core::clone::Clone for InkStrokesErasedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkStrokesErasedEventArgs { type Vtable = IInkStrokesErasedEventArgs_Vtbl; } @@ -3884,6 +3337,7 @@ impl ::windows_core::RuntimeName for InkStrokesErasedEventArgs { ::windows_core::imp::interface_hierarchy!(InkStrokesErasedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkSynchronizer(::windows_core::IUnknown); impl InkSynchronizer { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3900,25 +3354,9 @@ impl InkSynchronizer { unsafe { (::windows_core::Interface::vtable(this).EndDry)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for InkSynchronizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkSynchronizer {} -impl ::core::fmt::Debug for InkSynchronizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkSynchronizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkSynchronizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkSynchronizer;{9b9ea160-ae9b-45f9-8407-4b493b163661})"); } -impl ::core::clone::Clone for InkSynchronizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkSynchronizer { type Vtable = IInkSynchronizer_Vtbl; } @@ -3931,6 +3369,7 @@ impl ::windows_core::RuntimeName for InkSynchronizer { ::windows_core::imp::interface_hierarchy!(InkSynchronizer, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InkUnprocessedInput(::windows_core::IUnknown); impl InkUnprocessedInput { #[doc = "*Required features: `\"Foundation\"`, `\"UI_Core\"`*"] @@ -4067,25 +3506,9 @@ impl InkUnprocessedInput { } } } -impl ::core::cmp::PartialEq for InkUnprocessedInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InkUnprocessedInput {} -impl ::core::fmt::Debug for InkUnprocessedInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InkUnprocessedInput").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InkUnprocessedInput { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.InkUnprocessedInput;{db4445e0-8398-4921-ac3b-ab978c5ba256})"); } -impl ::core::clone::Clone for InkUnprocessedInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InkUnprocessedInput { type Vtable = IInkUnprocessedInput_Vtbl; } @@ -4100,6 +3523,7 @@ unsafe impl ::core::marker::Send for InkUnprocessedInput {} unsafe impl ::core::marker::Sync for InkUnprocessedInput {} #[doc = "*Required features: `\"UI_Input_Inking\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PenAndInkSettings(::windows_core::IUnknown); impl PenAndInkSettings { pub fn IsHandwritingDirectlyIntoTextFieldEnabled(&self) -> ::windows_core::Result { @@ -4160,25 +3584,9 @@ impl PenAndInkSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PenAndInkSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PenAndInkSettings {} -impl ::core::fmt::Debug for PenAndInkSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PenAndInkSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PenAndInkSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Inking.PenAndInkSettings;{bc2ceb8f-0066-44a8-bb7a-b839b3deb8f5})"); } -impl ::core::clone::Clone for PenAndInkSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PenAndInkSettings { type Vtable = IPenAndInkSettings_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs index 7050c5e88f..be42de7fb6 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputGamepadInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputGamepadInfo { type Vtable = IInjectedInputGamepadInfo_Vtbl; } -impl ::core::clone::Clone for IInjectedInputGamepadInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputGamepadInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20ae9a3f_df11_4572_a9ab_d75b8a5e48ad); } @@ -39,15 +35,11 @@ pub struct IInjectedInputGamepadInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputGamepadInfoFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputGamepadInfoFactory { type Vtable = IInjectedInputGamepadInfoFactory_Vtbl; } -impl ::core::clone::Clone for IInjectedInputGamepadInfoFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputGamepadInfoFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59596876_6c39_4ec4_8b2a_29ef7de18aca); } @@ -62,15 +54,11 @@ pub struct IInjectedInputGamepadInfoFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputKeyboardInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputKeyboardInfo { type Vtable = IInjectedInputKeyboardInfo_Vtbl; } -impl ::core::clone::Clone for IInjectedInputKeyboardInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputKeyboardInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b46d140_2b6a_5ffa_7eae_bd077b052acd); } @@ -87,15 +75,11 @@ pub struct IInjectedInputKeyboardInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputMouseInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputMouseInfo { type Vtable = IInjectedInputMouseInfo_Vtbl; } -impl ::core::clone::Clone for IInjectedInputMouseInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputMouseInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96f56e6b_e47a_5cf4_418d_8a5fb9670c7d); } @@ -116,15 +100,11 @@ pub struct IInjectedInputMouseInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputPenInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputPenInfo { type Vtable = IInjectedInputPenInfo_Vtbl; } -impl ::core::clone::Clone for IInjectedInputPenInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputPenInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b40ad03_ca1e_5527_7e02_2828540bb1d4); } @@ -149,15 +129,11 @@ pub struct IInjectedInputPenInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInjectedInputTouchInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInjectedInputTouchInfo { type Vtable = IInjectedInputTouchInfo_Vtbl; } -impl ::core::clone::Clone for IInjectedInputTouchInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInjectedInputTouchInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x224fd1df_43e8_5ef5_510a_69ca8c9b4c28); } @@ -178,15 +154,11 @@ pub struct IInjectedInputTouchInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputInjector(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputInjector { type Vtable = IInputInjector_Vtbl; } -impl ::core::clone::Clone for IInputInjector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputInjector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ec26f84_0b02_4bd2_ad7a_3d4658be3e18); } @@ -215,15 +187,11 @@ pub struct IInputInjector_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputInjector2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputInjector2 { type Vtable = IInputInjector2_Vtbl; } -impl ::core::clone::Clone for IInputInjector2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputInjector2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e7a905d_1453_43a7_9bcb_06d6d7b305f7); } @@ -237,15 +205,11 @@ pub struct IInputInjector2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputInjectorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputInjectorStatics { type Vtable = IInputInjectorStatics_Vtbl; } -impl ::core::clone::Clone for IInputInjectorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputInjectorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdeae6943_7402_4141_a5c6_0c01aa57b16a); } @@ -257,15 +221,11 @@ pub struct IInputInjectorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputInjectorStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputInjectorStatics2 { type Vtable = IInputInjectorStatics2_Vtbl; } -impl ::core::clone::Clone for IInputInjectorStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputInjectorStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4db38fb_dd8c_414f_95ea_f87ef4c0ae6c); } @@ -277,6 +237,7 @@ pub struct IInputInjectorStatics2_Vtbl { } #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InjectedInputGamepadInfo(::windows_core::IUnknown); impl InjectedInputGamepadInfo { pub fn new() -> ::windows_core::Result { @@ -381,25 +342,9 @@ impl InjectedInputGamepadInfo { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InjectedInputGamepadInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InjectedInputGamepadInfo {} -impl ::core::fmt::Debug for InjectedInputGamepadInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InjectedInputGamepadInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InjectedInputGamepadInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputGamepadInfo;{20ae9a3f-df11-4572-a9ab-d75b8a5e48ad})"); } -impl ::core::clone::Clone for InjectedInputGamepadInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InjectedInputGamepadInfo { type Vtable = IInjectedInputGamepadInfo_Vtbl; } @@ -412,6 +357,7 @@ impl ::windows_core::RuntimeName for InjectedInputGamepadInfo { ::windows_core::imp::interface_hierarchy!(InjectedInputGamepadInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InjectedInputKeyboardInfo(::windows_core::IUnknown); impl InjectedInputKeyboardInfo { pub fn new() -> ::windows_core::Result { @@ -455,25 +401,9 @@ impl InjectedInputKeyboardInfo { unsafe { (::windows_core::Interface::vtable(this).SetVirtualKey)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InjectedInputKeyboardInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InjectedInputKeyboardInfo {} -impl ::core::fmt::Debug for InjectedInputKeyboardInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InjectedInputKeyboardInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InjectedInputKeyboardInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputKeyboardInfo;{4b46d140-2b6a-5ffa-7eae-bd077b052acd})"); } -impl ::core::clone::Clone for InjectedInputKeyboardInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InjectedInputKeyboardInfo { type Vtable = IInjectedInputKeyboardInfo_Vtbl; } @@ -486,6 +416,7 @@ impl ::windows_core::RuntimeName for InjectedInputKeyboardInfo { ::windows_core::imp::interface_hierarchy!(InjectedInputKeyboardInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InjectedInputMouseInfo(::windows_core::IUnknown); impl InjectedInputMouseInfo { pub fn new() -> ::windows_core::Result { @@ -551,25 +482,9 @@ impl InjectedInputMouseInfo { unsafe { (::windows_core::Interface::vtable(this).SetTimeOffsetInMilliseconds)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InjectedInputMouseInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InjectedInputMouseInfo {} -impl ::core::fmt::Debug for InjectedInputMouseInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InjectedInputMouseInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InjectedInputMouseInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputMouseInfo;{96f56e6b-e47a-5cf4-418d-8a5fb9670c7d})"); } -impl ::core::clone::Clone for InjectedInputMouseInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InjectedInputMouseInfo { type Vtable = IInjectedInputMouseInfo_Vtbl; } @@ -582,6 +497,7 @@ impl ::windows_core::RuntimeName for InjectedInputMouseInfo { ::windows_core::imp::interface_hierarchy!(InjectedInputMouseInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InjectedInputPenInfo(::windows_core::IUnknown); impl InjectedInputPenInfo { pub fn new() -> ::windows_core::Result { @@ -669,25 +585,9 @@ impl InjectedInputPenInfo { unsafe { (::windows_core::Interface::vtable(this).SetTiltY)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InjectedInputPenInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InjectedInputPenInfo {} -impl ::core::fmt::Debug for InjectedInputPenInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InjectedInputPenInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InjectedInputPenInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputPenInfo;{6b40ad03-ca1e-5527-7e02-2828540bb1d4})"); } -impl ::core::clone::Clone for InjectedInputPenInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InjectedInputPenInfo { type Vtable = IInjectedInputPenInfo_Vtbl; } @@ -700,6 +600,7 @@ impl ::windows_core::RuntimeName for InjectedInputPenInfo { ::windows_core::imp::interface_hierarchy!(InjectedInputPenInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InjectedInputTouchInfo(::windows_core::IUnknown); impl InjectedInputTouchInfo { pub fn new() -> ::windows_core::Result { @@ -765,25 +666,9 @@ impl InjectedInputTouchInfo { unsafe { (::windows_core::Interface::vtable(this).SetTouchParameters)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for InjectedInputTouchInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InjectedInputTouchInfo {} -impl ::core::fmt::Debug for InjectedInputTouchInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InjectedInputTouchInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InjectedInputTouchInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InjectedInputTouchInfo;{224fd1df-43e8-5ef5-510a-69ca8c9b4c28})"); } -impl ::core::clone::Clone for InjectedInputTouchInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InjectedInputTouchInfo { type Vtable = IInjectedInputTouchInfo_Vtbl; } @@ -796,6 +681,7 @@ impl ::windows_core::RuntimeName for InjectedInputTouchInfo { ::windows_core::imp::interface_hierarchy!(InjectedInputTouchInfo, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input_Preview_Injection\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputInjector(::windows_core::IUnknown); impl InputInjector { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -890,25 +776,9 @@ impl InputInjector { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InputInjector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputInjector {} -impl ::core::fmt::Debug for InputInjector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputInjector").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputInjector { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Preview.Injection.InputInjector;{8ec26f84-0b02-4bd2-ad7a-3d4658be3e18})"); } -impl ::core::clone::Clone for InputInjector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputInjector { type Vtable = IInputInjector_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs index f25a67e48c..4e0ad1cf3e 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -2,15 +2,11 @@ pub mod Injection; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputActivationListenerPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputActivationListenerPreviewStatics { type Vtable = IInputActivationListenerPreviewStatics_Vtbl; } -impl ::core::clone::Clone for IInputActivationListenerPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputActivationListenerPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0551ce5_0de6_5be0_a589_f737201a4582); } diff --git a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs index 8d1b6c98b6..d519e998dc 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialGestureRecognizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialGestureRecognizer { type Vtable = ISpatialGestureRecognizer_Vtbl; } -impl ::core::clone::Clone for ISpatialGestureRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialGestureRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71605bcc_0c35_4673_adbd_cc04caa6ef45); } @@ -135,15 +131,11 @@ pub struct ISpatialGestureRecognizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialGestureRecognizerFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialGestureRecognizerFactory { type Vtable = ISpatialGestureRecognizerFactory_Vtbl; } -impl ::core::clone::Clone for ISpatialGestureRecognizerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialGestureRecognizerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77214186_57b9_3150_8382_698b24e264d0); } @@ -155,15 +147,11 @@ pub struct ISpatialGestureRecognizerFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialHoldCanceledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialHoldCanceledEventArgs { type Vtable = ISpatialHoldCanceledEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialHoldCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialHoldCanceledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5dfcb667_4caa_4093_8c35_b601a839f31b); } @@ -175,15 +163,11 @@ pub struct ISpatialHoldCanceledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialHoldCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialHoldCompletedEventArgs { type Vtable = ISpatialHoldCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialHoldCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialHoldCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f64470b_4cfd_43da_8dc4_e64552173971); } @@ -195,15 +179,11 @@ pub struct ISpatialHoldCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialHoldStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialHoldStartedEventArgs { type Vtable = ISpatialHoldStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialHoldStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialHoldStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e343d79_acb6_4144_8615_2cfba8a3cb3f); } @@ -219,15 +199,11 @@ pub struct ISpatialHoldStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteraction(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteraction { type Vtable = ISpatialInteraction_Vtbl; } -impl ::core::clone::Clone for ISpatialInteraction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteraction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc967639_88e6_4646_9112_4344aaec9dfa); } @@ -239,15 +215,11 @@ pub struct ISpatialInteraction_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionController { type Vtable = ISpatialInteractionController_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f0e5ba3_0954_4e97_86c5_e7f30b114dfd); } @@ -267,15 +239,11 @@ pub struct ISpatialInteractionController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionController2 { type Vtable = ISpatialInteractionController2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35b6d924_c7a2_49b7_b72e_5436b2fb8f9c); } @@ -290,15 +258,11 @@ pub struct ISpatialInteractionController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionController3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionController3 { type Vtable = ISpatialInteractionController3_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionController3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionController3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x628466a0_9d91_4a0b_888d_165e670a8cd5); } @@ -313,15 +277,11 @@ pub struct ISpatialInteractionController3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionControllerProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionControllerProperties { type Vtable = ISpatialInteractionControllerProperties_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionControllerProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionControllerProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61056fb1_7ba9_4e35_b93f_9272cba9b28b); } @@ -339,15 +299,11 @@ pub struct ISpatialInteractionControllerProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionDetectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionDetectedEventArgs { type Vtable = ISpatialInteractionDetectedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionDetectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x075878e4_5961_3b41_9dfb_cea5d89cc38a); } @@ -364,15 +320,11 @@ pub struct ISpatialInteractionDetectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionDetectedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionDetectedEventArgs2 { type Vtable = ISpatialInteractionDetectedEventArgs2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionDetectedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionDetectedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b263e93_5f13_419c_97d5_834678266aa6); } @@ -384,15 +336,11 @@ pub struct ISpatialInteractionDetectedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionManager { type Vtable = ISpatialInteractionManager_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32a64ea8_a15a_3995_b8bd_80513cb5adef); } @@ -455,15 +403,11 @@ pub struct ISpatialInteractionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionManagerStatics { type Vtable = ISpatialInteractionManagerStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00e31fa6_8ca2_30bf_91fe_d9cb4a008990); } @@ -475,15 +419,11 @@ pub struct ISpatialInteractionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionManagerStatics2 { type Vtable = ISpatialInteractionManagerStatics2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93f16c52_b88a_5929_8d7c_48cb948b081c); } @@ -495,15 +435,11 @@ pub struct ISpatialInteractionManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSource { type Vtable = ISpatialInteractionSource_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb5433ba_b0b3_3148_9f3b_e9f5de568f5d); } @@ -516,15 +452,11 @@ pub struct ISpatialInteractionSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSource2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSource2 { type Vtable = ISpatialInteractionSource2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4c5b70c_0470_4028_88c0_a0eb44d34efe); } @@ -543,15 +475,11 @@ pub struct ISpatialInteractionSource2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSource3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSource3 { type Vtable = ISpatialInteractionSource3_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0406d9f9_9afd_44f9_85dc_700023a962e3); } @@ -563,15 +491,11 @@ pub struct ISpatialInteractionSource3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSource4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSource4 { type Vtable = ISpatialInteractionSource4_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSource4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSource4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0073bc4d_df66_5a91_a2ba_cea3e5c58a19); } @@ -590,15 +514,11 @@ pub struct ISpatialInteractionSource4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceEventArgs { type Vtable = ISpatialInteractionSourceEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23b786cf_ec23_3979_b27c_eb0e12feb7c7); } @@ -610,15 +530,11 @@ pub struct ISpatialInteractionSourceEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceEventArgs2 { type Vtable = ISpatialInteractionSourceEventArgs2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8b4b467_e648_4d52_ab49_e0d227199f63); } @@ -630,15 +546,11 @@ pub struct ISpatialInteractionSourceEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceLocation { type Vtable = ISpatialInteractionSourceLocation_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea4696c4_7e8b_30ca_bcc5_c77189cea30a); } @@ -657,15 +569,11 @@ pub struct ISpatialInteractionSourceLocation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceLocation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceLocation2 { type Vtable = ISpatialInteractionSourceLocation2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceLocation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceLocation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c671045_3917_40fc_a9ac_31c9cf5ff91b); } @@ -680,15 +588,11 @@ pub struct ISpatialInteractionSourceLocation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceLocation3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceLocation3 { type Vtable = ISpatialInteractionSourceLocation3_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceLocation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceLocation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6702e65e_e915_4cfb_9c1b_0538efc86687); } @@ -705,15 +609,11 @@ pub struct ISpatialInteractionSourceLocation3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceProperties { type Vtable = ISpatialInteractionSourceProperties_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05604542_3ef7_3222_9f53_63c9cb7e3bc7); } @@ -733,15 +633,11 @@ pub struct ISpatialInteractionSourceProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceState(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceState { type Vtable = ISpatialInteractionSourceState_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5c475ef_4b63_37ec_98b9_9fc652b9d2f2); } @@ -763,15 +659,11 @@ pub struct ISpatialInteractionSourceState_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceState2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceState2 { type Vtable = ISpatialInteractionSourceState2_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceState2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceState2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45f6d0bd_1773_492e_9ba3_8ac1cbe77c08); } @@ -787,15 +679,11 @@ pub struct ISpatialInteractionSourceState2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionSourceState3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialInteractionSourceState3 { type Vtable = ISpatialInteractionSourceState3_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionSourceState3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionSourceState3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2f00bc2_bd2b_4a01_a8fb_323e0158527c); } @@ -810,15 +698,11 @@ pub struct ISpatialInteractionSourceState3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialManipulationCanceledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialManipulationCanceledEventArgs { type Vtable = ISpatialManipulationCanceledEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialManipulationCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialManipulationCanceledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d40d1cb_e7da_4220_b0bf_819301674780); } @@ -830,15 +714,11 @@ pub struct ISpatialManipulationCanceledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialManipulationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialManipulationCompletedEventArgs { type Vtable = ISpatialManipulationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialManipulationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialManipulationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05086802_f301_4343_9250_2fbaa5f87a37); } @@ -854,15 +734,11 @@ pub struct ISpatialManipulationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialManipulationDelta(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialManipulationDelta { type Vtable = ISpatialManipulationDelta_Vtbl; } -impl ::core::clone::Clone for ISpatialManipulationDelta { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialManipulationDelta { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7ec967a_d123_3a81_a15b_992923dcbe91); } @@ -877,15 +753,11 @@ pub struct ISpatialManipulationDelta_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialManipulationStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialManipulationStartedEventArgs { type Vtable = ISpatialManipulationStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialManipulationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialManipulationStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1d6bbce_42a5_377b_ada6_d28e3d384737); } @@ -901,15 +773,11 @@ pub struct ISpatialManipulationStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialManipulationUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialManipulationUpdatedEventArgs { type Vtable = ISpatialManipulationUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialManipulationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialManipulationUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f230b9b_60c6_4dc6_bdc9_9f4a6f15fe49); } @@ -925,15 +793,11 @@ pub struct ISpatialManipulationUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialNavigationCanceledEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialNavigationCanceledEventArgs { type Vtable = ISpatialNavigationCanceledEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialNavigationCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialNavigationCanceledEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce503edc_e8a5_46f0_92d4_3c122b35112a); } @@ -945,15 +809,11 @@ pub struct ISpatialNavigationCanceledEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialNavigationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialNavigationCompletedEventArgs { type Vtable = ISpatialNavigationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialNavigationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialNavigationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x012e80b7_af3b_42c2_9e41_baaa0e721f3a); } @@ -969,15 +829,11 @@ pub struct ISpatialNavigationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialNavigationStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialNavigationStartedEventArgs { type Vtable = ISpatialNavigationStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialNavigationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialNavigationStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x754a348a_fb64_4656_8ebd_9deecaafe475); } @@ -996,15 +852,11 @@ pub struct ISpatialNavigationStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialNavigationUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialNavigationUpdatedEventArgs { type Vtable = ISpatialNavigationUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialNavigationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialNavigationUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b713fd7_839d_4a74_8732_45466fc044b5); } @@ -1020,15 +872,11 @@ pub struct ISpatialNavigationUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerInteractionSourcePose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerInteractionSourcePose { type Vtable = ISpatialPointerInteractionSourcePose_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerInteractionSourcePose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerInteractionSourcePose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7104307_2c2b_4d3a_92a7_80ced7c4a0d0); } @@ -1051,15 +899,11 @@ pub struct ISpatialPointerInteractionSourcePose_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerInteractionSourcePose2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerInteractionSourcePose2 { type Vtable = ISpatialPointerInteractionSourcePose2_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerInteractionSourcePose2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerInteractionSourcePose2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeccd86b8_52db_469f_9e3f_80c47f74bce9); } @@ -1075,15 +919,11 @@ pub struct ISpatialPointerInteractionSourcePose2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerPose(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerPose { type Vtable = ISpatialPointerPose_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerPose { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6953a42e_c17e_357d_97a1_7269d0ed2d10); } @@ -1102,15 +942,11 @@ pub struct ISpatialPointerPose_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerPose2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerPose2 { type Vtable = ISpatialPointerPose2_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerPose2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerPose2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d202b17_954e_4e0c_96d1_b6790b6fc2fd); } @@ -1122,15 +958,11 @@ pub struct ISpatialPointerPose2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerPose3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerPose3 { type Vtable = ISpatialPointerPose3_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerPose3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerPose3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6342f3f0_ec49_5b4b_b8d1_d16cbb16be84); } @@ -1146,15 +978,11 @@ pub struct ISpatialPointerPose3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialPointerPoseStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialPointerPoseStatics { type Vtable = ISpatialPointerPoseStatics_Vtbl; } -impl ::core::clone::Clone for ISpatialPointerPoseStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialPointerPoseStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa25591a9_aca1_3ee0_9816_785cfb2e3fb8); } @@ -1169,15 +997,11 @@ pub struct ISpatialPointerPoseStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialRecognitionEndedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialRecognitionEndedEventArgs { type Vtable = ISpatialRecognitionEndedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialRecognitionEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialRecognitionEndedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e35f5cb_3f75_43f3_ac81_d1dc2df9b1fb); } @@ -1189,15 +1013,11 @@ pub struct ISpatialRecognitionEndedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialRecognitionStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialRecognitionStartedEventArgs { type Vtable = ISpatialRecognitionStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialRecognitionStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialRecognitionStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24da128f_0008_4a6d_aa50_2a76f9cfb264); } @@ -1214,15 +1034,11 @@ pub struct ISpatialRecognitionStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialTappedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISpatialTappedEventArgs { type Vtable = ISpatialTappedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISpatialTappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialTappedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x296d83de_f444_4aa1_b2bf_9dc88d567da6); } @@ -1239,6 +1055,7 @@ pub struct ISpatialTappedEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialGestureRecognizer(::windows_core::IUnknown); impl SpatialGestureRecognizer { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1530,25 +1347,9 @@ impl SpatialGestureRecognizer { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialGestureRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialGestureRecognizer {} -impl ::core::fmt::Debug for SpatialGestureRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialGestureRecognizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialGestureRecognizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialGestureRecognizer;{71605bcc-0c35-4673-adbd-cc04caa6ef45})"); } -impl ::core::clone::Clone for SpatialGestureRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialGestureRecognizer { type Vtable = ISpatialGestureRecognizer_Vtbl; } @@ -1563,6 +1364,7 @@ unsafe impl ::core::marker::Send for SpatialGestureRecognizer {} unsafe impl ::core::marker::Sync for SpatialGestureRecognizer {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialHoldCanceledEventArgs(::windows_core::IUnknown); impl SpatialHoldCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -1573,25 +1375,9 @@ impl SpatialHoldCanceledEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialHoldCanceledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialHoldCanceledEventArgs {} -impl ::core::fmt::Debug for SpatialHoldCanceledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialHoldCanceledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialHoldCanceledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCanceledEventArgs;{5dfcb667-4caa-4093-8c35-b601a839f31b})"); } -impl ::core::clone::Clone for SpatialHoldCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialHoldCanceledEventArgs { type Vtable = ISpatialHoldCanceledEventArgs_Vtbl; } @@ -1606,6 +1392,7 @@ unsafe impl ::core::marker::Send for SpatialHoldCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialHoldCompletedEventArgs(::windows_core::IUnknown); impl SpatialHoldCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -1616,25 +1403,9 @@ impl SpatialHoldCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialHoldCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialHoldCompletedEventArgs {} -impl ::core::fmt::Debug for SpatialHoldCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialHoldCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialHoldCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldCompletedEventArgs;{3f64470b-4cfd-43da-8dc4-e64552173971})"); } -impl ::core::clone::Clone for SpatialHoldCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialHoldCompletedEventArgs { type Vtable = ISpatialHoldCompletedEventArgs_Vtbl; } @@ -1649,6 +1420,7 @@ unsafe impl ::core::marker::Send for SpatialHoldCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialHoldStartedEventArgs(::windows_core::IUnknown); impl SpatialHoldStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -1671,25 +1443,9 @@ impl SpatialHoldStartedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialHoldStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialHoldStartedEventArgs {} -impl ::core::fmt::Debug for SpatialHoldStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialHoldStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialHoldStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialHoldStartedEventArgs;{8e343d79-acb6-4144-8615-2cfba8a3cb3f})"); } -impl ::core::clone::Clone for SpatialHoldStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialHoldStartedEventArgs { type Vtable = ISpatialHoldStartedEventArgs_Vtbl; } @@ -1704,6 +1460,7 @@ unsafe impl ::core::marker::Send for SpatialHoldStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialHoldStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteraction(::windows_core::IUnknown); impl SpatialInteraction { pub fn SourceState(&self) -> ::windows_core::Result { @@ -1714,25 +1471,9 @@ impl SpatialInteraction { } } } -impl ::core::cmp::PartialEq for SpatialInteraction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteraction {} -impl ::core::fmt::Debug for SpatialInteraction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteraction").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteraction { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteraction;{fc967639-88e6-4646-9112-4344aaec9dfa})"); } -impl ::core::clone::Clone for SpatialInteraction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteraction { type Vtable = ISpatialInteraction_Vtbl; } @@ -1747,6 +1488,7 @@ unsafe impl ::core::marker::Send for SpatialInteraction {} unsafe impl ::core::marker::Sync for SpatialInteraction {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionController(::windows_core::IUnknown); impl SpatialInteractionController { pub fn HasTouchpad(&self) -> ::windows_core::Result { @@ -1812,25 +1554,9 @@ impl SpatialInteractionController { } } } -impl ::core::cmp::PartialEq for SpatialInteractionController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionController {} -impl ::core::fmt::Debug for SpatialInteractionController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionController;{5f0e5ba3-0954-4e97-86c5-e7f30b114dfd})"); } -impl ::core::clone::Clone for SpatialInteractionController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionController { type Vtable = ISpatialInteractionController_Vtbl; } @@ -1845,6 +1571,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionController {} unsafe impl ::core::marker::Sync for SpatialInteractionController {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionControllerProperties(::windows_core::IUnknown); impl SpatialInteractionControllerProperties { pub fn IsTouchpadTouched(&self) -> ::windows_core::Result { @@ -1897,25 +1624,9 @@ impl SpatialInteractionControllerProperties { } } } -impl ::core::cmp::PartialEq for SpatialInteractionControllerProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionControllerProperties {} -impl ::core::fmt::Debug for SpatialInteractionControllerProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionControllerProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionControllerProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionControllerProperties;{61056fb1-7ba9-4e35-b93f-9272cba9b28b})"); } -impl ::core::clone::Clone for SpatialInteractionControllerProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionControllerProperties { type Vtable = ISpatialInteractionControllerProperties_Vtbl; } @@ -1930,6 +1641,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionControllerProperties {} unsafe impl ::core::marker::Sync for SpatialInteractionControllerProperties {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionDetectedEventArgs(::windows_core::IUnknown); impl SpatialInteractionDetectedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -1966,25 +1678,9 @@ impl SpatialInteractionDetectedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialInteractionDetectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionDetectedEventArgs {} -impl ::core::fmt::Debug for SpatialInteractionDetectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionDetectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionDetectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionDetectedEventArgs;{075878e4-5961-3b41-9dfb-cea5d89cc38a})"); } -impl ::core::clone::Clone for SpatialInteractionDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionDetectedEventArgs { type Vtable = ISpatialInteractionDetectedEventArgs_Vtbl; } @@ -1999,6 +1695,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionDetectedEventArgs {} unsafe impl ::core::marker::Sync for SpatialInteractionDetectedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionManager(::windows_core::IUnknown); impl SpatialInteractionManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2144,25 +1841,9 @@ impl SpatialInteractionManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialInteractionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionManager {} -impl ::core::fmt::Debug for SpatialInteractionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionManager;{32a64ea8-a15a-3995-b8bd-80513cb5adef})"); } -impl ::core::clone::Clone for SpatialInteractionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionManager { type Vtable = ISpatialInteractionManager_Vtbl; } @@ -2177,6 +1858,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionManager {} unsafe impl ::core::marker::Sync for SpatialInteractionManager {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionSource(::windows_core::IUnknown); impl SpatialInteractionSource { pub fn Id(&self) -> ::windows_core::Result { @@ -2259,25 +1941,9 @@ impl SpatialInteractionSource { } } } -impl ::core::cmp::PartialEq for SpatialInteractionSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionSource {} -impl ::core::fmt::Debug for SpatialInteractionSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSource;{fb5433ba-b0b3-3148-9f3b-e9f5de568f5d})"); } -impl ::core::clone::Clone for SpatialInteractionSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionSource { type Vtable = ISpatialInteractionSource_Vtbl; } @@ -2292,6 +1958,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionSource {} unsafe impl ::core::marker::Sync for SpatialInteractionSource {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionSourceEventArgs(::windows_core::IUnknown); impl SpatialInteractionSourceEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -2309,25 +1976,9 @@ impl SpatialInteractionSourceEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialInteractionSourceEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionSourceEventArgs {} -impl ::core::fmt::Debug for SpatialInteractionSourceEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionSourceEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionSourceEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceEventArgs;{23b786cf-ec23-3979-b27c-eb0e12feb7c7})"); } -impl ::core::clone::Clone for SpatialInteractionSourceEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionSourceEventArgs { type Vtable = ISpatialInteractionSourceEventArgs_Vtbl; } @@ -2342,6 +1993,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionSourceEventArgs {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionSourceLocation(::windows_core::IUnknown); impl SpatialInteractionSourceLocation { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -2395,25 +2047,9 @@ impl SpatialInteractionSourceLocation { } } } -impl ::core::cmp::PartialEq for SpatialInteractionSourceLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionSourceLocation {} -impl ::core::fmt::Debug for SpatialInteractionSourceLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionSourceLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionSourceLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceLocation;{ea4696c4-7e8b-30ca-bcc5-c77189cea30a})"); } -impl ::core::clone::Clone for SpatialInteractionSourceLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionSourceLocation { type Vtable = ISpatialInteractionSourceLocation_Vtbl; } @@ -2428,6 +2064,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionSourceLocation {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceLocation {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionSourceProperties(::windows_core::IUnknown); impl SpatialInteractionSourceProperties { #[doc = "*Required features: `\"Foundation_Numerics\"`, `\"Perception_Spatial\"`*"] @@ -2462,25 +2099,9 @@ impl SpatialInteractionSourceProperties { } } } -impl ::core::cmp::PartialEq for SpatialInteractionSourceProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionSourceProperties {} -impl ::core::fmt::Debug for SpatialInteractionSourceProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionSourceProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionSourceProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceProperties;{05604542-3ef7-3222-9f53-63c9cb7e3bc7})"); } -impl ::core::clone::Clone for SpatialInteractionSourceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionSourceProperties { type Vtable = ISpatialInteractionSourceProperties_Vtbl; } @@ -2495,6 +2116,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionSourceProperties {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceProperties {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialInteractionSourceState(::windows_core::IUnknown); impl SpatialInteractionSourceState { pub fn Source(&self) -> ::windows_core::Result { @@ -2584,25 +2206,9 @@ impl SpatialInteractionSourceState { } } } -impl ::core::cmp::PartialEq for SpatialInteractionSourceState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialInteractionSourceState {} -impl ::core::fmt::Debug for SpatialInteractionSourceState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialInteractionSourceState").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialInteractionSourceState { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialInteractionSourceState;{d5c475ef-4b63-37ec-98b9-9fc652b9d2f2})"); } -impl ::core::clone::Clone for SpatialInteractionSourceState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialInteractionSourceState { type Vtable = ISpatialInteractionSourceState_Vtbl; } @@ -2617,6 +2223,7 @@ unsafe impl ::core::marker::Send for SpatialInteractionSourceState {} unsafe impl ::core::marker::Sync for SpatialInteractionSourceState {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialManipulationCanceledEventArgs(::windows_core::IUnknown); impl SpatialManipulationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2627,25 +2234,9 @@ impl SpatialManipulationCanceledEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialManipulationCanceledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialManipulationCanceledEventArgs {} -impl ::core::fmt::Debug for SpatialManipulationCanceledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialManipulationCanceledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialManipulationCanceledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCanceledEventArgs;{2d40d1cb-e7da-4220-b0bf-819301674780})"); } -impl ::core::clone::Clone for SpatialManipulationCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialManipulationCanceledEventArgs { type Vtable = ISpatialManipulationCanceledEventArgs_Vtbl; } @@ -2660,6 +2251,7 @@ unsafe impl ::core::marker::Send for SpatialManipulationCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialManipulationCompletedEventArgs(::windows_core::IUnknown); impl SpatialManipulationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2682,25 +2274,9 @@ impl SpatialManipulationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialManipulationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialManipulationCompletedEventArgs {} -impl ::core::fmt::Debug for SpatialManipulationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialManipulationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialManipulationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationCompletedEventArgs;{05086802-f301-4343-9250-2fbaa5f87a37})"); } -impl ::core::clone::Clone for SpatialManipulationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialManipulationCompletedEventArgs { type Vtable = ISpatialManipulationCompletedEventArgs_Vtbl; } @@ -2715,6 +2291,7 @@ unsafe impl ::core::marker::Send for SpatialManipulationCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialManipulationDelta(::windows_core::IUnknown); impl SpatialManipulationDelta { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -2727,25 +2304,9 @@ impl SpatialManipulationDelta { } } } -impl ::core::cmp::PartialEq for SpatialManipulationDelta { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialManipulationDelta {} -impl ::core::fmt::Debug for SpatialManipulationDelta { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialManipulationDelta").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialManipulationDelta { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationDelta;{a7ec967a-d123-3a81-a15b-992923dcbe91})"); } -impl ::core::clone::Clone for SpatialManipulationDelta { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialManipulationDelta { type Vtable = ISpatialManipulationDelta_Vtbl; } @@ -2760,6 +2321,7 @@ unsafe impl ::core::marker::Send for SpatialManipulationDelta {} unsafe impl ::core::marker::Sync for SpatialManipulationDelta {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialManipulationStartedEventArgs(::windows_core::IUnknown); impl SpatialManipulationStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2782,25 +2344,9 @@ impl SpatialManipulationStartedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialManipulationStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialManipulationStartedEventArgs {} -impl ::core::fmt::Debug for SpatialManipulationStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialManipulationStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialManipulationStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationStartedEventArgs;{a1d6bbce-42a5-377b-ada6-d28e3d384737})"); } -impl ::core::clone::Clone for SpatialManipulationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialManipulationStartedEventArgs { type Vtable = ISpatialManipulationStartedEventArgs_Vtbl; } @@ -2815,6 +2361,7 @@ unsafe impl ::core::marker::Send for SpatialManipulationStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialManipulationUpdatedEventArgs(::windows_core::IUnknown); impl SpatialManipulationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2837,25 +2384,9 @@ impl SpatialManipulationUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialManipulationUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialManipulationUpdatedEventArgs {} -impl ::core::fmt::Debug for SpatialManipulationUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialManipulationUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialManipulationUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialManipulationUpdatedEventArgs;{5f230b9b-60c6-4dc6-bdc9-9f4a6f15fe49})"); } -impl ::core::clone::Clone for SpatialManipulationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialManipulationUpdatedEventArgs { type Vtable = ISpatialManipulationUpdatedEventArgs_Vtbl; } @@ -2870,6 +2401,7 @@ unsafe impl ::core::marker::Send for SpatialManipulationUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialManipulationUpdatedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialNavigationCanceledEventArgs(::windows_core::IUnknown); impl SpatialNavigationCanceledEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2880,25 +2412,9 @@ impl SpatialNavigationCanceledEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialNavigationCanceledEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialNavigationCanceledEventArgs {} -impl ::core::fmt::Debug for SpatialNavigationCanceledEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialNavigationCanceledEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialNavigationCanceledEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCanceledEventArgs;{ce503edc-e8a5-46f0-92d4-3c122b35112a})"); } -impl ::core::clone::Clone for SpatialNavigationCanceledEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialNavigationCanceledEventArgs { type Vtable = ISpatialNavigationCanceledEventArgs_Vtbl; } @@ -2913,6 +2429,7 @@ unsafe impl ::core::marker::Send for SpatialNavigationCanceledEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationCanceledEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialNavigationCompletedEventArgs(::windows_core::IUnknown); impl SpatialNavigationCompletedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -2932,25 +2449,9 @@ impl SpatialNavigationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialNavigationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialNavigationCompletedEventArgs {} -impl ::core::fmt::Debug for SpatialNavigationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialNavigationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialNavigationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationCompletedEventArgs;{012e80b7-af3b-42c2-9e41-baaa0e721f3a})"); } -impl ::core::clone::Clone for SpatialNavigationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialNavigationCompletedEventArgs { type Vtable = ISpatialNavigationCompletedEventArgs_Vtbl; } @@ -2965,6 +2466,7 @@ unsafe impl ::core::marker::Send for SpatialNavigationCompletedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationCompletedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialNavigationStartedEventArgs(::windows_core::IUnknown); impl SpatialNavigationStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -3008,25 +2510,9 @@ impl SpatialNavigationStartedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialNavigationStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialNavigationStartedEventArgs {} -impl ::core::fmt::Debug for SpatialNavigationStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialNavigationStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialNavigationStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationStartedEventArgs;{754a348a-fb64-4656-8ebd-9deecaafe475})"); } -impl ::core::clone::Clone for SpatialNavigationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialNavigationStartedEventArgs { type Vtable = ISpatialNavigationStartedEventArgs_Vtbl; } @@ -3041,6 +2527,7 @@ unsafe impl ::core::marker::Send for SpatialNavigationStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialNavigationUpdatedEventArgs(::windows_core::IUnknown); impl SpatialNavigationUpdatedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -3060,25 +2547,9 @@ impl SpatialNavigationUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialNavigationUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialNavigationUpdatedEventArgs {} -impl ::core::fmt::Debug for SpatialNavigationUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialNavigationUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialNavigationUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialNavigationUpdatedEventArgs;{9b713fd7-839d-4a74-8732-45466fc044b5})"); } -impl ::core::clone::Clone for SpatialNavigationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialNavigationUpdatedEventArgs { type Vtable = ISpatialNavigationUpdatedEventArgs_Vtbl; } @@ -3093,6 +2564,7 @@ unsafe impl ::core::marker::Send for SpatialNavigationUpdatedEventArgs {} unsafe impl ::core::marker::Sync for SpatialNavigationUpdatedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialPointerInteractionSourcePose(::windows_core::IUnknown); impl SpatialPointerInteractionSourcePose { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -3139,25 +2611,9 @@ impl SpatialPointerInteractionSourcePose { } } } -impl ::core::cmp::PartialEq for SpatialPointerInteractionSourcePose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialPointerInteractionSourcePose {} -impl ::core::fmt::Debug for SpatialPointerInteractionSourcePose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialPointerInteractionSourcePose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialPointerInteractionSourcePose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerInteractionSourcePose;{a7104307-2c2b-4d3a-92a7-80ced7c4a0d0})"); } -impl ::core::clone::Clone for SpatialPointerInteractionSourcePose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialPointerInteractionSourcePose { type Vtable = ISpatialPointerInteractionSourcePose_Vtbl; } @@ -3172,6 +2628,7 @@ unsafe impl ::core::marker::Send for SpatialPointerInteractionSourcePose {} unsafe impl ::core::marker::Sync for SpatialPointerInteractionSourcePose {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialPointerPose(::windows_core::IUnknown); impl SpatialPointerPose { #[doc = "*Required features: `\"Perception\"`*"] @@ -3236,25 +2693,9 @@ impl SpatialPointerPose { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SpatialPointerPose { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialPointerPose {} -impl ::core::fmt::Debug for SpatialPointerPose { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialPointerPose").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialPointerPose { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialPointerPose;{6953a42e-c17e-357d-97a1-7269d0ed2d10})"); } -impl ::core::clone::Clone for SpatialPointerPose { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialPointerPose { type Vtable = ISpatialPointerPose_Vtbl; } @@ -3269,6 +2710,7 @@ unsafe impl ::core::marker::Send for SpatialPointerPose {} unsafe impl ::core::marker::Sync for SpatialPointerPose {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialRecognitionEndedEventArgs(::windows_core::IUnknown); impl SpatialRecognitionEndedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -3279,25 +2721,9 @@ impl SpatialRecognitionEndedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialRecognitionEndedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialRecognitionEndedEventArgs {} -impl ::core::fmt::Debug for SpatialRecognitionEndedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialRecognitionEndedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialRecognitionEndedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionEndedEventArgs;{0e35f5cb-3f75-43f3-ac81-d1dc2df9b1fb})"); } -impl ::core::clone::Clone for SpatialRecognitionEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialRecognitionEndedEventArgs { type Vtable = ISpatialRecognitionEndedEventArgs_Vtbl; } @@ -3312,6 +2738,7 @@ unsafe impl ::core::marker::Send for SpatialRecognitionEndedEventArgs {} unsafe impl ::core::marker::Sync for SpatialRecognitionEndedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialRecognitionStartedEventArgs(::windows_core::IUnknown); impl SpatialRecognitionStartedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -3341,25 +2768,9 @@ impl SpatialRecognitionStartedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialRecognitionStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialRecognitionStartedEventArgs {} -impl ::core::fmt::Debug for SpatialRecognitionStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialRecognitionStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialRecognitionStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialRecognitionStartedEventArgs;{24da128f-0008-4a6d-aa50-2a76f9cfb264})"); } -impl ::core::clone::Clone for SpatialRecognitionStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialRecognitionStartedEventArgs { type Vtable = ISpatialRecognitionStartedEventArgs_Vtbl; } @@ -3374,6 +2785,7 @@ unsafe impl ::core::marker::Send for SpatialRecognitionStartedEventArgs {} unsafe impl ::core::marker::Sync for SpatialRecognitionStartedEventArgs {} #[doc = "*Required features: `\"UI_Input_Spatial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SpatialTappedEventArgs(::windows_core::IUnknown); impl SpatialTappedEventArgs { pub fn InteractionSourceKind(&self) -> ::windows_core::Result { @@ -3403,25 +2815,9 @@ impl SpatialTappedEventArgs { } } } -impl ::core::cmp::PartialEq for SpatialTappedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SpatialTappedEventArgs {} -impl ::core::fmt::Debug for SpatialTappedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SpatialTappedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SpatialTappedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.Spatial.SpatialTappedEventArgs;{296d83de-f444-4aa1-b2bf-9dc88d567da6})"); } -impl ::core::clone::Clone for SpatialTappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SpatialTappedEventArgs { type Vtable = ISpatialTappedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Input/impl.rs b/crates/libs/windows/src/Windows/UI/Input/impl.rs index 608bd8d811..36043c2cef 100644 --- a/crates/libs/windows/src/Windows/UI/Input/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/impl.rs @@ -53,7 +53,7 @@ impl IPointerPointTransform_Vtbl { TransformBounds: TransformBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 2a32a26720..6ea908ac25 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -8,15 +8,11 @@ pub mod Preview; pub mod Spatial; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttachableInputObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAttachableInputObject { type Vtable = IAttachableInputObject_Vtbl; } -impl ::core::clone::Clone for IAttachableInputObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttachableInputObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b822734_a3c1_542a_b2f4_0e32b773fb07); } @@ -27,15 +23,11 @@ pub struct IAttachableInputObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttachableInputObjectFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAttachableInputObjectFactory { type Vtable = IAttachableInputObjectFactory_Vtbl; } -impl ::core::clone::Clone for IAttachableInputObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttachableInputObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4c54c4e_42bc_58fa_a640_ea1516f4c06b); } @@ -46,15 +38,11 @@ pub struct IAttachableInputObjectFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrossSlidingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICrossSlidingEventArgs { type Vtable = ICrossSlidingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICrossSlidingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrossSlidingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9374738_6f88_41d9_8720_78e08e398349); } @@ -74,15 +62,11 @@ pub struct ICrossSlidingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrossSlidingEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICrossSlidingEventArgs2 { type Vtable = ICrossSlidingEventArgs2_Vtbl; } -impl ::core::clone::Clone for ICrossSlidingEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrossSlidingEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeefb7d48_c070_59f3_8dab_bcaf621d8687); } @@ -94,15 +78,11 @@ pub struct ICrossSlidingEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDraggingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDraggingEventArgs { type Vtable = IDraggingEventArgs_Vtbl; } -impl ::core::clone::Clone for IDraggingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDraggingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c905384_083c_4bd3_b559_179cddeb33ec); } @@ -122,15 +102,11 @@ pub struct IDraggingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDraggingEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDraggingEventArgs2 { type Vtable = IDraggingEventArgs2_Vtbl; } -impl ::core::clone::Clone for IDraggingEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDraggingEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71efdbf9_382a_55ca_b4b9_008123c1bf1a); } @@ -142,15 +118,11 @@ pub struct IDraggingEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEdgeGesture(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEdgeGesture { type Vtable = IEdgeGesture_Vtbl; } -impl ::core::clone::Clone for IEdgeGesture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEdgeGesture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x580d5292_2ab1_49aa_a7f0_33bd3f8df9f1); } @@ -185,15 +157,11 @@ pub struct IEdgeGesture_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEdgeGestureEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEdgeGestureEventArgs { type Vtable = IEdgeGestureEventArgs_Vtbl; } -impl ::core::clone::Clone for IEdgeGestureEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEdgeGestureEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44fa4a24_2d09_42e1_8b5e_368208796a4c); } @@ -205,15 +173,11 @@ pub struct IEdgeGestureEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEdgeGestureStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEdgeGestureStatics { type Vtable = IEdgeGestureStatics_Vtbl; } -impl ::core::clone::Clone for IEdgeGestureStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEdgeGestureStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc6a8519_18ee_4043_9839_4fc584d60a14); } @@ -225,15 +189,11 @@ pub struct IEdgeGestureStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGestureRecognizer(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGestureRecognizer { type Vtable = IGestureRecognizer_Vtbl; } -impl ::core::clone::Clone for IGestureRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGestureRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb47a37bf_3d6b_4f88_83e8_6dcb4012ffb0); } @@ -365,15 +325,11 @@ pub struct IGestureRecognizer_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGestureRecognizer2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IGestureRecognizer2 { type Vtable = IGestureRecognizer2_Vtbl; } -impl ::core::clone::Clone for IGestureRecognizer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGestureRecognizer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd646097f_6ef7_5746_8ba8_8ff2206e6f3b); } @@ -406,15 +362,11 @@ pub struct IGestureRecognizer2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHoldingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHoldingEventArgs { type Vtable = IHoldingEventArgs_Vtbl; } -impl ::core::clone::Clone for IHoldingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHoldingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bf755c5_e799_41b4_bb40_242f40959b71); } @@ -434,15 +386,11 @@ pub struct IHoldingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHoldingEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHoldingEventArgs2 { type Vtable = IHoldingEventArgs2_Vtbl; } -impl ::core::clone::Clone for IHoldingEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHoldingEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x141da9ea_4c79_5674_afea_493fdeb91f19); } @@ -455,15 +403,11 @@ pub struct IHoldingEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputActivationListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputActivationListener { type Vtable = IInputActivationListener_Vtbl; } -impl ::core::clone::Clone for IInputActivationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputActivationListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d6d4ed2_28c7_5ae3_aa74_c918a9f243ca); } @@ -483,15 +427,11 @@ pub struct IInputActivationListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputActivationListenerActivationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputActivationListenerActivationChangedEventArgs { type Vtable = IInputActivationListenerActivationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IInputActivationListenerActivationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputActivationListenerActivationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7699b465_1dcf_5791_b4b9_6cafbeed2056); } @@ -503,15 +443,11 @@ pub struct IInputActivationListenerActivationChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyboardDeliveryInterceptor(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyboardDeliveryInterceptor { type Vtable = IKeyboardDeliveryInterceptor_Vtbl; } -impl ::core::clone::Clone for IKeyboardDeliveryInterceptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyboardDeliveryInterceptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4baf068_8f49_446c_8db5_8c0ffe85cc9e); } @@ -540,15 +476,11 @@ pub struct IKeyboardDeliveryInterceptor_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyboardDeliveryInterceptorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKeyboardDeliveryInterceptorStatics { type Vtable = IKeyboardDeliveryInterceptorStatics_Vtbl; } -impl ::core::clone::Clone for IKeyboardDeliveryInterceptorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyboardDeliveryInterceptorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9f63ba2_ceba_4755_8a7e_14c0ffecd239); } @@ -560,15 +492,11 @@ pub struct IKeyboardDeliveryInterceptorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationCompletedEventArgs { type Vtable = IManipulationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IManipulationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb34ab22b_d19b_46ff_9f38_dec7754bb9e7); } @@ -595,15 +523,11 @@ pub struct IManipulationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationCompletedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationCompletedEventArgs2 { type Vtable = IManipulationCompletedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IManipulationCompletedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationCompletedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0c0dce7_30a9_5b96_886f_6560a85e4757); } @@ -616,15 +540,11 @@ pub struct IManipulationCompletedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationInertiaStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationInertiaStartingEventArgs { type Vtable = IManipulationInertiaStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for IManipulationInertiaStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationInertiaStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd37a898_26bf_467a_9ce5_ccf3fb11371e); } @@ -655,15 +575,11 @@ pub struct IManipulationInertiaStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationInertiaStartingEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationInertiaStartingEventArgs2 { type Vtable = IManipulationInertiaStartingEventArgs2_Vtbl; } -impl ::core::clone::Clone for IManipulationInertiaStartingEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationInertiaStartingEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc25409b8_f9fa_5a45_bd97_dcbbb2201860); } @@ -675,15 +591,11 @@ pub struct IManipulationInertiaStartingEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationStartedEventArgs { type Vtable = IManipulationStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for IManipulationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddec873e_cfce_4932_8c1d_3c3d011a34c0); } @@ -706,15 +618,11 @@ pub struct IManipulationStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationStartedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationStartedEventArgs2 { type Vtable = IManipulationStartedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IManipulationStartedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationStartedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2da3db4e_e583_5055_afaa_16fd986531a6); } @@ -726,15 +634,11 @@ pub struct IManipulationStartedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationUpdatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationUpdatedEventArgs { type Vtable = IManipulationUpdatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IManipulationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationUpdatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb354ce5_abb8_4f9f_b3ce_8181aa61ad82); } @@ -765,15 +669,11 @@ pub struct IManipulationUpdatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationUpdatedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IManipulationUpdatedEventArgs2 { type Vtable = IManipulationUpdatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IManipulationUpdatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationUpdatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3dfb96a_3306_5903_a1c5_ff9757a8689e); } @@ -786,15 +686,11 @@ pub struct IManipulationUpdatedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMouseWheelParameters(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMouseWheelParameters { type Vtable = IMouseWheelParameters_Vtbl; } -impl ::core::clone::Clone for IMouseWheelParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMouseWheelParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xead0ca44_9ded_4037_8149_5e4cc2564468); } @@ -825,15 +721,11 @@ pub struct IMouseWheelParameters_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerPoint(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerPoint { type Vtable = IPointerPoint_Vtbl; } -impl ::core::clone::Clone for IPointerPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe995317d_7296_42d9_8233_c5be73b74a4a); } @@ -861,15 +753,11 @@ pub struct IPointerPoint_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerPointProperties(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerPointProperties { type Vtable = IPointerPointProperties_Vtbl; } -impl ::core::clone::Clone for IPointerPointProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerPointProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc79d8a4b_c163_4ee7_803f_67ce79f9972d); } @@ -910,15 +798,11 @@ pub struct IPointerPointProperties_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerPointProperties2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerPointProperties2 { type Vtable = IPointerPointProperties2_Vtbl; } -impl ::core::clone::Clone for IPointerPointProperties2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerPointProperties2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22c3433a_c83b_41c0_a296_5e232d64d6af); } @@ -933,15 +817,11 @@ pub struct IPointerPointProperties2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerPointStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerPointStatics { type Vtable = IPointerPointStatics_Vtbl; } -impl ::core::clone::Clone for IPointerPointStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerPointStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa506638d_2a1a_413e_bc75_9f38381cc069); } @@ -962,6 +842,7 @@ pub struct IPointerPointStatics_Vtbl { } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerPointTransform(::windows_core::IUnknown); impl IPointerPointTransform { pub fn Inverse(&self) -> ::windows_core::Result { @@ -991,28 +872,12 @@ impl IPointerPointTransform { } } ::windows_core::imp::interface_hierarchy!(IPointerPointTransform, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPointerPointTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPointerPointTransform {} -impl ::core::fmt::Debug for IPointerPointTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPointerPointTransform").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IPointerPointTransform { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4d5fe14f-b87c-4028-bc9c-59e9947fb056}"); } unsafe impl ::windows_core::Interface for IPointerPointTransform { type Vtable = IPointerPointTransform_Vtbl; } -impl ::core::clone::Clone for IPointerPointTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerPointTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d5fe14f_b87c_4028_bc9c_59e9947fb056); } @@ -1032,15 +897,11 @@ pub struct IPointerPointTransform_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerVisualizationSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerVisualizationSettings { type Vtable = IPointerVisualizationSettings_Vtbl; } -impl ::core::clone::Clone for IPointerVisualizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerVisualizationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d1e6461_84f7_499d_bd91_2a36e2b7aaa2); } @@ -1055,15 +916,11 @@ pub struct IPointerVisualizationSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerVisualizationSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPointerVisualizationSettingsStatics { type Vtable = IPointerVisualizationSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IPointerVisualizationSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerVisualizationSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68870edb_165b_4214_b4f3_584eca8c8a69); } @@ -1075,15 +932,11 @@ pub struct IPointerVisualizationSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialController { type Vtable = IRadialController_Vtbl; } -impl ::core::clone::Clone for IRadialController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3055d1c8_df51_43d4_b23b_0e1037467a09); } @@ -1155,15 +1008,11 @@ pub struct IRadialController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialController2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialController2 { type Vtable = IRadialController2_Vtbl; } -impl ::core::clone::Clone for IRadialController2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialController2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eff_4cee_11e6_b535_001bdc06ab3b); } @@ -1198,15 +1047,11 @@ pub struct IRadialController2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerButtonClickedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerButtonClickedEventArgs { type Vtable = IRadialControllerButtonClickedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerButtonClickedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa438_e651_11e5_bf62_2c27d7404e85); } @@ -1218,15 +1063,11 @@ pub struct IRadialControllerButtonClickedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerButtonClickedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerButtonClickedEventArgs2 { type Vtable = IRadialControllerButtonClickedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerButtonClickedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerButtonClickedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef3_3cee_11e6_b535_001bdc06ab3b); } @@ -1241,15 +1082,11 @@ pub struct IRadialControllerButtonClickedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerButtonHoldingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerButtonHoldingEventArgs { type Vtable = IRadialControllerButtonHoldingEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerButtonHoldingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerButtonHoldingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eee_3cee_11e6_b535_001bdc06ab3b); } @@ -1265,15 +1102,11 @@ pub struct IRadialControllerButtonHoldingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerButtonPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerButtonPressedEventArgs { type Vtable = IRadialControllerButtonPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerButtonPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerButtonPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eed_4cee_11e6_b535_001bdc06ab3b); } @@ -1289,15 +1122,11 @@ pub struct IRadialControllerButtonPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerButtonReleasedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerButtonReleasedEventArgs { type Vtable = IRadialControllerButtonReleasedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerButtonReleasedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerButtonReleasedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eef_3cee_11e6_b535_001bdc06ab3b); } @@ -1313,15 +1142,11 @@ pub struct IRadialControllerButtonReleasedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerConfiguration { type Vtable = IRadialControllerConfiguration_Vtbl; } -impl ::core::clone::Clone for IRadialControllerConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6b79ecb_6a52_4430_910c_56370a9d6b42); } @@ -1338,15 +1163,11 @@ pub struct IRadialControllerConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerConfiguration2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerConfiguration2 { type Vtable = IRadialControllerConfiguration2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerConfiguration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerConfiguration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef7_3cee_11e6_b535_001bdc06ab3b); } @@ -1361,15 +1182,11 @@ pub struct IRadialControllerConfiguration2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerConfigurationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerConfigurationStatics { type Vtable = IRadialControllerConfigurationStatics_Vtbl; } -impl ::core::clone::Clone for IRadialControllerConfigurationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerConfigurationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79b6b0e5_069a_4486_a99d_8db772b9642f); } @@ -1381,15 +1198,11 @@ pub struct IRadialControllerConfigurationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerConfigurationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerConfigurationStatics2 { type Vtable = IRadialControllerConfigurationStatics2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerConfigurationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerConfigurationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53e08b17_e205_48d3_9caf_80ff47c4d7c7); } @@ -1404,15 +1217,11 @@ pub struct IRadialControllerConfigurationStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerControlAcquiredEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerControlAcquiredEventArgs { type Vtable = IRadialControllerControlAcquiredEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerControlAcquiredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerControlAcquiredEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa439_e651_11e5_bf62_2c27d7404e85); } @@ -1424,15 +1233,11 @@ pub struct IRadialControllerControlAcquiredEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerControlAcquiredEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerControlAcquiredEventArgs2 { type Vtable = IRadialControllerControlAcquiredEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerControlAcquiredEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerControlAcquiredEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef4_3cee_11e6_b535_001bdc06ab3b); } @@ -1448,15 +1253,11 @@ pub struct IRadialControllerControlAcquiredEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerMenu(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerMenu { type Vtable = IRadialControllerMenu_Vtbl; } -impl ::core::clone::Clone for IRadialControllerMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8506b35d_f640_4412_aba0_bad077e5ea8a); } @@ -1476,15 +1277,11 @@ pub struct IRadialControllerMenu_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerMenuItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerMenuItem { type Vtable = IRadialControllerMenuItem_Vtbl; } -impl ::core::clone::Clone for IRadialControllerMenuItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerMenuItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc80fc98d_ad0b_4c9c_8f2f_136a2373a6ba); } @@ -1506,15 +1303,11 @@ pub struct IRadialControllerMenuItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerMenuItemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerMenuItemStatics { type Vtable = IRadialControllerMenuItemStatics_Vtbl; } -impl ::core::clone::Clone for IRadialControllerMenuItemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerMenuItemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x249e0887_d842_4524_9df8_e0d647edc887); } @@ -1530,15 +1323,11 @@ pub struct IRadialControllerMenuItemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerMenuItemStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerMenuItemStatics2 { type Vtable = IRadialControllerMenuItemStatics2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerMenuItemStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerMenuItemStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cbb70be_7e3e_48bd_be04_2c7fcaa9c1ff); } @@ -1554,15 +1343,11 @@ pub struct IRadialControllerMenuItemStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerRotationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerRotationChangedEventArgs { type Vtable = IRadialControllerRotationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerRotationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerRotationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa435_e651_11e5_bf62_2c27d7404e85); } @@ -1575,15 +1360,11 @@ pub struct IRadialControllerRotationChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerRotationChangedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerRotationChangedEventArgs2 { type Vtable = IRadialControllerRotationChangedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerRotationChangedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerRotationChangedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eec_4cee_11e6_b535_001bdc06ab3b); } @@ -1599,15 +1380,11 @@ pub struct IRadialControllerRotationChangedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContact(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContact { type Vtable = IRadialControllerScreenContact_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa434_e651_11e5_bf62_2c27d7404e85); } @@ -1626,15 +1403,11 @@ pub struct IRadialControllerScreenContact_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContactContinuedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContactContinuedEventArgs { type Vtable = IRadialControllerScreenContactContinuedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContactContinuedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContactContinuedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa437_e651_11e5_bf62_2c27d7404e85); } @@ -1646,15 +1419,11 @@ pub struct IRadialControllerScreenContactContinuedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContactContinuedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContactContinuedEventArgs2 { type Vtable = IRadialControllerScreenContactContinuedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContactContinuedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContactContinuedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef1_3cee_11e6_b535_001bdc06ab3b); } @@ -1670,15 +1439,11 @@ pub struct IRadialControllerScreenContactContinuedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContactEndedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContactEndedEventArgs { type Vtable = IRadialControllerScreenContactEndedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContactEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContactEndedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef2_3cee_11e6_b535_001bdc06ab3b); } @@ -1694,15 +1459,11 @@ pub struct IRadialControllerScreenContactEndedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContactStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContactStartedEventArgs { type Vtable = IRadialControllerScreenContactStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContactStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContactStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x206aa436_e651_11e5_bf62_2c27d7404e85); } @@ -1714,15 +1475,11 @@ pub struct IRadialControllerScreenContactStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerScreenContactStartedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerScreenContactStartedEventArgs2 { type Vtable = IRadialControllerScreenContactStartedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRadialControllerScreenContactStartedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerScreenContactStartedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577ef0_3cee_11e6_b535_001bdc06ab3b); } @@ -1738,15 +1495,11 @@ pub struct IRadialControllerScreenContactStartedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRadialControllerStatics { type Vtable = IRadialControllerStatics_Vtbl; } -impl ::core::clone::Clone for IRadialControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaded0b7_b84c_4894_87aa_8f25aa5f288b); } @@ -1759,15 +1512,11 @@ pub struct IRadialControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRightTappedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRightTappedEventArgs { type Vtable = IRightTappedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRightTappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRightTappedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cbf40bd_af7a_4a36_9476_b1dce141709a); } @@ -1786,15 +1535,11 @@ pub struct IRightTappedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRightTappedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRightTappedEventArgs2 { type Vtable = IRightTappedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IRightTappedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRightTappedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61c7b7bb_9f57_5857_a33c_c58c3dfa959e); } @@ -1806,15 +1551,11 @@ pub struct IRightTappedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemButtonEventController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemButtonEventController { type Vtable = ISystemButtonEventController_Vtbl; } -impl ::core::clone::Clone for ISystemButtonEventController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemButtonEventController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59b893a9_73bc_52b5_ba41_82511b2cb46c); } @@ -1857,15 +1598,11 @@ pub struct ISystemButtonEventController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemButtonEventControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemButtonEventControllerStatics { type Vtable = ISystemButtonEventControllerStatics_Vtbl; } -impl ::core::clone::Clone for ISystemButtonEventControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemButtonEventControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x632fb07b_20bd_5e15_af4a_00dbf2064ffa); } @@ -1880,15 +1617,11 @@ pub struct ISystemButtonEventControllerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemFunctionButtonEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemFunctionButtonEventArgs { type Vtable = ISystemFunctionButtonEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemFunctionButtonEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemFunctionButtonEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4833896f_80d1_5dd6_92a7_62a508ffef5a); } @@ -1902,15 +1635,11 @@ pub struct ISystemFunctionButtonEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemFunctionLockChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemFunctionLockChangedEventArgs { type Vtable = ISystemFunctionLockChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemFunctionLockChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemFunctionLockChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd040608_fcf9_585c_beab_f1d2eaf364ab); } @@ -1925,15 +1654,11 @@ pub struct ISystemFunctionLockChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemFunctionLockIndicatorChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISystemFunctionLockIndicatorChangedEventArgs { type Vtable = ISystemFunctionLockIndicatorChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ISystemFunctionLockIndicatorChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemFunctionLockIndicatorChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb212b94e_7a6f_58ae_b304_bae61d0371b9); } @@ -1948,15 +1673,11 @@ pub struct ISystemFunctionLockIndicatorChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITappedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITappedEventArgs { type Vtable = ITappedEventArgs_Vtbl; } -impl ::core::clone::Clone for ITappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITappedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa126e4_253a_4c3c_953b_395c37aed309); } @@ -1976,15 +1697,11 @@ pub struct ITappedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITappedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITappedEventArgs2 { type Vtable = ITappedEventArgs2_Vtbl; } -impl ::core::clone::Clone for ITappedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITappedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x294388f2_177e_51d5_be56_ee0866fa968c); } @@ -1996,6 +1713,7 @@ pub struct ITappedEventArgs2_Vtbl { } #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AttachableInputObject(::windows_core::IUnknown); impl AttachableInputObject { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2005,25 +1723,9 @@ impl AttachableInputObject { unsafe { (::windows_core::Interface::vtable(this).Close)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for AttachableInputObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AttachableInputObject {} -impl ::core::fmt::Debug for AttachableInputObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AttachableInputObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AttachableInputObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.AttachableInputObject;{9b822734-a3c1-542a-b2f4-0e32b773fb07})"); } -impl ::core::clone::Clone for AttachableInputObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AttachableInputObject { type Vtable = IAttachableInputObject_Vtbl; } @@ -2040,6 +1742,7 @@ unsafe impl ::core::marker::Send for AttachableInputObject {} unsafe impl ::core::marker::Sync for AttachableInputObject {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CrossSlidingEventArgs(::windows_core::IUnknown); impl CrossSlidingEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -2075,25 +1778,9 @@ impl CrossSlidingEventArgs { } } } -impl ::core::cmp::PartialEq for CrossSlidingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CrossSlidingEventArgs {} -impl ::core::fmt::Debug for CrossSlidingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CrossSlidingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CrossSlidingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.CrossSlidingEventArgs;{e9374738-6f88-41d9-8720-78e08e398349})"); } -impl ::core::clone::Clone for CrossSlidingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CrossSlidingEventArgs { type Vtable = ICrossSlidingEventArgs_Vtbl; } @@ -2106,6 +1793,7 @@ impl ::windows_core::RuntimeName for CrossSlidingEventArgs { ::windows_core::imp::interface_hierarchy!(CrossSlidingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DraggingEventArgs(::windows_core::IUnknown); impl DraggingEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -2141,25 +1829,9 @@ impl DraggingEventArgs { } } } -impl ::core::cmp::PartialEq for DraggingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DraggingEventArgs {} -impl ::core::fmt::Debug for DraggingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DraggingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DraggingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.DraggingEventArgs;{1c905384-083c-4bd3-b559-179cddeb33ec})"); } -impl ::core::clone::Clone for DraggingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DraggingEventArgs { type Vtable = IDraggingEventArgs_Vtbl; } @@ -2172,6 +1844,7 @@ impl ::windows_core::RuntimeName for DraggingEventArgs { ::windows_core::imp::interface_hierarchy!(DraggingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EdgeGesture(::windows_core::IUnknown); impl EdgeGesture { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2240,25 +1913,9 @@ impl EdgeGesture { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for EdgeGesture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EdgeGesture {} -impl ::core::fmt::Debug for EdgeGesture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EdgeGesture").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EdgeGesture { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGesture;{580d5292-2ab1-49aa-a7f0-33bd3f8df9f1})"); } -impl ::core::clone::Clone for EdgeGesture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EdgeGesture { type Vtable = IEdgeGesture_Vtbl; } @@ -2271,6 +1928,7 @@ impl ::windows_core::RuntimeName for EdgeGesture { ::windows_core::imp::interface_hierarchy!(EdgeGesture, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EdgeGestureEventArgs(::windows_core::IUnknown); impl EdgeGestureEventArgs { pub fn Kind(&self) -> ::windows_core::Result { @@ -2281,25 +1939,9 @@ impl EdgeGestureEventArgs { } } } -impl ::core::cmp::PartialEq for EdgeGestureEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for EdgeGestureEventArgs {} -impl ::core::fmt::Debug for EdgeGestureEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EdgeGestureEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for EdgeGestureEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.EdgeGestureEventArgs;{44fa4a24-2d09-42e1-8b5e-368208796a4c})"); } -impl ::core::clone::Clone for EdgeGestureEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for EdgeGestureEventArgs { type Vtable = IEdgeGestureEventArgs_Vtbl; } @@ -2312,6 +1954,7 @@ impl ::windows_core::RuntimeName for EdgeGestureEventArgs { ::windows_core::imp::interface_hierarchy!(EdgeGestureEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct GestureRecognizer(::windows_core::IUnknown); impl GestureRecognizer { pub fn new() -> ::windows_core::Result { @@ -2814,25 +2457,9 @@ impl GestureRecognizer { unsafe { (::windows_core::Interface::vtable(this).SetTranslationMaxContactCount)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for GestureRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for GestureRecognizer {} -impl ::core::fmt::Debug for GestureRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("GestureRecognizer").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for GestureRecognizer { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.GestureRecognizer;{b47a37bf-3d6b-4f88-83e8-6dcb4012ffb0})"); } -impl ::core::clone::Clone for GestureRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for GestureRecognizer { type Vtable = IGestureRecognizer_Vtbl; } @@ -2845,6 +2472,7 @@ impl ::windows_core::RuntimeName for GestureRecognizer { ::windows_core::imp::interface_hierarchy!(GestureRecognizer, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HoldingEventArgs(::windows_core::IUnknown); impl HoldingEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -2887,25 +2515,9 @@ impl HoldingEventArgs { } } } -impl ::core::cmp::PartialEq for HoldingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HoldingEventArgs {} -impl ::core::fmt::Debug for HoldingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HoldingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HoldingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.HoldingEventArgs;{2bf755c5-e799-41b4-bb40-242f40959b71})"); } -impl ::core::clone::Clone for HoldingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HoldingEventArgs { type Vtable = IHoldingEventArgs_Vtbl; } @@ -2918,6 +2530,7 @@ impl ::windows_core::RuntimeName for HoldingEventArgs { ::windows_core::imp::interface_hierarchy!(HoldingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputActivationListener(::windows_core::IUnknown); impl InputActivationListener { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2952,25 +2565,9 @@ impl InputActivationListener { unsafe { (::windows_core::Interface::vtable(this).RemoveInputActivationChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for InputActivationListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputActivationListener {} -impl ::core::fmt::Debug for InputActivationListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputActivationListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputActivationListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListener;{5d6d4ed2-28c7-5ae3-aa74-c918a9f243ca})"); } -impl ::core::clone::Clone for InputActivationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputActivationListener { type Vtable = IInputActivationListener_Vtbl; } @@ -2988,6 +2585,7 @@ unsafe impl ::core::marker::Send for InputActivationListener {} unsafe impl ::core::marker::Sync for InputActivationListener {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputActivationListenerActivationChangedEventArgs(::windows_core::IUnknown); impl InputActivationListenerActivationChangedEventArgs { pub fn State(&self) -> ::windows_core::Result { @@ -2998,25 +2596,9 @@ impl InputActivationListenerActivationChangedEventArgs { } } } -impl ::core::cmp::PartialEq for InputActivationListenerActivationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputActivationListenerActivationChangedEventArgs {} -impl ::core::fmt::Debug for InputActivationListenerActivationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputActivationListenerActivationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputActivationListenerActivationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.InputActivationListenerActivationChangedEventArgs;{7699b465-1dcf-5791-b4b9-6cafbeed2056})"); } -impl ::core::clone::Clone for InputActivationListenerActivationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputActivationListenerActivationChangedEventArgs { type Vtable = IInputActivationListenerActivationChangedEventArgs_Vtbl; } @@ -3031,6 +2613,7 @@ unsafe impl ::core::marker::Send for InputActivationListenerActivationChangedEve unsafe impl ::core::marker::Sync for InputActivationListenerActivationChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct KeyboardDeliveryInterceptor(::windows_core::IUnknown); impl KeyboardDeliveryInterceptor { pub fn IsInterceptionEnabledWhenInForeground(&self) -> ::windows_core::Result { @@ -3092,25 +2675,9 @@ impl KeyboardDeliveryInterceptor { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for KeyboardDeliveryInterceptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for KeyboardDeliveryInterceptor {} -impl ::core::fmt::Debug for KeyboardDeliveryInterceptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KeyboardDeliveryInterceptor").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for KeyboardDeliveryInterceptor { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.KeyboardDeliveryInterceptor;{b4baf068-8f49-446c-8db5-8c0ffe85cc9e})"); } -impl ::core::clone::Clone for KeyboardDeliveryInterceptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for KeyboardDeliveryInterceptor { type Vtable = IKeyboardDeliveryInterceptor_Vtbl; } @@ -3125,6 +2692,7 @@ unsafe impl ::core::marker::Send for KeyboardDeliveryInterceptor {} unsafe impl ::core::marker::Sync for KeyboardDeliveryInterceptor {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ManipulationCompletedEventArgs(::windows_core::IUnknown); impl ManipulationCompletedEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -3178,25 +2746,9 @@ impl ManipulationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for ManipulationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ManipulationCompletedEventArgs {} -impl ::core::fmt::Debug for ManipulationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ManipulationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ManipulationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationCompletedEventArgs;{b34ab22b-d19b-46ff-9f38-dec7754bb9e7})"); } -impl ::core::clone::Clone for ManipulationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ManipulationCompletedEventArgs { type Vtable = IManipulationCompletedEventArgs_Vtbl; } @@ -3209,6 +2761,7 @@ impl ::windows_core::RuntimeName for ManipulationCompletedEventArgs { ::windows_core::imp::interface_hierarchy!(ManipulationCompletedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ManipulationInertiaStartingEventArgs(::windows_core::IUnknown); impl ManipulationInertiaStartingEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -3264,25 +2817,9 @@ impl ManipulationInertiaStartingEventArgs { } } } -impl ::core::cmp::PartialEq for ManipulationInertiaStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ManipulationInertiaStartingEventArgs {} -impl ::core::fmt::Debug for ManipulationInertiaStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ManipulationInertiaStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ManipulationInertiaStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationInertiaStartingEventArgs;{dd37a898-26bf-467a-9ce5-ccf3fb11371e})"); } -impl ::core::clone::Clone for ManipulationInertiaStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ManipulationInertiaStartingEventArgs { type Vtable = IManipulationInertiaStartingEventArgs_Vtbl; } @@ -3295,6 +2832,7 @@ impl ::windows_core::RuntimeName for ManipulationInertiaStartingEventArgs { ::windows_core::imp::interface_hierarchy!(ManipulationInertiaStartingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ManipulationStartedEventArgs(::windows_core::IUnknown); impl ManipulationStartedEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -3332,25 +2870,9 @@ impl ManipulationStartedEventArgs { } } } -impl ::core::cmp::PartialEq for ManipulationStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ManipulationStartedEventArgs {} -impl ::core::fmt::Debug for ManipulationStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ManipulationStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ManipulationStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationStartedEventArgs;{ddec873e-cfce-4932-8c1d-3c3d011a34c0})"); } -impl ::core::clone::Clone for ManipulationStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ManipulationStartedEventArgs { type Vtable = IManipulationStartedEventArgs_Vtbl; } @@ -3363,6 +2885,7 @@ impl ::windows_core::RuntimeName for ManipulationStartedEventArgs { ::windows_core::imp::interface_hierarchy!(ManipulationStartedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ManipulationUpdatedEventArgs(::windows_core::IUnknown); impl ManipulationUpdatedEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -3425,25 +2948,9 @@ impl ManipulationUpdatedEventArgs { } } } -impl ::core::cmp::PartialEq for ManipulationUpdatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ManipulationUpdatedEventArgs {} -impl ::core::fmt::Debug for ManipulationUpdatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ManipulationUpdatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ManipulationUpdatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.ManipulationUpdatedEventArgs;{cb354ce5-abb8-4f9f-b3ce-8181aa61ad82})"); } -impl ::core::clone::Clone for ManipulationUpdatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ManipulationUpdatedEventArgs { type Vtable = IManipulationUpdatedEventArgs_Vtbl; } @@ -3456,6 +2963,7 @@ impl ::windows_core::RuntimeName for ManipulationUpdatedEventArgs { ::windows_core::imp::interface_hierarchy!(ManipulationUpdatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MouseWheelParameters(::windows_core::IUnknown); impl MouseWheelParameters { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3511,25 +3019,9 @@ impl MouseWheelParameters { unsafe { (::windows_core::Interface::vtable(this).SetPageTranslation)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for MouseWheelParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MouseWheelParameters {} -impl ::core::fmt::Debug for MouseWheelParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MouseWheelParameters").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MouseWheelParameters { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.MouseWheelParameters;{ead0ca44-9ded-4037-8149-5e4cc2564468})"); } -impl ::core::clone::Clone for MouseWheelParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MouseWheelParameters { type Vtable = IMouseWheelParameters_Vtbl; } @@ -3542,6 +3034,7 @@ impl ::windows_core::RuntimeName for MouseWheelParameters { ::windows_core::imp::interface_hierarchy!(MouseWheelParameters, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointerPoint(::windows_core::IUnknown); impl PointerPoint { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -3646,25 +3139,9 @@ impl PointerPoint { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PointerPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointerPoint {} -impl ::core::fmt::Debug for PointerPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointerPoint").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointerPoint { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPoint;{e995317d-7296-42d9-8233-c5be73b74a4a})"); } -impl ::core::clone::Clone for PointerPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointerPoint { type Vtable = IPointerPoint_Vtbl; } @@ -3677,6 +3154,7 @@ impl ::windows_core::RuntimeName for PointerPoint { ::windows_core::imp::interface_hierarchy!(PointerPoint, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointerPointProperties(::windows_core::IUnknown); impl PointerPointProperties { pub fn Pressure(&self) -> ::windows_core::Result { @@ -3861,25 +3339,9 @@ impl PointerPointProperties { } } } -impl ::core::cmp::PartialEq for PointerPointProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointerPointProperties {} -impl ::core::fmt::Debug for PointerPointProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointerPointProperties").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointerPointProperties { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerPointProperties;{c79d8a4b-c163-4ee7-803f-67ce79f9972d})"); } -impl ::core::clone::Clone for PointerPointProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointerPointProperties { type Vtable = IPointerPointProperties_Vtbl; } @@ -3892,6 +3354,7 @@ impl ::windows_core::RuntimeName for PointerPointProperties { ::windows_core::imp::interface_hierarchy!(PointerPointProperties, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PointerVisualizationSettings(::windows_core::IUnknown); impl PointerVisualizationSettings { pub fn SetIsContactFeedbackEnabled(&self, value: bool) -> ::windows_core::Result<()> { @@ -3928,25 +3391,9 @@ impl PointerVisualizationSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for PointerVisualizationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PointerVisualizationSettings {} -impl ::core::fmt::Debug for PointerVisualizationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PointerVisualizationSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PointerVisualizationSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.PointerVisualizationSettings;{4d1e6461-84f7-499d-bd91-2a36e2b7aaa2})"); } -impl ::core::clone::Clone for PointerVisualizationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PointerVisualizationSettings { type Vtable = IPointerVisualizationSettings_Vtbl; } @@ -3961,6 +3408,7 @@ unsafe impl ::core::marker::Send for PointerVisualizationSettings {} unsafe impl ::core::marker::Sync for PointerVisualizationSettings {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialController(::windows_core::IUnknown); impl RadialController { pub fn Menu(&self) -> ::windows_core::Result { @@ -4190,25 +3638,9 @@ impl RadialController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RadialController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialController {} -impl ::core::fmt::Debug for RadialController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialController;{3055d1c8-df51-43d4-b23b-0e1037467a09})"); } -impl ::core::clone::Clone for RadialController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialController { type Vtable = IRadialController_Vtbl; } @@ -4223,6 +3655,7 @@ unsafe impl ::core::marker::Send for RadialController {} unsafe impl ::core::marker::Sync for RadialController {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerButtonClickedEventArgs(::windows_core::IUnknown); impl RadialControllerButtonClickedEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4242,25 +3675,9 @@ impl RadialControllerButtonClickedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerButtonClickedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerButtonClickedEventArgs {} -impl ::core::fmt::Debug for RadialControllerButtonClickedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerButtonClickedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerButtonClickedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonClickedEventArgs;{206aa438-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerButtonClickedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerButtonClickedEventArgs { type Vtable = IRadialControllerButtonClickedEventArgs_Vtbl; } @@ -4275,6 +3692,7 @@ unsafe impl ::core::marker::Send for RadialControllerButtonClickedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonClickedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerButtonHoldingEventArgs(::windows_core::IUnknown); impl RadialControllerButtonHoldingEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4294,25 +3712,9 @@ impl RadialControllerButtonHoldingEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerButtonHoldingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerButtonHoldingEventArgs {} -impl ::core::fmt::Debug for RadialControllerButtonHoldingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerButtonHoldingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerButtonHoldingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonHoldingEventArgs;{3d577eee-3cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for RadialControllerButtonHoldingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerButtonHoldingEventArgs { type Vtable = IRadialControllerButtonHoldingEventArgs_Vtbl; } @@ -4327,6 +3729,7 @@ unsafe impl ::core::marker::Send for RadialControllerButtonHoldingEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonHoldingEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerButtonPressedEventArgs(::windows_core::IUnknown); impl RadialControllerButtonPressedEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4346,25 +3749,9 @@ impl RadialControllerButtonPressedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerButtonPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerButtonPressedEventArgs {} -impl ::core::fmt::Debug for RadialControllerButtonPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerButtonPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerButtonPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonPressedEventArgs;{3d577eed-4cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for RadialControllerButtonPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerButtonPressedEventArgs { type Vtable = IRadialControllerButtonPressedEventArgs_Vtbl; } @@ -4379,6 +3766,7 @@ unsafe impl ::core::marker::Send for RadialControllerButtonPressedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonPressedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerButtonReleasedEventArgs(::windows_core::IUnknown); impl RadialControllerButtonReleasedEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4398,25 +3786,9 @@ impl RadialControllerButtonReleasedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerButtonReleasedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerButtonReleasedEventArgs {} -impl ::core::fmt::Debug for RadialControllerButtonReleasedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerButtonReleasedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerButtonReleasedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerButtonReleasedEventArgs;{3d577eef-3cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for RadialControllerButtonReleasedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerButtonReleasedEventArgs { type Vtable = IRadialControllerButtonReleasedEventArgs_Vtbl; } @@ -4431,6 +3803,7 @@ unsafe impl ::core::marker::Send for RadialControllerButtonReleasedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerButtonReleasedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerConfiguration(::windows_core::IUnknown); impl RadialControllerConfiguration { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4516,25 +3889,9 @@ impl RadialControllerConfiguration { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RadialControllerConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerConfiguration {} -impl ::core::fmt::Debug for RadialControllerConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerConfiguration;{a6b79ecb-6a52-4430-910c-56370a9d6b42})"); } -impl ::core::clone::Clone for RadialControllerConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerConfiguration { type Vtable = IRadialControllerConfiguration_Vtbl; } @@ -4549,6 +3906,7 @@ unsafe impl ::core::marker::Send for RadialControllerConfiguration {} unsafe impl ::core::marker::Sync for RadialControllerConfiguration {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerControlAcquiredEventArgs(::windows_core::IUnknown); impl RadialControllerControlAcquiredEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4575,25 +3933,9 @@ impl RadialControllerControlAcquiredEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerControlAcquiredEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerControlAcquiredEventArgs {} -impl ::core::fmt::Debug for RadialControllerControlAcquiredEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerControlAcquiredEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerControlAcquiredEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerControlAcquiredEventArgs;{206aa439-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerControlAcquiredEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerControlAcquiredEventArgs { type Vtable = IRadialControllerControlAcquiredEventArgs_Vtbl; } @@ -4608,6 +3950,7 @@ unsafe impl ::core::marker::Send for RadialControllerControlAcquiredEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerControlAcquiredEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerMenu(::windows_core::IUnknown); impl RadialControllerMenu { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -4652,25 +3995,9 @@ impl RadialControllerMenu { } } } -impl ::core::cmp::PartialEq for RadialControllerMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerMenu {} -impl ::core::fmt::Debug for RadialControllerMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerMenu").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerMenu { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenu;{8506b35d-f640-4412-aba0-bad077e5ea8a})"); } -impl ::core::clone::Clone for RadialControllerMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerMenu { type Vtable = IRadialControllerMenu_Vtbl; } @@ -4685,6 +4012,7 @@ unsafe impl ::core::marker::Send for RadialControllerMenu {} unsafe impl ::core::marker::Sync for RadialControllerMenu {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerMenuItem(::windows_core::IUnknown); impl RadialControllerMenuItem { pub fn DisplayText(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4771,25 +4099,9 @@ impl RadialControllerMenuItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RadialControllerMenuItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerMenuItem {} -impl ::core::fmt::Debug for RadialControllerMenuItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerMenuItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerMenuItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerMenuItem;{c80fc98d-ad0b-4c9c-8f2f-136a2373a6ba})"); } -impl ::core::clone::Clone for RadialControllerMenuItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerMenuItem { type Vtable = IRadialControllerMenuItem_Vtbl; } @@ -4804,6 +4116,7 @@ unsafe impl ::core::marker::Send for RadialControllerMenuItem {} unsafe impl ::core::marker::Sync for RadialControllerMenuItem {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerRotationChangedEventArgs(::windows_core::IUnknown); impl RadialControllerRotationChangedEventArgs { pub fn RotationDeltaInDegrees(&self) -> ::windows_core::Result { @@ -4837,25 +4150,9 @@ impl RadialControllerRotationChangedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerRotationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerRotationChangedEventArgs {} -impl ::core::fmt::Debug for RadialControllerRotationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerRotationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerRotationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerRotationChangedEventArgs;{206aa435-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerRotationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerRotationChangedEventArgs { type Vtable = IRadialControllerRotationChangedEventArgs_Vtbl; } @@ -4870,6 +4167,7 @@ unsafe impl ::core::marker::Send for RadialControllerRotationChangedEventArgs {} unsafe impl ::core::marker::Sync for RadialControllerRotationChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerScreenContact(::windows_core::IUnknown); impl RadialControllerScreenContact { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4891,25 +4189,9 @@ impl RadialControllerScreenContact { } } } -impl ::core::cmp::PartialEq for RadialControllerScreenContact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerScreenContact {} -impl ::core::fmt::Debug for RadialControllerScreenContact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerScreenContact").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerScreenContact { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContact;{206aa434-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerScreenContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerScreenContact { type Vtable = IRadialControllerScreenContact_Vtbl; } @@ -4924,6 +4206,7 @@ unsafe impl ::core::marker::Send for RadialControllerScreenContact {} unsafe impl ::core::marker::Sync for RadialControllerScreenContact {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerScreenContactContinuedEventArgs(::windows_core::IUnknown); impl RadialControllerScreenContactContinuedEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -4950,25 +4233,9 @@ impl RadialControllerScreenContactContinuedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerScreenContactContinuedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerScreenContactContinuedEventArgs {} -impl ::core::fmt::Debug for RadialControllerScreenContactContinuedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerScreenContactContinuedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerScreenContactContinuedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactContinuedEventArgs;{206aa437-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerScreenContactContinuedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerScreenContactContinuedEventArgs { type Vtable = IRadialControllerScreenContactContinuedEventArgs_Vtbl; } @@ -4983,6 +4250,7 @@ unsafe impl ::core::marker::Send for RadialControllerScreenContactContinuedEvent unsafe impl ::core::marker::Sync for RadialControllerScreenContactContinuedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerScreenContactEndedEventArgs(::windows_core::IUnknown); impl RadialControllerScreenContactEndedEventArgs { pub fn IsButtonPressed(&self) -> ::windows_core::Result { @@ -5002,25 +4270,9 @@ impl RadialControllerScreenContactEndedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerScreenContactEndedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerScreenContactEndedEventArgs {} -impl ::core::fmt::Debug for RadialControllerScreenContactEndedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerScreenContactEndedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerScreenContactEndedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactEndedEventArgs;{3d577ef2-3cee-11e6-b535-001bdc06ab3b})"); } -impl ::core::clone::Clone for RadialControllerScreenContactEndedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerScreenContactEndedEventArgs { type Vtable = IRadialControllerScreenContactEndedEventArgs_Vtbl; } @@ -5035,6 +4287,7 @@ unsafe impl ::core::marker::Send for RadialControllerScreenContactEndedEventArgs unsafe impl ::core::marker::Sync for RadialControllerScreenContactEndedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RadialControllerScreenContactStartedEventArgs(::windows_core::IUnknown); impl RadialControllerScreenContactStartedEventArgs { pub fn Contact(&self) -> ::windows_core::Result { @@ -5061,25 +4314,9 @@ impl RadialControllerScreenContactStartedEventArgs { } } } -impl ::core::cmp::PartialEq for RadialControllerScreenContactStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RadialControllerScreenContactStartedEventArgs {} -impl ::core::fmt::Debug for RadialControllerScreenContactStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RadialControllerScreenContactStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RadialControllerScreenContactStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RadialControllerScreenContactStartedEventArgs;{206aa436-e651-11e5-bf62-2c27d7404e85})"); } -impl ::core::clone::Clone for RadialControllerScreenContactStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RadialControllerScreenContactStartedEventArgs { type Vtable = IRadialControllerScreenContactStartedEventArgs_Vtbl; } @@ -5094,6 +4331,7 @@ unsafe impl ::core::marker::Send for RadialControllerScreenContactStartedEventAr unsafe impl ::core::marker::Sync for RadialControllerScreenContactStartedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RightTappedEventArgs(::windows_core::IUnknown); impl RightTappedEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -5122,25 +4360,9 @@ impl RightTappedEventArgs { } } } -impl ::core::cmp::PartialEq for RightTappedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RightTappedEventArgs {} -impl ::core::fmt::Debug for RightTappedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RightTappedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RightTappedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.RightTappedEventArgs;{4cbf40bd-af7a-4a36-9476-b1dce141709a})"); } -impl ::core::clone::Clone for RightTappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RightTappedEventArgs { type Vtable = IRightTappedEventArgs_Vtbl; } @@ -5153,6 +4375,7 @@ impl ::windows_core::RuntimeName for RightTappedEventArgs { ::windows_core::imp::interface_hierarchy!(RightTappedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemButtonEventController(::windows_core::IUnknown); impl SystemButtonEventController { #[doc = "*Required features: `\"Foundation\"`*"] @@ -5250,25 +4473,9 @@ impl SystemButtonEventController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SystemButtonEventController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemButtonEventController {} -impl ::core::fmt::Debug for SystemButtonEventController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemButtonEventController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemButtonEventController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemButtonEventController;{59b893a9-73bc-52b5-ba41-82511b2cb46c})"); } -impl ::core::clone::Clone for SystemButtonEventController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemButtonEventController { type Vtable = ISystemButtonEventController_Vtbl; } @@ -5286,6 +4493,7 @@ unsafe impl ::core::marker::Send for SystemButtonEventController {} unsafe impl ::core::marker::Sync for SystemButtonEventController {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemFunctionButtonEventArgs(::windows_core::IUnknown); impl SystemFunctionButtonEventArgs { pub fn Timestamp(&self) -> ::windows_core::Result { @@ -5307,25 +4515,9 @@ impl SystemFunctionButtonEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SystemFunctionButtonEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemFunctionButtonEventArgs {} -impl ::core::fmt::Debug for SystemFunctionButtonEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemFunctionButtonEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemFunctionButtonEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionButtonEventArgs;{4833896f-80d1-5dd6-92a7-62a508ffef5a})"); } -impl ::core::clone::Clone for SystemFunctionButtonEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemFunctionButtonEventArgs { type Vtable = ISystemFunctionButtonEventArgs_Vtbl; } @@ -5340,6 +4532,7 @@ unsafe impl ::core::marker::Send for SystemFunctionButtonEventArgs {} unsafe impl ::core::marker::Sync for SystemFunctionButtonEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemFunctionLockChangedEventArgs(::windows_core::IUnknown); impl SystemFunctionLockChangedEventArgs { pub fn Timestamp(&self) -> ::windows_core::Result { @@ -5368,25 +4561,9 @@ impl SystemFunctionLockChangedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SystemFunctionLockChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemFunctionLockChangedEventArgs {} -impl ::core::fmt::Debug for SystemFunctionLockChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemFunctionLockChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemFunctionLockChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockChangedEventArgs;{cd040608-fcf9-585c-beab-f1d2eaf364ab})"); } -impl ::core::clone::Clone for SystemFunctionLockChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemFunctionLockChangedEventArgs { type Vtable = ISystemFunctionLockChangedEventArgs_Vtbl; } @@ -5401,6 +4578,7 @@ unsafe impl ::core::marker::Send for SystemFunctionLockChangedEventArgs {} unsafe impl ::core::marker::Sync for SystemFunctionLockChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SystemFunctionLockIndicatorChangedEventArgs(::windows_core::IUnknown); impl SystemFunctionLockIndicatorChangedEventArgs { pub fn Timestamp(&self) -> ::windows_core::Result { @@ -5429,25 +4607,9 @@ impl SystemFunctionLockIndicatorChangedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for SystemFunctionLockIndicatorChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SystemFunctionLockIndicatorChangedEventArgs {} -impl ::core::fmt::Debug for SystemFunctionLockIndicatorChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SystemFunctionLockIndicatorChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SystemFunctionLockIndicatorChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.SystemFunctionLockIndicatorChangedEventArgs;{b212b94e-7a6f-58ae-b304-bae61d0371b9})"); } -impl ::core::clone::Clone for SystemFunctionLockIndicatorChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SystemFunctionLockIndicatorChangedEventArgs { type Vtable = ISystemFunctionLockIndicatorChangedEventArgs_Vtbl; } @@ -5462,6 +4624,7 @@ unsafe impl ::core::marker::Send for SystemFunctionLockIndicatorChangedEventArgs unsafe impl ::core::marker::Sync for SystemFunctionLockIndicatorChangedEventArgs {} #[doc = "*Required features: `\"UI_Input\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TappedEventArgs(::windows_core::IUnknown); impl TappedEventArgs { #[doc = "*Required features: `\"Devices_Input\"`*"] @@ -5497,25 +4660,9 @@ impl TappedEventArgs { } } } -impl ::core::cmp::PartialEq for TappedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TappedEventArgs {} -impl ::core::fmt::Debug for TappedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TappedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TappedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Input.TappedEventArgs;{cfa126e4-253a-4c3c-953b-395c37aed309})"); } -impl ::core::clone::Clone for TappedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TappedEventArgs { type Vtable = ITappedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs index 71b6a7dffb..e9e0f7ac11 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotificationListener(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserNotificationListener { type Vtable = IUserNotificationListener_Vtbl; } -impl ::core::clone::Clone for IUserNotificationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotificationListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62553e41_8a06_4cef_8215_6033a5be4b03); } @@ -39,15 +35,11 @@ pub struct IUserNotificationListener_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotificationListenerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserNotificationListenerStatics { type Vtable = IUserNotificationListenerStatics_Vtbl; } -impl ::core::clone::Clone for IUserNotificationListenerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotificationListenerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff6123cf_4386_4aa3_b73d_b804e5b63b23); } @@ -59,6 +51,7 @@ pub struct IUserNotificationListenerStatics_Vtbl { } #[doc = "*Required features: `\"UI_Notifications_Management\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserNotificationListener(::windows_core::IUnknown); impl UserNotificationListener { #[doc = "*Required features: `\"Foundation\"`*"] @@ -131,25 +124,9 @@ impl UserNotificationListener { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UserNotificationListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserNotificationListener {} -impl ::core::fmt::Debug for UserNotificationListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserNotificationListener").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserNotificationListener { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Management.UserNotificationListener;{62553e41-8a06-4cef-8215-6033a5be4b03})"); } -impl ::core::clone::Clone for UserNotificationListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserNotificationListener { type Vtable = IUserNotificationListener_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs index 7be9706601..9c21a7a6b5 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs @@ -40,7 +40,7 @@ impl IAdaptiveNotificationContent_Vtbl { Hints: Hints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 44f7e5e7bd..33687fd14e 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -2,6 +2,7 @@ pub mod Management; #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveNotificationContent(::windows_core::IUnknown); impl IAdaptiveNotificationContent { pub fn Kind(&self) -> ::windows_core::Result { @@ -22,28 +23,12 @@ impl IAdaptiveNotificationContent { } } ::windows_core::imp::interface_hierarchy!(IAdaptiveNotificationContent, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAdaptiveNotificationContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdaptiveNotificationContent {} -impl ::core::fmt::Debug for IAdaptiveNotificationContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdaptiveNotificationContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAdaptiveNotificationContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{eb0dbe66-7448-448d-9db8-d78acd2abba9}"); } unsafe impl ::windows_core::Interface for IAdaptiveNotificationContent { type Vtable = IAdaptiveNotificationContent_Vtbl; } -impl ::core::clone::Clone for IAdaptiveNotificationContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveNotificationContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0dbe66_7448_448d_9db8_d78acd2abba9); } @@ -59,15 +44,11 @@ pub struct IAdaptiveNotificationContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveNotificationText(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAdaptiveNotificationText { type Vtable = IAdaptiveNotificationText_Vtbl; } -impl ::core::clone::Clone for IAdaptiveNotificationText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveNotificationText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46d4a3be_609a_4326_a40b_bfde872034a3); } @@ -82,15 +63,11 @@ pub struct IAdaptiveNotificationText_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeNotification { type Vtable = IBadgeNotification_Vtbl; } -impl ::core::clone::Clone for IBadgeNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x075cb4ca_d08a_4e2f_9233_7e289c1f7722); } @@ -113,15 +90,11 @@ pub struct IBadgeNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeNotificationFactory { type Vtable = IBadgeNotificationFactory_Vtbl; } -impl ::core::clone::Clone for IBadgeNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedf255ce_0618_4d59_948a_5a61040c52f9); } @@ -136,15 +109,11 @@ pub struct IBadgeNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeUpdateManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeUpdateManagerForUser { type Vtable = IBadgeUpdateManagerForUser_Vtbl; } -impl ::core::clone::Clone for IBadgeUpdateManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeUpdateManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x996b21bc_0386_44e5_ba8d_0c1077a62e92); } @@ -162,15 +131,11 @@ pub struct IBadgeUpdateManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeUpdateManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeUpdateManagerStatics { type Vtable = IBadgeUpdateManagerStatics_Vtbl; } -impl ::core::clone::Clone for IBadgeUpdateManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeUpdateManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33400faa_6dd5_4105_aebc_9b50fca492da); } @@ -188,15 +153,11 @@ pub struct IBadgeUpdateManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeUpdateManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeUpdateManagerStatics2 { type Vtable = IBadgeUpdateManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IBadgeUpdateManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeUpdateManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x979a35ce_f940_48bf_94e8_ca244d400b41); } @@ -211,15 +172,11 @@ pub struct IBadgeUpdateManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBadgeUpdater(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IBadgeUpdater { type Vtable = IBadgeUpdater_Vtbl; } -impl ::core::clone::Clone for IBadgeUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBadgeUpdater { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5fa1fd4_7562_4f6c_bfa3_1b6ed2e57f2f); } @@ -241,15 +198,11 @@ pub struct IBadgeUpdater_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownAdaptiveNotificationHintsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownAdaptiveNotificationHintsStatics { type Vtable = IKnownAdaptiveNotificationHintsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownAdaptiveNotificationHintsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownAdaptiveNotificationHintsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06206598_d496_497d_8692_4f7d7c2770df); } @@ -266,15 +219,11 @@ pub struct IKnownAdaptiveNotificationHintsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownAdaptiveNotificationTextStylesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownAdaptiveNotificationTextStylesStatics { type Vtable = IKnownAdaptiveNotificationTextStylesStatics_Vtbl; } -impl ::core::clone::Clone for IKnownAdaptiveNotificationTextStylesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownAdaptiveNotificationTextStylesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x202192d7_8996_45aa_8ba1_d461d72c2a1b); } @@ -304,15 +253,11 @@ pub struct IKnownAdaptiveNotificationTextStylesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownNotificationBindingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IKnownNotificationBindingsStatics { type Vtable = IKnownNotificationBindingsStatics_Vtbl; } -impl ::core::clone::Clone for IKnownNotificationBindingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownNotificationBindingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79427bae_a8b7_4d58_89ea_76a7b7bccded); } @@ -324,15 +269,11 @@ pub struct IKnownNotificationBindingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotification { type Vtable = INotification_Vtbl; } -impl ::core::clone::Clone for INotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x108037fe_eb76_4f82_97bc_da07530a2e20); } @@ -353,15 +294,11 @@ pub struct INotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationBinding(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotificationBinding { type Vtable = INotificationBinding_Vtbl; } -impl ::core::clone::Clone for INotificationBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf29e4b85_0370_4ad3_b4ea_da9e35e7eabf); } @@ -384,15 +321,11 @@ pub struct INotificationBinding_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationData(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotificationData { type Vtable = INotificationData_Vtbl; } -impl ::core::clone::Clone for INotificationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ffd2312_9d6a_4aaf_b6ac_ff17f0c1f280); } @@ -409,15 +342,11 @@ pub struct INotificationData_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationDataFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotificationDataFactory { type Vtable = INotificationDataFactory_Vtbl; } -impl ::core::clone::Clone for INotificationDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23c1e33a_1c10_46fb_8040_dec384621cf8); } @@ -436,15 +365,11 @@ pub struct INotificationDataFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationVisual(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INotificationVisual { type Vtable = INotificationVisual_Vtbl; } -impl ::core::clone::Clone for INotificationVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68835b8e_aa56_4e11_86d3_5f9a6957bc5b); } @@ -462,15 +387,11 @@ pub struct INotificationVisual_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledTileNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledTileNotification { type Vtable = IScheduledTileNotification_Vtbl; } -impl ::core::clone::Clone for IScheduledTileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledTileNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0abca6d5_99dc_4c78_a11c_c9e7f86d7ef7); } @@ -501,15 +422,11 @@ pub struct IScheduledTileNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledTileNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledTileNotificationFactory { type Vtable = IScheduledTileNotificationFactory_Vtbl; } -impl ::core::clone::Clone for IScheduledTileNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledTileNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3383138a_98c0_4c3b_bbd6_4a633c7cfc29); } @@ -524,15 +441,11 @@ pub struct IScheduledTileNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotification { type Vtable = IScheduledToastNotification_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79f577f8_0de7_48cd_9740_9b370490c838); } @@ -558,15 +471,11 @@ pub struct IScheduledToastNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotification2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotification2 { type Vtable = IScheduledToastNotification2_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotification2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotification2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa66ea09c_31b4_43b0_b5dd_7a40e85363b1); } @@ -583,15 +492,11 @@ pub struct IScheduledToastNotification2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotification3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotification3 { type Vtable = IScheduledToastNotification3_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotification3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotification3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98429e8b_bd32_4a3b_9d15_22aea49462a1); } @@ -606,15 +511,11 @@ pub struct IScheduledToastNotification3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotification4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotification4 { type Vtable = IScheduledToastNotification4_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotification4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotification4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d4761fd_bdef_4e4a_96be_0101369b58d2); } @@ -633,15 +534,11 @@ pub struct IScheduledToastNotification4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotificationFactory { type Vtable = IScheduledToastNotificationFactory_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7bed191_0bb9_4189_8394_31761b476fd7); } @@ -660,15 +557,11 @@ pub struct IScheduledToastNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledToastNotificationShowingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledToastNotificationShowingEventArgs { type Vtable = IScheduledToastNotificationShowingEventArgs_Vtbl; } -impl ::core::clone::Clone for IScheduledToastNotificationShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledToastNotificationShowingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6173f6b4_412a_5e2c_a6ed_a0209aef9a09); } @@ -686,15 +579,11 @@ pub struct IScheduledToastNotificationShowingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShownTileNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShownTileNotification { type Vtable = IShownTileNotification_Vtbl; } -impl ::core::clone::Clone for IShownTileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShownTileNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x342d8988_5af2_481a_a6a3_f2fdc78de88e); } @@ -706,15 +595,11 @@ pub struct IShownTileNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileFlyoutNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileFlyoutNotification { type Vtable = ITileFlyoutNotification_Vtbl; } -impl ::core::clone::Clone for ITileFlyoutNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileFlyoutNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a53b261_c70c_42be_b2f3_f42aa97d34e5); } @@ -737,15 +622,11 @@ pub struct ITileFlyoutNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileFlyoutNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileFlyoutNotificationFactory { type Vtable = ITileFlyoutNotificationFactory_Vtbl; } -impl ::core::clone::Clone for ITileFlyoutNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileFlyoutNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef556ff5_5226_4f2b_b278_88a35dfe569f); } @@ -760,15 +641,11 @@ pub struct ITileFlyoutNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileFlyoutUpdateManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileFlyoutUpdateManagerStatics { type Vtable = ITileFlyoutUpdateManagerStatics_Vtbl; } -impl ::core::clone::Clone for ITileFlyoutUpdateManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileFlyoutUpdateManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04363b0b_1ac0_4b99_88e7_ada83e953d48); } @@ -786,15 +663,11 @@ pub struct ITileFlyoutUpdateManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileFlyoutUpdater(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileFlyoutUpdater { type Vtable = ITileFlyoutUpdater_Vtbl; } -impl ::core::clone::Clone for ITileFlyoutUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileFlyoutUpdater { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d40c76a_c465_4052_a740_5c2654c1a089); } @@ -817,15 +690,11 @@ pub struct ITileFlyoutUpdater_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileNotification { type Vtable = ITileNotification_Vtbl; } -impl ::core::clone::Clone for ITileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebaec8fa_50ec_4c18_b4d0_3af02e5540ab); } @@ -850,15 +719,11 @@ pub struct ITileNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileNotificationFactory { type Vtable = ITileNotificationFactory_Vtbl; } -impl ::core::clone::Clone for ITileNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6abdd6e_4928_46c8_bdbf_81a047dea0d4); } @@ -873,15 +738,11 @@ pub struct ITileNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileUpdateManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileUpdateManagerForUser { type Vtable = ITileUpdateManagerForUser_Vtbl; } -impl ::core::clone::Clone for ITileUpdateManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileUpdateManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55141348_2ee2_4e2d_9cc1_216a20decc9f); } @@ -899,15 +760,11 @@ pub struct ITileUpdateManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileUpdateManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileUpdateManagerStatics { type Vtable = ITileUpdateManagerStatics_Vtbl; } -impl ::core::clone::Clone for ITileUpdateManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileUpdateManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda159e5d_3ea9_4986_8d84_b09d5e12276d); } @@ -925,15 +782,11 @@ pub struct ITileUpdateManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileUpdateManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileUpdateManagerStatics2 { type Vtable = ITileUpdateManagerStatics2_Vtbl; } -impl ::core::clone::Clone for ITileUpdateManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileUpdateManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x731c1ddc_8e14_4b7c_a34b_9d22de76c84d); } @@ -948,15 +801,11 @@ pub struct ITileUpdateManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileUpdater(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileUpdater { type Vtable = ITileUpdater_Vtbl; } -impl ::core::clone::Clone for ITileUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileUpdater { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0942a48b_1d91_44ec_9243_c1e821c29a20); } @@ -994,15 +843,11 @@ pub struct ITileUpdater_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileUpdater2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileUpdater2 { type Vtable = ITileUpdater2_Vtbl; } -impl ::core::clone::Clone for ITileUpdater2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileUpdater2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2266e12_15ee_43ed_83f5_65b352bb1a84); } @@ -1016,15 +861,11 @@ pub struct ITileUpdater2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastActivatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastActivatedEventArgs { type Vtable = IToastActivatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IToastActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastActivatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3bf92f3_c197_436f_8265_0625824f8dac); } @@ -1036,15 +877,11 @@ pub struct IToastActivatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastActivatedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastActivatedEventArgs2 { type Vtable = IToastActivatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IToastActivatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastActivatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab7da512_cc61_568e_81be_304ac31038fa); } @@ -1059,15 +896,11 @@ pub struct IToastActivatedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastCollection { type Vtable = IToastCollection_Vtbl; } -impl ::core::clone::Clone for IToastCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a8bc3b0_e0be_4858_bc2a_89dfe0b32863); } @@ -1091,15 +924,11 @@ pub struct IToastCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastCollectionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastCollectionFactory { type Vtable = IToastCollectionFactory_Vtbl; } -impl ::core::clone::Clone for IToastCollectionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastCollectionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x164dd3d7_73c4_44f7_b4ff_fb6d4bf1f4c6); } @@ -1114,15 +943,11 @@ pub struct IToastCollectionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastCollectionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastCollectionManager { type Vtable = IToastCollectionManager_Vtbl; } -impl ::core::clone::Clone for IToastCollectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastCollectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a1821fe_179d_49bc_b79d_a527920d3665); } @@ -1158,15 +983,11 @@ pub struct IToastCollectionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastDismissedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastDismissedEventArgs { type Vtable = IToastDismissedEventArgs_Vtbl; } -impl ::core::clone::Clone for IToastDismissedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastDismissedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f89d935_d9cb_4538_a0f0_ffe7659938f8); } @@ -1178,15 +999,11 @@ pub struct IToastDismissedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastFailedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastFailedEventArgs { type Vtable = IToastFailedEventArgs_Vtbl; } -impl ::core::clone::Clone for IToastFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastFailedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35176862_cfd4_44f8_ad64_f500fd896c3b); } @@ -1198,15 +1015,11 @@ pub struct IToastFailedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotification { type Vtable = IToastNotification_Vtbl; } -impl ::core::clone::Clone for IToastNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x997e2675_059e_4e60_8b06_1760917c8b80); } @@ -1253,15 +1066,11 @@ pub struct IToastNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotification2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotification2 { type Vtable = IToastNotification2_Vtbl; } -impl ::core::clone::Clone for IToastNotification2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotification2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dfb9fd1_143a_490e_90bf_b9fba7132de7); } @@ -1278,15 +1087,11 @@ pub struct IToastNotification2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotification3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotification3 { type Vtable = IToastNotification3_Vtbl; } -impl ::core::clone::Clone for IToastNotification3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotification3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31e8aed8_8141_4f99_bc0a_c4ed21297d77); } @@ -1301,15 +1106,11 @@ pub struct IToastNotification3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotification4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotification4 { type Vtable = IToastNotification4_Vtbl; } -impl ::core::clone::Clone for IToastNotification4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotification4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15154935_28ea_4727_88e9_c58680e2d118); } @@ -1324,15 +1125,11 @@ pub struct IToastNotification4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotification6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotification6 { type Vtable = IToastNotification6_Vtbl; } -impl ::core::clone::Clone for IToastNotification6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotification6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43ebfe53_89ae_5c1e_a279_3aecfe9b6f54); } @@ -1345,15 +1142,11 @@ pub struct IToastNotification6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationActionTriggerDetail(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationActionTriggerDetail { type Vtable = IToastNotificationActionTriggerDetail_Vtbl; } -impl ::core::clone::Clone for IToastNotificationActionTriggerDetail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationActionTriggerDetail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9445135a_38f3_42f6_96aa_7955b0f03da2); } @@ -1369,15 +1162,11 @@ pub struct IToastNotificationActionTriggerDetail_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationFactory { type Vtable = IToastNotificationFactory_Vtbl; } -impl ::core::clone::Clone for IToastNotificationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04124b20_82c6_4229_b109_fd9ed4662b53); } @@ -1392,15 +1181,11 @@ pub struct IToastNotificationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationHistory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationHistory { type Vtable = IToastNotificationHistory_Vtbl; } -impl ::core::clone::Clone for IToastNotificationHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationHistory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5caddc63_01d3_4c97_986f_0533483fee14); } @@ -1418,15 +1203,11 @@ pub struct IToastNotificationHistory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationHistory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationHistory2 { type Vtable = IToastNotificationHistory2_Vtbl; } -impl ::core::clone::Clone for IToastNotificationHistory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationHistory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bc3d253_2f31_4092_9129_8ad5abf067da); } @@ -1445,15 +1226,11 @@ pub struct IToastNotificationHistory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationHistoryChangedTriggerDetail(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationHistoryChangedTriggerDetail { type Vtable = IToastNotificationHistoryChangedTriggerDetail_Vtbl; } -impl ::core::clone::Clone for IToastNotificationHistoryChangedTriggerDetail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationHistoryChangedTriggerDetail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb037ffa_0068_412c_9c83_267c37f65670); } @@ -1465,15 +1242,11 @@ pub struct IToastNotificationHistoryChangedTriggerDetail_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationHistoryChangedTriggerDetail2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationHistoryChangedTriggerDetail2 { type Vtable = IToastNotificationHistoryChangedTriggerDetail2_Vtbl; } -impl ::core::clone::Clone for IToastNotificationHistoryChangedTriggerDetail2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationHistoryChangedTriggerDetail2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b36e982_c871_49fb_babb_25bdbc4cc45b); } @@ -1485,15 +1258,11 @@ pub struct IToastNotificationHistoryChangedTriggerDetail2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerForUser(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerForUser { type Vtable = IToastNotificationManagerForUser_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerForUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79ab57f6_43fe_487b_8a7f_99567200ae94); } @@ -1511,15 +1280,11 @@ pub struct IToastNotificationManagerForUser_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerForUser2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerForUser2 { type Vtable = IToastNotificationManagerForUser2_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerForUser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerForUser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x679c64b7_81ab_42c2_8819_c958767753f4); } @@ -1540,15 +1305,11 @@ pub struct IToastNotificationManagerForUser2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerForUser3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerForUser3 { type Vtable = IToastNotificationManagerForUser3_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerForUser3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerForUser3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efcb176_6cc1_56dc_973b_251f7aacb1c5); } @@ -1568,15 +1329,11 @@ pub struct IToastNotificationManagerForUser3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerStatics { type Vtable = IToastNotificationManagerStatics_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ac103f_d235_4598_bbef_98fe4d1a3ad4); } @@ -1593,15 +1350,11 @@ pub struct IToastNotificationManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerStatics2 { type Vtable = IToastNotificationManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ab93c52_0e48_4750_ba9d_1a4113981847); } @@ -1613,15 +1366,11 @@ pub struct IToastNotificationManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerStatics4 { type Vtable = IToastNotificationManagerStatics4_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f993fd3_e516_45fb_8130_398e93fa52c3); } @@ -1637,15 +1386,11 @@ pub struct IToastNotificationManagerStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotificationManagerStatics5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotificationManagerStatics5 { type Vtable = IToastNotificationManagerStatics5_Vtbl; } -impl ::core::clone::Clone for IToastNotificationManagerStatics5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotificationManagerStatics5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6f5f569_d40d_407c_8989_88cab42cfd14); } @@ -1657,15 +1402,11 @@ pub struct IToastNotificationManagerStatics5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotifier(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotifier { type Vtable = IToastNotifier_Vtbl; } -impl ::core::clone::Clone for IToastNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75927b93_03f3_41ec_91d3_6e5bac1b38e7); } @@ -1685,15 +1426,11 @@ pub struct IToastNotifier_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotifier2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotifier2 { type Vtable = IToastNotifier2_Vtbl; } -impl ::core::clone::Clone for IToastNotifier2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotifier2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x354389c6_7c01_4bd5_9c20_604340cd2b74); } @@ -1706,15 +1443,11 @@ pub struct IToastNotifier2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToastNotifier3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IToastNotifier3 { type Vtable = IToastNotifier3_Vtbl; } -impl ::core::clone::Clone for IToastNotifier3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToastNotifier3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae75a04a_3b0c_51ad_b7e8_b08ab6052549); } @@ -1733,15 +1466,11 @@ pub struct IToastNotifier3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotification(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserNotification { type Vtable = IUserNotification_Vtbl; } -impl ::core::clone::Clone for IUserNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadf7e52f_4e53_42d5_9c33_eb5ea515b23e); } @@ -1762,15 +1491,11 @@ pub struct IUserNotification_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotificationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUserNotificationChangedEventArgs { type Vtable = IUserNotificationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUserNotificationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotificationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6bd6839_79cf_4b25_82c0_0ce1eef81f8c); } @@ -1783,6 +1508,7 @@ pub struct IUserNotificationChangedEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AdaptiveNotificationText(::windows_core::IUnknown); impl AdaptiveNotificationText { pub fn new() -> ::windows_core::Result { @@ -1831,25 +1557,9 @@ impl AdaptiveNotificationText { unsafe { (::windows_core::Interface::vtable(this).SetLanguage)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for AdaptiveNotificationText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AdaptiveNotificationText {} -impl ::core::fmt::Debug for AdaptiveNotificationText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AdaptiveNotificationText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AdaptiveNotificationText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.AdaptiveNotificationText;{46d4a3be-609a-4326-a40b-bfde872034a3})"); } -impl ::core::clone::Clone for AdaptiveNotificationText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AdaptiveNotificationText { type Vtable = IAdaptiveNotificationText_Vtbl; } @@ -1865,6 +1575,7 @@ unsafe impl ::core::marker::Send for AdaptiveNotificationText {} unsafe impl ::core::marker::Sync for AdaptiveNotificationText {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BadgeNotification(::windows_core::IUnknown); impl BadgeNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -1911,25 +1622,9 @@ impl BadgeNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for BadgeNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BadgeNotification {} -impl ::core::fmt::Debug for BadgeNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BadgeNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BadgeNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeNotification;{075cb4ca-d08a-4e2f-9233-7e289c1f7722})"); } -impl ::core::clone::Clone for BadgeNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BadgeNotification { type Vtable = IBadgeNotification_Vtbl; } @@ -1998,6 +1693,7 @@ impl ::windows_core::RuntimeName for BadgeUpdateManager { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BadgeUpdateManagerForUser(::windows_core::IUnknown); impl BadgeUpdateManagerForUser { pub fn CreateBadgeUpdaterForApplication(&self) -> ::windows_core::Result { @@ -2031,25 +1727,9 @@ impl BadgeUpdateManagerForUser { } } } -impl ::core::cmp::PartialEq for BadgeUpdateManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BadgeUpdateManagerForUser {} -impl ::core::fmt::Debug for BadgeUpdateManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BadgeUpdateManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BadgeUpdateManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdateManagerForUser;{996b21bc-0386-44e5-ba8d-0c1077a62e92})"); } -impl ::core::clone::Clone for BadgeUpdateManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BadgeUpdateManagerForUser { type Vtable = IBadgeUpdateManagerForUser_Vtbl; } @@ -2064,6 +1744,7 @@ unsafe impl ::core::marker::Send for BadgeUpdateManagerForUser {} unsafe impl ::core::marker::Sync for BadgeUpdateManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BadgeUpdater(::windows_core::IUnknown); impl BadgeUpdater { pub fn Update(&self, notification: P0) -> ::windows_core::Result<()> @@ -2100,25 +1781,9 @@ impl BadgeUpdater { unsafe { (::windows_core::Interface::vtable(this).StopPeriodicUpdate)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for BadgeUpdater { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for BadgeUpdater {} -impl ::core::fmt::Debug for BadgeUpdater { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BadgeUpdater").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for BadgeUpdater { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.BadgeUpdater;{b5fa1fd4-7562-4f6c-bfa3-1b6ed2e57f2f})"); } -impl ::core::clone::Clone for BadgeUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for BadgeUpdater { type Vtable = IBadgeUpdater_Vtbl; } @@ -2325,6 +1990,7 @@ impl ::windows_core::RuntimeName for KnownNotificationBindings { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Notification(::windows_core::IUnknown); impl Notification { pub fn new() -> ::windows_core::Result { @@ -2367,25 +2033,9 @@ impl Notification { unsafe { (::windows_core::Interface::vtable(this).SetVisual)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for Notification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Notification {} -impl ::core::fmt::Debug for Notification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Notification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Notification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.Notification;{108037fe-eb76-4f82-97bc-da07530a2e20})"); } -impl ::core::clone::Clone for Notification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Notification { type Vtable = INotification_Vtbl; } @@ -2400,6 +2050,7 @@ unsafe impl ::core::marker::Send for Notification {} unsafe impl ::core::marker::Sync for Notification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotificationBinding(::windows_core::IUnknown); impl NotificationBinding { pub fn Template(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2443,25 +2094,9 @@ impl NotificationBinding { } } } -impl ::core::cmp::PartialEq for NotificationBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotificationBinding {} -impl ::core::fmt::Debug for NotificationBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotificationBinding").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotificationBinding { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationBinding;{f29e4b85-0370-4ad3-b4ea-da9e35e7eabf})"); } -impl ::core::clone::Clone for NotificationBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotificationBinding { type Vtable = INotificationBinding_Vtbl; } @@ -2476,6 +2111,7 @@ unsafe impl ::core::marker::Send for NotificationBinding {} unsafe impl ::core::marker::Sync for NotificationBinding {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotificationData(::windows_core::IUnknown); impl NotificationData { pub fn new() -> ::windows_core::Result { @@ -2533,25 +2169,9 @@ impl NotificationData { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for NotificationData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotificationData {} -impl ::core::fmt::Debug for NotificationData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotificationData").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotificationData { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationData;{9ffd2312-9d6a-4aaf-b6ac-ff17f0c1f280})"); } -impl ::core::clone::Clone for NotificationData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotificationData { type Vtable = INotificationData_Vtbl; } @@ -2566,6 +2186,7 @@ unsafe impl ::core::marker::Send for NotificationData {} unsafe impl ::core::marker::Sync for NotificationData {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NotificationVisual(::windows_core::IUnknown); impl NotificationVisual { pub fn Language(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2596,25 +2217,9 @@ impl NotificationVisual { } } } -impl ::core::cmp::PartialEq for NotificationVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NotificationVisual {} -impl ::core::fmt::Debug for NotificationVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NotificationVisual").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NotificationVisual { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.NotificationVisual;{68835b8e-aa56-4e11-86d3-5f9a6957bc5b})"); } -impl ::core::clone::Clone for NotificationVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NotificationVisual { type Vtable = INotificationVisual_Vtbl; } @@ -2629,6 +2234,7 @@ unsafe impl ::core::marker::Send for NotificationVisual {} unsafe impl ::core::marker::Sync for NotificationVisual {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScheduledTileNotification(::windows_core::IUnknown); impl ScheduledTileNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -2706,25 +2312,9 @@ impl ScheduledTileNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ScheduledTileNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScheduledTileNotification {} -impl ::core::fmt::Debug for ScheduledTileNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScheduledTileNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScheduledTileNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledTileNotification;{0abca6d5-99dc-4c78-a11c-c9e7f86d7ef7})"); } -impl ::core::clone::Clone for ScheduledTileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScheduledTileNotification { type Vtable = IScheduledTileNotification_Vtbl; } @@ -2739,6 +2329,7 @@ unsafe impl ::core::marker::Send for ScheduledTileNotification {} unsafe impl ::core::marker::Sync for ScheduledTileNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScheduledToastNotification(::windows_core::IUnknown); impl ScheduledToastNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -2887,25 +2478,9 @@ impl ScheduledToastNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ScheduledToastNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScheduledToastNotification {} -impl ::core::fmt::Debug for ScheduledToastNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScheduledToastNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScheduledToastNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotification;{79f577f8-0de7-48cd-9740-9b370490c838})"); } -impl ::core::clone::Clone for ScheduledToastNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScheduledToastNotification { type Vtable = IScheduledToastNotification_Vtbl; } @@ -2920,6 +2495,7 @@ unsafe impl ::core::marker::Send for ScheduledToastNotification {} unsafe impl ::core::marker::Sync for ScheduledToastNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScheduledToastNotificationShowingEventArgs(::windows_core::IUnknown); impl ScheduledToastNotificationShowingEventArgs { pub fn Cancel(&self) -> ::windows_core::Result { @@ -2950,25 +2526,9 @@ impl ScheduledToastNotificationShowingEventArgs { } } } -impl ::core::cmp::PartialEq for ScheduledToastNotificationShowingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ScheduledToastNotificationShowingEventArgs {} -impl ::core::fmt::Debug for ScheduledToastNotificationShowingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScheduledToastNotificationShowingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ScheduledToastNotificationShowingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ScheduledToastNotificationShowingEventArgs;{6173f6b4-412a-5e2c-a6ed-a0209aef9a09})"); } -impl ::core::clone::Clone for ScheduledToastNotificationShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ScheduledToastNotificationShowingEventArgs { type Vtable = IScheduledToastNotificationShowingEventArgs_Vtbl; } @@ -2983,6 +2543,7 @@ unsafe impl ::core::marker::Send for ScheduledToastNotificationShowingEventArgs unsafe impl ::core::marker::Sync for ScheduledToastNotificationShowingEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShownTileNotification(::windows_core::IUnknown); impl ShownTileNotification { pub fn Arguments(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2993,25 +2554,9 @@ impl ShownTileNotification { } } } -impl ::core::cmp::PartialEq for ShownTileNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShownTileNotification {} -impl ::core::fmt::Debug for ShownTileNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShownTileNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShownTileNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ShownTileNotification;{342d8988-5af2-481a-a6a3-f2fdc78de88e})"); } -impl ::core::clone::Clone for ShownTileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShownTileNotification { type Vtable = IShownTileNotification_Vtbl; } @@ -3026,6 +2571,7 @@ unsafe impl ::core::marker::Send for ShownTileNotification {} unsafe impl ::core::marker::Sync for ShownTileNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileFlyoutNotification(::windows_core::IUnknown); impl TileFlyoutNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -3072,25 +2618,9 @@ impl TileFlyoutNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TileFlyoutNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileFlyoutNotification {} -impl ::core::fmt::Debug for TileFlyoutNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileFlyoutNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileFlyoutNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutNotification;{9a53b261-c70c-42be-b2f3-f42aa97d34e5})"); } -impl ::core::clone::Clone for TileFlyoutNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileFlyoutNotification { type Vtable = ITileFlyoutNotification_Vtbl; } @@ -3143,6 +2673,7 @@ impl ::windows_core::RuntimeName for TileFlyoutUpdateManager { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileFlyoutUpdater(::windows_core::IUnknown); impl TileFlyoutUpdater { pub fn Update(&self, notification: P0) -> ::windows_core::Result<()> @@ -3186,25 +2717,9 @@ impl TileFlyoutUpdater { } } } -impl ::core::cmp::PartialEq for TileFlyoutUpdater { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileFlyoutUpdater {} -impl ::core::fmt::Debug for TileFlyoutUpdater { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileFlyoutUpdater").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileFlyoutUpdater { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileFlyoutUpdater;{8d40c76a-c465-4052-a740-5c2654c1a089})"); } -impl ::core::clone::Clone for TileFlyoutUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileFlyoutUpdater { type Vtable = ITileFlyoutUpdater_Vtbl; } @@ -3217,6 +2732,7 @@ impl ::windows_core::RuntimeName for TileFlyoutUpdater { ::windows_core::imp::interface_hierarchy!(TileFlyoutUpdater, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileNotification(::windows_core::IUnknown); impl TileNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -3274,25 +2790,9 @@ impl TileNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TileNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileNotification {} -impl ::core::fmt::Debug for TileNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileNotification;{ebaec8fa-50ec-4c18-b4d0-3af02e5540ab})"); } -impl ::core::clone::Clone for TileNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileNotification { type Vtable = ITileNotification_Vtbl; } @@ -3361,6 +2861,7 @@ impl ::windows_core::RuntimeName for TileUpdateManager { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileUpdateManagerForUser(::windows_core::IUnknown); impl TileUpdateManagerForUser { pub fn CreateTileUpdaterForApplication(&self) -> ::windows_core::Result { @@ -3394,25 +2895,9 @@ impl TileUpdateManagerForUser { } } } -impl ::core::cmp::PartialEq for TileUpdateManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileUpdateManagerForUser {} -impl ::core::fmt::Debug for TileUpdateManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileUpdateManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileUpdateManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdateManagerForUser;{55141348-2ee2-4e2d-9cc1-216a20decc9f})"); } -impl ::core::clone::Clone for TileUpdateManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileUpdateManagerForUser { type Vtable = ITileUpdateManagerForUser_Vtbl; } @@ -3427,6 +2912,7 @@ unsafe impl ::core::marker::Send for TileUpdateManagerForUser {} unsafe impl ::core::marker::Sync for TileUpdateManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileUpdater(::windows_core::IUnknown); impl TileUpdater { pub fn Update(&self, notification: P0) -> ::windows_core::Result<()> @@ -3527,25 +3013,9 @@ impl TileUpdater { unsafe { (::windows_core::Interface::vtable(this).EnableNotificationQueueForSquare310x310)(::windows_core::Interface::as_raw(this), enable).ok() } } } -impl ::core::cmp::PartialEq for TileUpdater { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileUpdater {} -impl ::core::fmt::Debug for TileUpdater { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileUpdater").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileUpdater { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.TileUpdater;{0942a48b-1d91-44ec-9243-c1e821c29a20})"); } -impl ::core::clone::Clone for TileUpdater { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileUpdater { type Vtable = ITileUpdater_Vtbl; } @@ -3560,6 +3030,7 @@ unsafe impl ::core::marker::Send for TileUpdater {} unsafe impl ::core::marker::Sync for TileUpdater {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastActivatedEventArgs(::windows_core::IUnknown); impl ToastActivatedEventArgs { pub fn Arguments(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3579,25 +3050,9 @@ impl ToastActivatedEventArgs { } } } -impl ::core::cmp::PartialEq for ToastActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastActivatedEventArgs {} -impl ::core::fmt::Debug for ToastActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastActivatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastActivatedEventArgs;{e3bf92f3-c197-436f-8265-0625824f8dac})"); } -impl ::core::clone::Clone for ToastActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastActivatedEventArgs { type Vtable = IToastActivatedEventArgs_Vtbl; } @@ -3610,6 +3065,7 @@ impl ::windows_core::RuntimeName for ToastActivatedEventArgs { ::windows_core::imp::interface_hierarchy!(ToastActivatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastCollection(::windows_core::IUnknown); impl ToastCollection { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3676,25 +3132,9 @@ impl ToastCollection { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ToastCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastCollection {} -impl ::core::fmt::Debug for ToastCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollection;{0a8bc3b0-e0be-4858-bc2a-89dfe0b32863})"); } -impl ::core::clone::Clone for ToastCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastCollection { type Vtable = IToastCollection_Vtbl; } @@ -3709,6 +3149,7 @@ unsafe impl ::core::marker::Send for ToastCollection {} unsafe impl ::core::marker::Sync for ToastCollection {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastCollectionManager(::windows_core::IUnknown); impl ToastCollectionManager { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3776,25 +3217,9 @@ impl ToastCollectionManager { } } } -impl ::core::cmp::PartialEq for ToastCollectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastCollectionManager {} -impl ::core::fmt::Debug for ToastCollectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastCollectionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastCollectionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastCollectionManager;{2a1821fe-179d-49bc-b79d-a527920d3665})"); } -impl ::core::clone::Clone for ToastCollectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastCollectionManager { type Vtable = IToastCollectionManager_Vtbl; } @@ -3809,6 +3234,7 @@ unsafe impl ::core::marker::Send for ToastCollectionManager {} unsafe impl ::core::marker::Sync for ToastCollectionManager {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastDismissedEventArgs(::windows_core::IUnknown); impl ToastDismissedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -3819,25 +3245,9 @@ impl ToastDismissedEventArgs { } } } -impl ::core::cmp::PartialEq for ToastDismissedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastDismissedEventArgs {} -impl ::core::fmt::Debug for ToastDismissedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastDismissedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastDismissedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastDismissedEventArgs;{3f89d935-d9cb-4538-a0f0-ffe7659938f8})"); } -impl ::core::clone::Clone for ToastDismissedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastDismissedEventArgs { type Vtable = IToastDismissedEventArgs_Vtbl; } @@ -3852,6 +3262,7 @@ unsafe impl ::core::marker::Send for ToastDismissedEventArgs {} unsafe impl ::core::marker::Sync for ToastDismissedEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastFailedEventArgs(::windows_core::IUnknown); impl ToastFailedEventArgs { pub fn ErrorCode(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3862,25 +3273,9 @@ impl ToastFailedEventArgs { } } } -impl ::core::cmp::PartialEq for ToastFailedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastFailedEventArgs {} -impl ::core::fmt::Debug for ToastFailedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastFailedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastFailedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastFailedEventArgs;{35176862-cfd4-44f8-ad64-f500fd896c3b})"); } -impl ::core::clone::Clone for ToastFailedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastFailedEventArgs { type Vtable = IToastFailedEventArgs_Vtbl; } @@ -3895,6 +3290,7 @@ unsafe impl ::core::marker::Send for ToastFailedEventArgs {} unsafe impl ::core::marker::Sync for ToastFailedEventArgs {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotification(::windows_core::IUnknown); impl ToastNotification { #[doc = "*Required features: `\"Data_Xml_Dom\"`*"] @@ -4086,25 +3482,9 @@ impl ToastNotification { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ToastNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotification {} -impl ::core::fmt::Debug for ToastNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotification;{997e2675-059e-4e60-8b06-1760917c8b80})"); } -impl ::core::clone::Clone for ToastNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotification { type Vtable = IToastNotification_Vtbl; } @@ -4119,6 +3499,7 @@ unsafe impl ::core::marker::Send for ToastNotification {} unsafe impl ::core::marker::Sync for ToastNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationActionTriggerDetail(::windows_core::IUnknown); impl ToastNotificationActionTriggerDetail { pub fn Argument(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4138,25 +3519,9 @@ impl ToastNotificationActionTriggerDetail { } } } -impl ::core::cmp::PartialEq for ToastNotificationActionTriggerDetail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationActionTriggerDetail {} -impl ::core::fmt::Debug for ToastNotificationActionTriggerDetail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationActionTriggerDetail").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationActionTriggerDetail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationActionTriggerDetail;{9445135a-38f3-42f6-96aa-7955b0f03da2})"); } -impl ::core::clone::Clone for ToastNotificationActionTriggerDetail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationActionTriggerDetail { type Vtable = IToastNotificationActionTriggerDetail_Vtbl; } @@ -4169,6 +3534,7 @@ impl ::windows_core::RuntimeName for ToastNotificationActionTriggerDetail { ::windows_core::imp::interface_hierarchy!(ToastNotificationActionTriggerDetail, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationHistory(::windows_core::IUnknown); impl ToastNotificationHistory { pub fn RemoveGroup(&self, group: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -4218,25 +3584,9 @@ impl ToastNotificationHistory { } } } -impl ::core::cmp::PartialEq for ToastNotificationHistory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationHistory {} -impl ::core::fmt::Debug for ToastNotificationHistory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationHistory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationHistory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistory;{5caddc63-01d3-4c97-986f-0533483fee14})"); } -impl ::core::clone::Clone for ToastNotificationHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationHistory { type Vtable = IToastNotificationHistory_Vtbl; } @@ -4249,6 +3599,7 @@ impl ::windows_core::RuntimeName for ToastNotificationHistory { ::windows_core::imp::interface_hierarchy!(ToastNotificationHistory, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationHistoryChangedTriggerDetail(::windows_core::IUnknown); impl ToastNotificationHistoryChangedTriggerDetail { pub fn ChangeType(&self) -> ::windows_core::Result { @@ -4266,25 +3617,9 @@ impl ToastNotificationHistoryChangedTriggerDetail { } } } -impl ::core::cmp::PartialEq for ToastNotificationHistoryChangedTriggerDetail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationHistoryChangedTriggerDetail {} -impl ::core::fmt::Debug for ToastNotificationHistoryChangedTriggerDetail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationHistoryChangedTriggerDetail").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationHistoryChangedTriggerDetail { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationHistoryChangedTriggerDetail;{db037ffa-0068-412c-9c83-267c37f65670})"); } -impl ::core::clone::Clone for ToastNotificationHistoryChangedTriggerDetail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationHistoryChangedTriggerDetail { type Vtable = IToastNotificationHistoryChangedTriggerDetail_Vtbl; } @@ -4370,6 +3705,7 @@ impl ::windows_core::RuntimeName for ToastNotificationManager { } #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotificationManagerForUser(::windows_core::IUnknown); impl ToastNotificationManagerForUser { pub fn CreateToastNotifier(&self) -> ::windows_core::Result { @@ -4460,25 +3796,9 @@ impl ToastNotificationManagerForUser { unsafe { (::windows_core::Interface::vtable(this).RemoveNotificationModeChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ToastNotificationManagerForUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotificationManagerForUser {} -impl ::core::fmt::Debug for ToastNotificationManagerForUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotificationManagerForUser").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotificationManagerForUser { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotificationManagerForUser;{79ab57f6-43fe-487b-8a7f-99567200ae94})"); } -impl ::core::clone::Clone for ToastNotificationManagerForUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotificationManagerForUser { type Vtable = IToastNotificationManagerForUser_Vtbl; } @@ -4493,6 +3813,7 @@ unsafe impl ::core::marker::Send for ToastNotificationManagerForUser {} unsafe impl ::core::marker::Sync for ToastNotificationManagerForUser {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ToastNotifier(::windows_core::IUnknown); impl ToastNotifier { pub fn Show(&self, notification: P0) -> ::windows_core::Result<()> @@ -4578,25 +3899,9 @@ impl ToastNotifier { unsafe { (::windows_core::Interface::vtable(this).RemoveScheduledToastNotificationShowing)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for ToastNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ToastNotifier {} -impl ::core::fmt::Debug for ToastNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ToastNotifier").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ToastNotifier { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.ToastNotifier;{75927b93-03f3-41ec-91d3-6e5bac1b38e7})"); } -impl ::core::clone::Clone for ToastNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ToastNotifier { type Vtable = IToastNotifier_Vtbl; } @@ -4611,6 +3916,7 @@ unsafe impl ::core::marker::Send for ToastNotifier {} unsafe impl ::core::marker::Sync for ToastNotifier {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserNotification(::windows_core::IUnknown); impl UserNotification { pub fn Notification(&self) -> ::windows_core::Result { @@ -4646,25 +3952,9 @@ impl UserNotification { } } } -impl ::core::cmp::PartialEq for UserNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserNotification {} -impl ::core::fmt::Debug for UserNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserNotification").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserNotification { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotification;{adf7e52f-4e53-42d5-9c33-eb5ea515b23e})"); } -impl ::core::clone::Clone for UserNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserNotification { type Vtable = IUserNotification_Vtbl; } @@ -4679,6 +3969,7 @@ unsafe impl ::core::marker::Send for UserNotification {} unsafe impl ::core::marker::Sync for UserNotification {} #[doc = "*Required features: `\"UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UserNotificationChangedEventArgs(::windows_core::IUnknown); impl UserNotificationChangedEventArgs { pub fn ChangeKind(&self) -> ::windows_core::Result { @@ -4696,25 +3987,9 @@ impl UserNotificationChangedEventArgs { } } } -impl ::core::cmp::PartialEq for UserNotificationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UserNotificationChangedEventArgs {} -impl ::core::fmt::Debug for UserNotificationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UserNotificationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UserNotificationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Notifications.UserNotificationChangedEventArgs;{b6bd6839-79cf-4b25-82c0-0ce1eef81f8c})"); } -impl ::core::clone::Clone for UserNotificationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UserNotificationChangedEventArgs { type Vtable = IUserNotificationChangedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Popups/impl.rs b/crates/libs/windows/src/Windows/UI/Popups/impl.rs index 733dd35dc7..141ebfc26b 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/impl.rs @@ -73,7 +73,7 @@ impl IUICommand_Vtbl { SetId: SetId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 320c095c8b..bbae6beba4 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageDialog(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageDialog { type Vtable = IMessageDialog_Vtbl; } -impl ::core::clone::Clone for IMessageDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33f59b01_5325_43ab_9ab3_bdae440e4121); } @@ -37,15 +33,11 @@ pub struct IMessageDialog_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageDialogFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMessageDialogFactory { type Vtable = IMessageDialogFactory_Vtbl; } -impl ::core::clone::Clone for IMessageDialogFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageDialogFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d161777_a66f_4ea5_bb87_793ffa4941f2); } @@ -58,15 +50,11 @@ pub struct IMessageDialogFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPopupMenu(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IPopupMenu { type Vtable = IPopupMenu_Vtbl; } -impl ::core::clone::Clone for IPopupMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPopupMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e9bc6dc_880d_47fc_a0a1_72b639e62559); } @@ -93,6 +81,7 @@ pub struct IPopupMenu_Vtbl { } #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUICommand(::windows_core::IUnknown); impl IUICommand { pub fn Label(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -136,28 +125,12 @@ impl IUICommand { } } ::windows_core::imp::interface_hierarchy!(IUICommand, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUICommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUICommand {} -impl ::core::fmt::Debug for IUICommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUICommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IUICommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f}"); } unsafe impl ::windows_core::Interface for IUICommand { type Vtable = IUICommand_Vtbl; } -impl ::core::clone::Clone for IUICommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUICommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ff93a75_4145_47ff_ac7f_dff1c1fa5b0f); } @@ -174,15 +147,11 @@ pub struct IUICommand_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUICommandFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUICommandFactory { type Vtable = IUICommandFactory_Vtbl; } -impl ::core::clone::Clone for IUICommandFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUICommandFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa21a8189_26b0_4676_ae94_54041bc125e8); } @@ -196,6 +165,7 @@ pub struct IUICommandFactory_Vtbl { } #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MessageDialog(::windows_core::IUnknown); impl MessageDialog { pub fn Title(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -289,25 +259,9 @@ impl MessageDialog { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for MessageDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MessageDialog {} -impl ::core::fmt::Debug for MessageDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MessageDialog").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for MessageDialog { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.MessageDialog;{33f59b01-5325-43ab-9ab3-bdae440e4121})"); } -impl ::core::clone::Clone for MessageDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for MessageDialog { type Vtable = IMessageDialog_Vtbl; } @@ -320,6 +274,7 @@ impl ::windows_core::RuntimeName for MessageDialog { ::windows_core::imp::interface_hierarchy!(MessageDialog, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct PopupMenu(::windows_core::IUnknown); impl PopupMenu { pub fn new() -> ::windows_core::Result { @@ -366,25 +321,9 @@ impl PopupMenu { } } } -impl ::core::cmp::PartialEq for PopupMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for PopupMenu {} -impl ::core::fmt::Debug for PopupMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PopupMenu").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for PopupMenu { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.PopupMenu;{4e9bc6dc-880d-47fc-a0a1-72b639e62559})"); } -impl ::core::clone::Clone for PopupMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for PopupMenu { type Vtable = IPopupMenu_Vtbl; } @@ -397,6 +336,7 @@ impl ::windows_core::RuntimeName for PopupMenu { ::windows_core::imp::interface_hierarchy!(PopupMenu, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UICommand(::windows_core::IUnknown); impl UICommand { pub fn new() -> ::windows_core::Result { @@ -476,25 +416,9 @@ impl UICommand { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UICommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UICommand {} -impl ::core::fmt::Debug for UICommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UICommand").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UICommand { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommand;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } -impl ::core::clone::Clone for UICommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UICommand { type Vtable = IUICommand_Vtbl; } @@ -510,6 +434,7 @@ unsafe impl ::core::marker::Send for UICommand {} unsafe impl ::core::marker::Sync for UICommand {} #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UICommandSeparator(::windows_core::IUnknown); impl UICommandSeparator { pub fn new() -> ::windows_core::Result { @@ -559,25 +484,9 @@ impl UICommandSeparator { unsafe { (::windows_core::Interface::vtable(this).SetId)(::windows_core::Interface::as_raw(this), value.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for UICommandSeparator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UICommandSeparator {} -impl ::core::fmt::Debug for UICommandSeparator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UICommandSeparator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UICommandSeparator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Popups.UICommandSeparator;{4ff93a75-4145-47ff-ac7f-dff1c1fa5b0f})"); } -impl ::core::clone::Clone for UICommandSeparator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UICommandSeparator { type Vtable = IUICommand_Vtbl; } @@ -689,6 +598,7 @@ impl ::windows_core::RuntimeType for Placement { } #[doc = "*Required features: `\"UI_Popups\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UICommandInvokedHandler(pub ::windows_core::IUnknown); impl UICommandInvokedHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -714,9 +624,12 @@ impl) -> ::windows_core::Result<()> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -741,25 +654,9 @@ impl) -> ::windows_core::Result<()> ((*this).invoke)(::windows_core::from_raw_borrowed(&command)).into() } } -impl ::core::cmp::PartialEq for UICommandInvokedHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UICommandInvokedHandler {} -impl ::core::fmt::Debug for UICommandInvokedHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UICommandInvokedHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for UICommandInvokedHandler { type Vtable = UICommandInvokedHandler_Vtbl; } -impl ::core::clone::Clone for UICommandInvokedHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for UICommandInvokedHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaf77a4f_c27a_4298_9ac6_2922c45e7da6); } diff --git a/crates/libs/windows/src/Windows/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/UI/Shell/impl.rs index 347c10e8aa..eda34ba1ce 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/impl.rs @@ -21,8 +21,8 @@ impl IAdaptiveCard_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Shell\"`, `\"implement\"`*"] @@ -51,7 +51,7 @@ impl IAdaptiveCardBuilderStatics_Vtbl { CreateAdaptiveCardFromJson: CreateAdaptiveCardFromJson::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 620b671b0e..011103a6f2 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveCard(::windows_core::IUnknown); impl IAdaptiveCard { pub fn ToJson(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -11,28 +12,12 @@ impl IAdaptiveCard { } } ::windows_core::imp::interface_hierarchy!(IAdaptiveCard, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAdaptiveCard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdaptiveCard {} -impl ::core::fmt::Debug for IAdaptiveCard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdaptiveCard").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAdaptiveCard { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{72d0568c-a274-41cd-82a8-989d40b9b05e}"); } unsafe impl ::windows_core::Interface for IAdaptiveCard { type Vtable = IAdaptiveCard_Vtbl; } -impl ::core::clone::Clone for IAdaptiveCard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveCard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72d0568c_a274_41cd_82a8_989d40b9b05e); } @@ -44,6 +29,7 @@ pub struct IAdaptiveCard_Vtbl { } #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdaptiveCardBuilderStatics(::windows_core::IUnknown); impl IAdaptiveCardBuilderStatics { pub fn CreateAdaptiveCardFromJson(&self, value: &::windows_core::HSTRING) -> ::windows_core::Result { @@ -55,28 +41,12 @@ impl IAdaptiveCardBuilderStatics { } } ::windows_core::imp::interface_hierarchy!(IAdaptiveCardBuilderStatics, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAdaptiveCardBuilderStatics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdaptiveCardBuilderStatics {} -impl ::core::fmt::Debug for IAdaptiveCardBuilderStatics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdaptiveCardBuilderStatics").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IAdaptiveCardBuilderStatics { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{766d8f08-d3fe-4347-a0bc-b9ea9a6dc28e}"); } unsafe impl ::windows_core::Interface for IAdaptiveCardBuilderStatics { type Vtable = IAdaptiveCardBuilderStatics_Vtbl; } -impl ::core::clone::Clone for IAdaptiveCardBuilderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdaptiveCardBuilderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x766d8f08_d3fe_4347_a0bc_b9ea9a6dc28e); } @@ -88,15 +58,11 @@ pub struct IAdaptiveCardBuilderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusSession { type Vtable = IFocusSession_Vtbl; } -impl ::core::clone::Clone for IFocusSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x069fbab8_0e84_5f2f_8614_9b6544326277); } @@ -109,15 +75,11 @@ pub struct IFocusSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusSessionManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusSessionManager { type Vtable = IFocusSessionManager_Vtbl; } -impl ::core::clone::Clone for IFocusSessionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusSessionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7ffbaa9_d8be_5dbf_bac6_49364842e37e); } @@ -144,15 +106,11 @@ pub struct IFocusSessionManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFocusSessionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFocusSessionManagerStatics { type Vtable = IFocusSessionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IFocusSessionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFocusSessionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x834df764_cb9a_5d0a_aa9f_73df4f249395); } @@ -165,15 +123,11 @@ pub struct IFocusSessionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityAppManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecurityAppManager { type Vtable = ISecurityAppManager_Vtbl; } -impl ::core::clone::Clone for ISecurityAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityAppManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96ac500c_aed4_561d_bde8_953520343a2d); } @@ -193,15 +147,11 @@ pub struct ISecurityAppManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareWindowCommandEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareWindowCommandEventArgs { type Vtable = IShareWindowCommandEventArgs_Vtbl; } -impl ::core::clone::Clone for IShareWindowCommandEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareWindowCommandEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4578dc09_a523_5756_a995_e4feb991fff0); } @@ -215,15 +165,11 @@ pub struct IShareWindowCommandEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareWindowCommandSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareWindowCommandSource { type Vtable = IShareWindowCommandSource_Vtbl; } -impl ::core::clone::Clone for IShareWindowCommandSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareWindowCommandSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3b7ae3_6b9c_561e_bccc_61e68e0abfef); } @@ -253,15 +199,11 @@ pub struct IShareWindowCommandSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareWindowCommandSourceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IShareWindowCommandSourceStatics { type Vtable = IShareWindowCommandSourceStatics_Vtbl; } -impl ::core::clone::Clone for IShareWindowCommandSourceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareWindowCommandSourceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0eb6656_9cac_517c_b6c7_8ef715084295); } @@ -273,15 +215,11 @@ pub struct IShareWindowCommandSourceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITaskbarManager { type Vtable = ITaskbarManager_Vtbl; } -impl ::core::clone::Clone for ITaskbarManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87490a19_1ad9_49f4_b2e8_86738dc5ac40); } @@ -310,15 +248,11 @@ pub struct ITaskbarManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITaskbarManager2 { type Vtable = ITaskbarManager2_Vtbl; } -impl ::core::clone::Clone for ITaskbarManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79f0a06e_7b02_4911_918c_dee0bbd20ba4); } @@ -341,15 +275,11 @@ pub struct ITaskbarManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITaskbarManagerStatics { type Vtable = ITaskbarManagerStatics_Vtbl; } -impl ::core::clone::Clone for ITaskbarManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb32ab74_de52_4fe6_b7b6_95ff9f8395df); } @@ -379,6 +309,7 @@ impl ::windows_core::RuntimeName for AdaptiveCardBuilder { } #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FocusSession(::windows_core::IUnknown); impl FocusSession { pub fn Id(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -393,25 +324,9 @@ impl FocusSession { unsafe { (::windows_core::Interface::vtable(this).End)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for FocusSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FocusSession {} -impl ::core::fmt::Debug for FocusSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FocusSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FocusSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSession;{069fbab8-0e84-5f2f-8614-9b6544326277})"); } -impl ::core::clone::Clone for FocusSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FocusSession { type Vtable = IFocusSession_Vtbl; } @@ -426,6 +341,7 @@ unsafe impl ::core::marker::Send for FocusSession {} unsafe impl ::core::marker::Sync for FocusSession {} #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FocusSessionManager(::windows_core::IUnknown); impl FocusSessionManager { pub fn IsFocusActive(&self) -> ::windows_core::Result { @@ -498,25 +414,9 @@ impl FocusSessionManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FocusSessionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FocusSessionManager {} -impl ::core::fmt::Debug for FocusSessionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FocusSessionManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FocusSessionManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.FocusSessionManager;{e7ffbaa9-d8be-5dbf-bac6-49364842e37e})"); } -impl ::core::clone::Clone for FocusSessionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FocusSessionManager { type Vtable = IFocusSessionManager_Vtbl; } @@ -531,6 +431,7 @@ unsafe impl ::core::marker::Send for FocusSessionManager {} unsafe impl ::core::marker::Sync for FocusSessionManager {} #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SecurityAppManager(::windows_core::IUnknown); impl SecurityAppManager { pub fn new() -> ::windows_core::Result { @@ -566,25 +467,9 @@ impl SecurityAppManager { unsafe { (::windows_core::Interface::vtable(this).UpdateState)(::windows_core::Interface::as_raw(this), kind, guidregistration, state, substatus, detailsuri.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for SecurityAppManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SecurityAppManager {} -impl ::core::fmt::Debug for SecurityAppManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SecurityAppManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SecurityAppManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.SecurityAppManager;{96ac500c-aed4-561d-bde8-953520343a2d})"); } -impl ::core::clone::Clone for SecurityAppManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SecurityAppManager { type Vtable = ISecurityAppManager_Vtbl; } @@ -599,6 +484,7 @@ unsafe impl ::core::marker::Send for SecurityAppManager {} unsafe impl ::core::marker::Sync for SecurityAppManager {} #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareWindowCommandEventArgs(::windows_core::IUnknown); impl ShareWindowCommandEventArgs { pub fn WindowId(&self) -> ::windows_core::Result { @@ -620,25 +506,9 @@ impl ShareWindowCommandEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetCommand)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for ShareWindowCommandEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareWindowCommandEventArgs {} -impl ::core::fmt::Debug for ShareWindowCommandEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareWindowCommandEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareWindowCommandEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandEventArgs;{4578dc09-a523-5756-a995-e4feb991fff0})"); } -impl ::core::clone::Clone for ShareWindowCommandEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareWindowCommandEventArgs { type Vtable = IShareWindowCommandEventArgs_Vtbl; } @@ -653,6 +523,7 @@ unsafe impl ::core::marker::Send for ShareWindowCommandEventArgs {} unsafe impl ::core::marker::Sync for ShareWindowCommandEventArgs {} #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ShareWindowCommandSource(::windows_core::IUnknown); impl ShareWindowCommandSource { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -715,25 +586,9 @@ impl ShareWindowCommandSource { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ShareWindowCommandSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ShareWindowCommandSource {} -impl ::core::fmt::Debug for ShareWindowCommandSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ShareWindowCommandSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ShareWindowCommandSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.ShareWindowCommandSource;{cb3b7ae3-6b9c-561e-bccc-61e68e0abfef})"); } -impl ::core::clone::Clone for ShareWindowCommandSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ShareWindowCommandSource { type Vtable = IShareWindowCommandSource_Vtbl; } @@ -748,6 +603,7 @@ unsafe impl ::core::marker::Send for ShareWindowCommandSource {} unsafe impl ::core::marker::Sync for ShareWindowCommandSource {} #[doc = "*Required features: `\"UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TaskbarManager(::windows_core::IUnknown); impl TaskbarManager { pub fn IsSupported(&self) -> ::windows_core::Result { @@ -848,25 +704,9 @@ impl TaskbarManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for TaskbarManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TaskbarManager {} -impl ::core::fmt::Debug for TaskbarManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TaskbarManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TaskbarManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Shell.TaskbarManager;{87490a19-1ad9-49f4-b2e8-86738dc5ac40})"); } -impl ::core::clone::Clone for TaskbarManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TaskbarManager { type Vtable = ITaskbarManager_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index 4c4faf837b..44f776edf6 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJumpList(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJumpList { type Vtable = IJumpList_Vtbl; } -impl ::core::clone::Clone for IJumpList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJumpList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0234c3e_cd6f_4cb6_a611_61fd505f3ed1); } @@ -29,15 +25,11 @@ pub struct IJumpList_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJumpListItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJumpListItem { type Vtable = IJumpListItem_Vtbl; } -impl ::core::clone::Clone for IJumpListItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJumpListItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7adb6717_8b5d_4820_995b_9b418dbe48b0); } @@ -65,15 +57,11 @@ pub struct IJumpListItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJumpListItemStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJumpListItemStatics { type Vtable = IJumpListItemStatics_Vtbl; } -impl ::core::clone::Clone for IJumpListItemStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJumpListItemStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1bfc4e8_c7aa_49cb_8dde_ecfccd7ad7e4); } @@ -86,15 +74,11 @@ pub struct IJumpListItemStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJumpListStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IJumpListStatics { type Vtable = IJumpListStatics_Vtbl; } -impl ::core::clone::Clone for IJumpListStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJumpListStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7e0c681_e67e_4b74_8250_3f322c4d92c3); } @@ -110,15 +94,11 @@ pub struct IJumpListStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTile(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTile { type Vtable = ISecondaryTile_Vtbl; } -impl ::core::clone::Clone for ISecondaryTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e9e51e0_2bb5_4bc0_bb8d_42b23abcc88d); } @@ -237,15 +217,11 @@ pub struct ISecondaryTile_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTile2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTile2 { type Vtable = ISecondaryTile2_Vtbl; } -impl ::core::clone::Clone for ISecondaryTile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2f6cc35_3250_4990_923c_294ab4b694dd); } @@ -269,15 +245,11 @@ pub struct ISecondaryTile2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileFactory { type Vtable = ISecondaryTileFactory_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57f52ca0_51bc_4abf_8ebf_627a0398b05a); } @@ -297,15 +269,11 @@ pub struct ISecondaryTileFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileFactory2 { type Vtable = ISecondaryTileFactory2_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x274b8a3b_522d_448e_9eb2_d0672ab345c8); } @@ -320,15 +288,11 @@ pub struct ISecondaryTileFactory2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileStatics { type Vtable = ISecondaryTileStatics_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99908dae_d051_4676_87fe_9ec242d83c74); } @@ -352,15 +316,11 @@ pub struct ISecondaryTileStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileVisualElements(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileVisualElements { type Vtable = ISecondaryTileVisualElements_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileVisualElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileVisualElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d8df333_815e_413f_9f50_a81da70a96b2); } @@ -421,15 +381,11 @@ pub struct ISecondaryTileVisualElements_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileVisualElements2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileVisualElements2 { type Vtable = ISecondaryTileVisualElements2_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileVisualElements2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileVisualElements2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd2e31d0_57dc_4794_8ecf_5682f5f3e6ef); } @@ -448,15 +404,11 @@ pub struct ISecondaryTileVisualElements2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileVisualElements3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileVisualElements3 { type Vtable = ISecondaryTileVisualElements3_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileVisualElements3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileVisualElements3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56b55ad6_d15c_40f4_81e7_57ffd8f8a4e9); } @@ -475,15 +427,11 @@ pub struct ISecondaryTileVisualElements3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecondaryTileVisualElements4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISecondaryTileVisualElements4 { type Vtable = ISecondaryTileVisualElements4_Vtbl; } -impl ::core::clone::Clone for ISecondaryTileVisualElements4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecondaryTileVisualElements4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66566117_b544_40d2_8d12_74d4ec24d04c); } @@ -495,15 +443,11 @@ pub struct ISecondaryTileVisualElements4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartScreenManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStartScreenManager { type Vtable = IStartScreenManager_Vtbl; } -impl ::core::clone::Clone for IStartScreenManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartScreenManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a1dcbcb_26e9_4eb4_8933_859eb6ecdb29); } @@ -530,15 +474,11 @@ pub struct IStartScreenManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartScreenManager2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStartScreenManager2 { type Vtable = IStartScreenManager2_Vtbl; } -impl ::core::clone::Clone for IStartScreenManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartScreenManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08a716b6_316b_4ad9_acb8_fe9cf00bd608); } @@ -557,15 +497,11 @@ pub struct IStartScreenManager2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartScreenManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStartScreenManagerStatics { type Vtable = IStartScreenManagerStatics_Vtbl; } -impl ::core::clone::Clone for IStartScreenManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartScreenManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7865ef0f_b585_464e_8993_34e8f8738d48); } @@ -581,15 +517,11 @@ pub struct IStartScreenManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileMixedRealityModel(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileMixedRealityModel { type Vtable = ITileMixedRealityModel_Vtbl; } -impl ::core::clone::Clone for ITileMixedRealityModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileMixedRealityModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0764e5b_887d_4242_9a19_3d0a4ea78031); } @@ -616,15 +548,11 @@ pub struct ITileMixedRealityModel_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITileMixedRealityModel2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITileMixedRealityModel2 { type Vtable = ITileMixedRealityModel2_Vtbl; } -impl ::core::clone::Clone for ITileMixedRealityModel2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITileMixedRealityModel2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x439470b2_d7c5_410b_8319_9486a27b6c67); } @@ -637,15 +565,11 @@ pub struct ITileMixedRealityModel2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualElementsRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualElementsRequest { type Vtable = IVisualElementsRequest_Vtbl; } -impl ::core::clone::Clone for IVisualElementsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualElementsRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc138333a_9308_4072_88cc_d068db347c68); } @@ -666,15 +590,11 @@ pub struct IVisualElementsRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualElementsRequestDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualElementsRequestDeferral { type Vtable = IVisualElementsRequestDeferral_Vtbl; } -impl ::core::clone::Clone for IVisualElementsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualElementsRequestDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1656eb0_0126_4357_8204_bd82bb2a046d); } @@ -686,15 +606,11 @@ pub struct IVisualElementsRequestDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualElementsRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVisualElementsRequestedEventArgs { type Vtable = IVisualElementsRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IVisualElementsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualElementsRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b6fc982_3a0d_4ece_af96_cd17e1b00b2d); } @@ -706,6 +622,7 @@ pub struct IVisualElementsRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JumpList(::windows_core::IUnknown); impl JumpList { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -757,25 +674,9 @@ impl JumpList { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for JumpList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JumpList {} -impl ::core::fmt::Debug for JumpList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JumpList").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JumpList { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpList;{b0234c3e-cd6f-4cb6-a611-61fd505f3ed1})"); } -impl ::core::clone::Clone for JumpList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JumpList { type Vtable = IJumpList_Vtbl; } @@ -790,6 +691,7 @@ unsafe impl ::core::marker::Send for JumpList {} unsafe impl ::core::marker::Sync for JumpList {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct JumpListItem(::windows_core::IUnknown); impl JumpListItem { pub fn Kind(&self) -> ::windows_core::Result { @@ -882,25 +784,9 @@ impl JumpListItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for JumpListItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for JumpListItem {} -impl ::core::fmt::Debug for JumpListItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("JumpListItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for JumpListItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.JumpListItem;{7adb6717-8b5d-4820-995b-9b418dbe48b0})"); } -impl ::core::clone::Clone for JumpListItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for JumpListItem { type Vtable = IJumpListItem_Vtbl; } @@ -915,6 +801,7 @@ unsafe impl ::core::marker::Send for JumpListItem {} unsafe impl ::core::marker::Sync for JumpListItem {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SecondaryTile(::windows_core::IUnknown); impl SecondaryTile { pub fn new() -> ::windows_core::Result { @@ -1314,25 +1201,9 @@ impl SecondaryTile { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SecondaryTile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SecondaryTile {} -impl ::core::fmt::Debug for SecondaryTile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SecondaryTile").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SecondaryTile { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTile;{9e9e51e0-2bb5-4bc0-bb8d-42b23abcc88d})"); } -impl ::core::clone::Clone for SecondaryTile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SecondaryTile { type Vtable = ISecondaryTile_Vtbl; } @@ -1347,6 +1218,7 @@ unsafe impl ::core::marker::Send for SecondaryTile {} unsafe impl ::core::marker::Sync for SecondaryTile {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SecondaryTileVisualElements(::windows_core::IUnknown); impl SecondaryTileVisualElements { #[doc = "*Required features: `\"Foundation\"`, `\"deprecated\"`*"] @@ -1538,25 +1410,9 @@ impl SecondaryTileVisualElements { } } } -impl ::core::cmp::PartialEq for SecondaryTileVisualElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SecondaryTileVisualElements {} -impl ::core::fmt::Debug for SecondaryTileVisualElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SecondaryTileVisualElements").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SecondaryTileVisualElements { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.SecondaryTileVisualElements;{1d8df333-815e-413f-9f50-a81da70a96b2})"); } -impl ::core::clone::Clone for SecondaryTileVisualElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SecondaryTileVisualElements { type Vtable = ISecondaryTileVisualElements_Vtbl; } @@ -1571,6 +1427,7 @@ unsafe impl ::core::marker::Send for SecondaryTileVisualElements {} unsafe impl ::core::marker::Sync for SecondaryTileVisualElements {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StartScreenManager(::windows_core::IUnknown); impl StartScreenManager { #[doc = "*Required features: `\"System\"`*"] @@ -1659,25 +1516,9 @@ impl StartScreenManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StartScreenManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StartScreenManager {} -impl ::core::fmt::Debug for StartScreenManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StartScreenManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StartScreenManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.StartScreenManager;{4a1dcbcb-26e9-4eb4-8933-859eb6ecdb29})"); } -impl ::core::clone::Clone for StartScreenManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StartScreenManager { type Vtable = IStartScreenManager_Vtbl; } @@ -1692,6 +1533,7 @@ unsafe impl ::core::marker::Send for StartScreenManager {} unsafe impl ::core::marker::Sync for StartScreenManager {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct TileMixedRealityModel(::windows_core::IUnknown); impl TileMixedRealityModel { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1742,25 +1584,9 @@ impl TileMixedRealityModel { } } } -impl ::core::cmp::PartialEq for TileMixedRealityModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for TileMixedRealityModel {} -impl ::core::fmt::Debug for TileMixedRealityModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TileMixedRealityModel").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for TileMixedRealityModel { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.TileMixedRealityModel;{b0764e5b-887d-4242-9a19-3d0a4ea78031})"); } -impl ::core::clone::Clone for TileMixedRealityModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for TileMixedRealityModel { type Vtable = ITileMixedRealityModel_Vtbl; } @@ -1775,6 +1601,7 @@ unsafe impl ::core::marker::Send for TileMixedRealityModel {} unsafe impl ::core::marker::Sync for TileMixedRealityModel {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualElementsRequest(::windows_core::IUnknown); impl VisualElementsRequest { pub fn VisualElements(&self) -> ::windows_core::Result { @@ -1810,25 +1637,9 @@ impl VisualElementsRequest { } } } -impl ::core::cmp::PartialEq for VisualElementsRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualElementsRequest {} -impl ::core::fmt::Debug for VisualElementsRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualElementsRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualElementsRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequest;{c138333a-9308-4072-88cc-d068db347c68})"); } -impl ::core::clone::Clone for VisualElementsRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualElementsRequest { type Vtable = IVisualElementsRequest_Vtbl; } @@ -1843,6 +1654,7 @@ unsafe impl ::core::marker::Send for VisualElementsRequest {} unsafe impl ::core::marker::Sync for VisualElementsRequest {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualElementsRequestDeferral(::windows_core::IUnknown); impl VisualElementsRequestDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -1850,25 +1662,9 @@ impl VisualElementsRequestDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for VisualElementsRequestDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualElementsRequestDeferral {} -impl ::core::fmt::Debug for VisualElementsRequestDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualElementsRequestDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualElementsRequestDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestDeferral;{a1656eb0-0126-4357-8204-bd82bb2a046d})"); } -impl ::core::clone::Clone for VisualElementsRequestDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualElementsRequestDeferral { type Vtable = IVisualElementsRequestDeferral_Vtbl; } @@ -1883,6 +1679,7 @@ unsafe impl ::core::marker::Send for VisualElementsRequestDeferral {} unsafe impl ::core::marker::Sync for VisualElementsRequestDeferral {} #[doc = "*Required features: `\"UI_StartScreen\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct VisualElementsRequestedEventArgs(::windows_core::IUnknown); impl VisualElementsRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1893,25 +1690,9 @@ impl VisualElementsRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for VisualElementsRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for VisualElementsRequestedEventArgs {} -impl ::core::fmt::Debug for VisualElementsRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("VisualElementsRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for VisualElementsRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.StartScreen.VisualElementsRequestedEventArgs;{7b6fc982-3a0d-4ece-af96-cd17e1b00b2d})"); } -impl ::core::clone::Clone for VisualElementsRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for VisualElementsRequestedEventArgs { type Vtable = IVisualElementsRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs index b41aa7bf98..f4f7c23fee 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextCompositionCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextCompositionCompletedEventArgs { type Vtable = ICoreTextCompositionCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextCompositionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextCompositionCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f34ebb6_b79f_4121_a5e7_fda9b8616e30); } @@ -28,15 +24,11 @@ pub struct ICoreTextCompositionCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextCompositionSegment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextCompositionSegment { type Vtable = ICoreTextCompositionSegment_Vtbl; } -impl ::core::clone::Clone for ICoreTextCompositionSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextCompositionSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x776c6bd9_4ead_4da7_8f47_3a88b523cc34); } @@ -49,15 +41,11 @@ pub struct ICoreTextCompositionSegment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextCompositionStartedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextCompositionStartedEventArgs { type Vtable = ICoreTextCompositionStartedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextCompositionStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextCompositionStartedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x276b16a9_64e7_4ab0_bc4b_a02d73835bfb); } @@ -73,15 +61,11 @@ pub struct ICoreTextCompositionStartedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextEditContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextEditContext { type Vtable = ICoreTextEditContext_Vtbl; } -impl ::core::clone::Clone for ICoreTextEditContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextEditContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf6608af_4041_47c3_b263_a918eb5eaef2); } @@ -177,15 +161,11 @@ pub struct ICoreTextEditContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextEditContext2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextEditContext2 { type Vtable = ICoreTextEditContext2_Vtbl; } -impl ::core::clone::Clone for ICoreTextEditContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextEditContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1867dbb_083b_49e1_b281_2b35d62bf466); } @@ -204,15 +184,11 @@ pub struct ICoreTextEditContext2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextFormatUpdatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextFormatUpdatingEventArgs { type Vtable = ICoreTextFormatUpdatingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextFormatUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextFormatUpdatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7310bd33_b4a8_43b1_b37b_0724d4aca7ab); } @@ -248,15 +224,11 @@ pub struct ICoreTextFormatUpdatingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextLayoutBounds(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextLayoutBounds { type Vtable = ICoreTextLayoutBounds_Vtbl; } -impl ::core::clone::Clone for ICoreTextLayoutBounds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextLayoutBounds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe972c974_4436_4917_80d0_a525e4ca6780); } @@ -283,15 +255,11 @@ pub struct ICoreTextLayoutBounds_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextLayoutRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextLayoutRequest { type Vtable = ICoreTextLayoutRequest_Vtbl; } -impl ::core::clone::Clone for ICoreTextLayoutRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextLayoutRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2555a8cc_51fd_4f03_98bf_ac78174d68e0); } @@ -309,15 +277,11 @@ pub struct ICoreTextLayoutRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextLayoutRequest2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextLayoutRequest2 { type Vtable = ICoreTextLayoutRequest2_Vtbl; } -impl ::core::clone::Clone for ICoreTextLayoutRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextLayoutRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x676de624_cd3d_4bcd_bf01_7f7110954511); } @@ -329,15 +293,11 @@ pub struct ICoreTextLayoutRequest2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextLayoutRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextLayoutRequestedEventArgs { type Vtable = ICoreTextLayoutRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextLayoutRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextLayoutRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1dc6ae0_9a7b_4e9e_a566_4a6b5f8ad676); } @@ -349,15 +309,11 @@ pub struct ICoreTextLayoutRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextSelectionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextSelectionRequest { type Vtable = ICoreTextSelectionRequest_Vtbl; } -impl ::core::clone::Clone for ICoreTextSelectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextSelectionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0a70403_208b_4301_883c_74ca7485fd8d); } @@ -375,15 +331,11 @@ pub struct ICoreTextSelectionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextSelectionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextSelectionRequestedEventArgs { type Vtable = ICoreTextSelectionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextSelectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextSelectionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13c6682b_f614_421a_8f4b_9ec8a5a37fcd); } @@ -395,15 +347,11 @@ pub struct ICoreTextSelectionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextSelectionUpdatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextSelectionUpdatingEventArgs { type Vtable = ICoreTextSelectionUpdatingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextSelectionUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextSelectionUpdatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd445839f_fe7f_4bd5_8a26_0922c1b3e639); } @@ -422,15 +370,11 @@ pub struct ICoreTextSelectionUpdatingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextServicesManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextServicesManager { type Vtable = ICoreTextServicesManager_Vtbl; } -impl ::core::clone::Clone for ICoreTextServicesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextServicesManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2507d83_6e0a_4a8a_bdf8_1948874854ba); } @@ -454,15 +398,11 @@ pub struct ICoreTextServicesManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextServicesManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextServicesManagerStatics { type Vtable = ICoreTextServicesManagerStatics_Vtbl; } -impl ::core::clone::Clone for ICoreTextServicesManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextServicesManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1520a388_e2cf_4d65_aeb9_b32d86fe39b9); } @@ -474,15 +414,11 @@ pub struct ICoreTextServicesManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextServicesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextServicesStatics { type Vtable = ICoreTextServicesStatics_Vtbl; } -impl ::core::clone::Clone for ICoreTextServicesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextServicesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91859a46_eccf_47a4_8ae7_098a9c6fbb15); } @@ -494,15 +430,11 @@ pub struct ICoreTextServicesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextTextRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextTextRequest { type Vtable = ICoreTextTextRequest_Vtbl; } -impl ::core::clone::Clone for ICoreTextTextRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextTextRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50d950a9_f51e_4cc1_8ca1_e6346d1a61be); } @@ -521,15 +453,11 @@ pub struct ICoreTextTextRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextTextRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextTextRequestedEventArgs { type Vtable = ICoreTextTextRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextTextRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextTextRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf096a2d0_41c6_4c02_8b1a_d953b00cabb3); } @@ -541,15 +469,11 @@ pub struct ICoreTextTextRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreTextTextUpdatingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreTextTextUpdatingEventArgs { type Vtable = ICoreTextTextUpdatingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreTextTextUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreTextTextUpdatingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea7918d_cc2b_4f03_8ff6_02fd217db450); } @@ -574,6 +498,7 @@ pub struct ICoreTextTextUpdatingEventArgs_Vtbl { } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextCompositionCompletedEventArgs(::windows_core::IUnknown); impl CoreTextCompositionCompletedEventArgs { pub fn IsCanceled(&self) -> ::windows_core::Result { @@ -602,25 +527,9 @@ impl CoreTextCompositionCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextCompositionCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextCompositionCompletedEventArgs {} -impl ::core::fmt::Debug for CoreTextCompositionCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextCompositionCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextCompositionCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs;{1f34ebb6-b79f-4121-a5e7-fda9b8616e30})"); } -impl ::core::clone::Clone for CoreTextCompositionCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextCompositionCompletedEventArgs { type Vtable = ICoreTextCompositionCompletedEventArgs_Vtbl; } @@ -635,6 +544,7 @@ unsafe impl ::core::marker::Send for CoreTextCompositionCompletedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextCompositionCompletedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextCompositionSegment(::windows_core::IUnknown); impl CoreTextCompositionSegment { pub fn PreconversionString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -652,25 +562,9 @@ impl CoreTextCompositionSegment { } } } -impl ::core::cmp::PartialEq for CoreTextCompositionSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextCompositionSegment {} -impl ::core::fmt::Debug for CoreTextCompositionSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextCompositionSegment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextCompositionSegment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionSegment;{776c6bd9-4ead-4da7-8f47-3a88b523cc34})"); } -impl ::core::clone::Clone for CoreTextCompositionSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextCompositionSegment { type Vtable = ICoreTextCompositionSegment_Vtbl; } @@ -685,6 +579,7 @@ unsafe impl ::core::marker::Send for CoreTextCompositionSegment {} unsafe impl ::core::marker::Sync for CoreTextCompositionSegment {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextCompositionStartedEventArgs(::windows_core::IUnknown); impl CoreTextCompositionStartedEventArgs { pub fn IsCanceled(&self) -> ::windows_core::Result { @@ -704,25 +599,9 @@ impl CoreTextCompositionStartedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextCompositionStartedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextCompositionStartedEventArgs {} -impl ::core::fmt::Debug for CoreTextCompositionStartedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextCompositionStartedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextCompositionStartedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs;{276b16a9-64e7-4ab0-bc4b-a02d73835bfb})"); } -impl ::core::clone::Clone for CoreTextCompositionStartedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextCompositionStartedEventArgs { type Vtable = ICoreTextCompositionStartedEventArgs_Vtbl; } @@ -737,6 +616,7 @@ unsafe impl ::core::marker::Send for CoreTextCompositionStartedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextCompositionStartedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextEditContext(::windows_core::IUnknown); impl CoreTextEditContext { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -984,25 +864,9 @@ impl CoreTextEditContext { unsafe { (::windows_core::Interface::vtable(this).RemoveNotifyFocusLeaveCompleted)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for CoreTextEditContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextEditContext {} -impl ::core::fmt::Debug for CoreTextEditContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextEditContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextEditContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextEditContext;{bf6608af-4041-47c3-b263-a918eb5eaef2})"); } -impl ::core::clone::Clone for CoreTextEditContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextEditContext { type Vtable = ICoreTextEditContext_Vtbl; } @@ -1017,6 +881,7 @@ unsafe impl ::core::marker::Send for CoreTextEditContext {} unsafe impl ::core::marker::Sync for CoreTextEditContext {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextFormatUpdatingEventArgs(::windows_core::IUnknown); impl CoreTextFormatUpdatingEventArgs { pub fn Range(&self) -> ::windows_core::Result { @@ -1097,25 +962,9 @@ impl CoreTextFormatUpdatingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextFormatUpdatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextFormatUpdatingEventArgs {} -impl ::core::fmt::Debug for CoreTextFormatUpdatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextFormatUpdatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextFormatUpdatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs;{7310bd33-b4a8-43b1-b37b-0724d4aca7ab})"); } -impl ::core::clone::Clone for CoreTextFormatUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextFormatUpdatingEventArgs { type Vtable = ICoreTextFormatUpdatingEventArgs_Vtbl; } @@ -1130,6 +979,7 @@ unsafe impl ::core::marker::Send for CoreTextFormatUpdatingEventArgs {} unsafe impl ::core::marker::Sync for CoreTextFormatUpdatingEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextLayoutBounds(::windows_core::IUnknown); impl CoreTextLayoutBounds { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1163,25 +1013,9 @@ impl CoreTextLayoutBounds { unsafe { (::windows_core::Interface::vtable(this).SetControlBounds)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreTextLayoutBounds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextLayoutBounds {} -impl ::core::fmt::Debug for CoreTextLayoutBounds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextLayoutBounds").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextLayoutBounds { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutBounds;{e972c974-4436-4917-80d0-a525e4ca6780})"); } -impl ::core::clone::Clone for CoreTextLayoutBounds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextLayoutBounds { type Vtable = ICoreTextLayoutBounds_Vtbl; } @@ -1196,6 +1030,7 @@ unsafe impl ::core::marker::Send for CoreTextLayoutBounds {} unsafe impl ::core::marker::Sync for CoreTextLayoutBounds {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextLayoutRequest(::windows_core::IUnknown); impl CoreTextLayoutRequest { pub fn Range(&self) -> ::windows_core::Result { @@ -1236,25 +1071,9 @@ impl CoreTextLayoutRequest { } } } -impl ::core::cmp::PartialEq for CoreTextLayoutRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextLayoutRequest {} -impl ::core::fmt::Debug for CoreTextLayoutRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextLayoutRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextLayoutRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequest;{2555a8cc-51fd-4f03-98bf-ac78174d68e0})"); } -impl ::core::clone::Clone for CoreTextLayoutRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextLayoutRequest { type Vtable = ICoreTextLayoutRequest_Vtbl; } @@ -1269,6 +1088,7 @@ unsafe impl ::core::marker::Send for CoreTextLayoutRequest {} unsafe impl ::core::marker::Sync for CoreTextLayoutRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextLayoutRequestedEventArgs(::windows_core::IUnknown); impl CoreTextLayoutRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1279,25 +1099,9 @@ impl CoreTextLayoutRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextLayoutRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextLayoutRequestedEventArgs {} -impl ::core::fmt::Debug for CoreTextLayoutRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextLayoutRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextLayoutRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs;{b1dc6ae0-9a7b-4e9e-a566-4a6b5f8ad676})"); } -impl ::core::clone::Clone for CoreTextLayoutRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextLayoutRequestedEventArgs { type Vtable = ICoreTextLayoutRequestedEventArgs_Vtbl; } @@ -1312,6 +1116,7 @@ unsafe impl ::core::marker::Send for CoreTextLayoutRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextLayoutRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextSelectionRequest(::windows_core::IUnknown); impl CoreTextSelectionRequest { pub fn Selection(&self) -> ::windows_core::Result { @@ -1342,25 +1147,9 @@ impl CoreTextSelectionRequest { } } } -impl ::core::cmp::PartialEq for CoreTextSelectionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextSelectionRequest {} -impl ::core::fmt::Debug for CoreTextSelectionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextSelectionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextSelectionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequest;{f0a70403-208b-4301-883c-74ca7485fd8d})"); } -impl ::core::clone::Clone for CoreTextSelectionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextSelectionRequest { type Vtable = ICoreTextSelectionRequest_Vtbl; } @@ -1375,6 +1164,7 @@ unsafe impl ::core::marker::Send for CoreTextSelectionRequest {} unsafe impl ::core::marker::Sync for CoreTextSelectionRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextSelectionRequestedEventArgs(::windows_core::IUnknown); impl CoreTextSelectionRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1385,25 +1175,9 @@ impl CoreTextSelectionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextSelectionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextSelectionRequestedEventArgs {} -impl ::core::fmt::Debug for CoreTextSelectionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextSelectionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextSelectionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs;{13c6682b-f614-421a-8f4b-9ec8a5a37fcd})"); } -impl ::core::clone::Clone for CoreTextSelectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextSelectionRequestedEventArgs { type Vtable = ICoreTextSelectionRequestedEventArgs_Vtbl; } @@ -1418,6 +1192,7 @@ unsafe impl ::core::marker::Send for CoreTextSelectionRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextSelectionRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextSelectionUpdatingEventArgs(::windows_core::IUnknown); impl CoreTextSelectionUpdatingEventArgs { pub fn Selection(&self) -> ::windows_core::Result { @@ -1455,25 +1230,9 @@ impl CoreTextSelectionUpdatingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextSelectionUpdatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextSelectionUpdatingEventArgs {} -impl ::core::fmt::Debug for CoreTextSelectionUpdatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextSelectionUpdatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextSelectionUpdatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs;{d445839f-fe7f-4bd5-8a26-0922c1b3e639})"); } -impl ::core::clone::Clone for CoreTextSelectionUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextSelectionUpdatingEventArgs { type Vtable = ICoreTextSelectionUpdatingEventArgs_Vtbl; } @@ -1506,6 +1265,7 @@ impl ::windows_core::RuntimeName for CoreTextServicesConstants { } #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextServicesManager(::windows_core::IUnknown); impl CoreTextServicesManager { #[doc = "*Required features: `\"Globalization\"`*"] @@ -1554,25 +1314,9 @@ impl CoreTextServicesManager { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreTextServicesManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextServicesManager {} -impl ::core::fmt::Debug for CoreTextServicesManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextServicesManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextServicesManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextServicesManager;{c2507d83-6e0a-4a8a-bdf8-1948874854ba})"); } -impl ::core::clone::Clone for CoreTextServicesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextServicesManager { type Vtable = ICoreTextServicesManager_Vtbl; } @@ -1587,6 +1331,7 @@ unsafe impl ::core::marker::Send for CoreTextServicesManager {} unsafe impl ::core::marker::Sync for CoreTextServicesManager {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextTextRequest(::windows_core::IUnknown); impl CoreTextTextRequest { pub fn Range(&self) -> ::windows_core::Result { @@ -1624,25 +1369,9 @@ impl CoreTextTextRequest { } } } -impl ::core::cmp::PartialEq for CoreTextTextRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextTextRequest {} -impl ::core::fmt::Debug for CoreTextTextRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextTextRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextTextRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequest;{50d950a9-f51e-4cc1-8ca1-e6346d1a61be})"); } -impl ::core::clone::Clone for CoreTextTextRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextTextRequest { type Vtable = ICoreTextTextRequest_Vtbl; } @@ -1657,6 +1386,7 @@ unsafe impl ::core::marker::Send for CoreTextTextRequest {} unsafe impl ::core::marker::Sync for CoreTextTextRequest {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextTextRequestedEventArgs(::windows_core::IUnknown); impl CoreTextTextRequestedEventArgs { pub fn Request(&self) -> ::windows_core::Result { @@ -1667,25 +1397,9 @@ impl CoreTextTextRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextTextRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextTextRequestedEventArgs {} -impl ::core::fmt::Debug for CoreTextTextRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextTextRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextTextRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextRequestedEventArgs;{f096a2d0-41c6-4c02-8b1a-d953b00cabb3})"); } -impl ::core::clone::Clone for CoreTextTextRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextTextRequestedEventArgs { type Vtable = ICoreTextTextRequestedEventArgs_Vtbl; } @@ -1700,6 +1414,7 @@ unsafe impl ::core::marker::Send for CoreTextTextRequestedEventArgs {} unsafe impl ::core::marker::Sync for CoreTextTextRequestedEventArgs {} #[doc = "*Required features: `\"UI_Text_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreTextTextUpdatingEventArgs(::windows_core::IUnknown); impl CoreTextTextUpdatingEventArgs { pub fn Range(&self) -> ::windows_core::Result { @@ -1760,25 +1475,9 @@ impl CoreTextTextUpdatingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreTextTextUpdatingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreTextTextUpdatingEventArgs {} -impl ::core::fmt::Debug for CoreTextTextUpdatingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreTextTextUpdatingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreTextTextUpdatingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs;{eea7918d-cc2b-4f03-8ff6-02fd217db450})"); } -impl ::core::clone::Clone for CoreTextTextUpdatingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreTextTextUpdatingEventArgs { type Vtable = ICoreTextTextUpdatingEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/Text/impl.rs b/crates/libs/windows/src/Windows/UI/Text/impl.rs index 3597d0a456..b5e7bf26d3 100644 --- a/crates/libs/windows/src/Windows/UI/Text/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Text/impl.rs @@ -519,8 +519,8 @@ impl ITextCharacterFormat_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -816,8 +816,8 @@ impl ITextDocument_Vtbl { Undo: Undo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl ITextParagraphFormat_Vtbl { SetLineSpacing: SetLineSpacing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -1852,8 +1852,8 @@ impl ITextRange_Vtbl { StartOf: StartOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -1989,7 +1989,7 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 0fcc84fa1c..cf19eab13e 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentLinkInfo(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IContentLinkInfo { type Vtable = IContentLinkInfo_Vtbl; } -impl ::core::clone::Clone for IContentLinkInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentLinkInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ed52525_1c5f_48cb_b335_78b50a2ee642); } @@ -37,15 +33,11 @@ pub struct IContentLinkInfo_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFontWeights(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFontWeights { type Vtable = IFontWeights_Vtbl; } -impl ::core::clone::Clone for IFontWeights { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFontWeights { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7880a444_01ab_4997_8517_df822a0c45f1); } @@ -56,15 +48,11 @@ pub struct IFontWeights_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFontWeightsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFontWeightsStatics { type Vtable = IFontWeightsStatics_Vtbl; } -impl ::core::clone::Clone for IFontWeightsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFontWeightsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3b579d5_1ba9_48eb_9dad_c095e8c23ba3); } @@ -86,15 +74,11 @@ pub struct IFontWeightsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRichEditTextRange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRichEditTextRange { type Vtable = IRichEditTextRange_Vtbl; } -impl ::core::clone::Clone for IRichEditTextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRichEditTextRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x374e3515_ba8a_4a6e_8c59_0dde3d0cf5cd); } @@ -107,6 +91,7 @@ pub struct IRichEditTextRange_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextCharacterFormat(::windows_core::IUnknown); impl ITextCharacterFormat { pub fn AllCaps(&self) -> ::windows_core::Result { @@ -395,28 +380,12 @@ impl ITextCharacterFormat { } } ::windows_core::imp::interface_hierarchy!(ITextCharacterFormat, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ITextCharacterFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextCharacterFormat {} -impl ::core::fmt::Debug for ITextCharacterFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextCharacterFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITextCharacterFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5adef3db-05fb-442d-8065-642afea02ced}"); } unsafe impl ::windows_core::Interface for ITextCharacterFormat { type Vtable = ITextCharacterFormat_Vtbl; } -impl ::core::clone::Clone for ITextCharacterFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextCharacterFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5adef3db_05fb_442d_8065_642afea02ced); } @@ -477,15 +446,11 @@ pub struct ITextCharacterFormat_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextConstantsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextConstantsStatics { type Vtable = ITextConstantsStatics_Vtbl; } -impl ::core::clone::Clone for ITextConstantsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextConstantsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x779e7c33_189d_4bfa_97c8_10db135d976e); } @@ -504,6 +469,7 @@ pub struct ITextConstantsStatics_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument(::windows_core::IUnknown); impl ITextDocument { pub fn CaretType(&self) -> ::windows_core::Result { @@ -676,28 +642,12 @@ impl ITextDocument { } } ::windows_core::imp::interface_hierarchy!(ITextDocument, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ITextDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextDocument {} -impl ::core::fmt::Debug for ITextDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextDocument").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITextDocument { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4}"); } unsafe impl ::windows_core::Interface for ITextDocument { type Vtable = ITextDocument_Vtbl; } -impl ::core::clone::Clone for ITextDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeee4ddb_90b2_408c_a2f6_0a0ac31e33e4); } @@ -744,15 +694,11 @@ pub struct ITextDocument_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextDocument2 { type Vtable = ITextDocument2_Vtbl; } -impl ::core::clone::Clone for ITextDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextDocument2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2311112_8c89_49c9_9118_f057cbb814ee); } @@ -767,15 +713,11 @@ pub struct ITextDocument2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextDocument3 { type Vtable = ITextDocument3_Vtbl; } -impl ::core::clone::Clone for ITextDocument3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextDocument3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75ab03a1_a6f8_441d_aa18_0a851d6e5e3c); } @@ -787,15 +729,11 @@ pub struct ITextDocument3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITextDocument4 { type Vtable = ITextDocument4_Vtbl; } -impl ::core::clone::Clone for ITextDocument4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextDocument4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x619c20f2_cb3b_4521_981f_2865b1b93f04); } @@ -809,6 +747,7 @@ pub struct ITextDocument4_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextParagraphFormat(::windows_core::IUnknown); impl ITextParagraphFormat { pub fn Alignment(&self) -> ::windows_core::Result { @@ -1083,28 +1022,12 @@ impl ITextParagraphFormat { } } ::windows_core::imp::interface_hierarchy!(ITextParagraphFormat, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ITextParagraphFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextParagraphFormat {} -impl ::core::fmt::Debug for ITextParagraphFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextParagraphFormat").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITextParagraphFormat { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{2cf8cfa6-4676-498a-93f5-bbdbfc0bd883}"); } unsafe impl ::windows_core::Interface for ITextParagraphFormat { type Vtable = ITextParagraphFormat_Vtbl; } -impl ::core::clone::Clone for ITextParagraphFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextParagraphFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cf8cfa6_4676_498a_93f5_bbdbfc0bd883); } @@ -1163,6 +1086,7 @@ pub struct ITextParagraphFormat_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRange(::windows_core::IUnknown); impl ITextRange { pub fn Character(&self) -> ::windows_core::Result { @@ -1489,28 +1413,12 @@ impl ITextRange { } } ::windows_core::imp::interface_hierarchy!(ITextRange, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ITextRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextRange {} -impl ::core::fmt::Debug for ITextRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITextRange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5b9e4e57-c072-42a0-8945-af503ee54768}"); } unsafe impl ::windows_core::Interface for ITextRange { type Vtable = ITextRange_Vtbl; } -impl ::core::clone::Clone for ITextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b9e4e57_c072_42a0_8945_af503ee54768); } @@ -1591,6 +1499,7 @@ pub struct ITextRange_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextSelection(::windows_core::IUnknown); impl ITextSelection { pub fn Options(&self) -> ::windows_core::Result { @@ -1982,28 +1891,12 @@ impl ITextSelection { } ::windows_core::imp::interface_hierarchy!(ITextSelection, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ITextSelection {} -impl ::core::cmp::PartialEq for ITextSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextSelection {} -impl ::core::fmt::Debug for ITextSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextSelection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ITextSelection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a6d36724-f28f-430a-b2cf-c343671ec0e9}"); } unsafe impl ::windows_core::Interface for ITextSelection { type Vtable = ITextSelection_Vtbl; } -impl ::core::clone::Clone for ITextSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6d36724_f28f_430a_b2cf_c343671ec0e9); } @@ -2024,6 +1917,7 @@ pub struct ITextSelection_Vtbl { } #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContentLinkInfo(::windows_core::IUnknown); impl ContentLinkInfo { pub fn new() -> ::windows_core::Result { @@ -2096,25 +1990,9 @@ impl ContentLinkInfo { unsafe { (::windows_core::Interface::vtable(this).SetLinkContentKind)(::windows_core::Interface::as_raw(this), ::core::mem::transmute_copy(value)).ok() } } } -impl ::core::cmp::PartialEq for ContentLinkInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ContentLinkInfo {} -impl ::core::fmt::Debug for ContentLinkInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContentLinkInfo").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ContentLinkInfo { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.ContentLinkInfo;{1ed52525-1c5f-48cb-b335-78b50a2ee642})"); } -impl ::core::clone::Clone for ContentLinkInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ContentLinkInfo { type Vtable = IContentLinkInfo_Vtbl; } @@ -2129,6 +2007,7 @@ unsafe impl ::core::marker::Send for ContentLinkInfo {} unsafe impl ::core::marker::Sync for ContentLinkInfo {} #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FontWeights(::windows_core::IUnknown); impl FontWeights { pub fn Black() -> ::windows_core::Result { @@ -2203,25 +2082,9 @@ impl FontWeights { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for FontWeights { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FontWeights {} -impl ::core::fmt::Debug for FontWeights { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FontWeights").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FontWeights { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.FontWeights;{7880a444-01ab-4997-8517-df822a0c45f1})"); } -impl ::core::clone::Clone for FontWeights { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FontWeights { type Vtable = IFontWeights_Vtbl; } @@ -2236,6 +2099,7 @@ unsafe impl ::core::marker::Send for FontWeights {} unsafe impl ::core::marker::Sync for FontWeights {} #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RichEditTextDocument(::windows_core::IUnknown); impl RichEditTextDocument { pub fn CaretType(&self) -> ::windows_core::Result { @@ -2445,25 +2309,9 @@ impl RichEditTextDocument { unsafe { (::windows_core::Interface::vtable(this).SetMathMode)(::windows_core::Interface::as_raw(this), mode).ok() } } } -impl ::core::cmp::PartialEq for RichEditTextDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RichEditTextDocument {} -impl ::core::fmt::Debug for RichEditTextDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RichEditTextDocument").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RichEditTextDocument { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextDocument;{beee4ddb-90b2-408c-a2f6-0a0ac31e33e4})"); } -impl ::core::clone::Clone for RichEditTextDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RichEditTextDocument { type Vtable = ITextDocument_Vtbl; } @@ -2479,6 +2327,7 @@ unsafe impl ::core::marker::Send for RichEditTextDocument {} unsafe impl ::core::marker::Sync for RichEditTextDocument {} #[doc = "*Required features: `\"UI_Text\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RichEditTextRange(::windows_core::IUnknown); impl RichEditTextRange { pub fn ContentLinkInfo(&self) -> ::windows_core::Result { @@ -2818,25 +2667,9 @@ impl RichEditTextRange { } } } -impl ::core::cmp::PartialEq for RichEditTextRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RichEditTextRange {} -impl ::core::fmt::Debug for RichEditTextRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RichEditTextRange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RichEditTextRange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Text.RichEditTextRange;{5b9e4e57-c072-42a0-8945-af503ee54768})"); } -impl ::core::clone::Clone for RichEditTextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RichEditTextRange { type Vtable = ITextRange_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs index 1e935838a4..e0a043e17e 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs @@ -23,8 +23,8 @@ impl ICoreAutomationConnectionBoundObjectProvider_Vtbl { IsComThreadingRequired: IsComThreadingRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`, `\"implement\"`*"] @@ -59,7 +59,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider_Vtbl { IsExtensionSupported: IsExtensionSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs index 9547af108d..a865170ea5 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationRemoteOperationResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationRemoteOperationResult { type Vtable = IAutomationRemoteOperationResult_Vtbl; } -impl ::core::clone::Clone for IAutomationRemoteOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationRemoteOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0f80c42_4a67_5534_bf5a_09e8a99b36b1); } @@ -24,6 +20,7 @@ pub struct IAutomationRemoteOperationResult_Vtbl { } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationConnectionBoundObjectProvider(::windows_core::IUnknown); impl ICoreAutomationConnectionBoundObjectProvider { pub fn IsComThreadingRequired(&self) -> ::windows_core::Result { @@ -35,28 +32,12 @@ impl ICoreAutomationConnectionBoundObjectProvider { } } ::windows_core::imp::interface_hierarchy!(ICoreAutomationConnectionBoundObjectProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreAutomationConnectionBoundObjectProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreAutomationConnectionBoundObjectProvider {} -impl ::core::fmt::Debug for ICoreAutomationConnectionBoundObjectProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreAutomationConnectionBoundObjectProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreAutomationConnectionBoundObjectProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{0620bb64-9616-5593-be3a-eb8e6daeb3fa}"); } unsafe impl ::windows_core::Interface for ICoreAutomationConnectionBoundObjectProvider { type Vtable = ICoreAutomationConnectionBoundObjectProvider_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationConnectionBoundObjectProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationConnectionBoundObjectProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0620bb64_9616_5593_be3a_eb8e6daeb3fa); } @@ -68,15 +49,11 @@ pub struct ICoreAutomationConnectionBoundObjectProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationRegistrarStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAutomationRegistrarStatics { type Vtable = ICoreAutomationRegistrarStatics_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationRegistrarStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationRegistrarStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e50129b_d6dc_5680_b580_ffff78300304); } @@ -89,15 +66,11 @@ pub struct ICoreAutomationRegistrarStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationRemoteOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAutomationRemoteOperation { type Vtable = ICoreAutomationRemoteOperation_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationRemoteOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationRemoteOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ac656f4_e2bc_5c6e_b8e7_b224fb74b060); } @@ -113,15 +86,11 @@ pub struct ICoreAutomationRemoteOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationRemoteOperation2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAutomationRemoteOperation2 { type Vtable = ICoreAutomationRemoteOperation2_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationRemoteOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationRemoteOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeefaf86f_e953_5099_8ce9_dca813482ba0); } @@ -133,15 +102,11 @@ pub struct ICoreAutomationRemoteOperation2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationRemoteOperationContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreAutomationRemoteOperationContext { type Vtable = ICoreAutomationRemoteOperationContext_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationRemoteOperationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationRemoteOperationContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9af9cbb_3d3e_5918_a16b_7861626a3aeb); } @@ -155,6 +120,7 @@ pub struct ICoreAutomationRemoteOperationContext_Vtbl { } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreAutomationRemoteOperationExtensionProvider(::windows_core::IUnknown); impl ICoreAutomationRemoteOperationExtensionProvider { pub fn CallExtension(&self, extensionid: ::windows_core::GUID, context: P0, operandids: &[AutomationRemoteOperationOperandId]) -> ::windows_core::Result<()> @@ -173,28 +139,12 @@ impl ICoreAutomationRemoteOperationExtensionProvider { } } ::windows_core::imp::interface_hierarchy!(ICoreAutomationRemoteOperationExtensionProvider, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreAutomationRemoteOperationExtensionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreAutomationRemoteOperationExtensionProvider {} -impl ::core::fmt::Debug for ICoreAutomationRemoteOperationExtensionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreAutomationRemoteOperationExtensionProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ICoreAutomationRemoteOperationExtensionProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{88f53e67-dc69-553b-a0aa-70477e724da8}"); } unsafe impl ::windows_core::Interface for ICoreAutomationRemoteOperationExtensionProvider { type Vtable = ICoreAutomationRemoteOperationExtensionProvider_Vtbl; } -impl ::core::clone::Clone for ICoreAutomationRemoteOperationExtensionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreAutomationRemoteOperationExtensionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f53e67_dc69_553b_a0aa_70477e724da8); } @@ -207,15 +157,11 @@ pub struct ICoreAutomationRemoteOperationExtensionProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationClientSession(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationClientSession { type Vtable = IRemoteAutomationClientSession_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationClientSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationClientSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c8a091d_94cc_5b33_afdb_678cded2bd54); } @@ -249,15 +195,11 @@ pub struct IRemoteAutomationClientSession_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationClientSessionFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationClientSessionFactory { type Vtable = IRemoteAutomationClientSessionFactory_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationClientSessionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationClientSessionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf250263d_6057_5373_a5a5_ed7265fe0376); } @@ -270,15 +212,11 @@ pub struct IRemoteAutomationClientSessionFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationConnectionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationConnectionRequestedEventArgs { type Vtable = IRemoteAutomationConnectionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationConnectionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea3319a8_e3a8_5dc6_adf8_044e46b14af5); } @@ -291,15 +229,11 @@ pub struct IRemoteAutomationConnectionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationDisconnectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationDisconnectedEventArgs { type Vtable = IRemoteAutomationDisconnectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationDisconnectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbb33a3d_5d90_5c38_9eb2_dd9dcc1b2e3f); } @@ -311,15 +245,11 @@ pub struct IRemoteAutomationDisconnectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationServerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationServerStatics { type Vtable = IRemoteAutomationServerStatics_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationServerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationServerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6e8945e_0c11_5028_9ae3_c2771288b6b7); } @@ -331,15 +261,11 @@ pub struct IRemoteAutomationServerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteAutomationWindow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRemoteAutomationWindow { type Vtable = IRemoteAutomationWindow_Vtbl; } -impl ::core::clone::Clone for IRemoteAutomationWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteAutomationWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c607689_496d_512a_9bd5_c050cfaf1428); } @@ -355,6 +281,7 @@ pub struct IRemoteAutomationWindow_Vtbl { } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationRemoteOperationResult(::windows_core::IUnknown); impl AutomationRemoteOperationResult { pub fn Status(&self) -> ::windows_core::Result { @@ -393,25 +320,9 @@ impl AutomationRemoteOperationResult { } } } -impl ::core::cmp::PartialEq for AutomationRemoteOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationRemoteOperationResult {} -impl ::core::fmt::Debug for AutomationRemoteOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationRemoteOperationResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationRemoteOperationResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.AutomationRemoteOperationResult;{e0f80c42-4a67-5534-bf5a-09e8a99b36b1})"); } -impl ::core::clone::Clone for AutomationRemoteOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationRemoteOperationResult { type Vtable = IAutomationRemoteOperationResult_Vtbl; } @@ -447,6 +358,7 @@ impl ::windows_core::RuntimeName for CoreAutomationRegistrar { } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreAutomationRemoteOperation(::windows_core::IUnknown); impl CoreAutomationRemoteOperation { pub fn new() -> ::windows_core::Result { @@ -496,25 +408,9 @@ impl CoreAutomationRemoteOperation { unsafe { (::windows_core::Interface::vtable(this).ImportConnectionBoundObject)(::windows_core::Interface::as_raw(this), operandid, connectionboundobject.into_param().abi()).ok() } } } -impl ::core::cmp::PartialEq for CoreAutomationRemoteOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreAutomationRemoteOperation {} -impl ::core::fmt::Debug for CoreAutomationRemoteOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreAutomationRemoteOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreAutomationRemoteOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperation;{3ac656f4-e2bc-5c6e-b8e7-b224fb74b060})"); } -impl ::core::clone::Clone for CoreAutomationRemoteOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreAutomationRemoteOperation { type Vtable = ICoreAutomationRemoteOperation_Vtbl; } @@ -529,6 +425,7 @@ unsafe impl ::core::marker::Send for CoreAutomationRemoteOperation {} unsafe impl ::core::marker::Sync for CoreAutomationRemoteOperation {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreAutomationRemoteOperationContext(::windows_core::IUnknown); impl CoreAutomationRemoteOperationContext { pub fn GetOperand(&self, id: AutomationRemoteOperationOperandId) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -553,25 +450,9 @@ impl CoreAutomationRemoteOperationContext { unsafe { (::windows_core::Interface::vtable(this).SetOperand2)(::windows_core::Interface::as_raw(this), id, operand.into_param().abi(), operandinterfaceid).ok() } } } -impl ::core::cmp::PartialEq for CoreAutomationRemoteOperationContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreAutomationRemoteOperationContext {} -impl ::core::fmt::Debug for CoreAutomationRemoteOperationContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreAutomationRemoteOperationContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreAutomationRemoteOperationContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.CoreAutomationRemoteOperationContext;{b9af9cbb-3d3e-5918-a16b-7861626a3aeb})"); } -impl ::core::clone::Clone for CoreAutomationRemoteOperationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreAutomationRemoteOperationContext { type Vtable = ICoreAutomationRemoteOperationContext_Vtbl; } @@ -586,6 +467,7 @@ unsafe impl ::core::marker::Send for CoreAutomationRemoteOperationContext {} unsafe impl ::core::marker::Sync for CoreAutomationRemoteOperationContext {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteAutomationClientSession(::windows_core::IUnknown); impl RemoteAutomationClientSession { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -669,25 +551,9 @@ impl RemoteAutomationClientSession { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for RemoteAutomationClientSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteAutomationClientSession {} -impl ::core::fmt::Debug for RemoteAutomationClientSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteAutomationClientSession").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteAutomationClientSession { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationClientSession;{5c8a091d-94cc-5b33-afdb-678cded2bd54})"); } -impl ::core::clone::Clone for RemoteAutomationClientSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteAutomationClientSession { type Vtable = IRemoteAutomationClientSession_Vtbl; } @@ -702,6 +568,7 @@ unsafe impl ::core::marker::Send for RemoteAutomationClientSession {} unsafe impl ::core::marker::Sync for RemoteAutomationClientSession {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteAutomationConnectionRequestedEventArgs(::windows_core::IUnknown); impl RemoteAutomationConnectionRequestedEventArgs { pub fn LocalPipeName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -719,25 +586,9 @@ impl RemoteAutomationConnectionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteAutomationConnectionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteAutomationConnectionRequestedEventArgs {} -impl ::core::fmt::Debug for RemoteAutomationConnectionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteAutomationConnectionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteAutomationConnectionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationConnectionRequestedEventArgs;{ea3319a8-e3a8-5dc6-adf8-044e46b14af5})"); } -impl ::core::clone::Clone for RemoteAutomationConnectionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteAutomationConnectionRequestedEventArgs { type Vtable = IRemoteAutomationConnectionRequestedEventArgs_Vtbl; } @@ -752,6 +603,7 @@ unsafe impl ::core::marker::Send for RemoteAutomationConnectionRequestedEventArg unsafe impl ::core::marker::Sync for RemoteAutomationConnectionRequestedEventArgs {} #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteAutomationDisconnectedEventArgs(::windows_core::IUnknown); impl RemoteAutomationDisconnectedEventArgs { pub fn LocalPipeName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -762,25 +614,9 @@ impl RemoteAutomationDisconnectedEventArgs { } } } -impl ::core::cmp::PartialEq for RemoteAutomationDisconnectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteAutomationDisconnectedEventArgs {} -impl ::core::fmt::Debug for RemoteAutomationDisconnectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteAutomationDisconnectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteAutomationDisconnectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationDisconnectedEventArgs;{bbb33a3d-5d90-5c38-9eb2-dd9dcc1b2e3f})"); } -impl ::core::clone::Clone for RemoteAutomationDisconnectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteAutomationDisconnectedEventArgs { type Vtable = IRemoteAutomationDisconnectedEventArgs_Vtbl; } @@ -810,6 +646,7 @@ impl ::windows_core::RuntimeName for RemoteAutomationServer { } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RemoteAutomationWindow(::windows_core::IUnknown); impl RemoteAutomationWindow { pub fn AutomationProvider(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -829,25 +666,9 @@ impl RemoteAutomationWindow { } } } -impl ::core::cmp::PartialEq for RemoteAutomationWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RemoteAutomationWindow {} -impl ::core::fmt::Debug for RemoteAutomationWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RemoteAutomationWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for RemoteAutomationWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.Core.RemoteAutomationWindow;{7c607689-496d-512a-9bd5-c050cfaf1428})"); } -impl ::core::clone::Clone for RemoteAutomationWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for RemoteAutomationWindow { type Vtable = IRemoteAutomationWindow_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs index b4cdecd8cf..45f5a169ba 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationConnection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationConnection { type Vtable = IAutomationConnection_Vtbl; } -impl ::core::clone::Clone for IAutomationConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaad262ed_0ef4_5d43_97be_a834e27b65b9); } @@ -24,15 +20,11 @@ pub struct IAutomationConnection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationConnectionBoundObject(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationConnectionBoundObject { type Vtable = IAutomationConnectionBoundObject_Vtbl; } -impl ::core::clone::Clone for IAutomationConnectionBoundObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationConnectionBoundObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e8558fb_ca52_5b65_9830_dd2905816093); } @@ -44,15 +36,11 @@ pub struct IAutomationConnectionBoundObject_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationElement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationElement { type Vtable = IAutomationElement_Vtbl; } -impl ::core::clone::Clone for IAutomationElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1898370_2c07_56fd_993f_61a72a08058c); } @@ -66,15 +54,11 @@ pub struct IAutomationElement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomationTextRange(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAutomationTextRange { type Vtable = IAutomationTextRange_Vtbl; } -impl ::core::clone::Clone for IAutomationTextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutomationTextRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e101b65_40d3_5994_85a9_0a0cb9a4ec98); } @@ -85,6 +69,7 @@ pub struct IAutomationTextRange_Vtbl { } #[doc = "*Required features: `\"UI_UIAutomation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationConnection(::windows_core::IUnknown); impl AutomationConnection { pub fn IsRemoteSystem(&self) -> ::windows_core::Result { @@ -109,25 +94,9 @@ impl AutomationConnection { } } } -impl ::core::cmp::PartialEq for AutomationConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationConnection {} -impl ::core::fmt::Debug for AutomationConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationConnection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationConnection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnection;{aad262ed-0ef4-5d43-97be-a834e27b65b9})"); } -impl ::core::clone::Clone for AutomationConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationConnection { type Vtable = IAutomationConnection_Vtbl; } @@ -142,6 +111,7 @@ unsafe impl ::core::marker::Send for AutomationConnection {} unsafe impl ::core::marker::Sync for AutomationConnection {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationConnectionBoundObject(::windows_core::IUnknown); impl AutomationConnectionBoundObject { pub fn Connection(&self) -> ::windows_core::Result { @@ -152,25 +122,9 @@ impl AutomationConnectionBoundObject { } } } -impl ::core::cmp::PartialEq for AutomationConnectionBoundObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationConnectionBoundObject {} -impl ::core::fmt::Debug for AutomationConnectionBoundObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationConnectionBoundObject").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationConnectionBoundObject { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationConnectionBoundObject;{5e8558fb-ca52-5b65-9830-dd2905816093})"); } -impl ::core::clone::Clone for AutomationConnectionBoundObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationConnectionBoundObject { type Vtable = IAutomationConnectionBoundObject_Vtbl; } @@ -185,6 +139,7 @@ unsafe impl ::core::marker::Send for AutomationConnectionBoundObject {} unsafe impl ::core::marker::Sync for AutomationConnectionBoundObject {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationElement(::windows_core::IUnknown); impl AutomationElement { pub fn IsRemoteSystem(&self) -> ::windows_core::Result { @@ -209,25 +164,9 @@ impl AutomationElement { } } } -impl ::core::cmp::PartialEq for AutomationElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationElement {} -impl ::core::fmt::Debug for AutomationElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationElement;{a1898370-2c07-56fd-993f-61a72a08058c})"); } -impl ::core::clone::Clone for AutomationElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationElement { type Vtable = IAutomationElement_Vtbl; } @@ -242,27 +181,12 @@ unsafe impl ::core::marker::Send for AutomationElement {} unsafe impl ::core::marker::Sync for AutomationElement {} #[doc = "*Required features: `\"UI_UIAutomation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AutomationTextRange(::windows_core::IUnknown); impl AutomationTextRange {} -impl ::core::cmp::PartialEq for AutomationTextRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AutomationTextRange {} -impl ::core::fmt::Debug for AutomationTextRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AutomationTextRange").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AutomationTextRange { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIAutomation.AutomationTextRange;{7e101b65-40d3-5994-85a9-0a0cb9a4ec98})"); } -impl ::core::clone::Clone for AutomationTextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AutomationTextRange { type Vtable = IAutomationTextRange_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs index 7f8a512fc0..c747cf2f6c 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFrameworkInputView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreFrameworkInputView { type Vtable = ICoreFrameworkInputView_Vtbl; } -impl ::core::clone::Clone for ICoreFrameworkInputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFrameworkInputView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd77c94ae_46b8_5d4a_9489_8ddec3d639a6); } @@ -35,15 +31,11 @@ pub struct ICoreFrameworkInputView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFrameworkInputViewAnimationStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreFrameworkInputViewAnimationStartingEventArgs { type Vtable = ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreFrameworkInputViewAnimationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFrameworkInputViewAnimationStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0ec901c_bba4_501b_ae8b_65c9e756a719); } @@ -63,15 +55,11 @@ pub struct ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFrameworkInputViewOcclusionsChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreFrameworkInputViewOcclusionsChangedEventArgs { type Vtable = ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreFrameworkInputViewOcclusionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFrameworkInputViewOcclusionsChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf36f4949_c82c_53d1_a75d_2b2baf0d9b0d); } @@ -87,15 +75,11 @@ pub struct ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFrameworkInputViewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreFrameworkInputViewStatics { type Vtable = ICoreFrameworkInputViewStatics_Vtbl; } -impl ::core::clone::Clone for ICoreFrameworkInputViewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFrameworkInputViewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eebd9b6_eac2_5f8b_975f_772ee3e42eeb); } @@ -108,15 +92,11 @@ pub struct ICoreFrameworkInputViewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputView { type Vtable = ICoreInputView_Vtbl; } -impl ::core::clone::Clone for ICoreInputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc770cd7a_7001_4c32_bf94_25c1f554cbf1); } @@ -141,15 +121,11 @@ pub struct ICoreInputView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputView2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputView2 { type Vtable = ICoreInputView2_Vtbl; } -impl ::core::clone::Clone for ICoreInputView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ed726c1_e09a_4ae8_aedf_dfa4857d1a01); } @@ -180,15 +156,11 @@ pub struct ICoreInputView2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputView3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputView3 { type Vtable = ICoreInputView3_Vtbl; } -impl ::core::clone::Clone for ICoreInputView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc941653_3ab9_4849_8f58_46e7f0353cfc); } @@ -202,15 +174,11 @@ pub struct ICoreInputView3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputView4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputView4 { type Vtable = ICoreInputView4_Vtbl; } -impl ::core::clone::Clone for ICoreInputView4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputView4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x002863d6_d9ef_57eb_8cef_77f6ce1b7ee7); } @@ -237,15 +205,11 @@ pub struct ICoreInputView4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputView5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputView5 { type Vtable = ICoreInputView5_Vtbl; } -impl ::core::clone::Clone for ICoreInputView5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputView5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x136316e0_c6d5_5c57_811e_1ad8a99ba6ab); } @@ -273,15 +237,11 @@ pub struct ICoreInputView5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewAnimationStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewAnimationStartingEventArgs { type Vtable = ICoreInputViewAnimationStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewAnimationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewAnimationStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9144af2_b55c_5ea1_b8ab_5340f3e94897); } @@ -302,15 +262,11 @@ pub struct ICoreInputViewAnimationStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewHidingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewHidingEventArgs { type Vtable = ICoreInputViewHidingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewHidingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewHidingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeada47bd_bac5_5336_848d_41083584daad); } @@ -322,15 +278,11 @@ pub struct ICoreInputViewHidingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewOcclusion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewOcclusion { type Vtable = ICoreInputViewOcclusion_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewOcclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewOcclusion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc36ce06_3865_4177_b5f5_8b65e0b9ce84); } @@ -346,15 +298,11 @@ pub struct ICoreInputViewOcclusion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewOcclusionsChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewOcclusionsChangedEventArgs { type Vtable = ICoreInputViewOcclusionsChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewOcclusionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewOcclusionsChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe1027e8_b3ee_4df7_9554_89cdc66082c2); } @@ -371,15 +319,11 @@ pub struct ICoreInputViewOcclusionsChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewShowingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewShowingEventArgs { type Vtable = ICoreInputViewShowingEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewShowingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca52261b_fb9e_5daf_a98c_262b8b76af50); } @@ -391,15 +335,11 @@ pub struct ICoreInputViewShowingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewStatics { type Vtable = ICoreInputViewStatics_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d9b97cd_edbe_49cf_a54f_337de052907f); } @@ -411,15 +351,11 @@ pub struct ICoreInputViewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewStatics2 { type Vtable = ICoreInputViewStatics2_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ebc0862_d049_4e52_87b0_1e90e98c49ed); } @@ -431,15 +367,11 @@ pub struct ICoreInputViewStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputViewTransferringXYFocusEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICoreInputViewTransferringXYFocusEventArgs { type Vtable = ICoreInputViewTransferringXYFocusEventArgs_Vtbl; } -impl ::core::clone::Clone for ICoreInputViewTransferringXYFocusEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputViewTransferringXYFocusEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04de169f_ba02_4850_8b55_d82d03ba6d7f); } @@ -459,15 +391,11 @@ pub struct ICoreInputViewTransferringXYFocusEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettingsController(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettingsController { type Vtable = IUISettingsController_Vtbl; } -impl ::core::clone::Clone for IUISettingsController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettingsController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78a51ac4_15c0_5a1b_a75b_acbf9cb8bb9e); } @@ -483,15 +411,11 @@ pub struct IUISettingsController_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettingsControllerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettingsControllerStatics { type Vtable = IUISettingsControllerStatics_Vtbl; } -impl ::core::clone::Clone for IUISettingsControllerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettingsControllerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb3c68cc_c220_578c_8119_7db324ed26a6); } @@ -506,6 +430,7 @@ pub struct IUISettingsControllerStatics_Vtbl { } #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreFrameworkInputView(::windows_core::IUnknown); impl CoreFrameworkInputView { #[doc = "*Required features: `\"Foundation\"`*"] @@ -565,25 +490,9 @@ impl CoreFrameworkInputView { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreFrameworkInputView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreFrameworkInputView {} -impl ::core::fmt::Debug for CoreFrameworkInputView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreFrameworkInputView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreFrameworkInputView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputView;{d77c94ae-46b8-5d4a-9489-8ddec3d639a6})"); } -impl ::core::clone::Clone for CoreFrameworkInputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreFrameworkInputView { type Vtable = ICoreFrameworkInputView_Vtbl; } @@ -598,6 +507,7 @@ unsafe impl ::core::marker::Send for CoreFrameworkInputView {} unsafe impl ::core::marker::Sync for CoreFrameworkInputView {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreFrameworkInputViewAnimationStartingEventArgs(::windows_core::IUnknown); impl CoreFrameworkInputViewAnimationStartingEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -626,25 +536,9 @@ impl CoreFrameworkInputViewAnimationStartingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreFrameworkInputViewAnimationStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreFrameworkInputViewAnimationStartingEventArgs {} -impl ::core::fmt::Debug for CoreFrameworkInputViewAnimationStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreFrameworkInputViewAnimationStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreFrameworkInputViewAnimationStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewAnimationStartingEventArgs;{c0ec901c-bba4-501b-ae8b-65c9e756a719})"); } -impl ::core::clone::Clone for CoreFrameworkInputViewAnimationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreFrameworkInputViewAnimationStartingEventArgs { type Vtable = ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl; } @@ -659,6 +553,7 @@ unsafe impl ::core::marker::Send for CoreFrameworkInputViewAnimationStartingEven unsafe impl ::core::marker::Sync for CoreFrameworkInputViewAnimationStartingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreFrameworkInputViewOcclusionsChangedEventArgs(::windows_core::IUnknown); impl CoreFrameworkInputViewOcclusionsChangedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -678,25 +573,9 @@ impl CoreFrameworkInputViewOcclusionsChangedEventArgs { } } } -impl ::core::cmp::PartialEq for CoreFrameworkInputViewOcclusionsChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreFrameworkInputViewOcclusionsChangedEventArgs {} -impl ::core::fmt::Debug for CoreFrameworkInputViewOcclusionsChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreFrameworkInputViewOcclusionsChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreFrameworkInputViewOcclusionsChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreFrameworkInputViewOcclusionsChangedEventArgs;{f36f4949-c82c-53d1-a75d-2b2baf0d9b0d})"); } -impl ::core::clone::Clone for CoreFrameworkInputViewOcclusionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreFrameworkInputViewOcclusionsChangedEventArgs { type Vtable = ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl; } @@ -711,6 +590,7 @@ unsafe impl ::core::marker::Send for CoreFrameworkInputViewOcclusionsChangedEven unsafe impl ::core::marker::Sync for CoreFrameworkInputViewOcclusionsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputView(::windows_core::IUnknown); impl CoreInputView { #[doc = "*Required features: `\"Foundation\"`*"] @@ -925,25 +805,9 @@ impl CoreInputView { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for CoreInputView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputView {} -impl ::core::fmt::Debug for CoreInputView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputView;{c770cd7a-7001-4c32-bf94-25c1f554cbf1})"); } -impl ::core::clone::Clone for CoreInputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputView { type Vtable = ICoreInputView_Vtbl; } @@ -958,6 +822,7 @@ unsafe impl ::core::marker::Send for CoreInputView {} unsafe impl ::core::marker::Sync for CoreInputView {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewAnimationStartingEventArgs(::windows_core::IUnknown); impl CoreInputViewAnimationStartingEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -990,25 +855,9 @@ impl CoreInputViewAnimationStartingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreInputViewAnimationStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewAnimationStartingEventArgs {} -impl ::core::fmt::Debug for CoreInputViewAnimationStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewAnimationStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewAnimationStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewAnimationStartingEventArgs;{a9144af2-b55c-5ea1-b8ab-5340f3e94897})"); } -impl ::core::clone::Clone for CoreInputViewAnimationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewAnimationStartingEventArgs { type Vtable = ICoreInputViewAnimationStartingEventArgs_Vtbl; } @@ -1023,6 +872,7 @@ unsafe impl ::core::marker::Send for CoreInputViewAnimationStartingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewAnimationStartingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewHidingEventArgs(::windows_core::IUnknown); impl CoreInputViewHidingEventArgs { pub fn TryCancel(&self) -> ::windows_core::Result { @@ -1033,25 +883,9 @@ impl CoreInputViewHidingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreInputViewHidingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewHidingEventArgs {} -impl ::core::fmt::Debug for CoreInputViewHidingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewHidingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewHidingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewHidingEventArgs;{eada47bd-bac5-5336-848d-41083584daad})"); } -impl ::core::clone::Clone for CoreInputViewHidingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewHidingEventArgs { type Vtable = ICoreInputViewHidingEventArgs_Vtbl; } @@ -1066,6 +900,7 @@ unsafe impl ::core::marker::Send for CoreInputViewHidingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewHidingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewOcclusion(::windows_core::IUnknown); impl CoreInputViewOcclusion { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1085,25 +920,9 @@ impl CoreInputViewOcclusion { } } } -impl ::core::cmp::PartialEq for CoreInputViewOcclusion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewOcclusion {} -impl ::core::fmt::Debug for CoreInputViewOcclusion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewOcclusion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewOcclusion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusion;{cc36ce06-3865-4177-b5f5-8b65e0b9ce84})"); } -impl ::core::clone::Clone for CoreInputViewOcclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewOcclusion { type Vtable = ICoreInputViewOcclusion_Vtbl; } @@ -1118,6 +937,7 @@ unsafe impl ::core::marker::Send for CoreInputViewOcclusion {} unsafe impl ::core::marker::Sync for CoreInputViewOcclusion {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewOcclusionsChangedEventArgs(::windows_core::IUnknown); impl CoreInputViewOcclusionsChangedEventArgs { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1141,25 +961,9 @@ impl CoreInputViewOcclusionsChangedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for CoreInputViewOcclusionsChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewOcclusionsChangedEventArgs {} -impl ::core::fmt::Debug for CoreInputViewOcclusionsChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewOcclusionsChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewOcclusionsChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewOcclusionsChangedEventArgs;{be1027e8-b3ee-4df7-9554-89cdc66082c2})"); } -impl ::core::clone::Clone for CoreInputViewOcclusionsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewOcclusionsChangedEventArgs { type Vtable = ICoreInputViewOcclusionsChangedEventArgs_Vtbl; } @@ -1174,6 +978,7 @@ unsafe impl ::core::marker::Send for CoreInputViewOcclusionsChangedEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewOcclusionsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewShowingEventArgs(::windows_core::IUnknown); impl CoreInputViewShowingEventArgs { pub fn TryCancel(&self) -> ::windows_core::Result { @@ -1184,25 +989,9 @@ impl CoreInputViewShowingEventArgs { } } } -impl ::core::cmp::PartialEq for CoreInputViewShowingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewShowingEventArgs {} -impl ::core::fmt::Debug for CoreInputViewShowingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewShowingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewShowingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewShowingEventArgs;{ca52261b-fb9e-5daf-a98c-262b8b76af50})"); } -impl ::core::clone::Clone for CoreInputViewShowingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewShowingEventArgs { type Vtable = ICoreInputViewShowingEventArgs_Vtbl; } @@ -1217,6 +1006,7 @@ unsafe impl ::core::marker::Send for CoreInputViewShowingEventArgs {} unsafe impl ::core::marker::Sync for CoreInputViewShowingEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CoreInputViewTransferringXYFocusEventArgs(::windows_core::IUnknown); impl CoreInputViewTransferringXYFocusEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1258,25 +1048,9 @@ impl CoreInputViewTransferringXYFocusEventArgs { } } } -impl ::core::cmp::PartialEq for CoreInputViewTransferringXYFocusEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CoreInputViewTransferringXYFocusEventArgs {} -impl ::core::fmt::Debug for CoreInputViewTransferringXYFocusEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CoreInputViewTransferringXYFocusEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CoreInputViewTransferringXYFocusEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.CoreInputViewTransferringXYFocusEventArgs;{04de169f-ba02-4850-8b55-d82d03ba6d7f})"); } -impl ::core::clone::Clone for CoreInputViewTransferringXYFocusEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CoreInputViewTransferringXYFocusEventArgs { type Vtable = ICoreInputViewTransferringXYFocusEventArgs_Vtbl; } @@ -1291,6 +1065,7 @@ unsafe impl ::core::marker::Send for CoreInputViewTransferringXYFocusEventArgs { unsafe impl ::core::marker::Sync for CoreInputViewTransferringXYFocusEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UISettingsController(::windows_core::IUnknown); impl UISettingsController { pub fn SetAdvancedEffectsEnabled(&self, value: bool) -> ::windows_core::Result<()> { @@ -1327,25 +1102,9 @@ impl UISettingsController { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UISettingsController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UISettingsController {} -impl ::core::fmt::Debug for UISettingsController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UISettingsController").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UISettingsController { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.Core.UISettingsController;{78a51ac4-15c0-5a1b-a75b-acbf9cb8bb9e})"); } -impl ::core::clone::Clone for UISettingsController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UISettingsController { type Vtable = IUISettingsController_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index 01642c9236..1fe79941dc 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibilitySettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAccessibilitySettings { type Vtable = IAccessibilitySettings_Vtbl; } -impl ::core::clone::Clone for IAccessibilitySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibilitySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe0e8147_c4c0_4562_b962_1327b52ad5b9); } @@ -31,15 +27,11 @@ pub struct IAccessibilitySettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationViewSwitcher(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivationViewSwitcher { type Vtable = IActivationViewSwitcher_Vtbl; } -impl ::core::clone::Clone for IActivationViewSwitcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationViewSwitcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdca71bb6_7350_492b_aac7_c8a13d7224ad); } @@ -59,15 +51,11 @@ pub struct IActivationViewSwitcher_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView { type Vtable = IApplicationView_Vtbl; } -impl ::core::clone::Clone for IApplicationView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd222d519_4361_451e_96c4_60f4f9742db0); } @@ -99,15 +87,11 @@ pub struct IApplicationView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView2 { type Vtable = IApplicationView2_Vtbl; } -impl ::core::clone::Clone for IApplicationView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe876b196_a545_40dc_b594_450cba68cc00); } @@ -140,15 +124,11 @@ pub struct IApplicationView2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView3 { type Vtable = IApplicationView3_Vtbl; } -impl ::core::clone::Clone for IApplicationView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x903c9ce5_793a_4fdf_a2b2_af1ac21e3108); } @@ -174,15 +154,11 @@ pub struct IApplicationView3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView4 { type Vtable = IApplicationView4_Vtbl; } -impl ::core::clone::Clone for IApplicationView4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15e5cbec_9e0f_46b5_bc3f_9bf653e74b5e); } @@ -207,15 +183,11 @@ pub struct IApplicationView4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView7(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView7 { type Vtable = IApplicationView7_Vtbl; } -impl ::core::clone::Clone for IApplicationView7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0369647_5faf_5aa6_9c38_befbb12a071e); } @@ -228,15 +200,11 @@ pub struct IApplicationView7_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationView9(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationView9 { type Vtable = IApplicationView9_Vtbl; } -impl ::core::clone::Clone for IApplicationView9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationView9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c6516f9_021a_5f01_93e5_9bdad2647574); } @@ -255,15 +223,11 @@ pub struct IApplicationView9_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewConsolidatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewConsolidatedEventArgs { type Vtable = IApplicationViewConsolidatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IApplicationViewConsolidatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewConsolidatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x514449ec_7ea2_4de7_a6a6_7dfbaaebb6fb); } @@ -275,15 +239,11 @@ pub struct IApplicationViewConsolidatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewConsolidatedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewConsolidatedEventArgs2 { type Vtable = IApplicationViewConsolidatedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IApplicationViewConsolidatedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewConsolidatedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c199ecc_6dc1_40f4_afee_07d9ea296430); } @@ -296,18 +256,13 @@ pub struct IApplicationViewConsolidatedEventArgs2_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewFullscreenStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IApplicationViewFullscreenStatics { type Vtable = IApplicationViewFullscreenStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IApplicationViewFullscreenStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IApplicationViewFullscreenStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc792ebd_64fe_4b65_a0c0_901ce2b68636); } @@ -323,15 +278,11 @@ pub struct IApplicationViewFullscreenStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewInteropStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewInteropStatics { type Vtable = IApplicationViewInteropStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationViewInteropStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewInteropStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc446fb5d_4793_4896_a8e2_be57a8bb0f50); } @@ -346,15 +297,11 @@ pub struct IApplicationViewInteropStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewScaling(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewScaling { type Vtable = IApplicationViewScaling_Vtbl; } -impl ::core::clone::Clone for IApplicationViewScaling { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewScaling { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d0ddc23_23f3_4b2d_84fe_74bf37b48b66); } @@ -365,15 +312,11 @@ pub struct IApplicationViewScaling_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewScalingStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewScalingStatics { type Vtable = IApplicationViewScalingStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationViewScalingStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewScalingStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb08fecf0_b946_45c8_a5e3_71f5aa78f861); } @@ -387,18 +330,13 @@ pub struct IApplicationViewScalingStatics_Vtbl { #[doc(hidden)] #[cfg(feature = "deprecated")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewStatics(::windows_core::IUnknown); #[cfg(feature = "deprecated")] unsafe impl ::windows_core::Interface for IApplicationViewStatics { type Vtable = IApplicationViewStatics_Vtbl; } #[cfg(feature = "deprecated")] -impl ::core::clone::Clone for IApplicationViewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "deprecated")] unsafe impl ::windows_core::ComInterface for IApplicationViewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x010a6306_c433_44e5_a9f2_bd84d4030a95); } @@ -418,15 +356,11 @@ pub struct IApplicationViewStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewStatics2 { type Vtable = IApplicationViewStatics2_Vtbl; } -impl ::core::clone::Clone for IApplicationViewStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf338ae5_cf64_423c_85e5_f3e72448fb23); } @@ -440,15 +374,11 @@ pub struct IApplicationViewStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewStatics3 { type Vtable = IApplicationViewStatics3_Vtbl; } -impl ::core::clone::Clone for IApplicationViewStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa28d7594_8c41_4e13_9719_5164796fe4c7); } @@ -469,15 +399,11 @@ pub struct IApplicationViewStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewStatics4 { type Vtable = IApplicationViewStatics4_Vtbl; } -impl ::core::clone::Clone for IApplicationViewStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08fd8d33_2611_5336_a315_d98e6366c9db); } @@ -490,15 +416,11 @@ pub struct IApplicationViewStatics4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewSwitcherStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewSwitcherStatics { type Vtable = IApplicationViewSwitcherStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationViewSwitcherStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewSwitcherStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x975f2f1e_e656_4c5e_a0a1_717c6ffa7d64); } @@ -538,15 +460,11 @@ pub struct IApplicationViewSwitcherStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewSwitcherStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewSwitcherStatics2 { type Vtable = IApplicationViewSwitcherStatics2_Vtbl; } -impl ::core::clone::Clone for IApplicationViewSwitcherStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewSwitcherStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60e995cd_4fc2_48c4_b8e3_395f2b9f0fc1); } @@ -558,15 +476,11 @@ pub struct IApplicationViewSwitcherStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewSwitcherStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewSwitcherStatics3 { type Vtable = IApplicationViewSwitcherStatics3_Vtbl; } -impl ::core::clone::Clone for IApplicationViewSwitcherStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewSwitcherStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92059420_80a7_486d_b21f_c7a4a242a383); } @@ -585,15 +499,11 @@ pub struct IApplicationViewSwitcherStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewTitleBar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewTitleBar { type Vtable = IApplicationViewTitleBar_Vtbl; } -impl ::core::clone::Clone for IApplicationViewTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewTitleBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00924ac0_932b_4a6b_9c4b_dc38c82478ce); } @@ -700,15 +610,11 @@ pub struct IApplicationViewTitleBar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewTransferContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewTransferContext { type Vtable = IApplicationViewTransferContext_Vtbl; } -impl ::core::clone::Clone for IApplicationViewTransferContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewTransferContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8574bc63_3c17_408e_9408_8a1a9ea81bfa); } @@ -721,15 +627,11 @@ pub struct IApplicationViewTransferContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewTransferContextStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewTransferContextStatics { type Vtable = IApplicationViewTransferContextStatics_Vtbl; } -impl ::core::clone::Clone for IApplicationViewTransferContextStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewTransferContextStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15a89d92_dd79_4b0b_bc47_d5f195f14661); } @@ -741,15 +643,11 @@ pub struct IApplicationViewTransferContextStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationViewWithContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IApplicationViewWithContext { type Vtable = IApplicationViewWithContext_Vtbl; } -impl ::core::clone::Clone for IApplicationViewWithContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationViewWithContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd55d512_9dc1_44fc_8501_666625df60dc); } @@ -761,15 +659,11 @@ pub struct IApplicationViewWithContext_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPane(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPane { type Vtable = IInputPane_Vtbl; } -impl ::core::clone::Clone for IInputPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPane { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x640ada70_06f3_4c87_a678_9829c9127c28); } @@ -800,15 +694,11 @@ pub struct IInputPane_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPane2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPane2 { type Vtable = IInputPane2_Vtbl; } -impl ::core::clone::Clone for IInputPane2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPane2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a6b3f26_7090_4793_944c_c3f2cde26276); } @@ -821,15 +711,11 @@ pub struct IInputPane2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPaneControl { type Vtable = IInputPaneControl_Vtbl; } -impl ::core::clone::Clone for IInputPaneControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x088bb24f_962f_489d_aa6e_c6be1a0a6e52); } @@ -842,15 +728,11 @@ pub struct IInputPaneControl_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPaneStatics { type Vtable = IInputPaneStatics_Vtbl; } -impl ::core::clone::Clone for IInputPaneStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95f4af3a_ef47_424a_9741_fd2815eba2bd); } @@ -862,15 +744,11 @@ pub struct IInputPaneStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPaneStatics2 { type Vtable = IInputPaneStatics2_Vtbl; } -impl ::core::clone::Clone for IInputPaneStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b63529b_d9ec_4531_8445_71bab9fb828e); } @@ -882,15 +760,11 @@ pub struct IInputPaneStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneVisibilityEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IInputPaneVisibilityEventArgs { type Vtable = IInputPaneVisibilityEventArgs_Vtbl; } -impl ::core::clone::Clone for IInputPaneVisibilityEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneVisibilityEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd243e016_d907_4fcc_bb8d_f77baa5028f1); } @@ -907,15 +781,11 @@ pub struct IInputPaneVisibilityEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProjectionManagerStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProjectionManagerStatics { type Vtable = IProjectionManagerStatics_Vtbl; } -impl ::core::clone::Clone for IProjectionManagerStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProjectionManagerStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb65f913d_e2f0_4ffd_ba95_34241647e45c); } @@ -947,15 +817,11 @@ pub struct IProjectionManagerStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProjectionManagerStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IProjectionManagerStatics2 { type Vtable = IProjectionManagerStatics2_Vtbl; } -impl ::core::clone::Clone for IProjectionManagerStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProjectionManagerStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf33d2f43_2749_4cde_b977_c0c41e7415d1); } @@ -979,15 +845,11 @@ pub struct IProjectionManagerStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStatusBar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStatusBar { type Vtable = IStatusBar_Vtbl; } -impl ::core::clone::Clone for IStatusBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStatusBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ffcc5bf_98d0_4864_b1e8_b3f4020be8b4); } @@ -1045,15 +907,11 @@ pub struct IStatusBar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStatusBarProgressIndicator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStatusBarProgressIndicator { type Vtable = IStatusBarProgressIndicator_Vtbl; } -impl ::core::clone::Clone for IStatusBarProgressIndicator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStatusBarProgressIndicator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76cb2670_a3d7_49cf_8200_4f3eedca27bb); } @@ -1082,15 +940,11 @@ pub struct IStatusBarProgressIndicator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStatusBarStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IStatusBarStatics { type Vtable = IStatusBarStatics_Vtbl; } -impl ::core::clone::Clone for IStatusBarStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStatusBarStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b463fdf_422f_4561_8806_fb1289cadfb7); } @@ -1102,15 +956,11 @@ pub struct IStatusBarStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings { type Vtable = IUISettings_Vtbl; } -impl ::core::clone::Clone for IUISettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85361600_1c63_4627_bcb1_3a89e0bc9c55); } @@ -1146,15 +996,11 @@ pub struct IUISettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings2 { type Vtable = IUISettings2_Vtbl; } -impl ::core::clone::Clone for IUISettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad82401_2721_44f9_bb91_2bb228be442f); } @@ -1174,15 +1020,11 @@ pub struct IUISettings2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings3 { type Vtable = IUISettings3_Vtbl; } -impl ::core::clone::Clone for IUISettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03021be4_5254_4781_8194_5168f7d06d7b); } @@ -1202,15 +1044,11 @@ pub struct IUISettings3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings4 { type Vtable = IUISettings4_Vtbl; } -impl ::core::clone::Clone for IUISettings4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52bb3002_919b_4d6b_9b78_8dd66ff4b93b); } @@ -1230,15 +1068,11 @@ pub struct IUISettings4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings5 { type Vtable = IUISettings5_Vtbl; } -impl ::core::clone::Clone for IUISettings5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5349d588_0cb5_5f05_bd34_706b3231f0bd); } @@ -1258,15 +1092,11 @@ pub struct IUISettings5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettings6(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettings6 { type Vtable = IUISettings6_Vtbl; } -impl ::core::clone::Clone for IUISettings6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettings6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaef19bd7_fe31_5a04_ada4_469aaec6dfa9); } @@ -1293,15 +1123,11 @@ pub struct IUISettings6_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettingsAnimationsEnabledChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettingsAnimationsEnabledChangedEventArgs { type Vtable = IUISettingsAnimationsEnabledChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUISettingsAnimationsEnabledChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettingsAnimationsEnabledChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c7b4b3d_2ea1_533e_894d_415bc5243c29); } @@ -1312,15 +1138,11 @@ pub struct IUISettingsAnimationsEnabledChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettingsAutoHideScrollBarsChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettingsAutoHideScrollBarsChangedEventArgs { type Vtable = IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUISettingsAutoHideScrollBarsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettingsAutoHideScrollBarsChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87afd4b2_9146_5f02_8f6b_06d454174c0f); } @@ -1331,15 +1153,11 @@ pub struct IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISettingsMessageDurationChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUISettingsMessageDurationChangedEventArgs { type Vtable = IUISettingsMessageDurationChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IUISettingsMessageDurationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISettingsMessageDurationChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338aad52_4a5d_5b59_8002_d930f608fd6e); } @@ -1350,15 +1168,11 @@ pub struct IUISettingsMessageDurationChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIViewSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUIViewSettings { type Vtable = IUIViewSettings_Vtbl; } -impl ::core::clone::Clone for IUIViewSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIViewSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc63657f6_8850_470d_88f8_455e16ea2c26); } @@ -1370,15 +1184,11 @@ pub struct IUIViewSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIViewSettingsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUIViewSettingsStatics { type Vtable = IUIViewSettingsStatics_Vtbl; } -impl ::core::clone::Clone for IUIViewSettingsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIViewSettingsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x595c97a5_f8f6_41cf_b0fb_aacdb81fd5f6); } @@ -1390,15 +1200,11 @@ pub struct IUIViewSettingsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewModePreferences(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IViewModePreferences { type Vtable = IViewModePreferences_Vtbl; } -impl ::core::clone::Clone for IViewModePreferences { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewModePreferences { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x878fcd3a_0b99_42c9_84d0_d3f1d403554b); } @@ -1419,15 +1225,11 @@ pub struct IViewModePreferences_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewModePreferencesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IViewModePreferencesStatics { type Vtable = IViewModePreferencesStatics_Vtbl; } -impl ::core::clone::Clone for IViewModePreferencesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewModePreferencesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69b60a65_5de5_40d8_8306_3833df7a2274); } @@ -1439,6 +1241,7 @@ pub struct IViewModePreferencesStatics_Vtbl { } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AccessibilitySettings(::windows_core::IUnknown); impl AccessibilitySettings { pub fn new() -> ::windows_core::Result { @@ -1481,25 +1284,9 @@ impl AccessibilitySettings { unsafe { (::windows_core::Interface::vtable(this).RemoveHighContrastChanged)(::windows_core::Interface::as_raw(this), cookie).ok() } } } -impl ::core::cmp::PartialEq for AccessibilitySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AccessibilitySettings {} -impl ::core::fmt::Debug for AccessibilitySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AccessibilitySettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AccessibilitySettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.AccessibilitySettings;{fe0e8147-c4c0-4562-b962-1327b52ad5b9})"); } -impl ::core::clone::Clone for AccessibilitySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AccessibilitySettings { type Vtable = IAccessibilitySettings_Vtbl; } @@ -1514,6 +1301,7 @@ unsafe impl ::core::marker::Send for AccessibilitySettings {} unsafe impl ::core::marker::Sync for AccessibilitySettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivationViewSwitcher(::windows_core::IUnknown); impl ActivationViewSwitcher { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1542,25 +1330,9 @@ impl ActivationViewSwitcher { } } } -impl ::core::cmp::PartialEq for ActivationViewSwitcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivationViewSwitcher {} -impl ::core::fmt::Debug for ActivationViewSwitcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivationViewSwitcher").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivationViewSwitcher { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ActivationViewSwitcher;{dca71bb6-7350-492b-aac7-c8a13d7224ad})"); } -impl ::core::clone::Clone for ActivationViewSwitcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivationViewSwitcher { type Vtable = IActivationViewSwitcher_Vtbl; } @@ -1575,6 +1347,7 @@ unsafe impl ::core::marker::Send for ActivationViewSwitcher {} unsafe impl ::core::marker::Sync for ActivationViewSwitcher {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationView(::windows_core::IUnknown); impl ApplicationView { pub fn Orientation(&self) -> ::windows_core::Result { @@ -1963,25 +1736,9 @@ impl ApplicationView { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ApplicationView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationView {} -impl ::core::fmt::Debug for ApplicationView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationView;{d222d519-4361-451e-96c4-60f4f9742db0})"); } -impl ::core::clone::Clone for ApplicationView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationView { type Vtable = IApplicationView_Vtbl; } @@ -1996,6 +1753,7 @@ unsafe impl ::core::marker::Send for ApplicationView {} unsafe impl ::core::marker::Sync for ApplicationView {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationViewConsolidatedEventArgs(::windows_core::IUnknown); impl ApplicationViewConsolidatedEventArgs { pub fn IsUserInitiated(&self) -> ::windows_core::Result { @@ -2013,25 +1771,9 @@ impl ApplicationViewConsolidatedEventArgs { } } } -impl ::core::cmp::PartialEq for ApplicationViewConsolidatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationViewConsolidatedEventArgs {} -impl ::core::fmt::Debug for ApplicationViewConsolidatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationViewConsolidatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationViewConsolidatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs;{514449ec-7ea2-4de7-a6a6-7dfbaaebb6fb})"); } -impl ::core::clone::Clone for ApplicationViewConsolidatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationViewConsolidatedEventArgs { type Vtable = IApplicationViewConsolidatedEventArgs_Vtbl; } @@ -2046,6 +1788,7 @@ unsafe impl ::core::marker::Send for ApplicationViewConsolidatedEventArgs {} unsafe impl ::core::marker::Sync for ApplicationViewConsolidatedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationViewScaling(::windows_core::IUnknown); impl ApplicationViewScaling { pub fn DisableLayoutScaling() -> ::windows_core::Result { @@ -2066,25 +1809,9 @@ impl ApplicationViewScaling { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ApplicationViewScaling { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationViewScaling {} -impl ::core::fmt::Debug for ApplicationViewScaling { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationViewScaling").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationViewScaling { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewScaling;{1d0ddc23-23f3-4b2d-84fe-74bf37b48b66})"); } -impl ::core::clone::Clone for ApplicationViewScaling { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationViewScaling { type Vtable = IApplicationViewScaling_Vtbl; } @@ -2200,6 +1927,7 @@ impl ::windows_core::RuntimeName for ApplicationViewSwitcher { } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationViewTitleBar(::windows_core::IUnknown); impl ApplicationViewTitleBar { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2419,25 +2147,9 @@ impl ApplicationViewTitleBar { } } } -impl ::core::cmp::PartialEq for ApplicationViewTitleBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationViewTitleBar {} -impl ::core::fmt::Debug for ApplicationViewTitleBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationViewTitleBar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationViewTitleBar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTitleBar;{00924ac0-932b-4a6b-9c4b-dc38c82478ce})"); } -impl ::core::clone::Clone for ApplicationViewTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationViewTitleBar { type Vtable = IApplicationViewTitleBar_Vtbl; } @@ -2452,6 +2164,7 @@ unsafe impl ::core::marker::Send for ApplicationViewTitleBar {} unsafe impl ::core::marker::Sync for ApplicationViewTitleBar {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ApplicationViewTransferContext(::windows_core::IUnknown); impl ApplicationViewTransferContext { pub fn new() -> ::windows_core::Result { @@ -2484,25 +2197,9 @@ impl ApplicationViewTransferContext { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ApplicationViewTransferContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ApplicationViewTransferContext {} -impl ::core::fmt::Debug for ApplicationViewTransferContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ApplicationViewTransferContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ApplicationViewTransferContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ApplicationViewTransferContext;{8574bc63-3c17-408e-9408-8a1a9ea81bfa})"); } -impl ::core::clone::Clone for ApplicationViewTransferContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ApplicationViewTransferContext { type Vtable = IApplicationViewTransferContext_Vtbl; } @@ -2515,6 +2212,7 @@ impl ::windows_core::RuntimeName for ApplicationViewTransferContext { ::windows_core::imp::interface_hierarchy!(ApplicationViewTransferContext, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputPane(::windows_core::IUnknown); impl InputPane { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2613,25 +2311,9 @@ impl InputPane { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for InputPane { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputPane {} -impl ::core::fmt::Debug for InputPane { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputPane").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputPane { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPane;{640ada70-06f3-4c87-a678-9829c9127c28})"); } -impl ::core::clone::Clone for InputPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputPane { type Vtable = IInputPane_Vtbl; } @@ -2644,6 +2326,7 @@ impl ::windows_core::RuntimeName for InputPane { ::windows_core::imp::interface_hierarchy!(InputPane, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct InputPaneVisibilityEventArgs(::windows_core::IUnknown); impl InputPaneVisibilityEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2667,25 +2350,9 @@ impl InputPaneVisibilityEventArgs { } } } -impl ::core::cmp::PartialEq for InputPaneVisibilityEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for InputPaneVisibilityEventArgs {} -impl ::core::fmt::Debug for InputPaneVisibilityEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("InputPaneVisibilityEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for InputPaneVisibilityEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.InputPaneVisibilityEventArgs;{d243e016-d907-4fcc-bb8d-f77baa5028f1})"); } -impl ::core::clone::Clone for InputPaneVisibilityEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for InputPaneVisibilityEventArgs { type Vtable = IInputPaneVisibilityEventArgs_Vtbl; } @@ -2794,6 +2461,7 @@ impl ::windows_core::RuntimeName for ProjectionManager { } #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StatusBar(::windows_core::IUnknown); impl StatusBar { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2925,25 +2593,9 @@ impl StatusBar { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for StatusBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StatusBar {} -impl ::core::fmt::Debug for StatusBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StatusBar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StatusBar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBar;{0ffcc5bf-98d0-4864-b1e8-b3f4020be8b4})"); } -impl ::core::clone::Clone for StatusBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StatusBar { type Vtable = IStatusBar_Vtbl; } @@ -2958,6 +2610,7 @@ unsafe impl ::core::marker::Send for StatusBar {} unsafe impl ::core::marker::Sync for StatusBar {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct StatusBarProgressIndicator(::windows_core::IUnknown); impl StatusBarProgressIndicator { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3008,25 +2661,9 @@ impl StatusBarProgressIndicator { unsafe { (::windows_core::Interface::vtable(this).SetProgressValue)(::windows_core::Interface::as_raw(this), value.try_into_param()?.abi()).ok() } } } -impl ::core::cmp::PartialEq for StatusBarProgressIndicator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for StatusBarProgressIndicator {} -impl ::core::fmt::Debug for StatusBarProgressIndicator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("StatusBarProgressIndicator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for StatusBarProgressIndicator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.StatusBarProgressIndicator;{76cb2670-a3d7-49cf-8200-4f3eedca27bb})"); } -impl ::core::clone::Clone for StatusBarProgressIndicator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for StatusBarProgressIndicator { type Vtable = IStatusBarProgressIndicator_Vtbl; } @@ -3041,6 +2678,7 @@ unsafe impl ::core::marker::Send for StatusBarProgressIndicator {} unsafe impl ::core::marker::Sync for StatusBarProgressIndicator {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UISettings(::windows_core::IUnknown); impl UISettings { pub fn new() -> ::windows_core::Result { @@ -3286,25 +2924,9 @@ impl UISettings { unsafe { (::windows_core::Interface::vtable(this).RemoveMessageDurationChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for UISettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UISettings {} -impl ::core::fmt::Debug for UISettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UISettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UISettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettings;{85361600-1c63-4627-bcb1-3a89e0bc9c55})"); } -impl ::core::clone::Clone for UISettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UISettings { type Vtable = IUISettings_Vtbl; } @@ -3319,27 +2941,12 @@ unsafe impl ::core::marker::Send for UISettings {} unsafe impl ::core::marker::Sync for UISettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UISettingsAnimationsEnabledChangedEventArgs(::windows_core::IUnknown); impl UISettingsAnimationsEnabledChangedEventArgs {} -impl ::core::cmp::PartialEq for UISettingsAnimationsEnabledChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UISettingsAnimationsEnabledChangedEventArgs {} -impl ::core::fmt::Debug for UISettingsAnimationsEnabledChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UISettingsAnimationsEnabledChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UISettingsAnimationsEnabledChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs;{0c7b4b3d-2ea1-533e-894d-415bc5243c29})"); } -impl ::core::clone::Clone for UISettingsAnimationsEnabledChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UISettingsAnimationsEnabledChangedEventArgs { type Vtable = IUISettingsAnimationsEnabledChangedEventArgs_Vtbl; } @@ -3354,27 +2961,12 @@ unsafe impl ::core::marker::Send for UISettingsAnimationsEnabledChangedEventArgs unsafe impl ::core::marker::Sync for UISettingsAnimationsEnabledChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UISettingsAutoHideScrollBarsChangedEventArgs(::windows_core::IUnknown); impl UISettingsAutoHideScrollBarsChangedEventArgs {} -impl ::core::cmp::PartialEq for UISettingsAutoHideScrollBarsChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UISettingsAutoHideScrollBarsChangedEventArgs {} -impl ::core::fmt::Debug for UISettingsAutoHideScrollBarsChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UISettingsAutoHideScrollBarsChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UISettingsAutoHideScrollBarsChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs;{87afd4b2-9146-5f02-8f6b-06d454174c0f})"); } -impl ::core::clone::Clone for UISettingsAutoHideScrollBarsChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UISettingsAutoHideScrollBarsChangedEventArgs { type Vtable = IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl; } @@ -3389,27 +2981,12 @@ unsafe impl ::core::marker::Send for UISettingsAutoHideScrollBarsChangedEventArg unsafe impl ::core::marker::Sync for UISettingsAutoHideScrollBarsChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UISettingsMessageDurationChangedEventArgs(::windows_core::IUnknown); impl UISettingsMessageDurationChangedEventArgs {} -impl ::core::cmp::PartialEq for UISettingsMessageDurationChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UISettingsMessageDurationChangedEventArgs {} -impl ::core::fmt::Debug for UISettingsMessageDurationChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UISettingsMessageDurationChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UISettingsMessageDurationChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs;{338aad52-4a5d-5b59-8002-d930f608fd6e})"); } -impl ::core::clone::Clone for UISettingsMessageDurationChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UISettingsMessageDurationChangedEventArgs { type Vtable = IUISettingsMessageDurationChangedEventArgs_Vtbl; } @@ -3424,6 +3001,7 @@ unsafe impl ::core::marker::Send for UISettingsMessageDurationChangedEventArgs { unsafe impl ::core::marker::Sync for UISettingsMessageDurationChangedEventArgs {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UIViewSettings(::windows_core::IUnknown); impl UIViewSettings { pub fn UserInteractionMode(&self) -> ::windows_core::Result { @@ -3445,25 +3023,9 @@ impl UIViewSettings { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for UIViewSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UIViewSettings {} -impl ::core::fmt::Debug for UIViewSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UIViewSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UIViewSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.UIViewSettings;{c63657f6-8850-470d-88f8-455e16ea2c26})"); } -impl ::core::clone::Clone for UIViewSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UIViewSettings { type Vtable = IUIViewSettings_Vtbl; } @@ -3478,6 +3040,7 @@ unsafe impl ::core::marker::Send for UIViewSettings {} unsafe impl ::core::marker::Sync for UIViewSettings {} #[doc = "*Required features: `\"UI_ViewManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ViewModePreferences(::windows_core::IUnknown); impl ViewModePreferences { pub fn ViewSizePreference(&self) -> ::windows_core::Result { @@ -3518,25 +3081,9 @@ impl ViewModePreferences { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ViewModePreferences { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ViewModePreferences {} -impl ::core::fmt::Debug for ViewModePreferences { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ViewModePreferences").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ViewModePreferences { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ViewManagement.ViewModePreferences;{878fcd3a-0b99-42c9-84d0-d3f1d403554b})"); } -impl ::core::clone::Clone for ViewModePreferences { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ViewModePreferences { type Vtable = IViewModePreferences_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs index bbf016e3b0..ce97073646 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs @@ -7,8 +7,8 @@ impl IWebUICommandBarElement_Vtbl { pub const fn new, Impl: IWebUICommandBarElement_Impl, const OFFSET: isize>() -> IWebUICommandBarElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI_Core\"`, `\"implement\"`*"] @@ -20,7 +20,7 @@ impl IWebUICommandBarIcon_Vtbl { pub const fn new, Impl: IWebUICommandBarIcon_Impl, const OFFSET: isize>() -> IWebUICommandBarIcon_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs index fa80802c87..cc00d79a2b 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBar { type Vtable = IWebUICommandBar_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4fc0016_dbe5_41ad_8d7b_14698bd6911d); } @@ -67,15 +63,11 @@ pub struct IWebUICommandBar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarBitmapIcon(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarBitmapIcon { type Vtable = IWebUICommandBarBitmapIcon_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarBitmapIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarBitmapIcon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x858f4f45_08d8_4a46_81ec_00015b0b1c6c); } @@ -94,15 +86,11 @@ pub struct IWebUICommandBarBitmapIcon_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarBitmapIconFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarBitmapIconFactory { type Vtable = IWebUICommandBarBitmapIconFactory_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarBitmapIconFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarBitmapIconFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3f7d78a_7673_444a_be62_ac12d31c2231); } @@ -117,15 +105,11 @@ pub struct IWebUICommandBarBitmapIconFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarConfirmationButton(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarConfirmationButton { type Vtable = IWebUICommandBarConfirmationButton_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarConfirmationButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarConfirmationButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86e7824a_e3d5_4eb6_b2ff_8f018a172105); } @@ -146,31 +130,16 @@ pub struct IWebUICommandBarConfirmationButton_Vtbl { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarElement(::windows_core::IUnknown); impl IWebUICommandBarElement {} ::windows_core::imp::interface_hierarchy!(IWebUICommandBarElement, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebUICommandBarElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebUICommandBarElement {} -impl ::core::fmt::Debug for IWebUICommandBarElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebUICommandBarElement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebUICommandBarElement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{c9069ec2-284a-4633-8aad-637a27e282c3}"); } unsafe impl ::windows_core::Interface for IWebUICommandBarElement { type Vtable = IWebUICommandBarElement_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9069ec2_284a_4633_8aad_637a27e282c3); } @@ -181,31 +150,16 @@ pub struct IWebUICommandBarElement_Vtbl { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarIcon(::windows_core::IUnknown); impl IWebUICommandBarIcon {} ::windows_core::imp::interface_hierarchy!(IWebUICommandBarIcon, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebUICommandBarIcon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebUICommandBarIcon {} -impl ::core::fmt::Debug for IWebUICommandBarIcon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebUICommandBarIcon").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebUICommandBarIcon { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{d587655d-2014-42be-969a-7d14ca6c8a49}"); } unsafe impl ::windows_core::Interface for IWebUICommandBarIcon { type Vtable = IWebUICommandBarIcon_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarIcon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd587655d_2014_42be_969a_7d14ca6c8a49); } @@ -216,15 +170,11 @@ pub struct IWebUICommandBarIcon_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarIconButton(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarIconButton { type Vtable = IWebUICommandBarIconButton_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarIconButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarIconButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f1bc93a_3a7c_4842_a0cf_aff6ea308586); } @@ -253,15 +203,11 @@ pub struct IWebUICommandBarIconButton_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarItemInvokedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarItemInvokedEventArgs { type Vtable = IWebUICommandBarItemInvokedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarItemInvokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarItemInvokedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x304edbdd_e741_41ef_bdc4_a45cea2a4f70); } @@ -273,15 +219,11 @@ pub struct IWebUICommandBarItemInvokedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarSizeChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarSizeChangedEventArgs { type Vtable = IWebUICommandBarSizeChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarSizeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarSizeChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbf1e2f6_3029_4719_8378_92f82b87af1e); } @@ -296,15 +238,11 @@ pub struct IWebUICommandBarSizeChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarStatics { type Vtable = IWebUICommandBarStatics_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1449cdb9_a506_45be_8f42_b2837e2fe0c9); } @@ -316,15 +254,11 @@ pub struct IWebUICommandBarStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarSymbolIcon(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarSymbolIcon { type Vtable = IWebUICommandBarSymbolIcon_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarSymbolIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarSymbolIcon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4935477_fd26_46ed_8658_1a3f4400e7b3); } @@ -337,15 +271,11 @@ pub struct IWebUICommandBarSymbolIcon_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUICommandBarSymbolIconFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUICommandBarSymbolIconFactory { type Vtable = IWebUICommandBarSymbolIconFactory_Vtbl; } -impl ::core::clone::Clone for IWebUICommandBarSymbolIconFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUICommandBarSymbolIconFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51be1a1f_3730_429e_b622_14e2b7bf6a07); } @@ -357,6 +287,7 @@ pub struct IWebUICommandBarSymbolIconFactory_Vtbl { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBar(::windows_core::IUnknown); impl WebUICommandBar { pub fn Visible(&self) -> ::windows_core::Result { @@ -518,25 +449,9 @@ impl WebUICommandBar { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebUICommandBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBar {} -impl ::core::fmt::Debug for WebUICommandBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBar;{a4fc0016-dbe5-41ad-8d7b-14698bd6911d})"); } -impl ::core::clone::Clone for WebUICommandBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBar { type Vtable = IWebUICommandBar_Vtbl; } @@ -551,6 +466,7 @@ unsafe impl ::core::marker::Send for WebUICommandBar {} unsafe impl ::core::marker::Sync for WebUICommandBar {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarBitmapIcon(::windows_core::IUnknown); impl WebUICommandBarBitmapIcon { pub fn new() -> ::windows_core::Result { @@ -595,25 +511,9 @@ impl WebUICommandBarBitmapIcon { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebUICommandBarBitmapIcon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarBitmapIcon {} -impl ::core::fmt::Debug for WebUICommandBarBitmapIcon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarBitmapIcon").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarBitmapIcon { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarBitmapIcon;{858f4f45-08d8-4a46-81ec-00015b0b1c6c})"); } -impl ::core::clone::Clone for WebUICommandBarBitmapIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarBitmapIcon { type Vtable = IWebUICommandBarBitmapIcon_Vtbl; } @@ -629,6 +529,7 @@ unsafe impl ::core::marker::Send for WebUICommandBarBitmapIcon {} unsafe impl ::core::marker::Sync for WebUICommandBarBitmapIcon {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarConfirmationButton(::windows_core::IUnknown); impl WebUICommandBarConfirmationButton { pub fn new() -> ::windows_core::Result { @@ -668,25 +569,9 @@ impl WebUICommandBarConfirmationButton { unsafe { (::windows_core::Interface::vtable(this).RemoveItemInvoked)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WebUICommandBarConfirmationButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarConfirmationButton {} -impl ::core::fmt::Debug for WebUICommandBarConfirmationButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarConfirmationButton").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarConfirmationButton { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarConfirmationButton;{86e7824a-e3d5-4eb6-b2ff-8f018a172105})"); } -impl ::core::clone::Clone for WebUICommandBarConfirmationButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarConfirmationButton { type Vtable = IWebUICommandBarConfirmationButton_Vtbl; } @@ -702,6 +587,7 @@ unsafe impl ::core::marker::Send for WebUICommandBarConfirmationButton {} unsafe impl ::core::marker::Sync for WebUICommandBarConfirmationButton {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarIconButton(::windows_core::IUnknown); impl WebUICommandBarIconButton { pub fn new() -> ::windows_core::Result { @@ -788,25 +674,9 @@ impl WebUICommandBarIconButton { unsafe { (::windows_core::Interface::vtable(this).RemoveItemInvoked)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WebUICommandBarIconButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarIconButton {} -impl ::core::fmt::Debug for WebUICommandBarIconButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarIconButton").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarIconButton { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarIconButton;{8f1bc93a-3a7c-4842-a0cf-aff6ea308586})"); } -impl ::core::clone::Clone for WebUICommandBarIconButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarIconButton { type Vtable = IWebUICommandBarIconButton_Vtbl; } @@ -822,6 +692,7 @@ unsafe impl ::core::marker::Send for WebUICommandBarIconButton {} unsafe impl ::core::marker::Sync for WebUICommandBarIconButton {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarItemInvokedEventArgs(::windows_core::IUnknown); impl WebUICommandBarItemInvokedEventArgs { pub fn IsPrimaryCommand(&self) -> ::windows_core::Result { @@ -832,25 +703,9 @@ impl WebUICommandBarItemInvokedEventArgs { } } } -impl ::core::cmp::PartialEq for WebUICommandBarItemInvokedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarItemInvokedEventArgs {} -impl ::core::fmt::Debug for WebUICommandBarItemInvokedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarItemInvokedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarItemInvokedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarItemInvokedEventArgs;{304edbdd-e741-41ef-bdc4-a45cea2a4f70})"); } -impl ::core::clone::Clone for WebUICommandBarItemInvokedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarItemInvokedEventArgs { type Vtable = IWebUICommandBarItemInvokedEventArgs_Vtbl; } @@ -865,6 +720,7 @@ unsafe impl ::core::marker::Send for WebUICommandBarItemInvokedEventArgs {} unsafe impl ::core::marker::Sync for WebUICommandBarItemInvokedEventArgs {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarSizeChangedEventArgs(::windows_core::IUnknown); impl WebUICommandBarSizeChangedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -877,25 +733,9 @@ impl WebUICommandBarSizeChangedEventArgs { } } } -impl ::core::cmp::PartialEq for WebUICommandBarSizeChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarSizeChangedEventArgs {} -impl ::core::fmt::Debug for WebUICommandBarSizeChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarSizeChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarSizeChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSizeChangedEventArgs;{fbf1e2f6-3029-4719-8378-92f82b87af1e})"); } -impl ::core::clone::Clone for WebUICommandBarSizeChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarSizeChangedEventArgs { type Vtable = IWebUICommandBarSizeChangedEventArgs_Vtbl; } @@ -910,6 +750,7 @@ unsafe impl ::core::marker::Send for WebUICommandBarSizeChangedEventArgs {} unsafe impl ::core::marker::Sync for WebUICommandBarSizeChangedEventArgs {} #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICommandBarSymbolIcon(::windows_core::IUnknown); impl WebUICommandBarSymbolIcon { pub fn new() -> ::windows_core::Result { @@ -942,25 +783,9 @@ impl WebUICommandBarSymbolIcon { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebUICommandBarSymbolIcon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUICommandBarSymbolIcon {} -impl ::core::fmt::Debug for WebUICommandBarSymbolIcon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandBarSymbolIcon").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUICommandBarSymbolIcon { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.Core.WebUICommandBarSymbolIcon;{d4935477-fd26-46ed-8658-1a3f4400e7b3})"); } -impl ::core::clone::Clone for WebUICommandBarSymbolIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUICommandBarSymbolIcon { type Vtable = IWebUICommandBarSymbolIcon_Vtbl; } @@ -1007,6 +832,7 @@ impl ::windows_core::RuntimeType for WebUICommandBarClosedDisplayMode { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MenuClosedEventHandler(pub ::windows_core::IUnknown); impl MenuClosedEventHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1029,9 +855,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1056,25 +885,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for MenuClosedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MenuClosedEventHandler {} -impl ::core::fmt::Debug for MenuClosedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MenuClosedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MenuClosedEventHandler { type Vtable = MenuClosedEventHandler_Vtbl; } -impl ::core::clone::Clone for MenuClosedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MenuClosedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x435387c8_4dd0_4c52_9489_d390ce7721d2); } @@ -1089,6 +902,7 @@ pub struct MenuClosedEventHandler_Vtbl { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MenuOpenedEventHandler(pub ::windows_core::IUnknown); impl MenuOpenedEventHandler { pub fn new ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1111,9 +925,12 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1138,25 +955,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> ((*this).invoke)().into() } } -impl ::core::cmp::PartialEq for MenuOpenedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MenuOpenedEventHandler {} -impl ::core::fmt::Debug for MenuOpenedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MenuOpenedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MenuOpenedEventHandler { type Vtable = MenuOpenedEventHandler_Vtbl; } -impl ::core::clone::Clone for MenuOpenedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MenuOpenedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18dc0ad3_678f_4c19_8963_cc1c49a5ef9e); } @@ -1171,6 +972,7 @@ pub struct MenuOpenedEventHandler_Vtbl { } #[doc = "*Required features: `\"UI_WebUI_Core\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SizeChangedEventHandler(pub ::windows_core::IUnknown); impl SizeChangedEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -1196,9 +998,12 @@ impl) -> : base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1223,25 +1028,9 @@ impl) -> : ((*this).invoke)(::windows_core::from_raw_borrowed(&eventargs)).into() } } -impl ::core::cmp::PartialEq for SizeChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SizeChangedEventHandler {} -impl ::core::fmt::Debug for SizeChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SizeChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for SizeChangedEventHandler { type Vtable = SizeChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for SizeChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for SizeChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd49cfe3c_dd2e_4c28_b627_303a7f911af5); } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs index a782d37267..94c3bebc4e 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs @@ -24,8 +24,8 @@ impl IActivatedEventArgsDeferral_Vtbl { ActivatedOperation: ActivatedOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IWebUIBackgroundTaskInstance_Vtbl { SetSucceeded: SetSucceeded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI\"`, `\"implement\"`*"] @@ -90,7 +90,7 @@ impl IWebUINavigatedEventArgs_Vtbl { NavigatedOperation: NavigatedOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 00d56825e2..7d9d516396 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -2,15 +2,11 @@ pub mod Core; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivatedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivatedDeferral { type Vtable = IActivatedDeferral_Vtbl; } -impl ::core::clone::Clone for IActivatedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivatedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3bd1978_a431_49d8_a76a_395a4e03dcf3); } @@ -22,6 +18,7 @@ pub struct IActivatedDeferral_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivatedEventArgsDeferral(::windows_core::IUnknown); impl IActivatedEventArgsDeferral { pub fn ActivatedOperation(&self) -> ::windows_core::Result { @@ -33,28 +30,12 @@ impl IActivatedEventArgsDeferral { } } ::windows_core::imp::interface_hierarchy!(IActivatedEventArgsDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IActivatedEventArgsDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivatedEventArgsDeferral {} -impl ::core::fmt::Debug for IActivatedEventArgsDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivatedEventArgsDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IActivatedEventArgsDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{ca6d5f74-63c2-44a6-b97b-d9a03c20bc9b}"); } unsafe impl ::windows_core::Interface for IActivatedEventArgsDeferral { type Vtable = IActivatedEventArgsDeferral_Vtbl; } -impl ::core::clone::Clone for IActivatedEventArgsDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivatedEventArgsDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca6d5f74_63c2_44a6_b97b_d9a03c20bc9b); } @@ -66,15 +47,11 @@ pub struct IActivatedEventArgsDeferral_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivatedOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IActivatedOperation { type Vtable = IActivatedOperation_Vtbl; } -impl ::core::clone::Clone for IActivatedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivatedOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6a0b4bc_c6ca_42fd_9818_71904e45fed7); } @@ -86,15 +63,11 @@ pub struct IActivatedOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHtmlPrintDocumentSource(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHtmlPrintDocumentSource { type Vtable = IHtmlPrintDocumentSource_Vtbl; } -impl ::core::clone::Clone for IHtmlPrintDocumentSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHtmlPrintDocumentSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcea6469a_0e05_467a_abc9_36ec1d4cdcb6); } @@ -123,15 +96,11 @@ pub struct IHtmlPrintDocumentSource_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewWebUIViewCreatedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for INewWebUIViewCreatedEventArgs { type Vtable = INewWebUIViewCreatedEventArgs_Vtbl; } -impl ::core::clone::Clone for INewWebUIViewCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INewWebUIViewCreatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8e1b216_be2b_4c9e_85e7_083143ec4be7); } @@ -152,15 +121,11 @@ pub struct INewWebUIViewCreatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIActivationStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIActivationStatics { type Vtable = IWebUIActivationStatics_Vtbl; } -impl ::core::clone::Clone for IWebUIActivationStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIActivationStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x351b86bd_43b3_482b_85db_35d87b517ad9); } @@ -203,15 +168,11 @@ pub struct IWebUIActivationStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIActivationStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIActivationStatics2 { type Vtable = IWebUIActivationStatics2_Vtbl; } -impl ::core::clone::Clone for IWebUIActivationStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIActivationStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8e88696_4d78_4aa4_8f06_2a9eadc6c40a); } @@ -239,15 +200,11 @@ pub struct IWebUIActivationStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIActivationStatics3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIActivationStatics3 { type Vtable = IWebUIActivationStatics3_Vtbl; } -impl ::core::clone::Clone for IWebUIActivationStatics3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIActivationStatics3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91abb686_1af5_4445_b49f_9459f40fc8de); } @@ -266,15 +223,11 @@ pub struct IWebUIActivationStatics3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIActivationStatics4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIActivationStatics4 { type Vtable = IWebUIActivationStatics4_Vtbl; } -impl ::core::clone::Clone for IWebUIActivationStatics4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIActivationStatics4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e391429_183f_478d_8a25_67f80d03935b); } @@ -301,6 +254,7 @@ pub struct IWebUIActivationStatics4_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIBackgroundTaskInstance(::windows_core::IUnknown); impl IWebUIBackgroundTaskInstance { pub fn Succeeded(&self) -> ::windows_core::Result { @@ -316,28 +270,12 @@ impl IWebUIBackgroundTaskInstance { } } ::windows_core::imp::interface_hierarchy!(IWebUIBackgroundTaskInstance, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebUIBackgroundTaskInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebUIBackgroundTaskInstance {} -impl ::core::fmt::Debug for IWebUIBackgroundTaskInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebUIBackgroundTaskInstance").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebUIBackgroundTaskInstance { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{23f12c25-e2f7-4741-bc9c-394595de24dc}"); } unsafe impl ::windows_core::Interface for IWebUIBackgroundTaskInstance { type Vtable = IWebUIBackgroundTaskInstance_Vtbl; } -impl ::core::clone::Clone for IWebUIBackgroundTaskInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIBackgroundTaskInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23f12c25_e2f7_4741_bc9c_394595de24dc); } @@ -350,15 +288,11 @@ pub struct IWebUIBackgroundTaskInstance_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIBackgroundTaskInstanceStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIBackgroundTaskInstanceStatics { type Vtable = IWebUIBackgroundTaskInstanceStatics_Vtbl; } -impl ::core::clone::Clone for IWebUIBackgroundTaskInstanceStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIBackgroundTaskInstanceStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c7a5291_19ae_4ca3_b94b_fe4ec744a740); } @@ -370,15 +304,11 @@ pub struct IWebUIBackgroundTaskInstanceStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUINavigatedDeferral(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUINavigatedDeferral { type Vtable = IWebUINavigatedDeferral_Vtbl; } -impl ::core::clone::Clone for IWebUINavigatedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUINavigatedDeferral { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd804204d_831f_46e2_b432_3afce211f962); } @@ -390,6 +320,7 @@ pub struct IWebUINavigatedDeferral_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUINavigatedEventArgs(::windows_core::IUnknown); impl IWebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> ::windows_core::Result { @@ -401,28 +332,12 @@ impl IWebUINavigatedEventArgs { } } ::windows_core::imp::interface_hierarchy!(IWebUINavigatedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebUINavigatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebUINavigatedEventArgs {} -impl ::core::fmt::Debug for IWebUINavigatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebUINavigatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebUINavigatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a75841b8-2499-4030-a69d-15d2d9cfe524}"); } unsafe impl ::windows_core::Interface for IWebUINavigatedEventArgs { type Vtable = IWebUINavigatedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebUINavigatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUINavigatedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa75841b8_2499_4030_a69d_15d2d9cfe524); } @@ -434,15 +349,11 @@ pub struct IWebUINavigatedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUINavigatedOperation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUINavigatedOperation { type Vtable = IWebUINavigatedOperation_Vtbl; } -impl ::core::clone::Clone for IWebUINavigatedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUINavigatedOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a965f08_8182_4a89_ab67_8492e8750d4b); } @@ -454,15 +365,11 @@ pub struct IWebUINavigatedOperation_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIView(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIView { type Vtable = IWebUIView_Vtbl; } -impl ::core::clone::Clone for IWebUIView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6783f64f_52da_4fd7_be69_8ef6284b423c); } @@ -492,15 +399,11 @@ pub struct IWebUIView_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebUIViewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebUIViewStatics { type Vtable = IWebUIViewStatics_Vtbl; } -impl ::core::clone::Clone for IWebUIViewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebUIViewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb591e668_8e59_44f9_8803_1b24c9149d30); } @@ -519,6 +422,7 @@ pub struct IWebUIViewStatics_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivatedDeferral(::windows_core::IUnknown); impl ActivatedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -526,25 +430,9 @@ impl ActivatedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for ActivatedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivatedDeferral {} -impl ::core::fmt::Debug for ActivatedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivatedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivatedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedDeferral;{c3bd1978-a431-49d8-a76a-395a4e03dcf3})"); } -impl ::core::clone::Clone for ActivatedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivatedDeferral { type Vtable = IActivatedDeferral_Vtbl; } @@ -557,6 +445,7 @@ impl ::windows_core::RuntimeName for ActivatedDeferral { ::windows_core::imp::interface_hierarchy!(ActivatedDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivatedOperation(::windows_core::IUnknown); impl ActivatedOperation { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -567,25 +456,9 @@ impl ActivatedOperation { } } } -impl ::core::cmp::PartialEq for ActivatedOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ActivatedOperation {} -impl ::core::fmt::Debug for ActivatedOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivatedOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ActivatedOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.ActivatedOperation;{b6a0b4bc-c6ca-42fd-9818-71904e45fed7})"); } -impl ::core::clone::Clone for ActivatedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ActivatedOperation { type Vtable = IActivatedOperation_Vtbl; } @@ -599,6 +472,7 @@ impl ::windows_core::RuntimeName for ActivatedOperation { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl BackgroundActivatedEventArgs { @@ -613,30 +487,10 @@ impl BackgroundActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for BackgroundActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for BackgroundActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for BackgroundActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for BackgroundActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.BackgroundActivatedEventArgs;{ab14bee0-e760-440e-a91c-44796de3a92d})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for BackgroundActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for BackgroundActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs_Vtbl; } @@ -659,6 +513,7 @@ unsafe impl ::core::marker::Sync for BackgroundActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnteredBackgroundEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl EnteredBackgroundEventArgs { @@ -673,30 +528,10 @@ impl EnteredBackgroundEventArgs { } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for EnteredBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for EnteredBackgroundEventArgs {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for EnteredBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnteredBackgroundEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] impl ::windows_core::RuntimeType for EnteredBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.EnteredBackgroundEventArgs;{f722dcc2-9827-403d-aaed-ecca9ac17398})"); } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for EnteredBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for EnteredBackgroundEventArgs { type Vtable = super::super::ApplicationModel::IEnteredBackgroundEventArgs_Vtbl; } @@ -718,6 +553,7 @@ unsafe impl ::core::marker::Send for EnteredBackgroundEventArgs {} unsafe impl ::core::marker::Sync for EnteredBackgroundEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HtmlPrintDocumentSource(::windows_core::IUnknown); impl HtmlPrintDocumentSource { #[doc = "*Required features: `\"Foundation\"`*"] @@ -829,25 +665,9 @@ impl HtmlPrintDocumentSource { } } } -impl ::core::cmp::PartialEq for HtmlPrintDocumentSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HtmlPrintDocumentSource {} -impl ::core::fmt::Debug for HtmlPrintDocumentSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HtmlPrintDocumentSource").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HtmlPrintDocumentSource { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.HtmlPrintDocumentSource;{cea6469a-0e05-467a-abc9-36ec1d4cdcb6})"); } -impl ::core::clone::Clone for HtmlPrintDocumentSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HtmlPrintDocumentSource { type Vtable = IHtmlPrintDocumentSource_Vtbl; } @@ -867,6 +687,7 @@ unsafe impl ::core::marker::Sync for HtmlPrintDocumentSource {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LeavingBackgroundEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl LeavingBackgroundEventArgs { @@ -881,30 +702,10 @@ impl LeavingBackgroundEventArgs { } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for LeavingBackgroundEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for LeavingBackgroundEventArgs {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for LeavingBackgroundEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LeavingBackgroundEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] impl ::windows_core::RuntimeType for LeavingBackgroundEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.LeavingBackgroundEventArgs;{39c6ec9a-ae6e-46f9-a07a-cfc23f88733e})"); } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for LeavingBackgroundEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for LeavingBackgroundEventArgs { type Vtable = super::super::ApplicationModel::ILeavingBackgroundEventArgs_Vtbl; } @@ -926,6 +727,7 @@ unsafe impl ::core::marker::Send for LeavingBackgroundEventArgs {} unsafe impl ::core::marker::Sync for LeavingBackgroundEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NewWebUIViewCreatedEventArgs(::windows_core::IUnknown); impl NewWebUIViewCreatedEventArgs { pub fn WebUIView(&self) -> ::windows_core::Result { @@ -961,25 +763,9 @@ impl NewWebUIViewCreatedEventArgs { } } } -impl ::core::cmp::PartialEq for NewWebUIViewCreatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NewWebUIViewCreatedEventArgs {} -impl ::core::fmt::Debug for NewWebUIViewCreatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NewWebUIViewCreatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for NewWebUIViewCreatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.NewWebUIViewCreatedEventArgs;{e8e1b216-be2b-4c9e-85e7-083143ec4be7})"); } -impl ::core::clone::Clone for NewWebUIViewCreatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for NewWebUIViewCreatedEventArgs { type Vtable = INewWebUIViewCreatedEventArgs_Vtbl; } @@ -993,6 +779,7 @@ impl ::windows_core::RuntimeName for NewWebUIViewCreatedEventArgs { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SuspendingDeferral(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl SuspendingDeferral { @@ -1004,30 +791,10 @@ impl SuspendingDeferral { } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for SuspendingDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for SuspendingDeferral {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for SuspendingDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingDeferral").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] impl ::windows_core::RuntimeType for SuspendingDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingDeferral;{59140509-8bc9-4eb4-b636-dabdc4f46f66})"); } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for SuspendingDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for SuspendingDeferral { type Vtable = super::super::ApplicationModel::ISuspendingDeferral_Vtbl; } @@ -1046,6 +813,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for SuspendingEventArgs {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for SuspendingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] impl ::windows_core::RuntimeType for SuspendingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingEventArgs;{96061c05-2dba-4d08-b0bd-2b30a131c6aa})"); } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for SuspendingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for SuspendingEventArgs { type Vtable = super::super::ApplicationModel::ISuspendingEventArgs_Vtbl; } @@ -1102,6 +850,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for SuspendingOperation {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for SuspendingOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingOperation").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] impl ::windows_core::RuntimeType for SuspendingOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.SuspendingOperation;{9da4ca41-20e1-4e9b-9f65-a9f435340c3a})"); } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for SuspendingOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for SuspendingOperation { type Vtable = super::super::ApplicationModel::ISuspendingOperation_Vtbl; } @@ -1344,6 +1073,7 @@ impl ::windows_core::RuntimeName for WebUIApplication { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIAppointmentsProviderAddAppointmentActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { @@ -1410,30 +1140,10 @@ impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIAppointmentsProviderAddAppointmentActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderAddAppointmentActivatedEventArgs;{a2861367-cee5-4e4d-9ed7-41c34ec18b02})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl; } @@ -1460,6 +1170,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs;{751f3ab8-0b8e-451c-9f15-966e699bac25})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl; } @@ -1576,6 +1267,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs;{1551b7d4-a981-4067-8a62-0524e4ade121})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl; } @@ -1692,6 +1364,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs;{3958f065-9841-4ca5-999b-885198b9ef2a})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl; } @@ -1826,6 +1479,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs;{9baeaba6-0e0b-49aa-babc-12b1dc774986})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl; } @@ -1968,6 +1602,7 @@ impl ::windows_core::RuntimeName for WebUIBackgroundTaskInstance { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIBackgroundTaskInstanceRuntimeClass(::windows_core::IUnknown); impl WebUIBackgroundTaskInstanceRuntimeClass { #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] @@ -2060,25 +1695,9 @@ impl WebUIBackgroundTaskInstanceRuntimeClass { unsafe { (::windows_core::Interface::vtable(this).SetSucceeded)(::windows_core::Interface::as_raw(this), succeeded).ok() } } } -impl ::core::cmp::PartialEq for WebUIBackgroundTaskInstanceRuntimeClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUIBackgroundTaskInstanceRuntimeClass {} -impl ::core::fmt::Debug for WebUIBackgroundTaskInstanceRuntimeClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIBackgroundTaskInstanceRuntimeClass").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUIBackgroundTaskInstanceRuntimeClass { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBackgroundTaskInstanceRuntimeClass;{23f12c25-e2f7-4741-bc9c-394595de24dc})"); } -impl ::core::clone::Clone for WebUIBackgroundTaskInstanceRuntimeClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUIBackgroundTaskInstanceRuntimeClass { type Vtable = IWebUIBackgroundTaskInstance_Vtbl; } @@ -2095,6 +1714,7 @@ impl ::windows_core::CanTryInto for WebUIBackgroun #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIBarcodeScannerPreviewActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIBarcodeScannerPreviewActivatedEventArgs { @@ -2152,30 +1772,10 @@ impl WebUIBarcodeScannerPreviewActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIBarcodeScannerPreviewActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIBarcodeScannerPreviewActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIBarcodeScannerPreviewActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIBarcodeScannerPreviewActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIBarcodeScannerPreviewActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIBarcodeScannerPreviewActivatedEventArgs;{6772797c-99bf-4349-af22-e4123560371c})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIBarcodeScannerPreviewActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIBarcodeScannerPreviewActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs_Vtbl; } @@ -2204,6 +1804,7 @@ unsafe impl ::core::marker::Sync for WebUIBarcodeScannerPreviewActivatedEventArg #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUICachedFileUpdaterActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICachedFileUpdaterActivatedEventArgs { @@ -2261,30 +1862,10 @@ impl WebUICachedFileUpdaterActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUICachedFileUpdaterActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUICachedFileUpdaterActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUICachedFileUpdaterActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICachedFileUpdaterActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUICachedFileUpdaterActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICachedFileUpdaterActivatedEventArgs;{d06eb1c7-3805-4ecb-b757-6cf15e26fef3})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUICachedFileUpdaterActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUICachedFileUpdaterActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs_Vtbl; } @@ -2309,6 +1890,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUICameraSettingsActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUICameraSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICameraSettingsActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUICameraSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICameraSettingsActivatedEventArgs;{fb67a508-2dad-490a-9170-dca036eb114b})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUICameraSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUICameraSettingsActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs_Vtbl; } @@ -2412,6 +1974,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUICommandLineActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUICommandLineActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUICommandLineActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUICommandLineActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUICommandLineActivatedEventArgs;{4506472c-006a-48eb-8afb-d07ab25e3366})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUICommandLineActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUICommandLineActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs_Vtbl; } @@ -2521,6 +2064,7 @@ unsafe impl ::core::marker::Sync for WebUICommandLineActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIContactCallActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactCallActivatedEventArgs { @@ -2596,30 +2140,10 @@ impl WebUIContactCallActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIContactCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactCallActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactCallActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactCallActivatedEventArgs;{c2df14c7-30eb-41c6-b3bc-5b1694f9dab3})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactCallActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs_Vtbl; } @@ -2644,6 +2168,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactMapActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactMapActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactMapActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactMapActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMapActivatedEventArgs;{b32bf870-eee7-4ad2-aaf1-a87effcf00a4})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactMapActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactMapActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs_Vtbl; } @@ -2758,6 +2263,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactMessageActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactMessageActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactMessageActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactMessageActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactMessageActivatedEventArgs;{de598db2-0e03-43b0-bf56-bcc40b3162df})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactMessageActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactMessageActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs_Vtbl; } @@ -2881,6 +2367,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactPanelActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactPanelActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactPanelActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::windows_core::RuntimeType for WebUIContactPanelActivatedEventArgs { - const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactPanelActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +#[cfg(feature = "ApplicationModel_Activation")] +impl ::windows_core::RuntimeType for WebUIContactPanelActivatedEventArgs { + const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPanelActivatedEventArgs;{52bb63e4-d3d4-4b63-8051-4af2082cab80})"); } #[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactPanelActivatedEventArgs { @@ -2999,6 +2466,7 @@ unsafe impl ::core::marker::Sync for WebUIContactPanelActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIContactPickerActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPickerActivatedEventArgs { @@ -3047,30 +2515,10 @@ impl WebUIContactPickerActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIContactPickerActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactPickerActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactPickerActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPickerActivatedEventArgs;{ce57aae7-6449-45a7-971f-d113be7a8936})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactPickerActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs_Vtbl; } @@ -3093,6 +2541,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactPostActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactPostActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactPostActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactPostActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactPostActivatedEventArgs;{b35a3c67-f1e7-4655-ad6e-4857588f552f})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactPostActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactPostActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs_Vtbl; } @@ -3216,6 +2645,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIContactVideoCallActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIContactVideoCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIContactVideoCallActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIContactVideoCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIContactVideoCallActivatedEventArgs;{61079db8-e3e7-4b4f-858d-5c63a96ef684})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIContactVideoCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIContactVideoCallActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs_Vtbl; } @@ -3339,6 +2749,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIDeviceActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIDeviceActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIDeviceActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIDeviceActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDeviceActivatedEventArgs;{cd50b9a9-ce10-44d2-8234-c355a073ef33})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIDeviceActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIDeviceActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs_Vtbl; } @@ -3464,6 +2855,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIDevicePairingActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIDevicePairingActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIDevicePairingActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIDevicePairingActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDevicePairingActivatedEventArgs;{eba0d1e4-ecc6-4148-94ed-f4b37ec05b3e})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIDevicePairingActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIDevicePairingActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs_Vtbl; } @@ -3569,6 +2941,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIDialReceiverActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIDialReceiverActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIDialReceiverActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIDialReceiverActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIDialReceiverActivatedEventArgs;{fb777ed7-85ee-456e-a44d-85d730e70aed})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIDialReceiverActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIDialReceiverActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs_Vtbl; } @@ -3705,6 +3058,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIFileActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIFileActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFileActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIFileActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileActivatedEventArgs;{bb2afc33-93b1-42ed-8b26-236dd9c78496})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIFileActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIFileActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFileActivatedEventArgs_Vtbl; } @@ -3841,6 +3175,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIFileOpenPickerActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIFileOpenPickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFileOpenPickerActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIFileOpenPickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerActivatedEventArgs;{72827082-5525-4bf2-bc09-1f5095d4964d})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIFileOpenPickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIFileOpenPickerActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs_Vtbl; } @@ -3957,6 +3272,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::cmp::Eq for WebUIFileOpenPickerContinuationEventArgs {} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::fmt::Debug for WebUIFileOpenPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFileOpenPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows_core::RuntimeType for WebUIFileOpenPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileOpenPickerContinuationEventArgs;{f0fa3f3a-d4e8-4ad3-9c34-2308f32fcec9})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::clone::Clone for WebUIFileOpenPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for WebUIFileOpenPickerContinuationEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs_Vtbl; } @@ -4073,6 +3369,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIFileSavePickerActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIFileSavePickerActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFileSavePickerActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIFileSavePickerActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerActivatedEventArgs;{81c19cf1-74e6-4387-82eb-bb8fd64b4346})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIFileSavePickerActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIFileSavePickerActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs_Vtbl; } @@ -4198,6 +3475,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::cmp::Eq for WebUIFileSavePickerContinuationEventArgs {} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::fmt::Debug for WebUIFileSavePickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFileSavePickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows_core::RuntimeType for WebUIFileSavePickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFileSavePickerContinuationEventArgs;{2c846fe1-3bad-4f33-8c8b-e46fae824b4b})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::clone::Clone for WebUIFileSavePickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for WebUIFileSavePickerContinuationEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs_Vtbl; } @@ -4314,6 +3572,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::cmp::Eq for WebUIFolderPickerContinuationEventArgs {} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::fmt::Debug for WebUIFolderPickerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIFolderPickerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows_core::RuntimeType for WebUIFolderPickerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIFolderPickerContinuationEventArgs;{51882366-9f4b-498f-beb0-42684f6e1c29})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::clone::Clone for WebUIFolderPickerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for WebUIFolderPickerContinuationEventArgs { type Vtable = super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs_Vtbl; } @@ -4430,6 +3669,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUILaunchActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUILaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUILaunchActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUILaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILaunchActivatedEventArgs;{fbc93e26-a14a-4b4f-82b0-33bed920af52})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUILaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUILaunchActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs_Vtbl; } @@ -4577,6 +3797,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUILockScreenActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUILockScreenActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUILockScreenActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUILockScreenActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenActivatedEventArgs;{3ca77966-6108-4a41-8220-ee7d133c8532})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUILockScreenActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUILockScreenActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs_Vtbl; } @@ -4693,6 +3894,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUILockScreenCallActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUILockScreenCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUILockScreenCallActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUILockScreenCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenCallActivatedEventArgs;{06f37fbe-b5f2-448b-b13e-e328ac1c516a})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUILockScreenCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUILockScreenCallActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs_Vtbl; } @@ -4818,6 +4000,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUILockScreenComponentActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUILockScreenComponentActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUILockScreenComponentActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUILockScreenComponentActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUILockScreenComponentActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUILockScreenComponentActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUILockScreenComponentActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IActivatedEventArgs_Vtbl; } @@ -4900,6 +4063,7 @@ impl ::windows_core::CanTryInto for WebUILockScreenComponentActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUINavigatedDeferral(::windows_core::IUnknown); impl WebUINavigatedDeferral { pub fn Complete(&self) -> ::windows_core::Result<()> { @@ -4907,25 +4071,9 @@ impl WebUINavigatedDeferral { unsafe { (::windows_core::Interface::vtable(this).Complete)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WebUINavigatedDeferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUINavigatedDeferral {} -impl ::core::fmt::Debug for WebUINavigatedDeferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUINavigatedDeferral").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUINavigatedDeferral { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedDeferral;{d804204d-831f-46e2-b432-3afce211f962})"); } -impl ::core::clone::Clone for WebUINavigatedDeferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUINavigatedDeferral { type Vtable = IWebUINavigatedDeferral_Vtbl; } @@ -4938,6 +4086,7 @@ impl ::windows_core::RuntimeName for WebUINavigatedDeferral { ::windows_core::imp::interface_hierarchy!(WebUINavigatedDeferral, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUINavigatedEventArgs(::windows_core::IUnknown); impl WebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> ::windows_core::Result { @@ -4948,25 +4097,9 @@ impl WebUINavigatedEventArgs { } } } -impl ::core::cmp::PartialEq for WebUINavigatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUINavigatedEventArgs {} -impl ::core::fmt::Debug for WebUINavigatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUINavigatedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUINavigatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedEventArgs;{a75841b8-2499-4030-a69d-15d2d9cfe524})"); } -impl ::core::clone::Clone for WebUINavigatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUINavigatedEventArgs { type Vtable = IWebUINavigatedEventArgs_Vtbl; } @@ -4980,6 +4113,7 @@ impl ::windows_core::RuntimeName for WebUINavigatedEventArgs { impl ::windows_core::CanTryInto for WebUINavigatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUINavigatedOperation(::windows_core::IUnknown); impl WebUINavigatedOperation { pub fn GetDeferral(&self) -> ::windows_core::Result { @@ -4990,25 +4124,9 @@ impl WebUINavigatedOperation { } } } -impl ::core::cmp::PartialEq for WebUINavigatedOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUINavigatedOperation {} -impl ::core::fmt::Debug for WebUINavigatedOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUINavigatedOperation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUINavigatedOperation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUINavigatedOperation;{7a965f08-8182-4a89-ab67-8492e8750d4b})"); } -impl ::core::clone::Clone for WebUINavigatedOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUINavigatedOperation { type Vtable = IWebUINavigatedOperation_Vtbl; } @@ -5022,6 +4140,7 @@ impl ::windows_core::RuntimeName for WebUINavigatedOperation { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIPhoneCallActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPhoneCallActivatedEventArgs { @@ -5079,30 +4198,10 @@ impl WebUIPhoneCallActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIPhoneCallActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIPhoneCallActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIPhoneCallActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIPhoneCallActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIPhoneCallActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPhoneCallActivatedEventArgs;{54615221-a3c1-4ced-b62f-8c60523619ad})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIPhoneCallActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIPhoneCallActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs_Vtbl; } @@ -5131,6 +4230,7 @@ unsafe impl ::core::marker::Sync for WebUIPhoneCallActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIPrint3DWorkflowActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrint3DWorkflowActivatedEventArgs { @@ -5179,30 +4279,10 @@ impl WebUIPrint3DWorkflowActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIPrint3DWorkflowActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIPrint3DWorkflowActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIPrint3DWorkflowActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIPrint3DWorkflowActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIPrint3DWorkflowActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrint3DWorkflowActivatedEventArgs;{3f57e78b-f2ac-4619-8302-ef855e1c9b90})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIPrint3DWorkflowActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIPrint3DWorkflowActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs_Vtbl; } @@ -5225,6 +4305,7 @@ impl ::windows_core::CanTryInto ::windows_core::Result { - let this = self; - unsafe { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(this).Configuration)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) - } - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIPrintTaskSettingsActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIPrintTaskSettingsActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIPrintTaskSettingsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIPrintTaskSettingsActivatedEventArgs").field(&self.0).finish() + let this = self; + unsafe { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(this).Configuration)(::windows_core::Interface::as_raw(this), &mut result__).from_abi(result__) + } } } #[cfg(feature = "ApplicationModel_Activation")] @@ -5291,12 +4358,6 @@ impl ::windows_core::RuntimeType for WebUIPrintTaskSettingsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintTaskSettingsActivatedEventArgs;{ee30a0c9-ce56-4865-ba8e-8954ac271107})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIPrintTaskSettingsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIPrintTaskSettingsActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs_Vtbl; } @@ -5319,6 +4380,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIPrintWorkflowForegroundTaskActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIPrintWorkflowForegroundTaskActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIPrintWorkflowForegroundTaskActivatedEventArgs;{cf651713-cd08-4fd8-b697-a281b6544e2e})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIPrintWorkflowForegroundTaskActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IActivatedEventArgs_Vtbl; } @@ -5402,6 +4444,7 @@ impl ::windows_core::CanTryInto for WebUIPrintWorkf #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIProtocolActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIProtocolActivatedEventArgs { @@ -5486,30 +4529,10 @@ impl WebUIProtocolActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIProtocolActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIProtocolActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIProtocolActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIProtocolActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIProtocolActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolActivatedEventArgs;{6095f4dd-b7c0-46ab-81fe-d90f36d00d24})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIProtocolActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIProtocolActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs_Vtbl; } @@ -5538,6 +4561,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIProtocolForResultsActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIProtocolForResultsActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIProtocolForResultsActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIProtocolForResultsActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIProtocolForResultsActivatedEventArgs;{e75132c2-7ae7-4517-80ac-dbe8d7cc5b9c})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIProtocolForResultsActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIProtocolForResultsActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs_Vtbl; } @@ -5685,6 +4689,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIRestrictedLaunchActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIRestrictedLaunchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIRestrictedLaunchActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIRestrictedLaunchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIRestrictedLaunchActivatedEventArgs;{e0b7ac81-bfc3-4344-a5da-19fd5a27baae})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIRestrictedLaunchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIRestrictedLaunchActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs_Vtbl; } @@ -5790,6 +4775,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUISearchActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUISearchActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUISearchActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUISearchActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUISearchActivatedEventArgs;{8cb36951-58c8-43e3-94bc-41d33f8b630e})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUISearchActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUISearchActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::ISearchActivatedEventArgs_Vtbl; } @@ -5915,6 +4881,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIShareTargetActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIShareTargetActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIShareTargetActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIShareTargetActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIShareTargetActivatedEventArgs;{4bdaf9c8-cdb2-4acb-bfc3-6648563378ec})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIShareTargetActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIShareTargetActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs_Vtbl; } @@ -6020,6 +4967,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIStartupTaskActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIStartupTaskActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIStartupTaskActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIStartupTaskActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIStartupTaskActivatedEventArgs;{03b11a58-5276-4d91-8621-54611864d5fa})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIStartupTaskActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIStartupTaskActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs_Vtbl; } @@ -6129,6 +5057,7 @@ unsafe impl ::core::marker::Sync for WebUIStartupTaskActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIToastNotificationActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIToastNotificationActivatedEventArgs { @@ -6195,30 +5124,10 @@ impl WebUIToastNotificationActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIToastNotificationActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIToastNotificationActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIToastNotificationActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIToastNotificationActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIToastNotificationActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIToastNotificationActivatedEventArgs;{92a86f82-5290-431d-be85-c4aaeeb8685f})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIToastNotificationActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIToastNotificationActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs_Vtbl; } @@ -6243,6 +5152,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIUserDataAccountProviderActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIUserDataAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIUserDataAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIUserDataAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIUserDataAccountProviderActivatedEventArgs;{1bc9f723-8ef1-4a51-a63a-fe711eeab607})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIUserDataAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIUserDataAccountProviderActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs_Vtbl; } @@ -6336,6 +5226,7 @@ impl ::windows_core::CanTryInto for WebUIUserDataAc impl ::windows_core::CanTryInto for WebUIUserDataAccountProviderActivatedEventArgs {} #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIView(::windows_core::IUnknown); impl WebUIView { pub fn ApplicationViewId(&self) -> ::windows_core::Result { @@ -6922,25 +5813,9 @@ impl WebUIView { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebUIView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebUIView {} -impl ::core::fmt::Debug for WebUIView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebUIView { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIView;{6783f64f-52da-4fd7-be69-8ef6284b423c})"); } -impl ::core::clone::Clone for WebUIView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebUIView { type Vtable = IWebUIView_Vtbl; } @@ -6958,6 +5833,7 @@ impl ::windows_core::CanTryInto for Web #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebUIVoiceCommandActivatedEventArgs(::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIVoiceCommandActivatedEventArgs { @@ -7015,30 +5891,10 @@ impl WebUIVoiceCommandActivatedEventArgs { } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for WebUIVoiceCommandActivatedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIVoiceCommandActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIVoiceCommandActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIVoiceCommandActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIVoiceCommandActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIVoiceCommandActivatedEventArgs;{ab92dcfd-8d43-4de6-9775-20704b581b00})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIVoiceCommandActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIVoiceCommandActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs_Vtbl; } @@ -7063,6 +5919,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::cmp::Eq for WebUIWalletActionActivatedEventArgs {} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::fmt::Debug for WebUIWalletActionActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIWalletActionActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl ::windows_core::RuntimeType for WebUIWalletActionActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWalletActionActivatedEventArgs;{fcfc027b-1a1a-4d22-923f-ae6f45fa52d9})"); } #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -impl ::core::clone::Clone for WebUIWalletActionActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] unsafe impl ::windows_core::Interface for WebUIWalletActionActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs_Vtbl; } @@ -7175,6 +6012,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIWebAccountProviderActivatedEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIWebAccountProviderActivatedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIWebAccountProviderActivatedEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIWebAccountProviderActivatedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAccountProviderActivatedEventArgs;{72b71774-98ea-4ccf-9752-46d9051004f1})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIWebAccountProviderActivatedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIWebAccountProviderActivatedEventArgs { type Vtable = super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs_Vtbl; } @@ -7280,6 +6098,7 @@ impl ::windows_core::CanTryInto bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for WebUIWebAuthenticationBrokerContinuationEventArgs {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for WebUIWebAuthenticationBrokerContinuationEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebUIWebAuthenticationBrokerContinuationEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] impl ::windows_core::RuntimeType for WebUIWebAuthenticationBrokerContinuationEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WebUI.WebUIWebAuthenticationBrokerContinuationEventArgs;{75dda3d4-7714-453d-b7ff-b95e3a1709da})"); } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for WebUIWebAuthenticationBrokerContinuationEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for WebUIWebAuthenticationBrokerContinuationEventArgs { type Vtable = super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs_Vtbl; } @@ -7417,6 +6216,7 @@ impl ::windows_core::RuntimeType for PrintContent { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ActivatedEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl ActivatedEventHandler { @@ -7448,9 +6248,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7476,30 +6279,10 @@ impl, ::core::opt } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for ActivatedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for ActivatedEventHandler {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for ActivatedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ActivatedEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for ActivatedEventHandler { type Vtable = ActivatedEventHandler_Vtbl; } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for ActivatedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::ComInterface for ActivatedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50f1e730_c5d1_4b6b_9adb_8a11756be29c); } @@ -7520,6 +6303,7 @@ pub struct ActivatedEventHandler_Vtbl { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel_Activation\"`*"] #[cfg(feature = "ApplicationModel_Activation")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct BackgroundActivatedEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] impl BackgroundActivatedEventHandler { @@ -7551,9 +6335,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7579,30 +6366,10 @@ impl, ::core::opt } } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::PartialEq for BackgroundActivatedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::cmp::Eq for BackgroundActivatedEventHandler {} -#[cfg(feature = "ApplicationModel_Activation")] -impl ::core::fmt::Debug for BackgroundActivatedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("BackgroundActivatedEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::Interface for BackgroundActivatedEventHandler { type Vtable = BackgroundActivatedEventHandler_Vtbl; } #[cfg(feature = "ApplicationModel_Activation")] -impl ::core::clone::Clone for BackgroundActivatedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel_Activation")] unsafe impl ::windows_core::ComInterface for BackgroundActivatedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedb19fbb_0761_47cc_9a77_24d7072965ca); } @@ -7623,6 +6390,7 @@ pub struct BackgroundActivatedEventHandler_Vtbl { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct EnteredBackgroundEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl EnteredBackgroundEventHandler { @@ -7654,9 +6422,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7682,30 +6453,10 @@ impl, ::core::opt } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for EnteredBackgroundEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for EnteredBackgroundEventHandler {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for EnteredBackgroundEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EnteredBackgroundEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for EnteredBackgroundEventHandler { type Vtable = EnteredBackgroundEventHandler_Vtbl; } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for EnteredBackgroundEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::ComInterface for EnteredBackgroundEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b09a173_b68e_4def_88c1_8de84e5aab2f); } @@ -7726,6 +6477,7 @@ pub struct EnteredBackgroundEventHandler_Vtbl { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct LeavingBackgroundEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl LeavingBackgroundEventHandler { @@ -7757,9 +6509,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7785,30 +6540,10 @@ impl, ::core::opt } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for LeavingBackgroundEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for LeavingBackgroundEventHandler {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for LeavingBackgroundEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LeavingBackgroundEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for LeavingBackgroundEventHandler { type Vtable = LeavingBackgroundEventHandler_Vtbl; } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for LeavingBackgroundEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::ComInterface for LeavingBackgroundEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00b4ccd9_7a9c_4b6b_9ac4_13474f268bc4); } @@ -7828,6 +6563,7 @@ pub struct LeavingBackgroundEventHandler_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct NavigatedEventHandler(pub ::windows_core::IUnknown); impl NavigatedEventHandler { pub fn new, ::core::option::Option<&IWebUINavigatedEventArgs>) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7854,9 +6590,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7881,25 +6620,9 @@ impl, ::core::opt ((*this).invoke)(::windows_core::from_raw_borrowed(&sender), ::windows_core::from_raw_borrowed(&e)).into() } } -impl ::core::cmp::PartialEq for NavigatedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for NavigatedEventHandler {} -impl ::core::fmt::Debug for NavigatedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("NavigatedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for NavigatedEventHandler { type Vtable = NavigatedEventHandler_Vtbl; } -impl ::core::clone::Clone for NavigatedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for NavigatedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7af46fe6_40ca_4e49_a7d6_dbdb330cd1a3); } @@ -7914,6 +6637,7 @@ pub struct NavigatedEventHandler_Vtbl { } #[doc = "*Required features: `\"UI_WebUI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResumingEventHandler(pub ::windows_core::IUnknown); impl ResumingEventHandler { pub fn new) -> ::windows_core::Result<()> + ::core::marker::Send + 'static>(invoke: F) -> Self { @@ -7939,9 +6663,12 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -7966,25 +6693,9 @@ impl) -> ::window ((*this).invoke)(::windows_core::from_raw_borrowed(&sender)).into() } } -impl ::core::cmp::PartialEq for ResumingEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResumingEventHandler {} -impl ::core::fmt::Debug for ResumingEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResumingEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ResumingEventHandler { type Vtable = ResumingEventHandler_Vtbl; } -impl ::core::clone::Clone for ResumingEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ResumingEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26599ba9_a22d_4806_a728_acadc1d075fa); } @@ -8000,6 +6711,7 @@ pub struct ResumingEventHandler_Vtbl { #[doc = "*Required features: `\"UI_WebUI\"`, `\"ApplicationModel\"`*"] #[cfg(feature = "ApplicationModel")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SuspendingEventHandler(pub ::windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] impl SuspendingEventHandler { @@ -8031,9 +6743,12 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -8059,30 +6774,10 @@ impl, ::core::opt } } #[cfg(feature = "ApplicationModel")] -impl ::core::cmp::PartialEq for SuspendingEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "ApplicationModel")] -impl ::core::cmp::Eq for SuspendingEventHandler {} -#[cfg(feature = "ApplicationModel")] -impl ::core::fmt::Debug for SuspendingEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SuspendingEventHandler").field(&self.0).finish() - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::Interface for SuspendingEventHandler { type Vtable = SuspendingEventHandler_Vtbl; } #[cfg(feature = "ApplicationModel")] -impl ::core::clone::Clone for SuspendingEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "ApplicationModel")] unsafe impl ::windows_core::ComInterface for SuspendingEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x509c429c_78e2_4883_abc8_8960dcde1b5c); } diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs index 1ffccfb498..9373915719 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowManagementPreview(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowManagementPreview { type Vtable = IWindowManagementPreview_Vtbl; } -impl ::core::clone::Clone for IWindowManagementPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowManagementPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ef55b0d_561d_513c_a67c_2c02b69cef41); } @@ -19,15 +15,11 @@ pub struct IWindowManagementPreview_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowManagementPreviewStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowManagementPreviewStatics { type Vtable = IWindowManagementPreviewStatics_Vtbl; } -impl ::core::clone::Clone for IWindowManagementPreviewStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowManagementPreviewStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f9725c6_c004_5a23_8fd2_8d092ce2704a); } @@ -42,6 +34,7 @@ pub struct IWindowManagementPreviewStatics_Vtbl { } #[doc = "*Required features: `\"UI_WindowManagement_Preview\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowManagementPreview(::windows_core::IUnknown); impl WindowManagementPreview { #[doc = "*Required features: `\"Foundation\"`*"] @@ -58,25 +51,9 @@ impl WindowManagementPreview { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WindowManagementPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowManagementPreview {} -impl ::core::fmt::Debug for WindowManagementPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowManagementPreview").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowManagementPreview { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.Preview.WindowManagementPreview;{4ef55b0d-561d-513c-a67c-2c02b69cef41})"); } -impl ::core::clone::Clone for WindowManagementPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowManagementPreview { type Vtable = IWindowManagementPreview_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index 57e2acfaf4..46b19ff7ca 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -2,15 +2,11 @@ pub mod Preview; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindow(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindow { type Vtable = IAppWindow_Vtbl; } -impl ::core::clone::Clone for IAppWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x663014a6_b75e_5dbd_995c_f0117fa3fb61); } @@ -92,15 +88,11 @@ pub struct IAppWindow_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowChangedEventArgs { type Vtable = IAppWindowChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppWindowChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1de1f3be_a655_55ad_b2b6_eb240f880356); } @@ -119,15 +111,11 @@ pub struct IAppWindowChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowCloseRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowCloseRequestedEventArgs { type Vtable = IAppWindowCloseRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppWindowCloseRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowCloseRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9ff01da_e7a2_57a8_8b5e_39c4003afdbb); } @@ -144,15 +132,11 @@ pub struct IAppWindowCloseRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowClosedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowClosedEventArgs { type Vtable = IAppWindowClosedEventArgs_Vtbl; } -impl ::core::clone::Clone for IAppWindowClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowClosedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc7df816_9520_5a06_821e_456ad8b358aa); } @@ -164,15 +148,11 @@ pub struct IAppWindowClosedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowFrame(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowFrame { type Vtable = IAppWindowFrame_Vtbl; } -impl ::core::clone::Clone for IAppWindowFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ee22601_7e5d_52af_846b_01dc6c296567); } @@ -187,15 +167,11 @@ pub struct IAppWindowFrame_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowFrameStyle(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowFrameStyle { type Vtable = IAppWindowFrameStyle_Vtbl; } -impl ::core::clone::Clone for IAppWindowFrameStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowFrameStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac412946_e1ac_5230_944a_c60873dcf4a9); } @@ -208,15 +184,11 @@ pub struct IAppWindowFrameStyle_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowPlacement(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowPlacement { type Vtable = IAppWindowPlacement_Vtbl; } -impl ::core::clone::Clone for IAppWindowPlacement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowPlacement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03dc815e_e7a9_5857_9c03_7d670594410e); } @@ -236,15 +208,11 @@ pub struct IAppWindowPlacement_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowPresentationConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowPresentationConfiguration { type Vtable = IAppWindowPresentationConfiguration_Vtbl; } -impl ::core::clone::Clone for IAppWindowPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowPresentationConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5a43ee3_df33_5e67_bd31_1072457300df); } @@ -256,15 +224,11 @@ pub struct IAppWindowPresentationConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowPresentationConfigurationFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowPresentationConfigurationFactory { type Vtable = IAppWindowPresentationConfigurationFactory_Vtbl; } -impl ::core::clone::Clone for IAppWindowPresentationConfigurationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowPresentationConfigurationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd3606a6_7875_5de8_84ff_6351ee13dd0d); } @@ -275,15 +239,11 @@ pub struct IAppWindowPresentationConfigurationFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowPresenter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowPresenter { type Vtable = IAppWindowPresenter_Vtbl; } -impl ::core::clone::Clone for IAppWindowPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowPresenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ae9ed73_e1fd_5317_ad78_5a3ed271bbde); } @@ -298,15 +258,11 @@ pub struct IAppWindowPresenter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowStatics { type Vtable = IAppWindowStatics_Vtbl; } -impl ::core::clone::Clone for IAppWindowStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff1f3ea3_b769_50ef_9873_108cd0e89746); } @@ -323,15 +279,11 @@ pub struct IAppWindowStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowTitleBar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowTitleBar { type Vtable = IAppWindowTitleBar_Vtbl; } -impl ::core::clone::Clone for IAppWindowTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowTitleBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e932c84_f644_541d_a2d7_0c262437842d); } @@ -445,15 +397,11 @@ pub struct IAppWindowTitleBar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowTitleBarOcclusion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowTitleBarOcclusion { type Vtable = IAppWindowTitleBarOcclusion_Vtbl; } -impl ::core::clone::Clone for IAppWindowTitleBarOcclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowTitleBarOcclusion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfea3cffd_2ccf_5fc3_aeae_f843876bf37e); } @@ -468,15 +416,11 @@ pub struct IAppWindowTitleBarOcclusion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppWindowTitleBarVisibility(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppWindowTitleBarVisibility { type Vtable = IAppWindowTitleBarVisibility_Vtbl; } -impl ::core::clone::Clone for IAppWindowTitleBarVisibility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppWindowTitleBarVisibility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa215a4e3_6e7e_5651_8c3b_624819528154); } @@ -489,15 +433,11 @@ pub struct IAppWindowTitleBarVisibility_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompactOverlayPresentationConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICompactOverlayPresentationConfiguration { type Vtable = ICompactOverlayPresentationConfiguration_Vtbl; } -impl ::core::clone::Clone for ICompactOverlayPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompactOverlayPresentationConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7e5750f_5730_56c6_8e1f_d63ff4d7980d); } @@ -508,15 +448,11 @@ pub struct ICompactOverlayPresentationConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultPresentationConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDefaultPresentationConfiguration { type Vtable = IDefaultPresentationConfiguration_Vtbl; } -impl ::core::clone::Clone for IDefaultPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultPresentationConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8c2b53b_2168_5703_a853_d525589fe2b9); } @@ -527,15 +463,11 @@ pub struct IDefaultPresentationConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayRegion(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDisplayRegion { type Vtable = IDisplayRegion_Vtbl; } -impl ::core::clone::Clone for IDisplayRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb50c3a2_4094_5f47_8cb1_ea01ddafaa94); } @@ -565,15 +497,11 @@ pub struct IDisplayRegion_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullScreenPresentationConfiguration(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IFullScreenPresentationConfiguration { type Vtable = IFullScreenPresentationConfiguration_Vtbl; } -impl ::core::clone::Clone for IFullScreenPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullScreenPresentationConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43d3dcd8_d2a8_503d_a626_15533d6d5f62); } @@ -586,15 +514,11 @@ pub struct IFullScreenPresentationConfiguration_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowServicesStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowServicesStatics { type Vtable = IWindowServicesStatics_Vtbl; } -impl ::core::clone::Clone for IWindowServicesStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowServicesStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcff4d519_50a6_5c64_97f6_c2d96add7f42); } @@ -609,15 +533,11 @@ pub struct IWindowServicesStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowingEnvironment(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowingEnvironment { type Vtable = IWindowingEnvironment_Vtbl; } -impl ::core::clone::Clone for IWindowingEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowingEnvironment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x264363c0_2a49_5417_b3ae_48a71c63a3bd); } @@ -642,15 +562,11 @@ pub struct IWindowingEnvironment_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowingEnvironmentAddedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowingEnvironmentAddedEventArgs { type Vtable = IWindowingEnvironmentAddedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowingEnvironmentAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowingEnvironmentAddedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff2a5b7f_f183_5c66_99b2_429082069299); } @@ -662,15 +578,11 @@ pub struct IWindowingEnvironmentAddedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowingEnvironmentChangedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowingEnvironmentChangedEventArgs { type Vtable = IWindowingEnvironmentChangedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowingEnvironmentChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowingEnvironmentChangedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4160cfc6_023d_5e9a_b431_350e67dc978a); } @@ -681,15 +593,11 @@ pub struct IWindowingEnvironmentChangedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowingEnvironmentRemovedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowingEnvironmentRemovedEventArgs { type Vtable = IWindowingEnvironmentRemovedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWindowingEnvironmentRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowingEnvironmentRemovedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e5b5473_beff_5e53_9316_7e775fe568b3); } @@ -701,15 +609,11 @@ pub struct IWindowingEnvironmentRemovedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowingEnvironmentStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWindowingEnvironmentStatics { type Vtable = IWindowingEnvironmentStatics_Vtbl; } -impl ::core::clone::Clone for IWindowingEnvironmentStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowingEnvironmentStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x874e9fb7_c642_55ab_8aa2_162f734a9a72); } @@ -728,6 +632,7 @@ pub struct IWindowingEnvironmentStatics_Vtbl { } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindow(::windows_core::IUnknown); impl AppWindow { pub fn Content(&self) -> ::windows_core::Result { @@ -966,25 +871,9 @@ impl AppWindow { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AppWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindow {} -impl ::core::fmt::Debug for AppWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindow").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindow { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindow;{663014a6-b75e-5dbd-995c-f0117fa3fb61})"); } -impl ::core::clone::Clone for AppWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindow { type Vtable = IAppWindow_Vtbl; } @@ -999,6 +888,7 @@ unsafe impl ::core::marker::Send for AppWindow {} unsafe impl ::core::marker::Sync for AppWindow {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowChangedEventArgs(::windows_core::IUnknown); impl AppWindowChangedEventArgs { pub fn DidAvailableWindowPresentationsChange(&self) -> ::windows_core::Result { @@ -1058,25 +948,9 @@ impl AppWindowChangedEventArgs { } } } -impl ::core::cmp::PartialEq for AppWindowChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowChangedEventArgs {} -impl ::core::fmt::Debug for AppWindowChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowChangedEventArgs;{1de1f3be-a655-55ad-b2b6-eb240f880356})"); } -impl ::core::clone::Clone for AppWindowChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowChangedEventArgs { type Vtable = IAppWindowChangedEventArgs_Vtbl; } @@ -1091,6 +965,7 @@ unsafe impl ::core::marker::Send for AppWindowChangedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowChangedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowCloseRequestedEventArgs(::windows_core::IUnknown); impl AppWindowCloseRequestedEventArgs { pub fn Cancel(&self) -> ::windows_core::Result { @@ -1114,25 +989,9 @@ impl AppWindowCloseRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for AppWindowCloseRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowCloseRequestedEventArgs {} -impl ::core::fmt::Debug for AppWindowCloseRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowCloseRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowCloseRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs;{e9ff01da-e7a2-57a8-8b5e-39c4003afdbb})"); } -impl ::core::clone::Clone for AppWindowCloseRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowCloseRequestedEventArgs { type Vtable = IAppWindowCloseRequestedEventArgs_Vtbl; } @@ -1147,6 +1006,7 @@ unsafe impl ::core::marker::Send for AppWindowCloseRequestedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowCloseRequestedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowClosedEventArgs(::windows_core::IUnknown); impl AppWindowClosedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -1157,25 +1017,9 @@ impl AppWindowClosedEventArgs { } } } -impl ::core::cmp::PartialEq for AppWindowClosedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowClosedEventArgs {} -impl ::core::fmt::Debug for AppWindowClosedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowClosedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowClosedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowClosedEventArgs;{cc7df816-9520-5a06-821e-456ad8b358aa})"); } -impl ::core::clone::Clone for AppWindowClosedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowClosedEventArgs { type Vtable = IAppWindowClosedEventArgs_Vtbl; } @@ -1190,6 +1034,7 @@ unsafe impl ::core::marker::Send for AppWindowClosedEventArgs {} unsafe impl ::core::marker::Sync for AppWindowClosedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowFrame(::windows_core::IUnknown); impl AppWindowFrame { #[doc = "*Required features: `\"Foundation_Collections\"`, `\"UI_Composition\"`*"] @@ -1213,25 +1058,9 @@ impl AppWindowFrame { unsafe { (::windows_core::Interface::vtable(this).SetFrameStyle)(::windows_core::Interface::as_raw(this), framestyle).ok() } } } -impl ::core::cmp::PartialEq for AppWindowFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowFrame {} -impl ::core::fmt::Debug for AppWindowFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowFrame").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowFrame { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowFrame;{9ee22601-7e5d-52af-846b-01dc6c296567})"); } -impl ::core::clone::Clone for AppWindowFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowFrame { type Vtable = IAppWindowFrame_Vtbl; } @@ -1246,6 +1075,7 @@ unsafe impl ::core::marker::Send for AppWindowFrame {} unsafe impl ::core::marker::Sync for AppWindowFrame {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowPlacement(::windows_core::IUnknown); impl AppWindowPlacement { pub fn DisplayRegion(&self) -> ::windows_core::Result { @@ -1274,25 +1104,9 @@ impl AppWindowPlacement { } } } -impl ::core::cmp::PartialEq for AppWindowPlacement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowPlacement {} -impl ::core::fmt::Debug for AppWindowPlacement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowPlacement").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowPlacement { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPlacement;{03dc815e-e7a9-5857-9c03-7d670594410e})"); } -impl ::core::clone::Clone for AppWindowPlacement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowPlacement { type Vtable = IAppWindowPlacement_Vtbl; } @@ -1307,6 +1121,7 @@ unsafe impl ::core::marker::Send for AppWindowPlacement {} unsafe impl ::core::marker::Sync for AppWindowPlacement {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowPresentationConfiguration(::windows_core::IUnknown); impl AppWindowPresentationConfiguration { pub fn Kind(&self) -> ::windows_core::Result { @@ -1317,25 +1132,9 @@ impl AppWindowPresentationConfiguration { } } } -impl ::core::cmp::PartialEq for AppWindowPresentationConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowPresentationConfiguration {} -impl ::core::fmt::Debug for AppWindowPresentationConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowPresentationConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowPresentationConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresentationConfiguration;{b5a43ee3-df33-5e67-bd31-1072457300df})"); } -impl ::core::clone::Clone for AppWindowPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowPresentationConfiguration { type Vtable = IAppWindowPresentationConfiguration_Vtbl; } @@ -1350,6 +1149,7 @@ unsafe impl ::core::marker::Send for AppWindowPresentationConfiguration {} unsafe impl ::core::marker::Sync for AppWindowPresentationConfiguration {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowPresenter(::windows_core::IUnknown); impl AppWindowPresenter { pub fn GetConfiguration(&self) -> ::windows_core::Result { @@ -1384,25 +1184,9 @@ impl AppWindowPresenter { } } } -impl ::core::cmp::PartialEq for AppWindowPresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowPresenter {} -impl ::core::fmt::Debug for AppWindowPresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowPresenter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowPresenter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowPresenter;{5ae9ed73-e1fd-5317-ad78-5a3ed271bbde})"); } -impl ::core::clone::Clone for AppWindowPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowPresenter { type Vtable = IAppWindowPresenter_Vtbl; } @@ -1417,6 +1201,7 @@ unsafe impl ::core::marker::Send for AppWindowPresenter {} unsafe impl ::core::marker::Sync for AppWindowPresenter {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowTitleBar(::windows_core::IUnknown); impl AppWindowTitleBar { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1674,25 +1459,9 @@ impl AppWindowTitleBar { unsafe { (::windows_core::Interface::vtable(this).SetPreferredVisibility)(::windows_core::Interface::as_raw(this), visibilitymode).ok() } } } -impl ::core::cmp::PartialEq for AppWindowTitleBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowTitleBar {} -impl ::core::fmt::Debug for AppWindowTitleBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowTitleBar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowTitleBar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBar;{6e932c84-f644-541d-a2d7-0c262437842d})"); } -impl ::core::clone::Clone for AppWindowTitleBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowTitleBar { type Vtable = IAppWindowTitleBar_Vtbl; } @@ -1707,6 +1476,7 @@ unsafe impl ::core::marker::Send for AppWindowTitleBar {} unsafe impl ::core::marker::Sync for AppWindowTitleBar {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppWindowTitleBarOcclusion(::windows_core::IUnknown); impl AppWindowTitleBarOcclusion { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1719,25 +1489,9 @@ impl AppWindowTitleBarOcclusion { } } } -impl ::core::cmp::PartialEq for AppWindowTitleBarOcclusion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AppWindowTitleBarOcclusion {} -impl ::core::fmt::Debug for AppWindowTitleBarOcclusion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppWindowTitleBarOcclusion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AppWindowTitleBarOcclusion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.AppWindowTitleBarOcclusion;{fea3cffd-2ccf-5fc3-aeae-f843876bf37e})"); } -impl ::core::clone::Clone for AppWindowTitleBarOcclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AppWindowTitleBarOcclusion { type Vtable = IAppWindowTitleBarOcclusion_Vtbl; } @@ -1752,6 +1506,7 @@ unsafe impl ::core::marker::Send for AppWindowTitleBarOcclusion {} unsafe impl ::core::marker::Sync for AppWindowTitleBarOcclusion {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CompactOverlayPresentationConfiguration(::windows_core::IUnknown); impl CompactOverlayPresentationConfiguration { pub fn new() -> ::windows_core::Result { @@ -1769,25 +1524,9 @@ impl CompactOverlayPresentationConfiguration { } } } -impl ::core::cmp::PartialEq for CompactOverlayPresentationConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for CompactOverlayPresentationConfiguration {} -impl ::core::fmt::Debug for CompactOverlayPresentationConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CompactOverlayPresentationConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for CompactOverlayPresentationConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.CompactOverlayPresentationConfiguration;{a7e5750f-5730-56c6-8e1f-d63ff4d7980d})"); } -impl ::core::clone::Clone for CompactOverlayPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for CompactOverlayPresentationConfiguration { type Vtable = ICompactOverlayPresentationConfiguration_Vtbl; } @@ -1803,6 +1542,7 @@ unsafe impl ::core::marker::Send for CompactOverlayPresentationConfiguration {} unsafe impl ::core::marker::Sync for CompactOverlayPresentationConfiguration {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DefaultPresentationConfiguration(::windows_core::IUnknown); impl DefaultPresentationConfiguration { pub fn new() -> ::windows_core::Result { @@ -1820,25 +1560,9 @@ impl DefaultPresentationConfiguration { } } } -impl ::core::cmp::PartialEq for DefaultPresentationConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DefaultPresentationConfiguration {} -impl ::core::fmt::Debug for DefaultPresentationConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DefaultPresentationConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DefaultPresentationConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DefaultPresentationConfiguration;{d8c2b53b-2168-5703-a853-d525589fe2b9})"); } -impl ::core::clone::Clone for DefaultPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DefaultPresentationConfiguration { type Vtable = IDefaultPresentationConfiguration_Vtbl; } @@ -1854,6 +1578,7 @@ unsafe impl ::core::marker::Send for DefaultPresentationConfiguration {} unsafe impl ::core::marker::Sync for DefaultPresentationConfiguration {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DisplayRegion(::windows_core::IUnknown); impl DisplayRegion { pub fn DisplayMonitorDeviceId(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1914,25 +1639,9 @@ impl DisplayRegion { unsafe { (::windows_core::Interface::vtable(this).RemoveChanged)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for DisplayRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DisplayRegion {} -impl ::core::fmt::Debug for DisplayRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DisplayRegion").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for DisplayRegion { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.DisplayRegion;{db50c3a2-4094-5f47-8cb1-ea01ddafaa94})"); } -impl ::core::clone::Clone for DisplayRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for DisplayRegion { type Vtable = IDisplayRegion_Vtbl; } @@ -1947,6 +1656,7 @@ unsafe impl ::core::marker::Send for DisplayRegion {} unsafe impl ::core::marker::Sync for DisplayRegion {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FullScreenPresentationConfiguration(::windows_core::IUnknown); impl FullScreenPresentationConfiguration { pub fn new() -> ::windows_core::Result { @@ -1975,25 +1685,9 @@ impl FullScreenPresentationConfiguration { unsafe { (::windows_core::Interface::vtable(this).SetIsExclusive)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for FullScreenPresentationConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for FullScreenPresentationConfiguration {} -impl ::core::fmt::Debug for FullScreenPresentationConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FullScreenPresentationConfiguration").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for FullScreenPresentationConfiguration { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.FullScreenPresentationConfiguration;{43d3dcd8-d2a8-503d-a626-15533d6d5f62})"); } -impl ::core::clone::Clone for FullScreenPresentationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for FullScreenPresentationConfiguration { type Vtable = IFullScreenPresentationConfiguration_Vtbl; } @@ -2029,6 +1723,7 @@ impl ::windows_core::RuntimeName for WindowServices { } #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowingEnvironment(::windows_core::IUnknown); impl WindowingEnvironment { pub fn IsEnabled(&self) -> ::windows_core::Result { @@ -2094,25 +1789,9 @@ impl WindowingEnvironment { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WindowingEnvironment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowingEnvironment {} -impl ::core::fmt::Debug for WindowingEnvironment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowingEnvironment").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowingEnvironment { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironment;{264363c0-2a49-5417-b3ae-48a71c63a3bd})"); } -impl ::core::clone::Clone for WindowingEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowingEnvironment { type Vtable = IWindowingEnvironment_Vtbl; } @@ -2127,6 +1806,7 @@ unsafe impl ::core::marker::Send for WindowingEnvironment {} unsafe impl ::core::marker::Sync for WindowingEnvironment {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowingEnvironmentAddedEventArgs(::windows_core::IUnknown); impl WindowingEnvironmentAddedEventArgs { pub fn WindowingEnvironment(&self) -> ::windows_core::Result { @@ -2137,25 +1817,9 @@ impl WindowingEnvironmentAddedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowingEnvironmentAddedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowingEnvironmentAddedEventArgs {} -impl ::core::fmt::Debug for WindowingEnvironmentAddedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowingEnvironmentAddedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowingEnvironmentAddedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs;{ff2a5b7f-f183-5c66-99b2-429082069299})"); } -impl ::core::clone::Clone for WindowingEnvironmentAddedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowingEnvironmentAddedEventArgs { type Vtable = IWindowingEnvironmentAddedEventArgs_Vtbl; } @@ -2170,27 +1834,12 @@ unsafe impl ::core::marker::Send for WindowingEnvironmentAddedEventArgs {} unsafe impl ::core::marker::Sync for WindowingEnvironmentAddedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowingEnvironmentChangedEventArgs(::windows_core::IUnknown); impl WindowingEnvironmentChangedEventArgs {} -impl ::core::cmp::PartialEq for WindowingEnvironmentChangedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowingEnvironmentChangedEventArgs {} -impl ::core::fmt::Debug for WindowingEnvironmentChangedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowingEnvironmentChangedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowingEnvironmentChangedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs;{4160cfc6-023d-5e9a-b431-350e67dc978a})"); } -impl ::core::clone::Clone for WindowingEnvironmentChangedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowingEnvironmentChangedEventArgs { type Vtable = IWindowingEnvironmentChangedEventArgs_Vtbl; } @@ -2205,6 +1854,7 @@ unsafe impl ::core::marker::Send for WindowingEnvironmentChangedEventArgs {} unsafe impl ::core::marker::Sync for WindowingEnvironmentChangedEventArgs {} #[doc = "*Required features: `\"UI_WindowManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WindowingEnvironmentRemovedEventArgs(::windows_core::IUnknown); impl WindowingEnvironmentRemovedEventArgs { pub fn WindowingEnvironment(&self) -> ::windows_core::Result { @@ -2215,25 +1865,9 @@ impl WindowingEnvironmentRemovedEventArgs { } } } -impl ::core::cmp::PartialEq for WindowingEnvironmentRemovedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WindowingEnvironmentRemovedEventArgs {} -impl ::core::fmt::Debug for WindowingEnvironmentRemovedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WindowingEnvironmentRemovedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WindowingEnvironmentRemovedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs;{2e5b5473-beff-5e53-9316-7e775fe568b3})"); } -impl ::core::clone::Clone for WindowingEnvironmentRemovedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WindowingEnvironmentRemovedEventArgs { type Vtable = IWindowingEnvironmentRemovedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index 90fc0d1f5d..a46f9d1587 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -28,15 +28,11 @@ pub mod WebUI; pub mod WindowManagement; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorHelper(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorHelper { type Vtable = IColorHelper_Vtbl; } -impl ::core::clone::Clone for IColorHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x193cfbe7_65c7_4540_ad08_6283ba76879a); } @@ -47,15 +43,11 @@ pub struct IColorHelper_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorHelperStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorHelperStatics { type Vtable = IColorHelperStatics_Vtbl; } -impl ::core::clone::Clone for IColorHelperStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorHelperStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8504dbea_fb6a_4144_a6c2_33499c9284f5); } @@ -67,15 +59,11 @@ pub struct IColorHelperStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorHelperStatics2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorHelperStatics2 { type Vtable = IColorHelperStatics2_Vtbl; } -impl ::core::clone::Clone for IColorHelperStatics2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorHelperStatics2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24d9af02_6eb0_4b94_855c_fcf0818d9a16); } @@ -87,15 +75,11 @@ pub struct IColorHelperStatics2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColors(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColors { type Vtable = IColors_Vtbl; } -impl ::core::clone::Clone for IColors { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColors { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b8c9326_4ca6_4ce5_8994_9eff65cabdcc); } @@ -106,15 +90,11 @@ pub struct IColors_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColorsStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IColorsStatics { type Vtable = IColorsStatics_Vtbl; } -impl ::core::clone::Clone for IColorsStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColorsStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcff52e04_cca6_4614_a17e_754910c84a99); } @@ -266,15 +246,11 @@ pub struct IColorsStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIContentRoot(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUIContentRoot { type Vtable = IUIContentRoot_Vtbl; } -impl ::core::clone::Clone for IUIContentRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIContentRoot { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dfcbac6_b36b_5cb9_9bc5_2b7a0eddc378); } @@ -286,15 +262,11 @@ pub struct IUIContentRoot_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIContext(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUIContext { type Vtable = IUIContext_Vtbl; } -impl ::core::clone::Clone for IUIContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb5cfacd_5bd8_59d0_a59e_1c17a4d6d243); } @@ -305,6 +277,7 @@ pub struct IUIContext_Vtbl { } #[doc = "*Required features: `\"UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ColorHelper(::windows_core::IUnknown); impl ColorHelper { pub fn FromArgb(a: u8, r: u8, g: u8, b: u8) -> ::windows_core::Result { @@ -330,25 +303,9 @@ impl ColorHelper { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for ColorHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ColorHelper {} -impl ::core::fmt::Debug for ColorHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ColorHelper").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ColorHelper { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.ColorHelper;{193cfbe7-65c7-4540-ad08-6283ba76879a})"); } -impl ::core::clone::Clone for ColorHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ColorHelper { type Vtable = IColorHelper_Vtbl; } @@ -363,6 +320,7 @@ unsafe impl ::core::marker::Send for ColorHelper {} unsafe impl ::core::marker::Sync for ColorHelper {} #[doc = "*Required features: `\"UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Colors(::windows_core::IUnknown); impl Colors { pub fn AliceBlue() -> ::windows_core::Result { @@ -1217,25 +1175,9 @@ impl Colors { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Colors { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Colors {} -impl ::core::fmt::Debug for Colors { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Colors").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Colors { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.Colors;{9b8c9326-4ca6-4ce5-8994-9eff65cabdcc})"); } -impl ::core::clone::Clone for Colors { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Colors { type Vtable = IColors_Vtbl; } @@ -1250,6 +1192,7 @@ unsafe impl ::core::marker::Send for Colors {} unsafe impl ::core::marker::Sync for Colors {} #[doc = "*Required features: `\"UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UIContentRoot(::windows_core::IUnknown); impl UIContentRoot { pub fn UIContext(&self) -> ::windows_core::Result { @@ -1260,25 +1203,9 @@ impl UIContentRoot { } } } -impl ::core::cmp::PartialEq for UIContentRoot { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UIContentRoot {} -impl ::core::fmt::Debug for UIContentRoot { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UIContentRoot").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UIContentRoot { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContentRoot;{1dfcbac6-b36b-5cb9-9bc5-2b7a0eddc378})"); } -impl ::core::clone::Clone for UIContentRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UIContentRoot { type Vtable = IUIContentRoot_Vtbl; } @@ -1293,27 +1220,12 @@ unsafe impl ::core::marker::Send for UIContentRoot {} unsafe impl ::core::marker::Sync for UIContentRoot {} #[doc = "*Required features: `\"UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct UIContext(::windows_core::IUnknown); impl UIContext {} -impl ::core::cmp::PartialEq for UIContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for UIContext {} -impl ::core::fmt::Debug for UIContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("UIContext").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for UIContext { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.UI.UIContext;{bb5cfacd-5bd8-59d0-a59e-1c17a4d6d243})"); } -impl ::core::clone::Clone for UIContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for UIContext { type Vtable = IUIContext_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs index 2ec922136c..68ecfe5469 100644 --- a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs @@ -1,22 +1,22 @@ #[doc = "*Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtClose(handle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtClose(handle: P0) -> super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtClose(handle : super::super::Win32::Foundation:: HANDLE) -> super::super::Win32::Foundation:: NTSTATUS); - NtClose(handle.into_param().abi()).ok() + NtClose(handle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryObject(handle: P0, objectinformationclass: OBJECT_INFORMATION_CLASS, objectinformation: ::core::option::Option<*mut ::core::ffi::c_void>, objectinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryObject(handle: P0, objectinformationclass: OBJECT_INFORMATION_CLASS, objectinformation: ::core::option::Option<*mut ::core::ffi::c_void>, objectinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryObject(handle : super::super::Win32::Foundation:: HANDLE, objectinformationclass : OBJECT_INFORMATION_CLASS, objectinformation : *mut ::core::ffi::c_void, objectinformationlength : u32, returnlength : *mut u32) -> super::super::Win32::Foundation:: NTSTATUS); - NtQueryObject(handle.into_param().abi(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtQueryObject(handle.into_param().abi(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Foundation\"`*"] pub const DontUseThisType: POOL_TYPE = POOL_TYPE(3i32); diff --git a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs index 0a26098420..52150cee46 100644 --- a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -1,44 +1,44 @@ #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTAcquireKeyedMutex(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTAcquireKeyedMutex(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAcquireKeyedMutex(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTAcquireKeyedMutex(param0).ok() + D3DKMTAcquireKeyedMutex(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTAcquireKeyedMutex2(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTAcquireKeyedMutex2(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAcquireKeyedMutex2(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTAcquireKeyedMutex2(param0).ok() + D3DKMTAcquireKeyedMutex2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTAdjustFullscreenGamma(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTAdjustFullscreenGamma(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAdjustFullscreenGamma(param0 : *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTAdjustFullscreenGamma(param0).ok() + D3DKMTAdjustFullscreenGamma(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCancelPresents(param0: *const D3DKMT_CANCEL_PRESENTS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCancelPresents(param0: *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCancelPresents(param0 : *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCancelPresents(param0).ok() + D3DKMTCancelPresents(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] -pub unsafe fn D3DKMTChangeSurfacePointer(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTChangeSurfacePointer(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeSurfacePointer(param0 : *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTChangeSurfacePointer(param0).ok() + D3DKMTChangeSurfacePointer(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTChangeVideoMemoryReservation(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTChangeVideoMemoryReservation(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeVideoMemoryReservation(param0 : *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTChangeVideoMemoryReservation(param0).ok() + D3DKMTChangeVideoMemoryReservation(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -50,1187 +50,1187 @@ pub unsafe fn D3DKMTCheckExclusiveOwnership() -> super::super::super::Win32::Fou #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckMonitorPowerState(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckMonitorPowerState(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMonitorPowerState(param0 : *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckMonitorPowerState(param0).ok() + D3DKMTCheckMonitorPowerState(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckMultiPlaneOverlaySupport(param0).ok() + D3DKMTCheckMultiPlaneOverlaySupport(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport2(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport2(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport2(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckMultiPlaneOverlaySupport2(param0).ok() + D3DKMTCheckMultiPlaneOverlaySupport2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport3(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport3(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport3(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckMultiPlaneOverlaySupport3(param0).ok() + D3DKMTCheckMultiPlaneOverlaySupport3(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckOcclusion(param0: *const D3DKMT_CHECKOCCLUSION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckOcclusion(param0: *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckOcclusion(param0 : *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckOcclusion(param0).ok() + D3DKMTCheckOcclusion(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckSharedResourceAccess(param0: *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckSharedResourceAccess(param0: *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckSharedResourceAccess(param0 : *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckSharedResourceAccess(param0).ok() + D3DKMTCheckSharedResourceAccess(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCheckVidPnExclusiveOwnership(param0: *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCheckVidPnExclusiveOwnership(param0: *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckVidPnExclusiveOwnership(param0 : *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCheckVidPnExclusiveOwnership(param0).ok() + D3DKMTCheckVidPnExclusiveOwnership(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCloseAdapter(param0: *const D3DKMT_CLOSEADAPTER) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCloseAdapter(param0: *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCloseAdapter(param0 : *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCloseAdapter(param0).ok() + D3DKMTCloseAdapter(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTConfigureSharedResource(param0: *const D3DKMT_CONFIGURESHAREDRESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTConfigureSharedResource(param0: *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTConfigureSharedResource(param0 : *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTConfigureSharedResource(param0).ok() + D3DKMTConfigureSharedResource(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateAllocation(param0: *mut D3DKMT_CREATEALLOCATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateAllocation(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateAllocation(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateAllocation(param0).ok() + D3DKMTCreateAllocation(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateAllocation2(param0: *mut D3DKMT_CREATEALLOCATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateAllocation2(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateAllocation2(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateAllocation2(param0).ok() + D3DKMTCreateAllocation2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateContext(param0: *mut D3DKMT_CREATECONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateContext(param0: *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateContext(param0 : *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateContext(param0).ok() + D3DKMTCreateContext(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateContextVirtual(param0: *const D3DKMT_CREATECONTEXTVIRTUAL) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateContextVirtual(param0: *const D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateContextVirtual(param0 : *const D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateContextVirtual(param0).ok() + D3DKMTCreateContextVirtual(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] -pub unsafe fn D3DKMTCreateDCFromMemory(param0: *mut D3DKMT_CREATEDCFROMMEMORY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateDCFromMemory(param0: *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateDCFromMemory(param0 : *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateDCFromMemory(param0).ok() + D3DKMTCreateDCFromMemory(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateDevice(param0: *mut D3DKMT_CREATEDEVICE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateDevice(param0: *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateDevice(param0 : *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateDevice(param0).ok() + D3DKMTCreateDevice(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateHwContext(param0: *mut D3DKMT_CREATEHWCONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateHwContext(param0: *mut D3DKMT_CREATEHWCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateHwContext(param0 : *mut D3DKMT_CREATEHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateHwContext(param0).ok() + D3DKMTCreateHwContext(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateHwQueue(param0: *mut D3DKMT_CREATEHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateHwQueue(param0: *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateHwQueue(param0 : *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateHwQueue(param0).ok() + D3DKMTCreateHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateKeyedMutex(param0: *mut D3DKMT_CREATEKEYEDMUTEX) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateKeyedMutex(param0: *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateKeyedMutex(param0 : *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateKeyedMutex(param0).ok() + D3DKMTCreateKeyedMutex(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateKeyedMutex2(param0: *mut D3DKMT_CREATEKEYEDMUTEX2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateKeyedMutex2(param0: *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateKeyedMutex2(param0 : *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateKeyedMutex2(param0).ok() + D3DKMTCreateKeyedMutex2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateOutputDupl(param0: *const D3DKMT_CREATE_OUTPUTDUPL) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateOutputDupl(param0: *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateOutputDupl(param0 : *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateOutputDupl(param0).ok() + D3DKMTCreateOutputDupl(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateOverlay(param0: *mut D3DKMT_CREATEOVERLAY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateOverlay(param0: *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateOverlay(param0 : *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateOverlay(param0).ok() + D3DKMTCreateOverlay(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreatePagingQueue(param0: *mut D3DKMT_CREATEPAGINGQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreatePagingQueue(param0: *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreatePagingQueue(param0 : *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreatePagingQueue(param0).ok() + D3DKMTCreatePagingQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateProtectedSession(param0: *mut D3DKMT_CREATEPROTECTEDSESSION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateProtectedSession(param0: *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateProtectedSession(param0 : *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateProtectedSession(param0).ok() + D3DKMTCreateProtectedSession(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateSynchronizationObject(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateSynchronizationObject(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateSynchronizationObject(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateSynchronizationObject(param0).ok() + D3DKMTCreateSynchronizationObject(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTCreateSynchronizationObject2(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTCreateSynchronizationObject2(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateSynchronizationObject2(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTCreateSynchronizationObject2(param0).ok() + D3DKMTCreateSynchronizationObject2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyAllocation(param0: *const D3DKMT_DESTROYALLOCATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyAllocation(param0: *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyAllocation(param0 : *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyAllocation(param0).ok() + D3DKMTDestroyAllocation(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyAllocation2(param0: *const D3DKMT_DESTROYALLOCATION2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyAllocation2(param0: *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyAllocation2(param0 : *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyAllocation2(param0).ok() + D3DKMTDestroyAllocation2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyContext(param0: *const D3DKMT_DESTROYCONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyContext(param0: *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyContext(param0 : *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyContext(param0).ok() + D3DKMTDestroyContext(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] -pub unsafe fn D3DKMTDestroyDCFromMemory(param0: *const D3DKMT_DESTROYDCFROMMEMORY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyDCFromMemory(param0: *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyDCFromMemory(param0 : *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyDCFromMemory(param0).ok() + D3DKMTDestroyDCFromMemory(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyDevice(param0: *const D3DKMT_DESTROYDEVICE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyDevice(param0: *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyDevice(param0 : *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyDevice(param0).ok() + D3DKMTDestroyDevice(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyHwContext(param0: *const D3DKMT_DESTROYHWCONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyHwContext(param0: *const D3DKMT_DESTROYHWCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyHwContext(param0 : *const D3DKMT_DESTROYHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyHwContext(param0).ok() + D3DKMTDestroyHwContext(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyHwQueue(param0: *const D3DKMT_DESTROYHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyHwQueue(param0: *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyHwQueue(param0 : *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyHwQueue(param0).ok() + D3DKMTDestroyHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyKeyedMutex(param0: *const D3DKMT_DESTROYKEYEDMUTEX) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyKeyedMutex(param0: *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyKeyedMutex(param0 : *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyKeyedMutex(param0).ok() + D3DKMTDestroyKeyedMutex(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyOutputDupl(param0: *const D3DKMT_DESTROY_OUTPUTDUPL) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyOutputDupl(param0: *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyOutputDupl(param0 : *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyOutputDupl(param0).ok() + D3DKMTDestroyOutputDupl(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyOverlay(param0: *const D3DKMT_DESTROYOVERLAY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyOverlay(param0: *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyOverlay(param0 : *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyOverlay(param0).ok() + D3DKMTDestroyOverlay(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyPagingQueue(param0: *mut D3DDDI_DESTROYPAGINGQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyPagingQueue(param0: *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyPagingQueue(param0 : *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyPagingQueue(param0).ok() + D3DKMTDestroyPagingQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroyProtectedSession(param0: *mut D3DKMT_DESTROYPROTECTEDSESSION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroyProtectedSession(param0: *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyProtectedSession(param0 : *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroyProtectedSession(param0).ok() + D3DKMTDestroyProtectedSession(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTDestroySynchronizationObject(param0: *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTDestroySynchronizationObject(param0: *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroySynchronizationObject(param0 : *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTDestroySynchronizationObject(param0).ok() + D3DKMTDestroySynchronizationObject(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTEnumAdapters(param0: *mut D3DKMT_ENUMADAPTERS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTEnumAdapters(param0: *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEnumAdapters(param0 : *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTEnumAdapters(param0).ok() + D3DKMTEnumAdapters(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTEnumAdapters2(param0: *mut D3DKMT_ENUMADAPTERS2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTEnumAdapters2(param0: *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEnumAdapters2(param0 : *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTEnumAdapters2(param0).ok() + D3DKMTEnumAdapters2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTEnumAdapters3(param0: *mut D3DKMT_ENUMADAPTERS3) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTEnumAdapters3(param0: *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-6.dll" "system" fn D3DKMTEnumAdapters3(param0 : *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTEnumAdapters3(param0).ok() + D3DKMTEnumAdapters3(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTEscape(param0: *const D3DKMT_ESCAPE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTEscape(param0: *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEscape(param0 : *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTEscape(param0).ok() + D3DKMTEscape(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTEvict(param0: *mut D3DKMT_EVICT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTEvict(param0: *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEvict(param0 : *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTEvict(param0).ok() + D3DKMTEvict(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTFlipOverlay(param0: *const D3DKMT_FLIPOVERLAY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTFlipOverlay(param0: *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFlipOverlay(param0 : *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTFlipOverlay(param0).ok() + D3DKMTFlipOverlay(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTFlushHeapTransitions(param0: *const D3DKMT_FLUSHHEAPTRANSITIONS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTFlushHeapTransitions(param0: *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFlushHeapTransitions(param0 : *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTFlushHeapTransitions(param0).ok() + D3DKMTFlushHeapTransitions(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTFreeGpuVirtualAddress(param0: *const D3DKMT_FREEGPUVIRTUALADDRESS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTFreeGpuVirtualAddress(param0: *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFreeGpuVirtualAddress(param0 : *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTFreeGpuVirtualAddress(param0).ok() + D3DKMTFreeGpuVirtualAddress(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetAllocationPriority(param0: *const D3DKMT_GETALLOCATIONPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetAllocationPriority(param0: *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetAllocationPriority(param0 : *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetAllocationPriority(param0).ok() + D3DKMTGetAllocationPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetContextInProcessSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetContextInProcessSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetContextInProcessSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetContextInProcessSchedulingPriority(param0).ok() + D3DKMTGetContextInProcessSchedulingPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetContextSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetContextSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetContextSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetContextSchedulingPriority(param0).ok() + D3DKMTGetContextSchedulingPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetDWMVerticalBlankEvent(param0: *const D3DKMT_GETVERTICALBLANKEVENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetDWMVerticalBlankEvent(param0: *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDWMVerticalBlankEvent(param0 : *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetDWMVerticalBlankEvent(param0).ok() + D3DKMTGetDWMVerticalBlankEvent(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetDeviceState(param0: *mut D3DKMT_GETDEVICESTATE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetDeviceState(param0: *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDeviceState(param0 : *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetDeviceState(param0).ok() + D3DKMTGetDeviceState(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetDisplayModeList(param0: *mut D3DKMT_GETDISPLAYMODELIST) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetDisplayModeList(param0: *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDisplayModeList(param0 : *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetDisplayModeList(param0).ok() + D3DKMTGetDisplayModeList(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetMultiPlaneOverlayCaps(param0: *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetMultiPlaneOverlayCaps(param0: *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetMultiPlaneOverlayCaps(param0 : *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetMultiPlaneOverlayCaps(param0).ok() + D3DKMTGetMultiPlaneOverlayCaps(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetMultisampleMethodList(param0: *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetMultisampleMethodList(param0: *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetMultisampleMethodList(param0 : *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetMultisampleMethodList(param0).ok() + D3DKMTGetMultisampleMethodList(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetOverlayState(param0: *mut D3DKMT_GETOVERLAYSTATE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetOverlayState(param0: *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetOverlayState(param0 : *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetOverlayState(param0).ok() + D3DKMTGetOverlayState(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetPostCompositionCaps(param0: *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetPostCompositionCaps(param0: *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPostCompositionCaps(param0 : *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetPostCompositionCaps(param0).ok() + D3DKMTGetPostCompositionCaps(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetPresentHistory(param0: *mut D3DKMT_GETPRESENTHISTORY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetPresentHistory(param0: *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPresentHistory(param0 : *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetPresentHistory(param0).ok() + D3DKMTGetPresentHistory(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetPresentQueueEvent(hadapter: u32, param1: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetPresentQueueEvent(hadapter: u32, param1: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPresentQueueEvent(hadapter : u32, param1 : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetPresentQueueEvent(hadapter, param1).ok() + D3DKMTGetPresentQueueEvent(hadapter, param1) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetProcessDeviceRemovalSupport(param0: *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetProcessDeviceRemovalSupport(param0: *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetProcessDeviceRemovalSupport(param0 : *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetProcessDeviceRemovalSupport(param0).ok() + D3DKMTGetProcessDeviceRemovalSupport(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetProcessSchedulingPriorityClass(param0: P0, param1: *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> ::windows_core::Result<()> +pub unsafe fn D3DKMTGetProcessSchedulingPriorityClass(param0: P0, param1: *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetProcessSchedulingPriorityClass(param0.into_param().abi(), param1).ok() + D3DKMTGetProcessSchedulingPriorityClass(param0.into_param().abi(), param1) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetResourcePresentPrivateDriverData(param0: *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetResourcePresentPrivateDriverData(param0: *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetResourcePresentPrivateDriverData(param0 : *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetResourcePresentPrivateDriverData(param0).ok() + D3DKMTGetResourcePresentPrivateDriverData(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetRuntimeData(param0: *mut D3DKMT_GETRUNTIMEDATA) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetRuntimeData(param0: *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetRuntimeData(param0 : *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetRuntimeData(param0).ok() + D3DKMTGetRuntimeData(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetScanLine(param0: *mut D3DKMT_GETSCANLINE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetScanLine(param0: *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetScanLine(param0 : *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetScanLine(param0).ok() + D3DKMTGetScanLine(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetSharedPrimaryHandle(param0: *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetSharedPrimaryHandle(param0: *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetSharedPrimaryHandle(param0 : *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetSharedPrimaryHandle(param0).ok() + D3DKMTGetSharedPrimaryHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTGetSharedResourceAdapterLuid(param0: *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTGetSharedResourceAdapterLuid(param0: *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetSharedResourceAdapterLuid(param0 : *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTGetSharedResourceAdapterLuid(param0).ok() + D3DKMTGetSharedResourceAdapterLuid(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTInvalidateActiveVidPn(param0: *const D3DKMT_INVALIDATEACTIVEVIDPN) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTInvalidateActiveVidPn(param0: *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTInvalidateActiveVidPn(param0 : *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTInvalidateActiveVidPn(param0).ok() + D3DKMTInvalidateActiveVidPn(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTInvalidateCache(param0: *const D3DKMT_INVALIDATECACHE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTInvalidateCache(param0: *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTInvalidateCache(param0 : *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTInvalidateCache(param0).ok() + D3DKMTInvalidateCache(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTLock(param0: *mut D3DKMT_LOCK) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTLock(param0: *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTLock(param0 : *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTLock(param0).ok() + D3DKMTLock(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTLock2(param0: *mut D3DKMT_LOCK2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTLock2(param0: *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTLock2(param0 : *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTLock2(param0).ok() + D3DKMTLock2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTMakeResident(param0: *mut D3DDDI_MAKERESIDENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTMakeResident(param0: *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMakeResident(param0 : *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTMakeResident(param0).ok() + D3DKMTMakeResident(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTMapGpuVirtualAddress(param0: *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTMapGpuVirtualAddress(param0: *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMapGpuVirtualAddress(param0 : *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTMapGpuVirtualAddress(param0).ok() + D3DKMTMapGpuVirtualAddress(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTMarkDeviceAsError(param0: *const D3DKMT_MARKDEVICEASERROR) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTMarkDeviceAsError(param0: *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMarkDeviceAsError(param0 : *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTMarkDeviceAsError(param0).ok() + D3DKMTMarkDeviceAsError(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOfferAllocations(param0: *const D3DKMT_OFFERALLOCATIONS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOfferAllocations(param0: *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOfferAllocations(param0 : *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOfferAllocations(param0).ok() + D3DKMTOfferAllocations(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenAdapterFromDeviceName(param0: *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenAdapterFromDeviceName(param0: *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromDeviceName(param0 : *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenAdapterFromDeviceName(param0).ok() + D3DKMTOpenAdapterFromDeviceName(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenAdapterFromGdiDisplayName(param0: *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenAdapterFromGdiDisplayName(param0: *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromGdiDisplayName(param0 : *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenAdapterFromGdiDisplayName(param0).ok() + D3DKMTOpenAdapterFromGdiDisplayName(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] #[inline] -pub unsafe fn D3DKMTOpenAdapterFromHdc(param0: *mut D3DKMT_OPENADAPTERFROMHDC) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenAdapterFromHdc(param0: *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromHdc(param0 : *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenAdapterFromHdc(param0).ok() + D3DKMTOpenAdapterFromHdc(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenAdapterFromLuid(param0: *mut D3DKMT_OPENADAPTERFROMLUID) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenAdapterFromLuid(param0: *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromLuid(param0 : *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenAdapterFromLuid(param0).ok() + D3DKMTOpenAdapterFromLuid(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenKeyedMutex(param0: *mut D3DKMT_OPENKEYEDMUTEX) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenKeyedMutex(param0: *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutex(param0 : *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenKeyedMutex(param0).ok() + D3DKMTOpenKeyedMutex(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenKeyedMutex2(param0: *mut D3DKMT_OPENKEYEDMUTEX2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenKeyedMutex2(param0: *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutex2(param0 : *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenKeyedMutex2(param0).ok() + D3DKMTOpenKeyedMutex2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenKeyedMutexFromNtHandle(param0: *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenKeyedMutexFromNtHandle(param0: *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutexFromNtHandle(param0 : *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenKeyedMutexFromNtHandle(param0).ok() + D3DKMTOpenKeyedMutexFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn D3DKMTOpenNtHandleFromName(param0: *mut D3DKMT_OPENNTHANDLEFROMNAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenNtHandleFromName(param0: *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenNtHandleFromName(param0 : *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenNtHandleFromName(param0).ok() + D3DKMTOpenNtHandleFromName(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenProtectedSessionFromNtHandle(param0: *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenProtectedSessionFromNtHandle(param0: *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenProtectedSessionFromNtHandle(param0 : *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenProtectedSessionFromNtHandle(param0).ok() + D3DKMTOpenProtectedSessionFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenResource(param0: *mut D3DKMT_OPENRESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenResource(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResource(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenResource(param0).ok() + D3DKMTOpenResource(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenResource2(param0: *mut D3DKMT_OPENRESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenResource2(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResource2(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenResource2(param0).ok() + D3DKMTOpenResource2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenResourceFromNtHandle(param0: *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenResourceFromNtHandle(param0: *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResourceFromNtHandle(param0 : *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenResourceFromNtHandle(param0).ok() + D3DKMTOpenResourceFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectFromNtHandle(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenSyncObjectFromNtHandle(param0).ok() + D3DKMTOpenSyncObjectFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle2(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle2(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectFromNtHandle2(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenSyncObjectFromNtHandle2(param0).ok() + D3DKMTOpenSyncObjectFromNtHandle2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn D3DKMTOpenSyncObjectNtHandleFromName(param0: *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenSyncObjectNtHandleFromName(param0: *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectNtHandleFromName(param0 : *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenSyncObjectNtHandleFromName(param0).ok() + D3DKMTOpenSyncObjectNtHandleFromName(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOpenSynchronizationObject(param0: *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOpenSynchronizationObject(param0: *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSynchronizationObject(param0 : *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOpenSynchronizationObject(param0).ok() + D3DKMTOpenSynchronizationObject(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplGetFrameInfo(param0: *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplGetFrameInfo(param0: *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetFrameInfo(param0 : *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplGetFrameInfo(param0).ok() + D3DKMTOutputDuplGetFrameInfo(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplGetMetaData(param0: *mut D3DKMT_OUTPUTDUPL_METADATA) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplGetMetaData(param0: *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetMetaData(param0 : *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplGetMetaData(param0).ok() + D3DKMTOutputDuplGetMetaData(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplGetPointerShapeData(param0: *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplGetPointerShapeData(param0: *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetPointerShapeData(param0 : *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplGetPointerShapeData(param0).ok() + D3DKMTOutputDuplGetPointerShapeData(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplPresent(param0: *const D3DKMT_OUTPUTDUPLPRESENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplPresent(param0: *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplPresent(param0 : *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplPresent(param0).ok() + D3DKMTOutputDuplPresent(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplPresentToHwQueue(param0: *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplPresentToHwQueue(param0: *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTOutputDuplPresentToHwQueue(param0 : *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplPresentToHwQueue(param0).ok() + D3DKMTOutputDuplPresentToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTOutputDuplReleaseFrame(param0: *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTOutputDuplReleaseFrame(param0: *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplReleaseFrame(param0 : *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTOutputDuplReleaseFrame(param0).ok() + D3DKMTOutputDuplReleaseFrame(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPollDisplayChildren(param0: *const D3DKMT_POLLDISPLAYCHILDREN) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPollDisplayChildren(param0: *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPollDisplayChildren(param0 : *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPollDisplayChildren(param0).ok() + D3DKMTPollDisplayChildren(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPresent(param0: *mut D3DKMT_PRESENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPresent(param0: *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresent(param0 : *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPresent(param0).ok() + D3DKMTPresent(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPresentMultiPlaneOverlay(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPresentMultiPlaneOverlay(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPresentMultiPlaneOverlay(param0).ok() + D3DKMTPresentMultiPlaneOverlay(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPresentMultiPlaneOverlay2(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPresentMultiPlaneOverlay2(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay2(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPresentMultiPlaneOverlay2(param0).ok() + D3DKMTPresentMultiPlaneOverlay2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPresentMultiPlaneOverlay3(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPresentMultiPlaneOverlay3(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay3(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPresentMultiPlaneOverlay3(param0).ok() + D3DKMTPresentMultiPlaneOverlay3(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTPresentRedirected(param0: *const D3DKMT_PRESENT_REDIRECTED) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTPresentRedirected(param0: *const D3DKMT_PRESENT_REDIRECTED) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentRedirected(param0 : *const D3DKMT_PRESENT_REDIRECTED) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTPresentRedirected(param0).ok() + D3DKMTPresentRedirected(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryAdapterInfo(param0: *mut D3DKMT_QUERYADAPTERINFO) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryAdapterInfo(param0: *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryAdapterInfo(param0 : *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryAdapterInfo(param0).ok() + D3DKMTQueryAdapterInfo(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryAllocationResidency(param0: *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryAllocationResidency(param0: *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryAllocationResidency(param0 : *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryAllocationResidency(param0).ok() + D3DKMTQueryAllocationResidency(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryClockCalibration(param0: *mut D3DKMT_QUERYCLOCKCALIBRATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryClockCalibration(param0: *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryClockCalibration(param0 : *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryClockCalibration(param0).ok() + D3DKMTQueryClockCalibration(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryFSEBlock(param0: *mut D3DKMT_QUERYFSEBLOCK) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryFSEBlock(param0: *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryFSEBlock(param0 : *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryFSEBlock(param0).ok() + D3DKMTQueryFSEBlock(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryProcessOfferInfo(param0: *mut D3DKMT_QUERYPROCESSOFFERINFO) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryProcessOfferInfo(param0: *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProcessOfferInfo(param0 : *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryProcessOfferInfo(param0).ok() + D3DKMTQueryProcessOfferInfo(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryProtectedSessionInfoFromNtHandle(param0).ok() + D3DKMTQueryProtectedSessionInfoFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryProtectedSessionStatus(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryProtectedSessionStatus(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProtectedSessionStatus(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryProtectedSessionStatus(param0).ok() + D3DKMTQueryProtectedSessionStatus(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0: *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0: *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0 : *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0).ok() + D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryResourceInfo(param0: *mut D3DKMT_QUERYRESOURCEINFO) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryResourceInfo(param0: *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryResourceInfo(param0 : *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryResourceInfo(param0).ok() + D3DKMTQueryResourceInfo(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryResourceInfoFromNtHandle(param0: *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryResourceInfoFromNtHandle(param0: *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryResourceInfoFromNtHandle(param0 : *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryResourceInfoFromNtHandle(param0).ok() + D3DKMTQueryResourceInfoFromNtHandle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryStatistics(param0: *const D3DKMT_QUERYSTATISTICS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryStatistics(param0: *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryStatistics(param0 : *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryStatistics(param0).ok() + D3DKMTQueryStatistics(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryVidPnExclusiveOwnership(param0: *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryVidPnExclusiveOwnership(param0: *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryVidPnExclusiveOwnership(param0 : *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryVidPnExclusiveOwnership(param0).ok() + D3DKMTQueryVidPnExclusiveOwnership(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTQueryVideoMemoryInfo(param0: *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTQueryVideoMemoryInfo(param0: *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryVideoMemoryInfo(param0 : *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTQueryVideoMemoryInfo(param0).ok() + D3DKMTQueryVideoMemoryInfo(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReclaimAllocations(param0: *mut D3DKMT_RECLAIMALLOCATIONS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTReclaimAllocations(param0: *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReclaimAllocations(param0 : *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReclaimAllocations(param0).ok() + D3DKMTReclaimAllocations(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReclaimAllocations2(param0: *mut D3DKMT_RECLAIMALLOCATIONS2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTReclaimAllocations2(param0: *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReclaimAllocations2(param0 : *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReclaimAllocations2(param0).ok() + D3DKMTReclaimAllocations2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTRegisterTrimNotification(param0: *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTRegisterTrimNotification(param0: *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRegisterTrimNotification(param0 : *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTRegisterTrimNotification(param0).ok() + D3DKMTRegisterTrimNotification(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTRegisterVailProcess(param0: *const ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTRegisterVailProcess(param0: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRegisterVailProcess(param0 : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTRegisterVailProcess(param0).ok() + D3DKMTRegisterVailProcess(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReleaseKeyedMutex(param0: *mut D3DKMT_RELEASEKEYEDMUTEX) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTReleaseKeyedMutex(param0: *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseKeyedMutex(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReleaseKeyedMutex(param0).ok() + D3DKMTReleaseKeyedMutex(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReleaseKeyedMutex2(param0: *mut D3DKMT_RELEASEKEYEDMUTEX2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTReleaseKeyedMutex2(param0: *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseKeyedMutex2(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReleaseKeyedMutex2(param0).ok() + D3DKMTReleaseKeyedMutex2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReleaseProcessVidPnSourceOwners(param0: P0) -> ::windows_core::Result<()> +pub unsafe fn D3DKMTReleaseProcessVidPnSourceOwners(param0: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseProcessVidPnSourceOwners(param0 : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReleaseProcessVidPnSourceOwners(param0.into_param().abi()).ok() + D3DKMTReleaseProcessVidPnSourceOwners(param0.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTRender(param0: *mut D3DKMT_RENDER) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTRender(param0: *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRender(param0 : *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTRender(param0).ok() + D3DKMTRender(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTReserveGpuVirtualAddress(param0: *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTReserveGpuVirtualAddress(param0: *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReserveGpuVirtualAddress(param0 : *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTReserveGpuVirtualAddress(param0).ok() + D3DKMTReserveGpuVirtualAddress(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetAllocationPriority(param0: *const D3DKMT_SETALLOCATIONPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetAllocationPriority(param0: *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetAllocationPriority(param0 : *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetAllocationPriority(param0).ok() + D3DKMTSetAllocationPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetContextInProcessSchedulingPriority(param0: *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetContextInProcessSchedulingPriority(param0: *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetContextInProcessSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetContextInProcessSchedulingPriority(param0).ok() + D3DKMTSetContextInProcessSchedulingPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetContextSchedulingPriority(param0: *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetContextSchedulingPriority(param0: *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetContextSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetContextSchedulingPriority(param0).ok() + D3DKMTSetContextSchedulingPriority(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetDisplayMode(param0: *mut D3DKMT_SETDISPLAYMODE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetDisplayMode(param0: *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetDisplayMode(param0 : *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetDisplayMode(param0).ok() + D3DKMTSetDisplayMode(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetDisplayPrivateDriverFormat(param0: *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetDisplayPrivateDriverFormat(param0: *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetDisplayPrivateDriverFormat(param0 : *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetDisplayPrivateDriverFormat(param0).ok() + D3DKMTSetDisplayPrivateDriverFormat(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetFSEBlock(param0: *const D3DKMT_SETFSEBLOCK) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetFSEBlock(param0: *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetFSEBlock(param0 : *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetFSEBlock(param0).ok() + D3DKMTSetFSEBlock(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetGammaRamp(param0: *const D3DKMT_SETGAMMARAMP) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetGammaRamp(param0: *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetGammaRamp(param0 : *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetGammaRamp(param0).ok() + D3DKMTSetGammaRamp(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetHwProtectionTeardownRecovery(param0: *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetHwProtectionTeardownRecovery(param0: *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetHwProtectionTeardownRecovery(param0 : *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetHwProtectionTeardownRecovery(param0).ok() + D3DKMTSetHwProtectionTeardownRecovery(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetMonitorColorSpaceTransform(param0: *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetMonitorColorSpaceTransform(param0: *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetMonitorColorSpaceTransform(param0 : *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetMonitorColorSpaceTransform(param0).ok() + D3DKMTSetMonitorColorSpaceTransform(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetProcessSchedulingPriorityClass(param0: P0, param1: D3DKMT_SCHEDULINGPRIORITYCLASS) -> ::windows_core::Result<()> +pub unsafe fn D3DKMTSetProcessSchedulingPriorityClass(param0: P0, param1: D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetProcessSchedulingPriorityClass(param0.into_param().abi(), param1).ok() + D3DKMTSetProcessSchedulingPriorityClass(param0.into_param().abi(), param1) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetQueuedLimit(param0: *const D3DKMT_SETQUEUEDLIMIT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetQueuedLimit(param0: *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetQueuedLimit(param0 : *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetQueuedLimit(param0).ok() + D3DKMTSetQueuedLimit(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetStablePowerState(param0: *const D3DKMT_SETSTABLEPOWERSTATE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetStablePowerState(param0: *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetStablePowerState(param0 : *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetStablePowerState(param0).ok() + D3DKMTSetStablePowerState(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetSyncRefreshCountWaitTarget(param0: *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetSyncRefreshCountWaitTarget(param0: *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetSyncRefreshCountWaitTarget(param0 : *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetSyncRefreshCountWaitTarget(param0).ok() + D3DKMTSetSyncRefreshCountWaitTarget(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetVidPnSourceHwProtection(param0: *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetVidPnSourceHwProtection(param0: *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceHwProtection(param0 : *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetVidPnSourceHwProtection(param0).ok() + D3DKMTSetVidPnSourceHwProtection(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetVidPnSourceOwner(param0: *const D3DKMT_SETVIDPNSOURCEOWNER) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetVidPnSourceOwner(param0: *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetVidPnSourceOwner(param0).ok() + D3DKMTSetVidPnSourceOwner(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetVidPnSourceOwner1(param0: *const D3DKMT_SETVIDPNSOURCEOWNER1) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetVidPnSourceOwner1(param0: *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner1(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetVidPnSourceOwner1(param0).ok() + D3DKMTSetVidPnSourceOwner1(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSetVidPnSourceOwner2(param0: *const D3DKMT_SETVIDPNSOURCEOWNER2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSetVidPnSourceOwner2(param0: *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner2(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSetVidPnSourceOwner2(param0).ok() + D3DKMTSetVidPnSourceOwner2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn D3DKMTShareObjects(hobjects: &[u32], pobjectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, dwdesiredaccess: u32, phsharednthandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTShareObjects(hobjects: &[u32], pobjectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, dwdesiredaccess: u32, phsharednthandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTShareObjects(cobjects : u32, hobjects : *const u32, pobjectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, dwdesiredaccess : u32, phsharednthandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTShareObjects(hobjects.len() as _, ::core::mem::transmute(hobjects.as_ptr()), pobjectattributes, dwdesiredaccess, phsharednthandle).ok() + D3DKMTShareObjects(hobjects.len() as _, ::core::mem::transmute(hobjects.as_ptr()), pobjectattributes, dwdesiredaccess, phsharednthandle) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSharedPrimaryLockNotification(param0: *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSharedPrimaryLockNotification(param0: *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSharedPrimaryLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSharedPrimaryLockNotification(param0).ok() + D3DKMTSharedPrimaryLockNotification(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSharedPrimaryUnLockNotification(param0: *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSharedPrimaryUnLockNotification(param0: *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSharedPrimaryUnLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSharedPrimaryUnLockNotification(param0).ok() + D3DKMTSharedPrimaryUnLockNotification(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSignalSynchronizationObject(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSignalSynchronizationObject(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObject(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSignalSynchronizationObject(param0).ok() + D3DKMTSignalSynchronizationObject(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSignalSynchronizationObject2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSignalSynchronizationObject2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObject2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSignalSynchronizationObject2(param0).ok() + D3DKMTSignalSynchronizationObject2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSignalSynchronizationObjectFromCpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSignalSynchronizationObjectFromCpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromCpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSignalSynchronizationObjectFromCpu(param0).ok() + D3DKMTSignalSynchronizationObjectFromCpu(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromGpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSignalSynchronizationObjectFromGpu(param0).ok() + D3DKMTSignalSynchronizationObjectFromGpu(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromGpu2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSignalSynchronizationObjectFromGpu2(param0).ok() + D3DKMTSignalSynchronizationObjectFromGpu2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitCommand(param0: *const D3DKMT_SUBMITCOMMAND) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitCommand(param0: *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitCommand(param0 : *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitCommand(param0).ok() + D3DKMTSubmitCommand(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitCommandToHwQueue(param0: *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitCommandToHwQueue(param0: *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitCommandToHwQueue(param0 : *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitCommandToHwQueue(param0).ok() + D3DKMTSubmitCommandToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitPresentBltToHwQueue(param0: *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitPresentBltToHwQueue(param0: *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTSubmitPresentBltToHwQueue(param0 : *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitPresentBltToHwQueue(param0).ok() + D3DKMTSubmitPresentBltToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitPresentToHwQueue(param0: *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitPresentToHwQueue(param0: *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTSubmitPresentToHwQueue(param0 : *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitPresentToHwQueue(param0).ok() + D3DKMTSubmitPresentToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitSignalSyncObjectsToHwQueue(param0).ok() + D3DKMTSubmitSignalSyncObjectsToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0).ok() + D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTTrimProcessCommitment(param0: *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTTrimProcessCommitment(param0: *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTTrimProcessCommitment(param0 : *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTTrimProcessCommitment(param0).ok() + D3DKMTTrimProcessCommitment(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUnlock(param0: *const D3DKMT_UNLOCK) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUnlock(param0: *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnlock(param0 : *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUnlock(param0).ok() + D3DKMTUnlock(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUnlock2(param0: *const D3DKMT_UNLOCK2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUnlock2(param0: *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnlock2(param0 : *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUnlock2(param0).ok() + D3DKMTUnlock2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUnregisterTrimNotification(param0: *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUnregisterTrimNotification(param0: *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnregisterTrimNotification(param0 : *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUnregisterTrimNotification(param0).ok() + D3DKMTUnregisterTrimNotification(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUpdateAllocationProperty(param0: *mut D3DDDI_UPDATEALLOCPROPERTY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUpdateAllocationProperty(param0: *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateAllocationProperty(param0 : *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUpdateAllocationProperty(param0).ok() + D3DKMTUpdateAllocationProperty(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUpdateGpuVirtualAddress(param0: *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUpdateGpuVirtualAddress(param0: *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateGpuVirtualAddress(param0 : *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUpdateGpuVirtualAddress(param0).ok() + D3DKMTUpdateGpuVirtualAddress(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTUpdateOverlay(param0: *const D3DKMT_UPDATEOVERLAY) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTUpdateOverlay(param0: *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateOverlay(param0 : *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTUpdateOverlay(param0).ok() + D3DKMTUpdateOverlay(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForIdle(param0: *const D3DKMT_WAITFORIDLE) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForIdle(param0: *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForIdle(param0 : *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForIdle(param0).ok() + D3DKMTWaitForIdle(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForSynchronizationObject(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForSynchronizationObject(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObject(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForSynchronizationObject(param0).ok() + D3DKMTWaitForSynchronizationObject(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForSynchronizationObject2(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForSynchronizationObject2(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObject2(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForSynchronizationObject2(param0).ok() + D3DKMTWaitForSynchronizationObject2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForSynchronizationObjectFromCpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForSynchronizationObjectFromCpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObjectFromCpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForSynchronizationObjectFromCpu(param0).ok() + D3DKMTWaitForSynchronizationObjectFromCpu(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForSynchronizationObjectFromGpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForSynchronizationObjectFromGpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObjectFromGpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForSynchronizationObjectFromGpu(param0).ok() + D3DKMTWaitForSynchronizationObjectFromGpu(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForVerticalBlankEvent(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForVerticalBlankEvent(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForVerticalBlankEvent(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForVerticalBlankEvent(param0).ok() + D3DKMTWaitForVerticalBlankEvent(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn D3DKMTWaitForVerticalBlankEvent2(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> ::windows_core::Result<()> { +pub unsafe fn D3DKMTWaitForVerticalBlankEvent2(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForVerticalBlankEvent2(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation:: NTSTATUS); - D3DKMTWaitForVerticalBlankEvent2(param0).ok() + D3DKMTWaitForVerticalBlankEvent2(param0) } #[doc = "*Required features: `\"Wdk_Graphics_Direct3D\"`*"] pub const D3DCLEAR_COMPUTERECTS: i32 = 8i32; diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs index ddb60cf63a..adec6486da 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs @@ -48,53 +48,53 @@ pub unsafe fn FltAcquireResourceShared(resource: *mut super::super::super::Found #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltAddOpenReparseEntry(filter: P0, data: *const FLT_CALLBACK_DATA, openreparseentry: *const super::OPEN_REPARSE_LIST_ENTRY) -> ::windows_core::Result<()> +pub unsafe fn FltAddOpenReparseEntry(filter: P0, data: *const FLT_CALLBACK_DATA, openreparseentry: *const super::OPEN_REPARSE_LIST_ENTRY) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAddOpenReparseEntry(filter : PFLT_FILTER, data : *const FLT_CALLBACK_DATA, openreparseentry : *const super:: OPEN_REPARSE_LIST_ENTRY) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAddOpenReparseEntry(filter.into_param().abi(), data, openreparseentry).ok() + FltAddOpenReparseEntry(filter.into_param().abi(), data, openreparseentry) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltAdjustDeviceStackSizeForIoRedirection(sourceinstance: P0, targetinstance: P1, sourcedevicestacksizemodified: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> +pub unsafe fn FltAdjustDeviceStackSizeForIoRedirection(sourceinstance: P0, targetinstance: P1, sourcedevicestacksizemodified: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAdjustDeviceStackSizeForIoRedirection(sourceinstance : PFLT_INSTANCE, targetinstance : PFLT_INSTANCE, sourcedevicestacksizemodified : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAdjustDeviceStackSizeForIoRedirection(sourceinstance.into_param().abi(), targetinstance.into_param().abi(), ::core::mem::transmute(sourcedevicestacksizemodified.unwrap_or(::std::ptr::null_mut()))).ok() + FltAdjustDeviceStackSizeForIoRedirection(sourceinstance.into_param().abi(), targetinstance.into_param().abi(), ::core::mem::transmute(sourcedevicestacksizemodified.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltAllocateCallbackData(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, retnewcallbackdata: *mut *mut FLT_CALLBACK_DATA) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateCallbackData(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, retnewcallbackdata: *mut *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateCallbackData(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, retnewcallbackdata : *mut *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateCallbackData(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), retnewcallbackdata).ok() + FltAllocateCallbackData(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), retnewcallbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltAllocateCallbackDataEx(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, flags: u32, retnewcallbackdata: *mut *mut FLT_CALLBACK_DATA) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateCallbackDataEx(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, flags: u32, retnewcallbackdata: *mut *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateCallbackDataEx(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, flags : u32, retnewcallbackdata : *mut *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateCallbackDataEx(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), flags, retnewcallbackdata).ok() + FltAllocateCallbackDataEx(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), flags, retnewcallbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltAllocateContext(filter: P0, contexttype: u16, contextsize: usize, pooltype: super::super::super::Foundation::POOL_TYPE, returnedcontext: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateContext(filter: P0, contexttype: u16, contextsize: usize, pooltype: super::super::super::Foundation::POOL_TYPE, returnedcontext: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateContext(filter : PFLT_FILTER, contexttype : u16, contextsize : usize, pooltype : super::super::super::Foundation:: POOL_TYPE, returnedcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateContext(filter.into_param().abi(), contexttype, contextsize, pooltype, returnedcontext).ok() + FltAllocateContext(filter.into_param().abi(), contexttype, contextsize, pooltype, returnedcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -105,32 +105,32 @@ pub unsafe fn FltAllocateDeferredIoWorkItem() -> PFLT_DEFERRED_IO_WORKITEM { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltAllocateExtraCreateParameter(filter: P0, ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: super::PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag: u32, ecpcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateExtraCreateParameter(filter: P0, ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: super::PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag: u32, ecpcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateExtraCreateParameter(filter : PFLT_FILTER, ecptype : *const ::windows_core::GUID, sizeofcontext : u32, flags : u32, cleanupcallback : super:: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag : u32, ecpcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateExtraCreateParameter(filter.into_param().abi(), ecptype, sizeofcontext, flags, cleanupcallback, pooltag, ecpcontext).ok() + FltAllocateExtraCreateParameter(filter.into_param().abi(), ecptype, sizeofcontext, flags, cleanupcallback, pooltag, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltAllocateExtraCreateParameterFromLookasideList(filter: P0, ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: super::PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist: *mut ::core::ffi::c_void, ecpcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateExtraCreateParameterFromLookasideList(filter: P0, ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: super::PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist: *mut ::core::ffi::c_void, ecpcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateExtraCreateParameterFromLookasideList(filter : PFLT_FILTER, ecptype : *const ::windows_core::GUID, sizeofcontext : u32, flags : u32, cleanupcallback : super:: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist : *mut ::core::ffi::c_void, ecpcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateExtraCreateParameterFromLookasideList(filter.into_param().abi(), ecptype, sizeofcontext, flags, cleanupcallback, lookasidelist, ecpcontext).ok() + FltAllocateExtraCreateParameterFromLookasideList(filter.into_param().abi(), ecptype, sizeofcontext, flags, cleanupcallback, lookasidelist, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltAllocateExtraCreateParameterList(filter: P0, flags: u32, ecplist: *mut *mut super::super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> +pub unsafe fn FltAllocateExtraCreateParameterList(filter: P0, flags: u32, ecplist: *mut *mut super::super::super::Foundation::ECP_LIST) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAllocateExtraCreateParameterList(filter : PFLT_FILTER, flags : u32, ecplist : *mut *mut super::super::super::Foundation:: ECP_LIST) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAllocateExtraCreateParameterList(filter.into_param().abi(), flags, ecplist).ok() + FltAllocateExtraCreateParameterList(filter.into_param().abi(), flags, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -158,41 +158,41 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltApplyPriorityInfoThread(inputpriorityinfo: *const super::IO_PRIORITY_INFO, outputpriorityinfo: ::core::option::Option<*mut super::IO_PRIORITY_INFO>, thread: P0) -> ::windows_core::Result<()> +pub unsafe fn FltApplyPriorityInfoThread(inputpriorityinfo: *const super::IO_PRIORITY_INFO, outputpriorityinfo: ::core::option::Option<*mut super::IO_PRIORITY_INFO>, thread: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltApplyPriorityInfoThread(inputpriorityinfo : *const super:: IO_PRIORITY_INFO, outputpriorityinfo : *mut super:: IO_PRIORITY_INFO, thread : super::super::super::Foundation:: PETHREAD) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltApplyPriorityInfoThread(inputpriorityinfo, ::core::mem::transmute(outputpriorityinfo.unwrap_or(::std::ptr::null_mut())), thread.into_param().abi()).ok() + FltApplyPriorityInfoThread(inputpriorityinfo, ::core::mem::transmute(outputpriorityinfo.unwrap_or(::std::ptr::null_mut())), thread.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltAttachVolume(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: ::core::option::Option<*mut PFLT_INSTANCE>) -> ::windows_core::Result<()> +pub unsafe fn FltAttachVolume(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: ::core::option::Option<*mut PFLT_INSTANCE>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAttachVolume(filter : PFLT_FILTER, volume : PFLT_VOLUME, instancename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, retinstance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAttachVolume(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(retinstance.unwrap_or(::std::ptr::null_mut()))).ok() + FltAttachVolume(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(retinstance.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltAttachVolumeAtAltitude(filter: P0, volume: P1, altitude: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: ::core::option::Option<*mut PFLT_INSTANCE>) -> ::windows_core::Result<()> +pub unsafe fn FltAttachVolumeAtAltitude(filter: P0, volume: P1, altitude: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: ::core::option::Option<*mut PFLT_INSTANCE>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltAttachVolumeAtAltitude(filter : PFLT_FILTER, volume : PFLT_VOLUME, altitude : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, instancename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, retinstance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltAttachVolumeAtAltitude(filter.into_param().abi(), volume.into_param().abi(), altitude, ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(retinstance.unwrap_or(::std::ptr::null_mut()))).ok() + FltAttachVolumeAtAltitude(filter.into_param().abi(), volume.into_param().abi(), altitude, ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(retinstance.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn FltBuildDefaultSecurityDescriptor(securitydescriptor: *mut super::super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, desiredaccess: u32) -> ::windows_core::Result<()> { +pub unsafe fn FltBuildDefaultSecurityDescriptor(securitydescriptor: *mut super::super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, desiredaccess: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltBuildDefaultSecurityDescriptor(securitydescriptor : *mut super::super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, desiredaccess : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltBuildDefaultSecurityDescriptor(securitydescriptor, desiredaccess).ok() + FltBuildDefaultSecurityDescriptor(securitydescriptor, desiredaccess) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -214,16 +214,16 @@ pub unsafe fn FltCancelIo(callbackdata: *const FLT_CALLBACK_DATA) -> super::supe #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCancellableWaitForMultipleObjects(objectarray: &[*const ::core::ffi::c_void], waittype: super::super::super::super::Win32::System::Kernel::WAIT_TYPE, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*const super::super::super::Foundation::KWAIT_BLOCK>, callbackdata: *const FLT_CALLBACK_DATA) -> ::windows_core::Result<()> { +pub unsafe fn FltCancellableWaitForMultipleObjects(objectarray: &[*const ::core::ffi::c_void], waittype: super::super::super::super::Win32::System::Kernel::WAIT_TYPE, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*const super::super::super::Foundation::KWAIT_BLOCK>, callbackdata: *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltCancellableWaitForMultipleObjects(count : u32, objectarray : *const *const ::core::ffi::c_void, waittype : super::super::super::super::Win32::System::Kernel:: WAIT_TYPE, timeout : *const i64, waitblockarray : *const super::super::super::Foundation:: KWAIT_BLOCK, callbackdata : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCancellableWaitForMultipleObjects(objectarray.len() as _, ::core::mem::transmute(objectarray.as_ptr()), waittype, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null())), callbackdata).ok() + FltCancellableWaitForMultipleObjects(objectarray.len() as _, ::core::mem::transmute(objectarray.as_ptr()), waittype, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null())), callbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCancellableWaitForSingleObject(object: *const ::core::ffi::c_void, timeout: ::core::option::Option<*const i64>, callbackdata: ::core::option::Option<*const FLT_CALLBACK_DATA>) -> ::windows_core::Result<()> { +pub unsafe fn FltCancellableWaitForSingleObject(object: *const ::core::ffi::c_void, timeout: ::core::option::Option<*const i64>, callbackdata: ::core::option::Option<*const FLT_CALLBACK_DATA>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltCancellableWaitForSingleObject(object : *const ::core::ffi::c_void, timeout : *const i64, callbackdata : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCancellableWaitForSingleObject(object, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(callbackdata.unwrap_or(::std::ptr::null()))).ok() + FltCancellableWaitForSingleObject(object, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(callbackdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -242,19 +242,19 @@ pub unsafe fn FltCbdqEnable(cbdq: *mut FLT_CALLBACK_DATA_QUEUE) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCbdqInitialize(instance: P0, cbdq: *mut FLT_CALLBACK_DATA_QUEUE, cbdqinsertio: PFLT_CALLBACK_DATA_QUEUE_INSERT_IO, cbdqremoveio: PFLT_CALLBACK_DATA_QUEUE_REMOVE_IO, cbdqpeeknextio: PFLT_CALLBACK_DATA_QUEUE_PEEK_NEXT_IO, cbdqacquire: PFLT_CALLBACK_DATA_QUEUE_ACQUIRE, cbdqrelease: PFLT_CALLBACK_DATA_QUEUE_RELEASE, cbdqcompletecanceledio: PFLT_CALLBACK_DATA_QUEUE_COMPLETE_CANCELED_IO) -> ::windows_core::Result<()> +pub unsafe fn FltCbdqInitialize(instance: P0, cbdq: *mut FLT_CALLBACK_DATA_QUEUE, cbdqinsertio: PFLT_CALLBACK_DATA_QUEUE_INSERT_IO, cbdqremoveio: PFLT_CALLBACK_DATA_QUEUE_REMOVE_IO, cbdqpeeknextio: PFLT_CALLBACK_DATA_QUEUE_PEEK_NEXT_IO, cbdqacquire: PFLT_CALLBACK_DATA_QUEUE_ACQUIRE, cbdqrelease: PFLT_CALLBACK_DATA_QUEUE_RELEASE, cbdqcompletecanceledio: PFLT_CALLBACK_DATA_QUEUE_COMPLETE_CANCELED_IO) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCbdqInitialize(instance : PFLT_INSTANCE, cbdq : *mut FLT_CALLBACK_DATA_QUEUE, cbdqinsertio : PFLT_CALLBACK_DATA_QUEUE_INSERT_IO, cbdqremoveio : PFLT_CALLBACK_DATA_QUEUE_REMOVE_IO, cbdqpeeknextio : PFLT_CALLBACK_DATA_QUEUE_PEEK_NEXT_IO, cbdqacquire : PFLT_CALLBACK_DATA_QUEUE_ACQUIRE, cbdqrelease : PFLT_CALLBACK_DATA_QUEUE_RELEASE, cbdqcompletecanceledio : PFLT_CALLBACK_DATA_QUEUE_COMPLETE_CANCELED_IO) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCbdqInitialize(instance.into_param().abi(), cbdq, cbdqinsertio, cbdqremoveio, cbdqpeeknextio, cbdqacquire, cbdqrelease, cbdqcompletecanceledio).ok() + FltCbdqInitialize(instance.into_param().abi(), cbdq, cbdqinsertio, cbdqremoveio, cbdqpeeknextio, cbdqacquire, cbdqrelease, cbdqcompletecanceledio) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCbdqInsertIo(cbdq: *mut FLT_CALLBACK_DATA_QUEUE, cbd: *const FLT_CALLBACK_DATA, context: ::core::option::Option<*const super::super::super::System::SystemServices::IO_CSQ_IRP_CONTEXT>, insertcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn FltCbdqInsertIo(cbdq: *mut FLT_CALLBACK_DATA_QUEUE, cbd: *const FLT_CALLBACK_DATA, context: ::core::option::Option<*const super::super::super::System::SystemServices::IO_CSQ_IRP_CONTEXT>, insertcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltCbdqInsertIo(cbdq : *mut FLT_CALLBACK_DATA_QUEUE, cbd : *const FLT_CALLBACK_DATA, context : *const super::super::super::System::SystemServices:: IO_CSQ_IRP_CONTEXT, insertcontext : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCbdqInsertIo(cbdq, cbd, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(insertcontext.unwrap_or(::std::ptr::null()))).ok() + FltCbdqInsertIo(cbdq, cbd, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(insertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -273,9 +273,9 @@ pub unsafe fn FltCbdqRemoveNextIo(cbdq: *mut FLT_CALLBACK_DATA_QUEUE, peekcontex #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltCheckAndGrowNameControl(namectrl: *mut FLT_NAME_CONTROL, newsize: u16) -> ::windows_core::Result<()> { +pub unsafe fn FltCheckAndGrowNameControl(namectrl: *mut FLT_NAME_CONTROL, newsize: u16) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltCheckAndGrowNameControl(namectrl : *mut FLT_NAME_CONTROL, newsize : u16) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCheckAndGrowNameControl(namectrl, newsize).ok() + FltCheckAndGrowNameControl(namectrl, newsize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -315,19 +315,19 @@ pub unsafe fn FltClearCallbackDataDirty(data: *mut FLT_CALLBACK_DATA) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltClearCancelCompletion(callbackdata: *const FLT_CALLBACK_DATA) -> ::windows_core::Result<()> { +pub unsafe fn FltClearCancelCompletion(callbackdata: *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltClearCancelCompletion(callbackdata : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltClearCancelCompletion(callbackdata).ok() + FltClearCancelCompletion(callbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltClose(filehandle: P0) -> ::windows_core::Result<()> +pub unsafe fn FltClose(filehandle: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltClose(filehandle : super::super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltClose(filehandle.into_param().abi()).ok() + FltClose(filehandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -350,34 +350,34 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltCloseSectionForDataScan(sectioncontext: P0) -> ::windows_core::Result<()> +pub unsafe fn FltCloseSectionForDataScan(sectioncontext: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCloseSectionForDataScan(sectioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCloseSectionForDataScan(sectioncontext.into_param().abi()).ok() + FltCloseSectionForDataScan(sectioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltCommitComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltCommitComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCommitComplete(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCommitComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltCommitComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltCommitFinalizeComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltCommitFinalizeComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCommitFinalizeComplete(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCommitFinalizeComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltCommitFinalizeComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -406,98 +406,134 @@ pub unsafe fn FltCompletePendedPreOperation(callbackdata: *const FLT_CALLBACK_DA #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCopyOpenReparseList(filter: P0, data: *const FLT_CALLBACK_DATA, ecplist: *mut super::super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> +pub unsafe fn FltCopyOpenReparseList(filter: P0, data: *const FLT_CALLBACK_DATA, ecplist: *mut super::super::super::Foundation::ECP_LIST) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCopyOpenReparseList(filter : PFLT_FILTER, data : *const FLT_CALLBACK_DATA, ecplist : *mut super::super::super::Foundation:: ECP_LIST) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCopyOpenReparseList(filter.into_param().abi(), data, ecplist).ok() + FltCopyOpenReparseList(filter.into_param().abi(), data, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltCreateCommunicationPort(filter: P0, serverport: *mut PFLT_PORT, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, serverportcookie: ::core::option::Option<*const ::core::ffi::c_void>, connectnotifycallback: PFLT_CONNECT_NOTIFY, disconnectnotifycallback: PFLT_DISCONNECT_NOTIFY, messagenotifycallback: PFLT_MESSAGE_NOTIFY, maxconnections: i32) -> ::windows_core::Result<()> +pub unsafe fn FltCreateCommunicationPort(filter: P0, serverport: *mut PFLT_PORT, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, serverportcookie: ::core::option::Option<*const ::core::ffi::c_void>, connectnotifycallback: PFLT_CONNECT_NOTIFY, disconnectnotifycallback: PFLT_DISCONNECT_NOTIFY, messagenotifycallback: PFLT_MESSAGE_NOTIFY, maxconnections: i32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateCommunicationPort(filter : PFLT_FILTER, serverport : *mut PFLT_PORT, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, serverportcookie : *const ::core::ffi::c_void, connectnotifycallback : PFLT_CONNECT_NOTIFY, disconnectnotifycallback : PFLT_DISCONNECT_NOTIFY, messagenotifycallback : PFLT_MESSAGE_NOTIFY, maxconnections : i32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateCommunicationPort(filter.into_param().abi(), serverport, objectattributes, ::core::mem::transmute(serverportcookie.unwrap_or(::std::ptr::null())), connectnotifycallback, disconnectnotifycallback, messagenotifycallback, maxconnections).ok() + FltCreateCommunicationPort(filter.into_param().abi(), serverport, objectattributes, ::core::mem::transmute(serverportcookie.unwrap_or(::std::ptr::null())), connectnotifycallback, disconnectnotifycallback, messagenotifycallback, maxconnections) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn FltCreateFile(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn FltCreateFile(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, flags: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateFile(filter : PFLT_FILTER, instance : PFLT_INSTANCE, filehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, createdisposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, flags : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags).ok() + FltCreateFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCreateFileEx(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn FltCreateFileEx(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, flags: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateFileEx(filter : PFLT_FILTER, instance : PFLT_INSTANCE, filehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, fileobject : *mut *mut super::super::super::Foundation:: FILE_OBJECT, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, createdisposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, flags : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateFileEx(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags).ok() -} -#[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -#[inline] -pub unsafe fn FltCreateFileEx2(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, flags: u32, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> + FltCreateFileEx(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags) +} +#[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +#[inline] +pub unsafe fn FltCreateFileEx2( + filter: P0, + instance: P1, + filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, + fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, + desiredaccess: u32, + objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, + iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, + allocationsize: ::core::option::Option<*const i64>, + fileattributes: u32, + shareaccess: u32, + createdisposition: u32, + createoptions: u32, + eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, + ealength: u32, + flags: u32, + drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>, +) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateFileEx2(filter : PFLT_FILTER, instance : PFLT_INSTANCE, filehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, fileobject : *mut *mut super::super::super::Foundation:: FILE_OBJECT, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, createdisposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, flags : u32, drivercontext : *const super::super::super::System::SystemServices:: IO_DRIVER_CREATE_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateFileEx2(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + FltCreateFileEx2(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, flags, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCreateMailslotFile(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, createoptions: u32, mailslotquota: u32, maximummessagesize: u32, readtimeout: *const i64, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltCreateMailslotFile(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, createoptions: u32, mailslotquota: u32, maximummessagesize: u32, readtimeout: *const i64, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateMailslotFile(filter : PFLT_FILTER, instance : PFLT_INSTANCE, filehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, fileobject : *mut *mut super::super::super::Foundation:: FILE_OBJECT, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, createoptions : u32, mailslotquota : u32, maximummessagesize : u32, readtimeout : *const i64, drivercontext : *const super::super::super::System::SystemServices:: IO_DRIVER_CREATE_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateMailslotFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, createoptions, mailslotquota, maximummessagesize, readtimeout, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() -} -#[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -#[inline] -pub unsafe fn FltCreateNamedPipeFile(filter: P0, instance: P1, filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, desiredaccess: u32, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, createdisposition: u32, createoptions: u32, namedpipetype: u32, readmode: u32, completionmode: u32, maximuminstances: u32, inboundquota: u32, outboundquota: u32, defaulttimeout: ::core::option::Option<*const i64>, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> + FltCreateMailslotFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, createoptions, mailslotquota, maximummessagesize, readtimeout, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) +} +#[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +#[inline] +pub unsafe fn FltCreateNamedPipeFile( + filter: P0, + instance: P1, + filehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, + fileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>, + desiredaccess: u32, + objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, + iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, + shareaccess: u32, + createdisposition: u32, + createoptions: u32, + namedpipetype: u32, + readmode: u32, + completionmode: u32, + maximuminstances: u32, + inboundquota: u32, + outboundquota: u32, + defaulttimeout: ::core::option::Option<*const i64>, + drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>, +) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateNamedPipeFile(filter : PFLT_FILTER, instance : PFLT_INSTANCE, filehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, fileobject : *mut *mut super::super::super::Foundation:: FILE_OBJECT, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, shareaccess : u32, createdisposition : u32, createoptions : u32, namedpipetype : u32, readmode : u32, completionmode : u32, maximuminstances : u32, inboundquota : u32, outboundquota : u32, defaulttimeout : *const i64, drivercontext : *const super::super::super::System::SystemServices:: IO_DRIVER_CREATE_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateNamedPipeFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, shareaccess, createdisposition, createoptions, namedpipetype, readmode, completionmode, maximuminstances, inboundquota, outboundquota, ::core::mem::transmute(defaulttimeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + FltCreateNamedPipeFile(filter.into_param().abi(), instance.into_param().abi(), filehandle, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectattributes, iostatusblock, shareaccess, createdisposition, createoptions, namedpipetype, readmode, completionmode, maximuminstances, inboundquota, outboundquota, ::core::mem::transmute(defaulttimeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltCreateSectionForDataScan(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, sectioncontext: P1, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, flags: u32, sectionhandle: *mut super::super::super::super::Win32::Foundation::HANDLE, sectionobject: *mut *mut ::core::ffi::c_void, sectionfilesize: ::core::option::Option<*mut i64>) -> ::windows_core::Result<()> +pub unsafe fn FltCreateSectionForDataScan(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, sectioncontext: P1, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, flags: u32, sectionhandle: *mut super::super::super::super::Win32::Foundation::HANDLE, sectionobject: *mut *mut ::core::ffi::c_void, sectionfilesize: ::core::option::Option<*mut i64>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateSectionForDataScan(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, sectioncontext : PFLT_CONTEXT, desiredaccess : u32, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, flags : u32, sectionhandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, sectionobject : *mut *mut ::core::ffi::c_void, sectionfilesize : *mut i64) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateSectionForDataScan(instance.into_param().abi(), fileobject, sectioncontext.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, flags, sectionhandle, sectionobject, ::core::mem::transmute(sectionfilesize.unwrap_or(::std::ptr::null_mut()))).ok() + FltCreateSectionForDataScan(instance.into_param().abi(), fileobject, sectioncontext.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, flags, sectionhandle, sectionobject, ::core::mem::transmute(sectionfilesize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltCreateSystemVolumeInformationFolder(instance: P0) -> ::windows_core::Result<()> +pub unsafe fn FltCreateSystemVolumeInformationFolder(instance: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltCreateSystemVolumeInformationFolder(instance : PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltCreateSystemVolumeInformationFolder(instance.into_param().abi()).ok() + FltCreateSystemVolumeInformationFolder(instance.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -523,9 +559,9 @@ pub unsafe fn FltCurrentOplockH(oplock: *const *const ::core::ffi::c_void) -> su #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltDecodeParameters(callbackdata: *const FLT_CALLBACK_DATA, mdladdresspointer: ::core::option::Option<*mut *mut *mut super::super::super::Foundation::MDL>, buffer: ::core::option::Option<*mut *mut *mut ::core::ffi::c_void>, length: ::core::option::Option<*mut *mut u32>, desiredaccess: ::core::option::Option<*mut super::super::super::System::SystemServices::LOCK_OPERATION>) -> ::windows_core::Result<()> { +pub unsafe fn FltDecodeParameters(callbackdata: *const FLT_CALLBACK_DATA, mdladdresspointer: ::core::option::Option<*mut *mut *mut super::super::super::Foundation::MDL>, buffer: ::core::option::Option<*mut *mut *mut ::core::ffi::c_void>, length: ::core::option::Option<*mut *mut u32>, desiredaccess: ::core::option::Option<*mut super::super::super::System::SystemServices::LOCK_OPERATION>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltDecodeParameters(callbackdata : *const FLT_CALLBACK_DATA, mdladdresspointer : *mut *mut *mut super::super::super::Foundation:: MDL, buffer : *mut *mut *mut ::core::ffi::c_void, length : *mut *mut u32, desiredaccess : *mut super::super::super::System::SystemServices:: LOCK_OPERATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDecodeParameters(callbackdata, ::core::mem::transmute(mdladdresspointer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(length.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(desiredaccess.unwrap_or(::std::ptr::null_mut()))).ok() + FltDecodeParameters(callbackdata, ::core::mem::transmute(mdladdresspointer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(length.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(desiredaccess.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -548,22 +584,22 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltDeleteFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteFileContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteFileContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteFileContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltDeleteInstanceContext(instance: P0, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteInstanceContext(instance: P0, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteInstanceContext(instance : PFLT_INSTANCE, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteInstanceContext(instance.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteInstanceContext(instance.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -574,64 +610,64 @@ pub unsafe fn FltDeletePushLock(pushlock: *const usize) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltDeleteStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteStreamContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteStreamContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteStreamContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltDeleteStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteStreamHandleContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteStreamHandleContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteStreamHandleContext(instance.into_param().abi(), fileobject, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltDeleteTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteTransactionContext(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteTransactionContext(instance.into_param().abi(), transaction, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteTransactionContext(instance.into_param().abi(), transaction, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltDeleteVolumeContext(filter: P0, volume: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltDeleteVolumeContext(filter: P0, volume: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeleteVolumeContext(filter : PFLT_FILTER, volume : PFLT_VOLUME, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeleteVolumeContext(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeleteVolumeContext(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltDetachVolume(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn FltDetachVolume(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDetachVolume(filter : PFLT_FILTER, volume : PFLT_VOLUME, instancename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDetachVolume(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null()))).ok() + FltDetachVolume(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltDeviceIoControlFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltDeviceIoControlFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltDeviceIoControlFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltDeviceIoControlFile(instance.into_param().abi(), fileobject, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltDeviceIoControlFile(instance.into_param().abi(), fileobject, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -643,92 +679,92 @@ pub unsafe fn FltDoCompletionProcessingWhenSafe(data: *const FLT_CALLBACK_DATA, #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltEnlistInTransaction(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1, notificationmask: u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnlistInTransaction(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1, notificationmask: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnlistInTransaction(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT, notificationmask : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnlistInTransaction(instance.into_param().abi(), transaction, transactioncontext.into_param().abi(), notificationmask).ok() + FltEnlistInTransaction(instance.into_param().abi(), transaction, transactioncontext.into_param().abi(), notificationmask) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltEnumerateFilterInformation(index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltEnumerateFilterInformation(index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateFilterInformation(index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: FILTER_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateFilterInformation(index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateFilterInformation(index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltEnumerateFilters(filterlist: ::core::option::Option<&mut [PFLT_FILTER]>, numberfiltersreturned: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltEnumerateFilters(filterlist: ::core::option::Option<&mut [PFLT_FILTER]>, numberfiltersreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateFilters(filterlist : *mut PFLT_FILTER, filterlistsize : u32, numberfiltersreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateFilters(::core::mem::transmute(filterlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), filterlist.as_deref().map_or(0, |slice| slice.len() as _), numberfiltersreturned).ok() + FltEnumerateFilters(::core::mem::transmute(filterlist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), filterlist.as_deref().map_or(0, |slice| slice.len() as _), numberfiltersreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_InstallableFileSystems", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltEnumerateInstanceInformationByDeviceObject(deviceobject: *const super::super::super::Foundation::DEVICE_OBJECT, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltEnumerateInstanceInformationByDeviceObject(deviceobject: *const super::super::super::Foundation::DEVICE_OBJECT, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateInstanceInformationByDeviceObject(deviceobject : *const super::super::super::Foundation:: DEVICE_OBJECT, index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: INSTANCE_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateInstanceInformationByDeviceObject(deviceobject, index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateInstanceInformationByDeviceObject(deviceobject, index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltEnumerateInstanceInformationByFilter(filter: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnumerateInstanceInformationByFilter(filter: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateInstanceInformationByFilter(filter : PFLT_FILTER, index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: INSTANCE_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateInstanceInformationByFilter(filter.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateInstanceInformationByFilter(filter.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltEnumerateInstanceInformationByVolume(volume: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnumerateInstanceInformationByVolume(volume: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateInstanceInformationByVolume(volume : PFLT_VOLUME, index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: INSTANCE_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateInstanceInformationByVolume(volume.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateInstanceInformationByVolume(volume.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltEnumerateInstanceInformationByVolumeName(volumename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltEnumerateInstanceInformationByVolumeName(volumename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateInstanceInformationByVolumeName(volumename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: INSTANCE_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateInstanceInformationByVolumeName(volumename, index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateInstanceInformationByVolumeName(volumename, index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltEnumerateInstances(volume: P0, filter: P1, instancelist: ::core::option::Option<&mut [PFLT_INSTANCE]>, numberinstancesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnumerateInstances(volume: P0, filter: P1, instancelist: ::core::option::Option<&mut [PFLT_INSTANCE]>, numberinstancesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateInstances(volume : PFLT_VOLUME, filter : PFLT_FILTER, instancelist : *mut PFLT_INSTANCE, instancelistsize : u32, numberinstancesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateInstances(volume.into_param().abi(), filter.into_param().abi(), ::core::mem::transmute(instancelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), instancelist.as_deref().map_or(0, |slice| slice.len() as _), numberinstancesreturned).ok() + FltEnumerateInstances(volume.into_param().abi(), filter.into_param().abi(), ::core::mem::transmute(instancelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), instancelist.as_deref().map_or(0, |slice| slice.len() as _), numberinstancesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltEnumerateVolumeInformation(filter: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_VOLUME_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnumerateVolumeInformation(filter: P0, index: u32, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_VOLUME_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateVolumeInformation(filter : PFLT_FILTER, index : u32, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: FILTER_VOLUME_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateVolumeInformation(filter.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltEnumerateVolumeInformation(filter.into_param().abi(), index, informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltEnumerateVolumes(filter: P0, volumelist: ::core::option::Option<&mut [PFLT_VOLUME]>, numbervolumesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltEnumerateVolumes(filter: P0, volumelist: ::core::option::Option<&mut [PFLT_VOLUME]>, numbervolumesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltEnumerateVolumes(filter : PFLT_FILTER, volumelist : *mut PFLT_VOLUME, volumelistsize : u32, numbervolumesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltEnumerateVolumes(filter.into_param().abi(), ::core::mem::transmute(volumelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), volumelist.as_deref().map_or(0, |slice| slice.len() as _), numbervolumesreturned).ok() + FltEnumerateVolumes(filter.into_param().abi(), ::core::mem::transmute(volumelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), volumelist.as_deref().map_or(0, |slice| slice.len() as _), numbervolumesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -773,32 +809,32 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltFindExtraCreateParameter(filter: P0, ecplist: *const super::super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, ecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltFindExtraCreateParameter(filter: P0, ecplist: *const super::super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, ecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltFindExtraCreateParameter(filter : PFLT_FILTER, ecplist : *const super::super::super::Foundation:: ECP_LIST, ecptype : *const ::windows_core::GUID, ecpcontext : *mut *mut ::core::ffi::c_void, ecpcontextsize : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltFindExtraCreateParameter(filter.into_param().abi(), ecplist, ecptype, ::core::mem::transmute(ecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FltFindExtraCreateParameter(filter.into_param().abi(), ecplist, ecptype, ::core::mem::transmute(ecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltFlushBuffers(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> +pub unsafe fn FltFlushBuffers(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltFlushBuffers(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltFlushBuffers(instance.into_param().abi(), fileobject).ok() + FltFlushBuffers(instance.into_param().abi(), fileobject) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltFlushBuffers2(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, flushtype: u32, callbackdata: ::core::option::Option<*const FLT_CALLBACK_DATA>) -> ::windows_core::Result<()> +pub unsafe fn FltFlushBuffers2(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, flushtype: u32, callbackdata: ::core::option::Option<*const FLT_CALLBACK_DATA>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltFlushBuffers2(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, flushtype : u32, callbackdata : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltFlushBuffers2(instance.into_param().abi(), fileobject, flushtype, ::core::mem::transmute(callbackdata.unwrap_or(::std::ptr::null()))).ok() + FltFlushBuffers2(instance.into_param().abi(), fileobject, flushtype, ::core::mem::transmute(callbackdata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -883,29 +919,29 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltFsControlFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltFsControlFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltFsControlFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fscontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltFsControlFile(instance.into_param().abi(), fileobject, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltFsControlFile(instance.into_param().abi(), fileobject, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetActivityIdCallbackData(callbackdata: *const FLT_CALLBACK_DATA, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn FltGetActivityIdCallbackData(callbackdata: *const FLT_CALLBACK_DATA, guid: *mut ::windows_core::GUID) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetActivityIdCallbackData(callbackdata : *const FLT_CALLBACK_DATA, guid : *mut ::windows_core::GUID) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetActivityIdCallbackData(callbackdata, guid).ok() + FltGetActivityIdCallbackData(callbackdata, guid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetBottomInstance(volume: P0, instance: *mut PFLT_INSTANCE) -> ::windows_core::Result<()> +pub unsafe fn FltGetBottomInstance(volume: P0, instance: *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetBottomInstance(volume : PFLT_VOLUME, instance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetBottomInstance(volume.into_param().abi(), instance).ok() + FltGetBottomInstance(volume.into_param().abi(), instance) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -917,139 +953,139 @@ pub unsafe fn FltGetContexts(fltobjects: *const FLT_RELATED_OBJECTS, desiredcont #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetContextsEx(fltobjects: *const FLT_RELATED_OBJECTS, desiredcontexts: u16, contextssize: usize, contexts: *mut FLT_RELATED_CONTEXTS_EX) -> ::windows_core::Result<()> { +pub unsafe fn FltGetContextsEx(fltobjects: *const FLT_RELATED_OBJECTS, desiredcontexts: u16, contextssize: usize, contexts: *mut FLT_RELATED_CONTEXTS_EX) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetContextsEx(fltobjects : *const FLT_RELATED_OBJECTS, desiredcontexts : u16, contextssize : usize, contexts : *mut FLT_RELATED_CONTEXTS_EX) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetContextsEx(fltobjects, desiredcontexts, contextssize, contexts).ok() + FltGetContextsEx(fltobjects, desiredcontexts, contextssize, contexts) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetDestinationFileNameInformation(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, rootdirectory: P1, filename: P2, filenamelength: u32, nameoptions: u32, retfilenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn FltGetDestinationFileNameInformation(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, rootdirectory: P1, filename: P2, filenamelength: u32, nameoptions: u32, retfilenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetDestinationFileNameInformation(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, rootdirectory : super::super::super::super::Win32::Foundation:: HANDLE, filename : ::windows_core::PCWSTR, filenamelength : u32, nameoptions : u32, retfilenameinformation : *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetDestinationFileNameInformation(instance.into_param().abi(), fileobject, rootdirectory.into_param().abi(), filename.into_param().abi(), filenamelength, nameoptions, retfilenameinformation).ok() + FltGetDestinationFileNameInformation(instance.into_param().abi(), fileobject, rootdirectory.into_param().abi(), filename.into_param().abi(), filenamelength, nameoptions, retfilenameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetDeviceObject(volume: P0, deviceobject: *mut *mut super::super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> +pub unsafe fn FltGetDeviceObject(volume: P0, deviceobject: *mut *mut super::super::super::Foundation::DEVICE_OBJECT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetDeviceObject(volume : PFLT_VOLUME, deviceobject : *mut *mut super::super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetDeviceObject(volume.into_param().abi(), deviceobject).ok() + FltGetDeviceObject(volume.into_param().abi(), deviceobject) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetDiskDeviceObject(volume: P0, diskdeviceobject: *mut *mut super::super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> +pub unsafe fn FltGetDiskDeviceObject(volume: P0, diskdeviceobject: *mut *mut super::super::super::Foundation::DEVICE_OBJECT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetDiskDeviceObject(volume : PFLT_VOLUME, diskdeviceobject : *mut *mut super::super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetDiskDeviceObject(volume.into_param().abi(), diskdeviceobject).ok() + FltGetDiskDeviceObject(volume.into_param().abi(), diskdeviceobject) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetEcpListFromCallbackData(filter: P0, callbackdata: *const FLT_CALLBACK_DATA, ecplist: *mut *mut super::super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> +pub unsafe fn FltGetEcpListFromCallbackData(filter: P0, callbackdata: *const FLT_CALLBACK_DATA, ecplist: *mut *mut super::super::super::Foundation::ECP_LIST) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetEcpListFromCallbackData(filter : PFLT_FILTER, callbackdata : *const FLT_CALLBACK_DATA, ecplist : *mut *mut super::super::super::Foundation:: ECP_LIST) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetEcpListFromCallbackData(filter.into_param().abi(), callbackdata, ecplist).ok() + FltGetEcpListFromCallbackData(filter.into_param().abi(), callbackdata, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFileContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFileContext(instance.into_param().abi(), fileobject, context).ok() + FltGetFileContext(instance.into_param().abi(), fileobject, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetFileNameInformation(callbackdata: *const FLT_CALLBACK_DATA, nameoptions: u32, filenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn FltGetFileNameInformation(callbackdata: *const FLT_CALLBACK_DATA, nameoptions: u32, filenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFileNameInformation(callbackdata : *const FLT_CALLBACK_DATA, nameoptions : u32, filenameinformation : *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFileNameInformation(callbackdata, nameoptions, filenameinformation).ok() + FltGetFileNameInformation(callbackdata, nameoptions, filenameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetFileNameInformationUnsafe(fileobject: *const super::super::super::Foundation::FILE_OBJECT, instance: P0, nameoptions: u32, filenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn FltGetFileNameInformationUnsafe(fileobject: *const super::super::super::Foundation::FILE_OBJECT, instance: P0, nameoptions: u32, filenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFileNameInformationUnsafe(fileobject : *const super::super::super::Foundation:: FILE_OBJECT, instance : PFLT_INSTANCE, nameoptions : u32, filenameinformation : *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFileNameInformationUnsafe(fileobject, instance.into_param().abi(), nameoptions, filenameinformation).ok() + FltGetFileNameInformationUnsafe(fileobject, instance.into_param().abi(), nameoptions, filenameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltGetFileSystemType(fltobject: *const ::core::ffi::c_void, filesystemtype: *mut super::super::super::super::Win32::Storage::InstallableFileSystems::FLT_FILESYSTEM_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn FltGetFileSystemType(fltobject: *const ::core::ffi::c_void, filesystemtype: *mut super::super::super::super::Win32::Storage::InstallableFileSystems::FLT_FILESYSTEM_TYPE) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFileSystemType(fltobject : *const ::core::ffi::c_void, filesystemtype : *mut super::super::super::super::Win32::Storage::InstallableFileSystems:: FLT_FILESYSTEM_TYPE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFileSystemType(fltobject, filesystemtype).ok() + FltGetFileSystemType(fltobject, filesystemtype) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetFilterFromInstance(instance: P0, retfilter: *mut PFLT_FILTER) -> ::windows_core::Result<()> +pub unsafe fn FltGetFilterFromInstance(instance: P0, retfilter: *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFilterFromInstance(instance : PFLT_INSTANCE, retfilter : *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFilterFromInstance(instance.into_param().abi(), retfilter).ok() + FltGetFilterFromInstance(instance.into_param().abi(), retfilter) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetFilterFromName(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, retfilter: *mut PFLT_FILTER) -> ::windows_core::Result<()> { +pub unsafe fn FltGetFilterFromName(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, retfilter: *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFilterFromName(filtername : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, retfilter : *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFilterFromName(filtername, retfilter).ok() + FltGetFilterFromName(filtername, retfilter) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltGetFilterInformation(filter: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltGetFilterInformation(filter: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFilterInformation(filter : PFLT_FILTER, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: FILTER_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFilterInformation(filter.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltGetFilterInformation(filter.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetFsZeroingOffset(data: *const FLT_CALLBACK_DATA, zeroingoffset: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltGetFsZeroingOffset(data: *const FLT_CALLBACK_DATA, zeroingoffset: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetFsZeroingOffset(data : *const FLT_CALLBACK_DATA, zeroingoffset : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetFsZeroingOffset(data, zeroingoffset).ok() + FltGetFsZeroingOffset(data, zeroingoffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetInstanceContext(instance: P0, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetInstanceContext(instance: P0, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetInstanceContext(instance : PFLT_INSTANCE, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetInstanceContext(instance.into_param().abi(), context).ok() + FltGetInstanceContext(instance.into_param().abi(), context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltGetInstanceInformation(instance: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltGetInstanceInformation(instance: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::INSTANCE_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetInstanceInformation(instance : PFLT_INSTANCE, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: INSTANCE_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetInstanceInformation(instance.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltGetInstanceInformation(instance.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1098,12 +1134,12 @@ pub unsafe fn FltGetIrpName(irpmajorcode: u8) -> ::windows_core::PSTR { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetLowerInstance(currentinstance: P0, lowerinstance: *mut PFLT_INSTANCE) -> ::windows_core::Result<()> +pub unsafe fn FltGetLowerInstance(currentinstance: P0, lowerinstance: *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetLowerInstance(currentinstance : PFLT_INSTANCE, lowerinstance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetLowerInstance(currentinstance.into_param().abi(), lowerinstance).ok() + FltGetLowerInstance(currentinstance.into_param().abi(), lowerinstance) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1115,12 +1151,12 @@ pub unsafe fn FltGetNewSystemBufferAddress(callbackdata: *const FLT_CALLBACK_DAT #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltGetNextExtraCreateParameter(filter: P0, ecplist: *const super::super::super::Foundation::ECP_LIST, currentecpcontext: ::core::option::Option<*const ::core::ffi::c_void>, nextecptype: ::core::option::Option<*mut ::windows_core::GUID>, nextecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, nextecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltGetNextExtraCreateParameter(filter: P0, ecplist: *const super::super::super::Foundation::ECP_LIST, currentecpcontext: ::core::option::Option<*const ::core::ffi::c_void>, nextecptype: ::core::option::Option<*mut ::windows_core::GUID>, nextecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, nextecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetNextExtraCreateParameter(filter : PFLT_FILTER, ecplist : *const super::super::super::Foundation:: ECP_LIST, currentecpcontext : *const ::core::ffi::c_void, nextecptype : *mut ::windows_core::GUID, nextecpcontext : *mut *mut ::core::ffi::c_void, nextecpcontextsize : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetNextExtraCreateParameter(filter.into_param().abi(), ecplist, ::core::mem::transmute(currentecpcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(nextecptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FltGetNextExtraCreateParameter(filter.into_param().abi(), ecplist, ::core::mem::transmute(currentecpcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(nextecptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1146,9 +1182,9 @@ pub unsafe fn FltGetRequestorProcessIdEx(callbackdata: *const FLT_CALLBACK_DATA) #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetRequestorSessionId(callbackdata: *const FLT_CALLBACK_DATA, sessionid: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FltGetRequestorSessionId(callbackdata: *const FLT_CALLBACK_DATA, sessionid: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetRequestorSessionId(callbackdata : *const FLT_CALLBACK_DATA, sessionid : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetRequestorSessionId(callbackdata, sessionid).ok() + FltGetRequestorSessionId(callbackdata, sessionid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -1162,32 +1198,32 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetSectionContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetSectionContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetSectionContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetSectionContext(instance.into_param().abi(), fileobject, context).ok() + FltGetSectionContext(instance.into_param().abi(), fileobject, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetStreamContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetStreamContext(instance.into_param().abi(), fileobject, context).ok() + FltGetStreamContext(instance.into_param().abi(), fileobject, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetStreamHandleContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetStreamHandleContext(instance.into_param().abi(), fileobject, context).ok() + FltGetStreamHandleContext(instance.into_param().abi(), fileobject, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1199,141 +1235,141 @@ pub unsafe fn FltGetSwappedBufferMdlAddress(callbackdata: *const FLT_CALLBACK_DA #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetTopInstance(volume: P0, instance: *mut PFLT_INSTANCE) -> ::windows_core::Result<()> +pub unsafe fn FltGetTopInstance(volume: P0, instance: *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetTopInstance(volume : PFLT_VOLUME, instance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetTopInstance(volume.into_param().abi(), instance).ok() + FltGetTopInstance(volume.into_param().abi(), instance) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltGetTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetTransactionContext(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetTransactionContext(instance.into_param().abi(), transaction, context).ok() + FltGetTransactionContext(instance.into_param().abi(), transaction, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetTunneledName(callbackdata: *const FLT_CALLBACK_DATA, filenameinformation: *const FLT_FILE_NAME_INFORMATION, rettunneledfilenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn FltGetTunneledName(callbackdata: *const FLT_CALLBACK_DATA, filenameinformation: *const FLT_FILE_NAME_INFORMATION, rettunneledfilenameinformation: *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetTunneledName(callbackdata : *const FLT_CALLBACK_DATA, filenameinformation : *const FLT_FILE_NAME_INFORMATION, rettunneledfilenameinformation : *mut *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetTunneledName(callbackdata, filenameinformation, rettunneledfilenameinformation).ok() + FltGetTunneledName(callbackdata, filenameinformation, rettunneledfilenameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetUpperInstance(currentinstance: P0, upperinstance: *mut PFLT_INSTANCE) -> ::windows_core::Result<()> +pub unsafe fn FltGetUpperInstance(currentinstance: P0, upperinstance: *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetUpperInstance(currentinstance : PFLT_INSTANCE, upperinstance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetUpperInstance(currentinstance.into_param().abi(), upperinstance).ok() + FltGetUpperInstance(currentinstance.into_param().abi(), upperinstance) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeContext(filter: P0, volume: P1, context: *mut PFLT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeContext(filter: P0, volume: P1, context: *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeContext(filter : PFLT_FILTER, volume : PFLT_VOLUME, context : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeContext(filter.into_param().abi(), volume.into_param().abi(), context).ok() + FltGetVolumeContext(filter.into_param().abi(), volume.into_param().abi(), context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetVolumeFromDeviceObject(filter: P0, deviceobject: *const super::super::super::Foundation::DEVICE_OBJECT, retvolume: *mut PFLT_VOLUME) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeFromDeviceObject(filter: P0, deviceobject: *const super::super::super::Foundation::DEVICE_OBJECT, retvolume: *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeFromDeviceObject(filter : PFLT_FILTER, deviceobject : *const super::super::super::Foundation:: DEVICE_OBJECT, retvolume : *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeFromDeviceObject(filter.into_param().abi(), deviceobject, retvolume).ok() + FltGetVolumeFromDeviceObject(filter.into_param().abi(), deviceobject, retvolume) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltGetVolumeFromFileObject(filter: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, retvolume: *mut PFLT_VOLUME) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeFromFileObject(filter: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, retvolume: *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeFromFileObject(filter : PFLT_FILTER, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, retvolume : *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeFromFileObject(filter.into_param().abi(), fileobject, retvolume).ok() + FltGetVolumeFromFileObject(filter.into_param().abi(), fileobject, retvolume) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeFromInstance(instance: P0, retvolume: *mut PFLT_VOLUME) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeFromInstance(instance: P0, retvolume: *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeFromInstance(instance : PFLT_INSTANCE, retvolume : *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeFromInstance(instance.into_param().abi(), retvolume).ok() + FltGetVolumeFromInstance(instance.into_param().abi(), retvolume) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeFromName(filter: P0, volumename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, retvolume: *mut PFLT_VOLUME) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeFromName(filter: P0, volumename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, retvolume: *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeFromName(filter : PFLT_FILTER, volumename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, retvolume : *mut PFLT_VOLUME) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeFromName(filter.into_param().abi(), volumename, retvolume).ok() + FltGetVolumeFromName(filter.into_param().abi(), volumename, retvolume) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeGuidName(volume: P0, volumeguidname: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, buffersizeneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeGuidName(volume: P0, volumeguidname: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, buffersizeneeded: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeGuidName(volume : PFLT_VOLUME, volumeguidname : *mut super::super::super::super::Win32::Foundation:: UNICODE_STRING, buffersizeneeded : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeGuidName(volume.into_param().abi(), ::core::mem::transmute(volumeguidname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffersizeneeded.unwrap_or(::std::ptr::null_mut()))).ok() + FltGetVolumeGuidName(volume.into_param().abi(), ::core::mem::transmute(volumeguidname.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffersizeneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_InstallableFileSystems\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_InstallableFileSystems"))] #[inline] -pub unsafe fn FltGetVolumeInformation(volume: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_VOLUME_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeInformation(volume: P0, informationclass: super::super::super::super::Win32::Storage::InstallableFileSystems::FILTER_VOLUME_INFORMATION_CLASS, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, bytesreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeInformation(volume : PFLT_VOLUME, informationclass : super::super::super::super::Win32::Storage::InstallableFileSystems:: FILTER_VOLUME_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, buffersize : u32, bytesreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeInformation(volume.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned).ok() + FltGetVolumeInformation(volume.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, bytesreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeInstanceFromName(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: *mut PFLT_INSTANCE) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeInstanceFromName(filter: P0, volume: P1, instancename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, retinstance: *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeInstanceFromName(filter : PFLT_FILTER, volume : PFLT_VOLUME, instancename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, retinstance : *mut PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeInstanceFromName(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), retinstance).ok() + FltGetVolumeInstanceFromName(filter.into_param().abi(), volume.into_param().abi(), ::core::mem::transmute(instancename.unwrap_or(::std::ptr::null())), retinstance) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeName(volume: P0, volumename: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, buffersizeneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeName(volume: P0, volumename: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, buffersizeneeded: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeName(volume : PFLT_VOLUME, volumename : *mut super::super::super::super::Win32::Foundation:: UNICODE_STRING, buffersizeneeded : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeName(volume.into_param().abi(), ::core::mem::transmute(volumename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffersizeneeded.unwrap_or(::std::ptr::null_mut()))).ok() + FltGetVolumeName(volume.into_param().abi(), ::core::mem::transmute(volumename.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffersizeneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltGetVolumeProperties(volume: P0, volumeproperties: ::core::option::Option<*mut FLT_VOLUME_PROPERTIES>, volumepropertieslength: u32, lengthreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FltGetVolumeProperties(volume: P0, volumeproperties: ::core::option::Option<*mut FLT_VOLUME_PROPERTIES>, volumepropertieslength: u32, lengthreturned: *mut u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltGetVolumeProperties(volume : PFLT_VOLUME, volumeproperties : *mut FLT_VOLUME_PROPERTIES, volumepropertieslength : u32, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltGetVolumeProperties(volume.into_param().abi(), ::core::mem::transmute(volumeproperties.unwrap_or(::std::ptr::null_mut())), volumepropertieslength, lengthreturned).ok() + FltGetVolumeProperties(volume.into_param().abi(), ::core::mem::transmute(volumeproperties.unwrap_or(::std::ptr::null_mut())), volumepropertieslength, lengthreturned) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -1368,12 +1404,12 @@ pub unsafe fn FltInitializePushLock() -> usize { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltInsertExtraCreateParameter(filter: P0, ecplist: *mut super::super::super::Foundation::ECP_LIST, ecpcontext: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn FltInsertExtraCreateParameter(filter: P0, ecplist: *mut super::super::super::Foundation::ECP_LIST, ecpcontext: *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltInsertExtraCreateParameter(filter : PFLT_FILTER, ecplist : *mut super::super::super::Foundation:: ECP_LIST, ecpcontext : *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltInsertExtraCreateParameter(filter.into_param().abi(), ecplist, ecpcontext).ok() + FltInsertExtraCreateParameter(filter.into_param().abi(), ecplist, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1392,12 +1428,12 @@ pub unsafe fn FltIsCallbackDataDirty(data: *const FLT_CALLBACK_DATA) -> super::s #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltIsDirectory(fileobject: *const super::super::super::Foundation::FILE_OBJECT, instance: P0, isdirectory: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn FltIsDirectory(fileobject: *const super::super::super::Foundation::FILE_OBJECT, instance: P0, isdirectory: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltIsDirectory(fileobject : *const super::super::super::Foundation:: FILE_OBJECT, instance : PFLT_INSTANCE, isdirectory : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltIsDirectory(fileobject, instance.into_param().abi(), isdirectory).ok() + FltIsDirectory(fileobject, instance.into_param().abi(), isdirectory) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1436,23 +1472,23 @@ pub unsafe fn FltIsIoCanceled(callbackdata: *const FLT_CALLBACK_DATA) -> super:: #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltIsIoRedirectionAllowed(sourceinstance: P0, targetinstance: P1, redirectionallowed: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn FltIsIoRedirectionAllowed(sourceinstance: P0, targetinstance: P1, redirectionallowed: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltIsIoRedirectionAllowed(sourceinstance : PFLT_INSTANCE, targetinstance : PFLT_INSTANCE, redirectionallowed : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltIsIoRedirectionAllowed(sourceinstance.into_param().abi(), targetinstance.into_param().abi(), redirectionallowed).ok() + FltIsIoRedirectionAllowed(sourceinstance.into_param().abi(), targetinstance.into_param().abi(), redirectionallowed) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltIsIoRedirectionAllowedForOperation(data: *const FLT_CALLBACK_DATA, targetinstance: P0, redirectionallowedthisio: *mut super::super::super::super::Win32::Foundation::BOOLEAN, redirectionallowedallio: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> +pub unsafe fn FltIsIoRedirectionAllowedForOperation(data: *const FLT_CALLBACK_DATA, targetinstance: P0, redirectionallowedthisio: *mut super::super::super::super::Win32::Foundation::BOOLEAN, redirectionallowedallio: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltIsIoRedirectionAllowedForOperation(data : *const FLT_CALLBACK_DATA, targetinstance : PFLT_INSTANCE, redirectionallowedthisio : *mut super::super::super::super::Win32::Foundation:: BOOLEAN, redirectionallowedallio : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltIsIoRedirectionAllowedForOperation(data, targetinstance.into_param().abi(), redirectionallowedthisio, ::core::mem::transmute(redirectionallowedallio.unwrap_or(::std::ptr::null_mut()))).ok() + FltIsIoRedirectionAllowedForOperation(data, targetinstance.into_param().abi(), redirectionallowedthisio, ::core::mem::transmute(redirectionallowedallio.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1464,30 +1500,30 @@ pub unsafe fn FltIsOperationSynchronous(callbackdata: *const FLT_CALLBACK_DATA) #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltIsVolumeSnapshot(fltobject: *const ::core::ffi::c_void, issnapshotvolume: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn FltIsVolumeSnapshot(fltobject: *const ::core::ffi::c_void, issnapshotvolume: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltIsVolumeSnapshot(fltobject : *const ::core::ffi::c_void, issnapshotvolume : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltIsVolumeSnapshot(fltobject, issnapshotvolume).ok() + FltIsVolumeSnapshot(fltobject, issnapshotvolume) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltIsVolumeWritable(fltobject: *const ::core::ffi::c_void, iswritable: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn FltIsVolumeWritable(fltobject: *const ::core::ffi::c_void, iswritable: *mut super::super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltIsVolumeWritable(fltobject : *const ::core::ffi::c_void, iswritable : *mut super::super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltIsVolumeWritable(fltobject, iswritable).ok() + FltIsVolumeWritable(fltobject, iswritable) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltLoadFilter(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn FltLoadFilter(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltLoadFilter(filtername : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltLoadFilter(filtername).ok() + FltLoadFilter(filtername) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltLockUserBuffer(callbackdata: *const FLT_CALLBACK_DATA) -> ::windows_core::Result<()> { +pub unsafe fn FltLockUserBuffer(callbackdata: *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltLockUserBuffer(callbackdata : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltLockUserBuffer(callbackdata).ok() + FltLockUserBuffer(callbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1510,19 +1546,19 @@ pub unsafe fn FltObjectDereference(fltobject: *mut ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltObjectReference(fltobject: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn FltObjectReference(fltobject: *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltObjectReference(fltobject : *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltObjectReference(fltobject).ok() + FltObjectReference(fltobject) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltOpenVolume(instance: P0, volumehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, volumefileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>) -> ::windows_core::Result<()> +pub unsafe fn FltOpenVolume(instance: P0, volumehandle: *mut super::super::super::super::Win32::Foundation::HANDLE, volumefileobject: ::core::option::Option<*mut *mut super::super::super::Foundation::FILE_OBJECT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltOpenVolume(instance : PFLT_INSTANCE, volumehandle : *mut super::super::super::super::Win32::Foundation:: HANDLE, volumefileobject : *mut *mut super::super::super::Foundation:: FILE_OBJECT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltOpenVolume(instance.into_param().abi(), volumehandle, ::core::mem::transmute(volumefileobject.unwrap_or(::std::ptr::null_mut()))).ok() + FltOpenVolume(instance.into_param().abi(), volumehandle, ::core::mem::transmute(volumefileobject.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1583,23 +1619,23 @@ pub unsafe fn FltOplockKeysEqual(fo1: ::core::option::Option<*const super::super #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltParseFileName(filename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, extension: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, stream: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, finalcomponent: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> { +pub unsafe fn FltParseFileName(filename: *const super::super::super::super::Win32::Foundation::UNICODE_STRING, extension: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, stream: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>, finalcomponent: ::core::option::Option<*mut super::super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltParseFileName(filename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, extension : *mut super::super::super::super::Win32::Foundation:: UNICODE_STRING, stream : *mut super::super::super::super::Win32::Foundation:: UNICODE_STRING, finalcomponent : *mut super::super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltParseFileName(filename, ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(stream.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(finalcomponent.unwrap_or(::std::ptr::null_mut()))).ok() + FltParseFileName(filename, ::core::mem::transmute(extension.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(stream.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(finalcomponent.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltParseFileNameInformation(filenameinformation: *mut FLT_FILE_NAME_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn FltParseFileNameInformation(filenameinformation: *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltParseFileNameInformation(filenameinformation : *mut FLT_FILE_NAME_INFORMATION) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltParseFileNameInformation(filenameinformation).ok() + FltParseFileNameInformation(filenameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltPerformAsynchronousIo(callbackdata: *mut FLT_CALLBACK_DATA, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn FltPerformAsynchronousIo(callbackdata: *mut FLT_CALLBACK_DATA, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltPerformAsynchronousIo(callbackdata : *mut FLT_CALLBACK_DATA, callbackroutine : PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPerformAsynchronousIo(callbackdata, callbackroutine, callbackcontext).ok() + FltPerformAsynchronousIo(callbackdata, callbackroutine, callbackcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1611,24 +1647,24 @@ pub unsafe fn FltPerformSynchronousIo(callbackdata: *mut FLT_CALLBACK_DATA) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltPrePrepareComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltPrePrepareComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltPrePrepareComplete(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPrePrepareComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltPrePrepareComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltPrepareComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltPrepareComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltPrepareComplete(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPrepareComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltPrepareComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -1649,163 +1685,163 @@ pub unsafe fn FltProcessFileLock(filelock: *const super::FILE_LOCK, callbackdata #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltPropagateActivityIdToThread(callbackdata: *const FLT_CALLBACK_DATA, propagateid: *mut ::windows_core::GUID, originalid: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn FltPropagateActivityIdToThread(callbackdata: *const FLT_CALLBACK_DATA, propagateid: *mut ::windows_core::GUID, originalid: *mut *mut ::windows_core::GUID) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltPropagateActivityIdToThread(callbackdata : *const FLT_CALLBACK_DATA, propagateid : *mut ::windows_core::GUID, originalid : *mut *mut ::windows_core::GUID) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPropagateActivityIdToThread(callbackdata, propagateid, originalid).ok() + FltPropagateActivityIdToThread(callbackdata, propagateid, originalid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltPropagateIrpExtension(sourcedata: *const FLT_CALLBACK_DATA, targetdata: *mut FLT_CALLBACK_DATA, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FltPropagateIrpExtension(sourcedata: *const FLT_CALLBACK_DATA, targetdata: *mut FLT_CALLBACK_DATA, flags: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltPropagateIrpExtension(sourcedata : *const FLT_CALLBACK_DATA, targetdata : *mut FLT_CALLBACK_DATA, flags : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPropagateIrpExtension(sourcedata, targetdata, flags).ok() + FltPropagateIrpExtension(sourcedata, targetdata, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltPurgeFileNameInformationCache(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>) -> ::windows_core::Result<()> +pub unsafe fn FltPurgeFileNameInformationCache(instance: P0, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltPurgeFileNameInformationCache(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltPurgeFileNameInformationCache(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null()))).ok() + FltPurgeFileNameInformationCache(instance.into_param().abi(), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryDirectoryFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P1, filename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryDirectoryFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P1, filename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryDirectoryFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, returnsingleentry : super::super::super::super::Win32::Foundation:: BOOLEAN, filename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, restartscan : super::super::super::super::Win32::Foundation:: BOOLEAN, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryDirectoryFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryDirectoryFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryDirectoryFileEx(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryDirectoryFileEx(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::super::Win32::Foundation::UNICODE_STRING>, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryDirectoryFileEx(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, queryflags : u32, filename : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryDirectoryFileEx(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryDirectoryFileEx(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryEaFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, returnedeadata: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryEaFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, returnedeadata: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryEaFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, returnedeadata : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::super::Win32::Foundation:: BOOLEAN, ealist : *const ::core::ffi::c_void, ealistlength : u32, eaindex : *const u32, restartscan : super::super::super::super::Win32::Foundation:: BOOLEAN, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryEaFile(instance.into_param().abi(), fileobject, returnedeadata, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryEaFile(instance.into_param().abi(), fileobject, returnedeadata, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryInformationByName(filter: P0, instance: P1, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryInformationByName(filter: P0, instance: P1, objectattributes: *const super::super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, drivercontext: ::core::option::Option<*const super::super::super::System::SystemServices::IO_DRIVER_CREATE_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryInformationByName(filter : PFLT_FILTER, instance : PFLT_INSTANCE, objectattributes : *const super::super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, drivercontext : *const super::super::super::System::SystemServices:: IO_DRIVER_CREATE_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryInformationByName(filter.into_param().abi(), instance.into_param().abi(), objectattributes, iostatusblock, fileinformation, length, fileinformationclass, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + FltQueryInformationByName(filter.into_param().abi(), instance.into_param().abi(), objectattributes, iostatusblock, fileinformation, length, fileinformationclass, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryInformationFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryInformationFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryInformationFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryQuotaInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: ::core::option::Option<*const u32>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryQuotaInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, iostatusblock: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: ::core::option::Option<*const u32>, restartscan: P2, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryQuotaInformationFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, iostatusblock : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::super::Win32::Foundation:: BOOLEAN, sidlist : *const ::core::ffi::c_void, sidlistlength : u32, startsid : *const u32, restartscan : super::super::super::super::Win32::Foundation:: BOOLEAN, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryQuotaInformationFile(instance.into_param().abi(), fileobject, iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, ::core::mem::transmute(startsid.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryQuotaInformationFile(instance.into_param().abi(), fileobject, iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, ::core::mem::transmute(startsid.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQuerySecurityObject(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, securityinformation: u32, securitydescriptor: super::super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQuerySecurityObject(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, securityinformation: u32, securitydescriptor: super::super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQuerySecurityObject(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, securityinformation : u32, securitydescriptor : super::super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, length : u32, lengthneeded : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQuerySecurityObject(instance.into_param().abi(), fileobject, securityinformation, securitydescriptor, length, ::core::mem::transmute(lengthneeded.unwrap_or(::std::ptr::null_mut()))).ok() + FltQuerySecurityObject(instance.into_param().abi(), fileobject, securityinformation, securitydescriptor, length, ::core::mem::transmute(lengthneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn FltQueryVolumeInformation(instance: P0, iosb: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn FltQueryVolumeInformation(instance: P0, iosb: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryVolumeInformation(instance : PFLT_INSTANCE, iosb : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *mut ::core::ffi::c_void, length : u32, fsinformationclass : super:: FS_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryVolumeInformation(instance.into_param().abi(), iosb, fsinformation, length, fsinformationclass).ok() + FltQueryVolumeInformation(instance.into_param().abi(), iosb, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueryVolumeInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltQueryVolumeInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueryVolumeInformationFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fsinformation : *mut ::core::ffi::c_void, length : u32, fsinformationclass : super:: FS_INFORMATION_CLASS, lengthreturned : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueryVolumeInformationFile(instance.into_param().abi(), fileobject, fsinformation, length, fsinformationclass, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FltQueryVolumeInformationFile(instance.into_param().abi(), fileobject, fsinformation, length, fsinformationclass, ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltQueueDeferredIoWorkItem(fltworkitem: P0, data: *const FLT_CALLBACK_DATA, workerroutine: PFLT_DEFERRED_IO_WORKITEM_ROUTINE, queuetype: super::super::super::System::SystemServices::WORK_QUEUE_TYPE, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn FltQueueDeferredIoWorkItem(fltworkitem: P0, data: *const FLT_CALLBACK_DATA, workerroutine: PFLT_DEFERRED_IO_WORKITEM_ROUTINE, queuetype: super::super::super::System::SystemServices::WORK_QUEUE_TYPE, context: *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueueDeferredIoWorkItem(fltworkitem : PFLT_DEFERRED_IO_WORKITEM, data : *const FLT_CALLBACK_DATA, workerroutine : PFLT_DEFERRED_IO_WORKITEM_ROUTINE, queuetype : super::super::super::System::SystemServices:: WORK_QUEUE_TYPE, context : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueueDeferredIoWorkItem(fltworkitem.into_param().abi(), data, workerroutine, queuetype, context).ok() + FltQueueDeferredIoWorkItem(fltworkitem.into_param().abi(), data, workerroutine, queuetype, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltQueueGenericWorkItem(fltworkitem: P0, fltobject: *const ::core::ffi::c_void, workerroutine: PFLT_GENERIC_WORKITEM_ROUTINE, queuetype: super::super::super::System::SystemServices::WORK_QUEUE_TYPE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn FltQueueGenericWorkItem(fltworkitem: P0, fltobject: *const ::core::ffi::c_void, workerroutine: PFLT_GENERIC_WORKITEM_ROUTINE, queuetype: super::super::super::System::SystemServices::WORK_QUEUE_TYPE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltQueueGenericWorkItem(fltworkitem : PFLT_GENERIC_WORKITEM, fltobject : *const ::core::ffi::c_void, workerroutine : PFLT_GENERIC_WORKITEM_ROUTINE, queuetype : super::super::super::System::SystemServices:: WORK_QUEUE_TYPE, context : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltQueueGenericWorkItem(fltworkitem.into_param().abi(), fltobject, workerroutine, queuetype, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + FltQueueGenericWorkItem(fltworkitem.into_param().abi(), fltobject, workerroutine, queuetype, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltReadFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: *mut ::core::ffi::c_void, flags: u32, bytesread: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn FltReadFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: *mut ::core::ffi::c_void, flags: u32, bytesread: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltReadFile(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, byteoffset : *const i64, length : u32, buffer : *mut ::core::ffi::c_void, flags : u32, bytesread : *mut u32, callbackroutine : PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltReadFile(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, buffer, flags, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))).ok() + FltReadFile(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, buffer, flags, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltReadFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, flags: u32, bytesread: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, key: ::core::option::Option<*const u32>, mdl: ::core::option::Option<*const super::super::super::Foundation::MDL>) -> ::windows_core::Result<()> +pub unsafe fn FltReadFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, flags: u32, bytesread: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, key: ::core::option::Option<*const u32>, mdl: ::core::option::Option<*const super::super::super::Foundation::MDL>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltReadFileEx(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, byteoffset : *const i64, length : u32, buffer : *mut ::core::ffi::c_void, flags : u32, bytesread : *mut u32, callbackroutine : PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext : *const ::core::ffi::c_void, key : *const u32, mdl : *const super::super::super::Foundation:: MDL) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltReadFileEx(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), flags, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mdl.unwrap_or(::std::ptr::null()))).ok() + FltReadFileEx(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), flags, ::core::mem::transmute(bytesread.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mdl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -1826,19 +1862,19 @@ pub unsafe fn FltReferenceFileNameInformation(filenameinformation: *const FLT_FI #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_InstallableFileSystems\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_InstallableFileSystems", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltRegisterFilter(driver: *const super::super::super::Foundation::DRIVER_OBJECT, registration: *const FLT_REGISTRATION, retfilter: *mut PFLT_FILTER) -> ::windows_core::Result<()> { +pub unsafe fn FltRegisterFilter(driver: *const super::super::super::Foundation::DRIVER_OBJECT, registration: *const FLT_REGISTRATION, retfilter: *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltRegisterFilter(driver : *const super::super::super::Foundation:: DRIVER_OBJECT, registration : *const FLT_REGISTRATION, retfilter : *mut PFLT_FILTER) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRegisterFilter(driver, registration, retfilter).ok() + FltRegisterFilter(driver, registration, retfilter) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltRegisterForDataScan(instance: P0) -> ::windows_core::Result<()> +pub unsafe fn FltRegisterForDataScan(instance: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRegisterForDataScan(instance : PFLT_INSTANCE) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRegisterForDataScan(instance.into_param().abi()).ok() + FltRegisterForDataScan(instance.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1900,12 +1936,12 @@ pub unsafe fn FltReleaseResource(resource: *mut super::super::super::Foundation: #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltRemoveExtraCreateParameter(filter: P0, ecplist: *mut super::super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: *mut *mut ::core::ffi::c_void, ecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FltRemoveExtraCreateParameter(filter: P0, ecplist: *mut super::super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: *mut *mut ::core::ffi::c_void, ecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRemoveExtraCreateParameter(filter : PFLT_FILTER, ecplist : *mut super::super::super::Foundation:: ECP_LIST, ecptype : *const ::windows_core::GUID, ecpcontext : *mut *mut ::core::ffi::c_void, ecpcontextsize : *mut u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRemoveExtraCreateParameter(filter.into_param().abi(), ecplist, ecptype, ecpcontext, ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FltRemoveExtraCreateParameter(filter.into_param().abi(), ecplist, ecptype, ecpcontext, ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1920,19 +1956,19 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltRequestFileInfoOnCreateCompletion(filter: P0, data: *const FLT_CALLBACK_DATA, infoclassflags: u32) -> ::windows_core::Result<()> +pub unsafe fn FltRequestFileInfoOnCreateCompletion(filter: P0, data: *const FLT_CALLBACK_DATA, infoclassflags: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRequestFileInfoOnCreateCompletion(filter : PFLT_FILTER, data : *const FLT_CALLBACK_DATA, infoclassflags : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRequestFileInfoOnCreateCompletion(filter.into_param().abi(), data, infoclassflags).ok() + FltRequestFileInfoOnCreateCompletion(filter.into_param().abi(), data, infoclassflags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltRequestOperationStatusCallback(data: *const FLT_CALLBACK_DATA, callbackroutine: PFLT_GET_OPERATION_STATUS_CALLBACK, requestercontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn FltRequestOperationStatusCallback(data: *const FLT_CALLBACK_DATA, callbackroutine: PFLT_GET_OPERATION_STATUS_CALLBACK, requestercontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltRequestOperationStatusCallback(data : *const FLT_CALLBACK_DATA, callbackroutine : PFLT_GET_OPERATION_STATUS_CALLBACK, requestercontext : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRequestOperationStatusCallback(data, callbackroutine, ::core::mem::transmute(requestercontext.unwrap_or(::std::ptr::null()))).ok() + FltRequestOperationStatusCallback(data, callbackroutine, ::core::mem::transmute(requestercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1954,22 +1990,22 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltRetrieveFileInfoOnCreateCompletionEx(filter: P0, data: *const FLT_CALLBACK_DATA, infoclass: u32, retinfosize: *mut u32, retinfobuffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn FltRetrieveFileInfoOnCreateCompletionEx(filter: P0, data: *const FLT_CALLBACK_DATA, infoclass: u32, retinfosize: *mut u32, retinfobuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRetrieveFileInfoOnCreateCompletionEx(filter : PFLT_FILTER, data : *const FLT_CALLBACK_DATA, infoclass : u32, retinfosize : *mut u32, retinfobuffer : *mut *mut ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRetrieveFileInfoOnCreateCompletionEx(filter.into_param().abi(), data, infoclass, retinfosize, retinfobuffer).ok() + FltRetrieveFileInfoOnCreateCompletionEx(filter.into_param().abi(), data, infoclass, retinfosize, retinfobuffer) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltRetrieveIoPriorityInfo(data: ::core::option::Option<*const FLT_CALLBACK_DATA>, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, thread: P0, priorityinfo: *mut super::IO_PRIORITY_INFO) -> ::windows_core::Result<()> +pub unsafe fn FltRetrieveIoPriorityInfo(data: ::core::option::Option<*const FLT_CALLBACK_DATA>, fileobject: ::core::option::Option<*const super::super::super::Foundation::FILE_OBJECT>, thread: P0, priorityinfo: *mut super::IO_PRIORITY_INFO) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRetrieveIoPriorityInfo(data : *const FLT_CALLBACK_DATA, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, thread : super::super::super::Foundation:: PETHREAD, priorityinfo : *mut super:: IO_PRIORITY_INFO) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRetrieveIoPriorityInfo(::core::mem::transmute(data.unwrap_or(::std::ptr::null())), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), thread.into_param().abi(), priorityinfo).ok() + FltRetrieveIoPriorityInfo(::core::mem::transmute(data.unwrap_or(::std::ptr::null())), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), thread.into_param().abi(), priorityinfo) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1981,41 +2017,41 @@ pub unsafe fn FltReuseCallbackData(callbackdata: *mut FLT_CALLBACK_DATA) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltRollbackComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltRollbackComplete(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRollbackComplete(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRollbackComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltRollbackComplete(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltRollbackEnlistment(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> ::windows_core::Result<()> +pub unsafe fn FltRollbackEnlistment(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, transactioncontext: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltRollbackEnlistment(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, transactioncontext : PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltRollbackEnlistment(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()).ok() + FltRollbackEnlistment(instance.into_param().abi(), transaction, transactioncontext.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltSendMessage(filter: P0, clientport: *const PFLT_PORT, senderbuffer: *const ::core::ffi::c_void, senderbufferlength: u32, replybuffer: ::core::option::Option<*mut ::core::ffi::c_void>, replylength: ::core::option::Option<*mut u32>, timeout: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn FltSendMessage(filter: P0, clientport: *const PFLT_PORT, senderbuffer: *const ::core::ffi::c_void, senderbufferlength: u32, replybuffer: ::core::option::Option<*mut ::core::ffi::c_void>, replylength: ::core::option::Option<*mut u32>, timeout: ::core::option::Option<*const i64>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSendMessage(filter : PFLT_FILTER, clientport : *const PFLT_PORT, senderbuffer : *const ::core::ffi::c_void, senderbufferlength : u32, replybuffer : *mut ::core::ffi::c_void, replylength : *mut u32, timeout : *const i64) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSendMessage(filter.into_param().abi(), clientport, senderbuffer, senderbufferlength, ::core::mem::transmute(replybuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(replylength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))).ok() + FltSendMessage(filter.into_param().abi(), clientport, senderbuffer, senderbufferlength, ::core::mem::transmute(replybuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(replylength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetActivityIdCallbackData(callbackdata: *mut FLT_CALLBACK_DATA, guid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { +pub unsafe fn FltSetActivityIdCallbackData(callbackdata: *mut FLT_CALLBACK_DATA, guid: ::core::option::Option<*const ::windows_core::GUID>) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetActivityIdCallbackData(callbackdata : *mut FLT_CALLBACK_DATA, guid : *const ::windows_core::GUID) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetActivityIdCallbackData(callbackdata, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))).ok() + FltSetActivityIdCallbackData(callbackdata, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2027,184 +2063,184 @@ pub unsafe fn FltSetCallbackDataDirty(data: *mut FLT_CALLBACK_DATA) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetCancelCompletion(callbackdata: *const FLT_CALLBACK_DATA, canceledcallback: PFLT_COMPLETE_CANCELED_CALLBACK) -> ::windows_core::Result<()> { +pub unsafe fn FltSetCancelCompletion(callbackdata: *const FLT_CALLBACK_DATA, canceledcallback: PFLT_COMPLETE_CANCELED_CALLBACK) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetCancelCompletion(callbackdata : *const FLT_CALLBACK_DATA, canceledcallback : PFLT_COMPLETE_CANCELED_CALLBACK) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetCancelCompletion(callbackdata, canceledcallback).ok() + FltSetCancelCompletion(callbackdata, canceledcallback) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetEaFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, eabuffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> +pub unsafe fn FltSetEaFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, eabuffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetEaFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, eabuffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetEaFile(instance.into_param().abi(), fileobject, eabuffer, length).ok() + FltSetEaFile(instance.into_param().abi(), fileobject, eabuffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetEcpListIntoCallbackData(filter: P0, callbackdata: *const FLT_CALLBACK_DATA, ecplist: *const super::super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> +pub unsafe fn FltSetEcpListIntoCallbackData(filter: P0, callbackdata: *const FLT_CALLBACK_DATA, ecplist: *const super::super::super::Foundation::ECP_LIST) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetEcpListIntoCallbackData(filter : PFLT_FILTER, callbackdata : *const FLT_CALLBACK_DATA, ecplist : *const super::super::super::Foundation:: ECP_LIST) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetEcpListIntoCallbackData(filter.into_param().abi(), callbackdata, ecplist).ok() + FltSetEcpListIntoCallbackData(filter.into_param().abi(), callbackdata, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetFileContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetFileContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetFileContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetFileContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetFsZeroingOffset(data: *const FLT_CALLBACK_DATA, zeroingoffset: u32) -> ::windows_core::Result<()> { +pub unsafe fn FltSetFsZeroingOffset(data: *const FLT_CALLBACK_DATA, zeroingoffset: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetFsZeroingOffset(data : *const FLT_CALLBACK_DATA, zeroingoffset : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetFsZeroingOffset(data, zeroingoffset).ok() + FltSetFsZeroingOffset(data, zeroingoffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetFsZeroingOffsetRequired(data: *const FLT_CALLBACK_DATA) -> ::windows_core::Result<()> { +pub unsafe fn FltSetFsZeroingOffsetRequired(data: *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetFsZeroingOffsetRequired(data : *const FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetFsZeroingOffsetRequired(data).ok() + FltSetFsZeroingOffsetRequired(data) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn FltSetInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetInformationFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, fileinformation : *const ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetInformationFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass).ok() + FltSetInformationFile(instance.into_param().abi(), fileobject, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltSetInstanceContext(instance: P0, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetInstanceContext(instance: P0, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetInstanceContext(instance : PFLT_INSTANCE, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetInstanceContext(instance.into_param().abi(), operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetInstanceContext(instance.into_param().abi(), operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetIoPriorityHintIntoCallbackData(data: *const FLT_CALLBACK_DATA, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> ::windows_core::Result<()> { +pub unsafe fn FltSetIoPriorityHintIntoCallbackData(data: *const FLT_CALLBACK_DATA, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetIoPriorityHintIntoCallbackData(data : *const FLT_CALLBACK_DATA, priorityhint : super::super::super::Foundation:: IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetIoPriorityHintIntoCallbackData(data, priorityhint).ok() + FltSetIoPriorityHintIntoCallbackData(data, priorityhint) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetIoPriorityHintIntoFileObject(fileobject: *const super::super::super::Foundation::FILE_OBJECT, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> ::windows_core::Result<()> { +pub unsafe fn FltSetIoPriorityHintIntoFileObject(fileobject: *const super::super::super::Foundation::FILE_OBJECT, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetIoPriorityHintIntoFileObject(fileobject : *const super::super::super::Foundation:: FILE_OBJECT, priorityhint : super::super::super::Foundation:: IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetIoPriorityHintIntoFileObject(fileobject, priorityhint).ok() + FltSetIoPriorityHintIntoFileObject(fileobject, priorityhint) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltSetIoPriorityHintIntoThread(thread: P0, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> ::windows_core::Result<()> +pub unsafe fn FltSetIoPriorityHintIntoThread(thread: P0, priorityhint: super::super::super::Foundation::IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetIoPriorityHintIntoThread(thread : super::super::super::Foundation:: PETHREAD, priorityhint : super::super::super::Foundation:: IO_PRIORITY_HINT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetIoPriorityHintIntoThread(thread.into_param().abi(), priorityhint).ok() + FltSetIoPriorityHintIntoThread(thread.into_param().abi(), priorityhint) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetQuotaInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, buffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> +pub unsafe fn FltSetQuotaInformationFile(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, buffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetQuotaInformationFile(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, buffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetQuotaInformationFile(instance.into_param().abi(), fileobject, buffer, length).ok() + FltSetQuotaInformationFile(instance.into_param().abi(), fileobject, buffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetSecurityObject(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, securityinformation: u32, securitydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn FltSetSecurityObject(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, securityinformation: u32, securitydescriptor: P1) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetSecurityObject(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, securityinformation : u32, securitydescriptor : super::super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetSecurityObject(instance.into_param().abi(), fileobject, securityinformation, securitydescriptor.into_param().abi()).ok() + FltSetSecurityObject(instance.into_param().abi(), fileobject, securityinformation, securitydescriptor.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetStreamContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetStreamContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetStreamContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetStreamContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltSetStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetStreamHandleContext(instance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetStreamHandleContext(instance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetStreamHandleContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetStreamHandleContext(instance.into_param().abi(), fileobject, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FltSetTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetTransactionContext(instance: P0, transaction: *const super::super::super::Foundation::KTRANSACTION, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetTransactionContext(instance : PFLT_INSTANCE, transaction : *const super::super::super::Foundation:: KTRANSACTION, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetTransactionContext(instance.into_param().abi(), transaction, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetTransactionContext(instance.into_param().abi(), transaction, operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltSetVolumeContext(volume: P0, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> ::windows_core::Result<()> +pub unsafe fn FltSetVolumeContext(volume: P0, operation: FLT_SET_CONTEXT_OPERATION, newcontext: P1, oldcontext: ::core::option::Option<*mut PFLT_CONTEXT>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetVolumeContext(volume : PFLT_VOLUME, operation : FLT_SET_CONTEXT_OPERATION, newcontext : PFLT_CONTEXT, oldcontext : *mut PFLT_CONTEXT) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetVolumeContext(volume.into_param().abi(), operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + FltSetVolumeContext(volume.into_param().abi(), operation, newcontext.into_param().abi(), ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn FltSetVolumeInformation(instance: P0, iosb: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn FltSetVolumeInformation(instance: P0, iosb: *mut super::super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: super::FS_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltSetVolumeInformation(instance : PFLT_INSTANCE, iosb : *mut super::super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *mut ::core::ffi::c_void, length : u32, fsinformationclass : super:: FS_INFORMATION_CLASS) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltSetVolumeInformation(instance.into_param().abi(), iosb, fsinformation, length, fsinformationclass).ok() + FltSetVolumeInformation(instance.into_param().abi(), iosb, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltStartFiltering(filter: P0) -> ::windows_core::Result<()> +pub unsafe fn FltStartFiltering(filter: P0) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltStartFiltering(filter : PFLT_FILTER) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltStartFiltering(filter.into_param().abi()).ok() + FltStartFiltering(filter.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2240,22 +2276,22 @@ pub unsafe fn FltSupportsStreamHandleContexts(fileobject: *const super::super::s #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltTagFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>, databuffer: *const ::core::ffi::c_void, databufferlength: u16) -> ::windows_core::Result<()> +pub unsafe fn FltTagFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>, databuffer: *const ::core::ffi::c_void, databufferlength: u16) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltTagFile(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, filetag : u32, guid : *const ::windows_core::GUID, databuffer : *const ::core::ffi::c_void, databufferlength : u16) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltTagFile(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null())), databuffer, databufferlength).ok() + FltTagFile(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null())), databuffer, databufferlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltTagFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>, databuffer: *const ::core::ffi::c_void, databufferlength: u16, existingfiletag: u32, existingguid: ::core::option::Option<*const ::windows_core::GUID>, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn FltTagFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>, databuffer: *const ::core::ffi::c_void, databufferlength: u16, existingfiletag: u32, existingguid: ::core::option::Option<*const ::windows_core::GUID>, flags: u32) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltTagFileEx(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, filetag : u32, guid : *const ::windows_core::GUID, databuffer : *const ::core::ffi::c_void, databufferlength : u16, existingfiletag : u32, existingguid : *const ::windows_core::GUID, flags : u32) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltTagFileEx(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null())), databuffer, databufferlength, existingfiletag, ::core::mem::transmute(existingguid.unwrap_or(::std::ptr::null())), flags).ok() + FltTagFileEx(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null())), databuffer, databufferlength, existingfiletag, ::core::mem::transmute(existingguid.unwrap_or(::std::ptr::null())), flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2273,9 +2309,9 @@ pub unsafe fn FltUninitializeOplock(oplock: *const *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FltUnloadFilter(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn FltUnloadFilter(filtername: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltUnloadFilter(filtername : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltUnloadFilter(filtername).ok() + FltUnloadFilter(filtername) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] #[inline] @@ -2289,49 +2325,49 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltUntagFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> +pub unsafe fn FltUntagFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, filetag: u32, guid: ::core::option::Option<*const ::windows_core::GUID>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltUntagFile(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, filetag : u32, guid : *const ::windows_core::GUID) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltUntagFile(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))).ok() + FltUntagFile(initiatinginstance.into_param().abi(), fileobject, filetag, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltVetoBypassIo(callbackdata: *const FLT_CALLBACK_DATA, fltobjects: *const FLT_RELATED_OBJECTS, operationstatus: P0, failurereason: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn FltVetoBypassIo(callbackdata: *const FLT_CALLBACK_DATA, fltobjects: *const FLT_RELATED_OBJECTS, operationstatus: P0, failurereason: *const super::super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltVetoBypassIo(callbackdata : *const FLT_CALLBACK_DATA, fltobjects : *const FLT_RELATED_OBJECTS, operationstatus : super::super::super::super::Win32::Foundation:: NTSTATUS, failurereason : *const super::super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltVetoBypassIo(callbackdata, fltobjects, operationstatus.into_param().abi(), failurereason).ok() + FltVetoBypassIo(callbackdata, fltobjects, operationstatus.into_param().abi(), failurereason) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltWriteFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: *const ::core::ffi::c_void, flags: u32, byteswritten: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn FltWriteFile(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: *const ::core::ffi::c_void, flags: u32, byteswritten: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltWriteFile(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, byteoffset : *const i64, length : u32, buffer : *const ::core::ffi::c_void, flags : u32, byteswritten : *mut u32, callbackroutine : PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext : *const ::core::ffi::c_void) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltWriteFile(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, buffer, flags, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))).ok() + FltWriteFile(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, buffer, flags, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltWriteFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, byteswritten: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, key: ::core::option::Option<*const u32>, mdl: ::core::option::Option<*const super::super::super::Foundation::MDL>) -> ::windows_core::Result<()> +pub unsafe fn FltWriteFileEx(initiatinginstance: P0, fileobject: *const super::super::super::Foundation::FILE_OBJECT, byteoffset: ::core::option::Option<*const i64>, length: u32, buffer: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, byteswritten: ::core::option::Option<*mut u32>, callbackroutine: PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, key: ::core::option::Option<*const u32>, mdl: ::core::option::Option<*const super::super::super::Foundation::MDL>) -> super::super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("fltmgr.sys" "system" fn FltWriteFileEx(initiatinginstance : PFLT_INSTANCE, fileobject : *const super::super::super::Foundation:: FILE_OBJECT, byteoffset : *const i64, length : u32, buffer : *const ::core::ffi::c_void, flags : u32, byteswritten : *mut u32, callbackroutine : PFLT_COMPLETED_ASYNC_IO_CALLBACK, callbackcontext : *const ::core::ffi::c_void, key : *const u32, mdl : *const super::super::super::Foundation:: MDL) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltWriteFileEx(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mdl.unwrap_or(::std::ptr::null()))).ok() + FltWriteFileEx(initiatinginstance.into_param().abi(), fileobject, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), length, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(byteswritten.unwrap_or(::std::ptr::null_mut())), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), ::core::mem::transmute(mdl.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FltpTraceRedirectedFileIo(originatingfileobject: *const super::super::super::Foundation::FILE_OBJECT, childcallbackdata: *mut FLT_CALLBACK_DATA) -> ::windows_core::Result<()> { +pub unsafe fn FltpTraceRedirectedFileIo(originatingfileobject: *const super::super::super::Foundation::FILE_OBJECT, childcallbackdata: *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("fltmgr.sys" "system" fn FltpTraceRedirectedFileIo(originatingfileobject : *const super::super::super::Foundation:: FILE_OBJECT, childcallbackdata : *mut FLT_CALLBACK_DATA) -> super::super::super::super::Win32::Foundation:: NTSTATUS); - FltpTraceRedirectedFileIo(originatingfileobject, childcallbackdata).ok() + FltpTraceRedirectedFileIo(originatingfileobject, childcallbackdata) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem_Minifilters\"`*"] pub const FLTFL_CALLBACK_DATA_DIRTY: u32 = 2147483648u32; diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs index fc203602e9..1ea33a67fa 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -96,9 +96,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CcErrorCallbackRoutine(context: *const CC_ERROR_CALLBACK_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn CcErrorCallbackRoutine(context: *const CC_ERROR_CALLBACK_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CcErrorCallbackRoutine(context : *const CC_ERROR_CALLBACK_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - CcErrorCallbackRoutine(context).ok() + CcErrorCallbackRoutine(context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -352,9 +352,9 @@ pub unsafe fn CcSetFileSizes(fileobject: *const super::super::Foundation::FILE_O #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn CcSetFileSizesEx(fileobject: *const super::super::Foundation::FILE_OBJECT, filesizes: *const CC_FILE_SIZES) -> ::windows_core::Result<()> { +pub unsafe fn CcSetFileSizesEx(fileobject: *const super::super::Foundation::FILE_OBJECT, filesizes: *const CC_FILE_SIZES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CcSetFileSizesEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, filesizes : *const CC_FILE_SIZES) -> super::super::super::Win32::Foundation:: NTSTATUS); - CcSetFileSizesEx(fileobject, filesizes).ok() + CcSetFileSizesEx(fileobject, filesizes) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -414,9 +414,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CcWaitForCurrentLazyWriterActivity() -> ::windows_core::Result<()> { +pub unsafe fn CcWaitForCurrentLazyWriterActivity() -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CcWaitForCurrentLazyWriterActivity() -> super::super::super::Win32::Foundation:: NTSTATUS); - CcWaitForCurrentLazyWriterActivity().ok() + CcWaitForCurrentLazyWriterActivity() } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -477,9 +477,9 @@ pub unsafe fn FsRtlAddBaseMcbEntry(mcb: *mut BASE_MCB, vbn: i64, lbn: i64, secto #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlAddBaseMcbEntryEx(mcb: *mut BASE_MCB, vbn: i64, lbn: i64, sectorcount: i64) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlAddBaseMcbEntryEx(mcb: *mut BASE_MCB, vbn: i64, lbn: i64, sectorcount: i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlAddBaseMcbEntryEx(mcb : *mut BASE_MCB, vbn : i64, lbn : i64, sectorcount : i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlAddBaseMcbEntryEx(mcb, vbn, lbn, sectorcount).ok() + FsRtlAddBaseMcbEntryEx(mcb, vbn, lbn, sectorcount) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -522,23 +522,23 @@ pub unsafe fn FsRtlAllocateAePushLock(pooltype: super::super::Foundation::POOL_T #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlAllocateExtraCreateParameter(ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag: u32, ecpcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlAllocateExtraCreateParameter(ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag: u32, ecpcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlAllocateExtraCreateParameter(ecptype : *const ::windows_core::GUID, sizeofcontext : u32, flags : u32, cleanupcallback : PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, pooltag : u32, ecpcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlAllocateExtraCreateParameter(ecptype, sizeofcontext, flags, cleanupcallback, pooltag, ecpcontext).ok() + FsRtlAllocateExtraCreateParameter(ecptype, sizeofcontext, flags, cleanupcallback, pooltag, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlAllocateExtraCreateParameterFromLookasideList(ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist: *mut ::core::ffi::c_void, ecpcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlAllocateExtraCreateParameterFromLookasideList(ecptype: *const ::windows_core::GUID, sizeofcontext: u32, flags: u32, cleanupcallback: PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist: *mut ::core::ffi::c_void, ecpcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlAllocateExtraCreateParameterFromLookasideList(ecptype : *const ::windows_core::GUID, sizeofcontext : u32, flags : u32, cleanupcallback : PFSRTL_EXTRA_CREATE_PARAMETER_CLEANUP_CALLBACK, lookasidelist : *mut ::core::ffi::c_void, ecpcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlAllocateExtraCreateParameterFromLookasideList(ecptype, sizeofcontext, flags, cleanupcallback, lookasidelist, ecpcontext).ok() + FsRtlAllocateExtraCreateParameterFromLookasideList(ecptype, sizeofcontext, flags, cleanupcallback, lookasidelist, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlAllocateExtraCreateParameterList(flags: u32, ecplist: *mut *mut super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlAllocateExtraCreateParameterList(flags: u32, ecplist: *mut *mut super::super::Foundation::ECP_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlAllocateExtraCreateParameterList(flags : u32, ecplist : *mut *mut super::super::Foundation:: ECP_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlAllocateExtraCreateParameterList(flags, ecplist).ok() + FsRtlAllocateExtraCreateParameterList(flags, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -588,30 +588,30 @@ pub unsafe fn FsRtlAreVolumeStartupApplicationsComplete() -> super::super::super #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlBalanceReads(targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlBalanceReads(targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlBalanceReads(targetdevice : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlBalanceReads(targetdevice).ok() + FsRtlBalanceReads(targetdevice) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCancellableWaitForMultipleObjects(objectarray: &[*const ::core::ffi::c_void], waittype: super::super::super::Win32::System::Kernel::WAIT_TYPE, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*const super::super::Foundation::KWAIT_BLOCK>, irp: ::core::option::Option<*const super::super::Foundation::IRP>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCancellableWaitForMultipleObjects(objectarray: &[*const ::core::ffi::c_void], waittype: super::super::super::Win32::System::Kernel::WAIT_TYPE, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*const super::super::Foundation::KWAIT_BLOCK>, irp: ::core::option::Option<*const super::super::Foundation::IRP>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCancellableWaitForMultipleObjects(count : u32, objectarray : *const *const ::core::ffi::c_void, waittype : super::super::super::Win32::System::Kernel:: WAIT_TYPE, timeout : *const i64, waitblockarray : *const super::super::Foundation:: KWAIT_BLOCK, irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCancellableWaitForMultipleObjects(objectarray.len() as _, ::core::mem::transmute(objectarray.as_ptr()), waittype, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null()))).ok() + FsRtlCancellableWaitForMultipleObjects(objectarray.len() as _, ::core::mem::transmute(objectarray.as_ptr()), waittype, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCancellableWaitForSingleObject(object: *const ::core::ffi::c_void, timeout: ::core::option::Option<*const i64>, irp: ::core::option::Option<*const super::super::Foundation::IRP>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCancellableWaitForSingleObject(object: *const ::core::ffi::c_void, timeout: ::core::option::Option<*const i64>, irp: ::core::option::Option<*const super::super::Foundation::IRP>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCancellableWaitForSingleObject(object : *const ::core::ffi::c_void, timeout : *const i64, irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCancellableWaitForSingleObject(object, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null()))).ok() + FsRtlCancellableWaitForSingleObject(object, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlChangeBackingFileObject(currentfileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, newfileobject: *const super::super::Foundation::FILE_OBJECT, changebackingtype: FSRTL_CHANGE_BACKING_TYPE, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlChangeBackingFileObject(currentfileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, newfileobject: *const super::super::Foundation::FILE_OBJECT, changebackingtype: FSRTL_CHANGE_BACKING_TYPE, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlChangeBackingFileObject(currentfileobject : *const super::super::Foundation:: FILE_OBJECT, newfileobject : *const super::super::Foundation:: FILE_OBJECT, changebackingtype : FSRTL_CHANGE_BACKING_TYPE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlChangeBackingFileObject(::core::mem::transmute(currentfileobject.unwrap_or(::std::ptr::null())), newfileobject, changebackingtype, flags).ok() + FsRtlChangeBackingFileObject(::core::mem::transmute(currentfileobject.unwrap_or(::std::ptr::null())), newfileobject, changebackingtype, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -637,30 +637,30 @@ pub unsafe fn FsRtlCheckLockForWriteAccess(filelock: *const FILE_LOCK, irp: *con #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCheckOplock(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCheckOplock(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCheckOplock(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCheckOplock(oplock, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine).ok() + FsRtlCheckOplock(oplock, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCheckOplockEx(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCheckOplockEx(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCheckOplockEx(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, flags : u32, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCheckOplockEx(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine).ok() + FsRtlCheckOplockEx(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCheckOplockEx2(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, flagsex2: u32, completionroutinecontext: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP, timeout: u64, notifycontext: ::core::option::Option<*const ::core::ffi::c_void>, notifyroutine: POPLOCK_NOTIFY_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCheckOplockEx2(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, flagsex2: u32, completionroutinecontext: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP, timeout: u64, notifycontext: ::core::option::Option<*const ::core::ffi::c_void>, notifyroutine: POPLOCK_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCheckOplockEx2(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, flags : u32, flagsex2 : u32, completionroutinecontext : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP, timeout : u64, notifycontext : *const ::core::ffi::c_void, notifyroutine : POPLOCK_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCheckOplockEx2(oplock, irp, flags, flagsex2, ::core::mem::transmute(completionroutinecontext.unwrap_or(::std::ptr::null())), completionroutine, postirproutine, timeout, ::core::mem::transmute(notifycontext.unwrap_or(::std::ptr::null())), notifyroutine).ok() + FsRtlCheckOplockEx2(oplock, irp, flags, flagsex2, ::core::mem::transmute(completionroutinecontext.unwrap_or(::std::ptr::null())), completionroutine, postirproutine, timeout, ::core::mem::transmute(notifycontext.unwrap_or(::std::ptr::null())), notifyroutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCheckUpperOplock(oplock: *const *const ::core::ffi::c_void, newloweroplockstate: u32, completionroutinecontext: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, prependroutine: POPLOCK_FS_PREPOST_IRP, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCheckUpperOplock(oplock: *const *const ::core::ffi::c_void, newloweroplockstate: u32, completionroutinecontext: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, prependroutine: POPLOCK_FS_PREPOST_IRP, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCheckUpperOplock(oplock : *const *const ::core::ffi::c_void, newloweroplockstate : u32, completionroutinecontext : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, prependroutine : POPLOCK_FS_PREPOST_IRP, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCheckUpperOplock(oplock, newloweroplockstate, ::core::mem::transmute(completionroutinecontext.unwrap_or(::std::ptr::null())), completionroutine, prependroutine, flags).ok() + FsRtlCheckUpperOplock(oplock, newloweroplockstate, ::core::mem::transmute(completionroutinecontext.unwrap_or(::std::ptr::null())), completionroutine, prependroutine, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -685,9 +685,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlCreateSectionForDataScan(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, sectionobject: *mut *mut ::core::ffi::c_void, sectionfilesize: ::core::option::Option<*mut i64>, fileobject: *const super::super::Foundation::FILE_OBJECT, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlCreateSectionForDataScan(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, sectionobject: *mut *mut ::core::ffi::c_void, sectionfilesize: ::core::option::Option<*mut i64>, fileobject: *const super::super::Foundation::FILE_OBJECT, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlCreateSectionForDataScan(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, sectionobject : *mut *mut ::core::ffi::c_void, sectionfilesize : *mut i64, fileobject : *const super::super::Foundation:: FILE_OBJECT, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlCreateSectionForDataScan(sectionhandle, sectionobject, ::core::mem::transmute(sectionfilesize.unwrap_or(::std::ptr::null_mut())), fileobject, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, flags).ok() + FsRtlCreateSectionForDataScan(sectionhandle, sectionobject, ::core::mem::transmute(sectionfilesize.unwrap_or(::std::ptr::null_mut())), fileobject, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -795,40 +795,40 @@ pub unsafe fn FsRtlFastCheckLockForWrite(filelock: *const FILE_LOCK, startingbyt #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlFastUnlockAll(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, processid: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn FsRtlFastUnlockAll(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, processid: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlFastUnlockAll(filelock : *const FILE_LOCK, fileobject : *const super::super::Foundation:: FILE_OBJECT, processid : super::super::Foundation:: PEPROCESS, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlFastUnlockAll(filelock, fileobject, processid.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + FsRtlFastUnlockAll(filelock, fileobject, processid.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlFastUnlockAllByKey(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, processid: P0, key: u32, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn FsRtlFastUnlockAllByKey(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, processid: P0, key: u32, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlFastUnlockAllByKey(filelock : *const FILE_LOCK, fileobject : *const super::super::Foundation:: FILE_OBJECT, processid : super::super::Foundation:: PEPROCESS, key : u32, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlFastUnlockAllByKey(filelock, fileobject, processid.into_param().abi(), key, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + FsRtlFastUnlockAllByKey(filelock, fileobject, processid.into_param().abi(), key, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlFastUnlockSingle(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: *const i64, processid: P0, key: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, alreadysynchronized: P1) -> ::windows_core::Result<()> +pub unsafe fn FsRtlFastUnlockSingle(filelock: *const FILE_LOCK, fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: *const i64, processid: P0, key: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, alreadysynchronized: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlFastUnlockSingle(filelock : *const FILE_LOCK, fileobject : *const super::super::Foundation:: FILE_OBJECT, fileoffset : *const i64, length : *const i64, processid : super::super::Foundation:: PEPROCESS, key : u32, context : *const ::core::ffi::c_void, alreadysynchronized : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlFastUnlockSingle(filelock, fileobject, fileoffset, length, processid.into_param().abi(), key, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), alreadysynchronized.into_param().abi()).ok() + FsRtlFastUnlockSingle(filelock, fileobject, fileoffset, length, processid.into_param().abi(), key, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), alreadysynchronized.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlFindExtraCreateParameter(ecplist: *const super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, ecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlFindExtraCreateParameter(ecplist: *const super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, ecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlFindExtraCreateParameter(ecplist : *const super::super::Foundation:: ECP_LIST, ecptype : *const ::windows_core::GUID, ecpcontext : *mut *mut ::core::ffi::c_void, ecpcontextsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlFindExtraCreateParameter(ecplist, ecptype, ::core::mem::transmute(ecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlFindExtraCreateParameter(ecplist, ecptype, ::core::mem::transmute(ecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -880,16 +880,16 @@ pub unsafe fn FsRtlGetCurrentProcessLoaderList() -> *mut super::super::super::Wi #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlGetEcpListFromIrp(irp: *const super::super::Foundation::IRP, ecplist: *mut *mut super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetEcpListFromIrp(irp: *const super::super::Foundation::IRP, ecplist: *mut *mut super::super::Foundation::ECP_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetEcpListFromIrp(irp : *const super::super::Foundation:: IRP, ecplist : *mut *mut super::super::Foundation:: ECP_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetEcpListFromIrp(irp, ecplist).ok() + FsRtlGetEcpListFromIrp(irp, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlGetFileSize(fileobject: *const super::super::Foundation::FILE_OBJECT, filesize: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetFileSize(fileobject: *const super::super::Foundation::FILE_OBJECT, filesize: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetFileSize(fileobject : *const super::super::Foundation:: FILE_OBJECT, filesize : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetFileSize(fileobject, filesize).ok() + FsRtlGetFileSize(fileobject, filesize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -901,9 +901,9 @@ pub unsafe fn FsRtlGetNextBaseMcbEntry(mcb: *const BASE_MCB, runindex: u32, vbn: #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlGetNextExtraCreateParameter(ecplist: *const super::super::Foundation::ECP_LIST, currentecpcontext: ::core::option::Option<*const ::core::ffi::c_void>, nextecptype: ::core::option::Option<*mut ::windows_core::GUID>, nextecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, nextecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetNextExtraCreateParameter(ecplist: *const super::super::Foundation::ECP_LIST, currentecpcontext: ::core::option::Option<*const ::core::ffi::c_void>, nextecptype: ::core::option::Option<*mut ::windows_core::GUID>, nextecpcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>, nextecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetNextExtraCreateParameter(ecplist : *const super::super::Foundation:: ECP_LIST, currentecpcontext : *const ::core::ffi::c_void, nextecptype : *mut ::windows_core::GUID, nextecpcontext : *mut *mut ::core::ffi::c_void, nextecpcontextsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetNextExtraCreateParameter(ecplist, ::core::mem::transmute(currentecpcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(nextecptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlGetNextExtraCreateParameter(ecplist, ::core::mem::transmute(currentecpcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(nextecptype.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontext.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -932,23 +932,23 @@ pub unsafe fn FsRtlGetNextMcbEntry(mcb: *const MCB, runindex: u32, vbn: *mut u32 #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlGetSectorSizeInformation(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsizeinfo: *mut FILE_FS_SECTOR_SIZE_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetSectorSizeInformation(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsizeinfo: *mut FILE_FS_SECTOR_SIZE_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetSectorSizeInformation(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsizeinfo : *mut FILE_FS_SECTOR_SIZE_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetSectorSizeInformation(deviceobject, sectorsizeinfo).ok() + FsRtlGetSectorSizeInformation(deviceobject, sectorsizeinfo) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlGetSupportedFeatures(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, supportedfeatures: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetSupportedFeatures(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, supportedfeatures: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetSupportedFeatures(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, supportedfeatures : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetSupportedFeatures(deviceobject, supportedfeatures).ok() + FsRtlGetSupportedFeatures(deviceobject, supportedfeatures) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlGetVirtualDiskNestingLevel(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, nestinglevel: *mut u32, nestingflags: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlGetVirtualDiskNestingLevel(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, nestinglevel: *mut u32, nestingflags: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlGetVirtualDiskNestingLevel(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, nestinglevel : *mut u32, nestingflags : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlGetVirtualDiskNestingLevel(deviceobject, nestinglevel, ::core::mem::transmute(nestingflags.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlGetVirtualDiskNestingLevel(deviceobject, nestinglevel, ::core::mem::transmute(nestingflags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -1010,9 +1010,9 @@ pub unsafe fn FsRtlInitializeExtraCreateParameter(ecp: *mut super::super::Founda #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlInitializeExtraCreateParameterList(ecplist: *mut super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlInitializeExtraCreateParameterList(ecplist: *mut super::super::Foundation::ECP_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlInitializeExtraCreateParameterList(ecplist : *mut super::super::Foundation:: ECP_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlInitializeExtraCreateParameterList(ecplist).ok() + FsRtlInitializeExtraCreateParameterList(ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1051,30 +1051,30 @@ pub unsafe fn FsRtlInitializeTunnelCache(cache: *mut TUNNEL) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlInsertExtraCreateParameter(ecplist: *mut super::super::Foundation::ECP_LIST, ecpcontext: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlInsertExtraCreateParameter(ecplist: *mut super::super::Foundation::ECP_LIST, ecpcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlInsertExtraCreateParameter(ecplist : *mut super::super::Foundation:: ECP_LIST, ecpcontext : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlInsertExtraCreateParameter(ecplist, ecpcontext).ok() + FsRtlInsertExtraCreateParameter(ecplist, ecpcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn FsRtlInsertPerFileContext(perfilecontextpointer: *const *const ::core::ffi::c_void, ptr: *const FSRTL_PER_FILE_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlInsertPerFileContext(perfilecontextpointer: *const *const ::core::ffi::c_void, ptr: *const FSRTL_PER_FILE_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlInsertPerFileContext(perfilecontextpointer : *const *const ::core::ffi::c_void, ptr : *const FSRTL_PER_FILE_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlInsertPerFileContext(perfilecontextpointer, ptr).ok() + FsRtlInsertPerFileContext(perfilecontextpointer, ptr) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlInsertPerFileObjectContext(fileobject: *const super::super::Foundation::FILE_OBJECT, ptr: *const FSRTL_PER_FILEOBJECT_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlInsertPerFileObjectContext(fileobject: *const super::super::Foundation::FILE_OBJECT, ptr: *const FSRTL_PER_FILEOBJECT_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlInsertPerFileObjectContext(fileobject : *const super::super::Foundation:: FILE_OBJECT, ptr : *const FSRTL_PER_FILEOBJECT_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlInsertPerFileObjectContext(fileobject, ptr).ok() + FsRtlInsertPerFileObjectContext(fileobject, ptr) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn FsRtlInsertPerStreamContext(perstreamcontext: *const FSRTL_ADVANCED_FCB_HEADER, ptr: *const FSRTL_PER_STREAM_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlInsertPerStreamContext(perstreamcontext: *const FSRTL_ADVANCED_FCB_HEADER, ptr: *const FSRTL_PER_STREAM_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlInsertPerStreamContext(perstreamcontext : *const FSRTL_ADVANCED_FCB_HEADER, ptr : *const FSRTL_PER_STREAM_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlInsertPerStreamContext(perstreamcontext, ptr).ok() + FsRtlInsertPerStreamContext(perstreamcontext, ptr) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -1207,26 +1207,26 @@ pub unsafe fn FsRtlIsSystemPagingFile(fileobject: *const super::super::Foundatio #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlIssueDeviceIoControl(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, ioctl: u32, flags: u8, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, outputbufferlength: u32, iosbinformation: ::core::option::Option<*mut usize>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlIssueDeviceIoControl(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, ioctl: u32, flags: u8, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, outputbufferlength: u32, iosbinformation: ::core::option::Option<*mut usize>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlIssueDeviceIoControl(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, ioctl : u32, flags : u8, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *const ::core::ffi::c_void, outputbufferlength : u32, iosbinformation : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlIssueDeviceIoControl(deviceobject, ioctl, flags, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null())), outputbufferlength, ::core::mem::transmute(iosbinformation.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlIssueDeviceIoControl(deviceobject, ioctl, flags, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null())), outputbufferlength, ::core::mem::transmute(iosbinformation.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlKernelFsControlFile(fileobject: *const super::super::Foundation::FILE_OBJECT, fscontrolcode: u32, inputbuffer: *const ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32, retoutputbuffersize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlKernelFsControlFile(fileobject: *const super::super::Foundation::FILE_OBJECT, fscontrolcode: u32, inputbuffer: *const ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32, retoutputbuffersize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlKernelFsControlFile(fileobject : *const super::super::Foundation:: FILE_OBJECT, fscontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32, retoutputbuffersize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlKernelFsControlFile(fileobject, fscontrolcode, inputbuffer, inputbufferlength, outputbuffer, outputbufferlength, retoutputbuffersize).ok() + FsRtlKernelFsControlFile(fileobject, fscontrolcode, inputbuffer, inputbufferlength, outputbuffer, outputbufferlength, retoutputbuffersize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlLogCcFlushError(filename: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectionobjectpointer: *const super::super::Foundation::SECTION_OBJECT_POINTERS, flusherror: P0, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn FsRtlLogCcFlushError(filename: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectionobjectpointer: *const super::super::Foundation::SECTION_OBJECT_POINTERS, flusherror: P0, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlLogCcFlushError(filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectionobjectpointer : *const super::super::Foundation:: SECTION_OBJECT_POINTERS, flusherror : super::super::super::Win32::Foundation:: NTSTATUS, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlLogCcFlushError(filename, deviceobject, sectionobjectpointer, flusherror.into_param().abi(), flags).ok() + FsRtlLogCcFlushError(filename, deviceobject, sectionobjectpointer, flusherror.into_param().abi(), flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1322,9 +1322,9 @@ pub unsafe fn FsRtlMdlReadDev(fileobject: *const super::super::Foundation::FILE_ #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlMdlReadEx(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlMdlReadEx(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlMdlReadEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, fileoffset : *const i64, length : u32, lockkey : u32, mdlchain : *mut *mut super::super::Foundation:: MDL, iostatus : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlMdlReadEx(fileobject, fileoffset, length, lockkey, mdlchain, iostatus).ok() + FsRtlMdlReadEx(fileobject, fileoffset, length, lockkey, mdlchain, iostatus) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1336,27 +1336,27 @@ pub unsafe fn FsRtlMdlWriteCompleteDev(fileobject: *const super::super::Foundati #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlMupGetProviderIdFromName(pprovidername: *const super::super::super::Win32::Foundation::UNICODE_STRING, pproviderid: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlMupGetProviderIdFromName(pprovidername: *const super::super::super::Win32::Foundation::UNICODE_STRING, pproviderid: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlMupGetProviderIdFromName(pprovidername : *const super::super::super::Win32::Foundation:: UNICODE_STRING, pproviderid : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlMupGetProviderIdFromName(pprovidername, pproviderid).ok() + FsRtlMupGetProviderIdFromName(pprovidername, pproviderid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlMupGetProviderInfoFromFileObject(pfileobject: *const super::super::Foundation::FILE_OBJECT, level: u32, pbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlMupGetProviderInfoFromFileObject(pfileobject: *const super::super::Foundation::FILE_OBJECT, level: u32, pbuffer: *mut ::core::ffi::c_void, pbuffersize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlMupGetProviderInfoFromFileObject(pfileobject : *const super::super::Foundation:: FILE_OBJECT, level : u32, pbuffer : *mut ::core::ffi::c_void, pbuffersize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlMupGetProviderInfoFromFileObject(pfileobject, level, pbuffer, pbuffersize).ok() + FsRtlMupGetProviderInfoFromFileObject(pfileobject, level, pbuffer, pbuffersize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlNormalizeNtstatus(exception: P0, genericexception: P1) -> ::windows_core::Result<()> +pub unsafe fn FsRtlNormalizeNtstatus(exception: P0, genericexception: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlNormalizeNtstatus(exception : super::super::super::Win32::Foundation:: NTSTATUS, genericexception : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlNormalizeNtstatus(exception.into_param().abi(), genericexception.into_param().abi()).ok() + FsRtlNormalizeNtstatus(exception.into_param().abi(), genericexception.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] @@ -1441,16 +1441,16 @@ pub unsafe fn FsRtlNotifyUninitializeSync(notifysync: *mut super::super::Foundat #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlNotifyVolumeEvent(fileobject: *const super::super::Foundation::FILE_OBJECT, eventcode: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlNotifyVolumeEvent(fileobject: *const super::super::Foundation::FILE_OBJECT, eventcode: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlNotifyVolumeEvent(fileobject : *const super::super::Foundation:: FILE_OBJECT, eventcode : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlNotifyVolumeEvent(fileobject, eventcode).ok() + FsRtlNotifyVolumeEvent(fileobject, eventcode) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlNotifyVolumeEventEx(fileobject: *const super::super::Foundation::FILE_OBJECT, eventcode: u32, event: *const super::super::Foundation::TARGET_DEVICE_CUSTOM_NOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlNotifyVolumeEventEx(fileobject: *const super::super::Foundation::FILE_OBJECT, eventcode: u32, event: *const super::super::Foundation::TARGET_DEVICE_CUSTOM_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlNotifyVolumeEventEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, eventcode : u32, event : *const super::super::Foundation:: TARGET_DEVICE_CUSTOM_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlNotifyVolumeEventEx(fileobject, eventcode, event).ok() + FsRtlNotifyVolumeEventEx(fileobject, eventcode, event) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -1475,44 +1475,44 @@ pub unsafe fn FsRtlNumberOfRunsInMcb(mcb: *const MCB) -> u32 { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockBreakH(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockBreakH(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockBreakH(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, flags : u32, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockBreakH(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine).ok() + FsRtlOplockBreakH(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockBreakH2(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP, grantedaccess: ::core::option::Option<*const u32>, shareaccess: ::core::option::Option<*const u16>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockBreakH2(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP, grantedaccess: ::core::option::Option<*const u32>, shareaccess: ::core::option::Option<*const u16>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockBreakH2(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, flags : u32, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP, grantedaccess : *const u32, shareaccess : *const u16) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockBreakH2(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine, ::core::mem::transmute(grantedaccess.unwrap_or(::std::ptr::null())), ::core::mem::transmute(shareaccess.unwrap_or(::std::ptr::null()))).ok() + FsRtlOplockBreakH2(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine, ::core::mem::transmute(grantedaccess.unwrap_or(::std::ptr::null())), ::core::mem::transmute(shareaccess.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockBreakToNone(oplock: *mut *mut ::core::ffi::c_void, irpsp: ::core::option::Option<*const super::super::Foundation::IO_STACK_LOCATION>, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockBreakToNone(oplock: *mut *mut ::core::ffi::c_void, irpsp: ::core::option::Option<*const super::super::Foundation::IO_STACK_LOCATION>, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockBreakToNone(oplock : *mut *mut ::core::ffi::c_void, irpsp : *const super::super::Foundation:: IO_STACK_LOCATION, irp : *const super::super::Foundation:: IRP, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockBreakToNone(oplock, ::core::mem::transmute(irpsp.unwrap_or(::std::ptr::null())), irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine).ok() + FsRtlOplockBreakToNone(oplock, ::core::mem::transmute(irpsp.unwrap_or(::std::ptr::null())), irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockBreakToNoneEx(oplock: *mut *mut ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockBreakToNoneEx(oplock: *mut *mut ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, completionroutine: POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine: POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockBreakToNoneEx(oplock : *mut *mut ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, flags : u32, context : *const ::core::ffi::c_void, completionroutine : POPLOCK_WAIT_COMPLETE_ROUTINE, postirproutine : POPLOCK_FS_PREPOST_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockBreakToNoneEx(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine).ok() + FsRtlOplockBreakToNoneEx(oplock, irp, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), completionroutine, postirproutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockFsctrl(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockFsctrl(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockFsctrl(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, opencount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockFsctrl(oplock, irp, opencount).ok() + FsRtlOplockFsctrl(oplock, irp, opencount) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlOplockFsctrlEx(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlOplockFsctrlEx(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlOplockFsctrlEx(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, opencount : u32, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlOplockFsctrlEx(oplock, irp, opencount, flags).ok() + FsRtlOplockFsctrlEx(oplock, irp, opencount, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -1566,9 +1566,9 @@ pub unsafe fn FsRtlPrepareMdlWriteDev(fileobject: *const super::super::Foundatio #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlPrepareMdlWriteEx(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlPrepareMdlWriteEx(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlPrepareMdlWriteEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, fileoffset : *const i64, length : u32, lockkey : u32, mdlchain : *mut *mut super::super::Foundation:: MDL, iostatus : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlPrepareMdlWriteEx(fileobject, fileoffset, length, lockkey, mdlchain, iostatus).ok() + FsRtlPrepareMdlWriteEx(fileobject, fileoffset, length, lockkey, mdlchain, iostatus) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -1592,34 +1592,34 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlProcessFileLock(filelock: *const FILE_LOCK, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlProcessFileLock(filelock: *const FILE_LOCK, irp: *const super::super::Foundation::IRP, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlProcessFileLock(filelock : *const FILE_LOCK, irp : *const super::super::Foundation:: IRP, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlProcessFileLock(filelock, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + FsRtlProcessFileLock(filelock, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlQueryCachedVdl(fileobject: *const super::super::Foundation::FILE_OBJECT, vdl: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlQueryCachedVdl(fileobject: *const super::super::Foundation::FILE_OBJECT, vdl: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlQueryCachedVdl(fileobject : *const super::super::Foundation:: FILE_OBJECT, vdl : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlQueryCachedVdl(fileobject, vdl).ok() + FsRtlQueryCachedVdl(fileobject, vdl) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlQueryInformationFile(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, retfileinformationsize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlQueryInformationFile(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, retfileinformationsize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlQueryInformationFile(fileobject : *const super::super::Foundation:: FILE_OBJECT, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, retfileinformationsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlQueryInformationFile(fileobject, fileinformation, length, fileinformationclass, retfileinformationsize).ok() + FsRtlQueryInformationFile(fileobject, fileinformation, length, fileinformationclass, retfileinformationsize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlQueryKernelEaFile(fileobject: *const super::super::Foundation::FILE_OBJECT, returnedeadata: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P0, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P1, lengthreturned: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn FsRtlQueryKernelEaFile(fileobject: *const super::super::Foundation::FILE_OBJECT, returnedeadata: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P0, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P1, lengthreturned: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlQueryKernelEaFile(fileobject : *const super::super::Foundation:: FILE_OBJECT, returnedeadata : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, ealist : *const ::core::ffi::c_void, ealistlength : u32, eaindex : *const u32, restartscan : super::super::super::Win32::Foundation:: BOOLEAN, lengthreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlQueryKernelEaFile(fileobject, returnedeadata, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlQueryKernelEaFile(fileobject, returnedeadata, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi(), ::core::mem::transmute(lengthreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -1630,33 +1630,33 @@ pub unsafe fn FsRtlQueryMaximumVirtualDiskNestingLevel() -> u32 { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlRegisterFileSystemFilterCallbacks(filterdriverobject: *const super::super::Foundation::DRIVER_OBJECT, callbacks: *const FS_FILTER_CALLBACKS) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlRegisterFileSystemFilterCallbacks(filterdriverobject: *const super::super::Foundation::DRIVER_OBJECT, callbacks: *const FS_FILTER_CALLBACKS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRegisterFileSystemFilterCallbacks(filterdriverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbacks : *const FS_FILTER_CALLBACKS) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRegisterFileSystemFilterCallbacks(filterdriverobject, callbacks).ok() + FsRtlRegisterFileSystemFilterCallbacks(filterdriverobject, callbacks) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlRegisterUncProvider(muphandle: *mut super::super::super::Win32::Foundation::HANDLE, redirectordevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, mailslotssupported: P0) -> ::windows_core::Result<()> +pub unsafe fn FsRtlRegisterUncProvider(muphandle: *mut super::super::super::Win32::Foundation::HANDLE, redirectordevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, mailslotssupported: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRegisterUncProvider(muphandle : *mut super::super::super::Win32::Foundation:: HANDLE, redirectordevicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, mailslotssupported : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRegisterUncProvider(muphandle, redirectordevicename, mailslotssupported.into_param().abi()).ok() + FsRtlRegisterUncProvider(muphandle, redirectordevicename, mailslotssupported.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlRegisterUncProviderEx(muphandle: *mut super::super::super::Win32::Foundation::HANDLE, redirdevname: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlRegisterUncProviderEx(muphandle: *mut super::super::super::Win32::Foundation::HANDLE, redirdevname: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRegisterUncProviderEx(muphandle : *mut super::super::super::Win32::Foundation:: HANDLE, redirdevname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRegisterUncProviderEx(muphandle, redirdevname, deviceobject, flags).ok() + FsRtlRegisterUncProviderEx(muphandle, redirdevname, deviceobject, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlRegisterUncProviderEx2(redirdevname: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, registration: *const FSRTL_UNC_PROVIDER_REGISTRATION, muphandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlRegisterUncProviderEx2(redirdevname: *const super::super::super::Win32::Foundation::UNICODE_STRING, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, registration: *const FSRTL_UNC_PROVIDER_REGISTRATION, muphandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRegisterUncProviderEx2(redirdevname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, registration : *const FSRTL_UNC_PROVIDER_REGISTRATION, muphandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRegisterUncProviderEx2(redirdevname, deviceobject, registration, muphandle).ok() + FsRtlRegisterUncProviderEx2(redirdevname, deviceobject, registration, muphandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1675,16 +1675,16 @@ pub unsafe fn FsRtlRemoveBaseMcbEntry(mcb: *mut BASE_MCB, vbn: i64, sectorcount: #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlRemoveDotsFromPath(originalstring: ::windows_core::PWSTR, pathlength: u16, newlength: *mut u16) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlRemoveDotsFromPath(originalstring: ::windows_core::PWSTR, pathlength: u16, newlength: *mut u16) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRemoveDotsFromPath(originalstring : ::windows_core::PWSTR, pathlength : u16, newlength : *mut u16) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRemoveDotsFromPath(::core::mem::transmute(originalstring), pathlength, newlength).ok() + FsRtlRemoveDotsFromPath(::core::mem::transmute(originalstring), pathlength, newlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn FsRtlRemoveExtraCreateParameter(ecplist: *mut super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: *mut *mut ::core::ffi::c_void, ecpcontextsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlRemoveExtraCreateParameter(ecplist: *mut super::super::Foundation::ECP_LIST, ecptype: *const ::windows_core::GUID, ecpcontext: *mut *mut ::core::ffi::c_void, ecpcontextsize: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlRemoveExtraCreateParameter(ecplist : *mut super::super::Foundation:: ECP_LIST, ecptype : *const ::windows_core::GUID, ecpcontext : *mut *mut ::core::ffi::c_void, ecpcontextsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlRemoveExtraCreateParameter(ecplist, ecptype, ecpcontext, ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))).ok() + FsRtlRemoveExtraCreateParameter(ecplist, ecptype, ecpcontext, ::core::mem::transmute(ecpcontextsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1742,23 +1742,23 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlSetDriverBacking(driverobj: *const super::super::Foundation::DRIVER_OBJECT, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlSetDriverBacking(driverobj: *const super::super::Foundation::DRIVER_OBJECT, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlSetDriverBacking(driverobj : *const super::super::Foundation:: DRIVER_OBJECT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlSetDriverBacking(driverobj, flags).ok() + FsRtlSetDriverBacking(driverobj, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlSetEcpListIntoIrp(irp: *mut super::super::Foundation::IRP, ecplist: *const super::super::Foundation::ECP_LIST) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlSetEcpListIntoIrp(irp: *mut super::super::Foundation::IRP, ecplist: *const super::super::Foundation::ECP_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlSetEcpListIntoIrp(irp : *mut super::super::Foundation:: IRP, ecplist : *const super::super::Foundation:: ECP_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlSetEcpListIntoIrp(irp, ecplist).ok() + FsRtlSetEcpListIntoIrp(irp, ecplist) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlSetKernelEaFile(fileobject: *const super::super::Foundation::FILE_OBJECT, eabuffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlSetKernelEaFile(fileobject: *const super::super::Foundation::FILE_OBJECT, eabuffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlSetKernelEaFile(fileobject : *const super::super::Foundation:: FILE_OBJECT, eabuffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlSetKernelEaFile(fileobject, eabuffer, length).ok() + FsRtlSetKernelEaFile(fileobject, eabuffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1849,30 +1849,30 @@ pub unsafe fn FsRtlUpdateDiskCounters(bytesread: u64, byteswritten: u64) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlUpperOplockFsctrl(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32, loweroplockstate: u32, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlUpperOplockFsctrl(oplock: *const *const ::core::ffi::c_void, irp: *const super::super::Foundation::IRP, opencount: u32, loweroplockstate: u32, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlUpperOplockFsctrl(oplock : *const *const ::core::ffi::c_void, irp : *const super::super::Foundation:: IRP, opencount : u32, loweroplockstate : u32, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlUpperOplockFsctrl(oplock, irp, opencount, loweroplockstate, flags).ok() + FsRtlUpperOplockFsctrl(oplock, irp, opencount, loweroplockstate, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn FsRtlValidateReparsePointBuffer(bufferlength: u32, reparsebuffer: *const REPARSE_DATA_BUFFER) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlValidateReparsePointBuffer(bufferlength: u32, reparsebuffer: *const REPARSE_DATA_BUFFER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlValidateReparsePointBuffer(bufferlength : u32, reparsebuffer : *const REPARSE_DATA_BUFFER) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlValidateReparsePointBuffer(bufferlength, reparsebuffer).ok() + FsRtlValidateReparsePointBuffer(bufferlength, reparsebuffer) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn FsRtlVolumeDeviceToCorrelationId(volumedeviceobject: *const super::super::Foundation::DEVICE_OBJECT, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn FsRtlVolumeDeviceToCorrelationId(volumedeviceobject: *const super::super::Foundation::DEVICE_OBJECT, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlVolumeDeviceToCorrelationId(volumedeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - FsRtlVolumeDeviceToCorrelationId(volumedeviceobject, guid).ok() + FsRtlVolumeDeviceToCorrelationId(volumedeviceobject, guid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn GetSecurityUserInfo(logonid: ::core::option::Option<*const super::super::super::Win32::Foundation::LUID>, flags: u32, userinformation: *mut *mut super::super::super::Win32::Security::Authentication::Identity::SECURITY_USER_DATA) -> ::windows_core::Result<()> { +pub unsafe fn GetSecurityUserInfo(logonid: ::core::option::Option<*const super::super::super::Win32::Foundation::LUID>, flags: u32, userinformation: *mut *mut super::super::super::Win32::Security::Authentication::Identity::SECURITY_USER_DATA) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn GetSecurityUserInfo(logonid : *const super::super::super::Win32::Foundation:: LUID, flags : u32, userinformation : *mut *mut super::super::super::Win32::Security::Authentication::Identity:: SECURITY_USER_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - GetSecurityUserInfo(::core::mem::transmute(logonid.unwrap_or(::std::ptr::null())), flags, userinformation).ok() + GetSecurityUserInfo(::core::mem::transmute(logonid.unwrap_or(::std::ptr::null())), flags, userinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -1885,67 +1885,67 @@ pub unsafe fn IoAcquireVpbSpinLock() -> u8 { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn IoApplyPriorityInfoThread(inputpriorityinfo: *const IO_PRIORITY_INFO, outputpriorityinfo: ::core::option::Option<*mut IO_PRIORITY_INFO>, thread: P0) -> ::windows_core::Result<()> +pub unsafe fn IoApplyPriorityInfoThread(inputpriorityinfo: *const IO_PRIORITY_INFO, outputpriorityinfo: ::core::option::Option<*mut IO_PRIORITY_INFO>, thread: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoApplyPriorityInfoThread(inputpriorityinfo : *const IO_PRIORITY_INFO, outputpriorityinfo : *mut IO_PRIORITY_INFO, thread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoApplyPriorityInfoThread(inputpriorityinfo, ::core::mem::transmute(outputpriorityinfo.unwrap_or(::std::ptr::null_mut())), thread.into_param().abi()).ok() + IoApplyPriorityInfoThread(inputpriorityinfo, ::core::mem::transmute(outputpriorityinfo.unwrap_or(::std::ptr::null_mut())), thread.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCheckDesiredAccess(desiredaccess: *mut u32, grantedaccess: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoCheckDesiredAccess(desiredaccess: *mut u32, grantedaccess: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckDesiredAccess(desiredaccess : *mut u32, grantedaccess : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckDesiredAccess(desiredaccess, grantedaccess).ok() + IoCheckDesiredAccess(desiredaccess, grantedaccess) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCheckEaBufferValidity(eabuffer: *const FILE_FULL_EA_INFORMATION, ealength: u32, erroroffset: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoCheckEaBufferValidity(eabuffer: *const FILE_FULL_EA_INFORMATION, ealength: u32, erroroffset: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckEaBufferValidity(eabuffer : *const FILE_FULL_EA_INFORMATION, ealength : u32, erroroffset : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckEaBufferValidity(eabuffer, ealength, erroroffset).ok() + IoCheckEaBufferValidity(eabuffer, ealength, erroroffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCheckFunctionAccess(grantedaccess: u32, majorfunction: u8, minorfunction: u8, iocontrolcode: u32, arg1: ::core::option::Option<*const ::core::ffi::c_void>, arg2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoCheckFunctionAccess(grantedaccess: u32, majorfunction: u8, minorfunction: u8, iocontrolcode: u32, arg1: ::core::option::Option<*const ::core::ffi::c_void>, arg2: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckFunctionAccess(grantedaccess : u32, majorfunction : u8, minorfunction : u8, iocontrolcode : u32, arg1 : *const ::core::ffi::c_void, arg2 : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckFunctionAccess(grantedaccess, majorfunction, minorfunction, iocontrolcode, ::core::mem::transmute(arg1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(arg2.unwrap_or(::std::ptr::null()))).ok() + IoCheckFunctionAccess(grantedaccess, majorfunction, minorfunction, iocontrolcode, ::core::mem::transmute(arg1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(arg2.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCheckQuerySetFileInformation(fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, setoperation: P0) -> ::windows_core::Result<()> +pub unsafe fn IoCheckQuerySetFileInformation(fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, setoperation: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckQuerySetFileInformation(fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, length : u32, setoperation : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckQuerySetFileInformation(fileinformationclass, length, setoperation.into_param().abi()).ok() + IoCheckQuerySetFileInformation(fileinformationclass, length, setoperation.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCheckQuerySetVolumeInformation(fsinformationclass: FS_INFORMATION_CLASS, length: u32, setoperation: P0) -> ::windows_core::Result<()> +pub unsafe fn IoCheckQuerySetVolumeInformation(fsinformationclass: FS_INFORMATION_CLASS, length: u32, setoperation: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckQuerySetVolumeInformation(fsinformationclass : FS_INFORMATION_CLASS, length : u32, setoperation : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckQuerySetVolumeInformation(fsinformationclass, length, setoperation.into_param().abi()).ok() + IoCheckQuerySetVolumeInformation(fsinformationclass, length, setoperation.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn IoCheckQuotaBufferValidity(quotabuffer: *const FILE_QUOTA_INFORMATION, quotalength: u32, erroroffset: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoCheckQuotaBufferValidity(quotabuffer: *const FILE_QUOTA_INFORMATION, quotalength: u32, erroroffset: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckQuotaBufferValidity(quotabuffer : *const FILE_QUOTA_INFORMATION, quotalength : u32, erroroffset : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckQuotaBufferValidity(quotabuffer, quotalength, erroroffset).ok() + IoCheckQuotaBufferValidity(quotabuffer, quotalength, erroroffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoClearFsTrackOffsetState(irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> { +pub unsafe fn IoClearFsTrackOffsetState(irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoClearFsTrackOffsetState(irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoClearFsTrackOffsetState(irp).ok() + IoClearFsTrackOffsetState(irp) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1964,9 +1964,9 @@ pub unsafe fn IoCreateStreamFileObjectEx(fileobject: ::core::option::Option<*con #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCreateStreamFileObjectEx2(createoptions: *const IO_CREATE_STREAM_FILE_OPTIONS, fileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, streamfileobject: *mut *mut super::super::Foundation::FILE_OBJECT, filehandle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateStreamFileObjectEx2(createoptions: *const IO_CREATE_STREAM_FILE_OPTIONS, fileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, streamfileobject: *mut *mut super::super::Foundation::FILE_OBJECT, filehandle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateStreamFileObjectEx2(createoptions : *const IO_CREATE_STREAM_FILE_OPTIONS, fileobject : *const super::super::Foundation:: FILE_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, streamfileobject : *mut *mut super::super::Foundation:: FILE_OBJECT, filehandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateStreamFileObjectEx2(createoptions, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), streamfileobject, ::core::mem::transmute(filehandle.unwrap_or(::std::ptr::null_mut()))).ok() + IoCreateStreamFileObjectEx2(createoptions, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), streamfileobject, ::core::mem::transmute(filehandle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1978,16 +1978,16 @@ pub unsafe fn IoCreateStreamFileObjectLite(fileobject: ::core::option::Option<*c #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoEnumerateDeviceObjectList(driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobjectlist: ::core::option::Option<*mut *mut super::super::Foundation::DEVICE_OBJECT>, deviceobjectlistsize: u32, actualnumberdeviceobjects: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoEnumerateDeviceObjectList(driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobjectlist: ::core::option::Option<*mut *mut super::super::Foundation::DEVICE_OBJECT>, deviceobjectlistsize: u32, actualnumberdeviceobjects: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoEnumerateDeviceObjectList(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceobjectlist : *mut *mut super::super::Foundation:: DEVICE_OBJECT, deviceobjectlistsize : u32, actualnumberdeviceobjects : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoEnumerateDeviceObjectList(driverobject, ::core::mem::transmute(deviceobjectlist.unwrap_or(::std::ptr::null_mut())), deviceobjectlistsize, actualnumberdeviceobjects).ok() + IoEnumerateDeviceObjectList(driverobject, ::core::mem::transmute(deviceobjectlist.unwrap_or(::std::ptr::null_mut())), deviceobjectlistsize, actualnumberdeviceobjects) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoEnumerateRegisteredFiltersList(driverobjectlist: ::core::option::Option<*mut *mut super::super::Foundation::DRIVER_OBJECT>, driverobjectlistsize: u32, actualnumberdriverobjects: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoEnumerateRegisteredFiltersList(driverobjectlist: ::core::option::Option<*mut *mut super::super::Foundation::DRIVER_OBJECT>, driverobjectlistsize: u32, actualnumberdriverobjects: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoEnumerateRegisteredFiltersList(driverobjectlist : *mut *mut super::super::Foundation:: DRIVER_OBJECT, driverobjectlistsize : u32, actualnumberdriverobjects : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoEnumerateRegisteredFiltersList(::core::mem::transmute(driverobjectlist.unwrap_or(::std::ptr::null_mut())), driverobjectlistsize, actualnumberdriverobjects).ok() + IoEnumerateRegisteredFiltersList(::core::mem::transmute(driverobjectlist.unwrap_or(::std::ptr::null_mut())), driverobjectlistsize, actualnumberdriverobjects) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] @@ -2030,16 +2030,16 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDiskDeviceObject(filesystemdeviceobject: *const super::super::Foundation::DEVICE_OBJECT, diskdeviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDiskDeviceObject(filesystemdeviceobject: *const super::super::Foundation::DEVICE_OBJECT, diskdeviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDiskDeviceObject(filesystemdeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, diskdeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDiskDeviceObject(filesystemdeviceobject, diskdeviceobject).ok() + IoGetDiskDeviceObject(filesystemdeviceobject, diskdeviceobject) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetFsTrackOffsetState(irp: *const super::super::Foundation::IRP, retfstrackoffsetblob: *mut *mut super::super::super::Win32::System::Ioctl::IO_IRP_EXT_TRACK_OFFSET_HEADER, rettrackedoffset: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn IoGetFsTrackOffsetState(irp: *const super::super::Foundation::IRP, retfstrackoffsetblob: *mut *mut super::super::super::Win32::System::Ioctl::IO_IRP_EXT_TRACK_OFFSET_HEADER, rettrackedoffset: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetFsTrackOffsetState(irp : *const super::super::Foundation:: IRP, retfstrackoffsetblob : *mut *mut super::super::super::Win32::System::Ioctl:: IO_IRP_EXT_TRACK_OFFSET_HEADER, rettrackedoffset : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetFsTrackOffsetState(irp, retfstrackoffsetblob, rettrackedoffset).ok() + IoGetFsTrackOffsetState(irp, retfstrackoffsetblob, rettrackedoffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2079,9 +2079,9 @@ pub unsafe fn IoGetRequestorProcessId(irp: *const super::super::Foundation::IRP) #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetRequestorSessionId(irp: *const super::super::Foundation::IRP, psessionid: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoGetRequestorSessionId(irp: *const super::super::Foundation::IRP, psessionid: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetRequestorSessionId(irp : *const super::super::Foundation:: IRP, psessionid : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetRequestorSessionId(irp, psessionid).ok() + IoGetRequestorSessionId(irp, psessionid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2117,30 +2117,30 @@ pub unsafe fn IoIsValidNameGraftingBuffer(irp: *const super::super::Foundation:: #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoPageRead(fileobject: *const super::super::Foundation::FILE_OBJECT, memorydescriptorlist: *const super::super::Foundation::MDL, startingoffset: *const i64, event: *const super::super::Foundation::KEVENT, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> { +pub unsafe fn IoPageRead(fileobject: *const super::super::Foundation::FILE_OBJECT, memorydescriptorlist: *const super::super::Foundation::MDL, startingoffset: *const i64, event: *const super::super::Foundation::KEVENT, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoPageRead(fileobject : *const super::super::Foundation:: FILE_OBJECT, memorydescriptorlist : *const super::super::Foundation:: MDL, startingoffset : *const i64, event : *const super::super::Foundation:: KEVENT, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoPageRead(fileobject, memorydescriptorlist, startingoffset, event, iostatusblock).ok() + IoPageRead(fileobject, memorydescriptorlist, startingoffset, event, iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryFileDosDeviceName(fileobject: *const super::super::Foundation::FILE_OBJECT, objectnameinformation: *mut *mut super::super::Foundation::OBJECT_NAME_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryFileDosDeviceName(fileobject: *const super::super::Foundation::FILE_OBJECT, objectnameinformation: *mut *mut super::super::Foundation::OBJECT_NAME_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryFileDosDeviceName(fileobject : *const super::super::Foundation:: FILE_OBJECT, objectnameinformation : *mut *mut super::super::Foundation:: OBJECT_NAME_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryFileDosDeviceName(fileobject, objectnameinformation).ok() + IoQueryFileDosDeviceName(fileobject, objectnameinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryFileInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, fileinformation: *mut ::core::ffi::c_void, returnedlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryFileInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, fileinformation: *mut ::core::ffi::c_void, returnedlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryFileInformation(fileobject : *const super::super::Foundation:: FILE_OBJECT, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, length : u32, fileinformation : *mut ::core::ffi::c_void, returnedlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryFileInformation(fileobject, fileinformationclass, length, fileinformation, returnedlength).ok() + IoQueryFileInformation(fileobject, fileinformationclass, length, fileinformation, returnedlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryVolumeInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fsinformationclass: FS_INFORMATION_CLASS, length: u32, fsinformation: *mut ::core::ffi::c_void, returnedlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryVolumeInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fsinformationclass: FS_INFORMATION_CLASS, length: u32, fsinformation: *mut ::core::ffi::c_void, returnedlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryVolumeInformation(fileobject : *const super::super::Foundation:: FILE_OBJECT, fsinformationclass : FS_INFORMATION_CLASS, length : u32, fsinformation : *mut ::core::ffi::c_void, returnedlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryVolumeInformation(fileobject, fsinformationclass, length, fsinformation, returnedlength).ok() + IoQueryVolumeInformation(fileobject, fsinformationclass, length, fsinformation, returnedlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2159,19 +2159,19 @@ pub unsafe fn IoRegisterFileSystem(deviceobject: *const super::super::Foundation #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterFsRegistrationChange(driverobject, drivernotificationroutine).ok() + IoRegisterFsRegistrationChange(driverobject, drivernotificationroutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterFsRegistrationChangeMountAware(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION, synchronizewithmounts: P0) -> ::windows_core::Result<()> +pub unsafe fn IoRegisterFsRegistrationChangeMountAware(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION, synchronizewithmounts: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChangeMountAware(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION, synchronizewithmounts : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterFsRegistrationChangeMountAware(driverobject, drivernotificationroutine, synchronizewithmounts.into_param().abi()).ok() + IoRegisterFsRegistrationChangeMountAware(driverobject, drivernotificationroutine, synchronizewithmounts.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -2182,29 +2182,29 @@ pub unsafe fn IoReleaseVpbSpinLock(irql: u8) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReplaceFileObjectName(fileobject: *const super::super::Foundation::FILE_OBJECT, newfilename: P0, filenamelength: u16) -> ::windows_core::Result<()> +pub unsafe fn IoReplaceFileObjectName(fileobject: *const super::super::Foundation::FILE_OBJECT, newfilename: P0, filenamelength: u16) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReplaceFileObjectName(fileobject : *const super::super::Foundation:: FILE_OBJECT, newfilename : ::windows_core::PCWSTR, filenamelength : u16) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReplaceFileObjectName(fileobject, newfilename.into_param().abi(), filenamelength).ok() + IoReplaceFileObjectName(fileobject, newfilename.into_param().abi(), filenamelength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRequestDeviceRemovalForReset(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoRequestDeviceRemovalForReset(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRequestDeviceRemovalForReset(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRequestDeviceRemovalForReset(physicaldeviceobject, flags).ok() + IoRequestDeviceRemovalForReset(physicaldeviceobject, flags) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRetrievePriorityInfo(irp: ::core::option::Option<*const super::super::Foundation::IRP>, fileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, thread: P0, priorityinfo: *mut IO_PRIORITY_INFO) -> ::windows_core::Result<()> +pub unsafe fn IoRetrievePriorityInfo(irp: ::core::option::Option<*const super::super::Foundation::IRP>, fileobject: ::core::option::Option<*const super::super::Foundation::FILE_OBJECT>, thread: P0, priorityinfo: *mut IO_PRIORITY_INFO) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRetrievePriorityInfo(irp : *const super::super::Foundation:: IRP, fileobject : *const super::super::Foundation:: FILE_OBJECT, thread : super::super::Foundation:: PETHREAD, priorityinfo : *mut IO_PRIORITY_INFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRetrievePriorityInfo(::core::mem::transmute(irp.unwrap_or(::std::ptr::null())), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), thread.into_param().abi(), priorityinfo).ok() + IoRetrievePriorityInfo(::core::mem::transmute(irp.unwrap_or(::std::ptr::null())), ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null())), thread.into_param().abi(), priorityinfo) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2219,23 +2219,23 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetFsTrackOffsetState(irp: *mut super::super::Foundation::IRP, fstrackoffsetblob: *const super::super::super::Win32::System::Ioctl::IO_IRP_EXT_TRACK_OFFSET_HEADER, trackedoffset: i64) -> ::windows_core::Result<()> { +pub unsafe fn IoSetFsTrackOffsetState(irp: *mut super::super::Foundation::IRP, fstrackoffsetblob: *const super::super::super::Win32::System::Ioctl::IO_IRP_EXT_TRACK_OFFSET_HEADER, trackedoffset: i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFsTrackOffsetState(irp : *mut super::super::Foundation:: IRP, fstrackoffsetblob : *const super::super::super::Win32::System::Ioctl:: IO_IRP_EXT_TRACK_OFFSET_HEADER, trackedoffset : i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetFsTrackOffsetState(irp, fstrackoffsetblob, trackedoffset).ok() + IoSetFsTrackOffsetState(irp, fstrackoffsetblob, trackedoffset) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, fileinformation: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoSetInformation(fileobject: *const super::super::Foundation::FILE_OBJECT, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, length: u32, fileinformation: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetInformation(fileobject : *const super::super::Foundation:: FILE_OBJECT, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, length : u32, fileinformation : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetInformation(fileobject, fileinformationclass, length, fileinformation).ok() + IoSetInformation(fileobject, fileinformationclass, length, fileinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSynchronousPageWrite(fileobject: *const super::super::Foundation::FILE_OBJECT, memorydescriptorlist: *const super::super::Foundation::MDL, startingoffset: *const i64, event: *const super::super::Foundation::KEVENT, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> { +pub unsafe fn IoSynchronousPageWrite(fileobject: *const super::super::Foundation::FILE_OBJECT, memorydescriptorlist: *const super::super::Foundation::MDL, startingoffset: *const i64, event: *const super::super::Foundation::KEVENT, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSynchronousPageWrite(fileobject : *const super::super::Foundation:: FILE_OBJECT, memorydescriptorlist : *const super::super::Foundation:: MDL, startingoffset : *const i64, event : *const super::super::Foundation:: KEVENT, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSynchronousPageWrite(fileobject, memorydescriptorlist, startingoffset, event, iostatusblock).ok() + IoSynchronousPageWrite(fileobject, memorydescriptorlist, startingoffset, event, iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2264,12 +2264,12 @@ pub unsafe fn IoUnregisterFsRegistrationChange(driverobject: *const super::super #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoVerifyVolume(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, allowrawmount: P0) -> ::windows_core::Result<()> +pub unsafe fn IoVerifyVolume(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, allowrawmount: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVerifyVolume(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, allowrawmount : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVerifyVolume(deviceobject, allowrawmount.into_param().abi()).ok() + IoVerifyVolume(deviceobject, allowrawmount.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2434,9 +2434,9 @@ pub unsafe fn KeUnstackDetachProcess(apcstate: *const KAPC_STATE) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaFreeReturnBuffer(buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - LsaFreeReturnBuffer(buffer).ok() + LsaFreeReturnBuffer(buffer) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -2447,9 +2447,9 @@ pub unsafe fn MakeSignature(phcontext: *const SecHandle, fqop: u32, pmessage: *c #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MapSecurityError(secstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { +pub unsafe fn MapSecurityError(secstatus: ::windows_core::HRESULT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ksecdd.sys" "system" fn MapSecurityError(secstatus : ::windows_core::HRESULT) -> super::super::super::Win32::Foundation:: NTSTATUS); - MapSecurityError(secstatus).ok() + MapSecurityError(secstatus) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -2498,9 +2498,9 @@ pub unsafe fn MmGetMaximumFileSectionSize() -> u64 { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmIsFileSectionActive(fssectionpointer: *const super::super::Foundation::SECTION_OBJECT_POINTERS, flags: u32, sectionisactive: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn MmIsFileSectionActive(fssectionpointer: *const super::super::Foundation::SECTION_OBJECT_POINTERS, flags: u32, sectionisactive: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsFileSectionActive(fssectionpointer : *const super::super::Foundation:: SECTION_OBJECT_POINTERS, flags : u32, sectionisactive : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmIsFileSectionActive(fssectionpointer, flags, sectionisactive).ok() + MmIsFileSectionActive(fssectionpointer, flags, sectionisactive) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2519,9 +2519,9 @@ pub unsafe fn MmMdlPagesAreZero(mdl: *const super::super::Foundation::MDL) -> u3 #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn MmPrefetchPages(readlists: &[*const READ_LIST]) -> ::windows_core::Result<()> { +pub unsafe fn MmPrefetchPages(readlists: &[*const READ_LIST]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmPrefetchPages(numberoflists : u32, readlists : *const *const READ_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmPrefetchPages(readlists.len() as _, ::core::mem::transmute(readlists.as_ptr())).ok() + MmPrefetchPages(readlists.len() as _, ::core::mem::transmute(readlists.as_ptr())) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2533,13 +2533,13 @@ pub unsafe fn MmSetAddressRangeModified(address: *const ::core::ffi::c_void, len #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtAccessCheckAndAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, securitydescriptor: P0, desiredaccess: u32, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, objectcreation: P1, grantedaccess: *mut u32, accessstatus: *mut i32, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn NtAccessCheckAndAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, securitydescriptor: P0, desiredaccess: u32, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, objectcreation: P1, grantedaccess: *mut u32, accessstatus: *mut i32, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAccessCheckAndAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, objectcreation : super::super::super::Win32::Foundation:: BOOLEAN, grantedaccess : *mut u32, accessstatus : *mut i32, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAccessCheckAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), desiredaccess, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose).ok() + NtAccessCheckAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), desiredaccess, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -2560,14 +2560,14 @@ pub unsafe fn NtAccessCheckByTypeAndAuditAlarm( grantedaccess: *mut u32, accessstatus: *mut i32, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN, -) -> ::windows_core::Result<()> +) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAccessCheckByTypeAndAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, principalselfsid : super::super::super::Win32::Foundation:: PSID, desiredaccess : u32, audittype : super::super::super::Win32::Security:: AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *const super::super::super::Win32::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, objectcreation : super::super::super::Win32::Foundation:: BOOLEAN, grantedaccess : *mut u32, accessstatus : *mut i32, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAccessCheckByTypeAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose).ok() + NtAccessCheckByTypeAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -2589,14 +2589,14 @@ pub unsafe fn NtAccessCheckByTypeResultListAndAuditAlarm( grantedaccess: *mut u32, accessstatus: *mut i32, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN, -) -> ::windows_core::Result<()> +) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAccessCheckByTypeResultListAndAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, principalselfsid : super::super::super::Win32::Foundation:: PSID, desiredaccess : u32, audittype : super::super::super::Win32::Security:: AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *const super::super::super::Win32::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, objectcreation : super::super::super::Win32::Foundation:: BOOLEAN, grantedaccess : *mut u32, accessstatus : *mut i32, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAccessCheckByTypeResultListAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose).ok() + NtAccessCheckByTypeResultListAndAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -2619,7 +2619,7 @@ pub unsafe fn NtAccessCheckByTypeResultListAndAuditAlarmByHandle grantedaccess: *mut u32, accessstatus: *mut i32, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN, -) -> ::windows_core::Result<()> +) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -2627,163 +2627,163 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAccessCheckByTypeResultListAndAuditAlarmByHandle(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, clienttoken : super::super::super::Win32::Foundation:: HANDLE, objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, principalselfsid : super::super::super::Win32::Foundation:: PSID, desiredaccess : u32, audittype : super::super::super::Win32::Security:: AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *const super::super::super::Win32::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, objectcreation : super::super::super::Win32::Foundation:: BOOLEAN, grantedaccess : *mut u32, accessstatus : *mut i32, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAccessCheckByTypeResultListAndAuditAlarmByHandle(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), clienttoken.into_param().abi(), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose).ok() + NtAccessCheckByTypeResultListAndAuditAlarmByHandle(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), clienttoken.into_param().abi(), objecttypename, objectname, securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtAdjustGroupsToken(tokenhandle: P0, resettodefault: P1, newstate: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, bufferlength: u32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Security::TOKEN_GROUPS>, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtAdjustGroupsToken(tokenhandle: P0, resettodefault: P1, newstate: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, bufferlength: u32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Security::TOKEN_GROUPS>, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAdjustGroupsToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, resettodefault : super::super::super::Win32::Foundation:: BOOLEAN, newstate : *const super::super::super::Win32::Security:: TOKEN_GROUPS, bufferlength : u32, previousstate : *mut super::super::super::Win32::Security:: TOKEN_GROUPS, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAdjustGroupsToken(tokenhandle.into_param().abi(), resettodefault.into_param().abi(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), returnlength).ok() + NtAdjustGroupsToken(tokenhandle.into_param().abi(), resettodefault.into_param().abi(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), returnlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtAdjustPrivilegesToken(tokenhandle: P0, disableallprivileges: P1, newstate: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, bufferlength: u32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Security::TOKEN_PRIVILEGES>, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn NtAdjustPrivilegesToken(tokenhandle: P0, disableallprivileges: P1, newstate: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, bufferlength: u32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Security::TOKEN_PRIVILEGES>, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAdjustPrivilegesToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, disableallprivileges : super::super::super::Win32::Foundation:: BOOLEAN, newstate : *const super::super::super::Win32::Security:: TOKEN_PRIVILEGES, bufferlength : u32, previousstate : *mut super::super::super::Win32::Security:: TOKEN_PRIVILEGES, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAdjustPrivilegesToken(tokenhandle.into_param().abi(), disableallprivileges.into_param().abi(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtAdjustPrivilegesToken(tokenhandle.into_param().abi(), disableallprivileges.into_param().abi(), ::core::mem::transmute(newstate.unwrap_or(::std::ptr::null())), bufferlength, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtAllocateVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, regionsize: *mut usize, allocationtype: u32, protect: u32) -> ::windows_core::Result<()> +pub unsafe fn NtAllocateVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, regionsize: *mut usize, allocationtype: u32, protect: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtAllocateVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, zerobits : usize, regionsize : *mut usize, allocationtype : u32, protect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtAllocateVirtualMemory(processhandle.into_param().abi(), baseaddress, zerobits, regionsize, allocationtype, protect).ok() + NtAllocateVirtualMemory(processhandle.into_param().abi(), baseaddress, zerobits, regionsize, allocationtype, protect) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtCancelIoFileEx(filehandle: P0, iorequesttocancel: ::core::option::Option<*const super::super::super::Win32::System::IO::IO_STATUS_BLOCK>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> +pub unsafe fn NtCancelIoFileEx(filehandle: P0, iorequesttocancel: ::core::option::Option<*const super::super::super::Win32::System::IO::IO_STATUS_BLOCK>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCancelIoFileEx(filehandle : super::super::super::Win32::Foundation:: HANDLE, iorequesttocancel : *const super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCancelIoFileEx(filehandle.into_param().abi(), ::core::mem::transmute(iorequesttocancel.unwrap_or(::std::ptr::null())), iostatusblock).ok() + NtCancelIoFileEx(filehandle.into_param().abi(), ::core::mem::transmute(iorequesttocancel.unwrap_or(::std::ptr::null())), iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtCloseObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, generateonclose: P0) -> ::windows_core::Result<()> +pub unsafe fn NtCloseObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, generateonclose: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCloseObjectAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, generateonclose : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCloseObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), generateonclose.into_param().abi()).ok() + NtCloseObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), generateonclose.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: super::super::super::Win32::Storage::FileSystem::FILE_ACCESS_RIGHTS, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: super::super::super::Win32::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, shareaccess: super::super::super::Win32::Storage::FileSystem::FILE_SHARE_MODE, createdisposition: NTCREATEFILE_CREATE_DISPOSITION, createoptions: NTCREATEFILE_CREATE_OPTIONS, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32) -> ::windows_core::Result<()> { +pub unsafe fn NtCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: super::super::super::Win32::Storage::FileSystem::FILE_ACCESS_RIGHTS, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: super::super::super::Win32::Storage::FileSystem::FILE_FLAGS_AND_ATTRIBUTES, shareaccess: super::super::super::Win32::Storage::FileSystem::FILE_SHARE_MODE, createdisposition: NTCREATEFILE_CREATE_DISPOSITION, createoptions: NTCREATEFILE_CREATE_OPTIONS, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : super::super::super::Win32::Storage::FileSystem:: FILE_ACCESS_RIGHTS, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : super::super::super::Win32::Storage::FileSystem:: FILE_FLAGS_AND_ATTRIBUTES, shareaccess : super::super::super::Win32::Storage::FileSystem:: FILE_SHARE_MODE, createdisposition : NTCREATEFILE_CREATE_DISPOSITION, createoptions : NTCREATEFILE_CREATE_OPTIONS, eabuffer : *const ::core::ffi::c_void, ealength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength).ok() + NtCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtCreateSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtCreateSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateSection(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, filehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateSection(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi()).ok() + NtCreateSection(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Memory"))] #[inline] -pub unsafe fn NtCreateSectionEx(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0, extendedparameters: ::core::option::Option<&mut [super::super::super::Win32::System::Memory::MEM_EXTENDED_PARAMETER]>) -> ::windows_core::Result<()> +pub unsafe fn NtCreateSectionEx(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0, extendedparameters: ::core::option::Option<&mut [super::super::super::Win32::System::Memory::MEM_EXTENDED_PARAMETER]>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateSectionEx(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, filehandle : super::super::super::Win32::Foundation:: HANDLE, extendedparameters : *mut super::super::super::Win32::System::Memory:: MEM_EXTENDED_PARAMETER, extendedparametercount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateSectionEx(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi(), ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)).ok() + NtCreateSectionEx(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi(), ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtDeleteObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, generateonclose: P0) -> ::windows_core::Result<()> +pub unsafe fn NtDeleteObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, generateonclose: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtDeleteObjectAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, generateonclose : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtDeleteObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), generateonclose.into_param().abi()).ok() + NtDeleteObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), generateonclose.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtDuplicateToken(existingtokenhandle: P0, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, effectiveonly: P1, tokentype: super::super::super::Win32::Security::TOKEN_TYPE, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtDuplicateToken(existingtokenhandle: P0, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, effectiveonly: P1, tokentype: super::super::super::Win32::Security::TOKEN_TYPE, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtDuplicateToken(existingtokenhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, effectiveonly : super::super::super::Win32::Foundation:: BOOLEAN, tokentype : super::super::super::Win32::Security:: TOKEN_TYPE, newtokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtDuplicateToken(existingtokenhandle.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), effectiveonly.into_param().abi(), tokentype, newtokenhandle).ok() + NtDuplicateToken(existingtokenhandle.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), effectiveonly.into_param().abi(), tokentype, newtokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtFilterToken(existingtokenhandle: P0, flags: u32, sidstodisable: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, privilegestodelete: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, restrictedsids: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtFilterToken(existingtokenhandle: P0, flags: u32, sidstodisable: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, privilegestodelete: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, restrictedsids: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtFilterToken(existingtokenhandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, sidstodisable : *const super::super::super::Win32::Security:: TOKEN_GROUPS, privilegestodelete : *const super::super::super::Win32::Security:: TOKEN_PRIVILEGES, restrictedsids : *const super::super::super::Win32::Security:: TOKEN_GROUPS, newtokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtFilterToken(existingtokenhandle.into_param().abi(), flags, ::core::mem::transmute(sidstodisable.unwrap_or(::std::ptr::null())), ::core::mem::transmute(privilegestodelete.unwrap_or(::std::ptr::null())), ::core::mem::transmute(restrictedsids.unwrap_or(::std::ptr::null())), newtokenhandle).ok() + NtFilterToken(existingtokenhandle.into_param().abi(), flags, ::core::mem::transmute(sidstodisable.unwrap_or(::std::ptr::null())), ::core::mem::transmute(privilegestodelete.unwrap_or(::std::ptr::null())), ::core::mem::transmute(restrictedsids.unwrap_or(::std::ptr::null())), newtokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtFlushBuffersFileEx(filehandle: P0, flags: u32, parameters: *const ::core::ffi::c_void, parameterssize: u32, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> +pub unsafe fn NtFlushBuffersFileEx(filehandle: P0, flags: u32, parameters: *const ::core::ffi::c_void, parameterssize: u32, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtFlushBuffersFileEx(filehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, parameters : *const ::core::ffi::c_void, parameterssize : u32, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtFlushBuffersFileEx(filehandle.into_param().abi(), flags, parameters, parameterssize, iostatusblock).ok() + NtFlushBuffersFileEx(filehandle.into_param().abi(), flags, parameters, parameterssize, iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtFreeVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, freetype: u32) -> ::windows_core::Result<()> +pub unsafe fn NtFreeVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, freetype: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtFreeVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, regionsize : *mut usize, freetype : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtFreeVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, freetype).ok() + NtFreeVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, freetype) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtFsControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtFsControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtFsControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fscontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtFsControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + NtFsControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtImpersonateAnonymousToken(threadhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtImpersonateAnonymousToken(threadhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtImpersonateAnonymousToken(threadhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtImpersonateAnonymousToken(threadhandle.into_param().abi()).ok() + NtImpersonateAnonymousToken(threadhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtLockFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32, failimmediately: P2, exclusivelock: P3) -> ::windows_core::Result<()> +pub unsafe fn NtLockFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32, failimmediately: P2, exclusivelock: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -2791,19 +2791,19 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtLockFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, byteoffset : *const i64, length : *const i64, key : u32, failimmediately : super::super::super::Win32::Foundation:: BOOLEAN, exclusivelock : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtLockFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, byteoffset, length, key, failimmediately.into_param().abi(), exclusivelock.into_param().abi()).ok() + NtLockFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, byteoffset, length, key, failimmediately.into_param().abi(), exclusivelock.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtOpenFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn NtOpenFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, shareaccess : u32, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions).ok() + NtOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtOpenObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, securitydescriptor: P0, clienttoken: P1, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const super::super::super::Win32::Security::PRIVILEGE_SET>, objectcreation: P2, accessgranted: P3, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn NtOpenObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, securitydescriptor: P0, clienttoken: P1, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const super::super::super::Win32::Security::PRIVILEGE_SET>, objectcreation: P2, accessgranted: P3, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -2811,86 +2811,86 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenObjectAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, objecttypename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, clienttoken : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const super::super::super::Win32::Security:: PRIVILEGE_SET, objectcreation : super::super::super::Win32::Foundation:: BOOLEAN, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into_param().abi(), accessgranted.into_param().abi(), generateonclose).ok() + NtOpenObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename, objectname, securitydescriptor.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into_param().abi(), accessgranted.into_param().abi(), generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtOpenProcessToken(processhandle: P0, desiredaccess: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtOpenProcessToken(processhandle: P0, desiredaccess: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenProcessToken(processhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenProcessToken(processhandle.into_param().abi(), desiredaccess, tokenhandle).ok() + NtOpenProcessToken(processhandle.into_param().abi(), desiredaccess, tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtOpenProcessTokenEx(processhandle: P0, desiredaccess: u32, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtOpenProcessTokenEx(processhandle: P0, desiredaccess: u32, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenProcessTokenEx(processhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, handleattributes : u32, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenProcessTokenEx(processhandle.into_param().abi(), desiredaccess, handleattributes, tokenhandle).ok() + NtOpenProcessTokenEx(processhandle.into_param().abi(), desiredaccess, handleattributes, tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtOpenThreadToken(threadhandle: P0, desiredaccess: u32, openasself: P1, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtOpenThreadToken(threadhandle: P0, desiredaccess: u32, openasself: P1, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenThreadToken(threadhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, openasself : super::super::super::Win32::Foundation:: BOOLEAN, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenThreadToken(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), tokenhandle).ok() + NtOpenThreadToken(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtOpenThreadTokenEx(threadhandle: P0, desiredaccess: u32, openasself: P1, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn NtOpenThreadTokenEx(threadhandle: P0, desiredaccess: u32, openasself: P1, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenThreadTokenEx(threadhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, openasself : super::super::super::Win32::Foundation:: BOOLEAN, handleattributes : u32, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenThreadTokenEx(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), handleattributes, tokenhandle).ok() + NtOpenThreadTokenEx(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), handleattributes, tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtPrivilegeCheck(clienttoken: P0, requiredprivileges: *mut super::super::super::Win32::Security::PRIVILEGE_SET, result: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn NtPrivilegeCheck(clienttoken: P0, requiredprivileges: *mut super::super::super::Win32::Security::PRIVILEGE_SET, result: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrivilegeCheck(clienttoken : super::super::super::Win32::Foundation:: HANDLE, requiredprivileges : *mut super::super::super::Win32::Security:: PRIVILEGE_SET, result : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrivilegeCheck(clienttoken.into_param().abi(), requiredprivileges, result).ok() + NtPrivilegeCheck(clienttoken.into_param().abi(), requiredprivileges, result) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtPrivilegeObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, clienttoken: P0, desiredaccess: u32, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET, accessgranted: P1) -> ::windows_core::Result<()> +pub unsafe fn NtPrivilegeObjectAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, handleid: ::core::option::Option<*const ::core::ffi::c_void>, clienttoken: P0, desiredaccess: u32, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET, accessgranted: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrivilegeObjectAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, handleid : *const ::core::ffi::c_void, clienttoken : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, privileges : *const super::super::super::Win32::Security:: PRIVILEGE_SET, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrivilegeObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), clienttoken.into_param().abi(), desiredaccess, privileges, accessgranted.into_param().abi()).ok() + NtPrivilegeObjectAuditAlarm(subsystemname, ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), clienttoken.into_param().abi(), desiredaccess, privileges, accessgranted.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtPrivilegedServiceAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, clienttoken: P0, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET, accessgranted: P1) -> ::windows_core::Result<()> +pub unsafe fn NtPrivilegedServiceAuditAlarm(subsystemname: *const super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, clienttoken: P0, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET, accessgranted: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrivilegedServiceAuditAlarm(subsystemname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, servicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, clienttoken : super::super::super::Win32::Foundation:: HANDLE, privileges : *const super::super::super::Win32::Security:: PRIVILEGE_SET, accessgranted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrivilegedServiceAuditAlarm(subsystemname, servicename, clienttoken.into_param().abi(), privileges, accessgranted.into_param().abi()).ok() + NtPrivilegedServiceAuditAlarm(subsystemname, servicename, clienttoken.into_param().abi(), privileges, accessgranted.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtQueryDirectoryFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P2, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P3) -> ::windows_core::Result<()> +pub unsafe fn NtQueryDirectoryFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P2, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -2898,50 +2898,50 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryDirectoryFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, restartscan : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryDirectoryFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()).ok() + NtQueryDirectoryFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtQueryDirectoryFileEx(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryDirectoryFileEx(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryDirectoryFileEx(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, queryflags : u32, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryDirectoryFileEx(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null()))).ok() + NtQueryDirectoryFileEx(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> { +pub unsafe fn NtQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationByName(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass).ok() + NtQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtQueryInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok() + NtQueryInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtQueryInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: ::core::option::Option<*mut ::core::ffi::c_void>, tokeninformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: ::core::option::Option<*mut ::core::ffi::c_void>, tokeninformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, tokeninformationclass : super::super::super::Win32::Security:: TOKEN_INFORMATION_CLASS, tokeninformation : *mut ::core::ffi::c_void, tokeninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, ::core::mem::transmute(tokeninformation.unwrap_or(::std::ptr::null_mut())), tokeninformationlength, returnlength).ok() + NtQueryInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, ::core::mem::transmute(tokeninformation.unwrap_or(::std::ptr::null_mut())), tokeninformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtQueryQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: P2, restartscan: P3) -> ::windows_core::Result<()> +pub unsafe fn NtQueryQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: P2, restartscan: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -2949,137 +2949,137 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryQuotaInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, sidlist : *const ::core::ffi::c_void, sidlistlength : u32, startsid : super::super::super::Win32::Foundation:: PSID, restartscan : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, startsid.into_param().abi(), restartscan.into_param().abi()).ok() + NtQueryQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, startsid.into_param().abi(), restartscan.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtQuerySecurityObject(handle: P0, securityinformation: u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQuerySecurityObject(handle: P0, securityinformation: u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQuerySecurityObject(handle : super::super::super::Win32::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, length : u32, lengthneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQuerySecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor, length, lengthneeded).ok() + NtQuerySecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor, length, lengthneeded) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryVirtualMemory(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>, memoryinformationclass: MEMORY_INFORMATION_CLASS, memoryinformation: *mut ::core::ffi::c_void, memoryinformationlength: usize, returnlength: ::core::option::Option<*mut usize>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryVirtualMemory(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>, memoryinformationclass: MEMORY_INFORMATION_CLASS, memoryinformation: *mut ::core::ffi::c_void, memoryinformationlength: usize, returnlength: ::core::option::Option<*mut usize>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, memoryinformationclass : MEMORY_INFORMATION_CLASS, memoryinformation : *mut ::core::ffi::c_void, memoryinformationlength : usize, returnlength : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryVirtualMemory(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), memoryinformationclass, memoryinformation, memoryinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtQueryVirtualMemory(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), memoryinformationclass, memoryinformation, memoryinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtQueryVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn NtQueryVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryVolumeInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *mut ::core::ffi::c_void, length : u32, fsinformationclass : FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass).ok() + NtQueryVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtReadFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()> +pub unsafe fn NtReadFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtReadFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtReadFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok() + NtReadFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtSetInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *const ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok() + NtSetInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtSetInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, tokeninformationclass : super::super::super::Win32::Security:: TOKEN_INFORMATION_CLASS, tokeninformation : *const ::core::ffi::c_void, tokeninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, tokeninformation, tokeninformationlength).ok() + NtSetInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, tokeninformation, tokeninformationlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtSetInformationVirtualMemory(processhandle: P0, vminformationclass: VIRTUAL_MEMORY_INFORMATION_CLASS, virtualaddresses: &[MEMORY_RANGE_ENTRY], vminformation: *const ::core::ffi::c_void, vminformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationVirtualMemory(processhandle: P0, vminformationclass: VIRTUAL_MEMORY_INFORMATION_CLASS, virtualaddresses: &[MEMORY_RANGE_ENTRY], vminformation: *const ::core::ffi::c_void, vminformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, vminformationclass : VIRTUAL_MEMORY_INFORMATION_CLASS, numberofentries : usize, virtualaddresses : *const MEMORY_RANGE_ENTRY, vminformation : *const ::core::ffi::c_void, vminformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationVirtualMemory(processhandle.into_param().abi(), vminformationclass, virtualaddresses.len() as _, ::core::mem::transmute(virtualaddresses.as_ptr()), vminformation, vminformationlength).ok() + NtSetInformationVirtualMemory(processhandle.into_param().abi(), vminformationclass, virtualaddresses.len() as _, ::core::mem::transmute(virtualaddresses.as_ptr()), vminformation, vminformationlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtSetQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetQuotaInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length).ok() + NtSetQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn NtSetSecurityObject(handle: P0, securityinformation: u32, securitydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn NtSetSecurityObject(handle: P0, securityinformation: u32, securitydescriptor: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetSecurityObject(handle : super::super::super::Win32::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetSecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor.into_param().abi()).ok() + NtSetSecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtSetVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *const ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn NtSetVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *const ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetVolumeInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *const ::core::ffi::c_void, length : u32, fsinformationclass : FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass).ok() + NtSetVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtUnlockFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32) -> ::windows_core::Result<()> +pub unsafe fn NtUnlockFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtUnlockFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, byteoffset : *const i64, length : *const i64, key : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtUnlockFile(filehandle.into_param().abi(), iostatusblock, byteoffset, length, key).ok() + NtUnlockFile(filehandle.into_param().abi(), iostatusblock, byteoffset, length, key) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtWriteFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()> +pub unsafe fn NtWriteFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtWriteFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtWriteFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok() + NtWriteFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ObInsertObject(object: *const ::core::ffi::c_void, passedaccessstate: ::core::option::Option<*mut super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objectpointerbias: u32, newobject: ::core::option::Option<*mut *mut ::core::ffi::c_void>, handle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>) -> ::windows_core::Result<()> { +pub unsafe fn ObInsertObject(object: *const ::core::ffi::c_void, passedaccessstate: ::core::option::Option<*mut super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objectpointerbias: u32, newobject: ::core::option::Option<*mut *mut ::core::ffi::c_void>, handle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObInsertObject(object : *const ::core::ffi::c_void, passedaccessstate : *mut super::super::Foundation:: ACCESS_STATE, desiredaccess : u32, objectpointerbias : u32, newobject : *mut *mut ::core::ffi::c_void, handle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObInsertObject(object, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectpointerbias, ::core::mem::transmute(newobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut()))).ok() + ObInsertObject(object, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null_mut())), desiredaccess, objectpointerbias, ::core::mem::transmute(newobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3100,39 +3100,39 @@ pub unsafe fn ObMakeTemporaryObject(object: *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ObOpenObjectByPointer(object: *const ::core::ffi::c_void, handleattributes: u32, passedaccessstate: ::core::option::Option<*const super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objecttype: P0, accessmode: i8, handle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn ObOpenObjectByPointer(object: *const ::core::ffi::c_void, handleattributes: u32, passedaccessstate: ::core::option::Option<*const super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objecttype: P0, accessmode: i8, handle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObOpenObjectByPointer(object : *const ::core::ffi::c_void, handleattributes : u32, passedaccessstate : *const super::super::Foundation:: ACCESS_STATE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, handle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObOpenObjectByPointer(object, handleattributes, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null())), desiredaccess, objecttype.into_param().abi(), accessmode, handle).ok() + ObOpenObjectByPointer(object, handleattributes, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null())), desiredaccess, objecttype.into_param().abi(), accessmode, handle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ObOpenObjectByPointerWithTag(object: *const ::core::ffi::c_void, handleattributes: u32, passedaccessstate: ::core::option::Option<*const super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objecttype: P0, accessmode: i8, tag: u32, handle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn ObOpenObjectByPointerWithTag(object: *const ::core::ffi::c_void, handleattributes: u32, passedaccessstate: ::core::option::Option<*const super::super::Foundation::ACCESS_STATE>, desiredaccess: u32, objecttype: P0, accessmode: i8, tag: u32, handle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObOpenObjectByPointerWithTag(object : *const ::core::ffi::c_void, handleattributes : u32, passedaccessstate : *const super::super::Foundation:: ACCESS_STATE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, tag : u32, handle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObOpenObjectByPointerWithTag(object, handleattributes, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null())), desiredaccess, objecttype.into_param().abi(), accessmode, tag, handle).ok() + ObOpenObjectByPointerWithTag(object, handleattributes, ::core::mem::transmute(passedaccessstate.unwrap_or(::std::ptr::null())), desiredaccess, objecttype.into_param().abi(), accessmode, tag, handle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObQueryNameString(object: *const ::core::ffi::c_void, objectnameinfo: ::core::option::Option<*mut super::super::Foundation::OBJECT_NAME_INFORMATION>, length: u32, returnlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn ObQueryNameString(object: *const ::core::ffi::c_void, objectnameinfo: ::core::option::Option<*mut super::super::Foundation::OBJECT_NAME_INFORMATION>, length: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObQueryNameString(object : *const ::core::ffi::c_void, objectnameinfo : *mut super::super::Foundation:: OBJECT_NAME_INFORMATION, length : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObQueryNameString(object, ::core::mem::transmute(objectnameinfo.unwrap_or(::std::ptr::null_mut())), length, returnlength).ok() + ObQueryNameString(object, ::core::mem::transmute(objectnameinfo.unwrap_or(::std::ptr::null_mut())), length, returnlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ObQueryObjectAuditingByHandle(handle: P0, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn ObQueryObjectAuditingByHandle(handle: P0, generateonclose: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObQueryObjectAuditingByHandle(handle : super::super::super::Win32::Foundation:: HANDLE, generateonclose : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObQueryObjectAuditingByHandle(handle.into_param().abi(), generateonclose).ok() + ObQueryObjectAuditingByHandle(handle.into_param().abi(), generateonclose) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] @@ -3167,20 +3167,20 @@ pub unsafe fn PfxRemovePrefix(prefixtable: *const PREFIX_TABLE, prefixtableentry #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn PoQueueShutdownWorkItem(workitem: *mut super::super::Foundation::WORK_QUEUE_ITEM) -> ::windows_core::Result<()> { +pub unsafe fn PoQueueShutdownWorkItem(workitem: *mut super::super::Foundation::WORK_QUEUE_ITEM) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoQueueShutdownWorkItem(workitem : *mut super::super::Foundation:: WORK_QUEUE_ITEM) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoQueueShutdownWorkItem(workitem).ok() + PoQueueShutdownWorkItem(workitem) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsAssignImpersonationToken(thread: P0, token: P1) -> ::windows_core::Result<()> +pub unsafe fn PsAssignImpersonationToken(thread: P0, token: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsAssignImpersonationToken(thread : super::super::Foundation:: PETHREAD, token : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsAssignImpersonationToken(thread.into_param().abi(), token.into_param().abi()).ok() + PsAssignImpersonationToken(thread.into_param().abi(), token.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -3195,12 +3195,12 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsChargeProcessPoolQuota(process: P0, pooltype: super::super::Foundation::POOL_TYPE, amount: usize) -> ::windows_core::Result<()> +pub unsafe fn PsChargeProcessPoolQuota(process: P0, pooltype: super::super::Foundation::POOL_TYPE, amount: usize) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsChargeProcessPoolQuota(process : super::super::Foundation:: PEPROCESS, pooltype : super::super::Foundation:: POOL_TYPE, amount : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsChargeProcessPoolQuota(process.into_param().abi(), pooltype, amount).ok() + PsChargeProcessPoolQuota(process.into_param().abi(), pooltype, amount) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -3243,14 +3243,14 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn PsImpersonateClient(thread: P0, token: ::core::option::Option<*const ::core::ffi::c_void>, copyonopen: P1, effectiveonly: P2, impersonationlevel: super::super::super::Win32::Security::SECURITY_IMPERSONATION_LEVEL) -> ::windows_core::Result<()> +pub unsafe fn PsImpersonateClient(thread: P0, token: ::core::option::Option<*const ::core::ffi::c_void>, copyonopen: P1, effectiveonly: P2, impersonationlevel: super::super::super::Win32::Security::SECURITY_IMPERSONATION_LEVEL) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsImpersonateClient(thread : super::super::Foundation:: PETHREAD, token : *const ::core::ffi::c_void, copyonopen : super::super::super::Win32::Foundation:: BOOLEAN, effectiveonly : super::super::super::Win32::Foundation:: BOOLEAN, impersonationlevel : super::super::super::Win32::Security:: SECURITY_IMPERSONATION_LEVEL) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsImpersonateClient(thread.into_param().abi(), ::core::mem::transmute(token.unwrap_or(::std::ptr::null())), copyonopen.into_param().abi(), effectiveonly.into_param().abi(), impersonationlevel).ok() + PsImpersonateClient(thread.into_param().abi(), ::core::mem::transmute(token.unwrap_or(::std::ptr::null())), copyonopen.into_param().abi(), effectiveonly.into_param().abi(), impersonationlevel) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3282,22 +3282,22 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsLookupProcessByProcessId(processid: P0, process: *mut super::super::Foundation::PEPROCESS) -> ::windows_core::Result<()> +pub unsafe fn PsLookupProcessByProcessId(processid: P0, process: *mut super::super::Foundation::PEPROCESS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsLookupProcessByProcessId(processid : super::super::super::Win32::Foundation:: HANDLE, process : *mut super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsLookupProcessByProcessId(processid.into_param().abi(), process).ok() + PsLookupProcessByProcessId(processid.into_param().abi(), process) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsLookupThreadByThreadId(threadid: P0, thread: *mut super::super::Foundation::PETHREAD) -> ::windows_core::Result<()> +pub unsafe fn PsLookupThreadByThreadId(threadid: P0, thread: *mut super::super::Foundation::PETHREAD) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsLookupThreadByThreadId(threadid : super::super::super::Win32::Foundation:: HANDLE, thread : *mut super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsLookupThreadByThreadId(threadid.into_param().abi(), thread).ok() + PsLookupThreadByThreadId(threadid.into_param().abi(), thread) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -3364,53 +3364,53 @@ pub unsafe fn QuerySecurityContextToken(phcontext: *const SecHandle, token: *mut #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAbsoluteToSelfRelativeSD(absolutesecuritydescriptor: P0, selfrelativesecuritydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, bufferlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RtlAbsoluteToSelfRelativeSD(absolutesecuritydescriptor: P0, selfrelativesecuritydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, bufferlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlAbsoluteToSelfRelativeSD(absolutesecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, selfrelativesecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, bufferlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAbsoluteToSelfRelativeSD(absolutesecuritydescriptor.into_param().abi(), selfrelativesecuritydescriptor, bufferlength).ok() + RtlAbsoluteToSelfRelativeSD(absolutesecuritydescriptor.into_param().abi(), selfrelativesecuritydescriptor, bufferlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAddAccessAllowedAce(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, accessmask: u32, sid: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlAddAccessAllowedAce(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, accessmask: u32, sid: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlAddAccessAllowedAce(acl : *mut super::super::super::Win32::Security:: ACL, acerevision : u32, accessmask : u32, sid : super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAddAccessAllowedAce(acl, acerevision, accessmask, sid.into_param().abi()).ok() + RtlAddAccessAllowedAce(acl, acerevision, accessmask, sid.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAddAccessAllowedAceEx(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, aceflags: u32, accessmask: u32, sid: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlAddAccessAllowedAceEx(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, aceflags: u32, accessmask: u32, sid: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlAddAccessAllowedAceEx(acl : *mut super::super::super::Win32::Security:: ACL, acerevision : u32, aceflags : u32, accessmask : u32, sid : super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAddAccessAllowedAceEx(acl, acerevision, aceflags, accessmask, sid.into_param().abi()).ok() + RtlAddAccessAllowedAceEx(acl, acerevision, aceflags, accessmask, sid.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAddAce(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, startingaceindex: u32, acelist: *const ::core::ffi::c_void, acelistlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlAddAce(acl: *mut super::super::super::Win32::Security::ACL, acerevision: u32, startingaceindex: u32, acelist: *const ::core::ffi::c_void, acelistlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlAddAce(acl : *mut super::super::super::Win32::Security:: ACL, acerevision : u32, startingaceindex : u32, acelist : *const ::core::ffi::c_void, acelistlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAddAce(acl, acerevision, startingaceindex, acelist, acelistlength).ok() + RtlAddAce(acl, acerevision, startingaceindex, acelist, acelistlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAllocateAndInitializeSid(identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8, subauthority0: u32, subauthority1: u32, subauthority2: u32, subauthority3: u32, subauthority4: u32, subauthority5: u32, subauthority6: u32, subauthority7: u32, sid: *mut super::super::super::Win32::Foundation::PSID) -> ::windows_core::Result<()> { +pub unsafe fn RtlAllocateAndInitializeSid(identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8, subauthority0: u32, subauthority1: u32, subauthority2: u32, subauthority3: u32, subauthority4: u32, subauthority5: u32, subauthority6: u32, subauthority7: u32, sid: *mut super::super::super::Win32::Foundation::PSID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlAllocateAndInitializeSid(identifierauthority : *const super::super::super::Win32::Security:: SID_IDENTIFIER_AUTHORITY, subauthoritycount : u8, subauthority0 : u32, subauthority1 : u32, subauthority2 : u32, subauthority3 : u32, subauthority4 : u32, subauthority5 : u32, subauthority6 : u32, subauthority7 : u32, sid : *mut super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAllocateAndInitializeSid(identifierauthority, subauthoritycount, subauthority0, subauthority1, subauthority2, subauthority3, subauthority4, subauthority5, subauthority6, subauthority7, sid).ok() + RtlAllocateAndInitializeSid(identifierauthority, subauthoritycount, subauthority0, subauthority1, subauthority2, subauthority3, subauthority4, subauthority5, subauthority6, subauthority7, sid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlAllocateAndInitializeSidEx(identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthorities: &[u32], sid: *mut super::super::super::Win32::Foundation::PSID) -> ::windows_core::Result<()> { +pub unsafe fn RtlAllocateAndInitializeSidEx(identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthorities: &[u32], sid: *mut super::super::super::Win32::Foundation::PSID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlAllocateAndInitializeSidEx(identifierauthority : *const super::super::super::Win32::Security:: SID_IDENTIFIER_AUTHORITY, subauthoritycount : u8, subauthorities : *const u32, sid : *mut super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAllocateAndInitializeSidEx(identifierauthority, subauthorities.len() as _, ::core::mem::transmute(subauthorities.as_ptr()), sid).ok() + RtlAllocateAndInitializeSidEx(identifierauthority, subauthorities.len() as _, ::core::mem::transmute(subauthorities.as_ptr()), sid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -3421,9 +3421,9 @@ pub unsafe fn RtlAllocateHeap(heaphandle: *const ::core::ffi::c_void, flags: u32 #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlAppendStringToString(destination: *mut super::super::super::Win32::System::Kernel::STRING, source: *const super::super::super::Win32::System::Kernel::STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlAppendStringToString(destination: *mut super::super::super::Win32::System::Kernel::STRING, source: *const super::super::super::Win32::System::Kernel::STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlAppendStringToString(destination : *mut super::super::super::Win32::System::Kernel:: STRING, source : *const super::super::super::Win32::System::Kernel:: STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAppendStringToString(destination, source).ok() + RtlAppendStringToString(destination, source) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3441,27 +3441,27 @@ pub unsafe fn RtlCompareMemoryUlong(source: *const ::core::ffi::c_void, length: #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCompressBuffer(compressionformatandengine: u16, uncompressedbuffer: &[u8], compressedbuffer: &mut [u8], uncompressedchunksize: u32, finalcompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn RtlCompressBuffer(compressionformatandengine: u16, uncompressedbuffer: &[u8], compressedbuffer: &mut [u8], uncompressedchunksize: u32, finalcompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCompressBuffer(compressionformatandengine : u16, uncompressedbuffer : *const u8, uncompressedbuffersize : u32, compressedbuffer : *mut u8, compressedbuffersize : u32, uncompressedchunksize : u32, finalcompressedsize : *mut u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCompressBuffer(compressionformatandengine, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, uncompressedchunksize, finalcompressedsize, workspace).ok() + RtlCompressBuffer(compressionformatandengine, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, uncompressedchunksize, finalcompressedsize, workspace) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCompressChunks(uncompressedbuffer: &[u8], compressedbuffer: &mut [u8], compresseddatainfo: *mut COMPRESSED_DATA_INFO, compresseddatainfolength: u32, workspace: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn RtlCompressChunks(uncompressedbuffer: &[u8], compressedbuffer: &mut [u8], compresseddatainfo: *mut COMPRESSED_DATA_INFO, compresseddatainfolength: u32, workspace: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlCompressChunks(uncompressedbuffer : *const u8, uncompressedbuffersize : u32, compressedbuffer : *mut u8, compressedbuffersize : u32, compresseddatainfo : *mut COMPRESSED_DATA_INFO, compresseddatainfolength : u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCompressChunks(::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, compresseddatainfo, compresseddatainfolength, workspace).ok() + RtlCompressChunks(::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, compresseddatainfo, compresseddatainfolength, workspace) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlConvertSidToUnicodeString(unicodestring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sid: P0, allocatedestinationstring: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlConvertSidToUnicodeString(unicodestring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sid: P0, allocatedestinationstring: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlConvertSidToUnicodeString(unicodestring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sid : super::super::super::Win32::Foundation:: PSID, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlConvertSidToUnicodeString(unicodestring, sid.into_param().abi(), allocatedestinationstring.into_param().abi()).ok() + RtlConvertSidToUnicodeString(unicodestring, sid.into_param().abi(), allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3473,19 +3473,19 @@ pub unsafe fn RtlCopyLuid(destinationluid: *mut super::super::super::Win32::Foun #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCopySid(destinationsidlength: u32, destinationsid: super::super::super::Win32::Foundation::PSID, sourcesid: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlCopySid(destinationsidlength: u32, destinationsid: super::super::super::Win32::Foundation::PSID, sourcesid: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlCopySid(destinationsidlength : u32, destinationsid : super::super::super::Win32::Foundation:: PSID, sourcesid : super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCopySid(destinationsidlength, destinationsid, sourcesid.into_param().abi()).ok() + RtlCopySid(destinationsidlength, destinationsid, sourcesid.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlCreateAcl(acl: *mut super::super::super::Win32::Security::ACL, acllength: u32, aclrevision: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlCreateAcl(acl: *mut super::super::super::Win32::Security::ACL, acllength: u32, aclrevision: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateAcl(acl : *mut super::super::super::Win32::Security:: ACL, acllength : u32, aclrevision : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateAcl(acl, acllength, aclrevision).ok() + RtlCreateAcl(acl, acllength, aclrevision) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3497,16 +3497,16 @@ pub unsafe fn RtlCreateHeap(flags: u32, heapbase: ::core::option::Option<*const #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCreateServiceSid(servicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, servicesid: super::super::super::Win32::Foundation::PSID, servicesidlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlCreateServiceSid(servicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, servicesid: super::super::super::Win32::Foundation::PSID, servicesidlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateServiceSid(servicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, servicesid : super::super::super::Win32::Foundation:: PSID, servicesidlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateServiceSid(servicename, servicesid, servicesidlength).ok() + RtlCreateServiceSid(servicename, servicesid, servicesidlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCreateSystemVolumeInformationFolder(volumerootpath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlCreateSystemVolumeInformationFolder(volumerootpath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateSystemVolumeInformationFolder(volumerootpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateSystemVolumeInformationFolder(volumerootpath).ok() + RtlCreateSystemVolumeInformationFolder(volumerootpath) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3521,72 +3521,72 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCreateVirtualAccountSid(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, basesubauthority: u32, sid: super::super::super::Win32::Foundation::PSID, sidlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlCreateVirtualAccountSid(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, basesubauthority: u32, sid: super::super::super::Win32::Foundation::PSID, sidlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateVirtualAccountSid(name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, basesubauthority : u32, sid : super::super::super::Win32::Foundation:: PSID, sidlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateVirtualAccountSid(name, basesubauthority, sid, sidlength).ok() + RtlCreateVirtualAccountSid(name, basesubauthority, sid, sidlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCustomCPToUnicodeN(customcp: *const CPTABLEINFO, unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, customcpstring: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn RtlCustomCPToUnicodeN(customcp: *const CPTABLEINFO, unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, customcpstring: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCustomCPToUnicodeN(customcp : *const CPTABLEINFO, unicodestring : ::windows_core::PWSTR, maxbytesinunicodestring : u32, bytesinunicodestring : *mut u32, customcpstring : ::windows_core::PCSTR, bytesincustomcpstring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCustomCPToUnicodeN(customcp, ::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _).ok() + RtlCustomCPToUnicodeN(customcp, ::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressBuffer(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], finaluncompressedsize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressBuffer(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], finaluncompressedsize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlDecompressBuffer(compressionformat : u16, uncompressedbuffer : *mut u8, uncompressedbuffersize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, finaluncompressedsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressBuffer(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, finaluncompressedsize).ok() + RtlDecompressBuffer(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, finaluncompressedsize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressBufferEx(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], finaluncompressedsize: *mut u32, workspace: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressBufferEx(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], finaluncompressedsize: *mut u32, workspace: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlDecompressBufferEx(compressionformat : u16, uncompressedbuffer : *mut u8, uncompressedbuffersize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, finaluncompressedsize : *mut u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressBufferEx(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, finaluncompressedsize, ::core::mem::transmute(workspace.unwrap_or(::std::ptr::null()))).ok() + RtlDecompressBufferEx(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, finaluncompressedsize, ::core::mem::transmute(workspace.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressBufferEx2(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], uncompressedchunksize: u32, finaluncompressedsize: *mut u32, workspace: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressBufferEx2(compressionformat: u16, uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], uncompressedchunksize: u32, finaluncompressedsize: *mut u32, workspace: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlDecompressBufferEx2(compressionformat : u16, uncompressedbuffer : *mut u8, uncompressedbuffersize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, uncompressedchunksize : u32, finaluncompressedsize : *mut u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressBufferEx2(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, uncompressedchunksize, finaluncompressedsize, ::core::mem::transmute(workspace.unwrap_or(::std::ptr::null()))).ok() + RtlDecompressBufferEx2(compressionformat, ::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, uncompressedchunksize, finaluncompressedsize, ::core::mem::transmute(workspace.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressChunks(uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], compressedtail: &[u8], compresseddatainfo: *const COMPRESSED_DATA_INFO) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressChunks(uncompressedbuffer: &mut [u8], compressedbuffer: &[u8], compressedtail: &[u8], compresseddatainfo: *const COMPRESSED_DATA_INFO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlDecompressChunks(uncompressedbuffer : *mut u8, uncompressedbuffersize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, compressedtail : *const u8, compressedtailsize : u32, compresseddatainfo : *const COMPRESSED_DATA_INFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressChunks(::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, ::core::mem::transmute(compressedtail.as_ptr()), compressedtail.len() as _, compresseddatainfo).ok() + RtlDecompressChunks(::core::mem::transmute(uncompressedbuffer.as_ptr()), uncompressedbuffer.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, ::core::mem::transmute(compressedtail.as_ptr()), compressedtail.len() as _, compresseddatainfo) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressFragment(compressionformat: u16, uncompressedfragment: &mut [u8], compressedbuffer: &[u8], fragmentoffset: u32, finaluncompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressFragment(compressionformat: u16, uncompressedfragment: &mut [u8], compressedbuffer: &[u8], fragmentoffset: u32, finaluncompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlDecompressFragment(compressionformat : u16, uncompressedfragment : *mut u8, uncompressedfragmentsize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, fragmentoffset : u32, finaluncompressedsize : *mut u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressFragment(compressionformat, ::core::mem::transmute(uncompressedfragment.as_ptr()), uncompressedfragment.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, fragmentoffset, finaluncompressedsize, workspace).ok() + RtlDecompressFragment(compressionformat, ::core::mem::transmute(uncompressedfragment.as_ptr()), uncompressedfragment.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, fragmentoffset, finaluncompressedsize, workspace) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecompressFragmentEx(compressionformat: u16, uncompressedfragment: &mut [u8], compressedbuffer: &[u8], fragmentoffset: u32, uncompressedchunksize: u32, finaluncompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecompressFragmentEx(compressionformat: u16, uncompressedfragment: &mut [u8], compressedbuffer: &[u8], fragmentoffset: u32, uncompressedchunksize: u32, finaluncompressedsize: *mut u32, workspace: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlDecompressFragmentEx(compressionformat : u16, uncompressedfragment : *mut u8, uncompressedfragmentsize : u32, compressedbuffer : *const u8, compressedbuffersize : u32, fragmentoffset : u32, uncompressedchunksize : u32, finaluncompressedsize : *mut u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDecompressFragmentEx(compressionformat, ::core::mem::transmute(uncompressedfragment.as_ptr()), uncompressedfragment.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, fragmentoffset, uncompressedchunksize, finaluncompressedsize, workspace).ok() + RtlDecompressFragmentEx(compressionformat, ::core::mem::transmute(uncompressedfragment.as_ptr()), uncompressedfragment.len() as _, ::core::mem::transmute(compressedbuffer.as_ptr()), compressedbuffer.len() as _, fragmentoffset, uncompressedchunksize, finaluncompressedsize, workspace) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlDeleteAce(acl: *mut super::super::super::Win32::Security::ACL, aceindex: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlDeleteAce(acl: *mut super::super::super::Win32::Security::ACL, aceindex: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteAce(acl : *mut super::super::super::Win32::Security:: ACL, aceindex : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDeleteAce(acl, aceindex).ok() + RtlDeleteAce(acl, aceindex) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDescribeChunk(compressionformat: u16, compressedbuffer: *mut *mut u8, endofcompressedbufferplus1: *const u8, chunkbuffer: *mut *mut u8, chunksize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlDescribeChunk(compressionformat: u16, compressedbuffer: *mut *mut u8, endofcompressedbufferplus1: *const u8, chunkbuffer: *mut *mut u8, chunksize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlDescribeChunk(compressionformat : u16, compressedbuffer : *mut *mut u8, endofcompressedbufferplus1 : *const u8, chunkbuffer : *mut *mut u8, chunksize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDescribeChunk(compressionformat, compressedbuffer, endofcompressedbufferplus1, chunkbuffer, chunksize).ok() + RtlDescribeChunk(compressionformat, compressedbuffer, endofcompressedbufferplus1, chunkbuffer, chunksize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -3597,19 +3597,19 @@ pub unsafe fn RtlDestroyHeap(heaphandle: *const ::core::ffi::c_void) -> *mut ::c #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDowncaseUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlDowncaseUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlDowncaseUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDowncaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlDowncaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDuplicateUnicodeString(flags: u32, stringin: *const super::super::super::Win32::Foundation::UNICODE_STRING, stringout: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlDuplicateUnicodeString(flags: u32, stringin: *const super::super::super::Win32::Foundation::UNICODE_STRING, stringout: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlDuplicateUnicodeString(flags : u32, stringin : *const super::super::super::Win32::Foundation:: UNICODE_STRING, stringout : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDuplicateUnicodeString(flags, stringin, stringout).ok() + RtlDuplicateUnicodeString(flags, stringin, stringout) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3659,66 +3659,66 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlGenerate8dot3Name(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, allowextendedcharacters: P0, context: *mut GENERATE_NAME_CONTEXT, name8dot3: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn RtlGenerate8dot3Name(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, allowextendedcharacters: P0, context: *mut GENERATE_NAME_CONTEXT, name8dot3: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGenerate8dot3Name(name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allowextendedcharacters : super::super::super::Win32::Foundation:: BOOLEAN, context : *mut GENERATE_NAME_CONTEXT, name8dot3 : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGenerate8dot3Name(name, allowextendedcharacters.into_param().abi(), context, name8dot3).ok() + RtlGenerate8dot3Name(name, allowextendedcharacters.into_param().abi(), context, name8dot3) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlGetAce(acl: *const super::super::super::Win32::Security::ACL, aceindex: u32, ace: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn RtlGetAce(acl: *const super::super::super::Win32::Security::ACL, aceindex: u32, ace: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetAce(acl : *const super::super::super::Win32::Security:: ACL, aceindex : u32, ace : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetAce(acl, aceindex, ace).ok() + RtlGetAce(acl, aceindex, ace) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlGetCompressionWorkSpaceSize(compressionformatandengine: u16, compressbufferworkspacesize: *mut u32, compressfragmentworkspacesize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlGetCompressionWorkSpaceSize(compressionformatandengine: u16, compressbufferworkspacesize: *mut u32, compressfragmentworkspacesize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetCompressionWorkSpaceSize(compressionformatandengine : u16, compressbufferworkspacesize : *mut u32, compressfragmentworkspacesize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetCompressionWorkSpaceSize(compressionformatandengine, compressbufferworkspacesize, compressfragmentworkspacesize).ok() + RtlGetCompressionWorkSpaceSize(compressionformatandengine, compressbufferworkspacesize, compressfragmentworkspacesize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlGetDaclSecurityDescriptor(securitydescriptor: P0, daclpresent: *mut super::super::super::Win32::Foundation::BOOLEAN, dacl: *mut *mut super::super::super::Win32::Security::ACL, dacldefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlGetDaclSecurityDescriptor(securitydescriptor: P0, daclpresent: *mut super::super::super::Win32::Foundation::BOOLEAN, dacl: *mut *mut super::super::super::Win32::Security::ACL, dacldefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetDaclSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, daclpresent : *mut super::super::super::Win32::Foundation:: BOOLEAN, dacl : *mut *mut super::super::super::Win32::Security:: ACL, dacldefaulted : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetDaclSecurityDescriptor(securitydescriptor.into_param().abi(), daclpresent, dacl, dacldefaulted).ok() + RtlGetDaclSecurityDescriptor(securitydescriptor.into_param().abi(), daclpresent, dacl, dacldefaulted) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlGetGroupSecurityDescriptor(securitydescriptor: P0, group: *mut super::super::super::Win32::Foundation::PSID, groupdefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlGetGroupSecurityDescriptor(securitydescriptor: P0, group: *mut super::super::super::Win32::Foundation::PSID, groupdefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetGroupSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, group : *mut super::super::super::Win32::Foundation:: PSID, groupdefaulted : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetGroupSecurityDescriptor(securitydescriptor.into_param().abi(), group, groupdefaulted).ok() + RtlGetGroupSecurityDescriptor(securitydescriptor.into_param().abi(), group, groupdefaulted) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlGetOwnerSecurityDescriptor(securitydescriptor: P0, owner: *mut super::super::super::Win32::Foundation::PSID, ownerdefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlGetOwnerSecurityDescriptor(securitydescriptor: P0, owner: *mut super::super::super::Win32::Foundation::PSID, ownerdefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetOwnerSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, owner : *mut super::super::super::Win32::Foundation:: PSID, ownerdefaulted : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetOwnerSecurityDescriptor(securitydescriptor.into_param().abi(), owner, ownerdefaulted).ok() + RtlGetOwnerSecurityDescriptor(securitydescriptor.into_param().abi(), owner, ownerdefaulted) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlGetSaclSecurityDescriptor(securitydescriptor: P0, saclpresent: *mut super::super::super::Win32::Foundation::BOOLEAN, sacl: *mut *mut super::super::super::Win32::Security::ACL, sacldefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlGetSaclSecurityDescriptor(securitydescriptor: P0, saclpresent: *mut super::super::super::Win32::Foundation::BOOLEAN, sacl: *mut *mut super::super::super::Win32::Security::ACL, sacldefaulted: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetSaclSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, saclpresent : *mut super::super::super::Win32::Foundation:: BOOLEAN, sacl : *mut *mut super::super::super::Win32::Security:: ACL, sacldefaulted : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetSaclSecurityDescriptor(securitydescriptor.into_param().abi(), saclpresent, sacl, sacldefaulted).ok() + RtlGetSaclSecurityDescriptor(securitydescriptor.into_param().abi(), saclpresent, sacl, sacldefaulted) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -3733,32 +3733,32 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIdnToAscii(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RtlIdnToAscii(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIdnToAscii(flags : u32, sourcestring : ::windows_core::PCWSTR, sourcestringlength : i32, destinationstring : ::windows_core::PWSTR, destinationstringlength : *mut i32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIdnToAscii(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength).ok() + RtlIdnToAscii(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIdnToNameprepUnicode(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RtlIdnToNameprepUnicode(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIdnToNameprepUnicode(flags : u32, sourcestring : ::windows_core::PCWSTR, sourcestringlength : i32, destinationstring : ::windows_core::PWSTR, destinationstringlength : *mut i32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIdnToNameprepUnicode(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength).ok() + RtlIdnToNameprepUnicode(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIdnToUnicode(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RtlIdnToUnicode(flags: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIdnToUnicode(flags : u32, sourcestring : ::windows_core::PCWSTR, sourcestringlength : i32, destinationstring : ::windows_core::PWSTR, destinationstringlength : *mut i32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIdnToUnicode(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength).ok() + RtlIdnToUnicode(flags, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -3769,26 +3769,26 @@ pub unsafe fn RtlInitCodePageTable(tablebase: ::core::option::Option<&[u16; 2]>, #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlInitUnicodeStringEx(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlInitUnicodeStringEx(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlInitUnicodeStringEx(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlInitUnicodeStringEx(destinationstring, sourcestring.into_param().abi()).ok() + RtlInitUnicodeStringEx(destinationstring, sourcestring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlInitializeSid(sid: super::super::super::Win32::Foundation::PSID, identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8) -> ::windows_core::Result<()> { +pub unsafe fn RtlInitializeSid(sid: super::super::super::Win32::Foundation::PSID, identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlInitializeSid(sid : super::super::super::Win32::Foundation:: PSID, identifierauthority : *const super::super::super::Win32::Security:: SID_IDENTIFIER_AUTHORITY, subauthoritycount : u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlInitializeSid(sid, identifierauthority, subauthoritycount).ok() + RtlInitializeSid(sid, identifierauthority, subauthoritycount) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlInitializeSidEx(sid: super::super::super::Win32::Foundation::PSID, identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8) -> ::windows_core::Result<()> { +pub unsafe fn RtlInitializeSidEx(sid: super::super::super::Win32::Foundation::PSID, identifierauthority: *const super::super::super::Win32::Security::SID_IDENTIFIER_AUTHORITY, subauthoritycount: u8) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "cdecl" fn RtlInitializeSidEx(sid : super::super::super::Win32::Foundation:: PSID, identifierauthority : *const super::super::super::Win32::Security:: SID_IDENTIFIER_AUTHORITY, subauthoritycount : u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlInitializeSidEx(sid, identifierauthority, subauthoritycount).ok() + RtlInitializeSidEx(sid, identifierauthority, subauthoritycount) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -3823,12 +3823,12 @@ pub unsafe fn RtlIsNonEmptyDirectoryReparsePointAllowed(reparsetag: u32) -> supe #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIsNormalizedString(normform: u32, sourcestring: P0, sourcestringlength: i32, normalized: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlIsNormalizedString(normform: u32, sourcestring: P0, sourcestringlength: i32, normalized: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIsNormalizedString(normform : u32, sourcestring : ::windows_core::PCWSTR, sourcestringlength : i32, normalized : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIsNormalizedString(normform, sourcestring.into_param().abi(), sourcestringlength, normalized).ok() + RtlIsNormalizedString(normform, sourcestring.into_param().abi(), sourcestringlength, normalized) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3840,19 +3840,19 @@ pub unsafe fn RtlIsPartialPlaceholder(fileattributes: u32, reparsetag: u32) -> s #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIsPartialPlaceholderFileHandle(filehandle: P0, ispartialplaceholder: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlIsPartialPlaceholderFileHandle(filehandle: P0, ispartialplaceholder: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIsPartialPlaceholderFileHandle(filehandle : super::super::super::Win32::Foundation:: HANDLE, ispartialplaceholder : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIsPartialPlaceholderFileHandle(filehandle.into_param().abi(), ispartialplaceholder).ok() + RtlIsPartialPlaceholderFileHandle(filehandle.into_param().abi(), ispartialplaceholder) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn RtlIsPartialPlaceholderFileInfo(infobuffer: *const ::core::ffi::c_void, infoclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, ispartialplaceholder: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn RtlIsPartialPlaceholderFileInfo(infobuffer: *const ::core::ffi::c_void, infoclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, ispartialplaceholder: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlIsPartialPlaceholderFileInfo(infobuffer : *const ::core::ffi::c_void, infoclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, ispartialplaceholder : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIsPartialPlaceholderFileInfo(infobuffer, infoclass, ispartialplaceholder).ok() + RtlIsPartialPlaceholderFileInfo(infobuffer, infoclass, ispartialplaceholder) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -3887,16 +3887,16 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlMultiByteToUnicodeN(unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, multibytestring: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn RtlMultiByteToUnicodeN(unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, multibytestring: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlMultiByteToUnicodeN(unicodestring : ::windows_core::PWSTR, maxbytesinunicodestring : u32, bytesinunicodestring : *mut u32, multibytestring : ::windows_core::PCSTR, bytesinmultibytestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlMultiByteToUnicodeN(::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _).ok() + RtlMultiByteToUnicodeN(::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlMultiByteToUnicodeSize(bytesinunicodestring: *mut u32, multibytestring: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn RtlMultiByteToUnicodeSize(bytesinunicodestring: *mut u32, multibytestring: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlMultiByteToUnicodeSize(bytesinunicodestring : *mut u32, multibytestring : ::windows_core::PCSTR, bytesinmultibytestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlMultiByteToUnicodeSize(bytesinunicodestring, ::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _).ok() + RtlMultiByteToUnicodeSize(bytesinunicodestring, ::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -3911,12 +3911,12 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlNormalizeString(normform: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RtlNormalizeString(normform: u32, sourcestring: P0, sourcestringlength: i32, destinationstring: ::windows_core::PWSTR, destinationstringlength: *mut i32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlNormalizeString(normform : u32, sourcestring : ::windows_core::PCWSTR, sourcestringlength : i32, destinationstring : ::windows_core::PWSTR, destinationstringlength : *mut i32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlNormalizeString(normform, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength).ok() + RtlNormalizeString(normform, sourcestring.into_param().abi(), sourcestringlength, ::core::mem::transmute(destinationstring), destinationstringlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3931,29 +3931,29 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlOemStringToCountedUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlOemStringToCountedUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlOemStringToCountedUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlOemStringToCountedUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlOemStringToCountedUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlOemStringToUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlOemStringToUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlOemStringToUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlOemStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlOemStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlOemToUnicodeN(unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, oemstring: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn RtlOemToUnicodeN(unicodestring: ::windows_core::PWSTR, maxbytesinunicodestring: u32, bytesinunicodestring: ::core::option::Option<*mut u32>, oemstring: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlOemToUnicodeN(unicodestring : ::windows_core::PWSTR, maxbytesinunicodestring : u32, bytesinunicodestring : *mut u32, oemstring : ::windows_core::PCSTR, bytesinoemstring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlOemToUnicodeN(::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _).ok() + RtlOemToUnicodeN(::core::mem::transmute(unicodestring), maxbytesinunicodestring, ::core::mem::transmute(bytesinunicodestring.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -3968,16 +3968,16 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlQueryPackageIdentity(tokenobject: *const ::core::ffi::c_void, packagefullname: ::windows_core::PWSTR, packagesize: *mut usize, appid: ::windows_core::PWSTR, appidsize: ::core::option::Option<*mut usize>, packaged: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> { +pub unsafe fn RtlQueryPackageIdentity(tokenobject: *const ::core::ffi::c_void, packagefullname: ::windows_core::PWSTR, packagesize: *mut usize, appid: ::windows_core::PWSTR, appidsize: ::core::option::Option<*mut usize>, packaged: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryPackageIdentity(tokenobject : *const ::core::ffi::c_void, packagefullname : ::windows_core::PWSTR, packagesize : *mut usize, appid : ::windows_core::PWSTR, appidsize : *mut usize, packaged : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlQueryPackageIdentity(tokenobject, ::core::mem::transmute(packagefullname), packagesize, ::core::mem::transmute(appid), ::core::mem::transmute(appidsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(packaged.unwrap_or(::std::ptr::null_mut()))).ok() + RtlQueryPackageIdentity(tokenobject, ::core::mem::transmute(packagefullname), packagesize, ::core::mem::transmute(appid), ::core::mem::transmute(appidsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(packaged.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlQueryPackageIdentityEx(tokenobject: *const ::core::ffi::c_void, packagefullname: ::windows_core::PWSTR, packagesize: *mut usize, appid: ::windows_core::PWSTR, appidsize: ::core::option::Option<*mut usize>, dynamicid: ::core::option::Option<*mut ::windows_core::GUID>, flags: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { +pub unsafe fn RtlQueryPackageIdentityEx(tokenobject: *const ::core::ffi::c_void, packagefullname: ::windows_core::PWSTR, packagesize: *mut usize, appid: ::windows_core::PWSTR, appidsize: ::core::option::Option<*mut usize>, dynamicid: ::core::option::Option<*mut ::windows_core::GUID>, flags: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryPackageIdentityEx(tokenobject : *const ::core::ffi::c_void, packagefullname : ::windows_core::PWSTR, packagesize : *mut usize, appid : ::windows_core::PWSTR, appidsize : *mut usize, dynamicid : *mut ::windows_core::GUID, flags : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlQueryPackageIdentityEx(tokenobject, ::core::mem::transmute(packagefullname), packagesize, ::core::mem::transmute(appid), ::core::mem::transmute(appidsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dynamicid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(flags.unwrap_or(::std::ptr::null_mut()))).ok() + RtlQueryPackageIdentityEx(tokenobject, ::core::mem::transmute(packagefullname), packagesize, ::core::mem::transmute(appid), ::core::mem::transmute(appidsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dynamicid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(flags.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -4013,20 +4013,20 @@ pub unsafe fn RtlRemoveUnicodePrefix(prefixtable: *const UNICODE_PREFIX_TABLE, p #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlReplaceSidInSd(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, oldsid: P0, newsid: P1, numchanges: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RtlReplaceSidInSd(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, oldsid: P0, newsid: P1, numchanges: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlReplaceSidInSd(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, oldsid : super::super::super::Win32::Foundation:: PSID, newsid : super::super::super::Win32::Foundation:: PSID, numchanges : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlReplaceSidInSd(securitydescriptor, oldsid.into_param().abi(), newsid.into_param().abi(), numchanges).ok() + RtlReplaceSidInSd(securitydescriptor, oldsid.into_param().abi(), newsid.into_param().abi(), numchanges) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlReserveChunk(compressionformat: u16, compressedbuffer: *mut *mut u8, endofcompressedbufferplus1: *const u8, chunkbuffer: *mut *mut u8, chunksize: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlReserveChunk(compressionformat: u16, compressedbuffer: *mut *mut u8, endofcompressedbufferplus1: *const u8, chunkbuffer: *mut *mut u8, chunksize: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlReserveChunk(compressionformat : u16, compressedbuffer : *mut *mut u8, endofcompressedbufferplus1 : *const u8, chunkbuffer : *mut *mut u8, chunksize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlReserveChunk(compressionformat, compressedbuffer, endofcompressedbufferplus1, chunkbuffer, chunksize).ok() + RtlReserveChunk(compressionformat, compressedbuffer, endofcompressedbufferplus1, chunkbuffer, chunksize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -4047,34 +4047,34 @@ pub unsafe fn RtlSecondsSince1980ToTime(elapsedseconds: u32) -> i64 { #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlSelfRelativeToAbsoluteSD(selfrelativesecuritydescriptor: P0, absolutesecuritydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, absolutesecuritydescriptorsize: *mut u32, dacl: ::core::option::Option<*mut super::super::super::Win32::Security::ACL>, daclsize: *mut u32, sacl: ::core::option::Option<*mut super::super::super::Win32::Security::ACL>, saclsize: *mut u32, owner: super::super::super::Win32::Foundation::PSID, ownersize: *mut u32, primarygroup: super::super::super::Win32::Foundation::PSID, primarygroupsize: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RtlSelfRelativeToAbsoluteSD(selfrelativesecuritydescriptor: P0, absolutesecuritydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, absolutesecuritydescriptorsize: *mut u32, dacl: ::core::option::Option<*mut super::super::super::Win32::Security::ACL>, daclsize: *mut u32, sacl: ::core::option::Option<*mut super::super::super::Win32::Security::ACL>, saclsize: *mut u32, owner: super::super::super::Win32::Foundation::PSID, ownersize: *mut u32, primarygroup: super::super::super::Win32::Foundation::PSID, primarygroupsize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlSelfRelativeToAbsoluteSD(selfrelativesecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, absolutesecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, absolutesecuritydescriptorsize : *mut u32, dacl : *mut super::super::super::Win32::Security:: ACL, daclsize : *mut u32, sacl : *mut super::super::super::Win32::Security:: ACL, saclsize : *mut u32, owner : super::super::super::Win32::Foundation:: PSID, ownersize : *mut u32, primarygroup : super::super::super::Win32::Foundation:: PSID, primarygroupsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlSelfRelativeToAbsoluteSD(selfrelativesecuritydescriptor.into_param().abi(), absolutesecuritydescriptor, absolutesecuritydescriptorsize, ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null_mut())), daclsize, ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null_mut())), saclsize, owner, ownersize, primarygroup, primarygroupsize).ok() + RtlSelfRelativeToAbsoluteSD(selfrelativesecuritydescriptor.into_param().abi(), absolutesecuritydescriptor, absolutesecuritydescriptorsize, ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null_mut())), daclsize, ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null_mut())), saclsize, owner, ownersize, primarygroup, primarygroupsize) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlSetGroupSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, group: P0, groupdefaulted: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlSetGroupSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, group: P0, groupdefaulted: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlSetGroupSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, group : super::super::super::Win32::Foundation:: PSID, groupdefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlSetGroupSecurityDescriptor(securitydescriptor, group.into_param().abi(), groupdefaulted.into_param().abi()).ok() + RtlSetGroupSecurityDescriptor(securitydescriptor, group.into_param().abi(), groupdefaulted.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlSetOwnerSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, owner: P0, ownerdefaulted: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlSetOwnerSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, owner: P0, ownerdefaulted: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlSetOwnerSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, owner : super::super::super::Win32::Foundation:: PSID, ownerdefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlSetOwnerSecurityDescriptor(securitydescriptor, owner.into_param().abi(), ownerdefaulted.into_param().abi()).ok() + RtlSetOwnerSecurityDescriptor(securitydescriptor, owner.into_param().abi(), ownerdefaulted.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -4118,80 +4118,80 @@ pub unsafe fn RtlTimeToSecondsSince1980(time: *const i64, elapsedseconds: *mut u #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUnicodeStringToCountedOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeStringToCountedOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToCountedOemString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeStringToCountedOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUnicodeStringToCountedOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeToCustomCPN(customcp: *const CPTABLEINFO, customcpstring: &mut [u8], bytesincustomcpstring: ::core::option::Option<*mut u32>, unicodestring: P0, bytesinunicodestring: u32) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeToCustomCPN(customcp: *const CPTABLEINFO, customcpstring: &mut [u8], bytesincustomcpstring: ::core::option::Option<*mut u32>, unicodestring: P0, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToCustomCPN(customcp : *const CPTABLEINFO, customcpstring : ::windows_core::PSTR, maxbytesincustomcpstring : u32, bytesincustomcpstring : *mut u32, unicodestring : ::windows_core::PCWSTR, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeToCustomCPN(customcp, ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _, ::core::mem::transmute(bytesincustomcpstring.unwrap_or(::std::ptr::null_mut())), unicodestring.into_param().abi(), bytesinunicodestring).ok() + RtlUnicodeToCustomCPN(customcp, ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _, ::core::mem::transmute(bytesincustomcpstring.unwrap_or(::std::ptr::null_mut())), unicodestring.into_param().abi(), bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeToMultiByteN(multibytestring: &mut [u8], bytesinmultibytestring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUnicodeToMultiByteN(multibytestring: &mut [u8], bytesinmultibytestring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToMultiByteN(multibytestring : ::windows_core::PSTR, maxbytesinmultibytestring : u32, bytesinmultibytestring : *mut u32, unicodestring : *const u16, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeToMultiByteN(::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _, ::core::mem::transmute(bytesinmultibytestring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring).ok() + RtlUnicodeToMultiByteN(::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _, ::core::mem::transmute(bytesinmultibytestring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeToOemN(oemstring: &mut [u8], bytesinoemstring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUnicodeToOemN(oemstring: &mut [u8], bytesinoemstring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToOemN(oemstring : ::windows_core::PSTR, maxbytesinoemstring : u32, bytesinoemstring : *mut u32, unicodestring : *const u16, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeToOemN(::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _, ::core::mem::transmute(bytesinoemstring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring).ok() + RtlUnicodeToOemN(::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _, ::core::mem::transmute(bytesinoemstring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUpcaseUnicodeStringToCountedOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUpcaseUnicodeStringToCountedOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeStringToCountedOemString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeStringToCountedOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUpcaseUnicodeStringToCountedOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUpcaseUnicodeStringToOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUpcaseUnicodeStringToOemString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeStringToOemString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUpcaseUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUpcaseUnicodeToCustomCPN(customcp: *const CPTABLEINFO, customcpstring: &mut [u8], bytesincustomcpstring: ::core::option::Option<*mut u32>, unicodestring: P0, bytesinunicodestring: u32) -> ::windows_core::Result<()> +pub unsafe fn RtlUpcaseUnicodeToCustomCPN(customcp: *const CPTABLEINFO, customcpstring: &mut [u8], bytesincustomcpstring: ::core::option::Option<*mut u32>, unicodestring: P0, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeToCustomCPN(customcp : *const CPTABLEINFO, customcpstring : ::windows_core::PSTR, maxbytesincustomcpstring : u32, bytesincustomcpstring : *mut u32, unicodestring : ::windows_core::PCWSTR, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeToCustomCPN(customcp, ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _, ::core::mem::transmute(bytesincustomcpstring.unwrap_or(::std::ptr::null_mut())), unicodestring.into_param().abi(), bytesinunicodestring).ok() + RtlUpcaseUnicodeToCustomCPN(customcp, ::core::mem::transmute(customcpstring.as_ptr()), customcpstring.len() as _, ::core::mem::transmute(bytesincustomcpstring.unwrap_or(::std::ptr::null_mut())), unicodestring.into_param().abi(), bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUpcaseUnicodeToMultiByteN(multibytestring: &mut [u8], bytesinmultibytestring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUpcaseUnicodeToMultiByteN(multibytestring: &mut [u8], bytesinmultibytestring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeToMultiByteN(multibytestring : ::windows_core::PSTR, maxbytesinmultibytestring : u32, bytesinmultibytestring : *mut u32, unicodestring : *const u16, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeToMultiByteN(::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _, ::core::mem::transmute(bytesinmultibytestring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring).ok() + RtlUpcaseUnicodeToMultiByteN(::core::mem::transmute(multibytestring.as_ptr()), multibytestring.len() as _, ::core::mem::transmute(bytesinmultibytestring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUpcaseUnicodeToOemN(oemstring: &mut [u8], bytesinoemstring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUpcaseUnicodeToOemN(oemstring: &mut [u8], bytesinoemstring: ::core::option::Option<*mut u32>, unicodestring: *const u16, bytesinunicodestring: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeToOemN(oemstring : ::windows_core::PSTR, maxbytesinoemstring : u32, bytesinoemstring : *mut u32, unicodestring : *const u16, bytesinunicodestring : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeToOemN(::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _, ::core::mem::transmute(bytesinoemstring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring).ok() + RtlUpcaseUnicodeToOemN(::core::mem::transmute(oemstring.as_ptr()), oemstring.len() as _, ::core::mem::transmute(bytesinoemstring.unwrap_or(::std::ptr::null_mut())), unicodestring, bytesinunicodestring) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4206,9 +4206,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlValidateUnicodeString(flags: u32, string: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlValidateUnicodeString(flags: u32, string: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlValidateUnicodeString(flags : u32, string : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlValidateUnicodeString(flags, string).ok() + RtlValidateUnicodeString(flags, string) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] @@ -4267,20 +4267,20 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeAdjustObjectSecurity(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, originaldescriptor: P0, proposeddescriptor: P1, subjectsecuritycontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, adjusteddescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, applyadjusteddescriptor: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn SeAdjustObjectSecurity(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, originaldescriptor: P0, proposeddescriptor: P1, subjectsecuritycontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, adjusteddescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, applyadjusteddescriptor: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeAdjustObjectSecurity(objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, originaldescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, proposeddescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, subjectsecuritycontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, adjusteddescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, applyadjusteddescriptor : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeAdjustObjectSecurity(objectname, originaldescriptor.into_param().abi(), proposeddescriptor.into_param().abi(), subjectsecuritycontext, adjusteddescriptor, applyadjusteddescriptor).ok() + SeAdjustObjectSecurity(objectname, originaldescriptor.into_param().abi(), proposeddescriptor.into_param().abi(), subjectsecuritycontext, adjusteddescriptor, applyadjusteddescriptor) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeAppendPrivileges(accessstate: *mut super::super::Foundation::ACCESS_STATE, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET) -> ::windows_core::Result<()> { +pub unsafe fn SeAppendPrivileges(accessstate: *mut super::super::Foundation::ACCESS_STATE, privileges: *const super::super::super::Win32::Security::PRIVILEGE_SET) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeAppendPrivileges(accessstate : *mut super::super::Foundation:: ACCESS_STATE, privileges : *const super::super::super::Win32::Security:: PRIVILEGE_SET) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeAppendPrivileges(accessstate, privileges).ok() + SeAppendPrivileges(accessstate, privileges) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4433,23 +4433,23 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeCreateClientSecurity(clientthread: P0, clientsecurityqos: *const super::super::super::Win32::Security::SECURITY_QUALITY_OF_SERVICE, remotesession: P1, clientcontext: *mut SECURITY_CLIENT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn SeCreateClientSecurity(clientthread: P0, clientsecurityqos: *const super::super::super::Win32::Security::SECURITY_QUALITY_OF_SERVICE, remotesession: P1, clientcontext: *mut SECURITY_CLIENT_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeCreateClientSecurity(clientthread : super::super::Foundation:: PETHREAD, clientsecurityqos : *const super::super::super::Win32::Security:: SECURITY_QUALITY_OF_SERVICE, remotesession : super::super::super::Win32::Foundation:: BOOLEAN, clientcontext : *mut SECURITY_CLIENT_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeCreateClientSecurity(clientthread.into_param().abi(), clientsecurityqos, remotesession.into_param().abi(), clientcontext).ok() + SeCreateClientSecurity(clientthread.into_param().abi(), clientsecurityqos, remotesession.into_param().abi(), clientcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeCreateClientSecurityFromSubjectContext(subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, clientsecurityqos: *const super::super::super::Win32::Security::SECURITY_QUALITY_OF_SERVICE, serverisremote: P0, clientcontext: *mut SECURITY_CLIENT_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn SeCreateClientSecurityFromSubjectContext(subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, clientsecurityqos: *const super::super::super::Win32::Security::SECURITY_QUALITY_OF_SERVICE, serverisremote: P0, clientcontext: *mut SECURITY_CLIENT_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeCreateClientSecurityFromSubjectContext(subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, clientsecurityqos : *const super::super::super::Win32::Security:: SECURITY_QUALITY_OF_SERVICE, serverisremote : super::super::super::Win32::Foundation:: BOOLEAN, clientcontext : *mut SECURITY_CLIENT_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeCreateClientSecurityFromSubjectContext(subjectcontext, clientsecurityqos, serverisremote.into_param().abi(), clientcontext).ok() + SeCreateClientSecurityFromSubjectContext(subjectcontext, clientsecurityqos, serverisremote.into_param().abi(), clientcontext) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -4491,9 +4491,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeFilterToken(existingtoken: *const ::core::ffi::c_void, flags: u32, sidstodisable: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, privilegestodelete: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, restrictedsids: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, filteredtoken: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeFilterToken(existingtoken: *const ::core::ffi::c_void, flags: u32, sidstodisable: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, privilegestodelete: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_PRIVILEGES>, restrictedsids: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_GROUPS>, filteredtoken: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeFilterToken(existingtoken : *const ::core::ffi::c_void, flags : u32, sidstodisable : *const super::super::super::Win32::Security:: TOKEN_GROUPS, privilegestodelete : *const super::super::super::Win32::Security:: TOKEN_PRIVILEGES, restrictedsids : *const super::super::super::Win32::Security:: TOKEN_GROUPS, filteredtoken : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeFilterToken(existingtoken, flags, ::core::mem::transmute(sidstodisable.unwrap_or(::std::ptr::null())), ::core::mem::transmute(privilegestodelete.unwrap_or(::std::ptr::null())), ::core::mem::transmute(restrictedsids.unwrap_or(::std::ptr::null())), filteredtoken).ok() + SeFilterToken(existingtoken, flags, ::core::mem::transmute(sidstodisable.unwrap_or(::std::ptr::null())), ::core::mem::transmute(privilegestodelete.unwrap_or(::std::ptr::null())), ::core::mem::transmute(restrictedsids.unwrap_or(::std::ptr::null())), filteredtoken) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -4515,39 +4515,39 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeImpersonateClientEx(clientcontext: *const SECURITY_CLIENT_CONTEXT, serverthread: P0) -> ::windows_core::Result<()> +pub unsafe fn SeImpersonateClientEx(clientcontext: *const SECURITY_CLIENT_CONTEXT, serverthread: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeImpersonateClientEx(clientcontext : *const SECURITY_CLIENT_CONTEXT, serverthread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeImpersonateClientEx(clientcontext, serverthread.into_param().abi()).ok() + SeImpersonateClientEx(clientcontext, serverthread.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn SeLocateProcessImageName(process: P0, pimagefilename: *mut *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn SeLocateProcessImageName(process: P0, pimagefilename: *mut *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeLocateProcessImageName(process : super::super::Foundation:: PEPROCESS, pimagefilename : *mut *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeLocateProcessImageName(process.into_param().abi(), pimagefilename).ok() + SeLocateProcessImageName(process.into_param().abi(), pimagefilename) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeMarkLogonSessionForTerminationNotification(logonid: *const super::super::super::Win32::Foundation::LUID) -> ::windows_core::Result<()> { +pub unsafe fn SeMarkLogonSessionForTerminationNotification(logonid: *const super::super::super::Win32::Foundation::LUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeMarkLogonSessionForTerminationNotification(logonid : *const super::super::super::Win32::Foundation:: LUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeMarkLogonSessionForTerminationNotification(logonid).ok() + SeMarkLogonSessionForTerminationNotification(logonid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn SeMarkLogonSessionForTerminationNotificationEx(logonid: *const super::super::super::Win32::Foundation::LUID, pserversilo: P0) -> ::windows_core::Result<()> +pub unsafe fn SeMarkLogonSessionForTerminationNotificationEx(logonid: *const super::super::super::Win32::Foundation::LUID, pserversilo: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeMarkLogonSessionForTerminationNotificationEx(logonid : *const super::super::super::Win32::Foundation:: LUID, pserversilo : super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeMarkLogonSessionForTerminationNotificationEx(logonid, pserversilo.into_param().abi()).ok() + SeMarkLogonSessionForTerminationNotificationEx(logonid, pserversilo.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -4615,68 +4615,68 @@ pub unsafe fn SePrivilegeCheck(requiredprivileges: *mut super::super::super::Win #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeQueryAuthenticationIdToken(token: *const ::core::ffi::c_void, authenticationid: *mut super::super::super::Win32::Foundation::LUID) -> ::windows_core::Result<()> { +pub unsafe fn SeQueryAuthenticationIdToken(token: *const ::core::ffi::c_void, authenticationid: *mut super::super::super::Win32::Foundation::LUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQueryAuthenticationIdToken(token : *const ::core::ffi::c_void, authenticationid : *mut super::super::super::Win32::Foundation:: LUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQueryAuthenticationIdToken(token, authenticationid).ok() + SeQueryAuthenticationIdToken(token, authenticationid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeQueryInformationToken(token: *const ::core::ffi::c_void, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeQueryInformationToken(token: *const ::core::ffi::c_void, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQueryInformationToken(token : *const ::core::ffi::c_void, tokeninformationclass : super::super::super::Win32::Security:: TOKEN_INFORMATION_CLASS, tokeninformation : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQueryInformationToken(token, tokeninformationclass, tokeninformation).ok() + SeQueryInformationToken(token, tokeninformationclass, tokeninformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeQuerySecurityDescriptorInfo(securityinformation: *const u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: *mut u32, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> ::windows_core::Result<()> { +pub unsafe fn SeQuerySecurityDescriptorInfo(securityinformation: *const u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: *mut u32, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQuerySecurityDescriptorInfo(securityinformation : *const u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, length : *mut u32, objectssecuritydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQuerySecurityDescriptorInfo(securityinformation, securitydescriptor, length, objectssecuritydescriptor).ok() + SeQuerySecurityDescriptorInfo(securityinformation, securitydescriptor, length, objectssecuritydescriptor) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn SeQueryServerSiloToken(token: *const ::core::ffi::c_void, pserversilo: *mut super::super::Foundation::PESILO) -> ::windows_core::Result<()> { +pub unsafe fn SeQueryServerSiloToken(token: *const ::core::ffi::c_void, pserversilo: *mut super::super::Foundation::PESILO) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQueryServerSiloToken(token : *const ::core::ffi::c_void, pserversilo : *mut super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQueryServerSiloToken(token, pserversilo).ok() + SeQueryServerSiloToken(token, pserversilo) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeQuerySessionIdToken(token: *const ::core::ffi::c_void, sessionid: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn SeQuerySessionIdToken(token: *const ::core::ffi::c_void, sessionid: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQuerySessionIdToken(token : *const ::core::ffi::c_void, sessionid : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQuerySessionIdToken(token, sessionid).ok() + SeQuerySessionIdToken(token, sessionid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeQuerySessionIdTokenEx(token: *const ::core::ffi::c_void, sessionid: *mut u32, isservicesession: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn SeQuerySessionIdTokenEx(token: *const ::core::ffi::c_void, sessionid: *mut u32, isservicesession: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeQuerySessionIdTokenEx(token : *const ::core::ffi::c_void, sessionid : *mut u32, isservicesession : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeQuerySessionIdTokenEx(token, sessionid, isservicesession).ok() + SeQuerySessionIdTokenEx(token, sessionid, isservicesession) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeRegisterLogonSessionTerminatedRoutine(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn SeRegisterLogonSessionTerminatedRoutine(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeRegisterLogonSessionTerminatedRoutine(callbackroutine : PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeRegisterLogonSessionTerminatedRoutine(callbackroutine).ok() + SeRegisterLogonSessionTerminatedRoutine(callbackroutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeRegisterLogonSessionTerminatedRoutineEx(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeRegisterLogonSessionTerminatedRoutineEx(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeRegisterLogonSessionTerminatedRoutineEx(callbackroutine : PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeRegisterLogonSessionTerminatedRoutineEx(callbackroutine, context).ok() + SeRegisterLogonSessionTerminatedRoutineEx(callbackroutine, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn SeReportSecurityEventWithSubCategory(flags: u32, sourcename: *const super::super::super::Win32::Foundation::UNICODE_STRING, usersid: P0, auditparameters: *const super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY, auditsubcategoryid: u32) -> ::windows_core::Result<()> +pub unsafe fn SeReportSecurityEventWithSubCategory(flags: u32, sourcename: *const super::super::super::Win32::Foundation::UNICODE_STRING, usersid: P0, auditparameters: *const super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY, auditsubcategoryid: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeReportSecurityEventWithSubCategory(flags : u32, sourcename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, usersid : super::super::super::Win32::Foundation:: PSID, auditparameters : *const super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_ARRAY, auditsubcategoryid : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeReportSecurityEventWithSubCategory(flags, sourcename, usersid.into_param().abi(), auditparameters, auditsubcategoryid).ok() + SeReportSecurityEventWithSubCategory(flags, sourcename, usersid.into_param().abi(), auditparameters, auditsubcategoryid) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -4688,22 +4688,22 @@ pub unsafe fn SeSetAccessStateGenericMapping(accessstate: *mut super::super::Fou #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeSetSecurityDescriptorInfo(object: ::core::option::Option<*const ::core::ffi::c_void>, securityinformation: *const u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, pooltype: super::super::Foundation::POOL_TYPE, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING) -> ::windows_core::Result<()> +pub unsafe fn SeSetSecurityDescriptorInfo(object: ::core::option::Option<*const ::core::ffi::c_void>, securityinformation: *const u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, pooltype: super::super::Foundation::POOL_TYPE, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeSetSecurityDescriptorInfo(object : *const ::core::ffi::c_void, securityinformation : *const u32, modificationdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, pooltype : super::super::Foundation:: POOL_TYPE, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeSetSecurityDescriptorInfo(::core::mem::transmute(object.unwrap_or(::std::ptr::null())), securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, pooltype, genericmapping).ok() + SeSetSecurityDescriptorInfo(::core::mem::transmute(object.unwrap_or(::std::ptr::null())), securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, pooltype, genericmapping) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeSetSecurityDescriptorInfoEx(object: ::core::option::Option<*const ::core::ffi::c_void>, securityinformation: *const u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, autoinheritflags: u32, pooltype: super::super::Foundation::POOL_TYPE, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING) -> ::windows_core::Result<()> +pub unsafe fn SeSetSecurityDescriptorInfoEx(object: ::core::option::Option<*const ::core::ffi::c_void>, securityinformation: *const u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, autoinheritflags: u32, pooltype: super::super::Foundation::POOL_TYPE, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeSetSecurityDescriptorInfoEx(object : *const ::core::ffi::c_void, securityinformation : *const u32, modificationdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, autoinheritflags : u32, pooltype : super::super::Foundation:: POOL_TYPE, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeSetSecurityDescriptorInfoEx(::core::mem::transmute(object.unwrap_or(::std::ptr::null())), securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, autoinheritflags, pooltype, genericmapping).ok() + SeSetSecurityDescriptorInfoEx(::core::mem::transmute(object.unwrap_or(::std::ptr::null())), securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, autoinheritflags, pooltype, genericmapping) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -4718,9 +4718,9 @@ where #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeTokenFromAccessInformation(accessinformation: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_ACCESS_INFORMATION>, token: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, requiredlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn SeTokenFromAccessInformation(accessinformation: ::core::option::Option<*const super::super::super::Win32::Security::TOKEN_ACCESS_INFORMATION>, token: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, requiredlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeTokenFromAccessInformation(accessinformation : *const super::super::super::Win32::Security:: TOKEN_ACCESS_INFORMATION, token : *mut ::core::ffi::c_void, length : u32, requiredlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeTokenFromAccessInformation(::core::mem::transmute(accessinformation.unwrap_or(::std::ptr::null())), ::core::mem::transmute(token.unwrap_or(::std::ptr::null_mut())), length, requiredlength).ok() + SeTokenFromAccessInformation(::core::mem::transmute(accessinformation.unwrap_or(::std::ptr::null())), ::core::mem::transmute(token.unwrap_or(::std::ptr::null_mut())), length, requiredlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4753,71 +4753,71 @@ pub unsafe fn SeTokenType(token: *const ::core::ffi::c_void) -> super::super::su #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeUnregisterLogonSessionTerminatedRoutine(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn SeUnregisterLogonSessionTerminatedRoutine(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeUnregisterLogonSessionTerminatedRoutine(callbackroutine : PSE_LOGON_SESSION_TERMINATED_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeUnregisterLogonSessionTerminatedRoutine(callbackroutine).ok() + SeUnregisterLogonSessionTerminatedRoutine(callbackroutine) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeUnregisterLogonSessionTerminatedRoutineEx(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeUnregisterLogonSessionTerminatedRoutineEx(callbackroutine: PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeUnregisterLogonSessionTerminatedRoutineEx(callbackroutine : PSE_LOGON_SESSION_TERMINATED_ROUTINE_EX, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeUnregisterLogonSessionTerminatedRoutineEx(callbackroutine, context).ok() + SeUnregisterLogonSessionTerminatedRoutineEx(callbackroutine, context) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SecLookupAccountName(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, sidsize: *mut u32, sid: super::super::super::Win32::Foundation::PSID, nameuse: *mut super::super::super::Win32::Security::SID_NAME_USE, domainsize: *mut u32, referenceddomain: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> { +pub unsafe fn SecLookupAccountName(name: *const super::super::super::Win32::Foundation::UNICODE_STRING, sidsize: *mut u32, sid: super::super::super::Win32::Foundation::PSID, nameuse: *mut super::super::super::Win32::Security::SID_NAME_USE, domainsize: *mut u32, referenceddomain: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ksecdd.sys" "system" fn SecLookupAccountName(name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, sidsize : *mut u32, sid : super::super::super::Win32::Foundation:: PSID, nameuse : *mut super::super::super::Win32::Security:: SID_NAME_USE, domainsize : *mut u32, referenceddomain : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecLookupAccountName(name, sidsize, sid, nameuse, domainsize, ::core::mem::transmute(referenceddomain.unwrap_or(::std::ptr::null_mut()))).ok() + SecLookupAccountName(name, sidsize, sid, nameuse, domainsize, ::core::mem::transmute(referenceddomain.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SecLookupAccountSid(sid: P0, namesize: *mut u32, namebuffer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, domainsize: *mut u32, domainbuffer: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>, nameuse: *mut super::super::super::Win32::Security::SID_NAME_USE) -> ::windows_core::Result<()> +pub unsafe fn SecLookupAccountSid(sid: P0, namesize: *mut u32, namebuffer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, domainsize: *mut u32, domainbuffer: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>, nameuse: *mut super::super::super::Win32::Security::SID_NAME_USE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ksecdd.sys" "system" fn SecLookupAccountSid(sid : super::super::super::Win32::Foundation:: PSID, namesize : *mut u32, namebuffer : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, domainsize : *mut u32, domainbuffer : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, nameuse : *mut super::super::super::Win32::Security:: SID_NAME_USE) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecLookupAccountSid(sid.into_param().abi(), namesize, namebuffer, domainsize, ::core::mem::transmute(domainbuffer.unwrap_or(::std::ptr::null_mut())), nameuse).ok() + SecLookupAccountSid(sid.into_param().abi(), namesize, namebuffer, domainsize, ::core::mem::transmute(domainbuffer.unwrap_or(::std::ptr::null_mut())), nameuse) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SecLookupWellKnownSid(sidtype: super::super::super::Win32::Security::WELL_KNOWN_SID_TYPE, sid: super::super::super::Win32::Foundation::PSID, sidbuffersize: u32, sidsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn SecLookupWellKnownSid(sidtype: super::super::super::Win32::Security::WELL_KNOWN_SID_TYPE, sid: super::super::super::Win32::Foundation::PSID, sidbuffersize: u32, sidsize: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ksecdd.sys" "system" fn SecLookupWellKnownSid(sidtype : super::super::super::Win32::Security:: WELL_KNOWN_SID_TYPE, sid : super::super::super::Win32::Foundation:: PSID, sidbuffersize : u32, sidsize : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecLookupWellKnownSid(sidtype, sid, sidbuffersize, ::core::mem::transmute(sidsize.unwrap_or(::std::ptr::null_mut()))).ok() + SecLookupWellKnownSid(sidtype, sid, sidbuffersize, ::core::mem::transmute(sidsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SecMakeSPN(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, length: *mut u32, allocate: P0) -> ::windows_core::Result<()> +pub unsafe fn SecMakeSPN(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, length: *mut u32, allocate: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ksecdd.sys" "system" fn SecMakeSPN(serviceclass : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, servicename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instanceport : u16, referrer : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, spn : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, length : *mut u32, allocate : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecMakeSPN(serviceclass, servicename, instancename, instanceport, referrer, spn, length, allocate.into_param().abi()).ok() + SecMakeSPN(serviceclass, servicename, instancename, instanceport, referrer, spn, length, allocate.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SecMakeSPNEx(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, targetinfo: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, length: *mut u32, allocate: P0) -> ::windows_core::Result<()> +pub unsafe fn SecMakeSPNEx(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, targetinfo: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, length: *mut u32, allocate: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ksecdd.sys" "system" fn SecMakeSPNEx(serviceclass : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, servicename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instanceport : u16, referrer : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, targetinfo : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, spn : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, length : *mut u32, allocate : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecMakeSPNEx(serviceclass, servicename, instancename, instanceport, referrer, targetinfo, spn, length, allocate.into_param().abi()).ok() + SecMakeSPNEx(serviceclass, servicename, instancename, instanceport, referrer, targetinfo, spn, length, allocate.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SecMakeSPNEx2(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, intargetinfo: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, totalsize: *mut u32, allocate: P0, istargetinfomarshaled: P1) -> ::windows_core::Result<()> +pub unsafe fn SecMakeSPNEx2(serviceclass: *mut super::super::super::Win32::Foundation::UNICODE_STRING, servicename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, instanceport: u16, referrer: *mut super::super::super::Win32::Foundation::UNICODE_STRING, intargetinfo: *mut super::super::super::Win32::Foundation::UNICODE_STRING, spn: *mut super::super::super::Win32::Foundation::UNICODE_STRING, totalsize: *mut u32, allocate: P0, istargetinfomarshaled: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ksecdd.sys" "system" fn SecMakeSPNEx2(serviceclass : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, servicename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, instanceport : u16, referrer : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, intargetinfo : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, spn : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, totalsize : *mut u32, allocate : super::super::super::Win32::Foundation:: BOOLEAN, istargetinfomarshaled : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - SecMakeSPNEx2(serviceclass, servicename, instancename, instanceport, referrer, intargetinfo, spn, totalsize, allocate.into_param().abi(), istargetinfomarshaled.into_param().abi()).ok() + SecMakeSPNEx2(serviceclass, servicename, instancename, instanceport, referrer, intargetinfo, spn, totalsize, allocate.into_param().abi(), istargetinfomarshaled.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] #[inline] @@ -4935,9 +4935,9 @@ pub unsafe fn SspiInitializeSecurityContextAsyncW(asynccontext: *mut super::supe #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn SspiReinitAsyncContext(handle: *mut super::super::Foundation::SspiAsyncContext) -> ::windows_core::Result<()> { +pub unsafe fn SspiReinitAsyncContext(handle: *mut super::super::Foundation::SspiAsyncContext) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ksecdd.sys" "system" fn SspiReinitAsyncContext(handle : *mut super::super::Foundation:: SspiAsyncContext) -> super::super::super::Win32::Foundation:: NTSTATUS); - SspiReinitAsyncContext(handle).ok() + SspiReinitAsyncContext(handle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -4956,118 +4956,118 @@ pub unsafe fn VerifySignature(phcontext: *const SecHandle, pmessage: *const SecB #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwAllocateVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, regionsize: *mut usize, allocationtype: u32, protect: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwAllocateVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, regionsize: *mut usize, allocationtype: u32, protect: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwAllocateVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, zerobits : usize, regionsize : *mut usize, allocationtype : u32, protect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwAllocateVirtualMemory(processhandle.into_param().abi(), baseaddress, zerobits, regionsize, allocationtype, protect).ok() + ZwAllocateVirtualMemory(processhandle.into_param().abi(), baseaddress, zerobits, regionsize, allocationtype, protect) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] #[inline] -pub unsafe fn ZwAllocateVirtualMemoryEx(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, allocationtype: u32, pageprotection: u32, extendedparameters: ::core::option::Option<&mut [super::super::super::Win32::System::Memory::MEM_EXTENDED_PARAMETER]>) -> ::windows_core::Result<()> +pub unsafe fn ZwAllocateVirtualMemoryEx(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, allocationtype: u32, pageprotection: u32, extendedparameters: ::core::option::Option<&mut [super::super::super::Win32::System::Memory::MEM_EXTENDED_PARAMETER]>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwAllocateVirtualMemoryEx(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, regionsize : *mut usize, allocationtype : u32, pageprotection : u32, extendedparameters : *mut super::super::super::Win32::System::Memory:: MEM_EXTENDED_PARAMETER, extendedparametercount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwAllocateVirtualMemoryEx(processhandle.into_param().abi(), baseaddress, regionsize, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)).ok() + ZwAllocateVirtualMemoryEx(processhandle.into_param().abi(), baseaddress, regionsize, allocationtype, pageprotection, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ZwCreateEvent(eventhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, eventtype: super::super::super::Win32::System::Kernel::EVENT_TYPE, initialstate: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateEvent(eventhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, eventtype: super::super::super::Win32::System::Kernel::EVENT_TYPE, initialstate: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateEvent(eventhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, eventtype : super::super::super::Win32::System::Kernel:: EVENT_TYPE, initialstate : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateEvent(eventhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), eventtype, initialstate.into_param().abi()).ok() + ZwCreateEvent(eventhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), eventtype, initialstate.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwDeleteFile(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwDeleteFile(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwDeleteFile(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDeleteFile(objectattributes).ok() + ZwDeleteFile(objectattributes) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwDuplicateObject(sourceprocesshandle: P0, sourcehandle: P1, targetprocesshandle: P2, targethandle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>, desiredaccess: u32, handleattributes: u32, options: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwDuplicateObject(sourceprocesshandle: P0, sourcehandle: P1, targetprocesshandle: P2, targethandle: ::core::option::Option<*mut super::super::super::Win32::Foundation::HANDLE>, desiredaccess: u32, handleattributes: u32, options: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwDuplicateObject(sourceprocesshandle : super::super::super::Win32::Foundation:: HANDLE, sourcehandle : super::super::super::Win32::Foundation:: HANDLE, targetprocesshandle : super::super::super::Win32::Foundation:: HANDLE, targethandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, handleattributes : u32, options : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDuplicateObject(sourceprocesshandle.into_param().abi(), sourcehandle.into_param().abi(), targetprocesshandle.into_param().abi(), ::core::mem::transmute(targethandle.unwrap_or(::std::ptr::null_mut())), desiredaccess, handleattributes, options).ok() + ZwDuplicateObject(sourceprocesshandle.into_param().abi(), sourcehandle.into_param().abi(), targetprocesshandle.into_param().abi(), ::core::mem::transmute(targethandle.unwrap_or(::std::ptr::null_mut())), desiredaccess, handleattributes, options) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ZwDuplicateToken(existingtokenhandle: P0, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, effectiveonly: P1, tokentype: super::super::super::Win32::Security::TOKEN_TYPE, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn ZwDuplicateToken(existingtokenhandle: P0, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, effectiveonly: P1, tokentype: super::super::super::Win32::Security::TOKEN_TYPE, newtokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwDuplicateToken(existingtokenhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, effectiveonly : super::super::super::Win32::Foundation:: BOOLEAN, tokentype : super::super::super::Win32::Security:: TOKEN_TYPE, newtokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDuplicateToken(existingtokenhandle.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), effectiveonly.into_param().abi(), tokentype, newtokenhandle).ok() + ZwDuplicateToken(existingtokenhandle.into_param().abi(), desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), effectiveonly.into_param().abi(), tokentype, newtokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwFlushBuffersFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> +pub unsafe fn ZwFlushBuffersFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFlushBuffersFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFlushBuffersFile(filehandle.into_param().abi(), iostatusblock).ok() + ZwFlushBuffersFile(filehandle.into_param().abi(), iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwFlushBuffersFileEx(filehandle: P0, flags: u32, parameters: *const ::core::ffi::c_void, parameterssize: u32, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> +pub unsafe fn ZwFlushBuffersFileEx(filehandle: P0, flags: u32, parameters: *const ::core::ffi::c_void, parameterssize: u32, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFlushBuffersFileEx(filehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, parameters : *const ::core::ffi::c_void, parameterssize : u32, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFlushBuffersFileEx(filehandle.into_param().abi(), flags, parameters, parameterssize, iostatusblock).ok() + ZwFlushBuffersFileEx(filehandle.into_param().abi(), flags, parameters, parameterssize, iostatusblock) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwFlushVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ::windows_core::Result<()> +pub unsafe fn ZwFlushVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFlushVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, regionsize : *mut usize, iostatus : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFlushVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, iostatus).ok() + ZwFlushVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, iostatus) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwFreeVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, freetype: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwFreeVirtualMemory(processhandle: P0, baseaddress: *mut *mut ::core::ffi::c_void, regionsize: *mut usize, freetype: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFreeVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, regionsize : *mut usize, freetype : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFreeVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, freetype).ok() + ZwFreeVirtualMemory(processhandle.into_param().abi(), baseaddress, regionsize, freetype) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwFsControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwFsControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fscontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFsControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fscontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFsControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + ZwFsControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fscontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwLockFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32, failimmediately: P2, exclusivelock: P3) -> ::windows_core::Result<()> +pub unsafe fn ZwLockFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32, failimmediately: P2, exclusivelock: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5075,12 +5075,12 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwLockFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, byteoffset : *const i64, length : *const i64, key : u32, failimmediately : super::super::super::Win32::Foundation:: BOOLEAN, exclusivelock : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwLockFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, byteoffset, length, key, failimmediately.into_param().abi(), exclusivelock.into_param().abi()).ok() + ZwLockFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, byteoffset, length, key, failimmediately.into_param().abi(), exclusivelock.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwNotifyChangeKey(keyhandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, completionfilter: u32, watchtree: P2, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, asynchronous: P3) -> ::windows_core::Result<()> +pub unsafe fn ZwNotifyChangeKey(keyhandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, completionfilter: u32, watchtree: P2, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, asynchronous: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5088,40 +5088,40 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwNotifyChangeKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, completionfilter : u32, watchtree : super::super::super::Win32::Foundation:: BOOLEAN, buffer : *mut ::core::ffi::c_void, buffersize : u32, asynchronous : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwNotifyChangeKey(keyhandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, completionfilter, watchtree.into_param().abi(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, asynchronous.into_param().abi()).ok() + ZwNotifyChangeKey(keyhandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, completionfilter, watchtree.into_param().abi(), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), buffersize, asynchronous.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenDirectoryObject(directoryhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenDirectoryObject(directoryhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenDirectoryObject(directoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenDirectoryObject(directoryhandle, desiredaccess, objectattributes).ok() + ZwOpenDirectoryObject(directoryhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwOpenProcessTokenEx(processhandle: P0, desiredaccess: u32, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenProcessTokenEx(processhandle: P0, desiredaccess: u32, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenProcessTokenEx(processhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, handleattributes : u32, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenProcessTokenEx(processhandle.into_param().abi(), desiredaccess, handleattributes, tokenhandle).ok() + ZwOpenProcessTokenEx(processhandle.into_param().abi(), desiredaccess, handleattributes, tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwOpenThreadTokenEx(threadhandle: P0, desiredaccess: u32, openasself: P1, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenThreadTokenEx(threadhandle: P0, desiredaccess: u32, openasself: P1, handleattributes: u32, tokenhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenThreadTokenEx(threadhandle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, openasself : super::super::super::Win32::Foundation:: BOOLEAN, handleattributes : u32, tokenhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenThreadTokenEx(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), handleattributes, tokenhandle).ok() + ZwOpenThreadTokenEx(threadhandle.into_param().abi(), desiredaccess, openasself.into_param().abi(), handleattributes, tokenhandle) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwQueryDirectoryFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P2, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P3) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryDirectoryFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, returnsingleentry: P2, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, restartscan: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5129,62 +5129,62 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryDirectoryFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, restartscan : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryDirectoryFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()).ok() + ZwQueryDirectoryFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, returnsingleentry.into_param().abi(), ::core::mem::transmute(filename.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwQueryDirectoryFileEx(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryDirectoryFileEx(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, queryflags: u32, filename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryDirectoryFileEx(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, queryflags : u32, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryDirectoryFileEx(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null()))).ok() + ZwQueryDirectoryFileEx(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, fileinformation, length, fileinformationclass, queryflags, ::core::mem::transmute(filename.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwQueryEaFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P2) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryEaFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, ealist: ::core::option::Option<*const ::core::ffi::c_void>, ealistlength: u32, eaindex: ::core::option::Option<*const u32>, restartscan: P2) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryEaFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, ealist : *const ::core::ffi::c_void, ealistlength : u32, eaindex : *const u32, restartscan : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryEaFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()).ok() + ZwQueryEaFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(ealist.unwrap_or(::std::ptr::null())), ealistlength, ::core::mem::transmute(eaindex.unwrap_or(::std::ptr::null())), restartscan.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwQueryFullAttributesFile(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, fileinformation: *mut FILE_NETWORK_OPEN_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn ZwQueryFullAttributesFile(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, fileinformation: *mut FILE_NETWORK_OPEN_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryFullAttributesFile(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, fileinformation : *mut FILE_NETWORK_OPEN_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryFullAttributesFile(objectattributes, fileinformation).ok() + ZwQueryFullAttributesFile(objectattributes, fileinformation) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ZwQueryInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: ::core::option::Option<*mut ::core::ffi::c_void>, tokeninformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: ::core::option::Option<*mut ::core::ffi::c_void>, tokeninformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, tokeninformationclass : super::super::super::Win32::Security:: TOKEN_INFORMATION_CLASS, tokeninformation : *mut ::core::ffi::c_void, tokeninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, ::core::mem::transmute(tokeninformation.unwrap_or(::std::ptr::null_mut())), tokeninformationlength, returnlength).ok() + ZwQueryInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, ::core::mem::transmute(tokeninformation.unwrap_or(::std::ptr::null_mut())), tokeninformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwQueryObject(handle: P0, objectinformationclass: super::super::Foundation::OBJECT_INFORMATION_CLASS, objectinformation: ::core::option::Option<*mut ::core::ffi::c_void>, objectinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryObject(handle: P0, objectinformationclass: super::super::Foundation::OBJECT_INFORMATION_CLASS, objectinformation: ::core::option::Option<*mut ::core::ffi::c_void>, objectinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryObject(handle : super::super::super::Win32::Foundation:: HANDLE, objectinformationclass : super::super::Foundation:: OBJECT_INFORMATION_CLASS, objectinformation : *mut ::core::ffi::c_void, objectinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryObject(handle.into_param().abi(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryObject(handle.into_param().abi(), objectinformationclass, ::core::mem::transmute(objectinformation.unwrap_or(::std::ptr::null_mut())), objectinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwQueryQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: P2, restartscan: P3) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, returnsingleentry: P1, sidlist: ::core::option::Option<*const ::core::ffi::c_void>, sidlistlength: u32, startsid: P2, restartscan: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5192,129 +5192,129 @@ where P3: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryQuotaInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, returnsingleentry : super::super::super::Win32::Foundation:: BOOLEAN, sidlist : *const ::core::ffi::c_void, sidlistlength : u32, startsid : super::super::super::Win32::Foundation:: PSID, restartscan : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, startsid.into_param().abi(), restartscan.into_param().abi()).ok() + ZwQueryQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length, returnsingleentry.into_param().abi(), ::core::mem::transmute(sidlist.unwrap_or(::std::ptr::null())), sidlistlength, startsid.into_param().abi(), restartscan.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ZwQuerySecurityObject(handle: P0, securityinformation: u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwQuerySecurityObject(handle: P0, securityinformation: u32, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, length: u32, lengthneeded: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQuerySecurityObject(handle : super::super::super::Win32::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, length : u32, lengthneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQuerySecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor, length, lengthneeded).ok() + ZwQuerySecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor, length, lengthneeded) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwQueryVirtualMemory(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>, memoryinformationclass: MEMORY_INFORMATION_CLASS, memoryinformation: *mut ::core::ffi::c_void, memoryinformationlength: usize, returnlength: ::core::option::Option<*mut usize>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryVirtualMemory(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>, memoryinformationclass: MEMORY_INFORMATION_CLASS, memoryinformation: *mut ::core::ffi::c_void, memoryinformationlength: usize, returnlength: ::core::option::Option<*mut usize>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, memoryinformationclass : MEMORY_INFORMATION_CLASS, memoryinformation : *mut ::core::ffi::c_void, memoryinformationlength : usize, returnlength : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryVirtualMemory(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), memoryinformationclass, memoryinformation, memoryinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryVirtualMemory(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null())), memoryinformationclass, memoryinformation, memoryinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwQueryVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *mut ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryVolumeInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *mut ::core::ffi::c_void, length : u32, fsinformationclass : FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass).ok() + ZwQueryVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwSetEaFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetEaFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetEaFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetEaFile(filehandle.into_param().abi(), iostatusblock, buffer, length).ok() + ZwSetEaFile(filehandle.into_param().abi(), iostatusblock, buffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetEvent(eventhandle: P0, previousstate: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> +pub unsafe fn ZwSetEvent(eventhandle: P0, previousstate: ::core::option::Option<*mut i32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetEvent(eventhandle : super::super::super::Win32::Foundation:: HANDLE, previousstate : *mut i32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetEvent(eventhandle.into_param().abi(), ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut()))).ok() + ZwSetEvent(eventhandle.into_param().abi(), ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ZwSetInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationToken(tokenhandle: P0, tokeninformationclass: super::super::super::Win32::Security::TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationToken(tokenhandle : super::super::super::Win32::Foundation:: HANDLE, tokeninformationclass : super::super::super::Win32::Security:: TOKEN_INFORMATION_CLASS, tokeninformation : *const ::core::ffi::c_void, tokeninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, tokeninformation, tokeninformationlength).ok() + ZwSetInformationToken(tokenhandle.into_param().abi(), tokeninformationclass, tokeninformation, tokeninformationlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetInformationVirtualMemory(processhandle: P0, vminformationclass: VIRTUAL_MEMORY_INFORMATION_CLASS, virtualaddresses: &[MEMORY_RANGE_ENTRY], vminformation: *const ::core::ffi::c_void, vminformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationVirtualMemory(processhandle: P0, vminformationclass: VIRTUAL_MEMORY_INFORMATION_CLASS, virtualaddresses: &[MEMORY_RANGE_ENTRY], vminformation: *const ::core::ffi::c_void, vminformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationVirtualMemory(processhandle : super::super::super::Win32::Foundation:: HANDLE, vminformationclass : VIRTUAL_MEMORY_INFORMATION_CLASS, numberofentries : usize, virtualaddresses : *const MEMORY_RANGE_ENTRY, vminformation : *const ::core::ffi::c_void, vminformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationVirtualMemory(processhandle.into_param().abi(), vminformationclass, virtualaddresses.len() as _, ::core::mem::transmute(virtualaddresses.as_ptr()), vminformation, vminformationlength).ok() + ZwSetInformationVirtualMemory(processhandle.into_param().abi(), vminformationclass, virtualaddresses.len() as _, ::core::mem::transmute(virtualaddresses.as_ptr()), vminformation, vminformationlength) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwSetQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetQuotaInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetQuotaInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length).ok() + ZwSetQuotaInformationFile(filehandle.into_param().abi(), iostatusblock, buffer, length) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ZwSetSecurityObject(handle: P0, securityinformation: u32, securitydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn ZwSetSecurityObject(handle: P0, securityinformation: u32, securitydescriptor: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetSecurityObject(handle : super::super::super::Win32::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetSecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor.into_param().abi()).ok() + ZwSetSecurityObject(handle.into_param().abi(), securityinformation, securitydescriptor.into_param().abi()) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwSetVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *const ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn ZwSetVolumeInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fsinformation: *const ::core::ffi::c_void, length: u32, fsinformationclass: FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetVolumeInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fsinformation : *const ::core::ffi::c_void, length : u32, fsinformationclass : FS_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass).ok() + ZwSetVolumeInformationFile(filehandle.into_param().abi(), iostatusblock, fsinformation, length, fsinformationclass) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwUnlockFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwUnlockFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, byteoffset: *const i64, length: *const i64, key: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwUnlockFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, byteoffset : *const i64, length : *const i64, key : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwUnlockFile(filehandle.into_param().abi(), iostatusblock, byteoffset, length, key).ok() + ZwUnlockFile(filehandle.into_param().abi(), iostatusblock, byteoffset, length, key) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwWaitForSingleObject(handle: P0, alertable: P1, timeout: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwWaitForSingleObject(handle: P0, alertable: P1, timeout: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwWaitForSingleObject(handle : super::super::super::Win32::Foundation:: HANDLE, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwWaitForSingleObject(handle.into_param().abi(), alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))).ok() + ZwWaitForSingleObject(handle.into_param().abi(), alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_Storage_FileSystem\"`*"] pub const ATOMIC_CREATE_ECP_IN_FLAG_BEST_EFFORT: u32 = 256u32; diff --git a/crates/libs/windows/src/Windows/Wdk/System/IO/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/IO/mod.rs index 5eceeeff6c..2e0a064c34 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/IO/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/IO/mod.rs @@ -1,11 +1,11 @@ #[doc = "*Required features: `\"Wdk_System_IO\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtDeviceIoControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtDeviceIoControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + NtDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } diff --git a/crates/libs/windows/src/Windows/Wdk/System/Registry/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/Registry/mod.rs index 1d16a4dac3..f223c100d8 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/Registry/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/Registry/mod.rs @@ -1,7 +1,7 @@ #[doc = "*Required features: `\"Wdk_System_Registry\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn NtNotifyChangeMultipleKeys(masterkeyhandle: P0, subordinateobjects: ::core::option::Option<&[super::super::Foundation::OBJECT_ATTRIBUTES]>, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, completionfilter: u32, watchtree: P2, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, asynchronous: P3) -> ::windows_core::Result<()> +pub unsafe fn NtNotifyChangeMultipleKeys(masterkeyhandle: P0, subordinateobjects: ::core::option::Option<&[super::super::Foundation::OBJECT_ATTRIBUTES]>, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, completionfilter: u32, watchtree: P2, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, buffersize: u32, asynchronous: P3) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -23,47 +23,46 @@ where buffersize, asynchronous.into_param().abi(), ) - .ok() } #[doc = "*Required features: `\"Wdk_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryMultipleValueKey(keyhandle: P0, valueentries: &mut [KEY_VALUE_ENTRY], valuebuffer: *mut ::core::ffi::c_void, bufferlength: *mut u32, requiredbufferlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryMultipleValueKey(keyhandle: P0, valueentries: &mut [KEY_VALUE_ENTRY], valuebuffer: *mut ::core::ffi::c_void, bufferlength: *mut u32, requiredbufferlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryMultipleValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valueentries : *mut KEY_VALUE_ENTRY, entrycount : u32, valuebuffer : *mut ::core::ffi::c_void, bufferlength : *mut u32, requiredbufferlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryMultipleValueKey(keyhandle.into_param().abi(), ::core::mem::transmute(valueentries.as_ptr()), valueentries.len() as _, valuebuffer, bufferlength, ::core::mem::transmute(requiredbufferlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtQueryMultipleValueKey(keyhandle.into_param().abi(), ::core::mem::transmute(valueentries.as_ptr()), valueentries.len() as _, valuebuffer, bufferlength, ::core::mem::transmute(requiredbufferlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRenameKey(keyhandle: P0, newname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn NtRenameKey(keyhandle: P0, newname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRenameKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, newname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRenameKey(keyhandle.into_param().abi(), newname).ok() + NtRenameKey(keyhandle.into_param().abi(), newname) } #[doc = "*Required features: `\"Wdk_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtSetInformationKey(keyhandle: P0, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationKey(keyhandle: P0, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationKey(keyhandle.into_param().abi(), keysetinformationclass, keysetinformation, keysetinformationlength).ok() + NtSetInformationKey(keyhandle.into_param().abi(), keysetinformationclass, keysetinformation, keysetinformationlength) } #[doc = "*Required features: `\"Wdk_System_Registry\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetInformationKey(keyhandle: P0, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationKey(keyhandle: P0, keysetinformationclass: KEY_SET_INFORMATION_CLASS, keysetinformation: *const ::core::ffi::c_void, keysetinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationKey(keyhandle.into_param().abi(), keysetinformationclass, keysetinformation, keysetinformationlength).ok() + ZwSetInformationKey(keyhandle.into_param().abi(), keysetinformationclass, keysetinformation, keysetinformationlength) } #[doc = "*Required features: `\"Wdk_System_Registry\"`*"] pub const KeyControlFlagsInformation: KEY_SET_INFORMATION_CLASS = KEY_SET_INFORMATION_CLASS(2i32); diff --git a/crates/libs/windows/src/Windows/Wdk/System/SystemInformation/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/SystemInformation/mod.rs index 3be149c6c5..39cba87275 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemInformation/mod.rs @@ -1,23 +1,23 @@ #[doc = "*Required features: `\"Wdk_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn NtQuerySystemInformation(systeminformationclass: SYSTEM_INFORMATION_CLASS, systeminformation: *mut ::core::ffi::c_void, systeminformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtQuerySystemInformation(systeminformationclass : SYSTEM_INFORMATION_CLASS, systeminformation : *mut ::core::ffi::c_void, systeminformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQuerySystemInformation(systeminformationclass, systeminformation, systeminformationlength, returnlength).ok() + NtQuerySystemInformation(systeminformationclass, systeminformation, systeminformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQuerySystemTime(systemtime: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn NtQuerySystemTime(systemtime: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtQuerySystemTime(systemtime : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQuerySystemTime(systemtime).ok() + NtQuerySystemTime(systemtime) } #[doc = "*Required features: `\"Wdk_System_SystemInformation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn NtQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryTimerResolution(maximumtime : *mut u32, minimumtime : *mut u32, currenttime : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryTimerResolution(maximumtime, minimumtime, currenttime).ok() + NtQueryTimerResolution(maximumtime, minimumtime, currenttime) } #[doc = "*Required features: `\"Wdk_System_SystemInformation\"`*"] pub const SystemBasicInformation: SYSTEM_INFORMATION_CLASS = SYSTEM_INFORMATION_CLASS(0i32); diff --git a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs index c28fbc8094..65b00d56a0 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs @@ -1,103 +1,103 @@ #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsAddLogContainer(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: *const u64, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn ClfsAddLogContainer(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: *const u64, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsAddLogContainer(plfolog : *const super::super::Foundation:: FILE_OBJECT, pcbcontainer : *const u64, puszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsAddLogContainer(plfolog, pcbcontainer, puszcontainerpath).ok() + ClfsAddLogContainer(plfolog, pcbcontainer, puszcontainerpath) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsAddLogContainerSet(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: ::core::option::Option<*const u64>, rguszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING]) -> ::windows_core::Result<()> { +pub unsafe fn ClfsAddLogContainerSet(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: ::core::option::Option<*const u64>, rguszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsAddLogContainerSet(plfolog : *const super::super::Foundation:: FILE_OBJECT, ccontainers : u16, pcbcontainer : *const u64, rguszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsAddLogContainerSet(plfolog, rguszcontainerpath.len() as _, ::core::mem::transmute(pcbcontainer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rguszcontainerpath.as_ptr())).ok() + ClfsAddLogContainerSet(plfolog, rguszcontainerpath.len() as _, ::core::mem::transmute(pcbcontainer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rguszcontainerpath.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsAdvanceLogBase(pvmarshalcontext: *mut ::core::ffi::c_void, plsnbase: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, fflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsAdvanceLogBase(pvmarshalcontext: *mut ::core::ffi::c_void, plsnbase: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, fflags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsAdvanceLogBase(pvmarshalcontext : *mut ::core::ffi::c_void, plsnbase : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, fflags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsAdvanceLogBase(pvmarshalcontext, plsnbase, fflags).ok() + ClfsAdvanceLogBase(pvmarshalcontext, plsnbase, fflags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsAlignReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, rgcbreservation: &[i64], pcbalignreservation: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn ClfsAlignReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, rgcbreservation: &[i64], pcbalignreservation: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsAlignReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, rgcbreservation : *const i64, pcbalignreservation : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsAlignReservedLog(pvmarshalcontext, rgcbreservation.len() as _, ::core::mem::transmute(rgcbreservation.as_ptr()), pcbalignreservation).ok() + ClfsAlignReservedLog(pvmarshalcontext, rgcbreservation.len() as _, ::core::mem::transmute(rgcbreservation.as_ptr()), pcbalignreservation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsAllocReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> ::windows_core::Result<()> { +pub unsafe fn ClfsAllocReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsAllocReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, pcbadjustment : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsAllocReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())).ok() + ClfsAllocReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCloseAndResetLogFile(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn ClfsCloseAndResetLogFile(plfolog: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsCloseAndResetLogFile(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCloseAndResetLogFile(plfolog).ok() + ClfsCloseAndResetLogFile(plfolog) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCloseLogFileObject(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn ClfsCloseLogFileObject(plfolog: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsCloseLogFileObject(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCloseLogFileObject(plfolog).ok() + ClfsCloseLogFileObject(plfolog) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCreateLogFile(pplfolog: *mut *mut super::super::Foundation::FILE_OBJECT, puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, fdesiredaccess: u32, dwsharemode: u32, psdlogfile: P0, fcreatedisposition: u32, fcreateoptions: u32, fflagsandattributes: u32, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> ::windows_core::Result<()> +pub unsafe fn ClfsCreateLogFile(pplfolog: *mut *mut super::super::Foundation::FILE_OBJECT, puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, fdesiredaccess: u32, dwsharemode: u32, psdlogfile: P0, fcreatedisposition: u32, fcreateoptions: u32, fflagsandattributes: u32, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("clfs.sys" "system" fn ClfsCreateLogFile(pplfolog : *mut *mut super::super::Foundation:: FILE_OBJECT, puszlogfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fdesiredaccess : u32, dwsharemode : u32, psdlogfile : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, fcreatedisposition : u32, fcreateoptions : u32, fflagsandattributes : u32, flogoptionflag : u32, pvcontext : *const ::core::ffi::c_void, cbcontext : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCreateLogFile(pplfolog, puszlogfilename, fdesiredaccess, dwsharemode, psdlogfile.into_param().abi(), fcreatedisposition, fcreateoptions, fflagsandattributes, flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext).ok() + ClfsCreateLogFile(pplfolog, puszlogfilename, fdesiredaccess, dwsharemode, psdlogfile.into_param().abi(), fcreatedisposition, fcreateoptions, fflagsandattributes, flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCreateMarshallingArea(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsCreateMarshallingArea(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsCreateMarshallingArea(plfolog : *const super::super::Foundation:: FILE_OBJECT, epooltype : super::super::Foundation:: POOL_TYPE, pfnallocbuffer : PALLOCATE_FUNCTION, pfnfreebuffer : super::super::Foundation:: PFREE_FUNCTION, cbmarshallingbuffer : u32, cmaxwritebuffers : u32, cmaxreadbuffers : u32, ppvmarshalcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCreateMarshallingArea(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, ppvmarshalcontext).ok() + ClfsCreateMarshallingArea(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, ppvmarshalcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCreateMarshallingAreaEx(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, calignmentsize: u32, fflags: u64, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsCreateMarshallingAreaEx(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, calignmentsize: u32, fflags: u64, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsCreateMarshallingAreaEx(plfolog : *const super::super::Foundation:: FILE_OBJECT, epooltype : super::super::Foundation:: POOL_TYPE, pfnallocbuffer : PALLOCATE_FUNCTION, pfnfreebuffer : super::super::Foundation:: PFREE_FUNCTION, cbmarshallingbuffer : u32, cmaxwritebuffers : u32, cmaxreadbuffers : u32, calignmentsize : u32, fflags : u64, ppvmarshalcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCreateMarshallingAreaEx(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, calignmentsize, fflags, ppvmarshalcontext).ok() + ClfsCreateMarshallingAreaEx(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, calignmentsize, fflags, ppvmarshalcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsCreateScanContext(plfolog: *const super::super::Foundation::FILE_OBJECT, cfromcontainer: u32, ccontainers: u32, escanmode: u8, pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn ClfsCreateScanContext(plfolog: *const super::super::Foundation::FILE_OBJECT, cfromcontainer: u32, ccontainers: u32, escanmode: u8, pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsCreateScanContext(plfolog : *const super::super::Foundation:: FILE_OBJECT, cfromcontainer : u32, ccontainers : u32, escanmode : u8, pcxscan : *mut super::super::super::Win32::Storage::FileSystem:: CLS_SCAN_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsCreateScanContext(plfolog, cfromcontainer, ccontainers, escanmode, pcxscan).ok() + ClfsCreateScanContext(plfolog, cfromcontainer, ccontainers, escanmode, pcxscan) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsDeleteLogByPointer(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn ClfsDeleteLogByPointer(plfolog: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteLogByPointer(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsDeleteLogByPointer(plfolog).ok() + ClfsDeleteLogByPointer(plfolog) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsDeleteLogFile(puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsDeleteLogFile(puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteLogFile(puszlogfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, pvreserved : *const ::core::ffi::c_void, flogoptionflag : u32, pvcontext : *const ::core::ffi::c_void, cbcontext : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsDeleteLogFile(puszlogfilename, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext).ok() + ClfsDeleteLogFile(puszlogfilename, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsDeleteMarshallingArea(pvmarshalcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsDeleteMarshallingArea(pvmarshalcontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteMarshallingArea(pvmarshalcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsDeleteMarshallingArea(pvmarshalcontext).ok() + ClfsDeleteMarshallingArea(pvmarshalcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(feature = "Win32_Storage_FileSystem")] @@ -115,51 +115,51 @@ pub unsafe fn ClfsFinalize() { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsFlushBuffers(pvmarshalcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsFlushBuffers(pvmarshalcontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsFlushBuffers(pvmarshalcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsFlushBuffers(pvmarshalcontext).ok() + ClfsFlushBuffers(pvmarshalcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsFlushToLsn(pvmarshalcontext: *const ::core::ffi::c_void, plsnflush: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnlastflushed: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsFlushToLsn(pvmarshalcontext: *const ::core::ffi::c_void, plsnflush: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnlastflushed: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsFlushToLsn(pvmarshalcontext : *const ::core::ffi::c_void, plsnflush : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnlastflushed : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsFlushToLsn(pvmarshalcontext, plsnflush, ::core::mem::transmute(plsnlastflushed.unwrap_or(::std::ptr::null_mut()))).ok() + ClfsFlushToLsn(pvmarshalcontext, plsnflush, ::core::mem::transmute(plsnlastflushed.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsFreeReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> ::windows_core::Result<()> { +pub unsafe fn ClfsFreeReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsFreeReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, pcbadjustment : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsFreeReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())).ok() + ClfsFreeReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsGetContainerName(plfolog: *const super::super::Foundation::FILE_OBJECT, cidlogicalcontainer: u32, puszcontainername: *mut super::super::super::Win32::Foundation::UNICODE_STRING, pcactuallencontainername: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsGetContainerName(plfolog: *const super::super::Foundation::FILE_OBJECT, cidlogicalcontainer: u32, puszcontainername: *mut super::super::super::Win32::Foundation::UNICODE_STRING, pcactuallencontainername: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsGetContainerName(plfolog : *const super::super::Foundation:: FILE_OBJECT, cidlogicalcontainer : u32, puszcontainername : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, pcactuallencontainername : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsGetContainerName(plfolog, cidlogicalcontainer, puszcontainername, ::core::mem::transmute(pcactuallencontainername.unwrap_or(::std::ptr::null_mut()))).ok() + ClfsGetContainerName(plfolog, cidlogicalcontainer, puszcontainername, ::core::mem::transmute(pcactuallencontainername.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsGetIoStatistics(plfolog: *const super::super::Foundation::FILE_OBJECT, pvstatsbuffer: *mut ::core::ffi::c_void, cbstatsbuffer: u32, estatsclass: super::super::super::Win32::Storage::FileSystem::CLFS_IOSTATS_CLASS, pcbstatswritten: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsGetIoStatistics(plfolog: *const super::super::Foundation::FILE_OBJECT, pvstatsbuffer: *mut ::core::ffi::c_void, cbstatsbuffer: u32, estatsclass: super::super::super::Win32::Storage::FileSystem::CLFS_IOSTATS_CLASS, pcbstatswritten: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsGetIoStatistics(plfolog : *const super::super::Foundation:: FILE_OBJECT, pvstatsbuffer : *mut ::core::ffi::c_void, cbstatsbuffer : u32, estatsclass : super::super::super::Win32::Storage::FileSystem:: CLFS_IOSTATS_CLASS, pcbstatswritten : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsGetIoStatistics(plfolog, pvstatsbuffer, cbstatsbuffer, estatsclass, ::core::mem::transmute(pcbstatswritten.unwrap_or(::std::ptr::null_mut()))).ok() + ClfsGetIoStatistics(plfolog, pvstatsbuffer, cbstatsbuffer, estatsclass, ::core::mem::transmute(pcbstatswritten.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsGetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, pinfobuffer: *mut super::super::super::Win32::Storage::FileSystem::CLS_INFORMATION, pcbinfobuffer: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsGetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, pinfobuffer: *mut super::super::super::Win32::Storage::FileSystem::CLS_INFORMATION, pcbinfobuffer: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsGetLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, pinfobuffer : *mut super::super::super::Win32::Storage::FileSystem:: CLS_INFORMATION, pcbinfobuffer : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsGetLogFileInformation(plfolog, pinfobuffer, pcbinfobuffer).ok() + ClfsGetLogFileInformation(plfolog, pinfobuffer, pcbinfobuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsInitialize() -> ::windows_core::Result<()> { +pub unsafe fn ClfsInitialize() -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsInitialize() -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsInitialize().ok() + ClfsInitialize() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(feature = "Win32_Storage_FileSystem")] @@ -192,9 +192,9 @@ pub unsafe fn ClfsLsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> s #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsLsnDifference(plsnstart: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnfinish: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, cbcontainer: u32, cbmaxblock: u32, pcbdifference: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn ClfsLsnDifference(plsnstart: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnfinish: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, cbcontainer: u32, cbmaxblock: u32, pcbdifference: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsLsnDifference(plsnstart : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnfinish : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, cbcontainer : u32, cbmaxblock : u32, pcbdifference : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsLsnDifference(plsnstart, plsnfinish, cbcontainer, cbmaxblock, pcbdifference).ok() + ClfsLsnDifference(plsnstart, plsnfinish, cbcontainer, cbmaxblock, pcbdifference) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] @@ -241,128 +241,128 @@ pub unsafe fn ClfsLsnRecordSequence(plsn: *const super::super::super::Win32::Sto #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsMgmtDeregisterManagedClient(clientcookie: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtDeregisterManagedClient(clientcookie: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtDeregisterManagedClient(clientcookie : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtDeregisterManagedClient(clientcookie).ok() + ClfsMgmtDeregisterManagedClient(clientcookie) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsMgmtHandleLogFileFull(client: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtHandleLogFileFull(client: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtHandleLogFileFull(client : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtHandleLogFileFull(client).ok() + ClfsMgmtHandleLogFileFull(client) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtInstallPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policy: *const super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtInstallPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policy: *const super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtInstallPolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policy : *const super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY, policylength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtInstallPolicy(logfile, policy, policylength).ok() + ClfsMgmtInstallPolicy(logfile, policy, policylength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtQueryPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE, policy: *mut super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtQueryPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE, policy: *mut super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtQueryPolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policytype : super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY_TYPE, policy : *mut super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY, policylength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtQueryPolicy(logfile, policytype, policy, policylength).ok() + ClfsMgmtQueryPolicy(logfile, policytype, policy, policylength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtRegisterManagedClient(logfile: *const super::super::Foundation::FILE_OBJECT, registrationdata: *const CLFS_MGMT_CLIENT_REGISTRATION, clientcookie: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtRegisterManagedClient(logfile: *const super::super::Foundation::FILE_OBJECT, registrationdata: *const CLFS_MGMT_CLIENT_REGISTRATION, clientcookie: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtRegisterManagedClient(logfile : *const super::super::Foundation:: FILE_OBJECT, registrationdata : *const CLFS_MGMT_CLIENT_REGISTRATION, clientcookie : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtRegisterManagedClient(logfile, registrationdata, clientcookie).ok() + ClfsMgmtRegisterManagedClient(logfile, registrationdata, clientcookie) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtRemovePolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtRemovePolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtRemovePolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policytype : super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtRemovePolicy(logfile, policytype).ok() + ClfsMgmtRemovePolicy(logfile, policytype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtSetLogFileSize(logfile: *const super::super::Foundation::FILE_OBJECT, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtSetLogFileSize(logfile: *const super::super::Foundation::FILE_OBJECT, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtSetLogFileSize(logfile : *const super::super::Foundation:: FILE_OBJECT, newsizeincontainers : *const u64, resultingsizeincontainers : *mut u64, completionroutine : PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtSetLogFileSize(logfile, newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))).ok() + ClfsMgmtSetLogFileSize(logfile, newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsMgmtSetLogFileSizeAsClient(logfile: *const super::super::Foundation::FILE_OBJECT, clientcookie: ::core::option::Option<*const *const ::core::ffi::c_void>, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsMgmtSetLogFileSizeAsClient(logfile: *const super::super::Foundation::FILE_OBJECT, clientcookie: ::core::option::Option<*const *const ::core::ffi::c_void>, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtSetLogFileSizeAsClient(logfile : *const super::super::Foundation:: FILE_OBJECT, clientcookie : *const *const ::core::ffi::c_void, newsizeincontainers : *const u64, resultingsizeincontainers : *mut u64, completionroutine : PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtSetLogFileSizeAsClient(logfile, ::core::mem::transmute(clientcookie.unwrap_or(::std::ptr::null())), newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))).ok() + ClfsMgmtSetLogFileSizeAsClient(logfile, ::core::mem::transmute(clientcookie.unwrap_or(::std::ptr::null())), newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsMgmtTailAdvanceFailure(client: *const ::core::ffi::c_void, reason: P0) -> ::windows_core::Result<()> +pub unsafe fn ClfsMgmtTailAdvanceFailure(client: *const ::core::ffi::c_void, reason: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtTailAdvanceFailure(client : *const ::core::ffi::c_void, reason : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsMgmtTailAdvanceFailure(client, reason.into_param().abi()).ok() + ClfsMgmtTailAdvanceFailure(client, reason.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsQueryLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfoinputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinfoinputbuffer: u32, pinfobuffer: *mut ::core::ffi::c_void, pcbinfobuffer: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsQueryLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfoinputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinfoinputbuffer: u32, pinfobuffer: *mut ::core::ffi::c_void, pcbinfobuffer: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsQueryLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, einformationclass : super::super::super::Win32::Storage::FileSystem:: CLS_LOG_INFORMATION_CLASS, pinfoinputbuffer : *const ::core::ffi::c_void, cbinfoinputbuffer : u32, pinfobuffer : *mut ::core::ffi::c_void, pcbinfobuffer : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsQueryLogFileInformation(plfolog, einformationclass, ::core::mem::transmute(pinfoinputbuffer.unwrap_or(::std::ptr::null())), cbinfoinputbuffer, pinfobuffer, pcbinfobuffer).ok() + ClfsQueryLogFileInformation(plfolog, einformationclass, ::core::mem::transmute(pinfoinputbuffer.unwrap_or(::std::ptr::null())), cbinfoinputbuffer, pinfobuffer, pcbinfobuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReadLogRecord(pvmarshalcontext: *const ::core::ffi::c_void, plsnfirst: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, pecontextmode: super::super::super::Win32::Storage::FileSystem::CLFS_CONTEXT_MODE, ppvreadbuffer: *mut *mut ::core::ffi::c_void, pcbreadbuffer: *mut u32, perecordtype: *mut u8, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReadLogRecord(pvmarshalcontext: *const ::core::ffi::c_void, plsnfirst: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, pecontextmode: super::super::super::Win32::Storage::FileSystem::CLFS_CONTEXT_MODE, ppvreadbuffer: *mut *mut ::core::ffi::c_void, pcbreadbuffer: *mut u32, perecordtype: *mut u8, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReadLogRecord(pvmarshalcontext : *const ::core::ffi::c_void, plsnfirst : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, pecontextmode : super::super::super::Win32::Storage::FileSystem:: CLFS_CONTEXT_MODE, ppvreadbuffer : *mut *mut ::core::ffi::c_void, pcbreadbuffer : *mut u32, perecordtype : *mut u8, plsnundonext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, ppvreadcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsReadLogRecord(pvmarshalcontext, plsnfirst, pecontextmode, ppvreadbuffer, pcbreadbuffer, perecordtype, plsnundonext, plsnprevious, ppvreadcontext).ok() + ClfsReadLogRecord(pvmarshalcontext, plsnfirst, pecontextmode, ppvreadbuffer, pcbreadbuffer, perecordtype, plsnundonext, plsnprevious, ppvreadcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReadNextLogRecord(pvreadcontext: *mut ::core::ffi::c_void, ppvbuffer: *mut *mut ::core::ffi::c_void, pcbbuffer: *mut u32, perecordtype: *mut u8, plsnuser: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnrecord: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReadNextLogRecord(pvreadcontext: *mut ::core::ffi::c_void, ppvbuffer: *mut *mut ::core::ffi::c_void, pcbbuffer: *mut u32, perecordtype: *mut u8, plsnuser: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnrecord: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReadNextLogRecord(pvreadcontext : *mut ::core::ffi::c_void, ppvbuffer : *mut *mut ::core::ffi::c_void, pcbbuffer : *mut u32, perecordtype : *mut u8, plsnuser : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnundonext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnrecord : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsReadNextLogRecord(pvreadcontext, ppvbuffer, pcbbuffer, perecordtype, ::core::mem::transmute(plsnuser.unwrap_or(::std::ptr::null())), plsnundonext, plsnprevious, plsnrecord).ok() + ClfsReadNextLogRecord(pvreadcontext, ppvbuffer, pcbbuffer, perecordtype, ::core::mem::transmute(plsnuser.unwrap_or(::std::ptr::null())), plsnundonext, plsnprevious, plsnrecord) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReadPreviousRestartArea(pvreadcontext: *const ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsnrestart: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReadPreviousRestartArea(pvreadcontext: *const ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsnrestart: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReadPreviousRestartArea(pvreadcontext : *const ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsnrestart : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsReadPreviousRestartArea(pvreadcontext, ppvrestartbuffer, pcbrestartbuffer, plsnrestart).ok() + ClfsReadPreviousRestartArea(pvreadcontext, ppvrestartbuffer, pcbrestartbuffer, plsnrestart) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReadRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsn: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReadRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsn: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReadRestartArea(pvmarshalcontext : *mut ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, ppvreadcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsReadRestartArea(pvmarshalcontext, ppvrestartbuffer, pcbrestartbuffer, plsn, ppvreadcontext).ok() + ClfsReadRestartArea(pvmarshalcontext, ppvrestartbuffer, pcbrestartbuffer, plsn, ppvreadcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsRemoveLogContainer(plfolog: *const super::super::Foundation::FILE_OBJECT, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING, fforce: P0) -> ::windows_core::Result<()> +pub unsafe fn ClfsRemoveLogContainer(plfolog: *const super::super::Foundation::FILE_OBJECT, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING, fforce: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("clfs.sys" "system" fn ClfsRemoveLogContainer(plfolog : *const super::super::Foundation:: FILE_OBJECT, puszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fforce : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsRemoveLogContainer(plfolog, puszcontainerpath, fforce.into_param().abi()).ok() + ClfsRemoveLogContainer(plfolog, puszcontainerpath, fforce.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsRemoveLogContainerSet(plfolog: *const super::super::Foundation::FILE_OBJECT, rgwszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING], fforce: P0) -> ::windows_core::Result<()> +pub unsafe fn ClfsRemoveLogContainerSet(plfolog: *const super::super::Foundation::FILE_OBJECT, rgwszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING], fforce: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("clfs.sys" "system" fn ClfsRemoveLogContainerSet(plfolog : *const super::super::Foundation:: FILE_OBJECT, ccontainers : u16, rgwszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fforce : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsRemoveLogContainerSet(plfolog, rgwszcontainerpath.len() as _, ::core::mem::transmute(rgwszcontainerpath.as_ptr()), fforce.into_param().abi()).ok() + ClfsRemoveLogContainerSet(plfolog, rgwszcontainerpath.len() as _, ::core::mem::transmute(rgwszcontainerpath.as_ptr()), fforce.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReserveAndAppendLog(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReserveAndAppendLog(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReserveAndAppendLog(pvmarshalcontext : *const ::core::ffi::c_void, rgwriteentries : *const super::super::super::Win32::Storage::FileSystem:: CLS_WRITE_ENTRY, cwriteentries : u32, plsnundonext : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); ClfsReserveAndAppendLog( pvmarshalcontext, @@ -375,12 +375,11 @@ pub unsafe fn ClfsReserveAndAppendLog(pvmarshalcontext: *const ::core::ffi::c_vo fflags, ::core::mem::transmute(plsn.unwrap_or(::std::ptr::null_mut())), ) - .ok() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsReserveAndAppendLogAligned(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, cbentryalignment: u32, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsReserveAndAppendLogAligned(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, cbentryalignment: u32, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsReserveAndAppendLogAligned(pvmarshalcontext : *const ::core::ffi::c_void, rgwriteentries : *const super::super::super::Win32::Storage::FileSystem:: CLS_WRITE_ENTRY, cwriteentries : u32, cbentryalignment : u32, plsnundonext : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); ClfsReserveAndAppendLogAligned( pvmarshalcontext, @@ -394,63 +393,62 @@ pub unsafe fn ClfsReserveAndAppendLogAligned(pvmarshalcontext: *const ::core::ff fflags, ::core::mem::transmute(plsn.unwrap_or(::std::ptr::null_mut())), ) - .ok() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsScanLogContainers(pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT, escanmode: u8) -> ::windows_core::Result<()> { +pub unsafe fn ClfsScanLogContainers(pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT, escanmode: u8) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsScanLogContainers(pcxscan : *mut super::super::super::Win32::Storage::FileSystem:: CLS_SCAN_CONTEXT, escanmode : u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsScanLogContainers(pcxscan, escanmode).ok() + ClfsScanLogContainers(pcxscan, escanmode) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsSetArchiveTail(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnarchivetail: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> { +pub unsafe fn ClfsSetArchiveTail(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnarchivetail: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsSetArchiveTail(plfolog : *const super::super::Foundation:: FILE_OBJECT, plsnarchivetail : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsSetArchiveTail(plfolog, plsnarchivetail).ok() + ClfsSetArchiveTail(plfolog, plsnarchivetail) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsSetEndOfLog(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnend: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> { +pub unsafe fn ClfsSetEndOfLog(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnend: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsSetEndOfLog(plfolog : *const super::super::Foundation:: FILE_OBJECT, plsnend : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsSetEndOfLog(plfolog, plsnend).ok() + ClfsSetEndOfLog(plfolog, plsnend) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ClfsSetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfobuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_core::Result<()> { +pub unsafe fn ClfsSetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfobuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsSetLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, einformationclass : super::super::super::Win32::Storage::FileSystem:: CLS_LOG_INFORMATION_CLASS, pinfobuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsSetLogFileInformation(plfolog, einformationclass, pinfobuffer, cbbuffer).ok() + ClfsSetLogFileInformation(plfolog, einformationclass, pinfobuffer, cbbuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ClfsTerminateReadLog(pvcursorcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ClfsTerminateReadLog(pvcursorcontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsTerminateReadLog(pvcursorcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsTerminateReadLog(pvcursorcontext).ok() + ClfsTerminateReadLog(pvcursorcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ClfsWriteRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, pvrestartbuffer: *const ::core::ffi::c_void, cbrestartbuffer: u32, plsnbase: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, fflags: u32, pcbwritten: ::core::option::Option<*mut u32>, plsnnext: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> { +pub unsafe fn ClfsWriteRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, pvrestartbuffer: *const ::core::ffi::c_void, cbrestartbuffer: u32, plsnbase: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, fflags: u32, pcbwritten: ::core::option::Option<*mut u32>, plsnnext: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("clfs.sys" "system" fn ClfsWriteRestartArea(pvmarshalcontext : *mut ::core::ffi::c_void, pvrestartbuffer : *const ::core::ffi::c_void, cbrestartbuffer : u32, plsnbase : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, fflags : u32, pcbwritten : *mut u32, plsnnext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ClfsWriteRestartArea(pvmarshalcontext, pvrestartbuffer, cbrestartbuffer, ::core::mem::transmute(plsnbase.unwrap_or(::std::ptr::null())), fflags, ::core::mem::transmute(pcbwritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plsnnext.unwrap_or(::std::ptr::null_mut()))).ok() + ClfsWriteRestartArea(pvmarshalcontext, pvrestartbuffer, cbrestartbuffer, ::core::mem::transmute(plsnbase.unwrap_or(::std::ptr::null())), fflags, ::core::mem::transmute(pcbwritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plsnnext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmCallbackGetKeyObjectID(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> { +pub unsafe fn CmCallbackGetKeyObjectID(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmCallbackGetKeyObjectID(cookie : *const i64, object : *const ::core::ffi::c_void, objectid : *mut usize, objectname : *mut *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmCallbackGetKeyObjectID(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut()))).ok() + CmCallbackGetKeyObjectID(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmCallbackGetKeyObjectIDEx(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn CmCallbackGetKeyObjectIDEx(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmCallbackGetKeyObjectIDEx(cookie : *const i64, object : *const ::core::ffi::c_void, objectid : *mut usize, objectname : *mut *mut super::super::super::Win32::Foundation:: UNICODE_STRING, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmCallbackGetKeyObjectIDEx(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut())), flags).ok() + CmCallbackGetKeyObjectIDEx(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut())), flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -474,30 +472,30 @@ pub unsafe fn CmGetCallbackVersion(major: ::core::option::Option<*mut u32>, mino #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmRegisterCallback(function: PEX_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn CmRegisterCallback(function: PEX_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmRegisterCallback(function : PEX_CALLBACK_FUNCTION, context : *const ::core::ffi::c_void, cookie : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmRegisterCallback(function, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie).ok() + CmRegisterCallback(function, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmRegisterCallbackEx(function: PEX_CALLBACK_FUNCTION, altitude: *const super::super::super::Win32::Foundation::UNICODE_STRING, driver: *const ::core::ffi::c_void, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn CmRegisterCallbackEx(function: PEX_CALLBACK_FUNCTION, altitude: *const super::super::super::Win32::Foundation::UNICODE_STRING, driver: *const ::core::ffi::c_void, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmRegisterCallbackEx(function : PEX_CALLBACK_FUNCTION, altitude : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driver : *const ::core::ffi::c_void, context : *const ::core::ffi::c_void, cookie : *mut i64, reserved : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmRegisterCallbackEx(function, altitude, driver, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() + CmRegisterCallbackEx(function, altitude, driver, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmSetCallbackObjectContext(object: *mut ::core::ffi::c_void, cookie: *const i64, newcontext: *const ::core::ffi::c_void, oldcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn CmSetCallbackObjectContext(object: *mut ::core::ffi::c_void, cookie: *const i64, newcontext: *const ::core::ffi::c_void, oldcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmSetCallbackObjectContext(object : *mut ::core::ffi::c_void, cookie : *const i64, newcontext : *const ::core::ffi::c_void, oldcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmSetCallbackObjectContext(object, cookie, newcontext, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok() + CmSetCallbackObjectContext(object, cookie, newcontext, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CmUnRegisterCallback(cookie: i64) -> ::windows_core::Result<()> { +pub unsafe fn CmUnRegisterCallback(cookie: i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn CmUnRegisterCallback(cookie : i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - CmUnRegisterCallback(cookie).ok() + CmUnRegisterCallback(cookie) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -544,36 +542,36 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DbgQueryDebugFilterState(componentid: u32, level: u32) -> ::windows_core::Result<()> { +pub unsafe fn DbgQueryDebugFilterState(componentid: u32, level: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn DbgQueryDebugFilterState(componentid : u32, level : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - DbgQueryDebugFilterState(componentid, level).ok() + DbgQueryDebugFilterState(componentid, level) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DbgSetDebugFilterState(componentid: u32, level: u32, state: P0) -> ::windows_core::Result<()> +pub unsafe fn DbgSetDebugFilterState(componentid: u32, level: u32, state: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn DbgSetDebugFilterState(componentid : u32, level : u32, state : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - DbgSetDebugFilterState(componentid, level, state.into_param().abi()).ok() + DbgSetDebugFilterState(componentid, level, state.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn DbgSetDebugPrintCallback(debugprintcallback: PDEBUG_PRINT_CALLBACK, enable: P0) -> ::windows_core::Result<()> +pub unsafe fn DbgSetDebugPrintCallback(debugprintcallback: PDEBUG_PRINT_CALLBACK, enable: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn DbgSetDebugPrintCallback(debugprintcallback : PDEBUG_PRINT_CALLBACK, enable : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - DbgSetDebugPrintCallback(debugprintcallback, enable.into_param().abi()).ok() + DbgSetDebugPrintCallback(debugprintcallback, enable.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn EtwActivityIdControl(controlcode: u32, activityid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn EtwActivityIdControl(controlcode: u32, activityid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwActivityIdControl(controlcode : u32, activityid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwActivityIdControl(controlcode, activityid).ok() + EtwActivityIdControl(controlcode, activityid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))] @@ -592,54 +590,54 @@ pub unsafe fn EtwProviderEnabled(reghandle: u64, level: u8, keyword: u64) -> sup #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn EtwRegister(providerid: *const ::windows_core::GUID, enablecallback: PETWENABLECALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, reghandle: *mut u64) -> ::windows_core::Result<()> { +pub unsafe fn EtwRegister(providerid: *const ::windows_core::GUID, enablecallback: PETWENABLECALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, reghandle: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwRegister(providerid : *const ::windows_core::GUID, enablecallback : PETWENABLECALLBACK, callbackcontext : *const ::core::ffi::c_void, reghandle : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwRegister(providerid, enablecallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), reghandle).ok() + EtwRegister(providerid, enablecallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), reghandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))] #[inline] -pub unsafe fn EtwSetInformation(reghandle: u64, informationclass: super::super::super::Win32::System::Diagnostics::Etw::EVENT_INFO_CLASS, eventinformation: ::core::option::Option<*const ::core::ffi::c_void>, informationlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn EtwSetInformation(reghandle: u64, informationclass: super::super::super::Win32::System::Diagnostics::Etw::EVENT_INFO_CLASS, eventinformation: ::core::option::Option<*const ::core::ffi::c_void>, informationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwSetInformation(reghandle : u64, informationclass : super::super::super::Win32::System::Diagnostics::Etw:: EVENT_INFO_CLASS, eventinformation : *const ::core::ffi::c_void, informationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwSetInformation(reghandle, informationclass, ::core::mem::transmute(eventinformation.unwrap_or(::std::ptr::null())), informationlength).ok() + EtwSetInformation(reghandle, informationclass, ::core::mem::transmute(eventinformation.unwrap_or(::std::ptr::null())), informationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn EtwUnregister(reghandle: u64) -> ::windows_core::Result<()> { +pub unsafe fn EtwUnregister(reghandle: u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwUnregister(reghandle : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwUnregister(reghandle).ok() + EtwUnregister(reghandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))] #[inline] -pub unsafe fn EtwWrite(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> { +pub unsafe fn EtwWrite(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWrite(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, activityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwWrite(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() + EtwWrite(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))] #[inline] -pub unsafe fn EtwWriteEx(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, filter: u64, flags: u32, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> { +pub unsafe fn EtwWriteEx(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, filter: u64, flags: u32, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteEx(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, filter : u64, flags : u32, activityid : *const ::windows_core::GUID, relatedactivityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwWriteEx(reghandle, eventdescriptor, filter, flags, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() + EtwWriteEx(reghandle, eventdescriptor, filter, flags, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn EtwWriteString(reghandle: u64, level: u8, keyword: u64, activityid: ::core::option::Option<*const ::windows_core::GUID>, string: P0) -> ::windows_core::Result<()> +pub unsafe fn EtwWriteString(reghandle: u64, level: u8, keyword: u64, activityid: ::core::option::Option<*const ::windows_core::GUID>, string: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteString(reghandle : u64, level : u8, keyword : u64, activityid : *const ::windows_core::GUID, string : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwWriteString(reghandle, level, keyword, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), string.into_param().abi()).ok() + EtwWriteString(reghandle, level, keyword, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), string.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))] #[inline] -pub unsafe fn EtwWriteTransfer(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> { +pub unsafe fn EtwWriteTransfer(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteTransfer(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, activityid : *const ::windows_core::GUID, relatedactivityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - EtwWriteTransfer(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() + EtwWriteTransfer(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -857,27 +855,27 @@ pub unsafe fn ExConvertExclusiveToSharedLite(resource: *mut super::super::Founda #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ExCreateCallback(callbackobject: *mut super::super::Foundation::PCALLBACK_OBJECT, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, create: P0, allowmultiplecallbacks: P1) -> ::windows_core::Result<()> +pub unsafe fn ExCreateCallback(callbackobject: *mut super::super::Foundation::PCALLBACK_OBJECT, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, create: P0, allowmultiplecallbacks: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExCreateCallback(callbackobject : *mut super::super::Foundation:: PCALLBACK_OBJECT, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, create : super::super::super::Win32::Foundation:: BOOLEAN, allowmultiplecallbacks : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExCreateCallback(callbackobject, objectattributes, create.into_param().abi(), allowmultiplecallbacks.into_param().abi()).ok() + ExCreateCallback(callbackobject, objectattributes, create.into_param().abi(), allowmultiplecallbacks.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExCreatePool(flags: u32, tag: usize, params: ::core::option::Option<*const POOL_CREATE_EXTENDED_PARAMS>, poolhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn ExCreatePool(flags: u32, tag: usize, params: ::core::option::Option<*const POOL_CREATE_EXTENDED_PARAMS>, poolhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExCreatePool(flags : u32, tag : usize, params : *const POOL_CREATE_EXTENDED_PARAMS, poolhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExCreatePool(flags, tag, ::core::mem::transmute(params.unwrap_or(::std::ptr::null())), poolhandle).ok() + ExCreatePool(flags, tag, ::core::mem::transmute(params.unwrap_or(::std::ptr::null())), poolhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExDeleteResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn ExDeleteResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExDeleteResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExDeleteResourceLite(resource).ok() + ExDeleteResourceLite(resource) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -925,16 +923,16 @@ pub unsafe fn ExEnterCriticalRegionAndAcquireSharedWaitForExclusive(resource: *m #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature : u32, firmwaretablebuffer : *mut ::core::ffi::c_void, bufferlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32) -> ::windows_core::Result<()> { +pub unsafe fn ExExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExExtendZone(zone : *mut ZONE_HEADER, segment : *mut ::core::ffi::c_void, segmentsize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExExtendZone(zone, segment, segmentsize).ok() + ExExtendZone(zone, segment, segmentsize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -975,9 +973,9 @@ pub unsafe fn ExGetExclusiveWaiterCount(resource: *const super::super::Foundatio #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExGetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*mut ::core::ffi::c_void>, valuelength: *mut u32, attributes: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ExGetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*mut ::core::ffi::c_void>, valuelength: *mut u32, attributes: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetFirmwareEnvironmentVariable(variablename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vendorguid : *const ::windows_core::GUID, value : *mut ::core::ffi::c_void, valuelength : *mut u32, attributes : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExGetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), valuelength, ::core::mem::transmute(attributes.unwrap_or(::std::ptr::null_mut()))).ok() + ExGetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), valuelength, ::core::mem::transmute(attributes.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(feature = "Win32_System_SystemInformation")] @@ -1002,9 +1000,9 @@ pub unsafe fn ExGetSharedWaiterCount(resource: *const super::super::Foundation:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExGetSystemFirmwareTable(firmwaretableprovidersignature: u32, firmwaretableid: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ExGetSystemFirmwareTable(firmwaretableprovidersignature: u32, firmwaretableid: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetSystemFirmwareTable(firmwaretableprovidersignature : u32, firmwaretableid : u32, firmwaretablebuffer : *mut ::core::ffi::c_void, bufferlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExGetSystemFirmwareTable(firmwaretableprovidersignature, firmwaretableid, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ExGetSystemFirmwareTable(firmwaretableprovidersignature, firmwaretableid, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -1017,9 +1015,9 @@ pub unsafe fn ExInitializePushLock() -> usize { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExInitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn ExInitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExInitializeResourceLite(resource).ok() + ExInitializeResourceLite(resource) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -1052,9 +1050,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExInitializeZone(zone: *mut ZONE_HEADER, blocksize: u32, initialsegment: *mut ::core::ffi::c_void, initialsegmentsize: u32) -> ::windows_core::Result<()> { +pub unsafe fn ExInitializeZone(zone: *mut ZONE_HEADER, blocksize: u32, initialsegment: *mut ::core::ffi::c_void, initialsegmentsize: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeZone(zone : *mut ZONE_HEADER, blocksize : u32, initialsegment : *mut ::core::ffi::c_void, initialsegmentsize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExInitializeZone(zone, blocksize, initialsegment, initialsegmentsize).ok() + ExInitializeZone(zone, blocksize, initialsegment, initialsegmentsize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -1065,9 +1063,9 @@ pub unsafe fn ExInterlockedAddLargeInteger(addend: *mut i64, increment: i64, loc #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExInterlockedExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32, lock: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn ExInterlockedExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32, lock: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExInterlockedExtendZone(zone : *mut ZONE_HEADER, segment : *mut ::core::ffi::c_void, segmentsize : u32, lock : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExInterlockedExtendZone(zone, segment, segmentsize, lock).ok() + ExInterlockedExtendZone(zone, segment, segmentsize, lock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1182,9 +1180,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ExReinitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> { +pub unsafe fn ExReinitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExReinitializeResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExReinitializeResourceLite(resource).ok() + ExReinitializeResourceLite(resource) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1310,12 +1308,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExSecurePoolUpdate(securepoolhandle: P0, tag: u32, allocation: *const ::core::ffi::c_void, cookie: usize, offset: usize, size: usize, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn ExSecurePoolUpdate(securepoolhandle: P0, tag: u32, allocation: *const ::core::ffi::c_void, cookie: usize, offset: usize, size: usize, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExSecurePoolUpdate(securepoolhandle : super::super::super::Win32::Foundation:: HANDLE, tag : u32, allocation : *const ::core::ffi::c_void, cookie : usize, offset : usize, size : usize, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExSecurePoolUpdate(securepoolhandle.into_param().abi(), tag, allocation, cookie, offset, size, buffer).ok() + ExSecurePoolUpdate(securepoolhandle.into_param().abi(), tag, allocation, cookie, offset, size, buffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1330,9 +1328,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExSetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32, attributes: u32) -> ::windows_core::Result<()> { +pub unsafe fn ExSetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32, attributes: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetFirmwareEnvironmentVariable(variablename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vendorguid : *const ::windows_core::GUID, value : *const ::core::ffi::c_void, valuelength : u32, attributes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExSetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuelength, attributes).ok() + ExSetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuelength, attributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] @@ -1416,9 +1414,9 @@ pub unsafe fn ExUnregisterCallback(callbackregistration: *mut ::core::ffi::c_voi #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ExUuidCreate(uuid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn ExUuidCreate(uuid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ExUuidCreate(uuid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - ExUuidCreate(uuid).ok() + ExUuidCreate(uuid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1463,9 +1461,9 @@ pub unsafe fn HalAcquireDisplayOwnership(resetdisplayparameters: PHAL_RESET_DISP #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn HalAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, wcb: *const WAIT_CONTEXT_BLOCK, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL) -> ::windows_core::Result<()> { +pub unsafe fn HalAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, wcb: *const WAIT_CONTEXT_BLOCK, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("hal.dll" "system" fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalAllocateAdapterChannel(adapterobject, wcb, numberofmapregisters, executionroutine).ok() + HalAllocateAdapterChannel(adapterobject, wcb, numberofmapregisters, executionroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] @@ -1487,16 +1485,16 @@ pub unsafe fn HalAllocateCrashDumpRegisters(adapterobject: *const super::super:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn HalAllocateHardwareCounters(groupaffinty: ::core::option::Option<&[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, resourcelist: ::core::option::Option<*const PHYSICAL_COUNTER_RESOURCE_LIST>, countersethandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn HalAllocateHardwareCounters(groupaffinty: ::core::option::Option<&[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, resourcelist: ::core::option::Option<*const PHYSICAL_COUNTER_RESOURCE_LIST>, countersethandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("hal.dll" "system" fn HalAllocateHardwareCounters(groupaffinty : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupcount : u32, resourcelist : *const PHYSICAL_COUNTER_RESOURCE_LIST, countersethandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalAllocateHardwareCounters(::core::mem::transmute(groupaffinty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinty.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), countersethandle).ok() + HalAllocateHardwareCounters(::core::mem::transmute(groupaffinty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinty.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), countersethandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn HalAssignSlotResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> ::windows_core::Result<()> { +pub unsafe fn HalAssignSlotResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("hal.dll" "system" fn HalAssignSlotResources(registrypath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, bustype : INTERFACE_TYPE, busnumber : u32, slotnumber : u32, allocatedresources : *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalAssignSlotResources(registrypath, driverclassname, driverobject, deviceobject, bustype, busnumber, slotnumber, allocatedresources).ok() + HalAssignSlotResources(registrypath, driverclassname, driverobject, deviceobject, bustype, busnumber, slotnumber, allocatedresources) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] @@ -1508,16 +1506,16 @@ pub unsafe fn HalBugCheckSystem(errorsource: *const super::super::super::Win32:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] #[inline] -pub unsafe fn HalDmaAllocateCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, numberofmapregisters: u32, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE, mapregisterbase: *mut *mut ::core::ffi::c_void, mapregistersavailable: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn HalDmaAllocateCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, numberofmapregisters: u32, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE, mapregisterbase: *mut *mut ::core::ffi::c_void, mapregistersavailable: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("hal.dll" "system" fn HalDmaAllocateCrashDumpRegistersEx(adapter : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, numberofmapregisters : u32, r#type : HAL_DMA_CRASH_DUMP_REGISTER_TYPE, mapregisterbase : *mut *mut ::core::ffi::c_void, mapregistersavailable : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalDmaAllocateCrashDumpRegistersEx(adapter, numberofmapregisters, r#type, mapregisterbase, mapregistersavailable).ok() + HalDmaAllocateCrashDumpRegistersEx(adapter, numberofmapregisters, r#type, mapregisterbase, mapregistersavailable) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] #[inline] -pub unsafe fn HalDmaFreeCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn HalDmaFreeCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("hal.dll" "system" fn HalDmaFreeCrashDumpRegistersEx(adapter : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, r#type : HAL_DMA_CRASH_DUMP_REGISTER_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalDmaFreeCrashDumpRegistersEx(adapter, r#type).ok() + HalDmaFreeCrashDumpRegistersEx(adapter, r#type) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1539,12 +1537,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HalFreeHardwareCounters(countersethandle: P0) -> ::windows_core::Result<()> +pub unsafe fn HalFreeHardwareCounters(countersethandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hal.dll" "system" fn HalFreeHardwareCounters(countersethandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - HalFreeHardwareCounters(countersethandle.into_param().abi()).ok() + HalFreeHardwareCounters(countersethandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] @@ -1607,16 +1605,16 @@ pub unsafe fn HalTranslateBusAddress(interfacetype: INTERFACE_TYPE, busnumber: u #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HvlRegisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn HvlRegisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn HvlRegisterWheaErrorNotification(callback : PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - HvlRegisterWheaErrorNotification(callback).ok() + HvlRegisterWheaErrorNotification(callback) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HvlUnregisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> ::windows_core::Result<()> { +pub unsafe fn HvlUnregisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn HvlUnregisterWheaErrorNotification(callback : PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - HvlUnregisterWheaErrorNotification(callback).ok() + HvlUnregisterWheaErrorNotification(callback) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -1629,33 +1627,33 @@ pub unsafe fn IoAcquireCancelSpinLock() -> u8 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAcquireKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn IoAcquireKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireKsrPersistentMemory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffer : *mut ::core::ffi::c_void, size : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAcquireKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffer, size).ok() + IoAcquireKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffer, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAcquireKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn IoAcquireKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : *mut u32, buffer : *mut ::core::ffi::c_void, size : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAcquireKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffer, size).ok() + IoAcquireKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffer, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn IoAcquireRemoveLockEx(removelock: *mut IO_REMOVE_LOCK, tag: ::core::option::Option<*const ::core::ffi::c_void>, file: P0, line: u32, remlocksize: u32) -> ::windows_core::Result<()> +pub unsafe fn IoAcquireRemoveLockEx(removelock: *mut IO_REMOVE_LOCK, tag: ::core::option::Option<*const ::core::ffi::c_void>, file: P0, line: u32, remlocksize: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireRemoveLockEx(removelock : *mut IO_REMOVE_LOCK, tag : *const ::core::ffi::c_void, file : ::windows_core::PCSTR, line : u32, remlocksize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAcquireRemoveLockEx(removelock, ::core::mem::transmute(tag.unwrap_or(::std::ptr::null())), file.into_param().abi(), line, remlocksize).ok() + IoAcquireRemoveLockEx(removelock, ::core::mem::transmute(tag.unwrap_or(::std::ptr::null())), file.into_param().abi(), line, remlocksize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAllocateAdapterChannel(adapterobject, deviceobject, numberofmapregisters, executionroutine, context).ok() + IoAllocateAdapterChannel(adapterobject, deviceobject, numberofmapregisters, executionroutine, context) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1667,9 +1665,9 @@ pub unsafe fn IoAllocateController(controllerobject: *const CONTROLLER_OBJECT, d #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAllocateDriverObjectExtension(driverobject: *const super::super::Foundation::DRIVER_OBJECT, clientidentificationaddress: *const ::core::ffi::c_void, driverobjectextensionsize: u32, driverobjectextension: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoAllocateDriverObjectExtension(driverobject: *const super::super::Foundation::DRIVER_OBJECT, clientidentificationaddress: *const ::core::ffi::c_void, driverobjectextensionsize: u32, driverobjectextension: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateDriverObjectExtension(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, clientidentificationaddress : *const ::core::ffi::c_void, driverobjectextensionsize : u32, driverobjectextension : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAllocateDriverObjectExtension(driverobject, clientidentificationaddress, driverobjectextensionsize, driverobjectextension).ok() + IoAllocateDriverObjectExtension(driverobject, clientidentificationaddress, driverobjectextensionsize, driverobjectextension) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -1711,9 +1709,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAllocateSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, length: u32, signature: *const ::core::ffi::c_void, streamidentifier: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoAllocateSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, length: u32, signature: *const ::core::ffi::c_void, streamidentifier: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateSfioStreamIdentifier(fileobject : *const super::super::Foundation:: FILE_OBJECT, length : u32, signature : *const ::core::ffi::c_void, streamidentifier : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAllocateSfioStreamIdentifier(fileobject, length, signature, streamidentifier).ok() + IoAllocateSfioStreamIdentifier(fileobject, length, signature, streamidentifier) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1725,23 +1723,23 @@ pub unsafe fn IoAllocateWorkItem(deviceobject: *const super::super::Foundation:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAssignResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, requestedresources: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> ::windows_core::Result<()> { +pub unsafe fn IoAssignResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, requestedresources: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAssignResources(registrypath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, requestedresources : *const IO_RESOURCE_REQUIREMENTS_LIST, allocatedresources : *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAssignResources(registrypath, ::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(requestedresources.unwrap_or(::std::ptr::null())), allocatedresources).ok() + IoAssignResources(registrypath, ::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(requestedresources.unwrap_or(::std::ptr::null())), allocatedresources) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAttachDevice(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::super::Win32::Foundation::UNICODE_STRING, attacheddevice: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoAttachDevice(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::super::Win32::Foundation::UNICODE_STRING, attacheddevice: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDevice(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::super::Win32::Foundation:: UNICODE_STRING, attacheddevice : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAttachDevice(sourcedevice, targetdevice, attacheddevice).ok() + IoAttachDevice(sourcedevice, targetdevice, attacheddevice) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAttachDeviceByPointer(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoAttachDeviceByPointer(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDeviceByPointer(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAttachDeviceByPointer(sourcedevice, targetdevice).ok() + IoAttachDeviceByPointer(sourcedevice, targetdevice) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1753,9 +1751,9 @@ pub unsafe fn IoAttachDeviceToDeviceStack(sourcedevice: *const super::super::Fou #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAttachDeviceToDeviceStackSafe(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT, attachedtodeviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoAttachDeviceToDeviceStackSafe(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT, attachedtodeviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDeviceToDeviceStackSafe(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::Foundation:: DEVICE_OBJECT, attachedtodeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoAttachDeviceToDeviceStackSafe(sourcedevice, targetdevice, attachedtodeviceobject).ok() + IoAttachDeviceToDeviceStackSafe(sourcedevice, targetdevice, attachedtodeviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1805,29 +1803,29 @@ pub unsafe fn IoCancelIrp(irp: *const super::super::Foundation::IRP) -> super::s #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCheckLinkShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: ::core::option::Option<*mut super::super::Foundation::FILE_OBJECT>, shareaccess: ::core::option::Option<*mut SHARE_ACCESS>, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoCheckLinkShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: ::core::option::Option<*mut super::super::Foundation::FILE_OBJECT>, shareaccess: ::core::option::Option<*mut SHARE_ACCESS>, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckLinkShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS, ioshareaccessflags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckLinkShareAccess(desiredaccess, desiredshareaccess, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(shareaccess.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags).ok() + IoCheckLinkShareAccess(desiredaccess, desiredshareaccess, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(shareaccess.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCheckShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0) -> ::windows_core::Result<()> +pub unsafe fn IoCheckShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, update : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckShareAccess(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi()).ok() + IoCheckShareAccess(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCheckShareAccessEx(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0, writepermission: ::core::option::Option<*const super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> +pub unsafe fn IoCheckShareAccessEx(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0, writepermission: ::core::option::Option<*const super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckShareAccessEx(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, update : super::super::super::Win32::Foundation:: BOOLEAN, writepermission : *const super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCheckShareAccessEx(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi(), ::core::mem::transmute(writepermission.unwrap_or(::std::ptr::null()))).ok() + IoCheckShareAccessEx(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi(), ::core::mem::transmute(writepermission.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1852,20 +1850,20 @@ pub unsafe fn IoClearIrpExtraCreateParameter(irp: *mut super::super::Foundation: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn IoConnectInterrupt(interruptobject: *mut super::super::Foundation::PKINTERRUPT, serviceroutine: PKSERVICE_ROUTINE, servicecontext: ::core::option::Option<*const ::core::ffi::c_void>, spinlock: ::core::option::Option<*const usize>, vector: u32, irql: u8, synchronizeirql: u8, interruptmode: KINTERRUPT_MODE, sharevector: P0, processorenablemask: usize, floatingsave: P1) -> ::windows_core::Result<()> +pub unsafe fn IoConnectInterrupt(interruptobject: *mut super::super::Foundation::PKINTERRUPT, serviceroutine: PKSERVICE_ROUTINE, servicecontext: ::core::option::Option<*const ::core::ffi::c_void>, spinlock: ::core::option::Option<*const usize>, vector: u32, irql: u8, synchronizeirql: u8, interruptmode: KINTERRUPT_MODE, sharevector: P0, processorenablemask: usize, floatingsave: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoConnectInterrupt(interruptobject : *mut super::super::Foundation:: PKINTERRUPT, serviceroutine : PKSERVICE_ROUTINE, servicecontext : *const ::core::ffi::c_void, spinlock : *const usize, vector : u32, irql : u8, synchronizeirql : u8, interruptmode : KINTERRUPT_MODE, sharevector : super::super::super::Win32::Foundation:: BOOLEAN, processorenablemask : usize, floatingsave : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoConnectInterrupt(interruptobject, serviceroutine, ::core::mem::transmute(servicecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(spinlock.unwrap_or(::std::ptr::null())), vector, irql, synchronizeirql, interruptmode, sharevector.into_param().abi(), processorenablemask, floatingsave.into_param().abi()).ok() + IoConnectInterrupt(interruptobject, serviceroutine, ::core::mem::transmute(servicecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(spinlock.unwrap_or(::std::ptr::null())), vector, irql, synchronizeirql, interruptmode, sharevector.into_param().abi(), processorenablemask, floatingsave.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoConnectInterruptEx(parameters: *mut IO_CONNECT_INTERRUPT_PARAMETERS) -> ::windows_core::Result<()> { +pub unsafe fn IoConnectInterruptEx(parameters: *mut IO_CONNECT_INTERRUPT_PARAMETERS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoConnectInterruptEx(parameters : *mut IO_CONNECT_INTERRUPT_PARAMETERS) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoConnectInterruptEx(parameters).ok() + IoConnectInterruptEx(parameters) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1877,40 +1875,40 @@ pub unsafe fn IoCreateController(size: u32) -> *mut CONTROLLER_OBJECT { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCreateDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceextensionsize: u32, devicename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, devicetype: u32, devicecharacteristics: u32, exclusive: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> +pub unsafe fn IoCreateDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceextensionsize: u32, devicename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, devicetype: u32, devicecharacteristics: u32, exclusive: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceextensionsize : u32, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicetype : u32, devicecharacteristics : u32, exclusive : super::super::super::Win32::Foundation:: BOOLEAN, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateDevice(driverobject, deviceextensionsize, ::core::mem::transmute(devicename.unwrap_or(::std::ptr::null())), devicetype, devicecharacteristics, exclusive.into_param().abi(), deviceobject).ok() + IoCreateDevice(driverobject, deviceextensionsize, ::core::mem::transmute(devicename.unwrap_or(::std::ptr::null())), devicetype, devicecharacteristics, exclusive.into_param().abi(), deviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCreateDisk(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, disk: ::core::option::Option<*const super::super::super::Win32::System::Ioctl::CREATE_DISK>) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateDisk(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, disk: ::core::option::Option<*const super::super::super::Win32::System::Ioctl::CREATE_DISK>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateDisk(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, disk : *const super::super::super::Win32::System::Ioctl:: CREATE_DISK) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateDisk(deviceobject, ::core::mem::transmute(disk.unwrap_or(::std::ptr::null()))).ok() + IoCreateDisk(deviceobject, ::core::mem::transmute(disk.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn IoCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options).ok() + IoCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn IoCreateFileEx(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateFileEx(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFileEx(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32, drivercontext : *const IO_DRIVER_CREATE_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateFileEx(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + IoCreateFileEx(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn IoCreateFileSpecifyDeviceObjectHint(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, deviceobject: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateFileSpecifyDeviceObjectHint(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, deviceobject: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFileSpecifyDeviceObjectHint(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32, deviceobject : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateFileSpecifyDeviceObjectHint(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null()))).ok() + IoCreateFileSpecifyDeviceObjectHint(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1922,9 +1920,9 @@ pub unsafe fn IoCreateNotificationEvent(eventname: *const super::super::super::W #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCreateSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateSymbolicLink(symboliclinkname, devicename).ok() + IoCreateSymbolicLink(symboliclinkname, devicename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -1936,33 +1934,33 @@ pub unsafe fn IoCreateSynchronizationEvent(eventname: *const super::super::super #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCreateSystemThread(ioobject: *mut ::core::ffi::c_void, threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn IoCreateSystemThread(ioobject: *mut ::core::ffi::c_void, threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateSystemThread(ioobject : *mut ::core::ffi::c_void, threadhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, processhandle : super::super::super::Win32::Foundation:: HANDLE, clientid : *mut super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID, startroutine : PKSTART_ROUTINE, startcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateSystemThread(ioobject, threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))).ok() + IoCreateSystemThread(ioobject, threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoCreateUnprotectedSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoCreateUnprotectedSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateUnprotectedSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCreateUnprotectedSymbolicLink(symboliclinkname, devicename).ok() + IoCreateUnprotectedSymbolicLink(symboliclinkname, devicename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCsqInitialize(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> ::windows_core::Result<()> { +pub unsafe fn IoCsqInitialize(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInitialize(csq : *mut IO_CSQ, csqinsertirp : PIO_CSQ_INSERT_IRP, csqremoveirp : PIO_CSQ_REMOVE_IRP, csqpeeknextirp : PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock : PIO_CSQ_ACQUIRE_LOCK, csqreleaselock : PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp : PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCsqInitialize(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp).ok() + IoCsqInitialize(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCsqInitializeEx(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP_EX, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> ::windows_core::Result<()> { +pub unsafe fn IoCsqInitializeEx(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP_EX, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInitializeEx(csq : *mut IO_CSQ, csqinsertirp : PIO_CSQ_INSERT_IRP_EX, csqremoveirp : PIO_CSQ_REMOVE_IRP, csqpeeknextirp : PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock : PIO_CSQ_ACQUIRE_LOCK, csqreleaselock : PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp : PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCsqInitializeEx(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp).ok() + IoCsqInitializeEx(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1974,9 +1972,9 @@ pub unsafe fn IoCsqInsertIrp(csq: *mut IO_CSQ, irp: *mut super::super::Foundatio #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoCsqInsertIrpEx(csq: *mut IO_CSQ, irp: *mut super::super::Foundation::IRP, context: ::core::option::Option<*mut IO_CSQ_IRP_CONTEXT>, insertcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoCsqInsertIrpEx(csq: *mut IO_CSQ, irp: *mut super::super::Foundation::IRP, context: ::core::option::Option<*mut IO_CSQ_IRP_CONTEXT>, insertcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInsertIrpEx(csq : *mut IO_CSQ, irp : *mut super::super::Foundation:: IRP, context : *mut IO_CSQ_IRP_CONTEXT, insertcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoCsqInsertIrpEx(csq, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(insertcontext.unwrap_or(::std::ptr::null()))).ok() + IoCsqInsertIrpEx(csq, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(insertcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1995,12 +1993,12 @@ pub unsafe fn IoCsqRemoveNextIrp(csq: *mut IO_CSQ, peekcontext: ::core::option:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoDecrementKeepAliveCount(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> ::windows_core::Result<()> +pub unsafe fn IoDecrementKeepAliveCount(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoDecrementKeepAliveCount(fileobject : *mut super::super::Foundation:: FILE_OBJECT, process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoDecrementKeepAliveCount(fileobject, process.into_param().abi()).ok() + IoDecrementKeepAliveCount(fileobject, process.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -2019,9 +2017,9 @@ pub unsafe fn IoDeleteDevice(deviceobject: *const super::super::Foundation::DEVI #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoDeleteSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoDeleteSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoDeleteSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoDeleteSymbolicLink(symboliclinkname).ok() + IoDeleteSymbolicLink(symboliclinkname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2050,9 +2048,9 @@ pub unsafe fn IoDisconnectInterruptEx(parameters: *const IO_DISCONNECT_INTERRUPT #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoEnumerateKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, callback: PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoEnumerateKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, callback: PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoEnumerateKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, callback : PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK, callbackcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoEnumerateKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), callback, callbackcontext).ok() + IoEnumerateKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), callback, callbackcontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] @@ -2101,9 +2099,9 @@ pub unsafe fn IoFreeIrp(irp: *const super::super::Foundation::IRP) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoFreeKsrPersistentMemory(datahandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoFreeKsrPersistentMemory(datahandle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeKsrPersistentMemory(datahandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoFreeKsrPersistentMemory(datahandle).ok() + IoFreeKsrPersistentMemory(datahandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_IscsiDisc\"`*"] #[cfg(feature = "Win32_Storage_IscsiDisc")] @@ -2122,9 +2120,9 @@ pub unsafe fn IoFreeMdl(mdl: *mut super::super::Foundation::MDL) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoFreeSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, signature: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoFreeSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, signature: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeSfioStreamIdentifier(fileobject : *const super::super::Foundation:: FILE_OBJECT, signature : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoFreeSfioStreamIdentifier(fileobject, signature).ok() + IoFreeSfioStreamIdentifier(fileobject, signature) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2139,9 +2137,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetActivityIdIrp(irp: *const super::super::Foundation::IRP, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn IoGetActivityIdIrp(irp: *const super::super::Foundation::IRP, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetActivityIdIrp(irp : *const super::super::Foundation:: IRP, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetActivityIdIrp(irp, guid).ok() + IoGetActivityIdIrp(irp, guid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -2152,12 +2150,12 @@ pub unsafe fn IoGetActivityIdThread() -> *mut ::windows_core::GUID { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn IoGetAffinityInterrupt(interruptobject: P0, groupaffinity: *mut super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY) -> ::windows_core::Result<()> +pub unsafe fn IoGetAffinityInterrupt(interruptobject: P0, groupaffinity: *mut super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetAffinityInterrupt(interruptobject : super::super::Foundation:: PKINTERRUPT, groupaffinity : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetAffinityInterrupt(interruptobject.into_param().abi(), groupaffinity).ok() + IoGetAffinityInterrupt(interruptobject.into_param().abi(), groupaffinity) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2169,16 +2167,16 @@ pub unsafe fn IoGetAttachedDeviceReference(deviceobject: *const super::super::Fo #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetBootDiskInformation(bootdiskinformation: *mut BOOTDISK_INFORMATION, size: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoGetBootDiskInformation(bootdiskinformation: *mut BOOTDISK_INFORMATION, size: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetBootDiskInformation(bootdiskinformation : *mut BOOTDISK_INFORMATION, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetBootDiskInformation(bootdiskinformation, size).ok() + IoGetBootDiskInformation(bootdiskinformation, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetBootDiskInformationLite(bootdiskinformation: *mut *mut BOOTDISK_INFORMATION_LITE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetBootDiskInformationLite(bootdiskinformation: *mut *mut BOOTDISK_INFORMATION_LITE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetBootDiskInformationLite(bootdiskinformation : *mut *mut BOOTDISK_INFORMATION_LITE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetBootDiskInformationLite(bootdiskinformation).ok() + IoGetBootDiskInformationLite(bootdiskinformation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -2190,9 +2188,9 @@ pub unsafe fn IoGetConfigurationInformation() -> *mut CONFIGURATION_INFORMATION #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetContainerInformation(informationclass: IO_CONTAINER_INFORMATION_CLASS, containerobject: ::core::option::Option<*const ::core::ffi::c_void>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoGetContainerInformation(informationclass: IO_CONTAINER_INFORMATION_CLASS, containerobject: ::core::option::Option<*const ::core::ffi::c_void>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetContainerInformation(informationclass : IO_CONTAINER_INFORMATION_CLASS, containerobject : *const ::core::ffi::c_void, buffer : *mut ::core::ffi::c_void, bufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetContainerInformation(informationclass, ::core::mem::transmute(containerobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), bufferlength).ok() + IoGetContainerInformation(informationclass, ::core::mem::transmute(containerobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), bufferlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2204,58 +2202,58 @@ pub unsafe fn IoGetCurrentProcess() -> super::super::Foundation::PEPROCESS { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDeviceDirectory(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, directorytype: DEVICE_DIRECTORY_TYPE, flags: u32, reserved: *const ::core::ffi::c_void, devicedirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceDirectory(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, directorytype: DEVICE_DIRECTORY_TYPE, flags: u32, reserved: *const ::core::ffi::c_void, devicedirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceDirectory(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, directorytype : DEVICE_DIRECTORY_TYPE, flags : u32, reserved : *const ::core::ffi::c_void, devicedirectoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceDirectory(physicaldeviceobject, directorytype, flags, reserved, devicedirectoryhandle).ok() + IoGetDeviceDirectory(physicaldeviceobject, directorytype, flags, reserved, devicedirectoryhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetDeviceInterfaceAlias(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, aliasinterfaceclassguid: *const ::windows_core::GUID, aliassymboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceInterfaceAlias(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, aliasinterfaceclassguid: *const ::windows_core::GUID, aliassymboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfaceAlias(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, aliasinterfaceclassguid : *const ::windows_core::GUID, aliassymboliclinkname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceInterfaceAlias(symboliclinkname, aliasinterfaceclassguid, aliassymboliclinkname).ok() + IoGetDeviceInterfaceAlias(symboliclinkname, aliasinterfaceclassguid, aliassymboliclinkname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn IoGetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfacePropertyData(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, size : u32, data : *mut ::core::ffi::c_void, requiredsize : *mut u32, r#type : *mut super::super::super::Win32::Devices::Properties:: DEVPROPTYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, size, data, requiredsize, r#type).ok() + IoGetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, size, data, requiredsize, r#type) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDeviceInterfaces(interfaceclassguid: *const ::windows_core::GUID, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, flags: u32, symboliclinklist: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceInterfaces(interfaceclassguid: *const ::windows_core::GUID, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, flags: u32, symboliclinklist: *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfaces(interfaceclassguid : *const ::windows_core::GUID, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32, symboliclinklist : *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceInterfaces(interfaceclassguid, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), flags, symboliclinklist).ok() + IoGetDeviceInterfaces(interfaceclassguid, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), flags, symboliclinklist) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDeviceNumaNode(pdo: *const super::super::Foundation::DEVICE_OBJECT, nodenumber: *mut u16) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceNumaNode(pdo: *const super::super::Foundation::DEVICE_OBJECT, nodenumber: *mut u16) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceNumaNode(pdo : *const super::super::Foundation:: DEVICE_OBJECT, nodenumber : *mut u16) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceNumaNode(pdo, nodenumber).ok() + IoGetDeviceNumaNode(pdo, nodenumber) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDeviceObjectPointer(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, fileobject: *mut *mut super::super::Foundation::FILE_OBJECT, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceObjectPointer(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, fileobject: *mut *mut super::super::Foundation::FILE_OBJECT, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceObjectPointer(objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, desiredaccess : u32, fileobject : *mut *mut super::super::Foundation:: FILE_OBJECT, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceObjectPointer(objectname, desiredaccess, fileobject, deviceobject).ok() + IoGetDeviceObjectPointer(objectname, desiredaccess, fileobject, deviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDeviceProperty(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, deviceproperty: DEVICE_REGISTRY_PROPERTY, bufferlength: u32, propertybuffer: ::core::option::Option<*mut ::core::ffi::c_void>, resultlength: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDeviceProperty(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, deviceproperty: DEVICE_REGISTRY_PROPERTY, bufferlength: u32, propertybuffer: ::core::option::Option<*mut ::core::ffi::c_void>, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceProperty(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, deviceproperty : DEVICE_REGISTRY_PROPERTY, bufferlength : u32, propertybuffer : *mut ::core::ffi::c_void, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDeviceProperty(deviceobject, deviceproperty, bufferlength, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), resultlength).ok() + IoGetDeviceProperty(deviceobject, deviceproperty, bufferlength, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDevicePropertyData(pdo : *const super::super::Foundation:: DEVICE_OBJECT, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, size : u32, data : *mut ::core::ffi::c_void, requiredsize : *mut u32, r#type : *mut super::super::super::Win32::Devices::Properties:: DEVPROPTYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDevicePropertyData(pdo, propertykey, lcid, flags, size, data, requiredsize, r#type).ok() + IoGetDevicePropertyData(pdo, propertykey, lcid, flags, size, data, requiredsize, r#type) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2267,9 +2265,9 @@ pub unsafe fn IoGetDmaAdapter(physicaldeviceobject: ::core::option::Option<*cons #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetDriverDirectory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, directorytype: DRIVER_DIRECTORY_TYPE, flags: u32, driverdirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetDriverDirectory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, directorytype: DRIVER_DIRECTORY_TYPE, flags: u32, driverdirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDriverDirectory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, directorytype : DRIVER_DIRECTORY_TYPE, flags : u32, driverdirectoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetDriverDirectory(driverobject, directorytype, flags, driverdirectoryhandle).ok() + IoGetDriverDirectory(driverobject, directorytype, flags, driverdirectoryhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2288,9 +2286,9 @@ pub unsafe fn IoGetFileObjectGenericMapping() -> *mut super::super::super::Win32 #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetFsZeroingOffset(irp: *const super::super::Foundation::IRP, zeroingoffset: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoGetFsZeroingOffset(irp: *const super::super::Foundation::IRP, zeroingoffset: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetFsZeroingOffset(irp : *const super::super::Foundation:: IRP, zeroingoffset : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetFsZeroingOffset(irp, zeroingoffset).ok() + IoGetFsZeroingOffset(irp, zeroingoffset) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -2308,9 +2306,9 @@ pub unsafe fn IoGetInitiatorProcess(fileobject: *const super::super::Foundation: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetIoAttributionHandle(irp: *const super::super::Foundation::IRP, ioattributionhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoGetIoAttributionHandle(irp: *const super::super::Foundation::IRP, ioattributionhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIoAttributionHandle(irp : *const super::super::Foundation:: IRP, ioattributionhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetIoAttributionHandle(irp, ioattributionhandle).ok() + IoGetIoAttributionHandle(irp, ioattributionhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2322,23 +2320,23 @@ pub unsafe fn IoGetIoPriorityHint(irp: *const super::super::Foundation::IRP) -> #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetIommuInterface(version: u32, interfaceout: *mut DMA_IOMMU_INTERFACE) -> ::windows_core::Result<()> { +pub unsafe fn IoGetIommuInterface(version: u32, interfaceout: *mut DMA_IOMMU_INTERFACE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIommuInterface(version : u32, interfaceout : *mut DMA_IOMMU_INTERFACE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetIommuInterface(version, interfaceout).ok() + IoGetIommuInterface(version, interfaceout) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoGetIommuInterfaceEx(version: u32, flags: u64, interfaceout: *mut DMA_IOMMU_INTERFACE_EX) -> ::windows_core::Result<()> { +pub unsafe fn IoGetIommuInterfaceEx(version: u32, flags: u64, interfaceout: *mut DMA_IOMMU_INTERFACE_EX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIommuInterfaceEx(version : u32, flags : u64, interfaceout : *mut DMA_IOMMU_INTERFACE_EX) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetIommuInterfaceEx(version, flags, interfaceout).ok() + IoGetIommuInterfaceEx(version, flags, interfaceout) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoGetIrpExtraCreateParameter(irp: *const super::super::Foundation::IRP, extracreateparameter: *mut *mut isize) -> ::windows_core::Result<()> { +pub unsafe fn IoGetIrpExtraCreateParameter(irp: *const super::super::Foundation::IRP, extracreateparameter: *mut *mut isize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIrpExtraCreateParameter(irp : *const super::super::Foundation:: IRP, extracreateparameter : *mut *mut isize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoGetIrpExtraCreateParameter(irp, extracreateparameter).ok() + IoGetIrpExtraCreateParameter(irp, extracreateparameter) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2398,12 +2396,12 @@ pub unsafe fn IoGetTransactionParameterBlock(fileobject: *const super::super::Fo #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoIncrementKeepAliveCount(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> ::windows_core::Result<()> +pub unsafe fn IoIncrementKeepAliveCount(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoIncrementKeepAliveCount(fileobject : *mut super::super::Foundation:: FILE_OBJECT, process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoIncrementKeepAliveCount(fileobject, process.into_param().abi()).ok() + IoIncrementKeepAliveCount(fileobject, process.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2429,9 +2427,9 @@ pub unsafe fn IoInitializeRemoveLockEx(lock: *mut IO_REMOVE_LOCK, allocatetag: u #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoInitializeTimer(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, timerroutine: PIO_TIMER_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoInitializeTimer(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, timerroutine: PIO_TIMER_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeTimer(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, timerroutine : PIO_TIMER_ROUTINE, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoInitializeTimer(deviceobject, timerroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + IoInitializeTimer(deviceobject, timerroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2529,35 +2527,35 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoOpenDeviceInterfaceRegistryKey(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, deviceinterfaceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn IoOpenDeviceInterfaceRegistryKey(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, deviceinterfaceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDeviceInterfaceRegistryKey(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, desiredaccess : u32, deviceinterfaceregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoOpenDeviceInterfaceRegistryKey(symboliclinkname, desiredaccess, deviceinterfaceregkey).ok() + IoOpenDeviceInterfaceRegistryKey(symboliclinkname, desiredaccess, deviceinterfaceregkey) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoOpenDeviceRegistryKey(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, devinstkeytype: u32, desiredaccess: u32, deviceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn IoOpenDeviceRegistryKey(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, devinstkeytype: u32, desiredaccess: u32, deviceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDeviceRegistryKey(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devinstkeytype : u32, desiredaccess : u32, deviceregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoOpenDeviceRegistryKey(deviceobject, devinstkeytype, desiredaccess, deviceregkey).ok() + IoOpenDeviceRegistryKey(deviceobject, devinstkeytype, desiredaccess, deviceregkey) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoOpenDriverRegistryKey(driverobject: *const super::super::Foundation::DRIVER_OBJECT, regkeytype: DRIVER_REGKEY_TYPE, desiredaccess: u32, flags: u32, driverregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn IoOpenDriverRegistryKey(driverobject: *const super::super::Foundation::DRIVER_OBJECT, regkeytype: DRIVER_REGKEY_TYPE, desiredaccess: u32, flags: u32, driverregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDriverRegistryKey(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, regkeytype : DRIVER_REGKEY_TYPE, desiredaccess : u32, flags : u32, driverregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoOpenDriverRegistryKey(driverobject, regkeytype, desiredaccess, flags, driverregkey).ok() + IoOpenDriverRegistryKey(driverobject, regkeytype, desiredaccess, flags, driverregkey) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoPropagateActivityIdToThread(irp: *const super::super::Foundation::IRP, propagatedid: *mut ::windows_core::GUID, originalid: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn IoPropagateActivityIdToThread(irp: *const super::super::Foundation::IRP, propagatedid: *mut ::windows_core::GUID, originalid: *mut *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoPropagateActivityIdToThread(irp : *const super::super::Foundation:: IRP, propagatedid : *mut ::windows_core::GUID, originalid : *mut *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoPropagateActivityIdToThread(irp, propagatedid, originalid).ok() + IoPropagateActivityIdToThread(irp, propagatedid, originalid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoQueryDeviceDescription(bustype: ::core::option::Option<*const INTERFACE_TYPE>, busnumber: ::core::option::Option<*const u32>, controllertype: ::core::option::Option<*const CONFIGURATION_TYPE>, controllernumber: ::core::option::Option<*const u32>, peripheraltype: ::core::option::Option<*const CONFIGURATION_TYPE>, peripheralnumber: ::core::option::Option<*const u32>, calloutroutine: PIO_QUERY_DEVICE_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryDeviceDescription(bustype: ::core::option::Option<*const INTERFACE_TYPE>, busnumber: ::core::option::Option<*const u32>, controllertype: ::core::option::Option<*const CONFIGURATION_TYPE>, controllernumber: ::core::option::Option<*const u32>, peripheraltype: ::core::option::Option<*const CONFIGURATION_TYPE>, peripheralnumber: ::core::option::Option<*const u32>, calloutroutine: PIO_QUERY_DEVICE_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryDeviceDescription(bustype : *const INTERFACE_TYPE, busnumber : *const u32, controllertype : *const CONFIGURATION_TYPE, controllernumber : *const u32, peripheraltype : *const CONFIGURATION_TYPE, peripheralnumber : *const u32, calloutroutine : PIO_QUERY_DEVICE_ROUTINE, context : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); IoQueryDeviceDescription( ::core::mem::transmute(bustype.unwrap_or(::std::ptr::null())), @@ -2569,35 +2567,34 @@ pub unsafe fn IoQueryDeviceDescription(bustype: ::core::option::Option<*const IN calloutroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), ) - .ok() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryFullDriverPath(driverobject: *const super::super::Foundation::DRIVER_OBJECT, fullpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryFullDriverPath(driverobject: *const super::super::Foundation::DRIVER_OBJECT, fullpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryFullDriverPath(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, fullpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryFullDriverPath(driverobject, fullpath).ok() + IoQueryFullDriverPath(driverobject, fullpath) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryInformationByName(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, options : u32, drivercontext : *const IO_DRIVER_CREATE_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass, options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + IoQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass, options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryKsrPersistentMemorySize(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffersize: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryKsrPersistentMemorySize(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffersize: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryKsrPersistentMemorySize(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffersize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryKsrPersistentMemorySize(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffersize).ok() + IoQueryKsrPersistentMemorySize(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffersize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoQueryKsrPersistentMemorySizeEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffersize: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn IoQueryKsrPersistentMemorySizeEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffersize: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryKsrPersistentMemorySizeEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : *mut u32, buffersize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoQueryKsrPersistentMemorySizeEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffersize).ok() + IoQueryKsrPersistentMemorySizeEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffersize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2640,33 +2637,33 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReadDiskSignature(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bytespersector: u32, signature: *mut DISK_SIGNATURE) -> ::windows_core::Result<()> { +pub unsafe fn IoReadDiskSignature(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bytespersector: u32, signature: *mut DISK_SIGNATURE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadDiskSignature(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, bytespersector : u32, signature : *mut DISK_SIGNATURE) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReadDiskSignature(deviceobject, bytespersector, signature).ok() + IoReadDiskSignature(deviceobject, bytespersector, signature) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReadPartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, returnrecognizedpartitions: P0, partitionbuffer: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn IoReadPartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, returnrecognizedpartitions: P0, partitionbuffer: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadPartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, returnrecognizedpartitions : super::super::super::Win32::Foundation:: BOOLEAN, partitionbuffer : *mut *mut super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReadPartitionTable(deviceobject, sectorsize, returnrecognizedpartitions.into_param().abi(), partitionbuffer).ok() + IoReadPartitionTable(deviceobject, sectorsize, returnrecognizedpartitions.into_param().abi(), partitionbuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReadPartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> ::windows_core::Result<()> { +pub unsafe fn IoReadPartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadPartitionTableEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, drivelayout : *mut *mut super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReadPartitionTableEx(deviceobject, drivelayout).ok() + IoReadPartitionTableEx(deviceobject, drivelayout) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoRecordIoAttribution(opaquehandle: *mut ::core::ffi::c_void, attributioninformation: *const IO_ATTRIBUTION_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn IoRecordIoAttribution(opaquehandle: *mut ::core::ffi::c_void, attributioninformation: *const IO_ATTRIBUTION_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRecordIoAttribution(opaquehandle : *mut ::core::ffi::c_void, attributioninformation : *const IO_ATTRIBUTION_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRecordIoAttribution(opaquehandle, attributioninformation).ok() + IoRecordIoAttribution(opaquehandle, attributioninformation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -2684,16 +2681,16 @@ pub unsafe fn IoRegisterBootDriverReinitialization(driverobject: *const super::s #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoRegisterContainerNotification(notificationclass: IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction: PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation: ::core::option::Option<*const ::core::ffi::c_void>, notificationinformationlength: u32, callbackregistration: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterContainerNotification(notificationclass: IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction: PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation: ::core::option::Option<*const ::core::ffi::c_void>, notificationinformationlength: u32, callbackregistration: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterContainerNotification(notificationclass : IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction : PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation : *const ::core::ffi::c_void, notificationinformationlength : u32, callbackregistration : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterContainerNotification(notificationclass, callbackfunction, ::core::mem::transmute(notificationinformation.unwrap_or(::std::ptr::null())), notificationinformationlength, callbackregistration).ok() + IoRegisterContainerNotification(notificationclass, callbackfunction, ::core::mem::transmute(notificationinformation.unwrap_or(::std::ptr::null())), notificationinformationlength, callbackregistration) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterDeviceInterface(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, interfaceclassguid: *const ::windows_core::GUID, referencestring: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, symboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterDeviceInterface(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, interfaceclassguid: *const ::windows_core::GUID, referencestring: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, symboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterDeviceInterface(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, interfaceclassguid : *const ::windows_core::GUID, referencestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, symboliclinkname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterDeviceInterface(physicaldeviceobject, interfaceclassguid, ::core::mem::transmute(referencestring.unwrap_or(::std::ptr::null())), symboliclinkname).ok() + IoRegisterDeviceInterface(physicaldeviceobject, interfaceclassguid, ::core::mem::transmute(referencestring.unwrap_or(::std::ptr::null())), symboliclinkname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2705,23 +2702,23 @@ pub unsafe fn IoRegisterDriverReinitialization(driverobject: *const super::super #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterLastChanceShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterLastChanceShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterLastChanceShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterLastChanceShutdownNotification(deviceobject).ok() + IoRegisterLastChanceShutdownNotification(deviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterPlugPlayNotification(eventcategory: IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags: u32, eventcategorydata: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, callbackroutine: PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>, notificationentry: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterPlugPlayNotification(eventcategory: IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags: u32, eventcategorydata: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, callbackroutine: PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>, notificationentry: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterPlugPlayNotification(eventcategory, eventcategoryflags, ::core::mem::transmute(eventcategorydata.unwrap_or(::std::ptr::null())), driverobject, callbackroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), notificationentry).ok() + IoRegisterPlugPlayNotification(eventcategory, eventcategoryflags, ::core::mem::transmute(eventcategorydata.unwrap_or(::std::ptr::null())), driverobject, callbackroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), notificationentry) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoRegisterShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRegisterShutdownNotification(deviceobject).ok() + IoRegisterShutdownNotification(deviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -2767,19 +2764,19 @@ pub unsafe fn IoRemoveShareAccess(fileobject: *const super::super::Foundation::F #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReplacePartitionUnit(targetpdo: *const super::super::Foundation::DEVICE_OBJECT, sparepdo: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoReplacePartitionUnit(targetpdo: *const super::super::Foundation::DEVICE_OBJECT, sparepdo: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReplacePartitionUnit(targetpdo : *const super::super::Foundation:: DEVICE_OBJECT, sparepdo : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReplacePartitionUnit(targetpdo, sparepdo, flags).ok() + IoReplacePartitionUnit(targetpdo, sparepdo, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportDetectedDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT, legacybustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, resourcelist: ::core::option::Option<*const CM_RESOURCE_LIST>, resourcerequirements: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, resourceassigned: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> +pub unsafe fn IoReportDetectedDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT, legacybustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, resourcelist: ::core::option::Option<*const CM_RESOURCE_LIST>, resourcerequirements: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, resourceassigned: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportDetectedDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, legacybustype : INTERFACE_TYPE, busnumber : u32, slotnumber : u32, resourcelist : *const CM_RESOURCE_LIST, resourcerequirements : *const IO_RESOURCE_REQUIREMENTS_LIST, resourceassigned : super::super::super::Win32::Foundation:: BOOLEAN, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportDetectedDevice(driverobject, legacybustype, busnumber, slotnumber, ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(resourcerequirements.unwrap_or(::std::ptr::null())), resourceassigned.into_param().abi(), deviceobject).ok() + IoReportDetectedDevice(driverobject, legacybustype, busnumber, slotnumber, ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(resourcerequirements.unwrap_or(::std::ptr::null())), resourceassigned.into_param().abi(), deviceobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -2798,40 +2795,40 @@ pub unsafe fn IoReportInterruptInactive(parameters: *const IO_REPORT_INTERRUPT_A #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportResourceForDetection(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn IoReportResourceForDetection(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportResourceForDetection(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverlist : *const CM_RESOURCE_LIST, driverlistsize : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devicelist : *const CM_RESOURCE_LIST, devicelistsize : u32, conflictdetected : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportResourceForDetection(driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, conflictdetected).ok() + IoReportResourceForDetection(driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, conflictdetected) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportResourceUsage(driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, overrideconflict: P0, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn IoReportResourceUsage(driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, overrideconflict: P0, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportResourceUsage(driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverlist : *const CM_RESOURCE_LIST, driverlistsize : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devicelist : *const CM_RESOURCE_LIST, devicelistsize : u32, overrideconflict : super::super::super::Win32::Foundation:: BOOLEAN, conflictdetected : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportResourceUsage(::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, overrideconflict.into_param().abi(), conflictdetected).ok() + IoReportResourceUsage(::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, overrideconflict.into_param().abi(), conflictdetected) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportRootDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoReportRootDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportRootDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportRootDevice(driverobject).ok() + IoReportRootDevice(driverobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportTargetDeviceChange(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoReportTargetDeviceChange(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportTargetDeviceChange(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, notificationstructure : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportTargetDeviceChange(physicaldeviceobject, notificationstructure).ok() + IoReportTargetDeviceChange(physicaldeviceobject, notificationstructure) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void, callback: PDEVICE_CHANGE_COMPLETE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void, callback: PDEVICE_CHANGE_COMPLETE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, notificationstructure : *const ::core::ffi::c_void, callback : PDEVICE_CHANGE_COMPLETE_CALLBACK, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject, notificationstructure, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject, notificationstructure, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2843,23 +2840,23 @@ pub unsafe fn IoRequestDeviceEject(physicaldeviceobject: *const super::super::Fo #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRequestDeviceEjectEx(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, callback: PIO_DEVICE_EJECT_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: ::core::option::Option<*const super::super::Foundation::DRIVER_OBJECT>) -> ::windows_core::Result<()> { +pub unsafe fn IoRequestDeviceEjectEx(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, callback: PIO_DEVICE_EJECT_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: ::core::option::Option<*const super::super::Foundation::DRIVER_OBJECT>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRequestDeviceEjectEx(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, callback : PIO_DEVICE_EJECT_CALLBACK, context : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoRequestDeviceEjectEx(physicaldeviceobject, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(driverobject.unwrap_or(::std::ptr::null()))).ok() + IoRequestDeviceEjectEx(physicaldeviceobject, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(driverobject.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReserveKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoReserveKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReserveKsrPersistentMemory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, size : usize, flags : u32, datahandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReserveKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), size, flags, datahandle).ok() + IoReserveKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), size, flags, datahandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoReserveKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: u32, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoReserveKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: u32, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReserveKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : u32, size : usize, flags : u32, datahandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoReserveKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), dataversion, size, flags, datahandle).ok() + IoReserveKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), dataversion, size, flags, datahandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2874,9 +2871,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetActivityIdIrp(irp: *mut super::super::Foundation::IRP, guid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { +pub unsafe fn IoSetActivityIdIrp(irp: *mut super::super::Foundation::IRP, guid: ::core::option::Option<*const ::windows_core::GUID>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetActivityIdIrp(irp : *mut super::super::Foundation:: IRP, guid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetActivityIdIrp(irp, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))).ok() + IoSetActivityIdIrp(irp, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -2887,69 +2884,69 @@ pub unsafe fn IoSetActivityIdThread(activityid: *const ::windows_core::GUID) -> #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetCompletionRoutineEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, completionroutine: super::super::Foundation::PIO_COMPLETION_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, invokeonsuccess: P0, invokeonerror: P1, invokeoncancel: P2) -> ::windows_core::Result<()> +pub unsafe fn IoSetCompletionRoutineEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, completionroutine: super::super::Foundation::PIO_COMPLETION_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, invokeonsuccess: P0, invokeonerror: P1, invokeoncancel: P2) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetCompletionRoutineEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, completionroutine : super::super::Foundation:: PIO_COMPLETION_ROUTINE, context : *const ::core::ffi::c_void, invokeonsuccess : super::super::super::Win32::Foundation:: BOOLEAN, invokeonerror : super::super::super::Win32::Foundation:: BOOLEAN, invokeoncancel : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetCompletionRoutineEx(deviceobject, irp, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), invokeonsuccess.into_param().abi(), invokeonerror.into_param().abi(), invokeoncancel.into_param().abi()).ok() + IoSetCompletionRoutineEx(deviceobject, irp, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), invokeonsuccess.into_param().abi(), invokeonerror.into_param().abi(), invokeoncancel.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn IoSetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoSetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDeviceInterfacePropertyData(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, r#type : u32, size : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))).ok() + IoSetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoSetDeviceInterfaceState(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, enable: P0) -> ::windows_core::Result<()> +pub unsafe fn IoSetDeviceInterfaceState(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, enable: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDeviceInterfaceState(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, enable : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetDeviceInterfaceState(symboliclinkname, enable.into_param().abi()).ok() + IoSetDeviceInterfaceState(symboliclinkname, enable.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoSetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDevicePropertyData(pdo : *const super::super::Foundation:: DEVICE_OBJECT, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, r#type : u32, size : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetDevicePropertyData(pdo, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))).ok() + IoSetDevicePropertyData(pdo, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetFileObjectIgnoreSharing(fileobject: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> { +pub unsafe fn IoSetFileObjectIgnoreSharing(fileobject: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFileObjectIgnoreSharing(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetFileObjectIgnoreSharing(fileobject).ok() + IoSetFileObjectIgnoreSharing(fileobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetFileOrigin(fileobject: *const super::super::Foundation::FILE_OBJECT, remote: P0) -> ::windows_core::Result<()> +pub unsafe fn IoSetFileOrigin(fileobject: *const super::super::Foundation::FILE_OBJECT, remote: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFileOrigin(fileobject : *const super::super::Foundation:: FILE_OBJECT, remote : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetFileOrigin(fileobject, remote.into_param().abi()).ok() + IoSetFileOrigin(fileobject, remote.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetFsZeroingOffset(irp: *mut super::super::Foundation::IRP, zeroingoffset: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoSetFsZeroingOffset(irp: *mut super::super::Foundation::IRP, zeroingoffset: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFsZeroingOffset(irp : *mut super::super::Foundation:: IRP, zeroingoffset : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetFsZeroingOffset(irp, zeroingoffset).ok() + IoSetFsZeroingOffset(irp, zeroingoffset) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetFsZeroingOffsetRequired(irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> { +pub unsafe fn IoSetFsZeroingOffsetRequired(irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFsZeroingOffsetRequired(irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetFsZeroingOffsetRequired(irp).ok() + IoSetFsZeroingOffsetRequired(irp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2961,23 +2958,23 @@ pub unsafe fn IoSetHardErrorOrVerifyDevice(irp: *const super::super::Foundation: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetIoAttributionIrp(irp: *mut super::super::Foundation::IRP, attributionsource: *const ::core::ffi::c_void, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoSetIoAttributionIrp(irp: *mut super::super::Foundation::IRP, attributionsource: *const ::core::ffi::c_void, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIoAttributionIrp(irp : *mut super::super::Foundation:: IRP, attributionsource : *const ::core::ffi::c_void, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetIoAttributionIrp(irp, attributionsource, flags).ok() + IoSetIoAttributionIrp(irp, attributionsource, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetIoPriorityHint(irp: *const super::super::Foundation::IRP, priorityhint: super::super::Foundation::IO_PRIORITY_HINT) -> ::windows_core::Result<()> { +pub unsafe fn IoSetIoPriorityHint(irp: *const super::super::Foundation::IRP, priorityhint: super::super::Foundation::IO_PRIORITY_HINT) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIoPriorityHint(irp : *const super::super::Foundation:: IRP, priorityhint : super::super::Foundation:: IO_PRIORITY_HINT) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetIoPriorityHint(irp, priorityhint).ok() + IoSetIoPriorityHint(irp, priorityhint) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetIrpExtraCreateParameter(irp: *mut super::super::Foundation::IRP, extracreateparameter: *const isize) -> ::windows_core::Result<()> { +pub unsafe fn IoSetIrpExtraCreateParameter(irp: *mut super::super::Foundation::IRP, extracreateparameter: *const isize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIrpExtraCreateParameter(irp : *mut super::super::Foundation:: IRP, extracreateparameter : *const isize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetIrpExtraCreateParameter(irp, extracreateparameter).ok() + IoSetIrpExtraCreateParameter(irp, extracreateparameter) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -2999,16 +2996,16 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetPartitionInformation(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, partitionnumber: u32, partitiontype: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoSetPartitionInformation(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, partitionnumber: u32, partitiontype: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetPartitionInformation(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, partitionnumber : u32, partitiontype : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetPartitionInformation(deviceobject, sectorsize, partitionnumber, partitiontype).ok() + IoSetPartitionInformation(deviceobject, sectorsize, partitionnumber, partitiontype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSetPartitionInformationEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, partitionnumber: u32, partitioninfo: *const super::super::super::Win32::System::Ioctl::SET_PARTITION_INFORMATION_EX) -> ::windows_core::Result<()> { +pub unsafe fn IoSetPartitionInformationEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, partitionnumber: u32, partitioninfo: *const super::super::super::Win32::System::Ioctl::SET_PARTITION_INFORMATION_EX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetPartitionInformationEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, partitionnumber : u32, partitioninfo : *const super::super::super::Win32::System::Ioctl:: SET_PARTITION_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetPartitionInformationEx(deviceobject, partitionnumber, partitioninfo).ok() + IoSetPartitionInformationEx(deviceobject, partitionnumber, partitioninfo) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -3038,9 +3035,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoSetSystemPartition(volumenamestring: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoSetSystemPartition(volumenamestring: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetSystemPartition(volumenamestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSetSystemPartition(volumenamestring).ok() + IoSetSystemPartition(volumenamestring) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3116,9 +3113,9 @@ pub unsafe fn IoStopTimer(deviceobject: *const super::super::Foundation::DEVICE_ #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoSynchronousCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP) -> ::windows_core::Result<()> { +pub unsafe fn IoSynchronousCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoSynchronousCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoSynchronousCallDriver(deviceobject, irp).ok() + IoSynchronousCallDriver(deviceobject, irp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3168,16 +3165,16 @@ pub unsafe fn IoUnregisterContainerNotification(callbackregistration: *const ::c #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoUnregisterPlugPlayNotification(notificationentry: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoUnregisterPlugPlayNotification(notificationentry: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterPlugPlayNotification(notificationentry : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoUnregisterPlugPlayNotification(notificationentry).ok() + IoUnregisterPlugPlayNotification(notificationentry) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoUnregisterPlugPlayNotificationEx(notificationentry: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoUnregisterPlugPlayNotificationEx(notificationentry: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterPlugPlayNotificationEx(notificationentry : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoUnregisterPlugPlayNotificationEx(notificationentry).ok() + IoUnregisterPlugPlayNotificationEx(notificationentry) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -3210,165 +3207,165 @@ pub unsafe fn IoUpdateShareAccess(fileobject: *const super::super::Foundation::F #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoValidateDeviceIoControlAccess(irp: *const super::super::Foundation::IRP, requiredaccess: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoValidateDeviceIoControlAccess(irp: *const super::super::Foundation::IRP, requiredaccess: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoValidateDeviceIoControlAccess(irp : *const super::super::Foundation:: IRP, requiredaccess : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoValidateDeviceIoControlAccess(irp, requiredaccess).ok() + IoValidateDeviceIoControlAccess(irp, requiredaccess) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoVerifyPartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, fixerrors: P0) -> ::windows_core::Result<()> +pub unsafe fn IoVerifyPartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, fixerrors: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVerifyPartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, fixerrors : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVerifyPartitionTable(deviceobject, fixerrors.into_param().abi()).ok() + IoVerifyPartitionTable(deviceobject, fixerrors.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoVolumeDeviceNameToGuid(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn IoVolumeDeviceNameToGuid(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceNameToGuid(volumedevicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVolumeDeviceNameToGuid(volumedevicename, guid).ok() + IoVolumeDeviceNameToGuid(volumedevicename, guid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoVolumeDeviceNameToGuidPath(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoVolumeDeviceNameToGuidPath(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceNameToGuidPath(volumedevicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guidpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVolumeDeviceNameToGuidPath(volumedevicename, guidpath).ok() + IoVolumeDeviceNameToGuidPath(volumedevicename, guidpath) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToDosName(volumedeviceobject : *const ::core::ffi::c_void, dosname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVolumeDeviceToDosName(volumedeviceobject, dosname).ok() + IoVolumeDeviceToDosName(volumedeviceobject, dosname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoVolumeDeviceToGuid(volumedeviceobject: *const ::core::ffi::c_void, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn IoVolumeDeviceToGuid(volumedeviceobject: *const ::core::ffi::c_void, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToGuid(volumedeviceobject : *const ::core::ffi::c_void, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVolumeDeviceToGuid(volumedeviceobject, guid).ok() + IoVolumeDeviceToGuid(volumedeviceobject, guid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoVolumeDeviceToGuidPath(volumedeviceobject: *const ::core::ffi::c_void, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoVolumeDeviceToGuidPath(volumedeviceobject: *const ::core::ffi::c_void, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToGuidPath(volumedeviceobject : *const ::core::ffi::c_void, guidpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoVolumeDeviceToGuidPath(volumedeviceobject, guidpath).ok() + IoVolumeDeviceToGuidPath(volumedeviceobject, guidpath) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIAllocateInstanceIds(guid: *const ::windows_core::GUID, instancecount: u32, firstinstanceid: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIAllocateInstanceIds(guid: *const ::windows_core::GUID, instancecount: u32, firstinstanceid: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIAllocateInstanceIds(guid : *const ::windows_core::GUID, instancecount : u32, firstinstanceid : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIAllocateInstanceIds(guid, instancecount, firstinstanceid).ok() + IoWMIAllocateInstanceIds(guid, instancecount, firstinstanceid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoWMIDeviceObjectToInstanceName(datablockobject: *const ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIDeviceObjectToInstanceName(datablockobject: *const ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIDeviceObjectToInstanceName(datablockobject : *const ::core::ffi::c_void, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIDeviceObjectToInstanceName(datablockobject, deviceobject, instancename).ok() + IoWMIDeviceObjectToInstanceName(datablockobject, deviceobject, instancename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIExecuteMethod(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, methodid: u32, inbuffersize: u32, outbuffersize: *mut u32, inoutbuffer: ::core::option::Option<*mut u8>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIExecuteMethod(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, methodid: u32, inbuffersize: u32, outbuffersize: *mut u32, inoutbuffer: ::core::option::Option<*mut u8>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIExecuteMethod(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, methodid : u32, inbuffersize : u32, outbuffersize : *mut u32, inoutbuffer : *mut u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIExecuteMethod(datablockobject, instancename, methodid, inbuffersize, outbuffersize, ::core::mem::transmute(inoutbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + IoWMIExecuteMethod(datablockobject, instancename, methodid, inbuffersize, outbuffersize, ::core::mem::transmute(inoutbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIHandleToInstanceName(datablockobject: *const ::core::ffi::c_void, filehandle: P0, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn IoWMIHandleToInstanceName(datablockobject: *const ::core::ffi::c_void, filehandle: P0, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIHandleToInstanceName(datablockobject : *const ::core::ffi::c_void, filehandle : super::super::super::Win32::Foundation:: HANDLE, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIHandleToInstanceName(datablockobject, filehandle.into_param().abi(), instancename).ok() + IoWMIHandleToInstanceName(datablockobject, filehandle.into_param().abi(), instancename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIOpenBlock(guid: *const ::windows_core::GUID, desiredaccess: u32, datablockobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIOpenBlock(guid: *const ::windows_core::GUID, desiredaccess: u32, datablockobject: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIOpenBlock(guid : *const ::windows_core::GUID, desiredaccess : u32, datablockobject : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIOpenBlock(guid, desiredaccess, datablockobject).ok() + IoWMIOpenBlock(guid, desiredaccess, datablockobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIQueryAllData(datablockobject: *const ::core::ffi::c_void, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIQueryAllData(datablockobject: *const ::core::ffi::c_void, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQueryAllData(datablockobject : *const ::core::ffi::c_void, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIQueryAllData(datablockobject, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + IoWMIQueryAllData(datablockobject, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIQueryAllDataMultiple(datablockobjectlist: &[*const ::core::ffi::c_void], inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIQueryAllDataMultiple(datablockobjectlist: &[*const ::core::ffi::c_void], inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQueryAllDataMultiple(datablockobjectlist : *const *const ::core::ffi::c_void, objectcount : u32, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIQueryAllDataMultiple(::core::mem::transmute(datablockobjectlist.as_ptr()), datablockobjectlist.len() as _, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + IoWMIQueryAllDataMultiple(::core::mem::transmute(datablockobjectlist.as_ptr()), datablockobjectlist.len() as _, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIQuerySingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIQuerySingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQuerySingleInstance(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIQuerySingleInstance(datablockobject, instancename, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + IoWMIQuerySingleInstance(datablockobject, instancename, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIQuerySingleInstanceMultiple(datablockobjectlist: *const *const ::core::ffi::c_void, instancenames: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectcount: u32, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIQuerySingleInstanceMultiple(datablockobjectlist: *const *const ::core::ffi::c_void, instancenames: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectcount: u32, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQuerySingleInstanceMultiple(datablockobjectlist : *const *const ::core::ffi::c_void, instancenames : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectcount : u32, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIQuerySingleInstanceMultiple(datablockobjectlist, instancenames, objectcount, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + IoWMIQuerySingleInstanceMultiple(datablockobjectlist, instancenames, objectcount, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoWMIRegistrationControl(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, action: u32) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIRegistrationControl(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, action: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIRegistrationControl(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, action : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIRegistrationControl(deviceobject, action).ok() + IoWMIRegistrationControl(deviceobject, action) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMISetNotificationCallback(object: *mut ::core::ffi::c_void, callback: WMI_NOTIFICATION_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn IoWMISetNotificationCallback(object: *mut ::core::ffi::c_void, callback: WMI_NOTIFICATION_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetNotificationCallback(object : *mut ::core::ffi::c_void, callback : WMI_NOTIFICATION_CALLBACK, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMISetNotificationCallback(object, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + IoWMISetNotificationCallback(object, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMISetSingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoWMISetSingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetSingleInstance(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, version : u32, valuebuffersize : u32, valuebuffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMISetSingleInstance(datablockobject, instancename, version, valuebuffersize, valuebuffer).ok() + IoWMISetSingleInstance(datablockobject, instancename, version, valuebuffersize, valuebuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMISetSingleItem(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, dataitemid: u32, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoWMISetSingleItem(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, dataitemid: u32, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetSingleItem(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, dataitemid : u32, version : u32, valuebuffersize : u32, valuebuffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMISetSingleItem(datablockobject, instancename, dataitemid, version, valuebuffersize, valuebuffer).ok() + IoWMISetSingleItem(datablockobject, instancename, dataitemid, version, valuebuffersize, valuebuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoWMISuggestInstanceName(physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, symboliclinkname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, combinenames: P0, suggestedinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn IoWMISuggestInstanceName(physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, symboliclinkname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, combinenames: P0, suggestedinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISuggestInstanceName(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, combinenames : super::super::super::Win32::Foundation:: BOOLEAN, suggestedinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMISuggestInstanceName(::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(symboliclinkname.unwrap_or(::std::ptr::null())), combinenames.into_param().abi(), suggestedinstancename).ok() + IoWMISuggestInstanceName(::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(symboliclinkname.unwrap_or(::std::ptr::null())), combinenames.into_param().abi(), suggestedinstancename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWMIWriteEvent(wnodeeventitem: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn IoWMIWriteEvent(wnodeeventitem: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIWriteEvent(wnodeeventitem : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWMIWriteEvent(wnodeeventitem).ok() + IoWMIWriteEvent(wnodeeventitem) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3385,30 +3382,30 @@ pub unsafe fn IoWriteErrorLogEntry(elentry: *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn IoWriteKsrPersistentMemory(datahandle: *const ::core::ffi::c_void, buffer: *const ::core::ffi::c_void, size: usize) -> ::windows_core::Result<()> { +pub unsafe fn IoWriteKsrPersistentMemory(datahandle: *const ::core::ffi::c_void, buffer: *const ::core::ffi::c_void, size: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWriteKsrPersistentMemory(datahandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWriteKsrPersistentMemory(datahandle, buffer, size).ok() + IoWriteKsrPersistentMemory(datahandle, buffer, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoWritePartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, sectorspertrack: u32, numberofheads: u32, partitionbuffer: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn IoWritePartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, sectorspertrack: u32, numberofheads: u32, partitionbuffer: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWritePartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, sectorspertrack : u32, numberofheads : u32, partitionbuffer : *const super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWritePartitionTable(deviceobject, sectorsize, sectorspertrack, numberofheads, partitionbuffer).ok() + IoWritePartitionTable(deviceobject, sectorsize, sectorspertrack, numberofheads, partitionbuffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoWritePartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> ::windows_core::Result<()> { +pub unsafe fn IoWritePartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IoWritePartitionTableEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, drivelayout : *const super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS); - IoWritePartitionTableEx(deviceobject, drivelayout).ok() + IoWritePartitionTableEx(deviceobject, drivelayout) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IofCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> { +pub unsafe fn IofCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn IofCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - IofCallDriver(deviceobject, irp).ok() + IofCallDriver(deviceobject, irp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -3420,23 +3417,23 @@ pub unsafe fn IofCompleteRequest(irp: *const super::super::Foundation::IRP, prio #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KdChangeOption(option: KD_OPTION, inbufferbytes: u32, inbuffer: *const ::core::ffi::c_void, outbufferbytes: u32, outbuffer: *mut ::core::ffi::c_void, outbufferneeded: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn KdChangeOption(option: KD_OPTION, inbufferbytes: u32, inbuffer: *const ::core::ffi::c_void, outbufferbytes: u32, outbuffer: *mut ::core::ffi::c_void, outbufferneeded: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KdChangeOption(option : KD_OPTION, inbufferbytes : u32, inbuffer : *const ::core::ffi::c_void, outbufferbytes : u32, outbuffer : *mut ::core::ffi::c_void, outbufferneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KdChangeOption(option, inbufferbytes, inbuffer, outbufferbytes, outbuffer, outbufferneeded).ok() + KdChangeOption(option, inbufferbytes, inbuffer, outbufferbytes, outbuffer, outbufferneeded) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KdDisableDebugger() -> ::windows_core::Result<()> { +pub unsafe fn KdDisableDebugger() -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KdDisableDebugger() -> super::super::super::Win32::Foundation:: NTSTATUS); - KdDisableDebugger().ok() + KdDisableDebugger() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KdEnableDebugger() -> ::windows_core::Result<()> { +pub unsafe fn KdEnableDebugger() -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KdEnableDebugger() -> super::super::super::Win32::Foundation:: NTSTATUS); - KdEnableDebugger().ok() + KdEnableDebugger() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3496,9 +3493,9 @@ pub unsafe fn KeAcquireSpinLockForDpc(spinlock: *mut usize) -> u8 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn KeAddTriageDumpDataBlock(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, address: *const ::core::ffi::c_void, size: usize) -> ::windows_core::Result<()> { +pub unsafe fn KeAddTriageDumpDataBlock(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, address: *const ::core::ffi::c_void, size: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeAddTriageDumpDataBlock(ktriagedumpdataarray : *mut KTRIAGE_DUMP_DATA_ARRAY, address : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeAddTriageDumpDataBlock(ktriagedumpdataarray, address, size).ok() + KeAddTriageDumpDataBlock(ktriagedumpdataarray, address, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3543,33 +3540,33 @@ pub unsafe fn KeClearEvent(event: *mut super::super::Foundation::KEVENT) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue: u64, performancecountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { +pub unsafe fn KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue: u64, performancecountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue : u64, performancecountervalue : *mut u64, conversionerror : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue, performancecountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))).ok() + KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue, performancecountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue: u64, auxiliarycountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { +pub unsafe fn KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue: u64, auxiliarycountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue : u64, auxiliarycountervalue : *mut u64, conversionerror : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue, auxiliarycountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))).ok() + KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue, auxiliarycountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeDelayExecutionThread(waitmode: i8, alertable: P0, interval: *const i64) -> ::windows_core::Result<()> +pub unsafe fn KeDelayExecutionThread(waitmode: i8, alertable: P0, interval: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeDelayExecutionThread(waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, interval : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeDelayExecutionThread(waitmode, alertable.into_param().abi(), interval).ok() + KeDelayExecutionThread(waitmode, alertable.into_param().abi(), interval) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeDeregisterBoundCallback(handle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn KeDeregisterBoundCallback(handle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterBoundCallback(handle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeDeregisterBoundCallback(handle).ok() + KeDeregisterBoundCallback(handle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -3588,9 +3585,9 @@ pub unsafe fn KeDeregisterBugCheckReasonCallback(callbackrecord: *mut KBUGCHECK_ #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeDeregisterNmiCallback(handle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn KeDeregisterNmiCallback(handle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterNmiCallback(handle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeDeregisterNmiCallback(handle).ok() + KeDeregisterNmiCallback(handle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3613,19 +3610,19 @@ pub unsafe fn KeEnterGuardedRegion() { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeExpandKernelStackAndCallout(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize) -> ::windows_core::Result<()> { +pub unsafe fn KeExpandKernelStackAndCallout(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeExpandKernelStackAndCallout(callout : PEXPAND_STACK_CALLOUT, parameter : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeExpandKernelStackAndCallout(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size).ok() + KeExpandKernelStackAndCallout(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeExpandKernelStackAndCalloutEx(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize, wait: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn KeExpandKernelStackAndCalloutEx(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize, wait: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeExpandKernelStackAndCalloutEx(callout : PEXPAND_STACK_CALLOUT, parameter : *const ::core::ffi::c_void, size : usize, wait : super::super::super::Win32::Foundation:: BOOLEAN, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeExpandKernelStackAndCalloutEx(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size, wait.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + KeExpandKernelStackAndCalloutEx(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size, wait.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -3679,9 +3676,9 @@ pub unsafe fn KeGetProcessorIndexFromNumber(procnumber: *const super::super::sup #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn KeGetProcessorNumberFromIndex(procindex: u32, procnumber: *mut super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> ::windows_core::Result<()> { +pub unsafe fn KeGetProcessorNumberFromIndex(procindex: u32, procnumber: *mut super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetProcessorNumberFromIndex(procindex : u32, procnumber : *mut super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeGetProcessorNumberFromIndex(procindex, procnumber).ok() + KeGetProcessorNumberFromIndex(procindex, procnumber) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3692,9 +3689,9 @@ pub unsafe fn KeGetRecommendedSharedDataAlignment() -> u32 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeInitializeCrashDumpHeader(dumptype: u32, flags: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32, bufferneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn KeInitializeCrashDumpHeader(dumptype: u32, flags: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32, bufferneeded: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeCrashDumpHeader(dumptype : u32, flags : u32, buffer : *mut ::core::ffi::c_void, buffersize : u32, bufferneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeInitializeCrashDumpHeader(dumptype, flags, buffer, buffersize, ::core::mem::transmute(bufferneeded.unwrap_or(::std::ptr::null_mut()))).ok() + KeInitializeCrashDumpHeader(dumptype, flags, buffer, buffersize, ::core::mem::transmute(bufferneeded.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -3773,9 +3770,9 @@ pub unsafe fn KeInitializeTimerEx(timer: *mut KTIMER, r#type: super::super::supe #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn KeInitializeTriageDumpDataArray(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, size: u32) -> ::windows_core::Result<()> { +pub unsafe fn KeInitializeTriageDumpDataArray(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, size: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeTriageDumpDataArray(ktriagedumpdataarray : *mut KTRIAGE_DUMP_DATA_ARRAY, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeInitializeTriageDumpDataArray(ktriagedumpdataarray, size).ok() + KeInitializeTriageDumpDataArray(ktriagedumpdataarray, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -3872,16 +3869,16 @@ pub unsafe fn KeQueryActiveProcessors() -> usize { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeQueryAuxiliaryCounterFrequency(auxiliarycounterfrequency: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { +pub unsafe fn KeQueryAuxiliaryCounterFrequency(auxiliarycounterfrequency: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryAuxiliaryCounterFrequency(auxiliarycounterfrequency : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeQueryAuxiliaryCounterFrequency(::core::mem::transmute(auxiliarycounterfrequency.unwrap_or(::std::ptr::null_mut()))).ok() + KeQueryAuxiliaryCounterFrequency(::core::mem::transmute(auxiliarycounterfrequency.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeQueryDpcWatchdogInformation(watchdoginformation: *mut KDPC_WATCHDOG_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn KeQueryDpcWatchdogInformation(watchdoginformation: *mut KDPC_WATCHDOG_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryDpcWatchdogInformation(watchdoginformation : *mut KDPC_WATCHDOG_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeQueryDpcWatchdogInformation(watchdoginformation).ok() + KeQueryDpcWatchdogInformation(watchdoginformation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3892,9 +3889,9 @@ pub unsafe fn KeQueryGroupAffinity(groupnumber: u16) -> usize { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeQueryHardwareCounterConfiguration(counterarray: &mut [HARDWARE_COUNTER], count: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn KeQueryHardwareCounterConfiguration(counterarray: &mut [HARDWARE_COUNTER], count: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryHardwareCounterConfiguration(counterarray : *mut HARDWARE_COUNTER, maximumcount : u32, count : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeQueryHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _, count).ok() + KeQueryHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _, count) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3911,9 +3908,9 @@ pub unsafe fn KeQueryInterruptTimePrecise(qpctimestamp: *mut u64) -> u64 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn KeQueryLogicalProcessorRelationship(processornumber: ::core::option::Option<*const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER>, relationshiptype: super::super::super::Win32::System::SystemInformation::LOGICAL_PROCESSOR_RELATIONSHIP, information: ::core::option::Option<*mut super::super::super::Win32::System::SystemInformation::SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX>, length: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn KeQueryLogicalProcessorRelationship(processornumber: ::core::option::Option<*const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER>, relationshiptype: super::super::super::Win32::System::SystemInformation::LOGICAL_PROCESSOR_RELATIONSHIP, information: ::core::option::Option<*mut super::super::super::Win32::System::SystemInformation::SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX>, length: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryLogicalProcessorRelationship(processornumber : *const super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER, relationshiptype : super::super::super::Win32::System::SystemInformation:: LOGICAL_PROCESSOR_RELATIONSHIP, information : *mut super::super::super::Win32::System::SystemInformation:: SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, length : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeQueryLogicalProcessorRelationship(::core::mem::transmute(processornumber.unwrap_or(::std::ptr::null())), relationshiptype, ::core::mem::transmute(information.unwrap_or(::std::ptr::null_mut())), length).ok() + KeQueryLogicalProcessorRelationship(::core::mem::transmute(processornumber.unwrap_or(::std::ptr::null())), relationshiptype, ::core::mem::transmute(information.unwrap_or(::std::ptr::null_mut())), length) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -3943,9 +3940,9 @@ pub unsafe fn KeQueryNodeActiveAffinity(nodenumber: u16, affinity: ::core::optio #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn KeQueryNodeActiveAffinity2(nodenumber: u16, groupaffinities: ::core::option::Option<&mut [super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, groupaffinitiesrequired: *mut u16) -> ::windows_core::Result<()> { +pub unsafe fn KeQueryNodeActiveAffinity2(nodenumber: u16, groupaffinities: ::core::option::Option<&mut [super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, groupaffinitiesrequired: *mut u16) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryNodeActiveAffinity2(nodenumber : u16, groupaffinities : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupaffinitiescount : u16, groupaffinitiesrequired : *mut u16) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeQueryNodeActiveAffinity2(nodenumber, ::core::mem::transmute(groupaffinities.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinities.as_deref().map_or(0, |slice| slice.len() as _), groupaffinitiesrequired).ok() + KeQueryNodeActiveAffinity2(nodenumber, ::core::mem::transmute(groupaffinities.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinities.as_deref().map_or(0, |slice| slice.len() as _), groupaffinitiesrequired) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4231,9 +4228,9 @@ pub unsafe fn KeRevertToUserGroupAffinityThread(previousaffinity: *const super:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn KeSaveExtendedProcessorState(mask: u64, xstatesave: *mut XSTATE_SAVE) -> ::windows_core::Result<()> { +pub unsafe fn KeSaveExtendedProcessorState(mask: u64, xstatesave: *mut XSTATE_SAVE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeSaveExtendedProcessorState(mask : u64, xstatesave : *mut XSTATE_SAVE) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeSaveExtendedProcessorState(mask, xstatesave).ok() + KeSaveExtendedProcessorState(mask, xstatesave) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -4265,9 +4262,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeSetHardwareCounterConfiguration(counterarray: &[HARDWARE_COUNTER]) -> ::windows_core::Result<()> { +pub unsafe fn KeSetHardwareCounterConfiguration(counterarray: &[HARDWARE_COUNTER]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetHardwareCounterConfiguration(counterarray : *const HARDWARE_COUNTER, count : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeSetHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _).ok() + KeSetHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] @@ -4315,9 +4312,9 @@ pub unsafe fn KeSetTargetProcessorDpc(dpc: *mut super::super::Foundation::KDPC, #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn KeSetTargetProcessorDpcEx(dpc: *mut super::super::Foundation::KDPC, procnumber: *const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> ::windows_core::Result<()> { +pub unsafe fn KeSetTargetProcessorDpcEx(dpc: *mut super::super::Foundation::KDPC, procnumber: *const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetTargetProcessorDpcEx(dpc : *mut super::super::Foundation:: KDPC, procnumber : *const super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeSetTargetProcessorDpcEx(dpc, procnumber).ok() + KeSetTargetProcessorDpcEx(dpc, procnumber) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -4379,22 +4376,22 @@ pub unsafe fn KeTryToAcquireSpinLockAtDpcLevel(spinlock: *mut usize) -> super::s #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn KeWaitForMultipleObjects(object: &[*const ::core::ffi::c_void], waittype: super::super::super::Win32::System::Kernel::WAIT_TYPE, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*mut super::super::Foundation::KWAIT_BLOCK>) -> ::windows_core::Result<()> +pub unsafe fn KeWaitForMultipleObjects(object: &[*const ::core::ffi::c_void], waittype: super::super::super::Win32::System::Kernel::WAIT_TYPE, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*mut super::super::Foundation::KWAIT_BLOCK>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeWaitForMultipleObjects(count : u32, object : *const *const ::core::ffi::c_void, waittype : super::super::super::Win32::System::Kernel:: WAIT_TYPE, waitreason : KWAIT_REASON, waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *const i64, waitblockarray : *mut super::super::Foundation:: KWAIT_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeWaitForMultipleObjects(object.len() as _, ::core::mem::transmute(object.as_ptr()), waittype, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null_mut()))).ok() + KeWaitForMultipleObjects(object.len() as _, ::core::mem::transmute(object.as_ptr()), waittype, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn KeWaitForSingleObject(object: *const ::core::ffi::c_void, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn KeWaitForSingleObject(object: *const ::core::ffi::c_void, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn KeWaitForSingleObject(object : *const ::core::ffi::c_void, waitreason : KWAIT_REASON, waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - KeWaitForSingleObject(object, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))).ok() + KeWaitForSingleObject(object, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4405,30 +4402,30 @@ pub unsafe fn KfRaiseIrql(newirql: u8) -> u8 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmAddPhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn MmAddPhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddPhysicalMemory(startaddress : *const i64, numberofbytes : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAddPhysicalMemory(startaddress, numberofbytes).ok() + MmAddPhysicalMemory(startaddress, numberofbytes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmAddVerifierSpecialThunks(entryroutine: usize, thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmAddVerifierSpecialThunks(entryroutine: usize, thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddVerifierSpecialThunks(entryroutine : usize, thunkbuffer : *const ::core::ffi::c_void, thunkbuffersize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAddVerifierSpecialThunks(entryroutine, thunkbuffer, thunkbuffersize).ok() + MmAddVerifierSpecialThunks(entryroutine, thunkbuffer, thunkbuffersize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmAddVerifierThunks(thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmAddVerifierThunks(thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddVerifierThunks(thunkbuffer : *const ::core::ffi::c_void, thunkbuffersize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAddVerifierThunks(thunkbuffer, thunkbuffersize).ok() + MmAddVerifierThunks(thunkbuffer, thunkbuffersize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmAdvanceMdl(mdl: *mut super::super::Foundation::MDL, numberofbytes: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmAdvanceMdl(mdl: *mut super::super::Foundation::MDL, numberofbytes: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAdvanceMdl(mdl : *mut super::super::Foundation:: MDL, numberofbytes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAdvanceMdl(mdl, numberofbytes).ok() + MmAdvanceMdl(mdl, numberofbytes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4439,9 +4436,9 @@ pub unsafe fn MmAllocateContiguousMemory(numberofbytes: usize, highestacceptable #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmAllocateContiguousMemoryEx(numberofbytes: *const usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, preferrednode: u32, protect: u32, partitionobject: ::core::option::Option<*const ::core::ffi::c_void>, tag: u32, flags: u32, baseaddress: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn MmAllocateContiguousMemoryEx(numberofbytes: *const usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, preferrednode: u32, protect: u32, partitionobject: ::core::option::Option<*const ::core::ffi::c_void>, tag: u32, flags: u32, baseaddress: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousMemoryEx(numberofbytes : *const usize, lowestacceptableaddress : i64, highestacceptableaddress : i64, boundaryaddressmultiple : i64, preferrednode : u32, protect : u32, partitionobject : *const ::core::ffi::c_void, tag : u32, flags : u32, baseaddress : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAllocateContiguousMemoryEx(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, preferrednode, protect, ::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())), tag, flags, baseaddress).ok() + MmAllocateContiguousMemoryEx(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, preferrednode, protect, ::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())), tag, flags, baseaddress) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4476,9 +4473,9 @@ pub unsafe fn MmAllocateMappingAddressEx(numberofbytes: usize, pooltag: u32, fla #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmAllocateMdlForIoSpace(physicaladdresslist: &[MM_PHYSICAL_ADDRESS_LIST], newmdl: *mut *mut super::super::Foundation::MDL) -> ::windows_core::Result<()> { +pub unsafe fn MmAllocateMdlForIoSpace(physicaladdresslist: &[MM_PHYSICAL_ADDRESS_LIST], newmdl: *mut *mut super::super::Foundation::MDL) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateMdlForIoSpace(physicaladdresslist : *const MM_PHYSICAL_ADDRESS_LIST, numberofentries : usize, newmdl : *mut *mut super::super::Foundation:: MDL) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmAllocateMdlForIoSpace(::core::mem::transmute(physicaladdresslist.as_ptr()), physicaladdresslist.len() as _, newmdl).ok() + MmAllocateMdlForIoSpace(::core::mem::transmute(physicaladdresslist.as_ptr()), physicaladdresslist.len() as _, newmdl) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -4531,9 +4528,9 @@ pub unsafe fn MmBuildMdlForNonPagedPool(memorydescriptorlist: *mut super::super: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmCopyMemory(targetaddress: *const ::core::ffi::c_void, sourceaddress: MM_COPY_ADDRESS, numberofbytes: usize, flags: u32, numberofbytestransferred: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn MmCopyMemory(targetaddress: *const ::core::ffi::c_void, sourceaddress: MM_COPY_ADDRESS, numberofbytes: usize, flags: u32, numberofbytestransferred: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmCopyMemory(targetaddress : *const ::core::ffi::c_void, sourceaddress : MM_COPY_ADDRESS, numberofbytes : usize, flags : u32, numberofbytestransferred : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmCopyMemory(targetaddress, ::core::mem::transmute(sourceaddress), numberofbytes, flags, numberofbytestransferred).ok() + MmCopyMemory(targetaddress, ::core::mem::transmute(sourceaddress), numberofbytes, flags, numberofbytestransferred) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -4545,9 +4542,9 @@ pub unsafe fn MmCreateMdl(memorydescriptorlist: ::core::option::Option<*mut supe #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmCreateMirror() -> ::windows_core::Result<()> { +pub unsafe fn MmCreateMirror() -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmCreateMirror() -> super::super::super::Win32::Foundation:: NTSTATUS); - MmCreateMirror().ok() + MmCreateMirror() } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4590,16 +4587,16 @@ pub unsafe fn MmFreePagesFromMdlEx(memorydescriptorlist: *mut super::super::Foun #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmGetCacheAttribute(physicaladdress: i64, cachetype: *mut MEMORY_CACHING_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn MmGetCacheAttribute(physicaladdress: i64, cachetype: *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetCacheAttribute(physicaladdress : i64, cachetype : *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmGetCacheAttribute(physicaladdress, cachetype).ok() + MmGetCacheAttribute(physicaladdress, cachetype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmGetCacheAttributeEx(physicaladdress: i64, flags: u32, cachetype: *mut MEMORY_CACHING_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn MmGetCacheAttributeEx(physicaladdress: i64, flags: u32, cachetype: *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetCacheAttributeEx(physicaladdress : i64, flags : u32, cachetype : *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmGetCacheAttributeEx(physicaladdress, flags, cachetype).ok() + MmGetCacheAttributeEx(physicaladdress, flags, cachetype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4688,9 +4685,9 @@ pub unsafe fn MmIsThisAnNtAsSystem() -> super::super::super::Win32::Foundation:: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmIsVerifierEnabled(verifierflags: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn MmIsVerifierEnabled(verifierflags: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsVerifierEnabled(verifierflags : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmIsVerifierEnabled(verifierflags).ok() + MmIsVerifierEnabled(verifierflags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4740,23 +4737,23 @@ pub unsafe fn MmMapLockedPagesWithReservedMapping(mappingaddress: *const ::core: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmMapMdl(memorydescriptorlist: *mut super::super::Foundation::MDL, protection: u32, driverroutine: PMM_MDL_ROUTINE, drivercontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn MmMapMdl(memorydescriptorlist: *mut super::super::Foundation::MDL, protection: u32, driverroutine: PMM_MDL_ROUTINE, drivercontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapMdl(memorydescriptorlist : *mut super::super::Foundation:: MDL, protection : u32, driverroutine : PMM_MDL_ROUTINE, drivercontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapMdl(memorydescriptorlist, protection, driverroutine, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok() + MmMapMdl(memorydescriptorlist, protection, driverroutine, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmMapMemoryDumpMdlEx(va: *const ::core::ffi::c_void, pagetotal: u32, memorydumpmdl: *mut super::super::Foundation::MDL, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmMapMemoryDumpMdlEx(va: *const ::core::ffi::c_void, pagetotal: u32, memorydumpmdl: *mut super::super::Foundation::MDL, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapMemoryDumpMdlEx(va : *const ::core::ffi::c_void, pagetotal : u32, memorydumpmdl : *mut super::super::Foundation:: MDL, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapMemoryDumpMdlEx(va, pagetotal, memorydumpmdl, flags).ok() + MmMapMemoryDumpMdlEx(va, pagetotal, memorydumpmdl, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmMapUserAddressesToPage(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize, pageaddress: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn MmMapUserAddressesToPage(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize, pageaddress: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapUserAddressesToPage(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize, pageaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapUserAddressesToPage(baseaddress, numberofbytes, pageaddress).ok() + MmMapUserAddressesToPage(baseaddress, numberofbytes, pageaddress) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4767,30 +4764,30 @@ pub unsafe fn MmMapVideoDisplay(physicaladdress: i64, numberofbytes: usize, cach #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmMapViewInSessionSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn MmMapViewInSessionSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSessionSpace(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapViewInSessionSpace(section, mappedbase, viewsize).ok() + MmMapViewInSessionSpace(section, mappedbase, viewsize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmMapViewInSessionSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> ::windows_core::Result<()> { +pub unsafe fn MmMapViewInSessionSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSessionSpaceEx(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize, sectionoffset : *mut i64, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapViewInSessionSpaceEx(section, mappedbase, viewsize, sectionoffset, flags).ok() + MmMapViewInSessionSpaceEx(section, mappedbase, viewsize, sectionoffset, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmMapViewInSystemSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> ::windows_core::Result<()> { +pub unsafe fn MmMapViewInSystemSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSystemSpace(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapViewInSystemSpace(section, mappedbase, viewsize).ok() + MmMapViewInSystemSpace(section, mappedbase, viewsize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmMapViewInSystemSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> ::windows_core::Result<()> { +pub unsafe fn MmMapViewInSystemSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSystemSpaceEx(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize, sectionoffset : *mut i64, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmMapViewInSystemSpaceEx(section, mappedbase, viewsize, sectionoffset, flags).ok() + MmMapViewInSystemSpaceEx(section, mappedbase, viewsize, sectionoffset, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -4832,16 +4829,16 @@ pub unsafe fn MmProbeAndLockSelectedPages(memorydescriptorlist: *mut super::supe #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmProtectDriverSection(addresswithinsection: *const ::core::ffi::c_void, size: usize, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmProtectDriverSection(addresswithinsection: *const ::core::ffi::c_void, size: usize, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmProtectDriverSection(addresswithinsection : *const ::core::ffi::c_void, size : usize, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmProtectDriverSection(addresswithinsection, size, flags).ok() + MmProtectDriverSection(addresswithinsection, size, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmProtectMdlSystemAddress(memorydescriptorlist: *const super::super::Foundation::MDL, newprotect: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmProtectMdlSystemAddress(memorydescriptorlist: *const super::super::Foundation::MDL, newprotect: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmProtectMdlSystemAddress(memorydescriptorlist : *const super::super::Foundation:: MDL, newprotect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmProtectMdlSystemAddress(memorydescriptorlist, newprotect).ok() + MmProtectMdlSystemAddress(memorydescriptorlist, newprotect) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4852,9 +4849,9 @@ pub unsafe fn MmQuerySystemSize() -> MM_SYSTEMSIZE { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmRemovePhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn MmRemovePhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmRemovePhysicalMemory(startaddress : *const i64, numberofbytes : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmRemovePhysicalMemory(startaddress, numberofbytes).ok() + MmRemovePhysicalMemory(startaddress, numberofbytes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4865,9 +4862,9 @@ pub unsafe fn MmResetDriverPaging(addresswithinsection: *const ::core::ffi::c_vo #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn MmRotatePhysicalView(virtualaddress: *const ::core::ffi::c_void, numberofbytes: *mut usize, newmdl: ::core::option::Option<*const super::super::Foundation::MDL>, direction: MM_ROTATE_DIRECTION, copyfunction: PMM_ROTATE_COPY_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn MmRotatePhysicalView(virtualaddress: *const ::core::ffi::c_void, numberofbytes: *mut usize, newmdl: ::core::option::Option<*const super::super::Foundation::MDL>, direction: MM_ROTATE_DIRECTION, copyfunction: PMM_ROTATE_COPY_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmRotatePhysicalView(virtualaddress : *const ::core::ffi::c_void, numberofbytes : *mut usize, newmdl : *const super::super::Foundation:: MDL, direction : MM_ROTATE_DIRECTION, copyfunction : PMM_ROTATE_COPY_CALLBACK_FUNCTION, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmRotatePhysicalView(virtualaddress, numberofbytes, ::core::mem::transmute(newmdl.unwrap_or(::std::ptr::null())), direction, copyfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + MmRotatePhysicalView(virtualaddress, numberofbytes, ::core::mem::transmute(newmdl.unwrap_or(::std::ptr::null())), direction, copyfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4886,9 +4883,9 @@ pub unsafe fn MmSecureVirtualMemoryEx(address: *const ::core::ffi::c_void, size: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmSetPermanentCacheAttribute(startaddress: i64, numberofbytes: i64, cachetype: MEMORY_CACHING_TYPE, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn MmSetPermanentCacheAttribute(startaddress: i64, numberofbytes: i64, cachetype: MEMORY_CACHING_TYPE, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmSetPermanentCacheAttribute(startaddress : i64, numberofbytes : i64, cachetype : MEMORY_CACHING_TYPE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmSetPermanentCacheAttribute(startaddress, numberofbytes, cachetype, flags).ok() + MmSetPermanentCacheAttribute(startaddress, numberofbytes, cachetype, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -4938,16 +4935,16 @@ pub unsafe fn MmUnmapVideoDisplay(baseaddress: *const ::core::ffi::c_void, numbe #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmUnmapViewInSessionSpace(mappedbase: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn MmUnmapViewInSessionSpace(mappedbase: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapViewInSessionSpace(mappedbase : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmUnmapViewInSessionSpace(mappedbase).ok() + MmUnmapViewInSessionSpace(mappedbase) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn MmUnmapViewInSystemSpace(mappedbase: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn MmUnmapViewInSystemSpace(mappedbase: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapViewInSystemSpace(mappedbase : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - MmUnmapViewInSystemSpace(mappedbase).ok() + MmUnmapViewInSystemSpace(mappedbase) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4962,429 +4959,429 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtCommitComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtCommitComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCommitComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtCommitEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtCommitEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCommitEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtCommitTransaction(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()> +pub unsafe fn NtCommitTransaction(transactionhandle: P0, wait: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCommitTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok() + NtCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn NtCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok() + NtCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtCreateResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, rmguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn NtCreateResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, rmguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, rmguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), rmguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok() + NtCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), rmguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtCreateTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn NtCreateTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE, createoptions : u32, isolationlevel : u32, isolationflags : u32, timeout : *const i64, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok() + NtCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> ::windows_core::Result<()> { +pub unsafe fn NtCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtCreateTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, commitstrength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength).ok() + NtCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtEnumerateTransactionObject(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtEnumerateTransactionObject(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtEnumerateTransactionObject(rootobjecthandle : super::super::super::Win32::Foundation:: HANDLE, querytype : super::super::super::Win32::System::SystemServices:: KTMOBJECT_TYPE, objectcursor : *mut super::super::super::Win32::System::SystemServices:: KTMOBJECT_CURSOR, objectcursorlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength).ok() + NtEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn NtGetNotificationResourceManager(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: ::core::option::Option<*const i64>, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> ::windows_core::Result<()> +pub unsafe fn NtGetNotificationResourceManager(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: ::core::option::Option<*const i64>, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtGetNotificationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionnotification : *mut super::super::super::Win32::Storage::FileSystem:: TRANSACTION_NOTIFICATION, notificationlength : u32, timeout : *const i64, returnlength : *mut u32, asynchronous : u32, asynchronouscontext : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext).ok() + NtGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtManagePartition(targethandle: P0, sourcehandle: P1, partitioninformationclass: PARTITION_INFORMATION_CLASS, partitioninformation: *mut ::core::ffi::c_void, partitioninformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtManagePartition(targethandle: P0, sourcehandle: P1, partitioninformationclass: PARTITION_INFORMATION_CLASS, partitioninformation: *mut ::core::ffi::c_void, partitioninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtManagePartition(targethandle : super::super::super::Win32::Foundation:: HANDLE, sourcehandle : super::super::super::Win32::Foundation:: HANDLE, partitioninformationclass : PARTITION_INFORMATION_CLASS, partitioninformation : *mut ::core::ffi::c_void, partitioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtManagePartition(targethandle.into_param().abi(), sourcehandle.into_param().abi(), partitioninformationclass, partitioninformation, partitioninformationlength).ok() + NtManagePartition(targethandle.into_param().abi(), sourcehandle.into_param().abi(), partitioninformationclass, partitioninformation, partitioninformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtOpenEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()> +pub unsafe fn NtOpenEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok() + NtOpenEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn NtOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> ::windows_core::Result<()> { +pub unsafe fn NtOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenProcess(processhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, clientid : *const super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))).ok() + NtOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtOpenRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn NtOpenRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenRegistryTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenRegistryTransaction(transactionhandle, desiredaccess, objectattributes).ok() + NtOpenRegistryTransaction(transactionhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtOpenResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()> +pub unsafe fn NtOpenResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok() + NtOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtOpenTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, uow: *const ::windows_core::GUID, tmhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtOpenTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, uow: *const ::windows_core::GUID, tmhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenTransaction(transactionhandle, desiredaccess, objectattributes, uow, tmhandle.into_param().abi()).ok() + NtOpenTransaction(transactionhandle, desiredaccess, objectattributes, uow, tmhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn NtOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn NtOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtOpenTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmidentity : *const ::windows_core::GUID, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions).ok() + NtOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] #[inline] -pub unsafe fn NtPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn NtPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtPowerInformation(informationlevel : super::super::super::Win32::System::Power:: POWER_INFORMATION_LEVEL, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + NtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPrePrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtPrePrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrePrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPrePrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtPrePrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrePrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtPrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtPrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPropagationComplete(resourcemanagerhandle: P0, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn NtPropagationComplete(resourcemanagerhandle: P0, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPropagationComplete(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, requestcookie : u32, bufferlength : u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPropagationComplete(resourcemanagerhandle.into_param().abi(), requestcookie, bufferlength, buffer).ok() + NtPropagationComplete(resourcemanagerhandle.into_param().abi(), requestcookie, bufferlength, buffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtPropagationFailed(resourcemanagerhandle: P0, requestcookie: u32, propstatus: P1) -> ::windows_core::Result<()> +pub unsafe fn NtPropagationFailed(resourcemanagerhandle: P0, requestcookie: u32, propstatus: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtPropagationFailed(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, requestcookie : u32, propstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtPropagationFailed(resourcemanagerhandle.into_param().abi(), requestcookie, propstatus.into_param().abi()).ok() + NtPropagationFailed(resourcemanagerhandle.into_param().abi(), requestcookie, propstatus.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtQueryInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *mut ::core::ffi::c_void, enlistmentinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, returnlength).ok() + NtQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtQueryInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *mut ::core::ffi::c_void, resourcemanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtQueryInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *mut ::core::ffi::c_void, transactioninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + NtQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtQueryInformationTransactionManager(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationTransactionManager(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *mut ::core::ffi::c_void, transactionmanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, returnlength).ok() + NtQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtReadOnlyEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtReadOnlyEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtReadOnlyEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRecoverEnlistment(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn NtRecoverEnlistment(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRecoverEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok() + NtRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRecoverResourceManager(resourcemanagerhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtRecoverResourceManager(resourcemanagerhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRecoverResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRecoverResourceManager(resourcemanagerhandle.into_param().abi()).ok() + NtRecoverResourceManager(resourcemanagerhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRecoverTransactionManager(transactionmanagerhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn NtRecoverTransactionManager(transactionmanagerhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRecoverTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRecoverTransactionManager(transactionmanagerhandle.into_param().abi()).ok() + NtRecoverTransactionManager(transactionmanagerhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRegisterProtocolAddressInformation(resourcemanager: P0, protocolid: *const ::windows_core::GUID, protocolinformationsize: u32, protocolinformation: *const ::core::ffi::c_void, createoptions: u32) -> ::windows_core::Result<()> +pub unsafe fn NtRegisterProtocolAddressInformation(resourcemanager: P0, protocolid: *const ::windows_core::GUID, protocolinformationsize: u32, protocolinformation: *const ::core::ffi::c_void, createoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRegisterProtocolAddressInformation(resourcemanager : super::super::super::Win32::Foundation:: HANDLE, protocolid : *const ::windows_core::GUID, protocolinformationsize : u32, protocolinformation : *const ::core::ffi::c_void, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRegisterProtocolAddressInformation(resourcemanager.into_param().abi(), protocolid, protocolinformationsize, protocolinformation, createoptions).ok() + NtRegisterProtocolAddressInformation(resourcemanager.into_param().abi(), protocolid, protocolinformationsize, protocolinformation, createoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn NtRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn NtRenameTransactionManager(logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, existingtransactionmanagerguid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRenameTransactionManager(logfilename, existingtransactionmanagerguid).ok() + NtRenameTransactionManager(logfilename, existingtransactionmanagerguid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRollbackComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtRollbackComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRollbackComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRollbackEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtRollbackEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRollbackEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRollbackRegistryTransaction(transactionhandle: P0, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn NtRollbackRegistryTransaction(transactionhandle: P0, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRollbackRegistryTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRollbackRegistryTransaction(transactionhandle.into_param().abi(), flags).ok() + NtRollbackRegistryTransaction(transactionhandle.into_param().abi(), flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRollbackTransaction(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()> +pub unsafe fn NtRollbackTransaction(transactionhandle: P0, wait: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRollbackTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok() + NtRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtRollforwardTransactionManager(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtRollforwardTransactionManager(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtRollforwardTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtSetInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *const ::core::ffi::c_void, enlistmentinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength).ok() + NtSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtSetInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *const ::core::ffi::c_void, resourcemanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength).ok() + NtSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtSetInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *const ::core::ffi::c_void, transactioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength).ok() + NtSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn NtSetInformationTransactionManager(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationTransactionManager(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationTransactionManager(tmhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *const ::core::ffi::c_void, transactionmanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength).ok() + NtSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtSinglePhaseReject(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn NtSinglePhaseReject(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSinglePhaseReject(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + NtSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ObCloseHandle(handle: P0, previousmode: i8) -> ::windows_core::Result<()> +pub unsafe fn ObCloseHandle(handle: P0, previousmode: i8) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObCloseHandle(handle : super::super::super::Win32::Foundation:: HANDLE, previousmode : i8) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObCloseHandle(handle.into_param().abi(), previousmode).ok() + ObCloseHandle(handle.into_param().abi(), previousmode) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5407,51 +5404,51 @@ pub unsafe fn ObGetFilterVersion() -> u16 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ObGetObjectSecurity(object: *const ::core::ffi::c_void, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, memoryallocated: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> { +pub unsafe fn ObGetObjectSecurity(object: *const ::core::ffi::c_void, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, memoryallocated: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObGetObjectSecurity(object : *const ::core::ffi::c_void, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, memoryallocated : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObGetObjectSecurity(object, securitydescriptor, memoryallocated).ok() + ObGetObjectSecurity(object, securitydescriptor, memoryallocated) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObReferenceObjectByHandle(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> ::windows_core::Result<()> +pub unsafe fn ObReferenceObjectByHandle(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByHandle(handle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, object : *mut *mut ::core::ffi::c_void, handleinformation : *mut OBJECT_HANDLE_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObReferenceObjectByHandle(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))).ok() + ObReferenceObjectByHandle(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObReferenceObjectByHandleWithTag(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, tag: u32, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> ::windows_core::Result<()> +pub unsafe fn ObReferenceObjectByHandleWithTag(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, tag: u32, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByHandleWithTag(handle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, tag : u32, object : *mut *mut ::core::ffi::c_void, handleinformation : *mut OBJECT_HANDLE_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObReferenceObjectByHandleWithTag(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, tag, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))).ok() + ObReferenceObjectByHandleWithTag(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, tag, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObReferenceObjectByPointer(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8) -> ::windows_core::Result<()> +pub unsafe fn ObReferenceObjectByPointer(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByPointer(object : *const ::core::ffi::c_void, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObReferenceObjectByPointer(object, desiredaccess, objecttype.into_param().abi(), accessmode).ok() + ObReferenceObjectByPointer(object, desiredaccess, objecttype.into_param().abi(), accessmode) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObReferenceObjectByPointerWithTag(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8, tag: u32) -> ::windows_core::Result<()> +pub unsafe fn ObReferenceObjectByPointerWithTag(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8, tag: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByPointerWithTag(object : *const ::core::ffi::c_void, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, tag : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObReferenceObjectByPointerWithTag(object, desiredaccess, objecttype.into_param().abi(), accessmode, tag).ok() + ObReferenceObjectByPointerWithTag(object, desiredaccess, objecttype.into_param().abi(), accessmode, tag) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -5470,9 +5467,9 @@ pub unsafe fn ObReferenceObjectSafeWithTag(object: *const ::core::ffi::c_void, t #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ObRegisterCallbacks(callbackregistration: *const OB_CALLBACK_REGISTRATION, registrationhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn ObRegisterCallbacks(callbackregistration: *const OB_CALLBACK_REGISTRATION, registrationhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn ObRegisterCallbacks(callbackregistration : *const OB_CALLBACK_REGISTRATION, registrationhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ObRegisterCallbacks(callbackregistration, registrationhandle).ok() + ObRegisterCallbacks(callbackregistration, registrationhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -5518,12 +5515,12 @@ pub unsafe fn ObfReferenceObjectWithTag(object: *const ::core::ffi::c_void, tag: #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PcwAddInstance(buffer: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, id: u32, data: &[PCW_DATA]) -> ::windows_core::Result<()> +pub unsafe fn PcwAddInstance(buffer: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, id: u32, data: &[PCW_DATA]) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PcwAddInstance(buffer : super::super::Foundation:: PPCW_BUFFER, name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, id : u32, count : u32, data : *const PCW_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - PcwAddInstance(buffer.into_param().abi(), name, id, data.len() as _, ::core::mem::transmute(data.as_ptr())).ok() + PcwAddInstance(buffer.into_param().abi(), name, id, data.len() as _, ::core::mem::transmute(data.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -5538,19 +5535,19 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PcwCreateInstance(instance: *mut super::super::Foundation::PPCW_INSTANCE, registration: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, data: &[PCW_DATA]) -> ::windows_core::Result<()> +pub unsafe fn PcwCreateInstance(instance: *mut super::super::Foundation::PPCW_INSTANCE, registration: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, data: &[PCW_DATA]) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PcwCreateInstance(instance : *mut super::super::Foundation:: PPCW_INSTANCE, registration : super::super::Foundation:: PPCW_REGISTRATION, name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, count : u32, data : *const PCW_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS); - PcwCreateInstance(instance, registration.into_param().abi(), name, data.len() as _, ::core::mem::transmute(data.as_ptr())).ok() + PcwCreateInstance(instance, registration.into_param().abi(), name, data.len() as _, ::core::mem::transmute(data.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PcwRegister(registration: *mut super::super::Foundation::PPCW_REGISTRATION, info: *const PCW_REGISTRATION_INFORMATION) -> ::windows_core::Result<()> { +pub unsafe fn PcwRegister(registration: *mut super::super::Foundation::PPCW_REGISTRATION, info: *const PCW_REGISTRATION_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PcwRegister(registration : *mut super::super::Foundation:: PPCW_REGISTRATION, info : *const PCW_REGISTRATION_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - PcwRegister(registration, info).ok() + PcwRegister(registration, info) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -5565,30 +5562,30 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> { +pub unsafe fn PoCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoCallDriver(deviceobject, irp).ok() + PoCallDriver(deviceobject, irp) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] #[inline] -pub unsafe fn PoClearPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn PoClearPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoClearPowerRequest(powerrequest : *mut ::core::ffi::c_void, r#type : super::super::super::Win32::System::Power:: POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoClearPowerRequest(powerrequest, r#type).ok() + PoClearPowerRequest(powerrequest, r#type) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoCreatePowerRequest(powerrequest: *mut *mut ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: ::core::option::Option<*const COUNTED_REASON_CONTEXT>) -> ::windows_core::Result<()> { +pub unsafe fn PoCreatePowerRequest(powerrequest: *mut *mut ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: ::core::option::Option<*const COUNTED_REASON_CONTEXT>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoCreatePowerRequest(powerrequest : *mut *mut ::core::ffi::c_void, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, context : *const COUNTED_REASON_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoCreatePowerRequest(powerrequest, deviceobject, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + PoCreatePowerRequest(powerrequest, deviceobject, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoCreateThermalRequest(thermalrequest: *mut *mut ::core::ffi::c_void, targetdeviceobject: *const super::super::Foundation::DEVICE_OBJECT, policydeviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: *const COUNTED_REASON_CONTEXT, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn PoCreateThermalRequest(thermalrequest: *mut *mut ::core::ffi::c_void, targetdeviceobject: *const super::super::Foundation::DEVICE_OBJECT, policydeviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: *const COUNTED_REASON_CONTEXT, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoCreateThermalRequest(thermalrequest : *mut *mut ::core::ffi::c_void, targetdeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, policydeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, context : *const COUNTED_REASON_CONTEXT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoCreateThermalRequest(thermalrequest, targetdeviceobject, policydeviceobject, context, flags).ok() + PoCreateThermalRequest(thermalrequest, targetdeviceobject, policydeviceobject, context, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5698,59 +5695,59 @@ pub unsafe fn PoFxNotifySurprisePowerOn(pdo: *const super::super::Foundation::DE #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PoFxPowerControl(handle: P0, powercontrolcode: *const ::windows_core::GUID, inbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inbuffersize: usize, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outbuffersize: usize, bytesreturned: ::core::option::Option<*mut usize>) -> ::windows_core::Result<()> +pub unsafe fn PoFxPowerControl(handle: P0, powercontrolcode: *const ::windows_core::GUID, inbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inbuffersize: usize, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outbuffersize: usize, bytesreturned: ::core::option::Option<*mut usize>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxPowerControl(handle : super::super::Foundation:: POHANDLE, powercontrolcode : *const ::windows_core::GUID, inbuffer : *const ::core::ffi::c_void, inbuffersize : usize, outbuffer : *mut ::core::ffi::c_void, outbuffersize : usize, bytesreturned : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxPowerControl(handle.into_param().abi(), powercontrolcode, ::core::mem::transmute(inbuffer.unwrap_or(::std::ptr::null())), inbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut())), outbuffersize, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut()))).ok() + PoFxPowerControl(handle.into_param().abi(), powercontrolcode, ::core::mem::transmute(inbuffer.unwrap_or(::std::ptr::null())), inbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut())), outbuffersize, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PoFxPowerOnCrashdumpDevice(handle: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn PoFxPowerOnCrashdumpDevice(handle: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxPowerOnCrashdumpDevice(handle : super::super::Foundation:: POHANDLE, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxPowerOnCrashdumpDevice(handle.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + PoFxPowerOnCrashdumpDevice(handle.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PoFxQueryCurrentComponentPerfState(handle: P0, flags: u32, component: u32, setindex: u32, currentperf: *mut u64) -> ::windows_core::Result<()> +pub unsafe fn PoFxQueryCurrentComponentPerfState(handle: P0, flags: u32, component: u32, setindex: u32, currentperf: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxQueryCurrentComponentPerfState(handle : super::super::Foundation:: POHANDLE, flags : u32, component : u32, setindex : u32, currentperf : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxQueryCurrentComponentPerfState(handle.into_param().abi(), flags, component, setindex, currentperf).ok() + PoFxQueryCurrentComponentPerfState(handle.into_param().abi(), flags, component, setindex, currentperf) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PoFxRegisterComponentPerfStates(handle: P0, component: u32, flags: u64, componentperfstatecallback: PPO_FX_COMPONENT_PERF_STATE_CALLBACK, inputstateinfo: *const PO_FX_COMPONENT_PERF_INFO, outputstateinfo: *mut *mut PO_FX_COMPONENT_PERF_INFO) -> ::windows_core::Result<()> +pub unsafe fn PoFxRegisterComponentPerfStates(handle: P0, component: u32, flags: u64, componentperfstatecallback: PPO_FX_COMPONENT_PERF_STATE_CALLBACK, inputstateinfo: *const PO_FX_COMPONENT_PERF_INFO, outputstateinfo: *mut *mut PO_FX_COMPONENT_PERF_INFO) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterComponentPerfStates(handle : super::super::Foundation:: POHANDLE, component : u32, flags : u64, componentperfstatecallback : PPO_FX_COMPONENT_PERF_STATE_CALLBACK, inputstateinfo : *const PO_FX_COMPONENT_PERF_INFO, outputstateinfo : *mut *mut PO_FX_COMPONENT_PERF_INFO) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxRegisterComponentPerfStates(handle.into_param().abi(), component, flags, componentperfstatecallback, inputstateinfo, outputstateinfo).ok() + PoFxRegisterComponentPerfStates(handle.into_param().abi(), component, flags, componentperfstatecallback, inputstateinfo, outputstateinfo) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PoFxRegisterCrashdumpDevice(handle: P0) -> ::windows_core::Result<()> +pub unsafe fn PoFxRegisterCrashdumpDevice(handle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterCrashdumpDevice(handle : super::super::Foundation:: POHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxRegisterCrashdumpDevice(handle.into_param().abi()).ok() + PoFxRegisterCrashdumpDevice(handle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoFxRegisterDevice(pdo: *const super::super::Foundation::DEVICE_OBJECT, device: *const PO_FX_DEVICE_V1, handle: *mut super::super::Foundation::POHANDLE) -> ::windows_core::Result<()> { +pub unsafe fn PoFxRegisterDevice(pdo: *const super::super::Foundation::DEVICE_OBJECT, device: *const PO_FX_DEVICE_V1, handle: *mut super::super::Foundation::POHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterDevice(pdo : *const super::super::Foundation:: DEVICE_OBJECT, device : *const PO_FX_DEVICE_V1, handle : *mut super::super::Foundation:: POHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxRegisterDevice(pdo, device, handle).ok() + PoFxRegisterDevice(pdo, device, handle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -5817,12 +5814,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Power"))] #[inline] -pub unsafe fn PoFxSetTargetDripsDevicePowerState(handle: P0, targetstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE) -> ::windows_core::Result<()> +pub unsafe fn PoFxSetTargetDripsDevicePowerState(handle: P0, targetstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetTargetDripsDevicePowerState(handle : super::super::Foundation:: POHANDLE, targetstate : super::super::super::Win32::System::Power:: DEVICE_POWER_STATE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoFxSetTargetDripsDevicePowerState(handle.into_param().abi(), targetstate).ok() + PoFxSetTargetDripsDevicePowerState(handle.into_param().abi(), targetstate) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -5875,9 +5872,9 @@ pub unsafe fn PoRegisterDeviceForIdleDetection(deviceobject: *const super::super #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoRegisterPowerSettingCallback(deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, settingguid: *const ::windows_core::GUID, callback: PPOWER_SETTING_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, handle: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn PoRegisterPowerSettingCallback(deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, settingguid: *const ::windows_core::GUID, callback: PPOWER_SETTING_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, handle: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoRegisterPowerSettingCallback(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, settingguid : *const ::windows_core::GUID, callback : PPOWER_SETTING_CALLBACK, context : *const ::core::ffi::c_void, handle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoRegisterPowerSettingCallback(::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), settingguid, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut()))).ok() + PoRegisterPowerSettingCallback(::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), settingguid, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5888,9 +5885,9 @@ pub unsafe fn PoRegisterSystemState(statehandle: ::core::option::Option<*mut ::c #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PoRequestPowerIrp(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, minorfunction: u8, powerstate: POWER_STATE, completionfunction: PREQUEST_POWER_COMPLETE, context: ::core::option::Option<*const ::core::ffi::c_void>, irp: ::core::option::Option<*mut *mut super::super::Foundation::IRP>) -> ::windows_core::Result<()> { +pub unsafe fn PoRequestPowerIrp(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, minorfunction: u8, powerstate: POWER_STATE, completionfunction: PREQUEST_POWER_COMPLETE, context: ::core::option::Option<*const ::core::ffi::c_void>, irp: ::core::option::Option<*mut *mut super::super::Foundation::IRP>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoRequestPowerIrp(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, minorfunction : u8, powerstate : POWER_STATE, completionfunction : PREQUEST_POWER_COMPLETE, context : *const ::core::ffi::c_void, irp : *mut *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoRequestPowerIrp(deviceobject, minorfunction, ::core::mem::transmute(powerstate), completionfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null_mut()))).ok() + PoRequestPowerIrp(deviceobject, minorfunction, ::core::mem::transmute(powerstate), completionfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5907,9 +5904,9 @@ pub unsafe fn PoSetHiberRange(memorymap: ::core::option::Option<*const ::core::f #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] #[inline] -pub unsafe fn PoSetPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn PoSetPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetPowerRequest(powerrequest : *mut ::core::ffi::c_void, r#type : super::super::super::Win32::System::Power:: POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoSetPowerRequest(powerrequest, r#type).ok() + PoSetPowerRequest(powerrequest, r#type) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -5941,19 +5938,19 @@ pub unsafe fn PoSetSystemWakeDevice(deviceobject: *const super::super::Foundatio #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PoSetThermalActiveCooling(thermalrequest: *mut ::core::ffi::c_void, engaged: P0) -> ::windows_core::Result<()> +pub unsafe fn PoSetThermalActiveCooling(thermalrequest: *mut ::core::ffi::c_void, engaged: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetThermalActiveCooling(thermalrequest : *mut ::core::ffi::c_void, engaged : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoSetThermalActiveCooling(thermalrequest, engaged.into_param().abi()).ok() + PoSetThermalActiveCooling(thermalrequest, engaged.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PoSetThermalPassiveCooling(thermalrequest: *mut ::core::ffi::c_void, throttle: u8) -> ::windows_core::Result<()> { +pub unsafe fn PoSetThermalPassiveCooling(thermalrequest: *mut ::core::ffi::c_void, throttle: u8) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetThermalPassiveCooling(thermalrequest : *mut ::core::ffi::c_void, throttle : u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoSetThermalPassiveCooling(thermalrequest, throttle).ok() + PoSetThermalPassiveCooling(thermalrequest, throttle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5971,9 +5968,9 @@ pub unsafe fn PoStartNextPowerIrp(irp: *mut super::super::Foundation::IRP) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PoUnregisterPowerSettingCallback(handle: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn PoUnregisterPowerSettingCallback(handle: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PoUnregisterPowerSettingCallback(handle : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PoUnregisterPowerSettingCallback(handle).ok() + PoUnregisterPowerSettingCallback(handle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -5996,26 +5993,26 @@ pub unsafe fn ProbeForWrite(address: *mut ::core::ffi::c_void, length: usize, al #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsAcquireSiloHardReference(silo: P0) -> ::windows_core::Result<()> +pub unsafe fn PsAcquireSiloHardReference(silo: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsAcquireSiloHardReference(silo : super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsAcquireSiloHardReference(silo.into_param().abi()).ok() + PsAcquireSiloHardReference(silo.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsAllocSiloContextSlot(reserved: usize, returnedcontextslot: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn PsAllocSiloContextSlot(reserved: usize, returnedcontextslot: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsAllocSiloContextSlot(reserved : usize, returnedcontextslot : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsAllocSiloContextSlot(reserved, returnedcontextslot).ok() + PsAllocSiloContextSlot(reserved, returnedcontextslot) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsAllocateAffinityToken(affinitytoken: *mut super::super::Foundation::PAFFINITY_TOKEN) -> ::windows_core::Result<()> { +pub unsafe fn PsAllocateAffinityToken(affinitytoken: *mut super::super::Foundation::PAFFINITY_TOKEN) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsAllocateAffinityToken(affinitytoken : *mut super::super::Foundation:: PAFFINITY_TOKEN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsAllocateAffinityToken(affinitytoken).ok() + PsAllocateAffinityToken(affinitytoken) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6030,22 +6027,22 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsCreateSiloContext(silo: P0, size: u32, pooltype: super::super::Foundation::POOL_TYPE, contextcleanupcallback: SILO_CONTEXT_CLEANUP_CALLBACK, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn PsCreateSiloContext(silo: P0, size: u32, pooltype: super::super::Foundation::POOL_TYPE, contextcleanupcallback: SILO_CONTEXT_CLEANUP_CALLBACK, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsCreateSiloContext(silo : super::super::Foundation:: PESILO, size : u32, pooltype : super::super::Foundation:: POOL_TYPE, contextcleanupcallback : SILO_CONTEXT_CLEANUP_CALLBACK, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsCreateSiloContext(silo.into_param().abi(), size, pooltype, contextcleanupcallback, returnedsilocontext).ok() + PsCreateSiloContext(silo.into_param().abi(), size, pooltype, contextcleanupcallback, returnedsilocontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PsCreateSystemThread(threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn PsCreateSystemThread(threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsCreateSystemThread(threadhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, processhandle : super::super::super::Win32::Foundation:: HANDLE, clientid : *mut super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID, startroutine : PKSTART_ROUTINE, startcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsCreateSystemThread(threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))).ok() + PsCreateSystemThread(threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -6076,9 +6073,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsFreeSiloContextSlot(contextslot: u32) -> ::windows_core::Result<()> { +pub unsafe fn PsFreeSiloContextSlot(contextslot: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsFreeSiloContextSlot(contextslot : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsFreeSiloContextSlot(contextslot).ok() + PsFreeSiloContextSlot(contextslot) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -6141,22 +6138,22 @@ pub unsafe fn PsGetHostSilo() -> super::super::Foundation::PESILO { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetJobServerSilo(job: P0, serversilo: *mut super::super::Foundation::PESILO) -> ::windows_core::Result<()> +pub unsafe fn PsGetJobServerSilo(job: P0, serversilo: *mut super::super::Foundation::PESILO) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetJobServerSilo(job : super::super::Foundation:: PEJOB, serversilo : *mut super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetJobServerSilo(job.into_param().abi(), serversilo).ok() + PsGetJobServerSilo(job.into_param().abi(), serversilo) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetJobSilo(job: P0, silo: *mut super::super::Foundation::PESILO) -> ::windows_core::Result<()> +pub unsafe fn PsGetJobSilo(job: P0, silo: *mut super::super::Foundation::PESILO) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetJobSilo(job : super::super::Foundation:: PEJOB, silo : *mut super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetJobSilo(job.into_param().abi(), silo).ok() + PsGetJobSilo(job.into_param().abi(), silo) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6171,12 +6168,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetPermanentSiloContext(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn PsGetPermanentSiloContext(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetPermanentSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetPermanentSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext).ok() + PsGetPermanentSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6191,12 +6188,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetProcessExitStatus(process: P0) -> ::windows_core::Result<()> +pub unsafe fn PsGetProcessExitStatus(process: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetProcessExitStatus(process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetProcessExitStatus(process.into_param().abi()).ok() + PsGetProcessExitStatus(process.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -6241,12 +6238,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetSiloContext(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn PsGetSiloContext(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext).ok() + PsGetSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6271,12 +6268,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsGetThreadExitStatus(thread: P0) -> ::windows_core::Result<()> +pub unsafe fn PsGetThreadExitStatus(thread: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadExitStatus(thread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsGetThreadExitStatus(thread.into_param().abi()).ok() + PsGetThreadExitStatus(thread.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -6328,22 +6325,22 @@ pub unsafe fn PsGetVersion(majorversion: ::core::option::Option<*mut u32>, minor #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsInsertPermanentSiloContext(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn PsInsertPermanentSiloContext(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsInsertPermanentSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, silocontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsInsertPermanentSiloContext(silo.into_param().abi(), contextslot, silocontext).ok() + PsInsertPermanentSiloContext(silo.into_param().abi(), contextslot, silocontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsInsertSiloContext(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn PsInsertSiloContext(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsInsertSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, silocontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsInsertSiloContext(silo.into_param().abi(), contextslot, silocontext).ok() + PsInsertSiloContext(silo.into_param().abi(), contextslot, silocontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -6372,12 +6369,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsMakeSiloContextPermanent(silo: P0, contextslot: u32) -> ::windows_core::Result<()> +pub unsafe fn PsMakeSiloContextPermanent(silo: P0, contextslot: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsMakeSiloContextPermanent(silo : super::super::Foundation:: PESILO, contextslot : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsMakeSiloContextPermanent(silo.into_param().abi(), contextslot).ok() + PsMakeSiloContextPermanent(silo.into_param().abi(), contextslot) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6398,9 +6395,9 @@ pub unsafe fn PsReferenceSiloContext(silocontext: *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsRegisterSiloMonitor(registration: *const SILO_MONITOR_REGISTRATION, returnedmonitor: *mut super::super::Foundation::PSILO_MONITOR) -> ::windows_core::Result<()> { +pub unsafe fn PsRegisterSiloMonitor(registration: *const SILO_MONITOR_REGISTRATION, returnedmonitor: *mut super::super::Foundation::PSILO_MONITOR) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsRegisterSiloMonitor(registration : *const SILO_MONITOR_REGISTRATION, returnedmonitor : *mut super::super::Foundation:: PSILO_MONITOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsRegisterSiloMonitor(registration, returnedmonitor).ok() + PsRegisterSiloMonitor(registration, returnedmonitor) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6415,36 +6412,36 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsRemoveCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn PsRemoveCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveCreateThreadNotifyRoutine(notifyroutine : PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsRemoveCreateThreadNotifyRoutine(notifyroutine).ok() + PsRemoveCreateThreadNotifyRoutine(notifyroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsRemoveLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn PsRemoveLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveLoadImageNotifyRoutine(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsRemoveLoadImageNotifyRoutine(notifyroutine).ok() + PsRemoveLoadImageNotifyRoutine(notifyroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsRemoveSiloContext(silo: P0, contextslot: u32, removedsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn PsRemoveSiloContext(silo: P0, contextslot: u32, removedsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, removedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsRemoveSiloContext(silo.into_param().abi(), contextslot, ::core::mem::transmute(removedsilocontext.unwrap_or(::std::ptr::null_mut()))).ok() + PsRemoveSiloContext(silo.into_param().abi(), contextslot, ::core::mem::transmute(removedsilocontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsReplaceSiloContext(silo: P0, contextslot: u32, newsilocontext: *const ::core::ffi::c_void, oldsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn PsReplaceSiloContext(silo: P0, contextslot: u32, newsilocontext: *const ::core::ffi::c_void, oldsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsReplaceSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, newsilocontext : *const ::core::ffi::c_void, oldsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsReplaceSiloContext(silo.into_param().abi(), contextslot, newsilocontext, ::core::mem::transmute(oldsilocontext.unwrap_or(::std::ptr::null_mut()))).ok() + PsReplaceSiloContext(silo.into_param().abi(), contextslot, newsilocontext, ::core::mem::transmute(oldsilocontext.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6459,46 +6456,46 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetCreateProcessNotifyRoutine(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE, remove: P0) -> ::windows_core::Result<()> +pub unsafe fn PsSetCreateProcessNotifyRoutine(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE, remove: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutine(notifyroutine : PCREATE_PROCESS_NOTIFY_ROUTINE, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetCreateProcessNotifyRoutine(notifyroutine, remove.into_param().abi()).ok() + PsSetCreateProcessNotifyRoutine(notifyroutine, remove.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn PsSetCreateProcessNotifyRoutineEx(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE_EX, remove: P0) -> ::windows_core::Result<()> +pub unsafe fn PsSetCreateProcessNotifyRoutineEx(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE_EX, remove: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutineEx(notifyroutine : PCREATE_PROCESS_NOTIFY_ROUTINE_EX, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetCreateProcessNotifyRoutineEx(notifyroutine, remove.into_param().abi()).ok() + PsSetCreateProcessNotifyRoutineEx(notifyroutine, remove.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetCreateProcessNotifyRoutineEx2(notifytype: PSCREATEPROCESSNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void, remove: P0) -> ::windows_core::Result<()> +pub unsafe fn PsSetCreateProcessNotifyRoutineEx2(notifytype: PSCREATEPROCESSNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void, remove: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutineEx2(notifytype : PSCREATEPROCESSNOTIFYTYPE, notifyinformation : *const ::core::ffi::c_void, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetCreateProcessNotifyRoutineEx2(notifytype, notifyinformation, remove.into_param().abi()).ok() + PsSetCreateProcessNotifyRoutineEx2(notifytype, notifyinformation, remove.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn PsSetCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateThreadNotifyRoutine(notifyroutine : PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetCreateThreadNotifyRoutine(notifyroutine).ok() + PsSetCreateThreadNotifyRoutine(notifyroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetCreateThreadNotifyRoutineEx(notifytype: PSCREATETHREADNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn PsSetCreateThreadNotifyRoutineEx(notifytype: PSCREATETHREADNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateThreadNotifyRoutineEx(notifytype : PSCREATETHREADNOTIFYTYPE, notifyinformation : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetCreateThreadNotifyRoutineEx(notifytype, notifyinformation).ok() + PsSetCreateThreadNotifyRoutineEx(notifytype, notifyinformation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -6513,36 +6510,36 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> ::windows_core::Result<()> { +pub unsafe fn PsSetLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetLoadImageNotifyRoutine(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetLoadImageNotifyRoutine(notifyroutine).ok() + PsSetLoadImageNotifyRoutine(notifyroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsSetLoadImageNotifyRoutineEx(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE, flags: usize) -> ::windows_core::Result<()> { +pub unsafe fn PsSetLoadImageNotifyRoutineEx(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE, flags: usize) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetLoadImageNotifyRoutineEx(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetLoadImageNotifyRoutineEx(notifyroutine, flags).ok() + PsSetLoadImageNotifyRoutineEx(notifyroutine, flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn PsSetSystemMultipleGroupAffinityThread(groupaffinities: &[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY], affinitytoken: P0) -> ::windows_core::Result<()> +pub unsafe fn PsSetSystemMultipleGroupAffinityThread(groupaffinities: &[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY], affinitytoken: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetSystemMultipleGroupAffinityThread(groupaffinities : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupcount : u16, affinitytoken : super::super::Foundation:: PAFFINITY_TOKEN) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsSetSystemMultipleGroupAffinityThread(::core::mem::transmute(groupaffinities.as_ptr()), groupaffinities.len() as _, affinitytoken.into_param().abi()).ok() + PsSetSystemMultipleGroupAffinityThread(::core::mem::transmute(groupaffinities.as_ptr()), groupaffinities.len() as _, affinitytoken.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn PsStartSiloMonitor(monitor: P0) -> ::windows_core::Result<()> +pub unsafe fn PsStartSiloMonitor(monitor: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsStartSiloMonitor(monitor : super::super::Foundation:: PSILO_MONITOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsStartSiloMonitor(monitor.into_param().abi()).ok() + PsStartSiloMonitor(monitor.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -6558,12 +6555,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsTerminateSystemThread(exitstatus: P0) -> ::windows_core::Result<()> +pub unsafe fn PsTerminateSystemThread(exitstatus: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsTerminateSystemThread(exitstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsTerminateSystemThread(exitstatus.into_param().abi()).ok() + PsTerminateSystemThread(exitstatus.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6578,9 +6575,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PsWrapApcWow64Thread(apccontext: *mut *mut ::core::ffi::c_void, apcroutine: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn PsWrapApcWow64Thread(apccontext: *mut *mut ::core::ffi::c_void, apcroutine: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn PsWrapApcWow64Thread(apccontext : *mut *mut ::core::ffi::c_void, apcroutine : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - PsWrapApcWow64Thread(apccontext, apcroutine).ok() + PsWrapApcWow64Thread(apccontext, apcroutine) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -6604,9 +6601,9 @@ pub unsafe fn PshedIsSystemWheaEnabled() -> super::super::super::Win32::Foundati #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn PshedRegisterPlugin(packet: *mut WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2) -> ::windows_core::Result<()> { +pub unsafe fn PshedRegisterPlugin(packet: *mut WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("pshed.dll" "system" fn PshedRegisterPlugin(packet : *mut WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2) -> super::super::super::Win32::Foundation:: NTSTATUS); - PshedRegisterPlugin(packet).ok() + PshedRegisterPlugin(packet) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] @@ -6624,19 +6621,19 @@ pub unsafe fn PshedUnregisterPlugin(pluginhandle: *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlAppendUnicodeStringToString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlAppendUnicodeStringToString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlAppendUnicodeStringToString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAppendUnicodeStringToString(destination, source).ok() + RtlAppendUnicodeStringToString(destination, source) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlAppendUnicodeToString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlAppendUnicodeToString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlAppendUnicodeToString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlAppendUnicodeToString(destination, source.into_param().abi()).ok() + RtlAppendUnicodeToString(destination, source.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -6664,12 +6661,12 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCheckRegistryKey(relativeto: u32, path: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlCheckRegistryKey(relativeto: u32, path: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlCheckRegistryKey(relativeto : u32, path : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCheckRegistryKey(relativeto, path.into_param().abi()).ok() + RtlCheckRegistryKey(relativeto, path.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -6698,9 +6695,9 @@ pub unsafe fn RtlCmDecodeMemIoResource(descriptor: *const CM_PARTIAL_RESOURCE_DE #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCmEncodeMemIoResource(descriptor: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, start: u64) -> ::windows_core::Result<()> { +pub unsafe fn RtlCmEncodeMemIoResource(descriptor: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, start: u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCmEncodeMemIoResource(descriptor : *const CM_PARTIAL_RESOURCE_DESCRIPTOR, r#type : u8, length : u64, start : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCmEncodeMemIoResource(descriptor, r#type, length, start).ok() + RtlCmEncodeMemIoResource(descriptor, r#type, length, start) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -6782,19 +6779,19 @@ pub unsafe fn RtlCreateHashTableEx(hashtable: *mut *mut RTL_DYNAMIC_HASH_TABLE, #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCreateRegistryKey(relativeto: u32, path: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlCreateRegistryKey(relativeto: u32, path: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateRegistryKey(relativeto : u32, path : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateRegistryKey(relativeto, path.into_param().abi()).ok() + RtlCreateRegistryKey(relativeto, path.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlCreateSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, revision: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlCreateSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, revision: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCreateSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, revision : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlCreateSecurityDescriptor(securitydescriptor, revision).ok() + RtlCreateSecurityDescriptor(securitydescriptor, revision) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -6839,13 +6836,13 @@ pub unsafe fn RtlDeleteNoSplay(links: *const super::super::Foundation::RTL_SPLAY #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDeleteRegistryValue(relativeto: u32, path: P0, valuename: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlDeleteRegistryValue(relativeto: u32, path: P0, valuename: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteRegistryValue(relativeto : u32, path : ::windows_core::PCWSTR, valuename : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlDeleteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi()).ok() + RtlDeleteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -6979,9 +6976,9 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlFindClosestEncodableLength(sourcelength: u64, targetlength: *mut u64) -> ::windows_core::Result<()> { +pub unsafe fn RtlFindClosestEncodableLength(sourcelength: u64, targetlength: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlFindClosestEncodableLength(sourcelength : u64, targetlength : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlFindClosestEncodableLength(sourcelength, targetlength).ok() + RtlFindClosestEncodableLength(sourcelength, targetlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7041,16 +7038,16 @@ pub unsafe fn RtlFreeUTF8String(utf8string: ::core::option::Option<*mut super::s #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlGUIDFromString(guidstring: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn RtlGUIDFromString(guidstring: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlGUIDFromString(guidstring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGUIDFromString(guidstring, guid).ok() + RtlGUIDFromString(guidstring, guid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlGenerateClass5Guid(namespaceguid: *const ::windows_core::GUID, buffer: *const ::core::ffi::c_void, buffersize: u32, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn RtlGenerateClass5Guid(namespaceguid: *const ::windows_core::GUID, buffer: *const ::core::ffi::c_void, buffersize: u32, guid: *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlGenerateClass5Guid(namespaceguid : *const ::windows_core::GUID, buffer : *const ::core::ffi::c_void, buffersize : u32, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGenerateClass5Guid(namespaceguid, buffer, buffersize, guid).ok() + RtlGenerateClass5Guid(namespaceguid, buffer, buffersize, guid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7112,14 +7109,14 @@ pub unsafe fn RtlGetNtSystemRoot() -> ::windows_core::PCWSTR { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlGetPersistedStateLocation(sourceid: P0, customvalue: P1, defaultpath: P2, statelocationtype: STATE_LOCATION_TYPE, targetpath: ::windows_core::PWSTR, bufferlengthin: u32, bufferlengthout: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn RtlGetPersistedStateLocation(sourceid: P0, customvalue: P1, defaultpath: P2, statelocationtype: STATE_LOCATION_TYPE, targetpath: ::windows_core::PWSTR, bufferlengthin: u32, bufferlengthout: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetPersistedStateLocation(sourceid : ::windows_core::PCWSTR, customvalue : ::windows_core::PCWSTR, defaultpath : ::windows_core::PCWSTR, statelocationtype : STATE_LOCATION_TYPE, targetpath : ::windows_core::PWSTR, bufferlengthin : u32, bufferlengthout : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetPersistedStateLocation(sourceid.into_param().abi(), customvalue.into_param().abi(), defaultpath.into_param().abi(), statelocationtype, ::core::mem::transmute(targetpath), bufferlengthin, ::core::mem::transmute(bufferlengthout.unwrap_or(::std::ptr::null_mut()))).ok() + RtlGetPersistedStateLocation(sourceid.into_param().abi(), customvalue.into_param().abi(), defaultpath.into_param().abi(), statelocationtype, ::core::mem::transmute(targetpath), bufferlengthin, ::core::mem::transmute(bufferlengthout.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7130,19 +7127,19 @@ pub unsafe fn RtlGetSuiteMask() -> u32 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn RtlGetVersion(lpversioninformation: *mut super::super::super::Win32::System::SystemInformation::OSVERSIONINFOW) -> ::windows_core::Result<()> { +pub unsafe fn RtlGetVersion(lpversioninformation: *mut super::super::super::Win32::System::SystemInformation::OSVERSIONINFOW) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlGetVersion(lpversioninformation : *mut super::super::super::Win32::System::SystemInformation:: OSVERSIONINFOW) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlGetVersion(lpversioninformation).ok() + RtlGetVersion(lpversioninformation) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlHashUnicodeString(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0, hashalgorithm: u32, hashvalue: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RtlHashUnicodeString(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0, hashalgorithm: u32, hashvalue: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlHashUnicodeString(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN, hashalgorithm : u32, hashvalue : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlHashUnicodeString(string, caseinsensitive.into_param().abi(), hashalgorithm, hashvalue).ok() + RtlHashUnicodeString(string, caseinsensitive.into_param().abi(), hashalgorithm, hashvalue) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -7168,9 +7165,9 @@ pub unsafe fn RtlInitUTF8String(destinationstring: *mut super::super::super::Win #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlInitUTF8StringEx(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: ::core::option::Option<*const i8>) -> ::windows_core::Result<()> { +pub unsafe fn RtlInitUTF8StringEx(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: ::core::option::Option<*const i8>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlInitUTF8StringEx(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const i8) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlInitUTF8StringEx(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null()))).ok() + RtlInitUTF8StringEx(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -7236,16 +7233,16 @@ pub unsafe fn RtlInsertEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlInt64ToUnicodeString(value: u64, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlInt64ToUnicodeString(value: u64, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlInt64ToUnicodeString(value : u64, base : u32, string : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlInt64ToUnicodeString(value, base, string).ok() + RtlInt64ToUnicodeString(value, base, string) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIntegerToUnicodeString(value: u32, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlIntegerToUnicodeString(value: u32, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlIntegerToUnicodeString(value : u32, base : u32, string : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIntegerToUnicodeString(value, base, string).ok() + RtlIntegerToUnicodeString(value, base, string) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7256,19 +7253,19 @@ pub unsafe fn RtlIoDecodeMemIoResource(descriptor: *const IO_RESOURCE_DESCRIPTOR #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIoEncodeMemIoResource(descriptor: *const IO_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, alignment: u64, minimumaddress: u64, maximumaddress: u64) -> ::windows_core::Result<()> { +pub unsafe fn RtlIoEncodeMemIoResource(descriptor: *const IO_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, alignment: u64, minimumaddress: u64, maximumaddress: u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlIoEncodeMemIoResource(descriptor : *const IO_RESOURCE_DESCRIPTOR, r#type : u8, length : u64, alignment : u64, minimumaddress : u64, maximumaddress : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIoEncodeMemIoResource(descriptor, r#type, length, alignment, minimumaddress, maximumaddress).ok() + RtlIoEncodeMemIoResource(descriptor, r#type, length, alignment, minimumaddress, maximumaddress) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIsApiSetImplemented(apisetname: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlIsApiSetImplemented(apisetname: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIsApiSetImplemented(apisetname : ::windows_core::PCSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIsApiSetImplemented(apisetname.into_param().abi()).ok() + RtlIsApiSetImplemented(apisetname.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] @@ -7322,12 +7319,12 @@ pub unsafe fn RtlIsStateSeparationEnabled() -> super::super::super::Win32::Found #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlIsUntrustedObject(handle: P0, object: ::core::option::Option<*const ::core::ffi::c_void>, untrustedobject: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> +pub unsafe fn RtlIsUntrustedObject(handle: P0, object: ::core::option::Option<*const ::core::ffi::c_void>, untrustedobject: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlIsUntrustedObject(handle : super::super::super::Win32::Foundation:: HANDLE, object : *const ::core::ffi::c_void, untrustedobject : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlIsUntrustedObject(handle.into_param().abi(), ::core::mem::transmute(object.unwrap_or(::std::ptr::null())), untrustedobject).ok() + RtlIsUntrustedObject(handle.into_param().abi(), ::core::mem::transmute(object.unwrap_or(::std::ptr::null())), untrustedobject) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] @@ -7457,23 +7454,23 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlQueryRegistryValueWithFallback(primaryhandle: P0, fallbackhandle: P1, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, valuelength: u32, valuetype: ::core::option::Option<*mut u32>, valuedata: *mut ::core::ffi::c_void, resultlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RtlQueryRegistryValueWithFallback(primaryhandle: P0, fallbackhandle: P1, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, valuelength: u32, valuetype: ::core::option::Option<*mut u32>, valuedata: *mut ::core::ffi::c_void, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryRegistryValueWithFallback(primaryhandle : super::super::super::Win32::Foundation:: HANDLE, fallbackhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, valuelength : u32, valuetype : *mut u32, valuedata : *mut ::core::ffi::c_void, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlQueryRegistryValueWithFallback(primaryhandle.into_param().abi(), fallbackhandle.into_param().abi(), valuename, valuelength, ::core::mem::transmute(valuetype.unwrap_or(::std::ptr::null_mut())), valuedata, resultlength).ok() + RtlQueryRegistryValueWithFallback(primaryhandle.into_param().abi(), fallbackhandle.into_param().abi(), valuename, valuelength, ::core::mem::transmute(valuetype.unwrap_or(::std::ptr::null_mut())), valuedata, resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlQueryRegistryValues(relativeto: u32, path: P0, querytable: *mut RTL_QUERY_REGISTRY_TABLE, context: ::core::option::Option<*const ::core::ffi::c_void>, environment: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn RtlQueryRegistryValues(relativeto: u32, path: P0, querytable: *mut RTL_QUERY_REGISTRY_TABLE, context: ::core::option::Option<*const ::core::ffi::c_void>, environment: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryRegistryValues(relativeto : u32, path : ::windows_core::PCWSTR, querytable : *mut RTL_QUERY_REGISTRY_TABLE, context : *const ::core::ffi::c_void, environment : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlQueryRegistryValues(relativeto, path.into_param().abi(), querytable, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(environment.unwrap_or(::std::ptr::null()))).ok() + RtlQueryRegistryValues(relativeto, path.into_param().abi(), querytable, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(environment.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -7506,23 +7503,23 @@ pub unsafe fn RtlRemoveEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] -pub unsafe fn RtlRunOnceBeginInitialize(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn RtlRunOnceBeginInitialize(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceBeginInitialize(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, flags : u32, context : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlRunOnceBeginInitialize(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))).ok() + RtlRunOnceBeginInitialize(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] -pub unsafe fn RtlRunOnceComplete(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn RtlRunOnceComplete(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceComplete(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, flags : u32, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlRunOnceComplete(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + RtlRunOnceComplete(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] #[inline] -pub unsafe fn RtlRunOnceExecuteOnce(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, initfn: PRTL_RUN_ONCE_INIT_FN, parameter: ::core::option::Option<*mut ::core::ffi::c_void>, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn RtlRunOnceExecuteOnce(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, initfn: PRTL_RUN_ONCE_INIT_FN, parameter: ::core::option::Option<*mut ::core::ffi::c_void>, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceExecuteOnce(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, initfn : PRTL_RUN_ONCE_INIT_FN, parameter : *mut ::core::ffi::c_void, context : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlRunOnceExecuteOnce(runonce, initfn, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))).ok() + RtlRunOnceExecuteOnce(runonce, initfn, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Threading\"`*"] #[cfg(feature = "Win32_System_Threading")] @@ -7554,20 +7551,20 @@ pub unsafe fn RtlSetBits(bitmapheader: *const RTL_BITMAP, startingindex: u32, nu #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RtlSetDaclSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, daclpresent: P0, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, dacldefaulted: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlSetDaclSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, daclpresent: P0, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, dacldefaulted: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlSetDaclSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, daclpresent : super::super::super::Win32::Foundation:: BOOLEAN, dacl : *const super::super::super::Win32::Security:: ACL, dacldefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlSetDaclSecurityDescriptor(securitydescriptor, daclpresent.into_param().abi(), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), dacldefaulted.into_param().abi()).ok() + RtlSetDaclSecurityDescriptor(securitydescriptor, daclpresent.into_param().abi(), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), dacldefaulted.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn RtlSetSystemGlobalData(dataid: super::super::super::Win32::System::SystemInformation::RTL_SYSTEM_GLOBAL_DATA_ID, buffer: *const ::core::ffi::c_void, size: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlSetSystemGlobalData(dataid: super::super::super::Win32::System::SystemInformation::RTL_SYSTEM_GLOBAL_DATA_ID, buffer: *const ::core::ffi::c_void, size: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlSetSystemGlobalData(dataid : super::super::super::Win32::System::SystemInformation:: RTL_SYSTEM_GLOBAL_DATA_ID, buffer : *const ::core::ffi::c_void, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlSetSystemGlobalData(dataid, buffer, size).ok() + RtlSetSystemGlobalData(dataid, buffer, size) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -7579,9 +7576,9 @@ pub unsafe fn RtlSplay(links: *mut super::super::Foundation::RTL_SPLAY_LINKS) -> #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlStringFromGUID(guid: *const ::windows_core::GUID, guidstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlStringFromGUID(guid: *const ::windows_core::GUID, guidstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlStringFromGUID(guid : *const ::windows_core::GUID, guidstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlStringFromGUID(guid, guidstring).ok() + RtlStringFromGUID(guid, guidstring) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] @@ -7639,50 +7636,50 @@ pub unsafe fn RtlTimeToTimeFields(time: *const i64) -> TIME_FIELDS { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUTF8StringToUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUTF8StringToUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUTF8StringToUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUTF8StringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUTF8StringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUTF8ToUnicodeN(unicodestringdestination: ::windows_core::PWSTR, unicodestringmaxbytecount: u32, unicodestringactualbytecount: *mut u32, utf8stringsource: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn RtlUTF8ToUnicodeN(unicodestringdestination: ::windows_core::PWSTR, unicodestringmaxbytecount: u32, unicodestringactualbytecount: *mut u32, utf8stringsource: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUTF8ToUnicodeN(unicodestringdestination : ::windows_core::PWSTR, unicodestringmaxbytecount : u32, unicodestringactualbytecount : *mut u32, utf8stringsource : ::windows_core::PCSTR, utf8stringbytecount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUTF8ToUnicodeN(::core::mem::transmute(unicodestringdestination), unicodestringmaxbytecount, unicodestringactualbytecount, ::core::mem::transmute(utf8stringsource.as_ptr()), utf8stringsource.len() as _).ok() + RtlUTF8ToUnicodeN(::core::mem::transmute(unicodestringdestination), unicodestringmaxbytecount, unicodestringactualbytecount, ::core::mem::transmute(utf8stringsource.as_ptr()), utf8stringsource.len() as _) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeStringToInt64(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, number: *mut i64, endpointer: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { +pub unsafe fn RtlUnicodeStringToInt64(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, number: *mut i64, endpointer: ::core::option::Option<*mut ::windows_core::PWSTR>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlUnicodeStringToInt64(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, base : u32, number : *mut i64, endpointer : *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeStringToInt64(string, base, number, ::core::mem::transmute(endpointer.unwrap_or(::std::ptr::null_mut()))).ok() + RtlUnicodeStringToInt64(string, base, number, ::core::mem::transmute(endpointer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeStringToInteger(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, value: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUnicodeStringToInteger(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, value: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToInteger(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, base : u32, value : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeStringToInteger(string, base, value).ok() + RtlUnicodeStringToInteger(string, base, value) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUnicodeStringToUTF8String(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeStringToUTF8String(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToUTF8String(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeStringToUTF8String(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUnicodeStringToUTF8String(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeToUTF8N(utf8stringdestination: &mut [u8], utf8stringactualbytecount: *mut u32, unicodestringsource: *const u16, unicodestringbytecount: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlUnicodeToUTF8N(utf8stringdestination: &mut [u8], utf8stringactualbytecount: *mut u32, unicodestringsource: *const u16, unicodestringbytecount: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToUTF8N(utf8stringdestination : ::windows_core::PSTR, utf8stringmaxbytecount : u32, utf8stringactualbytecount : *mut u32, unicodestringsource : *const u16, unicodestringbytecount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUnicodeToUTF8N(::core::mem::transmute(utf8stringdestination.as_ptr()), utf8stringdestination.len() as _, utf8stringactualbytecount, unicodestringsource, unicodestringbytecount).ok() + RtlUnicodeToUTF8N(::core::mem::transmute(utf8stringdestination.as_ptr()), utf8stringdestination.len() as _, utf8stringactualbytecount, unicodestringsource, unicodestringbytecount) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7693,12 +7690,12 @@ pub unsafe fn RtlUpcaseUnicodeChar(sourcecharacter: u16) -> u16 { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUpcaseUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUpcaseUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlUpcaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUpcaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7736,16 +7733,16 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))] #[inline] -pub unsafe fn RtlVerifyVersionInfo(versioninfo: *const super::super::super::Win32::System::SystemInformation::OSVERSIONINFOEXW, typemask: u32, conditionmask: u64) -> ::windows_core::Result<()> { +pub unsafe fn RtlVerifyVersionInfo(versioninfo: *const super::super::super::Win32::System::SystemInformation::OSVERSIONINFOEXW, typemask: u32, conditionmask: u64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlVerifyVersionInfo(versioninfo : *const super::super::super::Win32::System::SystemInformation:: OSVERSIONINFOEXW, typemask : u32, conditionmask : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlVerifyVersionInfo(versioninfo, typemask, conditionmask).ok() + RtlVerifyVersionInfo(versioninfo, typemask, conditionmask) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn RtlVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn RtlVolumeDeviceToDosName(volumedeviceobject : *const ::core::ffi::c_void, dosname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlVolumeDeviceToDosName(volumedeviceobject, dosname).ok() + RtlVolumeDeviceToDosName(volumedeviceobject, dosname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -7763,13 +7760,13 @@ pub unsafe fn RtlWeaklyEnumerateEntryHashTable(hashtable: *const RTL_DYNAMIC_HAS #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlWriteRegistryValue(relativeto: u32, path: P0, valuename: P1, valuetype: u32, valuedata: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32) -> ::windows_core::Result<()> +pub unsafe fn RtlWriteRegistryValue(relativeto: u32, path: P0, valuename: P1, valuetype: u32, valuedata: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlWriteRegistryValue(relativeto : u32, path : ::windows_core::PCWSTR, valuename : ::windows_core::PCWSTR, valuetype : u32, valuedata : *const ::core::ffi::c_void, valuelength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlWriteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi(), valuetype, ::core::mem::transmute(valuedata.unwrap_or(::std::ptr::null())), valuelength).ok() + RtlWriteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi(), valuetype, ::core::mem::transmute(valuedata.unwrap_or(::std::ptr::null())), valuelength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] @@ -7799,26 +7796,26 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeAssignSecurity(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, isdirectoryobject: P2, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> ::windows_core::Result<()> +pub unsafe fn SeAssignSecurity(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, isdirectoryobject: P2, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeAssignSecurity(parentdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, explicitdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newdescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, isdirectoryobject : super::super::super::Win32::Foundation:: BOOLEAN, subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, pooltype : super::super::Foundation:: POOL_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeAssignSecurity(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, isdirectoryobject.into_param().abi(), subjectcontext, genericmapping, pooltype).ok() + SeAssignSecurity(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, isdirectoryobject.into_param().abi(), subjectcontext, genericmapping, pooltype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeAssignSecurityEx(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, objecttype: ::core::option::Option<*const ::windows_core::GUID>, isdirectoryobject: P2, autoinheritflags: u32, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> ::windows_core::Result<()> +pub unsafe fn SeAssignSecurityEx(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, objecttype: ::core::option::Option<*const ::windows_core::GUID>, isdirectoryobject: P2, autoinheritflags: u32, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeAssignSecurityEx(parentdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, explicitdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newdescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, objecttype : *const ::windows_core::GUID, isdirectoryobject : super::super::super::Win32::Foundation:: BOOLEAN, autoinheritflags : u32, subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, pooltype : super::super::Foundation:: POOL_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeAssignSecurityEx(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, ::core::mem::transmute(objecttype.unwrap_or(::std::ptr::null())), isdirectoryobject.into_param().abi(), autoinheritflags, subjectcontext, genericmapping, pooltype).ok() + SeAssignSecurityEx(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, ::core::mem::transmute(objecttype.unwrap_or(::std::ptr::null())), isdirectoryobject.into_param().abi(), autoinheritflags, subjectcontext, genericmapping, pooltype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))] @@ -7843,16 +7840,16 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn SeDeassignSecurity(securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> ::windows_core::Result<()> { +pub unsafe fn SeDeassignSecurity(securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeDeassignSecurity(securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeDeassignSecurity(securitydescriptor).ok() + SeDeassignSecurity(securitydescriptor) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeEtwWriteKMCveEvent(cveid: *const super::super::super::Win32::Foundation::UNICODE_STRING, additionaldetails: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> { +pub unsafe fn SeEtwWriteKMCveEvent(cveid: *const super::super::super::Win32::Foundation::UNICODE_STRING, additionaldetails: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeEtwWriteKMCveEvent(cveid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, additionaldetails : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeEtwWriteKMCveEvent(cveid, ::core::mem::transmute(additionaldetails.unwrap_or(::std::ptr::null()))).ok() + SeEtwWriteKMCveEvent(cveid, ::core::mem::transmute(additionaldetails.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))] @@ -7864,9 +7861,9 @@ pub unsafe fn SeLockSubjectContext(subjectcontext: *const super::super::Foundati #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SeRegisterImageVerificationCallback(imagetype: SE_IMAGE_TYPE, callbacktype: SE_IMAGE_VERIFICATION_CALLBACK_TYPE, callbackfunction: PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, token: ::core::option::Option<*const ::core::ffi::c_void>, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeRegisterImageVerificationCallback(imagetype: SE_IMAGE_TYPE, callbacktype: SE_IMAGE_VERIFICATION_CALLBACK_TYPE, callbackfunction: PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, token: ::core::option::Option<*const ::core::ffi::c_void>, callbackhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeRegisterImageVerificationCallback(imagetype : SE_IMAGE_TYPE, callbacktype : SE_IMAGE_VERIFICATION_CALLBACK_TYPE, callbackfunction : PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void, token : *const ::core::ffi::c_void, callbackhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeRegisterImageVerificationCallback(imagetype, callbacktype, callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(token.unwrap_or(::std::ptr::null())), callbackhandle).ok() + SeRegisterImageVerificationCallback(imagetype, callbacktype, callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(token.unwrap_or(::std::ptr::null())), callbackhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))] @@ -7878,19 +7875,19 @@ pub unsafe fn SeReleaseSubjectContext(subjectcontext: *mut super::super::Foundat #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn SeReportSecurityEvent(flags: u32, sourcename: *const super::super::super::Win32::Foundation::UNICODE_STRING, usersid: P0, auditparameters: *const super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY) -> ::windows_core::Result<()> +pub unsafe fn SeReportSecurityEvent(flags: u32, sourcename: *const super::super::super::Win32::Foundation::UNICODE_STRING, usersid: P0, auditparameters: *const super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeReportSecurityEvent(flags : u32, sourcename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, usersid : super::super::super::Win32::Foundation:: PSID, auditparameters : *const super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_ARRAY) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeReportSecurityEvent(flags, sourcename, usersid.into_param().abi(), auditparameters).ok() + SeReportSecurityEvent(flags, sourcename, usersid.into_param().abi(), auditparameters) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn SeSetAuditParameter(auditparameters: *mut super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY, r#type: super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_TYPE, index: u32, data: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn SeSetAuditParameter(auditparameters: *mut super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY, r#type: super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_TYPE, index: u32, data: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn SeSetAuditParameter(auditparameters : *mut super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_ARRAY, r#type : super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_TYPE, index : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - SeSetAuditParameter(auditparameters, r#type, index, data).ok() + SeSetAuditParameter(auditparameters, r#type, index, data) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -7925,47 +7922,47 @@ where #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmCommitComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { +pub unsafe fn TmCommitComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmCommitComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + TmCommitComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmCommitEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmCommitEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmCommitEnlistment(enlistment, tmvirtualclock).ok() + TmCommitEnlistment(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmCommitTransaction(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> ::windows_core::Result<()> +pub unsafe fn TmCommitTransaction(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitTransaction(transaction : *const super::super::Foundation:: KTRANSACTION, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmCommitTransaction(transaction, wait.into_param().abi()).ok() + TmCommitTransaction(transaction, wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, previousmode: i8, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, resourcemanager: *const isize, transaction: *const super::super::Foundation::KTRANSACTION, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn TmCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, previousmode: i8, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, resourcemanager: *const isize, transaction: *const super::super::Foundation::KTRANSACTION, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, previousmode : i8, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, resourcemanager : *const isize, transaction : *const super::super::Foundation:: KTRANSACTION, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmCreateEnlistment(enlistmenthandle, previousmode, desiredaccess, objectattributes, resourcemanager, transaction, createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok() + TmCreateEnlistment(enlistmenthandle, previousmode, desiredaccess, objectattributes, resourcemanager, transaction, createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmDereferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, lastreference: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> { +pub unsafe fn TmDereferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, lastreference: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmDereferenceEnlistmentKey(enlistment : *const super::super::Foundation:: KENLISTMENT, lastreference : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmDereferenceEnlistmentKey(enlistment, ::core::mem::transmute(lastreference.unwrap_or(::std::ptr::null_mut()))).ok() + TmDereferenceEnlistmentKey(enlistment, ::core::mem::transmute(lastreference.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmEnableCallbacks(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, callbackroutine: PTM_RM_NOTIFICATION, rmkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn TmEnableCallbacks(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, callbackroutine: PTM_RM_NOTIFICATION, rmkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmEnableCallbacks(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, callbackroutine : PTM_RM_NOTIFICATION, rmkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmEnableCallbacks(resourcemanager, callbackroutine, ::core::mem::transmute(rmkey.unwrap_or(::std::ptr::null()))).ok() + TmEnableCallbacks(resourcemanager, callbackroutine, ::core::mem::transmute(rmkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"] #[cfg(feature = "Wdk_Foundation")] @@ -7979,9 +7976,9 @@ pub unsafe fn TmGetTransactionId(transaction: *const super::super::Foundation::K #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TmInitializeTransactionManager(transactionmanager: *const isize, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmid: ::core::option::Option<*const ::windows_core::GUID>, createoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn TmInitializeTransactionManager(transactionmanager: *const isize, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmid: ::core::option::Option<*const ::windows_core::GUID>, createoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmInitializeTransactionManager(transactionmanager : *const isize, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmid : *const ::windows_core::GUID, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmInitializeTransactionManager(transactionmanager, ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmid.unwrap_or(::std::ptr::null())), createoptions).ok() + TmInitializeTransactionManager(transactionmanager, ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmid.unwrap_or(::std::ptr::null())), createoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] @@ -7993,182 +7990,182 @@ pub unsafe fn TmIsTransactionActive(transaction: *const super::super::Foundation #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPrePrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmPrePrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrePrepareComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPrePrepareComplete(enlistment, tmvirtualclock).ok() + TmPrePrepareComplete(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPrePrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmPrePrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrePrepareEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPrePrepareEnlistment(enlistment, tmvirtualclock).ok() + TmPrePrepareEnlistment(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { +pub unsafe fn TmPrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrepareComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPrepareComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + TmPrepareComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmPrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrepareEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPrepareEnlistment(enlistment, tmvirtualclock).ok() + TmPrepareEnlistment(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPropagationComplete(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn TmPropagationComplete(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPropagationComplete(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, requestcookie : u32, bufferlength : u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPropagationComplete(resourcemanager, requestcookie, bufferlength, buffer).ok() + TmPropagationComplete(resourcemanager, requestcookie, bufferlength, buffer) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmPropagationFailed(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, status: P0) -> ::windows_core::Result<()> +pub unsafe fn TmPropagationFailed(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, status: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmPropagationFailed(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, requestcookie : u32, status : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmPropagationFailed(resourcemanager, requestcookie, status.into_param().abi()).ok() + TmPropagationFailed(resourcemanager, requestcookie, status.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmReadOnlyEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { +pub unsafe fn TmReadOnlyEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmReadOnlyEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmReadOnlyEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + TmReadOnlyEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRecoverEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, enlistmentkey: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn TmRecoverEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, enlistmentkey: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRecoverEnlistment(enlistment, enlistmentkey).ok() + TmRecoverEnlistment(enlistment, enlistmentkey) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRecoverResourceManager(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER) -> ::windows_core::Result<()> { +pub unsafe fn TmRecoverResourceManager(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverResourceManager(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRecoverResourceManager(resourcemanager).ok() + TmRecoverResourceManager(resourcemanager) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRecoverTransactionManager(tm: *const super::super::Foundation::KTM, targetvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmRecoverTransactionManager(tm: *const super::super::Foundation::KTM, targetvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverTransactionManager(tm : *const super::super::Foundation:: KTM, targetvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRecoverTransactionManager(tm, targetvirtualclock).ok() + TmRecoverTransactionManager(tm, targetvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmReferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, key: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn TmReferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, key: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmReferenceEnlistmentKey(enlistment : *const super::super::Foundation:: KENLISTMENT, key : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmReferenceEnlistmentKey(enlistment, key).ok() + TmReferenceEnlistmentKey(enlistment, key) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TmRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn TmRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRenameTransactionManager(logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, existingtransactionmanagerguid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRenameTransactionManager(logfilename, existingtransactionmanagerguid).ok() + TmRenameTransactionManager(logfilename, existingtransactionmanagerguid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRequestOutcomeEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmRequestOutcomeEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRequestOutcomeEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRequestOutcomeEnlistment(enlistment, tmvirtualclock).ok() + TmRequestOutcomeEnlistment(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRollbackComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { +pub unsafe fn TmRollbackComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRollbackComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + TmRollbackComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRollbackEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { +pub unsafe fn TmRollbackEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRollbackEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + TmRollbackEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmRollbackTransaction(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> ::windows_core::Result<()> +pub unsafe fn TmRollbackTransaction(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackTransaction(transaction : *const super::super::Foundation:: KTRANSACTION, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmRollbackTransaction(transaction, wait.into_param().abi()).ok() + TmRollbackTransaction(transaction, wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn TmSinglePhaseReject(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> { +pub unsafe fn TmSinglePhaseReject(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn TmSinglePhaseReject(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - TmSinglePhaseReject(enlistment, tmvirtualclock).ok() + TmSinglePhaseReject(enlistment, tmvirtualclock) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn VslCreateSecureSection(handle: *mut super::super::super::Win32::Foundation::HANDLE, targetprocess: P0, mdl: *const super::super::Foundation::MDL, devicepageprotection: u32, attributes: u32) -> ::windows_core::Result<()> +pub unsafe fn VslCreateSecureSection(handle: *mut super::super::super::Win32::Foundation::HANDLE, targetprocess: P0, mdl: *const super::super::Foundation::MDL, devicepageprotection: u32, attributes: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn VslCreateSecureSection(handle : *mut super::super::super::Win32::Foundation:: HANDLE, targetprocess : super::super::Foundation:: PEPROCESS, mdl : *const super::super::Foundation:: MDL, devicepageprotection : u32, attributes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - VslCreateSecureSection(handle, targetprocess.into_param().abi(), mdl, devicepageprotection, attributes).ok() + VslCreateSecureSection(handle, targetprocess.into_param().abi(), mdl, devicepageprotection, attributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn VslDeleteSecureSection(globalhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn VslDeleteSecureSection(globalhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntoskrnl.exe" "system" fn VslDeleteSecureSection(globalhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - VslDeleteSecureSection(globalhandle.into_param().abi()).ok() + VslDeleteSecureSection(globalhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaAddErrorSource(errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn WheaAddErrorSource(errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSource(errorsource : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_DESCRIPTOR, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaAddErrorSource(errorsource, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + WheaAddErrorSource(errorsource, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaAddErrorSourceDeviceDriver(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numberpreallocatederrorreports: u32) -> ::windows_core::Result<()> { +pub unsafe fn WheaAddErrorSourceDeviceDriver(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numberpreallocatederrorreports: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSourceDeviceDriver(context : *mut ::core::ffi::c_void, configuration : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numberpreallocatederrorreports : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaAddErrorSourceDeviceDriver(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numberpreallocatederrorreports).ok() + WheaAddErrorSourceDeviceDriver(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numberpreallocatederrorreports) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaAddErrorSourceDeviceDriverV1(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numbufferstopreallocate: u32, maxdatalength: u32) -> ::windows_core::Result<()> { +pub unsafe fn WheaAddErrorSourceDeviceDriverV1(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numbufferstopreallocate: u32, maxdatalength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSourceDeviceDriverV1(context : *mut ::core::ffi::c_void, configuration : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numbufferstopreallocate : u32, maxdatalength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaAddErrorSourceDeviceDriverV1(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numbufferstopreallocate, maxdatalength).ok() + WheaAddErrorSourceDeviceDriverV1(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numbufferstopreallocate, maxdatalength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaAddHwErrorReportSectionDeviceDriver(errorhandle: *const ::core::ffi::c_void, sectiondatalength: u32, bufferset: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET) -> ::windows_core::Result<()> { +pub unsafe fn WheaAddHwErrorReportSectionDeviceDriver(errorhandle: *const ::core::ffi::c_void, sectiondatalength: u32, bufferset: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddHwErrorReportSectionDeviceDriver(errorhandle : *const ::core::ffi::c_void, sectiondatalength : u32, bufferset : *mut super::super::super::Win32::System::Diagnostics::Debug:: WHEA_DRIVER_BUFFER_SET) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaAddHwErrorReportSectionDeviceDriver(errorhandle, sectiondatalength, bufferset).ok() + WheaAddHwErrorReportSectionDeviceDriver(errorhandle, sectiondatalength, bufferset) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaConfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE, configuration: *const WHEA_ERROR_SOURCE_CONFIGURATION) -> ::windows_core::Result<()> { +pub unsafe fn WheaConfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE, configuration: *const WHEA_ERROR_SOURCE_CONFIGURATION) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaConfigureErrorSource(sourcetype : super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_TYPE, configuration : *const WHEA_ERROR_SOURCE_CONFIGURATION) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaConfigureErrorSource(sourcetype, configuration).ok() + WheaConfigureErrorSource(sourcetype, configuration) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -8207,37 +8204,37 @@ pub unsafe fn WheaHighIrqlLogSelEventHandlerUnregister() { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaHwErrorReportAbandonDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn WheaHwErrorReportAbandonDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportAbandonDeviceDriver(errorhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaHwErrorReportAbandonDeviceDriver(errorhandle).ok() + WheaHwErrorReportAbandonDeviceDriver(errorhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaHwErrorReportSetSectionNameDeviceDriver(bufferset: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET, name: &[u8]) -> ::windows_core::Result<()> { +pub unsafe fn WheaHwErrorReportSetSectionNameDeviceDriver(bufferset: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET, name: &[u8]) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSetSectionNameDeviceDriver(bufferset : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_DRIVER_BUFFER_SET, namelength : u32, name : *const u8) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaHwErrorReportSetSectionNameDeviceDriver(bufferset, name.len() as _, ::core::mem::transmute(name.as_ptr())).ok() + WheaHwErrorReportSetSectionNameDeviceDriver(bufferset, name.len() as _, ::core::mem::transmute(name.as_ptr())) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaHwErrorReportSetSeverityDeviceDriver(errorhandle: *const ::core::ffi::c_void, errorseverity: WHEA_ERROR_SEVERITY) -> ::windows_core::Result<()> { +pub unsafe fn WheaHwErrorReportSetSeverityDeviceDriver(errorhandle: *const ::core::ffi::c_void, errorseverity: WHEA_ERROR_SEVERITY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSetSeverityDeviceDriver(errorhandle : *const ::core::ffi::c_void, errorseverity : WHEA_ERROR_SEVERITY) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaHwErrorReportSetSeverityDeviceDriver(errorhandle, errorseverity).ok() + WheaHwErrorReportSetSeverityDeviceDriver(errorhandle, errorseverity) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaHwErrorReportSubmitDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn WheaHwErrorReportSubmitDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSubmitDeviceDriver(errorhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaHwErrorReportSubmitDeviceDriver(errorhandle).ok() + WheaHwErrorReportSubmitDeviceDriver(errorhandle) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaInitializeRecordHeader(header: *mut WHEA_ERROR_RECORD_HEADER) -> ::windows_core::Result<()> { +pub unsafe fn WheaInitializeRecordHeader(header: *mut WHEA_ERROR_RECORD_HEADER) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaInitializeRecordHeader(header : *mut WHEA_ERROR_RECORD_HEADER) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaInitializeRecordHeader(header).ok() + WheaInitializeRecordHeader(header) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -8255,9 +8252,9 @@ pub unsafe fn WheaLogInternalEvent(entry: *const WHEA_EVENT_LOG_ENTRY) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaRegisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn WheaRegisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaRegisterInUsePageOfflineNotification(callback : PFN_IN_USE_PAGE_OFFLINE_NOTIFY, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaRegisterInUsePageOfflineNotification(callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok() + WheaRegisterInUsePageOfflineNotification(callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] @@ -8268,836 +8265,836 @@ pub unsafe fn WheaRemoveErrorSource(errorsourceid: u32) { #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaRemoveErrorSourceDeviceDriver(errorsourceid: u32) -> ::windows_core::Result<()> { +pub unsafe fn WheaRemoveErrorSourceDeviceDriver(errorsourceid: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaRemoveErrorSourceDeviceDriver(errorsourceid : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaRemoveErrorSourceDeviceDriver(errorsourceid).ok() + WheaRemoveErrorSourceDeviceDriver(errorsourceid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaReportHwError(errorpacket: *mut WHEA_ERROR_PACKET_V2) -> ::windows_core::Result<()> { +pub unsafe fn WheaReportHwError(errorpacket: *mut WHEA_ERROR_PACKET_V2) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaReportHwError(errorpacket : *mut WHEA_ERROR_PACKET_V2) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaReportHwError(errorpacket).ok() + WheaReportHwError(errorpacket) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn WheaReportHwErrorDeviceDriver(errorsourceid: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, errordata: &[u8], sectiontypeguid: *const ::windows_core::GUID, errorseverity: WHEA_ERROR_SEVERITY, devicefriendlyname: P0) -> ::windows_core::Result<()> +pub unsafe fn WheaReportHwErrorDeviceDriver(errorsourceid: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, errordata: &[u8], sectiontypeguid: *const ::windows_core::GUID, errorseverity: WHEA_ERROR_SEVERITY, devicefriendlyname: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaReportHwErrorDeviceDriver(errorsourceid : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, errordata : *const u8, errordatalength : u32, sectiontypeguid : *const ::windows_core::GUID, errorseverity : WHEA_ERROR_SEVERITY, devicefriendlyname : ::windows_core::PCSTR) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaReportHwErrorDeviceDriver(errorsourceid, deviceobject, ::core::mem::transmute(errordata.as_ptr()), errordata.len() as _, sectiontypeguid, errorseverity, devicefriendlyname.into_param().abi()).ok() + WheaReportHwErrorDeviceDriver(errorsourceid, deviceobject, ::core::mem::transmute(errordata.as_ptr()), errordata.len() as _, sectiontypeguid, errorseverity, devicefriendlyname.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] #[inline] -pub unsafe fn WheaUnconfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn WheaUnconfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaUnconfigureErrorSource(sourcetype : super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaUnconfigureErrorSource(sourcetype).ok() + WheaUnconfigureErrorSource(sourcetype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WheaUnregisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY) -> ::windows_core::Result<()> { +pub unsafe fn WheaUnregisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WheaUnregisterInUsePageOfflineNotification(callback : PFN_IN_USE_PAGE_OFFLINE_NOTIFY) -> super::super::super::Win32::Foundation:: NTSTATUS); - WheaUnregisterInUsePageOfflineNotification(callback).ok() + WheaUnregisterInUsePageOfflineNotification(callback) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WmiQueryTraceInformation(traceinformationclass: TRACE_INFORMATION_CLASS, traceinformation: *mut ::core::ffi::c_void, traceinformationlength: u32, requiredlength: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn WmiQueryTraceInformation(traceinformationclass: TRACE_INFORMATION_CLASS, traceinformation: *mut ::core::ffi::c_void, traceinformationlength: u32, requiredlength: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntoskrnl.exe" "system" fn WmiQueryTraceInformation(traceinformationclass : TRACE_INFORMATION_CLASS, traceinformation : *mut ::core::ffi::c_void, traceinformationlength : u32, requiredlength : *mut u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - WmiQueryTraceInformation(traceinformationclass, traceinformation, traceinformationlength, ::core::mem::transmute(requiredlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok() + WmiQueryTraceInformation(traceinformationclass, traceinformation, traceinformationlength, ::core::mem::transmute(requiredlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwAllocateLocallyUniqueId(luid: *mut super::super::super::Win32::Foundation::LUID) -> ::windows_core::Result<()> { +pub unsafe fn ZwAllocateLocallyUniqueId(luid: *mut super::super::super::Win32::Foundation::LUID) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwAllocateLocallyUniqueId(luid : *mut super::super::super::Win32::Foundation:: LUID) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwAllocateLocallyUniqueId(luid).ok() + ZwAllocateLocallyUniqueId(luid) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwCancelTimer(timerhandle: P0, currentstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> +pub unsafe fn ZwCancelTimer(timerhandle: P0, currentstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCancelTimer(timerhandle : super::super::super::Win32::Foundation:: HANDLE, currentstate : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCancelTimer(timerhandle.into_param().abi(), ::core::mem::transmute(currentstate.unwrap_or(::std::ptr::null_mut()))).ok() + ZwCancelTimer(timerhandle.into_param().abi(), ::core::mem::transmute(currentstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwClose(handle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwClose(handle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwClose(handle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwClose(handle.into_param().abi()).ok() + ZwClose(handle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwCommitComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwCommitComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCommitComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwCommitEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwCommitEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCommitEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwCommitRegistryTransaction(transactionhandle: P0, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwCommitRegistryTransaction(transactionhandle: P0, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCommitRegistryTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCommitRegistryTransaction(transactionhandle.into_param().abi(), flags).ok() + ZwCommitRegistryTransaction(transactionhandle.into_param().abi(), flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwCommitTransaction(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()> +pub unsafe fn ZwCommitTransaction(transactionhandle: P0, wait: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCommitTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok() + ZwCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateDirectoryObject(directoryhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateDirectoryObject(directoryhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateDirectoryObject(directoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateDirectoryObject(directoryhandle, desiredaccess, objectattributes).ok() + ZwCreateDirectoryObject(directoryhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok() + ZwCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, createdisposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength).ok() + ZwCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, disposition: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, disposition: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateKey(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, titleindex : u32, class : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, disposition : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateKey(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))).ok() + ZwCreateKey(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateKeyTransacted(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, transactionhandle: P0, disposition: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateKeyTransacted(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, transactionhandle: P0, disposition: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateKeyTransacted(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, titleindex : u32, class : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, disposition : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateKeyTransacted(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, transactionhandle.into_param().abi(), ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))).ok() + ZwCreateKeyTransacted(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, transactionhandle.into_param().abi(), ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateRegistryTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateRegistryTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions).ok() + ZwCreateRegistryTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok() + ZwCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateSection(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, filehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateSection(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi()).ok() + ZwCreateSection(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn ZwCreateTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, timertype: super::super::super::Win32::System::Kernel::TIMER_TYPE) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, timertype: super::super::super::Win32::System::Kernel::TIMER_TYPE) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTimer(timerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, timertype : super::super::super::Win32::System::Kernel:: TIMER_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateTimer(timerhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), timertype).ok() + ZwCreateTimer(timerhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), timertype) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn ZwCreateTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE, createoptions : u32, isolationlevel : u32, isolationflags : u32, timeout : *const i64, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok() + ZwCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, commitstrength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength).ok() + ZwCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwDeleteKey(keyhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwDeleteKey(keyhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwDeleteKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDeleteKey(keyhandle.into_param().abi()).ok() + ZwDeleteKey(keyhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwDeleteValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn ZwDeleteValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwDeleteValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDeleteValueKey(keyhandle.into_param().abi(), valuename).ok() + ZwDeleteValueKey(keyhandle.into_param().abi(), valuename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwDeviceIoControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwDeviceIoControlFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + ZwDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwDisplayString(string: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn ZwDisplayString(string: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwDisplayString(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwDisplayString(string).ok() + ZwDisplayString(string) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwEnumerateKey(keyhandle: P0, index: u32, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwEnumerateKey(keyhandle: P0, index: u32, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, index : u32, keyinformationclass : KEY_INFORMATION_CLASS, keyinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwEnumerateKey(keyhandle.into_param().abi(), index, keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok() + ZwEnumerateKey(keyhandle.into_param().abi(), index, keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwEnumerateTransactionObject(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwEnumerateTransactionObject(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateTransactionObject(rootobjecthandle : super::super::super::Win32::Foundation:: HANDLE, querytype : super::super::super::Win32::System::SystemServices:: KTMOBJECT_TYPE, objectcursor : *mut super::super::super::Win32::System::SystemServices:: KTMOBJECT_CURSOR, objectcursorlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength).ok() + ZwEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwEnumerateValueKey(keyhandle: P0, index: u32, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwEnumerateValueKey(keyhandle: P0, index: u32, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, index : u32, keyvalueinformationclass : KEY_VALUE_INFORMATION_CLASS, keyvalueinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwEnumerateValueKey(keyhandle.into_param().abi(), index, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok() + ZwEnumerateValueKey(keyhandle.into_param().abi(), index, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwFlushKey(keyhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwFlushKey(keyhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwFlushKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwFlushKey(keyhandle.into_param().abi()).ok() + ZwFlushKey(keyhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))] #[inline] -pub unsafe fn ZwGetNotificationResourceManager(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: *const i64, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> ::windows_core::Result<()> +pub unsafe fn ZwGetNotificationResourceManager(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: *const i64, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwGetNotificationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionnotification : *mut super::super::super::Win32::Storage::FileSystem:: TRANSACTION_NOTIFICATION, notificationlength : u32, timeout : *const i64, returnlength : *mut u32, asynchronous : u32, asynchronouscontext : usize) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, timeout, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext).ok() + ZwGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, timeout, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwLoadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn ZwLoadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwLoadDriver(driverservicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwLoadDriver(driverservicename).ok() + ZwLoadDriver(driverservicename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwMakeTemporaryObject(handle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwMakeTemporaryObject(handle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwMakeTemporaryObject(handle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwMakeTemporaryObject(handle.into_param().abi()).ok() + ZwMakeTemporaryObject(handle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwMapViewOfSection(sectionhandle: P0, processhandle: P1, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, commitsize: usize, sectionoffset: ::core::option::Option<*mut i64>, viewsize: *mut usize, inheritdisposition: SECTION_INHERIT, allocationtype: u32, win32protect: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwMapViewOfSection(sectionhandle: P0, processhandle: P1, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, commitsize: usize, sectionoffset: ::core::option::Option<*mut i64>, viewsize: *mut usize, inheritdisposition: SECTION_INHERIT, allocationtype: u32, win32protect: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwMapViewOfSection(sectionhandle : super::super::super::Win32::Foundation:: HANDLE, processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, zerobits : usize, commitsize : usize, sectionoffset : *mut i64, viewsize : *mut usize, inheritdisposition : SECTION_INHERIT, allocationtype : u32, win32protect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwMapViewOfSection(sectionhandle.into_param().abi(), processhandle.into_param().abi(), baseaddress, zerobits, commitsize, ::core::mem::transmute(sectionoffset.unwrap_or(::std::ptr::null_mut())), viewsize, inheritdisposition, allocationtype, win32protect).ok() + ZwMapViewOfSection(sectionhandle.into_param().abi(), processhandle.into_param().abi(), baseaddress, zerobits, commitsize, ::core::mem::transmute(sectionoffset.unwrap_or(::std::ptr::null_mut())), viewsize, inheritdisposition, allocationtype, win32protect) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, rmhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, rmhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, rmhandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenEnlistment(enlistmenthandle, desiredaccess, rmhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok() + ZwOpenEnlistment(enlistmenthandle, desiredaccess, rmhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenEvent(eventhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenEvent(eventhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenEvent(eventhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenEvent(eventhandle, desiredaccess, objectattributes).ok() + ZwOpenEvent(eventhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwOpenFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, shareaccess : u32, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions).ok() + ZwOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKey(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenKey(keyhandle, desiredaccess, objectattributes).ok() + ZwOpenKey(keyhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenKeyEx(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenKeyEx(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyEx(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenKeyEx(keyhandle, desiredaccess, objectattributes, openoptions).ok() + ZwOpenKeyEx(keyhandle, desiredaccess, objectattributes, openoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenKeyTransacted(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, transactionhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenKeyTransacted(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, transactionhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyTransacted(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, transactionhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenKeyTransacted(keyhandle, desiredaccess, objectattributes, transactionhandle.into_param().abi()).ok() + ZwOpenKeyTransacted(keyhandle, desiredaccess, objectattributes, transactionhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenKeyTransactedEx(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32, transactionhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenKeyTransactedEx(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32, transactionhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyTransactedEx(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, openoptions : u32, transactionhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenKeyTransactedEx(keyhandle, desiredaccess, objectattributes, openoptions, transactionhandle.into_param().abi()).ok() + ZwOpenKeyTransactedEx(keyhandle, desiredaccess, objectattributes, openoptions, transactionhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenProcess(processhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, clientid : *const super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))).ok() + ZwOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenResourceManager(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), resourcemanagerguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok() + ZwOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), resourcemanagerguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenSection(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenSection(sectionhandle, desiredaccess, objectattributes).ok() + ZwOpenSection(sectionhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenSymbolicLinkObject(linkhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenSymbolicLinkObject(linkhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenSymbolicLinkObject(linkhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenSymbolicLinkObject(linkhandle, desiredaccess, objectattributes).ok() + ZwOpenSymbolicLinkObject(linkhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTimer(timerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenTimer(timerhandle, desiredaccess, objectattributes).ok() + ZwOpenTimer(timerhandle, desiredaccess, objectattributes) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: *const ::windows_core::GUID, tmhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwOpenTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: *const ::windows_core::GUID, tmhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), uow, tmhandle.into_param().abi()).ok() + ZwOpenTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), uow, tmhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] #[inline] -pub unsafe fn ZwOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmidentity : *const ::windows_core::GUID, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions).ok() + ZwOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))] #[inline] -pub unsafe fn ZwPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn ZwPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwPowerInformation(informationlevel : super::super::super::Win32::System::Power:: POWER_INFORMATION_LEVEL, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + ZwPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwPrePrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwPrePrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwPrePrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwPrePrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwPrePrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwPrePrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwPrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwPrepareComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwPrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwPrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwPrepareEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwPrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> { +pub unsafe fn ZwQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationByName(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass).ok() + ZwQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwQueryInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *mut ::core::ffi::c_void, enlistmentinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwQueryInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok() + ZwQueryInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwQueryInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *mut ::core::ffi::c_void, resourcemanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwQueryInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *mut ::core::ffi::c_void, transactioninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwQueryInformationTransactionManager(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryInformationTransactionManager(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *mut ::core::ffi::c_void, transactionmanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwQueryKey(keyhandle: P0, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryKey(keyhandle: P0, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keyinformationclass : KEY_INFORMATION_CLASS, keyinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryKey(keyhandle.into_param().abi(), keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok() + ZwQueryKey(keyhandle.into_param().abi(), keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwQuerySymbolicLinkObject(linkhandle: P0, linktarget: *mut super::super::super::Win32::Foundation::UNICODE_STRING, returnedlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwQuerySymbolicLinkObject(linkhandle: P0, linktarget: *mut super::super::super::Win32::Foundation::UNICODE_STRING, returnedlength: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQuerySymbolicLinkObject(linkhandle : super::super::super::Win32::Foundation:: HANDLE, linktarget : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, returnedlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQuerySymbolicLinkObject(linkhandle.into_param().abi(), linktarget, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok() + ZwQuerySymbolicLinkObject(linkhandle.into_param().abi(), linktarget, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwQueryValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn ZwQueryValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwQueryValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, keyvalueinformationclass : KEY_VALUE_INFORMATION_CLASS, keyvalueinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwQueryValueKey(keyhandle.into_param().abi(), valuename, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok() + ZwQueryValueKey(keyhandle.into_param().abi(), valuename, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwReadFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwReadFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwReadFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwReadFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok() + ZwReadFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwReadOnlyEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwReadOnlyEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwReadOnlyEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRecoverEnlistment(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn ZwRecoverEnlistment(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok() + ZwRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRecoverResourceManager(resourcemanagerhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwRecoverResourceManager(resourcemanagerhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRecoverResourceManager(resourcemanagerhandle.into_param().abi()).ok() + ZwRecoverResourceManager(resourcemanagerhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRecoverTransactionManager(transactionmanagerhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn ZwRecoverTransactionManager(transactionmanagerhandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRecoverTransactionManager(transactionmanagerhandle.into_param().abi()).ok() + ZwRecoverTransactionManager(transactionmanagerhandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRenameKey(keyhandle: P0, newname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn ZwRenameKey(keyhandle: P0, newname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRenameKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, newname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRenameKey(keyhandle.into_param().abi(), newname).ok() + ZwRenameKey(keyhandle.into_param().abi(), newname) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRestoreKey(keyhandle: P0, filehandle: P1, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwRestoreKey(keyhandle: P0, filehandle: P1, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRestoreKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRestoreKey(keyhandle.into_param().abi(), filehandle.into_param().abi(), flags).ok() + ZwRestoreKey(keyhandle.into_param().abi(), filehandle.into_param().abi(), flags) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRollbackComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwRollbackComplete(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRollbackEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwRollbackEnlistment(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRollbackTransaction(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()> +pub unsafe fn ZwRollbackTransaction(transactionhandle: P0, wait: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok() + ZwRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwRollforwardTransactionManager(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwRollforwardTransactionManager(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwRollforwardTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSaveKey(keyhandle: P0, filehandle: P1) -> ::windows_core::Result<()> +pub unsafe fn ZwSaveKey(keyhandle: P0, filehandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSaveKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSaveKey(keyhandle.into_param().abi(), filehandle.into_param().abi()).ok() + ZwSaveKey(keyhandle.into_param().abi(), filehandle.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSaveKeyEx(keyhandle: P0, filehandle: P1, format: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSaveKeyEx(keyhandle: P0, filehandle: P1, format: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSaveKeyEx(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE, format : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSaveKeyEx(keyhandle.into_param().abi(), filehandle.into_param().abi(), format).ok() + ZwSaveKeyEx(keyhandle.into_param().abi(), filehandle.into_param().abi(), format) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwSetInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationEnlistment(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *const ::core::ffi::c_void, enlistmentinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength).ok() + ZwSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn ZwSetInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationFile(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *const ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok() + ZwSetInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwSetInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationResourceManager(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *const ::core::ffi::c_void, resourcemanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength).ok() + ZwSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwSetInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationTransaction(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *const ::core::ffi::c_void, transactioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength).ok() + ZwSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))] #[inline] -pub unsafe fn ZwSetInformationTransactionManager(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationTransactionManager(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationTransactionManager(tmhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *const ::core::ffi::c_void, transactionmanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength).ok() + ZwSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetTimer(timerhandle: P0, duetime: *const i64, timerapcroutine: PTIMER_APC_ROUTINE, timercontext: ::core::option::Option<*const ::core::ffi::c_void>, resumetimer: P1, period: i32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> +pub unsafe fn ZwSetTimer(timerhandle: P0, duetime: *const i64, timerapcroutine: PTIMER_APC_ROUTINE, timercontext: ::core::option::Option<*const ::core::ffi::c_void>, resumetimer: P1, period: i32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetTimer(timerhandle : super::super::super::Win32::Foundation:: HANDLE, duetime : *const i64, timerapcroutine : PTIMER_APC_ROUTINE, timercontext : *const ::core::ffi::c_void, resumetimer : super::super::super::Win32::Foundation:: BOOLEAN, period : i32, previousstate : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetTimer(timerhandle.into_param().abi(), duetime, timerapcroutine, ::core::mem::transmute(timercontext.unwrap_or(::std::ptr::null())), resumetimer.into_param().abi(), period, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut()))).ok() + ZwSetTimer(timerhandle.into_param().abi(), duetime, timerapcroutine, ::core::mem::transmute(timercontext.unwrap_or(::std::ptr::null())), resumetimer.into_param().abi(), period, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetTimerEx(timerhandle: P0, timersetinformationclass: TIMER_SET_INFORMATION_CLASS, timersetinformation: ::core::option::Option<*mut ::core::ffi::c_void>, timersetinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetTimerEx(timerhandle: P0, timersetinformationclass: TIMER_SET_INFORMATION_CLASS, timersetinformation: ::core::option::Option<*mut ::core::ffi::c_void>, timersetinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetTimerEx(timerhandle : super::super::super::Win32::Foundation:: HANDLE, timersetinformationclass : TIMER_SET_INFORMATION_CLASS, timersetinformation : *mut ::core::ffi::c_void, timersetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetTimerEx(timerhandle.into_param().abi(), timersetinformationclass, ::core::mem::transmute(timersetinformation.unwrap_or(::std::ptr::null_mut())), timersetinformationlength).ok() + ZwSetTimerEx(timerhandle.into_param().abi(), timersetinformationclass, ::core::mem::transmute(timersetinformation.unwrap_or(::std::ptr::null_mut())), timersetinformationlength) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, titleindex: u32, r#type: u32, data: ::core::option::Option<*const ::core::ffi::c_void>, datasize: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetValueKey(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, titleindex: u32, r#type: u32, data: ::core::option::Option<*const ::core::ffi::c_void>, datasize: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, titleindex : u32, r#type : u32, data : *const ::core::ffi::c_void, datasize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetValueKey(keyhandle.into_param().abi(), valuename, titleindex, r#type, ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), datasize).ok() + ZwSetValueKey(keyhandle.into_param().abi(), valuename, titleindex, r#type, ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), datasize) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSinglePhaseReject(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> +pub unsafe fn ZwSinglePhaseReject(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSinglePhaseReject(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok() + ZwSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwTerminateProcess(processhandle: P0, exitstatus: P1) -> ::windows_core::Result<()> +pub unsafe fn ZwTerminateProcess(processhandle: P0, exitstatus: P1) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwTerminateProcess(processhandle : super::super::super::Win32::Foundation:: HANDLE, exitstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwTerminateProcess(processhandle.into_param().abi(), exitstatus.into_param().abi()).ok() + ZwTerminateProcess(processhandle.into_param().abi(), exitstatus.into_param().abi()) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwUnloadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn ZwUnloadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn ZwUnloadDriver(driverservicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwUnloadDriver(driverservicename).ok() + ZwUnloadDriver(driverservicename) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwUnmapViewOfSection(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn ZwUnmapViewOfSection(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwUnmapViewOfSection(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwUnmapViewOfSection(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null()))).ok() + ZwUnmapViewOfSection(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn ZwWriteFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()> +pub unsafe fn ZwWriteFile(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwWriteFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwWriteFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok() + ZwWriteFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"] #[inline] diff --git a/crates/libs/windows/src/Windows/Wdk/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/Threading/mod.rs index 9078c25035..20b6c39344 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/Threading/mod.rs @@ -1,53 +1,53 @@ #[doc = "*Required features: `\"Wdk_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryInformationProcess(processhandle: P0, processinformationclass: PROCESSINFOCLASS, processinformation: *mut ::core::ffi::c_void, processinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationProcess(processhandle: P0, processinformationclass: PROCESSINFOCLASS, processinformation: *mut ::core::ffi::c_void, processinformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationProcess(processhandle : super::super::super::Win32::Foundation:: HANDLE, processinformationclass : PROCESSINFOCLASS, processinformation : *mut ::core::ffi::c_void, processinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationProcess(processhandle.into_param().abi(), processinformationclass, processinformation, processinformationlength, returnlength).ok() + NtQueryInformationProcess(processhandle.into_param().abi(), processinformationclass, processinformation, processinformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtQueryInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *mut ::core::ffi::c_void, threadinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn NtQueryInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *mut ::core::ffi::c_void, threadinformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *mut ::core::ffi::c_void, threadinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtQueryInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength, returnlength).ok() + NtQueryInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength, returnlength) } #[doc = "*Required features: `\"Wdk_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtSetInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *const ::core::ffi::c_void, threadinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn NtSetInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *const ::core::ffi::c_void, threadinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *const ::core::ffi::c_void, threadinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtSetInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength).ok() + NtSetInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength) } #[doc = "*Required features: `\"Wdk_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NtWaitForSingleObject(handle: P0, alertable: P1, timeout: *mut i64) -> ::windows_core::Result<()> +pub unsafe fn NtWaitForSingleObject(handle: P0, alertable: P1, timeout: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn NtWaitForSingleObject(handle : super::super::super::Win32::Foundation:: HANDLE, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS); - NtWaitForSingleObject(handle.into_param().abi(), alertable.into_param().abi(), timeout).ok() + NtWaitForSingleObject(handle.into_param().abi(), alertable.into_param().abi(), timeout) } #[doc = "*Required features: `\"Wdk_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ZwSetInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *const ::core::ffi::c_void, threadinformationlength: u32) -> ::windows_core::Result<()> +pub unsafe fn ZwSetInformationThread(threadhandle: P0, threadinformationclass: THREADINFOCLASS, threadinformation: *const ::core::ffi::c_void, threadinformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *const ::core::ffi::c_void, threadinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); - ZwSetInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength).ok() + ZwSetInformationThread(threadhandle.into_param().abi(), threadinformationclass, threadinformation, threadinformationlength) } #[doc = "*Required features: `\"Wdk_System_Threading\"`*"] pub const MaxProcessInfoClass: PROCESSINFOCLASS = PROCESSINFOCLASS(83i32); diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index 5444927dc3..bbaf30fde7 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAtomPubClient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAtomPubClient { type Vtable = IAtomPubClient_Vtbl; } -impl ::core::clone::Clone for IAtomPubClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAtomPubClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35392c38_cded_4d4c_9637_05f15c1c9406); } @@ -60,15 +56,11 @@ pub struct IAtomPubClient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAtomPubClientFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAtomPubClientFactory { type Vtable = IAtomPubClientFactory_Vtbl; } -impl ::core::clone::Clone for IAtomPubClientFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAtomPubClientFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49d55012_57cb_4bde_ab9f_2610b172777b); } @@ -83,15 +75,11 @@ pub struct IAtomPubClientFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResourceCollection { type Vtable = IResourceCollection_Vtbl; } -impl ::core::clone::Clone for IResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f5fd609_bc88_41d4_88fa_3de6704d428e); } @@ -118,15 +106,11 @@ pub struct IResourceCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceDocument(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServiceDocument { type Vtable = IServiceDocument_Vtbl; } -impl ::core::clone::Clone for IServiceDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b7ec771_2ab3_4dbe_8bcc_778f92b75e51); } @@ -141,15 +125,11 @@ pub struct IServiceDocument_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspace(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWorkspace { type Vtable = IWorkspace_Vtbl; } -impl ::core::clone::Clone for IWorkspace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb41da63b_a4b8_4036_89c5_83c31266ba49); } @@ -168,6 +148,7 @@ pub struct IWorkspace_Vtbl { } #[doc = "*Required features: `\"Web_AtomPub\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AtomPubClient(::windows_core::IUnknown); impl AtomPubClient { pub fn new() -> ::windows_core::Result { @@ -421,25 +402,9 @@ impl AtomPubClient { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for AtomPubClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AtomPubClient {} -impl ::core::fmt::Debug for AtomPubClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AtomPubClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for AtomPubClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.AtomPubClient;{35392c38-cded-4d4c-9637-05f15c1c9406})"); } -impl ::core::clone::Clone for AtomPubClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for AtomPubClient { type Vtable = IAtomPubClient_Vtbl; } @@ -456,6 +421,7 @@ unsafe impl ::core::marker::Send for AtomPubClient {} unsafe impl ::core::marker::Sync for AtomPubClient {} #[doc = "*Required features: `\"Web_AtomPub\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ResourceCollection(::windows_core::IUnknown); impl ResourceCollection { #[doc = "*Required features: `\"Web_Syndication\"`*"] @@ -600,25 +566,9 @@ impl ResourceCollection { } } } -impl ::core::cmp::PartialEq for ResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ResourceCollection {} -impl ::core::fmt::Debug for ResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ResourceCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ResourceCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ResourceCollection;{7f5fd609-bc88-41d4-88fa-3de6704d428e})"); } -impl ::core::clone::Clone for ResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ResourceCollection { type Vtable = IResourceCollection_Vtbl; } @@ -635,6 +585,7 @@ unsafe impl ::core::marker::Send for ResourceCollection {} unsafe impl ::core::marker::Sync for ResourceCollection {} #[doc = "*Required features: `\"Web_AtomPub\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ServiceDocument(::windows_core::IUnknown); impl ServiceDocument { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -752,25 +703,9 @@ impl ServiceDocument { } } } -impl ::core::cmp::PartialEq for ServiceDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ServiceDocument {} -impl ::core::fmt::Debug for ServiceDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ServiceDocument").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ServiceDocument { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.ServiceDocument;{8b7ec771-2ab3-4dbe-8bcc-778f92b75e51})"); } -impl ::core::clone::Clone for ServiceDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for ServiceDocument { type Vtable = IServiceDocument_Vtbl; } @@ -787,6 +722,7 @@ unsafe impl ::core::marker::Send for ServiceDocument {} unsafe impl ::core::marker::Sync for ServiceDocument {} #[doc = "*Required features: `\"Web_AtomPub\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Workspace(::windows_core::IUnknown); impl Workspace { #[doc = "*Required features: `\"Web_Syndication\"`*"] @@ -913,25 +849,9 @@ impl Workspace { } } } -impl ::core::cmp::PartialEq for Workspace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Workspace {} -impl ::core::fmt::Debug for Workspace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Workspace").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Workspace { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.AtomPub.Workspace;{b41da63b-a4b8-4036-89c5-83c31266ba49})"); } -impl ::core::clone::Clone for Workspace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Workspace { type Vtable = IWorkspace_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs index c6010ce468..2345690451 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProvider(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProvider { type Vtable = IHttpDiagnosticProvider_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd811501_a056_4d39_b174_833b7b03b02c); } @@ -45,15 +41,11 @@ pub struct IHttpDiagnosticProvider_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProviderRequestResponseCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProviderRequestResponseCompletedEventArgs { type Vtable = IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProviderRequestResponseCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProviderRequestResponseCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x735f98ee_94f6_4532_b26e_61e1b1e4efd4); } @@ -77,15 +69,11 @@ pub struct IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProviderRequestResponseTimestamps(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProviderRequestResponseTimestamps { type Vtable = IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProviderRequestResponseTimestamps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProviderRequestResponseTimestamps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0afde10_55cf_4c01_91d4_a20557d849f0); } @@ -132,15 +120,11 @@ pub struct IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProviderRequestSentEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProviderRequestSentEventArgs { type Vtable = IHttpDiagnosticProviderRequestSentEventArgs_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProviderRequestSentEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProviderRequestSentEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f5196d0_4c1f_4ebe_a57a_06930771c50d); } @@ -164,15 +148,11 @@ pub struct IHttpDiagnosticProviderRequestSentEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProviderResponseReceivedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProviderResponseReceivedEventArgs { type Vtable = IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProviderResponseReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProviderResponseReceivedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0a2566c_ab5f_4d66_bb2d_084cf41635d0); } @@ -189,15 +169,11 @@ pub struct IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticProviderStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticProviderStatics { type Vtable = IHttpDiagnosticProviderStatics_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticProviderStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticProviderStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b824ec1_6a6c_47cc_afec_1e86bc26053b); } @@ -212,15 +188,11 @@ pub struct IHttpDiagnosticProviderStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDiagnosticSourceLocation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDiagnosticSourceLocation { type Vtable = IHttpDiagnosticSourceLocation_Vtbl; } -impl ::core::clone::Clone for IHttpDiagnosticSourceLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDiagnosticSourceLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54a9d260_8860_423f_b6fa_d77716f647a7); } @@ -237,6 +209,7 @@ pub struct IHttpDiagnosticSourceLocation_Vtbl { } #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticProvider(::windows_core::IUnknown); impl HttpDiagnosticProvider { pub fn Start(&self) -> ::windows_core::Result<()> { @@ -318,25 +291,9 @@ impl HttpDiagnosticProvider { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpDiagnosticProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticProvider {} -impl ::core::fmt::Debug for HttpDiagnosticProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticProvider").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticProvider { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProvider;{bd811501-a056-4d39-b174-833b7b03b02c})"); } -impl ::core::clone::Clone for HttpDiagnosticProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticProvider { type Vtable = IHttpDiagnosticProvider_Vtbl; } @@ -351,6 +308,7 @@ unsafe impl ::core::marker::Send for HttpDiagnosticProvider {} unsafe impl ::core::marker::Sync for HttpDiagnosticProvider {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticProviderRequestResponseCompletedEventArgs(::windows_core::IUnknown); impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { pub fn ActivityId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -407,25 +365,9 @@ impl HttpDiagnosticProviderRequestResponseCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for HttpDiagnosticProviderRequestResponseCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticProviderRequestResponseCompletedEventArgs {} -impl ::core::fmt::Debug for HttpDiagnosticProviderRequestResponseCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticProviderRequestResponseCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticProviderRequestResponseCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseCompletedEventArgs;{735f98ee-94f6-4532-b26e-61e1b1e4efd4})"); } -impl ::core::clone::Clone for HttpDiagnosticProviderRequestResponseCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticProviderRequestResponseCompletedEventArgs { type Vtable = IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl; } @@ -440,6 +382,7 @@ unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestResponseComple unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestResponseCompletedEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticProviderRequestResponseTimestamps(::windows_core::IUnknown); impl HttpDiagnosticProviderRequestResponseTimestamps { #[doc = "*Required features: `\"Foundation\"`*"] @@ -524,25 +467,9 @@ impl HttpDiagnosticProviderRequestResponseTimestamps { } } } -impl ::core::cmp::PartialEq for HttpDiagnosticProviderRequestResponseTimestamps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticProviderRequestResponseTimestamps {} -impl ::core::fmt::Debug for HttpDiagnosticProviderRequestResponseTimestamps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticProviderRequestResponseTimestamps").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticProviderRequestResponseTimestamps { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestResponseTimestamps;{e0afde10-55cf-4c01-91d4-a20557d849f0})"); } -impl ::core::clone::Clone for HttpDiagnosticProviderRequestResponseTimestamps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticProviderRequestResponseTimestamps { type Vtable = IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl; } @@ -557,6 +484,7 @@ unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestResponseTimest unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestResponseTimestamps {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticProviderRequestSentEventArgs(::windows_core::IUnknown); impl HttpDiagnosticProviderRequestSentEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -613,25 +541,9 @@ impl HttpDiagnosticProviderRequestSentEventArgs { } } } -impl ::core::cmp::PartialEq for HttpDiagnosticProviderRequestSentEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticProviderRequestSentEventArgs {} -impl ::core::fmt::Debug for HttpDiagnosticProviderRequestSentEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticProviderRequestSentEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticProviderRequestSentEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderRequestSentEventArgs;{3f5196d0-4c1f-4ebe-a57a-06930771c50d})"); } -impl ::core::clone::Clone for HttpDiagnosticProviderRequestSentEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticProviderRequestSentEventArgs { type Vtable = IHttpDiagnosticProviderRequestSentEventArgs_Vtbl; } @@ -646,6 +558,7 @@ unsafe impl ::core::marker::Send for HttpDiagnosticProviderRequestSentEventArgs unsafe impl ::core::marker::Sync for HttpDiagnosticProviderRequestSentEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticProviderResponseReceivedEventArgs(::windows_core::IUnknown); impl HttpDiagnosticProviderResponseReceivedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -672,25 +585,9 @@ impl HttpDiagnosticProviderResponseReceivedEventArgs { } } } -impl ::core::cmp::PartialEq for HttpDiagnosticProviderResponseReceivedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticProviderResponseReceivedEventArgs {} -impl ::core::fmt::Debug for HttpDiagnosticProviderResponseReceivedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticProviderResponseReceivedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticProviderResponseReceivedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticProviderResponseReceivedEventArgs;{a0a2566c-ab5f-4d66-bb2d-084cf41635d0})"); } -impl ::core::clone::Clone for HttpDiagnosticProviderResponseReceivedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticProviderResponseReceivedEventArgs { type Vtable = IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl; } @@ -705,6 +602,7 @@ unsafe impl ::core::marker::Send for HttpDiagnosticProviderResponseReceivedEvent unsafe impl ::core::marker::Sync for HttpDiagnosticProviderResponseReceivedEventArgs {} #[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDiagnosticSourceLocation(::windows_core::IUnknown); impl HttpDiagnosticSourceLocation { #[doc = "*Required features: `\"Foundation\"`*"] @@ -731,25 +629,9 @@ impl HttpDiagnosticSourceLocation { } } } -impl ::core::cmp::PartialEq for HttpDiagnosticSourceLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDiagnosticSourceLocation {} -impl ::core::fmt::Debug for HttpDiagnosticSourceLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDiagnosticSourceLocation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDiagnosticSourceLocation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Diagnostics.HttpDiagnosticSourceLocation;{54a9d260-8860-423f-b6fa-d77716f647a7})"); } -impl ::core::clone::Clone for HttpDiagnosticSourceLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDiagnosticSourceLocation { type Vtable = IHttpDiagnosticSourceLocation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs index 09f7d1718d..9094ba6fb5 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs @@ -24,7 +24,7 @@ impl IHttpFilter_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SendRequestAsync: SendRequestAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs index 974e5082e2..08a7a8c3d4 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilter(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilter { type Vtable = IHttpBaseProtocolFilter_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c89b09_e131_4b54_a53c_eb43ff37e9bb); } @@ -59,15 +55,11 @@ pub struct IHttpBaseProtocolFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilter2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilter2 { type Vtable = IHttpBaseProtocolFilter2_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ec30013_9427_4900_a017_fa7da3b5c9ae); } @@ -80,15 +72,11 @@ pub struct IHttpBaseProtocolFilter2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilter3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilter3 { type Vtable = IHttpBaseProtocolFilter3_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd43f4d4c_bd42_43ae_8717_ad2c8f4b2937); } @@ -101,15 +89,11 @@ pub struct IHttpBaseProtocolFilter3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilter4(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilter4 { type Vtable = IHttpBaseProtocolFilter4_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilter4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilter4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fe36ccf_2983_4893_941f_eb518ca8cef9); } @@ -129,15 +113,11 @@ pub struct IHttpBaseProtocolFilter4_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilter5(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilter5 { type Vtable = IHttpBaseProtocolFilter5_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilter5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilter5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x416e4993_31e3_4816_bf09_e018ee8dc1f5); } @@ -152,15 +132,11 @@ pub struct IHttpBaseProtocolFilter5_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBaseProtocolFilterStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBaseProtocolFilterStatics { type Vtable = IHttpBaseProtocolFilterStatics_Vtbl; } -impl ::core::clone::Clone for IHttpBaseProtocolFilterStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBaseProtocolFilterStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d4dee0c_e908_494e_b5a3_1263c9b8242a); } @@ -175,15 +151,11 @@ pub struct IHttpBaseProtocolFilterStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCacheControl(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCacheControl { type Vtable = IHttpCacheControl_Vtbl; } -impl ::core::clone::Clone for IHttpCacheControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCacheControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc77e1cb4_3cea_4eb5_ac85_04e186e63ab7); } @@ -198,6 +170,7 @@ pub struct IHttpCacheControl_Vtbl { } #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpFilter(::windows_core::IUnknown); impl IHttpFilter { #[doc = "*Required features: `\"Foundation\"`*"] @@ -222,28 +195,12 @@ impl IHttpFilter { ::windows_core::imp::interface_hierarchy!(IHttpFilter, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IHttpFilter {} -impl ::core::cmp::PartialEq for IHttpFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpFilter {} -impl ::core::fmt::Debug for IHttpFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IHttpFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{a4cb6dd5-0902-439e-bfd7-e12552b165ce}"); } unsafe impl ::windows_core::Interface for IHttpFilter { type Vtable = IHttpFilter_Vtbl; } -impl ::core::clone::Clone for IHttpFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4cb6dd5_0902_439e_bfd7_e12552b165ce); } @@ -258,15 +215,11 @@ pub struct IHttpFilter_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpServerCustomValidationRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpServerCustomValidationRequestedEventArgs { type Vtable = IHttpServerCustomValidationRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IHttpServerCustomValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpServerCustomValidationRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3165fe32_e7dd_48b7_a361_939c750e63cc); } @@ -299,6 +252,7 @@ pub struct IHttpServerCustomValidationRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpBaseProtocolFilter(::windows_core::IUnknown); impl HttpBaseProtocolFilter { pub fn new() -> ::windows_core::Result { @@ -528,25 +482,9 @@ impl HttpBaseProtocolFilter { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpBaseProtocolFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpBaseProtocolFilter {} -impl ::core::fmt::Debug for HttpBaseProtocolFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpBaseProtocolFilter").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpBaseProtocolFilter { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpBaseProtocolFilter;{71c89b09-e131-4b54-a53c-eb43ff37e9bb})"); } -impl ::core::clone::Clone for HttpBaseProtocolFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpBaseProtocolFilter { type Vtable = IHttpBaseProtocolFilter_Vtbl; } @@ -564,6 +502,7 @@ unsafe impl ::core::marker::Send for HttpBaseProtocolFilter {} unsafe impl ::core::marker::Sync for HttpBaseProtocolFilter {} #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCacheControl(::windows_core::IUnknown); impl HttpCacheControl { pub fn ReadBehavior(&self) -> ::windows_core::Result { @@ -589,25 +528,9 @@ impl HttpCacheControl { unsafe { (::windows_core::Interface::vtable(this).SetWriteBehavior)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for HttpCacheControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCacheControl {} -impl ::core::fmt::Debug for HttpCacheControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCacheControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCacheControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpCacheControl;{c77e1cb4-3cea-4eb5-ac85-04e186e63ab7})"); } -impl ::core::clone::Clone for HttpCacheControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCacheControl { type Vtable = IHttpCacheControl_Vtbl; } @@ -622,6 +545,7 @@ unsafe impl ::core::marker::Send for HttpCacheControl {} unsafe impl ::core::marker::Sync for HttpCacheControl {} #[doc = "*Required features: `\"Web_Http_Filters\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpServerCustomValidationRequestedEventArgs(::windows_core::IUnknown); impl HttpServerCustomValidationRequestedEventArgs { pub fn RequestMessage(&self) -> ::windows_core::Result { @@ -681,25 +605,9 @@ impl HttpServerCustomValidationRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for HttpServerCustomValidationRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpServerCustomValidationRequestedEventArgs {} -impl ::core::fmt::Debug for HttpServerCustomValidationRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpServerCustomValidationRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpServerCustomValidationRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Filters.HttpServerCustomValidationRequestedEventArgs;{3165fe32-e7dd-48b7-a361-939c750e63cc})"); } -impl ::core::clone::Clone for HttpServerCustomValidationRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpServerCustomValidationRequestedEventArgs { type Vtable = IHttpServerCustomValidationRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index 310be405d6..0821d1c395 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCacheDirectiveHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCacheDirectiveHeaderValueCollection { type Vtable = IHttpCacheDirectiveHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpCacheDirectiveHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCacheDirectiveHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a586b89_d5d0_4fbe_bd9d_b5b3636811b4); } @@ -53,15 +49,11 @@ pub struct IHttpCacheDirectiveHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpChallengeHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpChallengeHeaderValue { type Vtable = IHttpChallengeHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpChallengeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpChallengeHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x393361af_0f7d_4820_9fdd_a2b956eeaeab); } @@ -78,15 +70,11 @@ pub struct IHttpChallengeHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpChallengeHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpChallengeHeaderValueCollection { type Vtable = IHttpChallengeHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpChallengeHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpChallengeHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca9e5f81_aee0_4353_a10b_e625babd64c2); } @@ -99,15 +87,11 @@ pub struct IHttpChallengeHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpChallengeHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpChallengeHeaderValueFactory { type Vtable = IHttpChallengeHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpChallengeHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpChallengeHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc452c451_d99c_40aa_9399_90eeb98fc613); } @@ -120,15 +104,11 @@ pub struct IHttpChallengeHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpChallengeHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpChallengeHeaderValueStatics { type Vtable = IHttpChallengeHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpChallengeHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpChallengeHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3d38a72_fc01_4d01_a008_fcb7c459d635); } @@ -141,15 +121,11 @@ pub struct IHttpChallengeHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpConnectionOptionHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpConnectionOptionHeaderValue { type Vtable = IHttpConnectionOptionHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpConnectionOptionHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpConnectionOptionHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb4af27a_4e90_45eb_8dcd_fd1408f4c44f); } @@ -161,15 +137,11 @@ pub struct IHttpConnectionOptionHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpConnectionOptionHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpConnectionOptionHeaderValueCollection { type Vtable = IHttpConnectionOptionHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpConnectionOptionHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpConnectionOptionHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4f56c1d_5142_4e00_8e0f_019509337629); } @@ -182,15 +154,11 @@ pub struct IHttpConnectionOptionHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpConnectionOptionHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpConnectionOptionHeaderValueFactory { type Vtable = IHttpConnectionOptionHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpConnectionOptionHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpConnectionOptionHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd93ccc1e_0b7d_4c3f_a58d_a2a1bdeabc0a); } @@ -202,15 +170,11 @@ pub struct IHttpConnectionOptionHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpConnectionOptionHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpConnectionOptionHeaderValueStatics { type Vtable = IHttpConnectionOptionHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpConnectionOptionHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpConnectionOptionHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaa75d37_a946_4b1f_85af_48b68b3c50bd); } @@ -223,15 +187,11 @@ pub struct IHttpConnectionOptionHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingHeaderValue { type Vtable = IHttpContentCodingHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcf7f92a_9376_4d85_bccc_9f4f9acab434); } @@ -243,15 +203,11 @@ pub struct IHttpContentCodingHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingHeaderValueCollection { type Vtable = IHttpContentCodingHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d221721_a6db_436e_8e83_91596192819c); } @@ -264,15 +220,11 @@ pub struct IHttpContentCodingHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingHeaderValueFactory { type Vtable = IHttpContentCodingHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc53d2bd7_332b_4350_8510_2e67a2289a5a); } @@ -284,15 +236,11 @@ pub struct IHttpContentCodingHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingHeaderValueStatics { type Vtable = IHttpContentCodingHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94d8602e_f9bf_42f7_aa46_ed272a41e212); } @@ -305,15 +253,11 @@ pub struct IHttpContentCodingHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingWithQualityHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingWithQualityHeaderValue { type Vtable = IHttpContentCodingWithQualityHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingWithQualityHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94531cd5_8b13_4d73_8651_f76b38f88495); } @@ -329,15 +273,11 @@ pub struct IHttpContentCodingWithQualityHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingWithQualityHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingWithQualityHeaderValueCollection { type Vtable = IHttpContentCodingWithQualityHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingWithQualityHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c0d753e_e899_4378_b5c8_412d820711cc); } @@ -350,15 +290,11 @@ pub struct IHttpContentCodingWithQualityHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingWithQualityHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingWithQualityHeaderValueFactory { type Vtable = IHttpContentCodingWithQualityHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingWithQualityHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingWithQualityHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc45eee1a_c553_46fc_ade2_d75c1d53df7b); } @@ -371,15 +307,11 @@ pub struct IHttpContentCodingWithQualityHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentCodingWithQualityHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentCodingWithQualityHeaderValueStatics { type Vtable = IHttpContentCodingWithQualityHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpContentCodingWithQualityHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentCodingWithQualityHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8c9357c_8f89_4801_8e75_4c9abfc3de71); } @@ -392,15 +324,11 @@ pub struct IHttpContentCodingWithQualityHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentDispositionHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentDispositionHeaderValue { type Vtable = IHttpContentDispositionHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpContentDispositionHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentDispositionHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2a2eedc_2629_4b49_9908_96a168e9365e); } @@ -431,15 +359,11 @@ pub struct IHttpContentDispositionHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentDispositionHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentDispositionHeaderValueFactory { type Vtable = IHttpContentDispositionHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpContentDispositionHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentDispositionHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9915bbc4_456c_4e81_8295_b2ab3cbcf545); } @@ -451,15 +375,11 @@ pub struct IHttpContentDispositionHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentDispositionHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentDispositionHeaderValueStatics { type Vtable = IHttpContentDispositionHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpContentDispositionHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentDispositionHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29c56067_5a37_46e4_b074_c5177d69ca66); } @@ -472,15 +392,11 @@ pub struct IHttpContentDispositionHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentHeaderCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentHeaderCollection { type Vtable = IHttpContentHeaderCollection_Vtbl; } -impl ::core::clone::Clone for IHttpContentHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentHeaderCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40612a44_47ae_4b7e_9124_69628b64aa18); } @@ -541,15 +457,11 @@ pub struct IHttpContentHeaderCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentRangeHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentRangeHeaderValue { type Vtable = IHttpContentRangeHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpContentRangeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentRangeHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04d967d3_a4f6_495c_9530_8579fcba8aa9); } @@ -574,15 +486,11 @@ pub struct IHttpContentRangeHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentRangeHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentRangeHeaderValueFactory { type Vtable = IHttpContentRangeHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpContentRangeHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentRangeHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f5bd691_a03c_4456_9a6f_ef27ecd03cae); } @@ -596,15 +504,11 @@ pub struct IHttpContentRangeHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContentRangeHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpContentRangeHeaderValueStatics { type Vtable = IHttpContentRangeHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpContentRangeHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContentRangeHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80a346ca_174c_4fae_821c_134cd294aa38); } @@ -617,15 +521,11 @@ pub struct IHttpContentRangeHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookiePairHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookiePairHeaderValue { type Vtable = IHttpCookiePairHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpCookiePairHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookiePairHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbd46217_4b29_412b_bd90_b3d814ab8e1b); } @@ -639,15 +539,11 @@ pub struct IHttpCookiePairHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookiePairHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookiePairHeaderValueCollection { type Vtable = IHttpCookiePairHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpCookiePairHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookiePairHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3f44350_581e_4ecc_9f59_e507d04f06e6); } @@ -660,15 +556,11 @@ pub struct IHttpCookiePairHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookiePairHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookiePairHeaderValueFactory { type Vtable = IHttpCookiePairHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpCookiePairHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookiePairHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x635e326f_146f_4f56_aa21_2cb7d6d58b1e); } @@ -681,15 +573,11 @@ pub struct IHttpCookiePairHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookiePairHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookiePairHeaderValueStatics { type Vtable = IHttpCookiePairHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpCookiePairHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookiePairHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e866d48_06af_4462_8158_99388d5dca81); } @@ -702,15 +590,11 @@ pub struct IHttpCookiePairHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCredentialsHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCredentialsHeaderValue { type Vtable = IHttpCredentialsHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpCredentialsHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCredentialsHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc34cc3cb_542e_4177_a6c7_b674ce193fbf); } @@ -727,15 +611,11 @@ pub struct IHttpCredentialsHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCredentialsHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCredentialsHeaderValueFactory { type Vtable = IHttpCredentialsHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpCredentialsHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCredentialsHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf21d9e91_4d1c_4182_bfd1_34470a62f950); } @@ -748,15 +628,11 @@ pub struct IHttpCredentialsHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCredentialsHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCredentialsHeaderValueStatics { type Vtable = IHttpCredentialsHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpCredentialsHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCredentialsHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa69b2be6_ce8c_4443_a35a_1b727b131036); } @@ -769,15 +645,11 @@ pub struct IHttpCredentialsHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDateOrDeltaHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDateOrDeltaHeaderValue { type Vtable = IHttpDateOrDeltaHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpDateOrDeltaHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDateOrDeltaHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeafcaa6a_c4dc_49e2_a27d_043adf5867a3); } @@ -796,15 +668,11 @@ pub struct IHttpDateOrDeltaHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpDateOrDeltaHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpDateOrDeltaHeaderValueStatics { type Vtable = IHttpDateOrDeltaHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpDateOrDeltaHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpDateOrDeltaHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c2659a8_6672_4e90_9a9a_f39766f7f576); } @@ -817,15 +685,11 @@ pub struct IHttpDateOrDeltaHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpExpectationHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpExpectationHeaderValue { type Vtable = IHttpExpectationHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpExpectationHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpExpectationHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ce585cd_3a99_43af_a2e6_ec232fea9658); } @@ -843,15 +707,11 @@ pub struct IHttpExpectationHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpExpectationHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpExpectationHeaderValueCollection { type Vtable = IHttpExpectationHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpExpectationHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpExpectationHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe78521b3_a0e2_4ac4_9e66_79706cb9fd58); } @@ -864,15 +724,11 @@ pub struct IHttpExpectationHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpExpectationHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpExpectationHeaderValueFactory { type Vtable = IHttpExpectationHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpExpectationHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpExpectationHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ea275cb_d53e_4868_8856_1e21a5030dc0); } @@ -885,15 +741,11 @@ pub struct IHttpExpectationHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpExpectationHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpExpectationHeaderValueStatics { type Vtable = IHttpExpectationHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpExpectationHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpExpectationHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3019abe2_cfe5_473b_a57f_fba5b14eb257); } @@ -906,15 +758,11 @@ pub struct IHttpExpectationHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpLanguageHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpLanguageHeaderValueCollection { type Vtable = IHttpLanguageHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpLanguageHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpLanguageHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ebd7ca3_8219_44f6_9902_8c56dfd3340c); } @@ -927,15 +775,11 @@ pub struct IHttpLanguageHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpLanguageRangeWithQualityHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpLanguageRangeWithQualityHeaderValue { type Vtable = IHttpLanguageRangeWithQualityHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpLanguageRangeWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpLanguageRangeWithQualityHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7256e102_0080_4db4_a083_7de7b2e5ba4c); } @@ -951,15 +795,11 @@ pub struct IHttpLanguageRangeWithQualityHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpLanguageRangeWithQualityHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpLanguageRangeWithQualityHeaderValueCollection { type Vtable = IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpLanguageRangeWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpLanguageRangeWithQualityHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x885d5abd_4b4f_480a_89ce_8aedcee6e3a0); } @@ -972,15 +812,11 @@ pub struct IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpLanguageRangeWithQualityHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpLanguageRangeWithQualityHeaderValueFactory { type Vtable = IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpLanguageRangeWithQualityHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpLanguageRangeWithQualityHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bb83970_780f_4c83_9fe4_dc3087f6bd55); } @@ -993,15 +829,11 @@ pub struct IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpLanguageRangeWithQualityHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpLanguageRangeWithQualityHeaderValueStatics { type Vtable = IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpLanguageRangeWithQualityHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpLanguageRangeWithQualityHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2541e146_f308_46f5_b695_42f54024ec68); } @@ -1014,15 +846,11 @@ pub struct IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeHeaderValue { type Vtable = IHttpMediaTypeHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16b28533_e728_4fcb_bdb0_08a431a14844); } @@ -1041,15 +869,11 @@ pub struct IHttpMediaTypeHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeHeaderValueFactory { type Vtable = IHttpMediaTypeHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbed747a8_cd17_42dd_9367_ab9c5b56dd7d); } @@ -1061,15 +885,11 @@ pub struct IHttpMediaTypeHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeHeaderValueStatics { type Vtable = IHttpMediaTypeHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe04d83df_1d41_4d8c_a2de_6fd2ed87399b); } @@ -1082,15 +902,11 @@ pub struct IHttpMediaTypeHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeWithQualityHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeWithQualityHeaderValue { type Vtable = IHttpMediaTypeWithQualityHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeWithQualityHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x188d5e32_76be_44a0_b1cd_2074bded2dde); } @@ -1117,15 +933,11 @@ pub struct IHttpMediaTypeWithQualityHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeWithQualityHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeWithQualityHeaderValueCollection { type Vtable = IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeWithQualityHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c0c6b73_1342_4587_a056_18d02ff67165); } @@ -1138,15 +950,11 @@ pub struct IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeWithQualityHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeWithQualityHeaderValueFactory { type Vtable = IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeWithQualityHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeWithQualityHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c6d20f4_9457_44e6_a323_d122b958780b); } @@ -1159,15 +967,11 @@ pub struct IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMediaTypeWithQualityHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMediaTypeWithQualityHeaderValueStatics { type Vtable = IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpMediaTypeWithQualityHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMediaTypeWithQualityHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b070cd9_b560_4fc8_9835_7e6c0a657b24); } @@ -1180,15 +984,11 @@ pub struct IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMethodHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMethodHeaderValueCollection { type Vtable = IHttpMethodHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpMethodHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMethodHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43bc3ff4_6119_4adf_938c_34bfffcf92ed); } @@ -1201,15 +1001,11 @@ pub struct IHttpMethodHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNameValueHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpNameValueHeaderValue { type Vtable = IHttpNameValueHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpNameValueHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNameValueHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8ba7463_5b9a_4d1b_93f9_aa5b44ecfddf); } @@ -1223,15 +1019,11 @@ pub struct IHttpNameValueHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNameValueHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpNameValueHeaderValueFactory { type Vtable = IHttpNameValueHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpNameValueHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNameValueHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x770e2267_cbf8_4736_a925_93fbe10c7ca8); } @@ -1244,15 +1036,11 @@ pub struct IHttpNameValueHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNameValueHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpNameValueHeaderValueStatics { type Vtable = IHttpNameValueHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpNameValueHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNameValueHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffd4030f_1130_4152_8659_256909a9d115); } @@ -1265,15 +1053,11 @@ pub struct IHttpNameValueHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductHeaderValue { type Vtable = IHttpProductHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpProductHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4feee03_ebd4_4160_b9ff_807c5183b6e6); } @@ -1286,15 +1070,11 @@ pub struct IHttpProductHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductHeaderValueFactory { type Vtable = IHttpProductHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpProductHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x611aa4f5_82bc_42fb_977b_dc00536e5e86); } @@ -1307,15 +1087,11 @@ pub struct IHttpProductHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductHeaderValueStatics { type Vtable = IHttpProductHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpProductHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90c33e29_befc_4337_be62_49f097975f53); } @@ -1328,15 +1104,11 @@ pub struct IHttpProductHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductInfoHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductInfoHeaderValue { type Vtable = IHttpProductInfoHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpProductInfoHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductInfoHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b1a8732_4c35_486a_966f_646489198e4d); } @@ -1349,15 +1121,11 @@ pub struct IHttpProductInfoHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductInfoHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductInfoHeaderValueCollection { type Vtable = IHttpProductInfoHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpProductInfoHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductInfoHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x877df74a_d69b_44f8_ad4f_453af9c42ed0); } @@ -1370,15 +1138,11 @@ pub struct IHttpProductInfoHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductInfoHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductInfoHeaderValueFactory { type Vtable = IHttpProductInfoHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpProductInfoHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductInfoHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24220fbe_eabe_4464_b460_ec010b7c41e2); } @@ -1391,15 +1155,11 @@ pub struct IHttpProductInfoHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpProductInfoHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpProductInfoHeaderValueStatics { type Vtable = IHttpProductInfoHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpProductInfoHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpProductInfoHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb7fd857_327a_4e73_81e5_7059a302b042); } @@ -1412,15 +1172,11 @@ pub struct IHttpProductInfoHeaderValueStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpRequestHeaderCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpRequestHeaderCollection { type Vtable = IHttpRequestHeaderCollection_Vtbl; } -impl ::core::clone::Clone for IHttpRequestHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpRequestHeaderCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf40329b_b544_469b_86b9_ac3d466fea36); } @@ -1496,15 +1252,11 @@ pub struct IHttpRequestHeaderCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpResponseHeaderCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpResponseHeaderCollection { type Vtable = IHttpResponseHeaderCollection_Vtbl; } -impl ::core::clone::Clone for IHttpResponseHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpResponseHeaderCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a990969_fa3f_41ed_aac6_bf957975c16b); } @@ -1549,15 +1301,11 @@ pub struct IHttpResponseHeaderCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpTransferCodingHeaderValue(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpTransferCodingHeaderValue { type Vtable = IHttpTransferCodingHeaderValue_Vtbl; } -impl ::core::clone::Clone for IHttpTransferCodingHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpTransferCodingHeaderValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x436f32f9_3ded_42bd_b38a_5496a2511ce6); } @@ -1573,15 +1321,11 @@ pub struct IHttpTransferCodingHeaderValue_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpTransferCodingHeaderValueCollection(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpTransferCodingHeaderValueCollection { type Vtable = IHttpTransferCodingHeaderValueCollection_Vtbl; } -impl ::core::clone::Clone for IHttpTransferCodingHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpTransferCodingHeaderValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x202c8c34_2c03_49b8_9665_73e27cb2fc79); } @@ -1594,15 +1338,11 @@ pub struct IHttpTransferCodingHeaderValueCollection_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpTransferCodingHeaderValueFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpTransferCodingHeaderValueFactory { type Vtable = IHttpTransferCodingHeaderValueFactory_Vtbl; } -impl ::core::clone::Clone for IHttpTransferCodingHeaderValueFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpTransferCodingHeaderValueFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb62dffc_e361_4f08_8e4f_c9e723de703b); } @@ -1614,15 +1354,11 @@ pub struct IHttpTransferCodingHeaderValueFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpTransferCodingHeaderValueStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpTransferCodingHeaderValueStatics { type Vtable = IHttpTransferCodingHeaderValueStatics_Vtbl; } -impl ::core::clone::Clone for IHttpTransferCodingHeaderValueStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpTransferCodingHeaderValueStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ab8892a_1a98_4d32_a906_7470a9875ce5); } @@ -1635,6 +1371,7 @@ pub struct IHttpTransferCodingHeaderValueStatics_Vtbl { } #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCacheDirectiveHeaderValueCollection(::windows_core::IUnknown); impl HttpCacheDirectiveHeaderValueCollection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1838,25 +1575,9 @@ impl HttpCacheDirectiveHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpCacheDirectiveHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCacheDirectiveHeaderValueCollection {} -impl ::core::fmt::Debug for HttpCacheDirectiveHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCacheDirectiveHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCacheDirectiveHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCacheDirectiveHeaderValueCollection;{9a586b89-d5d0-4fbe-bd9d-b5b3636811b4})"); } -impl ::core::clone::Clone for HttpCacheDirectiveHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCacheDirectiveHeaderValueCollection { type Vtable = IHttpCacheDirectiveHeaderValueCollection_Vtbl; } @@ -1893,6 +1614,7 @@ unsafe impl ::core::marker::Send for HttpCacheDirectiveHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpCacheDirectiveHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpChallengeHeaderValue(::windows_core::IUnknown); impl HttpChallengeHeaderValue { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -1962,25 +1684,9 @@ impl HttpChallengeHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpChallengeHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpChallengeHeaderValue {} -impl ::core::fmt::Debug for HttpChallengeHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpChallengeHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpChallengeHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValue;{393361af-0f7d-4820-9fdd-a2b956eeaeab})"); } -impl ::core::clone::Clone for HttpChallengeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpChallengeHeaderValue { type Vtable = IHttpChallengeHeaderValue_Vtbl; } @@ -1997,6 +1703,7 @@ unsafe impl ::core::marker::Send for HttpChallengeHeaderValue {} unsafe impl ::core::marker::Sync for HttpChallengeHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpChallengeHeaderValueCollection(::windows_core::IUnknown); impl HttpChallengeHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2128,25 +1835,9 @@ impl HttpChallengeHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpChallengeHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpChallengeHeaderValueCollection {} -impl ::core::fmt::Debug for HttpChallengeHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpChallengeHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpChallengeHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpChallengeHeaderValueCollection;{ca9e5f81-aee0-4353-a10b-e625babd64c2})"); } -impl ::core::clone::Clone for HttpChallengeHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpChallengeHeaderValueCollection { type Vtable = IHttpChallengeHeaderValueCollection_Vtbl; } @@ -2183,6 +1874,7 @@ unsafe impl ::core::marker::Send for HttpChallengeHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpChallengeHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpConnectionOptionHeaderValue(::windows_core::IUnknown); impl HttpConnectionOptionHeaderValue { pub fn Token(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2230,25 +1922,9 @@ impl HttpConnectionOptionHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpConnectionOptionHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpConnectionOptionHeaderValue {} -impl ::core::fmt::Debug for HttpConnectionOptionHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpConnectionOptionHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpConnectionOptionHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValue;{cb4af27a-4e90-45eb-8dcd-fd1408f4c44f})"); } -impl ::core::clone::Clone for HttpConnectionOptionHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpConnectionOptionHeaderValue { type Vtable = IHttpConnectionOptionHeaderValue_Vtbl; } @@ -2265,6 +1941,7 @@ unsafe impl ::core::marker::Send for HttpConnectionOptionHeaderValue {} unsafe impl ::core::marker::Sync for HttpConnectionOptionHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpConnectionOptionHeaderValueCollection(::windows_core::IUnknown); impl HttpConnectionOptionHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2396,25 +2073,9 @@ impl HttpConnectionOptionHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpConnectionOptionHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpConnectionOptionHeaderValueCollection {} -impl ::core::fmt::Debug for HttpConnectionOptionHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpConnectionOptionHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpConnectionOptionHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpConnectionOptionHeaderValueCollection;{e4f56c1d-5142-4e00-8e0f-019509337629})"); } -impl ::core::clone::Clone for HttpConnectionOptionHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpConnectionOptionHeaderValueCollection { type Vtable = IHttpConnectionOptionHeaderValueCollection_Vtbl; } @@ -2451,6 +2112,7 @@ unsafe impl ::core::marker::Send for HttpConnectionOptionHeaderValueCollection { unsafe impl ::core::marker::Sync for HttpConnectionOptionHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentCodingHeaderValue(::windows_core::IUnknown); impl HttpContentCodingHeaderValue { pub fn ContentCoding(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2498,25 +2160,9 @@ impl HttpContentCodingHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpContentCodingHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentCodingHeaderValue {} -impl ::core::fmt::Debug for HttpContentCodingHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentCodingHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentCodingHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValue;{bcf7f92a-9376-4d85-bccc-9f4f9acab434})"); } -impl ::core::clone::Clone for HttpContentCodingHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentCodingHeaderValue { type Vtable = IHttpContentCodingHeaderValue_Vtbl; } @@ -2533,6 +2179,7 @@ unsafe impl ::core::marker::Send for HttpContentCodingHeaderValue {} unsafe impl ::core::marker::Sync for HttpContentCodingHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentCodingHeaderValueCollection(::windows_core::IUnknown); impl HttpContentCodingHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2664,25 +2311,9 @@ impl HttpContentCodingHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpContentCodingHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentCodingHeaderValueCollection {} -impl ::core::fmt::Debug for HttpContentCodingHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentCodingHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentCodingHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingHeaderValueCollection;{7d221721-a6db-436e-8e83-91596192819c})"); } -impl ::core::clone::Clone for HttpContentCodingHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentCodingHeaderValueCollection { type Vtable = IHttpContentCodingHeaderValueCollection_Vtbl; } @@ -2719,6 +2350,7 @@ unsafe impl ::core::marker::Send for HttpContentCodingHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpContentCodingHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentCodingWithQualityHeaderValue(::windows_core::IUnknown); impl HttpContentCodingWithQualityHeaderValue { pub fn ContentCoding(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2781,25 +2413,9 @@ impl HttpContentCodingWithQualityHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpContentCodingWithQualityHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentCodingWithQualityHeaderValue {} -impl ::core::fmt::Debug for HttpContentCodingWithQualityHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentCodingWithQualityHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentCodingWithQualityHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValue;{94531cd5-8b13-4d73-8651-f76b38f88495})"); } -impl ::core::clone::Clone for HttpContentCodingWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentCodingWithQualityHeaderValue { type Vtable = IHttpContentCodingWithQualityHeaderValue_Vtbl; } @@ -2816,6 +2432,7 @@ unsafe impl ::core::marker::Send for HttpContentCodingWithQualityHeaderValue {} unsafe impl ::core::marker::Sync for HttpContentCodingWithQualityHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentCodingWithQualityHeaderValueCollection(::windows_core::IUnknown); impl HttpContentCodingWithQualityHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2947,25 +2564,9 @@ impl HttpContentCodingWithQualityHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpContentCodingWithQualityHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentCodingWithQualityHeaderValueCollection {} -impl ::core::fmt::Debug for HttpContentCodingWithQualityHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentCodingWithQualityHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentCodingWithQualityHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentCodingWithQualityHeaderValueCollection;{7c0d753e-e899-4378-b5c8-412d820711cc})"); } -impl ::core::clone::Clone for HttpContentCodingWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentCodingWithQualityHeaderValueCollection { type Vtable = IHttpContentCodingWithQualityHeaderValueCollection_Vtbl; } @@ -3002,6 +2603,7 @@ unsafe impl ::core::marker::Send for HttpContentCodingWithQualityHeaderValueColl unsafe impl ::core::marker::Sync for HttpContentCodingWithQualityHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentDispositionHeaderValue(::windows_core::IUnknown); impl HttpContentDispositionHeaderValue { pub fn DispositionType(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3113,25 +2715,9 @@ impl HttpContentDispositionHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpContentDispositionHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentDispositionHeaderValue {} -impl ::core::fmt::Debug for HttpContentDispositionHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentDispositionHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentDispositionHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentDispositionHeaderValue;{f2a2eedc-2629-4b49-9908-96a168e9365e})"); } -impl ::core::clone::Clone for HttpContentDispositionHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentDispositionHeaderValue { type Vtable = IHttpContentDispositionHeaderValue_Vtbl; } @@ -3148,6 +2734,7 @@ unsafe impl ::core::marker::Send for HttpContentDispositionHeaderValue {} unsafe impl ::core::marker::Sync for HttpContentDispositionHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentHeaderCollection(::windows_core::IUnknown); impl HttpContentHeaderCollection { pub fn new() -> ::windows_core::Result { @@ -3390,25 +2977,9 @@ impl HttpContentHeaderCollection { } } } -impl ::core::cmp::PartialEq for HttpContentHeaderCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentHeaderCollection {} -impl ::core::fmt::Debug for HttpContentHeaderCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentHeaderCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentHeaderCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentHeaderCollection;{40612a44-47ae-4b7e-9124-69628b64aa18})"); } -impl ::core::clone::Clone for HttpContentHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentHeaderCollection { type Vtable = IHttpContentHeaderCollection_Vtbl; } @@ -3445,6 +3016,7 @@ unsafe impl ::core::marker::Send for HttpContentHeaderCollection {} unsafe impl ::core::marker::Sync for HttpContentHeaderCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpContentRangeHeaderValue(::windows_core::IUnknown); impl HttpContentRangeHeaderValue { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3535,25 +3107,9 @@ impl HttpContentRangeHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpContentRangeHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpContentRangeHeaderValue {} -impl ::core::fmt::Debug for HttpContentRangeHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpContentRangeHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpContentRangeHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpContentRangeHeaderValue;{04d967d3-a4f6-495c-9530-8579fcba8aa9})"); } -impl ::core::clone::Clone for HttpContentRangeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpContentRangeHeaderValue { type Vtable = IHttpContentRangeHeaderValue_Vtbl; } @@ -3570,6 +3126,7 @@ unsafe impl ::core::marker::Send for HttpContentRangeHeaderValue {} unsafe impl ::core::marker::Sync for HttpContentRangeHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCookiePairHeaderValue(::windows_core::IUnknown); impl HttpCookiePairHeaderValue { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -3634,25 +3191,9 @@ impl HttpCookiePairHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpCookiePairHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCookiePairHeaderValue {} -impl ::core::fmt::Debug for HttpCookiePairHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCookiePairHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCookiePairHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValue;{cbd46217-4b29-412b-bd90-b3d814ab8e1b})"); } -impl ::core::clone::Clone for HttpCookiePairHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCookiePairHeaderValue { type Vtable = IHttpCookiePairHeaderValue_Vtbl; } @@ -3669,6 +3210,7 @@ unsafe impl ::core::marker::Send for HttpCookiePairHeaderValue {} unsafe impl ::core::marker::Sync for HttpCookiePairHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCookiePairHeaderValueCollection(::windows_core::IUnknown); impl HttpCookiePairHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -3800,25 +3342,9 @@ impl HttpCookiePairHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpCookiePairHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCookiePairHeaderValueCollection {} -impl ::core::fmt::Debug for HttpCookiePairHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCookiePairHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCookiePairHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCookiePairHeaderValueCollection;{f3f44350-581e-4ecc-9f59-e507d04f06e6})"); } -impl ::core::clone::Clone for HttpCookiePairHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCookiePairHeaderValueCollection { type Vtable = IHttpCookiePairHeaderValueCollection_Vtbl; } @@ -3855,6 +3381,7 @@ unsafe impl ::core::marker::Send for HttpCookiePairHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpCookiePairHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCredentialsHeaderValue(::windows_core::IUnknown); impl HttpCredentialsHeaderValue { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -3924,25 +3451,9 @@ impl HttpCredentialsHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpCredentialsHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCredentialsHeaderValue {} -impl ::core::fmt::Debug for HttpCredentialsHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCredentialsHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCredentialsHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpCredentialsHeaderValue;{c34cc3cb-542e-4177-a6c7-b674ce193fbf})"); } -impl ::core::clone::Clone for HttpCredentialsHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCredentialsHeaderValue { type Vtable = IHttpCredentialsHeaderValue_Vtbl; } @@ -3959,6 +3470,7 @@ unsafe impl ::core::marker::Send for HttpCredentialsHeaderValue {} unsafe impl ::core::marker::Sync for HttpCredentialsHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpDateOrDeltaHeaderValue(::windows_core::IUnknown); impl HttpDateOrDeltaHeaderValue { #[doc = "*Required features: `\"Foundation\"`*"] @@ -4006,25 +3518,9 @@ impl HttpDateOrDeltaHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpDateOrDeltaHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpDateOrDeltaHeaderValue {} -impl ::core::fmt::Debug for HttpDateOrDeltaHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpDateOrDeltaHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpDateOrDeltaHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpDateOrDeltaHeaderValue;{eafcaa6a-c4dc-49e2-a27d-043adf5867a3})"); } -impl ::core::clone::Clone for HttpDateOrDeltaHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpDateOrDeltaHeaderValue { type Vtable = IHttpDateOrDeltaHeaderValue_Vtbl; } @@ -4041,6 +3537,7 @@ unsafe impl ::core::marker::Send for HttpDateOrDeltaHeaderValue {} unsafe impl ::core::marker::Sync for HttpDateOrDeltaHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpExpectationHeaderValue(::windows_core::IUnknown); impl HttpExpectationHeaderValue { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4114,25 +3611,9 @@ impl HttpExpectationHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpExpectationHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpExpectationHeaderValue {} -impl ::core::fmt::Debug for HttpExpectationHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpExpectationHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpExpectationHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValue;{4ce585cd-3a99-43af-a2e6-ec232fea9658})"); } -impl ::core::clone::Clone for HttpExpectationHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpExpectationHeaderValue { type Vtable = IHttpExpectationHeaderValue_Vtbl; } @@ -4149,6 +3630,7 @@ unsafe impl ::core::marker::Send for HttpExpectationHeaderValue {} unsafe impl ::core::marker::Sync for HttpExpectationHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpExpectationHeaderValueCollection(::windows_core::IUnknown); impl HttpExpectationHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -4280,25 +3762,9 @@ impl HttpExpectationHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpExpectationHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpExpectationHeaderValueCollection {} -impl ::core::fmt::Debug for HttpExpectationHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpExpectationHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpExpectationHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpExpectationHeaderValueCollection;{e78521b3-a0e2-4ac4-9e66-79706cb9fd58})"); } -impl ::core::clone::Clone for HttpExpectationHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpExpectationHeaderValueCollection { type Vtable = IHttpExpectationHeaderValueCollection_Vtbl; } @@ -4335,6 +3801,7 @@ unsafe impl ::core::marker::Send for HttpExpectationHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpExpectationHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpLanguageHeaderValueCollection(::windows_core::IUnknown); impl HttpLanguageHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -4466,25 +3933,9 @@ impl HttpLanguageHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpLanguageHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpLanguageHeaderValueCollection {} -impl ::core::fmt::Debug for HttpLanguageHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpLanguageHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpLanguageHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageHeaderValueCollection;{9ebd7ca3-8219-44f6-9902-8c56dfd3340c})"); } -impl ::core::clone::Clone for HttpLanguageHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpLanguageHeaderValueCollection { type Vtable = IHttpLanguageHeaderValueCollection_Vtbl; } @@ -4521,6 +3972,7 @@ unsafe impl ::core::marker::Send for HttpLanguageHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpLanguageHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpLanguageRangeWithQualityHeaderValue(::windows_core::IUnknown); impl HttpLanguageRangeWithQualityHeaderValue { pub fn LanguageRange(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4583,25 +4035,9 @@ impl HttpLanguageRangeWithQualityHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpLanguageRangeWithQualityHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpLanguageRangeWithQualityHeaderValue {} -impl ::core::fmt::Debug for HttpLanguageRangeWithQualityHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpLanguageRangeWithQualityHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpLanguageRangeWithQualityHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValue;{7256e102-0080-4db4-a083-7de7b2e5ba4c})"); } -impl ::core::clone::Clone for HttpLanguageRangeWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpLanguageRangeWithQualityHeaderValue { type Vtable = IHttpLanguageRangeWithQualityHeaderValue_Vtbl; } @@ -4618,6 +4054,7 @@ unsafe impl ::core::marker::Send for HttpLanguageRangeWithQualityHeaderValue {} unsafe impl ::core::marker::Sync for HttpLanguageRangeWithQualityHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpLanguageRangeWithQualityHeaderValueCollection(::windows_core::IUnknown); impl HttpLanguageRangeWithQualityHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -4749,25 +4186,9 @@ impl HttpLanguageRangeWithQualityHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpLanguageRangeWithQualityHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpLanguageRangeWithQualityHeaderValueCollection {} -impl ::core::fmt::Debug for HttpLanguageRangeWithQualityHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpLanguageRangeWithQualityHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpLanguageRangeWithQualityHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpLanguageRangeWithQualityHeaderValueCollection;{885d5abd-4b4f-480a-89ce-8aedcee6e3a0})"); } -impl ::core::clone::Clone for HttpLanguageRangeWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpLanguageRangeWithQualityHeaderValueCollection { type Vtable = IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl; } @@ -4804,6 +4225,7 @@ unsafe impl ::core::marker::Send for HttpLanguageRangeWithQualityHeaderValueColl unsafe impl ::core::marker::Sync for HttpLanguageRangeWithQualityHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMediaTypeHeaderValue(::windows_core::IUnknown); impl HttpMediaTypeHeaderValue { pub fn CharSet(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -4875,25 +4297,9 @@ impl HttpMediaTypeHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpMediaTypeHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMediaTypeHeaderValue {} -impl ::core::fmt::Debug for HttpMediaTypeHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMediaTypeHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMediaTypeHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeHeaderValue;{16b28533-e728-4fcb-bdb0-08a431a14844})"); } -impl ::core::clone::Clone for HttpMediaTypeHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMediaTypeHeaderValue { type Vtable = IHttpMediaTypeHeaderValue_Vtbl; } @@ -4910,6 +4316,7 @@ unsafe impl ::core::marker::Send for HttpMediaTypeHeaderValue {} unsafe impl ::core::marker::Sync for HttpMediaTypeHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMediaTypeWithQualityHeaderValue(::windows_core::IUnknown); impl HttpMediaTypeWithQualityHeaderValue { pub fn CharSet(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5005,25 +4412,9 @@ impl HttpMediaTypeWithQualityHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpMediaTypeWithQualityHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMediaTypeWithQualityHeaderValue {} -impl ::core::fmt::Debug for HttpMediaTypeWithQualityHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMediaTypeWithQualityHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMediaTypeWithQualityHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValue;{188d5e32-76be-44a0-b1cd-2074bded2dde})"); } -impl ::core::clone::Clone for HttpMediaTypeWithQualityHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMediaTypeWithQualityHeaderValue { type Vtable = IHttpMediaTypeWithQualityHeaderValue_Vtbl; } @@ -5040,6 +4431,7 @@ unsafe impl ::core::marker::Send for HttpMediaTypeWithQualityHeaderValue {} unsafe impl ::core::marker::Sync for HttpMediaTypeWithQualityHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMediaTypeWithQualityHeaderValueCollection(::windows_core::IUnknown); impl HttpMediaTypeWithQualityHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -5171,25 +4563,9 @@ impl HttpMediaTypeWithQualityHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpMediaTypeWithQualityHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMediaTypeWithQualityHeaderValueCollection {} -impl ::core::fmt::Debug for HttpMediaTypeWithQualityHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMediaTypeWithQualityHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMediaTypeWithQualityHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMediaTypeWithQualityHeaderValueCollection;{3c0c6b73-1342-4587-a056-18d02ff67165})"); } -impl ::core::clone::Clone for HttpMediaTypeWithQualityHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMediaTypeWithQualityHeaderValueCollection { type Vtable = IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl; } @@ -5226,6 +4602,7 @@ unsafe impl ::core::marker::Send for HttpMediaTypeWithQualityHeaderValueCollecti unsafe impl ::core::marker::Sync for HttpMediaTypeWithQualityHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMethodHeaderValueCollection(::windows_core::IUnknown); impl HttpMethodHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -5357,25 +4734,9 @@ impl HttpMethodHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpMethodHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMethodHeaderValueCollection {} -impl ::core::fmt::Debug for HttpMethodHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMethodHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMethodHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpMethodHeaderValueCollection;{43bc3ff4-6119-4adf-938c-34bfffcf92ed})"); } -impl ::core::clone::Clone for HttpMethodHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMethodHeaderValueCollection { type Vtable = IHttpMethodHeaderValueCollection_Vtbl; } @@ -5412,6 +4773,7 @@ unsafe impl ::core::marker::Send for HttpMethodHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpMethodHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpNameValueHeaderValue(::windows_core::IUnknown); impl HttpNameValueHeaderValue { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5476,25 +4838,9 @@ impl HttpNameValueHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpNameValueHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpNameValueHeaderValue {} -impl ::core::fmt::Debug for HttpNameValueHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpNameValueHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpNameValueHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpNameValueHeaderValue;{d8ba7463-5b9a-4d1b-93f9-aa5b44ecfddf})"); } -impl ::core::clone::Clone for HttpNameValueHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpNameValueHeaderValue { type Vtable = IHttpNameValueHeaderValue_Vtbl; } @@ -5511,6 +4857,7 @@ unsafe impl ::core::marker::Send for HttpNameValueHeaderValue {} unsafe impl ::core::marker::Sync for HttpNameValueHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpProductHeaderValue(::windows_core::IUnknown); impl HttpProductHeaderValue { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -5571,25 +4918,9 @@ impl HttpProductHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpProductHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpProductHeaderValue {} -impl ::core::fmt::Debug for HttpProductHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpProductHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpProductHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductHeaderValue;{f4feee03-ebd4-4160-b9ff-807c5183b6e6})"); } -impl ::core::clone::Clone for HttpProductHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpProductHeaderValue { type Vtable = IHttpProductHeaderValue_Vtbl; } @@ -5606,6 +4937,7 @@ unsafe impl ::core::marker::Send for HttpProductHeaderValue {} unsafe impl ::core::marker::Sync for HttpProductHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpProductInfoHeaderValue(::windows_core::IUnknown); impl HttpProductInfoHeaderValue { pub fn Product(&self) -> ::windows_core::Result { @@ -5666,25 +4998,9 @@ impl HttpProductInfoHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpProductInfoHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpProductInfoHeaderValue {} -impl ::core::fmt::Debug for HttpProductInfoHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpProductInfoHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpProductInfoHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValue;{1b1a8732-4c35-486a-966f-646489198e4d})"); } -impl ::core::clone::Clone for HttpProductInfoHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpProductInfoHeaderValue { type Vtable = IHttpProductInfoHeaderValue_Vtbl; } @@ -5701,6 +5017,7 @@ unsafe impl ::core::marker::Send for HttpProductInfoHeaderValue {} unsafe impl ::core::marker::Sync for HttpProductInfoHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpProductInfoHeaderValueCollection(::windows_core::IUnknown); impl HttpProductInfoHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -5832,25 +5149,9 @@ impl HttpProductInfoHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpProductInfoHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpProductInfoHeaderValueCollection {} -impl ::core::fmt::Debug for HttpProductInfoHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpProductInfoHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpProductInfoHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpProductInfoHeaderValueCollection;{877df74a-d69b-44f8-ad4f-453af9c42ed0})"); } -impl ::core::clone::Clone for HttpProductInfoHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpProductInfoHeaderValueCollection { type Vtable = IHttpProductInfoHeaderValueCollection_Vtbl; } @@ -5887,6 +5188,7 @@ unsafe impl ::core::marker::Send for HttpProductInfoHeaderValueCollection {} unsafe impl ::core::marker::Sync for HttpProductInfoHeaderValueCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpRequestHeaderCollection(::windows_core::IUnknown); impl HttpRequestHeaderCollection { pub fn Accept(&self) -> ::windows_core::Result { @@ -6186,25 +5488,9 @@ impl HttpRequestHeaderCollection { } } } -impl ::core::cmp::PartialEq for HttpRequestHeaderCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpRequestHeaderCollection {} -impl ::core::fmt::Debug for HttpRequestHeaderCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpRequestHeaderCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpRequestHeaderCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpRequestHeaderCollection;{af40329b-b544-469b-86b9-ac3d466fea36})"); } -impl ::core::clone::Clone for HttpRequestHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpRequestHeaderCollection { type Vtable = IHttpRequestHeaderCollection_Vtbl; } @@ -6241,6 +5527,7 @@ unsafe impl ::core::marker::Send for HttpRequestHeaderCollection {} unsafe impl ::core::marker::Sync for HttpRequestHeaderCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpResponseHeaderCollection(::windows_core::IUnknown); impl HttpResponseHeaderCollection { #[doc = "*Required features: `\"Foundation\"`*"] @@ -6440,25 +5727,9 @@ impl HttpResponseHeaderCollection { } } } -impl ::core::cmp::PartialEq for HttpResponseHeaderCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpResponseHeaderCollection {} -impl ::core::fmt::Debug for HttpResponseHeaderCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpResponseHeaderCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpResponseHeaderCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpResponseHeaderCollection;{7a990969-fa3f-41ed-aac6-bf957975c16b})"); } -impl ::core::clone::Clone for HttpResponseHeaderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpResponseHeaderCollection { type Vtable = IHttpResponseHeaderCollection_Vtbl; } @@ -6495,6 +5766,7 @@ unsafe impl ::core::marker::Send for HttpResponseHeaderCollection {} unsafe impl ::core::marker::Sync for HttpResponseHeaderCollection {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpTransferCodingHeaderValue(::windows_core::IUnknown); impl HttpTransferCodingHeaderValue { #[doc = "*Required features: `\"Foundation_Collections\"`*"] @@ -6551,25 +5823,9 @@ impl HttpTransferCodingHeaderValue { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpTransferCodingHeaderValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpTransferCodingHeaderValue {} -impl ::core::fmt::Debug for HttpTransferCodingHeaderValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpTransferCodingHeaderValue").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpTransferCodingHeaderValue { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValue;{436f32f9-3ded-42bd-b38a-5496a2511ce6})"); } -impl ::core::clone::Clone for HttpTransferCodingHeaderValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpTransferCodingHeaderValue { type Vtable = IHttpTransferCodingHeaderValue_Vtbl; } @@ -6586,6 +5842,7 @@ unsafe impl ::core::marker::Send for HttpTransferCodingHeaderValue {} unsafe impl ::core::marker::Sync for HttpTransferCodingHeaderValue {} #[doc = "*Required features: `\"Web_Http_Headers\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpTransferCodingHeaderValueCollection(::windows_core::IUnknown); impl HttpTransferCodingHeaderValueCollection { pub fn ParseAdd(&self, input: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -6717,25 +5974,9 @@ impl HttpTransferCodingHeaderValueCollection { unsafe { (::windows_core::Interface::vtable(this).ReplaceAll)(::windows_core::Interface::as_raw(this), items.len() as u32, ::core::mem::transmute(items.as_ptr())).ok() } } } -impl ::core::cmp::PartialEq for HttpTransferCodingHeaderValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpTransferCodingHeaderValueCollection {} -impl ::core::fmt::Debug for HttpTransferCodingHeaderValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpTransferCodingHeaderValueCollection").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpTransferCodingHeaderValueCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.Headers.HttpTransferCodingHeaderValueCollection;{202c8c34-2c03-49b8-9665-73e27cb2fc79})"); } -impl ::core::clone::Clone for HttpTransferCodingHeaderValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpTransferCodingHeaderValueCollection { type Vtable = IHttpTransferCodingHeaderValueCollection_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/Http/impl.rs b/crates/libs/windows/src/Windows/Web/Http/impl.rs index bff49740a2..a39a93d19a 100644 --- a/crates/libs/windows/src/Windows/Web/Http/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/impl.rs @@ -110,7 +110,7 @@ impl IHttpContent_Vtbl { WriteToStreamAsync: WriteToStreamAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index d98d663b4f..bdbe7d63f6 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -6,15 +6,11 @@ pub mod Filters; pub mod Headers; #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpBufferContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpBufferContentFactory { type Vtable = IHttpBufferContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpBufferContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpBufferContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc20c193_c41f_4ff7_9123_6435736eadc2); } @@ -33,15 +29,11 @@ pub struct IHttpBufferContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpClient(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpClient { type Vtable = IHttpClient_Vtbl; } -impl ::core::clone::Clone for IHttpClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fda1151_3574_4880_a8ba_e6b1e0061f3d); } @@ -96,15 +88,11 @@ pub struct IHttpClient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpClient2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpClient2 { type Vtable = IHttpClient2_Vtbl; } -impl ::core::clone::Clone for IHttpClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdd83348_e8b7_4cec_b1b0_dc455fe72c92); } @@ -155,15 +143,11 @@ pub struct IHttpClient2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpClient3(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpClient3 { type Vtable = IHttpClient3_Vtbl; } -impl ::core::clone::Clone for IHttpClient3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpClient3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1172fd01_9899_4194_963f_8f9d72a7ec15); } @@ -176,15 +160,11 @@ pub struct IHttpClient3_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpClientFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpClientFactory { type Vtable = IHttpClientFactory_Vtbl; } -impl ::core::clone::Clone for IHttpClientFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpClientFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc30c4eca_e3fa_4f99_afb4_63cc65009462); } @@ -199,6 +179,7 @@ pub struct IHttpClientFactory_Vtbl { } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpContent(::windows_core::IUnknown); impl IHttpContent { #[doc = "*Required features: `\"Web_Http_Headers\"`*"] @@ -275,28 +256,12 @@ impl IHttpContent { ::windows_core::imp::interface_hierarchy!(IHttpContent, ::windows_core::IUnknown, ::windows_core::IInspectable); #[cfg(feature = "Foundation")] impl ::windows_core::CanTryInto for IHttpContent {} -impl ::core::cmp::PartialEq for IHttpContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpContent {} -impl ::core::fmt::Debug for IHttpContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IHttpContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{6b14a441-fba7-4bd2-af0a-839de7c295da}"); } unsafe impl ::windows_core::Interface for IHttpContent { type Vtable = IHttpContent_Vtbl; } -impl ::core::clone::Clone for IHttpContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b14a441_fba7_4bd2_af0a_839de7c295da); } @@ -332,15 +297,11 @@ pub struct IHttpContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookie(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookie { type Vtable = IHttpCookie_Vtbl; } -impl ::core::clone::Clone for IHttpCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f5488e2_cc2d_4779_86a7_88f10687d249); } @@ -368,15 +329,11 @@ pub struct IHttpCookie_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookieFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookieFactory { type Vtable = IHttpCookieFactory_Vtbl; } -impl ::core::clone::Clone for IHttpCookieFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookieFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a0585a9_931c_4cd1_a96d_c21701785c5f); } @@ -388,15 +345,11 @@ pub struct IHttpCookieFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpCookieManager(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpCookieManager { type Vtable = IHttpCookieManager_Vtbl; } -impl ::core::clone::Clone for IHttpCookieManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpCookieManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a431780_cd4f_4e57_a84a_5b0a53d6bb96); } @@ -414,15 +367,11 @@ pub struct IHttpCookieManager_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpFormUrlEncodedContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpFormUrlEncodedContentFactory { type Vtable = IHttpFormUrlEncodedContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpFormUrlEncodedContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpFormUrlEncodedContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43f0138c_2f73_4302_b5f3_eae9238a5e01); } @@ -437,15 +386,11 @@ pub struct IHttpFormUrlEncodedContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpGetBufferResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpGetBufferResult { type Vtable = IHttpGetBufferResult_Vtbl; } -impl ::core::clone::Clone for IHttpGetBufferResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpGetBufferResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53d08e7c_e209_404e_9a49_742d8236fd3a); } @@ -464,15 +409,11 @@ pub struct IHttpGetBufferResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpGetInputStreamResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpGetInputStreamResult { type Vtable = IHttpGetInputStreamResult_Vtbl; } -impl ::core::clone::Clone for IHttpGetInputStreamResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpGetInputStreamResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5d63463_13aa_4ee0_be95_a0c39fe91203); } @@ -491,15 +432,11 @@ pub struct IHttpGetInputStreamResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpGetStringResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpGetStringResult { type Vtable = IHttpGetStringResult_Vtbl; } -impl ::core::clone::Clone for IHttpGetStringResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpGetStringResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bac466d_8509_4775_b16d_8953f47a7f5f); } @@ -515,15 +452,11 @@ pub struct IHttpGetStringResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMethod(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMethod { type Vtable = IHttpMethod_Vtbl; } -impl ::core::clone::Clone for IHttpMethod { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMethod { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728d4022_700d_4fe0_afa5_40299c58dbfd); } @@ -535,15 +468,11 @@ pub struct IHttpMethod_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMethodFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMethodFactory { type Vtable = IHttpMethodFactory_Vtbl; } -impl ::core::clone::Clone for IHttpMethodFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMethodFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c51d10d_36d7_40f8_a86d_e759caf2f83f); } @@ -555,15 +484,11 @@ pub struct IHttpMethodFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMethodStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMethodStatics { type Vtable = IHttpMethodStatics_Vtbl; } -impl ::core::clone::Clone for IHttpMethodStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMethodStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64d171f0_d99a_4153_8dc6_d68cc4cce317); } @@ -581,15 +506,11 @@ pub struct IHttpMethodStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMultipartContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMultipartContent { type Vtable = IHttpMultipartContent_Vtbl; } -impl ::core::clone::Clone for IHttpMultipartContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMultipartContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf916aff_9926_4ac9_aaf1_e0d04ef09bb9); } @@ -601,15 +522,11 @@ pub struct IHttpMultipartContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMultipartContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMultipartContentFactory { type Vtable = IHttpMultipartContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpMultipartContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMultipartContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7eb42e62_0222_4f20_b372_47d5db5d33b4); } @@ -622,15 +539,11 @@ pub struct IHttpMultipartContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMultipartFormDataContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMultipartFormDataContent { type Vtable = IHttpMultipartFormDataContent_Vtbl; } -impl ::core::clone::Clone for IHttpMultipartFormDataContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMultipartFormDataContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64d337e2_e967_4624_b6d1_cf74604a4a42); } @@ -644,15 +557,11 @@ pub struct IHttpMultipartFormDataContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpMultipartFormDataContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpMultipartFormDataContentFactory { type Vtable = IHttpMultipartFormDataContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpMultipartFormDataContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpMultipartFormDataContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa04d7311_5017_4622_93a8_49b24a4fcbfc); } @@ -664,15 +573,11 @@ pub struct IHttpMultipartFormDataContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpRequestMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpRequestMessage { type Vtable = IHttpRequestMessage_Vtbl; } -impl ::core::clone::Clone for IHttpRequestMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpRequestMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5762b3c_74d4_4811_b5dc_9f8b4e2f9abf); } @@ -704,15 +609,11 @@ pub struct IHttpRequestMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpRequestMessage2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpRequestMessage2 { type Vtable = IHttpRequestMessage2_Vtbl; } -impl ::core::clone::Clone for IHttpRequestMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpRequestMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3c60489_62c2_4a3f_9554_226e7c60bd96); } @@ -725,15 +626,11 @@ pub struct IHttpRequestMessage2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpRequestMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpRequestMessageFactory { type Vtable = IHttpRequestMessageFactory_Vtbl; } -impl ::core::clone::Clone for IHttpRequestMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpRequestMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bac994e_3886_412e_aec3_52ec7f25616f); } @@ -748,15 +645,11 @@ pub struct IHttpRequestMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpRequestResult(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpRequestResult { type Vtable = IHttpRequestResult_Vtbl; } -impl ::core::clone::Clone for IHttpRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpRequestResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6acf4da8_b5eb_4a35_a902_4217fbe820c5); } @@ -771,15 +664,11 @@ pub struct IHttpRequestResult_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpResponseMessage(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpResponseMessage { type Vtable = IHttpResponseMessage_Vtbl; } -impl ::core::clone::Clone for IHttpResponseMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpResponseMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfee200fb_8664_44e0_95d9_42696199bffc); } @@ -808,15 +697,11 @@ pub struct IHttpResponseMessage_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpResponseMessageFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpResponseMessageFactory { type Vtable = IHttpResponseMessageFactory_Vtbl; } -impl ::core::clone::Clone for IHttpResponseMessageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpResponseMessageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52a8af99_f095_43da_b60f_7cfc2bc7ea2f); } @@ -828,15 +713,11 @@ pub struct IHttpResponseMessageFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpStreamContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpStreamContentFactory { type Vtable = IHttpStreamContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpStreamContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpStreamContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3e64d9d_f725_407e_942f_0eda189809f4); } @@ -851,15 +732,11 @@ pub struct IHttpStreamContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpStringContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpStringContentFactory { type Vtable = IHttpStringContentFactory_Vtbl; } -impl ::core::clone::Clone for IHttpStringContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpStringContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46649d5b_2e93_48eb_8e61_19677878e57f); } @@ -879,15 +756,11 @@ pub struct IHttpStringContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpTransportInformation(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IHttpTransportInformation { type Vtable = IHttpTransportInformation_Vtbl; } -impl ::core::clone::Clone for IHttpTransportInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpTransportInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70127198_c6a7_4ed0_833a_83fd8b8f178d); } @@ -914,6 +787,7 @@ pub struct IHttpTransportInformation_Vtbl { } #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpBufferContent(::windows_core::IUnknown); impl HttpBufferContent { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1023,25 +897,9 @@ impl HttpBufferContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpBufferContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpBufferContent {} -impl ::core::fmt::Debug for HttpBufferContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpBufferContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpBufferContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpBufferContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpBufferContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpBufferContent { type Vtable = IHttpContent_Vtbl; } @@ -1061,6 +919,7 @@ unsafe impl ::core::marker::Send for HttpBufferContent {} unsafe impl ::core::marker::Sync for HttpBufferContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpClient(::windows_core::IUnknown); impl HttpClient { pub fn new() -> ::windows_core::Result { @@ -1366,25 +1225,9 @@ impl HttpClient { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpClient {} -impl ::core::fmt::Debug for HttpClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpClient;{7fda1151-3574-4880-a8ba-e6b1e0061f3d})"); } -impl ::core::clone::Clone for HttpClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpClient { type Vtable = IHttpClient_Vtbl; } @@ -1403,6 +1246,7 @@ unsafe impl ::core::marker::Send for HttpClient {} unsafe impl ::core::marker::Sync for HttpClient {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCookie(::windows_core::IUnknown); impl HttpCookie { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1498,25 +1342,9 @@ impl HttpCookie { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCookie {} -impl ::core::fmt::Debug for HttpCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCookie").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCookie { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})"); } -impl ::core::clone::Clone for HttpCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCookie { type Vtable = IHttpCookie_Vtbl; } @@ -1534,6 +1362,7 @@ unsafe impl ::core::marker::Sync for HttpCookie {} #[doc = "*Required features: `\"Web_Http\"`, `\"Foundation_Collections\"`*"] #[cfg(feature = "Foundation_Collections")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCookieCollection(::windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl HttpCookieCollection { @@ -1587,30 +1416,10 @@ impl HttpCookieCollection { } } #[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::PartialEq for HttpCookieCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Foundation_Collections")] -impl ::core::cmp::Eq for HttpCookieCollection {} -#[cfg(feature = "Foundation_Collections")] -impl ::core::fmt::Debug for HttpCookieCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCookieCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Foundation_Collections")] impl ::windows_core::RuntimeType for HttpCookieCollection { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieCollection;pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Web.Http.HttpCookie;{1f5488e2-cc2d-4779-86a7-88f10687d249})))"); } #[cfg(feature = "Foundation_Collections")] -impl ::core::clone::Clone for HttpCookieCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Foundation_Collections")] unsafe impl ::windows_core::Interface for HttpCookieCollection { type Vtable = super::super::Foundation::Collections::IVectorView_Vtbl; } @@ -1650,6 +1459,7 @@ unsafe impl ::core::marker::Send for HttpCookieCollection {} unsafe impl ::core::marker::Sync for HttpCookieCollection {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpCookieManager(::windows_core::IUnknown); impl HttpCookieManager { pub fn SetCookie(&self, cookie: P0) -> ::windows_core::Result @@ -1692,25 +1502,9 @@ impl HttpCookieManager { } } } -impl ::core::cmp::PartialEq for HttpCookieManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpCookieManager {} -impl ::core::fmt::Debug for HttpCookieManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpCookieManager").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpCookieManager { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpCookieManager;{7a431780-cd4f-4e57-a84a-5b0a53d6bb96})"); } -impl ::core::clone::Clone for HttpCookieManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpCookieManager { type Vtable = IHttpCookieManager_Vtbl; } @@ -1725,6 +1519,7 @@ unsafe impl ::core::marker::Send for HttpCookieManager {} unsafe impl ::core::marker::Sync for HttpCookieManager {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpFormUrlEncodedContent(::windows_core::IUnknown); impl HttpFormUrlEncodedContent { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1823,25 +1618,9 @@ impl HttpFormUrlEncodedContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpFormUrlEncodedContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpFormUrlEncodedContent {} -impl ::core::fmt::Debug for HttpFormUrlEncodedContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpFormUrlEncodedContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpFormUrlEncodedContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpFormUrlEncodedContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpFormUrlEncodedContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpFormUrlEncodedContent { type Vtable = IHttpContent_Vtbl; } @@ -1861,6 +1640,7 @@ unsafe impl ::core::marker::Send for HttpFormUrlEncodedContent {} unsafe impl ::core::marker::Sync for HttpFormUrlEncodedContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpGetBufferResult(::windows_core::IUnknown); impl HttpGetBufferResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1916,25 +1696,9 @@ impl HttpGetBufferResult { } } } -impl ::core::cmp::PartialEq for HttpGetBufferResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpGetBufferResult {} -impl ::core::fmt::Debug for HttpGetBufferResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpGetBufferResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpGetBufferResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetBufferResult;{53d08e7c-e209-404e-9a49-742d8236fd3a})"); } -impl ::core::clone::Clone for HttpGetBufferResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpGetBufferResult { type Vtable = IHttpGetBufferResult_Vtbl; } @@ -1953,6 +1717,7 @@ unsafe impl ::core::marker::Send for HttpGetBufferResult {} unsafe impl ::core::marker::Sync for HttpGetBufferResult {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpGetInputStreamResult(::windows_core::IUnknown); impl HttpGetInputStreamResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2008,25 +1773,9 @@ impl HttpGetInputStreamResult { } } } -impl ::core::cmp::PartialEq for HttpGetInputStreamResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpGetInputStreamResult {} -impl ::core::fmt::Debug for HttpGetInputStreamResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpGetInputStreamResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpGetInputStreamResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetInputStreamResult;{d5d63463-13aa-4ee0-be95-a0c39fe91203})"); } -impl ::core::clone::Clone for HttpGetInputStreamResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpGetInputStreamResult { type Vtable = IHttpGetInputStreamResult_Vtbl; } @@ -2045,6 +1794,7 @@ unsafe impl ::core::marker::Send for HttpGetInputStreamResult {} unsafe impl ::core::marker::Sync for HttpGetInputStreamResult {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpGetStringResult(::windows_core::IUnknown); impl HttpGetStringResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2098,25 +1848,9 @@ impl HttpGetStringResult { } } } -impl ::core::cmp::PartialEq for HttpGetStringResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpGetStringResult {} -impl ::core::fmt::Debug for HttpGetStringResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpGetStringResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpGetStringResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpGetStringResult;{9bac466d-8509-4775-b16d-8953f47a7f5f})"); } -impl ::core::clone::Clone for HttpGetStringResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpGetStringResult { type Vtable = IHttpGetStringResult_Vtbl; } @@ -2135,6 +1869,7 @@ unsafe impl ::core::marker::Send for HttpGetStringResult {} unsafe impl ::core::marker::Sync for HttpGetStringResult {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMethod(::windows_core::IUnknown); impl HttpMethod { pub fn Method(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -2212,25 +1947,9 @@ impl HttpMethod { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpMethod { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMethod {} -impl ::core::fmt::Debug for HttpMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMethod").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMethod { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMethod;{728d4022-700d-4fe0-afa5-40299c58dbfd})"); } -impl ::core::clone::Clone for HttpMethod { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMethod { type Vtable = IHttpMethod_Vtbl; } @@ -2247,6 +1966,7 @@ unsafe impl ::core::marker::Send for HttpMethod {} unsafe impl ::core::marker::Sync for HttpMethod {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMultipartContent(::windows_core::IUnknown); impl HttpMultipartContent { pub fn new() -> ::windows_core::Result { @@ -2369,25 +2089,9 @@ impl HttpMultipartContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpMultipartContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMultipartContent {} -impl ::core::fmt::Debug for HttpMultipartContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMultipartContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMultipartContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpMultipartContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMultipartContent { type Vtable = IHttpContent_Vtbl; } @@ -2425,6 +2129,7 @@ unsafe impl ::core::marker::Send for HttpMultipartContent {} unsafe impl ::core::marker::Sync for HttpMultipartContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpMultipartFormDataContent(::windows_core::IUnknown); impl HttpMultipartFormDataContent { pub fn new() -> ::windows_core::Result { @@ -2555,25 +2260,9 @@ impl HttpMultipartFormDataContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpMultipartFormDataContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpMultipartFormDataContent {} -impl ::core::fmt::Debug for HttpMultipartFormDataContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpMultipartFormDataContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpMultipartFormDataContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpMultipartFormDataContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpMultipartFormDataContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpMultipartFormDataContent { type Vtable = IHttpContent_Vtbl; } @@ -2611,6 +2300,7 @@ unsafe impl ::core::marker::Send for HttpMultipartFormDataContent {} unsafe impl ::core::marker::Sync for HttpMultipartFormDataContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpRequestMessage(::windows_core::IUnknown); impl HttpRequestMessage { pub fn new() -> ::windows_core::Result { @@ -2735,25 +2425,9 @@ impl HttpRequestMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpRequestMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpRequestMessage {} -impl ::core::fmt::Debug for HttpRequestMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpRequestMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpRequestMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestMessage;{f5762b3c-74d4-4811-b5dc-9f8b4e2f9abf})"); } -impl ::core::clone::Clone for HttpRequestMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpRequestMessage { type Vtable = IHttpRequestMessage_Vtbl; } @@ -2772,6 +2446,7 @@ unsafe impl ::core::marker::Send for HttpRequestMessage {} unsafe impl ::core::marker::Sync for HttpRequestMessage {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpRequestResult(::windows_core::IUnknown); impl HttpRequestResult { #[doc = "*Required features: `\"Foundation\"`*"] @@ -2818,25 +2493,9 @@ impl HttpRequestResult { } } } -impl ::core::cmp::PartialEq for HttpRequestResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpRequestResult {} -impl ::core::fmt::Debug for HttpRequestResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpRequestResult").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpRequestResult { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpRequestResult;{6acf4da8-b5eb-4a35-a902-4217fbe820c5})"); } -impl ::core::clone::Clone for HttpRequestResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpRequestResult { type Vtable = IHttpRequestResult_Vtbl; } @@ -2855,6 +2514,7 @@ unsafe impl ::core::marker::Send for HttpRequestResult {} unsafe impl ::core::marker::Sync for HttpRequestResult {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpResponseMessage(::windows_core::IUnknown); impl HttpResponseMessage { pub fn new() -> ::windows_core::Result { @@ -2986,25 +2646,9 @@ impl HttpResponseMessage { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpResponseMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpResponseMessage {} -impl ::core::fmt::Debug for HttpResponseMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpResponseMessage").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpResponseMessage { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpResponseMessage;{fee200fb-8664-44e0-95d9-42696199bffc})"); } -impl ::core::clone::Clone for HttpResponseMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpResponseMessage { type Vtable = IHttpResponseMessage_Vtbl; } @@ -3023,6 +2667,7 @@ unsafe impl ::core::marker::Send for HttpResponseMessage {} unsafe impl ::core::marker::Sync for HttpResponseMessage {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpStreamContent(::windows_core::IUnknown); impl HttpStreamContent { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3121,25 +2766,9 @@ impl HttpStreamContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpStreamContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpStreamContent {} -impl ::core::fmt::Debug for HttpStreamContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpStreamContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpStreamContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStreamContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpStreamContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpStreamContent { type Vtable = IHttpContent_Vtbl; } @@ -3159,6 +2788,7 @@ unsafe impl ::core::marker::Send for HttpStreamContent {} unsafe impl ::core::marker::Sync for HttpStreamContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpStringContent(::windows_core::IUnknown); impl HttpStringContent { #[doc = "*Required features: `\"Foundation\"`*"] @@ -3268,25 +2898,9 @@ impl HttpStringContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for HttpStringContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpStringContent {} -impl ::core::fmt::Debug for HttpStringContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpStringContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpStringContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpStringContent;{6b14a441-fba7-4bd2-af0a-839de7c295da})"); } -impl ::core::clone::Clone for HttpStringContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpStringContent { type Vtable = IHttpContent_Vtbl; } @@ -3306,6 +2920,7 @@ unsafe impl ::core::marker::Send for HttpStringContent {} unsafe impl ::core::marker::Sync for HttpStringContent {} #[doc = "*Required features: `\"Web_Http\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct HttpTransportInformation(::windows_core::IUnknown); impl HttpTransportInformation { #[doc = "*Required features: `\"Security_Cryptography_Certificates\"`*"] @@ -3354,25 +2969,9 @@ impl HttpTransportInformation { } } } -impl ::core::cmp::PartialEq for HttpTransportInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for HttpTransportInformation {} -impl ::core::fmt::Debug for HttpTransportInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("HttpTransportInformation").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for HttpTransportInformation { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Http.HttpTransportInformation;{70127198-c6a7-4ed0-833a-83fd8b8f178d})"); } -impl ::core::clone::Clone for HttpTransportInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for HttpTransportInformation { type Vtable = IHttpTransportInformation_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index f827ea9eaf..e4d22c60d7 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -136,8 +136,8 @@ impl ISyndicationClient_Vtbl { RetrieveFeedAsync: RetrieveFeedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_Syndication\"`, `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl ISyndicationNode_Vtbl { GetXmlDocument: GetXmlDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_Syndication\"`, `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -384,7 +384,7 @@ impl ISyndicationText_Vtbl { SetXml: SetXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index c95986a33d..8be121a7be 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationAttribute(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationAttribute { type Vtable = ISyndicationAttribute_Vtbl; } -impl ::core::clone::Clone for ISyndicationAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71e8f969_526e_4001_9a91_e84f83161ab1); } @@ -25,15 +21,11 @@ pub struct ISyndicationAttribute_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationAttributeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationAttributeFactory { type Vtable = ISyndicationAttributeFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationAttributeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationAttributeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x624f1599_ed3e_420f_be86_640414886e4b); } @@ -45,15 +37,11 @@ pub struct ISyndicationAttributeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationCategory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationCategory { type Vtable = ISyndicationCategory_Vtbl; } -impl ::core::clone::Clone for ISyndicationCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationCategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8715626f_0cba_4a7f_89ff_ecb5281423b6); } @@ -70,15 +58,11 @@ pub struct ISyndicationCategory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationCategoryFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationCategoryFactory { type Vtable = ISyndicationCategoryFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationCategoryFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationCategoryFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab42802f_49e0_4525_8ab2_ab45c02528ff); } @@ -91,6 +75,7 @@ pub struct ISyndicationCategoryFactory_Vtbl { } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationClient(::windows_core::IUnknown); impl ISyndicationClient { #[doc = "*Required features: `\"Security_Credentials\"`*"] @@ -180,28 +165,12 @@ impl ISyndicationClient { } } ::windows_core::imp::interface_hierarchy!(ISyndicationClient, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISyndicationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyndicationClient {} -impl ::core::fmt::Debug for ISyndicationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyndicationClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISyndicationClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{9e18a9b7-7249-4b45-b229-7df895a5a1f5}"); } unsafe impl ::windows_core::Interface for ISyndicationClient { type Vtable = ISyndicationClient_Vtbl; } -impl ::core::clone::Clone for ISyndicationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e18a9b7_7249_4b45_b229_7df895a5a1f5); } @@ -239,15 +208,11 @@ pub struct ISyndicationClient_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationClientFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationClientFactory { type Vtable = ISyndicationClientFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationClientFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationClientFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ec4b32c_a79b_4114_b29a_05dffbafb9a4); } @@ -262,15 +227,11 @@ pub struct ISyndicationClientFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationContent(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationContent { type Vtable = ISyndicationContent_Vtbl; } -impl ::core::clone::Clone for ISyndicationContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4641fefe_0e55_40d0_b8d0_6a2ccba9fc7c); } @@ -289,15 +250,11 @@ pub struct ISyndicationContent_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationContentFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationContentFactory { type Vtable = ISyndicationContentFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationContentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationContentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d2fbb93_9520_4173_9388_7e2df324a8a0); } @@ -313,15 +270,11 @@ pub struct ISyndicationContentFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationErrorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationErrorStatics { type Vtable = ISyndicationErrorStatics_Vtbl; } -impl ::core::clone::Clone for ISyndicationErrorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationErrorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fbb2361_45c7_4833_8aa0_be5f3b58a7f4); } @@ -333,15 +286,11 @@ pub struct ISyndicationErrorStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationFeed(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationFeed { type Vtable = ISyndicationFeed_Vtbl; } -impl ::core::clone::Clone for ISyndicationFeed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationFeed { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ffe3cd2_5b66_4d62_8403_1bc10d910d6b); } @@ -428,15 +377,11 @@ pub struct ISyndicationFeed_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationFeedFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationFeedFactory { type Vtable = ISyndicationFeedFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationFeedFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationFeedFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23472232_8be9_48b7_8934_6205131d9357); } @@ -451,15 +396,11 @@ pub struct ISyndicationFeedFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationGenerator(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationGenerator { type Vtable = ISyndicationGenerator_Vtbl; } -impl ::core::clone::Clone for ISyndicationGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9768b379_fb2b_4f6d_b41c_088a5868825c); } @@ -482,15 +423,11 @@ pub struct ISyndicationGenerator_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationGeneratorFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationGeneratorFactory { type Vtable = ISyndicationGeneratorFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationGeneratorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationGeneratorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa34083e3_1e26_4dbc_ba9d_1ab84beff97b); } @@ -502,15 +439,11 @@ pub struct ISyndicationGeneratorFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationItem(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationItem { type Vtable = ISyndicationItem_Vtbl; } -impl ::core::clone::Clone for ISyndicationItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x548db883_c384_45c1_8ae8_a378c4ec486c); } @@ -591,15 +524,11 @@ pub struct ISyndicationItem_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationItemFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationItemFactory { type Vtable = ISyndicationItemFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x251d434f_7db8_487a_85e4_10d191e66ebb); } @@ -614,15 +543,11 @@ pub struct ISyndicationItemFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationLink(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationLink { type Vtable = ISyndicationLink_Vtbl; } -impl ::core::clone::Clone for ISyndicationLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27553abd_a10e_41b5_86bd_9759086eb0c5); } @@ -651,15 +576,11 @@ pub struct ISyndicationLink_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationLinkFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationLinkFactory { type Vtable = ISyndicationLinkFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationLinkFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationLinkFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ed863d4_5535_48ac_98d4_c190995080b3); } @@ -678,6 +599,7 @@ pub struct ISyndicationLinkFactory_Vtbl { } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationNode(::windows_core::IUnknown); impl ISyndicationNode { pub fn NodeName(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -771,28 +693,12 @@ impl ISyndicationNode { } } ::windows_core::imp::interface_hierarchy!(ISyndicationNode, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISyndicationNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyndicationNode {} -impl ::core::fmt::Debug for ISyndicationNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyndicationNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISyndicationNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{753cef78-51f8-45c0-a9f5-f1719dec3fb2}"); } unsafe impl ::windows_core::Interface for ISyndicationNode { type Vtable = ISyndicationNode_Vtbl; } -impl ::core::clone::Clone for ISyndicationNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x753cef78_51f8_45c0_a9f5_f1719dec3fb2); } @@ -831,15 +737,11 @@ pub struct ISyndicationNode_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationNodeFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationNodeFactory { type Vtable = ISyndicationNodeFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationNodeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationNodeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12902188_4acb_49a8_b777_a5eb92e18a79); } @@ -851,15 +753,11 @@ pub struct ISyndicationNodeFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationPerson(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationPerson { type Vtable = ISyndicationPerson_Vtbl; } -impl ::core::clone::Clone for ISyndicationPerson { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationPerson { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa1ee5da_a7c6_4517_a096_0143faf29327); } @@ -882,15 +780,11 @@ pub struct ISyndicationPerson_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationPersonFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationPersonFactory { type Vtable = ISyndicationPersonFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationPersonFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationPersonFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcf4886d_229d_4b58_a49b_f3d2f0f5c99f); } @@ -906,6 +800,7 @@ pub struct ISyndicationPersonFactory_Vtbl { } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationText(::windows_core::IUnknown); impl ISyndicationText { pub fn Text(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1040,28 +935,12 @@ impl ISyndicationText { } ::windows_core::imp::interface_hierarchy!(ISyndicationText, ::windows_core::IUnknown, ::windows_core::IInspectable); impl ::windows_core::CanTryInto for ISyndicationText {} -impl ::core::cmp::PartialEq for ISyndicationText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyndicationText {} -impl ::core::fmt::Debug for ISyndicationText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyndicationText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for ISyndicationText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b9cc5e80-313a-4091-a2a6-243e0ee923f9}"); } unsafe impl ::windows_core::Interface for ISyndicationText { type Vtable = ISyndicationText_Vtbl; } -impl ::core::clone::Clone for ISyndicationText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9cc5e80_313a_4091_a2a6_243e0ee923f9); } @@ -1084,15 +963,11 @@ pub struct ISyndicationText_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyndicationTextFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyndicationTextFactory { type Vtable = ISyndicationTextFactory_Vtbl; } -impl ::core::clone::Clone for ISyndicationTextFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyndicationTextFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee7342f7_11c6_4b25_ab62_e596bd162946); } @@ -1105,6 +980,7 @@ pub struct ISyndicationTextFactory_Vtbl { } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationAttribute(::windows_core::IUnknown); impl SyndicationAttribute { pub fn new() -> ::windows_core::Result { @@ -1159,25 +1035,9 @@ impl SyndicationAttribute { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationAttribute {} -impl ::core::fmt::Debug for SyndicationAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationAttribute").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationAttribute { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationAttribute;{71e8f969-526e-4001-9a91-e84f83161ab1})"); } -impl ::core::clone::Clone for SyndicationAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationAttribute { type Vtable = ISyndicationAttribute_Vtbl; } @@ -1192,6 +1052,7 @@ unsafe impl ::core::marker::Send for SyndicationAttribute {} unsafe impl ::core::marker::Sync for SyndicationAttribute {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationCategory(::windows_core::IUnknown); impl SyndicationCategory { pub fn new() -> ::windows_core::Result { @@ -1341,25 +1202,9 @@ impl SyndicationCategory { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationCategory {} -impl ::core::fmt::Debug for SyndicationCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationCategory").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationCategory { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationCategory;{8715626f-0cba-4a7f-89ff-ecb5281423b6})"); } -impl ::core::clone::Clone for SyndicationCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationCategory { type Vtable = ISyndicationCategory_Vtbl; } @@ -1375,6 +1220,7 @@ unsafe impl ::core::marker::Send for SyndicationCategory {} unsafe impl ::core::marker::Sync for SyndicationCategory {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationClient(::windows_core::IUnknown); impl SyndicationClient { pub fn new() -> ::windows_core::Result { @@ -1486,25 +1332,9 @@ impl SyndicationClient { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationClient {} -impl ::core::fmt::Debug for SyndicationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationClient").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationClient { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationClient;{9e18a9b7-7249-4b45-b229-7df895a5a1f5})"); } -impl ::core::clone::Clone for SyndicationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationClient { type Vtable = ISyndicationClient_Vtbl; } @@ -1520,6 +1350,7 @@ unsafe impl ::core::marker::Send for SyndicationClient {} unsafe impl ::core::marker::Sync for SyndicationClient {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationContent(::windows_core::IUnknown); impl SyndicationContent { pub fn new() -> ::windows_core::Result { @@ -1699,25 +1530,9 @@ impl SyndicationContent { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationContent {} -impl ::core::fmt::Debug for SyndicationContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationContent").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationContent { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationContent;{4641fefe-0e55-40d0-b8d0-6a2ccba9fc7c})"); } -impl ::core::clone::Clone for SyndicationContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationContent { type Vtable = ISyndicationContent_Vtbl; } @@ -1752,6 +1567,7 @@ impl ::windows_core::RuntimeName for SyndicationError { } #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationFeed(::windows_core::IUnknown); impl SyndicationFeed { pub fn new() -> ::windows_core::Result { @@ -2086,25 +1902,9 @@ impl SyndicationFeed { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationFeed { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationFeed {} -impl ::core::fmt::Debug for SyndicationFeed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationFeed").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationFeed { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationFeed;{7ffe3cd2-5b66-4d62-8403-1bc10d910d6b})"); } -impl ::core::clone::Clone for SyndicationFeed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationFeed { type Vtable = ISyndicationFeed_Vtbl; } @@ -2120,6 +1920,7 @@ unsafe impl ::core::marker::Send for SyndicationFeed {} unsafe impl ::core::marker::Sync for SyndicationFeed {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationGenerator(::windows_core::IUnknown); impl SyndicationGenerator { pub fn new() -> ::windows_core::Result { @@ -2270,25 +2071,9 @@ impl SyndicationGenerator { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationGenerator {} -impl ::core::fmt::Debug for SyndicationGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationGenerator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationGenerator { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationGenerator;{9768b379-fb2b-4f6d-b41c-088a5868825c})"); } -impl ::core::clone::Clone for SyndicationGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationGenerator { type Vtable = ISyndicationGenerator_Vtbl; } @@ -2304,6 +2089,7 @@ unsafe impl ::core::marker::Send for SyndicationGenerator {} unsafe impl ::core::marker::Sync for SyndicationGenerator {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationItem(::windows_core::IUnknown); impl SyndicationItem { pub fn new() -> ::windows_core::Result { @@ -2632,25 +2418,9 @@ impl SyndicationItem { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationItem {} -impl ::core::fmt::Debug for SyndicationItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationItem").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationItem { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationItem;{548db883-c384-45c1-8ae8-a378c4ec486c})"); } -impl ::core::clone::Clone for SyndicationItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationItem { type Vtable = ISyndicationItem_Vtbl; } @@ -2666,6 +2436,7 @@ unsafe impl ::core::marker::Send for SyndicationItem {} unsafe impl ::core::marker::Sync for SyndicationItem {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationLink(::windows_core::IUnknown); impl SyndicationLink { pub fn new() -> ::windows_core::Result { @@ -2865,25 +2636,9 @@ impl SyndicationLink { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationLink {} -impl ::core::fmt::Debug for SyndicationLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationLink").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationLink { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationLink;{27553abd-a10e-41b5-86bd-9759086eb0c5})"); } -impl ::core::clone::Clone for SyndicationLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationLink { type Vtable = ISyndicationLink_Vtbl; } @@ -2899,6 +2654,7 @@ unsafe impl ::core::marker::Send for SyndicationLink {} unsafe impl ::core::marker::Sync for SyndicationLink {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationNode(::windows_core::IUnknown); impl SyndicationNode { pub fn new() -> ::windows_core::Result { @@ -3009,25 +2765,9 @@ impl SyndicationNode { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationNode {} -impl ::core::fmt::Debug for SyndicationNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationNode").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationNode { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationNode;{753cef78-51f8-45c0-a9f5-f1719dec3fb2})"); } -impl ::core::clone::Clone for SyndicationNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationNode { type Vtable = ISyndicationNode_Vtbl; } @@ -3043,6 +2783,7 @@ unsafe impl ::core::marker::Send for SyndicationNode {} unsafe impl ::core::marker::Sync for SyndicationNode {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationPerson(::windows_core::IUnknown); impl SyndicationPerson { pub fn new() -> ::windows_core::Result { @@ -3204,25 +2945,9 @@ impl SyndicationPerson { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationPerson { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationPerson {} -impl ::core::fmt::Debug for SyndicationPerson { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationPerson").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationPerson { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationPerson;{fa1ee5da-a7c6-4517-a096-0143faf29327})"); } -impl ::core::clone::Clone for SyndicationPerson { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationPerson { type Vtable = ISyndicationPerson_Vtbl; } @@ -3238,6 +2963,7 @@ unsafe impl ::core::marker::Send for SyndicationPerson {} unsafe impl ::core::marker::Sync for SyndicationPerson {} #[doc = "*Required features: `\"Web_Syndication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SyndicationText(::windows_core::IUnknown); impl SyndicationText { pub fn new() -> ::windows_core::Result { @@ -3394,25 +3120,9 @@ impl SyndicationText { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for SyndicationText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for SyndicationText {} -impl ::core::fmt::Debug for SyndicationText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SyndicationText").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for SyndicationText { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.Syndication.SyndicationText;{b9cc5e80-313a-4091-a2a6-243e0ee923f9})"); } -impl ::core::clone::Clone for SyndicationText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for SyndicationText { type Vtable = ISyndicationText_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs index 7a0281c770..ad50ffc751 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -1,14 +1,10 @@ #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlAcceleratorKeyPressedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlAcceleratorKeyPressedEventArgs { type Vtable = IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlAcceleratorKeyPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlAcceleratorKeyPressedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77a2a53e_7c74_437d_a290_3ac0d8cd5655); } @@ -34,15 +30,11 @@ pub struct IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlMoveFocusRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlMoveFocusRequestedEventArgs { type Vtable = IWebViewControlMoveFocusRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlMoveFocusRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlMoveFocusRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b2a340d_4bd0_405e_b7c1_1e72a492f446); } @@ -54,15 +46,11 @@ pub struct IWebViewControlMoveFocusRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlProcess(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlProcess { type Vtable = IWebViewControlProcess_Vtbl; } -impl ::core::clone::Clone for IWebViewControlProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlProcess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02c723ec_98d6_424a_b63e_c6136c36a0f2); } @@ -93,15 +81,11 @@ pub struct IWebViewControlProcess_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlProcessFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlProcessFactory { type Vtable = IWebViewControlProcessFactory_Vtbl; } -impl ::core::clone::Clone for IWebViewControlProcessFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlProcessFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47b65cf9_a2d2_453c_b097_f6779d4b8e02); } @@ -113,15 +97,11 @@ pub struct IWebViewControlProcessFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlProcessOptions(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlProcessOptions { type Vtable = IWebViewControlProcessOptions_Vtbl; } -impl ::core::clone::Clone for IWebViewControlProcessOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlProcessOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cca72a7_3bd6_4826_8261_6c8189505d89); } @@ -136,15 +116,11 @@ pub struct IWebViewControlProcessOptions_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlSite(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlSite { type Vtable = IWebViewControlSite_Vtbl; } -impl ::core::clone::Clone for IWebViewControlSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x133f47c6_12dc_4898_bd47_04967de648ba); } @@ -186,15 +162,11 @@ pub struct IWebViewControlSite_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlSite2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlSite2 { type Vtable = IWebViewControlSite2_Vtbl; } -impl ::core::clone::Clone for IWebViewControlSite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlSite2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd13b2e3f_48ee_4730_8243_d2ed0c05606a); } @@ -221,6 +193,7 @@ pub struct IWebViewControlSite2_Vtbl { } #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControl(::windows_core::IUnknown); impl WebViewControl { #[doc = "*Required features: `\"Foundation\"`*"] @@ -829,25 +802,9 @@ impl WebViewControl { unsafe { (::windows_core::Interface::vtable(this).RemoveLostFocus)(::windows_core::Interface::as_raw(this), token).ok() } } } -impl ::core::cmp::PartialEq for WebViewControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControl {} -impl ::core::fmt::Debug for WebViewControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControl;{3f921316-bc70-4bda-9136-c94370899fab})"); } -impl ::core::clone::Clone for WebViewControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControl { type Vtable = super::IWebViewControl_Vtbl; } @@ -862,6 +819,7 @@ impl ::windows_core::CanTryInto for WebViewControl {} impl ::windows_core::CanTryInto for WebViewControl {} #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlAcceleratorKeyPressedEventArgs(::windows_core::IUnknown); impl WebViewControlAcceleratorKeyPressedEventArgs { #[doc = "*Required features: `\"UI_Core\"`*"] @@ -910,25 +868,9 @@ impl WebViewControlAcceleratorKeyPressedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlAcceleratorKeyPressedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlAcceleratorKeyPressedEventArgs {} -impl ::core::fmt::Debug for WebViewControlAcceleratorKeyPressedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlAcceleratorKeyPressedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlAcceleratorKeyPressedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlAcceleratorKeyPressedEventArgs;{77a2a53e-7c74-437d-a290-3ac0d8cd5655})"); } -impl ::core::clone::Clone for WebViewControlAcceleratorKeyPressedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlAcceleratorKeyPressedEventArgs { type Vtable = IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl; } @@ -941,6 +883,7 @@ impl ::windows_core::RuntimeName for WebViewControlAcceleratorKeyPressedEventArg ::windows_core::imp::interface_hierarchy!(WebViewControlAcceleratorKeyPressedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlMoveFocusRequestedEventArgs(::windows_core::IUnknown); impl WebViewControlMoveFocusRequestedEventArgs { pub fn Reason(&self) -> ::windows_core::Result { @@ -951,25 +894,9 @@ impl WebViewControlMoveFocusRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlMoveFocusRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlMoveFocusRequestedEventArgs {} -impl ::core::fmt::Debug for WebViewControlMoveFocusRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlMoveFocusRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlMoveFocusRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlMoveFocusRequestedEventArgs;{6b2a340d-4bd0-405e-b7c1-1e72a492f446})"); } -impl ::core::clone::Clone for WebViewControlMoveFocusRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlMoveFocusRequestedEventArgs { type Vtable = IWebViewControlMoveFocusRequestedEventArgs_Vtbl; } @@ -982,6 +909,7 @@ impl ::windows_core::RuntimeName for WebViewControlMoveFocusRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlMoveFocusRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlProcess(::windows_core::IUnknown); impl WebViewControlProcess { pub fn new() -> ::windows_core::Result { @@ -1067,25 +995,9 @@ impl WebViewControlProcess { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WebViewControlProcess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlProcess {} -impl ::core::fmt::Debug for WebViewControlProcess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlProcess").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlProcess { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcess;{02c723ec-98d6-424a-b63e-c6136c36a0f2})"); } -impl ::core::clone::Clone for WebViewControlProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlProcess { type Vtable = IWebViewControlProcess_Vtbl; } @@ -1098,6 +1010,7 @@ impl ::windows_core::RuntimeName for WebViewControlProcess { ::windows_core::imp::interface_hierarchy!(WebViewControlProcess, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI_Interop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlProcessOptions(::windows_core::IUnknown); impl WebViewControlProcessOptions { pub fn new() -> ::windows_core::Result { @@ -1130,25 +1043,9 @@ impl WebViewControlProcessOptions { } } } -impl ::core::cmp::PartialEq for WebViewControlProcessOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlProcessOptions {} -impl ::core::fmt::Debug for WebViewControlProcessOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlProcessOptions").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlProcessOptions { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.Interop.WebViewControlProcessOptions;{1cca72a7-3bd6-4826-8261-6c8189505d89})"); } -impl ::core::clone::Clone for WebViewControlProcessOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlProcessOptions { type Vtable = IWebViewControlProcessOptions_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index 2206d4db68..736f2c725c 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -594,8 +594,8 @@ impl IWebViewControl_Vtbl { RemoveWebResourceRequested: RemoveWebResourceRequested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_UI\"`, `\"implement\"`*"] @@ -617,7 +617,7 @@ impl IWebViewControl2_Vtbl { AddInitializeScript: AddInitializeScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index 3d56ba4b39..b2824d628a 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -2,6 +2,7 @@ pub mod Interop; #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControl(::windows_core::IUnknown); impl IWebViewControl { #[doc = "*Required features: `\"Foundation\"`*"] @@ -483,28 +484,12 @@ impl IWebViewControl { } } ::windows_core::imp::interface_hierarchy!(IWebViewControl, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebViewControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebViewControl {} -impl ::core::fmt::Debug for IWebViewControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebViewControl").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebViewControl { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{3f921316-bc70-4bda-9136-c94370899fab}"); } unsafe impl ::windows_core::Interface for IWebViewControl { type Vtable = IWebViewControl_Vtbl; } -impl ::core::clone::Clone for IWebViewControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f921316_bc70_4bda_9136_c94370899fab); } @@ -710,6 +695,7 @@ pub struct IWebViewControl_Vtbl { } #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControl2(::windows_core::IUnknown); impl IWebViewControl2 { pub fn AddInitializeScript(&self, script: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -718,28 +704,12 @@ impl IWebViewControl2 { } } ::windows_core::imp::interface_hierarchy!(IWebViewControl2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebViewControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebViewControl2 {} -impl ::core::fmt::Debug for IWebViewControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebViewControl2").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IWebViewControl2 { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{4d3c06f9-c8df-41cc-8bd5-2a947b204503}"); } unsafe impl ::windows_core::Interface for IWebViewControl2 { type Vtable = IWebViewControl2_Vtbl; } -impl ::core::clone::Clone for IWebViewControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d3c06f9_c8df_41cc_8bd5_2a947b204503); } @@ -751,15 +721,11 @@ pub struct IWebViewControl2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlContentLoadingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlContentLoadingEventArgs { type Vtable = IWebViewControlContentLoadingEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlContentLoadingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlContentLoadingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a3fccb2_b9bb_404b_a22b_66dccd1250c6); } @@ -774,15 +740,11 @@ pub struct IWebViewControlContentLoadingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlDOMContentLoadedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlDOMContentLoadedEventArgs { type Vtable = IWebViewControlDOMContentLoadedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlDOMContentLoadedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlDOMContentLoadedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe8bc008_9541_4545_9ff2_2df585b29f7d); } @@ -797,15 +759,11 @@ pub struct IWebViewControlDOMContentLoadedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlDeferredPermissionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlDeferredPermissionRequest { type Vtable = IWebViewControlDeferredPermissionRequest_Vtbl; } -impl ::core::clone::Clone for IWebViewControlDeferredPermissionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlDeferredPermissionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ce349e0_d759_445c_9926_8995298f152b); } @@ -824,15 +782,11 @@ pub struct IWebViewControlDeferredPermissionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlLongRunningScriptDetectedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlLongRunningScriptDetectedEventArgs { type Vtable = IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlLongRunningScriptDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlLongRunningScriptDetectedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a6e5bba_98b4_45bc_bbeb_0f69ce49c599); } @@ -849,15 +803,11 @@ pub struct IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlNavigationCompletedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlNavigationCompletedEventArgs { type Vtable = IWebViewControlNavigationCompletedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlNavigationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlNavigationCompletedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20409918_4a15_4c46_a55d_f79edb0bde8b); } @@ -874,15 +824,11 @@ pub struct IWebViewControlNavigationCompletedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlNavigationStartingEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlNavigationStartingEventArgs { type Vtable = IWebViewControlNavigationStartingEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlNavigationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlNavigationStartingEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c9057c5_0a08_41c7_863b_71e3a9549137); } @@ -899,15 +845,11 @@ pub struct IWebViewControlNavigationStartingEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlNewWindowRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlNewWindowRequestedEventArgs { type Vtable = IWebViewControlNewWindowRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlNewWindowRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlNewWindowRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3df44bbb_a124_46d5_a083_d02cacdff5ad); } @@ -928,15 +870,11 @@ pub struct IWebViewControlNewWindowRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlNewWindowRequestedEventArgs2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlNewWindowRequestedEventArgs2 { type Vtable = IWebViewControlNewWindowRequestedEventArgs2_Vtbl; } -impl ::core::clone::Clone for IWebViewControlNewWindowRequestedEventArgs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlNewWindowRequestedEventArgs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb53c5ca6_2aae_4bfc_92b9_c30e92b48098); } @@ -953,15 +891,11 @@ pub struct IWebViewControlNewWindowRequestedEventArgs2_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlPermissionRequest(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlPermissionRequest { type Vtable = IWebViewControlPermissionRequest_Vtbl; } -impl ::core::clone::Clone for IWebViewControlPermissionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlPermissionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5bc836c_f22f_40e2_95b2_7729f840eb7f); } @@ -982,15 +916,11 @@ pub struct IWebViewControlPermissionRequest_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlPermissionRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlPermissionRequestedEventArgs { type Vtable = IWebViewControlPermissionRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlPermissionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlPermissionRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27204d51_2488_4cc5_968e_0a771e59c147); } @@ -1002,15 +932,11 @@ pub struct IWebViewControlPermissionRequestedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlScriptNotifyEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlScriptNotifyEventArgs { type Vtable = IWebViewControlScriptNotifyEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlScriptNotifyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlScriptNotifyEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x491de57b_6f49_41bb_b591_51b85b817037); } @@ -1026,15 +952,11 @@ pub struct IWebViewControlScriptNotifyEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlSettings(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlSettings { type Vtable = IWebViewControlSettings_Vtbl; } -impl ::core::clone::Clone for IWebViewControlSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9967fbf_5e98_4cfd_8cce_27b0911e3de8); } @@ -1051,15 +973,11 @@ pub struct IWebViewControlSettings_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs { type Vtable = IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3b81944_e4fc_43dc_94ca_f980f30bc51d); } @@ -1076,15 +994,11 @@ pub struct IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlUnviewableContentIdentifiedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlUnviewableContentIdentifiedEventArgs { type Vtable = IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlUnviewableContentIdentifiedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlUnviewableContentIdentifiedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a9680db_88f2_4e20_b693_b4e2df4aa581); } @@ -1104,15 +1018,11 @@ pub struct IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebViewControlWebResourceRequestedEventArgs(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebViewControlWebResourceRequestedEventArgs { type Vtable = IWebViewControlWebResourceRequestedEventArgs_Vtbl; } -impl ::core::clone::Clone for IWebViewControlWebResourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebViewControlWebResourceRequestedEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44d6524d_55a4_4d8b_891c_931d8e25d42e); } @@ -1139,6 +1049,7 @@ pub struct IWebViewControlWebResourceRequestedEventArgs_Vtbl { } #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlContentLoadingEventArgs(::windows_core::IUnknown); impl WebViewControlContentLoadingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1151,25 +1062,9 @@ impl WebViewControlContentLoadingEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlContentLoadingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlContentLoadingEventArgs {} -impl ::core::fmt::Debug for WebViewControlContentLoadingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlContentLoadingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlContentLoadingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlContentLoadingEventArgs;{9a3fccb2-b9bb-404b-a22b-66dccd1250c6})"); } -impl ::core::clone::Clone for WebViewControlContentLoadingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlContentLoadingEventArgs { type Vtable = IWebViewControlContentLoadingEventArgs_Vtbl; } @@ -1182,6 +1077,7 @@ impl ::windows_core::RuntimeName for WebViewControlContentLoadingEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlContentLoadingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlDOMContentLoadedEventArgs(::windows_core::IUnknown); impl WebViewControlDOMContentLoadedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1194,25 +1090,9 @@ impl WebViewControlDOMContentLoadedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlDOMContentLoadedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlDOMContentLoadedEventArgs {} -impl ::core::fmt::Debug for WebViewControlDOMContentLoadedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlDOMContentLoadedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlDOMContentLoadedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs;{be8bc008-9541-4545-9ff2-2df585b29f7d})"); } -impl ::core::clone::Clone for WebViewControlDOMContentLoadedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlDOMContentLoadedEventArgs { type Vtable = IWebViewControlDOMContentLoadedEventArgs_Vtbl; } @@ -1225,6 +1105,7 @@ impl ::windows_core::RuntimeName for WebViewControlDOMContentLoadedEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlDOMContentLoadedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlDeferredPermissionRequest(::windows_core::IUnknown); impl WebViewControlDeferredPermissionRequest { pub fn Id(&self) -> ::windows_core::Result { @@ -1259,25 +1140,9 @@ impl WebViewControlDeferredPermissionRequest { unsafe { (::windows_core::Interface::vtable(this).Deny)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlDeferredPermissionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlDeferredPermissionRequest {} -impl ::core::fmt::Debug for WebViewControlDeferredPermissionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlDeferredPermissionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlDeferredPermissionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlDeferredPermissionRequest;{2ce349e0-d759-445c-9926-8995298f152b})"); } -impl ::core::clone::Clone for WebViewControlDeferredPermissionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlDeferredPermissionRequest { type Vtable = IWebViewControlDeferredPermissionRequest_Vtbl; } @@ -1290,6 +1155,7 @@ impl ::windows_core::RuntimeName for WebViewControlDeferredPermissionRequest { ::windows_core::imp::interface_hierarchy!(WebViewControlDeferredPermissionRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlLongRunningScriptDetectedEventArgs(::windows_core::IUnknown); impl WebViewControlLongRunningScriptDetectedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1313,25 +1179,9 @@ impl WebViewControlLongRunningScriptDetectedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetStopPageScriptExecution)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlLongRunningScriptDetectedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlLongRunningScriptDetectedEventArgs {} -impl ::core::fmt::Debug for WebViewControlLongRunningScriptDetectedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlLongRunningScriptDetectedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlLongRunningScriptDetectedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs;{2a6e5bba-98b4-45bc-bbeb-0f69ce49c599})"); } -impl ::core::clone::Clone for WebViewControlLongRunningScriptDetectedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlLongRunningScriptDetectedEventArgs { type Vtable = IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl; } @@ -1344,6 +1194,7 @@ impl ::windows_core::RuntimeName for WebViewControlLongRunningScriptDetectedEven ::windows_core::imp::interface_hierarchy!(WebViewControlLongRunningScriptDetectedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlNavigationCompletedEventArgs(::windows_core::IUnknown); impl WebViewControlNavigationCompletedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1370,25 +1221,9 @@ impl WebViewControlNavigationCompletedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlNavigationCompletedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlNavigationCompletedEventArgs {} -impl ::core::fmt::Debug for WebViewControlNavigationCompletedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlNavigationCompletedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlNavigationCompletedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationCompletedEventArgs;{20409918-4a15-4c46-a55d-f79edb0bde8b})"); } -impl ::core::clone::Clone for WebViewControlNavigationCompletedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlNavigationCompletedEventArgs { type Vtable = IWebViewControlNavigationCompletedEventArgs_Vtbl; } @@ -1401,6 +1236,7 @@ impl ::windows_core::RuntimeName for WebViewControlNavigationCompletedEventArgs ::windows_core::imp::interface_hierarchy!(WebViewControlNavigationCompletedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlNavigationStartingEventArgs(::windows_core::IUnknown); impl WebViewControlNavigationStartingEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1424,25 +1260,9 @@ impl WebViewControlNavigationStartingEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetCancel)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlNavigationStartingEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlNavigationStartingEventArgs {} -impl ::core::fmt::Debug for WebViewControlNavigationStartingEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlNavigationStartingEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlNavigationStartingEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNavigationStartingEventArgs;{0c9057c5-0a08-41c7-863b-71e3a9549137})"); } -impl ::core::clone::Clone for WebViewControlNavigationStartingEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlNavigationStartingEventArgs { type Vtable = IWebViewControlNavigationStartingEventArgs_Vtbl; } @@ -1455,6 +1275,7 @@ impl ::windows_core::RuntimeName for WebViewControlNavigationStartingEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlNavigationStartingEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlNewWindowRequestedEventArgs(::windows_core::IUnknown); impl WebViewControlNewWindowRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1510,25 +1331,9 @@ impl WebViewControlNewWindowRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlNewWindowRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlNewWindowRequestedEventArgs {} -impl ::core::fmt::Debug for WebViewControlNewWindowRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlNewWindowRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlNewWindowRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs;{3df44bbb-a124-46d5-a083-d02cacdff5ad})"); } -impl ::core::clone::Clone for WebViewControlNewWindowRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlNewWindowRequestedEventArgs { type Vtable = IWebViewControlNewWindowRequestedEventArgs_Vtbl; } @@ -1541,6 +1346,7 @@ impl ::windows_core::RuntimeName for WebViewControlNewWindowRequestedEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlNewWindowRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlPermissionRequest(::windows_core::IUnknown); impl WebViewControlPermissionRequest { pub fn Id(&self) -> ::windows_core::Result { @@ -1586,25 +1392,9 @@ impl WebViewControlPermissionRequest { unsafe { (::windows_core::Interface::vtable(this).Deny)(::windows_core::Interface::as_raw(this)).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlPermissionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlPermissionRequest {} -impl ::core::fmt::Debug for WebViewControlPermissionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlPermissionRequest").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlPermissionRequest { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequest;{e5bc836c-f22f-40e2-95b2-7729f840eb7f})"); } -impl ::core::clone::Clone for WebViewControlPermissionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlPermissionRequest { type Vtable = IWebViewControlPermissionRequest_Vtbl; } @@ -1617,6 +1407,7 @@ impl ::windows_core::RuntimeName for WebViewControlPermissionRequest { ::windows_core::imp::interface_hierarchy!(WebViewControlPermissionRequest, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlPermissionRequestedEventArgs(::windows_core::IUnknown); impl WebViewControlPermissionRequestedEventArgs { pub fn PermissionRequest(&self) -> ::windows_core::Result { @@ -1627,25 +1418,9 @@ impl WebViewControlPermissionRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlPermissionRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlPermissionRequestedEventArgs {} -impl ::core::fmt::Debug for WebViewControlPermissionRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlPermissionRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlPermissionRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlPermissionRequestedEventArgs;{27204d51-2488-4cc5-968e-0a771e59c147})"); } -impl ::core::clone::Clone for WebViewControlPermissionRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlPermissionRequestedEventArgs { type Vtable = IWebViewControlPermissionRequestedEventArgs_Vtbl; } @@ -1658,6 +1433,7 @@ impl ::windows_core::RuntimeName for WebViewControlPermissionRequestedEventArgs ::windows_core::imp::interface_hierarchy!(WebViewControlPermissionRequestedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlScriptNotifyEventArgs(::windows_core::IUnknown); impl WebViewControlScriptNotifyEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1677,25 +1453,9 @@ impl WebViewControlScriptNotifyEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlScriptNotifyEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlScriptNotifyEventArgs {} -impl ::core::fmt::Debug for WebViewControlScriptNotifyEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlScriptNotifyEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlScriptNotifyEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlScriptNotifyEventArgs;{491de57b-6f49-41bb-b591-51b85b817037})"); } -impl ::core::clone::Clone for WebViewControlScriptNotifyEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlScriptNotifyEventArgs { type Vtable = IWebViewControlScriptNotifyEventArgs_Vtbl; } @@ -1708,6 +1468,7 @@ impl ::windows_core::RuntimeName for WebViewControlScriptNotifyEventArgs { ::windows_core::imp::interface_hierarchy!(WebViewControlScriptNotifyEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlSettings(::windows_core::IUnknown); impl WebViewControlSettings { pub fn SetIsJavaScriptEnabled(&self, value: bool) -> ::windows_core::Result<()> { @@ -1744,25 +1505,9 @@ impl WebViewControlSettings { } } } -impl ::core::cmp::PartialEq for WebViewControlSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlSettings {} -impl ::core::fmt::Debug for WebViewControlSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlSettings").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlSettings { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlSettings;{c9967fbf-5e98-4cfd-8cce-27b0911e3de8})"); } -impl ::core::clone::Clone for WebViewControlSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlSettings { type Vtable = IWebViewControlSettings_Vtbl; } @@ -1775,6 +1520,7 @@ impl ::windows_core::RuntimeName for WebViewControlSettings { ::windows_core::imp::interface_hierarchy!(WebViewControlSettings, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlUnsupportedUriSchemeIdentifiedEventArgs(::windows_core::IUnknown); impl WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1798,25 +1544,9 @@ impl WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { unsafe { (::windows_core::Interface::vtable(this).SetHandled)(::windows_core::Interface::as_raw(this), value).ok() } } } -impl ::core::cmp::PartialEq for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs {} -impl ::core::fmt::Debug for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlUnsupportedUriSchemeIdentifiedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs;{e3b81944-e4fc-43dc-94ca-f980f30bc51d})"); } -impl ::core::clone::Clone for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlUnsupportedUriSchemeIdentifiedEventArgs { type Vtable = IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl; } @@ -1829,6 +1559,7 @@ impl ::windows_core::RuntimeName for WebViewControlUnsupportedUriSchemeIdentifie ::windows_core::imp::interface_hierarchy!(WebViewControlUnsupportedUriSchemeIdentifiedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlUnviewableContentIdentifiedEventArgs(::windows_core::IUnknown); impl WebViewControlUnviewableContentIdentifiedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1857,25 +1588,9 @@ impl WebViewControlUnviewableContentIdentifiedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlUnviewableContentIdentifiedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlUnviewableContentIdentifiedEventArgs {} -impl ::core::fmt::Debug for WebViewControlUnviewableContentIdentifiedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlUnviewableContentIdentifiedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlUnviewableContentIdentifiedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs;{4a9680db-88f2-4e20-b693-b4e2df4aa581})"); } -impl ::core::clone::Clone for WebViewControlUnviewableContentIdentifiedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlUnviewableContentIdentifiedEventArgs { type Vtable = IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl; } @@ -1888,6 +1603,7 @@ impl ::windows_core::RuntimeName for WebViewControlUnviewableContentIdentifiedEv ::windows_core::imp::interface_hierarchy!(WebViewControlUnviewableContentIdentifiedEventArgs, ::windows_core::IUnknown, ::windows_core::IInspectable); #[doc = "*Required features: `\"Web_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WebViewControlWebResourceRequestedEventArgs(::windows_core::IUnknown); impl WebViewControlWebResourceRequestedEventArgs { #[doc = "*Required features: `\"Foundation\"`*"] @@ -1927,25 +1643,9 @@ impl WebViewControlWebResourceRequestedEventArgs { } } } -impl ::core::cmp::PartialEq for WebViewControlWebResourceRequestedEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WebViewControlWebResourceRequestedEventArgs {} -impl ::core::fmt::Debug for WebViewControlWebResourceRequestedEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WebViewControlWebResourceRequestedEventArgs").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WebViewControlWebResourceRequestedEventArgs { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"rc(Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs;{44d6524d-55a4-4d8b-891c-931d8e25d42e})"); } -impl ::core::clone::Clone for WebViewControlWebResourceRequestedEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WebViewControlWebResourceRequestedEventArgs { type Vtable = IWebViewControlWebResourceRequestedEventArgs_Vtbl; } diff --git a/crates/libs/windows/src/Windows/Web/impl.rs b/crates/libs/windows/src/Windows/Web/impl.rs index d8b0218e37..56638a5341 100644 --- a/crates/libs/windows/src/Windows/Web/impl.rs +++ b/crates/libs/windows/src/Windows/Web/impl.rs @@ -27,7 +27,7 @@ impl IUriToStreamResolver_Vtbl { UriToStreamAsync: UriToStreamAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index 32e66ccb8c..492a6e3970 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -8,6 +8,7 @@ pub mod Syndication; pub mod UI; #[doc = "*Required features: `\"Web\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriToStreamResolver(::windows_core::IUnknown); impl IUriToStreamResolver { #[doc = "*Required features: `\"Foundation\"`, `\"Storage_Streams\"`*"] @@ -24,28 +25,12 @@ impl IUriToStreamResolver { } } ::windows_core::imp::interface_hierarchy!(IUriToStreamResolver, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUriToStreamResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUriToStreamResolver {} -impl ::core::fmt::Debug for IUriToStreamResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUriToStreamResolver").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IUriToStreamResolver { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{b0aba86a-9aeb-4d3a-9590-003e3ca7e290}"); } unsafe impl ::windows_core::Interface for IUriToStreamResolver { type Vtable = IUriToStreamResolver_Vtbl; } -impl ::core::clone::Clone for IUriToStreamResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriToStreamResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0aba86a_9aeb_4d3a_9590_003e3ca7e290); } @@ -60,15 +45,11 @@ pub struct IUriToStreamResolver_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebErrorStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWebErrorStatics { type Vtable = IWebErrorStatics_Vtbl; } -impl ::core::clone::Clone for IWebErrorStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebErrorStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe616766_bf27_4064_87b7_6563bb11ce2e); } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs index 86cade21e5..2296819b16 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs @@ -46,8 +46,8 @@ impl IDMLBindingTable_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IDMLCommandRecorder_Vtbl { } Self { base__: IDMLDeviceChild_Vtbl::new::(), RecordDispatch: RecordDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IDMLCompiledOperator_Vtbl { pub const fn new, Impl: IDMLCompiledOperator_Impl, const OFFSET: isize>() -> IDMLCompiledOperator_Vtbl { Self { base__: IDMLDispatchable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IDMLDebugDevice_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetMuteDebugOutput: SetMuteDebugOutput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl IDMLDevice_Vtbl { GetParentDevice: GetParentDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl IDMLDevice1_Vtbl { } Self { base__: IDMLDevice_Vtbl::new::(), CompileGraph: CompileGraph:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl IDMLDeviceChild_Vtbl { } Self { base__: IDMLObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -243,8 +243,8 @@ impl IDMLDispatchable_Vtbl { } Self { base__: IDMLPageable_Vtbl::new::(), GetBindingProperties: GetBindingProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -285,8 +285,8 @@ impl IDMLObject_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -296,8 +296,8 @@ impl IDMLOperator_Vtbl { pub const fn new, Impl: IDMLOperator_Impl, const OFFSET: isize>() -> IDMLOperator_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -314,8 +314,8 @@ impl IDMLOperatorInitializer_Vtbl { } Self { base__: IDMLDispatchable_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -325,7 +325,7 @@ impl IDMLPageable_Vtbl { pub const fn new, Impl: IDMLPageable_Impl, const OFFSET: isize>() -> IDMLPageable_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs index ba501baecd..b45c0ce454 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs @@ -22,6 +22,7 @@ where } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLBindingTable(::windows_core::IUnknown); impl IDMLBindingTable { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -68,25 +69,9 @@ impl IDMLBindingTable { } } ::windows_core::imp::interface_hierarchy!(IDMLBindingTable, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); -impl ::core::cmp::PartialEq for IDMLBindingTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLBindingTable {} -impl ::core::fmt::Debug for IDMLBindingTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLBindingTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLBindingTable { type Vtable = IDMLBindingTable_Vtbl; } -impl ::core::clone::Clone for IDMLBindingTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLBindingTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29c687dc_de74_4e3b_ab00_1168f2fc3cfc); } @@ -105,6 +90,7 @@ pub struct IDMLBindingTable_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLCommandRecorder(::windows_core::IUnknown); impl IDMLCommandRecorder { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -144,25 +130,9 @@ impl IDMLCommandRecorder { } } ::windows_core::imp::interface_hierarchy!(IDMLCommandRecorder, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); -impl ::core::cmp::PartialEq for IDMLCommandRecorder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLCommandRecorder {} -impl ::core::fmt::Debug for IDMLCommandRecorder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLCommandRecorder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLCommandRecorder { type Vtable = IDMLCommandRecorder_Vtbl; } -impl ::core::clone::Clone for IDMLCommandRecorder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLCommandRecorder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6857a76_2e3e_4fdd_bff4_5d2ba10fb453); } @@ -177,6 +147,7 @@ pub struct IDMLCommandRecorder_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLCompiledOperator(::windows_core::IUnknown); impl IDMLCompiledOperator { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -211,25 +182,9 @@ impl IDMLCompiledOperator { } } ::windows_core::imp::interface_hierarchy!(IDMLCompiledOperator, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); -impl ::core::cmp::PartialEq for IDMLCompiledOperator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLCompiledOperator {} -impl ::core::fmt::Debug for IDMLCompiledOperator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLCompiledOperator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLCompiledOperator { type Vtable = IDMLCompiledOperator_Vtbl; } -impl ::core::clone::Clone for IDMLCompiledOperator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLCompiledOperator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b15e56a_bf5c_4902_92d8_da3a650afea4); } @@ -240,6 +195,7 @@ pub struct IDMLCompiledOperator_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLDebugDevice(::windows_core::IUnknown); impl IDMLDebugDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -252,25 +208,9 @@ impl IDMLDebugDevice { } } ::windows_core::imp::interface_hierarchy!(IDMLDebugDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDMLDebugDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLDebugDevice {} -impl ::core::fmt::Debug for IDMLDebugDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLDebugDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLDebugDevice { type Vtable = IDMLDebugDevice_Vtbl; } -impl ::core::clone::Clone for IDMLDebugDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLDebugDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d6f3ac9_394a_4ac3_92a7_390cc57a8217); } @@ -285,6 +225,7 @@ pub struct IDMLDebugDevice_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLDevice(::windows_core::IUnknown); impl IDMLDevice { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -362,25 +303,9 @@ impl IDMLDevice { } } ::windows_core::imp::interface_hierarchy!(IDMLDevice, ::windows_core::IUnknown, IDMLObject); -impl ::core::cmp::PartialEq for IDMLDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLDevice {} -impl ::core::fmt::Debug for IDMLDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLDevice { type Vtable = IDMLDevice_Vtbl; } -impl ::core::clone::Clone for IDMLDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dbd6437_96fd_423f_a98c_ae5e7c2a573f); } @@ -404,6 +329,7 @@ pub struct IDMLDevice_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLDevice1(::windows_core::IUnknown); impl IDMLDevice1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -487,25 +413,9 @@ impl IDMLDevice1 { } } ::windows_core::imp::interface_hierarchy!(IDMLDevice1, ::windows_core::IUnknown, IDMLObject, IDMLDevice); -impl ::core::cmp::PartialEq for IDMLDevice1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLDevice1 {} -impl ::core::fmt::Debug for IDMLDevice1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLDevice1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLDevice1 { type Vtable = IDMLDevice1_Vtbl; } -impl ::core::clone::Clone for IDMLDevice1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLDevice1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0884f9a_d2be_4355_aa5d_5901281ad1d2); } @@ -517,6 +427,7 @@ pub struct IDMLDevice1_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLDeviceChild(::windows_core::IUnknown); impl IDMLDeviceChild { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -546,25 +457,9 @@ impl IDMLDeviceChild { } } ::windows_core::imp::interface_hierarchy!(IDMLDeviceChild, ::windows_core::IUnknown, IDMLObject); -impl ::core::cmp::PartialEq for IDMLDeviceChild { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLDeviceChild {} -impl ::core::fmt::Debug for IDMLDeviceChild { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLDeviceChild").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLDeviceChild { type Vtable = IDMLDeviceChild_Vtbl; } -impl ::core::clone::Clone for IDMLDeviceChild { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLDeviceChild { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27e83142_8165_49e3_974e_2fd66e4cb69d); } @@ -576,6 +471,7 @@ pub struct IDMLDeviceChild_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLDispatchable(::windows_core::IUnknown); impl IDMLDispatchable { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -610,25 +506,9 @@ impl IDMLDispatchable { } } ::windows_core::imp::interface_hierarchy!(IDMLDispatchable, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable); -impl ::core::cmp::PartialEq for IDMLDispatchable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLDispatchable {} -impl ::core::fmt::Debug for IDMLDispatchable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLDispatchable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLDispatchable { type Vtable = IDMLDispatchable_Vtbl; } -impl ::core::clone::Clone for IDMLDispatchable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLDispatchable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb821a8_1039_441e_9f1c_b1759c2f3cec); } @@ -640,6 +520,7 @@ pub struct IDMLDispatchable_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLObject(::windows_core::IUnknown); impl IDMLObject { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -662,25 +543,9 @@ impl IDMLObject { } } ::windows_core::imp::interface_hierarchy!(IDMLObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDMLObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLObject {} -impl ::core::fmt::Debug for IDMLObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLObject { type Vtable = IDMLObject_Vtbl; } -impl ::core::clone::Clone for IDMLObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8263aac_9e0c_4a2d_9b8e_007521a3317c); } @@ -695,6 +560,7 @@ pub struct IDMLObject_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLOperator(::windows_core::IUnknown); impl IDMLOperator { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -724,25 +590,9 @@ impl IDMLOperator { } } ::windows_core::imp::interface_hierarchy!(IDMLOperator, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); -impl ::core::cmp::PartialEq for IDMLOperator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLOperator {} -impl ::core::fmt::Debug for IDMLOperator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLOperator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLOperator { type Vtable = IDMLOperator_Vtbl; } -impl ::core::clone::Clone for IDMLOperator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLOperator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26caae7a_3081_4633_9581_226fbe57695d); } @@ -753,6 +603,7 @@ pub struct IDMLOperator_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLOperatorInitializer(::windows_core::IUnknown); impl IDMLOperatorInitializer { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -790,25 +641,9 @@ impl IDMLOperatorInitializer { } } ::windows_core::imp::interface_hierarchy!(IDMLOperatorInitializer, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); -impl ::core::cmp::PartialEq for IDMLOperatorInitializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLOperatorInitializer {} -impl ::core::fmt::Debug for IDMLOperatorInitializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLOperatorInitializer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLOperatorInitializer { type Vtable = IDMLOperatorInitializer_Vtbl; } -impl ::core::clone::Clone for IDMLOperatorInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLOperatorInitializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x427c1113_435c_469c_8676_4d5dd072f813); } @@ -820,6 +655,7 @@ pub struct IDMLOperatorInitializer_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMLPageable(::windows_core::IUnknown); impl IDMLPageable { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: *mut u32, data: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -849,25 +685,9 @@ impl IDMLPageable { } } ::windows_core::imp::interface_hierarchy!(IDMLPageable, ::windows_core::IUnknown, IDMLObject, IDMLDeviceChild); -impl ::core::cmp::PartialEq for IDMLPageable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMLPageable {} -impl ::core::fmt::Debug for IDMLPageable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMLPageable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMLPageable { type Vtable = IDMLPageable_Vtbl; } -impl ::core::clone::Clone for IDMLPageable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMLPageable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1ab0825_4542_4a4b_8617_6dde6e8f6201); } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs index 75d9caba80..9fe3348425 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs @@ -48,8 +48,8 @@ impl IMLOperatorAttributes_Vtbl { GetStringAttributeElement: GetStringAttributeElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -66,8 +66,8 @@ impl IMLOperatorKernel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compute: Compute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IMLOperatorKernelContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IMLOperatorKernelCreationContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IMLOperatorKernelFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateKernel: CreateKernel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl IMLOperatorRegistry_Vtbl { RegisterOperatorKernel: RegisterOperatorKernel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IMLOperatorShapeInferenceContext_Vtbl { SetOutputTensorShape: SetOutputTensorShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IMLOperatorShapeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputShapes: InferOutputShapes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl IMLOperatorTensor_Vtbl { GetDataInterface: GetDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IMLOperatorTensorShapeDescription_Vtbl { GetOutputTensorShape: GetOutputTensorShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IMLOperatorTypeInferenceContext_Vtbl { SetOutputEdgeDescription: SetOutputEdgeDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -590,8 +590,8 @@ impl IMLOperatorTypeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputTypes: InferOutputTypes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -634,8 +634,8 @@ impl IWinMLEvaluationContext_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -697,8 +697,8 @@ impl IWinMLModel_Vtbl { EnumerateModelOutputs: EnumerateModelOutputs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IWinMLRuntime_Vtbl { EvaluateModel: EvaluateModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -771,7 +771,7 @@ impl IWinMLRuntimeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRuntime: CreateRuntime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs index 3acf95f674..99742b611f 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs @@ -14,6 +14,7 @@ pub unsafe fn WinMLCreateRuntime() -> ::windows_core::Result { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorAttributes(::windows_core::IUnknown); impl IMLOperatorAttributes { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> ::windows_core::Result @@ -44,25 +45,9 @@ impl IMLOperatorAttributes { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorAttributes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorAttributes {} -impl ::core::fmt::Debug for IMLOperatorAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorAttributes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorAttributes { type Vtable = IMLOperatorAttributes_Vtbl; } -impl ::core::clone::Clone for IMLOperatorAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b1b1759_ec40_466c_aab4_beb5347fd24c); } @@ -77,6 +62,7 @@ pub struct IMLOperatorAttributes_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorKernel(::windows_core::IUnknown); impl IMLOperatorKernel { pub unsafe fn Compute(&self, context: P0) -> ::windows_core::Result<()> @@ -87,25 +73,9 @@ impl IMLOperatorKernel { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorKernel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorKernel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorKernel {} -impl ::core::fmt::Debug for IMLOperatorKernel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorKernel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorKernel { type Vtable = IMLOperatorKernel_Vtbl; } -impl ::core::clone::Clone for IMLOperatorKernel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorKernel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11c4b4a0_b467_4eaa_a1a6_b961d8d0ed79); } @@ -117,6 +87,7 @@ pub struct IMLOperatorKernel_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorKernelContext(::windows_core::IUnknown); impl IMLOperatorKernelContext { pub unsafe fn GetInputTensor(&self, inputindex: u32) -> ::windows_core::Result { @@ -142,25 +113,9 @@ impl IMLOperatorKernelContext { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorKernelContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorKernelContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorKernelContext {} -impl ::core::fmt::Debug for IMLOperatorKernelContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorKernelContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorKernelContext { type Vtable = IMLOperatorKernelContext_Vtbl; } -impl ::core::clone::Clone for IMLOperatorKernelContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorKernelContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82536a28_f022_4769_9d3f_8b278f84c0c3); } @@ -176,6 +131,7 @@ pub struct IMLOperatorKernelContext_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorKernelCreationContext(::windows_core::IUnknown); impl IMLOperatorKernelCreationContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> ::windows_core::Result @@ -238,25 +194,9 @@ impl IMLOperatorKernelCreationContext { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorKernelCreationContext, ::windows_core::IUnknown, IMLOperatorAttributes); -impl ::core::cmp::PartialEq for IMLOperatorKernelCreationContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorKernelCreationContext {} -impl ::core::fmt::Debug for IMLOperatorKernelCreationContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorKernelCreationContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorKernelCreationContext { type Vtable = IMLOperatorKernelCreationContext_Vtbl; } -impl ::core::clone::Clone for IMLOperatorKernelCreationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorKernelCreationContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5459b53d_a0fc_4665_addd_70171ef7e631); } @@ -276,6 +216,7 @@ pub struct IMLOperatorKernelCreationContext_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorKernelFactory(::windows_core::IUnknown); impl IMLOperatorKernelFactory { pub unsafe fn CreateKernel(&self, context: P0) -> ::windows_core::Result @@ -287,25 +228,9 @@ impl IMLOperatorKernelFactory { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorKernelFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorKernelFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorKernelFactory {} -impl ::core::fmt::Debug for IMLOperatorKernelFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorKernelFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorKernelFactory { type Vtable = IMLOperatorKernelFactory_Vtbl; } -impl ::core::clone::Clone for IMLOperatorKernelFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorKernelFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef15ad6f_0dc9_4908_ab35_a575a30dfbf8); } @@ -317,6 +242,7 @@ pub struct IMLOperatorKernelFactory_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorRegistry(::windows_core::IUnknown); impl IMLOperatorRegistry { pub unsafe fn RegisterOperatorSetSchema(&self, operatorsetid: *const MLOperatorSetId, baselineversion: i32, schema: ::core::option::Option<&[*const MLOperatorSchemaDescription]>, typeinferrer: P0, shapeinferrer: P1) -> ::windows_core::Result<()> @@ -335,25 +261,9 @@ impl IMLOperatorRegistry { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorRegistry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorRegistry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorRegistry {} -impl ::core::fmt::Debug for IMLOperatorRegistry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorRegistry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorRegistry { type Vtable = IMLOperatorRegistry_Vtbl; } -impl ::core::clone::Clone for IMLOperatorRegistry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorRegistry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2af9dd2d_b516_4672_9ab5_530c208493ad); } @@ -366,6 +276,7 @@ pub struct IMLOperatorRegistry_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorShapeInferenceContext(::windows_core::IUnknown); impl IMLOperatorShapeInferenceContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> ::windows_core::Result @@ -422,25 +333,9 @@ impl IMLOperatorShapeInferenceContext { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferenceContext, ::windows_core::IUnknown, IMLOperatorAttributes); -impl ::core::cmp::PartialEq for IMLOperatorShapeInferenceContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorShapeInferenceContext {} -impl ::core::fmt::Debug for IMLOperatorShapeInferenceContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorShapeInferenceContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorShapeInferenceContext { type Vtable = IMLOperatorShapeInferenceContext_Vtbl; } -impl ::core::clone::Clone for IMLOperatorShapeInferenceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorShapeInferenceContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x105b6b29_5408_4a68_9959_09b5955a3492); } @@ -459,6 +354,7 @@ pub struct IMLOperatorShapeInferenceContext_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorShapeInferrer(::windows_core::IUnknown); impl IMLOperatorShapeInferrer { pub unsafe fn InferOutputShapes(&self, context: P0) -> ::windows_core::Result<()> @@ -469,25 +365,9 @@ impl IMLOperatorShapeInferrer { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferrer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorShapeInferrer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorShapeInferrer {} -impl ::core::fmt::Debug for IMLOperatorShapeInferrer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorShapeInferrer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorShapeInferrer { type Vtable = IMLOperatorShapeInferrer_Vtbl; } -impl ::core::clone::Clone for IMLOperatorShapeInferrer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorShapeInferrer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x540be5be_a6c9_40ee_83f6_d2b8b40a7798); } @@ -499,6 +379,7 @@ pub struct IMLOperatorShapeInferrer_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorTensor(::windows_core::IUnknown); impl IMLOperatorTensor { pub unsafe fn GetDimensionCount(&self) -> u32 { @@ -526,25 +407,9 @@ impl IMLOperatorTensor { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorTensor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorTensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorTensor {} -impl ::core::fmt::Debug for IMLOperatorTensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorTensor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorTensor { type Vtable = IMLOperatorTensor_Vtbl; } -impl ::core::clone::Clone for IMLOperatorTensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorTensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fe41f41_f430_440e_aece_54416dc8b9db); } @@ -562,6 +427,7 @@ pub struct IMLOperatorTensor_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorTensorShapeDescription(::windows_core::IUnknown); impl IMLOperatorTensorShapeDescription { pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> ::windows_core::Result { @@ -583,25 +449,9 @@ impl IMLOperatorTensorShapeDescription { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorTensorShapeDescription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorTensorShapeDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorTensorShapeDescription {} -impl ::core::fmt::Debug for IMLOperatorTensorShapeDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorTensorShapeDescription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorTensorShapeDescription { type Vtable = IMLOperatorTensorShapeDescription_Vtbl; } -impl ::core::clone::Clone for IMLOperatorTensorShapeDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorTensorShapeDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf20e8cbe_3b28_4248_be95_f96fbc6e4643); } @@ -617,6 +467,7 @@ pub struct IMLOperatorTensorShapeDescription_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorTypeInferenceContext(::windows_core::IUnknown); impl IMLOperatorTypeInferenceContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> ::windows_core::Result @@ -666,25 +517,9 @@ impl IMLOperatorTypeInferenceContext { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferenceContext, ::windows_core::IUnknown, IMLOperatorAttributes); -impl ::core::cmp::PartialEq for IMLOperatorTypeInferenceContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorTypeInferenceContext {} -impl ::core::fmt::Debug for IMLOperatorTypeInferenceContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorTypeInferenceContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorTypeInferenceContext { type Vtable = IMLOperatorTypeInferenceContext_Vtbl; } -impl ::core::clone::Clone for IMLOperatorTypeInferenceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorTypeInferenceContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec893bb1_f938_427b_8488_c8dcf775f138); } @@ -701,6 +536,7 @@ pub struct IMLOperatorTypeInferenceContext_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLOperatorTypeInferrer(::windows_core::IUnknown); impl IMLOperatorTypeInferrer { pub unsafe fn InferOutputTypes(&self, context: P0) -> ::windows_core::Result<()> @@ -711,25 +547,9 @@ impl IMLOperatorTypeInferrer { } } ::windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferrer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLOperatorTypeInferrer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLOperatorTypeInferrer {} -impl ::core::fmt::Debug for IMLOperatorTypeInferrer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLOperatorTypeInferrer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLOperatorTypeInferrer { type Vtable = IMLOperatorTypeInferrer_Vtbl; } -impl ::core::clone::Clone for IMLOperatorTypeInferrer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLOperatorTypeInferrer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x781aeb48_9bcb_4797_bf77_8bf455217beb); } @@ -741,6 +561,7 @@ pub struct IMLOperatorTypeInferrer_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinMLEvaluationContext(::windows_core::IUnknown); impl IWinMLEvaluationContext { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -762,25 +583,9 @@ impl IWinMLEvaluationContext { } } ::windows_core::imp::interface_hierarchy!(IWinMLEvaluationContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinMLEvaluationContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinMLEvaluationContext {} -impl ::core::fmt::Debug for IWinMLEvaluationContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinMLEvaluationContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinMLEvaluationContext { type Vtable = IWinMLEvaluationContext_Vtbl; } -impl ::core::clone::Clone for IWinMLEvaluationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinMLEvaluationContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95848f9e_583d_4054_af12_916387cd8426); } @@ -800,6 +605,7 @@ pub struct IWinMLEvaluationContext_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinMLModel(::windows_core::IUnknown); impl IWinMLModel { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<*mut WINML_MODEL_DESC> { @@ -823,25 +629,9 @@ impl IWinMLModel { } } ::windows_core::imp::interface_hierarchy!(IWinMLModel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinMLModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinMLModel {} -impl ::core::fmt::Debug for IWinMLModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinMLModel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinMLModel { type Vtable = IWinMLModel_Vtbl; } -impl ::core::clone::Clone for IWinMLModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinMLModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2eeb6a9_f31f_4055_a521_e30b5b33664a); } @@ -862,6 +652,7 @@ pub struct IWinMLModel_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinMLRuntime(::windows_core::IUnknown); impl IWinMLRuntime { pub unsafe fn LoadModel(&self, path: P0) -> ::windows_core::Result @@ -888,25 +679,9 @@ impl IWinMLRuntime { } } ::windows_core::imp::interface_hierarchy!(IWinMLRuntime, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinMLRuntime { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinMLRuntime {} -impl ::core::fmt::Debug for IWinMLRuntime { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinMLRuntime").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinMLRuntime { type Vtable = IWinMLRuntime_Vtbl; } -impl ::core::clone::Clone for IWinMLRuntime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinMLRuntime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0425329_40ae_48d9_bce3_829ef7b8a41a); } @@ -923,6 +698,7 @@ pub struct IWinMLRuntime_Vtbl { } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinMLRuntimeFactory(::windows_core::IUnknown); impl IWinMLRuntimeFactory { pub unsafe fn CreateRuntime(&self, runtimetype: WINML_RUNTIME_TYPE) -> ::windows_core::Result { @@ -931,25 +707,9 @@ impl IWinMLRuntimeFactory { } } ::windows_core::imp::interface_hierarchy!(IWinMLRuntimeFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinMLRuntimeFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinMLRuntimeFactory {} -impl ::core::fmt::Debug for IWinMLRuntimeFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinMLRuntimeFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinMLRuntimeFactory { type Vtable = IWinMLRuntimeFactory_Vtbl; } -impl ::core::clone::Clone for IWinMLRuntimeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinMLRuntimeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa807b84d_4ae5_4bc0_a76a_941aa246bd41); } diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs index c56e8388c5..04a5fbc211 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs @@ -46,8 +46,8 @@ impl IITDatabase_Vtbl { GetObjectPersistence: GetObjectPersistence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IITPropList_Vtbl { SaveToMem: SaveToMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IITResultSet_Vtbl { GetColumnStatus: GetColumnStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"implement\"`*"] @@ -444,8 +444,8 @@ impl IStemSink_Vtbl { PutWord: PutWord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -496,8 +496,8 @@ impl IStemmerConfig_Vtbl { LoadExternalStemmerData: LoadExternalStemmerData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -582,7 +582,7 @@ impl IWordBreakerConfig_Vtbl { GetWordStemmer: GetWordStemmer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs index b606325737..f458f3e6af 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -22,6 +22,7 @@ where } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IITDatabase(::windows_core::IUnknown); impl IITDatabase { pub unsafe fn Open(&self, lpszhost: P0, lpszmoniker: P1, dwflags: u32) -> ::windows_core::Result<()> @@ -51,25 +52,9 @@ impl IITDatabase { } } ::windows_core::imp::interface_hierarchy!(IITDatabase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IITDatabase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IITDatabase {} -impl ::core::fmt::Debug for IITDatabase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IITDatabase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IITDatabase { type Vtable = IITDatabase_Vtbl; } -impl ::core::clone::Clone for IITDatabase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IITDatabase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fa0d5a2_dedf_11d0_9a61_00c04fb68bf7); } @@ -89,6 +74,7 @@ pub struct IITDatabase_Vtbl { #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IITPropList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IITPropList { @@ -215,30 +201,10 @@ impl IITPropList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IITPropList, ::windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStreamInit); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IITPropList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IITPropList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IITPropList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IITPropList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IITPropList { type Vtable = IITPropList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IITPropList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IITPropList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f403bb1_9997_11d0_a850_00aa006c7d01); } @@ -289,6 +255,7 @@ pub struct IITPropList_Vtbl { } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IITResultSet(::windows_core::IUnknown); impl IITResultSet { pub unsafe fn SetColumnPriority(&self, lcolumnindex: i32, columnpriority: PRIORITY) -> ::windows_core::Result<()> { @@ -402,25 +369,9 @@ impl IITResultSet { } } ::windows_core::imp::interface_hierarchy!(IITResultSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IITResultSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IITResultSet {} -impl ::core::fmt::Debug for IITResultSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IITResultSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IITResultSet { type Vtable = IITResultSet_Vtbl; } -impl ::core::clone::Clone for IITResultSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IITResultSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bb91d41_998b_11d0_a850_00aa006c7d01); } @@ -467,6 +418,7 @@ pub struct IITResultSet_Vtbl { } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStemSink(::windows_core::IUnknown); impl IStemSink { pub unsafe fn PutAltWord(&self, pwcinbuf: P0, cwc: u32) -> ::windows_core::Result<()> @@ -483,25 +435,9 @@ impl IStemSink { } } ::windows_core::imp::interface_hierarchy!(IStemSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStemSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStemSink {} -impl ::core::fmt::Debug for IStemSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStemSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStemSink { type Vtable = IStemSink_Vtbl; } -impl ::core::clone::Clone for IStemSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStemSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe77c330_7f42_11ce_be57_00aa0051fe20); } @@ -514,6 +450,7 @@ pub struct IStemSink_Vtbl { } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStemmerConfig(::windows_core::IUnknown); impl IStemmerConfig { pub unsafe fn SetLocaleInfo(&self, dwcodepageid: u32, lcid: u32) -> ::windows_core::Result<()> { @@ -538,25 +475,9 @@ impl IStemmerConfig { } } ::windows_core::imp::interface_hierarchy!(IStemmerConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStemmerConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStemmerConfig {} -impl ::core::fmt::Debug for IStemmerConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStemmerConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStemmerConfig { type Vtable = IStemmerConfig_Vtbl; } -impl ::core::clone::Clone for IStemmerConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStemmerConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fa0d5a7_dedf_11d0_9a61_00c04fb68bf7); } @@ -575,6 +496,7 @@ pub struct IStemmerConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordBreakerConfig(::windows_core::IUnknown); impl IWordBreakerConfig { pub unsafe fn SetLocaleInfo(&self, dwcodepageid: u32, lcid: u32) -> ::windows_core::Result<()> { @@ -619,25 +541,9 @@ impl IWordBreakerConfig { } } ::windows_core::imp::interface_hierarchy!(IWordBreakerConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWordBreakerConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWordBreakerConfig {} -impl ::core::fmt::Debug for IWordBreakerConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWordBreakerConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWordBreakerConfig { type Vtable = IWordBreakerConfig_Vtbl; } -impl ::core::clone::Clone for IWordBreakerConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordBreakerConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fa0d5a6_dedf_11d0_9a61_00c04fb68bf7); } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs index b07715f614..bf535cf175 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs @@ -88,8 +88,8 @@ impl IMXAttributes_Vtbl { setValue: setValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl IMXNamespaceManager_Vtbl { getURI: getURI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -237,8 +237,8 @@ impl IMXNamespacePrefixes_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IMXReaderControl_Vtbl { suspend: suspend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IMXSchemaDeclHandler_Vtbl { schemaElementDecl: schemaElementDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -483,8 +483,8 @@ impl IMXWriter_Vtbl { flush: flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IMXXMLFilter_Vtbl { putref_errorHandler: putref_errorHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl ISAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -834,8 +834,8 @@ impl ISAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -862,8 +862,8 @@ impl ISAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl ISAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -931,8 +931,8 @@ impl ISAXEntityResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), resolveEntity: resolveEntity:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -966,8 +966,8 @@ impl ISAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1029,8 +1029,8 @@ impl ISAXLexicalHandler_Vtbl { comment: comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl ISAXLocator_Vtbl { getSystemId: getSystemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1132,8 +1132,8 @@ impl ISAXXMLFilter_Vtbl { putParent: putParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1323,8 +1323,8 @@ impl ISAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1457,8 +1457,8 @@ impl ISchema_Vtbl { schemaLocations: schemaLocations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1500,8 +1500,8 @@ impl ISchemaAny_Vtbl { processContents: processContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl ISchemaAttribute_Vtbl { isReference: isReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1638,8 +1638,8 @@ impl ISchemaAttributeGroup_Vtbl { attributes: attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1733,8 +1733,8 @@ impl ISchemaComplexType_Vtbl { prohibitedSubstitutions: prohibitedSubstitutions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1893,8 +1893,8 @@ impl ISchemaElement_Vtbl { isReference: isReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl ISchemaIdentityConstraint_Vtbl { referencedKey: referencedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl ISchemaItem_Vtbl { writeAnnotation: writeAnnotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2139,8 +2139,8 @@ impl ISchemaItemCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2166,8 +2166,8 @@ impl ISchemaModelGroup_Vtbl { } Self { base__: ISchemaParticle_Vtbl::new::(), particles: particles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2209,8 +2209,8 @@ impl ISchemaNotation_Vtbl { publicIdentifier: publicIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl ISchemaParticle_Vtbl { maxOccurs: maxOccurs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2308,8 +2308,8 @@ impl ISchemaStringCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl ISchemaType_Vtbl { patterns: patterns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IServerXMLHTTPRequest_Vtbl { setOption: setOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IServerXMLHTTPRequest2_Vtbl { setProxyCredentials: setProxyCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2758,8 +2758,8 @@ impl IVBMXNamespaceManager_Vtbl { getURIFromNode: getURIFromNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2931,8 +2931,8 @@ impl IVBSAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3025,8 +3025,8 @@ impl IVBSAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3056,8 +3056,8 @@ impl IVBSAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3101,8 +3101,8 @@ impl IVBSAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3125,8 +3125,8 @@ impl IVBSAXEntityResolver_Vtbl { resolveEntity: resolveEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3163,8 +3163,8 @@ impl IVBSAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3229,8 +3229,8 @@ impl IVBSAXLexicalHandler_Vtbl { comment: comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3298,8 +3298,8 @@ impl IVBSAXLocator_Vtbl { systemId: systemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3335,8 +3335,8 @@ impl IVBSAXXMLFilter_Vtbl { putref_parent: putref_parent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3526,8 +3526,8 @@ impl IVBSAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3569,8 +3569,8 @@ impl IXMLAttribute_Vtbl { value: value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3619,8 +3619,8 @@ impl IXMLDOMAttribute_Vtbl { Setvalue: Setvalue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl IXMLDOMCDATASection_Vtbl { pub const fn new, Impl: IXMLDOMCDATASection_Impl, const OFFSET: isize>() -> IXMLDOMCDATASection_Vtbl { Self { base__: IXMLDOMText_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3724,8 +3724,8 @@ impl IXMLDOMCharacterData_Vtbl { replaceData: replaceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3738,8 +3738,8 @@ impl IXMLDOMComment_Vtbl { pub const fn new, Impl: IXMLDOMComment_Impl, const OFFSET: isize>() -> IXMLDOMComment_Vtbl { Self { base__: IXMLDOMCharacterData_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4124,8 +4124,8 @@ impl IXMLDOMDocument_Vtbl { Setontransformnode: Setontransformnode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4207,8 +4207,8 @@ impl IXMLDOMDocument2_Vtbl { getProperty: getProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl IXMLDOMDocument3_Vtbl { importNode: importNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4264,8 +4264,8 @@ impl IXMLDOMDocumentFragment_Vtbl { pub const fn new, Impl: IXMLDOMDocumentFragment_Impl, const OFFSET: isize>() -> IXMLDOMDocumentFragment_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4320,8 +4320,8 @@ impl IXMLDOMDocumentType_Vtbl { notations: notations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IXMLDOMElement_Vtbl { normalize: normalize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4492,8 +4492,8 @@ impl IXMLDOMEntity_Vtbl { notationName: notationName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4506,8 +4506,8 @@ impl IXMLDOMEntityReference_Vtbl { pub const fn new, Impl: IXMLDOMEntityReference_Impl, const OFFSET: isize>() -> IXMLDOMEntityReference_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4533,8 +4533,8 @@ impl IXMLDOMImplementation_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), hasFeature: hasFeature:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4674,8 +4674,8 @@ impl IXMLDOMNamedNodeMap_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5129,8 +5129,8 @@ impl IXMLDOMNode_Vtbl { transformNodeToObject: transformNodeToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5205,8 +5205,8 @@ impl IXMLDOMNodeList_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5248,8 +5248,8 @@ impl IXMLDOMNotation_Vtbl { systemId: systemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5356,8 +5356,8 @@ impl IXMLDOMParseError_Vtbl { filepos: filepos::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5425,8 +5425,8 @@ impl IXMLDOMParseError2_Vtbl { errorParametersCount: errorParametersCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5501,8 +5501,8 @@ impl IXMLDOMParseErrorCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5551,8 +5551,8 @@ impl IXMLDOMProcessingInstruction_Vtbl { Setdata: Setdata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5641,8 +5641,8 @@ impl IXMLDOMSchemaCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5711,8 +5711,8 @@ impl IXMLDOMSchemaCollection2_Vtbl { getDeclaration: getDeclaration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5847,8 +5847,8 @@ impl IXMLDOMSelection_Vtbl { setProperty: setProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5874,8 +5874,8 @@ impl IXMLDOMText_Vtbl { } Self { base__: IXMLDOMCharacterData_Vtbl::new::(), splitText: splitText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5944,8 +5944,8 @@ impl IXMLDSOControl_Vtbl { readyState: readyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6131,8 +6131,8 @@ impl IXMLDocument_Vtbl { createElement: createElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6338,8 +6338,8 @@ impl IXMLDocument2_Vtbl { Setasync: Setasync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6475,8 +6475,8 @@ impl IXMLElement_Vtbl { removeChild: removeChild::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6625,8 +6625,8 @@ impl IXMLElement2_Vtbl { attributes: attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6688,8 +6688,8 @@ impl IXMLElementCollection_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -6706,8 +6706,8 @@ impl IXMLError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6875,8 +6875,8 @@ impl IXMLHTTPRequest_Vtbl { Setonreadystatechange: Setonreadystatechange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6980,8 +6980,8 @@ impl IXMLHTTPRequest2_Vtbl { GetResponseHeader: GetResponseHeader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7032,8 +7032,8 @@ impl IXMLHTTPRequest2Callback_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7053,8 +7053,8 @@ impl IXMLHTTPRequest3_Vtbl { } Self { base__: IXMLHTTPRequest2_Vtbl::new::(), SetClientCertificate: SetClientCertificate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7084,8 +7084,8 @@ impl IXMLHTTPRequest3Callback_Vtbl { OnClientCertificateRequested: OnClientCertificateRequested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7247,8 +7247,8 @@ impl IXSLProcessor_Vtbl { stylesheet: stylesheet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7297,8 +7297,8 @@ impl IXSLTemplate_Vtbl { createProcessor: createProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7431,8 +7431,8 @@ impl IXTLRuntime_Vtbl { formatTime: formatTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7445,7 +7445,7 @@ impl XMLDOMDocumentEvents_Vtbl { pub const fn new, Impl: XMLDOMDocumentEvents_Impl, const OFFSET: isize>() -> XMLDOMDocumentEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs index f35531eb75..53fe00522f 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXAttributes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXAttributes { @@ -74,30 +75,10 @@ impl IMXAttributes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXAttributes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXAttributes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXAttributes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXAttributes { type Vtable = IMXAttributes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf10d27cc_3ec0_415c_8ed8_77ab1c5e7262); } @@ -126,6 +107,7 @@ pub struct IMXAttributes_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXNamespaceManager(::windows_core::IUnknown); impl IMXNamespaceManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -187,25 +169,9 @@ impl IMXNamespaceManager { } } ::windows_core::imp::interface_hierarchy!(IMXNamespaceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMXNamespaceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMXNamespaceManager {} -impl ::core::fmt::Debug for IMXNamespaceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXNamespaceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMXNamespaceManager { type Vtable = IMXNamespaceManager_Vtbl; } -impl ::core::clone::Clone for IMXNamespaceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMXNamespaceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc90352f6_643c_4fbc_bb23_e996eb2d51fd); } @@ -239,6 +205,7 @@ pub struct IMXNamespaceManager_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXNamespacePrefixes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXNamespacePrefixes { @@ -258,30 +225,10 @@ impl IMXNamespacePrefixes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXNamespacePrefixes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXNamespacePrefixes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXNamespacePrefixes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXNamespacePrefixes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXNamespacePrefixes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXNamespacePrefixes { type Vtable = IMXNamespacePrefixes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXNamespacePrefixes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXNamespacePrefixes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc90352f4_643c_4fbc_bb23_e996eb2d51fd); } @@ -297,6 +244,7 @@ pub struct IMXNamespacePrefixes_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXReaderControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXReaderControl { @@ -313,30 +261,10 @@ impl IMXReaderControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXReaderControl, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXReaderControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXReaderControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXReaderControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXReaderControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXReaderControl { type Vtable = IMXReaderControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXReaderControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXReaderControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x808f4e35_8d5a_4fbe_8466_33a41279ed30); } @@ -352,6 +280,7 @@ pub struct IMXReaderControl_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXSchemaDeclHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXSchemaDeclHandler { @@ -367,30 +296,10 @@ impl IMXSchemaDeclHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXSchemaDeclHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXSchemaDeclHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXSchemaDeclHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXSchemaDeclHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXSchemaDeclHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXSchemaDeclHandler { type Vtable = IMXSchemaDeclHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXSchemaDeclHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXSchemaDeclHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa4bb38c_faf9_4cca_9302_d1dd0fe520db); } @@ -407,6 +316,7 @@ pub struct IMXSchemaDeclHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXWriter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXWriter { @@ -518,30 +428,10 @@ impl IMXWriter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXWriter, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXWriter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXWriter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXWriter { type Vtable = IMXWriter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d7ff4ba_1565_4ea8_94e1_6e724a46f98d); } @@ -607,6 +497,7 @@ pub struct IMXWriter_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMXXMLFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMXXMLFilter { @@ -689,30 +580,10 @@ impl IMXXMLFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMXXMLFilter, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMXXMLFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMXXMLFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMXXMLFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMXXMLFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMXXMLFilter { type Vtable = IMXXMLFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMXXMLFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMXXMLFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc90352f7_643c_4fbc_bb23_e996eb2d51fd); } @@ -748,6 +619,7 @@ pub struct IMXXMLFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXAttributes(::windows_core::IUnknown); impl ISAXAttributes { pub unsafe fn getLength(&self) -> ::windows_core::Result { @@ -815,25 +687,9 @@ impl ISAXAttributes { } } ::windows_core::imp::interface_hierarchy!(ISAXAttributes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXAttributes {} -impl ::core::fmt::Debug for ISAXAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXAttributes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXAttributes { type Vtable = ISAXAttributes_Vtbl; } -impl ::core::clone::Clone for ISAXAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf078abe1_45d2_4832_91ea_4466ce2f25c9); } @@ -857,6 +713,7 @@ pub struct ISAXAttributes_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXContentHandler(::windows_core::IUnknown); impl ISAXContentHandler { pub unsafe fn putDocumentLocator(&self, plocator: P0) -> ::windows_core::Result<()> @@ -928,25 +785,9 @@ impl ISAXContentHandler { } } ::windows_core::imp::interface_hierarchy!(ISAXContentHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXContentHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXContentHandler {} -impl ::core::fmt::Debug for ISAXContentHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXContentHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXContentHandler { type Vtable = ISAXContentHandler_Vtbl; } -impl ::core::clone::Clone for ISAXContentHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXContentHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1545cdfa_9e4e_4497_a8a4_2bf7d0112c44); } @@ -968,6 +809,7 @@ pub struct ISAXContentHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXDTDHandler(::windows_core::IUnknown); impl ISAXDTDHandler { pub unsafe fn notationDecl(&self, pwchname: P0, cchname: i32, pwchpublicid: P1, cchpublicid: i32, pwchsystemid: P2, cchsystemid: i32) -> ::windows_core::Result<()> @@ -989,25 +831,9 @@ impl ISAXDTDHandler { } } ::windows_core::imp::interface_hierarchy!(ISAXDTDHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXDTDHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXDTDHandler {} -impl ::core::fmt::Debug for ISAXDTDHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXDTDHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXDTDHandler { type Vtable = ISAXDTDHandler_Vtbl; } -impl ::core::clone::Clone for ISAXDTDHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXDTDHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe15c1baf_afb3_4d60_8c36_19a8c45defed); } @@ -1020,6 +846,7 @@ pub struct ISAXDTDHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXDeclHandler(::windows_core::IUnknown); impl ISAXDeclHandler { pub unsafe fn elementDecl(&self, pwchname: P0, cchname: i32, pwchmodel: P1, cchmodel: i32) -> ::windows_core::Result<()> @@ -1056,25 +883,9 @@ impl ISAXDeclHandler { } } ::windows_core::imp::interface_hierarchy!(ISAXDeclHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXDeclHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXDeclHandler {} -impl ::core::fmt::Debug for ISAXDeclHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXDeclHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXDeclHandler { type Vtable = ISAXDeclHandler_Vtbl; } -impl ::core::clone::Clone for ISAXDeclHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXDeclHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x862629ac_771a_47b2_8337_4e6843c1be90); } @@ -1089,6 +900,7 @@ pub struct ISAXDeclHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXEntityResolver(::windows_core::IUnknown); impl ISAXEntityResolver { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1103,25 +915,9 @@ impl ISAXEntityResolver { } } ::windows_core::imp::interface_hierarchy!(ISAXEntityResolver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXEntityResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXEntityResolver {} -impl ::core::fmt::Debug for ISAXEntityResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXEntityResolver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXEntityResolver { type Vtable = ISAXEntityResolver_Vtbl; } -impl ::core::clone::Clone for ISAXEntityResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXEntityResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99bca7bd_e8c4_4d5f_a0cf_6d907901ff07); } @@ -1136,6 +932,7 @@ pub struct ISAXEntityResolver_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXErrorHandler(::windows_core::IUnknown); impl ISAXErrorHandler { pub unsafe fn error(&self, plocator: P0, pwcherrormessage: P1, hrerrorcode: ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -1161,25 +958,9 @@ impl ISAXErrorHandler { } } ::windows_core::imp::interface_hierarchy!(ISAXErrorHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXErrorHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXErrorHandler {} -impl ::core::fmt::Debug for ISAXErrorHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXErrorHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXErrorHandler { type Vtable = ISAXErrorHandler_Vtbl; } -impl ::core::clone::Clone for ISAXErrorHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXErrorHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa60511c4_ccf5_479e_98a3_dc8dc545b7d0); } @@ -1193,6 +974,7 @@ pub struct ISAXErrorHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXLexicalHandler(::windows_core::IUnknown); impl ISAXLexicalHandler { pub unsafe fn startDTD(&self, pwchname: P0, cchname: i32, pwchpublicid: P1, cchpublicid: i32, pwchsystemid: P2, cchsystemid: i32) -> ::windows_core::Result<()> @@ -1232,25 +1014,9 @@ impl ISAXLexicalHandler { } } ::windows_core::imp::interface_hierarchy!(ISAXLexicalHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXLexicalHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXLexicalHandler {} -impl ::core::fmt::Debug for ISAXLexicalHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXLexicalHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXLexicalHandler { type Vtable = ISAXLexicalHandler_Vtbl; } -impl ::core::clone::Clone for ISAXLexicalHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXLexicalHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f85d5f5_47a8_4497_bda5_84ba04819ea6); } @@ -1268,6 +1034,7 @@ pub struct ISAXLexicalHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXLocator(::windows_core::IUnknown); impl ISAXLocator { pub unsafe fn getColumnNumber(&self) -> ::windows_core::Result { @@ -1288,25 +1055,9 @@ impl ISAXLocator { } } ::windows_core::imp::interface_hierarchy!(ISAXLocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXLocator {} -impl ::core::fmt::Debug for ISAXLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXLocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXLocator { type Vtable = ISAXLocator_Vtbl; } -impl ::core::clone::Clone for ISAXLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e472a_0de4_4640_bff3_84d38a051c31); } @@ -1321,6 +1072,7 @@ pub struct ISAXLocator_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXXMLFilter(::windows_core::IUnknown); impl ISAXXMLFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1441,25 +1193,9 @@ impl ISAXXMLFilter { } } ::windows_core::imp::interface_hierarchy!(ISAXXMLFilter, ::windows_core::IUnknown, ISAXXMLReader); -impl ::core::cmp::PartialEq for ISAXXMLFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXXMLFilter {} -impl ::core::fmt::Debug for ISAXXMLFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXXMLFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXXMLFilter { type Vtable = ISAXXMLFilter_Vtbl; } -impl ::core::clone::Clone for ISAXXMLFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXXMLFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70409222_ca09_4475_acb8_40312fe8d145); } @@ -1472,6 +1208,7 @@ pub struct ISAXXMLFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISAXXMLReader(::windows_core::IUnknown); impl ISAXXMLReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1582,25 +1319,9 @@ impl ISAXXMLReader { } } ::windows_core::imp::interface_hierarchy!(ISAXXMLReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISAXXMLReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISAXXMLReader {} -impl ::core::fmt::Debug for ISAXXMLReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISAXXMLReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISAXXMLReader { type Vtable = ISAXXMLReader_Vtbl; } -impl ::core::clone::Clone for ISAXXMLReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISAXXMLReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4f96ed0_f829_476e_81c0_cdc7bd2a0802); } @@ -1645,6 +1366,7 @@ pub struct ISAXXMLReader_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchema(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchema { @@ -1739,30 +1461,10 @@ impl ISchema { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchema, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchema { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchema {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchema { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchema").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchema { type Vtable = ISchema_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchema { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchema { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b4_dd1b_4664_9a50_c2f40f4bd79a); } @@ -1805,6 +1507,7 @@ pub struct ISchema_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaAny(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaAny { @@ -1871,30 +1574,10 @@ impl ISchemaAny { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaAny, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaAny { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaAny {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaAny { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaAny").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaAny { type Vtable = ISchemaAny_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaAny { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaAny { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08bc_dd1b_4664_9a50_c2f40f4bd79a); } @@ -1912,6 +1595,7 @@ pub struct ISchemaAny_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaAttribute(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaAttribute { @@ -1986,30 +1670,10 @@ impl ISchemaAttribute { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaAttribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaAttribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaAttribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaAttribute { type Vtable = ISchemaAttribute_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b6_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2037,6 +1701,7 @@ pub struct ISchemaAttribute_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaAttributeGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaAttributeGroup { @@ -2093,30 +1758,10 @@ impl ISchemaAttributeGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaAttributeGroup, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaAttributeGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaAttributeGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaAttributeGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaAttributeGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaAttributeGroup { type Vtable = ISchemaAttributeGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaAttributeGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaAttributeGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08ba_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2137,6 +1782,7 @@ pub struct ISchemaAttributeGroup_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaComplexType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaComplexType { @@ -2302,30 +1948,10 @@ impl ISchemaComplexType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaComplexType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaType); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaComplexType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaComplexType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaComplexType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaComplexType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaComplexType { type Vtable = ISchemaComplexType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaComplexType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaComplexType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b9_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2356,6 +1982,7 @@ pub struct ISchemaComplexType_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaElement { @@ -2470,30 +2097,10 @@ impl ISchemaElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaElement, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaElement { type Vtable = ISchemaElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b7_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2538,6 +2145,7 @@ pub struct ISchemaElement_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaIdentityConstraint(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaIdentityConstraint { @@ -2598,30 +2206,10 @@ impl ISchemaIdentityConstraint { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaIdentityConstraint, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaIdentityConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaIdentityConstraint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaIdentityConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaIdentityConstraint").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaIdentityConstraint { type Vtable = ISchemaIdentityConstraint_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaIdentityConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaIdentityConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08bd_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2643,6 +2231,7 @@ pub struct ISchemaIdentityConstraint_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaItem { @@ -2687,30 +2276,10 @@ impl ISchemaItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaItem, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaItem { type Vtable = ISchemaItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b3_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2739,6 +2308,7 @@ pub struct ISchemaItem_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaItemCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaItemCollection { @@ -2779,30 +2349,10 @@ impl ISchemaItemCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaItemCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaItemCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaItemCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaItemCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaItemCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaItemCollection { type Vtable = ISchemaItemCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaItemCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaItemCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b2_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2829,6 +2379,7 @@ pub struct ISchemaItemCollection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaModelGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaModelGroup { @@ -2891,30 +2442,10 @@ impl ISchemaModelGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaModelGroup, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaModelGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaModelGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaModelGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaModelGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaModelGroup { type Vtable = ISchemaModelGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaModelGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaModelGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08bb_dd1b_4664_9a50_c2f40f4bd79a); } @@ -2931,6 +2462,7 @@ pub struct ISchemaModelGroup_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaNotation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaNotation { @@ -2983,30 +2515,10 @@ impl ISchemaNotation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaNotation, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaNotation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaNotation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaNotation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaNotation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaNotation { type Vtable = ISchemaNotation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaNotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaNotation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08be_dd1b_4664_9a50_c2f40f4bd79a); } @@ -3021,6 +2533,7 @@ pub struct ISchemaNotation_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaParticle(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaParticle { @@ -3077,30 +2590,10 @@ impl ISchemaParticle { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaParticle, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaParticle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaParticle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaParticle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaParticle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaParticle { type Vtable = ISchemaParticle_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaParticle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaParticle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b5_dd1b_4664_9a50_c2f40f4bd79a); } @@ -3121,6 +2614,7 @@ pub struct ISchemaParticle_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaStringCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaStringCollection { @@ -3140,30 +2634,10 @@ impl ISchemaStringCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaStringCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaStringCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaStringCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaStringCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaStringCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaStringCollection { type Vtable = ISchemaStringCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaStringCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaStringCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b1_dd1b_4664_9a50_c2f40f4bd79a); } @@ -3179,6 +2653,7 @@ pub struct ISchemaStringCollection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchemaType { @@ -3312,30 +2787,10 @@ impl ISchemaType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchemaType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchemaType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchemaType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchemaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchemaType { type Vtable = ISchemaType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchemaType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchemaType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b8_dd1b_4664_9a50_c2f40f4bd79a); } @@ -3392,6 +2847,7 @@ pub struct ISchemaType_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerXMLHTTPRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IServerXMLHTTPRequest { @@ -3496,30 +2952,10 @@ impl IServerXMLHTTPRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IServerXMLHTTPRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IServerXMLHTTPRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IServerXMLHTTPRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IServerXMLHTTPRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServerXMLHTTPRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IServerXMLHTTPRequest { type Vtable = IServerXMLHTTPRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IServerXMLHTTPRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IServerXMLHTTPRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e9196bf_13ba_4dd4_91ca_6c571f281495); } @@ -3545,6 +2981,7 @@ pub struct IServerXMLHTTPRequest_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerXMLHTTPRequest2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IServerXMLHTTPRequest2 { @@ -3661,30 +3098,10 @@ impl IServerXMLHTTPRequest2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IServerXMLHTTPRequest2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest, IServerXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IServerXMLHTTPRequest2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IServerXMLHTTPRequest2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IServerXMLHTTPRequest2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServerXMLHTTPRequest2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IServerXMLHTTPRequest2 { type Vtable = IServerXMLHTTPRequest2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IServerXMLHTTPRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IServerXMLHTTPRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e01311b_c322_4b0a_bd77_b90cfdc8dce7); } @@ -3702,6 +3119,7 @@ pub struct IServerXMLHTTPRequest2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBMXNamespaceManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBMXNamespaceManager { @@ -3782,30 +3200,10 @@ impl IVBMXNamespaceManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBMXNamespaceManager, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBMXNamespaceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBMXNamespaceManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBMXNamespaceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBMXNamespaceManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBMXNamespaceManager { type Vtable = IVBMXNamespaceManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBMXNamespaceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBMXNamespaceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc90352f5_643c_4fbc_bb23_e996eb2d51fd); } @@ -3850,6 +3248,7 @@ pub struct IVBMXNamespaceManager_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXAttributes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXAttributes { @@ -3926,30 +3325,10 @@ impl IVBSAXAttributes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXAttributes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXAttributes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXAttributes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXAttributes { type Vtable = IVBSAXAttributes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10dc0586_132b_4cac_8bb3_db00ac8b7ee0); } @@ -3974,6 +3353,7 @@ pub struct IVBSAXAttributes_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXContentHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXContentHandler { @@ -4024,30 +3404,10 @@ impl IVBSAXContentHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXContentHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXContentHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXContentHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXContentHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXContentHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXContentHandler { type Vtable = IVBSAXContentHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXContentHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXContentHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ed7290a_4dd5_4b46_bb26_4e4155e77faa); } @@ -4077,6 +3437,7 @@ pub struct IVBSAXContentHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXDTDHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXDTDHandler { @@ -4090,30 +3451,10 @@ impl IVBSAXDTDHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXDTDHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXDTDHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXDTDHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXDTDHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXDTDHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXDTDHandler { type Vtable = IVBSAXDTDHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXDTDHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXDTDHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24fb3297_302d_4620_ba39_3a732d850558); } @@ -4128,6 +3469,7 @@ pub struct IVBSAXDTDHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXDeclHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXDeclHandler { @@ -4147,30 +3489,10 @@ impl IVBSAXDeclHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXDeclHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXDeclHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXDeclHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXDeclHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXDeclHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXDeclHandler { type Vtable = IVBSAXDeclHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXDeclHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXDeclHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8917260_7579_4be1_b5dd_7afbfa6f077b); } @@ -4187,6 +3509,7 @@ pub struct IVBSAXDeclHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXEntityResolver(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXEntityResolver { @@ -4199,30 +3522,10 @@ impl IVBSAXEntityResolver { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXEntityResolver, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXEntityResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXEntityResolver {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXEntityResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXEntityResolver").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXEntityResolver { type Vtable = IVBSAXEntityResolver_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXEntityResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXEntityResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c05d096_f45b_4aca_ad1a_aa0bc25518dc); } @@ -4239,6 +3542,7 @@ pub struct IVBSAXEntityResolver_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXErrorHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXErrorHandler { @@ -4270,30 +3574,10 @@ impl IVBSAXErrorHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXErrorHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXErrorHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXErrorHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXErrorHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXErrorHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXErrorHandler { type Vtable = IVBSAXErrorHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXErrorHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXErrorHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd963d3fe_173c_4862_9095_b92f66995f52); } @@ -4318,6 +3602,7 @@ pub struct IVBSAXErrorHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXLexicalHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXLexicalHandler { @@ -4346,30 +3631,10 @@ impl IVBSAXLexicalHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXLexicalHandler, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXLexicalHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXLexicalHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXLexicalHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXLexicalHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXLexicalHandler { type Vtable = IVBSAXLexicalHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXLexicalHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXLexicalHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x032aac35_8c0e_4d9d_979f_e3b702935576); } @@ -4389,6 +3654,7 @@ pub struct IVBSAXLexicalHandler_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXLocator { @@ -4412,30 +3678,10 @@ impl IVBSAXLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXLocator { type Vtable = IVBSAXLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x796e7ac5_5aa2_4eff_acad_3faaf01a3288); } @@ -4452,6 +3698,7 @@ pub struct IVBSAXLocator_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXXMLFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXXMLFilter { @@ -4473,30 +3720,10 @@ impl IVBSAXXMLFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXXMLFilter, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXXMLFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXXMLFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXXMLFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXXMLFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXXMLFilter { type Vtable = IVBSAXXMLFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXXMLFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXXMLFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1299eb1b_5b88_433e_82de_82ca75ad4e04); } @@ -4517,6 +3744,7 @@ pub struct IVBSAXXMLFilter_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBSAXXMLReader(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVBSAXXMLReader { @@ -4646,30 +3874,10 @@ impl IVBSAXXMLReader { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVBSAXXMLReader, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVBSAXXMLReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVBSAXXMLReader {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVBSAXXMLReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBSAXXMLReader").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVBSAXXMLReader { type Vtable = IVBSAXXMLReader_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVBSAXXMLReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVBSAXXMLReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c033caa_6cd6_4f73_b728_4531af74945f); } @@ -4739,6 +3947,7 @@ pub struct IVBSAXXMLReader_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLAttribute(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLAttribute { @@ -4754,30 +3963,10 @@ impl IXMLAttribute { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLAttribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLAttribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLAttribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLAttribute { type Vtable = IXMLAttribute_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4d4a0fc_3b73_11d1_b2b4_00c04fb92596); } @@ -4792,6 +3981,7 @@ pub struct IXMLAttribute_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMAttribute(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMAttribute { @@ -5037,32 +4227,12 @@ impl IXMLDOMAttribute { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IXMLDOMAttribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMAttribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMAttribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IXMLDOMAttribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMAttribute { type Vtable = IXMLDOMAttribute_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf85_7b36_11d2_b20e_00c04f983e60); } @@ -5084,6 +4254,7 @@ pub struct IXMLDOMAttribute_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMCDATASection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMCDATASection { @@ -5361,30 +4532,10 @@ impl IXMLDOMCDATASection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMCDATASection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData, IXMLDOMText); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMCDATASection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMCDATASection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMCDATASection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMCDATASection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMCDATASection { type Vtable = IXMLDOMCDATASection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMCDATASection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMCDATASection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8a_7b36_11d2_b20e_00c04f983e60); } @@ -5397,6 +4548,7 @@ pub struct IXMLDOMCDATASection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMCharacterData(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMCharacterData { @@ -5668,30 +4820,10 @@ impl IXMLDOMCharacterData { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMCharacterData, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMCharacterData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMCharacterData {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMCharacterData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMCharacterData").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMCharacterData { type Vtable = IXMLDOMCharacterData_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMCharacterData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMCharacterData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf84_7b36_11d2_b20e_00c04f983e60); } @@ -5712,6 +4844,7 @@ pub struct IXMLDOMCharacterData_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMComment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMComment { @@ -5983,30 +5116,10 @@ impl IXMLDOMComment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMComment, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMComment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMComment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMComment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMComment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMComment { type Vtable = IXMLDOMComment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMComment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMComment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf88_7b36_11d2_b20e_00c04f983e60); } @@ -6019,6 +5132,7 @@ pub struct IXMLDOMComment_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMDocument(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocument { @@ -6483,30 +5597,10 @@ impl IXMLDOMDocument { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMDocument, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMDocument { type Vtable = IXMLDOMDocument_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf81_7b36_11d2_b20e_00c04f983e60); } @@ -6642,6 +5736,7 @@ pub struct IXMLDOMDocument_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMDocument2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocument2 { @@ -7146,30 +6241,10 @@ impl IXMLDOMDocument2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMDocument2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMDocument2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMDocument2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMDocument2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMDocument2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMDocument2 { type Vtable = IXMLDOMDocument2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMDocument2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf95_7b36_11d2_b20e_00c04f983e60); } @@ -7206,6 +6281,7 @@ pub struct IXMLDOMDocument2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMDocument3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocument3 { @@ -7729,30 +6805,10 @@ impl IXMLDOMDocument3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMDocument3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument, IXMLDOMDocument2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMDocument3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMDocument3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMDocument3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMDocument3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMDocument3 { type Vtable = IXMLDOMDocument3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMDocument3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMDocument3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf96_7b36_11d2_b20e_00c04f983e60); } @@ -7773,6 +6829,7 @@ pub struct IXMLDOMDocument3_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMDocumentFragment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocumentFragment { @@ -8005,30 +7062,10 @@ impl IXMLDOMDocumentFragment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMDocumentFragment, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMDocumentFragment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMDocumentFragment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMDocumentFragment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMDocumentFragment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMDocumentFragment { type Vtable = IXMLDOMDocumentFragment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMDocumentFragment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMDocumentFragment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efaa413_272f_11d2_836f_0000f87a7782); } @@ -8041,6 +7078,7 @@ pub struct IXMLDOMDocumentFragment_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMDocumentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMDocumentType { @@ -8289,30 +7327,10 @@ impl IXMLDOMDocumentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMDocumentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMDocumentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMDocumentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMDocumentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMDocumentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMDocumentType { type Vtable = IXMLDOMDocumentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMDocumentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMDocumentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8b_7b36_11d2_b20e_00c04f983e60); } @@ -8334,6 +7352,7 @@ pub struct IXMLDOMDocumentType_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMElement { @@ -8632,30 +7651,10 @@ impl IXMLDOMElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMElement, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMElement { type Vtable = IXMLDOMElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf86_7b36_11d2_b20e_00c04f983e60); } @@ -8695,6 +7694,7 @@ pub struct IXMLDOMElement_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMEntity(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMEntity { @@ -8943,30 +7943,10 @@ impl IXMLDOMEntity { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMEntity, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMEntity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMEntity {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMEntity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMEntity").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMEntity { type Vtable = IXMLDOMEntity_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMEntity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8d_7b36_11d2_b20e_00c04f983e60); } @@ -8988,6 +7968,7 @@ pub struct IXMLDOMEntity_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMEntityReference(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMEntityReference { @@ -9220,30 +8201,10 @@ impl IXMLDOMEntityReference { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMEntityReference, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMEntityReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMEntityReference {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMEntityReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMEntityReference").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMEntityReference { type Vtable = IXMLDOMEntityReference_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMEntityReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMEntityReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8e_7b36_11d2_b20e_00c04f983e60); } @@ -9256,6 +8217,7 @@ pub struct IXMLDOMEntityReference_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMImplementation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMImplementation { @@ -9273,30 +8235,10 @@ impl IXMLDOMImplementation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMImplementation, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMImplementation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMImplementation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMImplementation { type Vtable = IXMLDOMImplementation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMImplementation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8f_7b36_11d2_b20e_00c04f983e60); } @@ -9313,6 +8255,7 @@ pub struct IXMLDOMImplementation_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMNamedNodeMap(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNamedNodeMap { @@ -9390,30 +8333,10 @@ impl IXMLDOMNamedNodeMap { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMNamedNodeMap, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMNamedNodeMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMNamedNodeMap {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMNamedNodeMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMNamedNodeMap").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMNamedNodeMap { type Vtable = IXMLDOMNamedNodeMap_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMNamedNodeMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMNamedNodeMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf83_7b36_11d2_b20e_00c04f983e60); } @@ -9457,6 +8380,7 @@ pub struct IXMLDOMNamedNodeMap_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMNode(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNode { @@ -9689,30 +8613,10 @@ impl IXMLDOMNode { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMNode, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMNode {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMNode").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMNode { type Vtable = IXMLDOMNode_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf80_7b36_11d2_b20e_00c04f983e60); } @@ -9839,6 +8743,7 @@ pub struct IXMLDOMNode_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMNodeList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNodeList { @@ -9869,30 +8774,10 @@ impl IXMLDOMNodeList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMNodeList, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMNodeList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMNodeList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMNodeList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMNodeList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMNodeList { type Vtable = IXMLDOMNodeList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMNodeList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMNodeList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf82_7b36_11d2_b20e_00c04f983e60); } @@ -9916,6 +8801,7 @@ pub struct IXMLDOMNodeList_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMNotation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMNotation { @@ -10160,30 +9046,10 @@ impl IXMLDOMNotation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMNotation, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMNotation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMNotation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMNotation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMNotation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMNotation { type Vtable = IXMLDOMNotation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMNotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMNotation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf8c_7b36_11d2_b20e_00c04f983e60); } @@ -10204,6 +9070,7 @@ pub struct IXMLDOMNotation_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMParseError(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseError { @@ -10239,30 +9106,10 @@ impl IXMLDOMParseError { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMParseError, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMParseError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMParseError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMParseError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMParseError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMParseError { type Vtable = IXMLDOMParseError_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMParseError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMParseError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efaa426_272f_11d2_836f_0000f87a7782); } @@ -10282,6 +9129,7 @@ pub struct IXMLDOMParseError_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMParseError2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseError2 { @@ -10335,30 +9183,10 @@ impl IXMLDOMParseError2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMParseError2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMParseError); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMParseError2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMParseError2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMParseError2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMParseError2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMParseError2 { type Vtable = IXMLDOMParseError2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMParseError2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMParseError2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efaa428_272f_11d2_836f_0000f87a7782); } @@ -10378,6 +9206,7 @@ pub struct IXMLDOMParseError2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMParseErrorCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMParseErrorCollection { @@ -10407,29 +9236,9 @@ impl IXMLDOMParseErrorCollection { } #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMParseErrorCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMParseErrorCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMParseErrorCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMParseErrorCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMParseErrorCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for IXMLDOMParseErrorCollection { - type Vtable = IXMLDOMParseErrorCollection_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMParseErrorCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +#[cfg(feature = "Win32_System_Com")] +unsafe impl ::windows_core::Interface for IXMLDOMParseErrorCollection { + type Vtable = IXMLDOMParseErrorCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMParseErrorCollection { @@ -10455,6 +9264,7 @@ pub struct IXMLDOMParseErrorCollection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMProcessingInstruction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMProcessingInstruction { @@ -10701,30 +9511,10 @@ impl IXMLDOMProcessingInstruction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMProcessingInstruction, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMProcessingInstruction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMProcessingInstruction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMProcessingInstruction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMProcessingInstruction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMProcessingInstruction { type Vtable = IXMLDOMProcessingInstruction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMProcessingInstruction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMProcessingInstruction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf89_7b36_11d2_b20e_00c04f983e60); } @@ -10740,6 +9530,7 @@ pub struct IXMLDOMProcessingInstruction_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMSchemaCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSchemaCollection { @@ -10790,30 +9581,10 @@ impl IXMLDOMSchemaCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMSchemaCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMSchemaCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMSchemaCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMSchemaCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMSchemaCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMSchemaCollection { type Vtable = IXMLDOMSchemaCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMSchemaCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMSchemaCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x373984c8_b845_449b_91e7_45ac83036ade); } @@ -10842,6 +9613,7 @@ pub struct IXMLDOMSchemaCollection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMSchemaCollection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSchemaCollection2 { @@ -10927,30 +9699,10 @@ impl IXMLDOMSchemaCollection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMSchemaCollection2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMSchemaCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMSchemaCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMSchemaCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMSchemaCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMSchemaCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMSchemaCollection2 { type Vtable = IXMLDOMSchemaCollection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMSchemaCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMSchemaCollection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ea08b0_dd1b_4664_9a50_c2f40f4bd79a); } @@ -10980,6 +9732,7 @@ pub struct IXMLDOMSchemaCollection2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMSelection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMSelection { @@ -11081,30 +9834,10 @@ impl IXMLDOMSelection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMSelection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNodeList); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMSelection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMSelection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMSelection { type Vtable = IXMLDOMSelection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa634fc7_5888_44a7_a257_3a47150d3a0e); } @@ -11152,6 +9885,7 @@ pub struct IXMLDOMSelection_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDOMText(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDOMText { @@ -11429,30 +10163,10 @@ impl IXMLDOMText { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDOMText, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDOMText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDOMText {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDOMText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDOMText").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDOMText { type Vtable = IXMLDOMText_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDOMText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDOMText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf87_7b36_11d2_b20e_00c04f983e60); } @@ -11469,6 +10183,7 @@ pub struct IXMLDOMText_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDSOControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDSOControl { @@ -11508,30 +10223,10 @@ impl IXMLDSOControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDSOControl, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDSOControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDSOControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDSOControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDSOControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDSOControl { type Vtable = IXMLDSOControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDSOControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDSOControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x310afa62_0575_11d2_9ca9_0060b0ec3d39); } @@ -11561,6 +10256,7 @@ pub struct IXMLDSOControl_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDocument(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDocument { @@ -11632,30 +10328,10 @@ impl IXMLDocument { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDocument, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDocument { type Vtable = IXMLDocument_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf52e2b61_18a1_11d1_b105_00805f49916b); } @@ -11688,6 +10364,7 @@ pub struct IXMLDocument_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLDocument2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLDocument2 { @@ -11773,30 +10450,10 @@ impl IXMLDocument2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLDocument2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLDocument2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLDocument2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLDocument2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLDocument2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLDocument2 { type Vtable = IXMLDocument2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLDocument2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b8de2fe_8d2d_11d1_b2fc_00c04fd915a9); } @@ -11837,6 +10494,7 @@ pub struct IXMLDocument2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLElement { @@ -11919,30 +10577,10 @@ impl IXMLElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLElement, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLElement { type Vtable = IXMLElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f7f31ac_e15f_11d0_9c25_00c04fc99c8e); } @@ -11985,6 +10623,7 @@ pub struct IXMLElement_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLElement2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLElement2 { @@ -12073,30 +10712,10 @@ impl IXMLElement2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLElement2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLElement2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLElement2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLElement2 { type Vtable = IXMLElement2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLElement2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b8de2ff_8d2d_11d1_b2fc_00c04fd915a9); } @@ -12143,6 +10762,7 @@ pub struct IXMLElement2_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLElementCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLElementCollection { @@ -12167,30 +10787,10 @@ impl IXMLElementCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLElementCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLElementCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLElementCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLElementCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLElementCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLElementCollection { type Vtable = IXMLElementCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLElementCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLElementCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65725580_9b5d_11d0_9bfe_00c04fc99c8e); } @@ -12209,6 +10809,7 @@ pub struct IXMLElementCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLError(::windows_core::IUnknown); impl IXMLError { pub unsafe fn GetErrorInfo(&self, perrorreturn: *mut XML_ERROR) -> ::windows_core::Result<()> { @@ -12216,25 +10817,9 @@ impl IXMLError { } } ::windows_core::imp::interface_hierarchy!(IXMLError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXMLError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLError {} -impl ::core::fmt::Debug for IXMLError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLError { type Vtable = IXMLError_Vtbl; } -impl ::core::clone::Clone for IXMLError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x948c5ad3_c58d_11d0_9c0b_00c04fc99c8e); } @@ -12247,6 +10832,7 @@ pub struct IXMLError_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLHTTPRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXMLHTTPRequest { @@ -12331,30 +10917,10 @@ impl IXMLHTTPRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXMLHTTPRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXMLHTTPRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXMLHTTPRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXMLHTTPRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHTTPRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXMLHTTPRequest { type Vtable = IXMLHTTPRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXMLHTTPRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXMLHTTPRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed8c108d_4349_11d2_91a4_00c04f7969e8); } @@ -12398,6 +10964,7 @@ pub struct IXMLHTTPRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLHTTPRequest2(::windows_core::IUnknown); impl IXMLHTTPRequest2 { pub unsafe fn Open(&self, pwszmethod: P0, pwszurl: P1, pstatuscallback: P2, pwszusername: P3, pwszpassword: P4, pwszproxyusername: P5, pwszproxypassword: P6) -> ::windows_core::Result<()> @@ -12469,25 +11036,9 @@ impl IXMLHTTPRequest2 { } } ::windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXMLHTTPRequest2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLHTTPRequest2 {} -impl ::core::fmt::Debug for IXMLHTTPRequest2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHTTPRequest2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLHTTPRequest2 { type Vtable = IXMLHTTPRequest2_Vtbl; } -impl ::core::clone::Clone for IXMLHTTPRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLHTTPRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5d37dc0_552a_4d52_9cc0_a14d546fbd04); } @@ -12520,6 +11071,7 @@ pub struct IXMLHTTPRequest2_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLHTTPRequest2Callback(::windows_core::IUnknown); impl IXMLHTTPRequest2Callback { pub unsafe fn OnRedirect(&self, pxhr: P0, pwszredirecturl: P1) -> ::windows_core::Result<()> @@ -12562,25 +11114,9 @@ impl IXMLHTTPRequest2Callback { } } ::windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2Callback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXMLHTTPRequest2Callback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLHTTPRequest2Callback {} -impl ::core::fmt::Debug for IXMLHTTPRequest2Callback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHTTPRequest2Callback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLHTTPRequest2Callback { type Vtable = IXMLHTTPRequest2Callback_Vtbl; } -impl ::core::clone::Clone for IXMLHTTPRequest2Callback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLHTTPRequest2Callback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa44a9299_e321_40de_8866_341b41669162); } @@ -12602,6 +11138,7 @@ pub struct IXMLHTTPRequest2Callback_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLHTTPRequest3(::windows_core::IUnknown); impl IXMLHTTPRequest3 { pub unsafe fn Open(&self, pwszmethod: P0, pwszurl: P1, pstatuscallback: P2, pwszusername: P3, pwszpassword: P4, pwszproxyusername: P5, pwszproxypassword: P6) -> ::windows_core::Result<()> @@ -12679,25 +11216,9 @@ impl IXMLHTTPRequest3 { } } ::windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3, ::windows_core::IUnknown, IXMLHTTPRequest2); -impl ::core::cmp::PartialEq for IXMLHTTPRequest3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLHTTPRequest3 {} -impl ::core::fmt::Debug for IXMLHTTPRequest3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHTTPRequest3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLHTTPRequest3 { type Vtable = IXMLHTTPRequest3_Vtbl; } -impl ::core::clone::Clone for IXMLHTTPRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLHTTPRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1c9feee_0617_4f23_9d58_8961ea43567c); } @@ -12709,6 +11230,7 @@ pub struct IXMLHTTPRequest3_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLHTTPRequest3Callback(::windows_core::IUnknown); impl IXMLHTTPRequest3Callback { pub unsafe fn OnRedirect(&self, pxhr: P0, pwszredirecturl: P1) -> ::windows_core::Result<()> @@ -12763,25 +11285,9 @@ impl IXMLHTTPRequest3Callback { } } ::windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3Callback, ::windows_core::IUnknown, IXMLHTTPRequest2Callback); -impl ::core::cmp::PartialEq for IXMLHTTPRequest3Callback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLHTTPRequest3Callback {} -impl ::core::fmt::Debug for IXMLHTTPRequest3Callback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLHTTPRequest3Callback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLHTTPRequest3Callback { type Vtable = IXMLHTTPRequest3Callback_Vtbl; } -impl ::core::clone::Clone for IXMLHTTPRequest3Callback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLHTTPRequest3Callback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9e57830_8c6c_4a6f_9c13_47772bb047bb); } @@ -12795,6 +11301,7 @@ pub struct IXMLHTTPRequest3Callback_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXSLProcessor(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXSLProcessor { @@ -12882,30 +11389,10 @@ impl IXSLProcessor { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXSLProcessor, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXSLProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXSLProcessor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXSLProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXSLProcessor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXSLProcessor { type Vtable = IXSLProcessor_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXSLProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXSLProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf92_7b36_11d2_b20e_00c04f983e60); } @@ -12959,6 +11446,7 @@ pub struct IXSLProcessor_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXSLTemplate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXSLTemplate { @@ -12986,30 +11474,10 @@ impl IXSLTemplate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXSLTemplate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXSLTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXSLTemplate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXSLTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXSLTemplate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXSLTemplate { type Vtable = IXSLTemplate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXSLTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXSLTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2933bf93_7b36_11d2_b20e_00c04f983e60); } @@ -13034,6 +11502,7 @@ pub struct IXSLTemplate_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXTLRuntime(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXTLRuntime { @@ -13344,30 +11813,10 @@ impl IXTLRuntime { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXTLRuntime, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXTLRuntime { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXTLRuntime {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXTLRuntime { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXTLRuntime").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXTLRuntime { type Vtable = IXTLRuntime_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXTLRuntime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXTLRuntime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efaa425_272f_11d2_836f_0000f87a7782); } @@ -13410,36 +11859,17 @@ pub struct IXTLRuntime_Vtbl { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct XMLDOMDocumentEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl XMLDOMDocumentEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(XMLDOMDocumentEvents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for XMLDOMDocumentEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for XMLDOMDocumentEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for XMLDOMDocumentEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("XMLDOMDocumentEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for XMLDOMDocumentEvents { type Vtable = XMLDOMDocumentEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for XMLDOMDocumentEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for XMLDOMDocumentEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3efaa427_272f_11d2_836f_0000f87a7782); } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs index 3e0fbe1cad..35a475af2d 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs @@ -208,8 +208,8 @@ impl IXmlReader_Vtbl { IsEOF: IsEOF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IXmlResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveUri: ResolveUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IXmlWriter_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -677,7 +677,7 @@ impl IXmlWriterLite_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs index 168b6a1eef..2f95e4b04a 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs @@ -74,6 +74,7 @@ where } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlReader(::windows_core::IUnknown); impl IXmlReader { pub unsafe fn SetInput(&self, pinput: P0) -> ::windows_core::Result<()> @@ -166,25 +167,9 @@ impl IXmlReader { } } ::windows_core::imp::interface_hierarchy!(IXmlReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXmlReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlReader {} -impl ::core::fmt::Debug for IXmlReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXmlReader { type Vtable = IXmlReader_Vtbl; } -impl ::core::clone::Clone for IXmlReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc81_709d_4095_b63d_69fe4b0d9030); } @@ -227,6 +212,7 @@ pub struct IXmlReader_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlResolver(::windows_core::IUnknown); impl IXmlResolver { pub unsafe fn ResolveUri(&self, pwszbaseuri: P0, pwszpublicidentifier: P1, pwszsystemidentifier: P2) -> ::windows_core::Result<::windows_core::IUnknown> @@ -240,25 +226,9 @@ impl IXmlResolver { } } ::windows_core::imp::interface_hierarchy!(IXmlResolver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXmlResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlResolver {} -impl ::core::fmt::Debug for IXmlResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlResolver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXmlResolver { type Vtable = IXmlResolver_Vtbl; } -impl ::core::clone::Clone for IXmlResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc82_709d_4095_b63d_69fe4b0d9030); } @@ -270,6 +240,7 @@ pub struct IXmlResolver_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlWriter(::windows_core::IUnknown); impl IXmlWriter { pub unsafe fn SetOutput(&self, poutput: P0) -> ::windows_core::Result<()> @@ -438,25 +409,9 @@ impl IXmlWriter { } } ::windows_core::imp::interface_hierarchy!(IXmlWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXmlWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlWriter {} -impl ::core::fmt::Debug for IXmlWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXmlWriter { type Vtable = IXmlWriter_Vtbl; } -impl ::core::clone::Clone for IXmlWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7279fc88_709d_4095_b63d_69fe4b0d9030); } @@ -505,6 +460,7 @@ pub struct IXmlWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXmlWriterLite(::windows_core::IUnknown); impl IXmlWriterLite { pub unsafe fn SetOutput(&self, poutput: P0) -> ::windows_core::Result<()> @@ -652,25 +608,9 @@ impl IXmlWriterLite { } } ::windows_core::imp::interface_hierarchy!(IXmlWriterLite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXmlWriterLite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXmlWriterLite {} -impl ::core::fmt::Debug for IXmlWriterLite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXmlWriterLite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXmlWriterLite { type Vtable = IXmlWriterLite_Vtbl; } -impl ::core::clone::Clone for IXmlWriterLite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXmlWriterLite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x862494c6_1310_4aad_b3cd_2dbeebf670d3); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs index e29b137652..43000c5b81 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs @@ -36,8 +36,8 @@ impl ICreateDeviceAccessAsync_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IDeviceIoControl_Vtbl { CancelOperation: CancelOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`, `\"implement\"`*"] @@ -89,7 +89,7 @@ impl IDeviceRequestCompletionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs index 303f9024dd..d61b7ab522 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -10,6 +10,7 @@ where } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateDeviceAccessAsync(::windows_core::IUnknown); impl ICreateDeviceAccessAsync { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -30,25 +31,9 @@ impl ICreateDeviceAccessAsync { } } ::windows_core::imp::interface_hierarchy!(ICreateDeviceAccessAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateDeviceAccessAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateDeviceAccessAsync {} -impl ::core::fmt::Debug for ICreateDeviceAccessAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateDeviceAccessAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateDeviceAccessAsync { type Vtable = ICreateDeviceAccessAsync_Vtbl; } -impl ::core::clone::Clone for ICreateDeviceAccessAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateDeviceAccessAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3474628f_683d_42d2_abcb_db018c6503bc); } @@ -63,6 +48,7 @@ pub struct ICreateDeviceAccessAsync_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceIoControl(::windows_core::IUnknown); impl IDeviceIoControl { pub unsafe fn DeviceIoControlSync(&self, iocontrolcode: u32, inputbuffer: ::core::option::Option<&[u8]>, outputbuffer: ::core::option::Option<&mut [u8]>, bytesreturned: *mut u32) -> ::windows_core::Result<()> { @@ -89,25 +75,9 @@ impl IDeviceIoControl { } } ::windows_core::imp::interface_hierarchy!(IDeviceIoControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeviceIoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceIoControl {} -impl ::core::fmt::Debug for IDeviceIoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceIoControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeviceIoControl { type Vtable = IDeviceIoControl_Vtbl; } -impl ::core::clone::Clone for IDeviceIoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceIoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9eefe161_23ab_4f18_9b49_991b586ae970); } @@ -121,6 +91,7 @@ pub struct IDeviceIoControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceRequestCompletionCallback(::windows_core::IUnknown); impl IDeviceRequestCompletionCallback { pub unsafe fn Invoke(&self, requestresult: ::windows_core::HRESULT, bytesreturned: u32) -> ::windows_core::Result<()> { @@ -128,25 +99,9 @@ impl IDeviceRequestCompletionCallback { } } ::windows_core::imp::interface_hierarchy!(IDeviceRequestCompletionCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeviceRequestCompletionCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceRequestCompletionCallback {} -impl ::core::fmt::Debug for IDeviceRequestCompletionCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceRequestCompletionCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeviceRequestCompletionCallback { type Vtable = IDeviceRequestCompletionCallback_Vtbl; } -impl ::core::clone::Clone for IDeviceRequestCompletionCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceRequestCompletionCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x999bad24_9acd_45bb_8669_2a2fc0288b04); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs index f6876b86bf..37b0846426 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs @@ -39,8 +39,8 @@ impl ICloneViewHelper_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -104,7 +104,7 @@ impl IViewHelper_Vtbl { GetProceedOnNewConfiguration: GetProceedOnNewConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs index a9936fd612..191540d598 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -967,6 +967,7 @@ pub unsafe fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32 { } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICloneViewHelper(::windows_core::IUnknown); impl ICloneViewHelper { pub unsafe fn GetConnectedIDs(&self, wszadaptorname: P0, pulcount: *mut u32, pulid: *mut u32, ulflags: u32) -> ::windows_core::Result<()> @@ -997,25 +998,9 @@ impl ICloneViewHelper { } } ::windows_core::imp::interface_hierarchy!(ICloneViewHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICloneViewHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICloneViewHelper {} -impl ::core::fmt::Debug for ICloneViewHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICloneViewHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICloneViewHelper { type Vtable = ICloneViewHelper_Vtbl; } -impl ::core::clone::Clone for ICloneViewHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICloneViewHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6a3d4c4_5632_4d83_b0a1_fb88712b1eb7); } @@ -1033,6 +1018,7 @@ pub struct ICloneViewHelper_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewHelper(::windows_core::IUnknown); impl IViewHelper { pub unsafe fn GetConnectedIDs(&self, wszadaptorname: P0, pulcount: *mut u32, pulid: *mut u32, ulflags: u32) -> ::windows_core::Result<()> @@ -1070,25 +1056,9 @@ impl IViewHelper { } } ::windows_core::imp::interface_hierarchy!(IViewHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewHelper {} -impl ::core::fmt::Debug for IViewHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewHelper { type Vtable = IViewHelper_Vtbl; } -impl ::core::clone::Clone for IViewHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe85ccef5_aaaa_47f0_b5e3_61f7aecdc4c1); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs index 79695ecbc8..ea725eed6d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs @@ -28,8 +28,8 @@ impl IUPnPAddressFamilyControl_Vtbl { GetAddressFamily: GetAddressFamily::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IUPnPAsyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -136,8 +136,8 @@ impl IUPnPDescriptionDocument_Vtbl { DeviceByUDN: DeviceByUDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IUPnPDescriptionDocumentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadComplete: LoadComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -418,8 +418,8 @@ impl IUPnPDevice_Vtbl { Services: Services::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IUPnPDeviceControl_Vtbl { GetServiceObject: GetServiceObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IUPnPDeviceControlHttpHeaders_Vtbl { GetAdditionalResponseHeaders: GetAdditionalResponseHeaders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -506,8 +506,8 @@ impl IUPnPDeviceDocumentAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocumentURL: GetDocumentURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IUPnPDeviceDocumentAccessEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocument: GetDocument:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IUPnPDeviceFinder_Vtbl { FindByUDN: FindByUDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeviceAddedWithInterface: DeviceAddedWithInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -659,8 +659,8 @@ impl IUPnPDeviceFinderCallback_Vtbl { SearchComplete: SearchComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IUPnPDeviceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl IUPnPDevices_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IUPnPEventSink_Vtbl { OnStateChangedSafe: OnStateChangedSafe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -798,8 +798,8 @@ impl IUPnPEventSource_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -816,8 +816,8 @@ impl IUPnPHttpHeaderControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddRequestHeaders: AddRequestHeaders:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -893,8 +893,8 @@ impl IUPnPRegistrar_Vtbl { UnregisterDeviceProvider: UnregisterDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IUPnPRemoteEndpointInfo_Vtbl { GetGuidValue: GetGuidValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IUPnPReregistrar_Vtbl { ReregisterRunningDevice: ReregisterRunningDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1057,8 +1057,8 @@ impl IUPnPService_Vtbl { LastTransportStatus: LastTransportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1167,8 +1167,8 @@ impl IUPnPServiceAsync_Vtbl { CancelAsyncOperation: CancelAsyncOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1198,8 +1198,8 @@ impl IUPnPServiceCallback_Vtbl { ServiceInstanceDied: ServiceInstanceDied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IUPnPServiceDocumentAccess_Vtbl { GetDocument: GetDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IUPnPServiceEnumProperty_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetServiceEnumProperty: SetServiceEnumProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1312,7 +1312,7 @@ impl IUPnPServices_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index 57b3db4106..575397149c 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -92,6 +92,7 @@ pub unsafe fn SwMemFree(pmem: *const ::core::ffi::c_void) { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPAddressFamilyControl(::windows_core::IUnknown); impl IUPnPAddressFamilyControl { pub unsafe fn SetAddressFamily(&self, dwflags: i32) -> ::windows_core::Result<()> { @@ -103,25 +104,9 @@ impl IUPnPAddressFamilyControl { } } ::windows_core::imp::interface_hierarchy!(IUPnPAddressFamilyControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPAddressFamilyControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPAddressFamilyControl {} -impl ::core::fmt::Debug for IUPnPAddressFamilyControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPAddressFamilyControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPAddressFamilyControl { type Vtable = IUPnPAddressFamilyControl_Vtbl; } -impl ::core::clone::Clone for IUPnPAddressFamilyControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPAddressFamilyControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3bf6178_694e_459f_a5a6_191ea0ffa1c7); } @@ -134,6 +119,7 @@ pub struct IUPnPAddressFamilyControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPAsyncResult(::windows_core::IUnknown); impl IUPnPAsyncResult { pub unsafe fn AsyncOperationComplete(&self, ullrequestid: u64) -> ::windows_core::Result<()> { @@ -141,25 +127,9 @@ impl IUPnPAsyncResult { } } ::windows_core::imp::interface_hierarchy!(IUPnPAsyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPAsyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPAsyncResult {} -impl ::core::fmt::Debug for IUPnPAsyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPAsyncResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPAsyncResult { type Vtable = IUPnPAsyncResult_Vtbl; } -impl ::core::clone::Clone for IUPnPAsyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPAsyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d65fd08_d13e_4274_9c8b_dd8d028c8644); } @@ -172,6 +142,7 @@ pub struct IUPnPAsyncResult_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDescriptionDocument(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDescriptionDocument { @@ -218,30 +189,10 @@ impl IUPnPDescriptionDocument { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocument, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPDescriptionDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPDescriptionDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPDescriptionDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDescriptionDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPDescriptionDocument { type Vtable = IUPnPDescriptionDocument_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPDescriptionDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPDescriptionDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11d1c1b2_7daa_4c9e_9595_7f82ed206d1e); } @@ -266,6 +217,7 @@ pub struct IUPnPDescriptionDocument_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDescriptionDocumentCallback(::windows_core::IUnknown); impl IUPnPDescriptionDocumentCallback { pub unsafe fn LoadComplete(&self, hrloadresult: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -273,25 +225,9 @@ impl IUPnPDescriptionDocumentCallback { } } ::windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocumentCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDescriptionDocumentCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDescriptionDocumentCallback {} -impl ::core::fmt::Debug for IUPnPDescriptionDocumentCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDescriptionDocumentCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDescriptionDocumentCallback { type Vtable = IUPnPDescriptionDocumentCallback_Vtbl; } -impl ::core::clone::Clone for IUPnPDescriptionDocumentCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDescriptionDocumentCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77394c69_5486_40d6_9bc3_4991983e02da); } @@ -304,6 +240,7 @@ pub struct IUPnPDescriptionDocumentCallback_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDevice { @@ -402,30 +339,10 @@ impl IUPnPDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPDevice, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPDevice { type Vtable = IUPnPDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d44d0d1_98c9_4889_acd1_f9d674bf2221); } @@ -474,6 +391,7 @@ pub struct IUPnPDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceControl(::windows_core::IUnknown); impl IUPnPDeviceControl { pub unsafe fn Initialize(&self, bstrxmldesc: P0, bstrdeviceidentifier: P1, bstrinitstring: P2) -> ::windows_core::Result<()> @@ -496,25 +414,9 @@ impl IUPnPDeviceControl { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceControl {} -impl ::core::fmt::Debug for IUPnPDeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceControl { type Vtable = IUPnPDeviceControl_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810ba_73b2_11d4_bf42_00b0d0118b56); } @@ -530,6 +432,7 @@ pub struct IUPnPDeviceControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceControlHttpHeaders(::windows_core::IUnknown); impl IUPnPDeviceControlHttpHeaders { pub unsafe fn GetAdditionalResponseHeaders(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -538,25 +441,9 @@ impl IUPnPDeviceControlHttpHeaders { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceControlHttpHeaders, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceControlHttpHeaders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceControlHttpHeaders {} -impl ::core::fmt::Debug for IUPnPDeviceControlHttpHeaders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceControlHttpHeaders").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceControlHttpHeaders { type Vtable = IUPnPDeviceControlHttpHeaders_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceControlHttpHeaders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceControlHttpHeaders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810bb_73b2_11d4_bf42_00b0d0118b56); } @@ -568,6 +455,7 @@ pub struct IUPnPDeviceControlHttpHeaders_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceDocumentAccess(::windows_core::IUnknown); impl IUPnPDeviceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -576,25 +464,9 @@ impl IUPnPDeviceDocumentAccess { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceDocumentAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceDocumentAccess {} -impl ::core::fmt::Debug for IUPnPDeviceDocumentAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceDocumentAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceDocumentAccess { type Vtable = IUPnPDeviceDocumentAccess_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceDocumentAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceDocumentAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7772804_3287_418e_9072_cf2b47238981); } @@ -606,6 +478,7 @@ pub struct IUPnPDeviceDocumentAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceDocumentAccessEx(::windows_core::IUnknown); impl IUPnPDeviceDocumentAccessEx { pub unsafe fn GetDocument(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -614,25 +487,9 @@ impl IUPnPDeviceDocumentAccessEx { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccessEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceDocumentAccessEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceDocumentAccessEx {} -impl ::core::fmt::Debug for IUPnPDeviceDocumentAccessEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceDocumentAccessEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceDocumentAccessEx { type Vtable = IUPnPDeviceDocumentAccessEx_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceDocumentAccessEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceDocumentAccessEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4bc4050_6178_4bd1_a4b8_6398321f3247); } @@ -645,6 +502,7 @@ pub struct IUPnPDeviceDocumentAccessEx_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceFinder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDeviceFinder { @@ -684,30 +542,10 @@ impl IUPnPDeviceFinder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPDeviceFinder, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPDeviceFinder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPDeviceFinder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPDeviceFinder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceFinder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPDeviceFinder { type Vtable = IUPnPDeviceFinder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPDeviceFinder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPDeviceFinder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadda3d55_6f72_4319_bff9_18600a539b10); } @@ -730,6 +568,7 @@ pub struct IUPnPDeviceFinder_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceFinderAddCallbackWithInterface(::windows_core::IUnknown); impl IUPnPDeviceFinderAddCallbackWithInterface { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -742,25 +581,9 @@ impl IUPnPDeviceFinderAddCallbackWithInterface { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderAddCallbackWithInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceFinderAddCallbackWithInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceFinderAddCallbackWithInterface {} -impl ::core::fmt::Debug for IUPnPDeviceFinderAddCallbackWithInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceFinderAddCallbackWithInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceFinderAddCallbackWithInterface { type Vtable = IUPnPDeviceFinderAddCallbackWithInterface_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceFinderAddCallbackWithInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceFinderAddCallbackWithInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x983dfc0b_1796_44df_8975_ca545b620ee5); } @@ -775,6 +598,7 @@ pub struct IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceFinderCallback(::windows_core::IUnknown); impl IUPnPDeviceFinderCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -796,25 +620,9 @@ impl IUPnPDeviceFinderCallback { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceFinderCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceFinderCallback {} -impl ::core::fmt::Debug for IUPnPDeviceFinderCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceFinderCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceFinderCallback { type Vtable = IUPnPDeviceFinderCallback_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceFinderCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceFinderCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x415a984a_88b3_49f3_92af_0508bedf0d6c); } @@ -831,6 +639,7 @@ pub struct IUPnPDeviceFinderCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDeviceProvider(::windows_core::IUnknown); impl IUPnPDeviceProvider { pub unsafe fn Start(&self, bstrinitstring: P0) -> ::windows_core::Result<()> @@ -844,25 +653,9 @@ impl IUPnPDeviceProvider { } } ::windows_core::imp::interface_hierarchy!(IUPnPDeviceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPDeviceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPDeviceProvider {} -impl ::core::fmt::Debug for IUPnPDeviceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDeviceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPDeviceProvider { type Vtable = IUPnPDeviceProvider_Vtbl; } -impl ::core::clone::Clone for IUPnPDeviceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPDeviceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810b8_73b2_11d4_bf42_00b0d0118b56); } @@ -876,6 +669,7 @@ pub struct IUPnPDeviceProvider_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPDevices { @@ -900,30 +694,10 @@ impl IUPnPDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPDevices { type Vtable = IUPnPDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdbc0c73_bda3_4c66_ac4f_f2d96fdad68c); } @@ -941,6 +715,7 @@ pub struct IUPnPDevices_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPEventSink(::windows_core::IUnknown); impl IUPnPEventSink { pub unsafe fn OnStateChanged(&self, rgdispidchanges: &[i32]) -> ::windows_core::Result<()> { @@ -953,25 +728,9 @@ impl IUPnPEventSink { } } ::windows_core::imp::interface_hierarchy!(IUPnPEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPEventSink {} -impl ::core::fmt::Debug for IUPnPEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPEventSink { type Vtable = IUPnPEventSink_Vtbl; } -impl ::core::clone::Clone for IUPnPEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810b4_73b2_11d4_bf42_00b0d0118b56); } @@ -987,6 +746,7 @@ pub struct IUPnPEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPEventSource(::windows_core::IUnknown); impl IUPnPEventSource { pub unsafe fn Advise(&self, pessubscriber: P0) -> ::windows_core::Result<()> @@ -1003,25 +763,9 @@ impl IUPnPEventSource { } } ::windows_core::imp::interface_hierarchy!(IUPnPEventSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPEventSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPEventSource {} -impl ::core::fmt::Debug for IUPnPEventSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPEventSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPEventSource { type Vtable = IUPnPEventSource_Vtbl; } -impl ::core::clone::Clone for IUPnPEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPEventSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810b5_73b2_11d4_bf42_00b0d0118b56); } @@ -1034,6 +778,7 @@ pub struct IUPnPEventSource_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPHttpHeaderControl(::windows_core::IUnknown); impl IUPnPHttpHeaderControl { pub unsafe fn AddRequestHeaders(&self, bstrhttpheaders: P0) -> ::windows_core::Result<()> @@ -1044,25 +789,9 @@ impl IUPnPHttpHeaderControl { } } ::windows_core::imp::interface_hierarchy!(IUPnPHttpHeaderControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPHttpHeaderControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPHttpHeaderControl {} -impl ::core::fmt::Debug for IUPnPHttpHeaderControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPHttpHeaderControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPHttpHeaderControl { type Vtable = IUPnPHttpHeaderControl_Vtbl; } -impl ::core::clone::Clone for IUPnPHttpHeaderControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPHttpHeaderControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0405af4f_8b5c_447c_80f2_b75984a31f3c); } @@ -1074,6 +803,7 @@ pub struct IUPnPHttpHeaderControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPRegistrar(::windows_core::IUnknown); impl IUPnPRegistrar { pub unsafe fn RegisterDevice(&self, bstrxmldesc: P0, bstrprogiddevicecontrolclass: P1, bstrinitstring: P2, bstrcontainerid: P3, bstrresourcepath: P4, nlifetime: i32) -> ::windows_core::Result<::windows_core::BSTR> @@ -1131,25 +861,9 @@ impl IUPnPRegistrar { } } ::windows_core::imp::interface_hierarchy!(IUPnPRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPRegistrar {} -impl ::core::fmt::Debug for IUPnPRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPRegistrar { type Vtable = IUPnPRegistrar_Vtbl; } -impl ::core::clone::Clone for IUPnPRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810b6_73b2_11d4_bf42_00b0d0118b56); } @@ -1169,6 +883,7 @@ pub struct IUPnPRegistrar_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPRemoteEndpointInfo(::windows_core::IUnknown); impl IUPnPRemoteEndpointInfo { pub unsafe fn GetDwordValue(&self, bstrvaluename: P0) -> ::windows_core::Result @@ -1194,25 +909,9 @@ impl IUPnPRemoteEndpointInfo { } } ::windows_core::imp::interface_hierarchy!(IUPnPRemoteEndpointInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPRemoteEndpointInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPRemoteEndpointInfo {} -impl ::core::fmt::Debug for IUPnPRemoteEndpointInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPRemoteEndpointInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPRemoteEndpointInfo { type Vtable = IUPnPRemoteEndpointInfo_Vtbl; } -impl ::core::clone::Clone for IUPnPRemoteEndpointInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPRemoteEndpointInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc92eb863_0269_4aff_9c72_75321bba2952); } @@ -1226,6 +925,7 @@ pub struct IUPnPRemoteEndpointInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPReregistrar(::windows_core::IUnknown); impl IUPnPReregistrar { pub unsafe fn ReregisterDevice(&self, bstrdeviceidentifier: P0, bstrxmldesc: P1, bstrprogiddevicecontrolclass: P2, bstrinitstring: P3, bstrcontainerid: P4, bstrresourcepath: P5, nlifetime: i32) -> ::windows_core::Result<()> @@ -1251,25 +951,9 @@ impl IUPnPReregistrar { } } ::windows_core::imp::interface_hierarchy!(IUPnPReregistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPReregistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPReregistrar {} -impl ::core::fmt::Debug for IUPnPReregistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPReregistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPReregistrar { type Vtable = IUPnPReregistrar_Vtbl; } -impl ::core::clone::Clone for IUPnPReregistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPReregistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204810b7_73b2_11d4_bf42_00b0d0118b56); } @@ -1283,6 +967,7 @@ pub struct IUPnPReregistrar_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPService { @@ -1325,30 +1010,10 @@ impl IUPnPService { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPService, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPService").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPService { type Vtable = IUPnPService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa295019c_dc65_47dd_90dc_7fe918a1ab44); } @@ -1372,6 +1037,7 @@ pub struct IUPnPService_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPServiceAsync(::windows_core::IUnknown); impl IUPnPServiceAsync { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1429,25 +1095,9 @@ impl IUPnPServiceAsync { } } ::windows_core::imp::interface_hierarchy!(IUPnPServiceAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPServiceAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPServiceAsync {} -impl ::core::fmt::Debug for IUPnPServiceAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPServiceAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPServiceAsync { type Vtable = IUPnPServiceAsync_Vtbl; } -impl ::core::clone::Clone for IUPnPServiceAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPServiceAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x098bdaf5_5ec1_49e7_a260_b3a11dd8680c); } @@ -1476,6 +1126,7 @@ pub struct IUPnPServiceAsync_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPServiceCallback(::windows_core::IUnknown); impl IUPnPServiceCallback { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1497,25 +1148,9 @@ impl IUPnPServiceCallback { } } ::windows_core::imp::interface_hierarchy!(IUPnPServiceCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPServiceCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPServiceCallback {} -impl ::core::fmt::Debug for IUPnPServiceCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPServiceCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPServiceCallback { type Vtable = IUPnPServiceCallback_Vtbl; } -impl ::core::clone::Clone for IUPnPServiceCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPServiceCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31fadca9_ab73_464b_b67d_5c1d0f83c8b8); } @@ -1534,6 +1169,7 @@ pub struct IUPnPServiceCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPServiceDocumentAccess(::windows_core::IUnknown); impl IUPnPServiceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1546,25 +1182,9 @@ impl IUPnPServiceDocumentAccess { } } ::windows_core::imp::interface_hierarchy!(IUPnPServiceDocumentAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPServiceDocumentAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPServiceDocumentAccess {} -impl ::core::fmt::Debug for IUPnPServiceDocumentAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPServiceDocumentAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPServiceDocumentAccess { type Vtable = IUPnPServiceDocumentAccess_Vtbl; } -impl ::core::clone::Clone for IUPnPServiceDocumentAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPServiceDocumentAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21905529_0a5e_4589_825d_7e6d87ea6998); } @@ -1577,6 +1197,7 @@ pub struct IUPnPServiceDocumentAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPServiceEnumProperty(::windows_core::IUnknown); impl IUPnPServiceEnumProperty { pub unsafe fn SetServiceEnumProperty(&self, dwmask: u32) -> ::windows_core::Result<()> { @@ -1584,25 +1205,9 @@ impl IUPnPServiceEnumProperty { } } ::windows_core::imp::interface_hierarchy!(IUPnPServiceEnumProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUPnPServiceEnumProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUPnPServiceEnumProperty {} -impl ::core::fmt::Debug for IUPnPServiceEnumProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPServiceEnumProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUPnPServiceEnumProperty { type Vtable = IUPnPServiceEnumProperty_Vtbl; } -impl ::core::clone::Clone for IUPnPServiceEnumProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUPnPServiceEnumProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38873b37_91bb_49f4_b249_2e8efbb8a816); } @@ -1615,6 +1220,7 @@ pub struct IUPnPServiceEnumProperty_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPServices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPServices { @@ -1639,30 +1245,10 @@ impl IUPnPServices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPServices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPServices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPServices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPServices { type Vtable = IUPnPServices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f8c8e9e_9a7a_4dc8_bc41_ff31fa374956); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs index e6604ec7b1..0ccc022ec5 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs @@ -57,8 +57,8 @@ impl IFaxAccount_Vtbl { RegisteredEvents: RegisteredEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl IFaxAccountFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IFaxAccountIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl IFaxAccountIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IFaxAccountNotify_Vtbl { OnServerShutDown: OnServerShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -415,8 +415,8 @@ impl IFaxAccountOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IFaxAccountOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl IFaxAccountSet_Vtbl { RemoveAccount: RemoveAccount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl IFaxAccounts_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IFaxActivity_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IFaxActivityLogging_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1181,8 +1181,8 @@ impl IFaxConfiguration_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1470,8 +1470,8 @@ impl IFaxDevice_Vtbl { AnswerCall: AnswerCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1547,8 +1547,8 @@ impl IFaxDeviceIds_Vtbl { SetOrder: SetOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1720,8 +1720,8 @@ impl IFaxDeviceProvider_Vtbl { DeviceIds: DeviceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IFaxDeviceProviders_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1845,8 +1845,8 @@ impl IFaxDevices_Vtbl { get_ItemById: get_ItemById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IFaxDocument_Vtbl { SetAttachFaxToReceipt: SetAttachFaxToReceipt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2278,8 +2278,8 @@ impl IFaxDocument2_Vtbl { ConnectedSubmit2: ConnectedSubmit2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl IFaxEventLogging_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2458,8 +2458,8 @@ impl IFaxFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2501,8 +2501,8 @@ impl IFaxInboundRouting_Vtbl { GetMethods: GetMethods::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2661,8 +2661,8 @@ impl IFaxInboundRoutingExtension_Vtbl { Methods: Methods::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2717,8 +2717,8 @@ impl IFaxInboundRoutingExtensions_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2833,8 +2833,8 @@ impl IFaxInboundRoutingMethod_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2889,8 +2889,8 @@ impl IFaxInboundRoutingMethods_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3092,8 +3092,8 @@ impl IFaxIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3338,8 +3338,8 @@ impl IFaxIncomingJob_Vtbl { CopyTiff: CopyTiff::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl IFaxIncomingJobs_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3568,8 +3568,8 @@ impl IFaxIncomingMessage_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3739,8 +3739,8 @@ impl IFaxIncomingMessage2_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3816,8 +3816,8 @@ impl IFaxIncomingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3893,8 +3893,8 @@ impl IFaxIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4131,8 +4131,8 @@ impl IFaxJobStatus_Vtbl { RoutingInformation: RoutingInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4174,8 +4174,8 @@ impl IFaxLoggingOptions_Vtbl { ActivityLogging: ActivityLogging::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4217,8 +4217,8 @@ impl IFaxOutboundRouting_Vtbl { GetRules: GetRules::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4273,8 +4273,8 @@ impl IFaxOutboundRoutingGroup_Vtbl { DeviceIds: DeviceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4349,8 +4349,8 @@ impl IFaxOutboundRoutingGroups_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl IFaxOutboundRoutingRule_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4575,8 +4575,8 @@ impl IFaxOutboundRoutingRules_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4778,8 +4778,8 @@ impl IFaxOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5162,8 +5162,8 @@ impl IFaxOutgoingJob_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5218,8 +5218,8 @@ impl IFaxOutgoingJob2_Vtbl { ScheduleType: ScheduleType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5274,8 +5274,8 @@ impl IFaxOutgoingJobs_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5526,8 +5526,8 @@ impl IFaxOutgoingMessage_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5616,8 +5616,8 @@ impl IFaxOutgoingMessage2_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5693,8 +5693,8 @@ impl IFaxOutgoingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5950,8 +5950,8 @@ impl IFaxOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6141,8 +6141,8 @@ impl IFaxReceiptOptions_Vtbl { SetUseForInboundRouting: SetUseForInboundRouting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6198,8 +6198,8 @@ impl IFaxRecipient_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6274,8 +6274,8 @@ impl IFaxRecipients_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6358,8 +6358,8 @@ impl IFaxSecurity_Vtbl { SetInformationType: SetInformationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6442,8 +6442,8 @@ impl IFaxSecurity2_Vtbl { SetInformationType: SetInformationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6793,8 +6793,8 @@ impl IFaxSender_Vtbl { SaveDefaultSender: SaveDefaultSender::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7100,8 +7100,8 @@ impl IFaxServer_Vtbl { APIVersion: APIVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7169,8 +7169,8 @@ impl IFaxServer2_Vtbl { Security2: Security2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7183,8 +7183,8 @@ impl IFaxServerNotify_Vtbl { pub const fn new, Impl: IFaxServerNotify_Impl, const OFFSET: isize>() -> IFaxServerNotify_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7382,8 +7382,8 @@ impl IFaxServerNotify2_Vtbl { OnGeneralServerConfigChanged: OnGeneralServerConfigChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -7524,8 +7524,8 @@ impl IStiDevice_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -7618,8 +7618,8 @@ impl IStiDeviceControl_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -7759,8 +7759,8 @@ impl IStiUSD_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7887,7 +7887,7 @@ impl IStillImageW_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs index c065fb264b..790fe12d77 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -592,6 +592,7 @@ where #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccount(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccount { @@ -616,30 +617,10 @@ impl IFaxAccount { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccount, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccount { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccount {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccount { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccount").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccount { type Vtable = IFaxAccount_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccount { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccount { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68535b33_5dc4_4086_be26_b76f9b711006); } @@ -659,6 +640,7 @@ pub struct IFaxAccount_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountFolders(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountFolders { @@ -690,30 +672,10 @@ impl IFaxAccountFolders { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountFolders, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountFolders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountFolders {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountFolders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountFolders").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountFolders { type Vtable = IFaxAccountFolders_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountFolders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountFolders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6463f89d_23d8_46a9_8f86_c47b77ca7926); } @@ -742,6 +704,7 @@ pub struct IFaxAccountFolders_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountIncomingArchive(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountIncomingArchive { @@ -775,30 +738,10 @@ impl IFaxAccountIncomingArchive { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountIncomingArchive, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountIncomingArchive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountIncomingArchive {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountIncomingArchive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountIncomingArchive").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountIncomingArchive { type Vtable = IFaxAccountIncomingArchive_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountIncomingArchive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountIncomingArchive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8a5b6ef_e0d6_4aee_955c_91625bec9db4); } @@ -822,6 +765,7 @@ pub struct IFaxAccountIncomingArchive_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountIncomingQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountIncomingQueue { @@ -844,30 +788,10 @@ impl IFaxAccountIncomingQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountIncomingQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountIncomingQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountIncomingQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountIncomingQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountIncomingQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountIncomingQueue { type Vtable = IFaxAccountIncomingQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountIncomingQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountIncomingQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd142d92_0186_4a95_a090_cbc3eadba6b4); } @@ -888,6 +812,7 @@ pub struct IFaxAccountIncomingQueue_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountNotify(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountNotify { @@ -997,30 +922,10 @@ impl IFaxAccountNotify { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountNotify, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountNotify {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountNotify").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountNotify { type Vtable = IFaxAccountNotify_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9b3bc81_ac1b_46f3_b39d_0adc30e1b788); } @@ -1077,6 +982,7 @@ pub struct IFaxAccountNotify_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountOutgoingArchive(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountOutgoingArchive { @@ -1110,30 +1016,10 @@ impl IFaxAccountOutgoingArchive { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingArchive, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountOutgoingArchive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountOutgoingArchive {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountOutgoingArchive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountOutgoingArchive").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountOutgoingArchive { type Vtable = IFaxAccountOutgoingArchive_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountOutgoingArchive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountOutgoingArchive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5463076d_ec14_491f_926e_b3ceda5e5662); } @@ -1157,6 +1043,7 @@ pub struct IFaxAccountOutgoingArchive_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountOutgoingQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountOutgoingQueue { @@ -1179,30 +1066,10 @@ impl IFaxAccountOutgoingQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountOutgoingQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountOutgoingQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountOutgoingQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountOutgoingQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountOutgoingQueue { type Vtable = IFaxAccountOutgoingQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountOutgoingQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountOutgoingQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f1424e9_f22d_4553_b7a5_0d24bd0d7e46); } @@ -1223,6 +1090,7 @@ pub struct IFaxAccountOutgoingQueue_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccountSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccountSet { @@ -1260,30 +1128,10 @@ impl IFaxAccountSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccountSet, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccountSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccountSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccountSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccountSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccountSet { type Vtable = IFaxAccountSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccountSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccountSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7428fbae_841e_47b8_86f4_2288946dca1b); } @@ -1309,6 +1157,7 @@ pub struct IFaxAccountSet_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxAccounts(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxAccounts { @@ -1330,30 +1179,10 @@ impl IFaxAccounts { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxAccounts, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxAccounts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxAccounts {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxAccounts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxAccounts").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxAccounts { type Vtable = IFaxAccounts_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxAccounts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxAccounts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93ea8162_8be7_42d1_ae7b_ec74e2d989da); } @@ -1372,6 +1201,7 @@ pub struct IFaxAccounts_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxActivity(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxActivity { @@ -1398,30 +1228,10 @@ impl IFaxActivity { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxActivity, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxActivity {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxActivity").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxActivity { type Vtable = IFaxActivity_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b106f97_3df5_40f2_bc3c_44cb8115ebdf); } @@ -1439,6 +1249,7 @@ pub struct IFaxActivity_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxActivityLogging(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxActivityLogging { @@ -1490,30 +1301,10 @@ impl IFaxActivityLogging { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxActivityLogging, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxActivityLogging { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxActivityLogging {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxActivityLogging { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxActivityLogging").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxActivityLogging { type Vtable = IFaxActivityLogging_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxActivityLogging { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxActivityLogging { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e29078b_5a69_497b_9592_49b7e7faddb5); } @@ -1546,6 +1337,7 @@ pub struct IFaxActivityLogging_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxConfiguration(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxConfiguration { @@ -1773,30 +1565,10 @@ impl IFaxConfiguration { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxConfiguration, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxConfiguration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxConfiguration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxConfiguration { type Vtable = IFaxConfiguration_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10f4d0f7_0994_4543_ab6e_506949128c40); } @@ -1911,6 +1683,7 @@ pub struct IFaxConfiguration_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDevice { @@ -2053,30 +1826,10 @@ impl IFaxDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDevice, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDevice { type Vtable = IFaxDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49306c59_b52e_4867_9df4_ca5841c956d0); } @@ -2145,6 +1898,7 @@ pub struct IFaxDevice_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDeviceIds(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceIds { @@ -2173,30 +1927,10 @@ impl IFaxDeviceIds { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDeviceIds, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDeviceIds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDeviceIds {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDeviceIds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDeviceIds").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDeviceIds { type Vtable = IFaxDeviceIds_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDeviceIds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDeviceIds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f0f813f_4ce9_443e_8ca1_738cfaeee149); } @@ -2215,6 +1949,7 @@ pub struct IFaxDeviceIds_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDeviceProvider(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProvider { @@ -2274,30 +2009,10 @@ impl IFaxDeviceProvider { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDeviceProvider, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDeviceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDeviceProvider {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDeviceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDeviceProvider").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDeviceProvider { type Vtable = IFaxDeviceProvider_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDeviceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDeviceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x290eac63_83ec_449c_8417_f148df8c682a); } @@ -2328,6 +2043,7 @@ pub struct IFaxDeviceProvider_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDeviceProviders(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDeviceProviders { @@ -2349,30 +2065,10 @@ impl IFaxDeviceProviders { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDeviceProviders, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDeviceProviders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDeviceProviders {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDeviceProviders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDeviceProviders").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDeviceProviders { type Vtable = IFaxDeviceProviders_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDeviceProviders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDeviceProviders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fb76f62_4c7e_43a5_b6fd_502893f7e13e); } @@ -2391,6 +2087,7 @@ pub struct IFaxDeviceProviders_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDevices { @@ -2418,30 +2115,10 @@ impl IFaxDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDevices, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDevices { type Vtable = IFaxDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e46783e_f34f_482e_a360_0416becbbd96); } @@ -2464,6 +2141,7 @@ pub struct IFaxDevices_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDocument(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDocument { @@ -2645,30 +2323,10 @@ impl IFaxDocument { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDocument, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDocument { type Vtable = IFaxDocument_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb207a246_09e3_4a4e_a7dc_fea31d29458f); } @@ -2745,6 +2403,7 @@ pub struct IFaxDocument_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxDocument2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxDocument2 { @@ -2957,30 +2616,10 @@ impl IFaxDocument2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxDocument2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxDocument); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxDocument2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxDocument2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxDocument2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxDocument2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxDocument2 { type Vtable = IFaxDocument2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxDocument2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1347661_f9ef_4d6d_b4a5_c0a068b65cff); } @@ -3010,6 +2649,7 @@ pub struct IFaxDocument2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxEventLogging(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxEventLogging { @@ -3051,30 +2691,10 @@ impl IFaxEventLogging { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxEventLogging, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxEventLogging { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxEventLogging {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxEventLogging { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxEventLogging").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxEventLogging { type Vtable = IFaxEventLogging_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxEventLogging { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxEventLogging { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0880d965_20e8_42e4_8e17_944f192caad4); } @@ -3097,6 +2717,7 @@ pub struct IFaxEventLogging_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxFolders(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxFolders { @@ -3128,30 +2749,10 @@ impl IFaxFolders { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxFolders, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxFolders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxFolders {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxFolders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxFolders").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxFolders { type Vtable = IFaxFolders_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxFolders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxFolders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdce3b2a8_a7ab_42bc_9d0a_3149457261a0); } @@ -3180,6 +2781,7 @@ pub struct IFaxFolders_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxInboundRouting(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRouting { @@ -3199,30 +2801,10 @@ impl IFaxInboundRouting { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxInboundRouting, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxInboundRouting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxInboundRouting {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxInboundRouting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxInboundRouting").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxInboundRouting { type Vtable = IFaxInboundRouting_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxInboundRouting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxInboundRouting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8148c20f_9d52_45b1_bf96_38fc12713527); } @@ -3243,6 +2825,7 @@ pub struct IFaxInboundRouting_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxInboundRoutingExtension(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtension { @@ -3298,30 +2881,10 @@ impl IFaxInboundRoutingExtension { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtension, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxInboundRoutingExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxInboundRoutingExtension {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxInboundRoutingExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxInboundRoutingExtension").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxInboundRoutingExtension { type Vtable = IFaxInboundRoutingExtension_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxInboundRoutingExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxInboundRoutingExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x885b5e08_c26c_4ef9_af83_51580a750be1); } @@ -3351,6 +2914,7 @@ pub struct IFaxInboundRoutingExtension_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxInboundRoutingExtensions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingExtensions { @@ -3372,30 +2936,10 @@ impl IFaxInboundRoutingExtensions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtensions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxInboundRoutingExtensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxInboundRoutingExtensions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxInboundRoutingExtensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxInboundRoutingExtensions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxInboundRoutingExtensions { type Vtable = IFaxInboundRoutingExtensions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxInboundRoutingExtensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxInboundRoutingExtensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f6c9673_7b26_42de_8eb0_915dcd2a4f4c); } @@ -3414,6 +2958,7 @@ pub struct IFaxInboundRoutingExtensions_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxInboundRoutingMethod(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethod { @@ -3454,30 +2999,10 @@ impl IFaxInboundRoutingMethod { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethod, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxInboundRoutingMethod { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxInboundRoutingMethod {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxInboundRoutingMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxInboundRoutingMethod").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxInboundRoutingMethod { type Vtable = IFaxInboundRoutingMethod_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxInboundRoutingMethod { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxInboundRoutingMethod { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45700061_ad9d_4776_a8c4_64065492cf4b); } @@ -3499,6 +3024,7 @@ pub struct IFaxInboundRoutingMethod_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxInboundRoutingMethods(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxInboundRoutingMethods { @@ -3520,30 +3046,10 @@ impl IFaxInboundRoutingMethods { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethods, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxInboundRoutingMethods { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxInboundRoutingMethods {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxInboundRoutingMethods { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxInboundRoutingMethods").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxInboundRoutingMethods { type Vtable = IFaxInboundRoutingMethods_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxInboundRoutingMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxInboundRoutingMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x783fca10_8908_4473_9d69_f67fbea0c6b9); } @@ -3562,6 +3068,7 @@ pub struct IFaxInboundRoutingMethods_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingArchive(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingArchive { @@ -3657,30 +3164,10 @@ impl IFaxIncomingArchive { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingArchive, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingArchive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingArchive {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingArchive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingArchive").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingArchive { type Vtable = IFaxIncomingArchive_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingArchive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingArchive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76062cc7_f714_4fbd_aa06_ed6e4a4b70f3); } @@ -3729,6 +3216,7 @@ pub struct IFaxIncomingArchive_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJob { @@ -3812,30 +3300,10 @@ impl IFaxIncomingJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingJob { type Vtable = IFaxIncomingJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x207529e6_654a_4916_9f88_4d232ee8a107); } @@ -3867,6 +3335,7 @@ pub struct IFaxIncomingJob_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingJobs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingJobs { @@ -3888,30 +3357,10 @@ impl IFaxIncomingJobs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingJobs, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingJobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingJobs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingJobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingJobs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingJobs { type Vtable = IFaxIncomingJobs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingJobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingJobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x011f04e9_4fd6_4c23_9513_b6b66bb26be9); } @@ -3930,6 +3379,7 @@ pub struct IFaxIncomingJobs_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingMessage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage { @@ -3990,30 +3440,10 @@ impl IFaxIncomingMessage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingMessage, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingMessage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingMessage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingMessage { type Vtable = IFaxIncomingMessage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cab88fa_2ef9_4851_b2f3_1d148fed8447); } @@ -4039,6 +3469,7 @@ pub struct IFaxIncomingMessage_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingMessage2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessage2 { @@ -4182,30 +3613,10 @@ impl IFaxIncomingMessage2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingMessage2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxIncomingMessage); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingMessage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingMessage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingMessage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingMessage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingMessage2 { type Vtable = IFaxIncomingMessage2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9208503_e2bc_48f3_9ec0_e6236f9b509a); } @@ -4249,6 +3660,7 @@ pub struct IFaxIncomingMessage2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingMessageIterator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingMessageIterator { @@ -4281,30 +3693,10 @@ impl IFaxIncomingMessageIterator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingMessageIterator, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingMessageIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingMessageIterator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingMessageIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingMessageIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingMessageIterator { type Vtable = IFaxIncomingMessageIterator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingMessageIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingMessageIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd73ecc4_6f06_4f52_82a8_f7ba06ae3108); } @@ -4329,6 +3721,7 @@ pub struct IFaxIncomingMessageIterator_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxIncomingQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxIncomingQueue { @@ -4371,30 +3764,10 @@ impl IFaxIncomingQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxIncomingQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxIncomingQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxIncomingQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxIncomingQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxIncomingQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxIncomingQueue { type Vtable = IFaxIncomingQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxIncomingQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxIncomingQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x902e64ef_8fd8_4b75_9725_6014df161545); } @@ -4425,6 +3798,7 @@ pub struct IFaxIncomingQueue_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxJobStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxJobStatus { @@ -4500,30 +3874,10 @@ impl IFaxJobStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxJobStatus, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxJobStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxJobStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxJobStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxJobStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxJobStatus { type Vtable = IFaxJobStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxJobStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxJobStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b86f485_fd7f_4824_886b_40c5caa617cc); } @@ -4553,6 +3907,7 @@ pub struct IFaxJobStatus_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxLoggingOptions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxLoggingOptions { @@ -4572,30 +3927,10 @@ impl IFaxLoggingOptions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxLoggingOptions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxLoggingOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxLoggingOptions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxLoggingOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxLoggingOptions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxLoggingOptions { type Vtable = IFaxLoggingOptions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxLoggingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxLoggingOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34e64fb9_6b31_4d32_8b27_d286c0c33606); } @@ -4616,6 +3951,7 @@ pub struct IFaxLoggingOptions_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutboundRouting(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRouting { @@ -4635,30 +3971,10 @@ impl IFaxOutboundRouting { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutboundRouting, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutboundRouting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutboundRouting {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutboundRouting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutboundRouting").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutboundRouting { type Vtable = IFaxOutboundRouting_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutboundRouting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutboundRouting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25dc05a4_9909_41bd_a95b_7e5d1dec1d43); } @@ -4679,6 +3995,7 @@ pub struct IFaxOutboundRouting_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutboundRoutingGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroup { @@ -4700,30 +4017,10 @@ impl IFaxOutboundRoutingGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutboundRoutingGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutboundRoutingGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutboundRoutingGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutboundRoutingGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutboundRoutingGroup { type Vtable = IFaxOutboundRoutingGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutboundRoutingGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutboundRoutingGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca6289a1_7e25_4f87_9a0b_93365734962c); } @@ -4742,6 +4039,7 @@ pub struct IFaxOutboundRoutingGroup_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutboundRoutingGroups(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingGroups { @@ -4777,30 +4075,10 @@ impl IFaxOutboundRoutingGroups { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroups, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutboundRoutingGroups { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutboundRoutingGroups {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutboundRoutingGroups { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutboundRoutingGroups").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutboundRoutingGroups { type Vtable = IFaxOutboundRoutingGroups_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutboundRoutingGroups { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutboundRoutingGroups { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x235cbef7_c2de_4bfd_b8da_75097c82c87f); } @@ -4827,6 +4105,7 @@ pub struct IFaxOutboundRoutingGroups_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutboundRoutingRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRule { @@ -4883,30 +4162,10 @@ impl IFaxOutboundRoutingRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutboundRoutingRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutboundRoutingRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutboundRoutingRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutboundRoutingRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutboundRoutingRule { type Vtable = IFaxOutboundRoutingRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutboundRoutingRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutboundRoutingRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1f795d5_07c2_469f_b027_acacc23219da); } @@ -4936,6 +4195,7 @@ pub struct IFaxOutboundRoutingRule_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutboundRoutingRules(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutboundRoutingRules { @@ -4979,30 +4239,10 @@ impl IFaxOutboundRoutingRules { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRules, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutboundRoutingRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutboundRoutingRules {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutboundRoutingRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutboundRoutingRules").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutboundRoutingRules { type Vtable = IFaxOutboundRoutingRules_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutboundRoutingRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutboundRoutingRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcefa1e7_ae7d_4ed6_8521_369edcca5120); } @@ -5031,6 +4271,7 @@ pub struct IFaxOutboundRoutingRules_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingArchive(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingArchive { @@ -5126,30 +4367,10 @@ impl IFaxOutgoingArchive { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingArchive, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingArchive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingArchive {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingArchive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingArchive").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingArchive { type Vtable = IFaxOutgoingArchive_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingArchive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingArchive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9c28f40_8d80_4e53_810f_9a79919b49fd); } @@ -5198,6 +4419,7 @@ pub struct IFaxOutgoingArchive_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJob { @@ -5325,37 +4547,17 @@ impl IFaxOutgoingJob { pub unsafe fn Refresh(&self) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Refresh)(::windows_core::Interface::as_raw(self)).ok() } - pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Cancel)(::windows_core::Interface::as_raw(self)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IFaxOutgoingJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingJob").field(&self.0).finish() + pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).Cancel)(::windows_core::Interface::as_raw(self)).ok() } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IFaxOutgoingJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingJob { type Vtable = IFaxOutgoingJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6356daad_6614_4583_bf7a_3ad67bbfc71c); } @@ -5408,6 +4610,7 @@ pub struct IFaxOutgoingJob_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingJob2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJob2 { @@ -5556,30 +4759,10 @@ impl IFaxOutgoingJob2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingJob2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingJob); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingJob2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingJob2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingJob2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingJob2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingJob2 { type Vtable = IFaxOutgoingJob2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingJob2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingJob2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x418a8d96_59a0_4789_b176_edf3dc8fa8f7); } @@ -5598,6 +4781,7 @@ pub struct IFaxOutgoingJob2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingJobs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingJobs { @@ -5619,30 +4803,10 @@ impl IFaxOutgoingJobs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingJobs, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingJobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingJobs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingJobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingJobs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingJobs { type Vtable = IFaxOutgoingJobs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingJobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingJobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c56d8e6_8c2f_4573_944c_e505f8f5aeed); } @@ -5661,6 +4825,7 @@ pub struct IFaxOutgoingJobs_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingMessage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessage { @@ -5749,30 +4914,10 @@ impl IFaxOutgoingMessage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingMessage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingMessage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingMessage { type Vtable = IFaxOutgoingMessage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0ea35de_caa5_4a7c_82c7_2b60ba5f2be2); } @@ -5810,6 +4955,7 @@ pub struct IFaxOutgoingMessage_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingMessage2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessage2 { @@ -5932,30 +5078,10 @@ impl IFaxOutgoingMessage2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingMessage); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingMessage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingMessage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingMessage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingMessage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingMessage2 { type Vtable = IFaxOutgoingMessage2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb37df687_bc88_4b46_b3be_b458b3ea9e7f); } @@ -5984,6 +5110,7 @@ pub struct IFaxOutgoingMessage2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingMessageIterator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingMessageIterator { @@ -6016,30 +5143,10 @@ impl IFaxOutgoingMessageIterator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingMessageIterator, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingMessageIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingMessageIterator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingMessageIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingMessageIterator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingMessageIterator { type Vtable = IFaxOutgoingMessageIterator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingMessageIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingMessageIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5ec5d4f_b840_432f_9980_112fe42a9b7a); } @@ -6064,6 +5171,7 @@ pub struct IFaxOutgoingMessageIterator_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxOutgoingQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxOutgoingQueue { @@ -6197,30 +5305,10 @@ impl IFaxOutgoingQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxOutgoingQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxOutgoingQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxOutgoingQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxOutgoingQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxOutgoingQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxOutgoingQueue { type Vtable = IFaxOutgoingQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxOutgoingQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxOutgoingQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80b1df24_d9ac_4333_b373_487cedc80ce5); } @@ -6293,6 +5381,7 @@ pub struct IFaxOutgoingQueue_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxReceiptOptions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxReceiptOptions { @@ -6381,30 +5470,10 @@ impl IFaxReceiptOptions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxReceiptOptions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxReceiptOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxReceiptOptions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxReceiptOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxReceiptOptions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxReceiptOptions { type Vtable = IFaxReceiptOptions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxReceiptOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxReceiptOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x378efaeb_5fcb_4afb_b2ee_e16e80614487); } @@ -6441,6 +5510,7 @@ pub struct IFaxReceiptOptions_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxRecipient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxRecipient { @@ -6468,30 +5538,10 @@ impl IFaxRecipient { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxRecipient, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxRecipient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxRecipient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxRecipient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxRecipient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxRecipient { type Vtable = IFaxRecipient_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxRecipient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxRecipient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a3da3a0_538d_42b6_9444_aaa57d0ce2bc); } @@ -6508,6 +5558,7 @@ pub struct IFaxRecipient_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxRecipients(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxRecipients { @@ -6542,30 +5593,10 @@ impl IFaxRecipients { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxRecipients, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxRecipients { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxRecipients {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxRecipients { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxRecipients").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxRecipients { type Vtable = IFaxRecipients_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxRecipients { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxRecipients { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9c9de5a_894e_4492_9fa3_08c627c11d5d); } @@ -6589,6 +5620,7 @@ pub struct IFaxRecipients_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxSecurity(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity { @@ -6624,30 +5656,10 @@ impl IFaxSecurity { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxSecurity, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxSecurity {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxSecurity").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxSecurity { type Vtable = IFaxSecurity_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77b508c1_09c0_47a2_91eb_fce7fdf2690e); } @@ -6673,6 +5685,7 @@ pub struct IFaxSecurity_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxSecurity2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxSecurity2 { @@ -6708,30 +5721,10 @@ impl IFaxSecurity2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxSecurity2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxSecurity2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxSecurity2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxSecurity2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxSecurity2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxSecurity2 { type Vtable = IFaxSecurity2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxSecurity2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxSecurity2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17d851f4_d09b_48fc_99c9_8f24c4db9ab1); } @@ -6757,6 +5750,7 @@ pub struct IFaxSecurity2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxSender(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxSender { @@ -6930,30 +5924,10 @@ impl IFaxSender { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxSender, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxSender { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxSender {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxSender { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxSender").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxSender { type Vtable = IFaxSender_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxSender { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxSender { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d879d7d_f57a_4cc6_a6f9_3ee5d527b46a); } @@ -7000,6 +5974,7 @@ pub struct IFaxSender_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxServer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxServer { @@ -7155,30 +6130,10 @@ impl IFaxServer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxServer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxServer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxServer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxServer { type Vtable = IFaxServer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x475b6469_90a5_4878_a577_17a86e8e3462); } @@ -7256,6 +6211,7 @@ pub struct IFaxServer_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxServer2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxServer2 { @@ -7435,30 +6391,10 @@ impl IFaxServer2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxServer2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxServer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxServer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxServer2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxServer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxServer2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxServer2 { type Vtable = IFaxServer2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxServer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxServer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x571ced0f_5609_4f40_9176_547e3a72ca7c); } @@ -7487,36 +6423,17 @@ pub struct IFaxServer2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxServerNotify(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxServerNotify {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxServerNotify, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxServerNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxServerNotify {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxServerNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxServerNotify").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxServerNotify { type Vtable = IFaxServerNotify_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxServerNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxServerNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e037b27_cf8a_4abd_b1e0_5704943bea6f); } @@ -7529,6 +6446,7 @@ pub struct IFaxServerNotify_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFaxServerNotify2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFaxServerNotify2 { @@ -7764,30 +6682,10 @@ impl IFaxServerNotify2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFaxServerNotify2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFaxServerNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFaxServerNotify2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFaxServerNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFaxServerNotify2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFaxServerNotify2 { type Vtable = IFaxServerNotify2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFaxServerNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFaxServerNotify2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec9c69b9_5fe7_4805_9467_82fcd96af903); } @@ -7903,6 +6801,7 @@ pub struct IFaxServerNotify2_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStiDevice(::windows_core::IUnknown); impl IStiDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7975,25 +6874,9 @@ impl IStiDevice { } } ::windows_core::imp::interface_hierarchy!(IStiDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStiDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStiDevice {} -impl ::core::fmt::Debug for IStiDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStiDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStiDevice { type Vtable = IStiDevice_Vtbl; } -impl ::core::clone::Clone for IStiDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStiDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cfa5a80_2dc8_11d0_90ea_00aa0060f86c); } @@ -8039,6 +6922,7 @@ pub struct IStiDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStiDeviceControl(::windows_core::IUnknown); impl IStiDeviceControl { pub unsafe fn Initialize(&self, dwdevicetype: u32, dwmode: u32, pwszportname: P0, dwflags: u32) -> ::windows_core::Result<()> @@ -8092,25 +6976,9 @@ impl IStiDeviceControl { } } ::windows_core::imp::interface_hierarchy!(IStiDeviceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStiDeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStiDeviceControl {} -impl ::core::fmt::Debug for IStiDeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStiDeviceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStiDeviceControl { type Vtable = IStiDeviceControl_Vtbl; } -impl ::core::clone::Clone for IStiDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStiDeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x128a9860_52dc_11d0_9edf_444553540000); } @@ -8147,6 +7015,7 @@ pub struct IStiDeviceControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStiUSD(::windows_core::IUnknown); impl IStiUSD { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -8220,25 +7089,9 @@ impl IStiUSD { } } ::windows_core::imp::interface_hierarchy!(IStiUSD, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStiUSD { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStiUSD {} -impl ::core::fmt::Debug for IStiUSD { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStiUSD").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStiUSD { type Vtable = IStiUSD_Vtbl; } -impl ::core::clone::Clone for IStiUSD { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStiUSD { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c9bb460_51ac_11d0_90ea_00aa0060f86c); } @@ -8283,6 +7136,7 @@ pub struct IStiUSD_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Fax\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStillImageW(::windows_core::IUnknown); impl IStillImageW { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8381,25 +7235,9 @@ impl IStillImageW { } } ::windows_core::imp::interface_hierarchy!(IStillImageW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStillImageW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStillImageW {} -impl ::core::fmt::Debug for IStillImageW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStillImageW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStillImageW { type Vtable = IStillImageW_Vtbl; } -impl ::core::clone::Clone for IStillImageW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStillImageW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x641bd880_2dc8_11d0_90ea_00aa0060f86c); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index b23a5d59e5..138cc53152 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -71,8 +71,8 @@ impl IFunctionDiscovery_Vtbl { RemoveInstance: RemoveInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IFunctionDiscoveryNotification_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -206,8 +206,8 @@ impl IFunctionDiscoveryProvider_Vtbl { InstanceReleased: InstanceReleased::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { CreateFunctionInstanceCollection: CreateFunctionInstanceCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -319,8 +319,8 @@ impl IFunctionDiscoveryProviderQuery_Vtbl { GetPropertyConstraints: GetPropertyConstraints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl IFunctionDiscoveryServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IFunctionInstance_Vtbl { GetCategory: GetCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -487,8 +487,8 @@ impl IFunctionInstanceCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -531,8 +531,8 @@ impl IFunctionInstanceCollectionQuery_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl IFunctionInstanceQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Execute: Execute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -593,8 +593,8 @@ impl IPNPXAssociation_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -628,8 +628,8 @@ impl IPNPXDeviceAssociation_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -712,8 +712,8 @@ impl IPropertyStoreCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -769,8 +769,8 @@ impl IProviderProperties_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -834,8 +834,8 @@ impl IProviderPropertyConstraintCollection_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -871,8 +871,8 @@ impl IProviderPublishing_Vtbl { RemoveInstance: RemoveInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -939,7 +939,7 @@ impl IProviderQueryConstraintCollection_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs index 430ffd3fe9..452b5aff11 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscovery(::windows_core::IUnknown); impl IFunctionDiscovery { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61,25 +62,9 @@ impl IFunctionDiscovery { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscovery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscovery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscovery {} -impl ::core::fmt::Debug for IFunctionDiscovery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscovery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscovery { type Vtable = IFunctionDiscovery_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscovery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscovery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4df99b70_e148_4432_b004_4c9eeb535a5e); } @@ -108,6 +93,7 @@ pub struct IFunctionDiscovery_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscoveryNotification(::windows_core::IUnknown); impl IFunctionDiscoveryNotification { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -132,25 +118,9 @@ impl IFunctionDiscoveryNotification { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscoveryNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscoveryNotification {} -impl ::core::fmt::Debug for IFunctionDiscoveryNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscoveryNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscoveryNotification { type Vtable = IFunctionDiscoveryNotification_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscoveryNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscoveryNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f6c1ba8_5330_422e_a368_572b244d3f87); } @@ -167,6 +137,7 @@ pub struct IFunctionDiscoveryNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscoveryProvider(::windows_core::IUnknown); impl IFunctionDiscoveryProvider { pub unsafe fn Initialize(&self, pifunctiondiscoveryproviderfactory: P0, pifunctiondiscoverynotification: P1, lciduserdefault: u32) -> ::windows_core::Result @@ -231,25 +202,9 @@ impl IFunctionDiscoveryProvider { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscoveryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscoveryProvider {} -impl ::core::fmt::Debug for IFunctionDiscoveryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscoveryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscoveryProvider { type Vtable = IFunctionDiscoveryProvider_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscoveryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscoveryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcde394f_1478_4813_a402_f6fb10657222); } @@ -283,6 +238,7 @@ pub struct IFunctionDiscoveryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscoveryProviderFactory(::windows_core::IUnknown); impl IFunctionDiscoveryProviderFactory { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -309,25 +265,9 @@ impl IFunctionDiscoveryProviderFactory { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscoveryProviderFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscoveryProviderFactory {} -impl ::core::fmt::Debug for IFunctionDiscoveryProviderFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscoveryProviderFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscoveryProviderFactory { type Vtable = IFunctionDiscoveryProviderFactory_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscoveryProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscoveryProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86443ff0_1ad5_4e68_a45a_40c2c329de3b); } @@ -347,6 +287,7 @@ pub struct IFunctionDiscoveryProviderFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscoveryProviderQuery(::windows_core::IUnknown); impl IFunctionDiscoveryProviderQuery { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -369,25 +310,9 @@ impl IFunctionDiscoveryProviderQuery { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscoveryProviderQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscoveryProviderQuery {} -impl ::core::fmt::Debug for IFunctionDiscoveryProviderQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscoveryProviderQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscoveryProviderQuery { type Vtable = IFunctionDiscoveryProviderQuery_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscoveryProviderQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscoveryProviderQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6876ea98_baec_46db_bc20_75a76e267a3a); } @@ -408,6 +333,7 @@ pub struct IFunctionDiscoveryProviderQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionDiscoveryServiceProvider(::windows_core::IUnknown); impl IFunctionDiscoveryServiceProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -422,25 +348,9 @@ impl IFunctionDiscoveryServiceProvider { } } ::windows_core::imp::interface_hierarchy!(IFunctionDiscoveryServiceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionDiscoveryServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionDiscoveryServiceProvider {} -impl ::core::fmt::Debug for IFunctionDiscoveryServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionDiscoveryServiceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionDiscoveryServiceProvider { type Vtable = IFunctionDiscoveryServiceProvider_Vtbl; } -impl ::core::clone::Clone for IFunctionDiscoveryServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionDiscoveryServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c81ed02_1b04_43f2_a451_69966cbcd1c2); } @@ -456,6 +366,7 @@ pub struct IFunctionDiscoveryServiceProvider_Vtbl { #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionInstance(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFunctionInstance { @@ -485,30 +396,10 @@ impl IFunctionInstance { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFunctionInstance, ::windows_core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFunctionInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFunctionInstance {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFunctionInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionInstance").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFunctionInstance { type Vtable = IFunctionInstance_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFunctionInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFunctionInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33591c10_0bed_4f02_b0ab_1530d5533ee9); } @@ -527,6 +418,7 @@ pub struct IFunctionInstance_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionInstanceCollection(::windows_core::IUnknown); impl IFunctionInstanceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -569,25 +461,9 @@ impl IFunctionInstanceCollection { } } ::windows_core::imp::interface_hierarchy!(IFunctionInstanceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionInstanceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionInstanceCollection {} -impl ::core::fmt::Debug for IFunctionInstanceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionInstanceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionInstanceCollection { type Vtable = IFunctionInstanceCollection_Vtbl; } -impl ::core::clone::Clone for IFunctionInstanceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionInstanceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0a3d895_855c_42a2_948d_2f97d450ecb1); } @@ -617,6 +493,7 @@ pub struct IFunctionInstanceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionInstanceCollectionQuery(::windows_core::IUnknown); impl IFunctionInstanceCollectionQuery { pub unsafe fn AddQueryConstraint(&self, pszconstraintname: P0, pszconstraintvalue: P1) -> ::windows_core::Result<()> @@ -637,25 +514,9 @@ impl IFunctionInstanceCollectionQuery { } } ::windows_core::imp::interface_hierarchy!(IFunctionInstanceCollectionQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionInstanceCollectionQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionInstanceCollectionQuery {} -impl ::core::fmt::Debug for IFunctionInstanceCollectionQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionInstanceCollectionQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionInstanceCollectionQuery { type Vtable = IFunctionInstanceCollectionQuery_Vtbl; } -impl ::core::clone::Clone for IFunctionInstanceCollectionQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionInstanceCollectionQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57cc6fd2_c09a_4289_bb72_25f04142058e); } @@ -672,6 +533,7 @@ pub struct IFunctionInstanceCollectionQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFunctionInstanceQuery(::windows_core::IUnknown); impl IFunctionInstanceQuery { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -682,25 +544,9 @@ impl IFunctionInstanceQuery { } } ::windows_core::imp::interface_hierarchy!(IFunctionInstanceQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFunctionInstanceQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFunctionInstanceQuery {} -impl ::core::fmt::Debug for IFunctionInstanceQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFunctionInstanceQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFunctionInstanceQuery { type Vtable = IFunctionInstanceQuery_Vtbl; } -impl ::core::clone::Clone for IFunctionInstanceQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFunctionInstanceQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6242bc6b_90ec_4b37_bb46_e229fd84ed95); } @@ -715,6 +561,7 @@ pub struct IFunctionInstanceQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPNPXAssociation(::windows_core::IUnknown); impl IPNPXAssociation { pub unsafe fn Associate(&self, pszsubcategory: P0) -> ::windows_core::Result<()> @@ -737,25 +584,9 @@ impl IPNPXAssociation { } } ::windows_core::imp::interface_hierarchy!(IPNPXAssociation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPNPXAssociation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPNPXAssociation {} -impl ::core::fmt::Debug for IPNPXAssociation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPNPXAssociation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPNPXAssociation { type Vtable = IPNPXAssociation_Vtbl; } -impl ::core::clone::Clone for IPNPXAssociation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPNPXAssociation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bd7e521_4da6_42d5_81ba_1981b6b94075); } @@ -769,6 +600,7 @@ pub struct IPNPXAssociation_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPNPXDeviceAssociation(::windows_core::IUnknown); impl IPNPXDeviceAssociation { pub unsafe fn Associate(&self, pszsubcategory: P0, pifunctiondiscoverynotification: P1) -> ::windows_core::Result<()> @@ -794,25 +626,9 @@ impl IPNPXDeviceAssociation { } } ::windows_core::imp::interface_hierarchy!(IPNPXDeviceAssociation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPNPXDeviceAssociation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPNPXDeviceAssociation {} -impl ::core::fmt::Debug for IPNPXDeviceAssociation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPNPXDeviceAssociation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPNPXDeviceAssociation { type Vtable = IPNPXDeviceAssociation_Vtbl; } -impl ::core::clone::Clone for IPNPXDeviceAssociation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPNPXDeviceAssociation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeed366d0_35b8_4fc5_8d20_7e5bd31f6ded); } @@ -826,6 +642,7 @@ pub struct IPNPXDeviceAssociation_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStoreCollection(::windows_core::IUnknown); impl IPropertyStoreCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -868,25 +685,9 @@ impl IPropertyStoreCollection { } } ::windows_core::imp::interface_hierarchy!(IPropertyStoreCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyStoreCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStoreCollection {} -impl ::core::fmt::Debug for IPropertyStoreCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStoreCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStoreCollection { type Vtable = IPropertyStoreCollection_Vtbl; } -impl ::core::clone::Clone for IPropertyStoreCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStoreCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd14d9c30_12d2_42d8_bce4_c60c2bb226fa); } @@ -916,6 +717,7 @@ pub struct IPropertyStoreCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderProperties(::windows_core::IUnknown); impl IProviderProperties { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -954,25 +756,9 @@ impl IProviderProperties { } } ::windows_core::imp::interface_hierarchy!(IProviderProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderProperties {} -impl ::core::fmt::Debug for IProviderProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderProperties { type Vtable = IProviderProperties_Vtbl; } -impl ::core::clone::Clone for IProviderProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf986ea6_3b5f_4c5f_b88a_2f8b20ceef17); } @@ -999,6 +785,7 @@ pub struct IProviderProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderPropertyConstraintCollection(::windows_core::IUnknown); impl IProviderPropertyConstraintCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1028,25 +815,9 @@ impl IProviderPropertyConstraintCollection { } } ::windows_core::imp::interface_hierarchy!(IProviderPropertyConstraintCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderPropertyConstraintCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderPropertyConstraintCollection {} -impl ::core::fmt::Debug for IProviderPropertyConstraintCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderPropertyConstraintCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderPropertyConstraintCollection { type Vtable = IProviderPropertyConstraintCollection_Vtbl; } -impl ::core::clone::Clone for IProviderPropertyConstraintCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderPropertyConstraintCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4fae42f_5778_4a13_8540_b5fd8c1398dd); } @@ -1072,6 +843,7 @@ pub struct IProviderPropertyConstraintCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderPublishing(::windows_core::IUnknown); impl IProviderPublishing { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1093,25 +865,9 @@ impl IProviderPublishing { } } ::windows_core::imp::interface_hierarchy!(IProviderPublishing, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderPublishing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderPublishing {} -impl ::core::fmt::Debug for IProviderPublishing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderPublishing").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderPublishing { type Vtable = IProviderPublishing_Vtbl; } -impl ::core::clone::Clone for IProviderPublishing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderPublishing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd1b9a04_206c_4a05_a0c8_1635a21a2b7c); } @@ -1127,6 +883,7 @@ pub struct IProviderPublishing_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderQueryConstraintCollection(::windows_core::IUnknown); impl IProviderQueryConstraintCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1154,25 +911,9 @@ impl IProviderQueryConstraintCollection { } } ::windows_core::imp::interface_hierarchy!(IProviderQueryConstraintCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderQueryConstraintCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderQueryConstraintCollection {} -impl ::core::fmt::Debug for IProviderQueryConstraintCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderQueryConstraintCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderQueryConstraintCollection { type Vtable = IProviderQueryConstraintCollection_Vtbl; } -impl ::core::clone::Clone for IProviderQueryConstraintCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderQueryConstraintCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c243e11_3261_4bcd_b922_84a873d460ae); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index e5f4b0a90b..fdb0ecd657 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -102,8 +102,8 @@ impl ICivicAddressReport_Vtbl { GetDetailLevel: GetDetailLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl ICivicAddressReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), CivicAddressReport: CivicAddressReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IDefaultLocation_Vtbl { GetReport: GetReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl IDispCivicAddressReport_Vtbl { Timestamp: Timestamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -379,8 +379,8 @@ impl IDispLatLongReport_Vtbl { Timestamp: Timestamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -461,8 +461,8 @@ impl ILatLongReport_Vtbl { GetAltitudeError: GetAltitudeError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -488,8 +488,8 @@ impl ILatLongReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), LatLongReport: LatLongReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -592,8 +592,8 @@ impl ILocation_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl ILocationEvents_Vtbl { OnStatusChanged: OnStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -648,8 +648,8 @@ impl ILocationPower_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl ILocationReport_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -795,8 +795,8 @@ impl ILocationReportFactory_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -809,8 +809,8 @@ impl _ICivicAddressReportFactoryEvents_Vtbl { pub const fn new, Impl: _ICivicAddressReportFactoryEvents_Impl, const OFFSET: isize>() -> _ICivicAddressReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -823,7 +823,7 @@ impl _ILatLongReportFactoryEvents_Vtbl { pub const fn new, Impl: _ILatLongReportFactoryEvents_Impl, const OFFSET: isize>() -> _ILatLongReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs index 2994b4fbd2..134e5b67e2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICivicAddressReport(::windows_core::IUnknown); impl ICivicAddressReport { pub unsafe fn GetSensorID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -48,25 +49,9 @@ impl ICivicAddressReport { } } ::windows_core::imp::interface_hierarchy!(ICivicAddressReport, ::windows_core::IUnknown, ILocationReport); -impl ::core::cmp::PartialEq for ICivicAddressReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICivicAddressReport {} -impl ::core::fmt::Debug for ICivicAddressReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICivicAddressReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICivicAddressReport { type Vtable = ICivicAddressReport_Vtbl; } -impl ::core::clone::Clone for ICivicAddressReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICivicAddressReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0b19f70_4adf_445d_87f2_cad8fd711792); } @@ -85,6 +70,7 @@ pub struct ICivicAddressReport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICivicAddressReportFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICivicAddressReportFactory { @@ -125,30 +111,10 @@ impl ICivicAddressReportFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICivicAddressReportFactory, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICivicAddressReportFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICivicAddressReportFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICivicAddressReportFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICivicAddressReportFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICivicAddressReportFactory { type Vtable = ICivicAddressReportFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICivicAddressReportFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICivicAddressReportFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf773b93_c64f_4bee_beb2_67c0b8df66e0); } @@ -164,6 +130,7 @@ pub struct ICivicAddressReportFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultLocation(::windows_core::IUnknown); impl IDefaultLocation { pub unsafe fn SetReport(&self, reporttype: *const ::windows_core::GUID, plocationreport: P0) -> ::windows_core::Result<()> @@ -178,25 +145,9 @@ impl IDefaultLocation { } } ::windows_core::imp::interface_hierarchy!(IDefaultLocation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDefaultLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDefaultLocation {} -impl ::core::fmt::Debug for IDefaultLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDefaultLocation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDefaultLocation { type Vtable = IDefaultLocation_Vtbl; } -impl ::core::clone::Clone for IDefaultLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa65af77e_969a_4a2e_8aca_33bb7cbb1235); } @@ -210,6 +161,7 @@ pub struct IDefaultLocation_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispCivicAddressReport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDispCivicAddressReport { @@ -249,30 +201,10 @@ impl IDispCivicAddressReport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDispCivicAddressReport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDispCivicAddressReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDispCivicAddressReport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDispCivicAddressReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispCivicAddressReport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDispCivicAddressReport { type Vtable = IDispCivicAddressReport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDispCivicAddressReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDispCivicAddressReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16ff1a34_9e30_42c3_b44d_e22513b5767a); } @@ -293,6 +225,7 @@ pub struct IDispCivicAddressReport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispLatLongReport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDispLatLongReport { @@ -324,30 +257,10 @@ impl IDispLatLongReport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDispLatLongReport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDispLatLongReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDispLatLongReport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDispLatLongReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispLatLongReport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDispLatLongReport { type Vtable = IDispLatLongReport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDispLatLongReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDispLatLongReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ae32723_389b_4a11_9957_5bdd48fc9617); } @@ -365,6 +278,7 @@ pub struct IDispLatLongReport_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILatLongReport(::windows_core::IUnknown); impl ILatLongReport { pub unsafe fn GetSensorID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -405,25 +319,9 @@ impl ILatLongReport { } } ::windows_core::imp::interface_hierarchy!(ILatLongReport, ::windows_core::IUnknown, ILocationReport); -impl ::core::cmp::PartialEq for ILatLongReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILatLongReport {} -impl ::core::fmt::Debug for ILatLongReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILatLongReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILatLongReport { type Vtable = ILatLongReport_Vtbl; } -impl ::core::clone::Clone for ILatLongReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILatLongReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fed806d_0ef8_4f07_80ac_36a0beae3134); } @@ -440,6 +338,7 @@ pub struct ILatLongReport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILatLongReportFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILatLongReportFactory { @@ -480,30 +379,10 @@ impl ILatLongReportFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILatLongReportFactory, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILatLongReportFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILatLongReportFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILatLongReportFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILatLongReportFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILatLongReportFactory { type Vtable = ILatLongReportFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILatLongReportFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILatLongReportFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f0804cb_b114_447d_83dd_390174ebb082); } @@ -519,6 +398,7 @@ pub struct ILatLongReportFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocation(::windows_core::IUnknown); impl ILocation { pub unsafe fn RegisterForReport(&self, pevents: P0, reporttype: *const ::windows_core::GUID, dwrequestedreportinterval: u32) -> ::windows_core::Result<()> @@ -567,25 +447,9 @@ impl ILocation { } } ::windows_core::imp::interface_hierarchy!(ILocation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILocation {} -impl ::core::fmt::Debug for ILocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILocation { type Vtable = ILocation_Vtbl; } -impl ::core::clone::Clone for ILocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab2ece69_56d9_4f28_b525_de1b0ee44237); } @@ -614,6 +478,7 @@ pub struct ILocation_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationEvents(::windows_core::IUnknown); impl ILocationEvents { pub unsafe fn OnLocationChanged(&self, reporttype: *const ::windows_core::GUID, plocationreport: P0) -> ::windows_core::Result<()> @@ -627,25 +492,9 @@ impl ILocationEvents { } } ::windows_core::imp::interface_hierarchy!(ILocationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILocationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILocationEvents {} -impl ::core::fmt::Debug for ILocationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILocationEvents { type Vtable = ILocationEvents_Vtbl; } -impl ::core::clone::Clone for ILocationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcae02bbf_798b_4508_a207_35a7906dc73d); } @@ -658,6 +507,7 @@ pub struct ILocationEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationPower(::windows_core::IUnknown); impl ILocationPower { pub unsafe fn Connect(&self) -> ::windows_core::Result<()> { @@ -668,25 +518,9 @@ impl ILocationPower { } } ::windows_core::imp::interface_hierarchy!(ILocationPower, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILocationPower { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILocationPower {} -impl ::core::fmt::Debug for ILocationPower { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocationPower").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILocationPower { type Vtable = ILocationPower_Vtbl; } -impl ::core::clone::Clone for ILocationPower { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationPower { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x193e7729_ab6b_4b12_8617_7596e1bb191c); } @@ -699,6 +533,7 @@ pub struct ILocationPower_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationReport(::windows_core::IUnknown); impl ILocationReport { pub unsafe fn GetSensorID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -719,25 +554,9 @@ impl ILocationReport { } } ::windows_core::imp::interface_hierarchy!(ILocationReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILocationReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILocationReport {} -impl ::core::fmt::Debug for ILocationReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocationReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILocationReport { type Vtable = ILocationReport_Vtbl; } -impl ::core::clone::Clone for ILocationReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8b7f7ee_75d0_4db9_b62d_7a0f369ca456); } @@ -758,6 +577,7 @@ pub struct ILocationReport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationReportFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILocationReportFactory { @@ -792,30 +612,10 @@ impl ILocationReportFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILocationReportFactory, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILocationReportFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILocationReportFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILocationReportFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocationReportFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILocationReportFactory { type Vtable = ILocationReportFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILocationReportFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILocationReportFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2daec322_90b2_47e4_bb08_0da841935a6b); } @@ -836,36 +636,17 @@ pub struct ILocationReportFactory_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ICivicAddressReportFactoryEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ICivicAddressReportFactoryEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_ICivicAddressReportFactoryEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _ICivicAddressReportFactoryEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _ICivicAddressReportFactoryEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _ICivicAddressReportFactoryEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ICivicAddressReportFactoryEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _ICivicAddressReportFactoryEvents { type Vtable = _ICivicAddressReportFactoryEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _ICivicAddressReportFactoryEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _ICivicAddressReportFactoryEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96039ff_72ec_4617_89bd_84d88bedc722); } @@ -878,36 +659,17 @@ pub struct _ICivicAddressReportFactoryEvents_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ILatLongReportFactoryEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ILatLongReportFactoryEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_ILatLongReportFactoryEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _ILatLongReportFactoryEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _ILatLongReportFactoryEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _ILatLongReportFactoryEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ILatLongReportFactoryEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _ILatLongReportFactoryEvents { type Vtable = _ILatLongReportFactoryEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _ILatLongReportFactoryEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _ILatLongReportFactoryEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16ee6cb7_ab3c_424b_849f_269be551fcbc); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs index fb8b54ffdd..74f06c9be4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs @@ -15,8 +15,8 @@ impl IDirectInput2A_Vtbl { } Self { base__: IDirectInputA_Vtbl::new::(), FindDevice: FindDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IDirectInput2W_Vtbl { } Self { base__: IDirectInputW_Vtbl::new::(), FindDevice: FindDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl IDirectInput7A_Vtbl { } Self { base__: IDirectInput2A_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IDirectInput7W_Vtbl { } Self { base__: IDirectInput2W_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl IDirectInput8A_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDirectInput8W_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -276,8 +276,8 @@ impl IDirectInputA_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IDirectInputDevice2A_Vtbl { SendDeviceData: SendDeviceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -436,8 +436,8 @@ impl IDirectInputDevice2W_Vtbl { SendDeviceData: SendDeviceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -467,8 +467,8 @@ impl IDirectInputDevice7A_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IDirectInputDevice7W_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -718,8 +718,8 @@ impl IDirectInputDevice8A_Vtbl { GetImageInfo: GetImageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -938,8 +938,8 @@ impl IDirectInputDevice8W_Vtbl { GetImageInfo: GetImageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IDirectInputDeviceA_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1182,8 +1182,8 @@ impl IDirectInputDeviceW_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1269,8 +1269,8 @@ impl IDirectInputEffect_Vtbl { Escape: Escape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"implement\"`*"] @@ -1360,8 +1360,8 @@ impl IDirectInputEffectDriver_Vtbl { GetEffectStatus: GetEffectStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -1489,8 +1489,8 @@ impl IDirectInputJoyConfig_Vtbl { OpenConfigKey: OpenConfigKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl IDirectInputJoyConfig8_Vtbl { OpenAppStatusKey: OpenAppStatusKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1670,7 +1670,7 @@ impl IDirectInputW_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index bbf053d622..6b3a3879c0 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -200,152 +200,152 @@ where #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: *mut HIDP_BUTTON_ARRAY_DATA, buttondatalength: *mut u16, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: *mut HIDP_BUTTON_ARRAY_DATA, buttondatalength: *mut u16, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetButtonArray(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, buttondata : *mut HIDP_BUTTON_ARRAY_DATA, buttondatalength : *mut u16, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetButtonArray(reporttype, usagepage, linkcollection, usage, buttondata, buttondatalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetButtonArray(reporttype, usagepage, linkcollection, usage, buttondata, buttondatalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetButtonCaps(reporttype: HIDP_REPORT_TYPE, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: P0) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetButtonCaps(reporttype: HIDP_REPORT_TYPE, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetButtonCaps(reporttype : HIDP_REPORT_TYPE, buttoncaps : *mut HIDP_BUTTON_CAPS, buttoncapslength : *mut u16, preparseddata : PHIDP_PREPARSED_DATA) -> super::super::Foundation:: NTSTATUS); - HidP_GetButtonCaps(reporttype, buttoncaps, buttoncapslength, preparseddata.into_param().abi()).ok() + HidP_GetButtonCaps(reporttype, buttoncaps, buttoncapslength, preparseddata.into_param().abi()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetCaps(preparseddata: P0, capabilities: *mut HIDP_CAPS) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetCaps(preparseddata: P0, capabilities: *mut HIDP_CAPS) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetCaps(preparseddata : PHIDP_PREPARSED_DATA, capabilities : *mut HIDP_CAPS) -> super::super::Foundation:: NTSTATUS); - HidP_GetCaps(preparseddata.into_param().abi(), capabilities).ok() + HidP_GetCaps(preparseddata.into_param().abi(), capabilities) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetData(reporttype : HIDP_REPORT_TYPE, datalist : *mut HIDP_DATA, datalength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetData(reporttype, datalist, datalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetData(reporttype, datalist, datalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetExtendedAttributes(reporttype: HIDP_REPORT_TYPE, dataindex: u16, preparseddata: P0, attributes: *mut HIDP_EXTENDED_ATTRIBUTES, lengthattributes: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetExtendedAttributes(reporttype: HIDP_REPORT_TYPE, dataindex: u16, preparseddata: P0, attributes: *mut HIDP_EXTENDED_ATTRIBUTES, lengthattributes: *mut u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetExtendedAttributes(reporttype : HIDP_REPORT_TYPE, dataindex : u16, preparseddata : PHIDP_PREPARSED_DATA, attributes : *mut HIDP_EXTENDED_ATTRIBUTES, lengthattributes : *mut u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetExtendedAttributes(reporttype, dataindex, preparseddata.into_param().abi(), attributes, lengthattributes).ok() + HidP_GetExtendedAttributes(reporttype, dataindex, preparseddata.into_param().abi(), attributes, lengthattributes) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetLinkCollectionNodes(linkcollectionnodes: *mut HIDP_LINK_COLLECTION_NODE, linkcollectionnodeslength: *mut u32, preparseddata: P0) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetLinkCollectionNodes(linkcollectionnodes: *mut HIDP_LINK_COLLECTION_NODE, linkcollectionnodeslength: *mut u32, preparseddata: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetLinkCollectionNodes(linkcollectionnodes : *mut HIDP_LINK_COLLECTION_NODE, linkcollectionnodeslength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA) -> super::super::Foundation:: NTSTATUS); - HidP_GetLinkCollectionNodes(linkcollectionnodes, linkcollectionnodeslength, preparseddata.into_param().abi()).ok() + HidP_GetLinkCollectionNodes(linkcollectionnodes, linkcollectionnodeslength, preparseddata.into_param().abi()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut i32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut i32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetScaledUsageValue(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : *mut i32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetSpecificButtonCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: P0) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetSpecificButtonCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttoncaps: *mut HIDP_BUTTON_CAPS, buttoncapslength: *mut u16, preparseddata: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetSpecificButtonCaps(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, buttoncaps : *mut HIDP_BUTTON_CAPS, buttoncapslength : *mut u16, preparseddata : PHIDP_PREPARSED_DATA) -> super::super::Foundation:: NTSTATUS); - HidP_GetSpecificButtonCaps(reporttype, usagepage, linkcollection, usage, buttoncaps, buttoncapslength, preparseddata.into_param().abi()).ok() + HidP_GetSpecificButtonCaps(reporttype, usagepage, linkcollection, usage, buttoncaps, buttoncapslength, preparseddata.into_param().abi()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetSpecificValueCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: P0) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetSpecificValueCaps(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetSpecificValueCaps(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, valuecaps : *mut HIDP_VALUE_CAPS, valuecapslength : *mut u16, preparseddata : PHIDP_PREPARSED_DATA) -> super::super::Foundation:: NTSTATUS); - HidP_GetSpecificValueCaps(reporttype, usagepage, linkcollection, usage, valuecaps, valuecapslength, preparseddata.into_param().abi()).ok() + HidP_GetSpecificValueCaps(reporttype, usagepage, linkcollection, usage, valuecaps, valuecapslength, preparseddata.into_param().abi()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut u32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: *mut u32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetUsageValue(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &mut [u8], preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &mut [u8], preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetUsageValueArray(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : ::windows_core::PSTR, usagevaluebytelength : u16, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetUsages(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usagelist : *mut u16, usagelength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetUsagesEx(reporttype: HIDP_REPORT_TYPE, linkcollection: u16, buttonlist: *mut USAGE_AND_PAGE, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetUsagesEx(reporttype: HIDP_REPORT_TYPE, linkcollection: u16, buttonlist: *mut USAGE_AND_PAGE, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetUsagesEx(reporttype : HIDP_REPORT_TYPE, linkcollection : u16, buttonlist : *mut USAGE_AND_PAGE, usagelength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_GetUsagesEx(reporttype, linkcollection, buttonlist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_GetUsagesEx(reporttype, linkcollection, buttonlist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_GetValueCaps(reporttype: HIDP_REPORT_TYPE, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: P0) -> ::windows_core::Result<()> +pub unsafe fn HidP_GetValueCaps(reporttype: HIDP_REPORT_TYPE, valuecaps: *mut HIDP_VALUE_CAPS, valuecapslength: *mut u16, preparseddata: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_GetValueCaps(reporttype : HIDP_REPORT_TYPE, valuecaps : *mut HIDP_VALUE_CAPS, valuecapslength : *mut u16, preparseddata : PHIDP_PREPARSED_DATA) -> super::super::Foundation:: NTSTATUS); - HidP_GetValueCaps(reporttype, valuecaps, valuecapslength, preparseddata.into_param().abi()).ok() + HidP_GetValueCaps(reporttype, valuecaps, valuecapslength, preparseddata.into_param().abi()) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_InitializeReportForID(reporttype: HIDP_REPORT_TYPE, reportid: u8, preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_InitializeReportForID(reporttype: HIDP_REPORT_TYPE, reportid: u8, preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_InitializeReportForID(reporttype : HIDP_REPORT_TYPE, reportid : u8, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_InitializeReportForID(reporttype, reportid, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_InitializeReportForID(reporttype, reportid, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] @@ -368,86 +368,86 @@ where #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: &[HIDP_BUTTON_ARRAY_DATA], preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetButtonArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, buttondata: &[HIDP_BUTTON_ARRAY_DATA], preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetButtonArray(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, buttondata : *const HIDP_BUTTON_ARRAY_DATA, buttondatalength : u16, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetButtonArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(buttondata.as_ptr()), buttondata.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetButtonArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(buttondata.as_ptr()), buttondata.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetData(reporttype: HIDP_REPORT_TYPE, datalist: *mut HIDP_DATA, datalength: *mut u32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetData(reporttype : HIDP_REPORT_TYPE, datalist : *mut HIDP_DATA, datalength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetData(reporttype, datalist, datalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetData(reporttype, datalist, datalength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: i32, preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetScaledUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: i32, preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetScaledUsageValue(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : i32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetScaledUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: u32, preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetUsageValue(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: u32, preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetUsageValue(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetUsageValue(reporttype, usagepage, linkcollection, usage, usagevalue, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &[u8], preparseddata: P0, report: &mut [u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetUsageValueArray(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usage: u16, usagevalue: &[u8], preparseddata: P0, report: &mut [u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetUsageValueArray(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usage : u16, usagevalue : ::windows_core::PCSTR, usagevaluebytelength : u16, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetUsageValueArray(reporttype, usagepage, linkcollection, usage, ::core::mem::transmute(usagevalue.as_ptr()), usagevalue.len() as _, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_SetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_SetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("hid.dll" "system" fn HidP_SetUsages(reporttype : HIDP_REPORT_TYPE, usagepage : u16, linkcollection : u16, usagelist : *mut u16, usagelength : *mut u32, preparseddata : PHIDP_PREPARSED_DATA, report : ::windows_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_SetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_SetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_TranslateUsagesToI8042ScanCodes(changedusagelist: &[u16], keyaction: HIDP_KEYBOARD_DIRECTION, modifierstate: *mut HIDP_KEYBOARD_MODIFIER_STATE, insertcodesprocedure: PHIDP_INSERT_SCANCODES, insertcodescontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn HidP_TranslateUsagesToI8042ScanCodes(changedusagelist: &[u16], keyaction: HIDP_KEYBOARD_DIRECTION, modifierstate: *mut HIDP_KEYBOARD_MODIFIER_STATE, insertcodesprocedure: PHIDP_INSERT_SCANCODES, insertcodescontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("hid.dll" "system" fn HidP_TranslateUsagesToI8042ScanCodes(changedusagelist : *const u16, usagelistlength : u32, keyaction : HIDP_KEYBOARD_DIRECTION, modifierstate : *mut HIDP_KEYBOARD_MODIFIER_STATE, insertcodesprocedure : PHIDP_INSERT_SCANCODES, insertcodescontext : *const ::core::ffi::c_void) -> super::super::Foundation:: NTSTATUS); - HidP_TranslateUsagesToI8042ScanCodes(::core::mem::transmute(changedusagelist.as_ptr()), changedusagelist.len() as _, keyaction, modifierstate, insertcodesprocedure, ::core::mem::transmute(insertcodescontext.unwrap_or(::std::ptr::null()))).ok() + HidP_TranslateUsagesToI8042ScanCodes(::core::mem::transmute(changedusagelist.as_ptr()), changedusagelist.len() as _, keyaction, modifierstate, insertcodesprocedure, ::core::mem::transmute(insertcodescontext.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_UnsetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> ::windows_core::Result<()> +pub unsafe fn HidP_UnsetUsages(reporttype: HIDP_REPORT_TYPE, usagepage: u16, linkcollection: u16, usagelist: *mut u16, usagelength: *mut u32, preparseddata: P0, report: &[u8]) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::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_core::PCSTR, reportlength : u32) -> super::super::Foundation:: NTSTATUS); - HidP_UnsetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _).ok() + HidP_UnsetUsages(reporttype, usagepage, linkcollection, usagelist, usagelength, preparseddata.into_param().abi(), ::core::mem::transmute(report.as_ptr()), report.len() as _) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HidP_UsageListDifference(previoususagelist: *const u16, currentusagelist: *const u16, breakusagelist: *mut u16, makeusagelist: *mut u16, usagelistlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn HidP_UsageListDifference(previoususagelist: *const u16, currentusagelist: *const u16, breakusagelist: *mut u16, makeusagelist: *mut u16, usagelistlength: 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); - HidP_UsageListDifference(previoususagelist, currentusagelist, breakusagelist, makeusagelist, usagelistlength).ok() + HidP_UsageListDifference(previoususagelist, currentusagelist, breakusagelist, makeusagelist, usagelistlength) } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[inline] @@ -457,6 +457,7 @@ pub unsafe fn joyConfigChanged(dwflags: u32) -> u32 { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput2A(::windows_core::IUnknown); impl IDirectInput2A { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -497,25 +498,9 @@ impl IDirectInput2A { } } ::windows_core::imp::interface_hierarchy!(IDirectInput2A, ::windows_core::IUnknown, IDirectInputA); -impl ::core::cmp::PartialEq for IDirectInput2A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput2A {} -impl ::core::fmt::Debug for IDirectInput2A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput2A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput2A { type Vtable = IDirectInput2A_Vtbl; } -impl ::core::clone::Clone for IDirectInput2A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput2A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e662_aa8a_11cf_bfc7_444553540000); } @@ -527,6 +512,7 @@ pub struct IDirectInput2A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput2W(::windows_core::IUnknown); impl IDirectInput2W { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -567,25 +553,9 @@ impl IDirectInput2W { } } ::windows_core::imp::interface_hierarchy!(IDirectInput2W, ::windows_core::IUnknown, IDirectInputW); -impl ::core::cmp::PartialEq for IDirectInput2W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput2W {} -impl ::core::fmt::Debug for IDirectInput2W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput2W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput2W { type Vtable = IDirectInput2W_Vtbl; } -impl ::core::clone::Clone for IDirectInput2W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput2W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e663_aa8a_11cf_bfc7_444553540000); } @@ -597,6 +567,7 @@ pub struct IDirectInput2W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput7A(::windows_core::IUnknown); impl IDirectInput7A { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -643,25 +614,9 @@ impl IDirectInput7A { } } ::windows_core::imp::interface_hierarchy!(IDirectInput7A, ::windows_core::IUnknown, IDirectInputA, IDirectInput2A); -impl ::core::cmp::PartialEq for IDirectInput7A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput7A {} -impl ::core::fmt::Debug for IDirectInput7A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput7A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput7A { type Vtable = IDirectInput7A_Vtbl; } -impl ::core::clone::Clone for IDirectInput7A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput7A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a4cb684_236d_11d3_8e9d_00c04f6844ae); } @@ -673,6 +628,7 @@ pub struct IDirectInput7A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput7W(::windows_core::IUnknown); impl IDirectInput7W { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -719,25 +675,9 @@ impl IDirectInput7W { } } ::windows_core::imp::interface_hierarchy!(IDirectInput7W, ::windows_core::IUnknown, IDirectInputW, IDirectInput2W); -impl ::core::cmp::PartialEq for IDirectInput7W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput7W {} -impl ::core::fmt::Debug for IDirectInput7W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput7W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput7W { type Vtable = IDirectInput7W_Vtbl; } -impl ::core::clone::Clone for IDirectInput7W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput7W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a4cb685_236d_11d3_8e9d_00c04f6844ae); } @@ -749,6 +689,7 @@ pub struct IDirectInput7W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput8A(::windows_core::IUnknown); impl IDirectInput8A { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -802,25 +743,9 @@ impl IDirectInput8A { } } ::windows_core::imp::interface_hierarchy!(IDirectInput8A, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInput8A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput8A {} -impl ::core::fmt::Debug for IDirectInput8A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput8A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput8A { type Vtable = IDirectInput8A_Vtbl; } -impl ::core::clone::Clone for IDirectInput8A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput8A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf798030_483a_4da2_aa99_5d64ed369700); } @@ -854,6 +779,7 @@ pub struct IDirectInput8A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInput8W(::windows_core::IUnknown); impl IDirectInput8W { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -907,25 +833,9 @@ impl IDirectInput8W { } } ::windows_core::imp::interface_hierarchy!(IDirectInput8W, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInput8W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInput8W {} -impl ::core::fmt::Debug for IDirectInput8W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInput8W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInput8W { type Vtable = IDirectInput8W_Vtbl; } -impl ::core::clone::Clone for IDirectInput8W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInput8W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf798031_483a_4da2_aa99_5d64ed369700); } @@ -959,6 +869,7 @@ pub struct IDirectInput8W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputA(::windows_core::IUnknown); impl IDirectInputA { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -993,25 +904,9 @@ impl IDirectInputA { } } ::windows_core::imp::interface_hierarchy!(IDirectInputA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputA {} -impl ::core::fmt::Debug for IDirectInputA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputA { type Vtable = IDirectInputA_Vtbl; } -impl ::core::clone::Clone for IDirectInputA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89521360_aa8a_11cf_bfc7_444553540000); } @@ -1036,6 +931,7 @@ pub struct IDirectInputA_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice2A(::windows_core::IUnknown); impl IDirectInputDevice2A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -1141,25 +1037,9 @@ impl IDirectInputDevice2A { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice2A, ::windows_core::IUnknown, IDirectInputDeviceA); -impl ::core::cmp::PartialEq for IDirectInputDevice2A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice2A {} -impl ::core::fmt::Debug for IDirectInputDevice2A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice2A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice2A { type Vtable = IDirectInputDevice2A_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice2A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice2A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e682_c92e_11cf_bfc7_444553540000); } @@ -1185,6 +1065,7 @@ pub struct IDirectInputDevice2A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice2W(::windows_core::IUnknown); impl IDirectInputDevice2W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -1290,25 +1171,9 @@ impl IDirectInputDevice2W { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice2W, ::windows_core::IUnknown, IDirectInputDeviceW); -impl ::core::cmp::PartialEq for IDirectInputDevice2W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice2W {} -impl ::core::fmt::Debug for IDirectInputDevice2W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice2W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice2W { type Vtable = IDirectInputDevice2W_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice2W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice2W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e683_c92e_11cf_bfc7_444553540000); } @@ -1334,6 +1199,7 @@ pub struct IDirectInputDevice2W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice7A(::windows_core::IUnknown); impl IDirectInputDevice7A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -1453,25 +1319,9 @@ impl IDirectInputDevice7A { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice7A, ::windows_core::IUnknown, IDirectInputDeviceA, IDirectInputDevice2A); -impl ::core::cmp::PartialEq for IDirectInputDevice7A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice7A {} -impl ::core::fmt::Debug for IDirectInputDevice7A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice7A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice7A { type Vtable = IDirectInputDevice7A_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice7A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice7A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57d7c6bc_2356_11d3_8e9d_00c04f6844ae); } @@ -1487,6 +1337,7 @@ pub struct IDirectInputDevice7A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice7W(::windows_core::IUnknown); impl IDirectInputDevice7W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -1606,25 +1457,9 @@ impl IDirectInputDevice7W { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice7W, ::windows_core::IUnknown, IDirectInputDeviceW, IDirectInputDevice2W); -impl ::core::cmp::PartialEq for IDirectInputDevice7W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice7W {} -impl ::core::fmt::Debug for IDirectInputDevice7W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice7W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice7W { type Vtable = IDirectInputDevice7W_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice7W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice7W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57d7c6bd_2356_11d3_8e9d_00c04f6844ae); } @@ -1640,6 +1475,7 @@ pub struct IDirectInputDevice7W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice8A(::windows_core::IUnknown); impl IDirectInputDevice8A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -1780,25 +1616,9 @@ impl IDirectInputDevice8A { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice8A, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputDevice8A { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice8A {} -impl ::core::fmt::Debug for IDirectInputDevice8A { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice8A").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice8A { type Vtable = IDirectInputDevice8A_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice8A { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice8A { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54d41080_dc15_4833_a41b_748f73a38179); } @@ -1871,6 +1691,7 @@ pub struct IDirectInputDevice8A_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDevice8W(::windows_core::IUnknown); impl IDirectInputDevice8W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -2011,25 +1832,9 @@ impl IDirectInputDevice8W { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDevice8W, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputDevice8W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDevice8W {} -impl ::core::fmt::Debug for IDirectInputDevice8W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDevice8W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDevice8W { type Vtable = IDirectInputDevice8W_Vtbl; } -impl ::core::clone::Clone for IDirectInputDevice8W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDevice8W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54d41081_dc15_4833_a41b_748f73a38179); } @@ -2102,6 +1907,7 @@ pub struct IDirectInputDevice8W_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDeviceA(::windows_core::IUnknown); impl IDirectInputDeviceA { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -2173,25 +1979,9 @@ impl IDirectInputDeviceA { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDeviceA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputDeviceA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDeviceA {} -impl ::core::fmt::Debug for IDirectInputDeviceA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDeviceA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDeviceA { type Vtable = IDirectInputDeviceA_Vtbl; } -impl ::core::clone::Clone for IDirectInputDeviceA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDeviceA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e680_c92e_11cf_bfc7_444553540000); } @@ -2232,6 +2022,7 @@ pub struct IDirectInputDeviceA_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputDeviceW(::windows_core::IUnknown); impl IDirectInputDeviceW { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> ::windows_core::Result<()> { @@ -2303,25 +2094,9 @@ impl IDirectInputDeviceW { } } ::windows_core::imp::interface_hierarchy!(IDirectInputDeviceW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputDeviceW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputDeviceW {} -impl ::core::fmt::Debug for IDirectInputDeviceW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputDeviceW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputDeviceW { type Vtable = IDirectInputDeviceW_Vtbl; } -impl ::core::clone::Clone for IDirectInputDeviceW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputDeviceW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5944e681_c92e_11cf_bfc7_444553540000); } @@ -2362,6 +2137,7 @@ pub struct IDirectInputDeviceW_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputEffect(::windows_core::IUnknown); impl IDirectInputEffect { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2401,25 +2177,9 @@ impl IDirectInputEffect { } } ::windows_core::imp::interface_hierarchy!(IDirectInputEffect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputEffect {} -impl ::core::fmt::Debug for IDirectInputEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputEffect { type Vtable = IDirectInputEffect_Vtbl; } -impl ::core::clone::Clone for IDirectInputEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7e1f7c0_88d2_11d0_9ad0_00a0c9a06e35); } @@ -2443,6 +2203,7 @@ pub struct IDirectInputEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputEffectDriver(::windows_core::IUnknown); impl IDirectInputEffectDriver { pub unsafe fn DeviceID(&self, param0: u32, param1: u32, param2: u32, param3: u32, param4: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -2480,25 +2241,9 @@ impl IDirectInputEffectDriver { } } ::windows_core::imp::interface_hierarchy!(IDirectInputEffectDriver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputEffectDriver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputEffectDriver {} -impl ::core::fmt::Debug for IDirectInputEffectDriver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputEffectDriver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputEffectDriver { type Vtable = IDirectInputEffectDriver_Vtbl; } -impl ::core::clone::Clone for IDirectInputEffectDriver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputEffectDriver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02538130_898f_11d0_9ad0_00a0c9a06e35); } @@ -2520,6 +2265,7 @@ pub struct IDirectInputEffectDriver_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputJoyConfig(::windows_core::IUnknown); impl IDirectInputJoyConfig { pub unsafe fn Acquire(&self) -> ::windows_core::Result<()> { @@ -2600,25 +2346,9 @@ impl IDirectInputJoyConfig { } } ::windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputJoyConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputJoyConfig {} -impl ::core::fmt::Debug for IDirectInputJoyConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputJoyConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputJoyConfig { type Vtable = IDirectInputJoyConfig_Vtbl; } -impl ::core::clone::Clone for IDirectInputJoyConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputJoyConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1de12ab1_c9f5_11cf_bfc7_444553540000); } @@ -2660,6 +2390,7 @@ pub struct IDirectInputJoyConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputJoyConfig8(::windows_core::IUnknown); impl IDirectInputJoyConfig8 { pub unsafe fn Acquire(&self) -> ::windows_core::Result<()> { @@ -2741,25 +2472,9 @@ impl IDirectInputJoyConfig8 { } } ::windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig8, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputJoyConfig8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputJoyConfig8 {} -impl ::core::fmt::Debug for IDirectInputJoyConfig8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputJoyConfig8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputJoyConfig8 { type Vtable = IDirectInputJoyConfig8_Vtbl; } -impl ::core::clone::Clone for IDirectInputJoyConfig8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputJoyConfig8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0d7dfa_1990_4f27_b4d6_edf2eec4a44c); } @@ -2801,6 +2516,7 @@ pub struct IDirectInputJoyConfig8_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectInputW(::windows_core::IUnknown); impl IDirectInputW { pub unsafe fn CreateDevice(&self, param0: *const ::windows_core::GUID, param1: *mut ::core::option::Option, param2: P0) -> ::windows_core::Result<()> @@ -2835,25 +2551,9 @@ impl IDirectInputW { } } ::windows_core::imp::interface_hierarchy!(IDirectInputW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectInputW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectInputW {} -impl ::core::fmt::Debug for IDirectInputW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectInputW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectInputW { type Vtable = IDirectInputW_Vtbl; } -impl ::core::clone::Clone for IDirectInputW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectInputW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89521361_aa8a_11cf_bfc7_444553540000); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index 3ceddaeae3..96dc952c7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -55,8 +55,8 @@ impl IEnumWIA_DEV_CAPS_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IEnumWIA_DEV_INFO_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -177,8 +177,8 @@ impl IEnumWIA_FORMAT_INFO_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IEnumWiaItem_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IEnumWiaItem2_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IWiaAppErrorHandler_Vtbl { ReportStatus: ReportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IWiaDataCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BandedDataCallback: BandedDataCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IWiaDataTransfer_Vtbl { idtGetExtendedTransferInfo: idtGetExtendedTransferInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IWiaDevMgr_Vtbl { AddDeviceDlg: AddDeviceDlg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IWiaDevMgr2_Vtbl { GetImageDlg: GetImageDlg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -766,8 +766,8 @@ impl IWiaDrvItem_Vtbl { DumpItemData: DumpItemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl IWiaErrorHandler_Vtbl { GetStatusDescription: GetStatusDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IWiaEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ImageEventCallback: ImageEventCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IWiaImageFilter_Vtbl { ApplyProperties: ApplyProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IWiaItem_Vtbl { Diagnostic: Diagnostic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1237,8 +1237,8 @@ impl IWiaItem2_Vtbl { Diagnostic: Diagnostic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1278,8 +1278,8 @@ impl IWiaItemExtras_Vtbl { CancelPendingIO: CancelPendingIO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IWiaLog_Vtbl { Log: Log::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IWiaLogEx_Vtbl { LogEx: LogEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl IWiaMiniDrv_Vtbl { drvUnInitializeWia: drvUnInitializeWia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl IWiaMiniDrvCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MiniDrvCallback: MiniDrvCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl IWiaMiniDrvTransferCallback_Vtbl { SendMessage: SendMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IWiaNotifyDevMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewDeviceArrival: NewDeviceArrival:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1675,8 +1675,8 @@ impl IWiaPreview_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1816,8 +1816,8 @@ impl IWiaPropertyStorage_Vtbl { SetPropertyStream: SetPropertyStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl IWiaSegmentationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DetectRegions: DetectRegions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1888,8 +1888,8 @@ impl IWiaTransfer_Vtbl { EnumWIA_FORMAT_INFO: EnumWIA_FORMAT_INFO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1925,8 +1925,8 @@ impl IWiaTransferCallback_Vtbl { GetNextStream: GetNextStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1963,8 +1963,8 @@ impl IWiaUIExtension_Vtbl { GetDeviceBitmapLogo: GetDeviceBitmapLogo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1994,8 +1994,8 @@ impl IWiaUIExtension2_Vtbl { GetDeviceIcon: GetDeviceIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2126,7 +2126,7 @@ impl IWiaVideo_Vtbl { GetCurrentState: GetCurrentState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs index 9828a16cad..51978b1d7e 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWIA_DEV_CAPS(::windows_core::IUnknown); impl IEnumWIA_DEV_CAPS { pub unsafe fn Next(&self, celt: u32, rgelt: *mut WIA_DEV_CAP, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -21,25 +22,9 @@ impl IEnumWIA_DEV_CAPS { } } ::windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_CAPS, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWIA_DEV_CAPS { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWIA_DEV_CAPS {} -impl ::core::fmt::Debug for IEnumWIA_DEV_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWIA_DEV_CAPS").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWIA_DEV_CAPS { type Vtable = IEnumWIA_DEV_CAPS_Vtbl; } -impl ::core::clone::Clone for IEnumWIA_DEV_CAPS { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWIA_DEV_CAPS { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fcc4287_aca6_11d2_a093_00c04f72dc3c); } @@ -55,6 +40,7 @@ pub struct IEnumWIA_DEV_CAPS_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWIA_DEV_INFO(::windows_core::IUnknown); impl IEnumWIA_DEV_INFO { pub unsafe fn Next(&self, celt: u32, rgelt: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -76,25 +62,9 @@ impl IEnumWIA_DEV_INFO { } } ::windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_INFO, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWIA_DEV_INFO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWIA_DEV_INFO {} -impl ::core::fmt::Debug for IEnumWIA_DEV_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWIA_DEV_INFO").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWIA_DEV_INFO { type Vtable = IEnumWIA_DEV_INFO_Vtbl; } -impl ::core::clone::Clone for IEnumWIA_DEV_INFO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWIA_DEV_INFO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e38b83c_8cf1_11d1_bf92_0060081ed811); } @@ -110,6 +80,7 @@ pub struct IEnumWIA_DEV_INFO_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWIA_FORMAT_INFO(::windows_core::IUnknown); impl IEnumWIA_FORMAT_INFO { pub unsafe fn Next(&self, celt: u32, rgelt: *mut WIA_FORMAT_INFO, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -131,25 +102,9 @@ impl IEnumWIA_FORMAT_INFO { } } ::windows_core::imp::interface_hierarchy!(IEnumWIA_FORMAT_INFO, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWIA_FORMAT_INFO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWIA_FORMAT_INFO {} -impl ::core::fmt::Debug for IEnumWIA_FORMAT_INFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWIA_FORMAT_INFO").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWIA_FORMAT_INFO { type Vtable = IEnumWIA_FORMAT_INFO_Vtbl; } -impl ::core::clone::Clone for IEnumWIA_FORMAT_INFO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWIA_FORMAT_INFO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81befc5b_656d_44f1_b24c_d41d51b4dc81); } @@ -165,6 +120,7 @@ pub struct IEnumWIA_FORMAT_INFO_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWiaItem(::windows_core::IUnknown); impl IEnumWiaItem { pub unsafe fn Next(&self, celt: u32, ppiwiaitem: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -186,25 +142,9 @@ impl IEnumWiaItem { } } ::windows_core::imp::interface_hierarchy!(IEnumWiaItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWiaItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWiaItem {} -impl ::core::fmt::Debug for IEnumWiaItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWiaItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWiaItem { type Vtable = IEnumWiaItem_Vtbl; } -impl ::core::clone::Clone for IEnumWiaItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWiaItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e8383fc_3391_11d2_9a33_00c04fa36145); } @@ -220,6 +160,7 @@ pub struct IEnumWiaItem_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWiaItem2(::windows_core::IUnknown); impl IEnumWiaItem2 { pub unsafe fn Next(&self, celt: u32, ppiwiaitem2: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -241,25 +182,9 @@ impl IEnumWiaItem2 { } } ::windows_core::imp::interface_hierarchy!(IEnumWiaItem2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWiaItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWiaItem2 {} -impl ::core::fmt::Debug for IEnumWiaItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWiaItem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWiaItem2 { type Vtable = IEnumWiaItem2_Vtbl; } -impl ::core::clone::Clone for IEnumWiaItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWiaItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59970af4_cd0d_44d9_ab24_52295630e582); } @@ -275,6 +200,7 @@ pub struct IEnumWiaItem2_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaAppErrorHandler(::windows_core::IUnknown); impl IWiaAppErrorHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -291,25 +217,9 @@ impl IWiaAppErrorHandler { } } ::windows_core::imp::interface_hierarchy!(IWiaAppErrorHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaAppErrorHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaAppErrorHandler {} -impl ::core::fmt::Debug for IWiaAppErrorHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaAppErrorHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaAppErrorHandler { type Vtable = IWiaAppErrorHandler_Vtbl; } -impl ::core::clone::Clone for IWiaAppErrorHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaAppErrorHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c16186c_d0a6_400c_80f4_d26986a0e734); } @@ -325,6 +235,7 @@ pub struct IWiaAppErrorHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaDataCallback(::windows_core::IUnknown); impl IWiaDataCallback { pub unsafe fn BandedDataCallback(&self, lmessage: i32, lstatus: i32, lpercentcomplete: i32, loffset: i32, llength: i32, lreserved: i32, lreslength: i32, pbbuffer: *mut u8) -> ::windows_core::Result<()> { @@ -332,25 +243,9 @@ impl IWiaDataCallback { } } ::windows_core::imp::interface_hierarchy!(IWiaDataCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaDataCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaDataCallback {} -impl ::core::fmt::Debug for IWiaDataCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaDataCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaDataCallback { type Vtable = IWiaDataCallback_Vtbl; } -impl ::core::clone::Clone for IWiaDataCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaDataCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa558a866_a5b0_11d2_a08f_00c04f72dc3c); } @@ -362,6 +257,7 @@ pub struct IWiaDataCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaDataTransfer(::windows_core::IUnknown); impl IWiaDataTransfer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -392,25 +288,9 @@ impl IWiaDataTransfer { } } ::windows_core::imp::interface_hierarchy!(IWiaDataTransfer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaDataTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaDataTransfer {} -impl ::core::fmt::Debug for IWiaDataTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaDataTransfer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaDataTransfer { type Vtable = IWiaDataTransfer_Vtbl; } -impl ::core::clone::Clone for IWiaDataTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaDataTransfer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6cef998_a5b0_11d2_a08f_00c04f72dc3c); } @@ -432,6 +312,7 @@ pub struct IWiaDataTransfer_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaDevMgr(::windows_core::IUnknown); impl IWiaDevMgr { pub unsafe fn EnumDeviceInfo(&self, lflag: i32) -> ::windows_core::Result { @@ -508,25 +389,9 @@ impl IWiaDevMgr { } } ::windows_core::imp::interface_hierarchy!(IWiaDevMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaDevMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaDevMgr {} -impl ::core::fmt::Debug for IWiaDevMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaDevMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaDevMgr { type Vtable = IWiaDevMgr_Vtbl; } -impl ::core::clone::Clone for IWiaDevMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaDevMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5eb2502a_8cf1_11d1_bf92_0060081ed811); } @@ -558,6 +423,7 @@ pub struct IWiaDevMgr_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaDevMgr2(::windows_core::IUnknown); impl IWiaDevMgr2 { pub unsafe fn EnumDeviceInfo(&self, lflags: i32) -> ::windows_core::Result { @@ -628,25 +494,9 @@ impl IWiaDevMgr2 { } } ::windows_core::imp::interface_hierarchy!(IWiaDevMgr2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaDevMgr2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaDevMgr2 {} -impl ::core::fmt::Debug for IWiaDevMgr2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaDevMgr2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaDevMgr2 { type Vtable = IWiaDevMgr2_Vtbl; } -impl ::core::clone::Clone for IWiaDevMgr2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaDevMgr2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79c07cf1_cbdd_41ee_8ec3_f00080cada7a); } @@ -674,6 +524,7 @@ pub struct IWiaDevMgr2_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaDrvItem(::windows_core::IUnknown); impl IWiaDrvItem { pub unsafe fn GetItemFlags(&self) -> ::windows_core::Result { @@ -736,25 +587,9 @@ impl IWiaDrvItem { } } ::windows_core::imp::interface_hierarchy!(IWiaDrvItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaDrvItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaDrvItem {} -impl ::core::fmt::Debug for IWiaDrvItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaDrvItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaDrvItem { type Vtable = IWiaDrvItem_Vtbl; } -impl ::core::clone::Clone for IWiaDrvItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaDrvItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f02b5c5_b00c_11d2_a094_00c04f72dc3c); } @@ -778,6 +613,7 @@ pub struct IWiaDrvItem_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaErrorHandler(::windows_core::IUnknown); impl IWiaErrorHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -798,25 +634,9 @@ impl IWiaErrorHandler { } } ::windows_core::imp::interface_hierarchy!(IWiaErrorHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaErrorHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaErrorHandler {} -impl ::core::fmt::Debug for IWiaErrorHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaErrorHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaErrorHandler { type Vtable = IWiaErrorHandler_Vtbl; } -impl ::core::clone::Clone for IWiaErrorHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaErrorHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e4a51b1_bc1f_443d_a835_72e890759ef3); } @@ -832,6 +652,7 @@ pub struct IWiaErrorHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaEventCallback(::windows_core::IUnknown); impl IWiaEventCallback { pub unsafe fn ImageEventCallback(&self, peventguid: *const ::windows_core::GUID, bstreventdescription: P0, bstrdeviceid: P1, bstrdevicedescription: P2, dwdevicetype: u32, bstrfullitemname: P3, puleventtype: *mut u32, ulreserved: u32) -> ::windows_core::Result<()> @@ -845,25 +666,9 @@ impl IWiaEventCallback { } } ::windows_core::imp::interface_hierarchy!(IWiaEventCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaEventCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaEventCallback {} -impl ::core::fmt::Debug for IWiaEventCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaEventCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaEventCallback { type Vtable = IWiaEventCallback_Vtbl; } -impl ::core::clone::Clone for IWiaEventCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaEventCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae6287b0_0084_11d2_973b_00a0c9068f2e); } @@ -875,6 +680,7 @@ pub struct IWiaEventCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaImageFilter(::windows_core::IUnknown); impl IWiaImageFilter { pub unsafe fn InitializeFilter(&self, pwiaitem2: P0, pwiatransfercallback: P1) -> ::windows_core::Result<()> @@ -907,25 +713,9 @@ impl IWiaImageFilter { } } ::windows_core::imp::interface_hierarchy!(IWiaImageFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaImageFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaImageFilter {} -impl ::core::fmt::Debug for IWiaImageFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaImageFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaImageFilter { type Vtable = IWiaImageFilter_Vtbl; } -impl ::core::clone::Clone for IWiaImageFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaImageFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8a79ffa_450b_41f1_8f87_849ccd94ebf6); } @@ -943,6 +733,7 @@ pub struct IWiaImageFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaItem(::windows_core::IUnknown); impl IWiaItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -1014,25 +805,9 @@ impl IWiaItem { } } ::windows_core::imp::interface_hierarchy!(IWiaItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaItem {} -impl ::core::fmt::Debug for IWiaItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaItem { type Vtable = IWiaItem_Vtbl; } -impl ::core::clone::Clone for IWiaItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4db1ad10_3391_11d2_9a33_00c04fa36145); } @@ -1061,6 +836,7 @@ pub struct IWiaItem_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaItem2(::windows_core::IUnknown); impl IWiaItem2 { pub unsafe fn CreateChildItem(&self, litemflags: i32, lcreationflags: i32, bstritemname: P0) -> ::windows_core::Result @@ -1144,25 +920,9 @@ impl IWiaItem2 { } } ::windows_core::imp::interface_hierarchy!(IWiaItem2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaItem2 {} -impl ::core::fmt::Debug for IWiaItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaItem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaItem2 { type Vtable = IWiaItem2_Vtbl; } -impl ::core::clone::Clone for IWiaItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cba0075_1287_407d_9b77_cf0e030435cc); } @@ -1195,6 +955,7 @@ pub struct IWiaItem2_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaItemExtras(::windows_core::IUnknown); impl IWiaItemExtras { pub unsafe fn GetExtendedErrorInfo(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1209,25 +970,9 @@ impl IWiaItemExtras { } } ::windows_core::imp::interface_hierarchy!(IWiaItemExtras, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaItemExtras { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaItemExtras {} -impl ::core::fmt::Debug for IWiaItemExtras { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaItemExtras").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaItemExtras { type Vtable = IWiaItemExtras_Vtbl; } -impl ::core::clone::Clone for IWiaItemExtras { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaItemExtras { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6291ef2c_36ef_4532_876a_8e132593778d); } @@ -1241,6 +986,7 @@ pub struct IWiaItemExtras_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaLog(::windows_core::IUnknown); impl IWiaLog { pub unsafe fn InitializeLog(&self, hinstance: i32) -> ::windows_core::Result<()> { @@ -1257,25 +1003,9 @@ impl IWiaLog { } } ::windows_core::imp::interface_hierarchy!(IWiaLog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaLog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaLog {} -impl ::core::fmt::Debug for IWiaLog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaLog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaLog { type Vtable = IWiaLog_Vtbl; } -impl ::core::clone::Clone for IWiaLog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaLog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa00c10b6_82a1_452f_8b6c_86062aad6890); } @@ -1289,6 +1019,7 @@ pub struct IWiaLog_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaLogEx(::windows_core::IUnknown); impl IWiaLogEx { pub unsafe fn InitializeLogEx(&self, hinstance: *const u8) -> ::windows_core::Result<()> { @@ -1314,25 +1045,9 @@ impl IWiaLogEx { } } ::windows_core::imp::interface_hierarchy!(IWiaLogEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaLogEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaLogEx {} -impl ::core::fmt::Debug for IWiaLogEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaLogEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaLogEx { type Vtable = IWiaLogEx_Vtbl; } -impl ::core::clone::Clone for IWiaLogEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaLogEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf1f22ac_7a40_4787_b421_aeb47a1fbd0b); } @@ -1348,6 +1063,7 @@ pub struct IWiaLogEx_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaMiniDrv(::windows_core::IUnknown); impl IWiaMiniDrv { pub unsafe fn drvInitializeWia(&self, __midl__iwiaminidrv0000: *const u8, __midl__iwiaminidrv0001: i32, __midl__iwiaminidrv0002: P0, __midl__iwiaminidrv0003: P1, __midl__iwiaminidrv0004: P2, __midl__iwiaminidrv0005: P3, __midl__iwiaminidrv0006: *mut ::core::option::Option, __midl__iwiaminidrv0007: *mut ::core::option::Option<::windows_core::IUnknown>, __midl__iwiaminidrv0008: *mut i32) -> ::windows_core::Result<()> @@ -1428,25 +1144,9 @@ impl IWiaMiniDrv { } } ::windows_core::imp::interface_hierarchy!(IWiaMiniDrv, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaMiniDrv { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaMiniDrv {} -impl ::core::fmt::Debug for IWiaMiniDrv { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaMiniDrv").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaMiniDrv { type Vtable = IWiaMiniDrv_Vtbl; } -impl ::core::clone::Clone for IWiaMiniDrv { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaMiniDrv { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8cdee14_3c6c_11d2_9a35_00c04fa36145); } @@ -1486,6 +1186,7 @@ pub struct IWiaMiniDrv_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaMiniDrvCallBack(::windows_core::IUnknown); impl IWiaMiniDrvCallBack { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1495,25 +1196,9 @@ impl IWiaMiniDrvCallBack { } } ::windows_core::imp::interface_hierarchy!(IWiaMiniDrvCallBack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaMiniDrvCallBack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaMiniDrvCallBack {} -impl ::core::fmt::Debug for IWiaMiniDrvCallBack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaMiniDrvCallBack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaMiniDrvCallBack { type Vtable = IWiaMiniDrvCallBack_Vtbl; } -impl ::core::clone::Clone for IWiaMiniDrvCallBack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaMiniDrvCallBack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33a57d5a_3de8_11d2_9a36_00c04fa36145); } @@ -1528,6 +1213,7 @@ pub struct IWiaMiniDrvCallBack_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaMiniDrvTransferCallback(::windows_core::IUnknown); impl IWiaMiniDrvTransferCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1545,25 +1231,9 @@ impl IWiaMiniDrvTransferCallback { } } ::windows_core::imp::interface_hierarchy!(IWiaMiniDrvTransferCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaMiniDrvTransferCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaMiniDrvTransferCallback {} -impl ::core::fmt::Debug for IWiaMiniDrvTransferCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaMiniDrvTransferCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaMiniDrvTransferCallback { type Vtable = IWiaMiniDrvTransferCallback_Vtbl; } -impl ::core::clone::Clone for IWiaMiniDrvTransferCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaMiniDrvTransferCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9d2ee89_2ce5_4ff0_8adb_c961d1d774ca); } @@ -1579,6 +1249,7 @@ pub struct IWiaMiniDrvTransferCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaNotifyDevMgr(::windows_core::IUnknown); impl IWiaNotifyDevMgr { pub unsafe fn NewDeviceArrival(&self) -> ::windows_core::Result<()> { @@ -1586,25 +1257,9 @@ impl IWiaNotifyDevMgr { } } ::windows_core::imp::interface_hierarchy!(IWiaNotifyDevMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaNotifyDevMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaNotifyDevMgr {} -impl ::core::fmt::Debug for IWiaNotifyDevMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaNotifyDevMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaNotifyDevMgr { type Vtable = IWiaNotifyDevMgr_Vtbl; } -impl ::core::clone::Clone for IWiaNotifyDevMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaNotifyDevMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70681ea0_e7bf_4291_9fb1_4e8813a3f78e); } @@ -1616,6 +1271,7 @@ pub struct IWiaNotifyDevMgr_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaPreview(::windows_core::IUnknown); impl IWiaPreview { pub unsafe fn GetNewPreview(&self, lflags: i32, pwiaitem2: P0, pwiatransfercallback: P1) -> ::windows_core::Result<()> @@ -1640,25 +1296,9 @@ impl IWiaPreview { } } ::windows_core::imp::interface_hierarchy!(IWiaPreview, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaPreview { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaPreview {} -impl ::core::fmt::Debug for IWiaPreview { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaPreview").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaPreview { type Vtable = IWiaPreview_Vtbl; } -impl ::core::clone::Clone for IWiaPreview { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaPreview { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95c2b4fd_33f2_4d86_ad40_9431f0df08f7); } @@ -1673,6 +1313,7 @@ pub struct IWiaPreview_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaPropertyStorage(::windows_core::IUnknown); impl IWiaPropertyStorage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -1748,25 +1389,9 @@ impl IWiaPropertyStorage { } } ::windows_core::imp::interface_hierarchy!(IWiaPropertyStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaPropertyStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaPropertyStorage {} -impl ::core::fmt::Debug for IWiaPropertyStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaPropertyStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaPropertyStorage { type Vtable = IWiaPropertyStorage_Vtbl; } -impl ::core::clone::Clone for IWiaPropertyStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaPropertyStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98b5e8a0_29cc_491a_aac0_e6db4fdcceb6); } @@ -1820,6 +1445,7 @@ pub struct IWiaPropertyStorage_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaSegmentationFilter(::windows_core::IUnknown); impl IWiaSegmentationFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1833,25 +1459,9 @@ impl IWiaSegmentationFilter { } } ::windows_core::imp::interface_hierarchy!(IWiaSegmentationFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaSegmentationFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaSegmentationFilter {} -impl ::core::fmt::Debug for IWiaSegmentationFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaSegmentationFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaSegmentationFilter { type Vtable = IWiaSegmentationFilter_Vtbl; } -impl ::core::clone::Clone for IWiaSegmentationFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaSegmentationFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec46a697_ac04_4447_8f65_ff63d5154b21); } @@ -1866,6 +1476,7 @@ pub struct IWiaSegmentationFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaTransfer(::windows_core::IUnknown); impl IWiaTransfer { pub unsafe fn Download(&self, lflags: i32, piwiatransfercallback: P0) -> ::windows_core::Result<()> @@ -1892,25 +1503,9 @@ impl IWiaTransfer { } } ::windows_core::imp::interface_hierarchy!(IWiaTransfer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaTransfer {} -impl ::core::fmt::Debug for IWiaTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaTransfer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaTransfer { type Vtable = IWiaTransfer_Vtbl; } -impl ::core::clone::Clone for IWiaTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaTransfer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc39d6942_2f4e_4d04_92fe_4ef4d3a1de5a); } @@ -1928,6 +1523,7 @@ pub struct IWiaTransfer_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaTransferCallback(::windows_core::IUnknown); impl IWiaTransferCallback { pub unsafe fn TransferCallback(&self, lflags: i32, pwiatransferparams: *const WiaTransferParams) -> ::windows_core::Result<()> { @@ -1945,25 +1541,9 @@ impl IWiaTransferCallback { } } ::windows_core::imp::interface_hierarchy!(IWiaTransferCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaTransferCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaTransferCallback {} -impl ::core::fmt::Debug for IWiaTransferCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaTransferCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaTransferCallback { type Vtable = IWiaTransferCallback_Vtbl; } -impl ::core::clone::Clone for IWiaTransferCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaTransferCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27d4eaaf_28a6_4ca5_9aab_e678168b9527); } @@ -1979,6 +1559,7 @@ pub struct IWiaTransferCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaUIExtension(::windows_core::IUnknown); impl IWiaUIExtension { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2004,25 +1585,9 @@ impl IWiaUIExtension { } } ::windows_core::imp::interface_hierarchy!(IWiaUIExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaUIExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaUIExtension {} -impl ::core::fmt::Debug for IWiaUIExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaUIExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaUIExtension { type Vtable = IWiaUIExtension_Vtbl; } -impl ::core::clone::Clone for IWiaUIExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaUIExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda319113_50ee_4c80_b460_57d005d44a2c); } @@ -2045,6 +1610,7 @@ pub struct IWiaUIExtension_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaUIExtension2(::windows_core::IUnknown); impl IWiaUIExtension2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2062,25 +1628,9 @@ impl IWiaUIExtension2 { } } ::windows_core::imp::interface_hierarchy!(IWiaUIExtension2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaUIExtension2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaUIExtension2 {} -impl ::core::fmt::Debug for IWiaUIExtension2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaUIExtension2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaUIExtension2 { type Vtable = IWiaUIExtension2_Vtbl; } -impl ::core::clone::Clone for IWiaUIExtension2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaUIExtension2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x305600d7_5088_46d7_9a15_b77b09cdba7a); } @@ -2099,6 +1649,7 @@ pub struct IWiaUIExtension2_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWiaVideo(::windows_core::IUnknown); impl IWiaVideo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2184,25 +1735,9 @@ impl IWiaVideo { } } ::windows_core::imp::interface_hierarchy!(IWiaVideo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWiaVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWiaVideo {} -impl ::core::fmt::Debug for IWiaVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWiaVideo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWiaVideo { type Vtable = IWiaVideo_Vtbl; } -impl ::core::clone::Clone for IWiaVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWiaVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd52920aa_db88_41f0_946c_e00dc0a19cfa); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index 21da8ddac6..bb9a894f60 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -12,8 +12,8 @@ impl IConnectionRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IEnumPortableDeviceConnectors_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IEnumPortableDeviceObjectIDs_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -149,8 +149,8 @@ impl IMediaRadioManager_Vtbl { OnSystemRadioStateChange: OnSystemRadioStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -184,8 +184,8 @@ impl IMediaRadioManagerNotifySink_Vtbl { OnInstanceRadioChange: OnInstanceRadioChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IPortableDevice_Vtbl { GetPnPDeviceID: GetPnPDeviceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -445,8 +445,8 @@ impl IPortableDeviceCapabilities_Vtbl { GetEventOptions: GetEventOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Devices_Properties\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IPortableDeviceConnector_Vtbl { GetPnPID: GetPnPID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IPortableDeviceContent_Vtbl { Copy: Copy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -645,8 +645,8 @@ impl IPortableDeviceContent2_Vtbl { UpdateObjectWithPropertiesAndData: UpdateObjectWithPropertiesAndData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -682,8 +682,8 @@ impl IPortableDeviceDataStream_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl IPortableDeviceDispatchFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceDispatch: GetDeviceDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IPortableDeviceEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -779,8 +779,8 @@ impl IPortableDeviceKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -842,8 +842,8 @@ impl IPortableDeviceManager_Vtbl { GetPrivateDevices: GetPrivateDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IPortableDevicePropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl IPortableDeviceProperties_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1064,8 +1064,8 @@ impl IPortableDevicePropertiesBulk_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1099,8 +1099,8 @@ impl IPortableDevicePropertiesBulkCallback_Vtbl { OnEnd: OnEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl IPortableDeviceResources_Vtbl { CreateResource: CreateResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1303,8 +1303,8 @@ impl IPortableDeviceService_Vtbl { SendCommand: SendCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1331,8 +1331,8 @@ impl IPortableDeviceServiceActivation_Vtbl { CancelOpenAsync: CancelOpenAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1550,8 +1550,8 @@ impl IPortableDeviceServiceCapabilities_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1584,8 +1584,8 @@ impl IPortableDeviceServiceManager_Vtbl { GetDeviceForService: GetDeviceForService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1602,8 +1602,8 @@ impl IPortableDeviceServiceMethodCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1637,8 +1637,8 @@ impl IPortableDeviceServiceMethods_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IPortableDeviceServiceOpenCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1683,8 +1683,8 @@ impl IPortableDeviceUnitsStream_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2070,8 +2070,8 @@ impl IPortableDeviceValues_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2125,8 +2125,8 @@ impl IPortableDeviceValuesCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IPortableDeviceWebControl_Vtbl { GetDeviceFromIdAsync: GetDeviceFromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl IRadioInstance_Vtbl { IsAssociatingDevice: IsAssociatingDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl IRadioInstanceCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2346,7 +2346,7 @@ impl IWpdSerializer_Vtbl { GetSerializedSize: GetSerializedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs index 51b869496e..37dd5f90a9 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -10,6 +10,7 @@ where } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionRequestCallback(::windows_core::IUnknown); impl IConnectionRequestCallback { pub unsafe fn OnComplete(&self, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -17,25 +18,9 @@ impl IConnectionRequestCallback { } } ::windows_core::imp::interface_hierarchy!(IConnectionRequestCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConnectionRequestCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnectionRequestCallback {} -impl ::core::fmt::Debug for IConnectionRequestCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnectionRequestCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnectionRequestCallback { type Vtable = IConnectionRequestCallback_Vtbl; } -impl ::core::clone::Clone for IConnectionRequestCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionRequestCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x272c9ae0_7161_4ae0_91bd_9f448ee9c427); } @@ -47,6 +32,7 @@ pub struct IConnectionRequestCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPortableDeviceConnectors(::windows_core::IUnknown); impl IEnumPortableDeviceConnectors { pub unsafe fn Next(&self, pconnectors: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -64,25 +50,9 @@ impl IEnumPortableDeviceConnectors { } } ::windows_core::imp::interface_hierarchy!(IEnumPortableDeviceConnectors, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPortableDeviceConnectors { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPortableDeviceConnectors {} -impl ::core::fmt::Debug for IEnumPortableDeviceConnectors { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPortableDeviceConnectors").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPortableDeviceConnectors { type Vtable = IEnumPortableDeviceConnectors_Vtbl; } -impl ::core::clone::Clone for IEnumPortableDeviceConnectors { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPortableDeviceConnectors { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfdef549_9247_454f_bd82_06fe80853faa); } @@ -97,6 +67,7 @@ pub struct IEnumPortableDeviceConnectors_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPortableDeviceObjectIDs(::windows_core::IUnknown); impl IEnumPortableDeviceObjectIDs { pub unsafe fn Next(&self, pobjids: &mut [::windows_core::PWSTR], pcfetched: *mut u32) -> ::windows_core::HRESULT { @@ -117,25 +88,9 @@ impl IEnumPortableDeviceObjectIDs { } } ::windows_core::imp::interface_hierarchy!(IEnumPortableDeviceObjectIDs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPortableDeviceObjectIDs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPortableDeviceObjectIDs {} -impl ::core::fmt::Debug for IEnumPortableDeviceObjectIDs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPortableDeviceObjectIDs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPortableDeviceObjectIDs { type Vtable = IEnumPortableDeviceObjectIDs_Vtbl; } -impl ::core::clone::Clone for IEnumPortableDeviceObjectIDs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPortableDeviceObjectIDs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10ece955_cf41_4728_bfa0_41eedf1bbf19); } @@ -151,6 +106,7 @@ pub struct IEnumPortableDeviceObjectIDs_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaRadioManager(::windows_core::IUnknown); impl IMediaRadioManager { pub unsafe fn GetRadioInstances(&self) -> ::windows_core::Result { @@ -162,25 +118,9 @@ impl IMediaRadioManager { } } ::windows_core::imp::interface_hierarchy!(IMediaRadioManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaRadioManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaRadioManager {} -impl ::core::fmt::Debug for IMediaRadioManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaRadioManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaRadioManager { type Vtable = IMediaRadioManager_Vtbl; } -impl ::core::clone::Clone for IMediaRadioManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaRadioManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cfdcab5_fc47_42a5_9241_074b58830e73); } @@ -193,6 +133,7 @@ pub struct IMediaRadioManager_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaRadioManagerNotifySink(::windows_core::IUnknown); impl IMediaRadioManagerNotifySink { pub unsafe fn OnInstanceAdd(&self, pradioinstance: P0) -> ::windows_core::Result<()> @@ -215,25 +156,9 @@ impl IMediaRadioManagerNotifySink { } } ::windows_core::imp::interface_hierarchy!(IMediaRadioManagerNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaRadioManagerNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaRadioManagerNotifySink {} -impl ::core::fmt::Debug for IMediaRadioManagerNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaRadioManagerNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaRadioManagerNotifySink { type Vtable = IMediaRadioManagerNotifySink_Vtbl; } -impl ::core::clone::Clone for IMediaRadioManagerNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaRadioManagerNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89d81f5f_c147_49ed_a11c_77b20c31e7c9); } @@ -247,6 +172,7 @@ pub struct IMediaRadioManagerNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDevice(::windows_core::IUnknown); impl IPortableDevice { pub unsafe fn Open(&self, pszpnpdeviceid: P0, pclientinfo: P1) -> ::windows_core::Result<()> @@ -297,25 +223,9 @@ impl IPortableDevice { } } ::windows_core::imp::interface_hierarchy!(IPortableDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDevice {} -impl ::core::fmt::Debug for IPortableDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDevice { type Vtable = IPortableDevice_Vtbl; } -impl ::core::clone::Clone for IPortableDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); } @@ -335,6 +245,7 @@ pub struct IPortableDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceCapabilities(::windows_core::IUnknown); impl IPortableDeviceCapabilities { pub unsafe fn GetSupportedCommands(&self) -> ::windows_core::Result { @@ -386,25 +297,9 @@ impl IPortableDeviceCapabilities { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceCapabilities, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceCapabilities {} -impl ::core::fmt::Debug for IPortableDeviceCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceCapabilities { type Vtable = IPortableDeviceCapabilities_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c8c6dbf_e3dc_4061_becc_8542e810d126); } @@ -432,6 +327,7 @@ pub struct IPortableDeviceCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceConnector(::windows_core::IUnknown); impl IPortableDeviceConnector { pub unsafe fn Connect(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -468,25 +364,9 @@ impl IPortableDeviceConnector { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceConnector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceConnector {} -impl ::core::fmt::Debug for IPortableDeviceConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceConnector { type Vtable = IPortableDeviceConnector_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); } @@ -509,6 +389,7 @@ pub struct IPortableDeviceConnector_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceContent(::windows_core::IUnknown); impl IPortableDeviceContent { pub unsafe fn EnumObjects(&self, dwflags: u32, pszparentobjectid: P0, pfilter: P1) -> ::windows_core::Result @@ -573,25 +454,9 @@ impl IPortableDeviceContent { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceContent {} -impl ::core::fmt::Debug for IPortableDeviceContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceContent { type Vtable = IPortableDeviceContent_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a96ed84_7c73_4480_9938_bf5af477d426); } @@ -615,6 +480,7 @@ pub struct IPortableDeviceContent_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceContent2(::windows_core::IUnknown); impl IPortableDeviceContent2 { pub unsafe fn EnumObjects(&self, dwflags: u32, pszparentobjectid: P0, pfilter: P1) -> ::windows_core::Result @@ -688,25 +554,9 @@ impl IPortableDeviceContent2 { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceContent2, ::windows_core::IUnknown, IPortableDeviceContent); -impl ::core::cmp::PartialEq for IPortableDeviceContent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceContent2 {} -impl ::core::fmt::Debug for IPortableDeviceContent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceContent2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceContent2 { type Vtable = IPortableDeviceContent2_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceContent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceContent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b4add96_f6bf_4034_8708_eca72bf10554); } @@ -722,6 +572,7 @@ pub struct IPortableDeviceContent2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceDataStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPortableDeviceDataStream { @@ -795,30 +646,10 @@ impl IPortableDeviceDataStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPortableDeviceDataStream, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPortableDeviceDataStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPortableDeviceDataStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPortableDeviceDataStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceDataStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPortableDeviceDataStream { type Vtable = IPortableDeviceDataStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPortableDeviceDataStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPortableDeviceDataStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88e04db3_1012_4d64_9996_f703a950d3f4); } @@ -832,6 +663,7 @@ pub struct IPortableDeviceDataStream_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceDispatchFactory(::windows_core::IUnknown); impl IPortableDeviceDispatchFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -845,25 +677,9 @@ impl IPortableDeviceDispatchFactory { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceDispatchFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceDispatchFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceDispatchFactory {} -impl ::core::fmt::Debug for IPortableDeviceDispatchFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceDispatchFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceDispatchFactory { type Vtable = IPortableDeviceDispatchFactory_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceDispatchFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceDispatchFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e1eafc3_e3d7_4132_96fa_759c0f9d1e0f); } @@ -878,6 +694,7 @@ pub struct IPortableDeviceDispatchFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceEventCallback(::windows_core::IUnknown); impl IPortableDeviceEventCallback { pub unsafe fn OnEvent(&self, peventparameters: P0) -> ::windows_core::Result<()> @@ -888,25 +705,9 @@ impl IPortableDeviceEventCallback { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceEventCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceEventCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceEventCallback {} -impl ::core::fmt::Debug for IPortableDeviceEventCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceEventCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceEventCallback { type Vtable = IPortableDeviceEventCallback_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceEventCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceEventCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8792a31_f385_493c_a893_40f64eb45f6e); } @@ -918,6 +719,7 @@ pub struct IPortableDeviceEventCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceKeyCollection(::windows_core::IUnknown); impl IPortableDeviceKeyCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows_core::Result<()> { @@ -941,25 +743,9 @@ impl IPortableDeviceKeyCollection { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceKeyCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceKeyCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceKeyCollection {} -impl ::core::fmt::Debug for IPortableDeviceKeyCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceKeyCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceKeyCollection { type Vtable = IPortableDeviceKeyCollection_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceKeyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceKeyCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdada2357_e0ad_492e_98db_dd61c53ba353); } @@ -981,6 +767,7 @@ pub struct IPortableDeviceKeyCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceManager(::windows_core::IUnknown); impl IPortableDeviceManager { pub unsafe fn GetDevices(&self, ppnpdeviceids: *mut ::windows_core::PWSTR, pcpnpdeviceids: *mut u32) -> ::windows_core::Result<()> { @@ -1019,25 +806,9 @@ impl IPortableDeviceManager { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceManager {} -impl ::core::fmt::Debug for IPortableDeviceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceManager { type Vtable = IPortableDeviceManager_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1567595_4c2f_4574_a6fa_ecef917b9a40); } @@ -1055,6 +826,7 @@ pub struct IPortableDeviceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDevicePropVariantCollection(::windows_core::IUnknown); impl IPortableDevicePropVariantCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows_core::Result<()> { @@ -1085,25 +857,9 @@ impl IPortableDevicePropVariantCollection { } } ::windows_core::imp::interface_hierarchy!(IPortableDevicePropVariantCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDevicePropVariantCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDevicePropVariantCollection {} -impl ::core::fmt::Debug for IPortableDevicePropVariantCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDevicePropVariantCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDevicePropVariantCollection { type Vtable = IPortableDevicePropVariantCollection_Vtbl; } -impl ::core::clone::Clone for IPortableDevicePropVariantCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDevicePropVariantCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89b2e422_4f1b_4316_bcef_a44afea83eb3); } @@ -1127,6 +883,7 @@ pub struct IPortableDevicePropVariantCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceProperties(::windows_core::IUnknown); impl IPortableDeviceProperties { pub unsafe fn GetSupportedProperties(&self, pszobjectid: P0) -> ::windows_core::Result @@ -1173,25 +930,9 @@ impl IPortableDeviceProperties { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceProperties {} -impl ::core::fmt::Debug for IPortableDeviceProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceProperties { type Vtable = IPortableDeviceProperties_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f6d695c_03df_4439_a809_59266beee3a6); } @@ -1211,6 +952,7 @@ pub struct IPortableDeviceProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDevicePropertiesBulk(::windows_core::IUnknown); impl IPortableDevicePropertiesBulk { pub unsafe fn QueueGetValuesByObjectList(&self, pobjectids: P0, pkeys: P1, pcallback: P2) -> ::windows_core::Result<::windows_core::GUID> @@ -1247,25 +989,9 @@ impl IPortableDevicePropertiesBulk { } } ::windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDevicePropertiesBulk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDevicePropertiesBulk {} -impl ::core::fmt::Debug for IPortableDevicePropertiesBulk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDevicePropertiesBulk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDevicePropertiesBulk { type Vtable = IPortableDevicePropertiesBulk_Vtbl; } -impl ::core::clone::Clone for IPortableDevicePropertiesBulk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDevicePropertiesBulk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x482b05c0_4056_44ed_9e0f_5e23b009da93); } @@ -1281,6 +1007,7 @@ pub struct IPortableDevicePropertiesBulk_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDevicePropertiesBulkCallback(::windows_core::IUnknown); impl IPortableDevicePropertiesBulkCallback { pub unsafe fn OnStart(&self, pcontext: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1297,25 +1024,9 @@ impl IPortableDevicePropertiesBulkCallback { } } ::windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulkCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDevicePropertiesBulkCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDevicePropertiesBulkCallback {} -impl ::core::fmt::Debug for IPortableDevicePropertiesBulkCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDevicePropertiesBulkCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDevicePropertiesBulkCallback { type Vtable = IPortableDevicePropertiesBulkCallback_Vtbl; } -impl ::core::clone::Clone for IPortableDevicePropertiesBulkCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDevicePropertiesBulkCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9deacb80_11e8_40e3_a9f3_f557986a7845); } @@ -1329,6 +1040,7 @@ pub struct IPortableDevicePropertiesBulkCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceResources(::windows_core::IUnknown); impl IPortableDeviceResources { pub unsafe fn GetSupportedResources(&self, pszobjectid: P0) -> ::windows_core::Result @@ -1375,25 +1087,9 @@ impl IPortableDeviceResources { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceResources, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceResources {} -impl ::core::fmt::Debug for IPortableDeviceResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceResources").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceResources { type Vtable = IPortableDeviceResources_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd8878ac_d841_4d17_891c_e6829cdb6934); } @@ -1419,6 +1115,7 @@ pub struct IPortableDeviceResources_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceService(::windows_core::IUnknown); impl IPortableDeviceService { pub unsafe fn Open(&self, pszpnpserviceid: P0, pclientinfo: P1) -> ::windows_core::Result<()> @@ -1477,25 +1174,9 @@ impl IPortableDeviceService { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceService {} -impl ::core::fmt::Debug for IPortableDeviceService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceService { type Vtable = IPortableDeviceService_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3bd3a44_d7b5_40a9_98b7_2fa4d01dec08); } @@ -1517,6 +1198,7 @@ pub struct IPortableDeviceService_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceActivation(::windows_core::IUnknown); impl IPortableDeviceServiceActivation { pub unsafe fn OpenAsync(&self, pszpnpserviceid: P0, pclientinfo: P1, pcallback: P2) -> ::windows_core::Result<()> @@ -1532,25 +1214,9 @@ impl IPortableDeviceServiceActivation { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceActivation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceActivation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceActivation {} -impl ::core::fmt::Debug for IPortableDeviceServiceActivation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceActivation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceActivation { type Vtable = IPortableDeviceServiceActivation_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceActivation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceActivation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe56b0534_d9b9_425c_9b99_75f97cb3d7c8); } @@ -1563,6 +1229,7 @@ pub struct IPortableDeviceServiceActivation_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceCapabilities(::windows_core::IUnknown); impl IPortableDeviceServiceCapabilities { pub unsafe fn GetSupportedMethods(&self) -> ::windows_core::Result { @@ -1638,25 +1305,9 @@ impl IPortableDeviceServiceCapabilities { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceCapabilities, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceCapabilities {} -impl ::core::fmt::Debug for IPortableDeviceServiceCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceCapabilities { type Vtable = IPortableDeviceServiceCapabilities_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24dbd89d_413e_43e0_bd5b_197f3c56c886); } @@ -1695,6 +1346,7 @@ pub struct IPortableDeviceServiceCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceManager(::windows_core::IUnknown); impl IPortableDeviceServiceManager { pub unsafe fn GetDeviceServices(&self, pszpnpdeviceid: P0, guidservicecategory: *const ::windows_core::GUID, pservices: *mut ::windows_core::PWSTR, pcservices: *mut u32) -> ::windows_core::Result<()> @@ -1712,25 +1364,9 @@ impl IPortableDeviceServiceManager { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceManager {} -impl ::core::fmt::Debug for IPortableDeviceServiceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceManager { type Vtable = IPortableDeviceServiceManager_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8abc4e9_a84a_47a9_80b3_c5d9b172a961); } @@ -1743,6 +1379,7 @@ pub struct IPortableDeviceServiceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceMethodCallback(::windows_core::IUnknown); impl IPortableDeviceServiceMethodCallback { pub unsafe fn OnComplete(&self, hrstatus: ::windows_core::HRESULT, presults: P0) -> ::windows_core::Result<()> @@ -1753,25 +1390,9 @@ impl IPortableDeviceServiceMethodCallback { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethodCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceMethodCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceMethodCallback {} -impl ::core::fmt::Debug for IPortableDeviceServiceMethodCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceMethodCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceMethodCallback { type Vtable = IPortableDeviceServiceMethodCallback_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceMethodCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceMethodCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc424233c_afce_4828_a756_7ed7a2350083); } @@ -1783,6 +1404,7 @@ pub struct IPortableDeviceServiceMethodCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceMethods(::windows_core::IUnknown); impl IPortableDeviceServiceMethods { pub unsafe fn Invoke(&self, method: *const ::windows_core::GUID, pparameters: P0, ppresults: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -1806,25 +1428,9 @@ impl IPortableDeviceServiceMethods { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethods, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceMethods { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceMethods {} -impl ::core::fmt::Debug for IPortableDeviceServiceMethods { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceMethods").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceMethods { type Vtable = IPortableDeviceServiceMethods_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceMethods { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceMethods { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe20333c9_fd34_412d_a381_cc6f2d820df7); } @@ -1838,6 +1444,7 @@ pub struct IPortableDeviceServiceMethods_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceServiceOpenCallback(::windows_core::IUnknown); impl IPortableDeviceServiceOpenCallback { pub unsafe fn OnComplete(&self, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -1845,25 +1452,9 @@ impl IPortableDeviceServiceOpenCallback { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceServiceOpenCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceServiceOpenCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceServiceOpenCallback {} -impl ::core::fmt::Debug for IPortableDeviceServiceOpenCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceServiceOpenCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceServiceOpenCallback { type Vtable = IPortableDeviceServiceOpenCallback_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceServiceOpenCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceServiceOpenCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbced49c8_8efe_41ed_960b_61313abd47a9); } @@ -1875,6 +1466,7 @@ pub struct IPortableDeviceServiceOpenCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceUnitsStream(::windows_core::IUnknown); impl IPortableDeviceUnitsStream { pub unsafe fn SeekInUnits(&self, dlibmove: i64, units: WPD_STREAM_UNITS, dworigin: u32, plibnewposition: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { @@ -1885,25 +1477,9 @@ impl IPortableDeviceUnitsStream { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceUnitsStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceUnitsStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceUnitsStream {} -impl ::core::fmt::Debug for IPortableDeviceUnitsStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceUnitsStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceUnitsStream { type Vtable = IPortableDeviceUnitsStream_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceUnitsStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceUnitsStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e98025f_bfc4_47a2_9a5f_bc900a507c67); } @@ -1916,6 +1492,7 @@ pub struct IPortableDeviceUnitsStream_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceValues(::windows_core::IUnknown); impl IPortableDeviceValues { pub unsafe fn GetCount(&self, pcelt: *const u32) -> ::windows_core::Result<()> { @@ -2158,25 +1735,9 @@ impl IPortableDeviceValues { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceValues, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceValues { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceValues {} -impl ::core::fmt::Debug for IPortableDeviceValues { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceValues").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceValues { type Vtable = IPortableDeviceValues_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceValues { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceValues { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6848f6f2_3155_4f86_b6f5_263eeeab3143); } @@ -2341,6 +1902,7 @@ pub struct IPortableDeviceValues_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceValuesCollection(::windows_core::IUnknown); impl IPortableDeviceValuesCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows_core::Result<()> { @@ -2364,25 +1926,9 @@ impl IPortableDeviceValuesCollection { } } ::windows_core::imp::interface_hierarchy!(IPortableDeviceValuesCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPortableDeviceValuesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPortableDeviceValuesCollection {} -impl ::core::fmt::Debug for IPortableDeviceValuesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceValuesCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPortableDeviceValuesCollection { type Vtable = IPortableDeviceValuesCollection_Vtbl; } -impl ::core::clone::Clone for IPortableDeviceValuesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPortableDeviceValuesCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e3f2d79_4e07_48c4_8208_d8c2e5af4a99); } @@ -2399,6 +1945,7 @@ pub struct IPortableDeviceValuesCollection_Vtbl { #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPortableDeviceWebControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPortableDeviceWebControl { @@ -2425,30 +1972,10 @@ impl IPortableDeviceWebControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPortableDeviceWebControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPortableDeviceWebControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPortableDeviceWebControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPortableDeviceWebControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPortableDeviceWebControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPortableDeviceWebControl { type Vtable = IPortableDeviceWebControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPortableDeviceWebControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPortableDeviceWebControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94fc7953_5ca1_483a_8aee_df52e7747d00); } @@ -2468,6 +1995,7 @@ pub struct IPortableDeviceWebControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadioInstance(::windows_core::IUnknown); impl IRadioInstance { pub unsafe fn GetRadioManagerSignature(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2501,25 +2029,9 @@ impl IRadioInstance { } } ::windows_core::imp::interface_hierarchy!(IRadioInstance, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRadioInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRadioInstance {} -impl ::core::fmt::Debug for IRadioInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRadioInstance").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRadioInstance { type Vtable = IRadioInstance_Vtbl; } -impl ::core::clone::Clone for IRadioInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadioInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70aa1c9e_f2b4_4c61_86d3_6b9fb75fd1a2); } @@ -2543,6 +2055,7 @@ pub struct IRadioInstance_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadioInstanceCollection(::windows_core::IUnknown); impl IRadioInstanceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2555,25 +2068,9 @@ impl IRadioInstanceCollection { } } ::windows_core::imp::interface_hierarchy!(IRadioInstanceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRadioInstanceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRadioInstanceCollection {} -impl ::core::fmt::Debug for IRadioInstanceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRadioInstanceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRadioInstanceCollection { type Vtable = IRadioInstanceCollection_Vtbl; } -impl ::core::clone::Clone for IRadioInstanceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadioInstanceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5791fae_5665_4e0c_95be_5fde31644185); } @@ -2586,6 +2083,7 @@ pub struct IRadioInstanceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWpdSerializer(::windows_core::IUnknown); impl IWpdSerializer { pub unsafe fn GetIPortableDeviceValuesFromBuffer(&self, pbuffer: &[u8]) -> ::windows_core::Result { @@ -2613,25 +2111,9 @@ impl IWpdSerializer { } } ::windows_core::imp::interface_hierarchy!(IWpdSerializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWpdSerializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWpdSerializer {} -impl ::core::fmt::Debug for IWpdSerializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWpdSerializer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWpdSerializer { type Vtable = IWpdSerializer_Vtbl; } -impl ::core::clone::Clone for IWpdSerializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWpdSerializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb32f4002_bb27_45ff_af4f_06631c1e8dad); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index ae33fb823a..899df4fc88 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -31,8 +31,8 @@ impl ILocationPermissions_Vtbl { CheckLocationCapability: CheckLocationCapability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl ISensor_Vtbl { SetEventSink: SetEventSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"implement\"`*"] @@ -293,8 +293,8 @@ impl ISensorCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl ISensorDataReport_Vtbl { GetSensorValues: GetSensorValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl ISensorEvents_Vtbl { OnLeave: OnLeave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -464,8 +464,8 @@ impl ISensorManager_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"implement\"`*"] @@ -482,7 +482,7 @@ impl ISensorManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSensorEnter: OnSensorEnter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs index b8e96a7eb6..5eee218a94 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -1,23 +1,23 @@ #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListAllocateBufferAndSerialize(sourcecollection: *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes: *mut u32, ptargetbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListAllocateBufferAndSerialize(sourcecollection : *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes : *mut u32, ptargetbuffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); - CollectionsListAllocateBufferAndSerialize(sourcecollection, ptargetbuffersizeinbytes, ptargetbuffer).ok() + CollectionsListAllocateBufferAndSerialize(sourcecollection, ptargetbuffersizeinbytes, ptargetbuffer) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListCopyAndMarshall(target: *mut SENSOR_COLLECTION_LIST, source: *const SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListCopyAndMarshall(target : *mut SENSOR_COLLECTION_LIST, source : *const SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS); - CollectionsListCopyAndMarshall(target, source).ok() + CollectionsListCopyAndMarshall(target, source) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListDeserializeFromBuffer(sourcebuffer: &[u8], targetcollection: *mut SENSOR_COLLECTION_LIST) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListDeserializeFromBuffer(sourcebuffer: &[u8], targetcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListDeserializeFromBuffer(sourcebuffersizeinbytes : u32, sourcebuffer : *const u8, targetcollection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS); - CollectionsListDeserializeFromBuffer(sourcebuffer.len() as _, ::core::mem::transmute(sourcebuffer.as_ptr()), targetcollection).ok() + CollectionsListDeserializeFromBuffer(sourcebuffer.len() as _, ::core::mem::transmute(sourcebuffer.as_ptr()), targetcollection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] @@ -49,30 +49,30 @@ pub unsafe fn CollectionsListGetSerializedSize(collection: *const SENSOR_COLLECT #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListMarshall(target: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListMarshall(target : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS); - CollectionsListMarshall(target).ok() + CollectionsListMarshall(target) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffer: &mut [u8]) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListSerializeToBuffer(sourcecollection: *const SENSOR_COLLECTION_LIST, targetbuffer: &mut [u8]) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListSerializeToBuffer(sourcecollection : *const SENSOR_COLLECTION_LIST, targetbuffersizeinbytes : u32, targetbuffer : *mut u8) -> super::super::Foundation:: NTSTATUS); - CollectionsListSerializeToBuffer(sourcecollection, targetbuffer.len() as _, ::core::mem::transmute(targetbuffer.as_ptr())).ok() + CollectionsListSerializeToBuffer(sourcecollection, targetbuffer.len() as _, ::core::mem::transmute(targetbuffer.as_ptr())) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds: *const SENSOR_COLLECTION_LIST, pcollection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds : *const SENSOR_COLLECTION_LIST, pcollection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS); - CollectionsListSortSubscribedActivitiesByConfidence(thresholds, pcollection).ok() + CollectionsListSortSubscribedActivitiesByConfidence(thresholds, pcollection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> ::windows_core::Result<()> { +pub unsafe fn CollectionsListUpdateMarshalledPointer(collection: *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListUpdateMarshalledPointer(collection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS); - CollectionsListUpdateMarshalledPointer(collection).ok() + CollectionsListUpdateMarshalledPointer(collection) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -84,9 +84,9 @@ pub unsafe fn EvaluateActivityThresholds(newsample: *const SENSOR_COLLECTION_LIS #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetPerformanceTime(timems: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn GetPerformanceTime(timems: *mut u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn GetPerformanceTime(timems : *mut u32) -> super::super::Foundation:: NTSTATUS); - GetPerformanceTime(timems).ok() + GetPerformanceTime(timems) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] @@ -142,120 +142,120 @@ pub unsafe fn IsSensorSubscribed(subscriptionlist: *const SENSOR_COLLECTION_LIST #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetBool(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetBool(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetBool(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetBool(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetDouble(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f64) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetDouble(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut f64) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetDouble(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetDouble(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::FILETIME) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetFileTime(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetFileTime(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut super::super::Foundation:: FILETIME) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetFileTime(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetFileTime(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetFloat(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut f32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetFloat(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut f32) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetFloat(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetFloat(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetGuid(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut ::windows_core::GUID) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetGuid(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut ::windows_core::GUID) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetGuid(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetGuid(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetInt32(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetInt32(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut i32) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetInt32(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetInt32(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetInt64(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut i64) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetInt64(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetInt64(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetNthInt64(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut i64) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetNthInt64(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut i64) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetNthInt64(plist, pkey, occurrence, pretvalue).ok() + PropKeyFindKeyGetNthInt64(plist, pkey, occurrence, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetNthUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetNthUlong(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut u32) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetNthUlong(plist, pkey, occurrence, pretvalue).ok() + PropKeyFindKeyGetNthUlong(plist, pkey, occurrence, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetNthUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, occurrence: u32, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetNthUshort(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut u16) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetNthUshort(plist, pkey, occurrence, pretvalue).ok() + PropKeyFindKeyGetNthUshort(plist, pkey, occurrence, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: P0, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_core::Result<()> +pub unsafe fn PropKeyFindKeyGetPropVariant(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: P0, pvalue: *mut super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetPropVariant(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetPropVariant(plist, pkey, typecheck.into_param().abi(), pvalue).ok() + PropKeyFindKeyGetPropVariant(plist, pkey, typecheck.into_param().abi(), pvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetUlong(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetUlong(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut u32) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetUlong(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetUlong(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> ::windows_core::Result<()> { +pub unsafe fn PropKeyFindKeyGetUshort(plist: *const SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, pretvalue: *mut u16) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeyGetUshort(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut u16) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeyGetUshort(plist, pkey, pretvalue).ok() + PropKeyFindKeyGetUshort(plist, pkey, pretvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: P0, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> ::windows_core::Result<()> +pub unsafe fn PropKeyFindKeySetPropVariant(plist: *mut SENSOR_COLLECTION_LIST, pkey: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, typecheck: P0, pvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropKeyFindKeySetPropVariant(plist : *mut SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS); - PropKeyFindKeySetPropVariant(plist, pkey, typecheck.into_param().abi(), pvalue).ok() + PropKeyFindKeySetPropVariant(plist, pkey, typecheck.into_param().abi(), pvalue) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] #[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] #[inline] -pub unsafe fn PropVariantGetInformation(propvariantvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: ::core::option::Option<*mut u32>, propvariantsize: ::core::option::Option<*mut u32>, propvariantpointer: ::core::option::Option<*mut *mut ::core::ffi::c_void>, remappedtype: ::core::option::Option<*mut super::Properties::DEVPROPTYPE>) -> ::windows_core::Result<()> { +pub unsafe fn PropVariantGetInformation(propvariantvalue: *const super::super::System::Com::StructuredStorage::PROPVARIANT, propvariantoffset: ::core::option::Option<*mut u32>, propvariantsize: ::core::option::Option<*mut u32>, propvariantpointer: ::core::option::Option<*mut *mut ::core::ffi::c_void>, remappedtype: ::core::option::Option<*mut super::Properties::DEVPROPTYPE>) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropVariantGetInformation(propvariantvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT, propvariantoffset : *mut u32, propvariantsize : *mut u32, propvariantpointer : *mut *mut ::core::ffi::c_void, remappedtype : *mut super::Properties:: DEVPROPTYPE) -> super::super::Foundation:: NTSTATUS); - PropVariantGetInformation(propvariantvalue, ::core::mem::transmute(propvariantoffset.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantpointer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remappedtype.unwrap_or(::std::ptr::null_mut()))).ok() + PropVariantGetInformation(propvariantvalue, ::core::mem::transmute(propvariantoffset.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(propvariantpointer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remappedtype.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> ::windows_core::Result<()> { +pub unsafe fn PropertiesListCopy(target: *mut SENSOR_PROPERTY_LIST, source: *const SENSOR_PROPERTY_LIST) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropertiesListCopy(target : *mut SENSOR_PROPERTY_LIST, source : *const SENSOR_PROPERTY_LIST) -> super::super::Foundation:: NTSTATUS); - PropertiesListCopy(target, source).ok() + PropertiesListCopy(target, source) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] @@ -266,16 +266,16 @@ pub unsafe fn PropertiesListGetFillableCount(buffersizebytes: u32) -> u32 { #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))] #[inline] -pub unsafe fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: ::core::option::Option<*mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pvalue: ::core::option::Option<*mut super::super::System::Com::StructuredStorage::PROPVARIANT>) -> ::windows_core::Result<()> { +pub unsafe fn SensorCollectionGetAt(index: u32, psensorslist: *const SENSOR_COLLECTION_LIST, pkey: ::core::option::Option<*mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY>, pvalue: ::core::option::Option<*mut super::super::System::Com::StructuredStorage::PROPVARIANT>) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn SensorCollectionGetAt(index : u32, psensorslist : *const SENSOR_COLLECTION_LIST, pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS); - SensorCollectionGetAt(index, psensorslist, ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null_mut()))).ok() + SensorCollectionGetAt(index, psensorslist, ::core::mem::transmute(pkey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: *mut *mut u8) -> ::windows_core::Result<()> { +pub unsafe fn SerializationBufferAllocate(sizeinbytes: u32, pbuffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("sensorsutilsv2.dll" "system" fn SerializationBufferAllocate(sizeinbytes : u32, pbuffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); - SerializationBufferAllocate(sizeinbytes, pbuffer).ok() + SerializationBufferAllocate(sizeinbytes, pbuffer) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[inline] @@ -285,6 +285,7 @@ pub unsafe fn SerializationBufferFree(buffer: ::core::option::Option<*const u8>) } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocationPermissions(::windows_core::IUnknown); impl ILocationPermissions { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -298,25 +299,9 @@ impl ILocationPermissions { } } ::windows_core::imp::interface_hierarchy!(ILocationPermissions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILocationPermissions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILocationPermissions {} -impl ::core::fmt::Debug for ILocationPermissions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocationPermissions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILocationPermissions { type Vtable = ILocationPermissions_Vtbl; } -impl ::core::clone::Clone for ILocationPermissions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILocationPermissions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5fb0a7f_e74e_44f5_8e02_4806863a274f); } @@ -332,6 +317,7 @@ pub struct ILocationPermissions_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensor(::windows_core::IUnknown); impl ISensor { pub unsafe fn GetID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -414,25 +400,9 @@ impl ISensor { } } ::windows_core::imp::interface_hierarchy!(ISensor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensor {} -impl ::core::fmt::Debug for ISensor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensor { type Vtable = ISensor_Vtbl; } -impl ::core::clone::Clone for ISensor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fa08f80_2657_458e_af75_46f73fa6ac5c); } @@ -476,6 +446,7 @@ pub struct ISensor_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorCollection(::windows_core::IUnknown); impl ISensorCollection { pub unsafe fn GetAt(&self, ulindex: u32) -> ::windows_core::Result { @@ -506,25 +477,9 @@ impl ISensorCollection { } } ::windows_core::imp::interface_hierarchy!(ISensorCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensorCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorCollection {} -impl ::core::fmt::Debug for ISensorCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensorCollection { type Vtable = ISensorCollection_Vtbl; } -impl ::core::clone::Clone for ISensorCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23571e11_e545_4dd8_a337_b89bf44b10df); } @@ -541,6 +496,7 @@ pub struct ISensorCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorDataReport(::windows_core::IUnknown); impl ISensorDataReport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -566,25 +522,9 @@ impl ISensorDataReport { } } ::windows_core::imp::interface_hierarchy!(ISensorDataReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensorDataReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorDataReport {} -impl ::core::fmt::Debug for ISensorDataReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorDataReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensorDataReport { type Vtable = ISensorDataReport_Vtbl; } -impl ::core::clone::Clone for ISensorDataReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorDataReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ab9df9b_c4b5_4796_8898_0470706a2e1d); } @@ -607,6 +547,7 @@ pub struct ISensorDataReport_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorEvents(::windows_core::IUnknown); impl ISensorEvents { pub unsafe fn OnStateChanged(&self, psensor: P0, state: SensorState) -> ::windows_core::Result<()> @@ -636,25 +577,9 @@ impl ISensorEvents { } } ::windows_core::imp::interface_hierarchy!(ISensorEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensorEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorEvents {} -impl ::core::fmt::Debug for ISensorEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensorEvents { type Vtable = ISensorEvents_Vtbl; } -impl ::core::clone::Clone for ISensorEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d8dcc91_4641_47e7_b7c3_b74f48a6c391); } @@ -672,6 +597,7 @@ pub struct ISensorEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorManager(::windows_core::IUnknown); impl ISensorManager { pub unsafe fn GetSensorsByCategory(&self, sensorcategory: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -704,25 +630,9 @@ impl ISensorManager { } } ::windows_core::imp::interface_hierarchy!(ISensorManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensorManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorManager {} -impl ::core::fmt::Debug for ISensorManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensorManager { type Vtable = ISensorManager_Vtbl; } -impl ::core::clone::Clone for ISensorManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd77db67_45a8_42dc_8d00_6dcf15f8377a); } @@ -741,6 +651,7 @@ pub struct ISensorManager_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensorManagerEvents(::windows_core::IUnknown); impl ISensorManagerEvents { pub unsafe fn OnSensorEnter(&self, psensor: P0, state: SensorState) -> ::windows_core::Result<()> @@ -751,25 +662,9 @@ impl ISensorManagerEvents { } } ::windows_core::imp::interface_hierarchy!(ISensorManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISensorManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISensorManagerEvents {} -impl ::core::fmt::Debug for ISensorManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensorManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISensorManagerEvents { type Vtable = ISensorManagerEvents_Vtbl; } -impl ::core::clone::Clone for ISensorManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISensorManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b3b0b86_266a_4aad_b21f_fde5501001b7); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs index 9aa80a7697..a90a2bcbd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs @@ -45,8 +45,8 @@ impl IEnumACDGroup_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IEnumAddress_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -147,8 +147,8 @@ impl IEnumAgent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -198,8 +198,8 @@ impl IEnumAgentHandler_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl IEnumAgentSession_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -297,8 +297,8 @@ impl IEnumBstr_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -348,8 +348,8 @@ impl IEnumCall_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl IEnumCallHub_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IEnumCallingCard_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IEnumDialableAddrs_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IEnumDirectory_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IEnumDirectoryObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -651,8 +651,8 @@ impl IEnumLocation_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -702,8 +702,8 @@ impl IEnumMcastScope_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -753,8 +753,8 @@ impl IEnumPhone_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IEnumPluggableSuperclassInfo_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IEnumPluggableTerminalClassInfo_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -906,8 +906,8 @@ impl IEnumQueue_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IEnumStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1008,8 +1008,8 @@ impl IEnumSubStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1059,8 +1059,8 @@ impl IEnumTerminal_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -1107,8 +1107,8 @@ impl IEnumTerminalClass_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1209,8 +1209,8 @@ impl IMcastAddressAllocation_Vtbl { CreateLeaseInfoFromVariant: CreateLeaseInfoFromVariant::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1344,8 +1344,8 @@ impl IMcastLeaseInfo_Vtbl { EnumerateAddresses: EnumerateAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl IMcastScope_Vtbl { TTL: TTL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1482,8 +1482,8 @@ impl ITACDGroup_Vtbl { Queues: Queues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1525,8 +1525,8 @@ impl ITACDGroupEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl ITAMMediaFormat_Vtbl { SetMediaFormat: SetMediaFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ITASRTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1812,8 +1812,8 @@ impl ITAddress_Vtbl { DoNotDisturb: DoNotDisturb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1941,8 +1941,8 @@ impl ITAddress2_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2062,8 +2062,8 @@ impl ITAddressCapabilities_Vtbl { EnumerateDeviceClasses: EnumerateDeviceClasses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2144,8 +2144,8 @@ impl ITAddressDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2200,8 +2200,8 @@ impl ITAddressEvent_Vtbl { Terminal: Terminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2289,8 +2289,8 @@ impl ITAddressTranslation_Vtbl { CallingCards: CallingCards::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2371,8 +2371,8 @@ impl ITAddressTranslationInfo_Vtbl { TranslationResults: TranslationResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2597,8 +2597,8 @@ impl ITAgent_Vtbl { AgentSessions: AgentSessions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl ITAgentEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2748,8 +2748,8 @@ impl ITAgentHandler_Vtbl { UsableAddresses: UsableAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2791,8 +2791,8 @@ impl ITAgentHandlerEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3023,8 +3023,8 @@ impl ITAgentSession_Vtbl { AverageTimeToAnswer: AverageTimeToAnswer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3066,8 +3066,8 @@ impl ITAgentSessionEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3143,8 +3143,8 @@ impl ITAllocatorProperties_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3474,8 +3474,8 @@ impl ITAutomatedPhoneControl_Vtbl { SelectedCalls: SelectedCalls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3531,8 +3531,8 @@ impl ITBasicAudioTerminal_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3680,8 +3680,8 @@ impl ITBasicCallControl_Vtbl { RemoveFromConference: RemoveFromConference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3724,8 +3724,8 @@ impl ITBasicCallControl2_Vtbl { UnselectTerminalOnCall: UnselectTerminalOnCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl ITCallHub_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3856,8 +3856,8 @@ impl ITCallHubEvent_Vtbl { Call: Call::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4006,8 +4006,8 @@ impl ITCallInfo_Vtbl { ReleaseUserUserInfo: ReleaseUserUserInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4043,8 +4043,8 @@ impl ITCallInfo2_Vtbl { put_EventFilter: put_EventFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4099,8 +4099,8 @@ impl ITCallInfoChangeEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4194,8 +4194,8 @@ impl ITCallMediaEvent_Vtbl { Cause: Cause::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl ITCallNotificationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4319,8 +4319,8 @@ impl ITCallStateEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4427,8 +4427,8 @@ impl ITCallingCard_Vtbl { InternationalDialingRule: InternationalDialingRule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4483,8 +4483,8 @@ impl ITCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4510,8 +4510,8 @@ impl ITCollection2_Vtbl { } Self { base__: ITCollection_Vtbl::new::(), Add: Add::, Remove: Remove:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4607,8 +4607,8 @@ impl ITCustomTone_Vtbl { SetVolume: SetVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4684,8 +4684,8 @@ impl ITDetectTone_Vtbl { put_Frequency: put_Frequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4766,8 +4766,8 @@ impl ITDigitDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4835,8 +4835,8 @@ impl ITDigitGenerationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4917,8 +4917,8 @@ impl ITDigitsGatheredEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5068,8 +5068,8 @@ impl ITDirectory_Vtbl { EnumerateDirectoryObjects: EnumerateDirectoryObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5164,8 +5164,8 @@ impl ITDirectoryObject_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5334,8 +5334,8 @@ impl ITDirectoryObjectConference_Vtbl { SetStopTime: SetStopTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5371,8 +5371,8 @@ impl ITDirectoryObjectUser_Vtbl { SetIPPhonePrimary: SetIPPhonePrimary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5401,8 +5401,8 @@ impl ITDispatchMapper_Vtbl { QueryDispatchInterface: QueryDispatchInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5496,8 +5496,8 @@ impl ITFileTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5579,8 +5579,8 @@ impl ITFileTrack_Vtbl { EmptyAudioFormatForScripting: EmptyAudioFormatForScripting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5663,8 +5663,8 @@ impl ITForwardInformation_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5720,8 +5720,8 @@ impl ITForwardInformation2_Vtbl { get_ForwardTypeCallerAddressType: get_ForwardTypeCallerAddressType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5757,8 +5757,8 @@ impl ITILSConfig_Vtbl { SetPort: SetPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -5792,8 +5792,8 @@ impl ITLegacyAddressMediaControl_Vtbl { SetDevConfig: SetDevConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5823,8 +5823,8 @@ impl ITLegacyAddressMediaControl2_Vtbl { ConfigDialogEdit: ConfigDialogEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5875,8 +5875,8 @@ impl ITLegacyCallMediaControl_Vtbl { MonitorMedia: MonitorMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5980,8 +5980,8 @@ impl ITLegacyCallMediaControl2_Vtbl { GetIDAsVariant: GetIDAsVariant::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6007,8 +6007,8 @@ impl ITLegacyWaveSupport_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), IsFullDuplex: IsFullDuplex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6167,8 +6167,8 @@ impl ITLocationInfo_Vtbl { CancelCallWaitingCode: CancelCallWaitingCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -6229,8 +6229,8 @@ impl ITMSPAddress_Vtbl { GetEvent: GetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6280,8 +6280,8 @@ impl ITMediaControl_Vtbl { MediaState: MediaState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6317,8 +6317,8 @@ impl ITMediaPlayback_Vtbl { PlayList: PlayList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6354,8 +6354,8 @@ impl ITMediaRecord_Vtbl { FileName: FileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6397,8 +6397,8 @@ impl ITMediaSupport_Vtbl { QueryMediaType: QueryMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6486,8 +6486,8 @@ impl ITMultiTrackTerminal_Vtbl { RemoveTrackTerminal: RemoveTrackTerminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6854,8 +6854,8 @@ impl ITPhone_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6923,8 +6923,8 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7057,8 +7057,8 @@ impl ITPhoneEvent_Vtbl { Call: Call::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7165,8 +7165,8 @@ impl ITPluggableTerminalClassInfo_Vtbl { MediaTypes: MediaTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7186,8 +7186,8 @@ impl ITPluggableTerminalEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -7214,8 +7214,8 @@ impl ITPluggableTerminalEventSinkRegistration_Vtbl { UnregisterSink: UnregisterSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7257,8 +7257,8 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { CLSID: CLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7339,8 +7339,8 @@ impl ITPrivateEvent_Vtbl { EventInterface: EventInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7395,8 +7395,8 @@ impl ITQOSEvent_Vtbl { MediaType: MediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7562,8 +7562,8 @@ impl ITQueue_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7605,8 +7605,8 @@ impl ITQueueEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7674,8 +7674,8 @@ impl ITRendezvous_Vtbl { CreateDirectoryObject: CreateDirectoryObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7695,8 +7695,8 @@ impl ITRequest_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), MakeCall: MakeCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7790,8 +7790,8 @@ impl ITRequestEvent_Vtbl { Comment: Comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7927,8 +7927,8 @@ impl ITScriptableAudioFormat_Vtbl { SetFormatTag: SetFormatTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7954,8 +7954,8 @@ impl ITStaticAudioTerminal_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), WaveId: WaveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8071,8 +8071,8 @@ impl ITStream_Vtbl { Terminals: Terminals::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8134,8 +8134,8 @@ impl ITStreamControl_Vtbl { Streams: Streams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8225,8 +8225,8 @@ impl ITSubStream_Vtbl { Stream: Stream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8288,8 +8288,8 @@ impl ITSubStreamControl_Vtbl { SubStreams: SubStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8465,8 +8465,8 @@ impl ITTAPI_Vtbl { EventFilter: EventFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8521,8 +8521,8 @@ impl ITTAPI2_Vtbl { CreateEmptyCollectionObject: CreateEmptyCollectionObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8564,8 +8564,8 @@ impl ITTAPICallCenter_Vtbl { AgentHandlers: AgentHandlers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8578,8 +8578,8 @@ impl ITTAPIDispatchEventNotification_Vtbl { pub const fn new, Impl: ITTAPIDispatchEventNotification_Impl, const OFFSET: isize>() -> ITTAPIDispatchEventNotification_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8599,8 +8599,8 @@ impl ITTAPIEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8668,8 +8668,8 @@ impl ITTAPIObjectEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8695,8 +8695,8 @@ impl ITTAPIObjectEvent2_Vtbl { } Self { base__: ITTAPIObjectEvent_Vtbl::new::(), Phone: Phone:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8751,8 +8751,8 @@ impl ITTTSTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8846,8 +8846,8 @@ impl ITTerminal_Vtbl { Direction: Direction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8941,8 +8941,8 @@ impl ITTerminalSupport_Vtbl { GetDefaultStaticTerminal: GetDefaultStaticTerminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9010,8 +9010,8 @@ impl ITTerminalSupport2_Vtbl { EnumeratePluggableTerminalClasses: EnumeratePluggableTerminalClasses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9079,8 +9079,8 @@ impl ITToneDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9135,8 +9135,8 @@ impl ITToneTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9207,7 +9207,7 @@ impl ITnef_Vtbl { FinishComponent: FinishComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs index 977585ff52..3a8443e0f7 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1930,6 +1930,7 @@ where } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumACDGroup(::windows_core::IUnknown); impl IEnumACDGroup { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1949,25 +1950,9 @@ impl IEnumACDGroup { } } ::windows_core::imp::interface_hierarchy!(IEnumACDGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumACDGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumACDGroup {} -impl ::core::fmt::Debug for IEnumACDGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumACDGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumACDGroup { type Vtable = IEnumACDGroup_Vtbl; } -impl ::core::clone::Clone for IEnumACDGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumACDGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3157_4bcc_11d1_bf80_00805fc147d3); } @@ -1985,6 +1970,7 @@ pub struct IEnumACDGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumAddress(::windows_core::IUnknown); impl IEnumAddress { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2004,25 +1990,9 @@ impl IEnumAddress { } } ::windows_core::imp::interface_hierarchy!(IEnumAddress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumAddress {} -impl ::core::fmt::Debug for IEnumAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumAddress { type Vtable = IEnumAddress_Vtbl; } -impl ::core::clone::Clone for IEnumAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1666fca1_9363_11d0_835c_00aa003ccabd); } @@ -2040,6 +2010,7 @@ pub struct IEnumAddress_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumAgent(::windows_core::IUnknown); impl IEnumAgent { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2059,25 +2030,9 @@ impl IEnumAgent { } } ::windows_core::imp::interface_hierarchy!(IEnumAgent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumAgent {} -impl ::core::fmt::Debug for IEnumAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumAgent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumAgent { type Vtable = IEnumAgent_Vtbl; } -impl ::core::clone::Clone for IEnumAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc314d_4bcc_11d1_bf80_00805fc147d3); } @@ -2095,6 +2050,7 @@ pub struct IEnumAgent_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumAgentHandler(::windows_core::IUnknown); impl IEnumAgentHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2114,25 +2070,9 @@ impl IEnumAgentHandler { } } ::windows_core::imp::interface_hierarchy!(IEnumAgentHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumAgentHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumAgentHandler {} -impl ::core::fmt::Debug for IEnumAgentHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumAgentHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumAgentHandler { type Vtable = IEnumAgentHandler_Vtbl; } -impl ::core::clone::Clone for IEnumAgentHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumAgentHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x587e8c28_9802_11d1_a0a4_00805fc147d3); } @@ -2150,6 +2090,7 @@ pub struct IEnumAgentHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumAgentSession(::windows_core::IUnknown); impl IEnumAgentSession { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2169,25 +2110,9 @@ impl IEnumAgentSession { } } ::windows_core::imp::interface_hierarchy!(IEnumAgentSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumAgentSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumAgentSession {} -impl ::core::fmt::Debug for IEnumAgentSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumAgentSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumAgentSession { type Vtable = IEnumAgentSession_Vtbl; } -impl ::core::clone::Clone for IEnumAgentSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumAgentSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc314e_4bcc_11d1_bf80_00805fc147d3); } @@ -2205,6 +2130,7 @@ pub struct IEnumAgentSession_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBstr(::windows_core::IUnknown); impl IEnumBstr { pub unsafe fn Next(&self, ppstrings: &mut [::windows_core::BSTR], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2222,25 +2148,9 @@ impl IEnumBstr { } } ::windows_core::imp::interface_hierarchy!(IEnumBstr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBstr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBstr {} -impl ::core::fmt::Debug for IEnumBstr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBstr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBstr { type Vtable = IEnumBstr_Vtbl; } -impl ::core::clone::Clone for IEnumBstr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBstr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35372049_0bc6_11d2_a033_00c04fb6809f); } @@ -2255,6 +2165,7 @@ pub struct IEnumBstr_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCall(::windows_core::IUnknown); impl IEnumCall { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2274,25 +2185,9 @@ impl IEnumCall { } } ::windows_core::imp::interface_hierarchy!(IEnumCall, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumCall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumCall {} -impl ::core::fmt::Debug for IEnumCall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCall").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumCall { type Vtable = IEnumCall_Vtbl; } -impl ::core::clone::Clone for IEnumCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumCall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae269cf6_935e_11d0_835c_00aa003ccabd); } @@ -2310,6 +2205,7 @@ pub struct IEnumCall_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCallHub(::windows_core::IUnknown); impl IEnumCallHub { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2329,25 +2225,9 @@ impl IEnumCallHub { } } ::windows_core::imp::interface_hierarchy!(IEnumCallHub, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumCallHub { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumCallHub {} -impl ::core::fmt::Debug for IEnumCallHub { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCallHub").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumCallHub { type Vtable = IEnumCallHub_Vtbl; } -impl ::core::clone::Clone for IEnumCallHub { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumCallHub { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3c15450_5b92_11d1_8f4e_00c04fb6809f); } @@ -2365,6 +2245,7 @@ pub struct IEnumCallHub_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCallingCard(::windows_core::IUnknown); impl IEnumCallingCard { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2384,25 +2265,9 @@ impl IEnumCallingCard { } } ::windows_core::imp::interface_hierarchy!(IEnumCallingCard, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumCallingCard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumCallingCard {} -impl ::core::fmt::Debug for IEnumCallingCard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCallingCard").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumCallingCard { type Vtable = IEnumCallingCard_Vtbl; } -impl ::core::clone::Clone for IEnumCallingCard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumCallingCard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c4d8f02_8ddb_11d1_a09e_00805fc147d3); } @@ -2420,6 +2285,7 @@ pub struct IEnumCallingCard_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDialableAddrs(::windows_core::IUnknown); impl IEnumDialableAddrs { pub unsafe fn Next(&self, ppelements: &mut [::windows_core::BSTR], pcfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2437,25 +2303,9 @@ impl IEnumDialableAddrs { } } ::windows_core::imp::interface_hierarchy!(IEnumDialableAddrs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDialableAddrs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDialableAddrs {} -impl ::core::fmt::Debug for IEnumDialableAddrs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDialableAddrs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDialableAddrs { type Vtable = IEnumDialableAddrs_Vtbl; } -impl ::core::clone::Clone for IEnumDialableAddrs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDialableAddrs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d70_6cff_11d1_aff7_00c04fc31fee); } @@ -2470,6 +2320,7 @@ pub struct IEnumDialableAddrs_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDirectory(::windows_core::IUnknown); impl IEnumDirectory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2489,25 +2340,9 @@ impl IEnumDirectory { } } ::windows_core::imp::interface_hierarchy!(IEnumDirectory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDirectory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDirectory {} -impl ::core::fmt::Debug for IEnumDirectory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDirectory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDirectory { type Vtable = IEnumDirectory_Vtbl; } -impl ::core::clone::Clone for IEnumDirectory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDirectory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d6d_6cff_11d1_aff7_00c04fc31fee); } @@ -2525,6 +2360,7 @@ pub struct IEnumDirectory_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDirectoryObject(::windows_core::IUnknown); impl IEnumDirectoryObject { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2544,25 +2380,9 @@ impl IEnumDirectoryObject { } } ::windows_core::imp::interface_hierarchy!(IEnumDirectoryObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDirectoryObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDirectoryObject {} -impl ::core::fmt::Debug for IEnumDirectoryObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDirectoryObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDirectoryObject { type Vtable = IEnumDirectoryObject_Vtbl; } -impl ::core::clone::Clone for IEnumDirectoryObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDirectoryObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06c9b64a_306d_11d1_9774_00c04fd91ac0); } @@ -2580,6 +2400,7 @@ pub struct IEnumDirectoryObject_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumLocation(::windows_core::IUnknown); impl IEnumLocation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2599,25 +2420,9 @@ impl IEnumLocation { } } ::windows_core::imp::interface_hierarchy!(IEnumLocation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumLocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumLocation {} -impl ::core::fmt::Debug for IEnumLocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumLocation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumLocation { type Vtable = IEnumLocation_Vtbl; } -impl ::core::clone::Clone for IEnumLocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumLocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c4d8f01_8ddb_11d1_a09e_00805fc147d3); } @@ -2635,6 +2440,7 @@ pub struct IEnumLocation_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMcastScope(::windows_core::IUnknown); impl IEnumMcastScope { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2654,25 +2460,9 @@ impl IEnumMcastScope { } } ::windows_core::imp::interface_hierarchy!(IEnumMcastScope, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMcastScope { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMcastScope {} -impl ::core::fmt::Debug for IEnumMcastScope { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMcastScope").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMcastScope { type Vtable = IEnumMcastScope_Vtbl; } -impl ::core::clone::Clone for IEnumMcastScope { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMcastScope { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0daf09_a289_11d1_8697_006008b0e5d2); } @@ -2690,6 +2480,7 @@ pub struct IEnumMcastScope_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPhone(::windows_core::IUnknown); impl IEnumPhone { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2709,25 +2500,9 @@ impl IEnumPhone { } } ::windows_core::imp::interface_hierarchy!(IEnumPhone, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPhone { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPhone {} -impl ::core::fmt::Debug for IEnumPhone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPhone").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPhone { type Vtable = IEnumPhone_Vtbl; } -impl ::core::clone::Clone for IEnumPhone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPhone { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf15b7669_4780_4595_8c89_fb369c8cf7aa); } @@ -2745,6 +2520,7 @@ pub struct IEnumPhone_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPluggableSuperclassInfo(::windows_core::IUnknown); impl IEnumPluggableSuperclassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2764,25 +2540,9 @@ impl IEnumPluggableSuperclassInfo { } } ::windows_core::imp::interface_hierarchy!(IEnumPluggableSuperclassInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPluggableSuperclassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPluggableSuperclassInfo {} -impl ::core::fmt::Debug for IEnumPluggableSuperclassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPluggableSuperclassInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPluggableSuperclassInfo { type Vtable = IEnumPluggableSuperclassInfo_Vtbl; } -impl ::core::clone::Clone for IEnumPluggableSuperclassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPluggableSuperclassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9586a80_89e6_4cff_931d_478d5751f4c0); } @@ -2800,6 +2560,7 @@ pub struct IEnumPluggableSuperclassInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPluggableTerminalClassInfo(::windows_core::IUnknown); impl IEnumPluggableTerminalClassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2819,25 +2580,9 @@ impl IEnumPluggableTerminalClassInfo { } } ::windows_core::imp::interface_hierarchy!(IEnumPluggableTerminalClassInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPluggableTerminalClassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPluggableTerminalClassInfo {} -impl ::core::fmt::Debug for IEnumPluggableTerminalClassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPluggableTerminalClassInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPluggableTerminalClassInfo { type Vtable = IEnumPluggableTerminalClassInfo_Vtbl; } -impl ::core::clone::Clone for IEnumPluggableTerminalClassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPluggableTerminalClassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4567450c_dbee_4e3f_aaf5_37bf9ebf5e29); } @@ -2855,6 +2600,7 @@ pub struct IEnumPluggableTerminalClassInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumQueue(::windows_core::IUnknown); impl IEnumQueue { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2874,25 +2620,9 @@ impl IEnumQueue { } } ::windows_core::imp::interface_hierarchy!(IEnumQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumQueue {} -impl ::core::fmt::Debug for IEnumQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumQueue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumQueue { type Vtable = IEnumQueue_Vtbl; } -impl ::core::clone::Clone for IEnumQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3158_4bcc_11d1_bf80_00805fc147d3); } @@ -2910,6 +2640,7 @@ pub struct IEnumQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumStream(::windows_core::IUnknown); impl IEnumStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2929,25 +2660,9 @@ impl IEnumStream { } } ::windows_core::imp::interface_hierarchy!(IEnumStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumStream {} -impl ::core::fmt::Debug for IEnumStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumStream { type Vtable = IEnumStream_Vtbl; } -impl ::core::clone::Clone for IEnumStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd606_3868_11d2_a045_00c04fb6809f); } @@ -2965,6 +2680,7 @@ pub struct IEnumStream_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSubStream(::windows_core::IUnknown); impl IEnumSubStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2984,25 +2700,9 @@ impl IEnumSubStream { } } ::windows_core::imp::interface_hierarchy!(IEnumSubStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSubStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSubStream {} -impl ::core::fmt::Debug for IEnumSubStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSubStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSubStream { type Vtable = IEnumSubStream_Vtbl; } -impl ::core::clone::Clone for IEnumSubStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSubStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd609_3868_11d2_a045_00c04fb6809f); } @@ -3020,6 +2720,7 @@ pub struct IEnumSubStream_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTerminal(::windows_core::IUnknown); impl IEnumTerminal { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3039,25 +2740,9 @@ impl IEnumTerminal { } } ::windows_core::imp::interface_hierarchy!(IEnumTerminal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTerminal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTerminal {} -impl ::core::fmt::Debug for IEnumTerminal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTerminal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTerminal { type Vtable = IEnumTerminal_Vtbl; } -impl ::core::clone::Clone for IEnumTerminal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTerminal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae269cf4_935e_11d0_835c_00aa003ccabd); } @@ -3075,6 +2760,7 @@ pub struct IEnumTerminal_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTerminalClass(::windows_core::IUnknown); impl IEnumTerminalClass { pub unsafe fn Next(&self, pelements: &mut [::windows_core::GUID], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -3092,25 +2778,9 @@ impl IEnumTerminalClass { } } ::windows_core::imp::interface_hierarchy!(IEnumTerminalClass, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTerminalClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTerminalClass {} -impl ::core::fmt::Debug for IEnumTerminalClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTerminalClass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTerminalClass { type Vtable = IEnumTerminalClass_Vtbl; } -impl ::core::clone::Clone for IEnumTerminalClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTerminalClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae269cf5_935e_11d0_835c_00aa003ccabd); } @@ -3126,6 +2796,7 @@ pub struct IEnumTerminalClass_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMcastAddressAllocation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMcastAddressAllocation { @@ -3189,30 +2860,10 @@ impl IMcastAddressAllocation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMcastAddressAllocation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMcastAddressAllocation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMcastAddressAllocation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMcastAddressAllocation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMcastAddressAllocation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMcastAddressAllocation { type Vtable = IMcastAddressAllocation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMcastAddressAllocation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMcastAddressAllocation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0daef1_a289_11d1_8697_006008b0e5d2); } @@ -3250,6 +2901,7 @@ pub struct IMcastAddressAllocation_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMcastLeaseInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMcastLeaseInfo { @@ -3297,30 +2949,10 @@ impl IMcastLeaseInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMcastLeaseInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMcastLeaseInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMcastLeaseInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMcastLeaseInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMcastLeaseInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMcastLeaseInfo { type Vtable = IMcastLeaseInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMcastLeaseInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMcastLeaseInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0daefd_a289_11d1_8697_006008b0e5d2); } @@ -3346,6 +2978,7 @@ pub struct IMcastLeaseInfo_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMcastScope(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMcastScope { @@ -3373,30 +3006,10 @@ impl IMcastScope { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMcastScope, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMcastScope { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMcastScope {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMcastScope { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMcastScope").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMcastScope { type Vtable = IMcastScope_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMcastScope { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMcastScope { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0daef4_a289_11d1_8697_006008b0e5d2); } @@ -3414,6 +3027,7 @@ pub struct IMcastScope_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITACDGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITACDGroup { @@ -3435,30 +3049,10 @@ impl ITACDGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITACDGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITACDGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITACDGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITACDGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITACDGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITACDGroup { type Vtable = ITACDGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITACDGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITACDGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3148_4bcc_11d1_bf80_00805fc147d3); } @@ -3477,6 +3071,7 @@ pub struct ITACDGroup_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITACDGroupEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITACDGroupEvent { @@ -3494,30 +3089,10 @@ impl ITACDGroupEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITACDGroupEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITACDGroupEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITACDGroupEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITACDGroupEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITACDGroupEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITACDGroupEvent { type Vtable = ITACDGroupEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITACDGroupEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITACDGroupEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x297f3032_bd11_11d1_a0a7_00805fc147d3); } @@ -3534,6 +3109,7 @@ pub struct ITACDGroupEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAMMediaFormat(::windows_core::IUnknown); impl ITAMMediaFormat { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -3549,25 +3125,9 @@ impl ITAMMediaFormat { } } ::windows_core::imp::interface_hierarchy!(ITAMMediaFormat, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITAMMediaFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITAMMediaFormat {} -impl ::core::fmt::Debug for ITAMMediaFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAMMediaFormat").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITAMMediaFormat { type Vtable = ITAMMediaFormat_Vtbl; } -impl ::core::clone::Clone for ITAMMediaFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITAMMediaFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0364eb00_4a77_11d1_a671_006097c9a2e8); } @@ -3587,6 +3147,7 @@ pub struct ITAMMediaFormat_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITASRTerminalEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITASRTerminalEvent { @@ -3610,30 +3171,10 @@ impl ITASRTerminalEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITASRTerminalEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITASRTerminalEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITASRTerminalEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITASRTerminalEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITASRTerminalEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITASRTerminalEvent { type Vtable = ITASRTerminalEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITASRTerminalEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITASRTerminalEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee016a02_4fa9_467c_933f_5a15b12377d7); } @@ -3655,6 +3196,7 @@ pub struct ITASRTerminalEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddress { @@ -3752,30 +3294,10 @@ impl ITAddress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddress, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddress { type Vtable = ITAddress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc386_9355_11d0_835c_00aa003ccabd); } @@ -3833,6 +3355,7 @@ pub struct ITAddress_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddress2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddress2 { @@ -3993,30 +3516,10 @@ impl ITAddress2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddress2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITAddress); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddress2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddress2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddress2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddress2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddress2 { type Vtable = ITAddress2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddress2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddress2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0ae5d9b_be51_46c9_b0f7_dfa8a22a8bc4); } @@ -4060,6 +3563,7 @@ pub struct ITAddress2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddressCapabilities(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressCapabilities { @@ -4105,30 +3609,10 @@ impl ITAddressCapabilities { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddressCapabilities, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddressCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddressCapabilities {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddressCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddressCapabilities").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddressCapabilities { type Vtable = ITAddressCapabilities_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddressCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddressCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8df232f5_821b_11d1_bb5c_00c04fb6809f); } @@ -4158,6 +3642,7 @@ pub struct ITAddressCapabilities_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddressDeviceSpecificEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressDeviceSpecificEvent { @@ -4189,30 +3674,10 @@ impl ITAddressDeviceSpecificEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddressDeviceSpecificEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddressDeviceSpecificEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddressDeviceSpecificEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddressDeviceSpecificEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddressDeviceSpecificEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddressDeviceSpecificEvent { type Vtable = ITAddressDeviceSpecificEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddressDeviceSpecificEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddressDeviceSpecificEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3acb216b_40bd_487a_8672_5ce77bd7e3a3); } @@ -4236,6 +3701,7 @@ pub struct ITAddressDeviceSpecificEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddressEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressEvent { @@ -4259,30 +3725,10 @@ impl ITAddressEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddressEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddressEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddressEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddressEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddressEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddressEvent { type Vtable = ITAddressEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddressEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddressEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x831ce2d1_83b5_11d1_bb5c_00c04fb6809f); } @@ -4304,6 +3750,7 @@ pub struct ITAddressEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddressTranslation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressTranslation { @@ -4346,30 +3793,10 @@ impl ITAddressTranslation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddressTranslation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddressTranslation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddressTranslation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddressTranslation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddressTranslation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddressTranslation { type Vtable = ITAddressTranslation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddressTranslation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddressTranslation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c4d8f03_8ddb_11d1_a09e_00805fc147d3); } @@ -4397,6 +3824,7 @@ pub struct ITAddressTranslation_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAddressTranslationInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAddressTranslationInfo { @@ -4424,30 +3852,10 @@ impl ITAddressTranslationInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAddressTranslationInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAddressTranslationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAddressTranslationInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAddressTranslationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAddressTranslationInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAddressTranslationInfo { type Vtable = ITAddressTranslationInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAddressTranslationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAddressTranslationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafc15945_8d40_11d1_a09e_00805fc147d3); } @@ -4465,6 +3873,7 @@ pub struct ITAddressTranslationInfo_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgent { @@ -4555,30 +3964,10 @@ impl ITAgent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgent { type Vtable = ITAgent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5770ece5_4b27_11d1_bf80_00805fc147d3); } @@ -4620,6 +4009,7 @@ pub struct ITAgent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgentEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgentEvent { @@ -4637,30 +4027,10 @@ impl ITAgentEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgentEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgentEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgentEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgentEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgentEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgentEvent { type Vtable = ITAgentEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgentEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgentEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc314a_4bcc_11d1_bf80_00805fc147d3); } @@ -4678,6 +4048,7 @@ pub struct ITAgentEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgentHandler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgentHandler { @@ -4725,30 +4096,10 @@ impl ITAgentHandler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgentHandler, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgentHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgentHandler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgentHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgentHandler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgentHandler { type Vtable = ITAgentHandler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgentHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgentHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x587e8c22_9802_11d1_a0a4_00805fc147d3); } @@ -4780,6 +4131,7 @@ pub struct ITAgentHandler_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgentHandlerEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgentHandlerEvent { @@ -4797,30 +4149,10 @@ impl ITAgentHandlerEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgentHandlerEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgentHandlerEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgentHandlerEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgentHandlerEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgentHandlerEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgentHandlerEvent { type Vtable = ITAgentHandlerEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgentHandlerEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgentHandlerEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x297f3034_bd11_11d1_a0a7_00805fc147d3); } @@ -4838,6 +4170,7 @@ pub struct ITAgentHandlerEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgentSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgentSession { @@ -4920,30 +4253,10 @@ impl ITAgentSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgentSession, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgentSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgentSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgentSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgentSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgentSession { type Vtable = ITAgentSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgentSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgentSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3147_4bcc_11d1_bf80_00805fc147d3); } @@ -4985,6 +4298,7 @@ pub struct ITAgentSession_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAgentSessionEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAgentSessionEvent { @@ -5002,30 +4316,10 @@ impl ITAgentSessionEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAgentSessionEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAgentSessionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAgentSessionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAgentSessionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAgentSessionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAgentSessionEvent { type Vtable = ITAgentSessionEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAgentSessionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAgentSessionEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc314b_4bcc_11d1_bf80_00805fc147d3); } @@ -5042,6 +4336,7 @@ pub struct ITAgentSessionEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAllocatorProperties(::windows_core::IUnknown); impl ITAllocatorProperties { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] @@ -5078,25 +4373,9 @@ impl ITAllocatorProperties { } } ::windows_core::imp::interface_hierarchy!(ITAllocatorProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITAllocatorProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITAllocatorProperties {} -impl ::core::fmt::Debug for ITAllocatorProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAllocatorProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITAllocatorProperties { type Vtable = ITAllocatorProperties_Vtbl; } -impl ::core::clone::Clone for ITAllocatorProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITAllocatorProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1bc3c90_bcfe_11d1_9745_00c04fd91ac0); } @@ -5126,6 +4405,7 @@ pub struct ITAllocatorProperties_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITAutomatedPhoneControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITAutomatedPhoneControl { @@ -5301,30 +4581,10 @@ impl ITAutomatedPhoneControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITAutomatedPhoneControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITAutomatedPhoneControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITAutomatedPhoneControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITAutomatedPhoneControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITAutomatedPhoneControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITAutomatedPhoneControl { type Vtable = ITAutomatedPhoneControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITAutomatedPhoneControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITAutomatedPhoneControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ee1af0e_6159_4a61_b79b_6a4ba3fc9dfc); } @@ -5417,6 +4677,7 @@ pub struct ITAutomatedPhoneControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITBasicAudioTerminal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITBasicAudioTerminal { @@ -5438,30 +4699,10 @@ impl ITBasicAudioTerminal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITBasicAudioTerminal, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITBasicAudioTerminal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITBasicAudioTerminal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITBasicAudioTerminal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITBasicAudioTerminal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITBasicAudioTerminal { type Vtable = ITBasicAudioTerminal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITBasicAudioTerminal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITBasicAudioTerminal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc38d_9355_11d0_835c_00aa003ccabd); } @@ -5478,6 +4719,7 @@ pub struct ITBasicAudioTerminal_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITBasicCallControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITBasicCallControl { @@ -5582,30 +4824,10 @@ impl ITBasicCallControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITBasicCallControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITBasicCallControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITBasicCallControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITBasicCallControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITBasicCallControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITBasicCallControl { type Vtable = ITBasicCallControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITBasicCallControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITBasicCallControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc389_9355_11d0_835c_00aa003ccabd); } @@ -5651,6 +4873,7 @@ pub struct ITBasicCallControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITBasicCallControl2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITBasicCallControl2 { @@ -5780,30 +5003,10 @@ impl ITBasicCallControl2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITBasicCallControl2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITBasicCallControl); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITBasicCallControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITBasicCallControl2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITBasicCallControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITBasicCallControl2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITBasicCallControl2 { type Vtable = ITBasicCallControl2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITBasicCallControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITBasicCallControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x161a4a56_1e99_4b3f_a46a_168f38a5ee4c); } @@ -5828,6 +5031,7 @@ pub struct ITBasicCallControl2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallHub(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallHub { @@ -5856,30 +5060,10 @@ impl ITCallHub { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallHub, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallHub { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallHub {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallHub { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallHub").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallHub { type Vtable = ITCallHub_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallHub { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallHub { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3c1544e_5b92_11d1_8f4e_00c04fb6809f); } @@ -5900,6 +5084,7 @@ pub struct ITCallHub_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallHubEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallHubEvent { @@ -5923,30 +5108,10 @@ impl ITCallHubEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallHubEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallHubEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallHubEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallHubEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallHubEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallHubEvent { type Vtable = ITCallHubEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallHubEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallHubEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3c15451_5b92_11d1_8f4e_00c04fb6809f); } @@ -5968,6 +5133,7 @@ pub struct ITCallHubEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallInfo { @@ -6032,30 +5198,10 @@ impl ITCallInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallInfo { type Vtable = ITCallInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x350f85d1_1227_11d3_83d4_00c04fb6809f); } @@ -6093,6 +5239,7 @@ pub struct ITCallInfo_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallInfo2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallInfo2 { @@ -6171,30 +5318,10 @@ impl ITCallInfo2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallInfo2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITCallInfo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallInfo2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallInfo2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallInfo2 { type Vtable = ITCallInfo2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94d70ca6_7ab0_4daa_81ca_b8f8643faec1); } @@ -6215,6 +5342,7 @@ pub struct ITCallInfo2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallInfoChangeEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallInfoChangeEvent { @@ -6236,30 +5364,10 @@ impl ITCallInfoChangeEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallInfoChangeEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallInfoChangeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallInfoChangeEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallInfoChangeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallInfoChangeEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallInfoChangeEvent { type Vtable = ITCallInfoChangeEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallInfoChangeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallInfoChangeEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d4b65f9_e51c_11d1_a02f_00c04fb6809f); } @@ -6278,6 +5386,7 @@ pub struct ITCallInfoChangeEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallMediaEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallMediaEvent { @@ -6315,30 +5424,10 @@ impl ITCallMediaEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallMediaEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallMediaEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallMediaEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallMediaEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallMediaEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallMediaEvent { type Vtable = ITCallMediaEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallMediaEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallMediaEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff36b87f_ec3a_11d0_8ee4_00c04fb6809f); } @@ -6366,6 +5455,7 @@ pub struct ITCallMediaEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallNotificationEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallNotificationEvent { @@ -6387,30 +5477,10 @@ impl ITCallNotificationEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallNotificationEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallNotificationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallNotificationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallNotificationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallNotificationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallNotificationEvent { type Vtable = ITCallNotificationEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallNotificationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallNotificationEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x895801df_3dd6_11d1_8f30_00c04fb6809f); } @@ -6429,6 +5499,7 @@ pub struct ITCallNotificationEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallStateEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallStateEvent { @@ -6454,30 +5525,10 @@ impl ITCallStateEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallStateEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallStateEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallStateEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallStateEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallStateEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallStateEvent { type Vtable = ITCallStateEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallStateEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallStateEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62f47097_95c9_11d0_835d_00aa003ccabd); } @@ -6497,6 +5548,7 @@ pub struct ITCallStateEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCallingCard(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCallingCard { @@ -6532,30 +5584,10 @@ impl ITCallingCard { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCallingCard, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCallingCard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCallingCard {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCallingCard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCallingCard").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCallingCard { type Vtable = ITCallingCard_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCallingCard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCallingCard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c4d8f00_8ddb_11d1_a09e_00805fc147d3); } @@ -6575,6 +5607,7 @@ pub struct ITCallingCard_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCollection { @@ -6596,30 +5629,10 @@ impl ITCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCollection { type Vtable = ITCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ec5acf2_9c02_11d0_8362_00aa003ccabd); } @@ -6638,6 +5651,7 @@ pub struct ITCollection_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCollection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCollection2 { @@ -6667,30 +5681,10 @@ impl ITCollection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITCollection2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCollection2 { type Vtable = ITCollection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCollection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6dddda5_a6d3_48ff_8737_d32fc4d95477); } @@ -6708,6 +5702,7 @@ pub struct ITCollection2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITCustomTone(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITCustomTone { @@ -6736,37 +5731,17 @@ impl ITCustomTone { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).Volume)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } - pub unsafe fn SetVolume(&self, lvolume: i32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).SetVolume)(::windows_core::Interface::as_raw(self), lvolume).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(ITCustomTone, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITCustomTone { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITCustomTone {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITCustomTone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITCustomTone").field(&self.0).finish() + pub unsafe fn SetVolume(&self, lvolume: i32) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetVolume)(::windows_core::Interface::as_raw(self), lvolume).ok() } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(ITCustomTone, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITCustomTone { type Vtable = ITCustomTone_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITCustomTone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITCustomTone { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x357ad764_b3c6_4b2a_8fa5_0722827a9254); } @@ -6787,6 +5762,7 @@ pub struct ITCustomTone_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDetectTone(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDetectTone { @@ -6815,30 +5791,10 @@ impl ITDetectTone { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDetectTone, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDetectTone { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDetectTone {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDetectTone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDetectTone").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDetectTone { type Vtable = ITDetectTone_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDetectTone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDetectTone { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x961f79bd_3097_49df_a1d6_909b77e89ca0); } @@ -6857,6 +5813,7 @@ pub struct ITDetectTone_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDigitDetectionEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDigitDetectionEvent { @@ -6886,30 +5843,10 @@ impl ITDigitDetectionEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDigitDetectionEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDigitDetectionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDigitDetectionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDigitDetectionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDigitDetectionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDigitDetectionEvent { type Vtable = ITDigitDetectionEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDigitDetectionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDigitDetectionEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80d3bfac_57d9_11d2_a04a_00c04fb6809f); } @@ -6930,6 +5867,7 @@ pub struct ITDigitDetectionEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDigitGenerationEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDigitGenerationEvent { @@ -6955,30 +5893,10 @@ impl ITDigitGenerationEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDigitGenerationEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDigitGenerationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDigitGenerationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDigitGenerationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDigitGenerationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDigitGenerationEvent { type Vtable = ITDigitGenerationEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDigitGenerationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDigitGenerationEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80d3bfad_57d9_11d2_a04a_00c04fb6809f); } @@ -6998,6 +5916,7 @@ pub struct ITDigitGenerationEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDigitsGatheredEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDigitsGatheredEvent { @@ -7027,30 +5946,10 @@ impl ITDigitsGatheredEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDigitsGatheredEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDigitsGatheredEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDigitsGatheredEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDigitsGatheredEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDigitsGatheredEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDigitsGatheredEvent { type Vtable = ITDigitsGatheredEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDigitsGatheredEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDigitsGatheredEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe52ec4c1_cba3_441a_9e6a_93cb909e9724); } @@ -7071,6 +5970,7 @@ pub struct ITDigitsGatheredEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDirectory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectory { @@ -7171,30 +6071,10 @@ impl ITDirectory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDirectory, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDirectory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDirectory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDirectory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDirectory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDirectory { type Vtable = ITDirectory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDirectory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDirectory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d6c_6cff_11d1_aff7_00c04fc31fee); } @@ -7245,6 +6125,7 @@ pub struct ITDirectory_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDirectoryObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObject { @@ -7290,30 +6171,10 @@ impl ITDirectoryObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDirectoryObject, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDirectoryObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDirectoryObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDirectoryObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDirectoryObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDirectoryObject { type Vtable = ITDirectoryObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDirectoryObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDirectoryObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d6e_6cff_11d1_aff7_00c04fc31fee); } @@ -7342,6 +6203,7 @@ pub struct ITDirectoryObject_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDirectoryObjectConference(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectConference { @@ -7418,30 +6280,10 @@ impl ITDirectoryObjectConference { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDirectoryObjectConference, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDirectoryObjectConference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDirectoryObjectConference {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDirectoryObjectConference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDirectoryObjectConference").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDirectoryObjectConference { type Vtable = ITDirectoryObjectConference_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDirectoryObjectConference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDirectoryObjectConference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1029e5d_cb5b_11d0_8d59_00c04fd91ac0); } @@ -7475,6 +6317,7 @@ pub struct ITDirectoryObjectConference_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDirectoryObjectUser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDirectoryObjectUser { @@ -7492,30 +6335,10 @@ impl ITDirectoryObjectUser { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDirectoryObjectUser, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDirectoryObjectUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDirectoryObjectUser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDirectoryObjectUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDirectoryObjectUser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDirectoryObjectUser { type Vtable = ITDirectoryObjectUser_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDirectoryObjectUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDirectoryObjectUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d6f_6cff_11d1_aff7_00c04fc31fee); } @@ -7530,6 +6353,7 @@ pub struct ITDirectoryObjectUser_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITDispatchMapper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITDispatchMapper { @@ -7547,30 +6371,10 @@ impl ITDispatchMapper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITDispatchMapper, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITDispatchMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITDispatchMapper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITDispatchMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITDispatchMapper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITDispatchMapper { type Vtable = ITDispatchMapper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITDispatchMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITDispatchMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9225295_c759_11d1_a02b_00c04fb6809f); } @@ -7587,6 +6391,7 @@ pub struct ITDispatchMapper_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITFileTerminalEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITFileTerminalEvent { @@ -7624,30 +6429,10 @@ impl ITFileTerminalEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITFileTerminalEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITFileTerminalEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITFileTerminalEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITFileTerminalEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITFileTerminalEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITFileTerminalEvent { type Vtable = ITFileTerminalEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITFileTerminalEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITFileTerminalEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4a7fbac_8c17_4427_9f55_9f589ac8af00); } @@ -7675,6 +6460,7 @@ pub struct ITFileTerminalEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITFileTrack(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITFileTrack { @@ -7719,30 +6505,10 @@ impl ITFileTrack { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITFileTrack, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITFileTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITFileTrack {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITFileTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITFileTrack").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITFileTrack { type Vtable = ITFileTrack_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITFileTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITFileTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31ca6ea9_c08a_4bea_8811_8e9c1ba3ea3a); } @@ -7779,6 +6545,7 @@ pub struct ITFileTrack_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITForwardInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITForwardInformation { @@ -7814,30 +6581,10 @@ impl ITForwardInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITForwardInformation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITForwardInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITForwardInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITForwardInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITForwardInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITForwardInformation { type Vtable = ITForwardInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITForwardInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITForwardInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x449f659e_88a3_11d1_bb5d_00c04fb6809f); } @@ -7857,6 +6604,7 @@ pub struct ITForwardInformation_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITForwardInformation2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITForwardInformation2 { @@ -7910,30 +6658,10 @@ impl ITForwardInformation2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITForwardInformation2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITForwardInformation); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITForwardInformation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITForwardInformation2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITForwardInformation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITForwardInformation2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITForwardInformation2 { type Vtable = ITForwardInformation2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITForwardInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITForwardInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5229b4ed_b260_4382_8e1a_5df3a8a4ccc0); } @@ -7950,6 +6678,7 @@ pub struct ITForwardInformation2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITILSConfig(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITILSConfig { @@ -7964,30 +6693,10 @@ impl ITILSConfig { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITILSConfig, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITILSConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITILSConfig {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITILSConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITILSConfig").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITILSConfig { type Vtable = ITILSConfig_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITILSConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITILSConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d72_6cff_11d1_aff7_00c04fc31fee); } @@ -8001,6 +6710,7 @@ pub struct ITILSConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLegacyAddressMediaControl(::windows_core::IUnknown); impl ITLegacyAddressMediaControl { pub unsafe fn GetID(&self, pdeviceclass: P0, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> ::windows_core::Result<()> @@ -8023,25 +6733,9 @@ impl ITLegacyAddressMediaControl { } } ::windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITLegacyAddressMediaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITLegacyAddressMediaControl {} -impl ::core::fmt::Debug for ITLegacyAddressMediaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLegacyAddressMediaControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITLegacyAddressMediaControl { type Vtable = ITLegacyAddressMediaControl_Vtbl; } -impl ::core::clone::Clone for ITLegacyAddressMediaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITLegacyAddressMediaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab493640_4c0b_11d2_a046_00c04fb6809f); } @@ -8055,6 +6749,7 @@ pub struct ITLegacyAddressMediaControl_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLegacyAddressMediaControl2(::windows_core::IUnknown); impl ITLegacyAddressMediaControl2 { pub unsafe fn GetID(&self, pdeviceclass: P0, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> ::windows_core::Result<()> @@ -8095,25 +6790,9 @@ impl ITLegacyAddressMediaControl2 { } } ::windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl2, ::windows_core::IUnknown, ITLegacyAddressMediaControl); -impl ::core::cmp::PartialEq for ITLegacyAddressMediaControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITLegacyAddressMediaControl2 {} -impl ::core::fmt::Debug for ITLegacyAddressMediaControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLegacyAddressMediaControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITLegacyAddressMediaControl2 { type Vtable = ITLegacyAddressMediaControl2_Vtbl; } -impl ::core::clone::Clone for ITLegacyAddressMediaControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITLegacyAddressMediaControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0ee512b_a531_409e_9dd9_4099fe86c738); } @@ -8133,6 +6812,7 @@ pub struct ITLegacyAddressMediaControl2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLegacyCallMediaControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLegacyCallMediaControl { @@ -8161,30 +6841,10 @@ impl ITLegacyCallMediaControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITLegacyCallMediaControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITLegacyCallMediaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITLegacyCallMediaControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITLegacyCallMediaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLegacyCallMediaControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITLegacyCallMediaControl { type Vtable = ITLegacyCallMediaControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITLegacyCallMediaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITLegacyCallMediaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd624582f_cc23_4436_b8a5_47c625c8045d); } @@ -8202,6 +6862,7 @@ pub struct ITLegacyCallMediaControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLegacyCallMediaControl2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLegacyCallMediaControl2 { @@ -8288,30 +6949,10 @@ impl ITLegacyCallMediaControl2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITLegacyCallMediaControl2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITLegacyCallMediaControl); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITLegacyCallMediaControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITLegacyCallMediaControl2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITLegacyCallMediaControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLegacyCallMediaControl2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITLegacyCallMediaControl2 { type Vtable = ITLegacyCallMediaControl2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITLegacyCallMediaControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITLegacyCallMediaControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57ca332d_7bc2_44f1_a60c_936fe8d7ce73); } @@ -8349,6 +6990,7 @@ pub struct ITLegacyCallMediaControl2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLegacyWaveSupport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLegacyWaveSupport { @@ -8360,30 +7002,10 @@ impl ITLegacyWaveSupport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITLegacyWaveSupport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITLegacyWaveSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITLegacyWaveSupport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITLegacyWaveSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLegacyWaveSupport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITLegacyWaveSupport { type Vtable = ITLegacyWaveSupport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITLegacyWaveSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITLegacyWaveSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x207823ea_e252_11d2_b77e_0080c7135381); } @@ -8397,6 +7019,7 @@ pub struct ITLegacyWaveSupport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITLocationInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITLocationInfo { @@ -8440,38 +7063,18 @@ impl ITLocationInfo { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).TollPrefixList)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } - pub unsafe fn CancelCallWaitingCode(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).CancelCallWaitingCode)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(ITLocationInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITLocationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + pub unsafe fn CancelCallWaitingCode(&self) -> ::windows_core::Result<::windows_core::BSTR> { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).CancelCallWaitingCode)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITLocationInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITLocationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITLocationInfo").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ITLocationInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITLocationInfo { type Vtable = ITLocationInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITLocationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITLocationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c4d8eff_8ddb_11d1_a09e_00805fc147d3); } @@ -8494,6 +7097,7 @@ pub struct ITLocationInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMSPAddress(::windows_core::IUnknown); impl ITMSPAddress { pub unsafe fn Initialize(&self, hevent: *const i32) -> ::windows_core::Result<()> { @@ -8526,25 +7130,9 @@ impl ITMSPAddress { } } ::windows_core::imp::interface_hierarchy!(ITMSPAddress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITMSPAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITMSPAddress {} -impl ::core::fmt::Debug for ITMSPAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMSPAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITMSPAddress { type Vtable = ITMSPAddress_Vtbl; } -impl ::core::clone::Clone for ITMSPAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITMSPAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd600_3868_11d2_a045_00c04fb6809f); } @@ -8562,6 +7150,7 @@ pub struct ITMSPAddress_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMediaControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMediaControl { @@ -8582,30 +7171,10 @@ impl ITMediaControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITMediaControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITMediaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITMediaControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITMediaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMediaControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITMediaControl { type Vtable = ITMediaControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITMediaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITMediaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc445dde8_5199_4bc7_9807_5ffb92e42e09); } @@ -8622,6 +7191,7 @@ pub struct ITMediaControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMediaPlayback(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMediaPlayback { @@ -8640,30 +7210,10 @@ impl ITMediaPlayback { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITMediaPlayback, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITMediaPlayback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITMediaPlayback {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITMediaPlayback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMediaPlayback").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITMediaPlayback { type Vtable = ITMediaPlayback_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITMediaPlayback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITMediaPlayback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x627e8ae6_ae4c_4a69_bb63_2ad625404b77); } @@ -8684,6 +7234,7 @@ pub struct ITMediaPlayback_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMediaRecord(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMediaRecord { @@ -8701,30 +7252,10 @@ impl ITMediaRecord { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITMediaRecord, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITMediaRecord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITMediaRecord {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITMediaRecord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMediaRecord").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITMediaRecord { type Vtable = ITMediaRecord_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITMediaRecord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITMediaRecord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5dd4592_5476_4cc1_9d4d_fad3eefe7db2); } @@ -8739,6 +7270,7 @@ pub struct ITMediaRecord_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMediaSupport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMediaSupport { @@ -8756,30 +7288,10 @@ impl ITMediaSupport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITMediaSupport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITMediaSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITMediaSupport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITMediaSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMediaSupport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITMediaSupport { type Vtable = ITMediaSupport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITMediaSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITMediaSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc384_9355_11d0_835c_00aa003ccabd); } @@ -8797,6 +7309,7 @@ pub struct ITMediaSupport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITMultiTrackTerminal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITMultiTrackTerminal { @@ -8836,30 +7349,10 @@ impl ITMultiTrackTerminal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITMultiTrackTerminal, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITMultiTrackTerminal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITMultiTrackTerminal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITMultiTrackTerminal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITMultiTrackTerminal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITMultiTrackTerminal { type Vtable = ITMultiTrackTerminal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITMultiTrackTerminal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITMultiTrackTerminal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe040091_ade8_4072_95c9_bf7de8c54b44); } @@ -8887,6 +7380,7 @@ pub struct ITMultiTrackTerminal_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPhone(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPhone { @@ -9037,30 +7531,10 @@ impl ITPhone { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPhone, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPhone { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPhone {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPhone { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPhone").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPhone { type Vtable = ITPhone_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPhone { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPhone { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09d48db4_10cc_4388_9de7_a8465618975a); } @@ -9124,6 +7598,7 @@ pub struct ITPhone_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPhoneDeviceSpecificEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPhoneDeviceSpecificEvent { @@ -9149,30 +7624,10 @@ impl ITPhoneDeviceSpecificEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPhoneDeviceSpecificEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPhoneDeviceSpecificEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPhoneDeviceSpecificEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPhoneDeviceSpecificEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPhoneDeviceSpecificEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPhoneDeviceSpecificEvent { type Vtable = ITPhoneDeviceSpecificEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPhoneDeviceSpecificEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPhoneDeviceSpecificEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63ffb2a6_872b_4cd3_a501_326e8fb40af7); } @@ -9192,6 +7647,7 @@ pub struct ITPhoneDeviceSpecificEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPhoneEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPhoneEvent { @@ -9239,30 +7695,10 @@ impl ITPhoneEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPhoneEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPhoneEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPhoneEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPhoneEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPhoneEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPhoneEvent { type Vtable = ITPhoneEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPhoneEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPhoneEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f942dd8_64ed_4aaf_a77d_b23db0837ead); } @@ -9290,6 +7726,7 @@ pub struct ITPhoneEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPluggableTerminalClassInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalClassInfo { @@ -9325,30 +7762,10 @@ impl ITPluggableTerminalClassInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPluggableTerminalClassInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPluggableTerminalClassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPluggableTerminalClassInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPluggableTerminalClassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPluggableTerminalClassInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPluggableTerminalClassInfo { type Vtable = ITPluggableTerminalClassInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPluggableTerminalClassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPluggableTerminalClassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41757f4a_cf09_4b34_bc96_0a79d2390076); } @@ -9367,6 +7784,7 @@ pub struct ITPluggableTerminalClassInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPluggableTerminalEventSink(::windows_core::IUnknown); impl ITPluggableTerminalEventSink { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9376,25 +7794,9 @@ impl ITPluggableTerminalEventSink { } } ::windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITPluggableTerminalEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITPluggableTerminalEventSink {} -impl ::core::fmt::Debug for ITPluggableTerminalEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPluggableTerminalEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITPluggableTerminalEventSink { type Vtable = ITPluggableTerminalEventSink_Vtbl; } -impl ::core::clone::Clone for ITPluggableTerminalEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITPluggableTerminalEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e0887be_ba1a_492e_bd10_4020ec5e33e0); } @@ -9409,6 +7811,7 @@ pub struct ITPluggableTerminalEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPluggableTerminalEventSinkRegistration(::windows_core::IUnknown); impl ITPluggableTerminalEventSinkRegistration { pub unsafe fn RegisterSink(&self, peventsink: P0) -> ::windows_core::Result<()> @@ -9422,25 +7825,9 @@ impl ITPluggableTerminalEventSinkRegistration { } } ::windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSinkRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITPluggableTerminalEventSinkRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITPluggableTerminalEventSinkRegistration {} -impl ::core::fmt::Debug for ITPluggableTerminalEventSinkRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPluggableTerminalEventSinkRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITPluggableTerminalEventSinkRegistration { type Vtable = ITPluggableTerminalEventSinkRegistration_Vtbl; } -impl ::core::clone::Clone for ITPluggableTerminalEventSinkRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITPluggableTerminalEventSinkRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7115709_a216_4957_a759_060ab32a90d1); } @@ -9454,6 +7841,7 @@ pub struct ITPluggableTerminalEventSinkRegistration_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPluggableTerminalSuperclassInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPluggableTerminalSuperclassInfo { @@ -9469,30 +7857,10 @@ impl ITPluggableTerminalSuperclassInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPluggableTerminalSuperclassInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPluggableTerminalSuperclassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPluggableTerminalSuperclassInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPluggableTerminalSuperclassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPluggableTerminalSuperclassInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPluggableTerminalSuperclassInfo { type Vtable = ITPluggableTerminalSuperclassInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPluggableTerminalSuperclassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPluggableTerminalSuperclassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d54e42c_4625_4359_a6f7_631999107e05); } @@ -9507,6 +7875,7 @@ pub struct ITPluggableTerminalSuperclassInfo_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITPrivateEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITPrivateEvent { @@ -9542,30 +7911,10 @@ impl ITPrivateEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITPrivateEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITPrivateEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITPrivateEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITPrivateEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITPrivateEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITPrivateEvent { type Vtable = ITPrivateEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITPrivateEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITPrivateEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e269cd0_10d4_4121_9c22_9c85d625650d); } @@ -9595,6 +7944,7 @@ pub struct ITPrivateEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITQOSEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITQOSEvent { @@ -9616,30 +7966,10 @@ impl ITQOSEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITQOSEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITQOSEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITQOSEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITQOSEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITQOSEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITQOSEvent { type Vtable = ITQOSEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITQOSEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITQOSEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa3357c_ad77_11d1_bb68_00c04fb6809f); } @@ -9658,6 +7988,7 @@ pub struct ITQOSEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITQueue { @@ -9712,30 +8043,10 @@ impl ITQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITQueue { type Vtable = ITQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3149_4bcc_11d1_bf80_00805fc147d3); } @@ -9760,6 +8071,7 @@ pub struct ITQueue_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITQueueEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITQueueEvent { @@ -9777,30 +8089,10 @@ impl ITQueueEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITQueueEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITQueueEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITQueueEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITQueueEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITQueueEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITQueueEvent { type Vtable = ITQueueEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITQueueEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITQueueEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x297f3033_bd11_11d1_a0a7_00805fc147d3); } @@ -9818,6 +8110,7 @@ pub struct ITQueueEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITRendezvous(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITRendezvous { @@ -9853,30 +8146,10 @@ impl ITRendezvous { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITRendezvous, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITRendezvous { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITRendezvous {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITRendezvous { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITRendezvous").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITRendezvous { type Vtable = ITRendezvous_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITRendezvous { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITRendezvous { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34621d6b_6cff_11d1_aff7_00c04fc31fee); } @@ -9902,6 +8175,7 @@ pub struct ITRendezvous_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITRequest { @@ -9918,30 +8192,10 @@ impl ITRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITRequest, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITRequest { type Vtable = ITRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac48ffdf_f8c4_11d1_a030_00c04fb6809f); } @@ -9955,6 +8209,7 @@ pub struct ITRequest_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITRequestEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITRequestEvent { @@ -9986,30 +8241,10 @@ impl ITRequestEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITRequestEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITRequestEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITRequestEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITRequestEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITRequestEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITRequestEvent { type Vtable = ITRequestEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITRequestEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITRequestEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac48ffde_f8c4_11d1_a030_00c04fb6809f); } @@ -10028,6 +8263,7 @@ pub struct ITRequestEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITScriptableAudioFormat(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITScriptableAudioFormat { @@ -10077,30 +8313,10 @@ impl ITScriptableAudioFormat { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITScriptableAudioFormat, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITScriptableAudioFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITScriptableAudioFormat {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITScriptableAudioFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITScriptableAudioFormat").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITScriptableAudioFormat { type Vtable = ITScriptableAudioFormat_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITScriptableAudioFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITScriptableAudioFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb87658bd_3c59_4f64_be74_aede3e86a81e); } @@ -10125,6 +8341,7 @@ pub struct ITScriptableAudioFormat_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITStaticAudioTerminal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITStaticAudioTerminal { @@ -10136,30 +8353,10 @@ impl ITStaticAudioTerminal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITStaticAudioTerminal, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITStaticAudioTerminal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITStaticAudioTerminal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITStaticAudioTerminal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITStaticAudioTerminal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITStaticAudioTerminal { type Vtable = ITStaticAudioTerminal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITStaticAudioTerminal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITStaticAudioTerminal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa86b7871_d14c_48e6_922e_a8d15f984800); } @@ -10173,6 +8370,7 @@ pub struct ITStaticAudioTerminal_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITStream { @@ -10227,30 +8425,10 @@ impl ITStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITStream { type Vtable = ITStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd605_3868_11d2_a045_00c04fb6809f); } @@ -10282,6 +8460,7 @@ pub struct ITStream_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITStreamControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITStreamControl { @@ -10313,30 +8492,10 @@ impl ITStreamControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITStreamControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITStreamControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITStreamControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITStreamControl { type Vtable = ITStreamControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd604_3868_11d2_a045_00c04fb6809f); } @@ -10362,6 +8521,7 @@ pub struct ITStreamControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSubStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITSubStream { @@ -10410,30 +8570,10 @@ impl ITSubStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITSubStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITSubStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITSubStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITSubStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSubStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITSubStream { type Vtable = ITSubStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITSubStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITSubStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd608_3868_11d2_a045_00c04fb6809f); } @@ -10466,6 +8606,7 @@ pub struct ITSubStream_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSubStreamControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITSubStreamControl { @@ -10497,30 +8638,10 @@ impl ITSubStreamControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITSubStreamControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITSubStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITSubStreamControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITSubStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSubStreamControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITSubStreamControl { type Vtable = ITSubStreamControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITSubStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITSubStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3bd607_3868_11d2_a045_00c04fb6809f); } @@ -10546,6 +8667,7 @@ pub struct ITSubStreamControl_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPI(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPI { @@ -10646,30 +8768,10 @@ impl ITTAPI { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPI, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPI {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPI").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPI { type Vtable = ITTAPI_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc382_9355_11d0_835c_00aa003ccabd); } @@ -10725,6 +8827,7 @@ pub struct ITTAPI_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPI2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPI2 { @@ -10841,30 +8944,10 @@ impl ITTAPI2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPI2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITTAPI); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPI2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPI2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPI2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPI2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPI2 { type Vtable = ITTAPI2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPI2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPI2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54fbdc8c_d90f_4dad_9695_b373097f094b); } @@ -10886,6 +8969,7 @@ pub struct ITTAPI2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPICallCenter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPICallCenter { @@ -10903,30 +8987,10 @@ impl ITTAPICallCenter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPICallCenter, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPICallCenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPICallCenter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPICallCenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPICallCenter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPICallCenter { type Vtable = ITTAPICallCenter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPICallCenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPICallCenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5afc3154_4bcc_11d1_bf80_00805fc147d3); } @@ -10944,36 +9008,17 @@ pub struct ITTAPICallCenter_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPIDispatchEventNotification(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPIDispatchEventNotification {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPIDispatchEventNotification, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPIDispatchEventNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPIDispatchEventNotification {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPIDispatchEventNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPIDispatchEventNotification").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPIDispatchEventNotification { type Vtable = ITTAPIDispatchEventNotification_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPIDispatchEventNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPIDispatchEventNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f34325b_7e62_11d2_9457_00c04f8ec888); } @@ -10985,6 +9030,7 @@ pub struct ITTAPIDispatchEventNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPIEventNotification(::windows_core::IUnknown); impl ITTAPIEventNotification { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10997,25 +9043,9 @@ impl ITTAPIEventNotification { } } ::windows_core::imp::interface_hierarchy!(ITTAPIEventNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITTAPIEventNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITTAPIEventNotification {} -impl ::core::fmt::Debug for ITTAPIEventNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPIEventNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITTAPIEventNotification { type Vtable = ITTAPIEventNotification_Vtbl; } -impl ::core::clone::Clone for ITTAPIEventNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITTAPIEventNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeddb9426_3b91_11d1_8f30_00c04fb6809f); } @@ -11031,6 +9061,7 @@ pub struct ITTAPIEventNotification_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPIObjectEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPIObjectEvent { @@ -11058,30 +9089,10 @@ impl ITTAPIObjectEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPIObjectEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPIObjectEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPIObjectEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPIObjectEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPIObjectEvent { type Vtable = ITTAPIObjectEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPIObjectEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPIObjectEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4854d48_937a_11d1_bb58_00c04fb6809f); } @@ -11104,6 +9115,7 @@ pub struct ITTAPIObjectEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTAPIObjectEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTAPIObjectEvent2 { @@ -11137,30 +9149,10 @@ impl ITTAPIObjectEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITTAPIObjectEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTAPIObjectEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTAPIObjectEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTAPIObjectEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTAPIObjectEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTAPIObjectEvent2 { type Vtable = ITTAPIObjectEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTAPIObjectEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTAPIObjectEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x359dda6e_68ce_4383_bf0b_169133c41b46); } @@ -11177,6 +9169,7 @@ pub struct ITTAPIObjectEvent2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTTSTerminalEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTTSTerminalEvent { @@ -11200,30 +9193,10 @@ impl ITTTSTerminalEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTTSTerminalEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTTSTerminalEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTTSTerminalEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTTSTerminalEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTTSTerminalEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTTSTerminalEvent { type Vtable = ITTTSTerminalEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTTSTerminalEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTTSTerminalEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd964788f_95a5_461d_ab0c_b9900a6c2713); } @@ -11245,6 +9218,7 @@ pub struct ITTTSTerminalEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTerminal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTerminal { @@ -11276,30 +9250,10 @@ impl ITTerminal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTerminal, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTerminal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTerminal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTerminal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTerminal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTerminal { type Vtable = ITTerminal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTerminal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTerminal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc38a_9355_11d0_835c_00aa003ccabd); } @@ -11318,6 +9272,7 @@ pub struct ITTerminal_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTerminalSupport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport { @@ -11360,30 +9315,10 @@ impl ITTerminalSupport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTerminalSupport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTerminalSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTerminalSupport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTerminalSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTerminalSupport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTerminalSupport { type Vtable = ITTerminalSupport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTerminalSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTerminalSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1efc385_9355_11d0_835c_00aa003ccabd); } @@ -11414,6 +9349,7 @@ pub struct ITTerminalSupport_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITTerminalSupport2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITTerminalSupport2 { @@ -11479,30 +9415,10 @@ impl ITTerminalSupport2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITTerminalSupport2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ITTerminalSupport); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITTerminalSupport2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITTerminalSupport2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITTerminalSupport2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITTerminalSupport2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITTerminalSupport2 { type Vtable = ITTerminalSupport2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITTerminalSupport2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITTerminalSupport2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3eb39bc_1b1f_4e99_a0c0_56305c4dd591); } @@ -11525,6 +9441,7 @@ pub struct ITTerminalSupport2_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITToneDetectionEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITToneDetectionEvent { @@ -11550,30 +9467,10 @@ impl ITToneDetectionEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITToneDetectionEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITToneDetectionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITToneDetectionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITToneDetectionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITToneDetectionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITToneDetectionEvent { type Vtable = ITToneDetectionEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITToneDetectionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITToneDetectionEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x407e0faf_d047_4753_b0c6_8e060373fecd); } @@ -11593,6 +9490,7 @@ pub struct ITToneDetectionEvent_Vtbl { #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITToneTerminalEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITToneTerminalEvent { @@ -11616,30 +9514,10 @@ impl ITToneTerminalEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITToneTerminalEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITToneTerminalEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITToneTerminalEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITToneTerminalEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITToneTerminalEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITToneTerminalEvent { type Vtable = ITToneTerminalEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITToneTerminalEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITToneTerminalEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6f56009_611f_4945_bbd2_2d0ce5612056); } @@ -11660,6 +9538,7 @@ pub struct ITToneTerminalEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITnef(::windows_core::IUnknown); impl ITnef { #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] @@ -11704,25 +9583,9 @@ impl ITnef { } } ::windows_core::imp::interface_hierarchy!(ITnef, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITnef { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITnef {} -impl ::core::fmt::Debug for ITnef { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITnef").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITnef { type Vtable = ITnef_Vtbl; } -impl ::core::clone::Clone for ITnef { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITnef { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs index a4955c0744..6a7a57cc82 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs @@ -25,8 +25,8 @@ impl IWSDAddress_Vtbl { Deserialize: Deserialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -43,8 +43,8 @@ impl IWSDAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl IWSDAsyncResult_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl IWSDAttachment_Vtbl { pub const fn new, Impl: IWSDAttachment_Impl, const OFFSET: isize>() -> IWSDAttachment_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -233,8 +233,8 @@ impl IWSDDeviceHost_Vtbl { SignalEvent: SignalEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IWSDDeviceHostNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IWSDDeviceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IWSDEndpointProxy_Vtbl { GetFaultInfo: GetFaultInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IWSDEventingStatus_Vtbl { SubscriptionEnded: SubscriptionEnded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -559,8 +559,8 @@ impl IWSDHttpAddress_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IWSDHttpAuthParameters_Vtbl { GetAuthType: GetAuthType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -703,8 +703,8 @@ impl IWSDHttpMessageParameters_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IWSDInboundAttachment_Vtbl { } Self { base__: IWSDAttachment_Vtbl::new::(), Read: Read::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -794,8 +794,8 @@ impl IWSDMessageParameters_Vtbl { GetLowerParameters: GetLowerParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IWSDMetadataExchange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMetadata: GetMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IWSDOutboundAttachment_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"implement\"`*"] @@ -902,8 +902,8 @@ impl IWSDSSLClientCertificate_Vtbl { GetMappedAccessToken: GetMappedAccessToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -945,8 +945,8 @@ impl IWSDScopeMatchingRule_Vtbl { MatchScopes: MatchScopes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -973,8 +973,8 @@ impl IWSDServiceMessaging_Vtbl { FaultRequest: FaultRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IWSDServiceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1185,8 +1185,8 @@ impl IWSDServiceProxyEventing_Vtbl { EndGetStatusForMultipleOperations: EndGetStatusForMultipleOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1249,8 +1249,8 @@ impl IWSDSignatureProperty_Vtbl { GetSignedInfoHash: GetSignedInfoHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1319,8 +1319,8 @@ impl IWSDTransportAddress_Vtbl { SetTransportAddress: SetTransportAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"implement\"`*"] @@ -1424,8 +1424,8 @@ impl IWSDUdpAddress_Vtbl { GetAlias: GetAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1452,8 +1452,8 @@ impl IWSDUdpMessageParameters_Vtbl { GetRetransmitParams: GetRetransmitParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1494,8 +1494,8 @@ impl IWSDXMLContext_Vtbl { SetTypes: SetTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1645,8 +1645,8 @@ impl IWSDiscoveredService_Vtbl { GetInstanceId: GetInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1714,8 +1714,8 @@ impl IWSDiscoveryProvider_Vtbl { GetXMLContext: GetXMLContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1756,8 +1756,8 @@ impl IWSDiscoveryProviderNotify_Vtbl { SearchComplete: SearchComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1916,8 +1916,8 @@ impl IWSDiscoveryPublisher_Vtbl { GetXMLContext: GetXMLContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1944,7 +1944,7 @@ impl IWSDiscoveryPublisherNotify_Vtbl { ResolveHandler: ResolveHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs index 8ced74ab48..d33eec33bc 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -272,6 +272,7 @@ where } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDAddress(::windows_core::IUnknown); impl IWSDAddress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -290,25 +291,9 @@ impl IWSDAddress { } } ::windows_core::imp::interface_hierarchy!(IWSDAddress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDAddress {} -impl ::core::fmt::Debug for IWSDAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDAddress { type Vtable = IWSDAddress_Vtbl; } -impl ::core::clone::Clone for IWSDAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9574c6c_12a6_4f74_93a1_3318ff605759); } @@ -324,6 +309,7 @@ pub struct IWSDAddress_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDAsyncCallback(::windows_core::IUnknown); impl IWSDAsyncCallback { pub unsafe fn AsyncOperationComplete(&self, pasyncresult: P0, pasyncstate: P1) -> ::windows_core::Result<()> @@ -335,25 +321,9 @@ impl IWSDAsyncCallback { } } ::windows_core::imp::interface_hierarchy!(IWSDAsyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDAsyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDAsyncCallback {} -impl ::core::fmt::Debug for IWSDAsyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDAsyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDAsyncCallback { type Vtable = IWSDAsyncCallback_Vtbl; } -impl ::core::clone::Clone for IWSDAsyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDAsyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa63e109d_ce72_49e2_ba98_e845f5ee1666); } @@ -365,6 +335,7 @@ pub struct IWSDAsyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDAsyncResult(::windows_core::IUnknown); impl IWSDAsyncResult { pub unsafe fn SetCallback(&self, pcallback: P0, pasyncstate: P1) -> ::windows_core::Result<()> @@ -401,25 +372,9 @@ impl IWSDAsyncResult { } } ::windows_core::imp::interface_hierarchy!(IWSDAsyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDAsyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDAsyncResult {} -impl ::core::fmt::Debug for IWSDAsyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDAsyncResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDAsyncResult { type Vtable = IWSDAsyncResult_Vtbl; } -impl ::core::clone::Clone for IWSDAsyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDAsyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11a9852a_8dd8_423e_b537_9356db4fbfb8); } @@ -440,28 +395,13 @@ pub struct IWSDAsyncResult_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDAttachment(::windows_core::IUnknown); impl IWSDAttachment {} ::windows_core::imp::interface_hierarchy!(IWSDAttachment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDAttachment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDAttachment {} -impl ::core::fmt::Debug for IWSDAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDAttachment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDAttachment { type Vtable = IWSDAttachment_Vtbl; } -impl ::core::clone::Clone for IWSDAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDAttachment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d55a616_9df8_4b09_b156_9ba351a48b76); } @@ -472,6 +412,7 @@ pub struct IWSDAttachment_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDDeviceHost(::windows_core::IUnknown); impl IWSDDeviceHost { pub unsafe fn Init(&self, pszlocalid: P0, pcontext: P1, pphostaddresses: ::core::option::Option<&[::core::option::Option]>) -> ::windows_core::Result<()> @@ -543,25 +484,9 @@ impl IWSDDeviceHost { } } ::windows_core::imp::interface_hierarchy!(IWSDDeviceHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDDeviceHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDDeviceHost {} -impl ::core::fmt::Debug for IWSDDeviceHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDDeviceHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDDeviceHost { type Vtable = IWSDDeviceHost_Vtbl; } -impl ::core::clone::Clone for IWSDDeviceHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDDeviceHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x917fe891_3d13_4138_9809_934c8abeb12c); } @@ -587,6 +512,7 @@ pub struct IWSDDeviceHost_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDDeviceHostNotify(::windows_core::IUnknown); impl IWSDDeviceHostNotify { pub unsafe fn GetService(&self, pszserviceid: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -598,25 +524,9 @@ impl IWSDDeviceHostNotify { } } ::windows_core::imp::interface_hierarchy!(IWSDDeviceHostNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDDeviceHostNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDDeviceHostNotify {} -impl ::core::fmt::Debug for IWSDDeviceHostNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDDeviceHostNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDDeviceHostNotify { type Vtable = IWSDDeviceHostNotify_Vtbl; } -impl ::core::clone::Clone for IWSDDeviceHostNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDDeviceHostNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5bee9f9_eeda_41fe_96f7_f45e14990fb0); } @@ -628,6 +538,7 @@ pub struct IWSDDeviceHostNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDDeviceProxy(::windows_core::IUnknown); impl IWSDDeviceProxy { pub unsafe fn Init(&self, pszdeviceid: P0, pdeviceaddress: P1, pszlocalid: P2, pcontext: P3, psponsor: P4) -> ::windows_core::Result<()> @@ -683,25 +594,9 @@ impl IWSDDeviceProxy { } } ::windows_core::imp::interface_hierarchy!(IWSDDeviceProxy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDDeviceProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDDeviceProxy {} -impl ::core::fmt::Debug for IWSDDeviceProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDDeviceProxy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDDeviceProxy { type Vtable = IWSDDeviceProxy_Vtbl; } -impl ::core::clone::Clone for IWSDDeviceProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDDeviceProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeee0c031_c578_4c0e_9a3b_973c35f409db); } @@ -722,6 +617,7 @@ pub struct IWSDDeviceProxy_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDEndpointProxy(::windows_core::IUnknown); impl IWSDEndpointProxy { pub unsafe fn SendOneWayRequest(&self, pbody: *const ::core::ffi::c_void, poperation: *const WSD_OPERATION) -> ::windows_core::Result<()> { @@ -759,25 +655,9 @@ impl IWSDEndpointProxy { } } ::windows_core::imp::interface_hierarchy!(IWSDEndpointProxy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDEndpointProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDEndpointProxy {} -impl ::core::fmt::Debug for IWSDEndpointProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDEndpointProxy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDEndpointProxy { type Vtable = IWSDEndpointProxy_Vtbl; } -impl ::core::clone::Clone for IWSDEndpointProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDEndpointProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1860d430_b24c_4975_9f90_dbb39baa24ec); } @@ -798,6 +678,7 @@ pub struct IWSDEndpointProxy_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDEventingStatus(::windows_core::IUnknown); impl IWSDEventingStatus { pub unsafe fn SubscriptionRenewed(&self, pszsubscriptionaction: P0) @@ -820,25 +701,9 @@ impl IWSDEventingStatus { } } ::windows_core::imp::interface_hierarchy!(IWSDEventingStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDEventingStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDEventingStatus {} -impl ::core::fmt::Debug for IWSDEventingStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDEventingStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDEventingStatus { type Vtable = IWSDEventingStatus_Vtbl; } -impl ::core::clone::Clone for IWSDEventingStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDEventingStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49b17f52_637a_407a_ae99_fbe82a4d38c0); } @@ -852,6 +717,7 @@ pub struct IWSDEventingStatus_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDHttpAddress(::windows_core::IUnknown); impl IWSDHttpAddress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -917,25 +783,9 @@ impl IWSDHttpAddress { } } ::windows_core::imp::interface_hierarchy!(IWSDHttpAddress, ::windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); -impl ::core::cmp::PartialEq for IWSDHttpAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDHttpAddress {} -impl ::core::fmt::Debug for IWSDHttpAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDHttpAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDHttpAddress { type Vtable = IWSDHttpAddress_Vtbl; } -impl ::core::clone::Clone for IWSDHttpAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDHttpAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd09ac7bd_2a3e_4b85_8605_2737ff3e4ea0); } @@ -953,6 +803,7 @@ pub struct IWSDHttpAddress_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDHttpAuthParameters(::windows_core::IUnknown); impl IWSDHttpAuthParameters { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -967,25 +818,9 @@ impl IWSDHttpAuthParameters { } } ::windows_core::imp::interface_hierarchy!(IWSDHttpAuthParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDHttpAuthParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDHttpAuthParameters {} -impl ::core::fmt::Debug for IWSDHttpAuthParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDHttpAuthParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDHttpAuthParameters { type Vtable = IWSDHttpAuthParameters_Vtbl; } -impl ::core::clone::Clone for IWSDHttpAuthParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDHttpAuthParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b476df0_8dac_480d_b05c_99781a5884aa); } @@ -1001,6 +836,7 @@ pub struct IWSDHttpAuthParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDHttpMessageParameters(::windows_core::IUnknown); impl IWSDHttpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows_core::Result { @@ -1072,25 +908,9 @@ impl IWSDHttpMessageParameters { } } ::windows_core::imp::interface_hierarchy!(IWSDHttpMessageParameters, ::windows_core::IUnknown, IWSDMessageParameters); -impl ::core::cmp::PartialEq for IWSDHttpMessageParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDHttpMessageParameters {} -impl ::core::fmt::Debug for IWSDHttpMessageParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDHttpMessageParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDHttpMessageParameters { type Vtable = IWSDHttpMessageParameters_Vtbl; } -impl ::core::clone::Clone for IWSDHttpMessageParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDHttpMessageParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x540bd122_5c83_4dec_b396_ea62a2697fdf); } @@ -1110,6 +930,7 @@ pub struct IWSDHttpMessageParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDInboundAttachment(::windows_core::IUnknown); impl IWSDInboundAttachment { pub unsafe fn Read(&self, pbuffer: &mut [u8], pdwnumberofbytesread: *mut u32) -> ::windows_core::Result<()> { @@ -1120,25 +941,9 @@ impl IWSDInboundAttachment { } } ::windows_core::imp::interface_hierarchy!(IWSDInboundAttachment, ::windows_core::IUnknown, IWSDAttachment); -impl ::core::cmp::PartialEq for IWSDInboundAttachment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDInboundAttachment {} -impl ::core::fmt::Debug for IWSDInboundAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDInboundAttachment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDInboundAttachment { type Vtable = IWSDInboundAttachment_Vtbl; } -impl ::core::clone::Clone for IWSDInboundAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDInboundAttachment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bd6ca65_233c_4fb8_9f7a_2641619655c9); } @@ -1151,6 +956,7 @@ pub struct IWSDInboundAttachment_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDMessageParameters(::windows_core::IUnknown); impl IWSDMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows_core::Result { @@ -1179,25 +985,9 @@ impl IWSDMessageParameters { } } ::windows_core::imp::interface_hierarchy!(IWSDMessageParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDMessageParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDMessageParameters {} -impl ::core::fmt::Debug for IWSDMessageParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDMessageParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDMessageParameters { type Vtable = IWSDMessageParameters_Vtbl; } -impl ::core::clone::Clone for IWSDMessageParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDMessageParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fafe8a2_e6fc_4b80_b6cf_b7d45c416d7c); } @@ -1213,6 +1003,7 @@ pub struct IWSDMessageParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDMetadataExchange(::windows_core::IUnknown); impl IWSDMetadataExchange { pub unsafe fn GetMetadata(&self) -> ::windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -1221,25 +1012,9 @@ impl IWSDMetadataExchange { } } ::windows_core::imp::interface_hierarchy!(IWSDMetadataExchange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDMetadataExchange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDMetadataExchange {} -impl ::core::fmt::Debug for IWSDMetadataExchange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDMetadataExchange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDMetadataExchange { type Vtable = IWSDMetadataExchange_Vtbl; } -impl ::core::clone::Clone for IWSDMetadataExchange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDMetadataExchange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06996d57_1d67_4928_9307_3d7833fdb846); } @@ -1251,6 +1026,7 @@ pub struct IWSDMetadataExchange_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDOutboundAttachment(::windows_core::IUnknown); impl IWSDOutboundAttachment { pub unsafe fn Write(&self, pbuffer: &[u8]) -> ::windows_core::Result { @@ -1265,25 +1041,9 @@ impl IWSDOutboundAttachment { } } ::windows_core::imp::interface_hierarchy!(IWSDOutboundAttachment, ::windows_core::IUnknown, IWSDAttachment); -impl ::core::cmp::PartialEq for IWSDOutboundAttachment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDOutboundAttachment {} -impl ::core::fmt::Debug for IWSDOutboundAttachment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDOutboundAttachment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDOutboundAttachment { type Vtable = IWSDOutboundAttachment_Vtbl; } -impl ::core::clone::Clone for IWSDOutboundAttachment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDOutboundAttachment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa302f8d_5a22_4ba5_b392_aa8486f4c15d); } @@ -1297,6 +1057,7 @@ pub struct IWSDOutboundAttachment_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDSSLClientCertificate(::windows_core::IUnknown); impl IWSDSSLClientCertificate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -1313,25 +1074,9 @@ impl IWSDSSLClientCertificate { } } ::windows_core::imp::interface_hierarchy!(IWSDSSLClientCertificate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDSSLClientCertificate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDSSLClientCertificate {} -impl ::core::fmt::Debug for IWSDSSLClientCertificate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDSSLClientCertificate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDSSLClientCertificate { type Vtable = IWSDSSLClientCertificate_Vtbl; } -impl ::core::clone::Clone for IWSDSSLClientCertificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDSSLClientCertificate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde105e87_a0da_418e_98ad_27b9eed87bdc); } @@ -1350,6 +1095,7 @@ pub struct IWSDSSLClientCertificate_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDScopeMatchingRule(::windows_core::IUnknown); impl IWSDScopeMatchingRule { pub unsafe fn GetScopeRule(&self) -> ::windows_core::Result<::windows_core::PCWSTR> { @@ -1368,25 +1114,9 @@ impl IWSDScopeMatchingRule { } } ::windows_core::imp::interface_hierarchy!(IWSDScopeMatchingRule, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDScopeMatchingRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDScopeMatchingRule {} -impl ::core::fmt::Debug for IWSDScopeMatchingRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDScopeMatchingRule").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDScopeMatchingRule { type Vtable = IWSDScopeMatchingRule_Vtbl; } -impl ::core::clone::Clone for IWSDScopeMatchingRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDScopeMatchingRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcafe424_fef5_481a_bd9f_33ce0574256f); } @@ -1402,6 +1132,7 @@ pub struct IWSDScopeMatchingRule_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDServiceMessaging(::windows_core::IUnknown); impl IWSDServiceMessaging { pub unsafe fn SendResponse(&self, pbody: ::core::option::Option<*const ::core::ffi::c_void>, poperation: *const WSD_OPERATION, pmessageparameters: P0) -> ::windows_core::Result<()> @@ -1418,25 +1149,9 @@ impl IWSDServiceMessaging { } } ::windows_core::imp::interface_hierarchy!(IWSDServiceMessaging, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDServiceMessaging { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDServiceMessaging {} -impl ::core::fmt::Debug for IWSDServiceMessaging { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDServiceMessaging").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDServiceMessaging { type Vtable = IWSDServiceMessaging_Vtbl; } -impl ::core::clone::Clone for IWSDServiceMessaging { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDServiceMessaging { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94974cf4_0cab_460d_a3f6_7a0ad623c0e6); } @@ -1449,6 +1164,7 @@ pub struct IWSDServiceMessaging_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDServiceProxy(::windows_core::IUnknown); impl IWSDServiceProxy { pub unsafe fn GetMetadata(&self) -> ::windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -1491,25 +1207,9 @@ impl IWSDServiceProxy { } } ::windows_core::imp::interface_hierarchy!(IWSDServiceProxy, ::windows_core::IUnknown, IWSDMetadataExchange); -impl ::core::cmp::PartialEq for IWSDServiceProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDServiceProxy {} -impl ::core::fmt::Debug for IWSDServiceProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDServiceProxy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDServiceProxy { type Vtable = IWSDServiceProxy_Vtbl; } -impl ::core::clone::Clone for IWSDServiceProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDServiceProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4c7fb9c_03ab_4175_9d67_094fafebf487); } @@ -1527,6 +1227,7 @@ pub struct IWSDServiceProxy_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDServiceProxyEventing(::windows_core::IUnknown); impl IWSDServiceProxyEventing { pub unsafe fn GetMetadata(&self) -> ::windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -1657,25 +1358,9 @@ impl IWSDServiceProxyEventing { } } ::windows_core::imp::interface_hierarchy!(IWSDServiceProxyEventing, ::windows_core::IUnknown, IWSDMetadataExchange, IWSDServiceProxy); -impl ::core::cmp::PartialEq for IWSDServiceProxyEventing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDServiceProxyEventing {} -impl ::core::fmt::Debug for IWSDServiceProxyEventing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDServiceProxyEventing").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDServiceProxyEventing { type Vtable = IWSDServiceProxyEventing_Vtbl; } -impl ::core::clone::Clone for IWSDServiceProxyEventing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDServiceProxyEventing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9279d6d_1012_4a94_b8cc_fd35d2202bfe); } @@ -1722,6 +1407,7 @@ pub struct IWSDServiceProxyEventing_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDSignatureProperty(::windows_core::IUnknown); impl IWSDSignatureProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1747,25 +1433,9 @@ impl IWSDSignatureProperty { } } ::windows_core::imp::interface_hierarchy!(IWSDSignatureProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDSignatureProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDSignatureProperty {} -impl ::core::fmt::Debug for IWSDSignatureProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDSignatureProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDSignatureProperty { type Vtable = IWSDSignatureProperty_Vtbl; } -impl ::core::clone::Clone for IWSDSignatureProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDSignatureProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03ce20aa_71c4_45e2_b32e_3766c61c790f); } @@ -1787,6 +1457,7 @@ pub struct IWSDSignatureProperty_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDTransportAddress(::windows_core::IUnknown); impl IWSDTransportAddress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1831,25 +1502,9 @@ impl IWSDTransportAddress { } } ::windows_core::imp::interface_hierarchy!(IWSDTransportAddress, ::windows_core::IUnknown, IWSDAddress); -impl ::core::cmp::PartialEq for IWSDTransportAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDTransportAddress {} -impl ::core::fmt::Debug for IWSDTransportAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDTransportAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDTransportAddress { type Vtable = IWSDTransportAddress_Vtbl; } -impl ::core::clone::Clone for IWSDTransportAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDTransportAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70d23498_4ee6_4340_a3df_d845d2235467); } @@ -1868,6 +1523,7 @@ pub struct IWSDTransportAddress_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDUdpAddress(::windows_core::IUnknown); impl IWSDUdpAddress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1954,25 +1610,9 @@ impl IWSDUdpAddress { } } ::windows_core::imp::interface_hierarchy!(IWSDUdpAddress, ::windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); -impl ::core::cmp::PartialEq for IWSDUdpAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDUdpAddress {} -impl ::core::fmt::Debug for IWSDUdpAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDUdpAddress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDUdpAddress { type Vtable = IWSDUdpAddress_Vtbl; } -impl ::core::clone::Clone for IWSDUdpAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDUdpAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74d6124a_a441_4f78_a1eb_97a8d1996893); } @@ -2002,6 +1642,7 @@ pub struct IWSDUdpAddress_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDUdpMessageParameters(::windows_core::IUnknown); impl IWSDUdpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> ::windows_core::Result { @@ -2036,25 +1677,9 @@ impl IWSDUdpMessageParameters { } } ::windows_core::imp::interface_hierarchy!(IWSDUdpMessageParameters, ::windows_core::IUnknown, IWSDMessageParameters); -impl ::core::cmp::PartialEq for IWSDUdpMessageParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDUdpMessageParameters {} -impl ::core::fmt::Debug for IWSDUdpMessageParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDUdpMessageParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDUdpMessageParameters { type Vtable = IWSDUdpMessageParameters_Vtbl; } -impl ::core::clone::Clone for IWSDUdpMessageParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDUdpMessageParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9934149f_8f0c_447b_aa0b_73124b0ca7f0); } @@ -2067,6 +1692,7 @@ pub struct IWSDUdpMessageParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDXMLContext(::windows_core::IUnknown); impl IWSDXMLContext { pub unsafe fn AddNamespace(&self, pszuri: P0, pszsuggestedprefix: P1, ppnamespace: ::core::option::Option<*mut *mut WSDXML_NAMESPACE>) -> ::windows_core::Result<()> @@ -2091,25 +1717,9 @@ impl IWSDXMLContext { } } ::windows_core::imp::interface_hierarchy!(IWSDXMLContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDXMLContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDXMLContext {} -impl ::core::fmt::Debug for IWSDXMLContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDXMLContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDXMLContext { type Vtable = IWSDXMLContext_Vtbl; } -impl ::core::clone::Clone for IWSDXMLContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDXMLContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75d8f3ee_3e5a_43b4_a15a_bcf6887460c0); } @@ -2124,6 +1734,7 @@ pub struct IWSDXMLContext_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDiscoveredService(::windows_core::IUnknown); impl IWSDiscoveredService { pub unsafe fn GetEndpointReference(&self) -> ::windows_core::Result<*mut WSD_ENDPOINT_REFERENCE> { @@ -2171,25 +1782,9 @@ impl IWSDiscoveredService { } } ::windows_core::imp::interface_hierarchy!(IWSDiscoveredService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDiscoveredService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDiscoveredService {} -impl ::core::fmt::Debug for IWSDiscoveredService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDiscoveredService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDiscoveredService { type Vtable = IWSDiscoveredService_Vtbl; } -impl ::core::clone::Clone for IWSDiscoveredService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDiscoveredService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bad8a3b_b374_4420_9632_aac945b374aa); } @@ -2211,6 +1806,7 @@ pub struct IWSDiscoveredService_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDiscoveryProvider(::windows_core::IUnknown); impl IWSDiscoveryProvider { pub unsafe fn SetAddressFamily(&self, dwaddressfamily: u32) -> ::windows_core::Result<()> { @@ -2252,25 +1848,9 @@ impl IWSDiscoveryProvider { } } ::windows_core::imp::interface_hierarchy!(IWSDiscoveryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDiscoveryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDiscoveryProvider {} -impl ::core::fmt::Debug for IWSDiscoveryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDiscoveryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDiscoveryProvider { type Vtable = IWSDiscoveryProvider_Vtbl; } -impl ::core::clone::Clone for IWSDiscoveryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDiscoveryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ffc8e55_f0eb_480f_88b7_b435dd281d45); } @@ -2288,6 +1868,7 @@ pub struct IWSDiscoveryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDiscoveryProviderNotify(::windows_core::IUnknown); impl IWSDiscoveryProviderNotify { pub unsafe fn Add(&self, pservice: P0) -> ::windows_core::Result<()> @@ -2316,25 +1897,9 @@ impl IWSDiscoveryProviderNotify { } } ::windows_core::imp::interface_hierarchy!(IWSDiscoveryProviderNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDiscoveryProviderNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDiscoveryProviderNotify {} -impl ::core::fmt::Debug for IWSDiscoveryProviderNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDiscoveryProviderNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDiscoveryProviderNotify { type Vtable = IWSDiscoveryProviderNotify_Vtbl; } -impl ::core::clone::Clone for IWSDiscoveryProviderNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDiscoveryProviderNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73ee3ced_b6e6_4329_a546_3e8ad46563d2); } @@ -2349,6 +1914,7 @@ pub struct IWSDiscoveryProviderNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDiscoveryPublisher(::windows_core::IUnknown); impl IWSDiscoveryPublisher { pub unsafe fn SetAddressFamily(&self, dwaddressfamily: u32) -> ::windows_core::Result<()> { @@ -2489,25 +2055,9 @@ impl IWSDiscoveryPublisher { } } ::windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisher, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDiscoveryPublisher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDiscoveryPublisher {} -impl ::core::fmt::Debug for IWSDiscoveryPublisher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDiscoveryPublisher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDiscoveryPublisher { type Vtable = IWSDiscoveryPublisher_Vtbl; } -impl ::core::clone::Clone for IWSDiscoveryPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDiscoveryPublisher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae01e1a8_3ff9_4148_8116_057cc616fe13); } @@ -2531,6 +2081,7 @@ pub struct IWSDiscoveryPublisher_Vtbl { } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSDiscoveryPublisherNotify(::windows_core::IUnknown); impl IWSDiscoveryPublisherNotify { pub unsafe fn ProbeHandler(&self, psoap: *const WSD_SOAP_MESSAGE, pmessageparameters: P0) -> ::windows_core::Result<()> @@ -2547,25 +2098,9 @@ impl IWSDiscoveryPublisherNotify { } } ::windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisherNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSDiscoveryPublisherNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSDiscoveryPublisherNotify {} -impl ::core::fmt::Debug for IWSDiscoveryPublisherNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSDiscoveryPublisherNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSDiscoveryPublisherNotify { type Vtable = IWSDiscoveryPublisherNotify_Vtbl; } -impl ::core::clone::Clone for IWSDiscoveryPublisherNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSDiscoveryPublisherNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe67651b0_337a_4b3c_9758_733388568251); } diff --git a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs index 469d329ed0..0bf6f9c1d7 100644 --- a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs @@ -21677,6 +21677,11 @@ impl ::core::ops::Not for BOOLEAN { } } } +impl ::windows_core::IntoParam for bool { + fn into_param(self) -> ::windows_core::Param { + ::windows_core::Param::Owned(self.into()) + } +} impl NTSTATUS { #[inline] pub const fn is_ok(self) -> bool { @@ -21788,7 +21793,7 @@ impl WIN32_ERROR { } #[inline] pub const fn to_hresult(self) -> ::windows_core::HRESULT { - ::windows_core::HRESULT(if self.0 == 0 { self.0 } else { (self.0 & 0x0000_FFFF) | (7 << 16) | 0x8000_0000 } as i32) + ::windows_core::HRESULT::from_win32(self.0) } #[inline] pub fn from_error(error: &::windows_core::Error) -> ::core::option::Option { diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs index 240dbd4d69..3ca812e508 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs @@ -45,8 +45,8 @@ impl IGameExplorer_Vtbl { VerifyAccess: VerifyAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IGameExplorer2_Vtbl { CheckAccess: CheckAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IGameStatistics_Vtbl { GetLastPlayedCategory: GetLastPlayedCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -260,8 +260,8 @@ impl IGameStatisticsMgr_Vtbl { RemoveGameStatistics: RemoveGameStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IXblIdpAuthManager_Vtbl { GetTokenAndSignatureWithTokenResult: GetTokenAndSignatureWithTokenResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -367,8 +367,8 @@ impl IXblIdpAuthManager2_Vtbl { GetUserlessTokenAndSignatureWithTokenResult: GetUserlessTokenAndSignatureWithTokenResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -641,8 +641,8 @@ impl IXblIdpAuthTokenResult_Vtbl { GetTitleRestrictions: GetTitleRestrictions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -694,7 +694,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { GetUniqueModernGamertag: GetUniqueModernGamertag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index 3d4a72adb7..a0bc56c38d 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -229,6 +229,7 @@ pub unsafe fn TryCancelPendingGameUI() -> super::Foundation::BOOL { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameExplorer(::windows_core::IUnknown); impl IGameExplorer { pub unsafe fn AddGame(&self, bstrgdfbinarypath: P0, bstrgameinstalldirectory: P1, installscope: GAME_INSTALL_SCOPE, pguidinstanceid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> @@ -255,25 +256,9 @@ impl IGameExplorer { } } ::windows_core::imp::interface_hierarchy!(IGameExplorer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGameExplorer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameExplorer {} -impl ::core::fmt::Debug for IGameExplorer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameExplorer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGameExplorer { type Vtable = IGameExplorer_Vtbl; } -impl ::core::clone::Clone for IGameExplorer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameExplorer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7b2fb72_d728_49b3_a5f2_18ebf5f1349e); } @@ -291,6 +276,7 @@ pub struct IGameExplorer_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameExplorer2(::windows_core::IUnknown); impl IGameExplorer2 { pub unsafe fn InstallGame(&self, binarygdfpath: P0, installdirectory: P1, installscope: GAME_INSTALL_SCOPE) -> ::windows_core::Result<()> @@ -317,25 +303,9 @@ impl IGameExplorer2 { } } ::windows_core::imp::interface_hierarchy!(IGameExplorer2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGameExplorer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameExplorer2 {} -impl ::core::fmt::Debug for IGameExplorer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameExplorer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGameExplorer2 { type Vtable = IGameExplorer2_Vtbl; } -impl ::core::clone::Clone for IGameExplorer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameExplorer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86874aa7_a1ed_450d_a7eb_b89e20b2fff3); } @@ -352,6 +322,7 @@ pub struct IGameExplorer2_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameStatistics(::windows_core::IUnknown); impl IGameStatistics { pub unsafe fn GetMaxCategoryLength(&self) -> ::windows_core::Result { @@ -411,25 +382,9 @@ impl IGameStatistics { } } ::windows_core::imp::interface_hierarchy!(IGameStatistics, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGameStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameStatistics {} -impl ::core::fmt::Debug for IGameStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGameStatistics { type Vtable = IGameStatistics_Vtbl; } -impl ::core::clone::Clone for IGameStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3887c9ca_04a0_42ae_bc4c_5fa6c7721145); } @@ -455,6 +410,7 @@ pub struct IGameStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGameStatisticsMgr(::windows_core::IUnknown); impl IGameStatisticsMgr { pub unsafe fn GetGameStatistics(&self, gdfbinarypath: P0, opentype: GAMESTATS_OPEN_TYPE, popenresult: *mut GAMESTATS_OPEN_RESULT, ppistats: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -471,25 +427,9 @@ impl IGameStatisticsMgr { } } ::windows_core::imp::interface_hierarchy!(IGameStatisticsMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGameStatisticsMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGameStatisticsMgr {} -impl ::core::fmt::Debug for IGameStatisticsMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGameStatisticsMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGameStatisticsMgr { type Vtable = IGameStatisticsMgr_Vtbl; } -impl ::core::clone::Clone for IGameStatisticsMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGameStatisticsMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaff3ea11_e70e_407d_95dd_35e612c41ce2); } @@ -502,6 +442,7 @@ pub struct IGameStatisticsMgr_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXblIdpAuthManager(::windows_core::IUnknown); impl IXblIdpAuthManager { pub unsafe fn SetGamerAccount(&self, msaaccountid: P0, xuid: P1) -> ::windows_core::Result<()> @@ -547,25 +488,9 @@ impl IXblIdpAuthManager { } } ::windows_core::imp::interface_hierarchy!(IXblIdpAuthManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXblIdpAuthManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXblIdpAuthManager {} -impl ::core::fmt::Debug for IXblIdpAuthManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXblIdpAuthManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXblIdpAuthManager { type Vtable = IXblIdpAuthManager_Vtbl; } -impl ::core::clone::Clone for IXblIdpAuthManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXblIdpAuthManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb5ddb08_8bbf_449b_ac21_b02ddeb3b136); } @@ -585,6 +510,7 @@ pub struct IXblIdpAuthManager_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXblIdpAuthManager2(::windows_core::IUnknown); impl IXblIdpAuthManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -604,25 +530,9 @@ impl IXblIdpAuthManager2 { } } ::windows_core::imp::interface_hierarchy!(IXblIdpAuthManager2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXblIdpAuthManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXblIdpAuthManager2 {} -impl ::core::fmt::Debug for IXblIdpAuthManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXblIdpAuthManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXblIdpAuthManager2 { type Vtable = IXblIdpAuthManager2_Vtbl; } -impl ::core::clone::Clone for IXblIdpAuthManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXblIdpAuthManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf8c0950_8389_43dd_9a76_a19728ec5dc5); } @@ -637,6 +547,7 @@ pub struct IXblIdpAuthManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXblIdpAuthTokenResult(::windows_core::IUnknown); impl IXblIdpAuthTokenResult { pub unsafe fn GetStatus(&self) -> ::windows_core::Result { @@ -721,25 +632,9 @@ impl IXblIdpAuthTokenResult { } } ::windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXblIdpAuthTokenResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXblIdpAuthTokenResult {} -impl ::core::fmt::Debug for IXblIdpAuthTokenResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXblIdpAuthTokenResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXblIdpAuthTokenResult { type Vtable = IXblIdpAuthTokenResult_Vtbl; } -impl ::core::clone::Clone for IXblIdpAuthTokenResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXblIdpAuthTokenResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46ce0225_f267_4d68_b299_b2762552dec1); } @@ -770,6 +665,7 @@ pub struct IXblIdpAuthTokenResult_Vtbl { } #[doc = "*Required features: `\"Win32_Gaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXblIdpAuthTokenResult2(::windows_core::IUnknown); impl IXblIdpAuthTokenResult2 { pub unsafe fn GetModernGamertag(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -786,25 +682,9 @@ impl IXblIdpAuthTokenResult2 { } } ::windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXblIdpAuthTokenResult2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXblIdpAuthTokenResult2 {} -impl ::core::fmt::Debug for IXblIdpAuthTokenResult2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXblIdpAuthTokenResult2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXblIdpAuthTokenResult2 { type Vtable = IXblIdpAuthTokenResult2_Vtbl; } -impl ::core::clone::Clone for IXblIdpAuthTokenResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXblIdpAuthTokenResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75d760b0_60b9_412d_994f_26b2cd5f7812); } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index 0a91d4175f..589a67a01c 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -18,8 +18,8 @@ impl IComprehensiveSpellCheckProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComprehensiveCheck: ComprehensiveCheck:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IEnumCodePage_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IEnumRfc1766_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -144,8 +144,8 @@ impl IEnumScript_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -162,8 +162,8 @@ impl IEnumSpellingError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IMLangCodePages_Vtbl { CodePagesToCodePage: CodePagesToCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -303,8 +303,8 @@ impl IMLangConvertCharset_Vtbl { DoConversionFromUnicode: DoConversionFromUnicode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -348,8 +348,8 @@ impl IMLangFontLink_Vtbl { ResetFontMapping: ResetFontMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -420,8 +420,8 @@ impl IMLangFontLink2_Vtbl { CodePageToScriptID: CodePageToScriptID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IMLangLineBreakConsole_Vtbl { BreakLineA: BreakLineA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl IMLangString_Vtbl { GetMLStr: GetMLStr::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -573,8 +573,8 @@ impl IMLangStringAStr_Vtbl { GetLocale: GetLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -622,8 +622,8 @@ impl IMLangStringBufA_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IMLangStringBufW_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IMLangStringWStr_Vtbl { GetLocale: GetLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IMultiLanguage_Vtbl { CreateConvertCharset: CreateConvertCharset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1153,8 +1153,8 @@ impl IMultiLanguage2_Vtbl { ValidateCodePageEx: ValidateCodePageEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IMultiLanguage3_Vtbl { DetectOutboundCodePageInIStream: DetectOutboundCodePageInIStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1253,8 +1253,8 @@ impl IOptionDescription_Vtbl { Labels: Labels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1388,8 +1388,8 @@ impl ISpellCheckProvider_Vtbl { InitializeWordlist: InitializeWordlist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1444,8 +1444,8 @@ impl ISpellCheckProviderFactory_Vtbl { CreateSpellCheckProvider: CreateSpellCheckProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1619,8 +1619,8 @@ impl ISpellChecker_Vtbl { ComprehensiveCheck: ComprehensiveCheck::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1640,8 +1640,8 @@ impl ISpellChecker2_Vtbl { } Self { base__: ISpellChecker_Vtbl::new::(), Remove: Remove:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1658,8 +1658,8 @@ impl ISpellCheckerChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1714,8 +1714,8 @@ impl ISpellCheckerFactory_Vtbl { CreateSpellChecker: CreateSpellChecker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1780,8 +1780,8 @@ impl ISpellingError_Vtbl { Replacement: Replacement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1808,7 +1808,7 @@ impl IUserDictionariesRegistrar_Vtbl { UnregisterUserDictionary: UnregisterUserDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index be03ea0815..5b24a7a883 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -8310,6 +8310,7 @@ pub unsafe fn utrans_unregisterID(id: *const u16, idlength: i32) { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComprehensiveSpellCheckProvider(::windows_core::IUnknown); impl IComprehensiveSpellCheckProvider { pub unsafe fn ComprehensiveCheck(&self, text: P0) -> ::windows_core::Result @@ -8321,25 +8322,9 @@ impl IComprehensiveSpellCheckProvider { } } ::windows_core::imp::interface_hierarchy!(IComprehensiveSpellCheckProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComprehensiveSpellCheckProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComprehensiveSpellCheckProvider {} -impl ::core::fmt::Debug for IComprehensiveSpellCheckProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComprehensiveSpellCheckProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComprehensiveSpellCheckProvider { type Vtable = IComprehensiveSpellCheckProvider_Vtbl; } -impl ::core::clone::Clone for IComprehensiveSpellCheckProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComprehensiveSpellCheckProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c58f8de_8e94_479e_9717_70c42c4ad2c3); } @@ -8351,6 +8336,7 @@ pub struct IComprehensiveSpellCheckProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCodePage(::windows_core::IUnknown); impl IEnumCodePage { pub unsafe fn Clone(&self, ppenum: ::core::option::Option<*const ::core::option::Option>) -> ::windows_core::Result<()> { @@ -8367,25 +8353,9 @@ impl IEnumCodePage { } } ::windows_core::imp::interface_hierarchy!(IEnumCodePage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumCodePage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumCodePage {} -impl ::core::fmt::Debug for IEnumCodePage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCodePage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumCodePage { type Vtable = IEnumCodePage_Vtbl; } -impl ::core::clone::Clone for IEnumCodePage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumCodePage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x275c23e3_3747_11d0_9fea_00aa003f8646); } @@ -8400,6 +8370,7 @@ pub struct IEnumCodePage_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRfc1766(::windows_core::IUnknown); impl IEnumRfc1766 { pub unsafe fn Clone(&self, ppenum: ::core::option::Option<*const ::core::option::Option>) -> ::windows_core::Result<()> { @@ -8416,25 +8387,9 @@ impl IEnumRfc1766 { } } ::windows_core::imp::interface_hierarchy!(IEnumRfc1766, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRfc1766 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRfc1766 {} -impl ::core::fmt::Debug for IEnumRfc1766 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRfc1766").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRfc1766 { type Vtable = IEnumRfc1766_Vtbl; } -impl ::core::clone::Clone for IEnumRfc1766 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRfc1766 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dc39d1d_c030_11d0_b81b_00c04fc9b31f); } @@ -8449,6 +8404,7 @@ pub struct IEnumRfc1766_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumScript(::windows_core::IUnknown); impl IEnumScript { pub unsafe fn Clone(&self, ppenum: ::core::option::Option<*const ::core::option::Option>) -> ::windows_core::Result<()> { @@ -8465,25 +8421,9 @@ impl IEnumScript { } } ::windows_core::imp::interface_hierarchy!(IEnumScript, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumScript { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumScript {} -impl ::core::fmt::Debug for IEnumScript { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumScript").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumScript { type Vtable = IEnumScript_Vtbl; } -impl ::core::clone::Clone for IEnumScript { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumScript { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae5f1430_388b_11d2_8380_00c04f8f5da1); } @@ -8498,6 +8438,7 @@ pub struct IEnumScript_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSpellingError(::windows_core::IUnknown); impl IEnumSpellingError { pub unsafe fn Next(&self, value: *mut ::core::option::Option) -> ::windows_core::HRESULT { @@ -8505,25 +8446,9 @@ impl IEnumSpellingError { } } ::windows_core::imp::interface_hierarchy!(IEnumSpellingError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSpellingError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSpellingError {} -impl ::core::fmt::Debug for IEnumSpellingError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSpellingError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSpellingError { type Vtable = IEnumSpellingError_Vtbl; } -impl ::core::clone::Clone for IEnumSpellingError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSpellingError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x803e3bd4_2828_4410_8290_418d1d73c762); } @@ -8535,6 +8460,7 @@ pub struct IEnumSpellingError_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangCodePages(::windows_core::IUnknown); impl IMLangCodePages { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows_core::Result { @@ -8554,25 +8480,9 @@ impl IMLangCodePages { } } ::windows_core::imp::interface_hierarchy!(IMLangCodePages, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangCodePages { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangCodePages {} -impl ::core::fmt::Debug for IMLangCodePages { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangCodePages").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangCodePages { type Vtable = IMLangCodePages_Vtbl; } -impl ::core::clone::Clone for IMLangCodePages { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangCodePages { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x359f3443_bd4a_11d0_b188_00aa0038c969); } @@ -8587,6 +8497,7 @@ pub struct IMLangCodePages_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangConvertCharset(::windows_core::IUnknown); impl IMLangConvertCharset { pub unsafe fn Initialize(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> ::windows_core::Result<()> { @@ -8621,25 +8532,9 @@ impl IMLangConvertCharset { } } ::windows_core::imp::interface_hierarchy!(IMLangConvertCharset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangConvertCharset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangConvertCharset {} -impl ::core::fmt::Debug for IMLangConvertCharset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangConvertCharset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangConvertCharset { type Vtable = IMLangConvertCharset_Vtbl; } -impl ::core::clone::Clone for IMLangConvertCharset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangConvertCharset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd66d6f98_cdaa_11d0_b822_00c04fc9b31f); } @@ -8657,6 +8552,7 @@ pub struct IMLangConvertCharset_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangFontLink(::windows_core::IUnknown); impl IMLangFontLink { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows_core::Result { @@ -8705,25 +8601,9 @@ impl IMLangFontLink { } } ::windows_core::imp::interface_hierarchy!(IMLangFontLink, ::windows_core::IUnknown, IMLangCodePages); -impl ::core::cmp::PartialEq for IMLangFontLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangFontLink {} -impl ::core::fmt::Debug for IMLangFontLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangFontLink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangFontLink { type Vtable = IMLangFontLink_Vtbl; } -impl ::core::clone::Clone for IMLangFontLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangFontLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x359f3441_bd4a_11d0_b188_00aa0038c969); } @@ -8747,6 +8627,7 @@ pub struct IMLangFontLink_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangFontLink2(::windows_core::IUnknown); impl IMLangFontLink2 { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> ::windows_core::Result { @@ -8809,25 +8690,9 @@ impl IMLangFontLink2 { } } ::windows_core::imp::interface_hierarchy!(IMLangFontLink2, ::windows_core::IUnknown, IMLangCodePages); -impl ::core::cmp::PartialEq for IMLangFontLink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangFontLink2 {} -impl ::core::fmt::Debug for IMLangFontLink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangFontLink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangFontLink2 { type Vtable = IMLangFontLink2_Vtbl; } -impl ::core::clone::Clone for IMLangFontLink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangFontLink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdccfc162_2b38_11d2_b7ec_00c04f8f5d9a); } @@ -8857,6 +8722,7 @@ pub struct IMLangFontLink2_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangLineBreakConsole(::windows_core::IUnknown); impl IMLangLineBreakConsole { pub unsafe fn BreakLineML(&self, psrcmlstr: P0, lsrcpos: i32, lsrclen: i32, cmincolumns: i32, cmaxcolumns: i32, pllinelen: ::core::option::Option<*mut i32>, plskiplen: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> @@ -8873,25 +8739,9 @@ impl IMLangLineBreakConsole { } } ::windows_core::imp::interface_hierarchy!(IMLangLineBreakConsole, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangLineBreakConsole { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangLineBreakConsole {} -impl ::core::fmt::Debug for IMLangLineBreakConsole { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangLineBreakConsole").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangLineBreakConsole { type Vtable = IMLangLineBreakConsole_Vtbl; } -impl ::core::clone::Clone for IMLangLineBreakConsole { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangLineBreakConsole { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5be2ee1_bfd7_11d0_b188_00aa0038c969); } @@ -8905,6 +8755,7 @@ pub struct IMLangLineBreakConsole_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangString(::windows_core::IUnknown); impl IMLangString { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8932,25 +8783,9 @@ impl IMLangString { } } ::windows_core::imp::interface_hierarchy!(IMLangString, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangString {} -impl ::core::fmt::Debug for IMLangString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangString").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangString { type Vtable = IMLangString_Vtbl; } -impl ::core::clone::Clone for IMLangString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc04d65ce_b70d_11d0_b188_00aa0038c969); } @@ -8968,6 +8803,7 @@ pub struct IMLangString_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangStringAStr(::windows_core::IUnknown); impl IMLangStringAStr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9022,25 +8858,9 @@ impl IMLangStringAStr { } } ::windows_core::imp::interface_hierarchy!(IMLangStringAStr, ::windows_core::IUnknown, IMLangString); -impl ::core::cmp::PartialEq for IMLangStringAStr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangStringAStr {} -impl ::core::fmt::Debug for IMLangStringAStr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangStringAStr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangStringAStr { type Vtable = IMLangStringAStr_Vtbl; } -impl ::core::clone::Clone for IMLangStringAStr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangStringAStr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc04d65d2_b70d_11d0_b188_00aa0038c969); } @@ -9059,6 +8879,7 @@ pub struct IMLangStringAStr_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangStringBufA(::windows_core::IUnknown); impl IMLangStringBufA { pub unsafe fn GetStatus(&self, plflags: ::core::option::Option<*mut i32>, pcchbuf: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { @@ -9081,25 +8902,9 @@ impl IMLangStringBufA { } } ::windows_core::imp::interface_hierarchy!(IMLangStringBufA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangStringBufA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangStringBufA {} -impl ::core::fmt::Debug for IMLangStringBufA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangStringBufA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangStringBufA { type Vtable = IMLangStringBufA_Vtbl; } -impl ::core::clone::Clone for IMLangStringBufA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangStringBufA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd24acd23_ba72_11d0_b188_00aa0038c969); } @@ -9115,6 +8920,7 @@ pub struct IMLangStringBufA_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangStringBufW(::windows_core::IUnknown); impl IMLangStringBufW { pub unsafe fn GetStatus(&self, plflags: ::core::option::Option<*mut i32>, pcchbuf: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { @@ -9137,25 +8943,9 @@ impl IMLangStringBufW { } } ::windows_core::imp::interface_hierarchy!(IMLangStringBufW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMLangStringBufW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangStringBufW {} -impl ::core::fmt::Debug for IMLangStringBufW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangStringBufW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangStringBufW { type Vtable = IMLangStringBufW_Vtbl; } -impl ::core::clone::Clone for IMLangStringBufW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangStringBufW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd24acd21_ba72_11d0_b188_00aa0038c969); } @@ -9171,6 +8961,7 @@ pub struct IMLangStringBufW_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMLangStringWStr(::windows_core::IUnknown); impl IMLangStringWStr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9225,25 +9016,9 @@ impl IMLangStringWStr { } } ::windows_core::imp::interface_hierarchy!(IMLangStringWStr, ::windows_core::IUnknown, IMLangString); -impl ::core::cmp::PartialEq for IMLangStringWStr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMLangStringWStr {} -impl ::core::fmt::Debug for IMLangStringWStr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMLangStringWStr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMLangStringWStr { type Vtable = IMLangStringWStr_Vtbl; } -impl ::core::clone::Clone for IMLangStringWStr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMLangStringWStr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc04d65d0_b70d_11d0_b188_00aa0038c969); } @@ -9262,6 +9037,7 @@ pub struct IMLangStringWStr_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiLanguage(::windows_core::IUnknown); impl IMultiLanguage { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows_core::Result { @@ -9329,25 +9105,9 @@ impl IMultiLanguage { } } ::windows_core::imp::interface_hierarchy!(IMultiLanguage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiLanguage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiLanguage {} -impl ::core::fmt::Debug for IMultiLanguage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiLanguage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiLanguage { type Vtable = IMultiLanguage_Vtbl; } -impl ::core::clone::Clone for IMultiLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiLanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x275c23e1_3747_11d0_9fea_00aa003f8646); } @@ -9373,6 +9133,7 @@ pub struct IMultiLanguage_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiLanguage2(::windows_core::IUnknown); impl IMultiLanguage2 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows_core::Result { @@ -9511,25 +9272,9 @@ impl IMultiLanguage2 { } } ::windows_core::imp::interface_hierarchy!(IMultiLanguage2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiLanguage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiLanguage2 {} -impl ::core::fmt::Debug for IMultiLanguage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiLanguage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiLanguage2 { type Vtable = IMultiLanguage2_Vtbl; } -impl ::core::clone::Clone for IMultiLanguage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiLanguage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdccfc164_2b38_11d2_b7ec_00c04f8f5d9a); } @@ -9579,6 +9324,7 @@ pub struct IMultiLanguage2_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiLanguage3(::windows_core::IUnknown); impl IMultiLanguage3 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> ::windows_core::Result { @@ -9732,25 +9478,9 @@ impl IMultiLanguage3 { } } ::windows_core::imp::interface_hierarchy!(IMultiLanguage3, ::windows_core::IUnknown, IMultiLanguage2); -impl ::core::cmp::PartialEq for IMultiLanguage3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiLanguage3 {} -impl ::core::fmt::Debug for IMultiLanguage3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiLanguage3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiLanguage3 { type Vtable = IMultiLanguage3_Vtbl; } -impl ::core::clone::Clone for IMultiLanguage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiLanguage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e5868ab_b157_4623_9acc_6a1d9caebe04); } @@ -9766,6 +9496,7 @@ pub struct IMultiLanguage3_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOptionDescription(::windows_core::IUnknown); impl IOptionDescription { pub unsafe fn Id(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9788,25 +9519,9 @@ impl IOptionDescription { } } ::windows_core::imp::interface_hierarchy!(IOptionDescription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOptionDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOptionDescription {} -impl ::core::fmt::Debug for IOptionDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOptionDescription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOptionDescription { type Vtable = IOptionDescription_Vtbl; } -impl ::core::clone::Clone for IOptionDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOptionDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x432e5f85_35cf_4606_a801_6f70277e1d7a); } @@ -9824,6 +9539,7 @@ pub struct IOptionDescription_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellCheckProvider(::windows_core::IUnknown); impl ISpellCheckProvider { pub unsafe fn LanguageTag(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9890,25 +9606,9 @@ impl ISpellCheckProvider { } } ::windows_core::imp::interface_hierarchy!(ISpellCheckProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellCheckProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellCheckProvider {} -impl ::core::fmt::Debug for ISpellCheckProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellCheckProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellCheckProvider { type Vtable = ISpellCheckProvider_Vtbl; } -impl ::core::clone::Clone for ISpellCheckProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellCheckProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73e976e0_8ed4_4eb1_80d7_1be0a16b0c38); } @@ -9938,6 +9638,7 @@ pub struct ISpellCheckProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellCheckProviderFactory(::windows_core::IUnknown); impl ISpellCheckProviderFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9964,25 +9665,9 @@ impl ISpellCheckProviderFactory { } } ::windows_core::imp::interface_hierarchy!(ISpellCheckProviderFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellCheckProviderFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellCheckProviderFactory {} -impl ::core::fmt::Debug for ISpellCheckProviderFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellCheckProviderFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellCheckProviderFactory { type Vtable = ISpellCheckProviderFactory_Vtbl; } -impl ::core::clone::Clone for ISpellCheckProviderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellCheckProviderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f671e11_77d6_4c92_aefb_615215e3a4be); } @@ -10002,6 +9687,7 @@ pub struct ISpellCheckProviderFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellChecker(::windows_core::IUnknown); impl ISpellChecker { pub unsafe fn LanguageTag(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -10090,25 +9776,9 @@ impl ISpellChecker { } } ::windows_core::imp::interface_hierarchy!(ISpellChecker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellChecker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellChecker {} -impl ::core::fmt::Debug for ISpellChecker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellChecker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellChecker { type Vtable = ISpellChecker_Vtbl; } -impl ::core::clone::Clone for ISpellChecker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellChecker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6fd0b71_e2bc_4653_8d05_f197e412770b); } @@ -10139,6 +9809,7 @@ pub struct ISpellChecker_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellChecker2(::windows_core::IUnknown); impl ISpellChecker2 { pub unsafe fn LanguageTag(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -10233,25 +9904,9 @@ impl ISpellChecker2 { } } ::windows_core::imp::interface_hierarchy!(ISpellChecker2, ::windows_core::IUnknown, ISpellChecker); -impl ::core::cmp::PartialEq for ISpellChecker2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellChecker2 {} -impl ::core::fmt::Debug for ISpellChecker2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellChecker2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellChecker2 { type Vtable = ISpellChecker2_Vtbl; } -impl ::core::clone::Clone for ISpellChecker2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellChecker2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7ed1c71_87f7_4378_a840_c9200dacee47); } @@ -10263,6 +9918,7 @@ pub struct ISpellChecker2_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellCheckerChangedEventHandler(::windows_core::IUnknown); impl ISpellCheckerChangedEventHandler { pub unsafe fn Invoke(&self, sender: P0) -> ::windows_core::Result<()> @@ -10273,25 +9929,9 @@ impl ISpellCheckerChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(ISpellCheckerChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellCheckerChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellCheckerChangedEventHandler {} -impl ::core::fmt::Debug for ISpellCheckerChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellCheckerChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellCheckerChangedEventHandler { type Vtable = ISpellCheckerChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for ISpellCheckerChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellCheckerChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b83a5b0_792f_4eab_9799_acf52c5ed08a); } @@ -10303,6 +9943,7 @@ pub struct ISpellCheckerChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellCheckerFactory(::windows_core::IUnknown); impl ISpellCheckerFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10329,25 +9970,9 @@ impl ISpellCheckerFactory { } } ::windows_core::imp::interface_hierarchy!(ISpellCheckerFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellCheckerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellCheckerFactory {} -impl ::core::fmt::Debug for ISpellCheckerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellCheckerFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellCheckerFactory { type Vtable = ISpellCheckerFactory_Vtbl; } -impl ::core::clone::Clone for ISpellCheckerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellCheckerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e018a9d_2415_4677_bf08_794ea61f94bb); } @@ -10367,6 +9992,7 @@ pub struct ISpellCheckerFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpellingError(::windows_core::IUnknown); impl ISpellingError { pub unsafe fn StartIndex(&self) -> ::windows_core::Result { @@ -10387,25 +10013,9 @@ impl ISpellingError { } } ::windows_core::imp::interface_hierarchy!(ISpellingError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpellingError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpellingError {} -impl ::core::fmt::Debug for ISpellingError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpellingError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpellingError { type Vtable = ISpellingError_Vtbl; } -impl ::core::clone::Clone for ISpellingError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpellingError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7c82d61_fbe8_4b47_9b27_6c0d2e0de0a3); } @@ -10420,6 +10030,7 @@ pub struct ISpellingError_Vtbl { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserDictionariesRegistrar(::windows_core::IUnknown); impl IUserDictionariesRegistrar { pub unsafe fn RegisterUserDictionary(&self, dictionarypath: P0, languagetag: P1) -> ::windows_core::Result<()> @@ -10438,25 +10049,9 @@ impl IUserDictionariesRegistrar { } } ::windows_core::imp::interface_hierarchy!(IUserDictionariesRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserDictionariesRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserDictionariesRegistrar {} -impl ::core::fmt::Debug for IUserDictionariesRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserDictionariesRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserDictionariesRegistrar { type Vtable = IUserDictionariesRegistrar_Vtbl; } -impl ::core::clone::Clone for IUserDictionariesRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserDictionariesRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa176b85_0e12_4844_8e1a_eef1da77f586); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs index 613910d23e..4ebc66cd8e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs @@ -32,8 +32,8 @@ impl ICompositionFramePresentStatistics_Vtbl { GetDisplayInstanceArray: GetDisplayInstanceArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IIndependentFlipFramePresentStatistics_Vtbl { GetPresentDuration: GetPresentDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IPresentStatistics_Vtbl { GetKind: GetKind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl IPresentStatusPresentStatistics_Vtbl { GetPresentStatus: GetPresentStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IPresentationBuffer_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl IPresentationContent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTag: SetTag:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IPresentationFactory_Vtbl { CreatePresentationManager: CreatePresentationManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IPresentationManager_Vtbl { GetNextPresentStatistics: GetNextPresentStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -459,7 +459,7 @@ impl IPresentationSurface_Vtbl { SetLetterboxingMargins: SetLetterboxingMargins::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs index 6b3a427310..598d346d32 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -9,6 +9,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionFramePresentStatistics(::windows_core::IUnknown); impl ICompositionFramePresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -30,25 +31,9 @@ impl ICompositionFramePresentStatistics { } } ::windows_core::imp::interface_hierarchy!(ICompositionFramePresentStatistics, ::windows_core::IUnknown, IPresentStatistics); -impl ::core::cmp::PartialEq for ICompositionFramePresentStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionFramePresentStatistics {} -impl ::core::fmt::Debug for ICompositionFramePresentStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionFramePresentStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositionFramePresentStatistics { type Vtable = ICompositionFramePresentStatistics_Vtbl; } -impl ::core::clone::Clone for ICompositionFramePresentStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionFramePresentStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab41d127_c101_4c0a_911d_f9f2e9d08e64); } @@ -65,6 +50,7 @@ pub struct ICompositionFramePresentStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndependentFlipFramePresentStatistics(::windows_core::IUnknown); impl IIndependentFlipFramePresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -98,25 +84,9 @@ impl IIndependentFlipFramePresentStatistics { } } ::windows_core::imp::interface_hierarchy!(IIndependentFlipFramePresentStatistics, ::windows_core::IUnknown, IPresentStatistics); -impl ::core::cmp::PartialEq for IIndependentFlipFramePresentStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIndependentFlipFramePresentStatistics {} -impl ::core::fmt::Debug for IIndependentFlipFramePresentStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIndependentFlipFramePresentStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIndependentFlipFramePresentStatistics { type Vtable = IIndependentFlipFramePresentStatistics_Vtbl; } -impl ::core::clone::Clone for IIndependentFlipFramePresentStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndependentFlipFramePresentStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c93be27_ad94_4da0_8fd4_2413132d124e); } @@ -135,6 +105,7 @@ pub struct IIndependentFlipFramePresentStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentStatistics(::windows_core::IUnknown); impl IPresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -145,25 +116,9 @@ impl IPresentStatistics { } } ::windows_core::imp::interface_hierarchy!(IPresentStatistics, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPresentStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentStatistics {} -impl ::core::fmt::Debug for IPresentStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentStatistics { type Vtable = IPresentStatistics_Vtbl; } -impl ::core::clone::Clone for IPresentStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb44b8bda_7282_495d_9dd7_ceadd8b4bb86); } @@ -176,6 +131,7 @@ pub struct IPresentStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentStatusPresentStatistics(::windows_core::IUnknown); impl IPresentStatusPresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -192,25 +148,9 @@ impl IPresentStatusPresentStatistics { } } ::windows_core::imp::interface_hierarchy!(IPresentStatusPresentStatistics, ::windows_core::IUnknown, IPresentStatistics); -impl ::core::cmp::PartialEq for IPresentStatusPresentStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentStatusPresentStatistics {} -impl ::core::fmt::Debug for IPresentStatusPresentStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentStatusPresentStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentStatusPresentStatistics { type Vtable = IPresentStatusPresentStatistics_Vtbl; } -impl ::core::clone::Clone for IPresentStatusPresentStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentStatusPresentStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9ed2a41_79cb_435e_964e_c8553055420c); } @@ -223,6 +163,7 @@ pub struct IPresentStatusPresentStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentationBuffer(::windows_core::IUnknown); impl IPresentationBuffer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -237,25 +178,9 @@ impl IPresentationBuffer { } } ::windows_core::imp::interface_hierarchy!(IPresentationBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPresentationBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentationBuffer {} -impl ::core::fmt::Debug for IPresentationBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentationBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentationBuffer { type Vtable = IPresentationBuffer_Vtbl; } -impl ::core::clone::Clone for IPresentationBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentationBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e217d3a_5abb_4138_9a13_a775593c89ca); } @@ -271,6 +196,7 @@ pub struct IPresentationBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentationContent(::windows_core::IUnknown); impl IPresentationContent { pub unsafe fn SetTag(&self, tag: usize) { @@ -278,25 +204,9 @@ impl IPresentationContent { } } ::windows_core::imp::interface_hierarchy!(IPresentationContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPresentationContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentationContent {} -impl ::core::fmt::Debug for IPresentationContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentationContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentationContent { type Vtable = IPresentationContent_Vtbl; } -impl ::core::clone::Clone for IPresentationContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentationContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5668bb79_3d8e_415c_b215_f38020f2d252); } @@ -308,6 +218,7 @@ pub struct IPresentationContent_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentationFactory(::windows_core::IUnknown); impl IPresentationFactory { pub unsafe fn IsPresentationSupported(&self) -> u8 { @@ -322,25 +233,9 @@ impl IPresentationFactory { } } ::windows_core::imp::interface_hierarchy!(IPresentationFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPresentationFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentationFactory {} -impl ::core::fmt::Debug for IPresentationFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentationFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentationFactory { type Vtable = IPresentationFactory_Vtbl; } -impl ::core::clone::Clone for IPresentationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fb37b58_1d74_4f64_a49c_1f97a80a2ec0); } @@ -354,6 +249,7 @@ pub struct IPresentationFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentationManager(::windows_core::IUnknown); impl IPresentationManager { pub unsafe fn AddBufferFromResource(&self, resource: P0) -> ::windows_core::Result @@ -415,25 +311,9 @@ impl IPresentationManager { } } ::windows_core::imp::interface_hierarchy!(IPresentationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPresentationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentationManager {} -impl ::core::fmt::Debug for IPresentationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentationManager { type Vtable = IPresentationManager_Vtbl; } -impl ::core::clone::Clone for IPresentationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb562f82_6292_470a_88b1_843661e7f20c); } @@ -466,6 +346,7 @@ pub struct IPresentationManager_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPresentationSurface(::windows_core::IUnknown); impl IPresentationSurface { pub unsafe fn SetTag(&self, tag: usize) { @@ -509,25 +390,9 @@ impl IPresentationSurface { } } ::windows_core::imp::interface_hierarchy!(IPresentationSurface, ::windows_core::IUnknown, IPresentationContent); -impl ::core::cmp::PartialEq for IPresentationSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPresentationSurface {} -impl ::core::fmt::Debug for IPresentationSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPresentationSurface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPresentationSurface { type Vtable = IPresentationSurface_Vtbl; } -impl ::core::clone::Clone for IPresentationSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPresentationSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x956710fb_ea40_4eba_a3eb_4375a0eb4edc); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs index 0f06aa6a54..a83d468eda 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs @@ -84,8 +84,8 @@ impl IDXCoreAdapter_Vtbl { GetFactory: GetFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IDXCoreAdapterFactory_Vtbl { UnregisterEventNotification: UnregisterEventNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`, `\"implement\"`*"] @@ -198,7 +198,7 @@ impl IDXCoreAdapterList_Vtbl { IsAdapterPreferenceSupported: IsAdapterPreferenceSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs index 2f21f34aaa..a910f0359c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -10,6 +10,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXCoreAdapter(::windows_core::IUnknown); impl IDXCoreAdapter { pub unsafe fn IsValid(&self) -> bool { @@ -49,25 +50,9 @@ impl IDXCoreAdapter { } } ::windows_core::imp::interface_hierarchy!(IDXCoreAdapter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXCoreAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXCoreAdapter {} -impl ::core::fmt::Debug for IDXCoreAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXCoreAdapter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXCoreAdapter { type Vtable = IDXCoreAdapter_Vtbl; } -impl ::core::clone::Clone for IDXCoreAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXCoreAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0db4c7f_fe5a_42a2_bd62_f2a6cf6fc83e); } @@ -88,6 +73,7 @@ pub struct IDXCoreAdapter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXCoreAdapterFactory(::windows_core::IUnknown); impl IDXCoreAdapterFactory { pub unsafe fn CreateAdapterList(&self, filterattributes: &[::windows_core::GUID]) -> ::windows_core::Result @@ -121,25 +107,9 @@ impl IDXCoreAdapterFactory { } } ::windows_core::imp::interface_hierarchy!(IDXCoreAdapterFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXCoreAdapterFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXCoreAdapterFactory {} -impl ::core::fmt::Debug for IDXCoreAdapterFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXCoreAdapterFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXCoreAdapterFactory { type Vtable = IDXCoreAdapterFactory_Vtbl; } -impl ::core::clone::Clone for IDXCoreAdapterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXCoreAdapterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78ee5945_c36e_4b13_a669_005dd11c0f06); } @@ -158,6 +128,7 @@ pub struct IDXCoreAdapterFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXCoreAdapterList(::windows_core::IUnknown); impl IDXCoreAdapterList { pub unsafe fn GetAdapter(&self, index: u32) -> ::windows_core::Result @@ -188,25 +159,9 @@ impl IDXCoreAdapterList { } } ::windows_core::imp::interface_hierarchy!(IDXCoreAdapterList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXCoreAdapterList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXCoreAdapterList {} -impl ::core::fmt::Debug for IDXCoreAdapterList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXCoreAdapterList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXCoreAdapterList { type Vtable = IDXCoreAdapterList_Vtbl; } -impl ::core::clone::Clone for IDXCoreAdapterList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXCoreAdapterList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x526c7776_40e9_459b_b711_f32ad76dfc28); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs index 927a8b60a0..a8ed5ec2d1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs @@ -57,7 +57,7 @@ impl ID2D1SimplifiedGeometrySink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 7b47aa4ddc..5a22cbd2c0 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SimplifiedGeometrySink(::windows_core::IUnknown); impl ID2D1SimplifiedGeometrySink { pub unsafe fn SetFillMode(&self, fillmode: D2D1_FILL_MODE) { @@ -25,27 +26,11 @@ impl ID2D1SimplifiedGeometrySink { } } ::windows_core::imp::interface_hierarchy!(ID2D1SimplifiedGeometrySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1SimplifiedGeometrySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SimplifiedGeometrySink {} -impl ::core::fmt::Debug for ID2D1SimplifiedGeometrySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SimplifiedGeometrySink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SimplifiedGeometrySink {} unsafe impl ::core::marker::Sync for ID2D1SimplifiedGeometrySink {} unsafe impl ::windows_core::Interface for ID2D1SimplifiedGeometrySink { type Vtable = ID2D1SimplifiedGeometrySink_Vtbl; } -impl ::core::clone::Clone for ID2D1SimplifiedGeometrySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SimplifiedGeometrySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd9069e_12e2_11dc_9fed_001143a055f9); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs index 671099701b..de66cede7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs @@ -12,8 +12,8 @@ impl ID2D1AnalysisTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessAnalysisResults: ProcessAnalysisResults:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl ID2D1Bitmap_Vtbl { CopyFromMemory: CopyFromMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl ID2D1Bitmap1_Vtbl { Unmap: Unmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl ID2D1BitmapBrush_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl ID2D1BitmapBrush1_Vtbl { GetInterpolationMode1: GetInterpolationMode1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -273,8 +273,8 @@ impl ID2D1BitmapRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -304,8 +304,8 @@ impl ID2D1BlendTransform_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl ID2D1BorderTransform_Vtbl { GetExtendModeY: GetExtendModeY::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -380,8 +380,8 @@ impl ID2D1BoundsAdjustmentTransform_Vtbl { GetOutputBounds: GetOutputBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -425,8 +425,8 @@ impl ID2D1Brush_Vtbl { GetTransform: GetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -460,8 +460,8 @@ impl ID2D1ColorContext_Vtbl { GetProfile: GetProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl ID2D1ColorContext1_Vtbl { GetSimpleColorProfile: GetSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -522,8 +522,8 @@ impl ID2D1CommandList_Vtbl { } Self { base__: ID2D1Image_Vtbl::new::(), Stream: Stream::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -714,8 +714,8 @@ impl ID2D1CommandSink_Vtbl { PopLayer: PopLayer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -735,8 +735,8 @@ impl ID2D1CommandSink1_Vtbl { } Self { base__: ID2D1CommandSink_Vtbl::new::(), SetPrimitiveBlend1: SetPrimitiveBlend1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -773,8 +773,8 @@ impl ID2D1CommandSink2_Vtbl { DrawGdiMetafile2: DrawGdiMetafile2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -794,8 +794,8 @@ impl ID2D1CommandSink3_Vtbl { } Self { base__: ID2D1CommandSink2_Vtbl::new::(), DrawSpriteBatch: DrawSpriteBatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ID2D1CommandSink4_Vtbl { } Self { base__: ID2D1CommandSink3_Vtbl::new::(), SetPrimitiveBlend2: SetPrimitiveBlend2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl ID2D1CommandSink5_Vtbl { } Self { base__: ID2D1CommandSink4_Vtbl::new::(), BlendImage: BlendImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -874,8 +874,8 @@ impl ID2D1ComputeInfo_Vtbl { SetResourceTexture: SetResourceTexture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl ID2D1ComputeTransform_Vtbl { CalculateThreadgroups: CalculateThreadgroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -936,8 +936,8 @@ impl ID2D1ConcreteTransform_Vtbl { SetCached: SetCached::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl ID2D1DCRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), BindDC: BindDC:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1021,8 +1021,8 @@ impl ID2D1Device_Vtbl { ClearResources: ClearResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1065,8 +1065,8 @@ impl ID2D1Device1_Vtbl { CreateDeviceContext2: CreateDeviceContext2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl ID2D1Device2_Vtbl { GetDxgiDevice: GetDxgiDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1142,8 +1142,8 @@ impl ID2D1Device3_Vtbl { } Self { base__: ID2D1Device2_Vtbl::new::(), CreateDeviceContext4: CreateDeviceContext4:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl ID2D1Device4_Vtbl { GetMaximumColorGlyphCacheMemory: GetMaximumColorGlyphCacheMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl ID2D1Device5_Vtbl { } Self { base__: ID2D1Device4_Vtbl::new::(), CreateDeviceContext6: CreateDeviceContext6:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1240,8 +1240,8 @@ impl ID2D1Device6_Vtbl { } Self { base__: ID2D1Device5_Vtbl::new::(), CreateDeviceContext7: CreateDeviceContext7:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl ID2D1DeviceContext_Vtbl { FillOpacityMask2: FillOpacityMask2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl ID2D1DeviceContext1_Vtbl { DrawGeometryRealization: DrawGeometryRealization::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1784,8 +1784,8 @@ impl ID2D1DeviceContext2_Vtbl { CreateTransformedImageSource: CreateTransformedImageSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl ID2D1DeviceContext3_Vtbl { DrawSpriteBatch: DrawSpriteBatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1907,8 +1907,8 @@ impl ID2D1DeviceContext4_Vtbl { GetSvgGlyphImage: GetSvgGlyphImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1970,8 +1970,8 @@ impl ID2D1DeviceContext5_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1991,8 +1991,8 @@ impl ID2D1DeviceContext6_Vtbl { } Self { base__: ID2D1DeviceContext5_Vtbl::new::(), BlendImage: BlendImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2043,8 +2043,8 @@ impl ID2D1DrawInfo_Vtbl { SetVertexProcessing: SetVertexProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2064,8 +2064,8 @@ impl ID2D1DrawTransform_Vtbl { } Self { base__: ID2D1Transform_Vtbl::new::(), SetDrawInfo: SetDrawInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2109,8 +2109,8 @@ impl ID2D1DrawingStateBlock_Vtbl { GetTextRenderingParams: GetTextRenderingParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2140,8 +2140,8 @@ impl ID2D1DrawingStateBlock1_Vtbl { SetDescription2: SetDescription2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2192,8 +2192,8 @@ impl ID2D1Effect_Vtbl { GetOutput: GetOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2440,8 +2440,8 @@ impl ID2D1EffectContext_Vtbl { IsBufferPrecisionSupported: IsBufferPrecisionSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2467,8 +2467,8 @@ impl ID2D1EffectContext1_Vtbl { } Self { base__: ID2D1EffectContext_Vtbl::new::(), CreateLookupTable3D: CreateLookupTable3D:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2510,8 +2510,8 @@ impl ID2D1EffectContext2_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -2545,8 +2545,8 @@ impl ID2D1EffectImpl_Vtbl { SetGraph: SetGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2566,8 +2566,8 @@ impl ID2D1EllipseGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetEllipse: GetEllipse:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ID2D1Factory_Vtbl { CreateDCRenderTarget: CreateDCRenderTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2876,8 +2876,8 @@ impl ID2D1Factory1_Vtbl { GetEffectProperties: GetEffectProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2903,8 +2903,8 @@ impl ID2D1Factory2_Vtbl { } Self { base__: ID2D1Factory1_Vtbl::new::(), CreateDevice2: CreateDevice2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl ID2D1Factory3_Vtbl { } Self { base__: ID2D1Factory2_Vtbl::new::(), CreateDevice3: CreateDevice3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2957,8 +2957,8 @@ impl ID2D1Factory4_Vtbl { } Self { base__: ID2D1Factory3_Vtbl::new::(), CreateDevice4: CreateDevice4:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2984,8 +2984,8 @@ impl ID2D1Factory5_Vtbl { } Self { base__: ID2D1Factory4_Vtbl::new::(), CreateDevice5: CreateDevice5:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3011,8 +3011,8 @@ impl ID2D1Factory6_Vtbl { } Self { base__: ID2D1Factory5_Vtbl::new::(), CreateDevice6: CreateDevice6:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3038,8 +3038,8 @@ impl ID2D1Factory7_Vtbl { } Self { base__: ID2D1Factory6_Vtbl::new::(), CreateDevice7: CreateDevice7:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3075,8 +3075,8 @@ impl ID2D1GdiInteropRenderTarget_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl ID2D1GdiMetafile_Vtbl { GetBounds: GetBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl ID2D1GdiMetafile1_Vtbl { GetSourceBounds: GetSourceBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3167,8 +3167,8 @@ impl ID2D1GdiMetafileSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessRecord: ProcessRecord:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3185,8 +3185,8 @@ impl ID2D1GdiMetafileSink1_Vtbl { } Self { base__: ID2D1GdiMetafileSink_Vtbl::new::(), ProcessRecord2: ProcessRecord2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3335,8 +3335,8 @@ impl ID2D1Geometry_Vtbl { Widen: Widen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3373,8 +3373,8 @@ impl ID2D1GeometryGroup_Vtbl { GetSourceGeometries: GetSourceGeometries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3384,8 +3384,8 @@ impl ID2D1GeometryRealization_Vtbl { pub const fn new, Impl: ID2D1GeometryRealization_Impl, const OFFSET: isize>() -> ID2D1GeometryRealization_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3436,8 +3436,8 @@ impl ID2D1GeometrySink_Vtbl { AddArc: AddArc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3467,8 +3467,8 @@ impl ID2D1GradientMesh_Vtbl { GetPatches: GetPatches::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3512,8 +3512,8 @@ impl ID2D1GradientStopCollection_Vtbl { GetExtendMode: GetExtendMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3564,8 +3564,8 @@ impl ID2D1GradientStopCollection1_Vtbl { GetColorInterpolationMode: GetColorInterpolationMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3602,8 +3602,8 @@ impl ID2D1HwndRenderTarget_Vtbl { GetHwnd: GetHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3613,8 +3613,8 @@ impl ID2D1Image_Vtbl { pub const fn new, Impl: ID2D1Image_Impl, const OFFSET: isize>() -> ID2D1Image_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3700,8 +3700,8 @@ impl ID2D1ImageBrush_Vtbl { GetSourceRectangle: GetSourceRectangle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3737,8 +3737,8 @@ impl ID2D1ImageSource_Vtbl { TryReclaimResources: TryReclaimResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3775,8 +3775,8 @@ impl ID2D1ImageSourceFromWic_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3868,8 +3868,8 @@ impl ID2D1Ink_Vtbl { GetBounds: GetBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -3913,8 +3913,8 @@ impl ID2D1InkStyle_Vtbl { GetNibShape: GetNibShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3934,8 +3934,8 @@ impl ID2D1Layer_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), GetSize: GetSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3986,8 +3986,8 @@ impl ID2D1LinearGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3997,8 +3997,8 @@ impl ID2D1LookupTable3D_Vtbl { pub const fn new, Impl: ID2D1LookupTable3D_Impl, const OFFSET: isize>() -> ID2D1LookupTable3D_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl ID2D1Mesh_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), Open: Open:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4059,8 +4059,8 @@ impl ID2D1Multithread_Vtbl { Leave: Leave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4090,8 +4090,8 @@ impl ID2D1OffsetTransform_Vtbl { GetOffset: GetOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4153,8 +4153,8 @@ impl ID2D1PathGeometry_Vtbl { GetFigureCount: GetFigureCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4177,8 +4177,8 @@ impl ID2D1PathGeometry1_Vtbl { ComputePointAndSegmentAtLength: ComputePointAndSegmentAtLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4208,8 +4208,8 @@ impl ID2D1PrintControl_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4305,8 +4305,8 @@ impl ID2D1Properties_Vtbl { GetSubProperties: GetSubProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4385,8 +4385,8 @@ impl ID2D1RadialGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4406,8 +4406,8 @@ impl ID2D1RectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRect: GetRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl ID2D1RenderInfo_Vtbl { SetInstructionCountHint: SetInstructionCountHint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -4899,8 +4899,8 @@ impl ID2D1RenderTarget_Vtbl { IsSupported: IsSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4917,8 +4917,8 @@ impl ID2D1Resource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFactory: GetFactory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4935,8 +4935,8 @@ impl ID2D1ResourceTexture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4956,8 +4956,8 @@ impl ID2D1RoundedRectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRoundedRect: GetRoundedRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4987,8 +4987,8 @@ impl ID2D1SolidColorBrush_Vtbl { GetColor: GetColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5018,8 +5018,8 @@ impl ID2D1SourceTransform_Vtbl { Draw: Draw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5071,8 +5071,8 @@ impl ID2D1SpriteBatch_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5148,8 +5148,8 @@ impl ID2D1StrokeStyle_Vtbl { GetDashes: GetDashes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5166,8 +5166,8 @@ impl ID2D1StrokeStyle1_Vtbl { } Self { base__: ID2D1StrokeStyle_Vtbl::new::(), GetStrokeTransformType: GetStrokeTransformType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5200,8 +5200,8 @@ impl ID2D1SvgAttribute_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5330,8 +5330,8 @@ impl ID2D1SvgDocument_Vtbl { CreatePathData: CreatePathData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5581,8 +5581,8 @@ impl ID2D1SvgElement_Vtbl { GetAttributeValueLength: GetAttributeValueLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5630,8 +5630,8 @@ impl ID2D1SvgGlyphStyle_Vtbl { GetStroke: GetStroke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5696,8 +5696,8 @@ impl ID2D1SvgPaint_Vtbl { GetIdLength: GetIdLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5782,8 +5782,8 @@ impl ID2D1SvgPathData_Vtbl { CreatePathGeometry: CreatePathGeometry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5827,8 +5827,8 @@ impl ID2D1SvgPointCollection_Vtbl { GetPointsCount: GetPointsCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5883,8 +5883,8 @@ impl ID2D1SvgStrokeDashArray_Vtbl { GetDashesCount: GetDashesCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5914,8 +5914,8 @@ impl ID2D1TessellationSink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5958,8 +5958,8 @@ impl ID2D1Transform_Vtbl { MapInvalidRect: MapInvalidRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6035,8 +6035,8 @@ impl ID2D1TransformGraph_Vtbl { SetPassthroughGraph: SetPassthroughGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6053,8 +6053,8 @@ impl ID2D1TransformNode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputCount: GetInputCount:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -6084,8 +6084,8 @@ impl ID2D1TransformedGeometry_Vtbl { GetTransform: GetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6112,8 +6112,8 @@ impl ID2D1TransformedImageSource_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6136,7 +6136,7 @@ impl ID2D1VertexBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map::, Unmap: Unmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs index 57466963d4..79bc835aba 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -101,6 +101,7 @@ pub unsafe fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32 { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1AnalysisTransform(::windows_core::IUnknown); impl ID2D1AnalysisTransform { pub unsafe fn ProcessAnalysisResults(&self, analysisdata: &[u8]) -> ::windows_core::Result<()> { @@ -108,27 +109,11 @@ impl ID2D1AnalysisTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1AnalysisTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1AnalysisTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1AnalysisTransform {} -impl ::core::fmt::Debug for ID2D1AnalysisTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1AnalysisTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1AnalysisTransform {} unsafe impl ::core::marker::Sync for ID2D1AnalysisTransform {} unsafe impl ::windows_core::Interface for ID2D1AnalysisTransform { type Vtable = ID2D1AnalysisTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1AnalysisTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1AnalysisTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0359dc30_95e6_4568_9055_27720d130e93); } @@ -140,6 +125,7 @@ pub struct ID2D1AnalysisTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Bitmap(::windows_core::IUnknown); impl ID2D1Bitmap { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -194,27 +180,11 @@ impl ID2D1Bitmap { } } ::windows_core::imp::interface_hierarchy!(ID2D1Bitmap, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image); -impl ::core::cmp::PartialEq for ID2D1Bitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Bitmap {} -impl ::core::fmt::Debug for ID2D1Bitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Bitmap").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Bitmap {} unsafe impl ::core::marker::Sync for ID2D1Bitmap {} unsafe impl ::windows_core::Interface for ID2D1Bitmap { type Vtable = ID2D1Bitmap_Vtbl; } -impl ::core::clone::Clone for ID2D1Bitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Bitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2296057_ea42_4099_983b_539fb6505426); } @@ -250,6 +220,7 @@ pub struct ID2D1Bitmap_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Bitmap1(::windows_core::IUnknown); impl ID2D1Bitmap1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -325,27 +296,11 @@ impl ID2D1Bitmap1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Bitmap1, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1Bitmap); -impl ::core::cmp::PartialEq for ID2D1Bitmap1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Bitmap1 {} -impl ::core::fmt::Debug for ID2D1Bitmap1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Bitmap1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Bitmap1 {} unsafe impl ::core::marker::Sync for ID2D1Bitmap1 {} unsafe impl ::windows_core::Interface for ID2D1Bitmap1 { type Vtable = ID2D1Bitmap1_Vtbl; } -impl ::core::clone::Clone for ID2D1Bitmap1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Bitmap1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa898a84c_3873_4588_b08b_ebbf978df041); } @@ -364,6 +319,7 @@ pub struct ID2D1Bitmap1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BitmapBrush(::windows_core::IUnknown); impl ID2D1BitmapBrush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -418,27 +374,11 @@ impl ID2D1BitmapBrush { } } ::windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush); -impl ::core::cmp::PartialEq for ID2D1BitmapBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BitmapBrush {} -impl ::core::fmt::Debug for ID2D1BitmapBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BitmapBrush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BitmapBrush {} unsafe impl ::core::marker::Sync for ID2D1BitmapBrush {} unsafe impl ::windows_core::Interface for ID2D1BitmapBrush { type Vtable = ID2D1BitmapBrush_Vtbl; } -impl ::core::clone::Clone for ID2D1BitmapBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BitmapBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906aa_12e2_11dc_9fed_001143a055f9); } @@ -457,6 +397,7 @@ pub struct ID2D1BitmapBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BitmapBrush1(::windows_core::IUnknown); impl ID2D1BitmapBrush1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -517,27 +458,11 @@ impl ID2D1BitmapBrush1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush1, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush, ID2D1BitmapBrush); -impl ::core::cmp::PartialEq for ID2D1BitmapBrush1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BitmapBrush1 {} -impl ::core::fmt::Debug for ID2D1BitmapBrush1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BitmapBrush1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BitmapBrush1 {} unsafe impl ::core::marker::Sync for ID2D1BitmapBrush1 {} unsafe impl ::windows_core::Interface for ID2D1BitmapBrush1 { type Vtable = ID2D1BitmapBrush1_Vtbl; } -impl ::core::clone::Clone for ID2D1BitmapBrush1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BitmapBrush1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41343a53_e41a_49a2_91cd_21793bbb62e5); } @@ -550,6 +475,7 @@ pub struct ID2D1BitmapBrush1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BitmapRenderTarget(::windows_core::IUnknown); impl ID2D1BitmapRenderTarget { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -887,27 +813,11 @@ impl ID2D1BitmapRenderTarget { } } ::windows_core::imp::interface_hierarchy!(ID2D1BitmapRenderTarget, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); -impl ::core::cmp::PartialEq for ID2D1BitmapRenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BitmapRenderTarget {} -impl ::core::fmt::Debug for ID2D1BitmapRenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BitmapRenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BitmapRenderTarget {} unsafe impl ::core::marker::Sync for ID2D1BitmapRenderTarget {} unsafe impl ::windows_core::Interface for ID2D1BitmapRenderTarget { type Vtable = ID2D1BitmapRenderTarget_Vtbl; } -impl ::core::clone::Clone for ID2D1BitmapRenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BitmapRenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd90695_12e2_11dc_9fed_001143a055f9); } @@ -919,6 +829,7 @@ pub struct ID2D1BitmapRenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BlendTransform(::windows_core::IUnknown); impl ID2D1BlendTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -943,27 +854,11 @@ impl ID2D1BlendTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1BlendTransform, ::windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); -impl ::core::cmp::PartialEq for ID2D1BlendTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BlendTransform {} -impl ::core::fmt::Debug for ID2D1BlendTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BlendTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BlendTransform {} unsafe impl ::core::marker::Sync for ID2D1BlendTransform {} unsafe impl ::windows_core::Interface for ID2D1BlendTransform { type Vtable = ID2D1BlendTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1BlendTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BlendTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63ac0b32_ba44_450f_8806_7f4ca1ff2f1b); } @@ -976,6 +871,7 @@ pub struct ID2D1BlendTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BorderTransform(::windows_core::IUnknown); impl ID2D1BorderTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -1006,27 +902,11 @@ impl ID2D1BorderTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1BorderTransform, ::windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); -impl ::core::cmp::PartialEq for ID2D1BorderTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BorderTransform {} -impl ::core::fmt::Debug for ID2D1BorderTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BorderTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BorderTransform {} unsafe impl ::core::marker::Sync for ID2D1BorderTransform {} unsafe impl ::windows_core::Interface for ID2D1BorderTransform { type Vtable = ID2D1BorderTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1BorderTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BorderTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4998735c_3a19_473c_9781_656847e3a347); } @@ -1041,6 +921,7 @@ pub struct ID2D1BorderTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1BoundsAdjustmentTransform(::windows_core::IUnknown); impl ID2D1BoundsAdjustmentTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -1060,27 +941,11 @@ impl ID2D1BoundsAdjustmentTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1BoundsAdjustmentTransform, ::windows_core::IUnknown, ID2D1TransformNode); -impl ::core::cmp::PartialEq for ID2D1BoundsAdjustmentTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1BoundsAdjustmentTransform {} -impl ::core::fmt::Debug for ID2D1BoundsAdjustmentTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1BoundsAdjustmentTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1BoundsAdjustmentTransform {} unsafe impl ::core::marker::Sync for ID2D1BoundsAdjustmentTransform {} unsafe impl ::windows_core::Interface for ID2D1BoundsAdjustmentTransform { type Vtable = ID2D1BoundsAdjustmentTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1BoundsAdjustmentTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1BoundsAdjustmentTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90f732e2_5092_4606_a819_8651970baccd); } @@ -1099,6 +964,7 @@ pub struct ID2D1BoundsAdjustmentTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Brush(::windows_core::IUnknown); impl ID2D1Brush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -1124,27 +990,11 @@ impl ID2D1Brush { } } ::windows_core::imp::interface_hierarchy!(ID2D1Brush, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Brush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Brush {} -impl ::core::fmt::Debug for ID2D1Brush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Brush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Brush {} unsafe impl ::core::marker::Sync for ID2D1Brush {} unsafe impl ::windows_core::Interface for ID2D1Brush { type Vtable = ID2D1Brush_Vtbl; } -impl ::core::clone::Clone for ID2D1Brush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Brush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a8_12e2_11dc_9fed_001143a055f9); } @@ -1165,6 +1015,7 @@ pub struct ID2D1Brush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ColorContext(::windows_core::IUnknown); impl ID2D1ColorContext { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -1183,27 +1034,11 @@ impl ID2D1ColorContext { } } ::windows_core::imp::interface_hierarchy!(ID2D1ColorContext, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1ColorContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ColorContext {} -impl ::core::fmt::Debug for ID2D1ColorContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ColorContext").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ColorContext {} unsafe impl ::core::marker::Sync for ID2D1ColorContext {} unsafe impl ::windows_core::Interface for ID2D1ColorContext { type Vtable = ID2D1ColorContext_Vtbl; } -impl ::core::clone::Clone for ID2D1ColorContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ColorContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c4820bb_5771_4518_a581_2fe4dd0ec657); } @@ -1217,6 +1052,7 @@ pub struct ID2D1ColorContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ColorContext1(::windows_core::IUnknown); impl ID2D1ColorContext1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -1248,27 +1084,11 @@ impl ID2D1ColorContext1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1ColorContext1, ::windows_core::IUnknown, ID2D1Resource, ID2D1ColorContext); -impl ::core::cmp::PartialEq for ID2D1ColorContext1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ColorContext1 {} -impl ::core::fmt::Debug for ID2D1ColorContext1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ColorContext1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ColorContext1 {} unsafe impl ::core::marker::Sync for ID2D1ColorContext1 {} unsafe impl ::windows_core::Interface for ID2D1ColorContext1 { type Vtable = ID2D1ColorContext1_Vtbl; } -impl ::core::clone::Clone for ID2D1ColorContext1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ColorContext1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ab42875_c57f_4be9_bd85_9cd78d6f55ee); } @@ -1288,6 +1108,7 @@ pub struct ID2D1ColorContext1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandList(::windows_core::IUnknown); impl ID2D1CommandList { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -1306,27 +1127,11 @@ impl ID2D1CommandList { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandList, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image); -impl ::core::cmp::PartialEq for ID2D1CommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandList {} -impl ::core::fmt::Debug for ID2D1CommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandList {} unsafe impl ::core::marker::Sync for ID2D1CommandList {} unsafe impl ::windows_core::Interface for ID2D1CommandList { type Vtable = ID2D1CommandList_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4f34a19_2383_4d76_94f6_ec343657c3dc); } @@ -1339,6 +1144,7 @@ pub struct ID2D1CommandList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink(::windows_core::IUnknown); impl ID2D1CommandSink { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -1491,27 +1297,11 @@ impl ID2D1CommandSink { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1CommandSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink {} -impl ::core::fmt::Debug for ID2D1CommandSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink {} unsafe impl ::core::marker::Sync for ID2D1CommandSink {} unsafe impl ::windows_core::Interface for ID2D1CommandSink { type Vtable = ID2D1CommandSink_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54d7898a_a061_40a7_bec7_e465bcba2c4f); } @@ -1586,6 +1376,7 @@ pub struct ID2D1CommandSink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink1(::windows_core::IUnknown); impl ID2D1CommandSink1 { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -1741,27 +1532,11 @@ impl ID2D1CommandSink1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink1, ::windows_core::IUnknown, ID2D1CommandSink); -impl ::core::cmp::PartialEq for ID2D1CommandSink1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink1 {} -impl ::core::fmt::Debug for ID2D1CommandSink1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink1 {} unsafe impl ::core::marker::Sync for ID2D1CommandSink1 {} unsafe impl ::windows_core::Interface for ID2D1CommandSink1 { type Vtable = ID2D1CommandSink1_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9eb767fd_4269_4467_b8c2_eb30cb305743); } @@ -1773,6 +1548,7 @@ pub struct ID2D1CommandSink1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink2(::windows_core::IUnknown); impl ID2D1CommandSink2 { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -1950,27 +1726,11 @@ impl ID2D1CommandSink2 { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink2, ::windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1); -impl ::core::cmp::PartialEq for ID2D1CommandSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink2 {} -impl ::core::fmt::Debug for ID2D1CommandSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink2 {} unsafe impl ::core::marker::Sync for ID2D1CommandSink2 {} unsafe impl ::windows_core::Interface for ID2D1CommandSink2 { type Vtable = ID2D1CommandSink2_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bab440e_417e_47df_a2e2_bc0be6a00916); } @@ -1987,6 +1747,7 @@ pub struct ID2D1CommandSink2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink3(::windows_core::IUnknown); impl ID2D1CommandSink3 { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -2171,27 +1932,11 @@ impl ID2D1CommandSink3 { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink3, ::windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2); -impl ::core::cmp::PartialEq for ID2D1CommandSink3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink3 {} -impl ::core::fmt::Debug for ID2D1CommandSink3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink3 {} unsafe impl ::core::marker::Sync for ID2D1CommandSink3 {} unsafe impl ::windows_core::Interface for ID2D1CommandSink3 { type Vtable = ID2D1CommandSink3_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18079135_4cf3_4868_bc8e_06067e6d242d); } @@ -2203,6 +1948,7 @@ pub struct ID2D1CommandSink3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink4(::windows_core::IUnknown); impl ID2D1CommandSink4 { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -2390,27 +2136,11 @@ impl ID2D1CommandSink4 { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink4, ::windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3); -impl ::core::cmp::PartialEq for ID2D1CommandSink4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink4 {} -impl ::core::fmt::Debug for ID2D1CommandSink4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink4 {} unsafe impl ::core::marker::Sync for ID2D1CommandSink4 {} unsafe impl ::windows_core::Interface for ID2D1CommandSink4 { type Vtable = ID2D1CommandSink4_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc78a6519_40d6_4218_b2de_beeeb744bb3e); } @@ -2422,6 +2152,7 @@ pub struct ID2D1CommandSink4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1CommandSink5(::windows_core::IUnknown); impl ID2D1CommandSink5 { pub unsafe fn BeginDraw(&self) -> ::windows_core::Result<()> { @@ -2617,27 +2348,11 @@ impl ID2D1CommandSink5 { } } ::windows_core::imp::interface_hierarchy!(ID2D1CommandSink5, ::windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3, ID2D1CommandSink4); -impl ::core::cmp::PartialEq for ID2D1CommandSink5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1CommandSink5 {} -impl ::core::fmt::Debug for ID2D1CommandSink5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1CommandSink5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1CommandSink5 {} unsafe impl ::core::marker::Sync for ID2D1CommandSink5 {} unsafe impl ::windows_core::Interface for ID2D1CommandSink5 { type Vtable = ID2D1CommandSink5_Vtbl; } -impl ::core::clone::Clone for ID2D1CommandSink5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1CommandSink5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7047dd26_b1e7_44a7_959a_8349e2144fa8); } @@ -2652,6 +2367,7 @@ pub struct ID2D1CommandSink5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ComputeInfo(::windows_core::IUnknown); impl ID2D1ComputeInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> ::windows_core::Result<()> { @@ -2685,27 +2401,11 @@ impl ID2D1ComputeInfo { } } ::windows_core::imp::interface_hierarchy!(ID2D1ComputeInfo, ::windows_core::IUnknown, ID2D1RenderInfo); -impl ::core::cmp::PartialEq for ID2D1ComputeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ComputeInfo {} -impl ::core::fmt::Debug for ID2D1ComputeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ComputeInfo").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ComputeInfo {} unsafe impl ::core::marker::Sync for ID2D1ComputeInfo {} unsafe impl ::windows_core::Interface for ID2D1ComputeInfo { type Vtable = ID2D1ComputeInfo_Vtbl; } -impl ::core::clone::Clone for ID2D1ComputeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ComputeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5598b14b_9fd7_48b7_9bdb_8f0964eb38bc); } @@ -2719,6 +2419,7 @@ pub struct ID2D1ComputeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ComputeTransform(::windows_core::IUnknown); impl ID2D1ComputeTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -2753,27 +2454,11 @@ impl ID2D1ComputeTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1ComputeTransform, ::windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); -impl ::core::cmp::PartialEq for ID2D1ComputeTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ComputeTransform {} -impl ::core::fmt::Debug for ID2D1ComputeTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ComputeTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ComputeTransform {} unsafe impl ::core::marker::Sync for ID2D1ComputeTransform {} unsafe impl ::windows_core::Interface for ID2D1ComputeTransform { type Vtable = ID2D1ComputeTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1ComputeTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ComputeTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d85573c_01e3_4f7d_bfd9_0d60608bf3c3); } @@ -2789,6 +2474,7 @@ pub struct ID2D1ComputeTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ConcreteTransform(::windows_core::IUnknown); impl ID2D1ConcreteTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -2807,27 +2493,11 @@ impl ID2D1ConcreteTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1ConcreteTransform, ::windows_core::IUnknown, ID2D1TransformNode); -impl ::core::cmp::PartialEq for ID2D1ConcreteTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ConcreteTransform {} -impl ::core::fmt::Debug for ID2D1ConcreteTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ConcreteTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ConcreteTransform {} unsafe impl ::core::marker::Sync for ID2D1ConcreteTransform {} unsafe impl ::windows_core::Interface for ID2D1ConcreteTransform { type Vtable = ID2D1ConcreteTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1ConcreteTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ConcreteTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a799d8a_69f7_4e4c_9fed_437ccc6684cc); } @@ -2843,6 +2513,7 @@ pub struct ID2D1ConcreteTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DCRenderTarget(::windows_core::IUnknown); impl ID2D1DCRenderTarget { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3184,27 +2855,11 @@ impl ID2D1DCRenderTarget { } } ::windows_core::imp::interface_hierarchy!(ID2D1DCRenderTarget, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); -impl ::core::cmp::PartialEq for ID2D1DCRenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DCRenderTarget {} -impl ::core::fmt::Debug for ID2D1DCRenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DCRenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DCRenderTarget {} unsafe impl ::core::marker::Sync for ID2D1DCRenderTarget {} unsafe impl ::windows_core::Interface for ID2D1DCRenderTarget { type Vtable = ID2D1DCRenderTarget_Vtbl; } -impl ::core::clone::Clone for ID2D1DCRenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DCRenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c51bc64_de61_46fd_9899_63a5d8f03950); } @@ -3219,6 +2874,7 @@ pub struct ID2D1DCRenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device(::windows_core::IUnknown); impl ID2D1Device { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3251,27 +2907,11 @@ impl ID2D1Device { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device {} -impl ::core::fmt::Debug for ID2D1Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device {} unsafe impl ::core::marker::Sync for ID2D1Device {} unsafe impl ::windows_core::Interface for ID2D1Device { type Vtable = ID2D1Device_Vtbl; } -impl ::core::clone::Clone for ID2D1Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47dd575d_ac05_4cdd_8049_9b02cd16f44c); } @@ -3290,6 +2930,7 @@ pub struct ID2D1Device_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device1(::windows_core::IUnknown); impl ID2D1Device1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3332,27 +2973,11 @@ impl ID2D1Device1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device1, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device); -impl ::core::cmp::PartialEq for ID2D1Device1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device1 {} -impl ::core::fmt::Debug for ID2D1Device1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device1 {} unsafe impl ::core::marker::Sync for ID2D1Device1 {} unsafe impl ::windows_core::Interface for ID2D1Device1 { type Vtable = ID2D1Device1_Vtbl; } -impl ::core::clone::Clone for ID2D1Device1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd21768e1_23a4_4823_a14b_7c3eba85d658); } @@ -3366,6 +2991,7 @@ pub struct ID2D1Device1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device2(::windows_core::IUnknown); impl ID2D1Device2 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3424,27 +3050,11 @@ impl ID2D1Device2 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device2, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1); -impl ::core::cmp::PartialEq for ID2D1Device2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device2 {} -impl ::core::fmt::Debug for ID2D1Device2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device2 {} unsafe impl ::core::marker::Sync for ID2D1Device2 {} unsafe impl ::windows_core::Interface for ID2D1Device2 { type Vtable = ID2D1Device2_Vtbl; } -impl ::core::clone::Clone for ID2D1Device2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa44472e1_8dfb_4e60_8492_6e2861c9ca8b); } @@ -3461,6 +3071,7 @@ pub struct ID2D1Device2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device3(::windows_core::IUnknown); impl ID2D1Device3 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3523,27 +3134,11 @@ impl ID2D1Device3 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device3, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2); -impl ::core::cmp::PartialEq for ID2D1Device3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device3 {} -impl ::core::fmt::Debug for ID2D1Device3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device3 {} unsafe impl ::core::marker::Sync for ID2D1Device3 {} unsafe impl ::windows_core::Interface for ID2D1Device3 { type Vtable = ID2D1Device3_Vtbl; } -impl ::core::clone::Clone for ID2D1Device3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x852f2087_802c_4037_ab60_ff2e7ee6fc01); } @@ -3555,6 +3150,7 @@ pub struct ID2D1Device3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device4(::windows_core::IUnknown); impl ID2D1Device4 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3627,27 +3223,11 @@ impl ID2D1Device4 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device4, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3); -impl ::core::cmp::PartialEq for ID2D1Device4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device4 {} -impl ::core::fmt::Debug for ID2D1Device4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device4 {} unsafe impl ::core::marker::Sync for ID2D1Device4 {} unsafe impl ::windows_core::Interface for ID2D1Device4 { type Vtable = ID2D1Device4_Vtbl; } -impl ::core::clone::Clone for ID2D1Device4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7bdb159_5683_4a46_bc9c_72dc720b858b); } @@ -3661,6 +3241,7 @@ pub struct ID2D1Device4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device5(::windows_core::IUnknown); impl ID2D1Device5 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3737,27 +3318,11 @@ impl ID2D1Device5 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device5, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4); -impl ::core::cmp::PartialEq for ID2D1Device5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device5 {} -impl ::core::fmt::Debug for ID2D1Device5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device5 {} unsafe impl ::core::marker::Sync for ID2D1Device5 {} unsafe impl ::windows_core::Interface for ID2D1Device5 { type Vtable = ID2D1Device5_Vtbl; } -impl ::core::clone::Clone for ID2D1Device5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd55ba0a4_6405_4694_aef5_08ee1a4358b4); } @@ -3769,6 +3334,7 @@ pub struct ID2D1Device5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Device6(::windows_core::IUnknown); impl ID2D1Device6 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -3849,27 +3415,11 @@ impl ID2D1Device6 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Device6, ::windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5); -impl ::core::cmp::PartialEq for ID2D1Device6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Device6 {} -impl ::core::fmt::Debug for ID2D1Device6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Device6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Device6 {} unsafe impl ::core::marker::Sync for ID2D1Device6 {} unsafe impl ::windows_core::Interface for ID2D1Device6 { type Vtable = ID2D1Device6_Vtbl; } -impl ::core::clone::Clone for ID2D1Device6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Device6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bfef914_2d75_4bad_be87_e18ddb077b6d); } @@ -3881,6 +3431,7 @@ pub struct ID2D1Device6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext(::windows_core::IUnknown); impl ID2D1DeviceContext { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -4444,27 +3995,11 @@ impl ID2D1DeviceContext { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); -impl ::core::cmp::PartialEq for ID2D1DeviceContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext {} -impl ::core::fmt::Debug for ID2D1DeviceContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext { type Vtable = ID2D1DeviceContext_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8f7fe7a_191c_466d_ad95_975678bda998); } @@ -4579,6 +4114,7 @@ pub struct ID2D1DeviceContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext1(::windows_core::IUnknown); impl ID2D1DeviceContext1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -5164,27 +4700,11 @@ impl ID2D1DeviceContext1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext1, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext); -impl ::core::cmp::PartialEq for ID2D1DeviceContext1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext1 {} -impl ::core::fmt::Debug for ID2D1DeviceContext1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext1 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext1 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext1 { type Vtable = ID2D1DeviceContext1_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd37f57e4_6908_459f_a199_e72f24f79987); } @@ -5198,6 +4718,7 @@ pub struct ID2D1DeviceContext1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext2(::windows_core::IUnknown); impl ID2D1DeviceContext2 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -5856,27 +5377,11 @@ impl ID2D1DeviceContext2 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext2, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1); -impl ::core::cmp::PartialEq for ID2D1DeviceContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext2 {} -impl ::core::fmt::Debug for ID2D1DeviceContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext2 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext2 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext2 { type Vtable = ID2D1DeviceContext2_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x394ea6a3_0c34_4321_950b_6ca20f0be6c7); } @@ -5916,6 +5421,7 @@ pub struct ID2D1DeviceContext2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext3(::windows_core::IUnknown); impl ID2D1DeviceContext3 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -6585,27 +6091,11 @@ impl ID2D1DeviceContext3 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext3, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2); -impl ::core::cmp::PartialEq for ID2D1DeviceContext3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext3 {} -impl ::core::fmt::Debug for ID2D1DeviceContext3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext3 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext3 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext3 { type Vtable = ID2D1DeviceContext3_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x235a7496_8351_414c_bcd4_6672ab2d8e00); } @@ -6618,6 +6108,7 @@ pub struct ID2D1DeviceContext3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext4(::windows_core::IUnknown); impl ID2D1DeviceContext4 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -7345,27 +6836,11 @@ impl ID2D1DeviceContext4 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext4, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3); -impl ::core::cmp::PartialEq for ID2D1DeviceContext4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext4 {} -impl ::core::fmt::Debug for ID2D1DeviceContext4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext4 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext4 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext4 { type Vtable = ID2D1DeviceContext4_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c427831_3d90_4476_b647_c4fae349e4db); } @@ -7401,6 +6876,7 @@ pub struct ID2D1DeviceContext4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext5(::windows_core::IUnknown); impl ID2D1DeviceContext5 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -8155,27 +7631,11 @@ impl ID2D1DeviceContext5 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext5, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4); -impl ::core::cmp::PartialEq for ID2D1DeviceContext5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext5 {} -impl ::core::fmt::Debug for ID2D1DeviceContext5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext5 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext5 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext5 { type Vtable = ID2D1DeviceContext5_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7836d248_68cc_4df6_b9e8_de991bf62eb7); } @@ -8199,6 +7659,7 @@ pub struct ID2D1DeviceContext5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DeviceContext6(::windows_core::IUnknown); impl ID2D1DeviceContext6 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -8961,27 +8422,11 @@ impl ID2D1DeviceContext6 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DeviceContext6, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5); -impl ::core::cmp::PartialEq for ID2D1DeviceContext6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DeviceContext6 {} -impl ::core::fmt::Debug for ID2D1DeviceContext6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DeviceContext6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DeviceContext6 {} unsafe impl ::core::marker::Sync for ID2D1DeviceContext6 {} unsafe impl ::windows_core::Interface for ID2D1DeviceContext6 { type Vtable = ID2D1DeviceContext6_Vtbl; } -impl ::core::clone::Clone for ID2D1DeviceContext6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DeviceContext6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x985f7e37_4ed0_4a19_98a3_15b0edfde306); } @@ -8996,6 +8441,7 @@ pub struct ID2D1DeviceContext6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DrawInfo(::windows_core::IUnknown); impl ID2D1DrawInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> ::windows_core::Result<()> { @@ -9038,27 +8484,11 @@ impl ID2D1DrawInfo { } } ::windows_core::imp::interface_hierarchy!(ID2D1DrawInfo, ::windows_core::IUnknown, ID2D1RenderInfo); -impl ::core::cmp::PartialEq for ID2D1DrawInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DrawInfo {} -impl ::core::fmt::Debug for ID2D1DrawInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DrawInfo").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DrawInfo {} unsafe impl ::core::marker::Sync for ID2D1DrawInfo {} unsafe impl ::windows_core::Interface for ID2D1DrawInfo { type Vtable = ID2D1DrawInfo_Vtbl; } -impl ::core::clone::Clone for ID2D1DrawInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DrawInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x693ce632_7f2f_45de_93fe_18d88b37aa21); } @@ -9074,6 +8504,7 @@ pub struct ID2D1DrawInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DrawTransform(::windows_core::IUnknown); impl ID2D1DrawTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -9103,27 +8534,11 @@ impl ID2D1DrawTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1DrawTransform, ::windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); -impl ::core::cmp::PartialEq for ID2D1DrawTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DrawTransform {} -impl ::core::fmt::Debug for ID2D1DrawTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DrawTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DrawTransform {} unsafe impl ::core::marker::Sync for ID2D1DrawTransform {} unsafe impl ::windows_core::Interface for ID2D1DrawTransform { type Vtable = ID2D1DrawTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1DrawTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DrawTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36bfdcb6_9739_435d_a30d_a653beff6a6f); } @@ -9135,6 +8550,7 @@ pub struct ID2D1DrawTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DrawingStateBlock(::windows_core::IUnknown); impl ID2D1DrawingStateBlock { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -9169,27 +8585,11 @@ impl ID2D1DrawingStateBlock { } } ::windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1DrawingStateBlock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DrawingStateBlock {} -impl ::core::fmt::Debug for ID2D1DrawingStateBlock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DrawingStateBlock").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DrawingStateBlock {} unsafe impl ::core::marker::Sync for ID2D1DrawingStateBlock {} unsafe impl ::windows_core::Interface for ID2D1DrawingStateBlock { type Vtable = ID2D1DrawingStateBlock_Vtbl; } -impl ::core::clone::Clone for ID2D1DrawingStateBlock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DrawingStateBlock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28506e39_ebf6_46a1_bb47_fd85565ab957); } @@ -9216,6 +8616,7 @@ pub struct ID2D1DrawingStateBlock_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1DrawingStateBlock1(::windows_core::IUnknown); impl ID2D1DrawingStateBlock1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -9260,27 +8661,11 @@ impl ID2D1DrawingStateBlock1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock1, ::windows_core::IUnknown, ID2D1Resource, ID2D1DrawingStateBlock); -impl ::core::cmp::PartialEq for ID2D1DrawingStateBlock1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1DrawingStateBlock1 {} -impl ::core::fmt::Debug for ID2D1DrawingStateBlock1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1DrawingStateBlock1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1DrawingStateBlock1 {} unsafe impl ::core::marker::Sync for ID2D1DrawingStateBlock1 {} unsafe impl ::windows_core::Interface for ID2D1DrawingStateBlock1 { type Vtable = ID2D1DrawingStateBlock1_Vtbl; } -impl ::core::clone::Clone for ID2D1DrawingStateBlock1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1DrawingStateBlock1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x689f1f85_c72e_4e33_8f19_85754efd5ace); } @@ -9299,6 +8684,7 @@ pub struct ID2D1DrawingStateBlock1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Effect(::windows_core::IUnknown); impl ID2D1Effect { pub unsafe fn GetPropertyCount(&self) -> u32 { @@ -9371,27 +8757,11 @@ impl ID2D1Effect { } } ::windows_core::imp::interface_hierarchy!(ID2D1Effect, ::windows_core::IUnknown, ID2D1Properties); -impl ::core::cmp::PartialEq for ID2D1Effect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Effect {} -impl ::core::fmt::Debug for ID2D1Effect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Effect").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Effect {} unsafe impl ::core::marker::Sync for ID2D1Effect {} unsafe impl ::windows_core::Interface for ID2D1Effect { type Vtable = ID2D1Effect_Vtbl; } -impl ::core::clone::Clone for ID2D1Effect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Effect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28211a43_7d89_476f_8181_2d6159b220ad); } @@ -9410,6 +8780,7 @@ pub struct ID2D1Effect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1EffectContext(::windows_core::IUnknown); impl ID2D1EffectContext { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -9514,27 +8885,11 @@ impl ID2D1EffectContext { } } ::windows_core::imp::interface_hierarchy!(ID2D1EffectContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1EffectContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1EffectContext {} -impl ::core::fmt::Debug for ID2D1EffectContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1EffectContext").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1EffectContext {} unsafe impl ::core::marker::Sync for ID2D1EffectContext {} unsafe impl ::windows_core::Interface for ID2D1EffectContext { type Vtable = ID2D1EffectContext_Vtbl; } -impl ::core::clone::Clone for ID2D1EffectContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1EffectContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d9f916b_27dc_4ad7_b4f1_64945340f563); } @@ -9587,6 +8942,7 @@ pub struct ID2D1EffectContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1EffectContext1(::windows_core::IUnknown); impl ID2D1EffectContext1 { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -9695,27 +9051,11 @@ impl ID2D1EffectContext1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1EffectContext1, ::windows_core::IUnknown, ID2D1EffectContext); -impl ::core::cmp::PartialEq for ID2D1EffectContext1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1EffectContext1 {} -impl ::core::fmt::Debug for ID2D1EffectContext1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1EffectContext1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1EffectContext1 {} unsafe impl ::core::marker::Sync for ID2D1EffectContext1 {} unsafe impl ::windows_core::Interface for ID2D1EffectContext1 { type Vtable = ID2D1EffectContext1_Vtbl; } -impl ::core::clone::Clone for ID2D1EffectContext1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1EffectContext1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84ab595a_fc81_4546_bacd_e8ef4d8abe7a); } @@ -9727,6 +9067,7 @@ pub struct ID2D1EffectContext1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1EffectContext2(::windows_core::IUnknown); impl ID2D1EffectContext2 { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -9847,27 +9188,11 @@ impl ID2D1EffectContext2 { } } ::windows_core::imp::interface_hierarchy!(ID2D1EffectContext2, ::windows_core::IUnknown, ID2D1EffectContext, ID2D1EffectContext1); -impl ::core::cmp::PartialEq for ID2D1EffectContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1EffectContext2 {} -impl ::core::fmt::Debug for ID2D1EffectContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1EffectContext2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1EffectContext2 {} unsafe impl ::core::marker::Sync for ID2D1EffectContext2 {} unsafe impl ::windows_core::Interface for ID2D1EffectContext2 { type Vtable = ID2D1EffectContext2_Vtbl; } -impl ::core::clone::Clone for ID2D1EffectContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1EffectContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x577ad2a0_9fc7_4dda_8b18_dab810140052); } @@ -9886,6 +9211,7 @@ pub struct ID2D1EffectContext2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1EffectImpl(::windows_core::IUnknown); impl ID2D1EffectImpl { pub unsafe fn Initialize(&self, effectcontext: P0, transformgraph: P1) -> ::windows_core::Result<()> @@ -9906,27 +9232,11 @@ impl ID2D1EffectImpl { } } ::windows_core::imp::interface_hierarchy!(ID2D1EffectImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1EffectImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1EffectImpl {} -impl ::core::fmt::Debug for ID2D1EffectImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1EffectImpl").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1EffectImpl {} unsafe impl ::core::marker::Sync for ID2D1EffectImpl {} unsafe impl ::windows_core::Interface for ID2D1EffectImpl { type Vtable = ID2D1EffectImpl_Vtbl; } -impl ::core::clone::Clone for ID2D1EffectImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1EffectImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa248fd3f_3e6c_4e63_9f03_7f68ecc91db9); } @@ -9940,6 +9250,7 @@ pub struct ID2D1EffectImpl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1EllipseGeometry(::windows_core::IUnknown); impl ID2D1EllipseGeometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -10054,27 +9365,11 @@ impl ID2D1EllipseGeometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1EllipseGeometry, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1EllipseGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1EllipseGeometry {} -impl ::core::fmt::Debug for ID2D1EllipseGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1EllipseGeometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1EllipseGeometry {} unsafe impl ::core::marker::Sync for ID2D1EllipseGeometry {} unsafe impl ::windows_core::Interface for ID2D1EllipseGeometry { type Vtable = ID2D1EllipseGeometry_Vtbl; } -impl ::core::clone::Clone for ID2D1EllipseGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1EllipseGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a4_12e2_11dc_9fed_001143a055f9); } @@ -10089,6 +9384,7 @@ pub struct ID2D1EllipseGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory(::windows_core::IUnknown); impl ID2D1Factory { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -10179,27 +9475,11 @@ impl ID2D1Factory { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1Factory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory {} -impl ::core::fmt::Debug for ID2D1Factory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory {} unsafe impl ::core::marker::Sync for ID2D1Factory {} unsafe impl ::windows_core::Interface for ID2D1Factory { type Vtable = ID2D1Factory_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06152247_6f50_465a_9245_118bfd3b6007); } @@ -10254,6 +9534,7 @@ pub struct ID2D1Factory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory1(::windows_core::IUnknown); impl ID2D1Factory1 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -10403,27 +9684,11 @@ impl ID2D1Factory1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory1, ::windows_core::IUnknown, ID2D1Factory); -impl ::core::cmp::PartialEq for ID2D1Factory1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory1 {} -impl ::core::fmt::Debug for ID2D1Factory1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory1 {} unsafe impl ::core::marker::Sync for ID2D1Factory1 {} unsafe impl ::windows_core::Interface for ID2D1Factory1 { type Vtable = ID2D1Factory1_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb12d362_daee_4b9a_aa1d_14ba401cfa1f); } @@ -10456,6 +9721,7 @@ pub struct ID2D1Factory1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory2(::windows_core::IUnknown); impl ID2D1Factory2 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -10614,27 +9880,11 @@ impl ID2D1Factory2 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory2, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1); -impl ::core::cmp::PartialEq for ID2D1Factory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory2 {} -impl ::core::fmt::Debug for ID2D1Factory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory2 {} unsafe impl ::core::marker::Sync for ID2D1Factory2 {} unsafe impl ::windows_core::Interface for ID2D1Factory2 { type Vtable = ID2D1Factory2_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94f81a73_9212_4376_9c58_b16a3a0d3992); } @@ -10649,6 +9899,7 @@ pub struct ID2D1Factory2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory3(::windows_core::IUnknown); impl ID2D1Factory3 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -10816,27 +10067,11 @@ impl ID2D1Factory3 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory3, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2); -impl ::core::cmp::PartialEq for ID2D1Factory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory3 {} -impl ::core::fmt::Debug for ID2D1Factory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory3 {} unsafe impl ::core::marker::Sync for ID2D1Factory3 {} unsafe impl ::windows_core::Interface for ID2D1Factory3 { type Vtable = ID2D1Factory3_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0869759f_4f00_413f_b03e_2bda45404d0f); } @@ -10851,6 +10086,7 @@ pub struct ID2D1Factory3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory4(::windows_core::IUnknown); impl ID2D1Factory4 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -11027,27 +10263,11 @@ impl ID2D1Factory4 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory4, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3); -impl ::core::cmp::PartialEq for ID2D1Factory4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory4 {} -impl ::core::fmt::Debug for ID2D1Factory4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory4 {} unsafe impl ::core::marker::Sync for ID2D1Factory4 {} unsafe impl ::windows_core::Interface for ID2D1Factory4 { type Vtable = ID2D1Factory4_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd4ec2d2_0662_4bee_ba8e_6f29f032e096); } @@ -11062,6 +10282,7 @@ pub struct ID2D1Factory4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory5(::windows_core::IUnknown); impl ID2D1Factory5 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -11247,27 +10468,11 @@ impl ID2D1Factory5 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory5, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4); -impl ::core::cmp::PartialEq for ID2D1Factory5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory5 {} -impl ::core::fmt::Debug for ID2D1Factory5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory5 {} unsafe impl ::core::marker::Sync for ID2D1Factory5 {} unsafe impl ::windows_core::Interface for ID2D1Factory5 { type Vtable = ID2D1Factory5_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4349994_838e_4b0f_8cab_44997d9eeacc); } @@ -11282,6 +10487,7 @@ pub struct ID2D1Factory5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory6(::windows_core::IUnknown); impl ID2D1Factory6 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -11476,27 +10682,11 @@ impl ID2D1Factory6 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory6, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5); -impl ::core::cmp::PartialEq for ID2D1Factory6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory6 {} -impl ::core::fmt::Debug for ID2D1Factory6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory6 {} unsafe impl ::core::marker::Sync for ID2D1Factory6 {} unsafe impl ::windows_core::Interface for ID2D1Factory6 { type Vtable = ID2D1Factory6_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9976f46_f642_44c1_97ca_da32ea2a2635); } @@ -11511,6 +10701,7 @@ pub struct ID2D1Factory6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Factory7(::windows_core::IUnknown); impl ID2D1Factory7 { pub unsafe fn ReloadSystemMetrics(&self) -> ::windows_core::Result<()> { @@ -11714,27 +10905,11 @@ impl ID2D1Factory7 { } } ::windows_core::imp::interface_hierarchy!(ID2D1Factory7, ::windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6); -impl ::core::cmp::PartialEq for ID2D1Factory7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Factory7 {} -impl ::core::fmt::Debug for ID2D1Factory7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Factory7").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Factory7 {} unsafe impl ::core::marker::Sync for ID2D1Factory7 {} unsafe impl ::windows_core::Interface for ID2D1Factory7 { type Vtable = ID2D1Factory7_Vtbl; } -impl ::core::clone::Clone for ID2D1Factory7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Factory7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdc2bdd3_b96c_4de6_bdf7_99d4745454de); } @@ -11749,6 +10924,7 @@ pub struct ID2D1Factory7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GdiInteropRenderTarget(::windows_core::IUnknown); impl ID2D1GdiInteropRenderTarget { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -11764,27 +10940,11 @@ impl ID2D1GdiInteropRenderTarget { } } ::windows_core::imp::interface_hierarchy!(ID2D1GdiInteropRenderTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1GdiInteropRenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GdiInteropRenderTarget {} -impl ::core::fmt::Debug for ID2D1GdiInteropRenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GdiInteropRenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GdiInteropRenderTarget {} unsafe impl ::core::marker::Sync for ID2D1GdiInteropRenderTarget {} unsafe impl ::windows_core::Interface for ID2D1GdiInteropRenderTarget { type Vtable = ID2D1GdiInteropRenderTarget_Vtbl; } -impl ::core::clone::Clone for ID2D1GdiInteropRenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GdiInteropRenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0db51c3_6f77_4bae_b3d5_e47509b35838); } @@ -11803,6 +10963,7 @@ pub struct ID2D1GdiInteropRenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GdiMetafile(::windows_core::IUnknown); impl ID2D1GdiMetafile { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -11824,27 +10985,11 @@ impl ID2D1GdiMetafile { } } ::windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1GdiMetafile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GdiMetafile {} -impl ::core::fmt::Debug for ID2D1GdiMetafile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GdiMetafile").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GdiMetafile {} unsafe impl ::core::marker::Sync for ID2D1GdiMetafile {} unsafe impl ::windows_core::Interface for ID2D1GdiMetafile { type Vtable = ID2D1GdiMetafile_Vtbl; } -impl ::core::clone::Clone for ID2D1GdiMetafile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GdiMetafile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f543dc3_cfc1_4211_864f_cfd91c6f3395); } @@ -11860,6 +11005,7 @@ pub struct ID2D1GdiMetafile_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GdiMetafile1(::windows_core::IUnknown); impl ID2D1GdiMetafile1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -11890,27 +11036,11 @@ impl ID2D1GdiMetafile1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile1, ::windows_core::IUnknown, ID2D1Resource, ID2D1GdiMetafile); -impl ::core::cmp::PartialEq for ID2D1GdiMetafile1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GdiMetafile1 {} -impl ::core::fmt::Debug for ID2D1GdiMetafile1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GdiMetafile1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GdiMetafile1 {} unsafe impl ::core::marker::Sync for ID2D1GdiMetafile1 {} unsafe impl ::windows_core::Interface for ID2D1GdiMetafile1 { type Vtable = ID2D1GdiMetafile1_Vtbl; } -impl ::core::clone::Clone for ID2D1GdiMetafile1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GdiMetafile1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e69f9e8_dd3f_4bf9_95ba_c04f49d788df); } @@ -11926,6 +11056,7 @@ pub struct ID2D1GdiMetafile1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GdiMetafileSink(::windows_core::IUnknown); impl ID2D1GdiMetafileSink { pub unsafe fn ProcessRecord(&self, recordtype: u32, recorddata: ::core::option::Option<*const ::core::ffi::c_void>, recorddatasize: u32) -> ::windows_core::Result<()> { @@ -11933,27 +11064,11 @@ impl ID2D1GdiMetafileSink { } } ::windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1GdiMetafileSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GdiMetafileSink {} -impl ::core::fmt::Debug for ID2D1GdiMetafileSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GdiMetafileSink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GdiMetafileSink {} unsafe impl ::core::marker::Sync for ID2D1GdiMetafileSink {} unsafe impl ::windows_core::Interface for ID2D1GdiMetafileSink { type Vtable = ID2D1GdiMetafileSink_Vtbl; } -impl ::core::clone::Clone for ID2D1GdiMetafileSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GdiMetafileSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82237326_8111_4f7c_bcf4_b5c1175564fe); } @@ -11965,6 +11080,7 @@ pub struct ID2D1GdiMetafileSink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GdiMetafileSink1(::windows_core::IUnknown); impl ID2D1GdiMetafileSink1 { pub unsafe fn ProcessRecord(&self, recordtype: u32, recorddata: ::core::option::Option<*const ::core::ffi::c_void>, recorddatasize: u32) -> ::windows_core::Result<()> { @@ -11975,27 +11091,11 @@ impl ID2D1GdiMetafileSink1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink1, ::windows_core::IUnknown, ID2D1GdiMetafileSink); -impl ::core::cmp::PartialEq for ID2D1GdiMetafileSink1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GdiMetafileSink1 {} -impl ::core::fmt::Debug for ID2D1GdiMetafileSink1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GdiMetafileSink1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GdiMetafileSink1 {} unsafe impl ::core::marker::Sync for ID2D1GdiMetafileSink1 {} unsafe impl ::windows_core::Interface for ID2D1GdiMetafileSink1 { type Vtable = ID2D1GdiMetafileSink1_Vtbl; } -impl ::core::clone::Clone for ID2D1GdiMetafileSink1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GdiMetafileSink1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd0ecb6b_91e6_411e_8655_395e760f91b4); } @@ -12007,6 +11107,7 @@ pub struct ID2D1GdiMetafileSink1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Geometry(::windows_core::IUnknown); impl ID2D1Geometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12114,27 +11215,11 @@ impl ID2D1Geometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1Geometry, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Geometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Geometry {} -impl ::core::fmt::Debug for ID2D1Geometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Geometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Geometry {} unsafe impl ::core::marker::Sync for ID2D1Geometry {} unsafe impl ::windows_core::Interface for ID2D1Geometry { type Vtable = ID2D1Geometry_Vtbl; } -impl ::core::clone::Clone for ID2D1Geometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Geometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a1_12e2_11dc_9fed_001143a055f9); } @@ -12197,6 +11282,7 @@ pub struct ID2D1Geometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GeometryGroup(::windows_core::IUnknown); impl ID2D1GeometryGroup { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12315,27 +11401,11 @@ impl ID2D1GeometryGroup { } } ::windows_core::imp::interface_hierarchy!(ID2D1GeometryGroup, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1GeometryGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GeometryGroup {} -impl ::core::fmt::Debug for ID2D1GeometryGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GeometryGroup").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GeometryGroup {} unsafe impl ::core::marker::Sync for ID2D1GeometryGroup {} unsafe impl ::windows_core::Interface for ID2D1GeometryGroup { type Vtable = ID2D1GeometryGroup_Vtbl; } -impl ::core::clone::Clone for ID2D1GeometryGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GeometryGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a6_12e2_11dc_9fed_001143a055f9); } @@ -12352,6 +11422,7 @@ pub struct ID2D1GeometryGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GeometryRealization(::windows_core::IUnknown); impl ID2D1GeometryRealization { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12361,27 +11432,11 @@ impl ID2D1GeometryRealization { } } ::windows_core::imp::interface_hierarchy!(ID2D1GeometryRealization, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1GeometryRealization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GeometryRealization {} -impl ::core::fmt::Debug for ID2D1GeometryRealization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GeometryRealization").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GeometryRealization {} unsafe impl ::core::marker::Sync for ID2D1GeometryRealization {} unsafe impl ::windows_core::Interface for ID2D1GeometryRealization { type Vtable = ID2D1GeometryRealization_Vtbl; } -impl ::core::clone::Clone for ID2D1GeometryRealization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GeometryRealization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa16907d7_bc02_4801_99e8_8cf7f485f774); } @@ -12393,6 +11448,7 @@ pub struct ID2D1GeometryRealization_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`*"] #[cfg(feature = "Win32_Graphics_Direct2D_Common")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GeometrySink(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] impl ID2D1GeometrySink { @@ -12460,20 +11516,6 @@ impl ID2D1GeometrySink { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] ::windows_core::imp::interface_hierarchy!(ID2D1GeometrySink, ::windows_core::IUnknown, Common::ID2D1SimplifiedGeometrySink); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] -impl ::core::cmp::PartialEq for ID2D1GeometrySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct2D_Common")] -impl ::core::cmp::Eq for ID2D1GeometrySink {} -#[cfg(feature = "Win32_Graphics_Direct2D_Common")] -impl ::core::fmt::Debug for ID2D1GeometrySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GeometrySink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct2D_Common")] unsafe impl ::core::marker::Send for ID2D1GeometrySink {} #[cfg(feature = "Win32_Graphics_Direct2D_Common")] unsafe impl ::core::marker::Sync for ID2D1GeometrySink {} @@ -12482,12 +11524,6 @@ unsafe impl ::windows_core::Interface for ID2D1GeometrySink { type Vtable = ID2D1GeometrySink_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] -impl ::core::clone::Clone for ID2D1GeometrySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct2D_Common")] unsafe impl ::windows_core::ComInterface for ID2D1GeometrySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd9069f_12e2_11dc_9fed_001143a055f9); } @@ -12519,6 +11555,7 @@ pub struct ID2D1GeometrySink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GradientMesh(::windows_core::IUnknown); impl ID2D1GradientMesh { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12536,27 +11573,11 @@ impl ID2D1GradientMesh { } } ::windows_core::imp::interface_hierarchy!(ID2D1GradientMesh, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1GradientMesh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GradientMesh {} -impl ::core::fmt::Debug for ID2D1GradientMesh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GradientMesh").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GradientMesh {} unsafe impl ::core::marker::Sync for ID2D1GradientMesh {} unsafe impl ::windows_core::Interface for ID2D1GradientMesh { type Vtable = ID2D1GradientMesh_Vtbl; } -impl ::core::clone::Clone for ID2D1GradientMesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GradientMesh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf292e401_c050_4cde_83d7_04962d3b23c2); } @@ -12572,6 +11593,7 @@ pub struct ID2D1GradientMesh_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GradientStopCollection(::windows_core::IUnknown); impl ID2D1GradientStopCollection { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12595,27 +11617,11 @@ impl ID2D1GradientStopCollection { } } ::windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1GradientStopCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GradientStopCollection {} -impl ::core::fmt::Debug for ID2D1GradientStopCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GradientStopCollection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GradientStopCollection {} unsafe impl ::core::marker::Sync for ID2D1GradientStopCollection {} unsafe impl ::windows_core::Interface for ID2D1GradientStopCollection { type Vtable = ID2D1GradientStopCollection_Vtbl; } -impl ::core::clone::Clone for ID2D1GradientStopCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GradientStopCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a7_12e2_11dc_9fed_001143a055f9); } @@ -12633,6 +11639,7 @@ pub struct ID2D1GradientStopCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1GradientStopCollection1(::windows_core::IUnknown); impl ID2D1GradientStopCollection1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -12673,27 +11680,11 @@ impl ID2D1GradientStopCollection1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection1, ::windows_core::IUnknown, ID2D1Resource, ID2D1GradientStopCollection); -impl ::core::cmp::PartialEq for ID2D1GradientStopCollection1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1GradientStopCollection1 {} -impl ::core::fmt::Debug for ID2D1GradientStopCollection1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1GradientStopCollection1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1GradientStopCollection1 {} unsafe impl ::core::marker::Sync for ID2D1GradientStopCollection1 {} unsafe impl ::windows_core::Interface for ID2D1GradientStopCollection1 { type Vtable = ID2D1GradientStopCollection1_Vtbl; } -impl ::core::clone::Clone for ID2D1GradientStopCollection1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1GradientStopCollection1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae1572f4_5dd0_4777_998b_9279472ae63b); } @@ -12712,6 +11703,7 @@ pub struct ID2D1GradientStopCollection1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1HwndRenderTarget(::windows_core::IUnknown); impl ID2D1HwndRenderTarget { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13058,27 +12050,11 @@ impl ID2D1HwndRenderTarget { } } ::windows_core::imp::interface_hierarchy!(ID2D1HwndRenderTarget, ::windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); -impl ::core::cmp::PartialEq for ID2D1HwndRenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1HwndRenderTarget {} -impl ::core::fmt::Debug for ID2D1HwndRenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1HwndRenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1HwndRenderTarget {} unsafe impl ::core::marker::Sync for ID2D1HwndRenderTarget {} unsafe impl ::windows_core::Interface for ID2D1HwndRenderTarget { type Vtable = ID2D1HwndRenderTarget_Vtbl; } -impl ::core::clone::Clone for ID2D1HwndRenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1HwndRenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd90698_12e2_11dc_9fed_001143a055f9); } @@ -13098,6 +12074,7 @@ pub struct ID2D1HwndRenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Image(::windows_core::IUnknown); impl ID2D1Image { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13107,27 +12084,11 @@ impl ID2D1Image { } } ::windows_core::imp::interface_hierarchy!(ID2D1Image, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Image { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Image {} -impl ::core::fmt::Debug for ID2D1Image { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Image").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Image {} unsafe impl ::core::marker::Sync for ID2D1Image {} unsafe impl ::windows_core::Interface for ID2D1Image { type Vtable = ID2D1Image_Vtbl; } -impl ::core::clone::Clone for ID2D1Image { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Image { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65019f75_8da2_497c_b32c_dfa34e48ede6); } @@ -13138,6 +12099,7 @@ pub struct ID2D1Image_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ImageBrush(::windows_core::IUnknown); impl ID2D1ImageBrush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13204,27 +12166,11 @@ impl ID2D1ImageBrush { } } ::windows_core::imp::interface_hierarchy!(ID2D1ImageBrush, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush); -impl ::core::cmp::PartialEq for ID2D1ImageBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ImageBrush {} -impl ::core::fmt::Debug for ID2D1ImageBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ImageBrush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ImageBrush {} unsafe impl ::core::marker::Sync for ID2D1ImageBrush {} unsafe impl ::windows_core::Interface for ID2D1ImageBrush { type Vtable = ID2D1ImageBrush_Vtbl; } -impl ::core::clone::Clone for ID2D1ImageBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ImageBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe9e984d_3f95_407c_b5db_cb94d4e8f87c); } @@ -13251,6 +12197,7 @@ pub struct ID2D1ImageBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ImageSource(::windows_core::IUnknown); impl ID2D1ImageSource { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13269,27 +12216,11 @@ impl ID2D1ImageSource { } } ::windows_core::imp::interface_hierarchy!(ID2D1ImageSource, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image); -impl ::core::cmp::PartialEq for ID2D1ImageSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ImageSource {} -impl ::core::fmt::Debug for ID2D1ImageSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ImageSource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ImageSource {} unsafe impl ::core::marker::Sync for ID2D1ImageSource {} unsafe impl ::windows_core::Interface for ID2D1ImageSource { type Vtable = ID2D1ImageSource_Vtbl; } -impl ::core::clone::Clone for ID2D1ImageSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ImageSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9b664e5_74a1_4378_9ac2_eefc37a3f4d8); } @@ -13305,6 +12236,7 @@ pub struct ID2D1ImageSource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ImageSourceFromWic(::windows_core::IUnknown); impl ID2D1ImageSourceFromWic { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13340,27 +12272,11 @@ impl ID2D1ImageSourceFromWic { } } ::windows_core::imp::interface_hierarchy!(ID2D1ImageSourceFromWic, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1ImageSource); -impl ::core::cmp::PartialEq for ID2D1ImageSourceFromWic { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ImageSourceFromWic {} -impl ::core::fmt::Debug for ID2D1ImageSourceFromWic { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ImageSourceFromWic").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ImageSourceFromWic {} unsafe impl ::core::marker::Sync for ID2D1ImageSourceFromWic {} unsafe impl ::windows_core::Interface for ID2D1ImageSourceFromWic { type Vtable = ID2D1ImageSourceFromWic_Vtbl; } -impl ::core::clone::Clone for ID2D1ImageSourceFromWic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ImageSourceFromWic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77395441_1c8f_4555_8683_f50dab0fe792); } @@ -13383,6 +12299,7 @@ pub struct ID2D1ImageSourceFromWic_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Ink(::windows_core::IUnknown); impl ID2D1Ink { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13436,27 +12353,11 @@ impl ID2D1Ink { } } ::windows_core::imp::interface_hierarchy!(ID2D1Ink, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Ink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Ink {} -impl ::core::fmt::Debug for ID2D1Ink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Ink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Ink {} unsafe impl ::core::marker::Sync for ID2D1Ink {} unsafe impl ::windows_core::Interface for ID2D1Ink { type Vtable = ID2D1Ink_Vtbl; } -impl ::core::clone::Clone for ID2D1Ink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Ink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb499923b_7029_478f_a8b3_432c7c5f5312); } @@ -13483,6 +12384,7 @@ pub struct ID2D1Ink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1InkStyle(::windows_core::IUnknown); impl ID2D1InkStyle { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13508,27 +12410,11 @@ impl ID2D1InkStyle { } } ::windows_core::imp::interface_hierarchy!(ID2D1InkStyle, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1InkStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1InkStyle {} -impl ::core::fmt::Debug for ID2D1InkStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1InkStyle").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1InkStyle {} unsafe impl ::core::marker::Sync for ID2D1InkStyle {} unsafe impl ::windows_core::Interface for ID2D1InkStyle { type Vtable = ID2D1InkStyle_Vtbl; } -impl ::core::clone::Clone for ID2D1InkStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1InkStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbae8b344_23fc_4071_8cb5_d05d6f073848); } @@ -13549,6 +12435,7 @@ pub struct ID2D1InkStyle_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Layer(::windows_core::IUnknown); impl ID2D1Layer { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13565,27 +12452,11 @@ impl ID2D1Layer { } } ::windows_core::imp::interface_hierarchy!(ID2D1Layer, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Layer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Layer {} -impl ::core::fmt::Debug for ID2D1Layer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Layer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Layer {} unsafe impl ::core::marker::Sync for ID2D1Layer {} unsafe impl ::windows_core::Interface for ID2D1Layer { type Vtable = ID2D1Layer_Vtbl; } -impl ::core::clone::Clone for ID2D1Layer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Layer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd9069b_12e2_11dc_9fed_001143a055f9); } @@ -13600,6 +12471,7 @@ pub struct ID2D1Layer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1LinearGradientBrush(::windows_core::IUnknown); impl ID2D1LinearGradientBrush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13654,27 +12526,11 @@ impl ID2D1LinearGradientBrush { } } ::windows_core::imp::interface_hierarchy!(ID2D1LinearGradientBrush, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush); -impl ::core::cmp::PartialEq for ID2D1LinearGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1LinearGradientBrush {} -impl ::core::fmt::Debug for ID2D1LinearGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1LinearGradientBrush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1LinearGradientBrush {} unsafe impl ::core::marker::Sync for ID2D1LinearGradientBrush {} unsafe impl ::windows_core::Interface for ID2D1LinearGradientBrush { type Vtable = ID2D1LinearGradientBrush_Vtbl; } -impl ::core::clone::Clone for ID2D1LinearGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1LinearGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906ab_12e2_11dc_9fed_001143a055f9); } @@ -13702,6 +12558,7 @@ pub struct ID2D1LinearGradientBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1LookupTable3D(::windows_core::IUnknown); impl ID2D1LookupTable3D { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13711,27 +12568,11 @@ impl ID2D1LookupTable3D { } } ::windows_core::imp::interface_hierarchy!(ID2D1LookupTable3D, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1LookupTable3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1LookupTable3D {} -impl ::core::fmt::Debug for ID2D1LookupTable3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1LookupTable3D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1LookupTable3D {} unsafe impl ::core::marker::Sync for ID2D1LookupTable3D {} unsafe impl ::windows_core::Interface for ID2D1LookupTable3D { type Vtable = ID2D1LookupTable3D_Vtbl; } -impl ::core::clone::Clone for ID2D1LookupTable3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1LookupTable3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53dd9855_a3b0_4d5b_82e1_26e25c5e5797); } @@ -13742,6 +12583,7 @@ pub struct ID2D1LookupTable3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Mesh(::windows_core::IUnknown); impl ID2D1Mesh { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -13755,27 +12597,11 @@ impl ID2D1Mesh { } } ::windows_core::imp::interface_hierarchy!(ID2D1Mesh, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1Mesh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Mesh {} -impl ::core::fmt::Debug for ID2D1Mesh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Mesh").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Mesh {} unsafe impl ::core::marker::Sync for ID2D1Mesh {} unsafe impl ::windows_core::Interface for ID2D1Mesh { type Vtable = ID2D1Mesh_Vtbl; } -impl ::core::clone::Clone for ID2D1Mesh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Mesh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906c2_12e2_11dc_9fed_001143a055f9); } @@ -13787,6 +12613,7 @@ pub struct ID2D1Mesh_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Multithread(::windows_core::IUnknown); impl ID2D1Multithread { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13802,27 +12629,11 @@ impl ID2D1Multithread { } } ::windows_core::imp::interface_hierarchy!(ID2D1Multithread, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1Multithread { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Multithread {} -impl ::core::fmt::Debug for ID2D1Multithread { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Multithread").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Multithread {} unsafe impl ::core::marker::Sync for ID2D1Multithread {} unsafe impl ::windows_core::Interface for ID2D1Multithread { type Vtable = ID2D1Multithread_Vtbl; } -impl ::core::clone::Clone for ID2D1Multithread { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Multithread { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31e6e7bc_e0ff_4d46_8c64_a0a8c41c15d3); } @@ -13839,6 +12650,7 @@ pub struct ID2D1Multithread_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1OffsetTransform(::windows_core::IUnknown); impl ID2D1OffsetTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -13858,27 +12670,11 @@ impl ID2D1OffsetTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1OffsetTransform, ::windows_core::IUnknown, ID2D1TransformNode); -impl ::core::cmp::PartialEq for ID2D1OffsetTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1OffsetTransform {} -impl ::core::fmt::Debug for ID2D1OffsetTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1OffsetTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1OffsetTransform {} unsafe impl ::core::marker::Sync for ID2D1OffsetTransform {} unsafe impl ::windows_core::Interface for ID2D1OffsetTransform { type Vtable = ID2D1OffsetTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1OffsetTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1OffsetTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fe6adea_7643_4f53_bd14_a0ce63f24042); } @@ -13897,6 +12693,7 @@ pub struct ID2D1OffsetTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1PathGeometry(::windows_core::IUnknown); impl ID2D1PathGeometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -14026,27 +12823,11 @@ impl ID2D1PathGeometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1PathGeometry, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1PathGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1PathGeometry {} -impl ::core::fmt::Debug for ID2D1PathGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1PathGeometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1PathGeometry {} unsafe impl ::core::marker::Sync for ID2D1PathGeometry {} unsafe impl ::windows_core::Interface for ID2D1PathGeometry { type Vtable = ID2D1PathGeometry_Vtbl; } -impl ::core::clone::Clone for ID2D1PathGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1PathGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a5_12e2_11dc_9fed_001143a055f9); } @@ -14067,6 +12848,7 @@ pub struct ID2D1PathGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1PathGeometry1(::windows_core::IUnknown); impl ID2D1PathGeometry1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -14201,27 +12983,11 @@ impl ID2D1PathGeometry1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1PathGeometry1, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry, ID2D1PathGeometry); -impl ::core::cmp::PartialEq for ID2D1PathGeometry1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1PathGeometry1 {} -impl ::core::fmt::Debug for ID2D1PathGeometry1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1PathGeometry1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1PathGeometry1 {} unsafe impl ::core::marker::Sync for ID2D1PathGeometry1 {} unsafe impl ::windows_core::Interface for ID2D1PathGeometry1 { type Vtable = ID2D1PathGeometry1_Vtbl; } -impl ::core::clone::Clone for ID2D1PathGeometry1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1PathGeometry1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62baa2d2_ab54_41b7_b872_787e0106a421); } @@ -14236,6 +13002,7 @@ pub struct ID2D1PathGeometry1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1PrintControl(::windows_core::IUnknown); impl ID2D1PrintControl { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`*"] @@ -14252,27 +13019,11 @@ impl ID2D1PrintControl { } } ::windows_core::imp::interface_hierarchy!(ID2D1PrintControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1PrintControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1PrintControl {} -impl ::core::fmt::Debug for ID2D1PrintControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1PrintControl").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1PrintControl {} unsafe impl ::core::marker::Sync for ID2D1PrintControl {} unsafe impl ::windows_core::Interface for ID2D1PrintControl { type Vtable = ID2D1PrintControl_Vtbl; } -impl ::core::clone::Clone for ID2D1PrintControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1PrintControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c1d867d_c290_41c8_ae7e_34a98702e9a5); } @@ -14288,6 +13039,7 @@ pub struct ID2D1PrintControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Properties(::windows_core::IUnknown); impl ID2D1Properties { pub unsafe fn GetPropertyCount(&self) -> u32 { @@ -14335,27 +13087,11 @@ impl ID2D1Properties { } } ::windows_core::imp::interface_hierarchy!(ID2D1Properties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1Properties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Properties {} -impl ::core::fmt::Debug for ID2D1Properties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Properties").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Properties {} unsafe impl ::core::marker::Sync for ID2D1Properties {} unsafe impl ::windows_core::Interface for ID2D1Properties { type Vtable = ID2D1Properties_Vtbl; } -impl ::core::clone::Clone for ID2D1Properties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Properties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x483473d7_cd46_4f9d_9d3a_3112aa80159d); } @@ -14377,6 +13113,7 @@ pub struct ID2D1Properties_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1RadialGradientBrush(::windows_core::IUnknown); impl ID2D1RadialGradientBrush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -14443,27 +13180,11 @@ impl ID2D1RadialGradientBrush { } } ::windows_core::imp::interface_hierarchy!(ID2D1RadialGradientBrush, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush); -impl ::core::cmp::PartialEq for ID2D1RadialGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1RadialGradientBrush {} -impl ::core::fmt::Debug for ID2D1RadialGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1RadialGradientBrush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1RadialGradientBrush {} unsafe impl ::core::marker::Sync for ID2D1RadialGradientBrush {} unsafe impl ::windows_core::Interface for ID2D1RadialGradientBrush { type Vtable = ID2D1RadialGradientBrush_Vtbl; } -impl ::core::clone::Clone for ID2D1RadialGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1RadialGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906ac_12e2_11dc_9fed_001143a055f9); } @@ -14495,6 +13216,7 @@ pub struct ID2D1RadialGradientBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1RectangleGeometry(::windows_core::IUnknown); impl ID2D1RectangleGeometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -14609,27 +13331,11 @@ impl ID2D1RectangleGeometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1RectangleGeometry, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1RectangleGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1RectangleGeometry {} -impl ::core::fmt::Debug for ID2D1RectangleGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1RectangleGeometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1RectangleGeometry {} unsafe impl ::core::marker::Sync for ID2D1RectangleGeometry {} unsafe impl ::windows_core::Interface for ID2D1RectangleGeometry { type Vtable = ID2D1RectangleGeometry_Vtbl; } -impl ::core::clone::Clone for ID2D1RectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1RectangleGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a2_12e2_11dc_9fed_001143a055f9); } @@ -14644,6 +13350,7 @@ pub struct ID2D1RectangleGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1RenderInfo(::windows_core::IUnknown); impl ID2D1RenderInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> ::windows_core::Result<()> { @@ -14665,27 +13372,11 @@ impl ID2D1RenderInfo { } } ::windows_core::imp::interface_hierarchy!(ID2D1RenderInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1RenderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1RenderInfo {} -impl ::core::fmt::Debug for ID2D1RenderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1RenderInfo").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1RenderInfo {} unsafe impl ::core::marker::Sync for ID2D1RenderInfo {} unsafe impl ::windows_core::Interface for ID2D1RenderInfo { type Vtable = ID2D1RenderInfo_Vtbl; } -impl ::core::clone::Clone for ID2D1RenderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1RenderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x519ae1bd_d19a_420d_b849_364f594776b7); } @@ -14703,6 +13394,7 @@ pub struct ID2D1RenderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1RenderTarget(::windows_core::IUnknown); impl ID2D1RenderTarget { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15036,27 +13728,11 @@ impl ID2D1RenderTarget { } } ::windows_core::imp::interface_hierarchy!(ID2D1RenderTarget, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1RenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1RenderTarget {} -impl ::core::fmt::Debug for ID2D1RenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1RenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1RenderTarget {} unsafe impl ::core::marker::Sync for ID2D1RenderTarget {} unsafe impl ::windows_core::Interface for ID2D1RenderTarget { type Vtable = ID2D1RenderTarget_Vtbl; } -impl ::core::clone::Clone for ID2D1RenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1RenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd90694_12e2_11dc_9fed_001143a055f9); } @@ -15219,6 +13895,7 @@ pub struct ID2D1RenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Resource(::windows_core::IUnknown); impl ID2D1Resource { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15228,27 +13905,11 @@ impl ID2D1Resource { } } ::windows_core::imp::interface_hierarchy!(ID2D1Resource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1Resource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Resource {} -impl ::core::fmt::Debug for ID2D1Resource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Resource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Resource {} unsafe impl ::core::marker::Sync for ID2D1Resource {} unsafe impl ::windows_core::Interface for ID2D1Resource { type Vtable = ID2D1Resource_Vtbl; } -impl ::core::clone::Clone for ID2D1Resource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Resource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd90691_12e2_11dc_9fed_001143a055f9); } @@ -15260,6 +13921,7 @@ pub struct ID2D1Resource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1ResourceTexture(::windows_core::IUnknown); impl ID2D1ResourceTexture { pub unsafe fn Update(&self, minimumextents: ::core::option::Option<*const u32>, maximimumextents: ::core::option::Option<*const u32>, strides: ::core::option::Option<*const u32>, dimensions: u32, data: &[u8]) -> ::windows_core::Result<()> { @@ -15267,27 +13929,11 @@ impl ID2D1ResourceTexture { } } ::windows_core::imp::interface_hierarchy!(ID2D1ResourceTexture, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1ResourceTexture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1ResourceTexture {} -impl ::core::fmt::Debug for ID2D1ResourceTexture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1ResourceTexture").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1ResourceTexture {} unsafe impl ::core::marker::Sync for ID2D1ResourceTexture {} unsafe impl ::windows_core::Interface for ID2D1ResourceTexture { type Vtable = ID2D1ResourceTexture_Vtbl; } -impl ::core::clone::Clone for ID2D1ResourceTexture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1ResourceTexture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x688d15c3_02b0_438d_b13a_d1b44c32c39a); } @@ -15299,6 +13945,7 @@ pub struct ID2D1ResourceTexture_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1RoundedRectangleGeometry(::windows_core::IUnknown); impl ID2D1RoundedRectangleGeometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15411,27 +14058,11 @@ impl ID2D1RoundedRectangleGeometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1RoundedRectangleGeometry, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1RoundedRectangleGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1RoundedRectangleGeometry {} -impl ::core::fmt::Debug for ID2D1RoundedRectangleGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1RoundedRectangleGeometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1RoundedRectangleGeometry {} unsafe impl ::core::marker::Sync for ID2D1RoundedRectangleGeometry {} unsafe impl ::windows_core::Interface for ID2D1RoundedRectangleGeometry { type Vtable = ID2D1RoundedRectangleGeometry_Vtbl; } -impl ::core::clone::Clone for ID2D1RoundedRectangleGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1RoundedRectangleGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a3_12e2_11dc_9fed_001143a055f9); } @@ -15446,6 +14077,7 @@ pub struct ID2D1RoundedRectangleGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SolidColorBrush(::windows_core::IUnknown); impl ID2D1SolidColorBrush { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15483,27 +14115,11 @@ impl ID2D1SolidColorBrush { } } ::windows_core::imp::interface_hierarchy!(ID2D1SolidColorBrush, ::windows_core::IUnknown, ID2D1Resource, ID2D1Brush); -impl ::core::cmp::PartialEq for ID2D1SolidColorBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SolidColorBrush {} -impl ::core::fmt::Debug for ID2D1SolidColorBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SolidColorBrush").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SolidColorBrush {} unsafe impl ::core::marker::Sync for ID2D1SolidColorBrush {} unsafe impl ::windows_core::Interface for ID2D1SolidColorBrush { type Vtable = ID2D1SolidColorBrush_Vtbl; } -impl ::core::clone::Clone for ID2D1SolidColorBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SolidColorBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906a9_12e2_11dc_9fed_001143a055f9); } @@ -15522,6 +14138,7 @@ pub struct ID2D1SolidColorBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SourceTransform(::windows_core::IUnknown); impl ID2D1SourceTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -15559,27 +14176,11 @@ impl ID2D1SourceTransform { } } ::windows_core::imp::interface_hierarchy!(ID2D1SourceTransform, ::windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); -impl ::core::cmp::PartialEq for ID2D1SourceTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SourceTransform {} -impl ::core::fmt::Debug for ID2D1SourceTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SourceTransform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SourceTransform {} unsafe impl ::core::marker::Sync for ID2D1SourceTransform {} unsafe impl ::windows_core::Interface for ID2D1SourceTransform { type Vtable = ID2D1SourceTransform_Vtbl; } -impl ::core::clone::Clone for ID2D1SourceTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SourceTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb1800dd_0c34_4cf9_be90_31cc0a5653e1); } @@ -15595,6 +14196,7 @@ pub struct ID2D1SourceTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SpriteBatch(::windows_core::IUnknown); impl ID2D1SpriteBatch { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15625,27 +14227,11 @@ impl ID2D1SpriteBatch { } } ::windows_core::imp::interface_hierarchy!(ID2D1SpriteBatch, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1SpriteBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SpriteBatch {} -impl ::core::fmt::Debug for ID2D1SpriteBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SpriteBatch").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SpriteBatch {} unsafe impl ::core::marker::Sync for ID2D1SpriteBatch {} unsafe impl ::windows_core::Interface for ID2D1SpriteBatch { type Vtable = ID2D1SpriteBatch_Vtbl; } -impl ::core::clone::Clone for ID2D1SpriteBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SpriteBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dc583bf_3a10_438a_8722_e9765224f1f1); } @@ -15670,6 +14256,7 @@ pub struct ID2D1SpriteBatch_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1StrokeStyle(::windows_core::IUnknown); impl ID2D1StrokeStyle { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15706,27 +14293,11 @@ impl ID2D1StrokeStyle { } } ::windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1StrokeStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1StrokeStyle {} -impl ::core::fmt::Debug for ID2D1StrokeStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1StrokeStyle").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1StrokeStyle {} unsafe impl ::core::marker::Sync for ID2D1StrokeStyle {} unsafe impl ::windows_core::Interface for ID2D1StrokeStyle { type Vtable = ID2D1StrokeStyle_Vtbl; } -impl ::core::clone::Clone for ID2D1StrokeStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1StrokeStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd9069d_12e2_11dc_9fed_001143a055f9); } @@ -15746,6 +14317,7 @@ pub struct ID2D1StrokeStyle_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1StrokeStyle1(::windows_core::IUnknown); impl ID2D1StrokeStyle1 { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15785,27 +14357,11 @@ impl ID2D1StrokeStyle1 { } } ::windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle1, ::windows_core::IUnknown, ID2D1Resource, ID2D1StrokeStyle); -impl ::core::cmp::PartialEq for ID2D1StrokeStyle1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1StrokeStyle1 {} -impl ::core::fmt::Debug for ID2D1StrokeStyle1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1StrokeStyle1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1StrokeStyle1 {} unsafe impl ::core::marker::Sync for ID2D1StrokeStyle1 {} unsafe impl ::windows_core::Interface for ID2D1StrokeStyle1 { type Vtable = ID2D1StrokeStyle1_Vtbl; } -impl ::core::clone::Clone for ID2D1StrokeStyle1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1StrokeStyle1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10a72a66_e91c_43f4_993f_ddf4b82b0b4a); } @@ -15817,6 +14373,7 @@ pub struct ID2D1StrokeStyle1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgAttribute(::windows_core::IUnknown); impl ID2D1SvgAttribute { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15835,27 +14392,11 @@ impl ID2D1SvgAttribute { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgAttribute, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1SvgAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgAttribute {} -impl ::core::fmt::Debug for ID2D1SvgAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgAttribute").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgAttribute {} unsafe impl ::core::marker::Sync for ID2D1SvgAttribute {} unsafe impl ::windows_core::Interface for ID2D1SvgAttribute { type Vtable = ID2D1SvgAttribute_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9cdb0dd_f8c9_4e70_b7c2_301c80292c5e); } @@ -15868,6 +14409,7 @@ pub struct ID2D1SvgAttribute_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgDocument(::windows_core::IUnknown); impl ID2D1SvgDocument { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -15948,27 +14490,11 @@ impl ID2D1SvgDocument { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgDocument, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1SvgDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgDocument {} -impl ::core::fmt::Debug for ID2D1SvgDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgDocument").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgDocument {} unsafe impl ::core::marker::Sync for ID2D1SvgDocument {} unsafe impl ::windows_core::Interface for ID2D1SvgDocument { type Vtable = ID2D1SvgDocument_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86b88e4d_afa4_4d7b_88e4_68a51c4a0aec); } @@ -16008,6 +14534,7 @@ pub struct ID2D1SvgDocument_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgElement(::windows_core::IUnknown); impl ID2D1SvgElement { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16183,27 +14710,11 @@ impl ID2D1SvgElement { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgElement, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1SvgElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgElement {} -impl ::core::fmt::Debug for ID2D1SvgElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgElement").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgElement {} unsafe impl ::core::marker::Sync for ID2D1SvgElement {} unsafe impl ::windows_core::Interface for ID2D1SvgElement { type Vtable = ID2D1SvgElement_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac7b67a6_183e_49c1_a823_0ebe40b0db29); } @@ -16259,6 +14770,7 @@ pub struct ID2D1SvgElement_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgGlyphStyle(::windows_core::IUnknown); impl ID2D1SvgGlyphStyle { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16291,27 +14803,11 @@ impl ID2D1SvgGlyphStyle { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgGlyphStyle, ::windows_core::IUnknown, ID2D1Resource); -impl ::core::cmp::PartialEq for ID2D1SvgGlyphStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgGlyphStyle {} -impl ::core::fmt::Debug for ID2D1SvgGlyphStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgGlyphStyle").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgGlyphStyle {} unsafe impl ::core::marker::Sync for ID2D1SvgGlyphStyle {} unsafe impl ::windows_core::Interface for ID2D1SvgGlyphStyle { type Vtable = ID2D1SvgGlyphStyle_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgGlyphStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgGlyphStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf671749_d241_4db8_8e41_dcc2e5c1a438); } @@ -16327,6 +14823,7 @@ pub struct ID2D1SvgGlyphStyle_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgPaint(::windows_core::IUnknown); impl ID2D1SvgPaint { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16375,27 +14872,11 @@ impl ID2D1SvgPaint { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgPaint, ::windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); -impl ::core::cmp::PartialEq for ID2D1SvgPaint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgPaint {} -impl ::core::fmt::Debug for ID2D1SvgPaint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgPaint").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgPaint {} unsafe impl ::core::marker::Sync for ID2D1SvgPaint {} unsafe impl ::windows_core::Interface for ID2D1SvgPaint { type Vtable = ID2D1SvgPaint_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgPaint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgPaint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd59bab0a_68a2_455b_a5dc_9eb2854e2490); } @@ -16419,6 +14900,7 @@ pub struct ID2D1SvgPaint_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgPathData(::windows_core::IUnknown); impl ID2D1SvgPathData { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16467,27 +14949,11 @@ impl ID2D1SvgPathData { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgPathData, ::windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); -impl ::core::cmp::PartialEq for ID2D1SvgPathData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgPathData {} -impl ::core::fmt::Debug for ID2D1SvgPathData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgPathData").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgPathData {} unsafe impl ::core::marker::Sync for ID2D1SvgPathData {} unsafe impl ::windows_core::Interface for ID2D1SvgPathData { type Vtable = ID2D1SvgPathData_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgPathData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgPathData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc095e4f4_bb98_43d6_9745_4d1b84ec9888); } @@ -16510,6 +14976,7 @@ pub struct ID2D1SvgPathData_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgPointCollection(::windows_core::IUnknown); impl ID2D1SvgPointCollection { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16544,27 +15011,11 @@ impl ID2D1SvgPointCollection { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgPointCollection, ::windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); -impl ::core::cmp::PartialEq for ID2D1SvgPointCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgPointCollection {} -impl ::core::fmt::Debug for ID2D1SvgPointCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgPointCollection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgPointCollection {} unsafe impl ::core::marker::Sync for ID2D1SvgPointCollection {} unsafe impl ::windows_core::Interface for ID2D1SvgPointCollection { type Vtable = ID2D1SvgPointCollection_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgPointCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgPointCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dbe4c0d_3572_4dd9_9825_5530813bb712); } @@ -16585,6 +15036,7 @@ pub struct ID2D1SvgPointCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1SvgStrokeDashArray(::windows_core::IUnknown); impl ID2D1SvgStrokeDashArray { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -16621,27 +15073,11 @@ impl ID2D1SvgStrokeDashArray { } } ::windows_core::imp::interface_hierarchy!(ID2D1SvgStrokeDashArray, ::windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); -impl ::core::cmp::PartialEq for ID2D1SvgStrokeDashArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1SvgStrokeDashArray {} -impl ::core::fmt::Debug for ID2D1SvgStrokeDashArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1SvgStrokeDashArray").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1SvgStrokeDashArray {} unsafe impl ::core::marker::Sync for ID2D1SvgStrokeDashArray {} unsafe impl ::windows_core::Interface for ID2D1SvgStrokeDashArray { type Vtable = ID2D1SvgStrokeDashArray_Vtbl; } -impl ::core::clone::Clone for ID2D1SvgStrokeDashArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1SvgStrokeDashArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1c0ca52_92a3_4f00_b4ce_f35691efd9d9); } @@ -16658,6 +15094,7 @@ pub struct ID2D1SvgStrokeDashArray_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1TessellationSink(::windows_core::IUnknown); impl ID2D1TessellationSink { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] @@ -16670,27 +15107,11 @@ impl ID2D1TessellationSink { } } ::windows_core::imp::interface_hierarchy!(ID2D1TessellationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1TessellationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1TessellationSink {} -impl ::core::fmt::Debug for ID2D1TessellationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1TessellationSink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1TessellationSink {} unsafe impl ::core::marker::Sync for ID2D1TessellationSink {} unsafe impl ::windows_core::Interface for ID2D1TessellationSink { type Vtable = ID2D1TessellationSink_Vtbl; } -impl ::core::clone::Clone for ID2D1TessellationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1TessellationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906c1_12e2_11dc_9fed_001143a055f9); } @@ -16706,6 +15127,7 @@ pub struct ID2D1TessellationSink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1Transform(::windows_core::IUnknown); impl ID2D1Transform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -16729,27 +15151,11 @@ impl ID2D1Transform { } } ::windows_core::imp::interface_hierarchy!(ID2D1Transform, ::windows_core::IUnknown, ID2D1TransformNode); -impl ::core::cmp::PartialEq for ID2D1Transform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1Transform {} -impl ::core::fmt::Debug for ID2D1Transform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1Transform").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1Transform {} unsafe impl ::core::marker::Sync for ID2D1Transform {} unsafe impl ::windows_core::Interface for ID2D1Transform { type Vtable = ID2D1Transform_Vtbl; } -impl ::core::clone::Clone for ID2D1Transform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1Transform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef1a287d_342a_4f76_8fdb_da0d6ea9f92b); } @@ -16772,6 +15178,7 @@ pub struct ID2D1Transform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1TransformGraph(::windows_core::IUnknown); impl ID2D1TransformGraph { pub unsafe fn GetInputCount(&self) -> u32 { @@ -16822,27 +15229,11 @@ impl ID2D1TransformGraph { } } ::windows_core::imp::interface_hierarchy!(ID2D1TransformGraph, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1TransformGraph { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1TransformGraph {} -impl ::core::fmt::Debug for ID2D1TransformGraph { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1TransformGraph").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1TransformGraph {} unsafe impl ::core::marker::Sync for ID2D1TransformGraph {} unsafe impl ::windows_core::Interface for ID2D1TransformGraph { type Vtable = ID2D1TransformGraph_Vtbl; } -impl ::core::clone::Clone for ID2D1TransformGraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1TransformGraph { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13d29038_c3e6_4034_9081_13b53a417992); } @@ -16862,6 +15253,7 @@ pub struct ID2D1TransformGraph_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1TransformNode(::windows_core::IUnknown); impl ID2D1TransformNode { pub unsafe fn GetInputCount(&self) -> u32 { @@ -16869,27 +15261,11 @@ impl ID2D1TransformNode { } } ::windows_core::imp::interface_hierarchy!(ID2D1TransformNode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1TransformNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1TransformNode {} -impl ::core::fmt::Debug for ID2D1TransformNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1TransformNode").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1TransformNode {} unsafe impl ::core::marker::Sync for ID2D1TransformNode {} unsafe impl ::windows_core::Interface for ID2D1TransformNode { type Vtable = ID2D1TransformNode_Vtbl; } -impl ::core::clone::Clone for ID2D1TransformNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1TransformNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2efe1e7_729f_4102_949f_505fa21bf666); } @@ -16901,6 +15277,7 @@ pub struct ID2D1TransformNode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1TransformedGeometry(::windows_core::IUnknown); impl ID2D1TransformedGeometry { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -17018,27 +15395,11 @@ impl ID2D1TransformedGeometry { } } ::windows_core::imp::interface_hierarchy!(ID2D1TransformedGeometry, ::windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); -impl ::core::cmp::PartialEq for ID2D1TransformedGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1TransformedGeometry {} -impl ::core::fmt::Debug for ID2D1TransformedGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1TransformedGeometry").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1TransformedGeometry {} unsafe impl ::core::marker::Sync for ID2D1TransformedGeometry {} unsafe impl ::windows_core::Interface for ID2D1TransformedGeometry { type Vtable = ID2D1TransformedGeometry_Vtbl; } -impl ::core::clone::Clone for ID2D1TransformedGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1TransformedGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd906bb_12e2_11dc_9fed_001143a055f9); } @@ -17054,6 +15415,7 @@ pub struct ID2D1TransformedGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1TransformedImageSource(::windows_core::IUnknown); impl ID2D1TransformedImageSource { pub unsafe fn GetFactory(&self) -> ::windows_core::Result { @@ -17071,27 +15433,11 @@ impl ID2D1TransformedImageSource { } } ::windows_core::imp::interface_hierarchy!(ID2D1TransformedImageSource, ::windows_core::IUnknown, ID2D1Resource, ID2D1Image); -impl ::core::cmp::PartialEq for ID2D1TransformedImageSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1TransformedImageSource {} -impl ::core::fmt::Debug for ID2D1TransformedImageSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1TransformedImageSource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1TransformedImageSource {} unsafe impl ::core::marker::Sync for ID2D1TransformedImageSource {} unsafe impl ::windows_core::Interface for ID2D1TransformedImageSource { type Vtable = ID2D1TransformedImageSource_Vtbl; } -impl ::core::clone::Clone for ID2D1TransformedImageSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1TransformedImageSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f1f79e5_2796_416c_8f55_700f911445e5); } @@ -17104,6 +15450,7 @@ pub struct ID2D1TransformedImageSource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID2D1VertexBuffer(::windows_core::IUnknown); impl ID2D1VertexBuffer { pub unsafe fn Map(&self, data: *mut *mut u8, buffersize: u32) -> ::windows_core::Result<()> { @@ -17114,27 +15461,11 @@ impl ID2D1VertexBuffer { } } ::windows_core::imp::interface_hierarchy!(ID2D1VertexBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID2D1VertexBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID2D1VertexBuffer {} -impl ::core::fmt::Debug for ID2D1VertexBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID2D1VertexBuffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID2D1VertexBuffer {} unsafe impl ::core::marker::Sync for ID2D1VertexBuffer {} unsafe impl ::windows_core::Interface for ID2D1VertexBuffer { type Vtable = ID2D1VertexBuffer_Vtbl; } -impl ::core::clone::Clone for ID2D1VertexBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID2D1VertexBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b8b1336_00a5_4668_92b7_ced5d8bf9b7b); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs index f275618e6d..9e3d50094c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs @@ -18,8 +18,8 @@ impl IDxcAssembler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssembleToContainer: AssembleToContainer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IDxcBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IDxcBlobEncoding_Vtbl { } Self { base__: IDxcBlob_Vtbl::new::(), GetEncoding: GetEncoding:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IDxcBlobUtf16_Vtbl { GetStringLength: GetStringLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IDxcBlobUtf8_Vtbl { GetStringLength: GetStringLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl IDxcCompiler_Vtbl { Disassemble: Disassemble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl IDxcCompiler2_Vtbl { } Self { base__: IDxcCompiler_Vtbl::new::(), CompileWithDebug: CompileWithDebug:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IDxcCompiler3_Vtbl { Disassemble: Disassemble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IDxcCompilerArgs_Vtbl { AddDefines: AddDefines::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IDxcContainerBuilder_Vtbl { SerializeContainer: SerializeContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IDxcContainerReflection_Vtbl { GetPartReflection: GetPartReflection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -447,8 +447,8 @@ impl IDxcExtraOutputs_Vtbl { GetOutput: GetOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IDxcIncludeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadSource: LoadSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -612,8 +612,8 @@ impl IDxcLibrary_Vtbl { GetBlobAsUtf16: GetBlobAsUtf16::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -646,8 +646,8 @@ impl IDxcLinker_Vtbl { Link: Link::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IDxcOperationResult_Vtbl { GetErrorBuffer: GetErrorBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -746,8 +746,8 @@ impl IDxcOptimizer_Vtbl { RunOptimizer: RunOptimizer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -825,8 +825,8 @@ impl IDxcOptimizerPass_Vtbl { GetOptionArgDescription: GetOptionArgDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1118,8 +1118,8 @@ impl IDxcPdbUtils_Vtbl { OverrideRootSignature: OverrideRootSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl IDxcResult_Vtbl { PrimaryOutput: PrimaryOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1338,8 +1338,8 @@ impl IDxcUtils_Vtbl { GetPDBContents: GetPDBContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IDxcValidator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Validate: Validate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1386,8 +1386,8 @@ impl IDxcValidator2_Vtbl { } Self { base__: IDxcValidator_Vtbl::new::(), ValidateWithDebug: ValidateWithDebug:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1420,8 +1420,8 @@ impl IDxcVersionInfo_Vtbl { GetFlags: GetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1438,8 +1438,8 @@ impl IDxcVersionInfo2_Vtbl { } Self { base__: IDxcVersionInfo_Vtbl::new::(), GetCommitInfo: GetCommitInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1462,7 +1462,7 @@ impl IDxcVersionInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCustomVersionString: GetCustomVersionString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs index 2eff15be49..37103ee000 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs @@ -22,6 +22,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcAssembler(::windows_core::IUnknown); impl IDxcAssembler { pub unsafe fn AssembleToContainer(&self, pshader: P0) -> ::windows_core::Result @@ -33,25 +34,9 @@ impl IDxcAssembler { } } ::windows_core::imp::interface_hierarchy!(IDxcAssembler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcAssembler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcAssembler {} -impl ::core::fmt::Debug for IDxcAssembler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcAssembler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcAssembler { type Vtable = IDxcAssembler_Vtbl; } -impl ::core::clone::Clone for IDxcAssembler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcAssembler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x091f7a26_1c1f_4948_904b_e6e3a8a771d5); } @@ -63,6 +48,7 @@ pub struct IDxcAssembler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcBlob(::windows_core::IUnknown); impl IDxcBlob { pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { @@ -73,25 +59,9 @@ impl IDxcBlob { } } ::windows_core::imp::interface_hierarchy!(IDxcBlob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcBlob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcBlob {} -impl ::core::fmt::Debug for IDxcBlob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcBlob").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcBlob { type Vtable = IDxcBlob_Vtbl; } -impl ::core::clone::Clone for IDxcBlob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcBlob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); } @@ -104,6 +74,7 @@ pub struct IDxcBlob_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcBlobEncoding(::windows_core::IUnknown); impl IDxcBlobEncoding { pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { @@ -119,25 +90,9 @@ impl IDxcBlobEncoding { } } ::windows_core::imp::interface_hierarchy!(IDxcBlobEncoding, ::windows_core::IUnknown, IDxcBlob); -impl ::core::cmp::PartialEq for IDxcBlobEncoding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcBlobEncoding {} -impl ::core::fmt::Debug for IDxcBlobEncoding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcBlobEncoding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcBlobEncoding { type Vtable = IDxcBlobEncoding_Vtbl; } -impl ::core::clone::Clone for IDxcBlobEncoding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcBlobEncoding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7241d424_2646_4191_97c0_98e96e42fc68); } @@ -152,6 +107,7 @@ pub struct IDxcBlobEncoding_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcBlobUtf16(::windows_core::IUnknown); impl IDxcBlobUtf16 { pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { @@ -173,25 +129,9 @@ impl IDxcBlobUtf16 { } } ::windows_core::imp::interface_hierarchy!(IDxcBlobUtf16, ::windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); -impl ::core::cmp::PartialEq for IDxcBlobUtf16 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcBlobUtf16 {} -impl ::core::fmt::Debug for IDxcBlobUtf16 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcBlobUtf16").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcBlobUtf16 { type Vtable = IDxcBlobUtf16_Vtbl; } -impl ::core::clone::Clone for IDxcBlobUtf16 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcBlobUtf16 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3f84eab_0faa_497e_a39c_ee6ed60b2d84); } @@ -204,6 +144,7 @@ pub struct IDxcBlobUtf16_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcBlobUtf8(::windows_core::IUnknown); impl IDxcBlobUtf8 { pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { @@ -225,25 +166,9 @@ impl IDxcBlobUtf8 { } } ::windows_core::imp::interface_hierarchy!(IDxcBlobUtf8, ::windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); -impl ::core::cmp::PartialEq for IDxcBlobUtf8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcBlobUtf8 {} -impl ::core::fmt::Debug for IDxcBlobUtf8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcBlobUtf8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcBlobUtf8 { type Vtable = IDxcBlobUtf8_Vtbl; } -impl ::core::clone::Clone for IDxcBlobUtf8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcBlobUtf8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da636c9_ba71_4024_a301_30cbf125305b); } @@ -256,6 +181,7 @@ pub struct IDxcBlobUtf8_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcCompiler(::windows_core::IUnknown); impl IDxcCompiler { pub unsafe fn Compile(&self, psource: P0, psourcename: P1, pentrypoint: P2, ptargetprofile: P3, parguments: ::core::option::Option<&[::windows_core::PCWSTR]>, pdefines: &[DxcDefine], pincludehandler: P4) -> ::windows_core::Result @@ -287,25 +213,9 @@ impl IDxcCompiler { } } ::windows_core::imp::interface_hierarchy!(IDxcCompiler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcCompiler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcCompiler {} -impl ::core::fmt::Debug for IDxcCompiler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcCompiler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcCompiler { type Vtable = IDxcCompiler_Vtbl; } -impl ::core::clone::Clone for IDxcCompiler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcCompiler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c210bf3_011f_4422_8d70_6f9acb8db617); } @@ -319,6 +229,7 @@ pub struct IDxcCompiler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcCompiler2(::windows_core::IUnknown); impl IDxcCompiler2 { pub unsafe fn Compile(&self, psource: P0, psourcename: P1, pentrypoint: P2, ptargetprofile: P3, parguments: ::core::option::Option<&[::windows_core::PCWSTR]>, pdefines: &[DxcDefine], pincludehandler: P4) -> ::windows_core::Result @@ -375,25 +286,9 @@ impl IDxcCompiler2 { } } ::windows_core::imp::interface_hierarchy!(IDxcCompiler2, ::windows_core::IUnknown, IDxcCompiler); -impl ::core::cmp::PartialEq for IDxcCompiler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcCompiler2 {} -impl ::core::fmt::Debug for IDxcCompiler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcCompiler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcCompiler2 { type Vtable = IDxcCompiler2_Vtbl; } -impl ::core::clone::Clone for IDxcCompiler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcCompiler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa005a9d9_b8bb_4594_b5c9_0e633bec4d37); } @@ -405,6 +300,7 @@ pub struct IDxcCompiler2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcCompiler3(::windows_core::IUnknown); impl IDxcCompiler3 { pub unsafe fn Compile(&self, psource: *const DxcBuffer, parguments: ::core::option::Option<&[::windows_core::PCWSTR]>, pincludehandler: P0) -> ::windows_core::Result @@ -424,25 +320,9 @@ impl IDxcCompiler3 { } } ::windows_core::imp::interface_hierarchy!(IDxcCompiler3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcCompiler3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcCompiler3 {} -impl ::core::fmt::Debug for IDxcCompiler3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcCompiler3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcCompiler3 { type Vtable = IDxcCompiler3_Vtbl; } -impl ::core::clone::Clone for IDxcCompiler3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcCompiler3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x228b4687_5a6a_4730_900c_9702b2203f54); } @@ -455,6 +335,7 @@ pub struct IDxcCompiler3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcCompilerArgs(::windows_core::IUnknown); impl IDxcCompilerArgs { pub unsafe fn GetArguments(&self) -> *mut ::windows_core::PCWSTR { @@ -474,25 +355,9 @@ impl IDxcCompilerArgs { } } ::windows_core::imp::interface_hierarchy!(IDxcCompilerArgs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcCompilerArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcCompilerArgs {} -impl ::core::fmt::Debug for IDxcCompilerArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcCompilerArgs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcCompilerArgs { type Vtable = IDxcCompilerArgs_Vtbl; } -impl ::core::clone::Clone for IDxcCompilerArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcCompilerArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73effe2a_70dc_45f8_9690_eff64c02429d); } @@ -508,6 +373,7 @@ pub struct IDxcCompilerArgs_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcContainerBuilder(::windows_core::IUnknown); impl IDxcContainerBuilder { pub unsafe fn Load(&self, pdxilcontainerheader: P0) -> ::windows_core::Result<()> @@ -531,25 +397,9 @@ impl IDxcContainerBuilder { } } ::windows_core::imp::interface_hierarchy!(IDxcContainerBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcContainerBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcContainerBuilder {} -impl ::core::fmt::Debug for IDxcContainerBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcContainerBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcContainerBuilder { type Vtable = IDxcContainerBuilder_Vtbl; } -impl ::core::clone::Clone for IDxcContainerBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcContainerBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x334b1f50_2292_4b35_99a1_25588d8c17fe); } @@ -564,6 +414,7 @@ pub struct IDxcContainerBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcContainerReflection(::windows_core::IUnknown); impl IDxcContainerReflection { pub unsafe fn Load(&self, pcontainer: P0) -> ::windows_core::Result<()> @@ -593,25 +444,9 @@ impl IDxcContainerReflection { } } ::windows_core::imp::interface_hierarchy!(IDxcContainerReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcContainerReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcContainerReflection {} -impl ::core::fmt::Debug for IDxcContainerReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcContainerReflection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcContainerReflection { type Vtable = IDxcContainerReflection_Vtbl; } -impl ::core::clone::Clone for IDxcContainerReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcContainerReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2c21b26_8350_4bdc_976a_331ce6f4c54c); } @@ -628,6 +463,7 @@ pub struct IDxcContainerReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcExtraOutputs(::windows_core::IUnknown); impl IDxcExtraOutputs { pub unsafe fn GetOutputCount(&self) -> u32 { @@ -641,25 +477,9 @@ impl IDxcExtraOutputs { } } ::windows_core::imp::interface_hierarchy!(IDxcExtraOutputs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcExtraOutputs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcExtraOutputs {} -impl ::core::fmt::Debug for IDxcExtraOutputs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcExtraOutputs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcExtraOutputs { type Vtable = IDxcExtraOutputs_Vtbl; } -impl ::core::clone::Clone for IDxcExtraOutputs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcExtraOutputs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x319b37a2_a5c2_494a_a5de_4801b2faf989); } @@ -672,6 +492,7 @@ pub struct IDxcExtraOutputs_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcIncludeHandler(::windows_core::IUnknown); impl IDxcIncludeHandler { pub unsafe fn LoadSource(&self, pfilename: P0) -> ::windows_core::Result @@ -683,25 +504,9 @@ impl IDxcIncludeHandler { } } ::windows_core::imp::interface_hierarchy!(IDxcIncludeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcIncludeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcIncludeHandler {} -impl ::core::fmt::Debug for IDxcIncludeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcIncludeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcIncludeHandler { type Vtable = IDxcIncludeHandler_Vtbl; } -impl ::core::clone::Clone for IDxcIncludeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcIncludeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f61fc7d_950d_467f_b3e3_3c02fb49187c); } @@ -713,6 +518,7 @@ pub struct IDxcIncludeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcLibrary(::windows_core::IUnknown); impl IDxcLibrary { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -783,25 +589,9 @@ impl IDxcLibrary { } } ::windows_core::imp::interface_hierarchy!(IDxcLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcLibrary {} -impl ::core::fmt::Debug for IDxcLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcLibrary { type Vtable = IDxcLibrary_Vtbl; } -impl ::core::clone::Clone for IDxcLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5204dc7_d18c_4c3c_bdfb_851673980fe7); } @@ -831,6 +621,7 @@ pub struct IDxcLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcLinker(::windows_core::IUnknown); impl IDxcLinker { pub unsafe fn RegisterLibrary(&self, plibname: P0, plib: P1) -> ::windows_core::Result<()> @@ -850,25 +641,9 @@ impl IDxcLinker { } } ::windows_core::imp::interface_hierarchy!(IDxcLinker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcLinker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcLinker {} -impl ::core::fmt::Debug for IDxcLinker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcLinker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcLinker { type Vtable = IDxcLinker_Vtbl; } -impl ::core::clone::Clone for IDxcLinker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcLinker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1b5be2a_62dd_4327_a1c2_42ac1e1e78e6); } @@ -881,6 +656,7 @@ pub struct IDxcLinker_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcOperationResult(::windows_core::IUnknown); impl IDxcOperationResult { pub unsafe fn GetStatus(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -897,25 +673,9 @@ impl IDxcOperationResult { } } ::windows_core::imp::interface_hierarchy!(IDxcOperationResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcOperationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcOperationResult {} -impl ::core::fmt::Debug for IDxcOperationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcOperationResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcOperationResult { type Vtable = IDxcOperationResult_Vtbl; } -impl ::core::clone::Clone for IDxcOperationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcOperationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcedb484a_d4e9_445a_b991_ca21ca157dc2); } @@ -929,6 +689,7 @@ pub struct IDxcOperationResult_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcOptimizer(::windows_core::IUnknown); impl IDxcOptimizer { pub unsafe fn GetAvailablePassCount(&self) -> ::windows_core::Result { @@ -947,25 +708,9 @@ impl IDxcOptimizer { } } ::windows_core::imp::interface_hierarchy!(IDxcOptimizer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcOptimizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcOptimizer {} -impl ::core::fmt::Debug for IDxcOptimizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcOptimizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcOptimizer { type Vtable = IDxcOptimizer_Vtbl; } -impl ::core::clone::Clone for IDxcOptimizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcOptimizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25740e2e_9cba_401b_9119_4fb42f39f270); } @@ -979,6 +724,7 @@ pub struct IDxcOptimizer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcOptimizerPass(::windows_core::IUnknown); impl IDxcOptimizerPass { pub unsafe fn GetOptionName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -1003,25 +749,9 @@ impl IDxcOptimizerPass { } } ::windows_core::imp::interface_hierarchy!(IDxcOptimizerPass, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcOptimizerPass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcOptimizerPass {} -impl ::core::fmt::Debug for IDxcOptimizerPass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcOptimizerPass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcOptimizerPass { type Vtable = IDxcOptimizerPass_Vtbl; } -impl ::core::clone::Clone for IDxcOptimizerPass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcOptimizerPass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae2cd79f_cc22_453f_9b6b_b124e7a5204c); } @@ -1037,6 +767,7 @@ pub struct IDxcOptimizerPass_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcPdbUtils(::windows_core::IUnknown); impl IDxcPdbUtils { pub unsafe fn Load(&self, ppdbordxil: P0) -> ::windows_core::Result<()> @@ -1142,25 +873,9 @@ impl IDxcPdbUtils { } } ::windows_core::imp::interface_hierarchy!(IDxcPdbUtils, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcPdbUtils { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcPdbUtils {} -impl ::core::fmt::Debug for IDxcPdbUtils { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcPdbUtils").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcPdbUtils { type Vtable = IDxcPdbUtils_Vtbl; } -impl ::core::clone::Clone for IDxcPdbUtils { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcPdbUtils { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6c9647e_9d6a_4c3b_b94c_524b5a6c343d); } @@ -1198,6 +913,7 @@ pub struct IDxcPdbUtils_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcResult(::windows_core::IUnknown); impl IDxcResult { pub unsafe fn GetStatus(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -1234,25 +950,9 @@ impl IDxcResult { } } ::windows_core::imp::interface_hierarchy!(IDxcResult, ::windows_core::IUnknown, IDxcOperationResult); -impl ::core::cmp::PartialEq for IDxcResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcResult {} -impl ::core::fmt::Debug for IDxcResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcResult { type Vtable = IDxcResult_Vtbl; } -impl ::core::clone::Clone for IDxcResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58346cda_dde7_4497_9461_6f87af5e0659); } @@ -1271,6 +971,7 @@ pub struct IDxcResult_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcUtils(::windows_core::IUnknown); impl IDxcUtils { pub unsafe fn CreateBlobFromBlob(&self, pblob: P0, offset: u32, length: u32) -> ::windows_core::Result @@ -1354,25 +1055,9 @@ impl IDxcUtils { } } ::windows_core::imp::interface_hierarchy!(IDxcUtils, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcUtils { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcUtils {} -impl ::core::fmt::Debug for IDxcUtils { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcUtils").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcUtils { type Vtable = IDxcUtils_Vtbl; } -impl ::core::clone::Clone for IDxcUtils { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcUtils { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4605c4cb_2019_492a_ada4_65f20bb7d67f); } @@ -1402,6 +1087,7 @@ pub struct IDxcUtils_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcValidator(::windows_core::IUnknown); impl IDxcValidator { pub unsafe fn Validate(&self, pshader: P0, flags: u32) -> ::windows_core::Result @@ -1413,25 +1099,9 @@ impl IDxcValidator { } } ::windows_core::imp::interface_hierarchy!(IDxcValidator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcValidator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcValidator {} -impl ::core::fmt::Debug for IDxcValidator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcValidator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcValidator { type Vtable = IDxcValidator_Vtbl; } -impl ::core::clone::Clone for IDxcValidator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcValidator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6e82bd2_1fd7_4826_9811_2857e797f49a); } @@ -1443,6 +1113,7 @@ pub struct IDxcValidator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcValidator2(::windows_core::IUnknown); impl IDxcValidator2 { pub unsafe fn Validate(&self, pshader: P0, flags: u32) -> ::windows_core::Result @@ -1461,25 +1132,9 @@ impl IDxcValidator2 { } } ::windows_core::imp::interface_hierarchy!(IDxcValidator2, ::windows_core::IUnknown, IDxcValidator); -impl ::core::cmp::PartialEq for IDxcValidator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcValidator2 {} -impl ::core::fmt::Debug for IDxcValidator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcValidator2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcValidator2 { type Vtable = IDxcValidator2_Vtbl; } -impl ::core::clone::Clone for IDxcValidator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcValidator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x458e1fd1_b1b2_4750_a6e1_9c10f03bed92); } @@ -1491,6 +1146,7 @@ pub struct IDxcValidator2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcVersionInfo(::windows_core::IUnknown); impl IDxcVersionInfo { pub unsafe fn GetVersion(&self, pmajor: *mut u32, pminor: *mut u32) -> ::windows_core::Result<()> { @@ -1502,25 +1158,9 @@ impl IDxcVersionInfo { } } ::windows_core::imp::interface_hierarchy!(IDxcVersionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcVersionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcVersionInfo {} -impl ::core::fmt::Debug for IDxcVersionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcVersionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcVersionInfo { type Vtable = IDxcVersionInfo_Vtbl; } -impl ::core::clone::Clone for IDxcVersionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcVersionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb04f5b50_2059_4f12_a8ff_a1e0cde1cc7e); } @@ -1533,6 +1173,7 @@ pub struct IDxcVersionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcVersionInfo2(::windows_core::IUnknown); impl IDxcVersionInfo2 { pub unsafe fn GetVersion(&self, pmajor: *mut u32, pminor: *mut u32) -> ::windows_core::Result<()> { @@ -1547,25 +1188,9 @@ impl IDxcVersionInfo2 { } } ::windows_core::imp::interface_hierarchy!(IDxcVersionInfo2, ::windows_core::IUnknown, IDxcVersionInfo); -impl ::core::cmp::PartialEq for IDxcVersionInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcVersionInfo2 {} -impl ::core::fmt::Debug for IDxcVersionInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcVersionInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcVersionInfo2 { type Vtable = IDxcVersionInfo2_Vtbl; } -impl ::core::clone::Clone for IDxcVersionInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcVersionInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb6904c4_42f0_4b62_9c46_983af7da7c83); } @@ -1577,6 +1202,7 @@ pub struct IDxcVersionInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDxcVersionInfo3(::windows_core::IUnknown); impl IDxcVersionInfo3 { pub unsafe fn GetCustomVersionString(&self) -> ::windows_core::Result<*mut i8> { @@ -1585,25 +1211,9 @@ impl IDxcVersionInfo3 { } } ::windows_core::imp::interface_hierarchy!(IDxcVersionInfo3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDxcVersionInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDxcVersionInfo3 {} -impl ::core::fmt::Debug for IDxcVersionInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDxcVersionInfo3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDxcVersionInfo3 { type Vtable = IDxcVersionInfo3_Vtbl; } -impl ::core::clone::Clone for IDxcVersionInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDxcVersionInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e13e843_9d25_473c_9ad2_03b2d0b44b1e); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs index 8f6269563d..8e5a898c4d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs @@ -22,8 +22,8 @@ impl ID3DBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl ID3DDestructionNotifier_Vtbl { UnregisterDestructionCallback: UnregisterDestructionCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs index dd43e4db84..5d034c9e4f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -4,6 +4,7 @@ pub mod Dxc; pub mod Fxc; #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DBlob(::windows_core::IUnknown); impl ID3DBlob { pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { @@ -14,27 +15,11 @@ impl ID3DBlob { } } ::windows_core::imp::interface_hierarchy!(ID3DBlob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DBlob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DBlob {} -impl ::core::fmt::Debug for ID3DBlob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DBlob").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DBlob {} unsafe impl ::core::marker::Sync for ID3DBlob {} unsafe impl ::windows_core::Interface for ID3DBlob { type Vtable = ID3DBlob_Vtbl; } -impl ::core::clone::Clone for ID3DBlob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DBlob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); } @@ -47,6 +32,7 @@ pub struct ID3DBlob_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DDestructionNotifier(::windows_core::IUnknown); impl ID3DDestructionNotifier { pub unsafe fn RegisterDestructionCallback(&self, callbackfn: PFN_DESTRUCTION_CALLBACK, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result { @@ -58,27 +44,11 @@ impl ID3DDestructionNotifier { } } ::windows_core::imp::interface_hierarchy!(ID3DDestructionNotifier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DDestructionNotifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DDestructionNotifier {} -impl ::core::fmt::Debug for ID3DDestructionNotifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DDestructionNotifier").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DDestructionNotifier {} unsafe impl ::core::marker::Sync for ID3DDestructionNotifier {} unsafe impl ::windows_core::Interface for ID3DDestructionNotifier { type Vtable = ID3DDestructionNotifier_Vtbl; } -impl ::core::clone::Clone for ID3DDestructionNotifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DDestructionNotifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa06eb39a_50da_425b_8c31_4eecd6c270f3); } @@ -91,6 +61,7 @@ pub struct ID3DDestructionNotifier_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DInclude(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3DInclude { pub unsafe fn Open(&self, includetype: D3D_INCLUDE_TYPE, pfilename: P0, pparentdata: *const ::core::ffi::c_void, ppdata: *mut *mut ::core::ffi::c_void, pbytes: *mut u32) -> ::windows_core::Result<()> @@ -103,27 +74,11 @@ impl ID3DInclude { (::windows_core::Interface::vtable(self).Close)(::windows_core::Interface::as_raw(self), pdata).ok() } } -impl ::core::cmp::PartialEq for ID3DInclude { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DInclude {} -impl ::core::fmt::Debug for ID3DInclude { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DInclude").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DInclude {} unsafe impl ::core::marker::Sync for ID3DInclude {} unsafe impl ::windows_core::Interface for ID3DInclude { type Vtable = ID3DInclude_Vtbl; } -impl ::core::clone::Clone for ID3DInclude { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3DInclude_Vtbl { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs index e4d7d78bb0..db770a2872 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs @@ -36,8 +36,8 @@ impl ID3D10Asynchronous_Vtbl { GetDataSize: GetDataSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl ID3D10BlendState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl ID3D10BlendState1_Vtbl { } Self { base__: ID3D10BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl ID3D10Buffer_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -131,8 +131,8 @@ impl ID3D10Counter_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl ID3D10Debug_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl ID3D10DepthStencilState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl ID3D10DepthStencilView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl ID3D10Device_Vtbl { GetTextFilterSize: GetTextFilterSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl ID3D10Device1_Vtbl { GetFeatureLevel: GetFeatureLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl ID3D10DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1151,8 +1151,8 @@ impl ID3D10Effect_Vtbl { IsOptimized: IsOptimized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1555,8 +1555,8 @@ impl ID3D10EffectPool_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsEffect: AsEffect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2495,8 +2495,8 @@ impl ID3D10GeometryShader_Vtbl { pub const fn new, Impl: ID3D10GeometryShader_Impl, const OFFSET: isize>() -> ID3D10GeometryShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2757,8 +2757,8 @@ impl ID3D10InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2768,8 +2768,8 @@ impl ID3D10InputLayout_Vtbl { pub const fn new, Impl: ID3D10InputLayout_Impl, const OFFSET: isize>() -> ID3D10InputLayout_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2813,8 +2813,8 @@ impl ID3D10Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2824,8 +2824,8 @@ impl ID3D10PixelShader_Vtbl { pub const fn new, Impl: ID3D10PixelShader_Impl, const OFFSET: isize>() -> ID3D10PixelShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2835,8 +2835,8 @@ impl ID3D10Predicate_Vtbl { pub const fn new, Impl: ID3D10Predicate_Impl, const OFFSET: isize>() -> ID3D10Predicate_Vtbl { Self { base__: ID3D10Query_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2853,8 +2853,8 @@ impl ID3D10Query_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2874,8 +2874,8 @@ impl ID3D10RasterizerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2895,8 +2895,8 @@ impl ID3D10RenderTargetView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl ID3D10Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2948,8 +2948,8 @@ impl ID3D10SamplerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3007,8 +3007,8 @@ impl ID3D10ShaderReflection_Vtbl { GetOutputParameterDesc: GetOutputParameterDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3171,8 +3171,8 @@ impl ID3D10ShaderReflection1_Vtbl { IsSampleFrequencyShader: IsSampleFrequencyShader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3321,8 +3321,8 @@ impl ID3D10ShaderResourceView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3342,8 +3342,8 @@ impl ID3D10ShaderResourceView1_Vtbl { } Self { base__: ID3D10ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3390,8 +3390,8 @@ impl ID3D10StateBlock_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3421,8 +3421,8 @@ impl ID3D10SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3459,8 +3459,8 @@ impl ID3D10Texture1D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3503,8 +3503,8 @@ impl ID3D10Texture2D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3547,8 +3547,8 @@ impl ID3D10Texture3D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3558,8 +3558,8 @@ impl ID3D10VertexShader_Vtbl { pub const fn new, Impl: ID3D10VertexShader_Impl, const OFFSET: isize>() -> ID3D10VertexShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3576,7 +3576,7 @@ impl ID3D10View_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs index 0d35e9f6b8..1b4a1b61e5 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -257,6 +257,7 @@ pub unsafe fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *c } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Asynchronous(::windows_core::IUnknown); impl ID3D10Asynchronous { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -290,27 +291,11 @@ impl ID3D10Asynchronous { } } ::windows_core::imp::interface_hierarchy!(ID3D10Asynchronous, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10Asynchronous { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Asynchronous {} -impl ::core::fmt::Debug for ID3D10Asynchronous { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Asynchronous").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Asynchronous {} unsafe impl ::core::marker::Sync for ID3D10Asynchronous {} unsafe impl ::windows_core::Interface for ID3D10Asynchronous { type Vtable = ID3D10Asynchronous_Vtbl; } -impl ::core::clone::Clone for ID3D10Asynchronous { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Asynchronous { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0d_342c_4106_a19f_4f2704f689f0); } @@ -325,6 +310,7 @@ pub struct ID3D10Asynchronous_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10BlendState(::windows_core::IUnknown); impl ID3D10BlendState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -351,27 +337,11 @@ impl ID3D10BlendState { } } ::windows_core::imp::interface_hierarchy!(ID3D10BlendState, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10BlendState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10BlendState {} -impl ::core::fmt::Debug for ID3D10BlendState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10BlendState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10BlendState {} unsafe impl ::core::marker::Sync for ID3D10BlendState {} unsafe impl ::windows_core::Interface for ID3D10BlendState { type Vtable = ID3D10BlendState_Vtbl; } -impl ::core::clone::Clone for ID3D10BlendState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10BlendState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedad8d19_8a35_4d6d_8566_2ea276cde161); } @@ -386,6 +356,7 @@ pub struct ID3D10BlendState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10BlendState1(::windows_core::IUnknown); impl ID3D10BlendState1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -417,27 +388,11 @@ impl ID3D10BlendState1 { } } ::windows_core::imp::interface_hierarchy!(ID3D10BlendState1, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10BlendState); -impl ::core::cmp::PartialEq for ID3D10BlendState1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10BlendState1 {} -impl ::core::fmt::Debug for ID3D10BlendState1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10BlendState1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10BlendState1 {} unsafe impl ::core::marker::Sync for ID3D10BlendState1 {} unsafe impl ::windows_core::Interface for ID3D10BlendState1 { type Vtable = ID3D10BlendState1_Vtbl; } -impl ::core::clone::Clone for ID3D10BlendState1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10BlendState1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedad8d99_8a35_4d6d_8566_2ea276cde161); } @@ -452,6 +407,7 @@ pub struct ID3D10BlendState1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Buffer(::windows_core::IUnknown); impl ID3D10Buffer { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -493,27 +449,11 @@ impl ID3D10Buffer { } } ::windows_core::imp::interface_hierarchy!(ID3D10Buffer, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); -impl ::core::cmp::PartialEq for ID3D10Buffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Buffer {} -impl ::core::fmt::Debug for ID3D10Buffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Buffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Buffer {} unsafe impl ::core::marker::Sync for ID3D10Buffer {} unsafe impl ::windows_core::Interface for ID3D10Buffer { type Vtable = ID3D10Buffer_Vtbl; } -impl ::core::clone::Clone for ID3D10Buffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Buffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c02_342c_4106_a19f_4f2704f689f0); } @@ -527,6 +467,7 @@ pub struct ID3D10Buffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Counter(::windows_core::IUnknown); impl ID3D10Counter { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -565,27 +506,11 @@ impl ID3D10Counter { } } ::windows_core::imp::interface_hierarchy!(ID3D10Counter, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); -impl ::core::cmp::PartialEq for ID3D10Counter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Counter {} -impl ::core::fmt::Debug for ID3D10Counter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Counter").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Counter {} unsafe impl ::core::marker::Sync for ID3D10Counter {} unsafe impl ::windows_core::Interface for ID3D10Counter { type Vtable = ID3D10Counter_Vtbl; } -impl ::core::clone::Clone for ID3D10Counter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Counter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c11_342c_4106_a19f_4f2704f689f0); } @@ -597,6 +522,7 @@ pub struct ID3D10Counter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Debug(::windows_core::IUnknown); impl ID3D10Debug { pub unsafe fn SetFeatureMask(&self, mask: u32) -> ::windows_core::Result<()> { @@ -630,27 +556,11 @@ impl ID3D10Debug { } } ::windows_core::imp::interface_hierarchy!(ID3D10Debug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10Debug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Debug {} -impl ::core::fmt::Debug for ID3D10Debug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Debug").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Debug {} unsafe impl ::core::marker::Sync for ID3D10Debug {} unsafe impl ::windows_core::Interface for ID3D10Debug { type Vtable = ID3D10Debug_Vtbl; } -impl ::core::clone::Clone for ID3D10Debug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Debug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4e01_342c_4106_a19f_4f2704f689f0); } @@ -674,6 +584,7 @@ pub struct ID3D10Debug_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10DepthStencilState(::windows_core::IUnknown); impl ID3D10DepthStencilState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -700,27 +611,11 @@ impl ID3D10DepthStencilState { } } ::windows_core::imp::interface_hierarchy!(ID3D10DepthStencilState, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10DepthStencilState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10DepthStencilState {} -impl ::core::fmt::Debug for ID3D10DepthStencilState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10DepthStencilState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10DepthStencilState {} unsafe impl ::core::marker::Sync for ID3D10DepthStencilState {} unsafe impl ::windows_core::Interface for ID3D10DepthStencilState { type Vtable = ID3D10DepthStencilState_Vtbl; } -impl ::core::clone::Clone for ID3D10DepthStencilState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10DepthStencilState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b4b1cc8_a4ad_41f8_8322_ca86fc3ec675); } @@ -735,6 +630,7 @@ pub struct ID3D10DepthStencilState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10DepthStencilView(::windows_core::IUnknown); impl ID3D10DepthStencilView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -766,27 +662,11 @@ impl ID3D10DepthStencilView { } } ::windows_core::imp::interface_hierarchy!(ID3D10DepthStencilView, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); -impl ::core::cmp::PartialEq for ID3D10DepthStencilView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10DepthStencilView {} -impl ::core::fmt::Debug for ID3D10DepthStencilView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10DepthStencilView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10DepthStencilView {} unsafe impl ::core::marker::Sync for ID3D10DepthStencilView {} unsafe impl ::windows_core::Interface for ID3D10DepthStencilView { type Vtable = ID3D10DepthStencilView_Vtbl; } -impl ::core::clone::Clone for ID3D10DepthStencilView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10DepthStencilView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c09_342c_4106_a19f_4f2704f689f0); } @@ -801,6 +681,7 @@ pub struct ID3D10DepthStencilView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Device(::windows_core::IUnknown); impl ID3D10Device { pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option]>) { @@ -1223,27 +1104,11 @@ impl ID3D10Device { } } ::windows_core::imp::interface_hierarchy!(ID3D10Device, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Device {} -impl ::core::fmt::Debug for ID3D10Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Device").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Device {} unsafe impl ::core::marker::Sync for ID3D10Device {} unsafe impl ::windows_core::Interface for ID3D10Device { type Vtable = ID3D10Device_Vtbl; } -impl ::core::clone::Clone for ID3D10Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0f_342c_4106_a19f_4f2704f689f0); } @@ -1415,6 +1280,7 @@ pub struct ID3D10Device_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Device1(::windows_core::IUnknown); impl ID3D10Device1 { pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option]>) { @@ -1853,27 +1719,11 @@ impl ID3D10Device1 { } } ::windows_core::imp::interface_hierarchy!(ID3D10Device1, ::windows_core::IUnknown, ID3D10Device); -impl ::core::cmp::PartialEq for ID3D10Device1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Device1 {} -impl ::core::fmt::Debug for ID3D10Device1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Device1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Device1 {} unsafe impl ::core::marker::Sync for ID3D10Device1 {} unsafe impl ::windows_core::Interface for ID3D10Device1 { type Vtable = ID3D10Device1_Vtbl; } -impl ::core::clone::Clone for ID3D10Device1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Device1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c8f_342c_4106_a19f_4f2704f689f0); } @@ -1893,6 +1743,7 @@ pub struct ID3D10Device1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10DeviceChild(::windows_core::IUnknown); impl ID3D10DeviceChild { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -1914,27 +1765,11 @@ impl ID3D10DeviceChild { } } ::windows_core::imp::interface_hierarchy!(ID3D10DeviceChild, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10DeviceChild { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10DeviceChild {} -impl ::core::fmt::Debug for ID3D10DeviceChild { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10DeviceChild").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10DeviceChild {} unsafe impl ::core::marker::Sync for ID3D10DeviceChild {} unsafe impl ::windows_core::Interface for ID3D10DeviceChild { type Vtable = ID3D10DeviceChild_Vtbl; } -impl ::core::clone::Clone for ID3D10DeviceChild { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10DeviceChild { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c00_342c_4106_a19f_4f2704f689f0); } @@ -1949,6 +1784,7 @@ pub struct ID3D10DeviceChild_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Effect(::windows_core::IUnknown); impl ID3D10Effect { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2013,27 +1849,11 @@ impl ID3D10Effect { } } ::windows_core::imp::interface_hierarchy!(ID3D10Effect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10Effect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Effect {} -impl ::core::fmt::Debug for ID3D10Effect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Effect").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Effect {} unsafe impl ::core::marker::Sync for ID3D10Effect {} unsafe impl ::windows_core::Interface for ID3D10Effect { type Vtable = ID3D10Effect_Vtbl; } -impl ::core::clone::Clone for ID3D10Effect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Effect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51b0ca8b_ec0b_4519_870d_8ee1cb5017c7); } @@ -2069,6 +1889,7 @@ pub struct ID3D10Effect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectBlendVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectBlendVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2168,27 +1989,11 @@ impl ID3D10EffectBlendVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectBlendVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectBlendVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectBlendVariable {} -impl ::core::fmt::Debug for ID3D10EffectBlendVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectBlendVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectBlendVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectBlendVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectBlendVariable { type Vtable = ID3D10EffectBlendVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectBlendVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectBlendVariable_Vtbl { @@ -2201,6 +2006,7 @@ pub struct ID3D10EffectBlendVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectConstantBuffer(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectConstantBuffer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2311,27 +2117,11 @@ impl ID3D10EffectConstantBuffer { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectConstantBuffer, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectConstantBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectConstantBuffer {} -impl ::core::fmt::Debug for ID3D10EffectConstantBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectConstantBuffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectConstantBuffer {} unsafe impl ::core::marker::Sync for ID3D10EffectConstantBuffer {} unsafe impl ::windows_core::Interface for ID3D10EffectConstantBuffer { type Vtable = ID3D10EffectConstantBuffer_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectConstantBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectConstantBuffer_Vtbl { @@ -2343,6 +2133,7 @@ pub struct ID3D10EffectConstantBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectDepthStencilVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectDepthStencilVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2442,27 +2233,11 @@ impl ID3D10EffectDepthStencilVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectDepthStencilVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectDepthStencilVariable {} -impl ::core::fmt::Debug for ID3D10EffectDepthStencilVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectDepthStencilVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectDepthStencilVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectDepthStencilVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectDepthStencilVariable { type Vtable = ID3D10EffectDepthStencilVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectDepthStencilVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectDepthStencilVariable_Vtbl { @@ -2475,6 +2250,7 @@ pub struct ID3D10EffectDepthStencilVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectDepthStencilViewVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectDepthStencilViewVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2581,27 +2357,11 @@ impl ID3D10EffectDepthStencilViewVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectDepthStencilViewVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectDepthStencilViewVariable {} -impl ::core::fmt::Debug for ID3D10EffectDepthStencilViewVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectDepthStencilViewVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectDepthStencilViewVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectDepthStencilViewVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectDepthStencilViewVariable { type Vtable = ID3D10EffectDepthStencilViewVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectDepthStencilViewVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectDepthStencilViewVariable_Vtbl { @@ -2613,6 +2373,7 @@ pub struct ID3D10EffectDepthStencilViewVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectMatrixVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectMatrixVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2727,27 +2488,11 @@ impl ID3D10EffectMatrixVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectMatrixVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectMatrixVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectMatrixVariable {} -impl ::core::fmt::Debug for ID3D10EffectMatrixVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectMatrixVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectMatrixVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectMatrixVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectMatrixVariable { type Vtable = ID3D10EffectMatrixVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectMatrixVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectMatrixVariable_Vtbl { @@ -2763,6 +2508,7 @@ pub struct ID3D10EffectMatrixVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectPass(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectPass { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2798,27 +2544,11 @@ impl ID3D10EffectPass { (::windows_core::Interface::vtable(self).ComputeStateBlockMask)(::windows_core::Interface::as_raw(self), pstateblockmask).ok() } } -impl ::core::cmp::PartialEq for ID3D10EffectPass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectPass {} -impl ::core::fmt::Debug for ID3D10EffectPass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectPass").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectPass {} unsafe impl ::core::marker::Sync for ID3D10EffectPass {} unsafe impl ::windows_core::Interface for ID3D10EffectPass { type Vtable = ID3D10EffectPass_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectPass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectPass_Vtbl { @@ -2837,6 +2567,7 @@ pub struct ID3D10EffectPass_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectPool(::windows_core::IUnknown); impl ID3D10EffectPool { pub unsafe fn AsEffect(&self) -> ::core::option::Option { @@ -2844,27 +2575,11 @@ impl ID3D10EffectPool { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectPool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10EffectPool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectPool {} -impl ::core::fmt::Debug for ID3D10EffectPool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectPool").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectPool {} unsafe impl ::core::marker::Sync for ID3D10EffectPool {} unsafe impl ::windows_core::Interface for ID3D10EffectPool { type Vtable = ID3D10EffectPool_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectPool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10EffectPool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9537ab04_3250_412e_8213_fcd2f8677933); } @@ -2876,6 +2591,7 @@ pub struct ID3D10EffectPool_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectRasterizerVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectRasterizerVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2975,27 +2691,11 @@ impl ID3D10EffectRasterizerVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectRasterizerVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectRasterizerVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectRasterizerVariable {} -impl ::core::fmt::Debug for ID3D10EffectRasterizerVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectRasterizerVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectRasterizerVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectRasterizerVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectRasterizerVariable { type Vtable = ID3D10EffectRasterizerVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectRasterizerVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectRasterizerVariable_Vtbl { @@ -3008,6 +2708,7 @@ pub struct ID3D10EffectRasterizerVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectRenderTargetViewVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectRenderTargetViewVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3114,27 +2815,11 @@ impl ID3D10EffectRenderTargetViewVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectRenderTargetViewVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectRenderTargetViewVariable {} -impl ::core::fmt::Debug for ID3D10EffectRenderTargetViewVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectRenderTargetViewVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectRenderTargetViewVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectRenderTargetViewVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectRenderTargetViewVariable { type Vtable = ID3D10EffectRenderTargetViewVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectRenderTargetViewVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectRenderTargetViewVariable_Vtbl { @@ -3146,6 +2831,7 @@ pub struct ID3D10EffectRenderTargetViewVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectSamplerVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectSamplerVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3243,27 +2929,11 @@ impl ID3D10EffectSamplerVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectSamplerVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectSamplerVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectSamplerVariable {} -impl ::core::fmt::Debug for ID3D10EffectSamplerVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectSamplerVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectSamplerVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectSamplerVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectSamplerVariable { type Vtable = ID3D10EffectSamplerVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectSamplerVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectSamplerVariable_Vtbl { @@ -3273,6 +2943,7 @@ pub struct ID3D10EffectSamplerVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectScalarVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectScalarVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3413,27 +3084,11 @@ impl ID3D10EffectScalarVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectScalarVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectScalarVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectScalarVariable {} -impl ::core::fmt::Debug for ID3D10EffectScalarVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectScalarVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectScalarVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectScalarVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectScalarVariable { type Vtable = ID3D10EffectScalarVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectScalarVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectScalarVariable_Vtbl { @@ -3465,6 +3120,7 @@ pub struct ID3D10EffectScalarVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectShaderResourceVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectShaderResourceVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3571,27 +3227,11 @@ impl ID3D10EffectShaderResourceVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectShaderResourceVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectShaderResourceVariable {} -impl ::core::fmt::Debug for ID3D10EffectShaderResourceVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectShaderResourceVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectShaderResourceVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectShaderResourceVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectShaderResourceVariable { type Vtable = ID3D10EffectShaderResourceVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectShaderResourceVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectShaderResourceVariable_Vtbl { @@ -3603,6 +3243,7 @@ pub struct ID3D10EffectShaderResourceVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectShaderVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectShaderVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3720,27 +3361,11 @@ impl ID3D10EffectShaderVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectShaderVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectShaderVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectShaderVariable {} -impl ::core::fmt::Debug for ID3D10EffectShaderVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectShaderVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectShaderVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectShaderVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectShaderVariable { type Vtable = ID3D10EffectShaderVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectShaderVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectShaderVariable_Vtbl { @@ -3763,6 +3388,7 @@ pub struct ID3D10EffectShaderVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectStringVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectStringVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3860,27 +3486,11 @@ impl ID3D10EffectStringVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectStringVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectStringVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectStringVariable {} -impl ::core::fmt::Debug for ID3D10EffectStringVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectStringVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectStringVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectStringVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectStringVariable { type Vtable = ID3D10EffectStringVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectStringVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectStringVariable_Vtbl { @@ -3890,6 +3500,7 @@ pub struct ID3D10EffectStringVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectTechnique(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectTechnique { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3922,27 +3533,11 @@ impl ID3D10EffectTechnique { (::windows_core::Interface::vtable(self).ComputeStateBlockMask)(::windows_core::Interface::as_raw(self), pstateblockmask).ok() } } -impl ::core::cmp::PartialEq for ID3D10EffectTechnique { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectTechnique {} -impl ::core::fmt::Debug for ID3D10EffectTechnique { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectTechnique").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectTechnique {} unsafe impl ::core::marker::Sync for ID3D10EffectTechnique {} unsafe impl ::windows_core::Interface for ID3D10EffectTechnique { type Vtable = ID3D10EffectTechnique_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectTechnique { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectTechnique_Vtbl { @@ -3959,6 +3554,7 @@ pub struct ID3D10EffectTechnique_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectType(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3993,27 +3589,11 @@ impl ID3D10EffectType { (::windows_core::Interface::vtable(self).GetMemberSemantic)(::windows_core::Interface::as_raw(self), index) } } -impl ::core::cmp::PartialEq for ID3D10EffectType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectType {} -impl ::core::fmt::Debug for ID3D10EffectType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectType").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectType {} unsafe impl ::core::marker::Sync for ID3D10EffectType {} unsafe impl ::windows_core::Interface for ID3D10EffectType { type Vtable = ID3D10EffectType_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectType_Vtbl { @@ -4033,6 +3613,7 @@ pub struct ID3D10EffectType_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4122,27 +3703,11 @@ impl ID3D10EffectVariable { (::windows_core::Interface::vtable(self).GetRawValue)(::windows_core::Interface::as_raw(self), pdata, offset, bytecount).ok() } } -impl ::core::cmp::PartialEq for ID3D10EffectVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectVariable {} -impl ::core::fmt::Debug for ID3D10EffectVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectVariable { type Vtable = ID3D10EffectVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectVariable_Vtbl { @@ -4177,6 +3742,7 @@ pub struct ID3D10EffectVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10EffectVectorVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10EffectVectorVariable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4311,27 +3877,11 @@ impl ID3D10EffectVectorVariable { } } ::windows_core::imp::interface_hierarchy!(ID3D10EffectVectorVariable, ID3D10EffectVariable); -impl ::core::cmp::PartialEq for ID3D10EffectVectorVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10EffectVectorVariable {} -impl ::core::fmt::Debug for ID3D10EffectVectorVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10EffectVectorVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10EffectVectorVariable {} unsafe impl ::core::marker::Sync for ID3D10EffectVectorVariable {} unsafe impl ::windows_core::Interface for ID3D10EffectVectorVariable { type Vtable = ID3D10EffectVectorVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10EffectVectorVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10EffectVectorVariable_Vtbl { @@ -4363,6 +3913,7 @@ pub struct ID3D10EffectVectorVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10GeometryShader(::windows_core::IUnknown); impl ID3D10GeometryShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4384,27 +3935,11 @@ impl ID3D10GeometryShader { } } ::windows_core::imp::interface_hierarchy!(ID3D10GeometryShader, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10GeometryShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10GeometryShader {} -impl ::core::fmt::Debug for ID3D10GeometryShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10GeometryShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10GeometryShader {} unsafe impl ::core::marker::Sync for ID3D10GeometryShader {} unsafe impl ::windows_core::Interface for ID3D10GeometryShader { type Vtable = ID3D10GeometryShader_Vtbl; } -impl ::core::clone::Clone for ID3D10GeometryShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10GeometryShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6316be88_54cd_4040_ab44_20461bc81f68); } @@ -4415,6 +3950,7 @@ pub struct ID3D10GeometryShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10InfoQueue(::windows_core::IUnknown); impl ID3D10InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> ::windows_core::Result<()> { @@ -4558,27 +4094,11 @@ impl ID3D10InfoQueue { } } ::windows_core::imp::interface_hierarchy!(ID3D10InfoQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10InfoQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10InfoQueue {} -impl ::core::fmt::Debug for ID3D10InfoQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10InfoQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10InfoQueue {} unsafe impl ::core::marker::Sync for ID3D10InfoQueue {} unsafe impl ::windows_core::Interface for ID3D10InfoQueue { type Vtable = ID3D10InfoQueue_Vtbl; } -impl ::core::clone::Clone for ID3D10InfoQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10InfoQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b940b17_2642_4d1f_ab1f_b99bad0c395f); } @@ -4648,6 +4168,7 @@ pub struct ID3D10InfoQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10InputLayout(::windows_core::IUnknown); impl ID3D10InputLayout { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4669,27 +4190,11 @@ impl ID3D10InputLayout { } } ::windows_core::imp::interface_hierarchy!(ID3D10InputLayout, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10InputLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10InputLayout {} -impl ::core::fmt::Debug for ID3D10InputLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10InputLayout").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10InputLayout {} unsafe impl ::core::marker::Sync for ID3D10InputLayout {} unsafe impl ::windows_core::Interface for ID3D10InputLayout { type Vtable = ID3D10InputLayout_Vtbl; } -impl ::core::clone::Clone for ID3D10InputLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10InputLayout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0b_342c_4106_a19f_4f2704f689f0); } @@ -4700,6 +4205,7 @@ pub struct ID3D10InputLayout_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Multithread(::windows_core::IUnknown); impl ID3D10Multithread { pub unsafe fn Enter(&self) { @@ -4723,27 +4229,11 @@ impl ID3D10Multithread { } } ::windows_core::imp::interface_hierarchy!(ID3D10Multithread, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10Multithread { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Multithread {} -impl ::core::fmt::Debug for ID3D10Multithread { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Multithread").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Multithread {} unsafe impl ::core::marker::Sync for ID3D10Multithread {} unsafe impl ::windows_core::Interface for ID3D10Multithread { type Vtable = ID3D10Multithread_Vtbl; } -impl ::core::clone::Clone for ID3D10Multithread { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Multithread { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4e00_342c_4106_a19f_4f2704f689f0); } @@ -4764,6 +4254,7 @@ pub struct ID3D10Multithread_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10PixelShader(::windows_core::IUnknown); impl ID3D10PixelShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4785,27 +4276,11 @@ impl ID3D10PixelShader { } } ::windows_core::imp::interface_hierarchy!(ID3D10PixelShader, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10PixelShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10PixelShader {} -impl ::core::fmt::Debug for ID3D10PixelShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10PixelShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10PixelShader {} unsafe impl ::core::marker::Sync for ID3D10PixelShader {} unsafe impl ::windows_core::Interface for ID3D10PixelShader { type Vtable = ID3D10PixelShader_Vtbl; } -impl ::core::clone::Clone for ID3D10PixelShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10PixelShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4968b601_9d00_4cde_8346_8e7f675819b6); } @@ -4816,6 +4291,7 @@ pub struct ID3D10PixelShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Predicate(::windows_core::IUnknown); impl ID3D10Predicate { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4854,27 +4330,11 @@ impl ID3D10Predicate { } } ::windows_core::imp::interface_hierarchy!(ID3D10Predicate, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous, ID3D10Query); -impl ::core::cmp::PartialEq for ID3D10Predicate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Predicate {} -impl ::core::fmt::Debug for ID3D10Predicate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Predicate").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Predicate {} unsafe impl ::core::marker::Sync for ID3D10Predicate {} unsafe impl ::windows_core::Interface for ID3D10Predicate { type Vtable = ID3D10Predicate_Vtbl; } -impl ::core::clone::Clone for ID3D10Predicate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Predicate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c10_342c_4106_a19f_4f2704f689f0); } @@ -4885,6 +4345,7 @@ pub struct ID3D10Predicate_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Query(::windows_core::IUnknown); impl ID3D10Query { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4923,27 +4384,11 @@ impl ID3D10Query { } } ::windows_core::imp::interface_hierarchy!(ID3D10Query, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); -impl ::core::cmp::PartialEq for ID3D10Query { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Query {} -impl ::core::fmt::Debug for ID3D10Query { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Query").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Query {} unsafe impl ::core::marker::Sync for ID3D10Query {} unsafe impl ::windows_core::Interface for ID3D10Query { type Vtable = ID3D10Query_Vtbl; } -impl ::core::clone::Clone for ID3D10Query { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Query { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0e_342c_4106_a19f_4f2704f689f0); } @@ -4955,6 +4400,7 @@ pub struct ID3D10Query_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10RasterizerState(::windows_core::IUnknown); impl ID3D10RasterizerState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4981,27 +4427,11 @@ impl ID3D10RasterizerState { } } ::windows_core::imp::interface_hierarchy!(ID3D10RasterizerState, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10RasterizerState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10RasterizerState {} -impl ::core::fmt::Debug for ID3D10RasterizerState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10RasterizerState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10RasterizerState {} unsafe impl ::core::marker::Sync for ID3D10RasterizerState {} unsafe impl ::windows_core::Interface for ID3D10RasterizerState { type Vtable = ID3D10RasterizerState_Vtbl; } -impl ::core::clone::Clone for ID3D10RasterizerState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10RasterizerState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2a07292_89af_4345_be2e_c53d9fbb6e9f); } @@ -5016,6 +4446,7 @@ pub struct ID3D10RasterizerState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10RenderTargetView(::windows_core::IUnknown); impl ID3D10RenderTargetView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5047,27 +4478,11 @@ impl ID3D10RenderTargetView { } } ::windows_core::imp::interface_hierarchy!(ID3D10RenderTargetView, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); -impl ::core::cmp::PartialEq for ID3D10RenderTargetView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10RenderTargetView {} -impl ::core::fmt::Debug for ID3D10RenderTargetView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10RenderTargetView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10RenderTargetView {} unsafe impl ::core::marker::Sync for ID3D10RenderTargetView {} unsafe impl ::windows_core::Interface for ID3D10RenderTargetView { type Vtable = ID3D10RenderTargetView_Vtbl; } -impl ::core::clone::Clone for ID3D10RenderTargetView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10RenderTargetView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c08_342c_4106_a19f_4f2704f689f0); } @@ -5082,6 +4497,7 @@ pub struct ID3D10RenderTargetView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Resource(::windows_core::IUnknown); impl ID3D10Resource { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5114,27 +4530,11 @@ impl ID3D10Resource { } } ::windows_core::imp::interface_hierarchy!(ID3D10Resource, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10Resource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Resource {} -impl ::core::fmt::Debug for ID3D10Resource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Resource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Resource {} unsafe impl ::core::marker::Sync for ID3D10Resource {} unsafe impl ::windows_core::Interface for ID3D10Resource { type Vtable = ID3D10Resource_Vtbl; } -impl ::core::clone::Clone for ID3D10Resource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Resource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c01_342c_4106_a19f_4f2704f689f0); } @@ -5148,6 +4548,7 @@ pub struct ID3D10Resource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10SamplerState(::windows_core::IUnknown); impl ID3D10SamplerState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5172,27 +4573,11 @@ impl ID3D10SamplerState { } } ::windows_core::imp::interface_hierarchy!(ID3D10SamplerState, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10SamplerState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10SamplerState {} -impl ::core::fmt::Debug for ID3D10SamplerState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10SamplerState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10SamplerState {} unsafe impl ::core::marker::Sync for ID3D10SamplerState {} unsafe impl ::windows_core::Interface for ID3D10SamplerState { type Vtable = ID3D10SamplerState_Vtbl; } -impl ::core::clone::Clone for ID3D10SamplerState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10SamplerState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0c_342c_4106_a19f_4f2704f689f0); } @@ -5204,6 +4589,7 @@ pub struct ID3D10SamplerState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderReflection(::windows_core::IUnknown); impl ID3D10ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -5237,27 +4623,11 @@ impl ID3D10ShaderReflection { } } ::windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10ShaderReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderReflection {} -impl ::core::fmt::Debug for ID3D10ShaderReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderReflection {} unsafe impl ::core::marker::Sync for ID3D10ShaderReflection {} unsafe impl ::windows_core::Interface for ID3D10ShaderReflection { type Vtable = ID3D10ShaderReflection_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10ShaderReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd40e20b6_f8f7_42ad_ab20_4baf8f15dfaa); } @@ -5286,6 +4656,7 @@ pub struct ID3D10ShaderReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderReflection1(::windows_core::IUnknown); impl ID3D10ShaderReflection1 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -5367,27 +4738,11 @@ impl ID3D10ShaderReflection1 { } } ::windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10ShaderReflection1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderReflection1 {} -impl ::core::fmt::Debug for ID3D10ShaderReflection1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderReflection1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderReflection1 {} unsafe impl ::core::marker::Sync for ID3D10ShaderReflection1 {} unsafe impl ::windows_core::Interface for ID3D10ShaderReflection1 { type Vtable = ID3D10ShaderReflection1_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderReflection1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10ShaderReflection1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3457783_a846_47ce_9520_cea6f66e7447); } @@ -5437,6 +4792,7 @@ pub struct ID3D10ShaderReflection1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderReflectionConstantBuffer(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10ShaderReflectionConstantBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -5454,27 +4810,11 @@ impl ID3D10ShaderReflectionConstantBuffer { (::windows_core::Interface::vtable(self).GetVariableByName)(::windows_core::Interface::as_raw(self), name.into_param().abi()) } } -impl ::core::cmp::PartialEq for ID3D10ShaderReflectionConstantBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderReflectionConstantBuffer {} -impl ::core::fmt::Debug for ID3D10ShaderReflectionConstantBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderReflectionConstantBuffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderReflectionConstantBuffer {} unsafe impl ::core::marker::Sync for ID3D10ShaderReflectionConstantBuffer {} unsafe impl ::windows_core::Interface for ID3D10ShaderReflectionConstantBuffer { type Vtable = ID3D10ShaderReflectionConstantBuffer_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderReflectionConstantBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10ShaderReflectionConstantBuffer_Vtbl { @@ -5487,6 +4827,7 @@ pub struct ID3D10ShaderReflectionConstantBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderReflectionType(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10ShaderReflectionType { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -5507,27 +4848,11 @@ impl ID3D10ShaderReflectionType { (::windows_core::Interface::vtable(self).GetMemberTypeName)(::windows_core::Interface::as_raw(self), index) } } -impl ::core::cmp::PartialEq for ID3D10ShaderReflectionType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderReflectionType {} -impl ::core::fmt::Debug for ID3D10ShaderReflectionType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderReflectionType").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderReflectionType {} unsafe impl ::core::marker::Sync for ID3D10ShaderReflectionType {} unsafe impl ::windows_core::Interface for ID3D10ShaderReflectionType { type Vtable = ID3D10ShaderReflectionType_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderReflectionType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10ShaderReflectionType_Vtbl { @@ -5541,6 +4866,7 @@ pub struct ID3D10ShaderReflectionType_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderReflectionVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D10ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D10_SHADER_VARIABLE_DESC) -> ::windows_core::Result<()> { @@ -5550,27 +4876,11 @@ impl ID3D10ShaderReflectionVariable { (::windows_core::Interface::vtable(self).GetType)(::windows_core::Interface::as_raw(self)) } } -impl ::core::cmp::PartialEq for ID3D10ShaderReflectionVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderReflectionVariable {} -impl ::core::fmt::Debug for ID3D10ShaderReflectionVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderReflectionVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderReflectionVariable {} unsafe impl ::core::marker::Sync for ID3D10ShaderReflectionVariable {} unsafe impl ::windows_core::Interface for ID3D10ShaderReflectionVariable { type Vtable = ID3D10ShaderReflectionVariable_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderReflectionVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D10ShaderReflectionVariable_Vtbl { @@ -5579,6 +4889,7 @@ pub struct ID3D10ShaderReflectionVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderResourceView(::windows_core::IUnknown); impl ID3D10ShaderResourceView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5610,27 +4921,11 @@ impl ID3D10ShaderResourceView { } } ::windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); -impl ::core::cmp::PartialEq for ID3D10ShaderResourceView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderResourceView {} -impl ::core::fmt::Debug for ID3D10ShaderResourceView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderResourceView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderResourceView {} unsafe impl ::core::marker::Sync for ID3D10ShaderResourceView {} unsafe impl ::windows_core::Interface for ID3D10ShaderResourceView { type Vtable = ID3D10ShaderResourceView_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderResourceView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10ShaderResourceView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c07_342c_4106_a19f_4f2704f689f0); } @@ -5645,6 +4940,7 @@ pub struct ID3D10ShaderResourceView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10ShaderResourceView1(::windows_core::IUnknown); impl ID3D10ShaderResourceView1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5681,27 +4977,11 @@ impl ID3D10ShaderResourceView1 { } } ::windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView1, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10View, ID3D10ShaderResourceView); -impl ::core::cmp::PartialEq for ID3D10ShaderResourceView1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10ShaderResourceView1 {} -impl ::core::fmt::Debug for ID3D10ShaderResourceView1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10ShaderResourceView1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10ShaderResourceView1 {} unsafe impl ::core::marker::Sync for ID3D10ShaderResourceView1 {} unsafe impl ::windows_core::Interface for ID3D10ShaderResourceView1 { type Vtable = ID3D10ShaderResourceView1_Vtbl; } -impl ::core::clone::Clone for ID3D10ShaderResourceView1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10ShaderResourceView1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c87_342c_4106_a19f_4f2704f689f0); } @@ -5716,6 +4996,7 @@ pub struct ID3D10ShaderResourceView1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10StateBlock(::windows_core::IUnknown); impl ID3D10StateBlock { pub unsafe fn Capture(&self) -> ::windows_core::Result<()> { @@ -5733,27 +5014,11 @@ impl ID3D10StateBlock { } } ::windows_core::imp::interface_hierarchy!(ID3D10StateBlock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10StateBlock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10StateBlock {} -impl ::core::fmt::Debug for ID3D10StateBlock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10StateBlock").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10StateBlock {} unsafe impl ::core::marker::Sync for ID3D10StateBlock {} unsafe impl ::windows_core::Interface for ID3D10StateBlock { type Vtable = ID3D10StateBlock_Vtbl; } -impl ::core::clone::Clone for ID3D10StateBlock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10StateBlock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0803425a_57f5_4dd6_9465_a87570834a08); } @@ -5768,6 +5033,7 @@ pub struct ID3D10StateBlock_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10SwitchToRef(::windows_core::IUnknown); impl ID3D10SwitchToRef { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5785,27 +5051,11 @@ impl ID3D10SwitchToRef { } } ::windows_core::imp::interface_hierarchy!(ID3D10SwitchToRef, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D10SwitchToRef { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10SwitchToRef {} -impl ::core::fmt::Debug for ID3D10SwitchToRef { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10SwitchToRef").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10SwitchToRef {} unsafe impl ::core::marker::Sync for ID3D10SwitchToRef {} unsafe impl ::windows_core::Interface for ID3D10SwitchToRef { type Vtable = ID3D10SwitchToRef_Vtbl; } -impl ::core::clone::Clone for ID3D10SwitchToRef { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10SwitchToRef { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4e02_342c_4106_a19f_4f2704f689f0); } @@ -5824,6 +5074,7 @@ pub struct ID3D10SwitchToRef_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Texture1D(::windows_core::IUnknown); impl ID3D10Texture1D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5867,27 +5118,11 @@ impl ID3D10Texture1D { } } ::windows_core::imp::interface_hierarchy!(ID3D10Texture1D, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); -impl ::core::cmp::PartialEq for ID3D10Texture1D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Texture1D {} -impl ::core::fmt::Debug for ID3D10Texture1D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Texture1D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Texture1D {} unsafe impl ::core::marker::Sync for ID3D10Texture1D {} unsafe impl ::windows_core::Interface for ID3D10Texture1D { type Vtable = ID3D10Texture1D_Vtbl; } -impl ::core::clone::Clone for ID3D10Texture1D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Texture1D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c03_342c_4106_a19f_4f2704f689f0); } @@ -5904,6 +5139,7 @@ pub struct ID3D10Texture1D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Texture2D(::windows_core::IUnknown); impl ID3D10Texture2D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5948,27 +5184,11 @@ impl ID3D10Texture2D { } } ::windows_core::imp::interface_hierarchy!(ID3D10Texture2D, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); -impl ::core::cmp::PartialEq for ID3D10Texture2D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Texture2D {} -impl ::core::fmt::Debug for ID3D10Texture2D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Texture2D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Texture2D {} unsafe impl ::core::marker::Sync for ID3D10Texture2D {} unsafe impl ::windows_core::Interface for ID3D10Texture2D { type Vtable = ID3D10Texture2D_Vtbl; } -impl ::core::clone::Clone for ID3D10Texture2D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Texture2D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c04_342c_4106_a19f_4f2704f689f0); } @@ -5985,6 +5205,7 @@ pub struct ID3D10Texture2D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10Texture3D(::windows_core::IUnknown); impl ID3D10Texture3D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6029,27 +5250,11 @@ impl ID3D10Texture3D { } } ::windows_core::imp::interface_hierarchy!(ID3D10Texture3D, ::windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); -impl ::core::cmp::PartialEq for ID3D10Texture3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10Texture3D {} -impl ::core::fmt::Debug for ID3D10Texture3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10Texture3D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10Texture3D {} unsafe impl ::core::marker::Sync for ID3D10Texture3D {} unsafe impl ::windows_core::Interface for ID3D10Texture3D { type Vtable = ID3D10Texture3D_Vtbl; } -impl ::core::clone::Clone for ID3D10Texture3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10Texture3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c05_342c_4106_a19f_4f2704f689f0); } @@ -6066,6 +5271,7 @@ pub struct ID3D10Texture3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10VertexShader(::windows_core::IUnknown); impl ID3D10VertexShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6087,27 +5293,11 @@ impl ID3D10VertexShader { } } ::windows_core::imp::interface_hierarchy!(ID3D10VertexShader, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10VertexShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10VertexShader {} -impl ::core::fmt::Debug for ID3D10VertexShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10VertexShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10VertexShader {} unsafe impl ::core::marker::Sync for ID3D10VertexShader {} unsafe impl ::windows_core::Interface for ID3D10VertexShader { type Vtable = ID3D10VertexShader_Vtbl; } -impl ::core::clone::Clone for ID3D10VertexShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10VertexShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4c0a_342c_4106_a19f_4f2704f689f0); } @@ -6118,6 +5308,7 @@ pub struct ID3D10VertexShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D10View(::windows_core::IUnknown); impl ID3D10View { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6144,27 +5335,11 @@ impl ID3D10View { } } ::windows_core::imp::interface_hierarchy!(ID3D10View, ::windows_core::IUnknown, ID3D10DeviceChild); -impl ::core::cmp::PartialEq for ID3D10View { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D10View {} -impl ::core::fmt::Debug for ID3D10View { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D10View").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D10View {} unsafe impl ::core::marker::Sync for ID3D10View {} unsafe impl ::windows_core::Interface for ID3D10View { type Vtable = ID3D10View_Vtbl; } -impl ::core::clone::Clone for ID3D10View { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D10View { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc902b03f_60a7_49ba_9936_2a3ab37a7e33); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index 6c35ded83f..32854e8eb8 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -12,8 +12,8 @@ impl ID3D11Asynchronous_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDataSize: GetDataSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl ID3D11AuthenticatedChannel_Vtbl { GetChannelHandle: GetChannelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl ID3D11BlendState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl ID3D11BlendState1_Vtbl { } Self { base__: ID3D11BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl ID3D11Buffer_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl ID3D11ClassInstance_Vtbl { GetTypeName: GetTypeName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl ID3D11ClassLinkage_Vtbl { CreateClassInstance: CreateClassInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -219,8 +219,8 @@ impl ID3D11CommandList_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetContextFlags: GetContextFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl ID3D11ComputeShader_Vtbl { pub const fn new, Impl: ID3D11ComputeShader_Impl, const OFFSET: isize>() -> ID3D11ComputeShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl ID3D11Counter_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -306,8 +306,8 @@ impl ID3D11CryptoSession_Vtbl { GetCryptoSessionHandle: GetCryptoSessionHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -392,8 +392,8 @@ impl ID3D11Debug_Vtbl { ValidateContextForDispatch: ValidateContextForDispatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -413,8 +413,8 @@ impl ID3D11DepthStencilState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl ID3D11DepthStencilView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -749,8 +749,8 @@ impl ID3D11Device_Vtbl { GetExceptionMode: GetExceptionMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ID3D11Device1_Vtbl { OpenSharedResourceByName: OpenSharedResourceByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl ID3D11Device2_Vtbl { CheckMultisampleQualityLevels1: CheckMultisampleQualityLevels1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -960,8 +960,8 @@ impl ID3D11Device3_Vtbl { ReadFromSubresource: ReadFromSubresource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl ID3D11Device4_Vtbl { UnregisterDeviceRemoved: UnregisterDeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1028,8 +1028,8 @@ impl ID3D11Device5_Vtbl { CreateFence: CreateFence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -1070,8 +1070,8 @@ impl ID3D11DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1843,8 +1843,8 @@ impl ID3D11DeviceContext_Vtbl { FinishCommandList: FinishCommandList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1993,8 +1993,8 @@ impl ID3D11DeviceContext1_Vtbl { DiscardView1: DiscardView1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2092,8 +2092,8 @@ impl ID3D11DeviceContext2_Vtbl { EndEvent: EndEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl ID3D11DeviceContext3_Vtbl { GetHardwareProtectionState: GetHardwareProtectionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2161,8 +2161,8 @@ impl ID3D11DeviceContext4_Vtbl { Wait: Wait::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2172,8 +2172,8 @@ impl ID3D11DomainShader_Vtbl { pub const fn new, Impl: ID3D11DomainShader_Impl, const OFFSET: isize>() -> ID3D11DomainShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -2216,8 +2216,8 @@ impl ID3D11Fence_Vtbl { SetEventOnCompletion: SetEventOnCompletion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2313,8 +2313,8 @@ impl ID3D11FunctionLinkingGraph_Vtbl { GenerateHlsl: GenerateHlsl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2430,8 +2430,8 @@ impl ID3D11GeometryShader_Vtbl { pub const fn new, Impl: ID3D11GeometryShader_Impl, const OFFSET: isize>() -> ID3D11GeometryShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2441,8 +2441,8 @@ impl ID3D11HullShader_Vtbl { pub const fn new, Impl: ID3D11HullShader_Impl, const OFFSET: isize>() -> ID3D11HullShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2703,8 +2703,8 @@ impl ID3D11InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2714,8 +2714,8 @@ impl ID3D11InputLayout_Vtbl { pub const fn new, Impl: ID3D11InputLayout_Impl, const OFFSET: isize>() -> ID3D11InputLayout_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2748,8 +2748,8 @@ impl ID3D11LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2786,8 +2786,8 @@ impl ID3D11Linker_Vtbl { AddClipPlaneFromCBuffer: AddClipPlaneFromCBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl ID3D11LinkingNode_Vtbl { pub const fn new, Impl: ID3D11LinkingNode_Impl, const OFFSET: isize>() -> ID3D11LinkingNode_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2821,8 +2821,8 @@ impl ID3D11Module_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl ID3D11ModuleInstance_Vtbl { BindResourceAsUnorderedAccessViewByName: BindResourceAsUnorderedAccessViewByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2950,8 +2950,8 @@ impl ID3D11Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2961,8 +2961,8 @@ impl ID3D11PixelShader_Vtbl { pub const fn new, Impl: ID3D11PixelShader_Impl, const OFFSET: isize>() -> ID3D11PixelShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl ID3D11Predicate_Vtbl { pub const fn new, Impl: ID3D11Predicate_Impl, const OFFSET: isize>() -> ID3D11Predicate_Vtbl { Self { base__: ID3D11Query_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2990,8 +2990,8 @@ impl ID3D11Query_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3008,8 +3008,8 @@ impl ID3D11Query1_Vtbl { } Self { base__: ID3D11Query_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3029,8 +3029,8 @@ impl ID3D11RasterizerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3050,8 +3050,8 @@ impl ID3D11RasterizerState1_Vtbl { } Self { base__: ID3D11RasterizerState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3071,8 +3071,8 @@ impl ID3D11RasterizerState2_Vtbl { } Self { base__: ID3D11RasterizerState1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3089,8 +3089,8 @@ impl ID3D11RefDefaultTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl ID3D11RefTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3128,8 +3128,8 @@ impl ID3D11RenderTargetView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl ID3D11RenderTargetView1_Vtbl { } Self { base__: ID3D11RenderTargetView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3184,8 +3184,8 @@ impl ID3D11Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl ID3D11SamplerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3358,8 +3358,8 @@ impl ID3D11ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3569,8 +3569,8 @@ impl ID3D11ShaderResourceView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3590,8 +3590,8 @@ impl ID3D11ShaderResourceView1_Vtbl { } Self { base__: ID3D11ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3663,8 +3663,8 @@ impl ID3D11ShaderTrace_Vtbl { GetReadRegister: GetReadRegister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3687,8 +3687,8 @@ impl ID3D11ShaderTraceFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateShaderTrace: CreateShaderTrace:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3718,8 +3718,8 @@ impl ID3D11SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3739,8 +3739,8 @@ impl ID3D11Texture1D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3760,8 +3760,8 @@ impl ID3D11Texture2D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3781,8 +3781,8 @@ impl ID3D11Texture2D1_Vtbl { } Self { base__: ID3D11Texture2D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3802,8 +3802,8 @@ impl ID3D11Texture3D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3823,8 +3823,8 @@ impl ID3D11Texture3D1_Vtbl { } Self { base__: ID3D11Texture3D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3851,8 +3851,8 @@ impl ID3D11TracingDevice_Vtbl { SetShaderTrackingOptions: SetShaderTrackingOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3872,8 +3872,8 @@ impl ID3D11UnorderedAccessView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3893,8 +3893,8 @@ impl ID3D11UnorderedAccessView1_Vtbl { } Self { base__: ID3D11UnorderedAccessView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3904,8 +3904,8 @@ impl ID3D11VertexShader_Vtbl { pub const fn new, Impl: ID3D11VertexShader_Impl, const OFFSET: isize>() -> ID3D11VertexShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4327,8 +4327,8 @@ impl ID3D11VideoContext_Vtbl { VideoProcessorGetStreamRotation: VideoProcessorGetStreamRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4460,8 +4460,8 @@ impl ID3D11VideoContext1_Vtbl { VideoProcessorGetBehaviorHints: VideoProcessorGetBehaviorHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4505,8 +4505,8 @@ impl ID3D11VideoContext2_Vtbl { VideoProcessorGetStreamHDRMetaData: VideoProcessorGetStreamHDRMetaData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4536,8 +4536,8 @@ impl ID3D11VideoContext3_Vtbl { SubmitDecoderBuffers2: SubmitDecoderBuffers2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4573,8 +4573,8 @@ impl ID3D11VideoDecoder_Vtbl { GetDriverHandle: GetDriverHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -4591,8 +4591,8 @@ impl ID3D11VideoDecoderOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4781,8 +4781,8 @@ impl ID3D11VideoDevice_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4838,8 +4838,8 @@ impl ID3D11VideoDevice1_Vtbl { RecommendVideoDecoderDownsampleParameters: RecommendVideoDecoderDownsampleParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4869,8 +4869,8 @@ impl ID3D11VideoDevice2_Vtbl { NegotiateCryptoSessionKeyExchangeMT: NegotiateCryptoSessionKeyExchangeMT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4900,8 +4900,8 @@ impl ID3D11VideoProcessor_Vtbl { GetRateConversionCaps: GetRateConversionCaps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4971,8 +4971,8 @@ impl ID3D11VideoProcessorEnumerator_Vtbl { GetVideoProcessorFilterRange: GetVideoProcessorFilterRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -5001,8 +5001,8 @@ impl ID3D11VideoProcessorEnumerator1_Vtbl { CheckVideoProcessorFormatConversion: CheckVideoProcessorFormatConversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5019,8 +5019,8 @@ impl ID3D11VideoProcessorInputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5037,8 +5037,8 @@ impl ID3D11VideoProcessorOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5055,8 +5055,8 @@ impl ID3D11View_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5066,8 +5066,8 @@ impl ID3DDeviceContextState_Vtbl { pub const fn new, Impl: ID3DDeviceContextState_Impl, const OFFSET: isize>() -> ID3DDeviceContextState_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5111,8 +5111,8 @@ impl ID3DUserDefinedAnnotation_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5174,8 +5174,8 @@ impl ID3DX11FFT_Vtbl { InverseTransform: InverseTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5209,8 +5209,8 @@ impl ID3DX11Scan_Vtbl { Multiscan: Multiscan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5237,7 +5237,7 @@ impl ID3DX11SegmentedScan_Vtbl { SegScan: SegScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs index f4b50c30dd..541974fd0d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -130,6 +130,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Asynchronous(::windows_core::IUnknown); impl ID3D11Asynchronous { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -154,27 +155,11 @@ impl ID3D11Asynchronous { } } ::windows_core::imp::interface_hierarchy!(ID3D11Asynchronous, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11Asynchronous { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Asynchronous {} -impl ::core::fmt::Debug for ID3D11Asynchronous { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Asynchronous").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Asynchronous {} unsafe impl ::core::marker::Sync for ID3D11Asynchronous {} unsafe impl ::windows_core::Interface for ID3D11Asynchronous { type Vtable = ID3D11Asynchronous_Vtbl; } -impl ::core::clone::Clone for ID3D11Asynchronous { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Asynchronous { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); } @@ -186,6 +171,7 @@ pub struct ID3D11Asynchronous_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11AuthenticatedChannel(::windows_core::IUnknown); impl ID3D11AuthenticatedChannel { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -221,27 +207,11 @@ impl ID3D11AuthenticatedChannel { } } ::windows_core::imp::interface_hierarchy!(ID3D11AuthenticatedChannel, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11AuthenticatedChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11AuthenticatedChannel {} -impl ::core::fmt::Debug for ID3D11AuthenticatedChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11AuthenticatedChannel").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11AuthenticatedChannel {} unsafe impl ::core::marker::Sync for ID3D11AuthenticatedChannel {} unsafe impl ::windows_core::Interface for ID3D11AuthenticatedChannel { type Vtable = ID3D11AuthenticatedChannel_Vtbl; } -impl ::core::clone::Clone for ID3D11AuthenticatedChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11AuthenticatedChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3015a308_dcbd_47aa_a747_192486d14d4a); } @@ -258,6 +228,7 @@ pub struct ID3D11AuthenticatedChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11BlendState(::windows_core::IUnknown); impl ID3D11BlendState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -284,27 +255,11 @@ impl ID3D11BlendState { } } ::windows_core::imp::interface_hierarchy!(ID3D11BlendState, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11BlendState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11BlendState {} -impl ::core::fmt::Debug for ID3D11BlendState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11BlendState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11BlendState {} unsafe impl ::core::marker::Sync for ID3D11BlendState {} unsafe impl ::windows_core::Interface for ID3D11BlendState { type Vtable = ID3D11BlendState_Vtbl; } -impl ::core::clone::Clone for ID3D11BlendState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11BlendState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75b68faa_347d_4159_8f45_a0640f01cd9a); } @@ -319,6 +274,7 @@ pub struct ID3D11BlendState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11BlendState1(::windows_core::IUnknown); impl ID3D11BlendState1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -350,27 +306,11 @@ impl ID3D11BlendState1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11BlendState1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); -impl ::core::cmp::PartialEq for ID3D11BlendState1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11BlendState1 {} -impl ::core::fmt::Debug for ID3D11BlendState1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11BlendState1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11BlendState1 {} unsafe impl ::core::marker::Sync for ID3D11BlendState1 {} unsafe impl ::windows_core::Interface for ID3D11BlendState1 { type Vtable = ID3D11BlendState1_Vtbl; } -impl ::core::clone::Clone for ID3D11BlendState1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11BlendState1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc86fabe_da55_401d_85e7_e3c9de2877e9); } @@ -385,6 +325,7 @@ pub struct ID3D11BlendState1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Buffer(::windows_core::IUnknown); impl ID3D11Buffer { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -420,27 +361,11 @@ impl ID3D11Buffer { } } ::windows_core::imp::interface_hierarchy!(ID3D11Buffer, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); -impl ::core::cmp::PartialEq for ID3D11Buffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Buffer {} -impl ::core::fmt::Debug for ID3D11Buffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Buffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Buffer {} unsafe impl ::core::marker::Sync for ID3D11Buffer {} unsafe impl ::windows_core::Interface for ID3D11Buffer { type Vtable = ID3D11Buffer_Vtbl; } -impl ::core::clone::Clone for ID3D11Buffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Buffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48570b85_d1ee_4fcd_a250_eb350722b037); } @@ -452,6 +377,7 @@ pub struct ID3D11Buffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ClassInstance(::windows_core::IUnknown); impl ID3D11ClassInstance { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -489,27 +415,11 @@ impl ID3D11ClassInstance { } } ::windows_core::imp::interface_hierarchy!(ID3D11ClassInstance, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11ClassInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ClassInstance {} -impl ::core::fmt::Debug for ID3D11ClassInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ClassInstance").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ClassInstance {} unsafe impl ::core::marker::Sync for ID3D11ClassInstance {} unsafe impl ::windows_core::Interface for ID3D11ClassInstance { type Vtable = ID3D11ClassInstance_Vtbl; } -impl ::core::clone::Clone for ID3D11ClassInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ClassInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6cd7faa_b0b7_4a2f_9436_8662a65797cb); } @@ -527,6 +437,7 @@ pub struct ID3D11ClassInstance_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ClassLinkage(::windows_core::IUnknown); impl ID3D11ClassLinkage { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -562,27 +473,11 @@ impl ID3D11ClassLinkage { } } ::windows_core::imp::interface_hierarchy!(ID3D11ClassLinkage, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11ClassLinkage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ClassLinkage {} -impl ::core::fmt::Debug for ID3D11ClassLinkage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ClassLinkage").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ClassLinkage {} unsafe impl ::core::marker::Sync for ID3D11ClassLinkage {} unsafe impl ::windows_core::Interface for ID3D11ClassLinkage { type Vtable = ID3D11ClassLinkage_Vtbl; } -impl ::core::clone::Clone for ID3D11ClassLinkage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ClassLinkage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddf57cba_9543_46e4_a12b_f207a0fe7fed); } @@ -595,6 +490,7 @@ pub struct ID3D11ClassLinkage_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11CommandList(::windows_core::IUnknown); impl ID3D11CommandList { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -619,27 +515,11 @@ impl ID3D11CommandList { } } ::windows_core::imp::interface_hierarchy!(ID3D11CommandList, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11CommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11CommandList {} -impl ::core::fmt::Debug for ID3D11CommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11CommandList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11CommandList {} unsafe impl ::core::marker::Sync for ID3D11CommandList {} unsafe impl ::windows_core::Interface for ID3D11CommandList { type Vtable = ID3D11CommandList_Vtbl; } -impl ::core::clone::Clone for ID3D11CommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11CommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa24bc4d1_769e_43f7_8013_98ff566c18e2); } @@ -651,6 +531,7 @@ pub struct ID3D11CommandList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ComputeShader(::windows_core::IUnknown); impl ID3D11ComputeShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -672,27 +553,11 @@ impl ID3D11ComputeShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11ComputeShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11ComputeShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ComputeShader {} -impl ::core::fmt::Debug for ID3D11ComputeShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ComputeShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ComputeShader {} unsafe impl ::core::marker::Sync for ID3D11ComputeShader {} unsafe impl ::windows_core::Interface for ID3D11ComputeShader { type Vtable = ID3D11ComputeShader_Vtbl; } -impl ::core::clone::Clone for ID3D11ComputeShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ComputeShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f5b196e_c2bd_495e_bd01_1fded38e4969); } @@ -703,6 +568,7 @@ pub struct ID3D11ComputeShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Counter(::windows_core::IUnknown); impl ID3D11Counter { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -732,27 +598,11 @@ impl ID3D11Counter { } } ::windows_core::imp::interface_hierarchy!(ID3D11Counter, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); -impl ::core::cmp::PartialEq for ID3D11Counter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Counter {} -impl ::core::fmt::Debug for ID3D11Counter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Counter").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Counter {} unsafe impl ::core::marker::Sync for ID3D11Counter {} unsafe impl ::windows_core::Interface for ID3D11Counter { type Vtable = ID3D11Counter_Vtbl; } -impl ::core::clone::Clone for ID3D11Counter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Counter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e8c49fb_a371_4770_b440_29086022b741); } @@ -764,6 +614,7 @@ pub struct ID3D11Counter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11CryptoSession(::windows_core::IUnknown); impl ID3D11CryptoSession { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -809,27 +660,11 @@ impl ID3D11CryptoSession { } } ::windows_core::imp::interface_hierarchy!(ID3D11CryptoSession, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11CryptoSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11CryptoSession {} -impl ::core::fmt::Debug for ID3D11CryptoSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11CryptoSession").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11CryptoSession {} unsafe impl ::core::marker::Sync for ID3D11CryptoSession {} unsafe impl ::windows_core::Interface for ID3D11CryptoSession { type Vtable = ID3D11CryptoSession_Vtbl; } -impl ::core::clone::Clone for ID3D11CryptoSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11CryptoSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b32f9ad_bdcc_40a6_a39d_d5c865845720); } @@ -848,6 +683,7 @@ pub struct ID3D11CryptoSession_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Debug(::windows_core::IUnknown); impl ID3D11Debug { pub unsafe fn SetFeatureMask(&self, mask: u32) -> ::windows_core::Result<()> { @@ -893,27 +729,11 @@ impl ID3D11Debug { } } ::windows_core::imp::interface_hierarchy!(ID3D11Debug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11Debug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Debug {} -impl ::core::fmt::Debug for ID3D11Debug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Debug").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Debug {} unsafe impl ::core::marker::Sync for ID3D11Debug {} unsafe impl ::windows_core::Interface for ID3D11Debug { type Vtable = ID3D11Debug_Vtbl; } -impl ::core::clone::Clone for ID3D11Debug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Debug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79cf2233_7536_4948_9d36_1e4692dc5760); } @@ -939,6 +759,7 @@ pub struct ID3D11Debug_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DepthStencilState(::windows_core::IUnknown); impl ID3D11DepthStencilState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -965,27 +786,11 @@ impl ID3D11DepthStencilState { } } ::windows_core::imp::interface_hierarchy!(ID3D11DepthStencilState, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11DepthStencilState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DepthStencilState {} -impl ::core::fmt::Debug for ID3D11DepthStencilState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DepthStencilState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DepthStencilState {} unsafe impl ::core::marker::Sync for ID3D11DepthStencilState {} unsafe impl ::windows_core::Interface for ID3D11DepthStencilState { type Vtable = ID3D11DepthStencilState_Vtbl; } -impl ::core::clone::Clone for ID3D11DepthStencilState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DepthStencilState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03823efb_8d8f_4e1c_9aa2_f64bb2cbfdf1); } @@ -1000,6 +805,7 @@ pub struct ID3D11DepthStencilState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DepthStencilView(::windows_core::IUnknown); impl ID3D11DepthStencilView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -1031,27 +837,11 @@ impl ID3D11DepthStencilView { } } ::windows_core::imp::interface_hierarchy!(ID3D11DepthStencilView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11DepthStencilView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DepthStencilView {} -impl ::core::fmt::Debug for ID3D11DepthStencilView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DepthStencilView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DepthStencilView {} unsafe impl ::core::marker::Sync for ID3D11DepthStencilView {} unsafe impl ::windows_core::Interface for ID3D11DepthStencilView { type Vtable = ID3D11DepthStencilView_Vtbl; } -impl ::core::clone::Clone for ID3D11DepthStencilView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DepthStencilView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fdac92a_1876_48c3_afad_25b94f84a9b6); } @@ -1066,6 +856,7 @@ pub struct ID3D11DepthStencilView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device(::windows_core::IUnknown); impl ID3D11Device { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -1279,27 +1070,11 @@ impl ID3D11Device { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device {} -impl ::core::fmt::Debug for ID3D11Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device {} unsafe impl ::core::marker::Sync for ID3D11Device {} unsafe impl ::windows_core::Interface for ID3D11Device { type Vtable = ID3D11Device_Vtbl; } -impl ::core::clone::Clone for ID3D11Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb6f6ddb_ac77_4e88_8253_819df9bbf140); } @@ -1395,6 +1170,7 @@ pub struct ID3D11Device_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device1(::windows_core::IUnknown); impl ID3D11Device1 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -1649,27 +1425,11 @@ impl ID3D11Device1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device1, ::windows_core::IUnknown, ID3D11Device); -impl ::core::cmp::PartialEq for ID3D11Device1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device1 {} -impl ::core::fmt::Debug for ID3D11Device1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device1 {} unsafe impl ::core::marker::Sync for ID3D11Device1 {} unsafe impl ::windows_core::Interface for ID3D11Device1 { type Vtable = ID3D11Device1_Vtbl; } -impl ::core::clone::Clone for ID3D11Device1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa04bfb29_08ef_43d6_a49c_a9bdbdcbe686); } @@ -1699,6 +1459,7 @@ pub struct ID3D11Device1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device2(::windows_core::IUnknown); impl ID3D11Device2 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -1973,27 +1734,11 @@ impl ID3D11Device2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device2, ::windows_core::IUnknown, ID3D11Device, ID3D11Device1); -impl ::core::cmp::PartialEq for ID3D11Device2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device2 {} -impl ::core::fmt::Debug for ID3D11Device2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device2 {} unsafe impl ::core::marker::Sync for ID3D11Device2 {} unsafe impl ::windows_core::Interface for ID3D11Device2 { type Vtable = ID3D11Device2_Vtbl; } -impl ::core::clone::Clone for ID3D11Device2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d06dffa_d1e5_4d07_83a8_1bb123f2f841); } @@ -2011,6 +1756,7 @@ pub struct ID3D11Device2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device3(::windows_core::IUnknown); impl ID3D11Device3 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -2347,27 +2093,11 @@ impl ID3D11Device3 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device3, ::windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); -impl ::core::cmp::PartialEq for ID3D11Device3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device3 {} -impl ::core::fmt::Debug for ID3D11Device3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device3 {} unsafe impl ::core::marker::Sync for ID3D11Device3 {} unsafe impl ::windows_core::Interface for ID3D11Device3 { type Vtable = ID3D11Device3_Vtbl; } -impl ::core::clone::Clone for ID3D11Device3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa05c8c37_d2c6_4732_b3a0_9ce0b0dc9ae6); } @@ -2407,6 +2137,7 @@ pub struct ID3D11Device3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device4(::windows_core::IUnknown); impl ID3D11Device4 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -2755,27 +2486,11 @@ impl ID3D11Device4 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device4, ::windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); -impl ::core::cmp::PartialEq for ID3D11Device4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device4 {} -impl ::core::fmt::Debug for ID3D11Device4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device4 {} unsafe impl ::core::marker::Sync for ID3D11Device4 {} unsafe impl ::windows_core::Interface for ID3D11Device4 { type Vtable = ID3D11Device4_Vtbl; } -impl ::core::clone::Clone for ID3D11Device4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8992ab71_02e6_4b8d_ba48_b056dcda42c4); } @@ -2791,6 +2506,7 @@ pub struct ID3D11Device4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Device5(::windows_core::IUnknown); impl ID3D11Device5 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -3154,27 +2870,11 @@ impl ID3D11Device5 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Device5, ::windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); -impl ::core::cmp::PartialEq for ID3D11Device5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Device5 {} -impl ::core::fmt::Debug for ID3D11Device5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Device5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Device5 {} unsafe impl ::core::marker::Sync for ID3D11Device5 {} unsafe impl ::windows_core::Interface for ID3D11Device5 { type Vtable = ID3D11Device5_Vtbl; } -impl ::core::clone::Clone for ID3D11Device5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Device5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ffde202_a0e7_45df_9e01_e837801b5ea0); } @@ -3190,6 +2890,7 @@ pub struct ID3D11Device5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceChild(::windows_core::IUnknown); impl ID3D11DeviceChild { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -3211,27 +2912,11 @@ impl ID3D11DeviceChild { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceChild, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11DeviceChild { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceChild {} -impl ::core::fmt::Debug for ID3D11DeviceChild { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceChild").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceChild {} unsafe impl ::core::marker::Sync for ID3D11DeviceChild {} unsafe impl ::windows_core::Interface for ID3D11DeviceChild { type Vtable = ID3D11DeviceChild_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceChild { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceChild { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1841e5c8_16b0_489b_bcc8_44cfb0d5deae); } @@ -3246,6 +2931,7 @@ pub struct ID3D11DeviceChild_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceContext(::windows_core::IUnknown); impl ID3D11DeviceContext { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -3741,27 +3427,11 @@ impl ID3D11DeviceContext { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceContext, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11DeviceContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceContext {} -impl ::core::fmt::Debug for ID3D11DeviceContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceContext").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceContext {} unsafe impl ::core::marker::Sync for ID3D11DeviceContext {} unsafe impl ::windows_core::Interface for ID3D11DeviceContext { type Vtable = ID3D11DeviceContext_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0bfa96c_e089_44fb_8eaf_26f8796190da); } @@ -3913,6 +3583,7 @@ pub struct ID3D11DeviceContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceContext1(::windows_core::IUnknown); impl ID3D11DeviceContext1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -4491,27 +4162,11 @@ impl ID3D11DeviceContext1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceContext1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); -impl ::core::cmp::PartialEq for ID3D11DeviceContext1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceContext1 {} -impl ::core::fmt::Debug for ID3D11DeviceContext1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceContext1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceContext1 {} unsafe impl ::core::marker::Sync for ID3D11DeviceContext1 {} unsafe impl ::windows_core::Interface for ID3D11DeviceContext1 { type Vtable = ID3D11DeviceContext1_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceContext1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceContext1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb2c6faa_b5fb_4082_8e6b_388b8cfa90e1); } @@ -4547,6 +4202,7 @@ pub struct ID3D11DeviceContext1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceContext2(::windows_core::IUnknown); impl ID3D11DeviceContext2 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5206,27 +4862,11 @@ impl ID3D11DeviceContext2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceContext2, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); -impl ::core::cmp::PartialEq for ID3D11DeviceContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceContext2 {} -impl ::core::fmt::Debug for ID3D11DeviceContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceContext2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceContext2 {} unsafe impl ::core::marker::Sync for ID3D11DeviceContext2 {} unsafe impl ::windows_core::Interface for ID3D11DeviceContext2 { type Vtable = ID3D11DeviceContext2_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x420d5b32_b90c_4da4_bef0_359f6a24a83a); } @@ -5262,6 +4902,7 @@ pub struct ID3D11DeviceContext2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceContext3(::windows_core::IUnknown); impl ID3D11DeviceContext3 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -5944,27 +5585,11 @@ impl ID3D11DeviceContext3 { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceContext3, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); -impl ::core::cmp::PartialEq for ID3D11DeviceContext3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceContext3 {} -impl ::core::fmt::Debug for ID3D11DeviceContext3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceContext3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceContext3 {} unsafe impl ::core::marker::Sync for ID3D11DeviceContext3 {} unsafe impl ::windows_core::Interface for ID3D11DeviceContext3 { type Vtable = ID3D11DeviceContext3_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceContext3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceContext3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4e3c01d_e79e_4637_91b2_510e9f4c9b8f); } @@ -5987,6 +5612,7 @@ pub struct ID3D11DeviceContext3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DeviceContext4(::windows_core::IUnknown); impl ID3D11DeviceContext4 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6681,27 +6307,11 @@ impl ID3D11DeviceContext4 { } } ::windows_core::imp::interface_hierarchy!(ID3D11DeviceContext4, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); -impl ::core::cmp::PartialEq for ID3D11DeviceContext4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DeviceContext4 {} -impl ::core::fmt::Debug for ID3D11DeviceContext4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DeviceContext4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DeviceContext4 {} unsafe impl ::core::marker::Sync for ID3D11DeviceContext4 {} unsafe impl ::windows_core::Interface for ID3D11DeviceContext4 { type Vtable = ID3D11DeviceContext4_Vtbl; } -impl ::core::clone::Clone for ID3D11DeviceContext4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DeviceContext4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x917600da_f58c_4c33_98d8_3e15b390fa24); } @@ -6714,6 +6324,7 @@ pub struct ID3D11DeviceContext4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11DomainShader(::windows_core::IUnknown); impl ID3D11DomainShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6735,27 +6346,11 @@ impl ID3D11DomainShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11DomainShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11DomainShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11DomainShader {} -impl ::core::fmt::Debug for ID3D11DomainShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11DomainShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11DomainShader {} unsafe impl ::core::marker::Sync for ID3D11DomainShader {} unsafe impl ::windows_core::Interface for ID3D11DomainShader { type Vtable = ID3D11DomainShader_Vtbl; } -impl ::core::clone::Clone for ID3D11DomainShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11DomainShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf582c508_0f36_490c_9977_31eece268cfa); } @@ -6766,6 +6361,7 @@ pub struct ID3D11DomainShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Fence(::windows_core::IUnknown); impl ID3D11Fence { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -6807,27 +6403,11 @@ impl ID3D11Fence { } } ::windows_core::imp::interface_hierarchy!(ID3D11Fence, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11Fence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Fence {} -impl ::core::fmt::Debug for ID3D11Fence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Fence").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Fence {} unsafe impl ::core::marker::Sync for ID3D11Fence {} unsafe impl ::windows_core::Interface for ID3D11Fence { type Vtable = ID3D11Fence_Vtbl; } -impl ::core::clone::Clone for ID3D11Fence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Fence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaffde9d1_1df7_4bb7_8a34_0f46251dab80); } @@ -6847,6 +6427,7 @@ pub struct ID3D11Fence_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11FunctionLinkingGraph(::windows_core::IUnknown); impl ID3D11FunctionLinkingGraph { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -6904,27 +6485,11 @@ impl ID3D11FunctionLinkingGraph { } } ::windows_core::imp::interface_hierarchy!(ID3D11FunctionLinkingGraph, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11FunctionLinkingGraph { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11FunctionLinkingGraph {} -impl ::core::fmt::Debug for ID3D11FunctionLinkingGraph { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11FunctionLinkingGraph").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11FunctionLinkingGraph {} unsafe impl ::core::marker::Sync for ID3D11FunctionLinkingGraph {} unsafe impl ::windows_core::Interface for ID3D11FunctionLinkingGraph { type Vtable = ID3D11FunctionLinkingGraph_Vtbl; } -impl ::core::clone::Clone for ID3D11FunctionLinkingGraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11FunctionLinkingGraph { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54133220_1ce8_43d3_8236_9855c5ceecff); } @@ -6958,6 +6523,7 @@ pub struct ID3D11FunctionLinkingGraph_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11FunctionParameterReflection(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D11FunctionParameterReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -6966,27 +6532,11 @@ impl ID3D11FunctionParameterReflection { (::windows_core::Interface::vtable(self).GetDesc)(::windows_core::Interface::as_raw(self), pdesc).ok() } } -impl ::core::cmp::PartialEq for ID3D11FunctionParameterReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11FunctionParameterReflection {} -impl ::core::fmt::Debug for ID3D11FunctionParameterReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11FunctionParameterReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11FunctionParameterReflection {} unsafe impl ::core::marker::Sync for ID3D11FunctionParameterReflection {} unsafe impl ::windows_core::Interface for ID3D11FunctionParameterReflection { type Vtable = ID3D11FunctionParameterReflection_Vtbl; } -impl ::core::clone::Clone for ID3D11FunctionParameterReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D11FunctionParameterReflection_Vtbl { @@ -6997,6 +6547,7 @@ pub struct ID3D11FunctionParameterReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11FunctionReflection(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D11FunctionReflection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -7036,27 +6587,11 @@ impl ID3D11FunctionReflection { (::windows_core::Interface::vtable(self).GetFunctionParameter)(::windows_core::Interface::as_raw(self), parameterindex) } } -impl ::core::cmp::PartialEq for ID3D11FunctionReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11FunctionReflection {} -impl ::core::fmt::Debug for ID3D11FunctionReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11FunctionReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11FunctionReflection {} unsafe impl ::core::marker::Sync for ID3D11FunctionReflection {} unsafe impl ::windows_core::Interface for ID3D11FunctionReflection { type Vtable = ID3D11FunctionReflection_Vtbl; } -impl ::core::clone::Clone for ID3D11FunctionReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D11FunctionReflection_Vtbl { @@ -7079,6 +6614,7 @@ pub struct ID3D11FunctionReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11GeometryShader(::windows_core::IUnknown); impl ID3D11GeometryShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7100,27 +6636,11 @@ impl ID3D11GeometryShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11GeometryShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11GeometryShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11GeometryShader {} -impl ::core::fmt::Debug for ID3D11GeometryShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11GeometryShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11GeometryShader {} unsafe impl ::core::marker::Sync for ID3D11GeometryShader {} unsafe impl ::windows_core::Interface for ID3D11GeometryShader { type Vtable = ID3D11GeometryShader_Vtbl; } -impl ::core::clone::Clone for ID3D11GeometryShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11GeometryShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38325b96_effb_4022_ba02_2e795b70275c); } @@ -7131,6 +6651,7 @@ pub struct ID3D11GeometryShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11HullShader(::windows_core::IUnknown); impl ID3D11HullShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7152,27 +6673,11 @@ impl ID3D11HullShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11HullShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11HullShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11HullShader {} -impl ::core::fmt::Debug for ID3D11HullShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11HullShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11HullShader {} unsafe impl ::core::marker::Sync for ID3D11HullShader {} unsafe impl ::windows_core::Interface for ID3D11HullShader { type Vtable = ID3D11HullShader_Vtbl; } -impl ::core::clone::Clone for ID3D11HullShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11HullShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e5c6061_628a_4c8e_8264_bbe45cb3d5dd); } @@ -7183,6 +6688,7 @@ pub struct ID3D11HullShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11InfoQueue(::windows_core::IUnknown); impl ID3D11InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> ::windows_core::Result<()> { @@ -7326,27 +6832,11 @@ impl ID3D11InfoQueue { } } ::windows_core::imp::interface_hierarchy!(ID3D11InfoQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11InfoQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11InfoQueue {} -impl ::core::fmt::Debug for ID3D11InfoQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11InfoQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11InfoQueue {} unsafe impl ::core::marker::Sync for ID3D11InfoQueue {} unsafe impl ::windows_core::Interface for ID3D11InfoQueue { type Vtable = ID3D11InfoQueue_Vtbl; } -impl ::core::clone::Clone for ID3D11InfoQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11InfoQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6543dbb6_1b48_42f5_ab82_e97ec74326f6); } @@ -7416,6 +6906,7 @@ pub struct ID3D11InfoQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11InputLayout(::windows_core::IUnknown); impl ID3D11InputLayout { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7437,27 +6928,11 @@ impl ID3D11InputLayout { } } ::windows_core::imp::interface_hierarchy!(ID3D11InputLayout, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11InputLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11InputLayout {} -impl ::core::fmt::Debug for ID3D11InputLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11InputLayout").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11InputLayout {} unsafe impl ::core::marker::Sync for ID3D11InputLayout {} unsafe impl ::windows_core::Interface for ID3D11InputLayout { type Vtable = ID3D11InputLayout_Vtbl; } -impl ::core::clone::Clone for ID3D11InputLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11InputLayout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4819ddc_4cf0_4025_bd26_5de82a3e07b7); } @@ -7468,6 +6943,7 @@ pub struct ID3D11InputLayout_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11LibraryReflection(::windows_core::IUnknown); impl ID3D11LibraryReflection { pub unsafe fn GetDesc(&self) -> ::windows_core::Result { @@ -7479,27 +6955,11 @@ impl ID3D11LibraryReflection { } } ::windows_core::imp::interface_hierarchy!(ID3D11LibraryReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11LibraryReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11LibraryReflection {} -impl ::core::fmt::Debug for ID3D11LibraryReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11LibraryReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11LibraryReflection {} unsafe impl ::core::marker::Sync for ID3D11LibraryReflection {} unsafe impl ::windows_core::Interface for ID3D11LibraryReflection { type Vtable = ID3D11LibraryReflection_Vtbl; } -impl ::core::clone::Clone for ID3D11LibraryReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11LibraryReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54384f1b_5b3e_4bb7_ae01_60ba3097cbb6); } @@ -7512,6 +6972,7 @@ pub struct ID3D11LibraryReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Linker(::windows_core::IUnknown); impl ID3D11Linker { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -7535,27 +6996,11 @@ impl ID3D11Linker { } } ::windows_core::imp::interface_hierarchy!(ID3D11Linker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11Linker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Linker {} -impl ::core::fmt::Debug for ID3D11Linker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Linker").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Linker {} unsafe impl ::core::marker::Sync for ID3D11Linker {} unsafe impl ::windows_core::Interface for ID3D11Linker { type Vtable = ID3D11Linker_Vtbl; } -impl ::core::clone::Clone for ID3D11Linker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Linker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59a6cd0e_e10d_4c1f_88c0_63aba1daf30e); } @@ -7572,30 +7017,15 @@ pub struct ID3D11Linker_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11LinkingNode(::windows_core::IUnknown); impl ID3D11LinkingNode {} ::windows_core::imp::interface_hierarchy!(ID3D11LinkingNode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11LinkingNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11LinkingNode {} -impl ::core::fmt::Debug for ID3D11LinkingNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11LinkingNode").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11LinkingNode {} unsafe impl ::core::marker::Sync for ID3D11LinkingNode {} unsafe impl ::windows_core::Interface for ID3D11LinkingNode { type Vtable = ID3D11LinkingNode_Vtbl; } -impl ::core::clone::Clone for ID3D11LinkingNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11LinkingNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd80dd70c_8d2f_4751_94a1_03c79b3556db); } @@ -7606,6 +7036,7 @@ pub struct ID3D11LinkingNode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Module(::windows_core::IUnknown); impl ID3D11Module { pub unsafe fn CreateInstance(&self, pnamespace: P0) -> ::windows_core::Result @@ -7617,27 +7048,11 @@ impl ID3D11Module { } } ::windows_core::imp::interface_hierarchy!(ID3D11Module, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11Module { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Module {} -impl ::core::fmt::Debug for ID3D11Module { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Module").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Module {} unsafe impl ::core::marker::Sync for ID3D11Module {} unsafe impl ::windows_core::Interface for ID3D11Module { type Vtable = ID3D11Module_Vtbl; } -impl ::core::clone::Clone for ID3D11Module { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Module { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcac701ee_80fc_4122_8242_10b39c8cec34); } @@ -7649,6 +7064,7 @@ pub struct ID3D11Module_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ModuleInstance(::windows_core::IUnknown); impl ID3D11ModuleInstance { pub unsafe fn BindConstantBuffer(&self, usrcslot: u32, udstslot: u32, cbdstoffset: u32) -> ::windows_core::Result<()> { @@ -7698,27 +7114,11 @@ impl ID3D11ModuleInstance { } } ::windows_core::imp::interface_hierarchy!(ID3D11ModuleInstance, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11ModuleInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ModuleInstance {} -impl ::core::fmt::Debug for ID3D11ModuleInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ModuleInstance").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ModuleInstance {} unsafe impl ::core::marker::Sync for ID3D11ModuleInstance {} unsafe impl ::windows_core::Interface for ID3D11ModuleInstance { type Vtable = ID3D11ModuleInstance_Vtbl; } -impl ::core::clone::Clone for ID3D11ModuleInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ModuleInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x469e07f7_045a_48d5_aa12_68a478cdf75d); } @@ -7739,6 +7139,7 @@ pub struct ID3D11ModuleInstance_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Multithread(::windows_core::IUnknown); impl ID3D11Multithread { pub unsafe fn Enter(&self) { @@ -7762,27 +7163,11 @@ impl ID3D11Multithread { } } ::windows_core::imp::interface_hierarchy!(ID3D11Multithread, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11Multithread { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Multithread {} -impl ::core::fmt::Debug for ID3D11Multithread { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Multithread").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Multithread {} unsafe impl ::core::marker::Sync for ID3D11Multithread {} unsafe impl ::windows_core::Interface for ID3D11Multithread { type Vtable = ID3D11Multithread_Vtbl; } -impl ::core::clone::Clone for ID3D11Multithread { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Multithread { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e4e00_342c_4106_a19f_4f2704f689f0); } @@ -7803,6 +7188,7 @@ pub struct ID3D11Multithread_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11PixelShader(::windows_core::IUnknown); impl ID3D11PixelShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7824,27 +7210,11 @@ impl ID3D11PixelShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11PixelShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11PixelShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11PixelShader {} -impl ::core::fmt::Debug for ID3D11PixelShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11PixelShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11PixelShader {} unsafe impl ::core::marker::Sync for ID3D11PixelShader {} unsafe impl ::windows_core::Interface for ID3D11PixelShader { type Vtable = ID3D11PixelShader_Vtbl; } -impl ::core::clone::Clone for ID3D11PixelShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11PixelShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea82e40d_51dc_4f33_93d4_db7c9125ae8c); } @@ -7855,6 +7225,7 @@ pub struct ID3D11PixelShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Predicate(::windows_core::IUnknown); impl ID3D11Predicate { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7884,27 +7255,11 @@ impl ID3D11Predicate { } } ::windows_core::imp::interface_hierarchy!(ID3D11Predicate, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); -impl ::core::cmp::PartialEq for ID3D11Predicate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Predicate {} -impl ::core::fmt::Debug for ID3D11Predicate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Predicate").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Predicate {} unsafe impl ::core::marker::Sync for ID3D11Predicate {} unsafe impl ::windows_core::Interface for ID3D11Predicate { type Vtable = ID3D11Predicate_Vtbl; } -impl ::core::clone::Clone for ID3D11Predicate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Predicate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9eb576dd_9f77_4d86_81aa_8bab5fe490e2); } @@ -7915,6 +7270,7 @@ pub struct ID3D11Predicate_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Query(::windows_core::IUnknown); impl ID3D11Query { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -7944,27 +7300,11 @@ impl ID3D11Query { } } ::windows_core::imp::interface_hierarchy!(ID3D11Query, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); -impl ::core::cmp::PartialEq for ID3D11Query { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Query {} -impl ::core::fmt::Debug for ID3D11Query { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Query").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Query {} unsafe impl ::core::marker::Sync for ID3D11Query {} unsafe impl ::windows_core::Interface for ID3D11Query { type Vtable = ID3D11Query_Vtbl; } -impl ::core::clone::Clone for ID3D11Query { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Query { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6c00747_87b7_425e_b84d_44d108560afd); } @@ -7976,6 +7316,7 @@ pub struct ID3D11Query_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Query1(::windows_core::IUnknown); impl ID3D11Query1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8010,27 +7351,11 @@ impl ID3D11Query1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Query1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); -impl ::core::cmp::PartialEq for ID3D11Query1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Query1 {} -impl ::core::fmt::Debug for ID3D11Query1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Query1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Query1 {} unsafe impl ::core::marker::Sync for ID3D11Query1 {} unsafe impl ::windows_core::Interface for ID3D11Query1 { type Vtable = ID3D11Query1_Vtbl; } -impl ::core::clone::Clone for ID3D11Query1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Query1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x631b4766_36dc_461d_8db6_c47e13e60916); } @@ -8042,6 +7367,7 @@ pub struct ID3D11Query1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RasterizerState(::windows_core::IUnknown); impl ID3D11RasterizerState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8068,27 +7394,11 @@ impl ID3D11RasterizerState { } } ::windows_core::imp::interface_hierarchy!(ID3D11RasterizerState, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11RasterizerState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RasterizerState {} -impl ::core::fmt::Debug for ID3D11RasterizerState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RasterizerState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RasterizerState {} unsafe impl ::core::marker::Sync for ID3D11RasterizerState {} unsafe impl ::windows_core::Interface for ID3D11RasterizerState { type Vtable = ID3D11RasterizerState_Vtbl; } -impl ::core::clone::Clone for ID3D11RasterizerState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RasterizerState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bb4ab81_ab1a_4d8f_b506_fc04200b6ee7); } @@ -8103,6 +7413,7 @@ pub struct ID3D11RasterizerState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RasterizerState1(::windows_core::IUnknown); impl ID3D11RasterizerState1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8134,27 +7445,11 @@ impl ID3D11RasterizerState1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11RasterizerState1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); -impl ::core::cmp::PartialEq for ID3D11RasterizerState1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RasterizerState1 {} -impl ::core::fmt::Debug for ID3D11RasterizerState1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RasterizerState1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RasterizerState1 {} unsafe impl ::core::marker::Sync for ID3D11RasterizerState1 {} unsafe impl ::windows_core::Interface for ID3D11RasterizerState1 { type Vtable = ID3D11RasterizerState1_Vtbl; } -impl ::core::clone::Clone for ID3D11RasterizerState1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RasterizerState1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1217d7a6_5039_418c_b042_9cbe256afd6e); } @@ -8169,6 +7464,7 @@ pub struct ID3D11RasterizerState1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RasterizerState2(::windows_core::IUnknown); impl ID3D11RasterizerState2 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8205,27 +7501,11 @@ impl ID3D11RasterizerState2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11RasterizerState2, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); -impl ::core::cmp::PartialEq for ID3D11RasterizerState2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RasterizerState2 {} -impl ::core::fmt::Debug for ID3D11RasterizerState2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RasterizerState2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RasterizerState2 {} unsafe impl ::core::marker::Sync for ID3D11RasterizerState2 {} unsafe impl ::windows_core::Interface for ID3D11RasterizerState2 { type Vtable = ID3D11RasterizerState2_Vtbl; } -impl ::core::clone::Clone for ID3D11RasterizerState2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RasterizerState2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fbd02fb_209f_46c4_b059_2ed15586a6ac); } @@ -8240,6 +7520,7 @@ pub struct ID3D11RasterizerState2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RefDefaultTrackingOptions(::windows_core::IUnknown); impl ID3D11RefDefaultTrackingOptions { pub unsafe fn SetTrackingOptions(&self, resourcetypeflags: u32, options: u32) -> ::windows_core::Result<()> { @@ -8247,27 +7528,11 @@ impl ID3D11RefDefaultTrackingOptions { } } ::windows_core::imp::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11RefDefaultTrackingOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RefDefaultTrackingOptions {} -impl ::core::fmt::Debug for ID3D11RefDefaultTrackingOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RefDefaultTrackingOptions").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RefDefaultTrackingOptions {} unsafe impl ::core::marker::Sync for ID3D11RefDefaultTrackingOptions {} unsafe impl ::windows_core::Interface for ID3D11RefDefaultTrackingOptions { type Vtable = ID3D11RefDefaultTrackingOptions_Vtbl; } -impl ::core::clone::Clone for ID3D11RefDefaultTrackingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RefDefaultTrackingOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03916615_c644_418c_9bf4_75db5be63ca0); } @@ -8279,6 +7544,7 @@ pub struct ID3D11RefDefaultTrackingOptions_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RefTrackingOptions(::windows_core::IUnknown); impl ID3D11RefTrackingOptions { pub unsafe fn SetTrackingOptions(&self, uoptions: u32) -> ::windows_core::Result<()> { @@ -8286,27 +7552,11 @@ impl ID3D11RefTrackingOptions { } } ::windows_core::imp::interface_hierarchy!(ID3D11RefTrackingOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11RefTrackingOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RefTrackingOptions {} -impl ::core::fmt::Debug for ID3D11RefTrackingOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RefTrackingOptions").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RefTrackingOptions {} unsafe impl ::core::marker::Sync for ID3D11RefTrackingOptions {} unsafe impl ::windows_core::Interface for ID3D11RefTrackingOptions { type Vtable = ID3D11RefTrackingOptions_Vtbl; } -impl ::core::clone::Clone for ID3D11RefTrackingOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RefTrackingOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x193dacdf_0db2_4c05_a55c_ef06cac56fd9); } @@ -8318,6 +7568,7 @@ pub struct ID3D11RefTrackingOptions_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RenderTargetView(::windows_core::IUnknown); impl ID3D11RenderTargetView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8349,27 +7600,11 @@ impl ID3D11RenderTargetView { } } ::windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11RenderTargetView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RenderTargetView {} -impl ::core::fmt::Debug for ID3D11RenderTargetView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RenderTargetView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RenderTargetView {} unsafe impl ::core::marker::Sync for ID3D11RenderTargetView {} unsafe impl ::windows_core::Interface for ID3D11RenderTargetView { type Vtable = ID3D11RenderTargetView_Vtbl; } -impl ::core::clone::Clone for ID3D11RenderTargetView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RenderTargetView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfdba067_0b8d_4865_875b_d7b4516cc164); } @@ -8384,6 +7619,7 @@ pub struct ID3D11RenderTargetView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11RenderTargetView1(::windows_core::IUnknown); impl ID3D11RenderTargetView1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8420,27 +7656,11 @@ impl ID3D11RenderTargetView1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); -impl ::core::cmp::PartialEq for ID3D11RenderTargetView1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11RenderTargetView1 {} -impl ::core::fmt::Debug for ID3D11RenderTargetView1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11RenderTargetView1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11RenderTargetView1 {} unsafe impl ::core::marker::Sync for ID3D11RenderTargetView1 {} unsafe impl ::windows_core::Interface for ID3D11RenderTargetView1 { type Vtable = ID3D11RenderTargetView1_Vtbl; } -impl ::core::clone::Clone for ID3D11RenderTargetView1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11RenderTargetView1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffbe2e23_f011_418a_ac56_5ceed7c5b94b); } @@ -8455,6 +7675,7 @@ pub struct ID3D11RenderTargetView1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Resource(::windows_core::IUnknown); impl ID3D11Resource { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8487,27 +7708,11 @@ impl ID3D11Resource { } } ::windows_core::imp::interface_hierarchy!(ID3D11Resource, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11Resource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Resource {} -impl ::core::fmt::Debug for ID3D11Resource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Resource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Resource {} unsafe impl ::core::marker::Sync for ID3D11Resource {} unsafe impl ::windows_core::Interface for ID3D11Resource { type Vtable = ID3D11Resource_Vtbl; } -impl ::core::clone::Clone for ID3D11Resource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Resource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc8e63f3_d12b_4952_b47b_5e45026a862d); } @@ -8521,6 +7726,7 @@ pub struct ID3D11Resource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11SamplerState(::windows_core::IUnknown); impl ID3D11SamplerState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8545,27 +7751,11 @@ impl ID3D11SamplerState { } } ::windows_core::imp::interface_hierarchy!(ID3D11SamplerState, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11SamplerState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11SamplerState {} -impl ::core::fmt::Debug for ID3D11SamplerState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11SamplerState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11SamplerState {} unsafe impl ::core::marker::Sync for ID3D11SamplerState {} unsafe impl ::windows_core::Interface for ID3D11SamplerState { type Vtable = ID3D11SamplerState_Vtbl; } -impl ::core::clone::Clone for ID3D11SamplerState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11SamplerState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda6fea51_564c_4487_9810_f0d0f9b4e3a5); } @@ -8577,6 +7767,7 @@ pub struct ID3D11SamplerState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderReflection(::windows_core::IUnknown); impl ID3D11ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -8666,27 +7857,11 @@ impl ID3D11ShaderReflection { } } ::windows_core::imp::interface_hierarchy!(ID3D11ShaderReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11ShaderReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderReflection {} -impl ::core::fmt::Debug for ID3D11ShaderReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderReflection {} unsafe impl ::core::marker::Sync for ID3D11ShaderReflection {} unsafe impl ::windows_core::Interface for ID3D11ShaderReflection { type Vtable = ID3D11ShaderReflection_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ShaderReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d536ca1_0cca_4956_a837_786963755584); } @@ -8743,6 +7918,7 @@ pub struct ID3D11ShaderReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderReflectionConstantBuffer(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D11ShaderReflectionConstantBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -8760,27 +7936,11 @@ impl ID3D11ShaderReflectionConstantBuffer { (::windows_core::Interface::vtable(self).GetVariableByName)(::windows_core::Interface::as_raw(self), name.into_param().abi()) } } -impl ::core::cmp::PartialEq for ID3D11ShaderReflectionConstantBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderReflectionConstantBuffer {} -impl ::core::fmt::Debug for ID3D11ShaderReflectionConstantBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderReflectionConstantBuffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderReflectionConstantBuffer {} unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionConstantBuffer {} unsafe impl ::windows_core::Interface for ID3D11ShaderReflectionConstantBuffer { type Vtable = ID3D11ShaderReflectionConstantBuffer_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderReflectionConstantBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D11ShaderReflectionConstantBuffer_Vtbl { @@ -8793,6 +7953,7 @@ pub struct ID3D11ShaderReflectionConstantBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderReflectionType(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D11ShaderReflectionType { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -8843,27 +8004,11 @@ impl ID3D11ShaderReflectionType { (::windows_core::Interface::vtable(self).ImplementsInterface)(::windows_core::Interface::as_raw(self), pbase.into_param().abi()).ok() } } -impl ::core::cmp::PartialEq for ID3D11ShaderReflectionType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderReflectionType {} -impl ::core::fmt::Debug for ID3D11ShaderReflectionType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderReflectionType").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderReflectionType {} unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionType {} unsafe impl ::windows_core::Interface for ID3D11ShaderReflectionType { type Vtable = ID3D11ShaderReflectionType_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderReflectionType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D11ShaderReflectionType_Vtbl { @@ -8884,6 +8029,7 @@ pub struct ID3D11ShaderReflectionType_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderReflectionVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D11ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_VARIABLE_DESC) -> ::windows_core::Result<()> { @@ -8899,27 +8045,11 @@ impl ID3D11ShaderReflectionVariable { (::windows_core::Interface::vtable(self).GetInterfaceSlot)(::windows_core::Interface::as_raw(self), uarrayindex) } } -impl ::core::cmp::PartialEq for ID3D11ShaderReflectionVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderReflectionVariable {} -impl ::core::fmt::Debug for ID3D11ShaderReflectionVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderReflectionVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderReflectionVariable {} unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionVariable {} unsafe impl ::windows_core::Interface for ID3D11ShaderReflectionVariable { type Vtable = ID3D11ShaderReflectionVariable_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderReflectionVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D11ShaderReflectionVariable_Vtbl { @@ -8930,6 +8060,7 @@ pub struct ID3D11ShaderReflectionVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderResourceView(::windows_core::IUnknown); impl ID3D11ShaderResourceView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -8961,27 +8092,11 @@ impl ID3D11ShaderResourceView { } } ::windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11ShaderResourceView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderResourceView {} -impl ::core::fmt::Debug for ID3D11ShaderResourceView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderResourceView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderResourceView {} unsafe impl ::core::marker::Sync for ID3D11ShaderResourceView {} unsafe impl ::windows_core::Interface for ID3D11ShaderResourceView { type Vtable = ID3D11ShaderResourceView_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderResourceView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ShaderResourceView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0e06fe0_8192_4e1a_b1ca_36d7414710b2); } @@ -8996,6 +8111,7 @@ pub struct ID3D11ShaderResourceView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderResourceView1(::windows_core::IUnknown); impl ID3D11ShaderResourceView1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9032,27 +8148,11 @@ impl ID3D11ShaderResourceView1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); -impl ::core::cmp::PartialEq for ID3D11ShaderResourceView1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderResourceView1 {} -impl ::core::fmt::Debug for ID3D11ShaderResourceView1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderResourceView1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderResourceView1 {} unsafe impl ::core::marker::Sync for ID3D11ShaderResourceView1 {} unsafe impl ::windows_core::Interface for ID3D11ShaderResourceView1 { type Vtable = ID3D11ShaderResourceView1_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderResourceView1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ShaderResourceView1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91308b87_9040_411d_8c67_c39253ce3802); } @@ -9067,6 +8167,7 @@ pub struct ID3D11ShaderResourceView1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderTrace(::windows_core::IUnknown); impl ID3D11ShaderTrace { pub unsafe fn TraceReady(&self, ptestcount: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { @@ -9099,27 +8200,11 @@ impl ID3D11ShaderTrace { } } ::windows_core::imp::interface_hierarchy!(ID3D11ShaderTrace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11ShaderTrace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderTrace {} -impl ::core::fmt::Debug for ID3D11ShaderTrace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderTrace").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderTrace {} unsafe impl ::core::marker::Sync for ID3D11ShaderTrace {} unsafe impl ::windows_core::Interface for ID3D11ShaderTrace { type Vtable = ID3D11ShaderTrace_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderTrace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ShaderTrace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b013e6_2811_4845_baa7_d623fe0df104); } @@ -9144,6 +8229,7 @@ pub struct ID3D11ShaderTrace_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11ShaderTraceFactory(::windows_core::IUnknown); impl ID3D11ShaderTraceFactory { pub unsafe fn CreateShaderTrace(&self, pshader: P0, ptracedesc: *const D3D11_SHADER_TRACE_DESC) -> ::windows_core::Result @@ -9155,27 +8241,11 @@ impl ID3D11ShaderTraceFactory { } } ::windows_core::imp::interface_hierarchy!(ID3D11ShaderTraceFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11ShaderTraceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11ShaderTraceFactory {} -impl ::core::fmt::Debug for ID3D11ShaderTraceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11ShaderTraceFactory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11ShaderTraceFactory {} unsafe impl ::core::marker::Sync for ID3D11ShaderTraceFactory {} unsafe impl ::windows_core::Interface for ID3D11ShaderTraceFactory { type Vtable = ID3D11ShaderTraceFactory_Vtbl; } -impl ::core::clone::Clone for ID3D11ShaderTraceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11ShaderTraceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fbad429_66ab_41cc_9617_667ac10e4459); } @@ -9187,6 +8257,7 @@ pub struct ID3D11ShaderTraceFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11SwitchToRef(::windows_core::IUnknown); impl ID3D11SwitchToRef { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9204,27 +8275,11 @@ impl ID3D11SwitchToRef { } } ::windows_core::imp::interface_hierarchy!(ID3D11SwitchToRef, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11SwitchToRef { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11SwitchToRef {} -impl ::core::fmt::Debug for ID3D11SwitchToRef { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11SwitchToRef").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11SwitchToRef {} unsafe impl ::core::marker::Sync for ID3D11SwitchToRef {} unsafe impl ::windows_core::Interface for ID3D11SwitchToRef { type Vtable = ID3D11SwitchToRef_Vtbl; } -impl ::core::clone::Clone for ID3D11SwitchToRef { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11SwitchToRef { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ef337e3_58e7_4f83_a692_db221f5ed47e); } @@ -9243,6 +8298,7 @@ pub struct ID3D11SwitchToRef_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Texture1D(::windows_core::IUnknown); impl ID3D11Texture1D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9279,28 +8335,12 @@ impl ID3D11Texture1D { (::windows_core::Interface::vtable(self).GetDesc)(::windows_core::Interface::as_raw(self), pdesc) } } -::windows_core::imp::interface_hierarchy!(ID3D11Texture1D, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); -impl ::core::cmp::PartialEq for ID3D11Texture1D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Texture1D {} -impl ::core::fmt::Debug for ID3D11Texture1D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Texture1D").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ID3D11Texture1D, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); unsafe impl ::core::marker::Send for ID3D11Texture1D {} unsafe impl ::core::marker::Sync for ID3D11Texture1D {} unsafe impl ::windows_core::Interface for ID3D11Texture1D { type Vtable = ID3D11Texture1D_Vtbl; } -impl ::core::clone::Clone for ID3D11Texture1D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Texture1D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8fb5c27_c6b3_4f75_a4c8_439af2ef564c); } @@ -9315,6 +8355,7 @@ pub struct ID3D11Texture1D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Texture2D(::windows_core::IUnknown); impl ID3D11Texture2D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9352,27 +8393,11 @@ impl ID3D11Texture2D { } } ::windows_core::imp::interface_hierarchy!(ID3D11Texture2D, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); -impl ::core::cmp::PartialEq for ID3D11Texture2D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Texture2D {} -impl ::core::fmt::Debug for ID3D11Texture2D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Texture2D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Texture2D {} unsafe impl ::core::marker::Sync for ID3D11Texture2D {} unsafe impl ::windows_core::Interface for ID3D11Texture2D { type Vtable = ID3D11Texture2D_Vtbl; } -impl ::core::clone::Clone for ID3D11Texture2D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Texture2D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f15aaf2_d208_4e89_9ab4_489535d34f9c); } @@ -9387,6 +8412,7 @@ pub struct ID3D11Texture2D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Texture2D1(::windows_core::IUnknown); impl ID3D11Texture2D1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9429,27 +8455,11 @@ impl ID3D11Texture2D1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Texture2D1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); -impl ::core::cmp::PartialEq for ID3D11Texture2D1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Texture2D1 {} -impl ::core::fmt::Debug for ID3D11Texture2D1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Texture2D1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Texture2D1 {} unsafe impl ::core::marker::Sync for ID3D11Texture2D1 {} unsafe impl ::windows_core::Interface for ID3D11Texture2D1 { type Vtable = ID3D11Texture2D1_Vtbl; } -impl ::core::clone::Clone for ID3D11Texture2D1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Texture2D1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51218251_1e33_4617_9ccb_4d3a4367e7bb); } @@ -9464,6 +8474,7 @@ pub struct ID3D11Texture2D1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Texture3D(::windows_core::IUnknown); impl ID3D11Texture3D { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9501,27 +8512,11 @@ impl ID3D11Texture3D { } } ::windows_core::imp::interface_hierarchy!(ID3D11Texture3D, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); -impl ::core::cmp::PartialEq for ID3D11Texture3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Texture3D {} -impl ::core::fmt::Debug for ID3D11Texture3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Texture3D").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Texture3D {} unsafe impl ::core::marker::Sync for ID3D11Texture3D {} unsafe impl ::windows_core::Interface for ID3D11Texture3D { type Vtable = ID3D11Texture3D_Vtbl; } -impl ::core::clone::Clone for ID3D11Texture3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Texture3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x037e866e_f56d_4357_a8af_9dabbe6e250e); } @@ -9536,6 +8531,7 @@ pub struct ID3D11Texture3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11Texture3D1(::windows_core::IUnknown); impl ID3D11Texture3D1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9578,27 +8574,11 @@ impl ID3D11Texture3D1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11Texture3D1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); -impl ::core::cmp::PartialEq for ID3D11Texture3D1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11Texture3D1 {} -impl ::core::fmt::Debug for ID3D11Texture3D1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11Texture3D1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11Texture3D1 {} unsafe impl ::core::marker::Sync for ID3D11Texture3D1 {} unsafe impl ::windows_core::Interface for ID3D11Texture3D1 { type Vtable = ID3D11Texture3D1_Vtbl; } -impl ::core::clone::Clone for ID3D11Texture3D1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11Texture3D1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c711683_2853_4846_9bb0_f3e60639e46a); } @@ -9613,6 +8593,7 @@ pub struct ID3D11Texture3D1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11TracingDevice(::windows_core::IUnknown); impl ID3D11TracingDevice { pub unsafe fn SetShaderTrackingOptionsByType(&self, resourcetypeflags: u32, options: u32) -> ::windows_core::Result<()> { @@ -9626,27 +8607,11 @@ impl ID3D11TracingDevice { } } ::windows_core::imp::interface_hierarchy!(ID3D11TracingDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11TracingDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11TracingDevice {} -impl ::core::fmt::Debug for ID3D11TracingDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11TracingDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11TracingDevice {} unsafe impl ::core::marker::Sync for ID3D11TracingDevice {} unsafe impl ::windows_core::Interface for ID3D11TracingDevice { type Vtable = ID3D11TracingDevice_Vtbl; } -impl ::core::clone::Clone for ID3D11TracingDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11TracingDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1911c771_1587_413e_a7e0_fb26c3de0268); } @@ -9659,6 +8624,7 @@ pub struct ID3D11TracingDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11UnorderedAccessView(::windows_core::IUnknown); impl ID3D11UnorderedAccessView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9690,27 +8656,11 @@ impl ID3D11UnorderedAccessView { } } ::windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11UnorderedAccessView {} -impl ::core::fmt::Debug for ID3D11UnorderedAccessView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11UnorderedAccessView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11UnorderedAccessView {} unsafe impl ::core::marker::Sync for ID3D11UnorderedAccessView {} unsafe impl ::windows_core::Interface for ID3D11UnorderedAccessView { type Vtable = ID3D11UnorderedAccessView_Vtbl; } -impl ::core::clone::Clone for ID3D11UnorderedAccessView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11UnorderedAccessView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28acf509_7f5c_48f6_8611_f316010a6380); } @@ -9725,6 +8675,7 @@ pub struct ID3D11UnorderedAccessView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11UnorderedAccessView1(::windows_core::IUnknown); impl ID3D11UnorderedAccessView1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9761,27 +8712,11 @@ impl ID3D11UnorderedAccessView1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); -impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11UnorderedAccessView1 {} -impl ::core::fmt::Debug for ID3D11UnorderedAccessView1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11UnorderedAccessView1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11UnorderedAccessView1 {} unsafe impl ::core::marker::Sync for ID3D11UnorderedAccessView1 {} unsafe impl ::windows_core::Interface for ID3D11UnorderedAccessView1 { type Vtable = ID3D11UnorderedAccessView1_Vtbl; } -impl ::core::clone::Clone for ID3D11UnorderedAccessView1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11UnorderedAccessView1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b3b6153_a886_4544_ab37_6537c8500403); } @@ -9796,6 +8731,7 @@ pub struct ID3D11UnorderedAccessView1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VertexShader(::windows_core::IUnknown); impl ID3D11VertexShader { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -9817,27 +8753,11 @@ impl ID3D11VertexShader { } } ::windows_core::imp::interface_hierarchy!(ID3D11VertexShader, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11VertexShader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VertexShader {} -impl ::core::fmt::Debug for ID3D11VertexShader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VertexShader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VertexShader {} unsafe impl ::core::marker::Sync for ID3D11VertexShader {} unsafe impl ::windows_core::Interface for ID3D11VertexShader { type Vtable = ID3D11VertexShader_Vtbl; } -impl ::core::clone::Clone for ID3D11VertexShader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VertexShader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b301d64_d678_4289_8897_22f8928b72f3); } @@ -9848,6 +8768,7 @@ pub struct ID3D11VertexShader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoContext(::windows_core::IUnknown); impl ID3D11VideoContext { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -10311,27 +9232,11 @@ impl ID3D11VideoContext { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoContext, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11VideoContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoContext {} -impl ::core::fmt::Debug for ID3D11VideoContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoContext").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoContext {} unsafe impl ::core::marker::Sync for ID3D11VideoContext {} unsafe impl ::windows_core::Interface for ID3D11VideoContext { type Vtable = ID3D11VideoContext_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61f21c45_3c0e_4a74_9cea_67100d9ad5e4); } @@ -10493,6 +9398,7 @@ pub struct ID3D11VideoContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoContext1(::windows_core::IUnknown); impl ID3D11VideoContext1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -11075,27 +9981,11 @@ impl ID3D11VideoContext1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoContext1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); -impl ::core::cmp::PartialEq for ID3D11VideoContext1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoContext1 {} -impl ::core::fmt::Debug for ID3D11VideoContext1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoContext1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoContext1 {} unsafe impl ::core::marker::Sync for ID3D11VideoContext1 {} unsafe impl ::windows_core::Interface for ID3D11VideoContext1 { type Vtable = ID3D11VideoContext1_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoContext1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoContext1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7f026da_a5f8_4487_a564_15e34357651e); } @@ -11153,6 +10043,7 @@ pub struct ID3D11VideoContext1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoContext2(::windows_core::IUnknown); impl ID3D11VideoContext2 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -11767,27 +10658,11 @@ impl ID3D11VideoContext2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoContext2, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); -impl ::core::cmp::PartialEq for ID3D11VideoContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoContext2 {} -impl ::core::fmt::Debug for ID3D11VideoContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoContext2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoContext2 {} unsafe impl ::core::marker::Sync for ID3D11VideoContext2 {} unsafe impl ::windows_core::Interface for ID3D11VideoContext2 { type Vtable = ID3D11VideoContext2_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4e7374c_6243_4d1b_ae87_52b4f740e261); } @@ -11814,6 +10689,7 @@ pub struct ID3D11VideoContext2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoContext3(::windows_core::IUnknown); impl ID3D11VideoContext3 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -12441,27 +11317,11 @@ impl ID3D11VideoContext3 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoContext3, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); -impl ::core::cmp::PartialEq for ID3D11VideoContext3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoContext3 {} -impl ::core::fmt::Debug for ID3D11VideoContext3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoContext3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoContext3 {} unsafe impl ::core::marker::Sync for ID3D11VideoContext3 {} unsafe impl ::windows_core::Interface for ID3D11VideoContext3 { type Vtable = ID3D11VideoContext3_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoContext3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoContext3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9e2faa0_cb39_418f_a0b7_d8aad4de672e); } @@ -12474,6 +11334,7 @@ pub struct ID3D11VideoContext3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoDecoder(::windows_core::IUnknown); impl ID3D11VideoDecoder { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -12506,27 +11367,11 @@ impl ID3D11VideoDecoder { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoDecoder, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11VideoDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoDecoder {} -impl ::core::fmt::Debug for ID3D11VideoDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoDecoder").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoDecoder {} unsafe impl ::core::marker::Sync for ID3D11VideoDecoder {} unsafe impl ::windows_core::Interface for ID3D11VideoDecoder { type Vtable = ID3D11VideoDecoder_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c9c5b51_995d_48d1_9b8d_fa5caeded65c); } @@ -12545,6 +11390,7 @@ pub struct ID3D11VideoDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoDecoderOutputView(::windows_core::IUnknown); impl ID3D11VideoDecoderOutputView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -12574,27 +11420,11 @@ impl ID3D11VideoDecoderOutputView { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoDecoderOutputView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11VideoDecoderOutputView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoDecoderOutputView {} -impl ::core::fmt::Debug for ID3D11VideoDecoderOutputView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoDecoderOutputView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoDecoderOutputView {} unsafe impl ::core::marker::Sync for ID3D11VideoDecoderOutputView {} unsafe impl ::windows_core::Interface for ID3D11VideoDecoderOutputView { type Vtable = ID3D11VideoDecoderOutputView_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoDecoderOutputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoDecoderOutputView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2931aea_2a85_4f20_860f_fba1fd256e18); } @@ -12606,6 +11436,7 @@ pub struct ID3D11VideoDecoderOutputView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoDevice(::windows_core::IUnknown); impl ID3D11VideoDevice { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -12697,27 +11528,11 @@ impl ID3D11VideoDevice { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11VideoDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoDevice {} -impl ::core::fmt::Debug for ID3D11VideoDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoDevice {} unsafe impl ::core::marker::Sync for ID3D11VideoDevice {} unsafe impl ::windows_core::Interface for ID3D11VideoDevice { type Vtable = ID3D11VideoDevice_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10ec4d5b_975a_4689_b9e4_d0aac30fe333); } @@ -12760,6 +11575,7 @@ pub struct ID3D11VideoDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoDevice1(::windows_core::IUnknown); impl ID3D11VideoDevice1 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -12871,27 +11687,11 @@ impl ID3D11VideoDevice1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoDevice1, ::windows_core::IUnknown, ID3D11VideoDevice); -impl ::core::cmp::PartialEq for ID3D11VideoDevice1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoDevice1 {} -impl ::core::fmt::Debug for ID3D11VideoDevice1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoDevice1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoDevice1 {} unsafe impl ::core::marker::Sync for ID3D11VideoDevice1 {} unsafe impl ::windows_core::Interface for ID3D11VideoDevice1 { type Vtable = ID3D11VideoDevice1_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoDevice1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoDevice1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29da1d51_1321_4454_804b_f5fc9f861f0f); } @@ -12915,6 +11715,7 @@ pub struct ID3D11VideoDevice1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoDevice2(::windows_core::IUnknown); impl ID3D11VideoDevice2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -13035,27 +11836,11 @@ impl ID3D11VideoDevice2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoDevice2, ::windows_core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); -impl ::core::cmp::PartialEq for ID3D11VideoDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoDevice2 {} -impl ::core::fmt::Debug for ID3D11VideoDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoDevice2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoDevice2 {} unsafe impl ::core::marker::Sync for ID3D11VideoDevice2 {} unsafe impl ::windows_core::Interface for ID3D11VideoDevice2 { type Vtable = ID3D11VideoDevice2_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59c0cb01_35f0_4a70_8f67_87905c906a53); } @@ -13068,6 +11853,7 @@ pub struct ID3D11VideoDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoProcessor(::windows_core::IUnknown); impl ID3D11VideoProcessor { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13097,27 +11883,11 @@ impl ID3D11VideoProcessor { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoProcessor, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11VideoProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoProcessor {} -impl ::core::fmt::Debug for ID3D11VideoProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoProcessor").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoProcessor {} unsafe impl ::core::marker::Sync for ID3D11VideoProcessor {} unsafe impl ::windows_core::Interface for ID3D11VideoProcessor { type Vtable = ID3D11VideoProcessor_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d7b0652_185f_41c6_85ce_0c5be3d4ae6c); } @@ -13133,6 +11903,7 @@ pub struct ID3D11VideoProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoProcessorEnumerator(::windows_core::IUnknown); impl ID3D11VideoProcessorEnumerator { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13180,27 +11951,11 @@ impl ID3D11VideoProcessorEnumerator { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoProcessorEnumerator {} -impl ::core::fmt::Debug for ID3D11VideoProcessorEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoProcessorEnumerator").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoProcessorEnumerator {} unsafe impl ::core::marker::Sync for ID3D11VideoProcessorEnumerator {} unsafe impl ::windows_core::Interface for ID3D11VideoProcessorEnumerator { type Vtable = ID3D11VideoProcessorEnumerator_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoProcessorEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoProcessorEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31627037_53ab_4200_9061_05faa9ab45f9); } @@ -13226,6 +11981,7 @@ pub struct ID3D11VideoProcessorEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoProcessorEnumerator1(::windows_core::IUnknown); impl ID3D11VideoProcessorEnumerator1 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13279,27 +12035,11 @@ impl ID3D11VideoProcessorEnumerator1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); -impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoProcessorEnumerator1 {} -impl ::core::fmt::Debug for ID3D11VideoProcessorEnumerator1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoProcessorEnumerator1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoProcessorEnumerator1 {} unsafe impl ::core::marker::Sync for ID3D11VideoProcessorEnumerator1 {} unsafe impl ::windows_core::Interface for ID3D11VideoProcessorEnumerator1 { type Vtable = ID3D11VideoProcessorEnumerator1_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoProcessorEnumerator1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoProcessorEnumerator1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x465217f2_5568_43cf_b5b9_f61d54531ca1); } @@ -13314,6 +12054,7 @@ pub struct ID3D11VideoProcessorEnumerator1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoProcessorInputView(::windows_core::IUnknown); impl ID3D11VideoProcessorInputView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13345,27 +12086,11 @@ impl ID3D11VideoProcessorInputView { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorInputView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11VideoProcessorInputView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoProcessorInputView {} -impl ::core::fmt::Debug for ID3D11VideoProcessorInputView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoProcessorInputView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoProcessorInputView {} unsafe impl ::core::marker::Sync for ID3D11VideoProcessorInputView {} unsafe impl ::windows_core::Interface for ID3D11VideoProcessorInputView { type Vtable = ID3D11VideoProcessorInputView_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoProcessorInputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoProcessorInputView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11ec5a5f_51dc_4945_ab34_6e8c21300ea5); } @@ -13377,6 +12102,7 @@ pub struct ID3D11VideoProcessorInputView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11VideoProcessorOutputView(::windows_core::IUnknown); impl ID3D11VideoProcessorOutputView { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13408,27 +12134,11 @@ impl ID3D11VideoProcessorOutputView { } } ::windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorOutputView, ::windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); -impl ::core::cmp::PartialEq for ID3D11VideoProcessorOutputView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11VideoProcessorOutputView {} -impl ::core::fmt::Debug for ID3D11VideoProcessorOutputView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11VideoProcessorOutputView").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11VideoProcessorOutputView {} unsafe impl ::core::marker::Sync for ID3D11VideoProcessorOutputView {} unsafe impl ::windows_core::Interface for ID3D11VideoProcessorOutputView { type Vtable = ID3D11VideoProcessorOutputView_Vtbl; } -impl ::core::clone::Clone for ID3D11VideoProcessorOutputView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11VideoProcessorOutputView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa048285e_25a9_4527_bd93_d68b68c44254); } @@ -13440,6 +12150,7 @@ pub struct ID3D11VideoProcessorOutputView_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11View(::windows_core::IUnknown); impl ID3D11View { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13466,27 +12177,11 @@ impl ID3D11View { } } ::windows_core::imp::interface_hierarchy!(ID3D11View, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3D11View { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11View {} -impl ::core::fmt::Debug for ID3D11View { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11View").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11View {} unsafe impl ::core::marker::Sync for ID3D11View {} unsafe impl ::windows_core::Interface for ID3D11View { type Vtable = ID3D11View_Vtbl; } -impl ::core::clone::Clone for ID3D11View { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11View { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x839d1216_bb2e_412b_b7f4_a9dbebe08ed1); } @@ -13498,6 +12193,7 @@ pub struct ID3D11View_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DDeviceContextState(::windows_core::IUnknown); impl ID3DDeviceContextState { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -13519,27 +12215,11 @@ impl ID3DDeviceContextState { } } ::windows_core::imp::interface_hierarchy!(ID3DDeviceContextState, ::windows_core::IUnknown, ID3D11DeviceChild); -impl ::core::cmp::PartialEq for ID3DDeviceContextState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DDeviceContextState {} -impl ::core::fmt::Debug for ID3DDeviceContextState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DDeviceContextState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DDeviceContextState {} unsafe impl ::core::marker::Sync for ID3DDeviceContextState {} unsafe impl ::windows_core::Interface for ID3DDeviceContextState { type Vtable = ID3DDeviceContextState_Vtbl; } -impl ::core::clone::Clone for ID3DDeviceContextState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DDeviceContextState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c1e0d8a_7c23_48f9_8c59_a92958ceff11); } @@ -13550,6 +12230,7 @@ pub struct ID3DDeviceContextState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DUserDefinedAnnotation(::windows_core::IUnknown); impl ID3DUserDefinedAnnotation { pub unsafe fn BeginEvent(&self, name: P0) -> i32 @@ -13574,27 +12255,11 @@ impl ID3DUserDefinedAnnotation { } } ::windows_core::imp::interface_hierarchy!(ID3DUserDefinedAnnotation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DUserDefinedAnnotation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DUserDefinedAnnotation {} -impl ::core::fmt::Debug for ID3DUserDefinedAnnotation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DUserDefinedAnnotation").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DUserDefinedAnnotation {} unsafe impl ::core::marker::Sync for ID3DUserDefinedAnnotation {} unsafe impl ::windows_core::Interface for ID3DUserDefinedAnnotation { type Vtable = ID3DUserDefinedAnnotation_Vtbl; } -impl ::core::clone::Clone for ID3DUserDefinedAnnotation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DUserDefinedAnnotation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2daad8b_03d4_4dbf_95eb_32ab4b63d0ab); } @@ -13612,6 +12277,7 @@ pub struct ID3DUserDefinedAnnotation_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DX11FFT(::windows_core::IUnknown); impl ID3DX11FFT { pub unsafe fn SetForwardScale(&self, forwardscale: f32) -> ::windows_core::Result<()> { @@ -13643,27 +12309,11 @@ impl ID3DX11FFT { } } ::windows_core::imp::interface_hierarchy!(ID3DX11FFT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DX11FFT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DX11FFT {} -impl ::core::fmt::Debug for ID3DX11FFT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DX11FFT").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DX11FFT {} unsafe impl ::core::marker::Sync for ID3DX11FFT {} unsafe impl ::windows_core::Interface for ID3DX11FFT { type Vtable = ID3DX11FFT_Vtbl; } -impl ::core::clone::Clone for ID3DX11FFT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DX11FFT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3f7a938_4c93_4310_a675_b30d6de50553); } @@ -13681,6 +12331,7 @@ pub struct ID3DX11FFT_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DX11Scan(::windows_core::IUnknown); impl ID3DX11Scan { pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> ::windows_core::Result<()> { @@ -13702,27 +12353,11 @@ impl ID3DX11Scan { } } ::windows_core::imp::interface_hierarchy!(ID3DX11Scan, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DX11Scan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DX11Scan {} -impl ::core::fmt::Debug for ID3DX11Scan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DX11Scan").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DX11Scan {} unsafe impl ::core::marker::Sync for ID3DX11Scan {} unsafe impl ::windows_core::Interface for ID3DX11Scan { type Vtable = ID3DX11Scan_Vtbl; } -impl ::core::clone::Clone for ID3DX11Scan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DX11Scan { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5089b68f_e71d_4d38_be8e_f363b95a9405); } @@ -13736,6 +12371,7 @@ pub struct ID3DX11Scan_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3DX11SegmentedScan(::windows_core::IUnknown); impl ID3DX11SegmentedScan { pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> ::windows_core::Result<()> { @@ -13751,27 +12387,11 @@ impl ID3DX11SegmentedScan { } } ::windows_core::imp::interface_hierarchy!(ID3DX11SegmentedScan, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3DX11SegmentedScan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3DX11SegmentedScan {} -impl ::core::fmt::Debug for ID3DX11SegmentedScan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3DX11SegmentedScan").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3DX11SegmentedScan {} unsafe impl ::core::marker::Sync for ID3DX11SegmentedScan {} unsafe impl ::windows_core::Interface for ID3DX11SegmentedScan { type Vtable = ID3DX11SegmentedScan_Vtbl; } -impl ::core::clone::Clone for ID3DX11SegmentedScan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3DX11SegmentedScan { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa915128c_d954_4c79_bfe1_64db923194d6); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs index fe6fc82dce..8ffec16495 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs @@ -32,8 +32,8 @@ impl ID3D11On12Device_Vtbl { AcquireWrappedResources: AcquireWrappedResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`, `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl ID3D11On12Device1_Vtbl { } Self { base__: ID3D11On12Device_Vtbl::new::(), GetD3D12Device: GetD3D12Device:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`, `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -84,7 +84,7 @@ impl ID3D11On12Device2_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs index e024e0138e..98fddf7b3e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -22,6 +22,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11On12Device(::windows_core::IUnknown); impl ID3D11On12Device { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -45,27 +46,11 @@ impl ID3D11On12Device { } } ::windows_core::imp::interface_hierarchy!(ID3D11On12Device, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D11On12Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11On12Device {} -impl ::core::fmt::Debug for ID3D11On12Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11On12Device").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11On12Device {} unsafe impl ::core::marker::Sync for ID3D11On12Device {} unsafe impl ::windows_core::Interface for ID3D11On12Device { type Vtable = ID3D11On12Device_Vtbl; } -impl ::core::clone::Clone for ID3D11On12Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11On12Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85611e73_70a9_490e_9614_a9e302777904); } @@ -88,6 +73,7 @@ pub struct ID3D11On12Device_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11On12Device1(::windows_core::IUnknown); impl ID3D11On12Device1 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -118,27 +104,11 @@ impl ID3D11On12Device1 { } } ::windows_core::imp::interface_hierarchy!(ID3D11On12Device1, ::windows_core::IUnknown, ID3D11On12Device); -impl ::core::cmp::PartialEq for ID3D11On12Device1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11On12Device1 {} -impl ::core::fmt::Debug for ID3D11On12Device1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11On12Device1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11On12Device1 {} unsafe impl ::core::marker::Sync for ID3D11On12Device1 {} unsafe impl ::windows_core::Interface for ID3D11On12Device1 { type Vtable = ID3D11On12Device1_Vtbl; } -impl ::core::clone::Clone for ID3D11On12Device1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11On12Device1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdb64df4_ea2f_4c70_b861_aaab1258bb5d); } @@ -150,6 +120,7 @@ pub struct ID3D11On12Device1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D11On12Device2(::windows_core::IUnknown); impl ID3D11On12Device2 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -199,27 +170,11 @@ impl ID3D11On12Device2 { } } ::windows_core::imp::interface_hierarchy!(ID3D11On12Device2, ::windows_core::IUnknown, ID3D11On12Device, ID3D11On12Device1); -impl ::core::cmp::PartialEq for ID3D11On12Device2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D11On12Device2 {} -impl ::core::fmt::Debug for ID3D11On12Device2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D11On12Device2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D11On12Device2 {} unsafe impl ::core::marker::Sync for ID3D11On12Device2 {} unsafe impl ::windows_core::Interface for ID3D11On12Device2 { type Vtable = ID3D11On12Device2_Vtbl; } -impl ::core::clone::Clone for ID3D11On12Device2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D11On12Device2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc90f331_4740_43fa_866e_67f12cb58223); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index 30423c01b8..dbb46b7a97 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -12,8 +12,8 @@ impl ID3D12CommandAllocator_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl ID3D12CommandList_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), GetType: GetType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl ID3D12CommandQueue_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -141,8 +141,8 @@ impl ID3D12CommandSignature_Vtbl { pub const fn new, Impl: ID3D12CommandSignature_Impl, const OFFSET: isize>() -> ID3D12CommandSignature_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -159,8 +159,8 @@ impl ID3D12DSRDeviceFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateDSRDevice: CreateDSRDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -177,8 +177,8 @@ impl ID3D12Debug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableDebugLayer: EnableDebugLayer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl ID3D12Debug1_Vtbl { SetEnableSynchronizedCommandQueueValidation: SetEnableSynchronizedCommandQueueValidation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -236,8 +236,8 @@ impl ID3D12Debug2_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -274,8 +274,8 @@ impl ID3D12Debug3_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -295,8 +295,8 @@ impl ID3D12Debug4_Vtbl { } Self { base__: ID3D12Debug3_Vtbl::new::(), DisableDebugLayer: DisableDebugLayer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -316,8 +316,8 @@ impl ID3D12Debug5_Vtbl { } Self { base__: ID3D12Debug4_Vtbl::new::(), SetEnableAutoName: SetEnableAutoName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl ID3D12Debug6_Vtbl { SetForceLegacyBarrierValidation: SetForceLegacyBarrierValidation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -378,8 +378,8 @@ impl ID3D12DebugCommandList_Vtbl { GetFeatureMask: GetFeatureMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl ID3D12DebugCommandList1_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -447,8 +447,8 @@ impl ID3D12DebugCommandList2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl ID3D12DebugCommandList3_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl ID3D12DebugCommandQueue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssertResourceState: AssertResourceState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl ID3D12DebugCommandQueue1_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -565,8 +565,8 @@ impl ID3D12DebugDevice_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl ID3D12DebugDevice1_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -628,8 +628,8 @@ impl ID3D12DebugDevice2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -663,8 +663,8 @@ impl ID3D12DescriptorHeap_Vtbl { GetGPUDescriptorHandleForHeapStart: GetGPUDescriptorHandleForHeapStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl ID3D12Device_Vtbl { GetAdapterLuid: GetAdapterLuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl ID3D12Device1_Vtbl { SetResidencyPriority: SetResidencyPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1028,8 +1028,8 @@ impl ID3D12Device10_Vtbl { CreateReservedResource2: CreateReservedResource2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1049,20 +1049,20 @@ impl ID3D12Device11_Vtbl { } Self { base__: ID3D12Device10_Vtbl::new::(), CreateSampler2: CreateSampler2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1082,21 +1082,21 @@ impl ID3D12Device12_Vtbl { } Self { base__: ID3D12Device11_Vtbl::new::(), GetResourceAllocationInfo3: GetResourceAllocationInfo3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1116,8 +1116,8 @@ impl ID3D12Device2_Vtbl { } Self { base__: ID3D12Device1_Vtbl::new::(), CreatePipelineState: CreatePipelineState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1154,8 +1154,8 @@ impl ID3D12Device3_Vtbl { EnqueueMakeResident: EnqueueMakeResident::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl ID3D12Device4_Vtbl { GetResourceAllocationInfo1: GetResourceAllocationInfo1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1286,8 +1286,8 @@ impl ID3D12Device5_Vtbl { CheckDriverMatchingIdentifier: CheckDriverMatchingIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1307,8 +1307,8 @@ impl ID3D12Device6_Vtbl { } Self { base__: ID3D12Device5_Vtbl::new::(), SetBackgroundProcessingMode: SetBackgroundProcessingMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1338,8 +1338,8 @@ impl ID3D12Device7_Vtbl { CreateProtectedResourceSession1: CreateProtectedResourceSession1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl ID3D12Device8_Vtbl { GetCopyableFootprints1: GetCopyableFootprints1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1428,8 +1428,8 @@ impl ID3D12Device9_Vtbl { CreateCommandQueue1: CreateCommandQueue1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl ID3D12DeviceChild_Vtbl { } Self { base__: ID3D12Object_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -1491,8 +1491,8 @@ impl ID3D12DeviceConfiguration_Vtbl { CreateVersionedRootSignatureDeserializer: CreateVersionedRootSignatureDeserializer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl ID3D12DeviceFactory_Vtbl { CreateDevice: CreateDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1597,8 +1597,8 @@ impl ID3D12DeviceRemovedExtendedData_Vtbl { GetPageFaultAllocationOutput: GetPageFaultAllocationOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1637,8 +1637,8 @@ impl ID3D12DeviceRemovedExtendedData1_Vtbl { GetPageFaultAllocationOutput1: GetPageFaultAllocationOutput1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1665,8 +1665,8 @@ impl ID3D12DeviceRemovedExtendedData2_Vtbl { GetDeviceState: GetDeviceState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings_Vtbl { SetWatsonDumpEnablement: SetWatsonDumpEnablement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1721,8 +1721,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { SetBreadcrumbContextEnablement: SetBreadcrumbContextEnablement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1745,8 +1745,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { UseMarkersOnlyAutoBreadcrumbs: UseMarkersOnlyAutoBreadcrumbs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1783,8 +1783,8 @@ impl ID3D12Fence_Vtbl { Signal: Signal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1804,8 +1804,8 @@ impl ID3D12Fence1_Vtbl { } Self { base__: ID3D12Fence_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2284,8 +2284,8 @@ impl ID3D12GraphicsCommandList_Vtbl { ExecuteIndirect: ExecuteIndirect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2343,8 +2343,8 @@ impl ID3D12GraphicsCommandList1_Vtbl { SetViewInstanceMask: SetViewInstanceMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2364,8 +2364,8 @@ impl ID3D12GraphicsCommandList2_Vtbl { } Self { base__: ID3D12GraphicsCommandList1_Vtbl::new::(), WriteBufferImmediate: WriteBufferImmediate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2388,8 +2388,8 @@ impl ID3D12GraphicsCommandList3_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2468,8 +2468,8 @@ impl ID3D12GraphicsCommandList4_Vtbl { DispatchRays: DispatchRays::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2499,8 +2499,8 @@ impl ID3D12GraphicsCommandList5_Vtbl { RSSetShadingRateImage: RSSetShadingRateImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2520,8 +2520,8 @@ impl ID3D12GraphicsCommandList6_Vtbl { } Self { base__: ID3D12GraphicsCommandList5_Vtbl::new::(), DispatchMesh: DispatchMesh:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2541,18 +2541,18 @@ impl ID3D12GraphicsCommandList7_Vtbl { } Self { base__: ID3D12GraphicsCommandList6_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2575,19 +2575,19 @@ impl ID3D12GraphicsCommandList8_Vtbl { OMSetFrontAndBackStencilRef: OMSetFrontAndBackStencilRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2617,20 +2617,20 @@ impl ID3D12GraphicsCommandList9_Vtbl { IASetIndexBufferStripCutValue: IASetIndexBufferStripCutValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2647,8 +2647,8 @@ impl ID3D12Heap_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2665,8 +2665,8 @@ impl ID3D12Heap1_Vtbl { } Self { base__: ID3D12Heap_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2927,8 +2927,8 @@ impl ID3D12InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl ID3D12InfoQueue1_Vtbl { UnregisterMessageCallback: UnregisterMessageCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2992,8 +2992,8 @@ impl ID3D12LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3010,8 +3010,8 @@ impl ID3D12LifetimeOwner_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LifetimeStateUpdated: LifetimeStateUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3028,8 +3028,8 @@ impl ID3D12LifetimeTracker_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), DestroyOwnedObject: DestroyOwnedObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3046,8 +3046,8 @@ impl ID3D12ManualWriteTrackingResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackWrite: TrackWrite:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl ID3D12MetaCommand_Vtbl { GetRequiredParameterResourceSize: GetRequiredParameterResourceSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3109,8 +3109,8 @@ impl ID3D12Object_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl ID3D12Pageable_Vtbl { pub const fn new, Impl: ID3D12Pageable_Impl, const OFFSET: isize>() -> ID3D12Pageable_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3172,8 +3172,8 @@ impl ID3D12PipelineLibrary_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3193,8 +3193,8 @@ impl ID3D12PipelineLibrary1_Vtbl { } Self { base__: ID3D12PipelineLibrary_Vtbl::new::(), LoadPipeline: LoadPipeline:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3220,8 +3220,8 @@ impl ID3D12PipelineState_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetCachedBlob: GetCachedBlob:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3238,8 +3238,8 @@ impl ID3D12ProtectedResourceSession_Vtbl { } Self { base__: ID3D12ProtectedSession_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3256,8 +3256,8 @@ impl ID3D12ProtectedResourceSession1_Vtbl { } Self { base__: ID3D12ProtectedResourceSession_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3284,8 +3284,8 @@ impl ID3D12ProtectedSession_Vtbl { GetSessionStatus: GetSessionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3295,8 +3295,8 @@ impl ID3D12QueryHeap_Vtbl { pub const fn new, Impl: ID3D12QueryHeap_Impl, const OFFSET: isize>() -> ID3D12QueryHeap_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3361,8 +3361,8 @@ impl ID3D12Resource_Vtbl { GetHeapProperties: GetHeapProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3382,8 +3382,8 @@ impl ID3D12Resource1_Vtbl { } Self { base__: ID3D12Resource_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3403,8 +3403,8 @@ impl ID3D12Resource2_Vtbl { } Self { base__: ID3D12Resource1_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3414,8 +3414,8 @@ impl ID3D12RootSignature_Vtbl { pub const fn new, Impl: ID3D12RootSignature_Impl, const OFFSET: isize>() -> ID3D12RootSignature_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3432,8 +3432,8 @@ impl ID3D12RootSignatureDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRootSignatureDesc: GetRootSignatureDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3450,8 +3450,8 @@ impl ID3D12SDKConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSDKVersion: SetSDKVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3478,8 +3478,8 @@ impl ID3D12SDKConfiguration1_Vtbl { FreeUnusedSDKs: FreeUnusedSDKs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3520,8 +3520,8 @@ impl ID3D12ShaderCacheSession_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3676,8 +3676,8 @@ impl ID3D12ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3911,8 +3911,8 @@ impl ID3D12SharingContract_Vtbl { EndCapturableWork: EndCapturableWork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3922,8 +3922,8 @@ impl ID3D12StateObject_Vtbl { pub const fn new, Impl: ID3D12StateObject_Impl, const OFFSET: isize>() -> ID3D12StateObject_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3964,8 +3964,8 @@ impl ID3D12StateObjectProperties_Vtbl { SetPipelineStackSize: SetPipelineStackSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4009,8 +4009,8 @@ impl ID3D12SwapChainAssistant_Vtbl { InsertImplicitSync: InsertImplicitSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4040,8 +4040,8 @@ impl ID3D12Tools_Vtbl { ShaderInstrumentationEnabled: ShaderInstrumentationEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -4074,8 +4074,8 @@ impl ID3D12VersionedRootSignatureDeserializer_Vtbl { GetUnconvertedRootSignatureDesc: GetUnconvertedRootSignatureDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4117,7 +4117,7 @@ impl ID3D12VirtualizationGuestDevice_Vtbl { CreateFenceFd: CreateFenceFd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs index 7109098aa9..078a6ab83a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -61,6 +61,7 @@ pub unsafe fn D3D12SerializeVersionedRootSignature(prootsignature: *const D3D12_ } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12CommandAllocator(::windows_core::IUnknown); impl ID3D12CommandAllocator { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -92,27 +93,11 @@ impl ID3D12CommandAllocator { } } ::windows_core::imp::interface_hierarchy!(ID3D12CommandAllocator, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12CommandAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12CommandAllocator {} -impl ::core::fmt::Debug for ID3D12CommandAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12CommandAllocator").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12CommandAllocator {} unsafe impl ::core::marker::Sync for ID3D12CommandAllocator {} unsafe impl ::windows_core::Interface for ID3D12CommandAllocator { type Vtable = ID3D12CommandAllocator_Vtbl; } -impl ::core::clone::Clone for ID3D12CommandAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12CommandAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6102dee4_af59_4b09_b999_b44d73f09b24); } @@ -124,6 +109,7 @@ pub struct ID3D12CommandAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12CommandList(::windows_core::IUnknown); impl ID3D12CommandList { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -155,27 +141,11 @@ impl ID3D12CommandList { } } ::windows_core::imp::interface_hierarchy!(ID3D12CommandList, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12CommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12CommandList {} -impl ::core::fmt::Debug for ID3D12CommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12CommandList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12CommandList {} unsafe impl ::core::marker::Sync for ID3D12CommandList {} unsafe impl ::windows_core::Interface for ID3D12CommandList { type Vtable = ID3D12CommandList_Vtbl; } -impl ::core::clone::Clone for ID3D12CommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12CommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7116d91c_e7e4_47ce_b8c6_ec8168f437e5); } @@ -187,6 +157,7 @@ pub struct ID3D12CommandList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12CommandQueue(::windows_core::IUnknown); impl ID3D12CommandQueue { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -281,27 +252,11 @@ impl ID3D12CommandQueue { } } ::windows_core::imp::interface_hierarchy!(ID3D12CommandQueue, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12CommandQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12CommandQueue {} -impl ::core::fmt::Debug for ID3D12CommandQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12CommandQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12CommandQueue {} unsafe impl ::core::marker::Sync for ID3D12CommandQueue {} unsafe impl ::windows_core::Interface for ID3D12CommandQueue { type Vtable = ID3D12CommandQueue_Vtbl; } -impl ::core::clone::Clone for ID3D12CommandQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12CommandQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ec870a6_5d7e_4c22_8cfc_5baae07616ed); } @@ -329,6 +284,7 @@ pub struct ID3D12CommandQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12CommandSignature(::windows_core::IUnknown); impl ID3D12CommandSignature { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -357,27 +313,11 @@ impl ID3D12CommandSignature { } } ::windows_core::imp::interface_hierarchy!(ID3D12CommandSignature, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12CommandSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12CommandSignature {} -impl ::core::fmt::Debug for ID3D12CommandSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12CommandSignature").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12CommandSignature {} unsafe impl ::core::marker::Sync for ID3D12CommandSignature {} unsafe impl ::windows_core::Interface for ID3D12CommandSignature { type Vtable = ID3D12CommandSignature_Vtbl; } -impl ::core::clone::Clone for ID3D12CommandSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12CommandSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc36a797c_ec80_4f0a_8985_a7b2475082d1); } @@ -388,6 +328,7 @@ pub struct ID3D12CommandSignature_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DSRDeviceFactory(::windows_core::IUnknown); impl ID3D12DSRDeviceFactory { pub unsafe fn CreateDSRDevice(&self, pd3d12device: P0, nodemask: u32) -> ::windows_core::Result @@ -400,27 +341,11 @@ impl ID3D12DSRDeviceFactory { } } ::windows_core::imp::interface_hierarchy!(ID3D12DSRDeviceFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DSRDeviceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DSRDeviceFactory {} -impl ::core::fmt::Debug for ID3D12DSRDeviceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DSRDeviceFactory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DSRDeviceFactory {} unsafe impl ::core::marker::Sync for ID3D12DSRDeviceFactory {} unsafe impl ::windows_core::Interface for ID3D12DSRDeviceFactory { type Vtable = ID3D12DSRDeviceFactory_Vtbl; } -impl ::core::clone::Clone for ID3D12DSRDeviceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DSRDeviceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51ee7783_6426_4428_b182_42f3541fca71); } @@ -432,6 +357,7 @@ pub struct ID3D12DSRDeviceFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug(::windows_core::IUnknown); impl ID3D12Debug { pub unsafe fn EnableDebugLayer(&self) { @@ -439,27 +365,11 @@ impl ID3D12Debug { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12Debug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug {} -impl ::core::fmt::Debug for ID3D12Debug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug {} unsafe impl ::core::marker::Sync for ID3D12Debug {} unsafe impl ::windows_core::Interface for ID3D12Debug { type Vtable = ID3D12Debug_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x344488b7_6846_474b_b989_f027448245e0); } @@ -471,6 +381,7 @@ pub struct ID3D12Debug_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug1(::windows_core::IUnknown); impl ID3D12Debug1 { pub unsafe fn EnableDebugLayer(&self) { @@ -494,27 +405,11 @@ impl ID3D12Debug1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12Debug1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug1 {} -impl ::core::fmt::Debug for ID3D12Debug1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug1 {} unsafe impl ::core::marker::Sync for ID3D12Debug1 {} unsafe impl ::windows_core::Interface for ID3D12Debug1 { type Vtable = ID3D12Debug1_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaffaa4ca_63fe_4d8e_b8ad_159000af4304); } @@ -534,6 +429,7 @@ pub struct ID3D12Debug1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug2(::windows_core::IUnknown); impl ID3D12Debug2 { pub unsafe fn SetGPUBasedValidationFlags(&self, flags: D3D12_GPU_BASED_VALIDATION_FLAGS) { @@ -541,27 +437,11 @@ impl ID3D12Debug2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12Debug2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug2 {} -impl ::core::fmt::Debug for ID3D12Debug2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug2 {} unsafe impl ::core::marker::Sync for ID3D12Debug2 {} unsafe impl ::windows_core::Interface for ID3D12Debug2 { type Vtable = ID3D12Debug2_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93a665c4_a3b2_4e5d_b692_a26ae14e3374); } @@ -573,6 +453,7 @@ pub struct ID3D12Debug2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug3(::windows_core::IUnknown); impl ID3D12Debug3 { pub unsafe fn EnableDebugLayer(&self) { @@ -599,27 +480,11 @@ impl ID3D12Debug3 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug3, ::windows_core::IUnknown, ID3D12Debug); -impl ::core::cmp::PartialEq for ID3D12Debug3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug3 {} -impl ::core::fmt::Debug for ID3D12Debug3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug3 {} unsafe impl ::core::marker::Sync for ID3D12Debug3 {} unsafe impl ::windows_core::Interface for ID3D12Debug3 { type Vtable = ID3D12Debug3_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cf4e58f_f671_4ff1_a542_3686e3d153d1); } @@ -639,6 +504,7 @@ pub struct ID3D12Debug3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug4(::windows_core::IUnknown); impl ID3D12Debug4 { pub unsafe fn EnableDebugLayer(&self) { @@ -668,27 +534,11 @@ impl ID3D12Debug4 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug4, ::windows_core::IUnknown, ID3D12Debug, ID3D12Debug3); -impl ::core::cmp::PartialEq for ID3D12Debug4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug4 {} -impl ::core::fmt::Debug for ID3D12Debug4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug4 {} unsafe impl ::core::marker::Sync for ID3D12Debug4 {} unsafe impl ::windows_core::Interface for ID3D12Debug4 { type Vtable = ID3D12Debug4_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x014b816e_9ec5_4a2f_a845_ffbe441ce13a); } @@ -700,6 +550,7 @@ pub struct ID3D12Debug4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug5(::windows_core::IUnknown); impl ID3D12Debug5 { pub unsafe fn EnableDebugLayer(&self) { @@ -737,27 +588,11 @@ impl ID3D12Debug5 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug5, ::windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4); -impl ::core::cmp::PartialEq for ID3D12Debug5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug5 {} -impl ::core::fmt::Debug for ID3D12Debug5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug5 {} unsafe impl ::core::marker::Sync for ID3D12Debug5 {} unsafe impl ::windows_core::Interface for ID3D12Debug5 { type Vtable = ID3D12Debug5_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x548d6b12_09fa_40e0_9069_5dcd589a52c9); } @@ -772,6 +607,7 @@ pub struct ID3D12Debug5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug6(::windows_core::IUnknown); impl ID3D12Debug6 { pub unsafe fn EnableDebugLayer(&self) { @@ -817,27 +653,11 @@ impl ID3D12Debug6 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Debug6, ::windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4, ID3D12Debug5); -impl ::core::cmp::PartialEq for ID3D12Debug6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Debug6 {} -impl ::core::fmt::Debug for ID3D12Debug6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Debug6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Debug6 {} unsafe impl ::core::marker::Sync for ID3D12Debug6 {} unsafe impl ::windows_core::Interface for ID3D12Debug6 { type Vtable = ID3D12Debug6_Vtbl; } -impl ::core::clone::Clone for ID3D12Debug6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Debug6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82a816d6_5d01_4157_97d0_4975463fd1ed); } @@ -852,6 +672,7 @@ pub struct ID3D12Debug6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandList(::windows_core::IUnknown); impl ID3D12DebugCommandList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -870,27 +691,11 @@ impl ID3D12DebugCommandList { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DebugCommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandList {} -impl ::core::fmt::Debug for ID3D12DebugCommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandList {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandList {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandList { type Vtable = ID3D12DebugCommandList_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09e0bf36_54ac_484f_8847_4baeeab6053f); } @@ -907,6 +712,7 @@ pub struct ID3D12DebugCommandList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandList1(::windows_core::IUnknown); impl ID3D12DebugCommandList1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -925,27 +731,11 @@ impl ID3D12DebugCommandList1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DebugCommandList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandList1 {} -impl ::core::fmt::Debug for ID3D12DebugCommandList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandList1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandList1 {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandList1 {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandList1 { type Vtable = ID3D12DebugCommandList1_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x102ca951_311b_4b01_b11f_ecb83e061b37); } @@ -962,6 +752,7 @@ pub struct ID3D12DebugCommandList1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandList2(::windows_core::IUnknown); impl ID3D12DebugCommandList2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -986,27 +777,11 @@ impl ID3D12DebugCommandList2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList2, ::windows_core::IUnknown, ID3D12DebugCommandList); -impl ::core::cmp::PartialEq for ID3D12DebugCommandList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandList2 {} -impl ::core::fmt::Debug for ID3D12DebugCommandList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandList2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandList2 {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandList2 {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandList2 { type Vtable = ID3D12DebugCommandList2_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeb575cf_4e06_48be_ba3b_c450fc96652e); } @@ -1019,6 +794,7 @@ pub struct ID3D12DebugCommandList2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandList3(::windows_core::IUnknown); impl ID3D12DebugCommandList3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1055,27 +831,11 @@ impl ID3D12DebugCommandList3 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList3, ::windows_core::IUnknown, ID3D12DebugCommandList, ID3D12DebugCommandList2); -impl ::core::cmp::PartialEq for ID3D12DebugCommandList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandList3 {} -impl ::core::fmt::Debug for ID3D12DebugCommandList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandList3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandList3 {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandList3 {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandList3 { type Vtable = ID3D12DebugCommandList3_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x197d5e15_4d37_4d34_af78_724cd70fdb1f); } @@ -1088,6 +848,7 @@ pub struct ID3D12DebugCommandList3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandQueue(::windows_core::IUnknown); impl ID3D12DebugCommandQueue { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1100,27 +861,11 @@ impl ID3D12DebugCommandQueue { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DebugCommandQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandQueue {} -impl ::core::fmt::Debug for ID3D12DebugCommandQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandQueue {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandQueue {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandQueue { type Vtable = ID3D12DebugCommandQueue_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09e0bf36_54ac_484f_8847_4baeeab6053a); } @@ -1135,6 +880,7 @@ pub struct ID3D12DebugCommandQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugCommandQueue1(::windows_core::IUnknown); impl ID3D12DebugCommandQueue1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1159,27 +905,11 @@ impl ID3D12DebugCommandQueue1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue1, ::windows_core::IUnknown, ID3D12DebugCommandQueue); -impl ::core::cmp::PartialEq for ID3D12DebugCommandQueue1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugCommandQueue1 {} -impl ::core::fmt::Debug for ID3D12DebugCommandQueue1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugCommandQueue1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugCommandQueue1 {} unsafe impl ::core::marker::Sync for ID3D12DebugCommandQueue1 {} unsafe impl ::windows_core::Interface for ID3D12DebugCommandQueue1 { type Vtable = ID3D12DebugCommandQueue1_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugCommandQueue1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugCommandQueue1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16be35a2_bfd6_49f2_bcae_eaae4aff862d); } @@ -1192,6 +922,7 @@ pub struct ID3D12DebugCommandQueue1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugDevice(::windows_core::IUnknown); impl ID3D12DebugDevice { pub unsafe fn SetFeatureMask(&self, mask: D3D12_DEBUG_FEATURE) -> ::windows_core::Result<()> { @@ -1205,27 +936,11 @@ impl ID3D12DebugDevice { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DebugDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugDevice {} -impl ::core::fmt::Debug for ID3D12DebugDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugDevice {} unsafe impl ::core::marker::Sync for ID3D12DebugDevice {} unsafe impl ::windows_core::Interface for ID3D12DebugDevice { type Vtable = ID3D12DebugDevice_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3febd6dd_4973_4787_8194_e45f9e28923e); } @@ -1239,6 +954,7 @@ pub struct ID3D12DebugDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugDevice1(::windows_core::IUnknown); impl ID3D12DebugDevice1 { pub unsafe fn SetDebugParameter(&self, r#type: D3D12_DEBUG_DEVICE_PARAMETER_TYPE, pdata: *const ::core::ffi::c_void, datasize: u32) -> ::windows_core::Result<()> { @@ -1252,27 +968,11 @@ impl ID3D12DebugDevice1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugDevice1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DebugDevice1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugDevice1 {} -impl ::core::fmt::Debug for ID3D12DebugDevice1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugDevice1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugDevice1 {} unsafe impl ::core::marker::Sync for ID3D12DebugDevice1 {} unsafe impl ::windows_core::Interface for ID3D12DebugDevice1 { type Vtable = ID3D12DebugDevice1_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugDevice1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugDevice1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9b71770_d099_4a65_a698_3dee10020f88); } @@ -1286,6 +986,7 @@ pub struct ID3D12DebugDevice1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DebugDevice2(::windows_core::IUnknown); impl ID3D12DebugDevice2 { pub unsafe fn SetFeatureMask(&self, mask: D3D12_DEBUG_FEATURE) -> ::windows_core::Result<()> { @@ -1305,27 +1006,11 @@ impl ID3D12DebugDevice2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DebugDevice2, ::windows_core::IUnknown, ID3D12DebugDevice); -impl ::core::cmp::PartialEq for ID3D12DebugDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DebugDevice2 {} -impl ::core::fmt::Debug for ID3D12DebugDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DebugDevice2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DebugDevice2 {} unsafe impl ::core::marker::Sync for ID3D12DebugDevice2 {} unsafe impl ::windows_core::Interface for ID3D12DebugDevice2 { type Vtable = ID3D12DebugDevice2_Vtbl; } -impl ::core::clone::Clone for ID3D12DebugDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DebugDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60eccbc1_378d_4df1_894c_f8ac5ce4d7dd); } @@ -1338,6 +1023,7 @@ pub struct ID3D12DebugDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DescriptorHeap(::windows_core::IUnknown); impl ID3D12DescriptorHeap { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -1381,27 +1067,11 @@ impl ID3D12DescriptorHeap { } } ::windows_core::imp::interface_hierarchy!(ID3D12DescriptorHeap, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12DescriptorHeap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DescriptorHeap {} -impl ::core::fmt::Debug for ID3D12DescriptorHeap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DescriptorHeap").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DescriptorHeap {} unsafe impl ::core::marker::Sync for ID3D12DescriptorHeap {} unsafe impl ::windows_core::Interface for ID3D12DescriptorHeap { type Vtable = ID3D12DescriptorHeap_Vtbl; } -impl ::core::clone::Clone for ID3D12DescriptorHeap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DescriptorHeap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8efb471d_616c_4f49_90f7_127bb763fa51); } @@ -1415,6 +1085,7 @@ pub struct ID3D12DescriptorHeap_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device(::windows_core::IUnknown); impl ID3D12Device { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -1670,27 +1341,11 @@ impl ID3D12Device { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device, ::windows_core::IUnknown, ID3D12Object); -impl ::core::cmp::PartialEq for ID3D12Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device {} -impl ::core::fmt::Debug for ID3D12Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device {} unsafe impl ::core::marker::Sync for ID3D12Device {} unsafe impl ::windows_core::Interface for ID3D12Device { type Vtable = ID3D12Device_Vtbl; } -impl ::core::clone::Clone for ID3D12Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x189819f1_1db6_4b57_be54_1821339b85f7); } @@ -1783,6 +1438,7 @@ pub struct ID3D12Device_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device1(::windows_core::IUnknown); impl ID3D12Device1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -2056,27 +1712,11 @@ impl ID3D12Device1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device1, ::windows_core::IUnknown, ID3D12Object, ID3D12Device); -impl ::core::cmp::PartialEq for ID3D12Device1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device1 {} -impl ::core::fmt::Debug for ID3D12Device1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device1 {} unsafe impl ::core::marker::Sync for ID3D12Device1 {} unsafe impl ::windows_core::Interface for ID3D12Device1 { type Vtable = ID3D12Device1_Vtbl; } -impl ::core::clone::Clone for ID3D12Device1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77acce80_638e_4e65_8895_c1f23386863e); } @@ -2093,6 +1733,7 @@ pub struct ID3D12Device1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device10(::windows_core::IUnknown); impl ID3D12Device10 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -2584,27 +2225,11 @@ impl ID3D12Device10 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device10, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); -impl ::core::cmp::PartialEq for ID3D12Device10 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device10 {} -impl ::core::fmt::Debug for ID3D12Device10 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device10").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device10 {} unsafe impl ::core::marker::Sync for ID3D12Device10 {} unsafe impl ::windows_core::Interface for ID3D12Device10 { type Vtable = ID3D12Device10_Vtbl; } -impl ::core::clone::Clone for ID3D12Device10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x517f8718_aa66_49f9_b02b_a7ab89c06031); } @@ -2627,6 +2252,7 @@ pub struct ID3D12Device10_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device11(::windows_core::IUnknown); impl ID3D12Device11 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -3121,27 +2747,11 @@ impl ID3D12Device11 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device11, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); -impl ::core::cmp::PartialEq for ID3D12Device11 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device11 {} -impl ::core::fmt::Debug for ID3D12Device11 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device11").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device11 {} unsafe impl ::core::marker::Sync for ID3D12Device11 {} unsafe impl ::windows_core::Interface for ID3D12Device11 { type Vtable = ID3D12Device11_Vtbl; } -impl ::core::clone::Clone for ID3D12Device11 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device11 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5405c344_d457_444e_b4dd_2366e45aee39); } @@ -3153,6 +2763,7 @@ pub struct ID3D12Device11_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device12(::windows_core::IUnknown); impl ID3D12Device12 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -3654,27 +3265,11 @@ impl ID3D12Device12 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device12, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11); -impl ::core::cmp::PartialEq for ID3D12Device12 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device12 {} -impl ::core::fmt::Debug for ID3D12Device12 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device12").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device12 {} unsafe impl ::core::marker::Sync for ID3D12Device12 {} unsafe impl ::windows_core::Interface for ID3D12Device12 { type Vtable = ID3D12Device12_Vtbl; } -impl ::core::clone::Clone for ID3D12Device12 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device12 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5af5c532_4c91_4cd0_b541_15a405395fc5); } @@ -3689,6 +3284,7 @@ pub struct ID3D12Device12_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device2(::windows_core::IUnknown); impl ID3D12Device2 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -3969,27 +3565,11 @@ impl ID3D12Device2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device2, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); -impl ::core::cmp::PartialEq for ID3D12Device2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device2 {} -impl ::core::fmt::Debug for ID3D12Device2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device2 {} unsafe impl ::core::marker::Sync for ID3D12Device2 {} unsafe impl ::windows_core::Interface for ID3D12Device2 { type Vtable = ID3D12Device2_Vtbl; } -impl ::core::clone::Clone for ID3D12Device2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30baa41e_b15b_475c_a0bb_1af5c5b64328); } @@ -4001,6 +3581,7 @@ pub struct ID3D12Device2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device3(::windows_core::IUnknown); impl ID3D12Device3 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -4304,27 +3885,11 @@ impl ID3D12Device3 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device3, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2); -impl ::core::cmp::PartialEq for ID3D12Device3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device3 {} -impl ::core::fmt::Debug for ID3D12Device3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device3 {} unsafe impl ::core::marker::Sync for ID3D12Device3 {} unsafe impl ::windows_core::Interface for ID3D12Device3 { type Vtable = ID3D12Device3_Vtbl; } -impl ::core::clone::Clone for ID3D12Device3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81dadc15_2bad_4392_93c5_101345c4aa98); } @@ -4341,6 +3906,7 @@ pub struct ID3D12Device3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device4(::windows_core::IUnknown); impl ID3D12Device4 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -4690,27 +4256,11 @@ impl ID3D12Device4 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device4, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3); -impl ::core::cmp::PartialEq for ID3D12Device4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device4 {} -impl ::core::fmt::Debug for ID3D12Device4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device4 {} unsafe impl ::core::marker::Sync for ID3D12Device4 {} unsafe impl ::windows_core::Interface for ID3D12Device4 { type Vtable = ID3D12Device4_Vtbl; } -impl ::core::clone::Clone for ID3D12Device4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe865df17_a9ee_46f9_a463_3098315aa2e5); } @@ -4736,6 +4286,7 @@ pub struct ID3D12Device4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device5(::windows_core::IUnknown); impl ID3D12Device5 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -5124,27 +4675,11 @@ impl ID3D12Device5 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device5, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4); -impl ::core::cmp::PartialEq for ID3D12Device5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device5 {} -impl ::core::fmt::Debug for ID3D12Device5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device5 {} unsafe impl ::core::marker::Sync for ID3D12Device5 {} unsafe impl ::windows_core::Interface for ID3D12Device5 { type Vtable = ID3D12Device5_Vtbl; } -impl ::core::clone::Clone for ID3D12Device5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b4f173b_2fea_4b80_8f58_4307191ab95d); } @@ -5166,6 +4701,7 @@ pub struct ID3D12Device5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device6(::windows_core::IUnknown); impl ID3D12Device6 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -5562,27 +5098,11 @@ impl ID3D12Device6 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device6, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5); -impl ::core::cmp::PartialEq for ID3D12Device6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device6 {} -impl ::core::fmt::Debug for ID3D12Device6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device6 {} unsafe impl ::core::marker::Sync for ID3D12Device6 {} unsafe impl ::windows_core::Interface for ID3D12Device6 { type Vtable = ID3D12Device6_Vtbl; } -impl ::core::clone::Clone for ID3D12Device6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc70b221b_40e4_4a17_89af_025a0727a6dc); } @@ -5597,6 +5117,7 @@ pub struct ID3D12Device6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device7(::windows_core::IUnknown); impl ID3D12Device7 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -6008,27 +5529,11 @@ impl ID3D12Device7 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device7, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); -impl ::core::cmp::PartialEq for ID3D12Device7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device7 {} -impl ::core::fmt::Debug for ID3D12Device7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device7").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device7 {} unsafe impl ::core::marker::Sync for ID3D12Device7 {} unsafe impl ::windows_core::Interface for ID3D12Device7 { type Vtable = ID3D12Device7_Vtbl; } -impl ::core::clone::Clone for ID3D12Device7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c014b53_68a1_4b9b_8bd1_dd6046b9358b); } @@ -6041,6 +5546,7 @@ pub struct ID3D12Device7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device8(::windows_core::IUnknown); impl ID3D12Device8 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -6489,27 +5995,11 @@ impl ID3D12Device8 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device8, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7); -impl ::core::cmp::PartialEq for ID3D12Device8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device8 {} -impl ::core::fmt::Debug for ID3D12Device8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device8").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device8 {} unsafe impl ::core::marker::Sync for ID3D12Device8 {} unsafe impl ::windows_core::Interface for ID3D12Device8 { type Vtable = ID3D12Device8_Vtbl; } -impl ::core::clone::Clone for ID3D12Device8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9218e6bb_f944_4f7e_a75c_b1b2c7b701f3); } @@ -6537,6 +6027,7 @@ pub struct ID3D12Device8_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Device9(::windows_core::IUnknown); impl ID3D12Device9 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -7001,27 +6492,11 @@ impl ID3D12Device9 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Device9, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); -impl ::core::cmp::PartialEq for ID3D12Device9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Device9 {} -impl ::core::fmt::Debug for ID3D12Device9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Device9").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Device9 {} unsafe impl ::core::marker::Sync for ID3D12Device9 {} unsafe impl ::windows_core::Interface for ID3D12Device9 { type Vtable = ID3D12Device9_Vtbl; } -impl ::core::clone::Clone for ID3D12Device9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Device9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c80e962_f032_4f60_bc9e_ebc2cfa1d83c); } @@ -7035,6 +6510,7 @@ pub struct ID3D12Device9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceChild(::windows_core::IUnknown); impl ID3D12DeviceChild { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -7063,27 +6539,11 @@ impl ID3D12DeviceChild { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceChild, ::windows_core::IUnknown, ID3D12Object); -impl ::core::cmp::PartialEq for ID3D12DeviceChild { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceChild {} -impl ::core::fmt::Debug for ID3D12DeviceChild { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceChild").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceChild {} unsafe impl ::core::marker::Sync for ID3D12DeviceChild {} unsafe impl ::windows_core::Interface for ID3D12DeviceChild { type Vtable = ID3D12DeviceChild_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceChild { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceChild { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905db94b_a00c_4140_9df5_2b64ca9ea357); } @@ -7095,6 +6555,7 @@ pub struct ID3D12DeviceChild_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceConfiguration(::windows_core::IUnknown); impl ID3D12DeviceConfiguration { pub unsafe fn GetDesc(&self) -> D3D12_DEVICE_CONFIGURATION_DESC { @@ -7119,27 +6580,11 @@ impl ID3D12DeviceConfiguration { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DeviceConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceConfiguration {} -impl ::core::fmt::Debug for ID3D12DeviceConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceConfiguration").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceConfiguration {} unsafe impl ::core::marker::Sync for ID3D12DeviceConfiguration {} unsafe impl ::windows_core::Interface for ID3D12DeviceConfiguration { type Vtable = ID3D12DeviceConfiguration_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78dbf87b_f766_422b_a61c_c8c446bdb9ad); } @@ -7157,6 +6602,7 @@ pub struct ID3D12DeviceConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceFactory(::windows_core::IUnknown); impl ID3D12DeviceFactory { pub unsafe fn InitializeFromGlobalState(&self) -> ::windows_core::Result<()> { @@ -7192,27 +6638,11 @@ impl ID3D12DeviceFactory { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DeviceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceFactory {} -impl ::core::fmt::Debug for ID3D12DeviceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceFactory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceFactory {} unsafe impl ::core::marker::Sync for ID3D12DeviceFactory {} unsafe impl ::windows_core::Interface for ID3D12DeviceFactory { type Vtable = ID3D12DeviceFactory_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61f307d3_d34e_4e7c_8374_3ba4de23cccb); } @@ -7233,6 +6663,7 @@ pub struct ID3D12DeviceFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedData(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedData { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows_core::Result { @@ -7245,27 +6676,11 @@ impl ID3D12DeviceRemovedExtendedData { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedData {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedData").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedData {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedData {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedData { type Vtable = ID3D12DeviceRemovedExtendedData_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98931d33_5ae8_4791_aa3c_1a73a2934e71); } @@ -7278,6 +6693,7 @@ pub struct ID3D12DeviceRemovedExtendedData_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedData1(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedData1 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows_core::Result { @@ -7298,27 +6714,11 @@ impl ID3D12DeviceRemovedExtendedData1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData1, ::windows_core::IUnknown, ID3D12DeviceRemovedExtendedData); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedData1 {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedData1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedData1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedData1 {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedData1 {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedData1 { type Vtable = ID3D12DeviceRemovedExtendedData1_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedData1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedData1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9727a022_cf1d_4dda_9eba_effa653fc506); } @@ -7331,6 +6731,7 @@ pub struct ID3D12DeviceRemovedExtendedData1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedData2(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedData2 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> ::windows_core::Result { @@ -7357,27 +6758,11 @@ impl ID3D12DeviceRemovedExtendedData2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData2, ::windows_core::IUnknown, ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData1); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedData2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedData2 {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedData2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedData2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedData2 {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedData2 {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedData2 { type Vtable = ID3D12DeviceRemovedExtendedData2_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67fc5816_e4ca_4915_bf18_42541272da54); } @@ -7390,6 +6775,7 @@ pub struct ID3D12DeviceRemovedExtendedData2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedDataSettings(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedDataSettings { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -7403,27 +6789,11 @@ impl ID3D12DeviceRemovedExtendedDataSettings { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedDataSettings {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedDataSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedDataSettings").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedDataSettings {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedDataSettings {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedDataSettings { type Vtable = ID3D12DeviceRemovedExtendedDataSettings_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedDataSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedDataSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82bc481c_6b9b_4030_aedb_7ee3d1df1e63); } @@ -7437,6 +6807,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedDataSettings1(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedDataSettings1 { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -7453,27 +6824,11 @@ impl ID3D12DeviceRemovedExtendedDataSettings1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings1, ::windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedDataSettings1 {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedDataSettings1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedDataSettings1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedDataSettings1 {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedDataSettings1 {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedDataSettings1 { type Vtable = ID3D12DeviceRemovedExtendedDataSettings1_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedDataSettings1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedDataSettings1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbd5ae51_3317_4f0a_adf9_1d7cedcaae0b); } @@ -7485,6 +6840,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12DeviceRemovedExtendedDataSettings2(::windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedDataSettings2 { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -7509,27 +6865,11 @@ impl ID3D12DeviceRemovedExtendedDataSettings2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings2, ::windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings1); -impl ::core::cmp::PartialEq for ID3D12DeviceRemovedExtendedDataSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12DeviceRemovedExtendedDataSettings2 {} -impl ::core::fmt::Debug for ID3D12DeviceRemovedExtendedDataSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12DeviceRemovedExtendedDataSettings2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12DeviceRemovedExtendedDataSettings2 {} unsafe impl ::core::marker::Sync for ID3D12DeviceRemovedExtendedDataSettings2 {} unsafe impl ::windows_core::Interface for ID3D12DeviceRemovedExtendedDataSettings2 { type Vtable = ID3D12DeviceRemovedExtendedDataSettings2_Vtbl; } -impl ::core::clone::Clone for ID3D12DeviceRemovedExtendedDataSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12DeviceRemovedExtendedDataSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61552388_01ab_4008_a436_83db189566ea); } @@ -7544,6 +6884,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Fence(::windows_core::IUnknown); impl ID3D12Fence { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -7586,27 +6927,11 @@ impl ID3D12Fence { } } ::windows_core::imp::interface_hierarchy!(ID3D12Fence, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12Fence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Fence {} -impl ::core::fmt::Debug for ID3D12Fence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Fence").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Fence {} unsafe impl ::core::marker::Sync for ID3D12Fence {} unsafe impl ::windows_core::Interface for ID3D12Fence { type Vtable = ID3D12Fence_Vtbl; } -impl ::core::clone::Clone for ID3D12Fence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Fence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a753dcf_c4d8_4b91_adf6_be5a60d95a76); } @@ -7623,6 +6948,7 @@ pub struct ID3D12Fence_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Fence1(::windows_core::IUnknown); impl ID3D12Fence1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -7668,27 +6994,11 @@ impl ID3D12Fence1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Fence1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Fence); -impl ::core::cmp::PartialEq for ID3D12Fence1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Fence1 {} -impl ::core::fmt::Debug for ID3D12Fence1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Fence1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Fence1 {} unsafe impl ::core::marker::Sync for ID3D12Fence1 {} unsafe impl ::windows_core::Interface for ID3D12Fence1 { type Vtable = ID3D12Fence1_Vtbl; } -impl ::core::clone::Clone for ID3D12Fence1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Fence1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x433685fe_e22b_4ca0_a8db_b5b4f4dd0e4a); } @@ -7700,6 +7010,7 @@ pub struct ID3D12Fence1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12FunctionParameterReflection(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D12FunctionParameterReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -7708,27 +7019,11 @@ impl ID3D12FunctionParameterReflection { (::windows_core::Interface::vtable(self).GetDesc)(::windows_core::Interface::as_raw(self), pdesc).ok() } } -impl ::core::cmp::PartialEq for ID3D12FunctionParameterReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12FunctionParameterReflection {} -impl ::core::fmt::Debug for ID3D12FunctionParameterReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12FunctionParameterReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12FunctionParameterReflection {} unsafe impl ::core::marker::Sync for ID3D12FunctionParameterReflection {} unsafe impl ::windows_core::Interface for ID3D12FunctionParameterReflection { type Vtable = ID3D12FunctionParameterReflection_Vtbl; } -impl ::core::clone::Clone for ID3D12FunctionParameterReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D12FunctionParameterReflection_Vtbl { @@ -7739,6 +7034,7 @@ pub struct ID3D12FunctionParameterReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12FunctionReflection(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D12FunctionReflection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] @@ -7778,27 +7074,11 @@ impl ID3D12FunctionReflection { (::windows_core::Interface::vtable(self).GetFunctionParameter)(::windows_core::Interface::as_raw(self), parameterindex) } } -impl ::core::cmp::PartialEq for ID3D12FunctionReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12FunctionReflection {} -impl ::core::fmt::Debug for ID3D12FunctionReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12FunctionReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12FunctionReflection {} unsafe impl ::core::marker::Sync for ID3D12FunctionReflection {} unsafe impl ::windows_core::Interface for ID3D12FunctionReflection { type Vtable = ID3D12FunctionReflection_Vtbl; } -impl ::core::clone::Clone for ID3D12FunctionReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D12FunctionReflection_Vtbl { @@ -7821,6 +7101,7 @@ pub struct ID3D12FunctionReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList(::windows_core::IUnknown); impl ID3D12GraphicsCommandList { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -8094,27 +7375,11 @@ impl ID3D12GraphicsCommandList { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList { type Vtable = ID3D12GraphicsCommandList_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b160d0f_ac1b_4185_8ba8_b3ae42a5a455); } @@ -8212,6 +7477,7 @@ pub struct ID3D12GraphicsCommandList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList1(::windows_core::IUnknown); impl ID3D12GraphicsCommandList1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -8517,27 +7783,11 @@ impl ID3D12GraphicsCommandList1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList1 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList1 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList1 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList1 { type Vtable = ID3D12GraphicsCommandList1_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x553103fb_1fe7_4557_bb38_946d7d0e7ca7); } @@ -8557,6 +7807,7 @@ pub struct ID3D12GraphicsCommandList1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList2(::windows_core::IUnknown); impl ID3D12GraphicsCommandList2 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -8865,27 +8116,11 @@ impl ID3D12GraphicsCommandList2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList2, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList2 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList2 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList2 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList2 { type Vtable = ID3D12GraphicsCommandList2_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38c3e585_ff17_412c_9150_4fc6f9d72a28); } @@ -8897,6 +8132,7 @@ pub struct ID3D12GraphicsCommandList2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList3(::windows_core::IUnknown); impl ID3D12GraphicsCommandList3 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -9211,27 +8447,11 @@ impl ID3D12GraphicsCommandList3 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList3, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList3 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList3 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList3 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList3 { type Vtable = ID3D12GraphicsCommandList3_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fda83a7_b84c_4e38_9ac8_c7bd22016b3d); } @@ -9243,6 +8463,7 @@ pub struct ID3D12GraphicsCommandList3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList4(::windows_core::IUnknown); impl ID3D12GraphicsCommandList4 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -9597,27 +8818,11 @@ impl ID3D12GraphicsCommandList4 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList4, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList4 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList4 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList4 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList4 { type Vtable = ID3D12GraphicsCommandList4_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8754318e_d3a9_4541_98cf_645b50dc4874); } @@ -9643,6 +8848,7 @@ pub struct ID3D12GraphicsCommandList4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList5(::windows_core::IUnknown); impl ID3D12GraphicsCommandList5 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -10006,27 +9212,11 @@ impl ID3D12GraphicsCommandList5 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList5, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList5 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList5 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList5 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList5 { type Vtable = ID3D12GraphicsCommandList5_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55050859_4024_474c_87f5_6472eaee44ea); } @@ -10039,6 +9229,7 @@ pub struct ID3D12GraphicsCommandList5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList6(::windows_core::IUnknown); impl ID3D12GraphicsCommandList6 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -10405,27 +9596,11 @@ impl ID3D12GraphicsCommandList6 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList6, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList6 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList6 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList6 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList6 { type Vtable = ID3D12GraphicsCommandList6_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3827890_e548_4cfa_96cf_5689a9370f80); } @@ -10437,6 +9612,7 @@ pub struct ID3D12GraphicsCommandList6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList7(::windows_core::IUnknown); impl ID3D12GraphicsCommandList7 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -10806,27 +9982,11 @@ impl ID3D12GraphicsCommandList7 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList7, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList7 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList7").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList7 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList7 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList7 { type Vtable = ID3D12GraphicsCommandList7_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd171223_8b61_4769_90e3_160ccde4e2c1); } @@ -10838,6 +9998,7 @@ pub struct ID3D12GraphicsCommandList7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList8(::windows_core::IUnknown); impl ID3D12GraphicsCommandList8 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -11210,27 +10371,11 @@ impl ID3D12GraphicsCommandList8 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList8, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList8 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList8").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList8 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList8 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList8 { type Vtable = ID3D12GraphicsCommandList8_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee936ef9_599d_4d28_938e_23c4ad05ce51); } @@ -11242,6 +10387,7 @@ pub struct ID3D12GraphicsCommandList8_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12GraphicsCommandList9(::windows_core::IUnknown); impl ID3D12GraphicsCommandList9 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -11620,27 +10766,11 @@ impl ID3D12GraphicsCommandList9 { } } ::windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList9, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList8); -impl ::core::cmp::PartialEq for ID3D12GraphicsCommandList9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12GraphicsCommandList9 {} -impl ::core::fmt::Debug for ID3D12GraphicsCommandList9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12GraphicsCommandList9").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12GraphicsCommandList9 {} unsafe impl ::core::marker::Sync for ID3D12GraphicsCommandList9 {} unsafe impl ::windows_core::Interface for ID3D12GraphicsCommandList9 { type Vtable = ID3D12GraphicsCommandList9_Vtbl; } -impl ::core::clone::Clone for ID3D12GraphicsCommandList9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12GraphicsCommandList9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34ed2808_ffe6_4c2b_b11a_cabd2b0c59e1); } @@ -11653,6 +10783,7 @@ pub struct ID3D12GraphicsCommandList9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Heap(::windows_core::IUnknown); impl ID3D12Heap { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -11686,27 +10817,11 @@ impl ID3D12Heap { } } ::windows_core::imp::interface_hierarchy!(ID3D12Heap, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12Heap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Heap {} -impl ::core::fmt::Debug for ID3D12Heap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Heap").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Heap {} unsafe impl ::core::marker::Sync for ID3D12Heap {} unsafe impl ::windows_core::Interface for ID3D12Heap { type Vtable = ID3D12Heap_Vtbl; } -impl ::core::clone::Clone for ID3D12Heap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Heap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b3b2502_6e51_45b3_90ee_9884265e8df3); } @@ -11718,6 +10833,7 @@ pub struct ID3D12Heap_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Heap1(::windows_core::IUnknown); impl ID3D12Heap1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -11757,27 +10873,11 @@ impl ID3D12Heap1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Heap1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); -impl ::core::cmp::PartialEq for ID3D12Heap1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Heap1 {} -impl ::core::fmt::Debug for ID3D12Heap1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Heap1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Heap1 {} unsafe impl ::core::marker::Sync for ID3D12Heap1 {} unsafe impl ::windows_core::Interface for ID3D12Heap1 { type Vtable = ID3D12Heap1_Vtbl; } -impl ::core::clone::Clone for ID3D12Heap1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Heap1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x572f7389_2168_49e3_9693_d6df5871bf6d); } @@ -11789,6 +10889,7 @@ pub struct ID3D12Heap1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12InfoQueue(::windows_core::IUnknown); impl ID3D12InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> ::windows_core::Result<()> { @@ -11932,27 +11033,11 @@ impl ID3D12InfoQueue { } } ::windows_core::imp::interface_hierarchy!(ID3D12InfoQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12InfoQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12InfoQueue {} -impl ::core::fmt::Debug for ID3D12InfoQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12InfoQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12InfoQueue {} unsafe impl ::core::marker::Sync for ID3D12InfoQueue {} unsafe impl ::windows_core::Interface for ID3D12InfoQueue { type Vtable = ID3D12InfoQueue_Vtbl; } -impl ::core::clone::Clone for ID3D12InfoQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12InfoQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0742a90b_c387_483f_b946_30a7e4e61458); } @@ -12022,6 +11107,7 @@ pub struct ID3D12InfoQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12InfoQueue1(::windows_core::IUnknown); impl ID3D12InfoQueue1 { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> ::windows_core::Result<()> { @@ -12171,27 +11257,11 @@ impl ID3D12InfoQueue1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12InfoQueue1, ::windows_core::IUnknown, ID3D12InfoQueue); -impl ::core::cmp::PartialEq for ID3D12InfoQueue1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12InfoQueue1 {} -impl ::core::fmt::Debug for ID3D12InfoQueue1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12InfoQueue1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12InfoQueue1 {} unsafe impl ::core::marker::Sync for ID3D12InfoQueue1 {} unsafe impl ::windows_core::Interface for ID3D12InfoQueue1 { type Vtable = ID3D12InfoQueue1_Vtbl; } -impl ::core::clone::Clone for ID3D12InfoQueue1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12InfoQueue1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2852dd88_b484_4c0c_b6b1_67168500e600); } @@ -12204,6 +11274,7 @@ pub struct ID3D12InfoQueue1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12LibraryReflection(::windows_core::IUnknown); impl ID3D12LibraryReflection { pub unsafe fn GetDesc(&self) -> ::windows_core::Result { @@ -12215,27 +11286,11 @@ impl ID3D12LibraryReflection { } } ::windows_core::imp::interface_hierarchy!(ID3D12LibraryReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12LibraryReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12LibraryReflection {} -impl ::core::fmt::Debug for ID3D12LibraryReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12LibraryReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12LibraryReflection {} unsafe impl ::core::marker::Sync for ID3D12LibraryReflection {} unsafe impl ::windows_core::Interface for ID3D12LibraryReflection { type Vtable = ID3D12LibraryReflection_Vtbl; } -impl ::core::clone::Clone for ID3D12LibraryReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12LibraryReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e349d19_54db_4a56_9dc9_119d87bdb804); } @@ -12248,6 +11303,7 @@ pub struct ID3D12LibraryReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12LifetimeOwner(::windows_core::IUnknown); impl ID3D12LifetimeOwner { pub unsafe fn LifetimeStateUpdated(&self, newstate: D3D12_LIFETIME_STATE) { @@ -12255,27 +11311,11 @@ impl ID3D12LifetimeOwner { } } ::windows_core::imp::interface_hierarchy!(ID3D12LifetimeOwner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12LifetimeOwner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12LifetimeOwner {} -impl ::core::fmt::Debug for ID3D12LifetimeOwner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12LifetimeOwner").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12LifetimeOwner {} unsafe impl ::core::marker::Sync for ID3D12LifetimeOwner {} unsafe impl ::windows_core::Interface for ID3D12LifetimeOwner { type Vtable = ID3D12LifetimeOwner_Vtbl; } -impl ::core::clone::Clone for ID3D12LifetimeOwner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12LifetimeOwner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe667af9f_cd56_4f46_83ce_032e595d70a8); } @@ -12287,6 +11327,7 @@ pub struct ID3D12LifetimeOwner_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12LifetimeTracker(::windows_core::IUnknown); impl ID3D12LifetimeTracker { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12321,27 +11362,11 @@ impl ID3D12LifetimeTracker { } } ::windows_core::imp::interface_hierarchy!(ID3D12LifetimeTracker, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12LifetimeTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12LifetimeTracker {} -impl ::core::fmt::Debug for ID3D12LifetimeTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12LifetimeTracker").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12LifetimeTracker {} unsafe impl ::core::marker::Sync for ID3D12LifetimeTracker {} unsafe impl ::windows_core::Interface for ID3D12LifetimeTracker { type Vtable = ID3D12LifetimeTracker_Vtbl; } -impl ::core::clone::Clone for ID3D12LifetimeTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12LifetimeTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fd03d36_4eb1_424a_a582_494ecb8ba813); } @@ -12353,6 +11378,7 @@ pub struct ID3D12LifetimeTracker_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ManualWriteTrackingResource(::windows_core::IUnknown); impl ID3D12ManualWriteTrackingResource { pub unsafe fn TrackWrite(&self, subresource: u32, pwrittenrange: ::core::option::Option<*const D3D12_RANGE>) { @@ -12360,27 +11386,11 @@ impl ID3D12ManualWriteTrackingResource { } } ::windows_core::imp::interface_hierarchy!(ID3D12ManualWriteTrackingResource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12ManualWriteTrackingResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ManualWriteTrackingResource {} -impl ::core::fmt::Debug for ID3D12ManualWriteTrackingResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ManualWriteTrackingResource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ManualWriteTrackingResource {} unsafe impl ::core::marker::Sync for ID3D12ManualWriteTrackingResource {} unsafe impl ::windows_core::Interface for ID3D12ManualWriteTrackingResource { type Vtable = ID3D12ManualWriteTrackingResource_Vtbl; } -impl ::core::clone::Clone for ID3D12ManualWriteTrackingResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ManualWriteTrackingResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86ca3b85_49ad_4b6e_aed5_eddb18540f41); } @@ -12392,6 +11402,7 @@ pub struct ID3D12ManualWriteTrackingResource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12MetaCommand(::windows_core::IUnknown); impl ID3D12MetaCommand { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12423,27 +11434,11 @@ impl ID3D12MetaCommand { } } ::windows_core::imp::interface_hierarchy!(ID3D12MetaCommand, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12MetaCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12MetaCommand {} -impl ::core::fmt::Debug for ID3D12MetaCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12MetaCommand").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12MetaCommand {} unsafe impl ::core::marker::Sync for ID3D12MetaCommand {} unsafe impl ::windows_core::Interface for ID3D12MetaCommand { type Vtable = ID3D12MetaCommand_Vtbl; } -impl ::core::clone::Clone for ID3D12MetaCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12MetaCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbb84c27_36ce_4fc9_b801_f048c46ac570); } @@ -12455,6 +11450,7 @@ pub struct ID3D12MetaCommand_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Object(::windows_core::IUnknown); impl ID3D12Object { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12477,27 +11473,11 @@ impl ID3D12Object { } } ::windows_core::imp::interface_hierarchy!(ID3D12Object, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12Object { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Object {} -impl ::core::fmt::Debug for ID3D12Object { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Object").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Object {} unsafe impl ::core::marker::Sync for ID3D12Object {} unsafe impl ::windows_core::Interface for ID3D12Object { type Vtable = ID3D12Object_Vtbl; } -impl ::core::clone::Clone for ID3D12Object { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Object { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4fec28f_7966_4e95_9f94_f431cb56c3b8); } @@ -12512,6 +11492,7 @@ pub struct ID3D12Object_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Pageable(::windows_core::IUnknown); impl ID3D12Pageable { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12540,27 +11521,11 @@ impl ID3D12Pageable { } } ::windows_core::imp::interface_hierarchy!(ID3D12Pageable, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12Pageable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Pageable {} -impl ::core::fmt::Debug for ID3D12Pageable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Pageable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Pageable {} unsafe impl ::core::marker::Sync for ID3D12Pageable {} unsafe impl ::windows_core::Interface for ID3D12Pageable { type Vtable = ID3D12Pageable_Vtbl; } -impl ::core::clone::Clone for ID3D12Pageable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Pageable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63ee58fb_1268_4835_86da_f008ce62f0d6); } @@ -12571,6 +11536,7 @@ pub struct ID3D12Pageable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12PipelineLibrary(::windows_core::IUnknown); impl ID3D12PipelineLibrary { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12630,27 +11596,11 @@ impl ID3D12PipelineLibrary { } } ::windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12PipelineLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12PipelineLibrary {} -impl ::core::fmt::Debug for ID3D12PipelineLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12PipelineLibrary").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12PipelineLibrary {} unsafe impl ::core::marker::Sync for ID3D12PipelineLibrary {} unsafe impl ::windows_core::Interface for ID3D12PipelineLibrary { type Vtable = ID3D12PipelineLibrary_Vtbl; } -impl ::core::clone::Clone for ID3D12PipelineLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12PipelineLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc64226a8_9201_46af_b4cc_53fb9ff7414f); } @@ -12669,6 +11619,7 @@ pub struct ID3D12PipelineLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12PipelineLibrary1(::windows_core::IUnknown); impl ID3D12PipelineLibrary1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12736,27 +11687,11 @@ impl ID3D12PipelineLibrary1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); -impl ::core::cmp::PartialEq for ID3D12PipelineLibrary1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12PipelineLibrary1 {} -impl ::core::fmt::Debug for ID3D12PipelineLibrary1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12PipelineLibrary1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12PipelineLibrary1 {} unsafe impl ::core::marker::Sync for ID3D12PipelineLibrary1 {} unsafe impl ::windows_core::Interface for ID3D12PipelineLibrary1 { type Vtable = ID3D12PipelineLibrary1_Vtbl; } -impl ::core::clone::Clone for ID3D12PipelineLibrary1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12PipelineLibrary1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80eabf42_2568_4e5e_bd82_c37f86961dc3); } @@ -12768,6 +11703,7 @@ pub struct ID3D12PipelineLibrary1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12PipelineState(::windows_core::IUnknown); impl ID3D12PipelineState { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12802,27 +11738,11 @@ impl ID3D12PipelineState { } } ::windows_core::imp::interface_hierarchy!(ID3D12PipelineState, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12PipelineState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12PipelineState {} -impl ::core::fmt::Debug for ID3D12PipelineState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12PipelineState").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12PipelineState {} unsafe impl ::core::marker::Sync for ID3D12PipelineState {} unsafe impl ::windows_core::Interface for ID3D12PipelineState { type Vtable = ID3D12PipelineState_Vtbl; } -impl ::core::clone::Clone for ID3D12PipelineState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12PipelineState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x765a30f3_f624_4c6f_a828_ace948622445); } @@ -12837,6 +11757,7 @@ pub struct ID3D12PipelineState_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ProtectedResourceSession(::windows_core::IUnknown); impl ID3D12ProtectedResourceSession { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12879,27 +11800,11 @@ impl ID3D12ProtectedResourceSession { } } ::windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession); -impl ::core::cmp::PartialEq for ID3D12ProtectedResourceSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ProtectedResourceSession {} -impl ::core::fmt::Debug for ID3D12ProtectedResourceSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ProtectedResourceSession").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ProtectedResourceSession {} unsafe impl ::core::marker::Sync for ID3D12ProtectedResourceSession {} unsafe impl ::windows_core::Interface for ID3D12ProtectedResourceSession { type Vtable = ID3D12ProtectedResourceSession_Vtbl; } -impl ::core::clone::Clone for ID3D12ProtectedResourceSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ProtectedResourceSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cd696f4_f289_40cc_8091_5a6c0a099c3d); } @@ -12911,6 +11816,7 @@ pub struct ID3D12ProtectedResourceSession_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ProtectedResourceSession1(::windows_core::IUnknown); impl ID3D12ProtectedResourceSession1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -12958,27 +11864,11 @@ impl ID3D12ProtectedResourceSession1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession, ID3D12ProtectedResourceSession); -impl ::core::cmp::PartialEq for ID3D12ProtectedResourceSession1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ProtectedResourceSession1 {} -impl ::core::fmt::Debug for ID3D12ProtectedResourceSession1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ProtectedResourceSession1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ProtectedResourceSession1 {} unsafe impl ::core::marker::Sync for ID3D12ProtectedResourceSession1 {} unsafe impl ::windows_core::Interface for ID3D12ProtectedResourceSession1 { type Vtable = ID3D12ProtectedResourceSession1_Vtbl; } -impl ::core::clone::Clone for ID3D12ProtectedResourceSession1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ProtectedResourceSession1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6f12dd6_76fb_406e_8961_4296eefc0409); } @@ -12990,6 +11880,7 @@ pub struct ID3D12ProtectedResourceSession1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ProtectedSession(::windows_core::IUnknown); impl ID3D12ProtectedSession { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13027,27 +11918,11 @@ impl ID3D12ProtectedSession { } } ::windows_core::imp::interface_hierarchy!(ID3D12ProtectedSession, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12ProtectedSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ProtectedSession {} -impl ::core::fmt::Debug for ID3D12ProtectedSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ProtectedSession").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ProtectedSession {} unsafe impl ::core::marker::Sync for ID3D12ProtectedSession {} unsafe impl ::windows_core::Interface for ID3D12ProtectedSession { type Vtable = ID3D12ProtectedSession_Vtbl; } -impl ::core::clone::Clone for ID3D12ProtectedSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ProtectedSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1533d18_0ac1_4084_85b9_89a96116806b); } @@ -13060,6 +11935,7 @@ pub struct ID3D12ProtectedSession_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12QueryHeap(::windows_core::IUnknown); impl ID3D12QueryHeap { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13088,27 +11964,11 @@ impl ID3D12QueryHeap { } } ::windows_core::imp::interface_hierarchy!(ID3D12QueryHeap, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12QueryHeap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12QueryHeap {} -impl ::core::fmt::Debug for ID3D12QueryHeap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12QueryHeap").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12QueryHeap {} unsafe impl ::core::marker::Sync for ID3D12QueryHeap {} unsafe impl ::windows_core::Interface for ID3D12QueryHeap { type Vtable = ID3D12QueryHeap_Vtbl; } -impl ::core::clone::Clone for ID3D12QueryHeap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12QueryHeap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d9658ae_ed45_469e_a61d_970ec583cab4); } @@ -13119,6 +11979,7 @@ pub struct ID3D12QueryHeap_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Resource(::windows_core::IUnknown); impl ID3D12Resource { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13172,27 +12033,11 @@ impl ID3D12Resource { } } ::windows_core::imp::interface_hierarchy!(ID3D12Resource, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12Resource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Resource {} -impl ::core::fmt::Debug for ID3D12Resource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Resource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Resource {} unsafe impl ::core::marker::Sync for ID3D12Resource {} unsafe impl ::windows_core::Interface for ID3D12Resource { type Vtable = ID3D12Resource_Vtbl; } -impl ::core::clone::Clone for ID3D12Resource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Resource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x696442be_a72e_4059_bc79_5b5c98040fad); } @@ -13213,6 +12058,7 @@ pub struct ID3D12Resource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Resource1(::windows_core::IUnknown); impl ID3D12Resource1 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13272,27 +12118,11 @@ impl ID3D12Resource1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Resource1, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); -impl ::core::cmp::PartialEq for ID3D12Resource1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Resource1 {} -impl ::core::fmt::Debug for ID3D12Resource1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Resource1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Resource1 {} unsafe impl ::core::marker::Sync for ID3D12Resource1 {} unsafe impl ::windows_core::Interface for ID3D12Resource1 { type Vtable = ID3D12Resource1_Vtbl; } -impl ::core::clone::Clone for ID3D12Resource1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Resource1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d5e227a_4430_4161_88b3_3eca6bb16e19); } @@ -13304,6 +12134,7 @@ pub struct ID3D12Resource1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Resource2(::windows_core::IUnknown); impl ID3D12Resource2 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13370,27 +12201,11 @@ impl ID3D12Resource2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12Resource2, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource, ID3D12Resource1); -impl ::core::cmp::PartialEq for ID3D12Resource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Resource2 {} -impl ::core::fmt::Debug for ID3D12Resource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Resource2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Resource2 {} unsafe impl ::core::marker::Sync for ID3D12Resource2 {} unsafe impl ::windows_core::Interface for ID3D12Resource2 { type Vtable = ID3D12Resource2_Vtbl; } -impl ::core::clone::Clone for ID3D12Resource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Resource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe36ec3b_ea85_4aeb_a45a_e9d76404a495); } @@ -13405,6 +12220,7 @@ pub struct ID3D12Resource2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12RootSignature(::windows_core::IUnknown); impl ID3D12RootSignature { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13433,27 +12249,11 @@ impl ID3D12RootSignature { } } ::windows_core::imp::interface_hierarchy!(ID3D12RootSignature, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12RootSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12RootSignature {} -impl ::core::fmt::Debug for ID3D12RootSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12RootSignature").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12RootSignature {} unsafe impl ::core::marker::Sync for ID3D12RootSignature {} unsafe impl ::windows_core::Interface for ID3D12RootSignature { type Vtable = ID3D12RootSignature_Vtbl; } -impl ::core::clone::Clone for ID3D12RootSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12RootSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc54a6b66_72df_4ee8_8be5_a946a1429214); } @@ -13464,6 +12264,7 @@ pub struct ID3D12RootSignature_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12RootSignatureDeserializer(::windows_core::IUnknown); impl ID3D12RootSignatureDeserializer { pub unsafe fn GetRootSignatureDesc(&self) -> *mut D3D12_ROOT_SIGNATURE_DESC { @@ -13471,27 +12272,11 @@ impl ID3D12RootSignatureDeserializer { } } ::windows_core::imp::interface_hierarchy!(ID3D12RootSignatureDeserializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12RootSignatureDeserializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12RootSignatureDeserializer {} -impl ::core::fmt::Debug for ID3D12RootSignatureDeserializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12RootSignatureDeserializer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12RootSignatureDeserializer {} unsafe impl ::core::marker::Sync for ID3D12RootSignatureDeserializer {} unsafe impl ::windows_core::Interface for ID3D12RootSignatureDeserializer { type Vtable = ID3D12RootSignatureDeserializer_Vtbl; } -impl ::core::clone::Clone for ID3D12RootSignatureDeserializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12RootSignatureDeserializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34ab647b_3cc8_46ac_841b_c0965645c046); } @@ -13503,6 +12288,7 @@ pub struct ID3D12RootSignatureDeserializer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12SDKConfiguration(::windows_core::IUnknown); impl ID3D12SDKConfiguration { pub unsafe fn SetSDKVersion(&self, sdkversion: u32, sdkpath: P0) -> ::windows_core::Result<()> @@ -13513,27 +12299,11 @@ impl ID3D12SDKConfiguration { } } ::windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12SDKConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12SDKConfiguration {} -impl ::core::fmt::Debug for ID3D12SDKConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12SDKConfiguration").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12SDKConfiguration {} unsafe impl ::core::marker::Sync for ID3D12SDKConfiguration {} unsafe impl ::windows_core::Interface for ID3D12SDKConfiguration { type Vtable = ID3D12SDKConfiguration_Vtbl; } -impl ::core::clone::Clone for ID3D12SDKConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12SDKConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9eb5314_33aa_42b2_a718_d77f58b1f1c7); } @@ -13545,6 +12315,7 @@ pub struct ID3D12SDKConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12SDKConfiguration1(::windows_core::IUnknown); impl ID3D12SDKConfiguration1 { pub unsafe fn SetSDKVersion(&self, sdkversion: u32, sdkpath: P0) -> ::windows_core::Result<()> @@ -13566,27 +12337,11 @@ impl ID3D12SDKConfiguration1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration1, ::windows_core::IUnknown, ID3D12SDKConfiguration); -impl ::core::cmp::PartialEq for ID3D12SDKConfiguration1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12SDKConfiguration1 {} -impl ::core::fmt::Debug for ID3D12SDKConfiguration1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12SDKConfiguration1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12SDKConfiguration1 {} unsafe impl ::core::marker::Sync for ID3D12SDKConfiguration1 {} unsafe impl ::windows_core::Interface for ID3D12SDKConfiguration1 { type Vtable = ID3D12SDKConfiguration1_Vtbl; } -impl ::core::clone::Clone for ID3D12SDKConfiguration1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12SDKConfiguration1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8aaf9303_ad25_48b9_9a57_d9c37e009d9f); } @@ -13599,6 +12354,7 @@ pub struct ID3D12SDKConfiguration1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ShaderCacheSession(::windows_core::IUnknown); impl ID3D12ShaderCacheSession { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -13641,27 +12397,11 @@ impl ID3D12ShaderCacheSession { } } ::windows_core::imp::interface_hierarchy!(ID3D12ShaderCacheSession, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); -impl ::core::cmp::PartialEq for ID3D12ShaderCacheSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ShaderCacheSession {} -impl ::core::fmt::Debug for ID3D12ShaderCacheSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ShaderCacheSession").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ShaderCacheSession {} unsafe impl ::core::marker::Sync for ID3D12ShaderCacheSession {} unsafe impl ::windows_core::Interface for ID3D12ShaderCacheSession { type Vtable = ID3D12ShaderCacheSession_Vtbl; } -impl ::core::clone::Clone for ID3D12ShaderCacheSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ShaderCacheSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28e2495d_0f64_4ae4_a6ec_129255dc49a8); } @@ -13676,6 +12416,7 @@ pub struct ID3D12ShaderCacheSession_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ShaderReflection(::windows_core::IUnknown); impl ID3D12ShaderReflection { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -13765,27 +12506,11 @@ impl ID3D12ShaderReflection { } } ::windows_core::imp::interface_hierarchy!(ID3D12ShaderReflection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12ShaderReflection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ShaderReflection {} -impl ::core::fmt::Debug for ID3D12ShaderReflection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ShaderReflection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ShaderReflection {} unsafe impl ::core::marker::Sync for ID3D12ShaderReflection {} unsafe impl ::windows_core::Interface for ID3D12ShaderReflection { type Vtable = ID3D12ShaderReflection_Vtbl; } -impl ::core::clone::Clone for ID3D12ShaderReflection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12ShaderReflection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a58797d_a72c_478d_8ba2_efc6b0efe88e); } @@ -13842,6 +12567,7 @@ pub struct ID3D12ShaderReflection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ShaderReflectionConstantBuffer(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D12ShaderReflectionConstantBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -13859,27 +12585,11 @@ impl ID3D12ShaderReflectionConstantBuffer { (::windows_core::Interface::vtable(self).GetVariableByName)(::windows_core::Interface::as_raw(self), name.into_param().abi()) } } -impl ::core::cmp::PartialEq for ID3D12ShaderReflectionConstantBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ShaderReflectionConstantBuffer {} -impl ::core::fmt::Debug for ID3D12ShaderReflectionConstantBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ShaderReflectionConstantBuffer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ShaderReflectionConstantBuffer {} unsafe impl ::core::marker::Sync for ID3D12ShaderReflectionConstantBuffer {} unsafe impl ::windows_core::Interface for ID3D12ShaderReflectionConstantBuffer { type Vtable = ID3D12ShaderReflectionConstantBuffer_Vtbl; } -impl ::core::clone::Clone for ID3D12ShaderReflectionConstantBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D12ShaderReflectionConstantBuffer_Vtbl { @@ -13892,6 +12602,7 @@ pub struct ID3D12ShaderReflectionConstantBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ShaderReflectionType(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D12ShaderReflectionType { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -13942,27 +12653,11 @@ impl ID3D12ShaderReflectionType { (::windows_core::Interface::vtable(self).ImplementsInterface)(::windows_core::Interface::as_raw(self), pbase.into_param().abi()).ok() } } -impl ::core::cmp::PartialEq for ID3D12ShaderReflectionType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ShaderReflectionType {} -impl ::core::fmt::Debug for ID3D12ShaderReflectionType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ShaderReflectionType").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ShaderReflectionType {} unsafe impl ::core::marker::Sync for ID3D12ShaderReflectionType {} unsafe impl ::windows_core::Interface for ID3D12ShaderReflectionType { type Vtable = ID3D12ShaderReflectionType_Vtbl; } -impl ::core::clone::Clone for ID3D12ShaderReflectionType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D12ShaderReflectionType_Vtbl { @@ -13983,6 +12678,7 @@ pub struct ID3D12ShaderReflectionType_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12ShaderReflectionVariable(::std::ptr::NonNull<::std::ffi::c_void>); impl ID3D12ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_SHADER_VARIABLE_DESC) -> ::windows_core::Result<()> { @@ -13998,27 +12694,11 @@ impl ID3D12ShaderReflectionVariable { (::windows_core::Interface::vtable(self).GetInterfaceSlot)(::windows_core::Interface::as_raw(self), uarrayindex) } } -impl ::core::cmp::PartialEq for ID3D12ShaderReflectionVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12ShaderReflectionVariable {} -impl ::core::fmt::Debug for ID3D12ShaderReflectionVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12ShaderReflectionVariable").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12ShaderReflectionVariable {} unsafe impl ::core::marker::Sync for ID3D12ShaderReflectionVariable {} unsafe impl ::windows_core::Interface for ID3D12ShaderReflectionVariable { type Vtable = ID3D12ShaderReflectionVariable_Vtbl; } -impl ::core::clone::Clone for ID3D12ShaderReflectionVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ID3D12ShaderReflectionVariable_Vtbl { @@ -14029,6 +12709,7 @@ pub struct ID3D12ShaderReflectionVariable_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12SharingContract(::windows_core::IUnknown); impl ID3D12SharingContract { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14054,27 +12735,11 @@ impl ID3D12SharingContract { } } ::windows_core::imp::interface_hierarchy!(ID3D12SharingContract, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12SharingContract { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12SharingContract {} -impl ::core::fmt::Debug for ID3D12SharingContract { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12SharingContract").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12SharingContract {} unsafe impl ::core::marker::Sync for ID3D12SharingContract {} unsafe impl ::windows_core::Interface for ID3D12SharingContract { type Vtable = ID3D12SharingContract_Vtbl; } -impl ::core::clone::Clone for ID3D12SharingContract { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12SharingContract { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adf7d52_929c_4e61_addb_ffed30de66ef); } @@ -14092,6 +12757,7 @@ pub struct ID3D12SharingContract_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12StateObject(::windows_core::IUnknown); impl ID3D12StateObject { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -14120,27 +12786,11 @@ impl ID3D12StateObject { } } ::windows_core::imp::interface_hierarchy!(ID3D12StateObject, ::windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); -impl ::core::cmp::PartialEq for ID3D12StateObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12StateObject {} -impl ::core::fmt::Debug for ID3D12StateObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12StateObject").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12StateObject {} unsafe impl ::core::marker::Sync for ID3D12StateObject {} unsafe impl ::windows_core::Interface for ID3D12StateObject { type Vtable = ID3D12StateObject_Vtbl; } -impl ::core::clone::Clone for ID3D12StateObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12StateObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47016943_fca8_4594_93ea_af258b55346d); } @@ -14151,6 +12801,7 @@ pub struct ID3D12StateObject_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12StateObjectProperties(::windows_core::IUnknown); impl ID3D12StateObjectProperties { pub unsafe fn GetShaderIdentifier(&self, pexportname: P0) -> *mut ::core::ffi::c_void @@ -14173,27 +12824,11 @@ impl ID3D12StateObjectProperties { } } ::windows_core::imp::interface_hierarchy!(ID3D12StateObjectProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12StateObjectProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12StateObjectProperties {} -impl ::core::fmt::Debug for ID3D12StateObjectProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12StateObjectProperties").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12StateObjectProperties {} unsafe impl ::core::marker::Sync for ID3D12StateObjectProperties {} unsafe impl ::windows_core::Interface for ID3D12StateObjectProperties { type Vtable = ID3D12StateObjectProperties_Vtbl; } -impl ::core::clone::Clone for ID3D12StateObjectProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12StateObjectProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde5fa827_9bf9_4f26_89ff_d7f56fde3860); } @@ -14208,6 +12843,7 @@ pub struct ID3D12StateObjectProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12SwapChainAssistant(::windows_core::IUnknown); impl ID3D12SwapChainAssistant { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14236,27 +12872,11 @@ impl ID3D12SwapChainAssistant { } } ::windows_core::imp::interface_hierarchy!(ID3D12SwapChainAssistant, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12SwapChainAssistant { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12SwapChainAssistant {} -impl ::core::fmt::Debug for ID3D12SwapChainAssistant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12SwapChainAssistant").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12SwapChainAssistant {} unsafe impl ::core::marker::Sync for ID3D12SwapChainAssistant {} unsafe impl ::windows_core::Interface for ID3D12SwapChainAssistant { type Vtable = ID3D12SwapChainAssistant_Vtbl; } -impl ::core::clone::Clone for ID3D12SwapChainAssistant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12SwapChainAssistant { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1df64b6_57fd_49cd_8807_c0eb88b45c8f); } @@ -14274,6 +12894,7 @@ pub struct ID3D12SwapChainAssistant_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Tools(::windows_core::IUnknown); impl ID3D12Tools { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14291,27 +12912,11 @@ impl ID3D12Tools { } } ::windows_core::imp::interface_hierarchy!(ID3D12Tools, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12Tools { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12Tools {} -impl ::core::fmt::Debug for ID3D12Tools { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12Tools").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12Tools {} unsafe impl ::core::marker::Sync for ID3D12Tools {} unsafe impl ::windows_core::Interface for ID3D12Tools { type Vtable = ID3D12Tools_Vtbl; } -impl ::core::clone::Clone for ID3D12Tools { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12Tools { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7071e1f0_e84b_4b33_974f_12fa49de65c5); } @@ -14330,6 +12935,7 @@ pub struct ID3D12Tools_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VersionedRootSignatureDeserializer(::windows_core::IUnknown); impl ID3D12VersionedRootSignatureDeserializer { pub unsafe fn GetRootSignatureDescAtVersion(&self, converttoversion: D3D_ROOT_SIGNATURE_VERSION) -> ::windows_core::Result<*mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC> { @@ -14341,27 +12947,11 @@ impl ID3D12VersionedRootSignatureDeserializer { } } ::windows_core::imp::interface_hierarchy!(ID3D12VersionedRootSignatureDeserializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12VersionedRootSignatureDeserializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VersionedRootSignatureDeserializer {} -impl ::core::fmt::Debug for ID3D12VersionedRootSignatureDeserializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VersionedRootSignatureDeserializer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VersionedRootSignatureDeserializer {} unsafe impl ::core::marker::Sync for ID3D12VersionedRootSignatureDeserializer {} unsafe impl ::windows_core::Interface for ID3D12VersionedRootSignatureDeserializer { type Vtable = ID3D12VersionedRootSignatureDeserializer_Vtbl; } -impl ::core::clone::Clone for ID3D12VersionedRootSignatureDeserializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VersionedRootSignatureDeserializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f91ce67_090c_4bb7_b78e_ed8ff2e31da0); } @@ -14374,6 +12964,7 @@ pub struct ID3D12VersionedRootSignatureDeserializer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VirtualizationGuestDevice(::windows_core::IUnknown); impl ID3D12VirtualizationGuestDevice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14394,27 +12985,11 @@ impl ID3D12VirtualizationGuestDevice { } } ::windows_core::imp::interface_hierarchy!(ID3D12VirtualizationGuestDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12VirtualizationGuestDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VirtualizationGuestDevice {} -impl ::core::fmt::Debug for ID3D12VirtualizationGuestDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VirtualizationGuestDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VirtualizationGuestDevice {} unsafe impl ::core::marker::Sync for ID3D12VirtualizationGuestDevice {} unsafe impl ::windows_core::Interface for ID3D12VirtualizationGuestDevice { type Vtable = ID3D12VirtualizationGuestDevice_Vtbl; } -impl ::core::clone::Clone for ID3D12VirtualizationGuestDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VirtualizationGuestDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc66d368_7373_4943_8757_fc87dc79e476); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs index 50ba26d815..e5ac079989 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs @@ -109,8 +109,8 @@ impl IDirect3D9_Vtbl { CreateDevice: CreateDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IDirect3D9Ex_Vtbl { GetAdapterLUID: GetAdapterLUID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IDirect3DBaseTexture9_Vtbl { GenerateMipSubLevels: GenerateMipSubLevels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IDirect3DCubeTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1200,8 +1200,8 @@ impl IDirect3DDevice9_Vtbl { CreateQuery: CreateQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1322,8 +1322,8 @@ impl IDirect3DDevice9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1357,8 +1357,8 @@ impl IDirect3DIndexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1391,8 +1391,8 @@ impl IDirect3DPixelShader9_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl IDirect3DQuery9_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1522,8 +1522,8 @@ impl IDirect3DResource9_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1563,8 +1563,8 @@ impl IDirect3DStateBlock9_Vtbl { Apply: Apply::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1622,8 +1622,8 @@ impl IDirect3DSurface9_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl IDirect3DSwapChain9_Vtbl { GetPresentParameters: GetPresentParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1738,8 +1738,8 @@ impl IDirect3DSwapChain9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1796,8 +1796,8 @@ impl IDirect3DTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1831,8 +1831,8 @@ impl IDirect3DVertexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1865,8 +1865,8 @@ impl IDirect3DVertexDeclaration9_Vtbl { GetDeclaration: GetDeclaration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1899,8 +1899,8 @@ impl IDirect3DVertexShader9_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1975,8 +1975,8 @@ impl IDirect3DVolume9_Vtbl { UnlockBox: UnlockBox::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2030,7 +2030,7 @@ impl IDirect3DVolumeTexture9_Vtbl { AddDirtyBox: AddDirtyBox::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs index 9a41978a64..26e361e7de 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -65,6 +65,7 @@ pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> ::windows_core::Result ::windows_core::Result<()> { @@ -128,25 +129,9 @@ impl IDirect3D9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3D9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3D9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3D9 {} -impl ::core::fmt::Debug for IDirect3D9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3D9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3D9 { type Vtable = IDirect3D9_Vtbl; } -impl ::core::clone::Clone for IDirect3D9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81bdcbca_64d4_426d_ae8d_ad0147f4275c); } @@ -183,6 +168,7 @@ pub struct IDirect3D9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D9Ex(::windows_core::IUnknown); impl IDirect3D9Ex { pub unsafe fn RegisterSoftwareDevice(&self, pinitializefunction: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -268,25 +254,9 @@ impl IDirect3D9Ex { } } ::windows_core::imp::interface_hierarchy!(IDirect3D9Ex, ::windows_core::IUnknown, IDirect3D9); -impl ::core::cmp::PartialEq for IDirect3D9Ex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3D9Ex {} -impl ::core::fmt::Debug for IDirect3D9Ex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3D9Ex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3D9Ex { type Vtable = IDirect3D9Ex_Vtbl; } -impl ::core::clone::Clone for IDirect3D9Ex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D9Ex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02177241_69fc_400c_8ff1_93a44df6861d); } @@ -308,6 +278,7 @@ pub struct IDirect3D9Ex_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DBaseTexture9(::windows_core::IUnknown); impl IDirect3DBaseTexture9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -355,25 +326,9 @@ impl IDirect3DBaseTexture9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DBaseTexture9, ::windows_core::IUnknown, IDirect3DResource9); -impl ::core::cmp::PartialEq for IDirect3DBaseTexture9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DBaseTexture9 {} -impl ::core::fmt::Debug for IDirect3DBaseTexture9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DBaseTexture9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DBaseTexture9 { type Vtable = IDirect3DBaseTexture9_Vtbl; } -impl ::core::clone::Clone for IDirect3DBaseTexture9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DBaseTexture9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x580ca87e_1d3c_4d54_991d_b7d3e3c298ce); } @@ -390,6 +345,7 @@ pub struct IDirect3DBaseTexture9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DCubeTexture9(::windows_core::IUnknown); impl IDirect3DCubeTexture9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -457,25 +413,9 @@ impl IDirect3DCubeTexture9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DCubeTexture9, ::windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); -impl ::core::cmp::PartialEq for IDirect3DCubeTexture9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DCubeTexture9 {} -impl ::core::fmt::Debug for IDirect3DCubeTexture9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DCubeTexture9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DCubeTexture9 { type Vtable = IDirect3DCubeTexture9_Vtbl; } -impl ::core::clone::Clone for IDirect3DCubeTexture9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DCubeTexture9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfff32f81_d953_473a_9223_93d652aba93f); } @@ -497,6 +437,7 @@ pub struct IDirect3DCubeTexture9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDevice9(::windows_core::IUnknown); impl IDirect3DDevice9 { pub unsafe fn TestCooperativeLevel(&self) -> ::windows_core::Result<()> { @@ -1009,25 +950,9 @@ impl IDirect3DDevice9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDevice9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DDevice9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDevice9 {} -impl ::core::fmt::Debug for IDirect3DDevice9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDevice9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDevice9 { type Vtable = IDirect3DDevice9_Vtbl; } -impl ::core::clone::Clone for IDirect3DDevice9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDevice9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0223b96_bf7a_43fd_92bd_a43b0d82b9eb); } @@ -1259,6 +1184,7 @@ pub struct IDirect3DDevice9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDevice9Ex(::windows_core::IUnknown); impl IDirect3DDevice9Ex { pub unsafe fn TestCooperativeLevel(&self) -> ::windows_core::Result<()> { @@ -1846,25 +1772,9 @@ impl IDirect3DDevice9Ex { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDevice9Ex, ::windows_core::IUnknown, IDirect3DDevice9); -impl ::core::cmp::PartialEq for IDirect3DDevice9Ex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDevice9Ex {} -impl ::core::fmt::Debug for IDirect3DDevice9Ex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDevice9Ex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDevice9Ex { type Vtable = IDirect3DDevice9Ex_Vtbl; } -impl ::core::clone::Clone for IDirect3DDevice9Ex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDevice9Ex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb18b10ce_2649_405a_870f_95f777d4313a); } @@ -1908,6 +1818,7 @@ pub struct IDirect3DDevice9Ex_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DIndexBuffer9(::windows_core::IUnknown); impl IDirect3DIndexBuffer9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -1946,25 +1857,9 @@ impl IDirect3DIndexBuffer9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DIndexBuffer9, ::windows_core::IUnknown, IDirect3DResource9); -impl ::core::cmp::PartialEq for IDirect3DIndexBuffer9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DIndexBuffer9 {} -impl ::core::fmt::Debug for IDirect3DIndexBuffer9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DIndexBuffer9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DIndexBuffer9 { type Vtable = IDirect3DIndexBuffer9_Vtbl; } -impl ::core::clone::Clone for IDirect3DIndexBuffer9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DIndexBuffer9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c9dd65e_d3f7_4529_acee_785830acde35); } @@ -1978,6 +1873,7 @@ pub struct IDirect3DIndexBuffer9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DPixelShader9(::windows_core::IUnknown); impl IDirect3DPixelShader9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -1989,25 +1885,9 @@ impl IDirect3DPixelShader9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DPixelShader9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DPixelShader9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DPixelShader9 {} -impl ::core::fmt::Debug for IDirect3DPixelShader9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DPixelShader9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DPixelShader9 { type Vtable = IDirect3DPixelShader9_Vtbl; } -impl ::core::clone::Clone for IDirect3DPixelShader9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DPixelShader9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d3bdbdc_5b02_4415_b852_ce5e8bccb289); } @@ -2020,6 +1900,7 @@ pub struct IDirect3DPixelShader9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DQuery9(::windows_core::IUnknown); impl IDirect3DQuery9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2040,25 +1921,9 @@ impl IDirect3DQuery9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DQuery9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DQuery9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DQuery9 {} -impl ::core::fmt::Debug for IDirect3DQuery9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DQuery9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DQuery9 { type Vtable = IDirect3DQuery9_Vtbl; } -impl ::core::clone::Clone for IDirect3DQuery9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DQuery9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9771460_a695_4f26_bbd3_27b840b541cc); } @@ -2074,6 +1939,7 @@ pub struct IDirect3DQuery9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DResource9(::windows_core::IUnknown); impl IDirect3DResource9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2103,25 +1969,9 @@ impl IDirect3DResource9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DResource9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DResource9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DResource9 {} -impl ::core::fmt::Debug for IDirect3DResource9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DResource9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DResource9 { type Vtable = IDirect3DResource9_Vtbl; } -impl ::core::clone::Clone for IDirect3DResource9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DResource9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05eec05d_8f7d_4362_b999_d1baf357c704); } @@ -2140,6 +1990,7 @@ pub struct IDirect3DResource9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DStateBlock9(::windows_core::IUnknown); impl IDirect3DStateBlock9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2154,25 +2005,9 @@ impl IDirect3DStateBlock9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DStateBlock9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DStateBlock9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DStateBlock9 {} -impl ::core::fmt::Debug for IDirect3DStateBlock9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DStateBlock9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DStateBlock9 { type Vtable = IDirect3DStateBlock9_Vtbl; } -impl ::core::clone::Clone for IDirect3DStateBlock9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DStateBlock9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb07c4fe5_310d_4ba8_a23c_4f0f206f218b); } @@ -2186,6 +2021,7 @@ pub struct IDirect3DStateBlock9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DSurface9(::windows_core::IUnknown); impl IDirect3DSurface9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2242,25 +2078,9 @@ impl IDirect3DSurface9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DSurface9, ::windows_core::IUnknown, IDirect3DResource9); -impl ::core::cmp::PartialEq for IDirect3DSurface9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DSurface9 {} -impl ::core::fmt::Debug for IDirect3DSurface9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DSurface9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DSurface9 { type Vtable = IDirect3DSurface9_Vtbl; } -impl ::core::clone::Clone for IDirect3DSurface9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DSurface9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cfbaf3a_9ff6_429a_99b3_a2796af8b89b); } @@ -2286,6 +2106,7 @@ pub struct IDirect3DSurface9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DSwapChain9(::windows_core::IUnknown); impl IDirect3DSwapChain9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2325,25 +2146,9 @@ impl IDirect3DSwapChain9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DSwapChain9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DSwapChain9 {} -impl ::core::fmt::Debug for IDirect3DSwapChain9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DSwapChain9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DSwapChain9 { type Vtable = IDirect3DSwapChain9_Vtbl; } -impl ::core::clone::Clone for IDirect3DSwapChain9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DSwapChain9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x794950f2_adfc_458a_905e_10a10b0b503b); } @@ -2370,6 +2175,7 @@ pub struct IDirect3DSwapChain9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DSwapChain9Ex(::windows_core::IUnknown); impl IDirect3DSwapChain9Ex { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -2418,25 +2224,9 @@ impl IDirect3DSwapChain9Ex { } } ::windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9Ex, ::windows_core::IUnknown, IDirect3DSwapChain9); -impl ::core::cmp::PartialEq for IDirect3DSwapChain9Ex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DSwapChain9Ex {} -impl ::core::fmt::Debug for IDirect3DSwapChain9Ex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DSwapChain9Ex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DSwapChain9Ex { type Vtable = IDirect3DSwapChain9Ex_Vtbl; } -impl ::core::clone::Clone for IDirect3DSwapChain9Ex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DSwapChain9Ex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91886caf_1c3d_4d2e_a0ab_3e4c7d8d3303); } @@ -2450,6 +2240,7 @@ pub struct IDirect3DSwapChain9Ex_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DTexture9(::windows_core::IUnknown); impl IDirect3DTexture9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2517,25 +2308,9 @@ impl IDirect3DTexture9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DTexture9, ::windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); -impl ::core::cmp::PartialEq for IDirect3DTexture9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DTexture9 {} -impl ::core::fmt::Debug for IDirect3DTexture9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DTexture9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DTexture9 { type Vtable = IDirect3DTexture9_Vtbl; } -impl ::core::clone::Clone for IDirect3DTexture9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DTexture9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85c31227_3de5_4f00_9b3a_f11ac38c18b5); } @@ -2557,6 +2332,7 @@ pub struct IDirect3DTexture9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DVertexBuffer9(::windows_core::IUnknown); impl IDirect3DVertexBuffer9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2595,25 +2371,9 @@ impl IDirect3DVertexBuffer9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DVertexBuffer9, ::windows_core::IUnknown, IDirect3DResource9); -impl ::core::cmp::PartialEq for IDirect3DVertexBuffer9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DVertexBuffer9 {} -impl ::core::fmt::Debug for IDirect3DVertexBuffer9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DVertexBuffer9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DVertexBuffer9 { type Vtable = IDirect3DVertexBuffer9_Vtbl; } -impl ::core::clone::Clone for IDirect3DVertexBuffer9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DVertexBuffer9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb64bb1b5_fd70_4df6_bf91_19d0a12455e3); } @@ -2627,6 +2387,7 @@ pub struct IDirect3DVertexBuffer9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DVertexDeclaration9(::windows_core::IUnknown); impl IDirect3DVertexDeclaration9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2638,25 +2399,9 @@ impl IDirect3DVertexDeclaration9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DVertexDeclaration9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DVertexDeclaration9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DVertexDeclaration9 {} -impl ::core::fmt::Debug for IDirect3DVertexDeclaration9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DVertexDeclaration9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DVertexDeclaration9 { type Vtable = IDirect3DVertexDeclaration9_Vtbl; } -impl ::core::clone::Clone for IDirect3DVertexDeclaration9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DVertexDeclaration9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd13c59c_36fa_4098_a8fb_c7ed39dc8546); } @@ -2669,6 +2414,7 @@ pub struct IDirect3DVertexDeclaration9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DVertexShader9(::windows_core::IUnknown); impl IDirect3DVertexShader9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2680,25 +2426,9 @@ impl IDirect3DVertexShader9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DVertexShader9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DVertexShader9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DVertexShader9 {} -impl ::core::fmt::Debug for IDirect3DVertexShader9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DVertexShader9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DVertexShader9 { type Vtable = IDirect3DVertexShader9_Vtbl; } -impl ::core::clone::Clone for IDirect3DVertexShader9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DVertexShader9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefc5557e_6265_4613_8a94_43857889eb36); } @@ -2711,6 +2441,7 @@ pub struct IDirect3DVertexShader9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DVolume9(::windows_core::IUnknown); impl IDirect3DVolume9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2740,25 +2471,9 @@ impl IDirect3DVolume9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DVolume9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DVolume9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DVolume9 {} -impl ::core::fmt::Debug for IDirect3DVolume9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DVolume9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DVolume9 { type Vtable = IDirect3DVolume9_Vtbl; } -impl ::core::clone::Clone for IDirect3DVolume9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DVolume9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24f416e6_1f67_4aa7_b88e_d33f6f3128a1); } @@ -2777,6 +2492,7 @@ pub struct IDirect3DVolume9_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DVolumeTexture9(::windows_core::IUnknown); impl IDirect3DVolumeTexture9 { pub unsafe fn GetDevice(&self) -> ::windows_core::Result { @@ -2840,25 +2556,9 @@ impl IDirect3DVolumeTexture9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DVolumeTexture9, ::windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); -impl ::core::cmp::PartialEq for IDirect3DVolumeTexture9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DVolumeTexture9 {} -impl ::core::fmt::Debug for IDirect3DVolumeTexture9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DVolumeTexture9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DVolumeTexture9 { type Vtable = IDirect3DVolumeTexture9_Vtbl; } -impl ::core::clone::Clone for IDirect3DVolumeTexture9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DVolumeTexture9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2518526c_e789_4111_a7b9_47ef328d13e6); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs index 47d35a4246..2b17c5a1bf 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs @@ -32,7 +32,7 @@ impl IDirect3DDevice9On12_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs index b231651648..b23cd202b1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -14,6 +14,7 @@ pub unsafe fn Direct3DCreate9On12Ex(sdkversion: u32, poverridelist: *mut D3D9ON1 } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9on12\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDevice9On12(::windows_core::IUnknown); impl IDirect3DDevice9On12 { pub unsafe fn GetD3D12Device(&self, riid: *const ::windows_core::GUID, ppvdevice: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -38,25 +39,9 @@ impl IDirect3DDevice9On12 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDevice9On12, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DDevice9On12 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDevice9On12 {} -impl ::core::fmt::Debug for IDirect3DDevice9On12 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDevice9On12").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDevice9On12 { type Vtable = IDirect3DDevice9On12_Vtbl; } -impl ::core::clone::Clone for IDirect3DDevice9On12 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDevice9On12 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7fda234_b589_4049_940d_8878977531c8); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs index 2703477f04..1b6ec4713c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs @@ -60,8 +60,8 @@ impl IDCompositionAffineTransform2DEffect_Vtbl { SetSharpness2: SetSharpness2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IDCompositionAnimation_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl IDCompositionArithmeticCompositeEffect_Vtbl { SetCoefficient42: SetCoefficient42::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDCompositionBlendEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl IDCompositionBrightnessEffect_Vtbl { SetBlackPointY2: SetBlackPointY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl IDCompositionClip_Vtbl { pub const fn new, Impl: IDCompositionClip_Impl, const OFFSET: isize>() -> IDCompositionClip_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IDCompositionColorMatrixEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IDCompositionCompositeEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IDCompositionDelegatedInkTrail_Vtbl { StartNewTrail: StartNewTrail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IDCompositionDesktopDevice_Vtbl { CreateSurfaceFromHwnd: CreateSurfaceFromHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -819,8 +819,8 @@ impl IDCompositionDevice_Vtbl { CheckDeviceState: CheckDeviceState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IDCompositionDevice2_Vtbl { CreateAnimation: CreateAnimation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1277,8 +1277,8 @@ impl IDCompositionDevice3_Vtbl { CreateAffineTransform2DEffect: CreateAffineTransform2DEffect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1305,8 +1305,8 @@ impl IDCompositionDeviceDebug_Vtbl { DisableDebugCounters: DisableDebugCounters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IDCompositionEffect_Vtbl { pub const fn new, Impl: IDCompositionEffect_Impl, const OFFSET: isize>() -> IDCompositionEffect_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1351,8 +1351,8 @@ impl IDCompositionEffectGroup_Vtbl { SetTransform3D: SetTransform3D::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1369,8 +1369,8 @@ impl IDCompositionFilterEffect_Vtbl { } Self { base__: IDCompositionEffect_Vtbl::new::(), SetInput: SetInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1407,8 +1407,8 @@ impl IDCompositionGaussianBlurEffect_Vtbl { SetBorderMode: SetBorderMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IDCompositionHueRotationEffect_Vtbl { SetAngle2: SetAngle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1475,8 +1475,8 @@ impl IDCompositionInkTrailDevice_Vtbl { CreateDelegatedInkTrailForSwapChain: CreateDelegatedInkTrailForSwapChain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1639,8 +1639,8 @@ impl IDCompositionLinearTransferEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -1677,8 +1677,8 @@ impl IDCompositionMatrixTransform_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -1715,8 +1715,8 @@ impl IDCompositionMatrixTransform3D_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1897,8 +1897,8 @@ impl IDCompositionRectangleClip_Vtbl { SetBottomRightRadiusY2: SetBottomRightRadiusY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1953,8 +1953,8 @@ impl IDCompositionRotateTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2065,8 +2065,8 @@ impl IDCompositionRotateTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2093,8 +2093,8 @@ impl IDCompositionSaturationEffect_Vtbl { SetSaturation2: SetSaturation2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IDCompositionScaleTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2261,8 +2261,8 @@ impl IDCompositionScaleTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2355,8 +2355,8 @@ impl IDCompositionShadowEffect_Vtbl { SetAlpha2: SetAlpha2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IDCompositionSkewTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2477,8 +2477,8 @@ impl IDCompositionSurface_Vtbl { Scroll: Scroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2520,8 +2520,8 @@ impl IDCompositionSurfaceFactory_Vtbl { CreateVirtualSurface: CreateVirtualSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IDCompositionTableTransferEffect_Vtbl { SetAlphaTableValue2: SetAlphaTableValue2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2674,8 +2674,8 @@ impl IDCompositionTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRoot: SetRoot:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2685,8 +2685,8 @@ impl IDCompositionTransform_Vtbl { pub const fn new, Impl: IDCompositionTransform_Impl, const OFFSET: isize>() -> IDCompositionTransform_Vtbl { Self { base__: IDCompositionTransform3D_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2696,8 +2696,8 @@ impl IDCompositionTransform3D_Vtbl { pub const fn new, Impl: IDCompositionTransform3D_Impl, const OFFSET: isize>() -> IDCompositionTransform3D_Vtbl { Self { base__: IDCompositionEffect_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2738,8 +2738,8 @@ impl IDCompositionTranslateTransform_Vtbl { SetOffsetY2: SetOffsetY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2794,8 +2794,8 @@ impl IDCompositionTranslateTransform3D_Vtbl { SetOffsetZ2: SetOffsetZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2860,8 +2860,8 @@ impl IDCompositionTurbulenceEffect_Vtbl { SetStitchable: SetStitchable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2891,8 +2891,8 @@ impl IDCompositionVirtualSurface_Vtbl { Trim: Trim::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3027,8 +3027,8 @@ impl IDCompositionVisual_Vtbl { SetCompositeMode: SetCompositeMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3058,8 +3058,8 @@ impl IDCompositionVisual2_Vtbl { SetBackFaceVisibility: SetBackFaceVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3131,8 +3131,8 @@ impl IDCompositionVisual3_Vtbl { SetVisible: SetVisible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3176,7 +3176,7 @@ impl IDCompositionVisualDebug_Vtbl { DisableRedrawRegions: DisableRedrawRegions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs index 38f80532f0..86b546ef7a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -104,6 +104,7 @@ pub unsafe fn DCompositionWaitForCompositorClock(handles: ::core::option::Option } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionAffineTransform2DEffect(::windows_core::IUnknown); impl IDCompositionAffineTransform2DEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -147,25 +148,9 @@ impl IDCompositionAffineTransform2DEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionAffineTransform2DEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionAffineTransform2DEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionAffineTransform2DEffect {} -impl ::core::fmt::Debug for IDCompositionAffineTransform2DEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionAffineTransform2DEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionAffineTransform2DEffect { type Vtable = IDCompositionAffineTransform2DEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionAffineTransform2DEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionAffineTransform2DEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b74b9e8_cdd6_492f_bbbc_5ed32157026d); } @@ -192,6 +177,7 @@ pub struct IDCompositionAffineTransform2DEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionAnimation(::windows_core::IUnknown); impl IDCompositionAnimation { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -214,25 +200,9 @@ impl IDCompositionAnimation { } } ::windows_core::imp::interface_hierarchy!(IDCompositionAnimation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionAnimation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionAnimation {} -impl ::core::fmt::Debug for IDCompositionAnimation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionAnimation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionAnimation { type Vtable = IDCompositionAnimation_Vtbl; } -impl ::core::clone::Clone for IDCompositionAnimation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionAnimation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbfd91d9_51b2_45e4_b3de_d19ccfb863c5); } @@ -249,6 +219,7 @@ pub struct IDCompositionAnimation_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionArithmeticCompositeEffect(::windows_core::IUnknown); impl IDCompositionArithmeticCompositeEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -308,25 +279,9 @@ impl IDCompositionArithmeticCompositeEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionArithmeticCompositeEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionArithmeticCompositeEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionArithmeticCompositeEffect {} -impl ::core::fmt::Debug for IDCompositionArithmeticCompositeEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionArithmeticCompositeEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionArithmeticCompositeEffect { type Vtable = IDCompositionArithmeticCompositeEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionArithmeticCompositeEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionArithmeticCompositeEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b67dfa8_e3dd_4e61_b640_46c2f3d739dc); } @@ -353,6 +308,7 @@ pub struct IDCompositionArithmeticCompositeEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionBlendEffect(::windows_core::IUnknown); impl IDCompositionBlendEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -368,25 +324,9 @@ impl IDCompositionBlendEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionBlendEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionBlendEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionBlendEffect {} -impl ::core::fmt::Debug for IDCompositionBlendEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionBlendEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionBlendEffect { type Vtable = IDCompositionBlendEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionBlendEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionBlendEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ecdc0a_578a_4a11_9c14_0cb90517f9c5); } @@ -401,6 +341,7 @@ pub struct IDCompositionBlendEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionBrightnessEffect(::windows_core::IUnknown); impl IDCompositionBrightnessEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -457,25 +398,9 @@ impl IDCompositionBrightnessEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionBrightnessEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionBrightnessEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionBrightnessEffect {} -impl ::core::fmt::Debug for IDCompositionBrightnessEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionBrightnessEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionBrightnessEffect { type Vtable = IDCompositionBrightnessEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionBrightnessEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionBrightnessEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6027496e_cb3a_49ab_934f_d798da4f7da6); } @@ -502,28 +427,13 @@ pub struct IDCompositionBrightnessEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionClip(::windows_core::IUnknown); impl IDCompositionClip {} ::windows_core::imp::interface_hierarchy!(IDCompositionClip, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionClip {} -impl ::core::fmt::Debug for IDCompositionClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionClip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionClip { type Vtable = IDCompositionClip_Vtbl; } -impl ::core::clone::Clone for IDCompositionClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64ac3703_9d3f_45ec_a109_7cac0e7a13a7); } @@ -534,6 +444,7 @@ pub struct IDCompositionClip_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionColorMatrixEffect(::windows_core::IUnknown); impl IDCompositionColorMatrixEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -571,25 +482,9 @@ impl IDCompositionColorMatrixEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionColorMatrixEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionColorMatrixEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionColorMatrixEffect {} -impl ::core::fmt::Debug for IDCompositionColorMatrixEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionColorMatrixEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionColorMatrixEffect { type Vtable = IDCompositionColorMatrixEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionColorMatrixEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionColorMatrixEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1170a22_3ce2_4966_90d4_55408bfc84c4); } @@ -614,6 +509,7 @@ pub struct IDCompositionColorMatrixEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionCompositeEffect(::windows_core::IUnknown); impl IDCompositionCompositeEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -629,25 +525,9 @@ impl IDCompositionCompositeEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionCompositeEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionCompositeEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionCompositeEffect {} -impl ::core::fmt::Debug for IDCompositionCompositeEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionCompositeEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionCompositeEffect { type Vtable = IDCompositionCompositeEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionCompositeEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionCompositeEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x576616c0_a231_494d_a38d_00fd5ec4db46); } @@ -662,6 +542,7 @@ pub struct IDCompositionCompositeEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDelegatedInkTrail(::windows_core::IUnknown); impl IDCompositionDelegatedInkTrail { pub unsafe fn AddTrailPoints(&self, inkpoints: &[DCompositionInkTrailPoint]) -> ::windows_core::Result { @@ -682,25 +563,9 @@ impl IDCompositionDelegatedInkTrail { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDelegatedInkTrail, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionDelegatedInkTrail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDelegatedInkTrail {} -impl ::core::fmt::Debug for IDCompositionDelegatedInkTrail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDelegatedInkTrail").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDelegatedInkTrail { type Vtable = IDCompositionDelegatedInkTrail_Vtbl; } -impl ::core::clone::Clone for IDCompositionDelegatedInkTrail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDelegatedInkTrail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2448e9b_547d_4057_8cf5_8144ede1c2da); } @@ -718,6 +583,7 @@ pub struct IDCompositionDelegatedInkTrail_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDesktopDevice(::windows_core::IUnknown); impl IDCompositionDesktopDevice { pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { @@ -840,25 +706,9 @@ impl IDCompositionDesktopDevice { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDesktopDevice, ::windows_core::IUnknown, IDCompositionDevice2); -impl ::core::cmp::PartialEq for IDCompositionDesktopDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDesktopDevice {} -impl ::core::fmt::Debug for IDCompositionDesktopDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDesktopDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDesktopDevice { type Vtable = IDCompositionDesktopDevice_Vtbl; } -impl ::core::clone::Clone for IDCompositionDesktopDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDesktopDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f4633fe_1e08_4cb8_8c75_ce24333f5602); } @@ -881,6 +731,7 @@ pub struct IDCompositionDesktopDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDevice(::windows_core::IUnknown); impl IDCompositionDevice { pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { @@ -1002,25 +853,9 @@ impl IDCompositionDevice { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDevice {} -impl ::core::fmt::Debug for IDCompositionDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDevice { type Vtable = IDCompositionDevice_Vtbl; } -impl ::core::clone::Clone for IDCompositionDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc37ea93a_e7aa_450d_b16f_9746cb0407f3); } @@ -1076,6 +911,7 @@ pub struct IDCompositionDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDevice2(::windows_core::IUnknown); impl IDCompositionDevice2 { pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { @@ -1170,25 +1006,9 @@ impl IDCompositionDevice2 { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDevice2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDevice2 {} -impl ::core::fmt::Debug for IDCompositionDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDevice2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDevice2 { type Vtable = IDCompositionDevice2_Vtbl; } -impl ::core::clone::Clone for IDCompositionDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75f6468d_1b8e_447c_9bc6_75fea80b5b25); } @@ -1229,6 +1049,7 @@ pub struct IDCompositionDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDevice3(::windows_core::IUnknown); impl IDCompositionDevice3 { pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { @@ -1375,25 +1196,9 @@ impl IDCompositionDevice3 { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDevice3, ::windows_core::IUnknown, IDCompositionDevice2); -impl ::core::cmp::PartialEq for IDCompositionDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDevice3 {} -impl ::core::fmt::Debug for IDCompositionDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDevice3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDevice3 { type Vtable = IDCompositionDevice3_Vtbl; } -impl ::core::clone::Clone for IDCompositionDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0987cb06_f916_48bf_8d35_ce7641781bd9); } @@ -1417,6 +1222,7 @@ pub struct IDCompositionDevice3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionDeviceDebug(::windows_core::IUnknown); impl IDCompositionDeviceDebug { pub unsafe fn EnableDebugCounters(&self) -> ::windows_core::Result<()> { @@ -1427,25 +1233,9 @@ impl IDCompositionDeviceDebug { } } ::windows_core::imp::interface_hierarchy!(IDCompositionDeviceDebug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionDeviceDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionDeviceDebug {} -impl ::core::fmt::Debug for IDCompositionDeviceDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionDeviceDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionDeviceDebug { type Vtable = IDCompositionDeviceDebug_Vtbl; } -impl ::core::clone::Clone for IDCompositionDeviceDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionDeviceDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1a3c64a_224f_4a81_9773_4f03a89d3c6c); } @@ -1458,28 +1248,13 @@ pub struct IDCompositionDeviceDebug_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionEffect(::windows_core::IUnknown); impl IDCompositionEffect {} ::windows_core::imp::interface_hierarchy!(IDCompositionEffect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionEffect {} -impl ::core::fmt::Debug for IDCompositionEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionEffect { type Vtable = IDCompositionEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec81b08f_bfcb_4e8d_b193_a915587999e8); } @@ -1490,6 +1265,7 @@ pub struct IDCompositionEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionEffectGroup(::windows_core::IUnknown); impl IDCompositionEffectGroup { pub unsafe fn SetOpacity(&self, animation: P0) -> ::windows_core::Result<()> @@ -1509,25 +1285,9 @@ impl IDCompositionEffectGroup { } } ::windows_core::imp::interface_hierarchy!(IDCompositionEffectGroup, ::windows_core::IUnknown, IDCompositionEffect); -impl ::core::cmp::PartialEq for IDCompositionEffectGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionEffectGroup {} -impl ::core::fmt::Debug for IDCompositionEffectGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionEffectGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionEffectGroup { type Vtable = IDCompositionEffectGroup_Vtbl; } -impl ::core::clone::Clone for IDCompositionEffectGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionEffectGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7929a74_e6b2_4bd6_8b95_4040119ca34d); } @@ -1541,6 +1301,7 @@ pub struct IDCompositionEffectGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionFilterEffect(::windows_core::IUnknown); impl IDCompositionFilterEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -1551,25 +1312,9 @@ impl IDCompositionFilterEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionFilterEffect, ::windows_core::IUnknown, IDCompositionEffect); -impl ::core::cmp::PartialEq for IDCompositionFilterEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionFilterEffect {} -impl ::core::fmt::Debug for IDCompositionFilterEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionFilterEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionFilterEffect { type Vtable = IDCompositionFilterEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionFilterEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionFilterEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30c421d5_8cb2_4e9f_b133_37be270d4ac2); } @@ -1581,6 +1326,7 @@ pub struct IDCompositionFilterEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionGaussianBlurEffect(::windows_core::IUnknown); impl IDCompositionGaussianBlurEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -1605,25 +1351,9 @@ impl IDCompositionGaussianBlurEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionGaussianBlurEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionGaussianBlurEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionGaussianBlurEffect {} -impl ::core::fmt::Debug for IDCompositionGaussianBlurEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionGaussianBlurEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionGaussianBlurEffect { type Vtable = IDCompositionGaussianBlurEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionGaussianBlurEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionGaussianBlurEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45d4d0b7_1bd4_454e_8894_2bfa68443033); } @@ -1640,6 +1370,7 @@ pub struct IDCompositionGaussianBlurEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionHueRotationEffect(::windows_core::IUnknown); impl IDCompositionHueRotationEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -1659,25 +1390,9 @@ impl IDCompositionHueRotationEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionHueRotationEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionHueRotationEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionHueRotationEffect {} -impl ::core::fmt::Debug for IDCompositionHueRotationEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionHueRotationEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionHueRotationEffect { type Vtable = IDCompositionHueRotationEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionHueRotationEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionHueRotationEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6db9f920_0770_4781_b0c6_381912f9d167); } @@ -1690,6 +1405,7 @@ pub struct IDCompositionHueRotationEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionInkTrailDevice(::windows_core::IUnknown); impl IDCompositionInkTrailDevice { pub unsafe fn CreateDelegatedInkTrail(&self) -> ::windows_core::Result { @@ -1705,25 +1421,9 @@ impl IDCompositionInkTrailDevice { } } ::windows_core::imp::interface_hierarchy!(IDCompositionInkTrailDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionInkTrailDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionInkTrailDevice {} -impl ::core::fmt::Debug for IDCompositionInkTrailDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionInkTrailDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionInkTrailDevice { type Vtable = IDCompositionInkTrailDevice_Vtbl; } -impl ::core::clone::Clone for IDCompositionInkTrailDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionInkTrailDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0c7cec_cdeb_4d4a_b91c_721bf22f4e6c); } @@ -1736,6 +1436,7 @@ pub struct IDCompositionInkTrailDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionLinearTransferEffect(::windows_core::IUnknown); impl IDCompositionLinearTransferEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -1858,25 +1559,9 @@ impl IDCompositionLinearTransferEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionLinearTransferEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionLinearTransferEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionLinearTransferEffect {} -impl ::core::fmt::Debug for IDCompositionLinearTransferEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionLinearTransferEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionLinearTransferEffect { type Vtable = IDCompositionLinearTransferEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionLinearTransferEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionLinearTransferEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4305ee5b_c4a0_4c88_9385_67124e017683); } @@ -1923,6 +1608,7 @@ pub struct IDCompositionLinearTransferEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionMatrixTransform(::windows_core::IUnknown); impl IDCompositionMatrixTransform { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1941,25 +1627,9 @@ impl IDCompositionMatrixTransform { } } ::windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); -impl ::core::cmp::PartialEq for IDCompositionMatrixTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionMatrixTransform {} -impl ::core::fmt::Debug for IDCompositionMatrixTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionMatrixTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionMatrixTransform { type Vtable = IDCompositionMatrixTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionMatrixTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionMatrixTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16cdff07_c503_419c_83f2_0965c7af1fa6); } @@ -1976,6 +1646,7 @@ pub struct IDCompositionMatrixTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionMatrixTransform3D(::windows_core::IUnknown); impl IDCompositionMatrixTransform3D { #[doc = "*Required features: `\"Foundation_Numerics\"`*"] @@ -1994,25 +1665,9 @@ impl IDCompositionMatrixTransform3D { } } ::windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform3D, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); -impl ::core::cmp::PartialEq for IDCompositionMatrixTransform3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionMatrixTransform3D {} -impl ::core::fmt::Debug for IDCompositionMatrixTransform3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionMatrixTransform3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionMatrixTransform3D { type Vtable = IDCompositionMatrixTransform3D_Vtbl; } -impl ::core::clone::Clone for IDCompositionMatrixTransform3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionMatrixTransform3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b3363f0_643b_41b7_b6e0_ccf22d34467c); } @@ -2029,6 +1684,7 @@ pub struct IDCompositionMatrixTransform3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionRectangleClip(::windows_core::IUnknown); impl IDCompositionRectangleClip { pub unsafe fn SetLeft(&self, animation: P0) -> ::windows_core::Result<()> @@ -2141,25 +1797,9 @@ impl IDCompositionRectangleClip { } } ::windows_core::imp::interface_hierarchy!(IDCompositionRectangleClip, ::windows_core::IUnknown, IDCompositionClip); -impl ::core::cmp::PartialEq for IDCompositionRectangleClip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionRectangleClip {} -impl ::core::fmt::Debug for IDCompositionRectangleClip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionRectangleClip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionRectangleClip { type Vtable = IDCompositionRectangleClip_Vtbl; } -impl ::core::clone::Clone for IDCompositionRectangleClip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionRectangleClip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9842ad7d_d9cf_4908_aed7_48b51da5e7c2); } @@ -2194,6 +1834,7 @@ pub struct IDCompositionRectangleClip_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionRotateTransform(::windows_core::IUnknown); impl IDCompositionRotateTransform { pub unsafe fn SetAngle(&self, animation: P0) -> ::windows_core::Result<()> @@ -2225,25 +1866,9 @@ impl IDCompositionRotateTransform { } } ::windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); -impl ::core::cmp::PartialEq for IDCompositionRotateTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionRotateTransform {} -impl ::core::fmt::Debug for IDCompositionRotateTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionRotateTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionRotateTransform { type Vtable = IDCompositionRotateTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionRotateTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionRotateTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x641ed83c_ae96_46c5_90dc_32774cc5c6d5); } @@ -2260,6 +1885,7 @@ pub struct IDCompositionRotateTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionRotateTransform3D(::windows_core::IUnknown); impl IDCompositionRotateTransform3D { pub unsafe fn SetAngle(&self, animation: P0) -> ::windows_core::Result<()> @@ -2327,25 +1953,9 @@ impl IDCompositionRotateTransform3D { } } ::windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform3D, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); -impl ::core::cmp::PartialEq for IDCompositionRotateTransform3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionRotateTransform3D {} -impl ::core::fmt::Debug for IDCompositionRotateTransform3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionRotateTransform3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionRotateTransform3D { type Vtable = IDCompositionRotateTransform3D_Vtbl; } -impl ::core::clone::Clone for IDCompositionRotateTransform3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionRotateTransform3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8f5b23f_d429_4a91_b55a_d2f45fd75b18); } @@ -2370,6 +1980,7 @@ pub struct IDCompositionRotateTransform3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionSaturationEffect(::windows_core::IUnknown); impl IDCompositionSaturationEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -2389,25 +2000,9 @@ impl IDCompositionSaturationEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionSaturationEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionSaturationEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionSaturationEffect {} -impl ::core::fmt::Debug for IDCompositionSaturationEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionSaturationEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionSaturationEffect { type Vtable = IDCompositionSaturationEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionSaturationEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionSaturationEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa08debda_3258_4fa4_9f16_9174d3fe93b1); } @@ -2420,6 +2015,7 @@ pub struct IDCompositionSaturationEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionScaleTransform(::windows_core::IUnknown); impl IDCompositionScaleTransform { pub unsafe fn SetScaleX(&self, animation: P0) -> ::windows_core::Result<()> @@ -2460,25 +2056,9 @@ impl IDCompositionScaleTransform { } } ::windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); -impl ::core::cmp::PartialEq for IDCompositionScaleTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionScaleTransform {} -impl ::core::fmt::Debug for IDCompositionScaleTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionScaleTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionScaleTransform { type Vtable = IDCompositionScaleTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionScaleTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionScaleTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71fde914_40ef_45ef_bd51_68b037c339f9); } @@ -2497,6 +2077,7 @@ pub struct IDCompositionScaleTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionScaleTransform3D(::windows_core::IUnknown); impl IDCompositionScaleTransform3D { pub unsafe fn SetScaleX(&self, animation: P0) -> ::windows_core::Result<()> @@ -2555,25 +2136,9 @@ impl IDCompositionScaleTransform3D { } } ::windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform3D, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); -impl ::core::cmp::PartialEq for IDCompositionScaleTransform3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionScaleTransform3D {} -impl ::core::fmt::Debug for IDCompositionScaleTransform3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionScaleTransform3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionScaleTransform3D { type Vtable = IDCompositionScaleTransform3D_Vtbl; } -impl ::core::clone::Clone for IDCompositionScaleTransform3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionScaleTransform3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a9e9ead_364b_4b15_a7c4_a1997f78b389); } @@ -2596,6 +2161,7 @@ pub struct IDCompositionScaleTransform3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionShadowEffect(::windows_core::IUnknown); impl IDCompositionShadowEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -2656,25 +2222,9 @@ impl IDCompositionShadowEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionShadowEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionShadowEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionShadowEffect {} -impl ::core::fmt::Debug for IDCompositionShadowEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionShadowEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionShadowEffect { type Vtable = IDCompositionShadowEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionShadowEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionShadowEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ad18ac0_cfd2_4c2f_bb62_96e54fdb6879); } @@ -2699,6 +2249,7 @@ pub struct IDCompositionShadowEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionSkewTransform(::windows_core::IUnknown); impl IDCompositionSkewTransform { pub unsafe fn SetAngleX(&self, animation: P0) -> ::windows_core::Result<()> @@ -2739,25 +2290,9 @@ impl IDCompositionSkewTransform { } } ::windows_core::imp::interface_hierarchy!(IDCompositionSkewTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); -impl ::core::cmp::PartialEq for IDCompositionSkewTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionSkewTransform {} -impl ::core::fmt::Debug for IDCompositionSkewTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionSkewTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionSkewTransform { type Vtable = IDCompositionSkewTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionSkewTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionSkewTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe57aa735_dcdb_4c72_9c61_0591f58889ee); } @@ -2776,6 +2311,7 @@ pub struct IDCompositionSkewTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionSurface(::windows_core::IUnknown); impl IDCompositionSurface { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2803,25 +2339,9 @@ impl IDCompositionSurface { } } ::windows_core::imp::interface_hierarchy!(IDCompositionSurface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionSurface {} -impl ::core::fmt::Debug for IDCompositionSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionSurface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionSurface { type Vtable = IDCompositionSurface_Vtbl; } -impl ::core::clone::Clone for IDCompositionSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb8a4953_2c99_4f5a_96f5_4819027fa3ac); } @@ -2843,6 +2363,7 @@ pub struct IDCompositionSurface_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionSurfaceFactory(::windows_core::IUnknown); impl IDCompositionSurfaceFactory { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -2859,25 +2380,9 @@ impl IDCompositionSurfaceFactory { } } ::windows_core::imp::interface_hierarchy!(IDCompositionSurfaceFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionSurfaceFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionSurfaceFactory {} -impl ::core::fmt::Debug for IDCompositionSurfaceFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionSurfaceFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionSurfaceFactory { type Vtable = IDCompositionSurfaceFactory_Vtbl; } -impl ::core::clone::Clone for IDCompositionSurfaceFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionSurfaceFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe334bc12_3937_4e02_85eb_fcf4eb30d2c8); } @@ -2896,6 +2401,7 @@ pub struct IDCompositionSurfaceFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTableTransferEffect(::windows_core::IUnknown); impl IDCompositionTableTransferEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -2994,25 +2500,9 @@ impl IDCompositionTableTransferEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionTableTransferEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionTableTransferEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTableTransferEffect {} -impl ::core::fmt::Debug for IDCompositionTableTransferEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTableTransferEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTableTransferEffect { type Vtable = IDCompositionTableTransferEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionTableTransferEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTableTransferEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b7e82e2_69c5_4eb4_a5f5_a7033f5132cd); } @@ -3055,6 +2545,7 @@ pub struct IDCompositionTableTransferEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTarget(::windows_core::IUnknown); impl IDCompositionTarget { pub unsafe fn SetRoot(&self, visual: P0) -> ::windows_core::Result<()> @@ -3065,25 +2556,9 @@ impl IDCompositionTarget { } } ::windows_core::imp::interface_hierarchy!(IDCompositionTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTarget {} -impl ::core::fmt::Debug for IDCompositionTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTarget { type Vtable = IDCompositionTarget_Vtbl; } -impl ::core::clone::Clone for IDCompositionTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeacdd04c_117e_4e17_88f4_d1b12b0e3d89); } @@ -3095,28 +2570,13 @@ pub struct IDCompositionTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTransform(::windows_core::IUnknown); impl IDCompositionTransform {} ::windows_core::imp::interface_hierarchy!(IDCompositionTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); -impl ::core::cmp::PartialEq for IDCompositionTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTransform {} -impl ::core::fmt::Debug for IDCompositionTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTransform { type Vtable = IDCompositionTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd55faa7_37e0_4c20_95d2_9be45bc33f55); } @@ -3127,28 +2587,13 @@ pub struct IDCompositionTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTransform3D(::windows_core::IUnknown); impl IDCompositionTransform3D {} ::windows_core::imp::interface_hierarchy!(IDCompositionTransform3D, ::windows_core::IUnknown, IDCompositionEffect); -impl ::core::cmp::PartialEq for IDCompositionTransform3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTransform3D {} -impl ::core::fmt::Debug for IDCompositionTransform3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTransform3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTransform3D { type Vtable = IDCompositionTransform3D_Vtbl; } -impl ::core::clone::Clone for IDCompositionTransform3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTransform3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71185722_246b_41f2_aad1_0443f7f4bfc2); } @@ -3159,6 +2604,7 @@ pub struct IDCompositionTransform3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTranslateTransform(::windows_core::IUnknown); impl IDCompositionTranslateTransform { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -3181,25 +2627,9 @@ impl IDCompositionTranslateTransform { } } ::windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); -impl ::core::cmp::PartialEq for IDCompositionTranslateTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTranslateTransform {} -impl ::core::fmt::Debug for IDCompositionTranslateTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTranslateTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTranslateTransform { type Vtable = IDCompositionTranslateTransform_Vtbl; } -impl ::core::clone::Clone for IDCompositionTranslateTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTranslateTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06791122_c6f0_417d_8323_269e987f5954); } @@ -3214,6 +2644,7 @@ pub struct IDCompositionTranslateTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTranslateTransform3D(::windows_core::IUnknown); impl IDCompositionTranslateTransform3D { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -3245,25 +2676,9 @@ impl IDCompositionTranslateTransform3D { } } ::windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform3D, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); -impl ::core::cmp::PartialEq for IDCompositionTranslateTransform3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTranslateTransform3D {} -impl ::core::fmt::Debug for IDCompositionTranslateTransform3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTranslateTransform3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTranslateTransform3D { type Vtable = IDCompositionTranslateTransform3D_Vtbl; } -impl ::core::clone::Clone for IDCompositionTranslateTransform3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTranslateTransform3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91636d4b_9ba1_4532_aaf7_e3344994d788); } @@ -3280,6 +2695,7 @@ pub struct IDCompositionTranslateTransform3D_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionTurbulenceEffect(::windows_core::IUnknown); impl IDCompositionTurbulenceEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> ::windows_core::Result<()> @@ -3324,25 +2740,9 @@ impl IDCompositionTurbulenceEffect { } } ::windows_core::imp::interface_hierarchy!(IDCompositionTurbulenceEffect, ::windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); -impl ::core::cmp::PartialEq for IDCompositionTurbulenceEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionTurbulenceEffect {} -impl ::core::fmt::Debug for IDCompositionTurbulenceEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionTurbulenceEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionTurbulenceEffect { type Vtable = IDCompositionTurbulenceEffect_Vtbl; } -impl ::core::clone::Clone for IDCompositionTurbulenceEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionTurbulenceEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6a55bda_c09c_49f3_9193_a41922c89715); } @@ -3375,6 +2775,7 @@ pub struct IDCompositionTurbulenceEffect_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionVirtualSurface(::windows_core::IUnknown); impl IDCompositionVirtualSurface { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3410,25 +2811,9 @@ impl IDCompositionVirtualSurface { } } ::windows_core::imp::interface_hierarchy!(IDCompositionVirtualSurface, ::windows_core::IUnknown, IDCompositionSurface); -impl ::core::cmp::PartialEq for IDCompositionVirtualSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionVirtualSurface {} -impl ::core::fmt::Debug for IDCompositionVirtualSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionVirtualSurface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionVirtualSurface { type Vtable = IDCompositionVirtualSurface_Vtbl; } -impl ::core::clone::Clone for IDCompositionVirtualSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionVirtualSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae471c51_5f53_4a24_8d3e_d0c39c30b3f0); } @@ -3444,6 +2829,7 @@ pub struct IDCompositionVirtualSurface_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionVisual(::windows_core::IUnknown); impl IDCompositionVisual { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -3534,25 +2920,9 @@ impl IDCompositionVisual { } } ::windows_core::imp::interface_hierarchy!(IDCompositionVisual, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCompositionVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionVisual {} -impl ::core::fmt::Debug for IDCompositionVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionVisual").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionVisual { type Vtable = IDCompositionVisual_Vtbl; } -impl ::core::clone::Clone for IDCompositionVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d93059d_097b_4651_9a60_f0f25116e2f3); } @@ -3589,6 +2959,7 @@ pub struct IDCompositionVisual_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionVisual2(::windows_core::IUnknown); impl IDCompositionVisual2 { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -3685,25 +3056,9 @@ impl IDCompositionVisual2 { } } ::windows_core::imp::interface_hierarchy!(IDCompositionVisual2, ::windows_core::IUnknown, IDCompositionVisual); -impl ::core::cmp::PartialEq for IDCompositionVisual2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionVisual2 {} -impl ::core::fmt::Debug for IDCompositionVisual2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionVisual2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionVisual2 { type Vtable = IDCompositionVisual2_Vtbl; } -impl ::core::clone::Clone for IDCompositionVisual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionVisual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8de1639_4331_4b26_bc5f_6a321d347a85); } @@ -3716,6 +3071,7 @@ pub struct IDCompositionVisual2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionVisual3(::windows_core::IUnknown); impl IDCompositionVisual3 { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -3866,25 +3222,9 @@ impl IDCompositionVisual3 { } } ::windows_core::imp::interface_hierarchy!(IDCompositionVisual3, ::windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2, IDCompositionVisualDebug); -impl ::core::cmp::PartialEq for IDCompositionVisual3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionVisual3 {} -impl ::core::fmt::Debug for IDCompositionVisual3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionVisual3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionVisual3 { type Vtable = IDCompositionVisual3_Vtbl; } -impl ::core::clone::Clone for IDCompositionVisual3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionVisual3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2775f462_b6c1_4015_b0be_b3e7d6a4976d); } @@ -3909,6 +3249,7 @@ pub struct IDCompositionVisual3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCompositionVisualDebug(::windows_core::IUnknown); impl IDCompositionVisualDebug { pub unsafe fn SetOffsetX(&self, animation: P0) -> ::windows_core::Result<()> @@ -4019,25 +3360,9 @@ impl IDCompositionVisualDebug { } } ::windows_core::imp::interface_hierarchy!(IDCompositionVisualDebug, ::windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2); -impl ::core::cmp::PartialEq for IDCompositionVisualDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCompositionVisualDebug {} -impl ::core::fmt::Debug for IDCompositionVisualDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCompositionVisualDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCompositionVisualDebug { type Vtable = IDCompositionVisualDebug_Vtbl; } -impl ::core::clone::Clone for IDCompositionVisualDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCompositionVisualDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfed2b808_5eb4_43a0_aea3_35f65280f91b); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs index b353331514..bea71e438e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs @@ -39,8 +39,8 @@ impl IDDVideoPortContainer_Vtbl { QueryVideoPortStatus: QueryVideoPortStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IDirectDraw_Vtbl { WaitForVerticalBlank: WaitForVerticalBlank::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -384,8 +384,8 @@ impl IDirectDraw2_Vtbl { GetAvailableVidMem: GetAvailableVidMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -594,8 +594,8 @@ impl IDirectDraw4_Vtbl { GetDeviceIdentifier: GetDeviceIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IDirectDraw7_Vtbl { EvaluateMode: EvaluateMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -877,8 +877,8 @@ impl IDirectDrawClipper_Vtbl { SetHWnd: SetHWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl IDirectDrawColorControl_Vtbl { SetColorControls: SetColorControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IDirectDrawGammaControl_Vtbl { SetGammaRamp: SetGammaRamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -968,8 +968,8 @@ impl IDirectDrawKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IDirectDrawPalette_Vtbl { SetEntries: SetEntries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1273,8 +1273,8 @@ impl IDirectDrawSurface_Vtbl { UpdateOverlayZOrder: UpdateOverlayZOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IDirectDrawSurface2_Vtbl { PageUnlock: PageUnlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1842,8 +1842,8 @@ impl IDirectDrawSurface3_Vtbl { SetSurfaceDesc: SetSurfaceDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IDirectDrawSurface4_Vtbl { ChangeUniquenessValue: ChangeUniquenessValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2516,8 +2516,8 @@ impl IDirectDrawSurface7_Vtbl { GetLOD: GetLOD::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -2544,8 +2544,8 @@ impl IDirectDrawSurfaceKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2659,8 +2659,8 @@ impl IDirectDrawVideoPort_Vtbl { WaitForSync: WaitForSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2690,7 +2690,7 @@ impl IDirectDrawVideoPortNotify_Vtbl { ReleaseNotification: ReleaseNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index 9d13a96254..aa2f7d9bbe 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -55,6 +55,7 @@ pub unsafe fn DirectDrawEnumerateW(lpcallback: LPDDENUMCALLBACKW, lpcontext: *mu } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDDVideoPortContainer(::windows_core::IUnknown); impl IDDVideoPortContainer { pub unsafe fn CreateVideoPort(&self, param0: u32, param1: *mut DDVIDEOPORTDESC, param2: *mut ::core::option::Option, param3: P0) -> ::windows_core::Result<()> @@ -76,25 +77,9 @@ impl IDDVideoPortContainer { } } ::windows_core::imp::interface_hierarchy!(IDDVideoPortContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDDVideoPortContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDDVideoPortContainer {} -impl ::core::fmt::Debug for IDDVideoPortContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDDVideoPortContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDDVideoPortContainer { type Vtable = IDDVideoPortContainer_Vtbl; } -impl ::core::clone::Clone for IDDVideoPortContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDDVideoPortContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c142760_a733_11ce_a521_0020af0be560); } @@ -112,6 +97,7 @@ pub struct IDDVideoPortContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDraw(::windows_core::IUnknown); impl IDirectDraw { pub unsafe fn Compact(&self) -> ::windows_core::Result<()> { @@ -202,25 +188,9 @@ impl IDirectDraw { } } ::windows_core::imp::interface_hierarchy!(IDirectDraw, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDraw { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDraw {} -impl ::core::fmt::Debug for IDirectDraw { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDraw").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDraw { type Vtable = IDirectDraw_Vtbl; } -impl ::core::clone::Clone for IDirectDraw { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDraw { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c14db80_a733_11ce_a521_0020af0be560); } @@ -260,6 +230,7 @@ pub struct IDirectDraw_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDraw2(::windows_core::IUnknown); impl IDirectDraw2 { pub unsafe fn Compact(&self) -> ::windows_core::Result<()> { @@ -353,25 +324,9 @@ impl IDirectDraw2 { } } ::windows_core::imp::interface_hierarchy!(IDirectDraw2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDraw2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDraw2 {} -impl ::core::fmt::Debug for IDirectDraw2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDraw2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDraw2 { type Vtable = IDirectDraw2_Vtbl; } -impl ::core::clone::Clone for IDirectDraw2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDraw2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3a6f3e0_2b43_11cf_a2de_00aa00b93356); } @@ -412,6 +367,7 @@ pub struct IDirectDraw2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDraw4(::windows_core::IUnknown); impl IDirectDraw4 { pub unsafe fn Compact(&self) -> ::windows_core::Result<()> { @@ -523,25 +479,9 @@ impl IDirectDraw4 { } } ::windows_core::imp::interface_hierarchy!(IDirectDraw4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDraw4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDraw4 {} -impl ::core::fmt::Debug for IDirectDraw4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDraw4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDraw4 { type Vtable = IDirectDraw4_Vtbl; } -impl ::core::clone::Clone for IDirectDraw4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDraw4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c59509a_39bd_11d1_8c4a_00c04fd930c5); } @@ -589,6 +529,7 @@ pub struct IDirectDraw4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDraw7(::windows_core::IUnknown); impl IDirectDraw7 { pub unsafe fn Compact(&self) -> ::windows_core::Result<()> { @@ -708,25 +649,9 @@ impl IDirectDraw7 { } } ::windows_core::imp::interface_hierarchy!(IDirectDraw7, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDraw7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDraw7 {} -impl ::core::fmt::Debug for IDirectDraw7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDraw7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDraw7 { type Vtable = IDirectDraw7_Vtbl; } -impl ::core::clone::Clone for IDirectDraw7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDraw7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15e65ec0_3b9c_11d2_b92f_00609797ea5b); } @@ -779,6 +704,7 @@ pub struct IDirectDraw7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawClipper(::windows_core::IUnknown); impl IDirectDrawClipper { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -817,25 +743,9 @@ impl IDirectDrawClipper { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawClipper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawClipper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawClipper {} -impl ::core::fmt::Debug for IDirectDrawClipper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawClipper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawClipper { type Vtable = IDirectDrawClipper_Vtbl; } -impl ::core::clone::Clone for IDirectDrawClipper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawClipper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c14db85_a733_11ce_a521_0020af0be560); } @@ -867,6 +777,7 @@ pub struct IDirectDrawClipper_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawColorControl(::windows_core::IUnknown); impl IDirectDrawColorControl { pub unsafe fn GetColorControls(&self, param0: *mut DDCOLORCONTROL) -> ::windows_core::Result<()> { @@ -877,25 +788,9 @@ impl IDirectDrawColorControl { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawColorControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawColorControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawColorControl {} -impl ::core::fmt::Debug for IDirectDrawColorControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawColorControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawColorControl { type Vtable = IDirectDrawColorControl_Vtbl; } -impl ::core::clone::Clone for IDirectDrawColorControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawColorControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b9f0ee0_0d7e_11d0_9b06_00a0c903a3b8); } @@ -908,6 +803,7 @@ pub struct IDirectDrawColorControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawGammaControl(::windows_core::IUnknown); impl IDirectDrawGammaControl { pub unsafe fn GetGammaRamp(&self, param0: u32, param1: *mut DDGAMMARAMP) -> ::windows_core::Result<()> { @@ -918,25 +814,9 @@ impl IDirectDrawGammaControl { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawGammaControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawGammaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawGammaControl {} -impl ::core::fmt::Debug for IDirectDrawGammaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawGammaControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawGammaControl { type Vtable = IDirectDrawGammaControl_Vtbl; } -impl ::core::clone::Clone for IDirectDrawGammaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawGammaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69c11c3e_b46b_11d1_ad7a_00c04fc29b4e); } @@ -949,6 +829,7 @@ pub struct IDirectDrawGammaControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawKernel(::windows_core::IUnknown); impl IDirectDrawKernel { pub unsafe fn GetCaps(&self, param0: *mut DDKERNELCAPS) -> ::windows_core::Result<()> { @@ -962,25 +843,9 @@ impl IDirectDrawKernel { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawKernel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawKernel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawKernel {} -impl ::core::fmt::Debug for IDirectDrawKernel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawKernel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawKernel { type Vtable = IDirectDrawKernel_Vtbl; } -impl ::core::clone::Clone for IDirectDrawKernel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawKernel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d56c120_6a08_11d0_9b06_00a0c903a3b8); } @@ -994,6 +859,7 @@ pub struct IDirectDrawKernel_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawPalette(::windows_core::IUnknown); impl IDirectDrawPalette { pub unsafe fn GetCaps(&self, param0: *mut u32) -> ::windows_core::Result<()> { @@ -1019,25 +885,9 @@ impl IDirectDrawPalette { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawPalette, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawPalette { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawPalette {} -impl ::core::fmt::Debug for IDirectDrawPalette { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawPalette").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawPalette { type Vtable = IDirectDrawPalette_Vtbl; } -impl ::core::clone::Clone for IDirectDrawPalette { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawPalette { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c14db84_a733_11ce_a521_0020af0be560); } @@ -1061,6 +911,7 @@ pub struct IDirectDrawPalette_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurface(::windows_core::IUnknown); impl IDirectDrawSurface { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> ::windows_core::Result<()> @@ -1218,25 +1069,9 @@ impl IDirectDrawSurface { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurface {} -impl ::core::fmt::Debug for IDirectDrawSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurface { type Vtable = IDirectDrawSurface_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c14db81_a733_11ce_a521_0020af0be560); } @@ -1304,6 +1139,7 @@ pub struct IDirectDrawSurface_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurface2(::windows_core::IUnknown); impl IDirectDrawSurface2 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> ::windows_core::Result<()> @@ -1470,25 +1306,9 @@ impl IDirectDrawSurface2 { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurface2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurface2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurface2 {} -impl ::core::fmt::Debug for IDirectDrawSurface2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurface2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurface2 { type Vtable = IDirectDrawSurface2_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurface2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurface2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57805885_6eec_11cf_9441_a82303c10e27); } @@ -1559,6 +1379,7 @@ pub struct IDirectDrawSurface2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurface3(::windows_core::IUnknown); impl IDirectDrawSurface3 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> ::windows_core::Result<()> @@ -1728,25 +1549,9 @@ impl IDirectDrawSurface3 { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurface3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurface3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurface3 {} -impl ::core::fmt::Debug for IDirectDrawSurface3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurface3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurface3 { type Vtable = IDirectDrawSurface3_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurface3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurface3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda044e00_69b2_11d0_a1d5_00aa00b8dfbb); } @@ -1818,6 +1623,7 @@ pub struct IDirectDrawSurface3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurface4(::windows_core::IUnknown); impl IDirectDrawSurface4 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> ::windows_core::Result<()> @@ -2004,25 +1810,9 @@ impl IDirectDrawSurface4 { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurface4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurface4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurface4 {} -impl ::core::fmt::Debug for IDirectDrawSurface4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurface4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurface4 { type Vtable = IDirectDrawSurface4_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurface4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurface4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b2b8630_ad35_11d0_8ea6_00609797ea5b); } @@ -2102,6 +1892,7 @@ pub struct IDirectDrawSurface4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurface7(::windows_core::IUnknown); impl IDirectDrawSurface7 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> ::windows_core::Result<()> @@ -2300,25 +2091,9 @@ impl IDirectDrawSurface7 { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurface7, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurface7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurface7 {} -impl ::core::fmt::Debug for IDirectDrawSurface7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurface7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurface7 { type Vtable = IDirectDrawSurface7_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurface7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurface7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06675a80_3b9b_11d2_b92f_00609797ea5b); } @@ -2402,6 +2177,7 @@ pub struct IDirectDrawSurface7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawSurfaceKernel(::windows_core::IUnknown); impl IDirectDrawSurfaceKernel { pub unsafe fn GetKernelHandle(&self, param0: *mut usize) -> ::windows_core::Result<()> { @@ -2412,25 +2188,9 @@ impl IDirectDrawSurfaceKernel { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawSurfaceKernel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawSurfaceKernel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawSurfaceKernel {} -impl ::core::fmt::Debug for IDirectDrawSurfaceKernel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawSurfaceKernel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawSurfaceKernel { type Vtable = IDirectDrawSurfaceKernel_Vtbl; } -impl ::core::clone::Clone for IDirectDrawSurfaceKernel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawSurfaceKernel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60755da0_6a40_11d0_9b06_00a0c903a3b8); } @@ -2443,6 +2203,7 @@ pub struct IDirectDrawSurfaceKernel_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawVideoPort(::windows_core::IUnknown); impl IDirectDrawVideoPort { pub unsafe fn Flip(&self, param0: P0, param1: u32) -> ::windows_core::Result<()> @@ -2499,25 +2260,9 @@ impl IDirectDrawVideoPort { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawVideoPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawVideoPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawVideoPort {} -impl ::core::fmt::Debug for IDirectDrawVideoPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawVideoPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawVideoPort { type Vtable = IDirectDrawVideoPort_Vtbl; } -impl ::core::clone::Clone for IDirectDrawVideoPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawVideoPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb36d93e0_2b43_11cf_a2de_00aa00b93356); } @@ -2548,6 +2293,7 @@ pub struct IDirectDrawVideoPort_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawVideoPortNotify(::windows_core::IUnknown); impl IDirectDrawVideoPortNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2565,25 +2311,9 @@ impl IDirectDrawVideoPortNotify { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawVideoPortNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawVideoPortNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawVideoPortNotify {} -impl ::core::fmt::Debug for IDirectDrawVideoPortNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawVideoPortNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawVideoPortNotify { type Vtable = IDirectDrawVideoPortNotify_Vtbl; } -impl ::core::clone::Clone for IDirectDrawVideoPortNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawVideoPortNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa655fb94_0589_4e57_b333_567a89468c88); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs index 1794cbcb94..102df3370d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs @@ -12,8 +12,8 @@ impl IDirectManipulationAutoScrollBehavior_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetConfiguration: SetConfiguration:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -54,8 +54,8 @@ impl IDirectManipulationCompositor_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -75,8 +75,8 @@ impl IDirectManipulationCompositor2_Vtbl { AddContentWithCrossProcessChaining: AddContentWithCrossProcessChaining::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IDirectManipulationContent_Vtbl { SyncContentTransform: SyncContentTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IDirectManipulationDeferContactService_Vtbl { CancelDeferral: CancelDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl IDirectManipulationDragDropBehavior_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IDirectManipulationDragDropEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnDragDropStatusChange: OnDragDropStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IDirectManipulationFrameInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextFrameInfo: GetNextFrameInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -277,8 +277,8 @@ impl IDirectManipulationInteractionEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnInteraction: OnInteraction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl IDirectManipulationManager_Vtbl { CreateContent: CreateContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IDirectManipulationManager2_Vtbl { } Self { base__: IDirectManipulationManager_Vtbl::new::(), CreateBehavior: CreateBehavior:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -391,8 +391,8 @@ impl IDirectManipulationManager3_Vtbl { } Self { base__: IDirectManipulationManager2_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -468,8 +468,8 @@ impl IDirectManipulationPrimaryContent_Vtbl { GetCenterPoint: GetCenterPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IDirectManipulationUpdateHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IDirectManipulationUpdateManager_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl IDirectManipulationViewport_Vtbl { Abandon: Abandon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -805,8 +805,8 @@ impl IDirectManipulationViewport2_Vtbl { RemoveAllBehaviors: RemoveAllBehaviors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -840,7 +840,7 @@ impl IDirectManipulationViewportEventHandler_Vtbl { OnContentUpdated: OnContentUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs index 909607e467..3ac3c6d8b0 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationAutoScrollBehavior(::windows_core::IUnknown); impl IDirectManipulationAutoScrollBehavior { pub unsafe fn SetConfiguration(&self, motiontypes: DIRECTMANIPULATION_MOTION_TYPES, scrollmotion: DIRECTMANIPULATION_AUTOSCROLL_CONFIGURATION) -> ::windows_core::Result<()> { @@ -7,25 +8,9 @@ impl IDirectManipulationAutoScrollBehavior { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationAutoScrollBehavior, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationAutoScrollBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationAutoScrollBehavior {} -impl ::core::fmt::Debug for IDirectManipulationAutoScrollBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationAutoScrollBehavior").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationAutoScrollBehavior { type Vtable = IDirectManipulationAutoScrollBehavior_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationAutoScrollBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationAutoScrollBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d5954d4_2003_4356_9b31_d051c9ff0af7); } @@ -37,6 +22,7 @@ pub struct IDirectManipulationAutoScrollBehavior_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationCompositor(::windows_core::IUnknown); impl IDirectManipulationCompositor { pub unsafe fn AddContent(&self, content: P0, device: P1, parentvisual: P2, childvisual: P3) -> ::windows_core::Result<()> @@ -65,25 +51,9 @@ impl IDirectManipulationCompositor { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationCompositor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationCompositor {} -impl ::core::fmt::Debug for IDirectManipulationCompositor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationCompositor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationCompositor { type Vtable = IDirectManipulationCompositor_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationCompositor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationCompositor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x537a0825_0387_4efa_b62f_71eb1f085a7e); } @@ -98,6 +68,7 @@ pub struct IDirectManipulationCompositor_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationCompositor2(::windows_core::IUnknown); impl IDirectManipulationCompositor2 { pub unsafe fn AddContent(&self, content: P0, device: P1, parentvisual: P2, childvisual: P3) -> ::windows_core::Result<()> @@ -135,25 +106,9 @@ impl IDirectManipulationCompositor2 { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor2, ::windows_core::IUnknown, IDirectManipulationCompositor); -impl ::core::cmp::PartialEq for IDirectManipulationCompositor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationCompositor2 {} -impl ::core::fmt::Debug for IDirectManipulationCompositor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationCompositor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationCompositor2 { type Vtable = IDirectManipulationCompositor2_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationCompositor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationCompositor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd38c7822_f1cb_43cb_b4b9_ac0c767a412e); } @@ -165,6 +120,7 @@ pub struct IDirectManipulationCompositor2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationContent(::windows_core::IUnknown); impl IDirectManipulationContent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -208,25 +164,9 @@ impl IDirectManipulationContent { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationContent {} -impl ::core::fmt::Debug for IDirectManipulationContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationContent { type Vtable = IDirectManipulationContent_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb89962cb_3d89_442b_bb58_5098fa0f9f16); } @@ -251,6 +191,7 @@ pub struct IDirectManipulationContent_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationDeferContactService(::windows_core::IUnknown); impl IDirectManipulationDeferContactService { pub unsafe fn DeferContact(&self, pointerid: u32, timeout: u32) -> ::windows_core::Result<()> { @@ -264,25 +205,9 @@ impl IDirectManipulationDeferContactService { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationDeferContactService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationDeferContactService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationDeferContactService {} -impl ::core::fmt::Debug for IDirectManipulationDeferContactService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationDeferContactService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationDeferContactService { type Vtable = IDirectManipulationDeferContactService_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationDeferContactService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationDeferContactService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x652d5c71_fe60_4a98_be70_e5f21291e7f1); } @@ -296,6 +221,7 @@ pub struct IDirectManipulationDeferContactService_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationDragDropBehavior(::windows_core::IUnknown); impl IDirectManipulationDragDropBehavior { pub unsafe fn SetConfiguration(&self, configuration: DIRECTMANIPULATION_DRAG_DROP_CONFIGURATION) -> ::windows_core::Result<()> { @@ -307,25 +233,9 @@ impl IDirectManipulationDragDropBehavior { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropBehavior, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationDragDropBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationDragDropBehavior {} -impl ::core::fmt::Debug for IDirectManipulationDragDropBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationDragDropBehavior").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationDragDropBehavior { type Vtable = IDirectManipulationDragDropBehavior_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationDragDropBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationDragDropBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x814b5af5_c2c8_4270_a9b7_a198ce8d02fa); } @@ -338,6 +248,7 @@ pub struct IDirectManipulationDragDropBehavior_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationDragDropEventHandler(::windows_core::IUnknown); impl IDirectManipulationDragDropEventHandler { pub unsafe fn OnDragDropStatusChange(&self, viewport: P0, current: DIRECTMANIPULATION_DRAG_DROP_STATUS, previous: DIRECTMANIPULATION_DRAG_DROP_STATUS) -> ::windows_core::Result<()> @@ -348,25 +259,9 @@ impl IDirectManipulationDragDropEventHandler { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationDragDropEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationDragDropEventHandler {} -impl ::core::fmt::Debug for IDirectManipulationDragDropEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationDragDropEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationDragDropEventHandler { type Vtable = IDirectManipulationDragDropEventHandler_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationDragDropEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationDragDropEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fa11b10_701b_41ae_b5f2_49e36bd595aa); } @@ -378,6 +273,7 @@ pub struct IDirectManipulationDragDropEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationFrameInfoProvider(::windows_core::IUnknown); impl IDirectManipulationFrameInfoProvider { pub unsafe fn GetNextFrameInfo(&self, time: *mut u64, processtime: *mut u64, compositiontime: *mut u64) -> ::windows_core::Result<()> { @@ -385,25 +281,9 @@ impl IDirectManipulationFrameInfoProvider { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationFrameInfoProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationFrameInfoProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationFrameInfoProvider {} -impl ::core::fmt::Debug for IDirectManipulationFrameInfoProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationFrameInfoProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationFrameInfoProvider { type Vtable = IDirectManipulationFrameInfoProvider_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationFrameInfoProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationFrameInfoProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb759dba_6f4c_4c01_874e_19c8a05907f9); } @@ -415,6 +295,7 @@ pub struct IDirectManipulationFrameInfoProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationInteractionEventHandler(::windows_core::IUnknown); impl IDirectManipulationInteractionEventHandler { pub unsafe fn OnInteraction(&self, viewport: P0, interaction: DIRECTMANIPULATION_INTERACTION_TYPE) -> ::windows_core::Result<()> @@ -425,25 +306,9 @@ impl IDirectManipulationInteractionEventHandler { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationInteractionEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationInteractionEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationInteractionEventHandler {} -impl ::core::fmt::Debug for IDirectManipulationInteractionEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationInteractionEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationInteractionEventHandler { type Vtable = IDirectManipulationInteractionEventHandler_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationInteractionEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationInteractionEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe43f45b8_42b4_403e_b1f2_273b8f510830); } @@ -455,6 +320,7 @@ pub struct IDirectManipulationInteractionEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationManager(::windows_core::IUnknown); impl IDirectManipulationManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -516,25 +382,9 @@ impl IDirectManipulationManager { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationManager {} -impl ::core::fmt::Debug for IDirectManipulationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationManager { type Vtable = IDirectManipulationManager_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbf5d3b4_70c7_4163_9322_5a6f660d6fbc); } @@ -567,6 +417,7 @@ pub struct IDirectManipulationManager_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationManager2(::windows_core::IUnknown); impl IDirectManipulationManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -635,25 +486,9 @@ impl IDirectManipulationManager2 { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager2, ::windows_core::IUnknown, IDirectManipulationManager); -impl ::core::cmp::PartialEq for IDirectManipulationManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationManager2 {} -impl ::core::fmt::Debug for IDirectManipulationManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationManager2 { type Vtable = IDirectManipulationManager2_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa1005e9_3d16_484c_bfc9_62b61e56ec4e); } @@ -665,6 +500,7 @@ pub struct IDirectManipulationManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationManager3(::windows_core::IUnknown); impl IDirectManipulationManager3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -740,25 +576,9 @@ impl IDirectManipulationManager3 { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationManager3, ::windows_core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); -impl ::core::cmp::PartialEq for IDirectManipulationManager3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationManager3 {} -impl ::core::fmt::Debug for IDirectManipulationManager3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationManager3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationManager3 { type Vtable = IDirectManipulationManager3_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cb6b33d_ffe8_488c_b750_fbdfe88dca8c); } @@ -770,6 +590,7 @@ pub struct IDirectManipulationManager3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationPrimaryContent(::windows_core::IUnknown); impl IDirectManipulationPrimaryContent { pub unsafe fn SetSnapInterval(&self, motion: DIRECTMANIPULATION_MOTION_TYPES, interval: f32, offset: f32) -> ::windows_core::Result<()> { @@ -801,25 +622,9 @@ impl IDirectManipulationPrimaryContent { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationPrimaryContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationPrimaryContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationPrimaryContent {} -impl ::core::fmt::Debug for IDirectManipulationPrimaryContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationPrimaryContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationPrimaryContent { type Vtable = IDirectManipulationPrimaryContent_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationPrimaryContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationPrimaryContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc12851e4_1698_4625_b9b1_7ca3ec18630b); } @@ -839,6 +644,7 @@ pub struct IDirectManipulationPrimaryContent_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationUpdateHandler(::windows_core::IUnknown); impl IDirectManipulationUpdateHandler { pub unsafe fn Update(&self) -> ::windows_core::Result<()> { @@ -846,25 +652,9 @@ impl IDirectManipulationUpdateHandler { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationUpdateHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationUpdateHandler {} -impl ::core::fmt::Debug for IDirectManipulationUpdateHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationUpdateHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationUpdateHandler { type Vtable = IDirectManipulationUpdateHandler_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationUpdateHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationUpdateHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x790b6337_64f8_4ff5_a269_b32bc2af27a7); } @@ -876,6 +666,7 @@ pub struct IDirectManipulationUpdateHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationUpdateManager(::windows_core::IUnknown); impl IDirectManipulationUpdateManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -899,25 +690,9 @@ impl IDirectManipulationUpdateManager { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationUpdateManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationUpdateManager {} -impl ::core::fmt::Debug for IDirectManipulationUpdateManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationUpdateManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationUpdateManager { type Vtable = IDirectManipulationUpdateManager_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationUpdateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationUpdateManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0ae62fd_be34_46e7_9caa_d361facbb9cc); } @@ -934,6 +709,7 @@ pub struct IDirectManipulationUpdateManager_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationViewport(::windows_core::IUnknown); impl IDirectManipulationViewport { pub unsafe fn Enable(&self) -> ::windows_core::Result<()> { @@ -1056,25 +832,9 @@ impl IDirectManipulationViewport { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationViewport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationViewport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationViewport {} -impl ::core::fmt::Debug for IDirectManipulationViewport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationViewport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationViewport { type Vtable = IDirectManipulationViewport_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationViewport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationViewport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28b85a3d_60a0_48bd_9ba1_5ce8d9ea3a6d); } @@ -1125,6 +885,7 @@ pub struct IDirectManipulationViewport_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationViewport2(::windows_core::IUnknown); impl IDirectManipulationViewport2 { pub unsafe fn Enable(&self) -> ::windows_core::Result<()> { @@ -1260,25 +1021,9 @@ impl IDirectManipulationViewport2 { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationViewport2, ::windows_core::IUnknown, IDirectManipulationViewport); -impl ::core::cmp::PartialEq for IDirectManipulationViewport2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationViewport2 {} -impl ::core::fmt::Debug for IDirectManipulationViewport2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationViewport2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationViewport2 { type Vtable = IDirectManipulationViewport2_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationViewport2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationViewport2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x923ccaac_61e1_4385_b726_017af189882a); } @@ -1292,6 +1037,7 @@ pub struct IDirectManipulationViewport2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectManipulationViewportEventHandler(::windows_core::IUnknown); impl IDirectManipulationViewportEventHandler { pub unsafe fn OnViewportStatusChanged(&self, viewport: P0, current: DIRECTMANIPULATION_STATUS, previous: DIRECTMANIPULATION_STATUS) -> ::windows_core::Result<()> @@ -1315,25 +1061,9 @@ impl IDirectManipulationViewportEventHandler { } } ::windows_core::imp::interface_hierarchy!(IDirectManipulationViewportEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectManipulationViewportEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectManipulationViewportEventHandler {} -impl ::core::fmt::Debug for IDirectManipulationViewportEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectManipulationViewportEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectManipulationViewportEventHandler { type Vtable = IDirectManipulationViewportEventHandler_Vtbl; } -impl ::core::clone::Clone for IDirectManipulationViewportEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectManipulationViewportEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x952121da_d69f_45f9_b0f9_f23944321a6d); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs index 13010cf968..01e6cb5ba7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs @@ -25,8 +25,8 @@ impl IDWriteAsyncResult_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IDWriteBitmapRenderTarget_Vtbl { Resize: Resize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -135,8 +135,8 @@ impl IDWriteBitmapRenderTarget1_Vtbl { SetTextAntialiasMode: SetTextAntialiasMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IDWriteColorGlyphRunEnumerator_Vtbl { GetCurrentRun: GetCurrentRun::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -205,8 +205,8 @@ impl IDWriteColorGlyphRunEnumerator1_Vtbl { } Self { base__: IDWriteColorGlyphRunEnumerator_Vtbl::new::(), GetCurrentRun2: GetCurrentRun2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IDWriteFactory_Vtbl { CreateGlyphRunAnalysis: CreateGlyphRunAnalysis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -502,8 +502,8 @@ impl IDWriteFactory1_Vtbl { CreateCustomRenderingParams2: CreateCustomRenderingParams2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl IDWriteFactory2_Vtbl { CreateGlyphRunAnalysis2: CreateGlyphRunAnalysis2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -712,8 +712,8 @@ impl IDWriteFactory3_Vtbl { GetFontDownloadQueue: GetFontDownloadQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IDWriteFactory4_Vtbl { ComputeGlyphOrigins2: ComputeGlyphOrigins2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IDWriteFactory5_Vtbl { UnpackFontFile: UnpackFontFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -952,8 +952,8 @@ impl IDWriteFactory6_Vtbl { CreateTextFormat2: CreateTextFormat2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl IDWriteFactory7_Vtbl { GetSystemFontCollection4: GetSystemFontCollection4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1113,8 +1113,8 @@ impl IDWriteFont_Vtbl { CreateFontFace: CreateFontFace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1158,8 +1158,8 @@ impl IDWriteFont1_Vtbl { IsMonospacedFont: IsMonospacedFont::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1179,8 +1179,8 @@ impl IDWriteFont2_Vtbl { } Self { base__: IDWriteFont1_Vtbl::new::(), IsColorFont: IsColorFont:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IDWriteFont3_Vtbl { GetLocality: GetLocality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1300,8 +1300,8 @@ impl IDWriteFontCollection_Vtbl { GetFontFromFontFace: GetFontFromFontFace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1343,8 +1343,8 @@ impl IDWriteFontCollection1_Vtbl { GetFontFamily2: GetFontFamily2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1406,8 +1406,8 @@ impl IDWriteFontCollection2_Vtbl { GetFontSet2: GetFontSet2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1427,8 +1427,8 @@ impl IDWriteFontCollection3_Vtbl { } Self { base__: IDWriteFontCollection2_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -1451,8 +1451,8 @@ impl IDWriteFontCollectionLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateEnumeratorFromKey: CreateEnumeratorFromKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -1469,8 +1469,8 @@ impl IDWriteFontDownloadListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DownloadCompleted: DownloadCompleted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IDWriteFontDownloadQueue_Vtbl { GetGenerationCount: GetGenerationCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1662,8 +1662,8 @@ impl IDWriteFontFace_Vtbl { GetGdiCompatibleGlyphMetrics: GetGdiCompatibleGlyphMetrics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1769,8 +1769,8 @@ impl IDWriteFontFace1_Vtbl { HasVerticalGlyphVariants: HasVerticalGlyphVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl IDWriteFontFace2_Vtbl { GetRecommendedRenderingMode3: GetRecommendedRenderingMode3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1966,8 +1966,8 @@ impl IDWriteFontFace3_Vtbl { AreGlyphsLocal: AreGlyphsLocal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IDWriteFontFace4_Vtbl { ReleaseGlyphImageData: ReleaseGlyphImageData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl IDWriteFontFace5_Vtbl { Equals: Equals::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IDWriteFontFace6_Vtbl { GetFaceNames2: GetFaceNames2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2257,8 +2257,8 @@ impl IDWriteFontFaceReference_Vtbl { EnqueueFileFragmentDownloadRequest: EnqueueFileFragmentDownloadRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2301,8 +2301,8 @@ impl IDWriteFontFaceReference1_Vtbl { GetFontAxisValues: GetFontAxisValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2332,8 +2332,8 @@ impl IDWriteFontFallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapCharacters: MapCharacters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IDWriteFontFallback1_Vtbl { } Self { base__: IDWriteFontFallback_Vtbl::new::(), MapCharacters2: MapCharacters2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2392,8 +2392,8 @@ impl IDWriteFontFallbackBuilder_Vtbl { CreateFontFallback: CreateFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2445,8 +2445,8 @@ impl IDWriteFontFamily_Vtbl { GetMatchingFonts: GetMatchingFonts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2492,8 +2492,8 @@ impl IDWriteFontFamily1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2532,8 +2532,8 @@ impl IDWriteFontFamily2_Vtbl { GetFontSet: GetFontSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2576,8 +2576,8 @@ impl IDWriteFontFile_Vtbl { Analyze: Analyze::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2619,8 +2619,8 @@ impl IDWriteFontFileEnumerator_Vtbl { GetCurrentFontFile: GetCurrentFontFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2643,8 +2643,8 @@ impl IDWriteFontFileLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateStreamFromKey: CreateStreamFromKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2697,8 +2697,8 @@ impl IDWriteFontFileStream_Vtbl { GetLastWriteTime: GetLastWriteTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2744,8 +2744,8 @@ impl IDWriteFontList_Vtbl { GetFont: GetFont::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2791,8 +2791,8 @@ impl IDWriteFontList1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2815,8 +2815,8 @@ impl IDWriteFontList2_Vtbl { } Self { base__: IDWriteFontList1_Vtbl::new::(), GetFontSet: GetFontSet:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2940,8 +2940,8 @@ impl IDWriteFontResource_Vtbl { CreateFontFaceReference: CreateFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3063,8 +3063,8 @@ impl IDWriteFontSet_Vtbl { GetMatchingFonts2: GetMatchingFonts2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3219,8 +3219,8 @@ impl IDWriteFontSet1_Vtbl { GetFontLocality: GetFontLocality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3240,8 +3240,8 @@ impl IDWriteFontSet2_Vtbl { } Self { base__: IDWriteFontSet1_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3278,8 +3278,8 @@ impl IDWriteFontSet3_Vtbl { GetFontSourceName: GetFontSourceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3315,8 +3315,8 @@ impl IDWriteFontSet4_Vtbl { GetMatchingFonts4: GetMatchingFonts4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3363,8 +3363,8 @@ impl IDWriteFontSetBuilder_Vtbl { CreateFontSet: CreateFontSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3381,8 +3381,8 @@ impl IDWriteFontSetBuilder1_Vtbl { } Self { base__: IDWriteFontSetBuilder_Vtbl::new::(), AddFontFile: AddFontFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3409,8 +3409,8 @@ impl IDWriteFontSetBuilder2_Vtbl { AddFontFile2: AddFontFile2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3479,8 +3479,8 @@ impl IDWriteGdiInterop_Vtbl { CreateBitmapRenderTarget: CreateBitmapRenderTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl IDWriteGdiInterop1_Vtbl { GetMatchingFontsByLOGFONT: GetMatchingFontsByLOGFONT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3580,8 +3580,8 @@ impl IDWriteGlyphRunAnalysis_Vtbl { GetAlphaBlendParams: GetAlphaBlendParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3614,8 +3614,8 @@ impl IDWriteInMemoryFontFileLoader_Vtbl { GetFileCount: GetFileCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IDWriteInlineObject_Vtbl { GetBreakConditions: GetBreakConditions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3721,8 +3721,8 @@ impl IDWriteLocalFontFileLoader_Vtbl { GetLastWriteTimeFromKey: GetLastWriteTimeFromKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3792,8 +3792,8 @@ impl IDWriteLocalizedStrings_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3803,8 +3803,8 @@ impl IDWriteNumberSubstitution_Vtbl { pub const fn new, Impl: IDWriteNumberSubstitution_Impl, const OFFSET: isize>() -> IDWriteNumberSubstitution_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3853,8 +3853,8 @@ impl IDWritePixelSnapping_Vtbl { GetPixelsPerDip: GetPixelsPerDip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3906,8 +3906,8 @@ impl IDWriteRemoteFontFileLoader_Vtbl { CreateFontFileReferenceFromUrl: CreateFontFileReferenceFromUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3963,8 +3963,8 @@ impl IDWriteRemoteFontFileStream_Vtbl { BeginDownload: BeginDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4012,8 +4012,8 @@ impl IDWriteRenderingParams_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4033,8 +4033,8 @@ impl IDWriteRenderingParams1_Vtbl { GetGrayscaleEnhancedContrast: GetGrayscaleEnhancedContrast::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4051,8 +4051,8 @@ impl IDWriteRenderingParams2_Vtbl { } Self { base__: IDWriteRenderingParams1_Vtbl::new::(), GetGridFitMode: GetGridFitMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4069,8 +4069,8 @@ impl IDWriteRenderingParams3_Vtbl { } Self { base__: IDWriteRenderingParams2_Vtbl::new::(), GetRenderingMode1: GetRenderingMode1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4130,8 +4130,8 @@ impl IDWriteStringList_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4172,8 +4172,8 @@ impl IDWriteTextAnalysisSink_Vtbl { SetNumberSubstitution: SetNumberSubstitution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4193,8 +4193,8 @@ impl IDWriteTextAnalysisSink1_Vtbl { } Self { base__: IDWriteTextAnalysisSink_Vtbl::new::(), SetGlyphOrientation: SetGlyphOrientation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4242,8 +4242,8 @@ impl IDWriteTextAnalysisSource_Vtbl { GetNumberSubstitution: GetNumberSubstitution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4263,8 +4263,8 @@ impl IDWriteTextAnalysisSource1_Vtbl { GetVerticalGlyphOrientation: GetVerticalGlyphOrientation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4476,8 +4476,8 @@ impl IDWriteTextAnalyzer_Vtbl { GetGdiCompatibleGlyphPlacements: GetGdiCompatibleGlyphPlacements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4588,8 +4588,8 @@ impl IDWriteTextAnalyzer1_Vtbl { GetJustifiedGlyphs: GetJustifiedGlyphs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4626,8 +4626,8 @@ impl IDWriteTextAnalyzer2_Vtbl { CheckTypographicFeature: CheckTypographicFeature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4821,8 +4821,8 @@ impl IDWriteTextFormat_Vtbl { GetLocaleName: GetLocaleName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4900,8 +4900,8 @@ impl IDWriteTextFormat1_Vtbl { GetFontFallback: GetFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4931,8 +4931,8 @@ impl IDWriteTextFormat2_Vtbl { GetLineSpacing2: GetLineSpacing2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4983,8 +4983,8 @@ impl IDWriteTextFormat3_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5285,8 +5285,8 @@ impl IDWriteTextLayout_Vtbl { HitTestTextRange: HitTestTextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5330,8 +5330,8 @@ impl IDWriteTextLayout1_Vtbl { GetCharacterSpacing: GetCharacterSpacing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5416,8 +5416,8 @@ impl IDWriteTextLayout2_Vtbl { GetFontFallback: GetFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5461,8 +5461,8 @@ impl IDWriteTextLayout3_Vtbl { GetLineMetrics2: GetLineMetrics2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5513,8 +5513,8 @@ impl IDWriteTextLayout4_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5558,8 +5558,8 @@ impl IDWriteTextRenderer_Vtbl { DrawInlineObject: DrawInlineObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5603,8 +5603,8 @@ impl IDWriteTextRenderer1_Vtbl { DrawInlineObject2: DrawInlineObject2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -5644,7 +5644,7 @@ impl IDWriteTypography_Vtbl { GetFontFeature: GetFontFeature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs index 1bdfcdf3ca..f5d71a1684 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -10,6 +10,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteAsyncResult(::windows_core::IUnknown); impl IDWriteAsyncResult { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22,27 +23,11 @@ impl IDWriteAsyncResult { } } ::windows_core::imp::interface_hierarchy!(IDWriteAsyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteAsyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteAsyncResult {} -impl ::core::fmt::Debug for IDWriteAsyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteAsyncResult").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteAsyncResult {} unsafe impl ::core::marker::Sync for IDWriteAsyncResult {} unsafe impl ::windows_core::Interface for IDWriteAsyncResult { type Vtable = IDWriteAsyncResult_Vtbl; } -impl ::core::clone::Clone for IDWriteAsyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteAsyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce25f8fd_863b_4d13_9651_c1f88dc73fe2); } @@ -58,6 +43,7 @@ pub struct IDWriteAsyncResult_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteBitmapRenderTarget(::windows_core::IUnknown); impl IDWriteBitmapRenderTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -97,27 +83,11 @@ impl IDWriteBitmapRenderTarget { } } ::windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteBitmapRenderTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteBitmapRenderTarget {} -impl ::core::fmt::Debug for IDWriteBitmapRenderTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteBitmapRenderTarget").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteBitmapRenderTarget {} unsafe impl ::core::marker::Sync for IDWriteBitmapRenderTarget {} unsafe impl ::windows_core::Interface for IDWriteBitmapRenderTarget { type Vtable = IDWriteBitmapRenderTarget_Vtbl; } -impl ::core::clone::Clone for IDWriteBitmapRenderTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteBitmapRenderTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e5a32a3_8dff_4773_9ff6_0696eab77267); } @@ -145,6 +115,7 @@ pub struct IDWriteBitmapRenderTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteBitmapRenderTarget1(::windows_core::IUnknown); impl IDWriteBitmapRenderTarget1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -190,27 +161,11 @@ impl IDWriteBitmapRenderTarget1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget1, ::windows_core::IUnknown, IDWriteBitmapRenderTarget); -impl ::core::cmp::PartialEq for IDWriteBitmapRenderTarget1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteBitmapRenderTarget1 {} -impl ::core::fmt::Debug for IDWriteBitmapRenderTarget1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteBitmapRenderTarget1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteBitmapRenderTarget1 {} unsafe impl ::core::marker::Sync for IDWriteBitmapRenderTarget1 {} unsafe impl ::windows_core::Interface for IDWriteBitmapRenderTarget1 { type Vtable = IDWriteBitmapRenderTarget1_Vtbl; } -impl ::core::clone::Clone for IDWriteBitmapRenderTarget1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteBitmapRenderTarget1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x791e8298_3ef3_4230_9880_c9bdecc42064); } @@ -223,6 +178,7 @@ pub struct IDWriteBitmapRenderTarget1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteColorGlyphRunEnumerator(::windows_core::IUnknown); impl IDWriteColorGlyphRunEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -239,27 +195,11 @@ impl IDWriteColorGlyphRunEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteColorGlyphRunEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteColorGlyphRunEnumerator {} -impl ::core::fmt::Debug for IDWriteColorGlyphRunEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteColorGlyphRunEnumerator").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteColorGlyphRunEnumerator {} unsafe impl ::core::marker::Sync for IDWriteColorGlyphRunEnumerator {} unsafe impl ::windows_core::Interface for IDWriteColorGlyphRunEnumerator { type Vtable = IDWriteColorGlyphRunEnumerator_Vtbl; } -impl ::core::clone::Clone for IDWriteColorGlyphRunEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteColorGlyphRunEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd31fbe17_f157_41a2_8d24_cb779e0560e8); } @@ -278,6 +218,7 @@ pub struct IDWriteColorGlyphRunEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteColorGlyphRunEnumerator1(::windows_core::IUnknown); impl IDWriteColorGlyphRunEnumerator1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -300,27 +241,11 @@ impl IDWriteColorGlyphRunEnumerator1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator1, ::windows_core::IUnknown, IDWriteColorGlyphRunEnumerator); -impl ::core::cmp::PartialEq for IDWriteColorGlyphRunEnumerator1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteColorGlyphRunEnumerator1 {} -impl ::core::fmt::Debug for IDWriteColorGlyphRunEnumerator1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteColorGlyphRunEnumerator1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteColorGlyphRunEnumerator1 {} unsafe impl ::core::marker::Sync for IDWriteColorGlyphRunEnumerator1 {} unsafe impl ::windows_core::Interface for IDWriteColorGlyphRunEnumerator1 { type Vtable = IDWriteColorGlyphRunEnumerator1_Vtbl; } -impl ::core::clone::Clone for IDWriteColorGlyphRunEnumerator1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteColorGlyphRunEnumerator1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c5f86da_c7a1_4f05_b8e1_55a179fe5a35); } @@ -335,6 +260,7 @@ pub struct IDWriteColorGlyphRunEnumerator1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory(::windows_core::IUnknown); impl IDWriteFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -476,27 +402,11 @@ impl IDWriteFactory { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory {} -impl ::core::fmt::Debug for IDWriteFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory {} unsafe impl ::core::marker::Sync for IDWriteFactory {} unsafe impl ::windows_core::Interface for IDWriteFactory { type Vtable = IDWriteFactory_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb859ee5a_d838_4b5b_a2e8_1adc7d93db48); } @@ -546,6 +456,7 @@ pub struct IDWriteFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory1(::windows_core::IUnknown); impl IDWriteFactory1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -699,27 +610,11 @@ impl IDWriteFactory1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory1, ::windows_core::IUnknown, IDWriteFactory); -impl ::core::cmp::PartialEq for IDWriteFactory1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory1 {} -impl ::core::fmt::Debug for IDWriteFactory1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory1 {} unsafe impl ::core::marker::Sync for IDWriteFactory1 {} unsafe impl ::windows_core::Interface for IDWriteFactory1 { type Vtable = IDWriteFactory1_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30572f99_dac6_41db_a16e_0486307e606a); } @@ -735,6 +630,7 @@ pub struct IDWriteFactory1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory2(::windows_core::IUnknown); impl IDWriteFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -912,27 +808,11 @@ impl IDWriteFactory2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory2, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1); -impl ::core::cmp::PartialEq for IDWriteFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory2 {} -impl ::core::fmt::Debug for IDWriteFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory2 {} unsafe impl ::core::marker::Sync for IDWriteFactory2 {} unsafe impl ::windows_core::Interface for IDWriteFactory2 { type Vtable = IDWriteFactory2_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0439fc60_ca44_4994_8dee_3a9af7b732ec); } @@ -954,6 +834,7 @@ pub struct IDWriteFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory3(::windows_core::IUnknown); impl IDWriteFactory3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1185,27 +1066,11 @@ impl IDWriteFactory3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory3, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2); -impl ::core::cmp::PartialEq for IDWriteFactory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory3 {} -impl ::core::fmt::Debug for IDWriteFactory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory3 {} unsafe impl ::core::marker::Sync for IDWriteFactory3 {} unsafe impl ::windows_core::Interface for IDWriteFactory3 { type Vtable = IDWriteFactory3_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a1b41c3_d3bb_466a_87fc_fe67556a3b65); } @@ -1234,6 +1099,7 @@ pub struct IDWriteFactory3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory4(::windows_core::IUnknown); impl IDWriteFactory4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1483,27 +1349,11 @@ impl IDWriteFactory4 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory4, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3); -impl ::core::cmp::PartialEq for IDWriteFactory4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory4 {} -impl ::core::fmt::Debug for IDWriteFactory4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory4 {} unsafe impl ::core::marker::Sync for IDWriteFactory4 {} unsafe impl ::windows_core::Interface for IDWriteFactory4 { type Vtable = IDWriteFactory4_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b0b5bd3_0797_4549_8ac5_fe915cc53856); } @@ -1526,6 +1376,7 @@ pub struct IDWriteFactory4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory5(::windows_core::IUnknown); impl IDWriteFactory5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1798,27 +1649,11 @@ impl IDWriteFactory5 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory5, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4); -impl ::core::cmp::PartialEq for IDWriteFactory5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory5 {} -impl ::core::fmt::Debug for IDWriteFactory5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory5 {} unsafe impl ::core::marker::Sync for IDWriteFactory5 {} unsafe impl ::windows_core::Interface for IDWriteFactory5 { type Vtable = IDWriteFactory5_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x958db99a_be2a_4f09_af7d_65189803d1d3); } @@ -1834,6 +1669,7 @@ pub struct IDWriteFactory5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory6(::windows_core::IUnknown); impl IDWriteFactory6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2158,27 +1994,11 @@ impl IDWriteFactory6 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory6, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5); -impl ::core::cmp::PartialEq for IDWriteFactory6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory6 {} -impl ::core::fmt::Debug for IDWriteFactory6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory6 {} unsafe impl ::core::marker::Sync for IDWriteFactory6 {} unsafe impl ::windows_core::Interface for IDWriteFactory6 { type Vtable = IDWriteFactory6_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3744d80_21f7_42eb_b35d_995bc72fc223); } @@ -2202,6 +2022,7 @@ pub struct IDWriteFactory6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFactory7(::windows_core::IUnknown); impl IDWriteFactory7 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2544,27 +2365,11 @@ impl IDWriteFactory7 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFactory7, ::windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6); -impl ::core::cmp::PartialEq for IDWriteFactory7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFactory7 {} -impl ::core::fmt::Debug for IDWriteFactory7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFactory7").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFactory7 {} unsafe impl ::core::marker::Sync for IDWriteFactory7 {} unsafe impl ::windows_core::Interface for IDWriteFactory7 { type Vtable = IDWriteFactory7_Vtbl; } -impl ::core::clone::Clone for IDWriteFactory7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFactory7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35d0e0b3_9076_4d2e_a016_a91b568a06b4); } @@ -2583,6 +2388,7 @@ pub struct IDWriteFactory7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFont(::windows_core::IUnknown); impl IDWriteFont { pub unsafe fn GetFontFamily(&self) -> ::windows_core::Result { @@ -2630,27 +2436,11 @@ impl IDWriteFont { } } ::windows_core::imp::interface_hierarchy!(IDWriteFont, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFont { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFont {} -impl ::core::fmt::Debug for IDWriteFont { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFont").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFont {} unsafe impl ::core::marker::Sync for IDWriteFont {} unsafe impl ::windows_core::Interface for IDWriteFont { type Vtable = IDWriteFont_Vtbl; } -impl ::core::clone::Clone for IDWriteFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFont { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacd16696_8c14_4f5d_877e_fe3fc1d32737); } @@ -2681,6 +2471,7 @@ pub struct IDWriteFont_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFont1(::windows_core::IUnknown); impl IDWriteFont1 { pub unsafe fn GetFontFamily(&self) -> ::windows_core::Result { @@ -2746,27 +2537,11 @@ impl IDWriteFont1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFont1, ::windows_core::IUnknown, IDWriteFont); -impl ::core::cmp::PartialEq for IDWriteFont1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFont1 {} -impl ::core::fmt::Debug for IDWriteFont1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFont1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFont1 {} unsafe impl ::core::marker::Sync for IDWriteFont1 {} unsafe impl ::windows_core::Interface for IDWriteFont1 { type Vtable = IDWriteFont1_Vtbl; } -impl ::core::clone::Clone for IDWriteFont1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFont1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacd16696_8c14_4f5d_877e_fe3fc1d32738); } @@ -2787,6 +2562,7 @@ pub struct IDWriteFont1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFont2(::windows_core::IUnknown); impl IDWriteFont2 { pub unsafe fn GetFontFamily(&self) -> ::windows_core::Result { @@ -2857,27 +2633,11 @@ impl IDWriteFont2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFont2, ::windows_core::IUnknown, IDWriteFont, IDWriteFont1); -impl ::core::cmp::PartialEq for IDWriteFont2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFont2 {} -impl ::core::fmt::Debug for IDWriteFont2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFont2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFont2 {} unsafe impl ::core::marker::Sync for IDWriteFont2 {} unsafe impl ::windows_core::Interface for IDWriteFont2 { type Vtable = IDWriteFont2_Vtbl; } -impl ::core::clone::Clone for IDWriteFont2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFont2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29748ed6_8c9c_4a6a_be0b_d912e8538944); } @@ -2892,6 +2652,7 @@ pub struct IDWriteFont2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFont3(::windows_core::IUnknown); impl IDWriteFont3 { pub unsafe fn GetFontFamily(&self) -> ::windows_core::Result { @@ -2986,27 +2747,11 @@ impl IDWriteFont3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFont3, ::windows_core::IUnknown, IDWriteFont, IDWriteFont1, IDWriteFont2); -impl ::core::cmp::PartialEq for IDWriteFont3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFont3 {} -impl ::core::fmt::Debug for IDWriteFont3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFont3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFont3 {} unsafe impl ::core::marker::Sync for IDWriteFont3 {} unsafe impl ::windows_core::Interface for IDWriteFont3 { type Vtable = IDWriteFont3_Vtbl; } -impl ::core::clone::Clone for IDWriteFont3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFont3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29748ed6_8c9c_4a6a_be0b_d912e8538944); } @@ -3028,6 +2773,7 @@ pub struct IDWriteFont3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontCollection(::windows_core::IUnknown); impl IDWriteFontCollection { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -3054,27 +2800,11 @@ impl IDWriteFontCollection { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontCollection {} -impl ::core::fmt::Debug for IDWriteFontCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontCollection").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontCollection {} unsafe impl ::core::marker::Sync for IDWriteFontCollection {} unsafe impl ::windows_core::Interface for IDWriteFontCollection { type Vtable = IDWriteFontCollection_Vtbl; } -impl ::core::clone::Clone for IDWriteFontCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa84cee02_3eea_4eee_a827_87c1a02a0fcc); } @@ -3092,6 +2822,7 @@ pub struct IDWriteFontCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontCollection1(::windows_core::IUnknown); impl IDWriteFontCollection1 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -3126,27 +2857,11 @@ impl IDWriteFontCollection1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontCollection1, ::windows_core::IUnknown, IDWriteFontCollection); -impl ::core::cmp::PartialEq for IDWriteFontCollection1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontCollection1 {} -impl ::core::fmt::Debug for IDWriteFontCollection1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontCollection1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontCollection1 {} unsafe impl ::core::marker::Sync for IDWriteFontCollection1 {} unsafe impl ::windows_core::Interface for IDWriteFontCollection1 { type Vtable = IDWriteFontCollection1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontCollection1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontCollection1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53585141_d9f8_4095_8321_d73cf6bd116c); } @@ -3159,6 +2874,7 @@ pub struct IDWriteFontCollection1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontCollection2(::windows_core::IUnknown); impl IDWriteFontCollection2 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -3211,27 +2927,11 @@ impl IDWriteFontCollection2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontCollection2, ::windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1); -impl ::core::cmp::PartialEq for IDWriteFontCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontCollection2 {} -impl ::core::fmt::Debug for IDWriteFontCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontCollection2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontCollection2 {} unsafe impl ::core::marker::Sync for IDWriteFontCollection2 {} unsafe impl ::windows_core::Interface for IDWriteFontCollection2 { type Vtable = IDWriteFontCollection2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontCollection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x514039c6_4617_4064_bf8b_92ea83e506e0); } @@ -3246,6 +2946,7 @@ pub struct IDWriteFontCollection2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontCollection3(::windows_core::IUnknown); impl IDWriteFontCollection3 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -3303,27 +3004,11 @@ impl IDWriteFontCollection3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontCollection3, ::windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1, IDWriteFontCollection2); -impl ::core::cmp::PartialEq for IDWriteFontCollection3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontCollection3 {} -impl ::core::fmt::Debug for IDWriteFontCollection3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontCollection3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontCollection3 {} unsafe impl ::core::marker::Sync for IDWriteFontCollection3 {} unsafe impl ::windows_core::Interface for IDWriteFontCollection3 { type Vtable = IDWriteFontCollection3_Vtbl; } -impl ::core::clone::Clone for IDWriteFontCollection3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontCollection3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4d055a6_f9e3_4e25_93b7_9e309f3af8e9); } @@ -3338,6 +3023,7 @@ pub struct IDWriteFontCollection3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontCollectionLoader(::windows_core::IUnknown); impl IDWriteFontCollectionLoader { pub unsafe fn CreateEnumeratorFromKey(&self, factory: P0, collectionkey: *const ::core::ffi::c_void, collectionkeysize: u32) -> ::windows_core::Result @@ -3349,27 +3035,11 @@ impl IDWriteFontCollectionLoader { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontCollectionLoader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontCollectionLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontCollectionLoader {} -impl ::core::fmt::Debug for IDWriteFontCollectionLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontCollectionLoader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontCollectionLoader {} unsafe impl ::core::marker::Sync for IDWriteFontCollectionLoader {} unsafe impl ::windows_core::Interface for IDWriteFontCollectionLoader { type Vtable = IDWriteFontCollectionLoader_Vtbl; } -impl ::core::clone::Clone for IDWriteFontCollectionLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontCollectionLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcca920e4_52f0_492b_bfa8_29c72ee0a468); } @@ -3381,6 +3051,7 @@ pub struct IDWriteFontCollectionLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontDownloadListener(::windows_core::IUnknown); impl IDWriteFontDownloadListener { pub unsafe fn DownloadCompleted(&self, downloadqueue: P0, context: P1, downloadresult: ::windows_core::HRESULT) @@ -3392,27 +3063,11 @@ impl IDWriteFontDownloadListener { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontDownloadListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontDownloadListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontDownloadListener {} -impl ::core::fmt::Debug for IDWriteFontDownloadListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontDownloadListener").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontDownloadListener {} unsafe impl ::core::marker::Sync for IDWriteFontDownloadListener {} unsafe impl ::windows_core::Interface for IDWriteFontDownloadListener { type Vtable = IDWriteFontDownloadListener_Vtbl; } -impl ::core::clone::Clone for IDWriteFontDownloadListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontDownloadListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb06fe5b9_43ec_4393_881b_dbe4dc72fda7); } @@ -3424,6 +3079,7 @@ pub struct IDWriteFontDownloadListener_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontDownloadQueue(::windows_core::IUnknown); impl IDWriteFontDownloadQueue { pub unsafe fn AddListener(&self, listener: P0) -> ::windows_core::Result @@ -3455,27 +3111,11 @@ impl IDWriteFontDownloadQueue { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontDownloadQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontDownloadQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontDownloadQueue {} -impl ::core::fmt::Debug for IDWriteFontDownloadQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontDownloadQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontDownloadQueue {} unsafe impl ::core::marker::Sync for IDWriteFontDownloadQueue {} unsafe impl ::windows_core::Interface for IDWriteFontDownloadQueue { type Vtable = IDWriteFontDownloadQueue_Vtbl; } -impl ::core::clone::Clone for IDWriteFontDownloadQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontDownloadQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb71e6052_5aea_4fa3_832e_f60d431f7e91); } @@ -3495,6 +3135,7 @@ pub struct IDWriteFontDownloadQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace(::windows_core::IUnknown); impl IDWriteFontFace { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3570,27 +3211,11 @@ impl IDWriteFontFace { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace {} -impl ::core::fmt::Debug for IDWriteFontFace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace {} unsafe impl ::core::marker::Sync for IDWriteFontFace {} unsafe impl ::windows_core::Interface for IDWriteFontFace { type Vtable = IDWriteFontFace_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f49804d_7024_4d43_bfa9_d25984f53849); } @@ -3631,6 +3256,7 @@ pub struct IDWriteFontFace_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace1(::windows_core::IUnknown); impl IDWriteFontFace1 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3771,27 +3397,11 @@ impl IDWriteFontFace1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace1, ::windows_core::IUnknown, IDWriteFontFace); -impl ::core::cmp::PartialEq for IDWriteFontFace1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace1 {} -impl ::core::fmt::Debug for IDWriteFontFace1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace1 {} unsafe impl ::core::marker::Sync for IDWriteFontFace1 {} unsafe impl ::windows_core::Interface for IDWriteFontFace1 { type Vtable = IDWriteFontFace1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa71efdb4_9fdb_4838_ad90_cfc3be8c3daf); } @@ -3838,6 +3448,7 @@ pub struct IDWriteFontFace1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace2(::windows_core::IUnknown); impl IDWriteFontFace2 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4001,27 +3612,11 @@ impl IDWriteFontFace2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace2, ::windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1); -impl ::core::cmp::PartialEq for IDWriteFontFace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace2 {} -impl ::core::fmt::Debug for IDWriteFontFace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace2 {} unsafe impl ::core::marker::Sync for IDWriteFontFace2 {} unsafe impl ::windows_core::Interface for IDWriteFontFace2 { type Vtable = IDWriteFontFace2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8b768ff_64bc_4e66_982b_ec8e87f693f7); } @@ -4043,6 +3638,7 @@ pub struct IDWriteFontFace2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace3(::windows_core::IUnknown); impl IDWriteFontFace3 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4279,27 +3875,11 @@ impl IDWriteFontFace3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace3, ::windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2); -impl ::core::cmp::PartialEq for IDWriteFontFace3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace3 {} -impl ::core::fmt::Debug for IDWriteFontFace3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace3 {} unsafe impl ::core::marker::Sync for IDWriteFontFace3 {} unsafe impl ::windows_core::Interface for IDWriteFontFace3 { type Vtable = IDWriteFontFace3_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd37d7598_09be_4222_a236_2081341cc1f2); } @@ -4345,6 +3925,7 @@ pub struct IDWriteFontFace3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace4(::windows_core::IUnknown); impl IDWriteFontFace4 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4596,27 +4177,11 @@ impl IDWriteFontFace4 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace4, ::windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3); -impl ::core::cmp::PartialEq for IDWriteFontFace4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace4 {} -impl ::core::fmt::Debug for IDWriteFontFace4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace4 {} unsafe impl ::core::marker::Sync for IDWriteFontFace4 {} unsafe impl ::windows_core::Interface for IDWriteFontFace4 { type Vtable = IDWriteFontFace4_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27f2a904_4eb8_441d_9678_0563f53e3e2f); } @@ -4634,6 +4199,7 @@ pub struct IDWriteFontFace4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace5(::windows_core::IUnknown); impl IDWriteFontFace5 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4908,27 +4474,11 @@ impl IDWriteFontFace5 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace5, ::windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4); -impl ::core::cmp::PartialEq for IDWriteFontFace5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace5 {} -impl ::core::fmt::Debug for IDWriteFontFace5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace5 {} unsafe impl ::core::marker::Sync for IDWriteFontFace5 {} unsafe impl ::windows_core::Interface for IDWriteFontFace5 { type Vtable = IDWriteFontFace5_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98eff3a5_b667_479a_b145_e2fa5b9fdc29); } @@ -4950,6 +4500,7 @@ pub struct IDWriteFontFace5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFace6(::windows_core::IUnknown); impl IDWriteFontFace6 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -5232,27 +4783,11 @@ impl IDWriteFontFace6 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFace6, ::windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5); -impl ::core::cmp::PartialEq for IDWriteFontFace6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFace6 {} -impl ::core::fmt::Debug for IDWriteFontFace6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFace6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFace6 {} unsafe impl ::core::marker::Sync for IDWriteFontFace6 {} unsafe impl ::windows_core::Interface for IDWriteFontFace6 { type Vtable = IDWriteFontFace6_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFace6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFace6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4b1fe1b_6e84_47d5_b54c_a597981b06ad); } @@ -5265,6 +4800,7 @@ pub struct IDWriteFontFace6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFaceReference(::windows_core::IUnknown); impl IDWriteFontFaceReference { pub unsafe fn CreateFontFace(&self) -> ::windows_core::Result { @@ -5322,27 +4858,11 @@ impl IDWriteFontFaceReference { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFaceReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFaceReference {} -impl ::core::fmt::Debug for IDWriteFontFaceReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFaceReference").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFaceReference {} unsafe impl ::core::marker::Sync for IDWriteFontFaceReference {} unsafe impl ::windows_core::Interface for IDWriteFontFaceReference { type Vtable = IDWriteFontFaceReference_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFaceReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFaceReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e7fa7ca_dde3_424c_89f0_9fcd6fed58cd); } @@ -5373,6 +4893,7 @@ pub struct IDWriteFontFaceReference_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFaceReference1(::windows_core::IUnknown); impl IDWriteFontFaceReference1 { pub unsafe fn CreateFontFace(&self) -> ::windows_core::Result { @@ -5440,27 +4961,11 @@ impl IDWriteFontFaceReference1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference1, ::windows_core::IUnknown, IDWriteFontFaceReference); -impl ::core::cmp::PartialEq for IDWriteFontFaceReference1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFaceReference1 {} -impl ::core::fmt::Debug for IDWriteFontFaceReference1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFaceReference1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFaceReference1 {} unsafe impl ::core::marker::Sync for IDWriteFontFaceReference1 {} unsafe impl ::windows_core::Interface for IDWriteFontFaceReference1 { type Vtable = IDWriteFontFaceReference1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFaceReference1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFaceReference1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc081fe77_2fd1_41ac_a5a3_34983c4ba61a); } @@ -5474,6 +4979,7 @@ pub struct IDWriteFontFaceReference1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFallback(::windows_core::IUnknown); impl IDWriteFontFallback { pub unsafe fn MapCharacters(&self, analysissource: P0, textposition: u32, textlength: u32, basefontcollection: P1, basefamilyname: P2, baseweight: DWRITE_FONT_WEIGHT, basestyle: DWRITE_FONT_STYLE, basestretch: DWRITE_FONT_STRETCH, mappedlength: *mut u32, mappedfont: *mut ::core::option::Option, scale: *mut f32) -> ::windows_core::Result<()> @@ -5486,27 +4992,11 @@ impl IDWriteFontFallback { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFallback {} -impl ::core::fmt::Debug for IDWriteFontFallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFallback").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFallback {} unsafe impl ::core::marker::Sync for IDWriteFontFallback {} unsafe impl ::windows_core::Interface for IDWriteFontFallback { type Vtable = IDWriteFontFallback_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefa008f9_f7a1_48bf_b05c_f224713cc0ff); } @@ -5518,6 +5008,7 @@ pub struct IDWriteFontFallback_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFallback1(::windows_core::IUnknown); impl IDWriteFontFallback1 { pub unsafe fn MapCharacters(&self, analysissource: P0, textposition: u32, textlength: u32, basefontcollection: P1, basefamilyname: P2, baseweight: DWRITE_FONT_WEIGHT, basestyle: DWRITE_FONT_STYLE, basestretch: DWRITE_FONT_STRETCH, mappedlength: *mut u32, mappedfont: *mut ::core::option::Option, scale: *mut f32) -> ::windows_core::Result<()> @@ -5538,27 +5029,11 @@ impl IDWriteFontFallback1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFallback1, ::windows_core::IUnknown, IDWriteFontFallback); -impl ::core::cmp::PartialEq for IDWriteFontFallback1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFallback1 {} -impl ::core::fmt::Debug for IDWriteFontFallback1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFallback1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFallback1 {} unsafe impl ::core::marker::Sync for IDWriteFontFallback1 {} unsafe impl ::windows_core::Interface for IDWriteFontFallback1 { type Vtable = IDWriteFontFallback1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFallback1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFallback1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2397599d_dd0d_4681_bd6a_f4f31eaade77); } @@ -5570,6 +5045,7 @@ pub struct IDWriteFontFallback1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFallbackBuilder(::windows_core::IUnknown); impl IDWriteFontFallbackBuilder { pub unsafe fn AddMapping(&self, ranges: &[DWRITE_UNICODE_RANGE], targetfamilynames: &[*const u16], fontcollection: P0, localename: P1, basefamilyname: P2, scale: f32) -> ::windows_core::Result<()> @@ -5592,27 +5068,11 @@ impl IDWriteFontFallbackBuilder { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFallbackBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFallbackBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFallbackBuilder {} -impl ::core::fmt::Debug for IDWriteFontFallbackBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFallbackBuilder").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFallbackBuilder {} unsafe impl ::core::marker::Sync for IDWriteFontFallbackBuilder {} unsafe impl ::windows_core::Interface for IDWriteFontFallbackBuilder { type Vtable = IDWriteFontFallbackBuilder_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFallbackBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFallbackBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd882d06_8aba_4fb8_b849_8be8b73e14de); } @@ -5626,6 +5086,7 @@ pub struct IDWriteFontFallbackBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFamily(::windows_core::IUnknown); impl IDWriteFontFamily { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -5653,27 +5114,11 @@ impl IDWriteFontFamily { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFamily, ::windows_core::IUnknown, IDWriteFontList); -impl ::core::cmp::PartialEq for IDWriteFontFamily { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFamily {} -impl ::core::fmt::Debug for IDWriteFontFamily { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFamily").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFamily {} unsafe impl ::core::marker::Sync for IDWriteFontFamily {} unsafe impl ::windows_core::Interface for IDWriteFontFamily { type Vtable = IDWriteFontFamily_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFamily { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFamily { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda20d8ef_812a_4c43_9802_62ec4abd7add); } @@ -5687,6 +5132,7 @@ pub struct IDWriteFontFamily_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFamily1(::windows_core::IUnknown); impl IDWriteFontFamily1 { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -5725,27 +5171,11 @@ impl IDWriteFontFamily1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFamily1, ::windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily); -impl ::core::cmp::PartialEq for IDWriteFontFamily1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFamily1 {} -impl ::core::fmt::Debug for IDWriteFontFamily1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFamily1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFamily1 {} unsafe impl ::core::marker::Sync for IDWriteFontFamily1 {} unsafe impl ::windows_core::Interface for IDWriteFontFamily1 { type Vtable = IDWriteFontFamily1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFamily1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFamily1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda20d8ef_812a_4c43_9802_62ec4abd7adf); } @@ -5759,6 +5189,7 @@ pub struct IDWriteFontFamily1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFamily2(::windows_core::IUnknown); impl IDWriteFontFamily2 { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -5805,27 +5236,11 @@ impl IDWriteFontFamily2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFamily2, ::windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily, IDWriteFontFamily1); -impl ::core::cmp::PartialEq for IDWriteFontFamily2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFamily2 {} -impl ::core::fmt::Debug for IDWriteFontFamily2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFamily2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFamily2 {} unsafe impl ::core::marker::Sync for IDWriteFontFamily2 {} unsafe impl ::windows_core::Interface for IDWriteFontFamily2 { type Vtable = IDWriteFontFamily2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFamily2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFamily2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ed49e77_a398_4261_b9cf_c126c2131ef3); } @@ -5838,6 +5253,7 @@ pub struct IDWriteFontFamily2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFile(::windows_core::IUnknown); impl IDWriteFontFile { pub unsafe fn GetReferenceKey(&self, fontfilereferencekey: *mut *mut ::core::ffi::c_void, fontfilereferencekeysize: *mut u32) -> ::windows_core::Result<()> { @@ -5854,27 +5270,11 @@ impl IDWriteFontFile { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFile {} -impl ::core::fmt::Debug for IDWriteFontFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFile").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFile {} unsafe impl ::core::marker::Sync for IDWriteFontFile {} unsafe impl ::windows_core::Interface for IDWriteFontFile { type Vtable = IDWriteFontFile_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x739d886a_cef5_47dc_8769_1a8b41bebbb0); } @@ -5891,6 +5291,7 @@ pub struct IDWriteFontFile_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFileEnumerator(::windows_core::IUnknown); impl IDWriteFontFileEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5905,27 +5306,11 @@ impl IDWriteFontFileEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFileEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFileEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFileEnumerator {} -impl ::core::fmt::Debug for IDWriteFontFileEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFileEnumerator").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFileEnumerator {} unsafe impl ::core::marker::Sync for IDWriteFontFileEnumerator {} unsafe impl ::windows_core::Interface for IDWriteFontFileEnumerator { type Vtable = IDWriteFontFileEnumerator_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFileEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFileEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72755049_5ff7_435d_8348_4be97cfa6c7c); } @@ -5941,6 +5326,7 @@ pub struct IDWriteFontFileEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFileLoader(::windows_core::IUnknown); impl IDWriteFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows_core::Result { @@ -5949,27 +5335,11 @@ impl IDWriteFontFileLoader { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFileLoader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFileLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFileLoader {} -impl ::core::fmt::Debug for IDWriteFontFileLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFileLoader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFileLoader {} unsafe impl ::core::marker::Sync for IDWriteFontFileLoader {} unsafe impl ::windows_core::Interface for IDWriteFontFileLoader { type Vtable = IDWriteFontFileLoader_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFileLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFileLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x727cad4e_d6af_4c9e_8a08_d695b11caa49); } @@ -5981,6 +5351,7 @@ pub struct IDWriteFontFileLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontFileStream(::windows_core::IUnknown); impl IDWriteFontFileStream { pub unsafe fn ReadFileFragment(&self, fragmentstart: *mut *mut ::core::ffi::c_void, fileoffset: u64, fragmentsize: u64, fragmentcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5999,27 +5370,11 @@ impl IDWriteFontFileStream { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontFileStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontFileStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontFileStream {} -impl ::core::fmt::Debug for IDWriteFontFileStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontFileStream").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontFileStream {} unsafe impl ::core::marker::Sync for IDWriteFontFileStream {} unsafe impl ::windows_core::Interface for IDWriteFontFileStream { type Vtable = IDWriteFontFileStream_Vtbl; } -impl ::core::clone::Clone for IDWriteFontFileStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontFileStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d4865fe_0ab8_4d91_8f62_5dd6be34a3e0); } @@ -6034,6 +5389,7 @@ pub struct IDWriteFontFileStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontList(::windows_core::IUnknown); impl IDWriteFontList { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -6049,27 +5405,11 @@ impl IDWriteFontList { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontList {} -impl ::core::fmt::Debug for IDWriteFontList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontList {} unsafe impl ::core::marker::Sync for IDWriteFontList {} unsafe impl ::windows_core::Interface for IDWriteFontList { type Vtable = IDWriteFontList_Vtbl; } -impl ::core::clone::Clone for IDWriteFontList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a0d8438_1d97_4ec1_aef9_a2fb86ed6acb); } @@ -6083,6 +5423,7 @@ pub struct IDWriteFontList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontList1(::windows_core::IUnknown); impl IDWriteFontList1 { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -6109,27 +5450,11 @@ impl IDWriteFontList1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontList1, ::windows_core::IUnknown, IDWriteFontList); -impl ::core::cmp::PartialEq for IDWriteFontList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontList1 {} -impl ::core::fmt::Debug for IDWriteFontList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontList1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontList1 {} unsafe impl ::core::marker::Sync for IDWriteFontList1 {} unsafe impl ::windows_core::Interface for IDWriteFontList1 { type Vtable = IDWriteFontList1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda20d8ef_812a_4c43_9802_62ec4abd7ade); } @@ -6143,6 +5468,7 @@ pub struct IDWriteFontList1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontList2(::windows_core::IUnknown); impl IDWriteFontList2 { pub unsafe fn GetFontCollection(&self) -> ::windows_core::Result { @@ -6173,27 +5499,11 @@ impl IDWriteFontList2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontList2, ::windows_core::IUnknown, IDWriteFontList, IDWriteFontList1); -impl ::core::cmp::PartialEq for IDWriteFontList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontList2 {} -impl ::core::fmt::Debug for IDWriteFontList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontList2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontList2 {} unsafe impl ::core::marker::Sync for IDWriteFontList2 {} unsafe impl ::windows_core::Interface for IDWriteFontList2 { type Vtable = IDWriteFontList2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0763a34_77af_445a_b735_08c37b0a5bf5); } @@ -6205,6 +5515,7 @@ pub struct IDWriteFontList2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontResource(::windows_core::IUnknown); impl IDWriteFontResource { pub unsafe fn GetFontFile(&self) -> ::windows_core::Result { @@ -6251,27 +5562,11 @@ impl IDWriteFontResource { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontResource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontResource {} -impl ::core::fmt::Debug for IDWriteFontResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontResource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontResource {} unsafe impl ::core::marker::Sync for IDWriteFontResource {} unsafe impl ::windows_core::Interface for IDWriteFontResource { type Vtable = IDWriteFontResource_Vtbl; } -impl ::core::clone::Clone for IDWriteFontResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f803a76_6871_48e8_987f_b975551c50f2); } @@ -6297,6 +5592,7 @@ pub struct IDWriteFontResource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSet(::windows_core::IUnknown); impl IDWriteFontSet { pub unsafe fn GetFontCount(&self) -> u32 { @@ -6355,27 +5651,11 @@ impl IDWriteFontSet { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSet {} -impl ::core::fmt::Debug for IDWriteFontSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSet").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSet {} unsafe impl ::core::marker::Sync for IDWriteFontSet {} unsafe impl ::windows_core::Interface for IDWriteFontSet { type Vtable = IDWriteFontSet_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53585141_d9f8_4095_8321_d73cf6bd116b); } @@ -6405,6 +5685,7 @@ pub struct IDWriteFontSet_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSet1(::windows_core::IUnknown); impl IDWriteFontSet1 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -6530,27 +5811,11 @@ impl IDWriteFontSet1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSet1, ::windows_core::IUnknown, IDWriteFontSet); -impl ::core::cmp::PartialEq for IDWriteFontSet1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSet1 {} -impl ::core::fmt::Debug for IDWriteFontSet1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSet1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSet1 {} unsafe impl ::core::marker::Sync for IDWriteFontSet1 {} unsafe impl ::windows_core::Interface for IDWriteFontSet1 { type Vtable = IDWriteFontSet1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSet1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSet1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e9fda85_6c92_4053_bc47_7ae3530db4d3); } @@ -6586,6 +5851,7 @@ pub struct IDWriteFontSet1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSet2(::windows_core::IUnknown); impl IDWriteFontSet2 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -6716,27 +5982,11 @@ impl IDWriteFontSet2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSet2, ::windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1); -impl ::core::cmp::PartialEq for IDWriteFontSet2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSet2 {} -impl ::core::fmt::Debug for IDWriteFontSet2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSet2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSet2 {} unsafe impl ::core::marker::Sync for IDWriteFontSet2 {} unsafe impl ::windows_core::Interface for IDWriteFontSet2 { type Vtable = IDWriteFontSet2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSet2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc7ead19_e54c_43af_b2da_4e2b79ba3f7f); } @@ -6751,6 +6001,7 @@ pub struct IDWriteFontSet2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSet3(::windows_core::IUnknown); impl IDWriteFontSet3 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -6890,27 +6141,11 @@ impl IDWriteFontSet3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSet3, ::windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2); -impl ::core::cmp::PartialEq for IDWriteFontSet3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSet3 {} -impl ::core::fmt::Debug for IDWriteFontSet3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSet3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSet3 {} unsafe impl ::core::marker::Sync for IDWriteFontSet3 {} unsafe impl ::windows_core::Interface for IDWriteFontSet3 { type Vtable = IDWriteFontSet3_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSet3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSet3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c073ef2_a7f4_4045_8c32_8ab8ae640f90); } @@ -6924,6 +6159,7 @@ pub struct IDWriteFontSet3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSet4(::windows_core::IUnknown); impl IDWriteFontSet4 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -7073,27 +6309,11 @@ impl IDWriteFontSet4 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSet4, ::windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2, IDWriteFontSet3); -impl ::core::cmp::PartialEq for IDWriteFontSet4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSet4 {} -impl ::core::fmt::Debug for IDWriteFontSet4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSet4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSet4 {} unsafe impl ::core::marker::Sync for IDWriteFontSet4 {} unsafe impl ::windows_core::Interface for IDWriteFontSet4 { type Vtable = IDWriteFontSet4_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSet4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSet4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeec175fc_bea9_4c86_8b53_ccbdd7df0c82); } @@ -7106,6 +6326,7 @@ pub struct IDWriteFontSet4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSetBuilder(::windows_core::IUnknown); impl IDWriteFontSetBuilder { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows_core::Result<()> @@ -7132,27 +6353,11 @@ impl IDWriteFontSetBuilder { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteFontSetBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSetBuilder {} -impl ::core::fmt::Debug for IDWriteFontSetBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSetBuilder").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSetBuilder {} unsafe impl ::core::marker::Sync for IDWriteFontSetBuilder {} unsafe impl ::windows_core::Interface for IDWriteFontSetBuilder { type Vtable = IDWriteFontSetBuilder_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSetBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSetBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f642afe_9c68_4f40_b8be_457401afcb3d); } @@ -7167,6 +6372,7 @@ pub struct IDWriteFontSetBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSetBuilder1(::windows_core::IUnknown); impl IDWriteFontSetBuilder1 { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows_core::Result<()> @@ -7199,27 +6405,11 @@ impl IDWriteFontSetBuilder1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder1, ::windows_core::IUnknown, IDWriteFontSetBuilder); -impl ::core::cmp::PartialEq for IDWriteFontSetBuilder1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSetBuilder1 {} -impl ::core::fmt::Debug for IDWriteFontSetBuilder1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSetBuilder1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSetBuilder1 {} unsafe impl ::core::marker::Sync for IDWriteFontSetBuilder1 {} unsafe impl ::windows_core::Interface for IDWriteFontSetBuilder1 { type Vtable = IDWriteFontSetBuilder1_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSetBuilder1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSetBuilder1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ff7715f_3cdc_4dc6_9b72_ec5621dccafd); } @@ -7231,6 +6421,7 @@ pub struct IDWriteFontSetBuilder1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteFontSetBuilder2(::windows_core::IUnknown); impl IDWriteFontSetBuilder2 { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> ::windows_core::Result<()> @@ -7275,27 +6466,11 @@ impl IDWriteFontSetBuilder2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder2, ::windows_core::IUnknown, IDWriteFontSetBuilder, IDWriteFontSetBuilder1); -impl ::core::cmp::PartialEq for IDWriteFontSetBuilder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteFontSetBuilder2 {} -impl ::core::fmt::Debug for IDWriteFontSetBuilder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteFontSetBuilder2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteFontSetBuilder2 {} unsafe impl ::core::marker::Sync for IDWriteFontSetBuilder2 {} unsafe impl ::windows_core::Interface for IDWriteFontSetBuilder2 { type Vtable = IDWriteFontSetBuilder2_Vtbl; } -impl ::core::clone::Clone for IDWriteFontSetBuilder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteFontSetBuilder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee5ba612_b131_463c_8f4f_3189b9401e45); } @@ -7308,6 +6483,7 @@ pub struct IDWriteFontSetBuilder2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteGdiInterop(::windows_core::IUnknown); impl IDWriteGdiInterop { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -7352,27 +6528,11 @@ impl IDWriteGdiInterop { } } ::windows_core::imp::interface_hierarchy!(IDWriteGdiInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteGdiInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteGdiInterop {} -impl ::core::fmt::Debug for IDWriteGdiInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteGdiInterop").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteGdiInterop {} unsafe impl ::core::marker::Sync for IDWriteGdiInterop {} unsafe impl ::windows_core::Interface for IDWriteGdiInterop { type Vtable = IDWriteGdiInterop_Vtbl; } -impl ::core::clone::Clone for IDWriteGdiInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteGdiInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1edd9491_9853_4299_898f_6432983b6f3a); } @@ -7403,6 +6563,7 @@ pub struct IDWriteGdiInterop_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteGdiInterop1(::windows_core::IUnknown); impl IDWriteGdiInterop1 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -7481,27 +6642,11 @@ impl IDWriteGdiInterop1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteGdiInterop1, ::windows_core::IUnknown, IDWriteGdiInterop); -impl ::core::cmp::PartialEq for IDWriteGdiInterop1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteGdiInterop1 {} -impl ::core::fmt::Debug for IDWriteGdiInterop1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteGdiInterop1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteGdiInterop1 {} unsafe impl ::core::marker::Sync for IDWriteGdiInterop1 {} unsafe impl ::windows_core::Interface for IDWriteGdiInterop1 { type Vtable = IDWriteGdiInterop1_Vtbl; } -impl ::core::clone::Clone for IDWriteGdiInterop1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteGdiInterop1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4556be70_3abd_4f70_90be_421780a6f515); } @@ -7528,6 +6673,7 @@ pub struct IDWriteGdiInterop1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteGlyphRunAnalysis(::windows_core::IUnknown); impl IDWriteGlyphRunAnalysis { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7549,27 +6695,11 @@ impl IDWriteGlyphRunAnalysis { } } ::windows_core::imp::interface_hierarchy!(IDWriteGlyphRunAnalysis, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteGlyphRunAnalysis { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteGlyphRunAnalysis {} -impl ::core::fmt::Debug for IDWriteGlyphRunAnalysis { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteGlyphRunAnalysis").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteGlyphRunAnalysis {} unsafe impl ::core::marker::Sync for IDWriteGlyphRunAnalysis {} unsafe impl ::windows_core::Interface for IDWriteGlyphRunAnalysis { type Vtable = IDWriteGlyphRunAnalysis_Vtbl; } -impl ::core::clone::Clone for IDWriteGlyphRunAnalysis { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteGlyphRunAnalysis { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d97dbf7_e085_42d4_81e3_6a883bded118); } @@ -7589,6 +6719,7 @@ pub struct IDWriteGlyphRunAnalysis_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteInMemoryFontFileLoader(::windows_core::IUnknown); impl IDWriteInMemoryFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows_core::Result { @@ -7608,27 +6739,11 @@ impl IDWriteInMemoryFontFileLoader { } } ::windows_core::imp::interface_hierarchy!(IDWriteInMemoryFontFileLoader, ::windows_core::IUnknown, IDWriteFontFileLoader); -impl ::core::cmp::PartialEq for IDWriteInMemoryFontFileLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteInMemoryFontFileLoader {} -impl ::core::fmt::Debug for IDWriteInMemoryFontFileLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteInMemoryFontFileLoader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteInMemoryFontFileLoader {} unsafe impl ::core::marker::Sync for IDWriteInMemoryFontFileLoader {} unsafe impl ::windows_core::Interface for IDWriteInMemoryFontFileLoader { type Vtable = IDWriteInMemoryFontFileLoader_Vtbl; } -impl ::core::clone::Clone for IDWriteInMemoryFontFileLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteInMemoryFontFileLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc102f47_a12d_4b1c_822d_9e117e33043f); } @@ -7641,6 +6756,7 @@ pub struct IDWriteInMemoryFontFileLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteInlineObject(::windows_core::IUnknown); impl IDWriteInlineObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7669,27 +6785,11 @@ impl IDWriteInlineObject { } } ::windows_core::imp::interface_hierarchy!(IDWriteInlineObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteInlineObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteInlineObject {} -impl ::core::fmt::Debug for IDWriteInlineObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteInlineObject").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteInlineObject {} unsafe impl ::core::marker::Sync for IDWriteInlineObject {} unsafe impl ::windows_core::Interface for IDWriteInlineObject { type Vtable = IDWriteInlineObject_Vtbl; } -impl ::core::clone::Clone for IDWriteInlineObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteInlineObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8339fde3_106f_47ab_8373_1c6295eb10b3); } @@ -7710,6 +6810,7 @@ pub struct IDWriteInlineObject_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteLocalFontFileLoader(::windows_core::IUnknown); impl IDWriteLocalFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows_core::Result { @@ -7731,27 +6832,11 @@ impl IDWriteLocalFontFileLoader { } } ::windows_core::imp::interface_hierarchy!(IDWriteLocalFontFileLoader, ::windows_core::IUnknown, IDWriteFontFileLoader); -impl ::core::cmp::PartialEq for IDWriteLocalFontFileLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteLocalFontFileLoader {} -impl ::core::fmt::Debug for IDWriteLocalFontFileLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteLocalFontFileLoader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteLocalFontFileLoader {} unsafe impl ::core::marker::Sync for IDWriteLocalFontFileLoader {} unsafe impl ::windows_core::Interface for IDWriteLocalFontFileLoader { type Vtable = IDWriteLocalFontFileLoader_Vtbl; } -impl ::core::clone::Clone for IDWriteLocalFontFileLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteLocalFontFileLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2d9f3ec_c9fe_4a11_a2ec_d86208f7c0a2); } @@ -7768,6 +6853,7 @@ pub struct IDWriteLocalFontFileLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteLocalizedStrings(::windows_core::IUnknown); impl IDWriteLocalizedStrings { pub unsafe fn GetCount(&self) -> u32 { @@ -7796,28 +6882,12 @@ impl IDWriteLocalizedStrings { (::windows_core::Interface::vtable(self).GetString)(::windows_core::Interface::as_raw(self), index, ::core::mem::transmute(stringbuffer.as_ptr()), stringbuffer.len() as _).ok() } } -::windows_core::imp::interface_hierarchy!(IDWriteLocalizedStrings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteLocalizedStrings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteLocalizedStrings {} -impl ::core::fmt::Debug for IDWriteLocalizedStrings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteLocalizedStrings").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IDWriteLocalizedStrings, ::windows_core::IUnknown); unsafe impl ::core::marker::Send for IDWriteLocalizedStrings {} unsafe impl ::core::marker::Sync for IDWriteLocalizedStrings {} unsafe impl ::windows_core::Interface for IDWriteLocalizedStrings { type Vtable = IDWriteLocalizedStrings_Vtbl; } -impl ::core::clone::Clone for IDWriteLocalizedStrings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteLocalizedStrings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08256209_099a_4b34_b86d_c22b110e7771); } @@ -7837,30 +6907,15 @@ pub struct IDWriteLocalizedStrings_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteNumberSubstitution(::windows_core::IUnknown); impl IDWriteNumberSubstitution {} ::windows_core::imp::interface_hierarchy!(IDWriteNumberSubstitution, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteNumberSubstitution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteNumberSubstitution {} -impl ::core::fmt::Debug for IDWriteNumberSubstitution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteNumberSubstitution").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteNumberSubstitution {} unsafe impl ::core::marker::Sync for IDWriteNumberSubstitution {} unsafe impl ::windows_core::Interface for IDWriteNumberSubstitution { type Vtable = IDWriteNumberSubstitution_Vtbl; } -impl ::core::clone::Clone for IDWriteNumberSubstitution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteNumberSubstitution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14885cc9_bab0_4f90_b6ed_5c366a2cd03d); } @@ -7871,6 +6926,7 @@ pub struct IDWriteNumberSubstitution_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWritePixelSnapping(::windows_core::IUnknown); impl IDWritePixelSnapping { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7888,27 +6944,11 @@ impl IDWritePixelSnapping { } } ::windows_core::imp::interface_hierarchy!(IDWritePixelSnapping, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWritePixelSnapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWritePixelSnapping {} -impl ::core::fmt::Debug for IDWritePixelSnapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWritePixelSnapping").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWritePixelSnapping {} unsafe impl ::core::marker::Sync for IDWritePixelSnapping {} unsafe impl ::windows_core::Interface for IDWritePixelSnapping { type Vtable = IDWritePixelSnapping_Vtbl; } -impl ::core::clone::Clone for IDWritePixelSnapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWritePixelSnapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeaf3a2da_ecf4_4d24_b644_b34f6842024b); } @@ -7925,6 +6965,7 @@ pub struct IDWritePixelSnapping_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRemoteFontFileLoader(::windows_core::IUnknown); impl IDWriteRemoteFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const ::core::ffi::c_void, fontfilereferencekeysize: u32) -> ::windows_core::Result { @@ -7950,27 +6991,11 @@ impl IDWriteRemoteFontFileLoader { } } ::windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileLoader, ::windows_core::IUnknown, IDWriteFontFileLoader); -impl ::core::cmp::PartialEq for IDWriteRemoteFontFileLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRemoteFontFileLoader {} -impl ::core::fmt::Debug for IDWriteRemoteFontFileLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRemoteFontFileLoader").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRemoteFontFileLoader {} unsafe impl ::core::marker::Sync for IDWriteRemoteFontFileLoader {} unsafe impl ::windows_core::Interface for IDWriteRemoteFontFileLoader { type Vtable = IDWriteRemoteFontFileLoader_Vtbl; } -impl ::core::clone::Clone for IDWriteRemoteFontFileLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRemoteFontFileLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68648c83_6ede_46c0_ab46_20083a887fde); } @@ -7984,6 +7009,7 @@ pub struct IDWriteRemoteFontFileLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRemoteFontFileStream(::windows_core::IUnknown); impl IDWriteRemoteFontFileStream { pub unsafe fn ReadFileFragment(&self, fragmentstart: *mut *mut ::core::ffi::c_void, fileoffset: u64, fragmentsize: u64, fragmentcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -8018,27 +7044,11 @@ impl IDWriteRemoteFontFileStream { } } ::windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileStream, ::windows_core::IUnknown, IDWriteFontFileStream); -impl ::core::cmp::PartialEq for IDWriteRemoteFontFileStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRemoteFontFileStream {} -impl ::core::fmt::Debug for IDWriteRemoteFontFileStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRemoteFontFileStream").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRemoteFontFileStream {} unsafe impl ::core::marker::Sync for IDWriteRemoteFontFileStream {} unsafe impl ::windows_core::Interface for IDWriteRemoteFontFileStream { type Vtable = IDWriteRemoteFontFileStream_Vtbl; } -impl ::core::clone::Clone for IDWriteRemoteFontFileStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRemoteFontFileStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4db3757a_2c72_4ed9_b2b6_1ababe1aff9c); } @@ -8056,6 +7066,7 @@ pub struct IDWriteRemoteFontFileStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRenderingParams(::windows_core::IUnknown); impl IDWriteRenderingParams { pub unsafe fn GetGamma(&self) -> f32 { @@ -8075,27 +7086,11 @@ impl IDWriteRenderingParams { } } ::windows_core::imp::interface_hierarchy!(IDWriteRenderingParams, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteRenderingParams { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRenderingParams {} -impl ::core::fmt::Debug for IDWriteRenderingParams { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRenderingParams").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRenderingParams {} unsafe impl ::core::marker::Sync for IDWriteRenderingParams {} unsafe impl ::windows_core::Interface for IDWriteRenderingParams { type Vtable = IDWriteRenderingParams_Vtbl; } -impl ::core::clone::Clone for IDWriteRenderingParams { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRenderingParams { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f0da53a_2add_47cd_82ee_d9ec34688e75); } @@ -8111,6 +7106,7 @@ pub struct IDWriteRenderingParams_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRenderingParams1(::windows_core::IUnknown); impl IDWriteRenderingParams1 { pub unsafe fn GetGamma(&self) -> f32 { @@ -8133,27 +7129,11 @@ impl IDWriteRenderingParams1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteRenderingParams1, ::windows_core::IUnknown, IDWriteRenderingParams); -impl ::core::cmp::PartialEq for IDWriteRenderingParams1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRenderingParams1 {} -impl ::core::fmt::Debug for IDWriteRenderingParams1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRenderingParams1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRenderingParams1 {} unsafe impl ::core::marker::Sync for IDWriteRenderingParams1 {} unsafe impl ::windows_core::Interface for IDWriteRenderingParams1 { type Vtable = IDWriteRenderingParams1_Vtbl; } -impl ::core::clone::Clone for IDWriteRenderingParams1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRenderingParams1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94413cf4_a6fc_4248_8b50_6674348fcad3); } @@ -8165,6 +7145,7 @@ pub struct IDWriteRenderingParams1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRenderingParams2(::windows_core::IUnknown); impl IDWriteRenderingParams2 { pub unsafe fn GetGamma(&self) -> f32 { @@ -8190,27 +7171,11 @@ impl IDWriteRenderingParams2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteRenderingParams2, ::windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1); -impl ::core::cmp::PartialEq for IDWriteRenderingParams2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRenderingParams2 {} -impl ::core::fmt::Debug for IDWriteRenderingParams2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRenderingParams2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRenderingParams2 {} unsafe impl ::core::marker::Sync for IDWriteRenderingParams2 {} unsafe impl ::windows_core::Interface for IDWriteRenderingParams2 { type Vtable = IDWriteRenderingParams2_Vtbl; } -impl ::core::clone::Clone for IDWriteRenderingParams2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRenderingParams2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9d711c3_9777_40ae_87e8_3e5af9bf0948); } @@ -8222,6 +7187,7 @@ pub struct IDWriteRenderingParams2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteRenderingParams3(::windows_core::IUnknown); impl IDWriteRenderingParams3 { pub unsafe fn GetGamma(&self) -> f32 { @@ -8250,27 +7216,11 @@ impl IDWriteRenderingParams3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteRenderingParams3, ::windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1, IDWriteRenderingParams2); -impl ::core::cmp::PartialEq for IDWriteRenderingParams3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteRenderingParams3 {} -impl ::core::fmt::Debug for IDWriteRenderingParams3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteRenderingParams3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteRenderingParams3 {} unsafe impl ::core::marker::Sync for IDWriteRenderingParams3 {} unsafe impl ::windows_core::Interface for IDWriteRenderingParams3 { type Vtable = IDWriteRenderingParams3_Vtbl; } -impl ::core::clone::Clone for IDWriteRenderingParams3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteRenderingParams3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7924baa_391b_412a_8c5c_e44cc2d867dc); } @@ -8282,6 +7232,7 @@ pub struct IDWriteRenderingParams3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteStringList(::windows_core::IUnknown); impl IDWriteStringList { pub unsafe fn GetCount(&self) -> u32 { @@ -8303,27 +7254,11 @@ impl IDWriteStringList { } } ::windows_core::imp::interface_hierarchy!(IDWriteStringList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteStringList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteStringList {} -impl ::core::fmt::Debug for IDWriteStringList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteStringList").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteStringList {} unsafe impl ::core::marker::Sync for IDWriteStringList {} unsafe impl ::windows_core::Interface for IDWriteStringList { type Vtable = IDWriteStringList_Vtbl; } -impl ::core::clone::Clone for IDWriteStringList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteStringList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfee3140_1157_47ca_8b85_31bfcf3f2d0e); } @@ -8339,6 +7274,7 @@ pub struct IDWriteStringList_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalysisSink(::windows_core::IUnknown); impl IDWriteTextAnalysisSink { pub unsafe fn SetScriptAnalysis(&self, textposition: u32, textlength: u32, scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS) -> ::windows_core::Result<()> { @@ -8358,27 +7294,11 @@ impl IDWriteTextAnalysisSink { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteTextAnalysisSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalysisSink {} -impl ::core::fmt::Debug for IDWriteTextAnalysisSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalysisSink").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalysisSink {} unsafe impl ::core::marker::Sync for IDWriteTextAnalysisSink {} unsafe impl ::windows_core::Interface for IDWriteTextAnalysisSink { type Vtable = IDWriteTextAnalysisSink_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalysisSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalysisSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5810cd44_0ca0_4701_b3fa_bec5182ae4f6); } @@ -8393,6 +7313,7 @@ pub struct IDWriteTextAnalysisSink_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalysisSink1(::windows_core::IUnknown); impl IDWriteTextAnalysisSink1 { pub unsafe fn SetScriptAnalysis(&self, textposition: u32, textlength: u32, scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS) -> ::windows_core::Result<()> { @@ -8421,27 +7342,11 @@ impl IDWriteTextAnalysisSink1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink1, ::windows_core::IUnknown, IDWriteTextAnalysisSink); -impl ::core::cmp::PartialEq for IDWriteTextAnalysisSink1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalysisSink1 {} -impl ::core::fmt::Debug for IDWriteTextAnalysisSink1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalysisSink1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalysisSink1 {} unsafe impl ::core::marker::Sync for IDWriteTextAnalysisSink1 {} unsafe impl ::windows_core::Interface for IDWriteTextAnalysisSink1 { type Vtable = IDWriteTextAnalysisSink1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalysisSink1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalysisSink1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0d941a0_85e7_4d8b_9fd3_5ced9934482a); } @@ -8456,6 +7361,7 @@ pub struct IDWriteTextAnalysisSink1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalysisSource(::windows_core::IUnknown); impl IDWriteTextAnalysisSource { pub unsafe fn GetTextAtPosition(&self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32) -> ::windows_core::Result<()> { @@ -8475,27 +7381,11 @@ impl IDWriteTextAnalysisSource { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteTextAnalysisSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalysisSource {} -impl ::core::fmt::Debug for IDWriteTextAnalysisSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalysisSource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalysisSource {} unsafe impl ::core::marker::Sync for IDWriteTextAnalysisSource {} unsafe impl ::windows_core::Interface for IDWriteTextAnalysisSource { type Vtable = IDWriteTextAnalysisSource_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalysisSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalysisSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x688e1a58_5094_47c8_adc8_fbcea60ae92b); } @@ -8511,6 +7401,7 @@ pub struct IDWriteTextAnalysisSource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalysisSource1(::windows_core::IUnknown); impl IDWriteTextAnalysisSource1 { pub unsafe fn GetTextAtPosition(&self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32) -> ::windows_core::Result<()> { @@ -8533,27 +7424,11 @@ impl IDWriteTextAnalysisSource1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource1, ::windows_core::IUnknown, IDWriteTextAnalysisSource); -impl ::core::cmp::PartialEq for IDWriteTextAnalysisSource1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalysisSource1 {} -impl ::core::fmt::Debug for IDWriteTextAnalysisSource1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalysisSource1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalysisSource1 {} unsafe impl ::core::marker::Sync for IDWriteTextAnalysisSource1 {} unsafe impl ::windows_core::Interface for IDWriteTextAnalysisSource1 { type Vtable = IDWriteTextAnalysisSource1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalysisSource1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalysisSource1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x639cfad8_0fb4_4b21_a58a_067920120009); } @@ -8565,6 +7440,7 @@ pub struct IDWriteTextAnalysisSource1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalyzer(::windows_core::IUnknown); impl IDWriteTextAnalyzer { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> ::windows_core::Result<()> @@ -8679,27 +7555,11 @@ impl IDWriteTextAnalyzer { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteTextAnalyzer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalyzer {} -impl ::core::fmt::Debug for IDWriteTextAnalyzer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalyzer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalyzer {} unsafe impl ::core::marker::Sync for IDWriteTextAnalyzer {} unsafe impl ::windows_core::Interface for IDWriteTextAnalyzer { type Vtable = IDWriteTextAnalyzer_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalyzer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalyzer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e6163e_7f46_43b4_84b3_e4e6249c365d); } @@ -8749,6 +7609,7 @@ pub struct IDWriteTextAnalyzer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalyzer1(::windows_core::IUnknown); impl IDWriteTextAnalyzer1 { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> ::windows_core::Result<()> @@ -8940,27 +7801,11 @@ impl IDWriteTextAnalyzer1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer1, ::windows_core::IUnknown, IDWriteTextAnalyzer); -impl ::core::cmp::PartialEq for IDWriteTextAnalyzer1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalyzer1 {} -impl ::core::fmt::Debug for IDWriteTextAnalyzer1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalyzer1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalyzer1 {} unsafe impl ::core::marker::Sync for IDWriteTextAnalyzer1 {} unsafe impl ::windows_core::Interface for IDWriteTextAnalyzer1 { type Vtable = IDWriteTextAnalyzer1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalyzer1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalyzer1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80dad800_e21f_4e83_96ce_bfcce500db7c); } @@ -8989,6 +7834,7 @@ pub struct IDWriteTextAnalyzer1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextAnalyzer2(::windows_core::IUnknown); impl IDWriteTextAnalyzer2 { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> ::windows_core::Result<()> @@ -9202,27 +8048,11 @@ impl IDWriteTextAnalyzer2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer2, ::windows_core::IUnknown, IDWriteTextAnalyzer, IDWriteTextAnalyzer1); -impl ::core::cmp::PartialEq for IDWriteTextAnalyzer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextAnalyzer2 {} -impl ::core::fmt::Debug for IDWriteTextAnalyzer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextAnalyzer2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextAnalyzer2 {} unsafe impl ::core::marker::Sync for IDWriteTextAnalyzer2 {} unsafe impl ::windows_core::Interface for IDWriteTextAnalyzer2 { type Vtable = IDWriteTextAnalyzer2_Vtbl; } -impl ::core::clone::Clone for IDWriteTextAnalyzer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextAnalyzer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x553a9ff3_5693_4df7_b52b_74806f7f2eb9); } @@ -9239,6 +8069,7 @@ pub struct IDWriteTextAnalyzer2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextFormat(::windows_core::IUnknown); impl IDWriteTextFormat { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -9322,27 +8153,11 @@ impl IDWriteTextFormat { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextFormat, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteTextFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextFormat {} -impl ::core::fmt::Debug for IDWriteTextFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextFormat").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextFormat {} unsafe impl ::core::marker::Sync for IDWriteTextFormat {} unsafe impl ::windows_core::Interface for IDWriteTextFormat { type Vtable = IDWriteTextFormat_Vtbl; } -impl ::core::clone::Clone for IDWriteTextFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c906818_31d7_4fd3_a151_7c5e225db55a); } @@ -9378,6 +8193,7 @@ pub struct IDWriteTextFormat_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextFormat1(::windows_core::IUnknown); impl IDWriteTextFormat1 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -9496,27 +8312,11 @@ impl IDWriteTextFormat1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextFormat1, ::windows_core::IUnknown, IDWriteTextFormat); -impl ::core::cmp::PartialEq for IDWriteTextFormat1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextFormat1 {} -impl ::core::fmt::Debug for IDWriteTextFormat1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextFormat1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextFormat1 {} unsafe impl ::core::marker::Sync for IDWriteTextFormat1 {} unsafe impl ::windows_core::Interface for IDWriteTextFormat1 { type Vtable = IDWriteTextFormat1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextFormat1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextFormat1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f174b49_0d8b_4cfb_8bca_f1cce9d06c67); } @@ -9541,6 +8341,7 @@ pub struct IDWriteTextFormat1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextFormat2(::windows_core::IUnknown); impl IDWriteTextFormat2 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -9665,27 +8466,11 @@ impl IDWriteTextFormat2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextFormat2, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1); -impl ::core::cmp::PartialEq for IDWriteTextFormat2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextFormat2 {} -impl ::core::fmt::Debug for IDWriteTextFormat2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextFormat2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextFormat2 {} unsafe impl ::core::marker::Sync for IDWriteTextFormat2 {} unsafe impl ::windows_core::Interface for IDWriteTextFormat2 { type Vtable = IDWriteTextFormat2_Vtbl; } -impl ::core::clone::Clone for IDWriteTextFormat2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextFormat2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf67e0edd_9e3d_4ecc_8c32_4183253dfe70); } @@ -9698,6 +8483,7 @@ pub struct IDWriteTextFormat2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextFormat3(::windows_core::IUnknown); impl IDWriteTextFormat3 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -9837,27 +8623,11 @@ impl IDWriteTextFormat3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextFormat3, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2); -impl ::core::cmp::PartialEq for IDWriteTextFormat3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextFormat3 {} -impl ::core::fmt::Debug for IDWriteTextFormat3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextFormat3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextFormat3 {} unsafe impl ::core::marker::Sync for IDWriteTextFormat3 {} unsafe impl ::windows_core::Interface for IDWriteTextFormat3 { type Vtable = IDWriteTextFormat3_Vtbl; } -impl ::core::clone::Clone for IDWriteTextFormat3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextFormat3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d3b5641_e550_430d_a85b_b7bf48a93427); } @@ -9873,6 +8643,7 @@ pub struct IDWriteTextFormat3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextLayout(::windows_core::IUnknown); impl IDWriteTextLayout { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -10121,27 +8892,11 @@ impl IDWriteTextLayout { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextLayout, ::windows_core::IUnknown, IDWriteTextFormat); -impl ::core::cmp::PartialEq for IDWriteTextLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextLayout {} -impl ::core::fmt::Debug for IDWriteTextLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextLayout").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextLayout {} unsafe impl ::core::marker::Sync for IDWriteTextLayout {} unsafe impl ::windows_core::Interface for IDWriteTextLayout { type Vtable = IDWriteTextLayout_Vtbl; } -impl ::core::clone::Clone for IDWriteTextLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextLayout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53737037_6d14_410b_9bfe_0b182bb70961); } @@ -10215,6 +8970,7 @@ pub struct IDWriteTextLayout_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextLayout1(::windows_core::IUnknown); impl IDWriteTextLayout1 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -10482,27 +9238,11 @@ impl IDWriteTextLayout1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextLayout1, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout); -impl ::core::cmp::PartialEq for IDWriteTextLayout1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextLayout1 {} -impl ::core::fmt::Debug for IDWriteTextLayout1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextLayout1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextLayout1 {} unsafe impl ::core::marker::Sync for IDWriteTextLayout1 {} unsafe impl ::windows_core::Interface for IDWriteTextLayout1 { type Vtable = IDWriteTextLayout1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextLayout1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextLayout1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9064d822_80a7_465c_a986_df65f78b8feb); } @@ -10523,6 +9263,7 @@ pub struct IDWriteTextLayout1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextLayout2(::windows_core::IUnknown); impl IDWriteTextLayout2 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -10828,27 +9569,11 @@ impl IDWriteTextLayout2 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextLayout2, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1); -impl ::core::cmp::PartialEq for IDWriteTextLayout2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextLayout2 {} -impl ::core::fmt::Debug for IDWriteTextLayout2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextLayout2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextLayout2 {} unsafe impl ::core::marker::Sync for IDWriteTextLayout2 {} unsafe impl ::windows_core::Interface for IDWriteTextLayout2 { type Vtable = IDWriteTextLayout2_Vtbl; } -impl ::core::clone::Clone for IDWriteTextLayout2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextLayout2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1093c18f_8d5e_43f0_b064_0917311b525e); } @@ -10874,6 +9599,7 @@ pub struct IDWriteTextLayout2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextLayout3(::windows_core::IUnknown); impl IDWriteTextLayout3 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -11193,27 +9919,11 @@ impl IDWriteTextLayout3 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextLayout3, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2); -impl ::core::cmp::PartialEq for IDWriteTextLayout3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextLayout3 {} -impl ::core::fmt::Debug for IDWriteTextLayout3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextLayout3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextLayout3 {} unsafe impl ::core::marker::Sync for IDWriteTextLayout3 {} unsafe impl ::windows_core::Interface for IDWriteTextLayout3 { type Vtable = IDWriteTextLayout3_Vtbl; } -impl ::core::clone::Clone for IDWriteTextLayout3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextLayout3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07ddcd52_020e_4de8_ac33_6c953d83f92d); } @@ -11231,6 +9941,7 @@ pub struct IDWriteTextLayout3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextLayout4(::windows_core::IUnknown); impl IDWriteTextLayout4 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> ::windows_core::Result<()> { @@ -11565,27 +10276,11 @@ impl IDWriteTextLayout4 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextLayout4, ::windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2, IDWriteTextLayout3); -impl ::core::cmp::PartialEq for IDWriteTextLayout4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextLayout4 {} -impl ::core::fmt::Debug for IDWriteTextLayout4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextLayout4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextLayout4 {} unsafe impl ::core::marker::Sync for IDWriteTextLayout4 {} unsafe impl ::windows_core::Interface for IDWriteTextLayout4 { type Vtable = IDWriteTextLayout4_Vtbl; } -impl ::core::clone::Clone for IDWriteTextLayout4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextLayout4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05a9bf42_223f_4441_b5fb_8263685f55e9); } @@ -11601,6 +10296,7 @@ pub struct IDWriteTextLayout4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextRenderer(::windows_core::IUnknown); impl IDWriteTextRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11649,27 +10345,11 @@ impl IDWriteTextRenderer { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextRenderer, ::windows_core::IUnknown, IDWritePixelSnapping); -impl ::core::cmp::PartialEq for IDWriteTextRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextRenderer {} -impl ::core::fmt::Debug for IDWriteTextRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextRenderer").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextRenderer {} unsafe impl ::core::marker::Sync for IDWriteTextRenderer {} unsafe impl ::windows_core::Interface for IDWriteTextRenderer { type Vtable = IDWriteTextRenderer_Vtbl; } -impl ::core::clone::Clone for IDWriteTextRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef8a8135_5cc6_45fe_8825_c5a0724eb819); } @@ -11690,6 +10370,7 @@ pub struct IDWriteTextRenderer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTextRenderer1(::windows_core::IUnknown); impl IDWriteTextRenderer1 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11769,27 +10450,11 @@ impl IDWriteTextRenderer1 { } } ::windows_core::imp::interface_hierarchy!(IDWriteTextRenderer1, ::windows_core::IUnknown, IDWritePixelSnapping, IDWriteTextRenderer); -impl ::core::cmp::PartialEq for IDWriteTextRenderer1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTextRenderer1 {} -impl ::core::fmt::Debug for IDWriteTextRenderer1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTextRenderer1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTextRenderer1 {} unsafe impl ::core::marker::Sync for IDWriteTextRenderer1 {} unsafe impl ::windows_core::Interface for IDWriteTextRenderer1 { type Vtable = IDWriteTextRenderer1_Vtbl; } -impl ::core::clone::Clone for IDWriteTextRenderer1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTextRenderer1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3e0e934_22a0_427e_aae4_7d9574b59db1); } @@ -11810,6 +10475,7 @@ pub struct IDWriteTextRenderer1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDWriteTypography(::windows_core::IUnknown); impl IDWriteTypography { pub unsafe fn AddFontFeature(&self, fontfeature: DWRITE_FONT_FEATURE) -> ::windows_core::Result<()> { @@ -11824,27 +10490,11 @@ impl IDWriteTypography { } } ::windows_core::imp::interface_hierarchy!(IDWriteTypography, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDWriteTypography { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDWriteTypography {} -impl ::core::fmt::Debug for IDWriteTypography { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDWriteTypography").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDWriteTypography {} unsafe impl ::core::marker::Sync for IDWriteTypography {} unsafe impl ::windows_core::Interface for IDWriteTypography { type Vtable = IDWriteTypography_Vtbl; } -impl ::core::clone::Clone for IDWriteTypography { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDWriteTypography { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55f1112b_1dc2_4b3c_9541_f46894ed85b6); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs index b329b091a6..88022ee9fd 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs @@ -44,8 +44,8 @@ impl IDXGIAdapter_Vtbl { CheckInterfaceSupport: CheckInterfaceSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IDXGIAdapter1_Vtbl { } Self { base__: IDXGIAdapter_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IDXGIAdapter2_Vtbl { } Self { base__: IDXGIAdapter1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -157,8 +157,8 @@ impl IDXGIAdapter3_Vtbl { UnregisterVideoMemoryBudgetChangeNotification: UnregisterVideoMemoryBudgetChangeNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IDXGIAdapter4_Vtbl { } Self { base__: IDXGIAdapter3_Vtbl::new::(), GetDesc3: GetDesc3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -196,8 +196,8 @@ impl IDXGIDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportLiveObjects: ReportLiveObjects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IDXGIDebug1_Vtbl { IsLeakTrackingEnabledForThread: IsLeakTrackingEnabledForThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl IDXGIDecodeSwapChain_Vtbl { GetColorSpace: GetColorSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -390,8 +390,8 @@ impl IDXGIDevice_Vtbl { GetGPUThreadPriority: GetGPUThreadPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl IDXGIDevice1_Vtbl { GetMaximumFrameLatency: GetMaximumFrameLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IDXGIDevice2_Vtbl { EnqueueSetEvent: EnqueueSetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IDXGIDevice3_Vtbl { } Self { base__: IDXGIDevice2_Vtbl::new::(), Trim: Trim:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -517,8 +517,8 @@ impl IDXGIDevice4_Vtbl { ReclaimResources1: ReclaimResources1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -535,8 +535,8 @@ impl IDXGIDeviceSubObject_Vtbl { } Self { base__: IDXGIObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -566,8 +566,8 @@ impl IDXGIDisplayControl_Vtbl { SetStereoEnabled: SetStereoEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -636,8 +636,8 @@ impl IDXGIFactory_Vtbl { CreateSoftwareAdapter: CreateSoftwareAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IDXGIFactory1_Vtbl { IsCurrent: IsCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl IDXGIFactory2_Vtbl { CreateSwapChainForComposition: CreateSwapChainForComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IDXGIFactory3_Vtbl { } Self { base__: IDXGIFactory2_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -867,8 +867,8 @@ impl IDXGIFactory4_Vtbl { EnumWarpAdapter: EnumWarpAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -888,8 +888,8 @@ impl IDXGIFactory5_Vtbl { } Self { base__: IDXGIFactory4_Vtbl::new::(), CheckFeatureSupport: CheckFeatureSupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IDXGIFactory6_Vtbl { } Self { base__: IDXGIFactory5_Vtbl::new::(), EnumAdapterByGpuPreference: EnumAdapterByGpuPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IDXGIFactory7_Vtbl { UnregisterAdaptersChangedEvent: UnregisterAdaptersChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl IDXGIFactoryMedia_Vtbl { CreateDecodeSwapChainForCompositionSurfaceHandle: CreateDecodeSwapChainForCompositionSurfaceHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1265,8 +1265,8 @@ impl IDXGIInfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1293,8 +1293,8 @@ impl IDXGIKeyedMutex_Vtbl { ReleaseSync: ReleaseSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1335,8 +1335,8 @@ impl IDXGIObject_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1436,8 +1436,8 @@ impl IDXGIOutput_Vtbl { GetFrameStatistics: GetFrameStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl IDXGIOutput1_Vtbl { DuplicateOutput: DuplicateOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1508,8 +1508,8 @@ impl IDXGIOutput2_Vtbl { } Self { base__: IDXGIOutput1_Vtbl::new::(), SupportsOverlays: SupportsOverlays:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1535,8 +1535,8 @@ impl IDXGIOutput3_Vtbl { } Self { base__: IDXGIOutput2_Vtbl::new::(), CheckOverlaySupport: CheckOverlaySupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1565,8 +1565,8 @@ impl IDXGIOutput4_Vtbl { CheckOverlayColorSpaceSupport: CheckOverlayColorSpaceSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl IDXGIOutput5_Vtbl { } Self { base__: IDXGIOutput4_Vtbl::new::(), DuplicateOutput1: DuplicateOutput1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1629,8 +1629,8 @@ impl IDXGIOutput6_Vtbl { CheckHardwareCompositionSupport: CheckHardwareCompositionSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1708,8 +1708,8 @@ impl IDXGIOutputDuplication_Vtbl { ReleaseFrame: ReleaseFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1771,8 +1771,8 @@ impl IDXGIResource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1814,8 +1814,8 @@ impl IDXGIResource1_Vtbl { CreateSharedHandle: CreateSharedHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1852,8 +1852,8 @@ impl IDXGISurface_Vtbl { Unmap: Unmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IDXGISurface1_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1910,8 +1910,8 @@ impl IDXGISurface2_Vtbl { } Self { base__: IDXGISurface1_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2009,8 +2009,8 @@ impl IDXGISwapChain_Vtbl { GetLastPresentCount: GetLastPresentCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2127,8 +2127,8 @@ impl IDXGISwapChain1_Vtbl { GetRotation: GetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2199,8 +2199,8 @@ impl IDXGISwapChain2_Vtbl { GetMatrixTransform: GetMatrixTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2250,8 +2250,8 @@ impl IDXGISwapChain3_Vtbl { ResizeBuffers1: ResizeBuffers1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2271,8 +2271,8 @@ impl IDXGISwapChain4_Vtbl { } Self { base__: IDXGISwapChain3_Vtbl::new::(), SetHDRMetaData: SetHDRMetaData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -2306,8 +2306,8 @@ impl IDXGISwapChainMedia_Vtbl { CheckPresentDurationSupport: CheckPresentDurationSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -2334,7 +2334,7 @@ impl IDXGraphicsAnalysis_Vtbl { EndCapture: EndCapture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs index c37d40b3e6..7e409d1db4 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -54,6 +54,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIAdapter(::windows_core::IUnknown); impl IDXGIAdapter { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -90,27 +91,11 @@ impl IDXGIAdapter { } } ::windows_core::imp::interface_hierarchy!(IDXGIAdapter, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIAdapter {} -impl ::core::fmt::Debug for IDXGIAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIAdapter").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIAdapter {} unsafe impl ::core::marker::Sync for IDXGIAdapter {} unsafe impl ::windows_core::Interface for IDXGIAdapter { type Vtable = IDXGIAdapter_Vtbl; } -impl ::core::clone::Clone for IDXGIAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2411e7e1_12ac_4ccf_bd14_9798e8534dc0); } @@ -127,6 +112,7 @@ pub struct IDXGIAdapter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIAdapter1(::windows_core::IUnknown); impl IDXGIAdapter1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -168,27 +154,11 @@ impl IDXGIAdapter1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIAdapter1, ::windows_core::IUnknown, IDXGIObject, IDXGIAdapter); -impl ::core::cmp::PartialEq for IDXGIAdapter1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIAdapter1 {} -impl ::core::fmt::Debug for IDXGIAdapter1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIAdapter1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIAdapter1 {} unsafe impl ::core::marker::Sync for IDXGIAdapter1 {} unsafe impl ::windows_core::Interface for IDXGIAdapter1 { type Vtable = IDXGIAdapter1_Vtbl; } -impl ::core::clone::Clone for IDXGIAdapter1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIAdapter1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29038f61_3839_4626_91fd_086879011a05); } @@ -203,6 +173,7 @@ pub struct IDXGIAdapter1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIAdapter2(::windows_core::IUnknown); impl IDXGIAdapter2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -249,27 +220,11 @@ impl IDXGIAdapter2 { } } ::windows_core::imp::interface_hierarchy!(IDXGIAdapter2, ::windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1); -impl ::core::cmp::PartialEq for IDXGIAdapter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIAdapter2 {} -impl ::core::fmt::Debug for IDXGIAdapter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIAdapter2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIAdapter2 {} unsafe impl ::core::marker::Sync for IDXGIAdapter2 {} unsafe impl ::windows_core::Interface for IDXGIAdapter2 { type Vtable = IDXGIAdapter2_Vtbl; } -impl ::core::clone::Clone for IDXGIAdapter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIAdapter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aa1ae0a_fa0e_4b84_8644_e05ff8e5acb5); } @@ -284,6 +239,7 @@ pub struct IDXGIAdapter2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIAdapter3(::windows_core::IUnknown); impl IDXGIAdapter3 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -360,27 +316,11 @@ impl IDXGIAdapter3 { } } ::windows_core::imp::interface_hierarchy!(IDXGIAdapter3, ::windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2); -impl ::core::cmp::PartialEq for IDXGIAdapter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIAdapter3 {} -impl ::core::fmt::Debug for IDXGIAdapter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIAdapter3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIAdapter3 {} unsafe impl ::core::marker::Sync for IDXGIAdapter3 {} unsafe impl ::windows_core::Interface for IDXGIAdapter3 { type Vtable = IDXGIAdapter3_Vtbl; } -impl ::core::clone::Clone for IDXGIAdapter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIAdapter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x645967a4_1392_4310_a798_8053ce3e93fd); } @@ -403,6 +343,7 @@ pub struct IDXGIAdapter3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIAdapter4(::windows_core::IUnknown); impl IDXGIAdapter4 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -484,27 +425,11 @@ impl IDXGIAdapter4 { } } ::windows_core::imp::interface_hierarchy!(IDXGIAdapter4, ::windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2, IDXGIAdapter3); -impl ::core::cmp::PartialEq for IDXGIAdapter4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIAdapter4 {} -impl ::core::fmt::Debug for IDXGIAdapter4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIAdapter4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIAdapter4 {} unsafe impl ::core::marker::Sync for IDXGIAdapter4 {} unsafe impl ::windows_core::Interface for IDXGIAdapter4 { type Vtable = IDXGIAdapter4_Vtbl; } -impl ::core::clone::Clone for IDXGIAdapter4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIAdapter4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c8d99d1_4fbf_4181_a82c_af66bf7bd24e); } @@ -519,6 +444,7 @@ pub struct IDXGIAdapter4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDebug(::windows_core::IUnknown); impl IDXGIDebug { pub unsafe fn ReportLiveObjects(&self, apiid: ::windows_core::GUID, flags: DXGI_DEBUG_RLO_FLAGS) -> ::windows_core::Result<()> { @@ -526,27 +452,11 @@ impl IDXGIDebug { } } ::windows_core::imp::interface_hierarchy!(IDXGIDebug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDebug {} -impl ::core::fmt::Debug for IDXGIDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDebug").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDebug {} unsafe impl ::core::marker::Sync for IDXGIDebug {} unsafe impl ::windows_core::Interface for IDXGIDebug { type Vtable = IDXGIDebug_Vtbl; } -impl ::core::clone::Clone for IDXGIDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x119e7452_de9e_40fe_8806_88f90c12b441); } @@ -558,6 +468,7 @@ pub struct IDXGIDebug_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDebug1(::windows_core::IUnknown); impl IDXGIDebug1 { pub unsafe fn ReportLiveObjects(&self, apiid: ::windows_core::GUID, flags: DXGI_DEBUG_RLO_FLAGS) -> ::windows_core::Result<()> { @@ -576,27 +487,11 @@ impl IDXGIDebug1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIDebug1, ::windows_core::IUnknown, IDXGIDebug); -impl ::core::cmp::PartialEq for IDXGIDebug1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDebug1 {} -impl ::core::fmt::Debug for IDXGIDebug1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDebug1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDebug1 {} unsafe impl ::core::marker::Sync for IDXGIDebug1 {} unsafe impl ::windows_core::Interface for IDXGIDebug1 { type Vtable = IDXGIDebug1_Vtbl; } -impl ::core::clone::Clone for IDXGIDebug1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDebug1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5a05f0c_16f2_4adf_9f4d_a8c4d58ac550); } @@ -613,6 +508,7 @@ pub struct IDXGIDebug1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDecodeSwapChain(::windows_core::IUnknown); impl IDXGIDecodeSwapChain { pub unsafe fn PresentBuffer(&self, buffertopresent: u32, syncinterval: u32, flags: u32) -> ::windows_core::HRESULT { @@ -654,27 +550,11 @@ impl IDXGIDecodeSwapChain { } } ::windows_core::imp::interface_hierarchy!(IDXGIDecodeSwapChain, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIDecodeSwapChain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDecodeSwapChain {} -impl ::core::fmt::Debug for IDXGIDecodeSwapChain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDecodeSwapChain").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDecodeSwapChain {} unsafe impl ::core::marker::Sync for IDXGIDecodeSwapChain {} unsafe impl ::windows_core::Interface for IDXGIDecodeSwapChain { type Vtable = IDXGIDecodeSwapChain_Vtbl; } -impl ::core::clone::Clone for IDXGIDecodeSwapChain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDecodeSwapChain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2633066b_4514_4c7a_8fd8_12ea98059d18); } @@ -706,6 +586,7 @@ pub struct IDXGIDecodeSwapChain_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDevice(::windows_core::IUnknown); impl IDXGIDevice { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -748,27 +629,11 @@ impl IDXGIDevice { } } ::windows_core::imp::interface_hierarchy!(IDXGIDevice, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDevice {} -impl ::core::fmt::Debug for IDXGIDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDevice {} unsafe impl ::core::marker::Sync for IDXGIDevice {} unsafe impl ::windows_core::Interface for IDXGIDevice { type Vtable = IDXGIDevice_Vtbl; } -impl ::core::clone::Clone for IDXGIDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54ec77fa_1377_44e6_8c32_88fd5f44c84c); } @@ -787,6 +652,7 @@ pub struct IDXGIDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDevice1(::windows_core::IUnknown); impl IDXGIDevice1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -836,27 +702,11 @@ impl IDXGIDevice1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIDevice1, ::windows_core::IUnknown, IDXGIObject, IDXGIDevice); -impl ::core::cmp::PartialEq for IDXGIDevice1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDevice1 {} -impl ::core::fmt::Debug for IDXGIDevice1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDevice1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDevice1 {} unsafe impl ::core::marker::Sync for IDXGIDevice1 {} unsafe impl ::windows_core::Interface for IDXGIDevice1 { type Vtable = IDXGIDevice1_Vtbl; } -impl ::core::clone::Clone for IDXGIDevice1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDevice1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77db970f_6276_48ba_ba28_070143b4392c); } @@ -869,6 +719,7 @@ pub struct IDXGIDevice1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDevice2(::windows_core::IUnknown); impl IDXGIDevice2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -934,27 +785,11 @@ impl IDXGIDevice2 { } } ::windows_core::imp::interface_hierarchy!(IDXGIDevice2, ::windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1); -impl ::core::cmp::PartialEq for IDXGIDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDevice2 {} -impl ::core::fmt::Debug for IDXGIDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDevice2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDevice2 {} unsafe impl ::core::marker::Sync for IDXGIDevice2 {} unsafe impl ::windows_core::Interface for IDXGIDevice2 { type Vtable = IDXGIDevice2_Vtbl; } -impl ::core::clone::Clone for IDXGIDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05008617_fbfd_4051_a790_144884b4f6a9); } @@ -974,6 +809,7 @@ pub struct IDXGIDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDevice3(::windows_core::IUnknown); impl IDXGIDevice3 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1042,27 +878,11 @@ impl IDXGIDevice3 { } } ::windows_core::imp::interface_hierarchy!(IDXGIDevice3, ::windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2); -impl ::core::cmp::PartialEq for IDXGIDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDevice3 {} -impl ::core::fmt::Debug for IDXGIDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDevice3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDevice3 {} unsafe impl ::core::marker::Sync for IDXGIDevice3 {} unsafe impl ::windows_core::Interface for IDXGIDevice3 { type Vtable = IDXGIDevice3_Vtbl; } -impl ::core::clone::Clone for IDXGIDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6007896c_3244_4afd_bf18_a6d3beda5023); } @@ -1074,6 +894,7 @@ pub struct IDXGIDevice3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDevice4(::windows_core::IUnknown); impl IDXGIDevice4 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1148,27 +969,11 @@ impl IDXGIDevice4 { } } ::windows_core::imp::interface_hierarchy!(IDXGIDevice4, ::windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2, IDXGIDevice3); -impl ::core::cmp::PartialEq for IDXGIDevice4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDevice4 {} -impl ::core::fmt::Debug for IDXGIDevice4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDevice4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDevice4 {} unsafe impl ::core::marker::Sync for IDXGIDevice4 {} unsafe impl ::windows_core::Interface for IDXGIDevice4 { type Vtable = IDXGIDevice4_Vtbl; } -impl ::core::clone::Clone for IDXGIDevice4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDevice4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95b4f95f_d8da_4ca4_9ee6_3b76d5968a10); } @@ -1181,6 +986,7 @@ pub struct IDXGIDevice4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDeviceSubObject(::windows_core::IUnknown); impl IDXGIDeviceSubObject { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1211,27 +1017,11 @@ impl IDXGIDeviceSubObject { } } ::windows_core::imp::interface_hierarchy!(IDXGIDeviceSubObject, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIDeviceSubObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDeviceSubObject {} -impl ::core::fmt::Debug for IDXGIDeviceSubObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDeviceSubObject").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDeviceSubObject {} unsafe impl ::core::marker::Sync for IDXGIDeviceSubObject {} unsafe impl ::windows_core::Interface for IDXGIDeviceSubObject { type Vtable = IDXGIDeviceSubObject_Vtbl; } -impl ::core::clone::Clone for IDXGIDeviceSubObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDeviceSubObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d3e0379_f9de_4d58_bb6c_18d62992f1a6); } @@ -1243,6 +1033,7 @@ pub struct IDXGIDeviceSubObject_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIDisplayControl(::windows_core::IUnknown); impl IDXGIDisplayControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1260,27 +1051,11 @@ impl IDXGIDisplayControl { } } ::windows_core::imp::interface_hierarchy!(IDXGIDisplayControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIDisplayControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIDisplayControl {} -impl ::core::fmt::Debug for IDXGIDisplayControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIDisplayControl").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIDisplayControl {} unsafe impl ::core::marker::Sync for IDXGIDisplayControl {} unsafe impl ::windows_core::Interface for IDXGIDisplayControl { type Vtable = IDXGIDisplayControl_Vtbl; } -impl ::core::clone::Clone for IDXGIDisplayControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIDisplayControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea9dbf1a_c88e_4486_854a_98aa0138f30c); } @@ -1299,6 +1074,7 @@ pub struct IDXGIDisplayControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory(::windows_core::IUnknown); impl IDXGIFactory { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1357,27 +1133,11 @@ impl IDXGIFactory { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory {} -impl ::core::fmt::Debug for IDXGIFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory {} unsafe impl ::core::marker::Sync for IDXGIFactory {} unsafe impl ::windows_core::Interface for IDXGIFactory { type Vtable = IDXGIFactory_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b7166ec_21c7_44ae_b21a_c9ae321ae369); } @@ -1405,6 +1165,7 @@ pub struct IDXGIFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory1(::windows_core::IUnknown); impl IDXGIFactory1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1472,27 +1233,11 @@ impl IDXGIFactory1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory1, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory); -impl ::core::cmp::PartialEq for IDXGIFactory1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory1 {} -impl ::core::fmt::Debug for IDXGIFactory1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory1 {} unsafe impl ::core::marker::Sync for IDXGIFactory1 {} unsafe impl ::windows_core::Interface for IDXGIFactory1 { type Vtable = IDXGIFactory1_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x770aae78_f26f_4dba_a829_253c83d1b387); } @@ -1508,6 +1253,7 @@ pub struct IDXGIFactory1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory2(::windows_core::IUnknown); impl IDXGIFactory2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1663,27 +1409,11 @@ impl IDXGIFactory2 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory2, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1); -impl ::core::cmp::PartialEq for IDXGIFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory2 {} -impl ::core::fmt::Debug for IDXGIFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory2 {} unsafe impl ::core::marker::Sync for IDXGIFactory2 {} unsafe impl ::windows_core::Interface for IDXGIFactory2 { type Vtable = IDXGIFactory2_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50c83a1c_e072_4c48_87b0_3630fa36a6d0); } @@ -1732,6 +1462,7 @@ pub struct IDXGIFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory3(::windows_core::IUnknown); impl IDXGIFactory3 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1890,27 +1621,11 @@ impl IDXGIFactory3 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory3, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2); -impl ::core::cmp::PartialEq for IDXGIFactory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory3 {} -impl ::core::fmt::Debug for IDXGIFactory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory3 {} unsafe impl ::core::marker::Sync for IDXGIFactory3 {} unsafe impl ::windows_core::Interface for IDXGIFactory3 { type Vtable = IDXGIFactory3_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25483823_cd46_4c7d_86ca_47aa95b837bd); } @@ -1922,6 +1637,7 @@ pub struct IDXGIFactory3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory4(::windows_core::IUnknown); impl IDXGIFactory4 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -2096,27 +1812,11 @@ impl IDXGIFactory4 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory4, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); -impl ::core::cmp::PartialEq for IDXGIFactory4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory4 {} -impl ::core::fmt::Debug for IDXGIFactory4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory4 {} unsafe impl ::core::marker::Sync for IDXGIFactory4 {} unsafe impl ::windows_core::Interface for IDXGIFactory4 { type Vtable = IDXGIFactory4_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bc6ea02_ef36_464f_bf0c_21ca39e5168a); } @@ -2132,6 +1832,7 @@ pub struct IDXGIFactory4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory5(::windows_core::IUnknown); impl IDXGIFactory5 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -2309,27 +2010,11 @@ impl IDXGIFactory5 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory5, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4); -impl ::core::cmp::PartialEq for IDXGIFactory5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory5 {} -impl ::core::fmt::Debug for IDXGIFactory5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory5 {} unsafe impl ::core::marker::Sync for IDXGIFactory5 {} unsafe impl ::windows_core::Interface for IDXGIFactory5 { type Vtable = IDXGIFactory5_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7632e1f5_ee65_4dca_87fd_84cd75f8838d); } @@ -2341,6 +2026,7 @@ pub struct IDXGIFactory5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory6(::windows_core::IUnknown); impl IDXGIFactory6 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -2525,27 +2211,11 @@ impl IDXGIFactory6 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory6, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); -impl ::core::cmp::PartialEq for IDXGIFactory6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory6 {} -impl ::core::fmt::Debug for IDXGIFactory6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory6 {} unsafe impl ::core::marker::Sync for IDXGIFactory6 {} unsafe impl ::windows_core::Interface for IDXGIFactory6 { type Vtable = IDXGIFactory6_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1b6694f_ff09_44a9_b03c_77900a0a1d17); } @@ -2557,6 +2227,7 @@ pub struct IDXGIFactory6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactory7(::windows_core::IUnknown); impl IDXGIFactory7 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -2753,27 +2424,11 @@ impl IDXGIFactory7 { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactory7, ::windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5, IDXGIFactory6); -impl ::core::cmp::PartialEq for IDXGIFactory7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactory7 {} -impl ::core::fmt::Debug for IDXGIFactory7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactory7").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactory7 {} unsafe impl ::core::marker::Sync for IDXGIFactory7 {} unsafe impl ::windows_core::Interface for IDXGIFactory7 { type Vtable = IDXGIFactory7_Vtbl; } -impl ::core::clone::Clone for IDXGIFactory7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactory7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4966eed_76db_44da_84c1_ee9a7afb20a8); } @@ -2789,6 +2444,7 @@ pub struct IDXGIFactory7_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIFactoryMedia(::windows_core::IUnknown); impl IDXGIFactoryMedia { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -2816,27 +2472,11 @@ impl IDXGIFactoryMedia { } } ::windows_core::imp::interface_hierarchy!(IDXGIFactoryMedia, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIFactoryMedia { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIFactoryMedia {} -impl ::core::fmt::Debug for IDXGIFactoryMedia { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIFactoryMedia").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIFactoryMedia {} unsafe impl ::core::marker::Sync for IDXGIFactoryMedia {} unsafe impl ::windows_core::Interface for IDXGIFactoryMedia { type Vtable = IDXGIFactoryMedia_Vtbl; } -impl ::core::clone::Clone for IDXGIFactoryMedia { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIFactoryMedia { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41e7d1f2_a591_4f7b_a2e5_fa9c843e1c12); } @@ -2855,6 +2495,7 @@ pub struct IDXGIFactoryMedia_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIInfoQueue(::windows_core::IUnknown); impl IDXGIInfoQueue { pub unsafe fn SetMessageCountLimit(&self, producer: ::windows_core::GUID, messagecountlimit: u64) -> ::windows_core::Result<()> { @@ -3004,27 +2645,11 @@ impl IDXGIInfoQueue { } } ::windows_core::imp::interface_hierarchy!(IDXGIInfoQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIInfoQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIInfoQueue {} -impl ::core::fmt::Debug for IDXGIInfoQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIInfoQueue").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIInfoQueue {} unsafe impl ::core::marker::Sync for IDXGIInfoQueue {} unsafe impl ::windows_core::Interface for IDXGIInfoQueue { type Vtable = IDXGIInfoQueue_Vtbl; } -impl ::core::clone::Clone for IDXGIInfoQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIInfoQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd67441c7_672a_476f_9e82_cd55b44949ce); } @@ -3096,6 +2721,7 @@ pub struct IDXGIInfoQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIKeyedMutex(::windows_core::IUnknown); impl IDXGIKeyedMutex { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3132,27 +2758,11 @@ impl IDXGIKeyedMutex { } } ::windows_core::imp::interface_hierarchy!(IDXGIKeyedMutex, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); -impl ::core::cmp::PartialEq for IDXGIKeyedMutex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIKeyedMutex {} -impl ::core::fmt::Debug for IDXGIKeyedMutex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIKeyedMutex").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIKeyedMutex {} unsafe impl ::core::marker::Sync for IDXGIKeyedMutex {} unsafe impl ::windows_core::Interface for IDXGIKeyedMutex { type Vtable = IDXGIKeyedMutex_Vtbl; } -impl ::core::clone::Clone for IDXGIKeyedMutex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIKeyedMutex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d8e1289_d7b3_465f_8126_250e349af85d); } @@ -3165,6 +2775,7 @@ pub struct IDXGIKeyedMutex_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIObject(::windows_core::IUnknown); impl IDXGIObject { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3188,27 +2799,11 @@ impl IDXGIObject { } } ::windows_core::imp::interface_hierarchy!(IDXGIObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGIObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIObject {} -impl ::core::fmt::Debug for IDXGIObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIObject").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIObject {} unsafe impl ::core::marker::Sync for IDXGIObject {} unsafe impl ::windows_core::Interface for IDXGIObject { type Vtable = IDXGIObject_Vtbl; } -impl ::core::clone::Clone for IDXGIObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec22fb8_76f3_4639_9be0_28eb43a67a2e); } @@ -3223,6 +2818,7 @@ pub struct IDXGIObject_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput(::windows_core::IUnknown); impl IDXGIOutput { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3309,27 +2905,11 @@ impl IDXGIOutput { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIOutput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput {} -impl ::core::fmt::Debug for IDXGIOutput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput {} unsafe impl ::core::marker::Sync for IDXGIOutput {} unsafe impl ::windows_core::Interface for IDXGIOutput { type Vtable = IDXGIOutput_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae02eedb_c735_4690_8d52_5a8dc20213aa); } @@ -3373,6 +2953,7 @@ pub struct IDXGIOutput_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput1(::windows_core::IUnknown); impl IDXGIOutput1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3485,27 +3066,11 @@ impl IDXGIOutput1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput1, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput); -impl ::core::cmp::PartialEq for IDXGIOutput1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput1 {} -impl ::core::fmt::Debug for IDXGIOutput1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput1 {} unsafe impl ::core::marker::Sync for IDXGIOutput1 {} unsafe impl ::windows_core::Interface for IDXGIOutput1 { type Vtable = IDXGIOutput1_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00cddea8_939b_4b83_a340_a685226666cc); } @@ -3526,6 +3091,7 @@ pub struct IDXGIOutput1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput2(::windows_core::IUnknown); impl IDXGIOutput2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3643,27 +3209,11 @@ impl IDXGIOutput2 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput2, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1); -impl ::core::cmp::PartialEq for IDXGIOutput2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput2 {} -impl ::core::fmt::Debug for IDXGIOutput2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput2 {} unsafe impl ::core::marker::Sync for IDXGIOutput2 {} unsafe impl ::windows_core::Interface for IDXGIOutput2 { type Vtable = IDXGIOutput2_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x595e39d1_2724_4663_99b1_da969de28364); } @@ -3678,6 +3228,7 @@ pub struct IDXGIOutput2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput3(::windows_core::IUnknown); impl IDXGIOutput3 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3804,27 +3355,11 @@ impl IDXGIOutput3 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput3, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2); -impl ::core::cmp::PartialEq for IDXGIOutput3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput3 {} -impl ::core::fmt::Debug for IDXGIOutput3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput3 {} unsafe impl ::core::marker::Sync for IDXGIOutput3 {} unsafe impl ::windows_core::Interface for IDXGIOutput3 { type Vtable = IDXGIOutput3_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a6bb301_7e7e_41f4_a8e0_5b32f7f99b18); } @@ -3839,6 +3374,7 @@ pub struct IDXGIOutput3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput4(::windows_core::IUnknown); impl IDXGIOutput4 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3974,27 +3510,11 @@ impl IDXGIOutput4 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput4, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3); -impl ::core::cmp::PartialEq for IDXGIOutput4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput4 {} -impl ::core::fmt::Debug for IDXGIOutput4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput4 {} unsafe impl ::core::marker::Sync for IDXGIOutput4 {} unsafe impl ::windows_core::Interface for IDXGIOutput4 { type Vtable = IDXGIOutput4_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc7dca35_2196_414d_9f53_617884032a60); } @@ -4009,6 +3529,7 @@ pub struct IDXGIOutput4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput5(::windows_core::IUnknown); impl IDXGIOutput5 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4153,27 +3674,11 @@ impl IDXGIOutput5 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput5, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4); -impl ::core::cmp::PartialEq for IDXGIOutput5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput5 {} -impl ::core::fmt::Debug for IDXGIOutput5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput5").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput5 {} unsafe impl ::core::marker::Sync for IDXGIOutput5 {} unsafe impl ::windows_core::Interface for IDXGIOutput5 { type Vtable = IDXGIOutput5_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80a07424_ab52_42eb_833c_0c42fd282d98); } @@ -4188,6 +3693,7 @@ pub struct IDXGIOutput5_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutput6(::windows_core::IUnknown); impl IDXGIOutput6 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4341,27 +3847,11 @@ impl IDXGIOutput6 { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutput6, ::windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4, IDXGIOutput5); -impl ::core::cmp::PartialEq for IDXGIOutput6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutput6 {} -impl ::core::fmt::Debug for IDXGIOutput6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutput6").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutput6 {} unsafe impl ::core::marker::Sync for IDXGIOutput6 {} unsafe impl ::windows_core::Interface for IDXGIOutput6 { type Vtable = IDXGIOutput6_Vtbl; } -impl ::core::clone::Clone for IDXGIOutput6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutput6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x068346e8_aaec_4b84_add7_137f513f77a1); } @@ -4377,6 +3867,7 @@ pub struct IDXGIOutput6_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIOutputDuplication(::windows_core::IUnknown); impl IDXGIOutputDuplication { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4435,27 +3926,11 @@ impl IDXGIOutputDuplication { } } ::windows_core::imp::interface_hierarchy!(IDXGIOutputDuplication, ::windows_core::IUnknown, IDXGIObject); -impl ::core::cmp::PartialEq for IDXGIOutputDuplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIOutputDuplication {} -impl ::core::fmt::Debug for IDXGIOutputDuplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIOutputDuplication").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIOutputDuplication {} unsafe impl ::core::marker::Sync for IDXGIOutputDuplication {} unsafe impl ::windows_core::Interface for IDXGIOutputDuplication { type Vtable = IDXGIOutputDuplication_Vtbl; } -impl ::core::clone::Clone for IDXGIOutputDuplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIOutputDuplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x191cfac3_a341_470d_b26e_a864f428319c); } @@ -4489,6 +3964,7 @@ pub struct IDXGIOutputDuplication_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIResource(::windows_core::IUnknown); impl IDXGIResource { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4536,27 +4012,11 @@ impl IDXGIResource { } } ::windows_core::imp::interface_hierarchy!(IDXGIResource, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); -impl ::core::cmp::PartialEq for IDXGIResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIResource {} -impl ::core::fmt::Debug for IDXGIResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIResource").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIResource {} unsafe impl ::core::marker::Sync for IDXGIResource {} unsafe impl ::windows_core::Interface for IDXGIResource { type Vtable = IDXGIResource_Vtbl; } -impl ::core::clone::Clone for IDXGIResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x035f3ab4_482e_4e50_b41f_8a7f8bd8960b); } @@ -4574,6 +4034,7 @@ pub struct IDXGIResource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGIResource1(::windows_core::IUnknown); impl IDXGIResource1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4634,27 +4095,11 @@ impl IDXGIResource1 { } } ::windows_core::imp::interface_hierarchy!(IDXGIResource1, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGIResource); -impl ::core::cmp::PartialEq for IDXGIResource1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGIResource1 {} -impl ::core::fmt::Debug for IDXGIResource1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGIResource1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGIResource1 {} unsafe impl ::core::marker::Sync for IDXGIResource1 {} unsafe impl ::windows_core::Interface for IDXGIResource1 { type Vtable = IDXGIResource1_Vtbl; } -impl ::core::clone::Clone for IDXGIResource1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGIResource1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30961379_4609_4a41_998e_54fe567ee0c1); } @@ -4670,6 +4115,7 @@ pub struct IDXGIResource1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISurface(::windows_core::IUnknown); impl IDXGISurface { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4711,27 +4157,11 @@ impl IDXGISurface { } } ::windows_core::imp::interface_hierarchy!(IDXGISurface, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); -impl ::core::cmp::PartialEq for IDXGISurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISurface {} -impl ::core::fmt::Debug for IDXGISurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISurface").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISurface {} unsafe impl ::core::marker::Sync for IDXGISurface {} unsafe impl ::windows_core::Interface for IDXGISurface { type Vtable = IDXGISurface_Vtbl; } -impl ::core::clone::Clone for IDXGISurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafcb56c_6ac3_4889_bf47_9e23bbd260ec); } @@ -4748,6 +4178,7 @@ pub struct IDXGISurface_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISurface1(::windows_core::IUnknown); impl IDXGISurface1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4803,27 +4234,11 @@ impl IDXGISurface1 { } } ::windows_core::imp::interface_hierarchy!(IDXGISurface1, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface); -impl ::core::cmp::PartialEq for IDXGISurface1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISurface1 {} -impl ::core::fmt::Debug for IDXGISurface1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISurface1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISurface1 {} unsafe impl ::core::marker::Sync for IDXGISurface1 {} unsafe impl ::windows_core::Interface for IDXGISurface1 { type Vtable = IDXGISurface1_Vtbl; } -impl ::core::clone::Clone for IDXGISurface1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISurface1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ae63092_6327_4c1b_80ae_bfe12ea32b86); } @@ -4842,6 +4257,7 @@ pub struct IDXGISurface1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISurface2(::windows_core::IUnknown); impl IDXGISurface2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -4904,27 +4320,11 @@ impl IDXGISurface2 { } } ::windows_core::imp::interface_hierarchy!(IDXGISurface2, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); -impl ::core::cmp::PartialEq for IDXGISurface2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISurface2 {} -impl ::core::fmt::Debug for IDXGISurface2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISurface2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISurface2 {} unsafe impl ::core::marker::Sync for IDXGISurface2 {} unsafe impl ::windows_core::Interface for IDXGISurface2 { type Vtable = IDXGISurface2_Vtbl; } -impl ::core::clone::Clone for IDXGISurface2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISurface2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaba496dd_b617_4cb8_a866_bc44d7eb1fa2); } @@ -4936,6 +4336,7 @@ pub struct IDXGISurface2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChain(::windows_core::IUnknown); impl IDXGISwapChain { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5016,27 +4417,11 @@ impl IDXGISwapChain { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChain, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); -impl ::core::cmp::PartialEq for IDXGISwapChain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChain {} -impl ::core::fmt::Debug for IDXGISwapChain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChain").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChain {} unsafe impl ::core::marker::Sync for IDXGISwapChain {} unsafe impl ::windows_core::Interface for IDXGISwapChain { type Vtable = IDXGISwapChain_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x310d36a0_d2e7_4c0a_aa04_6a9d23b8886a); } @@ -5072,6 +4457,7 @@ pub struct IDXGISwapChain_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChain1(::windows_core::IUnknown); impl IDXGISwapChain1 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5207,27 +4593,11 @@ impl IDXGISwapChain1 { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChain1, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain); -impl ::core::cmp::PartialEq for IDXGISwapChain1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChain1 {} -impl ::core::fmt::Debug for IDXGISwapChain1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChain1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChain1 {} unsafe impl ::core::marker::Sync for IDXGISwapChain1 {} unsafe impl ::windows_core::Interface for IDXGISwapChain1 { type Vtable = IDXGISwapChain1_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChain1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChain1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x790a45f7_0d42_4876_983a_0a55cfe6f4aa); } @@ -5270,6 +4640,7 @@ pub struct IDXGISwapChain1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChain2(::windows_core::IUnknown); impl IDXGISwapChain2 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5429,27 +4800,11 @@ impl IDXGISwapChain2 { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChain2, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1); -impl ::core::cmp::PartialEq for IDXGISwapChain2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChain2 {} -impl ::core::fmt::Debug for IDXGISwapChain2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChain2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChain2 {} unsafe impl ::core::marker::Sync for IDXGISwapChain2 {} unsafe impl ::windows_core::Interface for IDXGISwapChain2 { type Vtable = IDXGISwapChain2_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChain2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChain2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8be2ac4_199f_4946_b331_79599fb98de7); } @@ -5470,6 +4825,7 @@ pub struct IDXGISwapChain2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChain3(::windows_core::IUnknown); impl IDXGISwapChain3 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5648,27 +5004,11 @@ impl IDXGISwapChain3 { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChain3, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2); -impl ::core::cmp::PartialEq for IDXGISwapChain3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChain3 {} -impl ::core::fmt::Debug for IDXGISwapChain3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChain3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChain3 {} unsafe impl ::core::marker::Sync for IDXGISwapChain3 {} unsafe impl ::windows_core::Interface for IDXGISwapChain3 { type Vtable = IDXGISwapChain3_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChain3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChain3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94d99bdb_f1f8_4ab0_b236_7da0170edab1); } @@ -5692,6 +5032,7 @@ pub struct IDXGISwapChain3_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChain4(::windows_core::IUnknown); impl IDXGISwapChain4 { pub unsafe fn SetPrivateData(&self, name: *const ::windows_core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5873,27 +5214,11 @@ impl IDXGISwapChain4 { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChain4, ::windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2, IDXGISwapChain3); -impl ::core::cmp::PartialEq for IDXGISwapChain4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChain4 {} -impl ::core::fmt::Debug for IDXGISwapChain4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChain4").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChain4 {} unsafe impl ::core::marker::Sync for IDXGISwapChain4 {} unsafe impl ::windows_core::Interface for IDXGISwapChain4 { type Vtable = IDXGISwapChain4_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChain4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChain4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d585d5a_bd4a_489e_b1f4_3dbcb6452ffb); } @@ -5905,6 +5230,7 @@ pub struct IDXGISwapChain4_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGISwapChainMedia(::windows_core::IUnknown); impl IDXGISwapChainMedia { pub unsafe fn GetFrameStatisticsMedia(&self, pstats: *mut DXGI_FRAME_STATISTICS_MEDIA) -> ::windows_core::Result<()> { @@ -5918,27 +5244,11 @@ impl IDXGISwapChainMedia { } } ::windows_core::imp::interface_hierarchy!(IDXGISwapChainMedia, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGISwapChainMedia { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGISwapChainMedia {} -impl ::core::fmt::Debug for IDXGISwapChainMedia { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGISwapChainMedia").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IDXGISwapChainMedia {} unsafe impl ::core::marker::Sync for IDXGISwapChainMedia {} unsafe impl ::windows_core::Interface for IDXGISwapChainMedia { type Vtable = IDXGISwapChainMedia_Vtbl; } -impl ::core::clone::Clone for IDXGISwapChainMedia { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGISwapChainMedia { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd95b90b_f05f_4f6a_bd65_25bfb264bd84); } @@ -5952,6 +5262,7 @@ pub struct IDXGISwapChainMedia_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXGraphicsAnalysis(::windows_core::IUnknown); impl IDXGraphicsAnalysis { pub unsafe fn BeginCapture(&self) { @@ -5962,25 +5273,9 @@ impl IDXGraphicsAnalysis { } } ::windows_core::imp::interface_hierarchy!(IDXGraphicsAnalysis, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXGraphicsAnalysis { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXGraphicsAnalysis {} -impl ::core::fmt::Debug for IDXGraphicsAnalysis { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXGraphicsAnalysis").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXGraphicsAnalysis { type Vtable = IDXGraphicsAnalysis_Vtbl; } -impl ::core::clone::Clone for IDXGraphicsAnalysis { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXGraphicsAnalysis { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f251514_9d4d_4902_9d60_18988ab7d4b5); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs index 7587bd85af..9cf5a468de 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs @@ -32,8 +32,8 @@ impl IWICImageEncoder_Vtbl { WriteThumbnail: WriteThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging_D2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -59,7 +59,7 @@ impl IWICImagingFactory2_Vtbl { } Self { base__: super::IWICImagingFactory_Vtbl::new::(), CreateImageEncoder: CreateImageEncoder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs index ef07816b6c..203bbbdf98 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Graphics_Imaging_D2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICImageEncoder(::windows_core::IUnknown); impl IWICImageEncoder { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -31,25 +32,9 @@ impl IWICImageEncoder { } } ::windows_core::imp::interface_hierarchy!(IWICImageEncoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICImageEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICImageEncoder {} -impl ::core::fmt::Debug for IWICImageEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICImageEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICImageEncoder { type Vtable = IWICImageEncoder_Vtbl; } -impl ::core::clone::Clone for IWICImageEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICImageEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04c75bf8_3ce1_473b_acc5_3cc4f5e94999); } @@ -72,6 +57,7 @@ pub struct IWICImageEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging_D2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICImagingFactory2(::windows_core::IUnknown); impl IWICImagingFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -225,25 +211,9 @@ impl IWICImagingFactory2 { } } ::windows_core::imp::interface_hierarchy!(IWICImagingFactory2, ::windows_core::IUnknown, super::IWICImagingFactory); -impl ::core::cmp::PartialEq for IWICImagingFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICImagingFactory2 {} -impl ::core::fmt::Debug for IWICImagingFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICImagingFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICImagingFactory2 { type Vtable = IWICImagingFactory2_Vtbl; } -impl ::core::clone::Clone for IWICImagingFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICImagingFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b816b45_1996_4476_b132_de9e247c8af0); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index 3cdacbb5f7..d0696d59a6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -35,8 +35,8 @@ impl IWICBitmap_Vtbl { SetResolution: SetResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IWICBitmapClipper_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl IWICBitmapCodecInfo_Vtbl { MatchesMimeType: MatchesMimeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -211,8 +211,8 @@ impl IWICBitmapCodecProgressNotification_Vtbl { RegisterProgressNotification: RegisterProgressNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl IWICBitmapDecoder_Vtbl { GetFrame: GetFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IWICBitmapDecoderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IWICBitmapEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -535,8 +535,8 @@ impl IWICBitmapEncoderInfo_Vtbl { } Self { base__: IWICBitmapCodecInfo_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IWICBitmapFlipRotator_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IWICBitmapFrameDecode_Vtbl { GetThumbnail: GetThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -700,8 +700,8 @@ impl IWICBitmapFrameEncode_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IWICBitmapLock_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IWICBitmapScaler_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -827,8 +827,8 @@ impl IWICBitmapSource_Vtbl { CopyPixels: CopyPixels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -878,8 +878,8 @@ impl IWICBitmapSourceTransform_Vtbl { DoesSupportTransform: DoesSupportTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IWICColorContext_Vtbl { GetExifColorSpace: GetExifColorSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IWICColorTransform_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IWICComponentFactory_Vtbl { CreateEncoderPropertyBag: CreateEncoderPropertyBag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1166,8 +1166,8 @@ impl IWICComponentInfo_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1203,8 +1203,8 @@ impl IWICDdsDecoder_Vtbl { GetFrame: GetFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl IWICDdsEncoder_Vtbl { CreateNewFrame: CreateNewFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IWICDdsFrameDecode_Vtbl { CopyBlocks: CopyBlocks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1598,8 +1598,8 @@ impl IWICDevelopRaw_Vtbl { SetNotificationCallback: SetNotificationCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1616,8 +1616,8 @@ impl IWICDevelopRawNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IWICEnumMetadataItem_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1701,8 +1701,8 @@ impl IWICFastMetadataEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1738,8 +1738,8 @@ impl IWICFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1772,8 +1772,8 @@ impl IWICFormatConverterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2114,8 +2114,8 @@ impl IWICImagingFactory_Vtbl { CreateQueryWriterFromReader: CreateQueryWriterFromReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2207,8 +2207,8 @@ impl IWICJpegFrameDecode_Vtbl { CopyMinimalStream: CopyMinimalStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl IWICJpegFrameEncode_Vtbl { WriteScan: WriteScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2321,8 +2321,8 @@ impl IWICMetadataBlockReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2379,8 +2379,8 @@ impl IWICMetadataBlockWriter_Vtbl { RemoveWriterByIndex: RemoveWriterByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2469,8 +2469,8 @@ impl IWICMetadataHandlerInfo_Vtbl { DoesRequireFixedSize: DoesRequireFixedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2526,8 +2526,8 @@ impl IWICMetadataQueryReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2557,8 +2557,8 @@ impl IWICMetadataQueryWriter_Vtbl { RemoveMetadataByName: RemoveMetadataByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl IWICMetadataReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2690,8 +2690,8 @@ impl IWICMetadataReaderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2735,8 +2735,8 @@ impl IWICMetadataWriter_Vtbl { RemoveValueByIndex: RemoveValueByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2772,8 +2772,8 @@ impl IWICMetadataWriterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2889,8 +2889,8 @@ impl IWICPalette_Vtbl { HasAlpha: HasAlpha::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2920,8 +2920,8 @@ impl IWICPersistStream_Vtbl { SaveEx: SaveEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2993,8 +2993,8 @@ impl IWICPixelFormatInfo_Vtbl { GetChannelMask: GetChannelMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl IWICPixelFormatInfo2_Vtbl { GetNumericRepresentation: GetNumericRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3064,8 +3064,8 @@ impl IWICPlanarBitmapFrameEncode_Vtbl { WriteSource: WriteSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3095,8 +3095,8 @@ impl IWICPlanarBitmapSourceTransform_Vtbl { CopyPixels: CopyPixels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3132,8 +3132,8 @@ impl IWICPlanarFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3150,8 +3150,8 @@ impl IWICProgressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3197,8 +3197,8 @@ impl IWICProgressiveLevelControl_Vtbl { SetCurrentLevel: SetCurrentLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3242,8 +3242,8 @@ impl IWICStream_Vtbl { InitializeFromIStreamRegion: InitializeFromIStreamRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3305,7 +3305,7 @@ impl IWICStreamProvider_Vtbl { RefreshStream: RefreshStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs index f0487bb7fb..6f86cde622 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -91,6 +91,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmap(::windows_core::IUnknown); impl IWICBitmap { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -127,25 +128,9 @@ impl IWICBitmap { } } ::windows_core::imp::interface_hierarchy!(IWICBitmap, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmap {} -impl ::core::fmt::Debug for IWICBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmap { type Vtable = IWICBitmap_Vtbl; } -impl ::core::clone::Clone for IWICBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000121_a8f2_4877_ba0a_fd2b6645fb94); } @@ -159,6 +144,7 @@ pub struct IWICBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapClipper(::windows_core::IUnknown); impl IWICBitmapClipper { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -188,25 +174,9 @@ impl IWICBitmapClipper { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapClipper, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICBitmapClipper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapClipper {} -impl ::core::fmt::Debug for IWICBitmapClipper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapClipper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapClipper { type Vtable = IWICBitmapClipper_Vtbl; } -impl ::core::clone::Clone for IWICBitmapClipper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapClipper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4fbcf03_223d_4e81_9333_d635556dd1b5); } @@ -218,6 +188,7 @@ pub struct IWICBitmapClipper_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapCodecInfo(::windows_core::IUnknown); impl IWICBitmapCodecInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -305,25 +276,9 @@ impl IWICBitmapCodecInfo { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapCodecInfo, ::windows_core::IUnknown, IWICComponentInfo); -impl ::core::cmp::PartialEq for IWICBitmapCodecInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapCodecInfo {} -impl ::core::fmt::Debug for IWICBitmapCodecInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapCodecInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapCodecInfo { type Vtable = IWICBitmapCodecInfo_Vtbl; } -impl ::core::clone::Clone for IWICBitmapCodecInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapCodecInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe87a44c4_b76e_4c47_8b09_298eb12a2714); } @@ -361,6 +316,7 @@ pub struct IWICBitmapCodecInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapCodecProgressNotification(::windows_core::IUnknown); impl IWICBitmapCodecProgressNotification { pub unsafe fn RegisterProgressNotification(&self, pfnprogressnotification: PFNProgressNotification, pvdata: ::core::option::Option<*const ::core::ffi::c_void>, dwprogressflags: u32) -> ::windows_core::Result<()> { @@ -368,25 +324,9 @@ impl IWICBitmapCodecProgressNotification { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapCodecProgressNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapCodecProgressNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapCodecProgressNotification {} -impl ::core::fmt::Debug for IWICBitmapCodecProgressNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapCodecProgressNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapCodecProgressNotification { type Vtable = IWICBitmapCodecProgressNotification_Vtbl; } -impl ::core::clone::Clone for IWICBitmapCodecProgressNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapCodecProgressNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64c1024e_c3cf_4462_8078_88c2b11c46d9); } @@ -398,6 +338,7 @@ pub struct IWICBitmapCodecProgressNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapDecoder(::windows_core::IUnknown); impl IWICBitmapDecoder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -456,25 +397,9 @@ impl IWICBitmapDecoder { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapDecoder {} -impl ::core::fmt::Debug for IWICBitmapDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapDecoder { type Vtable = IWICBitmapDecoder_Vtbl; } -impl ::core::clone::Clone for IWICBitmapDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9edde9e7_8dee_47ea_99df_e6faf2ed44bf); } @@ -502,6 +427,7 @@ pub struct IWICBitmapDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapDecoderInfo(::windows_core::IUnknown); impl IWICBitmapDecoderInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -607,25 +533,9 @@ impl IWICBitmapDecoderInfo { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapDecoderInfo, ::windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); -impl ::core::cmp::PartialEq for IWICBitmapDecoderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapDecoderInfo {} -impl ::core::fmt::Debug for IWICBitmapDecoderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapDecoderInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapDecoderInfo { type Vtable = IWICBitmapDecoderInfo_Vtbl; } -impl ::core::clone::Clone for IWICBitmapDecoderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapDecoderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8cd007f_d08f_4191_9bfc_236ea7f0e4b5); } @@ -645,6 +555,7 @@ pub struct IWICBitmapDecoderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapEncoder(::windows_core::IUnknown); impl IWICBitmapEncoder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -698,25 +609,9 @@ impl IWICBitmapEncoder { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapEncoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapEncoder {} -impl ::core::fmt::Debug for IWICBitmapEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapEncoder { type Vtable = IWICBitmapEncoder_Vtbl; } -impl ::core::clone::Clone for IWICBitmapEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000103_a8f2_4877_ba0a_fd2b6645fb94); } @@ -743,6 +638,7 @@ pub struct IWICBitmapEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapEncoderInfo(::windows_core::IUnknown); impl IWICBitmapEncoderInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -834,25 +730,9 @@ impl IWICBitmapEncoderInfo { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapEncoderInfo, ::windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); -impl ::core::cmp::PartialEq for IWICBitmapEncoderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapEncoderInfo {} -impl ::core::fmt::Debug for IWICBitmapEncoderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapEncoderInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapEncoderInfo { type Vtable = IWICBitmapEncoderInfo_Vtbl; } -impl ::core::clone::Clone for IWICBitmapEncoderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapEncoderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94c9b4ee_a09f_4f92_8a1e_4a9bce7e76fb); } @@ -864,6 +744,7 @@ pub struct IWICBitmapEncoderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapFlipRotator(::windows_core::IUnknown); impl IWICBitmapFlipRotator { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -893,25 +774,9 @@ impl IWICBitmapFlipRotator { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapFlipRotator, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICBitmapFlipRotator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapFlipRotator {} -impl ::core::fmt::Debug for IWICBitmapFlipRotator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapFlipRotator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapFlipRotator { type Vtable = IWICBitmapFlipRotator_Vtbl; } -impl ::core::clone::Clone for IWICBitmapFlipRotator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapFlipRotator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5009834f_2d6a_41ce_9e1b_17c5aff7a782); } @@ -923,6 +788,7 @@ pub struct IWICBitmapFlipRotator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapFrameDecode(::windows_core::IUnknown); impl IWICBitmapFrameDecode { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -957,25 +823,9 @@ impl IWICBitmapFrameDecode { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapFrameDecode, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICBitmapFrameDecode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapFrameDecode {} -impl ::core::fmt::Debug for IWICBitmapFrameDecode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapFrameDecode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapFrameDecode { type Vtable = IWICBitmapFrameDecode_Vtbl; } -impl ::core::clone::Clone for IWICBitmapFrameDecode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapFrameDecode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b16811b_6a43_4ec9_a813_3d930c13b940); } @@ -989,6 +839,7 @@ pub struct IWICBitmapFrameDecode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapFrameEncode(::windows_core::IUnknown); impl IWICBitmapFrameEncode { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1041,25 +892,9 @@ impl IWICBitmapFrameEncode { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapFrameEncode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapFrameEncode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapFrameEncode {} -impl ::core::fmt::Debug for IWICBitmapFrameEncode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapFrameEncode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapFrameEncode { type Vtable = IWICBitmapFrameEncode_Vtbl; } -impl ::core::clone::Clone for IWICBitmapFrameEncode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapFrameEncode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000105_a8f2_4877_ba0a_fd2b6645fb94); } @@ -1084,6 +919,7 @@ pub struct IWICBitmapFrameEncode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapLock(::windows_core::IUnknown); impl IWICBitmapLock { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -1102,25 +938,9 @@ impl IWICBitmapLock { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapLock {} -impl ::core::fmt::Debug for IWICBitmapLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapLock { type Vtable = IWICBitmapLock_Vtbl; } -impl ::core::clone::Clone for IWICBitmapLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000123_a8f2_4877_ba0a_fd2b6645fb94); } @@ -1135,6 +955,7 @@ pub struct IWICBitmapLock_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapScaler(::windows_core::IUnknown); impl IWICBitmapScaler { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -1164,25 +985,9 @@ impl IWICBitmapScaler { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapScaler, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICBitmapScaler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapScaler {} -impl ::core::fmt::Debug for IWICBitmapScaler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapScaler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapScaler { type Vtable = IWICBitmapScaler_Vtbl; } -impl ::core::clone::Clone for IWICBitmapScaler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapScaler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000302_a8f2_4877_ba0a_fd2b6645fb94); } @@ -1194,6 +999,7 @@ pub struct IWICBitmapScaler_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapSource(::windows_core::IUnknown); impl IWICBitmapSource { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -1217,25 +1023,9 @@ impl IWICBitmapSource { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapSource {} -impl ::core::fmt::Debug for IWICBitmapSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapSource { type Vtable = IWICBitmapSource_Vtbl; } -impl ::core::clone::Clone for IWICBitmapSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000120_a8f2_4877_ba0a_fd2b6645fb94); } @@ -1251,6 +1041,7 @@ pub struct IWICBitmapSource_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICBitmapSourceTransform(::windows_core::IUnknown); impl IWICBitmapSourceTransform { pub unsafe fn CopyPixels(&self, prc: *const WICRect, uiwidth: u32, uiheight: u32, pguiddstformat: *const ::windows_core::GUID, dsttransform: WICBitmapTransformOptions, nstride: u32, pbbuffer: &mut [u8]) -> ::windows_core::Result<()> { @@ -1270,25 +1061,9 @@ impl IWICBitmapSourceTransform { } } ::windows_core::imp::interface_hierarchy!(IWICBitmapSourceTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICBitmapSourceTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICBitmapSourceTransform {} -impl ::core::fmt::Debug for IWICBitmapSourceTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICBitmapSourceTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICBitmapSourceTransform { type Vtable = IWICBitmapSourceTransform_Vtbl; } -impl ::core::clone::Clone for IWICBitmapSourceTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICBitmapSourceTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b16811b_6a43_4ec9_b713_3d5a0c13b940); } @@ -1306,6 +1081,7 @@ pub struct IWICBitmapSourceTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICColorContext(::windows_core::IUnknown); impl IWICColorContext { pub unsafe fn InitializeFromFilename(&self, wzfilename: P0) -> ::windows_core::Result<()> @@ -1333,25 +1109,9 @@ impl IWICColorContext { } } ::windows_core::imp::interface_hierarchy!(IWICColorContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICColorContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICColorContext {} -impl ::core::fmt::Debug for IWICColorContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICColorContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICColorContext { type Vtable = IWICColorContext_Vtbl; } -impl ::core::clone::Clone for IWICColorContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICColorContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c613a02_34b2_44ea_9a7c_45aea9c6fd6d); } @@ -1368,6 +1128,7 @@ pub struct IWICColorContext_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICColorTransform(::windows_core::IUnknown); impl IWICColorTransform { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -1399,25 +1160,9 @@ impl IWICColorTransform { } } ::windows_core::imp::interface_hierarchy!(IWICColorTransform, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICColorTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICColorTransform {} -impl ::core::fmt::Debug for IWICColorTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICColorTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICColorTransform { type Vtable = IWICColorTransform_Vtbl; } -impl ::core::clone::Clone for IWICColorTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICColorTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb66f034f_d0e2_40ab_b436_6de39e321a94); } @@ -1429,6 +1174,7 @@ pub struct IWICColorTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICComponentFactory(::windows_core::IUnknown); impl IWICComponentFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1622,25 +1368,9 @@ impl IWICComponentFactory { } } ::windows_core::imp::interface_hierarchy!(IWICComponentFactory, ::windows_core::IUnknown, IWICImagingFactory); -impl ::core::cmp::PartialEq for IWICComponentFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICComponentFactory {} -impl ::core::fmt::Debug for IWICComponentFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICComponentFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICComponentFactory { type Vtable = IWICComponentFactory_Vtbl; } -impl ::core::clone::Clone for IWICComponentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICComponentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x412d0c3a_9650_44fa_af5b_dd2a06c8e8fb); } @@ -1667,6 +1397,7 @@ pub struct IWICComponentFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICComponentInfo(::windows_core::IUnknown); impl IWICComponentInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -1699,25 +1430,9 @@ impl IWICComponentInfo { } } ::windows_core::imp::interface_hierarchy!(IWICComponentInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICComponentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICComponentInfo {} -impl ::core::fmt::Debug for IWICComponentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICComponentInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICComponentInfo { type Vtable = IWICComponentInfo_Vtbl; } -impl ::core::clone::Clone for IWICComponentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICComponentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23bc3f0a_698b_4357_886b_f24d50671334); } @@ -1736,6 +1451,7 @@ pub struct IWICComponentInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICDdsDecoder(::windows_core::IUnknown); impl IWICDdsDecoder { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -1749,25 +1465,9 @@ impl IWICDdsDecoder { } } ::windows_core::imp::interface_hierarchy!(IWICDdsDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICDdsDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICDdsDecoder {} -impl ::core::fmt::Debug for IWICDdsDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICDdsDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICDdsDecoder { type Vtable = IWICDdsDecoder_Vtbl; } -impl ::core::clone::Clone for IWICDdsDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICDdsDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x409cd537_8532_40cb_9774_e2feb2df4e9c); } @@ -1783,6 +1483,7 @@ pub struct IWICDdsDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICDdsEncoder(::windows_core::IUnknown); impl IWICDdsEncoder { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -1800,25 +1501,9 @@ impl IWICDdsEncoder { } } ::windows_core::imp::interface_hierarchy!(IWICDdsEncoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICDdsEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICDdsEncoder {} -impl ::core::fmt::Debug for IWICDdsEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICDdsEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICDdsEncoder { type Vtable = IWICDdsEncoder_Vtbl; } -impl ::core::clone::Clone for IWICDdsEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICDdsEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cacdb4c_407e_41b3_b936_d0f010cd6732); } @@ -1838,6 +1523,7 @@ pub struct IWICDdsEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICDdsFrameDecode(::windows_core::IUnknown); impl IWICDdsFrameDecode { pub unsafe fn GetSizeInBlocks(&self, pwidthinblocks: *mut u32, pheightinblocks: *mut u32) -> ::windows_core::Result<()> { @@ -1854,25 +1540,9 @@ impl IWICDdsFrameDecode { } } ::windows_core::imp::interface_hierarchy!(IWICDdsFrameDecode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICDdsFrameDecode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICDdsFrameDecode {} -impl ::core::fmt::Debug for IWICDdsFrameDecode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICDdsFrameDecode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICDdsFrameDecode { type Vtable = IWICDdsFrameDecode_Vtbl; } -impl ::core::clone::Clone for IWICDdsFrameDecode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICDdsFrameDecode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d4c0c61_18a4_41e4_bd80_481a4fc9f464); } @@ -1889,6 +1559,7 @@ pub struct IWICDdsFrameDecode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICDevelopRaw(::windows_core::IUnknown); impl IWICDevelopRaw { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -2039,25 +1710,9 @@ impl IWICDevelopRaw { } } ::windows_core::imp::interface_hierarchy!(IWICDevelopRaw, ::windows_core::IUnknown, IWICBitmapSource, IWICBitmapFrameDecode); -impl ::core::cmp::PartialEq for IWICDevelopRaw { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICDevelopRaw {} -impl ::core::fmt::Debug for IWICDevelopRaw { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICDevelopRaw").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICDevelopRaw { type Vtable = IWICDevelopRaw_Vtbl; } -impl ::core::clone::Clone for IWICDevelopRaw { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICDevelopRaw { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbec5e44_f7be_4b65_b7f8_c0c81fef026d); } @@ -2103,6 +1758,7 @@ pub struct IWICDevelopRaw_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICDevelopRawNotificationCallback(::windows_core::IUnknown); impl IWICDevelopRawNotificationCallback { pub unsafe fn Notify(&self, notificationmask: u32) -> ::windows_core::Result<()> { @@ -2110,25 +1766,9 @@ impl IWICDevelopRawNotificationCallback { } } ::windows_core::imp::interface_hierarchy!(IWICDevelopRawNotificationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICDevelopRawNotificationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICDevelopRawNotificationCallback {} -impl ::core::fmt::Debug for IWICDevelopRawNotificationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICDevelopRawNotificationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICDevelopRawNotificationCallback { type Vtable = IWICDevelopRawNotificationCallback_Vtbl; } -impl ::core::clone::Clone for IWICDevelopRawNotificationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICDevelopRawNotificationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95c75a6e_3e8c_4ec2_85a8_aebcc551e59b); } @@ -2140,6 +1780,7 @@ pub struct IWICDevelopRawNotificationCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICEnumMetadataItem(::windows_core::IUnknown); impl IWICEnumMetadataItem { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -2159,25 +1800,9 @@ impl IWICEnumMetadataItem { } } ::windows_core::imp::interface_hierarchy!(IWICEnumMetadataItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICEnumMetadataItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICEnumMetadataItem {} -impl ::core::fmt::Debug for IWICEnumMetadataItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICEnumMetadataItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICEnumMetadataItem { type Vtable = IWICEnumMetadataItem_Vtbl; } -impl ::core::clone::Clone for IWICEnumMetadataItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICEnumMetadataItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc2bb46d_3f07_481e_8625_220c4aedbb33); } @@ -2195,6 +1820,7 @@ pub struct IWICEnumMetadataItem_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICFastMetadataEncoder(::windows_core::IUnknown); impl IWICFastMetadataEncoder { pub unsafe fn Commit(&self) -> ::windows_core::Result<()> { @@ -2206,25 +1832,9 @@ impl IWICFastMetadataEncoder { } } ::windows_core::imp::interface_hierarchy!(IWICFastMetadataEncoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICFastMetadataEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICFastMetadataEncoder {} -impl ::core::fmt::Debug for IWICFastMetadataEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICFastMetadataEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICFastMetadataEncoder { type Vtable = IWICFastMetadataEncoder_Vtbl; } -impl ::core::clone::Clone for IWICFastMetadataEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICFastMetadataEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb84e2c09_78c9_4ac4_8bd3_524ae1663a2f); } @@ -2237,6 +1847,7 @@ pub struct IWICFastMetadataEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICFormatConverter(::windows_core::IUnknown); impl IWICFormatConverter { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -2273,25 +1884,9 @@ impl IWICFormatConverter { } } ::windows_core::imp::interface_hierarchy!(IWICFormatConverter, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICFormatConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICFormatConverter {} -impl ::core::fmt::Debug for IWICFormatConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICFormatConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICFormatConverter { type Vtable = IWICFormatConverter_Vtbl; } -impl ::core::clone::Clone for IWICFormatConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICFormatConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000301_a8f2_4877_ba0a_fd2b6645fb94); } @@ -2307,6 +1902,7 @@ pub struct IWICFormatConverter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICFormatConverterInfo(::windows_core::IUnknown); impl IWICFormatConverterInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -2346,25 +1942,9 @@ impl IWICFormatConverterInfo { } } ::windows_core::imp::interface_hierarchy!(IWICFormatConverterInfo, ::windows_core::IUnknown, IWICComponentInfo); -impl ::core::cmp::PartialEq for IWICFormatConverterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICFormatConverterInfo {} -impl ::core::fmt::Debug for IWICFormatConverterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICFormatConverterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICFormatConverterInfo { type Vtable = IWICFormatConverterInfo_Vtbl; } -impl ::core::clone::Clone for IWICFormatConverterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICFormatConverterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f34fb65_13f4_4f15_bc57_3726b5e53d9f); } @@ -2377,6 +1957,7 @@ pub struct IWICFormatConverterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICImagingFactory(::windows_core::IUnknown); impl IWICImagingFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2521,25 +2102,9 @@ impl IWICImagingFactory { } } ::windows_core::imp::interface_hierarchy!(IWICImagingFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICImagingFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICImagingFactory {} -impl ::core::fmt::Debug for IWICImagingFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICImagingFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICImagingFactory { type Vtable = IWICImagingFactory_Vtbl; } -impl ::core::clone::Clone for IWICImagingFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICImagingFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec5ec8a9_c395_4314_9c77_54d7a935ff70); } @@ -2593,6 +2158,7 @@ pub struct IWICImagingFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICJpegFrameDecode(::windows_core::IUnknown); impl IWICJpegFrameDecode { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2636,25 +2202,9 @@ impl IWICJpegFrameDecode { } } ::windows_core::imp::interface_hierarchy!(IWICJpegFrameDecode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICJpegFrameDecode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICJpegFrameDecode {} -impl ::core::fmt::Debug for IWICJpegFrameDecode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICJpegFrameDecode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICJpegFrameDecode { type Vtable = IWICJpegFrameDecode_Vtbl; } -impl ::core::clone::Clone for IWICJpegFrameDecode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICJpegFrameDecode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8939f66e_c46a_4c21_a9d1_98b327ce1679); } @@ -2687,6 +2237,7 @@ pub struct IWICJpegFrameDecode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICJpegFrameEncode(::windows_core::IUnknown); impl IWICJpegFrameEncode { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -2709,25 +2260,9 @@ impl IWICJpegFrameEncode { } } ::windows_core::imp::interface_hierarchy!(IWICJpegFrameEncode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICJpegFrameEncode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICJpegFrameEncode {} -impl ::core::fmt::Debug for IWICJpegFrameEncode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICJpegFrameEncode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICJpegFrameEncode { type Vtable = IWICJpegFrameEncode_Vtbl; } -impl ::core::clone::Clone for IWICJpegFrameEncode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICJpegFrameEncode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f0c601f_d2c6_468c_abfa_49495d983ed1); } @@ -2751,6 +2286,7 @@ pub struct IWICJpegFrameEncode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataBlockReader(::windows_core::IUnknown); impl IWICMetadataBlockReader { pub unsafe fn GetContainerFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2773,25 +2309,9 @@ impl IWICMetadataBlockReader { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataBlockReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICMetadataBlockReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataBlockReader {} -impl ::core::fmt::Debug for IWICMetadataBlockReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataBlockReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataBlockReader { type Vtable = IWICMetadataBlockReader_Vtbl; } -impl ::core::clone::Clone for IWICMetadataBlockReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataBlockReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeaa2a8d_b3f3_43e4_b25c_d1de990a1ae1); } @@ -2809,6 +2329,7 @@ pub struct IWICMetadataBlockReader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataBlockWriter(::windows_core::IUnknown); impl IWICMetadataBlockWriter { pub unsafe fn GetContainerFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2856,25 +2377,9 @@ impl IWICMetadataBlockWriter { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataBlockWriter, ::windows_core::IUnknown, IWICMetadataBlockReader); -impl ::core::cmp::PartialEq for IWICMetadataBlockWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataBlockWriter {} -impl ::core::fmt::Debug for IWICMetadataBlockWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataBlockWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataBlockWriter { type Vtable = IWICMetadataBlockWriter_Vtbl; } -impl ::core::clone::Clone for IWICMetadataBlockWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataBlockWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08fb9676_b444_41e8_8dbe_6a53a542bff1); } @@ -2890,6 +2395,7 @@ pub struct IWICMetadataBlockWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataHandlerInfo(::windows_core::IUnknown); impl IWICMetadataHandlerInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -2953,25 +2459,9 @@ impl IWICMetadataHandlerInfo { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataHandlerInfo, ::windows_core::IUnknown, IWICComponentInfo); -impl ::core::cmp::PartialEq for IWICMetadataHandlerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataHandlerInfo {} -impl ::core::fmt::Debug for IWICMetadataHandlerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataHandlerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataHandlerInfo { type Vtable = IWICMetadataHandlerInfo_Vtbl; } -impl ::core::clone::Clone for IWICMetadataHandlerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataHandlerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaba958bf_c672_44d1_8d61_ce6df2e682c2); } @@ -2998,6 +2488,7 @@ pub struct IWICMetadataHandlerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataQueryReader(::windows_core::IUnknown); impl IWICMetadataQueryReader { pub unsafe fn GetContainerFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3023,25 +2514,9 @@ impl IWICMetadataQueryReader { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataQueryReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICMetadataQueryReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataQueryReader {} -impl ::core::fmt::Debug for IWICMetadataQueryReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataQueryReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataQueryReader { type Vtable = IWICMetadataQueryReader_Vtbl; } -impl ::core::clone::Clone for IWICMetadataQueryReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataQueryReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30989668_e1c9_4597_b395_458eedb808df); } @@ -3062,6 +2537,7 @@ pub struct IWICMetadataQueryReader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataQueryWriter(::windows_core::IUnknown); impl IWICMetadataQueryWriter { pub unsafe fn GetContainerFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3101,25 +2577,9 @@ impl IWICMetadataQueryWriter { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataQueryWriter, ::windows_core::IUnknown, IWICMetadataQueryReader); -impl ::core::cmp::PartialEq for IWICMetadataQueryWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataQueryWriter {} -impl ::core::fmt::Debug for IWICMetadataQueryWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataQueryWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataQueryWriter { type Vtable = IWICMetadataQueryWriter_Vtbl; } -impl ::core::clone::Clone for IWICMetadataQueryWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataQueryWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa721791a_0def_4d06_bd91_2118bf1db10b); } @@ -3135,6 +2595,7 @@ pub struct IWICMetadataQueryWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataReader(::windows_core::IUnknown); impl IWICMetadataReader { pub unsafe fn GetMetadataFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3165,25 +2626,9 @@ impl IWICMetadataReader { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICMetadataReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataReader {} -impl ::core::fmt::Debug for IWICMetadataReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataReader { type Vtable = IWICMetadataReader_Vtbl; } -impl ::core::clone::Clone for IWICMetadataReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9204fe99_d8fc_4fd5_a001_9536b067a899); } @@ -3206,6 +2651,7 @@ pub struct IWICMetadataReader_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataReaderInfo(::windows_core::IUnknown); impl IWICMetadataReaderInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -3285,25 +2731,9 @@ impl IWICMetadataReaderInfo { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataReaderInfo, ::windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); -impl ::core::cmp::PartialEq for IWICMetadataReaderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataReaderInfo {} -impl ::core::fmt::Debug for IWICMetadataReaderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataReaderInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataReaderInfo { type Vtable = IWICMetadataReaderInfo_Vtbl; } -impl ::core::clone::Clone for IWICMetadataReaderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataReaderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeebf1f5b_07c1_4447_a3ab_22acaf78a804); } @@ -3320,6 +2750,7 @@ pub struct IWICMetadataReaderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataWriter(::windows_core::IUnknown); impl IWICMetadataWriter { pub unsafe fn GetMetadataFormat(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3368,25 +2799,9 @@ impl IWICMetadataWriter { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataWriter, ::windows_core::IUnknown, IWICMetadataReader); -impl ::core::cmp::PartialEq for IWICMetadataWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataWriter {} -impl ::core::fmt::Debug for IWICMetadataWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataWriter { type Vtable = IWICMetadataWriter_Vtbl; } -impl ::core::clone::Clone for IWICMetadataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7836e16_3be0_470b_86bb_160d0aecd7de); } @@ -3410,6 +2825,7 @@ pub struct IWICMetadataWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICMetadataWriterInfo(::windows_core::IUnknown); impl IWICMetadataWriterInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -3480,25 +2896,9 @@ impl IWICMetadataWriterInfo { } } ::windows_core::imp::interface_hierarchy!(IWICMetadataWriterInfo, ::windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); -impl ::core::cmp::PartialEq for IWICMetadataWriterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICMetadataWriterInfo {} -impl ::core::fmt::Debug for IWICMetadataWriterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICMetadataWriterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICMetadataWriterInfo { type Vtable = IWICMetadataWriterInfo_Vtbl; } -impl ::core::clone::Clone for IWICMetadataWriterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICMetadataWriterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb22e3fba_3925_4323_b5c1_9ebfc430f236); } @@ -3511,6 +2911,7 @@ pub struct IWICMetadataWriterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPalette(::windows_core::IUnknown); impl IWICPalette { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3570,25 +2971,9 @@ impl IWICPalette { } } ::windows_core::imp::interface_hierarchy!(IWICPalette, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICPalette { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPalette {} -impl ::core::fmt::Debug for IWICPalette { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPalette").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPalette { type Vtable = IWICPalette_Vtbl; } -impl ::core::clone::Clone for IWICPalette { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPalette { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000040_a8f2_4877_ba0a_fd2b6645fb94); } @@ -3625,6 +3010,7 @@ pub struct IWICPalette_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPersistStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWICPersistStream { @@ -3683,30 +3069,10 @@ impl IWICPersistStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWICPersistStream, ::windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWICPersistStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWICPersistStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWICPersistStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPersistStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWICPersistStream { type Vtable = IWICPersistStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWICPersistStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWICPersistStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00675040_6908_45f8_86a3_49c7dfd6d9ad); } @@ -3726,6 +3092,7 @@ pub struct IWICPersistStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPixelFormatInfo(::windows_core::IUnknown); impl IWICPixelFormatInfo { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -3777,25 +3144,9 @@ impl IWICPixelFormatInfo { } } ::windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo, ::windows_core::IUnknown, IWICComponentInfo); -impl ::core::cmp::PartialEq for IWICPixelFormatInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPixelFormatInfo {} -impl ::core::fmt::Debug for IWICPixelFormatInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPixelFormatInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPixelFormatInfo { type Vtable = IWICPixelFormatInfo_Vtbl; } -impl ::core::clone::Clone for IWICPixelFormatInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPixelFormatInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8eda601_3d48_431a_ab44_69059be88bbe); } @@ -3811,6 +3162,7 @@ pub struct IWICPixelFormatInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPixelFormatInfo2(::windows_core::IUnknown); impl IWICPixelFormatInfo2 { pub unsafe fn GetComponentType(&self) -> ::windows_core::Result { @@ -3872,25 +3224,9 @@ impl IWICPixelFormatInfo2 { } } ::windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo2, ::windows_core::IUnknown, IWICComponentInfo, IWICPixelFormatInfo); -impl ::core::cmp::PartialEq for IWICPixelFormatInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPixelFormatInfo2 {} -impl ::core::fmt::Debug for IWICPixelFormatInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPixelFormatInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPixelFormatInfo2 { type Vtable = IWICPixelFormatInfo2_Vtbl; } -impl ::core::clone::Clone for IWICPixelFormatInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPixelFormatInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9db33a2_af5f_43c7_b679_74f5984b5aa4); } @@ -3906,6 +3242,7 @@ pub struct IWICPixelFormatInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPlanarBitmapFrameEncode(::windows_core::IUnknown); impl IWICPlanarBitmapFrameEncode { pub unsafe fn WritePixels(&self, linecount: u32, pplanes: &[WICBitmapPlane]) -> ::windows_core::Result<()> { @@ -3916,25 +3253,9 @@ impl IWICPlanarBitmapFrameEncode { } } ::windows_core::imp::interface_hierarchy!(IWICPlanarBitmapFrameEncode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICPlanarBitmapFrameEncode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPlanarBitmapFrameEncode {} -impl ::core::fmt::Debug for IWICPlanarBitmapFrameEncode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPlanarBitmapFrameEncode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPlanarBitmapFrameEncode { type Vtable = IWICPlanarBitmapFrameEncode_Vtbl; } -impl ::core::clone::Clone for IWICPlanarBitmapFrameEncode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPlanarBitmapFrameEncode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf928b7b8_2221_40c1_b72e_7e82f1974d1a); } @@ -3947,6 +3268,7 @@ pub struct IWICPlanarBitmapFrameEncode_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPlanarBitmapSourceTransform(::windows_core::IUnknown); impl IWICPlanarBitmapSourceTransform { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3959,25 +3281,9 @@ impl IWICPlanarBitmapSourceTransform { } } ::windows_core::imp::interface_hierarchy!(IWICPlanarBitmapSourceTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICPlanarBitmapSourceTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPlanarBitmapSourceTransform {} -impl ::core::fmt::Debug for IWICPlanarBitmapSourceTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPlanarBitmapSourceTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPlanarBitmapSourceTransform { type Vtable = IWICPlanarBitmapSourceTransform_Vtbl; } -impl ::core::clone::Clone for IWICPlanarBitmapSourceTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPlanarBitmapSourceTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3aff9cce_be95_4303_b927_e7d16ff4a613); } @@ -3993,6 +3299,7 @@ pub struct IWICPlanarBitmapSourceTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICPlanarFormatConverter(::windows_core::IUnknown); impl IWICPlanarFormatConverter { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> ::windows_core::Result<()> { @@ -4028,25 +3335,9 @@ impl IWICPlanarFormatConverter { } } ::windows_core::imp::interface_hierarchy!(IWICPlanarFormatConverter, ::windows_core::IUnknown, IWICBitmapSource); -impl ::core::cmp::PartialEq for IWICPlanarFormatConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICPlanarFormatConverter {} -impl ::core::fmt::Debug for IWICPlanarFormatConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICPlanarFormatConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICPlanarFormatConverter { type Vtable = IWICPlanarFormatConverter_Vtbl; } -impl ::core::clone::Clone for IWICPlanarFormatConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICPlanarFormatConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbebee9cb_83b0_4dcc_8132_b0aaa55eac96); } @@ -4062,6 +3353,7 @@ pub struct IWICPlanarFormatConverter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICProgressCallback(::windows_core::IUnknown); impl IWICProgressCallback { pub unsafe fn Notify(&self, uframenum: u32, operation: WICProgressOperation, dblprogress: f64) -> ::windows_core::Result<()> { @@ -4069,25 +3361,9 @@ impl IWICProgressCallback { } } ::windows_core::imp::interface_hierarchy!(IWICProgressCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICProgressCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICProgressCallback {} -impl ::core::fmt::Debug for IWICProgressCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICProgressCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICProgressCallback { type Vtable = IWICProgressCallback_Vtbl; } -impl ::core::clone::Clone for IWICProgressCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICProgressCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4776f9cd_9517_45fa_bf24_e89c5ec5c60c); } @@ -4099,6 +3375,7 @@ pub struct IWICProgressCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICProgressiveLevelControl(::windows_core::IUnknown); impl IWICProgressiveLevelControl { pub unsafe fn GetLevelCount(&self) -> ::windows_core::Result { @@ -4114,25 +3391,9 @@ impl IWICProgressiveLevelControl { } } ::windows_core::imp::interface_hierarchy!(IWICProgressiveLevelControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICProgressiveLevelControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICProgressiveLevelControl {} -impl ::core::fmt::Debug for IWICProgressiveLevelControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICProgressiveLevelControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICProgressiveLevelControl { type Vtable = IWICProgressiveLevelControl_Vtbl; } -impl ::core::clone::Clone for IWICProgressiveLevelControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICProgressiveLevelControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaac296f_7aa5_4dbf_8d15_225c5976f891); } @@ -4147,6 +3408,7 @@ pub struct IWICProgressiveLevelControl_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWICStream { @@ -4238,30 +3500,10 @@ impl IWICStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWICStream, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWICStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWICStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWICStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWICStream { type Vtable = IWICStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWICStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWICStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x135ff860_22b7_4ddf_b0f6_218f4f299a43); } @@ -4283,6 +3525,7 @@ pub struct IWICStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWICStreamProvider(::windows_core::IUnknown); impl IWICStreamProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4304,25 +3547,9 @@ impl IWICStreamProvider { } } ::windows_core::imp::interface_hierarchy!(IWICStreamProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWICStreamProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWICStreamProvider {} -impl ::core::fmt::Debug for IWICStreamProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWICStreamProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWICStreamProvider { type Vtable = IWICStreamProvider_Vtbl; } -impl ::core::clone::Clone for IWICStreamProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWICStreamProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x449494bc_b468_4927_96d7_ba90d31ab505); } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs index fe22efb216..8a01c30d3d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs @@ -15,8 +15,8 @@ impl IAsyncGetSendNotificationCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl IAsyncGetSrvReferralCookie_Vtbl { FinishAsyncCallWithData: FinishAsyncCallWithData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IBidiAsyncNotifyChannel_Vtbl { AsyncCloseChannel: AsyncCloseChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IBidiRequest_Vtbl { GetEnumCount: GetEnumCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl IBidiRequestContainer_Vtbl { GetRequestCount: GetRequestCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -252,8 +252,8 @@ impl IBidiSpl_Vtbl { MultiSendRecv: MultiSendRecv::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IBidiSpl2_Vtbl { SendRecvXMLStream: SendRecvXMLStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IFixedDocument_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IFixedDocumentSequence_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -490,8 +490,8 @@ impl IFixedPage_Vtbl { GetXpsPartIterator: GetXpsPartIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IImgCreateErrorInfo_Vtbl { AttachToErrorInfo: AttachToErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -616,8 +616,8 @@ impl IImgErrorInfo_Vtbl { DetachErrorInfo: DetachErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -644,8 +644,8 @@ impl IInterFilterCommunicator_Vtbl { RequestWriter: RequestWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl IPartBase_Vtbl { SetPartCompression: SetPartCompression::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -715,8 +715,8 @@ impl IPartColorProfile_Vtbl { pub const fn new, Impl: IPartColorProfile_Impl, const OFFSET: isize>() -> IPartColorProfile_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -733,8 +733,8 @@ impl IPartDiscardControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiscardProperties: GetDiscardProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IPartFont_Vtbl { SetFontOptions: SetFontOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl IPartFont2_Vtbl { } Self { base__: IPartFont_Vtbl::new::(), GetFontRestriction: GetFontRestriction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl IPartImage_Vtbl { SetImageContent: SetImageContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IPartPrintTicket_Vtbl { pub const fn new, Impl: IPartPrintTicket_Impl, const OFFSET: isize>() -> IPartPrintTicket_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -848,8 +848,8 @@ impl IPartResourceDictionary_Vtbl { pub const fn new, Impl: IPartResourceDictionary_Impl, const OFFSET: isize>() -> IPartResourceDictionary_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -882,8 +882,8 @@ impl IPartThumbnail_Vtbl { SetThumbnailContent: SetThumbnailContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IPrintAsyncCookie_Vtbl { CancelAsyncCall: CancelAsyncCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -928,8 +928,8 @@ impl IPrintAsyncNewChannelCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -968,8 +968,8 @@ impl IPrintAsyncNotify_Vtbl { CreatePrintAsyncNotifyRegistration: CreatePrintAsyncNotifyRegistration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -996,8 +996,8 @@ impl IPrintAsyncNotifyCallback_Vtbl { ChannelClosed: ChannelClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1024,8 +1024,8 @@ impl IPrintAsyncNotifyChannel_Vtbl { CloseChannel: CloseChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1052,8 +1052,8 @@ impl IPrintAsyncNotifyDataObject_Vtbl { ReleaseData: ReleaseData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1080,8 +1080,8 @@ impl IPrintAsyncNotifyRegistration_Vtbl { UnregisterForNotifications: UnregisterForNotifications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1121,8 +1121,8 @@ impl IPrintAsyncNotifyServerReferral_Vtbl { SetServerReferral: SetServerReferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1139,8 +1139,8 @@ impl IPrintBidiAsyncNotifyRegistration_Vtbl { } Self { base__: IPrintAsyncNotifyRegistration_Vtbl::new::(), AsyncGetNewChannel: AsyncGetNewChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1157,8 +1157,8 @@ impl IPrintClassObjectFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPrintClassObject: GetPrintClassObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IPrintCoreHelper_Vtbl { CreateInstanceOfMSXMLObject: CreateInstanceOfMSXMLObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1281,8 +1281,8 @@ impl IPrintCoreHelperPS_Vtbl { GetOptionAttribute: GetOptionAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1318,8 +1318,8 @@ impl IPrintCoreHelperUni_Vtbl { CreateDefaultGDLSnapshot: CreateDefaultGDLSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1339,8 +1339,8 @@ impl IPrintCoreHelperUni2_Vtbl { } Self { base__: IPrintCoreHelperUni_Vtbl::new::(), GetNamedCommand: GetNamedCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IPrintCoreUI2_Vtbl { QuerySimulationSupport: QuerySimulationSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1531,8 +1531,8 @@ impl IPrintJob_Vtbl { RequestCancel: RequestCancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1587,8 +1587,8 @@ impl IPrintJobCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl IPrintOemCommon_Vtbl { DevMode: DevMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IPrintOemDriverUI_Vtbl { DrvUpdateUISetting: DrvUpdateUISetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1757,8 +1757,8 @@ impl IPrintOemUI_Vtbl { UpdateExternalFonts: UpdateExternalFonts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IPrintOemUI2_Vtbl { DocumentEvent: DocumentEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1833,8 +1833,8 @@ impl IPrintOemUIMXDC_Vtbl { AdjustDPI: AdjustDPI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1868,8 +1868,8 @@ impl IPrintPipelineFilter_Vtbl { StartOperation: StartOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1899,8 +1899,8 @@ impl IPrintPipelineManagerControl_Vtbl { FilterFinished: FilterFinished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1917,8 +1917,8 @@ impl IPrintPipelineProgressReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl IPrintPipelinePropertyBag_Vtbl { DeleteProperty: DeleteProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1999,8 +1999,8 @@ impl IPrintPreviewDxgiPackageTarget_Vtbl { InvalidatePreview: InvalidatePreview::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2030,8 +2030,8 @@ impl IPrintReadStream_Vtbl { ReadBytes: ReadBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -2054,8 +2054,8 @@ impl IPrintReadStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStream: GetStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2085,8 +2085,8 @@ impl IPrintSchemaAsyncOperation_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl IPrintSchemaAsyncOperationEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Completed: Completed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IPrintSchemaCapabilities_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2241,8 +2241,8 @@ impl IPrintSchemaCapabilities2_Vtbl { } Self { base__: IPrintSchemaCapabilities_Vtbl::new::(), GetParameterDefinition: GetParameterDefinition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2268,8 +2268,8 @@ impl IPrintSchemaDisplayableElement_Vtbl { } Self { base__: IPrintSchemaElement_Vtbl::new::(), DisplayName: DisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2324,8 +2324,8 @@ impl IPrintSchemaElement_Vtbl { NamespaceUri: NamespaceUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2400,8 +2400,8 @@ impl IPrintSchemaFeature_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2427,8 +2427,8 @@ impl IPrintSchemaNUpOption_Vtbl { } Self { base__: IPrintSchemaOption_Vtbl::new::(), PagesPerSheet: PagesPerSheet:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2483,8 +2483,8 @@ impl IPrintSchemaOption_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2539,8 +2539,8 @@ impl IPrintSchemaOptionCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IPrintSchemaPageImageableSize_Vtbl { ExtentHeightInMicrons: ExtentHeightInMicrons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl IPrintSchemaPageMediaSizeOption_Vtbl { HeightInMicrons: HeightInMicrons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2759,8 +2759,8 @@ impl IPrintSchemaParameterDefinition_Vtbl { RangeMax: RangeMax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2796,8 +2796,8 @@ impl IPrintSchemaParameterInitializer_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl IPrintSchemaTicket_Vtbl { SetJobCopiesAllDocuments: SetJobCopiesAllDocuments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2932,8 +2932,8 @@ impl IPrintSchemaTicket2_Vtbl { } Self { base__: IPrintSchemaTicket_Vtbl::new::(), GetParameterInitializer: GetParameterInitializer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3004,8 +3004,8 @@ impl IPrintTicketProvider_Vtbl { ValidatePrintTicket: ValidatePrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3047,8 +3047,8 @@ impl IPrintTicketProvider2_Vtbl { GetPrintDeviceResources: GetPrintDeviceResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3068,8 +3068,8 @@ impl IPrintUnidiAsyncNotifyRegistration_Vtbl { AsyncGetNotification: AsyncGetNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3102,8 +3102,8 @@ impl IPrintWriteStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl IPrintWriteStreamFlush_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FlushData: FlushData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3138,8 +3138,8 @@ impl IPrinterBidiSetRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Completed: Completed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3156,8 +3156,8 @@ impl IPrinterExtensionAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3225,8 +3225,8 @@ impl IPrinterExtensionContext_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3281,8 +3281,8 @@ impl IPrinterExtensionContextCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3312,8 +3312,8 @@ impl IPrinterExtensionEvent_Vtbl { OnPrinterQueuesEnumerated: OnPrinterQueuesEnumerated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3420,8 +3420,8 @@ impl IPrinterExtensionEventArgs_Vtbl { WindowParent: WindowParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3448,8 +3448,8 @@ impl IPrinterExtensionManager_Vtbl { DisableEvents: DisableEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3479,8 +3479,8 @@ impl IPrinterExtensionRequest_Vtbl { Complete: Complete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3596,8 +3596,8 @@ impl IPrinterPropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3659,8 +3659,8 @@ impl IPrinterQueue_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3702,8 +3702,8 @@ impl IPrinterQueue2_Vtbl { GetPrinterQueueView: GetPrinterQueueView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3726,8 +3726,8 @@ impl IPrinterQueueEvent_Vtbl { OnBidiResponseReceived: OnBidiResponseReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3747,8 +3747,8 @@ impl IPrinterQueueView_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetViewRange: SetViewRange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3768,8 +3768,8 @@ impl IPrinterQueueViewEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OnChanged: OnChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3824,8 +3824,8 @@ impl IPrinterScriptContext_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IPrinterScriptablePropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3974,8 +3974,8 @@ impl IPrinterScriptablePropertyBag2_Vtbl { } Self { base__: IPrinterScriptablePropertyBag_Vtbl::new::(), GetReadStreamAsXML: GetReadStreamAsXML:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4017,8 +4017,8 @@ impl IPrinterScriptableSequentialStream_Vtbl { Write: Write::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4061,8 +4061,8 @@ impl IPrinterScriptableStream_Vtbl { SetSize: SetSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4095,8 +4095,8 @@ impl IXpsDocument_Vtbl { SetThumbnail: SetThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4158,8 +4158,8 @@ impl IXpsDocumentConsumer_Vtbl { GetNewEmptyPart: GetNewEmptyPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4182,8 +4182,8 @@ impl IXpsDocumentProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXpsPart: GetXpsPart:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4227,8 +4227,8 @@ impl IXpsPartIterator_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4254,8 +4254,8 @@ impl IXpsRasterizationFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4281,8 +4281,8 @@ impl IXpsRasterizationFactory1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4308,8 +4308,8 @@ impl IXpsRasterizationFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -4345,8 +4345,8 @@ impl IXpsRasterizer_Vtbl { SetMinimalLineWidth: SetMinimalLineWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4363,7 +4363,7 @@ impl IXpsRasterizerNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Continue: Continue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 75a7dad420..27fca34ffc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -2234,6 +2234,7 @@ where } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncGetSendNotificationCookie(::windows_core::IUnknown); impl IAsyncGetSendNotificationCookie { pub unsafe fn FinishAsyncCall(&self, param0: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2253,25 +2254,9 @@ impl IAsyncGetSendNotificationCookie { } } ::windows_core::imp::interface_hierarchy!(IAsyncGetSendNotificationCookie, ::windows_core::IUnknown, IPrintAsyncCookie); -impl ::core::cmp::PartialEq for IAsyncGetSendNotificationCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncGetSendNotificationCookie {} -impl ::core::fmt::Debug for IAsyncGetSendNotificationCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncGetSendNotificationCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncGetSendNotificationCookie { type Vtable = IAsyncGetSendNotificationCookie_Vtbl; } -impl ::core::clone::Clone for IAsyncGetSendNotificationCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncGetSendNotificationCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2286,6 +2271,7 @@ pub struct IAsyncGetSendNotificationCookie_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncGetSrvReferralCookie(::windows_core::IUnknown); impl IAsyncGetSrvReferralCookie { pub unsafe fn FinishAsyncCall(&self, param0: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2302,25 +2288,9 @@ impl IAsyncGetSrvReferralCookie { } } ::windows_core::imp::interface_hierarchy!(IAsyncGetSrvReferralCookie, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAsyncGetSrvReferralCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncGetSrvReferralCookie {} -impl ::core::fmt::Debug for IAsyncGetSrvReferralCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncGetSrvReferralCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncGetSrvReferralCookie { type Vtable = IAsyncGetSrvReferralCookie_Vtbl; } -impl ::core::clone::Clone for IAsyncGetSrvReferralCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncGetSrvReferralCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2334,6 +2304,7 @@ pub struct IAsyncGetSrvReferralCookie_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBidiAsyncNotifyChannel(::windows_core::IUnknown); impl IBidiAsyncNotifyChannel { pub unsafe fn SendNotification(&self, pdata: P0) -> ::windows_core::Result<()> @@ -2373,25 +2344,9 @@ impl IBidiAsyncNotifyChannel { } } ::windows_core::imp::interface_hierarchy!(IBidiAsyncNotifyChannel, ::windows_core::IUnknown, IPrintAsyncNotifyChannel); -impl ::core::cmp::PartialEq for IBidiAsyncNotifyChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBidiAsyncNotifyChannel {} -impl ::core::fmt::Debug for IBidiAsyncNotifyChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBidiAsyncNotifyChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBidiAsyncNotifyChannel { type Vtable = IBidiAsyncNotifyChannel_Vtbl; } -impl ::core::clone::Clone for IBidiAsyncNotifyChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBidiAsyncNotifyChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); } @@ -2407,6 +2362,7 @@ pub struct IBidiAsyncNotifyChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBidiRequest(::windows_core::IUnknown); impl IBidiRequest { pub unsafe fn SetSchema(&self, pszschema: P0) -> ::windows_core::Result<()> @@ -2431,25 +2387,9 @@ impl IBidiRequest { } } ::windows_core::imp::interface_hierarchy!(IBidiRequest, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBidiRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBidiRequest {} -impl ::core::fmt::Debug for IBidiRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBidiRequest").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBidiRequest { type Vtable = IBidiRequest_Vtbl; } -impl ::core::clone::Clone for IBidiRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBidiRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f348bd7_4b47_4755_8a9d_0f422df3dc89); } @@ -2465,6 +2405,7 @@ pub struct IBidiRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBidiRequestContainer(::windows_core::IUnknown); impl IBidiRequestContainer { pub unsafe fn AddRequest(&self, prequest: P0) -> ::windows_core::Result<()> @@ -2485,25 +2426,9 @@ impl IBidiRequestContainer { } } ::windows_core::imp::interface_hierarchy!(IBidiRequestContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBidiRequestContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBidiRequestContainer {} -impl ::core::fmt::Debug for IBidiRequestContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBidiRequestContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBidiRequestContainer { type Vtable = IBidiRequestContainer_Vtbl; } -impl ::core::clone::Clone for IBidiRequestContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBidiRequestContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd752f6c0_94a8_4275_a77d_8f1d1a1121ae); } @@ -2520,6 +2445,7 @@ pub struct IBidiRequestContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBidiSpl(::windows_core::IUnknown); impl IBidiSpl { pub unsafe fn BindDevice(&self, pszdevicename: P0, dwaccess: u32) -> ::windows_core::Result<()> @@ -2547,25 +2473,9 @@ impl IBidiSpl { } } ::windows_core::imp::interface_hierarchy!(IBidiSpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBidiSpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBidiSpl {} -impl ::core::fmt::Debug for IBidiSpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBidiSpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBidiSpl { type Vtable = IBidiSpl_Vtbl; } -impl ::core::clone::Clone for IBidiSpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBidiSpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd580dc0e_de39_4649_baa8_bf0b85a03a97); } @@ -2580,6 +2490,7 @@ pub struct IBidiSpl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBidiSpl2(::windows_core::IUnknown); impl IBidiSpl2 { pub unsafe fn BindDevice(&self, pszdevicename: P0, dwaccess: u32) -> ::windows_core::Result<()> @@ -2609,25 +2520,9 @@ impl IBidiSpl2 { } } ::windows_core::imp::interface_hierarchy!(IBidiSpl2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBidiSpl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBidiSpl2 {} -impl ::core::fmt::Debug for IBidiSpl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBidiSpl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBidiSpl2 { type Vtable = IBidiSpl2_Vtbl; } -impl ::core::clone::Clone for IBidiSpl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBidiSpl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e8f51b8_8273_4906_8e7b_be453ffd2e2b); } @@ -2645,6 +2540,7 @@ pub struct IBidiSpl2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFixedDocument(::windows_core::IUnknown); impl IFixedDocument { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2663,25 +2559,9 @@ impl IFixedDocument { } } ::windows_core::imp::interface_hierarchy!(IFixedDocument, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFixedDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFixedDocument {} -impl ::core::fmt::Debug for IFixedDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFixedDocument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFixedDocument { type Vtable = IFixedDocument_Vtbl; } -impl ::core::clone::Clone for IFixedDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFixedDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf222ca9f_9968_4db9_81bd_abaebf15f93f); } @@ -2695,6 +2575,7 @@ pub struct IFixedDocument_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFixedDocumentSequence(::windows_core::IUnknown); impl IFixedDocumentSequence { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2713,25 +2594,9 @@ impl IFixedDocumentSequence { } } ::windows_core::imp::interface_hierarchy!(IFixedDocumentSequence, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFixedDocumentSequence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFixedDocumentSequence {} -impl ::core::fmt::Debug for IFixedDocumentSequence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFixedDocumentSequence").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFixedDocumentSequence { type Vtable = IFixedDocumentSequence_Vtbl; } -impl ::core::clone::Clone for IFixedDocumentSequence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFixedDocumentSequence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8028d181_2c32_4249_8493_1bfb22045574); } @@ -2745,6 +2610,7 @@ pub struct IFixedDocumentSequence_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFixedPage(::windows_core::IUnknown); impl IFixedPage { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2801,25 +2667,9 @@ impl IFixedPage { } } ::windows_core::imp::interface_hierarchy!(IFixedPage, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IFixedPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFixedPage {} -impl ::core::fmt::Debug for IFixedPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFixedPage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFixedPage { type Vtable = IFixedPage_Vtbl; } -impl ::core::clone::Clone for IFixedPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFixedPage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d9f6448_7e95_4cb5_94fb_0180c2883a57); } @@ -2838,6 +2688,7 @@ pub struct IFixedPage_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImgCreateErrorInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IImgCreateErrorInfo { @@ -2882,30 +2733,10 @@ impl IImgCreateErrorInfo { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IImgCreateErrorInfo, ::windows_core::IUnknown, super::super::System::Ole::ICreateErrorInfo); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IImgCreateErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IImgCreateErrorInfo {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IImgCreateErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImgCreateErrorInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IImgCreateErrorInfo { type Vtable = IImgCreateErrorInfo_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IImgCreateErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IImgCreateErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c55a64c_07cd_4fb5_90f7_b753d91f0c9e); } @@ -2919,6 +2750,7 @@ pub struct IImgCreateErrorInfo_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImgErrorInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IImgErrorInfo { @@ -2983,30 +2815,10 @@ impl IImgErrorInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IImgErrorInfo, ::windows_core::IUnknown, super::super::System::Com::IErrorInfo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IImgErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IImgErrorInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IImgErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImgErrorInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IImgErrorInfo { type Vtable = IImgErrorInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IImgErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IImgErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bce4ece_d30e_445a_9423_6829be945ad8); } @@ -3025,6 +2837,7 @@ pub struct IImgErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInterFilterCommunicator(::windows_core::IUnknown); impl IInterFilterCommunicator { pub unsafe fn RequestReader(&self, ppireader: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3035,25 +2848,9 @@ impl IInterFilterCommunicator { } } ::windows_core::imp::interface_hierarchy!(IInterFilterCommunicator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInterFilterCommunicator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInterFilterCommunicator {} -impl ::core::fmt::Debug for IInterFilterCommunicator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInterFilterCommunicator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInterFilterCommunicator { type Vtable = IInterFilterCommunicator_Vtbl; } -impl ::core::clone::Clone for IInterFilterCommunicator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInterFilterCommunicator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4daf1e69_81fd_462d_940f_8cd3ddf56fca); } @@ -3066,6 +2863,7 @@ pub struct IInterFilterCommunicator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartBase(::windows_core::IUnknown); impl IPartBase { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3085,25 +2883,9 @@ impl IPartBase { } } ::windows_core::imp::interface_hierarchy!(IPartBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPartBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartBase {} -impl ::core::fmt::Debug for IPartBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartBase { type Vtable = IPartBase_Vtbl; } -impl ::core::clone::Clone for IPartBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36d51e28_369e_43ba_a666_9540c62c3f58); } @@ -3118,6 +2900,7 @@ pub struct IPartBase_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartColorProfile(::windows_core::IUnknown); impl IPartColorProfile { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3137,25 +2920,9 @@ impl IPartColorProfile { } } ::windows_core::imp::interface_hierarchy!(IPartColorProfile, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartColorProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartColorProfile {} -impl ::core::fmt::Debug for IPartColorProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartColorProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartColorProfile { type Vtable = IPartColorProfile_Vtbl; } -impl ::core::clone::Clone for IPartColorProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartColorProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63cca95b_7d18_4762_b15e_98658693d24a); } @@ -3166,6 +2933,7 @@ pub struct IPartColorProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartDiscardControl(::windows_core::IUnknown); impl IPartDiscardControl { pub unsafe fn GetDiscardProperties(&self, urisentinelpage: *mut ::windows_core::BSTR, uriparttodiscard: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -3173,25 +2941,9 @@ impl IPartDiscardControl { } } ::windows_core::imp::interface_hierarchy!(IPartDiscardControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPartDiscardControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartDiscardControl {} -impl ::core::fmt::Debug for IPartDiscardControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartDiscardControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartDiscardControl { type Vtable = IPartDiscardControl_Vtbl; } -impl ::core::clone::Clone for IPartDiscardControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartDiscardControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc350c00_095b_42a5_bf0f_c8780edadb3c); } @@ -3203,6 +2955,7 @@ pub struct IPartDiscardControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartFont(::windows_core::IUnknown); impl IPartFont { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3234,25 +2987,9 @@ impl IPartFont { } } ::windows_core::imp::interface_hierarchy!(IPartFont, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartFont { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartFont {} -impl ::core::fmt::Debug for IPartFont { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartFont").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartFont { type Vtable = IPartFont_Vtbl; } -impl ::core::clone::Clone for IPartFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartFont { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe07fe0ab_1124_43d0_a865_e8ffb6a3ea82); } @@ -3266,6 +3003,7 @@ pub struct IPartFont_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartFont2(::windows_core::IUnknown); impl IPartFont2 { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3301,25 +3039,9 @@ impl IPartFont2 { } } ::windows_core::imp::interface_hierarchy!(IPartFont2, ::windows_core::IUnknown, IPartBase, IPartFont); -impl ::core::cmp::PartialEq for IPartFont2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartFont2 {} -impl ::core::fmt::Debug for IPartFont2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartFont2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartFont2 { type Vtable = IPartFont2_Vtbl; } -impl ::core::clone::Clone for IPartFont2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartFont2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x511e025f_d6cb_43be_bf65_63fe88515a39); } @@ -3331,6 +3053,7 @@ pub struct IPartFont2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartImage(::windows_core::IUnknown); impl IPartImage { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3360,25 +3083,9 @@ impl IPartImage { } } ::windows_core::imp::interface_hierarchy!(IPartImage, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartImage {} -impl ::core::fmt::Debug for IPartImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartImage { type Vtable = IPartImage_Vtbl; } -impl ::core::clone::Clone for IPartImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x725f2e3c_401a_4705_9de0_fe6f1353b87f); } @@ -3391,6 +3098,7 @@ pub struct IPartImage_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartPrintTicket(::windows_core::IUnknown); impl IPartPrintTicket { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3410,25 +3118,9 @@ impl IPartPrintTicket { } } ::windows_core::imp::interface_hierarchy!(IPartPrintTicket, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartPrintTicket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartPrintTicket {} -impl ::core::fmt::Debug for IPartPrintTicket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartPrintTicket").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartPrintTicket { type Vtable = IPartPrintTicket_Vtbl; } -impl ::core::clone::Clone for IPartPrintTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartPrintTicket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a0f50f6_f9a2_41f0_99e7_5ae955be8e9e); } @@ -3439,6 +3131,7 @@ pub struct IPartPrintTicket_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartResourceDictionary(::windows_core::IUnknown); impl IPartResourceDictionary { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3458,25 +3151,9 @@ impl IPartResourceDictionary { } } ::windows_core::imp::interface_hierarchy!(IPartResourceDictionary, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartResourceDictionary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartResourceDictionary {} -impl ::core::fmt::Debug for IPartResourceDictionary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartResourceDictionary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartResourceDictionary { type Vtable = IPartResourceDictionary_Vtbl; } -impl ::core::clone::Clone for IPartResourceDictionary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartResourceDictionary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16cfce6d_e744_4fb3_b474_f1d54f024a01); } @@ -3487,6 +3164,7 @@ pub struct IPartResourceDictionary_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartThumbnail(::windows_core::IUnknown); impl IPartThumbnail { pub unsafe fn GetUri(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3516,25 +3194,9 @@ impl IPartThumbnail { } } ::windows_core::imp::interface_hierarchy!(IPartThumbnail, ::windows_core::IUnknown, IPartBase); -impl ::core::cmp::PartialEq for IPartThumbnail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartThumbnail {} -impl ::core::fmt::Debug for IPartThumbnail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartThumbnail").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartThumbnail { type Vtable = IPartThumbnail_Vtbl; } -impl ::core::clone::Clone for IPartThumbnail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartThumbnail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x027ed1c9_ba39_4cc5_aa55_7ec3a0de171a); } @@ -3547,6 +3209,7 @@ pub struct IPartThumbnail_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncCookie(::windows_core::IUnknown); impl IPrintAsyncCookie { pub unsafe fn FinishAsyncCall(&self, param0: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -3557,25 +3220,9 @@ impl IPrintAsyncCookie { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncCookie, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncCookie {} -impl ::core::fmt::Debug for IPrintAsyncCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncCookie { type Vtable = IPrintAsyncCookie_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3588,6 +3235,7 @@ pub struct IPrintAsyncCookie_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNewChannelCookie(::windows_core::IUnknown); impl IPrintAsyncNewChannelCookie { pub unsafe fn FinishAsyncCall(&self, param0: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -3601,25 +3249,9 @@ impl IPrintAsyncNewChannelCookie { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNewChannelCookie, ::windows_core::IUnknown, IPrintAsyncCookie); -impl ::core::cmp::PartialEq for IPrintAsyncNewChannelCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNewChannelCookie {} -impl ::core::fmt::Debug for IPrintAsyncNewChannelCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNewChannelCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNewChannelCookie { type Vtable = IPrintAsyncNewChannelCookie_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNewChannelCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNewChannelCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3631,6 +3263,7 @@ pub struct IPrintAsyncNewChannelCookie_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotify(::windows_core::IUnknown); impl IPrintAsyncNotify { pub unsafe fn CreatePrintAsyncNotifyChannel(&self, param0: u32, param1: *const ::windows_core::GUID, param2: PrintAsyncNotifyUserFilter, param3: PrintAsyncNotifyConversationStyle, param4: P0) -> ::windows_core::Result @@ -3649,25 +3282,9 @@ impl IPrintAsyncNotify { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotify {} -impl ::core::fmt::Debug for IPrintAsyncNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNotify { type Vtable = IPrintAsyncNotify_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); } @@ -3680,6 +3297,7 @@ pub struct IPrintAsyncNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotifyCallback(::windows_core::IUnknown); impl IPrintAsyncNotifyCallback { pub unsafe fn OnEventNotify(&self, pchannel: P0, pdata: P1) -> ::windows_core::Result<()> @@ -3698,25 +3316,9 @@ impl IPrintAsyncNotifyCallback { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotifyCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotifyCallback {} -impl ::core::fmt::Debug for IPrintAsyncNotifyCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotifyCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNotifyCallback { type Vtable = IPrintAsyncNotifyCallback_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNotifyCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNotifyCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7def34c1_9d92_4c99_b3b3_db94a9d4191b); } @@ -3729,6 +3331,7 @@ pub struct IPrintAsyncNotifyCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotifyChannel(::windows_core::IUnknown); impl IPrintAsyncNotifyChannel { pub unsafe fn SendNotification(&self, pdata: P0) -> ::windows_core::Result<()> @@ -3745,25 +3348,9 @@ impl IPrintAsyncNotifyChannel { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyChannel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotifyChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotifyChannel {} -impl ::core::fmt::Debug for IPrintAsyncNotifyChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotifyChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNotifyChannel { type Vtable = IPrintAsyncNotifyChannel_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNotifyChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNotifyChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a5031b1_1f3f_4db0_a462_4530ed8b0451); } @@ -3776,6 +3363,7 @@ pub struct IPrintAsyncNotifyChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotifyDataObject(::windows_core::IUnknown); impl IPrintAsyncNotifyDataObject { pub unsafe fn AcquireData(&self, ppnotificationdata: ::core::option::Option<*mut *mut u8>, psize: ::core::option::Option<*mut u32>, ppschema: ::core::option::Option<*mut *mut ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -3786,25 +3374,9 @@ impl IPrintAsyncNotifyDataObject { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyDataObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotifyDataObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotifyDataObject {} -impl ::core::fmt::Debug for IPrintAsyncNotifyDataObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotifyDataObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNotifyDataObject { type Vtable = IPrintAsyncNotifyDataObject_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNotifyDataObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNotifyDataObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77cf513e_5d49_4789_9f30_d0822b335c0d); } @@ -3817,6 +3389,7 @@ pub struct IPrintAsyncNotifyDataObject_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotifyRegistration(::windows_core::IUnknown); impl IPrintAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> ::windows_core::Result<()> { @@ -3827,25 +3400,9 @@ impl IPrintAsyncNotifyRegistration { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotifyRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotifyRegistration {} -impl ::core::fmt::Debug for IPrintAsyncNotifyRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotifyRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintAsyncNotifyRegistration { type Vtable = IPrintAsyncNotifyRegistration_Vtbl; } -impl ::core::clone::Clone for IPrintAsyncNotifyRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintAsyncNotifyRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f6f27b6_6f86_4591_9203_64c3bfadedfe); } @@ -3858,6 +3415,7 @@ pub struct IPrintAsyncNotifyRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintAsyncNotifyServerReferral(::windows_core::IUnknown); impl IPrintAsyncNotifyServerReferral { pub unsafe fn GetServerReferral(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3878,24 +3436,8 @@ impl IPrintAsyncNotifyServerReferral { } } ::windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyServerReferral, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintAsyncNotifyServerReferral { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintAsyncNotifyServerReferral {} -impl ::core::fmt::Debug for IPrintAsyncNotifyServerReferral { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintAsyncNotifyServerReferral").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IPrintAsyncNotifyServerReferral { - type Vtable = IPrintAsyncNotifyServerReferral_Vtbl; -} -impl ::core::clone::Clone for IPrintAsyncNotifyServerReferral { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IPrintAsyncNotifyServerReferral { + type Vtable = IPrintAsyncNotifyServerReferral_Vtbl; } unsafe impl ::windows_core::ComInterface for IPrintAsyncNotifyServerReferral { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); @@ -3910,6 +3452,7 @@ pub struct IPrintAsyncNotifyServerReferral_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintBidiAsyncNotifyRegistration(::windows_core::IUnknown); impl IPrintBidiAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> ::windows_core::Result<()> { @@ -3926,25 +3469,9 @@ impl IPrintBidiAsyncNotifyRegistration { } } ::windows_core::imp::interface_hierarchy!(IPrintBidiAsyncNotifyRegistration, ::windows_core::IUnknown, IPrintAsyncNotifyRegistration); -impl ::core::cmp::PartialEq for IPrintBidiAsyncNotifyRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintBidiAsyncNotifyRegistration {} -impl ::core::fmt::Debug for IPrintBidiAsyncNotifyRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintBidiAsyncNotifyRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintBidiAsyncNotifyRegistration { type Vtable = IPrintBidiAsyncNotifyRegistration_Vtbl; } -impl ::core::clone::Clone for IPrintBidiAsyncNotifyRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintBidiAsyncNotifyRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3956,6 +3483,7 @@ pub struct IPrintBidiAsyncNotifyRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintClassObjectFactory(::windows_core::IUnknown); impl IPrintClassObjectFactory { pub unsafe fn GetPrintClassObject(&self, pszprintername: P0, riid: *const ::windows_core::GUID, ppnewobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -3966,25 +3494,9 @@ impl IPrintClassObjectFactory { } } ::windows_core::imp::interface_hierarchy!(IPrintClassObjectFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintClassObjectFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintClassObjectFactory {} -impl ::core::fmt::Debug for IPrintClassObjectFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintClassObjectFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintClassObjectFactory { type Vtable = IPrintClassObjectFactory_Vtbl; } -impl ::core::clone::Clone for IPrintClassObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintClassObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9af593dd_9b02_48a8_9bad_69ace423f88b); } @@ -3996,6 +3508,7 @@ pub struct IPrintClassObjectFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCoreHelper(::windows_core::IUnknown); impl IPrintCoreHelper { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4062,25 +3575,9 @@ impl IPrintCoreHelper { } } ::windows_core::imp::interface_hierarchy!(IPrintCoreHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintCoreHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCoreHelper {} -impl ::core::fmt::Debug for IPrintCoreHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCoreHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintCoreHelper { type Vtable = IPrintCoreHelper_Vtbl; } -impl ::core::clone::Clone for IPrintCoreHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCoreHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa89ec53e_3905_49c6_9c1a_c0a88117fdb6); } @@ -4112,6 +3609,7 @@ pub struct IPrintCoreHelper_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCoreHelperPS(::windows_core::IUnknown); impl IPrintCoreHelperPS { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4199,25 +3697,9 @@ impl IPrintCoreHelperPS { } } ::windows_core::imp::interface_hierarchy!(IPrintCoreHelperPS, ::windows_core::IUnknown, IPrintCoreHelper); -impl ::core::cmp::PartialEq for IPrintCoreHelperPS { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCoreHelperPS {} -impl ::core::fmt::Debug for IPrintCoreHelperPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCoreHelperPS").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintCoreHelperPS { type Vtable = IPrintCoreHelperPS_Vtbl; } -impl ::core::clone::Clone for IPrintCoreHelperPS { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCoreHelperPS { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2c14f6f_95d3_4d63_96cf_6bd9e6c907c2); } @@ -4231,6 +3713,7 @@ pub struct IPrintCoreHelperPS_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCoreHelperUni(::windows_core::IUnknown); impl IPrintCoreHelperUni { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4308,25 +3791,9 @@ impl IPrintCoreHelperUni { } } ::windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni, ::windows_core::IUnknown, IPrintCoreHelper); -impl ::core::cmp::PartialEq for IPrintCoreHelperUni { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCoreHelperUni {} -impl ::core::fmt::Debug for IPrintCoreHelperUni { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCoreHelperUni").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintCoreHelperUni { type Vtable = IPrintCoreHelperUni_Vtbl; } -impl ::core::clone::Clone for IPrintCoreHelperUni { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCoreHelperUni { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e8e51d6_e5ee_4426_817b_958b9444eb79); } @@ -4345,6 +3812,7 @@ pub struct IPrintCoreHelperUni_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCoreHelperUni2(::windows_core::IUnknown); impl IPrintCoreHelperUni2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4430,25 +3898,9 @@ impl IPrintCoreHelperUni2 { } } ::windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni2, ::windows_core::IUnknown, IPrintCoreHelper, IPrintCoreHelperUni); -impl ::core::cmp::PartialEq for IPrintCoreHelperUni2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCoreHelperUni2 {} -impl ::core::fmt::Debug for IPrintCoreHelperUni2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCoreHelperUni2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintCoreHelperUni2 { type Vtable = IPrintCoreHelperUni2_Vtbl; } -impl ::core::clone::Clone for IPrintCoreHelperUni2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCoreHelperUni2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c8afdfc_ead0_4d2d_8071_9bf0175a6c3a); } @@ -4463,6 +3915,7 @@ pub struct IPrintCoreHelperUni2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintCoreUI2(::windows_core::IUnknown); impl IPrintCoreUI2 { pub unsafe fn DrvGetDriverSetting(&self, pci: *mut ::core::ffi::c_void, feature: P0, poutput: *mut ::core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32, pdwoptionsreturned: *mut u32) -> ::windows_core::Result<()> @@ -4562,25 +4015,9 @@ impl IPrintCoreUI2 { } } ::windows_core::imp::interface_hierarchy!(IPrintCoreUI2, ::windows_core::IUnknown, IPrintOemDriverUI); -impl ::core::cmp::PartialEq for IPrintCoreUI2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintCoreUI2 {} -impl ::core::fmt::Debug for IPrintCoreUI2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintCoreUI2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintCoreUI2 { type Vtable = IPrintCoreUI2_Vtbl; } -impl ::core::clone::Clone for IPrintCoreUI2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintCoreUI2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x085ccfca_3adf_4c9e_b491_d851a6edc997); } @@ -4631,6 +4068,7 @@ pub struct IPrintCoreUI2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintJob(::windows_core::IUnknown); impl IPrintJob { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4662,25 +4100,9 @@ impl IPrintJob { } } ::windows_core::imp::interface_hierarchy!(IPrintJob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintJob {} -impl ::core::fmt::Debug for IPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintJob").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintJob { type Vtable = IPrintJob_Vtbl; } -impl ::core::clone::Clone for IPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb771dab8_1282_41b7_858c_f206e4d20577); } @@ -4699,6 +4121,7 @@ pub struct IPrintJob_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintJobCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintJobCollection { @@ -4718,30 +4141,10 @@ impl IPrintJobCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintJobCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintJobCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintJobCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintJobCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintJobCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintJobCollection { type Vtable = IPrintJobCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintJobCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintJobCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72b82a24_a598_4e87_895f_cdb23a49e9dc); } @@ -4756,6 +4159,7 @@ pub struct IPrintJobCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOemCommon(::windows_core::IUnknown); impl IPrintOemCommon { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut ::core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> ::windows_core::Result<()> { @@ -4768,25 +4172,9 @@ impl IPrintOemCommon { } } ::windows_core::imp::interface_hierarchy!(IPrintOemCommon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintOemCommon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOemCommon {} -impl ::core::fmt::Debug for IPrintOemCommon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOemCommon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintOemCommon { type Vtable = IPrintOemCommon_Vtbl; } -impl ::core::clone::Clone for IPrintOemCommon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOemCommon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f42285e_91d5_11d1_8820_00c04fb961ec); } @@ -4802,6 +4190,7 @@ pub struct IPrintOemCommon_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOemDriverUI(::windows_core::IUnknown); impl IPrintOemDriverUI { pub unsafe fn DrvGetDriverSetting(&self, pci: *mut ::core::ffi::c_void, feature: P0, poutput: *mut ::core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32, pdwoptionsreturned: *mut u32) -> ::windows_core::Result<()> @@ -4825,25 +4214,9 @@ impl IPrintOemDriverUI { } } ::windows_core::imp::interface_hierarchy!(IPrintOemDriverUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintOemDriverUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOemDriverUI {} -impl ::core::fmt::Debug for IPrintOemDriverUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOemDriverUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintOemDriverUI { type Vtable = IPrintOemDriverUI_Vtbl; } -impl ::core::clone::Clone for IPrintOemDriverUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOemDriverUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92b05d50_78bc_11d1_9480_00a0c90640b8); } @@ -4860,6 +4233,7 @@ pub struct IPrintOemDriverUI_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOemUI(::windows_core::IUnknown); impl IPrintOemUI { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut ::core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> ::windows_core::Result<()> { @@ -4961,25 +4335,9 @@ impl IPrintOemUI { } } ::windows_core::imp::interface_hierarchy!(IPrintOemUI, ::windows_core::IUnknown, IPrintOemCommon); -impl ::core::cmp::PartialEq for IPrintOemUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOemUI {} -impl ::core::fmt::Debug for IPrintOemUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOemUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintOemUI { type Vtable = IPrintOemUI_Vtbl; } -impl ::core::clone::Clone for IPrintOemUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOemUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6a7a9d0_774c_11d1_947f_00a0c90640b8); } @@ -5032,6 +4390,7 @@ pub struct IPrintOemUI_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOemUI2(::windows_core::IUnknown); impl IPrintOemUI2 { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut ::core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> ::windows_core::Result<()> { @@ -5153,25 +4512,9 @@ impl IPrintOemUI2 { } } ::windows_core::imp::interface_hierarchy!(IPrintOemUI2, ::windows_core::IUnknown, IPrintOemCommon, IPrintOemUI); -impl ::core::cmp::PartialEq for IPrintOemUI2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOemUI2 {} -impl ::core::fmt::Debug for IPrintOemUI2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOemUI2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintOemUI2 { type Vtable = IPrintOemUI2_Vtbl; } -impl ::core::clone::Clone for IPrintOemUI2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOemUI2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x292515f9_b54b_489b_9275_bab56821395e); } @@ -5191,6 +4534,7 @@ pub struct IPrintOemUI2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintOemUIMXDC(::windows_core::IUnknown); impl IPrintOemUIMXDC { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -5219,25 +4563,9 @@ impl IPrintOemUIMXDC { } } ::windows_core::imp::interface_hierarchy!(IPrintOemUIMXDC, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintOemUIMXDC { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintOemUIMXDC {} -impl ::core::fmt::Debug for IPrintOemUIMXDC { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintOemUIMXDC").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintOemUIMXDC { type Vtable = IPrintOemUIMXDC_Vtbl; } -impl ::core::clone::Clone for IPrintOemUIMXDC { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintOemUIMXDC { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7349d725_e2c1_4dca_afb5_c13e91bc9306); } @@ -5260,6 +4588,7 @@ pub struct IPrintOemUIMXDC_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPipelineFilter(::windows_core::IUnknown); impl IPrintPipelineFilter { pub unsafe fn InitializeFilter(&self, pinegotiation: P0, pipropertybag: P1, pipipelinecontrol: P2) -> ::windows_core::Result<()> @@ -5278,25 +4607,9 @@ impl IPrintPipelineFilter { } } ::windows_core::imp::interface_hierarchy!(IPrintPipelineFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintPipelineFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintPipelineFilter {} -impl ::core::fmt::Debug for IPrintPipelineFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintPipelineFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintPipelineFilter { type Vtable = IPrintPipelineFilter_Vtbl; } -impl ::core::clone::Clone for IPrintPipelineFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPipelineFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdb62fc0_8bed_434e_86fb_a2cae55f19ea); } @@ -5310,6 +4623,7 @@ pub struct IPrintPipelineFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPipelineManagerControl(::windows_core::IUnknown); impl IPrintPipelineManagerControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5325,25 +4639,9 @@ impl IPrintPipelineManagerControl { } } ::windows_core::imp::interface_hierarchy!(IPrintPipelineManagerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintPipelineManagerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintPipelineManagerControl {} -impl ::core::fmt::Debug for IPrintPipelineManagerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintPipelineManagerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintPipelineManagerControl { type Vtable = IPrintPipelineManagerControl_Vtbl; } -impl ::core::clone::Clone for IPrintPipelineManagerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPipelineManagerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa3e4910_5889_4681_91ef_823ad4ed4e44); } @@ -5359,6 +4657,7 @@ pub struct IPrintPipelineManagerControl_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPipelineProgressReport(::windows_core::IUnknown); impl IPrintPipelineProgressReport { pub unsafe fn ReportProgress(&self, update: EXpsJobConsumption) -> ::windows_core::Result<()> { @@ -5366,25 +4665,9 @@ impl IPrintPipelineProgressReport { } } ::windows_core::imp::interface_hierarchy!(IPrintPipelineProgressReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintPipelineProgressReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintPipelineProgressReport {} -impl ::core::fmt::Debug for IPrintPipelineProgressReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintPipelineProgressReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintPipelineProgressReport { type Vtable = IPrintPipelineProgressReport_Vtbl; } -impl ::core::clone::Clone for IPrintPipelineProgressReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPipelineProgressReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedc12c7c_ed40_4ea5_96a6_5e4397497a61); } @@ -5396,6 +4679,7 @@ pub struct IPrintPipelineProgressReport_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPipelinePropertyBag(::windows_core::IUnknown); impl IPrintPipelinePropertyBag { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -5425,25 +4709,9 @@ impl IPrintPipelinePropertyBag { } } ::windows_core::imp::interface_hierarchy!(IPrintPipelinePropertyBag, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintPipelinePropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintPipelinePropertyBag {} -impl ::core::fmt::Debug for IPrintPipelinePropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintPipelinePropertyBag").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintPipelinePropertyBag { type Vtable = IPrintPipelinePropertyBag_Vtbl; } -impl ::core::clone::Clone for IPrintPipelinePropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPipelinePropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b8c99dc_7892_4a95_8a04_57422e9fbb47); } @@ -5466,6 +4734,7 @@ pub struct IPrintPipelinePropertyBag_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintPreviewDxgiPackageTarget(::windows_core::IUnknown); impl IPrintPreviewDxgiPackageTarget { pub unsafe fn SetJobPageCount(&self, counttype: PageCountType, count: u32) -> ::windows_core::Result<()> { @@ -5484,25 +4753,9 @@ impl IPrintPreviewDxgiPackageTarget { } } ::windows_core::imp::interface_hierarchy!(IPrintPreviewDxgiPackageTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintPreviewDxgiPackageTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintPreviewDxgiPackageTarget {} -impl ::core::fmt::Debug for IPrintPreviewDxgiPackageTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintPreviewDxgiPackageTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintPreviewDxgiPackageTarget { type Vtable = IPrintPreviewDxgiPackageTarget_Vtbl; } -impl ::core::clone::Clone for IPrintPreviewDxgiPackageTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintPreviewDxgiPackageTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a6dd0ad_1e2a_4e99_a5ba_91f17818290e); } @@ -5519,6 +4772,7 @@ pub struct IPrintPreviewDxgiPackageTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintReadStream(::windows_core::IUnknown); impl IPrintReadStream { pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32, plibnewposition: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { @@ -5531,25 +4785,9 @@ impl IPrintReadStream { } } ::windows_core::imp::interface_hierarchy!(IPrintReadStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintReadStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintReadStream {} -impl ::core::fmt::Debug for IPrintReadStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintReadStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintReadStream { type Vtable = IPrintReadStream_Vtbl; } -impl ::core::clone::Clone for IPrintReadStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintReadStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d47a67c_66cc_4430_850e_daf466fe5bc4); } @@ -5565,6 +4803,7 @@ pub struct IPrintReadStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintReadStreamFactory(::windows_core::IUnknown); impl IPrintReadStreamFactory { pub unsafe fn GetStream(&self) -> ::windows_core::Result { @@ -5573,25 +4812,9 @@ impl IPrintReadStreamFactory { } } ::windows_core::imp::interface_hierarchy!(IPrintReadStreamFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintReadStreamFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintReadStreamFactory {} -impl ::core::fmt::Debug for IPrintReadStreamFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintReadStreamFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintReadStreamFactory { type Vtable = IPrintReadStreamFactory_Vtbl; } -impl ::core::clone::Clone for IPrintReadStreamFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintReadStreamFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacb971e3_df8d_4fc2_bee6_0609d15f3cf9); } @@ -5604,6 +4827,7 @@ pub struct IPrintReadStreamFactory_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaAsyncOperation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaAsyncOperation { @@ -5617,30 +4841,10 @@ impl IPrintSchemaAsyncOperation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaAsyncOperation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaAsyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaAsyncOperation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaAsyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaAsyncOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaAsyncOperation { type Vtable = IPrintSchemaAsyncOperation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaAsyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaAsyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x143c8dcb_d37f_47f7_88e8_6b1d21f2c5f7); } @@ -5655,6 +4859,7 @@ pub struct IPrintSchemaAsyncOperation_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaAsyncOperationEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaAsyncOperationEvent { @@ -5670,30 +4875,10 @@ impl IPrintSchemaAsyncOperationEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaAsyncOperationEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaAsyncOperationEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaAsyncOperationEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaAsyncOperationEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaAsyncOperationEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaAsyncOperationEvent { type Vtable = IPrintSchemaAsyncOperationEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaAsyncOperationEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaAsyncOperationEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23adbb16_0133_4906_b29a_1dce1d026379); } @@ -5710,6 +4895,7 @@ pub struct IPrintSchemaAsyncOperationEvent_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaCapabilities(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities { @@ -5780,30 +4966,10 @@ impl IPrintSchemaCapabilities { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaCapabilities, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaCapabilities {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaCapabilities").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaCapabilities { type Vtable = IPrintSchemaCapabilities_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a577640_501d_4927_bcd0_5ef57a7ed175); } @@ -5838,6 +5004,7 @@ pub struct IPrintSchemaCapabilities_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaCapabilities2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaCapabilities2 { @@ -5918,30 +5085,10 @@ impl IPrintSchemaCapabilities2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaCapabilities2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaCapabilities); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaCapabilities2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaCapabilities2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaCapabilities2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaCapabilities2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaCapabilities2 { type Vtable = IPrintSchemaCapabilities2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaCapabilities2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaCapabilities2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb58845f4_9970_4d87_a636_169fb82ed642); } @@ -5958,6 +5105,7 @@ pub struct IPrintSchemaCapabilities2_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaDisplayableElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaDisplayableElement { @@ -5981,30 +5129,10 @@ impl IPrintSchemaDisplayableElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaDisplayableElement, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaDisplayableElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaDisplayableElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaDisplayableElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaDisplayableElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaDisplayableElement { type Vtable = IPrintSchemaDisplayableElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaDisplayableElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaDisplayableElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf45af49_d6aa_407d_bf87_3912236e9d94); } @@ -6018,6 +5146,7 @@ pub struct IPrintSchemaDisplayableElement_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaElement { @@ -6037,30 +5166,10 @@ impl IPrintSchemaElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaElement, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaElement { type Vtable = IPrintSchemaElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x724c1646_e64b_4bbf_8eb4_d45e4fd580da); } @@ -6076,6 +5185,7 @@ pub struct IPrintSchemaElement_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaFeature(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaFeature { @@ -6133,30 +5243,10 @@ impl IPrintSchemaFeature { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaFeature, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaFeature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaFeature {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaFeature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaFeature").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaFeature { type Vtable = IPrintSchemaFeature_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaFeature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaFeature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef189461_5d62_4626_8e57_ff83583c4826); } @@ -6186,6 +5276,7 @@ pub struct IPrintSchemaFeature_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaNUpOption(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaNUpOption { @@ -6231,30 +5322,10 @@ impl IPrintSchemaNUpOption { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaNUpOption, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaNUpOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaNUpOption {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaNUpOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaNUpOption").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaNUpOption { type Vtable = IPrintSchemaNUpOption_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaNUpOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaNUpOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f6342f2_d848_42e3_8995_c10a9ef9a3ba); } @@ -6268,6 +5339,7 @@ pub struct IPrintSchemaNUpOption_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaOption(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOption { @@ -6309,30 +5381,10 @@ impl IPrintSchemaOption { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaOption, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaOption {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaOption").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaOption { type Vtable = IPrintSchemaOption_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66bb2f51_5844_4997_8d70_4b7cc221cf92); } @@ -6351,6 +5403,7 @@ pub struct IPrintSchemaOption_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaOptionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaOptionCollection { @@ -6372,30 +5425,10 @@ impl IPrintSchemaOptionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaOptionCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaOptionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaOptionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaOptionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaOptionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaOptionCollection { type Vtable = IPrintSchemaOptionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaOptionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaOptionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbaecb0bd_a946_4771_bc30_e8b24f8d45c1); } @@ -6414,6 +5447,7 @@ pub struct IPrintSchemaOptionCollection_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaPageImageableSize(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageImageableSize { @@ -6457,30 +5491,10 @@ impl IPrintSchemaPageImageableSize { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaPageImageableSize, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaPageImageableSize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaPageImageableSize {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaPageImageableSize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaPageImageableSize").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaPageImageableSize { type Vtable = IPrintSchemaPageImageableSize_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaPageImageableSize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaPageImageableSize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c85bf5e_dc7c_4f61_839b_4107e1c9b68e); } @@ -6499,6 +5513,7 @@ pub struct IPrintSchemaPageImageableSize_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaPageMediaSizeOption(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaPageMediaSizeOption { @@ -6548,30 +5563,10 @@ impl IPrintSchemaPageMediaSizeOption { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaPageMediaSizeOption, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaPageMediaSizeOption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaPageMediaSizeOption {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaPageMediaSizeOption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaPageMediaSizeOption").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaPageMediaSizeOption { type Vtable = IPrintSchemaPageMediaSizeOption_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaPageMediaSizeOption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaPageMediaSizeOption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68746729_f493_4830_a10f_69028774605d); } @@ -6586,6 +5581,7 @@ pub struct IPrintSchemaPageMediaSizeOption_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaParameterDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterDefinition { @@ -6631,30 +5627,10 @@ impl IPrintSchemaParameterDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaParameterDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaParameterDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaParameterDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaParameterDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaParameterDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaParameterDefinition { type Vtable = IPrintSchemaParameterDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaParameterDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaParameterDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5ade81e_0e61_4fe1_81c6_c333e4ffe0f1); } @@ -6675,6 +5651,7 @@ pub struct IPrintSchemaParameterDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaParameterInitializer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaParameterInitializer { @@ -6705,30 +5682,10 @@ impl IPrintSchemaParameterInitializer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaParameterInitializer, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaParameterInitializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaParameterInitializer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaParameterInitializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaParameterInitializer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaParameterInitializer { type Vtable = IPrintSchemaParameterInitializer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaParameterInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaParameterInitializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52027082_0b74_4648_9564_828cc6cb656c); } @@ -6749,6 +5706,7 @@ pub struct IPrintSchemaParameterInitializer_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaTicket(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket { @@ -6818,30 +5776,10 @@ impl IPrintSchemaTicket { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaTicket, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaTicket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaTicket {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaTicket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaTicket").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaTicket { type Vtable = IPrintSchemaTicket_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaTicket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaTicket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe480b861_4708_4e6d_a5b4_a2b4eeb9baa4); } @@ -6877,6 +5815,7 @@ pub struct IPrintSchemaTicket_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintSchemaTicket2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintSchemaTicket2 { @@ -6956,30 +5895,10 @@ impl IPrintSchemaTicket2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintSchemaTicket2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaTicket); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintSchemaTicket2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintSchemaTicket2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintSchemaTicket2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintSchemaTicket2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintSchemaTicket2 { type Vtable = IPrintSchemaTicket2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintSchemaTicket2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintSchemaTicket2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ec1f844_766a_47a1_91f4_2eeb6190f80c); } @@ -6995,6 +5914,7 @@ pub struct IPrintSchemaTicket2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketProvider(::windows_core::IUnknown); impl IPrintTicketProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7051,25 +5971,9 @@ impl IPrintTicketProvider { } } ::windows_core::imp::interface_hierarchy!(IPrintTicketProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintTicketProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTicketProvider {} -impl ::core::fmt::Debug for IPrintTicketProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTicketProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintTicketProvider { type Vtable = IPrintTicketProvider_Vtbl; } -impl ::core::clone::Clone for IPrintTicketProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb5116db_0a23_4c3a_a6b6_89e5558dfb5d); } @@ -7105,6 +6009,7 @@ pub struct IPrintTicketProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTicketProvider2(::windows_core::IUnknown); impl IPrintTicketProvider2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7180,25 +6085,9 @@ impl IPrintTicketProvider2 { } } ::windows_core::imp::interface_hierarchy!(IPrintTicketProvider2, ::windows_core::IUnknown, IPrintTicketProvider); -impl ::core::cmp::PartialEq for IPrintTicketProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTicketProvider2 {} -impl ::core::fmt::Debug for IPrintTicketProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTicketProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintTicketProvider2 { type Vtable = IPrintTicketProvider2_Vtbl; } -impl ::core::clone::Clone for IPrintTicketProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTicketProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8a70ab2_3dfc_4fec_a074_511b13c651cb); } @@ -7217,6 +6106,7 @@ pub struct IPrintTicketProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintUnidiAsyncNotifyRegistration(::windows_core::IUnknown); impl IPrintUnidiAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> ::windows_core::Result<()> { @@ -7233,25 +6123,9 @@ impl IPrintUnidiAsyncNotifyRegistration { } } ::windows_core::imp::interface_hierarchy!(IPrintUnidiAsyncNotifyRegistration, ::windows_core::IUnknown, IPrintAsyncNotifyRegistration); -impl ::core::cmp::PartialEq for IPrintUnidiAsyncNotifyRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintUnidiAsyncNotifyRegistration {} -impl ::core::fmt::Debug for IPrintUnidiAsyncNotifyRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintUnidiAsyncNotifyRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintUnidiAsyncNotifyRegistration { type Vtable = IPrintUnidiAsyncNotifyRegistration_Vtbl; } -impl ::core::clone::Clone for IPrintUnidiAsyncNotifyRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintUnidiAsyncNotifyRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -7263,6 +6137,7 @@ pub struct IPrintUnidiAsyncNotifyRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWriteStream(::windows_core::IUnknown); impl IPrintWriteStream { pub unsafe fn WriteBytes(&self, pvbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_core::Result { @@ -7274,25 +6149,9 @@ impl IPrintWriteStream { } } ::windows_core::imp::interface_hierarchy!(IPrintWriteStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWriteStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWriteStream {} -impl ::core::fmt::Debug for IPrintWriteStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWriteStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWriteStream { type Vtable = IPrintWriteStream_Vtbl; } -impl ::core::clone::Clone for IPrintWriteStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWriteStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65bb7f1b_371e_4571_8ac7_912f510c1a38); } @@ -7305,6 +6164,7 @@ pub struct IPrintWriteStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWriteStreamFlush(::windows_core::IUnknown); impl IPrintWriteStreamFlush { pub unsafe fn FlushData(&self) -> ::windows_core::Result<()> { @@ -7312,25 +6172,9 @@ impl IPrintWriteStreamFlush { } } ::windows_core::imp::interface_hierarchy!(IPrintWriteStreamFlush, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWriteStreamFlush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWriteStreamFlush {} -impl ::core::fmt::Debug for IPrintWriteStreamFlush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWriteStreamFlush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWriteStreamFlush { type Vtable = IPrintWriteStreamFlush_Vtbl; } -impl ::core::clone::Clone for IPrintWriteStreamFlush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWriteStreamFlush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07d11ff8_1753_4873_b749_6cdaf068e4c3); } @@ -7342,6 +6186,7 @@ pub struct IPrintWriteStreamFlush_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterBidiSetRequestCallback(::windows_core::IUnknown); impl IPrinterBidiSetRequestCallback { pub unsafe fn Completed(&self, bstrresponse: P0, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -7352,25 +6197,9 @@ impl IPrinterBidiSetRequestCallback { } } ::windows_core::imp::interface_hierarchy!(IPrinterBidiSetRequestCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrinterBidiSetRequestCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrinterBidiSetRequestCallback {} -impl ::core::fmt::Debug for IPrinterBidiSetRequestCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterBidiSetRequestCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrinterBidiSetRequestCallback { type Vtable = IPrinterBidiSetRequestCallback_Vtbl; } -impl ::core::clone::Clone for IPrinterBidiSetRequestCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinterBidiSetRequestCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc52d32dd_f2b4_4052_8502_ec4305ecb71f); } @@ -7382,6 +6211,7 @@ pub struct IPrinterBidiSetRequestCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionAsyncOperation(::windows_core::IUnknown); impl IPrinterExtensionAsyncOperation { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -7389,25 +6219,9 @@ impl IPrinterExtensionAsyncOperation { } } ::windows_core::imp::interface_hierarchy!(IPrinterExtensionAsyncOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrinterExtensionAsyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrinterExtensionAsyncOperation {} -impl ::core::fmt::Debug for IPrinterExtensionAsyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionAsyncOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrinterExtensionAsyncOperation { type Vtable = IPrinterExtensionAsyncOperation_Vtbl; } -impl ::core::clone::Clone for IPrinterExtensionAsyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinterExtensionAsyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x108d6a23_6a4b_4552_9448_68b427186acd); } @@ -7420,6 +6234,7 @@ pub struct IPrinterExtensionAsyncOperation_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionContext { @@ -7451,30 +6266,10 @@ impl IPrinterExtensionContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterExtensionContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterExtensionContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterExtensionContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterExtensionContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterExtensionContext { type Vtable = IPrinterExtensionContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterExtensionContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterExtensionContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39843bf2_c4d2_41fd_b4b2_aedbee5e1900); } @@ -7503,6 +6298,7 @@ pub struct IPrinterExtensionContext_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionContextCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionContextCollection { @@ -7524,30 +6320,10 @@ impl IPrinterExtensionContextCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterExtensionContextCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterExtensionContextCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterExtensionContextCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterExtensionContextCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionContextCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterExtensionContextCollection { type Vtable = IPrinterExtensionContextCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterExtensionContextCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterExtensionContextCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb476970_9bab_4861_811e_3e98b0c5addf); } @@ -7566,6 +6342,7 @@ pub struct IPrinterExtensionContextCollection_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionEvent { @@ -7589,30 +6366,10 @@ impl IPrinterExtensionEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterExtensionEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterExtensionEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterExtensionEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterExtensionEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterExtensionEvent { type Vtable = IPrinterExtensionEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterExtensionEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterExtensionEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc093cb63_5ef5_4585_af8e_4d5637487b57); } @@ -7633,6 +6390,7 @@ pub struct IPrinterExtensionEvent_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionEventArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionEventArgs { @@ -7692,36 +6450,16 @@ impl IPrinterExtensionEventArgs { #[cfg(feature = "Win32_Foundation")] pub unsafe fn WindowParent(&self) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).WindowParent)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IPrinterExtensionEventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterExtensionContext); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterExtensionEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + (::windows_core::Interface::vtable(self).WindowParent)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterExtensionEventArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterExtensionEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionEventArgs").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IPrinterExtensionEventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterExtensionContext); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterExtensionEventArgs { type Vtable = IPrinterExtensionEventArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterExtensionEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterExtensionEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39843bf4_c4d2_41fd_b4b2_aedbee5e1900); } @@ -7749,6 +6487,7 @@ pub struct IPrinterExtensionEventArgs_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionManager(::windows_core::IUnknown); impl IPrinterExtensionManager { pub unsafe fn EnableEvents(&self, printerdriverid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -7759,25 +6498,9 @@ impl IPrinterExtensionManager { } } ::windows_core::imp::interface_hierarchy!(IPrinterExtensionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrinterExtensionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrinterExtensionManager {} -impl ::core::fmt::Debug for IPrinterExtensionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrinterExtensionManager { type Vtable = IPrinterExtensionManager_Vtbl; } -impl ::core::clone::Clone for IPrinterExtensionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinterExtensionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93c6eb8c_b001_4355_9629_8e8a1b3f8e77); } @@ -7791,6 +6514,7 @@ pub struct IPrinterExtensionManager_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterExtensionRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterExtensionRequest { @@ -7807,30 +6531,10 @@ impl IPrinterExtensionRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterExtensionRequest, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterExtensionRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterExtensionRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterExtensionRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterExtensionRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterExtensionRequest { type Vtable = IPrinterExtensionRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterExtensionRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterExtensionRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39843bf3_c4d2_41fd_b4b2_aedbee5e1900); } @@ -7845,6 +6549,7 @@ pub struct IPrinterExtensionRequest_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterPropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterPropertyBag { @@ -7927,30 +6632,10 @@ impl IPrinterPropertyBag { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterPropertyBag, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterPropertyBag {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterPropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterPropertyBag { type Vtable = IPrinterPropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfea77364_df95_4a23_a905_019b79a8e481); } @@ -7985,6 +6670,7 @@ pub struct IPrinterPropertyBag_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterQueue { @@ -8014,30 +6700,10 @@ impl IPrinterQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterQueue { type Vtable = IPrinterQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3580a828_07fe_4b94_ac1a_757d9d2d3056); } @@ -8060,6 +6726,7 @@ pub struct IPrinterQueue_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterQueue2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterQueue2 { @@ -8103,30 +6770,10 @@ impl IPrinterQueue2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterQueue2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterQueue); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterQueue2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterQueue2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterQueue2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterQueue2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterQueue2 { type Vtable = IPrinterQueue2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterQueue2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterQueue2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cd444e8_c9bb_49b3_8e38_e03209416131); } @@ -8144,6 +6791,7 @@ pub struct IPrinterQueue2_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterQueueEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterQueueEvent { @@ -8157,30 +6805,10 @@ impl IPrinterQueueEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterQueueEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterQueueEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterQueueEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterQueueEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterQueueEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterQueueEvent { type Vtable = IPrinterQueueEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterQueueEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterQueueEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x214685f6_7b78_4681_87e0_495f739273d1); } @@ -8194,6 +6822,7 @@ pub struct IPrinterQueueEvent_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterQueueView(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterQueueView { @@ -8204,30 +6833,10 @@ impl IPrinterQueueView { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterQueueView, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterQueueView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterQueueView {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterQueueView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterQueueView").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterQueueView { type Vtable = IPrinterQueueView_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterQueueView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterQueueView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x476e2969_3b2b_4b3f_8277_cff6056042aa); } @@ -8241,6 +6850,7 @@ pub struct IPrinterQueueView_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterQueueViewEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterQueueViewEvent { @@ -8256,30 +6866,10 @@ impl IPrinterQueueViewEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterQueueViewEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterQueueViewEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterQueueViewEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterQueueViewEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterQueueViewEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterQueueViewEvent { type Vtable = IPrinterQueueViewEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterQueueViewEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterQueueViewEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5b6042b_fd21_404a_a0ef_e2fbb52b9080); } @@ -8296,6 +6886,7 @@ pub struct IPrinterQueueViewEvent_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterScriptContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptContext { @@ -8321,30 +6912,10 @@ impl IPrinterScriptContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterScriptContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterScriptContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterScriptContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterScriptContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterScriptContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterScriptContext { type Vtable = IPrinterScriptContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterScriptContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterScriptContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x066acbca_8881_49c9_bb98_fae16b4889e1); } @@ -8369,6 +6940,7 @@ pub struct IPrinterScriptContext_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterScriptablePropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptablePropertyBag { @@ -8457,30 +7029,10 @@ impl IPrinterScriptablePropertyBag { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterScriptablePropertyBag, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterScriptablePropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterScriptablePropertyBag {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterScriptablePropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterScriptablePropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterScriptablePropertyBag { type Vtable = IPrinterScriptablePropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterScriptablePropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterScriptablePropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91c7765f_ed57_49ad_8b01_dc24816a5294); } @@ -8521,6 +7073,7 @@ pub struct IPrinterScriptablePropertyBag_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterScriptablePropertyBag2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptablePropertyBag2 { @@ -8616,30 +7169,10 @@ impl IPrinterScriptablePropertyBag2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterScriptablePropertyBag2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptablePropertyBag); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterScriptablePropertyBag2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterScriptablePropertyBag2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterScriptablePropertyBag2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterScriptablePropertyBag2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterScriptablePropertyBag2 { type Vtable = IPrinterScriptablePropertyBag2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterScriptablePropertyBag2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterScriptablePropertyBag2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a1c53c4_8638_4b3e_b518_2773c94556a3); } @@ -8653,6 +7186,7 @@ pub struct IPrinterScriptablePropertyBag2_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterScriptableSequentialStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptableSequentialStream { @@ -8675,30 +7209,10 @@ impl IPrinterScriptableSequentialStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterScriptableSequentialStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterScriptableSequentialStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterScriptableSequentialStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterScriptableSequentialStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterScriptableSequentialStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterScriptableSequentialStream { type Vtable = IPrinterScriptableSequentialStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterScriptableSequentialStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterScriptableSequentialStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2072838a_316f_467a_a949_27f68c44a854); } @@ -8719,6 +7233,7 @@ pub struct IPrinterScriptableSequentialStream_Vtbl { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinterScriptableStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrinterScriptableStream { @@ -8753,30 +7268,10 @@ impl IPrinterScriptableStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrinterScriptableStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptableSequentialStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrinterScriptableStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrinterScriptableStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrinterScriptableStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinterScriptableStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrinterScriptableStream { type Vtable = IPrinterScriptableStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrinterScriptableStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrinterScriptableStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7edf9a92_4750_41a5_a17f_879a6f4f7dcb); } @@ -8794,6 +7289,7 @@ pub struct IPrinterScriptableStream_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsDocument(::windows_core::IUnknown); impl IXpsDocument { pub unsafe fn GetThumbnail(&self) -> ::windows_core::Result { @@ -8808,25 +7304,9 @@ impl IXpsDocument { } } ::windows_core::imp::interface_hierarchy!(IXpsDocument, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsDocument {} -impl ::core::fmt::Debug for IXpsDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsDocument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsDocument { type Vtable = IXpsDocument_Vtbl; } -impl ::core::clone::Clone for IXpsDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8d907db_62a9_4a95_abe7_e01763dd30f8); } @@ -8839,6 +7319,7 @@ pub struct IXpsDocument_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsDocumentConsumer(::windows_core::IUnknown); impl IXpsDocumentConsumer { pub unsafe fn SendXpsUnknown(&self, punknown: P0) -> ::windows_core::Result<()> @@ -8882,25 +7363,9 @@ impl IXpsDocumentConsumer { } } ::windows_core::imp::interface_hierarchy!(IXpsDocumentConsumer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsDocumentConsumer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsDocumentConsumer {} -impl ::core::fmt::Debug for IXpsDocumentConsumer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsDocumentConsumer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsDocumentConsumer { type Vtable = IXpsDocumentConsumer_Vtbl; } -impl ::core::clone::Clone for IXpsDocumentConsumer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsDocumentConsumer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4368d8a2_4181_4a9f_b295_3d9a38bb9ba0); } @@ -8918,6 +7383,7 @@ pub struct IXpsDocumentConsumer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsDocumentProvider(::windows_core::IUnknown); impl IXpsDocumentProvider { pub unsafe fn GetXpsPart(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -8926,25 +7392,9 @@ impl IXpsDocumentProvider { } } ::windows_core::imp::interface_hierarchy!(IXpsDocumentProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsDocumentProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsDocumentProvider {} -impl ::core::fmt::Debug for IXpsDocumentProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsDocumentProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsDocumentProvider { type Vtable = IXpsDocumentProvider_Vtbl; } -impl ::core::clone::Clone for IXpsDocumentProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsDocumentProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8cf8530_5562_47c4_ab67_b1f69ecf961e); } @@ -8956,6 +7406,7 @@ pub struct IXpsDocumentProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsPartIterator(::windows_core::IUnknown); impl IXpsPartIterator { pub unsafe fn Reset(&self) { @@ -8974,25 +7425,9 @@ impl IXpsPartIterator { } } ::windows_core::imp::interface_hierarchy!(IXpsPartIterator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsPartIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsPartIterator {} -impl ::core::fmt::Debug for IXpsPartIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsPartIterator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsPartIterator { type Vtable = IXpsPartIterator_Vtbl; } -impl ::core::clone::Clone for IXpsPartIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsPartIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0021d3cd_af6f_42ab_9999_14bc82a62d2e); } @@ -9010,6 +7445,7 @@ pub struct IXpsPartIterator_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsRasterizationFactory(::windows_core::IUnknown); impl IXpsRasterizationFactory { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] @@ -9023,25 +7459,9 @@ impl IXpsRasterizationFactory { } } ::windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsRasterizationFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsRasterizationFactory {} -impl ::core::fmt::Debug for IXpsRasterizationFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsRasterizationFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsRasterizationFactory { type Vtable = IXpsRasterizationFactory_Vtbl; } -impl ::core::clone::Clone for IXpsRasterizationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsRasterizationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe094808a_24c6_482b_a3a7_c21ac9b55f17); } @@ -9056,6 +7476,7 @@ pub struct IXpsRasterizationFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsRasterizationFactory1(::windows_core::IUnknown); impl IXpsRasterizationFactory1 { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] @@ -9069,25 +7490,9 @@ impl IXpsRasterizationFactory1 { } } ::windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsRasterizationFactory1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsRasterizationFactory1 {} -impl ::core::fmt::Debug for IXpsRasterizationFactory1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsRasterizationFactory1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsRasterizationFactory1 { type Vtable = IXpsRasterizationFactory1_Vtbl; } -impl ::core::clone::Clone for IXpsRasterizationFactory1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsRasterizationFactory1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d6e5f77_6414_4a1e_a8e0_d4194ce6a26f); } @@ -9102,6 +7507,7 @@ pub struct IXpsRasterizationFactory1_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsRasterizationFactory2(::windows_core::IUnknown); impl IXpsRasterizationFactory2 { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] @@ -9115,25 +7521,9 @@ impl IXpsRasterizationFactory2 { } } ::windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsRasterizationFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsRasterizationFactory2 {} -impl ::core::fmt::Debug for IXpsRasterizationFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsRasterizationFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsRasterizationFactory2 { type Vtable = IXpsRasterizationFactory2_Vtbl; } -impl ::core::clone::Clone for IXpsRasterizationFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsRasterizationFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c16ce3e_10f5_41fd_9ddc_6826669c2ff6); } @@ -9148,6 +7538,7 @@ pub struct IXpsRasterizationFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsRasterizer(::windows_core::IUnknown); impl IXpsRasterizer { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -9164,25 +7555,9 @@ impl IXpsRasterizer { } } ::windows_core::imp::interface_hierarchy!(IXpsRasterizer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsRasterizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsRasterizer {} -impl ::core::fmt::Debug for IXpsRasterizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsRasterizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsRasterizer { type Vtable = IXpsRasterizer_Vtbl; } -impl ::core::clone::Clone for IXpsRasterizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsRasterizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7567cfc8_c156_47a8_9dac_11a2ae5bdd6b); } @@ -9198,6 +7573,7 @@ pub struct IXpsRasterizer_Vtbl { } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsRasterizerNotificationCallback(::windows_core::IUnknown); impl IXpsRasterizerNotificationCallback { pub unsafe fn Continue(&self) -> ::windows_core::Result<()> { @@ -9205,25 +7581,9 @@ impl IXpsRasterizerNotificationCallback { } } ::windows_core::imp::interface_hierarchy!(IXpsRasterizerNotificationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsRasterizerNotificationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsRasterizerNotificationCallback {} -impl ::core::fmt::Debug for IXpsRasterizerNotificationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsRasterizerNotificationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsRasterizerNotificationCallback { type Vtable = IXpsRasterizerNotificationCallback_Vtbl; } -impl ::core::clone::Clone for IXpsRasterizerNotificationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsRasterizerNotificationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ab8fd0d_cb94_49c2_9cb0_97ec1d5469d2); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs index 17872abc1a..a806ab0594 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs @@ -5,8 +5,8 @@ impl IApoAcousticEchoCancellation_Vtbl { pub const fn new, Impl: IApoAcousticEchoCancellation_Impl, const OFFSET: isize>() -> IApoAcousticEchoCancellation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IApoAuxiliaryInputConfiguration_Vtbl { IsInputFormatSupported: IsInputFormatSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl IApoAuxiliaryInputRT_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcceptInput: AcceptInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -85,8 +85,8 @@ impl IAudioDeviceModulesClient_Vtbl { SetAudioDeviceModulesManager: SetAudioDeviceModulesManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IAudioMediaType_Vtbl { GetUncompressedAudioFormat: GetUncompressedAudioFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -235,8 +235,8 @@ impl IAudioProcessingObject_Vtbl { GetInputChannelCount: GetInputChannelCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IAudioProcessingObjectConfiguration_Vtbl { UnlockForProcess: UnlockForProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -281,8 +281,8 @@ impl IAudioProcessingObjectLoggingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ApoLog: ApoLog:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -312,8 +312,8 @@ impl IAudioProcessingObjectNotifications_Vtbl { HandleNotification: HandleNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IAudioProcessingObjectNotifications2_Vtbl { GetApoNotificationRegistrationInfo2: GetApoNotificationRegistrationInfo2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl IAudioProcessingObjectRT_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IAudioProcessingObjectRTQueueService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRealTimeWorkQueue: GetRealTimeWorkQueue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -435,8 +435,8 @@ impl IAudioProcessingObjectVBR_Vtbl { CalcMaxOutputFrames: CalcMaxOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl IAudioSystemEffects_Vtbl { pub const fn new, Impl: IAudioSystemEffects_Impl, const OFFSET: isize>() -> IAudioSystemEffects_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -467,8 +467,8 @@ impl IAudioSystemEffects2_Vtbl { } Self { base__: IAudioSystemEffects_Vtbl::new::(), GetEffectsList: GetEffectsList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IAudioSystemEffects3_Vtbl { SetAudioSystemEffectState: SetAudioSystemEffectState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -551,7 +551,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { GetFormatRepresentation: GetFormatRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs index 319c04ba38..97161fc96c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs @@ -1,27 +1,12 @@ #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApoAcousticEchoCancellation(::windows_core::IUnknown); impl IApoAcousticEchoCancellation {} ::windows_core::imp::interface_hierarchy!(IApoAcousticEchoCancellation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApoAcousticEchoCancellation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApoAcousticEchoCancellation {} -impl ::core::fmt::Debug for IApoAcousticEchoCancellation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApoAcousticEchoCancellation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApoAcousticEchoCancellation { type Vtable = IApoAcousticEchoCancellation_Vtbl; } -impl ::core::clone::Clone for IApoAcousticEchoCancellation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApoAcousticEchoCancellation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25385759_3236_4101_a943_25693dfb5d2d); } @@ -32,6 +17,7 @@ pub struct IApoAcousticEchoCancellation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApoAuxiliaryInputConfiguration(::windows_core::IUnknown); impl IApoAuxiliaryInputConfiguration { pub unsafe fn AddAuxiliaryInput(&self, dwinputid: u32, pbydata: &[u8], pinputconnection: *const APO_CONNECTION_DESCRIPTOR) -> ::windows_core::Result<()> { @@ -49,25 +35,9 @@ impl IApoAuxiliaryInputConfiguration { } } ::windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApoAuxiliaryInputConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApoAuxiliaryInputConfiguration {} -impl ::core::fmt::Debug for IApoAuxiliaryInputConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApoAuxiliaryInputConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApoAuxiliaryInputConfiguration { type Vtable = IApoAuxiliaryInputConfiguration_Vtbl; } -impl ::core::clone::Clone for IApoAuxiliaryInputConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApoAuxiliaryInputConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ceb0aab_fa19_48ed_a857_87771ae1b768); } @@ -81,6 +51,7 @@ pub struct IApoAuxiliaryInputConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApoAuxiliaryInputRT(::windows_core::IUnknown); impl IApoAuxiliaryInputRT { pub unsafe fn AcceptInput(&self, dwinputid: u32, pinputconnection: *const APO_CONNECTION_PROPERTY) { @@ -88,25 +59,9 @@ impl IApoAuxiliaryInputRT { } } ::windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputRT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApoAuxiliaryInputRT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApoAuxiliaryInputRT {} -impl ::core::fmt::Debug for IApoAuxiliaryInputRT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApoAuxiliaryInputRT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApoAuxiliaryInputRT { type Vtable = IApoAuxiliaryInputRT_Vtbl; } -impl ::core::clone::Clone for IApoAuxiliaryInputRT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApoAuxiliaryInputRT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf851809c_c177_49a0_b1b2_b66f017943ab); } @@ -118,6 +73,7 @@ pub struct IApoAuxiliaryInputRT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceModulesClient(::windows_core::IUnknown); impl IAudioDeviceModulesClient { pub unsafe fn SetAudioDeviceModulesManager(&self, paudiodevicemodulesmanager: P0) -> ::windows_core::Result<()> @@ -128,25 +84,9 @@ impl IAudioDeviceModulesClient { } } ::windows_core::imp::interface_hierarchy!(IAudioDeviceModulesClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioDeviceModulesClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioDeviceModulesClient {} -impl ::core::fmt::Debug for IAudioDeviceModulesClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioDeviceModulesClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioDeviceModulesClient { type Vtable = IAudioDeviceModulesClient_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceModulesClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceModulesClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98f37dac_d0b6_49f5_896a_aa4d169a4c48); } @@ -158,6 +98,7 @@ pub struct IAudioDeviceModulesClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMediaType(::windows_core::IUnknown); impl IAudioMediaType { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -181,25 +122,9 @@ impl IAudioMediaType { } } ::windows_core::imp::interface_hierarchy!(IAudioMediaType, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioMediaType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioMediaType {} -impl ::core::fmt::Debug for IAudioMediaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioMediaType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioMediaType { type Vtable = IAudioMediaType_Vtbl; } -impl ::core::clone::Clone for IAudioMediaType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMediaType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e997f73_b71f_4798_873b_ed7dfcf15b4d); } @@ -217,6 +142,7 @@ pub struct IAudioMediaType_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObject(::windows_core::IUnknown); impl IAudioProcessingObject { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -255,25 +181,9 @@ impl IAudioProcessingObject { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObject {} -impl ::core::fmt::Debug for IAudioProcessingObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObject { type Vtable = IAudioProcessingObject_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd7f2b29_24d0_4b5c_b177_592c39f9ca10); } @@ -291,6 +201,7 @@ pub struct IAudioProcessingObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectConfiguration(::windows_core::IUnknown); impl IAudioProcessingObjectConfiguration { pub unsafe fn LockForProcess(&self, ppinputconnections: &[*const APO_CONNECTION_DESCRIPTOR], ppoutputconnections: &[*const APO_CONNECTION_DESCRIPTOR]) -> ::windows_core::Result<()> { @@ -301,25 +212,9 @@ impl IAudioProcessingObjectConfiguration { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectConfiguration {} -impl ::core::fmt::Debug for IAudioProcessingObjectConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectConfiguration { type Vtable = IAudioProcessingObjectConfiguration_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e5ed805_aba6_49c3_8f9a_2b8c889c4fa8); } @@ -332,6 +227,7 @@ pub struct IAudioProcessingObjectConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectLoggingService(::windows_core::IUnknown); impl IAudioProcessingObjectLoggingService { pub unsafe fn ApoLog(&self, level: APO_LOG_LEVEL, format: P0) @@ -342,25 +238,9 @@ impl IAudioProcessingObjectLoggingService { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectLoggingService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectLoggingService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectLoggingService {} -impl ::core::fmt::Debug for IAudioProcessingObjectLoggingService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectLoggingService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectLoggingService { type Vtable = IAudioProcessingObjectLoggingService_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectLoggingService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectLoggingService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x698f0107_1745_4708_95a5_d84478a62a65); } @@ -372,6 +252,7 @@ pub struct IAudioProcessingObjectLoggingService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectNotifications(::windows_core::IUnknown); impl IAudioProcessingObjectNotifications { pub unsafe fn GetApoNotificationRegistrationInfo(&self, aponotifications: *mut *mut APO_NOTIFICATION_DESCRIPTOR, count: *mut u32) -> ::windows_core::Result<()> { @@ -384,25 +265,9 @@ impl IAudioProcessingObjectNotifications { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectNotifications { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectNotifications {} -impl ::core::fmt::Debug for IAudioProcessingObjectNotifications { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectNotifications").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectNotifications { type Vtable = IAudioProcessingObjectNotifications_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectNotifications { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectNotifications { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56b0c76f_02fd_4b21_a52e_9f8219fc86e4); } @@ -418,6 +283,7 @@ pub struct IAudioProcessingObjectNotifications_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectNotifications2(::windows_core::IUnknown); impl IAudioProcessingObjectNotifications2 { pub unsafe fn GetApoNotificationRegistrationInfo(&self, aponotifications: *mut *mut APO_NOTIFICATION_DESCRIPTOR, count: *mut u32) -> ::windows_core::Result<()> { @@ -433,25 +299,9 @@ impl IAudioProcessingObjectNotifications2 { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications2, ::windows_core::IUnknown, IAudioProcessingObjectNotifications); -impl ::core::cmp::PartialEq for IAudioProcessingObjectNotifications2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectNotifications2 {} -impl ::core::fmt::Debug for IAudioProcessingObjectNotifications2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectNotifications2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectNotifications2 { type Vtable = IAudioProcessingObjectNotifications2_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectNotifications2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectNotifications2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca2cfbde_a9d6_4eb0_bc95_c4d026b380f0); } @@ -463,6 +313,7 @@ pub struct IAudioProcessingObjectNotifications2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectRT(::windows_core::IUnknown); impl IAudioProcessingObjectRT { pub unsafe fn APOProcess(&self, u32numinputconnections: u32, ppinputconnections: *const *const APO_CONNECTION_PROPERTY, u32numoutputconnections: u32, ppoutputconnections: *mut *mut APO_CONNECTION_PROPERTY) { @@ -476,25 +327,9 @@ impl IAudioProcessingObjectRT { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectRT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectRT {} -impl ::core::fmt::Debug for IAudioProcessingObjectRT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectRT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectRT { type Vtable = IAudioProcessingObjectRT_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectRT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectRT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e1d6a6d_ddbc_4e95_a4c7_ad64ba37846c); } @@ -508,6 +343,7 @@ pub struct IAudioProcessingObjectRT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectRTQueueService(::windows_core::IUnknown); impl IAudioProcessingObjectRTQueueService { pub unsafe fn GetRealTimeWorkQueue(&self) -> ::windows_core::Result { @@ -516,25 +352,9 @@ impl IAudioProcessingObjectRTQueueService { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRTQueueService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectRTQueueService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectRTQueueService {} -impl ::core::fmt::Debug for IAudioProcessingObjectRTQueueService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectRTQueueService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectRTQueueService { type Vtable = IAudioProcessingObjectRTQueueService_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectRTQueueService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectRTQueueService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacd65e2f_955b_4b57_b9bf_ac297bb752c9); } @@ -546,6 +366,7 @@ pub struct IAudioProcessingObjectRTQueueService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioProcessingObjectVBR(::windows_core::IUnknown); impl IAudioProcessingObjectVBR { pub unsafe fn CalcMaxInputFrames(&self, u32maxoutputframecount: u32) -> ::windows_core::Result { @@ -558,25 +379,9 @@ impl IAudioProcessingObjectVBR { } } ::windows_core::imp::interface_hierarchy!(IAudioProcessingObjectVBR, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioProcessingObjectVBR { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioProcessingObjectVBR {} -impl ::core::fmt::Debug for IAudioProcessingObjectVBR { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioProcessingObjectVBR").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioProcessingObjectVBR { type Vtable = IAudioProcessingObjectVBR_Vtbl; } -impl ::core::clone::Clone for IAudioProcessingObjectVBR { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioProcessingObjectVBR { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ba1db8f_78ad_49cd_9591_f79d80a17c81); } @@ -589,28 +394,13 @@ pub struct IAudioProcessingObjectVBR_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffects(::windows_core::IUnknown); impl IAudioSystemEffects {} ::windows_core::imp::interface_hierarchy!(IAudioSystemEffects, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSystemEffects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffects {} -impl ::core::fmt::Debug for IAudioSystemEffects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffects").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffects { type Vtable = IAudioSystemEffects_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fa00f27_add6_499a_8a9d_6b98521fa75b); } @@ -621,6 +411,7 @@ pub struct IAudioSystemEffects_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffects2(::windows_core::IUnknown); impl IAudioSystemEffects2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -633,25 +424,9 @@ impl IAudioSystemEffects2 { } } ::windows_core::imp::interface_hierarchy!(IAudioSystemEffects2, ::windows_core::IUnknown, IAudioSystemEffects); -impl ::core::cmp::PartialEq for IAudioSystemEffects2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffects2 {} -impl ::core::fmt::Debug for IAudioSystemEffects2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffects2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffects2 { type Vtable = IAudioSystemEffects2_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffects2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffects2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbafe99d2_7436_44ce_9e0e_4d89afbfff56); } @@ -666,6 +441,7 @@ pub struct IAudioSystemEffects2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffects3(::windows_core::IUnknown); impl IAudioSystemEffects3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -689,25 +465,9 @@ impl IAudioSystemEffects3 { } } ::windows_core::imp::interface_hierarchy!(IAudioSystemEffects3, ::windows_core::IUnknown, IAudioSystemEffects, IAudioSystemEffects2); -impl ::core::cmp::PartialEq for IAudioSystemEffects3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffects3 {} -impl ::core::fmt::Debug for IAudioSystemEffects3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffects3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffects3 { type Vtable = IAudioSystemEffects3_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffects3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffects3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc58b31cd_fc6a_4255_bc1f_ad29bb0a4a17); } @@ -723,6 +483,7 @@ pub struct IAudioSystemEffects3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffectsCustomFormats(::windows_core::IUnknown); impl IAudioSystemEffectsCustomFormats { pub unsafe fn GetFormatCount(&self) -> ::windows_core::Result { @@ -739,25 +500,9 @@ impl IAudioSystemEffectsCustomFormats { } } ::windows_core::imp::interface_hierarchy!(IAudioSystemEffectsCustomFormats, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSystemEffectsCustomFormats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffectsCustomFormats {} -impl ::core::fmt::Debug for IAudioSystemEffectsCustomFormats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffectsCustomFormats").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffectsCustomFormats { type Vtable = IAudioSystemEffectsCustomFormats_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffectsCustomFormats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffectsCustomFormats { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1176e34_bb7f_4f05_bebd_1b18a534e097); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs index b978903e66..8d4eb72144 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs @@ -74,8 +74,8 @@ impl IDirectMusic_Vtbl { SetDirectSound: SetDirectSound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDirectMusic8_Vtbl { } Self { base__: IDirectMusic_Vtbl::new::(), SetExternalMasterClock: SetExternalMasterClock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IDirectMusicBuffer_Vtbl { SetUsedBytes: SetUsedBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IDirectMusicCollection_Vtbl { EnumInstrument: EnumInstrument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -252,8 +252,8 @@ impl IDirectMusicDownload_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IDirectMusicDownloadedInstrument_Vtbl { pub const fn new, Impl: IDirectMusicDownloadedInstrument_Impl, const OFFSET: isize>() -> IDirectMusicDownloadedInstrument_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IDirectMusicInstrument_Vtbl { SetPatch: SetPatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -433,8 +433,8 @@ impl IDirectMusicPort_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl IDirectMusicPortDownload_Vtbl { Unload: Unload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl IDirectMusicSynth_Vtbl { GetAppend: GetAppend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl IDirectMusicSynth8_Vtbl { AssignChannelToBuses: AssignChannelToBuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -774,8 +774,8 @@ impl IDirectMusicSynthSink_Vtbl { GetDesiredBufferSize: GetDesiredBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -792,7 +792,7 @@ impl IDirectMusicThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThruChannel: ThruChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 81900ca485..df803bc2b6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusic(::windows_core::IUnknown); impl IDirectMusic { pub unsafe fn EnumPort(&self, dwindex: u32, pportcaps: *mut DMUS_PORTCAPS) -> ::windows_core::Result<()> { @@ -50,25 +51,9 @@ impl IDirectMusic { } } ::windows_core::imp::interface_hierarchy!(IDirectMusic, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusic { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusic {} -impl ::core::fmt::Debug for IDirectMusic { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusic").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusic { type Vtable = IDirectMusic_Vtbl; } -impl ::core::clone::Clone for IDirectMusic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6536115a_7b2d_11d2_ba18_0000f875ac12); } @@ -97,6 +82,7 @@ pub struct IDirectMusic_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusic8(::windows_core::IUnknown); impl IDirectMusic8 { pub unsafe fn EnumPort(&self, dwindex: u32, pportcaps: *mut DMUS_PORTCAPS) -> ::windows_core::Result<()> { @@ -153,25 +139,9 @@ impl IDirectMusic8 { } } ::windows_core::imp::interface_hierarchy!(IDirectMusic8, ::windows_core::IUnknown, IDirectMusic); -impl ::core::cmp::PartialEq for IDirectMusic8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusic8 {} -impl ::core::fmt::Debug for IDirectMusic8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusic8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusic8 { type Vtable = IDirectMusic8_Vtbl; } -impl ::core::clone::Clone for IDirectMusic8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusic8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d3629f7_813d_4939_8508_f05c6b75fd97); } @@ -183,6 +153,7 @@ pub struct IDirectMusic8_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicBuffer(::windows_core::IUnknown); impl IDirectMusicBuffer { pub unsafe fn Flush(&self) -> ::windows_core::Result<()> { @@ -226,25 +197,9 @@ impl IDirectMusicBuffer { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicBuffer {} -impl ::core::fmt::Debug for IDirectMusicBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicBuffer { type Vtable = IDirectMusicBuffer_Vtbl; } -impl ::core::clone::Clone for IDirectMusicBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac2878_b39b_11d1_8704_00600893b1bd); } @@ -268,6 +223,7 @@ pub struct IDirectMusicBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicCollection(::windows_core::IUnknown); impl IDirectMusicCollection { pub unsafe fn GetInstrument(&self, dwpatch: u32) -> ::windows_core::Result { @@ -282,25 +238,9 @@ impl IDirectMusicCollection { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicCollection {} -impl ::core::fmt::Debug for IDirectMusicCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicCollection { type Vtable = IDirectMusicCollection_Vtbl; } -impl ::core::clone::Clone for IDirectMusicCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac287c_b39b_11d1_8704_00600893b1bd); } @@ -313,6 +253,7 @@ pub struct IDirectMusicCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicDownload(::windows_core::IUnknown); impl IDirectMusicDownload { pub unsafe fn GetBuffer(&self, ppvbuffer: *mut *mut ::core::ffi::c_void, pdwsize: *mut u32) -> ::windows_core::Result<()> { @@ -320,25 +261,9 @@ impl IDirectMusicDownload { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicDownload, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicDownload { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicDownload {} -impl ::core::fmt::Debug for IDirectMusicDownload { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicDownload").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicDownload { type Vtable = IDirectMusicDownload_Vtbl; } -impl ::core::clone::Clone for IDirectMusicDownload { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicDownload { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac287b_b39b_11d1_8704_00600893b1bd); } @@ -350,28 +275,13 @@ pub struct IDirectMusicDownload_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicDownloadedInstrument(::windows_core::IUnknown); impl IDirectMusicDownloadedInstrument {} ::windows_core::imp::interface_hierarchy!(IDirectMusicDownloadedInstrument, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicDownloadedInstrument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicDownloadedInstrument {} -impl ::core::fmt::Debug for IDirectMusicDownloadedInstrument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicDownloadedInstrument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicDownloadedInstrument { type Vtable = IDirectMusicDownloadedInstrument_Vtbl; } -impl ::core::clone::Clone for IDirectMusicDownloadedInstrument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicDownloadedInstrument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac287e_b39b_11d1_8704_00600893b1bd); } @@ -382,6 +292,7 @@ pub struct IDirectMusicDownloadedInstrument_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicInstrument(::windows_core::IUnknown); impl IDirectMusicInstrument { pub unsafe fn GetPatch(&self, pdwpatch: *mut u32) -> ::windows_core::Result<()> { @@ -392,25 +303,9 @@ impl IDirectMusicInstrument { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicInstrument, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicInstrument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicInstrument {} -impl ::core::fmt::Debug for IDirectMusicInstrument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicInstrument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicInstrument { type Vtable = IDirectMusicInstrument_Vtbl; } -impl ::core::clone::Clone for IDirectMusicInstrument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicInstrument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac287d_b39b_11d1_8704_00600893b1bd); } @@ -423,6 +318,7 @@ pub struct IDirectMusicInstrument_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicPort(::windows_core::IUnknown); impl IDirectMusicPort { pub unsafe fn PlayBuffer(&self, pbuffer: P0) -> ::windows_core::Result<()> @@ -509,25 +405,9 @@ impl IDirectMusicPort { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicPort {} -impl ::core::fmt::Debug for IDirectMusicPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicPort { type Vtable = IDirectMusicPort_Vtbl; } -impl ::core::clone::Clone for IDirectMusicPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08f2d8c9_37c2_11d2_b9f9_0000f875ac12); } @@ -567,6 +447,7 @@ pub struct IDirectMusicPort_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicPortDownload(::windows_core::IUnknown); impl IDirectMusicPortDownload { pub unsafe fn GetBuffer(&self, dwdlid: u32) -> ::windows_core::Result { @@ -597,25 +478,9 @@ impl IDirectMusicPortDownload { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicPortDownload, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicPortDownload { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicPortDownload {} -impl ::core::fmt::Debug for IDirectMusicPortDownload { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicPortDownload").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicPortDownload { type Vtable = IDirectMusicPortDownload_Vtbl; } -impl ::core::clone::Clone for IDirectMusicPortDownload { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicPortDownload { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ac287a_b39b_11d1_8704_00600893b1bd); } @@ -632,6 +497,7 @@ pub struct IDirectMusicPortDownload_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicSynth(::windows_core::IUnknown); impl IDirectMusicSynth { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -709,25 +575,9 @@ impl IDirectMusicSynth { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicSynth, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicSynth { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicSynth {} -impl ::core::fmt::Debug for IDirectMusicSynth { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicSynth").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicSynth { type Vtable = IDirectMusicSynth_Vtbl; } -impl ::core::clone::Clone for IDirectMusicSynth { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicSynth { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09823661_5c85_11d2_afa6_00aa0024d8b6); } @@ -767,6 +617,7 @@ pub struct IDirectMusicSynth_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicSynth8(::windows_core::IUnknown); impl IDirectMusicSynth8 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -861,25 +712,9 @@ impl IDirectMusicSynth8 { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicSynth8, ::windows_core::IUnknown, IDirectMusicSynth); -impl ::core::cmp::PartialEq for IDirectMusicSynth8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicSynth8 {} -impl ::core::fmt::Debug for IDirectMusicSynth8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicSynth8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicSynth8 { type Vtable = IDirectMusicSynth8_Vtbl; } -impl ::core::clone::Clone for IDirectMusicSynth8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicSynth8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53cab625_2711_4c9f_9de7_1b7f925f6fc8); } @@ -898,6 +733,7 @@ pub struct IDirectMusicSynth8_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicSynthSink(::windows_core::IUnknown); impl IDirectMusicSynthSink { pub unsafe fn Init(&self, psynth: P0) -> ::windows_core::Result<()> @@ -944,25 +780,9 @@ impl IDirectMusicSynthSink { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicSynthSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicSynthSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicSynthSink {} -impl ::core::fmt::Debug for IDirectMusicSynthSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicSynthSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicSynthSink { type Vtable = IDirectMusicSynthSink_Vtbl; } -impl ::core::clone::Clone for IDirectMusicSynthSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicSynthSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09823663_5c85_11d2_afa6_00aa0024d8b6); } @@ -987,6 +807,7 @@ pub struct IDirectMusicSynthSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectMusicThru(::windows_core::IUnknown); impl IDirectMusicThru { pub unsafe fn ThruChannel(&self, dwsourcechannelgroup: u32, dwsourcechannel: u32, dwdestinationchannelgroup: u32, dwdestinationchannel: u32, pdestinationport: P0) -> ::windows_core::Result<()> @@ -997,25 +818,9 @@ impl IDirectMusicThru { } } ::windows_core::imp::interface_hierarchy!(IDirectMusicThru, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectMusicThru { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectMusicThru {} -impl ::core::fmt::Debug for IDirectMusicThru { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectMusicThru").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectMusicThru { type Vtable = IDirectMusicThru_Vtbl; } -impl ::core::clone::Clone for IDirectMusicThru { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectMusicThru { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xced153e7_3606_11d2_b9f9_0000f875ac12); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs index 162cb1c933..7b4ff37a59 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs @@ -79,8 +79,8 @@ impl IDirectSound_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -264,8 +264,8 @@ impl IDirectSound3DBuffer_Vtbl { SetVelocity: SetVelocity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IDirectSound3DListener_Vtbl { CommitDeferredSettings: CommitDeferredSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl IDirectSound8_Vtbl { } Self { base__: IDirectSound_Vtbl::new::(), VerifyCertification: VerifyCertification:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -607,8 +607,8 @@ impl IDirectSoundBuffer_Vtbl { Restore: Restore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -642,8 +642,8 @@ impl IDirectSoundBuffer8_Vtbl { GetObjectInPath: GetObjectInPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IDirectSoundCapture_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IDirectSoundCaptureBuffer_Vtbl { Unlock: Unlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -800,8 +800,8 @@ impl IDirectSoundCaptureBuffer8_Vtbl { GetFXStatus: GetFXStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -857,8 +857,8 @@ impl IDirectSoundCaptureFXAec_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -901,8 +901,8 @@ impl IDirectSoundCaptureFXNoiseSuppress_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -929,8 +929,8 @@ impl IDirectSoundFXChorus_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IDirectSoundFXCompressor_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -985,8 +985,8 @@ impl IDirectSoundFXDistortion_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IDirectSoundFXEcho_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1041,8 +1041,8 @@ impl IDirectSoundFXFlanger_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1075,8 +1075,8 @@ impl IDirectSoundFXGargle_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1143,8 +1143,8 @@ impl IDirectSoundFXI3DL2Reverb_Vtbl { GetQuality: GetQuality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IDirectSoundFXParamEq_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1211,8 +1211,8 @@ impl IDirectSoundFXWavesReverb_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1232,8 +1232,8 @@ impl IDirectSoundFullDuplex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1253,7 +1253,7 @@ impl IDirectSoundNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotificationPositions: SetNotificationPositions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs index f91193f861..f8931254a7 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs @@ -82,6 +82,7 @@ pub unsafe fn GetDeviceID(pguidsrc: ::core::option::Option<*const ::windows_core } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSound(::windows_core::IUnknown); impl IDirectSound { pub unsafe fn CreateSoundBuffer(&self, pcdsbufferdesc: *const DSBUFFERDESC, ppdsbuffer: *mut ::core::option::Option, punkouter: P0) -> ::windows_core::Result<()> @@ -123,25 +124,9 @@ impl IDirectSound { } } ::windows_core::imp::interface_hierarchy!(IDirectSound, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSound { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSound {} -impl ::core::fmt::Debug for IDirectSound { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSound").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSound { type Vtable = IDirectSound_Vtbl; } -impl ::core::clone::Clone for IDirectSound { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSound { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x279afa83_4981_11ce_a521_0020af0be560); } @@ -163,6 +148,7 @@ pub struct IDirectSound_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSound3DBuffer(::windows_core::IUnknown); impl IDirectSound3DBuffer { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -238,25 +224,9 @@ impl IDirectSound3DBuffer { } } ::windows_core::imp::interface_hierarchy!(IDirectSound3DBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSound3DBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSound3DBuffer {} -impl ::core::fmt::Debug for IDirectSound3DBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSound3DBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSound3DBuffer { type Vtable = IDirectSound3DBuffer_Vtbl; } -impl ::core::clone::Clone for IDirectSound3DBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSound3DBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x279afa86_4981_11ce_a521_0020af0be560); } @@ -300,6 +270,7 @@ pub struct IDirectSound3DBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSound3DListener(::windows_core::IUnknown); impl IDirectSound3DListener { #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] @@ -364,25 +335,9 @@ impl IDirectSound3DListener { } } ::windows_core::imp::interface_hierarchy!(IDirectSound3DListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSound3DListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSound3DListener {} -impl ::core::fmt::Debug for IDirectSound3DListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSound3DListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSound3DListener { type Vtable = IDirectSound3DListener_Vtbl; } -impl ::core::clone::Clone for IDirectSound3DListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSound3DListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x279afa84_4981_11ce_a521_0020af0be560); } @@ -423,6 +378,7 @@ pub struct IDirectSound3DListener_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSound8(::windows_core::IUnknown); impl IDirectSound8 { pub unsafe fn CreateSoundBuffer(&self, pcdsbufferdesc: *const DSBUFFERDESC, ppdsbuffer: *mut ::core::option::Option, punkouter: P0) -> ::windows_core::Result<()> @@ -468,25 +424,9 @@ impl IDirectSound8 { } } ::windows_core::imp::interface_hierarchy!(IDirectSound8, ::windows_core::IUnknown, IDirectSound); -impl ::core::cmp::PartialEq for IDirectSound8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSound8 {} -impl ::core::fmt::Debug for IDirectSound8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSound8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSound8 { type Vtable = IDirectSound8_Vtbl; } -impl ::core::clone::Clone for IDirectSound8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSound8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc50a7e93_f395_4834_9ef6_7fa99de50966); } @@ -498,6 +438,7 @@ pub struct IDirectSound8_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundBuffer(::windows_core::IUnknown); impl IDirectSoundBuffer { pub unsafe fn GetCaps(&self, pdsbuffercaps: *mut DSBCAPS) -> ::windows_core::Result<()> { @@ -563,25 +504,9 @@ impl IDirectSoundBuffer { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundBuffer {} -impl ::core::fmt::Debug for IDirectSoundBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundBuffer { type Vtable = IDirectSoundBuffer_Vtbl; } -impl ::core::clone::Clone for IDirectSoundBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x279afa85_4981_11ce_a521_0020af0be560); } @@ -610,6 +535,7 @@ pub struct IDirectSoundBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundBuffer8(::windows_core::IUnknown); impl IDirectSoundBuffer8 { pub unsafe fn GetCaps(&self, pdsbuffercaps: *mut DSBCAPS) -> ::windows_core::Result<()> { @@ -684,25 +610,9 @@ impl IDirectSoundBuffer8 { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundBuffer8, ::windows_core::IUnknown, IDirectSoundBuffer); -impl ::core::cmp::PartialEq for IDirectSoundBuffer8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundBuffer8 {} -impl ::core::fmt::Debug for IDirectSoundBuffer8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundBuffer8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundBuffer8 { type Vtable = IDirectSoundBuffer8_Vtbl; } -impl ::core::clone::Clone for IDirectSoundBuffer8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundBuffer8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6825a449_7524_4d82_920f_50e36ab3ab1e); } @@ -716,6 +626,7 @@ pub struct IDirectSoundBuffer8_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundCapture(::windows_core::IUnknown); impl IDirectSoundCapture { pub unsafe fn CreateCaptureBuffer(&self, pcdscbufferdesc: *const DSCBUFFERDESC, ppdscbuffer: *mut ::core::option::Option, punkouter: P0) -> ::windows_core::Result<()> @@ -733,25 +644,9 @@ impl IDirectSoundCapture { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundCapture, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundCapture {} -impl ::core::fmt::Debug for IDirectSoundCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundCapture").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundCapture { type Vtable = IDirectSoundCapture_Vtbl; } -impl ::core::clone::Clone for IDirectSoundCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0210781_89cd_11d0_af08_00a0c925cd16); } @@ -765,6 +660,7 @@ pub struct IDirectSoundCapture_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundCaptureBuffer(::windows_core::IUnknown); impl IDirectSoundCaptureBuffer { pub unsafe fn GetCaps(&self) -> ::windows_core::Result { @@ -801,25 +697,9 @@ impl IDirectSoundCaptureBuffer { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundCaptureBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundCaptureBuffer {} -impl ::core::fmt::Debug for IDirectSoundCaptureBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundCaptureBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundCaptureBuffer { type Vtable = IDirectSoundCaptureBuffer_Vtbl; } -impl ::core::clone::Clone for IDirectSoundCaptureBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundCaptureBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0210782_89cd_11d0_af08_00a0c925cd16); } @@ -839,6 +719,7 @@ pub struct IDirectSoundCaptureBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundCaptureBuffer8(::windows_core::IUnknown); impl IDirectSoundCaptureBuffer8 { pub unsafe fn GetCaps(&self) -> ::windows_core::Result { @@ -881,25 +762,9 @@ impl IDirectSoundCaptureBuffer8 { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer8, ::windows_core::IUnknown, IDirectSoundCaptureBuffer); -impl ::core::cmp::PartialEq for IDirectSoundCaptureBuffer8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundCaptureBuffer8 {} -impl ::core::fmt::Debug for IDirectSoundCaptureBuffer8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundCaptureBuffer8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundCaptureBuffer8 { type Vtable = IDirectSoundCaptureBuffer8_Vtbl; } -impl ::core::clone::Clone for IDirectSoundCaptureBuffer8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundCaptureBuffer8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00990df4_0dbb_4872_833e_6d303e80aeb6); } @@ -912,6 +777,7 @@ pub struct IDirectSoundCaptureBuffer8_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundCaptureFXAec(::windows_core::IUnknown); impl IDirectSoundCaptureFXAec { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -934,25 +800,9 @@ impl IDirectSoundCaptureFXAec { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXAec, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundCaptureFXAec { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundCaptureFXAec {} -impl ::core::fmt::Debug for IDirectSoundCaptureFXAec { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundCaptureFXAec").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundCaptureFXAec { type Vtable = IDirectSoundCaptureFXAec_Vtbl; } -impl ::core::clone::Clone for IDirectSoundCaptureFXAec { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundCaptureFXAec { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad74143d_903d_4ab7_8066_28d363036d65); } @@ -973,6 +823,7 @@ pub struct IDirectSoundCaptureFXAec_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundCaptureFXNoiseSuppress(::windows_core::IUnknown); impl IDirectSoundCaptureFXNoiseSuppress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -991,25 +842,9 @@ impl IDirectSoundCaptureFXNoiseSuppress { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXNoiseSuppress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundCaptureFXNoiseSuppress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundCaptureFXNoiseSuppress {} -impl ::core::fmt::Debug for IDirectSoundCaptureFXNoiseSuppress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundCaptureFXNoiseSuppress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundCaptureFXNoiseSuppress { type Vtable = IDirectSoundCaptureFXNoiseSuppress_Vtbl; } -impl ::core::clone::Clone for IDirectSoundCaptureFXNoiseSuppress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundCaptureFXNoiseSuppress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed311e41_fbae_4175_9625_cd0854f693ca); } @@ -1029,6 +864,7 @@ pub struct IDirectSoundCaptureFXNoiseSuppress_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXChorus(::windows_core::IUnknown); impl IDirectSoundFXChorus { pub unsafe fn SetAllParameters(&self, pcdsfxchorus: *const DSFXChorus) -> ::windows_core::Result<()> { @@ -1039,25 +875,9 @@ impl IDirectSoundFXChorus { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXChorus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXChorus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXChorus {} -impl ::core::fmt::Debug for IDirectSoundFXChorus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXChorus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXChorus { type Vtable = IDirectSoundFXChorus_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXChorus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXChorus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x880842e3_145f_43e6_a934_a71806e50547); } @@ -1070,6 +890,7 @@ pub struct IDirectSoundFXChorus_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXCompressor(::windows_core::IUnknown); impl IDirectSoundFXCompressor { pub unsafe fn SetAllParameters(&self, pcdsfxcompressor: *const DSFXCompressor) -> ::windows_core::Result<()> { @@ -1080,25 +901,9 @@ impl IDirectSoundFXCompressor { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXCompressor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXCompressor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXCompressor {} -impl ::core::fmt::Debug for IDirectSoundFXCompressor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXCompressor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXCompressor { type Vtable = IDirectSoundFXCompressor_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXCompressor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXCompressor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bbd1154_62f6_4e2c_a15c_d3b6c417f7a0); } @@ -1111,6 +916,7 @@ pub struct IDirectSoundFXCompressor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXDistortion(::windows_core::IUnknown); impl IDirectSoundFXDistortion { pub unsafe fn SetAllParameters(&self, pcdsfxdistortion: *const DSFXDistortion) -> ::windows_core::Result<()> { @@ -1121,25 +927,9 @@ impl IDirectSoundFXDistortion { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXDistortion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXDistortion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXDistortion {} -impl ::core::fmt::Debug for IDirectSoundFXDistortion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXDistortion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXDistortion { type Vtable = IDirectSoundFXDistortion_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXDistortion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXDistortion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ecf4326_455f_4d8b_bda9_8d5d3e9e3e0b); } @@ -1152,6 +942,7 @@ pub struct IDirectSoundFXDistortion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXEcho(::windows_core::IUnknown); impl IDirectSoundFXEcho { pub unsafe fn SetAllParameters(&self, pcdsfxecho: *const DSFXEcho) -> ::windows_core::Result<()> { @@ -1162,25 +953,9 @@ impl IDirectSoundFXEcho { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXEcho, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXEcho { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXEcho {} -impl ::core::fmt::Debug for IDirectSoundFXEcho { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXEcho").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXEcho { type Vtable = IDirectSoundFXEcho_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXEcho { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXEcho { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bd28edf_50db_4e92_a2bd_445488d1ed42); } @@ -1193,6 +968,7 @@ pub struct IDirectSoundFXEcho_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXFlanger(::windows_core::IUnknown); impl IDirectSoundFXFlanger { pub unsafe fn SetAllParameters(&self, pcdsfxflanger: *const DSFXFlanger) -> ::windows_core::Result<()> { @@ -1203,25 +979,9 @@ impl IDirectSoundFXFlanger { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXFlanger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXFlanger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXFlanger {} -impl ::core::fmt::Debug for IDirectSoundFXFlanger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXFlanger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXFlanger { type Vtable = IDirectSoundFXFlanger_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXFlanger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXFlanger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x903e9878_2c92_4072_9b2c_ea68f5396783); } @@ -1234,6 +994,7 @@ pub struct IDirectSoundFXFlanger_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXGargle(::windows_core::IUnknown); impl IDirectSoundFXGargle { pub unsafe fn SetAllParameters(&self, pcdsfxgargle: *const DSFXGargle) -> ::windows_core::Result<()> { @@ -1245,25 +1006,9 @@ impl IDirectSoundFXGargle { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXGargle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXGargle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXGargle {} -impl ::core::fmt::Debug for IDirectSoundFXGargle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXGargle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXGargle { type Vtable = IDirectSoundFXGargle_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXGargle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXGargle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd616f352_d622_11ce_aac5_0020af0b99a3); } @@ -1276,6 +1021,7 @@ pub struct IDirectSoundFXGargle_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXI3DL2Reverb(::windows_core::IUnknown); impl IDirectSoundFXI3DL2Reverb { pub unsafe fn SetAllParameters(&self, pcdsfxi3dl2reverb: *const DSFXI3DL2Reverb) -> ::windows_core::Result<()> { @@ -1300,25 +1046,9 @@ impl IDirectSoundFXI3DL2Reverb { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXI3DL2Reverb, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXI3DL2Reverb { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXI3DL2Reverb {} -impl ::core::fmt::Debug for IDirectSoundFXI3DL2Reverb { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXI3DL2Reverb").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXI3DL2Reverb { type Vtable = IDirectSoundFXI3DL2Reverb_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXI3DL2Reverb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXI3DL2Reverb { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b166a6a_0d66_43f3_80e3_ee6280dee1a4); } @@ -1335,6 +1065,7 @@ pub struct IDirectSoundFXI3DL2Reverb_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXParamEq(::windows_core::IUnknown); impl IDirectSoundFXParamEq { pub unsafe fn SetAllParameters(&self, pcdsfxparameq: *const DSFXParamEq) -> ::windows_core::Result<()> { @@ -1346,25 +1077,9 @@ impl IDirectSoundFXParamEq { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXParamEq, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXParamEq { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXParamEq {} -impl ::core::fmt::Debug for IDirectSoundFXParamEq { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXParamEq").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXParamEq { type Vtable = IDirectSoundFXParamEq_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXParamEq { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXParamEq { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc03ca9fe_fe90_4204_8078_82334cd177da); } @@ -1377,6 +1092,7 @@ pub struct IDirectSoundFXParamEq_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFXWavesReverb(::windows_core::IUnknown); impl IDirectSoundFXWavesReverb { pub unsafe fn SetAllParameters(&self, pcdsfxwavesreverb: *const DSFXWavesReverb) -> ::windows_core::Result<()> { @@ -1388,25 +1104,9 @@ impl IDirectSoundFXWavesReverb { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFXWavesReverb, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFXWavesReverb { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFXWavesReverb {} -impl ::core::fmt::Debug for IDirectSoundFXWavesReverb { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFXWavesReverb").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFXWavesReverb { type Vtable = IDirectSoundFXWavesReverb_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFXWavesReverb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFXWavesReverb { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46858c3a_0dc6_45e3_b760_d4eef16cb325); } @@ -1419,6 +1119,7 @@ pub struct IDirectSoundFXWavesReverb_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundFullDuplex(::windows_core::IUnknown); impl IDirectSoundFullDuplex { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1431,25 +1132,9 @@ impl IDirectSoundFullDuplex { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundFullDuplex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundFullDuplex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundFullDuplex {} -impl ::core::fmt::Debug for IDirectSoundFullDuplex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundFullDuplex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundFullDuplex { type Vtable = IDirectSoundFullDuplex_Vtbl; } -impl ::core::clone::Clone for IDirectSoundFullDuplex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundFullDuplex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedcb4c7a_daab_4216_a42e_6c50596ddc1d); } @@ -1464,6 +1149,7 @@ pub struct IDirectSoundFullDuplex_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectSoundNotify(::windows_core::IUnknown); impl IDirectSoundNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1473,25 +1159,9 @@ impl IDirectSoundNotify { } } ::windows_core::imp::interface_hierarchy!(IDirectSoundNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectSoundNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectSoundNotify {} -impl ::core::fmt::Debug for IDirectSoundNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectSoundNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectSoundNotify { type Vtable = IDirectSoundNotify_Vtbl; } -impl ::core::clone::Clone for IDirectSoundNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectSoundNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0210783_89cd_11d0_af08_00a0c925cd16); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs index 61f3a8e0bb..6ba260e358 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs @@ -12,8 +12,8 @@ impl IAudioEndpointFormatControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetToDefault: ResetToDefault:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -43,8 +43,8 @@ impl IAudioEndpointLastBufferControl_Vtbl { ReleaseOutputDataPointerForLastBuffer: ReleaseOutputDataPointerForLastBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IAudioEndpointOffloadStreamMeter_Vtbl { GetMeteringData: GetMeteringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl IAudioEndpointOffloadStreamMute_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -167,8 +167,8 @@ impl IAudioEndpointOffloadStreamVolume_Vtbl { GetChannelVolumes: GetChannelVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IAudioEndpointVolume_Vtbl { GetVolumeRange: GetVolumeRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -373,8 +373,8 @@ impl IAudioEndpointVolumeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IAudioEndpointVolumeEx_Vtbl { } Self { base__: IAudioEndpointVolume_Vtbl::new::(), GetVolumeRangeChannel: GetVolumeRangeChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl IAudioLfxControl_Vtbl { GetLocalEffectsState: GetLocalEffectsState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IAudioMeterInformation_Vtbl { QueryHardwareSupport: QueryHardwareSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -555,7 +555,7 @@ impl IHardwareAudioEngineBase_Vtbl { GetGfxState: GetGfxState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs index 5d090f818b..edabbe24c5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointFormatControl(::windows_core::IUnknown); impl IAudioEndpointFormatControl { pub unsafe fn ResetToDefault(&self, resetflags: u32) -> ::windows_core::Result<()> { @@ -7,25 +8,9 @@ impl IAudioEndpointFormatControl { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointFormatControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointFormatControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointFormatControl {} -impl ::core::fmt::Debug for IAudioEndpointFormatControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointFormatControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointFormatControl { type Vtable = IAudioEndpointFormatControl_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointFormatControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointFormatControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x784cfd40_9f89_456e_a1a6_873b006a664e); } @@ -37,6 +22,7 @@ pub struct IAudioEndpointFormatControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointLastBufferControl(::windows_core::IUnknown); impl IAudioEndpointLastBufferControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -51,25 +37,9 @@ impl IAudioEndpointLastBufferControl { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointLastBufferControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointLastBufferControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointLastBufferControl {} -impl ::core::fmt::Debug for IAudioEndpointLastBufferControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointLastBufferControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointLastBufferControl { type Vtable = IAudioEndpointLastBufferControl_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointLastBufferControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointLastBufferControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8520dd3_8f9d_4437_9861_62f584c33dd6); } @@ -88,6 +58,7 @@ pub struct IAudioEndpointLastBufferControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointOffloadStreamMeter(::windows_core::IUnknown); impl IAudioEndpointOffloadStreamMeter { pub unsafe fn GetMeterChannelCount(&self) -> ::windows_core::Result { @@ -100,25 +71,9 @@ impl IAudioEndpointOffloadStreamMeter { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMeter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamMeter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointOffloadStreamMeter {} -impl ::core::fmt::Debug for IAudioEndpointOffloadStreamMeter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointOffloadStreamMeter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointOffloadStreamMeter { type Vtable = IAudioEndpointOffloadStreamMeter_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointOffloadStreamMeter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointOffloadStreamMeter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1546dce_9dd1_418b_9ab2_348ced161c86); } @@ -131,6 +86,7 @@ pub struct IAudioEndpointOffloadStreamMeter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointOffloadStreamMute(::windows_core::IUnknown); impl IAudioEndpointOffloadStreamMute { pub unsafe fn SetMute(&self, bmuted: u8) -> ::windows_core::Result<()> { @@ -142,25 +98,9 @@ impl IAudioEndpointOffloadStreamMute { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMute, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamMute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointOffloadStreamMute {} -impl ::core::fmt::Debug for IAudioEndpointOffloadStreamMute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointOffloadStreamMute").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointOffloadStreamMute { type Vtable = IAudioEndpointOffloadStreamMute_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointOffloadStreamMute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointOffloadStreamMute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfe21355_5ec2_40e0_8d6b_710ac3c00249); } @@ -173,6 +113,7 @@ pub struct IAudioEndpointOffloadStreamMute_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointOffloadStreamVolume(::windows_core::IUnknown); impl IAudioEndpointOffloadStreamVolume { pub unsafe fn GetVolumeChannelCount(&self) -> ::windows_core::Result { @@ -190,25 +131,9 @@ impl IAudioEndpointOffloadStreamVolume { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointOffloadStreamVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointOffloadStreamVolume {} -impl ::core::fmt::Debug for IAudioEndpointOffloadStreamVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointOffloadStreamVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointOffloadStreamVolume { type Vtable = IAudioEndpointOffloadStreamVolume_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointOffloadStreamVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointOffloadStreamVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64f1dd49_71ca_4281_8672_3a9eddd1d0b6); } @@ -225,6 +150,7 @@ pub struct IAudioEndpointOffloadStreamVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointVolume(::windows_core::IUnknown); impl IAudioEndpointVolume { pub unsafe fn RegisterControlChangeNotify(&self, pnotify: P0) -> ::windows_core::Result<()> @@ -303,25 +229,9 @@ impl IAudioEndpointVolume { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointVolume {} -impl ::core::fmt::Debug for IAudioEndpointVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointVolume { type Vtable = IAudioEndpointVolume_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cdf2c82_841e_4546_9722_0cf74078229a); } @@ -356,6 +266,7 @@ pub struct IAudioEndpointVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointVolumeCallback(::windows_core::IUnknown); impl IAudioEndpointVolumeCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -365,25 +276,9 @@ impl IAudioEndpointVolumeCallback { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointVolumeCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointVolumeCallback {} -impl ::core::fmt::Debug for IAudioEndpointVolumeCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointVolumeCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointVolumeCallback { type Vtable = IAudioEndpointVolumeCallback_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointVolumeCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointVolumeCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x657804fa_d6ad_4496_8a60_352752af4f89); } @@ -398,6 +293,7 @@ pub struct IAudioEndpointVolumeCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointVolumeEx(::windows_core::IUnknown); impl IAudioEndpointVolumeEx { pub unsafe fn RegisterControlChangeNotify(&self, pnotify: P0) -> ::windows_core::Result<()> @@ -479,25 +375,9 @@ impl IAudioEndpointVolumeEx { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeEx, ::windows_core::IUnknown, IAudioEndpointVolume); -impl ::core::cmp::PartialEq for IAudioEndpointVolumeEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointVolumeEx {} -impl ::core::fmt::Debug for IAudioEndpointVolumeEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointVolumeEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointVolumeEx { type Vtable = IAudioEndpointVolumeEx_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointVolumeEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointVolumeEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66e11784_f695_4f28_a505_a7080081a78f); } @@ -509,6 +389,7 @@ pub struct IAudioEndpointVolumeEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioLfxControl(::windows_core::IUnknown); impl IAudioLfxControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -527,25 +408,9 @@ impl IAudioLfxControl { } } ::windows_core::imp::interface_hierarchy!(IAudioLfxControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioLfxControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioLfxControl {} -impl ::core::fmt::Debug for IAudioLfxControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioLfxControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioLfxControl { type Vtable = IAudioLfxControl_Vtbl; } -impl ::core::clone::Clone for IAudioLfxControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioLfxControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x076a6922_d802_4f83_baf6_409d9ca11bfe); } @@ -564,6 +429,7 @@ pub struct IAudioLfxControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMeterInformation(::windows_core::IUnknown); impl IAudioMeterInformation { pub unsafe fn GetPeakValue(&self) -> ::windows_core::Result { @@ -583,25 +449,9 @@ impl IAudioMeterInformation { } } ::windows_core::imp::interface_hierarchy!(IAudioMeterInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioMeterInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioMeterInformation {} -impl ::core::fmt::Debug for IAudioMeterInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioMeterInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioMeterInformation { type Vtable = IAudioMeterInformation_Vtbl; } -impl ::core::clone::Clone for IAudioMeterInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMeterInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc02216f6_8c67_4b5b_9d00_d008e73e0064); } @@ -616,6 +466,7 @@ pub struct IAudioMeterInformation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHardwareAudioEngineBase(::windows_core::IUnknown); impl IHardwareAudioEngineBase { pub unsafe fn GetAvailableOffloadConnectorCount(&self, _pwstrdeviceid: P0, _uconnectorid: u32) -> ::windows_core::Result @@ -660,25 +511,9 @@ impl IHardwareAudioEngineBase { } } ::windows_core::imp::interface_hierarchy!(IHardwareAudioEngineBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHardwareAudioEngineBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHardwareAudioEngineBase {} -impl ::core::fmt::Debug for IHardwareAudioEngineBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHardwareAudioEngineBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHardwareAudioEngineBase { type Vtable = IHardwareAudioEngineBase_Vtbl; } -impl ::core::clone::Clone for IHardwareAudioEngineBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHardwareAudioEngineBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeddce3e4_f3c1_453a_b461_223563cbd886); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs index 36f13ac56c..e385e7729b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs @@ -87,8 +87,8 @@ impl IXAPO_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IXAPOHrtfParameters_Vtbl { SetEnvironment: SetEnvironment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -157,8 +157,8 @@ impl IXAPOParameters_Vtbl { GetParameters: GetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -244,8 +244,8 @@ impl IXAudio2_Vtbl { SetDebugConfiguration: SetDebugConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -310,8 +310,8 @@ impl IXAudio2Extension_Vtbl { GetProcessor: GetProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index 35c35ccb26..8f996d7c1d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs @@ -33,6 +33,7 @@ pub unsafe fn XAudio2CreateWithVersionInfo(ppxaudio2: *mut ::core::option::Optio } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAPO(::windows_core::IUnknown); impl IXAPO { pub unsafe fn GetRegistrationProperties(&self) -> ::windows_core::Result<*mut XAPO_REGISTRATION_PROPERTIES> { @@ -73,25 +74,9 @@ impl IXAPO { } } ::windows_core::imp::interface_hierarchy!(IXAPO, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAPO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAPO {} -impl ::core::fmt::Debug for IXAPO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAPO").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAPO { type Vtable = IXAPO_Vtbl; } -impl ::core::clone::Clone for IXAPO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAPO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa410b984_9839_4819_a0be_2856ae6b3adb); } @@ -115,6 +100,7 @@ pub struct IXAPO_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAPOHrtfParameters(::windows_core::IUnknown); impl IXAPOHrtfParameters { pub unsafe fn SetSourcePosition(&self, position: *const HrtfPosition) -> ::windows_core::Result<()> { @@ -131,25 +117,9 @@ impl IXAPOHrtfParameters { } } ::windows_core::imp::interface_hierarchy!(IXAPOHrtfParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAPOHrtfParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAPOHrtfParameters {} -impl ::core::fmt::Debug for IXAPOHrtfParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAPOHrtfParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAPOHrtfParameters { type Vtable = IXAPOHrtfParameters_Vtbl; } -impl ::core::clone::Clone for IXAPOHrtfParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAPOHrtfParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15b3cd66_e9de_4464_b6e6_2bc3cf63d455); } @@ -164,6 +134,7 @@ pub struct IXAPOHrtfParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAPOParameters(::windows_core::IUnknown); impl IXAPOParameters { pub unsafe fn SetParameters(&self, pparameters: *const ::core::ffi::c_void, parameterbytesize: u32) { @@ -174,25 +145,9 @@ impl IXAPOParameters { } } ::windows_core::imp::interface_hierarchy!(IXAPOParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAPOParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAPOParameters {} -impl ::core::fmt::Debug for IXAPOParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAPOParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAPOParameters { type Vtable = IXAPOParameters_Vtbl; } -impl ::core::clone::Clone for IXAPOParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAPOParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26d95c66_80f2_499a_ad54_5ae7f01c6d98); } @@ -205,6 +160,7 @@ pub struct IXAPOParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2(::windows_core::IUnknown); impl IXAudio2 { pub unsafe fn RegisterForCallbacks(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -259,25 +215,9 @@ impl IXAudio2 { } } ::windows_core::imp::interface_hierarchy!(IXAudio2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAudio2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2 {} -impl ::core::fmt::Debug for IXAudio2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2 { type Vtable = IXAudio2_Vtbl; } -impl ::core::clone::Clone for IXAudio2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAudio2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b02e3cf_2e0b_4ec3_be45_1b2a3fe7210d); } @@ -310,6 +250,7 @@ pub struct IXAudio2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2EngineCallback(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2EngineCallback { pub unsafe fn OnProcessingPassStart(&self) { @@ -322,25 +263,9 @@ impl IXAudio2EngineCallback { (::windows_core::Interface::vtable(self).OnCriticalError)(::windows_core::Interface::as_raw(self), error) } } -impl ::core::cmp::PartialEq for IXAudio2EngineCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2EngineCallback {} -impl ::core::fmt::Debug for IXAudio2EngineCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2EngineCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2EngineCallback { type Vtable = IXAudio2EngineCallback_Vtbl; } -impl ::core::clone::Clone for IXAudio2EngineCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2EngineCallback_Vtbl { @@ -350,6 +275,7 @@ pub struct IXAudio2EngineCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2Extension(::windows_core::IUnknown); impl IXAudio2Extension { pub unsafe fn GetProcessingQuantum(&self, quantumnumerator: *mut u32, quantumdenominator: *mut u32) { @@ -360,25 +286,9 @@ impl IXAudio2Extension { } } ::windows_core::imp::interface_hierarchy!(IXAudio2Extension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAudio2Extension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2Extension {} -impl ::core::fmt::Debug for IXAudio2Extension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2Extension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2Extension { type Vtable = IXAudio2Extension_Vtbl; } -impl ::core::clone::Clone for IXAudio2Extension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAudio2Extension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84ac29bb_d619_44d2_b197_e4acf7df3ed6); } @@ -391,6 +301,7 @@ pub struct IXAudio2Extension_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2MasteringVoice(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2MasteringVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -484,25 +395,9 @@ impl IXAudio2MasteringVoice { } } ::windows_core::imp::interface_hierarchy!(IXAudio2MasteringVoice, IXAudio2Voice); -impl ::core::cmp::PartialEq for IXAudio2MasteringVoice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2MasteringVoice {} -impl ::core::fmt::Debug for IXAudio2MasteringVoice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2MasteringVoice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2MasteringVoice { type Vtable = IXAudio2MasteringVoice_Vtbl; } -impl ::core::clone::Clone for IXAudio2MasteringVoice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2MasteringVoice_Vtbl { @@ -511,6 +406,7 @@ pub struct IXAudio2MasteringVoice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2SourceVoice(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2SourceVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -632,25 +528,9 @@ impl IXAudio2SourceVoice { } } ::windows_core::imp::interface_hierarchy!(IXAudio2SourceVoice, IXAudio2Voice); -impl ::core::cmp::PartialEq for IXAudio2SourceVoice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2SourceVoice {} -impl ::core::fmt::Debug for IXAudio2SourceVoice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2SourceVoice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2SourceVoice { type Vtable = IXAudio2SourceVoice_Vtbl; } -impl ::core::clone::Clone for IXAudio2SourceVoice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2SourceVoice_Vtbl { @@ -668,6 +548,7 @@ pub struct IXAudio2SourceVoice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2SubmixVoice(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2SubmixVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -757,25 +638,9 @@ impl IXAudio2SubmixVoice { } } ::windows_core::imp::interface_hierarchy!(IXAudio2SubmixVoice, IXAudio2Voice); -impl ::core::cmp::PartialEq for IXAudio2SubmixVoice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2SubmixVoice {} -impl ::core::fmt::Debug for IXAudio2SubmixVoice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2SubmixVoice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2SubmixVoice { type Vtable = IXAudio2SubmixVoice_Vtbl; } -impl ::core::clone::Clone for IXAudio2SubmixVoice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2SubmixVoice_Vtbl { @@ -783,6 +648,7 @@ pub struct IXAudio2SubmixVoice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2Voice(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2Voice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -871,25 +737,9 @@ impl IXAudio2Voice { (::windows_core::Interface::vtable(self).DestroyVoice)(::windows_core::Interface::as_raw(self)) } } -impl ::core::cmp::PartialEq for IXAudio2Voice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2Voice {} -impl ::core::fmt::Debug for IXAudio2Voice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2Voice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2Voice { type Vtable = IXAudio2Voice_Vtbl; } -impl ::core::clone::Clone for IXAudio2Voice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2Voice_Vtbl { @@ -921,6 +771,7 @@ pub struct IXAudio2Voice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAudio2VoiceCallback(::std::ptr::NonNull<::std::ffi::c_void>); impl IXAudio2VoiceCallback { pub unsafe fn OnVoiceProcessingPassStart(&self, bytesrequired: u32) { @@ -945,25 +796,9 @@ impl IXAudio2VoiceCallback { (::windows_core::Interface::vtable(self).OnVoiceError)(::windows_core::Interface::as_raw(self), pbuffercontext, error) } } -impl ::core::cmp::PartialEq for IXAudio2VoiceCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAudio2VoiceCallback {} -impl ::core::fmt::Debug for IXAudio2VoiceCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAudio2VoiceCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAudio2VoiceCallback { type Vtable = IXAudio2VoiceCallback_Vtbl; } -impl ::core::clone::Clone for IXAudio2VoiceCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IXAudio2VoiceCallback_Vtbl { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index 02c52d7782..8de573b95d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -15,8 +15,8 @@ impl IAcousticEchoCancellationControl_Vtbl { SetEchoCancellationRenderEndpoint: SetEchoCancellationRenderEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IActivateAudioInterfaceAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivateResult: GetActivateResult:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IActivateAudioInterfaceCompletionHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateCompleted: ActivateCompleted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IAudioAmbisonicsControl_Vtbl { SetRotation: SetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAudioAutoGainControl_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IAudioBass_Vtbl { pub const fn new, Impl: IAudioBass_Impl, const OFFSET: isize>() -> IAudioBass_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -191,8 +191,8 @@ impl IAudioCaptureClient_Vtbl { GetNextPacketSize: GetNextPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl IAudioChannelConfig_Vtbl { GetChannelConfig: GetChannelConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IAudioClient_Vtbl { GetService: GetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IAudioClient2_Vtbl { GetBufferSizeLimits: GetBufferSizeLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -432,8 +432,8 @@ impl IAudioClient3_Vtbl { InitializeSharedAudioStream: InitializeSharedAudioStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -453,8 +453,8 @@ impl IAudioClientDuckingControl_Vtbl { SetDuckingOptionsForCurrentStream: SetDuckingOptionsForCurrentStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl IAudioClock_Vtbl { GetCharacteristics: GetCharacteristics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -518,8 +518,8 @@ impl IAudioClock2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDevicePosition: GetDevicePosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IAudioClockAdjustment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSampleRate: SetSampleRate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -554,8 +554,8 @@ impl IAudioEffectsChangedNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAudioEffectsChanged: OnAudioEffectsChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -599,8 +599,8 @@ impl IAudioEffectsManager_Vtbl { SetAudioEffectState: SetAudioEffectState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -639,8 +639,8 @@ impl IAudioFormatEnumerator_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IAudioInputSelector_Vtbl { SetSelection: SetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IAudioLoudness_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -721,8 +721,8 @@ impl IAudioMidrange_Vtbl { pub const fn new, Impl: IAudioMidrange_Impl, const OFFSET: isize>() -> IAudioMidrange_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -758,8 +758,8 @@ impl IAudioMute_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl IAudioOutputSelector_Vtbl { SetSelection: SetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -832,8 +832,8 @@ impl IAudioPeakMeter_Vtbl { GetLevel: GetLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IAudioRenderClient_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -967,8 +967,8 @@ impl IAudioSessionControl_Vtbl { UnregisterAudioSessionNotification: UnregisterAudioSessionNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl IAudioSessionControl2_Vtbl { SetDuckingPreference: SetDuckingPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1077,8 +1077,8 @@ impl IAudioSessionEnumerator_Vtbl { GetSession: GetSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1143,8 +1143,8 @@ impl IAudioSessionEvents_Vtbl { OnSessionDisconnected: OnSessionDisconnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1183,8 +1183,8 @@ impl IAudioSessionManager_Vtbl { GetSimpleAudioVolume: GetSimpleAudioVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IAudioSessionManager2_Vtbl { UnregisterDuckNotification: UnregisterDuckNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IAudioSessionNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionCreated: OnSessionCreated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1297,8 +1297,8 @@ impl IAudioStateMonitor_Vtbl { GetSoundLevel: GetSoundLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1358,8 +1358,8 @@ impl IAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1379,8 +1379,8 @@ impl IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPropertyChanged: OnPropertyChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1463,8 +1463,8 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { UnregisterPropertyChangeNotification: UnregisterPropertyChangeNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1474,8 +1474,8 @@ impl IAudioTreble_Vtbl { pub const fn new, Impl: IAudioTreble_Impl, const OFFSET: isize>() -> IAudioTreble_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1495,8 +1495,8 @@ impl IAudioViewManagerService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAudioStreamWindow: SetAudioStreamWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IAudioVolumeDuckNotification_Vtbl { OnVolumeUnduckNotification: OnVolumeUnduckNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IAudioVolumeLevel_Vtbl { pub const fn new, Impl: IAudioVolumeLevel_Impl, const OFFSET: isize>() -> IAudioVolumeLevel_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IChannelAudioVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1704,8 +1704,8 @@ impl IConnector_Vtbl { GetDeviceIdConnectedTo: GetDeviceIdConnectedTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1722,8 +1722,8 @@ impl IControlChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1762,8 +1762,8 @@ impl IControlInterface_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1810,8 +1810,8 @@ impl IDeviceSpecificProperty_Vtbl { Get4BRange: Get4BRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1918,8 +1918,8 @@ impl IDeviceTopology_Vtbl { GetSignalPath: GetSignalPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1981,8 +1981,8 @@ impl IMMDevice_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl IMMDeviceActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2042,8 +2042,8 @@ impl IMMDeviceCollection_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2109,8 +2109,8 @@ impl IMMDeviceEnumerator_Vtbl { UnregisterEndpointNotificationCallback: UnregisterEndpointNotificationCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2133,8 +2133,8 @@ impl IMMEndpoint_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataFlow: GetDataFlow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2185,8 +2185,8 @@ impl IMMNotificationClient_Vtbl { OnPropertyValueChanged: OnPropertyValueChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2223,8 +2223,8 @@ impl IMessageFilter_Vtbl { MessagePending: MessagePending::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2388,8 +2388,8 @@ impl IPart_Vtbl { UnregisterControlChangeCallback: UnregisterControlChangeCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2428,8 +2428,8 @@ impl IPartsList_Vtbl { GetPart: GetPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2496,8 +2496,8 @@ impl IPerChannelDbLevel_Vtbl { SetLevelAllChannels: SetLevelAllChannels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2553,8 +2553,8 @@ impl ISimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2650,8 +2650,8 @@ impl ISpatialAudioClient_Vtbl { ActivateSpatialAudioStream: ActivateSpatialAudioStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2693,8 +2693,8 @@ impl ISpatialAudioClient2_Vtbl { GetMaxFrameCountForCategory: GetMaxFrameCountForCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2766,8 +2766,8 @@ impl ISpatialAudioMetadataClient_Vtbl { ActivateSpatialAudioMetadataReader: ActivateSpatialAudioMetadataReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2807,8 +2807,8 @@ impl ISpatialAudioMetadataCopier_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2886,8 +2886,8 @@ impl ISpatialAudioMetadataItems_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl ISpatialAudioMetadataItemsBuffer_Vtbl { DetachBuffer: DetachBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2963,8 +2963,8 @@ impl ISpatialAudioMetadataReader_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl ISpatialAudioMetadataWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl ISpatialAudioObject_Vtbl { SetVolume: SetVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3093,8 +3093,8 @@ impl ISpatialAudioObjectBase_Vtbl { GetAudioObjectType: GetAudioObjectType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3152,8 +3152,8 @@ impl ISpatialAudioObjectForHrtf_Vtbl { SetDirectivity: SetDirectivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3176,8 +3176,8 @@ impl ISpatialAudioObjectForMetadataCommands_Vtbl { WriteNextMetadataCommand: WriteNextMetadataCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3206,8 +3206,8 @@ impl ISpatialAudioObjectForMetadataItems_Vtbl { GetSpatialAudioMetadataItems: GetSpatialAudioMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3233,8 +3233,8 @@ impl ISpatialAudioObjectRenderStream_Vtbl { ActivateSpatialAudioObject: ActivateSpatialAudioObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3302,8 +3302,8 @@ impl ISpatialAudioObjectRenderStreamBase_Vtbl { EndUpdatingAudioObjects: EndUpdatingAudioObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3329,8 +3329,8 @@ impl ISpatialAudioObjectRenderStreamForHrtf_Vtbl { ActivateSpatialAudioObjectForHrtf: ActivateSpatialAudioObjectForHrtf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3369,8 +3369,8 @@ impl ISpatialAudioObjectRenderStreamForMetadata_Vtbl { ActivateSpatialAudioObjectForMetadataItems: ActivateSpatialAudioObjectForMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3390,8 +3390,8 @@ impl ISpatialAudioObjectRenderStreamNotify_Vtbl { OnAvailableDynamicObjectCountChange: OnAvailableDynamicObjectCountChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3401,7 +3401,7 @@ impl ISubunit_Vtbl { pub const fn new, Impl: ISubunit_Impl, const OFFSET: isize>() -> ISubunit_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs index 0413ff9413..32fabfcfd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1338,6 +1338,7 @@ where } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAcousticEchoCancellationControl(::windows_core::IUnknown); impl IAcousticEchoCancellationControl { pub unsafe fn SetEchoCancellationRenderEndpoint(&self, endpointid: P0) -> ::windows_core::Result<()> @@ -1348,25 +1349,9 @@ impl IAcousticEchoCancellationControl { } } ::windows_core::imp::interface_hierarchy!(IAcousticEchoCancellationControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAcousticEchoCancellationControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAcousticEchoCancellationControl {} -impl ::core::fmt::Debug for IAcousticEchoCancellationControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAcousticEchoCancellationControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAcousticEchoCancellationControl { type Vtable = IAcousticEchoCancellationControl_Vtbl; } -impl ::core::clone::Clone for IAcousticEchoCancellationControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAcousticEchoCancellationControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4ae25b5_aaa3_437d_b6b3_dbbe2d0e9549); } @@ -1378,6 +1363,7 @@ pub struct IAcousticEchoCancellationControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivateAudioInterfaceAsyncOperation(::windows_core::IUnknown); impl IActivateAudioInterfaceAsyncOperation { pub unsafe fn GetActivateResult(&self, activateresult: *mut ::windows_core::HRESULT, activatedinterface: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> { @@ -1385,25 +1371,9 @@ impl IActivateAudioInterfaceAsyncOperation { } } ::windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceAsyncOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActivateAudioInterfaceAsyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivateAudioInterfaceAsyncOperation {} -impl ::core::fmt::Debug for IActivateAudioInterfaceAsyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivateAudioInterfaceAsyncOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActivateAudioInterfaceAsyncOperation { type Vtable = IActivateAudioInterfaceAsyncOperation_Vtbl; } -impl ::core::clone::Clone for IActivateAudioInterfaceAsyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivateAudioInterfaceAsyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72a22d78_cde4_431d_b8cc_843a71199b6d); } @@ -1415,6 +1385,7 @@ pub struct IActivateAudioInterfaceAsyncOperation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivateAudioInterfaceCompletionHandler(::windows_core::IUnknown); impl IActivateAudioInterfaceCompletionHandler { pub unsafe fn ActivateCompleted(&self, activateoperation: P0) -> ::windows_core::Result<()> @@ -1425,25 +1396,9 @@ impl IActivateAudioInterfaceCompletionHandler { } } ::windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceCompletionHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActivateAudioInterfaceCompletionHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivateAudioInterfaceCompletionHandler {} -impl ::core::fmt::Debug for IActivateAudioInterfaceCompletionHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivateAudioInterfaceCompletionHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActivateAudioInterfaceCompletionHandler { type Vtable = IActivateAudioInterfaceCompletionHandler_Vtbl; } -impl ::core::clone::Clone for IActivateAudioInterfaceCompletionHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivateAudioInterfaceCompletionHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41d949ab_9862_444a_80f6_c261334da5eb); } @@ -1455,6 +1410,7 @@ pub struct IActivateAudioInterfaceCompletionHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioAmbisonicsControl(::windows_core::IUnknown); impl IAudioAmbisonicsControl { pub unsafe fn SetData(&self, pambisonicsparams: &[AMBISONICS_PARAMS]) -> ::windows_core::Result<()> { @@ -1479,25 +1435,9 @@ impl IAudioAmbisonicsControl { } } ::windows_core::imp::interface_hierarchy!(IAudioAmbisonicsControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioAmbisonicsControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioAmbisonicsControl {} -impl ::core::fmt::Debug for IAudioAmbisonicsControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioAmbisonicsControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioAmbisonicsControl { type Vtable = IAudioAmbisonicsControl_Vtbl; } -impl ::core::clone::Clone for IAudioAmbisonicsControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioAmbisonicsControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28724c91_df35_4856_9f76_d6a26413f3df); } @@ -1518,6 +1458,7 @@ pub struct IAudioAmbisonicsControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioAutoGainControl(::windows_core::IUnknown); impl IAudioAutoGainControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1536,25 +1477,9 @@ impl IAudioAutoGainControl { } } ::windows_core::imp::interface_hierarchy!(IAudioAutoGainControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioAutoGainControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioAutoGainControl {} -impl ::core::fmt::Debug for IAudioAutoGainControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioAutoGainControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioAutoGainControl { type Vtable = IAudioAutoGainControl_Vtbl; } -impl ::core::clone::Clone for IAudioAutoGainControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioAutoGainControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85401fd4_6de4_4b9d_9869_2d6753a82f3c); } @@ -1573,6 +1498,7 @@ pub struct IAudioAutoGainControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioBass(::windows_core::IUnknown); impl IAudioBass { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -1597,25 +1523,9 @@ impl IAudioBass { } } ::windows_core::imp::interface_hierarchy!(IAudioBass, ::windows_core::IUnknown, IPerChannelDbLevel); -impl ::core::cmp::PartialEq for IAudioBass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioBass {} -impl ::core::fmt::Debug for IAudioBass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioBass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioBass { type Vtable = IAudioBass_Vtbl; } -impl ::core::clone::Clone for IAudioBass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioBass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2b1a1d9_4db3_425d_a2b2_bd335cb3e2e5); } @@ -1626,6 +1536,7 @@ pub struct IAudioBass_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioCaptureClient(::windows_core::IUnknown); impl IAudioCaptureClient { pub unsafe fn GetBuffer(&self, ppdata: *mut *mut u8, pnumframestoread: *mut u32, pdwflags: *mut u32, pu64deviceposition: ::core::option::Option<*mut u64>, pu64qpcposition: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { @@ -1640,25 +1551,9 @@ impl IAudioCaptureClient { } } ::windows_core::imp::interface_hierarchy!(IAudioCaptureClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioCaptureClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioCaptureClient {} -impl ::core::fmt::Debug for IAudioCaptureClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioCaptureClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioCaptureClient { type Vtable = IAudioCaptureClient_Vtbl; } -impl ::core::clone::Clone for IAudioCaptureClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioCaptureClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8adbd64_e71e_48a0_a4de_185c395cd317); } @@ -1672,6 +1567,7 @@ pub struct IAudioCaptureClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioChannelConfig(::windows_core::IUnknown); impl IAudioChannelConfig { pub unsafe fn SetChannelConfig(&self, dwconfig: u32, pguideventcontext: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -1683,25 +1579,9 @@ impl IAudioChannelConfig { } } ::windows_core::imp::interface_hierarchy!(IAudioChannelConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioChannelConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioChannelConfig {} -impl ::core::fmt::Debug for IAudioChannelConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioChannelConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioChannelConfig { type Vtable = IAudioChannelConfig_Vtbl; } -impl ::core::clone::Clone for IAudioChannelConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioChannelConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb11c46f_ec28_493c_b88a_5db88062ce98); } @@ -1714,6 +1594,7 @@ pub struct IAudioChannelConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClient(::windows_core::IUnknown); impl IAudioClient { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -1767,25 +1648,9 @@ impl IAudioClient { } } ::windows_core::imp::interface_hierarchy!(IAudioClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClient {} -impl ::core::fmt::Debug for IAudioClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClient { type Vtable = IAudioClient_Vtbl; } -impl ::core::clone::Clone for IAudioClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cb9ad4c_dbfa_4c32_b178_c2f568a703b2); } @@ -1811,6 +1676,7 @@ pub struct IAudioClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClient2(::windows_core::IUnknown); impl IAudioClient2 { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -1883,25 +1749,9 @@ impl IAudioClient2 { } } ::windows_core::imp::interface_hierarchy!(IAudioClient2, ::windows_core::IUnknown, IAudioClient); -impl ::core::cmp::PartialEq for IAudioClient2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClient2 {} -impl ::core::fmt::Debug for IAudioClient2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClient2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClient2 { type Vtable = IAudioClient2_Vtbl; } -impl ::core::clone::Clone for IAudioClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x726778cd_f60a_4eda_82de_e47610cd78aa); } @@ -1924,6 +1774,7 @@ pub struct IAudioClient2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClient3(::windows_core::IUnknown); impl IAudioClient3 { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -2005,25 +1856,9 @@ impl IAudioClient3 { } } ::windows_core::imp::interface_hierarchy!(IAudioClient3, ::windows_core::IUnknown, IAudioClient, IAudioClient2); -impl ::core::cmp::PartialEq for IAudioClient3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClient3 {} -impl ::core::fmt::Debug for IAudioClient3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClient3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClient3 { type Vtable = IAudioClient3_Vtbl; } -impl ::core::clone::Clone for IAudioClient3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClient3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed4ee07_8e67_4cd4_8c1a_2b7a5987ad42); } @@ -2037,6 +1872,7 @@ pub struct IAudioClient3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClientDuckingControl(::windows_core::IUnknown); impl IAudioClientDuckingControl { pub unsafe fn SetDuckingOptionsForCurrentStream(&self, options: AUDIO_DUCKING_OPTIONS) -> ::windows_core::Result<()> { @@ -2044,25 +1880,9 @@ impl IAudioClientDuckingControl { } } ::windows_core::imp::interface_hierarchy!(IAudioClientDuckingControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioClientDuckingControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClientDuckingControl {} -impl ::core::fmt::Debug for IAudioClientDuckingControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClientDuckingControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClientDuckingControl { type Vtable = IAudioClientDuckingControl_Vtbl; } -impl ::core::clone::Clone for IAudioClientDuckingControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClientDuckingControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc789d381_a28c_4168_b28f_d3a837924dc3); } @@ -2074,6 +1894,7 @@ pub struct IAudioClientDuckingControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClock(::windows_core::IUnknown); impl IAudioClock { pub unsafe fn GetFrequency(&self) -> ::windows_core::Result { @@ -2089,25 +1910,9 @@ impl IAudioClock { } } ::windows_core::imp::interface_hierarchy!(IAudioClock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioClock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClock {} -impl ::core::fmt::Debug for IAudioClock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClock { type Vtable = IAudioClock_Vtbl; } -impl ::core::clone::Clone for IAudioClock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd63314f_3fba_4a1b_812c_ef96358728e7); } @@ -2121,6 +1926,7 @@ pub struct IAudioClock_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClock2(::windows_core::IUnknown); impl IAudioClock2 { pub unsafe fn GetDevicePosition(&self, deviceposition: *mut u64, qpcposition: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> { @@ -2128,25 +1934,9 @@ impl IAudioClock2 { } } ::windows_core::imp::interface_hierarchy!(IAudioClock2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioClock2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClock2 {} -impl ::core::fmt::Debug for IAudioClock2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClock2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClock2 { type Vtable = IAudioClock2_Vtbl; } -impl ::core::clone::Clone for IAudioClock2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClock2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f49ff73_6727_49ac_a008_d98cf5e70048); } @@ -2158,6 +1948,7 @@ pub struct IAudioClock2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioClockAdjustment(::windows_core::IUnknown); impl IAudioClockAdjustment { pub unsafe fn SetSampleRate(&self, flsamplerate: f32) -> ::windows_core::Result<()> { @@ -2165,25 +1956,9 @@ impl IAudioClockAdjustment { } } ::windows_core::imp::interface_hierarchy!(IAudioClockAdjustment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioClockAdjustment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioClockAdjustment {} -impl ::core::fmt::Debug for IAudioClockAdjustment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioClockAdjustment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioClockAdjustment { type Vtable = IAudioClockAdjustment_Vtbl; } -impl ::core::clone::Clone for IAudioClockAdjustment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioClockAdjustment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6e4c0a0_46d9_4fb8_be21_57a3ef2b626c); } @@ -2195,6 +1970,7 @@ pub struct IAudioClockAdjustment_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffectsChangedNotificationClient(::windows_core::IUnknown); impl IAudioEffectsChangedNotificationClient { pub unsafe fn OnAudioEffectsChanged(&self) -> ::windows_core::Result<()> { @@ -2202,25 +1978,9 @@ impl IAudioEffectsChangedNotificationClient { } } ::windows_core::imp::interface_hierarchy!(IAudioEffectsChangedNotificationClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEffectsChangedNotificationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEffectsChangedNotificationClient {} -impl ::core::fmt::Debug for IAudioEffectsChangedNotificationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEffectsChangedNotificationClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEffectsChangedNotificationClient { type Vtable = IAudioEffectsChangedNotificationClient_Vtbl; } -impl ::core::clone::Clone for IAudioEffectsChangedNotificationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffectsChangedNotificationClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5ded44f_3c5d_4b2b_bd1e_5dc1ee20bbf6); } @@ -2232,6 +1992,7 @@ pub struct IAudioEffectsChangedNotificationClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEffectsManager(::windows_core::IUnknown); impl IAudioEffectsManager { pub unsafe fn RegisterAudioEffectsChangedNotificationCallback(&self, client: P0) -> ::windows_core::Result<()> @@ -2256,25 +2017,9 @@ impl IAudioEffectsManager { } } ::windows_core::imp::interface_hierarchy!(IAudioEffectsManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEffectsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEffectsManager {} -impl ::core::fmt::Debug for IAudioEffectsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEffectsManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEffectsManager { type Vtable = IAudioEffectsManager_Vtbl; } -impl ::core::clone::Clone for IAudioEffectsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEffectsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4460b3ae_4b44_4527_8676_7548a8acd260); } @@ -2292,6 +2037,7 @@ pub struct IAudioEffectsManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFormatEnumerator(::windows_core::IUnknown); impl IAudioFormatEnumerator { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2304,25 +2050,9 @@ impl IAudioFormatEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAudioFormatEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioFormatEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioFormatEnumerator {} -impl ::core::fmt::Debug for IAudioFormatEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioFormatEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioFormatEnumerator { type Vtable = IAudioFormatEnumerator_Vtbl; } -impl ::core::clone::Clone for IAudioFormatEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFormatEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcdaa858_895a_4a22_a5eb_67bda506096d); } @@ -2335,6 +2065,7 @@ pub struct IAudioFormatEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioInputSelector(::windows_core::IUnknown); impl IAudioInputSelector { pub unsafe fn GetSelection(&self) -> ::windows_core::Result { @@ -2346,25 +2077,9 @@ impl IAudioInputSelector { } } ::windows_core::imp::interface_hierarchy!(IAudioInputSelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioInputSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioInputSelector {} -impl ::core::fmt::Debug for IAudioInputSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioInputSelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioInputSelector { type Vtable = IAudioInputSelector_Vtbl; } -impl ::core::clone::Clone for IAudioInputSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioInputSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f03dc02_5e6e_4653_8f72_a030c123d598); } @@ -2377,6 +2092,7 @@ pub struct IAudioInputSelector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioLoudness(::windows_core::IUnknown); impl IAudioLoudness { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2395,25 +2111,9 @@ impl IAudioLoudness { } } ::windows_core::imp::interface_hierarchy!(IAudioLoudness, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioLoudness { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioLoudness {} -impl ::core::fmt::Debug for IAudioLoudness { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioLoudness").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioLoudness { type Vtable = IAudioLoudness_Vtbl; } -impl ::core::clone::Clone for IAudioLoudness { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioLoudness { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d8b1437_dd53_4350_9c1b_1ee2890bd938); } @@ -2432,6 +2132,7 @@ pub struct IAudioLoudness_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMidrange(::windows_core::IUnknown); impl IAudioMidrange { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -2456,25 +2157,9 @@ impl IAudioMidrange { } } ::windows_core::imp::interface_hierarchy!(IAudioMidrange, ::windows_core::IUnknown, IPerChannelDbLevel); -impl ::core::cmp::PartialEq for IAudioMidrange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioMidrange {} -impl ::core::fmt::Debug for IAudioMidrange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioMidrange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioMidrange { type Vtable = IAudioMidrange_Vtbl; } -impl ::core::clone::Clone for IAudioMidrange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMidrange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e54b6d7_b44b_40d9_9a9e_e691d9ce6edf); } @@ -2485,6 +2170,7 @@ pub struct IAudioMidrange_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMute(::windows_core::IUnknown); impl IAudioMute { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2503,25 +2189,9 @@ impl IAudioMute { } } ::windows_core::imp::interface_hierarchy!(IAudioMute, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioMute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioMute {} -impl ::core::fmt::Debug for IAudioMute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioMute").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioMute { type Vtable = IAudioMute_Vtbl; } -impl ::core::clone::Clone for IAudioMute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf45aeea_b74a_4b6b_afad_2366b6aa012e); } @@ -2540,6 +2210,7 @@ pub struct IAudioMute_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioOutputSelector(::windows_core::IUnknown); impl IAudioOutputSelector { pub unsafe fn GetSelection(&self) -> ::windows_core::Result { @@ -2551,25 +2222,9 @@ impl IAudioOutputSelector { } } ::windows_core::imp::interface_hierarchy!(IAudioOutputSelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioOutputSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioOutputSelector {} -impl ::core::fmt::Debug for IAudioOutputSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioOutputSelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioOutputSelector { type Vtable = IAudioOutputSelector_Vtbl; } -impl ::core::clone::Clone for IAudioOutputSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioOutputSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb515f69_94a7_429e_8b9c_271b3f11a3ab); } @@ -2582,6 +2237,7 @@ pub struct IAudioOutputSelector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioPeakMeter(::windows_core::IUnknown); impl IAudioPeakMeter { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -2594,25 +2250,9 @@ impl IAudioPeakMeter { } } ::windows_core::imp::interface_hierarchy!(IAudioPeakMeter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioPeakMeter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioPeakMeter {} -impl ::core::fmt::Debug for IAudioPeakMeter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioPeakMeter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioPeakMeter { type Vtable = IAudioPeakMeter_Vtbl; } -impl ::core::clone::Clone for IAudioPeakMeter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioPeakMeter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd79923c_0599_45e0_b8b6_c8df7db6e796); } @@ -2625,6 +2265,7 @@ pub struct IAudioPeakMeter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioRenderClient(::windows_core::IUnknown); impl IAudioRenderClient { pub unsafe fn GetBuffer(&self, numframesrequested: u32) -> ::windows_core::Result<*mut u8> { @@ -2636,25 +2277,9 @@ impl IAudioRenderClient { } } ::windows_core::imp::interface_hierarchy!(IAudioRenderClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioRenderClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioRenderClient {} -impl ::core::fmt::Debug for IAudioRenderClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioRenderClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioRenderClient { type Vtable = IAudioRenderClient_Vtbl; } -impl ::core::clone::Clone for IAudioRenderClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioRenderClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf294acfc_3146_4483_a7bf_addca7c260e2); } @@ -2667,6 +2292,7 @@ pub struct IAudioRenderClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionControl(::windows_core::IUnknown); impl IAudioSessionControl { pub unsafe fn GetState(&self) -> ::windows_core::Result { @@ -2714,25 +2340,9 @@ impl IAudioSessionControl { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionControl {} -impl ::core::fmt::Debug for IAudioSessionControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionControl { type Vtable = IAudioSessionControl_Vtbl; } -impl ::core::clone::Clone for IAudioSessionControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4b1a599_7266_4319_a8ca_e70acb11e8cd); } @@ -2752,6 +2362,7 @@ pub struct IAudioSessionControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionControl2(::windows_core::IUnknown); impl IAudioSessionControl2 { pub unsafe fn GetState(&self) -> ::windows_core::Result { @@ -2822,25 +2433,9 @@ impl IAudioSessionControl2 { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionControl2, ::windows_core::IUnknown, IAudioSessionControl); -impl ::core::cmp::PartialEq for IAudioSessionControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionControl2 {} -impl ::core::fmt::Debug for IAudioSessionControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionControl2 { type Vtable = IAudioSessionControl2_Vtbl; } -impl ::core::clone::Clone for IAudioSessionControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfb7ff88_7239_4fc9_8fa2_07c950be9c6d); } @@ -2859,6 +2454,7 @@ pub struct IAudioSessionControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionEnumerator(::windows_core::IUnknown); impl IAudioSessionEnumerator { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2871,25 +2467,9 @@ impl IAudioSessionEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionEnumerator {} -impl ::core::fmt::Debug for IAudioSessionEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionEnumerator { type Vtable = IAudioSessionEnumerator_Vtbl; } -impl ::core::clone::Clone for IAudioSessionEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2f5bb11_0570_40ca_acdd_3aa01277dee8); } @@ -2902,6 +2482,7 @@ pub struct IAudioSessionEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionEvents(::windows_core::IUnknown); impl IAudioSessionEvents { pub unsafe fn OnDisplayNameChanged(&self, newdisplayname: P0, eventcontext: *const ::windows_core::GUID) -> ::windows_core::Result<()> @@ -2938,25 +2519,9 @@ impl IAudioSessionEvents { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionEvents {} -impl ::core::fmt::Debug for IAudioSessionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionEvents { type Vtable = IAudioSessionEvents_Vtbl; } -impl ::core::clone::Clone for IAudioSessionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24918acc_64b3_37c1_8ca9_74a66e9957a8); } @@ -2977,6 +2542,7 @@ pub struct IAudioSessionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionManager(::windows_core::IUnknown); impl IAudioSessionManager { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: ::core::option::Option<*const ::windows_core::GUID>, streamflags: u32) -> ::windows_core::Result { @@ -2989,25 +2555,9 @@ impl IAudioSessionManager { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionManager {} -impl ::core::fmt::Debug for IAudioSessionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionManager { type Vtable = IAudioSessionManager_Vtbl; } -impl ::core::clone::Clone for IAudioSessionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfa971f1_4d5e_40bb_935e_967039bfbee4); } @@ -3020,6 +2570,7 @@ pub struct IAudioSessionManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionManager2(::windows_core::IUnknown); impl IAudioSessionManager2 { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: ::core::option::Option<*const ::windows_core::GUID>, streamflags: u32) -> ::windows_core::Result { @@ -3061,25 +2612,9 @@ impl IAudioSessionManager2 { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionManager2, ::windows_core::IUnknown, IAudioSessionManager); -impl ::core::cmp::PartialEq for IAudioSessionManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionManager2 {} -impl ::core::fmt::Debug for IAudioSessionManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionManager2 { type Vtable = IAudioSessionManager2_Vtbl; } -impl ::core::clone::Clone for IAudioSessionManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77aa99a0_1bd6_484f_8bc7_2c654c9a9b6f); } @@ -3095,6 +2630,7 @@ pub struct IAudioSessionManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionNotification(::windows_core::IUnknown); impl IAudioSessionNotification { pub unsafe fn OnSessionCreated(&self, newsession: P0) -> ::windows_core::Result<()> @@ -3105,25 +2641,9 @@ impl IAudioSessionNotification { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionNotification {} -impl ::core::fmt::Debug for IAudioSessionNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionNotification { type Vtable = IAudioSessionNotification_Vtbl; } -impl ::core::clone::Clone for IAudioSessionNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x641dd20b_4d41_49cc_aba3_174b9477bb08); } @@ -3135,6 +2655,7 @@ pub struct IAudioSessionNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStateMonitor(::windows_core::IUnknown); impl IAudioStateMonitor { pub unsafe fn RegisterCallback(&self, callback: PAudioStateMonitorCallback, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result { @@ -3149,25 +2670,9 @@ impl IAudioStateMonitor { } } ::windows_core::imp::interface_hierarchy!(IAudioStateMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioStateMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioStateMonitor {} -impl ::core::fmt::Debug for IAudioStateMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioStateMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioStateMonitor { type Vtable = IAudioStateMonitor_Vtbl; } -impl ::core::clone::Clone for IAudioStateMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStateMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63bd8738_e30d_4c77_bf5c_834e87c657e2); } @@ -3181,6 +2686,7 @@ pub struct IAudioStateMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamVolume(::windows_core::IUnknown); impl IAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -3202,25 +2708,9 @@ impl IAudioStreamVolume { } } ::windows_core::imp::interface_hierarchy!(IAudioStreamVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioStreamVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioStreamVolume {} -impl ::core::fmt::Debug for IAudioStreamVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioStreamVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioStreamVolume { type Vtable = IAudioStreamVolume_Vtbl; } -impl ::core::clone::Clone for IAudioStreamVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93014887_242d_4068_8a15_cf5e93b90fe3); } @@ -3236,6 +2726,7 @@ pub struct IAudioStreamVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffectsPropertyChangeNotificationClient(::windows_core::IUnknown); impl IAudioSystemEffectsPropertyChangeNotificationClient { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -3245,25 +2736,9 @@ impl IAudioSystemEffectsPropertyChangeNotificationClient { } } ::windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyChangeNotificationClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSystemEffectsPropertyChangeNotificationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffectsPropertyChangeNotificationClient {} -impl ::core::fmt::Debug for IAudioSystemEffectsPropertyChangeNotificationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffectsPropertyChangeNotificationClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffectsPropertyChangeNotificationClient { type Vtable = IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffectsPropertyChangeNotificationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffectsPropertyChangeNotificationClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20049d40_56d5_400e_a2ef_385599feed49); } @@ -3278,6 +2753,7 @@ pub struct IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSystemEffectsPropertyStore(::windows_core::IUnknown); impl IAudioSystemEffectsPropertyStore { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -3318,25 +2794,9 @@ impl IAudioSystemEffectsPropertyStore { } } ::windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSystemEffectsPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSystemEffectsPropertyStore {} -impl ::core::fmt::Debug for IAudioSystemEffectsPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSystemEffectsPropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSystemEffectsPropertyStore { type Vtable = IAudioSystemEffectsPropertyStore_Vtbl; } -impl ::core::clone::Clone for IAudioSystemEffectsPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSystemEffectsPropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x302ae7f9_d7e0_43e4_971b_1f8293613d2a); } @@ -3363,6 +2823,7 @@ pub struct IAudioSystemEffectsPropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioTreble(::windows_core::IUnknown); impl IAudioTreble { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -3387,25 +2848,9 @@ impl IAudioTreble { } } ::windows_core::imp::interface_hierarchy!(IAudioTreble, ::windows_core::IUnknown, IPerChannelDbLevel); -impl ::core::cmp::PartialEq for IAudioTreble { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioTreble {} -impl ::core::fmt::Debug for IAudioTreble { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioTreble").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioTreble { type Vtable = IAudioTreble_Vtbl; } -impl ::core::clone::Clone for IAudioTreble { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioTreble { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a717812_694e_4907_b74b_bafa5cfdca7b); } @@ -3416,6 +2861,7 @@ pub struct IAudioTreble_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioViewManagerService(::windows_core::IUnknown); impl IAudioViewManagerService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3428,25 +2874,9 @@ impl IAudioViewManagerService { } } ::windows_core::imp::interface_hierarchy!(IAudioViewManagerService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioViewManagerService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioViewManagerService {} -impl ::core::fmt::Debug for IAudioViewManagerService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioViewManagerService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioViewManagerService { type Vtable = IAudioViewManagerService_Vtbl; } -impl ::core::clone::Clone for IAudioViewManagerService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioViewManagerService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7a7ef10_1f49_45e0_ad35_612057cc8f74); } @@ -3461,6 +2891,7 @@ pub struct IAudioViewManagerService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioVolumeDuckNotification(::windows_core::IUnknown); impl IAudioVolumeDuckNotification { pub unsafe fn OnVolumeDuckNotification(&self, sessionid: P0, countcommunicationsessions: u32) -> ::windows_core::Result<()> @@ -3477,25 +2908,9 @@ impl IAudioVolumeDuckNotification { } } ::windows_core::imp::interface_hierarchy!(IAudioVolumeDuckNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioVolumeDuckNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioVolumeDuckNotification {} -impl ::core::fmt::Debug for IAudioVolumeDuckNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioVolumeDuckNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioVolumeDuckNotification { type Vtable = IAudioVolumeDuckNotification_Vtbl; } -impl ::core::clone::Clone for IAudioVolumeDuckNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioVolumeDuckNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3b284d4_6d39_4359_b3cf_b56ddb3bb39c); } @@ -3508,6 +2923,7 @@ pub struct IAudioVolumeDuckNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioVolumeLevel(::windows_core::IUnknown); impl IAudioVolumeLevel { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -3532,25 +2948,9 @@ impl IAudioVolumeLevel { } } ::windows_core::imp::interface_hierarchy!(IAudioVolumeLevel, ::windows_core::IUnknown, IPerChannelDbLevel); -impl ::core::cmp::PartialEq for IAudioVolumeLevel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioVolumeLevel {} -impl ::core::fmt::Debug for IAudioVolumeLevel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioVolumeLevel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioVolumeLevel { type Vtable = IAudioVolumeLevel_Vtbl; } -impl ::core::clone::Clone for IAudioVolumeLevel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioVolumeLevel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fb7b48f_531d_44a2_bcb3_5ad5a134b3dc); } @@ -3561,6 +2961,7 @@ pub struct IAudioVolumeLevel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChannelAudioVolume(::windows_core::IUnknown); impl IChannelAudioVolume { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -3582,25 +2983,9 @@ impl IChannelAudioVolume { } } ::windows_core::imp::interface_hierarchy!(IChannelAudioVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IChannelAudioVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChannelAudioVolume {} -impl ::core::fmt::Debug for IChannelAudioVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChannelAudioVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChannelAudioVolume { type Vtable = IChannelAudioVolume_Vtbl; } -impl ::core::clone::Clone for IChannelAudioVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChannelAudioVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c158861_b533_4b30_b1cf_e853e51c59b8); } @@ -3616,6 +3001,7 @@ pub struct IChannelAudioVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnector(::windows_core::IUnknown); impl IConnector { pub unsafe fn GetType(&self) -> ::windows_core::Result { @@ -3655,25 +3041,9 @@ impl IConnector { } } ::windows_core::imp::interface_hierarchy!(IConnector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnector {} -impl ::core::fmt::Debug for IConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnector { type Vtable = IConnector_Vtbl; } -impl ::core::clone::Clone for IConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c2c4058_23f5_41de_877a_df3af236a09e); } @@ -3695,6 +3065,7 @@ pub struct IConnector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlChangeNotify(::windows_core::IUnknown); impl IControlChangeNotify { pub unsafe fn OnNotify(&self, dwsenderprocessid: u32, pguideventcontext: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -3702,25 +3073,9 @@ impl IControlChangeNotify { } } ::windows_core::imp::interface_hierarchy!(IControlChangeNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IControlChangeNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IControlChangeNotify {} -impl ::core::fmt::Debug for IControlChangeNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IControlChangeNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IControlChangeNotify { type Vtable = IControlChangeNotify_Vtbl; } -impl ::core::clone::Clone for IControlChangeNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlChangeNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa09513ed_c709_4d21_bd7b_5f34c47f3947); } @@ -3732,6 +3087,7 @@ pub struct IControlChangeNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlInterface(::windows_core::IUnknown); impl IControlInterface { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3744,25 +3100,9 @@ impl IControlInterface { } } ::windows_core::imp::interface_hierarchy!(IControlInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IControlInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IControlInterface {} -impl ::core::fmt::Debug for IControlInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IControlInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IControlInterface { type Vtable = IControlInterface_Vtbl; } -impl ::core::clone::Clone for IControlInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45d37c3f_5140_444a_ae24_400789f3cbf3); } @@ -3775,6 +3115,7 @@ pub struct IControlInterface_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceSpecificProperty(::windows_core::IUnknown); impl IDeviceSpecificProperty { pub unsafe fn GetType(&self) -> ::windows_core::Result { @@ -3792,25 +3133,9 @@ impl IDeviceSpecificProperty { } } ::windows_core::imp::interface_hierarchy!(IDeviceSpecificProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeviceSpecificProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceSpecificProperty {} -impl ::core::fmt::Debug for IDeviceSpecificProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceSpecificProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeviceSpecificProperty { type Vtable = IDeviceSpecificProperty_Vtbl; } -impl ::core::clone::Clone for IDeviceSpecificProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceSpecificProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b22bcbf_2586_4af0_8583_205d391b807c); } @@ -3825,6 +3150,7 @@ pub struct IDeviceSpecificProperty_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceTopology(::windows_core::IUnknown); impl IDeviceTopology { pub unsafe fn GetConnectorCount(&self) -> ::windows_core::Result { @@ -3864,25 +3190,9 @@ impl IDeviceTopology { } } ::windows_core::imp::interface_hierarchy!(IDeviceTopology, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeviceTopology { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceTopology {} -impl ::core::fmt::Debug for IDeviceTopology { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceTopology").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeviceTopology { type Vtable = IDeviceTopology_Vtbl; } -impl ::core::clone::Clone for IDeviceTopology { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceTopology { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a07407e_6497_4a18_9787_32f79bd0d98f); } @@ -3903,6 +3213,7 @@ pub struct IDeviceTopology_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMDevice(::windows_core::IUnknown); impl IMMDevice { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -3930,25 +3241,9 @@ impl IMMDevice { } } ::windows_core::imp::interface_hierarchy!(IMMDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMDevice {} -impl ::core::fmt::Debug for IMMDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMDevice { type Vtable = IMMDevice_Vtbl; } -impl ::core::clone::Clone for IMMDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd666063f_1587_4e43_81f1_b948e807363f); } @@ -3969,6 +3264,7 @@ pub struct IMMDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMDeviceActivator(::windows_core::IUnknown); impl IMMDeviceActivator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -3980,26 +3276,10 @@ impl IMMDeviceActivator { (::windows_core::Interface::vtable(self).Activate)(::windows_core::Interface::as_raw(self), iid, pdevice.into_param().abi(), ::core::mem::transmute(pactivationparams.unwrap_or(::std::ptr::null())), ppinterface).ok() } } -::windows_core::imp::interface_hierarchy!(IMMDeviceActivator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMDeviceActivator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMDeviceActivator {} -impl ::core::fmt::Debug for IMMDeviceActivator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMDeviceActivator").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IMMDeviceActivator, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMMDeviceActivator { type Vtable = IMMDeviceActivator_Vtbl; } -impl ::core::clone::Clone for IMMDeviceActivator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMDeviceActivator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b0d0ea4_d0a9_4b0e_935b_09516746fac0); } @@ -4014,6 +3294,7 @@ pub struct IMMDeviceActivator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMDeviceCollection(::windows_core::IUnknown); impl IMMDeviceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -4026,25 +3307,9 @@ impl IMMDeviceCollection { } } ::windows_core::imp::interface_hierarchy!(IMMDeviceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMDeviceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMDeviceCollection {} -impl ::core::fmt::Debug for IMMDeviceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMDeviceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMDeviceCollection { type Vtable = IMMDeviceCollection_Vtbl; } -impl ::core::clone::Clone for IMMDeviceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMDeviceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bd7a1be_7a1a_44db_8397_cc5392387b5e); } @@ -4057,6 +3322,7 @@ pub struct IMMDeviceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMDeviceEnumerator(::windows_core::IUnknown); impl IMMDeviceEnumerator { pub unsafe fn EnumAudioEndpoints(&self, dataflow: EDataFlow, dwstatemask: u32) -> ::windows_core::Result { @@ -4088,25 +3354,9 @@ impl IMMDeviceEnumerator { } } ::windows_core::imp::interface_hierarchy!(IMMDeviceEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMDeviceEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMDeviceEnumerator {} -impl ::core::fmt::Debug for IMMDeviceEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMDeviceEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMDeviceEnumerator { type Vtable = IMMDeviceEnumerator_Vtbl; } -impl ::core::clone::Clone for IMMDeviceEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMDeviceEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa95664d2_9614_4f35_a746_de8db63617e6); } @@ -4122,6 +3372,7 @@ pub struct IMMDeviceEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMEndpoint(::windows_core::IUnknown); impl IMMEndpoint { pub unsafe fn GetDataFlow(&self) -> ::windows_core::Result { @@ -4130,25 +3381,9 @@ impl IMMEndpoint { } } ::windows_core::imp::interface_hierarchy!(IMMEndpoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMEndpoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMEndpoint {} -impl ::core::fmt::Debug for IMMEndpoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMEndpoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMEndpoint { type Vtable = IMMEndpoint_Vtbl; } -impl ::core::clone::Clone for IMMEndpoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMEndpoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1be09788_6894_4089_8586_9a2a6c265ac5); } @@ -4160,6 +3395,7 @@ pub struct IMMEndpoint_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMNotificationClient(::windows_core::IUnknown); impl IMMNotificationClient { pub unsafe fn OnDeviceStateChanged(&self, pwstrdeviceid: P0, dwnewstate: u32) -> ::windows_core::Result<()> @@ -4196,25 +3432,9 @@ impl IMMNotificationClient { } } ::windows_core::imp::interface_hierarchy!(IMMNotificationClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMNotificationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMNotificationClient {} -impl ::core::fmt::Debug for IMMNotificationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMNotificationClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMNotificationClient { type Vtable = IMMNotificationClient_Vtbl; } -impl ::core::clone::Clone for IMMNotificationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMNotificationClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7991eec9_7e89_4d85_8390_6c703cec60c0); } @@ -4233,6 +3453,7 @@ pub struct IMMNotificationClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageFilter(::windows_core::IUnknown); impl IMessageFilter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4257,25 +3478,9 @@ impl IMessageFilter { } } ::windows_core::imp::interface_hierarchy!(IMessageFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMessageFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMessageFilter {} -impl ::core::fmt::Debug for IMessageFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMessageFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMessageFilter { type Vtable = IMessageFilter_Vtbl; } -impl ::core::clone::Clone for IMessageFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000016_0000_0000_c000_000000000046); } @@ -4292,6 +3497,7 @@ pub struct IMessageFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPart(::windows_core::IUnknown); impl IPart { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4351,25 +3557,9 @@ impl IPart { } } ::windows_core::imp::interface_hierarchy!(IPart, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPart {} -impl ::core::fmt::Debug for IPart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPart").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPart { type Vtable = IPart_Vtbl; } -impl ::core::clone::Clone for IPart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae2de0e4_5bca_4f2d_aa46_5d13f8fdb3a9); } @@ -4393,6 +3583,7 @@ pub struct IPart_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPartsList(::windows_core::IUnknown); impl IPartsList { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -4405,25 +3596,9 @@ impl IPartsList { } } ::windows_core::imp::interface_hierarchy!(IPartsList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPartsList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPartsList {} -impl ::core::fmt::Debug for IPartsList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPartsList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPartsList { type Vtable = IPartsList_Vtbl; } -impl ::core::clone::Clone for IPartsList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPartsList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6daa848c_5eb0_45cc_aea5_998a2cda1ffb); } @@ -4436,6 +3611,7 @@ pub struct IPartsList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerChannelDbLevel(::windows_core::IUnknown); impl IPerChannelDbLevel { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -4460,25 +3636,9 @@ impl IPerChannelDbLevel { } } ::windows_core::imp::interface_hierarchy!(IPerChannelDbLevel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPerChannelDbLevel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPerChannelDbLevel {} -impl ::core::fmt::Debug for IPerChannelDbLevel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPerChannelDbLevel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPerChannelDbLevel { type Vtable = IPerChannelDbLevel_Vtbl; } -impl ::core::clone::Clone for IPerChannelDbLevel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerChannelDbLevel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2f8e001_f205_4bc9_99bc_c13b1e048ccb); } @@ -4495,6 +3655,7 @@ pub struct IPerChannelDbLevel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleAudioVolume(::windows_core::IUnknown); impl ISimpleAudioVolume { pub unsafe fn SetMasterVolume(&self, flevel: f32, eventcontext: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -4520,25 +3681,9 @@ impl ISimpleAudioVolume { } } ::windows_core::imp::interface_hierarchy!(ISimpleAudioVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimpleAudioVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimpleAudioVolume {} -impl ::core::fmt::Debug for ISimpleAudioVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimpleAudioVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimpleAudioVolume { type Vtable = ISimpleAudioVolume_Vtbl; } -impl ::core::clone::Clone for ISimpleAudioVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleAudioVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87ce5498_68d6_44e5_9215_6da47ef883d8); } @@ -4559,6 +3704,7 @@ pub struct ISimpleAudioVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioClient(::windows_core::IUnknown); impl ISpatialAudioClient { pub unsafe fn GetStaticObjectPosition(&self, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> ::windows_core::Result<()> { @@ -4599,25 +3745,9 @@ impl ISpatialAudioClient { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioClient {} -impl ::core::fmt::Debug for ISpatialAudioClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioClient { type Vtable = ISpatialAudioClient_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbf8e066_aaaa_49be_9a4d_fd2a858ea27f); } @@ -4642,6 +3772,7 @@ pub struct ISpatialAudioClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioClient2(::windows_core::IUnknown); impl ISpatialAudioClient2 { pub unsafe fn GetStaticObjectPosition(&self, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> ::windows_core::Result<()> { @@ -4697,25 +3828,9 @@ impl ISpatialAudioClient2 { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioClient2, ::windows_core::IUnknown, ISpatialAudioClient); -impl ::core::cmp::PartialEq for ISpatialAudioClient2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioClient2 {} -impl ::core::fmt::Debug for ISpatialAudioClient2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioClient2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioClient2 { type Vtable = ISpatialAudioClient2_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaabe452_a66a_4bee_a93e_e320463f6a53); } @@ -4734,6 +3849,7 @@ pub struct ISpatialAudioClient2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataClient(::windows_core::IUnknown); impl ISpatialAudioMetadataClient { pub unsafe fn ActivateSpatialAudioMetadataItems(&self, maxitemcount: u16, framecount: u16, metadataitemsbuffer: ::core::option::Option<*mut ::core::option::Option>, metadataitems: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -4757,25 +3873,9 @@ impl ISpatialAudioMetadataClient { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataClient {} -impl ::core::fmt::Debug for ISpatialAudioMetadataClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataClient { type Vtable = ISpatialAudioMetadataClient_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x777d4a3b_f6ff_4a26_85dc_68d7cdeda1d4); } @@ -4791,6 +3891,7 @@ pub struct ISpatialAudioMetadataClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataCopier(::windows_core::IUnknown); impl ISpatialAudioMetadataCopier { pub unsafe fn Open(&self, metadataitems: P0) -> ::windows_core::Result<()> @@ -4811,25 +3912,9 @@ impl ISpatialAudioMetadataCopier { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataCopier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataCopier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataCopier {} -impl ::core::fmt::Debug for ISpatialAudioMetadataCopier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataCopier").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataCopier { type Vtable = ISpatialAudioMetadataCopier_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataCopier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataCopier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd224b233_e251_4fd0_9ca2_d5ecf9a68404); } @@ -4843,6 +3928,7 @@ pub struct ISpatialAudioMetadataCopier_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataItems(::windows_core::IUnknown); impl ISpatialAudioMetadataItems { pub unsafe fn GetFrameCount(&self) -> ::windows_core::Result { @@ -4867,25 +3953,9 @@ impl ISpatialAudioMetadataItems { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataItems {} -impl ::core::fmt::Debug for ISpatialAudioMetadataItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataItems { type Vtable = ISpatialAudioMetadataItems_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcd7c78f_3098_4f22_b547_a2f25a381269); } @@ -4901,6 +3971,7 @@ pub struct ISpatialAudioMetadataItems_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataItemsBuffer(::windows_core::IUnknown); impl ISpatialAudioMetadataItemsBuffer { pub unsafe fn AttachToBuffer(&self, buffer: &mut [u8]) -> ::windows_core::Result<()> { @@ -4914,25 +3985,9 @@ impl ISpatialAudioMetadataItemsBuffer { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItemsBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataItemsBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataItemsBuffer {} -impl ::core::fmt::Debug for ISpatialAudioMetadataItemsBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataItemsBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataItemsBuffer { type Vtable = ISpatialAudioMetadataItemsBuffer_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataItemsBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataItemsBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42640a16_e1bd_42d9_9ff6_031ab71a2dba); } @@ -4946,6 +4001,7 @@ pub struct ISpatialAudioMetadataItemsBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataReader(::windows_core::IUnknown); impl ISpatialAudioMetadataReader { pub unsafe fn Open(&self, metadataitems: P0) -> ::windows_core::Result<()> @@ -4965,25 +4021,9 @@ impl ISpatialAudioMetadataReader { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataReader {} -impl ::core::fmt::Debug for ISpatialAudioMetadataReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataReader { type Vtable = ISpatialAudioMetadataReader_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb78e86a2_31d9_4c32_94d2_7df40fc7ebec); } @@ -4998,6 +4038,7 @@ pub struct ISpatialAudioMetadataReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioMetadataWriter(::windows_core::IUnknown); impl ISpatialAudioMetadataWriter { pub unsafe fn Open(&self, metadataitems: P0) -> ::windows_core::Result<()> @@ -5017,25 +4058,9 @@ impl ISpatialAudioMetadataWriter { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioMetadataWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioMetadataWriter {} -impl ::core::fmt::Debug for ISpatialAudioMetadataWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioMetadataWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioMetadataWriter { type Vtable = ISpatialAudioMetadataWriter_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioMetadataWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioMetadataWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b17ca01_2955_444d_a430_537dc589a844); } @@ -5050,6 +4075,7 @@ pub struct ISpatialAudioMetadataWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObject(::windows_core::IUnknown); impl ISpatialAudioObject { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> ::windows_core::Result<()> { @@ -5076,25 +4102,9 @@ impl ISpatialAudioObject { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObject, ::windows_core::IUnknown, ISpatialAudioObjectBase); -impl ::core::cmp::PartialEq for ISpatialAudioObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObject {} -impl ::core::fmt::Debug for ISpatialAudioObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObject { type Vtable = ISpatialAudioObject_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdde28967_521b_46e5_8f00_bd6f2bc8ab1d); } @@ -5107,6 +4117,7 @@ pub struct ISpatialAudioObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectBase(::windows_core::IUnknown); impl ISpatialAudioObjectBase { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> ::windows_core::Result<()> { @@ -5127,25 +4138,9 @@ impl ISpatialAudioObjectBase { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioObjectBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectBase {} -impl ::core::fmt::Debug for ISpatialAudioObjectBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectBase { type Vtable = ISpatialAudioObjectBase_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcce0b8f2_8d4d_4efb_a8cf_3d6ecf1c30e0); } @@ -5163,6 +4158,7 @@ pub struct ISpatialAudioObjectBase_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectForHrtf(::windows_core::IUnknown); impl ISpatialAudioObjectForHrtf { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> ::windows_core::Result<()> { @@ -5201,25 +4197,9 @@ impl ISpatialAudioObjectForHrtf { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForHrtf, ::windows_core::IUnknown, ISpatialAudioObjectBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectForHrtf { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectForHrtf {} -impl ::core::fmt::Debug for ISpatialAudioObjectForHrtf { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectForHrtf").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectForHrtf { type Vtable = ISpatialAudioObjectForHrtf_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectForHrtf { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectForHrtf { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7436ade_1978_4e14_aba0_555bd8eb83b4); } @@ -5236,6 +4216,7 @@ pub struct ISpatialAudioObjectForHrtf_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectForMetadataCommands(::windows_core::IUnknown); impl ISpatialAudioObjectForMetadataCommands { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> ::windows_core::Result<()> { @@ -5259,25 +4240,9 @@ impl ISpatialAudioObjectForMetadataCommands { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataCommands, ::windows_core::IUnknown, ISpatialAudioObjectBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectForMetadataCommands { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectForMetadataCommands {} -impl ::core::fmt::Debug for ISpatialAudioObjectForMetadataCommands { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectForMetadataCommands").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectForMetadataCommands { type Vtable = ISpatialAudioObjectForMetadataCommands_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectForMetadataCommands { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectForMetadataCommands { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0df2c94b_f5f9_472d_af6b_c46e0ac9cd05); } @@ -5289,6 +4254,7 @@ pub struct ISpatialAudioObjectForMetadataCommands_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectForMetadataItems(::windows_core::IUnknown); impl ISpatialAudioObjectForMetadataItems { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> ::windows_core::Result<()> { @@ -5313,25 +4279,9 @@ impl ISpatialAudioObjectForMetadataItems { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataItems, ::windows_core::IUnknown, ISpatialAudioObjectBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectForMetadataItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectForMetadataItems {} -impl ::core::fmt::Debug for ISpatialAudioObjectForMetadataItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectForMetadataItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectForMetadataItems { type Vtable = ISpatialAudioObjectForMetadataItems_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectForMetadataItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectForMetadataItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddea49ff_3bc0_4377_8aad_9fbcfd808566); } @@ -5343,6 +4293,7 @@ pub struct ISpatialAudioObjectForMetadataItems_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectRenderStream(::windows_core::IUnknown); impl ISpatialAudioObjectRenderStream { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows_core::Result { @@ -5377,25 +4328,9 @@ impl ISpatialAudioObjectRenderStream { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStream, ::windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectRenderStream {} -impl ::core::fmt::Debug for ISpatialAudioObjectRenderStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectRenderStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectRenderStream { type Vtable = ISpatialAudioObjectRenderStream_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectRenderStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectRenderStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbab5f473_b423_477b_85f5_b5a332a04153); } @@ -5407,6 +4342,7 @@ pub struct ISpatialAudioObjectRenderStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectRenderStreamBase(::windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamBase { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows_core::Result { @@ -5437,25 +4373,9 @@ impl ISpatialAudioObjectRenderStreamBase { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectRenderStreamBase {} -impl ::core::fmt::Debug for ISpatialAudioObjectRenderStreamBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectRenderStreamBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectRenderStreamBase { type Vtable = ISpatialAudioObjectRenderStreamBase_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectRenderStreamBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectRenderStreamBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeaaf403_c1d8_450d_aa05_e0ccee7502a8); } @@ -5473,6 +4393,7 @@ pub struct ISpatialAudioObjectRenderStreamBase_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectRenderStreamForHrtf(::windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamForHrtf { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows_core::Result { @@ -5507,25 +4428,9 @@ impl ISpatialAudioObjectRenderStreamForHrtf { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForHrtf, ::windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamForHrtf { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectRenderStreamForHrtf {} -impl ::core::fmt::Debug for ISpatialAudioObjectRenderStreamForHrtf { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectRenderStreamForHrtf").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectRenderStreamForHrtf { type Vtable = ISpatialAudioObjectRenderStreamForHrtf_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectRenderStreamForHrtf { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectRenderStreamForHrtf { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe08deef9_5363_406e_9fdc_080ee247bbe0); } @@ -5537,6 +4442,7 @@ pub struct ISpatialAudioObjectRenderStreamForHrtf_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectRenderStreamForMetadata(::windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamForMetadata { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> ::windows_core::Result { @@ -5575,25 +4481,9 @@ impl ISpatialAudioObjectRenderStreamForMetadata { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForMetadata, ::windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); -impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamForMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectRenderStreamForMetadata {} -impl ::core::fmt::Debug for ISpatialAudioObjectRenderStreamForMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectRenderStreamForMetadata").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectRenderStreamForMetadata { type Vtable = ISpatialAudioObjectRenderStreamForMetadata_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectRenderStreamForMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectRenderStreamForMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbc9c907_48d5_4a2e_a0c7_f7f0d67c1fb1); } @@ -5606,6 +4496,7 @@ pub struct ISpatialAudioObjectRenderStreamForMetadata_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialAudioObjectRenderStreamNotify(::windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamNotify { pub unsafe fn OnAvailableDynamicObjectCountChange(&self, sender: P0, hnscompliancedeadlinetime: i64, availabledynamicobjectcountchange: u32) -> ::windows_core::Result<()> @@ -5616,25 +4507,9 @@ impl ISpatialAudioObjectRenderStreamNotify { } } ::windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpatialAudioObjectRenderStreamNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialAudioObjectRenderStreamNotify {} -impl ::core::fmt::Debug for ISpatialAudioObjectRenderStreamNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialAudioObjectRenderStreamNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialAudioObjectRenderStreamNotify { type Vtable = ISpatialAudioObjectRenderStreamNotify_Vtbl; } -impl ::core::clone::Clone for ISpatialAudioObjectRenderStreamNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialAudioObjectRenderStreamNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdddf83e6_68d7_4c70_883f_a1836afb4a50); } @@ -5646,28 +4521,13 @@ pub struct ISpatialAudioObjectRenderStreamNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubunit(::windows_core::IUnknown); impl ISubunit {} ::windows_core::imp::interface_hierarchy!(ISubunit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISubunit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISubunit {} -impl ::core::fmt::Debug for ISubunit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISubunit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISubunit { type Vtable = ISubunit_Vtbl; } -impl ::core::clone::Clone for ISubunit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubunit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82149a85_dba6_4487_86bb_ea8f7fefcc71); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index b7e8fa2331..91f8dbbd03 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -22,8 +22,8 @@ impl IComponentAuthenticate_Vtbl { SACGetProtocols: SACGetProtocols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IMDSPDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IMDSPDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl IMDSPDevice3_Vtbl { FindStorage: FindStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IMDSPDeviceControl_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -376,8 +376,8 @@ impl IMDSPDirectTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransferToDevice: TransferToDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -430,8 +430,8 @@ impl IMDSPEnumDevice_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -484,8 +484,8 @@ impl IMDSPEnumStorage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -554,8 +554,8 @@ impl IMDSPObject_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl IMDSPObject2_Vtbl { WriteOnClearChannel: WriteOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -675,8 +675,8 @@ impl IMDSPObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl IMDSPRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IMDSPStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -861,8 +861,8 @@ impl IMDSPStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -892,8 +892,8 @@ impl IMDSPStorage3_Vtbl { SetMetadata: SetMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -969,8 +969,8 @@ impl IMDSPStorage4_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1070,8 +1070,8 @@ impl IMDSPStorageGlobals_Vtbl { GetRootStorage: GetRootStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1110,8 +1110,8 @@ impl IMDServiceProvider_Vtbl { EnumDevices: EnumDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1128,8 +1128,8 @@ impl IMDServiceProvider2_Vtbl { } Self { base__: IMDServiceProvider_Vtbl::new::(), CreateDevice: CreateDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1146,8 +1146,8 @@ impl IMDServiceProvider3_Vtbl { } Self { base__: IMDServiceProvider2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl ISCPSecureAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureQuery: GetSecureQuery:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1194,8 +1194,8 @@ impl ISCPSecureAuthenticate2_Vtbl { } Self { base__: ISCPSecureAuthenticate_Vtbl::new::(), GetSCPSession: GetSCPSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl ISCPSecureExchange_Vtbl { TransferComplete: TransferComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1247,8 +1247,8 @@ impl ISCPSecureExchange2_Vtbl { } Self { base__: ISCPSecureExchange_Vtbl::new::(), TransferContainerData2: TransferContainerData2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1288,8 +1288,8 @@ impl ISCPSecureExchange3_Vtbl { TransferCompleteForDevice: TransferCompleteForDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1330,8 +1330,8 @@ impl ISCPSecureQuery_Vtbl { GetRights: GetRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1368,8 +1368,8 @@ impl ISCPSecureQuery2_Vtbl { } Self { base__: ISCPSecureQuery_Vtbl::new::(), MakeDecision2: MakeDecision2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1416,8 +1416,8 @@ impl ISCPSecureQuery3_Vtbl { MakeDecisionOnClearChannel: MakeDecisionOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1457,8 +1457,8 @@ impl ISCPSession_Vtbl { GetSecureQuery: GetSecureQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1581,8 +1581,8 @@ impl IWMDMDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1632,8 +1632,8 @@ impl IWMDMDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1702,8 +1702,8 @@ impl IWMDMDevice3_Vtbl { FindStorage: FindStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IWMDMDeviceControl_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1815,8 +1815,8 @@ impl IWMDMDeviceSession_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1869,8 +1869,8 @@ impl IWMDMEnumDevice_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1923,8 +1923,8 @@ impl IWMDMEnumStorage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2009,8 +2009,8 @@ impl IWMDMLogger_Vtbl { SetSizeParams: SetSizeParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IWMDMMetaData_Vtbl { GetItemCount: GetItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl IWMDMNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), WMDMMessage: WMDMMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2168,8 +2168,8 @@ impl IWMDMObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2255,8 +2255,8 @@ impl IWMDMOperation_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2286,8 +2286,8 @@ impl IWMDMOperation2_Vtbl { GetObjectAttributes2: GetObjectAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2310,8 +2310,8 @@ impl IWMDMOperation3_Vtbl { TransferObjectDataOnClearChannel: TransferObjectDataOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2345,8 +2345,8 @@ impl IWMDMProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2363,8 +2363,8 @@ impl IWMDMProgress2_Vtbl { } Self { base__: IWMDMProgress_Vtbl::new::(), End2: End2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2398,8 +2398,8 @@ impl IWMDMProgress3_Vtbl { End3: End3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2416,8 +2416,8 @@ impl IWMDMRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2514,8 +2514,8 @@ impl IWMDMStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl IWMDMStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2615,8 +2615,8 @@ impl IWMDMStorage3_Vtbl { SetEnumPreference: SetEnumPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IWMDMStorage4_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IWMDMStorageControl_Vtbl { Move: Move::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2765,8 +2765,8 @@ impl IWMDMStorageControl2_Vtbl { } Self { base__: IWMDMStorageControl_Vtbl::new::(), Insert2: Insert2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2783,8 +2783,8 @@ impl IWMDMStorageControl3_Vtbl { } Self { base__: IWMDMStorageControl2_Vtbl::new::(), Insert3: Insert3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2858,8 +2858,8 @@ impl IWMDMStorageGlobals_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2911,8 +2911,8 @@ impl IWMDeviceManager_Vtbl { EnumDevices: EnumDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl IWMDeviceManager2_Vtbl { Reinitialize: Reinitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2976,7 +2976,7 @@ impl IWMDeviceManager3_Vtbl { } Self { base__: IWMDeviceManager2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs index 35d0bc7d6c..5b07a47df4 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentAuthenticate(::windows_core::IUnknown); impl IComponentAuthenticate { pub unsafe fn SACAuth(&self, dwprotocolid: u32, dwpass: u32, pbdatain: &[u8], ppbdataout: *mut *mut u8, pdwdataoutlen: *mut u32) -> ::windows_core::Result<()> { @@ -10,25 +11,9 @@ impl IComponentAuthenticate { } } ::windows_core::imp::interface_hierarchy!(IComponentAuthenticate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComponentAuthenticate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComponentAuthenticate {} -impl ::core::fmt::Debug for IComponentAuthenticate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentAuthenticate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComponentAuthenticate { type Vtable = IComponentAuthenticate_Vtbl; } -impl ::core::clone::Clone for IComponentAuthenticate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponentAuthenticate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9889c00_6d2b_11d3_8496_00c04f79dbc0); } @@ -41,6 +26,7 @@ pub struct IComponentAuthenticate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPDevice(::windows_core::IUnknown); impl IMDSPDevice { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -85,25 +71,9 @@ impl IMDSPDevice { } } ::windows_core::imp::interface_hierarchy!(IMDSPDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPDevice {} -impl ::core::fmt::Debug for IMDSPDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPDevice { type Vtable = IMDSPDevice_Vtbl; } -impl ::core::clone::Clone for IMDSPDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a12_33ed_11d3_8470_00c04f79dbc0); } @@ -128,6 +98,7 @@ pub struct IMDSPDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPDevice2(::windows_core::IUnknown); impl IMDSPDevice2 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -192,25 +163,9 @@ impl IMDSPDevice2 { } } ::windows_core::imp::interface_hierarchy!(IMDSPDevice2, ::windows_core::IUnknown, IMDSPDevice); -impl ::core::cmp::PartialEq for IMDSPDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPDevice2 {} -impl ::core::fmt::Debug for IMDSPDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPDevice2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPDevice2 { type Vtable = IMDSPDevice2_Vtbl; } -impl ::core::clone::Clone for IMDSPDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x420d16ad_c97d_4e00_82aa_00e9f4335ddd); } @@ -231,6 +186,7 @@ pub struct IMDSPDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPDevice3(::windows_core::IUnknown); impl IMDSPDevice3 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -328,25 +284,9 @@ impl IMDSPDevice3 { } } ::windows_core::imp::interface_hierarchy!(IMDSPDevice3, ::windows_core::IUnknown, IMDSPDevice, IMDSPDevice2); -impl ::core::cmp::PartialEq for IMDSPDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPDevice3 {} -impl ::core::fmt::Debug for IMDSPDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPDevice3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPDevice3 { type Vtable = IMDSPDevice3_Vtbl; } -impl ::core::clone::Clone for IMDSPDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a839845_fc55_487c_976f_ee38ac0e8c4e); } @@ -371,6 +311,7 @@ pub struct IMDSPDevice3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPDeviceControl(::windows_core::IUnknown); impl IMDSPDeviceControl { pub unsafe fn GetDCStatus(&self) -> ::windows_core::Result { @@ -403,25 +344,9 @@ impl IMDSPDeviceControl { } } ::windows_core::imp::interface_hierarchy!(IMDSPDeviceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPDeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPDeviceControl {} -impl ::core::fmt::Debug for IMDSPDeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPDeviceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPDeviceControl { type Vtable = IMDSPDeviceControl_Vtbl; } -impl ::core::clone::Clone for IMDSPDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPDeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a14_33ed_11d3_8470_00c04f79dbc0); } @@ -443,6 +368,7 @@ pub struct IMDSPDeviceControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPDirectTransfer(::windows_core::IUnknown); impl IMDSPDirectTransfer { pub unsafe fn TransferToDevice(&self, pwszsourcefilepath: P0, psourceoperation: P1, fuflags: u32, pwszdestinationname: P2, psourcemetadata: P3, ptransferprogress: P4) -> ::windows_core::Result @@ -458,25 +384,9 @@ impl IMDSPDirectTransfer { } } ::windows_core::imp::interface_hierarchy!(IMDSPDirectTransfer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPDirectTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPDirectTransfer {} -impl ::core::fmt::Debug for IMDSPDirectTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPDirectTransfer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPDirectTransfer { type Vtable = IMDSPDirectTransfer_Vtbl; } -impl ::core::clone::Clone for IMDSPDirectTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPDirectTransfer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2fe57a8_9304_478c_9ee4_47e397b912d7); } @@ -488,6 +398,7 @@ pub struct IMDSPDirectTransfer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPEnumDevice(::windows_core::IUnknown); impl IMDSPEnumDevice { pub unsafe fn Next(&self, ppdevice: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -506,25 +417,9 @@ impl IMDSPEnumDevice { } } ::windows_core::imp::interface_hierarchy!(IMDSPEnumDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPEnumDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPEnumDevice {} -impl ::core::fmt::Debug for IMDSPEnumDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPEnumDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPEnumDevice { type Vtable = IMDSPEnumDevice_Vtbl; } -impl ::core::clone::Clone for IMDSPEnumDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPEnumDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a11_33ed_11d3_8470_00c04f79dbc0); } @@ -539,6 +434,7 @@ pub struct IMDSPEnumDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPEnumStorage(::windows_core::IUnknown); impl IMDSPEnumStorage { pub unsafe fn Next(&self, ppstorage: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -557,25 +453,9 @@ impl IMDSPEnumStorage { } } ::windows_core::imp::interface_hierarchy!(IMDSPEnumStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPEnumStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPEnumStorage {} -impl ::core::fmt::Debug for IMDSPEnumStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPEnumStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPEnumStorage { type Vtable = IMDSPEnumStorage_Vtbl; } -impl ::core::clone::Clone for IMDSPEnumStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPEnumStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a15_33ed_11d3_8470_00c04f79dbc0); } @@ -590,6 +470,7 @@ pub struct IMDSPEnumStorage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPObject(::windows_core::IUnknown); impl IMDSPObject { pub unsafe fn Open(&self, fumode: u32) -> ::windows_core::Result<()> { @@ -629,25 +510,9 @@ impl IMDSPObject { } } ::windows_core::imp::interface_hierarchy!(IMDSPObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPObject {} -impl ::core::fmt::Debug for IMDSPObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPObject { type Vtable = IMDSPObject_Vtbl; } -impl ::core::clone::Clone for IMDSPObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a18_33ed_11d3_8470_00c04f79dbc0); } @@ -666,6 +531,7 @@ pub struct IMDSPObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPObject2(::windows_core::IUnknown); impl IMDSPObject2 { pub unsafe fn Open(&self, fumode: u32) -> ::windows_core::Result<()> { @@ -711,25 +577,9 @@ impl IMDSPObject2 { } } ::windows_core::imp::interface_hierarchy!(IMDSPObject2, ::windows_core::IUnknown, IMDSPObject); -impl ::core::cmp::PartialEq for IMDSPObject2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPObject2 {} -impl ::core::fmt::Debug for IMDSPObject2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPObject2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPObject2 { type Vtable = IMDSPObject2_Vtbl; } -impl ::core::clone::Clone for IMDSPObject2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPObject2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f34cd3e_5907_4341_9af9_97f4187c3aa5); } @@ -742,6 +592,7 @@ pub struct IMDSPObject2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPObjectInfo(::windows_core::IUnknown); impl IMDSPObjectInfo { pub unsafe fn GetPlayLength(&self) -> ::windows_core::Result { @@ -772,25 +623,9 @@ impl IMDSPObjectInfo { } } ::windows_core::imp::interface_hierarchy!(IMDSPObjectInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPObjectInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPObjectInfo {} -impl ::core::fmt::Debug for IMDSPObjectInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPObjectInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPObjectInfo { type Vtable = IMDSPObjectInfo_Vtbl; } -impl ::core::clone::Clone for IMDSPObjectInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPObjectInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a19_33ed_11d3_8470_00c04f79dbc0); } @@ -808,6 +643,7 @@ pub struct IMDSPObjectInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPRevoked(::windows_core::IUnknown); impl IMDSPRevoked { pub unsafe fn GetRevocationURL(&self, ppwszrevocationurl: *mut ::windows_core::PWSTR, pdwbufferlen: *mut u32) -> ::windows_core::Result<()> { @@ -815,25 +651,9 @@ impl IMDSPRevoked { } } ::windows_core::imp::interface_hierarchy!(IMDSPRevoked, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPRevoked { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPRevoked {} -impl ::core::fmt::Debug for IMDSPRevoked { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPRevoked").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPRevoked { type Vtable = IMDSPRevoked_Vtbl; } -impl ::core::clone::Clone for IMDSPRevoked { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPRevoked { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4e8f2d4_3f31_464d_b53d_4fc335998184); } @@ -845,6 +665,7 @@ pub struct IMDSPRevoked_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPStorage(::windows_core::IUnknown); impl IMDSPStorage { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -892,25 +713,9 @@ impl IMDSPStorage { } } ::windows_core::imp::interface_hierarchy!(IMDSPStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPStorage {} -impl ::core::fmt::Debug for IMDSPStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPStorage { type Vtable = IMDSPStorage_Vtbl; } -impl ::core::clone::Clone for IMDSPStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a16_33ed_11d3_8470_00c04f79dbc0); } @@ -940,6 +745,7 @@ pub struct IMDSPStorage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPStorage2(::windows_core::IUnknown); impl IMDSPStorage2 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1013,25 +819,9 @@ impl IMDSPStorage2 { } } ::windows_core::imp::interface_hierarchy!(IMDSPStorage2, ::windows_core::IUnknown, IMDSPStorage); -impl ::core::cmp::PartialEq for IMDSPStorage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPStorage2 {} -impl ::core::fmt::Debug for IMDSPStorage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPStorage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPStorage2 { type Vtable = IMDSPStorage2_Vtbl; } -impl ::core::clone::Clone for IMDSPStorage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPStorage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a5e07a5_6454_4451_9c36_1c6ae7e2b1d6); } @@ -1055,6 +845,7 @@ pub struct IMDSPStorage2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPStorage3(::windows_core::IUnknown); impl IMDSPStorage3 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1140,25 +931,9 @@ impl IMDSPStorage3 { } } ::windows_core::imp::interface_hierarchy!(IMDSPStorage3, ::windows_core::IUnknown, IMDSPStorage, IMDSPStorage2); -impl ::core::cmp::PartialEq for IMDSPStorage3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPStorage3 {} -impl ::core::fmt::Debug for IMDSPStorage3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPStorage3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPStorage3 { type Vtable = IMDSPStorage3_Vtbl; } -impl ::core::clone::Clone for IMDSPStorage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPStorage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c669867_97ed_4a67_9706_1c5529d2a414); } @@ -1171,6 +946,7 @@ pub struct IMDSPStorage3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPStorage4(::windows_core::IUnknown); impl IMDSPStorage4 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -1287,25 +1063,9 @@ impl IMDSPStorage4 { } } ::windows_core::imp::interface_hierarchy!(IMDSPStorage4, ::windows_core::IUnknown, IMDSPStorage, IMDSPStorage2, IMDSPStorage3); -impl ::core::cmp::PartialEq for IMDSPStorage4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPStorage4 {} -impl ::core::fmt::Debug for IMDSPStorage4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPStorage4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPStorage4 { type Vtable = IMDSPStorage4_Vtbl; } -impl ::core::clone::Clone for IMDSPStorage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPStorage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3133b2c4_515c_481b_b1ce_39327ecb4f74); } @@ -1322,6 +1082,7 @@ pub struct IMDSPStorage4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDSPStorageGlobals(::windows_core::IUnknown); impl IMDSPStorageGlobals { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -1360,25 +1121,9 @@ impl IMDSPStorageGlobals { } } ::windows_core::imp::interface_hierarchy!(IMDSPStorageGlobals, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDSPStorageGlobals { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDSPStorageGlobals {} -impl ::core::fmt::Debug for IMDSPStorageGlobals { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDSPStorageGlobals").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDSPStorageGlobals { type Vtable = IMDSPStorageGlobals_Vtbl; } -impl ::core::clone::Clone for IMDSPStorageGlobals { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDSPStorageGlobals { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a17_33ed_11d3_8470_00c04f79dbc0); } @@ -1398,6 +1143,7 @@ pub struct IMDSPStorageGlobals_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDServiceProvider(::windows_core::IUnknown); impl IMDServiceProvider { pub unsafe fn GetDeviceCount(&self) -> ::windows_core::Result { @@ -1410,25 +1156,9 @@ impl IMDServiceProvider { } } ::windows_core::imp::interface_hierarchy!(IMDServiceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDServiceProvider {} -impl ::core::fmt::Debug for IMDServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDServiceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDServiceProvider { type Vtable = IMDServiceProvider_Vtbl; } -impl ::core::clone::Clone for IMDServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a10_33ed_11d3_8470_00c04f79dbc0); } @@ -1441,6 +1171,7 @@ pub struct IMDServiceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDServiceProvider2(::windows_core::IUnknown); impl IMDServiceProvider2 { pub unsafe fn GetDeviceCount(&self) -> ::windows_core::Result { @@ -1459,25 +1190,9 @@ impl IMDServiceProvider2 { } } ::windows_core::imp::interface_hierarchy!(IMDServiceProvider2, ::windows_core::IUnknown, IMDServiceProvider); -impl ::core::cmp::PartialEq for IMDServiceProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDServiceProvider2 {} -impl ::core::fmt::Debug for IMDServiceProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDServiceProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDServiceProvider2 { type Vtable = IMDServiceProvider2_Vtbl; } -impl ::core::clone::Clone for IMDServiceProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDServiceProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2fa24b7_cda3_4694_9862_413ae1a34819); } @@ -1489,6 +1204,7 @@ pub struct IMDServiceProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDServiceProvider3(::windows_core::IUnknown); impl IMDServiceProvider3 { pub unsafe fn GetDeviceCount(&self) -> ::windows_core::Result { @@ -1510,25 +1226,9 @@ impl IMDServiceProvider3 { } } ::windows_core::imp::interface_hierarchy!(IMDServiceProvider3, ::windows_core::IUnknown, IMDServiceProvider, IMDServiceProvider2); -impl ::core::cmp::PartialEq for IMDServiceProvider3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDServiceProvider3 {} -impl ::core::fmt::Debug for IMDServiceProvider3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDServiceProvider3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDServiceProvider3 { type Vtable = IMDServiceProvider3_Vtbl; } -impl ::core::clone::Clone for IMDServiceProvider3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDServiceProvider3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ed13ef3_a971_4d19_9f51_0e1826b2da57); } @@ -1540,6 +1240,7 @@ pub struct IMDServiceProvider3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureAuthenticate(::windows_core::IUnknown); impl ISCPSecureAuthenticate { pub unsafe fn GetSecureQuery(&self) -> ::windows_core::Result { @@ -1548,25 +1249,9 @@ impl ISCPSecureAuthenticate { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISCPSecureAuthenticate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureAuthenticate {} -impl ::core::fmt::Debug for ISCPSecureAuthenticate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureAuthenticate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureAuthenticate { type Vtable = ISCPSecureAuthenticate_Vtbl; } -impl ::core::clone::Clone for ISCPSecureAuthenticate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureAuthenticate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a0f_33ed_11d3_8470_00c04f79dbc0); } @@ -1578,6 +1263,7 @@ pub struct ISCPSecureAuthenticate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureAuthenticate2(::windows_core::IUnknown); impl ISCPSecureAuthenticate2 { pub unsafe fn GetSecureQuery(&self) -> ::windows_core::Result { @@ -1590,25 +1276,9 @@ impl ISCPSecureAuthenticate2 { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate2, ::windows_core::IUnknown, ISCPSecureAuthenticate); -impl ::core::cmp::PartialEq for ISCPSecureAuthenticate2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureAuthenticate2 {} -impl ::core::fmt::Debug for ISCPSecureAuthenticate2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureAuthenticate2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureAuthenticate2 { type Vtable = ISCPSecureAuthenticate2_Vtbl; } -impl ::core::clone::Clone for ISCPSecureAuthenticate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureAuthenticate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb580cfae_1672_47e2_acaa_44bbecbcae5b); } @@ -1620,6 +1290,7 @@ pub struct ISCPSecureAuthenticate2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureExchange(::windows_core::IUnknown); impl ISCPSecureExchange { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -1633,25 +1304,9 @@ impl ISCPSecureExchange { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureExchange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISCPSecureExchange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureExchange {} -impl ::core::fmt::Debug for ISCPSecureExchange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureExchange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureExchange { type Vtable = ISCPSecureExchange_Vtbl; } -impl ::core::clone::Clone for ISCPSecureExchange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureExchange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a0e_33ed_11d3_8470_00c04f79dbc0); } @@ -1665,6 +1320,7 @@ pub struct ISCPSecureExchange_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureExchange2(::windows_core::IUnknown); impl ISCPSecureExchange2 { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -1684,25 +1340,9 @@ impl ISCPSecureExchange2 { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureExchange2, ::windows_core::IUnknown, ISCPSecureExchange); -impl ::core::cmp::PartialEq for ISCPSecureExchange2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureExchange2 {} -impl ::core::fmt::Debug for ISCPSecureExchange2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureExchange2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureExchange2 { type Vtable = ISCPSecureExchange2_Vtbl; } -impl ::core::clone::Clone for ISCPSecureExchange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureExchange2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c62fc7b_2690_483f_9d44_0a20cb35577c); } @@ -1714,6 +1354,7 @@ pub struct ISCPSecureExchange2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureExchange3(::windows_core::IUnknown); impl ISCPSecureExchange3 { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -1753,25 +1394,9 @@ impl ISCPSecureExchange3 { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureExchange3, ::windows_core::IUnknown, ISCPSecureExchange, ISCPSecureExchange2); -impl ::core::cmp::PartialEq for ISCPSecureExchange3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureExchange3 {} -impl ::core::fmt::Debug for ISCPSecureExchange3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureExchange3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureExchange3 { type Vtable = ISCPSecureExchange3_Vtbl; } -impl ::core::clone::Clone for ISCPSecureExchange3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureExchange3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab4e77e4_8908_4b17_bd2a_b1dbe6dd69e1); } @@ -1785,6 +1410,7 @@ pub struct ISCPSecureExchange3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureQuery(::windows_core::IUnknown); impl ISCPSecureQuery { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -1810,25 +1436,9 @@ impl ISCPSecureQuery { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISCPSecureQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureQuery {} -impl ::core::fmt::Debug for ISCPSecureQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureQuery { type Vtable = ISCPSecureQuery_Vtbl; } -impl ::core::clone::Clone for ISCPSecureQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a0d_33ed_11d3_8470_00c04f79dbc0); } @@ -1843,6 +1453,7 @@ pub struct ISCPSecureQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureQuery2(::windows_core::IUnknown); impl ISCPSecureQuery2 { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -1896,25 +1507,9 @@ impl ISCPSecureQuery2 { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureQuery2, ::windows_core::IUnknown, ISCPSecureQuery); -impl ::core::cmp::PartialEq for ISCPSecureQuery2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureQuery2 {} -impl ::core::fmt::Debug for ISCPSecureQuery2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureQuery2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureQuery2 { type Vtable = ISCPSecureQuery2_Vtbl; } -impl ::core::clone::Clone for ISCPSecureQuery2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureQuery2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebe17e25_4fd7_4632_af46_6d93d4fcc72e); } @@ -1926,6 +1521,7 @@ pub struct ISCPSecureQuery2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSecureQuery3(::windows_core::IUnknown); impl ISCPSecureQuery3 { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> ::windows_core::Result<()> { @@ -2015,25 +1611,9 @@ impl ISCPSecureQuery3 { } } ::windows_core::imp::interface_hierarchy!(ISCPSecureQuery3, ::windows_core::IUnknown, ISCPSecureQuery, ISCPSecureQuery2); -impl ::core::cmp::PartialEq for ISCPSecureQuery3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSecureQuery3 {} -impl ::core::fmt::Debug for ISCPSecureQuery3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSecureQuery3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSecureQuery3 { type Vtable = ISCPSecureQuery3_Vtbl; } -impl ::core::clone::Clone for ISCPSecureQuery3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSecureQuery3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7edd1a2_4dab_484b_b3c5_ad39b8b4c0b1); } @@ -2046,6 +1626,7 @@ pub struct ISCPSecureQuery3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCPSession(::windows_core::IUnknown); impl ISCPSession { pub unsafe fn BeginSession(&self, pidevice: P0, pctx: &[u8]) -> ::windows_core::Result<()> @@ -2063,25 +1644,9 @@ impl ISCPSession { } } ::windows_core::imp::interface_hierarchy!(ISCPSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISCPSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCPSession {} -impl ::core::fmt::Debug for ISCPSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCPSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCPSession { type Vtable = ISCPSession_Vtbl; } -impl ::core::clone::Clone for ISCPSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCPSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88a3e6ed_eee4_4619_bbb3_fd4fb62715d1); } @@ -2095,6 +1660,7 @@ pub struct ISCPSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMDevice(::windows_core::IUnknown); impl IWMDMDevice { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -2138,26 +1704,10 @@ impl IWMDMDevice { (::windows_core::Interface::vtable(self).SendOpaqueCommand)(::windows_core::Interface::as_raw(self), pcommand).ok() } } -::windows_core::imp::interface_hierarchy!(IWMDMDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMDevice {} -impl ::core::fmt::Debug for IWMDMDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMDevice").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IWMDMDevice, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWMDMDevice { type Vtable = IWMDMDevice_Vtbl; } -impl ::core::clone::Clone for IWMDMDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a02_33ed_11d3_8470_00c04f79dbc0); } @@ -2182,6 +1732,7 @@ pub struct IWMDMDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMDevice2(::windows_core::IUnknown); impl IWMDMDevice2 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -2246,25 +1797,9 @@ impl IWMDMDevice2 { } } ::windows_core::imp::interface_hierarchy!(IWMDMDevice2, ::windows_core::IUnknown, IWMDMDevice); -impl ::core::cmp::PartialEq for IWMDMDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMDevice2 {} -impl ::core::fmt::Debug for IWMDMDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMDevice2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMDevice2 { type Vtable = IWMDMDevice2_Vtbl; } -impl ::core::clone::Clone for IWMDMDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe34f3d37_9d67_4fc1_9252_62d28b2f8b55); } @@ -2285,6 +1820,7 @@ pub struct IWMDMDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMDevice3(::windows_core::IUnknown); impl IWMDMDevice3 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -2382,25 +1918,9 @@ impl IWMDMDevice3 { } } ::windows_core::imp::interface_hierarchy!(IWMDMDevice3, ::windows_core::IUnknown, IWMDMDevice, IWMDMDevice2); -impl ::core::cmp::PartialEq for IWMDMDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMDevice3 {} -impl ::core::fmt::Debug for IWMDMDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMDevice3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMDevice3 { type Vtable = IWMDMDevice3_Vtbl; } -impl ::core::clone::Clone for IWMDMDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c03e4fe_05db_4dda_9e3c_06233a6d5d65); } @@ -2425,6 +1945,7 @@ pub struct IWMDMDevice3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMDeviceControl(::windows_core::IUnknown); impl IWMDMDeviceControl { pub unsafe fn GetStatus(&self) -> ::windows_core::Result { @@ -2457,25 +1978,9 @@ impl IWMDMDeviceControl { } } ::windows_core::imp::interface_hierarchy!(IWMDMDeviceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMDeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMDeviceControl {} -impl ::core::fmt::Debug for IWMDMDeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMDeviceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMDeviceControl { type Vtable = IWMDMDeviceControl_Vtbl; } -impl ::core::clone::Clone for IWMDMDeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMDeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a04_33ed_11d3_8470_00c04f79dbc0); } @@ -2497,6 +2002,7 @@ pub struct IWMDMDeviceControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMDeviceSession(::windows_core::IUnknown); impl IWMDMDeviceSession { pub unsafe fn BeginSession(&self, r#type: WMDM_SESSION_TYPE, pctx: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> { @@ -2507,25 +2013,9 @@ impl IWMDMDeviceSession { } } ::windows_core::imp::interface_hierarchy!(IWMDMDeviceSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMDeviceSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMDeviceSession {} -impl ::core::fmt::Debug for IWMDMDeviceSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMDeviceSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMDeviceSession { type Vtable = IWMDMDeviceSession_Vtbl; } -impl ::core::clone::Clone for IWMDMDeviceSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMDeviceSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82af0a65_9d96_412c_83e5_3c43e4b06cc7); } @@ -2538,6 +2028,7 @@ pub struct IWMDMDeviceSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMEnumDevice(::windows_core::IUnknown); impl IWMDMEnumDevice { pub unsafe fn Next(&self, ppdevice: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2556,25 +2047,9 @@ impl IWMDMEnumDevice { } } ::windows_core::imp::interface_hierarchy!(IWMDMEnumDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMEnumDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMEnumDevice {} -impl ::core::fmt::Debug for IWMDMEnumDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMEnumDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMEnumDevice { type Vtable = IWMDMEnumDevice_Vtbl; } -impl ::core::clone::Clone for IWMDMEnumDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMEnumDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a01_33ed_11d3_8470_00c04f79dbc0); } @@ -2589,6 +2064,7 @@ pub struct IWMDMEnumDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMEnumStorage(::windows_core::IUnknown); impl IWMDMEnumStorage { pub unsafe fn Next(&self, ppstorage: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2607,25 +2083,9 @@ impl IWMDMEnumStorage { } } ::windows_core::imp::interface_hierarchy!(IWMDMEnumStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMEnumStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMEnumStorage {} -impl ::core::fmt::Debug for IWMDMEnumStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMEnumStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMEnumStorage { type Vtable = IWMDMEnumStorage_Vtbl; } -impl ::core::clone::Clone for IWMDMEnumStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMEnumStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a05_33ed_11d3_8470_00c04f79dbc0); } @@ -2640,6 +2100,7 @@ pub struct IWMDMEnumStorage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMLogger(::windows_core::IUnknown); impl IWMDMLogger { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2690,25 +2151,9 @@ impl IWMDMLogger { } } ::windows_core::imp::interface_hierarchy!(IWMDMLogger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMLogger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMLogger {} -impl ::core::fmt::Debug for IWMDMLogger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMLogger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMLogger { type Vtable = IWMDMLogger_Vtbl; } -impl ::core::clone::Clone for IWMDMLogger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMLogger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x110a3200_5a79_11d3_8d78_444553540000); } @@ -2734,6 +2179,7 @@ pub struct IWMDMLogger_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMMetaData(::windows_core::IUnknown); impl IWMDMMetaData { pub unsafe fn AddItem(&self, r#type: WMDM_TAG_DATATYPE, pwsztagname: P0, pvalue: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> @@ -2757,25 +2203,9 @@ impl IWMDMMetaData { } } ::windows_core::imp::interface_hierarchy!(IWMDMMetaData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMMetaData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMMetaData {} -impl ::core::fmt::Debug for IWMDMMetaData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMMetaData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMMetaData { type Vtable = IWMDMMetaData_Vtbl; } -impl ::core::clone::Clone for IWMDMMetaData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMMetaData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec3b0663_0951_460a_9a80_0dceed3c043c); } @@ -2790,6 +2220,7 @@ pub struct IWMDMMetaData_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMNotification(::windows_core::IUnknown); impl IWMDMNotification { pub unsafe fn WMDMMessage(&self, dwmessagetype: u32, pwszcanonicalname: P0) -> ::windows_core::Result<()> @@ -2800,25 +2231,9 @@ impl IWMDMNotification { } } ::windows_core::imp::interface_hierarchy!(IWMDMNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMNotification {} -impl ::core::fmt::Debug for IWMDMNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMNotification { type Vtable = IWMDMNotification_Vtbl; } -impl ::core::clone::Clone for IWMDMNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f5e95c0_0f43_4ed4_93d2_c89a45d59b81); } @@ -2830,6 +2245,7 @@ pub struct IWMDMNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMObjectInfo(::windows_core::IUnknown); impl IWMDMObjectInfo { pub unsafe fn GetPlayLength(&self) -> ::windows_core::Result { @@ -2860,25 +2276,9 @@ impl IWMDMObjectInfo { } } ::windows_core::imp::interface_hierarchy!(IWMDMObjectInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMObjectInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMObjectInfo {} -impl ::core::fmt::Debug for IWMDMObjectInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMObjectInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMObjectInfo { type Vtable = IWMDMObjectInfo_Vtbl; } -impl ::core::clone::Clone for IWMDMObjectInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMObjectInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a09_33ed_11d3_8470_00c04f79dbc0); } @@ -2896,6 +2296,7 @@ pub struct IWMDMObjectInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMOperation(::windows_core::IUnknown); impl IWMDMOperation { pub unsafe fn BeginRead(&self) -> ::windows_core::Result<()> { @@ -2937,25 +2338,9 @@ impl IWMDMOperation { } } ::windows_core::imp::interface_hierarchy!(IWMDMOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMOperation {} -impl ::core::fmt::Debug for IWMDMOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMOperation { type Vtable = IWMDMOperation_Vtbl; } -impl ::core::clone::Clone for IWMDMOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a0b_33ed_11d3_8470_00c04f79dbc0); } @@ -2982,6 +2367,7 @@ pub struct IWMDMOperation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMOperation2(::windows_core::IUnknown); impl IWMDMOperation2 { pub unsafe fn BeginRead(&self) -> ::windows_core::Result<()> { @@ -3033,25 +2419,9 @@ impl IWMDMOperation2 { } } ::windows_core::imp::interface_hierarchy!(IWMDMOperation2, ::windows_core::IUnknown, IWMDMOperation); -impl ::core::cmp::PartialEq for IWMDMOperation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMOperation2 {} -impl ::core::fmt::Debug for IWMDMOperation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMOperation2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMOperation2 { type Vtable = IWMDMOperation2_Vtbl; } -impl ::core::clone::Clone for IWMDMOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33445b48_7df7_425c_ad8f_0fc6d82f9f75); } @@ -3070,6 +2440,7 @@ pub struct IWMDMOperation2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMOperation3(::windows_core::IUnknown); impl IWMDMOperation3 { pub unsafe fn BeginRead(&self) -> ::windows_core::Result<()> { @@ -3114,25 +2485,9 @@ impl IWMDMOperation3 { } } ::windows_core::imp::interface_hierarchy!(IWMDMOperation3, ::windows_core::IUnknown, IWMDMOperation); -impl ::core::cmp::PartialEq for IWMDMOperation3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMOperation3 {} -impl ::core::fmt::Debug for IWMDMOperation3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMOperation3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMOperation3 { type Vtable = IWMDMOperation3_Vtbl; } -impl ::core::clone::Clone for IWMDMOperation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMOperation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1f9b46a_9ca8_46d8_9d0f_1ec9bae54919); } @@ -3144,6 +2499,7 @@ pub struct IWMDMOperation3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMProgress(::windows_core::IUnknown); impl IWMDMProgress { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> ::windows_core::Result<()> { @@ -3157,25 +2513,9 @@ impl IWMDMProgress { } } ::windows_core::imp::interface_hierarchy!(IWMDMProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMProgress {} -impl ::core::fmt::Debug for IWMDMProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMProgress { type Vtable = IWMDMProgress_Vtbl; } -impl ::core::clone::Clone for IWMDMProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a0c_33ed_11d3_8470_00c04f79dbc0); } @@ -3189,6 +2529,7 @@ pub struct IWMDMProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMProgress2(::windows_core::IUnknown); impl IWMDMProgress2 { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> ::windows_core::Result<()> { @@ -3205,25 +2546,9 @@ impl IWMDMProgress2 { } } ::windows_core::imp::interface_hierarchy!(IWMDMProgress2, ::windows_core::IUnknown, IWMDMProgress); -impl ::core::cmp::PartialEq for IWMDMProgress2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMProgress2 {} -impl ::core::fmt::Debug for IWMDMProgress2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMProgress2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMProgress2 { type Vtable = IWMDMProgress2_Vtbl; } -impl ::core::clone::Clone for IWMDMProgress2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMProgress2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a43f550_b383_4e92_b04a_e6bbc660fefc); } @@ -3235,6 +2560,7 @@ pub struct IWMDMProgress2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMProgress3(::windows_core::IUnknown); impl IWMDMProgress3 { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> ::windows_core::Result<()> { @@ -3260,25 +2586,9 @@ impl IWMDMProgress3 { } } ::windows_core::imp::interface_hierarchy!(IWMDMProgress3, ::windows_core::IUnknown, IWMDMProgress, IWMDMProgress2); -impl ::core::cmp::PartialEq for IWMDMProgress3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMProgress3 {} -impl ::core::fmt::Debug for IWMDMProgress3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMProgress3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMProgress3 { type Vtable = IWMDMProgress3_Vtbl; } -impl ::core::clone::Clone for IWMDMProgress3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMProgress3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21de01cb_3bb4_4929_b21a_17af3f80f658); } @@ -3292,6 +2602,7 @@ pub struct IWMDMProgress3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMRevoked(::windows_core::IUnknown); impl IWMDMRevoked { pub unsafe fn GetRevocationURL(&self, ppwszrevocationurl: *mut ::windows_core::PWSTR, pdwbufferlen: *mut u32, pdwrevokedbitflag: *mut u32) -> ::windows_core::Result<()> { @@ -3299,25 +2610,9 @@ impl IWMDMRevoked { } } ::windows_core::imp::interface_hierarchy!(IWMDMRevoked, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMRevoked { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMRevoked {} -impl ::core::fmt::Debug for IWMDMRevoked { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMRevoked").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMRevoked { type Vtable = IWMDMRevoked_Vtbl; } -impl ::core::clone::Clone for IWMDMRevoked { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMRevoked { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebeccedb_88ee_4e55_b6a4_8d9f07d696aa); } @@ -3329,6 +2624,7 @@ pub struct IWMDMRevoked_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorage(::windows_core::IUnknown); impl IWMDMStorage { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3367,25 +2663,9 @@ impl IWMDMStorage { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorage {} -impl ::core::fmt::Debug for IWMDMStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorage { type Vtable = IWMDMStorage_Vtbl; } -impl ::core::clone::Clone for IWMDMStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a06_33ed_11d3_8470_00c04f79dbc0); } @@ -3411,6 +2691,7 @@ pub struct IWMDMStorage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorage2(::windows_core::IUnknown); impl IWMDMStorage2 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3466,25 +2747,9 @@ impl IWMDMStorage2 { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorage2, ::windows_core::IUnknown, IWMDMStorage); -impl ::core::cmp::PartialEq for IWMDMStorage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorage2 {} -impl ::core::fmt::Debug for IWMDMStorage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorage2 { type Vtable = IWMDMStorage2_Vtbl; } -impl ::core::clone::Clone for IWMDMStorage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ed5a144_5cd5_4683_9eff_72cbdb2d9533); } @@ -3504,6 +2769,7 @@ pub struct IWMDMStorage2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorage3(::windows_core::IUnknown); impl IWMDMStorage3 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3576,25 +2842,9 @@ impl IWMDMStorage3 { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorage3, ::windows_core::IUnknown, IWMDMStorage, IWMDMStorage2); -impl ::core::cmp::PartialEq for IWMDMStorage3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorage3 {} -impl ::core::fmt::Debug for IWMDMStorage3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorage3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorage3 { type Vtable = IWMDMStorage3_Vtbl; } -impl ::core::clone::Clone for IWMDMStorage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97717eea_926a_464e_96a4_247b0216026e); } @@ -3609,6 +2859,7 @@ pub struct IWMDMStorage3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorage4(::windows_core::IUnknown); impl IWMDMStorage4 { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -3708,25 +2959,9 @@ impl IWMDMStorage4 { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorage4, ::windows_core::IUnknown, IWMDMStorage, IWMDMStorage2, IWMDMStorage3); -impl ::core::cmp::PartialEq for IWMDMStorage4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorage4 {} -impl ::core::fmt::Debug for IWMDMStorage4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorage4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorage4 { type Vtable = IWMDMStorage4_Vtbl; } -impl ::core::clone::Clone for IWMDMStorage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc225bac5_a03a_40b8_9a23_91cf478c64a6); } @@ -3743,6 +2978,7 @@ pub struct IWMDMStorage4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorageControl(::windows_core::IUnknown); impl IWMDMStorageControl { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> ::windows_core::Result @@ -3784,25 +3020,9 @@ impl IWMDMStorageControl { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorageControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMStorageControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorageControl {} -impl ::core::fmt::Debug for IWMDMStorageControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorageControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorageControl { type Vtable = IWMDMStorageControl_Vtbl; } -impl ::core::clone::Clone for IWMDMStorageControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorageControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a08_33ed_11d3_8470_00c04f79dbc0); } @@ -3818,6 +3038,7 @@ pub struct IWMDMStorageControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorageControl2(::windows_core::IUnknown); impl IWMDMStorageControl2 { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> ::windows_core::Result @@ -3869,25 +3090,9 @@ impl IWMDMStorageControl2 { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorageControl2, ::windows_core::IUnknown, IWMDMStorageControl); -impl ::core::cmp::PartialEq for IWMDMStorageControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorageControl2 {} -impl ::core::fmt::Debug for IWMDMStorageControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorageControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorageControl2 { type Vtable = IWMDMStorageControl2_Vtbl; } -impl ::core::clone::Clone for IWMDMStorageControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorageControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x972c2e88_bd6c_4125_8e09_84f837e637b6); } @@ -3899,6 +3104,7 @@ pub struct IWMDMStorageControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorageControl3(::windows_core::IUnknown); impl IWMDMStorageControl3 { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> ::windows_core::Result @@ -3961,25 +3167,9 @@ impl IWMDMStorageControl3 { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorageControl3, ::windows_core::IUnknown, IWMDMStorageControl, IWMDMStorageControl2); -impl ::core::cmp::PartialEq for IWMDMStorageControl3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorageControl3 {} -impl ::core::fmt::Debug for IWMDMStorageControl3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorageControl3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorageControl3 { type Vtable = IWMDMStorageControl3_Vtbl; } -impl ::core::clone::Clone for IWMDMStorageControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorageControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3266365_d4f3_4696_8d53_bd27ec60993a); } @@ -3991,6 +3181,7 @@ pub struct IWMDMStorageControl3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDMStorageGlobals(::windows_core::IUnknown); impl IWMDMStorageGlobals { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -4021,25 +3212,9 @@ impl IWMDMStorageGlobals { } } ::windows_core::imp::interface_hierarchy!(IWMDMStorageGlobals, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDMStorageGlobals { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDMStorageGlobals {} -impl ::core::fmt::Debug for IWMDMStorageGlobals { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDMStorageGlobals").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDMStorageGlobals { type Vtable = IWMDMStorageGlobals_Vtbl; } -impl ::core::clone::Clone for IWMDMStorageGlobals { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDMStorageGlobals { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a07_33ed_11d3_8470_00c04f79dbc0); } @@ -4057,6 +3232,7 @@ pub struct IWMDMStorageGlobals_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDeviceManager(::windows_core::IUnknown); impl IWMDeviceManager { pub unsafe fn GetRevision(&self) -> ::windows_core::Result { @@ -4073,25 +3249,9 @@ impl IWMDeviceManager { } } ::windows_core::imp::interface_hierarchy!(IWMDeviceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDeviceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDeviceManager {} -impl ::core::fmt::Debug for IWMDeviceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDeviceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDeviceManager { type Vtable = IWMDeviceManager_Vtbl; } -impl ::core::clone::Clone for IWMDeviceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDeviceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcb3a00_33ed_11d3_8470_00c04f79dbc0); } @@ -4105,6 +3265,7 @@ pub struct IWMDeviceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDeviceManager2(::windows_core::IUnknown); impl IWMDeviceManager2 { pub unsafe fn GetRevision(&self) -> ::windows_core::Result { @@ -4135,25 +3296,9 @@ impl IWMDeviceManager2 { } } ::windows_core::imp::interface_hierarchy!(IWMDeviceManager2, ::windows_core::IUnknown, IWMDeviceManager); -impl ::core::cmp::PartialEq for IWMDeviceManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDeviceManager2 {} -impl ::core::fmt::Debug for IWMDeviceManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDeviceManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDeviceManager2 { type Vtable = IWMDeviceManager2_Vtbl; } -impl ::core::clone::Clone for IWMDeviceManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDeviceManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x923e5249_8731_4c5b_9b1c_b8b60b6e46af); } @@ -4167,6 +3312,7 @@ pub struct IWMDeviceManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDeviceManager3(::windows_core::IUnknown); impl IWMDeviceManager3 { pub unsafe fn GetRevision(&self) -> ::windows_core::Result { @@ -4200,25 +3346,9 @@ impl IWMDeviceManager3 { } } ::windows_core::imp::interface_hierarchy!(IWMDeviceManager3, ::windows_core::IUnknown, IWMDeviceManager, IWMDeviceManager2); -impl ::core::cmp::PartialEq for IWMDeviceManager3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDeviceManager3 {} -impl ::core::fmt::Debug for IWMDeviceManager3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDeviceManager3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDeviceManager3 { type Vtable = IWMDeviceManager3_Vtbl; } -impl ::core::clone::Clone for IWMDeviceManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDeviceManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf185c41_100d_46ed_be2e_9ce8c44594ef); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs index 5bfc1d758d..b0881d1fe8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs @@ -31,8 +31,8 @@ impl IATSCChannelTuneRequest_Vtbl { SetMinorChannel: SetMinorChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl IATSCComponentType_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -125,8 +125,8 @@ impl IATSCLocator_Vtbl { SetTSID: SetTSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -162,8 +162,8 @@ impl IATSCLocator2_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IATSCTuningSpace_Vtbl { SetMaxPhysicalChannel: SetMaxPhysicalChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IATSC_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IATSC_ETT_Vtbl { GetExtendedMessageText: GetExtendedMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -650,8 +650,8 @@ impl IATSC_MGT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -756,8 +756,8 @@ impl IATSC_STT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IATSC_VCT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1124,8 +1124,8 @@ impl IAnalogAudioComponentType_Vtbl { SetAnalogAudioMode: SetAnalogAudioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1161,8 +1161,8 @@ impl IAnalogLocator_Vtbl { SetVideoStandard: SetVideoStandard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IAnalogRadioTuningSpace_Vtbl { SetStep: SetStep::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1275,8 +1275,8 @@ impl IAnalogRadioTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1372,8 +1372,8 @@ impl IAnalogTVTuningSpace_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1484,8 +1484,8 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { GetRecordRatingDescriptionText: GetRecordRatingDescriptionText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1638,8 +1638,8 @@ impl IAtscPsipParser_Vtbl { GetEAS: GetEAS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1679,8 +1679,8 @@ impl IAttributeGet_Vtbl { GetAttrib: GetAttrib::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1697,8 +1697,8 @@ impl IAttributeSet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAttrib: SetAttrib:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1711,8 +1711,8 @@ impl IAuxInTuningSpace_Vtbl { pub const fn new, Impl: IAuxInTuningSpace_Impl, const OFFSET: isize>() -> IAuxInTuningSpace_Vtbl { Self { base__: ITuningSpace_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IAuxInTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1843,8 +1843,8 @@ impl IBDAComparable_Vtbl { HashEquivalentIncremental: HashEquivalentIncremental::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1870,8 +1870,8 @@ impl IBDACreateTuneRequestEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTuneRequestEx: CreateTuneRequestEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1898,8 +1898,8 @@ impl IBDA_TIF_REGISTRATION_Vtbl { UnregisterTIF: UnregisterTIF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl ICAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -2088,8 +2088,8 @@ impl ICaptionServiceDescriptor_Vtbl { GetWideAspectRatio: GetWideAspectRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2125,8 +2125,8 @@ impl IChannelIDTuneRequest_Vtbl { SetChannelID: SetChannelID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IChannelTuneRequest_Vtbl { SetChannel: SetChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2272,8 +2272,8 @@ impl IComponent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2462,8 +2462,8 @@ impl IComponentType_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2571,8 +2571,8 @@ impl IComponentTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2680,8 +2680,8 @@ impl IComponents_Vtbl { put_Item: put_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2782,8 +2782,8 @@ impl IComponentsOld_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -2803,8 +2803,8 @@ impl ICreatePropBagOnRegKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2900,8 +2900,8 @@ impl IDTFilter_Vtbl { SetBlockUnRatedDelay: SetBlockUnRatedDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2950,8 +2950,8 @@ impl IDTFilter2_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl IDTFilter3_Vtbl { SetRights: SetRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -3024,8 +3024,8 @@ impl IDTFilterConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureChannelObject: GetSecureChannelObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3038,8 +3038,8 @@ impl IDTFilterEvents_Vtbl { pub const fn new, Impl: IDTFilterEvents_Impl, const OFFSET: isize>() -> IDTFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -3056,8 +3056,8 @@ impl IDTFilterLicenseRenewal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLicenseRenewalData: GetLicenseRenewalData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl IDVBCLocator_Vtbl { pub const fn new, Impl: IDVBCLocator_Impl, const OFFSET: isize>() -> IDVBCLocator_Vtbl { Self { base__: IDigitalLocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3187,8 +3187,8 @@ impl IDVBSLocator_Vtbl { SetElevation: SetElevation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3344,8 +3344,8 @@ impl IDVBSLocator2_Vtbl { SetSignalPilot: SetSignalPilot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3461,8 +3461,8 @@ impl IDVBSTuningSpace_Vtbl { SetSpectralInversion: SetSpectralInversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IDVBTLocator_Vtbl { SetOtherFrequencyInUse: SetOtherFrequencyInUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3655,8 +3655,8 @@ impl IDVBTLocator2_Vtbl { SetPhysicalLayerPipeId: SetPhysicalLayerPipeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IDVBTuneRequest_Vtbl { SetSID: SetSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3769,8 +3769,8 @@ impl IDVBTuningSpace_Vtbl { SetSystemType: SetSystemType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3806,8 +3806,8 @@ impl IDVBTuningSpace2_Vtbl { SetNetworkID: SetNetworkID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3989,8 +3989,8 @@ impl IDVB_BAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4026,8 +4026,8 @@ impl IDVB_DIT_Vtbl { GetTransitionFlag: GetTransitionFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4286,8 +4286,8 @@ impl IDVB_EIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4323,8 +4323,8 @@ impl IDVB_EIT2_Vtbl { GetRecordSection: GetRecordSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IDVB_NIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -4624,8 +4624,8 @@ impl IDVB_RST_Vtbl { GetRecordRunningStatus: GetRecordRunningStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4845,8 +4845,8 @@ impl IDVB_SDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5021,8 +5021,8 @@ impl IDVB_SIT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5068,8 +5068,8 @@ impl IDVB_ST_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5102,8 +5102,8 @@ impl IDVB_TDT_Vtbl { GetUTCTime: GetUTCTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5169,8 +5169,8 @@ impl IDVB_TOT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5183,8 +5183,8 @@ impl IDigitalCableLocator_Vtbl { pub const fn new, Impl: IDigitalCableLocator_Impl, const OFFSET: isize>() -> IDigitalCableLocator_Vtbl { Self { base__: IATSCLocator2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5240,8 +5240,8 @@ impl IDigitalCableTuneRequest_Vtbl { SetSourceID: SetSourceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5337,8 +5337,8 @@ impl IDigitalCableTuningSpace_Vtbl { SetMaxSourceID: SetMaxSourceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5351,8 +5351,8 @@ impl IDigitalLocator_Vtbl { pub const fn new, Impl: IDigitalLocator_Impl, const OFFSET: isize>() -> IDigitalLocator_Vtbl { Self { base__: ILocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5456,8 +5456,8 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5555,8 +5555,8 @@ impl IDvbComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5622,8 +5622,8 @@ impl IDvbContentDescriptor_Vtbl { GetRecordUserNibbles: GetRecordUserNibbles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5682,8 +5682,8 @@ impl IDvbContentIdentifierDescriptor_Vtbl { GetRecordCrid: GetRecordCrid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5801,8 +5801,8 @@ impl IDvbDataBroadcastDescriptor_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5861,8 +5861,8 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { GetIDSelectorBytes: GetIDSelectorBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5908,8 +5908,8 @@ impl IDvbDefaultAuthorityDescriptor_Vtbl { GetDefaultAuthority: GetDefaultAuthority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6041,8 +6041,8 @@ impl IDvbExtendedEventDescriptor_Vtbl { GetRecordItemRawBytes: GetRecordItemRawBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6120,8 +6120,8 @@ impl IDvbFrequencyListDescriptor_Vtbl { GetRecordCentreFrequency: GetRecordCentreFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6131,8 +6131,8 @@ impl IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub const fn new, Impl: IDvbHDSimulcastLogicalChannelDescriptor_Impl, const OFFSET: isize>() -> IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { Self { base__: IDvbLogicalChannelDescriptor2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6243,8 +6243,8 @@ impl IDvbLinkageDescriptor_Vtbl { GetPrivateData: GetPrivateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6355,8 +6355,8 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { GetListRecordLogicalChannelAndVisibility: GetListRecordLogicalChannelAndVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6434,8 +6434,8 @@ impl IDvbLogicalChannelDescriptor_Vtbl { GetRecordLogicalChannelNumber: GetRecordLogicalChannelNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6461,8 +6461,8 @@ impl IDvbLogicalChannelDescriptor2_Vtbl { GetRecordLogicalChannelAndVisibility: GetRecordLogicalChannelAndVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6553,8 +6553,8 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { GetRecordServiceNameW: GetRecordServiceNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6619,8 +6619,8 @@ impl IDvbNetworkNameDescriptor_Vtbl { GetNetworkNameW: GetNetworkNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6679,8 +6679,8 @@ impl IDvbParentalRatingDescriptor_Vtbl { GetRecordRating: GetRecordRating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6732,8 +6732,8 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { GetPrivateDataSpecifier: GetPrivateDataSpecifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6863,8 +6863,8 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6958,8 +6958,8 @@ impl IDvbServiceAttributeDescriptor_Vtbl { GetRecordVisibleServiceFlag: GetRecordVisibleServiceFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7076,8 +7076,8 @@ impl IDvbServiceDescriptor_Vtbl { GetServiceNameEmphasized: GetServiceNameEmphasized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7116,8 +7116,8 @@ impl IDvbServiceDescriptor2_Vtbl { GetServiceNameW: GetServiceNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7195,8 +7195,8 @@ impl IDvbServiceListDescriptor_Vtbl { GetRecordServiceType: GetRecordServiceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7268,8 +7268,8 @@ impl IDvbShortEventDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7471,8 +7471,8 @@ impl IDvbSiParser_Vtbl { GetSIT: GetSIT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7495,8 +7495,8 @@ impl IDvbSiParser2_Vtbl { } Self { base__: IDvbSiParser_Vtbl::new::(), GetEIT2: GetEIT2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7600,8 +7600,8 @@ impl IDvbSubtitlingDescriptor_Vtbl { GetRecordAncillaryPageID: GetRecordAncillaryPageID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7705,8 +7705,8 @@ impl IDvbTeletextDescriptor_Vtbl { GetRecordPageNumber: GetRecordPageNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7888,8 +7888,8 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { GetTFSFlag: GetTFSFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8045,8 +8045,8 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { GetOtherFrequencyFlag: GetOtherFrequencyFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8072,8 +8072,8 @@ impl IESCloseMmiEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetDialogNumber: GetDialogNumber:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl IESEventFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateESEvent: CreateESEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8114,8 +8114,8 @@ impl IESEventService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireESEvent: FireESEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8170,8 +8170,8 @@ impl IESEventServiceConfiguration_Vtbl { RemoveGraph: RemoveGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8265,8 +8265,8 @@ impl IESFileExpiryDateEvent_Vtbl { DoesExpireAfterFirstUse: DoesExpireAfterFirstUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8334,8 +8334,8 @@ impl IESIsdbCasResponseEvent_Vtbl { GetResponseData: GetResponseData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8494,8 +8494,8 @@ impl IESLicenseRenewalResultEvent_Vtbl { GetExpiryDate: GetExpiryDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8551,8 +8551,8 @@ impl IESOpenMmiEvent_Vtbl { GetDialogStringData: GetDialogStringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8620,8 +8620,8 @@ impl IESRequestTunerEvent_Vtbl { GetEstimatedTime: GetEstimatedTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8647,8 +8647,8 @@ impl IESValueUpdatedEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetValueNames: GetValueNames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8711,8 +8711,8 @@ impl IETFilter_Vtbl { SetRecordingOn: SetRecordingOn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8745,8 +8745,8 @@ impl IETFilterConfig_Vtbl { GetSecureChannelObject: GetSecureChannelObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8759,8 +8759,8 @@ impl IETFilterEvents_Vtbl { pub const fn new, Impl: IETFilterEvents_Impl, const OFFSET: isize>() -> IETFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8810,8 +8810,8 @@ impl IEnumComponentTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8861,8 +8861,8 @@ impl IEnumComponents_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8909,8 +8909,8 @@ impl IEnumGuideDataProperties_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8960,8 +8960,8 @@ impl IEnumMSVidGraphSegment_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9008,8 +9008,8 @@ impl IEnumStreamBufferRecordingAttrib_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9059,8 +9059,8 @@ impl IEnumTuneRequests_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9110,8 +9110,8 @@ impl IEnumTuningSpaces_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9181,8 +9181,8 @@ impl IEvalRat_Vtbl { TestRating: TestRating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9241,8 +9241,8 @@ impl IGenericDescriptor_Vtbl { GetBody: GetBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9275,8 +9275,8 @@ impl IGenericDescriptor2_Vtbl { GetLength2: GetLength2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9299,8 +9299,8 @@ impl IGpnvsCommonBase_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValueUpdateName: GetValueUpdateName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9394,8 +9394,8 @@ impl IGuideData_Vtbl { GetScheduleEntryProperties: GetScheduleEntryProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9460,8 +9460,8 @@ impl IGuideDataEvent_Vtbl { ScheduleDeleted: ScheduleDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9488,8 +9488,8 @@ impl IGuideDataLoader_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9544,8 +9544,8 @@ impl IGuideDataProperty_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9558,8 +9558,8 @@ impl IISDBSLocator_Vtbl { pub const fn new, Impl: IISDBSLocator_Impl, const OFFSET: isize>() -> IISDBSLocator_Vtbl { Self { base__: IDVBSLocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9723,8 +9723,8 @@ impl IISDB_BIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9881,8 +9881,8 @@ impl IISDB_CDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9962,8 +9962,8 @@ impl IISDB_EMM_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10107,8 +10107,8 @@ impl IISDB_LDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10304,8 +10304,8 @@ impl IISDB_NBIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10331,8 +10331,8 @@ impl IISDB_SDT_Vtbl { } Self { base__: IDVB_SDT_Vtbl::new::(), GetRecordEITUserDefinedFlags: GetRecordEITUserDefinedFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10593,8 +10593,8 @@ impl IISDB_SDTT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10780,8 +10780,8 @@ impl IIsdbAudioComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10911,8 +10911,8 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { GetFeeNameW: GetFeeNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10997,8 +10997,8 @@ impl IIsdbCADescriptor_Vtbl { GetPrivateDataBytes: GetPrivateDataBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11083,8 +11083,8 @@ impl IIsdbCAServiceDescriptor_Vtbl { GetServiceIds: GetServiceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11240,8 +11240,8 @@ impl IIsdbComponentGroupDescriptor_Vtbl { GetRecordTextW: GetRecordTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11378,8 +11378,8 @@ impl IIsdbDataContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11445,8 +11445,8 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { GetRecordCopyControl: GetRecordCopyControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11671,8 +11671,8 @@ impl IIsdbDownloadContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11770,8 +11770,8 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { GetAreaCode: GetAreaCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11863,8 +11863,8 @@ impl IIsdbEventGroupDescriptor_Vtbl { GetRefRecordEvent: GetRefRecordEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11955,8 +11955,8 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { GetReferencePid: GetReferencePid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12060,8 +12060,8 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { GetLogoCharW: GetLogoCharW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12172,8 +12172,8 @@ impl IIsdbSIParameterDescriptor_Vtbl { GetTableDescriptionBytes: GetTableDescriptionBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12300,8 +12300,8 @@ impl IIsdbSeriesDescriptor_Vtbl { GetSeriesNameW: GetSeriesNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12405,8 +12405,8 @@ impl IIsdbSiParser2_Vtbl { GetEMM: GetEMM::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12523,8 +12523,8 @@ impl IIsdbTSInformationDescriptor_Vtbl { GetRecordServiceIdByIndex: GetRecordServiceIdByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12628,8 +12628,8 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { GetRecordFrequency: GetRecordFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12665,8 +12665,8 @@ impl ILanguageComponentType_Vtbl { SetLangID: SetLangID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12835,8 +12835,8 @@ impl ILocator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12912,8 +12912,8 @@ impl IMPEG2Component_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12949,8 +12949,8 @@ impl IMPEG2ComponentType_Vtbl { SetStreamType: SetStreamType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13006,8 +13006,8 @@ impl IMPEG2TuneRequest_Vtbl { SetProgNo: SetProgNo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13036,8 +13036,8 @@ impl IMPEG2TuneRequestFactory_Vtbl { CreateTuneRequest: CreateTuneRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -13047,8 +13047,8 @@ impl IMPEG2TuneRequestSupport_Vtbl { pub const fn new, Impl: IMPEG2TuneRequestSupport_Impl, const OFFSET: isize>() -> IMPEG2TuneRequestSupport_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -13109,8 +13109,8 @@ impl IMPEG2_TIF_CONTROL_Vtbl { GetPIDs: GetPIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13146,8 +13146,8 @@ impl IMSEventBinder_Vtbl { Unbind: Unbind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13256,8 +13256,8 @@ impl IMSVidAnalogTuner_Vtbl { ChannelAvailable: ChannelAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13312,8 +13312,8 @@ impl IMSVidAnalogTuner2_Vtbl { NumAuxInputs: NumAuxInputs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13326,8 +13326,8 @@ impl IMSVidAnalogTunerEvent_Vtbl { pub const fn new, Impl: IMSVidAnalogTunerEvent_Impl, const OFFSET: isize>() -> IMSVidAnalogTunerEvent_Vtbl { Self { base__: IMSVidTunerEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13383,8 +13383,8 @@ impl IMSVidAudioRenderer_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13453,8 +13453,8 @@ impl IMSVidAudioRendererDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13467,8 +13467,8 @@ impl IMSVidAudioRendererEvent_Vtbl { pub const fn new, Impl: IMSVidAudioRendererEvent_Impl, const OFFSET: isize>() -> IMSVidAudioRendererEvent_Vtbl { Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13540,8 +13540,8 @@ impl IMSVidAudioRendererEvent2_Vtbl { AVDecCommonOutputFormat: AVDecCommonOutputFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13577,8 +13577,8 @@ impl IMSVidClosedCaptioning_Vtbl { SetEnable: SetEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13614,8 +13614,8 @@ impl IMSVidClosedCaptioning2_Vtbl { SetService: SetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13641,8 +13641,8 @@ impl IMSVidClosedCaptioning3_Vtbl { } Self { base__: IMSVidClosedCaptioning2_Vtbl::new::(), TeleTextFilter: TeleTextFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -13691,8 +13691,8 @@ impl IMSVidCompositionSegment_Vtbl { Down: Down::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14135,8 +14135,8 @@ impl IMSVidCtl_Vtbl { ViewNext: ViewNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14149,8 +14149,8 @@ impl IMSVidDataServices_Vtbl { pub const fn new, Impl: IMSVidDataServices_Impl, const OFFSET: isize>() -> IMSVidDataServices_Vtbl { Self { base__: IMSVidFeature_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14163,8 +14163,8 @@ impl IMSVidDataServicesEvent_Vtbl { pub const fn new, Impl: IMSVidDataServicesEvent_Impl, const OFFSET: isize>() -> IMSVidDataServicesEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14291,8 +14291,8 @@ impl IMSVidDevice_Vtbl { IsEqualDevice: IsEqualDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -14315,8 +14315,8 @@ impl IMSVidDevice2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DevicePath: DevicePath:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14336,8 +14336,8 @@ impl IMSVidDeviceEvent_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), StateChange: StateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14393,8 +14393,8 @@ impl IMSVidEVR_Vtbl { SuppressEffects: SuppressEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14414,8 +14414,8 @@ impl IMSVidEVREvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14457,8 +14457,8 @@ impl IMSVidEncoder_Vtbl { AudioEncoderInterface: AudioEncoderInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14471,8 +14471,8 @@ impl IMSVidFeature_Vtbl { pub const fn new, Impl: IMSVidFeature_Impl, const OFFSET: isize>() -> IMSVidFeature_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14485,8 +14485,8 @@ impl IMSVidFeatureEvent_Vtbl { pub const fn new, Impl: IMSVidFeatureEvent_Impl, const OFFSET: isize>() -> IMSVidFeatureEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14555,8 +14555,8 @@ impl IMSVidFeatures_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14592,8 +14592,8 @@ impl IMSVidFilePlayback_Vtbl { SetFileName: SetFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14623,8 +14623,8 @@ impl IMSVidFilePlayback2_Vtbl { Set__SourceFilter: Set__SourceFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14637,8 +14637,8 @@ impl IMSVidFilePlaybackEvent_Vtbl { pub const fn new, Impl: IMSVidFilePlaybackEvent_Impl, const OFFSET: isize>() -> IMSVidFilePlaybackEvent_Vtbl { Self { base__: IMSVidPlaybackEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14681,8 +14681,8 @@ impl IMSVidGenericSink_Vtbl { SetSinkStreams: SetSinkStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14712,8 +14712,8 @@ impl IMSVidGenericSink2_Vtbl { ResetFilterList: ResetFilterList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -14864,8 +14864,8 @@ impl IMSVidGraphSegment_Vtbl { Decompose: Decompose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15006,8 +15006,8 @@ impl IMSVidGraphSegmentContainer_Vtbl { GetFocus: GetFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -15076,8 +15076,8 @@ impl IMSVidGraphSegmentUserInput_Vtbl { MouseUp: MouseUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15113,8 +15113,8 @@ impl IMSVidInputDevice_Vtbl { View: View::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15127,8 +15127,8 @@ impl IMSVidInputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidInputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidInputDeviceEvent_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15197,8 +15197,8 @@ impl IMSVidInputDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15211,8 +15211,8 @@ impl IMSVidOutputDevice_Vtbl { pub const fn new, Impl: IMSVidOutputDevice_Impl, const OFFSET: isize>() -> IMSVidOutputDevice_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15225,8 +15225,8 @@ impl IMSVidOutputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidOutputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidOutputDeviceEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15295,8 +15295,8 @@ impl IMSVidOutputDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15446,8 +15446,8 @@ impl IMSVidPlayback_Vtbl { Length: Length::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15467,8 +15467,8 @@ impl IMSVidPlaybackEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), EndOfMedia: EndOfMedia:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15591,8 +15591,8 @@ impl IMSVidRect_Vtbl { SetRect: SetRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15700,8 +15700,8 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { RecordingAttribute: RecordingAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15783,8 +15783,8 @@ impl IMSVidStreamBufferSink_Vtbl { SBESink: SBESink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15804,8 +15804,8 @@ impl IMSVidStreamBufferSink2_Vtbl { } Self { base__: IMSVidStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16019,8 +16019,8 @@ impl IMSVidStreamBufferSink3_Vtbl { LicenseErrorCode: LicenseErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16057,8 +16057,8 @@ impl IMSVidStreamBufferSinkEvent_Vtbl { WriteFailure: WriteFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16088,8 +16088,8 @@ impl IMSVidStreamBufferSinkEvent2_Vtbl { EncryptionOff: EncryptionOff::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16109,8 +16109,8 @@ impl IMSVidStreamBufferSinkEvent3_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent2_Vtbl::new::(), LicenseChange: LicenseChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16130,8 +16130,8 @@ impl IMSVidStreamBufferSinkEvent4_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent3_Vtbl::new::(), WriteFailureClear: WriteFailureClear:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16214,8 +16214,8 @@ impl IMSVidStreamBufferSource_Vtbl { SBESource: SBESource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16290,8 +16290,8 @@ impl IMSVidStreamBufferSource2_Vtbl { WSTCounter: WSTCounter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16370,8 +16370,8 @@ impl IMSVidStreamBufferSourceEvent_Vtbl { StaleFileDeleted: StaleFileDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16391,8 +16391,8 @@ impl IMSVidStreamBufferSourceEvent2_Vtbl { } Self { base__: IMSVidStreamBufferSourceEvent_Vtbl::new::(), RateChange: RateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16443,8 +16443,8 @@ impl IMSVidStreamBufferSourceEvent3_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16523,8 +16523,8 @@ impl IMSVidStreamBufferV2SourceEvent_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16580,8 +16580,8 @@ impl IMSVidTuner_Vtbl { SetTuningSpace: SetTuningSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16601,8 +16601,8 @@ impl IMSVidTunerEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), TuneChanged: TuneChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16671,8 +16671,8 @@ impl IMSVidVMR9_Vtbl { Allocator: Allocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -16883,8 +16883,8 @@ impl IMSVidVRGraphSegment_Vtbl { RePaint: RePaint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16897,8 +16897,8 @@ impl IMSVidVideoInputDevice_Vtbl { pub const fn new, Impl: IMSVidVideoInputDevice_Impl, const OFFSET: isize>() -> IMSVidVideoInputDevice_Vtbl { Self { base__: IMSVidInputDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17226,8 +17226,8 @@ impl IMSVidVideoRenderer_Vtbl { SetDecimateInput: SetDecimateInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17316,8 +17316,8 @@ impl IMSVidVideoRenderer2_Vtbl { SuppressEffects: SuppressEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17386,8 +17386,8 @@ impl IMSVidVideoRendererDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17407,8 +17407,8 @@ impl IMSVidVideoRendererEvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17428,8 +17428,8 @@ impl IMSVidVideoRendererEvent2_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18416,8 +18416,8 @@ impl IMSVidWebDVD_Vtbl { SetDVDScreenInMouseCoordinates: SetDVDScreenInMouseCoordinates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18447,8 +18447,8 @@ impl IMSVidWebDVD2_Vtbl { put_Bookmark: put_Bookmark::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18604,8 +18604,8 @@ impl IMSVidWebDVDAdm_Vtbl { SetBookmarkOnStop: SetBookmarkOnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18782,8 +18782,8 @@ impl IMSVidWebDVDEvent_Vtbl { ChangeVideoPresMode: ChangeVideoPresMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18809,8 +18809,8 @@ impl IMSVidXDS_Vtbl { } Self { base__: IMSVidFeature_Vtbl::new::(), ChannelChangeInterface: ChannelChangeInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18830,8 +18830,8 @@ impl IMSVidXDSEvent_Vtbl { } Self { base__: IMSVidFeatureEvent_Vtbl::new::(), RatingChange: RatingChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -18848,8 +18848,8 @@ impl IMceBurnerControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBurnerNoDecryption: GetBurnerNoDecryption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18904,8 +18904,8 @@ impl IMpeg2Data_Vtbl { GetStreamOfSections: GetStreamOfSections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18935,8 +18935,8 @@ impl IMpeg2Stream_Vtbl { SupplyDataBuffer: SupplyDataBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -18991,8 +18991,8 @@ impl IMpeg2TableFilter_Vtbl { RemoveExtension: RemoveExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19127,8 +19127,8 @@ impl IPAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19174,8 +19174,8 @@ impl IPBDAAttributesDescriptor_Vtbl { GetAttributePayload: GetAttributePayload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19221,8 +19221,8 @@ impl IPBDAEntitlementDescriptor_Vtbl { GetToken: GetToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19268,8 +19268,8 @@ impl IPBDASiParser_Vtbl { GetServices: GetServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19413,8 +19413,8 @@ impl IPBDA_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19460,8 +19460,8 @@ impl IPBDA_Services_Vtbl { GetRecordByIndex: GetRecordByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19676,8 +19676,8 @@ impl IPMT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19700,8 +19700,8 @@ impl IPSITables_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTable: GetTable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19731,8 +19731,8 @@ impl IPTFilterLicenseRenewal_Vtbl { CancelLicenseRenewal: CancelLicenseRenewal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19775,8 +19775,8 @@ impl IPersistTuneXml_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19802,8 +19802,8 @@ impl IPersistTuneXmlUtility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Deserialize: Deserialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19829,8 +19829,8 @@ impl IPersistTuneXmlUtility2_Vtbl { } Self { base__: IPersistTuneXmlUtility_Vtbl::new::(), Serialize: Serialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19857,8 +19857,8 @@ impl IRegisterTuner_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19911,8 +19911,8 @@ impl ISBE2Crossbar_Vtbl { EnumStreams: EnumStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19959,8 +19959,8 @@ impl ISBE2EnumStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19977,8 +19977,8 @@ impl ISBE2FileScan_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RepairFile: RepairFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19998,8 +19998,8 @@ impl ISBE2GlobalEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20019,8 +20019,8 @@ impl ISBE2GlobalEvent2_Vtbl { } Self { base__: ISBE2GlobalEvent_Vtbl::new::(), GetEventEx: GetEventEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -20076,8 +20076,8 @@ impl ISBE2MediaTypeProfile_Vtbl { DeleteStream: DeleteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20094,8 +20094,8 @@ impl ISBE2SpanningEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20135,8 +20135,8 @@ impl ISBE2StreamMap_Vtbl { EnumMappedStreams: EnumMappedStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20502,8 +20502,8 @@ impl ISCTE_EAS_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20546,8 +20546,8 @@ impl ISIInbandEPG_Vtbl { IsSIEPGScanRunning: IsSIEPGScanRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20564,8 +20564,8 @@ impl ISIInbandEPGEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SIObjectEvent: SIObjectEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20616,8 +20616,8 @@ impl IScanningTuner_Vtbl { AutoProgram: AutoProgram::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20695,8 +20695,8 @@ impl IScanningTunerEx_Vtbl { SetScanSignalTypeFilter: SetScanSignalTypeFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20767,8 +20767,8 @@ impl ISectionList_Vtbl { GetTableIdentifier: GetTableIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20840,8 +20840,8 @@ impl IServiceLocationDescriptor_Vtbl { GetElementLanguageCode: GetElementLanguageCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20908,8 +20908,8 @@ impl IStreamBufferConfigure_Vtbl { GetBackingFileDuration: GetBackingFileDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20956,8 +20956,8 @@ impl IStreamBufferConfigure2_Vtbl { GetFFTransitionRates: GetFFTransitionRates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21013,8 +21013,8 @@ impl IStreamBufferConfigure3_Vtbl { GetNamespace: GetNamespace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21041,8 +21041,8 @@ impl IStreamBufferDataCounters_Vtbl { ResetData: ResetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -21072,8 +21072,8 @@ impl IStreamBufferInitialize_Vtbl { SetSIDs: SetSIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21083,8 +21083,8 @@ impl IStreamBufferMediaSeeking_Vtbl { pub const fn new, Impl: IStreamBufferMediaSeeking_Impl, const OFFSET: isize>() -> IStreamBufferMediaSeeking_Vtbl { Self { base__: super::IMediaSeeking_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21101,8 +21101,8 @@ impl IStreamBufferMediaSeeking2_Vtbl { } Self { base__: IStreamBufferMediaSeeking_Vtbl::new::(), SetRateEx: SetRateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21163,8 +21163,8 @@ impl IStreamBufferRecComp_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21201,8 +21201,8 @@ impl IStreamBufferRecordControl_Vtbl { GetRecordingStatus: GetRecordingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21262,8 +21262,8 @@ impl IStreamBufferRecordingAttribute_Vtbl { EnumAttributes: EnumAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21303,8 +21303,8 @@ impl IStreamBufferSink_Vtbl { IsProfileLocked: IsProfileLocked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21321,8 +21321,8 @@ impl IStreamBufferSink2_Vtbl { } Self { base__: IStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21339,8 +21339,8 @@ impl IStreamBufferSink3_Vtbl { } Self { base__: IStreamBufferSink2_Vtbl::new::(), SetAvailableFilter: SetAvailableFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21357,8 +21357,8 @@ impl IStreamBufferSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStreamSink: SetStreamSink:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21461,8 +21461,8 @@ impl ITSDT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -21537,8 +21537,8 @@ impl ITuneRequest_Vtbl { SetLocator: SetLocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21627,8 +21627,8 @@ impl ITuneRequestInfo_Vtbl { GetPreviousLocator: GetPreviousLocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21654,8 +21654,8 @@ impl ITuneRequestInfoEx_Vtbl { } Self { base__: ITuneRequestInfo_Vtbl::new::(), CreateComponentListEx: CreateComponentListEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21771,8 +21771,8 @@ impl ITuner_Vtbl { TriggerSignalEvents: TriggerSignalEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21806,8 +21806,8 @@ impl ITunerCap_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21833,8 +21833,8 @@ impl ITunerCapEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Has608_708Caption: Has608_708Caption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22055,8 +22055,8 @@ impl ITuningSpace_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22223,8 +22223,8 @@ impl ITuningSpaceContainer_Vtbl { SetMaxCount: SetMaxCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22292,8 +22292,8 @@ impl ITuningSpaces_Vtbl { EnumTuningSpaces: EnumTuningSpaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -22373,8 +22373,8 @@ impl IXDSCodec_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -22407,8 +22407,8 @@ impl IXDSCodecConfig_Vtbl { SetPauseBufferTime: SetPauseBufferTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22421,8 +22421,8 @@ impl IXDSCodecEvents_Vtbl { pub const fn new, Impl: IXDSCodecEvents_Impl, const OFFSET: isize>() -> IXDSCodecEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22452,8 +22452,8 @@ impl IXDSToRat_Vtbl { ParseXDSBytePair: ParseXDSBytePair::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22466,7 +22466,7 @@ impl _IMSVidCtlEvents_Vtbl { pub const fn new, Impl: _IMSVidCtlEvents_Impl, const OFFSET: isize>() -> _IMSVidCtlEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs index 1d2710078c..6163fb5b9d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSCChannelTuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCChannelTuneRequest { @@ -54,30 +55,10 @@ impl IATSCChannelTuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IATSCChannelTuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IATSCChannelTuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IATSCChannelTuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IATSCChannelTuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSCChannelTuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IATSCChannelTuneRequest { type Vtable = IATSCChannelTuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IATSCChannelTuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IATSCChannelTuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0369b4e1_45b6_11d3_b650_00c04f79498e); } @@ -92,6 +73,7 @@ pub struct IATSCChannelTuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSCComponentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCComponentType { @@ -195,30 +177,10 @@ impl IATSCComponentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IATSCComponentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType, IMPEG2ComponentType); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IATSCComponentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IATSCComponentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IATSCComponentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSCComponentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IATSCComponentType { type Vtable = IATSCComponentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IATSCComponentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IATSCComponentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc189e4d_7bd4_4125_b3b3_3a76a332cc96); } @@ -233,6 +195,7 @@ pub struct IATSCComponentType_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSCLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCLocator { @@ -309,30 +272,10 @@ impl IATSCLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IATSCLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IATSCLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IATSCLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IATSCLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSCLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IATSCLocator { type Vtable = IATSCLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IATSCLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IATSCLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf8d986f_8c2b_4131_94d7_4d3d9fcc21ef); } @@ -349,6 +292,7 @@ pub struct IATSCLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSCLocator2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCLocator2 { @@ -432,30 +376,10 @@ impl IATSCLocator2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IATSCLocator2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IATSCLocator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IATSCLocator2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IATSCLocator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSCLocator2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IATSCLocator2 { type Vtable = IATSCLocator2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IATSCLocator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IATSCLocator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x612aa885_66cf_4090_ba0a_566f5312e4ca); } @@ -470,6 +394,7 @@ pub struct IATSCLocator2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSCTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IATSCTuningSpace { @@ -636,30 +561,10 @@ impl IATSCTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IATSCTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IATSCTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IATSCTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IATSCTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSCTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IATSCTuningSpace { type Vtable = IATSCTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IATSCTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IATSCTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0369b4e2_45b6_11d3_b650_00c04f79498e); } @@ -679,6 +584,7 @@ pub struct IATSCTuningSpace_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSC_EIT(::windows_core::IUnknown); impl IATSC_EIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -736,25 +642,9 @@ impl IATSC_EIT { } } ::windows_core::imp::interface_hierarchy!(IATSC_EIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IATSC_EIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IATSC_EIT {} -impl ::core::fmt::Debug for IATSC_EIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSC_EIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IATSC_EIT { type Vtable = IATSC_EIT_Vtbl; } -impl ::core::clone::Clone for IATSC_EIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IATSC_EIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7c212d7_76a2_4b4b_aa56_846879a80096); } @@ -778,6 +668,7 @@ pub struct IATSC_EIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSC_ETT(::windows_core::IUnknown); impl IATSC_ETT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -804,25 +695,9 @@ impl IATSC_ETT { } } ::windows_core::imp::interface_hierarchy!(IATSC_ETT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IATSC_ETT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IATSC_ETT {} -impl ::core::fmt::Debug for IATSC_ETT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSC_ETT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IATSC_ETT { type Vtable = IATSC_ETT_Vtbl; } -impl ::core::clone::Clone for IATSC_ETT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IATSC_ETT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a142cc9_b8cf_4a86_a040_e9cadf3ef3e7); } @@ -838,6 +713,7 @@ pub struct IATSC_ETT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSC_MGT(::windows_core::IUnknown); impl IATSC_MGT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -894,25 +770,9 @@ impl IATSC_MGT { } } ::windows_core::imp::interface_hierarchy!(IATSC_MGT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IATSC_MGT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IATSC_MGT {} -impl ::core::fmt::Debug for IATSC_MGT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSC_MGT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IATSC_MGT { type Vtable = IATSC_MGT_Vtbl; } -impl ::core::clone::Clone for IATSC_MGT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IATSC_MGT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8877dabd_c137_4073_97e3_779407a5d87a); } @@ -936,6 +796,7 @@ pub struct IATSC_MGT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSC_STT(::windows_core::IUnknown); impl IATSC_STT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -974,25 +835,9 @@ impl IATSC_STT { } } ::windows_core::imp::interface_hierarchy!(IATSC_STT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IATSC_STT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IATSC_STT {} -impl ::core::fmt::Debug for IATSC_STT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSC_STT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IATSC_STT { type Vtable = IATSC_STT_Vtbl; } -impl ::core::clone::Clone for IATSC_STT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IATSC_STT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf42423_217d_4d6f_81e1_3a7b360ec896); } @@ -1011,6 +856,7 @@ pub struct IATSC_STT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IATSC_VCT(::windows_core::IUnknown); impl IATSC_VCT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -1129,25 +975,9 @@ impl IATSC_VCT { } } ::windows_core::imp::interface_hierarchy!(IATSC_VCT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IATSC_VCT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IATSC_VCT {} -impl ::core::fmt::Debug for IATSC_VCT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IATSC_VCT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IATSC_VCT { type Vtable = IATSC_VCT_Vtbl; } -impl ::core::clone::Clone for IATSC_VCT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IATSC_VCT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26879a18_32f9_46c6_91f0_fb6479270e8c); } @@ -1200,6 +1030,7 @@ pub struct IATSC_VCT_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalogAudioComponentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogAudioComponentType { @@ -1289,30 +1120,10 @@ impl IAnalogAudioComponentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnalogAudioComponentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnalogAudioComponentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnalogAudioComponentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnalogAudioComponentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnalogAudioComponentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnalogAudioComponentType { type Vtable = IAnalogAudioComponentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnalogAudioComponentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnalogAudioComponentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cfeb2a8_1787_4a24_a941_c6eaec39c842); } @@ -1327,6 +1138,7 @@ pub struct IAnalogAudioComponentType_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalogLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogLocator { @@ -1396,30 +1208,10 @@ impl IAnalogLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnalogLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnalogLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnalogLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnalogLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnalogLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnalogLocator { type Vtable = IAnalogLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnalogLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnalogLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34d1f26b_e339_430d_abce_738cb48984dc); } @@ -1434,6 +1226,7 @@ pub struct IAnalogLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalogRadioTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogRadioTuningSpace { @@ -1565,30 +1358,10 @@ impl IAnalogRadioTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnalogRadioTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnalogRadioTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnalogRadioTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnalogRadioTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnalogRadioTuningSpace { type Vtable = IAnalogRadioTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnalogRadioTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnalogRadioTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a6e293b_2595_11d3_b64c_00c04f79498e); } @@ -1607,6 +1380,7 @@ pub struct IAnalogRadioTuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalogRadioTuningSpace2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogRadioTuningSpace2 { @@ -1745,30 +1519,10 @@ impl IAnalogRadioTuningSpace2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogRadioTuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnalogRadioTuningSpace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnalogRadioTuningSpace2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnalogRadioTuningSpace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnalogRadioTuningSpace2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnalogRadioTuningSpace2 { type Vtable = IAnalogRadioTuningSpace2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnalogRadioTuningSpace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnalogRadioTuningSpace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39dd45da_2da8_46ba_8a8a_87e2b73d983a); } @@ -1783,6 +1537,7 @@ pub struct IAnalogRadioTuningSpace2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnalogTVTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnalogTVTuningSpace { @@ -1921,30 +1676,10 @@ impl IAnalogTVTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnalogTVTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnalogTVTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnalogTVTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnalogTVTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnalogTVTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnalogTVTuningSpace { type Vtable = IAnalogTVTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnalogTVTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnalogTVTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a6e293c_2595_11d3_b64c_00c04f79498e); } @@ -1964,6 +1699,7 @@ pub struct IAnalogTVTuningSpace_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAtscContentAdvisoryDescriptor(::windows_core::IUnknown); impl IAtscContentAdvisoryDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -1999,25 +1735,9 @@ impl IAtscContentAdvisoryDescriptor { } } ::windows_core::imp::interface_hierarchy!(IAtscContentAdvisoryDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAtscContentAdvisoryDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAtscContentAdvisoryDescriptor {} -impl ::core::fmt::Debug for IAtscContentAdvisoryDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAtscContentAdvisoryDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAtscContentAdvisoryDescriptor { type Vtable = IAtscContentAdvisoryDescriptor_Vtbl; } -impl ::core::clone::Clone for IAtscContentAdvisoryDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAtscContentAdvisoryDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff76e60c_0283_43ea_ba32_b422238547ee); } @@ -2036,6 +1756,7 @@ pub struct IAtscContentAdvisoryDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAtscPsipParser(::windows_core::IUnknown); impl IAtscPsipParser { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> ::windows_core::Result<()> @@ -2091,25 +1812,9 @@ impl IAtscPsipParser { } } ::windows_core::imp::interface_hierarchy!(IAtscPsipParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAtscPsipParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAtscPsipParser {} -impl ::core::fmt::Debug for IAtscPsipParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAtscPsipParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAtscPsipParser { type Vtable = IAtscPsipParser_Vtbl; } -impl ::core::clone::Clone for IAtscPsipParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAtscPsipParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2c98995_5eb2_4fb1_b406_f3e8e2026a9a); } @@ -2134,6 +1839,7 @@ pub struct IAtscPsipParser_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttributeGet(::windows_core::IUnknown); impl IAttributeGet { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2148,25 +1854,9 @@ impl IAttributeGet { } } ::windows_core::imp::interface_hierarchy!(IAttributeGet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAttributeGet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAttributeGet {} -impl ::core::fmt::Debug for IAttributeGet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAttributeGet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAttributeGet { type Vtable = IAttributeGet_Vtbl; } -impl ::core::clone::Clone for IAttributeGet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttributeGet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52dbd1ec_e48f_4528_9232_f442a68f0ae1); } @@ -2180,6 +1870,7 @@ pub struct IAttributeGet_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttributeSet(::windows_core::IUnknown); impl IAttributeSet { pub unsafe fn SetAttrib(&self, guidattribute: ::windows_core::GUID, pbattribute: *const u8, dwattributelength: u32) -> ::windows_core::Result<()> { @@ -2187,25 +1878,9 @@ impl IAttributeSet { } } ::windows_core::imp::interface_hierarchy!(IAttributeSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAttributeSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAttributeSet {} -impl ::core::fmt::Debug for IAttributeSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAttributeSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAttributeSet { type Vtable = IAttributeSet_Vtbl; } -impl ::core::clone::Clone for IAttributeSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttributeSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x583ec3cc_4960_4857_982b_41a33ea0a006); } @@ -2218,6 +1893,7 @@ pub struct IAttributeSet_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAuxInTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAuxInTuningSpace { @@ -2328,30 +2004,10 @@ impl IAuxInTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAuxInTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAuxInTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAuxInTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAuxInTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAuxInTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAuxInTuningSpace { type Vtable = IAuxInTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAuxInTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAuxInTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe48244b8_7e17_4f76_a763_5090ff1e2f30); } @@ -2364,6 +2020,7 @@ pub struct IAuxInTuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAuxInTuningSpace2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAuxInTuningSpace2 { @@ -2481,30 +2138,10 @@ impl IAuxInTuningSpace2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAuxInTuningSpace2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAuxInTuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAuxInTuningSpace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAuxInTuningSpace2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAuxInTuningSpace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAuxInTuningSpace2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAuxInTuningSpace2 { type Vtable = IAuxInTuningSpace2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAuxInTuningSpace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAuxInTuningSpace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb10931ed_8bfe_4ab0_9dce_e469c29a9729); } @@ -2518,6 +2155,7 @@ pub struct IAuxInTuningSpace2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDAComparable(::windows_core::IUnknown); impl IBDAComparable { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2556,25 +2194,9 @@ impl IBDAComparable { } } ::windows_core::imp::interface_hierarchy!(IBDAComparable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDAComparable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDAComparable {} -impl ::core::fmt::Debug for IBDAComparable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDAComparable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDAComparable { type Vtable = IBDAComparable_Vtbl; } -impl ::core::clone::Clone for IBDAComparable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDAComparable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb34505e0_2f0e_497b_80bc_d43f3b24ed7f); } @@ -2597,6 +2219,7 @@ pub struct IBDAComparable_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDACreateTuneRequestEx(::windows_core::IUnknown); impl IBDACreateTuneRequestEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2607,25 +2230,9 @@ impl IBDACreateTuneRequestEx { } } ::windows_core::imp::interface_hierarchy!(IBDACreateTuneRequestEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDACreateTuneRequestEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDACreateTuneRequestEx {} -impl ::core::fmt::Debug for IBDACreateTuneRequestEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDACreateTuneRequestEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDACreateTuneRequestEx { type Vtable = IBDACreateTuneRequestEx_Vtbl; } -impl ::core::clone::Clone for IBDACreateTuneRequestEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDACreateTuneRequestEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0a4a1d4_2b3c_491a_ba22_499fbadd4d12); } @@ -2640,6 +2247,7 @@ pub struct IBDACreateTuneRequestEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_TIF_REGISTRATION(::windows_core::IUnknown); impl IBDA_TIF_REGISTRATION { pub unsafe fn RegisterTIFEx(&self, ptifinputpin: P0, ppvregistrationcontext: *mut u32, ppmpeg2datacontrol: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> @@ -2653,25 +2261,9 @@ impl IBDA_TIF_REGISTRATION { } } ::windows_core::imp::interface_hierarchy!(IBDA_TIF_REGISTRATION, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_TIF_REGISTRATION { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_TIF_REGISTRATION {} -impl ::core::fmt::Debug for IBDA_TIF_REGISTRATION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_TIF_REGISTRATION").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_TIF_REGISTRATION { type Vtable = IBDA_TIF_REGISTRATION_Vtbl; } -impl ::core::clone::Clone for IBDA_TIF_REGISTRATION { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_TIF_REGISTRATION { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfef4a68_ee61_415f_9ccb_cd95f2f98a3a); } @@ -2684,6 +2276,7 @@ pub struct IBDA_TIF_REGISTRATION_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICAT(::windows_core::IUnknown); impl ICAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -2733,25 +2326,9 @@ impl ICAT { } } ::windows_core::imp::interface_hierarchy!(ICAT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICAT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICAT {} -impl ::core::fmt::Debug for ICAT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICAT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICAT { type Vtable = ICAT_Vtbl; } -impl ::core::clone::Clone for ICAT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICAT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c6995fb_2a31_4bd7_953e_b1ad7fb7d31c); } @@ -2777,6 +2354,7 @@ pub struct ICAT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICaptionServiceDescriptor(::windows_core::IUnknown); impl ICaptionServiceDescriptor { pub unsafe fn GetNumberOfServices(&self) -> ::windows_core::Result { @@ -2804,25 +2382,9 @@ impl ICaptionServiceDescriptor { } } ::windows_core::imp::interface_hierarchy!(ICaptionServiceDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICaptionServiceDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICaptionServiceDescriptor {} -impl ::core::fmt::Debug for ICaptionServiceDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICaptionServiceDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICaptionServiceDescriptor { type Vtable = ICaptionServiceDescriptor_Vtbl; } -impl ::core::clone::Clone for ICaptionServiceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICaptionServiceDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40834007_6834_46f0_bd45_d5f6a6be258c); } @@ -2840,6 +2402,7 @@ pub struct ICaptionServiceDescriptor_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChannelIDTuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IChannelIDTuneRequest { @@ -2889,30 +2452,10 @@ impl IChannelIDTuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IChannelIDTuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IChannelIDTuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IChannelIDTuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IChannelIDTuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChannelIDTuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IChannelIDTuneRequest { type Vtable = IChannelIDTuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IChannelIDTuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IChannelIDTuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x156eff60_86f4_4e28_89fc_109799fd57ee); } @@ -2927,6 +2470,7 @@ pub struct IChannelIDTuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChannelTuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IChannelTuneRequest { @@ -2973,30 +2517,10 @@ impl IChannelTuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IChannelTuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IChannelTuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IChannelTuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IChannelTuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChannelTuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IChannelTuneRequest { type Vtable = IChannelTuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IChannelTuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IChannelTuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0369b4e0_45b6_11d3_b650_00c04f79498e); } @@ -3011,6 +2535,7 @@ pub struct IChannelTuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponent { @@ -3062,30 +2587,10 @@ impl IComponent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponent { type Vtable = IComponent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a5576fc_0e19_11d3_9d8e_00c04f72d980); } @@ -3116,6 +2621,7 @@ pub struct IComponent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentType { @@ -3198,30 +2704,10 @@ impl IComponentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponentType { type Vtable = IComponentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a340dc0_0311_11d3_9d8e_00c04f72d980); } @@ -3260,6 +2746,7 @@ pub struct IComponentType_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentTypes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentTypes { @@ -3315,30 +2802,10 @@ impl IComponentTypes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponentTypes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponentTypes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponentTypes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponentTypes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentTypes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponentTypes { type Vtable = IComponentTypes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponentTypes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponentTypes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dc13d4a_0313_11d3_9d8e_00c04f72d980); } @@ -3377,6 +2844,7 @@ pub struct IComponentTypes_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponents { @@ -3432,30 +2900,10 @@ impl IComponents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponents { type Vtable = IComponents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39a48091_fffe_4182_a161_3ff802640e26); } @@ -3494,6 +2942,7 @@ pub struct IComponents_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentsOld(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentsOld { @@ -3541,30 +2990,10 @@ impl IComponentsOld { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponentsOld, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponentsOld { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponentsOld {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponentsOld { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentsOld").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponentsOld { type Vtable = IComponentsOld_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponentsOld { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponentsOld { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcd01846_0e19_11d3_9d8e_00c04f72d980); } @@ -3598,6 +3027,7 @@ pub struct IComponentsOld_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreatePropBagOnRegKey(::windows_core::IUnknown); impl ICreatePropBagOnRegKey { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -3611,25 +3041,9 @@ impl ICreatePropBagOnRegKey { } } ::windows_core::imp::interface_hierarchy!(ICreatePropBagOnRegKey, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreatePropBagOnRegKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreatePropBagOnRegKey {} -impl ::core::fmt::Debug for ICreatePropBagOnRegKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreatePropBagOnRegKey").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreatePropBagOnRegKey { type Vtable = ICreatePropBagOnRegKey_Vtbl; } -impl ::core::clone::Clone for ICreatePropBagOnRegKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreatePropBagOnRegKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a674b48_1f63_11d3_b64c_00c04f79498e); } @@ -3644,6 +3058,7 @@ pub struct ICreatePropBagOnRegKey_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilter(::windows_core::IUnknown); impl IDTFilter { pub unsafe fn EvalRatObjOK(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3683,25 +3098,9 @@ impl IDTFilter { } } ::windows_core::imp::interface_hierarchy!(IDTFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDTFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDTFilter {} -impl ::core::fmt::Debug for IDTFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDTFilter { type Vtable = IDTFilter_Vtbl; } -impl ::core::clone::Clone for IDTFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDTFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4b2_0049_4e2b_98fb_9537f6ce516d); } @@ -3726,6 +3125,7 @@ pub struct IDTFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilter2(::windows_core::IUnknown); impl IDTFilter2 { pub unsafe fn EvalRatObjOK(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3776,25 +3176,9 @@ impl IDTFilter2 { } } ::windows_core::imp::interface_hierarchy!(IDTFilter2, ::windows_core::IUnknown, IDTFilter); -impl ::core::cmp::PartialEq for IDTFilter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDTFilter2 {} -impl ::core::fmt::Debug for IDTFilter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDTFilter2 { type Vtable = IDTFilter2_Vtbl; } -impl ::core::clone::Clone for IDTFilter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDTFilter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4b4_0049_4e2b_98fb_9537f6ce516d); } @@ -3808,6 +3192,7 @@ pub struct IDTFilter2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilter3(::windows_core::IUnknown); impl IDTFilter3 { pub unsafe fn EvalRatObjOK(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -3874,25 +3259,9 @@ impl IDTFilter3 { } } ::windows_core::imp::interface_hierarchy!(IDTFilter3, ::windows_core::IUnknown, IDTFilter, IDTFilter2); -impl ::core::cmp::PartialEq for IDTFilter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDTFilter3 {} -impl ::core::fmt::Debug for IDTFilter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilter3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDTFilter3 { type Vtable = IDTFilter3_Vtbl; } -impl ::core::clone::Clone for IDTFilter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDTFilter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x513998cc_e929_4cdf_9fbd_bad1e0314866); } @@ -3909,6 +3278,7 @@ pub struct IDTFilter3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilterConfig(::windows_core::IUnknown); impl IDTFilterConfig { pub unsafe fn GetSecureChannelObject(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -3917,25 +3287,9 @@ impl IDTFilterConfig { } } ::windows_core::imp::interface_hierarchy!(IDTFilterConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDTFilterConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDTFilterConfig {} -impl ::core::fmt::Debug for IDTFilterConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilterConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDTFilterConfig { type Vtable = IDTFilterConfig_Vtbl; } -impl ::core::clone::Clone for IDTFilterConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDTFilterConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4d2_0049_4e2b_98fb_9537f6ce516d); } @@ -3948,36 +3302,17 @@ pub struct IDTFilterConfig_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilterEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDTFilterEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDTFilterEvents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDTFilterEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDTFilterEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDTFilterEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilterEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDTFilterEvents { type Vtable = IDTFilterEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDTFilterEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDTFilterEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4c2_0049_4e2b_98fb_9537f6ce516d); } @@ -3989,6 +3324,7 @@ pub struct IDTFilterEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDTFilterLicenseRenewal(::windows_core::IUnknown); impl IDTFilterLicenseRenewal { pub unsafe fn GetLicenseRenewalData(&self, ppwszfilename: *mut ::windows_core::PWSTR, ppwszexpiredkid: *mut ::windows_core::PWSTR, ppwsztunerid: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { @@ -3996,25 +3332,9 @@ impl IDTFilterLicenseRenewal { } } ::windows_core::imp::interface_hierarchy!(IDTFilterLicenseRenewal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDTFilterLicenseRenewal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDTFilterLicenseRenewal {} -impl ::core::fmt::Debug for IDTFilterLicenseRenewal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDTFilterLicenseRenewal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDTFilterLicenseRenewal { type Vtable = IDTFilterLicenseRenewal_Vtbl; } -impl ::core::clone::Clone for IDTFilterLicenseRenewal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDTFilterLicenseRenewal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a78b317_e405_4a43_994a_620d8f5ce25e); } @@ -4027,6 +3347,7 @@ pub struct IDTFilterLicenseRenewal_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBCLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBCLocator { @@ -4089,30 +3410,10 @@ impl IDVBCLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBCLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBCLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBCLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBCLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBCLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBCLocator { type Vtable = IDVBCLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBCLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBCLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e42f36e_1dd2_43c4_9f78_69d25ae39034); } @@ -4125,6 +3426,7 @@ pub struct IDVBCLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBSLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator { @@ -4229,30 +3531,10 @@ impl IDVBSLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBSLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBSLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBSLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBSLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBSLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBSLocator { type Vtable = IDVBSLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBSLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBSLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d7c353c_0d04_45f1_a742_f97cc1188dc8); } @@ -4281,6 +3563,7 @@ pub struct IDVBSLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBSLocator2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBSLocator2 { @@ -4434,30 +3717,10 @@ impl IDVBSLocator2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBSLocator2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBSLocator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBSLocator2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBSLocator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBSLocator2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBSLocator2 { type Vtable = IDVBSLocator2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBSLocator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBSLocator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6044634a_1733_4f99_b982_5fb12afce4f0); } @@ -4484,6 +3747,7 @@ pub struct IDVBSLocator2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBSTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBSTuningSpace { @@ -4646,30 +3910,10 @@ impl IDVBSTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBSTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace, IDVBTuningSpace2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBSTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBSTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBSTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBSTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBSTuningSpace { type Vtable = IDVBSTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBSTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBSTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdf7be60_d954_42fd_a972_78971958e470); } @@ -4692,6 +3936,7 @@ pub struct IDVBSTuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBTLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator { @@ -4810,30 +4055,10 @@ impl IDVBTLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBTLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBTLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBTLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBTLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBTLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBTLocator { type Vtable = IDVBTLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBTLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBTLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8664da16_dda2_42ac_926a_c18f9127c302); } @@ -4866,6 +4091,7 @@ pub struct IDVBTLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBTLocator2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTLocator2 { @@ -4991,33 +4217,13 @@ impl IDVBTLocator2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBTLocator2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBTLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBTLocator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } +unsafe impl ::windows_core::Interface for IDVBTLocator2 { + type Vtable = IDVBTLocator2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBTLocator2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBTLocator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBTLocator2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for IDVBTLocator2 { - type Vtable = IDVBTLocator2_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBTLocator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::ComInterface for IDVBTLocator2 { - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x448a2edf_ae95_4b43_a3cc_747843c453d4); -} +unsafe impl ::windows_core::ComInterface for IDVBTLocator2 { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x448a2edf_ae95_4b43_a3cc_747843c453d4); +} #[cfg(feature = "Win32_System_Com")] #[repr(C)] #[doc(hidden)] @@ -5029,6 +4235,7 @@ pub struct IDVBTLocator2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBTuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTuneRequest { @@ -5089,30 +4296,10 @@ impl IDVBTuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBTuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBTuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBTuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBTuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBTuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBTuneRequest { type Vtable = IDVBTuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBTuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBTuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d6f567e_a636_42bb_83ba_ce4c1704afa2); } @@ -5131,6 +4318,7 @@ pub struct IDVBTuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTuningSpace { @@ -5248,30 +4436,10 @@ impl IDVBTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBTuningSpace { type Vtable = IDVBTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xada0b268_3b19_4e5b_acc4_49f852be13ba); } @@ -5286,6 +4454,7 @@ pub struct IDVBTuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVBTuningSpace2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDVBTuningSpace2 { @@ -5410,30 +4579,10 @@ impl IDVBTuningSpace2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDVBTuningSpace2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDVBTuningSpace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDVBTuningSpace2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDVBTuningSpace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVBTuningSpace2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDVBTuningSpace2 { type Vtable = IDVBTuningSpace2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDVBTuningSpace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDVBTuningSpace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x843188b4_ce62_43db_966b_8145a094e040); } @@ -5447,6 +4596,7 @@ pub struct IDVBTuningSpace2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_BAT(::windows_core::IUnknown); impl IDVB_BAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -5522,25 +4672,9 @@ impl IDVB_BAT { } } ::windows_core::imp::interface_hierarchy!(IDVB_BAT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_BAT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_BAT {} -impl ::core::fmt::Debug for IDVB_BAT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_BAT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_BAT { type Vtable = IDVB_BAT_Vtbl; } -impl ::core::clone::Clone for IDVB_BAT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_BAT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xece9bb0c_43b6_4558_a0ec_1812c34cd6ca); } @@ -5573,6 +4707,7 @@ pub struct IDVB_BAT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_DIT(::windows_core::IUnknown); impl IDVB_DIT { pub unsafe fn Initialize(&self, psectionlist: P0) -> ::windows_core::Result<()> @@ -5589,25 +4724,9 @@ impl IDVB_DIT { } } ::windows_core::imp::interface_hierarchy!(IDVB_DIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_DIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_DIT {} -impl ::core::fmt::Debug for IDVB_DIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_DIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_DIT { type Vtable = IDVB_DIT_Vtbl; } -impl ::core::clone::Clone for IDVB_DIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_DIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91bffdf9_9432_410f_86ef_1c228ed0ad70); } @@ -5623,6 +4742,7 @@ pub struct IDVB_DIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_EIT(::windows_core::IUnknown); impl IDVB_EIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -5722,25 +4842,9 @@ impl IDVB_EIT { } } ::windows_core::imp::interface_hierarchy!(IDVB_EIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_EIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_EIT {} -impl ::core::fmt::Debug for IDVB_EIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_EIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_EIT { type Vtable = IDVB_EIT_Vtbl; } -impl ::core::clone::Clone for IDVB_EIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_EIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x442db029_02cb_4495_8b92_1c13375bce99); } @@ -5781,6 +4885,7 @@ pub struct IDVB_EIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_EIT2(::windows_core::IUnknown); impl IDVB_EIT2 { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -5887,25 +4992,9 @@ impl IDVB_EIT2 { } } ::windows_core::imp::interface_hierarchy!(IDVB_EIT2, ::windows_core::IUnknown, IDVB_EIT); -impl ::core::cmp::PartialEq for IDVB_EIT2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_EIT2 {} -impl ::core::fmt::Debug for IDVB_EIT2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_EIT2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_EIT2 { type Vtable = IDVB_EIT2_Vtbl; } -impl ::core::clone::Clone for IDVB_EIT2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_EIT2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61a389e0_9b9e_4ba0_aeea_5ddd159820ea); } @@ -5918,6 +5007,7 @@ pub struct IDVB_EIT2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_NIT(::windows_core::IUnknown); impl IDVB_NIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -5998,25 +5088,9 @@ impl IDVB_NIT { } } ::windows_core::imp::interface_hierarchy!(IDVB_NIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_NIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_NIT {} -impl ::core::fmt::Debug for IDVB_NIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_NIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_NIT { type Vtable = IDVB_NIT_Vtbl; } -impl ::core::clone::Clone for IDVB_NIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_NIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc64935f4_29e4_4e22_911a_63f7f55cb097); } @@ -6050,6 +5124,7 @@ pub struct IDVB_NIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_RST(::windows_core::IUnknown); impl IDVB_RST { pub unsafe fn Initialize(&self, psectionlist: P0) -> ::windows_core::Result<()> @@ -6084,25 +5159,9 @@ impl IDVB_RST { } } ::windows_core::imp::interface_hierarchy!(IDVB_RST, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_RST { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_RST {} -impl ::core::fmt::Debug for IDVB_RST { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_RST").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_RST { type Vtable = IDVB_RST_Vtbl; } -impl ::core::clone::Clone for IDVB_RST { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_RST { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf47dcd04_1e23_4fb7_9f96_b40eead10b2b); } @@ -6120,6 +5179,7 @@ pub struct IDVB_RST_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_SDT(::windows_core::IUnknown); impl IDVB_SDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -6211,25 +5271,9 @@ impl IDVB_SDT { } } ::windows_core::imp::interface_hierarchy!(IDVB_SDT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_SDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_SDT {} -impl ::core::fmt::Debug for IDVB_SDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_SDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_SDT { type Vtable = IDVB_SDT_Vtbl; } -impl ::core::clone::Clone for IDVB_SDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_SDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02cad8d3_fe43_48e2_90bd_450ed9a8a5fd); } @@ -6273,6 +5317,7 @@ pub struct IDVB_SDT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_SIT(::windows_core::IUnknown); impl IDVB_SIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -6345,25 +5390,9 @@ impl IDVB_SIT { } } ::windows_core::imp::interface_hierarchy!(IDVB_SIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_SIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_SIT {} -impl ::core::fmt::Debug for IDVB_SIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_SIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_SIT { type Vtable = IDVB_SIT_Vtbl; } -impl ::core::clone::Clone for IDVB_SIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_SIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68cdce53_8bea_45c2_9d9d_acf575a089b5); } @@ -6395,6 +5424,7 @@ pub struct IDVB_SIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_ST(::windows_core::IUnknown); impl IDVB_ST { pub unsafe fn Initialize(&self, psectionlist: P0) -> ::windows_core::Result<()> @@ -6413,25 +5443,9 @@ impl IDVB_ST { } } ::windows_core::imp::interface_hierarchy!(IDVB_ST, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_ST { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_ST {} -impl ::core::fmt::Debug for IDVB_ST { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_ST").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_ST { type Vtable = IDVB_ST_Vtbl; } -impl ::core::clone::Clone for IDVB_ST { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_ST { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d5b9f23_2a02_45de_bcda_5d5dbfbfbe62); } @@ -6445,6 +5459,7 @@ pub struct IDVB_ST_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_TDT(::windows_core::IUnknown); impl IDVB_TDT { pub unsafe fn Initialize(&self, psectionlist: P0) -> ::windows_core::Result<()> @@ -6459,25 +5474,9 @@ impl IDVB_TDT { } } ::windows_core::imp::interface_hierarchy!(IDVB_TDT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_TDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_TDT {} -impl ::core::fmt::Debug for IDVB_TDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_TDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_TDT { type Vtable = IDVB_TDT_Vtbl; } -impl ::core::clone::Clone for IDVB_TDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_TDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0780dc7d_d55c_4aef_97e6_6b75906e2796); } @@ -6490,6 +5489,7 @@ pub struct IDVB_TDT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVB_TOT(::windows_core::IUnknown); impl IDVB_TOT { pub unsafe fn Initialize(&self, psectionlist: P0) -> ::windows_core::Result<()> @@ -6515,25 +5515,9 @@ impl IDVB_TOT { } } ::windows_core::imp::interface_hierarchy!(IDVB_TOT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVB_TOT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVB_TOT {} -impl ::core::fmt::Debug for IDVB_TOT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVB_TOT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVB_TOT { type Vtable = IDVB_TOT_Vtbl; } -impl ::core::clone::Clone for IDVB_TOT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVB_TOT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83295d6a_faba_4ee1_9b15_8067696910ae); } @@ -6550,6 +5534,7 @@ pub struct IDVB_TOT_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalCableLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalCableLocator { @@ -6633,30 +5618,10 @@ impl IDigitalCableLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDigitalCableLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator, IATSCLocator2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDigitalCableLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDigitalCableLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDigitalCableLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDigitalCableLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDigitalCableLocator { type Vtable = IDigitalCableLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDigitalCableLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDigitalCableLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48f66a11_171a_419a_9525_beeecd51584c); } @@ -6669,6 +5634,7 @@ pub struct IDigitalCableLocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalCableTuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalCableTuneRequest { @@ -6736,30 +5702,10 @@ impl IDigitalCableTuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDigitalCableTuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest, IATSCChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDigitalCableTuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDigitalCableTuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDigitalCableTuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDigitalCableTuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDigitalCableTuneRequest { type Vtable = IDigitalCableTuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDigitalCableTuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDigitalCableTuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbad7753b_6b37_4810_ae57_3ce0c4a9e6cb); } @@ -6776,6 +5722,7 @@ pub struct IDigitalCableTuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalCableTuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalCableTuningSpace { @@ -6970,30 +5917,10 @@ impl IDigitalCableTuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDigitalCableTuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace, IATSCTuningSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDigitalCableTuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDigitalCableTuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDigitalCableTuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDigitalCableTuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDigitalCableTuningSpace { type Vtable = IDigitalCableTuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDigitalCableTuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDigitalCableTuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x013f9f9c_b449_4ec7_a6d2_9d4f2fc70ae5); } @@ -7014,6 +5941,7 @@ pub struct IDigitalCableTuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDigitalLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDigitalLocator { @@ -7076,30 +6004,10 @@ impl IDigitalLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDigitalLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDigitalLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDigitalLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDigitalLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDigitalLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDigitalLocator { type Vtable = IDigitalLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDigitalLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDigitalLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19b595d8_839a_47f0_96df_4f194f3c768c); } @@ -7111,6 +6019,7 @@ pub struct IDigitalLocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbCableDeliverySystemDescriptor(::windows_core::IUnknown); impl IDvbCableDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7143,25 +6052,9 @@ impl IDvbCableDeliverySystemDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbCableDeliverySystemDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbCableDeliverySystemDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbCableDeliverySystemDescriptor {} -impl ::core::fmt::Debug for IDvbCableDeliverySystemDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbCableDeliverySystemDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbCableDeliverySystemDescriptor { type Vtable = IDvbCableDeliverySystemDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbCableDeliverySystemDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbCableDeliverySystemDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfb98e36_9e1a_4862_9946_993a4e59017b); } @@ -7179,6 +6072,7 @@ pub struct IDvbCableDeliverySystemDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbComponentDescriptor(::windows_core::IUnknown); impl IDvbComponentDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7210,25 +6104,9 @@ impl IDvbComponentDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbComponentDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbComponentDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbComponentDescriptor {} -impl ::core::fmt::Debug for IDvbComponentDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbComponentDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbComponentDescriptor { type Vtable = IDvbComponentDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbComponentDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbComponentDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91e405cf_80e7_457f_9096_1b9d1ce32141); } @@ -7246,6 +6124,7 @@ pub struct IDvbComponentDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbContentDescriptor(::windows_core::IUnknown); impl IDvbContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7268,25 +6147,9 @@ impl IDvbContentDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbContentDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbContentDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbContentDescriptor {} -impl ::core::fmt::Debug for IDvbContentDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbContentDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbContentDescriptor { type Vtable = IDvbContentDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbContentDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbContentDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e883881_a467_412a_9d63_6f2b6da05bf0); } @@ -7302,6 +6165,7 @@ pub struct IDvbContentDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbContentIdentifierDescriptor(::windows_core::IUnknown); impl IDvbContentIdentifierDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7321,25 +6185,9 @@ impl IDvbContentIdentifierDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbContentIdentifierDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbContentIdentifierDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbContentIdentifierDescriptor {} -impl ::core::fmt::Debug for IDvbContentIdentifierDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbContentIdentifierDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbContentIdentifierDescriptor { type Vtable = IDvbContentIdentifierDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbContentIdentifierDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbContentIdentifierDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05e0c1ea_f661_4053_9fbf_d93b28359838); } @@ -7354,6 +6202,7 @@ pub struct IDvbContentIdentifierDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbDataBroadcastDescriptor(::windows_core::IUnknown); impl IDvbDataBroadcastDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7392,25 +6241,9 @@ impl IDvbDataBroadcastDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbDataBroadcastDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbDataBroadcastDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbDataBroadcastDescriptor {} -impl ::core::fmt::Debug for IDvbDataBroadcastDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbDataBroadcastDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbDataBroadcastDescriptor { type Vtable = IDvbDataBroadcastDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbDataBroadcastDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbDataBroadcastDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1ebc1d6_8b60_4c20_9caf_e59382e7c400); } @@ -7430,6 +6263,7 @@ pub struct IDvbDataBroadcastDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbDataBroadcastIDDescriptor(::windows_core::IUnknown); impl IDvbDataBroadcastIDDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7449,24 +6283,8 @@ impl IDvbDataBroadcastIDDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbDataBroadcastIDDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbDataBroadcastIDDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbDataBroadcastIDDescriptor {} -impl ::core::fmt::Debug for IDvbDataBroadcastIDDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbDataBroadcastIDDescriptor").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IDvbDataBroadcastIDDescriptor { - type Vtable = IDvbDataBroadcastIDDescriptor_Vtbl; -} -impl ::core::clone::Clone for IDvbDataBroadcastIDDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IDvbDataBroadcastIDDescriptor { + type Vtable = IDvbDataBroadcastIDDescriptor_Vtbl; } unsafe impl ::windows_core::ComInterface for IDvbDataBroadcastIDDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f26f518_65c8_4048_91f2_9290f59f7b90); @@ -7482,6 +6300,7 @@ pub struct IDvbDataBroadcastIDDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbDefaultAuthorityDescriptor(::windows_core::IUnknown); impl IDvbDefaultAuthorityDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7497,25 +6316,9 @@ impl IDvbDefaultAuthorityDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbDefaultAuthorityDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbDefaultAuthorityDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbDefaultAuthorityDescriptor {} -impl ::core::fmt::Debug for IDvbDefaultAuthorityDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbDefaultAuthorityDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbDefaultAuthorityDescriptor { type Vtable = IDvbDefaultAuthorityDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbDefaultAuthorityDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbDefaultAuthorityDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05ec24d1_3a31_44e7_b408_67c60a352276); } @@ -7529,6 +6332,7 @@ pub struct IDvbDefaultAuthorityDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbExtendedEventDescriptor(::windows_core::IUnknown); impl IDvbExtendedEventDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7579,25 +6383,9 @@ impl IDvbExtendedEventDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbExtendedEventDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbExtendedEventDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbExtendedEventDescriptor {} -impl ::core::fmt::Debug for IDvbExtendedEventDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbExtendedEventDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbExtendedEventDescriptor { type Vtable = IDvbExtendedEventDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbExtendedEventDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbExtendedEventDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9b22eca_85f4_499f_b1db_efa93a91ee57); } @@ -7619,6 +6407,7 @@ pub struct IDvbExtendedEventDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbFrequencyListDescriptor(::windows_core::IUnknown); impl IDvbFrequencyListDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7643,25 +6432,9 @@ impl IDvbFrequencyListDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbFrequencyListDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbFrequencyListDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbFrequencyListDescriptor {} -impl ::core::fmt::Debug for IDvbFrequencyListDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbFrequencyListDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbFrequencyListDescriptor { type Vtable = IDvbFrequencyListDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbFrequencyListDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbFrequencyListDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cadb613_e1dd_4512_afa8_bb7a007ef8b1); } @@ -7677,6 +6450,7 @@ pub struct IDvbFrequencyListDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbHDSimulcastLogicalChannelDescriptor(::windows_core::IUnknown); impl IDvbHDSimulcastLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7705,25 +6479,9 @@ impl IDvbHDSimulcastLogicalChannelDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbHDSimulcastLogicalChannelDescriptor, ::windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); -impl ::core::cmp::PartialEq for IDvbHDSimulcastLogicalChannelDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbHDSimulcastLogicalChannelDescriptor {} -impl ::core::fmt::Debug for IDvbHDSimulcastLogicalChannelDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbHDSimulcastLogicalChannelDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbHDSimulcastLogicalChannelDescriptor { type Vtable = IDvbHDSimulcastLogicalChannelDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbHDSimulcastLogicalChannelDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbHDSimulcastLogicalChannelDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ea8b738_a307_4680_9e26_d0a908c824f4); } @@ -7734,6 +6492,7 @@ pub struct IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbLinkageDescriptor(::windows_core::IUnknown); impl IDvbLinkageDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7769,25 +6528,9 @@ impl IDvbLinkageDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbLinkageDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbLinkageDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbLinkageDescriptor {} -impl ::core::fmt::Debug for IDvbLinkageDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbLinkageDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbLinkageDescriptor { type Vtable = IDvbLinkageDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbLinkageDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbLinkageDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cdf8b31_994a_46fc_acfd_6a6be8934dd5); } @@ -7806,6 +6549,7 @@ pub struct IDvbLinkageDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbLogicalChannel2Descriptor(::windows_core::IUnknown); impl IDvbLogicalChannel2Descriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7865,25 +6609,9 @@ impl IDvbLogicalChannel2Descriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbLogicalChannel2Descriptor, ::windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); -impl ::core::cmp::PartialEq for IDvbLogicalChannel2Descriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbLogicalChannel2Descriptor {} -impl ::core::fmt::Debug for IDvbLogicalChannel2Descriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbLogicalChannel2Descriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbLogicalChannel2Descriptor { type Vtable = IDvbLogicalChannel2Descriptor_Vtbl; } -impl ::core::clone::Clone for IDvbLogicalChannel2Descriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbLogicalChannel2Descriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf69c3747_8a30_4980_998c_01fe7f0ba35a); } @@ -7902,6 +6630,7 @@ pub struct IDvbLogicalChannel2Descriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbLogicalChannelDescriptor(::windows_core::IUnknown); impl IDvbLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7926,25 +6655,9 @@ impl IDvbLogicalChannelDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbLogicalChannelDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbLogicalChannelDescriptor {} -impl ::core::fmt::Debug for IDvbLogicalChannelDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbLogicalChannelDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbLogicalChannelDescriptor { type Vtable = IDvbLogicalChannelDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbLogicalChannelDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbLogicalChannelDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf1edaff_3ffd_4cf7_8201_35756acbf85f); } @@ -7960,6 +6673,7 @@ pub struct IDvbLogicalChannelDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbLogicalChannelDescriptor2(::windows_core::IUnknown); impl IDvbLogicalChannelDescriptor2 { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -7988,25 +6702,9 @@ impl IDvbLogicalChannelDescriptor2 { } } ::windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor2, ::windows_core::IUnknown, IDvbLogicalChannelDescriptor); -impl ::core::cmp::PartialEq for IDvbLogicalChannelDescriptor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbLogicalChannelDescriptor2 {} -impl ::core::fmt::Debug for IDvbLogicalChannelDescriptor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbLogicalChannelDescriptor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbLogicalChannelDescriptor2 { type Vtable = IDvbLogicalChannelDescriptor2_Vtbl; } -impl ::core::clone::Clone for IDvbLogicalChannelDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbLogicalChannelDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43aca974_4be8_4b98_bc17_9eafd788b1d7); } @@ -8018,6 +6716,7 @@ pub struct IDvbLogicalChannelDescriptor2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbMultilingualServiceNameDescriptor(::windows_core::IUnknown); impl IDvbMultilingualServiceNameDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8046,25 +6745,9 @@ impl IDvbMultilingualServiceNameDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbMultilingualServiceNameDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbMultilingualServiceNameDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbMultilingualServiceNameDescriptor {} -impl ::core::fmt::Debug for IDvbMultilingualServiceNameDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbMultilingualServiceNameDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbMultilingualServiceNameDescriptor { type Vtable = IDvbMultilingualServiceNameDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbMultilingualServiceNameDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbMultilingualServiceNameDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d80433b_b32c_47ef_987f_e78ebb773e34); } @@ -8081,6 +6764,7 @@ pub struct IDvbMultilingualServiceNameDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbNetworkNameDescriptor(::windows_core::IUnknown); impl IDvbNetworkNameDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8101,25 +6785,9 @@ impl IDvbNetworkNameDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbNetworkNameDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbNetworkNameDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbNetworkNameDescriptor {} -impl ::core::fmt::Debug for IDvbNetworkNameDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbNetworkNameDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbNetworkNameDescriptor { type Vtable = IDvbNetworkNameDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbNetworkNameDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbNetworkNameDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b2a80cf_35b9_446c_b3e4_048b761dbc51); } @@ -8134,6 +6802,7 @@ pub struct IDvbNetworkNameDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbParentalRatingDescriptor(::windows_core::IUnknown); impl IDvbParentalRatingDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8153,25 +6822,9 @@ impl IDvbParentalRatingDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbParentalRatingDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbParentalRatingDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbParentalRatingDescriptor {} -impl ::core::fmt::Debug for IDvbParentalRatingDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbParentalRatingDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbParentalRatingDescriptor { type Vtable = IDvbParentalRatingDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbParentalRatingDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbParentalRatingDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ad9dde1_fb1b_4186_937f_22e6b5a72a10); } @@ -8186,6 +6839,7 @@ pub struct IDvbParentalRatingDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbPrivateDataSpecifierDescriptor(::windows_core::IUnknown); impl IDvbPrivateDataSpecifierDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8202,25 +6856,9 @@ impl IDvbPrivateDataSpecifierDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbPrivateDataSpecifierDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbPrivateDataSpecifierDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbPrivateDataSpecifierDescriptor {} -impl ::core::fmt::Debug for IDvbPrivateDataSpecifierDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbPrivateDataSpecifierDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbPrivateDataSpecifierDescriptor { type Vtable = IDvbPrivateDataSpecifierDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbPrivateDataSpecifierDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbPrivateDataSpecifierDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5660a019_e75a_4b82_9b4c_ed2256d165a2); } @@ -8234,6 +6872,7 @@ pub struct IDvbPrivateDataSpecifierDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbSatelliteDeliverySystemDescriptor(::windows_core::IUnknown); impl IDvbSatelliteDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8274,25 +6913,9 @@ impl IDvbSatelliteDeliverySystemDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbSatelliteDeliverySystemDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbSatelliteDeliverySystemDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbSatelliteDeliverySystemDescriptor {} -impl ::core::fmt::Debug for IDvbSatelliteDeliverySystemDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbSatelliteDeliverySystemDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbSatelliteDeliverySystemDescriptor { type Vtable = IDvbSatelliteDeliverySystemDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbSatelliteDeliverySystemDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbSatelliteDeliverySystemDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02f2225a_805b_4ec5_a9a6_f9b5913cd470); } @@ -8312,6 +6935,7 @@ pub struct IDvbSatelliteDeliverySystemDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbServiceAttributeDescriptor(::windows_core::IUnknown); impl IDvbServiceAttributeDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8344,25 +6968,9 @@ impl IDvbServiceAttributeDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbServiceAttributeDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbServiceAttributeDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbServiceAttributeDescriptor {} -impl ::core::fmt::Debug for IDvbServiceAttributeDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbServiceAttributeDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbServiceAttributeDescriptor { type Vtable = IDvbServiceAttributeDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbServiceAttributeDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbServiceAttributeDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f37bd92_d6a1_4854_b950_3a969d27f30e); } @@ -8385,6 +6993,7 @@ pub struct IDvbServiceAttributeDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbServiceDescriptor(::windows_core::IUnknown); impl IDvbServiceDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8421,25 +7030,9 @@ impl IDvbServiceDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbServiceDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbServiceDescriptor {} -impl ::core::fmt::Debug for IDvbServiceDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbServiceDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbServiceDescriptor { type Vtable = IDvbServiceDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbServiceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbServiceDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9c7fbcf_e2d6_464d_b32d_2ef526e49290); } @@ -8458,6 +7051,7 @@ pub struct IDvbServiceDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbServiceDescriptor2(::windows_core::IUnknown); impl IDvbServiceDescriptor2 { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8502,25 +7096,9 @@ impl IDvbServiceDescriptor2 { } } ::windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor2, ::windows_core::IUnknown, IDvbServiceDescriptor); -impl ::core::cmp::PartialEq for IDvbServiceDescriptor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbServiceDescriptor2 {} -impl ::core::fmt::Debug for IDvbServiceDescriptor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbServiceDescriptor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbServiceDescriptor2 { type Vtable = IDvbServiceDescriptor2_Vtbl; } -impl ::core::clone::Clone for IDvbServiceDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbServiceDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6c76506_85ab_487c_9b2b_36416511e4a2); } @@ -8533,6 +7111,7 @@ pub struct IDvbServiceDescriptor2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbServiceListDescriptor(::windows_core::IUnknown); impl IDvbServiceListDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8557,25 +7136,9 @@ impl IDvbServiceListDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbServiceListDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbServiceListDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbServiceListDescriptor {} -impl ::core::fmt::Debug for IDvbServiceListDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbServiceListDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbServiceListDescriptor { type Vtable = IDvbServiceListDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbServiceListDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbServiceListDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05db0d8f_6008_491a_acd3_7090952707d0); } @@ -8591,6 +7154,7 @@ pub struct IDvbServiceListDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbShortEventDescriptor(::windows_core::IUnknown); impl IDvbShortEventDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8614,25 +7178,9 @@ impl IDvbShortEventDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbShortEventDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbShortEventDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbShortEventDescriptor {} -impl ::core::fmt::Debug for IDvbShortEventDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbShortEventDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbShortEventDescriptor { type Vtable = IDvbShortEventDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbShortEventDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbShortEventDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb170be92_5b75_458e_9c6e_b0008231491a); } @@ -8648,6 +7196,7 @@ pub struct IDvbShortEventDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbSiParser(::windows_core::IUnknown); impl IDvbSiParser { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> ::windows_core::Result<()> @@ -8714,25 +7263,9 @@ impl IDvbSiParser { } } ::windows_core::imp::interface_hierarchy!(IDvbSiParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbSiParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbSiParser {} -impl ::core::fmt::Debug for IDvbSiParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbSiParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbSiParser { type Vtable = IDvbSiParser_Vtbl; } -impl ::core::clone::Clone for IDvbSiParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbSiParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb758a7bd_14dc_449d_b828_35909acb3b1e); } @@ -8758,6 +7291,7 @@ pub struct IDvbSiParser_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbSiParser2(::windows_core::IUnknown); impl IDvbSiParser2 { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> ::windows_core::Result<()> @@ -8828,25 +7362,9 @@ impl IDvbSiParser2 { } } ::windows_core::imp::interface_hierarchy!(IDvbSiParser2, ::windows_core::IUnknown, IDvbSiParser); -impl ::core::cmp::PartialEq for IDvbSiParser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbSiParser2 {} -impl ::core::fmt::Debug for IDvbSiParser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbSiParser2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbSiParser2 { type Vtable = IDvbSiParser2_Vtbl; } -impl ::core::clone::Clone for IDvbSiParser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbSiParser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ac5525f_f816_42f4_93ba_4c0f32f46e54); } @@ -8858,6 +7376,7 @@ pub struct IDvbSiParser2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbSubtitlingDescriptor(::windows_core::IUnknown); impl IDvbSubtitlingDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8890,25 +7409,9 @@ impl IDvbSubtitlingDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbSubtitlingDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbSubtitlingDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbSubtitlingDescriptor {} -impl ::core::fmt::Debug for IDvbSubtitlingDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbSubtitlingDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbSubtitlingDescriptor { type Vtable = IDvbSubtitlingDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbSubtitlingDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbSubtitlingDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b25fe1d_fa23_4e50_9784_6df8b26f8a49); } @@ -8926,6 +7429,7 @@ pub struct IDvbSubtitlingDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbTeletextDescriptor(::windows_core::IUnknown); impl IDvbTeletextDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -8958,25 +7462,9 @@ impl IDvbTeletextDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbTeletextDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbTeletextDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbTeletextDescriptor {} -impl ::core::fmt::Debug for IDvbTeletextDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbTeletextDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbTeletextDescriptor { type Vtable = IDvbTeletextDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbTeletextDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbTeletextDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cd29d47_69c6_4f92_98a9_210af1b7303a); } @@ -8994,6 +7482,7 @@ pub struct IDvbTeletextDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbTerrestrial2DeliverySystemDescriptor(::windows_core::IUnknown); impl IDvbTerrestrial2DeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -9050,25 +7539,9 @@ impl IDvbTerrestrial2DeliverySystemDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbTerrestrial2DeliverySystemDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbTerrestrial2DeliverySystemDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbTerrestrial2DeliverySystemDescriptor {} -impl ::core::fmt::Debug for IDvbTerrestrial2DeliverySystemDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbTerrestrial2DeliverySystemDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbTerrestrial2DeliverySystemDescriptor { type Vtable = IDvbTerrestrial2DeliverySystemDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbTerrestrial2DeliverySystemDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbTerrestrial2DeliverySystemDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20ee9be9_cd57_49ab_8f6e_1d07aeb8e482); } @@ -9092,6 +7565,7 @@ pub struct IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvbTerrestrialDeliverySystemDescriptor(::windows_core::IUnknown); impl IDvbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -9140,25 +7614,9 @@ impl IDvbTerrestrialDeliverySystemDescriptor { } } ::windows_core::imp::interface_hierarchy!(IDvbTerrestrialDeliverySystemDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvbTerrestrialDeliverySystemDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvbTerrestrialDeliverySystemDescriptor {} -impl ::core::fmt::Debug for IDvbTerrestrialDeliverySystemDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvbTerrestrialDeliverySystemDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvbTerrestrialDeliverySystemDescriptor { type Vtable = IDvbTerrestrialDeliverySystemDescriptor_Vtbl; } -impl ::core::clone::Clone for IDvbTerrestrialDeliverySystemDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvbTerrestrialDeliverySystemDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed7e1b91_d12e_420c_b41d_a49d84fe1823); } @@ -9180,6 +7638,7 @@ pub struct IDvbTerrestrialDeliverySystemDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESCloseMmiEvent(::windows_core::IUnknown); impl IESCloseMmiEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9209,25 +7668,9 @@ impl IESCloseMmiEvent { } } ::windows_core::imp::interface_hierarchy!(IESCloseMmiEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESCloseMmiEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESCloseMmiEvent {} -impl ::core::fmt::Debug for IESCloseMmiEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESCloseMmiEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESCloseMmiEvent { type Vtable = IESCloseMmiEvent_Vtbl; } -impl ::core::clone::Clone for IESCloseMmiEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESCloseMmiEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b80e96f_55e2_45aa_b754_0c23c8e7d5c1); } @@ -9239,6 +7682,7 @@ pub struct IESCloseMmiEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESEventFactory(::windows_core::IUnknown); impl IESEventFactory { pub unsafe fn CreateESEvent(&self, pserviceprovider: P0, dweventid: u32, guideventtype: ::windows_core::GUID, peventdata: &[u8], bstrbaseurl: P1, pinitcontext: P2) -> ::windows_core::Result @@ -9252,25 +7696,9 @@ impl IESEventFactory { } } ::windows_core::imp::interface_hierarchy!(IESEventFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IESEventFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESEventFactory {} -impl ::core::fmt::Debug for IESEventFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESEventFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESEventFactory { type Vtable = IESEventFactory_Vtbl; } -impl ::core::clone::Clone for IESEventFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESEventFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x506a09b8_7f86_4e04_ac05_3303bfe8fc49); } @@ -9282,6 +7710,7 @@ pub struct IESEventFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESEventService(::windows_core::IUnknown); impl IESEventService { pub unsafe fn FireESEvent(&self, pesevent: P0) -> ::windows_core::Result<()> @@ -9292,25 +7721,9 @@ impl IESEventService { } } ::windows_core::imp::interface_hierarchy!(IESEventService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IESEventService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESEventService {} -impl ::core::fmt::Debug for IESEventService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESEventService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESEventService { type Vtable = IESEventService_Vtbl; } -impl ::core::clone::Clone for IESEventService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESEventService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed89a619_4c06_4b2f_99eb_c7669b13047c); } @@ -9322,6 +7735,7 @@ pub struct IESEventService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESEventServiceConfiguration(::windows_core::IUnknown); impl IESEventServiceConfiguration { pub unsafe fn SetParent(&self, peventservice: P0) -> ::windows_core::Result<()> @@ -9356,24 +7770,8 @@ impl IESEventServiceConfiguration { } } ::windows_core::imp::interface_hierarchy!(IESEventServiceConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IESEventServiceConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESEventServiceConfiguration {} -impl ::core::fmt::Debug for IESEventServiceConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESEventServiceConfiguration").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IESEventServiceConfiguration { - type Vtable = IESEventServiceConfiguration_Vtbl; -} -impl ::core::clone::Clone for IESEventServiceConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IESEventServiceConfiguration { + type Vtable = IESEventServiceConfiguration_Vtbl; } unsafe impl ::windows_core::ComInterface for IESEventServiceConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33b9daae_9309_491d_a051_bcad2a70cd66); @@ -9391,6 +7789,7 @@ pub struct IESEventServiceConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESFileExpiryDateEvent(::windows_core::IUnknown); impl IESFileExpiryDateEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9444,25 +7843,9 @@ impl IESFileExpiryDateEvent { } } ::windows_core::imp::interface_hierarchy!(IESFileExpiryDateEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESFileExpiryDateEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESFileExpiryDateEvent {} -impl ::core::fmt::Debug for IESFileExpiryDateEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESFileExpiryDateEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESFileExpiryDateEvent { type Vtable = IESFileExpiryDateEvent_Vtbl; } -impl ::core::clone::Clone for IESFileExpiryDateEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESFileExpiryDateEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba9edcb6_4d36_4cfe_8c56_87a6b0ca48e1); } @@ -9485,6 +7868,7 @@ pub struct IESFileExpiryDateEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESIsdbCasResponseEvent(::windows_core::IUnknown); impl IESIsdbCasResponseEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9528,25 +7912,9 @@ impl IESIsdbCasResponseEvent { } } ::windows_core::imp::interface_hierarchy!(IESIsdbCasResponseEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESIsdbCasResponseEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESIsdbCasResponseEvent {} -impl ::core::fmt::Debug for IESIsdbCasResponseEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESIsdbCasResponseEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESIsdbCasResponseEvent { type Vtable = IESIsdbCasResponseEvent_Vtbl; } -impl ::core::clone::Clone for IESIsdbCasResponseEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESIsdbCasResponseEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2017cb03_dc0f_4c24_83ca_36307b2cd19f); } @@ -9564,6 +7932,7 @@ pub struct IESIsdbCasResponseEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESLicenseRenewalResultEvent(::windows_core::IUnknown); impl IESLicenseRenewalResultEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9639,25 +8008,9 @@ impl IESLicenseRenewalResultEvent { } } ::windows_core::imp::interface_hierarchy!(IESLicenseRenewalResultEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESLicenseRenewalResultEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESLicenseRenewalResultEvent {} -impl ::core::fmt::Debug for IESLicenseRenewalResultEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESLicenseRenewalResultEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESLicenseRenewalResultEvent { type Vtable = IESLicenseRenewalResultEvent_Vtbl; } -impl ::core::clone::Clone for IESLicenseRenewalResultEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESLicenseRenewalResultEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5a48ef5_a81b_4df0_acaa_5e35e7ea45d4); } @@ -9688,6 +8041,7 @@ pub struct IESLicenseRenewalResultEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESOpenMmiEvent(::windows_core::IUnknown); impl IESOpenMmiEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9729,25 +8083,9 @@ impl IESOpenMmiEvent { } } ::windows_core::imp::interface_hierarchy!(IESOpenMmiEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESOpenMmiEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESOpenMmiEvent {} -impl ::core::fmt::Debug for IESOpenMmiEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESOpenMmiEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESOpenMmiEvent { type Vtable = IESOpenMmiEvent_Vtbl; } -impl ::core::clone::Clone for IESOpenMmiEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESOpenMmiEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba4b6526_1a35_4635_8b56_3ec612746a8c); } @@ -9765,6 +8103,7 @@ pub struct IESOpenMmiEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESRequestTunerEvent(::windows_core::IUnknown); impl IESRequestTunerEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9806,25 +8145,9 @@ impl IESRequestTunerEvent { } } ::windows_core::imp::interface_hierarchy!(IESRequestTunerEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESRequestTunerEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESRequestTunerEvent {} -impl ::core::fmt::Debug for IESRequestTunerEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESRequestTunerEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESRequestTunerEvent { type Vtable = IESRequestTunerEvent_Vtbl; } -impl ::core::clone::Clone for IESRequestTunerEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESRequestTunerEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54c7a5e8_c3bb_4f51_af14_e0e2c0e34c6d); } @@ -9839,6 +8162,7 @@ pub struct IESRequestTunerEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESValueUpdatedEvent(::windows_core::IUnknown); impl IESValueUpdatedEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -9870,25 +8194,9 @@ impl IESValueUpdatedEvent { } } ::windows_core::imp::interface_hierarchy!(IESValueUpdatedEvent, ::windows_core::IUnknown, super::IESEvent); -impl ::core::cmp::PartialEq for IESValueUpdatedEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESValueUpdatedEvent {} -impl ::core::fmt::Debug for IESValueUpdatedEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESValueUpdatedEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESValueUpdatedEvent { type Vtable = IESValueUpdatedEvent_Vtbl; } -impl ::core::clone::Clone for IESValueUpdatedEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESValueUpdatedEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a24c46e_bb63_4664_8602_5d9c718c146d); } @@ -9903,6 +8211,7 @@ pub struct IESValueUpdatedEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IETFilter(::windows_core::IUnknown); impl IETFilter { pub unsafe fn EvalRatObjOK(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -9929,25 +8238,9 @@ impl IETFilter { } } ::windows_core::imp::interface_hierarchy!(IETFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IETFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IETFilter {} -impl ::core::fmt::Debug for IETFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IETFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IETFilter { type Vtable = IETFilter_Vtbl; } -impl ::core::clone::Clone for IETFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IETFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4b1_0049_4e2b_98fb_9537f6ce516d); } @@ -9966,6 +8259,7 @@ pub struct IETFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IETFilterConfig(::windows_core::IUnknown); impl IETFilterConfig { pub unsafe fn InitLicense(&self, licenseid: i32) -> ::windows_core::Result<()> { @@ -9977,25 +8271,9 @@ impl IETFilterConfig { } } ::windows_core::imp::interface_hierarchy!(IETFilterConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IETFilterConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IETFilterConfig {} -impl ::core::fmt::Debug for IETFilterConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IETFilterConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IETFilterConfig { type Vtable = IETFilterConfig_Vtbl; } -impl ::core::clone::Clone for IETFilterConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IETFilterConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4d1_0049_4e2b_98fb_9537f6ce516d); } @@ -10009,36 +8287,17 @@ pub struct IETFilterConfig_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IETFilterEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IETFilterEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IETFilterEvents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IETFilterEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IETFilterEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IETFilterEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IETFilterEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IETFilterEvents { type Vtable = IETFilterEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IETFilterEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IETFilterEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4c1_0049_4e2b_98fb_9537f6ce516d); } @@ -10050,6 +8309,7 @@ pub struct IETFilterEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumComponentTypes(::windows_core::IUnknown); impl IEnumComponentTypes { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10069,25 +8329,9 @@ impl IEnumComponentTypes { } } ::windows_core::imp::interface_hierarchy!(IEnumComponentTypes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumComponentTypes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumComponentTypes {} -impl ::core::fmt::Debug for IEnumComponentTypes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumComponentTypes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumComponentTypes { type Vtable = IEnumComponentTypes_Vtbl; } -impl ::core::clone::Clone for IEnumComponentTypes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumComponentTypes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a674b4a_1f63_11d3_b64c_00c04f79498e); } @@ -10105,6 +8349,7 @@ pub struct IEnumComponentTypes_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumComponents(::windows_core::IUnknown); impl IEnumComponents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10124,25 +8369,9 @@ impl IEnumComponents { } } ::windows_core::imp::interface_hierarchy!(IEnumComponents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumComponents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumComponents {} -impl ::core::fmt::Debug for IEnumComponents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumComponents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumComponents { type Vtable = IEnumComponents_Vtbl; } -impl ::core::clone::Clone for IEnumComponents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumComponents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a6e2939_2595_11d3_b64c_00c04f79498e); } @@ -10160,6 +8389,7 @@ pub struct IEnumComponents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumGuideDataProperties(::windows_core::IUnknown); impl IEnumGuideDataProperties { pub unsafe fn Next(&self, celt: u32, ppprop: *mut ::core::option::Option, pcelt: *mut u32) -> ::windows_core::Result<()> { @@ -10177,25 +8407,9 @@ impl IEnumGuideDataProperties { } } ::windows_core::imp::interface_hierarchy!(IEnumGuideDataProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumGuideDataProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumGuideDataProperties {} -impl ::core::fmt::Debug for IEnumGuideDataProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumGuideDataProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumGuideDataProperties { type Vtable = IEnumGuideDataProperties_Vtbl; } -impl ::core::clone::Clone for IEnumGuideDataProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumGuideDataProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae44423b_4571_475c_ad2c_f40a771d80ef); } @@ -10210,6 +8424,7 @@ pub struct IEnumGuideDataProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMSVidGraphSegment(::windows_core::IUnknown); impl IEnumMSVidGraphSegment { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10229,25 +8444,9 @@ impl IEnumMSVidGraphSegment { } } ::windows_core::imp::interface_hierarchy!(IEnumMSVidGraphSegment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMSVidGraphSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMSVidGraphSegment {} -impl ::core::fmt::Debug for IEnumMSVidGraphSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMSVidGraphSegment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMSVidGraphSegment { type Vtable = IEnumMSVidGraphSegment_Vtbl; } -impl ::core::clone::Clone for IEnumMSVidGraphSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMSVidGraphSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dd2903e_e0aa_11d2_b63a_00c04f79498e); } @@ -10265,6 +8464,7 @@ pub struct IEnumMSVidGraphSegment_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumStreamBufferRecordingAttrib(::windows_core::IUnknown); impl IEnumStreamBufferRecordingAttrib { pub unsafe fn Next(&self, pstreambufferattribute: &mut [STREAMBUFFER_ATTRIBUTE], pcreceived: *mut u32) -> ::windows_core::Result<()> { @@ -10282,25 +8482,9 @@ impl IEnumStreamBufferRecordingAttrib { } } ::windows_core::imp::interface_hierarchy!(IEnumStreamBufferRecordingAttrib, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumStreamBufferRecordingAttrib { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumStreamBufferRecordingAttrib {} -impl ::core::fmt::Debug for IEnumStreamBufferRecordingAttrib { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumStreamBufferRecordingAttrib").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumStreamBufferRecordingAttrib { type Vtable = IEnumStreamBufferRecordingAttrib_Vtbl; } -impl ::core::clone::Clone for IEnumStreamBufferRecordingAttrib { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumStreamBufferRecordingAttrib { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc18a9162_1e82_4142_8c73_5690fa62fe33); } @@ -10315,6 +8499,7 @@ pub struct IEnumStreamBufferRecordingAttrib_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTuneRequests(::windows_core::IUnknown); impl IEnumTuneRequests { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10334,25 +8519,9 @@ impl IEnumTuneRequests { } } ::windows_core::imp::interface_hierarchy!(IEnumTuneRequests, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTuneRequests { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTuneRequests {} -impl ::core::fmt::Debug for IEnumTuneRequests { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTuneRequests").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTuneRequests { type Vtable = IEnumTuneRequests_Vtbl; } -impl ::core::clone::Clone for IEnumTuneRequests { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTuneRequests { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1993299c_ced6_4788_87a3_420067dce0c7); } @@ -10370,6 +8539,7 @@ pub struct IEnumTuneRequests_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTuningSpaces(::windows_core::IUnknown); impl IEnumTuningSpaces { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10389,25 +8559,9 @@ impl IEnumTuningSpaces { } } ::windows_core::imp::interface_hierarchy!(IEnumTuningSpaces, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTuningSpaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTuningSpaces {} -impl ::core::fmt::Debug for IEnumTuningSpaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTuningSpaces").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTuningSpaces { type Vtable = IEnumTuningSpaces_Vtbl; } -impl ::core::clone::Clone for IEnumTuningSpaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTuningSpaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b8eb248_fc2b_11d2_9d8c_00c04f72d980); } @@ -10426,6 +8580,7 @@ pub struct IEnumTuningSpaces_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEvalRat(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEvalRat { @@ -10460,30 +8615,10 @@ impl IEvalRat { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEvalRat, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEvalRat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEvalRat {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEvalRat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEvalRat").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEvalRat { type Vtable = IEvalRat_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEvalRat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEvalRat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5c5c5b1_3abc_11d6_b25b_00c04fa0c026); } @@ -10507,6 +8642,7 @@ pub struct IEvalRat_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGenericDescriptor(::windows_core::IUnknown); impl IGenericDescriptor { pub unsafe fn Initialize(&self, pbdesc: *const u8, bcount: i32) -> ::windows_core::Result<()> { @@ -10526,25 +8662,9 @@ impl IGenericDescriptor { } } ::windows_core::imp::interface_hierarchy!(IGenericDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGenericDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGenericDescriptor {} -impl ::core::fmt::Debug for IGenericDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGenericDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGenericDescriptor { type Vtable = IGenericDescriptor_Vtbl; } -impl ::core::clone::Clone for IGenericDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGenericDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a5918f8_a77a_4f61_aed0_5702bdcda3e6); } @@ -10559,6 +8679,7 @@ pub struct IGenericDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGenericDescriptor2(::windows_core::IUnknown); impl IGenericDescriptor2 { pub unsafe fn Initialize(&self, pbdesc: *const u8, bcount: i32) -> ::windows_core::Result<()> { @@ -10585,25 +8706,9 @@ impl IGenericDescriptor2 { } } ::windows_core::imp::interface_hierarchy!(IGenericDescriptor2, ::windows_core::IUnknown, IGenericDescriptor); -impl ::core::cmp::PartialEq for IGenericDescriptor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGenericDescriptor2 {} -impl ::core::fmt::Debug for IGenericDescriptor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGenericDescriptor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGenericDescriptor2 { type Vtable = IGenericDescriptor2_Vtbl; } -impl ::core::clone::Clone for IGenericDescriptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGenericDescriptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf02fb7e_9792_4e10_a68d_033a2cc246a5); } @@ -10616,6 +8721,7 @@ pub struct IGenericDescriptor2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGpnvsCommonBase(::windows_core::IUnknown); impl IGpnvsCommonBase { pub unsafe fn GetValueUpdateName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -10624,25 +8730,9 @@ impl IGpnvsCommonBase { } } ::windows_core::imp::interface_hierarchy!(IGpnvsCommonBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGpnvsCommonBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGpnvsCommonBase {} -impl ::core::fmt::Debug for IGpnvsCommonBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGpnvsCommonBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGpnvsCommonBase { type Vtable = IGpnvsCommonBase_Vtbl; } -impl ::core::clone::Clone for IGpnvsCommonBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGpnvsCommonBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x907e0b5c_e42d_4f04_91f0_26f401f36907); } @@ -10654,6 +8744,7 @@ pub struct IGpnvsCommonBase_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuideData(::windows_core::IUnknown); impl IGuideData { pub unsafe fn GetServices(&self) -> ::windows_core::Result { @@ -10695,25 +8786,9 @@ impl IGuideData { } } ::windows_core::imp::interface_hierarchy!(IGuideData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGuideData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGuideData {} -impl ::core::fmt::Debug for IGuideData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGuideData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGuideData { type Vtable = IGuideData_Vtbl; } -impl ::core::clone::Clone for IGuideData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuideData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61571138_5b01_43cd_aeaf_60b784a0bf93); } @@ -10745,6 +8820,7 @@ pub struct IGuideData_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuideDataEvent(::windows_core::IUnknown); impl IGuideDataEvent { pub unsafe fn GuideDataAcquired(&self) -> ::windows_core::Result<()> { @@ -10782,25 +8858,9 @@ impl IGuideDataEvent { } } ::windows_core::imp::interface_hierarchy!(IGuideDataEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGuideDataEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGuideDataEvent {} -impl ::core::fmt::Debug for IGuideDataEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGuideDataEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGuideDataEvent { type Vtable = IGuideDataEvent_Vtbl; } -impl ::core::clone::Clone for IGuideDataEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuideDataEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefda0c80_f395_42c3_9b3c_56b37dec7bb7); } @@ -10836,6 +8896,7 @@ pub struct IGuideDataEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuideDataLoader(::windows_core::IUnknown); impl IGuideDataLoader { pub unsafe fn Init(&self, pguidestore: P0) -> ::windows_core::Result<()> @@ -10849,25 +8910,9 @@ impl IGuideDataLoader { } } ::windows_core::imp::interface_hierarchy!(IGuideDataLoader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGuideDataLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGuideDataLoader {} -impl ::core::fmt::Debug for IGuideDataLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGuideDataLoader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGuideDataLoader { type Vtable = IGuideDataLoader_Vtbl; } -impl ::core::clone::Clone for IGuideDataLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuideDataLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4764ff7c_fa95_4525_af4d_d32236db9e38); } @@ -10880,6 +8925,7 @@ pub struct IGuideDataLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGuideDataProperty(::windows_core::IUnknown); impl IGuideDataProperty { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -10898,25 +8944,9 @@ impl IGuideDataProperty { } } ::windows_core::imp::interface_hierarchy!(IGuideDataProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGuideDataProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGuideDataProperty {} -impl ::core::fmt::Debug for IGuideDataProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGuideDataProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGuideDataProperty { type Vtable = IGuideDataProperty_Vtbl; } -impl ::core::clone::Clone for IGuideDataProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGuideDataProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88ec5e58_bb73_41d6_99ce_66c524b8b591); } @@ -10934,6 +8964,7 @@ pub struct IGuideDataProperty_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDBSLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IISDBSLocator { @@ -11038,30 +9069,10 @@ impl IISDBSLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IISDBSLocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IISDBSLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IISDBSLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IISDBSLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDBSLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IISDBSLocator { type Vtable = IISDBSLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IISDBSLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IISDBSLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9897087_e29c_473f_9e4b_7072123dea14); } @@ -11073,6 +9084,7 @@ pub struct IISDBSLocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_BIT(::windows_core::IUnknown); impl IISDB_BIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11130,25 +9142,9 @@ impl IISDB_BIT { } } ::windows_core::imp::interface_hierarchy!(IISDB_BIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_BIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_BIT {} -impl ::core::fmt::Debug for IISDB_BIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_BIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_BIT { type Vtable = IISDB_BIT_Vtbl; } -impl ::core::clone::Clone for IISDB_BIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_BIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x537cd71e_0e46_4173_9001_ba043f3e49e2); } @@ -11172,6 +9168,7 @@ pub struct IISDB_BIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_CDT(::windows_core::IUnknown); impl IISDB_CDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1, bsectionnumber: u8) -> ::windows_core::Result<()> @@ -11226,25 +9223,9 @@ impl IISDB_CDT { } } ::windows_core::imp::interface_hierarchy!(IISDB_CDT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_CDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_CDT {} -impl ::core::fmt::Debug for IISDB_CDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_CDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_CDT { type Vtable = IISDB_CDT_Vtbl; } -impl ::core::clone::Clone for IISDB_CDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_CDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25fa92c2_8b80_4787_a841_3a0e8f17984b); } @@ -11267,6 +9248,7 @@ pub struct IISDB_CDT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_EMM(::windows_core::IUnknown); impl IISDB_EMM { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11302,25 +9284,9 @@ impl IISDB_EMM { } } ::windows_core::imp::interface_hierarchy!(IISDB_EMM, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_EMM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_EMM {} -impl ::core::fmt::Debug for IISDB_EMM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_EMM").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_EMM { type Vtable = IISDB_EMM_Vtbl; } -impl ::core::clone::Clone for IISDB_EMM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_EMM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0edb556d_43ad_4938_9668_321b2ffecfd3); } @@ -11338,6 +9304,7 @@ pub struct IISDB_EMM_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_LDT(::windows_core::IUnknown); impl IISDB_LDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11388,25 +9355,9 @@ impl IISDB_LDT { } } ::windows_core::imp::interface_hierarchy!(IISDB_LDT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_LDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_LDT {} -impl ::core::fmt::Debug for IISDB_LDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_LDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_LDT { type Vtable = IISDB_LDT_Vtbl; } -impl ::core::clone::Clone for IISDB_LDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_LDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x141a546b_02ff_4fb9_a3a3_2f074b74a9a9); } @@ -11428,6 +9379,7 @@ pub struct IISDB_LDT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_NBIT(::windows_core::IUnknown); impl IISDB_NBIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11488,31 +9440,15 @@ impl IISDB_NBIT { pub unsafe fn GetRecordDescriptorByTag(&self, dwrecordindex: u32, btag: u8, pdwcookie: ::core::option::Option<*mut u32>, ppdescriptor: *mut ::core::option::Option) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetRecordDescriptorByTag)(::windows_core::Interface::as_raw(self), dwrecordindex, btag, ::core::mem::transmute(pdwcookie.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdescriptor)).ok() } - pub unsafe fn GetVersionHash(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetVersionHash)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IISDB_NBIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_NBIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_NBIT {} -impl ::core::fmt::Debug for IISDB_NBIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_NBIT").field(&self.0).finish() + pub unsafe fn GetVersionHash(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetVersionHash)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IISDB_NBIT, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IISDB_NBIT { type Vtable = IISDB_NBIT_Vtbl; } -impl ::core::clone::Clone for IISDB_NBIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_NBIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b1863ef_08f1_40b7_a559_3b1eff8cafa6); } @@ -11538,6 +9474,7 @@ pub struct IISDB_NBIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_SDT(::windows_core::IUnknown); impl IISDB_SDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11633,25 +9570,9 @@ impl IISDB_SDT { } } ::windows_core::imp::interface_hierarchy!(IISDB_SDT, ::windows_core::IUnknown, IDVB_SDT); -impl ::core::cmp::PartialEq for IISDB_SDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_SDT {} -impl ::core::fmt::Debug for IISDB_SDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_SDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_SDT { type Vtable = IISDB_SDT_Vtbl; } -impl ::core::clone::Clone for IISDB_SDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_SDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f3dc9a2_bb32_4fb9_ae9e_d856848927a3); } @@ -11663,6 +9584,7 @@ pub struct IISDB_SDT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IISDB_SDTT(::windows_core::IUnknown); impl IISDB_SDTT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -11749,25 +9671,9 @@ impl IISDB_SDTT { } } ::windows_core::imp::interface_hierarchy!(IISDB_SDTT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IISDB_SDTT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IISDB_SDTT {} -impl ::core::fmt::Debug for IISDB_SDTT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IISDB_SDTT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IISDB_SDTT { type Vtable = IISDB_SDTT_Vtbl; } -impl ::core::clone::Clone for IISDB_SDTT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IISDB_SDTT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee60ef2d_813a_4dc7_bf92_ea13dac85313); } @@ -11798,6 +9704,7 @@ pub struct IISDB_SDTT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbAudioComponentDescriptor(::windows_core::IUnknown); impl IIsdbAudioComponentDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -11860,25 +9767,9 @@ impl IIsdbAudioComponentDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbAudioComponentDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbAudioComponentDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbAudioComponentDescriptor {} -impl ::core::fmt::Debug for IIsdbAudioComponentDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbAudioComponentDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbAudioComponentDescriptor { type Vtable = IIsdbAudioComponentDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbAudioComponentDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbAudioComponentDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x679d2002_2425_4be4_a4c7_d6632a574f4d); } @@ -11909,6 +9800,7 @@ pub struct IIsdbAudioComponentDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbCAContractInformationDescriptor(::windows_core::IUnknown); impl IIsdbCAContractInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -11949,25 +9841,9 @@ impl IIsdbCAContractInformationDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbCAContractInformationDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbCAContractInformationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbCAContractInformationDescriptor {} -impl ::core::fmt::Debug for IIsdbCAContractInformationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbCAContractInformationDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbCAContractInformationDescriptor { type Vtable = IIsdbCAContractInformationDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbCAContractInformationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbCAContractInformationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08e18b25_a28f_4e92_821e_4fced5cc2291); } @@ -11987,6 +9863,7 @@ pub struct IIsdbCAContractInformationDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbCADescriptor(::windows_core::IUnknown); impl IIsdbCADescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12014,25 +9891,9 @@ impl IIsdbCADescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbCADescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbCADescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbCADescriptor {} -impl ::core::fmt::Debug for IIsdbCADescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbCADescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbCADescriptor { type Vtable = IIsdbCADescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbCADescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbCADescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0570aa47_52bc_42ae_8ca5_969f41e81aea); } @@ -12049,6 +9910,7 @@ pub struct IIsdbCADescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbCAServiceDescriptor(::windows_core::IUnknown); impl IIsdbCAServiceDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12076,25 +9938,9 @@ impl IIsdbCAServiceDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbCAServiceDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbCAServiceDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbCAServiceDescriptor {} -impl ::core::fmt::Debug for IIsdbCAServiceDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbCAServiceDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbCAServiceDescriptor { type Vtable = IIsdbCAServiceDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbCAServiceDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbCAServiceDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39cbeb97_ff0b_42a7_9ab9_7b9cfe70a77a); } @@ -12111,6 +9957,7 @@ pub struct IIsdbCAServiceDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbComponentGroupDescriptor(::windows_core::IUnknown); impl IIsdbComponentGroupDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12159,25 +10006,9 @@ impl IIsdbComponentGroupDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbComponentGroupDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbComponentGroupDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbComponentGroupDescriptor {} -impl ::core::fmt::Debug for IIsdbComponentGroupDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbComponentGroupDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbComponentGroupDescriptor { type Vtable = IIsdbComponentGroupDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbComponentGroupDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbComponentGroupDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa494f17f_c592_47d8_8943_64c9a34be7b9); } @@ -12199,6 +10030,7 @@ pub struct IIsdbComponentGroupDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbDataContentDescriptor(::windows_core::IUnknown); impl IIsdbDataContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12242,25 +10074,9 @@ impl IIsdbDataContentDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbDataContentDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbDataContentDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbDataContentDescriptor {} -impl ::core::fmt::Debug for IIsdbDataContentDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbDataContentDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbDataContentDescriptor { type Vtable = IIsdbDataContentDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbDataContentDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbDataContentDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa428100a_e646_4bd6_aa14_6087bdc08cd5); } @@ -12281,6 +10097,7 @@ pub struct IIsdbDataContentDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbDigitalCopyControlDescriptor(::windows_core::IUnknown); impl IIsdbDigitalCopyControlDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12303,25 +10120,9 @@ impl IIsdbDigitalCopyControlDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbDigitalCopyControlDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbDigitalCopyControlDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbDigitalCopyControlDescriptor {} -impl ::core::fmt::Debug for IIsdbDigitalCopyControlDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbDigitalCopyControlDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbDigitalCopyControlDescriptor { type Vtable = IIsdbDigitalCopyControlDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbDigitalCopyControlDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbDigitalCopyControlDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a28417e_266a_4bb8_a4bd_d782bcfb8161); } @@ -12337,6 +10138,7 @@ pub struct IIsdbDigitalCopyControlDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbDownloadContentDescriptor(::windows_core::IUnknown); impl IIsdbDownloadContentDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12409,25 +10211,9 @@ impl IIsdbDownloadContentDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbDownloadContentDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbDownloadContentDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbDownloadContentDescriptor {} -impl ::core::fmt::Debug for IIsdbDownloadContentDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbDownloadContentDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbDownloadContentDescriptor { type Vtable = IIsdbDownloadContentDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbDownloadContentDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbDownloadContentDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5298661e_cb88_4f5f_a1de_5f440c185b92); } @@ -12458,6 +10244,7 @@ pub struct IIsdbDownloadContentDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbEmergencyInformationDescriptor(::windows_core::IUnknown); impl IIsdbEmergencyInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12489,25 +10276,9 @@ impl IIsdbEmergencyInformationDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbEmergencyInformationDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbEmergencyInformationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbEmergencyInformationDescriptor {} -impl ::core::fmt::Debug for IIsdbEmergencyInformationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbEmergencyInformationDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbEmergencyInformationDescriptor { type Vtable = IIsdbEmergencyInformationDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbEmergencyInformationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbEmergencyInformationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba6fa681_b973_4da1_9207_ac3e7f0341eb); } @@ -12525,6 +10296,7 @@ pub struct IIsdbEmergencyInformationDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbEventGroupDescriptor(::windows_core::IUnknown); impl IIsdbEventGroupDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12555,25 +10327,9 @@ impl IIsdbEventGroupDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbEventGroupDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbEventGroupDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbEventGroupDescriptor {} -impl ::core::fmt::Debug for IIsdbEventGroupDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbEventGroupDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbEventGroupDescriptor { type Vtable = IIsdbEventGroupDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbEventGroupDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbEventGroupDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94b06780_2e2a_44dc_a966_cc56fdabc6c2); } @@ -12591,6 +10347,7 @@ pub struct IIsdbEventGroupDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbHierarchicalTransmissionDescriptor(::windows_core::IUnknown); impl IIsdbHierarchicalTransmissionDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12619,25 +10376,9 @@ impl IIsdbHierarchicalTransmissionDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbHierarchicalTransmissionDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbHierarchicalTransmissionDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbHierarchicalTransmissionDescriptor {} -impl ::core::fmt::Debug for IIsdbHierarchicalTransmissionDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbHierarchicalTransmissionDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbHierarchicalTransmissionDescriptor { type Vtable = IIsdbHierarchicalTransmissionDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbHierarchicalTransmissionDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbHierarchicalTransmissionDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7b3ae90_ee0b_446d_8769_f7e2aa266aa6); } @@ -12654,6 +10395,7 @@ pub struct IIsdbHierarchicalTransmissionDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbLogoTransmissionDescriptor(::windows_core::IUnknown); impl IIsdbLogoTransmissionDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12686,25 +10428,9 @@ impl IIsdbLogoTransmissionDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbLogoTransmissionDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbLogoTransmissionDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbLogoTransmissionDescriptor {} -impl ::core::fmt::Debug for IIsdbLogoTransmissionDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbLogoTransmissionDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbLogoTransmissionDescriptor { type Vtable = IIsdbLogoTransmissionDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbLogoTransmissionDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbLogoTransmissionDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0103f49_4ae1_4f07_9098_756db1fa88cd); } @@ -12722,6 +10448,7 @@ pub struct IIsdbLogoTransmissionDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbSIParameterDescriptor(::windows_core::IUnknown); impl IIsdbSIParameterDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12757,25 +10484,9 @@ impl IIsdbSIParameterDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbSIParameterDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbSIParameterDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbSIParameterDescriptor {} -impl ::core::fmt::Debug for IIsdbSIParameterDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbSIParameterDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbSIParameterDescriptor { type Vtable = IIsdbSIParameterDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbSIParameterDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbSIParameterDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf837dc36_867c_426a_9111_f62093951a45); } @@ -12794,6 +10505,7 @@ pub struct IIsdbSIParameterDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbSeriesDescriptor(::windows_core::IUnknown); impl IIsdbSeriesDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -12835,25 +10547,9 @@ impl IIsdbSeriesDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbSeriesDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbSeriesDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbSeriesDescriptor {} -impl ::core::fmt::Debug for IIsdbSeriesDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbSeriesDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbSeriesDescriptor { type Vtable = IIsdbSeriesDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbSeriesDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbSeriesDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07ef6370_1660_4f26_87fc_614adab24b11); } @@ -12876,6 +10572,7 @@ pub struct IIsdbSeriesDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbSiParser2(::windows_core::IUnknown); impl IIsdbSiParser2 { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> ::windows_core::Result<()> @@ -12974,25 +10671,9 @@ impl IIsdbSiParser2 { } } ::windows_core::imp::interface_hierarchy!(IIsdbSiParser2, ::windows_core::IUnknown, IDvbSiParser, IDvbSiParser2); -impl ::core::cmp::PartialEq for IIsdbSiParser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbSiParser2 {} -impl ::core::fmt::Debug for IIsdbSiParser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbSiParser2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbSiParser2 { type Vtable = IIsdbSiParser2_Vtbl; } -impl ::core::clone::Clone for IIsdbSiParser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbSiParser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x900e4bb7_18cd_453f_98be_3be6aa211772); } @@ -13010,6 +10691,7 @@ pub struct IIsdbSiParser2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbTSInformationDescriptor(::windows_core::IUnknown); impl IIsdbTSInformationDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -13046,25 +10728,9 @@ impl IIsdbTSInformationDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbTSInformationDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbTSInformationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbTSInformationDescriptor {} -impl ::core::fmt::Debug for IIsdbTSInformationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbTSInformationDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbTSInformationDescriptor { type Vtable = IIsdbTSInformationDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbTSInformationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbTSInformationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7ad183e_38f5_4210_b55f_ec8d601bbd47); } @@ -13083,6 +10749,7 @@ pub struct IIsdbTSInformationDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsdbTerrestrialDeliverySystemDescriptor(::windows_core::IUnknown); impl IIsdbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -13115,25 +10782,9 @@ impl IIsdbTerrestrialDeliverySystemDescriptor { } } ::windows_core::imp::interface_hierarchy!(IIsdbTerrestrialDeliverySystemDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsdbTerrestrialDeliverySystemDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsdbTerrestrialDeliverySystemDescriptor {} -impl ::core::fmt::Debug for IIsdbTerrestrialDeliverySystemDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsdbTerrestrialDeliverySystemDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsdbTerrestrialDeliverySystemDescriptor { type Vtable = IIsdbTerrestrialDeliverySystemDescriptor_Vtbl; } -impl ::core::clone::Clone for IIsdbTerrestrialDeliverySystemDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsdbTerrestrialDeliverySystemDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39fae0a6_d151_44dd_a28a_765de5991670); } @@ -13152,6 +10803,7 @@ pub struct IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageComponentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILanguageComponentType { @@ -13241,30 +10893,10 @@ impl ILanguageComponentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILanguageComponentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILanguageComponentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILanguageComponentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILanguageComponentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageComponentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILanguageComponentType { type Vtable = ILanguageComponentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILanguageComponentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILanguageComponentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb874c8ba_0fa2_11d3_9d8e_00c04f72d980); } @@ -13279,6 +10911,7 @@ pub struct ILanguageComponentType_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILocator { @@ -13341,30 +10974,10 @@ impl ILocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILocator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILocator { type Vtable = ILocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x286d7f89_760c_4f89_80c4_66841d2507aa); } @@ -13395,6 +11008,7 @@ pub struct ILocator_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2Component(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMPEG2Component { @@ -13467,30 +11081,10 @@ impl IMPEG2Component { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMPEG2Component, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMPEG2Component { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMPEG2Component {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMPEG2Component { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2Component").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMPEG2Component { type Vtable = IMPEG2Component_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMPEG2Component { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMPEG2Component { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1493e353_1eb6_473c_802d_8e6b8ec9d2a9); } @@ -13509,6 +11103,7 @@ pub struct IMPEG2Component_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2ComponentType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMPEG2ComponentType { @@ -13605,30 +11200,10 @@ impl IMPEG2ComponentType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMPEG2ComponentType, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMPEG2ComponentType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMPEG2ComponentType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMPEG2ComponentType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2ComponentType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMPEG2ComponentType { type Vtable = IMPEG2ComponentType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMPEG2ComponentType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMPEG2ComponentType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c073d84_b51c_48c9_aa9f_68971e1f6e38); } @@ -13643,6 +11218,7 @@ pub struct IMPEG2ComponentType_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2TuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMPEG2TuneRequest { @@ -13696,30 +11272,10 @@ impl IMPEG2TuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMPEG2TuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMPEG2TuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMPEG2TuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMPEG2TuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2TuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMPEG2TuneRequest { type Vtable = IMPEG2TuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMPEG2TuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMPEG2TuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb7d987f_8a01_42ad_b8ae_574deee44d1a); } @@ -13736,6 +11292,7 @@ pub struct IMPEG2TuneRequest_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2TuneRequestFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMPEG2TuneRequestFactory { @@ -13745,37 +11302,17 @@ impl IMPEG2TuneRequestFactory { where P0: ::windows_core::IntoParam, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).CreateTuneRequest)(::windows_core::Interface::as_raw(self), tuningspace.into_param().abi(), &mut result__).from_abi(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestFactory, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMPEG2TuneRequestFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMPEG2TuneRequestFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMPEG2TuneRequestFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2TuneRequestFactory").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).CreateTuneRequest)(::windows_core::Interface::as_raw(self), tuningspace.into_param().abi(), &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestFactory, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMPEG2TuneRequestFactory { type Vtable = IMPEG2TuneRequestFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMPEG2TuneRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMPEG2TuneRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14e11abd_ee37_4893_9ea1_6964de933e39); } @@ -13791,28 +11328,13 @@ pub struct IMPEG2TuneRequestFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2TuneRequestSupport(::windows_core::IUnknown); impl IMPEG2TuneRequestSupport {} ::windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMPEG2TuneRequestSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMPEG2TuneRequestSupport {} -impl ::core::fmt::Debug for IMPEG2TuneRequestSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2TuneRequestSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMPEG2TuneRequestSupport { type Vtable = IMPEG2TuneRequestSupport_Vtbl; } -impl ::core::clone::Clone for IMPEG2TuneRequestSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMPEG2TuneRequestSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b9d5fc3_5bbc_4b6c_bb18_b9d10e3eeebf); } @@ -13823,6 +11345,7 @@ pub struct IMPEG2TuneRequestSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2_TIF_CONTROL(::windows_core::IUnknown); impl IMPEG2_TIF_CONTROL { pub unsafe fn RegisterTIF(&self, punktif: P0, ppvregistrationcontext: *mut u32) -> ::windows_core::Result<()> @@ -13849,25 +11372,9 @@ impl IMPEG2_TIF_CONTROL { } } ::windows_core::imp::interface_hierarchy!(IMPEG2_TIF_CONTROL, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMPEG2_TIF_CONTROL { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMPEG2_TIF_CONTROL {} -impl ::core::fmt::Debug for IMPEG2_TIF_CONTROL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2_TIF_CONTROL").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMPEG2_TIF_CONTROL { type Vtable = IMPEG2_TIF_CONTROL_Vtbl; } -impl ::core::clone::Clone for IMPEG2_TIF_CONTROL { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMPEG2_TIF_CONTROL { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9bac2f9_4149_4916_b2ef_faa202326862); } @@ -13885,6 +11392,7 @@ pub struct IMPEG2_TIF_CONTROL_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSEventBinder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSEventBinder { @@ -13906,30 +11414,10 @@ impl IMSEventBinder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSEventBinder, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSEventBinder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSEventBinder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSEventBinder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSEventBinder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSEventBinder { type Vtable = IMSEventBinder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSEventBinder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSEventBinder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3a9f406_2222_436d_86d5_ba3229279efb); } @@ -13947,6 +11435,7 @@ pub struct IMSEventBinder_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAnalogTuner(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAnalogTuner { @@ -14081,30 +11570,10 @@ impl IMSVidAnalogTuner { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAnalogTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAnalogTuner {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAnalogTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAnalogTuner").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAnalogTuner { type Vtable = IMSVidAnalogTuner_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAnalogTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAnalogTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d47e_911d_11d2_b632_00c04f79498e); } @@ -14135,6 +11604,7 @@ pub struct IMSVidAnalogTuner_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAnalogTuner2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAnalogTuner2 { @@ -14281,30 +11751,10 @@ impl IMSVidAnalogTuner2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner, IMSVidAnalogTuner); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAnalogTuner2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAnalogTuner2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAnalogTuner2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAnalogTuner2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAnalogTuner2 { type Vtable = IMSVidAnalogTuner2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAnalogTuner2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAnalogTuner2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37647bf7_3dde_4cc8_a4dc_0d534d3d0037); } @@ -14320,6 +11770,7 @@ pub struct IMSVidAnalogTuner2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAnalogTunerEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAnalogTunerEvent { @@ -14335,30 +11786,10 @@ impl IMSVidAnalogTunerEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAnalogTunerEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidTunerEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAnalogTunerEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAnalogTunerEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAnalogTunerEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAnalogTunerEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAnalogTunerEvent { type Vtable = IMSVidAnalogTunerEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAnalogTunerEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAnalogTunerEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d486_911d_11d2_b632_00c04f79498e); } @@ -14371,6 +11802,7 @@ pub struct IMSVidAnalogTunerEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAudioRenderer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRenderer { @@ -14439,30 +11871,10 @@ impl IMSVidAudioRenderer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAudioRenderer, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAudioRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAudioRenderer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAudioRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAudioRenderer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAudioRenderer { type Vtable = IMSVidAudioRenderer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAudioRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAudioRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b0353f_a4c8_11d2_b634_00c04f79498e); } @@ -14479,6 +11891,7 @@ pub struct IMSVidAudioRenderer_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAudioRendererDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRendererDevices { @@ -14515,30 +11928,10 @@ impl IMSVidAudioRendererDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAudioRendererDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAudioRendererDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAudioRendererDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAudioRendererDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAudioRendererDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAudioRendererDevices { type Vtable = IMSVidAudioRendererDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAudioRendererDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAudioRendererDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5702cd4_9b79_11d3_b654_00c04f79498e); } @@ -14568,6 +11961,7 @@ pub struct IMSVidAudioRendererDevices_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAudioRendererEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRendererEvent { @@ -14583,30 +11977,10 @@ impl IMSVidAudioRendererEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAudioRendererEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAudioRendererEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAudioRendererEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAudioRendererEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAudioRendererEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAudioRendererEvent { type Vtable = IMSVidAudioRendererEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAudioRendererEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAudioRendererEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03541_a4c8_11d2_b634_00c04f79498e); } @@ -14619,6 +11993,7 @@ pub struct IMSVidAudioRendererEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidAudioRendererEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidAudioRendererEvent2 { @@ -14658,30 +12033,10 @@ impl IMSVidAudioRendererEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidAudioRendererEvent2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidAudioRendererEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidAudioRendererEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidAudioRendererEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidAudioRendererEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidAudioRendererEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidAudioRendererEvent2 { type Vtable = IMSVidAudioRendererEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidAudioRendererEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidAudioRendererEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3f55729_353b_4c43_a028_50f79aa9a907); } @@ -14702,6 +12057,7 @@ pub struct IMSVidAudioRendererEvent2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidClosedCaptioning(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning { @@ -14770,30 +12126,10 @@ impl IMSVidClosedCaptioning { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidClosedCaptioning { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidClosedCaptioning {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidClosedCaptioning { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidClosedCaptioning").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidClosedCaptioning { type Vtable = IMSVidClosedCaptioning_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidClosedCaptioning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidClosedCaptioning { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99652ea1_c1f7_414f_bb7b_1c967de75983); } @@ -14814,6 +12150,7 @@ pub struct IMSVidClosedCaptioning_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidClosedCaptioning2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning2 { @@ -14889,30 +12226,10 @@ impl IMSVidClosedCaptioning2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidClosedCaptioning2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidClosedCaptioning2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidClosedCaptioning2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidClosedCaptioning2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidClosedCaptioning2 { type Vtable = IMSVidClosedCaptioning2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidClosedCaptioning2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidClosedCaptioning2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe00cb864_a029_4310_9987_a873f5887d97); } @@ -14927,6 +12244,7 @@ pub struct IMSVidClosedCaptioning2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidClosedCaptioning3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidClosedCaptioning3 { @@ -15006,30 +12324,10 @@ impl IMSVidClosedCaptioning3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning, IMSVidClosedCaptioning2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidClosedCaptioning3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidClosedCaptioning3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidClosedCaptioning3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidClosedCaptioning3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidClosedCaptioning3 { type Vtable = IMSVidClosedCaptioning3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidClosedCaptioning3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidClosedCaptioning3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8638e8a_7625_4c51_9366_2f40a9831fc0); } @@ -15043,6 +12341,7 @@ pub struct IMSVidClosedCaptioning3_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidCompositionSegment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidCompositionSegment { @@ -15133,30 +12432,10 @@ impl IMSVidCompositionSegment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidCompositionSegment, ::windows_core::IUnknown, super::super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidCompositionSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidCompositionSegment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidCompositionSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidCompositionSegment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidCompositionSegment { type Vtable = IMSVidCompositionSegment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidCompositionSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidCompositionSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d483_911d_11d2_b632_00c04f79498e); } @@ -15181,6 +12460,7 @@ pub struct IMSVidCompositionSegment_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidCtl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidCtl { @@ -15427,30 +12707,10 @@ impl IMSVidCtl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidCtl, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidCtl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidCtl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidCtl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidCtl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidCtl { type Vtable = IMSVidCtl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidCtl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidCtl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0edf162_910a_11d2_b632_00c04f79498e); } @@ -15590,6 +12850,7 @@ pub struct IMSVidCtl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidDataServices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidDataServices { @@ -15644,30 +12905,10 @@ impl IMSVidDataServices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidDataServices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidDataServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidDataServices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidDataServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidDataServices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidDataServices { type Vtable = IMSVidDataServices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidDataServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidDataServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x334125c1_77e5_11d3_b653_00c04f79498e); } @@ -15680,6 +12921,7 @@ pub struct IMSVidDataServices_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidDataServicesEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidDataServicesEvent { @@ -15695,30 +12937,10 @@ impl IMSVidDataServicesEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidDataServicesEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidDataServicesEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidDataServicesEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidDataServicesEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidDataServicesEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidDataServicesEvent { type Vtable = IMSVidDataServicesEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidDataServicesEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidDataServicesEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x334125c2_77e5_11d3_b653_00c04f79498e); } @@ -15731,6 +12953,7 @@ pub struct IMSVidDataServicesEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidDevice { @@ -15785,30 +13008,10 @@ impl IMSVidDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidDevice, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidDevice { type Vtable = IMSVidDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d47c_911d_11d2_b632_00c04f79498e); } @@ -15838,6 +13041,7 @@ pub struct IMSVidDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidDevice2(::windows_core::IUnknown); impl IMSVidDevice2 { pub unsafe fn DevicePath(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -15846,25 +13050,9 @@ impl IMSVidDevice2 { } } ::windows_core::imp::interface_hierarchy!(IMSVidDevice2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSVidDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSVidDevice2 {} -impl ::core::fmt::Debug for IMSVidDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidDevice2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSVidDevice2 { type Vtable = IMSVidDevice2_Vtbl; } -impl ::core::clone::Clone for IMSVidDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSVidDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87bd2783_ebc0_478c_b4a0_e8e7f43ab78e); } @@ -15877,6 +13065,7 @@ pub struct IMSVidDevice2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidDeviceEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidDeviceEvent { @@ -15885,37 +13074,17 @@ impl IMSVidDeviceEvent { pub unsafe fn StateChange(&self, lpd: P0, oldstate: i32, newstate: i32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, - { - (::windows_core::Interface::vtable(self).StateChange)(::windows_core::Interface::as_raw(self), lpd.into_param().abi(), oldstate, newstate).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IMSVidDeviceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidDeviceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidDeviceEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidDeviceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidDeviceEvent").field(&self.0).finish() + { + (::windows_core::Interface::vtable(self).StateChange)(::windows_core::Interface::as_raw(self), lpd.into_param().abi(), oldstate, newstate).ok() } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IMSVidDeviceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidDeviceEvent { type Vtable = IMSVidDeviceEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidDeviceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidDeviceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d480_911d_11d2_b632_00c04f79498e); } @@ -15932,6 +13101,7 @@ pub struct IMSVidDeviceEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidEVR(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidEVR { @@ -16178,30 +13348,10 @@ impl IMSVidEVR { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidEVR, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidEVR { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidEVR {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidEVR { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidEVR").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidEVR { type Vtable = IMSVidEVR_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidEVR { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidEVR { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15e496ae_82a8_4cf9_a6b6_c561dc60398f); } @@ -16230,6 +13380,7 @@ pub struct IMSVidEVR_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidEVREvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidEVREvent { @@ -16248,30 +13399,10 @@ impl IMSVidEVREvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidEVREvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidEVREvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidEVREvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidEVREvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidEVREvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidEVREvent { type Vtable = IMSVidEVREvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidEVREvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidEVREvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x349abb10_883c_4f22_8714_cecaeee45d62); } @@ -16285,6 +13416,7 @@ pub struct IMSVidEVREvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidEncoder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidEncoder { @@ -16347,30 +13479,10 @@ impl IMSVidEncoder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidEncoder, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidEncoder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidEncoder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidEncoder { type Vtable = IMSVidEncoder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0020fd4_bee7_43d9_a495_9f213117103d); } @@ -16385,6 +13497,7 @@ pub struct IMSVidEncoder_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFeature(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFeature { @@ -16439,30 +13552,10 @@ impl IMSVidFeature { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFeature, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFeature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFeature {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFeature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFeature").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFeature { type Vtable = IMSVidFeature_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFeature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFeature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03547_a4c8_11d2_b634_00c04f79498e); } @@ -16475,6 +13568,7 @@ pub struct IMSVidFeature_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFeatureEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFeatureEvent { @@ -16490,30 +13584,10 @@ impl IMSVidFeatureEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFeatureEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFeatureEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFeatureEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFeatureEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFeatureEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFeatureEvent { type Vtable = IMSVidFeatureEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFeatureEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFeatureEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dd2903c_e0aa_11d2_b63a_00c04f79498e); } @@ -16526,6 +13600,7 @@ pub struct IMSVidFeatureEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFeatures(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFeatures { @@ -16562,30 +13637,10 @@ impl IMSVidFeatures { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFeatures, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFeatures { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFeatures {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFeatures { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFeatures").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFeatures { type Vtable = IMSVidFeatures_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFeatures { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFeatures { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5702cd5_9b79_11d3_b654_00c04f79498e); } @@ -16615,6 +13670,7 @@ pub struct IMSVidFeatures_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFilePlayback(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlayback { @@ -16750,30 +13806,10 @@ impl IMSVidFilePlayback { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFilePlayback, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFilePlayback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFilePlayback {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFilePlayback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFilePlayback").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFilePlayback { type Vtable = IMSVidFilePlayback_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFilePlayback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFilePlayback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03539_a4c8_11d2_b634_00c04f79498e); } @@ -16788,6 +13824,7 @@ pub struct IMSVidFilePlayback_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFilePlayback2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlayback2 { @@ -16932,30 +13969,10 @@ impl IMSVidFilePlayback2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFilePlayback2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFilePlayback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFilePlayback2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFilePlayback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFilePlayback2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFilePlayback2 { type Vtable = IMSVidFilePlayback2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFilePlayback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFilePlayback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f7e44af_6e52_4660_bc08_d8d542587d72); } @@ -16970,6 +13987,7 @@ pub struct IMSVidFilePlayback2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidFilePlaybackEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidFilePlaybackEvent { @@ -16985,30 +14003,10 @@ impl IMSVidFilePlaybackEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidFilePlaybackEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidFilePlaybackEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidFilePlaybackEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidFilePlaybackEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidFilePlaybackEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidFilePlaybackEvent { type Vtable = IMSVidFilePlaybackEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidFilePlaybackEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidFilePlaybackEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b0353a_a4c8_11d2_b634_00c04f79498e); } @@ -17021,6 +14019,7 @@ pub struct IMSVidFilePlaybackEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidGenericSink(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidGenericSink { @@ -17088,30 +14087,10 @@ impl IMSVidGenericSink { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidGenericSink, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidGenericSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidGenericSink {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidGenericSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidGenericSink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidGenericSink { type Vtable = IMSVidGenericSink_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidGenericSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidGenericSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c29b41d_455b_4c33_963a_0d28e5e555ea); } @@ -17127,6 +14106,7 @@ pub struct IMSVidGenericSink_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidGenericSink2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidGenericSink2 { @@ -17203,30 +14183,10 @@ impl IMSVidGenericSink2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidGenericSink2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidGenericSink); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidGenericSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidGenericSink2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidGenericSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidGenericSink2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidGenericSink2 { type Vtable = IMSVidGenericSink2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidGenericSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidGenericSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b5a28f3_47f1_4092_b168_60cabec08f1c); } @@ -17241,6 +14201,7 @@ pub struct IMSVidGenericSink2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidGraphSegment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidGraphSegment { @@ -17310,30 +14271,10 @@ impl IMSVidGraphSegment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidGraphSegment, ::windows_core::IUnknown, super::super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidGraphSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidGraphSegment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidGraphSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidGraphSegment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidGraphSegment { type Vtable = IMSVidGraphSegment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidGraphSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidGraphSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x238dec54_adeb_4005_a349_f772b9afebc4); } @@ -17360,6 +14301,7 @@ pub struct IMSVidGraphSegment_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidGraphSegmentContainer(::windows_core::IUnknown); impl IMSVidGraphSegmentContainer { pub unsafe fn Graph(&self) -> ::windows_core::Result { @@ -17416,25 +14358,9 @@ impl IMSVidGraphSegmentContainer { } } ::windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSVidGraphSegmentContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSVidGraphSegmentContainer {} -impl ::core::fmt::Debug for IMSVidGraphSegmentContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidGraphSegmentContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSVidGraphSegmentContainer { type Vtable = IMSVidGraphSegmentContainer_Vtbl; } -impl ::core::clone::Clone for IMSVidGraphSegmentContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSVidGraphSegmentContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dd2903d_e0aa_11d2_b63a_00c04f79498e); } @@ -17468,6 +14394,7 @@ pub struct IMSVidGraphSegmentContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidGraphSegmentUserInput(::windows_core::IUnknown); impl IMSVidGraphSegmentUserInput { pub unsafe fn Click(&self) -> ::windows_core::Result<()> { @@ -17496,25 +14423,9 @@ impl IMSVidGraphSegmentUserInput { } } ::windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentUserInput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSVidGraphSegmentUserInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSVidGraphSegmentUserInput {} -impl ::core::fmt::Debug for IMSVidGraphSegmentUserInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidGraphSegmentUserInput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSVidGraphSegmentUserInput { type Vtable = IMSVidGraphSegmentUserInput_Vtbl; } -impl ::core::clone::Clone for IMSVidGraphSegmentUserInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSVidGraphSegmentUserInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x301c060e_20d9_4587_9b03_f82ed9a9943c); } @@ -17534,6 +14445,7 @@ pub struct IMSVidGraphSegmentUserInput_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidInputDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevice { @@ -17599,30 +14511,10 @@ impl IMSVidInputDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidInputDevice, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidInputDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidInputDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidInputDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidInputDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidInputDevice { type Vtable = IMSVidInputDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidInputDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidInputDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b0353d_a4c8_11d2_b634_00c04f79498e); } @@ -17643,36 +14535,17 @@ pub struct IMSVidInputDevice_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidInputDeviceEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDeviceEvent {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidInputDeviceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidInputDeviceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidInputDeviceEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidInputDeviceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidInputDeviceEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidInputDeviceEvent { type Vtable = IMSVidInputDeviceEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidInputDeviceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidInputDeviceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b0353e_a4c8_11d2_b634_00c04f79498e); } @@ -17685,6 +14558,7 @@ pub struct IMSVidInputDeviceEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidInputDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidInputDevices { @@ -17721,30 +14595,10 @@ impl IMSVidInputDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidInputDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidInputDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidInputDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidInputDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidInputDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidInputDevices { type Vtable = IMSVidInputDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidInputDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidInputDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5702cd1_9b79_11d3_b654_00c04f79498e); } @@ -17774,6 +14628,7 @@ pub struct IMSVidInputDevices_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidOutputDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidOutputDevice { @@ -17828,30 +14683,10 @@ impl IMSVidOutputDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidOutputDevice, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidOutputDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidOutputDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidOutputDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidOutputDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidOutputDevice { type Vtable = IMSVidOutputDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidOutputDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidOutputDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03546_a4c8_11d2_b634_00c04f79498e); } @@ -17864,6 +14699,7 @@ pub struct IMSVidOutputDevice_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidOutputDeviceEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidOutputDeviceEvent { @@ -17879,30 +14715,10 @@ impl IMSVidOutputDeviceEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidOutputDeviceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidOutputDeviceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidOutputDeviceEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidOutputDeviceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidOutputDeviceEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidOutputDeviceEvent { type Vtable = IMSVidOutputDeviceEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidOutputDeviceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidOutputDeviceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e6a14e2_571c_11d3_b652_00c04f79498e); } @@ -17915,6 +14731,7 @@ pub struct IMSVidOutputDeviceEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidOutputDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidOutputDevices { @@ -17943,38 +14760,18 @@ impl IMSVidOutputDevices { (::windows_core::Interface::vtable(self).Add)(::windows_core::Interface::as_raw(self), pdb.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] - pub unsafe fn Remove(&self, v: super::super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Remove)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IMSVidOutputDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidOutputDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn Remove(&self, v: super::super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).Remove)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(v)).ok() } } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidOutputDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidOutputDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidOutputDevices").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IMSVidOutputDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidOutputDevices { type Vtable = IMSVidOutputDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidOutputDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidOutputDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5702cd2_9b79_11d3_b654_00c04f79498e); } @@ -18004,6 +14801,7 @@ pub struct IMSVidOutputDevices_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidPlayback(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidPlayback { @@ -18129,30 +14927,10 @@ impl IMSVidPlayback { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidPlayback, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidPlayback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidPlayback {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidPlayback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidPlayback").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidPlayback { type Vtable = IMSVidPlayback_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidPlayback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidPlayback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03538_a4c8_11d2_b634_00c04f79498e); } @@ -18188,6 +14966,7 @@ pub struct IMSVidPlayback_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidPlaybackEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidPlaybackEvent { @@ -18203,30 +14982,10 @@ impl IMSVidPlaybackEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidPlaybackEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidPlaybackEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidPlaybackEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidPlaybackEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidPlaybackEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidPlaybackEvent { type Vtable = IMSVidPlaybackEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidPlaybackEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidPlaybackEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b0353b_a4c8_11d2_b634_00c04f79498e); } @@ -18243,6 +15002,7 @@ pub struct IMSVidPlaybackEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidRect(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidRect { @@ -18300,30 +15060,10 @@ impl IMSVidRect { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidRect, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidRect { type Vtable = IMSVidRect_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidRect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f5000a6_a440_47ca_8acc_c0e75531a2c2); } @@ -18356,6 +15096,7 @@ pub struct IMSVidRect_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferRecordingControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferRecordingControl { @@ -18397,30 +15138,10 @@ impl IMSVidStreamBufferRecordingControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferRecordingControl, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferRecordingControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferRecordingControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferRecordingControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferRecordingControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferRecordingControl { type Vtable = IMSVidStreamBufferRecordingControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferRecordingControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferRecordingControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x160621aa_bbbc_4326_a824_c395aebc6e74); } @@ -18447,6 +15168,7 @@ pub struct IMSVidStreamBufferRecordingControl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSink(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSink { @@ -18536,30 +15258,10 @@ impl IMSVidStreamBufferSink { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSink {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSink { type Vtable = IMSVidStreamBufferSink_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x159dbb45_cd1b_4dab_83ea_5cb1f4f21d07); } @@ -18584,6 +15286,7 @@ pub struct IMSVidStreamBufferSink_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSink2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSink2 { @@ -18676,30 +15379,10 @@ impl IMSVidStreamBufferSink2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSink2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSink2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSink2 { type Vtable = IMSVidStreamBufferSink2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ca9fc63_c131_4e5a_955a_544a47c67146); } @@ -18713,6 +15396,7 @@ pub struct IMSVidStreamBufferSink2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSink3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSink3 { @@ -18880,30 +15564,10 @@ impl IMSVidStreamBufferSink3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink, IMSVidStreamBufferSink2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSink3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSink3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSink3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSink3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSink3 { type Vtable = IMSVidStreamBufferSink3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSink3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSink3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f8721d7_7d59_4d8b_99f5_a77775586bd5); } @@ -18934,6 +15598,7 @@ pub struct IMSVidStreamBufferSink3_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSinkEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSinkEvent { @@ -18958,30 +15623,10 @@ impl IMSVidStreamBufferSinkEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSinkEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSinkEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSinkEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSinkEvent { type Vtable = IMSVidStreamBufferSinkEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSinkEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSinkEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf798a36b_b05b_4bbe_9703_eaea7d61cd51); } @@ -18997,6 +15642,7 @@ pub struct IMSVidStreamBufferSinkEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSinkEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSinkEvent2 { @@ -19027,30 +15673,10 @@ impl IMSVidStreamBufferSinkEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSinkEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSinkEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSinkEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSinkEvent2 { type Vtable = IMSVidStreamBufferSinkEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSinkEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSinkEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d7a5166_72d7_484b_a06f_286187b80ca1); } @@ -19065,6 +15691,7 @@ pub struct IMSVidStreamBufferSinkEvent2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSinkEvent3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSinkEvent3 { @@ -19098,30 +15725,10 @@ impl IMSVidStreamBufferSinkEvent3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSinkEvent3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSinkEvent3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSinkEvent3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSinkEvent3 { type Vtable = IMSVidStreamBufferSinkEvent3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSinkEvent3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSinkEvent3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x735ad8d5_c259_48e9_81e7_d27953665b23); } @@ -19135,6 +15742,7 @@ pub struct IMSVidStreamBufferSinkEvent3_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSinkEvent4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSinkEvent4 { @@ -19171,30 +15779,10 @@ impl IMSVidStreamBufferSinkEvent4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent4, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSinkEvent4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSinkEvent4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSinkEvent4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSinkEvent4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSinkEvent4 { type Vtable = IMSVidStreamBufferSinkEvent4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSinkEvent4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSinkEvent4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b01dcb0_daf0_412c_a5d1_590c7f62e2b8); } @@ -19208,6 +15796,7 @@ pub struct IMSVidStreamBufferSinkEvent4_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSource(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSource { @@ -19372,30 +15961,10 @@ impl IMSVidStreamBufferSource { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSource, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSource {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSource").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSource { type Vtable = IMSVidStreamBufferSource_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0c8cf9_6950_4772_87b1_47d11cf3a02f); } @@ -19418,6 +15987,7 @@ pub struct IMSVidStreamBufferSource_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSource2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSource2 { @@ -19601,30 +16171,10 @@ impl IMSVidStreamBufferSource2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSource2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback, IMSVidStreamBufferSource); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSource2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSource2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSource2 { type Vtable = IMSVidStreamBufferSource2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4ba9059_b1ce_40d8_b9a0_d4ea4a9989d3); } @@ -19642,6 +16192,7 @@ pub struct IMSVidStreamBufferSource2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSourceEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSourceEvent { @@ -19684,30 +16235,10 @@ impl IMSVidStreamBufferSourceEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSourceEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSourceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSourceEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSourceEvent { type Vtable = IMSVidStreamBufferSourceEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSourceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSourceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ce8a7d_9c28_4da8_9042_cdfa7116f979); } @@ -19729,6 +16260,7 @@ pub struct IMSVidStreamBufferSourceEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSourceEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSourceEvent2 { @@ -19774,30 +16306,10 @@ impl IMSVidStreamBufferSourceEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSourceEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSourceEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSourceEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSourceEvent2 { type Vtable = IMSVidStreamBufferSourceEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSourceEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSourceEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7aef50ce_8e22_4ba8_bc06_a92a458b4ef2); } @@ -19811,6 +16323,7 @@ pub struct IMSVidStreamBufferSourceEvent2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferSourceEvent3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferSourceEvent3 { @@ -19877,30 +16390,10 @@ impl IMSVidStreamBufferSourceEvent3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferSourceEvent3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferSourceEvent3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferSourceEvent3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferSourceEvent3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferSourceEvent3 { type Vtable = IMSVidStreamBufferSourceEvent3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferSourceEvent3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferSourceEvent3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceabd6ab_9b90_4570_adf1_3ce76e00a763); } @@ -19918,6 +16411,7 @@ pub struct IMSVidStreamBufferSourceEvent3_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidStreamBufferV2SourceEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidStreamBufferV2SourceEvent { @@ -19966,30 +16460,10 @@ impl IMSVidStreamBufferV2SourceEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidStreamBufferV2SourceEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidStreamBufferV2SourceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidStreamBufferV2SourceEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidStreamBufferV2SourceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidStreamBufferV2SourceEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidStreamBufferV2SourceEvent { type Vtable = IMSVidStreamBufferV2SourceEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidStreamBufferV2SourceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidStreamBufferV2SourceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49c771f9_41b2_4cf7_9f9a_a313a8f6027e); } @@ -20011,6 +16485,7 @@ pub struct IMSVidStreamBufferV2SourceEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidTuner(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidTuner { @@ -20104,30 +16579,10 @@ impl IMSVidTuner { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidTuner, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidTuner {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidTuner").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidTuner { type Vtable = IMSVidTuner_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d47d_911d_11d2_b632_00c04f79498e); } @@ -20156,6 +16611,7 @@ pub struct IMSVidTuner_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidTunerEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidTunerEvent { @@ -20169,32 +16625,12 @@ impl IMSVidTunerEvent { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IMSVidTunerEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidTunerEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidTunerEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidTunerEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidTunerEvent").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IMSVidTunerEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidTunerEvent { type Vtable = IMSVidTunerEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidTunerEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidTunerEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d485_911d_11d2_b632_00c04f79498e); } @@ -20211,6 +16647,7 @@ pub struct IMSVidTunerEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVMR9(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVMR9 { @@ -20457,30 +16894,10 @@ impl IMSVidVMR9 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVMR9, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVMR9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVMR9 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVMR9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVMR9").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVMR9 { type Vtable = IMSVidVMR9_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVMR9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVMR9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd58b0015_ebef_44bb_bbdd_3f3699d76ea1); } @@ -20504,6 +16921,7 @@ pub struct IMSVidVMR9_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVRGraphSegment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVRGraphSegment { @@ -20687,30 +17105,10 @@ impl IMSVidVRGraphSegment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVRGraphSegment, ::windows_core::IUnknown, super::super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVRGraphSegment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVRGraphSegment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVRGraphSegment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVRGraphSegment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVRGraphSegment { type Vtable = IMSVidVRGraphSegment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVRGraphSegment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVRGraphSegment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd47de3f_9874_4f7b_8b22_7cb2688461e7); } @@ -20786,6 +17184,7 @@ pub struct IMSVidVRGraphSegment_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoInputDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoInputDevice { @@ -20851,30 +17250,10 @@ impl IMSVidVideoInputDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoInputDevice, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoInputDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoInputDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoInputDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoInputDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoInputDevice { type Vtable = IMSVidVideoInputDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoInputDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoInputDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15d47f_911d_11d2_b632_00c04f79498e); } @@ -20887,6 +17266,7 @@ pub struct IMSVidVideoInputDevice_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoRenderer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRenderer { @@ -21105,30 +17485,10 @@ impl IMSVidVideoRenderer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoRenderer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoRenderer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoRenderer { type Vtable = IMSVidVideoRenderer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03540_a4c8_11d2_b634_00c04f79498e); } @@ -21219,6 +17579,7 @@ pub struct IMSVidVideoRenderer_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoRenderer2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRenderer2 { @@ -21475,30 +17836,10 @@ impl IMSVidVideoRenderer2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoRenderer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoRenderer2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoRenderer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoRenderer2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoRenderer2 { type Vtable = IMSVidVideoRenderer2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoRenderer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoRenderer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bdd5c1e_2810_4159_94bc_05511ae8549b); } @@ -21524,6 +17865,7 @@ pub struct IMSVidVideoRenderer2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoRendererDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRendererDevices { @@ -21560,30 +17902,10 @@ impl IMSVidVideoRendererDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoRendererDevices, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoRendererDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoRendererDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoRendererDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoRendererDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoRendererDevices { type Vtable = IMSVidVideoRendererDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoRendererDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoRendererDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5702cd3_9b79_11d3_b654_00c04f79498e); } @@ -21613,6 +17935,7 @@ pub struct IMSVidVideoRendererDevices_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoRendererEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRendererEvent { @@ -21631,30 +17954,10 @@ impl IMSVidVideoRendererEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoRendererEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoRendererEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoRendererEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoRendererEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoRendererEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoRendererEvent { type Vtable = IMSVidVideoRendererEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoRendererEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoRendererEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37b03545_a4c8_11d2_b634_00c04f79498e); } @@ -21668,6 +17971,7 @@ pub struct IMSVidVideoRendererEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidVideoRendererEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidVideoRendererEvent2 { @@ -21686,30 +17990,10 @@ impl IMSVidVideoRendererEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidVideoRendererEvent2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidVideoRendererEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidVideoRendererEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidVideoRendererEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidVideoRendererEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidVideoRendererEvent2 { type Vtable = IMSVidVideoRendererEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidVideoRendererEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidVideoRendererEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7145ed66_4730_4fdb_8a53_fde7508d3e5e); } @@ -21723,6 +18007,7 @@ pub struct IMSVidVideoRendererEvent2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidWebDVD(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVD { @@ -22246,30 +18531,10 @@ impl IMSVidWebDVD { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidWebDVD, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidWebDVD { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidWebDVD {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidWebDVD { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidWebDVD").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidWebDVD { type Vtable = IMSVidWebDVD_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidWebDVD { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidWebDVD { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf45f88b_ac56_4ee2_a73a_ed04e2885d3c); } @@ -22413,6 +18678,7 @@ pub struct IMSVidWebDVD_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidWebDVD2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVD2 { @@ -22942,30 +19208,10 @@ impl IMSVidWebDVD2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidWebDVD2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidWebDVD); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidWebDVD2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidWebDVD2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidWebDVD2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidWebDVD2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidWebDVD2 { type Vtable = IMSVidWebDVD2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidWebDVD2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidWebDVD2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7027212f_ee9a_4a7c_8b67_f023714cdaff); } @@ -22980,6 +19226,7 @@ pub struct IMSVidWebDVD2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidWebDVDAdm(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVDAdm { @@ -23062,30 +19309,10 @@ impl IMSVidWebDVDAdm { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidWebDVDAdm, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidWebDVDAdm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidWebDVDAdm {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidWebDVDAdm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidWebDVDAdm").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidWebDVDAdm { type Vtable = IMSVidWebDVDAdm_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidWebDVDAdm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidWebDVDAdm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8be681a_eb2c_47f0_b415_94d5452f0e05); } @@ -23121,6 +19348,7 @@ pub struct IMSVidWebDVDAdm_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidWebDVDEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidWebDVDEvent { @@ -23317,30 +19545,10 @@ impl IMSVidWebDVDEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidWebDVDEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidWebDVDEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidWebDVDEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidWebDVDEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidWebDVDEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidWebDVDEvent { type Vtable = IMSVidWebDVDEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidWebDVDEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidWebDVDEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4f7a674_9b83_49cb_a357_c63b871be958); } @@ -23445,6 +19653,7 @@ pub struct IMSVidWebDVDEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidXDS(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidXDS { @@ -23503,30 +19712,10 @@ impl IMSVidXDS { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidXDS, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidXDS { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidXDS {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidXDS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidXDS").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidXDS { type Vtable = IMSVidXDS_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidXDS { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidXDS { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11ebc158_e712_4d1f_8bb3_01ed5274c4ce); } @@ -23540,6 +19729,7 @@ pub struct IMSVidXDS_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSVidXDSEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSVidXDSEvent { @@ -23558,30 +19748,10 @@ impl IMSVidXDSEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSVidXDSEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidFeatureEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSVidXDSEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSVidXDSEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSVidXDSEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSVidXDSEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSVidXDSEvent { type Vtable = IMSVidXDSEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSVidXDSEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSVidXDSEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6db2317d_3b23_41ec_ba4b_701f407eaf3a); } @@ -23594,6 +19764,7 @@ pub struct IMSVidXDSEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMceBurnerControl(::windows_core::IUnknown); impl IMceBurnerControl { pub unsafe fn GetBurnerNoDecryption(&self) -> ::windows_core::Result<()> { @@ -23601,25 +19772,9 @@ impl IMceBurnerControl { } } ::windows_core::imp::interface_hierarchy!(IMceBurnerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMceBurnerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMceBurnerControl {} -impl ::core::fmt::Debug for IMceBurnerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMceBurnerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMceBurnerControl { type Vtable = IMceBurnerControl_Vtbl; } -impl ::core::clone::Clone for IMceBurnerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMceBurnerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a86b91a_e71e_46c1_88a9_9bb338710552); } @@ -23631,6 +19786,7 @@ pub struct IMceBurnerControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpeg2Data(::windows_core::IUnknown); impl IMpeg2Data { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23656,25 +19812,9 @@ impl IMpeg2Data { } } ::windows_core::imp::interface_hierarchy!(IMpeg2Data, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMpeg2Data { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMpeg2Data {} -impl ::core::fmt::Debug for IMpeg2Data { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMpeg2Data").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMpeg2Data { type Vtable = IMpeg2Data_Vtbl; } -impl ::core::clone::Clone for IMpeg2Data { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpeg2Data { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b396d40_f380_4e3c_a514_1a82bf6ebfe6); } @@ -23697,6 +19837,7 @@ pub struct IMpeg2Data_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpeg2Stream(::windows_core::IUnknown); impl IMpeg2Stream { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23713,25 +19854,9 @@ impl IMpeg2Stream { } } ::windows_core::imp::interface_hierarchy!(IMpeg2Stream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMpeg2Stream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMpeg2Stream {} -impl ::core::fmt::Debug for IMpeg2Stream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMpeg2Stream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMpeg2Stream { type Vtable = IMpeg2Stream_Vtbl; } -impl ::core::clone::Clone for IMpeg2Stream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpeg2Stream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x400cc286_32a0_4ce4_9041_39571125a635); } @@ -23747,6 +19872,7 @@ pub struct IMpeg2Stream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpeg2TableFilter(::windows_core::IUnknown); impl IMpeg2TableFilter { pub unsafe fn AddPID(&self, p: u16) -> ::windows_core::Result<()> { @@ -23769,25 +19895,9 @@ impl IMpeg2TableFilter { } } ::windows_core::imp::interface_hierarchy!(IMpeg2TableFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMpeg2TableFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMpeg2TableFilter {} -impl ::core::fmt::Debug for IMpeg2TableFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMpeg2TableFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMpeg2TableFilter { type Vtable = IMpeg2TableFilter_Vtbl; } -impl ::core::clone::Clone for IMpeg2TableFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpeg2TableFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdcdd913_9ecd_4fb2_81ae_adf747ea75a5); } @@ -23804,6 +19914,7 @@ pub struct IMpeg2TableFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPAT(::windows_core::IUnknown); impl IPAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -23862,25 +19973,9 @@ impl IPAT { } } ::windows_core::imp::interface_hierarchy!(IPAT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPAT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPAT {} -impl ::core::fmt::Debug for IPAT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPAT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPAT { type Vtable = IPAT_Vtbl; } -impl ::core::clone::Clone for IPAT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPAT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6623b511_4b5f_43c3_9a01_e8ff84188060); } @@ -23908,6 +20003,7 @@ pub struct IPAT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPBDAAttributesDescriptor(::windows_core::IUnknown); impl IPBDAAttributesDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -23923,25 +20019,9 @@ impl IPBDAAttributesDescriptor { } } ::windows_core::imp::interface_hierarchy!(IPBDAAttributesDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPBDAAttributesDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPBDAAttributesDescriptor {} -impl ::core::fmt::Debug for IPBDAAttributesDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPBDAAttributesDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPBDAAttributesDescriptor { type Vtable = IPBDAAttributesDescriptor_Vtbl; } -impl ::core::clone::Clone for IPBDAAttributesDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPBDAAttributesDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x313b3620_3263_45a6_9533_968befbeac03); } @@ -23955,6 +20035,7 @@ pub struct IPBDAAttributesDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPBDAEntitlementDescriptor(::windows_core::IUnknown); impl IPBDAEntitlementDescriptor { pub unsafe fn GetTag(&self) -> ::windows_core::Result { @@ -23970,25 +20051,9 @@ impl IPBDAEntitlementDescriptor { } } ::windows_core::imp::interface_hierarchy!(IPBDAEntitlementDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPBDAEntitlementDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPBDAEntitlementDescriptor {} -impl ::core::fmt::Debug for IPBDAEntitlementDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPBDAEntitlementDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPBDAEntitlementDescriptor { type Vtable = IPBDAEntitlementDescriptor_Vtbl; } -impl ::core::clone::Clone for IPBDAEntitlementDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPBDAEntitlementDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22632497_0de3_4587_aadc_d8d99017e760); } @@ -24002,6 +20067,7 @@ pub struct IPBDAEntitlementDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPBDASiParser(::windows_core::IUnknown); impl IPBDASiParser { pub unsafe fn Initialize(&self, punk: P0) -> ::windows_core::Result<()> @@ -24020,25 +20086,9 @@ impl IPBDASiParser { } } ::windows_core::imp::interface_hierarchy!(IPBDASiParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPBDASiParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPBDASiParser {} -impl ::core::fmt::Debug for IPBDASiParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPBDASiParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPBDASiParser { type Vtable = IPBDASiParser_Vtbl; } -impl ::core::clone::Clone for IPBDASiParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPBDASiParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9de49a74_aba2_4a18_93e1_21f17f95c3c3); } @@ -24052,6 +20102,7 @@ pub struct IPBDASiParser_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPBDA_EIT(::windows_core::IUnknown); impl IPBDA_EIT { pub unsafe fn Initialize(&self, pbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -24098,25 +20149,9 @@ impl IPBDA_EIT { } } ::windows_core::imp::interface_hierarchy!(IPBDA_EIT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPBDA_EIT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPBDA_EIT {} -impl ::core::fmt::Debug for IPBDA_EIT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPBDA_EIT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPBDA_EIT { type Vtable = IPBDA_EIT_Vtbl; } -impl ::core::clone::Clone for IPBDA_EIT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPBDA_EIT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa35f2dea_098f_4ebd_984c_2bd4c3c8ce0a); } @@ -24138,6 +20173,7 @@ pub struct IPBDA_EIT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPBDA_Services(::windows_core::IUnknown); impl IPBDA_Services { pub unsafe fn Initialize(&self, pbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -24153,25 +20189,9 @@ impl IPBDA_Services { } } ::windows_core::imp::interface_hierarchy!(IPBDA_Services, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPBDA_Services { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPBDA_Services {} -impl ::core::fmt::Debug for IPBDA_Services { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPBDA_Services").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPBDA_Services { type Vtable = IPBDA_Services_Vtbl; } -impl ::core::clone::Clone for IPBDA_Services { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPBDA_Services { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x944eab37_eed4_4850_afd2_77e7efeb4427); } @@ -24185,6 +20205,7 @@ pub struct IPBDA_Services_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMT(::windows_core::IUnknown); impl IPMT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -24271,25 +20292,9 @@ impl IPMT { } } ::windows_core::imp::interface_hierarchy!(IPMT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMT {} -impl ::core::fmt::Debug for IPMT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMT { type Vtable = IPMT_Vtbl; } -impl ::core::clone::Clone for IPMT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01f3b398_9527_4736_94db_5195878e97a8); } @@ -24325,6 +20330,7 @@ pub struct IPMT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPSITables(::windows_core::IUnknown); impl IPSITables { pub unsafe fn GetTable(&self, dwtsid: u32, dwtid_pid: u32, dwhashedver: u32, dwpara4: u32) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -24333,25 +20339,9 @@ impl IPSITables { } } ::windows_core::imp::interface_hierarchy!(IPSITables, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPSITables { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPSITables {} -impl ::core::fmt::Debug for IPSITables { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPSITables").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPSITables { type Vtable = IPSITables_Vtbl; } -impl ::core::clone::Clone for IPSITables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPSITables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x919f24c5_7b14_42ac_a4b0_2ae08daf00ac); } @@ -24363,6 +20353,7 @@ pub struct IPSITables_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPTFilterLicenseRenewal(::windows_core::IUnknown); impl IPTFilterLicenseRenewal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24380,25 +20371,9 @@ impl IPTFilterLicenseRenewal { } } ::windows_core::imp::interface_hierarchy!(IPTFilterLicenseRenewal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPTFilterLicenseRenewal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPTFilterLicenseRenewal {} -impl ::core::fmt::Debug for IPTFilterLicenseRenewal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPTFilterLicenseRenewal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPTFilterLicenseRenewal { type Vtable = IPTFilterLicenseRenewal_Vtbl; } -impl ::core::clone::Clone for IPTFilterLicenseRenewal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPTFilterLicenseRenewal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26d836a5_0c15_44c7_ac59_b0da8728f240); } @@ -24415,6 +20390,7 @@ pub struct IPTFilterLicenseRenewal_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistTuneXml(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistTuneXml { @@ -24442,30 +20418,10 @@ impl IPersistTuneXml { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistTuneXml, ::windows_core::IUnknown, super::super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistTuneXml { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistTuneXml {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistTuneXml { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistTuneXml").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistTuneXml { type Vtable = IPersistTuneXml_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistTuneXml { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistTuneXml { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0754cd31_8d15_47a9_8215_d20064157244); } @@ -24486,6 +20442,7 @@ pub struct IPersistTuneXml_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistTuneXmlUtility(::windows_core::IUnknown); impl IPersistTuneXmlUtility { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -24496,25 +20453,9 @@ impl IPersistTuneXmlUtility { } } ::windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPersistTuneXmlUtility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistTuneXmlUtility {} -impl ::core::fmt::Debug for IPersistTuneXmlUtility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistTuneXmlUtility").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistTuneXmlUtility { type Vtable = IPersistTuneXmlUtility_Vtbl; } -impl ::core::clone::Clone for IPersistTuneXmlUtility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistTuneXmlUtility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x990237ae_ac11_4614_be8f_dd217a4cb4cb); } @@ -24529,6 +20470,7 @@ pub struct IPersistTuneXmlUtility_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistTuneXmlUtility2(::windows_core::IUnknown); impl IPersistTuneXmlUtility2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -24548,25 +20490,9 @@ impl IPersistTuneXmlUtility2 { } } ::windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility2, ::windows_core::IUnknown, IPersistTuneXmlUtility); -impl ::core::cmp::PartialEq for IPersistTuneXmlUtility2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistTuneXmlUtility2 {} -impl ::core::fmt::Debug for IPersistTuneXmlUtility2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistTuneXmlUtility2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistTuneXmlUtility2 { type Vtable = IPersistTuneXmlUtility2_Vtbl; } -impl ::core::clone::Clone for IPersistTuneXmlUtility2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistTuneXmlUtility2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x992e165f_ea24_4b2f_9a1d_009d92120451); } @@ -24581,6 +20507,7 @@ pub struct IPersistTuneXmlUtility2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisterTuner(::windows_core::IUnknown); impl IRegisterTuner { pub unsafe fn Register(&self, ptuner: P0, pgraph: P1) -> ::windows_core::Result<()> @@ -24595,25 +20522,9 @@ impl IRegisterTuner { } } ::windows_core::imp::interface_hierarchy!(IRegisterTuner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRegisterTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRegisterTuner {} -impl ::core::fmt::Debug for IRegisterTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisterTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRegisterTuner { type Vtable = IRegisterTuner_Vtbl; } -impl ::core::clone::Clone for IRegisterTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisterTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x359b3901_572c_4854_bb49_cdef66606a25); } @@ -24626,6 +20537,7 @@ pub struct IRegisterTuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2Crossbar(::windows_core::IUnknown); impl ISBE2Crossbar { pub unsafe fn EnableDefaultMode(&self, defaultflags: u32) -> ::windows_core::Result<()> { @@ -24647,25 +20559,9 @@ impl ISBE2Crossbar { } } ::windows_core::imp::interface_hierarchy!(ISBE2Crossbar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2Crossbar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2Crossbar {} -impl ::core::fmt::Debug for ISBE2Crossbar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2Crossbar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2Crossbar { type Vtable = ISBE2Crossbar_Vtbl; } -impl ::core::clone::Clone for ISBE2Crossbar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2Crossbar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x547b6d26_3226_487e_8253_8aa168749434); } @@ -24680,6 +20576,7 @@ pub struct ISBE2Crossbar_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2EnumStream(::windows_core::IUnknown); impl ISBE2EnumStream { pub unsafe fn Next(&self, pstreamdesc: &mut [SBE2_STREAM_DESC], pcreceived: *mut u32) -> ::windows_core::Result<()> { @@ -24697,25 +20594,9 @@ impl ISBE2EnumStream { } } ::windows_core::imp::interface_hierarchy!(ISBE2EnumStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2EnumStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2EnumStream {} -impl ::core::fmt::Debug for ISBE2EnumStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2EnumStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2EnumStream { type Vtable = ISBE2EnumStream_Vtbl; } -impl ::core::clone::Clone for ISBE2EnumStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2EnumStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7611092_9fbc_46ec_a7c7_548ea78b71a4); } @@ -24730,6 +20611,7 @@ pub struct ISBE2EnumStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2FileScan(::windows_core::IUnknown); impl ISBE2FileScan { pub unsafe fn RepairFile(&self, filename: P0) -> ::windows_core::Result<()> @@ -24740,25 +20622,9 @@ impl ISBE2FileScan { } } ::windows_core::imp::interface_hierarchy!(ISBE2FileScan, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2FileScan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2FileScan {} -impl ::core::fmt::Debug for ISBE2FileScan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2FileScan").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2FileScan { type Vtable = ISBE2FileScan_Vtbl; } -impl ::core::clone::Clone for ISBE2FileScan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2FileScan { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e2bf5a5_4f96_4899_a1a3_75e8be9a5ac0); } @@ -24770,6 +20636,7 @@ pub struct ISBE2FileScan_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2GlobalEvent(::windows_core::IUnknown); impl ISBE2GlobalEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24779,25 +20646,9 @@ impl ISBE2GlobalEvent { } } ::windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2GlobalEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2GlobalEvent {} -impl ::core::fmt::Debug for ISBE2GlobalEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2GlobalEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2GlobalEvent { type Vtable = ISBE2GlobalEvent_Vtbl; } -impl ::core::clone::Clone for ISBE2GlobalEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2GlobalEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaede759_b6b1_11db_a578_0018f3fa24c6); } @@ -24812,6 +20663,7 @@ pub struct ISBE2GlobalEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2GlobalEvent2(::windows_core::IUnknown); impl ISBE2GlobalEvent2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24826,25 +20678,9 @@ impl ISBE2GlobalEvent2 { } } ::windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent2, ::windows_core::IUnknown, ISBE2GlobalEvent); -impl ::core::cmp::PartialEq for ISBE2GlobalEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2GlobalEvent2 {} -impl ::core::fmt::Debug for ISBE2GlobalEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2GlobalEvent2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2GlobalEvent2 { type Vtable = ISBE2GlobalEvent2_Vtbl; } -impl ::core::clone::Clone for ISBE2GlobalEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2GlobalEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d8309bf_00fe_4506_8b03_f8c65b5c9b39); } @@ -24859,6 +20695,7 @@ pub struct ISBE2GlobalEvent2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2MediaTypeProfile(::windows_core::IUnknown); impl ISBE2MediaTypeProfile { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -24881,25 +20718,9 @@ impl ISBE2MediaTypeProfile { } } ::windows_core::imp::interface_hierarchy!(ISBE2MediaTypeProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2MediaTypeProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2MediaTypeProfile {} -impl ::core::fmt::Debug for ISBE2MediaTypeProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2MediaTypeProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2MediaTypeProfile { type Vtable = ISBE2MediaTypeProfile_Vtbl; } -impl ::core::clone::Clone for ISBE2MediaTypeProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2MediaTypeProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf238267d_4671_40d7_997e_25dc32cfed2a); } @@ -24920,6 +20741,7 @@ pub struct ISBE2MediaTypeProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2SpanningEvent(::windows_core::IUnknown); impl ISBE2SpanningEvent { pub unsafe fn GetEvent(&self, idevt: *const ::windows_core::GUID, streamid: u32, pcb: *mut u32, pb: *mut u8) -> ::windows_core::Result<()> { @@ -24927,25 +20749,9 @@ impl ISBE2SpanningEvent { } } ::windows_core::imp::interface_hierarchy!(ISBE2SpanningEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2SpanningEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2SpanningEvent {} -impl ::core::fmt::Debug for ISBE2SpanningEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2SpanningEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2SpanningEvent { type Vtable = ISBE2SpanningEvent_Vtbl; } -impl ::core::clone::Clone for ISBE2SpanningEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2SpanningEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcaede760_b6b1_11db_a578_0018f3fa24c6); } @@ -24957,6 +20763,7 @@ pub struct ISBE2SpanningEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISBE2StreamMap(::windows_core::IUnknown); impl ISBE2StreamMap { pub unsafe fn MapStream(&self, stream: u32) -> ::windows_core::Result<()> { @@ -24971,25 +20778,9 @@ impl ISBE2StreamMap { } } ::windows_core::imp::interface_hierarchy!(ISBE2StreamMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISBE2StreamMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISBE2StreamMap {} -impl ::core::fmt::Debug for ISBE2StreamMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISBE2StreamMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISBE2StreamMap { type Vtable = ISBE2StreamMap_Vtbl; } -impl ::core::clone::Clone for ISBE2StreamMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISBE2StreamMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x667c7745_85b1_4c55_ae55_4e25056159fc); } @@ -25003,6 +20794,7 @@ pub struct ISBE2StreamMap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCTE_EAS(::windows_core::IUnknown); impl ISCTE_EAS { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -25129,25 +20921,9 @@ impl ISCTE_EAS { } } ::windows_core::imp::interface_hierarchy!(ISCTE_EAS, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISCTE_EAS { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISCTE_EAS {} -impl ::core::fmt::Debug for ISCTE_EAS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCTE_EAS").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISCTE_EAS { type Vtable = ISCTE_EAS_Vtbl; } -impl ::core::clone::Clone for ISCTE_EAS { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISCTE_EAS { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ff544d6_161d_4fae_9faa_4f9f492ae999); } @@ -25187,6 +20963,7 @@ pub struct ISCTE_EAS_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISIInbandEPG(::windows_core::IUnknown); impl ISIInbandEPG { pub unsafe fn StartSIEPGScan(&self) -> ::windows_core::Result<()> { @@ -25203,25 +20980,9 @@ impl ISIInbandEPG { } } ::windows_core::imp::interface_hierarchy!(ISIInbandEPG, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISIInbandEPG { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISIInbandEPG {} -impl ::core::fmt::Debug for ISIInbandEPG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISIInbandEPG").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISIInbandEPG { type Vtable = ISIInbandEPG_Vtbl; } -impl ::core::clone::Clone for ISIInbandEPG { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISIInbandEPG { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf90ad9d0_b854_4b68_9cc1_b2cc96119d85); } @@ -25238,6 +20999,7 @@ pub struct ISIInbandEPG_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISIInbandEPGEvent(::windows_core::IUnknown); impl ISIInbandEPGEvent { pub unsafe fn SIObjectEvent(&self, pidvb_eit: P0, dwtable_id: u32, dwservice_id: u32) -> ::windows_core::Result<()> @@ -25248,25 +21010,9 @@ impl ISIInbandEPGEvent { } } ::windows_core::imp::interface_hierarchy!(ISIInbandEPGEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISIInbandEPGEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISIInbandEPGEvent {} -impl ::core::fmt::Debug for ISIInbandEPGEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISIInbandEPGEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISIInbandEPGEvent { type Vtable = ISIInbandEPGEvent_Vtbl; } -impl ::core::clone::Clone for ISIInbandEPGEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISIInbandEPGEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e47913a_5a89_423d_9a2b_e15168858934); } @@ -25278,6 +21024,7 @@ pub struct ISIInbandEPGEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScanningTuner(::windows_core::IUnknown); impl IScanningTuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25358,25 +21105,9 @@ impl IScanningTuner { } } ::windows_core::imp::interface_hierarchy!(IScanningTuner, ::windows_core::IUnknown, ITuner); -impl ::core::cmp::PartialEq for IScanningTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScanningTuner {} -impl ::core::fmt::Debug for IScanningTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScanningTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScanningTuner { type Vtable = IScanningTuner_Vtbl; } -impl ::core::clone::Clone for IScanningTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScanningTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dfd0a5c_0284_11d3_9d8e_00c04f72d980); } @@ -25392,6 +21123,7 @@ pub struct IScanningTuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScanningTunerEx(::windows_core::IUnknown); impl IScanningTunerEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25504,25 +21236,9 @@ impl IScanningTunerEx { } } ::windows_core::imp::interface_hierarchy!(IScanningTunerEx, ::windows_core::IUnknown, ITuner, IScanningTuner); -impl ::core::cmp::PartialEq for IScanningTunerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScanningTunerEx {} -impl ::core::fmt::Debug for IScanningTunerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScanningTunerEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScanningTunerEx { type Vtable = IScanningTunerEx_Vtbl; } -impl ::core::clone::Clone for IScanningTunerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScanningTunerEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04bbd195_0e2d_4593_9bd5_4f908bc33cf5); } @@ -25547,6 +21263,7 @@ pub struct IScanningTunerEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISectionList(::windows_core::IUnknown); impl ISectionList { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25579,25 +21296,9 @@ impl ISectionList { } } ::windows_core::imp::interface_hierarchy!(ISectionList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISectionList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISectionList {} -impl ::core::fmt::Debug for ISectionList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISectionList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISectionList { type Vtable = ISectionList_Vtbl; } -impl ::core::clone::Clone for ISectionList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISectionList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafec1eb5_2a64_46c6_bf4b_ae3ccb6afdb0); } @@ -25618,6 +21319,7 @@ pub struct ISectionList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceLocationDescriptor(::windows_core::IUnknown); impl IServiceLocationDescriptor { pub unsafe fn GetPCR_PID(&self) -> ::windows_core::Result { @@ -25641,25 +21343,9 @@ impl IServiceLocationDescriptor { } } ::windows_core::imp::interface_hierarchy!(IServiceLocationDescriptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceLocationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceLocationDescriptor {} -impl ::core::fmt::Debug for IServiceLocationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceLocationDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceLocationDescriptor { type Vtable = IServiceLocationDescriptor_Vtbl; } -impl ::core::clone::Clone for IServiceLocationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceLocationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58c3c827_9d91_4215_bff3_820a49f0904c); } @@ -25675,6 +21361,7 @@ pub struct IServiceLocationDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferConfigure(::windows_core::IUnknown); impl IStreamBufferConfigure { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> ::windows_core::Result<()> @@ -25702,25 +21389,9 @@ impl IStreamBufferConfigure { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferConfigure, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferConfigure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferConfigure {} -impl ::core::fmt::Debug for IStreamBufferConfigure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferConfigure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferConfigure { type Vtable = IStreamBufferConfigure_Vtbl; } -impl ::core::clone::Clone for IStreamBufferConfigure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferConfigure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce14dfae_4098_4af7_bbf7_d6511f835414); } @@ -25737,6 +21408,7 @@ pub struct IStreamBufferConfigure_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferConfigure2(::windows_core::IUnknown); impl IStreamBufferConfigure2 { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> ::windows_core::Result<()> @@ -25777,25 +21449,9 @@ impl IStreamBufferConfigure2 { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferConfigure2, ::windows_core::IUnknown, IStreamBufferConfigure); -impl ::core::cmp::PartialEq for IStreamBufferConfigure2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferConfigure2 {} -impl ::core::fmt::Debug for IStreamBufferConfigure2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferConfigure2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferConfigure2 { type Vtable = IStreamBufferConfigure2_Vtbl; } -impl ::core::clone::Clone for IStreamBufferConfigure2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferConfigure2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53e037bf_3992_4282_ae34_2487b4dae06b); } @@ -25810,6 +21466,7 @@ pub struct IStreamBufferConfigure2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferConfigure3(::windows_core::IUnknown); impl IStreamBufferConfigure3 { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> ::windows_core::Result<()> @@ -25874,25 +21531,9 @@ impl IStreamBufferConfigure3 { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferConfigure3, ::windows_core::IUnknown, IStreamBufferConfigure, IStreamBufferConfigure2); -impl ::core::cmp::PartialEq for IStreamBufferConfigure3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferConfigure3 {} -impl ::core::fmt::Debug for IStreamBufferConfigure3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferConfigure3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferConfigure3 { type Vtable = IStreamBufferConfigure3_Vtbl; } -impl ::core::clone::Clone for IStreamBufferConfigure3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferConfigure3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e2d2a1e_7192_4bd7_80c1_061fd1d10402); } @@ -25913,6 +21554,7 @@ pub struct IStreamBufferConfigure3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferDataCounters(::windows_core::IUnknown); impl IStreamBufferDataCounters { pub unsafe fn GetData(&self, ppindata: *mut SBE_PIN_DATA) -> ::windows_core::Result<()> { @@ -25923,25 +21565,9 @@ impl IStreamBufferDataCounters { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferDataCounters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferDataCounters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferDataCounters {} -impl ::core::fmt::Debug for IStreamBufferDataCounters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferDataCounters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferDataCounters { type Vtable = IStreamBufferDataCounters_Vtbl; } -impl ::core::clone::Clone for IStreamBufferDataCounters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferDataCounters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d2a2563_31ab_402e_9a6b_adb903489440); } @@ -25954,6 +21580,7 @@ pub struct IStreamBufferDataCounters_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferInitialize(::windows_core::IUnknown); impl IStreamBufferInitialize { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -25971,25 +21598,9 @@ impl IStreamBufferInitialize { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferInitialize {} -impl ::core::fmt::Debug for IStreamBufferInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferInitialize { type Vtable = IStreamBufferInitialize_Vtbl; } -impl ::core::clone::Clone for IStreamBufferInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ce50f2d_6ba7_40fb_a034_50b1a674ec78); } @@ -26008,6 +21619,7 @@ pub struct IStreamBufferInitialize_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferMediaSeeking(::windows_core::IUnknown); impl IStreamBufferMediaSeeking { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -26071,25 +21683,9 @@ impl IStreamBufferMediaSeeking { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking, ::windows_core::IUnknown, super::IMediaSeeking); -impl ::core::cmp::PartialEq for IStreamBufferMediaSeeking { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferMediaSeeking {} -impl ::core::fmt::Debug for IStreamBufferMediaSeeking { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferMediaSeeking").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferMediaSeeking { type Vtable = IStreamBufferMediaSeeking_Vtbl; } -impl ::core::clone::Clone for IStreamBufferMediaSeeking { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferMediaSeeking { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf61f5c26_863d_4afa_b0ba_2f81dc978596); } @@ -26100,6 +21696,7 @@ pub struct IStreamBufferMediaSeeking_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferMediaSeeking2(::windows_core::IUnknown); impl IStreamBufferMediaSeeking2 { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -26166,25 +21763,9 @@ impl IStreamBufferMediaSeeking2 { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking2, ::windows_core::IUnknown, super::IMediaSeeking, IStreamBufferMediaSeeking); -impl ::core::cmp::PartialEq for IStreamBufferMediaSeeking2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferMediaSeeking2 {} -impl ::core::fmt::Debug for IStreamBufferMediaSeeking2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferMediaSeeking2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferMediaSeeking2 { type Vtable = IStreamBufferMediaSeeking2_Vtbl; } -impl ::core::clone::Clone for IStreamBufferMediaSeeking2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferMediaSeeking2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a439ab0_155f_470a_86a6_9ea54afd6eaf); } @@ -26196,6 +21777,7 @@ pub struct IStreamBufferMediaSeeking2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferRecComp(::windows_core::IUnknown); impl IStreamBufferRecComp { pub unsafe fn Initialize(&self, psztargetfilename: P0, pszsbrecprofileref: P1) -> ::windows_core::Result<()> @@ -26229,25 +21811,9 @@ impl IStreamBufferRecComp { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferRecComp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferRecComp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferRecComp {} -impl ::core::fmt::Debug for IStreamBufferRecComp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferRecComp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferRecComp { type Vtable = IStreamBufferRecComp_Vtbl; } -impl ::core::clone::Clone for IStreamBufferRecComp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferRecComp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e259a9b_8815_42ae_b09f_221970b154fd); } @@ -26264,6 +21830,7 @@ pub struct IStreamBufferRecComp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferRecordControl(::windows_core::IUnknown); impl IStreamBufferRecordControl { pub unsafe fn Start(&self, prtstart: *mut i64) -> ::windows_core::Result<()> { @@ -26279,25 +21846,9 @@ impl IStreamBufferRecordControl { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferRecordControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferRecordControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferRecordControl {} -impl ::core::fmt::Debug for IStreamBufferRecordControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferRecordControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferRecordControl { type Vtable = IStreamBufferRecordControl_Vtbl; } -impl ::core::clone::Clone for IStreamBufferRecordControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferRecordControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba9b6c99_f3c7_4ff2_92db_cfdd4851bf31); } @@ -26314,6 +21865,7 @@ pub struct IStreamBufferRecordControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferRecordingAttribute(::windows_core::IUnknown); impl IStreamBufferRecordingAttribute { pub unsafe fn SetAttribute(&self, ulreserved: u32, pszattributename: P0, streambufferattributetype: STREAMBUFFER_ATTR_DATATYPE, pbattribute: &[u8]) -> ::windows_core::Result<()> @@ -26341,25 +21893,9 @@ impl IStreamBufferRecordingAttribute { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferRecordingAttribute, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferRecordingAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferRecordingAttribute {} -impl ::core::fmt::Debug for IStreamBufferRecordingAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferRecordingAttribute").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferRecordingAttribute { type Vtable = IStreamBufferRecordingAttribute_Vtbl; } -impl ::core::clone::Clone for IStreamBufferRecordingAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferRecordingAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16ca4e03_fe69_4705_bd41_5b7dfc0c95f3); } @@ -26375,6 +21911,7 @@ pub struct IStreamBufferRecordingAttribute_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferSink(::windows_core::IUnknown); impl IStreamBufferSink { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> ::windows_core::Result<()> @@ -26395,25 +21932,9 @@ impl IStreamBufferSink { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferSink {} -impl ::core::fmt::Debug for IStreamBufferSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferSink { type Vtable = IStreamBufferSink_Vtbl; } -impl ::core::clone::Clone for IStreamBufferSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafd1f242_7efd_45ee_ba4e_407a25c9a77a); } @@ -26427,6 +21948,7 @@ pub struct IStreamBufferSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferSink2(::windows_core::IUnknown); impl IStreamBufferSink2 { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> ::windows_core::Result<()> @@ -26450,25 +21972,9 @@ impl IStreamBufferSink2 { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferSink2, ::windows_core::IUnknown, IStreamBufferSink); -impl ::core::cmp::PartialEq for IStreamBufferSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferSink2 {} -impl ::core::fmt::Debug for IStreamBufferSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferSink2 { type Vtable = IStreamBufferSink2_Vtbl; } -impl ::core::clone::Clone for IStreamBufferSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb94a660_f4fb_4bfa_bcc6_fe159a4eea93); } @@ -26480,6 +21986,7 @@ pub struct IStreamBufferSink2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferSink3(::windows_core::IUnknown); impl IStreamBufferSink3 { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> ::windows_core::Result<()> @@ -26506,25 +22013,9 @@ impl IStreamBufferSink3 { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferSink3, ::windows_core::IUnknown, IStreamBufferSink, IStreamBufferSink2); -impl ::core::cmp::PartialEq for IStreamBufferSink3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferSink3 {} -impl ::core::fmt::Debug for IStreamBufferSink3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferSink3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferSink3 { type Vtable = IStreamBufferSink3_Vtbl; } -impl ::core::clone::Clone for IStreamBufferSink3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferSink3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x974723f2_887a_4452_9366_2cff3057bc8f); } @@ -26536,6 +22027,7 @@ pub struct IStreamBufferSink3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBufferSource(::windows_core::IUnknown); impl IStreamBufferSource { pub unsafe fn SetStreamSink(&self, pistreambuffersink: P0) -> ::windows_core::Result<()> @@ -26546,25 +22038,9 @@ impl IStreamBufferSource { } } ::windows_core::imp::interface_hierarchy!(IStreamBufferSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBufferSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBufferSource {} -impl ::core::fmt::Debug for IStreamBufferSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBufferSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBufferSource { type Vtable = IStreamBufferSource_Vtbl; } -impl ::core::clone::Clone for IStreamBufferSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBufferSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c5bd776_6ced_4f44_8164_5eab0e98db12); } @@ -26576,6 +22052,7 @@ pub struct IStreamBufferSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSDT(::windows_core::IUnknown); impl ITSDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> ::windows_core::Result<()> @@ -26625,25 +22102,9 @@ impl ITSDT { } } ::windows_core::imp::interface_hierarchy!(ITSDT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSDT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSDT {} -impl ::core::fmt::Debug for ITSDT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSDT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSDT { type Vtable = ITSDT_Vtbl; } -impl ::core::clone::Clone for ITSDT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSDT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd19bdb43_405b_4a7c_a791_c89110c33165); } @@ -26670,6 +22131,7 @@ pub struct ITSDT_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuneRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuneRequest { @@ -26709,30 +22171,10 @@ impl ITuneRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITuneRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITuneRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITuneRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITuneRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuneRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITuneRequest { type Vtable = ITuneRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITuneRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITuneRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07ddc146_fc3d_11d2_9d8c_00c04f72d980); } @@ -26764,6 +22206,7 @@ pub struct ITuneRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuneRequestInfo(::windows_core::IUnknown); impl ITuneRequestInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26828,25 +22271,9 @@ impl ITuneRequestInfo { } } ::windows_core::imp::interface_hierarchy!(ITuneRequestInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITuneRequestInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITuneRequestInfo {} -impl ::core::fmt::Debug for ITuneRequestInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuneRequestInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITuneRequestInfo { type Vtable = ITuneRequestInfo_Vtbl; } -impl ::core::clone::Clone for ITuneRequestInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITuneRequestInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3b152df_7a90_4218_ac54_9830bee8c0b6); } @@ -26885,6 +22312,7 @@ pub struct ITuneRequestInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuneRequestInfoEx(::windows_core::IUnknown); impl ITuneRequestInfoEx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -26958,25 +22386,9 @@ impl ITuneRequestInfoEx { } } ::windows_core::imp::interface_hierarchy!(ITuneRequestInfoEx, ::windows_core::IUnknown, ITuneRequestInfo); -impl ::core::cmp::PartialEq for ITuneRequestInfoEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITuneRequestInfoEx {} -impl ::core::fmt::Debug for ITuneRequestInfoEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuneRequestInfoEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITuneRequestInfoEx { type Vtable = ITuneRequestInfoEx_Vtbl; } -impl ::core::clone::Clone for ITuneRequestInfoEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITuneRequestInfoEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee957c52_b0d0_4e78_8dd1_b87a08bfd893); } @@ -26991,6 +22403,7 @@ pub struct ITuneRequestInfoEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuner(::windows_core::IUnknown); impl ITuner { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -27056,25 +22469,9 @@ impl ITuner { } } ::windows_core::imp::interface_hierarchy!(ITuner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITuner {} -impl ::core::fmt::Debug for ITuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITuner { type Vtable = ITuner_Vtbl; } -impl ::core::clone::Clone for ITuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28c52640_018a_11d3_9d8e_00c04f72d980); } @@ -27116,6 +22513,7 @@ pub struct ITuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITunerCap(::windows_core::IUnknown); impl ITunerCap { pub unsafe fn get_SupportedNetworkTypes(&self, ulcnetworktypesmax: u32, pulcnetworktypes: *mut u32, pguidnetworktypes: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -27129,25 +22527,9 @@ impl ITunerCap { } } ::windows_core::imp::interface_hierarchy!(ITunerCap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITunerCap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITunerCap {} -impl ::core::fmt::Debug for ITunerCap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITunerCap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITunerCap { type Vtable = ITunerCap_Vtbl; } -impl ::core::clone::Clone for ITunerCap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITunerCap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe60dfa45_8d56_4e65_a8ab_d6be9412c249); } @@ -27161,6 +22543,7 @@ pub struct ITunerCap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITunerCapEx(::windows_core::IUnknown); impl ITunerCapEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27171,25 +22554,9 @@ impl ITunerCapEx { } } ::windows_core::imp::interface_hierarchy!(ITunerCapEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITunerCapEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITunerCapEx {} -impl ::core::fmt::Debug for ITunerCapEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITunerCapEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITunerCapEx { type Vtable = ITunerCapEx_Vtbl; } -impl ::core::clone::Clone for ITunerCapEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITunerCapEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed3e0c66_18c8_4ea6_9300_f6841fdd35dc); } @@ -27205,6 +22572,7 @@ pub struct ITunerCapEx_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuningSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuningSpace { @@ -27315,30 +22683,10 @@ impl ITuningSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITuningSpace, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITuningSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITuningSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITuningSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuningSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITuningSpace { type Vtable = ITuningSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITuningSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITuningSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x061c6e30_e622_11d2_9493_00c04f72d980); } @@ -27394,6 +22742,7 @@ pub struct ITuningSpace_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuningSpaceContainer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuningSpaceContainer { @@ -27483,30 +22832,10 @@ impl ITuningSpaceContainer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITuningSpaceContainer, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITuningSpaceContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITuningSpaceContainer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITuningSpaceContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuningSpaceContainer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITuningSpaceContainer { type Vtable = ITuningSpaceContainer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITuningSpaceContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITuningSpaceContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b692e84_e2f1_11d2_9493_00c04f72d980); } @@ -27559,6 +22888,7 @@ pub struct ITuningSpaceContainer_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITuningSpaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITuningSpaces { @@ -27586,30 +22916,10 @@ impl ITuningSpaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITuningSpaces, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITuningSpaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITuningSpaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITuningSpaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITuningSpaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITuningSpaces { type Vtable = ITuningSpaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITuningSpaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITuningSpaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x901284e4_33fe_4b69_8d63_634a596f3756); } @@ -27631,6 +22941,7 @@ pub struct ITuningSpaces_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXDSCodec(::windows_core::IUnknown); impl IXDSCodec { pub unsafe fn XDSToRatObjOK(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -27659,25 +22970,9 @@ impl IXDSCodec { } } ::windows_core::imp::interface_hierarchy!(IXDSCodec, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXDSCodec { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXDSCodec {} -impl ::core::fmt::Debug for IXDSCodec { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXDSCodec").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXDSCodec { type Vtable = IXDSCodec_Vtbl; } -impl ::core::clone::Clone for IXDSCodec { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXDSCodec { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4b3_0049_4e2b_98fb_9537f6ce516d); } @@ -27695,6 +22990,7 @@ pub struct IXDSCodec_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXDSCodecConfig(::windows_core::IUnknown); impl IXDSCodecConfig { pub unsafe fn GetSecureChannelObject(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -27706,25 +23002,9 @@ impl IXDSCodecConfig { } } ::windows_core::imp::interface_hierarchy!(IXDSCodecConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXDSCodecConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXDSCodecConfig {} -impl ::core::fmt::Debug for IXDSCodecConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXDSCodecConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXDSCodecConfig { type Vtable = IXDSCodecConfig_Vtbl; } -impl ::core::clone::Clone for IXDSCodecConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXDSCodecConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4d3_0049_4e2b_98fb_9537f6ce516d); } @@ -27738,36 +23018,17 @@ pub struct IXDSCodecConfig_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXDSCodecEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXDSCodecEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXDSCodecEvents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXDSCodecEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXDSCodecEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXDSCodecEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXDSCodecEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXDSCodecEvents { type Vtable = IXDSCodecEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXDSCodecEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXDSCodecEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c4c4c3_0049_4e2b_98fb_9537f6ce516d); } @@ -27780,6 +23041,7 @@ pub struct IXDSCodecEvents_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXDSToRat(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXDSToRat { @@ -27793,30 +23055,10 @@ impl IXDSToRat { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXDSToRat, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXDSToRat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXDSToRat {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXDSToRat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXDSToRat").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXDSToRat { type Vtable = IXDSToRat_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXDSToRat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXDSToRat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5c5c5b0_3abc_11d6_b25b_00c04fa0c026); } @@ -27831,36 +23073,17 @@ pub struct IXDSToRat_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IMSVidCtlEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IMSVidCtlEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IMSVidCtlEvents, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IMSVidCtlEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IMSVidCtlEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IMSVidCtlEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IMSVidCtlEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IMSVidCtlEvents { type Vtable = _IMSVidCtlEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IMSVidCtlEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IMSVidCtlEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0edf164_910a_11d2_b632_00c04f79498e); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs index d8abe739a7..88cd35976b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs @@ -32,7 +32,7 @@ impl IXMLGraphBuilder_Vtbl { BuildFromXMLFile: BuildFromXMLFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs index 3a9858bf6e..987a4c34bd 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_DirectShow_Xml\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXMLGraphBuilder(::windows_core::IUnknown); impl IXMLGraphBuilder { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -27,25 +28,9 @@ impl IXMLGraphBuilder { } } ::windows_core::imp::interface_hierarchy!(IXMLGraphBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXMLGraphBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXMLGraphBuilder {} -impl ::core::fmt::Debug for IXMLGraphBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXMLGraphBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXMLGraphBuilder { type Vtable = IXMLGraphBuilder_Vtbl; } -impl ::core::clone::Clone for IXMLGraphBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXMLGraphBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb05960_5fbf_11d2_a521_44df07c10000); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 41e7f2e980..117d9274d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -107,8 +107,8 @@ impl IAMAnalogVideoDecoder_Vtbl { OutputEnable: OutputEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IAMAnalogVideoEncoder_Vtbl { CCEnable: CCEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IAMAsyncReaderTimestampScaling_Vtbl { SetTimestampMode: SetTimestampMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -414,8 +414,8 @@ impl IAMAudioInputMixer_Vtbl { BassRange: BassRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -432,8 +432,8 @@ impl IAMAudioRendererStats_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStatParam: GetStatParam:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -466,8 +466,8 @@ impl IAMBufferNegotiation_Vtbl { GetAllocatorProperties: GetAllocatorProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl IAMCameraControl_Vtbl { Get: Get::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -543,8 +543,8 @@ impl IAMCertifiedOutputProtection_Vtbl { ProtectionStatus: ProtectionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IAMChannelInfo_Vtbl { ContactEmail: ContactEmail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IAMClockAdjust_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetClockDelta: SetClockDelta:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -654,8 +654,8 @@ impl IAMClockSlave_Vtbl { GetErrorTolerance: GetErrorTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IAMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -728,8 +728,8 @@ impl IAMCopyCaptureFileProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -786,8 +786,8 @@ impl IAMCrossbar_Vtbl { get_CrossbarPinInfo: get_CrossbarPinInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -810,8 +810,8 @@ impl IAMDecoderCaps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDecoderCaps: GetDecoderCaps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IAMDevMemoryAllocator_Vtbl { GetDevMemoryObject: GetDevMemoryObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -900,8 +900,8 @@ impl IAMDevMemoryControl_Vtbl { GetDevId: GetDevId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -935,8 +935,8 @@ impl IAMDeviceRemoval_Vtbl { Disassociate: Disassociate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IAMDirectSound_Vtbl { GetFocusWindow: GetFocusWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1086,8 +1086,8 @@ impl IAMDroppedFrames_Vtbl { GetAverageFrameSize: GetAverageFrameSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl IAMExtDevice_Vtbl { DevicePort: DevicePort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1462,8 +1462,8 @@ impl IAMExtTransport_Vtbl { SetEditStart: SetEditStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1500,8 +1500,8 @@ impl IAMExtendedErrorInfo_Vtbl { ErrorCode: ErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1566,8 +1566,8 @@ impl IAMExtendedSeeking_Vtbl { PlaybackSpeed: PlaybackSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1584,8 +1584,8 @@ impl IAMFilterGraphCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UnableToRender: UnableToRender:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1602,8 +1602,8 @@ impl IAMFilterMiscFlags_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMiscFlags: GetMiscFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IAMGraphBuilderCallback_Vtbl { CreatedFilter: CreatedFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1671,8 +1671,8 @@ impl IAMGraphStreams_Vtbl { SetMaxGraphLatency: SetMaxGraphLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1695,8 +1695,8 @@ impl IAMLatency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLatency: GetLatency:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1803,8 +1803,8 @@ impl IAMLine21Decoder_Vtbl { SetDrawBackgroundMode: SetDrawBackgroundMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1911,8 +1911,8 @@ impl IAMMediaContent_Vtbl { MoreInfoText: MoreInfoText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl IAMMediaContent2_Vtbl { PlaylistCount: PlaylistCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2001,8 +2001,8 @@ impl IAMMediaStream_Vtbl { JoinFilterGraph: JoinFilterGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2149,8 +2149,8 @@ impl IAMMediaTypeSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2213,8 +2213,8 @@ impl IAMMediaTypeStream_Vtbl { SetStreamAllocatorRequirements: SetStreamAllocatorRequirements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2297,8 +2297,8 @@ impl IAMMultiMediaStream_Vtbl { Render: Render::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2468,8 +2468,8 @@ impl IAMNetShowConfig_Vtbl { SetEnableHTTP: SetEnableHTTP::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2548,8 +2548,8 @@ impl IAMNetShowExProps_Vtbl { SourceLink: SourceLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2579,8 +2579,8 @@ impl IAMNetShowPreroll_Vtbl { Preroll: Preroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2645,8 +2645,8 @@ impl IAMNetworkStatus_Vtbl { BufferingProgress: BufferingProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2673,8 +2673,8 @@ impl IAMOpenProgress_Vtbl { AbortOperation: AbortOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2720,8 +2720,8 @@ impl IAMOverlayFX_Vtbl { GetOverlayFX: GetOverlayFX::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2761,8 +2761,8 @@ impl IAMParse_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2779,8 +2779,8 @@ impl IAMPhysicalPinInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPhysicalType: GetPhysicalType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2846,8 +2846,8 @@ impl IAMPlayList_Vtbl { GetRepeatInfo: GetRepeatInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl IAMPlayListItem_Vtbl { GetScanDuration: GetScanDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3081,8 +3081,8 @@ impl IAMPluginControl_Vtbl { IsLegacyDisabled: IsLegacyDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3155,8 +3155,8 @@ impl IAMPushSource_Vtbl { SetMaxStreamOffset: SetMaxStreamOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3173,8 +3173,8 @@ impl IAMRebuild_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RebuildNow: RebuildNow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3191,8 +3191,8 @@ impl IAMResourceControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reserve: Reserve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3262,8 +3262,8 @@ impl IAMStats_Vtbl { AddValue: AddValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl IAMStreamConfig_Vtbl { GetStreamCaps: GetStreamCaps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3351,8 +3351,8 @@ impl IAMStreamControl_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3395,8 +3395,8 @@ impl IAMStreamSelect_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3469,8 +3469,8 @@ impl IAMTVAudio_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3487,8 +3487,8 @@ impl IAMTVAudioNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3629,8 +3629,8 @@ impl IAMTVTuner_Vtbl { AudioFrequency: AudioFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3683,8 +3683,8 @@ impl IAMTimecodeDisplay_Vtbl { SetTCDisplay: SetTCDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3751,8 +3751,8 @@ impl IAMTimecodeGenerator_Vtbl { GetTimecode: GetTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3812,8 +3812,8 @@ impl IAMTimecodeReader_Vtbl { GetTimecode: GetTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3964,8 +3964,8 @@ impl IAMTuner_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3982,8 +3982,8 @@ impl IAMTunerNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4020,8 +4020,8 @@ impl IAMVfwCaptureDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4065,8 +4065,8 @@ impl IAMVfwCompressDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -4166,8 +4166,8 @@ impl IAMVideoAccelerator_Vtbl { DisplayFrame: DisplayFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -4204,8 +4204,8 @@ impl IAMVideoAcceleratorNotify_Vtbl { GetCreateVideoAcceleratorData: GetCreateVideoAcceleratorData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4319,8 +4319,8 @@ impl IAMVideoCompression_Vtbl { OverrideFrameSize: OverrideFrameSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4402,8 +4402,8 @@ impl IAMVideoControl_Vtbl { GetFrameRateList: GetFrameRateList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IAMVideoDecimationProperties_Vtbl { SetDecimationUsage: SetDecimationUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IAMVideoProcAmp_Vtbl { Get: Get::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4489,8 +4489,8 @@ impl IAMWMBufferPass_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotify: SetNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4510,8 +4510,8 @@ impl IAMWMBufferPassCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4653,8 +4653,8 @@ impl IAMWstDecoder_Vtbl { SetCurrentPage: SetCurrentPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4681,8 +4681,8 @@ impl IAMovieSetup_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4757,8 +4757,8 @@ impl IAsyncReader_Vtbl { EndFlush: EndFlush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -4788,8 +4788,8 @@ impl IAudioData_Vtbl { SetFormat: SetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -4832,8 +4832,8 @@ impl IAudioMediaStream_Vtbl { CreateSample: CreateSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4859,8 +4859,8 @@ impl IAudioStreamSample_Vtbl { } Self { base__: IStreamSample_Vtbl::new::(), GetAudioData: GetAudioData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4893,8 +4893,8 @@ impl IBDA_AUX_Vtbl { EnumCapability: EnumCapability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4911,8 +4911,8 @@ impl IBDA_AutoDemodulate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), put_AutoDemodulate: put_AutoDemodulate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4946,8 +4946,8 @@ impl IBDA_AutoDemodulateEx_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IBDA_ConditionalAccess_Vtbl { InformUIClosed: InformUIClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5112,8 +5112,8 @@ impl IBDA_ConditionalAccessEx_Vtbl { CreateDialogRequestNumber: CreateDialogRequestNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5147,8 +5147,8 @@ impl IBDA_DRIDRMService_Vtbl { GetPairingStatus: GetPairingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5210,8 +5210,8 @@ impl IBDA_DRIWMDRMSession_Vtbl { GetLastCardeaError: GetLastCardeaError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl IBDA_DRM_Vtbl { PerformDRMPairing: PerformDRMPairing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5269,8 +5269,8 @@ impl IBDA_DRMService_Vtbl { GetDRMStatus: GetDRMStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5311,8 +5311,8 @@ impl IBDA_DeviceControl_Vtbl { GetChangeState: GetChangeState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5325,8 +5325,8 @@ impl IBDA_DiagnosticProperties_Vtbl { pub const fn new, Impl: IBDA_DiagnosticProperties_Impl, const OFFSET: isize>() -> IBDA_DiagnosticProperties_Vtbl { Self { base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5437,8 +5437,8 @@ impl IBDA_DigitalDemodulator_Vtbl { SpectralInversion: SpectralInversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5507,8 +5507,8 @@ impl IBDA_DigitalDemodulator2_Vtbl { Pilot: Pilot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5549,8 +5549,8 @@ impl IBDA_DigitalDemodulator3_Vtbl { PLPNumber: PLPNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5608,8 +5608,8 @@ impl IBDA_DiseqCommand_Vtbl { get_DiseqResponse: get_DiseqResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5626,8 +5626,8 @@ impl IBDA_EasMessage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_EasMessage: get_EasMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5699,8 +5699,8 @@ impl IBDA_Encoder_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5754,8 +5754,8 @@ impl IBDA_EthernetFilter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5772,8 +5772,8 @@ impl IBDA_EventingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompleteEvent: CompleteEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5850,8 +5850,8 @@ impl IBDA_FDC_Vtbl { GetTableSection: GetTableSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IBDA_FrequencyFilter_Vtbl { FrequencyMultiplier: FrequencyMultiplier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6022,8 +6022,8 @@ impl IBDA_GuideDataDeliveryService_Vtbl { GetServiceInfoFromTuneXml: GetServiceInfoFromTuneXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6050,8 +6050,8 @@ impl IBDA_IPSinkControl_Vtbl { GetAdapterIPAddress: GetAdapterIPAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6097,8 +6097,8 @@ impl IBDA_IPSinkInfo_Vtbl { AdapterDescription: AdapterDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6152,8 +6152,8 @@ impl IBDA_IPV4Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6207,8 +6207,8 @@ impl IBDA_IPV6Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6225,8 +6225,8 @@ impl IBDA_ISDBConditionalAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIsdbCasRequest: SetIsdbCasRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6281,8 +6281,8 @@ impl IBDA_LNBInfo_Vtbl { HighLowSwitchFrequency: HighLowSwitchFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6309,8 +6309,8 @@ impl IBDA_MUX_Vtbl { GetPidList: GetPidList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl IBDA_NameValueService_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6419,8 +6419,8 @@ impl IBDA_NetworkProvider_Vtbl { UnRegisterDeviceFilter: UnRegisterDeviceFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6443,8 +6443,8 @@ impl IBDA_NullTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6478,8 +6478,8 @@ impl IBDA_PinControl_Vtbl { RegistrationContext: RegistrationContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6534,8 +6534,8 @@ impl IBDA_SignalProperties_Vtbl { GetTuningSpace: GetTuningSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6621,8 +6621,8 @@ impl IBDA_SignalStatistics_Vtbl { SampleTime: SampleTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6715,8 +6715,8 @@ impl IBDA_Topology_Vtbl { GetControlNode: GetControlNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6739,8 +6739,8 @@ impl IBDA_TransportStreamInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PatTableTickCount: PatTableTickCount:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6767,8 +6767,8 @@ impl IBDA_TransportStreamSelector_Vtbl { GetTSInformation: GetTSInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6808,8 +6808,8 @@ impl IBDA_UserActivityService_Vtbl { UserActivityDetected: UserActivityDetected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6832,8 +6832,8 @@ impl IBDA_VoidTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6902,8 +6902,8 @@ impl IBDA_WMDRMSession_Vtbl { GetKeyInfo: GetKeyInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6964,8 +6964,8 @@ impl IBDA_WMDRMTuner_Vtbl { GetStartCodeProfile: GetStartCodeProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7002,8 +7002,8 @@ impl IBPCSatelliteTuner_Vtbl { IsTapingPermitted: IsTapingPermitted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7072,8 +7072,8 @@ impl IBaseFilter_Vtbl { QueryVendorInfo: QueryVendorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7159,8 +7159,8 @@ impl IBaseVideoMixer_Vtbl { SetClockPeriod: SetClockPeriod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7216,8 +7216,8 @@ impl IBasicAudio_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7535,8 +7535,8 @@ impl IBasicVideo_Vtbl { IsUsingDefaultDestination: IsUsingDefaultDestination::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7556,8 +7556,8 @@ impl IBasicVideo2_Vtbl { } Self { base__: IBasicVideo_Vtbl::new::(), GetPreferredAspectRatio: GetPreferredAspectRatio:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7574,8 +7574,8 @@ impl IBroadcastEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Fire: Fire:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7592,8 +7592,8 @@ impl IBroadcastEventEx_Vtbl { } Self { base__: IBroadcastEvent_Vtbl::new::(), FireEx: FireEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7620,8 +7620,8 @@ impl IBufferingTime_Vtbl { SetBufferingTime: SetBufferingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7654,8 +7654,8 @@ impl ICCSubStreamFiltering_Vtbl { SetSubstreamTypes: SetSubstreamTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8025,8 +8025,8 @@ impl ICameraControl_Vtbl { put_PrivacyMode: put_PrivacyMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8104,8 +8104,8 @@ impl ICaptureGraphBuilder_Vtbl { CopyCaptureFile: CopyCaptureFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8196,8 +8196,8 @@ impl ICaptureGraphBuilder2_Vtbl { FindPin: FindPin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -8293,8 +8293,8 @@ impl IConfigAsfWriter_Vtbl { GetIndexMode: GetIndexMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -8344,8 +8344,8 @@ impl IConfigAsfWriter2_Vtbl { ResetMultiPassState: ResetMultiPassState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8401,8 +8401,8 @@ impl IConfigAviMux_Vtbl { GetOutputCompatibilityIndex: GetOutputCompatibilityIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8449,8 +8449,8 @@ impl IConfigInterleaving_Vtbl { get_Interleaving: get_Interleaving::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8470,8 +8470,8 @@ impl ICreateDevEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateClassEnumerator: CreateClassEnumerator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8536,8 +8536,8 @@ impl IDDrawExclModeVideo_Vtbl { SetCallbackInterface: SetCallbackInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8574,8 +8574,8 @@ impl IDDrawExclModeVideoCallback_Vtbl { OnUpdateSize: OnUpdateSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8592,8 +8592,8 @@ impl IDMOWrapperFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8620,8 +8620,8 @@ impl IDShowPlugin_Vtbl { UserAgent: UserAgent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8648,8 +8648,8 @@ impl IDVEnc_Vtbl { put_IFormatResolution: put_IFormatResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8669,8 +8669,8 @@ impl IDVRGB219_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRGB219: SetRGB219:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8690,8 +8690,8 @@ impl IDVSplitter_Vtbl { DiscardAlternateVideoFrames: DiscardAlternateVideoFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8718,8 +8718,8 @@ impl IDecimateVideoImage_Vtbl { ResetDecimationImageSize: ResetDecimationImageSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8772,8 +8772,8 @@ impl IDeferredCommand_Vtbl { GetHResult: GetHResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8803,8 +8803,8 @@ impl IDirectDrawMediaSample_Vtbl { LockMediaSamplePointer: LockMediaSamplePointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8830,8 +8830,8 @@ impl IDirectDrawMediaSampleAllocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectDraw: GetDirectDraw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8907,8 +8907,8 @@ impl IDirectDrawMediaStream_Vtbl { GetTimePerFrame: GetTimePerFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8938,8 +8938,8 @@ impl IDirectDrawStreamSample_Vtbl { SetRect: SetRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -9103,8 +9103,8 @@ impl IDirectDrawVideo_Vtbl { WillUseFullScreen: WillUseFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -9152,8 +9152,8 @@ impl IDistributorNotify_Vtbl { NotifyGraphChange: NotifyGraphChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -9190,8 +9190,8 @@ impl IDrawVideoImage_Vtbl { DrawVideoImageDraw: DrawVideoImageDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -9218,8 +9218,8 @@ impl IDvdCmd_Vtbl { WaitForEnd: WaitForEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9480,8 +9480,8 @@ impl IDvdControl_Vtbl { ChapterPlayAutoStop: ChapterPlayAutoStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9903,8 +9903,8 @@ impl IDvdControl2_Vtbl { SelectDefaultSubpictureLanguage: SelectDefaultSubpictureLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9947,8 +9947,8 @@ impl IDvdGraphBuilder_Vtbl { RenderDvdVideoVolume: RenderDvdVideoVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10203,8 +10203,8 @@ impl IDvdInfo_Vtbl { GetRoot: GetRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10607,8 +10607,8 @@ impl IDvdInfo2_Vtbl { IsSubpictureStreamEnabled: IsSubpictureStreamEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10647,8 +10647,8 @@ impl IDvdState_Vtbl { GetParentalLevel: GetParentalLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -10723,8 +10723,8 @@ impl IESEvent_Vtbl { GetStringData: GetStringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10741,8 +10741,8 @@ impl IESEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnESEventReceived: OnESEventReceived:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10819,8 +10819,8 @@ impl IEncoderAPI_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -10870,8 +10870,8 @@ impl IEnumFilters_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10921,8 +10921,8 @@ impl IEnumMediaTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10969,8 +10969,8 @@ impl IEnumPIDMap_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11017,8 +11017,8 @@ impl IEnumPins_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11065,8 +11065,8 @@ impl IEnumRegFilters_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11113,8 +11113,8 @@ impl IEnumStreamIdMap_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11144,8 +11144,8 @@ impl IFileSinkFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11181,8 +11181,8 @@ impl IFileSinkFilter2_Vtbl { GetMode: GetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11212,8 +11212,8 @@ impl IFileSourceFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11257,8 +11257,8 @@ impl IFilterChain_Vtbl { RemoveChain: RemoveChain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11342,8 +11342,8 @@ impl IFilterGraph_Vtbl { SetDefaultSyncSource: SetDefaultSyncSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11386,8 +11386,8 @@ impl IFilterGraph2_Vtbl { RenderEx: RenderEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11407,8 +11407,8 @@ impl IFilterGraph3_Vtbl { } Self { base__: IFilterGraph2_Vtbl::new::(), SetSyncSourceEx: SetSyncSourceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11522,8 +11522,8 @@ impl IFilterInfo_Vtbl { SetFilename: SetFilename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11601,8 +11601,8 @@ impl IFilterMapper_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11663,8 +11663,8 @@ impl IFilterMapper2_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11690,8 +11690,8 @@ impl IFilterMapper3_Vtbl { } Self { base__: IFilterMapper2_Vtbl::new::(), GetICreateDevEnum: GetICreateDevEnum:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11752,8 +11752,8 @@ impl IFrequencyMap_Vtbl { get_CountryCodeList: get_CountryCodeList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11924,8 +11924,8 @@ impl IFullScreenVideo_Vtbl { SetDefault: SetDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -11975,8 +11975,8 @@ impl IFullScreenVideoEx_Vtbl { IsKeepPixelAspectRatio: IsKeepPixelAspectRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -12002,8 +12002,8 @@ impl IGetCapabilitiesKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapabilitiesKey: GetCapabilitiesKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12074,8 +12074,8 @@ impl IGraphBuilder_Vtbl { ShouldOperationContinue: ShouldOperationContinue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12179,8 +12179,8 @@ impl IGraphConfig_Vtbl { RemoveFilterEx: RemoveFilterEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12197,8 +12197,8 @@ impl IGraphConfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reconfigure: Reconfigure:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12221,8 +12221,8 @@ impl IGraphVersion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryVersion: QueryVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12255,8 +12255,8 @@ impl IIPDVDec_Vtbl { SetIPDisplay: SetIPDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12296,8 +12296,8 @@ impl IMPEG2PIDMap_Vtbl { EnumPIDMap: EnumPIDMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12337,8 +12337,8 @@ impl IMPEG2StreamIdMap_Vtbl { EnumStreamIdMap: EnumStreamIdMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12441,8 +12441,8 @@ impl IMediaControl_Vtbl { StopWhenReady: StopWhenReady::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12512,8 +12512,8 @@ impl IMediaEvent_Vtbl { FreeEventParams: FreeEventParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12556,8 +12556,8 @@ impl IMediaEventEx_Vtbl { GetNotifyFlags: GetNotifyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12574,8 +12574,8 @@ impl IMediaEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12645,8 +12645,8 @@ impl IMediaFilter_Vtbl { GetSyncSource: GetSyncSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12725,8 +12725,8 @@ impl IMediaParamInfo_Vtbl { GetCurrentTimeFormat: GetCurrentTimeFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12780,8 +12780,8 @@ impl IMediaParams_Vtbl { SetTimeFormat: SetTimeFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12916,8 +12916,8 @@ impl IMediaPosition_Vtbl { CanSeekBackward: CanSeekBackward::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12940,8 +12940,8 @@ impl IMediaPropertyBag_Vtbl { EnumProperty: EnumProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13081,8 +13081,8 @@ impl IMediaSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13112,8 +13112,8 @@ impl IMediaSample2_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13136,8 +13136,8 @@ impl IMediaSample2Config_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSurface: GetSurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13317,8 +13317,8 @@ impl IMediaSeeking_Vtbl { GetPreroll: GetPreroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13391,8 +13391,8 @@ impl IMediaStream_Vtbl { SendEndOfStream: SendEndOfStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -13489,8 +13489,8 @@ impl IMediaStreamFilter_Vtbl { EndOfStream: EndOfStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13532,8 +13532,8 @@ impl IMediaTypeInfo_Vtbl { Subtype: Subtype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13600,8 +13600,8 @@ impl IMemAllocator_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13634,8 +13634,8 @@ impl IMemAllocatorCallbackTemp_Vtbl { GetFreeCount: GetFreeCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13652,8 +13652,8 @@ impl IMemAllocatorNotifyCallbackTemp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13729,8 +13729,8 @@ impl IMemInputPin_Vtbl { ReceiveCanBlock: ReceiveCanBlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13764,8 +13764,8 @@ impl IMemoryData_Vtbl { SetActual: SetActual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -13843,8 +13843,8 @@ impl IMixerOCX_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13881,8 +13881,8 @@ impl IMixerOCXNotify_Vtbl { OnDataChange: OnDataChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13982,8 +13982,8 @@ impl IMixerPinConfig_Vtbl { GetStreamTransparent: GetStreamTransparent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -14013,8 +14013,8 @@ impl IMixerPinConfig2_Vtbl { GetOverlaySurfaceColorControls: GetOverlaySurfaceColorControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14057,8 +14057,8 @@ impl IMpeg2Demultiplexer_Vtbl { DeleteOutputPin: DeleteOutputPin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -14195,8 +14195,8 @@ impl IMpegAudioDecoder_Vtbl { AudioFormat: AudioFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14311,8 +14311,8 @@ impl IMultiMediaStream_Vtbl { GetEndOfStreamEventHandle: GetEndOfStreamEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14416,8 +14416,8 @@ impl IOverlay_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14461,8 +14461,8 @@ impl IOverlayNotify_Vtbl { OnPositionChange: OnPositionChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14482,8 +14482,8 @@ impl IOverlayNotify2_Vtbl { } Self { base__: IOverlayNotify_Vtbl::new::(), OnDisplayChange: OnDisplayChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -14520,8 +14520,8 @@ impl IPersistMediaPropertyBag_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -14666,8 +14666,8 @@ impl IPin_Vtbl { NewSegment: NewSegment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14711,8 +14711,8 @@ impl IPinConnection_Vtbl { DynamicDisconnect: DynamicDisconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14732,8 +14732,8 @@ impl IPinFlowControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Block: Block:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14888,8 +14888,8 @@ impl IPinInfo_Vtbl { Render: Render::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -14980,8 +14980,8 @@ impl IQualProp_Vtbl { DevSyncOffset: DevSyncOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15011,8 +15011,8 @@ impl IQualityControl_Vtbl { SetSink: SetSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15042,8 +15042,8 @@ impl IQueueCommand_Vtbl { InvokeAtPresentationTime: InvokeAtPresentationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15085,8 +15085,8 @@ impl IRegFilterInfo_Vtbl { Filter: Filter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15103,8 +15103,8 @@ impl IRegisterServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterService: RegisterService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15131,8 +15131,8 @@ impl IResourceConsumer_Vtbl { ReleaseResource: ReleaseResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15216,8 +15216,8 @@ impl IResourceManager_Vtbl { ReleaseFocus: ReleaseFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15237,8 +15237,8 @@ impl ISeekingPassThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15284,8 +15284,8 @@ impl ISelector_Vtbl { SetSourceNodeId: SetSourceNodeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -15311,8 +15311,8 @@ impl ISpecifyParticularPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15339,8 +15339,8 @@ impl IStreamBuilder_Vtbl { Backout: Backout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15391,8 +15391,8 @@ impl IStreamSample_Vtbl { CompletionStatus: CompletionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15425,8 +15425,8 @@ impl IVMRAspectRatioControl_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15459,8 +15459,8 @@ impl IVMRAspectRatioControl9_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15543,8 +15543,8 @@ impl IVMRDeinterlaceControl_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15624,8 +15624,8 @@ impl IVMRDeinterlaceControl9_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15705,8 +15705,8 @@ impl IVMRFilterConfig_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15786,8 +15786,8 @@ impl IVMRFilterConfig9_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15831,8 +15831,8 @@ impl IVMRImageCompositor_Vtbl { CompositeImage: CompositeImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15876,8 +15876,8 @@ impl IVMRImageCompositor9_Vtbl { CompositeImage: CompositeImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -15914,8 +15914,8 @@ impl IVMRImagePresenter_Vtbl { PresentImage: PresentImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -15952,8 +15952,8 @@ impl IVMRImagePresenter9_Vtbl { PresentImage: PresentImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15986,8 +15986,8 @@ impl IVMRImagePresenterConfig_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -16020,8 +16020,8 @@ impl IVMRImagePresenterConfig9_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16051,8 +16051,8 @@ impl IVMRImagePresenterExclModeConfig_Vtbl { GetXlcModeDDObjAndPrimarySurface: GetXlcModeDDObjAndPrimarySurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16089,8 +16089,8 @@ impl IVMRMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16127,8 +16127,8 @@ impl IVMRMixerBitmap9_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16238,8 +16238,8 @@ impl IVMRMixerControl_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16370,8 +16370,8 @@ impl IVMRMixerControl9_Vtbl { GetProcAmpControlRange: GetProcAmpControlRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16422,8 +16422,8 @@ impl IVMRMonitorConfig_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16486,8 +16486,8 @@ impl IVMRMonitorConfig9_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16543,8 +16543,8 @@ impl IVMRSurface_Vtbl { GetSurface: GetSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16600,8 +16600,8 @@ impl IVMRSurface9_Vtbl { GetSurface: GetSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16645,8 +16645,8 @@ impl IVMRSurfaceAllocator_Vtbl { AdviseNotify: AdviseNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16696,8 +16696,8 @@ impl IVMRSurfaceAllocator9_Vtbl { AdviseNotify: AdviseNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16717,8 +16717,8 @@ impl IVMRSurfaceAllocatorEx9_Vtbl { } Self { base__: IVMRSurfaceAllocator9_Vtbl::new::(), GetSurfaceEx: GetSurfaceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16776,8 +16776,8 @@ impl IVMRSurfaceAllocatorNotify_Vtbl { SetBorderColor: SetBorderColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16828,8 +16828,8 @@ impl IVMRSurfaceAllocatorNotify9_Vtbl { NotifyEvent: NotifyEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16885,8 +16885,8 @@ impl IVMRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16922,8 +16922,8 @@ impl IVMRVideoStreamControl9_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17068,8 +17068,8 @@ impl IVMRWindowlessControl_Vtbl { GetColorKey: GetColorKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17194,8 +17194,8 @@ impl IVMRWindowlessControl9_Vtbl { GetBorderColor: GetBorderColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17308,8 +17308,8 @@ impl IVPBaseConfig_Vtbl { SetSurfaceParameters: SetSurfaceParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17326,8 +17326,8 @@ impl IVPBaseNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RenegotiateVPParameters: RenegotiateVPParameters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17357,8 +17357,8 @@ impl IVPConfig_Vtbl { SetScalingFactors: SetScalingFactors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17391,8 +17391,8 @@ impl IVPManager_Vtbl { GetVideoPortIndex: GetVideoPortIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17419,8 +17419,8 @@ impl IVPNotify_Vtbl { GetDeinterlaceMode: GetDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17450,8 +17450,8 @@ impl IVPNotify2_Vtbl { GetVPSyncMaster: GetVPSyncMaster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17464,8 +17464,8 @@ impl IVPVBIConfig_Vtbl { pub const fn new, Impl: IVPVBIConfig_Impl, const OFFSET: isize>() -> IVPVBIConfig_Vtbl { Self { base__: IVPBaseConfig_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17475,8 +17475,8 @@ impl IVPVBINotify_Vtbl { pub const fn new, Impl: IVPVBINotify_Impl, const OFFSET: isize>() -> IVPVBINotify_Vtbl { Self { base__: IVPBaseNotify_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17489,8 +17489,8 @@ impl IVideoEncoder_Vtbl { pub const fn new, Impl: IVideoEncoder_Impl, const OFFSET: isize>() -> IVideoEncoder_Vtbl { Self { base__: IEncoderAPI_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17524,8 +17524,8 @@ impl IVideoFrameStep_Vtbl { CancelStep: CancelStep::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17811,8 +17811,8 @@ impl IVideoProcAmp_Vtbl { getRange_WhiteBalanceComponent: getRange_WhiteBalanceComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18197,8 +18197,8 @@ impl IVideoWindow_Vtbl { IsCursorHidden: IsCursorHidden::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -18235,8 +18235,8 @@ impl IWMCodecAMVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -18266,7 +18266,7 @@ impl IWMCodecVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs index 25a73942bd..3dc87e8fee 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -16,6 +16,7 @@ pub unsafe fn AMGetErrorTextW(hr: ::windows_core::HRESULT, pbuffer: &mut [u16]) } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMAnalogVideoDecoder(::windows_core::IUnknown); impl IAMAnalogVideoDecoder { pub unsafe fn AvailableTVFormats(&self) -> ::windows_core::Result { @@ -53,25 +54,9 @@ impl IAMAnalogVideoDecoder { } } ::windows_core::imp::interface_hierarchy!(IAMAnalogVideoDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMAnalogVideoDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMAnalogVideoDecoder {} -impl ::core::fmt::Debug for IAMAnalogVideoDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMAnalogVideoDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMAnalogVideoDecoder { type Vtable = IAMAnalogVideoDecoder_Vtbl; } -impl ::core::clone::Clone for IAMAnalogVideoDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMAnalogVideoDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13350_30ac_11d0_a18c_00a0c9118956); } @@ -91,6 +76,7 @@ pub struct IAMAnalogVideoDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMAnalogVideoEncoder(::windows_core::IUnknown); impl IAMAnalogVideoEncoder { pub unsafe fn AvailableTVFormats(&self) -> ::windows_core::Result { @@ -120,25 +106,9 @@ impl IAMAnalogVideoEncoder { } } ::windows_core::imp::interface_hierarchy!(IAMAnalogVideoEncoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMAnalogVideoEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMAnalogVideoEncoder {} -impl ::core::fmt::Debug for IAMAnalogVideoEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMAnalogVideoEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMAnalogVideoEncoder { type Vtable = IAMAnalogVideoEncoder_Vtbl; } -impl ::core::clone::Clone for IAMAnalogVideoEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMAnalogVideoEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e133b0_30ac_11d0_a18c_00a0c9118956); } @@ -156,6 +126,7 @@ pub struct IAMAnalogVideoEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMAsyncReaderTimestampScaling(::windows_core::IUnknown); impl IAMAsyncReaderTimestampScaling { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -174,25 +145,9 @@ impl IAMAsyncReaderTimestampScaling { } } ::windows_core::imp::interface_hierarchy!(IAMAsyncReaderTimestampScaling, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMAsyncReaderTimestampScaling { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMAsyncReaderTimestampScaling {} -impl ::core::fmt::Debug for IAMAsyncReaderTimestampScaling { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMAsyncReaderTimestampScaling").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMAsyncReaderTimestampScaling { type Vtable = IAMAsyncReaderTimestampScaling_Vtbl; } -impl ::core::clone::Clone for IAMAsyncReaderTimestampScaling { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMAsyncReaderTimestampScaling { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf7b26fc_9a00_485b_8147_3e789d5e8f67); } @@ -211,6 +166,7 @@ pub struct IAMAsyncReaderTimestampScaling_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMAudioInputMixer(::windows_core::IUnknown); impl IAMAudioInputMixer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -293,25 +249,9 @@ impl IAMAudioInputMixer { } } ::windows_core::imp::interface_hierarchy!(IAMAudioInputMixer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMAudioInputMixer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMAudioInputMixer {} -impl ::core::fmt::Debug for IAMAudioInputMixer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMAudioInputMixer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMAudioInputMixer { type Vtable = IAMAudioInputMixer_Vtbl; } -impl ::core::clone::Clone for IAMAudioInputMixer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMAudioInputMixer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54c39221_8380_11d0_b3f0_00aa003761c5); } @@ -356,6 +296,7 @@ pub struct IAMAudioInputMixer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMAudioRendererStats(::windows_core::IUnknown); impl IAMAudioRendererStats { pub unsafe fn GetStatParam(&self, dwparam: u32, pdwparam1: *mut u32, pdwparam2: *mut u32) -> ::windows_core::Result<()> { @@ -363,25 +304,9 @@ impl IAMAudioRendererStats { } } ::windows_core::imp::interface_hierarchy!(IAMAudioRendererStats, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMAudioRendererStats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMAudioRendererStats {} -impl ::core::fmt::Debug for IAMAudioRendererStats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMAudioRendererStats").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMAudioRendererStats { type Vtable = IAMAudioRendererStats_Vtbl; } -impl ::core::clone::Clone for IAMAudioRendererStats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMAudioRendererStats { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22320cb2_d41a_11d2_bf7c_d7cb9df0bf93); } @@ -393,6 +318,7 @@ pub struct IAMAudioRendererStats_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMBufferNegotiation(::windows_core::IUnknown); impl IAMBufferNegotiation { pub unsafe fn SuggestAllocatorProperties(&self, pprop: *const ALLOCATOR_PROPERTIES) -> ::windows_core::Result<()> { @@ -404,25 +330,9 @@ impl IAMBufferNegotiation { } } ::windows_core::imp::interface_hierarchy!(IAMBufferNegotiation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMBufferNegotiation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMBufferNegotiation {} -impl ::core::fmt::Debug for IAMBufferNegotiation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMBufferNegotiation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMBufferNegotiation { type Vtable = IAMBufferNegotiation_Vtbl; } -impl ::core::clone::Clone for IAMBufferNegotiation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMBufferNegotiation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56ed71a0_af5f_11d0_b3f0_00aa003761c5); } @@ -435,6 +345,7 @@ pub struct IAMBufferNegotiation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMCameraControl(::windows_core::IUnknown); impl IAMCameraControl { pub unsafe fn GetRange(&self, property: i32, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflags: *mut i32) -> ::windows_core::Result<()> { @@ -448,25 +359,9 @@ impl IAMCameraControl { } } ::windows_core::imp::interface_hierarchy!(IAMCameraControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMCameraControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMCameraControl {} -impl ::core::fmt::Debug for IAMCameraControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMCameraControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMCameraControl { type Vtable = IAMCameraControl_Vtbl; } -impl ::core::clone::Clone for IAMCameraControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMCameraControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13370_30ac_11d0_a18c_00a0c9118956); } @@ -480,6 +375,7 @@ pub struct IAMCameraControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMCertifiedOutputProtection(::windows_core::IUnknown); impl IAMCertifiedOutputProtection { pub unsafe fn KeyExchange(&self, prandom: *mut ::windows_core::GUID, varlencertgh: *mut *mut u8, pdwlengthcertgh: *mut u32) -> ::windows_core::Result<()> { @@ -496,25 +392,9 @@ impl IAMCertifiedOutputProtection { } } ::windows_core::imp::interface_hierarchy!(IAMCertifiedOutputProtection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMCertifiedOutputProtection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMCertifiedOutputProtection {} -impl ::core::fmt::Debug for IAMCertifiedOutputProtection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMCertifiedOutputProtection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMCertifiedOutputProtection { type Vtable = IAMCertifiedOutputProtection_Vtbl; } -impl ::core::clone::Clone for IAMCertifiedOutputProtection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMCertifiedOutputProtection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6feded3e_0ff1_4901_a2f1_43f7012c8515); } @@ -530,6 +410,7 @@ pub struct IAMCertifiedOutputProtection_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMChannelInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMChannelInfo { @@ -555,30 +436,10 @@ impl IAMChannelInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMChannelInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMChannelInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMChannelInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMChannelInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMChannelInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMChannelInfo { type Vtable = IAMChannelInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMChannelInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMChannelInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f2_8b62_11d0_a520_000000000000); } @@ -596,6 +457,7 @@ pub struct IAMChannelInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMClockAdjust(::windows_core::IUnknown); impl IAMClockAdjust { pub unsafe fn SetClockDelta(&self, rtdelta: i64) -> ::windows_core::Result<()> { @@ -603,25 +465,9 @@ impl IAMClockAdjust { } } ::windows_core::imp::interface_hierarchy!(IAMClockAdjust, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMClockAdjust { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMClockAdjust {} -impl ::core::fmt::Debug for IAMClockAdjust { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMClockAdjust").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMClockAdjust { type Vtable = IAMClockAdjust_Vtbl; } -impl ::core::clone::Clone for IAMClockAdjust { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMClockAdjust { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d5466b0_a49c_11d1_abe8_00a0c905f375); } @@ -633,6 +479,7 @@ pub struct IAMClockAdjust_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMClockSlave(::windows_core::IUnknown); impl IAMClockSlave { pub unsafe fn SetErrorTolerance(&self, dwtolerance: u32) -> ::windows_core::Result<()> { @@ -644,25 +491,9 @@ impl IAMClockSlave { } } ::windows_core::imp::interface_hierarchy!(IAMClockSlave, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMClockSlave { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMClockSlave {} -impl ::core::fmt::Debug for IAMClockSlave { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMClockSlave").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMClockSlave { type Vtable = IAMClockSlave_Vtbl; } -impl ::core::clone::Clone for IAMClockSlave { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMClockSlave { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fd52741_176d_4b36_8f51_ca8f933223be); } @@ -676,6 +507,7 @@ pub struct IAMClockSlave_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMCollection { @@ -695,30 +527,10 @@ impl IAMCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMCollection { type Vtable = IAMCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b9_0ad4_11ce_b03a_0020af0ba770); } @@ -733,6 +545,7 @@ pub struct IAMCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMCopyCaptureFileProgress(::windows_core::IUnknown); impl IAMCopyCaptureFileProgress { pub unsafe fn Progress(&self, iprogress: i32) -> ::windows_core::Result<()> { @@ -740,25 +553,9 @@ impl IAMCopyCaptureFileProgress { } } ::windows_core::imp::interface_hierarchy!(IAMCopyCaptureFileProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMCopyCaptureFileProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMCopyCaptureFileProgress {} -impl ::core::fmt::Debug for IAMCopyCaptureFileProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMCopyCaptureFileProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMCopyCaptureFileProgress { type Vtable = IAMCopyCaptureFileProgress_Vtbl; } -impl ::core::clone::Clone for IAMCopyCaptureFileProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMCopyCaptureFileProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x670d1d20_a068_11d0_b3f0_00aa003761c5); } @@ -770,6 +567,7 @@ pub struct IAMCopyCaptureFileProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMCrossbar(::windows_core::IUnknown); impl IAMCrossbar { pub unsafe fn get_PinCounts(&self, outputpincount: *mut i32, inputpincount: *mut i32) -> ::windows_core::Result<()> { @@ -795,25 +593,9 @@ impl IAMCrossbar { } } ::windows_core::imp::interface_hierarchy!(IAMCrossbar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMCrossbar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMCrossbar {} -impl ::core::fmt::Debug for IAMCrossbar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMCrossbar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMCrossbar { type Vtable = IAMCrossbar_Vtbl; } -impl ::core::clone::Clone for IAMCrossbar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMCrossbar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13380_30ac_11d0_a18c_00a0c9118956); } @@ -832,6 +614,7 @@ pub struct IAMCrossbar_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDecoderCaps(::windows_core::IUnknown); impl IAMDecoderCaps { pub unsafe fn GetDecoderCaps(&self, dwcapindex: u32) -> ::windows_core::Result { @@ -840,25 +623,9 @@ impl IAMDecoderCaps { } } ::windows_core::imp::interface_hierarchy!(IAMDecoderCaps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDecoderCaps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDecoderCaps {} -impl ::core::fmt::Debug for IAMDecoderCaps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDecoderCaps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDecoderCaps { type Vtable = IAMDecoderCaps_Vtbl; } -impl ::core::clone::Clone for IAMDecoderCaps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDecoderCaps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0dff467_d499_4986_972b_e1d9090fa941); } @@ -870,6 +637,7 @@ pub struct IAMDecoderCaps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDevMemoryAllocator(::windows_core::IUnknown); impl IAMDevMemoryAllocator { pub unsafe fn GetInfo(&self, pdwcbtotalfree: *mut u32, pdwcblargestfree: *mut u32, pdwcbtotalmemory: *mut u32, pdwcbminimumchunk: *mut u32) -> ::windows_core::Result<()> { @@ -892,25 +660,9 @@ impl IAMDevMemoryAllocator { } } ::windows_core::imp::interface_hierarchy!(IAMDevMemoryAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDevMemoryAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDevMemoryAllocator {} -impl ::core::fmt::Debug for IAMDevMemoryAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDevMemoryAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDevMemoryAllocator { type Vtable = IAMDevMemoryAllocator_Vtbl; } -impl ::core::clone::Clone for IAMDevMemoryAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDevMemoryAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6545bf0_e76b_11d0_bd52_00a0c911ce86); } @@ -926,6 +678,7 @@ pub struct IAMDevMemoryAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDevMemoryControl(::windows_core::IUnknown); impl IAMDevMemoryControl { pub unsafe fn QueryWriteSync(&self) -> ::windows_core::Result<()> { @@ -940,25 +693,9 @@ impl IAMDevMemoryControl { } } ::windows_core::imp::interface_hierarchy!(IAMDevMemoryControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDevMemoryControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDevMemoryControl {} -impl ::core::fmt::Debug for IAMDevMemoryControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDevMemoryControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDevMemoryControl { type Vtable = IAMDevMemoryControl_Vtbl; } -impl ::core::clone::Clone for IAMDevMemoryControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDevMemoryControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6545bf1_e76b_11d0_bd52_00a0c911ce86); } @@ -972,6 +709,7 @@ pub struct IAMDevMemoryControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDeviceRemoval(::windows_core::IUnknown); impl IAMDeviceRemoval { pub unsafe fn DeviceInfo(&self, pclsidinterfaceclass: *mut ::windows_core::GUID, pwszsymboliclink: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { @@ -985,25 +723,9 @@ impl IAMDeviceRemoval { } } ::windows_core::imp::interface_hierarchy!(IAMDeviceRemoval, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDeviceRemoval { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDeviceRemoval {} -impl ::core::fmt::Debug for IAMDeviceRemoval { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDeviceRemoval").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDeviceRemoval { type Vtable = IAMDeviceRemoval_Vtbl; } -impl ::core::clone::Clone for IAMDeviceRemoval { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDeviceRemoval { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf90a6130_b658_11d2_ae49_0000f8754b99); } @@ -1017,6 +739,7 @@ pub struct IAMDeviceRemoval_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDirectSound(::windows_core::IUnknown); impl IAMDirectSound { #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`*"] @@ -1077,25 +800,9 @@ impl IAMDirectSound { } } ::windows_core::imp::interface_hierarchy!(IAMDirectSound, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDirectSound { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDirectSound {} -impl ::core::fmt::Debug for IAMDirectSound { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDirectSound").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDirectSound { type Vtable = IAMDirectSound_Vtbl; } -impl ::core::clone::Clone for IAMDirectSound { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDirectSound { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x546f4260_d53e_11cf_b3f0_00aa003761c5); } @@ -1138,6 +845,7 @@ pub struct IAMDirectSound_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMDroppedFrames(::windows_core::IUnknown); impl IAMDroppedFrames { pub unsafe fn GetNumDropped(&self) -> ::windows_core::Result { @@ -1157,25 +865,9 @@ impl IAMDroppedFrames { } } ::windows_core::imp::interface_hierarchy!(IAMDroppedFrames, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMDroppedFrames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMDroppedFrames {} -impl ::core::fmt::Debug for IAMDroppedFrames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMDroppedFrames").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMDroppedFrames { type Vtable = IAMDroppedFrames_Vtbl; } -impl ::core::clone::Clone for IAMDroppedFrames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMDroppedFrames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13344_30ac_11d0_a18c_00a0c9118956); } @@ -1190,6 +882,7 @@ pub struct IAMDroppedFrames_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMExtDevice(::windows_core::IUnknown); impl IAMExtDevice { pub unsafe fn GetCapability(&self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64) -> ::windows_core::Result<()> { @@ -1223,25 +916,9 @@ impl IAMExtDevice { } } ::windows_core::imp::interface_hierarchy!(IAMExtDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMExtDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMExtDevice {} -impl ::core::fmt::Debug for IAMExtDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMExtDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMExtDevice { type Vtable = IAMExtDevice_Vtbl; } -impl ::core::clone::Clone for IAMExtDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMExtDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5730a90_1a2c_11cf_8c23_00aa006b6814); } @@ -1260,6 +937,7 @@ pub struct IAMExtDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMExtTransport(::windows_core::IUnknown); impl IAMExtTransport { pub unsafe fn GetCapability(&self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64) -> ::windows_core::Result<()> { @@ -1362,25 +1040,9 @@ impl IAMExtTransport { } } ::windows_core::imp::interface_hierarchy!(IAMExtTransport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMExtTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMExtTransport {} -impl ::core::fmt::Debug for IAMExtTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMExtTransport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMExtTransport { type Vtable = IAMExtTransport_Vtbl; } -impl ::core::clone::Clone for IAMExtTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMExtTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa03cd5f0_3045_11cf_8c44_00aa006b6814); } @@ -1420,6 +1082,7 @@ pub struct IAMExtTransport_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMExtendedErrorInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMExtendedErrorInfo { @@ -1438,30 +1101,10 @@ impl IAMExtendedErrorInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMExtendedErrorInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMExtendedErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMExtendedErrorInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMExtendedErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMExtendedErrorInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMExtendedErrorInfo { type Vtable = IAMExtendedErrorInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMExtendedErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMExtendedErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f6_8b62_11d0_a520_000000000000); } @@ -1480,6 +1123,7 @@ pub struct IAMExtendedErrorInfo_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMExtendedSeeking(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMExtendedSeeking { @@ -1508,30 +1152,10 @@ impl IAMExtendedSeeking { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMExtendedSeeking, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMExtendedSeeking { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMExtendedSeeking {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMExtendedSeeking { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMExtendedSeeking").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMExtendedSeeking { type Vtable = IAMExtendedSeeking_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMExtendedSeeking { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMExtendedSeeking { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f9_8b62_11d0_a520_000000000000); } @@ -1550,6 +1174,7 @@ pub struct IAMExtendedSeeking_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMFilterGraphCallback(::windows_core::IUnknown); impl IAMFilterGraphCallback { pub unsafe fn UnableToRender(&self, ppin: P0) -> ::windows_core::Result<()> @@ -1560,25 +1185,9 @@ impl IAMFilterGraphCallback { } } ::windows_core::imp::interface_hierarchy!(IAMFilterGraphCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMFilterGraphCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMFilterGraphCallback {} -impl ::core::fmt::Debug for IAMFilterGraphCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMFilterGraphCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMFilterGraphCallback { type Vtable = IAMFilterGraphCallback_Vtbl; } -impl ::core::clone::Clone for IAMFilterGraphCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMFilterGraphCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868fd_0ad4_11ce_b0a3_0020af0ba770); } @@ -1590,6 +1199,7 @@ pub struct IAMFilterGraphCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMFilterMiscFlags(::windows_core::IUnknown); impl IAMFilterMiscFlags { pub unsafe fn GetMiscFlags(&self) -> u32 { @@ -1597,25 +1207,9 @@ impl IAMFilterMiscFlags { } } ::windows_core::imp::interface_hierarchy!(IAMFilterMiscFlags, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMFilterMiscFlags { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMFilterMiscFlags {} -impl ::core::fmt::Debug for IAMFilterMiscFlags { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMFilterMiscFlags").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMFilterMiscFlags { type Vtable = IAMFilterMiscFlags_Vtbl; } -impl ::core::clone::Clone for IAMFilterMiscFlags { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMFilterMiscFlags { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd74950_a890_11d1_abe8_00a0c905f375); } @@ -1627,6 +1221,7 @@ pub struct IAMFilterMiscFlags_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMGraphBuilderCallback(::windows_core::IUnknown); impl IAMGraphBuilderCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1647,25 +1242,9 @@ impl IAMGraphBuilderCallback { } } ::windows_core::imp::interface_hierarchy!(IAMGraphBuilderCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMGraphBuilderCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMGraphBuilderCallback {} -impl ::core::fmt::Debug for IAMGraphBuilderCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMGraphBuilderCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMGraphBuilderCallback { type Vtable = IAMGraphBuilderCallback_Vtbl; } -impl ::core::clone::Clone for IAMGraphBuilderCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMGraphBuilderCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4995f511_9ddb_4f12_bd3b_f04611807b79); } @@ -1684,6 +1263,7 @@ pub struct IAMGraphBuilderCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMGraphStreams(::windows_core::IUnknown); impl IAMGraphStreams { pub unsafe fn FindUpstreamInterface(&self, ppin: P0, riid: *const ::windows_core::GUID, ppvinterface: *mut *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_core::Result<()> @@ -1705,25 +1285,9 @@ impl IAMGraphStreams { } } ::windows_core::imp::interface_hierarchy!(IAMGraphStreams, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMGraphStreams { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMGraphStreams {} -impl ::core::fmt::Debug for IAMGraphStreams { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMGraphStreams").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMGraphStreams { type Vtable = IAMGraphStreams_Vtbl; } -impl ::core::clone::Clone for IAMGraphStreams { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMGraphStreams { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x632105fa_072e_11d3_8af9_00c04fb6bd3d); } @@ -1740,6 +1304,7 @@ pub struct IAMGraphStreams_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMLatency(::windows_core::IUnknown); impl IAMLatency { pub unsafe fn GetLatency(&self) -> ::windows_core::Result { @@ -1748,25 +1313,9 @@ impl IAMLatency { } } ::windows_core::imp::interface_hierarchy!(IAMLatency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMLatency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMLatency {} -impl ::core::fmt::Debug for IAMLatency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMLatency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMLatency { type Vtable = IAMLatency_Vtbl; } -impl ::core::clone::Clone for IAMLatency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMLatency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62ea93ba_ec62_11d2_b770_00c04fb6bd3d); } @@ -1778,6 +1327,7 @@ pub struct IAMLatency_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMLine21Decoder(::windows_core::IUnknown); impl IAMLine21Decoder { pub unsafe fn GetDecoderLevel(&self, lplevel: *mut AM_LINE21_CCLEVEL) -> ::windows_core::Result<()> { @@ -1830,25 +1380,9 @@ impl IAMLine21Decoder { } } ::windows_core::imp::interface_hierarchy!(IAMLine21Decoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMLine21Decoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMLine21Decoder {} -impl ::core::fmt::Debug for IAMLine21Decoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMLine21Decoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMLine21Decoder { type Vtable = IAMLine21Decoder_Vtbl; } -impl ::core::clone::Clone for IAMLine21Decoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMLine21Decoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e8d4a21_310c_11d0_b79a_00aa003767a7); } @@ -1882,6 +1416,7 @@ pub struct IAMLine21Decoder_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMediaContent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMMediaContent { @@ -1928,30 +1463,10 @@ impl IAMMediaContent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMMediaContent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMMediaContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMMediaContent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMMediaContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMediaContent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMMediaContent { type Vtable = IAMMediaContent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMMediaContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMMediaContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f4_8b62_11d0_a520_000000000000); } @@ -1977,6 +1492,7 @@ pub struct IAMMediaContent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMediaContent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMMediaContent2 { @@ -1996,30 +1512,10 @@ impl IAMMediaContent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMMediaContent2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMMediaContent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMMediaContent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMMediaContent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMediaContent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMMediaContent2 { type Vtable = IAMMediaContent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMMediaContent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMMediaContent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce8f78c1_74d9_11d2_b09d_00a0c9a81117); } @@ -2034,6 +1530,7 @@ pub struct IAMMediaContent2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMediaStream(::windows_core::IUnknown); impl IAMMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows_core::Result { @@ -2094,25 +1591,9 @@ impl IAMMediaStream { } } ::windows_core::imp::interface_hierarchy!(IAMMediaStream, ::windows_core::IUnknown, IMediaStream); -impl ::core::cmp::PartialEq for IAMMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMMediaStream {} -impl ::core::fmt::Debug for IAMMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMMediaStream { type Vtable = IAMMediaStream_Vtbl; } -impl ::core::clone::Clone for IAMMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbebe595d_9a6f_11d0_8fde_00c04fd9189d); } @@ -2131,6 +1612,7 @@ pub struct IAMMediaStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMediaTypeSample(::windows_core::IUnknown); impl IAMMediaTypeSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const ::core::option::Option) -> ::windows_core::Result<()> { @@ -2227,25 +1709,9 @@ impl IAMMediaTypeSample { } } ::windows_core::imp::interface_hierarchy!(IAMMediaTypeSample, ::windows_core::IUnknown, IStreamSample); -impl ::core::cmp::PartialEq for IAMMediaTypeSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMMediaTypeSample {} -impl ::core::fmt::Debug for IAMMediaTypeSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMediaTypeSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMMediaTypeSample { type Vtable = IAMMediaTypeSample_Vtbl; } -impl ::core::clone::Clone for IAMMediaTypeSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMMediaTypeSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab6b4afb_f6e4_11d0_900d_00c04fd9189d); } @@ -2288,6 +1754,7 @@ pub struct IAMMediaTypeSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMediaTypeStream(::windows_core::IUnknown); impl IAMMediaTypeStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows_core::Result { @@ -2343,25 +1810,9 @@ impl IAMMediaTypeStream { } } ::windows_core::imp::interface_hierarchy!(IAMMediaTypeStream, ::windows_core::IUnknown, IMediaStream); -impl ::core::cmp::PartialEq for IAMMediaTypeStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMMediaTypeStream {} -impl ::core::fmt::Debug for IAMMediaTypeStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMediaTypeStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMMediaTypeStream { type Vtable = IAMMediaTypeStream_Vtbl; } -impl ::core::clone::Clone for IAMMediaTypeStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMMediaTypeStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab6b4afa_f6e4_11d0_900d_00c04fd9189d); } @@ -2383,6 +1834,7 @@ pub struct IAMMediaTypeStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMMultiMediaStream(::windows_core::IUnknown); impl IAMMultiMediaStream { pub unsafe fn GetInformation(&self, pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS, pstreamtype: *mut STREAM_TYPE) -> ::windows_core::Result<()> { @@ -2463,25 +1915,9 @@ impl IAMMultiMediaStream { } } ::windows_core::imp::interface_hierarchy!(IAMMultiMediaStream, ::windows_core::IUnknown, IMultiMediaStream); -impl ::core::cmp::PartialEq for IAMMultiMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMMultiMediaStream {} -impl ::core::fmt::Debug for IAMMultiMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMMultiMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMMultiMediaStream { type Vtable = IAMMultiMediaStream_Vtbl; } -impl ::core::clone::Clone for IAMMultiMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMMultiMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbebe595c_9a6f_11d0_8fde_00c04fd9189d); } @@ -2506,6 +1942,7 @@ pub struct IAMMultiMediaStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMNetShowConfig(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMNetShowConfig { @@ -2631,30 +2068,10 @@ impl IAMNetShowConfig { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMNetShowConfig, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMNetShowConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMNetShowConfig {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMNetShowConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMNetShowConfig").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMNetShowConfig { type Vtable = IAMNetShowConfig_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMNetShowConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMNetShowConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f1_8b62_11d0_a520_000000000000); } @@ -2731,6 +2148,7 @@ pub struct IAMNetShowConfig_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMNetShowExProps(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMNetShowExProps { @@ -2767,30 +2185,10 @@ impl IAMNetShowExProps { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMNetShowExProps, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMNetShowExProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMNetShowExProps {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMNetShowExProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMNetShowExProps").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMNetShowExProps { type Vtable = IAMNetShowExProps_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMNetShowExProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMNetShowExProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f5_8b62_11d0_a520_000000000000); } @@ -2815,6 +2213,7 @@ pub struct IAMNetShowExProps_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMNetShowPreroll(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMNetShowPreroll { @@ -2833,32 +2232,12 @@ impl IAMNetShowPreroll { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IAMNetShowPreroll, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMNetShowPreroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMNetShowPreroll {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMNetShowPreroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMNetShowPreroll").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IAMNetShowPreroll, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMNetShowPreroll { type Vtable = IAMNetShowPreroll_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMNetShowPreroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMNetShowPreroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaae7e4e2_6388_11d1_8d93_006097c9a2b2); } @@ -2879,6 +2258,7 @@ pub struct IAMNetShowPreroll_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMNetworkStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMNetworkStatus { @@ -2909,30 +2289,10 @@ impl IAMNetworkStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMNetworkStatus, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMNetworkStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMNetworkStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMNetworkStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMNetworkStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMNetworkStatus { type Vtable = IAMNetworkStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMNetworkStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMNetworkStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa2aa8f3_8b62_11d0_a520_000000000000); } @@ -2954,6 +2314,7 @@ pub struct IAMNetworkStatus_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMOpenProgress(::windows_core::IUnknown); impl IAMOpenProgress { pub unsafe fn QueryProgress(&self, plltotal: *mut i64, pllcurrent: *mut i64) -> ::windows_core::Result<()> { @@ -2964,25 +2325,9 @@ impl IAMOpenProgress { } } ::windows_core::imp::interface_hierarchy!(IAMOpenProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMOpenProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMOpenProgress {} -impl ::core::fmt::Debug for IAMOpenProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMOpenProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMOpenProgress { type Vtable = IAMOpenProgress_Vtbl; } -impl ::core::clone::Clone for IAMOpenProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMOpenProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e1c39a1_de53_11cf_aa63_0080c744528d); } @@ -2995,6 +2340,7 @@ pub struct IAMOpenProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMOverlayFX(::windows_core::IUnknown); impl IAMOverlayFX { pub unsafe fn QueryOverlayFXCaps(&self) -> ::windows_core::Result { @@ -3010,25 +2356,9 @@ impl IAMOverlayFX { } } ::windows_core::imp::interface_hierarchy!(IAMOverlayFX, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMOverlayFX { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMOverlayFX {} -impl ::core::fmt::Debug for IAMOverlayFX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMOverlayFX").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMOverlayFX { type Vtable = IAMOverlayFX_Vtbl; } -impl ::core::clone::Clone for IAMOverlayFX { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMOverlayFX { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62fae250_7e65_4460_bfc9_6398b322073c); } @@ -3042,6 +2372,7 @@ pub struct IAMOverlayFX_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMParse(::windows_core::IUnknown); impl IAMParse { pub unsafe fn GetParseTime(&self) -> ::windows_core::Result { @@ -3056,25 +2387,9 @@ impl IAMParse { } } ::windows_core::imp::interface_hierarchy!(IAMParse, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMParse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMParse {} -impl ::core::fmt::Debug for IAMParse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMParse").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMParse { type Vtable = IAMParse_Vtbl; } -impl ::core::clone::Clone for IAMParse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMParse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc47a3420_005c_11d2_9038_00a0c9697298); } @@ -3088,6 +2403,7 @@ pub struct IAMParse_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMPhysicalPinInfo(::windows_core::IUnknown); impl IAMPhysicalPinInfo { pub unsafe fn GetPhysicalType(&self, ptype: *mut i32, ppsztype: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { @@ -3095,25 +2411,9 @@ impl IAMPhysicalPinInfo { } } ::windows_core::imp::interface_hierarchy!(IAMPhysicalPinInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMPhysicalPinInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMPhysicalPinInfo {} -impl ::core::fmt::Debug for IAMPhysicalPinInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMPhysicalPinInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMPhysicalPinInfo { type Vtable = IAMPhysicalPinInfo_Vtbl; } -impl ::core::clone::Clone for IAMPhysicalPinInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMPhysicalPinInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf938c991_3029_11cf_8c44_00aa006b6814); } @@ -3125,6 +2425,7 @@ pub struct IAMPhysicalPinInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMPlayList(::windows_core::IUnknown); impl IAMPlayList { pub unsafe fn GetFlags(&self) -> ::windows_core::Result { @@ -3150,25 +2451,9 @@ impl IAMPlayList { } } ::windows_core::imp::interface_hierarchy!(IAMPlayList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMPlayList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMPlayList {} -impl ::core::fmt::Debug for IAMPlayList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMPlayList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMPlayList { type Vtable = IAMPlayList_Vtbl; } -impl ::core::clone::Clone for IAMPlayList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMPlayList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868fe_0ad4_11ce_b03a_0020af0ba770); } @@ -3184,6 +2469,7 @@ pub struct IAMPlayList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMPlayListItem(::windows_core::IUnknown); impl IAMPlayListItem { pub unsafe fn GetFlags(&self) -> ::windows_core::Result { @@ -3232,25 +2518,9 @@ impl IAMPlayListItem { } } ::windows_core::imp::interface_hierarchy!(IAMPlayListItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMPlayListItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMPlayListItem {} -impl ::core::fmt::Debug for IAMPlayListItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMPlayListItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMPlayListItem { type Vtable = IAMPlayListItem_Vtbl; } -impl ::core::clone::Clone for IAMPlayListItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMPlayListItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868ff_0ad4_11ce_b03a_0020af0ba770); } @@ -3272,6 +2542,7 @@ pub struct IAMPlayListItem_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMPluginControl(::windows_core::IUnknown); impl IAMPluginControl { pub unsafe fn GetPreferredClsid(&self, subtype: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::GUID> { @@ -3307,25 +2578,9 @@ impl IAMPluginControl { } } ::windows_core::imp::interface_hierarchy!(IAMPluginControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMPluginControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMPluginControl {} -impl ::core::fmt::Debug for IAMPluginControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMPluginControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMPluginControl { type Vtable = IAMPluginControl_Vtbl; } -impl ::core::clone::Clone for IAMPluginControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMPluginControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e26a181_f40c_4635_8786_976284b52981); } @@ -3346,6 +2601,7 @@ pub struct IAMPluginControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMPushSource(::windows_core::IUnknown); impl IAMPushSource { pub unsafe fn GetLatency(&self) -> ::windows_core::Result { @@ -3375,25 +2631,9 @@ impl IAMPushSource { } } ::windows_core::imp::interface_hierarchy!(IAMPushSource, ::windows_core::IUnknown, IAMLatency); -impl ::core::cmp::PartialEq for IAMPushSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMPushSource {} -impl ::core::fmt::Debug for IAMPushSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMPushSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMPushSource { type Vtable = IAMPushSource_Vtbl; } -impl ::core::clone::Clone for IAMPushSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMPushSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf185fe76_e64e_11d2_b76e_00c04fb6bd3d); } @@ -3410,6 +2650,7 @@ pub struct IAMPushSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMRebuild(::windows_core::IUnknown); impl IAMRebuild { pub unsafe fn RebuildNow(&self) -> ::windows_core::Result<()> { @@ -3417,25 +2658,9 @@ impl IAMRebuild { } } ::windows_core::imp::interface_hierarchy!(IAMRebuild, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMRebuild { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMRebuild {} -impl ::core::fmt::Debug for IAMRebuild { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMRebuild").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMRebuild { type Vtable = IAMRebuild_Vtbl; } -impl ::core::clone::Clone for IAMRebuild { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMRebuild { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02ef04dd_7580_11d1_bece_00c04fb6e937); } @@ -3447,6 +2672,7 @@ pub struct IAMRebuild_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMResourceControl(::windows_core::IUnknown); impl IAMResourceControl { pub unsafe fn Reserve(&self, dwflags: u32, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -3454,25 +2680,9 @@ impl IAMResourceControl { } } ::windows_core::imp::interface_hierarchy!(IAMResourceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMResourceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMResourceControl {} -impl ::core::fmt::Debug for IAMResourceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMResourceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMResourceControl { type Vtable = IAMResourceControl_Vtbl; } -impl ::core::clone::Clone for IAMResourceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMResourceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8389d2d0_77d7_11d1_abe6_00a0c905f375); } @@ -3485,6 +2695,7 @@ pub struct IAMResourceControl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMStats(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAMStats { @@ -3518,30 +2729,10 @@ impl IAMStats { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAMStats, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAMStats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAMStats {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAMStats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMStats").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAMStats { type Vtable = IAMStats_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAMStats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAMStats { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc9bcf80_dcd2_11d2_abf6_00a0c905f375); } @@ -3559,6 +2750,7 @@ pub struct IAMStats_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMStreamConfig(::windows_core::IUnknown); impl IAMStreamConfig { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -3582,25 +2774,9 @@ impl IAMStreamConfig { } } ::windows_core::imp::interface_hierarchy!(IAMStreamConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMStreamConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMStreamConfig {} -impl ::core::fmt::Debug for IAMStreamConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMStreamConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMStreamConfig { type Vtable = IAMStreamConfig_Vtbl; } -impl ::core::clone::Clone for IAMStreamConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMStreamConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13340_30ac_11d0_a18c_00a0c9118956); } @@ -3624,6 +2800,7 @@ pub struct IAMStreamConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMStreamControl(::windows_core::IUnknown); impl IAMStreamControl { pub unsafe fn StartAt(&self, ptstart: ::core::option::Option<*const i64>, dwcookie: u32) -> ::windows_core::Result<()> { @@ -3642,25 +2819,9 @@ impl IAMStreamControl { } } ::windows_core::imp::interface_hierarchy!(IAMStreamControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMStreamControl {} -impl ::core::fmt::Debug for IAMStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMStreamControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMStreamControl { type Vtable = IAMStreamControl_Vtbl; } -impl ::core::clone::Clone for IAMStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73881_c2c8_11cf_8b46_00805f6cef60); } @@ -3677,6 +2838,7 @@ pub struct IAMStreamControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMStreamSelect(::windows_core::IUnknown); impl IAMStreamSelect { pub unsafe fn Count(&self) -> ::windows_core::Result { @@ -3704,25 +2866,9 @@ impl IAMStreamSelect { } } ::windows_core::imp::interface_hierarchy!(IAMStreamSelect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMStreamSelect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMStreamSelect {} -impl ::core::fmt::Debug for IAMStreamSelect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMStreamSelect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMStreamSelect { type Vtable = IAMStreamSelect_Vtbl; } -impl ::core::clone::Clone for IAMStreamSelect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMStreamSelect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1960960_17f5_11d1_abe1_00a0c905f375); } @@ -3739,6 +2885,7 @@ pub struct IAMStreamSelect_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTVAudio(::windows_core::IUnknown); impl IAMTVAudio { pub unsafe fn GetHardwareSupportedTVAudioModes(&self) -> ::windows_core::Result { @@ -3770,25 +2917,9 @@ impl IAMTVAudio { } } ::windows_core::imp::interface_hierarchy!(IAMTVAudio, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTVAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTVAudio {} -impl ::core::fmt::Debug for IAMTVAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTVAudio").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTVAudio { type Vtable = IAMTVAudio_Vtbl; } -impl ::core::clone::Clone for IAMTVAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTVAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83ec1c30_23d1_11d1_99e6_00a0c9560266); } @@ -3805,6 +2936,7 @@ pub struct IAMTVAudio_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTVAudioNotification(::windows_core::IUnknown); impl IAMTVAudioNotification { pub unsafe fn OnEvent(&self, event: AMTVAudioEventType) -> ::windows_core::Result<()> { @@ -3812,25 +2944,9 @@ impl IAMTVAudioNotification { } } ::windows_core::imp::interface_hierarchy!(IAMTVAudioNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTVAudioNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTVAudioNotification {} -impl ::core::fmt::Debug for IAMTVAudioNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTVAudioNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTVAudioNotification { type Vtable = IAMTVAudioNotification_Vtbl; } -impl ::core::clone::Clone for IAMTVAudioNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTVAudioNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83ec1c33_23d1_11d1_99e6_00a0c9560266); } @@ -3842,6 +2958,7 @@ pub struct IAMTVAudioNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTVTuner(::windows_core::IUnknown); impl IAMTVTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> ::windows_core::Result<()> { @@ -3948,25 +3065,9 @@ impl IAMTVTuner { } } ::windows_core::imp::interface_hierarchy!(IAMTVTuner, ::windows_core::IUnknown, IAMTuner); -impl ::core::cmp::PartialEq for IAMTVTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTVTuner {} -impl ::core::fmt::Debug for IAMTVTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTVTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTVTuner { type Vtable = IAMTVTuner_Vtbl; } -impl ::core::clone::Clone for IAMTVTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTVTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x211a8766_03ac_11d1_8d13_00aa00bd8339); } @@ -3988,6 +3089,7 @@ pub struct IAMTVTuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTimecodeDisplay(::windows_core::IUnknown); impl IAMTimecodeDisplay { pub unsafe fn GetTCDisplayEnable(&self) -> ::windows_core::Result { @@ -4006,25 +3108,9 @@ impl IAMTimecodeDisplay { } } ::windows_core::imp::interface_hierarchy!(IAMTimecodeDisplay, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTimecodeDisplay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTimecodeDisplay {} -impl ::core::fmt::Debug for IAMTimecodeDisplay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTimecodeDisplay").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTimecodeDisplay { type Vtable = IAMTimecodeDisplay_Vtbl; } -impl ::core::clone::Clone for IAMTimecodeDisplay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTimecodeDisplay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b496ce2_811b_11cf_8c77_00aa006b6814); } @@ -4039,6 +3125,7 @@ pub struct IAMTimecodeDisplay_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTimecodeGenerator(::windows_core::IUnknown); impl IAMTimecodeGenerator { pub unsafe fn GetTCGMode(&self, param: i32) -> ::windows_core::Result { @@ -4063,25 +3150,9 @@ impl IAMTimecodeGenerator { } } ::windows_core::imp::interface_hierarchy!(IAMTimecodeGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTimecodeGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTimecodeGenerator {} -impl ::core::fmt::Debug for IAMTimecodeGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTimecodeGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTimecodeGenerator { type Vtable = IAMTimecodeGenerator_Vtbl; } -impl ::core::clone::Clone for IAMTimecodeGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTimecodeGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b496ce0_811b_11cf_8c77_00aa006b6814); } @@ -4098,6 +3169,7 @@ pub struct IAMTimecodeGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTimecodeReader(::windows_core::IUnknown); impl IAMTimecodeReader { pub unsafe fn GetTCRMode(&self, param: i32) -> ::windows_core::Result { @@ -4119,25 +3191,9 @@ impl IAMTimecodeReader { } } ::windows_core::imp::interface_hierarchy!(IAMTimecodeReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTimecodeReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTimecodeReader {} -impl ::core::fmt::Debug for IAMTimecodeReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTimecodeReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTimecodeReader { type Vtable = IAMTimecodeReader_Vtbl; } -impl ::core::clone::Clone for IAMTimecodeReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTimecodeReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b496ce1_811b_11cf_8c77_00aa006b6814); } @@ -4153,6 +3209,7 @@ pub struct IAMTimecodeReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTuner(::windows_core::IUnknown); impl IAMTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> ::windows_core::Result<()> { @@ -4218,25 +3275,9 @@ impl IAMTuner { } } ::windows_core::imp::interface_hierarchy!(IAMTuner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTuner {} -impl ::core::fmt::Debug for IAMTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTuner { type Vtable = IAMTuner_Vtbl; } -impl ::core::clone::Clone for IAMTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x211a8761_03ac_11d1_8d13_00aa00bd8339); } @@ -4265,6 +3306,7 @@ pub struct IAMTuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMTunerNotification(::windows_core::IUnknown); impl IAMTunerNotification { pub unsafe fn OnEvent(&self, event: AMTunerEventType) -> ::windows_core::Result<()> { @@ -4272,25 +3314,9 @@ impl IAMTunerNotification { } } ::windows_core::imp::interface_hierarchy!(IAMTunerNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMTunerNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMTunerNotification {} -impl ::core::fmt::Debug for IAMTunerNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMTunerNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMTunerNotification { type Vtable = IAMTunerNotification_Vtbl; } -impl ::core::clone::Clone for IAMTunerNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMTunerNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x211a8760_03ac_11d1_8d13_00aa00bd8339); } @@ -4302,6 +3328,7 @@ pub struct IAMTunerNotification_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVfwCaptureDialogs(::windows_core::IUnknown); impl IAMVfwCaptureDialogs { pub unsafe fn HasDialog(&self, idialog: i32) -> ::windows_core::Result<()> { @@ -4320,25 +3347,9 @@ impl IAMVfwCaptureDialogs { } } ::windows_core::imp::interface_hierarchy!(IAMVfwCaptureDialogs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVfwCaptureDialogs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVfwCaptureDialogs {} -impl ::core::fmt::Debug for IAMVfwCaptureDialogs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVfwCaptureDialogs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVfwCaptureDialogs { type Vtable = IAMVfwCaptureDialogs_Vtbl; } -impl ::core::clone::Clone for IAMVfwCaptureDialogs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVfwCaptureDialogs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8d715a0_6e5e_11d0_b3f0_00aa003761c5); } @@ -4355,6 +3366,7 @@ pub struct IAMVfwCaptureDialogs_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVfwCompressDialogs(::windows_core::IUnknown); impl IAMVfwCompressDialogs { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4376,25 +3388,9 @@ impl IAMVfwCompressDialogs { } } ::windows_core::imp::interface_hierarchy!(IAMVfwCompressDialogs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVfwCompressDialogs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVfwCompressDialogs {} -impl ::core::fmt::Debug for IAMVfwCompressDialogs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVfwCompressDialogs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVfwCompressDialogs { type Vtable = IAMVfwCompressDialogs_Vtbl; } -impl ::core::clone::Clone for IAMVfwCompressDialogs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVfwCompressDialogs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8d715a3_6e5e_11d0_b3f0_00aa003761c5); } @@ -4412,6 +3408,7 @@ pub struct IAMVfwCompressDialogs_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoAccelerator(::windows_core::IUnknown); impl IAMVideoAccelerator { pub unsafe fn GetVideoAcceleratorGUIDs(&self, pdwnumguidssupported: *mut u32, pguidssupported: ::core::option::Option<*mut ::windows_core::GUID>) -> ::windows_core::Result<()> { @@ -4468,25 +3465,9 @@ impl IAMVideoAccelerator { } } ::windows_core::imp::interface_hierarchy!(IAMVideoAccelerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoAccelerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoAccelerator {} -impl ::core::fmt::Debug for IAMVideoAccelerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoAccelerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoAccelerator { type Vtable = IAMVideoAccelerator_Vtbl; } -impl ::core::clone::Clone for IAMVideoAccelerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoAccelerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x256a6a22_fbad_11d1_82bf_00a0c9696c8f); } @@ -4524,6 +3505,7 @@ pub struct IAMVideoAccelerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoAcceleratorNotify(::windows_core::IUnknown); impl IAMVideoAcceleratorNotify { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -4539,25 +3521,9 @@ impl IAMVideoAcceleratorNotify { } } ::windows_core::imp::interface_hierarchy!(IAMVideoAcceleratorNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoAcceleratorNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoAcceleratorNotify {} -impl ::core::fmt::Debug for IAMVideoAcceleratorNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoAcceleratorNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoAcceleratorNotify { type Vtable = IAMVideoAcceleratorNotify_Vtbl; } -impl ::core::clone::Clone for IAMVideoAcceleratorNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoAcceleratorNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x256a6a21_fbad_11d1_82bf_00a0c9696c8f); } @@ -4574,6 +3540,7 @@ pub struct IAMVideoAcceleratorNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoCompression(::windows_core::IUnknown); impl IAMVideoCompression { pub unsafe fn SetKeyFrameRate(&self, keyframerate: i32) -> ::windows_core::Result<()> { @@ -4626,25 +3593,9 @@ impl IAMVideoCompression { } } ::windows_core::imp::interface_hierarchy!(IAMVideoCompression, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoCompression { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoCompression {} -impl ::core::fmt::Debug for IAMVideoCompression { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoCompression").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoCompression { type Vtable = IAMVideoCompression_Vtbl; } -impl ::core::clone::Clone for IAMVideoCompression { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoCompression { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13343_30ac_11d0_a18c_00a0c9118956); } @@ -4666,6 +3617,7 @@ pub struct IAMVideoCompression_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoControl(::windows_core::IUnknown); impl IAMVideoControl { pub unsafe fn GetCaps(&self, ppin: P0) -> ::windows_core::Result @@ -4714,25 +3666,9 @@ impl IAMVideoControl { } } ::windows_core::imp::interface_hierarchy!(IAMVideoControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoControl {} -impl ::core::fmt::Debug for IAMVideoControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoControl { type Vtable = IAMVideoControl_Vtbl; } -impl ::core::clone::Clone for IAMVideoControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a2e0670_28e4_11d0_a18c_00a0c9118956); } @@ -4755,6 +3691,7 @@ pub struct IAMVideoControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoDecimationProperties(::windows_core::IUnknown); impl IAMVideoDecimationProperties { pub unsafe fn QueryDecimationUsage(&self) -> ::windows_core::Result { @@ -4766,25 +3703,9 @@ impl IAMVideoDecimationProperties { } } ::windows_core::imp::interface_hierarchy!(IAMVideoDecimationProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoDecimationProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoDecimationProperties {} -impl ::core::fmt::Debug for IAMVideoDecimationProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoDecimationProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoDecimationProperties { type Vtable = IAMVideoDecimationProperties_Vtbl; } -impl ::core::clone::Clone for IAMVideoDecimationProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoDecimationProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60d32930_13da_11d3_9ec6_c4fcaef5c7be); } @@ -4797,6 +3718,7 @@ pub struct IAMVideoDecimationProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMVideoProcAmp(::windows_core::IUnknown); impl IAMVideoProcAmp { pub unsafe fn GetRange(&self, property: i32, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflags: *mut i32) -> ::windows_core::Result<()> { @@ -4810,25 +3732,9 @@ impl IAMVideoProcAmp { } } ::windows_core::imp::interface_hierarchy!(IAMVideoProcAmp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMVideoProcAmp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMVideoProcAmp {} -impl ::core::fmt::Debug for IAMVideoProcAmp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMVideoProcAmp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMVideoProcAmp { type Vtable = IAMVideoProcAmp_Vtbl; } -impl ::core::clone::Clone for IAMVideoProcAmp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMVideoProcAmp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6e13360_30ac_11d0_a18c_00a0c9118956); } @@ -4842,6 +3748,7 @@ pub struct IAMVideoProcAmp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMWMBufferPass(::windows_core::IUnknown); impl IAMWMBufferPass { pub unsafe fn SetNotify(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -4852,25 +3759,9 @@ impl IAMWMBufferPass { } } ::windows_core::imp::interface_hierarchy!(IAMWMBufferPass, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMWMBufferPass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMWMBufferPass {} -impl ::core::fmt::Debug for IAMWMBufferPass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMWMBufferPass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMWMBufferPass { type Vtable = IAMWMBufferPass_Vtbl; } -impl ::core::clone::Clone for IAMWMBufferPass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMWMBufferPass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dd816d7_e740_4123_9e24_2444412644d8); } @@ -4882,6 +3773,7 @@ pub struct IAMWMBufferPass_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMWMBufferPassCallback(::windows_core::IUnknown); impl IAMWMBufferPassCallback { #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] @@ -4895,25 +3787,9 @@ impl IAMWMBufferPassCallback { } } ::windows_core::imp::interface_hierarchy!(IAMWMBufferPassCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMWMBufferPassCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMWMBufferPassCallback {} -impl ::core::fmt::Debug for IAMWMBufferPassCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMWMBufferPassCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMWMBufferPassCallback { type Vtable = IAMWMBufferPassCallback_Vtbl; } -impl ::core::clone::Clone for IAMWMBufferPassCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMWMBufferPassCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb25b8372_d2d2_44b2_8653_1b8dae332489); } @@ -4928,6 +3804,7 @@ pub struct IAMWMBufferPassCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMWstDecoder(::windows_core::IUnknown); impl IAMWstDecoder { pub unsafe fn GetDecoderLevel(&self, lplevel: *mut AM_WST_LEVEL) -> ::windows_core::Result<()> { @@ -5009,25 +3886,9 @@ impl IAMWstDecoder { } } ::windows_core::imp::interface_hierarchy!(IAMWstDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMWstDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMWstDecoder {} -impl ::core::fmt::Debug for IAMWstDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMWstDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMWstDecoder { type Vtable = IAMWstDecoder_Vtbl; } -impl ::core::clone::Clone for IAMWstDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMWstDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc056de21_75c2_11d3_a184_00105aef9f33); } @@ -5077,6 +3938,7 @@ pub struct IAMWstDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAMovieSetup(::windows_core::IUnknown); impl IAMovieSetup { pub unsafe fn Register(&self) -> ::windows_core::Result<()> { @@ -5087,25 +3949,9 @@ impl IAMovieSetup { } } ::windows_core::imp::interface_hierarchy!(IAMovieSetup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAMovieSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAMovieSetup {} -impl ::core::fmt::Debug for IAMovieSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAMovieSetup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAMovieSetup { type Vtable = IAMovieSetup_Vtbl; } -impl ::core::clone::Clone for IAMovieSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAMovieSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3d8cec0_7e5a_11cf_bbc5_00805f6cef20); } @@ -5118,6 +3964,7 @@ pub struct IAMovieSetup_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncReader(::windows_core::IUnknown); impl IAsyncReader { pub unsafe fn RequestAllocator(&self, ppreferred: P0, pprops: *const ALLOCATOR_PROPERTIES) -> ::windows_core::Result @@ -5156,25 +4003,9 @@ impl IAsyncReader { } } ::windows_core::imp::interface_hierarchy!(IAsyncReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAsyncReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncReader {} -impl ::core::fmt::Debug for IAsyncReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncReader { type Vtable = IAsyncReader_Vtbl; } -impl ::core::clone::Clone for IAsyncReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868aa_0ad4_11ce_b03a_0020af0ba770); } @@ -5193,6 +4024,7 @@ pub struct IAsyncReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioData(::windows_core::IUnknown); impl IAudioData { pub unsafe fn SetBuffer(&self, cbsize: u32, pbdata: *const u8, dwflags: u32) -> ::windows_core::Result<()> { @@ -5216,25 +4048,9 @@ impl IAudioData { } } ::windows_core::imp::interface_hierarchy!(IAudioData, ::windows_core::IUnknown, IMemoryData); -impl ::core::cmp::PartialEq for IAudioData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioData {} -impl ::core::fmt::Debug for IAudioData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioData { type Vtable = IAudioData_Vtbl; } -impl ::core::clone::Clone for IAudioData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54c719c0_af60_11d0_8212_00c04fc32c45); } @@ -5253,6 +4069,7 @@ pub struct IAudioData_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioMediaStream(::windows_core::IUnknown); impl IAudioMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows_core::Result { @@ -5301,25 +4118,9 @@ impl IAudioMediaStream { } } ::windows_core::imp::interface_hierarchy!(IAudioMediaStream, ::windows_core::IUnknown, IMediaStream); -impl ::core::cmp::PartialEq for IAudioMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioMediaStream {} -impl ::core::fmt::Debug for IAudioMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioMediaStream { type Vtable = IAudioMediaStream_Vtbl; } -impl ::core::clone::Clone for IAudioMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7537560_a3be_11d0_8212_00c04fc32c45); } @@ -5339,6 +4140,7 @@ pub struct IAudioMediaStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioStreamSample(::windows_core::IUnknown); impl IAudioStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const ::core::option::Option) -> ::windows_core::Result<()> { @@ -5367,25 +4169,9 @@ impl IAudioStreamSample { } } ::windows_core::imp::interface_hierarchy!(IAudioStreamSample, ::windows_core::IUnknown, IStreamSample); -impl ::core::cmp::PartialEq for IAudioStreamSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioStreamSample {} -impl ::core::fmt::Debug for IAudioStreamSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioStreamSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioStreamSample { type Vtable = IAudioStreamSample_Vtbl; } -impl ::core::clone::Clone for IAudioStreamSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioStreamSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x345fee00_aba5_11d0_8212_00c04fc32c45); } @@ -5397,6 +4183,7 @@ pub struct IAudioStreamSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_AUX(::windows_core::IUnknown); impl IBDA_AUX { pub unsafe fn QueryCapabilities(&self) -> ::windows_core::Result { @@ -5408,25 +4195,9 @@ impl IBDA_AUX { } } ::windows_core::imp::interface_hierarchy!(IBDA_AUX, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_AUX { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_AUX {} -impl ::core::fmt::Debug for IBDA_AUX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_AUX").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_AUX { type Vtable = IBDA_AUX_Vtbl; } -impl ::core::clone::Clone for IBDA_AUX { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_AUX { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7def4c09_6e66_4567_a819_f0e17f4a81ab); } @@ -5439,6 +4210,7 @@ pub struct IBDA_AUX_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_AutoDemodulate(::windows_core::IUnknown); impl IBDA_AutoDemodulate { pub unsafe fn put_AutoDemodulate(&self) -> ::windows_core::Result<()> { @@ -5446,25 +4218,9 @@ impl IBDA_AutoDemodulate { } } ::windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_AutoDemodulate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_AutoDemodulate {} -impl ::core::fmt::Debug for IBDA_AutoDemodulate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_AutoDemodulate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_AutoDemodulate { type Vtable = IBDA_AutoDemodulate_Vtbl; } -impl ::core::clone::Clone for IBDA_AutoDemodulate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_AutoDemodulate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddf15b12_bd25_11d2_9ca0_00c04f7971e0); } @@ -5476,6 +4232,7 @@ pub struct IBDA_AutoDemodulate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_AutoDemodulateEx(::windows_core::IUnknown); impl IBDA_AutoDemodulateEx { pub unsafe fn put_AutoDemodulate(&self) -> ::windows_core::Result<()> { @@ -5492,25 +4249,9 @@ impl IBDA_AutoDemodulateEx { } } ::windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulateEx, ::windows_core::IUnknown, IBDA_AutoDemodulate); -impl ::core::cmp::PartialEq for IBDA_AutoDemodulateEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_AutoDemodulateEx {} -impl ::core::fmt::Debug for IBDA_AutoDemodulateEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_AutoDemodulateEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_AutoDemodulateEx { type Vtable = IBDA_AutoDemodulateEx_Vtbl; } -impl ::core::clone::Clone for IBDA_AutoDemodulateEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_AutoDemodulateEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34518d13_1182_48e6_b28f_b24987787326); } @@ -5524,6 +4265,7 @@ pub struct IBDA_AutoDemodulateEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_ConditionalAccess(::windows_core::IUnknown); impl IBDA_ConditionalAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5564,25 +4306,9 @@ impl IBDA_ConditionalAccess { } } ::windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_ConditionalAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_ConditionalAccess {} -impl ::core::fmt::Debug for IBDA_ConditionalAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_ConditionalAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_ConditionalAccess { type Vtable = IBDA_ConditionalAccess_Vtbl; } -impl ::core::clone::Clone for IBDA_ConditionalAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_ConditionalAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd51f1e0_7be9_4123_8482_a2a796c0a6b0); } @@ -5609,6 +4335,7 @@ pub struct IBDA_ConditionalAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_ConditionalAccessEx(::windows_core::IUnknown); impl IBDA_ConditionalAccessEx { pub unsafe fn CheckEntitlementToken(&self, uldialogrequest: u32, bstrlanguage: P0, requesttype: BDA_CONDITIONALACCESS_REQUESTTYPE, pbentitlementtoken: &[u8]) -> ::windows_core::Result @@ -5640,25 +4367,9 @@ impl IBDA_ConditionalAccessEx { } } ::windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccessEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_ConditionalAccessEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_ConditionalAccessEx {} -impl ::core::fmt::Debug for IBDA_ConditionalAccessEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_ConditionalAccessEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_ConditionalAccessEx { type Vtable = IBDA_ConditionalAccessEx_Vtbl; } -impl ::core::clone::Clone for IBDA_ConditionalAccessEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_ConditionalAccessEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x497c3418_23cb_44ba_bb62_769f506fcea7); } @@ -5674,6 +4385,7 @@ pub struct IBDA_ConditionalAccessEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DRIDRMService(::windows_core::IUnknown); impl IBDA_DRIDRMService { pub unsafe fn SetDRM(&self, bstrnewdrm: P0) -> ::windows_core::Result<()> @@ -5690,25 +4402,9 @@ impl IBDA_DRIDRMService { } } ::windows_core::imp::interface_hierarchy!(IBDA_DRIDRMService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DRIDRMService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DRIDRMService {} -impl ::core::fmt::Debug for IBDA_DRIDRMService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DRIDRMService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DRIDRMService { type Vtable = IBDA_DRIDRMService_Vtbl; } -impl ::core::clone::Clone for IBDA_DRIDRMService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DRIDRMService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f9bc2a5_44a3_4c52_aab1_0bbce5a1381d); } @@ -5722,6 +4418,7 @@ pub struct IBDA_DRIDRMService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DRIWMDRMSession(::windows_core::IUnknown); impl IBDA_DRIWMDRMSession { pub unsafe fn AcknowledgeLicense(&self, hrlicenseack: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -5747,25 +4444,9 @@ impl IBDA_DRIWMDRMSession { } } ::windows_core::imp::interface_hierarchy!(IBDA_DRIWMDRMSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DRIWMDRMSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DRIWMDRMSession {} -impl ::core::fmt::Debug for IBDA_DRIWMDRMSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DRIWMDRMSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DRIWMDRMSession { type Vtable = IBDA_DRIWMDRMSession_Vtbl; } -impl ::core::clone::Clone for IBDA_DRIWMDRMSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DRIWMDRMSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05c690f8_56db_4bb2_b053_79c12098bb26); } @@ -5783,6 +4464,7 @@ pub struct IBDA_DRIWMDRMSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DRM(::windows_core::IUnknown); impl IBDA_DRM { pub unsafe fn GetDRMPairingStatus(&self, pdwstatus: *mut u32, pherror: *mut ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -5798,25 +4480,9 @@ impl IBDA_DRM { } } ::windows_core::imp::interface_hierarchy!(IBDA_DRM, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DRM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DRM {} -impl ::core::fmt::Debug for IBDA_DRM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DRM").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DRM { type Vtable = IBDA_DRM_Vtbl; } -impl ::core::clone::Clone for IBDA_DRM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DRM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf98d88b0_1992_4cd6_a6d9_b9afab99330d); } @@ -5832,6 +4498,7 @@ pub struct IBDA_DRM_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DRMService(::windows_core::IUnknown); impl IBDA_DRMService { pub unsafe fn SetDRM(&self, puuidnewdrm: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5842,25 +4509,9 @@ impl IBDA_DRMService { } } ::windows_core::imp::interface_hierarchy!(IBDA_DRMService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DRMService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DRMService {} -impl ::core::fmt::Debug for IBDA_DRMService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DRMService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DRMService { type Vtable = IBDA_DRMService_Vtbl; } -impl ::core::clone::Clone for IBDA_DRMService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DRMService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbff6b5bb_b0ae_484c_9dca_73528fb0b46e); } @@ -5873,6 +4524,7 @@ pub struct IBDA_DRMService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DeviceControl(::windows_core::IUnknown); impl IBDA_DeviceControl { pub unsafe fn StartChanges(&self) -> ::windows_core::Result<()> { @@ -5889,25 +4541,9 @@ impl IBDA_DeviceControl { } } ::windows_core::imp::interface_hierarchy!(IBDA_DeviceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DeviceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DeviceControl {} -impl ::core::fmt::Debug for IBDA_DeviceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DeviceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DeviceControl { type Vtable = IBDA_DeviceControl_Vtbl; } -impl ::core::clone::Clone for IBDA_DeviceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DeviceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd0a5af3_b41d_11d2_9c95_00c04f7971e0); } @@ -5923,6 +4559,7 @@ pub struct IBDA_DeviceControl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DiagnosticProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IBDA_DiagnosticProperties { @@ -5947,30 +4584,10 @@ impl IBDA_DiagnosticProperties { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(IBDA_DiagnosticProperties, ::windows_core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for IBDA_DiagnosticProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for IBDA_DiagnosticProperties {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for IBDA_DiagnosticProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DiagnosticProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for IBDA_DiagnosticProperties { type Vtable = IBDA_DiagnosticProperties_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for IBDA_DiagnosticProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for IBDA_DiagnosticProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20e80cb5_c543_4c1b_8eb3_49e719eee7d4); } @@ -5982,6 +4599,7 @@ pub struct IBDA_DiagnosticProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DigitalDemodulator(::windows_core::IUnknown); impl IBDA_DigitalDemodulator { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> ::windows_core::Result<()> { @@ -6028,25 +4646,9 @@ impl IBDA_DigitalDemodulator { } } ::windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DigitalDemodulator {} -impl ::core::fmt::Debug for IBDA_DigitalDemodulator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DigitalDemodulator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DigitalDemodulator { type Vtable = IBDA_DigitalDemodulator_Vtbl; } -impl ::core::clone::Clone for IBDA_DigitalDemodulator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DigitalDemodulator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef30f379_985b_4d10_b640_a79d5e04e1e0); } @@ -6071,6 +4673,7 @@ pub struct IBDA_DigitalDemodulator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DigitalDemodulator2(::windows_core::IUnknown); impl IBDA_DigitalDemodulator2 { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> ::windows_core::Result<()> { @@ -6141,25 +4744,9 @@ impl IBDA_DigitalDemodulator2 { } } ::windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator2, ::windows_core::IUnknown, IBDA_DigitalDemodulator); -impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DigitalDemodulator2 {} -impl ::core::fmt::Debug for IBDA_DigitalDemodulator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DigitalDemodulator2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DigitalDemodulator2 { type Vtable = IBDA_DigitalDemodulator2_Vtbl; } -impl ::core::clone::Clone for IBDA_DigitalDemodulator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DigitalDemodulator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x525ed3ee_5cf3_4e1e_9a06_5368a84f9a6e); } @@ -6178,6 +4765,7 @@ pub struct IBDA_DigitalDemodulator2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DigitalDemodulator3(::windows_core::IUnknown); impl IBDA_DigitalDemodulator3 { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> ::windows_core::Result<()> { @@ -6260,25 +4848,9 @@ impl IBDA_DigitalDemodulator3 { } } ::windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator3, ::windows_core::IUnknown, IBDA_DigitalDemodulator, IBDA_DigitalDemodulator2); -impl ::core::cmp::PartialEq for IBDA_DigitalDemodulator3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DigitalDemodulator3 {} -impl ::core::fmt::Debug for IBDA_DigitalDemodulator3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DigitalDemodulator3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DigitalDemodulator3 { type Vtable = IBDA_DigitalDemodulator3_Vtbl; } -impl ::core::clone::Clone for IBDA_DigitalDemodulator3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DigitalDemodulator3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13f19604_7d32_4359_93a2_a05205d90ac9); } @@ -6293,6 +4865,7 @@ pub struct IBDA_DigitalDemodulator3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_DiseqCommand(::windows_core::IUnknown); impl IBDA_DiseqCommand { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6325,25 +4898,9 @@ impl IBDA_DiseqCommand { } } ::windows_core::imp::interface_hierarchy!(IBDA_DiseqCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_DiseqCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_DiseqCommand {} -impl ::core::fmt::Debug for IBDA_DiseqCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_DiseqCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_DiseqCommand { type Vtable = IBDA_DiseqCommand_Vtbl; } -impl ::core::clone::Clone for IBDA_DiseqCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_DiseqCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf84e2ab0_3c6b_45e3_a0fc_8669d4b81f11); } @@ -6366,6 +4923,7 @@ pub struct IBDA_DiseqCommand_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_EasMessage(::windows_core::IUnknown); impl IBDA_EasMessage { pub unsafe fn get_EasMessage(&self, uleventid: u32, ppeasobject: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> { @@ -6373,25 +4931,9 @@ impl IBDA_EasMessage { } } ::windows_core::imp::interface_hierarchy!(IBDA_EasMessage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_EasMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_EasMessage {} -impl ::core::fmt::Debug for IBDA_EasMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_EasMessage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_EasMessage { type Vtable = IBDA_EasMessage_Vtbl; } -impl ::core::clone::Clone for IBDA_EasMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_EasMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd806973d_3ebe_46de_8fbb_6358fe784208); } @@ -6403,6 +4945,7 @@ pub struct IBDA_EasMessage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_Encoder(::windows_core::IUnknown); impl IBDA_Encoder { pub unsafe fn QueryCapabilities(&self, numaudiofmts: *mut u32, numvideofmts: *mut u32) -> ::windows_core::Result<()> { @@ -6424,25 +4967,9 @@ impl IBDA_Encoder { } } ::windows_core::imp::interface_hierarchy!(IBDA_Encoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_Encoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_Encoder {} -impl ::core::fmt::Debug for IBDA_Encoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_Encoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_Encoder { type Vtable = IBDA_Encoder_Vtbl; } -impl ::core::clone::Clone for IBDA_Encoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_Encoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a8bad59_59fe_4559_a0ba_396cfaa98ae3); } @@ -6461,6 +4988,7 @@ pub struct IBDA_Encoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_EthernetFilter(::windows_core::IUnknown); impl IBDA_EthernetFilter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> ::windows_core::Result<()> { @@ -6481,25 +5009,9 @@ impl IBDA_EthernetFilter { } } ::windows_core::imp::interface_hierarchy!(IBDA_EthernetFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_EthernetFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_EthernetFilter {} -impl ::core::fmt::Debug for IBDA_EthernetFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_EthernetFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_EthernetFilter { type Vtable = IBDA_EthernetFilter_Vtbl; } -impl ::core::clone::Clone for IBDA_EthernetFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_EthernetFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71985f43_1ca1_11d3_9cc8_00c04f7971e0); } @@ -6515,6 +5027,7 @@ pub struct IBDA_EthernetFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_EventingService(::windows_core::IUnknown); impl IBDA_EventingService { pub unsafe fn CompleteEvent(&self, uleventid: u32, uleventresult: u32) -> ::windows_core::Result<()> { @@ -6522,25 +5035,9 @@ impl IBDA_EventingService { } } ::windows_core::imp::interface_hierarchy!(IBDA_EventingService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_EventingService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_EventingService {} -impl ::core::fmt::Debug for IBDA_EventingService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_EventingService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_EventingService { type Vtable = IBDA_EventingService_Vtbl; } -impl ::core::clone::Clone for IBDA_EventingService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_EventingService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x207c413f_00dc_4c61_bad6_6fee1ff07064); } @@ -6552,6 +5049,7 @@ pub struct IBDA_EventingService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_FDC(::windows_core::IUnknown); impl IBDA_FDC { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6596,25 +5094,9 @@ impl IBDA_FDC { } } ::windows_core::imp::interface_hierarchy!(IBDA_FDC, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_FDC { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_FDC {} -impl ::core::fmt::Debug for IBDA_FDC { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_FDC").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_FDC { type Vtable = IBDA_FDC_Vtbl; } -impl ::core::clone::Clone for IBDA_FDC { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_FDC { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x138adc7e_58ae_437f_b0b4_c9fe19d5b4ac); } @@ -6635,6 +5117,7 @@ pub struct IBDA_FDC_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_FrequencyFilter(::windows_core::IUnknown); impl IBDA_FrequencyFilter { pub unsafe fn SetAutotune(&self, ultransponder: u32) -> ::windows_core::Result<()> { @@ -6675,25 +5158,9 @@ impl IBDA_FrequencyFilter { } } ::windows_core::imp::interface_hierarchy!(IBDA_FrequencyFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_FrequencyFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_FrequencyFilter {} -impl ::core::fmt::Debug for IBDA_FrequencyFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_FrequencyFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_FrequencyFilter { type Vtable = IBDA_FrequencyFilter_Vtbl; } -impl ::core::clone::Clone for IBDA_FrequencyFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_FrequencyFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71985f47_1ca1_11d3_9cc8_00c04f7971e0); } @@ -6716,6 +5183,7 @@ pub struct IBDA_FrequencyFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_GuideDataDeliveryService(::windows_core::IUnknown); impl IBDA_GuideDataDeliveryService { pub unsafe fn GetGuideDataType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -6744,25 +5212,9 @@ impl IBDA_GuideDataDeliveryService { } } ::windows_core::imp::interface_hierarchy!(IBDA_GuideDataDeliveryService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_GuideDataDeliveryService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_GuideDataDeliveryService {} -impl ::core::fmt::Debug for IBDA_GuideDataDeliveryService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_GuideDataDeliveryService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_GuideDataDeliveryService { type Vtable = IBDA_GuideDataDeliveryService_Vtbl; } -impl ::core::clone::Clone for IBDA_GuideDataDeliveryService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_GuideDataDeliveryService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0afcb73_23e7_4bc6_bafa_fdc167b4719f); } @@ -6779,6 +5231,7 @@ pub struct IBDA_GuideDataDeliveryService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_IPSinkControl(::windows_core::IUnknown); impl IBDA_IPSinkControl { pub unsafe fn GetMulticastList(&self, pulcbsize: *mut u32, pbbuffer: *mut *mut u8) -> ::windows_core::Result<()> { @@ -6789,25 +5242,9 @@ impl IBDA_IPSinkControl { } } ::windows_core::imp::interface_hierarchy!(IBDA_IPSinkControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_IPSinkControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_IPSinkControl {} -impl ::core::fmt::Debug for IBDA_IPSinkControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_IPSinkControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_IPSinkControl { type Vtable = IBDA_IPSinkControl_Vtbl; } -impl ::core::clone::Clone for IBDA_IPSinkControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_IPSinkControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f4dc8e2_4050_11d3_8f4b_00c04f7971e2); } @@ -6820,6 +5257,7 @@ pub struct IBDA_IPSinkControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_IPSinkInfo(::windows_core::IUnknown); impl IBDA_IPSinkInfo { pub unsafe fn get_MulticastList(&self, pulcbaddresses: *mut u32, ppbaddresslist: *mut *mut u8) -> ::windows_core::Result<()> { @@ -6835,25 +5273,9 @@ impl IBDA_IPSinkInfo { } } ::windows_core::imp::interface_hierarchy!(IBDA_IPSinkInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_IPSinkInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_IPSinkInfo {} -impl ::core::fmt::Debug for IBDA_IPSinkInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_IPSinkInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_IPSinkInfo { type Vtable = IBDA_IPSinkInfo_Vtbl; } -impl ::core::clone::Clone for IBDA_IPSinkInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_IPSinkInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa750108f_492e_4d51_95f7_649b23ff7ad7); } @@ -6867,6 +5289,7 @@ pub struct IBDA_IPSinkInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_IPV4Filter(::windows_core::IUnknown); impl IBDA_IPV4Filter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> ::windows_core::Result<()> { @@ -6887,25 +5310,9 @@ impl IBDA_IPV4Filter { } } ::windows_core::imp::interface_hierarchy!(IBDA_IPV4Filter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_IPV4Filter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_IPV4Filter {} -impl ::core::fmt::Debug for IBDA_IPV4Filter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_IPV4Filter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_IPV4Filter { type Vtable = IBDA_IPV4Filter_Vtbl; } -impl ::core::clone::Clone for IBDA_IPV4Filter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_IPV4Filter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71985f44_1ca1_11d3_9cc8_00c04f7971e0); } @@ -6921,6 +5328,7 @@ pub struct IBDA_IPV4Filter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_IPV6Filter(::windows_core::IUnknown); impl IBDA_IPV6Filter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> ::windows_core::Result<()> { @@ -6941,25 +5349,9 @@ impl IBDA_IPV6Filter { } } ::windows_core::imp::interface_hierarchy!(IBDA_IPV6Filter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_IPV6Filter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_IPV6Filter {} -impl ::core::fmt::Debug for IBDA_IPV6Filter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_IPV6Filter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_IPV6Filter { type Vtable = IBDA_IPV6Filter_Vtbl; } -impl ::core::clone::Clone for IBDA_IPV6Filter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_IPV6Filter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1785a74_2a23_4fb3_9245_a8f88017ef33); } @@ -6975,6 +5367,7 @@ pub struct IBDA_IPV6Filter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_ISDBConditionalAccess(::windows_core::IUnknown); impl IBDA_ISDBConditionalAccess { pub unsafe fn SetIsdbCasRequest(&self, ulrequestid: u32, pbrequestbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -6982,25 +5375,9 @@ impl IBDA_ISDBConditionalAccess { } } ::windows_core::imp::interface_hierarchy!(IBDA_ISDBConditionalAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_ISDBConditionalAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_ISDBConditionalAccess {} -impl ::core::fmt::Debug for IBDA_ISDBConditionalAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_ISDBConditionalAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_ISDBConditionalAccess { type Vtable = IBDA_ISDBConditionalAccess_Vtbl; } -impl ::core::clone::Clone for IBDA_ISDBConditionalAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_ISDBConditionalAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e68c627_16c2_4e6c_b1e2_d00170cdaa0f); } @@ -7012,6 +5389,7 @@ pub struct IBDA_ISDBConditionalAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_LNBInfo(::windows_core::IUnknown); impl IBDA_LNBInfo { pub unsafe fn SetLocalOscilatorFrequencyLowBand(&self, ulloflow: u32) -> ::windows_core::Result<()> { @@ -7034,25 +5412,9 @@ impl IBDA_LNBInfo { } } ::windows_core::imp::interface_hierarchy!(IBDA_LNBInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_LNBInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_LNBInfo {} -impl ::core::fmt::Debug for IBDA_LNBInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_LNBInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_LNBInfo { type Vtable = IBDA_LNBInfo_Vtbl; } -impl ::core::clone::Clone for IBDA_LNBInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_LNBInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x992cf102_49f9_4719_a664_c4f23e2408f4); } @@ -7069,6 +5431,7 @@ pub struct IBDA_LNBInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_MUX(::windows_core::IUnknown); impl IBDA_MUX { pub unsafe fn SetPidList(&self, pbpidlistbuffer: &[BDA_MUX_PIDLISTITEM]) -> ::windows_core::Result<()> { @@ -7079,25 +5442,9 @@ impl IBDA_MUX { } } ::windows_core::imp::interface_hierarchy!(IBDA_MUX, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_MUX { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_MUX {} -impl ::core::fmt::Debug for IBDA_MUX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_MUX").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_MUX { type Vtable = IBDA_MUX_Vtbl; } -impl ::core::clone::Clone for IBDA_MUX { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_MUX { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x942aafec_4c05_4c74_b8eb_8706c2a4943f); } @@ -7110,6 +5457,7 @@ pub struct IBDA_MUX_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_NameValueService(::windows_core::IUnknown); impl IBDA_NameValueService { pub unsafe fn GetValueNameByIndex(&self, ulindex: u32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -7134,25 +5482,9 @@ impl IBDA_NameValueService { } } ::windows_core::imp::interface_hierarchy!(IBDA_NameValueService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_NameValueService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_NameValueService {} -impl ::core::fmt::Debug for IBDA_NameValueService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_NameValueService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_NameValueService { type Vtable = IBDA_NameValueService_Vtbl; } -impl ::core::clone::Clone for IBDA_NameValueService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_NameValueService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f0b3150_7b81_4ad4_98e3_7e9097094301); } @@ -7166,6 +5498,7 @@ pub struct IBDA_NameValueService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_NetworkProvider(::windows_core::IUnknown); impl IBDA_NetworkProvider { pub unsafe fn PutSignalSource(&self, ulsignalsource: u32) -> ::windows_core::Result<()> { @@ -7194,25 +5527,9 @@ impl IBDA_NetworkProvider { } } ::windows_core::imp::interface_hierarchy!(IBDA_NetworkProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_NetworkProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_NetworkProvider {} -impl ::core::fmt::Debug for IBDA_NetworkProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_NetworkProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_NetworkProvider { type Vtable = IBDA_NetworkProvider_Vtbl; } -impl ::core::clone::Clone for IBDA_NetworkProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_NetworkProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd501041_8ebe_11ce_8183_00aa00577da2); } @@ -7230,6 +5547,7 @@ pub struct IBDA_NetworkProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_NullTransform(::windows_core::IUnknown); impl IBDA_NullTransform { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -7240,25 +5558,9 @@ impl IBDA_NullTransform { } } ::windows_core::imp::interface_hierarchy!(IBDA_NullTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_NullTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_NullTransform {} -impl ::core::fmt::Debug for IBDA_NullTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_NullTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_NullTransform { type Vtable = IBDA_NullTransform_Vtbl; } -impl ::core::clone::Clone for IBDA_NullTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_NullTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddf15b0d_bd25_11d2_9ca0_00c04f7971e0); } @@ -7271,6 +5573,7 @@ pub struct IBDA_NullTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_PinControl(::windows_core::IUnknown); impl IBDA_PinControl { pub unsafe fn GetPinID(&self, pulpinid: *mut u32) -> ::windows_core::Result<()> { @@ -7284,25 +5587,9 @@ impl IBDA_PinControl { } } ::windows_core::imp::interface_hierarchy!(IBDA_PinControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_PinControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_PinControl {} -impl ::core::fmt::Debug for IBDA_PinControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_PinControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_PinControl { type Vtable = IBDA_PinControl_Vtbl; } -impl ::core::clone::Clone for IBDA_PinControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_PinControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ded49d5_a8b7_4d5d_97a1_12b0c195874d); } @@ -7316,6 +5603,7 @@ pub struct IBDA_PinControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_SignalProperties(::windows_core::IUnknown); impl IBDA_SignalProperties { pub unsafe fn PutNetworkType(&self, guidnetworktype: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -7338,25 +5626,9 @@ impl IBDA_SignalProperties { } } ::windows_core::imp::interface_hierarchy!(IBDA_SignalProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_SignalProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_SignalProperties {} -impl ::core::fmt::Debug for IBDA_SignalProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_SignalProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_SignalProperties { type Vtable = IBDA_SignalProperties_Vtbl; } -impl ::core::clone::Clone for IBDA_SignalProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_SignalProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2f1644b_b409_11d2_bc69_00a0c9ee9e16); } @@ -7373,6 +5645,7 @@ pub struct IBDA_SignalProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_SignalStatistics(::windows_core::IUnknown); impl IBDA_SignalStatistics { pub unsafe fn SetSignalStrength(&self, ldbstrength: i32) -> ::windows_core::Result<()> { @@ -7417,25 +5690,9 @@ impl IBDA_SignalStatistics { } } ::windows_core::imp::interface_hierarchy!(IBDA_SignalStatistics, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_SignalStatistics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_SignalStatistics {} -impl ::core::fmt::Debug for IBDA_SignalStatistics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_SignalStatistics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_SignalStatistics { type Vtable = IBDA_SignalStatistics_Vtbl; } -impl ::core::clone::Clone for IBDA_SignalStatistics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_SignalStatistics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1347d106_cf3a_428a_a5cb_ac0d9a2a4338); } @@ -7462,6 +5719,7 @@ pub struct IBDA_SignalStatistics_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_Topology(::windows_core::IUnknown); impl IBDA_Topology { pub unsafe fn GetNodeTypes(&self, pulcnodetypes: *mut u32, rgulnodetypes: &mut [u32]) -> ::windows_core::Result<()> { @@ -7501,25 +5759,9 @@ impl IBDA_Topology { } } ::windows_core::imp::interface_hierarchy!(IBDA_Topology, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_Topology { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_Topology {} -impl ::core::fmt::Debug for IBDA_Topology { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_Topology").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_Topology { type Vtable = IBDA_Topology_Vtbl; } -impl ::core::clone::Clone for IBDA_Topology { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_Topology { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79b56888_7fea_4690_b45d_38fd3c7849be); } @@ -7544,6 +5786,7 @@ pub struct IBDA_Topology_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_TransportStreamInfo(::windows_core::IUnknown); impl IBDA_TransportStreamInfo { pub unsafe fn PatTableTickCount(&self) -> ::windows_core::Result { @@ -7552,25 +5795,9 @@ impl IBDA_TransportStreamInfo { } } ::windows_core::imp::interface_hierarchy!(IBDA_TransportStreamInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_TransportStreamInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_TransportStreamInfo {} -impl ::core::fmt::Debug for IBDA_TransportStreamInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_TransportStreamInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_TransportStreamInfo { type Vtable = IBDA_TransportStreamInfo_Vtbl; } -impl ::core::clone::Clone for IBDA_TransportStreamInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_TransportStreamInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e882535_5f86_47ab_86cf_c281a72a0549); } @@ -7582,6 +5809,7 @@ pub struct IBDA_TransportStreamInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_TransportStreamSelector(::windows_core::IUnknown); impl IBDA_TransportStreamSelector { pub unsafe fn SetTSID(&self, ustsid: u16) -> ::windows_core::Result<()> { @@ -7592,25 +5820,9 @@ impl IBDA_TransportStreamSelector { } } ::windows_core::imp::interface_hierarchy!(IBDA_TransportStreamSelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_TransportStreamSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_TransportStreamSelector {} -impl ::core::fmt::Debug for IBDA_TransportStreamSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_TransportStreamSelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_TransportStreamSelector { type Vtable = IBDA_TransportStreamSelector_Vtbl; } -impl ::core::clone::Clone for IBDA_TransportStreamSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_TransportStreamSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dcfafe9_b45e_41b3_bb2a_561eb129ae98); } @@ -7623,6 +5835,7 @@ pub struct IBDA_TransportStreamSelector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_UserActivityService(::windows_core::IUnknown); impl IBDA_UserActivityService { pub unsafe fn SetCurrentTunerUseReason(&self, dwusereason: u32) -> ::windows_core::Result<()> { @@ -7637,25 +5850,9 @@ impl IBDA_UserActivityService { } } ::windows_core::imp::interface_hierarchy!(IBDA_UserActivityService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_UserActivityService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_UserActivityService {} -impl ::core::fmt::Debug for IBDA_UserActivityService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_UserActivityService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_UserActivityService { type Vtable = IBDA_UserActivityService_Vtbl; } -impl ::core::clone::Clone for IBDA_UserActivityService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_UserActivityService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53b14189_e478_4b7a_a1ff_506db4b99dfe); } @@ -7669,6 +5866,7 @@ pub struct IBDA_UserActivityService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_VoidTransform(::windows_core::IUnknown); impl IBDA_VoidTransform { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -7679,25 +5877,9 @@ impl IBDA_VoidTransform { } } ::windows_core::imp::interface_hierarchy!(IBDA_VoidTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_VoidTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_VoidTransform {} -impl ::core::fmt::Debug for IBDA_VoidTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_VoidTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_VoidTransform { type Vtable = IBDA_VoidTransform_Vtbl; } -impl ::core::clone::Clone for IBDA_VoidTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_VoidTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71985f46_1ca1_11d3_9cc8_00c04f7971e0); } @@ -7710,6 +5892,7 @@ pub struct IBDA_VoidTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_WMDRMSession(::windows_core::IUnknown); impl IBDA_WMDRMSession { pub unsafe fn GetStatus(&self, maxcapturetoken: *mut u32, maxstreamingpid: *mut u32, maxlicense: *mut u32, minsecuritylevel: *mut u32, revinfosequencenumber: *mut u32, revinfoissuedtime: *mut u64, revinfottl: *mut u32, revlistversion: *mut u32, ulstate: *mut u32) -> ::windows_core::Result<()> { @@ -7738,25 +5921,9 @@ impl IBDA_WMDRMSession { } } ::windows_core::imp::interface_hierarchy!(IBDA_WMDRMSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_WMDRMSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_WMDRMSession {} -impl ::core::fmt::Debug for IBDA_WMDRMSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_WMDRMSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_WMDRMSession { type Vtable = IBDA_WMDRMSession_Vtbl; } -impl ::core::clone::Clone for IBDA_WMDRMSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_WMDRMSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4be6fa3d_07cd_4139_8b80_8c18ba3aec88); } @@ -7775,6 +5942,7 @@ pub struct IBDA_WMDRMSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBDA_WMDRMTuner(::windows_core::IUnknown); impl IBDA_WMDRMTuner { pub unsafe fn PurchaseEntitlement(&self, uldialogrequest: u32, bstrlanguage: P0, pbpurchasetoken: &[u8], puldescramblestatus: *mut u32, pulcapturetokenlen: *mut u32, pbcapturetoken: *mut u8) -> ::windows_core::Result<()> @@ -7801,25 +5969,9 @@ impl IBDA_WMDRMTuner { } } ::windows_core::imp::interface_hierarchy!(IBDA_WMDRMTuner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBDA_WMDRMTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBDA_WMDRMTuner {} -impl ::core::fmt::Debug for IBDA_WMDRMTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBDA_WMDRMTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBDA_WMDRMTuner { type Vtable = IBDA_WMDRMTuner_Vtbl; } -impl ::core::clone::Clone for IBDA_WMDRMTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBDA_WMDRMTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86d979cf_a8a7_4f94_b5fb_14c0aca68fe6); } @@ -7836,6 +5988,7 @@ pub struct IBDA_WMDRMTuner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBPCSatelliteTuner(::windows_core::IUnknown); impl IBPCSatelliteTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> ::windows_core::Result<()> { @@ -7910,25 +6063,9 @@ impl IBPCSatelliteTuner { } } ::windows_core::imp::interface_hierarchy!(IBPCSatelliteTuner, ::windows_core::IUnknown, IAMTuner); -impl ::core::cmp::PartialEq for IBPCSatelliteTuner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBPCSatelliteTuner {} -impl ::core::fmt::Debug for IBPCSatelliteTuner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBPCSatelliteTuner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBPCSatelliteTuner { type Vtable = IBPCSatelliteTuner_Vtbl; } -impl ::core::clone::Clone for IBPCSatelliteTuner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBPCSatelliteTuner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x211a8765_03ac_11d1_8d13_00aa00bd8339); } @@ -7943,6 +6080,7 @@ pub struct IBPCSatelliteTuner_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBaseFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBaseFilter { @@ -8004,30 +6142,10 @@ impl IBaseFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBaseFilter, ::windows_core::IUnknown, super::super::System::Com::IPersist, IMediaFilter); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBaseFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBaseFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBaseFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBaseFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBaseFilter { type Vtable = IBaseFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBaseFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBaseFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86895_0ad4_11ce_b03a_0020af0ba770); } @@ -8044,6 +6162,7 @@ pub struct IBaseFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBaseVideoMixer(::windows_core::IUnknown); impl IBaseVideoMixer { pub unsafe fn SetLeadPin(&self, ipin: i32) -> ::windows_core::Result<()> { @@ -8073,25 +6192,9 @@ impl IBaseVideoMixer { } } ::windows_core::imp::interface_hierarchy!(IBaseVideoMixer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBaseVideoMixer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBaseVideoMixer {} -impl ::core::fmt::Debug for IBaseVideoMixer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBaseVideoMixer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBaseVideoMixer { type Vtable = IBaseVideoMixer_Vtbl; } -impl ::core::clone::Clone for IBaseVideoMixer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBaseVideoMixer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61ded640_e912_11ce_a099_00aa00479a58); } @@ -8110,6 +6213,7 @@ pub struct IBaseVideoMixer_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicAudio(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBasicAudio { @@ -8131,30 +6235,10 @@ impl IBasicAudio { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBasicAudio, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBasicAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBasicAudio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBasicAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBasicAudio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBasicAudio { type Vtable = IBasicAudio_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBasicAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBasicAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b3_0ad4_11ce_b03a_0020af0ba770); } @@ -8171,6 +6255,7 @@ pub struct IBasicAudio_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicVideo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBasicVideo { @@ -8287,30 +6372,10 @@ impl IBasicVideo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBasicVideo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBasicVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBasicVideo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBasicVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBasicVideo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBasicVideo { type Vtable = IBasicVideo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBasicVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBasicVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b5_0ad4_11ce_b03a_0020af0ba770); } @@ -8355,6 +6420,7 @@ pub struct IBasicVideo_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBasicVideo2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBasicVideo2 { @@ -8474,30 +6540,10 @@ impl IBasicVideo2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBasicVideo2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IBasicVideo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBasicVideo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBasicVideo2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBasicVideo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBasicVideo2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBasicVideo2 { type Vtable = IBasicVideo2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBasicVideo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBasicVideo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x329bb360_f6ea_11d1_9038_00a0c9697298); } @@ -8510,6 +6556,7 @@ pub struct IBasicVideo2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBroadcastEvent(::windows_core::IUnknown); impl IBroadcastEvent { pub unsafe fn Fire(&self, eventid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -8517,25 +6564,9 @@ impl IBroadcastEvent { } } ::windows_core::imp::interface_hierarchy!(IBroadcastEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBroadcastEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBroadcastEvent {} -impl ::core::fmt::Debug for IBroadcastEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBroadcastEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBroadcastEvent { type Vtable = IBroadcastEvent_Vtbl; } -impl ::core::clone::Clone for IBroadcastEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBroadcastEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b21263f_26e8_489d_aac4_924f7efd9511); } @@ -8547,6 +6578,7 @@ pub struct IBroadcastEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBroadcastEventEx(::windows_core::IUnknown); impl IBroadcastEventEx { pub unsafe fn Fire(&self, eventid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -8557,25 +6589,9 @@ impl IBroadcastEventEx { } } ::windows_core::imp::interface_hierarchy!(IBroadcastEventEx, ::windows_core::IUnknown, IBroadcastEvent); -impl ::core::cmp::PartialEq for IBroadcastEventEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBroadcastEventEx {} -impl ::core::fmt::Debug for IBroadcastEventEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBroadcastEventEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBroadcastEventEx { type Vtable = IBroadcastEventEx_Vtbl; } -impl ::core::clone::Clone for IBroadcastEventEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBroadcastEventEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d9e3887_1929_423f_8021_43682de95448); } @@ -8587,6 +6603,7 @@ pub struct IBroadcastEventEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferingTime(::windows_core::IUnknown); impl IBufferingTime { pub unsafe fn GetBufferingTime(&self, pdwmilliseconds: *mut u32) -> ::windows_core::Result<()> { @@ -8597,25 +6614,9 @@ impl IBufferingTime { } } ::windows_core::imp::interface_hierarchy!(IBufferingTime, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBufferingTime { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBufferingTime {} -impl ::core::fmt::Debug for IBufferingTime { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBufferingTime").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBufferingTime { type Vtable = IBufferingTime_Vtbl; } -impl ::core::clone::Clone for IBufferingTime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferingTime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e00486a_78dd_11d2_8dd3_006097c9a2b2); } @@ -8628,6 +6629,7 @@ pub struct IBufferingTime_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICCSubStreamFiltering(::windows_core::IUnknown); impl ICCSubStreamFiltering { pub unsafe fn SubstreamTypes(&self) -> ::windows_core::Result { @@ -8639,25 +6641,9 @@ impl ICCSubStreamFiltering { } } ::windows_core::imp::interface_hierarchy!(ICCSubStreamFiltering, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICCSubStreamFiltering { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICCSubStreamFiltering {} -impl ::core::fmt::Debug for ICCSubStreamFiltering { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICCSubStreamFiltering").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICCSubStreamFiltering { type Vtable = ICCSubStreamFiltering_Vtbl; } -impl ::core::clone::Clone for ICCSubStreamFiltering { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICCSubStreamFiltering { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b2bd7ea_8347_467b_8dbf_62f784929cc3); } @@ -8670,6 +6656,7 @@ pub struct ICCSubStreamFiltering_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraControl(::windows_core::IUnknown); impl ICameraControl { pub unsafe fn get_Exposure(&self, pvalue: *mut i32, pflags: *mut i32) -> ::windows_core::Result<()> { @@ -8827,25 +6814,9 @@ impl ICameraControl { } } ::windows_core::imp::interface_hierarchy!(ICameraControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICameraControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICameraControl {} -impl ::core::fmt::Debug for ICameraControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICameraControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICameraControl { type Vtable = ICameraControl_Vtbl; } -impl ::core::clone::Clone for ICameraControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ba1785d_4d1b_44ef_85e8_c7f1d3f20184); } @@ -8907,6 +6878,7 @@ pub struct ICameraControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICaptureGraphBuilder(::windows_core::IUnknown); impl ICaptureGraphBuilder { pub unsafe fn SetFiltergraph(&self, pfg: P0) -> ::windows_core::Result<()> @@ -8969,25 +6941,9 @@ impl ICaptureGraphBuilder { } } ::windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICaptureGraphBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICaptureGraphBuilder {} -impl ::core::fmt::Debug for ICaptureGraphBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICaptureGraphBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICaptureGraphBuilder { type Vtable = ICaptureGraphBuilder_Vtbl; } -impl ::core::clone::Clone for ICaptureGraphBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICaptureGraphBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf87b6e0_8c27_11d0_b3f0_00aa003761c5); } @@ -9018,6 +6974,7 @@ pub struct ICaptureGraphBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICaptureGraphBuilder2(::windows_core::IUnknown); impl ICaptureGraphBuilder2 { pub unsafe fn SetFiltergraph(&self, pfg: P0) -> ::windows_core::Result<()> @@ -9090,25 +7047,9 @@ impl ICaptureGraphBuilder2 { } } ::windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICaptureGraphBuilder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICaptureGraphBuilder2 {} -impl ::core::fmt::Debug for ICaptureGraphBuilder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICaptureGraphBuilder2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICaptureGraphBuilder2 { type Vtable = ICaptureGraphBuilder2_Vtbl; } -impl ::core::clone::Clone for ICaptureGraphBuilder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICaptureGraphBuilder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93e5a4e0_2d50_11d2_abfa_00a0c9c6e38d); } @@ -9143,6 +7084,7 @@ pub struct ICaptureGraphBuilder2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConfigAsfWriter(::windows_core::IUnknown); impl IConfigAsfWriter { pub unsafe fn ConfigureFilterUsingProfileId(&self, dwprofileid: u32) -> ::windows_core::Result<()> { @@ -9189,25 +7131,9 @@ impl IConfigAsfWriter { } } ::windows_core::imp::interface_hierarchy!(IConfigAsfWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConfigAsfWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConfigAsfWriter {} -impl ::core::fmt::Debug for IConfigAsfWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConfigAsfWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConfigAsfWriter { type Vtable = IConfigAsfWriter_Vtbl; } -impl ::core::clone::Clone for IConfigAsfWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConfigAsfWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45086030_f7e4_486a_b504_826bb5792a3b); } @@ -9238,6 +7164,7 @@ pub struct IConfigAsfWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConfigAsfWriter2(::windows_core::IUnknown); impl IConfigAsfWriter2 { pub unsafe fn ConfigureFilterUsingProfileId(&self, dwprofileid: u32) -> ::windows_core::Result<()> { @@ -9300,25 +7227,9 @@ impl IConfigAsfWriter2 { } } ::windows_core::imp::interface_hierarchy!(IConfigAsfWriter2, ::windows_core::IUnknown, IConfigAsfWriter); -impl ::core::cmp::PartialEq for IConfigAsfWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConfigAsfWriter2 {} -impl ::core::fmt::Debug for IConfigAsfWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConfigAsfWriter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConfigAsfWriter2 { type Vtable = IConfigAsfWriter2_Vtbl; } -impl ::core::clone::Clone for IConfigAsfWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConfigAsfWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7989ccaa_53f0_44f0_884a_f3b03f6ae066); } @@ -9333,6 +7244,7 @@ pub struct IConfigAsfWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConfigAviMux(::windows_core::IUnknown); impl IConfigAviMux { pub unsafe fn SetMasterStream(&self, istream: i32) -> ::windows_core::Result<()> { @@ -9358,25 +7270,9 @@ impl IConfigAviMux { } } ::windows_core::imp::interface_hierarchy!(IConfigAviMux, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConfigAviMux { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConfigAviMux {} -impl ::core::fmt::Debug for IConfigAviMux { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConfigAviMux").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConfigAviMux { type Vtable = IConfigAviMux_Vtbl; } -impl ::core::clone::Clone for IConfigAviMux { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConfigAviMux { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5acd6aa0_f482_11ce_8b67_00aa00a3f1a6); } @@ -9397,6 +7293,7 @@ pub struct IConfigAviMux_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConfigInterleaving(::windows_core::IUnknown); impl IConfigInterleaving { pub unsafe fn SetMode(&self, mode: InterleavingMode) -> ::windows_core::Result<()> { @@ -9414,25 +7311,9 @@ impl IConfigInterleaving { } } ::windows_core::imp::interface_hierarchy!(IConfigInterleaving, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConfigInterleaving { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConfigInterleaving {} -impl ::core::fmt::Debug for IConfigInterleaving { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConfigInterleaving").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConfigInterleaving { type Vtable = IConfigInterleaving_Vtbl; } -impl ::core::clone::Clone for IConfigInterleaving { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConfigInterleaving { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbee3d220_157b_11d0_bd23_00a0c911ce86); } @@ -9447,6 +7328,7 @@ pub struct IConfigInterleaving_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateDevEnum(::windows_core::IUnknown); impl ICreateDevEnum { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9456,25 +7338,9 @@ impl ICreateDevEnum { } } ::windows_core::imp::interface_hierarchy!(ICreateDevEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateDevEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateDevEnum {} -impl ::core::fmt::Debug for ICreateDevEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateDevEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateDevEnum { type Vtable = ICreateDevEnum_Vtbl; } -impl ::core::clone::Clone for ICreateDevEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateDevEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29840822_5b84_11d0_bd3b_00a0c911ce86); } @@ -9489,6 +7355,7 @@ pub struct ICreateDevEnum_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDDrawExclModeVideo(::windows_core::IUnknown); impl IDDrawExclModeVideo { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -9533,25 +7400,9 @@ impl IDDrawExclModeVideo { } } ::windows_core::imp::interface_hierarchy!(IDDrawExclModeVideo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDDrawExclModeVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDDrawExclModeVideo {} -impl ::core::fmt::Debug for IDDrawExclModeVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDDrawExclModeVideo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDDrawExclModeVideo { type Vtable = IDDrawExclModeVideo_Vtbl; } -impl ::core::clone::Clone for IDDrawExclModeVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDDrawExclModeVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x153acc21_d83b_11d1_82bf_00a0c9696c8f); } @@ -9584,6 +7435,7 @@ pub struct IDDrawExclModeVideo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDDrawExclModeVideoCallback(::windows_core::IUnknown); impl IDDrawExclModeVideoCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9606,25 +7458,9 @@ impl IDDrawExclModeVideoCallback { } } ::windows_core::imp::interface_hierarchy!(IDDrawExclModeVideoCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDDrawExclModeVideoCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDDrawExclModeVideoCallback {} -impl ::core::fmt::Debug for IDDrawExclModeVideoCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDDrawExclModeVideoCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDDrawExclModeVideoCallback { type Vtable = IDDrawExclModeVideoCallback_Vtbl; } -impl ::core::clone::Clone for IDDrawExclModeVideoCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDDrawExclModeVideoCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x913c24a0_20ab_11d2_9038_00a0c9697298); } @@ -9644,6 +7480,7 @@ pub struct IDDrawExclModeVideoCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMOWrapperFilter(::windows_core::IUnknown); impl IDMOWrapperFilter { pub unsafe fn Init(&self, clsiddmo: *const ::windows_core::GUID, catdmo: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -9651,25 +7488,9 @@ impl IDMOWrapperFilter { } } ::windows_core::imp::interface_hierarchy!(IDMOWrapperFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDMOWrapperFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMOWrapperFilter {} -impl ::core::fmt::Debug for IDMOWrapperFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMOWrapperFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMOWrapperFilter { type Vtable = IDMOWrapperFilter_Vtbl; } -impl ::core::clone::Clone for IDMOWrapperFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMOWrapperFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52d6f586_9f0f_4824_8fc8_e32ca04930c2); } @@ -9681,6 +7502,7 @@ pub struct IDMOWrapperFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDShowPlugin(::windows_core::IUnknown); impl IDShowPlugin { pub unsafe fn URL(&self, purl: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -9691,25 +7513,9 @@ impl IDShowPlugin { } } ::windows_core::imp::interface_hierarchy!(IDShowPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDShowPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDShowPlugin {} -impl ::core::fmt::Debug for IDShowPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDShowPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDShowPlugin { type Vtable = IDShowPlugin_Vtbl; } -impl ::core::clone::Clone for IDShowPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDShowPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4746b7c8_700e_11d1_becc_00c04fb6e937); } @@ -9722,6 +7528,7 @@ pub struct IDShowPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVEnc(::windows_core::IUnknown); impl IDVEnc { pub unsafe fn get_IFormatResolution(&self, videoformat: *mut i32, dvformat: *mut i32, resolution: *mut i32, fdvinfo: u8, sdvinfo: *mut DVINFO) -> ::windows_core::Result<()> { @@ -9732,25 +7539,9 @@ impl IDVEnc { } } ::windows_core::imp::interface_hierarchy!(IDVEnc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVEnc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVEnc {} -impl ::core::fmt::Debug for IDVEnc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVEnc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVEnc { type Vtable = IDVEnc_Vtbl; } -impl ::core::clone::Clone for IDVEnc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVEnc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd18e17a0_aacb_11d0_afb0_00aa00b67a42); } @@ -9763,6 +7554,7 @@ pub struct IDVEnc_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVRGB219(::windows_core::IUnknown); impl IDVRGB219 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9775,25 +7567,9 @@ impl IDVRGB219 { } } ::windows_core::imp::interface_hierarchy!(IDVRGB219, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVRGB219 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVRGB219 {} -impl ::core::fmt::Debug for IDVRGB219 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVRGB219").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVRGB219 { type Vtable = IDVRGB219_Vtbl; } -impl ::core::clone::Clone for IDVRGB219 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVRGB219 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58473a19_2bc8_4663_8012_25f81babddd1); } @@ -9808,6 +7584,7 @@ pub struct IDVRGB219_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDVSplitter(::windows_core::IUnknown); impl IDVSplitter { pub unsafe fn DiscardAlternateVideoFrames(&self, ndiscard: i32) -> ::windows_core::Result<()> { @@ -9815,25 +7592,9 @@ impl IDVSplitter { } } ::windows_core::imp::interface_hierarchy!(IDVSplitter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDVSplitter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDVSplitter {} -impl ::core::fmt::Debug for IDVSplitter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDVSplitter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDVSplitter { type Vtable = IDVSplitter_Vtbl; } -impl ::core::clone::Clone for IDVSplitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDVSplitter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92a3a302_da7c_4a1f_ba7e_1802bb5d2d02); } @@ -9845,6 +7606,7 @@ pub struct IDVSplitter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDecimateVideoImage(::windows_core::IUnknown); impl IDecimateVideoImage { pub unsafe fn SetDecimationImageSize(&self, lwidth: i32, lheight: i32) -> ::windows_core::Result<()> { @@ -9855,25 +7617,9 @@ impl IDecimateVideoImage { } } ::windows_core::imp::interface_hierarchy!(IDecimateVideoImage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDecimateVideoImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDecimateVideoImage {} -impl ::core::fmt::Debug for IDecimateVideoImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDecimateVideoImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDecimateVideoImage { type Vtable = IDecimateVideoImage_Vtbl; } -impl ::core::clone::Clone for IDecimateVideoImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDecimateVideoImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e5ea3e0_e924_11d2_b6da_00a0c995e8df); } @@ -9886,6 +7632,7 @@ pub struct IDecimateVideoImage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeferredCommand(::windows_core::IUnknown); impl IDeferredCommand { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -9904,25 +7651,9 @@ impl IDeferredCommand { } } ::windows_core::imp::interface_hierarchy!(IDeferredCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeferredCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeferredCommand {} -impl ::core::fmt::Debug for IDeferredCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeferredCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeferredCommand { type Vtable = IDeferredCommand_Vtbl; } -impl ::core::clone::Clone for IDeferredCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeferredCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b8_0ad4_11ce_b03a_0020af0ba770); } @@ -9937,6 +7668,7 @@ pub struct IDeferredCommand_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawMediaSample(::windows_core::IUnknown); impl IDirectDrawMediaSample { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`*"] @@ -9949,25 +7681,9 @@ impl IDirectDrawMediaSample { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawMediaSample, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawMediaSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawMediaSample {} -impl ::core::fmt::Debug for IDirectDrawMediaSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawMediaSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawMediaSample { type Vtable = IDirectDrawMediaSample_Vtbl; } -impl ::core::clone::Clone for IDirectDrawMediaSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawMediaSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab6b4afe_f6e4_11d0_900d_00c04fd9189d); } @@ -9983,35 +7699,20 @@ pub struct IDirectDrawMediaSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawMediaSampleAllocator(::windows_core::IUnknown); impl IDirectDrawMediaSampleAllocator { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] #[cfg(feature = "Win32_Graphics_DirectDraw")] - pub unsafe fn GetDirectDraw(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetDirectDraw)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IDirectDrawMediaSampleAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawMediaSampleAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawMediaSampleAllocator {} -impl ::core::fmt::Debug for IDirectDrawMediaSampleAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawMediaSampleAllocator").field(&self.0).finish() + pub unsafe fn GetDirectDraw(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetDirectDraw)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IDirectDrawMediaSampleAllocator, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDirectDrawMediaSampleAllocator { type Vtable = IDirectDrawMediaSampleAllocator_Vtbl; } -impl ::core::clone::Clone for IDirectDrawMediaSampleAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawMediaSampleAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab6b4afc_f6e4_11d0_900d_00c04fd9189d); } @@ -10026,6 +7727,7 @@ pub struct IDirectDrawMediaSampleAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawMediaStream(::windows_core::IUnknown); impl IDirectDrawMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows_core::Result { @@ -10097,25 +7799,9 @@ impl IDirectDrawMediaStream { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawMediaStream, ::windows_core::IUnknown, IMediaStream); -impl ::core::cmp::PartialEq for IDirectDrawMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawMediaStream {} -impl ::core::fmt::Debug for IDirectDrawMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawMediaStream { type Vtable = IDirectDrawMediaStream_Vtbl; } -impl ::core::clone::Clone for IDirectDrawMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4104fce_9a70_11d0_8fde_00c04fd9189d); } @@ -10147,6 +7833,7 @@ pub struct IDirectDrawMediaStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawStreamSample(::windows_core::IUnknown); impl IDirectDrawStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const ::core::option::Option) -> ::windows_core::Result<()> { @@ -10181,25 +7868,9 @@ impl IDirectDrawStreamSample { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawStreamSample, ::windows_core::IUnknown, IStreamSample); -impl ::core::cmp::PartialEq for IDirectDrawStreamSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawStreamSample {} -impl ::core::fmt::Debug for IDirectDrawStreamSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawStreamSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawStreamSample { type Vtable = IDirectDrawStreamSample_Vtbl; } -impl ::core::clone::Clone for IDirectDrawStreamSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawStreamSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4104fcf_9a70_11d0_8fde_00c04fd9189d); } @@ -10218,6 +7889,7 @@ pub struct IDirectDrawStreamSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectDrawVideo(::windows_core::IUnknown); impl IDirectDrawVideo { pub unsafe fn GetSwitches(&self) -> ::windows_core::Result { @@ -10289,25 +7961,9 @@ impl IDirectDrawVideo { } } ::windows_core::imp::interface_hierarchy!(IDirectDrawVideo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectDrawVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectDrawVideo {} -impl ::core::fmt::Debug for IDirectDrawVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectDrawVideo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectDrawVideo { type Vtable = IDirectDrawVideo_Vtbl; } -impl ::core::clone::Clone for IDirectDrawVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectDrawVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36d39eb0_dd75_11ce_bf0e_00aa0055595a); } @@ -10349,6 +8005,7 @@ pub struct IDirectDrawVideo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDistributorNotify(::windows_core::IUnknown); impl IDistributorNotify { pub unsafe fn Stop(&self) -> ::windows_core::Result<()> { @@ -10371,25 +8028,9 @@ impl IDistributorNotify { } } ::windows_core::imp::interface_hierarchy!(IDistributorNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDistributorNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDistributorNotify {} -impl ::core::fmt::Debug for IDistributorNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDistributorNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDistributorNotify { type Vtable = IDistributorNotify_Vtbl; } -impl ::core::clone::Clone for IDistributorNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDistributorNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868af_0ad4_11ce_b03a_0020af0ba770); } @@ -10405,6 +8046,7 @@ pub struct IDistributorNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDrawVideoImage(::windows_core::IUnknown); impl IDrawVideoImage { pub unsafe fn DrawVideoImageBegin(&self) -> ::windows_core::Result<()> { @@ -10423,25 +8065,9 @@ impl IDrawVideoImage { } } ::windows_core::imp::interface_hierarchy!(IDrawVideoImage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDrawVideoImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDrawVideoImage {} -impl ::core::fmt::Debug for IDrawVideoImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDrawVideoImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDrawVideoImage { type Vtable = IDrawVideoImage_Vtbl; } -impl ::core::clone::Clone for IDrawVideoImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDrawVideoImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48efb120_ab49_11d2_aed2_00a0c995e8d5); } @@ -10458,6 +8084,7 @@ pub struct IDrawVideoImage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdCmd(::windows_core::IUnknown); impl IDvdCmd { pub unsafe fn WaitForStart(&self) -> ::windows_core::Result<()> { @@ -10468,25 +8095,9 @@ impl IDvdCmd { } } ::windows_core::imp::interface_hierarchy!(IDvdCmd, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdCmd { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdCmd {} -impl ::core::fmt::Debug for IDvdCmd { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdCmd").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdCmd { type Vtable = IDvdCmd_Vtbl; } -impl ::core::clone::Clone for IDvdCmd { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdCmd { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a4a97e4_94ee_4a55_9751_74b5643aa27d); } @@ -10499,6 +8110,7 @@ pub struct IDvdCmd_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdControl(::windows_core::IUnknown); impl IDvdControl { pub unsafe fn TitlePlay(&self, ultitle: u32) -> ::windows_core::Result<()> { @@ -10620,25 +8232,9 @@ impl IDvdControl { } } ::windows_core::imp::interface_hierarchy!(IDvdControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdControl {} -impl ::core::fmt::Debug for IDvdControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdControl { type Vtable = IDvdControl_Vtbl; } -impl ::core::clone::Clone for IDvdControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa70efe61_e2a3_11d0_a9be_00aa0061be93); } @@ -10693,6 +8289,7 @@ pub struct IDvdControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdControl2(::windows_core::IUnknown); impl IDvdControl2 { pub unsafe fn PlayTitle(&self, ultitle: u32, dwflags: u32) -> ::windows_core::Result { @@ -10868,25 +8465,9 @@ impl IDvdControl2 { } } ::windows_core::imp::interface_hierarchy!(IDvdControl2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdControl2 {} -impl ::core::fmt::Debug for IDvdControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdControl2 { type Vtable = IDvdControl2_Vtbl; } -impl ::core::clone::Clone for IDvdControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33bc7430_eec0_11d2_8201_00a0c9d74842); } @@ -10955,6 +8536,7 @@ pub struct IDvdControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdGraphBuilder(::windows_core::IUnknown); impl IDvdGraphBuilder { pub unsafe fn GetFiltergraph(&self) -> ::windows_core::Result { @@ -10974,25 +8556,9 @@ impl IDvdGraphBuilder { } } ::windows_core::imp::interface_hierarchy!(IDvdGraphBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdGraphBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdGraphBuilder {} -impl ::core::fmt::Debug for IDvdGraphBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdGraphBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdGraphBuilder { type Vtable = IDvdGraphBuilder_Vtbl; } -impl ::core::clone::Clone for IDvdGraphBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdGraphBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcc152b6_f372_11d0_8e00_00c04fd7c08b); } @@ -11009,6 +8575,7 @@ pub struct IDvdGraphBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdInfo(::windows_core::IUnknown); impl IDvdInfo { pub unsafe fn GetCurrentDomain(&self) -> ::windows_core::Result { @@ -11097,25 +8664,9 @@ impl IDvdInfo { } } ::windows_core::imp::interface_hierarchy!(IDvdInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdInfo {} -impl ::core::fmt::Debug for IDvdInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdInfo { type Vtable = IDvdInfo_Vtbl; } -impl ::core::clone::Clone for IDvdInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa70efe60_e2a3_11d0_a9be_00aa0061be93); } @@ -11152,6 +8703,7 @@ pub struct IDvdInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdInfo2(::windows_core::IUnknown); impl IDvdInfo2 { pub unsafe fn GetCurrentDomain(&self) -> ::windows_core::Result { @@ -11315,25 +8867,9 @@ impl IDvdInfo2 { } } ::windows_core::imp::interface_hierarchy!(IDvdInfo2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdInfo2 {} -impl ::core::fmt::Debug for IDvdInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdInfo2 { type Vtable = IDvdInfo2_Vtbl; } -impl ::core::clone::Clone for IDvdInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34151510_eec0_11d2_8201_00a0c9d74842); } @@ -11413,6 +8949,7 @@ pub struct IDvdInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDvdState(::windows_core::IUnknown); impl IDvdState { pub unsafe fn GetDiscID(&self) -> ::windows_core::Result { @@ -11425,25 +8962,9 @@ impl IDvdState { } } ::windows_core::imp::interface_hierarchy!(IDvdState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDvdState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDvdState {} -impl ::core::fmt::Debug for IDvdState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDvdState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDvdState { type Vtable = IDvdState_Vtbl; } -impl ::core::clone::Clone for IDvdState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDvdState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86303d6d_1c4a_4087_ab42_f711167048ef); } @@ -11456,6 +8977,7 @@ pub struct IDvdState_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESEvent(::windows_core::IUnknown); impl IESEvent { pub unsafe fn GetEventId(&self) -> ::windows_core::Result { @@ -11481,25 +9003,9 @@ impl IESEvent { } } ::windows_core::imp::interface_hierarchy!(IESEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IESEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESEvent {} -impl ::core::fmt::Debug for IESEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESEvent { type Vtable = IESEvent_Vtbl; } -impl ::core::clone::Clone for IESEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f0e5357_af43_44e6_8547_654c645145d2); } @@ -11518,6 +9024,7 @@ pub struct IESEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IESEvents(::windows_core::IUnknown); impl IESEvents { pub unsafe fn OnESEventReceived(&self, guideventtype: ::windows_core::GUID, pesevent: P0) -> ::windows_core::Result<()> @@ -11528,25 +9035,9 @@ impl IESEvents { } } ::windows_core::imp::interface_hierarchy!(IESEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IESEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IESEvents {} -impl ::core::fmt::Debug for IESEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IESEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IESEvents { type Vtable = IESEvents_Vtbl; } -impl ::core::clone::Clone for IESEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IESEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabd414bf_cfe5_4e5e_af5b_4b4e49c5bfeb); } @@ -11558,6 +9049,7 @@ pub struct IESEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEncoderAPI(::windows_core::IUnknown); impl IEncoderAPI { pub unsafe fn IsSupported(&self, api: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -11595,25 +9087,9 @@ impl IEncoderAPI { } } ::windows_core::imp::interface_hierarchy!(IEncoderAPI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEncoderAPI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEncoderAPI {} -impl ::core::fmt::Debug for IEncoderAPI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEncoderAPI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEncoderAPI { type Vtable = IEncoderAPI_Vtbl; } -impl ::core::clone::Clone for IEncoderAPI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEncoderAPI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70423839_6acc_4b23_b079_21dbf08156a5); } @@ -11646,6 +9122,7 @@ pub struct IEncoderAPI_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumFilters(::windows_core::IUnknown); impl IEnumFilters { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11665,25 +9142,9 @@ impl IEnumFilters { } } ::windows_core::imp::interface_hierarchy!(IEnumFilters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumFilters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumFilters {} -impl ::core::fmt::Debug for IEnumFilters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumFilters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumFilters { type Vtable = IEnumFilters_Vtbl; } -impl ::core::clone::Clone for IEnumFilters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumFilters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86893_0ad4_11ce_b03a_0020af0ba770); } @@ -11701,6 +9162,7 @@ pub struct IEnumFilters_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMediaTypes(::windows_core::IUnknown); impl IEnumMediaTypes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -11720,25 +9182,9 @@ impl IEnumMediaTypes { } } ::windows_core::imp::interface_hierarchy!(IEnumMediaTypes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMediaTypes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMediaTypes {} -impl ::core::fmt::Debug for IEnumMediaTypes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMediaTypes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMediaTypes { type Vtable = IEnumMediaTypes_Vtbl; } -impl ::core::clone::Clone for IEnumMediaTypes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMediaTypes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89c31040_846b_11ce_97d3_00aa0055595a); } @@ -11756,6 +9202,7 @@ pub struct IEnumMediaTypes_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPIDMap(::windows_core::IUnknown); impl IEnumPIDMap { pub unsafe fn Next(&self, ppidmap: &mut [PID_MAP], pcreceived: *mut u32) -> ::windows_core::HRESULT { @@ -11773,25 +9220,9 @@ impl IEnumPIDMap { } } ::windows_core::imp::interface_hierarchy!(IEnumPIDMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPIDMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPIDMap {} -impl ::core::fmt::Debug for IEnumPIDMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPIDMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPIDMap { type Vtable = IEnumPIDMap_Vtbl; } -impl ::core::clone::Clone for IEnumPIDMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPIDMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafb6c2a2_2c41_11d3_8a60_0000f81e0e4a); } @@ -11806,6 +9237,7 @@ pub struct IEnumPIDMap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPins(::windows_core::IUnknown); impl IEnumPins { pub unsafe fn Next(&self, pppins: &mut [::core::option::Option], pcfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -11823,25 +9255,9 @@ impl IEnumPins { } } ::windows_core::imp::interface_hierarchy!(IEnumPins, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPins { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPins {} -impl ::core::fmt::Debug for IEnumPins { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPins").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPins { type Vtable = IEnumPins_Vtbl; } -impl ::core::clone::Clone for IEnumPins { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPins { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86892_0ad4_11ce_b03a_0020af0ba770); } @@ -11856,6 +9272,7 @@ pub struct IEnumPins_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRegFilters(::windows_core::IUnknown); impl IEnumRegFilters { pub unsafe fn Next(&self, apregfilter: &mut [*mut REGFILTER], pcfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -11873,25 +9290,9 @@ impl IEnumRegFilters { } } ::windows_core::imp::interface_hierarchy!(IEnumRegFilters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRegFilters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRegFilters {} -impl ::core::fmt::Debug for IEnumRegFilters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRegFilters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRegFilters { type Vtable = IEnumRegFilters_Vtbl; } -impl ::core::clone::Clone for IEnumRegFilters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRegFilters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a4_0ad4_11ce_b03a_0020af0ba770); } @@ -11906,6 +9307,7 @@ pub struct IEnumRegFilters_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumStreamIdMap(::windows_core::IUnknown); impl IEnumStreamIdMap { pub unsafe fn Next(&self, pstreamidmap: &mut [STREAM_ID_MAP], pcreceived: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -11923,25 +9325,9 @@ impl IEnumStreamIdMap { } } ::windows_core::imp::interface_hierarchy!(IEnumStreamIdMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumStreamIdMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumStreamIdMap {} -impl ::core::fmt::Debug for IEnumStreamIdMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumStreamIdMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumStreamIdMap { type Vtable = IEnumStreamIdMap_Vtbl; } -impl ::core::clone::Clone for IEnumStreamIdMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumStreamIdMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x945c1566_6202_46fc_96c7_d87f289c6534); } @@ -11956,6 +9342,7 @@ pub struct IEnumStreamIdMap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSinkFilter(::windows_core::IUnknown); impl IFileSinkFilter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -11973,25 +9360,9 @@ impl IFileSinkFilter { } } ::windows_core::imp::interface_hierarchy!(IFileSinkFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileSinkFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSinkFilter {} -impl ::core::fmt::Debug for IFileSinkFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSinkFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSinkFilter { type Vtable = IFileSinkFilter_Vtbl; } -impl ::core::clone::Clone for IFileSinkFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSinkFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2104830_7c70_11cf_8bce_00aa00a3f1a6); } @@ -12010,6 +9381,7 @@ pub struct IFileSinkFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSinkFilter2(::windows_core::IUnknown); impl IFileSinkFilter2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -12034,25 +9406,9 @@ impl IFileSinkFilter2 { } } ::windows_core::imp::interface_hierarchy!(IFileSinkFilter2, ::windows_core::IUnknown, IFileSinkFilter); -impl ::core::cmp::PartialEq for IFileSinkFilter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSinkFilter2 {} -impl ::core::fmt::Debug for IFileSinkFilter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSinkFilter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSinkFilter2 { type Vtable = IFileSinkFilter2_Vtbl; } -impl ::core::clone::Clone for IFileSinkFilter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSinkFilter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00855b90_ce1b_11d0_bd4f_00a0c911ce86); } @@ -12065,6 +9421,7 @@ pub struct IFileSinkFilter2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSourceFilter(::windows_core::IUnknown); impl IFileSourceFilter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -12082,25 +9439,9 @@ impl IFileSourceFilter { } } ::windows_core::imp::interface_hierarchy!(IFileSourceFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileSourceFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSourceFilter {} -impl ::core::fmt::Debug for IFileSourceFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSourceFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSourceFilter { type Vtable = IFileSourceFilter_Vtbl; } -impl ::core::clone::Clone for IFileSourceFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSourceFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a6_0ad4_11ce_b03a_0020af0ba770); } @@ -12119,6 +9460,7 @@ pub struct IFileSourceFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterChain(::windows_core::IUnknown); impl IFilterChain { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12159,25 +9501,9 @@ impl IFilterChain { } } ::windows_core::imp::interface_hierarchy!(IFilterChain, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterChain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterChain {} -impl ::core::fmt::Debug for IFilterChain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterChain").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterChain { type Vtable = IFilterChain_Vtbl; } -impl ::core::clone::Clone for IFilterChain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterChain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcfbdcf6_0dc2_45f5_9ab2_7c330ea09c29); } @@ -12204,6 +9530,7 @@ pub struct IFilterChain_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterGraph(::windows_core::IUnknown); impl IFilterGraph { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12262,25 +9589,9 @@ impl IFilterGraph { } } ::windows_core::imp::interface_hierarchy!(IFilterGraph, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterGraph { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterGraph {} -impl ::core::fmt::Debug for IFilterGraph { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterGraph").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterGraph { type Vtable = IFilterGraph_Vtbl; } -impl ::core::clone::Clone for IFilterGraph { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterGraph { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a8689f_0ad4_11ce_b03a_0020af0ba770); } @@ -12311,6 +9622,7 @@ pub struct IFilterGraph_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterGraph2(::windows_core::IUnknown); impl IFilterGraph2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12433,25 +9745,9 @@ impl IFilterGraph2 { } } ::windows_core::imp::interface_hierarchy!(IFilterGraph2, ::windows_core::IUnknown, IFilterGraph, IGraphBuilder); -impl ::core::cmp::PartialEq for IFilterGraph2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterGraph2 {} -impl ::core::fmt::Debug for IFilterGraph2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterGraph2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterGraph2 { type Vtable = IFilterGraph2_Vtbl; } -impl ::core::clone::Clone for IFilterGraph2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterGraph2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73882_c2c8_11cf_8b46_00805f6cef60); } @@ -12471,6 +9767,7 @@ pub struct IFilterGraph2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterGraph3(::windows_core::IUnknown); impl IFilterGraph3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12603,25 +9900,9 @@ impl IFilterGraph3 { } } ::windows_core::imp::interface_hierarchy!(IFilterGraph3, ::windows_core::IUnknown, IFilterGraph, IGraphBuilder, IFilterGraph2); -impl ::core::cmp::PartialEq for IFilterGraph3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterGraph3 {} -impl ::core::fmt::Debug for IFilterGraph3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterGraph3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterGraph3 { type Vtable = IFilterGraph3_Vtbl; } -impl ::core::clone::Clone for IFilterGraph3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterGraph3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaf38154_b80b_422f_91e6_b66467509a07); } @@ -12637,6 +9918,7 @@ pub struct IFilterGraph3_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFilterInfo { @@ -12685,30 +9967,10 @@ impl IFilterInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFilterInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFilterInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFilterInfo { type Vtable = IFilterInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868ba_0ad4_11ce_b03a_0020af0ba770); } @@ -12734,6 +9996,7 @@ pub struct IFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterMapper(::windows_core::IUnknown); impl IFilterMapper { pub unsafe fn RegisterFilter(&self, clsid: ::windows_core::GUID, name: P0, dwmerit: u32) -> ::windows_core::Result<()> @@ -12792,25 +10055,9 @@ impl IFilterMapper { } } ::windows_core::imp::interface_hierarchy!(IFilterMapper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterMapper {} -impl ::core::fmt::Debug for IFilterMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterMapper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterMapper { type Vtable = IFilterMapper_Vtbl; } -impl ::core::clone::Clone for IFilterMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a3_0ad4_11ce_b03a_0020af0ba770); } @@ -12835,6 +10082,7 @@ pub struct IFilterMapper_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterMapper2(::windows_core::IUnknown); impl IFilterMapper2 { pub unsafe fn CreateCategory(&self, clsidcategory: *const ::windows_core::GUID, dwcategorymerit: u32, description: P0) -> ::windows_core::Result<()> @@ -12889,25 +10137,9 @@ impl IFilterMapper2 { } } ::windows_core::imp::interface_hierarchy!(IFilterMapper2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterMapper2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterMapper2 {} -impl ::core::fmt::Debug for IFilterMapper2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterMapper2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterMapper2 { type Vtable = IFilterMapper2_Vtbl; } -impl ::core::clone::Clone for IFilterMapper2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterMapper2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb79bb0b0_33c1_11d1_abe1_00a0c905f375); } @@ -12928,6 +10160,7 @@ pub struct IFilterMapper2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterMapper3(::windows_core::IUnknown); impl IFilterMapper3 { pub unsafe fn CreateCategory(&self, clsidcategory: *const ::windows_core::GUID, dwcategorymerit: u32, description: P0) -> ::windows_core::Result<()> @@ -12986,25 +10219,9 @@ impl IFilterMapper3 { } } ::windows_core::imp::interface_hierarchy!(IFilterMapper3, ::windows_core::IUnknown, IFilterMapper2); -impl ::core::cmp::PartialEq for IFilterMapper3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterMapper3 {} -impl ::core::fmt::Debug for IFilterMapper3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterMapper3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterMapper3 { type Vtable = IFilterMapper3_Vtbl; } -impl ::core::clone::Clone for IFilterMapper3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterMapper3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb79bb0b1_33c1_11d1_abe1_00a0c905f375); } @@ -13016,6 +10233,7 @@ pub struct IFilterMapper3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrequencyMap(::windows_core::IUnknown); impl IFrequencyMap { pub unsafe fn get_FrequencyMapping(&self, ulcount: *mut u32, ppullist: *mut *mut u32) -> ::windows_core::Result<()> { @@ -13039,25 +10257,9 @@ impl IFrequencyMap { } } ::windows_core::imp::interface_hierarchy!(IFrequencyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFrequencyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFrequencyMap {} -impl ::core::fmt::Debug for IFrequencyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFrequencyMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFrequencyMap { type Vtable = IFrequencyMap_Vtbl; } -impl ::core::clone::Clone for IFrequencyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrequencyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06fb45c1_693c_4ea7_b79f_7a6a54d8def2); } @@ -13074,6 +10276,7 @@ pub struct IFrequencyMap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullScreenVideo(::windows_core::IUnknown); impl IFullScreenVideo { pub unsafe fn CountModes(&self) -> ::windows_core::Result { @@ -13145,25 +10348,9 @@ impl IFullScreenVideo { } } ::windows_core::imp::interface_hierarchy!(IFullScreenVideo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFullScreenVideo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFullScreenVideo {} -impl ::core::fmt::Debug for IFullScreenVideo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFullScreenVideo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFullScreenVideo { type Vtable = IFullScreenVideo_Vtbl; } -impl ::core::clone::Clone for IFullScreenVideo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullScreenVideo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd1d7110_7836_11cf_bf47_00aa0055595a); } @@ -13197,6 +10384,7 @@ pub struct IFullScreenVideo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFullScreenVideoEx(::windows_core::IUnknown); impl IFullScreenVideoEx { pub unsafe fn CountModes(&self) -> ::windows_core::Result { @@ -13289,25 +10477,9 @@ impl IFullScreenVideoEx { } } ::windows_core::imp::interface_hierarchy!(IFullScreenVideoEx, ::windows_core::IUnknown, IFullScreenVideo); -impl ::core::cmp::PartialEq for IFullScreenVideoEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFullScreenVideoEx {} -impl ::core::fmt::Debug for IFullScreenVideoEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFullScreenVideoEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFullScreenVideoEx { type Vtable = IFullScreenVideoEx_Vtbl; } -impl ::core::clone::Clone for IFullScreenVideoEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFullScreenVideoEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53479470_f1dd_11cf_bc42_00aa00ac74f6); } @@ -13328,6 +10500,7 @@ pub struct IFullScreenVideoEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetCapabilitiesKey(::windows_core::IUnknown); impl IGetCapabilitiesKey { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -13338,25 +10511,9 @@ impl IGetCapabilitiesKey { } } ::windows_core::imp::interface_hierarchy!(IGetCapabilitiesKey, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetCapabilitiesKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetCapabilitiesKey {} -impl ::core::fmt::Debug for IGetCapabilitiesKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetCapabilitiesKey").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetCapabilitiesKey { type Vtable = IGetCapabilitiesKey_Vtbl; } -impl ::core::clone::Clone for IGetCapabilitiesKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetCapabilitiesKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8809222_07bb_48ea_951c_33158100625b); } @@ -13371,6 +10528,7 @@ pub struct IGetCapabilitiesKey_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphBuilder(::windows_core::IUnknown); impl IGraphBuilder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -13468,25 +10626,9 @@ impl IGraphBuilder { } } ::windows_core::imp::interface_hierarchy!(IGraphBuilder, ::windows_core::IUnknown, IFilterGraph); -impl ::core::cmp::PartialEq for IGraphBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphBuilder {} -impl ::core::fmt::Debug for IGraphBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphBuilder { type Vtable = IGraphBuilder_Vtbl; } -impl ::core::clone::Clone for IGraphBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a9_0ad4_11ce_b03a_0020af0ba770); } @@ -13507,6 +10649,7 @@ pub struct IGraphBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphConfig(::windows_core::IUnknown); impl IGraphConfig { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`*"] @@ -13590,25 +10733,9 @@ impl IGraphConfig { } } ::windows_core::imp::interface_hierarchy!(IGraphConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGraphConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphConfig {} -impl ::core::fmt::Debug for IGraphConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphConfig { type Vtable = IGraphConfig_Vtbl; } -impl ::core::clone::Clone for IGraphConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03a1eb8e_32bf_4245_8502_114d08a9cb88); } @@ -13653,6 +10780,7 @@ pub struct IGraphConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphConfigCallback(::windows_core::IUnknown); impl IGraphConfigCallback { pub unsafe fn Reconfigure(&self, pvcontext: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_core::Result<()> { @@ -13660,25 +10788,9 @@ impl IGraphConfigCallback { } } ::windows_core::imp::interface_hierarchy!(IGraphConfigCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGraphConfigCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphConfigCallback {} -impl ::core::fmt::Debug for IGraphConfigCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphConfigCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphConfigCallback { type Vtable = IGraphConfigCallback_Vtbl; } -impl ::core::clone::Clone for IGraphConfigCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphConfigCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xade0fd60_d19d_11d2_abf6_00a0c905f375); } @@ -13690,6 +10802,7 @@ pub struct IGraphConfigCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphVersion(::windows_core::IUnknown); impl IGraphVersion { pub unsafe fn QueryVersion(&self) -> ::windows_core::Result { @@ -13698,25 +10811,9 @@ impl IGraphVersion { } } ::windows_core::imp::interface_hierarchy!(IGraphVersion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGraphVersion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphVersion {} -impl ::core::fmt::Debug for IGraphVersion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphVersion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphVersion { type Vtable = IGraphVersion_Vtbl; } -impl ::core::clone::Clone for IGraphVersion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphVersion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868ab_0ad4_11ce_b03a_0020af0ba770); } @@ -13728,6 +10825,7 @@ pub struct IGraphVersion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIPDVDec(::windows_core::IUnknown); impl IIPDVDec { pub unsafe fn IPDisplay(&self) -> ::windows_core::Result { @@ -13739,25 +10837,9 @@ impl IIPDVDec { } } ::windows_core::imp::interface_hierarchy!(IIPDVDec, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIPDVDec { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIPDVDec {} -impl ::core::fmt::Debug for IIPDVDec { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIPDVDec").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIPDVDec { type Vtable = IIPDVDec_Vtbl; } -impl ::core::clone::Clone for IIPDVDec { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIPDVDec { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8e8bd60_0bfe_11d0_af91_00aa00b67a42); } @@ -13770,6 +10852,7 @@ pub struct IIPDVDec_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2PIDMap(::windows_core::IUnknown); impl IMPEG2PIDMap { pub unsafe fn MapPID(&self, culpid: u32, pulpid: *const u32, mediasamplecontent: MEDIA_SAMPLE_CONTENT) -> ::windows_core::Result<()> { @@ -13784,25 +10867,9 @@ impl IMPEG2PIDMap { } } ::windows_core::imp::interface_hierarchy!(IMPEG2PIDMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMPEG2PIDMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMPEG2PIDMap {} -impl ::core::fmt::Debug for IMPEG2PIDMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2PIDMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMPEG2PIDMap { type Vtable = IMPEG2PIDMap_Vtbl; } -impl ::core::clone::Clone for IMPEG2PIDMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMPEG2PIDMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafb6c2a1_2c41_11d3_8a60_0000f81e0e4a); } @@ -13816,6 +10883,7 @@ pub struct IMPEG2PIDMap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMPEG2StreamIdMap(::windows_core::IUnknown); impl IMPEG2StreamIdMap { pub unsafe fn MapStreamId(&self, ulstreamid: u32, mediasamplecontent: u32, ulsubstreamfiltervalue: u32, idataoffset: i32) -> ::windows_core::Result<()> { @@ -13830,25 +10898,9 @@ impl IMPEG2StreamIdMap { } } ::windows_core::imp::interface_hierarchy!(IMPEG2StreamIdMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMPEG2StreamIdMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMPEG2StreamIdMap {} -impl ::core::fmt::Debug for IMPEG2StreamIdMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMPEG2StreamIdMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMPEG2StreamIdMap { type Vtable = IMPEG2StreamIdMap_Vtbl; } -impl ::core::clone::Clone for IMPEG2StreamIdMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMPEG2StreamIdMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0e04c47_25b8_4369_925a_362a01d95444); } @@ -13863,6 +10915,7 @@ pub struct IMPEG2StreamIdMap_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaControl { @@ -13913,30 +10966,10 @@ impl IMediaControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaControl { type Vtable = IMediaControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b1_0ad4_11ce_b03a_0020af0ba770); } @@ -13967,6 +11000,7 @@ pub struct IMediaControl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaEvent { @@ -13994,30 +11028,10 @@ impl IMediaEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaEvent, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaEvent { type Vtable = IMediaEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b6_0ad4_11ce_b03a_0020af0ba770); } @@ -14036,6 +11050,7 @@ pub struct IMediaEvent_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEventEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaEventEx { @@ -14073,30 +11088,10 @@ impl IMediaEventEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaEventEx, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IMediaEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaEventEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaEventEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaEventEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaEventEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaEventEx { type Vtable = IMediaEventEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaEventEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaEventEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868c0_0ad4_11ce_b03a_0020af0ba770); } @@ -14111,6 +11106,7 @@ pub struct IMediaEventEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaEventSink(::windows_core::IUnknown); impl IMediaEventSink { pub unsafe fn Notify(&self, eventcode: i32, eventparam1: isize, eventparam2: isize) -> ::windows_core::Result<()> { @@ -14118,25 +11114,9 @@ impl IMediaEventSink { } } ::windows_core::imp::interface_hierarchy!(IMediaEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaEventSink {} -impl ::core::fmt::Debug for IMediaEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaEventSink { type Vtable = IMediaEventSink_Vtbl; } -impl ::core::clone::Clone for IMediaEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a2_0ad4_11ce_b03a_0020af0ba770); } @@ -14149,6 +11129,7 @@ pub struct IMediaEventSink_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaFilter { @@ -14185,30 +11166,10 @@ impl IMediaFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaFilter, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaFilter { type Vtable = IMediaFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86899_0ad4_11ce_b03a_0020af0ba770); } @@ -14226,6 +11187,7 @@ pub struct IMediaFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaParamInfo(::windows_core::IUnknown); impl IMediaParamInfo { pub unsafe fn GetParamCount(&self) -> ::windows_core::Result { @@ -14252,25 +11214,9 @@ impl IMediaParamInfo { } } ::windows_core::imp::interface_hierarchy!(IMediaParamInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaParamInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaParamInfo {} -impl ::core::fmt::Debug for IMediaParamInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaParamInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaParamInfo { type Vtable = IMediaParamInfo_Vtbl; } -impl ::core::clone::Clone for IMediaParamInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaParamInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d6cbb60_a223_44aa_842f_a2f06750be6d); } @@ -14287,6 +11233,7 @@ pub struct IMediaParamInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaParams(::windows_core::IUnknown); impl IMediaParams { pub unsafe fn GetParam(&self, dwparamindex: u32) -> ::windows_core::Result { @@ -14307,25 +11254,9 @@ impl IMediaParams { } } ::windows_core::imp::interface_hierarchy!(IMediaParams, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaParams { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaParams {} -impl ::core::fmt::Debug for IMediaParams { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaParams").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaParams { type Vtable = IMediaParams_Vtbl; } -impl ::core::clone::Clone for IMediaParams { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaParams { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d6cbb61_a223_44aa_842f_a2f06750be6e); } @@ -14342,6 +11273,7 @@ pub struct IMediaParams_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPosition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaPosition { @@ -14389,30 +11321,10 @@ impl IMediaPosition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaPosition, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaPosition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaPosition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaPosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaPosition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaPosition { type Vtable = IMediaPosition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaPosition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaPosition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b2_0ad4_11ce_b03a_0020af0ba770); } @@ -14436,6 +11348,7 @@ pub struct IMediaPosition_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaPropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl IMediaPropertyBag { @@ -14465,30 +11378,10 @@ impl IMediaPropertyBag { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(IMediaPropertyBag, ::windows_core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for IMediaPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for IMediaPropertyBag {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for IMediaPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaPropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for IMediaPropertyBag { type Vtable = IMediaPropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for IMediaPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for IMediaPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6025a880_c0d5_11d0_bd4e_00a0c911ce86); } @@ -14504,6 +11397,7 @@ pub struct IMediaPropertyBag_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSample(::windows_core::IUnknown); impl IMediaSample { pub unsafe fn GetPointer(&self) -> ::windows_core::Result<*mut u8> { @@ -14572,30 +11466,14 @@ impl IMediaSample { pub unsafe fn GetMediaTime(&self, ptimestart: *mut i64, ptimeend: *mut i64) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetMediaTime)(::windows_core::Interface::as_raw(self), ptimestart, ptimeend).ok() } - pub unsafe fn SetMediaTime(&self, ptimestart: ::core::option::Option<*const i64>, ptimeend: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).SetMediaTime)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ptimestart.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptimeend.unwrap_or(::std::ptr::null()))).ok() - } -} -::windows_core::imp::interface_hierarchy!(IMediaSample, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaSample {} -impl ::core::fmt::Debug for IMediaSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaSample").field(&self.0).finish() + pub unsafe fn SetMediaTime(&self, ptimestart: ::core::option::Option<*const i64>, ptimeend: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetMediaTime)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ptimestart.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ptimeend.unwrap_or(::std::ptr::null()))).ok() } } +::windows_core::imp::interface_hierarchy!(IMediaSample, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMediaSample { type Vtable = IMediaSample_Vtbl; } -impl ::core::clone::Clone for IMediaSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a8689a_0ad4_11ce_b03a_0020af0ba770); } @@ -14637,6 +11515,7 @@ pub struct IMediaSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSample2(::windows_core::IUnknown); impl IMediaSample2 { pub unsafe fn GetPointer(&self) -> ::windows_core::Result<*mut u8> { @@ -14716,25 +11595,9 @@ impl IMediaSample2 { } } ::windows_core::imp::interface_hierarchy!(IMediaSample2, ::windows_core::IUnknown, IMediaSample); -impl ::core::cmp::PartialEq for IMediaSample2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaSample2 {} -impl ::core::fmt::Debug for IMediaSample2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaSample2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaSample2 { type Vtable = IMediaSample2_Vtbl; } -impl ::core::clone::Clone for IMediaSample2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSample2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73884_c2c8_11cf_8b46_00805f6cef60); } @@ -14747,6 +11610,7 @@ pub struct IMediaSample2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSample2Config(::windows_core::IUnknown); impl IMediaSample2Config { pub unsafe fn GetSurface(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -14755,25 +11619,9 @@ impl IMediaSample2Config { } } ::windows_core::imp::interface_hierarchy!(IMediaSample2Config, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaSample2Config { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaSample2Config {} -impl ::core::fmt::Debug for IMediaSample2Config { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaSample2Config").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaSample2Config { type Vtable = IMediaSample2Config_Vtbl; } -impl ::core::clone::Clone for IMediaSample2Config { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSample2Config { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68961e68_832b_41ea_bc91_63593f3e70e3); } @@ -14785,6 +11633,7 @@ pub struct IMediaSample2Config_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaSeeking(::windows_core::IUnknown); impl IMediaSeeking { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -14848,25 +11697,9 @@ impl IMediaSeeking { } } ::windows_core::imp::interface_hierarchy!(IMediaSeeking, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaSeeking { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaSeeking {} -impl ::core::fmt::Debug for IMediaSeeking { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaSeeking").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaSeeking { type Vtable = IMediaSeeking_Vtbl; } -impl ::core::clone::Clone for IMediaSeeking { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaSeeking { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73880_c2c8_11cf_8b46_00805f6cef60); } @@ -14894,6 +11727,7 @@ pub struct IMediaSeeking_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStream(::windows_core::IUnknown); impl IMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> ::windows_core::Result { @@ -14925,25 +11759,9 @@ impl IMediaStream { } } ::windows_core::imp::interface_hierarchy!(IMediaStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaStream {} -impl ::core::fmt::Debug for IMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaStream { type Vtable = IMediaStream_Vtbl; } -impl ::core::clone::Clone for IMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb502d1bd_9a57_11d0_8fde_00c04fd9189d); } @@ -14961,6 +11779,7 @@ pub struct IMediaStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaStreamFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaStreamFilter { @@ -15065,30 +11884,10 @@ impl IMediaStreamFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaStreamFilter, ::windows_core::IUnknown, super::super::System::Com::IPersist, IMediaFilter, IBaseFilter); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaStreamFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaStreamFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaStreamFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaStreamFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaStreamFilter { type Vtable = IMediaStreamFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaStreamFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaStreamFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbebe595e_9a6f_11d0_8fde_00c04fd9189d); } @@ -15116,6 +11915,7 @@ pub struct IMediaStreamFilter_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaTypeInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMediaTypeInfo { @@ -15131,30 +11931,10 @@ impl IMediaTypeInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMediaTypeInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMediaTypeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMediaTypeInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMediaTypeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaTypeInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMediaTypeInfo { type Vtable = IMediaTypeInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMediaTypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMediaTypeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868bc_0ad4_11ce_b03a_0020af0ba770); } @@ -15168,6 +11948,7 @@ pub struct IMediaTypeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemAllocator(::windows_core::IUnknown); impl IMemAllocator { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> ::windows_core::Result { @@ -15195,25 +11976,9 @@ impl IMemAllocator { } } ::windows_core::imp::interface_hierarchy!(IMemAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMemAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemAllocator {} -impl ::core::fmt::Debug for IMemAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemAllocator { type Vtable = IMemAllocator_Vtbl; } -impl ::core::clone::Clone for IMemAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a8689c_0ad4_11ce_b03a_0020af0ba770); } @@ -15230,6 +11995,7 @@ pub struct IMemAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemAllocatorCallbackTemp(::windows_core::IUnknown); impl IMemAllocatorCallbackTemp { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> ::windows_core::Result { @@ -15267,25 +12033,9 @@ impl IMemAllocatorCallbackTemp { } } ::windows_core::imp::interface_hierarchy!(IMemAllocatorCallbackTemp, ::windows_core::IUnknown, IMemAllocator); -impl ::core::cmp::PartialEq for IMemAllocatorCallbackTemp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemAllocatorCallbackTemp {} -impl ::core::fmt::Debug for IMemAllocatorCallbackTemp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemAllocatorCallbackTemp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemAllocatorCallbackTemp { type Vtable = IMemAllocatorCallbackTemp_Vtbl; } -impl ::core::clone::Clone for IMemAllocatorCallbackTemp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemAllocatorCallbackTemp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x379a0cf0_c1de_11d2_abf5_00a0c905f375); } @@ -15298,6 +12048,7 @@ pub struct IMemAllocatorCallbackTemp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemAllocatorNotifyCallbackTemp(::windows_core::IUnknown); impl IMemAllocatorNotifyCallbackTemp { pub unsafe fn NotifyRelease(&self) -> ::windows_core::Result<()> { @@ -15305,25 +12056,9 @@ impl IMemAllocatorNotifyCallbackTemp { } } ::windows_core::imp::interface_hierarchy!(IMemAllocatorNotifyCallbackTemp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMemAllocatorNotifyCallbackTemp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemAllocatorNotifyCallbackTemp {} -impl ::core::fmt::Debug for IMemAllocatorNotifyCallbackTemp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemAllocatorNotifyCallbackTemp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemAllocatorNotifyCallbackTemp { type Vtable = IMemAllocatorNotifyCallbackTemp_Vtbl; } -impl ::core::clone::Clone for IMemAllocatorNotifyCallbackTemp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemAllocatorNotifyCallbackTemp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92980b30_c1de_11d2_abf5_00a0c905f375); } @@ -15335,6 +12070,7 @@ pub struct IMemAllocatorNotifyCallbackTemp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemInputPin(::windows_core::IUnknown); impl IMemInputPin { pub unsafe fn GetAllocator(&self) -> ::windows_core::Result { @@ -15369,25 +12105,9 @@ impl IMemInputPin { } } ::windows_core::imp::interface_hierarchy!(IMemInputPin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMemInputPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemInputPin {} -impl ::core::fmt::Debug for IMemInputPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemInputPin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemInputPin { type Vtable = IMemInputPin_Vtbl; } -impl ::core::clone::Clone for IMemInputPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemInputPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a8689d_0ad4_11ce_b03a_0020af0ba770); } @@ -15407,6 +12127,7 @@ pub struct IMemInputPin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryData(::windows_core::IUnknown); impl IMemoryData { pub unsafe fn SetBuffer(&self, cbsize: u32, pbdata: *const u8, dwflags: u32) -> ::windows_core::Result<()> { @@ -15420,25 +12141,9 @@ impl IMemoryData { } } ::windows_core::imp::interface_hierarchy!(IMemoryData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMemoryData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemoryData {} -impl ::core::fmt::Debug for IMemoryData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemoryData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemoryData { type Vtable = IMemoryData_Vtbl; } -impl ::core::clone::Clone for IMemoryData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x327fc560_af60_11d0_8212_00c04fc32c45); } @@ -15452,6 +12157,7 @@ pub struct IMemoryData_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMixerOCX(::windows_core::IUnknown); impl IMixerOCX { pub unsafe fn OnDisplayChange(&self, ulbitsperpixel: u32, ulscreenwidth: u32, ulscreenheight: u32) -> ::windows_core::Result<()> { @@ -15491,25 +12197,9 @@ impl IMixerOCX { } } ::windows_core::imp::interface_hierarchy!(IMixerOCX, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMixerOCX { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMixerOCX {} -impl ::core::fmt::Debug for IMixerOCX { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMixerOCX").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMixerOCX { type Vtable = IMixerOCX_Vtbl; } -impl ::core::clone::Clone for IMixerOCX { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMixerOCX { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81a3bd32_dee1_11d1_8508_00a0c91f9ca0); } @@ -15534,6 +12224,7 @@ pub struct IMixerOCX_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMixerOCXNotify(::windows_core::IUnknown); impl IMixerOCXNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15549,25 +12240,9 @@ impl IMixerOCXNotify { } } ::windows_core::imp::interface_hierarchy!(IMixerOCXNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMixerOCXNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMixerOCXNotify {} -impl ::core::fmt::Debug for IMixerOCXNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMixerOCXNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMixerOCXNotify { type Vtable = IMixerOCXNotify_Vtbl; } -impl ::core::clone::Clone for IMixerOCXNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMixerOCXNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81a3bd31_dee1_11d1_8508_00a0c91f9ca0); } @@ -15584,6 +12259,7 @@ pub struct IMixerOCXNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMixerPinConfig(::windows_core::IUnknown); impl IMixerPinConfig { pub unsafe fn SetRelativePosition(&self, dwleft: u32, dwtop: u32, dwright: u32, dwbottom: u32) -> ::windows_core::Result<()> { @@ -15635,25 +12311,9 @@ impl IMixerPinConfig { } } ::windows_core::imp::interface_hierarchy!(IMixerPinConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMixerPinConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMixerPinConfig {} -impl ::core::fmt::Debug for IMixerPinConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMixerPinConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMixerPinConfig { type Vtable = IMixerPinConfig_Vtbl; } -impl ::core::clone::Clone for IMixerPinConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMixerPinConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x593cdde1_0759_11d1_9e69_00c04fd7c15b); } @@ -15688,6 +12348,7 @@ pub struct IMixerPinConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMixerPinConfig2(::windows_core::IUnknown); impl IMixerPinConfig2 { pub unsafe fn SetRelativePosition(&self, dwleft: u32, dwtop: u32, dwright: u32, dwbottom: u32) -> ::windows_core::Result<()> { @@ -15749,25 +12410,9 @@ impl IMixerPinConfig2 { } } ::windows_core::imp::interface_hierarchy!(IMixerPinConfig2, ::windows_core::IUnknown, IMixerPinConfig); -impl ::core::cmp::PartialEq for IMixerPinConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMixerPinConfig2 {} -impl ::core::fmt::Debug for IMixerPinConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMixerPinConfig2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMixerPinConfig2 { type Vtable = IMixerPinConfig2_Vtbl; } -impl ::core::clone::Clone for IMixerPinConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMixerPinConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebf47182_8764_11d1_9e69_00c04fd7c15b); } @@ -15786,6 +12431,7 @@ pub struct IMixerPinConfig2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpeg2Demultiplexer(::windows_core::IUnknown); impl IMpeg2Demultiplexer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -15813,25 +12459,9 @@ impl IMpeg2Demultiplexer { } } ::windows_core::imp::interface_hierarchy!(IMpeg2Demultiplexer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMpeg2Demultiplexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMpeg2Demultiplexer {} -impl ::core::fmt::Debug for IMpeg2Demultiplexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMpeg2Demultiplexer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMpeg2Demultiplexer { type Vtable = IMpeg2Demultiplexer_Vtbl; } -impl ::core::clone::Clone for IMpeg2Demultiplexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpeg2Demultiplexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x436eee9c_264f_4242_90e1_4e330c107512); } @@ -15851,6 +12481,7 @@ pub struct IMpeg2Demultiplexer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMpegAudioDecoder(::windows_core::IUnknown); impl IMpegAudioDecoder { pub unsafe fn FrequencyDivider(&self) -> ::windows_core::Result { @@ -15901,25 +12532,9 @@ impl IMpegAudioDecoder { } } ::windows_core::imp::interface_hierarchy!(IMpegAudioDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMpegAudioDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMpegAudioDecoder {} -impl ::core::fmt::Debug for IMpegAudioDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMpegAudioDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMpegAudioDecoder { type Vtable = IMpegAudioDecoder_Vtbl; } -impl ::core::clone::Clone for IMpegAudioDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMpegAudioDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb45dd570_3c77_11d1_abe1_00a0c905f375); } @@ -15946,6 +12561,7 @@ pub struct IMpegAudioDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiMediaStream(::windows_core::IUnknown); impl IMultiMediaStream { pub unsafe fn GetInformation(&self, pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS, pstreamtype: *mut STREAM_TYPE) -> ::windows_core::Result<()> { @@ -15985,25 +12601,9 @@ impl IMultiMediaStream { } } ::windows_core::imp::interface_hierarchy!(IMultiMediaStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiMediaStream {} -impl ::core::fmt::Debug for IMultiMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiMediaStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiMediaStream { type Vtable = IMultiMediaStream_Vtbl; } -impl ::core::clone::Clone for IMultiMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb502d1bc_9a57_11d0_8fde_00c04fd9189d); } @@ -16026,6 +12626,7 @@ pub struct IMultiMediaStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOverlay(::windows_core::IUnknown); impl IOverlay { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -16082,25 +12683,9 @@ impl IOverlay { } } ::windows_core::imp::interface_hierarchy!(IOverlay, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOverlay {} -impl ::core::fmt::Debug for IOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOverlay").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOverlay { type Vtable = IOverlay_Vtbl; } -impl ::core::clone::Clone for IOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOverlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a1_0ad4_11ce_b03a_0020af0ba770); } @@ -16145,6 +12730,7 @@ pub struct IOverlay_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOverlayNotify(::windows_core::IUnknown); impl IOverlayNotify { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -16169,25 +12755,9 @@ impl IOverlayNotify { } } ::windows_core::imp::interface_hierarchy!(IOverlayNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOverlayNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOverlayNotify {} -impl ::core::fmt::Debug for IOverlayNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOverlayNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOverlayNotify { type Vtable = IOverlayNotify_Vtbl; } -impl ::core::clone::Clone for IOverlayNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOverlayNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a0_0ad4_11ce_b03a_0020af0ba770); } @@ -16214,6 +12784,7 @@ pub struct IOverlayNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOverlayNotify2(::windows_core::IUnknown); impl IOverlayNotify2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -16246,25 +12817,9 @@ impl IOverlayNotify2 { } } ::windows_core::imp::interface_hierarchy!(IOverlayNotify2, ::windows_core::IUnknown, IOverlayNotify); -impl ::core::cmp::PartialEq for IOverlayNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOverlayNotify2 {} -impl ::core::fmt::Debug for IOverlayNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOverlayNotify2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOverlayNotify2 { type Vtable = IOverlayNotify2_Vtbl; } -impl ::core::clone::Clone for IOverlayNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOverlayNotify2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x680efa10_d535_11d1_87c8_00a0c9223196); } @@ -16280,6 +12835,7 @@ pub struct IOverlayNotify2_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistMediaPropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistMediaPropertyBag { @@ -16315,30 +12871,10 @@ impl IPersistMediaPropertyBag { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistMediaPropertyBag, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistMediaPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistMediaPropertyBag {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistMediaPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistMediaPropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistMediaPropertyBag { type Vtable = IPersistMediaPropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistMediaPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistMediaPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5738e040_b67f_11d0_bd4d_00a0c911ce86); } @@ -16359,6 +12895,7 @@ pub struct IPersistMediaPropertyBag_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPin(::windows_core::IUnknown); impl IPin { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -16428,25 +12965,9 @@ impl IPin { } } ::windows_core::imp::interface_hierarchy!(IPin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPin {} -impl ::core::fmt::Debug for IPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPin { type Vtable = IPin_Vtbl; } -impl ::core::clone::Clone for IPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86891_0ad4_11ce_b03a_0020af0ba770); } @@ -16487,6 +13008,7 @@ pub struct IPin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinConnection(::windows_core::IUnknown); impl IPinConnection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -16510,25 +13032,9 @@ impl IPinConnection { } } ::windows_core::imp::interface_hierarchy!(IPinConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPinConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPinConnection {} -impl ::core::fmt::Debug for IPinConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPinConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPinConnection { type Vtable = IPinConnection_Vtbl; } -impl ::core::clone::Clone for IPinConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a9a62d3_27d4_403d_91e9_89f540e55534); } @@ -16549,6 +13055,7 @@ pub struct IPinConnection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinFlowControl(::windows_core::IUnknown); impl IPinFlowControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -16561,25 +13068,9 @@ impl IPinFlowControl { } } ::windows_core::imp::interface_hierarchy!(IPinFlowControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPinFlowControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPinFlowControl {} -impl ::core::fmt::Debug for IPinFlowControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPinFlowControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPinFlowControl { type Vtable = IPinFlowControl_Vtbl; } -impl ::core::clone::Clone for IPinFlowControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPinFlowControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc56e9858_dbf3_4f6b_8119_384af2060deb); } @@ -16595,6 +13086,7 @@ pub struct IPinFlowControl_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPinInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPinInfo { @@ -16669,30 +13161,10 @@ impl IPinInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPinInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPinInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPinInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPinInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPinInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPinInfo { type Vtable = IPinInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPinInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPinInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868bd_0ad4_11ce_b03a_0020af0ba770); } @@ -16732,6 +13204,7 @@ pub struct IPinInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQualProp(::windows_core::IUnknown); impl IQualProp { pub unsafe fn FramesDroppedInRenderer(&self) -> ::windows_core::Result { @@ -16760,25 +13233,9 @@ impl IQualProp { } } ::windows_core::imp::interface_hierarchy!(IQualProp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQualProp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQualProp {} -impl ::core::fmt::Debug for IQualProp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQualProp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQualProp { type Vtable = IQualProp_Vtbl; } -impl ::core::clone::Clone for IQualProp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQualProp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bd0ecb0_f8e2_11ce_aac6_0020af0b99a3); } @@ -16795,6 +13252,7 @@ pub struct IQualProp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQualityControl(::windows_core::IUnknown); impl IQualityControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -16813,25 +13271,9 @@ impl IQualityControl { } } ::windows_core::imp::interface_hierarchy!(IQualityControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQualityControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQualityControl {} -impl ::core::fmt::Debug for IQualityControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQualityControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQualityControl { type Vtable = IQualityControl_Vtbl; } -impl ::core::clone::Clone for IQualityControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQualityControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868a5_0ad4_11ce_b03a_0020af0ba770); } @@ -16847,6 +13289,7 @@ pub struct IQualityControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueueCommand(::windows_core::IUnknown); impl IQueueCommand { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -16861,25 +13304,9 @@ impl IQueueCommand { } } ::windows_core::imp::interface_hierarchy!(IQueueCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueueCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueueCommand {} -impl ::core::fmt::Debug for IQueueCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueueCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueueCommand { type Vtable = IQueueCommand_Vtbl; } -impl ::core::clone::Clone for IQueueCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueueCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b7_0ad4_11ce_b03a_0020af0ba770); } @@ -16899,6 +13326,7 @@ pub struct IQueueCommand_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegFilterInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegFilterInfo { @@ -16916,30 +13344,10 @@ impl IRegFilterInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRegFilterInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRegFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRegFilterInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRegFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegFilterInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRegFilterInfo { type Vtable = IRegFilterInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRegFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRegFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868bb_0ad4_11ce_b03a_0020af0ba770); } @@ -16956,6 +13364,7 @@ pub struct IRegFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisterServiceProvider(::windows_core::IUnknown); impl IRegisterServiceProvider { pub unsafe fn RegisterService(&self, guidservice: *const ::windows_core::GUID, punkobject: P0) -> ::windows_core::Result<()> @@ -16966,25 +13375,9 @@ impl IRegisterServiceProvider { } } ::windows_core::imp::interface_hierarchy!(IRegisterServiceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRegisterServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRegisterServiceProvider {} -impl ::core::fmt::Debug for IRegisterServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisterServiceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRegisterServiceProvider { type Vtable = IRegisterServiceProvider_Vtbl; } -impl ::core::clone::Clone for IRegisterServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisterServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b3a2f01_0751_48dd_b556_004785171c54); } @@ -16996,6 +13389,7 @@ pub struct IRegisterServiceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceConsumer(::windows_core::IUnknown); impl IResourceConsumer { pub unsafe fn AcquireResource(&self, idresource: i32) -> ::windows_core::Result<()> { @@ -17006,25 +13400,9 @@ impl IResourceConsumer { } } ::windows_core::imp::interface_hierarchy!(IResourceConsumer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResourceConsumer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceConsumer {} -impl ::core::fmt::Debug for IResourceConsumer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceConsumer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceConsumer { type Vtable = IResourceConsumer_Vtbl; } -impl ::core::clone::Clone for IResourceConsumer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceConsumer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868ad_0ad4_11ce_b03a_0020af0ba770); } @@ -17037,6 +13415,7 @@ pub struct IResourceConsumer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManager(::windows_core::IUnknown); impl IResourceManager { pub unsafe fn Register(&self, pname: P0, cresource: i32) -> ::windows_core::Result @@ -17095,25 +13474,9 @@ impl IResourceManager { } } ::windows_core::imp::interface_hierarchy!(IResourceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResourceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManager {} -impl ::core::fmt::Debug for IResourceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManager { type Vtable = IResourceManager_Vtbl; } -impl ::core::clone::Clone for IResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868ac_0ad4_11ce_b03a_0020af0ba770); } @@ -17135,6 +13498,7 @@ pub struct IResourceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISeekingPassThru(::windows_core::IUnknown); impl ISeekingPassThru { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17148,25 +13512,9 @@ impl ISeekingPassThru { } } ::windows_core::imp::interface_hierarchy!(ISeekingPassThru, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISeekingPassThru { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISeekingPassThru {} -impl ::core::fmt::Debug for ISeekingPassThru { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISeekingPassThru").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISeekingPassThru { type Vtable = ISeekingPassThru_Vtbl; } -impl ::core::clone::Clone for ISeekingPassThru { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISeekingPassThru { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73883_c2c8_11cf_8b46_00805f6cef60); } @@ -17181,6 +13529,7 @@ pub struct ISeekingPassThru_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelector(::windows_core::IUnknown); impl ISelector { pub unsafe fn NumSources(&self) -> ::windows_core::Result { @@ -17196,25 +13545,9 @@ impl ISelector { } } ::windows_core::imp::interface_hierarchy!(ISelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelector {} -impl ::core::fmt::Debug for ISelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISelector { type Vtable = ISelector_Vtbl; } -impl ::core::clone::Clone for ISelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1abdaeca_68b6_4f83_9371_b413907c7b9f); } @@ -17228,6 +13561,7 @@ pub struct ISelector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpecifyParticularPages(::windows_core::IUnknown); impl ISpecifyParticularPages { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -17238,25 +13572,9 @@ impl ISpecifyParticularPages { } } ::windows_core::imp::interface_hierarchy!(ISpecifyParticularPages, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpecifyParticularPages { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpecifyParticularPages {} -impl ::core::fmt::Debug for ISpecifyParticularPages { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpecifyParticularPages").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpecifyParticularPages { type Vtable = ISpecifyParticularPages_Vtbl; } -impl ::core::clone::Clone for ISpecifyParticularPages { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpecifyParticularPages { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c437b91_6e9e_11d1_a704_006097c4e476); } @@ -17271,6 +13589,7 @@ pub struct ISpecifyParticularPages_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamBuilder(::windows_core::IUnknown); impl IStreamBuilder { pub unsafe fn Render(&self, ppinout: P0, pgraph: P1) -> ::windows_core::Result<()> @@ -17289,25 +13608,9 @@ impl IStreamBuilder { } } ::windows_core::imp::interface_hierarchy!(IStreamBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamBuilder {} -impl ::core::fmt::Debug for IStreamBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamBuilder { type Vtable = IStreamBuilder_Vtbl; } -impl ::core::clone::Clone for IStreamBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868bf_0ad4_11ce_b03a_0020af0ba770); } @@ -17320,6 +13623,7 @@ pub struct IStreamBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamSample(::windows_core::IUnknown); impl IStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const ::core::option::Option) -> ::windows_core::Result<()> { @@ -17344,25 +13648,9 @@ impl IStreamSample { } } ::windows_core::imp::interface_hierarchy!(IStreamSample, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamSample {} -impl ::core::fmt::Debug for IStreamSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamSample { type Vtable = IStreamSample_Vtbl; } -impl ::core::clone::Clone for IStreamSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb502d1be_9a57_11d0_8fde_00c04fd9189d); } @@ -17381,6 +13669,7 @@ pub struct IStreamSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRAspectRatioControl(::windows_core::IUnknown); impl IVMRAspectRatioControl { pub unsafe fn GetAspectRatioMode(&self) -> ::windows_core::Result { @@ -17392,25 +13681,9 @@ impl IVMRAspectRatioControl { } } ::windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRAspectRatioControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRAspectRatioControl {} -impl ::core::fmt::Debug for IVMRAspectRatioControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRAspectRatioControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRAspectRatioControl { type Vtable = IVMRAspectRatioControl_Vtbl; } -impl ::core::clone::Clone for IVMRAspectRatioControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRAspectRatioControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xede80b5c_bad6_4623_b537_65586c9f8dfd); } @@ -17423,6 +13696,7 @@ pub struct IVMRAspectRatioControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRAspectRatioControl9(::windows_core::IUnknown); impl IVMRAspectRatioControl9 { pub unsafe fn GetAspectRatioMode(&self) -> ::windows_core::Result { @@ -17434,25 +13708,9 @@ impl IVMRAspectRatioControl9 { } } ::windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRAspectRatioControl9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRAspectRatioControl9 {} -impl ::core::fmt::Debug for IVMRAspectRatioControl9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRAspectRatioControl9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRAspectRatioControl9 { type Vtable = IVMRAspectRatioControl9_Vtbl; } -impl ::core::clone::Clone for IVMRAspectRatioControl9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRAspectRatioControl9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00d96c29_bbde_4efc_9901_bb5036392146); } @@ -17465,6 +13723,7 @@ pub struct IVMRAspectRatioControl9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRDeinterlaceControl(::windows_core::IUnknown); impl IVMRDeinterlaceControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17497,25 +13756,9 @@ impl IVMRDeinterlaceControl { } } ::windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRDeinterlaceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRDeinterlaceControl {} -impl ::core::fmt::Debug for IVMRDeinterlaceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRDeinterlaceControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRDeinterlaceControl { type Vtable = IVMRDeinterlaceControl_Vtbl; } -impl ::core::clone::Clone for IVMRDeinterlaceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRDeinterlaceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb057577_0db8_4e6a_87a7_1a8c9a505a0f); } @@ -17539,6 +13782,7 @@ pub struct IVMRDeinterlaceControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRDeinterlaceControl9(::windows_core::IUnknown); impl IVMRDeinterlaceControl9 { pub unsafe fn GetNumberOfDeinterlaceModes(&self, lpvideodescription: *const VMR9VideoDesc, lpdwnumdeinterlacemodes: *mut u32, lpdeinterlacemodes: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -17567,25 +13811,9 @@ impl IVMRDeinterlaceControl9 { } } ::windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRDeinterlaceControl9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRDeinterlaceControl9 {} -impl ::core::fmt::Debug for IVMRDeinterlaceControl9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRDeinterlaceControl9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRDeinterlaceControl9 { type Vtable = IVMRDeinterlaceControl9_Vtbl; } -impl ::core::clone::Clone for IVMRDeinterlaceControl9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRDeinterlaceControl9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa215fb8d_13c2_4f7f_993c_003d6271a459); } @@ -17603,6 +13831,7 @@ pub struct IVMRDeinterlaceControl9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRFilterConfig(::windows_core::IUnknown); impl IVMRFilterConfig { pub unsafe fn SetImageCompositor(&self, lpvmrimgcompositor: P0) -> ::windows_core::Result<()> @@ -17634,25 +13863,9 @@ impl IVMRFilterConfig { } } ::windows_core::imp::interface_hierarchy!(IVMRFilterConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRFilterConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRFilterConfig {} -impl ::core::fmt::Debug for IVMRFilterConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRFilterConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRFilterConfig { type Vtable = IVMRFilterConfig_Vtbl; } -impl ::core::clone::Clone for IVMRFilterConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRFilterConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e5530c5_7034_48b4_bb46_0b8a6efc8e36); } @@ -17670,6 +13883,7 @@ pub struct IVMRFilterConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRFilterConfig9(::windows_core::IUnknown); impl IVMRFilterConfig9 { pub unsafe fn SetImageCompositor(&self, lpvmrimgcompositor: P0) -> ::windows_core::Result<()> @@ -17701,25 +13915,9 @@ impl IVMRFilterConfig9 { } } ::windows_core::imp::interface_hierarchy!(IVMRFilterConfig9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRFilterConfig9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRFilterConfig9 {} -impl ::core::fmt::Debug for IVMRFilterConfig9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRFilterConfig9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRFilterConfig9 { type Vtable = IVMRFilterConfig9_Vtbl; } -impl ::core::clone::Clone for IVMRFilterConfig9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRFilterConfig9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a804648_4f66_4867_9c43_4f5c822cf1b8); } @@ -17737,6 +13935,7 @@ pub struct IVMRFilterConfig9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImageCompositor(::windows_core::IUnknown); impl IVMRImageCompositor { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -17776,25 +13975,9 @@ impl IVMRImageCompositor { } } ::windows_core::imp::interface_hierarchy!(IVMRImageCompositor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImageCompositor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImageCompositor {} -impl ::core::fmt::Debug for IVMRImageCompositor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImageCompositor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImageCompositor { type Vtable = IVMRImageCompositor_Vtbl; } -impl ::core::clone::Clone for IVMRImageCompositor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImageCompositor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a4fb5af_479f_4074_bb40_ce6722e43c82); } @@ -17821,6 +14004,7 @@ pub struct IVMRImageCompositor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImageCompositor9(::windows_core::IUnknown); impl IVMRImageCompositor9 { pub unsafe fn InitCompositionDevice(&self, pd3ddevice: P0) -> ::windows_core::Result<()> @@ -17854,25 +14038,9 @@ impl IVMRImageCompositor9 { } } ::windows_core::imp::interface_hierarchy!(IVMRImageCompositor9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImageCompositor9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImageCompositor9 {} -impl ::core::fmt::Debug for IVMRImageCompositor9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImageCompositor9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImageCompositor9 { type Vtable = IVMRImageCompositor9_Vtbl; } -impl ::core::clone::Clone for IVMRImageCompositor9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImageCompositor9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a5c89eb_df51_4654_ac2a_e48e02bbabf6); } @@ -17893,6 +14061,7 @@ pub struct IVMRImageCompositor9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImagePresenter(::windows_core::IUnknown); impl IVMRImagePresenter { pub unsafe fn StartPresenting(&self, dwuserid: usize) -> ::windows_core::Result<()> { @@ -17908,25 +14077,9 @@ impl IVMRImagePresenter { } } ::windows_core::imp::interface_hierarchy!(IVMRImagePresenter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImagePresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImagePresenter {} -impl ::core::fmt::Debug for IVMRImagePresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImagePresenter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImagePresenter { type Vtable = IVMRImagePresenter_Vtbl; } -impl ::core::clone::Clone for IVMRImagePresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImagePresenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce704fe7_e71e_41fb_baa2_c4403e1182f5); } @@ -17943,6 +14096,7 @@ pub struct IVMRImagePresenter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImagePresenter9(::windows_core::IUnknown); impl IVMRImagePresenter9 { pub unsafe fn StartPresenting(&self, dwuserid: usize) -> ::windows_core::Result<()> { @@ -17958,25 +14112,9 @@ impl IVMRImagePresenter9 { } } ::windows_core::imp::interface_hierarchy!(IVMRImagePresenter9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImagePresenter9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImagePresenter9 {} -impl ::core::fmt::Debug for IVMRImagePresenter9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImagePresenter9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImagePresenter9 { type Vtable = IVMRImagePresenter9_Vtbl; } -impl ::core::clone::Clone for IVMRImagePresenter9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImagePresenter9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69188c61_12a3_40f0_8ffc_342e7b433fd7); } @@ -17993,6 +14131,7 @@ pub struct IVMRImagePresenter9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImagePresenterConfig(::windows_core::IUnknown); impl IVMRImagePresenterConfig { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> ::windows_core::Result<()> { @@ -18004,25 +14143,9 @@ impl IVMRImagePresenterConfig { } } ::windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImagePresenterConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImagePresenterConfig {} -impl ::core::fmt::Debug for IVMRImagePresenterConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImagePresenterConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImagePresenterConfig { type Vtable = IVMRImagePresenterConfig_Vtbl; } -impl ::core::clone::Clone for IVMRImagePresenterConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImagePresenterConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f3a1c85_8555_49ba_935f_be5b5b29d178); } @@ -18035,6 +14158,7 @@ pub struct IVMRImagePresenterConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImagePresenterConfig9(::windows_core::IUnknown); impl IVMRImagePresenterConfig9 { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> ::windows_core::Result<()> { @@ -18046,25 +14170,9 @@ impl IVMRImagePresenterConfig9 { } } ::windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRImagePresenterConfig9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImagePresenterConfig9 {} -impl ::core::fmt::Debug for IVMRImagePresenterConfig9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImagePresenterConfig9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImagePresenterConfig9 { type Vtable = IVMRImagePresenterConfig9_Vtbl; } -impl ::core::clone::Clone for IVMRImagePresenterConfig9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImagePresenterConfig9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45c15cab_6e22_420a_8043_ae1f0ac02c7d); } @@ -18077,6 +14185,7 @@ pub struct IVMRImagePresenterConfig9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRImagePresenterExclModeConfig(::windows_core::IUnknown); impl IVMRImagePresenterExclModeConfig { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> ::windows_core::Result<()> { @@ -18102,25 +14211,9 @@ impl IVMRImagePresenterExclModeConfig { } } ::windows_core::imp::interface_hierarchy!(IVMRImagePresenterExclModeConfig, ::windows_core::IUnknown, IVMRImagePresenterConfig); -impl ::core::cmp::PartialEq for IVMRImagePresenterExclModeConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRImagePresenterExclModeConfig {} -impl ::core::fmt::Debug for IVMRImagePresenterExclModeConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRImagePresenterExclModeConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRImagePresenterExclModeConfig { type Vtable = IVMRImagePresenterExclModeConfig_Vtbl; } -impl ::core::clone::Clone for IVMRImagePresenterExclModeConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRImagePresenterExclModeConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6f7ce40_4673_44f1_8f77_5499d68cb4ea); } @@ -18139,6 +14232,7 @@ pub struct IVMRImagePresenterExclModeConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMixerBitmap(::windows_core::IUnknown); impl IVMRMixerBitmap { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -18158,25 +14252,9 @@ impl IVMRMixerBitmap { } } ::windows_core::imp::interface_hierarchy!(IVMRMixerBitmap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMixerBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMixerBitmap {} -impl ::core::fmt::Debug for IVMRMixerBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMixerBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMixerBitmap { type Vtable = IVMRMixerBitmap_Vtbl; } -impl ::core::clone::Clone for IVMRMixerBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMixerBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e673275_0257_40aa_af20_7c608d4a0428); } @@ -18199,6 +14277,7 @@ pub struct IVMRMixerBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMixerBitmap9(::windows_core::IUnknown); impl IVMRMixerBitmap9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -18218,25 +14297,9 @@ impl IVMRMixerBitmap9 { } } ::windows_core::imp::interface_hierarchy!(IVMRMixerBitmap9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMixerBitmap9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMixerBitmap9 {} -impl ::core::fmt::Debug for IVMRMixerBitmap9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMixerBitmap9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMixerBitmap9 { type Vtable = IVMRMixerBitmap9_Vtbl; } -impl ::core::clone::Clone for IVMRMixerBitmap9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMixerBitmap9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xced175e5_1935_4820_81bd_ff6ad00c9108); } @@ -18259,6 +14322,7 @@ pub struct IVMRMixerBitmap9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMixerControl(::windows_core::IUnknown); impl IVMRMixerControl { pub unsafe fn SetAlpha(&self, dwstreamid: u32, alpha: f32) -> ::windows_core::Result<()> { @@ -18304,25 +14368,9 @@ impl IVMRMixerControl { } } ::windows_core::imp::interface_hierarchy!(IVMRMixerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMixerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMixerControl {} -impl ::core::fmt::Debug for IVMRMixerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMixerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMixerControl { type Vtable = IVMRMixerControl_Vtbl; } -impl ::core::clone::Clone for IVMRMixerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMixerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c1a17b0_bed0_415d_974b_dc6696131599); } @@ -18349,6 +14397,7 @@ pub struct IVMRMixerControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMixerControl9(::windows_core::IUnknown); impl IVMRMixerControl9 { pub unsafe fn SetAlpha(&self, dwstreamid: u32, alpha: f32) -> ::windows_core::Result<()> { @@ -18403,25 +14452,9 @@ impl IVMRMixerControl9 { } } ::windows_core::imp::interface_hierarchy!(IVMRMixerControl9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMixerControl9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMixerControl9 {} -impl ::core::fmt::Debug for IVMRMixerControl9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMixerControl9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMixerControl9 { type Vtable = IVMRMixerControl9_Vtbl; } -impl ::core::clone::Clone for IVMRMixerControl9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMixerControl9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a777eaa_47c8_4930_b2c9_8fee1c1b0f3b); } @@ -18451,6 +14484,7 @@ pub struct IVMRMixerControl9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMonitorConfig(::windows_core::IUnknown); impl IVMRMonitorConfig { pub unsafe fn SetMonitor(&self, pguid: *const VMRGUID) -> ::windows_core::Result<()> { @@ -18472,25 +14506,9 @@ impl IVMRMonitorConfig { } } ::windows_core::imp::interface_hierarchy!(IVMRMonitorConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMonitorConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMonitorConfig {} -impl ::core::fmt::Debug for IVMRMonitorConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMonitorConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMonitorConfig { type Vtable = IVMRMonitorConfig_Vtbl; } -impl ::core::clone::Clone for IVMRMonitorConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMonitorConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cf0b1b6_fbaa_4b7f_88cf_cf1f130a0dce); } @@ -18509,6 +14527,7 @@ pub struct IVMRMonitorConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRMonitorConfig9(::windows_core::IUnknown); impl IVMRMonitorConfig9 { pub unsafe fn SetMonitor(&self, udev: u32) -> ::windows_core::Result<()> { @@ -18532,25 +14551,9 @@ impl IVMRMonitorConfig9 { } } ::windows_core::imp::interface_hierarchy!(IVMRMonitorConfig9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRMonitorConfig9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRMonitorConfig9 {} -impl ::core::fmt::Debug for IVMRMonitorConfig9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRMonitorConfig9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRMonitorConfig9 { type Vtable = IVMRMonitorConfig9_Vtbl; } -impl ::core::clone::Clone for IVMRMonitorConfig9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRMonitorConfig9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46c2e457_8ba0_4eef_b80b_0680f0978749); } @@ -18569,6 +14572,7 @@ pub struct IVMRMonitorConfig9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurface(::windows_core::IUnknown); impl IVMRSurface { pub unsafe fn IsSurfaceLocked(&self) -> ::windows_core::Result<()> { @@ -18589,25 +14593,9 @@ impl IVMRSurface { } } ::windows_core::imp::interface_hierarchy!(IVMRSurface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurface {} -impl ::core::fmt::Debug for IVMRSurface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurface { type Vtable = IVMRSurface_Vtbl; } -impl ::core::clone::Clone for IVMRSurface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9849bbe_9ec8_4263_b764_62730f0d15d0); } @@ -18625,6 +14613,7 @@ pub struct IVMRSurface_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurface9(::windows_core::IUnknown); impl IVMRSurface9 { pub unsafe fn IsSurfaceLocked(&self) -> ::windows_core::Result<()> { @@ -18645,25 +14634,9 @@ impl IVMRSurface9 { } } ::windows_core::imp::interface_hierarchy!(IVMRSurface9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurface9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurface9 {} -impl ::core::fmt::Debug for IVMRSurface9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurface9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurface9 { type Vtable = IVMRSurface9_Vtbl; } -impl ::core::clone::Clone for IVMRSurface9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurface9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfc581a1_6e1f_4c3a_8d0a_5e9792ea2afc); } @@ -18681,6 +14654,7 @@ pub struct IVMRSurface9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurfaceAllocator(::windows_core::IUnknown); impl IVMRSurfaceAllocator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -18707,25 +14681,9 @@ impl IVMRSurfaceAllocator { } } ::windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurfaceAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurfaceAllocator {} -impl ::core::fmt::Debug for IVMRSurfaceAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurfaceAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurfaceAllocator { type Vtable = IVMRSurfaceAllocator_Vtbl; } -impl ::core::clone::Clone for IVMRSurfaceAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurfaceAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31ce832e_4484_458b_8cca_f4d7e3db0b52); } @@ -18746,6 +14704,7 @@ pub struct IVMRSurfaceAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurfaceAllocator9(::windows_core::IUnknown); impl IVMRSurfaceAllocator9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -18770,25 +14729,9 @@ impl IVMRSurfaceAllocator9 { } } ::windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurfaceAllocator9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurfaceAllocator9 {} -impl ::core::fmt::Debug for IVMRSurfaceAllocator9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurfaceAllocator9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurfaceAllocator9 { type Vtable = IVMRSurfaceAllocator9_Vtbl; } -impl ::core::clone::Clone for IVMRSurfaceAllocator9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurfaceAllocator9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d5148ea_3f5d_46cf_9df1_d1b896eedb1f); } @@ -18809,6 +14752,7 @@ pub struct IVMRSurfaceAllocator9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurfaceAllocatorEx9(::windows_core::IUnknown); impl IVMRSurfaceAllocatorEx9 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -18838,25 +14782,9 @@ impl IVMRSurfaceAllocatorEx9 { } } ::windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorEx9, ::windows_core::IUnknown, IVMRSurfaceAllocator9); -impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorEx9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurfaceAllocatorEx9 {} -impl ::core::fmt::Debug for IVMRSurfaceAllocatorEx9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurfaceAllocatorEx9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurfaceAllocatorEx9 { type Vtable = IVMRSurfaceAllocatorEx9_Vtbl; } -impl ::core::clone::Clone for IVMRSurfaceAllocatorEx9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurfaceAllocatorEx9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6de9a68a_a928_4522_bf57_655ae3866456); } @@ -18871,6 +14799,7 @@ pub struct IVMRSurfaceAllocatorEx9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurfaceAllocatorNotify(::windows_core::IUnknown); impl IVMRSurfaceAllocatorNotify { pub unsafe fn AdviseSurfaceAllocator(&self, dwuserid: usize, lpivrmsurfaceallocator: P0) -> ::windows_core::Result<()> @@ -18913,25 +14842,9 @@ impl IVMRSurfaceAllocatorNotify { } } ::windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurfaceAllocatorNotify {} -impl ::core::fmt::Debug for IVMRSurfaceAllocatorNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurfaceAllocatorNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurfaceAllocatorNotify { type Vtable = IVMRSurfaceAllocatorNotify_Vtbl; } -impl ::core::clone::Clone for IVMRSurfaceAllocatorNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurfaceAllocatorNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaada05a8_5a4e_4729_af0b_cea27aed51e2); } @@ -18957,6 +14870,7 @@ pub struct IVMRSurfaceAllocatorNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRSurfaceAllocatorNotify9(::windows_core::IUnknown); impl IVMRSurfaceAllocatorNotify9 { pub unsafe fn AdviseSurfaceAllocator(&self, dwuserid: usize, lpivrmsurfaceallocator: P0) -> ::windows_core::Result<()> @@ -18993,25 +14907,9 @@ impl IVMRSurfaceAllocatorNotify9 { } } ::windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRSurfaceAllocatorNotify9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRSurfaceAllocatorNotify9 {} -impl ::core::fmt::Debug for IVMRSurfaceAllocatorNotify9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRSurfaceAllocatorNotify9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRSurfaceAllocatorNotify9 { type Vtable = IVMRSurfaceAllocatorNotify9_Vtbl; } -impl ::core::clone::Clone for IVMRSurfaceAllocatorNotify9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRSurfaceAllocatorNotify9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdca3f5df_bb3a_4d03_bd81_84614bfbfa0c); } @@ -19036,6 +14934,7 @@ pub struct IVMRSurfaceAllocatorNotify9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRVideoStreamControl(::windows_core::IUnknown); impl IVMRVideoStreamControl { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -19065,25 +14964,9 @@ impl IVMRVideoStreamControl { } } ::windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRVideoStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRVideoStreamControl {} -impl ::core::fmt::Debug for IVMRVideoStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRVideoStreamControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRVideoStreamControl { type Vtable = IVMRVideoStreamControl_Vtbl; } -impl ::core::clone::Clone for IVMRVideoStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRVideoStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x058d1f11_2a54_4bef_bd54_df706626b727); } @@ -19110,6 +14993,7 @@ pub struct IVMRVideoStreamControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRVideoStreamControl9(::windows_core::IUnknown); impl IVMRVideoStreamControl9 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19128,25 +15012,9 @@ impl IVMRVideoStreamControl9 { } } ::windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRVideoStreamControl9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRVideoStreamControl9 {} -impl ::core::fmt::Debug for IVMRVideoStreamControl9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRVideoStreamControl9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRVideoStreamControl9 { type Vtable = IVMRVideoStreamControl9_Vtbl; } -impl ::core::clone::Clone for IVMRVideoStreamControl9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRVideoStreamControl9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0cfe38b_93e7_4772_8957_0400c49a4485); } @@ -19165,6 +15033,7 @@ pub struct IVMRVideoStreamControl9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRWindowlessControl(::windows_core::IUnknown); impl IVMRWindowlessControl { pub unsafe fn GetNativeVideoSize(&self, lpwidth: *mut i32, lpheight: *mut i32, lparwidth: *mut i32, lparheight: *mut i32) -> ::windows_core::Result<()> { @@ -19247,25 +15116,9 @@ impl IVMRWindowlessControl { } } ::windows_core::imp::interface_hierarchy!(IVMRWindowlessControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRWindowlessControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRWindowlessControl {} -impl ::core::fmt::Debug for IVMRWindowlessControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRWindowlessControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRWindowlessControl { type Vtable = IVMRWindowlessControl_Vtbl; } -impl ::core::clone::Clone for IVMRWindowlessControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRWindowlessControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0eb1088c_4dcd_46f0_878f_39dae86a51b7); } @@ -19315,6 +15168,7 @@ pub struct IVMRWindowlessControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVMRWindowlessControl9(::windows_core::IUnknown); impl IVMRWindowlessControl9 { pub unsafe fn GetNativeVideoSize(&self, lpwidth: *mut i32, lpheight: *mut i32, lparwidth: *mut i32, lparheight: *mut i32) -> ::windows_core::Result<()> { @@ -19383,25 +15237,9 @@ impl IVMRWindowlessControl9 { } } ::windows_core::imp::interface_hierarchy!(IVMRWindowlessControl9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVMRWindowlessControl9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVMRWindowlessControl9 {} -impl ::core::fmt::Debug for IVMRWindowlessControl9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVMRWindowlessControl9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVMRWindowlessControl9 { type Vtable = IVMRWindowlessControl9_Vtbl; } -impl ::core::clone::Clone for IVMRWindowlessControl9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVMRWindowlessControl9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f537d09_f85e_4414_b23b_502e54c79927); } @@ -19443,6 +15281,7 @@ pub struct IVMRWindowlessControl9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPBaseConfig(::windows_core::IUnknown); impl IVPBaseConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -19497,25 +15336,9 @@ impl IVPBaseConfig { } } ::windows_core::imp::interface_hierarchy!(IVPBaseConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVPBaseConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPBaseConfig {} -impl ::core::fmt::Debug for IVPBaseConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPBaseConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPBaseConfig { type Vtable = IVPBaseConfig_Vtbl; } -impl ::core::clone::Clone for IVPBaseConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPBaseConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -19554,6 +15377,7 @@ pub struct IVPBaseConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPBaseNotify(::windows_core::IUnknown); impl IVPBaseNotify { pub unsafe fn RenegotiateVPParameters(&self) -> ::windows_core::Result<()> { @@ -19561,25 +15385,9 @@ impl IVPBaseNotify { } } ::windows_core::imp::interface_hierarchy!(IVPBaseNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVPBaseNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPBaseNotify {} -impl ::core::fmt::Debug for IVPBaseNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPBaseNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPBaseNotify { type Vtable = IVPBaseNotify_Vtbl; } -impl ::core::clone::Clone for IVPBaseNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPBaseNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -19591,6 +15399,7 @@ pub struct IVPBaseNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPConfig(::windows_core::IUnknown); impl IVPConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -19651,25 +15460,9 @@ impl IVPConfig { } } ::windows_core::imp::interface_hierarchy!(IVPConfig, ::windows_core::IUnknown, IVPBaseConfig); -impl ::core::cmp::PartialEq for IVPConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPConfig {} -impl ::core::fmt::Debug for IVPConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPConfig { type Vtable = IVPConfig_Vtbl; } -impl ::core::clone::Clone for IVPConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc29a660_30e3_11d0_9e69_00c04fd7c15b); } @@ -19682,6 +15475,7 @@ pub struct IVPConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPManager(::windows_core::IUnknown); impl IVPManager { pub unsafe fn SetVideoPortIndex(&self, dwvideoportindex: u32) -> ::windows_core::Result<()> { @@ -19693,25 +15487,9 @@ impl IVPManager { } } ::windows_core::imp::interface_hierarchy!(IVPManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVPManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPManager {} -impl ::core::fmt::Debug for IVPManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPManager { type Vtable = IVPManager_Vtbl; } -impl ::core::clone::Clone for IVPManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaac18c18_e186_46d2_825d_a1f8dc8e395a); } @@ -19724,6 +15502,7 @@ pub struct IVPManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPNotify(::windows_core::IUnknown); impl IVPNotify { pub unsafe fn RenegotiateVPParameters(&self) -> ::windows_core::Result<()> { @@ -19737,25 +15516,9 @@ impl IVPNotify { } } ::windows_core::imp::interface_hierarchy!(IVPNotify, ::windows_core::IUnknown, IVPBaseNotify); -impl ::core::cmp::PartialEq for IVPNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPNotify {} -impl ::core::fmt::Debug for IVPNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPNotify { type Vtable = IVPNotify_Vtbl; } -impl ::core::clone::Clone for IVPNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc76794a1_d6c5_11d0_9e69_00c04fd7c15b); } @@ -19768,6 +15531,7 @@ pub struct IVPNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPNotify2(::windows_core::IUnknown); impl IVPNotify2 { pub unsafe fn RenegotiateVPParameters(&self) -> ::windows_core::Result<()> { @@ -19794,25 +15558,9 @@ impl IVPNotify2 { } } ::windows_core::imp::interface_hierarchy!(IVPNotify2, ::windows_core::IUnknown, IVPBaseNotify, IVPNotify); -impl ::core::cmp::PartialEq for IVPNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPNotify2 {} -impl ::core::fmt::Debug for IVPNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPNotify2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPNotify2 { type Vtable = IVPNotify2_Vtbl; } -impl ::core::clone::Clone for IVPNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPNotify2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebf47183_8764_11d1_9e69_00c04fd7c15b); } @@ -19831,6 +15579,7 @@ pub struct IVPNotify2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPVBIConfig(::windows_core::IUnknown); impl IVPVBIConfig { #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`*"] @@ -19885,25 +15634,9 @@ impl IVPVBIConfig { } } ::windows_core::imp::interface_hierarchy!(IVPVBIConfig, ::windows_core::IUnknown, IVPBaseConfig); -impl ::core::cmp::PartialEq for IVPVBIConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPVBIConfig {} -impl ::core::fmt::Debug for IVPVBIConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPVBIConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPVBIConfig { type Vtable = IVPVBIConfig_Vtbl; } -impl ::core::clone::Clone for IVPVBIConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPVBIConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec529b00_1a1f_11d1_bad9_00609744111a); } @@ -19914,6 +15647,7 @@ pub struct IVPVBIConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVPVBINotify(::windows_core::IUnknown); impl IVPVBINotify { pub unsafe fn RenegotiateVPParameters(&self) -> ::windows_core::Result<()> { @@ -19921,25 +15655,9 @@ impl IVPVBINotify { } } ::windows_core::imp::interface_hierarchy!(IVPVBINotify, ::windows_core::IUnknown, IVPBaseNotify); -impl ::core::cmp::PartialEq for IVPVBINotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVPVBINotify {} -impl ::core::fmt::Debug for IVPVBINotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVPVBINotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVPVBINotify { type Vtable = IVPVBINotify_Vtbl; } -impl ::core::clone::Clone for IVPVBINotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVPVBINotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec529b01_1a1f_11d1_bad9_00609744111a); } @@ -19950,6 +15668,7 @@ pub struct IVPVBINotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoEncoder(::windows_core::IUnknown); impl IVideoEncoder { pub unsafe fn IsSupported(&self, api: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -19987,25 +15706,9 @@ impl IVideoEncoder { } } ::windows_core::imp::interface_hierarchy!(IVideoEncoder, ::windows_core::IUnknown, IEncoderAPI); -impl ::core::cmp::PartialEq for IVideoEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoEncoder {} -impl ::core::fmt::Debug for IVideoEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoEncoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVideoEncoder { type Vtable = IVideoEncoder_Vtbl; } -impl ::core::clone::Clone for IVideoEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02997c3b_8e1b_460e_9270_545e0de9563e); } @@ -20016,6 +15719,7 @@ pub struct IVideoEncoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrameStep(::windows_core::IUnknown); impl IVideoFrameStep { pub unsafe fn Step(&self, dwframes: u32, pstepobject: P0) -> ::windows_core::Result<()> @@ -20035,25 +15739,9 @@ impl IVideoFrameStep { } } ::windows_core::imp::interface_hierarchy!(IVideoFrameStep, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVideoFrameStep { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoFrameStep {} -impl ::core::fmt::Debug for IVideoFrameStep { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoFrameStep").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVideoFrameStep { type Vtable = IVideoFrameStep_Vtbl; } -impl ::core::clone::Clone for IVideoFrameStep { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrameStep { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe46a9787_2b71_444d_a4b5_1fab7b708d6a); } @@ -20067,6 +15755,7 @@ pub struct IVideoFrameStep_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoProcAmp(::windows_core::IUnknown); impl IVideoProcAmp { pub unsafe fn get_BacklightCompensation(&self, pvalue: *mut i32, pflags: *mut i32) -> ::windows_core::Result<()> { @@ -20188,25 +15877,9 @@ impl IVideoProcAmp { } } ::windows_core::imp::interface_hierarchy!(IVideoProcAmp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVideoProcAmp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoProcAmp {} -impl ::core::fmt::Debug for IVideoProcAmp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoProcAmp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVideoProcAmp { type Vtable = IVideoProcAmp_Vtbl; } -impl ::core::clone::Clone for IVideoProcAmp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoProcAmp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4050560e_42a7_413a_85c2_09269a2d0f44); } @@ -20257,6 +15930,7 @@ pub struct IVideoProcAmp_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoWindow(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IVideoWindow { @@ -20402,30 +16076,10 @@ impl IVideoWindow { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IVideoWindow, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IVideoWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IVideoWindow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IVideoWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoWindow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IVideoWindow { type Vtable = IVideoWindow_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IVideoWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IVideoWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a868b4_0ad4_11ce_b03a_0020af0ba770); } @@ -20479,6 +16133,7 @@ pub struct IVideoWindow_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecAMVideoAccelerator(::windows_core::IUnknown); impl IWMCodecAMVideoAccelerator { pub unsafe fn SetAcceleratorInterface(&self, piamva: P0) -> ::windows_core::Result<()> @@ -20502,25 +16157,9 @@ impl IWMCodecAMVideoAccelerator { } } ::windows_core::imp::interface_hierarchy!(IWMCodecAMVideoAccelerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecAMVideoAccelerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecAMVideoAccelerator {} -impl ::core::fmt::Debug for IWMCodecAMVideoAccelerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecAMVideoAccelerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecAMVideoAccelerator { type Vtable = IWMCodecAMVideoAccelerator_Vtbl; } -impl ::core::clone::Clone for IWMCodecAMVideoAccelerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecAMVideoAccelerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd98ee251_34e0_4a2d_9312_9b4c788d9fa1); } @@ -20540,6 +16179,7 @@ pub struct IWMCodecAMVideoAccelerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecVideoAccelerator(::windows_core::IUnknown); impl IWMCodecVideoAccelerator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -20560,25 +16200,9 @@ impl IWMCodecVideoAccelerator { } } ::windows_core::imp::interface_hierarchy!(IWMCodecVideoAccelerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecVideoAccelerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecVideoAccelerator {} -impl ::core::fmt::Debug for IWMCodecVideoAccelerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecVideoAccelerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecVideoAccelerator { type Vtable = IWMCodecVideoAccelerator_Vtbl; } -impl ::core::clone::Clone for IWMCodecVideoAccelerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecVideoAccelerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x990641b0_739f_4e94_a808_9888da8f75af); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs index 01ccf91d77..e0a8fa31d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs @@ -35,8 +35,8 @@ impl IDMOQualityControl_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDMOVideoOutputOptimizations_Vtbl { GetCurrentSampleRequirements: GetCurrentSampleRequirements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -143,8 +143,8 @@ impl IEnumDMO_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -184,8 +184,8 @@ impl IMediaBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IMediaObject_Vtbl { Lock: Lock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -419,7 +419,7 @@ impl IMediaObjectInPlace_Vtbl { GetLatency: GetLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs index 1020c3262e..6418022236 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -76,6 +76,7 @@ pub unsafe fn MoInitMediaType(pmt: *mut DMO_MEDIA_TYPE, cbformat: u32) -> ::wind } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMOQualityControl(::windows_core::IUnknown); impl IDMOQualityControl { pub unsafe fn SetNow(&self, rtnow: i64) -> ::windows_core::Result<()> { @@ -90,25 +91,9 @@ impl IDMOQualityControl { } } ::windows_core::imp::interface_hierarchy!(IDMOQualityControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDMOQualityControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMOQualityControl {} -impl ::core::fmt::Debug for IDMOQualityControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMOQualityControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMOQualityControl { type Vtable = IDMOQualityControl_Vtbl; } -impl ::core::clone::Clone for IDMOQualityControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMOQualityControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65abea96_cf36_453f_af8a_705e98f16260); } @@ -122,6 +107,7 @@ pub struct IDMOQualityControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDMOVideoOutputOptimizations(::windows_core::IUnknown); impl IDMOVideoOutputOptimizations { pub unsafe fn QueryOperationModePreferences(&self, uloutputstreamindex: u32) -> ::windows_core::Result { @@ -141,25 +127,9 @@ impl IDMOVideoOutputOptimizations { } } ::windows_core::imp::interface_hierarchy!(IDMOVideoOutputOptimizations, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDMOVideoOutputOptimizations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDMOVideoOutputOptimizations {} -impl ::core::fmt::Debug for IDMOVideoOutputOptimizations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDMOVideoOutputOptimizations").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDMOVideoOutputOptimizations { type Vtable = IDMOVideoOutputOptimizations_Vtbl; } -impl ::core::clone::Clone for IDMOVideoOutputOptimizations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDMOVideoOutputOptimizations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe8f4f4e_5b16_4d29_b350_7f6b5d9298ac); } @@ -174,6 +144,7 @@ pub struct IDMOVideoOutputOptimizations_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDMO(::windows_core::IUnknown); impl IEnumDMO { pub unsafe fn Next(&self, citemstofetch: u32, pclsid: *mut ::windows_core::GUID, names: *mut ::windows_core::PWSTR, pcitemsfetched: *mut u32) -> ::windows_core::Result<()> { @@ -191,25 +162,9 @@ impl IEnumDMO { } } ::windows_core::imp::interface_hierarchy!(IEnumDMO, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDMO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDMO {} -impl ::core::fmt::Debug for IEnumDMO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDMO").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDMO { type Vtable = IEnumDMO_Vtbl; } -impl ::core::clone::Clone for IEnumDMO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDMO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c3cd98a_2bfa_4a53_9c27_5249ba64ba0f); } @@ -224,6 +179,7 @@ pub struct IEnumDMO_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaBuffer(::windows_core::IUnknown); impl IMediaBuffer { pub unsafe fn SetLength(&self, cblength: u32) -> ::windows_core::Result<()> { @@ -238,25 +194,9 @@ impl IMediaBuffer { } } ::windows_core::imp::interface_hierarchy!(IMediaBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaBuffer {} -impl ::core::fmt::Debug for IMediaBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaBuffer { type Vtable = IMediaBuffer_Vtbl; } -impl ::core::clone::Clone for IMediaBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59eff8b9_938c_4a26_82f2_95cb84cdc837); } @@ -270,6 +210,7 @@ pub struct IMediaBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaObject(::windows_core::IUnknown); impl IMediaObject { pub unsafe fn GetStreamCount(&self, pcinputstreams: *mut u32, pcoutputstreams: *mut u32) -> ::windows_core::Result<()> { @@ -356,25 +297,9 @@ impl IMediaObject { } } ::windows_core::imp::interface_hierarchy!(IMediaObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaObject {} -impl ::core::fmt::Debug for IMediaObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaObject { type Vtable = IMediaObject_Vtbl; } -impl ::core::clone::Clone for IMediaObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8ad0f58_5494_4102_97c5_ec798e59bcf4); } @@ -424,6 +349,7 @@ pub struct IMediaObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaObjectInPlace(::windows_core::IUnknown); impl IMediaObjectInPlace { pub unsafe fn Process(&self, pdata: &mut [u8], reftimestart: i64, dwflags: u32) -> ::windows_core::Result<()> { @@ -439,25 +365,9 @@ impl IMediaObjectInPlace { } } ::windows_core::imp::interface_hierarchy!(IMediaObjectInPlace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaObjectInPlace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaObjectInPlace {} -impl ::core::fmt::Debug for IMediaObjectInPlace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaObjectInPlace").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaObjectInPlace { type Vtable = IMediaObjectInPlace_Vtbl; } -impl ::core::clone::Clone for IMediaObjectInPlace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaObjectInPlace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x651b9ad0_0fc7_4aa9_9538_d89931010741); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs index 41722d8b8e..606bd67838 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs @@ -22,8 +22,8 @@ impl IKsAggregateControl_Vtbl { KsRemoveAggregate: KsRemoveAggregate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IKsAllocator_Vtbl { KsSetAllocatorMode: KsSetAllocatorMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IKsAllocatorEx_Vtbl { KsCreateAllocatorAndGetHandle: KsCreateAllocatorAndGetHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IKsClockPropertySet_Vtbl { KsGetState: KsGetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl IKsControl_Vtbl { KsEvent: KsEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IKsDataTypeCompletion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsCompleteMediaType: KsCompleteMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -346,8 +346,8 @@ impl IKsDataTypeHandler_Vtbl { KsSetMediaType: KsSetMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -383,8 +383,8 @@ impl IKsFormatSupport_Vtbl { GetDevicePreferredFormat: GetDevicePreferredFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -421,8 +421,8 @@ impl IKsInterfaceHandler_Vtbl { KsCompleteIo: KsCompleteIo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -445,8 +445,8 @@ impl IKsJackContainerId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackContainerId: GetJackContainerId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IKsJackDescription_Vtbl { GetJackDescription: GetJackDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -522,8 +522,8 @@ impl IKsJackDescription2_Vtbl { GetJackDescription2: GetJackDescription2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -562,8 +562,8 @@ impl IKsJackDescription3_Vtbl { GetJackDescription3: GetJackDescription3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -583,8 +583,8 @@ impl IKsJackSinkInformation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackSinkInformation: GetJackSinkInformation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -611,8 +611,8 @@ impl IKsNodeControl_Vtbl { SetKsControl: SetKsControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -629,8 +629,8 @@ impl IKsNotifyEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsNotifyEvent: KsNotifyEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -650,8 +650,8 @@ impl IKsObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsGetObjectHandle: KsGetObjectHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IKsPin_Vtbl { KsQualityNotify: KsQualityNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -791,8 +791,8 @@ impl IKsPinEx_Vtbl { } Self { base__: IKsPin_Vtbl::new::(), KsNotifyError: KsNotifyError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl IKsPinFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsPinFactory: KsPinFactory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IKsPinPipe_Vtbl { KsGetFilterName: KsGetFilterName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -950,8 +950,8 @@ impl IKsPropertySet_Vtbl { QuerySupported: QuerySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl IKsQualityForwarder_Vtbl { } Self { base__: IKsObject_Vtbl::new::(), KsFlushClient: KsFlushClient:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl IKsTopology_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateNodeInstance: CreateNodeInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -1095,7 +1095,7 @@ impl IKsTopologyInfo_Vtbl { CreateNodeInstance: CreateNodeInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs index 8b1ae71784..147ae580eb 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -139,6 +139,7 @@ where } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsAggregateControl(::windows_core::IUnknown); impl IKsAggregateControl { pub unsafe fn KsAddAggregate(&self, aggregateclass: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -149,25 +150,9 @@ impl IKsAggregateControl { } } ::windows_core::imp::interface_hierarchy!(IKsAggregateControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsAggregateControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsAggregateControl {} -impl ::core::fmt::Debug for IKsAggregateControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsAggregateControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsAggregateControl { type Vtable = IKsAggregateControl_Vtbl; } -impl ::core::clone::Clone for IKsAggregateControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsAggregateControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f40eac0_3947_11d2_874e_00a0c9223196); } @@ -180,6 +165,7 @@ pub struct IKsAggregateControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsAllocator(::windows_core::IUnknown); impl IKsAllocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -198,25 +184,9 @@ impl IKsAllocator { } } ::windows_core::imp::interface_hierarchy!(IKsAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsAllocator {} -impl ::core::fmt::Debug for IKsAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsAllocator { type Vtable = IKsAllocator_Vtbl; } -impl ::core::clone::Clone for IKsAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8da64899_c0d9_11d0_8413_0000f822fe8a); } @@ -234,6 +204,7 @@ pub struct IKsAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsAllocatorEx(::windows_core::IUnknown); impl IKsAllocatorEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -274,25 +245,9 @@ impl IKsAllocatorEx { } } ::windows_core::imp::interface_hierarchy!(IKsAllocatorEx, ::windows_core::IUnknown, IKsAllocator); -impl ::core::cmp::PartialEq for IKsAllocatorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsAllocatorEx {} -impl ::core::fmt::Debug for IKsAllocatorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsAllocatorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsAllocatorEx { type Vtable = IKsAllocatorEx_Vtbl; } -impl ::core::clone::Clone for IKsAllocatorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsAllocatorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x091bb63a_603f_11d1_b067_00a0c9062802); } @@ -313,6 +268,7 @@ pub struct IKsAllocatorEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsClockPropertySet(::windows_core::IUnknown); impl IKsClockPropertySet { pub unsafe fn KsGetTime(&self) -> ::windows_core::Result { @@ -353,25 +309,9 @@ impl IKsClockPropertySet { } } ::windows_core::imp::interface_hierarchy!(IKsClockPropertySet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsClockPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsClockPropertySet {} -impl ::core::fmt::Debug for IKsClockPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsClockPropertySet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsClockPropertySet { type Vtable = IKsClockPropertySet_Vtbl; } -impl ::core::clone::Clone for IKsClockPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsClockPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c5cbd84_e755_11d0_ac18_00a0c9223196); } @@ -392,6 +332,7 @@ pub struct IKsClockPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsControl(::windows_core::IUnknown); impl IKsControl { pub unsafe fn KsProperty(&self, property: *const KSIDENTIFIER, propertylength: u32, propertydata: *mut ::core::ffi::c_void, datalength: u32, bytesreturned: *mut u32) -> ::windows_core::Result<()> { @@ -405,25 +346,9 @@ impl IKsControl { } } ::windows_core::imp::interface_hierarchy!(IKsControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsControl {} -impl ::core::fmt::Debug for IKsControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsControl { type Vtable = IKsControl_Vtbl; } -impl ::core::clone::Clone for IKsControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28f54685_06fd_11d2_b27a_00a0c9223196); } @@ -437,6 +362,7 @@ pub struct IKsControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsDataTypeCompletion(::windows_core::IUnknown); impl IKsDataTypeCompletion { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -449,25 +375,9 @@ impl IKsDataTypeCompletion { } } ::windows_core::imp::interface_hierarchy!(IKsDataTypeCompletion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsDataTypeCompletion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsDataTypeCompletion {} -impl ::core::fmt::Debug for IKsDataTypeCompletion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsDataTypeCompletion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsDataTypeCompletion { type Vtable = IKsDataTypeCompletion_Vtbl; } -impl ::core::clone::Clone for IKsDataTypeCompletion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsDataTypeCompletion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x827d1a0e_0f73_11d2_b27a_00a0c9223196); } @@ -482,6 +392,7 @@ pub struct IKsDataTypeCompletion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsDataTypeHandler(::windows_core::IUnknown); impl IKsDataTypeHandler { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`*"] @@ -515,25 +426,9 @@ impl IKsDataTypeHandler { } } ::windows_core::imp::interface_hierarchy!(IKsDataTypeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsDataTypeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsDataTypeHandler {} -impl ::core::fmt::Debug for IKsDataTypeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsDataTypeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsDataTypeHandler { type Vtable = IKsDataTypeHandler_Vtbl; } -impl ::core::clone::Clone for IKsDataTypeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsDataTypeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ffbaa02_49a3_11d0_9f36_00aa00a216a1); } @@ -558,6 +453,7 @@ pub struct IKsDataTypeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsFormatSupport(::windows_core::IUnknown); impl IKsFormatSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -571,25 +467,9 @@ impl IKsFormatSupport { } } ::windows_core::imp::interface_hierarchy!(IKsFormatSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsFormatSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsFormatSupport {} -impl ::core::fmt::Debug for IKsFormatSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsFormatSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsFormatSupport { type Vtable = IKsFormatSupport_Vtbl; } -impl ::core::clone::Clone for IKsFormatSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsFormatSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cb4a69d_bb6f_4d2b_95b7_452d2c155db5); } @@ -605,6 +485,7 @@ pub struct IKsFormatSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsInterfaceHandler(::windows_core::IUnknown); impl IKsInterfaceHandler { pub unsafe fn KsSetPin(&self, kspin: P0) -> ::windows_core::Result<()> @@ -628,25 +509,9 @@ impl IKsInterfaceHandler { } } ::windows_core::imp::interface_hierarchy!(IKsInterfaceHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsInterfaceHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsInterfaceHandler {} -impl ::core::fmt::Debug for IKsInterfaceHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsInterfaceHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsInterfaceHandler { type Vtable = IKsInterfaceHandler_Vtbl; } -impl ::core::clone::Clone for IKsInterfaceHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsInterfaceHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3abc7e0_9a61_11d0_a40d_00a0c9223196); } @@ -666,6 +531,7 @@ pub struct IKsInterfaceHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsJackContainerId(::windows_core::IUnknown); impl IKsJackContainerId { pub unsafe fn GetJackContainerId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -674,25 +540,9 @@ impl IKsJackContainerId { } } ::windows_core::imp::interface_hierarchy!(IKsJackContainerId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsJackContainerId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsJackContainerId {} -impl ::core::fmt::Debug for IKsJackContainerId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsJackContainerId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsJackContainerId { type Vtable = IKsJackContainerId_Vtbl; } -impl ::core::clone::Clone for IKsJackContainerId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsJackContainerId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99af463_d629_4ec4_8c00_e54d68154248); } @@ -704,6 +554,7 @@ pub struct IKsJackContainerId_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsJackDescription(::windows_core::IUnknown); impl IKsJackDescription { pub unsafe fn GetJackCount(&self) -> ::windows_core::Result { @@ -717,25 +568,9 @@ impl IKsJackDescription { } } ::windows_core::imp::interface_hierarchy!(IKsJackDescription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsJackDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsJackDescription {} -impl ::core::fmt::Debug for IKsJackDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsJackDescription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsJackDescription { type Vtable = IKsJackDescription_Vtbl; } -impl ::core::clone::Clone for IKsJackDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsJackDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4509f757_2d46_4637_8e62_ce7db944f57b); } @@ -751,6 +586,7 @@ pub struct IKsJackDescription_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsJackDescription2(::windows_core::IUnknown); impl IKsJackDescription2 { pub unsafe fn GetJackCount(&self) -> ::windows_core::Result { @@ -763,25 +599,9 @@ impl IKsJackDescription2 { } } ::windows_core::imp::interface_hierarchy!(IKsJackDescription2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsJackDescription2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsJackDescription2 {} -impl ::core::fmt::Debug for IKsJackDescription2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsJackDescription2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsJackDescription2 { type Vtable = IKsJackDescription2_Vtbl; } -impl ::core::clone::Clone for IKsJackDescription2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsJackDescription2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x478f3a9b_e0c9_4827_9228_6f5505ffe76a); } @@ -794,6 +614,7 @@ pub struct IKsJackDescription2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsJackDescription3(::windows_core::IUnknown); impl IKsJackDescription3 { pub unsafe fn GetJackCount(&self) -> ::windows_core::Result { @@ -806,25 +627,9 @@ impl IKsJackDescription3 { } } ::windows_core::imp::interface_hierarchy!(IKsJackDescription3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsJackDescription3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsJackDescription3 {} -impl ::core::fmt::Debug for IKsJackDescription3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsJackDescription3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsJackDescription3 { type Vtable = IKsJackDescription3_Vtbl; } -impl ::core::clone::Clone for IKsJackDescription3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsJackDescription3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3f6778b_6660_4cc8_a291_ecc4192d9967); } @@ -837,6 +642,7 @@ pub struct IKsJackDescription3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsJackSinkInformation(::windows_core::IUnknown); impl IKsJackSinkInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -846,25 +652,9 @@ impl IKsJackSinkInformation { } } ::windows_core::imp::interface_hierarchy!(IKsJackSinkInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsJackSinkInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsJackSinkInformation {} -impl ::core::fmt::Debug for IKsJackSinkInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsJackSinkInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsJackSinkInformation { type Vtable = IKsJackSinkInformation_Vtbl; } -impl ::core::clone::Clone for IKsJackSinkInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsJackSinkInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9bd72ed_290f_4581_9ff3_61027a8fe532); } @@ -879,6 +669,7 @@ pub struct IKsJackSinkInformation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsNodeControl(::windows_core::IUnknown); impl IKsNodeControl { pub unsafe fn SetNodeId(&self, dwnodeid: u32) -> ::windows_core::Result<()> { @@ -889,25 +680,9 @@ impl IKsNodeControl { } } ::windows_core::imp::interface_hierarchy!(IKsNodeControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsNodeControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsNodeControl {} -impl ::core::fmt::Debug for IKsNodeControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsNodeControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsNodeControl { type Vtable = IKsNodeControl_Vtbl; } -impl ::core::clone::Clone for IKsNodeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsNodeControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11737c14_24a7_4bb5_81a0_0d003813b0c4); } @@ -920,6 +695,7 @@ pub struct IKsNodeControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsNotifyEvent(::windows_core::IUnknown); impl IKsNotifyEvent { pub unsafe fn KsNotifyEvent(&self, event: u32, lparam1: usize, lparam2: usize) -> ::windows_core::Result<()> { @@ -927,25 +703,9 @@ impl IKsNotifyEvent { } } ::windows_core::imp::interface_hierarchy!(IKsNotifyEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsNotifyEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsNotifyEvent {} -impl ::core::fmt::Debug for IKsNotifyEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsNotifyEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsNotifyEvent { type Vtable = IKsNotifyEvent_Vtbl; } -impl ::core::clone::Clone for IKsNotifyEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsNotifyEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x412bd695_f84b_46c1_ac73_54196dbc8fa7); } @@ -957,6 +717,7 @@ pub struct IKsNotifyEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsObject(::windows_core::IUnknown); impl IKsObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -966,25 +727,9 @@ impl IKsObject { } } ::windows_core::imp::interface_hierarchy!(IKsObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsObject {} -impl ::core::fmt::Debug for IKsObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsObject { type Vtable = IKsObject_Vtbl; } -impl ::core::clone::Clone for IKsObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x423c13a2_2070_11d0_9ef7_00aa00a216a1); } @@ -999,6 +744,7 @@ pub struct IKsObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsPin(::windows_core::IUnknown); impl IKsPin { pub unsafe fn KsQueryMediums(&self) -> ::windows_core::Result<*mut KSMULTIPLE_ITEM> { @@ -1058,25 +804,9 @@ impl IKsPin { } } ::windows_core::imp::interface_hierarchy!(IKsPin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsPin {} -impl ::core::fmt::Debug for IKsPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsPin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsPin { type Vtable = IKsPin_Vtbl; } -impl ::core::clone::Clone for IKsPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb61178d1_a2d9_11cf_9e53_00aa00a216a1); } @@ -1112,6 +842,7 @@ pub struct IKsPin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsPinEx(::windows_core::IUnknown); impl IKsPinEx { pub unsafe fn KsQueryMediums(&self) -> ::windows_core::Result<*mut KSMULTIPLE_ITEM> { @@ -1179,25 +910,9 @@ impl IKsPinEx { } } ::windows_core::imp::interface_hierarchy!(IKsPinEx, ::windows_core::IUnknown, IKsPin); -impl ::core::cmp::PartialEq for IKsPinEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsPinEx {} -impl ::core::fmt::Debug for IKsPinEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsPinEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsPinEx { type Vtable = IKsPinEx_Vtbl; } -impl ::core::clone::Clone for IKsPinEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsPinEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bb38260_d19c_11d2_b38a_00a0c95ec22e); } @@ -1212,6 +927,7 @@ pub struct IKsPinEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsPinFactory(::windows_core::IUnknown); impl IKsPinFactory { pub unsafe fn KsPinFactory(&self) -> ::windows_core::Result { @@ -1220,25 +936,9 @@ impl IKsPinFactory { } } ::windows_core::imp::interface_hierarchy!(IKsPinFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsPinFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsPinFactory {} -impl ::core::fmt::Debug for IKsPinFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsPinFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsPinFactory { type Vtable = IKsPinFactory_Vtbl; } -impl ::core::clone::Clone for IKsPinFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsPinFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd5ebe6b_8b6e_11d1_8ae0_00a0c9223196); } @@ -1250,6 +950,7 @@ pub struct IKsPinFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsPinPipe(::windows_core::IUnknown); impl IKsPinPipe { pub unsafe fn KsGetPinFramingCache(&self, framingex: *mut *mut KSALLOCATOR_FRAMING_EX, framingprop: *mut FRAMING_PROP, option: FRAMING_CACHE_OPS) -> ::windows_core::Result<()> { @@ -1294,25 +995,9 @@ impl IKsPinPipe { } } ::windows_core::imp::interface_hierarchy!(IKsPinPipe, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsPinPipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsPinPipe {} -impl ::core::fmt::Debug for IKsPinPipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsPinPipe").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsPinPipe { type Vtable = IKsPinPipe_Vtbl; } -impl ::core::clone::Clone for IKsPinPipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsPinPipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe539cd90_a8b4_11d1_8189_00a0c9062802); } @@ -1337,6 +1022,7 @@ pub struct IKsPinPipe_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsPropertySet(::windows_core::IUnknown); impl IKsPropertySet { pub unsafe fn Set(&self, guidpropset: *const ::windows_core::GUID, dwpropid: u32, pinstancedata: *const ::core::ffi::c_void, cbinstancedata: u32, ppropdata: *const ::core::ffi::c_void, cbpropdata: u32) -> ::windows_core::Result<()> { @@ -1351,25 +1037,9 @@ impl IKsPropertySet { } } ::windows_core::imp::interface_hierarchy!(IKsPropertySet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsPropertySet {} -impl ::core::fmt::Debug for IKsPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsPropertySet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsPropertySet { type Vtable = IKsPropertySet_Vtbl; } -impl ::core::clone::Clone for IKsPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31efac30_515c_11d0_a9aa_00aa0061be93); } @@ -1383,6 +1053,7 @@ pub struct IKsPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsQualityForwarder(::windows_core::IUnknown); impl IKsQualityForwarder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1398,25 +1069,9 @@ impl IKsQualityForwarder { } } ::windows_core::imp::interface_hierarchy!(IKsQualityForwarder, ::windows_core::IUnknown, IKsObject); -impl ::core::cmp::PartialEq for IKsQualityForwarder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsQualityForwarder {} -impl ::core::fmt::Debug for IKsQualityForwarder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsQualityForwarder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsQualityForwarder { type Vtable = IKsQualityForwarder_Vtbl; } -impl ::core::clone::Clone for IKsQualityForwarder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsQualityForwarder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97ebaacb_95bd_11d0_a3ea_00a0c9223196); } @@ -1428,6 +1083,7 @@ pub struct IKsQualityForwarder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsTopology(::windows_core::IUnknown); impl IKsTopology { pub unsafe fn CreateNodeInstance(&self, nodeid: u32, flags: u32, desiredaccess: u32, unkouter: P0, interfaceid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -1438,25 +1094,9 @@ impl IKsTopology { } } ::windows_core::imp::interface_hierarchy!(IKsTopology, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsTopology { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsTopology {} -impl ::core::fmt::Debug for IKsTopology { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsTopology").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsTopology { type Vtable = IKsTopology_Vtbl; } -impl ::core::clone::Clone for IKsTopology { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsTopology { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28f54683_06fd_11d2_b27a_00a0c9223196); } @@ -1468,6 +1108,7 @@ pub struct IKsTopology_Vtbl { } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKsTopologyInfo(::windows_core::IUnknown); impl IKsTopologyInfo { pub unsafe fn NumCategories(&self) -> ::windows_core::Result { @@ -1502,25 +1143,9 @@ impl IKsTopologyInfo { } } ::windows_core::imp::interface_hierarchy!(IKsTopologyInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKsTopologyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKsTopologyInfo {} -impl ::core::fmt::Debug for IKsTopologyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKsTopologyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKsTopologyInfo { type Vtable = IKsTopologyInfo_Vtbl; } -impl ::core::clone::Clone for IKsTopologyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKsTopologyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x720d4ac0_7533_11d0_a5d6_28db04c10000); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs index b96aa9f148..d80dfdf427 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs @@ -57,8 +57,8 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -156,8 +156,8 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -416,7 +416,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { customSettingsApplied: customSettingsApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs index bfffc0b3d7..3d1b3bd133 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsMediaLibrarySharingDevice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDevice { @@ -25,30 +26,10 @@ impl IWindowsMediaLibrarySharingDevice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevice, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsMediaLibrarySharingDevice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsMediaLibrarySharingDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsMediaLibrarySharingDevice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsMediaLibrarySharingDevice { type Vtable = IWindowsMediaLibrarySharingDevice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsMediaLibrarySharingDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsMediaLibrarySharingDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3dccc293_4fd9_4191_a25b_8e57c5d27bd4); } @@ -68,6 +49,7 @@ pub struct IWindowsMediaLibrarySharingDevice_Vtbl { #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsMediaLibrarySharingDeviceProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDeviceProperties { @@ -94,30 +76,10 @@ impl IWindowsMediaLibrarySharingDeviceProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperties, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDeviceProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsMediaLibrarySharingDeviceProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsMediaLibrarySharingDeviceProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsMediaLibrarySharingDeviceProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsMediaLibrarySharingDeviceProperties { type Vtable = IWindowsMediaLibrarySharingDeviceProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsMediaLibrarySharingDeviceProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsMediaLibrarySharingDeviceProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4623214_6b06_40c5_a623_b2ff4c076bfd); } @@ -139,6 +101,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperties_Vtbl { #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsMediaLibrarySharingDeviceProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDeviceProperty { @@ -156,30 +119,10 @@ impl IWindowsMediaLibrarySharingDeviceProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDeviceProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsMediaLibrarySharingDeviceProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsMediaLibrarySharingDeviceProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsMediaLibrarySharingDeviceProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsMediaLibrarySharingDeviceProperty { type Vtable = IWindowsMediaLibrarySharingDeviceProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsMediaLibrarySharingDeviceProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsMediaLibrarySharingDeviceProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81e26927_7a7d_40a7_81d4_bddc02960e3e); } @@ -197,6 +140,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperty_Vtbl { #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsMediaLibrarySharingDevices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingDevices { @@ -223,30 +167,10 @@ impl IWindowsMediaLibrarySharingDevices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevices, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsMediaLibrarySharingDevices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsMediaLibrarySharingDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsMediaLibrarySharingDevices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsMediaLibrarySharingDevices { type Vtable = IWindowsMediaLibrarySharingDevices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsMediaLibrarySharingDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsMediaLibrarySharingDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1803f9d6_fe6d_4546_bf5b_992fe8ec12d1); } @@ -268,6 +192,7 @@ pub struct IWindowsMediaLibrarySharingDevices_Vtbl { #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsMediaLibrarySharingServices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsMediaLibrarySharingServices { @@ -402,30 +327,10 @@ impl IWindowsMediaLibrarySharingServices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingServices, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsMediaLibrarySharingServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsMediaLibrarySharingServices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsMediaLibrarySharingServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsMediaLibrarySharingServices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsMediaLibrarySharingServices { type Vtable = IWindowsMediaLibrarySharingServices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsMediaLibrarySharingServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsMediaLibrarySharingServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01f5f85e_0a81_40da_a7c8_21ef3af8440c); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index 0026a76cff..6bd6bde8e9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -21,8 +21,8 @@ impl IAdvancedMediaCapture_Vtbl { GetAdvancedMediaCaptureSettings: GetAdvancedMediaCaptureSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -39,8 +39,8 @@ impl IAdvancedMediaCaptureInitializationSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDirectxDeviceManager: SetDirectxDeviceManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IAdvancedMediaCaptureSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectxDeviceManager: GetDirectxDeviceManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IAudioSourceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideInput: ProvideInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IClusterDetector_Vtbl { Detect: Detect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl ICodecAPI_Vtbl { SetAllSettingsWithNotify: SetAllSettingsWithNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -364,8 +364,8 @@ impl ID3D12VideoDecodeCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -385,8 +385,8 @@ impl ID3D12VideoDecodeCommandList1_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList_Vtbl::new::(), DecodeFrame1: DecodeFrame1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl ID3D12VideoDecodeCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -444,8 +444,8 @@ impl ID3D12VideoDecodeCommandList3_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl ID3D12VideoDecoder_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -489,8 +489,8 @@ impl ID3D12VideoDecoder1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl ID3D12VideoDecoderHeap_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -534,8 +534,8 @@ impl ID3D12VideoDecoderHeap1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl ID3D12VideoDevice_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl ID3D12VideoDevice1_Vtbl { CreateVideoMotionVectorHeap: CreateVideoMotionVectorHeap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -662,8 +662,8 @@ impl ID3D12VideoDevice2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl ID3D12VideoDevice3_Vtbl { CreateVideoEncoderHeap: CreateVideoEncoderHeap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -822,8 +822,8 @@ impl ID3D12VideoEncodeCommandList_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -853,8 +853,8 @@ impl ID3D12VideoEncodeCommandList1_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -884,8 +884,8 @@ impl ID3D12VideoEncodeCommandList2_Vtbl { ResolveEncoderOutputMetadata: ResolveEncoderOutputMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl ID3D12VideoEncodeCommandList3_Vtbl { } Self { base__: ID3D12VideoEncodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl ID3D12VideoEncoder_Vtbl { GetMaxMotionEstimationPrecision: GetMaxMotionEstimationPrecision::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl ID3D12VideoEncoderHeap_Vtbl { GetResolutionList: GetResolutionList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl ID3D12VideoExtensionCommand_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1099,8 +1099,8 @@ impl ID3D12VideoMotionEstimator_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1130,8 +1130,8 @@ impl ID3D12VideoMotionVectorHeap_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1245,8 +1245,8 @@ impl ID3D12VideoProcessCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1266,8 +1266,8 @@ impl ID3D12VideoProcessCommandList1_Vtbl { } Self { base__: ID3D12VideoProcessCommandList_Vtbl::new::(), ProcessFrames1: ProcessFrames1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1304,8 +1304,8 @@ impl ID3D12VideoProcessCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1325,8 +1325,8 @@ impl ID3D12VideoProcessCommandList3_Vtbl { } Self { base__: ID3D12VideoProcessCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1370,8 +1370,8 @@ impl ID3D12VideoProcessor_Vtbl { GetOutputStreamDesc: GetOutputStreamDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1394,8 +1394,8 @@ impl ID3D12VideoProcessor1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1479,8 +1479,8 @@ impl IDXVAHD_Device_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1531,8 +1531,8 @@ impl IDXVAHD_VideoProcessor_Vtbl { VideoProcessBltHD: VideoProcessBltHD::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1552,8 +1552,8 @@ impl IDirect3D9ExOverlayExtension_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckDeviceOverlayType: CheckDeviceOverlayType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1604,8 +1604,8 @@ impl IDirect3DAuthenticatedChannel9_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1684,8 +1684,8 @@ impl IDirect3DCryptoSession9_Vtbl { GetEncryptionBltKey: GetEncryptionBltKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1722,8 +1722,8 @@ impl IDirect3DDevice9Video_Vtbl { CreateCryptoSession: CreateCryptoSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1794,8 +1794,8 @@ impl IDirect3DDeviceManager9_Vtbl { GetVideoService: GetVideoService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1815,8 +1815,8 @@ impl IDirectXVideoAccelerationService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSurface: CreateSurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1887,8 +1887,8 @@ impl IDirectXVideoDecoder_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1938,8 +1938,8 @@ impl IDirectXVideoDecoderService_Vtbl { CreateVideoDecoder: CreateVideoDecoder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -1972,8 +1972,8 @@ impl IDirectXVideoMemoryConfiguration_Vtbl { SetSurfaceType: SetSurfaceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2049,8 +2049,8 @@ impl IDirectXVideoProcessor_Vtbl { VideoProcessBlt: VideoProcessBlt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2140,8 +2140,8 @@ impl IDirectXVideoProcessorService_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2174,8 +2174,8 @@ impl IEVRFilterConfig_Vtbl { GetNumberOfStreams: GetNumberOfStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2208,8 +2208,8 @@ impl IEVRFilterConfigEx_Vtbl { GetConfigPrefs: GetConfigPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2265,8 +2265,8 @@ impl IEVRTrustedVideoPlugin_Vtbl { DisableImageExport: DisableImageExport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2302,8 +2302,8 @@ impl IEVRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2337,8 +2337,8 @@ impl IFileClient_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2424,8 +2424,8 @@ impl IFileIo_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IMF2DBuffer_Vtbl { ContiguousCopyFrom: ContiguousCopyFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2533,8 +2533,8 @@ impl IMF2DBuffer2_Vtbl { Copy2DTo: Copy2DTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2629,8 +2629,8 @@ impl IMFASFContentInfo_Vtbl { GetEncodingConfigurationPropertyStore: GetEncodingConfigurationPropertyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2761,8 +2761,8 @@ impl IMFASFIndexer_Vtbl { GetCompletedIndex: GetCompletedIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2850,8 +2850,8 @@ impl IMFASFMultiplexer_Vtbl { SetSyncTolerance: SetSyncTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2951,8 +2951,8 @@ impl IMFASFMutualExclusion_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3134,8 +3134,8 @@ impl IMFASFProfile_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3223,8 +3223,8 @@ impl IMFASFSplitter_Vtbl { GetLastSendTime: GetLastSendTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3334,8 +3334,8 @@ impl IMFASFStreamConfig_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3395,8 +3395,8 @@ impl IMFASFStreamPrioritization_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3567,8 +3567,8 @@ impl IMFASFStreamSelector_Vtbl { SetStreamSelectorFlags: SetStreamSelectorFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3605,8 +3605,8 @@ impl IMFActivate_Vtbl { DetachObject: DetachObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl IMFAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3661,8 +3661,8 @@ impl IMFAsyncCallbackLogging_Vtbl { GetObjectTag: GetObjectTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3722,8 +3722,8 @@ impl IMFAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4009,8 +4009,8 @@ impl IMFAttributes_Vtbl { CopyAllItems: CopyAllItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4030,8 +4030,8 @@ impl IMFAudioMediaType_Vtbl { } Self { base__: IMFMediaType_Vtbl::new::(), GetAudioFormat: GetAudioFormat:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4104,8 +4104,8 @@ impl IMFAudioPolicy_Vtbl { GetIconPath: GetIconPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4165,8 +4165,8 @@ impl IMFAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4193,8 +4193,8 @@ impl IMFBufferListNotify_Vtbl { OnRemoveSourceBuffer: OnRemoveSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4363,8 +4363,8 @@ impl IMFByteStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4401,8 +4401,8 @@ impl IMFByteStreamBuffering_Vtbl { StopBuffering: StopBuffering::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4419,8 +4419,8 @@ impl IMFByteStreamCacheControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StopBackgroundTransfer: StopBackgroundTransfer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4463,8 +4463,8 @@ impl IMFByteStreamCacheControl2_Vtbl { IsBackgroundTransferActive: IsBackgroundTransferActive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -4514,8 +4514,8 @@ impl IMFByteStreamHandler_Vtbl { GetMaxNumberOfBytesRequiredForResolution: GetMaxNumberOfBytesRequiredForResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4532,8 +4532,8 @@ impl IMFByteStreamProxyClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateByteStreamProxy: CreateByteStreamProxy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4576,8 +4576,8 @@ impl IMFByteStreamTimeSeek_Vtbl { GetTimeSeekResult: GetTimeSeekResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4617,8 +4617,8 @@ impl IMFCameraConfigurationManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4665,8 +4665,8 @@ impl IMFCameraControlDefaults_Vtbl { UnlockControlData: UnlockControlData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4742,8 +4742,8 @@ impl IMFCameraControlDefaultsCollection_Vtbl { RemoveAllControls: RemoveAllControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4791,8 +4791,8 @@ impl IMFCameraControlMonitor_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4819,8 +4819,8 @@ impl IMFCameraControlNotify_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4854,8 +4854,8 @@ impl IMFCameraOcclusionStateMonitor_Vtbl { GetSupportedStates: GetSupportedStates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4878,8 +4878,8 @@ impl IMFCameraOcclusionStateReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOcclusionState: GetOcclusionState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4896,8 +4896,8 @@ impl IMFCameraOcclusionStateReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnOcclusionStateReport: OnOcclusionStateReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4924,8 +4924,8 @@ impl IMFCameraSyncObject_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5009,8 +5009,8 @@ impl IMFCaptureEngine_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5027,8 +5027,8 @@ impl IMFCaptureEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IMFCaptureEngineOnEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5063,8 +5063,8 @@ impl IMFCaptureEngineOnSampleCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSample: OnSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5084,8 +5084,8 @@ impl IMFCaptureEngineOnSampleCallback2_Vtbl { OnSynchronizedEvent: OnSynchronizedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5125,8 +5125,8 @@ impl IMFCapturePhotoConfirmation_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5160,8 +5160,8 @@ impl IMFCapturePhotoSink_Vtbl { SetOutputByteStream: SetOutputByteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5252,8 +5252,8 @@ impl IMFCapturePreviewSink_Vtbl { SetCustomSink: SetCustomSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl IMFCaptureRecordSink_Vtbl { SetRotation: SetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5363,8 +5363,8 @@ impl IMFCaptureSink_Vtbl { RemoveAllStreams: RemoveAllStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5381,8 +5381,8 @@ impl IMFCaptureSink2_Vtbl { } Self { base__: IMFCaptureSink_Vtbl::new::(), SetOutputMediaType: SetOutputMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5526,8 +5526,8 @@ impl IMFCaptureSource_Vtbl { GetStreamIndexFromFriendlyName: GetStreamIndexFromFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5550,8 +5550,8 @@ impl IMFCdmSuspendNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5617,8 +5617,8 @@ impl IMFClock_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5651,8 +5651,8 @@ impl IMFClockConsumer_Vtbl { GetPresentationClock: GetPresentationClock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5700,8 +5700,8 @@ impl IMFClockStateSink_Vtbl { OnClockSetRate: OnClockSetRate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5774,8 +5774,8 @@ impl IMFCollection_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5855,8 +5855,8 @@ impl IMFContentDecryptionModule_Vtbl { GetProtectionSystemIds: GetProtectionSystemIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5911,8 +5911,8 @@ impl IMFContentDecryptionModuleAccess_Vtbl { GetKeySystem: GetKeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IMFContentDecryptionModuleFactory_Vtbl { CreateContentDecryptionModuleAccess: CreateContentDecryptionModuleAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6039,8 +6039,8 @@ impl IMFContentDecryptionModuleSession_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6067,8 +6067,8 @@ impl IMFContentDecryptionModuleSessionCallbacks_Vtbl { KeyStatusChanged: KeyStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6091,8 +6091,8 @@ impl IMFContentDecryptorContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeHardwareKey: InitializeHardwareKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6169,8 +6169,8 @@ impl IMFContentEnabler_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6197,8 +6197,8 @@ impl IMFContentProtectionDevice_Vtbl { GetPrivateDataByteCount: GetPrivateDataByteCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6225,8 +6225,8 @@ impl IMFContentProtectionManager_Vtbl { EndEnableContent: EndEnableContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6256,8 +6256,8 @@ impl IMFD3D12SynchronizationObject_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -6301,8 +6301,8 @@ impl IMFD3D12SynchronizationObjectCommands_Vtbl { EnqueueResourceRelease: EnqueueResourceRelease::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6322,8 +6322,8 @@ impl IMFDLNASinkInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6350,8 +6350,8 @@ impl IMFDRMNetHelper_Vtbl { GetChainedLicenseResponse: GetChainedLicenseResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6398,8 +6398,8 @@ impl IMFDXGIBuffer_Vtbl { SetUnknown: SetUnknown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6470,8 +6470,8 @@ impl IMFDXGIDeviceManager_Vtbl { UnlockDevice: UnlockDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6494,8 +6494,8 @@ impl IMFDXGIDeviceManagerSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetManager: GetManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6529,8 +6529,8 @@ impl IMFDesiredSample_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6731,8 +6731,8 @@ impl IMFDeviceTransform_Vtbl { FlushOutputStream: FlushOutputStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6749,8 +6749,8 @@ impl IMFDeviceTransformCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBufferSent: OnBufferSent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6805,8 +6805,8 @@ impl IMFExtendedCameraControl_Vtbl { CommitSettings: CommitSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6829,8 +6829,8 @@ impl IMFExtendedCameraController_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExtendedCameraControl: GetExtendedCameraControl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6870,8 +6870,8 @@ impl IMFExtendedCameraIntrinsicModel_Vtbl { GetDistortionModelType: GetDistortionModelType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6944,8 +6944,8 @@ impl IMFExtendedCameraIntrinsics_Vtbl { AddIntrinsicModel: AddIntrinsicModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6972,8 +6972,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7000,8 +7000,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7024,8 +7024,8 @@ impl IMFExtendedDRMTypeSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTypeSupportedEx: IsTypeSupportedEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7042,8 +7042,8 @@ impl IMFFieldOfUseMFTUnlock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unlock: Unlock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7070,8 +7070,8 @@ impl IMFFinalizableMediaSink_Vtbl { EndFinalize: EndFinalize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7088,8 +7088,8 @@ impl IMFGetService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7115,8 +7115,8 @@ impl IMFHDCPStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Query: Query::, Set: Set:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7286,8 +7286,8 @@ impl IMFHttpDownloadRequest_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7330,8 +7330,8 @@ impl IMFHttpDownloadSession_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7354,8 +7354,8 @@ impl IMFHttpDownloadSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateHttpDownloadSession: CreateHttpDownloadSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7389,8 +7389,8 @@ impl IMFImageSharingEngine_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7413,8 +7413,8 @@ impl IMFImageSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceFromUDN: CreateInstanceFromUDN:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7481,8 +7481,8 @@ impl IMFInputTrustAuthority_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7499,8 +7499,8 @@ impl IMFLocalMFTRegistration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterMFTs: RegisterMFTs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7560,8 +7560,8 @@ impl IMFMediaBuffer_Vtbl { GetMaxLength: GetMaxLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7913,8 +7913,8 @@ impl IMFMediaEngine_Vtbl { OnVideoStreamTick: OnVideoStreamTick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7947,8 +7947,8 @@ impl IMFMediaEngineAudioEndpointId_Vtbl { GetAudioEndpointId: GetAudioEndpointId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8000,8 +8000,8 @@ impl IMFMediaEngineClassFactory_Vtbl { CreateError: CreateError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8024,8 +8024,8 @@ impl IMFMediaEngineClassFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateMediaKeys2: CreateMediaKeys2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8054,8 +8054,8 @@ impl IMFMediaEngineClassFactory3_Vtbl { CreateMediaKeySystemAccess: CreateMediaKeySystemAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8075,8 +8075,8 @@ impl IMFMediaEngineClassFactory4_Vtbl { CreateContentDecryptionModuleFactory: CreateContentDecryptionModuleFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8131,8 +8131,8 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { IsTypeSupported: IsTypeSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8165,8 +8165,8 @@ impl IMFMediaEngineEME_Vtbl { SetMediaKeys: SetMediaKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8193,8 +8193,8 @@ impl IMFMediaEngineEMENotify_Vtbl { WaitingForKey: WaitingForKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8553,8 +8553,8 @@ impl IMFMediaEngineEx_Vtbl { EnableTimeUpdateTimer: EnableTimeUpdateTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8610,8 +8610,8 @@ impl IMFMediaEngineExtension_Vtbl { EndCreateObject: EndCreateObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8628,8 +8628,8 @@ impl IMFMediaEngineNeedKeyNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NeedKey: NeedKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8646,8 +8646,8 @@ impl IMFMediaEngineNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EventNotify: EventNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8667,8 +8667,8 @@ impl IMFMediaEngineOPMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOPMInfo: GetOPMInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8738,8 +8738,8 @@ impl IMFMediaEngineProtectedContent_Vtbl { SetApplicationCertificate: SetApplicationCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8812,8 +8812,8 @@ impl IMFMediaEngineSrcElements_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8846,8 +8846,8 @@ impl IMFMediaEngineSrcElementsEx_Vtbl { GetKeySystem: GetKeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8890,8 +8890,8 @@ impl IMFMediaEngineSupportsSourceTransfer_Vtbl { AttachMediaSource: AttachMediaSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8911,8 +8911,8 @@ impl IMFMediaEngineTransferSource_Vtbl { TransferSourceToMediaEngine: TransferSourceToMediaEngine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8955,8 +8955,8 @@ impl IMFMediaEngineWebSupport_Vtbl { DisconnectWebAudio: DisconnectWebAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8997,8 +8997,8 @@ impl IMFMediaError_Vtbl { SetExtendedErrorCode: SetExtendedErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9066,8 +9066,8 @@ impl IMFMediaEvent_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9123,8 +9123,8 @@ impl IMFMediaEventGenerator_Vtbl { QueueEvent: QueueEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9201,8 +9201,8 @@ impl IMFMediaEventQueue_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9262,8 +9262,8 @@ impl IMFMediaKeySession_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9333,8 +9333,8 @@ impl IMFMediaKeySession2_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9368,8 +9368,8 @@ impl IMFMediaKeySessionNotify_Vtbl { KeyError: KeyError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9396,8 +9396,8 @@ impl IMFMediaKeySessionNotify2_Vtbl { KeyStatusChange: KeyStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -9452,8 +9452,8 @@ impl IMFMediaKeySystemAccess_Vtbl { KeySystem: KeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9512,8 +9512,8 @@ impl IMFMediaKeys_Vtbl { GetSuspendNotify: GetSuspendNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9559,8 +9559,8 @@ impl IMFMediaKeys2_Vtbl { GetDOMException: GetDOMException::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9664,8 +9664,8 @@ impl IMFMediaSession_Vtbl { GetFullTopology: GetFullTopology::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9685,8 +9685,8 @@ impl IMFMediaSharingEngine_Vtbl { } Self { base__: IMFMediaEngine_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9709,8 +9709,8 @@ impl IMFMediaSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9822,8 +9822,8 @@ impl IMFMediaSink_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9840,8 +9840,8 @@ impl IMFMediaSinkPreroll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyPreroll: NotifyPreroll:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9911,8 +9911,8 @@ impl IMFMediaSource_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9932,8 +9932,8 @@ impl IMFMediaSource2_Vtbl { } Self { base__: IMFMediaSourceEx_Vtbl::new::(), SetMediaType: SetMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9982,8 +9982,8 @@ impl IMFMediaSourceEx_Vtbl { SetD3DManager: SetD3DManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10075,8 +10075,8 @@ impl IMFMediaSourceExtension_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10103,8 +10103,8 @@ impl IMFMediaSourceExtensionLiveSeekableRange_Vtbl { ClearLiveSeekableRange: ClearLiveSeekableRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10138,8 +10138,8 @@ impl IMFMediaSourceExtensionNotify_Vtbl { OnSourceClose: OnSourceClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10156,8 +10156,8 @@ impl IMFMediaSourcePresentationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ForceEndOfPresentation: ForceEndOfPresentation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10180,8 +10180,8 @@ impl IMFMediaSourceTopologyProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMediaSourceTopology: GetMediaSourceTopology:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10230,8 +10230,8 @@ impl IMFMediaStream_Vtbl { RequestSample: RequestSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10267,8 +10267,8 @@ impl IMFMediaStream2_Vtbl { GetStreamState: GetStreamState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10285,8 +10285,8 @@ impl IMFMediaStreamSourceSampleRequest_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSample: SetSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10356,8 +10356,8 @@ impl IMFMediaTimeRange_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10426,8 +10426,8 @@ impl IMFMediaType_Vtbl { FreeRepresentation: FreeRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10506,8 +10506,8 @@ impl IMFMediaTypeHandler_Vtbl { GetMajorType: GetMajorType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10596,8 +10596,8 @@ impl IMFMetadata_Vtbl { GetAllPropertyNames: GetAllPropertyNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10620,8 +10620,8 @@ impl IMFMetadataProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMFMetadata: GetMFMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10660,8 +10660,8 @@ impl IMFMuxStreamAttributesManager_Vtbl { GetAttributes: GetAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10740,8 +10740,8 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10787,8 +10787,8 @@ impl IMFMuxStreamSampleManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10845,8 +10845,8 @@ impl IMFNetCredential_Vtbl { LoggedOnUser: LoggedOnUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10883,8 +10883,8 @@ impl IMFNetCredentialCache_Vtbl { SetUserOptions: SetUserOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10927,8 +10927,8 @@ impl IMFNetCredentialManager_Vtbl { SetGood: SetGood::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10983,8 +10983,8 @@ impl IMFNetCrossOriginSupport_Vtbl { IsSameOrigin: IsSameOrigin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11041,8 +11041,8 @@ impl IMFNetProxyLocator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11065,8 +11065,8 @@ impl IMFNetProxyLocatorFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProxyLocator: CreateProxyLocator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11102,8 +11102,8 @@ impl IMFNetResourceFilter_Vtbl { OnSendingRequest: OnSendingRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11149,8 +11149,8 @@ impl IMFNetSchemeHandlerConfig_Vtbl { ResetProtocolRolloverSettings: ResetProtocolRolloverSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11177,8 +11177,8 @@ impl IMFObjectReferenceStream_Vtbl { LoadReference: LoadReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11233,8 +11233,8 @@ impl IMFOutputPolicy_Vtbl { GetMinimumGRLVersion: GetMinimumGRLVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11289,8 +11289,8 @@ impl IMFOutputSchema_Vtbl { GetOriginatorID: GetOriginatorID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11323,8 +11323,8 @@ impl IMFOutputTrustAuthority_Vtbl { SetPolicy: SetPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11341,8 +11341,8 @@ impl IMFPMPClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11359,8 +11359,8 @@ impl IMFPMPClientApp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11397,8 +11397,8 @@ impl IMFPMPHost_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11435,8 +11435,8 @@ impl IMFPMPHostApp_Vtbl { ActivateClassById: ActivateClassById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11470,8 +11470,8 @@ impl IMFPMPServer_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -11692,8 +11692,8 @@ impl IMFPMediaItem_Vtbl { GetMetadata: GetMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12033,8 +12033,8 @@ impl IMFPMediaPlayer_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12054,8 +12054,8 @@ impl IMFPMediaPlayerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMediaPlayerEvent: OnMediaPlayerEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12125,8 +12125,8 @@ impl IMFPluginControl_Vtbl { SetDisabled: SetDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12146,8 +12146,8 @@ impl IMFPluginControl2_Vtbl { } Self { base__: IMFPluginControl_Vtbl::new::(), SetPolicy: SetPolicy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12228,8 +12228,8 @@ impl IMFPresentationClock_Vtbl { Pause: Pause::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12292,8 +12292,8 @@ impl IMFPresentationDescriptor_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12316,8 +12316,8 @@ impl IMFPresentationTimeSource_Vtbl { } Self { base__: IMFClock_Vtbl::new::(), GetUnderlyingClock: GetUnderlyingClock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12344,8 +12344,8 @@ impl IMFProtectedEnvironmentAccess_Vtbl { ReadGRL: ReadGRL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12405,8 +12405,8 @@ impl IMFQualityAdvise_Vtbl { DropTime: DropTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12429,8 +12429,8 @@ impl IMFQualityAdvise2_Vtbl { } Self { base__: IMFQualityAdvise_Vtbl::new::(), NotifyQualityEvent: NotifyQualityEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12469,8 +12469,8 @@ impl IMFQualityAdviseLimits_Vtbl { GetMinimumQualityLevel: GetMinimumQualityLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12525,8 +12525,8 @@ impl IMFQualityManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12556,8 +12556,8 @@ impl IMFRateControl_Vtbl { GetRate: GetRate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12606,8 +12606,8 @@ impl IMFRateSupport_Vtbl { IsRateSupported: IsRateSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12634,8 +12634,8 @@ impl IMFReadWriteClassFactory_Vtbl { CreateInstanceFromObject: CreateInstanceFromObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12669,8 +12669,8 @@ impl IMFRealTimeClient_Vtbl { SetWorkQueue: SetWorkQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12704,8 +12704,8 @@ impl IMFRealTimeClientEx_Vtbl { SetWorkQueueEx: SetWorkQueueEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12728,8 +12728,8 @@ impl IMFRelativePanelReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRelativePanel: GetRelativePanel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12775,8 +12775,8 @@ impl IMFRelativePanelWatcher_Vtbl { GetReport: GetReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12793,8 +12793,8 @@ impl IMFRemoteAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12811,8 +12811,8 @@ impl IMFRemoteDesktopPlugin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateTopology: UpdateTopology:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12839,8 +12839,8 @@ impl IMFRemoteProxy_Vtbl { GetRemoteHost: GetRemoteHost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12902,8 +12902,8 @@ impl IMFSAMIStyle_Vtbl { GetSelectedStyle: GetSelectedStyle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12960,8 +12960,8 @@ impl IMFSSLCertificateManager_Vtbl { OnServerCertificate: OnServerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13117,8 +13117,8 @@ impl IMFSample_Vtbl { CopyToBuffer: CopyToBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13145,8 +13145,8 @@ impl IMFSampleAllocatorControl_Vtbl { GetAllocatorUsage: GetAllocatorUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13180,8 +13180,8 @@ impl IMFSampleGrabberSinkCallback_Vtbl { OnShutdown: OnShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13198,8 +13198,8 @@ impl IMFSampleGrabberSinkCallback2_Vtbl { } Self { base__: IMFSampleGrabberSinkCallback_Vtbl::new::(), OnProcessSampleEx: OnProcessSampleEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13233,8 +13233,8 @@ impl IMFSampleOutputStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13294,8 +13294,8 @@ impl IMFSampleProtection_Vtbl { InitInputProtection: InitInputProtection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13342,8 +13342,8 @@ impl IMFSaveJob_Vtbl { GetProgress: GetProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -13380,8 +13380,8 @@ impl IMFSchemeHandler_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13404,8 +13404,8 @@ impl IMFSecureBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13432,8 +13432,8 @@ impl IMFSecureChannel_Vtbl { SetupSession: SetupSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13453,8 +13453,8 @@ impl IMFSeekInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNearestKeyFrames: GetNearestKeyFrames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13506,8 +13506,8 @@ impl IMFSensorActivitiesReport_Vtbl { GetActivityReportByDeviceName: GetActivityReportByDeviceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13524,8 +13524,8 @@ impl IMFSensorActivitiesReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivitiesReport: OnActivitiesReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13548,8 +13548,8 @@ impl IMFSensorActivityMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13602,8 +13602,8 @@ impl IMFSensorActivityReport_Vtbl { GetProcessActivity: GetProcessActivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13721,8 +13721,8 @@ impl IMFSensorDevice_Vtbl { GetSensorDeviceMode: GetSensorDeviceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13827,8 +13827,8 @@ impl IMFSensorGroup_Vtbl { CreateMediaSource: CreateMediaSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13896,8 +13896,8 @@ impl IMFSensorProcessActivity_Vtbl { GetReportTime: GetReportTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13947,8 +13947,8 @@ impl IMFSensorProfile_Vtbl { AddBlockedControl: AddBlockedControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14015,8 +14015,8 @@ impl IMFSensorProfileCollection_Vtbl { RemoveProfile: RemoveProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14071,8 +14071,8 @@ impl IMFSensorStream_Vtbl { CloneSensorStream: CloneSensorStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14138,8 +14138,8 @@ impl IMFSensorTransformFactory_Vtbl { CreateTransform: CreateTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14193,8 +14193,8 @@ impl IMFSequencerSource_Vtbl { UpdateTopologyFlags: UpdateTopologyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14217,8 +14217,8 @@ impl IMFSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14251,8 +14251,8 @@ impl IMFShutdown_Vtbl { GetShutdownStatus: GetShutdownStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14269,8 +14269,8 @@ impl IMFSignedLibrary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProcedureAddress: GetProcedureAddress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14326,8 +14326,8 @@ impl IMFSimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14423,8 +14423,8 @@ impl IMFSinkWriter_Vtbl { GetStatistics: GetStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14451,8 +14451,8 @@ impl IMFSinkWriterCallback_Vtbl { OnMarker: OnMarker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14479,8 +14479,8 @@ impl IMFSinkWriterCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14507,8 +14507,8 @@ impl IMFSinkWriterEncoderConfig_Vtbl { PlaceEncodingParameters: PlaceEncodingParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14525,8 +14525,8 @@ impl IMFSinkWriterEx_Vtbl { } Self { base__: IMFSinkWriter_Vtbl::new::(), GetTransformForStream: GetTransformForStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14632,8 +14632,8 @@ impl IMFSourceBuffer_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14660,8 +14660,8 @@ impl IMFSourceBufferAppendMode_Vtbl { SetAppendMode: SetAppendMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14688,8 +14688,8 @@ impl IMFSourceBufferList_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14737,8 +14737,8 @@ impl IMFSourceBufferNotify_Vtbl { OnUpdateEnd: OnUpdateEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14755,8 +14755,8 @@ impl IMFSourceOpenMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSourceEvent: OnSourceEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14866,8 +14866,8 @@ impl IMFSourceReader_Vtbl { GetPresentationAttribute: GetPresentationAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14901,8 +14901,8 @@ impl IMFSourceReaderCallback_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14929,8 +14929,8 @@ impl IMFSourceReaderCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14980,8 +14980,8 @@ impl IMFSourceReaderEx_Vtbl { GetTransformForStream: GetTransformForStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -15046,8 +15046,8 @@ impl IMFSourceResolver_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -15116,8 +15116,8 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { GetMetadataItems: GetMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15166,8 +15166,8 @@ impl IMFSpatialAudioSample_Vtbl { GetSpatialAudioObjectByIndex: GetSpatialAudioObjectByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15209,8 +15209,8 @@ impl IMFStreamDescriptor_Vtbl { GetMediaTypeHandler: GetMediaTypeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15286,8 +15286,8 @@ impl IMFStreamSink_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15307,8 +15307,8 @@ impl IMFStreamingSinkConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartStreaming: StartStreaming:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15335,8 +15335,8 @@ impl IMFSystemId_Vtbl { Setup: Setup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15392,8 +15392,8 @@ impl IMFTimecodeTranslate_Vtbl { EndConvertHNSToTimecode: EndConvertHNSToTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15555,8 +15555,8 @@ impl IMFTimedText_Vtbl { IsInBandEnabled: IsInBandEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15573,8 +15573,8 @@ impl IMFTimedTextBinary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15626,8 +15626,8 @@ impl IMFTimedTextBouten_Vtbl { GetBoutenPosition: GetBoutenPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15747,8 +15747,8 @@ impl IMFTimedTextCue_Vtbl { GetLine: GetLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15828,8 +15828,8 @@ impl IMFTimedTextCueList_Vtbl { RemoveCue: RemoveCue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15869,8 +15869,8 @@ impl IMFTimedTextFormattedText_Vtbl { GetSubformatting: GetSubformatting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15935,8 +15935,8 @@ impl IMFTimedTextNotify_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16084,8 +16084,8 @@ impl IMFTimedTextRegion_Vtbl { GetScrollMode: GetScrollMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16150,8 +16150,8 @@ impl IMFTimedTextRuby_Vtbl { GetRubyReserve: GetRubyReserve::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16318,8 +16318,8 @@ impl IMFTimedTextStyle_Vtbl { GetTextOutline: GetTextOutline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16387,8 +16387,8 @@ impl IMFTimedTextStyle2_Vtbl { GetFontAngleInDegrees: GetFontAngleInDegrees::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16525,8 +16525,8 @@ impl IMFTimedTextTrack_Vtbl { GetCueList: GetCueList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16572,8 +16572,8 @@ impl IMFTimedTextTrackList_Vtbl { GetTrackById: GetTrackById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16606,8 +16606,8 @@ impl IMFTimer_Vtbl { CancelTimer: CancelTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16624,8 +16624,8 @@ impl IMFTopoLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Load: Load:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16747,8 +16747,8 @@ impl IMFTopology_Vtbl { GetOutputNodeCollection: GetOutputNodeCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16918,8 +16918,8 @@ impl IMFTopologyNode_Vtbl { CloneFrom: CloneFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16936,8 +16936,8 @@ impl IMFTopologyNodeAttributeEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateNodeAttributes: UpdateNodeAttributes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16954,8 +16954,8 @@ impl IMFTopologyServiceLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LookupService: LookupService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16982,8 +16982,8 @@ impl IMFTopologyServiceLookupClient_Vtbl { ReleaseServicePointers: ReleaseServicePointers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17000,8 +17000,8 @@ impl IMFTrackedSample_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAllocator: SetAllocator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17074,8 +17074,8 @@ impl IMFTranscodeProfile_Vtbl { GetContainerAttributes: GetContainerAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17122,8 +17122,8 @@ impl IMFTranscodeSinkInfoProvider_Vtbl { GetSinkInfo: GetSinkInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17357,8 +17357,8 @@ impl IMFTransform_Vtbl { ProcessOutput: ProcessOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17381,8 +17381,8 @@ impl IMFTrustedInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputTrustAuthority: GetInputTrustAuthority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17437,8 +17437,8 @@ impl IMFTrustedOutput_Vtbl { IsFinal: IsFinal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17458,8 +17458,8 @@ impl IMFVideoCaptureSampleAllocator_Vtbl { InitializeCaptureSampleAllocator: InitializeCaptureSampleAllocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17482,8 +17482,8 @@ impl IMFVideoDeviceID_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceID: GetDeviceID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17641,8 +17641,8 @@ impl IMFVideoDisplayControl_Vtbl { GetFullscreen: GetFullscreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17672,8 +17672,8 @@ impl IMFVideoMediaType_Vtbl { GetVideoRepresentation: GetVideoRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17717,8 +17717,8 @@ impl IMFVideoMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17771,8 +17771,8 @@ impl IMFVideoMixerControl_Vtbl { GetStreamOutputRect: GetStreamOutputRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17805,8 +17805,8 @@ impl IMFVideoMixerControl2_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17826,8 +17826,8 @@ impl IMFVideoPositionMapper_Vtbl { MapOutputCoordinateToInputStream: MapOutputCoordinateToInputStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17860,8 +17860,8 @@ impl IMFVideoPresenter_Vtbl { GetCurrentMediaType: GetCurrentMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -17997,8 +17997,8 @@ impl IMFVideoProcessor_Vtbl { SetBackgroundColor: SetBackgroundColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18056,8 +18056,8 @@ impl IMFVideoProcessorControl_Vtbl { SetConstrictionSize: SetConstrictionSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18100,8 +18100,8 @@ impl IMFVideoProcessorControl2_Vtbl { GetSupportedHardwareEffects: GetSupportedHardwareEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18151,8 +18151,8 @@ impl IMFVideoProcessorControl3_Vtbl { SetOutputDevice: SetOutputDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18169,8 +18169,8 @@ impl IMFVideoRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeRenderer: InitializeRenderer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18190,8 +18190,8 @@ impl IMFVideoRendererEffectControl_Vtbl { OnAppServiceConnectionEstablished: OnAppServiceConnectionEstablished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18238,8 +18238,8 @@ impl IMFVideoSampleAllocator_Vtbl { AllocateSample: AllocateSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18272,8 +18272,8 @@ impl IMFVideoSampleAllocatorCallback_Vtbl { GetFreeSampleCount: GetFreeSampleCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18293,8 +18293,8 @@ impl IMFVideoSampleAllocatorEx_Vtbl { InitializeSampleAllocatorEx: InitializeSampleAllocatorEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18311,8 +18311,8 @@ impl IMFVideoSampleAllocatorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18329,8 +18329,8 @@ impl IMFVideoSampleAllocatorNotifyEx_Vtbl { } Self { base__: IMFVideoSampleAllocatorNotify_Vtbl::new::(), NotifyPrune: NotifyPrune:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18441,8 +18441,8 @@ impl IMFVirtualCamera_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18557,8 +18557,8 @@ impl IMFWorkQueueServices_Vtbl { GetPlatformWorkQueueMMCSSTaskId: GetPlatformWorkQueueMMCSSTaskId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18604,8 +18604,8 @@ impl IMFWorkQueueServicesEx_Vtbl { GetPlatformWorkQueueMMCSSPriority: GetPlatformWorkQueueMMCSSPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18653,8 +18653,8 @@ impl IOPMVideoOutput_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18681,8 +18681,8 @@ impl IPlayToControl_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18705,8 +18705,8 @@ impl IPlayToControlWithCapabilities_Vtbl { } Self { base__: IPlayToControl_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18729,8 +18729,8 @@ impl IPlayToSourceClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18826,8 +18826,8 @@ impl IToc_Vtbl { RemoveEntryListByIndex: RemoveEntryListByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18881,8 +18881,8 @@ impl ITocCollection_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18951,8 +18951,8 @@ impl ITocEntry_Vtbl { GetDescriptionData: GetDescriptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19006,8 +19006,8 @@ impl ITocEntryList_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19088,8 +19088,8 @@ impl ITocParser_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19106,8 +19106,8 @@ impl IValidateBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19148,8 +19148,8 @@ impl IWMCodecLeakyBucket_Vtbl { GetBufferFullnessBits: GetBufferFullnessBits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19166,8 +19166,8 @@ impl IWMCodecOutputTimestamp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextOutputTime: GetNextOutputTime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19197,8 +19197,8 @@ impl IWMCodecPrivateData_Vtbl { GetPrivateData: GetPrivateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19228,8 +19228,8 @@ impl IWMCodecProps_Vtbl { GetCodecProp: GetCodecProp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19259,8 +19259,8 @@ impl IWMCodecStrings_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19287,8 +19287,8 @@ impl IWMColorConvProps_Vtbl { SetFullCroppingParam: SetFullCroppingParam::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19305,8 +19305,8 @@ impl IWMColorLegalizerProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColorLegalizerQuality: SetColorLegalizerQuality:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19350,8 +19350,8 @@ impl IWMFrameInterpProps_Vtbl { SetComplexityLevel: SetComplexityLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19385,8 +19385,8 @@ impl IWMInterlaceProps_Vtbl { SetLastFrame: SetLastFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19413,8 +19413,8 @@ impl IWMResamplerProps_Vtbl { SetUserChannelMtx: SetUserChannelMtx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19462,8 +19462,8 @@ impl IWMResizerProps_Vtbl { GetFullCropRegion: GetFullCropRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19483,8 +19483,8 @@ impl IWMSampleExtensionSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUseSampleExtensions: SetUseSampleExtensions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19501,8 +19501,8 @@ impl IWMValidate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIdentifier: SetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19529,8 +19529,8 @@ impl IWMVideoDecoderHurryup_Vtbl { GetHurryup: GetHurryup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19567,8 +19567,8 @@ impl IWMVideoDecoderReconBuffer_Vtbl { SetReconstructedVideoFrame: SetReconstructedVideoFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19585,8 +19585,8 @@ impl IWMVideoForceKeyFrame_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetKeyFrame: SetKeyFrame:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19596,7 +19596,7 @@ impl MFASYNCRESULT_Vtbl { pub const fn new, Impl: MFASYNCRESULT_Impl, const OFFSET: isize>() -> MFASYNCRESULT_Vtbl { Self { base__: IMFAsyncResult_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs index 68509525c3..7e5b40d6b8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -2126,6 +2126,7 @@ pub unsafe fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phd } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedMediaCapture(::windows_core::IUnknown); impl IAdvancedMediaCapture { pub unsafe fn GetAdvancedMediaCaptureSettings(&self) -> ::windows_core::Result { @@ -2134,25 +2135,9 @@ impl IAdvancedMediaCapture { } } ::windows_core::imp::interface_hierarchy!(IAdvancedMediaCapture, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAdvancedMediaCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdvancedMediaCapture {} -impl ::core::fmt::Debug for IAdvancedMediaCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdvancedMediaCapture").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAdvancedMediaCapture { type Vtable = IAdvancedMediaCapture_Vtbl; } -impl ::core::clone::Clone for IAdvancedMediaCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedMediaCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0751585_d216_4344_b5bf_463b68f977bb); } @@ -2164,6 +2149,7 @@ pub struct IAdvancedMediaCapture_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedMediaCaptureInitializationSettings(::windows_core::IUnknown); impl IAdvancedMediaCaptureInitializationSettings { pub unsafe fn SetDirectxDeviceManager(&self, value: P0) -> ::windows_core::Result<()> @@ -2174,25 +2160,9 @@ impl IAdvancedMediaCaptureInitializationSettings { } } ::windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureInitializationSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAdvancedMediaCaptureInitializationSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdvancedMediaCaptureInitializationSettings {} -impl ::core::fmt::Debug for IAdvancedMediaCaptureInitializationSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdvancedMediaCaptureInitializationSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAdvancedMediaCaptureInitializationSettings { type Vtable = IAdvancedMediaCaptureInitializationSettings_Vtbl; } -impl ::core::clone::Clone for IAdvancedMediaCaptureInitializationSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedMediaCaptureInitializationSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3de21209_8ba6_4f2a_a577_2819b56ff14d); } @@ -2204,6 +2174,7 @@ pub struct IAdvancedMediaCaptureInitializationSettings_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdvancedMediaCaptureSettings(::windows_core::IUnknown); impl IAdvancedMediaCaptureSettings { pub unsafe fn GetDirectxDeviceManager(&self) -> ::windows_core::Result { @@ -2212,25 +2183,9 @@ impl IAdvancedMediaCaptureSettings { } } ::windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAdvancedMediaCaptureSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdvancedMediaCaptureSettings {} -impl ::core::fmt::Debug for IAdvancedMediaCaptureSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdvancedMediaCaptureSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAdvancedMediaCaptureSettings { type Vtable = IAdvancedMediaCaptureSettings_Vtbl; } -impl ::core::clone::Clone for IAdvancedMediaCaptureSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdvancedMediaCaptureSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24e0485f_a33e_4aa1_b564_6019b1d14f65); } @@ -2242,6 +2197,7 @@ pub struct IAdvancedMediaCaptureSettings_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSourceProvider(::windows_core::IUnknown); impl IAudioSourceProvider { pub unsafe fn ProvideInput(&self, dwsamplecount: u32, pdwchannelcount: *mut u32, pinterleavedaudiodata: ::core::option::Option<*mut f32>) -> ::windows_core::Result<()> { @@ -2249,25 +2205,9 @@ impl IAudioSourceProvider { } } ::windows_core::imp::interface_hierarchy!(IAudioSourceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSourceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSourceProvider {} -impl ::core::fmt::Debug for IAudioSourceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSourceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSourceProvider { type Vtable = IAudioSourceProvider_Vtbl; } -impl ::core::clone::Clone for IAudioSourceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSourceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebbaf249_afc2_4582_91c6_b60df2e84954); } @@ -2279,6 +2219,7 @@ pub struct IAudioSourceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClusterDetector(::windows_core::IUnknown); impl IClusterDetector { pub unsafe fn Initialize(&self, wbaseentrylevel: u16, wclusterentrylevel: u16) -> ::windows_core::Result<()> { @@ -2293,25 +2234,9 @@ impl IClusterDetector { } } ::windows_core::imp::interface_hierarchy!(IClusterDetector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClusterDetector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClusterDetector {} -impl ::core::fmt::Debug for IClusterDetector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClusterDetector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClusterDetector { type Vtable = IClusterDetector_Vtbl; } -impl ::core::clone::Clone for IClusterDetector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClusterDetector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f07f7b7_c680_41d9_9423_915107ec9ff9); } @@ -2324,6 +2249,7 @@ pub struct IClusterDetector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodecAPI(::windows_core::IUnknown); impl ICodecAPI { pub unsafe fn IsSupported(&self, api: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -2402,25 +2328,9 @@ impl ICodecAPI { } } ::windows_core::imp::interface_hierarchy!(ICodecAPI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICodecAPI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICodecAPI {} -impl ::core::fmt::Debug for ICodecAPI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICodecAPI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICodecAPI { type Vtable = ICodecAPI_Vtbl; } -impl ::core::clone::Clone for ICodecAPI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodecAPI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x901db4c7_31ce_41a2_85dc_8fa0bf41b8da); } @@ -2474,6 +2384,7 @@ pub struct ICodecAPI_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecodeCommandList(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList { @@ -2602,20 +2513,6 @@ impl ID3D12VideoDecodeCommandList { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecodeCommandList {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecodeCommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecodeCommandList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecodeCommandList {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecodeCommandList {} @@ -2624,12 +2521,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecodeCommandList { type Vtable = ID3D12VideoDecodeCommandList_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecodeCommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecodeCommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b60536e_ad29_4e64_a269_f853837e5e53); } @@ -2683,6 +2574,7 @@ pub struct ID3D12VideoDecodeCommandList_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecodeCommandList1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList1 { @@ -2819,20 +2711,6 @@ impl ID3D12VideoDecodeCommandList1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecodeCommandList1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecodeCommandList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecodeCommandList1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecodeCommandList1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecodeCommandList1 {} @@ -2841,12 +2719,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecodeCommandList1 { type Vtable = ID3D12VideoDecodeCommandList1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecodeCommandList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecodeCommandList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd52f011b_b56e_453c_a05a_a7f311c8f472); } @@ -2863,6 +2735,7 @@ pub struct ID3D12VideoDecodeCommandList1_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecodeCommandList2(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList2 { @@ -3023,20 +2896,6 @@ impl ID3D12VideoDecodeCommandList2 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList2, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecodeCommandList2 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecodeCommandList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecodeCommandList2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecodeCommandList2 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecodeCommandList2 {} @@ -3045,12 +2904,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecodeCommandList2 { type Vtable = ID3D12VideoDecodeCommandList2_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecodeCommandList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecodeCommandList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e120880_c114_4153_8036_d247051e1729); } @@ -3075,6 +2928,7 @@ pub struct ID3D12VideoDecodeCommandList2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecodeCommandList3(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecodeCommandList3 { @@ -3240,20 +3094,6 @@ impl ID3D12VideoDecodeCommandList3 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList3, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecodeCommandList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecodeCommandList3 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecodeCommandList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecodeCommandList3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecodeCommandList3 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecodeCommandList3 {} @@ -3262,12 +3102,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecodeCommandList3 { type Vtable = ID3D12VideoDecodeCommandList3_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecodeCommandList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecodeCommandList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2aee8c37_9562_42da_8abf_61efeb2e4513); } @@ -3284,6 +3118,7 @@ pub struct ID3D12VideoDecodeCommandList3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecoder(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecoder { @@ -3330,20 +3165,6 @@ impl ID3D12VideoDecoder { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecoder, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecoder {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecoder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecoder {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecoder {} @@ -3352,12 +3173,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecoder { type Vtable = ID3D12VideoDecoder_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc59b6bdc_7720_4074_a136_17a156037470); } @@ -3371,6 +3186,7 @@ pub struct ID3D12VideoDecoder_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecoder1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecoder1 { @@ -3423,20 +3239,6 @@ impl ID3D12VideoDecoder1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecoder1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoder); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecoder1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecoder1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecoder1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecoder1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecoder1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecoder1 {} @@ -3445,12 +3247,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecoder1 { type Vtable = ID3D12VideoDecoder1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecoder1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecoder1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79a2e5fb_ccd2_469a_9fde_195d10951f7e); } @@ -3464,6 +3260,7 @@ pub struct ID3D12VideoDecoder1_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecoderHeap(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecoderHeap { @@ -3512,20 +3309,6 @@ impl ID3D12VideoDecoderHeap { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecoderHeap, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecoderHeap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecoderHeap {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecoderHeap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecoderHeap").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecoderHeap {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecoderHeap {} @@ -3534,12 +3317,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecoderHeap { type Vtable = ID3D12VideoDecoderHeap_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecoderHeap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecoderHeap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0946b7c9_ebf6_4047_bb73_8683e27dbb1f); } @@ -3556,6 +3333,7 @@ pub struct ID3D12VideoDecoderHeap_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDecoderHeap1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoDecoderHeap1 { @@ -3610,20 +3388,6 @@ impl ID3D12VideoDecoderHeap1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoDecoderHeap1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoderHeap); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoDecoderHeap1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoDecoderHeap1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoDecoderHeap1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDecoderHeap1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoDecoderHeap1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoDecoderHeap1 {} @@ -3632,12 +3396,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoDecoderHeap1 { type Vtable = ID3D12VideoDecoderHeap1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoDecoderHeap1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoDecoderHeap1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda1d98c5_539f_41b2_bf6b_1198a03b6d26); } @@ -3650,6 +3408,7 @@ pub struct ID3D12VideoDecoderHeap1_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDevice(::windows_core::IUnknown); impl ID3D12VideoDevice { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { @@ -3682,27 +3441,11 @@ impl ID3D12VideoDevice { } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ID3D12VideoDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VideoDevice {} -impl ::core::fmt::Debug for ID3D12VideoDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDevice").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VideoDevice {} unsafe impl ::core::marker::Sync for ID3D12VideoDevice {} unsafe impl ::windows_core::Interface for ID3D12VideoDevice { type Vtable = ID3D12VideoDevice_Vtbl; } -impl ::core::clone::Clone for ID3D12VideoDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VideoDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f052807_0b46_4acc_8a89_364f793718a4); } @@ -3723,6 +3466,7 @@ pub struct ID3D12VideoDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDevice1(::windows_core::IUnknown); impl ID3D12VideoDevice1 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { @@ -3775,27 +3519,11 @@ impl ID3D12VideoDevice1 { } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice1, ::windows_core::IUnknown, ID3D12VideoDevice); -impl ::core::cmp::PartialEq for ID3D12VideoDevice1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VideoDevice1 {} -impl ::core::fmt::Debug for ID3D12VideoDevice1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDevice1").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VideoDevice1 {} unsafe impl ::core::marker::Sync for ID3D12VideoDevice1 {} unsafe impl ::windows_core::Interface for ID3D12VideoDevice1 { type Vtable = ID3D12VideoDevice1_Vtbl; } -impl ::core::clone::Clone for ID3D12VideoDevice1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VideoDevice1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x981611ad_a144_4c83_9890_f30e26d658ab); } @@ -3814,6 +3542,7 @@ pub struct ID3D12VideoDevice1_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDevice2(::windows_core::IUnknown); impl ID3D12VideoDevice2 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { @@ -3914,27 +3643,11 @@ impl ID3D12VideoDevice2 { } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice2, ::windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1); -impl ::core::cmp::PartialEq for ID3D12VideoDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VideoDevice2 {} -impl ::core::fmt::Debug for ID3D12VideoDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDevice2").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VideoDevice2 {} unsafe impl ::core::marker::Sync for ID3D12VideoDevice2 {} unsafe impl ::windows_core::Interface for ID3D12VideoDevice2 { type Vtable = ID3D12VideoDevice2_Vtbl; } -impl ::core::clone::Clone for ID3D12VideoDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VideoDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf019ac49_f838_4a95_9b17_579437c8f513); } @@ -3965,6 +3678,7 @@ pub struct ID3D12VideoDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoDevice3(::windows_core::IUnknown); impl ID3D12VideoDevice3 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { @@ -4081,27 +3795,11 @@ impl ID3D12VideoDevice3 { } } ::windows_core::imp::interface_hierarchy!(ID3D12VideoDevice3, ::windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); -impl ::core::cmp::PartialEq for ID3D12VideoDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ID3D12VideoDevice3 {} -impl ::core::fmt::Debug for ID3D12VideoDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoDevice3").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for ID3D12VideoDevice3 {} unsafe impl ::core::marker::Sync for ID3D12VideoDevice3 {} unsafe impl ::windows_core::Interface for ID3D12VideoDevice3 { type Vtable = ID3D12VideoDevice3_Vtbl; } -impl ::core::clone::Clone for ID3D12VideoDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ID3D12VideoDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4243adb4_3a32_4666_973c_0ccc5625dc44); } @@ -4118,6 +3816,7 @@ pub struct ID3D12VideoDevice3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncodeCommandList(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList { @@ -4259,20 +3958,6 @@ impl ID3D12VideoEncodeCommandList { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncodeCommandList {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncodeCommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncodeCommandList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncodeCommandList {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncodeCommandList {} @@ -4281,12 +3966,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncodeCommandList { type Vtable = ID3D12VideoEncodeCommandList_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncodeCommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncodeCommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8455293a_0cbd_4831_9b39_fbdbab724723); } @@ -4348,6 +4027,7 @@ pub struct ID3D12VideoEncodeCommandList_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncodeCommandList1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList1 { @@ -4505,20 +4185,6 @@ impl ID3D12VideoEncodeCommandList1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncodeCommandList1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncodeCommandList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncodeCommandList1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncodeCommandList1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncodeCommandList1 {} @@ -4527,12 +4193,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncodeCommandList1 { type Vtable = ID3D12VideoEncodeCommandList1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncodeCommandList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncodeCommandList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94971eca_2bdb_4769_88cf_3675ea757ebc); } @@ -4553,6 +4213,7 @@ pub struct ID3D12VideoEncodeCommandList1_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncodeCommandList2(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList2 { @@ -4724,20 +4385,6 @@ impl ID3D12VideoEncodeCommandList2 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList2, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncodeCommandList2 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncodeCommandList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncodeCommandList2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncodeCommandList2 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncodeCommandList2 {} @@ -4746,12 +4393,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncodeCommandList2 { type Vtable = ID3D12VideoEncodeCommandList2_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncodeCommandList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncodeCommandList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x895491e2_e701_46a9_9a1f_8d3480ed867a); } @@ -4772,6 +4413,7 @@ pub struct ID3D12VideoEncodeCommandList2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncodeCommandList3(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncodeCommandList3 { @@ -4948,20 +4590,6 @@ impl ID3D12VideoEncodeCommandList3 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList3, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncodeCommandList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncodeCommandList3 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncodeCommandList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncodeCommandList3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncodeCommandList3 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncodeCommandList3 {} @@ -4970,12 +4598,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncodeCommandList3 { type Vtable = ID3D12VideoEncodeCommandList3_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncodeCommandList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncodeCommandList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f027b22_1515_4e85_aa0d_026486580576); } @@ -4992,6 +4614,7 @@ pub struct ID3D12VideoEncodeCommandList3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncoder(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncoder { @@ -5056,20 +4679,6 @@ impl ID3D12VideoEncoder { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncoder, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncoder {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncoder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncoder {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncoder {} @@ -5078,12 +4687,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncoder { type Vtable = ID3D12VideoEncoder_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e0d212d_8df9_44a6_a770_bb289b182737); } @@ -5106,6 +4709,7 @@ pub struct ID3D12VideoEncoder_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoEncoderHeap(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoEncoderHeap { @@ -5168,20 +4772,6 @@ impl ID3D12VideoEncoderHeap { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoEncoderHeap, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoEncoderHeap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoEncoderHeap {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoEncoderHeap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoEncoderHeap").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoEncoderHeap {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoEncoderHeap {} @@ -5190,12 +4780,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoEncoderHeap { type Vtable = ID3D12VideoEncoderHeap_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoEncoderHeap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoEncoderHeap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22b35d96_876a_44c0_b25e_fb8c9c7f1c4a); } @@ -5215,6 +4799,7 @@ pub struct ID3D12VideoEncoderHeap_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoExtensionCommand(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoExtensionCommand { @@ -5267,20 +4852,6 @@ impl ID3D12VideoExtensionCommand { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoExtensionCommand, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoExtensionCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoExtensionCommand {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoExtensionCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoExtensionCommand").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoExtensionCommand {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoExtensionCommand {} @@ -5289,12 +4860,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoExtensionCommand { type Vtable = ID3D12VideoExtensionCommand_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoExtensionCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoExtensionCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x554e41e8_ae8e_4a8c_b7d2_5b4f274a30e4); } @@ -5309,6 +4874,7 @@ pub struct ID3D12VideoExtensionCommand_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoMotionEstimator(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoMotionEstimator { @@ -5363,20 +4929,6 @@ impl ID3D12VideoMotionEstimator { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoMotionEstimator, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoMotionEstimator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoMotionEstimator {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoMotionEstimator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoMotionEstimator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoMotionEstimator {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoMotionEstimator {} @@ -5385,12 +4937,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoMotionEstimator { type Vtable = ID3D12VideoMotionEstimator_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoMotionEstimator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoMotionEstimator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33fdae0e_098b_428f_87bb_34b695de08f8); } @@ -5408,6 +4954,7 @@ pub struct ID3D12VideoMotionEstimator_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoMotionVectorHeap(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoMotionVectorHeap { @@ -5462,20 +5009,6 @@ impl ID3D12VideoMotionVectorHeap { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoMotionVectorHeap, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoMotionVectorHeap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoMotionVectorHeap {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoMotionVectorHeap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoMotionVectorHeap").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoMotionVectorHeap {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoMotionVectorHeap {} @@ -5484,12 +5017,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoMotionVectorHeap { type Vtable = ID3D12VideoMotionVectorHeap_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoMotionVectorHeap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoMotionVectorHeap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5be17987_743a_4061_834b_23d22daea505); } @@ -5507,6 +5034,7 @@ pub struct ID3D12VideoMotionVectorHeap_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessCommandList(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList { @@ -5635,20 +5163,6 @@ impl ID3D12VideoProcessCommandList { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessCommandList {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessCommandList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessCommandList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessCommandList {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessCommandList {} @@ -5657,12 +5171,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessCommandList { type Vtable = ID3D12VideoProcessCommandList_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessCommandList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessCommandList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeb2543a_167f_4682_acc8_d159ed4a6209); } @@ -5716,6 +5224,7 @@ pub struct ID3D12VideoProcessCommandList_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessCommandList1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList1 { @@ -5852,20 +5361,6 @@ impl ID3D12VideoProcessCommandList1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessCommandList1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessCommandList1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessCommandList1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessCommandList1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessCommandList1 {} @@ -5874,12 +5369,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessCommandList1 { type Vtable = ID3D12VideoProcessCommandList1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessCommandList1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessCommandList1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x542c5c4d_7596_434f_8c93_4efa6766f267); } @@ -5896,6 +5385,7 @@ pub struct ID3D12VideoProcessCommandList1_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessCommandList2(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList2 { @@ -6056,20 +5546,6 @@ impl ID3D12VideoProcessCommandList2 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList2, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessCommandList2 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessCommandList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessCommandList2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessCommandList2 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessCommandList2 {} @@ -6078,12 +5554,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessCommandList2 { type Vtable = ID3D12VideoProcessCommandList2_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessCommandList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessCommandList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb525ae4_6ad6_473c_baa7_59b2e37082e4); } @@ -6108,6 +5578,7 @@ pub struct ID3D12VideoProcessCommandList2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessCommandList3(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessCommandList3 { @@ -6273,20 +5744,6 @@ impl ID3D12VideoProcessCommandList3 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList3, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessCommandList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessCommandList3 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessCommandList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessCommandList3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessCommandList3 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessCommandList3 {} @@ -6295,12 +5752,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessCommandList3 { type Vtable = ID3D12VideoProcessCommandList3_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessCommandList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessCommandList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a0a4ca4_9f08_40ce_9558_b411fd2666ff); } @@ -6317,6 +5768,7 @@ pub struct ID3D12VideoProcessCommandList3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessor(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessor { @@ -6376,20 +5828,6 @@ impl ID3D12VideoProcessor { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessor, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessor {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessor {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessor {} @@ -6398,12 +5836,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessor { type Vtable = ID3D12VideoProcessor_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x304fdb32_bede_410a_8545_943ac6a46138); } @@ -6426,6 +5858,7 @@ pub struct ID3D12VideoProcessor_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`*"] #[cfg(feature = "Win32_Graphics_Direct3D12")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12VideoProcessor1(::windows_core::IUnknown); #[cfg(feature = "Win32_Graphics_Direct3D12")] impl ID3D12VideoProcessor1 { @@ -6491,20 +5924,6 @@ impl ID3D12VideoProcessor1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] ::windows_core::imp::interface_hierarchy!(ID3D12VideoProcessor1, ::windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoProcessor); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for ID3D12VideoProcessor1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for ID3D12VideoProcessor1 {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for ID3D12VideoProcessor1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ID3D12VideoProcessor1").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Send for ID3D12VideoProcessor1 {} #[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::core::marker::Sync for ID3D12VideoProcessor1 {} @@ -6513,12 +5932,6 @@ unsafe impl ::windows_core::Interface for ID3D12VideoProcessor1 { type Vtable = ID3D12VideoProcessor1_Vtbl; } #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for ID3D12VideoProcessor1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] unsafe impl ::windows_core::ComInterface for ID3D12VideoProcessor1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3cfe615_553f_425c_86d8_ee8c1b1fb01c); } @@ -6531,6 +5944,7 @@ pub struct ID3D12VideoProcessor1_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXVAHD_Device(::windows_core::IUnknown); impl IDXVAHD_Device { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -6571,25 +5985,9 @@ impl IDXVAHD_Device { } } ::windows_core::imp::interface_hierarchy!(IDXVAHD_Device, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXVAHD_Device { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXVAHD_Device {} -impl ::core::fmt::Debug for IDXVAHD_Device { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXVAHD_Device").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXVAHD_Device { type Vtable = IDXVAHD_Device_Vtbl; } -impl ::core::clone::Clone for IDXVAHD_Device { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXVAHD_Device { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95f12dfd_d77e_49be_815f_57d579634d6d); } @@ -6623,6 +6021,7 @@ pub struct IDXVAHD_Device_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDXVAHD_VideoProcessor(::windows_core::IUnknown); impl IDXVAHD_VideoProcessor { pub unsafe fn SetVideoProcessBltState(&self, state: DXVAHD_BLT_STATE, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -6647,25 +6046,9 @@ impl IDXVAHD_VideoProcessor { } } ::windows_core::imp::interface_hierarchy!(IDXVAHD_VideoProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDXVAHD_VideoProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDXVAHD_VideoProcessor {} -impl ::core::fmt::Debug for IDXVAHD_VideoProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDXVAHD_VideoProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDXVAHD_VideoProcessor { type Vtable = IDXVAHD_VideoProcessor_Vtbl; } -impl ::core::clone::Clone for IDXVAHD_VideoProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDXVAHD_VideoProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95f4edf4_6e03_4cd7_be1b_3075d665aa52); } @@ -6684,6 +6067,7 @@ pub struct IDXVAHD_VideoProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3D9ExOverlayExtension(::windows_core::IUnknown); impl IDirect3D9ExOverlayExtension { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -6693,25 +6077,9 @@ impl IDirect3D9ExOverlayExtension { } } ::windows_core::imp::interface_hierarchy!(IDirect3D9ExOverlayExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3D9ExOverlayExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3D9ExOverlayExtension {} -impl ::core::fmt::Debug for IDirect3D9ExOverlayExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3D9ExOverlayExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3D9ExOverlayExtension { type Vtable = IDirect3D9ExOverlayExtension_Vtbl; } -impl ::core::clone::Clone for IDirect3D9ExOverlayExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3D9ExOverlayExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x187aeb13_aaf5_4c59_876d_e059088c0df8); } @@ -6726,6 +6094,7 @@ pub struct IDirect3D9ExOverlayExtension_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DAuthenticatedChannel9(::windows_core::IUnknown); impl IDirect3DAuthenticatedChannel9 { pub unsafe fn GetCertificateSize(&self, pcertificatesize: *mut u32) -> ::windows_core::Result<()> { @@ -6747,25 +6116,9 @@ impl IDirect3DAuthenticatedChannel9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DAuthenticatedChannel9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DAuthenticatedChannel9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DAuthenticatedChannel9 {} -impl ::core::fmt::Debug for IDirect3DAuthenticatedChannel9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DAuthenticatedChannel9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DAuthenticatedChannel9 { type Vtable = IDirect3DAuthenticatedChannel9_Vtbl; } -impl ::core::clone::Clone for IDirect3DAuthenticatedChannel9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DAuthenticatedChannel9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff24beee_da21_4beb_98b5_d2f899f98af9); } @@ -6784,6 +6137,7 @@ pub struct IDirect3DAuthenticatedChannel9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DCryptoSession9(::windows_core::IUnknown); impl IDirect3DCryptoSession9 { pub unsafe fn GetCertificateSize(&self, pcertificatesize: *mut u32) -> ::windows_core::Result<()> { @@ -6832,25 +6186,9 @@ impl IDirect3DCryptoSession9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DCryptoSession9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DCryptoSession9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DCryptoSession9 {} -impl ::core::fmt::Debug for IDirect3DCryptoSession9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DCryptoSession9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DCryptoSession9 { type Vtable = IDirect3DCryptoSession9_Vtbl; } -impl ::core::clone::Clone for IDirect3DCryptoSession9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DCryptoSession9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa0ab799_7a9c_48ca_8c5b_237e71a54434); } @@ -6879,6 +6217,7 @@ pub struct IDirect3DCryptoSession9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDevice9Video(::windows_core::IUnknown); impl IDirect3DDevice9Video { pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: *const ::windows_core::GUID, pdecodeprofile: *const ::windows_core::GUID, pcaps: *mut D3DCONTENTPROTECTIONCAPS) -> ::windows_core::Result<()> { @@ -6896,25 +6235,9 @@ impl IDirect3DDevice9Video { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDevice9Video, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DDevice9Video { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDevice9Video {} -impl ::core::fmt::Debug for IDirect3DDevice9Video { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDevice9Video").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDevice9Video { type Vtable = IDirect3DDevice9Video_Vtbl; } -impl ::core::clone::Clone for IDirect3DDevice9Video { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDevice9Video { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26dc4561_a1ee_4ae7_96da_118a36c0ec95); } @@ -6934,6 +6257,7 @@ pub struct IDirect3DDevice9Video_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDeviceManager9(::windows_core::IUnknown); impl IDirect3DDeviceManager9 { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -6994,25 +6318,9 @@ impl IDirect3DDeviceManager9 { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDeviceManager9, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DDeviceManager9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDeviceManager9 {} -impl ::core::fmt::Debug for IDirect3DDeviceManager9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDeviceManager9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDeviceManager9 { type Vtable = IDirect3DDeviceManager9_Vtbl; } -impl ::core::clone::Clone for IDirect3DDeviceManager9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDeviceManager9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0cade0f_06d5_4cf4_a1c7_f3cdd725aa75); } @@ -7051,6 +6359,7 @@ pub struct IDirect3DDeviceManager9_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoAccelerationService(::windows_core::IUnknown); impl IDirectXVideoAccelerationService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -7060,25 +6369,9 @@ impl IDirectXVideoAccelerationService { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoAccelerationService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectXVideoAccelerationService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoAccelerationService {} -impl ::core::fmt::Debug for IDirectXVideoAccelerationService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoAccelerationService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoAccelerationService { type Vtable = IDirectXVideoAccelerationService_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoAccelerationService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoAccelerationService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc51a550_d5e7_11d9_af55_00054e43ff02); } @@ -7093,6 +6386,7 @@ pub struct IDirectXVideoAccelerationService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoDecoder(::windows_core::IUnknown); impl IDirectXVideoDecoder { pub unsafe fn GetVideoDecoderService(&self) -> ::windows_core::Result { @@ -7128,25 +6422,9 @@ impl IDirectXVideoDecoder { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoDecoder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectXVideoDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoDecoder {} -impl ::core::fmt::Debug for IDirectXVideoDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoDecoder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoDecoder { type Vtable = IDirectXVideoDecoder_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoDecoder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2b0810a_fd00_43c9_918c_df94e2d8ef7d); } @@ -7173,6 +6451,7 @@ pub struct IDirectXVideoDecoder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoDecoderService(::windows_core::IUnknown); impl IDirectXVideoDecoderService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -7201,25 +6480,9 @@ impl IDirectXVideoDecoderService { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoDecoderService, ::windows_core::IUnknown, IDirectXVideoAccelerationService); -impl ::core::cmp::PartialEq for IDirectXVideoDecoderService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoDecoderService {} -impl ::core::fmt::Debug for IDirectXVideoDecoderService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoDecoderService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoDecoderService { type Vtable = IDirectXVideoDecoderService_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoDecoderService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoDecoderService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc51a551_d5e7_11d9_af55_00054e43ff02); } @@ -7243,6 +6506,7 @@ pub struct IDirectXVideoDecoderService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoMemoryConfiguration(::windows_core::IUnknown); impl IDirectXVideoMemoryConfiguration { pub unsafe fn GetAvailableSurfaceTypeByIndex(&self, dwtypeindex: u32) -> ::windows_core::Result { @@ -7254,25 +6518,9 @@ impl IDirectXVideoMemoryConfiguration { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoMemoryConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectXVideoMemoryConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoMemoryConfiguration {} -impl ::core::fmt::Debug for IDirectXVideoMemoryConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoMemoryConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoMemoryConfiguration { type Vtable = IDirectXVideoMemoryConfiguration_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoMemoryConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoMemoryConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7f916dd_db3b_49c1_84d7_e45ef99ec726); } @@ -7285,6 +6533,7 @@ pub struct IDirectXVideoMemoryConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoProcessor(::windows_core::IUnknown); impl IDirectXVideoProcessor { pub unsafe fn GetVideoProcessorService(&self) -> ::windows_core::Result { @@ -7319,25 +6568,9 @@ impl IDirectXVideoProcessor { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectXVideoProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoProcessor {} -impl ::core::fmt::Debug for IDirectXVideoProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoProcessor { type Vtable = IDirectXVideoProcessor_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c3a39f0_916e_4690_804f_4c8001355d25); } @@ -7363,6 +6596,7 @@ pub struct IDirectXVideoProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectXVideoProcessorService(::windows_core::IUnknown); impl IDirectXVideoProcessorService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`*"] @@ -7413,25 +6647,9 @@ impl IDirectXVideoProcessorService { } } ::windows_core::imp::interface_hierarchy!(IDirectXVideoProcessorService, ::windows_core::IUnknown, IDirectXVideoAccelerationService); -impl ::core::cmp::PartialEq for IDirectXVideoProcessorService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectXVideoProcessorService {} -impl ::core::fmt::Debug for IDirectXVideoProcessorService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectXVideoProcessorService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectXVideoProcessorService { type Vtable = IDirectXVideoProcessorService_Vtbl; } -impl ::core::clone::Clone for IDirectXVideoProcessorService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectXVideoProcessorService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc51a552_d5e7_11d9_af55_00054e43ff02); } @@ -7471,6 +6689,7 @@ pub struct IDirectXVideoProcessorService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEVRFilterConfig(::windows_core::IUnknown); impl IEVRFilterConfig { pub unsafe fn SetNumberOfStreams(&self, dwmaxstreams: u32) -> ::windows_core::Result<()> { @@ -7482,25 +6701,9 @@ impl IEVRFilterConfig { } } ::windows_core::imp::interface_hierarchy!(IEVRFilterConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEVRFilterConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEVRFilterConfig {} -impl ::core::fmt::Debug for IEVRFilterConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEVRFilterConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEVRFilterConfig { type Vtable = IEVRFilterConfig_Vtbl; } -impl ::core::clone::Clone for IEVRFilterConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEVRFilterConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83e91e85_82c1_4ea7_801d_85dc50b75086); } @@ -7513,6 +6716,7 @@ pub struct IEVRFilterConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEVRFilterConfigEx(::windows_core::IUnknown); impl IEVRFilterConfigEx { pub unsafe fn SetNumberOfStreams(&self, dwmaxstreams: u32) -> ::windows_core::Result<()> { @@ -7531,25 +6735,9 @@ impl IEVRFilterConfigEx { } } ::windows_core::imp::interface_hierarchy!(IEVRFilterConfigEx, ::windows_core::IUnknown, IEVRFilterConfig); -impl ::core::cmp::PartialEq for IEVRFilterConfigEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEVRFilterConfigEx {} -impl ::core::fmt::Debug for IEVRFilterConfigEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEVRFilterConfigEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEVRFilterConfigEx { type Vtable = IEVRFilterConfigEx_Vtbl; } -impl ::core::clone::Clone for IEVRFilterConfigEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEVRFilterConfigEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaea36028_796d_454f_beee_b48071e24304); } @@ -7562,6 +6750,7 @@ pub struct IEVRFilterConfigEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEVRTrustedVideoPlugin(::windows_core::IUnknown); impl IEVRTrustedVideoPlugin { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7589,25 +6778,9 @@ impl IEVRTrustedVideoPlugin { } } ::windows_core::imp::interface_hierarchy!(IEVRTrustedVideoPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEVRTrustedVideoPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEVRTrustedVideoPlugin {} -impl ::core::fmt::Debug for IEVRTrustedVideoPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEVRTrustedVideoPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEVRTrustedVideoPlugin { type Vtable = IEVRTrustedVideoPlugin_Vtbl; } -impl ::core::clone::Clone for IEVRTrustedVideoPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEVRTrustedVideoPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83a4ce40_7710_494b_a893_a472049af630); } @@ -7631,6 +6804,7 @@ pub struct IEVRTrustedVideoPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEVRVideoStreamControl(::windows_core::IUnknown); impl IEVRVideoStreamControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7649,25 +6823,9 @@ impl IEVRVideoStreamControl { } } ::windows_core::imp::interface_hierarchy!(IEVRVideoStreamControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEVRVideoStreamControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEVRVideoStreamControl {} -impl ::core::fmt::Debug for IEVRVideoStreamControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEVRVideoStreamControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEVRVideoStreamControl { type Vtable = IEVRVideoStreamControl_Vtbl; } -impl ::core::clone::Clone for IEVRVideoStreamControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEVRVideoStreamControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0cfe38b_93e7_4772_8957_0400c49a4485); } @@ -7686,6 +6844,7 @@ pub struct IEVRVideoStreamControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileClient(::windows_core::IUnknown); impl IFileClient { pub unsafe fn GetObjectDiskSize(&self, pqwsize: *mut u64) -> ::windows_core::Result<()> { @@ -7705,25 +6864,9 @@ impl IFileClient { } } ::windows_core::imp::interface_hierarchy!(IFileClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileClient {} -impl ::core::fmt::Debug for IFileClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileClient { type Vtable = IFileClient_Vtbl; } -impl ::core::clone::Clone for IFileClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfccd196_1244_4840_ab44_480975c4ffe4); } @@ -7737,6 +6880,7 @@ pub struct IFileClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileIo(::windows_core::IUnknown); impl IFileIo { pub unsafe fn Initialize(&self, eaccessmode: FILE_ACCESSMODE, eopenmode: FILE_OPENMODE, pwszfilename: P0) -> ::windows_core::Result<()> @@ -7776,25 +6920,9 @@ impl IFileIo { } } ::windows_core::imp::interface_hierarchy!(IFileIo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileIo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileIo {} -impl ::core::fmt::Debug for IFileIo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileIo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileIo { type Vtable = IFileIo_Vtbl; } -impl ::core::clone::Clone for IFileIo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileIo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11993196_1244_4840_ab44_480975c4ffe4); } @@ -7818,6 +6946,7 @@ pub struct IFileIo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMF2DBuffer(::windows_core::IUnknown); impl IMF2DBuffer { pub unsafe fn Lock2D(&self, ppbscanline0: *mut *mut u8, plpitch: *mut i32) -> ::windows_core::Result<()> { @@ -7847,25 +6976,9 @@ impl IMF2DBuffer { } } ::windows_core::imp::interface_hierarchy!(IMF2DBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMF2DBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMF2DBuffer {} -impl ::core::fmt::Debug for IMF2DBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMF2DBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMF2DBuffer { type Vtable = IMF2DBuffer_Vtbl; } -impl ::core::clone::Clone for IMF2DBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMF2DBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dc9d5f9_9ed9_44ec_9bbf_0600bb589fbb); } @@ -7886,6 +6999,7 @@ pub struct IMF2DBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMF2DBuffer2(::windows_core::IUnknown); impl IMF2DBuffer2 { pub unsafe fn Lock2D(&self, ppbscanline0: *mut *mut u8, plpitch: *mut i32) -> ::windows_core::Result<()> { @@ -7924,25 +7038,9 @@ impl IMF2DBuffer2 { } } ::windows_core::imp::interface_hierarchy!(IMF2DBuffer2, ::windows_core::IUnknown, IMF2DBuffer); -impl ::core::cmp::PartialEq for IMF2DBuffer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMF2DBuffer2 {} -impl ::core::fmt::Debug for IMF2DBuffer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMF2DBuffer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMF2DBuffer2 { type Vtable = IMF2DBuffer2_Vtbl; } -impl ::core::clone::Clone for IMF2DBuffer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMF2DBuffer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ae5ea6_4316_436f_8ddd_d73d22f829ec); } @@ -7955,6 +7053,7 @@ pub struct IMF2DBuffer2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFContentInfo(::windows_core::IUnknown); impl IMFASFContentInfo { pub unsafe fn GetHeaderSize(&self, pistartofcontent: P0) -> ::windows_core::Result @@ -7999,25 +7098,9 @@ impl IMFASFContentInfo { } } ::windows_core::imp::interface_hierarchy!(IMFASFContentInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFContentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFContentInfo {} -impl ::core::fmt::Debug for IMFASFContentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFContentInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFContentInfo { type Vtable = IMFASFContentInfo_Vtbl; } -impl ::core::clone::Clone for IMFASFContentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFContentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1dca5cd_d5da_4451_8e9e_db5c59914ead); } @@ -8038,6 +7121,7 @@ pub struct IMFASFContentInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFIndexer(::windows_core::IUnknown); impl IMFASFIndexer { pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -8109,25 +7193,9 @@ impl IMFASFIndexer { } } ::windows_core::imp::interface_hierarchy!(IMFASFIndexer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFIndexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFIndexer {} -impl ::core::fmt::Debug for IMFASFIndexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFIndexer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFIndexer { type Vtable = IMFASFIndexer_Vtbl; } -impl ::core::clone::Clone for IMFASFIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFIndexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53590f48_dc3b_4297_813f_787761ad7b3e); } @@ -8160,6 +7228,7 @@ pub struct IMFASFIndexer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFMultiplexer(::windows_core::IUnknown); impl IMFASFMultiplexer { pub unsafe fn Initialize(&self, picontentinfo: P0) -> ::windows_core::Result<()> @@ -8202,25 +7271,9 @@ impl IMFASFMultiplexer { } } ::windows_core::imp::interface_hierarchy!(IMFASFMultiplexer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFMultiplexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFMultiplexer {} -impl ::core::fmt::Debug for IMFASFMultiplexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFMultiplexer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFMultiplexer { type Vtable = IMFASFMultiplexer_Vtbl; } -impl ::core::clone::Clone for IMFASFMultiplexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFMultiplexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57bdd80a_9b38_4838_b737_c58f670d7d4f); } @@ -8240,6 +7293,7 @@ pub struct IMFASFMultiplexer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFMutualExclusion(::windows_core::IUnknown); impl IMFASFMutualExclusion { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -8275,25 +7329,9 @@ impl IMFASFMutualExclusion { } } ::windows_core::imp::interface_hierarchy!(IMFASFMutualExclusion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFMutualExclusion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFMutualExclusion {} -impl ::core::fmt::Debug for IMFASFMutualExclusion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFMutualExclusion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFMutualExclusion { type Vtable = IMFASFMutualExclusion_Vtbl; } -impl ::core::clone::Clone for IMFASFMutualExclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFMutualExclusion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12558291_e399_11d5_bc2a_00b0d0f3f4ab); } @@ -8313,6 +7351,7 @@ pub struct IMFASFMutualExclusion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFProfile(::windows_core::IUnknown); impl IMFASFProfile { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -8512,25 +7551,9 @@ impl IMFASFProfile { } } ::windows_core::imp::interface_hierarchy!(IMFASFProfile, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFASFProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFProfile {} -impl ::core::fmt::Debug for IMFASFProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFProfile { type Vtable = IMFASFProfile_Vtbl; } -impl ::core::clone::Clone for IMFASFProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd267bf6a_028b_4e0d_903d_43f0ef82d0d4); } @@ -8557,6 +7580,7 @@ pub struct IMFASFProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFSplitter(::windows_core::IUnknown); impl IMFASFSplitter { pub unsafe fn Initialize(&self, picontentinfo: P0) -> ::windows_core::Result<()> @@ -8596,25 +7620,9 @@ impl IMFASFSplitter { } } ::windows_core::imp::interface_hierarchy!(IMFASFSplitter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFSplitter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFSplitter {} -impl ::core::fmt::Debug for IMFASFSplitter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFSplitter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFSplitter { type Vtable = IMFASFSplitter_Vtbl; } -impl ::core::clone::Clone for IMFASFSplitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFSplitter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12558295_e399_11d5_bc2a_00b0d0f3f4ab); } @@ -8634,6 +7642,7 @@ pub struct IMFASFSplitter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFStreamConfig(::windows_core::IUnknown); impl IMFASFStreamConfig { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -8801,25 +7810,9 @@ impl IMFASFStreamConfig { } } ::windows_core::imp::interface_hierarchy!(IMFASFStreamConfig, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFASFStreamConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFStreamConfig {} -impl ::core::fmt::Debug for IMFASFStreamConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFStreamConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFStreamConfig { type Vtable = IMFASFStreamConfig_Vtbl; } -impl ::core::clone::Clone for IMFASFStreamConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFStreamConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e8ae8d2_dbbd_4200_9aca_06e6df484913); } @@ -8840,6 +7833,7 @@ pub struct IMFASFStreamConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFStreamPrioritization(::windows_core::IUnknown); impl IMFASFStreamPrioritization { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -8861,25 +7855,9 @@ impl IMFASFStreamPrioritization { } } ::windows_core::imp::interface_hierarchy!(IMFASFStreamPrioritization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFStreamPrioritization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFStreamPrioritization {} -impl ::core::fmt::Debug for IMFASFStreamPrioritization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFStreamPrioritization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFStreamPrioritization { type Vtable = IMFASFStreamPrioritization_Vtbl; } -impl ::core::clone::Clone for IMFASFStreamPrioritization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFStreamPrioritization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x699bdc27_bbaf_49ff_8e38_9c39c9b5e088); } @@ -8895,6 +7873,7 @@ pub struct IMFASFStreamPrioritization_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFASFStreamSelector(::windows_core::IUnknown); impl IMFASFStreamSelector { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -8951,25 +7930,9 @@ impl IMFASFStreamSelector { } } ::windows_core::imp::interface_hierarchy!(IMFASFStreamSelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFASFStreamSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFASFStreamSelector {} -impl ::core::fmt::Debug for IMFASFStreamSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFASFStreamSelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFASFStreamSelector { type Vtable = IMFASFStreamSelector_Vtbl; } -impl ::core::clone::Clone for IMFASFStreamSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFASFStreamSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd01bad4a_4fa0_4a60_9349_c27e62da9d41); } @@ -8994,6 +7957,7 @@ pub struct IMFASFStreamSelector_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFActivate(::windows_core::IUnknown); impl IMFActivate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -9137,25 +8101,9 @@ impl IMFActivate { } } ::windows_core::imp::interface_hierarchy!(IMFActivate, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFActivate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFActivate {} -impl ::core::fmt::Debug for IMFActivate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFActivate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFActivate { type Vtable = IMFActivate_Vtbl; } -impl ::core::clone::Clone for IMFActivate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFActivate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fee9e9a_4a89_47a6_899c_b6a53a70fb67); } @@ -9169,6 +8117,7 @@ pub struct IMFActivate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAsyncCallback(::windows_core::IUnknown); impl IMFAsyncCallback { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> ::windows_core::Result<()> { @@ -9182,25 +8131,9 @@ impl IMFAsyncCallback { } } ::windows_core::imp::interface_hierarchy!(IMFAsyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFAsyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAsyncCallback {} -impl ::core::fmt::Debug for IMFAsyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAsyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAsyncCallback { type Vtable = IMFAsyncCallback_Vtbl; } -impl ::core::clone::Clone for IMFAsyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAsyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); } @@ -9213,6 +8146,7 @@ pub struct IMFAsyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAsyncCallbackLogging(::windows_core::IUnknown); impl IMFAsyncCallbackLogging { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> ::windows_core::Result<()> { @@ -9232,25 +8166,9 @@ impl IMFAsyncCallbackLogging { } } ::windows_core::imp::interface_hierarchy!(IMFAsyncCallbackLogging, ::windows_core::IUnknown, IMFAsyncCallback); -impl ::core::cmp::PartialEq for IMFAsyncCallbackLogging { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAsyncCallbackLogging {} -impl ::core::fmt::Debug for IMFAsyncCallbackLogging { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAsyncCallbackLogging").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAsyncCallbackLogging { type Vtable = IMFAsyncCallbackLogging_Vtbl; } -impl ::core::clone::Clone for IMFAsyncCallbackLogging { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAsyncCallbackLogging { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7a4dca1_f5f0_47b6_b92b_bf0106d25791); } @@ -9263,6 +8181,7 @@ pub struct IMFAsyncCallbackLogging_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAsyncResult(::windows_core::IUnknown); impl IMFAsyncResult { pub unsafe fn GetState(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -9284,25 +8203,9 @@ impl IMFAsyncResult { } } ::windows_core::imp::interface_hierarchy!(IMFAsyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFAsyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAsyncResult {} -impl ::core::fmt::Debug for IMFAsyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAsyncResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAsyncResult { type Vtable = IMFAsyncResult_Vtbl; } -impl ::core::clone::Clone for IMFAsyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAsyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac6b7889_0740_4d51_8619_905994a55cc6); } @@ -9318,6 +8221,7 @@ pub struct IMFAsyncResult_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAttributes(::windows_core::IUnknown); impl IMFAttributes { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -9448,25 +8352,9 @@ impl IMFAttributes { } } ::windows_core::imp::interface_hierarchy!(IMFAttributes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAttributes {} -impl ::core::fmt::Debug for IMFAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAttributes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAttributes { type Vtable = IMFAttributes_Vtbl; } -impl ::core::clone::Clone for IMFAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd2d921_c447_44a7_a13c_4adabfc247e3); } @@ -9522,6 +8410,7 @@ pub struct IMFAttributes_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAudioMediaType(::windows_core::IUnknown); impl IMFAudioMediaType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -9680,25 +8569,9 @@ impl IMFAudioMediaType { } } ::windows_core::imp::interface_hierarchy!(IMFAudioMediaType, ::windows_core::IUnknown, IMFAttributes, IMFMediaType); -impl ::core::cmp::PartialEq for IMFAudioMediaType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAudioMediaType {} -impl ::core::fmt::Debug for IMFAudioMediaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAudioMediaType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAudioMediaType { type Vtable = IMFAudioMediaType_Vtbl; } -impl ::core::clone::Clone for IMFAudioMediaType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAudioMediaType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26a0adc3_ce26_4672_9304_69552edd3faf); } @@ -9713,6 +8586,7 @@ pub struct IMFAudioMediaType_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAudioPolicy(::windows_core::IUnknown); impl IMFAudioPolicy { pub unsafe fn SetGroupingParam(&self, rguidclass: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -9744,25 +8618,9 @@ impl IMFAudioPolicy { } } ::windows_core::imp::interface_hierarchy!(IMFAudioPolicy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFAudioPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAudioPolicy {} -impl ::core::fmt::Debug for IMFAudioPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAudioPolicy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAudioPolicy { type Vtable = IMFAudioPolicy_Vtbl; } -impl ::core::clone::Clone for IMFAudioPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAudioPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0638c2b_6465_4395_9ae7_a321a9fd2856); } @@ -9779,6 +8637,7 @@ pub struct IMFAudioPolicy_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFAudioStreamVolume(::windows_core::IUnknown); impl IMFAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> ::windows_core::Result { @@ -9800,25 +8659,9 @@ impl IMFAudioStreamVolume { } } ::windows_core::imp::interface_hierarchy!(IMFAudioStreamVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFAudioStreamVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFAudioStreamVolume {} -impl ::core::fmt::Debug for IMFAudioStreamVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFAudioStreamVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFAudioStreamVolume { type Vtable = IMFAudioStreamVolume_Vtbl; } -impl ::core::clone::Clone for IMFAudioStreamVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFAudioStreamVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76b1bbdb_4ec8_4f36_b106_70a9316df593); } @@ -9834,6 +8677,7 @@ pub struct IMFAudioStreamVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFBufferListNotify(::windows_core::IUnknown); impl IMFBufferListNotify { pub unsafe fn OnAddSourceBuffer(&self) { @@ -9844,25 +8688,9 @@ impl IMFBufferListNotify { } } ::windows_core::imp::interface_hierarchy!(IMFBufferListNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFBufferListNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFBufferListNotify {} -impl ::core::fmt::Debug for IMFBufferListNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFBufferListNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFBufferListNotify { type Vtable = IMFBufferListNotify_Vtbl; } -impl ::core::clone::Clone for IMFBufferListNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFBufferListNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24cd47f7_81d8_4785_adb2_af697a963cd2); } @@ -9875,6 +8703,7 @@ pub struct IMFBufferListNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStream(::windows_core::IUnknown); impl IMFByteStream { pub unsafe fn GetCapabilities(&self) -> ::windows_core::Result { @@ -9948,25 +8777,9 @@ impl IMFByteStream { } } ::windows_core::imp::interface_hierarchy!(IMFByteStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStream {} -impl ::core::fmt::Debug for IMFByteStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStream { type Vtable = IMFByteStream_Vtbl; } -impl ::core::clone::Clone for IMFByteStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad4c1b00_4bf7_422f_9175_756693d9130d); } @@ -9995,6 +8808,7 @@ pub struct IMFByteStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamBuffering(::windows_core::IUnknown); impl IMFByteStreamBuffering { pub unsafe fn SetBufferingParams(&self, pparams: *const MFBYTESTREAM_BUFFERING_PARAMS) -> ::windows_core::Result<()> { @@ -10013,25 +8827,9 @@ impl IMFByteStreamBuffering { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamBuffering, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStreamBuffering { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamBuffering {} -impl ::core::fmt::Debug for IMFByteStreamBuffering { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamBuffering").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamBuffering { type Vtable = IMFByteStreamBuffering_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamBuffering { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamBuffering { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d66d782_1d4f_4db7_8c63_cb8c77f1ef5e); } @@ -10048,6 +8846,7 @@ pub struct IMFByteStreamBuffering_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamCacheControl(::windows_core::IUnknown); impl IMFByteStreamCacheControl { pub unsafe fn StopBackgroundTransfer(&self) -> ::windows_core::Result<()> { @@ -10055,25 +8854,9 @@ impl IMFByteStreamCacheControl { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStreamCacheControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamCacheControl {} -impl ::core::fmt::Debug for IMFByteStreamCacheControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamCacheControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamCacheControl { type Vtable = IMFByteStreamCacheControl_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamCacheControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamCacheControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5042ea4_7a96_4a75_aa7b_2be1ef7f88d5); } @@ -10085,6 +8868,7 @@ pub struct IMFByteStreamCacheControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamCacheControl2(::windows_core::IUnknown); impl IMFByteStreamCacheControl2 { pub unsafe fn StopBackgroundTransfer(&self) -> ::windows_core::Result<()> { @@ -10104,25 +8888,9 @@ impl IMFByteStreamCacheControl2 { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl2, ::windows_core::IUnknown, IMFByteStreamCacheControl); -impl ::core::cmp::PartialEq for IMFByteStreamCacheControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamCacheControl2 {} -impl ::core::fmt::Debug for IMFByteStreamCacheControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamCacheControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamCacheControl2 { type Vtable = IMFByteStreamCacheControl2_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamCacheControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamCacheControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71ce469c_f34b_49ea_a56b_2d2a10e51149); } @@ -10139,6 +8907,7 @@ pub struct IMFByteStreamCacheControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamHandler(::windows_core::IUnknown); impl IMFByteStreamHandler { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -10171,25 +8940,9 @@ impl IMFByteStreamHandler { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStreamHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamHandler {} -impl ::core::fmt::Debug for IMFByteStreamHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamHandler { type Vtable = IMFByteStreamHandler_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb420aa4_765b_4a1f_91fe_d6a8a143924c); } @@ -10207,6 +8960,7 @@ pub struct IMFByteStreamHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamProxyClassFactory(::windows_core::IUnknown); impl IMFByteStreamProxyClassFactory { pub unsafe fn CreateByteStreamProxy(&self, pbytestream: P0, pattributes: P1) -> ::windows_core::Result @@ -10220,25 +8974,9 @@ impl IMFByteStreamProxyClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamProxyClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStreamProxyClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamProxyClassFactory {} -impl ::core::fmt::Debug for IMFByteStreamProxyClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamProxyClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamProxyClassFactory { type Vtable = IMFByteStreamProxyClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamProxyClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamProxyClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6b43f84_5c0a_42e8_a44d_b1857a76992f); } @@ -10250,6 +8988,7 @@ pub struct IMFByteStreamProxyClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFByteStreamTimeSeek(::windows_core::IUnknown); impl IMFByteStreamTimeSeek { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10266,25 +9005,9 @@ impl IMFByteStreamTimeSeek { } } ::windows_core::imp::interface_hierarchy!(IMFByteStreamTimeSeek, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFByteStreamTimeSeek { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFByteStreamTimeSeek {} -impl ::core::fmt::Debug for IMFByteStreamTimeSeek { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFByteStreamTimeSeek").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFByteStreamTimeSeek { type Vtable = IMFByteStreamTimeSeek_Vtbl; } -impl ::core::clone::Clone for IMFByteStreamTimeSeek { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFByteStreamTimeSeek { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64976bfa_fb61_4041_9069_8c9a5f659beb); } @@ -10301,6 +9024,7 @@ pub struct IMFByteStreamTimeSeek_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraConfigurationManager(::windows_core::IUnknown); impl IMFCameraConfigurationManager { pub unsafe fn LoadDefaults(&self, cameraattributes: P0) -> ::windows_core::Result @@ -10321,25 +9045,9 @@ impl IMFCameraConfigurationManager { } } ::windows_core::imp::interface_hierarchy!(IMFCameraConfigurationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraConfigurationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraConfigurationManager {} -impl ::core::fmt::Debug for IMFCameraConfigurationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraConfigurationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraConfigurationManager { type Vtable = IMFCameraConfigurationManager_Vtbl; } -impl ::core::clone::Clone for IMFCameraConfigurationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraConfigurationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa624f617_4704_4206_8a6d_ebda4a093985); } @@ -10353,6 +9061,7 @@ pub struct IMFCameraConfigurationManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraControlDefaults(::windows_core::IUnknown); impl IMFCameraControlDefaults { pub unsafe fn GetType(&self) -> MF_CAMERA_CONTROL_CONFIGURATION_TYPE { @@ -10370,25 +9079,9 @@ impl IMFCameraControlDefaults { } } ::windows_core::imp::interface_hierarchy!(IMFCameraControlDefaults, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraControlDefaults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraControlDefaults {} -impl ::core::fmt::Debug for IMFCameraControlDefaults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraControlDefaults").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraControlDefaults { type Vtable = IMFCameraControlDefaults_Vtbl; } -impl ::core::clone::Clone for IMFCameraControlDefaults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraControlDefaults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75510662_b034_48f4_88a7_8de61daa4af9); } @@ -10403,6 +9096,7 @@ pub struct IMFCameraControlDefaults_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraControlDefaultsCollection(::windows_core::IUnknown); impl IMFCameraControlDefaultsCollection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -10554,25 +9248,9 @@ impl IMFCameraControlDefaultsCollection { } } ::windows_core::imp::interface_hierarchy!(IMFCameraControlDefaultsCollection, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFCameraControlDefaultsCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraControlDefaultsCollection {} -impl ::core::fmt::Debug for IMFCameraControlDefaultsCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraControlDefaultsCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraControlDefaultsCollection { type Vtable = IMFCameraControlDefaultsCollection_Vtbl; } -impl ::core::clone::Clone for IMFCameraControlDefaultsCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraControlDefaultsCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92d43d0f_54a8_4bae_96da_356d259a5c26); } @@ -10589,6 +9267,7 @@ pub struct IMFCameraControlDefaultsCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraControlMonitor(::windows_core::IUnknown); impl IMFCameraControlMonitor { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -10608,25 +9287,9 @@ impl IMFCameraControlMonitor { } } ::windows_core::imp::interface_hierarchy!(IMFCameraControlMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraControlMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraControlMonitor {} -impl ::core::fmt::Debug for IMFCameraControlMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraControlMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraControlMonitor { type Vtable = IMFCameraControlMonitor_Vtbl; } -impl ::core::clone::Clone for IMFCameraControlMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraControlMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d46f2c9_28ba_4970_8c7b_1f0c9d80af69); } @@ -10642,6 +9305,7 @@ pub struct IMFCameraControlMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraControlNotify(::windows_core::IUnknown); impl IMFCameraControlNotify { pub unsafe fn OnChange(&self, controlset: *const ::windows_core::GUID, id: u32) { @@ -10652,25 +9316,9 @@ impl IMFCameraControlNotify { } } ::windows_core::imp::interface_hierarchy!(IMFCameraControlNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraControlNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraControlNotify {} -impl ::core::fmt::Debug for IMFCameraControlNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraControlNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraControlNotify { type Vtable = IMFCameraControlNotify_Vtbl; } -impl ::core::clone::Clone for IMFCameraControlNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraControlNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8f2540d_558a_4449_8b64_4863467a9fe8); } @@ -10683,6 +9331,7 @@ pub struct IMFCameraControlNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraOcclusionStateMonitor(::windows_core::IUnknown); impl IMFCameraOcclusionStateMonitor { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -10696,25 +9345,9 @@ impl IMFCameraOcclusionStateMonitor { } } ::windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraOcclusionStateMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraOcclusionStateMonitor {} -impl ::core::fmt::Debug for IMFCameraOcclusionStateMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraOcclusionStateMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraOcclusionStateMonitor { type Vtable = IMFCameraOcclusionStateMonitor_Vtbl; } -impl ::core::clone::Clone for IMFCameraOcclusionStateMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraOcclusionStateMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc692f46_c697_47e2_a72d_7b064617749b); } @@ -10728,6 +9361,7 @@ pub struct IMFCameraOcclusionStateMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraOcclusionStateReport(::windows_core::IUnknown); impl IMFCameraOcclusionStateReport { pub unsafe fn GetOcclusionState(&self) -> ::windows_core::Result { @@ -10736,25 +9370,9 @@ impl IMFCameraOcclusionStateReport { } } ::windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraOcclusionStateReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraOcclusionStateReport {} -impl ::core::fmt::Debug for IMFCameraOcclusionStateReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraOcclusionStateReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraOcclusionStateReport { type Vtable = IMFCameraOcclusionStateReport_Vtbl; } -impl ::core::clone::Clone for IMFCameraOcclusionStateReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraOcclusionStateReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1640b2cf_74da_4462_a43b_b76d3bdc1434); } @@ -10766,6 +9384,7 @@ pub struct IMFCameraOcclusionStateReport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraOcclusionStateReportCallback(::windows_core::IUnknown); impl IMFCameraOcclusionStateReportCallback { pub unsafe fn OnOcclusionStateReport(&self, occlusionstatereport: P0) -> ::windows_core::Result<()> @@ -10776,25 +9395,9 @@ impl IMFCameraOcclusionStateReportCallback { } } ::windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReportCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraOcclusionStateReportCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraOcclusionStateReportCallback {} -impl ::core::fmt::Debug for IMFCameraOcclusionStateReportCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraOcclusionStateReportCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraOcclusionStateReportCallback { type Vtable = IMFCameraOcclusionStateReportCallback_Vtbl; } -impl ::core::clone::Clone for IMFCameraOcclusionStateReportCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraOcclusionStateReportCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e5841c7_3889_4019_9035_783fb19b5948); } @@ -10806,6 +9409,7 @@ pub struct IMFCameraOcclusionStateReportCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCameraSyncObject(::windows_core::IUnknown); impl IMFCameraSyncObject { pub unsafe fn WaitOnSignal(&self, timeoutinms: u32) -> ::windows_core::Result<()> { @@ -10816,25 +9420,9 @@ impl IMFCameraSyncObject { } } ::windows_core::imp::interface_hierarchy!(IMFCameraSyncObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCameraSyncObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCameraSyncObject {} -impl ::core::fmt::Debug for IMFCameraSyncObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCameraSyncObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCameraSyncObject { type Vtable = IMFCameraSyncObject_Vtbl; } -impl ::core::clone::Clone for IMFCameraSyncObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCameraSyncObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6338b23a_3042_49d2_a3ea_ec0fed815407); } @@ -10847,6 +9435,7 @@ pub struct IMFCameraSyncObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureEngine(::windows_core::IUnknown); impl IMFCaptureEngine { pub unsafe fn Initialize(&self, peventcallback: P0, pattributes: P1, paudiosource: P2, pvideosource: P3) -> ::windows_core::Result<()> @@ -10889,25 +9478,9 @@ impl IMFCaptureEngine { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureEngine {} -impl ::core::fmt::Debug for IMFCaptureEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureEngine { type Vtable = IMFCaptureEngine_Vtbl; } -impl ::core::clone::Clone for IMFCaptureEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6bba433_176b_48b2_b375_53aa03473207); } @@ -10929,6 +9502,7 @@ pub struct IMFCaptureEngine_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureEngineClassFactory(::windows_core::IUnknown); impl IMFCaptureEngineClassFactory { pub unsafe fn CreateInstance(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -10940,25 +9514,9 @@ impl IMFCaptureEngineClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngineClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureEngineClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureEngineClassFactory {} -impl ::core::fmt::Debug for IMFCaptureEngineClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureEngineClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureEngineClassFactory { type Vtable = IMFCaptureEngineClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFCaptureEngineClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureEngineClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f02d140_56fc_4302_a705_3a97c78be779); } @@ -10970,6 +9528,7 @@ pub struct IMFCaptureEngineClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureEngineOnEventCallback(::windows_core::IUnknown); impl IMFCaptureEngineOnEventCallback { pub unsafe fn OnEvent(&self, pevent: P0) -> ::windows_core::Result<()> @@ -10980,25 +9539,9 @@ impl IMFCaptureEngineOnEventCallback { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnEventCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureEngineOnEventCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureEngineOnEventCallback {} -impl ::core::fmt::Debug for IMFCaptureEngineOnEventCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureEngineOnEventCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureEngineOnEventCallback { type Vtable = IMFCaptureEngineOnEventCallback_Vtbl; } -impl ::core::clone::Clone for IMFCaptureEngineOnEventCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureEngineOnEventCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeda51c0_9025_4983_9012_de597b88b089); } @@ -11010,6 +9553,7 @@ pub struct IMFCaptureEngineOnEventCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureEngineOnSampleCallback(::windows_core::IUnknown); impl IMFCaptureEngineOnSampleCallback { pub unsafe fn OnSample(&self, psample: P0) -> ::windows_core::Result<()> @@ -11020,25 +9564,9 @@ impl IMFCaptureEngineOnSampleCallback { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureEngineOnSampleCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureEngineOnSampleCallback {} -impl ::core::fmt::Debug for IMFCaptureEngineOnSampleCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureEngineOnSampleCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureEngineOnSampleCallback { type Vtable = IMFCaptureEngineOnSampleCallback_Vtbl; } -impl ::core::clone::Clone for IMFCaptureEngineOnSampleCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureEngineOnSampleCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52150b82_ab39_4467_980f_e48bf0822ecd); } @@ -11050,6 +9578,7 @@ pub struct IMFCaptureEngineOnSampleCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureEngineOnSampleCallback2(::windows_core::IUnknown); impl IMFCaptureEngineOnSampleCallback2 { pub unsafe fn OnSample(&self, psample: P0) -> ::windows_core::Result<()> @@ -11066,25 +9595,9 @@ impl IMFCaptureEngineOnSampleCallback2 { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback2, ::windows_core::IUnknown, IMFCaptureEngineOnSampleCallback); -impl ::core::cmp::PartialEq for IMFCaptureEngineOnSampleCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureEngineOnSampleCallback2 {} -impl ::core::fmt::Debug for IMFCaptureEngineOnSampleCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureEngineOnSampleCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureEngineOnSampleCallback2 { type Vtable = IMFCaptureEngineOnSampleCallback2_Vtbl; } -impl ::core::clone::Clone for IMFCaptureEngineOnSampleCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureEngineOnSampleCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe37ceed7_340f_4514_9f4d_9c2ae026100b); } @@ -11096,6 +9609,7 @@ pub struct IMFCaptureEngineOnSampleCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCapturePhotoConfirmation(::windows_core::IUnknown); impl IMFCapturePhotoConfirmation { pub unsafe fn SetPhotoConfirmationCallback(&self, pnotificationcallback: P0) -> ::windows_core::Result<()> @@ -11113,25 +9627,9 @@ impl IMFCapturePhotoConfirmation { } } ::windows_core::imp::interface_hierarchy!(IMFCapturePhotoConfirmation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCapturePhotoConfirmation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCapturePhotoConfirmation {} -impl ::core::fmt::Debug for IMFCapturePhotoConfirmation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCapturePhotoConfirmation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCapturePhotoConfirmation { type Vtable = IMFCapturePhotoConfirmation_Vtbl; } -impl ::core::clone::Clone for IMFCapturePhotoConfirmation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCapturePhotoConfirmation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19f68549_ca8a_4706_a4ef_481dbc95e12c); } @@ -11145,6 +9643,7 @@ pub struct IMFCapturePhotoConfirmation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCapturePhotoSink(::windows_core::IUnknown); impl IMFCapturePhotoSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11186,25 +9685,9 @@ impl IMFCapturePhotoSink { } } ::windows_core::imp::interface_hierarchy!(IMFCapturePhotoSink, ::windows_core::IUnknown, IMFCaptureSink); -impl ::core::cmp::PartialEq for IMFCapturePhotoSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCapturePhotoSink {} -impl ::core::fmt::Debug for IMFCapturePhotoSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCapturePhotoSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCapturePhotoSink { type Vtable = IMFCapturePhotoSink_Vtbl; } -impl ::core::clone::Clone for IMFCapturePhotoSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCapturePhotoSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2d43cc8_48bb_4aa7_95db_10c06977e777); } @@ -11218,6 +9701,7 @@ pub struct IMFCapturePhotoSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCapturePreviewSink(::windows_core::IUnknown); impl IMFCapturePreviewSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11293,25 +9777,9 @@ impl IMFCapturePreviewSink { } } ::windows_core::imp::interface_hierarchy!(IMFCapturePreviewSink, ::windows_core::IUnknown, IMFCaptureSink); -impl ::core::cmp::PartialEq for IMFCapturePreviewSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCapturePreviewSink {} -impl ::core::fmt::Debug for IMFCapturePreviewSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCapturePreviewSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCapturePreviewSink { type Vtable = IMFCapturePreviewSink_Vtbl; } -impl ::core::clone::Clone for IMFCapturePreviewSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCapturePreviewSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77346cfd_5b49_4d73_ace0_5b52a859f2e0); } @@ -11343,6 +9811,7 @@ pub struct IMFCapturePreviewSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureRecordSink(::windows_core::IUnknown); impl IMFCaptureRecordSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11397,25 +9866,9 @@ impl IMFCaptureRecordSink { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureRecordSink, ::windows_core::IUnknown, IMFCaptureSink); -impl ::core::cmp::PartialEq for IMFCaptureRecordSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureRecordSink {} -impl ::core::fmt::Debug for IMFCaptureRecordSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureRecordSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureRecordSink { type Vtable = IMFCaptureRecordSink_Vtbl; } -impl ::core::clone::Clone for IMFCaptureRecordSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureRecordSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3323b55a_f92a_4fe2_8edc_e9bfc0634d77); } @@ -11432,6 +9885,7 @@ pub struct IMFCaptureRecordSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureSink(::windows_core::IUnknown); impl IMFCaptureSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11455,25 +9909,9 @@ impl IMFCaptureSink { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureSink {} -impl ::core::fmt::Debug for IMFCaptureSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureSink { type Vtable = IMFCaptureSink_Vtbl; } -impl ::core::clone::Clone for IMFCaptureSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72d6135b_35e9_412c_b926_fd5265f2a885); } @@ -11489,6 +9927,7 @@ pub struct IMFCaptureSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureSink2(::windows_core::IUnknown); impl IMFCaptureSink2 { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11519,25 +9958,9 @@ impl IMFCaptureSink2 { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureSink2, ::windows_core::IUnknown, IMFCaptureSink); -impl ::core::cmp::PartialEq for IMFCaptureSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureSink2 {} -impl ::core::fmt::Debug for IMFCaptureSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureSink2 { type Vtable = IMFCaptureSink2_Vtbl; } -impl ::core::clone::Clone for IMFCaptureSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9e4219e_6197_4b5e_b888_bee310ab2c59); } @@ -11549,6 +9972,7 @@ pub struct IMFCaptureSink2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCaptureSource(::windows_core::IUnknown); impl IMFCaptureSource { pub unsafe fn GetCaptureDeviceSource(&self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE, ppmediasource: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> { @@ -11616,25 +10040,9 @@ impl IMFCaptureSource { } } ::windows_core::imp::interface_hierarchy!(IMFCaptureSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCaptureSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCaptureSource {} -impl ::core::fmt::Debug for IMFCaptureSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCaptureSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCaptureSource { type Vtable = IMFCaptureSource_Vtbl; } -impl ::core::clone::Clone for IMFCaptureSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCaptureSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x439a42a8_0d2c_4505_be83_f79b2a05d5c4); } @@ -11665,6 +10073,7 @@ pub struct IMFCaptureSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCdmSuspendNotify(::windows_core::IUnknown); impl IMFCdmSuspendNotify { pub unsafe fn Begin(&self) -> ::windows_core::Result<()> { @@ -11675,25 +10084,9 @@ impl IMFCdmSuspendNotify { } } ::windows_core::imp::interface_hierarchy!(IMFCdmSuspendNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCdmSuspendNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCdmSuspendNotify {} -impl ::core::fmt::Debug for IMFCdmSuspendNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCdmSuspendNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCdmSuspendNotify { type Vtable = IMFCdmSuspendNotify_Vtbl; } -impl ::core::clone::Clone for IMFCdmSuspendNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCdmSuspendNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a5645d2_43bd_47fd_87b7_dcd24cc7d692); } @@ -11706,6 +10099,7 @@ pub struct IMFCdmSuspendNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFClock(::windows_core::IUnknown); impl IMFClock { pub unsafe fn GetClockCharacteristics(&self) -> ::windows_core::Result { @@ -11728,25 +10122,9 @@ impl IMFClock { } } ::windows_core::imp::interface_hierarchy!(IMFClock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFClock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFClock {} -impl ::core::fmt::Debug for IMFClock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFClock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFClock { type Vtable = IMFClock_Vtbl; } -impl ::core::clone::Clone for IMFClock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFClock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2eb1e945_18b8_4139_9b1a_d5d584818530); } @@ -11762,6 +10140,7 @@ pub struct IMFClock_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFClockConsumer(::windows_core::IUnknown); impl IMFClockConsumer { pub unsafe fn SetPresentationClock(&self, ppresentationclock: P0) -> ::windows_core::Result<()> @@ -11776,25 +10155,9 @@ impl IMFClockConsumer { } } ::windows_core::imp::interface_hierarchy!(IMFClockConsumer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFClockConsumer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFClockConsumer {} -impl ::core::fmt::Debug for IMFClockConsumer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFClockConsumer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFClockConsumer { type Vtable = IMFClockConsumer_Vtbl; } -impl ::core::clone::Clone for IMFClockConsumer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFClockConsumer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ef2a662_47c0_4666_b13d_cbb717f2fa2c); } @@ -11807,6 +10170,7 @@ pub struct IMFClockConsumer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFClockStateSink(::windows_core::IUnknown); impl IMFClockStateSink { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> ::windows_core::Result<()> { @@ -11826,24 +10190,8 @@ impl IMFClockStateSink { } } ::windows_core::imp::interface_hierarchy!(IMFClockStateSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFClockStateSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFClockStateSink {} -impl ::core::fmt::Debug for IMFClockStateSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFClockStateSink").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFClockStateSink { - type Vtable = IMFClockStateSink_Vtbl; -} -impl ::core::clone::Clone for IMFClockStateSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFClockStateSink { + type Vtable = IMFClockStateSink_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFClockStateSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6696e82_74f7_4f3d_a178_8a5e09c3659f); @@ -11860,6 +10208,7 @@ pub struct IMFClockStateSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFCollection(::windows_core::IUnknown); impl IMFCollection { pub unsafe fn GetElementCount(&self) -> ::windows_core::Result { @@ -11891,25 +10240,9 @@ impl IMFCollection { } } ::windows_core::imp::interface_hierarchy!(IMFCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFCollection {} -impl ::core::fmt::Debug for IMFCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFCollection { type Vtable = IMFCollection_Vtbl; } -impl ::core::clone::Clone for IMFCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bc8a76b_869a_46a3_9b03_fa218a66aebe); } @@ -11926,6 +10259,7 @@ pub struct IMFCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptionModule(::windows_core::IUnknown); impl IMFContentDecryptionModule { pub unsafe fn SetContentEnabler(&self, contentenabler: P0, result: P1) -> ::windows_core::Result<()> @@ -11964,25 +10298,9 @@ impl IMFContentDecryptionModule { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptionModule, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptionModule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptionModule {} -impl ::core::fmt::Debug for IMFContentDecryptionModule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptionModule").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptionModule { type Vtable = IMFContentDecryptionModule_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptionModule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptionModule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87be986c_10be_4943_bf48_4b54ce1983a2); } @@ -12000,6 +10318,7 @@ pub struct IMFContentDecryptionModule_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptionModuleAccess(::windows_core::IUnknown); impl IMFContentDecryptionModuleAccess { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -12023,25 +10342,9 @@ impl IMFContentDecryptionModuleAccess { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptionModuleAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptionModuleAccess {} -impl ::core::fmt::Debug for IMFContentDecryptionModuleAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptionModuleAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptionModuleAccess { type Vtable = IMFContentDecryptionModuleAccess_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptionModuleAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptionModuleAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa853d1f4_e2a0_4303_9edc_f1a68ee43136); } @@ -12061,6 +10364,7 @@ pub struct IMFContentDecryptionModuleAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptionModuleFactory(::windows_core::IUnknown); impl IMFContentDecryptionModuleFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12083,25 +10387,9 @@ impl IMFContentDecryptionModuleFactory { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptionModuleFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptionModuleFactory {} -impl ::core::fmt::Debug for IMFContentDecryptionModuleFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptionModuleFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptionModuleFactory { type Vtable = IMFContentDecryptionModuleFactory_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptionModuleFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptionModuleFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d5abf16_4cbb_4e08_b977_9ba59049943e); } @@ -12120,6 +10408,7 @@ pub struct IMFContentDecryptionModuleFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptionModuleSession(::windows_core::IUnknown); impl IMFContentDecryptionModuleSession { pub unsafe fn GetSessionId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -12159,25 +10448,9 @@ impl IMFContentDecryptionModuleSession { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptionModuleSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptionModuleSession {} -impl ::core::fmt::Debug for IMFContentDecryptionModuleSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptionModuleSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptionModuleSession { type Vtable = IMFContentDecryptionModuleSession_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptionModuleSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptionModuleSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e233efd_1dd2_49e8_b577_d63eee4c0d33); } @@ -12199,6 +10472,7 @@ pub struct IMFContentDecryptionModuleSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptionModuleSessionCallbacks(::windows_core::IUnknown); impl IMFContentDecryptionModuleSessionCallbacks { pub unsafe fn KeyMessage(&self, messagetype: MF_MEDIAKEYSESSION_MESSAGETYPE, message: &[u8], destinationurl: P0) -> ::windows_core::Result<()> @@ -12212,25 +10486,9 @@ impl IMFContentDecryptionModuleSessionCallbacks { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSessionCallbacks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptionModuleSessionCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptionModuleSessionCallbacks {} -impl ::core::fmt::Debug for IMFContentDecryptionModuleSessionCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptionModuleSessionCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptionModuleSessionCallbacks { type Vtable = IMFContentDecryptionModuleSessionCallbacks_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptionModuleSessionCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptionModuleSessionCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f96ee40_ad81_4096_8470_59a4b770f89a); } @@ -12243,6 +10501,7 @@ pub struct IMFContentDecryptionModuleSessionCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentDecryptorContext(::windows_core::IUnknown); impl IMFContentDecryptorContext { pub unsafe fn InitializeHardwareKey(&self, inputprivatedata: ::core::option::Option<&[u8]>) -> ::windows_core::Result { @@ -12251,25 +10510,9 @@ impl IMFContentDecryptorContext { } } ::windows_core::imp::interface_hierarchy!(IMFContentDecryptorContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentDecryptorContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentDecryptorContext {} -impl ::core::fmt::Debug for IMFContentDecryptorContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentDecryptorContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentDecryptorContext { type Vtable = IMFContentDecryptorContext_Vtbl; } -impl ::core::clone::Clone for IMFContentDecryptorContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentDecryptorContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ec4b1bd_43fb_4763_85d2_64fcb5c5f4cb); } @@ -12281,6 +10524,7 @@ pub struct IMFContentDecryptorContext_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentEnabler(::windows_core::IUnknown); impl IMFContentEnabler { pub unsafe fn GetEnableType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -12310,25 +10554,9 @@ impl IMFContentEnabler { } } ::windows_core::imp::interface_hierarchy!(IMFContentEnabler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentEnabler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentEnabler {} -impl ::core::fmt::Debug for IMFContentEnabler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentEnabler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentEnabler { type Vtable = IMFContentEnabler_Vtbl; } -impl ::core::clone::Clone for IMFContentEnabler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentEnabler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3c4ef59_49ce_4381_9071_d5bcd044c770); } @@ -12349,6 +10577,7 @@ pub struct IMFContentEnabler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentProtectionDevice(::windows_core::IUnknown); impl IMFContentProtectionDevice { pub unsafe fn InvokeFunction(&self, functionid: u32, inputbuffer: &[u8], outputbufferbytecount: *mut u32, outputbuffer: *mut u8) -> ::windows_core::Result<()> { @@ -12359,25 +10588,9 @@ impl IMFContentProtectionDevice { } } ::windows_core::imp::interface_hierarchy!(IMFContentProtectionDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentProtectionDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentProtectionDevice {} -impl ::core::fmt::Debug for IMFContentProtectionDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentProtectionDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentProtectionDevice { type Vtable = IMFContentProtectionDevice_Vtbl; } -impl ::core::clone::Clone for IMFContentProtectionDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentProtectionDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6257174_a060_4c9a_a088_3b1b471cad28); } @@ -12390,6 +10603,7 @@ pub struct IMFContentProtectionDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFContentProtectionManager(::windows_core::IUnknown); impl IMFContentProtectionManager { pub unsafe fn BeginEnableContent(&self, penableractivate: P0, ptopo: P1, pcallback: P2, punkstate: P3) -> ::windows_core::Result<()> @@ -12409,25 +10623,9 @@ impl IMFContentProtectionManager { } } ::windows_core::imp::interface_hierarchy!(IMFContentProtectionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFContentProtectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFContentProtectionManager {} -impl ::core::fmt::Debug for IMFContentProtectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFContentProtectionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFContentProtectionManager { type Vtable = IMFContentProtectionManager_Vtbl; } -impl ::core::clone::Clone for IMFContentProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFContentProtectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacf92459_6a61_42bd_b57c_b43e51203cb0); } @@ -12440,6 +10638,7 @@ pub struct IMFContentProtectionManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFD3D12SynchronizationObject(::windows_core::IUnknown); impl IMFD3D12SynchronizationObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12455,25 +10654,9 @@ impl IMFD3D12SynchronizationObject { } } ::windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFD3D12SynchronizationObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFD3D12SynchronizationObject {} -impl ::core::fmt::Debug for IMFD3D12SynchronizationObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFD3D12SynchronizationObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFD3D12SynchronizationObject { type Vtable = IMFD3D12SynchronizationObject_Vtbl; } -impl ::core::clone::Clone for IMFD3D12SynchronizationObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFD3D12SynchronizationObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x802302b0_82de_45e1_b421_f19ee5bdaf23); } @@ -12489,6 +10672,7 @@ pub struct IMFD3D12SynchronizationObject_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFD3D12SynchronizationObjectCommands(::windows_core::IUnknown); impl IMFD3D12SynchronizationObjectCommands { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -12525,25 +10709,9 @@ impl IMFD3D12SynchronizationObjectCommands { } } ::windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObjectCommands, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFD3D12SynchronizationObjectCommands { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFD3D12SynchronizationObjectCommands {} -impl ::core::fmt::Debug for IMFD3D12SynchronizationObjectCommands { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFD3D12SynchronizationObjectCommands").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFD3D12SynchronizationObjectCommands { type Vtable = IMFD3D12SynchronizationObjectCommands_Vtbl; } -impl ::core::clone::Clone for IMFD3D12SynchronizationObjectCommands { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFD3D12SynchronizationObjectCommands { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09d0f835_92ff_4e53_8efa_40faa551f233); } @@ -12570,6 +10738,7 @@ pub struct IMFD3D12SynchronizationObjectCommands_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDLNASinkInit(::windows_core::IUnknown); impl IMFDLNASinkInit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12583,25 +10752,9 @@ impl IMFDLNASinkInit { } } ::windows_core::imp::interface_hierarchy!(IMFDLNASinkInit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDLNASinkInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDLNASinkInit {} -impl ::core::fmt::Debug for IMFDLNASinkInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDLNASinkInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDLNASinkInit { type Vtable = IMFDLNASinkInit_Vtbl; } -impl ::core::clone::Clone for IMFDLNASinkInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDLNASinkInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c012799_1b61_4c10_bda9_04445be5f561); } @@ -12616,6 +10769,7 @@ pub struct IMFDLNASinkInit_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDRMNetHelper(::windows_core::IUnknown); impl IMFDRMNetHelper { pub unsafe fn ProcessLicenseRequest(&self, plicenserequest: &[u8], pplicenseresponse: *mut *mut u8, pcblicenseresponse: *mut u32, pbstrkid: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -12626,25 +10780,9 @@ impl IMFDRMNetHelper { } } ::windows_core::imp::interface_hierarchy!(IMFDRMNetHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDRMNetHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDRMNetHelper {} -impl ::core::fmt::Debug for IMFDRMNetHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDRMNetHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDRMNetHelper { type Vtable = IMFDRMNetHelper_Vtbl; } -impl ::core::clone::Clone for IMFDRMNetHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDRMNetHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d1ff0ea_679a_4190_8d46_7fa69e8c7e15); } @@ -12657,6 +10795,7 @@ pub struct IMFDRMNetHelper_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDXGIBuffer(::windows_core::IUnknown); impl IMFDXGIBuffer { pub unsafe fn GetResource(&self, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -12677,25 +10816,9 @@ impl IMFDXGIBuffer { } } ::windows_core::imp::interface_hierarchy!(IMFDXGIBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDXGIBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDXGIBuffer {} -impl ::core::fmt::Debug for IMFDXGIBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDXGIBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDXGIBuffer { type Vtable = IMFDXGIBuffer_Vtbl; } -impl ::core::clone::Clone for IMFDXGIBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDXGIBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7174cfa_1c9e_48b1_8866_626226bfc258); } @@ -12710,6 +10833,7 @@ pub struct IMFDXGIBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDXGIDeviceManager(::windows_core::IUnknown); impl IMFDXGIDeviceManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12768,25 +10892,9 @@ impl IMFDXGIDeviceManager { } } ::windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDXGIDeviceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDXGIDeviceManager {} -impl ::core::fmt::Debug for IMFDXGIDeviceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDXGIDeviceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDXGIDeviceManager { type Vtable = IMFDXGIDeviceManager_Vtbl; } -impl ::core::clone::Clone for IMFDXGIDeviceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDXGIDeviceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb533d5d_2db6_40f8_97a9_494692014f07); } @@ -12822,6 +10930,7 @@ pub struct IMFDXGIDeviceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDXGIDeviceManagerSource(::windows_core::IUnknown); impl IMFDXGIDeviceManagerSource { pub unsafe fn GetManager(&self) -> ::windows_core::Result { @@ -12830,25 +10939,9 @@ impl IMFDXGIDeviceManagerSource { } } ::windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManagerSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDXGIDeviceManagerSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDXGIDeviceManagerSource {} -impl ::core::fmt::Debug for IMFDXGIDeviceManagerSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDXGIDeviceManagerSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDXGIDeviceManagerSource { type Vtable = IMFDXGIDeviceManagerSource_Vtbl; } -impl ::core::clone::Clone for IMFDXGIDeviceManagerSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDXGIDeviceManagerSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20bc074b_7a8d_4609_8c3b_64a0a3b5d7ce); } @@ -12860,6 +10953,7 @@ pub struct IMFDXGIDeviceManagerSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDesiredSample(::windows_core::IUnknown); impl IMFDesiredSample { pub unsafe fn GetDesiredSampleTimeAndDuration(&self, phnssampletime: *mut i64, phnssampleduration: *mut i64) -> ::windows_core::Result<()> { @@ -12873,25 +10967,9 @@ impl IMFDesiredSample { } } ::windows_core::imp::interface_hierarchy!(IMFDesiredSample, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDesiredSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDesiredSample {} -impl ::core::fmt::Debug for IMFDesiredSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDesiredSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDesiredSample { type Vtable = IMFDesiredSample_Vtbl; } -impl ::core::clone::Clone for IMFDesiredSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDesiredSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56c294d0_753e_4260_8d61_a3d8820b1d54); } @@ -12905,6 +10983,7 @@ pub struct IMFDesiredSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDeviceTransform(::windows_core::IUnknown); impl IMFDeviceTransform { pub unsafe fn InitializeTransform(&self, pattributes: P0) -> ::windows_core::Result<()> @@ -12992,25 +11071,9 @@ impl IMFDeviceTransform { } } ::windows_core::imp::interface_hierarchy!(IMFDeviceTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDeviceTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDeviceTransform {} -impl ::core::fmt::Debug for IMFDeviceTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDeviceTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDeviceTransform { type Vtable = IMFDeviceTransform_Vtbl; } -impl ::core::clone::Clone for IMFDeviceTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDeviceTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd818fbd8_fc46_42f2_87ac_1ea2d1f9bf32); } @@ -13041,6 +11104,7 @@ pub struct IMFDeviceTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFDeviceTransformCallback(::windows_core::IUnknown); impl IMFDeviceTransformCallback { pub unsafe fn OnBufferSent(&self, pcallbackattributes: P0, pinid: u32) -> ::windows_core::Result<()> @@ -13051,25 +11115,9 @@ impl IMFDeviceTransformCallback { } } ::windows_core::imp::interface_hierarchy!(IMFDeviceTransformCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFDeviceTransformCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFDeviceTransformCallback {} -impl ::core::fmt::Debug for IMFDeviceTransformCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFDeviceTransformCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFDeviceTransformCallback { type Vtable = IMFDeviceTransformCallback_Vtbl; } -impl ::core::clone::Clone for IMFDeviceTransformCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFDeviceTransformCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d5cb646_29ec_41fb_8179_8c4c6d750811); } @@ -13081,6 +11129,7 @@ pub struct IMFDeviceTransformCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraControl(::windows_core::IUnknown); impl IMFExtendedCameraControl { pub unsafe fn GetCapabilities(&self) -> u64 { @@ -13103,25 +11152,9 @@ impl IMFExtendedCameraControl { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraControl {} -impl ::core::fmt::Debug for IMFExtendedCameraControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraControl { type Vtable = IMFExtendedCameraControl_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38e33520_fca1_4845_a27a_68b7c6ab3789); } @@ -13138,6 +11171,7 @@ pub struct IMFExtendedCameraControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraController(::windows_core::IUnknown); impl IMFExtendedCameraController { pub unsafe fn GetExtendedCameraControl(&self, dwstreamindex: u32, ulpropertyid: u32) -> ::windows_core::Result { @@ -13146,25 +11180,9 @@ impl IMFExtendedCameraController { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraController, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraController {} -impl ::core::fmt::Debug for IMFExtendedCameraController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraController").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraController { type Vtable = IMFExtendedCameraController_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb91ebfee_ca03_4af4_8a82_a31752f4a0fc); } @@ -13176,6 +11194,7 @@ pub struct IMFExtendedCameraController_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraIntrinsicModel(::windows_core::IUnknown); impl IMFExtendedCameraIntrinsicModel { pub unsafe fn GetModel(&self, pintrinsicmodel: *mut MFExtendedCameraIntrinsic_IntrinsicModel) -> ::windows_core::Result<()> { @@ -13190,25 +11209,9 @@ impl IMFExtendedCameraIntrinsicModel { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicModel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicModel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraIntrinsicModel {} -impl ::core::fmt::Debug for IMFExtendedCameraIntrinsicModel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraIntrinsicModel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraIntrinsicModel { type Vtable = IMFExtendedCameraIntrinsicModel_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraIntrinsicModel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraIntrinsicModel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c595e64_4630_4231_855a_12842f733245); } @@ -13222,6 +11225,7 @@ pub struct IMFExtendedCameraIntrinsicModel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraIntrinsics(::windows_core::IUnknown); impl IMFExtendedCameraIntrinsics { pub unsafe fn InitializeFromBuffer(&self, pbbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -13250,25 +11254,9 @@ impl IMFExtendedCameraIntrinsics { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsics, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsics { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraIntrinsics {} -impl ::core::fmt::Debug for IMFExtendedCameraIntrinsics { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraIntrinsics").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraIntrinsics { type Vtable = IMFExtendedCameraIntrinsics_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraIntrinsics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraIntrinsics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x687f6dac_6987_4750_a16a_734d1e7a10fe); } @@ -13285,6 +11273,7 @@ pub struct IMFExtendedCameraIntrinsics_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT(::windows_core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModel6KT { pub unsafe fn GetDistortionModel(&self, pdistortionmodel: *mut MFCameraIntrinsic_DistortionModel6KT) -> ::windows_core::Result<()> { @@ -13295,25 +11284,9 @@ impl IMFExtendedCameraIntrinsicsDistortionModel6KT { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModel6KT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicsDistortionModel6KT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraIntrinsicsDistortionModel6KT {} -impl ::core::fmt::Debug for IMFExtendedCameraIntrinsicsDistortionModel6KT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraIntrinsicsDistortionModel6KT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraIntrinsicsDistortionModel6KT { type Vtable = IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraIntrinsicsDistortionModel6KT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraIntrinsicsDistortionModel6KT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74c2653b_5f55_4eb1_9f0f_18b8f68b7d3d); } @@ -13326,6 +11299,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedCameraIntrinsicsDistortionModelArcTan(::windows_core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModelArcTan { pub unsafe fn GetDistortionModel(&self, pdistortionmodel: *mut MFCameraIntrinsic_DistortionModelArcTan) -> ::windows_core::Result<()> { @@ -13336,25 +11310,9 @@ impl IMFExtendedCameraIntrinsicsDistortionModelArcTan { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedCameraIntrinsicsDistortionModelArcTan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedCameraIntrinsicsDistortionModelArcTan {} -impl ::core::fmt::Debug for IMFExtendedCameraIntrinsicsDistortionModelArcTan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedCameraIntrinsicsDistortionModelArcTan").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedCameraIntrinsicsDistortionModelArcTan { type Vtable = IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl; } -impl ::core::clone::Clone for IMFExtendedCameraIntrinsicsDistortionModelArcTan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedCameraIntrinsicsDistortionModelArcTan { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x812d5f95_b572_45dc_bafc_ae24199ddda8); } @@ -13367,6 +11325,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFExtendedDRMTypeSupport(::windows_core::IUnknown); impl IMFExtendedDRMTypeSupport { pub unsafe fn IsTypeSupportedEx(&self, r#type: P0, keysystem: P1) -> ::windows_core::Result @@ -13379,25 +11338,9 @@ impl IMFExtendedDRMTypeSupport { } } ::windows_core::imp::interface_hierarchy!(IMFExtendedDRMTypeSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFExtendedDRMTypeSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFExtendedDRMTypeSupport {} -impl ::core::fmt::Debug for IMFExtendedDRMTypeSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFExtendedDRMTypeSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFExtendedDRMTypeSupport { type Vtable = IMFExtendedDRMTypeSupport_Vtbl; } -impl ::core::clone::Clone for IMFExtendedDRMTypeSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFExtendedDRMTypeSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x332ec562_3758_468d_a784_e38f23552128); } @@ -13409,6 +11352,7 @@ pub struct IMFExtendedDRMTypeSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFFieldOfUseMFTUnlock(::windows_core::IUnknown); impl IMFFieldOfUseMFTUnlock { pub unsafe fn Unlock(&self, punkmft: P0) -> ::windows_core::Result<()> @@ -13419,24 +11363,8 @@ impl IMFFieldOfUseMFTUnlock { } } ::windows_core::imp::interface_hierarchy!(IMFFieldOfUseMFTUnlock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFFieldOfUseMFTUnlock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFFieldOfUseMFTUnlock {} -impl ::core::fmt::Debug for IMFFieldOfUseMFTUnlock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFFieldOfUseMFTUnlock").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFFieldOfUseMFTUnlock { - type Vtable = IMFFieldOfUseMFTUnlock_Vtbl; -} -impl ::core::clone::Clone for IMFFieldOfUseMFTUnlock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFFieldOfUseMFTUnlock { + type Vtable = IMFFieldOfUseMFTUnlock_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFFieldOfUseMFTUnlock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x508e71d3_ec66_4fc3_8775_b4b9ed6ba847); @@ -13449,6 +11377,7 @@ pub struct IMFFieldOfUseMFTUnlock_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFFinalizableMediaSink(::windows_core::IUnknown); impl IMFFinalizableMediaSink { pub unsafe fn GetCharacteristics(&self) -> ::windows_core::Result { @@ -13505,25 +11434,9 @@ impl IMFFinalizableMediaSink { } } ::windows_core::imp::interface_hierarchy!(IMFFinalizableMediaSink, ::windows_core::IUnknown, IMFMediaSink); -impl ::core::cmp::PartialEq for IMFFinalizableMediaSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFFinalizableMediaSink {} -impl ::core::fmt::Debug for IMFFinalizableMediaSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFFinalizableMediaSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFFinalizableMediaSink { type Vtable = IMFFinalizableMediaSink_Vtbl; } -impl ::core::clone::Clone for IMFFinalizableMediaSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFFinalizableMediaSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeaecb74a_9a50_42ce_9541_6a7f57aa4ad7); } @@ -13536,6 +11449,7 @@ pub struct IMFFinalizableMediaSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFGetService(::windows_core::IUnknown); impl IMFGetService { pub unsafe fn GetService(&self, guidservice: *const ::windows_core::GUID) -> ::windows_core::Result @@ -13547,25 +11461,9 @@ impl IMFGetService { } } ::windows_core::imp::interface_hierarchy!(IMFGetService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFGetService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFGetService {} -impl ::core::fmt::Debug for IMFGetService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFGetService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFGetService { type Vtable = IMFGetService_Vtbl; } -impl ::core::clone::Clone for IMFGetService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFGetService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa993888_4383_415a_a930_dd472a8cf6f7); } @@ -13577,6 +11475,7 @@ pub struct IMFGetService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFHDCPStatus(::windows_core::IUnknown); impl IMFHDCPStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13589,25 +11488,9 @@ impl IMFHDCPStatus { } } ::windows_core::imp::interface_hierarchy!(IMFHDCPStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFHDCPStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFHDCPStatus {} -impl ::core::fmt::Debug for IMFHDCPStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFHDCPStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFHDCPStatus { type Vtable = IMFHDCPStatus_Vtbl; } -impl ::core::clone::Clone for IMFHDCPStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFHDCPStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde400f54_5bf1_40cf_8964_0bea136b1e3d); } @@ -13623,6 +11506,7 @@ pub struct IMFHDCPStatus_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFHttpDownloadRequest(::windows_core::IUnknown); impl IMFHttpDownloadRequest { pub unsafe fn AddHeader(&self, szheader: P0) -> ::windows_core::Result<()> @@ -13713,25 +11597,9 @@ impl IMFHttpDownloadRequest { } } ::windows_core::imp::interface_hierarchy!(IMFHttpDownloadRequest, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFHttpDownloadRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFHttpDownloadRequest {} -impl ::core::fmt::Debug for IMFHttpDownloadRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFHttpDownloadRequest").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFHttpDownloadRequest { type Vtable = IMFHttpDownloadRequest_Vtbl; } -impl ::core::clone::Clone for IMFHttpDownloadRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFHttpDownloadRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf779fddf_26e7_4270_8a8b_b983d1859de0); } @@ -13764,6 +11632,7 @@ pub struct IMFHttpDownloadRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFHttpDownloadSession(::windows_core::IUnknown); impl IMFHttpDownloadSession { pub unsafe fn SetServer(&self, szservername: P0, nport: u32) -> ::windows_core::Result<()> @@ -13790,25 +11659,9 @@ impl IMFHttpDownloadSession { } } ::windows_core::imp::interface_hierarchy!(IMFHttpDownloadSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFHttpDownloadSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFHttpDownloadSession {} -impl ::core::fmt::Debug for IMFHttpDownloadSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFHttpDownloadSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFHttpDownloadSession { type Vtable = IMFHttpDownloadSession_Vtbl; } -impl ::core::clone::Clone for IMFHttpDownloadSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFHttpDownloadSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71fa9a2c_53ce_4662_a132_1a7e8cbf62db); } @@ -13825,6 +11678,7 @@ pub struct IMFHttpDownloadSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFHttpDownloadSessionProvider(::windows_core::IUnknown); impl IMFHttpDownloadSessionProvider { pub unsafe fn CreateHttpDownloadSession(&self, wszscheme: P0) -> ::windows_core::Result @@ -13836,25 +11690,9 @@ impl IMFHttpDownloadSessionProvider { } } ::windows_core::imp::interface_hierarchy!(IMFHttpDownloadSessionProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFHttpDownloadSessionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFHttpDownloadSessionProvider {} -impl ::core::fmt::Debug for IMFHttpDownloadSessionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFHttpDownloadSessionProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFHttpDownloadSessionProvider { type Vtable = IMFHttpDownloadSessionProvider_Vtbl; } -impl ::core::clone::Clone for IMFHttpDownloadSessionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFHttpDownloadSessionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b4cf4b9_3a16_4115_839d_03cc5c99df01); } @@ -13866,6 +11704,7 @@ pub struct IMFHttpDownloadSessionProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFImageSharingEngine(::windows_core::IUnknown); impl IMFImageSharingEngine { pub unsafe fn SetSource(&self, pstream: P0) -> ::windows_core::Result<()> @@ -13882,25 +11721,9 @@ impl IMFImageSharingEngine { } } ::windows_core::imp::interface_hierarchy!(IMFImageSharingEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFImageSharingEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFImageSharingEngine {} -impl ::core::fmt::Debug for IMFImageSharingEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFImageSharingEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFImageSharingEngine { type Vtable = IMFImageSharingEngine_Vtbl; } -impl ::core::clone::Clone for IMFImageSharingEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFImageSharingEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa0ae8e_7e1c_44d2_ae68_fc4c148a6354); } @@ -13914,6 +11737,7 @@ pub struct IMFImageSharingEngine_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFImageSharingEngineClassFactory(::windows_core::IUnknown); impl IMFImageSharingEngineClassFactory { pub unsafe fn CreateInstanceFromUDN(&self, puniquedevicename: P0) -> ::windows_core::Result @@ -13925,25 +11749,9 @@ impl IMFImageSharingEngineClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFImageSharingEngineClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFImageSharingEngineClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFImageSharingEngineClassFactory {} -impl ::core::fmt::Debug for IMFImageSharingEngineClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFImageSharingEngineClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFImageSharingEngineClassFactory { type Vtable = IMFImageSharingEngineClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFImageSharingEngineClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFImageSharingEngineClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1fc55727_a7fb_4fc8_83ae_8af024990af1); } @@ -13955,6 +11763,7 @@ pub struct IMFImageSharingEngineClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFInputTrustAuthority(::windows_core::IUnknown); impl IMFInputTrustAuthority { pub unsafe fn GetDecrypter(&self, riid: *const ::windows_core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -13979,25 +11788,9 @@ impl IMFInputTrustAuthority { } } ::windows_core::imp::interface_hierarchy!(IMFInputTrustAuthority, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFInputTrustAuthority { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFInputTrustAuthority {} -impl ::core::fmt::Debug for IMFInputTrustAuthority { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFInputTrustAuthority").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFInputTrustAuthority { type Vtable = IMFInputTrustAuthority_Vtbl; } -impl ::core::clone::Clone for IMFInputTrustAuthority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFInputTrustAuthority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd19f8e98_b126_4446_890c_5dcb7ad71453); } @@ -14014,6 +11807,7 @@ pub struct IMFInputTrustAuthority_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFLocalMFTRegistration(::windows_core::IUnknown); impl IMFLocalMFTRegistration { pub unsafe fn RegisterMFTs(&self, pmfts: &[MFT_REGISTRATION_INFO]) -> ::windows_core::Result<()> { @@ -14021,25 +11815,9 @@ impl IMFLocalMFTRegistration { } } ::windows_core::imp::interface_hierarchy!(IMFLocalMFTRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFLocalMFTRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFLocalMFTRegistration {} -impl ::core::fmt::Debug for IMFLocalMFTRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFLocalMFTRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFLocalMFTRegistration { type Vtable = IMFLocalMFTRegistration_Vtbl; } -impl ::core::clone::Clone for IMFLocalMFTRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFLocalMFTRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x149c4d73_b4be_4f8d_8b87_079e926b6add); } @@ -14051,6 +11829,7 @@ pub struct IMFLocalMFTRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaBuffer(::windows_core::IUnknown); impl IMFMediaBuffer { pub unsafe fn Lock(&self, ppbbuffer: *mut *mut u8, pcbmaxlength: ::core::option::Option<*mut u32>, pcbcurrentlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -14072,25 +11851,9 @@ impl IMFMediaBuffer { } } ::windows_core::imp::interface_hierarchy!(IMFMediaBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaBuffer {} -impl ::core::fmt::Debug for IMFMediaBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaBuffer { type Vtable = IMFMediaBuffer_Vtbl; } -impl ::core::clone::Clone for IMFMediaBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x045fa593_8799_42b8_bc8d_8968c6453507); } @@ -14106,6 +11869,7 @@ pub struct IMFMediaBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngine(::windows_core::IUnknown); impl IMFMediaEngine { pub unsafe fn GetError(&self) -> ::windows_core::Result { @@ -14288,25 +12052,9 @@ impl IMFMediaEngine { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngine {} -impl ::core::fmt::Debug for IMFMediaEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngine { type Vtable = IMFMediaEngine_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98a1b0bb_03eb_4935_ae7c_93c1fa0e1c93); } @@ -14395,6 +12143,7 @@ pub struct IMFMediaEngine_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineAudioEndpointId(::windows_core::IUnknown); impl IMFMediaEngineAudioEndpointId { pub unsafe fn SetAudioEndpointId(&self, pszendpointid: P0) -> ::windows_core::Result<()> @@ -14409,25 +12158,9 @@ impl IMFMediaEngineAudioEndpointId { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineAudioEndpointId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineAudioEndpointId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineAudioEndpointId {} -impl ::core::fmt::Debug for IMFMediaEngineAudioEndpointId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineAudioEndpointId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineAudioEndpointId { type Vtable = IMFMediaEngineAudioEndpointId_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineAudioEndpointId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineAudioEndpointId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a3bac98_0e76_49fb_8c20_8a86fd98eaf2); } @@ -14440,6 +12173,7 @@ pub struct IMFMediaEngineAudioEndpointId_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineClassFactory(::windows_core::IUnknown); impl IMFMediaEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> ::windows_core::Result @@ -14459,25 +12193,9 @@ impl IMFMediaEngineClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineClassFactory {} -impl ::core::fmt::Debug for IMFMediaEngineClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineClassFactory { type Vtable = IMFMediaEngineClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d645ace_26aa_4688_9be1_df3516990b93); } @@ -14491,6 +12209,7 @@ pub struct IMFMediaEngineClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineClassFactory2(::windows_core::IUnknown); impl IMFMediaEngineClassFactory2 { pub unsafe fn CreateMediaKeys2(&self, keysystem: P0, defaultcdmstorepath: P1, inprivatecdmstorepath: P2) -> ::windows_core::Result @@ -14504,25 +12223,9 @@ impl IMFMediaEngineClassFactory2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineClassFactory2 {} -impl ::core::fmt::Debug for IMFMediaEngineClassFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineClassFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineClassFactory2 { type Vtable = IMFMediaEngineClassFactory2_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineClassFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineClassFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09083cef_867f_4bf6_8776_dee3a7b42fca); } @@ -14534,6 +12237,7 @@ pub struct IMFMediaEngineClassFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineClassFactory3(::windows_core::IUnknown); impl IMFMediaEngineClassFactory3 { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -14547,25 +12251,9 @@ impl IMFMediaEngineClassFactory3 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineClassFactory3 {} -impl ::core::fmt::Debug for IMFMediaEngineClassFactory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineClassFactory3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineClassFactory3 { type Vtable = IMFMediaEngineClassFactory3_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineClassFactory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineClassFactory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3787614f_65f7_4003_b673_ead8293a0e60); } @@ -14580,6 +12268,7 @@ pub struct IMFMediaEngineClassFactory3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineClassFactory4(::windows_core::IUnknown); impl IMFMediaEngineClassFactory4 { pub unsafe fn CreateContentDecryptionModuleFactory(&self, keysystem: P0, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -14590,25 +12279,9 @@ impl IMFMediaEngineClassFactory4 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineClassFactory4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineClassFactory4 {} -impl ::core::fmt::Debug for IMFMediaEngineClassFactory4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineClassFactory4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineClassFactory4 { type Vtable = IMFMediaEngineClassFactory4_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineClassFactory4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineClassFactory4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbe256c1_43cf_4a9b_8cb8_ce8632a34186); } @@ -14620,6 +12293,7 @@ pub struct IMFMediaEngineClassFactory4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineClassFactoryEx(::windows_core::IUnknown); impl IMFMediaEngineClassFactoryEx { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> ::windows_core::Result @@ -14664,25 +12338,9 @@ impl IMFMediaEngineClassFactoryEx { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactoryEx, ::windows_core::IUnknown, IMFMediaEngineClassFactory); -impl ::core::cmp::PartialEq for IMFMediaEngineClassFactoryEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineClassFactoryEx {} -impl ::core::fmt::Debug for IMFMediaEngineClassFactoryEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineClassFactoryEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineClassFactoryEx { type Vtable = IMFMediaEngineClassFactoryEx_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineClassFactoryEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineClassFactoryEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc56156c6_ea5b_48a5_9df8_fbe035d0929e); } @@ -14699,6 +12357,7 @@ pub struct IMFMediaEngineClassFactoryEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineEME(::windows_core::IUnknown); impl IMFMediaEngineEME { pub unsafe fn Keys(&self) -> ::windows_core::Result { @@ -14713,25 +12372,9 @@ impl IMFMediaEngineEME { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineEME, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineEME { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineEME {} -impl ::core::fmt::Debug for IMFMediaEngineEME { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineEME").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineEME { type Vtable = IMFMediaEngineEME_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineEME { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineEME { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50dc93e4_ba4f_4275_ae66_83e836e57469); } @@ -14744,6 +12387,7 @@ pub struct IMFMediaEngineEME_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineEMENotify(::windows_core::IUnknown); impl IMFMediaEngineEMENotify { pub unsafe fn Encrypted(&self, pbinitdata: ::core::option::Option<&[u8]>, bstrinitdatatype: P0) @@ -14757,25 +12401,9 @@ impl IMFMediaEngineEMENotify { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineEMENotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineEMENotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineEMENotify {} -impl ::core::fmt::Debug for IMFMediaEngineEMENotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineEMENotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineEMENotify { type Vtable = IMFMediaEngineEMENotify_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineEMENotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineEMENotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e184d15_cdb7_4f86_b49e_566689f4a601); } @@ -14788,6 +12416,7 @@ pub struct IMFMediaEngineEMENotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineEx(::windows_core::IUnknown); impl IMFMediaEngineEx { pub unsafe fn GetError(&self) -> ::windows_core::Result { @@ -15161,25 +12790,9 @@ impl IMFMediaEngineEx { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineEx, ::windows_core::IUnknown, IMFMediaEngine); -impl ::core::cmp::PartialEq for IMFMediaEngineEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineEx {} -impl ::core::fmt::Debug for IMFMediaEngineEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineEx { type Vtable = IMFMediaEngineEx_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83015ead_b1e6_40d0_a98a_37145ffe1ad1); } @@ -15281,6 +12894,7 @@ pub struct IMFMediaEngineEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineExtension(::windows_core::IUnknown); impl IMFMediaEngineExtension { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15317,25 +12931,9 @@ impl IMFMediaEngineExtension { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineExtension {} -impl ::core::fmt::Debug for IMFMediaEngineExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineExtension { type Vtable = IMFMediaEngineExtension_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f69d622_20b5_41e9_afdf_89ced1dda04e); } @@ -15353,6 +12951,7 @@ pub struct IMFMediaEngineExtension_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineNeedKeyNotify(::windows_core::IUnknown); impl IMFMediaEngineNeedKeyNotify { pub unsafe fn NeedKey(&self, initdata: ::core::option::Option<&[u8]>) { @@ -15360,25 +12959,9 @@ impl IMFMediaEngineNeedKeyNotify { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineNeedKeyNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineNeedKeyNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineNeedKeyNotify {} -impl ::core::fmt::Debug for IMFMediaEngineNeedKeyNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineNeedKeyNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineNeedKeyNotify { type Vtable = IMFMediaEngineNeedKeyNotify_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineNeedKeyNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineNeedKeyNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46a30204_a696_4b18_8804_246b8f031bb1); } @@ -15390,6 +12973,7 @@ pub struct IMFMediaEngineNeedKeyNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineNotify(::windows_core::IUnknown); impl IMFMediaEngineNotify { pub unsafe fn EventNotify(&self, event: u32, param1: usize, param2: u32) -> ::windows_core::Result<()> { @@ -15397,25 +12981,9 @@ impl IMFMediaEngineNotify { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineNotify {} -impl ::core::fmt::Debug for IMFMediaEngineNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineNotify { type Vtable = IMFMediaEngineNotify_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfee7c112_e776_42b5_9bbf_0048524e2bd5); } @@ -15427,6 +12995,7 @@ pub struct IMFMediaEngineNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineOPMInfo(::windows_core::IUnknown); impl IMFMediaEngineOPMInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15436,25 +13005,9 @@ impl IMFMediaEngineOPMInfo { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineOPMInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineOPMInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineOPMInfo {} -impl ::core::fmt::Debug for IMFMediaEngineOPMInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineOPMInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineOPMInfo { type Vtable = IMFMediaEngineOPMInfo_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineOPMInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineOPMInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x765763e6_6c01_4b01_bb0f_b829f60ed28c); } @@ -15469,6 +13022,7 @@ pub struct IMFMediaEngineOPMInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineProtectedContent(::windows_core::IUnknown); impl IMFMediaEngineProtectedContent { pub unsafe fn ShareResources(&self, punkdevicecontext: P0) -> ::windows_core::Result<()> @@ -15509,25 +13063,9 @@ impl IMFMediaEngineProtectedContent { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineProtectedContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineProtectedContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineProtectedContent {} -impl ::core::fmt::Debug for IMFMediaEngineProtectedContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineProtectedContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineProtectedContent { type Vtable = IMFMediaEngineProtectedContent_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineProtectedContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineProtectedContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f8021e8_9c8c_487e_bb5c_79aa4779938c); } @@ -15550,6 +13088,7 @@ pub struct IMFMediaEngineProtectedContent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineSrcElements(::windows_core::IUnknown); impl IMFMediaEngineSrcElements { pub unsafe fn GetLength(&self) -> u32 { @@ -15580,25 +13119,9 @@ impl IMFMediaEngineSrcElements { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElements, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineSrcElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineSrcElements {} -impl ::core::fmt::Debug for IMFMediaEngineSrcElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineSrcElements").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineSrcElements { type Vtable = IMFMediaEngineSrcElements_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineSrcElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineSrcElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a5e5354_b114_4c72_b991_3131d75032ea); } @@ -15615,6 +13138,7 @@ pub struct IMFMediaEngineSrcElements_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineSrcElementsEx(::windows_core::IUnknown); impl IMFMediaEngineSrcElementsEx { pub unsafe fn GetLength(&self) -> u32 { @@ -15658,24 +13182,8 @@ impl IMFMediaEngineSrcElementsEx { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElementsEx, ::windows_core::IUnknown, IMFMediaEngineSrcElements); -impl ::core::cmp::PartialEq for IMFMediaEngineSrcElementsEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineSrcElementsEx {} -impl ::core::fmt::Debug for IMFMediaEngineSrcElementsEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineSrcElementsEx").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFMediaEngineSrcElementsEx { - type Vtable = IMFMediaEngineSrcElementsEx_Vtbl; -} -impl ::core::clone::Clone for IMFMediaEngineSrcElementsEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFMediaEngineSrcElementsEx { + type Vtable = IMFMediaEngineSrcElementsEx_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFMediaEngineSrcElementsEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x654a6bb3_e1a3_424a_9908_53a43a0dfda0); @@ -15689,6 +13197,7 @@ pub struct IMFMediaEngineSrcElementsEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineSupportsSourceTransfer(::windows_core::IUnknown); impl IMFMediaEngineSupportsSourceTransfer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15710,25 +13219,9 @@ impl IMFMediaEngineSupportsSourceTransfer { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineSupportsSourceTransfer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineSupportsSourceTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineSupportsSourceTransfer {} -impl ::core::fmt::Debug for IMFMediaEngineSupportsSourceTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineSupportsSourceTransfer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineSupportsSourceTransfer { type Vtable = IMFMediaEngineSupportsSourceTransfer_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineSupportsSourceTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineSupportsSourceTransfer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa724b056_1b2e_4642_a6f3_db9420c52908); } @@ -15745,6 +13238,7 @@ pub struct IMFMediaEngineSupportsSourceTransfer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineTransferSource(::windows_core::IUnknown); impl IMFMediaEngineTransferSource { pub unsafe fn TransferSourceToMediaEngine(&self, destination: P0) -> ::windows_core::Result<()> @@ -15755,25 +13249,9 @@ impl IMFMediaEngineTransferSource { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineTransferSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineTransferSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineTransferSource {} -impl ::core::fmt::Debug for IMFMediaEngineTransferSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineTransferSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineTransferSource { type Vtable = IMFMediaEngineTransferSource_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineTransferSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineTransferSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24230452_fe54_40cc_94f3_fcc394c340d6); } @@ -15785,6 +13263,7 @@ pub struct IMFMediaEngineTransferSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEngineWebSupport(::windows_core::IUnknown); impl IMFMediaEngineWebSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15801,25 +13280,9 @@ impl IMFMediaEngineWebSupport { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEngineWebSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEngineWebSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEngineWebSupport {} -impl ::core::fmt::Debug for IMFMediaEngineWebSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEngineWebSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEngineWebSupport { type Vtable = IMFMediaEngineWebSupport_Vtbl; } -impl ::core::clone::Clone for IMFMediaEngineWebSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEngineWebSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba2743a1_07e0_48ef_84b6_9a2ed023ca6c); } @@ -15836,6 +13299,7 @@ pub struct IMFMediaEngineWebSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaError(::windows_core::IUnknown); impl IMFMediaError { pub unsafe fn GetErrorCode(&self) -> u16 { @@ -15852,25 +13316,9 @@ impl IMFMediaError { } } ::windows_core::imp::interface_hierarchy!(IMFMediaError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaError {} -impl ::core::fmt::Debug for IMFMediaError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaError { type Vtable = IMFMediaError_Vtbl; } -impl ::core::clone::Clone for IMFMediaError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc0e10d2_ab2a_4501_a951_06bb1075184c); } @@ -15885,6 +13333,7 @@ pub struct IMFMediaError_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEvent(::windows_core::IUnknown); impl IMFMediaEvent { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -16033,25 +13482,9 @@ impl IMFMediaEvent { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEvent, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFMediaEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEvent {} -impl ::core::fmt::Debug for IMFMediaEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEvent { type Vtable = IMFMediaEvent_Vtbl; } -impl ::core::clone::Clone for IMFMediaEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf598932_f10c_4e39_bba2_c308f101daa3); } @@ -16069,6 +13502,7 @@ pub struct IMFMediaEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEventGenerator(::windows_core::IUnknown); impl IMFMediaEventGenerator { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -16096,25 +13530,9 @@ impl IMFMediaEventGenerator { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEventGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEventGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEventGenerator {} -impl ::core::fmt::Debug for IMFMediaEventGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEventGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEventGenerator { type Vtable = IMFMediaEventGenerator_Vtbl; } -impl ::core::clone::Clone for IMFMediaEventGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEventGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd0bd52_bcd5_4b89_b62c_eadc0c031e7d); } @@ -16132,6 +13550,7 @@ pub struct IMFMediaEventGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaEventQueue(::windows_core::IUnknown); impl IMFMediaEventQueue { pub unsafe fn GetEvent(&self, dwflags: u32) -> ::windows_core::Result { @@ -16174,25 +13593,9 @@ impl IMFMediaEventQueue { } } ::windows_core::imp::interface_hierarchy!(IMFMediaEventQueue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaEventQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaEventQueue {} -impl ::core::fmt::Debug for IMFMediaEventQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaEventQueue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaEventQueue { type Vtable = IMFMediaEventQueue_Vtbl; } -impl ::core::clone::Clone for IMFMediaEventQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaEventQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36f846fc_2256_48b6_b58e_e2b638316581); } @@ -16213,6 +13616,7 @@ pub struct IMFMediaEventQueue_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeySession(::windows_core::IUnknown); impl IMFMediaKeySession { pub unsafe fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> ::windows_core::Result<()> { @@ -16234,25 +13638,9 @@ impl IMFMediaKeySession { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeySession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaKeySession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeySession {} -impl ::core::fmt::Debug for IMFMediaKeySession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeySession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeySession { type Vtable = IMFMediaKeySession_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeySession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeySession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24fa67d5_d1d0_4dc5_995c_c0efdc191fb5); } @@ -16268,6 +13656,7 @@ pub struct IMFMediaKeySession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeySession2(::windows_core::IUnknown); impl IMFMediaKeySession2 { pub unsafe fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> ::windows_core::Result<()> { @@ -16317,25 +13706,9 @@ impl IMFMediaKeySession2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeySession2, ::windows_core::IUnknown, IMFMediaKeySession); -impl ::core::cmp::PartialEq for IMFMediaKeySession2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeySession2 {} -impl ::core::fmt::Debug for IMFMediaKeySession2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeySession2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeySession2 { type Vtable = IMFMediaKeySession2_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeySession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeySession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9707e05_6d55_4636_b185_3de21210bd75); } @@ -16355,6 +13728,7 @@ pub struct IMFMediaKeySession2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeySessionNotify(::windows_core::IUnknown); impl IMFMediaKeySessionNotify { pub unsafe fn KeyMessage(&self, destinationurl: P0, message: &[u8]) @@ -16371,25 +13745,9 @@ impl IMFMediaKeySessionNotify { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaKeySessionNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeySessionNotify {} -impl ::core::fmt::Debug for IMFMediaKeySessionNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeySessionNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeySessionNotify { type Vtable = IMFMediaKeySessionNotify_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeySessionNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeySessionNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a0083f9_8947_4c1d_9ce0_cdee22b23135); } @@ -16403,6 +13761,7 @@ pub struct IMFMediaKeySessionNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeySessionNotify2(::windows_core::IUnknown); impl IMFMediaKeySessionNotify2 { pub unsafe fn KeyMessage(&self, destinationurl: P0, message: &[u8]) @@ -16428,25 +13787,9 @@ impl IMFMediaKeySessionNotify2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify2, ::windows_core::IUnknown, IMFMediaKeySessionNotify); -impl ::core::cmp::PartialEq for IMFMediaKeySessionNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeySessionNotify2 {} -impl ::core::fmt::Debug for IMFMediaKeySessionNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeySessionNotify2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeySessionNotify2 { type Vtable = IMFMediaKeySessionNotify2_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeySessionNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeySessionNotify2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3a9e92a_da88_46b0_a110_6cf953026cb9); } @@ -16459,6 +13802,7 @@ pub struct IMFMediaKeySessionNotify2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeySystemAccess(::windows_core::IUnknown); impl IMFMediaKeySystemAccess { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -16482,25 +13826,9 @@ impl IMFMediaKeySystemAccess { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeySystemAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaKeySystemAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeySystemAccess {} -impl ::core::fmt::Debug for IMFMediaKeySystemAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeySystemAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeySystemAccess { type Vtable = IMFMediaKeySystemAccess_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeySystemAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeySystemAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec63fda_7a97_4944_b35c_6c6df8085cc3); } @@ -16520,6 +13848,7 @@ pub struct IMFMediaKeySystemAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeys(::windows_core::IUnknown); impl IMFMediaKeys { pub unsafe fn CreateSession(&self, mimetype: P0, initdata: ::core::option::Option<&[u8]>, customdata: ::core::option::Option<&[u8]>, notify: P1) -> ::windows_core::Result @@ -16543,25 +13872,9 @@ impl IMFMediaKeys { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeys, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeys {} -impl ::core::fmt::Debug for IMFMediaKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeys").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeys { type Vtable = IMFMediaKeys_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cb31c05_61ff_418f_afda_caaf41421a38); } @@ -16576,6 +13889,7 @@ pub struct IMFMediaKeys_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaKeys2(::windows_core::IUnknown); impl IMFMediaKeys2 { pub unsafe fn CreateSession(&self, mimetype: P0, initdata: ::core::option::Option<&[u8]>, customdata: ::core::option::Option<&[u8]>, notify: P1) -> ::windows_core::Result @@ -16613,25 +13927,9 @@ impl IMFMediaKeys2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaKeys2, ::windows_core::IUnknown, IMFMediaKeys); -impl ::core::cmp::PartialEq for IMFMediaKeys2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaKeys2 {} -impl ::core::fmt::Debug for IMFMediaKeys2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaKeys2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaKeys2 { type Vtable = IMFMediaKeys2_Vtbl; } -impl ::core::clone::Clone for IMFMediaKeys2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaKeys2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45892507_ad66_4de2_83a2_acbb13cd8d43); } @@ -16645,6 +13943,7 @@ pub struct IMFMediaKeys2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSession(::windows_core::IUnknown); impl IMFMediaSession { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -16710,25 +14009,9 @@ impl IMFMediaSession { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSession, ::windows_core::IUnknown, IMFMediaEventGenerator); -impl ::core::cmp::PartialEq for IMFMediaSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSession {} -impl ::core::fmt::Debug for IMFMediaSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSession { type Vtable = IMFMediaSession_Vtbl; } -impl ::core::clone::Clone for IMFMediaSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90377834_21d0_4dee_8214_ba2e3e6c1127); } @@ -16752,6 +14035,7 @@ pub struct IMFMediaSession_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSharingEngine(::windows_core::IUnknown); impl IMFMediaSharingEngine { pub unsafe fn GetError(&self) -> ::windows_core::Result { @@ -16937,25 +14221,9 @@ impl IMFMediaSharingEngine { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSharingEngine, ::windows_core::IUnknown, IMFMediaEngine); -impl ::core::cmp::PartialEq for IMFMediaSharingEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSharingEngine {} -impl ::core::fmt::Debug for IMFMediaSharingEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSharingEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSharingEngine { type Vtable = IMFMediaSharingEngine_Vtbl; } -impl ::core::clone::Clone for IMFMediaSharingEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSharingEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d3ce1bf_2367_40e0_9eee_40d377cc1b46); } @@ -16967,6 +14235,7 @@ pub struct IMFMediaSharingEngine_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSharingEngineClassFactory(::windows_core::IUnknown); impl IMFMediaSharingEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> ::windows_core::Result @@ -16978,25 +14247,9 @@ impl IMFMediaSharingEngineClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSharingEngineClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSharingEngineClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSharingEngineClassFactory {} -impl ::core::fmt::Debug for IMFMediaSharingEngineClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSharingEngineClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSharingEngineClassFactory { type Vtable = IMFMediaSharingEngineClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFMediaSharingEngineClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSharingEngineClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x524d2bc4_b2b1_4fe5_8fac_fa4e4512b4e0); } @@ -17008,6 +14261,7 @@ pub struct IMFMediaSharingEngineClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSink(::windows_core::IUnknown); impl IMFMediaSink { pub unsafe fn GetCharacteristics(&self) -> ::windows_core::Result { @@ -17051,25 +14305,9 @@ impl IMFMediaSink { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSink {} -impl ::core::fmt::Debug for IMFMediaSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSink { type Vtable = IMFMediaSink_Vtbl; } -impl ::core::clone::Clone for IMFMediaSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ef2a660_47c0_4666_b13d_cbb717f2fa2c); } @@ -17089,6 +14327,7 @@ pub struct IMFMediaSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSinkPreroll(::windows_core::IUnknown); impl IMFMediaSinkPreroll { pub unsafe fn NotifyPreroll(&self, hnsupcomingstarttime: i64) -> ::windows_core::Result<()> { @@ -17096,25 +14335,9 @@ impl IMFMediaSinkPreroll { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSinkPreroll, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSinkPreroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSinkPreroll {} -impl ::core::fmt::Debug for IMFMediaSinkPreroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSinkPreroll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSinkPreroll { type Vtable = IMFMediaSinkPreroll_Vtbl; } -impl ::core::clone::Clone for IMFMediaSinkPreroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSinkPreroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5dfd4b2a_7674_4110_a4e6_8a68fd5f3688); } @@ -17126,6 +14349,7 @@ pub struct IMFMediaSinkPreroll_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSource(::windows_core::IUnknown); impl IMFMediaSource { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -17178,25 +14402,9 @@ impl IMFMediaSource { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSource, ::windows_core::IUnknown, IMFMediaEventGenerator); -impl ::core::cmp::PartialEq for IMFMediaSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSource {} -impl ::core::fmt::Debug for IMFMediaSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSource { type Vtable = IMFMediaSource_Vtbl; } -impl ::core::clone::Clone for IMFMediaSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x279a808d_aec7_40c8_9c6b_a6b492c78a66); } @@ -17216,6 +14424,7 @@ pub struct IMFMediaSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSource2(::windows_core::IUnknown); impl IMFMediaSource2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -17288,25 +14497,9 @@ impl IMFMediaSource2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSource2, ::windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource, IMFMediaSourceEx); -impl ::core::cmp::PartialEq for IMFMediaSource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSource2 {} -impl ::core::fmt::Debug for IMFMediaSource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSource2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSource2 { type Vtable = IMFMediaSource2_Vtbl; } -impl ::core::clone::Clone for IMFMediaSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbb03414_d13b_4786_8319_5ac51fc0a136); } @@ -17318,6 +14511,7 @@ pub struct IMFMediaSource2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourceEx(::windows_core::IUnknown); impl IMFMediaSourceEx { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -17384,25 +14578,9 @@ impl IMFMediaSourceEx { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourceEx, ::windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource); -impl ::core::cmp::PartialEq for IMFMediaSourceEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourceEx {} -impl ::core::fmt::Debug for IMFMediaSourceEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourceEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourceEx { type Vtable = IMFMediaSourceEx_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourceEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourceEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c9b2eb9_86d5_4514_a394_f56664f9f0d8); } @@ -17416,6 +14594,7 @@ pub struct IMFMediaSourceEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourceExtension(::windows_core::IUnknown); impl IMFMediaSourceExtension { pub unsafe fn GetSourceBuffers(&self) -> ::core::option::Option { @@ -17463,25 +14642,9 @@ impl IMFMediaSourceExtension { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourceExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSourceExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourceExtension {} -impl ::core::fmt::Debug for IMFMediaSourceExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourceExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourceExtension { type Vtable = IMFMediaSourceExtension_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourceExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourceExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe467b94e_a713_4562_a802_816a42e9008a); } @@ -17505,6 +14668,7 @@ pub struct IMFMediaSourceExtension_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourceExtensionLiveSeekableRange(::windows_core::IUnknown); impl IMFMediaSourceExtensionLiveSeekableRange { pub unsafe fn SetLiveSeekableRange(&self, start: f64, end: f64) -> ::windows_core::Result<()> { @@ -17515,25 +14679,9 @@ impl IMFMediaSourceExtensionLiveSeekableRange { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionLiveSeekableRange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSourceExtensionLiveSeekableRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourceExtensionLiveSeekableRange {} -impl ::core::fmt::Debug for IMFMediaSourceExtensionLiveSeekableRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourceExtensionLiveSeekableRange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourceExtensionLiveSeekableRange { type Vtable = IMFMediaSourceExtensionLiveSeekableRange_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourceExtensionLiveSeekableRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourceExtensionLiveSeekableRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d1abfd6_450a_4d92_9efc_d6b6cbc1f4da); } @@ -17546,6 +14694,7 @@ pub struct IMFMediaSourceExtensionLiveSeekableRange_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourceExtensionNotify(::windows_core::IUnknown); impl IMFMediaSourceExtensionNotify { pub unsafe fn OnSourceOpen(&self) { @@ -17559,25 +14708,9 @@ impl IMFMediaSourceExtensionNotify { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSourceExtensionNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourceExtensionNotify {} -impl ::core::fmt::Debug for IMFMediaSourceExtensionNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourceExtensionNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourceExtensionNotify { type Vtable = IMFMediaSourceExtensionNotify_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourceExtensionNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourceExtensionNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7901327_05dd_4469_a7b7_0e01979e361d); } @@ -17591,6 +14724,7 @@ pub struct IMFMediaSourceExtensionNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourcePresentationProvider(::windows_core::IUnknown); impl IMFMediaSourcePresentationProvider { pub unsafe fn ForceEndOfPresentation(&self, ppresentationdescriptor: P0) -> ::windows_core::Result<()> @@ -17601,25 +14735,9 @@ impl IMFMediaSourcePresentationProvider { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourcePresentationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSourcePresentationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourcePresentationProvider {} -impl ::core::fmt::Debug for IMFMediaSourcePresentationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourcePresentationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourcePresentationProvider { type Vtable = IMFMediaSourcePresentationProvider_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourcePresentationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourcePresentationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e1d600a_c9f3_442d_8c51_a42d2d49452f); } @@ -17631,6 +14749,7 @@ pub struct IMFMediaSourcePresentationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaSourceTopologyProvider(::windows_core::IUnknown); impl IMFMediaSourceTopologyProvider { pub unsafe fn GetMediaSourceTopology(&self, ppresentationdescriptor: P0) -> ::windows_core::Result @@ -17642,25 +14761,9 @@ impl IMFMediaSourceTopologyProvider { } } ::windows_core::imp::interface_hierarchy!(IMFMediaSourceTopologyProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaSourceTopologyProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaSourceTopologyProvider {} -impl ::core::fmt::Debug for IMFMediaSourceTopologyProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaSourceTopologyProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaSourceTopologyProvider { type Vtable = IMFMediaSourceTopologyProvider_Vtbl; } -impl ::core::clone::Clone for IMFMediaSourceTopologyProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaSourceTopologyProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e1d6009_c9f3_442d_8c51_a42d2d49452f); } @@ -17672,6 +14775,7 @@ pub struct IMFMediaSourceTopologyProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaStream(::windows_core::IUnknown); impl IMFMediaStream { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -17713,24 +14817,8 @@ impl IMFMediaStream { } } ::windows_core::imp::interface_hierarchy!(IMFMediaStream, ::windows_core::IUnknown, IMFMediaEventGenerator); -impl ::core::cmp::PartialEq for IMFMediaStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaStream {} -impl ::core::fmt::Debug for IMFMediaStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaStream").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFMediaStream { - type Vtable = IMFMediaStream_Vtbl; -} -impl ::core::clone::Clone for IMFMediaStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFMediaStream { + type Vtable = IMFMediaStream_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFMediaStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd182108f_4ec6_443f_aa42_a71106ec825f); @@ -17745,6 +14833,7 @@ pub struct IMFMediaStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaStream2(::windows_core::IUnknown); impl IMFMediaStream2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -17793,25 +14882,9 @@ impl IMFMediaStream2 { } } ::windows_core::imp::interface_hierarchy!(IMFMediaStream2, ::windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaStream); -impl ::core::cmp::PartialEq for IMFMediaStream2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaStream2 {} -impl ::core::fmt::Debug for IMFMediaStream2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaStream2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaStream2 { type Vtable = IMFMediaStream2_Vtbl; } -impl ::core::clone::Clone for IMFMediaStream2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaStream2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5bc37d6_75c7_46a1_a132_81b5f723c20f); } @@ -17824,6 +14897,7 @@ pub struct IMFMediaStream2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaStreamSourceSampleRequest(::windows_core::IUnknown); impl IMFMediaStreamSourceSampleRequest { pub unsafe fn SetSample(&self, value: P0) -> ::windows_core::Result<()> @@ -17834,25 +14908,9 @@ impl IMFMediaStreamSourceSampleRequest { } } ::windows_core::imp::interface_hierarchy!(IMFMediaStreamSourceSampleRequest, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaStreamSourceSampleRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaStreamSourceSampleRequest {} -impl ::core::fmt::Debug for IMFMediaStreamSourceSampleRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaStreamSourceSampleRequest").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaStreamSourceSampleRequest { type Vtable = IMFMediaStreamSourceSampleRequest_Vtbl; } -impl ::core::clone::Clone for IMFMediaStreamSourceSampleRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaStreamSourceSampleRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x380b9af9_a85b_4e78_a2af_ea5ce645c6b4); } @@ -17864,6 +14922,7 @@ pub struct IMFMediaStreamSourceSampleRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaTimeRange(::windows_core::IUnknown); impl IMFMediaTimeRange { pub unsafe fn GetLength(&self) -> u32 { @@ -17890,25 +14949,9 @@ impl IMFMediaTimeRange { } } ::windows_core::imp::interface_hierarchy!(IMFMediaTimeRange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaTimeRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaTimeRange {} -impl ::core::fmt::Debug for IMFMediaTimeRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaTimeRange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaTimeRange { type Vtable = IMFMediaTimeRange_Vtbl; } -impl ::core::clone::Clone for IMFMediaTimeRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaTimeRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb71a2fc_078a_414e_9df9_8c2531b0aa6c); } @@ -17928,6 +14971,7 @@ pub struct IMFMediaTimeRange_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaType(::windows_core::IUnknown); impl IMFMediaType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -18081,25 +15125,9 @@ impl IMFMediaType { } } ::windows_core::imp::interface_hierarchy!(IMFMediaType, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFMediaType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaType {} -impl ::core::fmt::Debug for IMFMediaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaType { type Vtable = IMFMediaType_Vtbl; } -impl ::core::clone::Clone for IMFMediaType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44ae0fa8_ea31_4109_8d2e_4cae4997c555); } @@ -18118,6 +15146,7 @@ pub struct IMFMediaType_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMediaTypeHandler(::windows_core::IUnknown); impl IMFMediaTypeHandler { pub unsafe fn IsMediaTypeSupported(&self, pmediatype: P0, ppmediatype: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -18150,25 +15179,9 @@ impl IMFMediaTypeHandler { } } ::windows_core::imp::interface_hierarchy!(IMFMediaTypeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMediaTypeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMediaTypeHandler {} -impl ::core::fmt::Debug for IMFMediaTypeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMediaTypeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMediaTypeHandler { type Vtable = IMFMediaTypeHandler_Vtbl; } -impl ::core::clone::Clone for IMFMediaTypeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMediaTypeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe93dcf6c_4b07_4e1e_8123_aa16ed6eadf5); } @@ -18185,6 +15198,7 @@ pub struct IMFMediaTypeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMetadata(::windows_core::IUnknown); impl IMFMetadata { pub unsafe fn SetLanguage(&self, pwszrfc1766: P0) -> ::windows_core::Result<()> @@ -18234,25 +15248,9 @@ impl IMFMetadata { } } ::windows_core::imp::interface_hierarchy!(IMFMetadata, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMetadata {} -impl ::core::fmt::Debug for IMFMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMetadata").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMetadata { type Vtable = IMFMetadata_Vtbl; } -impl ::core::clone::Clone for IMFMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf88cfb8c_ef16_4991_b450_cb8c69e51704); } @@ -18282,6 +15280,7 @@ pub struct IMFMetadata_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMetadataProvider(::windows_core::IUnknown); impl IMFMetadataProvider { pub unsafe fn GetMFMetadata(&self, ppresentationdescriptor: P0, dwstreamidentifier: u32, dwflags: u32) -> ::windows_core::Result @@ -18293,25 +15292,9 @@ impl IMFMetadataProvider { } } ::windows_core::imp::interface_hierarchy!(IMFMetadataProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMetadataProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMetadataProvider {} -impl ::core::fmt::Debug for IMFMetadataProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMetadataProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMetadataProvider { type Vtable = IMFMetadataProvider_Vtbl; } -impl ::core::clone::Clone for IMFMetadataProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMetadataProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56181d2d_e221_4adb_b1c8_3cee6a53f76f); } @@ -18323,6 +15306,7 @@ pub struct IMFMetadataProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMuxStreamAttributesManager(::windows_core::IUnknown); impl IMFMuxStreamAttributesManager { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -18335,25 +15319,9 @@ impl IMFMuxStreamAttributesManager { } } ::windows_core::imp::interface_hierarchy!(IMFMuxStreamAttributesManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMuxStreamAttributesManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMuxStreamAttributesManager {} -impl ::core::fmt::Debug for IMFMuxStreamAttributesManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMuxStreamAttributesManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMuxStreamAttributesManager { type Vtable = IMFMuxStreamAttributesManager_Vtbl; } -impl ::core::clone::Clone for IMFMuxStreamAttributesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMuxStreamAttributesManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce8bd576_e440_43b3_be34_1e53f565f7e8); } @@ -18366,6 +15334,7 @@ pub struct IMFMuxStreamAttributesManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMuxStreamMediaTypeManager(::windows_core::IUnknown); impl IMFMuxStreamMediaTypeManager { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -18392,25 +15361,9 @@ impl IMFMuxStreamMediaTypeManager { } } ::windows_core::imp::interface_hierarchy!(IMFMuxStreamMediaTypeManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMuxStreamMediaTypeManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMuxStreamMediaTypeManager {} -impl ::core::fmt::Debug for IMFMuxStreamMediaTypeManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMuxStreamMediaTypeManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMuxStreamMediaTypeManager { type Vtable = IMFMuxStreamMediaTypeManager_Vtbl; } -impl ::core::clone::Clone for IMFMuxStreamMediaTypeManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMuxStreamMediaTypeManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x505a2c72_42f7_4690_aeab_8f513d0ffdb8); } @@ -18427,6 +15380,7 @@ pub struct IMFMuxStreamMediaTypeManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFMuxStreamSampleManager(::windows_core::IUnknown); impl IMFMuxStreamSampleManager { pub unsafe fn GetStreamCount(&self) -> ::windows_core::Result { @@ -18442,25 +15396,9 @@ impl IMFMuxStreamSampleManager { } } ::windows_core::imp::interface_hierarchy!(IMFMuxStreamSampleManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFMuxStreamSampleManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFMuxStreamSampleManager {} -impl ::core::fmt::Debug for IMFMuxStreamSampleManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFMuxStreamSampleManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFMuxStreamSampleManager { type Vtable = IMFMuxStreamSampleManager_Vtbl; } -impl ::core::clone::Clone for IMFMuxStreamSampleManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFMuxStreamSampleManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74abbc19_b1cc_4e41_bb8b_9d9b86a8f6ca); } @@ -18474,6 +15412,7 @@ pub struct IMFMuxStreamSampleManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetCredential(::windows_core::IUnknown); impl IMFNetCredential { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18516,25 +15455,9 @@ impl IMFNetCredential { } } ::windows_core::imp::interface_hierarchy!(IMFNetCredential, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetCredential {} -impl ::core::fmt::Debug for IMFNetCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetCredential").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetCredential { type Vtable = IMFNetCredential_Vtbl; } -impl ::core::clone::Clone for IMFNetCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b87ef6a_7ed8_434f_ba0e_184fac1628d1); } @@ -18565,6 +15488,7 @@ pub struct IMFNetCredential_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetCredentialCache(::windows_core::IUnknown); impl IMFNetCredentialCache { pub unsafe fn GetCredential(&self, pszurl: P0, pszrealm: P1, dwauthenticationflags: u32, ppcred: *mut ::core::option::Option, pdwrequirementsflags: *mut u32) -> ::windows_core::Result<()> @@ -18591,25 +15515,9 @@ impl IMFNetCredentialCache { } } ::windows_core::imp::interface_hierarchy!(IMFNetCredentialCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetCredentialCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetCredentialCache {} -impl ::core::fmt::Debug for IMFNetCredentialCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetCredentialCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetCredentialCache { type Vtable = IMFNetCredentialCache_Vtbl; } -impl ::core::clone::Clone for IMFNetCredentialCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetCredentialCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b87ef6c_7ed8_434f_ba0e_184fac1628d1); } @@ -18626,6 +15534,7 @@ pub struct IMFNetCredentialCache_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetCredentialManager(::windows_core::IUnknown); impl IMFNetCredentialManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18655,25 +15564,9 @@ impl IMFNetCredentialManager { } } ::windows_core::imp::interface_hierarchy!(IMFNetCredentialManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetCredentialManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetCredentialManager {} -impl ::core::fmt::Debug for IMFNetCredentialManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetCredentialManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetCredentialManager { type Vtable = IMFNetCredentialManager_Vtbl; } -impl ::core::clone::Clone for IMFNetCredentialManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetCredentialManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b87ef6b_7ed8_434f_ba0e_184fac1628d1); } @@ -18693,6 +15586,7 @@ pub struct IMFNetCredentialManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetCrossOriginSupport(::windows_core::IUnknown); impl IMFNetCrossOriginSupport { pub unsafe fn GetCrossOriginPolicy(&self) -> ::windows_core::Result { @@ -18714,25 +15608,9 @@ impl IMFNetCrossOriginSupport { } } ::windows_core::imp::interface_hierarchy!(IMFNetCrossOriginSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetCrossOriginSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetCrossOriginSupport {} -impl ::core::fmt::Debug for IMFNetCrossOriginSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetCrossOriginSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetCrossOriginSupport { type Vtable = IMFNetCrossOriginSupport_Vtbl; } -impl ::core::clone::Clone for IMFNetCrossOriginSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetCrossOriginSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc2b7d44_a72d_49d5_8376_1480dee58b22); } @@ -18749,6 +15627,7 @@ pub struct IMFNetCrossOriginSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetProxyLocator(::windows_core::IUnknown); impl IMFNetProxyLocator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18776,25 +15655,9 @@ impl IMFNetProxyLocator { } } ::windows_core::imp::interface_hierarchy!(IMFNetProxyLocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetProxyLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetProxyLocator {} -impl ::core::fmt::Debug for IMFNetProxyLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetProxyLocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetProxyLocator { type Vtable = IMFNetProxyLocator_Vtbl; } -impl ::core::clone::Clone for IMFNetProxyLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetProxyLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9cd0383_a268_4bb4_82de_658d53574d41); } @@ -18813,6 +15676,7 @@ pub struct IMFNetProxyLocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetProxyLocatorFactory(::windows_core::IUnknown); impl IMFNetProxyLocatorFactory { pub unsafe fn CreateProxyLocator(&self, pszprotocol: P0) -> ::windows_core::Result @@ -18824,25 +15688,9 @@ impl IMFNetProxyLocatorFactory { } } ::windows_core::imp::interface_hierarchy!(IMFNetProxyLocatorFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetProxyLocatorFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetProxyLocatorFactory {} -impl ::core::fmt::Debug for IMFNetProxyLocatorFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetProxyLocatorFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetProxyLocatorFactory { type Vtable = IMFNetProxyLocatorFactory_Vtbl; } -impl ::core::clone::Clone for IMFNetProxyLocatorFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetProxyLocatorFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9cd0384_a268_4bb4_82de_658d53574d41); } @@ -18854,6 +15702,7 @@ pub struct IMFNetProxyLocatorFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetResourceFilter(::windows_core::IUnknown); impl IMFNetResourceFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18873,25 +15722,9 @@ impl IMFNetResourceFilter { } } ::windows_core::imp::interface_hierarchy!(IMFNetResourceFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetResourceFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetResourceFilter {} -impl ::core::fmt::Debug for IMFNetResourceFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetResourceFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetResourceFilter { type Vtable = IMFNetResourceFilter_Vtbl; } -impl ::core::clone::Clone for IMFNetResourceFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetResourceFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x091878a3_bf11_4a5c_bc9f_33995b06ef2d); } @@ -18907,6 +15740,7 @@ pub struct IMFNetResourceFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFNetSchemeHandlerConfig(::windows_core::IUnknown); impl IMFNetSchemeHandlerConfig { pub unsafe fn GetNumberOfSupportedProtocols(&self) -> ::windows_core::Result { @@ -18922,25 +15756,9 @@ impl IMFNetSchemeHandlerConfig { } } ::windows_core::imp::interface_hierarchy!(IMFNetSchemeHandlerConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFNetSchemeHandlerConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFNetSchemeHandlerConfig {} -impl ::core::fmt::Debug for IMFNetSchemeHandlerConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFNetSchemeHandlerConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFNetSchemeHandlerConfig { type Vtable = IMFNetSchemeHandlerConfig_Vtbl; } -impl ::core::clone::Clone for IMFNetSchemeHandlerConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFNetSchemeHandlerConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7be19e73_c9bf_468a_ac5a_a5e8653bec87); } @@ -18954,6 +15772,7 @@ pub struct IMFNetSchemeHandlerConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFObjectReferenceStream(::windows_core::IUnknown); impl IMFObjectReferenceStream { pub unsafe fn SaveReference(&self, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result<()> @@ -18967,25 +15786,9 @@ impl IMFObjectReferenceStream { } } ::windows_core::imp::interface_hierarchy!(IMFObjectReferenceStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFObjectReferenceStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFObjectReferenceStream {} -impl ::core::fmt::Debug for IMFObjectReferenceStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFObjectReferenceStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFObjectReferenceStream { type Vtable = IMFObjectReferenceStream_Vtbl; } -impl ::core::clone::Clone for IMFObjectReferenceStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFObjectReferenceStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09ef5be3_c8a7_469e_8b70_73bf25bb193f); } @@ -18998,6 +15801,7 @@ pub struct IMFObjectReferenceStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFOutputPolicy(::windows_core::IUnknown); impl IMFOutputPolicy { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -19140,25 +15944,9 @@ impl IMFOutputPolicy { } } ::windows_core::imp::interface_hierarchy!(IMFOutputPolicy, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFOutputPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFOutputPolicy {} -impl ::core::fmt::Debug for IMFOutputPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFOutputPolicy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFOutputPolicy { type Vtable = IMFOutputPolicy_Vtbl; } -impl ::core::clone::Clone for IMFOutputPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFOutputPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f00f10a_daed_41af_ab26_5fdfa4dfba3c); } @@ -19172,6 +15960,7 @@ pub struct IMFOutputPolicy_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFOutputSchema(::windows_core::IUnknown); impl IMFOutputSchema { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -19314,25 +16103,9 @@ impl IMFOutputSchema { } } ::windows_core::imp::interface_hierarchy!(IMFOutputSchema, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFOutputSchema { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFOutputSchema {} -impl ::core::fmt::Debug for IMFOutputSchema { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFOutputSchema").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFOutputSchema { type Vtable = IMFOutputSchema_Vtbl; } -impl ::core::clone::Clone for IMFOutputSchema { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFOutputSchema { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7be0fc5b_abd9_44fb_a5c8_f50136e71599); } @@ -19346,6 +16119,7 @@ pub struct IMFOutputSchema_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFOutputTrustAuthority(::windows_core::IUnknown); impl IMFOutputTrustAuthority { pub unsafe fn GetAction(&self) -> ::windows_core::Result { @@ -19357,25 +16131,9 @@ impl IMFOutputTrustAuthority { } } ::windows_core::imp::interface_hierarchy!(IMFOutputTrustAuthority, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFOutputTrustAuthority { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFOutputTrustAuthority {} -impl ::core::fmt::Debug for IMFOutputTrustAuthority { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFOutputTrustAuthority").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFOutputTrustAuthority { type Vtable = IMFOutputTrustAuthority_Vtbl; } -impl ::core::clone::Clone for IMFOutputTrustAuthority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFOutputTrustAuthority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd19f8e94_b126_4446_890c_5dcb7ad71453); } @@ -19388,6 +16146,7 @@ pub struct IMFOutputTrustAuthority_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMPClient(::windows_core::IUnknown); impl IMFPMPClient { pub unsafe fn SetPMPHost(&self, ppmphost: P0) -> ::windows_core::Result<()> @@ -19398,25 +16157,9 @@ impl IMFPMPClient { } } ::windows_core::imp::interface_hierarchy!(IMFPMPClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMPClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMPClient {} -impl ::core::fmt::Debug for IMFPMPClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMPClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMPClient { type Vtable = IMFPMPClient_Vtbl; } -impl ::core::clone::Clone for IMFPMPClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMPClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c4e655d_ead8_4421_b6b9_54dcdbbdf820); } @@ -19428,6 +16171,7 @@ pub struct IMFPMPClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMPClientApp(::windows_core::IUnknown); impl IMFPMPClientApp { pub unsafe fn SetPMPHost(&self, ppmphost: P0) -> ::windows_core::Result<()> @@ -19438,25 +16182,9 @@ impl IMFPMPClientApp { } } ::windows_core::imp::interface_hierarchy!(IMFPMPClientApp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMPClientApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMPClientApp {} -impl ::core::fmt::Debug for IMFPMPClientApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMPClientApp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMPClientApp { type Vtable = IMFPMPClientApp_Vtbl; } -impl ::core::clone::Clone for IMFPMPClientApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMPClientApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc004f646_be2c_48f3_93a2_a0983eba1108); } @@ -19468,6 +16196,7 @@ pub struct IMFPMPClientApp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMPHost(::windows_core::IUnknown); impl IMFPMPHost { pub unsafe fn LockProcess(&self) -> ::windows_core::Result<()> { @@ -19488,25 +16217,9 @@ impl IMFPMPHost { } } ::windows_core::imp::interface_hierarchy!(IMFPMPHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMPHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMPHost {} -impl ::core::fmt::Debug for IMFPMPHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMPHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMPHost { type Vtable = IMFPMPHost_Vtbl; } -impl ::core::clone::Clone for IMFPMPHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMPHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf70ca1a9_fdc7_4782_b994_adffb1c98606); } @@ -19523,6 +16236,7 @@ pub struct IMFPMPHost_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMPHostApp(::windows_core::IUnknown); impl IMFPMPHostApp { pub unsafe fn LockProcess(&self) -> ::windows_core::Result<()> { @@ -19544,25 +16258,9 @@ impl IMFPMPHostApp { } } ::windows_core::imp::interface_hierarchy!(IMFPMPHostApp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMPHostApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMPHostApp {} -impl ::core::fmt::Debug for IMFPMPHostApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMPHostApp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMPHostApp { type Vtable = IMFPMPHostApp_Vtbl; } -impl ::core::clone::Clone for IMFPMPHostApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMPHostApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84d2054a_3aa1_4728_a3b0_440a418cf49c); } @@ -19579,6 +16277,7 @@ pub struct IMFPMPHostApp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMPServer(::windows_core::IUnknown); impl IMFPMPServer { pub unsafe fn LockProcess(&self) -> ::windows_core::Result<()> { @@ -19596,25 +16295,9 @@ impl IMFPMPServer { } } ::windows_core::imp::interface_hierarchy!(IMFPMPServer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMPServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMPServer {} -impl ::core::fmt::Debug for IMFPMPServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMPServer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMPServer { type Vtable = IMFPMPServer_Vtbl; } -impl ::core::clone::Clone for IMFPMPServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMPServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x994e23af_1cc2_493c_b9fa_46f1cb040fa4); } @@ -19628,6 +16311,7 @@ pub struct IMFPMPServer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMediaItem(::windows_core::IUnknown); impl IMFPMediaItem { pub unsafe fn GetMediaPlayer(&self) -> ::windows_core::Result { @@ -19729,24 +16413,8 @@ impl IMFPMediaItem { } } ::windows_core::imp::interface_hierarchy!(IMFPMediaItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMediaItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMediaItem {} -impl ::core::fmt::Debug for IMFPMediaItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMediaItem").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFPMediaItem { - type Vtable = IMFPMediaItem_Vtbl; -} -impl ::core::clone::Clone for IMFPMediaItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFPMediaItem { + type Vtable = IMFPMediaItem_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFPMediaItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90eb3e6b_ecbf_45cc_b1da_c6fe3ea70d57); @@ -19810,6 +16478,7 @@ pub struct IMFPMediaItem_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMediaPlayer(::windows_core::IUnknown); impl IMFPMediaPlayer { pub unsafe fn Play(&self) -> ::windows_core::Result<()> { @@ -19989,25 +16658,9 @@ impl IMFPMediaPlayer { } } ::windows_core::imp::interface_hierarchy!(IMFPMediaPlayer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMediaPlayer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMediaPlayer {} -impl ::core::fmt::Debug for IMFPMediaPlayer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMediaPlayer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMediaPlayer { type Vtable = IMFPMediaPlayer_Vtbl; } -impl ::core::clone::Clone for IMFPMediaPlayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMediaPlayer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa714590a_58af_430a_85bf_44f5ec838d85); } @@ -20096,6 +16749,7 @@ pub struct IMFPMediaPlayer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPMediaPlayerCallback(::windows_core::IUnknown); impl IMFPMediaPlayerCallback { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -20105,25 +16759,9 @@ impl IMFPMediaPlayerCallback { } } ::windows_core::imp::interface_hierarchy!(IMFPMediaPlayerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPMediaPlayerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPMediaPlayerCallback {} -impl ::core::fmt::Debug for IMFPMediaPlayerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPMediaPlayerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPMediaPlayerCallback { type Vtable = IMFPMediaPlayerCallback_Vtbl; } -impl ::core::clone::Clone for IMFPMediaPlayerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPMediaPlayerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x766c8ffb_5fdb_4fea_a28d_b912996f51bd); } @@ -20138,6 +16776,7 @@ pub struct IMFPMediaPlayerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPluginControl(::windows_core::IUnknown); impl IMFPluginControl { pub unsafe fn GetPreferredClsid(&self, plugintype: u32, selector: P0) -> ::windows_core::Result<::windows_core::GUID> @@ -20173,25 +16812,9 @@ impl IMFPluginControl { } } ::windows_core::imp::interface_hierarchy!(IMFPluginControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFPluginControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPluginControl {} -impl ::core::fmt::Debug for IMFPluginControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPluginControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPluginControl { type Vtable = IMFPluginControl_Vtbl; } -impl ::core::clone::Clone for IMFPluginControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPluginControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c6c44bf_1db6_435b_9249_e8cd10fdec96); } @@ -20211,6 +16834,7 @@ pub struct IMFPluginControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPluginControl2(::windows_core::IUnknown); impl IMFPluginControl2 { pub unsafe fn GetPreferredClsid(&self, plugintype: u32, selector: P0) -> ::windows_core::Result<::windows_core::GUID> @@ -20249,25 +16873,9 @@ impl IMFPluginControl2 { } } ::windows_core::imp::interface_hierarchy!(IMFPluginControl2, ::windows_core::IUnknown, IMFPluginControl); -impl ::core::cmp::PartialEq for IMFPluginControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPluginControl2 {} -impl ::core::fmt::Debug for IMFPluginControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPluginControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPluginControl2 { type Vtable = IMFPluginControl2_Vtbl; } -impl ::core::clone::Clone for IMFPluginControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPluginControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6982083_3ddc_45cb_af5e_0f7a8ce4de77); } @@ -20279,6 +16887,7 @@ pub struct IMFPluginControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPresentationClock(::windows_core::IUnknown); impl IMFPresentationClock { pub unsafe fn GetClockCharacteristics(&self) -> ::windows_core::Result { @@ -20336,25 +16945,9 @@ impl IMFPresentationClock { } } ::windows_core::imp::interface_hierarchy!(IMFPresentationClock, ::windows_core::IUnknown, IMFClock); -impl ::core::cmp::PartialEq for IMFPresentationClock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPresentationClock {} -impl ::core::fmt::Debug for IMFPresentationClock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPresentationClock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPresentationClock { type Vtable = IMFPresentationClock_Vtbl; } -impl ::core::clone::Clone for IMFPresentationClock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPresentationClock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x868ce85c_8ea9_4f55_ab82_b009a910a805); } @@ -20373,6 +16966,7 @@ pub struct IMFPresentationClock_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPresentationDescriptor(::windows_core::IUnknown); impl IMFPresentationDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -20522,25 +17116,9 @@ impl IMFPresentationDescriptor { } } ::windows_core::imp::interface_hierarchy!(IMFPresentationDescriptor, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFPresentationDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPresentationDescriptor {} -impl ::core::fmt::Debug for IMFPresentationDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPresentationDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPresentationDescriptor { type Vtable = IMFPresentationDescriptor_Vtbl; } -impl ::core::clone::Clone for IMFPresentationDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPresentationDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03cb2711_24d7_4db6_a17f_f3a7a479a536); } @@ -20559,6 +17137,7 @@ pub struct IMFPresentationDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFPresentationTimeSource(::windows_core::IUnknown); impl IMFPresentationTimeSource { pub unsafe fn GetClockCharacteristics(&self) -> ::windows_core::Result { @@ -20585,25 +17164,9 @@ impl IMFPresentationTimeSource { } } ::windows_core::imp::interface_hierarchy!(IMFPresentationTimeSource, ::windows_core::IUnknown, IMFClock); -impl ::core::cmp::PartialEq for IMFPresentationTimeSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFPresentationTimeSource {} -impl ::core::fmt::Debug for IMFPresentationTimeSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFPresentationTimeSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFPresentationTimeSource { type Vtable = IMFPresentationTimeSource_Vtbl; } -impl ::core::clone::Clone for IMFPresentationTimeSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFPresentationTimeSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ff12cce_f76f_41c2_863b_1666c8e5e139); } @@ -20615,6 +17178,7 @@ pub struct IMFPresentationTimeSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFProtectedEnvironmentAccess(::windows_core::IUnknown); impl IMFProtectedEnvironmentAccess { pub unsafe fn Call(&self, input: &[u8], output: &mut [u8]) -> ::windows_core::Result<()> { @@ -20625,25 +17189,9 @@ impl IMFProtectedEnvironmentAccess { } } ::windows_core::imp::interface_hierarchy!(IMFProtectedEnvironmentAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFProtectedEnvironmentAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFProtectedEnvironmentAccess {} -impl ::core::fmt::Debug for IMFProtectedEnvironmentAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFProtectedEnvironmentAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFProtectedEnvironmentAccess { type Vtable = IMFProtectedEnvironmentAccess_Vtbl; } -impl ::core::clone::Clone for IMFProtectedEnvironmentAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFProtectedEnvironmentAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef5dc845_f0d9_4ec9_b00c_cb5183d38434); } @@ -20656,6 +17204,7 @@ pub struct IMFProtectedEnvironmentAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFQualityAdvise(::windows_core::IUnknown); impl IMFQualityAdvise { pub unsafe fn SetDropMode(&self, edropmode: MF_QUALITY_DROP_MODE) -> ::windows_core::Result<()> { @@ -20677,25 +17226,9 @@ impl IMFQualityAdvise { } } ::windows_core::imp::interface_hierarchy!(IMFQualityAdvise, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFQualityAdvise { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFQualityAdvise {} -impl ::core::fmt::Debug for IMFQualityAdvise { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFQualityAdvise").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFQualityAdvise { type Vtable = IMFQualityAdvise_Vtbl; } -impl ::core::clone::Clone for IMFQualityAdvise { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFQualityAdvise { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec15e2e9_e36b_4f7c_8758_77d452ef4ce7); } @@ -20711,6 +17244,7 @@ pub struct IMFQualityAdvise_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFQualityAdvise2(::windows_core::IUnknown); impl IMFQualityAdvise2 { pub unsafe fn SetDropMode(&self, edropmode: MF_QUALITY_DROP_MODE) -> ::windows_core::Result<()> { @@ -20739,25 +17273,9 @@ impl IMFQualityAdvise2 { } } ::windows_core::imp::interface_hierarchy!(IMFQualityAdvise2, ::windows_core::IUnknown, IMFQualityAdvise); -impl ::core::cmp::PartialEq for IMFQualityAdvise2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFQualityAdvise2 {} -impl ::core::fmt::Debug for IMFQualityAdvise2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFQualityAdvise2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFQualityAdvise2 { type Vtable = IMFQualityAdvise2_Vtbl; } -impl ::core::clone::Clone for IMFQualityAdvise2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFQualityAdvise2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3706f0d_8ea2_4886_8000_7155e9ec2eae); } @@ -20769,6 +17287,7 @@ pub struct IMFQualityAdvise2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFQualityAdviseLimits(::windows_core::IUnknown); impl IMFQualityAdviseLimits { pub unsafe fn GetMaximumDropMode(&self) -> ::windows_core::Result { @@ -20781,25 +17300,9 @@ impl IMFQualityAdviseLimits { } } ::windows_core::imp::interface_hierarchy!(IMFQualityAdviseLimits, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFQualityAdviseLimits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFQualityAdviseLimits {} -impl ::core::fmt::Debug for IMFQualityAdviseLimits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFQualityAdviseLimits").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFQualityAdviseLimits { type Vtable = IMFQualityAdviseLimits_Vtbl; } -impl ::core::clone::Clone for IMFQualityAdviseLimits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFQualityAdviseLimits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfcd8e4d_30b5_4567_acaa_8eb5b7853dc9); } @@ -20812,6 +17315,7 @@ pub struct IMFQualityAdviseLimits_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFQualityManager(::windows_core::IUnknown); impl IMFQualityManager { pub unsafe fn NotifyTopology(&self, ptopology: P0) -> ::windows_core::Result<()> @@ -20852,25 +17356,9 @@ impl IMFQualityManager { } } ::windows_core::imp::interface_hierarchy!(IMFQualityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFQualityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFQualityManager {} -impl ::core::fmt::Debug for IMFQualityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFQualityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFQualityManager { type Vtable = IMFQualityManager_Vtbl; } -impl ::core::clone::Clone for IMFQualityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFQualityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d009d86_5b9f_4115_b1fc_9f80d52ab8ab); } @@ -20887,6 +17375,7 @@ pub struct IMFQualityManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRateControl(::windows_core::IUnknown); impl IMFRateControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20904,25 +17393,9 @@ impl IMFRateControl { } } ::windows_core::imp::interface_hierarchy!(IMFRateControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRateControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRateControl {} -impl ::core::fmt::Debug for IMFRateControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRateControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRateControl { type Vtable = IMFRateControl_Vtbl; } -impl ::core::clone::Clone for IMFRateControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRateControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88ddcd21_03c3_4275_91ed_55ee3929328f); } @@ -20941,6 +17414,7 @@ pub struct IMFRateControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRateSupport(::windows_core::IUnknown); impl IMFRateSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20971,25 +17445,9 @@ impl IMFRateSupport { } } ::windows_core::imp::interface_hierarchy!(IMFRateSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRateSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRateSupport {} -impl ::core::fmt::Debug for IMFRateSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRateSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRateSupport { type Vtable = IMFRateSupport_Vtbl; } -impl ::core::clone::Clone for IMFRateSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRateSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a9ccdbc_d797_4563_9667_94ec5d79292d); } @@ -21012,6 +17470,7 @@ pub struct IMFRateSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFReadWriteClassFactory(::windows_core::IUnknown); impl IMFReadWriteClassFactory { pub unsafe fn CreateInstanceFromURL(&self, clsid: *const ::windows_core::GUID, pwszurl: P0, pattributes: P1) -> ::windows_core::Result @@ -21034,25 +17493,9 @@ impl IMFReadWriteClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFReadWriteClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFReadWriteClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFReadWriteClassFactory {} -impl ::core::fmt::Debug for IMFReadWriteClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFReadWriteClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFReadWriteClassFactory { type Vtable = IMFReadWriteClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFReadWriteClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFReadWriteClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7fe2e12_661c_40da_92f9_4f002ab67627); } @@ -21065,6 +17508,7 @@ pub struct IMFReadWriteClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRealTimeClient(::windows_core::IUnknown); impl IMFRealTimeClient { pub unsafe fn RegisterThreads(&self, dwtaskindex: u32, wszclass: P0) -> ::windows_core::Result<()> @@ -21081,25 +17525,9 @@ impl IMFRealTimeClient { } } ::windows_core::imp::interface_hierarchy!(IMFRealTimeClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRealTimeClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRealTimeClient {} -impl ::core::fmt::Debug for IMFRealTimeClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRealTimeClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRealTimeClient { type Vtable = IMFRealTimeClient_Vtbl; } -impl ::core::clone::Clone for IMFRealTimeClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRealTimeClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2347d60b_3fb5_480c_8803_8df3adcd3ef0); } @@ -21113,6 +17541,7 @@ pub struct IMFRealTimeClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRealTimeClientEx(::windows_core::IUnknown); impl IMFRealTimeClientEx { pub unsafe fn RegisterThreadsEx(&self, pdwtaskindex: *mut u32, wszclassname: P0, lbasepriority: i32) -> ::windows_core::Result<()> @@ -21129,25 +17558,9 @@ impl IMFRealTimeClientEx { } } ::windows_core::imp::interface_hierarchy!(IMFRealTimeClientEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRealTimeClientEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRealTimeClientEx {} -impl ::core::fmt::Debug for IMFRealTimeClientEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRealTimeClientEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRealTimeClientEx { type Vtable = IMFRealTimeClientEx_Vtbl; } -impl ::core::clone::Clone for IMFRealTimeClientEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRealTimeClientEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03910848_ab16_4611_b100_17b88ae2f248); } @@ -21161,6 +17574,7 @@ pub struct IMFRealTimeClientEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRelativePanelReport(::windows_core::IUnknown); impl IMFRelativePanelReport { pub unsafe fn GetRelativePanel(&self) -> ::windows_core::Result { @@ -21169,25 +17583,9 @@ impl IMFRelativePanelReport { } } ::windows_core::imp::interface_hierarchy!(IMFRelativePanelReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRelativePanelReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRelativePanelReport {} -impl ::core::fmt::Debug for IMFRelativePanelReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRelativePanelReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRelativePanelReport { type Vtable = IMFRelativePanelReport_Vtbl; } -impl ::core::clone::Clone for IMFRelativePanelReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRelativePanelReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf25362ea_2c0e_447f_81e2_755914cdc0c3); } @@ -21199,6 +17597,7 @@ pub struct IMFRelativePanelReport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRelativePanelWatcher(::windows_core::IUnknown); impl IMFRelativePanelWatcher { pub unsafe fn Shutdown(&self) -> ::windows_core::Result<()> { @@ -21228,25 +17627,9 @@ impl IMFRelativePanelWatcher { } } ::windows_core::imp::interface_hierarchy!(IMFRelativePanelWatcher, ::windows_core::IUnknown, IMFShutdown); -impl ::core::cmp::PartialEq for IMFRelativePanelWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRelativePanelWatcher {} -impl ::core::fmt::Debug for IMFRelativePanelWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRelativePanelWatcher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRelativePanelWatcher { type Vtable = IMFRelativePanelWatcher_Vtbl; } -impl ::core::clone::Clone for IMFRelativePanelWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRelativePanelWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x421af7f6_573e_4ad0_8fda_2e57cedb18c6); } @@ -21260,6 +17643,7 @@ pub struct IMFRelativePanelWatcher_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRemoteAsyncCallback(::windows_core::IUnknown); impl IMFRemoteAsyncCallback { pub unsafe fn Invoke(&self, hr: ::windows_core::HRESULT, premoteresult: P0) -> ::windows_core::Result<()> @@ -21270,25 +17654,9 @@ impl IMFRemoteAsyncCallback { } } ::windows_core::imp::interface_hierarchy!(IMFRemoteAsyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRemoteAsyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRemoteAsyncCallback {} -impl ::core::fmt::Debug for IMFRemoteAsyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRemoteAsyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRemoteAsyncCallback { type Vtable = IMFRemoteAsyncCallback_Vtbl; } -impl ::core::clone::Clone for IMFRemoteAsyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRemoteAsyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa27003d0_2354_4f2a_8d6a_ab7cff15437e); } @@ -21300,6 +17668,7 @@ pub struct IMFRemoteAsyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRemoteDesktopPlugin(::windows_core::IUnknown); impl IMFRemoteDesktopPlugin { pub unsafe fn UpdateTopology(&self, ptopology: P0) -> ::windows_core::Result<()> @@ -21310,25 +17679,9 @@ impl IMFRemoteDesktopPlugin { } } ::windows_core::imp::interface_hierarchy!(IMFRemoteDesktopPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRemoteDesktopPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRemoteDesktopPlugin {} -impl ::core::fmt::Debug for IMFRemoteDesktopPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRemoteDesktopPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRemoteDesktopPlugin { type Vtable = IMFRemoteDesktopPlugin_Vtbl; } -impl ::core::clone::Clone for IMFRemoteDesktopPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRemoteDesktopPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cde6309_cae0_4940_907e_c1ec9c3d1d4a); } @@ -21340,6 +17693,7 @@ pub struct IMFRemoteDesktopPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFRemoteProxy(::windows_core::IUnknown); impl IMFRemoteProxy { pub unsafe fn GetRemoteObject(&self, riid: *const ::windows_core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -21350,25 +17704,9 @@ impl IMFRemoteProxy { } } ::windows_core::imp::interface_hierarchy!(IMFRemoteProxy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFRemoteProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFRemoteProxy {} -impl ::core::fmt::Debug for IMFRemoteProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFRemoteProxy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFRemoteProxy { type Vtable = IMFRemoteProxy_Vtbl; } -impl ::core::clone::Clone for IMFRemoteProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFRemoteProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x994e23ad_1cc2_493c_b9fa_46f1cb040fa4); } @@ -21381,6 +17719,7 @@ pub struct IMFRemoteProxy_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSAMIStyle(::windows_core::IUnknown); impl IMFSAMIStyle { pub unsafe fn GetStyleCount(&self) -> ::windows_core::Result { @@ -21405,25 +17744,9 @@ impl IMFSAMIStyle { } } ::windows_core::imp::interface_hierarchy!(IMFSAMIStyle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSAMIStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSAMIStyle {} -impl ::core::fmt::Debug for IMFSAMIStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSAMIStyle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSAMIStyle { type Vtable = IMFSAMIStyle_Vtbl; } -impl ::core::clone::Clone for IMFSAMIStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSAMIStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7e025dd_5303_4a62_89d6_e747e1efac73); } @@ -21441,6 +17764,7 @@ pub struct IMFSAMIStyle_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSSLCertificateManager(::windows_core::IUnknown); impl IMFSSLCertificateManager { pub unsafe fn GetClientCertificate(&self, pszurl: P0, ppbdata: *mut *mut u8, pcbdata: *mut u32) -> ::windows_core::Result<()> @@ -21482,25 +17806,9 @@ impl IMFSSLCertificateManager { } } ::windows_core::imp::interface_hierarchy!(IMFSSLCertificateManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSSLCertificateManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSSLCertificateManager {} -impl ::core::fmt::Debug for IMFSSLCertificateManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSSLCertificateManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSSLCertificateManager { type Vtable = IMFSSLCertificateManager_Vtbl; } -impl ::core::clone::Clone for IMFSSLCertificateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSSLCertificateManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61f7d887_1230_4a8b_aeba_8ad434d1a64d); } @@ -21522,6 +17830,7 @@ pub struct IMFSSLCertificateManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSample(::windows_core::IUnknown); impl IMFSample { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -21707,25 +18016,9 @@ impl IMFSample { } } ::windows_core::imp::interface_hierarchy!(IMFSample, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSample {} -impl ::core::fmt::Debug for IMFSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSample { type Vtable = IMFSample_Vtbl; } -impl ::core::clone::Clone for IMFSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc40a00f2_b93a_4d80_ae8c_5a1c634f58e4); } @@ -21750,6 +18043,7 @@ pub struct IMFSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSampleAllocatorControl(::windows_core::IUnknown); impl IMFSampleAllocatorControl { pub unsafe fn SetDefaultAllocator(&self, dwoutputstreamid: u32, pallocator: P0) -> ::windows_core::Result<()> @@ -21763,25 +18057,9 @@ impl IMFSampleAllocatorControl { } } ::windows_core::imp::interface_hierarchy!(IMFSampleAllocatorControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSampleAllocatorControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSampleAllocatorControl {} -impl ::core::fmt::Debug for IMFSampleAllocatorControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSampleAllocatorControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSampleAllocatorControl { type Vtable = IMFSampleAllocatorControl_Vtbl; } -impl ::core::clone::Clone for IMFSampleAllocatorControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSampleAllocatorControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda62b958_3a38_4a97_bd27_149c640c0771); } @@ -21794,6 +18072,7 @@ pub struct IMFSampleAllocatorControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSampleGrabberSinkCallback(::windows_core::IUnknown); impl IMFSampleGrabberSinkCallback { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> ::windows_core::Result<()> { @@ -21825,25 +18104,9 @@ impl IMFSampleGrabberSinkCallback { } } ::windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback, ::windows_core::IUnknown, IMFClockStateSink); -impl ::core::cmp::PartialEq for IMFSampleGrabberSinkCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSampleGrabberSinkCallback {} -impl ::core::fmt::Debug for IMFSampleGrabberSinkCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSampleGrabberSinkCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSampleGrabberSinkCallback { type Vtable = IMFSampleGrabberSinkCallback_Vtbl; } -impl ::core::clone::Clone for IMFSampleGrabberSinkCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSampleGrabberSinkCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c7b80bf_ee42_4b59_b1df_55668e1bdca8); } @@ -21857,6 +18120,7 @@ pub struct IMFSampleGrabberSinkCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSampleGrabberSinkCallback2(::windows_core::IUnknown); impl IMFSampleGrabberSinkCallback2 { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> ::windows_core::Result<()> { @@ -21894,24 +18158,8 @@ impl IMFSampleGrabberSinkCallback2 { } } ::windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback2, ::windows_core::IUnknown, IMFClockStateSink, IMFSampleGrabberSinkCallback); -impl ::core::cmp::PartialEq for IMFSampleGrabberSinkCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSampleGrabberSinkCallback2 {} -impl ::core::fmt::Debug for IMFSampleGrabberSinkCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSampleGrabberSinkCallback2").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFSampleGrabberSinkCallback2 { - type Vtable = IMFSampleGrabberSinkCallback2_Vtbl; -} -impl ::core::clone::Clone for IMFSampleGrabberSinkCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFSampleGrabberSinkCallback2 { + type Vtable = IMFSampleGrabberSinkCallback2_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFSampleGrabberSinkCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca86aa50_c46e_429e_ab27_16d6ac6844cb); @@ -21924,6 +18172,7 @@ pub struct IMFSampleGrabberSinkCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSampleOutputStream(::windows_core::IUnknown); impl IMFSampleOutputStream { pub unsafe fn BeginWriteSample(&self, psample: P0, pcallback: P1, punkstate: P2) -> ::windows_core::Result<()> @@ -21945,25 +18194,9 @@ impl IMFSampleOutputStream { } } ::windows_core::imp::interface_hierarchy!(IMFSampleOutputStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSampleOutputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSampleOutputStream {} -impl ::core::fmt::Debug for IMFSampleOutputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSampleOutputStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSampleOutputStream { type Vtable = IMFSampleOutputStream_Vtbl; } -impl ::core::clone::Clone for IMFSampleOutputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSampleOutputStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8feed468_6f7e_440d_869a_49bdd283ad0d); } @@ -21977,6 +18210,7 @@ pub struct IMFSampleOutputStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSampleProtection(::windows_core::IUnknown); impl IMFSampleProtection { pub unsafe fn GetInputProtectionVersion(&self) -> ::windows_core::Result { @@ -21998,25 +18232,9 @@ impl IMFSampleProtection { } } ::windows_core::imp::interface_hierarchy!(IMFSampleProtection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSampleProtection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSampleProtection {} -impl ::core::fmt::Debug for IMFSampleProtection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSampleProtection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSampleProtection { type Vtable = IMFSampleProtection_Vtbl; } -impl ::core::clone::Clone for IMFSampleProtection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSampleProtection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e36395f_c7b9_43c4_a54d_512b4af63c95); } @@ -22032,6 +18250,7 @@ pub struct IMFSampleProtection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSaveJob(::windows_core::IUnknown); impl IMFSaveJob { pub unsafe fn BeginSave(&self, pstream: P0, pcallback: P1, pstate: P2) -> ::windows_core::Result<()> @@ -22057,25 +18276,9 @@ impl IMFSaveJob { } } ::windows_core::imp::interface_hierarchy!(IMFSaveJob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSaveJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSaveJob {} -impl ::core::fmt::Debug for IMFSaveJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSaveJob").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSaveJob { type Vtable = IMFSaveJob_Vtbl; } -impl ::core::clone::Clone for IMFSaveJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSaveJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9931663_80bf_4c6e_98af_5dcf58747d1f); } @@ -22090,6 +18293,7 @@ pub struct IMFSaveJob_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSchemeHandler(::windows_core::IUnknown); impl IMFSchemeHandler { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -22117,25 +18321,9 @@ impl IMFSchemeHandler { } } ::windows_core::imp::interface_hierarchy!(IMFSchemeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSchemeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSchemeHandler {} -impl ::core::fmt::Debug for IMFSchemeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSchemeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSchemeHandler { type Vtable = IMFSchemeHandler_Vtbl; } -impl ::core::clone::Clone for IMFSchemeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSchemeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d4c7b74_52a0_4bb7_b0db_55f29f47a668); } @@ -22152,6 +18340,7 @@ pub struct IMFSchemeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSecureBuffer(::windows_core::IUnknown); impl IMFSecureBuffer { pub unsafe fn GetIdentifier(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -22160,25 +18349,9 @@ impl IMFSecureBuffer { } } ::windows_core::imp::interface_hierarchy!(IMFSecureBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSecureBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSecureBuffer {} -impl ::core::fmt::Debug for IMFSecureBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSecureBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSecureBuffer { type Vtable = IMFSecureBuffer_Vtbl; } -impl ::core::clone::Clone for IMFSecureBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSecureBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1209904_e584_4752_a2d6_7f21693f8b21); } @@ -22190,6 +18363,7 @@ pub struct IMFSecureBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSecureChannel(::windows_core::IUnknown); impl IMFSecureChannel { pub unsafe fn GetCertificate(&self, ppcert: *mut *mut u8, pcbcert: *mut u32) -> ::windows_core::Result<()> { @@ -22200,25 +18374,9 @@ impl IMFSecureChannel { } } ::windows_core::imp::interface_hierarchy!(IMFSecureChannel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSecureChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSecureChannel {} -impl ::core::fmt::Debug for IMFSecureChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSecureChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSecureChannel { type Vtable = IMFSecureChannel_Vtbl; } -impl ::core::clone::Clone for IMFSecureChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSecureChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0ae555d_3b12_4d97_b060_0990bc5aeb67); } @@ -22231,6 +18389,7 @@ pub struct IMFSecureChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSeekInfo(::windows_core::IUnknown); impl IMFSeekInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -22240,25 +18399,9 @@ impl IMFSeekInfo { } } ::windows_core::imp::interface_hierarchy!(IMFSeekInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSeekInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSeekInfo {} -impl ::core::fmt::Debug for IMFSeekInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSeekInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSeekInfo { type Vtable = IMFSeekInfo_Vtbl; } -impl ::core::clone::Clone for IMFSeekInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSeekInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26afea53_d9ed_42b5_ab80_e64f9ee34779); } @@ -22273,6 +18416,7 @@ pub struct IMFSeekInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorActivitiesReport(::windows_core::IUnknown); impl IMFSensorActivitiesReport { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -22292,25 +18436,9 @@ impl IMFSensorActivitiesReport { } } ::windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorActivitiesReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorActivitiesReport {} -impl ::core::fmt::Debug for IMFSensorActivitiesReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorActivitiesReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorActivitiesReport { type Vtable = IMFSensorActivitiesReport_Vtbl; } -impl ::core::clone::Clone for IMFSensorActivitiesReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorActivitiesReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683f7a5e_4a19_43cd_b1a9_dbf4ab3f7777); } @@ -22324,6 +18452,7 @@ pub struct IMFSensorActivitiesReport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorActivitiesReportCallback(::windows_core::IUnknown); impl IMFSensorActivitiesReportCallback { pub unsafe fn OnActivitiesReport(&self, sensoractivitiesreport: P0) -> ::windows_core::Result<()> @@ -22334,25 +18463,9 @@ impl IMFSensorActivitiesReportCallback { } } ::windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReportCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorActivitiesReportCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorActivitiesReportCallback {} -impl ::core::fmt::Debug for IMFSensorActivitiesReportCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorActivitiesReportCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorActivitiesReportCallback { type Vtable = IMFSensorActivitiesReportCallback_Vtbl; } -impl ::core::clone::Clone for IMFSensorActivitiesReportCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorActivitiesReportCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde5072ee_dbe3_46dc_8a87_b6f631194751); } @@ -22364,6 +18477,7 @@ pub struct IMFSensorActivitiesReportCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorActivityMonitor(::windows_core::IUnknown); impl IMFSensorActivityMonitor { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -22374,25 +18488,9 @@ impl IMFSensorActivityMonitor { } } ::windows_core::imp::interface_hierarchy!(IMFSensorActivityMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorActivityMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorActivityMonitor {} -impl ::core::fmt::Debug for IMFSensorActivityMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorActivityMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorActivityMonitor { type Vtable = IMFSensorActivityMonitor_Vtbl; } -impl ::core::clone::Clone for IMFSensorActivityMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorActivityMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0cef145_b3f4_4340_a2e5_7a5080ca05cb); } @@ -22405,6 +18503,7 @@ pub struct IMFSensorActivityMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorActivityReport(::windows_core::IUnknown); impl IMFSensorActivityReport { pub unsafe fn GetFriendlyName(&self, friendlyname: &mut [u16], pcchwritten: *mut u32) -> ::windows_core::Result<()> { @@ -22423,25 +18522,9 @@ impl IMFSensorActivityReport { } } ::windows_core::imp::interface_hierarchy!(IMFSensorActivityReport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorActivityReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorActivityReport {} -impl ::core::fmt::Debug for IMFSensorActivityReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorActivityReport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorActivityReport { type Vtable = IMFSensorActivityReport_Vtbl; } -impl ::core::clone::Clone for IMFSensorActivityReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorActivityReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e8c4be1_a8c2_4528_90de_2851bde5fead); } @@ -22456,6 +18539,7 @@ pub struct IMFSensorActivityReport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorDevice(::windows_core::IUnknown); impl IMFSensorDevice { pub unsafe fn GetDeviceId(&self) -> ::windows_core::Result { @@ -22494,25 +18578,9 @@ impl IMFSensorDevice { } } ::windows_core::imp::interface_hierarchy!(IMFSensorDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorDevice {} -impl ::core::fmt::Debug for IMFSensorDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorDevice { type Vtable = IMFSensorDevice_Vtbl; } -impl ::core::clone::Clone for IMFSensorDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb9f48f2_2a18_4e28_9730_786f30f04dc4); } @@ -22532,6 +18600,7 @@ pub struct IMFSensorDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorGroup(::windows_core::IUnknown); impl IMFSensorGroup { pub unsafe fn GetSymbolicLink(&self, symboliclink: &mut [u16], pcchwritten: *mut i32) -> ::windows_core::Result<()> { @@ -22566,25 +18635,9 @@ impl IMFSensorGroup { } } ::windows_core::imp::interface_hierarchy!(IMFSensorGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorGroup {} -impl ::core::fmt::Debug for IMFSensorGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorGroup { type Vtable = IMFSensorGroup_Vtbl; } -impl ::core::clone::Clone for IMFSensorGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4110243a_9757_461f_89f1_f22345bcab4e); } @@ -22603,6 +18656,7 @@ pub struct IMFSensorGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorProcessActivity(::windows_core::IUnknown); impl IMFSensorProcessActivity { pub unsafe fn GetProcessId(&self) -> ::windows_core::Result { @@ -22627,25 +18681,9 @@ impl IMFSensorProcessActivity { } } ::windows_core::imp::interface_hierarchy!(IMFSensorProcessActivity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorProcessActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorProcessActivity {} -impl ::core::fmt::Debug for IMFSensorProcessActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorProcessActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorProcessActivity { type Vtable = IMFSensorProcessActivity_Vtbl; } -impl ::core::clone::Clone for IMFSensorProcessActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorProcessActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39dc7f4a_b141_4719_813c_a7f46162a2b8); } @@ -22666,6 +18704,7 @@ pub struct IMFSensorProcessActivity_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorProfile(::windows_core::IUnknown); impl IMFSensorProfile { pub unsafe fn GetProfileId(&self, pid: *mut SENSORPROFILEID) -> ::windows_core::Result<()> { @@ -22694,25 +18733,9 @@ impl IMFSensorProfile { } } ::windows_core::imp::interface_hierarchy!(IMFSensorProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorProfile {} -impl ::core::fmt::Debug for IMFSensorProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorProfile { type Vtable = IMFSensorProfile_Vtbl; } -impl ::core::clone::Clone for IMFSensorProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f765d1_8dab_4107_846d_56baf72215e7); } @@ -22730,6 +18753,7 @@ pub struct IMFSensorProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorProfileCollection(::windows_core::IUnknown); impl IMFSensorProfileCollection { pub unsafe fn GetProfileCount(&self) -> u32 { @@ -22757,25 +18781,9 @@ impl IMFSensorProfileCollection { } } ::windows_core::imp::interface_hierarchy!(IMFSensorProfileCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorProfileCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorProfileCollection {} -impl ::core::fmt::Debug for IMFSensorProfileCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorProfileCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorProfileCollection { type Vtable = IMFSensorProfileCollection_Vtbl; } -impl ::core::clone::Clone for IMFSensorProfileCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorProfileCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc95ea55b_0187_48be_9353_8d2507662351); } @@ -22792,6 +18800,7 @@ pub struct IMFSensorProfileCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorStream(::windows_core::IUnknown); impl IMFSensorStream { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -22934,25 +18943,9 @@ impl IMFSensorStream { } } ::windows_core::imp::interface_hierarchy!(IMFSensorStream, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFSensorStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorStream {} -impl ::core::fmt::Debug for IMFSensorStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorStream { type Vtable = IMFSensorStream_Vtbl; } -impl ::core::clone::Clone for IMFSensorStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9a42171_c56e_498a_8b39_eda5a070b7fc); } @@ -22966,6 +18959,7 @@ pub struct IMFSensorStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSensorTransformFactory(::windows_core::IUnknown); impl IMFSensorTransformFactory { pub unsafe fn GetFactoryAttributes(&self) -> ::windows_core::Result { @@ -22995,25 +18989,9 @@ impl IMFSensorTransformFactory { } } ::windows_core::imp::interface_hierarchy!(IMFSensorTransformFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSensorTransformFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSensorTransformFactory {} -impl ::core::fmt::Debug for IMFSensorTransformFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSensorTransformFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSensorTransformFactory { type Vtable = IMFSensorTransformFactory_Vtbl; } -impl ::core::clone::Clone for IMFSensorTransformFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSensorTransformFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeed9c2ee_66b4_4f18_a697_ac7d3960215c); } @@ -23029,6 +19007,7 @@ pub struct IMFSensorTransformFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSequencerSource(::windows_core::IUnknown); impl IMFSequencerSource { pub unsafe fn AppendTopology(&self, ptopology: P0, dwflags: u32) -> ::windows_core::Result @@ -23058,25 +19037,9 @@ impl IMFSequencerSource { } } ::windows_core::imp::interface_hierarchy!(IMFSequencerSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSequencerSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSequencerSource {} -impl ::core::fmt::Debug for IMFSequencerSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSequencerSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSequencerSource { type Vtable = IMFSequencerSource_Vtbl; } -impl ::core::clone::Clone for IMFSequencerSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSequencerSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x197cd219_19cb_4de1_a64c_acf2edcbe59e); } @@ -23092,6 +19055,7 @@ pub struct IMFSequencerSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSharingEngineClassFactory(::windows_core::IUnknown); impl IMFSharingEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -23103,25 +19067,9 @@ impl IMFSharingEngineClassFactory { } } ::windows_core::imp::interface_hierarchy!(IMFSharingEngineClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSharingEngineClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSharingEngineClassFactory {} -impl ::core::fmt::Debug for IMFSharingEngineClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSharingEngineClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSharingEngineClassFactory { type Vtable = IMFSharingEngineClassFactory_Vtbl; } -impl ::core::clone::Clone for IMFSharingEngineClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSharingEngineClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ba61f92_8305_413b_9733_faf15f259384); } @@ -23133,6 +19081,7 @@ pub struct IMFSharingEngineClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFShutdown(::windows_core::IUnknown); impl IMFShutdown { pub unsafe fn Shutdown(&self) -> ::windows_core::Result<()> { @@ -23144,25 +19093,9 @@ impl IMFShutdown { } } ::windows_core::imp::interface_hierarchy!(IMFShutdown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFShutdown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFShutdown {} -impl ::core::fmt::Debug for IMFShutdown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFShutdown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFShutdown { type Vtable = IMFShutdown_Vtbl; } -impl ::core::clone::Clone for IMFShutdown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFShutdown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97ec2ea4_0e42_4937_97ac_9d6d328824e1); } @@ -23175,6 +19108,7 @@ pub struct IMFShutdown_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSignedLibrary(::windows_core::IUnknown); impl IMFSignedLibrary { pub unsafe fn GetProcedureAddress(&self, name: P0, address: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -23185,25 +19119,9 @@ impl IMFSignedLibrary { } } ::windows_core::imp::interface_hierarchy!(IMFSignedLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSignedLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSignedLibrary {} -impl ::core::fmt::Debug for IMFSignedLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSignedLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSignedLibrary { type Vtable = IMFSignedLibrary_Vtbl; } -impl ::core::clone::Clone for IMFSignedLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSignedLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a724bca_ff6a_4c07_8e0d_7a358421cf06); } @@ -23215,6 +19133,7 @@ pub struct IMFSignedLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSimpleAudioVolume(::windows_core::IUnknown); impl IMFSimpleAudioVolume { pub unsafe fn SetMasterVolume(&self, flevel: f32) -> ::windows_core::Result<()> { @@ -23240,25 +19159,9 @@ impl IMFSimpleAudioVolume { } } ::windows_core::imp::interface_hierarchy!(IMFSimpleAudioVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSimpleAudioVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSimpleAudioVolume {} -impl ::core::fmt::Debug for IMFSimpleAudioVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSimpleAudioVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSimpleAudioVolume { type Vtable = IMFSimpleAudioVolume_Vtbl; } -impl ::core::clone::Clone for IMFSimpleAudioVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSimpleAudioVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x089edf13_cf71_4338_8d13_9e569dbdc319); } @@ -23279,6 +19182,7 @@ pub struct IMFSimpleAudioVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSinkWriter(::windows_core::IUnknown); impl IMFSinkWriter { pub unsafe fn AddStream(&self, ptargetmediatype: P0) -> ::windows_core::Result @@ -23327,25 +19231,9 @@ impl IMFSinkWriter { } } ::windows_core::imp::interface_hierarchy!(IMFSinkWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSinkWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSinkWriter {} -impl ::core::fmt::Debug for IMFSinkWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSinkWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSinkWriter { type Vtable = IMFSinkWriter_Vtbl; } -impl ::core::clone::Clone for IMFSinkWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSinkWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3137f1cd_fe5e_4805_a5d8_fb477448cb3d); } @@ -23367,6 +19255,7 @@ pub struct IMFSinkWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSinkWriterCallback(::windows_core::IUnknown); impl IMFSinkWriterCallback { pub unsafe fn OnFinalize(&self, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -23377,25 +19266,9 @@ impl IMFSinkWriterCallback { } } ::windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSinkWriterCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSinkWriterCallback {} -impl ::core::fmt::Debug for IMFSinkWriterCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSinkWriterCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSinkWriterCallback { type Vtable = IMFSinkWriterCallback_Vtbl; } -impl ::core::clone::Clone for IMFSinkWriterCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSinkWriterCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x666f76de_33d2_41b9_a458_29ed0a972c58); } @@ -23408,6 +19281,7 @@ pub struct IMFSinkWriterCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSinkWriterCallback2(::windows_core::IUnknown); impl IMFSinkWriterCallback2 { pub unsafe fn OnFinalize(&self, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -23424,25 +19298,9 @@ impl IMFSinkWriterCallback2 { } } ::windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback2, ::windows_core::IUnknown, IMFSinkWriterCallback); -impl ::core::cmp::PartialEq for IMFSinkWriterCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSinkWriterCallback2 {} -impl ::core::fmt::Debug for IMFSinkWriterCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSinkWriterCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSinkWriterCallback2 { type Vtable = IMFSinkWriterCallback2_Vtbl; } -impl ::core::clone::Clone for IMFSinkWriterCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSinkWriterCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2456bd58_c067_4513_84fe_8d0c88ffdc61); } @@ -23455,6 +19313,7 @@ pub struct IMFSinkWriterCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSinkWriterEncoderConfig(::windows_core::IUnknown); impl IMFSinkWriterEncoderConfig { pub unsafe fn SetTargetMediaType(&self, dwstreamindex: u32, ptargetmediatype: P0, pencodingparameters: P1) -> ::windows_core::Result<()> @@ -23472,25 +19331,9 @@ impl IMFSinkWriterEncoderConfig { } } ::windows_core::imp::interface_hierarchy!(IMFSinkWriterEncoderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSinkWriterEncoderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSinkWriterEncoderConfig {} -impl ::core::fmt::Debug for IMFSinkWriterEncoderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSinkWriterEncoderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSinkWriterEncoderConfig { type Vtable = IMFSinkWriterEncoderConfig_Vtbl; } -impl ::core::clone::Clone for IMFSinkWriterEncoderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSinkWriterEncoderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17c3779e_3cde_4ede_8c60_3899f5f53ad6); } @@ -23503,6 +19346,7 @@ pub struct IMFSinkWriterEncoderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSinkWriterEx(::windows_core::IUnknown); impl IMFSinkWriterEx { pub unsafe fn AddStream(&self, ptargetmediatype: P0) -> ::windows_core::Result @@ -23554,24 +19398,8 @@ impl IMFSinkWriterEx { } } ::windows_core::imp::interface_hierarchy!(IMFSinkWriterEx, ::windows_core::IUnknown, IMFSinkWriter); -impl ::core::cmp::PartialEq for IMFSinkWriterEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSinkWriterEx {} -impl ::core::fmt::Debug for IMFSinkWriterEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSinkWriterEx").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFSinkWriterEx { - type Vtable = IMFSinkWriterEx_Vtbl; -} -impl ::core::clone::Clone for IMFSinkWriterEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFSinkWriterEx { + type Vtable = IMFSinkWriterEx_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFSinkWriterEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x588d72ab_5bc1_496a_8714_b70617141b25); @@ -23584,6 +19412,7 @@ pub struct IMFSinkWriterEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceBuffer(::windows_core::IUnknown); impl IMFSourceBuffer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23630,25 +19459,9 @@ impl IMFSourceBuffer { } } ::windows_core::imp::interface_hierarchy!(IMFSourceBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceBuffer {} -impl ::core::fmt::Debug for IMFSourceBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceBuffer { type Vtable = IMFSourceBuffer_Vtbl; } -impl ::core::clone::Clone for IMFSourceBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2cd3a4b_af25_4d3d_9110_da0e6f8ee877); } @@ -23674,6 +19487,7 @@ pub struct IMFSourceBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceBufferAppendMode(::windows_core::IUnknown); impl IMFSourceBufferAppendMode { pub unsafe fn GetAppendMode(&self) -> MF_MSE_APPEND_MODE { @@ -23684,25 +19498,9 @@ impl IMFSourceBufferAppendMode { } } ::windows_core::imp::interface_hierarchy!(IMFSourceBufferAppendMode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceBufferAppendMode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceBufferAppendMode {} -impl ::core::fmt::Debug for IMFSourceBufferAppendMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceBufferAppendMode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceBufferAppendMode { type Vtable = IMFSourceBufferAppendMode_Vtbl; } -impl ::core::clone::Clone for IMFSourceBufferAppendMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceBufferAppendMode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19666fb4_babe_4c55_bc03_0a074da37e2a); } @@ -23715,6 +19513,7 @@ pub struct IMFSourceBufferAppendMode_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceBufferList(::windows_core::IUnknown); impl IMFSourceBufferList { pub unsafe fn GetLength(&self) -> u32 { @@ -23725,25 +19524,9 @@ impl IMFSourceBufferList { } } ::windows_core::imp::interface_hierarchy!(IMFSourceBufferList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceBufferList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceBufferList {} -impl ::core::fmt::Debug for IMFSourceBufferList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceBufferList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceBufferList { type Vtable = IMFSourceBufferList_Vtbl; } -impl ::core::clone::Clone for IMFSourceBufferList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceBufferList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x249981f8_8325_41f3_b80c_3b9e3aad0cbe); } @@ -23756,6 +19539,7 @@ pub struct IMFSourceBufferList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceBufferNotify(::windows_core::IUnknown); impl IMFSourceBufferNotify { pub unsafe fn OnUpdateStart(&self) { @@ -23775,25 +19559,9 @@ impl IMFSourceBufferNotify { } } ::windows_core::imp::interface_hierarchy!(IMFSourceBufferNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceBufferNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceBufferNotify {} -impl ::core::fmt::Debug for IMFSourceBufferNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceBufferNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceBufferNotify { type Vtable = IMFSourceBufferNotify_Vtbl; } -impl ::core::clone::Clone for IMFSourceBufferNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceBufferNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87e47623_2ceb_45d6_9b88_d8520c4dcbbc); } @@ -23809,6 +19577,7 @@ pub struct IMFSourceBufferNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceOpenMonitor(::windows_core::IUnknown); impl IMFSourceOpenMonitor { pub unsafe fn OnSourceEvent(&self, pevent: P0) -> ::windows_core::Result<()> @@ -23819,25 +19588,9 @@ impl IMFSourceOpenMonitor { } } ::windows_core::imp::interface_hierarchy!(IMFSourceOpenMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceOpenMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceOpenMonitor {} -impl ::core::fmt::Debug for IMFSourceOpenMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceOpenMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceOpenMonitor { type Vtable = IMFSourceOpenMonitor_Vtbl; } -impl ::core::clone::Clone for IMFSourceOpenMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceOpenMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x059054b3_027c_494c_a27d_9113291cf87f); } @@ -23849,6 +19602,7 @@ pub struct IMFSourceOpenMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceReader(::windows_core::IUnknown); impl IMFSourceReader { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23901,25 +19655,9 @@ impl IMFSourceReader { } } ::windows_core::imp::interface_hierarchy!(IMFSourceReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceReader {} -impl ::core::fmt::Debug for IMFSourceReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceReader { type Vtable = IMFSourceReader_Vtbl; } -impl ::core::clone::Clone for IMFSourceReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70ae66f2_c809_4e4f_8915_bdcb406b7993); } @@ -23952,6 +19690,7 @@ pub struct IMFSourceReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceReaderCallback(::windows_core::IUnknown); impl IMFSourceReaderCallback { pub unsafe fn OnReadSample(&self, hrstatus: ::windows_core::HRESULT, dwstreamindex: u32, dwstreamflags: u32, lltimestamp: i64, psample: P0) -> ::windows_core::Result<()> @@ -23971,25 +19710,9 @@ impl IMFSourceReaderCallback { } } ::windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceReaderCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceReaderCallback {} -impl ::core::fmt::Debug for IMFSourceReaderCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceReaderCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceReaderCallback { type Vtable = IMFSourceReaderCallback_Vtbl; } -impl ::core::clone::Clone for IMFSourceReaderCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceReaderCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdeec8d99_fa1d_4d82_84c2_2c8969944867); } @@ -24003,6 +19726,7 @@ pub struct IMFSourceReaderCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceReaderCallback2(::windows_core::IUnknown); impl IMFSourceReaderCallback2 { pub unsafe fn OnReadSample(&self, hrstatus: ::windows_core::HRESULT, dwstreamindex: u32, dwstreamflags: u32, lltimestamp: i64, psample: P0) -> ::windows_core::Result<()> @@ -24028,25 +19752,9 @@ impl IMFSourceReaderCallback2 { } } ::windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback2, ::windows_core::IUnknown, IMFSourceReaderCallback); -impl ::core::cmp::PartialEq for IMFSourceReaderCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceReaderCallback2 {} -impl ::core::fmt::Debug for IMFSourceReaderCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceReaderCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceReaderCallback2 { type Vtable = IMFSourceReaderCallback2_Vtbl; } -impl ::core::clone::Clone for IMFSourceReaderCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceReaderCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf839fe6_8c2a_4dd2_b6ea_c22d6961af05); } @@ -24059,6 +19767,7 @@ pub struct IMFSourceReaderCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceReaderEx(::windows_core::IUnknown); impl IMFSourceReaderEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24130,25 +19839,9 @@ impl IMFSourceReaderEx { } } ::windows_core::imp::interface_hierarchy!(IMFSourceReaderEx, ::windows_core::IUnknown, IMFSourceReader); -impl ::core::cmp::PartialEq for IMFSourceReaderEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceReaderEx {} -impl ::core::fmt::Debug for IMFSourceReaderEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceReaderEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceReaderEx { type Vtable = IMFSourceReaderEx_Vtbl; } -impl ::core::clone::Clone for IMFSourceReaderEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceReaderEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b981cf0_560e_4116_9875_b099895f23d7); } @@ -24163,6 +19856,7 @@ pub struct IMFSourceReaderEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSourceResolver(::windows_core::IUnknown); impl IMFSourceResolver { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -24227,25 +19921,9 @@ impl IMFSourceResolver { } } ::windows_core::imp::interface_hierarchy!(IMFSourceResolver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSourceResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSourceResolver {} -impl ::core::fmt::Debug for IMFSourceResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSourceResolver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSourceResolver { type Vtable = IMFSourceResolver_Vtbl; } -impl ::core::clone::Clone for IMFSourceResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSourceResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbe5a32d_a497_4b61_bb85_97b1a848a6e3); } @@ -24275,6 +19953,7 @@ pub struct IMFSourceResolver_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSpatialAudioObjectBuffer(::windows_core::IUnknown); impl IMFSpatialAudioObjectBuffer { pub unsafe fn Lock(&self, ppbbuffer: *mut *mut u8, pcbmaxlength: ::core::option::Option<*mut u32>, pcbcurrentlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -24320,25 +19999,9 @@ impl IMFSpatialAudioObjectBuffer { } } ::windows_core::imp::interface_hierarchy!(IMFSpatialAudioObjectBuffer, ::windows_core::IUnknown, IMFMediaBuffer); -impl ::core::cmp::PartialEq for IMFSpatialAudioObjectBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSpatialAudioObjectBuffer {} -impl ::core::fmt::Debug for IMFSpatialAudioObjectBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSpatialAudioObjectBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSpatialAudioObjectBuffer { type Vtable = IMFSpatialAudioObjectBuffer_Vtbl; } -impl ::core::clone::Clone for IMFSpatialAudioObjectBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSpatialAudioObjectBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd396ec8c_605e_4249_978d_72ad1c312872); } @@ -24363,6 +20026,7 @@ pub struct IMFSpatialAudioObjectBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSpatialAudioSample(::windows_core::IUnknown); impl IMFSpatialAudioSample { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -24562,25 +20226,9 @@ impl IMFSpatialAudioSample { } } ::windows_core::imp::interface_hierarchy!(IMFSpatialAudioSample, ::windows_core::IUnknown, IMFAttributes, IMFSample); -impl ::core::cmp::PartialEq for IMFSpatialAudioSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSpatialAudioSample {} -impl ::core::fmt::Debug for IMFSpatialAudioSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSpatialAudioSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSpatialAudioSample { type Vtable = IMFSpatialAudioSample_Vtbl; } -impl ::core::clone::Clone for IMFSpatialAudioSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSpatialAudioSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabf28a9b_3393_4290_ba79_5ffc46d986b2); } @@ -24594,6 +20242,7 @@ pub struct IMFSpatialAudioSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFStreamDescriptor(::windows_core::IUnknown); impl IMFStreamDescriptor { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -24732,25 +20381,9 @@ impl IMFStreamDescriptor { } } ::windows_core::imp::interface_hierarchy!(IMFStreamDescriptor, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFStreamDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFStreamDescriptor {} -impl ::core::fmt::Debug for IMFStreamDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFStreamDescriptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFStreamDescriptor { type Vtable = IMFStreamDescriptor_Vtbl; } -impl ::core::clone::Clone for IMFStreamDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFStreamDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56c03d9c_9dbb_45f5_ab4b_d80f47c05938); } @@ -24763,6 +20396,7 @@ pub struct IMFStreamDescriptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFStreamSink(::windows_core::IUnknown); impl IMFStreamSink { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> ::windows_core::Result { @@ -24816,25 +20450,9 @@ impl IMFStreamSink { } } ::windows_core::imp::interface_hierarchy!(IMFStreamSink, ::windows_core::IUnknown, IMFMediaEventGenerator); -impl ::core::cmp::PartialEq for IMFStreamSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFStreamSink {} -impl ::core::fmt::Debug for IMFStreamSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFStreamSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFStreamSink { type Vtable = IMFStreamSink_Vtbl; } -impl ::core::clone::Clone for IMFStreamSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFStreamSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a97b3cf_8e7c_4a3d_8f8c_0c843dc247fb); } @@ -24854,6 +20472,7 @@ pub struct IMFStreamSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFStreamingSinkConfig(::windows_core::IUnknown); impl IMFStreamingSinkConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24866,25 +20485,9 @@ impl IMFStreamingSinkConfig { } } ::windows_core::imp::interface_hierarchy!(IMFStreamingSinkConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFStreamingSinkConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFStreamingSinkConfig {} -impl ::core::fmt::Debug for IMFStreamingSinkConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFStreamingSinkConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFStreamingSinkConfig { type Vtable = IMFStreamingSinkConfig_Vtbl; } -impl ::core::clone::Clone for IMFStreamingSinkConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFStreamingSinkConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9db7aa41_3cc5_40d4_8509_555804ad34cc); } @@ -24899,6 +20502,7 @@ pub struct IMFStreamingSinkConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFSystemId(::windows_core::IUnknown); impl IMFSystemId { pub unsafe fn GetData(&self, size: *mut u32, data: *mut *mut u8) -> ::windows_core::Result<()> { @@ -24909,25 +20513,9 @@ impl IMFSystemId { } } ::windows_core::imp::interface_hierarchy!(IMFSystemId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFSystemId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFSystemId {} -impl ::core::fmt::Debug for IMFSystemId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFSystemId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFSystemId { type Vtable = IMFSystemId_Vtbl; } -impl ::core::clone::Clone for IMFSystemId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFSystemId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfff4af3a_1fc1_4ef9_a29b_d26c49e2f31a); } @@ -24940,6 +20528,7 @@ pub struct IMFSystemId_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimecodeTranslate(::windows_core::IUnknown); impl IMFTimecodeTranslate { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -24976,25 +20565,9 @@ impl IMFTimecodeTranslate { } } ::windows_core::imp::interface_hierarchy!(IMFTimecodeTranslate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimecodeTranslate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimecodeTranslate {} -impl ::core::fmt::Debug for IMFTimecodeTranslate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimecodeTranslate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimecodeTranslate { type Vtable = IMFTimecodeTranslate_Vtbl; } -impl ::core::clone::Clone for IMFTimecodeTranslate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimecodeTranslate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab9d8661_f7e8_4ef4_9861_89f334f94e74); } @@ -25015,6 +20588,7 @@ pub struct IMFTimecodeTranslate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedText(::windows_core::IUnknown); impl IMFTimedText { pub unsafe fn RegisterNotifications(&self, notify: P0) -> ::windows_core::Result<()> @@ -25107,25 +20681,9 @@ impl IMFTimedText { } } ::windows_core::imp::interface_hierarchy!(IMFTimedText, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedText {} -impl ::core::fmt::Debug for IMFTimedText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedText { type Vtable = IMFTimedText_Vtbl; } -impl ::core::clone::Clone for IMFTimedText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f2a94c9_a3df_430d_9d0f_acd85ddc29af); } @@ -25165,6 +20723,7 @@ pub struct IMFTimedText_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextBinary(::windows_core::IUnknown); impl IMFTimedTextBinary { pub unsafe fn GetData(&self, data: *mut *mut u8, length: *mut u32) -> ::windows_core::Result<()> { @@ -25172,25 +20731,9 @@ impl IMFTimedTextBinary { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextBinary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextBinary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextBinary {} -impl ::core::fmt::Debug for IMFTimedTextBinary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextBinary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextBinary { type Vtable = IMFTimedTextBinary_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextBinary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextBinary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ae3a412_0545_43c4_bf6f_6b97a5c6c432); } @@ -25202,6 +20745,7 @@ pub struct IMFTimedTextBinary_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextBouten(::windows_core::IUnknown); impl IMFTimedTextBouten { pub unsafe fn GetBoutenType(&self) -> ::windows_core::Result { @@ -25218,25 +20762,9 @@ impl IMFTimedTextBouten { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextBouten, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextBouten { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextBouten {} -impl ::core::fmt::Debug for IMFTimedTextBouten { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextBouten").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextBouten { type Vtable = IMFTimedTextBouten_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextBouten { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextBouten { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c5f3e8a_90c0_464e_8136_898d2975f847); } @@ -25250,6 +20778,7 @@ pub struct IMFTimedTextBouten_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextCue(::windows_core::IUnknown); impl IMFTimedTextCue { pub unsafe fn GetId(&self) -> u32 { @@ -25292,25 +20821,9 @@ impl IMFTimedTextCue { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextCue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextCue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextCue {} -impl ::core::fmt::Debug for IMFTimedTextCue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextCue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextCue { type Vtable = IMFTimedTextCue_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextCue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextCue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e560447_9a2b_43e1_a94c_b0aaabfbfbc9); } @@ -25332,6 +20845,7 @@ pub struct IMFTimedTextCue_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextCueList(::windows_core::IUnknown); impl IMFTimedTextCueList { pub unsafe fn GetLength(&self) -> u32 { @@ -25369,25 +20883,9 @@ impl IMFTimedTextCueList { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextCueList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextCueList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextCueList {} -impl ::core::fmt::Debug for IMFTimedTextCueList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextCueList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextCueList { type Vtable = IMFTimedTextCueList_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextCueList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextCueList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad128745_211b_40a0_9981_fe65f166d0fd); } @@ -25405,6 +20903,7 @@ pub struct IMFTimedTextCueList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextFormattedText(::windows_core::IUnknown); impl IMFTimedTextFormattedText { pub unsafe fn GetText(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -25419,25 +20918,9 @@ impl IMFTimedTextFormattedText { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextFormattedText, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextFormattedText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextFormattedText {} -impl ::core::fmt::Debug for IMFTimedTextFormattedText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextFormattedText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextFormattedText { type Vtable = IMFTimedTextFormattedText_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextFormattedText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextFormattedText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe13af3c1_4d47_4354_b1f5_e83ae0ecae60); } @@ -25451,6 +20934,7 @@ pub struct IMFTimedTextFormattedText_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextNotify(::windows_core::IUnknown); impl IMFTimedTextNotify { pub unsafe fn TrackAdded(&self, trackid: u32) { @@ -25484,25 +20968,9 @@ impl IMFTimedTextNotify { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextNotify {} -impl ::core::fmt::Debug for IMFTimedTextNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextNotify { type Vtable = IMFTimedTextNotify_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf6b87b6_ce12_45db_aba7_432fe054e57d); } @@ -25523,6 +20991,7 @@ pub struct IMFTimedTextNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextRegion(::windows_core::IUnknown); impl IMFTimedTextRegion { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -25575,25 +21044,9 @@ impl IMFTimedTextRegion { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextRegion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextRegion {} -impl ::core::fmt::Debug for IMFTimedTextRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextRegion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextRegion { type Vtable = IMFTimedTextRegion_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8d22afc_bc47_4bdf_9b04_787e49ce3f58); } @@ -25622,6 +21075,7 @@ pub struct IMFTimedTextRegion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextRuby(::windows_core::IUnknown); impl IMFTimedTextRuby { pub unsafe fn GetRubyText(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -25642,25 +21096,9 @@ impl IMFTimedTextRuby { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextRuby, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextRuby { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextRuby {} -impl ::core::fmt::Debug for IMFTimedTextRuby { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextRuby").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextRuby { type Vtable = IMFTimedTextRuby_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextRuby { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextRuby { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76c6a6f5_4955_4de5_b27b_14b734cc14b4); } @@ -25675,6 +21113,7 @@ pub struct IMFTimedTextRuby_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextStyle(::windows_core::IUnknown); impl IMFTimedTextStyle { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -25736,25 +21175,9 @@ impl IMFTimedTextStyle { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextStyle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextStyle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextStyle {} -impl ::core::fmt::Debug for IMFTimedTextStyle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextStyle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextStyle { type Vtable = IMFTimedTextStyle_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextStyle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextStyle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09b2455d_b834_4f01_a347_9052e21c450e); } @@ -25790,6 +21213,7 @@ pub struct IMFTimedTextStyle_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextStyle2(::windows_core::IUnknown); impl IMFTimedTextStyle2 { pub unsafe fn GetRuby(&self) -> ::windows_core::Result { @@ -25812,24 +21236,8 @@ impl IMFTimedTextStyle2 { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextStyle2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextStyle2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextStyle2 {} -impl ::core::fmt::Debug for IMFTimedTextStyle2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextStyle2").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFTimedTextStyle2 { - type Vtable = IMFTimedTextStyle2_Vtbl; -} -impl ::core::clone::Clone for IMFTimedTextStyle2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFTimedTextStyle2 { + type Vtable = IMFTimedTextStyle2_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFTimedTextStyle2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb639199_c809_4c89_bfca_d0bbb9729d6e); @@ -25848,6 +21256,7 @@ pub struct IMFTimedTextStyle2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextTrack(::windows_core::IUnknown); impl IMFTimedTextTrack { pub unsafe fn GetId(&self) -> u32 { @@ -25903,25 +21312,9 @@ impl IMFTimedTextTrack { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextTrack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextTrack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextTrack {} -impl ::core::fmt::Debug for IMFTimedTextTrack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextTrack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextTrack { type Vtable = IMFTimedTextTrack_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextTrack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextTrack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8822c32d_654e_4233_bf21_d7f2e67d30d4); } @@ -25951,6 +21344,7 @@ pub struct IMFTimedTextTrack_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimedTextTrackList(::windows_core::IUnknown); impl IMFTimedTextTrackList { pub unsafe fn GetLength(&self) -> u32 { @@ -25966,25 +21360,9 @@ impl IMFTimedTextTrackList { } } ::windows_core::imp::interface_hierarchy!(IMFTimedTextTrackList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimedTextTrackList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimedTextTrackList {} -impl ::core::fmt::Debug for IMFTimedTextTrackList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimedTextTrackList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimedTextTrackList { type Vtable = IMFTimedTextTrackList_Vtbl; } -impl ::core::clone::Clone for IMFTimedTextTrackList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimedTextTrackList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23ff334c_442c_445f_bccc_edc438aa11e2); } @@ -25998,6 +21376,7 @@ pub struct IMFTimedTextTrackList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTimer(::windows_core::IUnknown); impl IMFTimer { pub unsafe fn SetTimer(&self, dwflags: u32, llclocktime: i64, pcallback: P0, punkstate: P1) -> ::windows_core::Result<::windows_core::IUnknown> @@ -26016,25 +21395,9 @@ impl IMFTimer { } } ::windows_core::imp::interface_hierarchy!(IMFTimer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTimer {} -impl ::core::fmt::Debug for IMFTimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTimer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTimer { type Vtable = IMFTimer_Vtbl; } -impl ::core::clone::Clone for IMFTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe56e4cbd_8f70_49d8_a0f8_edb3d6ab9bf2); } @@ -26047,6 +21410,7 @@ pub struct IMFTimer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopoLoader(::windows_core::IUnknown); impl IMFTopoLoader { pub unsafe fn Load(&self, pinputtopo: P0, ppoutputtopo: *mut ::core::option::Option, pcurrenttopo: P1) -> ::windows_core::Result<()> @@ -26058,25 +21422,9 @@ impl IMFTopoLoader { } } ::windows_core::imp::interface_hierarchy!(IMFTopoLoader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTopoLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopoLoader {} -impl ::core::fmt::Debug for IMFTopoLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopoLoader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopoLoader { type Vtable = IMFTopoLoader_Vtbl; } -impl ::core::clone::Clone for IMFTopoLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopoLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde9a6157_f660_4643_b56a_df9f7998c7cd); } @@ -26088,6 +21436,7 @@ pub struct IMFTopoLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopology(::windows_core::IUnknown); impl IMFTopology { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -26263,25 +21612,9 @@ impl IMFTopology { } } ::windows_core::imp::interface_hierarchy!(IMFTopology, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFTopology { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopology {} -impl ::core::fmt::Debug for IMFTopology { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopology").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopology { type Vtable = IMFTopology_Vtbl; } -impl ::core::clone::Clone for IMFTopology { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopology { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83cf873a_f6da_4bc8_823f_bacfd55dc433); } @@ -26302,6 +21635,7 @@ pub struct IMFTopology_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopologyNode(::windows_core::IUnknown); impl IMFTopologyNode { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -26502,25 +21836,9 @@ impl IMFTopologyNode { } } ::windows_core::imp::interface_hierarchy!(IMFTopologyNode, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFTopologyNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopologyNode {} -impl ::core::fmt::Debug for IMFTopologyNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopologyNode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopologyNode { type Vtable = IMFTopologyNode_Vtbl; } -impl ::core::clone::Clone for IMFTopologyNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopologyNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83cf873a_f6da_4bc8_823f_bacfd55dc430); } @@ -26547,6 +21865,7 @@ pub struct IMFTopologyNode_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopologyNodeAttributeEditor(::windows_core::IUnknown); impl IMFTopologyNodeAttributeEditor { pub unsafe fn UpdateNodeAttributes(&self, topoid: u64, pupdates: &[MFTOPONODE_ATTRIBUTE_UPDATE]) -> ::windows_core::Result<()> { @@ -26554,25 +21873,9 @@ impl IMFTopologyNodeAttributeEditor { } } ::windows_core::imp::interface_hierarchy!(IMFTopologyNodeAttributeEditor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTopologyNodeAttributeEditor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopologyNodeAttributeEditor {} -impl ::core::fmt::Debug for IMFTopologyNodeAttributeEditor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopologyNodeAttributeEditor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopologyNodeAttributeEditor { type Vtable = IMFTopologyNodeAttributeEditor_Vtbl; } -impl ::core::clone::Clone for IMFTopologyNodeAttributeEditor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopologyNodeAttributeEditor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x676aa6dd_238a_410d_bb99_65668d01605a); } @@ -26584,6 +21887,7 @@ pub struct IMFTopologyNodeAttributeEditor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopologyServiceLookup(::windows_core::IUnknown); impl IMFTopologyServiceLookup { pub unsafe fn LookupService(&self, r#type: MF_SERVICE_LOOKUP_TYPE, dwindex: u32, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppvobjects: *mut *mut ::core::ffi::c_void, pnobjects: *mut u32) -> ::windows_core::Result<()> { @@ -26591,25 +21895,9 @@ impl IMFTopologyServiceLookup { } } ::windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTopologyServiceLookup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopologyServiceLookup {} -impl ::core::fmt::Debug for IMFTopologyServiceLookup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopologyServiceLookup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopologyServiceLookup { type Vtable = IMFTopologyServiceLookup_Vtbl; } -impl ::core::clone::Clone for IMFTopologyServiceLookup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopologyServiceLookup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa993889_4383_415a_a930_dd472a8cf6f7); } @@ -26621,6 +21909,7 @@ pub struct IMFTopologyServiceLookup_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTopologyServiceLookupClient(::windows_core::IUnknown); impl IMFTopologyServiceLookupClient { pub unsafe fn InitServicePointers(&self, plookup: P0) -> ::windows_core::Result<()> @@ -26634,25 +21923,9 @@ impl IMFTopologyServiceLookupClient { } } ::windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookupClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTopologyServiceLookupClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTopologyServiceLookupClient {} -impl ::core::fmt::Debug for IMFTopologyServiceLookupClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTopologyServiceLookupClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTopologyServiceLookupClient { type Vtable = IMFTopologyServiceLookupClient_Vtbl; } -impl ::core::clone::Clone for IMFTopologyServiceLookupClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTopologyServiceLookupClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa99388a_4383_415a_a930_dd472a8cf6f7); } @@ -26665,6 +21938,7 @@ pub struct IMFTopologyServiceLookupClient_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTrackedSample(::windows_core::IUnknown); impl IMFTrackedSample { pub unsafe fn SetAllocator(&self, psampleallocator: P0, punkstate: P1) -> ::windows_core::Result<()> @@ -26676,25 +21950,9 @@ impl IMFTrackedSample { } } ::windows_core::imp::interface_hierarchy!(IMFTrackedSample, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTrackedSample { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTrackedSample {} -impl ::core::fmt::Debug for IMFTrackedSample { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTrackedSample").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTrackedSample { type Vtable = IMFTrackedSample_Vtbl; } -impl ::core::clone::Clone for IMFTrackedSample { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTrackedSample { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x245bf8e9_0755_40f7_88a5_ae0f18d55e17); } @@ -26706,6 +21964,7 @@ pub struct IMFTrackedSample_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTranscodeProfile(::windows_core::IUnknown); impl IMFTranscodeProfile { pub unsafe fn SetAudioAttributes(&self, pattrs: P0) -> ::windows_core::Result<()> @@ -26740,25 +21999,9 @@ impl IMFTranscodeProfile { } } ::windows_core::imp::interface_hierarchy!(IMFTranscodeProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTranscodeProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTranscodeProfile {} -impl ::core::fmt::Debug for IMFTranscodeProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTranscodeProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTranscodeProfile { type Vtable = IMFTranscodeProfile_Vtbl; } -impl ::core::clone::Clone for IMFTranscodeProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTranscodeProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4adfdba3_7ab0_4953_a62b_461e7ff3da1e); } @@ -26775,6 +22018,7 @@ pub struct IMFTranscodeProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTranscodeSinkInfoProvider(::windows_core::IUnknown); impl IMFTranscodeSinkInfoProvider { pub unsafe fn SetOutputFile(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -26801,25 +22045,9 @@ impl IMFTranscodeSinkInfoProvider { } } ::windows_core::imp::interface_hierarchy!(IMFTranscodeSinkInfoProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTranscodeSinkInfoProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTranscodeSinkInfoProvider {} -impl ::core::fmt::Debug for IMFTranscodeSinkInfoProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTranscodeSinkInfoProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTranscodeSinkInfoProvider { type Vtable = IMFTranscodeSinkInfoProvider_Vtbl; } -impl ::core::clone::Clone for IMFTranscodeSinkInfoProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTranscodeSinkInfoProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cffcd2e_5a03_4a3a_aff7_edcd107c620e); } @@ -26834,6 +22062,7 @@ pub struct IMFTranscodeSinkInfoProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTransform(::windows_core::IUnknown); impl IMFTransform { pub unsafe fn GetStreamLimits(&self, pdwinputminimum: *mut u32, pdwinputmaximum: *mut u32, pdwoutputminimum: *mut u32, pdwoutputmaximum: *mut u32) -> ::windows_core::Result<()> { @@ -26929,25 +22158,9 @@ impl IMFTransform { } } ::windows_core::imp::interface_hierarchy!(IMFTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTransform {} -impl ::core::fmt::Debug for IMFTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTransform { type Vtable = IMFTransform_Vtbl; } -impl ::core::clone::Clone for IMFTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf94c121_5b05_4e6f_8000_ba598961414d); } @@ -26981,6 +22194,7 @@ pub struct IMFTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTrustedInput(::windows_core::IUnknown); impl IMFTrustedInput { pub unsafe fn GetInputTrustAuthority(&self, dwstreamid: u32, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -26989,25 +22203,9 @@ impl IMFTrustedInput { } } ::windows_core::imp::interface_hierarchy!(IMFTrustedInput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTrustedInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTrustedInput {} -impl ::core::fmt::Debug for IMFTrustedInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTrustedInput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTrustedInput { type Vtable = IMFTrustedInput_Vtbl; } -impl ::core::clone::Clone for IMFTrustedInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTrustedInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x542612c4_a1b8_4632_b521_de11ea64a0b0); } @@ -27019,6 +22217,7 @@ pub struct IMFTrustedInput_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFTrustedOutput(::windows_core::IUnknown); impl IMFTrustedOutput { pub unsafe fn GetOutputTrustAuthorityCount(&self) -> ::windows_core::Result { @@ -27037,25 +22236,9 @@ impl IMFTrustedOutput { } } ::windows_core::imp::interface_hierarchy!(IMFTrustedOutput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFTrustedOutput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFTrustedOutput {} -impl ::core::fmt::Debug for IMFTrustedOutput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFTrustedOutput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFTrustedOutput { type Vtable = IMFTrustedOutput_Vtbl; } -impl ::core::clone::Clone for IMFTrustedOutput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFTrustedOutput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd19f8e95_b126_4446_890c_5dcb7ad71453); } @@ -27072,6 +22255,7 @@ pub struct IMFTrustedOutput_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoCaptureSampleAllocator(::windows_core::IUnknown); impl IMFVideoCaptureSampleAllocator { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> ::windows_core::Result<()> @@ -27102,25 +22286,9 @@ impl IMFVideoCaptureSampleAllocator { } } ::windows_core::imp::interface_hierarchy!(IMFVideoCaptureSampleAllocator, ::windows_core::IUnknown, IMFVideoSampleAllocator); -impl ::core::cmp::PartialEq for IMFVideoCaptureSampleAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoCaptureSampleAllocator {} -impl ::core::fmt::Debug for IMFVideoCaptureSampleAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoCaptureSampleAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoCaptureSampleAllocator { type Vtable = IMFVideoCaptureSampleAllocator_Vtbl; } -impl ::core::clone::Clone for IMFVideoCaptureSampleAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoCaptureSampleAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x725b77c7_ca9f_4fe5_9d72_9946bf9b3c70); } @@ -27132,6 +22300,7 @@ pub struct IMFVideoCaptureSampleAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoDeviceID(::windows_core::IUnknown); impl IMFVideoDeviceID { pub unsafe fn GetDeviceID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -27140,25 +22309,9 @@ impl IMFVideoDeviceID { } } ::windows_core::imp::interface_hierarchy!(IMFVideoDeviceID, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoDeviceID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoDeviceID {} -impl ::core::fmt::Debug for IMFVideoDeviceID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoDeviceID").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoDeviceID { type Vtable = IMFVideoDeviceID_Vtbl; } -impl ::core::clone::Clone for IMFVideoDeviceID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoDeviceID { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa38d9567_5a9c_4f3c_b293_8eb415b279ba); } @@ -27170,6 +22323,7 @@ pub struct IMFVideoDeviceID_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoDisplayControl(::windows_core::IUnknown); impl IMFVideoDisplayControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27258,25 +22412,9 @@ impl IMFVideoDisplayControl { } } ::windows_core::imp::interface_hierarchy!(IMFVideoDisplayControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoDisplayControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoDisplayControl {} -impl ::core::fmt::Debug for IMFVideoDisplayControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoDisplayControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoDisplayControl { type Vtable = IMFVideoDisplayControl_Vtbl; } -impl ::core::clone::Clone for IMFVideoDisplayControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoDisplayControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa490b1e4_ab84_4d31_a1b2_181e03b1077a); } @@ -27336,6 +22474,7 @@ pub struct IMFVideoDisplayControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoMediaType(::windows_core::IUnknown); impl IMFVideoMediaType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -27497,25 +22636,9 @@ impl IMFVideoMediaType { } } ::windows_core::imp::interface_hierarchy!(IMFVideoMediaType, ::windows_core::IUnknown, IMFAttributes, IMFMediaType); -impl ::core::cmp::PartialEq for IMFVideoMediaType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoMediaType {} -impl ::core::fmt::Debug for IMFVideoMediaType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoMediaType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoMediaType { type Vtable = IMFVideoMediaType_Vtbl; } -impl ::core::clone::Clone for IMFVideoMediaType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoMediaType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb99f381f_a8f9_47a2_a5af_ca3a225a3890); } @@ -27531,6 +22654,7 @@ pub struct IMFVideoMediaType_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoMixerBitmap(::windows_core::IUnknown); impl IMFVideoMixerBitmap { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -27553,25 +22677,9 @@ impl IMFVideoMixerBitmap { } } ::windows_core::imp::interface_hierarchy!(IMFVideoMixerBitmap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoMixerBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoMixerBitmap {} -impl ::core::fmt::Debug for IMFVideoMixerBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoMixerBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoMixerBitmap { type Vtable = IMFVideoMixerBitmap_Vtbl; } -impl ::core::clone::Clone for IMFVideoMixerBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoMixerBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x814c7b20_0fdb_4eec_af8f_f957c8f69edc); } @@ -27595,6 +22703,7 @@ pub struct IMFVideoMixerBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoMixerControl(::windows_core::IUnknown); impl IMFVideoMixerControl { pub unsafe fn SetStreamZOrder(&self, dwstreamid: u32, dwz: u32) -> ::windows_core::Result<()> { @@ -27613,25 +22722,9 @@ impl IMFVideoMixerControl { } } ::windows_core::imp::interface_hierarchy!(IMFVideoMixerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoMixerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoMixerControl {} -impl ::core::fmt::Debug for IMFVideoMixerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoMixerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoMixerControl { type Vtable = IMFVideoMixerControl_Vtbl; } -impl ::core::clone::Clone for IMFVideoMixerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoMixerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5c6c53f_c202_4aa5_9695_175ba8c508a5); } @@ -27646,6 +22739,7 @@ pub struct IMFVideoMixerControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoMixerControl2(::windows_core::IUnknown); impl IMFVideoMixerControl2 { pub unsafe fn SetStreamZOrder(&self, dwstreamid: u32, dwz: u32) -> ::windows_core::Result<()> { @@ -27671,25 +22765,9 @@ impl IMFVideoMixerControl2 { } } ::windows_core::imp::interface_hierarchy!(IMFVideoMixerControl2, ::windows_core::IUnknown, IMFVideoMixerControl); -impl ::core::cmp::PartialEq for IMFVideoMixerControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoMixerControl2 {} -impl ::core::fmt::Debug for IMFVideoMixerControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoMixerControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoMixerControl2 { type Vtable = IMFVideoMixerControl2_Vtbl; } -impl ::core::clone::Clone for IMFVideoMixerControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoMixerControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8459616d_966e_4930_b658_54fa7e5a16d3); } @@ -27702,6 +22780,7 @@ pub struct IMFVideoMixerControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoPositionMapper(::windows_core::IUnknown); impl IMFVideoPositionMapper { pub unsafe fn MapOutputCoordinateToInputStream(&self, xout: f32, yout: f32, dwoutputstreamindex: u32, dwinputstreamindex: u32, pxin: *mut f32, pyin: *mut f32) -> ::windows_core::Result<()> { @@ -27709,25 +22788,9 @@ impl IMFVideoPositionMapper { } } ::windows_core::imp::interface_hierarchy!(IMFVideoPositionMapper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoPositionMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoPositionMapper {} -impl ::core::fmt::Debug for IMFVideoPositionMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoPositionMapper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoPositionMapper { type Vtable = IMFVideoPositionMapper_Vtbl; } -impl ::core::clone::Clone for IMFVideoPositionMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoPositionMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f6a9f17_e70b_4e24_8ae4_0b2c3ba7a4ae); } @@ -27739,6 +22802,7 @@ pub struct IMFVideoPositionMapper_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoPresenter(::windows_core::IUnknown); impl IMFVideoPresenter { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> ::windows_core::Result<()> { @@ -27765,25 +22829,9 @@ impl IMFVideoPresenter { } } ::windows_core::imp::interface_hierarchy!(IMFVideoPresenter, ::windows_core::IUnknown, IMFClockStateSink); -impl ::core::cmp::PartialEq for IMFVideoPresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoPresenter {} -impl ::core::fmt::Debug for IMFVideoPresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoPresenter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoPresenter { type Vtable = IMFVideoPresenter_Vtbl; } -impl ::core::clone::Clone for IMFVideoPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoPresenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29aff080_182a_4a5d_af3b_448f3a6346cb); } @@ -27796,6 +22844,7 @@ pub struct IMFVideoPresenter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoProcessor(::windows_core::IUnknown); impl IMFVideoProcessor { pub unsafe fn GetAvailableVideoProcessorModes(&self, lpdwnumprocessingmodes: *mut u32, ppvideoprocessingmodes: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -27851,25 +22900,9 @@ impl IMFVideoProcessor { } } ::windows_core::imp::interface_hierarchy!(IMFVideoProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoProcessor {} -impl ::core::fmt::Debug for IMFVideoProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoProcessor { type Vtable = IMFVideoProcessor_Vtbl; } -impl ::core::clone::Clone for IMFVideoProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ab0000c_fece_4d1f_a2ac_a9573530656e); } @@ -27901,6 +22934,7 @@ pub struct IMFVideoProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoProcessorControl(::windows_core::IUnknown); impl IMFVideoProcessorControl { pub unsafe fn SetBorderColor(&self, pbordercolor: ::core::option::Option<*const MFARGB>) -> ::windows_core::Result<()> { @@ -27929,25 +22963,9 @@ impl IMFVideoProcessorControl { } } ::windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoProcessorControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoProcessorControl {} -impl ::core::fmt::Debug for IMFVideoProcessorControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoProcessorControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoProcessorControl { type Vtable = IMFVideoProcessorControl_Vtbl; } -impl ::core::clone::Clone for IMFVideoProcessorControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoProcessorControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3f675d5_6119_4f7f_a100_1d8b280f0efb); } @@ -27973,6 +22991,7 @@ pub struct IMFVideoProcessorControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoProcessorControl2(::windows_core::IUnknown); impl IMFVideoProcessorControl2 { pub unsafe fn SetBorderColor(&self, pbordercolor: ::core::option::Option<*const MFARGB>) -> ::windows_core::Result<()> { @@ -28016,25 +23035,9 @@ impl IMFVideoProcessorControl2 { } } ::windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl2, ::windows_core::IUnknown, IMFVideoProcessorControl); -impl ::core::cmp::PartialEq for IMFVideoProcessorControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoProcessorControl2 {} -impl ::core::fmt::Debug for IMFVideoProcessorControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoProcessorControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoProcessorControl2 { type Vtable = IMFVideoProcessorControl2_Vtbl; } -impl ::core::clone::Clone for IMFVideoProcessorControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoProcessorControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbde633d3_e1dc_4a7f_a693_bbae399c4a20); } @@ -28051,6 +23054,7 @@ pub struct IMFVideoProcessorControl2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoProcessorControl3(::windows_core::IUnknown); impl IMFVideoProcessorControl3 { pub unsafe fn SetBorderColor(&self, pbordercolor: ::core::option::Option<*const MFARGB>) -> ::windows_core::Result<()> { @@ -28115,24 +23119,8 @@ impl IMFVideoProcessorControl3 { } } ::windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl3, ::windows_core::IUnknown, IMFVideoProcessorControl, IMFVideoProcessorControl2); -impl ::core::cmp::PartialEq for IMFVideoProcessorControl3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoProcessorControl3 {} -impl ::core::fmt::Debug for IMFVideoProcessorControl3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoProcessorControl3").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IMFVideoProcessorControl3 { - type Vtable = IMFVideoProcessorControl3_Vtbl; -} -impl ::core::clone::Clone for IMFVideoProcessorControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IMFVideoProcessorControl3 { + type Vtable = IMFVideoProcessorControl3_Vtbl; } unsafe impl ::windows_core::ComInterface for IMFVideoProcessorControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2424b3f2_eb23_40f1_91aa_74bddeea0883); @@ -28151,6 +23139,7 @@ pub struct IMFVideoProcessorControl3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoRenderer(::windows_core::IUnknown); impl IMFVideoRenderer { pub unsafe fn InitializeRenderer(&self, pvideomixer: P0, pvideopresenter: P1) -> ::windows_core::Result<()> @@ -28162,25 +23151,9 @@ impl IMFVideoRenderer { } } ::windows_core::imp::interface_hierarchy!(IMFVideoRenderer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoRenderer {} -impl ::core::fmt::Debug for IMFVideoRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoRenderer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoRenderer { type Vtable = IMFVideoRenderer_Vtbl; } -impl ::core::clone::Clone for IMFVideoRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfdfd197_a9ca_43d8_b341_6af3503792cd); } @@ -28192,6 +23165,7 @@ pub struct IMFVideoRenderer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoRendererEffectControl(::windows_core::IUnknown); impl IMFVideoRendererEffectControl { pub unsafe fn OnAppServiceConnectionEstablished(&self, pappserviceconnection: P0) -> ::windows_core::Result<()> @@ -28202,25 +23176,9 @@ impl IMFVideoRendererEffectControl { } } ::windows_core::imp::interface_hierarchy!(IMFVideoRendererEffectControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoRendererEffectControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoRendererEffectControl {} -impl ::core::fmt::Debug for IMFVideoRendererEffectControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoRendererEffectControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoRendererEffectControl { type Vtable = IMFVideoRendererEffectControl_Vtbl; } -impl ::core::clone::Clone for IMFVideoRendererEffectControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoRendererEffectControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x604d33d7_cf23_41d5_8224_5bbbb1a87475); } @@ -28232,6 +23190,7 @@ pub struct IMFVideoRendererEffectControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoSampleAllocator(::windows_core::IUnknown); impl IMFVideoSampleAllocator { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> ::windows_core::Result<()> @@ -28255,25 +23214,9 @@ impl IMFVideoSampleAllocator { } } ::windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoSampleAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoSampleAllocator {} -impl ::core::fmt::Debug for IMFVideoSampleAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoSampleAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoSampleAllocator { type Vtable = IMFVideoSampleAllocator_Vtbl; } -impl ::core::clone::Clone for IMFVideoSampleAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoSampleAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86cbc910_e533_4751_8e3b_f19b5b806a03); } @@ -28288,6 +23231,7 @@ pub struct IMFVideoSampleAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoSampleAllocatorCallback(::windows_core::IUnknown); impl IMFVideoSampleAllocatorCallback { pub unsafe fn SetCallback(&self, pnotify: P0) -> ::windows_core::Result<()> @@ -28302,25 +23246,9 @@ impl IMFVideoSampleAllocatorCallback { } } ::windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoSampleAllocatorCallback {} -impl ::core::fmt::Debug for IMFVideoSampleAllocatorCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoSampleAllocatorCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoSampleAllocatorCallback { type Vtable = IMFVideoSampleAllocatorCallback_Vtbl; } -impl ::core::clone::Clone for IMFVideoSampleAllocatorCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoSampleAllocatorCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x992388b4_3372_4f67_8b6f_c84c071f4751); } @@ -28333,6 +23261,7 @@ pub struct IMFVideoSampleAllocatorCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoSampleAllocatorEx(::windows_core::IUnknown); impl IMFVideoSampleAllocatorEx { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> ::windows_core::Result<()> @@ -28363,25 +23292,9 @@ impl IMFVideoSampleAllocatorEx { } } ::windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorEx, ::windows_core::IUnknown, IMFVideoSampleAllocator); -impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoSampleAllocatorEx {} -impl ::core::fmt::Debug for IMFVideoSampleAllocatorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoSampleAllocatorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoSampleAllocatorEx { type Vtable = IMFVideoSampleAllocatorEx_Vtbl; } -impl ::core::clone::Clone for IMFVideoSampleAllocatorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoSampleAllocatorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x545b3a48_3283_4f62_866f_a62d8f598f9f); } @@ -28393,6 +23306,7 @@ pub struct IMFVideoSampleAllocatorEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoSampleAllocatorNotify(::windows_core::IUnknown); impl IMFVideoSampleAllocatorNotify { pub unsafe fn NotifyRelease(&self) -> ::windows_core::Result<()> { @@ -28400,25 +23314,9 @@ impl IMFVideoSampleAllocatorNotify { } } ::windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoSampleAllocatorNotify {} -impl ::core::fmt::Debug for IMFVideoSampleAllocatorNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoSampleAllocatorNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoSampleAllocatorNotify { type Vtable = IMFVideoSampleAllocatorNotify_Vtbl; } -impl ::core::clone::Clone for IMFVideoSampleAllocatorNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoSampleAllocatorNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa792cdbe_c374_4e89_8335_278e7b9956a4); } @@ -28430,6 +23328,7 @@ pub struct IMFVideoSampleAllocatorNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVideoSampleAllocatorNotifyEx(::windows_core::IUnknown); impl IMFVideoSampleAllocatorNotifyEx { pub unsafe fn NotifyRelease(&self) -> ::windows_core::Result<()> { @@ -28443,25 +23342,9 @@ impl IMFVideoSampleAllocatorNotifyEx { } } ::windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotifyEx, ::windows_core::IUnknown, IMFVideoSampleAllocatorNotify); -impl ::core::cmp::PartialEq for IMFVideoSampleAllocatorNotifyEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVideoSampleAllocatorNotifyEx {} -impl ::core::fmt::Debug for IMFVideoSampleAllocatorNotifyEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVideoSampleAllocatorNotifyEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVideoSampleAllocatorNotifyEx { type Vtable = IMFVideoSampleAllocatorNotifyEx_Vtbl; } -impl ::core::clone::Clone for IMFVideoSampleAllocatorNotifyEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVideoSampleAllocatorNotifyEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3978aa1a_6d5b_4b7f_a340_90899189ae34); } @@ -28473,6 +23356,7 @@ pub struct IMFVideoSampleAllocatorNotifyEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFVirtualCamera(::windows_core::IUnknown); impl IMFVirtualCamera { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -28661,25 +23545,9 @@ impl IMFVirtualCamera { } } ::windows_core::imp::interface_hierarchy!(IMFVirtualCamera, ::windows_core::IUnknown, IMFAttributes); -impl ::core::cmp::PartialEq for IMFVirtualCamera { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFVirtualCamera {} -impl ::core::fmt::Debug for IMFVirtualCamera { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFVirtualCamera").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFVirtualCamera { type Vtable = IMFVirtualCamera_Vtbl; } -impl ::core::clone::Clone for IMFVirtualCamera { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFVirtualCamera { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c08a864_ef6c_4c75_af59_5f2d68da9563); } @@ -28710,6 +23578,7 @@ pub struct IMFVirtualCamera_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFWorkQueueServices(::windows_core::IUnknown); impl IMFWorkQueueServices { pub unsafe fn BeginRegisterTopologyWorkQueuesWithMMCSS(&self, pcallback: P0, pstate: P1) -> ::windows_core::Result<()> @@ -28782,25 +23651,9 @@ impl IMFWorkQueueServices { } } ::windows_core::imp::interface_hierarchy!(IMFWorkQueueServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMFWorkQueueServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFWorkQueueServices {} -impl ::core::fmt::Debug for IMFWorkQueueServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFWorkQueueServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFWorkQueueServices { type Vtable = IMFWorkQueueServices_Vtbl; } -impl ::core::clone::Clone for IMFWorkQueueServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFWorkQueueServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35fe1bb8_a3a9_40fe_bbec_eb569c9ccca3); } @@ -28823,6 +23676,7 @@ pub struct IMFWorkQueueServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMFWorkQueueServicesEx(::windows_core::IUnknown); impl IMFWorkQueueServicesEx { pub unsafe fn BeginRegisterTopologyWorkQueuesWithMMCSS(&self, pcallback: P0, pstate: P1) -> ::windows_core::Result<()> @@ -28911,25 +23765,9 @@ impl IMFWorkQueueServicesEx { } } ::windows_core::imp::interface_hierarchy!(IMFWorkQueueServicesEx, ::windows_core::IUnknown, IMFWorkQueueServices); -impl ::core::cmp::PartialEq for IMFWorkQueueServicesEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMFWorkQueueServicesEx {} -impl ::core::fmt::Debug for IMFWorkQueueServicesEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMFWorkQueueServicesEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMFWorkQueueServicesEx { type Vtable = IMFWorkQueueServicesEx_Vtbl; } -impl ::core::clone::Clone for IMFWorkQueueServicesEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMFWorkQueueServicesEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96bf961b_40fe_42f1_ba9d_320238b49700); } @@ -28943,6 +23781,7 @@ pub struct IMFWorkQueueServicesEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOPMVideoOutput(::windows_core::IUnknown); impl IOPMVideoOutput { pub unsafe fn StartInitialization(&self, prnrandomnumber: *mut OPM_RANDOM_NUMBER, ppbcertificate: *mut *mut u8, pulcertificatelength: *mut u32) -> ::windows_core::Result<()> { @@ -28962,25 +23801,9 @@ impl IOPMVideoOutput { } } ::windows_core::imp::interface_hierarchy!(IOPMVideoOutput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOPMVideoOutput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOPMVideoOutput {} -impl ::core::fmt::Debug for IOPMVideoOutput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOPMVideoOutput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOPMVideoOutput { type Vtable = IOPMVideoOutput_Vtbl; } -impl ::core::clone::Clone for IOPMVideoOutput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOPMVideoOutput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a15159d_41c7_4456_93e1_284cd61d4e8d); } @@ -28996,6 +23819,7 @@ pub struct IOPMVideoOutput_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToControl(::windows_core::IUnknown); impl IPlayToControl { pub unsafe fn Connect(&self, pfactory: P0) -> ::windows_core::Result<()> @@ -29009,25 +23833,9 @@ impl IPlayToControl { } } ::windows_core::imp::interface_hierarchy!(IPlayToControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPlayToControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayToControl {} -impl ::core::fmt::Debug for IPlayToControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayToControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPlayToControl { type Vtable = IPlayToControl_Vtbl; } -impl ::core::clone::Clone for IPlayToControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayToControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x607574eb_f4b6_45c1_b08c_cb715122901d); } @@ -29040,6 +23848,7 @@ pub struct IPlayToControl_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToControlWithCapabilities(::windows_core::IUnknown); impl IPlayToControlWithCapabilities { pub unsafe fn Connect(&self, pfactory: P0) -> ::windows_core::Result<()> @@ -29057,25 +23866,9 @@ impl IPlayToControlWithCapabilities { } } ::windows_core::imp::interface_hierarchy!(IPlayToControlWithCapabilities, ::windows_core::IUnknown, IPlayToControl); -impl ::core::cmp::PartialEq for IPlayToControlWithCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayToControlWithCapabilities {} -impl ::core::fmt::Debug for IPlayToControlWithCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayToControlWithCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPlayToControlWithCapabilities { type Vtable = IPlayToControlWithCapabilities_Vtbl; } -impl ::core::clone::Clone for IPlayToControlWithCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayToControlWithCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa9dd80f_c50a_4220_91c1_332287f82a34); } @@ -29087,6 +23880,7 @@ pub struct IPlayToControlWithCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToSourceClassFactory(::windows_core::IUnknown); impl IPlayToSourceClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pcontrol: P0) -> ::windows_core::Result<::windows_core::IInspectable> @@ -29098,25 +23892,9 @@ impl IPlayToSourceClassFactory { } } ::windows_core::imp::interface_hierarchy!(IPlayToSourceClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPlayToSourceClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayToSourceClassFactory {} -impl ::core::fmt::Debug for IPlayToSourceClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayToSourceClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPlayToSourceClassFactory { type Vtable = IPlayToSourceClassFactory_Vtbl; } -impl ::core::clone::Clone for IPlayToSourceClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayToSourceClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x842b32a3_9b9b_4d1c_b3f3_49193248a554); } @@ -29128,6 +23906,7 @@ pub struct IPlayToSourceClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToc(::windows_core::IUnknown); impl IToc { pub unsafe fn SetDescriptor(&self, pdescriptor: *mut TOC_DESCRIPTOR) -> ::windows_core::Result<()> { @@ -29175,25 +23954,9 @@ impl IToc { } } ::windows_core::imp::interface_hierarchy!(IToc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IToc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IToc {} -impl ::core::fmt::Debug for IToc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IToc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IToc { type Vtable = IToc_Vtbl; } -impl ::core::clone::Clone for IToc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6f05441_a919_423b_91a0_89d5b4a8ab77); } @@ -29215,6 +23978,7 @@ pub struct IToc_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITocCollection(::windows_core::IUnknown); impl ITocCollection { pub unsafe fn GetEntryCount(&self, pdwentrycount: *mut u32) -> ::windows_core::Result<()> { @@ -29241,25 +24005,9 @@ impl ITocCollection { } } ::windows_core::imp::interface_hierarchy!(ITocCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITocCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITocCollection {} -impl ::core::fmt::Debug for ITocCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITocCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITocCollection { type Vtable = ITocCollection_Vtbl; } -impl ::core::clone::Clone for ITocCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITocCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23fee831_ae96_42df_b170_25a04847a3ca); } @@ -29275,6 +24023,7 @@ pub struct ITocCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITocEntry(::windows_core::IUnknown); impl ITocEntry { pub unsafe fn SetTitle(&self, pwsztitle: P0) -> ::windows_core::Result<()> @@ -29306,25 +24055,9 @@ impl ITocEntry { } } ::windows_core::imp::interface_hierarchy!(ITocEntry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITocEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITocEntry {} -impl ::core::fmt::Debug for ITocEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITocEntry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITocEntry { type Vtable = ITocEntry_Vtbl; } -impl ::core::clone::Clone for ITocEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITocEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf22f5e06_585c_4def_8523_6555cfbc0cb3); } @@ -29343,6 +24076,7 @@ pub struct ITocEntry_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITocEntryList(::windows_core::IUnknown); impl ITocEntryList { pub unsafe fn GetEntryCount(&self, pdwentrycount: *mut u32) -> ::windows_core::Result<()> { @@ -29369,25 +24103,9 @@ impl ITocEntryList { } } ::windows_core::imp::interface_hierarchy!(ITocEntryList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITocEntryList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITocEntryList {} -impl ::core::fmt::Debug for ITocEntryList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITocEntryList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITocEntryList { type Vtable = ITocEntryList_Vtbl; } -impl ::core::clone::Clone for ITocEntryList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITocEntryList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a8cccbd_0efd_43a3_b838_f38a552ba237); } @@ -29403,6 +24121,7 @@ pub struct ITocEntryList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITocParser(::windows_core::IUnknown); impl ITocParser { pub unsafe fn Init(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -29439,25 +24158,9 @@ impl ITocParser { } } ::windows_core::imp::interface_hierarchy!(ITocParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITocParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITocParser {} -impl ::core::fmt::Debug for ITocParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITocParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITocParser { type Vtable = ITocParser_Vtbl; } -impl ::core::clone::Clone for ITocParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITocParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecfb9a55_9298_4f49_887f_0b36206599d2); } @@ -29476,6 +24179,7 @@ pub struct ITocParser_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValidateBinding(::windows_core::IUnknown); impl IValidateBinding { pub unsafe fn GetIdentifier(&self, guidlicensorid: ::windows_core::GUID, pbephemeron: &[u8], ppbblobvalidationid: *mut *mut u8, pcbblobsize: *mut u32) -> ::windows_core::Result<()> { @@ -29483,25 +24187,9 @@ impl IValidateBinding { } } ::windows_core::imp::interface_hierarchy!(IValidateBinding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IValidateBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IValidateBinding {} -impl ::core::fmt::Debug for IValidateBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IValidateBinding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IValidateBinding { type Vtable = IValidateBinding_Vtbl; } -impl ::core::clone::Clone for IValidateBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IValidateBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04a578b2_e778_422a_a805_b3ee54d90bd9); } @@ -29513,6 +24201,7 @@ pub struct IValidateBinding_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecLeakyBucket(::windows_core::IUnknown); impl IWMCodecLeakyBucket { pub unsafe fn SetBufferSizeBits(&self, ulbuffersize: u32) -> ::windows_core::Result<()> { @@ -29529,25 +24218,9 @@ impl IWMCodecLeakyBucket { } } ::windows_core::imp::interface_hierarchy!(IWMCodecLeakyBucket, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecLeakyBucket { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecLeakyBucket {} -impl ::core::fmt::Debug for IWMCodecLeakyBucket { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecLeakyBucket").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecLeakyBucket { type Vtable = IWMCodecLeakyBucket_Vtbl; } -impl ::core::clone::Clone for IWMCodecLeakyBucket { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecLeakyBucket { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa81ba647_6227_43b7_b231_c7b15135dd7d); } @@ -29562,6 +24235,7 @@ pub struct IWMCodecLeakyBucket_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecOutputTimestamp(::windows_core::IUnknown); impl IWMCodecOutputTimestamp { pub unsafe fn GetNextOutputTime(&self, prttime: *mut i64) -> ::windows_core::Result<()> { @@ -29569,25 +24243,9 @@ impl IWMCodecOutputTimestamp { } } ::windows_core::imp::interface_hierarchy!(IWMCodecOutputTimestamp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecOutputTimestamp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecOutputTimestamp {} -impl ::core::fmt::Debug for IWMCodecOutputTimestamp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecOutputTimestamp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecOutputTimestamp { type Vtable = IWMCodecOutputTimestamp_Vtbl; } -impl ::core::clone::Clone for IWMCodecOutputTimestamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecOutputTimestamp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb72adf95_7adc_4a72_bc05_577d8ea6bf68); } @@ -29599,6 +24257,7 @@ pub struct IWMCodecOutputTimestamp_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecPrivateData(::windows_core::IUnknown); impl IWMCodecPrivateData { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`*"] @@ -29611,25 +24270,9 @@ impl IWMCodecPrivateData { } } ::windows_core::imp::interface_hierarchy!(IWMCodecPrivateData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecPrivateData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecPrivateData {} -impl ::core::fmt::Debug for IWMCodecPrivateData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecPrivateData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecPrivateData { type Vtable = IWMCodecPrivateData_Vtbl; } -impl ::core::clone::Clone for IWMCodecPrivateData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecPrivateData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73f0be8e_57f7_4f01_aa66_9f57340cfe0e); } @@ -29645,6 +24288,7 @@ pub struct IWMCodecPrivateData_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecProps(::windows_core::IUnknown); impl IWMCodecProps { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`*"] @@ -29663,25 +24307,9 @@ impl IWMCodecProps { } } ::windows_core::imp::interface_hierarchy!(IWMCodecProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecProps {} -impl ::core::fmt::Debug for IWMCodecProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecProps { type Vtable = IWMCodecProps_Vtbl; } -impl ::core::clone::Clone for IWMCodecProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2573e11a_f01a_4fdd_a98d_63b8e0ba9589); } @@ -29697,6 +24325,7 @@ pub struct IWMCodecProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecStrings(::windows_core::IUnknown); impl IWMCodecStrings { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`*"] @@ -29711,25 +24340,9 @@ impl IWMCodecStrings { } } ::windows_core::imp::interface_hierarchy!(IWMCodecStrings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecStrings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecStrings {} -impl ::core::fmt::Debug for IWMCodecStrings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecStrings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecStrings { type Vtable = IWMCodecStrings_Vtbl; } -impl ::core::clone::Clone for IWMCodecStrings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecStrings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7b2504b_e58a_47fb_958b_cac7165a057d); } @@ -29748,6 +24361,7 @@ pub struct IWMCodecStrings_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMColorConvProps(::windows_core::IUnknown); impl IWMColorConvProps { pub unsafe fn SetMode(&self, lmode: i32) -> ::windows_core::Result<()> { @@ -29758,25 +24372,9 @@ impl IWMColorConvProps { } } ::windows_core::imp::interface_hierarchy!(IWMColorConvProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMColorConvProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMColorConvProps {} -impl ::core::fmt::Debug for IWMColorConvProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMColorConvProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMColorConvProps { type Vtable = IWMColorConvProps_Vtbl; } -impl ::core::clone::Clone for IWMColorConvProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMColorConvProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6a49e22_c099_421d_aad3_c061fb4ae85b); } @@ -29789,6 +24387,7 @@ pub struct IWMColorConvProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMColorLegalizerProps(::windows_core::IUnknown); impl IWMColorLegalizerProps { pub unsafe fn SetColorLegalizerQuality(&self, lquality: i32) -> ::windows_core::Result<()> { @@ -29796,25 +24395,9 @@ impl IWMColorLegalizerProps { } } ::windows_core::imp::interface_hierarchy!(IWMColorLegalizerProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMColorLegalizerProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMColorLegalizerProps {} -impl ::core::fmt::Debug for IWMColorLegalizerProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMColorLegalizerProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMColorLegalizerProps { type Vtable = IWMColorLegalizerProps_Vtbl; } -impl ::core::clone::Clone for IWMColorLegalizerProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMColorLegalizerProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x776c93b3_b72d_4508_b6d0_208785f553e7); } @@ -29826,6 +24409,7 @@ pub struct IWMColorLegalizerProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMFrameInterpProps(::windows_core::IUnknown); impl IWMFrameInterpProps { pub unsafe fn SetFrameRateIn(&self, lframerate: i32, lscale: i32) -> ::windows_core::Result<()> { @@ -29847,25 +24431,9 @@ impl IWMFrameInterpProps { } } ::windows_core::imp::interface_hierarchy!(IWMFrameInterpProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMFrameInterpProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMFrameInterpProps {} -impl ::core::fmt::Debug for IWMFrameInterpProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMFrameInterpProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMFrameInterpProps { type Vtable = IWMFrameInterpProps_Vtbl; } -impl ::core::clone::Clone for IWMFrameInterpProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMFrameInterpProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c06bb9b_626c_4614_8329_cc6a21b93fa0); } @@ -29883,6 +24451,7 @@ pub struct IWMFrameInterpProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMInterlaceProps(::windows_core::IUnknown); impl IWMInterlaceProps { pub unsafe fn SetProcessType(&self, iprocesstype: i32) -> ::windows_core::Result<()> { @@ -29896,25 +24465,9 @@ impl IWMInterlaceProps { } } ::windows_core::imp::interface_hierarchy!(IWMInterlaceProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMInterlaceProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMInterlaceProps {} -impl ::core::fmt::Debug for IWMInterlaceProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMInterlaceProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMInterlaceProps { type Vtable = IWMInterlaceProps_Vtbl; } -impl ::core::clone::Clone for IWMInterlaceProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMInterlaceProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b12e5d1_bd22_48ea_bc06_98e893221c89); } @@ -29928,6 +24481,7 @@ pub struct IWMInterlaceProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMResamplerProps(::windows_core::IUnknown); impl IWMResamplerProps { pub unsafe fn SetHalfFilterLength(&self, lhalffilterlen: i32) -> ::windows_core::Result<()> { @@ -29938,25 +24492,9 @@ impl IWMResamplerProps { } } ::windows_core::imp::interface_hierarchy!(IWMResamplerProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMResamplerProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMResamplerProps {} -impl ::core::fmt::Debug for IWMResamplerProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMResamplerProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMResamplerProps { type Vtable = IWMResamplerProps_Vtbl; } -impl ::core::clone::Clone for IWMResamplerProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMResamplerProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7e9984f_f09f_4da4_903f_6e2e0efe56b5); } @@ -29969,6 +24507,7 @@ pub struct IWMResamplerProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMResizerProps(::windows_core::IUnknown); impl IWMResizerProps { pub unsafe fn SetResizerQuality(&self, lquality: i32) -> ::windows_core::Result<()> { @@ -29988,25 +24527,9 @@ impl IWMResizerProps { } } ::windows_core::imp::interface_hierarchy!(IWMResizerProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMResizerProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMResizerProps {} -impl ::core::fmt::Debug for IWMResizerProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMResizerProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMResizerProps { type Vtable = IWMResizerProps_Vtbl; } -impl ::core::clone::Clone for IWMResizerProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMResizerProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57665d4c_0414_4faa_905b_10e546f81c33); } @@ -30022,6 +24545,7 @@ pub struct IWMResizerProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSampleExtensionSupport(::windows_core::IUnknown); impl IWMSampleExtensionSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30034,25 +24558,9 @@ impl IWMSampleExtensionSupport { } } ::windows_core::imp::interface_hierarchy!(IWMSampleExtensionSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMSampleExtensionSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSampleExtensionSupport {} -impl ::core::fmt::Debug for IWMSampleExtensionSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSampleExtensionSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSampleExtensionSupport { type Vtable = IWMSampleExtensionSupport_Vtbl; } -impl ::core::clone::Clone for IWMSampleExtensionSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSampleExtensionSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bca9884_0604_4c2a_87da_793ff4d586c3); } @@ -30067,6 +24575,7 @@ pub struct IWMSampleExtensionSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMValidate(::windows_core::IUnknown); impl IWMValidate { pub unsafe fn SetIdentifier(&self, guidvalidationid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -30074,25 +24583,9 @@ impl IWMValidate { } } ::windows_core::imp::interface_hierarchy!(IWMValidate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMValidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMValidate {} -impl ::core::fmt::Debug for IWMValidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMValidate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMValidate { type Vtable = IWMValidate_Vtbl; } -impl ::core::clone::Clone for IWMValidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMValidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcee3def2_3808_414d_be66_fafd472210bc); } @@ -30104,6 +24597,7 @@ pub struct IWMValidate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMVideoDecoderHurryup(::windows_core::IUnknown); impl IWMVideoDecoderHurryup { pub unsafe fn SetHurryup(&self, lhurryup: i32) -> ::windows_core::Result<()> { @@ -30114,25 +24608,9 @@ impl IWMVideoDecoderHurryup { } } ::windows_core::imp::interface_hierarchy!(IWMVideoDecoderHurryup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMVideoDecoderHurryup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMVideoDecoderHurryup {} -impl ::core::fmt::Debug for IWMVideoDecoderHurryup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMVideoDecoderHurryup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMVideoDecoderHurryup { type Vtable = IWMVideoDecoderHurryup_Vtbl; } -impl ::core::clone::Clone for IWMVideoDecoderHurryup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMVideoDecoderHurryup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x352bb3bd_2d4d_4323_9e71_dcdcfbd53ca6); } @@ -30145,6 +24623,7 @@ pub struct IWMVideoDecoderHurryup_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMVideoDecoderReconBuffer(::windows_core::IUnknown); impl IWMVideoDecoderReconBuffer { pub unsafe fn GetReconstructedVideoFrameSize(&self, pdwsize: *mut u32) -> ::windows_core::Result<()> { @@ -30168,25 +24647,9 @@ impl IWMVideoDecoderReconBuffer { } } ::windows_core::imp::interface_hierarchy!(IWMVideoDecoderReconBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMVideoDecoderReconBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMVideoDecoderReconBuffer {} -impl ::core::fmt::Debug for IWMVideoDecoderReconBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMVideoDecoderReconBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMVideoDecoderReconBuffer { type Vtable = IWMVideoDecoderReconBuffer_Vtbl; } -impl ::core::clone::Clone for IWMVideoDecoderReconBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMVideoDecoderReconBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45bda2ac_88e2_4923_98ba_3949080711a3); } @@ -30206,6 +24669,7 @@ pub struct IWMVideoDecoderReconBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMVideoForceKeyFrame(::windows_core::IUnknown); impl IWMVideoForceKeyFrame { pub unsafe fn SetKeyFrame(&self) -> ::windows_core::Result<()> { @@ -30213,25 +24677,9 @@ impl IWMVideoForceKeyFrame { } } ::windows_core::imp::interface_hierarchy!(IWMVideoForceKeyFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMVideoForceKeyFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMVideoForceKeyFrame {} -impl ::core::fmt::Debug for IWMVideoForceKeyFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMVideoForceKeyFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMVideoForceKeyFrame { type Vtable = IWMVideoForceKeyFrame_Vtbl; } -impl ::core::clone::Clone for IWMVideoForceKeyFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMVideoForceKeyFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f8496be_5b9a_41b9_a9e8_f21cd80596c2); } @@ -30243,6 +24691,7 @@ pub struct IWMVideoForceKeyFrame_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MFASYNCRESULT(::windows_core::IUnknown); impl MFASYNCRESULT { pub unsafe fn GetState(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -30264,25 +24713,9 @@ impl MFASYNCRESULT { } } ::windows_core::imp::interface_hierarchy!(MFASYNCRESULT, ::windows_core::IUnknown, IMFAsyncResult); -impl ::core::cmp::PartialEq for MFASYNCRESULT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for MFASYNCRESULT {} -impl ::core::fmt::Debug for MFASYNCRESULT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASYNCRESULT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for MFASYNCRESULT { type Vtable = MFASYNCRESULT_Vtbl; } -impl ::core::clone::Clone for MFASYNCRESULT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for MFASYNCRESULT { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs index 0dc39fe566..9182278924 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs @@ -505,8 +505,8 @@ impl IFeed_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -588,8 +588,8 @@ impl IFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -750,8 +750,8 @@ impl IFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -823,8 +823,8 @@ impl IFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1056,8 +1056,8 @@ impl IFeedFolder_Vtbl { GetWatcher: GetWatcher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1185,8 +1185,8 @@ impl IFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl IFeedItem_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1438,8 +1438,8 @@ impl IFeedItem2_Vtbl { } Self { base__: IFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1494,8 +1494,8 @@ impl IFeedsEnum_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -1717,8 +1717,8 @@ impl IWMPAudioRenderConfig_Vtbl { SetaudioOutputDevice: SetaudioOutputDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1761,8 +1761,8 @@ impl IWMPCdrom_Vtbl { eject: eject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1882,8 +1882,8 @@ impl IWMPCdromBurn_Vtbl { erase: erase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1932,8 +1932,8 @@ impl IWMPCdromCollection_Vtbl { getByDriveSpecifier: getByDriveSpecifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -1974,8 +1974,8 @@ impl IWMPCdromRip_Vtbl { stopRip: stopRip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2047,8 +2047,8 @@ impl IWMPClosedCaption_Vtbl { SetcaptioningId: SetcaptioningId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2099,8 +2099,8 @@ impl IWMPClosedCaption2_Vtbl { getSAMIStyleName: getSAMIStyleName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2191,8 +2191,8 @@ impl IWMPContentContainer_Vtbl { GetContentID: GetContentID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2244,8 +2244,8 @@ impl IWMPContentContainerList_Vtbl { GetContainer: GetContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2446,8 +2446,8 @@ impl IWMPContentPartner_Vtbl { VerifyPermission: VerifyPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2554,8 +2554,8 @@ impl IWMPContentPartnerCallback_Vtbl { VerifyPermissionComplete: VerifyPermissionComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2689,8 +2689,8 @@ impl IWMPControls_Vtbl { playItem: playItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2710,8 +2710,8 @@ impl IWMPControls2_Vtbl { } Self { base__: IWMPControls_Vtbl::new::(), step: step:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl IWMPControls3_Vtbl { SetcurrentPositionTimecode: SetcurrentPositionTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2825,8 +2825,8 @@ impl IWMPConvert_Vtbl { GetErrorURL: GetErrorURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3049,8 +3049,8 @@ impl IWMPCore_Vtbl { status: status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3076,8 +3076,8 @@ impl IWMPCore2_Vtbl { } Self { base__: IWMPCore_Vtbl::new::(), dvd: dvd:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3119,8 +3119,8 @@ impl IWMPCore3_Vtbl { newMedia: newMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3178,8 +3178,8 @@ impl IWMPDVD_Vtbl { resume: resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3249,8 +3249,8 @@ impl IWMPDownloadCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3322,8 +3322,8 @@ impl IWMPDownloadItem_Vtbl { cancel: cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl IWMPDownloadItem2_Vtbl { } Self { base__: IWMPDownloadItem_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3386,8 +3386,8 @@ impl IWMPDownloadManager_Vtbl { createDownloadCollection: createDownloadCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3480,8 +3480,8 @@ impl IWMPEffects_Vtbl { RenderFullScreen: RenderFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3539,8 +3539,8 @@ impl IWMPEffects2_Vtbl { RenderWindowed: RenderWindowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3590,8 +3590,8 @@ impl IWMPError_Vtbl { webHelp: webHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3642,8 +3642,8 @@ impl IWMPErrorItem_Vtbl { customUrl: customUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3663,8 +3663,8 @@ impl IWMPErrorItem2_Vtbl { } Self { base__: IWMPErrorItem_Vtbl::new::(), condition: condition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3995,8 +3995,8 @@ impl IWMPEvents_Vtbl { MouseUp: MouseUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4054,8 +4054,8 @@ impl IWMPEvents2_Vtbl { CreatePartnershipComplete: CreatePartnershipComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4148,8 +4148,8 @@ impl IWMPEvents3_Vtbl { MediaCollectionMediaRemoved: MediaCollectionMediaRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4169,8 +4169,8 @@ impl IWMPEvents4_Vtbl { } Self { base__: IWMPEvents3_Vtbl::new::(), DeviceEstimation: DeviceEstimation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4260,8 +4260,8 @@ impl IWMPFolderMonitorServices_Vtbl { stopScan: stopScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4295,8 +4295,8 @@ impl IWMPGraphCreation_Vtbl { GetGraphCreationFlags: GetGraphCreationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4346,8 +4346,8 @@ impl IWMPLibrary_Vtbl { isIdentical: isIdentical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IWMPLibrary2_Vtbl { } Self { base__: IWMPLibrary_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4401,8 +4401,8 @@ impl IWMPLibraryServices_Vtbl { getLibraryByType: getLibraryByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4439,8 +4439,8 @@ impl IWMPLibrarySharingServices_Vtbl { showLibrarySharing: showLibrarySharing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4582,8 +4582,8 @@ impl IWMPMedia_Vtbl { isReadOnlyItem: isReadOnlyItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4609,8 +4609,8 @@ impl IWMPMedia2_Vtbl { } Self { base__: IWMPMedia_Vtbl::new::(), error: error:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4640,8 +4640,8 @@ impl IWMPMedia3_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4789,8 +4789,8 @@ impl IWMPMediaCollection_Vtbl { isDeleted: isDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4858,8 +4858,8 @@ impl IWMPMediaCollection2_Vtbl { getByAttributeAndMediaType: getByAttributeAndMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4886,8 +4886,8 @@ impl IWMPMediaPluginRegistrar_Vtbl { WMPUnRegisterPlayerPlugin: WMPUnRegisterPlayerPlugin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4931,8 +4931,8 @@ impl IWMPMetadataPicture_Vtbl { URL: URL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4962,8 +4962,8 @@ impl IWMPMetadataText_Vtbl { text: text::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5175,8 +5175,8 @@ impl IWMPNetwork_Vtbl { framesSkipped: framesSkipped::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl IWMPNodeRealEstate_Vtbl { GetFullScreen: GetFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5272,8 +5272,8 @@ impl IWMPNodeRealEstateHost_Vtbl { OnFullScreenTransition: OnFullScreenTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5300,8 +5300,8 @@ impl IWMPNodeWindowed_Vtbl { GetOwnerWindow: GetOwnerWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5324,8 +5324,8 @@ impl IWMPNodeWindowedHost_Vtbl { OnWindowMessageFromRenderer: OnWindowMessageFromRenderer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5345,8 +5345,8 @@ impl IWMPNodeWindowless_Vtbl { } Self { base__: IWMPWindowMessageSink_Vtbl::new::(), OnDraw: OnDraw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5366,8 +5366,8 @@ impl IWMPNodeWindowlessHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvalidateRect: InvalidateRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5439,8 +5439,8 @@ impl IWMPPlayer_Vtbl { uiMode: uiMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5540,8 +5540,8 @@ impl IWMPPlayer2_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5641,8 +5641,8 @@ impl IWMPPlayer3_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5769,8 +5769,8 @@ impl IWMPPlayer4_Vtbl { openPlayer: openPlayer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5814,8 +5814,8 @@ impl IWMPPlayerApplication_Vtbl { hasDisplay: hasDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5849,8 +5849,8 @@ impl IWMPPlayerServices_Vtbl { setTaskPaneURL: setTaskPaneURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5870,8 +5870,8 @@ impl IWMPPlayerServices2_Vtbl { setBackgroundProcessingPriority: setBackgroundProcessingPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5991,8 +5991,8 @@ impl IWMPPlaylist_Vtbl { moveItem: moveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6028,8 +6028,8 @@ impl IWMPPlaylistArray_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6118,8 +6118,8 @@ impl IWMPPlaylistCollection_Vtbl { importPlaylist: importPlaylist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6174,8 +6174,8 @@ impl IWMPPlugin_Vtbl { UnAdviseWMPServices: UnAdviseWMPServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6205,8 +6205,8 @@ impl IWMPPluginEnable_Vtbl { GetEnable: GetEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6271,8 +6271,8 @@ impl IWMPPluginUI_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6302,8 +6302,8 @@ impl IWMPQuery_Vtbl { beginNextGroup: beginNextGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6347,8 +6347,8 @@ impl IWMPRemoteMediaServices_Vtbl { GetCustomUIMode: GetCustomUIMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6378,8 +6378,8 @@ impl IWMPRenderConfig_Vtbl { inProcOnly: inProcOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6406,8 +6406,8 @@ impl IWMPServices_Vtbl { GetStreamState: GetStreamState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6584,8 +6584,8 @@ impl IWMPSettings_Vtbl { SetenableErrorDialogs: SetenableErrorDialogs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6622,8 +6622,8 @@ impl IWMPSettings2_Vtbl { requestMediaAccessRights: requestMediaAccessRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6640,8 +6640,8 @@ impl IWMPSkinManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVisualStyle: SetVisualStyle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6671,8 +6671,8 @@ impl IWMPStringCollection_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6716,8 +6716,8 @@ impl IWMPStringCollection2_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6761,8 +6761,8 @@ impl IWMPSubscriptionService_Vtbl { startBackgroundProcessing: startBackgroundProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6806,8 +6806,8 @@ impl IWMPSubscriptionService2_Vtbl { prepareForSync: prepareForSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6824,8 +6824,8 @@ impl IWMPSubscriptionServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6953,8 +6953,8 @@ impl IWMPSyncDevice_Vtbl { isIdentical: isIdentical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6974,8 +6974,8 @@ impl IWMPSyncDevice2_Vtbl { } Self { base__: IWMPSyncDevice_Vtbl::new::(), setItemInfo: setItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7005,8 +7005,8 @@ impl IWMPSyncDevice3_Vtbl { cancelEstimation: cancelEstimation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7039,8 +7039,8 @@ impl IWMPSyncServices_Vtbl { getDevice: getDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7060,8 +7060,8 @@ impl IWMPTranscodePolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), allowTranscode: allowTranscode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7078,8 +7078,8 @@ impl IWMPUserEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyUserEvent: NotifyUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7099,8 +7099,8 @@ impl IWMPVideoRenderConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetpresenterActivate: SetpresenterActivate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7120,8 +7120,8 @@ impl IWMPWindowMessageSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWindowMessage: OnWindowMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7613,8 +7613,8 @@ impl IXFeed_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7690,8 +7690,8 @@ impl IXFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7843,8 +7843,8 @@ impl IXFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7913,8 +7913,8 @@ impl IXFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8098,8 +8098,8 @@ impl IXFeedFolder_Vtbl { TotalItemCount: TotalItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -8224,8 +8224,8 @@ impl IXFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8438,8 +8438,8 @@ impl IXFeedItem_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8465,8 +8465,8 @@ impl IXFeedItem2_Vtbl { } Self { base__: IXFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -8495,8 +8495,8 @@ impl IXFeedsEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Count: Count::, Item: Item:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8666,8 +8666,8 @@ impl IXFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8680,7 +8680,7 @@ impl _WMPOCXEvents_Vtbl { pub const fn new, Impl: _WMPOCXEvents_Impl, const OFFSET: isize>() -> _WMPOCXEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_WMPOCXEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_WMPOCXEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs index 5c4b2670a2..60d8980043 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeed(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeed { @@ -201,30 +202,10 @@ impl IFeed { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeed, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeed { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeed {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeed").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeed { type Vtable = IFeed_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeed { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7f915d8_2ede_42bc_98e7_a5d05063a757); } @@ -302,6 +283,7 @@ pub struct IFeed_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeed2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeed2 { @@ -530,30 +512,10 @@ impl IFeed2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeed2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFeed); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeed2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeed2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeed2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeed2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeed2 { type Vtable = IFeed2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeed2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeed2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33f2ea09_1398_4ab9_b6a4_f94b49d0a42e); } @@ -575,6 +537,7 @@ pub struct IFeed2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedEnclosure(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedEnclosure { @@ -638,30 +601,10 @@ impl IFeedEnclosure { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedEnclosure, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedEnclosure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedEnclosure {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedEnclosure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedEnclosure").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedEnclosure { type Vtable = IFeedEnclosure_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedEnclosure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedEnclosure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x361c26f7_90a4_4e67_ae09_3a36a546436a); } @@ -690,6 +633,7 @@ pub struct IFeedEnclosure_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedEvents { @@ -744,30 +688,10 @@ impl IFeedEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedEvents { type Vtable = IFeedEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabf35c99_0681_47ea_9a8c_1436a375a99e); } @@ -788,6 +712,7 @@ pub struct IFeedEvents_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedFolder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedFolder { @@ -911,30 +836,10 @@ impl IFeedFolder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedFolder, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedFolder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedFolder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedFolder { type Vtable = IFeedFolder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81f04ad1_4194_4d7d_86d6_11813cec163c); } @@ -998,6 +903,7 @@ pub struct IFeedFolder_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedFolderEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedFolderEvents { @@ -1104,30 +1010,10 @@ impl IFeedFolderEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedFolderEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedFolderEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedFolderEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedFolderEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedFolderEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedFolderEvents { type Vtable = IFeedFolderEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedFolderEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedFolderEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20a59fa6_a844_4630_9e98_175f70b4d55b); } @@ -1156,6 +1042,7 @@ pub struct IFeedFolderEvents_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedItem { @@ -1240,30 +1127,10 @@ impl IFeedItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedItem { type Vtable = IFeedItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a1e6cad_0a47_4da2_a13d_5baaa5c8bd4f); } @@ -1305,6 +1172,7 @@ pub struct IFeedItem_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedItem2 { @@ -1393,30 +1261,10 @@ impl IFeedItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFeedItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedItem2 { type Vtable = IFeedItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79ac9ef4_f9c1_4d2b_a50b_a7ffba4dcf37); } @@ -1430,6 +1278,7 @@ pub struct IFeedItem2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedsEnum(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedsEnum { @@ -1453,30 +1302,10 @@ impl IFeedsEnum { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedsEnum, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedsEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedsEnum {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedsEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedsEnum").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedsEnum { type Vtable = IFeedsEnum_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedsEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedsEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3cd0028_2eed_4c60_8fae_a3225309a836); } @@ -1498,6 +1327,7 @@ pub struct IFeedsEnum_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedsManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFeedsManager { @@ -1605,30 +1435,10 @@ impl IFeedsManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFeedsManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFeedsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFeedsManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFeedsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedsManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFeedsManager { type Vtable = IFeedsManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFeedsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFeedsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa74029cc_1f1a_4906_88f0_810638d86591); } @@ -1677,6 +1487,7 @@ pub struct IFeedsManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPAudioRenderConfig(::windows_core::IUnknown); impl IWMPAudioRenderConfig { pub unsafe fn audioOutputDevice(&self, pbstroutputdevice: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -1690,25 +1501,9 @@ impl IWMPAudioRenderConfig { } } ::windows_core::imp::interface_hierarchy!(IWMPAudioRenderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPAudioRenderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPAudioRenderConfig {} -impl ::core::fmt::Debug for IWMPAudioRenderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPAudioRenderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPAudioRenderConfig { type Vtable = IWMPAudioRenderConfig_Vtbl; } -impl ::core::clone::Clone for IWMPAudioRenderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPAudioRenderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe79c6349_5997_4ce4_917c_22a3391ec564); } @@ -1722,6 +1517,7 @@ pub struct IWMPAudioRenderConfig_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCdrom(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPCdrom { @@ -1741,30 +1537,10 @@ impl IWMPCdrom { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPCdrom, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPCdrom { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPCdrom {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPCdrom { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCdrom").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPCdrom { type Vtable = IWMPCdrom_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPCdrom { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPCdrom { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfab6e98_8730_11d3_b388_00c04f68574b); } @@ -1782,6 +1558,7 @@ pub struct IWMPCdrom_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCdromBurn(::windows_core::IUnknown); impl IWMPCdromBurn { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1847,25 +1624,9 @@ impl IWMPCdromBurn { } } ::windows_core::imp::interface_hierarchy!(IWMPCdromBurn, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPCdromBurn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPCdromBurn {} -impl ::core::fmt::Debug for IWMPCdromBurn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCdromBurn").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPCdromBurn { type Vtable = IWMPCdromBurn_Vtbl; } -impl ::core::clone::Clone for IWMPCdromBurn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPCdromBurn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd94dbeb_417f_4928_aa06_087d56ed9b59); } @@ -1900,6 +1661,7 @@ pub struct IWMPCdromBurn_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCdromCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPCdromCollection { @@ -1925,30 +1687,10 @@ impl IWMPCdromCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPCdromCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPCdromCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPCdromCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPCdromCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCdromCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPCdromCollection { type Vtable = IWMPCdromCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPCdromCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPCdromCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee4c8fe2_34b2_11d3_a3bf_006097c9b344); } @@ -1969,6 +1711,7 @@ pub struct IWMPCdromCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCdromRip(::windows_core::IUnknown); impl IWMPCdromRip { pub unsafe fn ripState(&self, pwmprs: *mut WMPRipState) -> ::windows_core::Result<()> { @@ -1985,25 +1728,9 @@ impl IWMPCdromRip { } } ::windows_core::imp::interface_hierarchy!(IWMPCdromRip, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPCdromRip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPCdromRip {} -impl ::core::fmt::Debug for IWMPCdromRip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCdromRip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPCdromRip { type Vtable = IWMPCdromRip_Vtbl; } -impl ::core::clone::Clone for IWMPCdromRip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPCdromRip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56e2294f_69ed_4629_a869_aea72c0dcc2c); } @@ -2019,6 +1746,7 @@ pub struct IWMPCdromRip_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPClosedCaption(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPClosedCaption { @@ -2062,30 +1790,10 @@ impl IWMPClosedCaption { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPClosedCaption, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPClosedCaption { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPClosedCaption {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPClosedCaption { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPClosedCaption").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPClosedCaption { type Vtable = IWMPClosedCaption_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPClosedCaption { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPClosedCaption { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f2df574_c588_11d3_9ed0_00c04fb6e937); } @@ -2106,6 +1814,7 @@ pub struct IWMPClosedCaption_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPClosedCaption2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPClosedCaption2 { @@ -2164,30 +1873,10 @@ impl IWMPClosedCaption2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPClosedCaption2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPClosedCaption); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPClosedCaption2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPClosedCaption2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPClosedCaption2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPClosedCaption2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPClosedCaption2 { type Vtable = IWMPClosedCaption2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPClosedCaption2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPClosedCaption2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x350ba78b_6bc8_4113_a5f5_312056934eb6); } @@ -2204,6 +1893,7 @@ pub struct IWMPClosedCaption2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPContentContainer(::windows_core::IUnknown); impl IWMPContentContainer { pub unsafe fn GetID(&self) -> ::windows_core::Result { @@ -2232,25 +1922,9 @@ impl IWMPContentContainer { } } ::windows_core::imp::interface_hierarchy!(IWMPContentContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPContentContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPContentContainer {} -impl ::core::fmt::Debug for IWMPContentContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPContentContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPContentContainer { type Vtable = IWMPContentContainer_Vtbl; } -impl ::core::clone::Clone for IWMPContentContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPContentContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad7f4d9c_1a9f_4ed2_9815_ecc0b58cb616); } @@ -2267,6 +1941,7 @@ pub struct IWMPContentContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPContentContainerList(::windows_core::IUnknown); impl IWMPContentContainerList { pub unsafe fn GetTransactionType(&self) -> ::windows_core::Result { @@ -2283,25 +1958,9 @@ impl IWMPContentContainerList { } } ::windows_core::imp::interface_hierarchy!(IWMPContentContainerList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPContentContainerList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPContentContainerList {} -impl ::core::fmt::Debug for IWMPContentContainerList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPContentContainerList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPContentContainerList { type Vtable = IWMPContentContainerList_Vtbl; } -impl ::core::clone::Clone for IWMPContentContainerList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPContentContainerList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9937f78_0802_4af8_8b8d_e3f045bc8ab5); } @@ -2315,6 +1974,7 @@ pub struct IWMPContentContainerList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPContentPartner(::windows_core::IUnknown); impl IWMPContentPartner { pub unsafe fn SetCallback(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -2487,25 +2147,9 @@ impl IWMPContentPartner { } } ::windows_core::imp::interface_hierarchy!(IWMPContentPartner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPContentPartner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPContentPartner {} -impl ::core::fmt::Debug for IWMPContentPartner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPContentPartner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPContentPartner { type Vtable = IWMPContentPartner_Vtbl; } -impl ::core::clone::Clone for IWMPContentPartner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPContentPartner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55455073_41b5_4e75_87b8_f13bdb291d08); } @@ -2581,6 +2225,7 @@ pub struct IWMPContentPartner_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPContentPartnerCallback(::windows_core::IUnknown); impl IWMPContentPartnerCallback { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2651,25 +2296,9 @@ impl IWMPContentPartnerCallback { } } ::windows_core::imp::interface_hierarchy!(IWMPContentPartnerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPContentPartnerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPContentPartnerCallback {} -impl ::core::fmt::Debug for IWMPContentPartnerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPContentPartnerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPContentPartnerCallback { type Vtable = IWMPContentPartnerCallback_Vtbl; } -impl ::core::clone::Clone for IWMPContentPartnerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPContentPartnerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e8f7da2_0695_403c_b697_da10fafaa676); } @@ -2700,6 +2329,7 @@ pub struct IWMPContentPartnerCallback_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPControls(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPControls { @@ -2773,30 +2403,10 @@ impl IWMPControls { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPControls, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPControls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPControls {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPControls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPControls").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPControls { type Vtable = IWMPControls_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPControls { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74c09e02_f828_11d2_a74b_00a0c905f36e); } @@ -2837,6 +2447,7 @@ pub struct IWMPControls_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPControls2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPControls2 { @@ -2913,30 +2524,10 @@ impl IWMPControls2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPControls2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPControls); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPControls2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPControls2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPControls2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPControls2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPControls2 { type Vtable = IWMPControls2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPControls2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPControls2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f030d25_0890_480f_9775_1f7e40ab5b8e); } @@ -2950,6 +2541,7 @@ pub struct IWMPControls2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPControls3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPControls3 { @@ -3059,30 +2651,10 @@ impl IWMPControls3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPControls3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPControls, IWMPControls2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPControls3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPControls3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPControls3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPControls3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPControls3 { type Vtable = IWMPControls3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPControls3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPControls3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1d1110e_d545_476a_9a78_ac3e4cb1e6bd); } @@ -3104,6 +2676,7 @@ pub struct IWMPControls3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPConvert(::windows_core::IUnknown); impl IWMPConvert { pub unsafe fn ConvertFile(&self, bstrinputfile: P0, bstrdestinationfolder: P1, pbstroutputfile: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> @@ -3118,25 +2691,9 @@ impl IWMPConvert { } } ::windows_core::imp::interface_hierarchy!(IWMPConvert, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPConvert { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPConvert {} -impl ::core::fmt::Debug for IWMPConvert { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPConvert").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPConvert { type Vtable = IWMPConvert_Vtbl; } -impl ::core::clone::Clone for IWMPConvert { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPConvert { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd683162f_57d4_4108_8373_4a9676d1c2e9); } @@ -3150,6 +2707,7 @@ pub struct IWMPConvert_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCore(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPCore { @@ -3268,30 +2826,10 @@ impl IWMPCore { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPCore, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPCore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPCore {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPCore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCore").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPCore { type Vtable = IWMPCore_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPCore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPCore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd84cca99_cce2_11d2_9ecc_0000f8085981); } @@ -3364,6 +2902,7 @@ pub struct IWMPCore_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCore2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPCore2 { @@ -3488,30 +3027,10 @@ impl IWMPCore2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPCore2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPCore2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPCore2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPCore2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCore2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPCore2 { type Vtable = IWMPCore2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPCore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPCore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc17e5b7_7561_4c18_bb90_17d485775659); } @@ -3528,6 +3047,7 @@ pub struct IWMPCore2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPCore3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPCore3 { @@ -3671,30 +3191,10 @@ impl IWMPCore3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPCore3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPCore3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPCore3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPCore3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPCore3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPCore3 { type Vtable = IWMPCore3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPCore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPCore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7587c667_628f_499f_88e7_6a6f4e888464); } @@ -3715,6 +3215,7 @@ pub struct IWMPCore3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPDVD(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPDVD { @@ -3745,30 +3246,10 @@ impl IWMPDVD { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPDVD, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPDVD { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPDVD {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPDVD { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPDVD").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPDVD { type Vtable = IWMPDVD_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPDVD { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPDVD { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8da61686_4668_4a5c_ae5d_803193293dbe); } @@ -3790,6 +3271,7 @@ pub struct IWMPDVD_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPDownloadCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadCollection { @@ -3825,30 +3307,10 @@ impl IWMPDownloadCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPDownloadCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPDownloadCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPDownloadCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPDownloadCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPDownloadCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPDownloadCollection { type Vtable = IWMPDownloadCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPDownloadCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPDownloadCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a319c7f_85f9_436c_b88e_82fd88000e1c); } @@ -3873,6 +3335,7 @@ pub struct IWMPDownloadCollection_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPDownloadItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadItem { @@ -3904,30 +3367,10 @@ impl IWMPDownloadItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPDownloadItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPDownloadItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPDownloadItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPDownloadItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPDownloadItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPDownloadItem { type Vtable = IWMPDownloadItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPDownloadItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPDownloadItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9470e8e_3f6b_46a9_a0a9_452815c34297); } @@ -3948,6 +3391,7 @@ pub struct IWMPDownloadItem_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPDownloadItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadItem2 { @@ -3985,30 +3429,10 @@ impl IWMPDownloadItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPDownloadItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPDownloadItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPDownloadItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPDownloadItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPDownloadItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPDownloadItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPDownloadItem2 { type Vtable = IWMPDownloadItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPDownloadItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPDownloadItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fbb3336_6da3_479d_b8ff_67d46e20a987); } @@ -4022,6 +3446,7 @@ pub struct IWMPDownloadItem2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPDownloadManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPDownloadManager { @@ -4041,30 +3466,10 @@ impl IWMPDownloadManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPDownloadManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPDownloadManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPDownloadManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPDownloadManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPDownloadManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPDownloadManager { type Vtable = IWMPDownloadManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPDownloadManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPDownloadManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe15e9ad1_8f20_4cc4_9ec7_1a328ca86a0d); } @@ -4084,6 +3489,7 @@ pub struct IWMPDownloadManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEffects(::windows_core::IUnknown); impl IWMPEffects { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4139,25 +3545,9 @@ impl IWMPEffects { } } ::windows_core::imp::interface_hierarchy!(IWMPEffects, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPEffects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEffects {} -impl ::core::fmt::Debug for IWMPEffects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEffects").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEffects { type Vtable = IWMPEffects_Vtbl; } -impl ::core::clone::Clone for IWMPEffects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEffects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3984c13_c3cb_48e2_8be5_5168340b4f35); } @@ -4188,6 +3578,7 @@ pub struct IWMPEffects_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEffects2(::windows_core::IUnknown); impl IWMPEffects2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -4287,25 +3678,9 @@ impl IWMPEffects2 { } } ::windows_core::imp::interface_hierarchy!(IWMPEffects2, ::windows_core::IUnknown, IWMPEffects); -impl ::core::cmp::PartialEq for IWMPEffects2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEffects2 {} -impl ::core::fmt::Debug for IWMPEffects2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEffects2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEffects2 { type Vtable = IWMPEffects2_Vtbl; } -impl ::core::clone::Clone for IWMPEffects2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEffects2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x695386ec_aa3c_4618_a5e1_dd9a8b987632); } @@ -4338,6 +3713,7 @@ pub struct IWMPEffects2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPError(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPError { @@ -4360,30 +3736,10 @@ impl IWMPError { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPError, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPError { type Vtable = IWMPError_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa12dcf7d_14ab_4c1b_a8cd_63909f06025b); } @@ -4403,6 +3759,7 @@ pub struct IWMPError_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPErrorItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPErrorItem { @@ -4427,30 +3784,10 @@ impl IWMPErrorItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPErrorItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPErrorItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPErrorItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPErrorItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPErrorItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPErrorItem { type Vtable = IWMPErrorItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPErrorItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPErrorItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3614c646_3b3b_4de7_a81e_930e3f2127b3); } @@ -4471,6 +3808,7 @@ pub struct IWMPErrorItem_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPErrorItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPErrorItem2 { @@ -4498,30 +3836,10 @@ impl IWMPErrorItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPErrorItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPErrorItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPErrorItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPErrorItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPErrorItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPErrorItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPErrorItem2 { type Vtable = IWMPErrorItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPErrorItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPErrorItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf75ccec0_c67c_475c_931e_8719870bee7d); } @@ -4534,6 +3852,7 @@ pub struct IWMPErrorItem2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEvents(::windows_core::IUnknown); impl IWMPEvents { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -4750,25 +4069,9 @@ impl IWMPEvents { } } ::windows_core::imp::interface_hierarchy!(IWMPEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEvents {} -impl ::core::fmt::Debug for IWMPEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEvents { type Vtable = IWMPEvents_Vtbl; } -impl ::core::clone::Clone for IWMPEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19a6627b_da9e_47c1_bb23_00b5e668236a); } @@ -4848,6 +4151,7 @@ pub struct IWMPEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEvents2(::windows_core::IUnknown); impl IWMPEvents2 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -5103,25 +4407,9 @@ impl IWMPEvents2 { } } ::windows_core::imp::interface_hierarchy!(IWMPEvents2, ::windows_core::IUnknown, IWMPEvents); -impl ::core::cmp::PartialEq for IWMPEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEvents2 {} -impl ::core::fmt::Debug for IWMPEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEvents2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEvents2 { type Vtable = IWMPEvents2_Vtbl; } -impl ::core::clone::Clone for IWMPEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEvents2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e7601fa_47ea_4107_9ea9_9004ed9684ff); } @@ -5141,6 +4429,7 @@ pub struct IWMPEvents2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEvents3(::windows_core::IUnknown); impl IWMPEvents3 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -5471,25 +4760,9 @@ impl IWMPEvents3 { } } ::windows_core::imp::interface_hierarchy!(IWMPEvents3, ::windows_core::IUnknown, IWMPEvents, IWMPEvents2); -impl ::core::cmp::PartialEq for IWMPEvents3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEvents3 {} -impl ::core::fmt::Debug for IWMPEvents3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEvents3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEvents3 { type Vtable = IWMPEvents3_Vtbl; } -impl ::core::clone::Clone for IWMPEvents3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEvents3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f504270_a66b_4223_8e96_26a06c63d69f); } @@ -5526,6 +4799,7 @@ pub struct IWMPEvents3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPEvents4(::windows_core::IUnknown); impl IWMPEvents4 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -5862,25 +5136,9 @@ impl IWMPEvents4 { } } ::windows_core::imp::interface_hierarchy!(IWMPEvents4, ::windows_core::IUnknown, IWMPEvents, IWMPEvents2, IWMPEvents3); -impl ::core::cmp::PartialEq for IWMPEvents4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPEvents4 {} -impl ::core::fmt::Debug for IWMPEvents4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPEvents4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPEvents4 { type Vtable = IWMPEvents4_Vtbl; } -impl ::core::clone::Clone for IWMPEvents4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPEvents4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26dabcfa_306b_404d_9a6f_630a8405048d); } @@ -5892,6 +5150,7 @@ pub struct IWMPEvents4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPFolderMonitorServices(::windows_core::IUnknown); impl IWMPFolderMonitorServices { pub unsafe fn count(&self, plcount: *mut i32) -> ::windows_core::Result<()> { @@ -5932,25 +5191,9 @@ impl IWMPFolderMonitorServices { } } ::windows_core::imp::interface_hierarchy!(IWMPFolderMonitorServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPFolderMonitorServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPFolderMonitorServices {} -impl ::core::fmt::Debug for IWMPFolderMonitorServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPFolderMonitorServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPFolderMonitorServices { type Vtable = IWMPFolderMonitorServices_Vtbl; } -impl ::core::clone::Clone for IWMPFolderMonitorServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPFolderMonitorServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x788c8743_e57f_439d_a468_5bc77f2e59c6); } @@ -5972,6 +5215,7 @@ pub struct IWMPFolderMonitorServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPGraphCreation(::windows_core::IUnknown); impl IWMPGraphCreation { pub unsafe fn GraphCreationPreRender(&self, pfiltergraph: P0, preserved: P1) -> ::windows_core::Result<()> @@ -5992,25 +5236,9 @@ impl IWMPGraphCreation { } } ::windows_core::imp::interface_hierarchy!(IWMPGraphCreation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPGraphCreation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPGraphCreation {} -impl ::core::fmt::Debug for IWMPGraphCreation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPGraphCreation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPGraphCreation { type Vtable = IWMPGraphCreation_Vtbl; } -impl ::core::clone::Clone for IWMPGraphCreation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPGraphCreation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfb377e5_c594_4369_a970_de896d5ece74); } @@ -6024,6 +5252,7 @@ pub struct IWMPGraphCreation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPLibrary(::windows_core::IUnknown); impl IWMPLibrary { pub unsafe fn name(&self, pbstrname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -6048,24 +5277,8 @@ impl IWMPLibrary { } } ::windows_core::imp::interface_hierarchy!(IWMPLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPLibrary {} -impl ::core::fmt::Debug for IWMPLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPLibrary").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IWMPLibrary { - type Vtable = IWMPLibrary_Vtbl; -} -impl ::core::clone::Clone for IWMPLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IWMPLibrary { + type Vtable = IWMPLibrary_Vtbl; } unsafe impl ::windows_core::ComInterface for IWMPLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3df47861_7df1_4c1f_a81b_4c26f0f7a7c6); @@ -6087,6 +5300,7 @@ pub struct IWMPLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPLibrary2(::windows_core::IUnknown); impl IWMPLibrary2 { pub unsafe fn name(&self, pbstrname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -6117,25 +5331,9 @@ impl IWMPLibrary2 { } } ::windows_core::imp::interface_hierarchy!(IWMPLibrary2, ::windows_core::IUnknown, IWMPLibrary); -impl ::core::cmp::PartialEq for IWMPLibrary2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPLibrary2 {} -impl ::core::fmt::Debug for IWMPLibrary2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPLibrary2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPLibrary2 { type Vtable = IWMPLibrary2_Vtbl; } -impl ::core::clone::Clone for IWMPLibrary2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPLibrary2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd578a4e_79b1_426c_bf8f_3add9072500b); } @@ -6147,6 +5345,7 @@ pub struct IWMPLibrary2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPLibraryServices(::windows_core::IUnknown); impl IWMPLibraryServices { pub unsafe fn getCountByType(&self, wmplt: WMPLibraryType, plcount: *mut i32) -> ::windows_core::Result<()> { @@ -6158,25 +5357,9 @@ impl IWMPLibraryServices { } } ::windows_core::imp::interface_hierarchy!(IWMPLibraryServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPLibraryServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPLibraryServices {} -impl ::core::fmt::Debug for IWMPLibraryServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPLibraryServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPLibraryServices { type Vtable = IWMPLibraryServices_Vtbl; } -impl ::core::clone::Clone for IWMPLibraryServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPLibraryServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39c2f8d5_1cf2_4d5e_ae09_d73492cf9eaa); } @@ -6189,6 +5372,7 @@ pub struct IWMPLibraryServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPLibrarySharingServices(::windows_core::IUnknown); impl IWMPLibrarySharingServices { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6206,25 +5390,9 @@ impl IWMPLibrarySharingServices { } } ::windows_core::imp::interface_hierarchy!(IWMPLibrarySharingServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPLibrarySharingServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPLibrarySharingServices {} -impl ::core::fmt::Debug for IWMPLibrarySharingServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPLibrarySharingServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPLibrarySharingServices { type Vtable = IWMPLibrarySharingServices_Vtbl; } -impl ::core::clone::Clone for IWMPLibrarySharingServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPLibrarySharingServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82cba86b_9f04_474b_a365_d6dd1466e541); } @@ -6245,6 +5413,7 @@ pub struct IWMPLibrarySharingServices_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMedia(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMedia { @@ -6331,30 +5500,10 @@ impl IWMPMedia { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMedia, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMedia { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMedia {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMedia { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMedia").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMedia { type Vtable = IWMPMedia_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMedia { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMedia { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94d55e95_3fac_11d3_b155_00c04f79faa6); } @@ -6394,6 +5543,7 @@ pub struct IWMPMedia_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMedia2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMedia2 { @@ -6486,30 +5636,10 @@ impl IWMPMedia2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMedia2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMedia2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMedia2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMedia2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMedia2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMedia2 { type Vtable = IWMPMedia2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMedia2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMedia2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab7c88bb_143e_4ea4_acc3_e4350b2106c3); } @@ -6526,6 +5656,7 @@ pub struct IWMPMedia2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMedia3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMedia3 { @@ -6634,30 +5765,10 @@ impl IWMPMedia3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMedia3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia, IWMPMedia2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMedia3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMedia3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMedia3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMedia3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMedia3 { type Vtable = IWMPMedia3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMedia3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMedia3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf118efc7_f03a_4fb4_99c9_1c02a5c1065b); } @@ -6675,6 +5786,7 @@ pub struct IWMPMedia3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMediaCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMediaCollection { @@ -6785,30 +5897,10 @@ impl IWMPMediaCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMediaCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMediaCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMediaCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMediaCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMediaCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMediaCollection { type Vtable = IWMPMediaCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMediaCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMediaCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8363bc22_b4b4_4b19_989d_1cd765749dd1); } @@ -6866,6 +5958,7 @@ pub struct IWMPMediaCollection_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMediaCollection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMediaCollection2 { @@ -7018,30 +6111,10 @@ impl IWMPMediaCollection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMediaCollection2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMediaCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMediaCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMediaCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMediaCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMediaCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMediaCollection2 { type Vtable = IWMPMediaCollection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMediaCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMediaCollection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ba957f5_fd8c_4791_b82d_f840401ee474); } @@ -7069,6 +6142,7 @@ pub struct IWMPMediaCollection2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMediaPluginRegistrar(::windows_core::IUnknown); impl IWMPMediaPluginRegistrar { pub unsafe fn WMPRegisterPlayerPlugin(&self, pwszfriendlyname: P0, pwszdescription: P1, pwszuninstallstring: P2, dwpriority: u32, guidplugintype: ::windows_core::GUID, clsid: ::windows_core::GUID, cmediatypes: u32, pmediatypes: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -7084,25 +6158,9 @@ impl IWMPMediaPluginRegistrar { } } ::windows_core::imp::interface_hierarchy!(IWMPMediaPluginRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPMediaPluginRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPMediaPluginRegistrar {} -impl ::core::fmt::Debug for IWMPMediaPluginRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMediaPluginRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPMediaPluginRegistrar { type Vtable = IWMPMediaPluginRegistrar_Vtbl; } -impl ::core::clone::Clone for IWMPMediaPluginRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPMediaPluginRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68e27045_05bd_40b2_9720_23088c78e390); } @@ -7116,6 +6174,7 @@ pub struct IWMPMediaPluginRegistrar_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMetadataPicture(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMetadataPicture { @@ -7135,30 +6194,10 @@ impl IWMPMetadataPicture { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMetadataPicture, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMetadataPicture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMetadataPicture {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMetadataPicture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMetadataPicture").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMetadataPicture { type Vtable = IWMPMetadataPicture_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMetadataPicture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMetadataPicture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c29bbe0_f87d_4c45_aa28_a70f0230ffa9); } @@ -7175,6 +6214,7 @@ pub struct IWMPMetadataPicture_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPMetadataText(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPMetadataText { @@ -7188,30 +6228,10 @@ impl IWMPMetadataText { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPMetadataText, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPMetadataText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPMetadataText {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPMetadataText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPMetadataText").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPMetadataText { type Vtable = IWMPMetadataText_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPMetadataText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPMetadataText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x769a72db_13d2_45e2_9c48_53ca9d5b7450); } @@ -7226,6 +6246,7 @@ pub struct IWMPMetadataText_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNetwork(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPNetwork { @@ -7354,30 +6375,10 @@ impl IWMPNetwork { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPNetwork, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPNetwork {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNetwork").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPNetwork { type Vtable = IWMPNetwork_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec21b779_edef_462d_bba4_ad9dde2b29a7); } @@ -7423,6 +6424,7 @@ pub struct IWMPNetwork_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeRealEstate(::windows_core::IUnknown); impl IWMPNodeRealEstate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7468,25 +6470,9 @@ impl IWMPNodeRealEstate { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeRealEstate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPNodeRealEstate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeRealEstate {} -impl ::core::fmt::Debug for IWMPNodeRealEstate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeRealEstate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeRealEstate { type Vtable = IWMPNodeRealEstate_Vtbl; } -impl ::core::clone::Clone for IWMPNodeRealEstate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeRealEstate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42751198_5a50_4460_bcb4_709f8bdc8e59); } @@ -7525,6 +6511,7 @@ pub struct IWMPNodeRealEstate_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeRealEstateHost(::windows_core::IUnknown); impl IWMPNodeRealEstateHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7542,25 +6529,9 @@ impl IWMPNodeRealEstateHost { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeRealEstateHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPNodeRealEstateHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeRealEstateHost {} -impl ::core::fmt::Debug for IWMPNodeRealEstateHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeRealEstateHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeRealEstateHost { type Vtable = IWMPNodeRealEstateHost_Vtbl; } -impl ::core::clone::Clone for IWMPNodeRealEstateHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeRealEstateHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1491087d_2c6b_44c8_b019_b3c929d2ada9); } @@ -7579,6 +6550,7 @@ pub struct IWMPNodeRealEstateHost_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeWindowed(::windows_core::IUnknown); impl IWMPNodeWindowed { pub unsafe fn SetOwnerWindow(&self, hwnd: isize) -> ::windows_core::Result<()> { @@ -7589,25 +6561,9 @@ impl IWMPNodeWindowed { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeWindowed, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPNodeWindowed { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeWindowed {} -impl ::core::fmt::Debug for IWMPNodeWindowed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeWindowed").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeWindowed { type Vtable = IWMPNodeWindowed_Vtbl; } -impl ::core::clone::Clone for IWMPNodeWindowed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeWindowed { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96740bfa_c56a_45d1_a3a4_762914d4ade9); } @@ -7620,6 +6576,7 @@ pub struct IWMPNodeWindowed_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeWindowedHost(::windows_core::IUnknown); impl IWMPNodeWindowedHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7633,25 +6590,9 @@ impl IWMPNodeWindowedHost { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeWindowedHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPNodeWindowedHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeWindowedHost {} -impl ::core::fmt::Debug for IWMPNodeWindowedHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeWindowedHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeWindowedHost { type Vtable = IWMPNodeWindowedHost_Vtbl; } -impl ::core::clone::Clone for IWMPNodeWindowedHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeWindowedHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa300415a_54aa_4081_adbf_3b13610d8958); } @@ -7666,6 +6607,7 @@ pub struct IWMPNodeWindowedHost_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeWindowless(::windows_core::IUnknown); impl IWMPNodeWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7684,25 +6626,9 @@ impl IWMPNodeWindowless { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeWindowless, ::windows_core::IUnknown, IWMPWindowMessageSink); -impl ::core::cmp::PartialEq for IWMPNodeWindowless { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeWindowless {} -impl ::core::fmt::Debug for IWMPNodeWindowless { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeWindowless").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeWindowless { type Vtable = IWMPNodeWindowless_Vtbl; } -impl ::core::clone::Clone for IWMPNodeWindowless { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeWindowless { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b9199ad_780c_4eda_b816_261eba5d1575); } @@ -7717,6 +6643,7 @@ pub struct IWMPNodeWindowless_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPNodeWindowlessHost(::windows_core::IUnknown); impl IWMPNodeWindowlessHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7729,25 +6656,9 @@ impl IWMPNodeWindowlessHost { } } ::windows_core::imp::interface_hierarchy!(IWMPNodeWindowlessHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPNodeWindowlessHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPNodeWindowlessHost {} -impl ::core::fmt::Debug for IWMPNodeWindowlessHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPNodeWindowlessHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPNodeWindowlessHost { type Vtable = IWMPNodeWindowlessHost_Vtbl; } -impl ::core::clone::Clone for IWMPNodeWindowlessHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPNodeWindowlessHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe7017c6_ce34_4901_8106_770381aa6e3e); } @@ -7763,6 +6674,7 @@ pub struct IWMPNodeWindowlessHost_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlayer { @@ -7929,30 +6841,10 @@ impl IWMPPlayer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlayer, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlayer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlayer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlayer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlayer { type Vtable = IWMPPlayer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlayer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlayer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf52a4f_394a_11d3_b153_00c04f79faa6); } @@ -7991,6 +6883,7 @@ pub struct IWMPPlayer_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayer2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlayer2 { @@ -8183,30 +7076,10 @@ impl IWMPPlayer2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlayer2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlayer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlayer2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlayer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayer2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlayer2 { type Vtable = IWMPPlayer2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlayer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlayer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e6b01d1_d407_4c85_bf5f_1c01f6150280); } @@ -8261,6 +7134,7 @@ pub struct IWMPPlayer2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayer3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlayer3 { @@ -8459,30 +7333,10 @@ impl IWMPPlayer3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlayer3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlayer3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlayer3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlayer3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayer3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlayer3 { type Vtable = IWMPPlayer3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlayer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlayer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54062b68_052a_4c25_a39f_8b63346511d4); } @@ -8537,6 +7391,7 @@ pub struct IWMPPlayer3_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayer4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlayer4 { @@ -8771,30 +7626,10 @@ impl IWMPPlayer4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlayer4, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2, IWMPCore3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlayer4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlayer4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlayer4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayer4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlayer4 { type Vtable = IWMPPlayer4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlayer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlayer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c497d62_8919_413c_82db_e935fb3ec584); } @@ -8858,6 +7693,7 @@ pub struct IWMPPlayer4_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayerApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlayerApplication { @@ -8881,30 +7717,10 @@ impl IWMPPlayerApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlayerApplication, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlayerApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlayerApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlayerApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayerApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlayerApplication { type Vtable = IWMPPlayerApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlayerApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlayerApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40897764_ceab_47be_ad4a_8e28537f9bbf); } @@ -8926,6 +7742,7 @@ pub struct IWMPPlayerApplication_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayerServices(::windows_core::IUnknown); impl IWMPPlayerServices { pub unsafe fn activateUIPlugin(&self, bstrplugin: P0) -> ::windows_core::Result<()> @@ -8950,25 +7767,9 @@ impl IWMPPlayerServices { } } ::windows_core::imp::interface_hierarchy!(IWMPPlayerServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPPlayerServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPPlayerServices {} -impl ::core::fmt::Debug for IWMPPlayerServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayerServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPPlayerServices { type Vtable = IWMPPlayerServices_Vtbl; } -impl ::core::clone::Clone for IWMPPlayerServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPPlayerServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d01fbdb_ade2_4c8d_9842_c190b95c3306); } @@ -8982,6 +7783,7 @@ pub struct IWMPPlayerServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlayerServices2(::windows_core::IUnknown); impl IWMPPlayerServices2 { pub unsafe fn activateUIPlugin(&self, bstrplugin: P0) -> ::windows_core::Result<()> @@ -9012,25 +7814,9 @@ impl IWMPPlayerServices2 { } } ::windows_core::imp::interface_hierarchy!(IWMPPlayerServices2, ::windows_core::IUnknown, IWMPPlayerServices); -impl ::core::cmp::PartialEq for IWMPPlayerServices2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPPlayerServices2 {} -impl ::core::fmt::Debug for IWMPPlayerServices2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlayerServices2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPPlayerServices2 { type Vtable = IWMPPlayerServices2_Vtbl; } -impl ::core::clone::Clone for IWMPPlayerServices2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPPlayerServices2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb1592f_f040_418a_9f71_17c7512b4d70); } @@ -9043,6 +7829,7 @@ pub struct IWMPPlayerServices2_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlaylist(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlaylist { @@ -9125,30 +7912,10 @@ impl IWMPPlaylist { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlaylist, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlaylist { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlaylist {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlaylist { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlaylist").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlaylist { type Vtable = IWMPPlaylist_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlaylist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlaylist { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f0f4f1_130c_11d3_b14e_00c04f79faa6); } @@ -9190,6 +7957,7 @@ pub struct IWMPPlaylist_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlaylistArray(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlaylistArray { @@ -9206,30 +7974,10 @@ impl IWMPPlaylistArray { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlaylistArray, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlaylistArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlaylistArray {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlaylistArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlaylistArray").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlaylistArray { type Vtable = IWMPPlaylistArray_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlaylistArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlaylistArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x679409c0_99f7_11d3_9fb7_00105aa620bb); } @@ -9247,6 +7995,7 @@ pub struct IWMPPlaylistArray_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlaylistCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPPlaylistCollection { @@ -9312,30 +8061,10 @@ impl IWMPPlaylistCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPPlaylistCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPPlaylistCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPPlaylistCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPPlaylistCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlaylistCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPPlaylistCollection { type Vtable = IWMPPlaylistCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPPlaylistCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPPlaylistCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10a13217_23a7_439b_b1c0_d847c79b7774); } @@ -9375,6 +8104,7 @@ pub struct IWMPPlaylistCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPlugin(::windows_core::IUnknown); impl IWMPPlugin { pub unsafe fn Init(&self, dwplaybackcontext: usize) -> ::windows_core::Result<()> { @@ -9400,25 +8130,9 @@ impl IWMPPlugin { } } ::windows_core::imp::interface_hierarchy!(IWMPPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPPlugin {} -impl ::core::fmt::Debug for IWMPPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPPlugin { type Vtable = IWMPPlugin_Vtbl; } -impl ::core::clone::Clone for IWMPPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1392a70_024c_42bb_a998_73dfdfe7d5a7); } @@ -9435,6 +8149,7 @@ pub struct IWMPPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPluginEnable(::windows_core::IUnknown); impl IWMPPluginEnable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9452,25 +8167,9 @@ impl IWMPPluginEnable { } } ::windows_core::imp::interface_hierarchy!(IWMPPluginEnable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPPluginEnable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPPluginEnable {} -impl ::core::fmt::Debug for IWMPPluginEnable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPluginEnable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPPluginEnable { type Vtable = IWMPPluginEnable_Vtbl; } -impl ::core::clone::Clone for IWMPPluginEnable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPPluginEnable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fca444c_7ad1_479d_a4ef_40566a5309d6); } @@ -9489,6 +8188,7 @@ pub struct IWMPPluginEnable_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPPluginUI(::windows_core::IUnknown); impl IWMPPluginUI { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9541,25 +8241,9 @@ impl IWMPPluginUI { } } ::windows_core::imp::interface_hierarchy!(IWMPPluginUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPPluginUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPPluginUI {} -impl ::core::fmt::Debug for IWMPPluginUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPPluginUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPPluginUI { type Vtable = IWMPPluginUI_Vtbl; } -impl ::core::clone::Clone for IWMPPluginUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPPluginUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c5e8f9f_ad3e_4bf9_9753_fcd30d6d38dd); } @@ -9596,6 +8280,7 @@ pub struct IWMPPluginUI_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPQuery(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPQuery { @@ -9614,30 +8299,10 @@ impl IWMPQuery { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPQuery, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPQuery {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPQuery").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPQuery { type Vtable = IWMPQuery_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa00918f3_a6b0_4bfb_9189_fd834c7bc5a5); } @@ -9651,6 +8316,7 @@ pub struct IWMPQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPRemoteMediaServices(::windows_core::IUnknown); impl IWMPRemoteMediaServices { pub unsafe fn GetServiceType(&self, pbstrtype: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -9669,25 +8335,9 @@ impl IWMPRemoteMediaServices { } } ::windows_core::imp::interface_hierarchy!(IWMPRemoteMediaServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPRemoteMediaServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPRemoteMediaServices {} -impl ::core::fmt::Debug for IWMPRemoteMediaServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPRemoteMediaServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPRemoteMediaServices { type Vtable = IWMPRemoteMediaServices_Vtbl; } -impl ::core::clone::Clone for IWMPRemoteMediaServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPRemoteMediaServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbb92747_741f_44fe_ab5b_f1a48f3b2a59); } @@ -9705,6 +8355,7 @@ pub struct IWMPRemoteMediaServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPRenderConfig(::windows_core::IUnknown); impl IWMPRenderConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9722,25 +8373,9 @@ impl IWMPRenderConfig { } } ::windows_core::imp::interface_hierarchy!(IWMPRenderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPRenderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPRenderConfig {} -impl ::core::fmt::Debug for IWMPRenderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPRenderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPRenderConfig { type Vtable = IWMPRenderConfig_Vtbl; } -impl ::core::clone::Clone for IWMPRenderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPRenderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x959506c1_0314_4ec5_9e61_8528db5e5478); } @@ -9759,6 +8394,7 @@ pub struct IWMPRenderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPServices(::windows_core::IUnknown); impl IWMPServices { pub unsafe fn GetStreamTime(&self, prt: *mut i64) -> ::windows_core::Result<()> { @@ -9769,25 +8405,9 @@ impl IWMPServices { } } ::windows_core::imp::interface_hierarchy!(IWMPServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPServices {} -impl ::core::fmt::Debug for IWMPServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPServices { type Vtable = IWMPServices_Vtbl; } -impl ::core::clone::Clone for IWMPServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafb6b76b_1e20_4198_83b3_191db6e0b149); } @@ -9801,6 +8421,7 @@ pub struct IWMPServices_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPSettings { @@ -9925,32 +8546,12 @@ impl IWMPSettings { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IWMPSettings, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IWMPSettings, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPSettings { type Vtable = IWMPSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9104d1ab_80c9_4fed_abf0_2e6417a6df14); } @@ -10019,6 +8620,7 @@ pub struct IWMPSettings_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSettings2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPSettings2 { @@ -10159,30 +8761,10 @@ impl IWMPSettings2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPSettings2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPSettings); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPSettings2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSettings2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPSettings2 { type Vtable = IWMPSettings2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfda937a4_eece_4da5_a0b6_39bf89ade2c2); } @@ -10200,6 +8782,7 @@ pub struct IWMPSettings2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSkinManager(::windows_core::IUnknown); impl IWMPSkinManager { pub unsafe fn SetVisualStyle(&self, bstrpath: P0) -> ::windows_core::Result<()> @@ -10210,25 +8793,9 @@ impl IWMPSkinManager { } } ::windows_core::imp::interface_hierarchy!(IWMPSkinManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPSkinManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSkinManager {} -impl ::core::fmt::Debug for IWMPSkinManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSkinManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSkinManager { type Vtable = IWMPSkinManager_Vtbl; } -impl ::core::clone::Clone for IWMPSkinManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSkinManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x076f2fa6_ed30_448b_8cc5_3f3ef3529c7a); } @@ -10241,6 +8808,7 @@ pub struct IWMPSkinManager_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPStringCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPStringCollection { @@ -10254,30 +8822,10 @@ impl IWMPStringCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPStringCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPStringCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPStringCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPStringCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPStringCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPStringCollection { type Vtable = IWMPStringCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPStringCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPStringCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a976298_8c0d_11d3_b389_00c04f68574b); } @@ -10292,6 +8840,7 @@ pub struct IWMPStringCollection_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPStringCollection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMPStringCollection2 { @@ -10335,30 +8884,10 @@ impl IWMPStringCollection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMPStringCollection2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPStringCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMPStringCollection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMPStringCollection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMPStringCollection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPStringCollection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMPStringCollection2 { type Vtable = IWMPStringCollection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMPStringCollection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMPStringCollection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46ad648d_53f1_4a74_92e2_2a1b68d63fd4); } @@ -10380,6 +8909,7 @@ pub struct IWMPStringCollection2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSubscriptionService(::windows_core::IUnknown); impl IWMPSubscriptionService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10419,25 +8949,9 @@ impl IWMPSubscriptionService { } } ::windows_core::imp::interface_hierarchy!(IWMPSubscriptionService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPSubscriptionService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSubscriptionService {} -impl ::core::fmt::Debug for IWMPSubscriptionService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSubscriptionService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSubscriptionService { type Vtable = IWMPSubscriptionService_Vtbl; } -impl ::core::clone::Clone for IWMPSubscriptionService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSubscriptionService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x376055f8_2a59_4a73_9501_dca5273a7a10); } @@ -10464,6 +8978,7 @@ pub struct IWMPSubscriptionService_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSubscriptionService2(::windows_core::IUnknown); impl IWMPSubscriptionService2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10524,25 +9039,9 @@ impl IWMPSubscriptionService2 { } } ::windows_core::imp::interface_hierarchy!(IWMPSubscriptionService2, ::windows_core::IUnknown, IWMPSubscriptionService); -impl ::core::cmp::PartialEq for IWMPSubscriptionService2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSubscriptionService2 {} -impl ::core::fmt::Debug for IWMPSubscriptionService2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSubscriptionService2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSubscriptionService2 { type Vtable = IWMPSubscriptionService2_Vtbl; } -impl ::core::clone::Clone for IWMPSubscriptionService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSubscriptionService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa94c120e_d600_4ec6_b05e_ec9d56d84de0); } @@ -10557,6 +9056,7 @@ pub struct IWMPSubscriptionService2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSubscriptionServiceCallback(::windows_core::IUnknown); impl IWMPSubscriptionServiceCallback { pub unsafe fn onComplete(&self, hrresult: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -10564,25 +9064,9 @@ impl IWMPSubscriptionServiceCallback { } } ::windows_core::imp::interface_hierarchy!(IWMPSubscriptionServiceCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPSubscriptionServiceCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSubscriptionServiceCallback {} -impl ::core::fmt::Debug for IWMPSubscriptionServiceCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSubscriptionServiceCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSubscriptionServiceCallback { type Vtable = IWMPSubscriptionServiceCallback_Vtbl; } -impl ::core::clone::Clone for IWMPSubscriptionServiceCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSubscriptionServiceCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd01d127_2dc2_4c3a_876e_63312079f9b0); } @@ -10594,6 +9078,7 @@ pub struct IWMPSubscriptionServiceCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSyncDevice(::windows_core::IUnknown); impl IWMPSyncDevice { pub unsafe fn friendlyName(&self, pbstrname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -10664,25 +9149,9 @@ impl IWMPSyncDevice { } } ::windows_core::imp::interface_hierarchy!(IWMPSyncDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPSyncDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSyncDevice {} -impl ::core::fmt::Debug for IWMPSyncDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSyncDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSyncDevice { type Vtable = IWMPSyncDevice_Vtbl; } -impl ::core::clone::Clone for IWMPSyncDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSyncDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82a2986c_0293_4fd0_b279_b21b86c058be); } @@ -10718,6 +9187,7 @@ pub struct IWMPSyncDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSyncDevice2(::windows_core::IUnknown); impl IWMPSyncDevice2 { pub unsafe fn friendlyName(&self, pbstrname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -10795,25 +9265,9 @@ impl IWMPSyncDevice2 { } } ::windows_core::imp::interface_hierarchy!(IWMPSyncDevice2, ::windows_core::IUnknown, IWMPSyncDevice); -impl ::core::cmp::PartialEq for IWMPSyncDevice2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSyncDevice2 {} -impl ::core::fmt::Debug for IWMPSyncDevice2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSyncDevice2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSyncDevice2 { type Vtable = IWMPSyncDevice2_Vtbl; } -impl ::core::clone::Clone for IWMPSyncDevice2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSyncDevice2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88afb4b2_140a_44d2_91e6_4543da467cd1); } @@ -10825,6 +9279,7 @@ pub struct IWMPSyncDevice2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSyncDevice3(::windows_core::IUnknown); impl IWMPSyncDevice3 { pub unsafe fn friendlyName(&self, pbstrname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -10914,25 +9369,9 @@ impl IWMPSyncDevice3 { } } ::windows_core::imp::interface_hierarchy!(IWMPSyncDevice3, ::windows_core::IUnknown, IWMPSyncDevice, IWMPSyncDevice2); -impl ::core::cmp::PartialEq for IWMPSyncDevice3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSyncDevice3 {} -impl ::core::fmt::Debug for IWMPSyncDevice3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSyncDevice3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSyncDevice3 { type Vtable = IWMPSyncDevice3_Vtbl; } -impl ::core::clone::Clone for IWMPSyncDevice3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSyncDevice3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb22c85f9_263c_4372_a0da_b518db9b4098); } @@ -10948,6 +9387,7 @@ pub struct IWMPSyncDevice3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPSyncServices(::windows_core::IUnknown); impl IWMPSyncServices { pub unsafe fn deviceCount(&self, plcount: *mut i32) -> ::windows_core::Result<()> { @@ -10959,25 +9399,9 @@ impl IWMPSyncServices { } } ::windows_core::imp::interface_hierarchy!(IWMPSyncServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPSyncServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPSyncServices {} -impl ::core::fmt::Debug for IWMPSyncServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPSyncServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPSyncServices { type Vtable = IWMPSyncServices_Vtbl; } -impl ::core::clone::Clone for IWMPSyncServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPSyncServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b5050ff_e0a4_4808_b3a8_893a9e1ed894); } @@ -10990,6 +9414,7 @@ pub struct IWMPSyncServices_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPTranscodePolicy(::windows_core::IUnknown); impl IWMPTranscodePolicy { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10999,25 +9424,9 @@ impl IWMPTranscodePolicy { } } ::windows_core::imp::interface_hierarchy!(IWMPTranscodePolicy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPTranscodePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPTranscodePolicy {} -impl ::core::fmt::Debug for IWMPTranscodePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPTranscodePolicy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPTranscodePolicy { type Vtable = IWMPTranscodePolicy_Vtbl; } -impl ::core::clone::Clone for IWMPTranscodePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPTranscodePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb64cbac3_401c_4327_a3e8_b9feb3a8c25c); } @@ -11032,6 +9441,7 @@ pub struct IWMPTranscodePolicy_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPUserEventSink(::windows_core::IUnknown); impl IWMPUserEventSink { pub unsafe fn NotifyUserEvent(&self, eventcode: i32) -> ::windows_core::Result<()> { @@ -11039,25 +9449,9 @@ impl IWMPUserEventSink { } } ::windows_core::imp::interface_hierarchy!(IWMPUserEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPUserEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPUserEventSink {} -impl ::core::fmt::Debug for IWMPUserEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPUserEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPUserEventSink { type Vtable = IWMPUserEventSink_Vtbl; } -impl ::core::clone::Clone for IWMPUserEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPUserEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfccfa72_c343_48c3_a2de_b7a4402e39f2); } @@ -11069,6 +9463,7 @@ pub struct IWMPUserEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPVideoRenderConfig(::windows_core::IUnknown); impl IWMPVideoRenderConfig { #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`*"] @@ -11081,25 +9476,9 @@ impl IWMPVideoRenderConfig { } } ::windows_core::imp::interface_hierarchy!(IWMPVideoRenderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPVideoRenderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPVideoRenderConfig {} -impl ::core::fmt::Debug for IWMPVideoRenderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPVideoRenderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPVideoRenderConfig { type Vtable = IWMPVideoRenderConfig_Vtbl; } -impl ::core::clone::Clone for IWMPVideoRenderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPVideoRenderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d6cf803_1ec0_4c8d_b3ca_f18e27282074); } @@ -11114,6 +9493,7 @@ pub struct IWMPVideoRenderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPWindowMessageSink(::windows_core::IUnknown); impl IWMPWindowMessageSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11127,25 +9507,9 @@ impl IWMPWindowMessageSink { } } ::windows_core::imp::interface_hierarchy!(IWMPWindowMessageSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPWindowMessageSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPWindowMessageSink {} -impl ::core::fmt::Debug for IWMPWindowMessageSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPWindowMessageSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPWindowMessageSink { type Vtable = IWMPWindowMessageSink_Vtbl; } -impl ::core::clone::Clone for IWMPWindowMessageSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPWindowMessageSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a0daa30_908d_4789_ba87_aed879b5c49b); } @@ -11160,6 +9524,7 @@ pub struct IWMPWindowMessageSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeed(::windows_core::IUnknown); impl IXFeed { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11370,25 +9735,9 @@ impl IXFeed { } } ::windows_core::imp::interface_hierarchy!(IXFeed, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeed { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeed {} -impl ::core::fmt::Debug for IXFeed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeed").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeed { type Vtable = IXFeed_Vtbl; } -impl ::core::clone::Clone for IXFeed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeed { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa44179a4_e0f6_403b_af8d_d080f425a451); } @@ -11470,6 +9819,7 @@ pub struct IXFeed_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeed2(::windows_core::IUnknown); impl IXFeed2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -11711,25 +10061,9 @@ impl IXFeed2 { } } ::windows_core::imp::interface_hierarchy!(IXFeed2, ::windows_core::IUnknown, IXFeed); -impl ::core::cmp::PartialEq for IXFeed2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeed2 {} -impl ::core::fmt::Debug for IXFeed2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeed2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeed2 { type Vtable = IXFeed2_Vtbl; } -impl ::core::clone::Clone for IXFeed2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeed2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce528e77_3716_4eb7_956d_f5e37502e12a); } @@ -11749,6 +10083,7 @@ pub struct IXFeed2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedEnclosure(::windows_core::IUnknown); impl IXFeedEnclosure { pub unsafe fn Url(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -11810,25 +10145,9 @@ impl IXFeedEnclosure { } } ::windows_core::imp::interface_hierarchy!(IXFeedEnclosure, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedEnclosure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedEnclosure {} -impl ::core::fmt::Debug for IXFeedEnclosure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedEnclosure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedEnclosure { type Vtable = IXFeedEnclosure_Vtbl; } -impl ::core::clone::Clone for IXFeedEnclosure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedEnclosure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfbfb953_644f_4792_b69c_dfaca4cbf89a); } @@ -11852,6 +10171,7 @@ pub struct IXFeedEnclosure_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedEvents(::windows_core::IUnknown); impl IXFeedEvents { pub unsafe fn Error(&self) -> ::windows_core::Result<()> { @@ -11903,25 +10223,9 @@ impl IXFeedEvents { } } ::windows_core::imp::interface_hierarchy!(IXFeedEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedEvents {} -impl ::core::fmt::Debug for IXFeedEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedEvents { type Vtable = IXFeedEvents_Vtbl; } -impl ::core::clone::Clone for IXFeedEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1630852e_1263_465b_98e5_fe60ffec4ac2); } @@ -11940,6 +10244,7 @@ pub struct IXFeedEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedFolder(::windows_core::IUnknown); impl IXFeedFolder { pub unsafe fn Feeds(&self) -> ::windows_core::Result { @@ -12052,25 +10357,9 @@ impl IXFeedFolder { } } ::windows_core::imp::interface_hierarchy!(IXFeedFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedFolder {} -impl ::core::fmt::Debug for IXFeedFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedFolder { type Vtable = IXFeedFolder_Vtbl; } -impl ::core::clone::Clone for IXFeedFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c963678_3a51_4b88_8531_98b90b6508f2); } @@ -12108,6 +10397,7 @@ pub struct IXFeedFolder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedFolderEvents(::windows_core::IUnknown); impl IXFeedFolderEvents { pub unsafe fn Error(&self) -> ::windows_core::Result<()> { @@ -12211,25 +10501,9 @@ impl IXFeedFolderEvents { } } ::windows_core::imp::interface_hierarchy!(IXFeedFolderEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedFolderEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedFolderEvents {} -impl ::core::fmt::Debug for IXFeedFolderEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedFolderEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedFolderEvents { type Vtable = IXFeedFolderEvents_Vtbl; } -impl ::core::clone::Clone for IXFeedFolderEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedFolderEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7964b769_234a_4bb1_a5f4_90454c8ad07e); } @@ -12256,6 +10530,7 @@ pub struct IXFeedFolderEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedItem(::windows_core::IUnknown); impl IXFeedItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12347,25 +10622,9 @@ impl IXFeedItem { } } ::windows_core::imp::interface_hierarchy!(IXFeedItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedItem {} -impl ::core::fmt::Debug for IXFeedItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedItem { type Vtable = IXFeedItem_Vtbl; } -impl ::core::clone::Clone for IXFeedItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe757b2f5_e73e_434e_a1bf_2bd7c3e60fcb); } @@ -12411,6 +10670,7 @@ pub struct IXFeedItem_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedItem2(::windows_core::IUnknown); impl IXFeedItem2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -12506,25 +10766,9 @@ impl IXFeedItem2 { } } ::windows_core::imp::interface_hierarchy!(IXFeedItem2, ::windows_core::IUnknown, IXFeedItem); -impl ::core::cmp::PartialEq for IXFeedItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedItem2 {} -impl ::core::fmt::Debug for IXFeedItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedItem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedItem2 { type Vtable = IXFeedItem2_Vtbl; } -impl ::core::clone::Clone for IXFeedItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cda2dc7_9013_4522_9970_2a9dd9ead5a3); } @@ -12536,6 +10780,7 @@ pub struct IXFeedItem2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedsEnum(::windows_core::IUnknown); impl IXFeedsEnum { pub unsafe fn Count(&self) -> ::windows_core::Result { @@ -12551,25 +10796,9 @@ impl IXFeedsEnum { } } ::windows_core::imp::interface_hierarchy!(IXFeedsEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedsEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedsEnum {} -impl ::core::fmt::Debug for IXFeedsEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedsEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedsEnum { type Vtable = IXFeedsEnum_Vtbl; } -impl ::core::clone::Clone for IXFeedsEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedsEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc43a9d5_5015_4301_8c96_a47434b4d658); } @@ -12582,6 +10811,7 @@ pub struct IXFeedsEnum_Vtbl { } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXFeedsManager(::windows_core::IUnknown); impl IXFeedsManager { pub unsafe fn RootFolder(&self) -> ::windows_core::Result @@ -12686,25 +10916,9 @@ impl IXFeedsManager { } } ::windows_core::imp::interface_hierarchy!(IXFeedsManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXFeedsManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXFeedsManager {} -impl ::core::fmt::Debug for IXFeedsManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXFeedsManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXFeedsManager { type Vtable = IXFeedsManager_Vtbl; } -impl ::core::clone::Clone for IXFeedsManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXFeedsManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5357e238_fb12_4aca_a930_cab7832b84bf); } @@ -12744,36 +10958,17 @@ pub struct IXFeedsManager_Vtbl { #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _WMPOCXEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _WMPOCXEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_WMPOCXEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _WMPOCXEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _WMPOCXEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _WMPOCXEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_WMPOCXEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _WMPOCXEvents { type Vtable = _WMPOCXEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _WMPOCXEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _WMPOCXEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf52a51_394a_11d3_b153_00c04f79faa6); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs index 503b2bcccb..cae7fd9aa5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs @@ -52,8 +52,8 @@ impl IAVIEditStream_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IAVIFile_Vtbl { DeleteStream: DeleteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAVIPersistFile_Vtbl { } Self { base__: super::super::System::Com::IPersistFile_Vtbl::new::(), Reserved1: Reserved1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -233,8 +233,8 @@ impl IAVIStream_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IAVIStreaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -302,7 +302,7 @@ impl IGetFrame_Vtbl { SetFormat: SetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index 7ab4078703..a225185b34 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -1470,6 +1470,7 @@ where } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAVIEditStream(::windows_core::IUnknown); impl IAVIEditStream { pub unsafe fn Cut(&self, plstart: *mut i32, pllength: *mut i32, ppresult: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -1495,25 +1496,9 @@ impl IAVIEditStream { } } ::windows_core::imp::interface_hierarchy!(IAVIEditStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAVIEditStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAVIEditStream {} -impl ::core::fmt::Debug for IAVIEditStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAVIEditStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAVIEditStream { type Vtable = IAVIEditStream_Vtbl; } -impl ::core::clone::Clone for IAVIEditStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAVIEditStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020024_0000_0000_c000_000000000046); } @@ -1532,6 +1517,7 @@ pub struct IAVIEditStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAVIFile(::windows_core::IUnknown); impl IAVIFile { pub unsafe fn Info(&self, pfi: *mut AVIFILEINFOW, lsize: i32) -> ::windows_core::Result<()> { @@ -1559,25 +1545,9 @@ impl IAVIFile { } } ::windows_core::imp::interface_hierarchy!(IAVIFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAVIFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAVIFile {} -impl ::core::fmt::Debug for IAVIFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAVIFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAVIFile { type Vtable = IAVIFile_Vtbl; } -impl ::core::clone::Clone for IAVIFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAVIFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020020_0000_0000_c000_000000000046); } @@ -1599,6 +1569,7 @@ pub struct IAVIFile_Vtbl { #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAVIPersistFile(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAVIPersistFile { @@ -1651,30 +1622,10 @@ impl IAVIPersistFile { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAVIPersistFile, ::windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistFile); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAVIPersistFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAVIPersistFile {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAVIPersistFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAVIPersistFile").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAVIPersistFile { type Vtable = IAVIPersistFile_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAVIPersistFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAVIPersistFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020025_0000_0000_c000_000000000046); } @@ -1687,6 +1638,7 @@ pub struct IAVIPersistFile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAVIStream(::windows_core::IUnknown); impl IAVIStream { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1734,25 +1686,9 @@ impl IAVIStream { } } ::windows_core::imp::interface_hierarchy!(IAVIStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAVIStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAVIStream {} -impl ::core::fmt::Debug for IAVIStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAVIStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAVIStream { type Vtable = IAVIStream_Vtbl; } -impl ::core::clone::Clone for IAVIStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAVIStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020021_0000_0000_c000_000000000046); } @@ -1783,6 +1719,7 @@ pub struct IAVIStream_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAVIStreaming(::windows_core::IUnknown); impl IAVIStreaming { pub unsafe fn Begin(&self, lstart: i32, lend: i32, lrate: i32) -> ::windows_core::Result<()> { @@ -1793,25 +1730,9 @@ impl IAVIStreaming { } } ::windows_core::imp::interface_hierarchy!(IAVIStreaming, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAVIStreaming { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAVIStreaming {} -impl ::core::fmt::Debug for IAVIStreaming { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAVIStreaming").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAVIStreaming { type Vtable = IAVIStreaming_Vtbl; } -impl ::core::clone::Clone for IAVIStreaming { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAVIStreaming { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020022_0000_0000_c000_000000000046); } @@ -1824,6 +1745,7 @@ pub struct IAVIStreaming_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetFrame(::windows_core::IUnknown); impl IGetFrame { pub unsafe fn GetFrame(&self, lpos: i32) -> *mut ::core::ffi::c_void { @@ -1842,25 +1764,9 @@ impl IGetFrame { } } ::windows_core::imp::interface_hierarchy!(IGetFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetFrame {} -impl ::core::fmt::Debug for IGetFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetFrame { type Vtable = IGetFrame_Vtbl; } -impl ::core::clone::Clone for IGetFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020023_0000_0000_c000_000000000046); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index 698a09d6ea..67f943692c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -44,8 +44,8 @@ impl IPhotoAcquire_Vtbl { EnumResults: EnumResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -82,8 +82,8 @@ impl IPhotoAcquireDeviceSelectionDialog_Vtbl { DoModal: DoModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -204,8 +204,8 @@ impl IPhotoAcquireItem_Vtbl { GetSubItemAt: GetSubItemAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IPhotoAcquireOptionsDialog_Vtbl { SaveData: SaveData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -307,8 +307,8 @@ impl IPhotoAcquirePlugin_Vtbl { DisplayConfigureDialog: DisplayConfigureDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl IPhotoAcquireProgressCB_Vtbl { GetUserInput: GetUserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -619,8 +619,8 @@ impl IPhotoAcquireSettings_Vtbl { GetAcquisitionTime: GetAcquisitionTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IPhotoAcquireSource_Vtbl { BindToObject: BindToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl IPhotoProgressActionCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAction: DoAction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IPhotoProgressDialog_Vtbl { GetUserInput: GetUserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1045,7 +1045,7 @@ impl IUserInputString_Vtbl { GetImage: GetImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs index 3c5b2f9e55..00150e5679 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquire(::windows_core::IUnknown); impl IPhotoAcquire { pub unsafe fn CreatePhotoSource(&self, pszdevice: P0) -> ::windows_core::Result @@ -29,25 +30,9 @@ impl IPhotoAcquire { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquire, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquire { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquire {} -impl ::core::fmt::Debug for IPhotoAcquire { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquire").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquire { type Vtable = IPhotoAcquire_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquire { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquire { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f23353_e31b_4955_a8ad_ca5ebf31e2ce); } @@ -67,6 +52,7 @@ pub struct IPhotoAcquire_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireDeviceSelectionDialog(::windows_core::IUnknown); impl IPhotoAcquireDeviceSelectionDialog { pub unsafe fn SetTitle(&self, psztitle: P0) -> ::windows_core::Result<()> @@ -91,25 +77,9 @@ impl IPhotoAcquireDeviceSelectionDialog { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireDeviceSelectionDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireDeviceSelectionDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireDeviceSelectionDialog {} -impl ::core::fmt::Debug for IPhotoAcquireDeviceSelectionDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireDeviceSelectionDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireDeviceSelectionDialog { type Vtable = IPhotoAcquireDeviceSelectionDialog_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireDeviceSelectionDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireDeviceSelectionDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f28837_55dd_4f37_aaf5_6855a9640467); } @@ -126,6 +96,7 @@ pub struct IPhotoAcquireDeviceSelectionDialog_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireItem(::windows_core::IUnknown); impl IPhotoAcquireItem { pub unsafe fn GetItemName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -174,25 +145,9 @@ impl IPhotoAcquireItem { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireItem {} -impl ::core::fmt::Debug for IPhotoAcquireItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireItem { type Vtable = IPhotoAcquireItem_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f21c97_28bf_4c02_b842_5e4e90139a30); } @@ -227,6 +182,7 @@ pub struct IPhotoAcquireItem_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireOptionsDialog(::windows_core::IUnknown); impl IPhotoAcquireOptionsDialog { pub unsafe fn Initialize(&self, pszregistryroot: P0) -> ::windows_core::Result<()> @@ -260,25 +216,9 @@ impl IPhotoAcquireOptionsDialog { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireOptionsDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireOptionsDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireOptionsDialog {} -impl ::core::fmt::Debug for IPhotoAcquireOptionsDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireOptionsDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireOptionsDialog { type Vtable = IPhotoAcquireOptionsDialog_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireOptionsDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireOptionsDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f2b3ee_bf64_47ee_89f4_4dedd79643f2); } @@ -300,6 +240,7 @@ pub struct IPhotoAcquireOptionsDialog_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquirePlugin(::windows_core::IUnknown); impl IPhotoAcquirePlugin { pub unsafe fn Initialize(&self, pphotoacquiresource: P0, pphotoacquireprogresscb: P1) -> ::windows_core::Result<()> @@ -333,25 +274,9 @@ impl IPhotoAcquirePlugin { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquirePlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquirePlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquirePlugin {} -impl ::core::fmt::Debug for IPhotoAcquirePlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquirePlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquirePlugin { type Vtable = IPhotoAcquirePlugin_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquirePlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquirePlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f2dceb_ecb8_4f77_8e47_e7a987c83dd0); } @@ -372,6 +297,7 @@ pub struct IPhotoAcquirePlugin_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireProgressCB(::windows_core::IUnknown); impl IPhotoAcquireProgressCB { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -480,25 +406,9 @@ impl IPhotoAcquireProgressCB { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireProgressCB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireProgressCB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireProgressCB {} -impl ::core::fmt::Debug for IPhotoAcquireProgressCB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireProgressCB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireProgressCB { type Vtable = IPhotoAcquireProgressCB_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireProgressCB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireProgressCB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f2ce1e_935e_4248_892c_130f32c45cb4); } @@ -540,6 +450,7 @@ pub struct IPhotoAcquireProgressCB_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireSettings(::windows_core::IUnknown); impl IPhotoAcquireSettings { pub unsafe fn InitializeFromRegistry(&self, pszregistrykey: P0) -> ::windows_core::Result<()> @@ -609,25 +520,9 @@ impl IPhotoAcquireSettings { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireSettings {} -impl ::core::fmt::Debug for IPhotoAcquireSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireSettings { type Vtable = IPhotoAcquireSettings_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f2b868_dd67_487c_9553_049240767e91); } @@ -663,6 +558,7 @@ pub struct IPhotoAcquireSettings_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoAcquireSource(::windows_core::IUnknown); impl IPhotoAcquireSource { pub unsafe fn GetFriendlyName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -704,25 +600,9 @@ impl IPhotoAcquireSource { } } ::windows_core::imp::interface_hierarchy!(IPhotoAcquireSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoAcquireSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoAcquireSource {} -impl ::core::fmt::Debug for IPhotoAcquireSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoAcquireSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoAcquireSource { type Vtable = IPhotoAcquireSource_Vtbl; } -impl ::core::clone::Clone for IPhotoAcquireSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoAcquireSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f2c703_8613_4282_a53b_6ec59c5883ac); } @@ -747,6 +627,7 @@ pub struct IPhotoAcquireSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoProgressActionCB(::windows_core::IUnknown); impl IPhotoProgressActionCB { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -759,25 +640,9 @@ impl IPhotoProgressActionCB { } } ::windows_core::imp::interface_hierarchy!(IPhotoProgressActionCB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoProgressActionCB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoProgressActionCB {} -impl ::core::fmt::Debug for IPhotoProgressActionCB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoProgressActionCB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoProgressActionCB { type Vtable = IPhotoProgressActionCB_Vtbl; } -impl ::core::clone::Clone for IPhotoProgressActionCB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoProgressActionCB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f242d0_b206_4e7d_b4c1_4755bcbb9c9f); } @@ -792,6 +657,7 @@ pub struct IPhotoProgressActionCB_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhotoProgressDialog(::windows_core::IUnknown); impl IPhotoProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -911,25 +777,9 @@ impl IPhotoProgressDialog { } } ::windows_core::imp::interface_hierarchy!(IPhotoProgressDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhotoProgressDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhotoProgressDialog {} -impl ::core::fmt::Debug for IPhotoProgressDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhotoProgressDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhotoProgressDialog { type Vtable = IPhotoProgressDialog_Vtbl; } -impl ::core::clone::Clone for IPhotoProgressDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhotoProgressDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f246f9_0750_4f08_9381_2cd8e906a4ae); } @@ -985,6 +835,7 @@ pub struct IPhotoProgressDialog_Vtbl { } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserInputString(::windows_core::IUnknown); impl IUserInputString { pub unsafe fn GetSubmitButtonText(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1030,25 +881,9 @@ impl IUserInputString { } } ::windows_core::imp::interface_hierarchy!(IUserInputString, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserInputString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserInputString {} -impl ::core::fmt::Debug for IUserInputString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserInputString").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserInputString { type Vtable = IUserInputString_Vtbl; } -impl ::core::clone::Clone for IUserInputString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserInputString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00f243a1_205b_45ba_ae26_abbc53aa7a6f); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index d9b01ebb3c..ce0670aed5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -62,8 +62,8 @@ impl IEnumSpObjectTokens_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -156,8 +156,8 @@ impl ISpAudio_Vtbl { SetBufferNotifySize: SetBufferNotifySize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -174,8 +174,8 @@ impl ISpContainerLexicon_Vtbl { } Self { base__: ISpLexicon_Vtbl::new::(), AddLexicon: AddLexicon:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl ISpDataKey_Vtbl { EnumValues: EnumValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl ISpDisplayAlternates_Vtbl { SetFullStopTrailSpace: SetFullStopTrailSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -358,8 +358,8 @@ impl ISpEnginePronunciation_Vtbl { GetPronunciations: GetPronunciations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl ISpEventSink_Vtbl { GetEventInterest: GetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl ISpEventSource_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl ISpEventSource2_Vtbl { } Self { base__: ISpEventSource_Vtbl::new::(), GetEventsEx: GetEventsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl ISpGrammarBuilder_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl ISpGrammarBuilder2_Vtbl { SetPhoneticAlphabet: SetPhoneticAlphabet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl ISpLexicon_Vtbl { GetWords: GetWords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -657,8 +657,8 @@ impl ISpMMSysAudio_Vtbl { SetLineId: SetLineId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl ISpNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl ISpNotifySource_Vtbl { GetNotifyEventHandle: GetNotifyEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -831,8 +831,8 @@ impl ISpNotifyTranslator_Vtbl { GetEventHandle: GetEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -936,8 +936,8 @@ impl ISpObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1019,8 +1019,8 @@ impl ISpObjectTokenCategory_Vtbl { GetDefaultTokenId: GetDefaultTokenId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1040,8 +1040,8 @@ impl ISpObjectTokenInit_Vtbl { } Self { base__: ISpObjectToken_Vtbl::new::(), InitFromDataKey: InitFromDataKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl ISpObjectWithToken_Vtbl { GetObjectToken: GetObjectToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1108,8 +1108,8 @@ impl ISpPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1172,8 +1172,8 @@ impl ISpPhoneticAlphabetConverter_Vtbl { GetMaxConvertLength: GetMaxConvertLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1209,8 +1209,8 @@ impl ISpPhoneticAlphabetSelection_Vtbl { SetAlphabetToUPS: SetAlphabetToUPS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1266,8 +1266,8 @@ impl ISpPhrase_Vtbl { Discard: Discard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1310,8 +1310,8 @@ impl ISpPhrase2_Vtbl { GetAudio: GetAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1341,8 +1341,8 @@ impl ISpPhraseAlt_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl ISpProperties_Vtbl { GetPropertyString: GetPropertyString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1556,8 +1556,8 @@ impl ISpRecoContext_Vtbl { GetContextState: GetContextState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1591,8 +1591,8 @@ impl ISpRecoContext2_Vtbl { SetAdaptationData2: SetAdaptationData2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1740,8 +1740,8 @@ impl ISpRecoGrammar_Vtbl { GetGrammarState: GetGrammarState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1813,8 +1813,8 @@ impl ISpRecoGrammar2_Vtbl { SetSMLSecurityManager: SetSMLSecurityManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1891,8 +1891,8 @@ impl ISpRecoResult_Vtbl { GetRecoContext: GetRecoContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1935,8 +1935,8 @@ impl ISpRecoResult2_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2094,8 +2094,8 @@ impl ISpRecognizer_Vtbl { EmulateRecognition: EmulateRecognition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2132,8 +2132,8 @@ impl ISpRecognizer2_Vtbl { ResetAcousticModelAdaptation: ResetAcousticModelAdaptation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -2153,8 +2153,8 @@ impl ISpRegDataKey_Vtbl { } Self { base__: ISpDataKey_Vtbl::new::(), SetKey: SetKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2184,8 +2184,8 @@ impl ISpResourceManager_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2212,8 +2212,8 @@ impl ISpSerializeState_Vtbl { SetSerializedState: SetSerializedState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2288,8 +2288,8 @@ impl ISpShortcut_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl ISpStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2366,8 +2366,8 @@ impl ISpStreamFormat_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), GetFormat: GetFormat:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2443,8 +2443,8 @@ impl ISpStreamFormatConverter_Vtbl { ScaleBaseToConvertedOffset: ScaleBaseToConvertedOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2477,8 +2477,8 @@ impl ISpTranscript_Vtbl { AppendTranscript: AppendTranscript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2687,8 +2687,8 @@ impl ISpVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2718,8 +2718,8 @@ impl ISpXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2834,8 +2834,8 @@ impl ISpeechAudio_Vtbl { SetState: SetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2911,8 +2911,8 @@ impl ISpeechAudioBufferInfo_Vtbl { SetEventBias: SetEventBias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2988,8 +2988,8 @@ impl ISpeechAudioFormat_Vtbl { SetWaveFormatEx: SetWaveFormatEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl ISpeechAudioStatus_Vtbl { CurrentDevicePosition: CurrentDevicePosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3140,8 +3140,8 @@ impl ISpeechBaseStream_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3177,8 +3177,8 @@ impl ISpeechCustomStream_Vtbl { putref_BaseStream: putref_BaseStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3320,8 +3320,8 @@ impl ISpeechDataKey_Vtbl { EnumValues: EnumValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl ISpeechFileStream_Vtbl { } Self { base__: ISpeechBaseStream_Vtbl::new::(), Open: Open::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3443,8 +3443,8 @@ impl ISpeechGrammarRule_Vtbl { AddState: AddState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3507,8 +3507,8 @@ impl ISpeechGrammarRuleState_Vtbl { AddSpecialTransition: AddSpecialTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3628,8 +3628,8 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { NextState: NextState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3684,8 +3684,8 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3793,8 +3793,8 @@ impl ISpeechGrammarRules_Vtbl { CommitAndSave: CommitAndSave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3878,8 +3878,8 @@ impl ISpeechLexicon_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3960,8 +3960,8 @@ impl ISpeechLexiconPronunciation_Vtbl { Symbolic: Symbolic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4016,8 +4016,8 @@ impl ISpeechLexiconPronunciations_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4085,8 +4085,8 @@ impl ISpeechLexiconWord_Vtbl { Pronunciations: Pronunciations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4141,8 +4141,8 @@ impl ISpeechLexiconWords_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl ISpeechMMSysAudio_Vtbl { MMHandle: MMHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4248,8 +4248,8 @@ impl ISpeechMemoryStream_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4410,8 +4410,8 @@ impl ISpeechObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4493,8 +4493,8 @@ impl ISpeechObjectTokenCategory_Vtbl { EnumerateTokens: EnumerateTokens::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4549,8 +4549,8 @@ impl ISpeechObjectTokens_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4612,8 +4612,8 @@ impl ISpeechPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4688,8 +4688,8 @@ impl ISpeechPhraseAlternate_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4744,8 +4744,8 @@ impl ISpeechPhraseAlternates_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4930,8 +4930,8 @@ impl ISpeechPhraseElement_Vtbl { EngineConfidence: EngineConfidence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4986,8 +4986,8 @@ impl ISpeechPhraseElements_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5211,8 +5211,8 @@ impl ISpeechPhraseInfo_Vtbl { GetDisplayAttributes: GetDisplayAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl ISpeechPhraseInfoBuilder_Vtbl { RestorePhraseFromMemory: RestorePhraseFromMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5297,8 +5297,8 @@ impl ISpeechPhraseProperties_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5431,8 +5431,8 @@ impl ISpeechPhraseProperty_Vtbl { Children: Children::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5500,8 +5500,8 @@ impl ISpeechPhraseReplacement_Vtbl { NumberOfElements: NumberOfElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5556,8 +5556,8 @@ impl ISpeechPhraseReplacements_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5677,8 +5677,8 @@ impl ISpeechPhraseRule_Vtbl { EngineConfidence: EngineConfidence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5733,8 +5733,8 @@ impl ISpeechPhraseRules_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6003,8 +6003,8 @@ impl ISpeechRecoContext_Vtbl { SetAdaptationData: SetAdaptationData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6183,8 +6183,8 @@ impl ISpeechRecoGrammar_Vtbl { IsPronounceable: IsPronounceable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6318,8 +6318,8 @@ impl ISpeechRecoResult_Vtbl { DiscardResultInfo: DiscardResultInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6339,8 +6339,8 @@ impl ISpeechRecoResult2_Vtbl { } Self { base__: ISpeechRecoResult_Vtbl::new::(), SetTextFeedback: SetTextFeedback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6501,8 +6501,8 @@ impl ISpeechRecoResultDispatch_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6570,8 +6570,8 @@ impl ISpeechRecoResultTimes_Vtbl { OffsetFromStart: OffsetFromStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6865,8 +6865,8 @@ impl ISpeechRecognizer_Vtbl { GetProfiles: GetProfiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6960,8 +6960,8 @@ impl ISpeechRecognizerStatus_Vtbl { SupportedLanguages: SupportedLanguages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6998,8 +6998,8 @@ impl ISpeechResourceLoader_Vtbl { ReleaseLocalCopy: ReleaseLocalCopy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7095,8 +7095,8 @@ impl ISpeechTextSelectionInformation_Vtbl { SelectionLength: SelectionLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7450,8 +7450,8 @@ impl ISpeechVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7623,8 +7623,8 @@ impl ISpeechVoiceStatus_Vtbl { VisemeId: VisemeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7780,8 +7780,8 @@ impl ISpeechWaveFormatEx_Vtbl { SetExtraData: SetExtraData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7817,8 +7817,8 @@ impl ISpeechXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7831,8 +7831,8 @@ impl _ISpeechRecoContextEvents_Vtbl { pub const fn new, Impl: _ISpeechRecoContextEvents_Impl, const OFFSET: isize>() -> _ISpeechRecoContextEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7845,7 +7845,7 @@ impl _ISpeechVoiceEvents_Vtbl { pub const fn new, Impl: _ISpeechVoiceEvents_Impl, const OFFSET: isize>() -> _ISpeechVoiceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs index 8994fa54e4..9530d8561c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSpObjectTokens(::windows_core::IUnknown); impl IEnumSpObjectTokens { pub unsafe fn Next(&self, celt: u32, pelt: *mut ::core::option::Option, pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -24,25 +25,9 @@ impl IEnumSpObjectTokens { } } ::windows_core::imp::interface_hierarchy!(IEnumSpObjectTokens, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSpObjectTokens { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSpObjectTokens {} -impl ::core::fmt::Debug for IEnumSpObjectTokens { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSpObjectTokens").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSpObjectTokens { type Vtable = IEnumSpObjectTokens_Vtbl; } -impl ::core::clone::Clone for IEnumSpObjectTokens { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSpObjectTokens { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06b64f9e_7fda_11d2_b4f2_00c04f797396); } @@ -60,6 +45,7 @@ pub struct IEnumSpObjectTokens_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpAudio(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpAudio { @@ -171,30 +157,10 @@ impl ISpAudio { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpAudio, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpAudio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpAudio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpAudio { type Vtable = ISpAudio_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc05c768f_fae8_4ec2_8e07_338321c12452); } @@ -226,6 +192,7 @@ pub struct ISpAudio_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpContainerLexicon(::windows_core::IUnknown); impl ISpContainerLexicon { pub unsafe fn GetPronunciations(&self, pszword: P0, langid: u16, dwflags: u32, pwordpronunciationlist: *mut SPWORDPRONUNCIATIONLIST) -> ::windows_core::Result<()> @@ -263,25 +230,9 @@ impl ISpContainerLexicon { } } ::windows_core::imp::interface_hierarchy!(ISpContainerLexicon, ::windows_core::IUnknown, ISpLexicon); -impl ::core::cmp::PartialEq for ISpContainerLexicon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpContainerLexicon {} -impl ::core::fmt::Debug for ISpContainerLexicon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpContainerLexicon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpContainerLexicon { type Vtable = ISpContainerLexicon_Vtbl; } -impl ::core::clone::Clone for ISpContainerLexicon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpContainerLexicon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8565572f_c094_41cc_b56e_10bd9c3ff044); } @@ -293,6 +244,7 @@ pub struct ISpContainerLexicon_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpDataKey(::windows_core::IUnknown); impl ISpDataKey { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> ::windows_core::Result<()> @@ -369,25 +321,9 @@ impl ISpDataKey { } } ::windows_core::imp::interface_hierarchy!(ISpDataKey, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpDataKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpDataKey {} -impl ::core::fmt::Debug for ISpDataKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpDataKey").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpDataKey { type Vtable = ISpDataKey_Vtbl; } -impl ::core::clone::Clone for ISpDataKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpDataKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14056581_e16c_11d2_bb90_00c04f8ee6c0); } @@ -410,6 +346,7 @@ pub struct ISpDataKey_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpDisplayAlternates(::windows_core::IUnknown); impl ISpDisplayAlternates { pub unsafe fn GetDisplayAlternates(&self, pphrase: *const SPDISPLAYPHRASE, crequestcount: u32, ppcomemphrases: *mut *mut SPDISPLAYPHRASE, pcphrasesreturned: *mut u32) -> ::windows_core::Result<()> { @@ -420,25 +357,9 @@ impl ISpDisplayAlternates { } } ::windows_core::imp::interface_hierarchy!(ISpDisplayAlternates, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpDisplayAlternates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpDisplayAlternates {} -impl ::core::fmt::Debug for ISpDisplayAlternates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpDisplayAlternates").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpDisplayAlternates { type Vtable = ISpDisplayAlternates_Vtbl; } -impl ::core::clone::Clone for ISpDisplayAlternates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpDisplayAlternates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8d7c7e2_0dde_44b7_afe3_b0c991fbeb5e); } @@ -451,6 +372,7 @@ pub struct ISpDisplayAlternates_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpEnginePronunciation(::windows_core::IUnknown); impl ISpEnginePronunciation { pub unsafe fn Normalize(&self, pszword: P0, pszleftcontext: P1, pszrightcontext: P2, langid: u16, pnormalizationlist: *mut SPNORMALIZATIONLIST) -> ::windows_core::Result<()> @@ -471,25 +393,9 @@ impl ISpEnginePronunciation { } } ::windows_core::imp::interface_hierarchy!(ISpEnginePronunciation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpEnginePronunciation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpEnginePronunciation {} -impl ::core::fmt::Debug for ISpEnginePronunciation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpEnginePronunciation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpEnginePronunciation { type Vtable = ISpEnginePronunciation_Vtbl; } -impl ::core::clone::Clone for ISpEnginePronunciation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpEnginePronunciation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc360ce4b_76d1_4214_ad68_52657d5083da); } @@ -502,6 +408,7 @@ pub struct ISpEnginePronunciation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpEventSink(::windows_core::IUnknown); impl ISpEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -514,25 +421,9 @@ impl ISpEventSink { } } ::windows_core::imp::interface_hierarchy!(ISpEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpEventSink {} -impl ::core::fmt::Debug for ISpEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpEventSink { type Vtable = ISpEventSink_Vtbl; } -impl ::core::clone::Clone for ISpEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe7a9cc9_5f9e_11d2_960f_00c04f8ee628); } @@ -548,6 +439,7 @@ pub struct ISpEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpEventSource(::windows_core::IUnknown); impl ISpEventSource { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> ::windows_core::Result<()> @@ -609,25 +501,9 @@ impl ISpEventSource { } } ::windows_core::imp::interface_hierarchy!(ISpEventSource, ::windows_core::IUnknown, ISpNotifySource); -impl ::core::cmp::PartialEq for ISpEventSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpEventSource {} -impl ::core::fmt::Debug for ISpEventSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpEventSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpEventSource { type Vtable = ISpEventSource_Vtbl; } -impl ::core::clone::Clone for ISpEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpEventSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe7a9cce_5f9e_11d2_960f_00c04f8ee628); } @@ -644,6 +520,7 @@ pub struct ISpEventSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpEventSource2(::windows_core::IUnknown); impl ISpEventSource2 { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> ::windows_core::Result<()> @@ -710,25 +587,9 @@ impl ISpEventSource2 { } } ::windows_core::imp::interface_hierarchy!(ISpEventSource2, ::windows_core::IUnknown, ISpNotifySource, ISpEventSource); -impl ::core::cmp::PartialEq for ISpEventSource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpEventSource2 {} -impl ::core::fmt::Debug for ISpEventSource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpEventSource2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpEventSource2 { type Vtable = ISpEventSource2_Vtbl; } -impl ::core::clone::Clone for ISpEventSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpEventSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2373a435_6a4b_429e_a6ac_d4231a61975b); } @@ -743,6 +604,7 @@ pub struct ISpEventSource2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpGrammarBuilder(::windows_core::IUnknown); impl ISpGrammarBuilder { pub unsafe fn ResetGrammar(&self, newlanguage: u16) -> ::windows_core::Result<()> { @@ -803,25 +665,9 @@ impl ISpGrammarBuilder { } } ::windows_core::imp::interface_hierarchy!(ISpGrammarBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpGrammarBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpGrammarBuilder {} -impl ::core::fmt::Debug for ISpGrammarBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpGrammarBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpGrammarBuilder { type Vtable = ISpGrammarBuilder_Vtbl; } -impl ::core::clone::Clone for ISpGrammarBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpGrammarBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8137828f_591a_4a42_be58_49ea7ebaac68); } @@ -849,6 +695,7 @@ pub struct ISpGrammarBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpGrammarBuilder2(::windows_core::IUnknown); impl ISpGrammarBuilder2 { pub unsafe fn AddTextSubset(&self, hfromstate: P0, htostate: P1, psz: P2, ematchmode: SPMATCHINGMODE) -> ::windows_core::Result<()> @@ -864,25 +711,9 @@ impl ISpGrammarBuilder2 { } } ::windows_core::imp::interface_hierarchy!(ISpGrammarBuilder2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpGrammarBuilder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpGrammarBuilder2 {} -impl ::core::fmt::Debug for ISpGrammarBuilder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpGrammarBuilder2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpGrammarBuilder2 { type Vtable = ISpGrammarBuilder2_Vtbl; } -impl ::core::clone::Clone for ISpGrammarBuilder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpGrammarBuilder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ab10026_20cc_4b20_8c22_a49c9ba78f60); } @@ -895,6 +726,7 @@ pub struct ISpGrammarBuilder2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpLexicon(::windows_core::IUnknown); impl ISpLexicon { pub unsafe fn GetPronunciations(&self, pszword: P0, langid: u16, dwflags: u32, pwordpronunciationlist: *mut SPWORDPRONUNCIATIONLIST) -> ::windows_core::Result<()> @@ -926,25 +758,9 @@ impl ISpLexicon { } } ::windows_core::imp::interface_hierarchy!(ISpLexicon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpLexicon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpLexicon {} -impl ::core::fmt::Debug for ISpLexicon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpLexicon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpLexicon { type Vtable = ISpLexicon_Vtbl; } -impl ::core::clone::Clone for ISpLexicon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpLexicon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda41a7c2_5383_4db2_916b_6c1719e3db58); } @@ -962,6 +778,7 @@ pub struct ISpLexicon_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpMMSysAudio(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpMMSysAudio { @@ -1088,30 +905,10 @@ impl ISpMMSysAudio { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpMMSysAudio, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat, ISpAudio); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpMMSysAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpMMSysAudio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpMMSysAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpMMSysAudio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpMMSysAudio { type Vtable = ISpMMSysAudio_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpMMSysAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpMMSysAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15806f6e_1d70_4b48_98e6_3b1a007509ab); } @@ -1128,6 +925,7 @@ pub struct ISpMMSysAudio_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpNotifyCallback(::std::ptr::NonNull<::std::ffi::c_void>); impl ISpNotifyCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1140,25 +938,9 @@ impl ISpNotifyCallback { (::windows_core::Interface::vtable(self).NotifyCallback)(::windows_core::Interface::as_raw(self), wparam.into_param().abi(), lparam.into_param().abi()).ok() } } -impl ::core::cmp::PartialEq for ISpNotifyCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpNotifyCallback {} -impl ::core::fmt::Debug for ISpNotifyCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpNotifyCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpNotifyCallback { type Vtable = ISpNotifyCallback_Vtbl; } -impl ::core::clone::Clone for ISpNotifyCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct ISpNotifyCallback_Vtbl { @@ -1169,6 +951,7 @@ pub struct ISpNotifyCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpNotifySink(::windows_core::IUnknown); impl ISpNotifySink { pub unsafe fn Notify(&self) -> ::windows_core::Result<()> { @@ -1176,25 +959,9 @@ impl ISpNotifySink { } } ::windows_core::imp::interface_hierarchy!(ISpNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpNotifySink {} -impl ::core::fmt::Debug for ISpNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpNotifySink { type Vtable = ISpNotifySink_Vtbl; } -impl ::core::clone::Clone for ISpNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x259684dc_37c3_11d2_9603_00c04f8ee628); } @@ -1206,6 +973,7 @@ pub struct ISpNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpNotifySource(::windows_core::IUnknown); impl ISpNotifySource { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> ::windows_core::Result<()> @@ -1256,25 +1024,9 @@ impl ISpNotifySource { } } ::windows_core::imp::interface_hierarchy!(ISpNotifySource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpNotifySource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpNotifySource {} -impl ::core::fmt::Debug for ISpNotifySource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpNotifySource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpNotifySource { type Vtable = ISpNotifySource_Vtbl; } -impl ::core::clone::Clone for ISpNotifySource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpNotifySource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5eff4aef_8487_11d2_961c_00c04f8ee628); } @@ -1304,6 +1056,7 @@ pub struct ISpNotifySource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpNotifyTranslator(::windows_core::IUnknown); impl ISpNotifyTranslator { pub unsafe fn Notify(&self) -> ::windows_core::Result<()> { @@ -1357,25 +1110,9 @@ impl ISpNotifyTranslator { } } ::windows_core::imp::interface_hierarchy!(ISpNotifyTranslator, ::windows_core::IUnknown, ISpNotifySink); -impl ::core::cmp::PartialEq for ISpNotifyTranslator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpNotifyTranslator {} -impl ::core::fmt::Debug for ISpNotifyTranslator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpNotifyTranslator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpNotifyTranslator { type Vtable = ISpNotifyTranslator_Vtbl; } -impl ::core::clone::Clone for ISpNotifyTranslator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpNotifyTranslator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaca16614_5d3d_11d2_960e_00c04f8ee628); } @@ -1407,6 +1144,7 @@ pub struct ISpNotifyTranslator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpObjectToken(::windows_core::IUnknown); impl ISpObjectToken { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> ::windows_core::Result<()> @@ -1555,25 +1293,9 @@ impl ISpObjectToken { } } ::windows_core::imp::interface_hierarchy!(ISpObjectToken, ::windows_core::IUnknown, ISpDataKey); -impl ::core::cmp::PartialEq for ISpObjectToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpObjectToken {} -impl ::core::fmt::Debug for ISpObjectToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpObjectToken").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpObjectToken { type Vtable = ISpObjectToken_Vtbl; } -impl ::core::clone::Clone for ISpObjectToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpObjectToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14056589_e16c_11d2_bb90_00c04f8ee6c0); } @@ -1609,6 +1331,7 @@ pub struct ISpObjectToken_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpObjectTokenCategory(::windows_core::IUnknown); impl ISpObjectTokenCategory { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> ::windows_core::Result<()> @@ -1720,25 +1443,9 @@ impl ISpObjectTokenCategory { } } ::windows_core::imp::interface_hierarchy!(ISpObjectTokenCategory, ::windows_core::IUnknown, ISpDataKey); -impl ::core::cmp::PartialEq for ISpObjectTokenCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpObjectTokenCategory {} -impl ::core::fmt::Debug for ISpObjectTokenCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpObjectTokenCategory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpObjectTokenCategory { type Vtable = ISpObjectTokenCategory_Vtbl; } -impl ::core::clone::Clone for ISpObjectTokenCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpObjectTokenCategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d3d3845_39af_4850_bbf9_40b49780011d); } @@ -1758,6 +1465,7 @@ pub struct ISpObjectTokenCategory_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpObjectTokenInit(::windows_core::IUnknown); impl ISpObjectTokenInit { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> ::windows_core::Result<()> @@ -1914,25 +1622,9 @@ impl ISpObjectTokenInit { } } ::windows_core::imp::interface_hierarchy!(ISpObjectTokenInit, ::windows_core::IUnknown, ISpDataKey, ISpObjectToken); -impl ::core::cmp::PartialEq for ISpObjectTokenInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpObjectTokenInit {} -impl ::core::fmt::Debug for ISpObjectTokenInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpObjectTokenInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpObjectTokenInit { type Vtable = ISpObjectTokenInit_Vtbl; } -impl ::core::clone::Clone for ISpObjectTokenInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpObjectTokenInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8aab0cf_346f_49d8_9499_c8b03f161d51); } @@ -1944,6 +1636,7 @@ pub struct ISpObjectTokenInit_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpObjectWithToken(::windows_core::IUnknown); impl ISpObjectWithToken { pub unsafe fn SetObjectToken(&self, ptoken: P0) -> ::windows_core::Result<()> @@ -1958,25 +1651,9 @@ impl ISpObjectWithToken { } } ::windows_core::imp::interface_hierarchy!(ISpObjectWithToken, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpObjectWithToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpObjectWithToken {} -impl ::core::fmt::Debug for ISpObjectWithToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpObjectWithToken").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpObjectWithToken { type Vtable = ISpObjectWithToken_Vtbl; } -impl ::core::clone::Clone for ISpObjectWithToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpObjectWithToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b559f40_e952_11d2_bb91_00c04f8ee6c0); } @@ -1989,6 +1666,7 @@ pub struct ISpObjectWithToken_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhoneConverter(::windows_core::IUnknown); impl ISpPhoneConverter { pub unsafe fn SetObjectToken(&self, ptoken: P0) -> ::windows_core::Result<()> @@ -2013,25 +1691,9 @@ impl ISpPhoneConverter { } } ::windows_core::imp::interface_hierarchy!(ISpPhoneConverter, ::windows_core::IUnknown, ISpObjectWithToken); -impl ::core::cmp::PartialEq for ISpPhoneConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhoneConverter {} -impl ::core::fmt::Debug for ISpPhoneConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhoneConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhoneConverter { type Vtable = ISpPhoneConverter_Vtbl; } -impl ::core::clone::Clone for ISpPhoneConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhoneConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8445c581_0cac_4a38_abfe_9b2ce2826455); } @@ -2044,6 +1706,7 @@ pub struct ISpPhoneConverter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhoneticAlphabetConverter(::windows_core::IUnknown); impl ISpPhoneticAlphabetConverter { pub unsafe fn GetLangId(&self) -> ::windows_core::Result { @@ -2070,25 +1733,9 @@ impl ISpPhoneticAlphabetConverter { } } ::windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetConverter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpPhoneticAlphabetConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhoneticAlphabetConverter {} -impl ::core::fmt::Debug for ISpPhoneticAlphabetConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhoneticAlphabetConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhoneticAlphabetConverter { type Vtable = ISpPhoneticAlphabetConverter_Vtbl; } -impl ::core::clone::Clone for ISpPhoneticAlphabetConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhoneticAlphabetConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x133adcd4_19b4_4020_9fdc_842e78253b17); } @@ -2107,6 +1754,7 @@ pub struct ISpPhoneticAlphabetConverter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhoneticAlphabetSelection(::windows_core::IUnknown); impl ISpPhoneticAlphabetSelection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2125,25 +1773,9 @@ impl ISpPhoneticAlphabetSelection { } } ::windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetSelection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpPhoneticAlphabetSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhoneticAlphabetSelection {} -impl ::core::fmt::Debug for ISpPhoneticAlphabetSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhoneticAlphabetSelection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhoneticAlphabetSelection { type Vtable = ISpPhoneticAlphabetSelection_Vtbl; } -impl ::core::clone::Clone for ISpPhoneticAlphabetSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhoneticAlphabetSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2745efd_42ce_48ca_81f1_a96e02538a90); } @@ -2162,6 +1794,7 @@ pub struct ISpPhoneticAlphabetSelection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhrase(::windows_core::IUnknown); impl ISpPhrase { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2187,25 +1820,9 @@ impl ISpPhrase { } } ::windows_core::imp::interface_hierarchy!(ISpPhrase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpPhrase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhrase {} -impl ::core::fmt::Debug for ISpPhrase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhrase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhrase { type Vtable = ISpPhrase_Vtbl; } -impl ::core::clone::Clone for ISpPhrase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhrase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a5c0354_b621_4b5a_8791_d306ed379e53); } @@ -2226,6 +1843,7 @@ pub struct ISpPhrase_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhrase2(::windows_core::IUnknown); impl ISpPhrase2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2263,25 +1881,9 @@ impl ISpPhrase2 { } } ::windows_core::imp::interface_hierarchy!(ISpPhrase2, ::windows_core::IUnknown, ISpPhrase); -impl ::core::cmp::PartialEq for ISpPhrase2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhrase2 {} -impl ::core::fmt::Debug for ISpPhrase2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhrase2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhrase2 { type Vtable = ISpPhrase2_Vtbl; } -impl ::core::clone::Clone for ISpPhrase2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhrase2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf264da52_e457_4696_b856_a737b717af79); } @@ -2298,6 +1900,7 @@ pub struct ISpPhrase2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpPhraseAlt(::windows_core::IUnknown); impl ISpPhraseAlt { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2329,25 +1932,9 @@ impl ISpPhraseAlt { } } ::windows_core::imp::interface_hierarchy!(ISpPhraseAlt, ::windows_core::IUnknown, ISpPhrase); -impl ::core::cmp::PartialEq for ISpPhraseAlt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpPhraseAlt {} -impl ::core::fmt::Debug for ISpPhraseAlt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpPhraseAlt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpPhraseAlt { type Vtable = ISpPhraseAlt_Vtbl; } -impl ::core::clone::Clone for ISpPhraseAlt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpPhraseAlt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fcebc98_4e49_4067_9c6c_d86a0e092e3d); } @@ -2360,6 +1947,7 @@ pub struct ISpPhraseAlt_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpProperties(::windows_core::IUnknown); impl ISpProperties { pub unsafe fn SetPropertyNum(&self, pname: P0, lvalue: i32) -> ::windows_core::Result<()> @@ -2390,24 +1978,8 @@ impl ISpProperties { } } ::windows_core::imp::interface_hierarchy!(ISpProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpProperties {} -impl ::core::fmt::Debug for ISpProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpProperties").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ISpProperties { - type Vtable = ISpProperties_Vtbl; -} -impl ::core::clone::Clone for ISpProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ISpProperties { + type Vtable = ISpProperties_Vtbl; } unsafe impl ::windows_core::ComInterface for ISpProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b4fb971_b115_4de1_ad97_e482e3bf6ee4); @@ -2423,6 +1995,7 @@ pub struct ISpProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoContext(::windows_core::IUnknown); impl ISpRecoContext { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> ::windows_core::Result<()> @@ -2560,25 +2133,9 @@ impl ISpRecoContext { } } ::windows_core::imp::interface_hierarchy!(ISpRecoContext, ::windows_core::IUnknown, ISpNotifySource, ISpEventSource); -impl ::core::cmp::PartialEq for ISpRecoContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoContext {} -impl ::core::fmt::Debug for ISpRecoContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoContext { type Vtable = ISpRecoContext_Vtbl; } -impl ::core::clone::Clone for ISpRecoContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf740a62f_7c15_489e_8234_940a33d9272d); } @@ -2619,6 +2176,7 @@ pub struct ISpRecoContext_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoContext2(::windows_core::IUnknown); impl ISpRecoContext2 { pub unsafe fn SetGrammarOptions(&self, egrammaroptions: u32) -> ::windows_core::Result<()> { @@ -2636,25 +2194,9 @@ impl ISpRecoContext2 { } } ::windows_core::imp::interface_hierarchy!(ISpRecoContext2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpRecoContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoContext2 {} -impl ::core::fmt::Debug for ISpRecoContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoContext2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoContext2 { type Vtable = ISpRecoContext2_Vtbl; } -impl ::core::clone::Clone for ISpRecoContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbead311c_52ff_437f_9464_6b21054ca73d); } @@ -2668,6 +2210,7 @@ pub struct ISpRecoContext2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoGrammar(::windows_core::IUnknown); impl ISpRecoGrammar { pub unsafe fn ResetGrammar(&self, newlanguage: u16) -> ::windows_core::Result<()> { @@ -2813,25 +2356,9 @@ impl ISpRecoGrammar { } } ::windows_core::imp::interface_hierarchy!(ISpRecoGrammar, ::windows_core::IUnknown, ISpGrammarBuilder); -impl ::core::cmp::PartialEq for ISpRecoGrammar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoGrammar {} -impl ::core::fmt::Debug for ISpRecoGrammar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoGrammar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoGrammar { type Vtable = ISpRecoGrammar_Vtbl; } -impl ::core::clone::Clone for ISpRecoGrammar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoGrammar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2177db29_7f45_47d0_8554_067e91c80502); } @@ -2866,6 +2393,7 @@ pub struct ISpRecoGrammar_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoGrammar2(::windows_core::IUnknown); impl ISpRecoGrammar2 { pub unsafe fn GetRules(&self, ppcomemrules: *mut *mut SPRULE, punumrules: *mut u32) -> ::windows_core::Result<()> { @@ -2919,25 +2447,9 @@ impl ISpRecoGrammar2 { } } ::windows_core::imp::interface_hierarchy!(ISpRecoGrammar2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpRecoGrammar2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoGrammar2 {} -impl ::core::fmt::Debug for ISpRecoGrammar2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoGrammar2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoGrammar2 { type Vtable = ISpRecoGrammar2_Vtbl; } -impl ::core::clone::Clone for ISpRecoGrammar2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoGrammar2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b37bc9e_9ed6_44a3_93d3_18f022b79ec3); } @@ -2962,6 +2474,7 @@ pub struct ISpRecoGrammar2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoResult(::windows_core::IUnknown); impl ISpRecoResult { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3016,25 +2529,9 @@ impl ISpRecoResult { } } ::windows_core::imp::interface_hierarchy!(ISpRecoResult, ::windows_core::IUnknown, ISpPhrase); -impl ::core::cmp::PartialEq for ISpRecoResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoResult {} -impl ::core::fmt::Debug for ISpRecoResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoResult { type Vtable = ISpRecoResult_Vtbl; } -impl ::core::clone::Clone for ISpRecoResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20b053be_e235_43cd_9a2a_8d17a48b7842); } @@ -3061,6 +2558,7 @@ pub struct ISpRecoResult_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecoResult2(::windows_core::IUnknown); impl ISpRecoResult2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3137,25 +2635,9 @@ impl ISpRecoResult2 { } } ::windows_core::imp::interface_hierarchy!(ISpRecoResult2, ::windows_core::IUnknown, ISpPhrase, ISpRecoResult); -impl ::core::cmp::PartialEq for ISpRecoResult2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecoResult2 {} -impl ::core::fmt::Debug for ISpRecoResult2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecoResult2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecoResult2 { type Vtable = ISpRecoResult2_Vtbl; } -impl ::core::clone::Clone for ISpRecoResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecoResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27cac6c4_88f2_41f2_8817_0c95e59f1e6e); } @@ -3172,6 +2654,7 @@ pub struct ISpRecoResult2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecognizer(::windows_core::IUnknown); impl ISpRecognizer { pub unsafe fn SetPropertyNum(&self, pname: P0, lvalue: i32) -> ::windows_core::Result<()> @@ -3286,25 +2769,9 @@ impl ISpRecognizer { } } ::windows_core::imp::interface_hierarchy!(ISpRecognizer, ::windows_core::IUnknown, ISpProperties); -impl ::core::cmp::PartialEq for ISpRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecognizer {} -impl ::core::fmt::Debug for ISpRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecognizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecognizer { type Vtable = ISpRecognizer_Vtbl; } -impl ::core::clone::Clone for ISpRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2b5f241_daa0_4507_9e16_5a1eaa2b7a5c); } @@ -3346,6 +2813,7 @@ pub struct ISpRecognizer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRecognizer2(::windows_core::IUnknown); impl ISpRecognizer2 { pub unsafe fn EmulateRecognitionEx(&self, pphrase: P0, dwcompareflags: u32) -> ::windows_core::Result<()> @@ -3368,25 +2836,9 @@ impl ISpRecognizer2 { } } ::windows_core::imp::interface_hierarchy!(ISpRecognizer2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpRecognizer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRecognizer2 {} -impl ::core::fmt::Debug for ISpRecognizer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRecognizer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRecognizer2 { type Vtable = ISpRecognizer2_Vtbl; } -impl ::core::clone::Clone for ISpRecognizer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRecognizer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fc6d974_c81e_4098_93c5_0147f61ed4d3); } @@ -3403,6 +2855,7 @@ pub struct ISpRecognizer2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpRegDataKey(::windows_core::IUnknown); impl ISpRegDataKey { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> ::windows_core::Result<()> @@ -3488,25 +2941,9 @@ impl ISpRegDataKey { } } ::windows_core::imp::interface_hierarchy!(ISpRegDataKey, ::windows_core::IUnknown, ISpDataKey); -impl ::core::cmp::PartialEq for ISpRegDataKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpRegDataKey {} -impl ::core::fmt::Debug for ISpRegDataKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpRegDataKey").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpRegDataKey { type Vtable = ISpRegDataKey_Vtbl; } -impl ::core::clone::Clone for ISpRegDataKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpRegDataKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92a66e2b_c830_4149_83df_6fc2ba1e7a5b); } @@ -3522,6 +2959,7 @@ pub struct ISpRegDataKey_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpResourceManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpResourceManager { @@ -3548,30 +2986,10 @@ impl ISpResourceManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpResourceManager, ::windows_core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpResourceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpResourceManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpResourceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpResourceManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpResourceManager { type Vtable = ISpResourceManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpResourceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93384e18_5014_43d5_adbb_a78e055926bd); } @@ -3588,6 +3006,7 @@ pub struct ISpResourceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpSerializeState(::windows_core::IUnknown); impl ISpSerializeState { pub unsafe fn GetSerializedState(&self, ppbdata: *mut *mut u8, pulsize: *mut u32, dwreserved: u32) -> ::windows_core::Result<()> { @@ -3598,25 +3017,9 @@ impl ISpSerializeState { } } ::windows_core::imp::interface_hierarchy!(ISpSerializeState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpSerializeState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpSerializeState {} -impl ::core::fmt::Debug for ISpSerializeState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpSerializeState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpSerializeState { type Vtable = ISpSerializeState_Vtbl; } -impl ::core::clone::Clone for ISpSerializeState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpSerializeState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21b501a0_0ec7_46c9_92c3_a2bc784c54b9); } @@ -3629,6 +3032,7 @@ pub struct ISpSerializeState_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpShortcut(::windows_core::IUnknown); impl ISpShortcut { pub unsafe fn AddShortcut(&self, pszdisplay: P0, langid: u16, pszspoken: P1, shtype: SPSHORTCUTTYPE) -> ::windows_core::Result<()> @@ -3666,25 +3070,9 @@ impl ISpShortcut { } } ::windows_core::imp::interface_hierarchy!(ISpShortcut, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpShortcut { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpShortcut {} -impl ::core::fmt::Debug for ISpShortcut { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpShortcut").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpShortcut { type Vtable = ISpShortcut_Vtbl; } -impl ::core::clone::Clone for ISpShortcut { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpShortcut { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3df681e2_ea56_11d9_8bde_f66bad1e3f3a); } @@ -3704,6 +3092,7 @@ pub struct ISpShortcut_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpStream { @@ -3801,30 +3190,10 @@ impl ISpStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpStream, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpStream { type Vtable = ISpStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12e3cca9_7518_44c5_a5e7_ba5a79cb929e); } @@ -3850,6 +3219,7 @@ pub struct ISpStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpStreamFormat(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpStreamFormat { @@ -3922,30 +3292,10 @@ impl ISpStreamFormat { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpStreamFormat, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpStreamFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpStreamFormat {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpStreamFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpStreamFormat").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpStreamFormat { type Vtable = ISpStreamFormat_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpStreamFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpStreamFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbed530be_2606_4f4d_a1c0_54c5cda5566f); } @@ -3962,6 +3312,7 @@ pub struct ISpStreamFormat_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpStreamFormatConverter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpStreamFormatConverter { @@ -4066,30 +3417,10 @@ impl ISpStreamFormatConverter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpStreamFormatConverter, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpStreamFormatConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpStreamFormatConverter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpStreamFormatConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpStreamFormatConverter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpStreamFormatConverter { type Vtable = ISpStreamFormatConverter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpStreamFormatConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpStreamFormatConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x678a932c_ea71_4446_9b41_78fda6280a29); } @@ -4116,6 +3447,7 @@ pub struct ISpStreamFormatConverter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpTranscript(::windows_core::IUnknown); impl ISpTranscript { pub unsafe fn GetTranscript(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4130,25 +3462,9 @@ impl ISpTranscript { } } ::windows_core::imp::interface_hierarchy!(ISpTranscript, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpTranscript { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpTranscript {} -impl ::core::fmt::Debug for ISpTranscript { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpTranscript").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpTranscript { type Vtable = ISpTranscript_Vtbl; } -impl ::core::clone::Clone for ISpTranscript { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpTranscript { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10f63bce_201a_11d3_ac70_00c04f8ee6c0); } @@ -4161,6 +3477,7 @@ pub struct ISpTranscript_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpVoice(::windows_core::IUnknown); impl ISpVoice { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> ::windows_core::Result<()> @@ -4336,25 +3653,9 @@ impl ISpVoice { } } ::windows_core::imp::interface_hierarchy!(ISpVoice, ::windows_core::IUnknown, ISpNotifySource, ISpEventSource); -impl ::core::cmp::PartialEq for ISpVoice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpVoice {} -impl ::core::fmt::Debug for ISpVoice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpVoice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpVoice { type Vtable = ISpVoice_Vtbl; } -impl ::core::clone::Clone for ISpVoice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpVoice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c44df74_72b9_4992_a1ec_ef996e0422d4); } @@ -4408,6 +3709,7 @@ pub struct ISpVoice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_Speech\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpXMLRecoResult(::windows_core::IUnknown); impl ISpXMLRecoResult { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4468,25 +3770,9 @@ impl ISpXMLRecoResult { } } ::windows_core::imp::interface_hierarchy!(ISpXMLRecoResult, ::windows_core::IUnknown, ISpPhrase, ISpRecoResult); -impl ::core::cmp::PartialEq for ISpXMLRecoResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpXMLRecoResult {} -impl ::core::fmt::Debug for ISpXMLRecoResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpXMLRecoResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpXMLRecoResult { type Vtable = ISpXMLRecoResult_Vtbl; } -impl ::core::clone::Clone for ISpXMLRecoResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpXMLRecoResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae39362b_45a8_4074_9b9e_ccf49aa2d0b6); } @@ -4500,6 +3786,7 @@ pub struct ISpXMLRecoResult_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechAudio(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudio { @@ -4577,30 +3864,10 @@ impl ISpeechAudio { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechAudio, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechAudio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechAudio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechAudio { type Vtable = ISpeechAudio_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcff8e175_019e_11d3_a08e_00c04f8ef9b5); } @@ -4631,6 +3898,7 @@ pub struct ISpeechAudio_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechAudioBufferInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioBufferInfo { @@ -4659,30 +3927,10 @@ impl ISpeechAudioBufferInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechAudioBufferInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechAudioBufferInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechAudioBufferInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechAudioBufferInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechAudioBufferInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechAudioBufferInfo { type Vtable = ISpeechAudioBufferInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechAudioBufferInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechAudioBufferInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11b103d8_1142_4edf_a093_82fb3915f8cc); } @@ -4701,6 +3949,7 @@ pub struct ISpeechAudioBufferInfo_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechAudioFormat(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioFormat { @@ -4739,30 +3988,10 @@ impl ISpeechAudioFormat { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechAudioFormat, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechAudioFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechAudioFormat {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechAudioFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechAudioFormat").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechAudioFormat { type Vtable = ISpeechAudioFormat_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechAudioFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechAudioFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6e9c590_3e18_40e3_8299_061f98bde7c7); } @@ -4787,6 +4016,7 @@ pub struct ISpeechAudioFormat_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechAudioStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechAudioStatus { @@ -4818,30 +4048,10 @@ impl ISpeechAudioStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechAudioStatus, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechAudioStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechAudioStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechAudioStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechAudioStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechAudioStatus { type Vtable = ISpeechAudioStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechAudioStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechAudioStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc62d9c91_7458_47f6_862d_1ef86fb0b278); } @@ -4865,6 +4075,7 @@ pub struct ISpeechAudioStatus_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechBaseStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechBaseStream { @@ -4903,30 +4114,10 @@ impl ISpeechBaseStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechBaseStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechBaseStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechBaseStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechBaseStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechBaseStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechBaseStream { type Vtable = ISpeechBaseStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechBaseStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechBaseStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6450336f_7d49_4ced_8097_49d6dee37294); } @@ -4959,6 +4150,7 @@ pub struct ISpeechBaseStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechCustomStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechCustomStream { @@ -5007,28 +4199,8 @@ impl ISpeechCustomStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechCustomStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechCustomStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechCustomStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechCustomStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechCustomStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for ISpeechCustomStream { - type Vtable = ISpeechCustomStream_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechCustomStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ISpeechCustomStream { + type Vtable = ISpeechCustomStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechCustomStream { @@ -5045,6 +4217,7 @@ pub struct ISpeechCustomStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechDataKey(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechDataKey { @@ -5134,30 +4307,10 @@ impl ISpeechDataKey { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechDataKey, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechDataKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechDataKey {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechDataKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechDataKey").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechDataKey { type Vtable = ISpeechDataKey_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechDataKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechDataKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce17c09b_4efa_44d5_a4c9_59d9585ab0cd); } @@ -5194,6 +4347,7 @@ pub struct ISpeechDataKey_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechFileStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechFileStream { @@ -5244,30 +4398,10 @@ impl ISpeechFileStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechFileStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechFileStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechFileStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechFileStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechFileStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechFileStream { type Vtable = ISpeechFileStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechFileStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechFileStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf67f125_ab39_4e93_b4a2_cc2e66e182a7); } @@ -5285,6 +4419,7 @@ pub struct ISpeechFileStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechGrammarRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRule { @@ -5326,30 +4461,10 @@ impl ISpeechGrammarRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechGrammarRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechGrammarRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechGrammarRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechGrammarRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechGrammarRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechGrammarRule { type Vtable = ISpeechGrammarRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechGrammarRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechGrammarRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafe719cf_5dd1_44f2_999c_7a399f1cfccc); } @@ -5375,6 +4490,7 @@ pub struct ISpeechGrammarRule_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechGrammarRuleState(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleState { @@ -5424,30 +4540,10 @@ impl ISpeechGrammarRuleState { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleState, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechGrammarRuleState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechGrammarRuleState {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechGrammarRuleState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechGrammarRuleState").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechGrammarRuleState { type Vtable = ISpeechGrammarRuleState_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechGrammarRuleState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechGrammarRuleState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4286f2c_ee67_45ae_b928_28d695362eda); } @@ -5480,6 +4576,7 @@ pub struct ISpeechGrammarRuleState_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechGrammarRuleStateTransition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransition { @@ -5527,30 +4624,10 @@ impl ISpeechGrammarRuleStateTransition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransition, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechGrammarRuleStateTransition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechGrammarRuleStateTransition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechGrammarRuleStateTransition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechGrammarRuleStateTransition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechGrammarRuleStateTransition { type Vtable = ISpeechGrammarRuleStateTransition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechGrammarRuleStateTransition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechGrammarRuleStateTransition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafd1db1_41d1_4a06_9863_e2e81da17a9a); } @@ -5583,6 +4660,7 @@ pub struct ISpeechGrammarRuleStateTransition_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechGrammarRuleStateTransitions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRuleStateTransitions { @@ -5604,30 +4682,10 @@ impl ISpeechGrammarRuleStateTransitions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransitions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechGrammarRuleStateTransitions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechGrammarRuleStateTransitions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechGrammarRuleStateTransitions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechGrammarRuleStateTransitions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechGrammarRuleStateTransitions { type Vtable = ISpeechGrammarRuleStateTransitions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechGrammarRuleStateTransitions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechGrammarRuleStateTransitions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeabce657_75bc_44a2_aa7f_c56476742963); } @@ -5646,6 +4704,7 @@ pub struct ISpeechGrammarRuleStateTransitions_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechGrammarRules(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechGrammarRules { @@ -5696,30 +4755,10 @@ impl ISpeechGrammarRules { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechGrammarRules, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechGrammarRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechGrammarRules {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechGrammarRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechGrammarRules").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechGrammarRules { type Vtable = ISpeechGrammarRules_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechGrammarRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechGrammarRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ffa3b44_fc2d_40d1_8afc_32911c7f1ad1); } @@ -5755,6 +4794,7 @@ pub struct ISpeechGrammarRules_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechLexicon(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexicon { @@ -5815,30 +4855,10 @@ impl ISpeechLexicon { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechLexicon, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechLexicon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechLexicon {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechLexicon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechLexicon").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechLexicon { type Vtable = ISpeechLexicon_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechLexicon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechLexicon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3da7627a_c7ae_4b23_8708_638c50362c25); } @@ -5874,6 +4894,7 @@ pub struct ISpeechLexicon_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechLexiconPronunciation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciation { @@ -5903,30 +4924,10 @@ impl ISpeechLexiconPronunciation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechLexiconPronunciation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechLexiconPronunciation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechLexiconPronunciation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechLexiconPronunciation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechLexiconPronunciation { type Vtable = ISpeechLexiconPronunciation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechLexiconPronunciation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechLexiconPronunciation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95252c5d_9e43_4f4a_9899_48ee73352f9f); } @@ -5947,6 +4948,7 @@ pub struct ISpeechLexiconPronunciation_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechLexiconPronunciations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconPronunciations { @@ -5968,30 +4970,10 @@ impl ISpeechLexiconPronunciations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciations, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechLexiconPronunciations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechLexiconPronunciations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechLexiconPronunciations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechLexiconPronunciations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechLexiconPronunciations { type Vtable = ISpeechLexiconPronunciations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechLexiconPronunciations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechLexiconPronunciations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72829128_5682_4704_a0d4_3e2bb6f2ead3); } @@ -6010,6 +4992,7 @@ pub struct ISpeechLexiconPronunciations_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechLexiconWord(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWord { @@ -6035,30 +5018,10 @@ impl ISpeechLexiconWord { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechLexiconWord, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechLexiconWord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechLexiconWord {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechLexiconWord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechLexiconWord").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechLexiconWord { type Vtable = ISpeechLexiconWord_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechLexiconWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechLexiconWord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e5b933c_c9be_48ed_8842_1ee51bb1d4ff); } @@ -6078,6 +5041,7 @@ pub struct ISpeechLexiconWord_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechLexiconWords(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechLexiconWords { @@ -6099,30 +5063,10 @@ impl ISpeechLexiconWords { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechLexiconWords, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechLexiconWords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechLexiconWords {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechLexiconWords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechLexiconWords").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechLexiconWords { type Vtable = ISpeechLexiconWords_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechLexiconWords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechLexiconWords { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d199862_415e_47d5_ac4f_faa608b424e6); } @@ -6141,6 +5085,7 @@ pub struct ISpeechLexiconWords_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechMMSysAudio(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechMMSysAudio { @@ -6236,30 +5181,10 @@ impl ISpeechMMSysAudio { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechMMSysAudio, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream, ISpeechAudio); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechMMSysAudio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechMMSysAudio {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechMMSysAudio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechMMSysAudio").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechMMSysAudio { type Vtable = ISpeechMMSysAudio_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechMMSysAudio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechMMSysAudio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c76af6d_1fd7_4831_81d1_3b71d5a13c44); } @@ -6277,6 +5202,7 @@ pub struct ISpeechMMSysAudio_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechMemoryStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechMemoryStream { @@ -6326,30 +5252,10 @@ impl ISpeechMemoryStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechMemoryStream, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechMemoryStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechMemoryStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechMemoryStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechMemoryStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechMemoryStream { type Vtable = ISpeechMemoryStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechMemoryStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechMemoryStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeb14b68_808b_4abe_a5ea_b51da7588008); } @@ -6370,6 +5276,7 @@ pub struct ISpeechMemoryStream_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechObjectToken(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectToken { @@ -6475,30 +5382,10 @@ impl ISpeechObjectToken { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechObjectToken, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechObjectToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechObjectToken {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechObjectToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechObjectToken").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechObjectToken { type Vtable = ISpeechObjectToken_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechObjectToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechObjectToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc74a3adc_b727_4500_a84a_b526721c8b8c); } @@ -6545,6 +5432,7 @@ pub struct ISpeechObjectToken_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechObjectTokenCategory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokenCategory { @@ -6591,30 +5479,10 @@ impl ISpeechObjectTokenCategory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechObjectTokenCategory, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechObjectTokenCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechObjectTokenCategory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechObjectTokenCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechObjectTokenCategory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechObjectTokenCategory { type Vtable = ISpeechObjectTokenCategory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechObjectTokenCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechObjectTokenCategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca7eac50_2d01_4145_86d4_5ae7d70f4469); } @@ -6642,6 +5510,7 @@ pub struct ISpeechObjectTokenCategory_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechObjectTokens(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechObjectTokens { @@ -6663,30 +5532,10 @@ impl ISpeechObjectTokens { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechObjectTokens, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechObjectTokens { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechObjectTokens {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechObjectTokens { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechObjectTokens").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechObjectTokens { type Vtable = ISpeechObjectTokens_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechObjectTokens { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechObjectTokens { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9285b776_2e7b_4bc0_b53e_580eb6fa967f); } @@ -6705,6 +5554,7 @@ pub struct ISpeechObjectTokens_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhoneConverter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhoneConverter { @@ -6734,30 +5584,10 @@ impl ISpeechPhoneConverter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhoneConverter, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhoneConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhoneConverter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhoneConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhoneConverter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhoneConverter { type Vtable = ISpeechPhoneConverter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhoneConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhoneConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3e4f353_433f_43d6_89a1_6a62a7054c3d); } @@ -6780,6 +5610,7 @@ pub struct ISpeechPhoneConverter_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseAlternate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseAlternate { @@ -6810,30 +5641,10 @@ impl ISpeechPhraseAlternate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternate, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseAlternate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseAlternate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseAlternate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseAlternate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseAlternate { type Vtable = ISpeechPhraseAlternate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseAlternate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseAlternate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27864a2a_2b9f_4cb8_92d3_0d2722fd1e73); } @@ -6857,6 +5668,7 @@ pub struct ISpeechPhraseAlternate_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseAlternates(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseAlternates { @@ -6878,30 +5690,10 @@ impl ISpeechPhraseAlternates { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternates, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseAlternates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseAlternates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseAlternates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseAlternates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseAlternates { type Vtable = ISpeechPhraseAlternates_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseAlternates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseAlternates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb238b6d5_f276_4c3d_a6c1_2974801c3cc2); } @@ -6920,6 +5712,7 @@ pub struct ISpeechPhraseAlternates_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseElement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElement { @@ -6981,30 +5774,10 @@ impl ISpeechPhraseElement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseElement, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseElement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseElement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseElement { type Vtable = ISpeechPhraseElement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6176f96_e373_4801_b223_3b62c068c0b4); } @@ -7033,6 +5806,7 @@ pub struct ISpeechPhraseElement_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseElements(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseElements { @@ -7054,30 +5828,10 @@ impl ISpeechPhraseElements { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseElements, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseElements {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseElements").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseElements { type Vtable = ISpeechPhraseElements_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0626b328_3478_467d_a0b3_d0853b93dda3); } @@ -7096,6 +5850,7 @@ pub struct ISpeechPhraseElements_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfo { @@ -7195,30 +5950,10 @@ impl ISpeechPhraseInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseInfo { type Vtable = ISpeechPhraseInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x961559cf_4e67_4662_8bf0_d93f1fcd61b3); } @@ -7280,6 +6015,7 @@ pub struct ISpeechPhraseInfo_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseInfoBuilder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseInfoBuilder { @@ -7293,30 +6029,10 @@ impl ISpeechPhraseInfoBuilder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseInfoBuilder, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseInfoBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseInfoBuilder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseInfoBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseInfoBuilder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseInfoBuilder { type Vtable = ISpeechPhraseInfoBuilder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseInfoBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseInfoBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b151836_df3a_4e0a_846c_d2adc9334333); } @@ -7333,6 +6049,7 @@ pub struct ISpeechPhraseInfoBuilder_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperties { @@ -7354,30 +6071,10 @@ impl ISpeechPhraseProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseProperties, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseProperties { type Vtable = ISpeechPhraseProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08166b47_102e_4b23_a599_bdb98dbfd1f4); } @@ -7396,6 +6093,7 @@ pub struct ISpeechPhraseProperties_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseProperty { @@ -7445,30 +6143,10 @@ impl ISpeechPhraseProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseProperty { type Vtable = ISpeechPhraseProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce563d48_961e_4732_a2e1_378a42b430be); } @@ -7499,6 +6177,7 @@ pub struct ISpeechPhraseProperty_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseReplacement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacement { @@ -7520,32 +6199,12 @@ impl ISpeechPhraseReplacement { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacement, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseReplacement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseReplacement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseReplacement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseReplacement").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacement, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseReplacement { type Vtable = ISpeechPhraseReplacement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseReplacement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseReplacement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2890a410_53a7_4fb5_94ec_06d4998e3d02); } @@ -7562,6 +6221,7 @@ pub struct ISpeechPhraseReplacement_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseReplacements(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseReplacements { @@ -7583,30 +6243,10 @@ impl ISpeechPhraseReplacements { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacements, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseReplacements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseReplacements {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseReplacements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseReplacements").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseReplacements { type Vtable = ISpeechPhraseReplacements_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseReplacements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseReplacements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38bc662f_2257_4525_959e_2069d2596c05); } @@ -7625,6 +6265,7 @@ pub struct ISpeechPhraseReplacements_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRule { @@ -7668,30 +6309,10 @@ impl ISpeechPhraseRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseRule { type Vtable = ISpeechPhraseRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7bfe112_a4a0_48d9_b602_c313843f6964); } @@ -7718,6 +6339,7 @@ pub struct ISpeechPhraseRule_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechPhraseRules(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechPhraseRules { @@ -7739,30 +6361,10 @@ impl ISpeechPhraseRules { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechPhraseRules, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechPhraseRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechPhraseRules {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechPhraseRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechPhraseRules").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechPhraseRules { type Vtable = ISpeechPhraseRules_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechPhraseRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechPhraseRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9047d593_01dd_4b72_81a3_e4a0ca69f407); } @@ -7781,6 +6383,7 @@ pub struct ISpeechPhraseRules_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoContext { @@ -7908,30 +6511,10 @@ impl ISpeechRecoContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoContext { type Vtable = ISpeechRecoContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x580aa49d_7e1e_4809_b8e2_57da806104b8); } @@ -7999,6 +6582,7 @@ pub struct ISpeechRecoContext_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoGrammar(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoGrammar { @@ -8111,30 +6695,10 @@ impl ISpeechRecoGrammar { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoGrammar, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoGrammar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoGrammar {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoGrammar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoGrammar").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoGrammar { type Vtable = ISpeechRecoGrammar_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoGrammar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoGrammar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6d6f79f_2158_4e50_b5bc_9a9ccd852a09); } @@ -8190,6 +6754,7 @@ pub struct ISpeechRecoGrammar_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResult { @@ -8254,30 +6819,10 @@ impl ISpeechRecoResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoResult { type Vtable = ISpeechRecoResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed2879cf_ced9_4ee6_a534_de0191d5468d); } @@ -8324,6 +6869,7 @@ pub struct ISpeechRecoResult_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoResult2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResult2 { @@ -8397,30 +6943,10 @@ impl ISpeechRecoResult2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoResult2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoResult2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoResult2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoResult2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoResult2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoResult2 { type Vtable = ISpeechRecoResult2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e0a246d_d3c8_45de_8657_04290c458c3c); } @@ -8437,6 +6963,7 @@ pub struct ISpeechRecoResult2_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoResultDispatch(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResultDispatch { @@ -8519,30 +7046,10 @@ impl ISpeechRecoResultDispatch { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoResultDispatch, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoResultDispatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoResultDispatch {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoResultDispatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoResultDispatch").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoResultDispatch { type Vtable = ISpeechRecoResultDispatch_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoResultDispatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoResultDispatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d60eb64_aced_40a6_bbf3_4e557f71dee2); } @@ -8598,6 +7105,7 @@ pub struct ISpeechRecoResultDispatch_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecoResultTimes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecoResultTimes { @@ -8627,30 +7135,10 @@ impl ISpeechRecoResultTimes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecoResultTimes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecoResultTimes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecoResultTimes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecoResultTimes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecoResultTimes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecoResultTimes { type Vtable = ISpeechRecoResultTimes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecoResultTimes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecoResultTimes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62b3b8fb_f6e7_41be_bdcb_056b1c29efc0); } @@ -8676,6 +7164,7 @@ pub struct ISpeechRecoResultTimes_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecognizer { @@ -8872,30 +7361,10 @@ impl ISpeechRecognizer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecognizer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecognizer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecognizer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecognizer { type Vtable = ISpeechRecognizer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d5f1c0c_bd75_4b08_9478_3b11fea2586c); } @@ -9006,6 +7475,7 @@ pub struct ISpeechRecognizer_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechRecognizerStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechRecognizerStatus { @@ -9043,30 +7513,10 @@ impl ISpeechRecognizerStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechRecognizerStatus, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechRecognizerStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechRecognizerStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechRecognizerStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechRecognizerStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechRecognizerStatus { type Vtable = ISpeechRecognizerStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechRecognizerStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechRecognizerStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbff9e781_53ec_484e_bb8a_0e1b5551e35c); } @@ -9094,6 +7544,7 @@ pub struct ISpeechRecognizerStatus_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechResourceLoader(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechResourceLoader { @@ -9122,30 +7573,10 @@ impl ISpeechResourceLoader { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechResourceLoader, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechResourceLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechResourceLoader {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechResourceLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechResourceLoader").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechResourceLoader { type Vtable = ISpeechResourceLoader_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechResourceLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechResourceLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9ac5783_fcd0_4b21_b119_b4f8da8fd2c3); } @@ -9164,6 +7595,7 @@ pub struct ISpeechResourceLoader_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechTextSelectionInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechTextSelectionInformation { @@ -9199,30 +7631,10 @@ impl ISpeechTextSelectionInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechTextSelectionInformation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechTextSelectionInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechTextSelectionInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechTextSelectionInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechTextSelectionInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechTextSelectionInformation { type Vtable = ISpeechTextSelectionInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechTextSelectionInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechTextSelectionInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b9c7e7a_6eee_4ded_9092_11657279adbe); } @@ -9243,6 +7655,7 @@ pub struct ISpeechTextSelectionInformation_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechVoice(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechVoice { @@ -9431,30 +7844,10 @@ impl ISpeechVoice { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechVoice, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechVoice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechVoice {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechVoice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechVoice").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechVoice { type Vtable = ISpeechVoice_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechVoice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechVoice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x269316d8_57bd_11d2_9eee_00c04f797396); } @@ -9544,6 +7937,7 @@ pub struct ISpeechVoice_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechVoiceStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechVoiceStatus { @@ -9599,30 +7993,10 @@ impl ISpeechVoiceStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechVoiceStatus, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechVoiceStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechVoiceStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechVoiceStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechVoiceStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechVoiceStatus { type Vtable = ISpeechVoiceStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechVoiceStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechVoiceStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8be47b07_57f6_11d2_9eee_00c04f797396); } @@ -9647,6 +8021,7 @@ pub struct ISpeechVoiceStatus_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechWaveFormatEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechWaveFormatEx { @@ -9707,30 +8082,10 @@ impl ISpeechWaveFormatEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechWaveFormatEx, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechWaveFormatEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechWaveFormatEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechWaveFormatEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechWaveFormatEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechWaveFormatEx { type Vtable = ISpeechWaveFormatEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechWaveFormatEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechWaveFormatEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a1ef0d5_1581_4741_88e4_209a49f11a10); } @@ -9763,6 +8118,7 @@ pub struct ISpeechWaveFormatEx_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechXMLRecoResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISpeechXMLRecoResult { @@ -9836,30 +8192,10 @@ impl ISpeechXMLRecoResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISpeechXMLRecoResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISpeechXMLRecoResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISpeechXMLRecoResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISpeechXMLRecoResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechXMLRecoResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISpeechXMLRecoResult { type Vtable = ISpeechXMLRecoResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISpeechXMLRecoResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISpeechXMLRecoResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaec54af_8f85_4924_944d_b79d39d72e19); } @@ -9877,36 +8213,17 @@ pub struct ISpeechXMLRecoResult_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ISpeechRecoContextEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ISpeechRecoContextEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_ISpeechRecoContextEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _ISpeechRecoContextEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _ISpeechRecoContextEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _ISpeechRecoContextEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ISpeechRecoContextEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _ISpeechRecoContextEvents { type Vtable = _ISpeechRecoContextEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _ISpeechRecoContextEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _ISpeechRecoContextEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b8fcb42_0e9d_4f00_a048_7b04d6179d3d); } @@ -9919,36 +8236,17 @@ pub struct _ISpeechRecoContextEvents_Vtbl { #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ISpeechVoiceEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ISpeechVoiceEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_ISpeechVoiceEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _ISpeechVoiceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _ISpeechVoiceEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _ISpeechVoiceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ISpeechVoiceEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _ISpeechVoiceEvents { type Vtable = _ISpeechVoiceEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _ISpeechVoiceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _ISpeechVoiceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa372acd1_3bef_4bbd_8ffb_cb3e2b416af8); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs index 1e46d2a105..96e7a58f73 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs @@ -91,8 +91,8 @@ impl INSNetSourceCreator_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl INSSBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -192,8 +192,8 @@ impl INSSBuffer2_Vtbl { SetSampleProperties: SetSampleProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl INSSBuffer3_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl INSSBuffer4_Vtbl { GetPropertyByIndex: GetPropertyByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -308,8 +308,8 @@ impl IWMAddressAccess_Vtbl { RemoveAccessEntry: RemoveAccessEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IWMAddressAccess2_Vtbl { AddAccessEntryEx: AddAccessEntryEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IWMAuthorizer_Vtbl { GetSharedData: GetSharedData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -451,8 +451,8 @@ impl IWMBackupRestoreProps_Vtbl { RemoveAllProps: RemoveAllProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl IWMBandwidthSharing_Vtbl { SetBandwidth: SetBandwidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl IWMClientConnections_Vtbl { GetClientProperties: GetClientProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IWMClientConnections2_Vtbl { } Self { base__: IWMClientConnections_Vtbl::new::(), GetClientInfo: GetClientInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl IWMCodecInfo_Vtbl { GetCodecFormat: GetCodecFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl IWMCodecInfo2_Vtbl { GetCodecFormatDesc: GetCodecFormatDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -680,8 +680,8 @@ impl IWMCodecInfo3_Vtbl { GetCodecEnumerationSetting: GetCodecEnumerationSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -698,8 +698,8 @@ impl IWMCredentialCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcquireCredentials: AcquireCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IWMDRMEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDRMProperty: GetDRMProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IWMDRMMessageParser_Vtbl { ParseLicenseRequestMsg: ParseLicenseRequestMsg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -814,8 +814,8 @@ impl IWMDRMReader_Vtbl { GetDRMProperty: GetDRMProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IWMDRMReader2_Vtbl { TryNextLicense: TryNextLicense::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -880,8 +880,8 @@ impl IWMDRMReader3_Vtbl { } Self { base__: IWMDRMReader2_Vtbl::new::(), GetInclusionList: GetInclusionList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IWMDRMTranscryptionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTranscryptor: CreateTranscryptor:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IWMDRMTranscryptor_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1003,8 +1003,8 @@ impl IWMDRMTranscryptor2_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IWMDRMWriter_Vtbl { SetDRMAttribute: SetDRMAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1066,8 +1066,8 @@ impl IWMDRMWriter2_Vtbl { } Self { base__: IWMDRMWriter_Vtbl::new::(), SetWMDRMNetEncryption: SetWMDRMNetEncryption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IWMDRMWriter3_Vtbl { } Self { base__: IWMDRMWriter2_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1173,8 +1173,8 @@ impl IWMDeviceRegistration_Vtbl { GetRegisteredDeviceByID: GetRegisteredDeviceByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1200,8 +1200,8 @@ impl IWMGetSecureChannel_Vtbl { GetPeerSecureChannelInterface: GetPeerSecureChannelInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IWMHeaderInfo_Vtbl { RemoveScript: RemoveScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1350,8 +1350,8 @@ impl IWMHeaderInfo2_Vtbl { GetCodecInfo: GetCodecInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IWMHeaderInfo3_Vtbl { AddCodecInfo: AddCodecInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IWMIStreamProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IWMImageInfo_Vtbl { GetImage: GetImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IWMIndexer_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1517,8 +1517,8 @@ impl IWMIndexer2_Vtbl { } Self { base__: IWMIndexer_Vtbl::new::(), Configure: Configure:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1548,8 +1548,8 @@ impl IWMInputMediaProps_Vtbl { GetGroupName: GetGroupName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IWMLanguageList_Vtbl { AddLanguageByRFC1766String: AddLanguageByRFC1766String::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1623,8 +1623,8 @@ impl IWMLicenseBackup_Vtbl { CancelLicenseBackup: CancelLicenseBackup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1651,8 +1651,8 @@ impl IWMLicenseRestore_Vtbl { CancelLicenseRestore: CancelLicenseRestore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1679,8 +1679,8 @@ impl IWMLicenseRevocationAgent_Vtbl { ProcessLRB: ProcessLRB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1723,8 +1723,8 @@ impl IWMMediaProps_Vtbl { SetMediaType: SetMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1758,8 +1758,8 @@ impl IWMMetadataEditor_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IWMMetadataEditor2_Vtbl { } Self { base__: IWMMetadataEditor_Vtbl::new::(), OpenEx: OpenEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1810,8 +1810,8 @@ impl IWMMutualExclusion_Vtbl { SetType: SetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1900,8 +1900,8 @@ impl IWMMutualExclusion2_Vtbl { RemoveStreamForRecord: RemoveStreamForRecord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1931,8 +1931,8 @@ impl IWMOutputMediaProps_Vtbl { GetConnectionName: GetConnectionName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1965,8 +1965,8 @@ impl IWMPacketSize_Vtbl { SetMaxPacketSize: SetMaxPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1999,8 +1999,8 @@ impl IWMPacketSize2_Vtbl { SetMinPacketSize: SetMinPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IWMPlayerHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PreDecode: PreDecode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2041,8 +2041,8 @@ impl IWMPlayerTimestampHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapTimestamp: MapTimestamp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2229,8 +2229,8 @@ impl IWMProfile_Vtbl { CreateNewMutualExclusion: CreateNewMutualExclusion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2253,8 +2253,8 @@ impl IWMProfile2_Vtbl { } Self { base__: IWMProfile_Vtbl::new::(), GetProfileID: GetProfileID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2393,8 +2393,8 @@ impl IWMProfile3_Vtbl { GetExpectedPacketCount: GetExpectedPacketCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2479,8 +2479,8 @@ impl IWMProfileManager_Vtbl { LoadSystemProfile: LoadSystemProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2507,8 +2507,8 @@ impl IWMProfileManager2_Vtbl { SetSystemProfileVersion: SetSystemProfileVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2535,8 +2535,8 @@ impl IWMProfileManagerLanguage_Vtbl { SetUserLanguageID: SetUserLanguageID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2591,8 +2591,8 @@ impl IWMPropertyVault_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2609,8 +2609,8 @@ impl IWMProximityDetection_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDetection: StartDetection:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2724,8 +2724,8 @@ impl IWMReader_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2755,8 +2755,8 @@ impl IWMReaderAccelerator_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2966,8 +2966,8 @@ impl IWMReaderAdvanced_Vtbl { NotifyLateDelivery: NotifyLateDelivery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3106,8 +3106,8 @@ impl IWMReaderAdvanced2_Vtbl { OpenStream: OpenStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3137,8 +3137,8 @@ impl IWMReaderAdvanced3_Vtbl { StartAtPosition: StartAtPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3241,8 +3241,8 @@ impl IWMReaderAdvanced4_Vtbl { GetURL: GetURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3262,8 +3262,8 @@ impl IWMReaderAdvanced5_Vtbl { } Self { base__: IWMReaderAdvanced4_Vtbl::new::(), SetPlayerHook: SetPlayerHook:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl IWMReaderAdvanced6_Vtbl { } Self { base__: IWMReaderAdvanced5_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3311,8 +3311,8 @@ impl IWMReaderAllocatorEx_Vtbl { AllocateForOutputEx: AllocateForOutputEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3329,8 +3329,8 @@ impl IWMReaderCallback_Vtbl { } Self { base__: IWMStatusCallback_Vtbl::new::(), OnSample: OnSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3388,8 +3388,8 @@ impl IWMReaderCallbackAdvanced_Vtbl { AllocateForOutput: AllocateForOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3708,8 +3708,8 @@ impl IWMReaderNetworkConfig_Vtbl { ResetLoggingUrlList: ResetLoggingUrlList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3858,8 +3858,8 @@ impl IWMReaderNetworkConfig2_Vtbl { GetMaxNetPacketSize: GetMaxNetPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3906,8 +3906,8 @@ impl IWMReaderPlaylistBurn_Vtbl { EndPlaylistBurn: EndPlaylistBurn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IWMReaderStreamClock_Vtbl { KillTimer: KillTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3981,8 +3981,8 @@ impl IWMReaderTimecode_Vtbl { GetTimecodeRangeBounds: GetTimecodeRangeBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3999,8 +3999,8 @@ impl IWMReaderTypeNegotiation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TryOutputProps: TryOutputProps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4027,8 +4027,8 @@ impl IWMRegisterCallback_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4196,8 +4196,8 @@ impl IWMRegisteredDevice_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4236,8 +4236,8 @@ impl IWMSBufferAllocator_Vtbl { AllocatePageSizeBuffer: AllocatePageSizeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4348,8 +4348,8 @@ impl IWMSInternalAdminNetSource_Vtbl { IsUsingIE: IsUsingIE::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4393,8 +4393,8 @@ impl IWMSInternalAdminNetSource2_Vtbl { FindProxyForURLEx: FindProxyForURLEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IWMSInternalAdminNetSource3_Vtbl { GetCredentialsEx2: GetCredentialsEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4571,8 +4571,8 @@ impl IWMSecureChannel_Vtbl { WMSC_SetSharedData: WMSC_SetSharedData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4589,8 +4589,8 @@ impl IWMStatusCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatus: OnStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4704,8 +4704,8 @@ impl IWMStreamConfig_Vtbl { SetBufferWindow: SetBufferWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4772,8 +4772,8 @@ impl IWMStreamConfig2_Vtbl { RemoveAllDataUnitExtensions: RemoveAllDataUnitExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4800,8 +4800,8 @@ impl IWMStreamConfig3_Vtbl { SetLanguage: SetLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4835,8 +4835,8 @@ impl IWMStreamList_Vtbl { RemoveStream: RemoveStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4866,8 +4866,8 @@ impl IWMStreamPrioritization_Vtbl { SetPriorityRecords: SetPriorityRecords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5090,8 +5090,8 @@ impl IWMSyncReader_Vtbl { OpenStream: OpenStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5167,8 +5167,8 @@ impl IWMSyncReader2_Vtbl { GetAllocateForStream: GetAllocateForStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5224,8 +5224,8 @@ impl IWMVideoMediaProps_Vtbl { SetQuality: SetQuality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -5258,8 +5258,8 @@ impl IWMWatermarkInfo_Vtbl { GetWatermarkEntry: GetWatermarkEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -5393,8 +5393,8 @@ impl IWMWriter_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5517,8 +5517,8 @@ impl IWMWriterAdvanced_Vtbl { GetSyncTolerance: GetSyncTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5548,8 +5548,8 @@ impl IWMWriterAdvanced2_Vtbl { SetInputSetting: SetInputSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5579,8 +5579,8 @@ impl IWMWriterAdvanced3_Vtbl { SetNonBlocking: SetNonBlocking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5600,8 +5600,8 @@ impl IWMWriterFileSink_Vtbl { } Self { base__: IWMWriterSink_Vtbl::new::(), Open: Open:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5690,8 +5690,8 @@ impl IWMWriterFileSink2_Vtbl { IsClosed: IsClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5781,8 +5781,8 @@ impl IWMWriterFileSink3_Vtbl { CompleteOperations: CompleteOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5866,8 +5866,8 @@ impl IWMWriterNetworkSink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5976,8 +5976,8 @@ impl IWMWriterPostView_Vtbl { GetAllocateForPostView: GetAllocateForPostView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -6004,8 +6004,8 @@ impl IWMWriterPostViewCallback_Vtbl { AllocateForPostView: AllocateForPostView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -6059,8 +6059,8 @@ impl IWMWriterPreprocess_Vtbl { EndPreprocessingPass: EndPreprocessingPass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6097,8 +6097,8 @@ impl IWMWriterPushSink_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6161,7 +6161,7 @@ impl IWMWriterSink_Vtbl { OnEndWriting: OnEndWriting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs index 0d001f7089..e6274d1471 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -92,6 +92,7 @@ where } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INSNetSourceCreator(::windows_core::IUnknown); impl INSNetSourceCreator { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -138,25 +139,9 @@ impl INSNetSourceCreator { } } ::windows_core::imp::interface_hierarchy!(INSNetSourceCreator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INSNetSourceCreator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INSNetSourceCreator {} -impl ::core::fmt::Debug for INSNetSourceCreator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INSNetSourceCreator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INSNetSourceCreator { type Vtable = INSNetSourceCreator_Vtbl; } -impl ::core::clone::Clone for INSNetSourceCreator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INSNetSourceCreator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c0e4080_9081_11d2_beec_0060082f2054); } @@ -178,6 +163,7 @@ pub struct INSNetSourceCreator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INSSBuffer(::windows_core::IUnknown); impl INSSBuffer { pub unsafe fn GetLength(&self) -> ::windows_core::Result { @@ -200,25 +186,9 @@ impl INSSBuffer { } } ::windows_core::imp::interface_hierarchy!(INSSBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INSSBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INSSBuffer {} -impl ::core::fmt::Debug for INSSBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INSSBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INSSBuffer { type Vtable = INSSBuffer_Vtbl; } -impl ::core::clone::Clone for INSSBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INSSBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1cd3524_03d7_11d2_9eed_006097d2d7cf); } @@ -234,6 +204,7 @@ pub struct INSSBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INSSBuffer2(::windows_core::IUnknown); impl INSSBuffer2 { pub unsafe fn GetLength(&self) -> ::windows_core::Result { @@ -263,25 +234,9 @@ impl INSSBuffer2 { } } ::windows_core::imp::interface_hierarchy!(INSSBuffer2, ::windows_core::IUnknown, INSSBuffer); -impl ::core::cmp::PartialEq for INSSBuffer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INSSBuffer2 {} -impl ::core::fmt::Debug for INSSBuffer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INSSBuffer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INSSBuffer2 { type Vtable = INSSBuffer2_Vtbl; } -impl ::core::clone::Clone for INSSBuffer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INSSBuffer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f528693_1035_43fe_b428_757561ad3a68); } @@ -294,6 +249,7 @@ pub struct INSSBuffer2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INSSBuffer3(::windows_core::IUnknown); impl INSSBuffer3 { pub unsafe fn GetLength(&self) -> ::windows_core::Result { @@ -329,25 +285,9 @@ impl INSSBuffer3 { } } ::windows_core::imp::interface_hierarchy!(INSSBuffer3, ::windows_core::IUnknown, INSSBuffer, INSSBuffer2); -impl ::core::cmp::PartialEq for INSSBuffer3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INSSBuffer3 {} -impl ::core::fmt::Debug for INSSBuffer3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INSSBuffer3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INSSBuffer3 { type Vtable = INSSBuffer3_Vtbl; } -impl ::core::clone::Clone for INSSBuffer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INSSBuffer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc87ceaaf_75be_4bc4_84eb_ac2798507672); } @@ -360,6 +300,7 @@ pub struct INSSBuffer3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INSSBuffer4(::windows_core::IUnknown); impl INSSBuffer4 { pub unsafe fn GetLength(&self) -> ::windows_core::Result { @@ -402,25 +343,9 @@ impl INSSBuffer4 { } } ::windows_core::imp::interface_hierarchy!(INSSBuffer4, ::windows_core::IUnknown, INSSBuffer, INSSBuffer2, INSSBuffer3); -impl ::core::cmp::PartialEq for INSSBuffer4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INSSBuffer4 {} -impl ::core::fmt::Debug for INSSBuffer4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INSSBuffer4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INSSBuffer4 { type Vtable = INSSBuffer4_Vtbl; } -impl ::core::clone::Clone for INSSBuffer4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INSSBuffer4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6b8fd5a_32e2_49d4_a910_c26cc85465ed); } @@ -433,6 +358,7 @@ pub struct INSSBuffer4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMAddressAccess(::windows_core::IUnknown); impl IWMAddressAccess { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> ::windows_core::Result { @@ -451,25 +377,9 @@ impl IWMAddressAccess { } } ::windows_core::imp::interface_hierarchy!(IWMAddressAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMAddressAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMAddressAccess {} -impl ::core::fmt::Debug for IWMAddressAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMAddressAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMAddressAccess { type Vtable = IWMAddressAccess_Vtbl; } -impl ::core::clone::Clone for IWMAddressAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMAddressAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb3c6389_1633_4e92_af14_9f3173ba39d0); } @@ -484,6 +394,7 @@ pub struct IWMAddressAccess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMAddressAccess2(::windows_core::IUnknown); impl IWMAddressAccess2 { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> ::windows_core::Result { @@ -512,25 +423,9 @@ impl IWMAddressAccess2 { } } ::windows_core::imp::interface_hierarchy!(IWMAddressAccess2, ::windows_core::IUnknown, IWMAddressAccess); -impl ::core::cmp::PartialEq for IWMAddressAccess2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMAddressAccess2 {} -impl ::core::fmt::Debug for IWMAddressAccess2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMAddressAccess2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMAddressAccess2 { type Vtable = IWMAddressAccess2_Vtbl; } -impl ::core::clone::Clone for IWMAddressAccess2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMAddressAccess2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65a83fc2_3e98_4d4d_81b5_2a742886b33d); } @@ -543,6 +438,7 @@ pub struct IWMAddressAccess2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMAuthorizer(::windows_core::IUnknown); impl IWMAuthorizer { pub unsafe fn GetCertCount(&self) -> ::windows_core::Result { @@ -559,25 +455,9 @@ impl IWMAuthorizer { } } ::windows_core::imp::interface_hierarchy!(IWMAuthorizer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMAuthorizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMAuthorizer {} -impl ::core::fmt::Debug for IWMAuthorizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMAuthorizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMAuthorizer { type Vtable = IWMAuthorizer_Vtbl; } -impl ::core::clone::Clone for IWMAuthorizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMAuthorizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9b67d36_a9ad_4eb4_baef_db284ef5504c); } @@ -591,6 +471,7 @@ pub struct IWMAuthorizer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMBackupRestoreProps(::windows_core::IUnknown); impl IWMBackupRestoreProps { pub unsafe fn GetPropCount(&self) -> ::windows_core::Result { @@ -623,25 +504,9 @@ impl IWMBackupRestoreProps { } } ::windows_core::imp::interface_hierarchy!(IWMBackupRestoreProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMBackupRestoreProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMBackupRestoreProps {} -impl ::core::fmt::Debug for IWMBackupRestoreProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMBackupRestoreProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMBackupRestoreProps { type Vtable = IWMBackupRestoreProps_Vtbl; } -impl ::core::clone::Clone for IWMBackupRestoreProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMBackupRestoreProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c8e0da6_996f_4ff3_a1af_4838f9377e2e); } @@ -658,6 +523,7 @@ pub struct IWMBackupRestoreProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMBandwidthSharing(::windows_core::IUnknown); impl IWMBandwidthSharing { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> ::windows_core::Result<()> { @@ -684,25 +550,9 @@ impl IWMBandwidthSharing { } } ::windows_core::imp::interface_hierarchy!(IWMBandwidthSharing, ::windows_core::IUnknown, IWMStreamList); -impl ::core::cmp::PartialEq for IWMBandwidthSharing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMBandwidthSharing {} -impl ::core::fmt::Debug for IWMBandwidthSharing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMBandwidthSharing").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMBandwidthSharing { type Vtable = IWMBandwidthSharing_Vtbl; } -impl ::core::clone::Clone for IWMBandwidthSharing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMBandwidthSharing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad694af1_f8d9_42f8_bc47_70311b0c4f9e); } @@ -717,6 +567,7 @@ pub struct IWMBandwidthSharing_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMClientConnections(::windows_core::IUnknown); impl IWMClientConnections { pub unsafe fn GetClientCount(&self) -> ::windows_core::Result { @@ -729,25 +580,9 @@ impl IWMClientConnections { } } ::windows_core::imp::interface_hierarchy!(IWMClientConnections, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMClientConnections { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMClientConnections {} -impl ::core::fmt::Debug for IWMClientConnections { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMClientConnections").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMClientConnections { type Vtable = IWMClientConnections_Vtbl; } -impl ::core::clone::Clone for IWMClientConnections { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMClientConnections { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73c66010_a299_41df_b1f0_ccf03b09c1c6); } @@ -760,6 +595,7 @@ pub struct IWMClientConnections_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMClientConnections2(::windows_core::IUnknown); impl IWMClientConnections2 { pub unsafe fn GetClientCount(&self) -> ::windows_core::Result { @@ -775,25 +611,9 @@ impl IWMClientConnections2 { } } ::windows_core::imp::interface_hierarchy!(IWMClientConnections2, ::windows_core::IUnknown, IWMClientConnections); -impl ::core::cmp::PartialEq for IWMClientConnections2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMClientConnections2 {} -impl ::core::fmt::Debug for IWMClientConnections2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMClientConnections2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMClientConnections2 { type Vtable = IWMClientConnections2_Vtbl; } -impl ::core::clone::Clone for IWMClientConnections2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMClientConnections2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4091571e_4701_4593_bb3d_d5f5f0c74246); } @@ -805,6 +625,7 @@ pub struct IWMClientConnections2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecInfo(::windows_core::IUnknown); impl IWMCodecInfo { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -821,25 +642,9 @@ impl IWMCodecInfo { } } ::windows_core::imp::interface_hierarchy!(IWMCodecInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCodecInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecInfo {} -impl ::core::fmt::Debug for IWMCodecInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecInfo { type Vtable = IWMCodecInfo_Vtbl; } -impl ::core::clone::Clone for IWMCodecInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa970f41e_34de_4a98_b3ba_e4b3ca7528f0); } @@ -853,6 +658,7 @@ pub struct IWMCodecInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecInfo2(::windows_core::IUnknown); impl IWMCodecInfo2 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -875,25 +681,9 @@ impl IWMCodecInfo2 { } } ::windows_core::imp::interface_hierarchy!(IWMCodecInfo2, ::windows_core::IUnknown, IWMCodecInfo); -impl ::core::cmp::PartialEq for IWMCodecInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecInfo2 {} -impl ::core::fmt::Debug for IWMCodecInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecInfo2 { type Vtable = IWMCodecInfo2_Vtbl; } -impl ::core::clone::Clone for IWMCodecInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa65e273_b686_4056_91ec_dd768d4df710); } @@ -906,6 +696,7 @@ pub struct IWMCodecInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCodecInfo3(::windows_core::IUnknown); impl IWMCodecInfo3 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -952,25 +743,9 @@ impl IWMCodecInfo3 { } } ::windows_core::imp::interface_hierarchy!(IWMCodecInfo3, ::windows_core::IUnknown, IWMCodecInfo, IWMCodecInfo2); -impl ::core::cmp::PartialEq for IWMCodecInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCodecInfo3 {} -impl ::core::fmt::Debug for IWMCodecInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCodecInfo3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCodecInfo3 { type Vtable = IWMCodecInfo3_Vtbl; } -impl ::core::clone::Clone for IWMCodecInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCodecInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e51f487_4d93_4f98_8ab4_27d0565adc51); } @@ -985,6 +760,7 @@ pub struct IWMCodecInfo3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMCredentialCallback(::windows_core::IUnknown); impl IWMCredentialCallback { pub unsafe fn AcquireCredentials(&self, pwszrealm: P0, pwszsite: P1, pwszuser: &mut [u16], pwszpassword: &mut [u16], hrstatus: ::windows_core::HRESULT, pdwflags: *mut u32) -> ::windows_core::Result<()> @@ -996,25 +772,9 @@ impl IWMCredentialCallback { } } ::windows_core::imp::interface_hierarchy!(IWMCredentialCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMCredentialCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMCredentialCallback {} -impl ::core::fmt::Debug for IWMCredentialCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMCredentialCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMCredentialCallback { type Vtable = IWMCredentialCallback_Vtbl; } -impl ::core::clone::Clone for IWMCredentialCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMCredentialCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x342e0eb7_e651_450c_975b_2ace2c90c48e); } @@ -1026,6 +786,7 @@ pub struct IWMCredentialCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMEditor(::windows_core::IUnknown); impl IWMDRMEditor { pub unsafe fn GetDRMProperty(&self, pwstrname: P0, pdwtype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> ::windows_core::Result<()> @@ -1036,25 +797,9 @@ impl IWMDRMEditor { } } ::windows_core::imp::interface_hierarchy!(IWMDRMEditor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMEditor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMEditor {} -impl ::core::fmt::Debug for IWMDRMEditor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMEditor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMEditor { type Vtable = IWMDRMEditor_Vtbl; } -impl ::core::clone::Clone for IWMDRMEditor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMEditor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff130ebc_a6c3_42a6_b401_c3382c3e08b3); } @@ -1066,6 +811,7 @@ pub struct IWMDRMEditor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMMessageParser(::windows_core::IUnknown); impl IWMDRMMessageParser { pub unsafe fn ParseRegistrationReqMsg(&self, pbregistrationreqmsg: &[u8], ppdevicecert: *mut ::core::option::Option, pdeviceserialnumber: *mut DRM_VAL16) -> ::windows_core::Result<()> { @@ -1076,25 +822,9 @@ impl IWMDRMMessageParser { } } ::windows_core::imp::interface_hierarchy!(IWMDRMMessageParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMMessageParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMMessageParser {} -impl ::core::fmt::Debug for IWMDRMMessageParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMMessageParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMMessageParser { type Vtable = IWMDRMMessageParser_Vtbl; } -impl ::core::clone::Clone for IWMDRMMessageParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMMessageParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa73a0072_25a0_4c99_b4a5_ede8101a6c39); } @@ -1107,6 +837,7 @@ pub struct IWMDRMMessageParser_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMReader(::windows_core::IUnknown); impl IWMDRMReader { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -1141,25 +872,9 @@ impl IWMDRMReader { } } ::windows_core::imp::interface_hierarchy!(IWMDRMReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMReader {} -impl ::core::fmt::Debug for IWMDRMReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMReader { type Vtable = IWMDRMReader_Vtbl; } -impl ::core::clone::Clone for IWMDRMReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2827540_3ee7_432c_b14c_dc17f085d3b3); } @@ -1178,6 +893,7 @@ pub struct IWMDRMReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMReader2(::windows_core::IUnknown); impl IWMDRMReader2 { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -1229,25 +945,9 @@ impl IWMDRMReader2 { } } ::windows_core::imp::interface_hierarchy!(IWMDRMReader2, ::windows_core::IUnknown, IWMDRMReader); -impl ::core::cmp::PartialEq for IWMDRMReader2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMReader2 {} -impl ::core::fmt::Debug for IWMDRMReader2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMReader2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMReader2 { type Vtable = IWMDRMReader2_Vtbl; } -impl ::core::clone::Clone for IWMDRMReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbefe7a75_9f1d_4075_b9d9_a3c37bda49a0); } @@ -1265,6 +965,7 @@ pub struct IWMDRMReader2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMReader3(::windows_core::IUnknown); impl IWMDRMReader3 { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -1319,25 +1020,9 @@ impl IWMDRMReader3 { } } ::windows_core::imp::interface_hierarchy!(IWMDRMReader3, ::windows_core::IUnknown, IWMDRMReader, IWMDRMReader2); -impl ::core::cmp::PartialEq for IWMDRMReader3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMReader3 {} -impl ::core::fmt::Debug for IWMDRMReader3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMReader3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMReader3 { type Vtable = IWMDRMReader3_Vtbl; } -impl ::core::clone::Clone for IWMDRMReader3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMReader3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe08672de_f1e7_4ff4_a0a3_fc4b08e4caf8); } @@ -1349,6 +1034,7 @@ pub struct IWMDRMReader3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMTranscryptionManager(::windows_core::IUnknown); impl IWMDRMTranscryptionManager { pub unsafe fn CreateTranscryptor(&self) -> ::windows_core::Result { @@ -1357,25 +1043,9 @@ impl IWMDRMTranscryptionManager { } } ::windows_core::imp::interface_hierarchy!(IWMDRMTranscryptionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMTranscryptionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMTranscryptionManager {} -impl ::core::fmt::Debug for IWMDRMTranscryptionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMTranscryptionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMTranscryptionManager { type Vtable = IWMDRMTranscryptionManager_Vtbl; } -impl ::core::clone::Clone for IWMDRMTranscryptionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMTranscryptionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1a887b2_a4f0_407a_b02e_efbd23bbecdf); } @@ -1387,6 +1057,7 @@ pub struct IWMDRMTranscryptionManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMTranscryptor(::windows_core::IUnknown); impl IWMDRMTranscryptor { pub unsafe fn Initialize(&self, bstrfilename: P0, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut ::core::option::Option, pcallback: P1, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -1407,25 +1078,9 @@ impl IWMDRMTranscryptor { } } ::windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMTranscryptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMTranscryptor {} -impl ::core::fmt::Debug for IWMDRMTranscryptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMTranscryptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMTranscryptor { type Vtable = IWMDRMTranscryptor_Vtbl; } -impl ::core::clone::Clone for IWMDRMTranscryptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMTranscryptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69059850_6e6f_4bb2_806f_71863ddfc471); } @@ -1440,6 +1095,7 @@ pub struct IWMDRMTranscryptor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMTranscryptor2(::windows_core::IUnknown); impl IWMDRMTranscryptor2 { pub unsafe fn Initialize(&self, bstrfilename: P0, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut ::core::option::Option, pcallback: P1, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -1484,25 +1140,9 @@ impl IWMDRMTranscryptor2 { } } ::windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor2, ::windows_core::IUnknown, IWMDRMTranscryptor); -impl ::core::cmp::PartialEq for IWMDRMTranscryptor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMTranscryptor2 {} -impl ::core::fmt::Debug for IWMDRMTranscryptor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMTranscryptor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMTranscryptor2 { type Vtable = IWMDRMTranscryptor2_Vtbl; } -impl ::core::clone::Clone for IWMDRMTranscryptor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMTranscryptor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0da439f_d331_496a_bece_18e5bac5dd23); } @@ -1523,6 +1163,7 @@ pub struct IWMDRMTranscryptor2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMWriter(::windows_core::IUnknown); impl IWMDRMWriter { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: ::windows_core::PWSTR, pcwchlength: *mut u32) -> ::windows_core::Result<()> { @@ -1542,25 +1183,9 @@ impl IWMDRMWriter { } } ::windows_core::imp::interface_hierarchy!(IWMDRMWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDRMWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMWriter {} -impl ::core::fmt::Debug for IWMDRMWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMWriter { type Vtable = IWMDRMWriter_Vtbl; } -impl ::core::clone::Clone for IWMDRMWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6ea5dd0_12a0_43f4_90ab_a3fd451e6a07); } @@ -1575,6 +1200,7 @@ pub struct IWMDRMWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMWriter2(::windows_core::IUnknown); impl IWMDRMWriter2 { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: ::windows_core::PWSTR, pcwchlength: *mut u32) -> ::windows_core::Result<()> { @@ -1602,25 +1228,9 @@ impl IWMDRMWriter2 { } } ::windows_core::imp::interface_hierarchy!(IWMDRMWriter2, ::windows_core::IUnknown, IWMDRMWriter); -impl ::core::cmp::PartialEq for IWMDRMWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMWriter2 {} -impl ::core::fmt::Debug for IWMDRMWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMWriter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMWriter2 { type Vtable = IWMDRMWriter2_Vtbl; } -impl ::core::clone::Clone for IWMDRMWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38ee7a94_40e2_4e10_aa3f_33fd3210ed5b); } @@ -1635,6 +1245,7 @@ pub struct IWMDRMWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDRMWriter3(::windows_core::IUnknown); impl IWMDRMWriter3 { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: ::windows_core::PWSTR, pcwchlength: *mut u32) -> ::windows_core::Result<()> { @@ -1665,25 +1276,9 @@ impl IWMDRMWriter3 { } } ::windows_core::imp::interface_hierarchy!(IWMDRMWriter3, ::windows_core::IUnknown, IWMDRMWriter, IWMDRMWriter2); -impl ::core::cmp::PartialEq for IWMDRMWriter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDRMWriter3 {} -impl ::core::fmt::Debug for IWMDRMWriter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDRMWriter3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDRMWriter3 { type Vtable = IWMDRMWriter3_Vtbl; } -impl ::core::clone::Clone for IWMDRMWriter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDRMWriter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7184082_a4aa_4dde_ac9c_e75dbd1117ce); } @@ -1695,6 +1290,7 @@ pub struct IWMDRMWriter3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMDeviceRegistration(::windows_core::IUnknown); impl IWMDeviceRegistration { pub unsafe fn RegisterDevice(&self, dwregistertype: u32, pbcertificate: &[u8], serialnumber: DRM_VAL16) -> ::windows_core::Result { @@ -1722,25 +1318,9 @@ impl IWMDeviceRegistration { } } ::windows_core::imp::interface_hierarchy!(IWMDeviceRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMDeviceRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMDeviceRegistration {} -impl ::core::fmt::Debug for IWMDeviceRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMDeviceRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMDeviceRegistration { type Vtable = IWMDeviceRegistration_Vtbl; } -impl ::core::clone::Clone for IWMDeviceRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMDeviceRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6211f03_8d21_4e94_93e6_8510805f2d99); } @@ -1757,6 +1337,7 @@ pub struct IWMDeviceRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMGetSecureChannel(::windows_core::IUnknown); impl IWMGetSecureChannel { pub unsafe fn GetPeerSecureChannelInterface(&self) -> ::windows_core::Result { @@ -1765,25 +1346,9 @@ impl IWMGetSecureChannel { } } ::windows_core::imp::interface_hierarchy!(IWMGetSecureChannel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMGetSecureChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMGetSecureChannel {} -impl ::core::fmt::Debug for IWMGetSecureChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMGetSecureChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMGetSecureChannel { type Vtable = IWMGetSecureChannel_Vtbl; } -impl ::core::clone::Clone for IWMGetSecureChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMGetSecureChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94bc0598_c3d2_11d3_bedf_00c04f612986); } @@ -1795,6 +1360,7 @@ pub struct IWMGetSecureChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMHeaderInfo(::windows_core::IUnknown); impl IWMHeaderInfo { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows_core::Result { @@ -1851,25 +1417,9 @@ impl IWMHeaderInfo { } } ::windows_core::imp::interface_hierarchy!(IWMHeaderInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMHeaderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMHeaderInfo {} -impl ::core::fmt::Debug for IWMHeaderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMHeaderInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMHeaderInfo { type Vtable = IWMHeaderInfo_Vtbl; } -impl ::core::clone::Clone for IWMHeaderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMHeaderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bda_2b2b_11d3_b36b_00c04f6108ff); } @@ -1892,6 +1442,7 @@ pub struct IWMHeaderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMHeaderInfo2(::windows_core::IUnknown); impl IWMHeaderInfo2 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows_core::Result { @@ -1955,25 +1506,9 @@ impl IWMHeaderInfo2 { } } ::windows_core::imp::interface_hierarchy!(IWMHeaderInfo2, ::windows_core::IUnknown, IWMHeaderInfo); -impl ::core::cmp::PartialEq for IWMHeaderInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMHeaderInfo2 {} -impl ::core::fmt::Debug for IWMHeaderInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMHeaderInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMHeaderInfo2 { type Vtable = IWMHeaderInfo2_Vtbl; } -impl ::core::clone::Clone for IWMHeaderInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMHeaderInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15cf9781_454e_482e_b393_85fae487a810); } @@ -1986,6 +1521,7 @@ pub struct IWMHeaderInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMHeaderInfo3(::windows_core::IUnknown); impl IWMHeaderInfo3 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> ::windows_core::Result { @@ -2081,25 +1617,9 @@ impl IWMHeaderInfo3 { } } ::windows_core::imp::interface_hierarchy!(IWMHeaderInfo3, ::windows_core::IUnknown, IWMHeaderInfo, IWMHeaderInfo2); -impl ::core::cmp::PartialEq for IWMHeaderInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMHeaderInfo3 {} -impl ::core::fmt::Debug for IWMHeaderInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMHeaderInfo3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMHeaderInfo3 { type Vtable = IWMHeaderInfo3_Vtbl; } -impl ::core::clone::Clone for IWMHeaderInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMHeaderInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15cc68e3_27cc_4ecd_b222_3f5d02d80bd5); } @@ -2117,6 +1637,7 @@ pub struct IWMHeaderInfo3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMIStreamProps(::windows_core::IUnknown); impl IWMIStreamProps { pub unsafe fn GetProperty(&self, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pdwsize: *mut u32) -> ::windows_core::Result<()> @@ -2127,25 +1648,9 @@ impl IWMIStreamProps { } } ::windows_core::imp::interface_hierarchy!(IWMIStreamProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMIStreamProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMIStreamProps {} -impl ::core::fmt::Debug for IWMIStreamProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMIStreamProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMIStreamProps { type Vtable = IWMIStreamProps_Vtbl; } -impl ::core::clone::Clone for IWMIStreamProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMIStreamProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6816dad3_2b4b_4c8e_8149_874c3483a753); } @@ -2157,6 +1662,7 @@ pub struct IWMIStreamProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMImageInfo(::windows_core::IUnknown); impl IWMImageInfo { pub unsafe fn GetImageCount(&self) -> ::windows_core::Result { @@ -2168,25 +1674,9 @@ impl IWMImageInfo { } } ::windows_core::imp::interface_hierarchy!(IWMImageInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMImageInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMImageInfo {} -impl ::core::fmt::Debug for IWMImageInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMImageInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMImageInfo { type Vtable = IWMImageInfo_Vtbl; } -impl ::core::clone::Clone for IWMImageInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMImageInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f0aa3b6_7267_4d89_88f2_ba915aa5c4c6); } @@ -2199,6 +1689,7 @@ pub struct IWMImageInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMIndexer(::windows_core::IUnknown); impl IWMIndexer { pub unsafe fn StartIndexing(&self, pwszurl: P0, pcallback: P1, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -2213,25 +1704,9 @@ impl IWMIndexer { } } ::windows_core::imp::interface_hierarchy!(IWMIndexer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMIndexer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMIndexer {} -impl ::core::fmt::Debug for IWMIndexer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMIndexer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMIndexer { type Vtable = IWMIndexer_Vtbl; } -impl ::core::clone::Clone for IWMIndexer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMIndexer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d7cdc71_9888_11d3_8edc_00c04f6109cf); } @@ -2244,6 +1719,7 @@ pub struct IWMIndexer_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMIndexer2(::windows_core::IUnknown); impl IWMIndexer2 { pub unsafe fn StartIndexing(&self, pwszurl: P0, pcallback: P1, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -2261,25 +1737,9 @@ impl IWMIndexer2 { } } ::windows_core::imp::interface_hierarchy!(IWMIndexer2, ::windows_core::IUnknown, IWMIndexer); -impl ::core::cmp::PartialEq for IWMIndexer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMIndexer2 {} -impl ::core::fmt::Debug for IWMIndexer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMIndexer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMIndexer2 { type Vtable = IWMIndexer2_Vtbl; } -impl ::core::clone::Clone for IWMIndexer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMIndexer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb70f1e42_6255_4df0_a6b9_02b212d9e2bb); } @@ -2291,6 +1751,7 @@ pub struct IWMIndexer2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMInputMediaProps(::windows_core::IUnknown); impl IWMInputMediaProps { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2315,25 +1776,9 @@ impl IWMInputMediaProps { } } ::windows_core::imp::interface_hierarchy!(IWMInputMediaProps, ::windows_core::IUnknown, IWMMediaProps); -impl ::core::cmp::PartialEq for IWMInputMediaProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMInputMediaProps {} -impl ::core::fmt::Debug for IWMInputMediaProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMInputMediaProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMInputMediaProps { type Vtable = IWMInputMediaProps_Vtbl; } -impl ::core::clone::Clone for IWMInputMediaProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMInputMediaProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd5_2b2b_11d3_b36b_00c04f6108ff); } @@ -2346,6 +1791,7 @@ pub struct IWMInputMediaProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMLanguageList(::windows_core::IUnknown); impl IWMLanguageList { pub unsafe fn GetLanguageCount(&self) -> ::windows_core::Result { @@ -2364,25 +1810,9 @@ impl IWMLanguageList { } } ::windows_core::imp::interface_hierarchy!(IWMLanguageList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMLanguageList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMLanguageList {} -impl ::core::fmt::Debug for IWMLanguageList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMLanguageList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMLanguageList { type Vtable = IWMLanguageList_Vtbl; } -impl ::core::clone::Clone for IWMLanguageList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMLanguageList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf683f00_2d49_4d8e_92b7_fb19f6a0dc57); } @@ -2396,6 +1826,7 @@ pub struct IWMLanguageList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMLicenseBackup(::windows_core::IUnknown); impl IWMLicenseBackup { pub unsafe fn BackupLicenses(&self, dwflags: u32, pcallback: P0) -> ::windows_core::Result<()> @@ -2409,25 +1840,9 @@ impl IWMLicenseBackup { } } ::windows_core::imp::interface_hierarchy!(IWMLicenseBackup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMLicenseBackup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMLicenseBackup {} -impl ::core::fmt::Debug for IWMLicenseBackup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMLicenseBackup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMLicenseBackup { type Vtable = IWMLicenseBackup_Vtbl; } -impl ::core::clone::Clone for IWMLicenseBackup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMLicenseBackup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05e5ac9f_3fb6_4508_bb43_a4067ba1ebe8); } @@ -2440,6 +1855,7 @@ pub struct IWMLicenseBackup_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMLicenseRestore(::windows_core::IUnknown); impl IWMLicenseRestore { pub unsafe fn RestoreLicenses(&self, dwflags: u32, pcallback: P0) -> ::windows_core::Result<()> @@ -2453,25 +1869,9 @@ impl IWMLicenseRestore { } } ::windows_core::imp::interface_hierarchy!(IWMLicenseRestore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMLicenseRestore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMLicenseRestore {} -impl ::core::fmt::Debug for IWMLicenseRestore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMLicenseRestore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMLicenseRestore { type Vtable = IWMLicenseRestore_Vtbl; } -impl ::core::clone::Clone for IWMLicenseRestore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMLicenseRestore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc70b6334_a22e_4efb_a245_15e65a004a13); } @@ -2484,6 +1884,7 @@ pub struct IWMLicenseRestore_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMLicenseRevocationAgent(::windows_core::IUnknown); impl IWMLicenseRevocationAgent { pub unsafe fn GetLRBChallenge(&self, pmachineid: *const u8, dwmachineidlength: u32, pchallenge: *const u8, dwchallengelength: u32, pchallengeoutput: *mut u8, pdwchallengeoutputlength: *mut u32) -> ::windows_core::Result<()> { @@ -2494,25 +1895,9 @@ impl IWMLicenseRevocationAgent { } } ::windows_core::imp::interface_hierarchy!(IWMLicenseRevocationAgent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMLicenseRevocationAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMLicenseRevocationAgent {} -impl ::core::fmt::Debug for IWMLicenseRevocationAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMLicenseRevocationAgent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMLicenseRevocationAgent { type Vtable = IWMLicenseRevocationAgent_Vtbl; } -impl ::core::clone::Clone for IWMLicenseRevocationAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMLicenseRevocationAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6967f2c9_4e26_4b57_8894_799880f7ac7b); } @@ -2525,6 +1910,7 @@ pub struct IWMLicenseRevocationAgent_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMMediaProps(::windows_core::IUnknown); impl IWMMediaProps { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2543,25 +1929,9 @@ impl IWMMediaProps { } } ::windows_core::imp::interface_hierarchy!(IWMMediaProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMMediaProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMMediaProps {} -impl ::core::fmt::Debug for IWMMediaProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMMediaProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMMediaProps { type Vtable = IWMMediaProps_Vtbl; } -impl ::core::clone::Clone for IWMMediaProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMMediaProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bce_2b2b_11d3_b36b_00c04f6108ff); } @@ -2581,6 +1951,7 @@ pub struct IWMMediaProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMMetadataEditor(::windows_core::IUnknown); impl IWMMetadataEditor { pub unsafe fn Open(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -2597,25 +1968,9 @@ impl IWMMetadataEditor { } } ::windows_core::imp::interface_hierarchy!(IWMMetadataEditor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMMetadataEditor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMMetadataEditor {} -impl ::core::fmt::Debug for IWMMetadataEditor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMMetadataEditor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMMetadataEditor { type Vtable = IWMMetadataEditor_Vtbl; } -impl ::core::clone::Clone for IWMMetadataEditor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMMetadataEditor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd9_2b2b_11d3_b36b_00c04f6108ff); } @@ -2629,6 +1984,7 @@ pub struct IWMMetadataEditor_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMMetadataEditor2(::windows_core::IUnknown); impl IWMMetadataEditor2 { pub unsafe fn Open(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -2651,25 +2007,9 @@ impl IWMMetadataEditor2 { } } ::windows_core::imp::interface_hierarchy!(IWMMetadataEditor2, ::windows_core::IUnknown, IWMMetadataEditor); -impl ::core::cmp::PartialEq for IWMMetadataEditor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMMetadataEditor2 {} -impl ::core::fmt::Debug for IWMMetadataEditor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMMetadataEditor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMMetadataEditor2 { type Vtable = IWMMetadataEditor2_Vtbl; } -impl ::core::clone::Clone for IWMMetadataEditor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMMetadataEditor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x203cffe3_2e18_4fdf_b59d_6e71530534cf); } @@ -2681,6 +2021,7 @@ pub struct IWMMetadataEditor2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMMutualExclusion(::windows_core::IUnknown); impl IWMMutualExclusion { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> ::windows_core::Result<()> { @@ -2701,25 +2042,9 @@ impl IWMMutualExclusion { } } ::windows_core::imp::interface_hierarchy!(IWMMutualExclusion, ::windows_core::IUnknown, IWMStreamList); -impl ::core::cmp::PartialEq for IWMMutualExclusion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMMutualExclusion {} -impl ::core::fmt::Debug for IWMMutualExclusion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMMutualExclusion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMMutualExclusion { type Vtable = IWMMutualExclusion_Vtbl; } -impl ::core::clone::Clone for IWMMutualExclusion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMMutualExclusion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bde_2b2b_11d3_b36b_00c04f6108ff); } @@ -2732,6 +2057,7 @@ pub struct IWMMutualExclusion_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMMutualExclusion2(::windows_core::IUnknown); impl IWMMutualExclusion2 { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> ::windows_core::Result<()> { @@ -2789,25 +2115,9 @@ impl IWMMutualExclusion2 { } } ::windows_core::imp::interface_hierarchy!(IWMMutualExclusion2, ::windows_core::IUnknown, IWMStreamList, IWMMutualExclusion); -impl ::core::cmp::PartialEq for IWMMutualExclusion2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMMutualExclusion2 {} -impl ::core::fmt::Debug for IWMMutualExclusion2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMMutualExclusion2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMMutualExclusion2 { type Vtable = IWMMutualExclusion2_Vtbl; } -impl ::core::clone::Clone for IWMMutualExclusion2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMMutualExclusion2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0302b57d_89d1_4ba2_85c9_166f2c53eb91); } @@ -2828,6 +2138,7 @@ pub struct IWMMutualExclusion2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMOutputMediaProps(::windows_core::IUnknown); impl IWMOutputMediaProps { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2852,25 +2163,9 @@ impl IWMOutputMediaProps { } } ::windows_core::imp::interface_hierarchy!(IWMOutputMediaProps, ::windows_core::IUnknown, IWMMediaProps); -impl ::core::cmp::PartialEq for IWMOutputMediaProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMOutputMediaProps {} -impl ::core::fmt::Debug for IWMOutputMediaProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMOutputMediaProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMOutputMediaProps { type Vtable = IWMOutputMediaProps_Vtbl; } -impl ::core::clone::Clone for IWMOutputMediaProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMOutputMediaProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd7_2b2b_11d3_b36b_00c04f6108ff); } @@ -2883,6 +2178,7 @@ pub struct IWMOutputMediaProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPacketSize(::windows_core::IUnknown); impl IWMPacketSize { pub unsafe fn GetMaxPacketSize(&self) -> ::windows_core::Result { @@ -2894,25 +2190,9 @@ impl IWMPacketSize { } } ::windows_core::imp::interface_hierarchy!(IWMPacketSize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPacketSize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPacketSize {} -impl ::core::fmt::Debug for IWMPacketSize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPacketSize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPacketSize { type Vtable = IWMPacketSize_Vtbl; } -impl ::core::clone::Clone for IWMPacketSize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPacketSize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdfb97ab_188f_40b3_b643_5b7903975c59); } @@ -2925,6 +2205,7 @@ pub struct IWMPacketSize_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPacketSize2(::windows_core::IUnknown); impl IWMPacketSize2 { pub unsafe fn GetMaxPacketSize(&self) -> ::windows_core::Result { @@ -2943,25 +2224,9 @@ impl IWMPacketSize2 { } } ::windows_core::imp::interface_hierarchy!(IWMPacketSize2, ::windows_core::IUnknown, IWMPacketSize); -impl ::core::cmp::PartialEq for IWMPacketSize2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPacketSize2 {} -impl ::core::fmt::Debug for IWMPacketSize2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPacketSize2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPacketSize2 { type Vtable = IWMPacketSize2_Vtbl; } -impl ::core::clone::Clone for IWMPacketSize2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPacketSize2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bfc2b9e_b646_4233_a877_1c6a079669dc); } @@ -2974,32 +2239,17 @@ pub struct IWMPacketSize2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPlayerHook(::windows_core::IUnknown); impl IWMPlayerHook { - pub unsafe fn PreDecode(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).PreDecode)(::windows_core::Interface::as_raw(self)).ok() - } -} -::windows_core::imp::interface_hierarchy!(IWMPlayerHook, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPlayerHook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPlayerHook {} -impl ::core::fmt::Debug for IWMPlayerHook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPlayerHook").field(&self.0).finish() + pub unsafe fn PreDecode(&self) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).PreDecode)(::windows_core::Interface::as_raw(self)).ok() } } +::windows_core::imp::interface_hierarchy!(IWMPlayerHook, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWMPlayerHook { type Vtable = IWMPlayerHook_Vtbl; } -impl ::core::clone::Clone for IWMPlayerHook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPlayerHook { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5b7ca9a_0f1c_4f66_9002_74ec50d8b304); } @@ -3011,6 +2261,7 @@ pub struct IWMPlayerHook_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPlayerTimestampHook(::windows_core::IUnknown); impl IWMPlayerTimestampHook { pub unsafe fn MapTimestamp(&self, rtin: i64) -> ::windows_core::Result { @@ -3019,25 +2270,9 @@ impl IWMPlayerTimestampHook { } } ::windows_core::imp::interface_hierarchy!(IWMPlayerTimestampHook, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPlayerTimestampHook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPlayerTimestampHook {} -impl ::core::fmt::Debug for IWMPlayerTimestampHook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPlayerTimestampHook").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPlayerTimestampHook { type Vtable = IWMPlayerTimestampHook_Vtbl; } -impl ::core::clone::Clone for IWMPlayerTimestampHook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPlayerTimestampHook { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28580dda_d98e_48d0_b7ae_69e473a02825); } @@ -3049,6 +2284,7 @@ pub struct IWMPlayerTimestampHook_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfile(::windows_core::IUnknown); impl IWMProfile { pub unsafe fn GetVersion(&self) -> ::windows_core::Result { @@ -3136,25 +2372,9 @@ impl IWMProfile { } } ::windows_core::imp::interface_hierarchy!(IWMProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfile {} -impl ::core::fmt::Debug for IWMProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfile { type Vtable = IWMProfile_Vtbl; } -impl ::core::clone::Clone for IWMProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bdb_2b2b_11d3_b36b_00c04f6108ff); } @@ -3183,6 +2403,7 @@ pub struct IWMProfile_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfile2(::windows_core::IUnknown); impl IWMProfile2 { pub unsafe fn GetVersion(&self) -> ::windows_core::Result { @@ -3274,25 +2495,9 @@ impl IWMProfile2 { } } ::windows_core::imp::interface_hierarchy!(IWMProfile2, ::windows_core::IUnknown, IWMProfile); -impl ::core::cmp::PartialEq for IWMProfile2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfile2 {} -impl ::core::fmt::Debug for IWMProfile2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfile2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfile2 { type Vtable = IWMProfile2_Vtbl; } -impl ::core::clone::Clone for IWMProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07e72d33_d94e_4be7_8843_60ae5ff7e5f5); } @@ -3304,6 +2509,7 @@ pub struct IWMProfile2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfile3(::windows_core::IUnknown); impl IWMProfile3 { pub unsafe fn GetVersion(&self) -> ::windows_core::Result { @@ -3447,25 +2653,9 @@ impl IWMProfile3 { } } ::windows_core::imp::interface_hierarchy!(IWMProfile3, ::windows_core::IUnknown, IWMProfile, IWMProfile2); -impl ::core::cmp::PartialEq for IWMProfile3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfile3 {} -impl ::core::fmt::Debug for IWMProfile3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfile3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfile3 { type Vtable = IWMProfile3_Vtbl; } -impl ::core::clone::Clone for IWMProfile3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfile3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00ef96cc_a461_4546_8bcd_c9a28f0e06f5); } @@ -3488,6 +2678,7 @@ pub struct IWMProfile3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfileManager(::windows_core::IUnknown); impl IWMProfileManager { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> ::windows_core::Result { @@ -3522,25 +2713,9 @@ impl IWMProfileManager { } } ::windows_core::imp::interface_hierarchy!(IWMProfileManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMProfileManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfileManager {} -impl ::core::fmt::Debug for IWMProfileManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfileManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfileManager { type Vtable = IWMProfileManager_Vtbl; } -impl ::core::clone::Clone for IWMProfileManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfileManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd16679f2_6ca0_472d_8d31_2f5d55aee155); } @@ -3557,6 +2732,7 @@ pub struct IWMProfileManager_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfileManager2(::windows_core::IUnknown); impl IWMProfileManager2 { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> ::windows_core::Result { @@ -3597,25 +2773,9 @@ impl IWMProfileManager2 { } } ::windows_core::imp::interface_hierarchy!(IWMProfileManager2, ::windows_core::IUnknown, IWMProfileManager); -impl ::core::cmp::PartialEq for IWMProfileManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfileManager2 {} -impl ::core::fmt::Debug for IWMProfileManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfileManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfileManager2 { type Vtable = IWMProfileManager2_Vtbl; } -impl ::core::clone::Clone for IWMProfileManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfileManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a924e51_73c1_494d_8019_23d37ed9b89a); } @@ -3628,6 +2788,7 @@ pub struct IWMProfileManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProfileManagerLanguage(::windows_core::IUnknown); impl IWMProfileManagerLanguage { pub unsafe fn GetUserLanguageID(&self, wlangid: *mut u16) -> ::windows_core::Result<()> { @@ -3638,25 +2799,9 @@ impl IWMProfileManagerLanguage { } } ::windows_core::imp::interface_hierarchy!(IWMProfileManagerLanguage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMProfileManagerLanguage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProfileManagerLanguage {} -impl ::core::fmt::Debug for IWMProfileManagerLanguage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProfileManagerLanguage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProfileManagerLanguage { type Vtable = IWMProfileManagerLanguage_Vtbl; } -impl ::core::clone::Clone for IWMProfileManagerLanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProfileManagerLanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba4dcc78_7ee0_4ab8_b27a_dbce8bc51454); } @@ -3669,6 +2814,7 @@ pub struct IWMProfileManagerLanguage_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMPropertyVault(::windows_core::IUnknown); impl IWMPropertyVault { pub unsafe fn GetPropertyCount(&self, pdwcount: *const u32) -> ::windows_core::Result<()> { @@ -3700,25 +2846,9 @@ impl IWMPropertyVault { } } ::windows_core::imp::interface_hierarchy!(IWMPropertyVault, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMPropertyVault { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMPropertyVault {} -impl ::core::fmt::Debug for IWMPropertyVault { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMPropertyVault").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMPropertyVault { type Vtable = IWMPropertyVault_Vtbl; } -impl ::core::clone::Clone for IWMPropertyVault { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMPropertyVault { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72995a79_5090_42a4_9c8c_d9d0b6d34be5); } @@ -3735,6 +2865,7 @@ pub struct IWMPropertyVault_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMProximityDetection(::windows_core::IUnknown); impl IWMProximityDetection { pub unsafe fn StartDetection(&self, pbregistrationmsg: &[u8], pblocaladdress: &[u8], dwextraportsallowed: u32, ppregistrationresponsemsg: *mut ::core::option::Option, pcallback: P0, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -3745,25 +2876,9 @@ impl IWMProximityDetection { } } ::windows_core::imp::interface_hierarchy!(IWMProximityDetection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMProximityDetection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMProximityDetection {} -impl ::core::fmt::Debug for IWMProximityDetection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMProximityDetection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMProximityDetection { type Vtable = IWMProximityDetection_Vtbl; } -impl ::core::clone::Clone for IWMProximityDetection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMProximityDetection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a9fd8ee_b651_4bf0_b849_7d4ece79a2b1); } @@ -3775,6 +2890,7 @@ pub struct IWMProximityDetection_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReader(::windows_core::IUnknown); impl IWMReader { pub unsafe fn Open(&self, pwszurl: P0, pcallback: P1, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -3823,25 +2939,9 @@ impl IWMReader { } } ::windows_core::imp::interface_hierarchy!(IWMReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReader {} -impl ::core::fmt::Debug for IWMReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReader { type Vtable = IWMReader_Vtbl; } -impl ::core::clone::Clone for IWMReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd6_2b2b_11d3_b36b_00c04f6108ff); } @@ -3863,6 +2963,7 @@ pub struct IWMReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAccelerator(::windows_core::IUnknown); impl IWMReaderAccelerator { pub unsafe fn GetCodecInterface(&self, dwoutputnum: u32, riid: *const ::windows_core::GUID, ppvcodecinterface: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3875,25 +2976,9 @@ impl IWMReaderAccelerator { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAccelerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderAccelerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAccelerator {} -impl ::core::fmt::Debug for IWMReaderAccelerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAccelerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAccelerator { type Vtable = IWMReaderAccelerator_Vtbl; } -impl ::core::clone::Clone for IWMReaderAccelerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAccelerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbddc4d08_944d_4d52_a612_46c3fda07dd4); } @@ -3909,6 +2994,7 @@ pub struct IWMReaderAccelerator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced(::windows_core::IUnknown); impl IWMReaderAdvanced { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4026,25 +3112,9 @@ impl IWMReaderAdvanced { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderAdvanced { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced {} -impl ::core::fmt::Debug for IWMReaderAdvanced { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced { type Vtable = IWMReaderAdvanced_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bea_2b2b_11d3_b36b_00c04f6108ff); } @@ -4114,6 +3184,7 @@ pub struct IWMReaderAdvanced_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced2(::windows_core::IUnknown); impl IWMReaderAdvanced2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4301,25 +3372,9 @@ impl IWMReaderAdvanced2 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced2, ::windows_core::IUnknown, IWMReaderAdvanced); -impl ::core::cmp::PartialEq for IWMReaderAdvanced2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced2 {} -impl ::core::fmt::Debug for IWMReaderAdvanced2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced2 { type Vtable = IWMReaderAdvanced2_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae14a945_b90c_4d0d_9127_80d665f7d73e); } @@ -4354,6 +3409,7 @@ pub struct IWMReaderAdvanced2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced3(::windows_core::IUnknown); impl IWMReaderAdvanced3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4547,25 +3603,9 @@ impl IWMReaderAdvanced3 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced3, ::windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2); -impl ::core::cmp::PartialEq for IWMReaderAdvanced3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced3 {} -impl ::core::fmt::Debug for IWMReaderAdvanced3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced3 { type Vtable = IWMReaderAdvanced3_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5dc0674b_f04b_4a4e_9f2a_b1afde2c8100); } @@ -4578,6 +3618,7 @@ pub struct IWMReaderAdvanced3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced4(::windows_core::IUnknown); impl IWMReaderAdvanced4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4811,25 +3852,9 @@ impl IWMReaderAdvanced4 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced4, ::windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3); -impl ::core::cmp::PartialEq for IWMReaderAdvanced4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced4 {} -impl ::core::fmt::Debug for IWMReaderAdvanced4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced4 { type Vtable = IWMReaderAdvanced4_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x945a76a2_12ae_4d48_bd3c_cd1d90399b85); } @@ -4855,6 +3880,7 @@ pub struct IWMReaderAdvanced4_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced5(::windows_core::IUnknown); impl IWMReaderAdvanced5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5094,25 +4120,9 @@ impl IWMReaderAdvanced5 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced5, ::windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4); -impl ::core::cmp::PartialEq for IWMReaderAdvanced5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced5 {} -impl ::core::fmt::Debug for IWMReaderAdvanced5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced5 { type Vtable = IWMReaderAdvanced5_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24c44db0_55d1_49ae_a5cc_f13815e36363); } @@ -5124,6 +4134,7 @@ pub struct IWMReaderAdvanced5_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAdvanced6(::windows_core::IUnknown); impl IWMReaderAdvanced6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5366,25 +4377,9 @@ impl IWMReaderAdvanced6 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAdvanced6, ::windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4, IWMReaderAdvanced5); -impl ::core::cmp::PartialEq for IWMReaderAdvanced6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAdvanced6 {} -impl ::core::fmt::Debug for IWMReaderAdvanced6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAdvanced6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAdvanced6 { type Vtable = IWMReaderAdvanced6_Vtbl; } -impl ::core::clone::Clone for IWMReaderAdvanced6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAdvanced6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18a2e7f8_428f_4acd_8a00_e64639bc93de); } @@ -5396,6 +4391,7 @@ pub struct IWMReaderAdvanced6_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderAllocatorEx(::windows_core::IUnknown); impl IWMReaderAllocatorEx { pub unsafe fn AllocateForStreamEx(&self, wstreamnum: u16, cbbuffer: u32, ppbuffer: *mut ::core::option::Option, dwflags: u32, cnssampletime: u64, cnssampleduration: u64, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5406,25 +4402,9 @@ impl IWMReaderAllocatorEx { } } ::windows_core::imp::interface_hierarchy!(IWMReaderAllocatorEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderAllocatorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderAllocatorEx {} -impl ::core::fmt::Debug for IWMReaderAllocatorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderAllocatorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderAllocatorEx { type Vtable = IWMReaderAllocatorEx_Vtbl; } -impl ::core::clone::Clone for IWMReaderAllocatorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderAllocatorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f762fa7_a22e_428d_93c9_ac82f3aafe5a); } @@ -5437,6 +4417,7 @@ pub struct IWMReaderAllocatorEx_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderCallback(::windows_core::IUnknown); impl IWMReaderCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: ::windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5450,25 +4431,9 @@ impl IWMReaderCallback { } } ::windows_core::imp::interface_hierarchy!(IWMReaderCallback, ::windows_core::IUnknown, IWMStatusCallback); -impl ::core::cmp::PartialEq for IWMReaderCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderCallback {} -impl ::core::fmt::Debug for IWMReaderCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderCallback { type Vtable = IWMReaderCallback_Vtbl; } -impl ::core::clone::Clone for IWMReaderCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd8_2b2b_11d3_b36b_00c04f6108ff); } @@ -5480,6 +4445,7 @@ pub struct IWMReaderCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderCallbackAdvanced(::windows_core::IUnknown); impl IWMReaderCallbackAdvanced { pub unsafe fn OnStreamSample(&self, wstreamnum: u16, cnssampletime: u64, cnssampleduration: u64, dwflags: u32, psample: P0, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -5507,25 +4473,9 @@ impl IWMReaderCallbackAdvanced { } } ::windows_core::imp::interface_hierarchy!(IWMReaderCallbackAdvanced, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderCallbackAdvanced { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderCallbackAdvanced {} -impl ::core::fmt::Debug for IWMReaderCallbackAdvanced { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderCallbackAdvanced").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderCallbackAdvanced { type Vtable = IWMReaderCallbackAdvanced_Vtbl; } -impl ::core::clone::Clone for IWMReaderCallbackAdvanced { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderCallbackAdvanced { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406beb_2b2b_11d3_b36b_00c04f6108ff); } @@ -5545,6 +4495,7 @@ pub struct IWMReaderCallbackAdvanced_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderNetworkConfig(::windows_core::IUnknown); impl IWMReaderNetworkConfig { pub unsafe fn GetBufferingTime(&self) -> ::windows_core::Result { @@ -5735,25 +4686,9 @@ impl IWMReaderNetworkConfig { } } ::windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderNetworkConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderNetworkConfig {} -impl ::core::fmt::Debug for IWMReaderNetworkConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderNetworkConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderNetworkConfig { type Vtable = IWMReaderNetworkConfig_Vtbl; } -impl ::core::clone::Clone for IWMReaderNetworkConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderNetworkConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bec_2b2b_11d3_b36b_00c04f6108ff); } @@ -5833,6 +4768,7 @@ pub struct IWMReaderNetworkConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderNetworkConfig2(::windows_core::IUnknown); impl IWMReaderNetworkConfig2 { pub unsafe fn GetBufferingTime(&self) -> ::windows_core::Result { @@ -6097,25 +5033,9 @@ impl IWMReaderNetworkConfig2 { } } ::windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig2, ::windows_core::IUnknown, IWMReaderNetworkConfig); -impl ::core::cmp::PartialEq for IWMReaderNetworkConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderNetworkConfig2 {} -impl ::core::fmt::Debug for IWMReaderNetworkConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderNetworkConfig2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderNetworkConfig2 { type Vtable = IWMReaderNetworkConfig2_Vtbl; } -impl ::core::clone::Clone for IWMReaderNetworkConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderNetworkConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd979a853_042b_4050_8387_c939db22013f); } @@ -6163,6 +5083,7 @@ pub struct IWMReaderNetworkConfig2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderPlaylistBurn(::windows_core::IUnknown); impl IWMReaderPlaylistBurn { pub unsafe fn InitPlaylistBurn(&self, cfiles: u32, ppwszfilenames: *const ::windows_core::PCWSTR, pcallback: P0, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -6183,25 +5104,9 @@ impl IWMReaderPlaylistBurn { } } ::windows_core::imp::interface_hierarchy!(IWMReaderPlaylistBurn, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderPlaylistBurn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderPlaylistBurn {} -impl ::core::fmt::Debug for IWMReaderPlaylistBurn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderPlaylistBurn").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderPlaylistBurn { type Vtable = IWMReaderPlaylistBurn_Vtbl; } -impl ::core::clone::Clone for IWMReaderPlaylistBurn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderPlaylistBurn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf28c0300_9baa_4477_a846_1744d9cbf533); } @@ -6216,6 +5121,7 @@ pub struct IWMReaderPlaylistBurn_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderStreamClock(::windows_core::IUnknown); impl IWMReaderStreamClock { pub unsafe fn GetTime(&self, pcnsnow: *const u64) -> ::windows_core::Result<()> { @@ -6230,25 +5136,9 @@ impl IWMReaderStreamClock { } } ::windows_core::imp::interface_hierarchy!(IWMReaderStreamClock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderStreamClock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderStreamClock {} -impl ::core::fmt::Debug for IWMReaderStreamClock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderStreamClock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderStreamClock { type Vtable = IWMReaderStreamClock_Vtbl; } -impl ::core::clone::Clone for IWMReaderStreamClock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderStreamClock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bed_2b2b_11d3_b36b_00c04f6108ff); } @@ -6262,6 +5152,7 @@ pub struct IWMReaderStreamClock_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderTimecode(::windows_core::IUnknown); impl IWMReaderTimecode { pub unsafe fn GetTimecodeRangeCount(&self, wstreamnum: u16) -> ::windows_core::Result { @@ -6273,25 +5164,9 @@ impl IWMReaderTimecode { } } ::windows_core::imp::interface_hierarchy!(IWMReaderTimecode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderTimecode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderTimecode {} -impl ::core::fmt::Debug for IWMReaderTimecode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderTimecode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderTimecode { type Vtable = IWMReaderTimecode_Vtbl; } -impl ::core::clone::Clone for IWMReaderTimecode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderTimecode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf369e2f0_e081_4fe6_8450_b810b2f410d1); } @@ -6304,6 +5179,7 @@ pub struct IWMReaderTimecode_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMReaderTypeNegotiation(::windows_core::IUnknown); impl IWMReaderTypeNegotiation { pub unsafe fn TryOutputProps(&self, dwoutputnum: u32, poutput: P0) -> ::windows_core::Result<()> @@ -6314,25 +5190,9 @@ impl IWMReaderTypeNegotiation { } } ::windows_core::imp::interface_hierarchy!(IWMReaderTypeNegotiation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMReaderTypeNegotiation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMReaderTypeNegotiation {} -impl ::core::fmt::Debug for IWMReaderTypeNegotiation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMReaderTypeNegotiation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMReaderTypeNegotiation { type Vtable = IWMReaderTypeNegotiation_Vtbl; } -impl ::core::clone::Clone for IWMReaderTypeNegotiation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMReaderTypeNegotiation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdbe5592_81a1_41ea_93bd_735cad1adc05); } @@ -6344,6 +5204,7 @@ pub struct IWMReaderTypeNegotiation_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMRegisterCallback(::windows_core::IUnknown); impl IWMRegisterCallback { pub unsafe fn Advise(&self, pcallback: P0, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -6360,25 +5221,9 @@ impl IWMRegisterCallback { } } ::windows_core::imp::interface_hierarchy!(IWMRegisterCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMRegisterCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMRegisterCallback {} -impl ::core::fmt::Debug for IWMRegisterCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMRegisterCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMRegisterCallback { type Vtable = IWMRegisterCallback_Vtbl; } -impl ::core::clone::Clone for IWMRegisterCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMRegisterCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf4b1f99_4de2_4e49_a363_252740d99bc1); } @@ -6391,6 +5236,7 @@ pub struct IWMRegisterCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMRegisteredDevice(::windows_core::IUnknown); impl IWMRegisteredDevice { pub unsafe fn GetDeviceSerialNumber(&self) -> ::windows_core::Result { @@ -6465,26 +5311,10 @@ impl IWMRegisteredDevice { (::windows_core::Interface::vtable(self).Close)(::windows_core::Interface::as_raw(self)).ok() } } -::windows_core::imp::interface_hierarchy!(IWMRegisteredDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMRegisteredDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMRegisteredDevice {} -impl ::core::fmt::Debug for IWMRegisteredDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMRegisteredDevice").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IWMRegisteredDevice, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWMRegisteredDevice { type Vtable = IWMRegisteredDevice_Vtbl; } -impl ::core::clone::Clone for IWMRegisteredDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMRegisteredDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4503bec_5508_4148_97ac_bfa75760a70d); } @@ -6524,6 +5354,7 @@ pub struct IWMRegisteredDevice_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSBufferAllocator(::windows_core::IUnknown); impl IWMSBufferAllocator { pub unsafe fn AllocateBuffer(&self, dwmaxbuffersize: u32) -> ::windows_core::Result { @@ -6536,25 +5367,9 @@ impl IWMSBufferAllocator { } } ::windows_core::imp::interface_hierarchy!(IWMSBufferAllocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMSBufferAllocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSBufferAllocator {} -impl ::core::fmt::Debug for IWMSBufferAllocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSBufferAllocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSBufferAllocator { type Vtable = IWMSBufferAllocator_Vtbl; } -impl ::core::clone::Clone for IWMSBufferAllocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSBufferAllocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61103ca4_2033_11d2_9ef1_006097d2d7cf); } @@ -6567,6 +5382,7 @@ pub struct IWMSBufferAllocator_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSInternalAdminNetSource(::windows_core::IUnknown); impl IWMSInternalAdminNetSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6640,25 +5456,9 @@ impl IWMSInternalAdminNetSource { } } ::windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSInternalAdminNetSource {} -impl ::core::fmt::Debug for IWMSInternalAdminNetSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSInternalAdminNetSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSInternalAdminNetSource { type Vtable = IWMSInternalAdminNetSource_Vtbl; } -impl ::core::clone::Clone for IWMSInternalAdminNetSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSInternalAdminNetSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bb23e5f_d127_4afb_8d02_ae5b66d54c78); } @@ -6695,6 +5495,7 @@ pub struct IWMSInternalAdminNetSource_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSInternalAdminNetSource2(::windows_core::IUnknown); impl IWMSInternalAdminNetSource2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6743,25 +5544,9 @@ impl IWMSInternalAdminNetSource2 { } } ::windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSInternalAdminNetSource2 {} -impl ::core::fmt::Debug for IWMSInternalAdminNetSource2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSInternalAdminNetSource2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSInternalAdminNetSource2 { type Vtable = IWMSInternalAdminNetSource2_Vtbl; } -impl ::core::clone::Clone for IWMSInternalAdminNetSource2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSInternalAdminNetSource2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe74d58c3_cf77_4b51_af17_744687c43eae); } @@ -6788,6 +5573,7 @@ pub struct IWMSInternalAdminNetSource2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSInternalAdminNetSource3(::windows_core::IUnknown); impl IWMSInternalAdminNetSource3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6888,25 +5674,9 @@ impl IWMSInternalAdminNetSource3 { } } ::windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource3, ::windows_core::IUnknown, IWMSInternalAdminNetSource2); -impl ::core::cmp::PartialEq for IWMSInternalAdminNetSource3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSInternalAdminNetSource3 {} -impl ::core::fmt::Debug for IWMSInternalAdminNetSource3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSInternalAdminNetSource3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSInternalAdminNetSource3 { type Vtable = IWMSInternalAdminNetSource3_Vtbl; } -impl ::core::clone::Clone for IWMSInternalAdminNetSource3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSInternalAdminNetSource3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b63d08e_4590_44af_9eb3_57ff1e73bf80); } @@ -6936,6 +5706,7 @@ pub struct IWMSInternalAdminNetSource3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSecureChannel(::windows_core::IUnknown); impl IWMSecureChannel { pub unsafe fn GetCertCount(&self) -> ::windows_core::Result { @@ -6994,25 +5765,9 @@ impl IWMSecureChannel { } } ::windows_core::imp::interface_hierarchy!(IWMSecureChannel, ::windows_core::IUnknown, IWMAuthorizer); -impl ::core::cmp::PartialEq for IWMSecureChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSecureChannel {} -impl ::core::fmt::Debug for IWMSecureChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSecureChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSecureChannel { type Vtable = IWMSecureChannel_Vtbl; } -impl ::core::clone::Clone for IWMSecureChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSecureChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2720598a_d0f2_4189_bd10_91c46ef0936f); } @@ -7037,6 +5792,7 @@ pub struct IWMSecureChannel_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStatusCallback(::windows_core::IUnknown); impl IWMStatusCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: ::windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -7044,25 +5800,9 @@ impl IWMStatusCallback { } } ::windows_core::imp::interface_hierarchy!(IWMStatusCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMStatusCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStatusCallback {} -impl ::core::fmt::Debug for IWMStatusCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStatusCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStatusCallback { type Vtable = IWMStatusCallback_Vtbl; } -impl ::core::clone::Clone for IWMStatusCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStatusCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d7cdc70_9888_11d3_8edc_00c04f6109cf); } @@ -7074,6 +5814,7 @@ pub struct IWMStatusCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStreamConfig(::windows_core::IUnknown); impl IWMStreamConfig { pub unsafe fn GetStreamType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7121,25 +5862,9 @@ impl IWMStreamConfig { } } ::windows_core::imp::interface_hierarchy!(IWMStreamConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMStreamConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStreamConfig {} -impl ::core::fmt::Debug for IWMStreamConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStreamConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStreamConfig { type Vtable = IWMStreamConfig_Vtbl; } -impl ::core::clone::Clone for IWMStreamConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStreamConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bdc_2b2b_11d3_b36b_00c04f6108ff); } @@ -7161,6 +5886,7 @@ pub struct IWMStreamConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStreamConfig2(::windows_core::IUnknown); impl IWMStreamConfig2 { pub unsafe fn GetStreamType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7228,25 +5954,9 @@ impl IWMStreamConfig2 { } } ::windows_core::imp::interface_hierarchy!(IWMStreamConfig2, ::windows_core::IUnknown, IWMStreamConfig); -impl ::core::cmp::PartialEq for IWMStreamConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStreamConfig2 {} -impl ::core::fmt::Debug for IWMStreamConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStreamConfig2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStreamConfig2 { type Vtable = IWMStreamConfig2_Vtbl; } -impl ::core::clone::Clone for IWMStreamConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStreamConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7688d8cb_fc0d_43bd_9459_5a8dec200cfa); } @@ -7263,6 +5973,7 @@ pub struct IWMStreamConfig2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStreamConfig3(::windows_core::IUnknown); impl IWMStreamConfig3 { pub unsafe fn GetStreamType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7339,25 +6050,9 @@ impl IWMStreamConfig3 { } } ::windows_core::imp::interface_hierarchy!(IWMStreamConfig3, ::windows_core::IUnknown, IWMStreamConfig, IWMStreamConfig2); -impl ::core::cmp::PartialEq for IWMStreamConfig3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStreamConfig3 {} -impl ::core::fmt::Debug for IWMStreamConfig3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStreamConfig3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStreamConfig3 { type Vtable = IWMStreamConfig3_Vtbl; } -impl ::core::clone::Clone for IWMStreamConfig3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStreamConfig3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb164104_3aa9_45a7_9ac9_4daee131d6e1); } @@ -7370,6 +6065,7 @@ pub struct IWMStreamConfig3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStreamList(::windows_core::IUnknown); impl IWMStreamList { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> ::windows_core::Result<()> { @@ -7383,25 +6079,9 @@ impl IWMStreamList { } } ::windows_core::imp::interface_hierarchy!(IWMStreamList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMStreamList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStreamList {} -impl ::core::fmt::Debug for IWMStreamList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStreamList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStreamList { type Vtable = IWMStreamList_Vtbl; } -impl ::core::clone::Clone for IWMStreamList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStreamList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bdd_2b2b_11d3_b36b_00c04f6108ff); } @@ -7415,6 +6095,7 @@ pub struct IWMStreamList_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMStreamPrioritization(::windows_core::IUnknown); impl IWMStreamPrioritization { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7429,25 +6110,9 @@ impl IWMStreamPrioritization { } } ::windows_core::imp::interface_hierarchy!(IWMStreamPrioritization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMStreamPrioritization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMStreamPrioritization {} -impl ::core::fmt::Debug for IWMStreamPrioritization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMStreamPrioritization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMStreamPrioritization { type Vtable = IWMStreamPrioritization_Vtbl; } -impl ::core::clone::Clone for IWMStreamPrioritization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMStreamPrioritization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c1c6090_f9a8_4748_8ec3_dd1108ba1e77); } @@ -7466,6 +6131,7 @@ pub struct IWMStreamPrioritization_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSyncReader(::windows_core::IUnknown); impl IWMSyncReader { pub unsafe fn Open(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -7567,25 +6233,9 @@ impl IWMSyncReader { } } ::windows_core::imp::interface_hierarchy!(IWMSyncReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMSyncReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSyncReader {} -impl ::core::fmt::Debug for IWMSyncReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSyncReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSyncReader { type Vtable = IWMSyncReader_Vtbl; } -impl ::core::clone::Clone for IWMSyncReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSyncReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9397f121_7705_4dc9_b049_98b698188414); } @@ -7626,6 +6276,7 @@ pub struct IWMSyncReader_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMSyncReader2(::windows_core::IUnknown); impl IWMSyncReader2 { pub unsafe fn Open(&self, pwszfilename: P0) -> ::windows_core::Result<()> @@ -7754,25 +6405,9 @@ impl IWMSyncReader2 { } } ::windows_core::imp::interface_hierarchy!(IWMSyncReader2, ::windows_core::IUnknown, IWMSyncReader); -impl ::core::cmp::PartialEq for IWMSyncReader2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMSyncReader2 {} -impl ::core::fmt::Debug for IWMSyncReader2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMSyncReader2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMSyncReader2 { type Vtable = IWMSyncReader2_Vtbl; } -impl ::core::clone::Clone for IWMSyncReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMSyncReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaed3d21_1b6b_4af7_8cb6_3e189bbc187b); } @@ -7789,6 +6424,7 @@ pub struct IWMSyncReader2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMVideoMediaProps(::windows_core::IUnknown); impl IWMVideoMediaProps { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7821,25 +6457,9 @@ impl IWMVideoMediaProps { } } ::windows_core::imp::interface_hierarchy!(IWMVideoMediaProps, ::windows_core::IUnknown, IWMMediaProps); -impl ::core::cmp::PartialEq for IWMVideoMediaProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMVideoMediaProps {} -impl ::core::fmt::Debug for IWMVideoMediaProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMVideoMediaProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMVideoMediaProps { type Vtable = IWMVideoMediaProps_Vtbl; } -impl ::core::clone::Clone for IWMVideoMediaProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMVideoMediaProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bcf_2b2b_11d3_b36b_00c04f6108ff); } @@ -7854,6 +6474,7 @@ pub struct IWMVideoMediaProps_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWatermarkInfo(::windows_core::IUnknown); impl IWMWatermarkInfo { pub unsafe fn GetWatermarkEntryCount(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE) -> ::windows_core::Result { @@ -7865,25 +6486,9 @@ impl IWMWatermarkInfo { } } ::windows_core::imp::interface_hierarchy!(IWMWatermarkInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWatermarkInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWatermarkInfo {} -impl ::core::fmt::Debug for IWMWatermarkInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWatermarkInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWatermarkInfo { type Vtable = IWMWatermarkInfo_Vtbl; } -impl ::core::clone::Clone for IWMWatermarkInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWatermarkInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f497062_f2e2_4624_8ea7_9dd40d81fc8d); } @@ -7896,6 +6501,7 @@ pub struct IWMWatermarkInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriter(::windows_core::IUnknown); impl IWMWriter { pub unsafe fn SetProfileByID(&self, guidprofile: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -7956,25 +6562,9 @@ impl IWMWriter { } } ::windows_core::imp::interface_hierarchy!(IWMWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriter {} -impl ::core::fmt::Debug for IWMWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriter { type Vtable = IWMWriter_Vtbl; } -impl ::core::clone::Clone for IWMWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406bd4_2b2b_11d3_b36b_00c04f6108ff); } @@ -7998,6 +6588,7 @@ pub struct IWMWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterAdvanced(::windows_core::IUnknown); impl IWMWriterAdvanced { pub unsafe fn GetSinkCount(&self) -> ::windows_core::Result { @@ -8056,25 +6647,9 @@ impl IWMWriterAdvanced { } } ::windows_core::imp::interface_hierarchy!(IWMWriterAdvanced, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWriterAdvanced { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterAdvanced {} -impl ::core::fmt::Debug for IWMWriterAdvanced { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterAdvanced").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterAdvanced { type Vtable = IWMWriterAdvanced_Vtbl; } -impl ::core::clone::Clone for IWMWriterAdvanced { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterAdvanced { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406be3_2b2b_11d3_b36b_00c04f6108ff); } @@ -8102,6 +6677,7 @@ pub struct IWMWriterAdvanced_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterAdvanced2(::windows_core::IUnknown); impl IWMWriterAdvanced2 { pub unsafe fn GetSinkCount(&self) -> ::windows_core::Result { @@ -8172,25 +6748,9 @@ impl IWMWriterAdvanced2 { } } ::windows_core::imp::interface_hierarchy!(IWMWriterAdvanced2, ::windows_core::IUnknown, IWMWriterAdvanced); -impl ::core::cmp::PartialEq for IWMWriterAdvanced2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterAdvanced2 {} -impl ::core::fmt::Debug for IWMWriterAdvanced2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterAdvanced2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterAdvanced2 { type Vtable = IWMWriterAdvanced2_Vtbl; } -impl ::core::clone::Clone for IWMWriterAdvanced2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterAdvanced2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x962dc1ec_c046_4db8_9cc7_26ceae500817); } @@ -8203,6 +6763,7 @@ pub struct IWMWriterAdvanced2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterAdvanced3(::windows_core::IUnknown); impl IWMWriterAdvanced3 { pub unsafe fn GetSinkCount(&self) -> ::windows_core::Result { @@ -8279,25 +6840,9 @@ impl IWMWriterAdvanced3 { } } ::windows_core::imp::interface_hierarchy!(IWMWriterAdvanced3, ::windows_core::IUnknown, IWMWriterAdvanced, IWMWriterAdvanced2); -impl ::core::cmp::PartialEq for IWMWriterAdvanced3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterAdvanced3 {} -impl ::core::fmt::Debug for IWMWriterAdvanced3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterAdvanced3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterAdvanced3 { type Vtable = IWMWriterAdvanced3_Vtbl; } -impl ::core::clone::Clone for IWMWriterAdvanced3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterAdvanced3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cd6492d_7c37_4e76_9d3b_59261183a22e); } @@ -8310,6 +6855,7 @@ pub struct IWMWriterAdvanced3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterFileSink(::windows_core::IUnknown); impl IWMWriterFileSink { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -8345,25 +6891,9 @@ impl IWMWriterFileSink { } } ::windows_core::imp::interface_hierarchy!(IWMWriterFileSink, ::windows_core::IUnknown, IWMWriterSink); -impl ::core::cmp::PartialEq for IWMWriterFileSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterFileSink {} -impl ::core::fmt::Debug for IWMWriterFileSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterFileSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterFileSink { type Vtable = IWMWriterFileSink_Vtbl; } -impl ::core::clone::Clone for IWMWriterFileSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterFileSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406be5_2b2b_11d3_b36b_00c04f6108ff); } @@ -8375,6 +6905,7 @@ pub struct IWMWriterFileSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterFileSink2(::windows_core::IUnknown); impl IWMWriterFileSink2 { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -8439,25 +6970,9 @@ impl IWMWriterFileSink2 { } } ::windows_core::imp::interface_hierarchy!(IWMWriterFileSink2, ::windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink); -impl ::core::cmp::PartialEq for IWMWriterFileSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterFileSink2 {} -impl ::core::fmt::Debug for IWMWriterFileSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterFileSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterFileSink2 { type Vtable = IWMWriterFileSink2_Vtbl; } -impl ::core::clone::Clone for IWMWriterFileSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterFileSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14282ba7_4aef_4205_8ce5_c229035a05bc); } @@ -8481,6 +6996,7 @@ pub struct IWMWriterFileSink2_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterFileSink3(::windows_core::IUnknown); impl IWMWriterFileSink3 { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -8592,25 +7108,9 @@ impl IWMWriterFileSink3 { } } ::windows_core::imp::interface_hierarchy!(IWMWriterFileSink3, ::windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink, IWMWriterFileSink2); -impl ::core::cmp::PartialEq for IWMWriterFileSink3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterFileSink3 {} -impl ::core::fmt::Debug for IWMWriterFileSink3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterFileSink3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterFileSink3 { type Vtable = IWMWriterFileSink3_Vtbl; } -impl ::core::clone::Clone for IWMWriterFileSink3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterFileSink3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fea4feb_2945_47a7_a1dd_c53a8fc4c45c); } @@ -8644,6 +7144,7 @@ pub struct IWMWriterFileSink3_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterNetworkSink(::windows_core::IUnknown); impl IWMWriterNetworkSink { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -8699,25 +7200,9 @@ impl IWMWriterNetworkSink { } } ::windows_core::imp::interface_hierarchy!(IWMWriterNetworkSink, ::windows_core::IUnknown, IWMWriterSink); -impl ::core::cmp::PartialEq for IWMWriterNetworkSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterNetworkSink {} -impl ::core::fmt::Debug for IWMWriterNetworkSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterNetworkSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterNetworkSink { type Vtable = IWMWriterNetworkSink_Vtbl; } -impl ::core::clone::Clone for IWMWriterNetworkSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterNetworkSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406be7_2b2b_11d3_b36b_00c04f6108ff); } @@ -8736,6 +7221,7 @@ pub struct IWMWriterNetworkSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterPostView(::windows_core::IUnknown); impl IWMWriterPostView { pub unsafe fn SetPostViewCallback(&self, pcallback: P0, pvcontext: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -8792,25 +7278,9 @@ impl IWMWriterPostView { } } ::windows_core::imp::interface_hierarchy!(IWMWriterPostView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWriterPostView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterPostView {} -impl ::core::fmt::Debug for IWMWriterPostView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterPostView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterPostView { type Vtable = IWMWriterPostView_Vtbl; } -impl ::core::clone::Clone for IWMWriterPostView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterPostView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81e20ce4_75ef_491a_8004_fc53c45bdc3e); } @@ -8842,6 +7312,7 @@ pub struct IWMWriterPostView_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterPostViewCallback(::windows_core::IUnknown); impl IWMWriterPostViewCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: ::windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -8858,25 +7329,9 @@ impl IWMWriterPostViewCallback { } } ::windows_core::imp::interface_hierarchy!(IWMWriterPostViewCallback, ::windows_core::IUnknown, IWMStatusCallback); -impl ::core::cmp::PartialEq for IWMWriterPostViewCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterPostViewCallback {} -impl ::core::fmt::Debug for IWMWriterPostViewCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterPostViewCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterPostViewCallback { type Vtable = IWMWriterPostViewCallback_Vtbl; } -impl ::core::clone::Clone for IWMWriterPostViewCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterPostViewCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9d6549d_a193_4f24_b308_03123d9b7f8d); } @@ -8889,6 +7344,7 @@ pub struct IWMWriterPostViewCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterPreprocess(::windows_core::IUnknown); impl IWMWriterPreprocess { pub unsafe fn GetMaxPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32) -> ::windows_core::Result { @@ -8912,25 +7368,9 @@ impl IWMWriterPreprocess { } } ::windows_core::imp::interface_hierarchy!(IWMWriterPreprocess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWriterPreprocess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterPreprocess {} -impl ::core::fmt::Debug for IWMWriterPreprocess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterPreprocess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterPreprocess { type Vtable = IWMWriterPreprocess_Vtbl; } -impl ::core::clone::Clone for IWMWriterPreprocess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterPreprocess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc54a285_38c4_45b5_aa23_85b9f7cb424b); } @@ -8946,6 +7386,7 @@ pub struct IWMWriterPreprocess_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterPushSink(::windows_core::IUnknown); impl IWMWriterPushSink { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -8991,25 +7432,9 @@ impl IWMWriterPushSink { } } ::windows_core::imp::interface_hierarchy!(IWMWriterPushSink, ::windows_core::IUnknown, IWMWriterSink); -impl ::core::cmp::PartialEq for IWMWriterPushSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterPushSink {} -impl ::core::fmt::Debug for IWMWriterPushSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterPushSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterPushSink { type Vtable = IWMWriterPushSink_Vtbl; } -impl ::core::clone::Clone for IWMWriterPushSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterPushSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc10e6a5_072c_467d_bf57_6330a9dde12a); } @@ -9026,6 +7451,7 @@ pub struct IWMWriterPushSink_Vtbl { } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMWriterSink(::windows_core::IUnknown); impl IWMWriterSink { pub unsafe fn OnHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -9055,25 +7481,9 @@ impl IWMWriterSink { } } ::windows_core::imp::interface_hierarchy!(IWMWriterSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWMWriterSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWMWriterSink {} -impl ::core::fmt::Debug for IWMWriterSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMWriterSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWMWriterSink { type Vtable = IWMWriterSink_Vtbl; } -impl ::core::clone::Clone for IWMWriterSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWMWriterSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96406be4_2b2b_11d3_b36b_00c04f6108ff); } diff --git a/crates/libs/windows/src/Windows/Win32/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/impl.rs index 3e24765a3d..1208dbbdd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/impl.rs @@ -57,8 +57,8 @@ impl IReferenceClock_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IReferenceClock2_Vtbl { pub const fn new, Impl: IReferenceClock2_Impl, const OFFSET: isize>() -> IReferenceClock2_Vtbl { Self { base__: IReferenceClock_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media\"`, `\"implement\"`*"] @@ -105,7 +105,7 @@ impl IReferenceClockTimerControl_Vtbl { GetDefaultTimerResolution: GetDefaultTimerResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index 379d8c9c0e..17e082bd84 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -68,6 +68,7 @@ pub unsafe fn timeSetEvent(udelay: u32, uresolution: u32, fptc: LPTIMECALLBACK, } #[doc = "*Required features: `\"Win32_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReferenceClock(::windows_core::IUnknown); impl IReferenceClock { pub unsafe fn GetTime(&self) -> ::windows_core::Result { @@ -97,25 +98,9 @@ impl IReferenceClock { } } ::windows_core::imp::interface_hierarchy!(IReferenceClock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReferenceClock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReferenceClock {} -impl ::core::fmt::Debug for IReferenceClock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReferenceClock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReferenceClock { type Vtable = IReferenceClock_Vtbl; } -impl ::core::clone::Clone for IReferenceClock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReferenceClock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a86897_0ad4_11ce_b03a_0020af0ba770); } @@ -136,6 +121,7 @@ pub struct IReferenceClock_Vtbl { } #[doc = "*Required features: `\"Win32_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReferenceClock2(::windows_core::IUnknown); impl IReferenceClock2 { pub unsafe fn GetTime(&self) -> ::windows_core::Result { @@ -165,25 +151,9 @@ impl IReferenceClock2 { } } ::windows_core::imp::interface_hierarchy!(IReferenceClock2, ::windows_core::IUnknown, IReferenceClock); -impl ::core::cmp::PartialEq for IReferenceClock2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReferenceClock2 {} -impl ::core::fmt::Debug for IReferenceClock2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReferenceClock2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReferenceClock2 { type Vtable = IReferenceClock2_Vtbl; } -impl ::core::clone::Clone for IReferenceClock2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReferenceClock2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36b73885_c2c8_11cf_8b46_00805f6cef60); } @@ -194,6 +164,7 @@ pub struct IReferenceClock2_Vtbl { } #[doc = "*Required features: `\"Win32_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReferenceClockTimerControl(::windows_core::IUnknown); impl IReferenceClockTimerControl { pub unsafe fn SetDefaultTimerResolution(&self, timerresolution: i64) -> ::windows_core::Result<()> { @@ -205,25 +176,9 @@ impl IReferenceClockTimerControl { } } ::windows_core::imp::interface_hierarchy!(IReferenceClockTimerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReferenceClockTimerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReferenceClockTimerControl {} -impl ::core::fmt::Debug for IReferenceClockTimerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReferenceClockTimerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReferenceClockTimerControl { type Vtable = IReferenceClockTimerControl_Vtbl; } -impl ::core::clone::Clone for IReferenceClockTimerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReferenceClockTimerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebec459c_2eca_4d42_a8af_30df557614b8); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs index 0e117a3cbf..5aacca609b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs @@ -8,8 +8,8 @@ impl IDummyMBNUCMExt_Vtbl { pub const fn new, Impl: IDummyMBNUCMExt_Impl, const OFFSET: isize>() -> IDummyMBNUCMExt_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IMbnConnection_Vtbl { GetActivationNetworkError: GetActivationNetworkError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IMbnConnectionContext_Vtbl { SetProvisionedContext: SetProvisionedContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IMbnConnectionContextEvents_Vtbl { OnSetProvisionedContextComplete: OnSetProvisionedContextComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IMbnConnectionEvents_Vtbl { OnVoiceCallStateChange: OnVoiceCallStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IMbnConnectionManager_Vtbl { GetConnections: GetConnections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IMbnConnectionManagerEvents_Vtbl { OnConnectionRemoval: OnConnectionRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl IMbnConnectionProfile_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IMbnConnectionProfileEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProfileUpdate: OnProfileUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -400,8 +400,8 @@ impl IMbnConnectionProfileManager_Vtbl { CreateConnectionProfile: CreateConnectionProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -428,8 +428,8 @@ impl IMbnConnectionProfileManagerEvents_Vtbl { OnConnectionProfileRemoval: OnConnectionProfileRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IMbnDeviceService_Vtbl { IsDataSessionOpen: IsDataSessionOpen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -619,8 +619,8 @@ impl IMbnDeviceServiceStateEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionsStateChange: OnSessionsStateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -688,8 +688,8 @@ impl IMbnDeviceServicesContext_Vtbl { MaxDataSize: MaxDataSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -782,8 +782,8 @@ impl IMbnDeviceServicesEvents_Vtbl { OnInterfaceStateChange: OnInterfaceStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -806,8 +806,8 @@ impl IMbnDeviceServicesManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceServicesContext: GetDeviceServicesContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -954,8 +954,8 @@ impl IMbnInterface_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1024,8 +1024,8 @@ impl IMbnInterfaceEvents_Vtbl { OnScanNetworkComplete: OnScanNetworkComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1067,8 +1067,8 @@ impl IMbnInterfaceManager_Vtbl { GetInterfaces: GetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IMbnInterfaceManagerEvents_Vtbl { OnInterfaceRemoval: OnInterfaceRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IMbnMultiCarrier_Vtbl { ScanNetwork: ScanNetwork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1233,8 +1233,8 @@ impl IMbnMultiCarrierEvents_Vtbl { OnInterfaceCapabilityChange: OnInterfaceCapabilityChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IMbnPin_Vtbl { GetPinManager: GetPinManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1439,8 +1439,8 @@ impl IMbnPinEvents_Vtbl { OnUnblockComplete: OnUnblockComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1495,8 +1495,8 @@ impl IMbnPinManager_Vtbl { GetPinState: GetPinState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IMbnPinManagerEvents_Vtbl { OnGetPinStateComplete: OnGetPinStateComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1576,8 +1576,8 @@ impl IMbnRadio_Vtbl { SetSoftwareRadioState: SetSoftwareRadioState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1604,8 +1604,8 @@ impl IMbnRadioEvents_Vtbl { OnSetSoftwareRadioStateComplete: OnSetSoftwareRadioStateComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IMbnRegistration_Vtbl { SetRegisterMode: SetRegisterMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1790,8 +1790,8 @@ impl IMbnRegistrationEvents_Vtbl { OnSetRegisterModeComplete: OnSetRegisterModeComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IMbnServiceActivation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1838,8 +1838,8 @@ impl IMbnServiceActivationEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivationComplete: OnActivationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1878,8 +1878,8 @@ impl IMbnSignal_Vtbl { GetSignalError: GetSignalError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1896,8 +1896,8 @@ impl IMbnSignalEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSignalStateChange: OnSignalStateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IMbnSms_Vtbl { GetSmsStatus: GetSmsStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -2097,8 +2097,8 @@ impl IMbnSmsConfiguration_Vtbl { SetSmsFormat: SetSmsFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IMbnSmsEvents_Vtbl { OnSmsStatusChange: OnSmsStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2232,8 +2232,8 @@ impl IMbnSmsReadMsgPdu_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2353,8 +2353,8 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2409,8 +2409,8 @@ impl IMbnSubscriberInformation_Vtbl { TelephoneNumbers: TelephoneNumbers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2440,8 +2440,8 @@ impl IMbnVendorSpecificEvents_Vtbl { OnSetVendorSpecificComplete: OnSetVendorSpecificComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2467,7 +2467,7 @@ impl IMbnVendorSpecificOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVendorSpecific: SetVendorSpecific:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs index e8ab773d3d..15debdfb18 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -1,36 +1,17 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDummyMBNUCMExt(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDummyMBNUCMExt {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDummyMBNUCMExt, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDummyMBNUCMExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDummyMBNUCMExt {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDummyMBNUCMExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDummyMBNUCMExt").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDummyMBNUCMExt { type Vtable = IDummyMBNUCMExt_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDummyMBNUCMExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDummyMBNUCMExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_ffff_4bbb_aaee_338e368af6fa); } @@ -42,6 +23,7 @@ pub struct IDummyMBNUCMExt_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnection(::windows_core::IUnknown); impl IMbnConnection { pub unsafe fn ConnectionID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -76,25 +58,9 @@ impl IMbnConnection { } } ::windows_core::imp::interface_hierarchy!(IMbnConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnection {} -impl ::core::fmt::Debug for IMbnConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnection { type Vtable = IMbnConnection_Vtbl; } -impl ::core::clone::Clone for IMbnConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200d_4bbb_aaee_338e368af6fa); } @@ -112,6 +78,7 @@ pub struct IMbnConnection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionContext(::windows_core::IUnknown); impl IMbnConnectionContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -129,25 +96,9 @@ impl IMbnConnectionContext { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionContext {} -impl ::core::fmt::Debug for IMbnConnectionContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionContext { type Vtable = IMbnConnectionContext_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200b_4bbb_aaee_338e368af6fa); } @@ -163,6 +114,7 @@ pub struct IMbnConnectionContext_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionContextEvents(::windows_core::IUnknown); impl IMbnConnectionContextEvents { pub unsafe fn OnProvisionedContextListChange(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -179,25 +131,9 @@ impl IMbnConnectionContextEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionContextEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionContextEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionContextEvents {} -impl ::core::fmt::Debug for IMbnConnectionContextEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionContextEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionContextEvents { type Vtable = IMbnConnectionContextEvents_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionContextEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionContextEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200c_4bbb_aaee_338e368af6fa); } @@ -210,6 +146,7 @@ pub struct IMbnConnectionContextEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionEvents(::windows_core::IUnknown); impl IMbnConnectionEvents { pub unsafe fn OnConnectComplete(&self, newconnection: P0, requestid: u32, status: ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -238,25 +175,9 @@ impl IMbnConnectionEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionEvents {} -impl ::core::fmt::Debug for IMbnConnectionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionEvents { type Vtable = IMbnConnectionEvents_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200e_4bbb_aaee_338e368af6fa); } @@ -271,6 +192,7 @@ pub struct IMbnConnectionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionManager(::windows_core::IUnknown); impl IMbnConnectionManager { pub unsafe fn GetConnection(&self, connectionid: P0) -> ::windows_core::Result @@ -288,25 +210,9 @@ impl IMbnConnectionManager { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionManager {} -impl ::core::fmt::Debug for IMbnConnectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionManager { type Vtable = IMbnConnectionManager_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201d_4bbb_aaee_338e368af6fa); } @@ -322,6 +228,7 @@ pub struct IMbnConnectionManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionManagerEvents(::windows_core::IUnknown); impl IMbnConnectionManagerEvents { pub unsafe fn OnConnectionArrival(&self, newconnection: P0) -> ::windows_core::Result<()> @@ -338,25 +245,9 @@ impl IMbnConnectionManagerEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionManagerEvents {} -impl ::core::fmt::Debug for IMbnConnectionManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionManagerEvents { type Vtable = IMbnConnectionManagerEvents_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201e_4bbb_aaee_338e368af6fa); } @@ -369,6 +260,7 @@ pub struct IMbnConnectionManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionProfile(::windows_core::IUnknown); impl IMbnConnectionProfile { pub unsafe fn GetProfileXmlData(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -386,25 +278,9 @@ impl IMbnConnectionProfile { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionProfile {} -impl ::core::fmt::Debug for IMbnConnectionProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionProfile { type Vtable = IMbnConnectionProfile_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2010_4bbb_aaee_338e368af6fa); } @@ -418,6 +294,7 @@ pub struct IMbnConnectionProfile_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionProfileEvents(::windows_core::IUnknown); impl IMbnConnectionProfileEvents { pub unsafe fn OnProfileUpdate(&self, newprofile: P0) -> ::windows_core::Result<()> @@ -428,25 +305,9 @@ impl IMbnConnectionProfileEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionProfileEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionProfileEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionProfileEvents {} -impl ::core::fmt::Debug for IMbnConnectionProfileEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionProfileEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionProfileEvents { type Vtable = IMbnConnectionProfileEvents_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionProfileEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionProfileEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2011_4bbb_aaee_338e368af6fa); } @@ -458,6 +319,7 @@ pub struct IMbnConnectionProfileEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionProfileManager(::windows_core::IUnknown); impl IMbnConnectionProfileManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -485,25 +347,9 @@ impl IMbnConnectionProfileManager { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionProfileManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionProfileManager {} -impl ::core::fmt::Debug for IMbnConnectionProfileManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionProfileManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionProfileManager { type Vtable = IMbnConnectionProfileManager_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionProfileManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionProfileManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200f_4bbb_aaee_338e368af6fa); } @@ -520,6 +366,7 @@ pub struct IMbnConnectionProfileManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnConnectionProfileManagerEvents(::windows_core::IUnknown); impl IMbnConnectionProfileManagerEvents { pub unsafe fn OnConnectionProfileArrival(&self, newconnectionprofile: P0) -> ::windows_core::Result<()> @@ -536,25 +383,9 @@ impl IMbnConnectionProfileManagerEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnConnectionProfileManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnConnectionProfileManagerEvents {} -impl ::core::fmt::Debug for IMbnConnectionProfileManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnConnectionProfileManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnConnectionProfileManagerEvents { type Vtable = IMbnConnectionProfileManagerEvents_Vtbl; } -impl ::core::clone::Clone for IMbnConnectionProfileManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnConnectionProfileManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201f_4bbb_aaee_338e368af6fa); } @@ -567,6 +398,7 @@ pub struct IMbnConnectionProfileManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnDeviceService(::windows_core::IUnknown); impl IMbnDeviceService { pub unsafe fn QuerySupportedCommands(&self) -> ::windows_core::Result { @@ -629,25 +461,9 @@ impl IMbnDeviceService { } } ::windows_core::imp::interface_hierarchy!(IMbnDeviceService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnDeviceService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnDeviceService {} -impl ::core::fmt::Debug for IMbnDeviceService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnDeviceService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnDeviceService { type Vtable = IMbnDeviceService_Vtbl; } -impl ::core::clone::Clone for IMbnDeviceService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnDeviceService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3bb9a71_dc70_4be9_a4da_7886ae8b191b); } @@ -685,6 +501,7 @@ pub struct IMbnDeviceService_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnDeviceServiceStateEvents(::windows_core::IUnknown); impl IMbnDeviceServiceStateEvents { pub unsafe fn OnSessionsStateChange(&self, interfaceid: P0, statechange: MBN_DEVICE_SERVICE_SESSIONS_STATE) -> ::windows_core::Result<()> @@ -695,25 +512,9 @@ impl IMbnDeviceServiceStateEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnDeviceServiceStateEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnDeviceServiceStateEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnDeviceServiceStateEvents {} -impl ::core::fmt::Debug for IMbnDeviceServiceStateEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnDeviceServiceStateEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnDeviceServiceStateEvents { type Vtable = IMbnDeviceServiceStateEvents_Vtbl; } -impl ::core::clone::Clone for IMbnDeviceServiceStateEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnDeviceServiceStateEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d3ff196_89ee_49d8_8b60_33ffddffc58d); } @@ -725,6 +526,7 @@ pub struct IMbnDeviceServiceStateEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnDeviceServicesContext(::windows_core::IUnknown); impl IMbnDeviceServicesContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -750,25 +552,9 @@ impl IMbnDeviceServicesContext { } } ::windows_core::imp::interface_hierarchy!(IMbnDeviceServicesContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnDeviceServicesContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnDeviceServicesContext {} -impl ::core::fmt::Debug for IMbnDeviceServicesContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnDeviceServicesContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnDeviceServicesContext { type Vtable = IMbnDeviceServicesContext_Vtbl; } -impl ::core::clone::Clone for IMbnDeviceServicesContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnDeviceServicesContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc5ac347_1592_4068_80bb_6a57580150d8); } @@ -786,6 +572,7 @@ pub struct IMbnDeviceServicesContext_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnDeviceServicesEvents(::windows_core::IUnknown); impl IMbnDeviceServicesEvents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -866,25 +653,9 @@ impl IMbnDeviceServicesEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnDeviceServicesEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnDeviceServicesEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnDeviceServicesEvents {} -impl ::core::fmt::Debug for IMbnDeviceServicesEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnDeviceServicesEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnDeviceServicesEvents { type Vtable = IMbnDeviceServicesEvents_Vtbl; } -impl ::core::clone::Clone for IMbnDeviceServicesEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnDeviceServicesEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a900c19_6824_4e97_b76e_cf239d0ca642); } @@ -921,6 +692,7 @@ pub struct IMbnDeviceServicesEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnDeviceServicesManager(::windows_core::IUnknown); impl IMbnDeviceServicesManager { pub unsafe fn GetDeviceServicesContext(&self, networkinterfaceid: P0) -> ::windows_core::Result @@ -932,25 +704,9 @@ impl IMbnDeviceServicesManager { } } ::windows_core::imp::interface_hierarchy!(IMbnDeviceServicesManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnDeviceServicesManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnDeviceServicesManager {} -impl ::core::fmt::Debug for IMbnDeviceServicesManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnDeviceServicesManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnDeviceServicesManager { type Vtable = IMbnDeviceServicesManager_Vtbl; } -impl ::core::clone::Clone for IMbnDeviceServicesManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnDeviceServicesManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20a26258_6811_4478_ac1d_13324e45e41c); } @@ -962,6 +718,7 @@ pub struct IMbnDeviceServicesManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnInterface(::windows_core::IUnknown); impl IMbnInterface { pub unsafe fn InterfaceID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1016,25 +773,9 @@ impl IMbnInterface { } } ::windows_core::imp::interface_hierarchy!(IMbnInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnInterface {} -impl ::core::fmt::Debug for IMbnInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnInterface { type Vtable = IMbnInterface_Vtbl; } -impl ::core::clone::Clone for IMbnInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2001_4bbb_aaee_338e368af6fa); } @@ -1068,6 +809,7 @@ pub struct IMbnInterface_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnInterfaceEvents(::windows_core::IUnknown); impl IMbnInterfaceEvents { pub unsafe fn OnInterfaceCapabilityAvailable(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -1120,25 +862,9 @@ impl IMbnInterfaceEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnInterfaceEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnInterfaceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnInterfaceEvents {} -impl ::core::fmt::Debug for IMbnInterfaceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnInterfaceEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnInterfaceEvents { type Vtable = IMbnInterfaceEvents_Vtbl; } -impl ::core::clone::Clone for IMbnInterfaceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnInterfaceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2002_4bbb_aaee_338e368af6fa); } @@ -1157,6 +883,7 @@ pub struct IMbnInterfaceEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnInterfaceManager(::windows_core::IUnknown); impl IMbnInterfaceManager { pub unsafe fn GetInterface(&self, interfaceid: P0) -> ::windows_core::Result @@ -1174,25 +901,9 @@ impl IMbnInterfaceManager { } } ::windows_core::imp::interface_hierarchy!(IMbnInterfaceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnInterfaceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnInterfaceManager {} -impl ::core::fmt::Debug for IMbnInterfaceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnInterfaceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnInterfaceManager { type Vtable = IMbnInterfaceManager_Vtbl; } -impl ::core::clone::Clone for IMbnInterfaceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnInterfaceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201b_4bbb_aaee_338e368af6fa); } @@ -1208,6 +919,7 @@ pub struct IMbnInterfaceManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnInterfaceManagerEvents(::windows_core::IUnknown); impl IMbnInterfaceManagerEvents { pub unsafe fn OnInterfaceArrival(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -1224,25 +936,9 @@ impl IMbnInterfaceManagerEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnInterfaceManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnInterfaceManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnInterfaceManagerEvents {} -impl ::core::fmt::Debug for IMbnInterfaceManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnInterfaceManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnInterfaceManagerEvents { type Vtable = IMbnInterfaceManagerEvents_Vtbl; } -impl ::core::clone::Clone for IMbnInterfaceManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnInterfaceManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201c_4bbb_aaee_338e368af6fa); } @@ -1255,6 +951,7 @@ pub struct IMbnInterfaceManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnMultiCarrier(::windows_core::IUnknown); impl IMbnMultiCarrier { pub unsafe fn SetHomeProvider(&self, homeprovider: *const MBN_PROVIDER2) -> ::windows_core::Result { @@ -1288,25 +985,9 @@ impl IMbnMultiCarrier { } } ::windows_core::imp::interface_hierarchy!(IMbnMultiCarrier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnMultiCarrier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnMultiCarrier {} -impl ::core::fmt::Debug for IMbnMultiCarrier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnMultiCarrier").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnMultiCarrier { type Vtable = IMbnMultiCarrier_Vtbl; } -impl ::core::clone::Clone for IMbnMultiCarrier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnMultiCarrier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2020_4bbb_aaee_338e368af6fa); } @@ -1332,6 +1013,7 @@ pub struct IMbnMultiCarrier_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnMultiCarrierEvents(::windows_core::IUnknown); impl IMbnMultiCarrierEvents { pub unsafe fn OnSetHomeProviderComplete(&self, mbninterface: P0, requestid: u32, status: ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -1366,25 +1048,9 @@ impl IMbnMultiCarrierEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnMultiCarrierEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnMultiCarrierEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnMultiCarrierEvents {} -impl ::core::fmt::Debug for IMbnMultiCarrierEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnMultiCarrierEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnMultiCarrierEvents { type Vtable = IMbnMultiCarrierEvents_Vtbl; } -impl ::core::clone::Clone for IMbnMultiCarrierEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnMultiCarrierEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcdddab6_2021_4bbb_aaee_338e368af6fa); } @@ -1400,6 +1066,7 @@ pub struct IMbnMultiCarrierEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnPin(::windows_core::IUnknown); impl IMbnPin { pub unsafe fn PinType(&self) -> ::windows_core::Result { @@ -1465,25 +1132,9 @@ impl IMbnPin { } } ::windows_core::imp::interface_hierarchy!(IMbnPin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnPin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnPin {} -impl ::core::fmt::Debug for IMbnPin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnPin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnPin { type Vtable = IMbnPin_Vtbl; } -impl ::core::clone::Clone for IMbnPin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnPin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2007_4bbb_aaee_338e368af6fa); } @@ -1505,6 +1156,7 @@ pub struct IMbnPin_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnPinEvents(::windows_core::IUnknown); impl IMbnPinEvents { pub unsafe fn OnEnableComplete(&self, pin: P0, pininfo: *const MBN_PIN_INFO, requestid: u32, status: ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -1539,25 +1191,9 @@ impl IMbnPinEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnPinEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnPinEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnPinEvents {} -impl ::core::fmt::Debug for IMbnPinEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnPinEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnPinEvents { type Vtable = IMbnPinEvents_Vtbl; } -impl ::core::clone::Clone for IMbnPinEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnPinEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2008_4bbb_aaee_338e368af6fa); } @@ -1573,6 +1209,7 @@ pub struct IMbnPinEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnPinManager(::windows_core::IUnknown); impl IMbnPinManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1591,25 +1228,9 @@ impl IMbnPinManager { } } ::windows_core::imp::interface_hierarchy!(IMbnPinManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnPinManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnPinManager {} -impl ::core::fmt::Debug for IMbnPinManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnPinManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnPinManager { type Vtable = IMbnPinManager_Vtbl; } -impl ::core::clone::Clone for IMbnPinManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnPinManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2005_4bbb_aaee_338e368af6fa); } @@ -1626,6 +1247,7 @@ pub struct IMbnPinManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnPinManagerEvents(::windows_core::IUnknown); impl IMbnPinManagerEvents { pub unsafe fn OnPinListAvailable(&self, pinmanager: P0) -> ::windows_core::Result<()> @@ -1642,25 +1264,9 @@ impl IMbnPinManagerEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnPinManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnPinManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnPinManagerEvents {} -impl ::core::fmt::Debug for IMbnPinManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnPinManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnPinManagerEvents { type Vtable = IMbnPinManagerEvents_Vtbl; } -impl ::core::clone::Clone for IMbnPinManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnPinManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2006_4bbb_aaee_338e368af6fa); } @@ -1673,6 +1279,7 @@ pub struct IMbnPinManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnRadio(::windows_core::IUnknown); impl IMbnRadio { pub unsafe fn SoftwareRadioState(&self) -> ::windows_core::Result { @@ -1689,25 +1296,9 @@ impl IMbnRadio { } } ::windows_core::imp::interface_hierarchy!(IMbnRadio, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnRadio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnRadio {} -impl ::core::fmt::Debug for IMbnRadio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnRadio").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnRadio { type Vtable = IMbnRadio_Vtbl; } -impl ::core::clone::Clone for IMbnRadio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnRadio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdccccab6_201f_4bbb_aaee_338e368af6fa); } @@ -1721,6 +1312,7 @@ pub struct IMbnRadio_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnRadioEvents(::windows_core::IUnknown); impl IMbnRadioEvents { pub unsafe fn OnRadioStateChange(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -1737,25 +1329,9 @@ impl IMbnRadioEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnRadioEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnRadioEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnRadioEvents {} -impl ::core::fmt::Debug for IMbnRadioEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnRadioEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnRadioEvents { type Vtable = IMbnRadioEvents_Vtbl; } -impl ::core::clone::Clone for IMbnRadioEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnRadioEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcdddab6_201f_4bbb_aaee_338e368af6fa); } @@ -1768,6 +1344,7 @@ pub struct IMbnRadioEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnRegistration(::windows_core::IUnknown); impl IMbnRegistration { pub unsafe fn GetRegisterState(&self) -> ::windows_core::Result { @@ -1815,25 +1392,9 @@ impl IMbnRegistration { } } ::windows_core::imp::interface_hierarchy!(IMbnRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnRegistration {} -impl ::core::fmt::Debug for IMbnRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnRegistration { type Vtable = IMbnRegistration_Vtbl; } -impl ::core::clone::Clone for IMbnRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2009_4bbb_aaee_338e368af6fa); } @@ -1854,6 +1415,7 @@ pub struct IMbnRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnRegistrationEvents(::windows_core::IUnknown); impl IMbnRegistrationEvents { pub unsafe fn OnRegisterModeAvailable(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -1882,25 +1444,9 @@ impl IMbnRegistrationEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnRegistrationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnRegistrationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnRegistrationEvents {} -impl ::core::fmt::Debug for IMbnRegistrationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnRegistrationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnRegistrationEvents { type Vtable = IMbnRegistrationEvents_Vtbl; } -impl ::core::clone::Clone for IMbnRegistrationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnRegistrationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_200a_4bbb_aaee_338e368af6fa); } @@ -1915,6 +1461,7 @@ pub struct IMbnRegistrationEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnServiceActivation(::windows_core::IUnknown); impl IMbnServiceActivation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1925,25 +1472,9 @@ impl IMbnServiceActivation { } } ::windows_core::imp::interface_hierarchy!(IMbnServiceActivation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnServiceActivation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnServiceActivation {} -impl ::core::fmt::Debug for IMbnServiceActivation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnServiceActivation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnServiceActivation { type Vtable = IMbnServiceActivation_Vtbl; } -impl ::core::clone::Clone for IMbnServiceActivation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnServiceActivation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2017_4bbb_aaee_338e368af6fa); } @@ -1958,6 +1489,7 @@ pub struct IMbnServiceActivation_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnServiceActivationEvents(::windows_core::IUnknown); impl IMbnServiceActivationEvents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1970,25 +1502,9 @@ impl IMbnServiceActivationEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnServiceActivationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnServiceActivationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnServiceActivationEvents {} -impl ::core::fmt::Debug for IMbnServiceActivationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnServiceActivationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnServiceActivationEvents { type Vtable = IMbnServiceActivationEvents_Vtbl; } -impl ::core::clone::Clone for IMbnServiceActivationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnServiceActivationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2018_4bbb_aaee_338e368af6fa); } @@ -2003,6 +1519,7 @@ pub struct IMbnServiceActivationEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSignal(::windows_core::IUnknown); impl IMbnSignal { pub unsafe fn GetSignalStrength(&self) -> ::windows_core::Result { @@ -2015,25 +1532,9 @@ impl IMbnSignal { } } ::windows_core::imp::interface_hierarchy!(IMbnSignal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSignal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSignal {} -impl ::core::fmt::Debug for IMbnSignal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSignal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSignal { type Vtable = IMbnSignal_Vtbl; } -impl ::core::clone::Clone for IMbnSignal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSignal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2003_4bbb_aaee_338e368af6fa); } @@ -2046,6 +1547,7 @@ pub struct IMbnSignal_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSignalEvents(::windows_core::IUnknown); impl IMbnSignalEvents { pub unsafe fn OnSignalStateChange(&self, newinterface: P0) -> ::windows_core::Result<()> @@ -2056,25 +1558,9 @@ impl IMbnSignalEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnSignalEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSignalEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSignalEvents {} -impl ::core::fmt::Debug for IMbnSignalEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSignalEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSignalEvents { type Vtable = IMbnSignalEvents_Vtbl; } -impl ::core::clone::Clone for IMbnSignalEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSignalEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2004_4bbb_aaee_338e368af6fa); } @@ -2086,6 +1572,7 @@ pub struct IMbnSignalEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSms(::windows_core::IUnknown); impl IMbnSms { pub unsafe fn GetSmsConfiguration(&self) -> ::windows_core::Result { @@ -2135,25 +1622,9 @@ impl IMbnSms { } } ::windows_core::imp::interface_hierarchy!(IMbnSms, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSms { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSms {} -impl ::core::fmt::Debug for IMbnSms { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSms").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSms { type Vtable = IMbnSms_Vtbl; } -impl ::core::clone::Clone for IMbnSms { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSms { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2015_4bbb_aaee_338e368af6fa); } @@ -2178,6 +1649,7 @@ pub struct IMbnSms_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSmsConfiguration(::windows_core::IUnknown); impl IMbnSmsConfiguration { pub unsafe fn ServiceCenterAddress(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2207,25 +1679,9 @@ impl IMbnSmsConfiguration { } } ::windows_core::imp::interface_hierarchy!(IMbnSmsConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSmsConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSmsConfiguration {} -impl ::core::fmt::Debug for IMbnSmsConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSmsConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSmsConfiguration { type Vtable = IMbnSmsConfiguration_Vtbl; } -impl ::core::clone::Clone for IMbnSmsConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSmsConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2012_4bbb_aaee_338e368af6fa); } @@ -2242,6 +1698,7 @@ pub struct IMbnSmsConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSmsEvents(::windows_core::IUnknown); impl IMbnSmsEvents { pub unsafe fn OnSmsConfigurationChange(&self, sms: P0) -> ::windows_core::Result<()> @@ -2293,25 +1750,9 @@ impl IMbnSmsEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnSmsEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSmsEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSmsEvents {} -impl ::core::fmt::Debug for IMbnSmsEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSmsEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSmsEvents { type Vtable = IMbnSmsEvents_Vtbl; } -impl ::core::clone::Clone for IMbnSmsEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSmsEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2016_4bbb_aaee_338e368af6fa); } @@ -2335,6 +1776,7 @@ pub struct IMbnSmsEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSmsReadMsgPdu(::windows_core::IUnknown); impl IMbnSmsReadMsgPdu { pub unsafe fn Index(&self) -> ::windows_core::Result { @@ -2357,25 +1799,9 @@ impl IMbnSmsReadMsgPdu { } } ::windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgPdu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSmsReadMsgPdu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSmsReadMsgPdu {} -impl ::core::fmt::Debug for IMbnSmsReadMsgPdu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSmsReadMsgPdu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSmsReadMsgPdu { type Vtable = IMbnSmsReadMsgPdu_Vtbl; } -impl ::core::clone::Clone for IMbnSmsReadMsgPdu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSmsReadMsgPdu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2013_4bbb_aaee_338e368af6fa); } @@ -2393,6 +1819,7 @@ pub struct IMbnSmsReadMsgPdu_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSmsReadMsgTextCdma(::windows_core::IUnknown); impl IMbnSmsReadMsgTextCdma { pub unsafe fn Index(&self) -> ::windows_core::Result { @@ -2431,25 +1858,9 @@ impl IMbnSmsReadMsgTextCdma { } } ::windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgTextCdma, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSmsReadMsgTextCdma { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSmsReadMsgTextCdma {} -impl ::core::fmt::Debug for IMbnSmsReadMsgTextCdma { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSmsReadMsgTextCdma").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSmsReadMsgTextCdma { type Vtable = IMbnSmsReadMsgTextCdma_Vtbl; } -impl ::core::clone::Clone for IMbnSmsReadMsgTextCdma { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSmsReadMsgTextCdma { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2014_4bbb_aaee_338e368af6fa); } @@ -2471,6 +1882,7 @@ pub struct IMbnSmsReadMsgTextCdma_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnSubscriberInformation(::windows_core::IUnknown); impl IMbnSubscriberInformation { pub unsafe fn SubscriberID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2489,25 +1901,9 @@ impl IMbnSubscriberInformation { } } ::windows_core::imp::interface_hierarchy!(IMbnSubscriberInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnSubscriberInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnSubscriberInformation {} -impl ::core::fmt::Debug for IMbnSubscriberInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnSubscriberInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnSubscriberInformation { type Vtable = IMbnSubscriberInformation_Vtbl; } -impl ::core::clone::Clone for IMbnSubscriberInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnSubscriberInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x459ecc43_bcf5_11dc_a8a8_001321f1405f); } @@ -2524,6 +1920,7 @@ pub struct IMbnSubscriberInformation_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnVendorSpecificEvents(::windows_core::IUnknown); impl IMbnVendorSpecificEvents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2544,25 +1941,9 @@ impl IMbnVendorSpecificEvents { } } ::windows_core::imp::interface_hierarchy!(IMbnVendorSpecificEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnVendorSpecificEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnVendorSpecificEvents {} -impl ::core::fmt::Debug for IMbnVendorSpecificEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnVendorSpecificEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnVendorSpecificEvents { type Vtable = IMbnVendorSpecificEvents_Vtbl; } -impl ::core::clone::Clone for IMbnVendorSpecificEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnVendorSpecificEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_201a_4bbb_aaee_338e368af6fa); } @@ -2581,6 +1962,7 @@ pub struct IMbnVendorSpecificEvents_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMbnVendorSpecificOperation(::windows_core::IUnknown); impl IMbnVendorSpecificOperation { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2591,25 +1973,9 @@ impl IMbnVendorSpecificOperation { } } ::windows_core::imp::interface_hierarchy!(IMbnVendorSpecificOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMbnVendorSpecificOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMbnVendorSpecificOperation {} -impl ::core::fmt::Debug for IMbnVendorSpecificOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMbnVendorSpecificOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMbnVendorSpecificOperation { type Vtable = IMbnVendorSpecificOperation_Vtbl; } -impl ::core::clone::Clone for IMbnVendorSpecificOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMbnVendorSpecificOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcbbbab6_2019_4bbb_aaee_338e368af6fa); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs index 7d9dd8426c..180b3912e3 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs @@ -36,8 +36,8 @@ impl IEnumNetCfgBindingInterface_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IEnumNetCfgBindingPath_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -120,8 +120,8 @@ impl IEnumNetCfgComponent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl INetCfg_Vtbl { QueryNetCfgClass: QueryNetCfgClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl INetCfgBindingInterface_Vtbl { GetLowerComponent: GetLowerComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -297,8 +297,8 @@ impl INetCfgBindingPath_Vtbl { EnumBindingInterfaces: EnumBindingInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl INetCfgClass_Vtbl { EnumComponents: EnumComponents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -363,8 +363,8 @@ impl INetCfgClassSetup_Vtbl { DeInstall: DeInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl INetCfgClassSetup2_Vtbl { UpdateNonEnumeratedComponent: UpdateNonEnumeratedComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl INetCfgComponent_Vtbl { RaisePropertyUi: RaisePropertyUi::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl INetCfgComponentBindings_Vtbl { MoveAfter: MoveAfter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl INetCfgComponentControl_Vtbl { CancelChanges: CancelChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl INetCfgComponentNotifyBinding_Vtbl { NotifyBindingPath: NotifyBindingPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl INetCfgComponentNotifyGlobal_Vtbl { SysNotifyComponent: SysNotifyComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -750,8 +750,8 @@ impl INetCfgComponentPropertyUi_Vtbl { CancelProperties: CancelProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl INetCfgComponentSetup_Vtbl { Removing: Removing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl INetCfgComponentSysPrep_Vtbl { RestoreAdapterParameters: RestoreAdapterParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl INetCfgComponentUpperEdge_Vtbl { RemoveInterfacesFromAdapter: RemoveInterfacesFromAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -890,8 +890,8 @@ impl INetCfgLock_Vtbl { IsWriteLocked: IsWriteLocked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -908,8 +908,8 @@ impl INetCfgPnpReconfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendPnpReconfig: SendPnpReconfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -953,8 +953,8 @@ impl INetCfgSysPrep_Vtbl { HrSetupSetFirstMultiSzField: HrSetupSetFirstMultiSzField::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -977,8 +977,8 @@ impl INetLanConnectionUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceGuid: GetDeviceGuid:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -998,8 +998,8 @@ impl INetRasConnectionIpUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUiInfo: GetUiInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1031,8 +1031,8 @@ impl IProvisioningDomain_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -1055,7 +1055,7 @@ impl IProvisioningProfileWireless_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProfile: CreateProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index 9d345dd921..58b9adfa08 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -127,14 +127,14 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NetAddServiceAccount(servername: P0, accountname: P1, password: P2, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn NetAddServiceAccount(servername: P0, accountname: P1, password: P2, flags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("netapi32.dll" "system" fn NetAddServiceAccount(servername : ::windows_core::PCWSTR, accountname : ::windows_core::PCWSTR, password : ::windows_core::PCWSTR, flags : u32) -> super::super::Foundation:: NTSTATUS); - NetAddServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), password.into_param().abi(), flags).ok() + NetAddServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), password.into_param().abi(), flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] @@ -259,12 +259,12 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NetEnumerateServiceAccounts(servername: P0, flags: u32, accountscount: *mut u32, accounts: *mut *mut *mut u16) -> ::windows_core::Result<()> +pub unsafe fn NetEnumerateServiceAccounts(servername: P0, flags: u32, accountscount: *mut u32, accounts: *mut *mut *mut u16) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("netapi32.dll" "system" fn NetEnumerateServiceAccounts(servername : ::windows_core::PCWSTR, flags : u32, accountscount : *mut u32, accounts : *mut *mut *mut u16) -> super::super::Foundation:: NTSTATUS); - NetEnumerateServiceAccounts(servername.into_param().abi(), flags, accountscount, accounts).ok() + NetEnumerateServiceAccounts(servername.into_param().abi(), flags, accountscount, accounts) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] @@ -457,13 +457,13 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NetIsServiceAccount(servername: P0, accountname: P1, isservice: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> +pub unsafe fn NetIsServiceAccount(servername: P0, accountname: P1, isservice: *mut super::super::Foundation::BOOL) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("netapi32.dll" "system" fn NetIsServiceAccount(servername : ::windows_core::PCWSTR, accountname : ::windows_core::PCWSTR, isservice : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: NTSTATUS); - NetIsServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), isservice).ok() + NetIsServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), isservice) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] @@ -664,13 +664,13 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NetQueryServiceAccount(servername: P0, accountname: P1, infolevel: u32, buffer: *mut *mut u8) -> ::windows_core::Result<()> +pub unsafe fn NetQueryServiceAccount(servername: P0, accountname: P1, infolevel: u32, buffer: *mut *mut u8) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("netapi32.dll" "system" fn NetQueryServiceAccount(servername : ::windows_core::PCWSTR, accountname : ::windows_core::PCWSTR, infolevel : u32, buffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); - NetQueryServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), infolevel, buffer).ok() + NetQueryServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), infolevel, buffer) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] @@ -705,13 +705,13 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn NetRemoveServiceAccount(servername: P0, accountname: P1, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn NetRemoveServiceAccount(servername: P0, accountname: P1, flags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("netapi32.dll" "system" fn NetRemoveServiceAccount(servername : ::windows_core::PCWSTR, accountname : ::windows_core::PCWSTR, flags : u32) -> super::super::Foundation:: NTSTATUS); - NetRemoveServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), flags).ok() + NetRemoveServiceAccount(servername.into_param().abi(), accountname.into_param().abi(), flags) } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[inline] @@ -1646,6 +1646,7 @@ where } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetCfgBindingInterface(::windows_core::IUnknown); impl IEnumNetCfgBindingInterface { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -1662,25 +1663,9 @@ impl IEnumNetCfgBindingInterface { } } ::windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetCfgBindingInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetCfgBindingInterface {} -impl ::core::fmt::Debug for IEnumNetCfgBindingInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetCfgBindingInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetCfgBindingInterface { type Vtable = IEnumNetCfgBindingInterface_Vtbl; } -impl ::core::clone::Clone for IEnumNetCfgBindingInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetCfgBindingInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae90_306e_11d1_aacf_00805fc1270e); } @@ -1695,6 +1680,7 @@ pub struct IEnumNetCfgBindingInterface_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetCfgBindingPath(::windows_core::IUnknown); impl IEnumNetCfgBindingPath { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -1711,25 +1697,9 @@ impl IEnumNetCfgBindingPath { } } ::windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingPath, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetCfgBindingPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetCfgBindingPath {} -impl ::core::fmt::Debug for IEnumNetCfgBindingPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetCfgBindingPath").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetCfgBindingPath { type Vtable = IEnumNetCfgBindingPath_Vtbl; } -impl ::core::clone::Clone for IEnumNetCfgBindingPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetCfgBindingPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae91_306e_11d1_aacf_00805fc1270e); } @@ -1744,6 +1714,7 @@ pub struct IEnumNetCfgBindingPath_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetCfgComponent(::windows_core::IUnknown); impl IEnumNetCfgComponent { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -1760,25 +1731,9 @@ impl IEnumNetCfgComponent { } } ::windows_core::imp::interface_hierarchy!(IEnumNetCfgComponent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetCfgComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetCfgComponent {} -impl ::core::fmt::Debug for IEnumNetCfgComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetCfgComponent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetCfgComponent { type Vtable = IEnumNetCfgComponent_Vtbl; } -impl ::core::clone::Clone for IEnumNetCfgComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetCfgComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae92_306e_11d1_aacf_00805fc1270e); } @@ -1793,6 +1748,7 @@ pub struct IEnumNetCfgComponent_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfg(::windows_core::IUnknown); impl INetCfg { pub unsafe fn Initialize(&self, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -1821,25 +1777,9 @@ impl INetCfg { } } ::windows_core::imp::interface_hierarchy!(INetCfg, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfg {} -impl ::core::fmt::Debug for INetCfg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfg").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfg { type Vtable = INetCfg_Vtbl; } -impl ::core::clone::Clone for INetCfg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfg { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae93_306e_11d1_aacf_00805fc1270e); } @@ -1857,6 +1797,7 @@ pub struct INetCfg_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgBindingInterface(::windows_core::IUnknown); impl INetCfgBindingInterface { pub unsafe fn GetName(&self, ppszwinterfacename: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -1870,25 +1811,9 @@ impl INetCfgBindingInterface { } } ::windows_core::imp::interface_hierarchy!(INetCfgBindingInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgBindingInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgBindingInterface {} -impl ::core::fmt::Debug for INetCfgBindingInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgBindingInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgBindingInterface { type Vtable = INetCfgBindingInterface_Vtbl; } -impl ::core::clone::Clone for INetCfgBindingInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgBindingInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae94_306e_11d1_aacf_00805fc1270e); } @@ -1902,6 +1827,7 @@ pub struct INetCfgBindingInterface_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgBindingPath(::windows_core::IUnknown); impl INetCfgBindingPath { pub unsafe fn IsSamePathAs(&self, ppath: P0) -> ::windows_core::Result<()> @@ -1942,25 +1868,9 @@ impl INetCfgBindingPath { } } ::windows_core::imp::interface_hierarchy!(INetCfgBindingPath, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgBindingPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgBindingPath {} -impl ::core::fmt::Debug for INetCfgBindingPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgBindingPath").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgBindingPath { type Vtable = INetCfgBindingPath_Vtbl; } -impl ::core::clone::Clone for INetCfgBindingPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgBindingPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae96_306e_11d1_aacf_00805fc1270e); } @@ -1982,6 +1892,7 @@ pub struct INetCfgBindingPath_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgClass(::windows_core::IUnknown); impl INetCfgClass { pub unsafe fn FindComponent(&self, pszwinfid: P0, ppnccitem: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -1995,25 +1906,9 @@ impl INetCfgClass { } } ::windows_core::imp::interface_hierarchy!(INetCfgClass, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgClass {} -impl ::core::fmt::Debug for INetCfgClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgClass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgClass { type Vtable = INetCfgClass_Vtbl; } -impl ::core::clone::Clone for INetCfgClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae97_306e_11d1_aacf_00805fc1270e); } @@ -2026,6 +1921,7 @@ pub struct INetCfgClass_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgClassSetup(::windows_core::IUnknown); impl INetCfgClassSetup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2056,25 +1952,9 @@ impl INetCfgClassSetup { } } ::windows_core::imp::interface_hierarchy!(INetCfgClassSetup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgClassSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgClassSetup {} -impl ::core::fmt::Debug for INetCfgClassSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgClassSetup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgClassSetup { type Vtable = INetCfgClassSetup_Vtbl; } -impl ::core::clone::Clone for INetCfgClassSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgClassSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae9d_306e_11d1_aacf_00805fc1270e); } @@ -2097,6 +1977,7 @@ pub struct INetCfgClassSetup_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgClassSetup2(::windows_core::IUnknown); impl INetCfgClassSetup2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2133,25 +2014,9 @@ impl INetCfgClassSetup2 { } } ::windows_core::imp::interface_hierarchy!(INetCfgClassSetup2, ::windows_core::IUnknown, INetCfgClassSetup); -impl ::core::cmp::PartialEq for INetCfgClassSetup2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgClassSetup2 {} -impl ::core::fmt::Debug for INetCfgClassSetup2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgClassSetup2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgClassSetup2 { type Vtable = INetCfgClassSetup2_Vtbl; } -impl ::core::clone::Clone for INetCfgClassSetup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgClassSetup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8aea0_306e_11d1_aacf_00805fc1270e); } @@ -2163,6 +2028,7 @@ pub struct INetCfgClassSetup2_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponent(::windows_core::IUnknown); impl INetCfgComponent { pub unsafe fn GetDisplayName(&self, ppszwdisplayname: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -2216,25 +2082,9 @@ impl INetCfgComponent { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponent {} -impl ::core::fmt::Debug for INetCfgComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponent { type Vtable = INetCfgComponent_Vtbl; } -impl ::core::clone::Clone for INetCfgComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae99_306e_11d1_aacf_00805fc1270e); } @@ -2263,6 +2113,7 @@ pub struct INetCfgComponent_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentBindings(::windows_core::IUnknown); impl INetCfgComponentBindings { pub unsafe fn BindTo(&self, pnccitem: P0) -> ::windows_core::Result<()> @@ -2314,25 +2165,9 @@ impl INetCfgComponentBindings { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentBindings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentBindings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentBindings {} -impl ::core::fmt::Debug for INetCfgComponentBindings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentBindings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentBindings { type Vtable = INetCfgComponentBindings_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentBindings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentBindings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae9e_306e_11d1_aacf_00805fc1270e); } @@ -2351,6 +2186,7 @@ pub struct INetCfgComponentBindings_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentControl(::windows_core::IUnknown); impl INetCfgComponentControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2377,25 +2213,9 @@ impl INetCfgComponentControl { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentControl {} -impl ::core::fmt::Debug for INetCfgComponentControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentControl { type Vtable = INetCfgComponentControl_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238df_bea1_11d0_9298_00c04fc99dcf); } @@ -2413,6 +2233,7 @@ pub struct INetCfgComponentControl_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentNotifyBinding(::windows_core::IUnknown); impl INetCfgComponentNotifyBinding { pub unsafe fn QueryBindingPath(&self, dwchangeflag: u32, pipath: P0) -> ::windows_core::Result<()> @@ -2429,25 +2250,9 @@ impl INetCfgComponentNotifyBinding { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyBinding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentNotifyBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentNotifyBinding {} -impl ::core::fmt::Debug for INetCfgComponentNotifyBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentNotifyBinding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentNotifyBinding { type Vtable = INetCfgComponentNotifyBinding_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentNotifyBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentNotifyBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238e1_bea1_11d0_9298_00c04fc99dcf); } @@ -2460,6 +2265,7 @@ pub struct INetCfgComponentNotifyBinding_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentNotifyGlobal(::windows_core::IUnknown); impl INetCfgComponentNotifyGlobal { pub unsafe fn GetSupportedNotifications(&self) -> ::windows_core::Result { @@ -2486,25 +2292,9 @@ impl INetCfgComponentNotifyGlobal { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyGlobal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentNotifyGlobal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentNotifyGlobal {} -impl ::core::fmt::Debug for INetCfgComponentNotifyGlobal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentNotifyGlobal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentNotifyGlobal { type Vtable = INetCfgComponentNotifyGlobal_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentNotifyGlobal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentNotifyGlobal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238e2_bea1_11d0_9298_00c04fc99dcf); } @@ -2519,6 +2309,7 @@ pub struct INetCfgComponentNotifyGlobal_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentPropertyUi(::windows_core::IUnknown); impl INetCfgComponentPropertyUi { pub unsafe fn QueryPropertyUi(&self, punkreserved: P0) -> ::windows_core::Result<()> @@ -2557,25 +2348,9 @@ impl INetCfgComponentPropertyUi { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentPropertyUi, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentPropertyUi { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentPropertyUi {} -impl ::core::fmt::Debug for INetCfgComponentPropertyUi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentPropertyUi").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentPropertyUi { type Vtable = INetCfgComponentPropertyUi_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentPropertyUi { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentPropertyUi { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238e0_bea1_11d0_9298_00c04fc99dcf); } @@ -2598,6 +2373,7 @@ pub struct INetCfgComponentPropertyUi_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentSetup(::windows_core::IUnknown); impl INetCfgComponentSetup { pub unsafe fn Install(&self, dwsetupflags: u32) -> ::windows_core::Result<()> { @@ -2618,25 +2394,9 @@ impl INetCfgComponentSetup { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentSetup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentSetup {} -impl ::core::fmt::Debug for INetCfgComponentSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentSetup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentSetup { type Vtable = INetCfgComponentSetup_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238e3_bea1_11d0_9298_00c04fc99dcf); } @@ -2651,6 +2411,7 @@ pub struct INetCfgComponentSetup_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentSysPrep(::windows_core::IUnknown); impl INetCfgComponentSysPrep { pub unsafe fn SaveAdapterParameters(&self, pncsp: P0, pszwanswersections: P1, padapterinstanceguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> @@ -2669,25 +2430,9 @@ impl INetCfgComponentSysPrep { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentSysPrep, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentSysPrep { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentSysPrep {} -impl ::core::fmt::Debug for INetCfgComponentSysPrep { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentSysPrep").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentSysPrep { type Vtable = INetCfgComponentSysPrep_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentSysPrep { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentSysPrep { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae9a_306e_11d1_aacf_00805fc1270e); } @@ -2700,6 +2445,7 @@ pub struct INetCfgComponentSysPrep_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgComponentUpperEdge(::windows_core::IUnknown); impl INetCfgComponentUpperEdge { pub unsafe fn GetInterfaceIdsForAdapter(&self, padapter: P0, pdwnuminterfaces: *mut u32, ppguidinterfaceids: ::core::option::Option<*mut *mut ::windows_core::GUID>) -> ::windows_core::Result<()> @@ -2722,25 +2468,9 @@ impl INetCfgComponentUpperEdge { } } ::windows_core::imp::interface_hierarchy!(INetCfgComponentUpperEdge, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgComponentUpperEdge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgComponentUpperEdge {} -impl ::core::fmt::Debug for INetCfgComponentUpperEdge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgComponentUpperEdge").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgComponentUpperEdge { type Vtable = INetCfgComponentUpperEdge_Vtbl; } -impl ::core::clone::Clone for INetCfgComponentUpperEdge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgComponentUpperEdge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932238e4_bea1_11d0_9298_00c04fc99dcf); } @@ -2754,6 +2484,7 @@ pub struct INetCfgComponentUpperEdge_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgLock(::windows_core::IUnknown); impl INetCfgLock { pub unsafe fn AcquireWriteLock(&self, cmstimeout: u32, pszwclientdescription: P0, ppszwclientdescription: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> @@ -2770,25 +2501,9 @@ impl INetCfgLock { } } ::windows_core::imp::interface_hierarchy!(INetCfgLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgLock {} -impl ::core::fmt::Debug for INetCfgLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgLock { type Vtable = INetCfgLock_Vtbl; } -impl ::core::clone::Clone for INetCfgLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae9f_306e_11d1_aacf_00805fc1270e); } @@ -2802,6 +2517,7 @@ pub struct INetCfgLock_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgPnpReconfigCallback(::windows_core::IUnknown); impl INetCfgPnpReconfigCallback { pub unsafe fn SendPnpReconfig(&self, layer: NCPNP_RECONFIG_LAYER, pszwupper: P0, pszwlower: P1, pvdata: *const ::core::ffi::c_void, dwsizeofdata: u32) -> ::windows_core::Result<()> @@ -2813,25 +2529,9 @@ impl INetCfgPnpReconfigCallback { } } ::windows_core::imp::interface_hierarchy!(INetCfgPnpReconfigCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgPnpReconfigCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgPnpReconfigCallback {} -impl ::core::fmt::Debug for INetCfgPnpReconfigCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgPnpReconfigCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgPnpReconfigCallback { type Vtable = INetCfgPnpReconfigCallback_Vtbl; } -impl ::core::clone::Clone for INetCfgPnpReconfigCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgPnpReconfigCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d84bd35_e227_11d2_b700_00a0c98a6a85); } @@ -2843,6 +2543,7 @@ pub struct INetCfgPnpReconfigCallback_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetCfgSysPrep(::windows_core::IUnknown); impl INetCfgSysPrep { pub unsafe fn HrSetupSetFirstDword(&self, pwszsection: P0, pwszkey: P1, dwvalue: u32) -> ::windows_core::Result<()> @@ -2880,25 +2581,9 @@ impl INetCfgSysPrep { } } ::windows_core::imp::interface_hierarchy!(INetCfgSysPrep, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetCfgSysPrep { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetCfgSysPrep {} -impl ::core::fmt::Debug for INetCfgSysPrep { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetCfgSysPrep").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetCfgSysPrep { type Vtable = INetCfgSysPrep_Vtbl; } -impl ::core::clone::Clone for INetCfgSysPrep { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetCfgSysPrep { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e8ae98_306e_11d1_aacf_00805fc1270e); } @@ -2916,6 +2601,7 @@ pub struct INetCfgSysPrep_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetLanConnectionUiInfo(::windows_core::IUnknown); impl INetLanConnectionUiInfo { pub unsafe fn GetDeviceGuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2924,25 +2610,9 @@ impl INetLanConnectionUiInfo { } } ::windows_core::imp::interface_hierarchy!(INetLanConnectionUiInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetLanConnectionUiInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetLanConnectionUiInfo {} -impl ::core::fmt::Debug for INetLanConnectionUiInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetLanConnectionUiInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetLanConnectionUiInfo { type Vtable = INetLanConnectionUiInfo_Vtbl; } -impl ::core::clone::Clone for INetLanConnectionUiInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetLanConnectionUiInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956a6_1cd3_11d1_b1c5_00805fc1270e); } @@ -2954,6 +2624,7 @@ pub struct INetLanConnectionUiInfo_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetRasConnectionIpUiInfo(::windows_core::IUnknown); impl INetRasConnectionIpUiInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2963,25 +2634,9 @@ impl INetRasConnectionIpUiInfo { } } ::windows_core::imp::interface_hierarchy!(INetRasConnectionIpUiInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetRasConnectionIpUiInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetRasConnectionIpUiInfo {} -impl ::core::fmt::Debug for INetRasConnectionIpUiInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetRasConnectionIpUiInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetRasConnectionIpUiInfo { type Vtable = INetRasConnectionIpUiInfo_Vtbl; } -impl ::core::clone::Clone for INetRasConnectionIpUiInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetRasConnectionIpUiInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfaedcf58_31fe_11d1_aad2_00805fc1270e); } @@ -2996,6 +2651,7 @@ pub struct INetRasConnectionIpUiInfo_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisioningDomain(::windows_core::IUnknown); impl IProvisioningDomain { pub unsafe fn Add(&self, pszwpathtofolder: P0) -> ::windows_core::Result<()> @@ -3017,25 +2673,9 @@ impl IProvisioningDomain { } } ::windows_core::imp::interface_hierarchy!(IProvisioningDomain, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvisioningDomain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvisioningDomain {} -impl ::core::fmt::Debug for IProvisioningDomain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvisioningDomain").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvisioningDomain { type Vtable = IProvisioningDomain_Vtbl; } -impl ::core::clone::Clone for IProvisioningDomain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisioningDomain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96fbd50_24dd_11d8_89fb_00904b2ea9c6); } @@ -3051,6 +2691,7 @@ pub struct IProvisioningDomain_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvisioningProfileWireless(::windows_core::IUnknown); impl IProvisioningProfileWireless { pub unsafe fn CreateProfile(&self, bstrxmlwirelessconfigprofile: P0, bstrxmlconnectionconfigprofile: P1, padapterinstanceguid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -3063,25 +2704,9 @@ impl IProvisioningProfileWireless { } } ::windows_core::imp::interface_hierarchy!(IProvisioningProfileWireless, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvisioningProfileWireless { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvisioningProfileWireless {} -impl ::core::fmt::Debug for IProvisioningProfileWireless { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvisioningProfileWireless").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvisioningProfileWireless { type Vtable = IProvisioningProfileWireless_Vtbl; } -impl ::core::clone::Clone for IProvisioningProfileWireless { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvisioningProfileWireless { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96fbd51_24dd_11d8_89fb_00904b2ea9c6); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs index 8cf18a6c5a..226ee0f2c2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs @@ -15,8 +15,8 @@ impl INetDiagExtensibleHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveAttributes: ResolveAttributes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl INetDiagHelper_Vtbl { Cleanup: Cleanup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl INetDiagHelperEx_Vtbl { ReproduceFailure: ReproduceFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl INetDiagHelperInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAttributeInfo: GetAttributeInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl INetDiagHelperUtilFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateUtilityInstance: CreateUtilityInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 8f0f7f1c19..55dcc32ba2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -141,6 +141,7 @@ pub unsafe fn NdfRepairIncident(handle: *const ::core::ffi::c_void, repairex: *c } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetDiagExtensibleHelper(::windows_core::IUnknown); impl INetDiagExtensibleHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -150,25 +151,9 @@ impl INetDiagExtensibleHelper { } } ::windows_core::imp::interface_hierarchy!(INetDiagExtensibleHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetDiagExtensibleHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetDiagExtensibleHelper {} -impl ::core::fmt::Debug for INetDiagExtensibleHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetDiagExtensibleHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetDiagExtensibleHelper { type Vtable = INetDiagExtensibleHelper_Vtbl; } -impl ::core::clone::Clone for INetDiagExtensibleHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetDiagExtensibleHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0b35748_ebf5_11d8_bbe9_505054503030); } @@ -183,6 +168,7 @@ pub struct INetDiagExtensibleHelper_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetDiagHelper(::windows_core::IUnknown); impl INetDiagHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -270,25 +256,9 @@ impl INetDiagHelper { } } ::windows_core::imp::interface_hierarchy!(INetDiagHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetDiagHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetDiagHelper {} -impl ::core::fmt::Debug for INetDiagHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetDiagHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetDiagHelper { type Vtable = INetDiagHelper_Vtbl; } -impl ::core::clone::Clone for INetDiagHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetDiagHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0b35746_ebf5_11d8_bbe9_505054503030); } @@ -347,6 +317,7 @@ pub struct INetDiagHelper_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetDiagHelperEx(::windows_core::IUnknown); impl INetDiagHelperEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -365,25 +336,9 @@ impl INetDiagHelperEx { } } ::windows_core::imp::interface_hierarchy!(INetDiagHelperEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetDiagHelperEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetDiagHelperEx {} -impl ::core::fmt::Debug for INetDiagHelperEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetDiagHelperEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetDiagHelperEx { type Vtable = INetDiagHelperEx_Vtbl; } -impl ::core::clone::Clone for INetDiagHelperEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetDiagHelperEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x972dab4d_e4e3_4fc6_ae54_5f65ccde4a15); } @@ -400,6 +355,7 @@ pub struct INetDiagHelperEx_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetDiagHelperInfo(::windows_core::IUnknown); impl INetDiagHelperInfo { pub unsafe fn GetAttributeInfo(&self, pcelt: *mut u32, pprgattributeinfos: *mut *mut HelperAttributeInfo) -> ::windows_core::Result<()> { @@ -407,25 +363,9 @@ impl INetDiagHelperInfo { } } ::windows_core::imp::interface_hierarchy!(INetDiagHelperInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetDiagHelperInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetDiagHelperInfo {} -impl ::core::fmt::Debug for INetDiagHelperInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetDiagHelperInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetDiagHelperInfo { type Vtable = INetDiagHelperInfo_Vtbl; } -impl ::core::clone::Clone for INetDiagHelperInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetDiagHelperInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0b35747_ebf5_11d8_bbe9_505054503030); } @@ -437,6 +377,7 @@ pub struct INetDiagHelperInfo_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetDiagHelperUtilFactory(::windows_core::IUnknown); impl INetDiagHelperUtilFactory { pub unsafe fn CreateUtilityInstance(&self) -> ::windows_core::Result @@ -448,25 +389,9 @@ impl INetDiagHelperUtilFactory { } } ::windows_core::imp::interface_hierarchy!(INetDiagHelperUtilFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetDiagHelperUtilFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetDiagHelperUtilFactory {} -impl ::core::fmt::Debug for INetDiagHelperUtilFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetDiagHelperUtilFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetDiagHelperUtilFactory { type Vtable = INetDiagHelperUtilFactory_Vtbl; } -impl ::core::clone::Clone for INetDiagHelperUtilFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetDiagHelperUtilFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x104613fb_bc57_4178_95ba_88809698354a); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs index 73c78a199c..607be9cf3b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs @@ -78,8 +78,8 @@ impl ISdo_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ISdoCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl ISdoDictionaryOld_Vtbl { GetAttributeID: GetAttributeID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -373,8 +373,8 @@ impl ISdoMachine_Vtbl { GetSDOSchema: GetSDOSchema::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl ISdoMachine2_Vtbl { Reload: Reload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl ISdoServiceControl_Vtbl { ResetService: ResetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -520,7 +520,7 @@ impl ITemplateSdo_Vtbl { AddToSdoAsProperty: AddToSdoAsProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs index f4798e9cbe..f10bbf2544 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdo { @@ -36,30 +37,10 @@ impl ISdo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdo { type Vtable = ISdo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56bc53de_96db_11d1_bf3f_000000000000); } @@ -85,6 +66,7 @@ pub struct ISdo_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdoCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoCollection { @@ -137,30 +119,10 @@ impl ISdoCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdoCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdoCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdoCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdoCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdoCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdoCollection { type Vtable = ISdoCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdoCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdoCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56bc53e2_96db_11d1_bf3f_000000000000); } @@ -193,6 +155,7 @@ pub struct ISdoCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdoDictionaryOld(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoDictionaryOld { @@ -229,30 +192,10 @@ impl ISdoDictionaryOld { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdoDictionaryOld, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdoDictionaryOld { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdoDictionaryOld {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdoDictionaryOld { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdoDictionaryOld").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdoDictionaryOld { type Vtable = ISdoDictionaryOld_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdoDictionaryOld { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdoDictionaryOld { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd432e5f4_53d8_11d2_9a3a_00c04fb998ac); } @@ -282,6 +225,7 @@ pub struct ISdoDictionaryOld_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdoMachine(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoMachine { @@ -335,30 +279,10 @@ impl ISdoMachine { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdoMachine, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdoMachine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdoMachine {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdoMachine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdoMachine").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdoMachine { type Vtable = ISdoMachine_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdoMachine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdoMachine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x479f6e75_49a2_11d2_8eca_00c04fc2f519); } @@ -383,6 +307,7 @@ pub struct ISdoMachine_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdoMachine2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoMachine2 { @@ -465,30 +390,10 @@ impl ISdoMachine2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdoMachine2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISdoMachine); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdoMachine2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdoMachine2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdoMachine2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdoMachine2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdoMachine2 { type Vtable = ISdoMachine2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdoMachine2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdoMachine2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x518e5ffe_d8ce_4f7e_a5db_b40a35419d3b); } @@ -509,6 +414,7 @@ pub struct ISdoMachine2_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISdoServiceControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISdoServiceControl { @@ -529,30 +435,10 @@ impl ISdoServiceControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISdoServiceControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISdoServiceControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISdoServiceControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISdoServiceControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISdoServiceControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISdoServiceControl { type Vtable = ISdoServiceControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISdoServiceControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISdoServiceControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x479f6e74_49a2_11d2_8eca_00c04fc2f519); } @@ -569,6 +455,7 @@ pub struct ISdoServiceControl_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITemplateSdo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITemplateSdo { @@ -630,30 +517,10 @@ impl ITemplateSdo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITemplateSdo, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISdo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITemplateSdo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITemplateSdo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITemplateSdo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITemplateSdo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITemplateSdo { type Vtable = ITemplateSdo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITemplateSdo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITemplateSdo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8aa85302_d2e2_4e20_8b1f_a571e437d6c9); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs index 4b8da0bc97..1b37996dc9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs @@ -95,8 +95,8 @@ impl IDot11AdHocInterface_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl IDot11AdHocInterfaceNotificationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionStatusChange: OnConnectionStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IDot11AdHocManager_Vtbl { GetNetwork: GetNetwork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IDot11AdHocManagerNotificationSink_Vtbl { OnInterfaceRemove: OnInterfaceRemove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IDot11AdHocNetwork_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -384,8 +384,8 @@ impl IDot11AdHocNetworkNotificationSink_Vtbl { OnConnectFail: OnConnectFail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IDot11AdHocSecuritySettings_Vtbl { GetDot11CipherAlgorithm: GetDot11CipherAlgorithm::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -460,8 +460,8 @@ impl IEnumDot11AdHocInterfaces_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IEnumDot11AdHocNetworks_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -556,7 +556,7 @@ impl IEnumDot11AdHocSecuritySettings_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index 6f7966cc2f..9068fd1673 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -613,6 +613,7 @@ where } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocInterface(::windows_core::IUnknown); impl IDot11AdHocInterface { pub unsafe fn GetDeviceSignature(&self, psignature: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -648,25 +649,9 @@ impl IDot11AdHocInterface { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocInterface, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocInterface {} -impl ::core::fmt::Debug for IDot11AdHocInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocInterface").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocInterface { type Vtable = IDot11AdHocInterface_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2b_cf0d_42a0_acbe_e2de7007384d); } @@ -686,6 +671,7 @@ pub struct IDot11AdHocInterface_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocInterfaceNotificationSink(::windows_core::IUnknown); impl IDot11AdHocInterfaceNotificationSink { pub unsafe fn OnConnectionStatusChange(&self, estatus: DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> ::windows_core::Result<()> { @@ -693,25 +679,9 @@ impl IDot11AdHocInterfaceNotificationSink { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocInterfaceNotificationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocInterfaceNotificationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocInterfaceNotificationSink {} -impl ::core::fmt::Debug for IDot11AdHocInterfaceNotificationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocInterfaceNotificationSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocInterfaceNotificationSink { type Vtable = IDot11AdHocInterfaceNotificationSink_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocInterfaceNotificationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocInterfaceNotificationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2f_cf0d_42a0_acbe_e2de7007384d); } @@ -723,6 +693,7 @@ pub struct IDot11AdHocInterfaceNotificationSink_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocManager(::windows_core::IUnknown); impl IDot11AdHocManager { pub unsafe fn CreateNetwork(&self, name: P0, password: P1, geographicalid: i32, pinterface: P2, psecurity: P3, pcontextguid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -759,25 +730,9 @@ impl IDot11AdHocManager { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocManager {} -impl ::core::fmt::Debug for IDot11AdHocManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocManager { type Vtable = IDot11AdHocManager_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc26_cf0d_42a0_acbe_e2de7007384d); } @@ -796,6 +751,7 @@ pub struct IDot11AdHocManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocManagerNotificationSink(::windows_core::IUnknown); impl IDot11AdHocManagerNotificationSink { pub unsafe fn OnNetworkAdd(&self, piadhocnetwork: P0) -> ::windows_core::Result<()> @@ -818,25 +774,9 @@ impl IDot11AdHocManagerNotificationSink { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocManagerNotificationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocManagerNotificationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocManagerNotificationSink {} -impl ::core::fmt::Debug for IDot11AdHocManagerNotificationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocManagerNotificationSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocManagerNotificationSink { type Vtable = IDot11AdHocManagerNotificationSink_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocManagerNotificationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocManagerNotificationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc27_cf0d_42a0_acbe_e2de7007384d); } @@ -851,6 +791,7 @@ pub struct IDot11AdHocManagerNotificationSink_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocNetwork(::windows_core::IUnknown); impl IDot11AdHocNetwork { pub unsafe fn GetStatus(&self, estatus: *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> ::windows_core::Result<()> { @@ -902,25 +843,9 @@ impl IDot11AdHocNetwork { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocNetwork, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocNetwork {} -impl ::core::fmt::Debug for IDot11AdHocNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocNetwork").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocNetwork { type Vtable = IDot11AdHocNetwork_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc29_cf0d_42a0_acbe_e2de7007384d); } @@ -946,6 +871,7 @@ pub struct IDot11AdHocNetwork_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocNetworkNotificationSink(::windows_core::IUnknown); impl IDot11AdHocNetworkNotificationSink { pub unsafe fn OnStatusChange(&self, estatus: DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> ::windows_core::Result<()> { @@ -956,25 +882,9 @@ impl IDot11AdHocNetworkNotificationSink { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocNetworkNotificationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocNetworkNotificationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocNetworkNotificationSink {} -impl ::core::fmt::Debug for IDot11AdHocNetworkNotificationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocNetworkNotificationSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocNetworkNotificationSink { type Vtable = IDot11AdHocNetworkNotificationSink_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocNetworkNotificationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocNetworkNotificationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2a_cf0d_42a0_acbe_e2de7007384d); } @@ -987,6 +897,7 @@ pub struct IDot11AdHocNetworkNotificationSink_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDot11AdHocSecuritySettings(::windows_core::IUnknown); impl IDot11AdHocSecuritySettings { pub unsafe fn GetDot11AuthAlgorithm(&self, pauth: *mut DOT11_ADHOC_AUTH_ALGORITHM) -> ::windows_core::Result<()> { @@ -997,25 +908,9 @@ impl IDot11AdHocSecuritySettings { } } ::windows_core::imp::interface_hierarchy!(IDot11AdHocSecuritySettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDot11AdHocSecuritySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDot11AdHocSecuritySettings {} -impl ::core::fmt::Debug for IDot11AdHocSecuritySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDot11AdHocSecuritySettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDot11AdHocSecuritySettings { type Vtable = IDot11AdHocSecuritySettings_Vtbl; } -impl ::core::clone::Clone for IDot11AdHocSecuritySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDot11AdHocSecuritySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2e_cf0d_42a0_acbe_e2de7007384d); } @@ -1028,6 +923,7 @@ pub struct IDot11AdHocSecuritySettings_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDot11AdHocInterfaces(::windows_core::IUnknown); impl IEnumDot11AdHocInterfaces { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1045,25 +941,9 @@ impl IEnumDot11AdHocInterfaces { } } ::windows_core::imp::interface_hierarchy!(IEnumDot11AdHocInterfaces, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDot11AdHocInterfaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDot11AdHocInterfaces {} -impl ::core::fmt::Debug for IEnumDot11AdHocInterfaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDot11AdHocInterfaces").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDot11AdHocInterfaces { type Vtable = IEnumDot11AdHocInterfaces_Vtbl; } -impl ::core::clone::Clone for IEnumDot11AdHocInterfaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDot11AdHocInterfaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2c_cf0d_42a0_acbe_e2de7007384d); } @@ -1078,6 +958,7 @@ pub struct IEnumDot11AdHocInterfaces_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDot11AdHocNetworks(::windows_core::IUnknown); impl IEnumDot11AdHocNetworks { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1095,25 +976,9 @@ impl IEnumDot11AdHocNetworks { } } ::windows_core::imp::interface_hierarchy!(IEnumDot11AdHocNetworks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDot11AdHocNetworks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDot11AdHocNetworks {} -impl ::core::fmt::Debug for IEnumDot11AdHocNetworks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDot11AdHocNetworks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDot11AdHocNetworks { type Vtable = IEnumDot11AdHocNetworks_Vtbl; } -impl ::core::clone::Clone for IEnumDot11AdHocNetworks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDot11AdHocNetworks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc28_cf0d_42a0_acbe_e2de7007384d); } @@ -1128,6 +993,7 @@ pub struct IEnumDot11AdHocNetworks_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDot11AdHocSecuritySettings(::windows_core::IUnknown); impl IEnumDot11AdHocSecuritySettings { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1145,25 +1011,9 @@ impl IEnumDot11AdHocSecuritySettings { } } ::windows_core::imp::interface_hierarchy!(IEnumDot11AdHocSecuritySettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDot11AdHocSecuritySettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDot11AdHocSecuritySettings {} -impl ::core::fmt::Debug for IEnumDot11AdHocSecuritySettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDot11AdHocSecuritySettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDot11AdHocSecuritySettings { type Vtable = IEnumDot11AdHocSecuritySettings_Vtbl; } -impl ::core::clone::Clone for IEnumDot11AdHocSecuritySettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDot11AdHocSecuritySettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f10cc2d_cf0d_42a0_acbe_e2de7007384d); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs index 588a640066..2592a95a16 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs @@ -22,8 +22,8 @@ impl IWCNConnectNotify_Vtbl { ConnectFailed: ConnectFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectNow\"`, `\"implement\"`*"] @@ -119,7 +119,7 @@ impl IWCNDevice_Vtbl { SetNFCPasswordParams: SetNFCPasswordParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs index f112f33d52..4daa4cda6a 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectNow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCNConnectNotify(::windows_core::IUnknown); impl IWCNConnectNotify { pub unsafe fn ConnectSucceeded(&self) -> ::windows_core::Result<()> { @@ -10,25 +11,9 @@ impl IWCNConnectNotify { } } ::windows_core::imp::interface_hierarchy!(IWCNConnectNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCNConnectNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCNConnectNotify {} -impl ::core::fmt::Debug for IWCNConnectNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCNConnectNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCNConnectNotify { type Vtable = IWCNConnectNotify_Vtbl; } -impl ::core::clone::Clone for IWCNConnectNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCNConnectNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc100be9f_d33a_4a4b_bf23_bbef4663d017); } @@ -41,6 +26,7 @@ pub struct IWCNConnectNotify_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectNow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCNDevice(::windows_core::IUnknown); impl IWCNDevice { pub unsafe fn SetPassword(&self, r#type: WCN_PASSWORD_TYPE, pbpassword: &[u8]) -> ::windows_core::Result<()> { @@ -96,25 +82,9 @@ impl IWCNDevice { } } ::windows_core::imp::interface_hierarchy!(IWCNDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCNDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCNDevice {} -impl ::core::fmt::Debug for IWCNDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCNDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCNDevice { type Vtable = IWCNDevice_Vtbl; } -impl ::core::clone::Clone for IWCNDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCNDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc100be9c_d33a_4a4b_bf23_bbef4663d017); } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs index 0778f7b475..6415cc9df2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs @@ -169,8 +169,8 @@ impl IDynamicPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl IDynamicPortMappingCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -293,8 +293,8 @@ impl IEnumNetConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IEnumNetSharingEveryConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IEnumNetSharingPortMapping_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl IEnumNetSharingPrivateConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -497,8 +497,8 @@ impl IEnumNetSharingPublicConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -528,8 +528,8 @@ impl INATEventManager_Vtbl { SetNumberOfEntriesCallback: SetNumberOfEntriesCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -546,8 +546,8 @@ impl INATExternalIPAddressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewExternalIPAddress: NewExternalIPAddress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -564,8 +564,8 @@ impl INATNumberOfEntriesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewNumberOfEntries: NewNumberOfEntries:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -645,8 +645,8 @@ impl INetConnection_Vtbl { Rename: Rename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl INetConnectionConnectUi_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl INetConnectionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumConnections: EnumConnections:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl INetConnectionProps_Vtbl { Characteristics: Characteristics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -939,8 +939,8 @@ impl INetFwAuthorizedApplication_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1009,8 +1009,8 @@ impl INetFwAuthorizedApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1226,8 +1226,8 @@ impl INetFwIcmpSettings_Vtbl { SetAllowOutboundPacketTooBig: SetAllowOutboundPacketTooBig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1290,8 +1290,8 @@ impl INetFwMgr_Vtbl { IsIcmpTypeAllowed: IsIcmpTypeAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1460,8 +1460,8 @@ impl INetFwOpenPort_Vtbl { BuiltIn: BuiltIn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl INetFwOpenPorts_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1573,8 +1573,8 @@ impl INetFwPolicy_Vtbl { GetProfileByType: GetProfileByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1822,8 +1822,8 @@ impl INetFwPolicy2_Vtbl { LocalPolicyModifyState: LocalPolicyModifyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1892,8 +1892,8 @@ impl INetFwProduct_Vtbl { PathToSignedProductExe: PathToSignedProductExe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl INetFwProducts_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2136,8 +2136,8 @@ impl INetFwProfile_Vtbl { AuthorizedApplications: AuthorizedApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2233,8 +2233,8 @@ impl INetFwRemoteAdminSettings_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2610,8 +2610,8 @@ impl INetFwRule_Vtbl { SetAction: SetAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2647,8 +2647,8 @@ impl INetFwRule2_Vtbl { SetEdgeTraversalOptions: SetEdgeTraversalOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2784,8 +2784,8 @@ impl INetFwRule3_Vtbl { SetSecureFlags: SetSecureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2854,8 +2854,8 @@ impl INetFwRules_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl INetFwService_Vtbl { GloballyOpenPorts: GloballyOpenPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3053,8 +3053,8 @@ impl INetFwServiceRestriction_Vtbl { Rules: Rules::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3109,8 +3109,8 @@ impl INetFwServices_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3226,8 +3226,8 @@ impl INetSharingConfiguration_Vtbl { RemovePortMapping: RemovePortMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3269,8 +3269,8 @@ impl INetSharingEveryConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3364,8 +3364,8 @@ impl INetSharingManager_Vtbl { get_NetConnectionProps: get_NetConnectionProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3415,8 +3415,8 @@ impl INetSharingPortMapping_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3458,8 +3458,8 @@ impl INetSharingPortMappingCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3579,8 +3579,8 @@ impl INetSharingPortMappingProps_Vtbl { Enabled: Enabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3622,8 +3622,8 @@ impl INetSharingPrivateConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3665,8 +3665,8 @@ impl INetSharingPublicConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3801,8 +3801,8 @@ impl IStaticPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3877,8 +3877,8 @@ impl IStaticPortMappingCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3933,7 +3933,7 @@ impl IUPnPNAT_Vtbl { NATEventManager: NATEventManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 7344d26ff9..a8ca099a3e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -69,6 +69,7 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicPortMapping(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMapping { @@ -141,30 +142,10 @@ impl IDynamicPortMapping { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDynamicPortMapping, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDynamicPortMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDynamicPortMapping {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDynamicPortMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicPortMapping").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDynamicPortMapping { type Vtable = IDynamicPortMapping_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDynamicPortMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDynamicPortMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fc80282_23b6_4378_9a27_cd8f17c9400c); } @@ -197,6 +178,7 @@ pub struct IDynamicPortMapping_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicPortMappingCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDynamicPortMappingCollection { @@ -242,30 +224,10 @@ impl IDynamicPortMappingCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDynamicPortMappingCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDynamicPortMappingCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDynamicPortMappingCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDynamicPortMappingCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicPortMappingCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDynamicPortMappingCollection { type Vtable = IDynamicPortMappingCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDynamicPortMappingCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDynamicPortMappingCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb60de00f_156e_4e8d_9ec1_3a2342c10899); } @@ -288,6 +250,7 @@ pub struct IDynamicPortMappingCollection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetConnection(::windows_core::IUnknown); impl IEnumNetConnection { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -305,25 +268,9 @@ impl IEnumNetConnection { } } ::windows_core::imp::interface_hierarchy!(IEnumNetConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetConnection {} -impl ::core::fmt::Debug for IEnumNetConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetConnection { type Vtable = IEnumNetConnection_Vtbl; } -impl ::core::clone::Clone for IEnumNetConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956a0_1cd3_11d1_b1c5_00805fc1270e); } @@ -338,6 +285,7 @@ pub struct IEnumNetConnection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetSharingEveryConnection(::windows_core::IUnknown); impl IEnumNetSharingEveryConnection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -357,25 +305,9 @@ impl IEnumNetSharingEveryConnection { } } ::windows_core::imp::interface_hierarchy!(IEnumNetSharingEveryConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetSharingEveryConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetSharingEveryConnection {} -impl ::core::fmt::Debug for IEnumNetSharingEveryConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetSharingEveryConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetSharingEveryConnection { type Vtable = IEnumNetSharingEveryConnection_Vtbl; } -impl ::core::clone::Clone for IEnumNetSharingEveryConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetSharingEveryConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b8_1cd3_11d1_b1c5_00805fc1270e); } @@ -393,6 +325,7 @@ pub struct IEnumNetSharingEveryConnection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetSharingPortMapping(::windows_core::IUnknown); impl IEnumNetSharingPortMapping { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -412,25 +345,9 @@ impl IEnumNetSharingPortMapping { } } ::windows_core::imp::interface_hierarchy!(IEnumNetSharingPortMapping, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetSharingPortMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetSharingPortMapping {} -impl ::core::fmt::Debug for IEnumNetSharingPortMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetSharingPortMapping").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetSharingPortMapping { type Vtable = IEnumNetSharingPortMapping_Vtbl; } -impl ::core::clone::Clone for IEnumNetSharingPortMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetSharingPortMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b0_1cd3_11d1_b1c5_00805fc1270e); } @@ -448,6 +365,7 @@ pub struct IEnumNetSharingPortMapping_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetSharingPrivateConnection(::windows_core::IUnknown); impl IEnumNetSharingPrivateConnection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -467,25 +385,9 @@ impl IEnumNetSharingPrivateConnection { } } ::windows_core::imp::interface_hierarchy!(IEnumNetSharingPrivateConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetSharingPrivateConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetSharingPrivateConnection {} -impl ::core::fmt::Debug for IEnumNetSharingPrivateConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetSharingPrivateConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetSharingPrivateConnection { type Vtable = IEnumNetSharingPrivateConnection_Vtbl; } -impl ::core::clone::Clone for IEnumNetSharingPrivateConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetSharingPrivateConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b5_1cd3_11d1_b1c5_00805fc1270e); } @@ -503,6 +405,7 @@ pub struct IEnumNetSharingPrivateConnection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetSharingPublicConnection(::windows_core::IUnknown); impl IEnumNetSharingPublicConnection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -522,25 +425,9 @@ impl IEnumNetSharingPublicConnection { } } ::windows_core::imp::interface_hierarchy!(IEnumNetSharingPublicConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNetSharingPublicConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNetSharingPublicConnection {} -impl ::core::fmt::Debug for IEnumNetSharingPublicConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetSharingPublicConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNetSharingPublicConnection { type Vtable = IEnumNetSharingPublicConnection_Vtbl; } -impl ::core::clone::Clone for IEnumNetSharingPublicConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNetSharingPublicConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b4_1cd3_11d1_b1c5_00805fc1270e); } @@ -559,6 +446,7 @@ pub struct IEnumNetSharingPublicConnection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INATEventManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INATEventManager { @@ -578,30 +466,10 @@ impl INATEventManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INATEventManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INATEventManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INATEventManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INATEventManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INATEventManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INATEventManager { type Vtable = INATEventManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INATEventManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INATEventManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x624bd588_9060_4109_b0b0_1adbbcac32df); } @@ -615,6 +483,7 @@ pub struct INATEventManager_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INATExternalIPAddressCallback(::windows_core::IUnknown); impl INATExternalIPAddressCallback { pub unsafe fn NewExternalIPAddress(&self, bstrnewexternalipaddress: P0) -> ::windows_core::Result<()> @@ -625,25 +494,9 @@ impl INATExternalIPAddressCallback { } } ::windows_core::imp::interface_hierarchy!(INATExternalIPAddressCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INATExternalIPAddressCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INATExternalIPAddressCallback {} -impl ::core::fmt::Debug for INATExternalIPAddressCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INATExternalIPAddressCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INATExternalIPAddressCallback { type Vtable = INATExternalIPAddressCallback_Vtbl; } -impl ::core::clone::Clone for INATExternalIPAddressCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INATExternalIPAddressCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c416740_a34e_446f_ba06_abd04c3149ae); } @@ -655,6 +508,7 @@ pub struct INATExternalIPAddressCallback_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INATNumberOfEntriesCallback(::windows_core::IUnknown); impl INATNumberOfEntriesCallback { pub unsafe fn NewNumberOfEntries(&self, lnewnumberofentries: i32) -> ::windows_core::Result<()> { @@ -662,25 +516,9 @@ impl INATNumberOfEntriesCallback { } } ::windows_core::imp::interface_hierarchy!(INATNumberOfEntriesCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INATNumberOfEntriesCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INATNumberOfEntriesCallback {} -impl ::core::fmt::Debug for INATNumberOfEntriesCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INATNumberOfEntriesCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INATNumberOfEntriesCallback { type Vtable = INATNumberOfEntriesCallback_Vtbl; } -impl ::core::clone::Clone for INATNumberOfEntriesCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INATNumberOfEntriesCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc83a0a74_91ee_41b6_b67a_67e0f00bbd78); } @@ -692,6 +530,7 @@ pub struct INATNumberOfEntriesCallback_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetConnection(::windows_core::IUnknown); impl INetConnection { pub unsafe fn Connect(&self) -> ::windows_core::Result<()> { @@ -726,25 +565,9 @@ impl INetConnection { } } ::windows_core::imp::interface_hierarchy!(INetConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetConnection {} -impl ::core::fmt::Debug for INetConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetConnection { type Vtable = INetConnection_Vtbl; } -impl ::core::clone::Clone for INetConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956a1_1cd3_11d1_b1c5_00805fc1270e); } @@ -762,6 +585,7 @@ pub struct INetConnection_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetConnectionConnectUi(::windows_core::IUnknown); impl INetConnectionConnectUi { pub unsafe fn SetConnection(&self, pcon: P0) -> ::windows_core::Result<()> @@ -788,25 +612,9 @@ impl INetConnectionConnectUi { } } ::windows_core::imp::interface_hierarchy!(INetConnectionConnectUi, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetConnectionConnectUi { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetConnectionConnectUi {} -impl ::core::fmt::Debug for INetConnectionConnectUi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetConnectionConnectUi").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetConnectionConnectUi { type Vtable = INetConnectionConnectUi_Vtbl; } -impl ::core::clone::Clone for INetConnectionConnectUi { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetConnectionConnectUi { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956a3_1cd3_11d1_b1c5_00805fc1270e); } @@ -826,6 +634,7 @@ pub struct INetConnectionConnectUi_Vtbl { } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetConnectionManager(::windows_core::IUnknown); impl INetConnectionManager { pub unsafe fn EnumConnections(&self, flags: NETCONMGR_ENUM_FLAGS) -> ::windows_core::Result { @@ -834,25 +643,9 @@ impl INetConnectionManager { } } ::windows_core::imp::interface_hierarchy!(INetConnectionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetConnectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetConnectionManager {} -impl ::core::fmt::Debug for INetConnectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetConnectionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetConnectionManager { type Vtable = INetConnectionManager_Vtbl; } -impl ::core::clone::Clone for INetConnectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetConnectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956a2_1cd3_11d1_b1c5_00805fc1270e); } @@ -865,6 +658,7 @@ pub struct INetConnectionManager_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetConnectionProps(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetConnectionProps { @@ -896,30 +690,10 @@ impl INetConnectionProps { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetConnectionProps, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetConnectionProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetConnectionProps {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetConnectionProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetConnectionProps").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetConnectionProps { type Vtable = INetConnectionProps_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetConnectionProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetConnectionProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4277c95_ce5b_463d_8167_5662d9bcaa72); } @@ -938,6 +712,7 @@ pub struct INetConnectionProps_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwAuthorizedApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplication { @@ -1003,30 +778,10 @@ impl INetFwAuthorizedApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplication, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwAuthorizedApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwAuthorizedApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwAuthorizedApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwAuthorizedApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwAuthorizedApplication { type Vtable = INetFwAuthorizedApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwAuthorizedApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwAuthorizedApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5e64ffa_c2c5_444e_a301_fb5e00018050); } @@ -1057,6 +812,7 @@ pub struct INetFwAuthorizedApplication_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwAuthorizedApplications(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwAuthorizedApplications { @@ -1095,30 +851,10 @@ impl INetFwAuthorizedApplications { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplications, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwAuthorizedApplications { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwAuthorizedApplications {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwAuthorizedApplications { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwAuthorizedApplications").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwAuthorizedApplications { type Vtable = INetFwAuthorizedApplications_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwAuthorizedApplications { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwAuthorizedApplications { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x644efd52_ccf9_486c_97a2_39f352570b30); } @@ -1142,6 +878,7 @@ pub struct INetFwAuthorizedApplications_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwIcmpSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwIcmpSettings { @@ -1289,30 +1026,10 @@ impl INetFwIcmpSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwIcmpSettings, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwIcmpSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwIcmpSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwIcmpSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwIcmpSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwIcmpSettings { type Vtable = INetFwIcmpSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwIcmpSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwIcmpSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6207b2e_7cdd_426a_951e_5e1cbc5afead); } @@ -1405,6 +1122,7 @@ pub struct INetFwIcmpSettings_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwMgr(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwMgr { @@ -1442,30 +1160,10 @@ impl INetFwMgr { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwMgr, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwMgr {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwMgr").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwMgr { type Vtable = INetFwMgr_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7898af5_cac4_4632_a2ec_da06e5111af2); } @@ -1492,6 +1190,7 @@ pub struct INetFwMgr_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwOpenPort(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPort { @@ -1567,30 +1266,10 @@ impl INetFwOpenPort { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwOpenPort, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwOpenPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwOpenPort {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwOpenPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwOpenPort").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwOpenPort { type Vtable = INetFwOpenPort_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwOpenPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwOpenPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0483ba0_47ff_4d9c_a6d6_7741d0b195f7); } @@ -1627,6 +1306,7 @@ pub struct INetFwOpenPort_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwOpenPorts(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwOpenPorts { @@ -1659,30 +1339,10 @@ impl INetFwOpenPorts { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwOpenPorts, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwOpenPorts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwOpenPorts {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwOpenPorts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwOpenPorts").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwOpenPorts { type Vtable = INetFwOpenPorts_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwOpenPorts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwOpenPorts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0e9d7fa_e07e_430a_b19a_090ce82d92e2); } @@ -1706,6 +1366,7 @@ pub struct INetFwOpenPorts_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwPolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwPolicy { @@ -1725,30 +1386,10 @@ impl INetFwPolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwPolicy, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwPolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwPolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwPolicy { type Vtable = INetFwPolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd46d2478_9ac9_4008_9dc7_5563ce5536cc); } @@ -1769,6 +1410,7 @@ pub struct INetFwPolicy_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwPolicy2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwPolicy2 { @@ -1907,30 +1549,10 @@ impl INetFwPolicy2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwPolicy2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwPolicy2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwPolicy2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwPolicy2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwPolicy2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwPolicy2 { type Vtable = INetFwPolicy2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwPolicy2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwPolicy2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98325047_c671_4174_8d81_defcd3f03186); } @@ -2010,6 +1632,7 @@ pub struct INetFwPolicy2_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwProduct(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwProduct { @@ -2042,30 +1665,10 @@ impl INetFwProduct { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwProduct, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwProduct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwProduct {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwProduct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwProduct").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwProduct { type Vtable = INetFwProduct_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwProduct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwProduct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71881699_18f4_458b_b892_3ffce5e07f75); } @@ -2089,6 +1692,7 @@ pub struct INetFwProduct_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwProducts(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwProducts { @@ -2119,30 +1723,10 @@ impl INetFwProducts { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwProducts, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwProducts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwProducts {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwProducts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwProducts").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwProducts { type Vtable = INetFwProducts_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwProducts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwProducts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39eb36e0_2097_40bd_8af2_63a13b525362); } @@ -2165,6 +1749,7 @@ pub struct INetFwProducts_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwProfile(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwProfile { @@ -2260,32 +1845,12 @@ impl INetFwProfile { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(INetFwProfile, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwProfile {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwProfile").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(INetFwProfile, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwProfile { type Vtable = INetFwProfile_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x174a0dda_e9f9_449d_993b_21ab667ca456); } @@ -2351,6 +1916,7 @@ pub struct INetFwProfile_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwRemoteAdminSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRemoteAdminSettings { @@ -2396,30 +1962,10 @@ impl INetFwRemoteAdminSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwRemoteAdminSettings, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwRemoteAdminSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwRemoteAdminSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwRemoteAdminSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwRemoteAdminSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwRemoteAdminSettings { type Vtable = INetFwRemoteAdminSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwRemoteAdminSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwRemoteAdminSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4becddf_6f73_4a83_b832_9c66874cd20e); } @@ -2446,6 +1992,7 @@ pub struct INetFwRemoteAdminSettings_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRule { @@ -2630,30 +2177,10 @@ impl INetFwRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwRule { type Vtable = INetFwRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf230d27_baba_4e42_aced_f524f22cfce2); } @@ -2720,6 +2247,7 @@ pub struct INetFwRule_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwRule2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRule2 { @@ -2911,30 +2439,10 @@ impl INetFwRule2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwRule2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, INetFwRule); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwRule2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwRule2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwRule2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwRule2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwRule2 { type Vtable = INetFwRule2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwRule2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwRule2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c27c8da_189b_4dde_89f7_8b39a316782c); } @@ -2949,6 +2457,7 @@ pub struct INetFwRule2_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwRule3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRule3 { @@ -3197,30 +2706,10 @@ impl INetFwRule3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwRule3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, INetFwRule, INetFwRule2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwRule3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwRule3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwRule3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwRule3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwRule3 { type Vtable = INetFwRule3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwRule3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwRule3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb21563ff_d696_4222_ab46_4e89b73ab34a); } @@ -3245,6 +2734,7 @@ pub struct INetFwRule3_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwRules(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwRules { @@ -3283,30 +2773,10 @@ impl INetFwRules { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwRules, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwRules {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwRules").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwRules { type Vtable = INetFwRules_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c4c6277_5027_441e_afae_ca1f542da009); } @@ -3330,6 +2800,7 @@ pub struct INetFwRules_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwService { @@ -3395,30 +2866,10 @@ impl INetFwService { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwService, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwService").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwService { type Vtable = INetFwService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79fd57c8_908e_4a36_9888_d5b3f0a444cf); } @@ -3455,6 +2906,7 @@ pub struct INetFwService_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwServiceRestriction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwServiceRestriction { @@ -3489,30 +2941,10 @@ impl INetFwServiceRestriction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwServiceRestriction, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwServiceRestriction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwServiceRestriction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwServiceRestriction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwServiceRestriction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwServiceRestriction { type Vtable = INetFwServiceRestriction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwServiceRestriction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwServiceRestriction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8267bbe3_f890_491c_b7b6_2db1ef0e5d2b); } @@ -3537,6 +2969,7 @@ pub struct INetFwServiceRestriction_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetFwServices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetFwServices { @@ -3558,30 +2991,10 @@ impl INetFwServices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetFwServices, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetFwServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetFwServices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetFwServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetFwServices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetFwServices { type Vtable = INetFwServices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetFwServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetFwServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79649bb4_903e_421b_94c9_79848e79f6ee); } @@ -3600,6 +3013,7 @@ pub struct INetFwServices_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingConfiguration(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingConfiguration { @@ -3659,30 +3073,10 @@ impl INetSharingConfiguration { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingConfiguration, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingConfiguration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingConfiguration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingConfiguration { type Vtable = INetSharingConfiguration_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b6_1cd3_11d1_b1c5_00805fc1270e); } @@ -3720,6 +3114,7 @@ pub struct INetSharingConfiguration_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingEveryConnectionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingEveryConnectionCollection { @@ -3735,30 +3130,10 @@ impl INetSharingEveryConnectionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingEveryConnectionCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingEveryConnectionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingEveryConnectionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingEveryConnectionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingEveryConnectionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingEveryConnectionCollection { type Vtable = INetSharingEveryConnectionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingEveryConnectionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingEveryConnectionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33c4643c_7811_46fa_a89a_768597bd7223); } @@ -3773,6 +3148,7 @@ pub struct INetSharingEveryConnectionCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingManager { @@ -3822,30 +3198,10 @@ impl INetSharingManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingManager { type Vtable = INetSharingManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b7_1cd3_11d1_b1c5_00805fc1270e); } @@ -3882,6 +3238,7 @@ pub struct INetSharingManager_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingPortMapping(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMapping { @@ -3904,30 +3261,10 @@ impl INetSharingPortMapping { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingPortMapping, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingPortMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingPortMapping {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingPortMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingPortMapping").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingPortMapping { type Vtable = INetSharingPortMapping_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingPortMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingPortMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08956b1_1cd3_11d1_b1c5_00805fc1270e); } @@ -3947,6 +3284,7 @@ pub struct INetSharingPortMapping_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingPortMappingCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingCollection { @@ -3962,30 +3300,10 @@ impl INetSharingPortMappingCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingPortMappingCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingPortMappingCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingPortMappingCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingPortMappingCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingPortMappingCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingPortMappingCollection { type Vtable = INetSharingPortMappingCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingPortMappingCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingPortMappingCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02e4a2de_da20_4e34_89c8_ac22275a010b); } @@ -4000,6 +3318,7 @@ pub struct INetSharingPortMappingCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingPortMappingProps(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPortMappingProps { @@ -4041,30 +3360,10 @@ impl INetSharingPortMappingProps { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingPortMappingProps, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingPortMappingProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingPortMappingProps {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingPortMappingProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingPortMappingProps").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingPortMappingProps { type Vtable = INetSharingPortMappingProps_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingPortMappingProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingPortMappingProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24b7e9b5_e38f_4685_851b_00892cf5f940); } @@ -4088,6 +3387,7 @@ pub struct INetSharingPortMappingProps_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingPrivateConnectionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPrivateConnectionCollection { @@ -4103,30 +3403,10 @@ impl INetSharingPrivateConnectionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingPrivateConnectionCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingPrivateConnectionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingPrivateConnectionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingPrivateConnectionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingPrivateConnectionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingPrivateConnectionCollection { type Vtable = INetSharingPrivateConnectionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingPrivateConnectionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingPrivateConnectionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38ae69e0_4409_402a_a2cb_e965c727f840); } @@ -4141,6 +3421,7 @@ pub struct INetSharingPrivateConnectionCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetSharingPublicConnectionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetSharingPublicConnectionCollection { @@ -4156,30 +3437,10 @@ impl INetSharingPublicConnectionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetSharingPublicConnectionCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetSharingPublicConnectionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetSharingPublicConnectionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetSharingPublicConnectionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetSharingPublicConnectionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetSharingPublicConnectionCollection { type Vtable = INetSharingPublicConnectionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetSharingPublicConnectionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetSharingPublicConnectionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d7a6355_f372_4971_a149_bfc927be762a); } @@ -4194,6 +3455,7 @@ pub struct INetSharingPublicConnectionCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStaticPortMapping(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStaticPortMapping { @@ -4254,30 +3516,10 @@ impl IStaticPortMapping { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStaticPortMapping, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStaticPortMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStaticPortMapping {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStaticPortMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStaticPortMapping").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStaticPortMapping { type Vtable = IStaticPortMapping_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStaticPortMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStaticPortMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f10711f_729b_41e5_93b8_f21d0f818df1); } @@ -4307,6 +3549,7 @@ pub struct IStaticPortMapping_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStaticPortMappingCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStaticPortMappingCollection { @@ -4349,30 +3592,10 @@ impl IStaticPortMappingCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStaticPortMappingCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStaticPortMappingCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStaticPortMappingCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStaticPortMappingCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStaticPortMappingCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStaticPortMappingCollection { type Vtable = IStaticPortMappingCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStaticPortMappingCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStaticPortMappingCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd1f3e77_66d6_4664_82c7_36dbb641d0f1); } @@ -4396,6 +3619,7 @@ pub struct IStaticPortMappingCollection_Vtbl { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUPnPNAT(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUPnPNAT { @@ -4421,30 +3645,10 @@ impl IUPnPNAT { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUPnPNAT, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUPnPNAT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUPnPNAT {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUPnPNAT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUPnPNAT").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUPnPNAT { type Vtable = IUPnPNAT_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUPnPNAT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUPnPNAT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb171c812_cc76_485a_94d8_b6b3a2794e99); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index 21f5e049a9..835ae57702 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -150,8 +150,8 @@ impl IADs_Vtbl { GetInfoEx: GetInfoEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl IADsADSystemInfo_Vtbl { GetTrees: GetTrees::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -487,8 +487,8 @@ impl IADsAccessControlEntry_Vtbl { SetTrustee: SetTrustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl IADsAccessControlList_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IADsAcl_Vtbl { CopyAcl: CopyAcl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IADsAggregatee_Vtbl { RestoreInterface: RestoreInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IADsAggregator_Vtbl { DisconnectAsAggregator: DisconnectAsAggregator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -801,8 +801,8 @@ impl IADsBackLink_Vtbl { SetObjectName: SetObjectName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -838,8 +838,8 @@ impl IADsCaseIgnoreList_Vtbl { SetCaseIgnoreList: SetCaseIgnoreList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1161,8 +1161,8 @@ impl IADsClass_Vtbl { Qualifiers: Qualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1218,8 +1218,8 @@ impl IADsCollection_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1561,8 +1561,8 @@ impl IADsComputer_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1594,8 +1594,8 @@ impl IADsComputerOperations_Vtbl { } Self { base__: IADs_Vtbl::new::(), Status: Status::, Shutdown: Shutdown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1736,8 +1736,8 @@ impl IADsContainer_Vtbl { MoveHere: MoveHere::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1793,8 +1793,8 @@ impl IADsDNWithBinary_Vtbl { SetDNString: SetDNString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IADsDNWithString_Vtbl { SetDNString: SetDNString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1871,8 +1871,8 @@ impl IADsDeleteOps_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeleteObject: DeleteObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2061,8 +2061,8 @@ impl IADsDomain_Vtbl { SetLockoutObservationInterval: SetLockoutObservationInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IADsEmail_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IADsExtension_Vtbl { PrivateInvoke: PrivateInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2219,8 +2219,8 @@ impl IADsFaxNumber_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl IADsFileService_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2319,8 +2319,8 @@ impl IADsFileServiceOperations_Vtbl { Resources: Resources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2429,8 +2429,8 @@ impl IADsFileShare_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2506,8 +2506,8 @@ impl IADsGroup_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2563,8 +2563,8 @@ impl IADsHold_Vtbl { SetAmount: SetAmount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2620,8 +2620,8 @@ impl IADsLargeInteger_Vtbl { SetLowPart: SetLowPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2717,8 +2717,8 @@ impl IADsLocality_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2780,8 +2780,8 @@ impl IADsMembers_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2858,8 +2858,8 @@ impl IADsNameTranslate_Vtbl { GetEx: GetEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2895,8 +2895,8 @@ impl IADsNamespaces_Vtbl { SetDefaultContainer: SetDefaultContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2952,8 +2952,8 @@ impl IADsNetAddress_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3089,8 +3089,8 @@ impl IADsO_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3246,8 +3246,8 @@ impl IADsOU_Vtbl { SetBusinessCategory: SetBusinessCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl IADsObjectOptions_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3320,8 +3320,8 @@ impl IADsOctetList_Vtbl { SetOctetList: SetOctetList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl IADsOpenDSObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OpenDSObject: OpenDSObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3424,8 +3424,8 @@ impl IADsPath_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3554,8 +3554,8 @@ impl IADsPathname_Vtbl { SetEscapedMode: SetEscapedMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3591,8 +3591,8 @@ impl IADsPostalAddress_Vtbl { SetPostalAddress: SetPostalAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3806,8 +3806,8 @@ impl IADsPrintJob_Vtbl { SetNotifyPath: SetNotifyPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3896,8 +3896,8 @@ impl IADsPrintJobOperations_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4173,8 +4173,8 @@ impl IADsPrintQueue_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4237,8 +4237,8 @@ impl IADsPrintQueueOperations_Vtbl { Purge: Purge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IADsProperty_Vtbl { Qualifiers: Qualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IADsPropertyEntry_Vtbl { SetValues: SetValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4569,8 +4569,8 @@ impl IADsPropertyList_Vtbl { PurgePropertyList: PurgePropertyList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4833,8 +4833,8 @@ impl IADsPropertyValue_Vtbl { SetUTCTime: SetUTCTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl IADsPropertyValue2_Vtbl { PutObjectProperty: PutObjectProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4981,8 +4981,8 @@ impl IADsReplicaPointer_Vtbl { SetReplicaAddressHints: SetReplicaAddressHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5050,8 +5050,8 @@ impl IADsResource_Vtbl { LockCount: LockCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5280,8 +5280,8 @@ impl IADsSecurityDescriptor_Vtbl { CopySecurityDescriptor: CopySecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5350,8 +5350,8 @@ impl IADsSecurityUtility_Vtbl { SetSecurityMask: SetSecurityMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl IADsService_Vtbl { SetDependencies: SetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5672,8 +5672,8 @@ impl IADsServiceOperations_Vtbl { SetPassword: SetPassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5767,8 +5767,8 @@ impl IADsSession_Vtbl { IdleTime: IdleTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5804,8 +5804,8 @@ impl IADsSyntax_Vtbl { SetOleAutoDataType: SetOleAutoDataType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5861,8 +5861,8 @@ impl IADsTimestamp_Vtbl { SetEventID: SetEventID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5938,8 +5938,8 @@ impl IADsTypedName_Vtbl { SetInterval: SetInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6880,8 +6880,8 @@ impl IADsUser_Vtbl { ChangePassword: ChangePassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6949,8 +6949,8 @@ impl IADsWinNTSystemInfo_Vtbl { PDC: PDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -6970,8 +6970,8 @@ impl ICommonQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenQueryWindow: OpenQueryWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7040,8 +7040,8 @@ impl IDirectoryObject_Vtbl { DeleteDSObject: DeleteDSObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7113,8 +7113,8 @@ impl IDirectorySchemaMgmt_Vtbl { DeleteClassDefinition: DeleteClassDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7206,8 +7206,8 @@ impl IDirectorySearch_Vtbl { CloseSearchHandle: CloseSearchHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7243,8 +7243,8 @@ impl IDsAdminCreateObj_Vtbl { CreateModal: CreateModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7274,8 +7274,8 @@ impl IDsAdminNewObj_Vtbl { GetPageCounts: GetPageCounts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7333,8 +7333,8 @@ impl IDsAdminNewObjExt_Vtbl { GetSummaryInfo: GetSummaryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -7361,8 +7361,8 @@ impl IDsAdminNewObjPrimarySite_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7406,8 +7406,8 @@ impl IDsAdminNotifyHandler_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7458,8 +7458,8 @@ impl IDsBrowseDomainTree_Vtbl { SetComputer: SetComputer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7552,8 +7552,8 @@ impl IDsDisplaySpecifier_Vtbl { GetAttributeADsType: GetAttributeADsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7589,8 +7589,8 @@ impl IDsObjectPicker_Vtbl { InvokeDialog: InvokeDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7610,8 +7610,8 @@ impl IDsObjectPickerCredentials_Vtbl { } Self { base__: IDsObjectPicker_Vtbl::new::(), SetCredentials: SetCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7676,8 +7676,8 @@ impl IPersistQuery_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7746,8 +7746,8 @@ impl IPrivateDispatch_Vtbl { ADSIInvoke: ADSIInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -7774,8 +7774,8 @@ impl IPrivateUnknown_Vtbl { ADSIReleaseObject: ADSIReleaseObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7812,7 +7812,7 @@ impl IQueryForm_Vtbl { AddPages: AddPages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index 8fab49bfdd..4e15527672 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -1546,6 +1546,7 @@ where #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADs { @@ -1622,30 +1623,10 @@ impl IADs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADs, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADs { type Vtable = IADs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd8256d0_fd15_11ce_abc4_02608c9e7553); } @@ -1686,6 +1667,7 @@ pub struct IADs_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsADSystemInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsADSystemInfo { @@ -1751,30 +1733,10 @@ impl IADsADSystemInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsADSystemInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsADSystemInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsADSystemInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsADSystemInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsADSystemInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsADSystemInfo { type Vtable = IADsADSystemInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsADSystemInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsADSystemInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bb11929_afd1_11d2_9cb9_0000f87a369e); } @@ -1806,6 +1768,7 @@ pub struct IADsADSystemInfo_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsAccessControlEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlEntry { @@ -1871,30 +1834,10 @@ impl IADsAccessControlEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsAccessControlEntry, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsAccessControlEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsAccessControlEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsAccessControlEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsAccessControlEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsAccessControlEntry { type Vtable = IADsAccessControlEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsAccessControlEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsAccessControlEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4f3a14c_9bdd_11d0_852c_00c04fd8d503); } @@ -1921,6 +1864,7 @@ pub struct IADsAccessControlEntry_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsAccessControlList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsAccessControlList { @@ -1968,30 +1912,10 @@ impl IADsAccessControlList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsAccessControlList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsAccessControlList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsAccessControlList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsAccessControlList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsAccessControlList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsAccessControlList { type Vtable = IADsAccessControlList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsAccessControlList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsAccessControlList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7ee91cc_9bdd_11d0_852c_00c04fd8d503); } @@ -2021,6 +1945,7 @@ pub struct IADsAccessControlList_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsAcl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsAcl { @@ -2061,30 +1986,10 @@ impl IADsAcl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsAcl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsAcl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsAcl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsAcl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsAcl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsAcl { type Vtable = IADsAcl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsAcl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsAcl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8452d3ab_0869_11d1_a377_00c04fb950dc); } @@ -2106,6 +2011,7 @@ pub struct IADsAcl_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsAggregatee(::windows_core::IUnknown); impl IADsAggregatee { pub unsafe fn ConnectAsAggregatee(&self, pouterunknown: P0) -> ::windows_core::Result<()> @@ -2125,25 +2031,9 @@ impl IADsAggregatee { } } ::windows_core::imp::interface_hierarchy!(IADsAggregatee, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IADsAggregatee { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IADsAggregatee {} -impl ::core::fmt::Debug for IADsAggregatee { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsAggregatee").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IADsAggregatee { type Vtable = IADsAggregatee_Vtbl; } -impl ::core::clone::Clone for IADsAggregatee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IADsAggregatee { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1346ce8c_9039_11d0_8528_00c04fd8d503); } @@ -2158,6 +2048,7 @@ pub struct IADsAggregatee_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsAggregator(::windows_core::IUnknown); impl IADsAggregator { pub unsafe fn ConnectAsAggregator(&self, paggregatee: P0) -> ::windows_core::Result<()> @@ -2171,25 +2062,9 @@ impl IADsAggregator { } } ::windows_core::imp::interface_hierarchy!(IADsAggregator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IADsAggregator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IADsAggregator {} -impl ::core::fmt::Debug for IADsAggregator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsAggregator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IADsAggregator { type Vtable = IADsAggregator_Vtbl; } -impl ::core::clone::Clone for IADsAggregator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IADsAggregator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52db5fb0_941f_11d0_8529_00c04fd8d503); } @@ -2203,6 +2078,7 @@ pub struct IADsAggregator_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsBackLink(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsBackLink { @@ -2227,30 +2103,10 @@ impl IADsBackLink { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsBackLink, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsBackLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsBackLink {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsBackLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsBackLink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsBackLink { type Vtable = IADsBackLink_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsBackLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsBackLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd1302bd_4080_11d1_a3ac_00c04fb950dc); } @@ -2267,6 +2123,7 @@ pub struct IADsBackLink_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsCaseIgnoreList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsCaseIgnoreList { @@ -2285,30 +2142,10 @@ impl IADsCaseIgnoreList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsCaseIgnoreList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsCaseIgnoreList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsCaseIgnoreList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsCaseIgnoreList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsCaseIgnoreList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsCaseIgnoreList { type Vtable = IADsCaseIgnoreList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsCaseIgnoreList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsCaseIgnoreList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b66b533_4680_11d1_a3b4_00c04fb950dc); } @@ -2329,6 +2166,7 @@ pub struct IADsCaseIgnoreList_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsClass(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsClass { @@ -2571,30 +2409,10 @@ impl IADsClass { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsClass, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsClass {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsClass").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsClass { type Vtable = IADsClass_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8f93dd0_4ae0_11cf_9e73_00aa004a5691); } @@ -2700,6 +2518,7 @@ pub struct IADsClass_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsCollection { @@ -2734,30 +2553,10 @@ impl IADsCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsCollection { type Vtable = IADsCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72b945e0_253b_11cf_a988_00aa006bc149); } @@ -2780,6 +2579,7 @@ pub struct IADsCollection_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsComputer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsComputer { @@ -3015,30 +2815,10 @@ impl IADsComputer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsComputer, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsComputer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsComputer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsComputer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsComputer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsComputer { type Vtable = IADsComputer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsComputer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsComputer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefe3cc70_1d9f_11cf_b1f3_02608c9e7553); } @@ -3089,6 +2869,7 @@ pub struct IADsComputer_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsComputerOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsComputerOperations { @@ -3179,30 +2960,10 @@ impl IADsComputerOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsComputerOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsComputerOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsComputerOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsComputerOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsComputerOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsComputerOperations { type Vtable = IADsComputerOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsComputerOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsComputerOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef497680_1d9f_11cf_b1f3_02608c9e7553); } @@ -3223,6 +2984,7 @@ pub struct IADsComputerOperations_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsContainer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsContainer { @@ -3307,30 +3069,10 @@ impl IADsContainer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsContainer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsContainer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsContainer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsContainer { type Vtable = IADsContainer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x001677d0_fd16_11ce_abc4_02608c9e7553); } @@ -3378,6 +3120,7 @@ pub struct IADsContainer_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsDNWithBinary(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsDNWithBinary { @@ -3406,30 +3149,10 @@ impl IADsDNWithBinary { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsDNWithBinary, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsDNWithBinary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsDNWithBinary {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsDNWithBinary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsDNWithBinary").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsDNWithBinary { type Vtable = IADsDNWithBinary_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsDNWithBinary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsDNWithBinary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e99c0a2_f935_11d2_ba96_00c04fb6d0d1); } @@ -3452,6 +3175,7 @@ pub struct IADsDNWithBinary_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsDNWithString(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsDNWithString { @@ -3479,30 +3203,10 @@ impl IADsDNWithString { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsDNWithString, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsDNWithString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsDNWithString {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsDNWithString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsDNWithString").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsDNWithString { type Vtable = IADsDNWithString_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsDNWithString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsDNWithString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x370df02e_f934_11d2_ba96_00c04fb6d0d1); } @@ -3519,6 +3223,7 @@ pub struct IADsDNWithString_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsDeleteOps(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsDeleteOps { @@ -3529,30 +3234,10 @@ impl IADsDeleteOps { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsDeleteOps, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsDeleteOps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsDeleteOps {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsDeleteOps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsDeleteOps").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsDeleteOps { type Vtable = IADsDeleteOps_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsDeleteOps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsDeleteOps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2bd0902_8878_11d1_8c21_00c04fd8d503); } @@ -3566,6 +3251,7 @@ pub struct IADsDeleteOps_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsDomain(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsDomain { @@ -3704,30 +3390,10 @@ impl IADsDomain { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsDomain, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsDomain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsDomain {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsDomain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsDomain").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsDomain { type Vtable = IADsDomain_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsDomain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsDomain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00e4c220_fd16_11ce_abc4_02608c9e7553); } @@ -3760,6 +3426,7 @@ pub struct IADsDomain_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsEmail(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsEmail { @@ -3784,30 +3451,10 @@ impl IADsEmail { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsEmail, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsEmail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsEmail {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsEmail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsEmail").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsEmail { type Vtable = IADsEmail_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsEmail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsEmail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97af011a_478e_11d1_a3b4_00c04fb950dc); } @@ -3823,6 +3470,7 @@ pub struct IADsEmail_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsExtension(::windows_core::IUnknown); impl IADsExtension { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3841,25 +3489,9 @@ impl IADsExtension { } } ::windows_core::imp::interface_hierarchy!(IADsExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IADsExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IADsExtension {} -impl ::core::fmt::Debug for IADsExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IADsExtension { type Vtable = IADsExtension_Vtbl; } -impl ::core::clone::Clone for IADsExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IADsExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d35553c_d2b0_11d1_b17b_0000f87593a0); } @@ -3880,6 +3512,7 @@ pub struct IADsExtension_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsFaxNumber(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsFaxNumber { @@ -3908,30 +3541,10 @@ impl IADsFaxNumber { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsFaxNumber, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsFaxNumber { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsFaxNumber {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsFaxNumber { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsFaxNumber").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsFaxNumber { type Vtable = IADsFaxNumber_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsFaxNumber { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsFaxNumber { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa910dea9_4680_11d1_a3b4_00c04fb950dc); } @@ -3954,6 +3567,7 @@ pub struct IADsFaxNumber_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsFileService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsFileService { @@ -4159,30 +3773,10 @@ impl IADsFileService { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsFileService, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsService); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsFileService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsFileService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsFileService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsFileService").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsFileService { type Vtable = IADsFileService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsFileService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsFileService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa89d1900_31ca_11cf_a98a_00aa006bc149); } @@ -4199,6 +3793,7 @@ pub struct IADsFileService_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsFileServiceOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsFileServiceOperations { @@ -4309,30 +3904,10 @@ impl IADsFileServiceOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsFileServiceOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsServiceOperations); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsFileServiceOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsFileServiceOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsFileServiceOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsFileServiceOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsFileServiceOperations { type Vtable = IADsFileServiceOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsFileServiceOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsFileServiceOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa02ded10_31ca_11cf_a98a_00aa006bc149); } @@ -4353,6 +3928,7 @@ pub struct IADsFileServiceOperations_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsFileShare(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsFileShare { @@ -4470,30 +4046,10 @@ impl IADsFileShare { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsFileShare, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsFileShare { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsFileShare {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsFileShare { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsFileShare").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsFileShare { type Vtable = IADsFileShare_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsFileShare { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsFileShare { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb6dcaf0_4b83_11cf_a995_00aa006bc149); } @@ -4515,6 +4071,7 @@ pub struct IADsFileShare_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsGroup { @@ -4628,30 +4185,10 @@ impl IADsGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsGroup { type Vtable = IADsGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27636b00_410f_11cf_b1ff_02608c9e7553); } @@ -4676,6 +4213,7 @@ pub struct IADsGroup_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsHold(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsHold { @@ -4700,30 +4238,10 @@ impl IADsHold { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsHold, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsHold { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsHold {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsHold { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsHold").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsHold { type Vtable = IADsHold_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsHold { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsHold { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3eb3b37_4080_11d1_a3ac_00c04fb950dc); } @@ -4740,6 +4258,7 @@ pub struct IADsHold_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsLargeInteger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsLargeInteger { @@ -4761,30 +4280,10 @@ impl IADsLargeInteger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsLargeInteger, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsLargeInteger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsLargeInteger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsLargeInteger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsLargeInteger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsLargeInteger { type Vtable = IADsLargeInteger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsLargeInteger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsLargeInteger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9068270b_0939_11d1_8be1_00c04fd8d503); } @@ -4801,6 +4300,7 @@ pub struct IADsLargeInteger_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsLocality(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsLocality { @@ -4918,30 +4418,10 @@ impl IADsLocality { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsLocality, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsLocality { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsLocality {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsLocality { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsLocality").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsLocality { type Vtable = IADsLocality_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsLocality { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsLocality { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa05e03a2_effe_11cf_8abc_00c04fd8d503); } @@ -4968,6 +4448,7 @@ pub struct IADsLocality_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsMembers(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsMembers { @@ -4994,30 +4475,10 @@ impl IADsMembers { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsMembers, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsMembers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsMembers {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsMembers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsMembers").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsMembers { type Vtable = IADsMembers_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsMembers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsMembers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x451a0030_72ec_11cf_b03b_00aa006e0975); } @@ -5040,6 +4501,7 @@ pub struct IADsMembers_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsNameTranslate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsNameTranslate { @@ -5086,30 +4548,10 @@ impl IADsNameTranslate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsNameTranslate, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsNameTranslate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsNameTranslate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsNameTranslate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsNameTranslate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsNameTranslate { type Vtable = IADsNameTranslate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsNameTranslate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsNameTranslate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1b272a3_3625_11d1_a3a4_00c04fb950dc); } @@ -5135,6 +4577,7 @@ pub struct IADsNameTranslate_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsNamespaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsNamespaces { @@ -5221,30 +4664,10 @@ impl IADsNamespaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsNamespaces, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsNamespaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsNamespaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsNamespaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsNamespaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsNamespaces { type Vtable = IADsNamespaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsNamespaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsNamespaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28b96ba0_b330_11cf_a9ad_00aa006bc149); } @@ -5259,6 +4682,7 @@ pub struct IADsNamespaces_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsNetAddress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsNetAddress { @@ -5284,30 +4708,10 @@ impl IADsNetAddress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsNetAddress, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsNetAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsNetAddress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsNetAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsNetAddress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsNetAddress { type Vtable = IADsNetAddress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsNetAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsNetAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb21a50a9_4080_11d1_a3ac_00c04fb950dc); } @@ -5330,6 +4734,7 @@ pub struct IADsNetAddress_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsO(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsO { @@ -5467,30 +4872,10 @@ impl IADsO { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsO, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsO {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsO").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsO { type Vtable = IADsO_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1cd2dc6_effe_11cf_8abc_00c04fd8d503); } @@ -5521,6 +4906,7 @@ pub struct IADsO_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsOU(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsOU { @@ -5668,30 +5054,10 @@ impl IADsOU { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsOU, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsOU { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsOU {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsOU { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsOU").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsOU { type Vtable = IADsOU_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsOU { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsOU { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2f733b8_effe_11cf_8abc_00c04fd8d503); } @@ -5724,6 +5090,7 @@ pub struct IADsOU_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsObjectOptions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsObjectOptions { @@ -5740,32 +5107,12 @@ impl IADsObjectOptions { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IADsObjectOptions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsObjectOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsObjectOptions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsObjectOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsObjectOptions").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IADsObjectOptions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsObjectOptions { type Vtable = IADsObjectOptions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsObjectOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsObjectOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46f14fda_232b_11d1_a808_00c04fd8d5a8); } @@ -5786,6 +5133,7 @@ pub struct IADsObjectOptions_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsOctetList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsOctetList { @@ -5804,30 +5152,10 @@ impl IADsOctetList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsOctetList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsOctetList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsOctetList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsOctetList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsOctetList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsOctetList { type Vtable = IADsOctetList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsOctetList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsOctetList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b28b80f_4680_11d1_a3b4_00c04fb950dc); } @@ -5848,6 +5176,7 @@ pub struct IADsOctetList_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsOpenDSObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsOpenDSObject { @@ -5866,30 +5195,10 @@ impl IADsOpenDSObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsOpenDSObject, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsOpenDSObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsOpenDSObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsOpenDSObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsOpenDSObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsOpenDSObject { type Vtable = IADsOpenDSObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsOpenDSObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsOpenDSObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddf2891e_0f9c_11d0_8ad4_00c04fd8d503); } @@ -5906,6 +5215,7 @@ pub struct IADsOpenDSObject_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPath(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPath { @@ -5940,30 +5250,10 @@ impl IADsPath { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPath, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPath {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPath").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPath { type Vtable = IADsPath_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb287fcd5_4080_11d1_a3ac_00c04fb950dc); } @@ -5982,6 +5272,7 @@ pub struct IADsPath_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPathname(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPathname { @@ -6039,30 +5330,10 @@ impl IADsPathname { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPathname, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPathname { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPathname {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPathname { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPathname").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPathname { type Vtable = IADsPathname_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPathname { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPathname { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd592aed4_f420_11d0_a36e_00c04fb950dc); } @@ -6089,6 +5360,7 @@ pub struct IADsPathname_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPostalAddress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPostalAddress { @@ -6107,30 +5379,10 @@ impl IADsPostalAddress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPostalAddress, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPostalAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPostalAddress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPostalAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPostalAddress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPostalAddress { type Vtable = IADsPostalAddress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPostalAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPostalAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7adecf29_4680_11d1_a3b4_00c04fb950dc); } @@ -6151,6 +5403,7 @@ pub struct IADsPostalAddress_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPrintJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPrintJob { @@ -6302,30 +5555,10 @@ impl IADsPrintJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPrintJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPrintJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPrintJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPrintJob { type Vtable = IADsPrintJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32fb6780_1ed0_11cf_a988_00aa006bc149); } @@ -6356,6 +5589,7 @@ pub struct IADsPrintJob_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPrintJobOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPrintJobOperations { @@ -6457,30 +5691,10 @@ impl IADsPrintJobOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPrintJobOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPrintJobOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPrintJobOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPrintJobOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPrintJobOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPrintJobOperations { type Vtable = IADsPrintJobOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPrintJobOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPrintJobOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a52db30_1ecf_11cf_a988_00aa006bc149); } @@ -6500,6 +5714,7 @@ pub struct IADsPrintJobOperations_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPrintQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPrintQueue { @@ -6696,30 +5911,10 @@ impl IADsPrintQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPrintQueue, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPrintQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPrintQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPrintQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPrintQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPrintQueue { type Vtable = IADsPrintQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPrintQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPrintQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb15160d0_1226_11cf_a985_00aa006bc149); } @@ -6770,6 +5965,7 @@ pub struct IADsPrintQueue_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPrintQueueOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPrintQueueOperations { @@ -6865,30 +6061,10 @@ impl IADsPrintQueueOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPrintQueueOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPrintQueueOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPrintQueueOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPrintQueueOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPrintQueueOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPrintQueueOperations { type Vtable = IADsPrintQueueOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPrintQueueOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPrintQueueOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x124be5c0_156e_11cf_a986_00aa006bc149); } @@ -6909,6 +6085,7 @@ pub struct IADsPrintQueueOperations_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsProperty { @@ -7039,30 +6216,10 @@ impl IADsProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsProperty { type Vtable = IADsProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8f93dd3_4ae0_11cf_9e73_00aa004a5691); } @@ -7095,6 +6252,7 @@ pub struct IADsProperty_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPropertyEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyEntry { @@ -7140,30 +6298,10 @@ impl IADsPropertyEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPropertyEntry, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPropertyEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPropertyEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPropertyEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPropertyEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPropertyEntry { type Vtable = IADsPropertyEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPropertyEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPropertyEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05792c8e_941f_11d0_8529_00c04fd8d503); } @@ -7191,6 +6329,7 @@ pub struct IADsPropertyEntry_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPropertyList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyList { @@ -7241,30 +6380,10 @@ impl IADsPropertyList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPropertyList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPropertyList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPropertyList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPropertyList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPropertyList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPropertyList { type Vtable = IADsPropertyList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPropertyList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPropertyList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6f602b6_8f69_11d0_8528_00c04fd8d503); } @@ -7301,6 +6420,7 @@ pub struct IADsPropertyList_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPropertyValue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyValue { @@ -7428,30 +6548,10 @@ impl IADsPropertyValue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPropertyValue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPropertyValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPropertyValue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPropertyValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPropertyValue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPropertyValue { type Vtable = IADsPropertyValue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPropertyValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPropertyValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79fa9ad0_a97c_11d0_8534_00c04fd8d503); } @@ -7507,6 +6607,7 @@ pub struct IADsPropertyValue_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsPropertyValue2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsPropertyValue2 { @@ -7524,30 +6625,10 @@ impl IADsPropertyValue2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsPropertyValue2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsPropertyValue2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsPropertyValue2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsPropertyValue2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsPropertyValue2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsPropertyValue2 { type Vtable = IADsPropertyValue2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsPropertyValue2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsPropertyValue2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x306e831c_5bc7_11d1_a3b8_00c04fb950dc); } @@ -7568,6 +6649,7 @@ pub struct IADsPropertyValue2_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsReplicaPointer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsReplicaPointer { @@ -7617,30 +6699,10 @@ impl IADsReplicaPointer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsReplicaPointer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsReplicaPointer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsReplicaPointer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsReplicaPointer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsReplicaPointer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsReplicaPointer { type Vtable = IADsReplicaPointer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsReplicaPointer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsReplicaPointer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf60fb803_4080_11d1_a3ac_00c04fb950dc); } @@ -7669,6 +6731,7 @@ pub struct IADsReplicaPointer_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsResource(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsResource { @@ -7761,30 +6824,10 @@ impl IADsResource { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsResource, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsResource {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsResource").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsResource { type Vtable = IADsResource_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34a05b20_4aab_11cf_ae2c_00aa006ebfb9); } @@ -7801,6 +6844,7 @@ pub struct IADsResource_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsSecurityDescriptor(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsSecurityDescriptor { @@ -7932,30 +6976,10 @@ impl IADsSecurityDescriptor { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsSecurityDescriptor, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsSecurityDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsSecurityDescriptor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsSecurityDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsSecurityDescriptor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsSecurityDescriptor { type Vtable = IADsSecurityDescriptor_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsSecurityDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsSecurityDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8c787ca_9bdd_11d0_852c_00c04fd8d503); } @@ -8028,6 +7052,7 @@ pub struct IADsSecurityDescriptor_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsSecurityUtility(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsSecurityUtility { @@ -8059,30 +7084,10 @@ impl IADsSecurityUtility { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsSecurityUtility, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsSecurityUtility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsSecurityUtility {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsSecurityUtility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsSecurityUtility").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsSecurityUtility { type Vtable = IADsSecurityUtility_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsSecurityUtility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsSecurityUtility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa63251b2_5f21_474b_ab52_4a8efad10895); } @@ -8109,6 +7114,7 @@ pub struct IADsSecurityUtility_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsService { @@ -8290,37 +7296,17 @@ impl IADsService { } #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] - pub unsafe fn SetDependencies(&self, vdependencies: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).SetDependencies)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(vdependencies)).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IADsService, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsService").field(&self.0).finish() + pub unsafe fn SetDependencies(&self, vdependencies: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetDependencies)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(vdependencies)).ok() } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IADsService, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsService { type Vtable = IADsService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68af66e0_31ca_11cf_a98a_00aa006bc149); } @@ -8363,6 +7349,7 @@ pub struct IADsService_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsServiceOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsServiceOperations { @@ -8461,30 +7448,10 @@ impl IADsServiceOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsServiceOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsServiceOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsServiceOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsServiceOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsServiceOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsServiceOperations { type Vtable = IADsServiceOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsServiceOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsServiceOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d7b33f0_31ca_11cf_a98a_00aa006bc149); } @@ -8503,6 +7470,7 @@ pub struct IADsServiceOperations_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsSession { @@ -8603,30 +7571,10 @@ impl IADsSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsSession, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsSession { type Vtable = IADsSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x398b7da0_4aab_11cf_ae2c_00aa006ebfb9); } @@ -8645,6 +7593,7 @@ pub struct IADsSession_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsSyntax(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsSyntax { @@ -8728,30 +7677,10 @@ impl IADsSyntax { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsSyntax, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsSyntax { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsSyntax {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsSyntax { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsSyntax").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsSyntax { type Vtable = IADsSyntax_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsSyntax { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsSyntax { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8f93dd2_4ae0_11cf_9e73_00aa004a5691); } @@ -8766,6 +7695,7 @@ pub struct IADsSyntax_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsTimestamp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsTimestamp { @@ -8787,30 +7717,10 @@ impl IADsTimestamp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsTimestamp, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsTimestamp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsTimestamp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsTimestamp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsTimestamp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsTimestamp { type Vtable = IADsTimestamp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsTimestamp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsTimestamp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2f5a901_4080_11d1_a3ac_00c04fb950dc); } @@ -8827,6 +7737,7 @@ pub struct IADsTimestamp_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsTypedName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsTypedName { @@ -8858,30 +7769,10 @@ impl IADsTypedName { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsTypedName, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsTypedName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsTypedName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsTypedName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsTypedName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsTypedName { type Vtable = IADsTypedName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsTypedName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsTypedName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb371a349_4080_11d1_a3ac_00c04fb950dc); } @@ -8900,6 +7791,7 @@ pub struct IADsTypedName_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsUser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsUser { @@ -9437,30 +8329,10 @@ impl IADsUser { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsUser, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsUser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsUser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsUser { type Vtable = IADsUser_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e37e320_17e2_11cf_abc4_02608c9e7553); } @@ -9669,6 +8541,7 @@ pub struct IADsUser_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsWinNTSystemInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsWinNTSystemInfo { @@ -9692,30 +8565,10 @@ impl IADsWinNTSystemInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsWinNTSystemInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsWinNTSystemInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsWinNTSystemInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsWinNTSystemInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsWinNTSystemInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsWinNTSystemInfo { type Vtable = IADsWinNTSystemInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsWinNTSystemInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsWinNTSystemInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c6d65dc_afd1_11d2_9cb9_0000f87a369e); } @@ -9731,6 +8584,7 @@ pub struct IADsWinNTSystemInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommonQuery(::windows_core::IUnknown); impl ICommonQuery { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -9743,25 +8597,9 @@ impl ICommonQuery { } } ::windows_core::imp::interface_hierarchy!(ICommonQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommonQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommonQuery {} -impl ::core::fmt::Debug for ICommonQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommonQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommonQuery { type Vtable = ICommonQuery_Vtbl; } -impl ::core::clone::Clone for ICommonQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommonQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab50dec0_6f1d_11d0_a1c4_00aa00c16e65); } @@ -9776,6 +8614,7 @@ pub struct ICommonQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectoryObject(::windows_core::IUnknown); impl IDirectoryObject { pub unsafe fn GetObjectInformation(&self) -> ::windows_core::Result<*mut ADS_OBJECT_INFO> { @@ -9810,25 +8649,9 @@ impl IDirectoryObject { } } ::windows_core::imp::interface_hierarchy!(IDirectoryObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectoryObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectoryObject {} -impl ::core::fmt::Debug for IDirectoryObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectoryObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectoryObject { type Vtable = IDirectoryObject_Vtbl; } -impl ::core::clone::Clone for IDirectoryObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectoryObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe798de2c_22e4_11d0_84fe_00c04fd8d503); } @@ -9853,6 +8676,7 @@ pub struct IDirectoryObject_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectorySchemaMgmt(::windows_core::IUnknown); impl IDirectorySchemaMgmt { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9911,25 +8735,9 @@ impl IDirectorySchemaMgmt { } } ::windows_core::imp::interface_hierarchy!(IDirectorySchemaMgmt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectorySchemaMgmt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectorySchemaMgmt {} -impl ::core::fmt::Debug for IDirectorySchemaMgmt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectorySchemaMgmt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectorySchemaMgmt { type Vtable = IDirectorySchemaMgmt_Vtbl; } -impl ::core::clone::Clone for IDirectorySchemaMgmt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectorySchemaMgmt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75db3b9c_a4d8_11d0_a79c_00c04fd8d5a8); } @@ -9966,6 +8774,7 @@ pub struct IDirectorySchemaMgmt_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectorySearch(::windows_core::IUnknown); impl IDirectorySearch { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10032,25 +8841,9 @@ impl IDirectorySearch { } } ::windows_core::imp::interface_hierarchy!(IDirectorySearch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectorySearch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectorySearch {} -impl ::core::fmt::Debug for IDirectorySearch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectorySearch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectorySearch { type Vtable = IDirectorySearch_Vtbl; } -impl ::core::clone::Clone for IDirectorySearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectorySearch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x109ba8ec_92f0_11d0_a790_00c04fd8d5a8); } @@ -10080,6 +8873,7 @@ pub struct IDirectorySearch_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsAdminCreateObj(::windows_core::IUnknown); impl IDsAdminCreateObj { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10103,25 +8897,9 @@ impl IDsAdminCreateObj { } } ::windows_core::imp::interface_hierarchy!(IDsAdminCreateObj, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsAdminCreateObj { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsAdminCreateObj {} -impl ::core::fmt::Debug for IDsAdminCreateObj { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsAdminCreateObj").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsAdminCreateObj { type Vtable = IDsAdminCreateObj_Vtbl; } -impl ::core::clone::Clone for IDsAdminCreateObj { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsAdminCreateObj { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53554a38_f902_11d2_82b9_00c04f68928b); } @@ -10140,6 +8918,7 @@ pub struct IDsAdminCreateObj_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsAdminNewObj(::windows_core::IUnknown); impl IDsAdminNewObj { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10155,25 +8934,9 @@ impl IDsAdminNewObj { } } ::windows_core::imp::interface_hierarchy!(IDsAdminNewObj, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsAdminNewObj { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsAdminNewObj {} -impl ::core::fmt::Debug for IDsAdminNewObj { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsAdminNewObj").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsAdminNewObj { type Vtable = IDsAdminNewObj_Vtbl; } -impl ::core::clone::Clone for IDsAdminNewObj { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsAdminNewObj { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2573587_e6fc_11d2_82af_00c04f68928b); } @@ -10189,6 +8952,7 @@ pub struct IDsAdminNewObj_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsAdminNewObjExt(::windows_core::IUnknown); impl IDsAdminNewObjExt { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -10239,25 +9003,9 @@ impl IDsAdminNewObjExt { } } ::windows_core::imp::interface_hierarchy!(IDsAdminNewObjExt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsAdminNewObjExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsAdminNewObjExt {} -impl ::core::fmt::Debug for IDsAdminNewObjExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsAdminNewObjExt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsAdminNewObjExt { type Vtable = IDsAdminNewObjExt_Vtbl; } -impl ::core::clone::Clone for IDsAdminNewObjExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsAdminNewObjExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6088eae2_e7bf_11d2_82af_00c04f68928b); } @@ -10289,6 +9037,7 @@ pub struct IDsAdminNewObjExt_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsAdminNewObjPrimarySite(::windows_core::IUnknown); impl IDsAdminNewObjPrimarySite { pub unsafe fn CreateNew(&self, pszname: P0) -> ::windows_core::Result<()> @@ -10302,25 +9051,9 @@ impl IDsAdminNewObjPrimarySite { } } ::windows_core::imp::interface_hierarchy!(IDsAdminNewObjPrimarySite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsAdminNewObjPrimarySite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsAdminNewObjPrimarySite {} -impl ::core::fmt::Debug for IDsAdminNewObjPrimarySite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsAdminNewObjPrimarySite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsAdminNewObjPrimarySite { type Vtable = IDsAdminNewObjPrimarySite_Vtbl; } -impl ::core::clone::Clone for IDsAdminNewObjPrimarySite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsAdminNewObjPrimarySite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe2b487e_f904_11d2_82b9_00c04f68928b); } @@ -10333,6 +9066,7 @@ pub struct IDsAdminNewObjPrimarySite_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsAdminNotifyHandler(::windows_core::IUnknown); impl IDsAdminNotifyHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10360,25 +9094,9 @@ impl IDsAdminNotifyHandler { } } ::windows_core::imp::interface_hierarchy!(IDsAdminNotifyHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsAdminNotifyHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsAdminNotifyHandler {} -impl ::core::fmt::Debug for IDsAdminNotifyHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsAdminNotifyHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsAdminNotifyHandler { type Vtable = IDsAdminNotifyHandler_Vtbl; } -impl ::core::clone::Clone for IDsAdminNotifyHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsAdminNotifyHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4a2b8b3_5a18_11d2_97c1_00a0c9a06d2d); } @@ -10399,6 +9117,7 @@ pub struct IDsAdminNotifyHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsBrowseDomainTree(::windows_core::IUnknown); impl IDsBrowseDomainTree { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10432,25 +9151,9 @@ impl IDsBrowseDomainTree { } } ::windows_core::imp::interface_hierarchy!(IDsBrowseDomainTree, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsBrowseDomainTree { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsBrowseDomainTree {} -impl ::core::fmt::Debug for IDsBrowseDomainTree { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsBrowseDomainTree").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsBrowseDomainTree { type Vtable = IDsBrowseDomainTree_Vtbl; } -impl ::core::clone::Clone for IDsBrowseDomainTree { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsBrowseDomainTree { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cabcf1e_78f5_11d2_960c_00c04fa31a86); } @@ -10475,6 +9178,7 @@ pub struct IDsBrowseDomainTree_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsDisplaySpecifier(::windows_core::IUnknown); impl IDsDisplaySpecifier { pub unsafe fn SetServer(&self, pszserver: P0, pszusername: P1, pszpassword: P2, dwflags: u32) -> ::windows_core::Result<()> @@ -10553,25 +9257,9 @@ impl IDsDisplaySpecifier { } } ::windows_core::imp::interface_hierarchy!(IDsDisplaySpecifier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsDisplaySpecifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsDisplaySpecifier {} -impl ::core::fmt::Debug for IDsDisplaySpecifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsDisplaySpecifier").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsDisplaySpecifier { type Vtable = IDsDisplaySpecifier_Vtbl; } -impl ::core::clone::Clone for IDsDisplaySpecifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsDisplaySpecifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ab4a8c0_6a0b_11d2_ad49_00c04fa31a86); } @@ -10602,6 +9290,7 @@ pub struct IDsDisplaySpecifier_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsObjectPicker(::windows_core::IUnknown); impl IDsObjectPicker { pub unsafe fn Initialize(&self, pinitinfo: *mut DSOP_INIT_INFO) -> ::windows_core::Result<()> { @@ -10618,25 +9307,9 @@ impl IDsObjectPicker { } } ::windows_core::imp::interface_hierarchy!(IDsObjectPicker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDsObjectPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsObjectPicker {} -impl ::core::fmt::Debug for IDsObjectPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsObjectPicker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsObjectPicker { type Vtable = IDsObjectPicker_Vtbl; } -impl ::core::clone::Clone for IDsObjectPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsObjectPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c87e64e_3b7a_11d2_b9e0_00c04fd8dbf7); } @@ -10652,6 +9325,7 @@ pub struct IDsObjectPicker_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDsObjectPickerCredentials(::windows_core::IUnknown); impl IDsObjectPickerCredentials { pub unsafe fn Initialize(&self, pinitinfo: *mut DSOP_INIT_INFO) -> ::windows_core::Result<()> { @@ -10675,25 +9349,9 @@ impl IDsObjectPickerCredentials { } } ::windows_core::imp::interface_hierarchy!(IDsObjectPickerCredentials, ::windows_core::IUnknown, IDsObjectPicker); -impl ::core::cmp::PartialEq for IDsObjectPickerCredentials { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDsObjectPickerCredentials {} -impl ::core::fmt::Debug for IDsObjectPickerCredentials { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDsObjectPickerCredentials").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDsObjectPickerCredentials { type Vtable = IDsObjectPickerCredentials_Vtbl; } -impl ::core::clone::Clone for IDsObjectPickerCredentials { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDsObjectPickerCredentials { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2d3ec9b_d041_445a_8f16_4748de8fb1cf); } @@ -10706,6 +9364,7 @@ pub struct IDsObjectPickerCredentials_Vtbl { #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistQuery(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistQuery { @@ -10765,30 +9424,10 @@ impl IPersistQuery { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistQuery, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistQuery {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistQuery").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistQuery { type Vtable = IPersistQuery_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a3114b8_a62e_11d0_a6c5_00a0c906af45); } @@ -10807,6 +9446,7 @@ pub struct IPersistQuery_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrivateDispatch(::windows_core::IUnknown); impl IPrivateDispatch { pub unsafe fn ADSIInitializeDispatchManager(&self, dwextensionid: i32) -> ::windows_core::Result<()> { @@ -10833,25 +9473,9 @@ impl IPrivateDispatch { } } ::windows_core::imp::interface_hierarchy!(IPrivateDispatch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrivateDispatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrivateDispatch {} -impl ::core::fmt::Debug for IPrivateDispatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrivateDispatch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrivateDispatch { type Vtable = IPrivateDispatch_Vtbl; } -impl ::core::clone::Clone for IPrivateDispatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrivateDispatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86ab4bbe_65f6_11d1_8c13_00c04fd8d503); } @@ -10873,6 +9497,7 @@ pub struct IPrivateDispatch_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrivateUnknown(::windows_core::IUnknown); impl IPrivateUnknown { pub unsafe fn ADSIInitializeObject(&self, lpszusername: P0, lpszpassword: P1, lnreserved: i32) -> ::windows_core::Result<()> @@ -10887,25 +9512,9 @@ impl IPrivateUnknown { } } ::windows_core::imp::interface_hierarchy!(IPrivateUnknown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrivateUnknown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrivateUnknown {} -impl ::core::fmt::Debug for IPrivateUnknown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrivateUnknown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrivateUnknown { type Vtable = IPrivateUnknown_Vtbl; } -impl ::core::clone::Clone for IPrivateUnknown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrivateUnknown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89126bab_6ead_11d1_8c18_00c04fd8d503); } @@ -10918,6 +9527,7 @@ pub struct IPrivateUnknown_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryForm(::windows_core::IUnknown); impl IQueryForm { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -10946,25 +9556,9 @@ impl IQueryForm { } } ::windows_core::imp::interface_hierarchy!(IQueryForm, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryForm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryForm {} -impl ::core::fmt::Debug for IQueryForm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryForm").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryForm { type Vtable = IQueryForm_Vtbl; } -impl ::core::clone::Clone for IQueryForm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryForm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cfcee30_39bd_11d0_b8d1_00a024ab2dbb); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs index ae182aaf87..3256d6bdf8 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs @@ -50,8 +50,8 @@ impl AsyncIBackgroundCopyCallback_Vtbl { Finish_JobModification: Finish_JobModification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IBITSExtensionSetup_Vtbl { GetCleanupTask: GetCleanupTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl IBITSExtensionSetupFactory_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), GetObject: GetObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IBackgroundCopyCallback_Vtbl { JobModification: JobModification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -204,8 +204,8 @@ impl IBackgroundCopyCallback1_Vtbl { OnProgressEx: OnProgressEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IBackgroundCopyCallback2_Vtbl { } Self { base__: IBackgroundCopyCallback_Vtbl::new::(), FileTransferred: FileTransferred:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -240,8 +240,8 @@ impl IBackgroundCopyCallback3_Vtbl { } Self { base__: IBackgroundCopyCallback2_Vtbl::new::(), FileRangesTransferred: FileRangesTransferred:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -313,8 +313,8 @@ impl IBackgroundCopyError_Vtbl { GetProtocol: GetProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -363,8 +363,8 @@ impl IBackgroundCopyFile_Vtbl { GetProgress: GetProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IBackgroundCopyFile2_Vtbl { SetRemoteName: SetRemoteName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -457,8 +457,8 @@ impl IBackgroundCopyFile3_Vtbl { IsDownloadedFromPeer: IsDownloadedFromPeer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl IBackgroundCopyFile4_Vtbl { } Self { base__: IBackgroundCopyFile3_Vtbl::new::(), GetPeerDownloadStats: GetPeerDownloadStats:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -515,8 +515,8 @@ impl IBackgroundCopyFile5_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IBackgroundCopyFile6_Vtbl { GetFilledFileRanges: GetFilledFileRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -723,8 +723,8 @@ impl IBackgroundCopyGroup_Vtbl { SetNotificationPointer: SetNotificationPointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IBackgroundCopyJob_Vtbl { TakeOwnership: TakeOwnership::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1142,8 +1142,8 @@ impl IBackgroundCopyJob1_Vtbl { JobID: JobID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1221,8 +1221,8 @@ impl IBackgroundCopyJob2_Vtbl { RemoveCredentials: RemoveCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1272,8 +1272,8 @@ impl IBackgroundCopyJob3_Vtbl { GetFileACLFlags: GetFileACLFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1355,8 +1355,8 @@ impl IBackgroundCopyJob4_Vtbl { GetMaximumDownloadTime: GetMaximumDownloadTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1392,8 +1392,8 @@ impl IBackgroundCopyJob5_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1474,8 +1474,8 @@ impl IBackgroundCopyJobHttpOptions_Vtbl { GetSecurityFlags: GetSecurityFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1508,8 +1508,8 @@ impl IBackgroundCopyJobHttpOptions2_Vtbl { GetHttpMethod: GetHttpMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1536,8 +1536,8 @@ impl IBackgroundCopyJobHttpOptions3_Vtbl { MakeCustomHeadersWriteOnly: MakeCustomHeadersWriteOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1596,8 +1596,8 @@ impl IBackgroundCopyManager_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1649,8 +1649,8 @@ impl IBackgroundCopyQMgr_Vtbl { EnumGroups: EnumGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IBackgroundCopyServerCertificateValidationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ValidateServerCertificate: ValidateServerCertificate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1723,8 +1723,8 @@ impl IBitsPeer_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1871,8 +1871,8 @@ impl IBitsPeerCacheAdministration_Vtbl { DiscoverPeers: DiscoverPeers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1967,8 +1967,8 @@ impl IBitsPeerCacheRecord_Vtbl { GetFileRanges: GetFileRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2028,8 +2028,8 @@ impl IBitsTokenOptions_Vtbl { GetHelperTokenSid: GetHelperTokenSid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl IEnumBackgroundCopyFiles_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2150,8 +2150,8 @@ impl IEnumBackgroundCopyGroups_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2211,8 +2211,8 @@ impl IEnumBackgroundCopyJobs_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2272,8 +2272,8 @@ impl IEnumBackgroundCopyJobs1_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2333,8 +2333,8 @@ impl IEnumBitsPeerCacheRecords_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2394,7 +2394,7 @@ impl IEnumBitsPeers_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs index 93ec2f19e4..57f7448c66 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIBackgroundCopyCallback(::windows_core::IUnknown); impl AsyncIBackgroundCopyCallback { pub unsafe fn Begin_JobTransferred(&self, pjob: P0) -> ::windows_core::Result<()> @@ -32,25 +33,9 @@ impl AsyncIBackgroundCopyCallback { } } ::windows_core::imp::interface_hierarchy!(AsyncIBackgroundCopyCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIBackgroundCopyCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIBackgroundCopyCallback {} -impl ::core::fmt::Debug for AsyncIBackgroundCopyCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIBackgroundCopyCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIBackgroundCopyCallback { type Vtable = AsyncIBackgroundCopyCallback_Vtbl; } -impl ::core::clone::Clone for AsyncIBackgroundCopyCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIBackgroundCopyCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca29d251_b4bb_4679_a3d9_ae8006119d54); } @@ -68,6 +53,7 @@ pub struct AsyncIBackgroundCopyCallback_Vtbl { #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBITSExtensionSetup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBITSExtensionSetup { @@ -89,30 +75,10 @@ impl IBITSExtensionSetup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBITSExtensionSetup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBITSExtensionSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBITSExtensionSetup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBITSExtensionSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBITSExtensionSetup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBITSExtensionSetup { type Vtable = IBITSExtensionSetup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBITSExtensionSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBITSExtensionSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29cfbbf7_09e4_4b97_b0bc_f2287e3d8eb3); } @@ -129,6 +95,7 @@ pub struct IBITSExtensionSetup_Vtbl { #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBITSExtensionSetupFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBITSExtensionSetupFactory { @@ -145,30 +112,10 @@ impl IBITSExtensionSetupFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBITSExtensionSetupFactory, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBITSExtensionSetupFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBITSExtensionSetupFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBITSExtensionSetupFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBITSExtensionSetupFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBITSExtensionSetupFactory { type Vtable = IBITSExtensionSetupFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBITSExtensionSetupFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBITSExtensionSetupFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5d2d542_5503_4e64_8b48_72ef91a32ee1); } @@ -184,6 +131,7 @@ pub struct IBITSExtensionSetupFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyCallback(::windows_core::IUnknown); impl IBackgroundCopyCallback { pub unsafe fn JobTransferred(&self, pjob: P0) -> ::windows_core::Result<()> @@ -207,25 +155,9 @@ impl IBackgroundCopyCallback { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyCallback {} -impl ::core::fmt::Debug for IBackgroundCopyCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyCallback { type Vtable = IBackgroundCopyCallback_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97ea99c7_0186_4ad4_8df9_c5b4e0ed6b22); } @@ -239,6 +171,7 @@ pub struct IBackgroundCopyCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyCallback1(::windows_core::IUnknown); impl IBackgroundCopyCallback1 { pub unsafe fn OnStatus(&self, pgroup: P0, pjob: P1, dwfileindex: u32, dwstatus: u32, dwnumofretries: u32, dwwin32result: u32, dwtransportresult: u32) -> ::windows_core::Result<()> @@ -264,25 +197,9 @@ impl IBackgroundCopyCallback1 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyCallback1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyCallback1 {} -impl ::core::fmt::Debug for IBackgroundCopyCallback1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyCallback1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyCallback1 { type Vtable = IBackgroundCopyCallback1_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyCallback1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyCallback1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x084f6593_3800_4e08_9b59_99fa59addf82); } @@ -296,6 +213,7 @@ pub struct IBackgroundCopyCallback1_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyCallback2(::windows_core::IUnknown); impl IBackgroundCopyCallback2 { pub unsafe fn JobTransferred(&self, pjob: P0) -> ::windows_core::Result<()> @@ -326,25 +244,9 @@ impl IBackgroundCopyCallback2 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback2, ::windows_core::IUnknown, IBackgroundCopyCallback); -impl ::core::cmp::PartialEq for IBackgroundCopyCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyCallback2 {} -impl ::core::fmt::Debug for IBackgroundCopyCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyCallback2 { type Vtable = IBackgroundCopyCallback2_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdeac_489e_11d9_a9cd_000d56965251); } @@ -356,6 +258,7 @@ pub struct IBackgroundCopyCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyCallback3(::windows_core::IUnknown); impl IBackgroundCopyCallback3 { pub unsafe fn JobTransferred(&self, pjob: P0) -> ::windows_core::Result<()> @@ -393,25 +296,9 @@ impl IBackgroundCopyCallback3 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback3, ::windows_core::IUnknown, IBackgroundCopyCallback, IBackgroundCopyCallback2); -impl ::core::cmp::PartialEq for IBackgroundCopyCallback3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyCallback3 {} -impl ::core::fmt::Debug for IBackgroundCopyCallback3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyCallback3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyCallback3 { type Vtable = IBackgroundCopyCallback3_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyCallback3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyCallback3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98c97bd2_e32b_4ad8_a528_95fd8b16bd42); } @@ -423,6 +310,7 @@ pub struct IBackgroundCopyCallback3_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyError(::windows_core::IUnknown); impl IBackgroundCopyError { pub unsafe fn GetError(&self, pcontext: *mut BG_ERROR_CONTEXT, pcode: *mut ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -446,25 +334,9 @@ impl IBackgroundCopyError { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyError {} -impl ::core::fmt::Debug for IBackgroundCopyError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyError { type Vtable = IBackgroundCopyError_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19c613a0_fcb8_4f28_81ae_897c3d078f81); } @@ -480,6 +352,7 @@ pub struct IBackgroundCopyError_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile(::windows_core::IUnknown); impl IBackgroundCopyFile { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -497,25 +370,9 @@ impl IBackgroundCopyFile { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile {} -impl ::core::fmt::Debug for IBackgroundCopyFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile { type Vtable = IBackgroundCopyFile_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01b7bd23_fb88_4a77_8490_5891d3e4653a); } @@ -532,6 +389,7 @@ pub struct IBackgroundCopyFile_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile2(::windows_core::IUnknown); impl IBackgroundCopyFile2 { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -558,25 +416,9 @@ impl IBackgroundCopyFile2 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile2, ::windows_core::IUnknown, IBackgroundCopyFile); -impl ::core::cmp::PartialEq for IBackgroundCopyFile2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile2 {} -impl ::core::fmt::Debug for IBackgroundCopyFile2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile2 { type Vtable = IBackgroundCopyFile2_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83e81b93_0873_474d_8a8c_f2018b1a939c); } @@ -589,6 +431,7 @@ pub struct IBackgroundCopyFile2_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile3(::windows_core::IUnknown); impl IBackgroundCopyFile3 { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -639,25 +482,9 @@ impl IBackgroundCopyFile3 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile3, ::windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2); -impl ::core::cmp::PartialEq for IBackgroundCopyFile3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile3 {} -impl ::core::fmt::Debug for IBackgroundCopyFile3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile3 { type Vtable = IBackgroundCopyFile3_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdeaa_489e_11d9_a9cd_000d56965251); } @@ -681,6 +508,7 @@ pub struct IBackgroundCopyFile3_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile4(::windows_core::IUnknown); impl IBackgroundCopyFile4 { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -734,25 +562,9 @@ impl IBackgroundCopyFile4 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile4, ::windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3); -impl ::core::cmp::PartialEq for IBackgroundCopyFile4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile4 {} -impl ::core::fmt::Debug for IBackgroundCopyFile4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile4 { type Vtable = IBackgroundCopyFile4_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef7e0655_7888_4960_b0e5_730846e03492); } @@ -764,6 +576,7 @@ pub struct IBackgroundCopyFile4_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile5(::windows_core::IUnknown); impl IBackgroundCopyFile5 { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -824,25 +637,9 @@ impl IBackgroundCopyFile5 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile5, ::windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4); -impl ::core::cmp::PartialEq for IBackgroundCopyFile5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile5 {} -impl ::core::fmt::Debug for IBackgroundCopyFile5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile5 { type Vtable = IBackgroundCopyFile5_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85c1657f_dafc_40e8_8834_df18ea25717e); } @@ -855,6 +652,7 @@ pub struct IBackgroundCopyFile5_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyFile6(::windows_core::IUnknown); impl IBackgroundCopyFile6 { pub unsafe fn GetRemoteName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -924,25 +722,9 @@ impl IBackgroundCopyFile6 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyFile6, ::windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4, IBackgroundCopyFile5); -impl ::core::cmp::PartialEq for IBackgroundCopyFile6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyFile6 {} -impl ::core::fmt::Debug for IBackgroundCopyFile6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyFile6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyFile6 { type Vtable = IBackgroundCopyFile6_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyFile6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyFile6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf6784f7_d677_49fd_9368_cb47aee9d1ad); } @@ -956,6 +738,7 @@ pub struct IBackgroundCopyFile6_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyGroup(::windows_core::IUnknown); impl IBackgroundCopyGroup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1020,25 +803,9 @@ impl IBackgroundCopyGroup { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyGroup {} -impl ::core::fmt::Debug for IBackgroundCopyGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyGroup { type Vtable = IBackgroundCopyGroup_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ded80a7_53ea_424f_8a04_17fea9adc4f5); } @@ -1070,6 +837,7 @@ pub struct IBackgroundCopyGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob(::windows_core::IUnknown); impl IBackgroundCopyJob { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> ::windows_core::Result<()> { @@ -1203,25 +971,9 @@ impl IBackgroundCopyJob { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob {} -impl ::core::fmt::Debug for IBackgroundCopyJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob { type Vtable = IBackgroundCopyJob_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37668d37_507e_4160_9316_26306d150b12); } @@ -1267,6 +1019,7 @@ pub struct IBackgroundCopyJob_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob1(::windows_core::IUnknown); impl IBackgroundCopyJob1 { pub unsafe fn CancelJob(&self) -> ::windows_core::Result<()> { @@ -1299,25 +1052,9 @@ impl IBackgroundCopyJob1 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyJob1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob1 {} -impl ::core::fmt::Debug for IBackgroundCopyJob1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob1 { type Vtable = IBackgroundCopyJob1_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59f5553c_2031_4629_bb18_2645a6970947); } @@ -1336,6 +1073,7 @@ pub struct IBackgroundCopyJob1_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob2(::windows_core::IUnknown); impl IBackgroundCopyJob2 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> ::windows_core::Result<()> { @@ -1501,25 +1239,9 @@ impl IBackgroundCopyJob2 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob2, ::windows_core::IUnknown, IBackgroundCopyJob); -impl ::core::cmp::PartialEq for IBackgroundCopyJob2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob2 {} -impl ::core::fmt::Debug for IBackgroundCopyJob2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob2 { type Vtable = IBackgroundCopyJob2_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54b50739_686f_45eb_9dff_d6a9a0faa9af); } @@ -1538,6 +1260,7 @@ pub struct IBackgroundCopyJob2_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob3(::windows_core::IUnknown); impl IBackgroundCopyJob3 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> ::windows_core::Result<()> { @@ -1724,25 +1447,9 @@ impl IBackgroundCopyJob3 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob3, ::windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2); -impl ::core::cmp::PartialEq for IBackgroundCopyJob3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob3 {} -impl ::core::fmt::Debug for IBackgroundCopyJob3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob3 { type Vtable = IBackgroundCopyJob3_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x443c8934_90ff_48ed_bcde_26f5c7450042); } @@ -1757,6 +1464,7 @@ pub struct IBackgroundCopyJob3_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob4(::windows_core::IUnknown); impl IBackgroundCopyJob4 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> ::windows_core::Result<()> { @@ -1967,25 +1675,9 @@ impl IBackgroundCopyJob4 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob4, ::windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3); -impl ::core::cmp::PartialEq for IBackgroundCopyJob4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob4 {} -impl ::core::fmt::Debug for IBackgroundCopyJob4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob4 { type Vtable = IBackgroundCopyJob4_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdeae_489e_11d9_a9cd_000d56965251); } @@ -2005,6 +1697,7 @@ pub struct IBackgroundCopyJob4_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJob5(::windows_core::IUnknown); impl IBackgroundCopyJob5 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> ::windows_core::Result<()> { @@ -2226,25 +1919,9 @@ impl IBackgroundCopyJob5 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJob5, ::windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3, IBackgroundCopyJob4); -impl ::core::cmp::PartialEq for IBackgroundCopyJob5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJob5 {} -impl ::core::fmt::Debug for IBackgroundCopyJob5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJob5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJob5 { type Vtable = IBackgroundCopyJob5_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJob5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJob5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe847030c_bbba_4657_af6d_484aa42bf1fe); } @@ -2263,6 +1940,7 @@ pub struct IBackgroundCopyJob5_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJobHttpOptions(::windows_core::IUnknown); impl IBackgroundCopyJobHttpOptions { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> ::windows_core::Result<()> @@ -2303,25 +1981,9 @@ impl IBackgroundCopyJobHttpOptions { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJobHttpOptions {} -impl ::core::fmt::Debug for IBackgroundCopyJobHttpOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJobHttpOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJobHttpOptions { type Vtable = IBackgroundCopyJobHttpOptions_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJobHttpOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJobHttpOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1bd1079_9f01_4bdc_8036_f09b70095066); } @@ -2340,6 +2002,7 @@ pub struct IBackgroundCopyJobHttpOptions_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJobHttpOptions2(::windows_core::IUnknown); impl IBackgroundCopyJobHttpOptions2 { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> ::windows_core::Result<()> @@ -2390,25 +2053,9 @@ impl IBackgroundCopyJobHttpOptions2 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions2, ::windows_core::IUnknown, IBackgroundCopyJobHttpOptions); -impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJobHttpOptions2 {} -impl ::core::fmt::Debug for IBackgroundCopyJobHttpOptions2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJobHttpOptions2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJobHttpOptions2 { type Vtable = IBackgroundCopyJobHttpOptions2_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJobHttpOptions2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJobHttpOptions2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb591a192_a405_4fc3_8323_4c5c542578fc); } @@ -2421,6 +2068,7 @@ pub struct IBackgroundCopyJobHttpOptions2_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyJobHttpOptions3(::windows_core::IUnknown); impl IBackgroundCopyJobHttpOptions3 { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> ::windows_core::Result<()> @@ -2480,25 +2128,9 @@ impl IBackgroundCopyJobHttpOptions3 { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions3, ::windows_core::IUnknown, IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions2); -impl ::core::cmp::PartialEq for IBackgroundCopyJobHttpOptions3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyJobHttpOptions3 {} -impl ::core::fmt::Debug for IBackgroundCopyJobHttpOptions3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyJobHttpOptions3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyJobHttpOptions3 { type Vtable = IBackgroundCopyJobHttpOptions3_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyJobHttpOptions3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyJobHttpOptions3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a9263d3_fd4c_4eda_9b28_30132a4d4e3c); } @@ -2511,6 +2143,7 @@ pub struct IBackgroundCopyJobHttpOptions3_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyManager(::windows_core::IUnknown); impl IBackgroundCopyManager { pub unsafe fn CreateJob(&self, displayname: P0, r#type: BG_JOB_TYPE, pjobid: *mut ::windows_core::GUID, ppjob: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -2533,25 +2166,9 @@ impl IBackgroundCopyManager { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyManager {} -impl ::core::fmt::Debug for IBackgroundCopyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyManager { type Vtable = IBackgroundCopyManager_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ce34c0d_0dc9_4c1f_897c_daa1b78cee7c); } @@ -2566,6 +2183,7 @@ pub struct IBackgroundCopyManager_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyQMgr(::windows_core::IUnknown); impl IBackgroundCopyQMgr { pub unsafe fn CreateGroup(&self, guidgroupid: ::windows_core::GUID) -> ::windows_core::Result { @@ -2582,25 +2200,9 @@ impl IBackgroundCopyQMgr { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyQMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyQMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyQMgr {} -impl ::core::fmt::Debug for IBackgroundCopyQMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyQMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyQMgr { type Vtable = IBackgroundCopyQMgr_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyQMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyQMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16f41c69_09f5_41d2_8cd8_3c08c47bc8a8); } @@ -2614,6 +2216,7 @@ pub struct IBackgroundCopyQMgr_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBackgroundCopyServerCertificateValidationCallback(::windows_core::IUnknown); impl IBackgroundCopyServerCertificateValidationCallback { pub unsafe fn ValidateServerCertificate(&self, job: P0, file: P1, certdata: &[u8], certencodingtype: u32, certstoredata: &[u8]) -> ::windows_core::Result<()> @@ -2625,25 +2228,9 @@ impl IBackgroundCopyServerCertificateValidationCallback { } } ::windows_core::imp::interface_hierarchy!(IBackgroundCopyServerCertificateValidationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBackgroundCopyServerCertificateValidationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBackgroundCopyServerCertificateValidationCallback {} -impl ::core::fmt::Debug for IBackgroundCopyServerCertificateValidationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBackgroundCopyServerCertificateValidationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBackgroundCopyServerCertificateValidationCallback { type Vtable = IBackgroundCopyServerCertificateValidationCallback_Vtbl; } -impl ::core::clone::Clone for IBackgroundCopyServerCertificateValidationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBackgroundCopyServerCertificateValidationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cec0d02_def7_4158_813a_c32a46945ff7); } @@ -2655,6 +2242,7 @@ pub struct IBackgroundCopyServerCertificateValidationCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitsPeer(::windows_core::IUnknown); impl IBitsPeer { pub unsafe fn GetPeerName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -2675,25 +2263,9 @@ impl IBitsPeer { } } ::windows_core::imp::interface_hierarchy!(IBitsPeer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBitsPeer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitsPeer {} -impl ::core::fmt::Debug for IBitsPeer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitsPeer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBitsPeer { type Vtable = IBitsPeer_Vtbl; } -impl ::core::clone::Clone for IBitsPeer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitsPeer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdea2_489e_11d9_a9cd_000d56965251); } @@ -2713,6 +2285,7 @@ pub struct IBitsPeer_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitsPeerCacheAdministration(::windows_core::IUnknown); impl IBitsPeerCacheAdministration { pub unsafe fn GetMaximumCacheSize(&self) -> ::windows_core::Result { @@ -2768,25 +2341,9 @@ impl IBitsPeerCacheAdministration { } } ::windows_core::imp::interface_hierarchy!(IBitsPeerCacheAdministration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBitsPeerCacheAdministration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitsPeerCacheAdministration {} -impl ::core::fmt::Debug for IBitsPeerCacheAdministration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitsPeerCacheAdministration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBitsPeerCacheAdministration { type Vtable = IBitsPeerCacheAdministration_Vtbl; } -impl ::core::clone::Clone for IBitsPeerCacheAdministration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitsPeerCacheAdministration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdead_489e_11d9_a9cd_000d56965251); } @@ -2811,6 +2368,7 @@ pub struct IBitsPeerCacheAdministration_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitsPeerCacheRecord(::windows_core::IUnknown); impl IBitsPeerCacheRecord { pub unsafe fn GetId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2845,25 +2403,9 @@ impl IBitsPeerCacheRecord { } } ::windows_core::imp::interface_hierarchy!(IBitsPeerCacheRecord, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBitsPeerCacheRecord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitsPeerCacheRecord {} -impl ::core::fmt::Debug for IBitsPeerCacheRecord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitsPeerCacheRecord").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBitsPeerCacheRecord { type Vtable = IBitsPeerCacheRecord_Vtbl; } -impl ::core::clone::Clone for IBitsPeerCacheRecord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitsPeerCacheRecord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdeaf_489e_11d9_a9cd_000d56965251); } @@ -2887,6 +2429,7 @@ pub struct IBitsPeerCacheRecord_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBitsTokenOptions(::windows_core::IUnknown); impl IBitsTokenOptions { pub unsafe fn SetHelperTokenFlags(&self, usageflags: BG_TOKEN) -> ::windows_core::Result<()> { @@ -2908,25 +2451,9 @@ impl IBitsTokenOptions { } } ::windows_core::imp::interface_hierarchy!(IBitsTokenOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBitsTokenOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBitsTokenOptions {} -impl ::core::fmt::Debug for IBitsTokenOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBitsTokenOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBitsTokenOptions { type Vtable = IBitsTokenOptions_Vtbl; } -impl ::core::clone::Clone for IBitsTokenOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBitsTokenOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a2584c3_f7d2_457a_9a5e_22b67bffc7d2); } @@ -2942,6 +2469,7 @@ pub struct IBitsTokenOptions_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBackgroundCopyFiles(::windows_core::IUnknown); impl IEnumBackgroundCopyFiles { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2963,25 +2491,9 @@ impl IEnumBackgroundCopyFiles { } } ::windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyFiles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBackgroundCopyFiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBackgroundCopyFiles {} -impl ::core::fmt::Debug for IEnumBackgroundCopyFiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBackgroundCopyFiles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBackgroundCopyFiles { type Vtable = IEnumBackgroundCopyFiles_Vtbl; } -impl ::core::clone::Clone for IEnumBackgroundCopyFiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBackgroundCopyFiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca51e165_c365_424c_8d41_24aaa4ff3c40); } @@ -2997,6 +2509,7 @@ pub struct IEnumBackgroundCopyFiles_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBackgroundCopyGroups(::windows_core::IUnknown); impl IEnumBackgroundCopyGroups { pub unsafe fn Next(&self, rgelt: &mut [::windows_core::GUID], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3018,25 +2531,9 @@ impl IEnumBackgroundCopyGroups { } } ::windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyGroups, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBackgroundCopyGroups { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBackgroundCopyGroups {} -impl ::core::fmt::Debug for IEnumBackgroundCopyGroups { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBackgroundCopyGroups").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBackgroundCopyGroups { type Vtable = IEnumBackgroundCopyGroups_Vtbl; } -impl ::core::clone::Clone for IEnumBackgroundCopyGroups { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBackgroundCopyGroups { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd993e603_4aa4_47c5_8665_c20d39c2ba4f); } @@ -3052,6 +2549,7 @@ pub struct IEnumBackgroundCopyGroups_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBackgroundCopyJobs(::windows_core::IUnknown); impl IEnumBackgroundCopyJobs { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3073,25 +2571,9 @@ impl IEnumBackgroundCopyJobs { } } ::windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBackgroundCopyJobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBackgroundCopyJobs {} -impl ::core::fmt::Debug for IEnumBackgroundCopyJobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBackgroundCopyJobs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBackgroundCopyJobs { type Vtable = IEnumBackgroundCopyJobs_Vtbl; } -impl ::core::clone::Clone for IEnumBackgroundCopyJobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBackgroundCopyJobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1af4f612_3b71_466f_8f58_7b6f73ac57ad); } @@ -3107,6 +2589,7 @@ pub struct IEnumBackgroundCopyJobs_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBackgroundCopyJobs1(::windows_core::IUnknown); impl IEnumBackgroundCopyJobs1 { pub unsafe fn Next(&self, rgelt: &mut [::windows_core::GUID], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3128,25 +2611,9 @@ impl IEnumBackgroundCopyJobs1 { } } ::windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBackgroundCopyJobs1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBackgroundCopyJobs1 {} -impl ::core::fmt::Debug for IEnumBackgroundCopyJobs1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBackgroundCopyJobs1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBackgroundCopyJobs1 { type Vtable = IEnumBackgroundCopyJobs1_Vtbl; } -impl ::core::clone::Clone for IEnumBackgroundCopyJobs1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBackgroundCopyJobs1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8baeba9d_8f1c_42c4_b82c_09ae79980d25); } @@ -3162,6 +2629,7 @@ pub struct IEnumBackgroundCopyJobs1_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBitsPeerCacheRecords(::windows_core::IUnknown); impl IEnumBitsPeerCacheRecords { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3183,25 +2651,9 @@ impl IEnumBitsPeerCacheRecords { } } ::windows_core::imp::interface_hierarchy!(IEnumBitsPeerCacheRecords, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBitsPeerCacheRecords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBitsPeerCacheRecords {} -impl ::core::fmt::Debug for IEnumBitsPeerCacheRecords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBitsPeerCacheRecords").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBitsPeerCacheRecords { type Vtable = IEnumBitsPeerCacheRecords_Vtbl; } -impl ::core::clone::Clone for IEnumBitsPeerCacheRecords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBitsPeerCacheRecords { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdea4_489e_11d9_a9cd_000d56965251); } @@ -3217,6 +2669,7 @@ pub struct IEnumBitsPeerCacheRecords_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumBitsPeers(::windows_core::IUnknown); impl IEnumBitsPeers { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3238,25 +2691,9 @@ impl IEnumBitsPeers { } } ::windows_core::imp::interface_hierarchy!(IEnumBitsPeers, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumBitsPeers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumBitsPeers {} -impl ::core::fmt::Debug for IEnumBitsPeers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumBitsPeers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumBitsPeers { type Vtable = IEnumBitsPeers_Vtbl; } -impl ::core::clone::Clone for IEnumBitsPeers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumBitsPeers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659cdea5_489e_11d9_a9cd_000d56965251); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs index 6b1ba7d427..462f5c6a33 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs @@ -29,8 +29,8 @@ impl IGetClusterDataInfo_Vtbl { GetObjectCount: GetObjectCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -47,8 +47,8 @@ impl IGetClusterGroupInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetGroupHandle: GetGroupHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IGetClusterNetInterfaceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetInterfaceHandle: GetNetInterfaceHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IGetClusterNetworkInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetworkHandle: GetNetworkHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -101,8 +101,8 @@ impl IGetClusterNodeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNodeHandle: GetNodeHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IGetClusterObjectInfo_Vtbl { GetObjectType: GetObjectType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -167,8 +167,8 @@ impl IGetClusterResourceInfo_Vtbl { GetResourceNetworkName: GetResourceNetworkName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IGetClusterUIInfo_Vtbl { GetIcon: GetIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl ISClusApplication_Vtbl { OpenCluster: OpenCluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -345,8 +345,8 @@ impl ISClusCryptoKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -414,8 +414,8 @@ impl ISClusDisk_Vtbl { Partitions: Partitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -470,8 +470,8 @@ impl ISClusDisks_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl ISClusNetInterface_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -654,8 +654,8 @@ impl ISClusNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl ISClusNetwork_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -871,8 +871,8 @@ impl ISClusNetworkNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -934,8 +934,8 @@ impl ISClusNetworks_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl ISClusNode_Vtbl { NetInterfaces: NetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1178,8 +1178,8 @@ impl ISClusNodeNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl ISClusNodes_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1349,8 +1349,8 @@ impl ISClusPartition_Vtbl { FileSystem: FileSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1431,8 +1431,8 @@ impl ISClusPartitionEx_Vtbl { VolumeGuid: VolumeGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl ISClusPartitions_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1635,8 +1635,8 @@ impl ISClusProperties_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1823,8 +1823,8 @@ impl ISClusProperty_Vtbl { UseDefaultValue: UseDefaultValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1939,8 +1939,8 @@ impl ISClusPropertyValue_Vtbl { Data: Data::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2015,8 +2015,8 @@ impl ISClusPropertyValueData_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2091,8 +2091,8 @@ impl ISClusPropertyValues_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl ISClusRefObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Handle: Handle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2195,8 +2195,8 @@ impl ISClusRegistryKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl ISClusResDependencies_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl ISClusResDependents_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2602,8 +2602,8 @@ impl ISClusResGroup_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2706,8 +2706,8 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { AddItem: AddItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2789,8 +2789,8 @@ impl ISClusResGroupResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2872,8 +2872,8 @@ impl ISClusResGroups_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2962,8 +2962,8 @@ impl ISClusResPossibleOwnerNodes_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3103,8 +3103,8 @@ impl ISClusResType_Vtbl { AvailableDisks: AvailableDisks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3166,8 +3166,8 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3249,8 +3249,8 @@ impl ISClusResTypeResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3332,8 +3332,8 @@ impl ISClusResTypes_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3717,8 +3717,8 @@ impl ISClusResource_Vtbl { SetMaintenanceMode: SetMaintenanceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl ISClusResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3869,8 +3869,8 @@ impl ISClusScsiAddress_Vtbl { Lun: Lun::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4016,8 +4016,8 @@ impl ISClusVersion_Vtbl { MixedVersion: MixedVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4276,8 +4276,8 @@ impl ISCluster_Vtbl { NetInterfaces: NetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ISClusterNames_Vtbl { DomainName: DomainName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl ISDomainNames_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4433,8 +4433,8 @@ impl IWCContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddExtensionMenuItem: AddExtensionMenuItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl IWCPropertySheetCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertySheetPage: AddPropertySheetPage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4482,8 +4482,8 @@ impl IWCWizard97Callback_Vtbl { EnableNext: EnableNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4513,8 +4513,8 @@ impl IWCWizardCallback_Vtbl { EnableNext: EnableNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4531,8 +4531,8 @@ impl IWEExtendContextMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddContextMenuItems: AddContextMenuItems:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4549,8 +4549,8 @@ impl IWEExtendPropertySheet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePropertySheetPages: CreatePropertySheetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4567,8 +4567,8 @@ impl IWEExtendWizard_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizardPages: CreateWizardPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4585,8 +4585,8 @@ impl IWEExtendWizard97_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizard97Pages: CreateWizard97Pages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4603,7 +4603,7 @@ impl IWEInvokeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeCommand: InvokeCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index 610e2aeb1f..6cdd336a24 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -3968,6 +3968,7 @@ where } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterDataInfo(::windows_core::IUnknown); impl IGetClusterDataInfo { pub unsafe fn GetClusterName(&self, lpszname: &::windows_core::BSTR, pcchname: *mut i32) -> ::windows_core::Result<()> { @@ -3981,25 +3982,9 @@ impl IGetClusterDataInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterDataInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterDataInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterDataInfo {} -impl ::core::fmt::Debug for IGetClusterDataInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterDataInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterDataInfo { type Vtable = IGetClusterDataInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterDataInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterDataInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede51_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4013,6 +3998,7 @@ pub struct IGetClusterDataInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterGroupInfo(::windows_core::IUnknown); impl IGetClusterGroupInfo { pub unsafe fn GetGroupHandle(&self, lobjindex: i32) -> HGROUP { @@ -4020,25 +4006,9 @@ impl IGetClusterGroupInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterGroupInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterGroupInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterGroupInfo {} -impl ::core::fmt::Debug for IGetClusterGroupInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterGroupInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterGroupInfo { type Vtable = IGetClusterGroupInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterGroupInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterGroupInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede54_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4050,6 +4020,7 @@ pub struct IGetClusterGroupInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterNetInterfaceInfo(::windows_core::IUnknown); impl IGetClusterNetInterfaceInfo { pub unsafe fn GetNetInterfaceHandle(&self, lobjindex: i32) -> HNETINTERFACE { @@ -4057,25 +4028,9 @@ impl IGetClusterNetInterfaceInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterNetInterfaceInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterNetInterfaceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterNetInterfaceInfo {} -impl ::core::fmt::Debug for IGetClusterNetInterfaceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterNetInterfaceInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterNetInterfaceInfo { type Vtable = IGetClusterNetInterfaceInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterNetInterfaceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterNetInterfaceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede57_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4087,6 +4042,7 @@ pub struct IGetClusterNetInterfaceInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterNetworkInfo(::windows_core::IUnknown); impl IGetClusterNetworkInfo { pub unsafe fn GetNetworkHandle(&self, lobjindex: i32) -> HNETWORK { @@ -4094,25 +4050,9 @@ impl IGetClusterNetworkInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterNetworkInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterNetworkInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterNetworkInfo {} -impl ::core::fmt::Debug for IGetClusterNetworkInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterNetworkInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterNetworkInfo { type Vtable = IGetClusterNetworkInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterNetworkInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterNetworkInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede56_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4124,6 +4064,7 @@ pub struct IGetClusterNetworkInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterNodeInfo(::windows_core::IUnknown); impl IGetClusterNodeInfo { pub unsafe fn GetNodeHandle(&self, lobjindex: i32) -> HNODE { @@ -4131,25 +4072,9 @@ impl IGetClusterNodeInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterNodeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterNodeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterNodeInfo {} -impl ::core::fmt::Debug for IGetClusterNodeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterNodeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterNodeInfo { type Vtable = IGetClusterNodeInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterNodeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterNodeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede53_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4161,6 +4086,7 @@ pub struct IGetClusterNodeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterObjectInfo(::windows_core::IUnknown); impl IGetClusterObjectInfo { pub unsafe fn GetObjectName(&self, lobjindex: i32, lpszname: &::windows_core::BSTR, pcchname: *mut i32) -> ::windows_core::Result<()> { @@ -4171,25 +4097,9 @@ impl IGetClusterObjectInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterObjectInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterObjectInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterObjectInfo {} -impl ::core::fmt::Debug for IGetClusterObjectInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterObjectInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterObjectInfo { type Vtable = IGetClusterObjectInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterObjectInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterObjectInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede52_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4202,6 +4112,7 @@ pub struct IGetClusterObjectInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterResourceInfo(::windows_core::IUnknown); impl IGetClusterResourceInfo { pub unsafe fn GetResourceHandle(&self, lobjindex: i32) -> HRESOURCE { @@ -4217,25 +4128,9 @@ impl IGetClusterResourceInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterResourceInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterResourceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterResourceInfo {} -impl ::core::fmt::Debug for IGetClusterResourceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterResourceInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterResourceInfo { type Vtable = IGetClusterResourceInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterResourceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterResourceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede55_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4252,6 +4147,7 @@ pub struct IGetClusterResourceInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetClusterUIInfo(::windows_core::IUnknown); impl IGetClusterUIInfo { pub unsafe fn GetClusterName(&self, lpszname: &::windows_core::BSTR, pcchname: *mut i32) -> ::windows_core::Result<()> { @@ -4272,25 +4168,9 @@ impl IGetClusterUIInfo { } } ::windows_core::imp::interface_hierarchy!(IGetClusterUIInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetClusterUIInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetClusterUIInfo {} -impl ::core::fmt::Debug for IGetClusterUIInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetClusterUIInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetClusterUIInfo { type Vtable = IGetClusterUIInfo_Vtbl; } -impl ::core::clone::Clone for IGetClusterUIInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetClusterUIInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede50_fc6b_11cf_b5f5_00a0c90ab505); } @@ -4312,6 +4192,7 @@ pub struct IGetClusterUIInfo_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusApplication { @@ -4343,30 +4224,10 @@ impl ISClusApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusApplication, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusApplication { type Vtable = ISClusApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606e6_2631_11d1_89f1_00a0c90d061e); } @@ -4391,6 +4252,7 @@ pub struct ISClusApplication_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusCryptoKeys(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusCryptoKeys { @@ -4426,30 +4288,10 @@ impl ISClusCryptoKeys { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusCryptoKeys, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusCryptoKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusCryptoKeys {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusCryptoKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusCryptoKeys").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusCryptoKeys { type Vtable = ISClusCryptoKeys_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusCryptoKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusCryptoKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6072c_2631_11d1_89f1_00a0c90d061e); } @@ -4474,6 +4316,7 @@ pub struct ISClusCryptoKeys_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusDisk(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusDisk { @@ -4501,30 +4344,10 @@ impl ISClusDisk { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusDisk, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusDisk {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusDisk").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusDisk { type Vtable = ISClusDisk_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60724_2631_11d1_89f1_00a0c90d061e); } @@ -4547,6 +4370,7 @@ pub struct ISClusDisk_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusDisks(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusDisks { @@ -4568,30 +4392,10 @@ impl ISClusDisks { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusDisks, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusDisks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusDisks {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusDisks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusDisks").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusDisks { type Vtable = ISClusDisks_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusDisks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusDisks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60726_2631_11d1_89f1_00a0c90d061e); } @@ -4610,6 +4414,7 @@ pub struct ISClusDisks_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNetInterface(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetInterface { @@ -4659,30 +4464,10 @@ impl ISClusNetInterface { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNetInterface, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNetInterface { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNetInterface {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNetInterface { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNetInterface").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNetInterface { type Vtable = ISClusNetInterface_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNetInterface { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNetInterface { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606ee_2631_11d1_89f1_00a0c90d061e); } @@ -4718,6 +4503,7 @@ pub struct ISClusNetInterface_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNetInterfaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetInterfaces { @@ -4742,30 +4528,10 @@ impl ISClusNetInterfaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNetInterfaces, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNetInterfaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNetInterfaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNetInterfaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNetInterfaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNetInterfaces { type Vtable = ISClusNetInterfaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNetInterfaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNetInterfaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606f0_2631_11d1_89f1_00a0c90d061e); } @@ -4785,6 +4551,7 @@ pub struct ISClusNetInterfaces_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNetwork(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetwork { @@ -4850,30 +4617,10 @@ impl ISClusNetwork { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNetwork, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNetwork {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNetwork").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNetwork { type Vtable = ISClusNetwork_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606f2_2631_11d1_89f1_00a0c90d061e); } @@ -4915,6 +4662,7 @@ pub struct ISClusNetwork_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNetworkNetInterfaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetworkNetInterfaces { @@ -4939,30 +4687,10 @@ impl ISClusNetworkNetInterfaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNetworkNetInterfaces, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNetworkNetInterfaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNetworkNetInterfaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNetworkNetInterfaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNetworkNetInterfaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNetworkNetInterfaces { type Vtable = ISClusNetworkNetInterfaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNetworkNetInterfaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNetworkNetInterfaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606f6_2631_11d1_89f1_00a0c90d061e); } @@ -4982,6 +4710,7 @@ pub struct ISClusNetworkNetInterfaces_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNetworks(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNetworks { @@ -5006,30 +4735,10 @@ impl ISClusNetworks { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNetworks, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNetworks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNetworks {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNetworks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNetworks").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNetworks { type Vtable = ISClusNetworks_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNetworks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNetworks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606f4_2631_11d1_89f1_00a0c90d061e); } @@ -5049,6 +4758,7 @@ pub struct ISClusNetworks_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNode(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNode { @@ -5123,30 +4833,10 @@ impl ISClusNode { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNode, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNode {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNode").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNode { type Vtable = ISClusNode_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606f8_2631_11d1_89f1_00a0c90d061e); } @@ -5194,6 +4884,7 @@ pub struct ISClusNode_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNodeNetInterfaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNodeNetInterfaces { @@ -5218,30 +4909,10 @@ impl ISClusNodeNetInterfaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNodeNetInterfaces, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNodeNetInterfaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNodeNetInterfaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNodeNetInterfaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNodeNetInterfaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNodeNetInterfaces { type Vtable = ISClusNodeNetInterfaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNodeNetInterfaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNodeNetInterfaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606fc_2631_11d1_89f1_00a0c90d061e); } @@ -5261,6 +4932,7 @@ pub struct ISClusNodeNetInterfaces_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusNodes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusNodes { @@ -5285,30 +4957,10 @@ impl ISClusNodes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusNodes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusNodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusNodes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusNodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusNodes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusNodes { type Vtable = ISClusNodes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusNodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusNodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606fa_2631_11d1_89f1_00a0c90d061e); } @@ -5328,6 +4980,7 @@ pub struct ISClusNodes_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPartition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartition { @@ -5363,30 +5016,10 @@ impl ISClusPartition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPartition, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPartition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPartition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPartition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPartition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPartition { type Vtable = ISClusPartition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPartition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPartition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60720_2631_11d1_89f1_00a0c90d061e); } @@ -5406,6 +5039,7 @@ pub struct ISClusPartition_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPartitionEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartitionEx { @@ -5461,30 +5095,10 @@ impl ISClusPartitionEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPartitionEx, ::windows_core::IUnknown, super::super::System::Com::IDispatch, ISClusPartition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPartitionEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPartitionEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPartitionEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPartitionEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPartitionEx { type Vtable = ISClusPartitionEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPartitionEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPartitionEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8802d4fe_b32e_4ad1_9dbd_64f18e1166ce); } @@ -5502,6 +5116,7 @@ pub struct ISClusPartitionEx_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPartitions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPartitions { @@ -5523,30 +5138,10 @@ impl ISClusPartitions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPartitions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPartitions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPartitions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPartitions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPartitions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPartitions { type Vtable = ISClusPartitions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPartitions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPartitions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60722_2631_11d1_89f1_00a0c90d061e); } @@ -5565,6 +5160,7 @@ pub struct ISClusPartitions_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusProperties { @@ -5633,30 +5229,10 @@ impl ISClusProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusProperties, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusProperties { type Vtable = ISClusProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60700_2631_11d1_89f1_00a0c90d061e); } @@ -5704,6 +5280,7 @@ pub struct ISClusProperties_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusProperty { @@ -5781,30 +5358,10 @@ impl ISClusProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusProperty { type Vtable = ISClusProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606fe_2631_11d1_89f1_00a0c90d061e); } @@ -5853,6 +5410,7 @@ pub struct ISClusProperty_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPropertyValue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValue { @@ -5899,30 +5457,10 @@ impl ISClusPropertyValue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPropertyValue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPropertyValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPropertyValue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPropertyValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPropertyValue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPropertyValue { type Vtable = ISClusPropertyValue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPropertyValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPropertyValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6071a_2631_11d1_89f1_00a0c90d061e); } @@ -5953,6 +5491,7 @@ pub struct ISClusPropertyValue_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPropertyValueData(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValueData { @@ -5985,30 +5524,10 @@ impl ISClusPropertyValueData { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPropertyValueData, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPropertyValueData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPropertyValueData {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPropertyValueData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPropertyValueData").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPropertyValueData { type Vtable = ISClusPropertyValueData_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPropertyValueData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPropertyValueData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6071e_2631_11d1_89f1_00a0c90d061e); } @@ -6035,6 +5554,7 @@ pub struct ISClusPropertyValueData_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusPropertyValues(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusPropertyValues { @@ -6070,30 +5590,10 @@ impl ISClusPropertyValues { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusPropertyValues, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusPropertyValues { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusPropertyValues {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusPropertyValues { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusPropertyValues").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusPropertyValues { type Vtable = ISClusPropertyValues_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusPropertyValues { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusPropertyValues { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6071c_2631_11d1_89f1_00a0c90d061e); } @@ -6120,6 +5620,7 @@ pub struct ISClusPropertyValues_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusRefObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusRefObject { @@ -6131,30 +5632,10 @@ impl ISClusRefObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusRefObject, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusRefObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusRefObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusRefObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusRefObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusRefObject { type Vtable = ISClusRefObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusRefObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusRefObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60702_2631_11d1_89f1_00a0c90d061e); } @@ -6168,6 +5649,7 @@ pub struct ISClusRefObject_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusRegistryKeys(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusRegistryKeys { @@ -6203,30 +5685,10 @@ impl ISClusRegistryKeys { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusRegistryKeys, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusRegistryKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusRegistryKeys {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusRegistryKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusRegistryKeys").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusRegistryKeys { type Vtable = ISClusRegistryKeys_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusRegistryKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusRegistryKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6072a_2631_11d1_89f1_00a0c90d061e); } @@ -6251,6 +5713,7 @@ pub struct ISClusRegistryKeys_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResDependencies(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResDependencies { @@ -6303,30 +5766,10 @@ impl ISClusResDependencies { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResDependencies, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResDependencies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResDependencies {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResDependencies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResDependencies").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResDependencies { type Vtable = ISClusResDependencies_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResDependencies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResDependencies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60704_2631_11d1_89f1_00a0c90d061e); } @@ -6362,6 +5805,7 @@ pub struct ISClusResDependencies_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResDependents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResDependents { @@ -6414,30 +5858,10 @@ impl ISClusResDependents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResDependents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResDependents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResDependents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResDependents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResDependents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResDependents { type Vtable = ISClusResDependents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResDependents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResDependents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6072e_2631_11d1_89f1_00a0c90d061e); } @@ -6473,6 +5897,7 @@ pub struct ISClusResDependents_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroup { @@ -6567,30 +5992,10 @@ impl ISClusResGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResGroup { type Vtable = ISClusResGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60706_2631_11d1_89f1_00a0c90d061e); } @@ -6652,6 +6057,7 @@ pub struct ISClusResGroup_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResGroupPreferredOwnerNodes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupPreferredOwnerNodes { @@ -6706,30 +6112,10 @@ impl ISClusResGroupPreferredOwnerNodes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResGroupPreferredOwnerNodes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResGroupPreferredOwnerNodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResGroupPreferredOwnerNodes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResGroupPreferredOwnerNodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResGroupPreferredOwnerNodes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResGroupPreferredOwnerNodes { type Vtable = ISClusResGroupPreferredOwnerNodes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResGroupPreferredOwnerNodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResGroupPreferredOwnerNodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606e8_2631_11d1_89f1_00a0c90d061e); } @@ -6766,6 +6152,7 @@ pub struct ISClusResGroupPreferredOwnerNodes_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResGroupResources(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroupResources { @@ -6803,32 +6190,12 @@ impl ISClusResGroupResources { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(ISClusResGroupResources, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResGroupResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResGroupResources {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResGroupResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResGroupResources").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(ISClusResGroupResources, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResGroupResources { type Vtable = ISClusResGroupResources_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResGroupResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResGroupResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606ea_2631_11d1_89f1_00a0c90d061e); } @@ -6856,6 +6223,7 @@ pub struct ISClusResGroupResources_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResGroups(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResGroups { @@ -6894,30 +6262,10 @@ impl ISClusResGroups { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResGroups, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResGroups { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResGroups {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResGroups { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResGroups").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResGroups { type Vtable = ISClusResGroups_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResGroups { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResGroups { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60708_2631_11d1_89f1_00a0c90d061e); } @@ -6945,6 +6293,7 @@ pub struct ISClusResGroups_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResPossibleOwnerNodes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResPossibleOwnerNodes { @@ -6988,30 +6337,10 @@ impl ISClusResPossibleOwnerNodes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResPossibleOwnerNodes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResPossibleOwnerNodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResPossibleOwnerNodes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResPossibleOwnerNodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResPossibleOwnerNodes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResPossibleOwnerNodes { type Vtable = ISClusResPossibleOwnerNodes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResPossibleOwnerNodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResPossibleOwnerNodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6070e_2631_11d1_89f1_00a0c90d061e); } @@ -7043,6 +6372,7 @@ pub struct ISClusResPossibleOwnerNodes_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResType(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResType { @@ -7105,30 +6435,10 @@ impl ISClusResType { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResType, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResType {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResType").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResType { type Vtable = ISClusResType_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60710_2631_11d1_89f1_00a0c90d061e); } @@ -7175,6 +6485,7 @@ pub struct ISClusResType_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResTypePossibleOwnerNodes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypePossibleOwnerNodes { @@ -7199,30 +6510,10 @@ impl ISClusResTypePossibleOwnerNodes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResTypePossibleOwnerNodes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResTypePossibleOwnerNodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResTypePossibleOwnerNodes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResTypePossibleOwnerNodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResTypePossibleOwnerNodes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResTypePossibleOwnerNodes { type Vtable = ISClusResTypePossibleOwnerNodes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResTypePossibleOwnerNodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResTypePossibleOwnerNodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60718_2631_11d1_89f1_00a0c90d061e); } @@ -7242,6 +6533,7 @@ pub struct ISClusResTypePossibleOwnerNodes_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResTypeResources(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypeResources { @@ -7281,30 +6573,10 @@ impl ISClusResTypeResources { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResTypeResources, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResTypeResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResTypeResources {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResTypeResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResTypeResources").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResTypeResources { type Vtable = ISClusResTypeResources_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResTypeResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResTypeResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60714_2631_11d1_89f1_00a0c90d061e); } @@ -7332,6 +6604,7 @@ pub struct ISClusResTypeResources_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResTypes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResTypes { @@ -7372,30 +6645,10 @@ impl ISClusResTypes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResTypes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResTypes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResTypes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResTypes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResTypes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResTypes { type Vtable = ISClusResTypes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResTypes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResTypes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60712_2631_11d1_89f1_00a0c90d061e); } @@ -7423,6 +6676,7 @@ pub struct ISClusResTypes_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResource(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResource { @@ -7615,30 +6869,10 @@ impl ISClusResource { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResource, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResource {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResource").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResource { type Vtable = ISClusResource_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6070a_2631_11d1_89f1_00a0c90d061e); } @@ -7749,6 +6983,7 @@ pub struct ISClusResource_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusResources(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusResources { @@ -7789,30 +7024,10 @@ impl ISClusResources { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusResources, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusResources {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusResources").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusResources { type Vtable = ISClusResources_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e6070c_2631_11d1_89f1_00a0c90d061e); } @@ -7840,6 +7055,7 @@ pub struct ISClusResources_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusScsiAddress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusScsiAddress { @@ -7871,30 +7087,10 @@ impl ISClusScsiAddress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusScsiAddress, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusScsiAddress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusScsiAddress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusScsiAddress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusScsiAddress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusScsiAddress { type Vtable = ISClusScsiAddress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusScsiAddress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusScsiAddress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60728_2631_11d1_89f1_00a0c90d061e); } @@ -7923,6 +7119,7 @@ pub struct ISClusScsiAddress_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusVersion(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusVersion { @@ -7972,30 +7169,10 @@ impl ISClusVersion { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusVersion, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusVersion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusVersion {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusVersion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusVersion").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusVersion { type Vtable = ISClusVersion_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusVersion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusVersion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e60716_2631_11d1_89f1_00a0c90d061e); } @@ -8021,6 +7198,7 @@ pub struct ISClusVersion_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISCluster(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISCluster { @@ -8145,30 +7323,10 @@ impl ISCluster { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISCluster, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISCluster { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISCluster {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISCluster { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISCluster").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISCluster { type Vtable = ISCluster_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISCluster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISCluster { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606e4_2631_11d1_89f1_00a0c90d061e); } @@ -8241,6 +7399,7 @@ pub struct ISCluster_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISClusterNames(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISClusterNames { @@ -8269,30 +7428,10 @@ impl ISClusterNames { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISClusterNames, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISClusterNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISClusterNames {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISClusterNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISClusterNames").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISClusterNames { type Vtable = ISClusterNames_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISClusterNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISClusterNames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606ec_2631_11d1_89f1_00a0c90d061e); } @@ -8313,6 +7452,7 @@ pub struct ISClusterNames_Vtbl { #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISDomainNames(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISDomainNames { @@ -8337,30 +7477,10 @@ impl ISDomainNames { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISDomainNames, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISDomainNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISDomainNames {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISDomainNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISDomainNames").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISDomainNames { type Vtable = ISDomainNames_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISDomainNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISDomainNames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e606e2_2631_11d1_89f1_00a0c90d061e); } @@ -8379,6 +7499,7 @@ pub struct ISDomainNames_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCContextMenuCallback(::windows_core::IUnknown); impl IWCContextMenuCallback { pub unsafe fn AddExtensionMenuItem(&self, lpszname: P0, lpszstatusbartext: P1, ncommandid: u32, nsubmenucommandid: u32, uflags: u32) -> ::windows_core::Result<()> @@ -8390,25 +7511,9 @@ impl IWCContextMenuCallback { } } ::windows_core::imp::interface_hierarchy!(IWCContextMenuCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCContextMenuCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCContextMenuCallback {} -impl ::core::fmt::Debug for IWCContextMenuCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCContextMenuCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCContextMenuCallback { type Vtable = IWCContextMenuCallback_Vtbl; } -impl ::core::clone::Clone for IWCContextMenuCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCContextMenuCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede64_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8420,6 +7525,7 @@ pub struct IWCContextMenuCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCPropertySheetCallback(::windows_core::IUnknown); impl IWCPropertySheetCallback { pub unsafe fn AddPropertySheetPage(&self, hpage: *const i32) -> ::windows_core::Result<()> { @@ -8427,25 +7533,9 @@ impl IWCPropertySheetCallback { } } ::windows_core::imp::interface_hierarchy!(IWCPropertySheetCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCPropertySheetCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCPropertySheetCallback {} -impl ::core::fmt::Debug for IWCPropertySheetCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCPropertySheetCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCPropertySheetCallback { type Vtable = IWCPropertySheetCallback_Vtbl; } -impl ::core::clone::Clone for IWCPropertySheetCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCPropertySheetCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede60_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8457,6 +7547,7 @@ pub struct IWCPropertySheetCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCWizard97Callback(::windows_core::IUnknown); impl IWCWizard97Callback { pub unsafe fn AddWizard97Page(&self, hpage: *const i32) -> ::windows_core::Result<()> { @@ -8472,25 +7563,9 @@ impl IWCWizard97Callback { } } ::windows_core::imp::interface_hierarchy!(IWCWizard97Callback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCWizard97Callback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCWizard97Callback {} -impl ::core::fmt::Debug for IWCWizard97Callback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCWizard97Callback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCWizard97Callback { type Vtable = IWCWizard97Callback_Vtbl; } -impl ::core::clone::Clone for IWCWizard97Callback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCWizard97Callback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede67_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8506,6 +7581,7 @@ pub struct IWCWizard97Callback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWCWizardCallback(::windows_core::IUnknown); impl IWCWizardCallback { pub unsafe fn AddWizardPage(&self, hpage: *const i32) -> ::windows_core::Result<()> { @@ -8521,25 +7597,9 @@ impl IWCWizardCallback { } } ::windows_core::imp::interface_hierarchy!(IWCWizardCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWCWizardCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWCWizardCallback {} -impl ::core::fmt::Debug for IWCWizardCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWCWizardCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWCWizardCallback { type Vtable = IWCWizardCallback_Vtbl; } -impl ::core::clone::Clone for IWCWizardCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWCWizardCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede62_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8555,6 +7615,7 @@ pub struct IWCWizardCallback_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWEExtendContextMenu(::windows_core::IUnknown); impl IWEExtendContextMenu { pub unsafe fn AddContextMenuItems(&self, pidata: P0, picallback: P1) -> ::windows_core::Result<()> @@ -8566,25 +7627,9 @@ impl IWEExtendContextMenu { } } ::windows_core::imp::interface_hierarchy!(IWEExtendContextMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWEExtendContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWEExtendContextMenu {} -impl ::core::fmt::Debug for IWEExtendContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWEExtendContextMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWEExtendContextMenu { type Vtable = IWEExtendContextMenu_Vtbl; } -impl ::core::clone::Clone for IWEExtendContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWEExtendContextMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede65_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8596,6 +7641,7 @@ pub struct IWEExtendContextMenu_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWEExtendPropertySheet(::windows_core::IUnknown); impl IWEExtendPropertySheet { pub unsafe fn CreatePropertySheetPages(&self, pidata: P0, picallback: P1) -> ::windows_core::Result<()> @@ -8607,25 +7653,9 @@ impl IWEExtendPropertySheet { } } ::windows_core::imp::interface_hierarchy!(IWEExtendPropertySheet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWEExtendPropertySheet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWEExtendPropertySheet {} -impl ::core::fmt::Debug for IWEExtendPropertySheet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWEExtendPropertySheet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWEExtendPropertySheet { type Vtable = IWEExtendPropertySheet_Vtbl; } -impl ::core::clone::Clone for IWEExtendPropertySheet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWEExtendPropertySheet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede61_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8637,6 +7667,7 @@ pub struct IWEExtendPropertySheet_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWEExtendWizard(::windows_core::IUnknown); impl IWEExtendWizard { pub unsafe fn CreateWizardPages(&self, pidata: P0, picallback: P1) -> ::windows_core::Result<()> @@ -8648,25 +7679,9 @@ impl IWEExtendWizard { } } ::windows_core::imp::interface_hierarchy!(IWEExtendWizard, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWEExtendWizard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWEExtendWizard {} -impl ::core::fmt::Debug for IWEExtendWizard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWEExtendWizard").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWEExtendWizard { type Vtable = IWEExtendWizard_Vtbl; } -impl ::core::clone::Clone for IWEExtendWizard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWEExtendWizard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede63_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8678,6 +7693,7 @@ pub struct IWEExtendWizard_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWEExtendWizard97(::windows_core::IUnknown); impl IWEExtendWizard97 { pub unsafe fn CreateWizard97Pages(&self, pidata: P0, picallback: P1) -> ::windows_core::Result<()> @@ -8689,25 +7705,9 @@ impl IWEExtendWizard97 { } } ::windows_core::imp::interface_hierarchy!(IWEExtendWizard97, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWEExtendWizard97 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWEExtendWizard97 {} -impl ::core::fmt::Debug for IWEExtendWizard97 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWEExtendWizard97").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWEExtendWizard97 { type Vtable = IWEExtendWizard97_Vtbl; } -impl ::core::clone::Clone for IWEExtendWizard97 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWEExtendWizard97 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede68_fc6b_11cf_b5f5_00a0c90ab505); } @@ -8719,6 +7719,7 @@ pub struct IWEExtendWizard97_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWEInvokeCommand(::windows_core::IUnknown); impl IWEInvokeCommand { pub unsafe fn InvokeCommand(&self, ncommandid: u32, pidata: P0) -> ::windows_core::Result<()> @@ -8729,25 +7730,9 @@ impl IWEInvokeCommand { } } ::windows_core::imp::interface_hierarchy!(IWEInvokeCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWEInvokeCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWEInvokeCommand {} -impl ::core::fmt::Debug for IWEInvokeCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWEInvokeCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWEInvokeCommand { type Vtable = IWEInvokeCommand_Vtbl; } -impl ::core::clone::Clone for IWEInvokeCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWEInvokeCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97dede66_fc6b_11cf_b5f5_00a0c90ab505); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs index 7c18aa4243..1b1ba9c180 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs @@ -58,8 +58,8 @@ impl IEnumNetworkConnections_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl IEnumNetworks_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl INetwork_Vtbl { SetCategory: SetCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl INetwork2_Vtbl { } Self { base__: INetwork_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl INetworkConnection_Vtbl { GetDomainType: GetDomainType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl INetworkConnection2_Vtbl { } Self { base__: INetworkConnection_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -483,8 +483,8 @@ impl INetworkConnectionCost_Vtbl { GetDataPlanStatus: GetDataPlanStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -511,8 +511,8 @@ impl INetworkConnectionCostEvents_Vtbl { ConnectionDataPlanStatusChanged: ConnectionDataPlanStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl INetworkConnectionEvents_Vtbl { NetworkConnectionPropertyChanged: NetworkConnectionPropertyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl INetworkCostManager_Vtbl { SetDestinationAddresses: SetDestinationAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl INetworkCostManagerEvents_Vtbl { DataPlanStatusChanged: DataPlanStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -647,8 +647,8 @@ impl INetworkEvents_Vtbl { NetworkPropertyChanged: NetworkPropertyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -769,8 +769,8 @@ impl INetworkListManager_Vtbl { ClearSimulatedProfileInfo: ClearSimulatedProfileInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -787,7 +787,7 @@ impl INetworkListManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectivityChanged: ConnectivityChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs index 36546fd8e7..57658e402b 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetworkConnections(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumNetworkConnections { @@ -31,30 +32,10 @@ impl IEnumNetworkConnections { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumNetworkConnections, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumNetworkConnections { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumNetworkConnections {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumNetworkConnections { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetworkConnections").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumNetworkConnections { type Vtable = IEnumNetworkConnections_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumNetworkConnections { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumNetworkConnections { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00006_570f_4a9b_8d69_199fdba5723b); } @@ -81,6 +62,7 @@ pub struct IEnumNetworkConnections_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNetworks(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumNetworks { @@ -111,30 +93,10 @@ impl IEnumNetworks { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumNetworks, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumNetworks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumNetworks {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumNetworks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNetworks").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumNetworks { type Vtable = IEnumNetworks_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumNetworks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumNetworks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00003_570f_4a9b_8d69_199fdba5723b); } @@ -161,6 +123,7 @@ pub struct IEnumNetworks_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetwork(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetwork { @@ -228,30 +191,10 @@ impl INetwork { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetwork, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetwork {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetwork").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetwork { type Vtable = INetwork_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00002_570f_4a9b_8d69_199fdba5723b); } @@ -286,6 +229,7 @@ pub struct INetwork_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetwork2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetwork2 { @@ -359,30 +303,10 @@ impl INetwork2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetwork2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, INetwork); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetwork2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetwork2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetwork2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetwork2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetwork2 { type Vtable = INetwork2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetwork2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetwork2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5550abb_3391_4310_804f_25dcc325ed81); } @@ -399,6 +323,7 @@ pub struct INetwork2_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkConnection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetworkConnection { @@ -440,30 +365,10 @@ impl INetworkConnection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetworkConnection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetworkConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetworkConnection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetworkConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkConnection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetworkConnection { type Vtable = INetworkConnection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetworkConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetworkConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00005_570f_4a9b_8d69_199fdba5723b); } @@ -492,6 +397,7 @@ pub struct INetworkConnection_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkConnection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetworkConnection2 { @@ -539,30 +445,10 @@ impl INetworkConnection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetworkConnection2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, INetworkConnection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetworkConnection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetworkConnection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetworkConnection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkConnection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetworkConnection2 { type Vtable = INetworkConnection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetworkConnection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetworkConnection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00e676ed_5a35_4738_92eb_8581738d0f0a); } @@ -578,6 +464,7 @@ pub struct INetworkConnection2_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkConnectionCost(::windows_core::IUnknown); impl INetworkConnectionCost { pub unsafe fn GetCost(&self) -> ::windows_core::Result { @@ -591,25 +478,9 @@ impl INetworkConnectionCost { } } ::windows_core::imp::interface_hierarchy!(INetworkConnectionCost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkConnectionCost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkConnectionCost {} -impl ::core::fmt::Debug for INetworkConnectionCost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkConnectionCost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkConnectionCost { type Vtable = INetworkConnectionCost_Vtbl; } -impl ::core::clone::Clone for INetworkConnectionCost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkConnectionCost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb0000a_570f_4a9b_8d69_199fdba5723b); } @@ -625,6 +496,7 @@ pub struct INetworkConnectionCost_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkConnectionCostEvents(::windows_core::IUnknown); impl INetworkConnectionCostEvents { pub unsafe fn ConnectionCostChanged(&self, connectionid: ::windows_core::GUID, newcost: u32) -> ::windows_core::Result<()> { @@ -635,25 +507,9 @@ impl INetworkConnectionCostEvents { } } ::windows_core::imp::interface_hierarchy!(INetworkConnectionCostEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkConnectionCostEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkConnectionCostEvents {} -impl ::core::fmt::Debug for INetworkConnectionCostEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkConnectionCostEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkConnectionCostEvents { type Vtable = INetworkConnectionCostEvents_Vtbl; } -impl ::core::clone::Clone for INetworkConnectionCostEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkConnectionCostEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb0000b_570f_4a9b_8d69_199fdba5723b); } @@ -666,6 +522,7 @@ pub struct INetworkConnectionCostEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkConnectionEvents(::windows_core::IUnknown); impl INetworkConnectionEvents { pub unsafe fn NetworkConnectionConnectivityChanged(&self, connectionid: ::windows_core::GUID, newconnectivity: NLM_CONNECTIVITY) -> ::windows_core::Result<()> { @@ -676,25 +533,9 @@ impl INetworkConnectionEvents { } } ::windows_core::imp::interface_hierarchy!(INetworkConnectionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkConnectionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkConnectionEvents {} -impl ::core::fmt::Debug for INetworkConnectionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkConnectionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkConnectionEvents { type Vtable = INetworkConnectionEvents_Vtbl; } -impl ::core::clone::Clone for INetworkConnectionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkConnectionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00007_570f_4a9b_8d69_199fdba5723b); } @@ -707,6 +548,7 @@ pub struct INetworkConnectionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkCostManager(::windows_core::IUnknown); impl INetworkCostManager { pub unsafe fn GetCost(&self, pcost: *mut u32, pdestipaddr: *const NLM_SOCKADDR) -> ::windows_core::Result<()> { @@ -727,25 +569,9 @@ impl INetworkCostManager { } } ::windows_core::imp::interface_hierarchy!(INetworkCostManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkCostManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkCostManager {} -impl ::core::fmt::Debug for INetworkCostManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkCostManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkCostManager { type Vtable = INetworkCostManager_Vtbl; } -impl ::core::clone::Clone for INetworkCostManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkCostManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00008_570f_4a9b_8d69_199fdba5723b); } @@ -765,6 +591,7 @@ pub struct INetworkCostManager_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkCostManagerEvents(::windows_core::IUnknown); impl INetworkCostManagerEvents { pub unsafe fn CostChanged(&self, newcost: u32, pdestaddr: *const NLM_SOCKADDR) -> ::windows_core::Result<()> { @@ -775,25 +602,9 @@ impl INetworkCostManagerEvents { } } ::windows_core::imp::interface_hierarchy!(INetworkCostManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkCostManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkCostManagerEvents {} -impl ::core::fmt::Debug for INetworkCostManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkCostManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkCostManagerEvents { type Vtable = INetworkCostManagerEvents_Vtbl; } -impl ::core::clone::Clone for INetworkCostManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkCostManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00009_570f_4a9b_8d69_199fdba5723b); } @@ -806,6 +617,7 @@ pub struct INetworkCostManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkEvents(::windows_core::IUnknown); impl INetworkEvents { pub unsafe fn NetworkAdded(&self, networkid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -822,25 +634,9 @@ impl INetworkEvents { } } ::windows_core::imp::interface_hierarchy!(INetworkEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkEvents {} -impl ::core::fmt::Debug for INetworkEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkEvents { type Vtable = INetworkEvents_Vtbl; } -impl ::core::clone::Clone for INetworkEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00004_570f_4a9b_8d69_199fdba5723b); } @@ -856,6 +652,7 @@ pub struct INetworkEvents_Vtbl { #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkListManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetworkListManager { @@ -909,30 +706,10 @@ impl INetworkListManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetworkListManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetworkListManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetworkListManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetworkListManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkListManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetworkListManager { type Vtable = INetworkListManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetworkListManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetworkListManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00000_570f_4a9b_8d69_199fdba5723b); } @@ -971,6 +748,7 @@ pub struct INetworkListManager_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkListManagerEvents(::windows_core::IUnknown); impl INetworkListManagerEvents { pub unsafe fn ConnectivityChanged(&self, newconnectivity: NLM_CONNECTIVITY) -> ::windows_core::Result<()> { @@ -978,25 +756,9 @@ impl INetworkListManagerEvents { } } ::windows_core::imp::interface_hierarchy!(INetworkListManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkListManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkListManagerEvents {} -impl ::core::fmt::Debug for INetworkListManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkListManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkListManagerEvents { type Vtable = INetworkListManagerEvents_Vtbl; } -impl ::core::clone::Clone for INetworkListManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkListManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb00001_570f_4a9b_8d69_199fdba5723b); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs index 435852b5c3..f76efe86af 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs @@ -28,8 +28,8 @@ impl IFindSimilarResults_Vtbl { GetNextFileId: GetNextFileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -49,8 +49,8 @@ impl IRdcComparator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Process: Process:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IRdcFileReader_Vtbl { GetFilePosition: GetFilePosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -143,8 +143,8 @@ impl IRdcFileWriter_Vtbl { DeleteOnClose: DeleteOnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -180,8 +180,8 @@ impl IRdcGenerator_Vtbl { Process: Process::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IRdcGeneratorFilterMaxParameters_Vtbl { SetHashWindowSize: SetHashWindowSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IRdcGeneratorParameters_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl IRdcLibrary_Vtbl { GetRDCVersion: GetRDCVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IRdcSignatureReader_Vtbl { ReadSignatures: ReadSignatures::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IRdcSimilarityGenerator_Vtbl { Results: Results::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -548,8 +548,8 @@ impl ISimilarity_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl ISimilarityFileIdTable_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -656,8 +656,8 @@ impl ISimilarityReportProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -677,8 +677,8 @@ impl ISimilarityTableDumpState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextData: GetNextData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -728,8 +728,8 @@ impl ISimilarityTraitsMappedView_Vtbl { GetView: GetView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ISimilarityTraitsMapping_Vtbl { CreateView: CreateView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -905,7 +905,7 @@ impl ISimilarityTraitsTable_Vtbl { GetLastIndex: GetLastIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs index b43b793bf4..f13643e90d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFindSimilarResults(::windows_core::IUnknown); impl IFindSimilarResults { pub unsafe fn GetSize(&self) -> ::windows_core::Result { @@ -11,25 +12,9 @@ impl IFindSimilarResults { } } ::windows_core::imp::interface_hierarchy!(IFindSimilarResults, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFindSimilarResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFindSimilarResults {} -impl ::core::fmt::Debug for IFindSimilarResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFindSimilarResults").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFindSimilarResults { type Vtable = IFindSimilarResults_Vtbl; } -impl ::core::clone::Clone for IFindSimilarResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFindSimilarResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a81_9dbc_11da_9e3f_0011114ae311); } @@ -42,6 +27,7 @@ pub struct IFindSimilarResults_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcComparator(::windows_core::IUnknown); impl IRdcComparator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -54,25 +40,9 @@ impl IRdcComparator { } } ::windows_core::imp::interface_hierarchy!(IRdcComparator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcComparator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcComparator {} -impl ::core::fmt::Debug for IRdcComparator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcComparator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcComparator { type Vtable = IRdcComparator_Vtbl; } -impl ::core::clone::Clone for IRdcComparator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcComparator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a77_9dbc_11da_9e3f_0011114ae311); } @@ -87,6 +57,7 @@ pub struct IRdcComparator_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcFileReader(::windows_core::IUnknown); impl IRdcFileReader { pub unsafe fn GetFileSize(&self) -> ::windows_core::Result { @@ -104,25 +75,9 @@ impl IRdcFileReader { } } ::windows_core::imp::interface_hierarchy!(IRdcFileReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcFileReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcFileReader {} -impl ::core::fmt::Debug for IRdcFileReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcFileReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcFileReader { type Vtable = IRdcFileReader_Vtbl; } -impl ::core::clone::Clone for IRdcFileReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcFileReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a74_9dbc_11da_9e3f_0011114ae311); } @@ -139,6 +94,7 @@ pub struct IRdcFileReader_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcFileWriter(::windows_core::IUnknown); impl IRdcFileWriter { pub unsafe fn GetFileSize(&self) -> ::windows_core::Result { @@ -166,25 +122,9 @@ impl IRdcFileWriter { } } ::windows_core::imp::interface_hierarchy!(IRdcFileWriter, ::windows_core::IUnknown, IRdcFileReader); -impl ::core::cmp::PartialEq for IRdcFileWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcFileWriter {} -impl ::core::fmt::Debug for IRdcFileWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcFileWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcFileWriter { type Vtable = IRdcFileWriter_Vtbl; } -impl ::core::clone::Clone for IRdcFileWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcFileWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a75_9dbc_11da_9e3f_0011114ae311); } @@ -198,6 +138,7 @@ pub struct IRdcFileWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcGenerator(::windows_core::IUnknown); impl IRdcGenerator { pub unsafe fn GetGeneratorParameters(&self, level: u32) -> ::windows_core::Result { @@ -214,25 +155,9 @@ impl IRdcGenerator { } } ::windows_core::imp::interface_hierarchy!(IRdcGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcGenerator {} -impl ::core::fmt::Debug for IRdcGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcGenerator { type Vtable = IRdcGenerator_Vtbl; } -impl ::core::clone::Clone for IRdcGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a73_9dbc_11da_9e3f_0011114ae311); } @@ -248,6 +173,7 @@ pub struct IRdcGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcGeneratorFilterMaxParameters(::windows_core::IUnknown); impl IRdcGeneratorFilterMaxParameters { pub unsafe fn GetHorizonSize(&self) -> ::windows_core::Result { @@ -266,25 +192,9 @@ impl IRdcGeneratorFilterMaxParameters { } } ::windows_core::imp::interface_hierarchy!(IRdcGeneratorFilterMaxParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcGeneratorFilterMaxParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcGeneratorFilterMaxParameters {} -impl ::core::fmt::Debug for IRdcGeneratorFilterMaxParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcGeneratorFilterMaxParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcGeneratorFilterMaxParameters { type Vtable = IRdcGeneratorFilterMaxParameters_Vtbl; } -impl ::core::clone::Clone for IRdcGeneratorFilterMaxParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcGeneratorFilterMaxParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a72_9dbc_11da_9e3f_0011114ae311); } @@ -299,6 +209,7 @@ pub struct IRdcGeneratorFilterMaxParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcGeneratorParameters(::windows_core::IUnknown); impl IRdcGeneratorParameters { pub unsafe fn GetGeneratorParametersType(&self) -> ::windows_core::Result { @@ -317,25 +228,9 @@ impl IRdcGeneratorParameters { } } ::windows_core::imp::interface_hierarchy!(IRdcGeneratorParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcGeneratorParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcGeneratorParameters {} -impl ::core::fmt::Debug for IRdcGeneratorParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcGeneratorParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcGeneratorParameters { type Vtable = IRdcGeneratorParameters_Vtbl; } -impl ::core::clone::Clone for IRdcGeneratorParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcGeneratorParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a71_9dbc_11da_9e3f_0011114ae311); } @@ -350,6 +245,7 @@ pub struct IRdcGeneratorParameters_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcLibrary(::windows_core::IUnknown); impl IRdcLibrary { pub unsafe fn ComputeDefaultRecursionDepth(&self, filesize: u64) -> ::windows_core::Result { @@ -387,25 +283,9 @@ impl IRdcLibrary { } } ::windows_core::imp::interface_hierarchy!(IRdcLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcLibrary {} -impl ::core::fmt::Debug for IRdcLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcLibrary { type Vtable = IRdcLibrary_Vtbl; } -impl ::core::clone::Clone for IRdcLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a78_9dbc_11da_9e3f_0011114ae311); } @@ -423,6 +303,7 @@ pub struct IRdcLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcSignatureReader(::windows_core::IUnknown); impl IRdcSignatureReader { pub unsafe fn ReadHeader(&self) -> ::windows_core::Result { @@ -436,25 +317,9 @@ impl IRdcSignatureReader { } } ::windows_core::imp::interface_hierarchy!(IRdcSignatureReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcSignatureReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcSignatureReader {} -impl ::core::fmt::Debug for IRdcSignatureReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcSignatureReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcSignatureReader { type Vtable = IRdcSignatureReader_Vtbl; } -impl ::core::clone::Clone for IRdcSignatureReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcSignatureReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a76_9dbc_11da_9e3f_0011114ae311); } @@ -470,6 +335,7 @@ pub struct IRdcSignatureReader_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRdcSimilarityGenerator(::windows_core::IUnknown); impl IRdcSimilarityGenerator { pub unsafe fn EnableSimilarity(&self) -> ::windows_core::Result<()> { @@ -481,25 +347,9 @@ impl IRdcSimilarityGenerator { } } ::windows_core::imp::interface_hierarchy!(IRdcSimilarityGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRdcSimilarityGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRdcSimilarityGenerator {} -impl ::core::fmt::Debug for IRdcSimilarityGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRdcSimilarityGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRdcSimilarityGenerator { type Vtable = IRdcSimilarityGenerator_Vtbl; } -impl ::core::clone::Clone for IRdcSimilarityGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRdcSimilarityGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a80_9dbc_11da_9e3f_0011114ae311); } @@ -512,6 +362,7 @@ pub struct IRdcSimilarityGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarity(::windows_core::IUnknown); impl ISimilarity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -563,25 +414,9 @@ impl ISimilarity { } } ::windows_core::imp::interface_hierarchy!(ISimilarity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarity {} -impl ::core::fmt::Debug for ISimilarity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarity { type Vtable = ISimilarity_Vtbl; } -impl ::core::clone::Clone for ISimilarity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a83_9dbc_11da_9e3f_0011114ae311); } @@ -608,6 +443,7 @@ pub struct ISimilarity_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityFileIdTable(::windows_core::IUnknown); impl ISimilarityFileIdTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -654,25 +490,9 @@ impl ISimilarityFileIdTable { } } ::windows_core::imp::interface_hierarchy!(ISimilarityFileIdTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityFileIdTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityFileIdTable {} -impl ::core::fmt::Debug for ISimilarityFileIdTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityFileIdTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityFileIdTable { type Vtable = ISimilarityFileIdTable_Vtbl; } -impl ::core::clone::Clone for ISimilarityFileIdTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityFileIdTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7f_9dbc_11da_9e3f_0011114ae311); } @@ -699,6 +519,7 @@ pub struct ISimilarityFileIdTable_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityReportProgress(::windows_core::IUnknown); impl ISimilarityReportProgress { pub unsafe fn ReportProgress(&self, percentcompleted: u32) -> ::windows_core::Result<()> { @@ -706,25 +527,9 @@ impl ISimilarityReportProgress { } } ::windows_core::imp::interface_hierarchy!(ISimilarityReportProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityReportProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityReportProgress {} -impl ::core::fmt::Debug for ISimilarityReportProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityReportProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityReportProgress { type Vtable = ISimilarityReportProgress_Vtbl; } -impl ::core::clone::Clone for ISimilarityReportProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityReportProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7a_9dbc_11da_9e3f_0011114ae311); } @@ -736,6 +541,7 @@ pub struct ISimilarityReportProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityTableDumpState(::windows_core::IUnknown); impl ISimilarityTableDumpState { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -745,25 +551,9 @@ impl ISimilarityTableDumpState { } } ::windows_core::imp::interface_hierarchy!(ISimilarityTableDumpState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityTableDumpState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityTableDumpState {} -impl ::core::fmt::Debug for ISimilarityTableDumpState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityTableDumpState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityTableDumpState { type Vtable = ISimilarityTableDumpState_Vtbl; } -impl ::core::clone::Clone for ISimilarityTableDumpState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityTableDumpState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7b_9dbc_11da_9e3f_0011114ae311); } @@ -778,6 +568,7 @@ pub struct ISimilarityTableDumpState_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityTraitsMappedView(::windows_core::IUnknown); impl ISimilarityTraitsMappedView { pub unsafe fn Flush(&self) -> ::windows_core::Result<()> { @@ -800,25 +591,9 @@ impl ISimilarityTraitsMappedView { } } ::windows_core::imp::interface_hierarchy!(ISimilarityTraitsMappedView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityTraitsMappedView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityTraitsMappedView {} -impl ::core::fmt::Debug for ISimilarityTraitsMappedView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityTraitsMappedView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityTraitsMappedView { type Vtable = ISimilarityTraitsMappedView_Vtbl; } -impl ::core::clone::Clone for ISimilarityTraitsMappedView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityTraitsMappedView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7c_9dbc_11da_9e3f_0011114ae311); } @@ -836,6 +611,7 @@ pub struct ISimilarityTraitsMappedView_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityTraitsMapping(::windows_core::IUnknown); impl ISimilarityTraitsMapping { pub unsafe fn CloseMapping(&self) { @@ -867,25 +643,9 @@ impl ISimilarityTraitsMapping { } } ::windows_core::imp::interface_hierarchy!(ISimilarityTraitsMapping, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityTraitsMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityTraitsMapping {} -impl ::core::fmt::Debug for ISimilarityTraitsMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityTraitsMapping").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityTraitsMapping { type Vtable = ISimilarityTraitsMapping_Vtbl; } -impl ::core::clone::Clone for ISimilarityTraitsMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityTraitsMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7d_9dbc_11da_9e3f_0011114ae311); } @@ -903,6 +663,7 @@ pub struct ISimilarityTraitsMapping_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimilarityTraitsTable(::windows_core::IUnknown); impl ISimilarityTraitsTable { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -949,25 +710,9 @@ impl ISimilarityTraitsTable { } } ::windows_core::imp::interface_hierarchy!(ISimilarityTraitsTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimilarityTraitsTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimilarityTraitsTable {} -impl ::core::fmt::Debug for ISimilarityTraitsTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimilarityTraitsTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimilarityTraitsTable { type Vtable = ISimilarityTraitsTable_Vtbl; } -impl ::core::clone::Clone for ISimilarityTraitsTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimilarityTraitsTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96236a7e_9dbc_11da_9e3f_0011114ae311); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs index 90fb32f5c2..116db8e7c6 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs @@ -31,8 +31,8 @@ impl IDialBranding_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -106,8 +106,8 @@ impl IDialEngine_Vtbl { GetConnectHandle: GetConnectHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl IDialEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IProofOfPossessionCookieInfoManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCookieInfoForUri: GetCookieInfoForUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -163,7 +163,7 @@ impl IProofOfPossessionCookieInfoManager2_Vtbl { GetCookieInfoWithUriForAccount: GetCookieInfoWithUriForAccount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index bace68c94e..e65d16957e 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -2660,6 +2660,7 @@ where } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialBranding(::windows_core::IUnknown); impl IDialBranding { pub unsafe fn Initialize(&self, pwzconnectoid: P0) -> ::windows_core::Result<()> @@ -2676,25 +2677,9 @@ impl IDialBranding { } } ::windows_core::imp::interface_hierarchy!(IDialBranding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDialBranding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDialBranding {} -impl ::core::fmt::Debug for IDialBranding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDialBranding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDialBranding { type Vtable = IDialBranding_Vtbl; } -impl ::core::clone::Clone for IDialBranding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialBranding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8aecafa9_4306_43cc_8c5a_765f2979cc16); } @@ -2710,6 +2695,7 @@ pub struct IDialBranding_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialEngine(::windows_core::IUnknown); impl IDialEngine { pub unsafe fn Initialize(&self, pwzconnectoid: P0, pides: P1) -> ::windows_core::Result<()> @@ -2749,25 +2735,9 @@ impl IDialEngine { } } ::windows_core::imp::interface_hierarchy!(IDialEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDialEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDialEngine {} -impl ::core::fmt::Debug for IDialEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDialEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDialEngine { type Vtable = IDialEngine_Vtbl; } -impl ::core::clone::Clone for IDialEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39fd782b_7905_40d5_9148_3c9b190423d5); } @@ -2785,6 +2755,7 @@ pub struct IDialEngine_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDialEventSink(::windows_core::IUnknown); impl IDialEventSink { pub unsafe fn OnEvent(&self, dwevent: u32, dwstatus: u32) -> ::windows_core::Result<()> { @@ -2792,25 +2763,9 @@ impl IDialEventSink { } } ::windows_core::imp::interface_hierarchy!(IDialEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDialEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDialEventSink {} -impl ::core::fmt::Debug for IDialEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDialEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDialEventSink { type Vtable = IDialEventSink_Vtbl; } -impl ::core::clone::Clone for IDialEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDialEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d86f4ff_6e2d_4488_b2e9_6934afd41bea); } @@ -2822,6 +2777,7 @@ pub struct IDialEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProofOfPossessionCookieInfoManager(::windows_core::IUnknown); impl IProofOfPossessionCookieInfoManager { pub unsafe fn GetCookieInfoForUri(&self, uri: P0, cookieinfocount: *mut u32, cookieinfo: *mut *mut ProofOfPossessionCookieInfo) -> ::windows_core::Result<()> @@ -2832,25 +2788,9 @@ impl IProofOfPossessionCookieInfoManager { } } ::windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProofOfPossessionCookieInfoManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProofOfPossessionCookieInfoManager {} -impl ::core::fmt::Debug for IProofOfPossessionCookieInfoManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProofOfPossessionCookieInfoManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProofOfPossessionCookieInfoManager { type Vtable = IProofOfPossessionCookieInfoManager_Vtbl; } -impl ::core::clone::Clone for IProofOfPossessionCookieInfoManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProofOfPossessionCookieInfoManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcdaece56_4edf_43df_b113_88e4556fa1bb); } @@ -2862,6 +2802,7 @@ pub struct IProofOfPossessionCookieInfoManager_Vtbl { } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProofOfPossessionCookieInfoManager2(::windows_core::IUnknown); impl IProofOfPossessionCookieInfoManager2 { pub unsafe fn GetCookieInfoWithUriForAccount(&self, webaccount: P0, uri: P1, cookieinfocount: *mut u32, cookieinfo: *mut *mut ProofOfPossessionCookieInfo) -> ::windows_core::Result<()> @@ -2873,25 +2814,9 @@ impl IProofOfPossessionCookieInfoManager2 { } } ::windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProofOfPossessionCookieInfoManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProofOfPossessionCookieInfoManager2 {} -impl ::core::fmt::Debug for IProofOfPossessionCookieInfoManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProofOfPossessionCookieInfoManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProofOfPossessionCookieInfoManager2 { type Vtable = IProofOfPossessionCookieInfoManager2_Vtbl; } -impl ::core::clone::Clone for IProofOfPossessionCookieInfoManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProofOfPossessionCookieInfoManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15e41407_b42f_4ae7_9966_34a087b2d713); } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs index 3ef4af8c95..ddb3d462b9 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs @@ -28,7 +28,7 @@ impl IContentPrefetcherTaskTrigger_Vtbl { IsRegisteredForContentPrefetch: IsRegisteredForContentPrefetch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index bef71a95cc..8633906d6c 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -1343,6 +1343,7 @@ pub unsafe fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const W } #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContentPrefetcherTaskTrigger(::windows_core::IUnknown); impl IContentPrefetcherTaskTrigger { pub unsafe fn TriggerContentPrefetcherTask(&self, packagefullname: P0) -> ::windows_core::Result<()> @@ -1360,25 +1361,9 @@ impl IContentPrefetcherTaskTrigger { } } ::windows_core::imp::interface_hierarchy!(IContentPrefetcherTaskTrigger, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IContentPrefetcherTaskTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContentPrefetcherTaskTrigger {} -impl ::core::fmt::Debug for IContentPrefetcherTaskTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContentPrefetcherTaskTrigger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContentPrefetcherTaskTrigger { type Vtable = IContentPrefetcherTaskTrigger_Vtbl; } -impl ::core::clone::Clone for IContentPrefetcherTaskTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContentPrefetcherTaskTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b35a14a_6094_4799_a60e_e474e15d4dc9); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index 8baef721ed..c549a5e0ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -59,8 +59,8 @@ impl AsyncIAssociatedIdentityProvider_Vtbl { Finish_ChangeCredential: Finish_ChangeCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl AsyncIConnectedIdentityProvider_Vtbl { Finish_GetAccountState: Finish_GetAccountState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl AsyncIIdentityAdvise_Vtbl { Finish_IdentityUpdated: Finish_IdentityUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl AsyncIIdentityAuthentication_Vtbl { Finish_ValidateIdentityCredential: Finish_ValidateIdentityCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -390,8 +390,8 @@ impl AsyncIIdentityProvider_Vtbl { Finish_UnAdvise: Finish_UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -503,8 +503,8 @@ impl AsyncIIdentityStore_Vtbl { Finish_Reset: Finish_Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -545,8 +545,8 @@ impl AsyncIIdentityStoreEx_Vtbl { Finish_DeleteConnectedIdentity: Finish_DeleteConnectedIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IAssociatedIdentityProvider_Vtbl { ChangeCredential: ChangeCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IConnectedIdentityProvider_Vtbl { GetAccountState: GetAccountState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IIdentityAdvise_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IdentityUpdated: IdentityUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -702,8 +702,8 @@ impl IIdentityAuthentication_Vtbl { ValidateIdentityCredential: ValidateIdentityCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -799,8 +799,8 @@ impl IIdentityProvider_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -870,8 +870,8 @@ impl IIdentityStore_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -898,7 +898,7 @@ impl IIdentityStoreEx_Vtbl { DeleteConnectedIdentity: DeleteConnectedIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs index 87f8aa1273..d2f805e580 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIAssociatedIdentityProvider(::windows_core::IUnknown); impl AsyncIAssociatedIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42,25 +43,9 @@ impl AsyncIAssociatedIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIAssociatedIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIAssociatedIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIAssociatedIdentityProvider {} -impl ::core::fmt::Debug for AsyncIAssociatedIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIAssociatedIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIAssociatedIdentityProvider { type Vtable = AsyncIAssociatedIdentityProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIAssociatedIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIAssociatedIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2834d6ed_297e_4e72_8a51_961e86f05152); } @@ -89,6 +74,7 @@ pub struct AsyncIAssociatedIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIConnectedIdentityProvider(::windows_core::IUnknown); impl AsyncIConnectedIdentityProvider { pub unsafe fn Begin_ConnectIdentity(&self, authbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -134,25 +120,9 @@ impl AsyncIConnectedIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIConnectedIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIConnectedIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIConnectedIdentityProvider {} -impl ::core::fmt::Debug for AsyncIConnectedIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIConnectedIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIConnectedIdentityProvider { type Vtable = AsyncIConnectedIdentityProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIConnectedIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIConnectedIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ce55141_bce9_4e15_824d_43d79f512f93); } @@ -182,6 +152,7 @@ pub struct AsyncIConnectedIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIIdentityAdvise(::windows_core::IUnknown); impl AsyncIIdentityAdvise { pub unsafe fn Begin_IdentityUpdated(&self, dwidentityupdateevents: u32, lpszuniqueid: P0) -> ::windows_core::Result<()> @@ -195,25 +166,9 @@ impl AsyncIIdentityAdvise { } } ::windows_core::imp::interface_hierarchy!(AsyncIIdentityAdvise, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIIdentityAdvise { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIIdentityAdvise {} -impl ::core::fmt::Debug for AsyncIIdentityAdvise { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIIdentityAdvise").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIIdentityAdvise { type Vtable = AsyncIIdentityAdvise_Vtbl; } -impl ::core::clone::Clone for AsyncIIdentityAdvise { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIIdentityAdvise { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ab4c8da_d038_4830_8dd9_3253c55a127f); } @@ -226,6 +181,7 @@ pub struct AsyncIIdentityAdvise_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIIdentityAuthentication(::windows_core::IUnknown); impl AsyncIIdentityAuthentication { pub unsafe fn Begin_SetIdentityCredential(&self, credbuffer: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> { @@ -246,25 +202,9 @@ impl AsyncIIdentityAuthentication { } } ::windows_core::imp::interface_hierarchy!(AsyncIIdentityAuthentication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIIdentityAuthentication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIIdentityAuthentication {} -impl ::core::fmt::Debug for AsyncIIdentityAuthentication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIIdentityAuthentication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIIdentityAuthentication { type Vtable = AsyncIIdentityAuthentication_Vtbl; } -impl ::core::clone::Clone for AsyncIIdentityAuthentication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIIdentityAuthentication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9a2f918_feca_4e9c_9633_61cbf13ed34d); } @@ -285,6 +225,7 @@ pub struct AsyncIIdentityAuthentication_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIIdentityProvider(::windows_core::IUnknown); impl AsyncIIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -373,25 +314,9 @@ impl AsyncIIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIIdentityProvider {} -impl ::core::fmt::Debug for AsyncIIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIIdentityProvider { type Vtable = AsyncIIdentityProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6fc9901_c433_4646_8f48_4e4687aae2a0); } @@ -442,6 +367,7 @@ pub struct AsyncIIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIIdentityStore(::windows_core::IUnknown); impl AsyncIIdentityStore { pub unsafe fn Begin_GetCount(&self) -> ::windows_core::Result<()> { @@ -494,25 +420,9 @@ impl AsyncIIdentityStore { } } ::windows_core::imp::interface_hierarchy!(AsyncIIdentityStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIIdentityStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIIdentityStore {} -impl ::core::fmt::Debug for AsyncIIdentityStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIIdentityStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIIdentityStore { type Vtable = AsyncIIdentityStore_Vtbl; } -impl ::core::clone::Clone for AsyncIIdentityStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIIdentityStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeefa1616_48de_4872_aa64_6e6206535a51); } @@ -541,6 +451,7 @@ pub struct AsyncIIdentityStore_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIIdentityStoreEx(::windows_core::IUnknown); impl AsyncIIdentityStoreEx { pub unsafe fn Begin_CreateConnectedIdentity(&self, localname: P0, connectedname: P1, providerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> @@ -564,25 +475,9 @@ impl AsyncIIdentityStoreEx { } } ::windows_core::imp::interface_hierarchy!(AsyncIIdentityStoreEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIIdentityStoreEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIIdentityStoreEx {} -impl ::core::fmt::Debug for AsyncIIdentityStoreEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIIdentityStoreEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIIdentityStoreEx { type Vtable = AsyncIIdentityStoreEx_Vtbl; } -impl ::core::clone::Clone for AsyncIIdentityStoreEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIIdentityStoreEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfca3af9a_8a07_4eae_8632_ec3de658a36a); } @@ -597,6 +492,7 @@ pub struct AsyncIIdentityStoreEx_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssociatedIdentityProvider(::windows_core::IUnknown); impl IAssociatedIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -628,25 +524,9 @@ impl IAssociatedIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(IAssociatedIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssociatedIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssociatedIdentityProvider {} -impl ::core::fmt::Debug for IAssociatedIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssociatedIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssociatedIdentityProvider { type Vtable = IAssociatedIdentityProvider_Vtbl; } -impl ::core::clone::Clone for IAssociatedIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssociatedIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2af066b3_4cbb_4cba_a798_204b6af68cc0); } @@ -669,6 +549,7 @@ pub struct IAssociatedIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectedIdentityProvider(::windows_core::IUnknown); impl IConnectedIdentityProvider { pub unsafe fn ConnectIdentity(&self, authbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -697,25 +578,9 @@ impl IConnectedIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(IConnectedIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConnectedIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnectedIdentityProvider {} -impl ::core::fmt::Debug for IConnectedIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnectedIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnectedIdentityProvider { type Vtable = IConnectedIdentityProvider_Vtbl; } -impl ::core::clone::Clone for IConnectedIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectedIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7417b54_e08c_429b_96c8_678d1369ecb1); } @@ -737,6 +602,7 @@ pub struct IConnectedIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityAdvise(::windows_core::IUnknown); impl IIdentityAdvise { pub unsafe fn IdentityUpdated(&self, dwidentityupdateevents: IdentityUpdateEvent, lpszuniqueid: P0) -> ::windows_core::Result<()> @@ -747,25 +613,9 @@ impl IIdentityAdvise { } } ::windows_core::imp::interface_hierarchy!(IIdentityAdvise, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIdentityAdvise { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityAdvise {} -impl ::core::fmt::Debug for IIdentityAdvise { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityAdvise").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityAdvise { type Vtable = IIdentityAdvise_Vtbl; } -impl ::core::clone::Clone for IIdentityAdvise { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityAdvise { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e982fed_d14b_440c_b8d6_bb386453d386); } @@ -777,6 +627,7 @@ pub struct IIdentityAdvise_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityAuthentication(::windows_core::IUnknown); impl IIdentityAuthentication { pub unsafe fn SetIdentityCredential(&self, credbuffer: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> { @@ -789,25 +640,9 @@ impl IIdentityAuthentication { } } ::windows_core::imp::interface_hierarchy!(IIdentityAuthentication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIdentityAuthentication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityAuthentication {} -impl ::core::fmt::Debug for IIdentityAuthentication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityAuthentication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityAuthentication { type Vtable = IIdentityAuthentication_Vtbl; } -impl ::core::clone::Clone for IIdentityAuthentication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityAuthentication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e7ef254_979f_43b5_b74e_06e4eb7df0f9); } @@ -823,6 +658,7 @@ pub struct IIdentityAuthentication_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityProvider(::windows_core::IUnknown); impl IIdentityProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -882,25 +718,9 @@ impl IIdentityProvider { } } ::windows_core::imp::interface_hierarchy!(IIdentityProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIdentityProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityProvider {} -impl ::core::fmt::Debug for IIdentityProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityProvider { type Vtable = IIdentityProvider_Vtbl; } -impl ::core::clone::Clone for IIdentityProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d1b9e0c_e8ba_4f55_a81b_bce934b948f5); } @@ -937,6 +757,7 @@ pub struct IIdentityProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityStore(::windows_core::IUnknown); impl IIdentityStore { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -969,25 +790,9 @@ impl IIdentityStore { } } ::windows_core::imp::interface_hierarchy!(IIdentityStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIdentityStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityStore {} -impl ::core::fmt::Debug for IIdentityStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityStore { type Vtable = IIdentityStore_Vtbl; } -impl ::core::clone::Clone for IIdentityStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf586fa5_6f35_44f1_b209_b38e169772eb); } @@ -1007,6 +812,7 @@ pub struct IIdentityStore_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityStoreEx(::windows_core::IUnknown); impl IIdentityStoreEx { pub unsafe fn CreateConnectedIdentity(&self, localname: P0, connectedname: P1, providerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> @@ -1024,25 +830,9 @@ impl IIdentityStoreEx { } } ::windows_core::imp::interface_hierarchy!(IIdentityStoreEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIdentityStoreEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityStoreEx {} -impl ::core::fmt::Debug for IIdentityStoreEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityStoreEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityStoreEx { type Vtable = IIdentityStoreEx_Vtbl; } -impl ::core::clone::Clone for IIdentityStoreEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityStoreEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9f9eb98_8f7f_4e38_9577_6980114ce32b); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs index 1133ca4438..5d57ccd1a5 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs @@ -12,7 +12,7 @@ impl ICcgDomainAuthCredentials_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPasswordCredentials: GetPasswordCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index b9910013ef..04036cddce 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -289,16 +289,16 @@ pub unsafe fn CompleteAuthToken(phcontext: *const super::super::Credentials::Sec #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] -pub unsafe fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn CredMarshalTargetInfo(intargetinfo : *const super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, buffer : *mut *mut u16, buffersize : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - CredMarshalTargetInfo(intargetinfo, buffer, buffersize).ok() + CredMarshalTargetInfo(intargetinfo, buffer, buffersize) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] #[inline] -pub unsafe fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: ::core::option::Option<*mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW>, retactualsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { +pub unsafe fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: ::core::option::Option<*mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW>, retactualsize: ::core::option::Option<*mut u32>) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn CredUnmarshalTargetInfo(buffer : *const u16, buffersize : u32, rettargetinfo : *mut *mut super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, retactualsize : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - CredUnmarshalTargetInfo(buffer, buffersize, ::core::mem::transmute(rettargetinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(retactualsize.unwrap_or(::std::ptr::null_mut()))).ok() + CredUnmarshalTargetInfo(buffer, buffersize, ::core::mem::transmute(rettargetinfo.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(retactualsize.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] @@ -485,207 +485,207 @@ pub unsafe fn InitializeSecurityContextW(phcredential: ::core::option::Option<*c #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaAddAccountRights(policyhandle: P0, accountsid: P1, userrights: &[LSA_UNICODE_STRING]) -> ::windows_core::Result<()> +pub unsafe fn LsaAddAccountRights(policyhandle: P0, accountsid: P1, userrights: &[LSA_UNICODE_STRING]) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaAddAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS); - LsaAddAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), ::core::mem::transmute(userrights.as_ptr()), userrights.len() as _).ok() + LsaAddAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), ::core::mem::transmute(userrights.as_ptr()), userrights.len() as _) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaCallAuthenticationPackage(lsahandle: P0, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: ::core::option::Option<*mut *mut ::core::ffi::c_void>, returnbufferlength: ::core::option::Option<*mut u32>, protocolstatus: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> +pub unsafe fn LsaCallAuthenticationPackage(lsahandle: P0, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: ::core::option::Option<*mut *mut ::core::ffi::c_void>, returnbufferlength: ::core::option::Option<*mut u32>, protocolstatus: ::core::option::Option<*mut i32>) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaCallAuthenticationPackage(lsahandle : super::super::super::Foundation:: HANDLE, authenticationpackage : u32, protocolsubmitbuffer : *const ::core::ffi::c_void, submitbufferlength : u32, protocolreturnbuffer : *mut *mut ::core::ffi::c_void, returnbufferlength : *mut u32, protocolstatus : *mut i32) -> super::super::super::Foundation:: NTSTATUS); - LsaCallAuthenticationPackage(lsahandle.into_param().abi(), authenticationpackage, protocolsubmitbuffer, submitbufferlength, ::core::mem::transmute(protocolreturnbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnbufferlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(protocolstatus.unwrap_or(::std::ptr::null_mut()))).ok() + LsaCallAuthenticationPackage(lsahandle.into_param().abi(), authenticationpackage, protocolsubmitbuffer, submitbufferlength, ::core::mem::transmute(protocolreturnbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(returnbufferlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(protocolstatus.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaClose(objecthandle: P0) -> ::windows_core::Result<()> +pub unsafe fn LsaClose(objecthandle: P0) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaClose(objecthandle : LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaClose(objecthandle.into_param().abi()).ok() + LsaClose(objecthandle.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaConnectUntrusted(lsahandle : *mut super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaConnectUntrusted(lsahandle).ok() + LsaConnectUntrusted(lsahandle) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaCreateTrustedDomainEx(policyhandle: P0, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut LSA_HANDLE) -> ::windows_core::Result<()> +pub unsafe fn LsaCreateTrustedDomainEx(policyhandle: P0, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut LSA_HANDLE) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaCreateTrustedDomainEx(policyhandle : LSA_HANDLE, trusteddomaininformation : *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation : *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaCreateTrustedDomainEx(policyhandle.into_param().abi(), trusteddomaininformation, authenticationinformation, desiredaccess, trusteddomainhandle).ok() + LsaCreateTrustedDomainEx(policyhandle.into_param().abi(), trusteddomaininformation, authenticationinformation, desiredaccess, trusteddomainhandle) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaDeleteTrustedDomain(policyhandle: P0, trusteddomainsid: P1) -> ::windows_core::Result<()> +pub unsafe fn LsaDeleteTrustedDomain(policyhandle: P0, trusteddomainsid: P1) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaDeleteTrustedDomain(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID) -> super::super::super::Foundation:: NTSTATUS); - LsaDeleteTrustedDomain(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi()).ok() + LsaDeleteTrustedDomain(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaDeregisterLogonProcess(lsahandle: P0) -> ::windows_core::Result<()> +pub unsafe fn LsaDeregisterLogonProcess(lsahandle: P0) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaDeregisterLogonProcess(lsahandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaDeregisterLogonProcess(lsahandle.into_param().abi()).ok() + LsaDeregisterLogonProcess(lsahandle.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaEnumerateAccountRights(policyhandle: P0, accountsid: P1, userrights: *mut *mut LSA_UNICODE_STRING, countofrights: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn LsaEnumerateAccountRights(policyhandle: P0, accountsid: P1, userrights: *mut *mut LSA_UNICODE_STRING, countofrights: *mut u32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaEnumerateAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *mut *mut LSA_UNICODE_STRING, countofrights : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaEnumerateAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), userrights, countofrights).ok() + LsaEnumerateAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), userrights, countofrights) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaEnumerateAccountsWithUserRight(policyhandle: P0, userright: ::core::option::Option<*const LSA_UNICODE_STRING>, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn LsaEnumerateAccountsWithUserRight(policyhandle: P0, userright: ::core::option::Option<*const LSA_UNICODE_STRING>, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaEnumerateAccountsWithUserRight(policyhandle : LSA_HANDLE, userright : *const LSA_UNICODE_STRING, buffer : *mut *mut ::core::ffi::c_void, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaEnumerateAccountsWithUserRight(policyhandle.into_param().abi(), ::core::mem::transmute(userright.unwrap_or(::std::ptr::null())), buffer, countreturned).ok() + LsaEnumerateAccountsWithUserRight(policyhandle.into_param().abi(), ::core::mem::transmute(userright.unwrap_or(::std::ptr::null())), buffer, countreturned) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> ::windows_core::Result<()> { +pub unsafe fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaEnumerateLogonSessions(logonsessioncount : *mut u32, logonsessionlist : *mut *mut super::super::super::Foundation:: LUID) -> super::super::super::Foundation:: NTSTATUS); - LsaEnumerateLogonSessions(logonsessioncount, logonsessionlist).ok() + LsaEnumerateLogonSessions(logonsessioncount, logonsessionlist) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaEnumerateTrustedDomains(policyhandle: P0, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn LsaEnumerateTrustedDomains(policyhandle: P0, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaEnumerateTrustedDomains(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaEnumerateTrustedDomains(policyhandle.into_param().abi(), enumerationcontext, buffer, preferedmaximumlength, countreturned).ok() + LsaEnumerateTrustedDomains(policyhandle.into_param().abi(), enumerationcontext, buffer, preferedmaximumlength, countreturned) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaEnumerateTrustedDomainsEx(policyhandle: P0, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn LsaEnumerateTrustedDomainsEx(policyhandle: P0, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaEnumerateTrustedDomainsEx(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaEnumerateTrustedDomainsEx(policyhandle.into_param().abi(), enumerationcontext, buffer, preferedmaximumlength, countreturned).ok() + LsaEnumerateTrustedDomainsEx(policyhandle.into_param().abi(), enumerationcontext, buffer, preferedmaximumlength, countreturned) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaFreeMemory(buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { +pub unsafe fn LsaFreeMemory(buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" fn LsaFreeMemory(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaFreeMemory(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok() + LsaFreeMemory(::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaFreeReturnBuffer(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaFreeReturnBuffer(buffer).ok() + LsaFreeReturnBuffer(buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaGetAppliedCAPIDs(systemname: ::core::option::Option<*const LSA_UNICODE_STRING>, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn LsaGetAppliedCAPIDs(systemname: ::core::option::Option<*const LSA_UNICODE_STRING>, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" fn LsaGetAppliedCAPIDs(systemname : *const LSA_UNICODE_STRING, capids : *mut *mut super::super::super::Foundation:: PSID, capidcount : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaGetAppliedCAPIDs(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), capids, capidcount).ok() + LsaGetAppliedCAPIDs(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), capids, capidcount) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> ::windows_core::Result<()> { +pub unsafe fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaGetLogonSessionData(logonid : *const super::super::super::Foundation:: LUID, pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation:: NTSTATUS); - LsaGetLogonSessionData(logonid, pplogonsessiondata).ok() + LsaGetLogonSessionData(logonid, pplogonsessiondata) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLogonUser(lsahandle: P0, originname: *const LSA_STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: ::core::option::Option<*const super::super::TOKEN_GROUPS>, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn LsaLogonUser(lsahandle: P0, originname: *const LSA_STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: ::core::option::Option<*const super::super::TOKEN_GROUPS>, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaLogonUser(lsahandle : super::super::super::Foundation:: HANDLE, originname : *const LSA_STRING, logontype : SECURITY_LOGON_TYPE, authenticationpackage : u32, authenticationinformation : *const ::core::ffi::c_void, authenticationinformationlength : u32, localgroups : *const super::super:: TOKEN_GROUPS, sourcecontext : *const super::super:: TOKEN_SOURCE, profilebuffer : *mut *mut ::core::ffi::c_void, profilebufferlength : *mut u32, logonid : *mut super::super::super::Foundation:: LUID, token : *mut super::super::super::Foundation:: HANDLE, quotas : *mut super::super:: QUOTA_LIMITS, substatus : *mut i32) -> super::super::super::Foundation:: NTSTATUS); - LsaLogonUser(lsahandle.into_param().abi(), originname, logontype, authenticationpackage, authenticationinformation, authenticationinformationlength, ::core::mem::transmute(localgroups.unwrap_or(::std::ptr::null())), sourcecontext, profilebuffer, profilebufferlength, logonid, token, quotas, substatus).ok() + LsaLogonUser(lsahandle.into_param().abi(), originname, logontype, authenticationpackage, authenticationinformation, authenticationinformationlength, ::core::mem::transmute(localgroups.unwrap_or(::std::ptr::null())), sourcecontext, profilebuffer, profilebufferlength, logonid, token, quotas, substatus) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLookupAuthenticationPackage(lsahandle: P0, packagename: *const LSA_STRING, authenticationpackage: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn LsaLookupAuthenticationPackage(lsahandle: P0, packagename: *const LSA_STRING, authenticationpackage: *mut u32) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaLookupAuthenticationPackage(lsahandle : super::super::super::Foundation:: HANDLE, packagename : *const LSA_STRING, authenticationpackage : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaLookupAuthenticationPackage(lsahandle.into_param().abi(), packagename, authenticationpackage).ok() + LsaLookupAuthenticationPackage(lsahandle.into_param().abi(), packagename, authenticationpackage) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLookupNames(policyhandle: P0, count: u32, names: *const LSA_UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> ::windows_core::Result<()> +pub unsafe fn LsaLookupNames(policyhandle: P0, count: u32, names: *const LSA_UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaLookupNames(policyhandle : LSA_HANDLE, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation:: NTSTATUS); - LsaLookupNames(policyhandle.into_param().abi(), count, names, referenceddomains, sids).ok() + LsaLookupNames(policyhandle.into_param().abi(), count, names, referenceddomains, sids) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLookupNames2(policyhandle: P0, flags: u32, count: u32, names: *const LSA_UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> ::windows_core::Result<()> +pub unsafe fn LsaLookupNames2(policyhandle: P0, flags: u32, count: u32, names: *const LSA_UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaLookupNames2(policyhandle : LSA_HANDLE, flags : u32, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation:: NTSTATUS); - LsaLookupNames2(policyhandle.into_param().abi(), flags, count, names, referenceddomains, sids).ok() + LsaLookupNames2(policyhandle.into_param().abi(), flags, count, names, referenceddomains, sids) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLookupSids(policyhandle: P0, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> ::windows_core::Result<()> +pub unsafe fn LsaLookupSids(policyhandle: P0, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaLookupSids(policyhandle : LSA_HANDLE, count : u32, sids : *const super::super::super::Foundation:: PSID, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, names : *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation:: NTSTATUS); - LsaLookupSids(policyhandle.into_param().abi(), count, sids, referenceddomains, names).ok() + LsaLookupSids(policyhandle.into_param().abi(), count, sids, referenceddomains, names) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaLookupSids2(policyhandle: P0, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> ::windows_core::Result<()> +pub unsafe fn LsaLookupSids2(policyhandle: P0, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaLookupSids2(policyhandle : LSA_HANDLE, lookupoptions : u32, count : u32, sids : *const super::super::super::Foundation:: PSID, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, names : *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation:: NTSTATUS); - LsaLookupSids2(policyhandle.into_param().abi(), lookupoptions, count, sids, referenceddomains, names).ok() + LsaLookupSids2(policyhandle.into_param().abi(), lookupoptions, count, sids, referenceddomains, names) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -700,216 +700,216 @@ where #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaOpenPolicy(systemname: ::core::option::Option<*const LSA_UNICODE_STRING>, objectattributes: *const LSA_OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut LSA_HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn LsaOpenPolicy(systemname: ::core::option::Option<*const LSA_UNICODE_STRING>, objectattributes: *const LSA_OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut LSA_HANDLE) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" fn LsaOpenPolicy(systemname : *const LSA_UNICODE_STRING, objectattributes : *const LSA_OBJECT_ATTRIBUTES, desiredaccess : u32, policyhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaOpenPolicy(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), objectattributes, desiredaccess, policyhandle).ok() + LsaOpenPolicy(::core::mem::transmute(systemname.unwrap_or(::std::ptr::null())), objectattributes, desiredaccess, policyhandle) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaOpenTrustedDomainByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut LSA_HANDLE) -> ::windows_core::Result<()> +pub unsafe fn LsaOpenTrustedDomainByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut LSA_HANDLE) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaOpenTrustedDomainByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaOpenTrustedDomainByName(policyhandle.into_param().abi(), trusteddomainname, desiredaccess, trusteddomainhandle).ok() + LsaOpenTrustedDomainByName(policyhandle.into_param().abi(), trusteddomainname, desiredaccess, trusteddomainhandle) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryCAPs(capids: ::core::option::Option<&[super::super::super::Foundation::PSID]>, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn LsaQueryCAPs(capids: ::core::option::Option<&[super::super::super::Foundation::PSID]>, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryCAPs(capids : *const super::super::super::Foundation:: PSID, capidcount : u32, caps : *mut *mut CENTRAL_ACCESS_POLICY, capcount : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryCAPs(::core::mem::transmute(capids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capids.as_deref().map_or(0, |slice| slice.len() as _), caps, capcount).ok() + LsaQueryCAPs(::core::mem::transmute(capids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capids.as_deref().map_or(0, |slice| slice.len() as _), caps, capcount) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryDomainInformationPolicy(policyhandle: P0, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryDomainInformationPolicy(policyhandle: P0, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryDomainInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer).ok() + LsaQueryDomainInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryForestTrustInformation(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryForestTrustInformation(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryForestTrustInformation(policyhandle.into_param().abi(), trusteddomainname, foresttrustinfo).ok() + LsaQueryForestTrustInformation(policyhandle.into_param().abi(), trusteddomainname, foresttrustinfo) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryForestTrustInformation2(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, highestrecordtype: LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION2) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryForestTrustInformation2(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, highestrecordtype: LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION2) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION2) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryForestTrustInformation2(policyhandle.into_param().abi(), trusteddomainname, highestrecordtype, foresttrustinfo).ok() + LsaQueryForestTrustInformation2(policyhandle.into_param().abi(), trusteddomainname, highestrecordtype, foresttrustinfo) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryInformationPolicy(policyhandle: P0, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryInformationPolicy(policyhandle: P0, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer).ok() + LsaQueryInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryTrustedDomainInfo(policyhandle: P0, trusteddomainsid: P1, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryTrustedDomainInfo(policyhandle: P0, trusteddomainsid: P1, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryTrustedDomainInfo(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryTrustedDomainInfo(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi(), informationclass, buffer).ok() + LsaQueryTrustedDomainInfo(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi(), informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaQueryTrustedDomainInfoByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaQueryTrustedDomainInfoByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaQueryTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaQueryTrustedDomainInfoByName(policyhandle.into_param().abi(), trusteddomainname, informationclass, buffer).ok() + LsaQueryTrustedDomainInfoByName(policyhandle.into_param().abi(), trusteddomainname, informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaRegisterLogonProcess(logonprocessname: *const LSA_STRING, lsahandle: *mut super::super::super::Foundation::HANDLE, securitymode: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn LsaRegisterLogonProcess(logonprocessname: *const LSA_STRING, lsahandle: *mut super::super::super::Foundation::HANDLE, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("secur32.dll" "system" fn LsaRegisterLogonProcess(logonprocessname : *const LSA_STRING, lsahandle : *mut super::super::super::Foundation:: HANDLE, securitymode : *mut u32) -> super::super::super::Foundation:: NTSTATUS); - LsaRegisterLogonProcess(logonprocessname, lsahandle, securitymode).ok() + LsaRegisterLogonProcess(logonprocessname, lsahandle, securitymode) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: P0) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaRegisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaRegisterPolicyChangeNotification(informationclass, notificationeventhandle.into_param().abi()).ok() + LsaRegisterPolicyChangeNotification(informationclass, notificationeventhandle.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaRemoveAccountRights(policyhandle: P0, accountsid: P1, allrights: P2, userrights: ::core::option::Option<&[LSA_UNICODE_STRING]>) -> ::windows_core::Result<()> +pub unsafe fn LsaRemoveAccountRights(policyhandle: P0, accountsid: P1, allrights: P2, userrights: ::core::option::Option<&[LSA_UNICODE_STRING]>) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaRemoveAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, allrights : super::super::super::Foundation:: BOOLEAN, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS); - LsaRemoveAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), allrights.into_param().abi(), ::core::mem::transmute(userrights.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), userrights.as_deref().map_or(0, |slice| slice.len() as _)).ok() + LsaRemoveAccountRights(policyhandle.into_param().abi(), accountsid.into_param().abi(), allrights.into_param().abi(), ::core::mem::transmute(userrights.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), userrights.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaRetrievePrivateData(policyhandle: P0, keyname: *const LSA_UNICODE_STRING, privatedata: *mut *mut LSA_UNICODE_STRING) -> ::windows_core::Result<()> +pub unsafe fn LsaRetrievePrivateData(policyhandle: P0, keyname: *const LSA_UNICODE_STRING, privatedata: *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaRetrievePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); - LsaRetrievePrivateData(policyhandle.into_param().abi(), keyname, privatedata).ok() + LsaRetrievePrivateData(policyhandle.into_param().abi(), keyname, privatedata) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetCAPs(capdns: ::core::option::Option<&[LSA_UNICODE_STRING]>, flags: u32) -> ::windows_core::Result<()> { +pub unsafe fn LsaSetCAPs(capdns: ::core::option::Option<&[LSA_UNICODE_STRING]>, flags: u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetCAPs(capdns : *const LSA_UNICODE_STRING, capdncount : u32, flags : u32) -> super::super::super::Foundation:: NTSTATUS); - LsaSetCAPs(::core::mem::transmute(capdns.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capdns.as_deref().map_or(0, |slice| slice.len() as _), flags).ok() + LsaSetCAPs(::core::mem::transmute(capdns.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), capdns.as_deref().map_or(0, |slice| slice.len() as _), flags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetDomainInformationPolicy(policyhandle: P0, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn LsaSetDomainInformationPolicy(policyhandle: P0, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaSetDomainInformationPolicy(policyhandle.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok() + LsaSetDomainInformationPolicy(policyhandle.into_param().abi(), informationclass, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetForestTrustInformation(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: P1, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn LsaSetForestTrustInformation(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: P1, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION, checkonly : super::super::super::Foundation:: BOOLEAN, collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); - LsaSetForestTrustInformation(policyhandle.into_param().abi(), trusteddomainname, foresttrustinfo, checkonly.into_param().abi(), collisioninfo).ok() + LsaSetForestTrustInformation(policyhandle.into_param().abi(), trusteddomainname, foresttrustinfo, checkonly.into_param().abi(), collisioninfo) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetForestTrustInformation2(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, highestrecordtype: LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION2, checkonly: P1, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> ::windows_core::Result<()> +pub unsafe fn LsaSetForestTrustInformation2(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, highestrecordtype: LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION2, checkonly: P1, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION2, checkonly : super::super::super::Foundation:: BOOLEAN, collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); - LsaSetForestTrustInformation2(policyhandle.into_param().abi(), trusteddomainname, highestrecordtype, foresttrustinfo, checkonly.into_param().abi(), collisioninfo).ok() + LsaSetForestTrustInformation2(policyhandle.into_param().abi(), trusteddomainname, highestrecordtype, foresttrustinfo, checkonly.into_param().abi(), collisioninfo) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetInformationPolicy(policyhandle: P0, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaSetInformationPolicy(policyhandle: P0, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaSetInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer).ok() + LsaSetInformationPolicy(policyhandle.into_param().abi(), informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetTrustedDomainInfoByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaSetTrustedDomainInfoByName(policyhandle: P0, trusteddomainname: *const LSA_UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaSetTrustedDomainInfoByName(policyhandle.into_param().abi(), trusteddomainname, informationclass, buffer).ok() + LsaSetTrustedDomainInfoByName(policyhandle.into_param().abi(), trusteddomainname, informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaSetTrustedDomainInformation(policyhandle: P0, trusteddomainsid: P1, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> +pub unsafe fn LsaSetTrustedDomainInformation(policyhandle: P0, trusteddomainsid: P1, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaSetTrustedDomainInformation(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - LsaSetTrustedDomainInformation(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi(), informationclass, buffer).ok() + LsaSetTrustedDomainInformation(policyhandle.into_param().abi(), trusteddomainsid.into_param().abi(), informationclass, buffer) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaStorePrivateData(policyhandle: P0, keyname: *const LSA_UNICODE_STRING, privatedata: ::core::option::Option<*const LSA_UNICODE_STRING>) -> ::windows_core::Result<()> +pub unsafe fn LsaStorePrivateData(policyhandle: P0, keyname: *const LSA_UNICODE_STRING, privatedata: ::core::option::Option<*const LSA_UNICODE_STRING>) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("advapi32.dll" "system" fn LsaStorePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *const LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); - LsaStorePrivateData(policyhandle.into_param().abi(), keyname, ::core::mem::transmute(privatedata.unwrap_or(::std::ptr::null()))).ok() + LsaStorePrivateData(policyhandle.into_param().abi(), keyname, ::core::mem::transmute(privatedata.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: P0) -> ::windows_core::Result<()> +pub unsafe fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: P0) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("secur32.dll" "system" fn LsaUnregisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); - LsaUnregisterPolicyChangeNotification(informationclass, notificationeventhandle.into_param().abi()).ok() + LsaUnregisterPolicyChangeNotification(informationclass, notificationeventhandle.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] @@ -1011,16 +1011,16 @@ pub unsafe fn RevertSecurityContext(phcontext: *const super::super::Credentials: #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlDecryptMemory(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlDecryptMemory(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" "SystemFunction041" fn RtlDecryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS); - RtlDecryptMemory(memory, memorysize, optionflags).ok() + RtlDecryptMemory(memory, memorysize, optionflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlEncryptMemory(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlEncryptMemory(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("advapi32.dll" "system" "SystemFunction040" fn RtlEncryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS); - RtlEncryptMemory(memory, memorysize, optionflags).ok() + RtlEncryptMemory(memory, memorysize, optionflags) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1836,6 +1836,7 @@ pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHa } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICcgDomainAuthCredentials(::windows_core::IUnknown); impl ICcgDomainAuthCredentials { pub unsafe fn GetPasswordCredentials(&self, plugininput: P0, domainname: *mut ::windows_core::PWSTR, username: *mut ::windows_core::PWSTR, password: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> @@ -1846,25 +1847,9 @@ impl ICcgDomainAuthCredentials { } } ::windows_core::imp::interface_hierarchy!(ICcgDomainAuthCredentials, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICcgDomainAuthCredentials { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICcgDomainAuthCredentials {} -impl ::core::fmt::Debug for ICcgDomainAuthCredentials { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICcgDomainAuthCredentials").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICcgDomainAuthCredentials { type Vtable = ICcgDomainAuthCredentials_Vtbl; } -impl ::core::clone::Clone for ICcgDomainAuthCredentials { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICcgDomainAuthCredentials { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ecda518_2010_4437_8bc3_46e752b7b172); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs index aea0de20d9..d61461d36e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs @@ -15,8 +15,8 @@ impl IEffectivePermission_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEffectivePermission: GetEffectivePermission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IEffectivePermission2_Vtbl { ComputeEffectivePermissionWithSecondarySecurity: ComputeEffectivePermissionWithSecondarySecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -153,8 +153,8 @@ impl ISecurityInformation_Vtbl { PropertySheetPageCallback: PropertySheetPageCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl ISecurityInformation2_Vtbl { LookupSids: LookupSids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -227,8 +227,8 @@ impl ISecurityInformation3_Vtbl { OpenElevatedEditor: OpenElevatedEditor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl ISecurityInformation4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecondarySecurity: GetSecondarySecurity:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"implement\"`*"] @@ -266,7 +266,7 @@ impl ISecurityObjectTypeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInheritSource: GetInheritSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs index 53640e53cf..24566b1576 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -33,6 +33,7 @@ where } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEffectivePermission(::windows_core::IUnknown); impl IEffectivePermission { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -47,25 +48,9 @@ impl IEffectivePermission { } } ::windows_core::imp::interface_hierarchy!(IEffectivePermission, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEffectivePermission { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEffectivePermission {} -impl ::core::fmt::Debug for IEffectivePermission { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEffectivePermission").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEffectivePermission { type Vtable = IEffectivePermission_Vtbl; } -impl ::core::clone::Clone for IEffectivePermission { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEffectivePermission { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3853dc76_9f35_407c_88a1_d19344365fbc); } @@ -80,6 +65,7 @@ pub struct IEffectivePermission_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEffectivePermission2(::windows_core::IUnknown); impl IEffectivePermission2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -127,25 +113,9 @@ impl IEffectivePermission2 { } } ::windows_core::imp::interface_hierarchy!(IEffectivePermission2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEffectivePermission2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEffectivePermission2 {} -impl ::core::fmt::Debug for IEffectivePermission2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEffectivePermission2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEffectivePermission2 { type Vtable = IEffectivePermission2_Vtbl; } -impl ::core::clone::Clone for IEffectivePermission2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEffectivePermission2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x941fabca_dd47_4fca_90bb_b0e10255f20d); } @@ -176,6 +146,7 @@ pub struct IEffectivePermission2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityInformation(::windows_core::IUnknown); impl ISecurityInformation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -216,25 +187,9 @@ impl ISecurityInformation { } } ::windows_core::imp::interface_hierarchy!(ISecurityInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityInformation {} -impl ::core::fmt::Debug for ISecurityInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityInformation { type Vtable = ISecurityInformation_Vtbl; } -impl ::core::clone::Clone for ISecurityInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x965fc360_16ff_11d0_91cb_00aa00bbb723); } @@ -261,6 +216,7 @@ pub struct ISecurityInformation_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityInformation2(::windows_core::IUnknown); impl ISecurityInformation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -276,25 +232,9 @@ impl ISecurityInformation2 { } } ::windows_core::imp::interface_hierarchy!(ISecurityInformation2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityInformation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityInformation2 {} -impl ::core::fmt::Debug for ISecurityInformation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityInformation2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityInformation2 { type Vtable = ISecurityInformation2_Vtbl; } -impl ::core::clone::Clone for ISecurityInformation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityInformation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3ccfdb4_6f88_11d2_a3ce_00c04fb1782a); } @@ -313,6 +253,7 @@ pub struct ISecurityInformation2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityInformation3(::windows_core::IUnknown); impl ISecurityInformation3 { pub unsafe fn GetFullResourceName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -329,25 +270,9 @@ impl ISecurityInformation3 { } } ::windows_core::imp::interface_hierarchy!(ISecurityInformation3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityInformation3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityInformation3 {} -impl ::core::fmt::Debug for ISecurityInformation3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityInformation3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityInformation3 { type Vtable = ISecurityInformation3_Vtbl; } -impl ::core::clone::Clone for ISecurityInformation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityInformation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2cdc9cc_31bd_4f8f_8c8b_b641af516a1a); } @@ -363,6 +288,7 @@ pub struct ISecurityInformation3_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityInformation4(::windows_core::IUnknown); impl ISecurityInformation4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -372,25 +298,9 @@ impl ISecurityInformation4 { } } ::windows_core::imp::interface_hierarchy!(ISecurityInformation4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityInformation4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityInformation4 {} -impl ::core::fmt::Debug for ISecurityInformation4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityInformation4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityInformation4 { type Vtable = ISecurityInformation4_Vtbl; } -impl ::core::clone::Clone for ISecurityInformation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityInformation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea961070_cd14_4621_ace4_f63c03e583e4); } @@ -405,6 +315,7 @@ pub struct ISecurityInformation4_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityObjectTypeInfo(::windows_core::IUnknown); impl ISecurityObjectTypeInfo { pub unsafe fn GetInheritSource(&self, si: u32, pacl: *mut super::super::ACL, ppinheritarray: *mut *mut super::INHERITED_FROMA) -> ::windows_core::Result<()> { @@ -412,25 +323,9 @@ impl ISecurityObjectTypeInfo { } } ::windows_core::imp::interface_hierarchy!(ISecurityObjectTypeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityObjectTypeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityObjectTypeInfo {} -impl ::core::fmt::Debug for ISecurityObjectTypeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityObjectTypeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityObjectTypeInfo { type Vtable = ISecurityObjectTypeInfo_Vtbl; } -impl ::core::clone::Clone for ISecurityObjectTypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityObjectTypeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc3066eb_79ef_444b_9111_d18a75ebf2fa); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs index 605c701605..c6829843a7 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs @@ -636,8 +636,8 @@ impl IAzApplication_Vtbl { DeleteDelegatedPolicyUserName: DeleteDelegatedPolicyUserName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -679,8 +679,8 @@ impl IAzApplication2_Vtbl { InitializeClientContext2: InitializeClientContext2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -854,8 +854,8 @@ impl IAzApplication3_Vtbl { SetBizRulesEnabled: SetBizRulesEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1167,8 +1167,8 @@ impl IAzApplicationGroup_Vtbl { NonMembersName: NonMembersName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1257,8 +1257,8 @@ impl IAzApplicationGroup2_Vtbl { RoleAssignments: RoleAssignments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IAzApplicationGroups_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1369,8 +1369,8 @@ impl IAzApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1875,8 +1875,8 @@ impl IAzAuthorizationStore_Vtbl { CloseApplication: CloseApplication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1918,8 +1918,8 @@ impl IAzAuthorizationStore2_Vtbl { CreateApplication2: CreateApplication2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1988,8 +1988,8 @@ impl IAzAuthorizationStore3_Vtbl { GetSchemaVersion: GetSchemaVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl IAzBizRuleContext_Vtbl { GetParameter: GetParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2110,8 +2110,8 @@ impl IAzBizRuleInterfaces_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2181,8 +2181,8 @@ impl IAzBizRuleParameters_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2361,8 +2361,8 @@ impl IAzClientContext_Vtbl { SetRoleForAccessCheck: SetRoleForAccessCheck::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2426,8 +2426,8 @@ impl IAzClientContext2_Vtbl { LDAPQueryDN: LDAPQueryDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IAzClientContext3_Vtbl { Sids: Sids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2578,8 +2578,8 @@ impl IAzNameResolver_Vtbl { NamesFromSids: NamesFromSids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2615,8 +2615,8 @@ impl IAzObjectPicker_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2752,8 +2752,8 @@ impl IAzOperation_Vtbl { Submit: Submit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2779,8 +2779,8 @@ impl IAzOperation2_Vtbl { } Self { base__: IAzOperation_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2835,8 +2835,8 @@ impl IAzOperations_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2878,8 +2878,8 @@ impl IAzPrincipalLocator_Vtbl { ObjectPicker: ObjectPicker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3144,8 +3144,8 @@ impl IAzRole_Vtbl { MembersName: MembersName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3201,8 +3201,8 @@ impl IAzRoleAssignment_Vtbl { Scope: Scope::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3257,8 +3257,8 @@ impl IAzRoleAssignments_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3314,8 +3314,8 @@ impl IAzRoleDefinition_Vtbl { RoleDefinitions: RoleDefinitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3370,8 +3370,8 @@ impl IAzRoleDefinitions_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3426,8 +3426,8 @@ impl IAzRoles_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3829,8 +3829,8 @@ impl IAzScope_Vtbl { DeletePolicyReaderName: DeletePolicyReaderName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3938,8 +3938,8 @@ impl IAzScope2_Vtbl { DeleteRoleAssignment: DeleteRoleAssignment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3994,8 +3994,8 @@ impl IAzScopes_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4259,8 +4259,8 @@ impl IAzTask_Vtbl { Submit: Submit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4286,8 +4286,8 @@ impl IAzTask2_Vtbl { } Self { base__: IAzTask_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4342,7 +4342,7 @@ impl IAzTasks_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index 2278f6b881..b283cfe18c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -864,6 +864,7 @@ where #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplication { @@ -1298,30 +1299,10 @@ impl IAzApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplication, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplication { type Vtable = IAzApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x987bc7c7_b813_4d27_bede_6ba5ae867e95); } @@ -1548,6 +1529,7 @@ pub struct IAzApplication_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplication2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplication2 { @@ -1997,30 +1979,10 @@ impl IAzApplication2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplication2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplication); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplication2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplication2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplication2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplication2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplication2 { type Vtable = IAzApplication2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplication2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplication2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x086a68af_a249_437c_b18d_d4d86d6a9660); } @@ -2041,6 +2003,7 @@ pub struct IAzApplication2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplication3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplication3 { @@ -2597,30 +2560,10 @@ impl IAzApplication3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplication3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplication, IAzApplication2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplication3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplication3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplication3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplication3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplication3 { type Vtable = IAzApplication3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplication3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplication3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x181c845e_7196_4a7d_ac2e_020c0bb7a303); } @@ -2680,6 +2623,7 @@ pub struct IAzApplication3_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplicationGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup { @@ -2888,30 +2832,10 @@ impl IAzApplicationGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplicationGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplicationGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplicationGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplicationGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplicationGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplicationGroup { type Vtable = IAzApplicationGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplicationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplicationGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1b744cd_58a6_4e06_9fbf_36f6d779e21e); } @@ -3028,6 +2952,7 @@ pub struct IAzApplicationGroup_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplicationGroup2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroup2 { @@ -3276,30 +3201,10 @@ impl IAzApplicationGroup2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplicationGroup2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplicationGroup); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplicationGroup2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplicationGroup2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplicationGroup2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplicationGroup2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplicationGroup2 { type Vtable = IAzApplicationGroup2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplicationGroup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplicationGroup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3f0613fc_b71a_464e_a11d_5b881a56cefa); } @@ -3322,6 +3227,7 @@ pub struct IAzApplicationGroup2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplicationGroups(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplicationGroups { @@ -3343,30 +3249,10 @@ impl IAzApplicationGroups { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplicationGroups, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplicationGroups { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplicationGroups {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplicationGroups { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplicationGroups").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplicationGroups { type Vtable = IAzApplicationGroups_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplicationGroups { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplicationGroups { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ce66ad5_9f3c_469d_a911_b99887a7e685); } @@ -3385,6 +3271,7 @@ pub struct IAzApplicationGroups_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzApplications(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzApplications { @@ -3406,30 +3293,10 @@ impl IAzApplications { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzApplications, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzApplications { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzApplications {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzApplications { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzApplications").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzApplications { type Vtable = IAzApplications_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzApplications { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzApplications { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x929b11a9_95c5_4a84_a29a_20ad42c2f16c); } @@ -3448,6 +3315,7 @@ pub struct IAzApplications_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzAuthorizationStore(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore { @@ -3780,30 +3648,10 @@ impl IAzAuthorizationStore { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzAuthorizationStore, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzAuthorizationStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzAuthorizationStore {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzAuthorizationStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzAuthorizationStore").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzAuthorizationStore { type Vtable = IAzAuthorizationStore_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzAuthorizationStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzAuthorizationStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedbd9ca9_9b82_4f6a_9e8b_98301e450f14); } @@ -3984,6 +3832,7 @@ pub struct IAzAuthorizationStore_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzAuthorizationStore2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore2 { @@ -4334,30 +4183,10 @@ impl IAzAuthorizationStore2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzAuthorizationStore2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzAuthorizationStore2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzAuthorizationStore2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzAuthorizationStore2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzAuthorizationStore2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzAuthorizationStore2 { type Vtable = IAzAuthorizationStore2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzAuthorizationStore2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzAuthorizationStore2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb11e5584_d577_4273_b6c5_0973e0f8e80d); } @@ -4378,6 +4207,7 @@ pub struct IAzAuthorizationStore2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzAuthorizationStore3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzAuthorizationStore3 { @@ -4752,30 +4582,10 @@ impl IAzAuthorizationStore3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzAuthorizationStore3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore, IAzAuthorizationStore2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzAuthorizationStore3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzAuthorizationStore3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzAuthorizationStore3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzAuthorizationStore3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzAuthorizationStore3 { type Vtable = IAzAuthorizationStore3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzAuthorizationStore3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzAuthorizationStore3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabc08425_0c86_4fa0_9be3_7189956c926e); } @@ -4802,6 +4612,7 @@ pub struct IAzAuthorizationStore3_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzBizRuleContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleContext { @@ -4836,30 +4647,10 @@ impl IAzBizRuleContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzBizRuleContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzBizRuleContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzBizRuleContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzBizRuleContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzBizRuleContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzBizRuleContext { type Vtable = IAzBizRuleContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzBizRuleContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzBizRuleContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe192f17d_d59f_455e_a152_940316cd77b2); } @@ -4882,6 +4673,7 @@ pub struct IAzBizRuleContext_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzBizRuleInterfaces(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleInterfaces { @@ -4923,30 +4715,10 @@ impl IAzBizRuleInterfaces { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzBizRuleInterfaces, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzBizRuleInterfaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzBizRuleInterfaces {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzBizRuleInterfaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzBizRuleInterfaces").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzBizRuleInterfaces { type Vtable = IAzBizRuleInterfaces_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzBizRuleInterfaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzBizRuleInterfaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe94128c7_e9da_44cc_b0bd_53036f3aab3d); } @@ -4974,6 +4746,7 @@ pub struct IAzBizRuleInterfaces_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzBizRuleParameters(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzBizRuleParameters { @@ -5016,30 +4789,10 @@ impl IAzBizRuleParameters { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzBizRuleParameters, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzBizRuleParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzBizRuleParameters {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzBizRuleParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzBizRuleParameters").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzBizRuleParameters { type Vtable = IAzBizRuleParameters_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzBizRuleParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzBizRuleParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc17685f_e25d_4dcd_bae1_276ec9533cb5); } @@ -5067,6 +4820,7 @@ pub struct IAzBizRuleParameters_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzClientContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzClientContext { @@ -5140,30 +4894,10 @@ impl IAzClientContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzClientContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzClientContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzClientContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzClientContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzClientContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzClientContext { type Vtable = IAzClientContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzClientContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzClientContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeff1f00b_488a_466d_afd9_a401c5f9eef5); } @@ -5198,6 +4932,7 @@ pub struct IAzClientContext_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzClientContext2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzClientContext2 { @@ -5304,30 +5039,10 @@ impl IAzClientContext2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzClientContext2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzClientContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzClientContext2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzClientContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzClientContext2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzClientContext2 { type Vtable = IAzClientContext2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzClientContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzClientContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b0c92b8_208a_488a_8f81_e4edb22111cd); } @@ -5358,6 +5073,7 @@ pub struct IAzClientContext2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzClientContext3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzClientContext3 { @@ -5527,30 +5243,10 @@ impl IAzClientContext3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzClientContext3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext, IAzClientContext2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzClientContext3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzClientContext3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzClientContext3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzClientContext3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzClientContext3 { type Vtable = IAzClientContext3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzClientContext3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzClientContext3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11894fde_1deb_4b4b_8907_6d1cda1f5d4f); } @@ -5592,6 +5288,7 @@ pub struct IAzClientContext3_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzNameResolver(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzNameResolver { @@ -5610,30 +5307,10 @@ impl IAzNameResolver { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzNameResolver, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzNameResolver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzNameResolver {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzNameResolver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzNameResolver").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzNameResolver { type Vtable = IAzNameResolver_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzNameResolver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzNameResolver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x504d0f15_73e2_43df_a870_a64f40714f53); } @@ -5651,6 +5328,7 @@ pub struct IAzNameResolver_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzObjectPicker(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzObjectPicker { @@ -5671,30 +5349,10 @@ impl IAzObjectPicker { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzObjectPicker, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzObjectPicker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzObjectPicker {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzObjectPicker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzObjectPicker").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzObjectPicker { type Vtable = IAzObjectPicker_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzObjectPicker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzObjectPicker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63130a48_699a_42d8_bf01_c62ac3fb79f9); } @@ -5712,6 +5370,7 @@ pub struct IAzObjectPicker_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzOperation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzOperation { @@ -5778,30 +5437,10 @@ impl IAzOperation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzOperation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzOperation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzOperation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzOperation { type Vtable = IAzOperation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e56b24f_ea01_4d61_be44_c49b5e4eaf74); } @@ -5838,6 +5477,7 @@ pub struct IAzOperation_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzOperation2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzOperation2 { @@ -5914,30 +5554,10 @@ impl IAzOperation2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzOperation2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzOperation); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzOperation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzOperation2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzOperation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzOperation2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzOperation2 { type Vtable = IAzOperation2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f5ea01f_44a2_4184_9c48_a75b4dcc8ccc); } @@ -5954,6 +5574,7 @@ pub struct IAzOperation2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzOperations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzOperations { @@ -5975,30 +5596,10 @@ impl IAzOperations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzOperations, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzOperations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzOperations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzOperations { type Vtable = IAzOperations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90ef9c07_9706_49d9_af80_0438a5f3ec35); } @@ -6017,6 +5618,7 @@ pub struct IAzOperations_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzPrincipalLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzPrincipalLocator { @@ -6036,30 +5638,10 @@ impl IAzPrincipalLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzPrincipalLocator, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzPrincipalLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzPrincipalLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzPrincipalLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzPrincipalLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzPrincipalLocator { type Vtable = IAzPrincipalLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzPrincipalLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzPrincipalLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5c3507d_ad6a_4992_9c7f_74ab480b44cc); } @@ -6080,6 +5662,7 @@ pub struct IAzPrincipalLocator_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRole(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRole { @@ -6259,30 +5842,10 @@ impl IAzRole { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRole, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRole { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRole {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRole { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRole").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRole { type Vtable = IAzRole_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRole { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRole { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x859e0d8d_62d7_41d8_a034_c0cd5d43fdfa); } @@ -6385,6 +5948,7 @@ pub struct IAzRole_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRoleAssignment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignment { @@ -6588,30 +6152,10 @@ impl IAzRoleAssignment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRoleAssignment, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzRole); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRoleAssignment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRoleAssignment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRoleAssignment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRoleAssignment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRoleAssignment { type Vtable = IAzRoleAssignment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRoleAssignment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRoleAssignment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55647d31_0d5a_4fa3_b4ac_2b5f9ad5ab76); } @@ -6634,6 +6178,7 @@ pub struct IAzRoleAssignment_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRoleAssignments(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRoleAssignments { @@ -6655,30 +6200,10 @@ impl IAzRoleAssignments { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRoleAssignments, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRoleAssignments { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRoleAssignments {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRoleAssignments { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRoleAssignments").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRoleAssignments { type Vtable = IAzRoleAssignments_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRoleAssignments { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRoleAssignments { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c80b900_fceb_4d73_a0f4_c83b0bbf2481); } @@ -6697,6 +6222,7 @@ pub struct IAzRoleAssignments_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRoleDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinition { @@ -6882,30 +6408,10 @@ impl IAzRoleDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRoleDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRoleDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRoleDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRoleDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRoleDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRoleDefinition { type Vtable = IAzRoleDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRoleDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRoleDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd97fcea1_2599_44f1_9fc3_58e9fbe09466); } @@ -6928,6 +6434,7 @@ pub struct IAzRoleDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRoleDefinitions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRoleDefinitions { @@ -6949,30 +6456,10 @@ impl IAzRoleDefinitions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRoleDefinitions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRoleDefinitions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRoleDefinitions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRoleDefinitions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRoleDefinitions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRoleDefinitions { type Vtable = IAzRoleDefinitions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRoleDefinitions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRoleDefinitions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x881f25a5_d755_4550_957a_d503a3b34001); } @@ -6991,6 +6478,7 @@ pub struct IAzRoleDefinitions_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzRoles(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzRoles { @@ -7012,30 +6500,10 @@ impl IAzRoles { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzRoles, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzRoles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzRoles {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzRoles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzRoles").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzRoles { type Vtable = IAzRoles_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzRoles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzRoles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95e0f119_13b4_4dae_b65f_2f7d60d822e4); } @@ -7054,6 +6522,7 @@ pub struct IAzRoles_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzScope(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzScope { @@ -7319,30 +6788,10 @@ impl IAzScope { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzScope, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzScope { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzScope {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzScope { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzScope").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzScope { type Vtable = IAzScope_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzScope { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzScope { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00e52487_e08d_4514_b62e_877d5645f5ab); } @@ -7489,6 +6938,7 @@ pub struct IAzScope_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzScope2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzScope2 { @@ -7814,30 +7264,10 @@ impl IAzScope2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzScope2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzScope); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzScope2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzScope2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzScope2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzScope2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzScope2 { type Vtable = IAzScope2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzScope2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzScope2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee9fe8c9_c9f3_40e2_aa12_d1d8599727fd); } @@ -7876,6 +7306,7 @@ pub struct IAzScope2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzScopes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzScopes { @@ -7897,30 +7328,10 @@ impl IAzScopes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzScopes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzScopes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzScopes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzScopes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzScopes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzScopes { type Vtable = IAzScopes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzScopes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzScopes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78e14853_9f5e_406d_9b91_6bdba6973510); } @@ -7939,6 +7350,7 @@ pub struct IAzScopes_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzTask(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzTask { @@ -8096,30 +7508,10 @@ impl IAzTask { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzTask, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzTask {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzTask").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzTask { type Vtable = IAzTask_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb94e592_2e0e_4a6c_a336_b89a6dc1e388); } @@ -8200,6 +7592,7 @@ pub struct IAzTask_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzTask2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzTask2 { @@ -8367,30 +7760,10 @@ impl IAzTask2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzTask2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzTask2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzTask2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzTask2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzTask2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzTask2 { type Vtable = IAzTask2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzTask2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzTask2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03a9a5ee_48c8_4832_9025_aad503c46526); } @@ -8407,6 +7780,7 @@ pub struct IAzTask2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAzTasks(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAzTasks { @@ -8428,30 +7802,10 @@ impl IAzTasks { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAzTasks, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAzTasks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAzTasks {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAzTasks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAzTasks").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAzTasks { type Vtable = IAzTasks_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAzTasks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAzTasks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb338ccab_4c85_4388_8c0a_c58592bad398); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs index 1c89b8423c..9916425795 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs @@ -36,8 +36,8 @@ impl ISceSvcAttachmentData_Vtbl { CloseHandle: CloseHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -74,7 +74,7 @@ impl ISceSvcAttachmentPersistInfo_Vtbl { FreeBuffer: FreeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs index b0272c6861..24de48aee9 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceSvcAttachmentData(::windows_core::IUnknown); impl ISceSvcAttachmentData { pub unsafe fn GetData(&self, scesvchandle: *mut ::core::ffi::c_void, scetype: SCESVC_INFO_TYPE, ppvdata: *mut *mut ::core::ffi::c_void, psceenumhandle: *mut u32) -> ::windows_core::Result<()> { @@ -19,25 +20,9 @@ impl ISceSvcAttachmentData { } } ::windows_core::imp::interface_hierarchy!(ISceSvcAttachmentData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISceSvcAttachmentData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISceSvcAttachmentData {} -impl ::core::fmt::Debug for ISceSvcAttachmentData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISceSvcAttachmentData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISceSvcAttachmentData { type Vtable = ISceSvcAttachmentData_Vtbl; } -impl ::core::clone::Clone for ISceSvcAttachmentData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceSvcAttachmentData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17c35fde_200d_11d1_affb_00c04fb984f9); } @@ -52,6 +37,7 @@ pub struct ISceSvcAttachmentData_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISceSvcAttachmentPersistInfo(::windows_core::IUnknown); impl ISceSvcAttachmentPersistInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -67,25 +53,9 @@ impl ISceSvcAttachmentPersistInfo { } } ::windows_core::imp::interface_hierarchy!(ISceSvcAttachmentPersistInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISceSvcAttachmentPersistInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISceSvcAttachmentPersistInfo {} -impl ::core::fmt::Debug for ISceSvcAttachmentPersistInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISceSvcAttachmentPersistInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISceSvcAttachmentPersistInfo { type Vtable = ISceSvcAttachmentPersistInfo_Vtbl; } -impl ::core::clone::Clone for ISceSvcAttachmentPersistInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISceSvcAttachmentPersistInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d90e0d0_200d_11d1_affb_00c04fb984f9); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs index c5b8086493..e4fe0906d0 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs @@ -84,8 +84,8 @@ impl IAlternativeName_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IAlternativeNames_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IBinaryConverter_Vtbl { StringToVariantByteArray: StringToVariantByteArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -260,8 +260,8 @@ impl IBinaryConverter2_Vtbl { VariantArrayToStringArray: VariantArrayToStringArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl ICEnroll_Vtbl { SetHashAlgorithm: SetHashAlgorithm::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -908,8 +908,8 @@ impl ICEnroll2_Vtbl { SetEnableT61DNEncoding: SetEnableT61DNEncoding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1071,8 +1071,8 @@ impl ICEnroll3_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1403,8 +1403,8 @@ impl ICEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1520,8 +1520,8 @@ impl ICertAdmin_Vtbl { ImportCertificate: ImportCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl ICertAdmin2_Vtbl { DeleteRow: DeleteRow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1725,8 +1725,8 @@ impl ICertConfig_Vtbl { GetConfig: GetConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1746,8 +1746,8 @@ impl ICertConfig2_Vtbl { } Self { base__: ICertConfig_Vtbl::new::(), SetSharedFolder: SetSharedFolder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1836,8 +1836,8 @@ impl ICertEncodeAltName_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1893,8 +1893,8 @@ impl ICertEncodeAltName2_Vtbl { SetNameEntryBlob: SetNameEntryBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1956,8 +1956,8 @@ impl ICertEncodeBitString_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2006,8 +2006,8 @@ impl ICertEncodeBitString2_Vtbl { GetBitStringBlob: GetBitStringBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2116,8 +2116,8 @@ impl ICertEncodeCRLDistInfo_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2153,8 +2153,8 @@ impl ICertEncodeCRLDistInfo2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2230,8 +2230,8 @@ impl ICertEncodeDateArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2267,8 +2267,8 @@ impl ICertEncodeDateArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2344,8 +2344,8 @@ impl ICertEncodeLongArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2381,8 +2381,8 @@ impl ICertEncodeLongArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2471,8 +2471,8 @@ impl ICertEncodeStringArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2508,8 +2508,8 @@ impl ICertEncodeStringArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl ICertExit_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2585,8 +2585,8 @@ impl ICertExit2_Vtbl { } Self { base__: ICertExit_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2612,8 +2612,8 @@ impl ICertGetConfig_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), GetConfig: GetConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl ICertManageModule_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2713,8 +2713,8 @@ impl ICertPolicy_Vtbl { ShutDown: ShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2740,8 +2740,8 @@ impl ICertPolicy2_Vtbl { } Self { base__: ICertPolicy_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2824,8 +2824,8 @@ impl ICertProperties_Vtbl { InitializeFromCertificate: InitializeFromCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2902,8 +2902,8 @@ impl ICertProperty_Vtbl { SetValueOnCertificate: SetValueOnCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2939,8 +2939,8 @@ impl ICertPropertyArchived_Vtbl { Archived: Archived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2976,8 +2976,8 @@ impl ICertPropertyArchivedKeyHash_Vtbl { get_ArchivedKeyHash: get_ArchivedKeyHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3013,8 +3013,8 @@ impl ICertPropertyAutoEnroll_Vtbl { TemplateName: TemplateName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl ICertPropertyBackedUp_Vtbl { BackedUpTime: BackedUpTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl ICertPropertyDescription_Vtbl { Description: Description::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3183,8 +3183,8 @@ impl ICertPropertyEnrollment_Vtbl { FriendlyName: FriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3311,8 +3311,8 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { GetEnrollmentServerAuthentication: GetEnrollmentServerAuthentication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3348,8 +3348,8 @@ impl ICertPropertyFriendlyName_Vtbl { FriendlyName: FriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3385,8 +3385,8 @@ impl ICertPropertyKeyProvInfo_Vtbl { PrivateKey: PrivateKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3429,8 +3429,8 @@ impl ICertPropertyRenewal_Vtbl { get_Renewal: get_Renewal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3473,8 +3473,8 @@ impl ICertPropertyRequestOriginator_Vtbl { RequestOriginator: RequestOriginator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3510,8 +3510,8 @@ impl ICertPropertySHA1Hash_Vtbl { get_SHA1Hash: get_SHA1Hash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl ICertRequest_Vtbl { GetCertificate: GetCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3713,8 +3713,8 @@ impl ICertRequest2_Vtbl { GetFullResponseProperty: GetFullResponseProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3776,8 +3776,8 @@ impl ICertRequest3_Vtbl { GetRefreshPolicy: GetRefreshPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -3817,8 +3817,8 @@ impl ICertRequestD_Vtbl { Ping: Ping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -3865,8 +3865,8 @@ impl ICertRequestD2_Vtbl { Ping2: Ping2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4008,8 +4008,8 @@ impl ICertServerExit_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4165,8 +4165,8 @@ impl ICertServerPolicy_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl ICertView_Vtbl { OpenView: OpenView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4271,8 +4271,8 @@ impl ICertView2_Vtbl { } Self { base__: ICertView_Vtbl::new::(), SetTable: SetTable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4321,8 +4321,8 @@ impl ICertificateAttestationChallenge_Vtbl { RequestID: RequestID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ICertificateAttestationChallenge2_Vtbl { put_KeyBlob: put_KeyBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4429,8 +4429,8 @@ impl ICertificatePolicies_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl ICertificatePolicy_Vtbl { PolicyQualifiers: PolicyQualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4576,8 +4576,8 @@ impl ICertificationAuthorities_Vtbl { get_ItemByName: get_ItemByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4603,8 +4603,8 @@ impl ICertificationAuthority_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4660,8 +4660,8 @@ impl ICryptAttribute_Vtbl { Values: Values::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4757,8 +4757,8 @@ impl ICryptAttributes_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4904,8 +4904,8 @@ impl ICspAlgorithm_Vtbl { Operations: Operations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5007,8 +5007,8 @@ impl ICspAlgorithms_Vtbl { get_IndexByObjectId: get_IndexByObjectId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5233,8 +5233,8 @@ impl ICspInformation_Vtbl { GetCspStatusFromOperations: GetCspStatusFromOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5382,8 +5382,8 @@ impl ICspInformations_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5478,8 +5478,8 @@ impl ICspStatus_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl ICspStatuses_Vtbl { get_ItemByProvider: get_ItemByProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6114,8 +6114,8 @@ impl IEnroll_Vtbl { CreatePKCS7RequestFromRequest: CreatePKCS7RequestFromRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6257,8 +6257,8 @@ impl IEnroll2_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6498,8 +6498,8 @@ impl IEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6563,8 +6563,8 @@ impl IEnumCERTVIEWATTRIBUTE_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6656,8 +6656,8 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6728,8 +6728,8 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6825,8 +6825,8 @@ impl IEnumCERTVIEWROW_Vtbl { GetMaxIndex: GetMaxIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6883,8 +6883,8 @@ impl INDESPolicy_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7006,8 +7006,8 @@ impl IOCSPAdmin_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7281,8 +7281,8 @@ impl IOCSPCAConfiguration_Vtbl { SetCAConfig: SetCAConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7370,8 +7370,8 @@ impl IOCSPCAConfigurationCollection_Vtbl { DeleteCAConfiguration: DeleteCAConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7433,8 +7433,8 @@ impl IOCSPProperty_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7542,8 +7542,8 @@ impl IOCSPPropertyCollection_Vtbl { GetAllProperties: GetAllProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7639,8 +7639,8 @@ impl IObjectId_Vtbl { GetAlgorithmName: GetAlgorithmName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7723,8 +7723,8 @@ impl IObjectIds_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7799,8 +7799,8 @@ impl IPolicyQualifier_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7876,8 +7876,8 @@ impl IPolicyQualifiers_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8006,8 +8006,8 @@ impl ISignerCertificate_Vtbl { SignatureInformation: SignatureInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl ISignerCertificates_Vtbl { Find: Find::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8187,8 +8187,8 @@ impl ISmimeCapabilities_Vtbl { AddAvailableSmimeCapabilities: AddAvailableSmimeCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8237,8 +8237,8 @@ impl ISmimeCapability_Vtbl { BitCount: BitCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8294,8 +8294,8 @@ impl IX500DistinguishedName_Vtbl { get_EncodedName: get_EncodedName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8344,8 +8344,8 @@ impl IX509Attribute_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8414,8 +8414,8 @@ impl IX509AttributeArchiveKey_Vtbl { EncryptionStrength: EncryptionStrength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8458,8 +8458,8 @@ impl IX509AttributeArchiveKeyHash_Vtbl { get_EncryptedKeyHashBlob: get_EncryptedKeyHashBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8541,8 +8541,8 @@ impl IX509AttributeClientId_Vtbl { ProcessName: ProcessName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8611,8 +8611,8 @@ impl IX509AttributeCspProvider_Vtbl { get_Signature: get_Signature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8655,8 +8655,8 @@ impl IX509AttributeExtensions_Vtbl { X509Extensions: X509Extensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8699,8 +8699,8 @@ impl IX509AttributeOSVersion_Vtbl { OSVersion: OSVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8743,8 +8743,8 @@ impl IX509AttributeRenewalCertificate_Vtbl { get_RenewalCertificate: get_RenewalCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8820,8 +8820,8 @@ impl IX509Attributes_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9090,8 +9090,8 @@ impl IX509CertificateRequest_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9214,8 +9214,8 @@ impl IX509CertificateRequestCertificate_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9271,8 +9271,8 @@ impl IX509CertificateRequestCertificate2_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9545,8 +9545,8 @@ impl IX509CertificateRequestCmc_Vtbl { SignerCertificates: SignerCertificates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9616,8 +9616,8 @@ impl IX509CertificateRequestCmc2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9943,8 +9943,8 @@ impl IX509CertificateRequestPkcs10_Vtbl { GetCspStatuses: GetCspStatuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10007,8 +10007,8 @@ impl IX509CertificateRequestPkcs10V2_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10137,8 +10137,8 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { NameValuePairs: NameValuePairs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10194,8 +10194,8 @@ impl IX509CertificateRequestPkcs10V4_Vtbl { SetAttestPrivateKeyPreferred: SetAttestPrivateKeyPreferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10279,8 +10279,8 @@ impl IX509CertificateRequestPkcs7_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10336,8 +10336,8 @@ impl IX509CertificateRequestPkcs7V2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10672,8 +10672,8 @@ impl IX509CertificateRevocationList_Vtbl { get_Signature: get_Signature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10769,8 +10769,8 @@ impl IX509CertificateRevocationListEntries_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10865,8 +10865,8 @@ impl IX509CertificateRevocationListEntry_Vtbl { CriticalExtensions: CriticalExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10892,8 +10892,8 @@ impl IX509CertificateTemplate_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10956,8 +10956,8 @@ impl IX509CertificateTemplateWritable_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11059,8 +11059,8 @@ impl IX509CertificateTemplates_Vtbl { get_ItemByOid: get_ItemByOid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11189,8 +11189,8 @@ impl IX509EndorsementKey_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11451,8 +11451,8 @@ impl IX509Enrollment_Vtbl { CAConfigString: CAConfigString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11521,8 +11521,8 @@ impl IX509Enrollment2_Vtbl { RequestIdString: RequestIdString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11572,8 +11572,8 @@ impl IX509EnrollmentHelper_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11865,8 +11865,8 @@ impl IX509EnrollmentPolicyServer_Vtbl { SetCost: SetCost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12002,8 +12002,8 @@ impl IX509EnrollmentStatus_Vtbl { ErrorText: ErrorText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12029,8 +12029,8 @@ impl IX509EnrollmentWebClassFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12099,8 +12099,8 @@ impl IX509Extension_Vtbl { SetCritical: SetCritical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12143,8 +12143,8 @@ impl IX509ExtensionAlternativeNames_Vtbl { AlternativeNames: AlternativeNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12187,8 +12187,8 @@ impl IX509ExtensionAuthorityKeyIdentifier_Vtbl { get_AuthorityKeyIdentifier: get_AuthorityKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12244,8 +12244,8 @@ impl IX509ExtensionBasicConstraints_Vtbl { PathLenConstraint: PathLenConstraint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12288,8 +12288,8 @@ impl IX509ExtensionCertificatePolicies_Vtbl { Policies: Policies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12332,8 +12332,8 @@ impl IX509ExtensionEnhancedKeyUsage_Vtbl { EnhancedKeyUsage: EnhancedKeyUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12376,8 +12376,8 @@ impl IX509ExtensionKeyUsage_Vtbl { KeyUsage: KeyUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12420,8 +12420,8 @@ impl IX509ExtensionMSApplicationPolicies_Vtbl { Policies: Policies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12464,8 +12464,8 @@ impl IX509ExtensionSmimeCapabilities_Vtbl { SmimeCapabilities: SmimeCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12508,8 +12508,8 @@ impl IX509ExtensionSubjectKeyIdentifier_Vtbl { get_SubjectKeyIdentifier: get_SubjectKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12578,8 +12578,8 @@ impl IX509ExtensionTemplate_Vtbl { MinorVersion: MinorVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12622,8 +12622,8 @@ impl IX509ExtensionTemplateName_Vtbl { TemplateName: TemplateName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12719,8 +12719,8 @@ impl IX509Extensions_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12746,8 +12746,8 @@ impl IX509MachineEnrollmentFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12796,8 +12796,8 @@ impl IX509NameValuePair_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12873,8 +12873,8 @@ impl IX509NameValuePairs_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12957,8 +12957,8 @@ impl IX509PolicyServerListManager_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13115,8 +13115,8 @@ impl IX509PolicyServerUrl_Vtbl { RemoveFromRegistry: RemoveFromRegistry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13706,8 +13706,8 @@ impl IX509PrivateKey_Vtbl { SetDescription: SetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13823,8 +13823,8 @@ impl IX509PrivateKey2_Vtbl { SetParametersExportType: SetParametersExportType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13919,8 +13919,8 @@ impl IX509PublicKey_Vtbl { ComputeKeyIdentifier: ComputeKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14168,8 +14168,8 @@ impl IX509SCEPEnrollment_Vtbl { DeleteRequest: DeleteRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14257,8 +14257,8 @@ impl IX509SCEPEnrollment2_Vtbl { SetActivityId: SetActivityId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14340,8 +14340,8 @@ impl IX509SCEPEnrollmentHelper_Vtbl { ResultMessageText: ResultMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14490,7 +14490,7 @@ impl IX509SignatureInformation_Vtbl { SetDefaultValues: SetDefaultValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index 5001bc33c1..debbca8f44 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -135,68 +135,69 @@ where #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstAcquirePrivateKey(pcert : *const super:: CERT_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); - PstAcquirePrivateKey(pcert).ok() + PstAcquirePrivateKey(pcert) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> ::windows_core::Result<()> { +pub unsafe fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstGetCertificateChain(pcert : *const super:: CERT_CONTEXT, ptrustedissuers : *const super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx, ppcertchaincontext : *mut *mut super:: CERT_CHAIN_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); - PstGetCertificateChain(pcert, ptrustedissuers, ppcertchaincontext).ok() + PstGetCertificateChain(pcert, ptrustedissuers, ppcertchaincontext) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PstGetCertificates(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, bisclient: P0, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> ::windows_core::Result<()> +pub unsafe fn PstGetCertificates(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, bisclient: P0, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("certpoleng.dll" "system" fn PstGetCertificates(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, bisclient : super::super::super::Foundation:: BOOL, pdwcertchaincontextcount : *mut u32, ppcertchaincontexts : *mut *mut *mut super:: CERT_CHAIN_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); - PstGetCertificates(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bisclient.into_param().abi(), pdwcertchaincontextcount, ppcertchaincontexts).ok() + PstGetCertificates(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), bisclient.into_param().abi(), pdwcertchaincontextcount, ppcertchaincontexts) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows_core::Result<()> { +pub unsafe fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstGetTrustAnchors(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation:: NTSTATUS); - PstGetTrustAnchors(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pptrustedissuers).ok() + PstGetTrustAnchors(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pptrustedissuers) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pcertcontext: ::core::option::Option<*const super::CERT_CONTEXT>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> ::windows_core::Result<()> { +pub unsafe fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, rgpcriteria: ::core::option::Option<&[super::CERT_SELECT_CRITERIA]>, pcertcontext: ::core::option::Option<*const super::CERT_CONTEXT>, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstGetTrustAnchorsEx(ptargetname : *const super::super::super::Foundation:: UNICODE_STRING, ccriteria : u32, rgpcriteria : *const super:: CERT_SELECT_CRITERIA, pcertcontext : *const super:: CERT_CONTEXT, pptrustedissuers : *mut *mut super::super::Authentication::Identity:: SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation:: NTSTATUS); - PstGetTrustAnchorsEx(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null())), pptrustedissuers).ok() + PstGetTrustAnchorsEx(ptargetname, rgpcriteria.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgpcriteria.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(pcertcontext.unwrap_or(::std::ptr::null())), pptrustedissuers) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> { +pub unsafe fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstGetUserNameForCertificate(pcertcontext : *const super:: CERT_CONTEXT, username : *mut super::super::super::Foundation:: UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); - PstGetUserNameForCertificate(pcertcontext, username).ok() + PstGetUserNameForCertificate(pcertcontext, username) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] #[inline] -pub unsafe fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { +pub unsafe fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS { ::windows_targets::link!("certpoleng.dll" "system" fn PstMapCertificate(pcert : *const super:: CERT_CONTEXT, ptokeninformationtype : *mut super::super::Authentication::Identity:: LSA_TOKEN_INFORMATION_TYPE, pptokeninformation : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); - PstMapCertificate(pcert, ptokeninformationtype, pptokeninformation).ok() + PstMapCertificate(pcert, ptokeninformationtype, pptokeninformation) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PstValidate(ptargetname: ::core::option::Option<*const super::super::super::Foundation::UNICODE_STRING>, bisclient: P0, prequestedissuancepolicy: ::core::option::Option<*const super::CERT_USAGE_MATCH>, phadditionalcertstore: ::core::option::Option<*const super::HCERTSTORE>, pcert: *const super::CERT_CONTEXT, pprovguid: ::core::option::Option<*mut ::windows_core::GUID>) -> ::windows_core::Result<()> +pub unsafe fn PstValidate(ptargetname: ::core::option::Option<*const super::super::super::Foundation::UNICODE_STRING>, bisclient: P0, prequestedissuancepolicy: ::core::option::Option<*const super::CERT_USAGE_MATCH>, phadditionalcertstore: ::core::option::Option<*const super::HCERTSTORE>, pcert: *const super::CERT_CONTEXT, pprovguid: ::core::option::Option<*mut ::windows_core::GUID>) -> super::super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::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_core::GUID) -> super::super::super::Foundation:: NTSTATUS); - PstValidate(::core::mem::transmute(ptargetname.unwrap_or(::std::ptr::null())), bisclient.into_param().abi(), ::core::mem::transmute(prequestedissuancepolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phadditionalcertstore.unwrap_or(::std::ptr::null())), pcert, ::core::mem::transmute(pprovguid.unwrap_or(::std::ptr::null_mut()))).ok() + PstValidate(::core::mem::transmute(ptargetname.unwrap_or(::std::ptr::null())), bisclient.into_param().abi(), ::core::mem::transmute(prequestedissuancepolicy.unwrap_or(::std::ptr::null())), ::core::mem::transmute(phadditionalcertstore.unwrap_or(::std::ptr::null())), pcert, ::core::mem::transmute(pprovguid.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlternativeName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAlternativeName { @@ -244,30 +245,10 @@ impl IAlternativeName { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAlternativeName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAlternativeName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAlternativeName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAlternativeName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAlternativeName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAlternativeName { type Vtable = IAlternativeName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAlternativeName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAlternativeName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab313_217d_11da_b2a4_000e7bbb2b09); } @@ -293,6 +274,7 @@ pub struct IAlternativeName_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlternativeNames(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAlternativeNames { @@ -328,30 +310,10 @@ impl IAlternativeNames { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAlternativeNames, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAlternativeNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAlternativeNames {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAlternativeNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAlternativeNames").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAlternativeNames { type Vtable = IAlternativeNames_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAlternativeNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAlternativeNames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab314_217d_11da_b2a4_000e7bbb2b09); } @@ -376,6 +338,7 @@ pub struct IAlternativeNames_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBinaryConverter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter { @@ -405,30 +368,10 @@ impl IBinaryConverter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBinaryConverter, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBinaryConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBinaryConverter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBinaryConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBinaryConverter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBinaryConverter { type Vtable = IBinaryConverter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBinaryConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBinaryConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab302_217d_11da_b2a4_000e7bbb2b09); } @@ -450,6 +393,7 @@ pub struct IBinaryConverter_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBinaryConverter2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBinaryConverter2 { @@ -491,30 +435,10 @@ impl IBinaryConverter2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBinaryConverter2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBinaryConverter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBinaryConverter2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBinaryConverter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBinaryConverter2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBinaryConverter2 { type Vtable = IBinaryConverter2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBinaryConverter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBinaryConverter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d7928b4_4e17_428d_9a17_728df00d1b2b); } @@ -535,6 +459,7 @@ pub struct IBinaryConverter2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICEnroll(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICEnroll { @@ -819,30 +744,10 @@ impl ICEnroll { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICEnroll, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICEnroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICEnroll {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICEnroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICEnroll").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICEnroll { type Vtable = ICEnroll_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICEnroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICEnroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43f8f288_7a20_11d0_8f06_00c04fc295e1); } @@ -929,6 +834,7 @@ pub struct ICEnroll_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICEnroll2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICEnroll2 { @@ -1254,30 +1160,10 @@ impl ICEnroll2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICEnroll2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICEnroll2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICEnroll2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICEnroll2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICEnroll2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICEnroll2 { type Vtable = ICEnroll2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICEnroll2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICEnroll2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x704ca730_c90b_11d1_9bec_00c04fc295e1); } @@ -1308,6 +1194,7 @@ pub struct ICEnroll2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICEnroll3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICEnroll3 { @@ -1713,30 +1600,10 @@ impl ICEnroll3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICEnroll3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICEnroll3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICEnroll3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICEnroll3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICEnroll3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICEnroll3 { type Vtable = ICEnroll3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICEnroll3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICEnroll3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc28c2d95_b7de_11d2_a421_00c04f79fe8e); } @@ -1784,6 +1651,7 @@ pub struct ICEnroll3_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICEnroll4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICEnroll4 { @@ -2389,30 +2257,10 @@ impl ICEnroll4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICEnroll4, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2, ICEnroll3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICEnroll4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICEnroll4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICEnroll4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICEnroll4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICEnroll4 { type Vtable = ICEnroll4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICEnroll4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICEnroll4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1f1188a_2eb5_4a80_841b_7e729a356d90); } @@ -2470,6 +2318,7 @@ pub struct ICEnroll4_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertAdmin(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertAdmin { @@ -2546,30 +2395,10 @@ impl ICertAdmin { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertAdmin, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertAdmin {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertAdmin").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertAdmin { type Vtable = ICertAdmin_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34df6950_7fb6_11d0_8817_00a0c903b83c); } @@ -2595,6 +2424,7 @@ pub struct ICertAdmin_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertAdmin2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertAdmin2 { @@ -2758,30 +2588,10 @@ impl ICertAdmin2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertAdmin2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertAdmin); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertAdmin2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertAdmin2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertAdmin2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertAdmin2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertAdmin2 { type Vtable = ICertAdmin2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertAdmin2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertAdmin2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); } @@ -2817,6 +2627,7 @@ pub struct ICertAdmin2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertConfig(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertConfig { @@ -2843,30 +2654,10 @@ impl ICertConfig { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertConfig, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertConfig {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertConfig").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertConfig { type Vtable = ICertConfig_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x372fce34_4324_11d0_8810_00a0c903b83c); } @@ -2883,6 +2674,7 @@ pub struct ICertConfig_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertConfig2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertConfig2 { @@ -2915,30 +2707,10 @@ impl ICertConfig2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertConfig2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertConfig); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertConfig2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertConfig2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertConfig2 { type Vtable = ICertConfig2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a18edde_7e78_4163_8ded_78e2c9cee924); } @@ -2952,6 +2724,7 @@ pub struct ICertConfig2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeAltName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeAltName { @@ -2990,30 +2763,10 @@ impl ICertEncodeAltName { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeAltName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeAltName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeAltName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeAltName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeAltName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeAltName { type Vtable = ICertEncodeAltName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeAltName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeAltName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); } @@ -3033,6 +2786,7 @@ pub struct ICertEncodeAltName_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeAltName2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeAltName2 { @@ -3091,30 +2845,10 @@ impl ICertEncodeAltName2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeAltName2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeAltName); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeAltName2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeAltName2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeAltName2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeAltName2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeAltName2 { type Vtable = ICertEncodeAltName2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeAltName2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeAltName2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); } @@ -3131,6 +2865,7 @@ pub struct ICertEncodeAltName2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeBitString(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeBitString { @@ -3159,30 +2894,10 @@ impl ICertEncodeBitString { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeBitString, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeBitString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeBitString {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeBitString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeBitString").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeBitString { type Vtable = ICertEncodeBitString_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeBitString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeBitString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6db525be_1278_11d1_9bd4_00c04fb683fa); } @@ -3199,6 +2914,7 @@ pub struct ICertEncodeBitString_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeBitString2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeBitString2 { @@ -3244,30 +2960,10 @@ impl ICertEncodeBitString2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeBitString2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeBitString); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeBitString2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeBitString2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeBitString2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeBitString2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeBitString2 { type Vtable = ICertEncodeBitString2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeBitString2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeBitString2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); } @@ -3283,6 +2979,7 @@ pub struct ICertEncodeBitString2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeCRLDistInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeCRLDistInfo { @@ -3328,30 +3025,10 @@ impl ICertEncodeCRLDistInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeCRLDistInfo, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeCRLDistInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeCRLDistInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeCRLDistInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeCRLDistInfo { type Vtable = ICertEncodeCRLDistInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeCRLDistInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeCRLDistInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01958640_bbff_11d0_8825_00a0c903b83c); } @@ -3373,6 +3050,7 @@ pub struct ICertEncodeCRLDistInfo_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeCRLDistInfo2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeCRLDistInfo2 { @@ -3428,30 +3106,10 @@ impl ICertEncodeCRLDistInfo2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeCRLDistInfo2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeCRLDistInfo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeCRLDistInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeCRLDistInfo2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeCRLDistInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeCRLDistInfo2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeCRLDistInfo2 { type Vtable = ICertEncodeCRLDistInfo2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeCRLDistInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeCRLDistInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4275d4b_3e30_446f_ad36_09d03120b078); } @@ -3466,6 +3124,7 @@ pub struct ICertEncodeCRLDistInfo2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeDateArray(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeDateArray { @@ -3497,30 +3156,10 @@ impl ICertEncodeDateArray { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeDateArray, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeDateArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeDateArray {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeDateArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeDateArray").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeDateArray { type Vtable = ICertEncodeDateArray_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeDateArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeDateArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f9469a0_a470_11d0_8821_00a0c903b83c); } @@ -3539,6 +3178,7 @@ pub struct ICertEncodeDateArray_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeDateArray2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeDateArray2 { @@ -3580,30 +3220,10 @@ impl ICertEncodeDateArray2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeDateArray2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeDateArray); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeDateArray2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeDateArray2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeDateArray2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeDateArray2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeDateArray2 { type Vtable = ICertEncodeDateArray2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeDateArray2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeDateArray2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); } @@ -3618,6 +3238,7 @@ pub struct ICertEncodeDateArray2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeLongArray(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeLongArray { @@ -3649,30 +3270,10 @@ impl ICertEncodeLongArray { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeLongArray, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeLongArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeLongArray {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeLongArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeLongArray").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeLongArray { type Vtable = ICertEncodeLongArray_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeLongArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeLongArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15e2f230_a0a2_11d0_8821_00a0c903b83c); } @@ -3691,6 +3292,7 @@ pub struct ICertEncodeLongArray_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeLongArray2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeLongArray2 { @@ -3732,30 +3334,10 @@ impl ICertEncodeLongArray2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeLongArray2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeLongArray); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeLongArray2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeLongArray2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeLongArray2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeLongArray2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeLongArray2 { type Vtable = ICertEncodeLongArray2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeLongArray2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeLongArray2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4efde84a_bd9b_4fc2_a108_c347d478840f); } @@ -3770,6 +3352,7 @@ pub struct ICertEncodeLongArray2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeStringArray(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeStringArray { @@ -3808,30 +3391,10 @@ impl ICertEncodeStringArray { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeStringArray, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeStringArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeStringArray {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeStringArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeStringArray").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeStringArray { type Vtable = ICertEncodeStringArray_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeStringArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeStringArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12a88820_7494_11d0_8816_00a0c903b83c); } @@ -3851,6 +3414,7 @@ pub struct ICertEncodeStringArray_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertEncodeStringArray2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertEncodeStringArray2 { @@ -3899,30 +3463,10 @@ impl ICertEncodeStringArray2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertEncodeStringArray2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeStringArray); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertEncodeStringArray2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertEncodeStringArray2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertEncodeStringArray2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertEncodeStringArray2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertEncodeStringArray2 { type Vtable = ICertEncodeStringArray2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertEncodeStringArray2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertEncodeStringArray2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); } @@ -3937,6 +3481,7 @@ pub struct ICertEncodeStringArray2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertExit(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertExit { @@ -3958,30 +3503,10 @@ impl ICertExit { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertExit, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertExit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertExit {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertExit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertExit").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertExit { type Vtable = ICertExit_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertExit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertExit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe19ae1a0_7364_11d0_8816_00a0c903b83c); } @@ -3997,6 +3522,7 @@ pub struct ICertExit_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertExit2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertExit2 { @@ -4024,30 +3550,10 @@ impl ICertExit2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertExit2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertExit); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertExit2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertExit2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertExit2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertExit2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertExit2 { type Vtable = ICertExit2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertExit2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertExit2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0abf484b_d049_464d_a7ed_552e7529b0ff); } @@ -4064,6 +3570,7 @@ pub struct ICertExit2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertGetConfig(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertGetConfig { @@ -4075,30 +3582,10 @@ impl ICertGetConfig { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertGetConfig, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertGetConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertGetConfig {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertGetConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertGetConfig").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertGetConfig { type Vtable = ICertGetConfig_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertGetConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertGetConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7ea09c0_ce17_11d0_8833_00a0c903b83c); } @@ -4112,6 +3599,7 @@ pub struct ICertGetConfig_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertManageModule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertManageModule { @@ -4147,30 +3635,10 @@ impl ICertManageModule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertManageModule, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertManageModule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertManageModule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertManageModule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertManageModule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertManageModule { type Vtable = ICertManageModule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertManageModule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertManageModule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); } @@ -4192,6 +3660,7 @@ pub struct ICertManageModule_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPolicy { @@ -4219,30 +3688,10 @@ impl ICertPolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPolicy, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPolicy { type Vtable = ICertPolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); } @@ -4259,6 +3708,7 @@ pub struct ICertPolicy_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPolicy2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPolicy2 { @@ -4292,30 +3742,10 @@ impl ICertPolicy2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPolicy2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertPolicy); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPolicy2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPolicy2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPolicy2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPolicy2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPolicy2 { type Vtable = ICertPolicy2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPolicy2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPolicy2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3db4910e_8001_4bf1_aa1b_f43a808317a0); } @@ -4332,6 +3762,7 @@ pub struct ICertPolicy2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertProperties { @@ -4376,30 +3807,10 @@ impl ICertProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertProperties, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertProperties { type Vtable = ICertProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32f_217d_11da_b2a4_000e7bbb2b09); } @@ -4428,6 +3839,7 @@ pub struct ICertProperties_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertProperty { @@ -4479,30 +3891,10 @@ impl ICertProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertProperty, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertProperty { type Vtable = ICertProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32e_217d_11da_b2a4_000e7bbb2b09); } @@ -4531,6 +3923,7 @@ pub struct ICertProperty_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyArchived(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyArchived { @@ -4596,30 +3989,10 @@ impl ICertPropertyArchived { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyArchived, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyArchived { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyArchived {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyArchived { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyArchived").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyArchived { type Vtable = ICertPropertyArchived_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyArchived { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyArchived { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab337_217d_11da_b2a4_000e7bbb2b09); } @@ -4640,6 +4013,7 @@ pub struct ICertPropertyArchived_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyArchivedKeyHash(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyArchivedKeyHash { @@ -4701,30 +4075,10 @@ impl ICertPropertyArchivedKeyHash { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyArchivedKeyHash, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyArchivedKeyHash { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyArchivedKeyHash {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyArchivedKeyHash { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyArchivedKeyHash").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyArchivedKeyHash { type Vtable = ICertPropertyArchivedKeyHash_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyArchivedKeyHash { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyArchivedKeyHash { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33b_217d_11da_b2a4_000e7bbb2b09); } @@ -4739,6 +4093,7 @@ pub struct ICertPropertyArchivedKeyHash_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyAutoEnroll(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyAutoEnroll { @@ -4800,30 +4155,10 @@ impl ICertPropertyAutoEnroll { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyAutoEnroll, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyAutoEnroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyAutoEnroll {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyAutoEnroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyAutoEnroll").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyAutoEnroll { type Vtable = ICertPropertyAutoEnroll_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyAutoEnroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyAutoEnroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab332_217d_11da_b2a4_000e7bbb2b09); } @@ -4838,6 +4173,7 @@ pub struct ICertPropertyAutoEnroll_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyBackedUp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyBackedUp { @@ -4915,30 +4251,10 @@ impl ICertPropertyBackedUp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyBackedUp, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyBackedUp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyBackedUp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyBackedUp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyBackedUp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyBackedUp { type Vtable = ICertPropertyBackedUp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyBackedUp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyBackedUp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab338_217d_11da_b2a4_000e7bbb2b09); } @@ -4964,6 +4280,7 @@ pub struct ICertPropertyBackedUp_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyDescription(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyDescription { @@ -5025,30 +4342,10 @@ impl ICertPropertyDescription { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyDescription, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyDescription {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyDescription").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyDescription { type Vtable = ICertPropertyDescription_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab331_217d_11da_b2a4_000e7bbb2b09); } @@ -5063,6 +4360,7 @@ pub struct ICertPropertyDescription_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyEnrollment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyEnrollment { @@ -5138,30 +4436,10 @@ impl ICertPropertyEnrollment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyEnrollment, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyEnrollment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyEnrollment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyEnrollment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyEnrollment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyEnrollment { type Vtable = ICertPropertyEnrollment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyEnrollment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyEnrollment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab339_217d_11da_b2a4_000e7bbb2b09); } @@ -5179,6 +4457,7 @@ pub struct ICertPropertyEnrollment_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyEnrollmentPolicyServer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyEnrollmentPolicyServer { @@ -5271,30 +4550,10 @@ impl ICertPropertyEnrollmentPolicyServer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyEnrollmentPolicyServer, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyEnrollmentPolicyServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyEnrollmentPolicyServer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyEnrollmentPolicyServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyEnrollmentPolicyServer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyEnrollmentPolicyServer { type Vtable = ICertPropertyEnrollmentPolicyServer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyEnrollmentPolicyServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyEnrollmentPolicyServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab34a_217d_11da_b2a4_000e7bbb2b09); } @@ -5316,6 +4575,7 @@ pub struct ICertPropertyEnrollmentPolicyServer_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyFriendlyName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyFriendlyName { @@ -5377,30 +4637,10 @@ impl ICertPropertyFriendlyName { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyFriendlyName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyFriendlyName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyFriendlyName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyFriendlyName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyFriendlyName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyFriendlyName { type Vtable = ICertPropertyFriendlyName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyFriendlyName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyFriendlyName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab330_217d_11da_b2a4_000e7bbb2b09); } @@ -5415,6 +4655,7 @@ pub struct ICertPropertyFriendlyName_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyKeyProvInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyKeyProvInfo { @@ -5480,30 +4721,10 @@ impl ICertPropertyKeyProvInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyKeyProvInfo, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyKeyProvInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyKeyProvInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyKeyProvInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyKeyProvInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyKeyProvInfo { type Vtable = ICertPropertyKeyProvInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyKeyProvInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyKeyProvInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab336_217d_11da_b2a4_000e7bbb2b09); } @@ -5524,6 +4745,7 @@ pub struct ICertPropertyKeyProvInfo_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyRenewal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyRenewal { @@ -5594,30 +4816,10 @@ impl ICertPropertyRenewal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyRenewal, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyRenewal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyRenewal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyRenewal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyRenewal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyRenewal { type Vtable = ICertPropertyRenewal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyRenewal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyRenewal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33a_217d_11da_b2a4_000e7bbb2b09); } @@ -5636,6 +4838,7 @@ pub struct ICertPropertyRenewal_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertyRequestOriginator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertyRequestOriginator { @@ -5700,30 +4903,10 @@ impl ICertPropertyRequestOriginator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertyRequestOriginator, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertyRequestOriginator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertyRequestOriginator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertyRequestOriginator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertyRequestOriginator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertyRequestOriginator { type Vtable = ICertPropertyRequestOriginator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertyRequestOriginator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertyRequestOriginator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab333_217d_11da_b2a4_000e7bbb2b09); } @@ -5739,6 +4922,7 @@ pub struct ICertPropertyRequestOriginator_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertPropertySHA1Hash(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertPropertySHA1Hash { @@ -5800,30 +4984,10 @@ impl ICertPropertySHA1Hash { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertPropertySHA1Hash, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertPropertySHA1Hash { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertPropertySHA1Hash {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertPropertySHA1Hash { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertPropertySHA1Hash").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertPropertySHA1Hash { type Vtable = ICertPropertySHA1Hash_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertPropertySHA1Hash { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertPropertySHA1Hash { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab334_217d_11da_b2a4_000e7bbb2b09); } @@ -5838,6 +5002,7 @@ pub struct ICertPropertySHA1Hash_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertRequest { @@ -5884,30 +5049,10 @@ impl ICertRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertRequest { type Vtable = ICertRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x014e4840_5523_11d0_8812_00a0c903b83c); } @@ -5927,6 +5072,7 @@ pub struct ICertRequest_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertRequest2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertRequest2 { @@ -6014,30 +5160,10 @@ impl ICertRequest2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertRequest2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertRequest2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertRequest2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertRequest2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertRequest2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertRequest2 { type Vtable = ICertRequest2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertRequest2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertRequest2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4772988_4a85_4fa9_824e_b5cf5c16405a); } @@ -6062,6 +5188,7 @@ pub struct ICertRequest2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertRequest3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertRequest3 { @@ -6175,30 +5302,10 @@ impl ICertRequest3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertRequest3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest, ICertRequest2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertRequest3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertRequest3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertRequest3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertRequest3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertRequest3 { type Vtable = ICertRequest3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertRequest3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertRequest3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); } @@ -6217,6 +5324,7 @@ pub struct ICertRequest3_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertRequestD(::windows_core::IUnknown); impl ICertRequestD { pub unsafe fn Request(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows_core::Result<()> @@ -6241,25 +5349,9 @@ impl ICertRequestD { } } ::windows_core::imp::interface_hierarchy!(ICertRequestD, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICertRequestD { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICertRequestD {} -impl ::core::fmt::Debug for ICertRequestD { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertRequestD").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICertRequestD { type Vtable = ICertRequestD_Vtbl; } -impl ::core::clone::Clone for ICertRequestD { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertRequestD { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd99e6e70_fc88_11d0_b498_00a0c90312f3); } @@ -6273,6 +5365,7 @@ pub struct ICertRequestD_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertRequestD2(::windows_core::IUnknown); impl ICertRequestD2 { pub unsafe fn Request(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> ::windows_core::Result<()> @@ -6323,26 +5416,10 @@ impl ICertRequestD2 { (::windows_core::Interface::vtable(self).Ping2)(::windows_core::Interface::as_raw(self), pwszauthority.into_param().abi()).ok() } } -::windows_core::imp::interface_hierarchy!(ICertRequestD2, ::windows_core::IUnknown, ICertRequestD); -impl ::core::cmp::PartialEq for ICertRequestD2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICertRequestD2 {} -impl ::core::fmt::Debug for ICertRequestD2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertRequestD2").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ICertRequestD2, ::windows_core::IUnknown, ICertRequestD); unsafe impl ::windows_core::Interface for ICertRequestD2 { type Vtable = ICertRequestD2_Vtbl; } -impl ::core::clone::Clone for ICertRequestD2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICertRequestD2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5422fd3a_d4b8_4cef_a12e_e87d4ca22e90); } @@ -6358,6 +5435,7 @@ pub struct ICertRequestD2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertServerExit(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertServerExit { @@ -6426,30 +5504,10 @@ impl ICertServerExit { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertServerExit, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertServerExit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertServerExit {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertServerExit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertServerExit").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertServerExit { type Vtable = ICertServerExit_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertServerExit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertServerExit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ba9eb90_732c_11d0_8816_00a0c903b83c); } @@ -6483,6 +5541,7 @@ pub struct ICertServerExit_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertServerPolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertServerPolicy { @@ -6567,30 +5626,10 @@ impl ICertServerPolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertServerPolicy, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertServerPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertServerPolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertServerPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertServerPolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertServerPolicy { type Vtable = ICertServerPolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertServerPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertServerPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa000922_ffbe_11cf_8800_00a0c903b83c); } @@ -6632,6 +5671,7 @@ pub struct ICertServerPolicy_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertView(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertView { @@ -6677,30 +5717,10 @@ impl ICertView { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertView, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertView {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertView").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertView { type Vtable = ICertView_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3fac344_1e84_11d1_9bd6_00c04fb683fa); } @@ -6730,6 +5750,7 @@ pub struct ICertView_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertView2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertView2 { @@ -6778,30 +5799,10 @@ impl ICertView2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertView2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertView); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertView2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertView2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertView2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertView2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertView2 { type Vtable = ICertView2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd594b282_8851_4b61_9c66_3edadf848863); } @@ -6815,6 +5816,7 @@ pub struct ICertView2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateAttestationChallenge(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificateAttestationChallenge { @@ -6836,30 +5838,10 @@ impl ICertificateAttestationChallenge { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificateAttestationChallenge, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificateAttestationChallenge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificateAttestationChallenge {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificateAttestationChallenge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificateAttestationChallenge").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificateAttestationChallenge { type Vtable = ICertificateAttestationChallenge_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificateAttestationChallenge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificateAttestationChallenge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f175a7c_4a3a_40ae_9dba_592fd6bbf9b8); } @@ -6875,6 +5857,7 @@ pub struct ICertificateAttestationChallenge_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateAttestationChallenge2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificateAttestationChallenge2 { @@ -6908,30 +5891,10 @@ impl ICertificateAttestationChallenge2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificateAttestationChallenge2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertificateAttestationChallenge); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificateAttestationChallenge2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificateAttestationChallenge2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificateAttestationChallenge2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificateAttestationChallenge2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificateAttestationChallenge2 { type Vtable = ICertificateAttestationChallenge2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificateAttestationChallenge2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificateAttestationChallenge2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4631334d_e266_47d6_bd79_be53cb2e2753); } @@ -6946,6 +5909,7 @@ pub struct ICertificateAttestationChallenge2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificatePolicies(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificatePolicies { @@ -6981,30 +5945,10 @@ impl ICertificatePolicies { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificatePolicies, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificatePolicies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificatePolicies {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificatePolicies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificatePolicies").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificatePolicies { type Vtable = ICertificatePolicies_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificatePolicies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificatePolicies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31f_217d_11da_b2a4_000e7bbb2b09); } @@ -7029,6 +5973,7 @@ pub struct ICertificatePolicies_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificatePolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificatePolicy { @@ -7056,30 +6001,10 @@ impl ICertificatePolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificatePolicy, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificatePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificatePolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificatePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificatePolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificatePolicy { type Vtable = ICertificatePolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificatePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificatePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31e_217d_11da_b2a4_000e7bbb2b09); } @@ -7104,6 +6029,7 @@ pub struct ICertificatePolicy_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificationAuthorities(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificationAuthorities { @@ -7151,30 +6077,10 @@ impl ICertificationAuthorities { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificationAuthorities, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificationAuthorities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificationAuthorities {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificationAuthorities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificationAuthorities").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificationAuthorities { type Vtable = ICertificationAuthorities_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificationAuthorities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificationAuthorities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13b79005_2181_11da_b2a4_000e7bbb2b09); } @@ -7204,6 +6110,7 @@ pub struct ICertificationAuthorities_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificationAuthority(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificationAuthority { @@ -7217,30 +6124,10 @@ impl ICertificationAuthority { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificationAuthority, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificationAuthority { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificationAuthority {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificationAuthority { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificationAuthority").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificationAuthority { type Vtable = ICertificationAuthority_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificationAuthority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificationAuthority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x835d1f61_1e95_4bc8_b4d3_976c42b968f7); } @@ -7257,6 +6144,7 @@ pub struct ICertificationAuthority_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptAttribute(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICryptAttribute { @@ -7292,30 +6180,10 @@ impl ICryptAttribute { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICryptAttribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICryptAttribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICryptAttribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICryptAttribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICryptAttribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICryptAttribute { type Vtable = ICryptAttribute_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICryptAttribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICryptAttribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32c_217d_11da_b2a4_000e7bbb2b09); } @@ -7344,6 +6212,7 @@ pub struct ICryptAttribute_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICryptAttributes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICryptAttributes { @@ -7396,30 +6265,10 @@ impl ICryptAttributes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICryptAttributes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICryptAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICryptAttributes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICryptAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICryptAttributes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICryptAttributes { type Vtable = ICryptAttributes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICryptAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICryptAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32d_217d_11da_b2a4_000e7bbb2b09); } @@ -7452,6 +6301,7 @@ pub struct ICryptAttributes_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspAlgorithm(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspAlgorithm { @@ -7503,30 +6353,10 @@ impl ICspAlgorithm { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspAlgorithm, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspAlgorithm { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspAlgorithm {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspAlgorithm { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspAlgorithm").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspAlgorithm { type Vtable = ICspAlgorithm_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspAlgorithm { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspAlgorithm { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab305_217d_11da_b2a4_000e7bbb2b09); } @@ -7555,6 +6385,7 @@ pub struct ICspAlgorithm_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspAlgorithms(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspAlgorithms { @@ -7608,30 +6439,10 @@ impl ICspAlgorithms { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspAlgorithms, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspAlgorithms { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspAlgorithms {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspAlgorithms { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspAlgorithms").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspAlgorithms { type Vtable = ICspAlgorithms_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspAlgorithms { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspAlgorithms { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab306_217d_11da_b2a4_000e7bbb2b09); } @@ -7664,6 +6475,7 @@ pub struct ICspAlgorithms_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspInformation { @@ -7772,30 +6584,10 @@ impl ICspInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspInformation, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspInformation { type Vtable = ICspInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab307_217d_11da_b2a4_000e7bbb2b09); } @@ -7858,6 +6650,7 @@ pub struct ICspInformation_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspInformations(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspInformations { @@ -7941,30 +6734,10 @@ impl ICspInformations { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspInformations, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspInformations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspInformations {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspInformations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspInformations").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspInformations { type Vtable = ICspInformations_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspInformations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspInformations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab308_217d_11da_b2a4_000e7bbb2b09); } @@ -8010,6 +6783,7 @@ pub struct ICspInformations_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspStatus { @@ -8055,30 +6829,10 @@ impl ICspStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspStatus, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspStatus { type Vtable = ICspStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab309_217d_11da_b2a4_000e7bbb2b09); } @@ -8110,6 +6864,7 @@ pub struct ICspStatus_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICspStatuses(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICspStatuses { @@ -8180,30 +6935,10 @@ impl ICspStatuses { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICspStatuses, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICspStatuses { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICspStatuses {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICspStatuses { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICspStatuses").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICspStatuses { type Vtable = ICspStatuses_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICspStatuses { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICspStatuses { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30a_217d_11da_b2a4_000e7bbb2b09); } @@ -8243,6 +6978,7 @@ pub struct ICspStatuses_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnroll(::windows_core::IUnknown); impl IEnroll { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows_core::Result<()> @@ -8560,25 +7296,9 @@ impl IEnroll { } } ::windows_core::imp::interface_hierarchy!(IEnroll, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnroll {} -impl ::core::fmt::Debug for IEnroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnroll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnroll { type Vtable = IEnroll_Vtbl; } -impl ::core::clone::Clone for IEnroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacaa7838_4585_11d1_ab57_00c04fc295e1); } @@ -8704,6 +7424,7 @@ pub struct IEnroll_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnroll2(::windows_core::IUnknown); impl IEnroll2 { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows_core::Result<()> @@ -9109,30 +7830,14 @@ impl IEnroll2 { } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] - pub unsafe fn EnableSMIMECapabilities(&self, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).EnableSMIMECapabilities)(::windows_core::Interface::as_raw(self), fenablesmimecapabilities).ok() - } -} -::windows_core::imp::interface_hierarchy!(IEnroll2, ::windows_core::IUnknown, IEnroll); -impl ::core::cmp::PartialEq for IEnroll2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnroll2 {} -impl ::core::fmt::Debug for IEnroll2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnroll2").field(&self.0).finish() + pub unsafe fn EnableSMIMECapabilities(&self, fenablesmimecapabilities: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).EnableSMIMECapabilities)(::windows_core::Interface::as_raw(self), fenablesmimecapabilities).ok() } } +::windows_core::imp::interface_hierarchy!(IEnroll2, ::windows_core::IUnknown, IEnroll); unsafe impl ::windows_core::Interface for IEnroll2 { type Vtable = IEnroll2_Vtbl; } -impl ::core::clone::Clone for IEnroll2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnroll2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc080e199_b7df_11d2_a421_00c04f79fe8e); } @@ -9182,6 +7887,7 @@ pub struct IEnroll2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnroll4(::windows_core::IUnknown); impl IEnroll4 { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> ::windows_core::Result<()> @@ -9754,25 +8460,9 @@ impl IEnroll4 { } } ::windows_core::imp::interface_hierarchy!(IEnroll4, ::windows_core::IUnknown, IEnroll, IEnroll2); -impl ::core::cmp::PartialEq for IEnroll4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnroll4 {} -impl ::core::fmt::Debug for IEnroll4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnroll4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnroll4 { type Vtable = IEnroll4_Vtbl; } -impl ::core::clone::Clone for IEnroll4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnroll4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8053fe5_78f4_448f_a0db_41d61b73446b); } @@ -9840,6 +8530,7 @@ pub struct IEnroll4_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCERTVIEWATTRIBUTE(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumCERTVIEWATTRIBUTE { @@ -9868,30 +8559,10 @@ impl IEnumCERTVIEWATTRIBUTE { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumCERTVIEWATTRIBUTE, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumCERTVIEWATTRIBUTE { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumCERTVIEWATTRIBUTE {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumCERTVIEWATTRIBUTE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCERTVIEWATTRIBUTE").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumCERTVIEWATTRIBUTE { type Vtable = IEnumCERTVIEWATTRIBUTE_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumCERTVIEWATTRIBUTE { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumCERTVIEWATTRIBUTE { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe77db656_7653_11d1_9bde_00c04fb683fa); } @@ -9913,6 +8584,7 @@ pub struct IEnumCERTVIEWATTRIBUTE_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCERTVIEWCOLUMN(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumCERTVIEWCOLUMN { @@ -9955,30 +8627,10 @@ impl IEnumCERTVIEWCOLUMN { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumCERTVIEWCOLUMN, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumCERTVIEWCOLUMN { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumCERTVIEWCOLUMN {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumCERTVIEWCOLUMN { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCERTVIEWCOLUMN").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumCERTVIEWCOLUMN { type Vtable = IEnumCERTVIEWCOLUMN_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumCERTVIEWCOLUMN { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumCERTVIEWCOLUMN { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c735be2_57a5_11d1_9bdb_00c04fb683fa); } @@ -10007,6 +8659,7 @@ pub struct IEnumCERTVIEWCOLUMN_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCERTVIEWEXTENSION(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumCERTVIEWEXTENSION { @@ -10040,30 +8693,10 @@ impl IEnumCERTVIEWEXTENSION { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumCERTVIEWEXTENSION, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumCERTVIEWEXTENSION { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumCERTVIEWEXTENSION {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumCERTVIEWEXTENSION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCERTVIEWEXTENSION").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumCERTVIEWEXTENSION { type Vtable = IEnumCERTVIEWEXTENSION_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumCERTVIEWEXTENSION { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumCERTVIEWEXTENSION { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7dd1466_7653_11d1_9bde_00c04fb683fa); } @@ -10089,6 +8722,7 @@ pub struct IEnumCERTVIEWEXTENSION_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCERTVIEWROW(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumCERTVIEWROW { @@ -10132,30 +8766,10 @@ impl IEnumCERTVIEWROW { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumCERTVIEWROW, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumCERTVIEWROW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumCERTVIEWROW {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumCERTVIEWROW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCERTVIEWROW").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumCERTVIEWROW { type Vtable = IEnumCERTVIEWROW_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumCERTVIEWROW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumCERTVIEWROW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1157f4c_5af2_11d1_9bdc_00c04fb683fa); } @@ -10187,6 +8801,7 @@ pub struct IEnumCERTVIEWROW_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INDESPolicy(::windows_core::IUnknown); impl INDESPolicy { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -10221,25 +8836,9 @@ impl INDESPolicy { } } ::windows_core::imp::interface_hierarchy!(INDESPolicy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INDESPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INDESPolicy {} -impl ::core::fmt::Debug for INDESPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INDESPolicy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INDESPolicy { type Vtable = INDESPolicy_Vtbl; } -impl ::core::clone::Clone for INDESPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INDESPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13ca515d_431d_46cc_8c2e_1da269bbd625); } @@ -10259,6 +8858,7 @@ pub struct INDESPolicy_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOCSPAdmin(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPAdmin { @@ -10342,30 +8942,10 @@ impl IOCSPAdmin { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOCSPAdmin, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOCSPAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOCSPAdmin {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOCSPAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOCSPAdmin").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOCSPAdmin { type Vtable = IOCSPAdmin_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOCSPAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOCSPAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x322e830d_67db_4fe9_9577_4596d9f09294); } @@ -10406,6 +8986,7 @@ pub struct IOCSPAdmin_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOCSPCAConfiguration(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfiguration { @@ -10528,30 +9109,10 @@ impl IOCSPCAConfiguration { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOCSPCAConfiguration, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOCSPCAConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOCSPCAConfiguration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOCSPCAConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOCSPCAConfiguration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOCSPCAConfiguration { type Vtable = IOCSPCAConfiguration_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOCSPCAConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOCSPCAConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaec92b40_3d46_433f_87d1_b84d5c1e790d); } @@ -10612,6 +9173,7 @@ pub struct IOCSPCAConfiguration_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOCSPCAConfigurationCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPCAConfigurationCollection { @@ -10657,30 +9219,10 @@ impl IOCSPCAConfigurationCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOCSPCAConfigurationCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOCSPCAConfigurationCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOCSPCAConfigurationCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOCSPCAConfigurationCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOCSPCAConfigurationCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOCSPCAConfigurationCollection { type Vtable = IOCSPCAConfigurationCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOCSPCAConfigurationCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOCSPCAConfigurationCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); } @@ -10708,6 +9250,7 @@ pub struct IOCSPCAConfigurationCollection_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOCSPProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPProperty { @@ -10736,30 +9279,10 @@ impl IOCSPProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOCSPProperty, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOCSPProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOCSPProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOCSPProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOCSPProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOCSPProperty { type Vtable = IOCSPProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOCSPProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOCSPProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); } @@ -10785,6 +9308,7 @@ pub struct IOCSPProperty_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOCSPPropertyCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOCSPPropertyCollection { @@ -10841,30 +9365,10 @@ impl IOCSPPropertyCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOCSPPropertyCollection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOCSPPropertyCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOCSPPropertyCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOCSPPropertyCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOCSPPropertyCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOCSPPropertyCollection { type Vtable = IOCSPPropertyCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOCSPPropertyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOCSPPropertyCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2597c18d_54e6_4b74_9fa9_a6bfda99cbbe); } @@ -10900,6 +9404,7 @@ pub struct IOCSPPropertyCollection_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectId(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IObjectId { @@ -10944,30 +9449,10 @@ impl IObjectId { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IObjectId, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IObjectId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IObjectId {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IObjectId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectId").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IObjectId { type Vtable = IObjectId_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IObjectId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IObjectId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab300_217d_11da_b2a4_000e7bbb2b09); } @@ -10988,6 +9473,7 @@ pub struct IObjectId_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectIds(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IObjectIds { @@ -11031,30 +9517,10 @@ impl IObjectIds { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IObjectIds, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IObjectIds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IObjectIds {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IObjectIds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectIds").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IObjectIds { type Vtable = IObjectIds_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IObjectIds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IObjectIds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab301_217d_11da_b2a4_000e7bbb2b09); } @@ -11083,6 +9549,7 @@ pub struct IObjectIds_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPolicyQualifier(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPolicyQualifier { @@ -11114,30 +9581,10 @@ impl IPolicyQualifier { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPolicyQualifier, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPolicyQualifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPolicyQualifier {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPolicyQualifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPolicyQualifier").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPolicyQualifier { type Vtable = IPolicyQualifier_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPolicyQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPolicyQualifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31c_217d_11da_b2a4_000e7bbb2b09); } @@ -11158,6 +9605,7 @@ pub struct IPolicyQualifier_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPolicyQualifiers(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPolicyQualifiers { @@ -11193,30 +9641,10 @@ impl IPolicyQualifiers { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPolicyQualifiers, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPolicyQualifiers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPolicyQualifiers {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPolicyQualifiers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPolicyQualifiers").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPolicyQualifiers { type Vtable = IPolicyQualifiers_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPolicyQualifiers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPolicyQualifiers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31d_217d_11da_b2a4_000e7bbb2b09); } @@ -11241,6 +9669,7 @@ pub struct IPolicyQualifiers_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignerCertificate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISignerCertificate { @@ -11310,30 +9739,10 @@ impl ISignerCertificate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISignerCertificate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISignerCertificate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISignerCertificate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISignerCertificate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISignerCertificate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISignerCertificate { type Vtable = ISignerCertificate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISignerCertificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISignerCertificate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33d_217d_11da_b2a4_000e7bbb2b09); } @@ -11372,6 +9781,7 @@ pub struct ISignerCertificate_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISignerCertificates(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISignerCertificates { @@ -11416,30 +9826,10 @@ impl ISignerCertificates { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISignerCertificates, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISignerCertificates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISignerCertificates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISignerCertificates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISignerCertificates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISignerCertificates { type Vtable = ISignerCertificates_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISignerCertificates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISignerCertificates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33e_217d_11da_b2a4_000e7bbb2b09); } @@ -11468,6 +9858,7 @@ pub struct ISignerCertificates_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmimeCapabilities(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISmimeCapabilities { @@ -11519,30 +9910,10 @@ impl ISmimeCapabilities { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISmimeCapabilities, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISmimeCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISmimeCapabilities {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISmimeCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmimeCapabilities").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISmimeCapabilities { type Vtable = ISmimeCapabilities_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISmimeCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISmimeCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31a_217d_11da_b2a4_000e7bbb2b09); } @@ -11575,6 +9946,7 @@ pub struct ISmimeCapabilities_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISmimeCapability(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISmimeCapability { @@ -11600,30 +9972,10 @@ impl ISmimeCapability { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISmimeCapability, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISmimeCapability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISmimeCapability {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISmimeCapability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISmimeCapability").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISmimeCapability { type Vtable = ISmimeCapability_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISmimeCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISmimeCapability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab319_217d_11da_b2a4_000e7bbb2b09); } @@ -11645,6 +9997,7 @@ pub struct ISmimeCapability_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX500DistinguishedName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX500DistinguishedName { @@ -11670,32 +10023,12 @@ impl IX500DistinguishedName { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IX500DistinguishedName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX500DistinguishedName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX500DistinguishedName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX500DistinguishedName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX500DistinguishedName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IX500DistinguishedName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX500DistinguishedName { type Vtable = IX500DistinguishedName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX500DistinguishedName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX500DistinguishedName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab303_217d_11da_b2a4_000e7bbb2b09); } @@ -11712,6 +10045,7 @@ pub struct IX500DistinguishedName_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Attribute(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Attribute { @@ -11738,30 +10072,10 @@ impl IX509Attribute { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Attribute, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Attribute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Attribute {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Attribute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Attribute").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Attribute { type Vtable = IX509Attribute_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Attribute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Attribute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab322_217d_11da_b2a4_000e7bbb2b09); } @@ -11783,6 +10097,7 @@ pub struct IX509Attribute_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeArchiveKey(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeArchiveKey { @@ -11839,30 +10154,10 @@ impl IX509AttributeArchiveKey { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeArchiveKey, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeArchiveKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeArchiveKey {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeArchiveKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeArchiveKey").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeArchiveKey { type Vtable = IX509AttributeArchiveKey_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeArchiveKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeArchiveKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab327_217d_11da_b2a4_000e7bbb2b09); } @@ -11886,6 +10181,7 @@ pub struct IX509AttributeArchiveKey_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeArchiveKeyHash(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeArchiveKeyHash { @@ -11928,30 +10224,10 @@ impl IX509AttributeArchiveKeyHash { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeArchiveKeyHash, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeArchiveKeyHash { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeArchiveKeyHash {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeArchiveKeyHash { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeArchiveKeyHash").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeArchiveKeyHash { type Vtable = IX509AttributeArchiveKeyHash_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeArchiveKeyHash { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeArchiveKeyHash { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab328_217d_11da_b2a4_000e7bbb2b09); } @@ -11967,6 +10243,7 @@ pub struct IX509AttributeArchiveKeyHash_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeClientId(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeClientId { @@ -12023,30 +10300,10 @@ impl IX509AttributeClientId { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeClientId, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeClientId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeClientId {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeClientId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeClientId").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeClientId { type Vtable = IX509AttributeClientId_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeClientId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeClientId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab325_217d_11da_b2a4_000e7bbb2b09); } @@ -12065,6 +10322,7 @@ pub struct IX509AttributeClientId_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeCspProvider(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeCspProvider { @@ -12116,30 +10374,10 @@ impl IX509AttributeCspProvider { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeCspProvider, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeCspProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeCspProvider {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeCspProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeCspProvider").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeCspProvider { type Vtable = IX509AttributeCspProvider_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeCspProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeCspProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32b_217d_11da_b2a4_000e7bbb2b09); } @@ -12157,6 +10395,7 @@ pub struct IX509AttributeCspProvider_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeExtensions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeExtensions { @@ -12203,30 +10442,10 @@ impl IX509AttributeExtensions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeExtensions, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeExtensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeExtensions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeExtensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeExtensions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeExtensions { type Vtable = IX509AttributeExtensions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeExtensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeExtensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab324_217d_11da_b2a4_000e7bbb2b09); } @@ -12248,6 +10467,7 @@ pub struct IX509AttributeExtensions_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeOSVersion(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeOSVersion { @@ -12290,30 +10510,10 @@ impl IX509AttributeOSVersion { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeOSVersion, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeOSVersion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeOSVersion {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeOSVersion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeOSVersion").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeOSVersion { type Vtable = IX509AttributeOSVersion_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeOSVersion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeOSVersion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab32a_217d_11da_b2a4_000e7bbb2b09); } @@ -12329,6 +10529,7 @@ pub struct IX509AttributeOSVersion_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509AttributeRenewalCertificate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509AttributeRenewalCertificate { @@ -12371,30 +10572,10 @@ impl IX509AttributeRenewalCertificate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509AttributeRenewalCertificate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509AttributeRenewalCertificate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509AttributeRenewalCertificate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509AttributeRenewalCertificate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509AttributeRenewalCertificate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509AttributeRenewalCertificate { type Vtable = IX509AttributeRenewalCertificate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509AttributeRenewalCertificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509AttributeRenewalCertificate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab326_217d_11da_b2a4_000e7bbb2b09); } @@ -12410,6 +10591,7 @@ pub struct IX509AttributeRenewalCertificate_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Attributes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Attributes { @@ -12445,30 +10627,10 @@ impl IX509Attributes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Attributes, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Attributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Attributes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Attributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Attributes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Attributes { type Vtable = IX509Attributes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Attributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Attributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab323_217d_11da_b2a4_000e7bbb2b09); } @@ -12493,6 +10655,7 @@ pub struct IX509Attributes_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequest(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequest { @@ -12631,30 +10794,10 @@ impl IX509CertificateRequest { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequest, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequest {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequest").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequest { type Vtable = IX509CertificateRequest_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab341_217d_11da_b2a4_000e7bbb2b09); } @@ -12725,6 +10868,7 @@ pub struct IX509CertificateRequest_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestCertificate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestCertificate { @@ -13090,30 +11234,10 @@ impl IX509CertificateRequestCertificate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestCertificate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestCertificate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestCertificate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestCertificate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestCertificate { type Vtable = IX509CertificateRequestCertificate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestCertificate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestCertificate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab343_217d_11da_b2a4_000e7bbb2b09); } @@ -13152,6 +11276,7 @@ pub struct IX509CertificateRequestCertificate_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestCertificate2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestCertificate2 { @@ -13548,30 +11673,10 @@ impl IX509CertificateRequestCertificate2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestCertificate2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestCertificate); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestCertificate2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestCertificate2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestCertificate2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestCertificate2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestCertificate2 { type Vtable = IX509CertificateRequestCertificate2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestCertificate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestCertificate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35a_217d_11da_b2a4_000e7bbb2b09); } @@ -13600,6 +11705,7 @@ pub struct IX509CertificateRequestCertificate2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestCmc(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestCmc { @@ -13920,30 +12026,10 @@ impl IX509CertificateRequestCmc { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestCmc, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestCmc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestCmc {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestCmc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestCmc").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestCmc { type Vtable = IX509CertificateRequestCmc_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestCmc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestCmc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab345_217d_11da_b2a4_000e7bbb2b09); } @@ -14021,6 +12107,7 @@ pub struct IX509CertificateRequestCmc_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestCmc2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestCmc2 { @@ -14384,30 +12471,10 @@ impl IX509CertificateRequestCmc2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestCmc2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7, IX509CertificateRequestCmc); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestCmc2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestCmc2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestCmc2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestCmc2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestCmc2 { type Vtable = IX509CertificateRequestCmc2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestCmc2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestCmc2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35d_217d_11da_b2a4_000e7bbb2b09); } @@ -14441,6 +12508,7 @@ pub struct IX509CertificateRequestCmc2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs10(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10 { @@ -14746,30 +12814,10 @@ impl IX509CertificateRequestPkcs10 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs10 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs10 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs10").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs10 { type Vtable = IX509CertificateRequestPkcs10_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab342_217d_11da_b2a4_000e7bbb2b09); } @@ -14867,6 +12915,7 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs10V2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10V2 { @@ -15213,30 +13262,10 @@ impl IX509CertificateRequestPkcs10V2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs10V2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs10V2 { type Vtable = IX509CertificateRequestPkcs10V2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs10V2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs10V2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35b_217d_11da_b2a4_000e7bbb2b09); } @@ -15269,6 +13298,7 @@ pub struct IX509CertificateRequestPkcs10V2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs10V3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10V3 { @@ -15676,30 +13706,10 @@ impl IX509CertificateRequestPkcs10V3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V3, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs10V3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs10V3 { type Vtable = IX509CertificateRequestPkcs10V3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs10V3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs10V3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54ea9942_3d66_4530_b76e_7c9170d3ec52); } @@ -15738,6 +13748,7 @@ pub struct IX509CertificateRequestPkcs10V3_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs10V4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs10V4 { @@ -16166,30 +14177,10 @@ impl IX509CertificateRequestPkcs10V4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V4, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs10V4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs10V4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs10V4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs10V4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs10V4 { type Vtable = IX509CertificateRequestPkcs10V4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs10V4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs10V4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab363_217d_11da_b2a4_000e7bbb2b09); } @@ -16212,6 +14203,7 @@ pub struct IX509CertificateRequestPkcs10V4_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs7(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs7 { @@ -16402,29 +14394,9 @@ impl IX509CertificateRequestPkcs7 { } #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs7, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs7 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs7").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs7 { - type Vtable = IX509CertificateRequestPkcs7_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +#[cfg(feature = "Win32_System_Com")] +unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs7 { + type Vtable = IX509CertificateRequestPkcs7_Vtbl; } #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs7 { @@ -16459,6 +14431,7 @@ pub struct IX509CertificateRequestPkcs7_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRequestPkcs7V2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRequestPkcs7V2 { @@ -16679,30 +14652,10 @@ impl IX509CertificateRequestPkcs7V2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs7V2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRequestPkcs7V2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRequestPkcs7V2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRequestPkcs7V2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRequestPkcs7V2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRequestPkcs7V2 { type Vtable = IX509CertificateRequestPkcs7V2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRequestPkcs7V2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRequestPkcs7V2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35c_217d_11da_b2a4_000e7bbb2b09); } @@ -16731,6 +14684,7 @@ pub struct IX509CertificateRequestPkcs7V2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRevocationList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRevocationList { @@ -16899,30 +14853,10 @@ impl IX509CertificateRevocationList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRevocationList, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRevocationList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRevocationList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRevocationList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRevocationList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRevocationList { type Vtable = IX509CertificateRevocationList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRevocationList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRevocationList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab360_217d_11da_b2a4_000e7bbb2b09); } @@ -17011,6 +14945,7 @@ pub struct IX509CertificateRevocationList_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRevocationListEntries(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRevocationListEntries { @@ -17061,30 +14996,10 @@ impl IX509CertificateRevocationListEntries { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRevocationListEntries, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntries { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRevocationListEntries {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRevocationListEntries { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRevocationListEntries").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRevocationListEntries { type Vtable = IX509CertificateRevocationListEntries_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRevocationListEntries { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRevocationListEntries { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35f_217d_11da_b2a4_000e7bbb2b09); } @@ -17114,6 +15029,7 @@ pub struct IX509CertificateRevocationListEntries_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateRevocationListEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateRevocationListEntry { @@ -17154,30 +15070,10 @@ impl IX509CertificateRevocationListEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateRevocationListEntry, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateRevocationListEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateRevocationListEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateRevocationListEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateRevocationListEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateRevocationListEntry { type Vtable = IX509CertificateRevocationListEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateRevocationListEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateRevocationListEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab35e_217d_11da_b2a4_000e7bbb2b09); } @@ -17203,6 +15099,7 @@ pub struct IX509CertificateRevocationListEntry_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateTemplate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplate { @@ -17216,30 +15113,10 @@ impl IX509CertificateTemplate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateTemplate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateTemplate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateTemplate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateTemplate { type Vtable = IX509CertificateTemplate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54244a13_555a_4e22_896d_1b0e52f76406); } @@ -17256,6 +15133,7 @@ pub struct IX509CertificateTemplate_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateTemplateWritable(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplateWritable { @@ -17294,30 +15172,10 @@ impl IX509CertificateTemplateWritable { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateTemplateWritable, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateTemplateWritable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateTemplateWritable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateTemplateWritable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateTemplateWritable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateTemplateWritable { type Vtable = IX509CertificateTemplateWritable_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateTemplateWritable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateTemplateWritable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf49466a7_395a_4e9e_b6e7_32b331600dc0); } @@ -17347,6 +15205,7 @@ pub struct IX509CertificateTemplateWritable_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509CertificateTemplates(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509CertificateTemplates { @@ -17400,30 +15259,10 @@ impl IX509CertificateTemplates { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509CertificateTemplates, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509CertificateTemplates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509CertificateTemplates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509CertificateTemplates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509CertificateTemplates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509CertificateTemplates { type Vtable = IX509CertificateTemplates_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509CertificateTemplates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509CertificateTemplates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13b79003_2181_11da_b2a4_000e7bbb2b09); } @@ -17456,6 +15295,7 @@ pub struct IX509CertificateTemplates_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509EndorsementKey(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509EndorsementKey { @@ -17525,30 +15365,10 @@ impl IX509EndorsementKey { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509EndorsementKey, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509EndorsementKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509EndorsementKey {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509EndorsementKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509EndorsementKey").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509EndorsementKey { type Vtable = IX509EndorsementKey_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509EndorsementKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509EndorsementKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb11cd855_f4c4_4fc6_b710_4422237f09e9); } @@ -17584,6 +15404,7 @@ pub struct IX509EndorsementKey_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Enrollment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Enrollment { @@ -17708,30 +15529,10 @@ impl IX509Enrollment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Enrollment, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Enrollment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Enrollment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Enrollment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Enrollment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Enrollment { type Vtable = IX509Enrollment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Enrollment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Enrollment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab346_217d_11da_b2a4_000e7bbb2b09); } @@ -17785,6 +15586,7 @@ pub struct IX509Enrollment_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Enrollment2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Enrollment2 { @@ -17943,30 +15745,10 @@ impl IX509Enrollment2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Enrollment2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Enrollment); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Enrollment2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Enrollment2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Enrollment2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Enrollment2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Enrollment2 { type Vtable = IX509Enrollment2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Enrollment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Enrollment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab350_217d_11da_b2a4_000e7bbb2b09); } @@ -17993,6 +15775,7 @@ pub struct IX509Enrollment2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509EnrollmentHelper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentHelper { @@ -18028,30 +15811,10 @@ impl IX509EnrollmentHelper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509EnrollmentHelper, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509EnrollmentHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509EnrollmentHelper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509EnrollmentHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509EnrollmentHelper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509EnrollmentHelper { type Vtable = IX509EnrollmentHelper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509EnrollmentHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509EnrollmentHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab351_217d_11da_b2a4_000e7bbb2b09); } @@ -18068,6 +15831,7 @@ pub struct IX509EnrollmentHelper_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509EnrollmentPolicyServer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentPolicyServer { @@ -18199,30 +15963,10 @@ impl IX509EnrollmentPolicyServer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509EnrollmentPolicyServer, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509EnrollmentPolicyServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509EnrollmentPolicyServer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509EnrollmentPolicyServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509EnrollmentPolicyServer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509EnrollmentPolicyServer { type Vtable = IX509EnrollmentPolicyServer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509EnrollmentPolicyServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509EnrollmentPolicyServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13b79026_2181_11da_b2a4_000e7bbb2b09); } @@ -18292,6 +16036,7 @@ pub struct IX509EnrollmentPolicyServer_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509EnrollmentStatus(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentStatus { @@ -18347,30 +16092,10 @@ impl IX509EnrollmentStatus { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509EnrollmentStatus, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509EnrollmentStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509EnrollmentStatus {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509EnrollmentStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509EnrollmentStatus").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509EnrollmentStatus { type Vtable = IX509EnrollmentStatus_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509EnrollmentStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509EnrollmentStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab304_217d_11da_b2a4_000e7bbb2b09); } @@ -18395,6 +16120,7 @@ pub struct IX509EnrollmentStatus_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509EnrollmentWebClassFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509EnrollmentWebClassFactory { @@ -18409,30 +16135,10 @@ impl IX509EnrollmentWebClassFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509EnrollmentWebClassFactory, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509EnrollmentWebClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509EnrollmentWebClassFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509EnrollmentWebClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509EnrollmentWebClassFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509EnrollmentWebClassFactory { type Vtable = IX509EnrollmentWebClassFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509EnrollmentWebClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509EnrollmentWebClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab349_217d_11da_b2a4_000e7bbb2b09); } @@ -18446,6 +16152,7 @@ pub struct IX509EnrollmentWebClassFactory_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Extension(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Extension { @@ -18486,30 +16193,10 @@ impl IX509Extension { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Extension, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Extension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Extension {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Extension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Extension").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Extension { type Vtable = IX509Extension_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Extension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Extension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30d_217d_11da_b2a4_000e7bbb2b09); } @@ -18539,6 +16226,7 @@ pub struct IX509Extension_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionAlternativeNames(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionAlternativeNames { @@ -18599,30 +16287,10 @@ impl IX509ExtensionAlternativeNames { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionAlternativeNames, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionAlternativeNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionAlternativeNames {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionAlternativeNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionAlternativeNames").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionAlternativeNames { type Vtable = IX509ExtensionAlternativeNames_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionAlternativeNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionAlternativeNames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab315_217d_11da_b2a4_000e7bbb2b09); } @@ -18644,6 +16312,7 @@ pub struct IX509ExtensionAlternativeNames_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionAuthorityKeyIdentifier(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionAuthorityKeyIdentifier { @@ -18700,30 +16369,10 @@ impl IX509ExtensionAuthorityKeyIdentifier { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionAuthorityKeyIdentifier, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionAuthorityKeyIdentifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionAuthorityKeyIdentifier {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionAuthorityKeyIdentifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionAuthorityKeyIdentifier").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionAuthorityKeyIdentifier { type Vtable = IX509ExtensionAuthorityKeyIdentifier_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionAuthorityKeyIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionAuthorityKeyIdentifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab318_217d_11da_b2a4_000e7bbb2b09); } @@ -18739,6 +16388,7 @@ pub struct IX509ExtensionAuthorityKeyIdentifier_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionBasicConstraints(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionBasicConstraints { @@ -18803,30 +16453,10 @@ impl IX509ExtensionBasicConstraints { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionBasicConstraints, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionBasicConstraints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionBasicConstraints {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionBasicConstraints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionBasicConstraints").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionBasicConstraints { type Vtable = IX509ExtensionBasicConstraints_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionBasicConstraints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionBasicConstraints { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab316_217d_11da_b2a4_000e7bbb2b09); } @@ -18849,6 +16479,7 @@ pub struct IX509ExtensionBasicConstraints_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionCertificatePolicies(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionCertificatePolicies { @@ -18909,30 +16540,10 @@ impl IX509ExtensionCertificatePolicies { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionCertificatePolicies, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionCertificatePolicies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionCertificatePolicies {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionCertificatePolicies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionCertificatePolicies").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionCertificatePolicies { type Vtable = IX509ExtensionCertificatePolicies_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionCertificatePolicies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionCertificatePolicies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab320_217d_11da_b2a4_000e7bbb2b09); } @@ -18954,6 +16565,7 @@ pub struct IX509ExtensionCertificatePolicies_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionEnhancedKeyUsage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionEnhancedKeyUsage { @@ -19012,32 +16624,12 @@ impl IX509ExtensionEnhancedKeyUsage { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionEnhancedKeyUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionEnhancedKeyUsage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionEnhancedKeyUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionEnhancedKeyUsage").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionEnhancedKeyUsage { type Vtable = IX509ExtensionEnhancedKeyUsage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionEnhancedKeyUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionEnhancedKeyUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab310_217d_11da_b2a4_000e7bbb2b09); } @@ -19059,6 +16651,7 @@ pub struct IX509ExtensionEnhancedKeyUsage_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionKeyUsage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionKeyUsage { @@ -19112,30 +16705,10 @@ impl IX509ExtensionKeyUsage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionKeyUsage, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionKeyUsage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionKeyUsage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionKeyUsage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionKeyUsage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionKeyUsage { type Vtable = IX509ExtensionKeyUsage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionKeyUsage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionKeyUsage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30f_217d_11da_b2a4_000e7bbb2b09); } @@ -19151,6 +16724,7 @@ pub struct IX509ExtensionKeyUsage_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionMSApplicationPolicies(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionMSApplicationPolicies { @@ -19211,30 +16785,10 @@ impl IX509ExtensionMSApplicationPolicies { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionMSApplicationPolicies, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionMSApplicationPolicies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionMSApplicationPolicies {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionMSApplicationPolicies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionMSApplicationPolicies").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionMSApplicationPolicies { type Vtable = IX509ExtensionMSApplicationPolicies_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionMSApplicationPolicies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionMSApplicationPolicies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab321_217d_11da_b2a4_000e7bbb2b09); } @@ -19256,6 +16810,7 @@ pub struct IX509ExtensionMSApplicationPolicies_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionSmimeCapabilities(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionSmimeCapabilities { @@ -19316,30 +16871,10 @@ impl IX509ExtensionSmimeCapabilities { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionSmimeCapabilities, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionSmimeCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionSmimeCapabilities {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionSmimeCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionSmimeCapabilities").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionSmimeCapabilities { type Vtable = IX509ExtensionSmimeCapabilities_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionSmimeCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionSmimeCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab31b_217d_11da_b2a4_000e7bbb2b09); } @@ -19361,6 +16896,7 @@ pub struct IX509ExtensionSmimeCapabilities_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionSubjectKeyIdentifier(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionSubjectKeyIdentifier { @@ -19417,30 +16953,10 @@ impl IX509ExtensionSubjectKeyIdentifier { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionSubjectKeyIdentifier, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionSubjectKeyIdentifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionSubjectKeyIdentifier {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionSubjectKeyIdentifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionSubjectKeyIdentifier").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionSubjectKeyIdentifier { type Vtable = IX509ExtensionSubjectKeyIdentifier_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionSubjectKeyIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionSubjectKeyIdentifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab317_217d_11da_b2a4_000e7bbb2b09); } @@ -19456,6 +16972,7 @@ pub struct IX509ExtensionSubjectKeyIdentifier_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionTemplate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionTemplate { @@ -19524,30 +17041,10 @@ impl IX509ExtensionTemplate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionTemplate, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionTemplate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionTemplate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionTemplate { type Vtable = IX509ExtensionTemplate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab312_217d_11da_b2a4_000e7bbb2b09); } @@ -19571,6 +17068,7 @@ pub struct IX509ExtensionTemplate_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509ExtensionTemplateName(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509ExtensionTemplateName { @@ -19627,30 +17125,10 @@ impl IX509ExtensionTemplateName { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509ExtensionTemplateName, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509ExtensionTemplateName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509ExtensionTemplateName {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509ExtensionTemplateName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509ExtensionTemplateName").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509ExtensionTemplateName { type Vtable = IX509ExtensionTemplateName_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509ExtensionTemplateName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509ExtensionTemplateName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab311_217d_11da_b2a4_000e7bbb2b09); } @@ -19666,6 +17144,7 @@ pub struct IX509ExtensionTemplateName_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509Extensions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509Extensions { @@ -19718,30 +17197,10 @@ impl IX509Extensions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509Extensions, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509Extensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509Extensions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509Extensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509Extensions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509Extensions { type Vtable = IX509Extensions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509Extensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509Extensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30e_217d_11da_b2a4_000e7bbb2b09); } @@ -19774,6 +17233,7 @@ pub struct IX509Extensions_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509MachineEnrollmentFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509MachineEnrollmentFactory { @@ -19790,30 +17250,10 @@ impl IX509MachineEnrollmentFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509MachineEnrollmentFactory, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509MachineEnrollmentFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509MachineEnrollmentFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509MachineEnrollmentFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509MachineEnrollmentFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509MachineEnrollmentFactory { type Vtable = IX509MachineEnrollmentFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509MachineEnrollmentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509MachineEnrollmentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab352_217d_11da_b2a4_000e7bbb2b09); } @@ -19830,6 +17270,7 @@ pub struct IX509MachineEnrollmentFactory_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509NameValuePair(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509NameValuePair { @@ -19852,30 +17293,10 @@ impl IX509NameValuePair { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509NameValuePair, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509NameValuePair { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509NameValuePair {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509NameValuePair { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509NameValuePair").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509NameValuePair { type Vtable = IX509NameValuePair_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509NameValuePair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509NameValuePair { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33f_217d_11da_b2a4_000e7bbb2b09); } @@ -19891,6 +17312,7 @@ pub struct IX509NameValuePair_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509NameValuePairs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509NameValuePairs { @@ -19926,30 +17348,10 @@ impl IX509NameValuePairs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509NameValuePairs, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509NameValuePairs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509NameValuePairs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509NameValuePairs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509NameValuePairs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509NameValuePairs { type Vtable = IX509NameValuePairs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509NameValuePairs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509NameValuePairs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab340_217d_11da_b2a4_000e7bbb2b09); } @@ -19974,6 +17376,7 @@ pub struct IX509NameValuePairs_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509PolicyServerListManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509PolicyServerListManager { @@ -20012,30 +17415,10 @@ impl IX509PolicyServerListManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509PolicyServerListManager, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509PolicyServerListManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509PolicyServerListManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509PolicyServerListManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509PolicyServerListManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509PolicyServerListManager { type Vtable = IX509PolicyServerListManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509PolicyServerListManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509PolicyServerListManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x884e204b_217d_11da_b2a4_000e7bbb2b09); } @@ -20061,6 +17444,7 @@ pub struct IX509PolicyServerListManager_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509PolicyServerUrl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509PolicyServerUrl { @@ -20132,30 +17516,10 @@ impl IX509PolicyServerUrl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509PolicyServerUrl, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509PolicyServerUrl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509PolicyServerUrl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509PolicyServerUrl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509PolicyServerUrl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509PolicyServerUrl { type Vtable = IX509PolicyServerUrl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509PolicyServerUrl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509PolicyServerUrl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x884e204a_217d_11da_b2a4_000e7bbb2b09); } @@ -20189,6 +17553,7 @@ pub struct IX509PolicyServerUrl_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509PrivateKey(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509PrivateKey { @@ -20490,30 +17855,10 @@ impl IX509PrivateKey { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509PrivateKey, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509PrivateKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509PrivateKey {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509PrivateKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509PrivateKey").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509PrivateKey { type Vtable = IX509PrivateKey_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509PrivateKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509PrivateKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30c_217d_11da_b2a4_000e7bbb2b09); } @@ -20635,6 +17980,7 @@ pub struct IX509PrivateKey_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509PrivateKey2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509PrivateKey2 { @@ -20980,30 +18326,10 @@ impl IX509PrivateKey2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509PrivateKey2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509PrivateKey); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509PrivateKey2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509PrivateKey2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509PrivateKey2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509PrivateKey2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509PrivateKey2 { type Vtable = IX509PrivateKey2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509PrivateKey2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509PrivateKey2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab362_217d_11da_b2a4_000e7bbb2b09); } @@ -21026,6 +18352,7 @@ pub struct IX509PrivateKey2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509PublicKey(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509PublicKey { @@ -21071,30 +18398,10 @@ impl IX509PublicKey { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509PublicKey, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509PublicKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509PublicKey {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509PublicKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509PublicKey").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509PublicKey { type Vtable = IX509PublicKey_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509PublicKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509PublicKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab30b_217d_11da_b2a4_000e7bbb2b09); } @@ -21120,6 +18427,7 @@ pub struct IX509PublicKey_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509SCEPEnrollment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollment { @@ -21254,30 +18562,10 @@ impl IX509SCEPEnrollment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509SCEPEnrollment, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509SCEPEnrollment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509SCEPEnrollment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509SCEPEnrollment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509SCEPEnrollment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509SCEPEnrollment { type Vtable = IX509SCEPEnrollment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509SCEPEnrollment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509SCEPEnrollment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab361_217d_11da_b2a4_000e7bbb2b09); } @@ -21339,6 +18627,7 @@ pub struct IX509SCEPEnrollment_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509SCEPEnrollment2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollment2 { @@ -21502,30 +18791,10 @@ impl IX509SCEPEnrollment2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509SCEPEnrollment2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509SCEPEnrollment); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509SCEPEnrollment2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509SCEPEnrollment2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509SCEPEnrollment2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509SCEPEnrollment2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509SCEPEnrollment2 { type Vtable = IX509SCEPEnrollment2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509SCEPEnrollment2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509SCEPEnrollment2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab364_217d_11da_b2a4_000e7bbb2b09); } @@ -21544,6 +18813,7 @@ pub struct IX509SCEPEnrollment2_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509SCEPEnrollmentHelper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509SCEPEnrollmentHelper { @@ -21588,30 +18858,10 @@ impl IX509SCEPEnrollmentHelper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509SCEPEnrollmentHelper, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509SCEPEnrollmentHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509SCEPEnrollmentHelper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509SCEPEnrollmentHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509SCEPEnrollmentHelper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509SCEPEnrollmentHelper { type Vtable = IX509SCEPEnrollmentHelper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509SCEPEnrollmentHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509SCEPEnrollmentHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab365_217d_11da_b2a4_000e7bbb2b09); } @@ -21636,6 +18886,7 @@ pub struct IX509SCEPEnrollmentHelper_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IX509SignatureInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IX509SignatureInformation { @@ -21728,30 +18979,10 @@ impl IX509SignatureInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IX509SignatureInformation, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IX509SignatureInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IX509SignatureInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IX509SignatureInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IX509SignatureInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IX509SignatureInformation { type Vtable = IX509SignatureInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IX509SignatureInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IX509SignatureInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x728ab33c_217d_11da_b2a4_000e7bbb2b09); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs index da18d37789..f595389182 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs @@ -217,8 +217,8 @@ impl ICertSrvSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl ICertSrvSetupKeyInformation_Vtbl { SetExistingCACertificate: SetExistingCACertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -488,8 +488,8 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -566,8 +566,8 @@ impl ICertificateEnrollmentServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -703,7 +703,7 @@ impl IMSCEPSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index e3d7079e10..1b424c890d 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -9,70 +9,70 @@ pub mod UI; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptAddContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, dwposition: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptAddContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, dwposition: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptAddContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, dwposition : u32) -> super::super::Foundation:: NTSTATUS); - BCryptAddContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), dwposition).ok() + BCryptAddContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), dwposition) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptCloseAlgorithmProvider(halgorithm: BCRYPT_ALG_HANDLE, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptCloseAlgorithmProvider(halgorithm: BCRYPT_ALG_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptCloseAlgorithmProvider(halgorithm : BCRYPT_ALG_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptCloseAlgorithmProvider(halgorithm, dwflags).ok() + BCryptCloseAlgorithmProvider(halgorithm, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: P0, pconfig: *const CRYPT_CONTEXT_CONFIG) -> ::windows_core::Result<()> +pub unsafe fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: P0, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptConfigureContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); - BCryptConfigureContext(dwtable, pszcontext.into_param().abi(), pconfig).ok() + BCryptConfigureContext(dwtable, pszcontext.into_param().abi(), pconfig) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptConfigureContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pconfig: *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> ::windows_core::Result<()> +pub unsafe fn BCryptConfigureContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pconfig: *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptConfigureContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, pconfig : *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation:: NTSTATUS); - BCryptConfigureContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pconfig).ok() + BCryptConfigureContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pconfig) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: P0, pconfig: ::core::option::Option<*const CRYPT_CONTEXT_CONFIG>) -> ::windows_core::Result<()> +pub unsafe fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: P0, pconfig: ::core::option::Option<*const CRYPT_CONTEXT_CONFIG>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptCreateContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); - BCryptCreateContext(dwtable, pszcontext.into_param().abi(), ::core::mem::transmute(pconfig.unwrap_or(::std::ptr::null()))).ok() + BCryptCreateContext(dwtable, pszcontext.into_param().abi(), ::core::mem::transmute(pconfig.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptCreateHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: ::core::option::Option<&mut [u8]>, pbsecret: ::core::option::Option<&[u8]>, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptCreateHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: ::core::option::Option<&mut [u8]>, pbsecret: ::core::option::Option<&[u8]>, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptCreateHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptCreateHash(halgorithm, phhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() + BCryptCreateHash(halgorithm, phhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptCreateMultiHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, nhashes: u32, pbhashobject: ::core::option::Option<&mut [u8]>, pbsecret: ::core::option::Option<&[u8]>, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptCreateMultiHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, nhashes: u32, pbhashobject: ::core::option::Option<&mut [u8]>, pbsecret: ::core::option::Option<&[u8]>, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptCreateMultiHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, nhashes : u32, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptCreateMultiHash(halgorithm, phhash, nhashes, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() + BCryptCreateMultiHash(halgorithm, phhash, nhashes, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Option<&[u8]>, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbiv: ::core::option::Option<&mut [u8]>, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> ::windows_core::Result<()> { +pub unsafe fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Option<&[u8]>, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbiv: ::core::option::Option<&mut [u8]>, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDecrypt(hkey : BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pbiv : *mut u8, cbiv : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); BCryptDecrypt( hkey, @@ -86,95 +86,94 @@ pub unsafe fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Op pcbresult, dwflags, ) - .ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: P0) -> ::windows_core::Result<()> +pub unsafe fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDeleteContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR) -> super::super::Foundation:: NTSTATUS); - BCryptDeleteContext(dwtable, pszcontext.into_param().abi()).ok() + BCryptDeleteContext(dwtable, pszcontext.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDeriveKey(hsharedsecret: P0, pwszkdf: P1, pparameterlist: ::core::option::Option<*const BCryptBufferDesc>, pbderivedkey: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptDeriveKey(hsharedsecret: P0, pwszkdf: P1, pparameterlist: ::core::option::Option<*const BCryptBufferDesc>, pbderivedkey: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDeriveKey(hsharedsecret : BCRYPT_SECRET_HANDLE, pwszkdf : ::windows_core::PCWSTR, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptDeriveKey(hsharedsecret.into_param().abi(), pwszkdf.into_param().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbderivedkey.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() + BCryptDeriveKey(hsharedsecret.into_param().abi(), pwszkdf.into_param().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbderivedkey.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDeriveKeyCapi(hhash: P0, htargetalg: P1, pbderivedkey: &mut [u8], dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptDeriveKeyCapi(hhash: P0, htargetalg: P1, pbderivedkey: &mut [u8], dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDeriveKeyCapi(hhash : BCRYPT_HASH_HANDLE, htargetalg : BCRYPT_ALG_HANDLE, pbderivedkey : *mut u8, cbderivedkey : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptDeriveKeyCapi(hhash.into_param().abi(), htargetalg.into_param().abi(), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags).ok() + BCryptDeriveKeyCapi(hhash.into_param().abi(), htargetalg.into_param().abi(), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDeriveKeyPBKDF2(hprf: P0, pbpassword: ::core::option::Option<&[u8]>, pbsalt: ::core::option::Option<&[u8]>, citerations: u64, pbderivedkey: &mut [u8], dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptDeriveKeyPBKDF2(hprf: P0, pbpassword: ::core::option::Option<&[u8]>, pbsalt: ::core::option::Option<&[u8]>, citerations: u64, pbderivedkey: &mut [u8], dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDeriveKeyPBKDF2(hprf : BCRYPT_ALG_HANDLE, pbpassword : *const u8, cbpassword : u32, pbsalt : *const u8, cbsalt : u32, citerations : u64, pbderivedkey : *mut u8, cbderivedkey : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptDeriveKeyPBKDF2(hprf.into_param().abi(), ::core::mem::transmute(pbpassword.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbpassword.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsalt.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsalt.as_deref().map_or(0, |slice| slice.len() as _), citerations, ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags).ok() + BCryptDeriveKeyPBKDF2(hprf.into_param().abi(), ::core::mem::transmute(pbpassword.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbpassword.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsalt.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsalt.as_deref().map_or(0, |slice| slice.len() as _), citerations, ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDestroyHash(hhash: BCRYPT_HASH_HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn BCryptDestroyHash(hhash: BCRYPT_HASH_HANDLE) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDestroyHash(hhash : BCRYPT_HASH_HANDLE) -> super::super::Foundation:: NTSTATUS); - BCryptDestroyHash(hhash).ok() + BCryptDestroyHash(hhash) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDestroyKey(hkey: BCRYPT_KEY_HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn BCryptDestroyKey(hkey: BCRYPT_KEY_HANDLE) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDestroyKey(hkey : BCRYPT_KEY_HANDLE) -> super::super::Foundation:: NTSTATUS); - BCryptDestroyKey(hkey).ok() + BCryptDestroyKey(hkey) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDestroySecret(hsecret: BCRYPT_SECRET_HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn BCryptDestroySecret(hsecret: BCRYPT_SECRET_HANDLE) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDestroySecret(hsecret : BCRYPT_SECRET_HANDLE) -> super::super::Foundation:: NTSTATUS); - BCryptDestroySecret(hsecret).ok() + BCryptDestroySecret(hsecret) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDuplicateHash(hhash: P0, phnewhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: ::core::option::Option<&mut [u8]>, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptDuplicateHash(hhash: P0, phnewhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: ::core::option::Option<&mut [u8]>, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDuplicateHash(hhash : BCRYPT_HASH_HANDLE, phnewhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptDuplicateHash(hhash.into_param().abi(), phnewhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() + BCryptDuplicateHash(hhash.into_param().abi(), phnewhash, ::core::mem::transmute(pbhashobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbhashobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptDuplicateKey(hkey: P0, phnewkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptDuplicateKey(hkey: P0, phnewkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptDuplicateKey(hkey : BCRYPT_KEY_HANDLE, phnewkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptDuplicateKey(hkey.into_param().abi(), phnewkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags).ok() + BCryptDuplicateKey(hkey.into_param().abi(), phnewkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Option<&[u8]>, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbiv: ::core::option::Option<&mut [u8]>, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> ::windows_core::Result<()> { +pub unsafe fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Option<&[u8]>, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbiv: ::core::option::Option<&mut [u8]>, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEncrypt(hkey : BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, ppaddinginfo : *const ::core::ffi::c_void, pbiv : *mut u8, cbiv : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); BCryptEncrypt( hkey, @@ -188,85 +187,84 @@ pub unsafe fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: ::core::option::Op pcbresult, dwflags, ) - .ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumAlgorithms(dwalgoperations : BCRYPT_OPERATION, palgcount : *mut u32, ppalglist : *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptEnumAlgorithms(dwalgoperations, palgcount, ppalglist, dwflags).ok() + BCryptEnumAlgorithms(dwalgoperations, palgcount, ppalglist, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumContextFunctionProviders(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS>) -> ::windows_core::Result<()> +pub unsafe fn BCryptEnumContextFunctionProviders(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumContextFunctionProviders(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS) -> super::super::Foundation:: NTSTATUS); - BCryptEnumContextFunctionProviders(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptEnumContextFunctionProviders(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTIONS>) -> ::windows_core::Result<()> +pub unsafe fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTIONS>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumContextFunctions(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTIONS) -> super::super::Foundation:: NTSTATUS); - BCryptEnumContextFunctions(dwtable, pszcontext.into_param().abi(), dwinterface, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptEnumContextFunctions(dwtable, pszcontext.into_param().abi(), dwinterface, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXTS>) -> ::windows_core::Result<()> { +pub unsafe fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXTS>) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumContexts(dwtable : BCRYPT_TABLE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation:: NTSTATUS); - BCryptEnumContexts(dwtable, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptEnumContexts(dwtable, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumProviders(pszalgid: P0, pimplcount: *mut u32, ppimpllist: *mut *mut BCRYPT_PROVIDER_NAME, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptEnumProviders(pszalgid: P0, pimplcount: *mut u32, ppimpllist: *mut *mut BCRYPT_PROVIDER_NAME, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumProviders(pszalgid : ::windows_core::PCWSTR, pimplcount : *mut u32, ppimpllist : *mut *mut BCRYPT_PROVIDER_NAME, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptEnumProviders(pszalgid.into_param().abi(), pimplcount, ppimpllist, dwflags).ok() + BCryptEnumProviders(pszalgid.into_param().abi(), pimplcount, ppimpllist, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDERS>) -> ::windows_core::Result<()> { +pub unsafe fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDERS>) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptEnumRegisteredProviders(pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation:: NTSTATUS); - BCryptEnumRegisteredProviders(pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptEnumRegisteredProviders(pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptExportKey(hkey: P0, hexportkey: P1, pszblobtype: P2, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptExportKey(hkey: P0, hexportkey: P1, pszblobtype: P2, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptExportKey(hkey : BCRYPT_KEY_HANDLE, hexportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptExportKey(hkey.into_param().abi(), hexportkey.into_param().abi(), pszblobtype.into_param().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() + BCryptExportKey(hkey.into_param().abi(), hexportkey.into_param().abi(), pszblobtype.into_param().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptFinalizeKeyPair(hkey: BCRYPT_KEY_HANDLE, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptFinalizeKeyPair(hkey: BCRYPT_KEY_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptFinalizeKeyPair(hkey : BCRYPT_KEY_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptFinalizeKeyPair(hkey, dwflags).ok() + BCryptFinalizeKeyPair(hkey, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptFinishHash(hhash: BCRYPT_HASH_HANDLE, pboutput: &mut [u8], dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptFinishHash(hhash: BCRYPT_HASH_HANDLE, pboutput: &mut [u8], dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptFinishHash(hhash : BCRYPT_HASH_HANDLE, pboutput : *mut u8, cboutput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptFinishHash(hhash, ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _, dwflags).ok() + BCryptFinishHash(hhash, ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[inline] @@ -277,246 +275,246 @@ pub unsafe fn BCryptFreeBuffer(pvbuffer: *const ::core::ffi::c_void) { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptGenRandom(halgorithm: P0, pbbuffer: &mut [u8], dwflags: BCRYPTGENRANDOM_FLAGS) -> ::windows_core::Result<()> +pub unsafe fn BCryptGenRandom(halgorithm: P0, pbbuffer: &mut [u8], dwflags: BCRYPTGENRANDOM_FLAGS) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptGenRandom(halgorithm : BCRYPT_ALG_HANDLE, pbbuffer : *mut u8, cbbuffer : u32, dwflags : BCRYPTGENRANDOM_FLAGS) -> super::super::Foundation:: NTSTATUS); - BCryptGenRandom(halgorithm.into_param().abi(), ::core::mem::transmute(pbbuffer.as_ptr()), pbbuffer.len() as _, dwflags).ok() + BCryptGenRandom(halgorithm.into_param().abi(), ::core::mem::transmute(pbbuffer.as_ptr()), pbbuffer.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptGenerateKeyPair(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, dwlength: u32, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptGenerateKeyPair(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, dwlength: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptGenerateKeyPair(halgorithm : BCRYPT_ALG_HANDLE, phkey : *mut BCRYPT_KEY_HANDLE, dwlength : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptGenerateKeyPair(halgorithm, phkey, dwlength, dwflags).ok() + BCryptGenerateKeyPair(halgorithm, phkey, dwlength, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptGenerateSymmetricKey(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, pbsecret: &[u8], dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptGenerateSymmetricKey(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, pbsecret: &[u8], dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptGenerateSymmetricKey(halgorithm : BCRYPT_ALG_HANDLE, phkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptGenerateSymmetricKey(halgorithm, phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_ptr()), pbsecret.len() as _, dwflags).ok() + BCryptGenerateSymmetricKey(halgorithm, phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbsecret.as_ptr()), pbsecret.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> ::windows_core::Result<()> { +pub unsafe fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptGetFipsAlgorithmMode(pfenabled : *mut u8) -> super::super::Foundation:: NTSTATUS); - BCryptGetFipsAlgorithmMode(pfenabled).ok() + BCryptGetFipsAlgorithmMode(pfenabled) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptGetProperty(hobject: P0, pszproperty: P1, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptGetProperty(hobject: P0, pszproperty: P1, pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptGetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptGetProperty(hobject.into_param().abi(), pszproperty.into_param().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() + BCryptGetProperty(hobject.into_param().abi(), pszproperty.into_param().abi(), ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptHash(halgorithm: BCRYPT_ALG_HANDLE, pbsecret: ::core::option::Option<&[u8]>, pbinput: &[u8], pboutput: &mut [u8]) -> ::windows_core::Result<()> { +pub unsafe fn BCryptHash(halgorithm: BCRYPT_ALG_HANDLE, pbsecret: ::core::option::Option<&[u8]>, pbinput: &[u8], pboutput: &mut [u8]) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptHash(halgorithm : BCRYPT_ALG_HANDLE, pbsecret : *const u8, cbsecret : u32, pbinput : *const u8, cbinput : u32, pboutput : *mut u8, cboutput : u32) -> super::super::Foundation:: NTSTATUS); - BCryptHash(halgorithm, ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _).ok() + BCryptHash(halgorithm, ::core::mem::transmute(pbsecret.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbsecret.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_ptr()), pboutput.len() as _) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptHashData(hhash: BCRYPT_HASH_HANDLE, pbinput: &[u8], dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptHashData(hhash: BCRYPT_HASH_HANDLE, pbinput: &[u8], dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptHashData(hhash : BCRYPT_HASH_HANDLE, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptHashData(hhash, ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() + BCryptHashData(hhash, ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptImportKey(halgorithm: P0, himportkey: P1, pszblobtype: P2, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, pbinput: &[u8], dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptImportKey(halgorithm: P0, himportkey: P1, pszblobtype: P2, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: ::core::option::Option<&mut [u8]>, pbinput: &[u8], dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptImportKey(halgorithm : BCRYPT_ALG_HANDLE, himportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_core::PCWSTR, phkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptImportKey(halgorithm.into_param().abi(), himportkey.into_param().abi(), pszblobtype.into_param().abi(), phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() + BCryptImportKey(halgorithm.into_param().abi(), himportkey.into_param().abi(), pszblobtype.into_param().abi(), phkey, ::core::mem::transmute(pbkeyobject.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbkeyobject.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptImportKeyPair(halgorithm: P0, himportkey: P1, pszblobtype: P2, phkey: *mut BCRYPT_KEY_HANDLE, pbinput: &[u8], dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptImportKeyPair(halgorithm: P0, himportkey: P1, pszblobtype: P2, phkey: *mut BCRYPT_KEY_HANDLE, pbinput: &[u8], dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptImportKeyPair(halgorithm : BCRYPT_ALG_HANDLE, himportkey : BCRYPT_KEY_HANDLE, pszblobtype : ::windows_core::PCWSTR, phkey : *mut BCRYPT_KEY_HANDLE, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptImportKeyPair(halgorithm.into_param().abi(), himportkey.into_param().abi(), pszblobtype.into_param().abi(), phkey, ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() + BCryptImportKeyPair(halgorithm.into_param().abi(), himportkey.into_param().abi(), pszblobtype.into_param().abi(), phkey, ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptKeyDerivation(hkey: P0, pparameterlist: ::core::option::Option<*const BCryptBufferDesc>, pbderivedkey: &mut [u8], pcbresult: *mut u32, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptKeyDerivation(hkey: P0, pparameterlist: ::core::option::Option<*const BCryptBufferDesc>, pbderivedkey: &mut [u8], pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptKeyDerivation(hkey : BCRYPT_KEY_HANDLE, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptKeyDerivation(hkey.into_param().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, pcbresult, dwflags).ok() + BCryptKeyDerivation(hkey.into_param().abi(), ::core::mem::transmute(pparameterlist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbderivedkey.as_ptr()), pbderivedkey.len() as _, pcbresult, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptOpenAlgorithmProvider(phalgorithm: *mut BCRYPT_ALG_HANDLE, pszalgid: P0, pszimplementation: P1, dwflags: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> ::windows_core::Result<()> +pub unsafe fn BCryptOpenAlgorithmProvider(phalgorithm: *mut BCRYPT_ALG_HANDLE, pszalgid: P0, pszimplementation: P1, dwflags: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptOpenAlgorithmProvider(phalgorithm : *mut BCRYPT_ALG_HANDLE, pszalgid : ::windows_core::PCWSTR, pszimplementation : ::windows_core::PCWSTR, dwflags : BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation:: NTSTATUS); - BCryptOpenAlgorithmProvider(phalgorithm, pszalgid.into_param().abi(), pszimplementation.into_param().abi(), dwflags).ok() + BCryptOpenAlgorithmProvider(phalgorithm, pszalgid.into_param().abi(), pszimplementation.into_param().abi(), dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptProcessMultiOperations(hobject: BCRYPT_HANDLE, operationtype: BCRYPT_MULTI_OPERATION_TYPE, poperations: *const ::core::ffi::c_void, cboperations: u32, dwflags: u32) -> ::windows_core::Result<()> { +pub unsafe fn BCryptProcessMultiOperations(hobject: BCRYPT_HANDLE, operationtype: BCRYPT_MULTI_OPERATION_TYPE, poperations: *const ::core::ffi::c_void, cboperations: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptProcessMultiOperations(hobject : BCRYPT_HANDLE, operationtype : BCRYPT_MULTI_OPERATION_TYPE, poperations : *const ::core::ffi::c_void, cboperations : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptProcessMultiOperations(hobject, operationtype, poperations, cboperations, dwflags).ok() + BCryptProcessMultiOperations(hobject, operationtype, poperations, cboperations, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcontext: P0, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_CONFIG>) -> ::windows_core::Result<()> +pub unsafe fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcontext: P0, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_CONFIG>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptQueryContextConfiguration(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); - BCryptQueryContextConfiguration(dwtable, pszcontext.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptQueryContextConfiguration(dwtable, pszcontext.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptQueryContextFunctionConfiguration(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG>) -> ::windows_core::Result<()> +pub unsafe fn BCryptQueryContextFunctionConfiguration(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptQueryContextFunctionConfiguration(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation:: NTSTATUS); - BCryptQueryContextFunctionConfiguration(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptQueryContextFunctionConfiguration(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptQueryContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pszproperty: P2, pcbvalue: *mut u32, ppbvalue: ::core::option::Option<*mut *mut u8>) -> ::windows_core::Result<()> +pub unsafe fn BCryptQueryContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pszproperty: P2, pcbvalue: *mut u32, ppbvalue: ::core::option::Option<*mut *mut u8>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptQueryContextFunctionProperty(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, pszproperty : ::windows_core::PCWSTR, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> super::super::Foundation:: NTSTATUS); - BCryptQueryContextFunctionProperty(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszproperty.into_param().abi(), pcbvalue, ::core::mem::transmute(ppbvalue.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptQueryContextFunctionProperty(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszproperty.into_param().abi(), pcbvalue, ::core::mem::transmute(ppbvalue.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptQueryProviderRegistration(pszprovider: P0, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDER_REG>) -> ::windows_core::Result<()> +pub unsafe fn BCryptQueryProviderRegistration(pszprovider: P0, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDER_REG>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptQueryProviderRegistration(pszprovider : ::windows_core::PCWSTR, dwmode : BCRYPT_QUERY_PROVIDER_MODE, dwinterface : BCRYPT_INTERFACE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDER_REG) -> super::super::Foundation:: NTSTATUS); - BCryptQueryProviderRegistration(pszprovider.into_param().abi(), dwmode, dwinterface, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptQueryProviderRegistration(pszprovider.into_param().abi(), dwmode, dwinterface, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> ::windows_core::Result<()> { +pub unsafe fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptRegisterConfigChangeNotify(phevent : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); - BCryptRegisterConfigChangeNotify(phevent).ok() + BCryptRegisterConfigChangeNotify(phevent) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptRemoveContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1) -> ::windows_core::Result<()> +pub unsafe fn BCryptRemoveContextFunction(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptRemoveContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR) -> super::super::Foundation:: NTSTATUS); - BCryptRemoveContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi()).ok() + BCryptRemoveContextFunction(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptResolveProviders(pszcontext: P0, dwinterface: u32, pszfunction: P1, pszprovider: P2, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwflags: BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDER_REFS>) -> ::windows_core::Result<()> +pub unsafe fn BCryptResolveProviders(pszcontext: P0, dwinterface: u32, pszfunction: P1, pszprovider: P2, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwflags: BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer: *mut u32, ppbuffer: ::core::option::Option<*mut *mut CRYPT_PROVIDER_REFS>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptResolveProviders(pszcontext : ::windows_core::PCWSTR, dwinterface : u32, pszfunction : ::windows_core::PCWSTR, pszprovider : ::windows_core::PCWSTR, dwmode : BCRYPT_QUERY_PROVIDER_MODE, dwflags : BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDER_REFS) -> super::super::Foundation:: NTSTATUS); - BCryptResolveProviders(pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszprovider.into_param().abi(), dwmode, dwflags, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() + BCryptResolveProviders(pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszprovider.into_param().abi(), dwmode, dwflags, pcbbuffer, ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptSecretAgreement(hprivkey: P0, hpubkey: P1, phagreedsecret: *mut BCRYPT_SECRET_HANDLE, dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptSecretAgreement(hprivkey: P0, hpubkey: P1, phagreedsecret: *mut BCRYPT_SECRET_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptSecretAgreement(hprivkey : BCRYPT_KEY_HANDLE, hpubkey : BCRYPT_KEY_HANDLE, phagreedsecret : *mut BCRYPT_SECRET_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptSecretAgreement(hprivkey.into_param().abi(), hpubkey.into_param().abi(), phagreedsecret, dwflags).ok() + BCryptSecretAgreement(hprivkey.into_param().abi(), hpubkey.into_param().abi(), phagreedsecret, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptSetContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pszproperty: P2, pbvalue: ::core::option::Option<&[u8]>) -> ::windows_core::Result<()> +pub unsafe fn BCryptSetContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: P0, dwinterface: BCRYPT_INTERFACE, pszfunction: P1, pszproperty: P2, pbvalue: ::core::option::Option<&[u8]>) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptSetContextFunctionProperty(dwtable : BCRYPT_TABLE, pszcontext : ::windows_core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_core::PCWSTR, pszproperty : ::windows_core::PCWSTR, cbvalue : u32, pbvalue : *const u8) -> super::super::Foundation:: NTSTATUS); - BCryptSetContextFunctionProperty(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszproperty.into_param().abi(), pbvalue.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() + BCryptSetContextFunctionProperty(dwtable, pszcontext.into_param().abi(), dwinterface, pszfunction.into_param().abi(), pszproperty.into_param().abi(), pbvalue.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pbvalue.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptSetProperty(hobject: BCRYPT_HANDLE, pszproperty: P0, pbinput: &[u8], dwflags: u32) -> ::windows_core::Result<()> +pub unsafe fn BCryptSetProperty(hobject: BCRYPT_HANDLE, pszproperty: P0, pbinput: &[u8], dwflags: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptSetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_core::PCWSTR, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); - BCryptSetProperty(hobject, pszproperty.into_param().abi(), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags).ok() + BCryptSetProperty(hobject, pszproperty.into_param().abi(), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptSignHash(hkey: P0, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbinput: &[u8], pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> ::windows_core::Result<()> +pub unsafe fn BCryptSignHash(hkey: P0, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbinput: &[u8], pboutput: ::core::option::Option<&mut [u8]>, pcbresult: *mut u32, dwflags: BCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptSignHash(hkey : BCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbinput : *const u8, cbinput : u32, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); - BCryptSignHash(hkey.into_param().abi(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags).ok() + BCryptSignHash(hkey.into_param().abi(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbinput.as_ptr()), pbinput.len() as _, ::core::mem::transmute(pboutput.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pboutput.as_deref().map_or(0, |slice| slice.len() as _), pcbresult, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptUnregisterConfigChangeNotify(hevent: P0) -> ::windows_core::Result<()> +pub unsafe fn BCryptUnregisterConfigChangeNotify(hevent: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptUnregisterConfigChangeNotify(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); - BCryptUnregisterConfigChangeNotify(hevent.into_param().abi()).ok() + BCryptUnregisterConfigChangeNotify(hevent.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn BCryptVerifySignature(hkey: P0, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbhash: &[u8], pbsignature: &[u8], dwflags: BCRYPT_FLAGS) -> ::windows_core::Result<()> +pub unsafe fn BCryptVerifySignature(hkey: P0, ppaddinginfo: ::core::option::Option<*const ::core::ffi::c_void>, pbhash: &[u8], pbsignature: &[u8], dwflags: BCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("bcrypt.dll" "system" fn BCryptVerifySignature(hkey : BCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbhash : *const u8, cbhash : u32, pbsignature : *const u8, cbsignature : u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); - BCryptVerifySignature(hkey.into_param().abi(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, dwflags).ok() + BCryptVerifySignature(hkey.into_param().abi(), ::core::mem::transmute(ppaddinginfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbhash.as_ptr()), pbhash.len() as _, ::core::mem::transmute(pbsignature.as_ptr()), pbsignature.len() as _, dwflags) } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -3583,6 +3581,7 @@ where #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertSrvSetup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetup { @@ -3728,30 +3727,10 @@ impl ICertSrvSetup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertSrvSetup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertSrvSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertSrvSetup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertSrvSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertSrvSetup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertSrvSetup { type Vtable = ICertSrvSetup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertSrvSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertSrvSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb760a1bb_4784_44c0_8f12_555f0780ff25); } @@ -3826,6 +3805,7 @@ pub struct ICertSrvSetup_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertSrvSetupKeyInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformation { @@ -3895,30 +3875,10 @@ impl ICertSrvSetupKeyInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertSrvSetupKeyInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertSrvSetupKeyInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertSrvSetupKeyInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertSrvSetupKeyInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertSrvSetupKeyInformation { type Vtable = ICertSrvSetupKeyInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertSrvSetupKeyInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertSrvSetupKeyInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ba73778_36da_4c39_8a85_bcfa7d000793); } @@ -3955,6 +3915,7 @@ pub struct ICertSrvSetupKeyInformation_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertSrvSetupKeyInformationCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertSrvSetupKeyInformationCollection { @@ -3984,30 +3945,10 @@ impl ICertSrvSetupKeyInformationCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformationCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertSrvSetupKeyInformationCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertSrvSetupKeyInformationCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertSrvSetupKeyInformationCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertSrvSetupKeyInformationCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertSrvSetupKeyInformationCollection { type Vtable = ICertSrvSetupKeyInformationCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertSrvSetupKeyInformationCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertSrvSetupKeyInformationCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe65c8b00_e58f_41f9_a9ec_a28d7427c844); } @@ -4030,6 +3971,7 @@ pub struct ICertSrvSetupKeyInformationCollection_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateEnrollmentPolicyServerSetup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentPolicyServerSetup { @@ -4063,30 +4005,10 @@ impl ICertificateEnrollmentPolicyServerSetup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificateEnrollmentPolicyServerSetup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificateEnrollmentPolicyServerSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificateEnrollmentPolicyServerSetup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificateEnrollmentPolicyServerSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificateEnrollmentPolicyServerSetup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificateEnrollmentPolicyServerSetup { type Vtable = ICertificateEnrollmentPolicyServerSetup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificateEnrollmentPolicyServerSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificateEnrollmentPolicyServerSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x859252cc_238c_4a88_b8fd_a37e7d04e68b); } @@ -4114,6 +4036,7 @@ pub struct ICertificateEnrollmentPolicyServerSetup_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICertificateEnrollmentServerSetup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICertificateEnrollmentServerSetup { @@ -4154,30 +4077,10 @@ impl ICertificateEnrollmentServerSetup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICertificateEnrollmentServerSetup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICertificateEnrollmentServerSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICertificateEnrollmentServerSetup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICertificateEnrollmentServerSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICertificateEnrollmentServerSetup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICertificateEnrollmentServerSetup { type Vtable = ICertificateEnrollmentServerSetup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICertificateEnrollmentServerSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICertificateEnrollmentServerSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70027fdb_9dd9_4921_8944_b35cb31bd2ec); } @@ -4206,6 +4109,7 @@ pub struct ICertificateEnrollmentServerSetup_Vtbl { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSCEPSetup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSCEPSetup { @@ -4276,30 +4180,10 @@ impl IMSCEPSetup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSCEPSetup, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSCEPSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSCEPSetup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSCEPSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSCEPSetup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSCEPSetup { type Vtable = IMSCEPSetup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSCEPSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSCEPSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f7761bb_9f3b_4592_9ee0_9a73259c313e); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs index a1a3508bf9..7c77231cbd 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs @@ -25,8 +25,8 @@ impl IProtectionPolicyManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl IProtectionPolicyManagerInterop2_Vtbl { RequestAccessForAppWithMessageForWindowAsync: RequestAccessForAppWithMessageForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -136,7 +136,7 @@ impl IProtectionPolicyManagerInterop3_Vtbl { RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync: RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs index 1436c7ae88..e768bf770c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -85,12 +85,12 @@ pub unsafe fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE) { #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SrpIsTokenService(tokenhandle: P0, istokenservice: *mut u8) -> ::windows_core::Result<()> +pub unsafe fn SrpIsTokenService(tokenhandle: P0, istokenservice: *mut u8) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("srpapi.dll" "system" fn SrpIsTokenService(tokenhandle : super::super::Foundation:: HANDLE, istokenservice : *mut u8) -> super::super::Foundation:: NTSTATUS); - SrpIsTokenService(tokenhandle.into_param().abi(), istokenservice).ok() + SrpIsTokenService(tokenhandle.into_param().abi(), istokenservice) } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -114,6 +114,7 @@ where } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerInterop(::windows_core::IUnknown); impl IProtectionPolicyManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -138,25 +139,9 @@ impl IProtectionPolicyManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtectionPolicyManagerInterop {} -impl ::core::fmt::Debug for IProtectionPolicyManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtectionPolicyManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtectionPolicyManagerInterop { type Vtable = IProtectionPolicyManagerInterop_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4652651d_c1fe_4ba1_9f0a_c0f56596f721); } @@ -175,6 +160,7 @@ pub struct IProtectionPolicyManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerInterop2(::windows_core::IUnknown); impl IProtectionPolicyManagerInterop2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -233,25 +219,9 @@ impl IProtectionPolicyManagerInterop2 { } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop2, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtectionPolicyManagerInterop2 {} -impl ::core::fmt::Debug for IProtectionPolicyManagerInterop2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtectionPolicyManagerInterop2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtectionPolicyManagerInterop2 { type Vtable = IProtectionPolicyManagerInterop2_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerInterop2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerInterop2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x157cfbe4_a78d_4156_b384_61fdac41e686); } @@ -282,6 +252,7 @@ pub struct IProtectionPolicyManagerInterop2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectionPolicyManagerInterop3(::windows_core::IUnknown); impl IProtectionPolicyManagerInterop3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -356,25 +327,9 @@ impl IProtectionPolicyManagerInterop3 { } } ::windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop3, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IProtectionPolicyManagerInterop3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtectionPolicyManagerInterop3 {} -impl ::core::fmt::Debug for IProtectionPolicyManagerInterop3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtectionPolicyManagerInterop3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtectionPolicyManagerInterop3 { type Vtable = IProtectionPolicyManagerInterop3_Vtbl; } -impl ::core::clone::Clone for IProtectionPolicyManagerInterop3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectionPolicyManagerInterop3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1c03933_b398_4d93_b0fd_2972adf802c2); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs index c0aceccfb0..c2e71c57f6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs @@ -52,8 +52,8 @@ impl IAccountingProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl IAuthenticationProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IEAPProviderConfig_Vtbl { RouterInvokeCredentialsUI: RouterInvokeCredentialsUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IEAPProviderConfig2_Vtbl { GetGlobalConfig: GetGlobalConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IEAPProviderConfig3_Vtbl { ServerInvokeCertificateConfigUI: ServerInvokeCertificateConfigUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -255,7 +255,7 @@ impl IRouterProtocolConfig_Vtbl { RemoveProtocol: RemoveProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 4085944134..a58c565b73 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -238,6 +238,7 @@ pub unsafe fn EapHostPeerUninitialize() { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountingProviderConfig(::windows_core::IUnknown); impl IAccountingProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0) -> ::windows_core::Result @@ -266,25 +267,9 @@ impl IAccountingProviderConfig { } } ::windows_core::imp::interface_hierarchy!(IAccountingProviderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccountingProviderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccountingProviderConfig {} -impl ::core::fmt::Debug for IAccountingProviderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccountingProviderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccountingProviderConfig { type Vtable = IAccountingProviderConfig_Vtbl; } -impl ::core::clone::Clone for IAccountingProviderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountingProviderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a2db18_d706_11d0_a37b_00c04fc9da04); } @@ -303,6 +288,7 @@ pub struct IAccountingProviderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAuthenticationProviderConfig(::windows_core::IUnknown); impl IAuthenticationProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0) -> ::windows_core::Result @@ -331,25 +317,9 @@ impl IAuthenticationProviderConfig { } } ::windows_core::imp::interface_hierarchy!(IAuthenticationProviderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAuthenticationProviderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAuthenticationProviderConfig {} -impl ::core::fmt::Debug for IAuthenticationProviderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAuthenticationProviderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAuthenticationProviderConfig { type Vtable = IAuthenticationProviderConfig_Vtbl; } -impl ::core::clone::Clone for IAuthenticationProviderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAuthenticationProviderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a2db17_d706_11d0_a37b_00c04fc9da04); } @@ -368,6 +338,7 @@ pub struct IAuthenticationProviderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEAPProviderConfig(::windows_core::IUnknown); impl IEAPProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> ::windows_core::Result @@ -406,25 +377,9 @@ impl IEAPProviderConfig { } } ::windows_core::imp::interface_hierarchy!(IEAPProviderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEAPProviderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEAPProviderConfig {} -impl ::core::fmt::Debug for IEAPProviderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEAPProviderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEAPProviderConfig { type Vtable = IEAPProviderConfig_Vtbl; } -impl ::core::clone::Clone for IEAPProviderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEAPProviderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a2db19_d706_11d0_a37b_00c04fc9da04); } @@ -449,6 +404,7 @@ pub struct IEAPProviderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEAPProviderConfig2(::windows_core::IUnknown); impl IEAPProviderConfig2 { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> ::windows_core::Result @@ -498,25 +454,9 @@ impl IEAPProviderConfig2 { } } ::windows_core::imp::interface_hierarchy!(IEAPProviderConfig2, ::windows_core::IUnknown, IEAPProviderConfig); -impl ::core::cmp::PartialEq for IEAPProviderConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEAPProviderConfig2 {} -impl ::core::fmt::Debug for IEAPProviderConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEAPProviderConfig2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEAPProviderConfig2 { type Vtable = IEAPProviderConfig2_Vtbl; } -impl ::core::clone::Clone for IEAPProviderConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEAPProviderConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd565917a_85c4_4466_856e_671c3742ea9a); } @@ -532,6 +472,7 @@ pub struct IEAPProviderConfig2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEAPProviderConfig3(::windows_core::IUnknown); impl IEAPProviderConfig3 { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> ::windows_core::Result @@ -589,25 +530,9 @@ impl IEAPProviderConfig3 { } } ::windows_core::imp::interface_hierarchy!(IEAPProviderConfig3, ::windows_core::IUnknown, IEAPProviderConfig, IEAPProviderConfig2); -impl ::core::cmp::PartialEq for IEAPProviderConfig3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEAPProviderConfig3 {} -impl ::core::fmt::Debug for IEAPProviderConfig3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEAPProviderConfig3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEAPProviderConfig3 { type Vtable = IEAPProviderConfig3_Vtbl; } -impl ::core::clone::Clone for IEAPProviderConfig3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEAPProviderConfig3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb78ecd12_68bb_4f86_9bf0_8438dd3be982); } @@ -622,6 +547,7 @@ pub struct IEAPProviderConfig3_Vtbl { } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRouterProtocolConfig(::windows_core::IUnknown); impl IRouterProtocolConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -646,25 +572,9 @@ impl IRouterProtocolConfig { } } ::windows_core::imp::interface_hierarchy!(IRouterProtocolConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRouterProtocolConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRouterProtocolConfig {} -impl ::core::fmt::Debug for IRouterProtocolConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRouterProtocolConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRouterProtocolConfig { type Vtable = IRouterProtocolConfig_Vtbl; } -impl ::core::clone::Clone for IRouterProtocolConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRouterProtocolConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a2db16_d706_11d0_a37b_00c04fc9da04); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs index 099a56f2ed..d409fbc5a4 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs @@ -15,7 +15,7 @@ impl IIsolatedAppLauncher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Launch: Launch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs index 8fb11d99ab..3d2c3bbb87 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -106,6 +106,7 @@ pub unsafe fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void) -> } #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedAppLauncher(::windows_core::IUnknown); impl IIsolatedAppLauncher { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -119,25 +120,9 @@ impl IIsolatedAppLauncher { } } ::windows_core::imp::interface_hierarchy!(IIsolatedAppLauncher, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsolatedAppLauncher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsolatedAppLauncher {} -impl ::core::fmt::Debug for IIsolatedAppLauncher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsolatedAppLauncher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsolatedAppLauncher { type Vtable = IIsolatedAppLauncher_Vtbl; } -impl ::core::clone::Clone for IIsolatedAppLauncher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedAppLauncher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf686878f_7b42_4cc4_96fb_f4f3b6e3d24d); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs index 607ff46756..c9f8821854 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs @@ -47,8 +47,8 @@ impl ITpmVirtualSmartCardManager_Vtbl { DestroyVirtualSmartCard: DestroyVirtualSmartCard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl ITpmVirtualSmartCardManager2_Vtbl { CreateVirtualSmartCardWithPinPolicy: CreateVirtualSmartCardWithPinPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -135,8 +135,8 @@ impl ITpmVirtualSmartCardManager3_Vtbl { CreateVirtualSmartCardWithAttestation: CreateVirtualSmartCardWithAttestation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"implement\"`*"] @@ -163,7 +163,7 @@ impl ITpmVirtualSmartCardManagerStatusCallback_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs index c9315462ce..7665e43308 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITpmVirtualSmartCardManager(::windows_core::IUnknown); impl ITpmVirtualSmartCardManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24,25 +25,9 @@ impl ITpmVirtualSmartCardManager { } } ::windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITpmVirtualSmartCardManager {} -impl ::core::fmt::Debug for ITpmVirtualSmartCardManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITpmVirtualSmartCardManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITpmVirtualSmartCardManager { type Vtable = ITpmVirtualSmartCardManager_Vtbl; } -impl ::core::clone::Clone for ITpmVirtualSmartCardManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITpmVirtualSmartCardManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x112b1dff_d9dc_41f7_869f_d67fee7cb591); } @@ -61,6 +46,7 @@ pub struct ITpmVirtualSmartCardManager_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITpmVirtualSmartCardManager2(::windows_core::IUnknown); impl ITpmVirtualSmartCardManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -114,25 +100,9 @@ impl ITpmVirtualSmartCardManager2 { } } ::windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager2, ::windows_core::IUnknown, ITpmVirtualSmartCardManager); -impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITpmVirtualSmartCardManager2 {} -impl ::core::fmt::Debug for ITpmVirtualSmartCardManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITpmVirtualSmartCardManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITpmVirtualSmartCardManager2 { type Vtable = ITpmVirtualSmartCardManager2_Vtbl; } -impl ::core::clone::Clone for ITpmVirtualSmartCardManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITpmVirtualSmartCardManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdf8a2b9_02de_47f4_bc26_aa85ab5e5267); } @@ -147,6 +117,7 @@ pub struct ITpmVirtualSmartCardManager2_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITpmVirtualSmartCardManager3(::windows_core::IUnknown); impl ITpmVirtualSmartCardManager3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -230,25 +201,9 @@ impl ITpmVirtualSmartCardManager3 { } } ::windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager3, ::windows_core::IUnknown, ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager2); -impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManager3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITpmVirtualSmartCardManager3 {} -impl ::core::fmt::Debug for ITpmVirtualSmartCardManager3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITpmVirtualSmartCardManager3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITpmVirtualSmartCardManager3 { type Vtable = ITpmVirtualSmartCardManager3_Vtbl; } -impl ::core::clone::Clone for ITpmVirtualSmartCardManager3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITpmVirtualSmartCardManager3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c745a97_f375_4150_be17_5950f694c699); } @@ -263,6 +218,7 @@ pub struct ITpmVirtualSmartCardManager3_Vtbl { } #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITpmVirtualSmartCardManagerStatusCallback(::windows_core::IUnknown); impl ITpmVirtualSmartCardManagerStatusCallback { pub unsafe fn ReportProgress(&self, status: TPMVSCMGR_STATUS) -> ::windows_core::Result<()> { @@ -273,25 +229,9 @@ impl ITpmVirtualSmartCardManagerStatusCallback { } } ::windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManagerStatusCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITpmVirtualSmartCardManagerStatusCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITpmVirtualSmartCardManagerStatusCallback {} -impl ::core::fmt::Debug for ITpmVirtualSmartCardManagerStatusCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITpmVirtualSmartCardManagerStatusCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITpmVirtualSmartCardManagerStatusCallback { type Vtable = ITpmVirtualSmartCardManagerStatusCallback_Vtbl; } -impl ::core::clone::Clone for ITpmVirtualSmartCardManagerStatusCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITpmVirtualSmartCardManagerStatusCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a1bb35f_abb8_451c_a1ae_33d98f1bef4a); } diff --git a/crates/libs/windows/src/Windows/Win32/Security/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/mod.rs index 20b27cf7cc..999c25c6eb 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/mod.rs @@ -1300,13 +1300,13 @@ pub unsafe fn RevertToSelf() -> ::windows_core::Result<()> { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlConvertSidToUnicodeString(unicodestring: *mut super::Foundation::UNICODE_STRING, sid: P0, allocatedestinationstring: P1) -> ::windows_core::Result<()> +pub unsafe fn RtlConvertSidToUnicodeString(unicodestring: *mut super::Foundation::UNICODE_STRING, sid: P0, allocatedestinationstring: P1) -> super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlConvertSidToUnicodeString(unicodestring : *mut super::Foundation:: UNICODE_STRING, sid : super::Foundation:: PSID, allocatedestinationstring : super::Foundation:: BOOLEAN) -> super::Foundation:: NTSTATUS); - RtlConvertSidToUnicodeString(unicodestring, sid.into_param().abi(), allocatedestinationstring.into_param().abi()).ok() + RtlConvertSidToUnicodeString(unicodestring, sid.into_param().abi(), allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs index 6d8523a40c..99fe3b80ce 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs @@ -12,8 +12,8 @@ impl IDedupBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RestoreFiles: RestoreFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IDedupChunkLibrary_Vtbl { StartChunking: StartChunking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IDedupDataPort_Vtbl { GetRequestResults: GetRequestResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IDedupDataPortManager_Vtbl { GetVolumeDataPort: GetVolumeDataPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IDedupIterateChunksHash32_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -336,7 +336,7 @@ impl IDedupReadFileCallback_Vtbl { PreviewContainerRead: PreviewContainerRead::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs index df02fbcb58..d07816568d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupBackupSupport(::windows_core::IUnknown); impl IDedupBackupSupport { pub unsafe fn RestoreFiles(&self, numberoffiles: u32, filefullpaths: *const ::windows_core::BSTR, store: P0, flags: u32, fileresults: *mut ::windows_core::HRESULT) -> ::windows_core::Result<()> @@ -10,25 +11,9 @@ impl IDedupBackupSupport { } } ::windows_core::imp::interface_hierarchy!(IDedupBackupSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupBackupSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupBackupSupport {} -impl ::core::fmt::Debug for IDedupBackupSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupBackupSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupBackupSupport { type Vtable = IDedupBackupSupport_Vtbl; } -impl ::core::clone::Clone for IDedupBackupSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupBackupSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc719d963_2b2d_415e_acf7_7eb7ca596ff4); } @@ -40,6 +25,7 @@ pub struct IDedupBackupSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupChunkLibrary(::windows_core::IUnknown); impl IDedupChunkLibrary { pub unsafe fn InitializeForPushBuffers(&self) -> ::windows_core::Result<()> { @@ -59,25 +45,9 @@ impl IDedupChunkLibrary { } } ::windows_core::imp::interface_hierarchy!(IDedupChunkLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupChunkLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupChunkLibrary {} -impl ::core::fmt::Debug for IDedupChunkLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupChunkLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupChunkLibrary { type Vtable = IDedupChunkLibrary_Vtbl; } -impl ::core::clone::Clone for IDedupChunkLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupChunkLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb5144d7_2720_4dcc_8777_78597416ec23); } @@ -95,6 +65,7 @@ pub struct IDedupChunkLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupDataPort(::windows_core::IUnknown); impl IDedupDataPort { pub unsafe fn GetStatus(&self, pstatus: *mut DedupDataPortVolumeStatus, pdataheadroommb: *mut u32) -> ::windows_core::Result<()> { @@ -153,25 +124,9 @@ impl IDedupDataPort { } } ::windows_core::imp::interface_hierarchy!(IDedupDataPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupDataPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupDataPort {} -impl ::core::fmt::Debug for IDedupDataPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupDataPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupDataPort { type Vtable = IDedupDataPort_Vtbl; } -impl ::core::clone::Clone for IDedupDataPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupDataPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7963d734_40a9_4ea3_bbf6_5a89d26f7ae8); } @@ -200,6 +155,7 @@ pub struct IDedupDataPort_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupDataPortManager(::windows_core::IUnknown); impl IDedupDataPortManager { pub unsafe fn GetConfiguration(&self, pminchunksize: *mut u32, pmaxchunksize: *mut u32, pchunkingalgorithm: *mut DedupChunkingAlgorithm, phashingalgorithm: *mut DedupHashingAlgorithm, pcompressionalgorithm: *mut DedupCompressionAlgorithm) -> ::windows_core::Result<()> { @@ -221,25 +177,9 @@ impl IDedupDataPortManager { } } ::windows_core::imp::interface_hierarchy!(IDedupDataPortManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupDataPortManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupDataPortManager {} -impl ::core::fmt::Debug for IDedupDataPortManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupDataPortManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupDataPortManager { type Vtable = IDedupDataPortManager_Vtbl; } -impl ::core::clone::Clone for IDedupDataPortManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupDataPortManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44677452_b90a_445e_8192_cdcfe81511fb); } @@ -253,6 +193,7 @@ pub struct IDedupDataPortManager_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupIterateChunksHash32(::windows_core::IUnknown); impl IDedupIterateChunksHash32 { pub unsafe fn PushBuffer(&self, pbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -269,25 +210,9 @@ impl IDedupIterateChunksHash32 { } } ::windows_core::imp::interface_hierarchy!(IDedupIterateChunksHash32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupIterateChunksHash32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupIterateChunksHash32 {} -impl ::core::fmt::Debug for IDedupIterateChunksHash32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupIterateChunksHash32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupIterateChunksHash32 { type Vtable = IDedupIterateChunksHash32_Vtbl; } -impl ::core::clone::Clone for IDedupIterateChunksHash32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupIterateChunksHash32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90b584d3_72aa_400f_9767_cad866a5a2d8); } @@ -302,6 +227,7 @@ pub struct IDedupIterateChunksHash32_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDedupReadFileCallback(::windows_core::IUnknown); impl IDedupReadFileCallback { pub unsafe fn ReadBackupFile(&self, filefullpath: P0, fileoffset: i64, filebuffer: &mut [u8], returnedsize: *mut u32, flags: u32) -> ::windows_core::Result<()> @@ -321,25 +247,9 @@ impl IDedupReadFileCallback { } } ::windows_core::imp::interface_hierarchy!(IDedupReadFileCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDedupReadFileCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDedupReadFileCallback {} -impl ::core::fmt::Debug for IDedupReadFileCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDedupReadFileCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDedupReadFileCallback { type Vtable = IDedupReadFileCallback_Vtbl; } -impl ::core::clone::Clone for IDedupReadFileCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDedupReadFileCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bacc67a_2f1d_42d0_897e_6ff62dd533bb); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs index 4bedf25426..aabef152a2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs @@ -68,8 +68,8 @@ impl IEnhancedStorageACT_Vtbl { GetSilos: GetSilos::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -111,8 +111,8 @@ impl IEnhancedStorageACT2_Vtbl { IsDeviceRemovable: IsDeviceRemovable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IEnhancedStorageACT3_Vtbl { GetShellExtSupport: GetShellExtSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IEnhancedStorageSilo_Vtbl { GetDevicePath: GetDevicePath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"implement\"`*"] @@ -278,8 +278,8 @@ impl IEnhancedStorageSiloAction_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"implement\"`*"] @@ -312,7 +312,7 @@ impl IEnumEnhancedStorageACT_Vtbl { GetMatchingACT: GetMatchingACT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs index b48c502e24..6fb69d4db4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedStorageACT(::windows_core::IUnknown); impl IEnhancedStorageACT { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> ::windows_core::Result<()> { @@ -25,25 +26,9 @@ impl IEnhancedStorageACT { } } ::windows_core::imp::interface_hierarchy!(IEnhancedStorageACT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnhancedStorageACT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnhancedStorageACT {} -impl ::core::fmt::Debug for IEnhancedStorageACT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnhancedStorageACT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnhancedStorageACT { type Vtable = IEnhancedStorageACT_Vtbl; } -impl ::core::clone::Clone for IEnhancedStorageACT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedStorageACT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e7781f4_e0f2_4239_b976_a01abab52930); } @@ -60,6 +45,7 @@ pub struct IEnhancedStorageACT_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedStorageACT2(::windows_core::IUnknown); impl IEnhancedStorageACT2 { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> ::windows_core::Result<()> { @@ -95,25 +81,9 @@ impl IEnhancedStorageACT2 { } } ::windows_core::imp::interface_hierarchy!(IEnhancedStorageACT2, ::windows_core::IUnknown, IEnhancedStorageACT); -impl ::core::cmp::PartialEq for IEnhancedStorageACT2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnhancedStorageACT2 {} -impl ::core::fmt::Debug for IEnhancedStorageACT2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnhancedStorageACT2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnhancedStorageACT2 { type Vtable = IEnhancedStorageACT2_Vtbl; } -impl ::core::clone::Clone for IEnhancedStorageACT2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedStorageACT2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4da57d2e_8eb3_41f6_a07e_98b52b88242b); } @@ -129,6 +99,7 @@ pub struct IEnhancedStorageACT2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedStorageACT3(::windows_core::IUnknown); impl IEnhancedStorageACT3 { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> ::windows_core::Result<()> { @@ -179,25 +150,9 @@ impl IEnhancedStorageACT3 { } } ::windows_core::imp::interface_hierarchy!(IEnhancedStorageACT3, ::windows_core::IUnknown, IEnhancedStorageACT, IEnhancedStorageACT2); -impl ::core::cmp::PartialEq for IEnhancedStorageACT3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnhancedStorageACT3 {} -impl ::core::fmt::Debug for IEnhancedStorageACT3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnhancedStorageACT3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnhancedStorageACT3 { type Vtable = IEnhancedStorageACT3_Vtbl; } -impl ::core::clone::Clone for IEnhancedStorageACT3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedStorageACT3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x022150a1_113d_11df_bb61_001aa01bbc58); } @@ -217,6 +172,7 @@ pub struct IEnhancedStorageACT3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedStorageSilo(::windows_core::IUnknown); impl IEnhancedStorageSilo { pub unsafe fn GetInfo(&self) -> ::windows_core::Result { @@ -241,25 +197,9 @@ impl IEnhancedStorageSilo { } } ::windows_core::imp::interface_hierarchy!(IEnhancedStorageSilo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnhancedStorageSilo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnhancedStorageSilo {} -impl ::core::fmt::Debug for IEnhancedStorageSilo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnhancedStorageSilo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnhancedStorageSilo { type Vtable = IEnhancedStorageSilo_Vtbl; } -impl ::core::clone::Clone for IEnhancedStorageSilo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedStorageSilo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5aef78c6_2242_4703_bf49_44b29357a359); } @@ -278,6 +218,7 @@ pub struct IEnhancedStorageSilo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnhancedStorageSiloAction(::windows_core::IUnknown); impl IEnhancedStorageSiloAction { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -293,25 +234,9 @@ impl IEnhancedStorageSiloAction { } } ::windows_core::imp::interface_hierarchy!(IEnhancedStorageSiloAction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnhancedStorageSiloAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnhancedStorageSiloAction {} -impl ::core::fmt::Debug for IEnhancedStorageSiloAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnhancedStorageSiloAction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnhancedStorageSiloAction { type Vtable = IEnhancedStorageSiloAction_Vtbl; } -impl ::core::clone::Clone for IEnhancedStorageSiloAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnhancedStorageSiloAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6f7f311_206f_4ff8_9c4b_27efee77a86f); } @@ -325,6 +250,7 @@ pub struct IEnhancedStorageSiloAction_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumEnhancedStorageACT(::windows_core::IUnknown); impl IEnumEnhancedStorageACT { pub unsafe fn GetACTs(&self, pppienhancedstorageacts: *mut *mut ::core::option::Option, pcenhancedstorageacts: *mut u32) -> ::windows_core::Result<()> { @@ -339,25 +265,9 @@ impl IEnumEnhancedStorageACT { } } ::windows_core::imp::interface_hierarchy!(IEnumEnhancedStorageACT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumEnhancedStorageACT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumEnhancedStorageACT {} -impl ::core::fmt::Debug for IEnumEnhancedStorageACT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumEnhancedStorageACT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumEnhancedStorageACT { type Vtable = IEnumEnhancedStorageACT_Vtbl; } -impl ::core::clone::Clone for IEnumEnhancedStorageACT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumEnhancedStorageACT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09b224bd_1335_4631_a7ff_cfd3a92646d7); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs index 9466943634..ab6dbe2ae1 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs @@ -139,8 +139,8 @@ impl IFhConfigMgr_Vtbl { QueryProtectionStatus: QueryProtectionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IFhReassociation_Vtbl { PerformReassociation: PerformReassociation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IFhScopeIterator_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"implement\"`*"] @@ -271,7 +271,7 @@ impl IFhTarget_Vtbl { GetNumericalProperty: GetNumericalProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs index cdfdc21669..3683ae72d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -73,6 +73,7 @@ where } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFhConfigMgr(::windows_core::IUnknown); impl IFhConfigMgr { pub unsafe fn LoadConfiguration(&self) -> ::windows_core::Result<()> { @@ -152,25 +153,9 @@ impl IFhConfigMgr { } } ::windows_core::imp::interface_hierarchy!(IFhConfigMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFhConfigMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFhConfigMgr {} -impl ::core::fmt::Debug for IFhConfigMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFhConfigMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFhConfigMgr { type Vtable = IFhConfigMgr_Vtbl; } -impl ::core::clone::Clone for IFhConfigMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFhConfigMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a5fea5b_bf8f_4ee5_b8c3_44d8a0d7331c); } @@ -207,6 +192,7 @@ pub struct IFhConfigMgr_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFhReassociation(::windows_core::IUnknown); impl IFhReassociation { pub unsafe fn ValidateTarget(&self, targeturl: P0) -> ::windows_core::Result @@ -240,25 +226,9 @@ impl IFhReassociation { } } ::windows_core::imp::interface_hierarchy!(IFhReassociation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFhReassociation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFhReassociation {} -impl ::core::fmt::Debug for IFhReassociation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFhReassociation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFhReassociation { type Vtable = IFhReassociation_Vtbl; } -impl ::core::clone::Clone for IFhReassociation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFhReassociation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6544a28a_f68d_47ac_91ef_16b2b36aa3ee); } @@ -280,6 +250,7 @@ pub struct IFhReassociation_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFhScopeIterator(::windows_core::IUnknown); impl IFhScopeIterator { pub unsafe fn MoveToNextItem(&self) -> ::windows_core::Result<()> { @@ -291,25 +262,9 @@ impl IFhScopeIterator { } } ::windows_core::imp::interface_hierarchy!(IFhScopeIterator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFhScopeIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFhScopeIterator {} -impl ::core::fmt::Debug for IFhScopeIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFhScopeIterator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFhScopeIterator { type Vtable = IFhScopeIterator_Vtbl; } -impl ::core::clone::Clone for IFhScopeIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFhScopeIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3197abce_532a_44c6_8615_f3666566a720); } @@ -322,6 +277,7 @@ pub struct IFhScopeIterator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFhTarget(::windows_core::IUnknown); impl IFhTarget { pub unsafe fn GetStringProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -334,25 +290,9 @@ impl IFhTarget { } } ::windows_core::imp::interface_hierarchy!(IFhTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFhTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFhTarget {} -impl ::core::fmt::Debug for IFhTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFhTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFhTarget { type Vtable = IFhTarget_Vtbl; } -impl ::core::clone::Clone for IFhTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFhTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd87965fd_2bad_4657_bd3b_9567eb300ced); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs index 79525a5dc1..7ba0faf059 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs @@ -8,8 +8,8 @@ impl DIFsrmClassificationEvents_Vtbl { pub const fn new, Impl: DIFsrmClassificationEvents_Impl, const OFFSET: isize>() -> DIFsrmClassificationEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -35,8 +35,8 @@ impl IFsrmAccessDeniedRemediationClient_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -105,8 +105,8 @@ impl IFsrmAction_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IFsrmActionCommand_Vtbl { SetLogResult: SetLogResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IFsrmActionEmail_Vtbl { SetMessageText: SetMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -456,8 +456,8 @@ impl IFsrmActionEmail2_Vtbl { SetAttachmentFileListSize: SetAttachmentFileListSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -513,8 +513,8 @@ impl IFsrmActionEventLog_Vtbl { SetMessageText: SetMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl IFsrmActionReport_Vtbl { SetMailTo: SetMailTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IFsrmAutoApplyQuota_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -940,8 +940,8 @@ impl IFsrmClassificationManager_Vtbl { ClearFileProperty: ClearFileProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -961,8 +961,8 @@ impl IFsrmClassificationManager2_Vtbl { } Self { base__: IFsrmClassificationManager_Vtbl::new::(), ClassifyFiles: ClassifyFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1038,8 +1038,8 @@ impl IFsrmClassificationRule_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl IFsrmClassifierModuleDefinition_Vtbl { SetNeedsExplicitValue: SetNeedsExplicitValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1180,8 +1180,8 @@ impl IFsrmClassifierModuleImplementation_Vtbl { OnEndFile: OnEndFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IFsrmCollection_Vtbl { GetById: GetById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1309,8 +1309,8 @@ impl IFsrmCommittableCollection_Vtbl { } Self { base__: IFsrmMutableCollection_Vtbl::new::(), Commit: Commit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1352,8 +1352,8 @@ impl IFsrmDerivedObjectsResult_Vtbl { Results: Results::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1429,8 +1429,8 @@ impl IFsrmExportImport_Vtbl { ImportQuotaTemplates: ImportQuotaTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1466,8 +1466,8 @@ impl IFsrmFileCondition_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1583,8 +1583,8 @@ impl IFsrmFileConditionProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1660,8 +1660,8 @@ impl IFsrmFileGroup_Vtbl { SetNonMembers: SetNonMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1697,8 +1697,8 @@ impl IFsrmFileGroupImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IFsrmFileGroupManager_Vtbl { ImportFileGroups: ImportFileGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2307,8 +2307,8 @@ impl IFsrmFileManagementJob_Vtbl { CreateCustomAction: CreateCustomAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl IFsrmFileManagementJobManager_Vtbl { GetFileManagementJob: GetFileManagementJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2478,8 +2478,8 @@ impl IFsrmFileScreen_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2561,8 +2561,8 @@ impl IFsrmFileScreenBase_Vtbl { EnumActions: EnumActions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2611,8 +2611,8 @@ impl IFsrmFileScreenException_Vtbl { SetAllowedFileGroups: SetAllowedFileGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2745,8 +2745,8 @@ impl IFsrmFileScreenManager_Vtbl { CreateFileScreenCollection: CreateFileScreenCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2802,8 +2802,8 @@ impl IFsrmFileScreenTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl IFsrmFileScreenTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl IFsrmFileScreenTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl IFsrmMutableCollection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl IFsrmObject_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3066,8 +3066,8 @@ impl IFsrmPathMapper_Vtbl { GetSharePathsForLocalPath: GetSharePathsForLocalPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3142,8 +3142,8 @@ impl IFsrmPipelineModuleConnector_Vtbl { Bind: Bind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3352,8 +3352,8 @@ impl IFsrmPipelineModuleDefinition_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3389,8 +3389,8 @@ impl IFsrmPipelineModuleImplementation_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3458,8 +3458,8 @@ impl IFsrmProperty_Vtbl { PropertyFlags: PropertyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3736,8 +3736,8 @@ impl IFsrmPropertyBag_Vtbl { GetFileStreamInterface: GetFileStreamInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3779,8 +3779,8 @@ impl IFsrmPropertyBag2_Vtbl { GetUntrustedInFileProperties: GetUntrustedInFileProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3863,8 +3863,8 @@ impl IFsrmPropertyCondition_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3980,8 +3980,8 @@ impl IFsrmPropertyDefinition_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl IFsrmPropertyDefinition2_Vtbl { ValueDefinitions: ValueDefinitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4125,8 +4125,8 @@ impl IFsrmPropertyDefinitionValue_Vtbl { UniqueID: UniqueID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4195,8 +4195,8 @@ impl IFsrmQuota_Vtbl { RefreshUsageProperties: RefreshUsageProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4312,8 +4312,8 @@ impl IFsrmQuotaBase_Vtbl { EnumThresholdActions: EnumThresholdActions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl IFsrmQuotaManager_Vtbl { CreateQuotaCollection: CreateQuotaCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4506,8 +4506,8 @@ impl IFsrmQuotaManagerEx_Vtbl { } Self { base__: IFsrmQuotaManager_Vtbl::new::(), IsAffectedByQuota: IsAffectedByQuota:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4595,8 +4595,8 @@ impl IFsrmQuotaObject_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4652,8 +4652,8 @@ impl IFsrmQuotaTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4689,8 +4689,8 @@ impl IFsrmQuotaTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4771,8 +4771,8 @@ impl IFsrmQuotaTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4881,8 +4881,8 @@ impl IFsrmReport_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5083,8 +5083,8 @@ impl IFsrmReportJob_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5212,8 +5212,8 @@ impl IFsrmReportManager_Vtbl { SetReportSizeLimit: SetReportSizeLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5257,8 +5257,8 @@ impl IFsrmReportScheduler_Vtbl { DeleteScheduleTask: DeleteScheduleTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5400,8 +5400,8 @@ impl IFsrmRule_Vtbl { LastModified: LastModified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5544,8 +5544,8 @@ impl IFsrmSetting_Vtbl { GetActionRunLimitInterval: GetActionRunLimitInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5621,8 +5621,8 @@ impl IFsrmStorageModuleDefinition_Vtbl { SetUpdatesFileContent: SetUpdatesFileContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5659,7 +5659,7 @@ impl IFsrmStorageModuleImplementation_Vtbl { SaveProperties: SaveProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs index e283ec3a72..a5a3123e6f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -1,36 +1,17 @@ #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DIFsrmClassificationEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DIFsrmClassificationEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DIFsrmClassificationEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DIFsrmClassificationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DIFsrmClassificationEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DIFsrmClassificationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DIFsrmClassificationEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DIFsrmClassificationEvents { type Vtable = DIFsrmClassificationEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DIFsrmClassificationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DIFsrmClassificationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26942db0_dabf_41d8_bbdd_b129a9f70424); } @@ -43,6 +24,7 @@ pub struct DIFsrmClassificationEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmAccessDeniedRemediationClient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmAccessDeniedRemediationClient { @@ -59,30 +41,10 @@ impl IFsrmAccessDeniedRemediationClient { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmAccessDeniedRemediationClient, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmAccessDeniedRemediationClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmAccessDeniedRemediationClient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmAccessDeniedRemediationClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmAccessDeniedRemediationClient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmAccessDeniedRemediationClient { type Vtable = IFsrmAccessDeniedRemediationClient_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmAccessDeniedRemediationClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmAccessDeniedRemediationClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40002314_590b_45a5_8e1b_8c05da527e52); } @@ -96,6 +58,7 @@ pub struct IFsrmAccessDeniedRemediationClient_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmAction { @@ -121,30 +84,10 @@ impl IFsrmAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmAction, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmAction { type Vtable = IFsrmAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cd6408a_ae60_463b_9ef1_e117534d69dc); } @@ -162,6 +105,7 @@ pub struct IFsrmAction_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmActionCommand(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionCommand { @@ -259,30 +203,10 @@ impl IFsrmActionCommand { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmActionCommand, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmActionCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmActionCommand {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmActionCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmActionCommand").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmActionCommand { type Vtable = IFsrmActionCommand_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmActionCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmActionCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12937789_e247_4917_9c20_f3ee9c7ee783); } @@ -321,6 +245,7 @@ pub struct IFsrmActionCommand_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmActionEmail(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail { @@ -416,30 +341,10 @@ impl IFsrmActionEmail { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmActionEmail, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmActionEmail { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmActionEmail {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmActionEmail { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmActionEmail").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmActionEmail { type Vtable = IFsrmActionEmail_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmActionEmail { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmActionEmail { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd646567d_26ae_4caa_9f84_4e0aad207fca); } @@ -466,6 +371,7 @@ pub struct IFsrmActionEmail_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmActionEmail2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEmail2 { @@ -568,30 +474,10 @@ impl IFsrmActionEmail2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmActionEmail2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction, IFsrmActionEmail); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmActionEmail2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmActionEmail2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmActionEmail2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmActionEmail2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmActionEmail2 { type Vtable = IFsrmActionEmail2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmActionEmail2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmActionEmail2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8276702f_2532_4839_89bf_4872609a2ea4); } @@ -606,6 +492,7 @@ pub struct IFsrmActionEmail2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmActionEventLog(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionEventLog { @@ -648,30 +535,10 @@ impl IFsrmActionEventLog { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmActionEventLog, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmActionEventLog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmActionEventLog {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmActionEventLog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmActionEventLog").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmActionEventLog { type Vtable = IFsrmActionEventLog_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmActionEventLog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmActionEventLog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c8f96c3_5d94_4f37_a4f4_f56ab463546f); } @@ -688,6 +555,7 @@ pub struct IFsrmActionEventLog_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmActionReport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmActionReport { @@ -734,30 +602,10 @@ impl IFsrmActionReport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmActionReport, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmActionReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmActionReport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmActionReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmActionReport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmActionReport { type Vtable = IFsrmActionReport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmActionReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmActionReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dbe63c4_b340_48a0_a5b0_158e07fc567e); } @@ -780,6 +628,7 @@ pub struct IFsrmActionReport_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmAutoApplyQuota(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmAutoApplyQuota { @@ -897,30 +746,10 @@ impl IFsrmAutoApplyQuota { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmAutoApplyQuota, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmAutoApplyQuota { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmAutoApplyQuota {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmAutoApplyQuota { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmAutoApplyQuota").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmAutoApplyQuota { type Vtable = IFsrmAutoApplyQuota_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmAutoApplyQuota { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmAutoApplyQuota { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b); } @@ -945,6 +774,7 @@ pub struct IFsrmAutoApplyQuota_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmClassificationManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationManager { @@ -1118,30 +948,10 @@ impl IFsrmClassificationManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmClassificationManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmClassificationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmClassificationManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmClassificationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmClassificationManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmClassificationManager { type Vtable = IFsrmClassificationManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmClassificationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmClassificationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2dc89da_ee91_48a0_85d8_cc72a56f7d04); } @@ -1229,6 +1039,7 @@ pub struct IFsrmClassificationManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmClassificationManager2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationManager2 { @@ -1407,30 +1218,10 @@ impl IFsrmClassificationManager2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmClassificationManager2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmClassificationManager); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmClassificationManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmClassificationManager2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmClassificationManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmClassificationManager2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmClassificationManager2 { type Vtable = IFsrmClassificationManager2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmClassificationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmClassificationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0004c1c9_127e_4765_ba07_6a3147bca112); } @@ -1447,6 +1238,7 @@ pub struct IFsrmClassificationManager2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmClassificationRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassificationRule { @@ -1560,30 +1352,10 @@ impl IFsrmClassificationRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmClassificationRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmRule); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmClassificationRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmClassificationRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmClassificationRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmClassificationRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmClassificationRule { type Vtable = IFsrmClassificationRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmClassificationRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmClassificationRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafc052c2_5315_45ab_841b_c6db0e120148); } @@ -1602,6 +1374,7 @@ pub struct IFsrmClassificationRule_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmClassifierModuleDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleDefinition { @@ -1766,30 +1539,10 @@ impl IFsrmClassifierModuleDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmClassifierModuleDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmClassifierModuleDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmClassifierModuleDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmClassifierModuleDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmClassifierModuleDefinition { type Vtable = IFsrmClassifierModuleDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmClassifierModuleDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmClassifierModuleDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb36ea26_6318_4b8c_8592_f72dd602e7a5); } @@ -1826,6 +1579,7 @@ pub struct IFsrmClassifierModuleDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmClassifierModuleImplementation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmClassifierModuleImplementation { @@ -1886,30 +1640,10 @@ impl IFsrmClassifierModuleImplementation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleImplementation, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmClassifierModuleImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmClassifierModuleImplementation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmClassifierModuleImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmClassifierModuleImplementation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmClassifierModuleImplementation { type Vtable = IFsrmClassifierModuleImplementation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmClassifierModuleImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmClassifierModuleImplementation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c968fc6_6edb_4051_9c18_73b7291ae106); } @@ -1940,6 +1674,7 @@ pub struct IFsrmClassifierModuleImplementation_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmCollection { @@ -1980,30 +1715,10 @@ impl IFsrmCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmCollection { type Vtable = IFsrmCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf76fbf3b_8ddd_4b42_b05a_cb1c3ff1fee8); } @@ -2032,6 +1747,7 @@ pub struct IFsrmCollection_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmCommittableCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmCommittableCollection { @@ -2095,30 +1811,10 @@ impl IFsrmCommittableCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmCommittableCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection, IFsrmMutableCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmCommittableCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmCommittableCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmCommittableCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmCommittableCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmCommittableCollection { type Vtable = IFsrmCommittableCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmCommittableCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmCommittableCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847); } @@ -2135,6 +1831,7 @@ pub struct IFsrmCommittableCollection_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmDerivedObjectsResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmDerivedObjectsResult { @@ -2154,30 +1851,10 @@ impl IFsrmDerivedObjectsResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmDerivedObjectsResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmDerivedObjectsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmDerivedObjectsResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmDerivedObjectsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmDerivedObjectsResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmDerivedObjectsResult { type Vtable = IFsrmDerivedObjectsResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmDerivedObjectsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmDerivedObjectsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39322a2d_38ee_4d0d_8095_421a80849a82); } @@ -2198,6 +1875,7 @@ pub struct IFsrmDerivedObjectsResult_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmExportImport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmExportImport { @@ -2262,30 +1940,10 @@ impl IFsrmExportImport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmExportImport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmExportImport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmExportImport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmExportImport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmExportImport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmExportImport { type Vtable = IFsrmExportImport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmExportImport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmExportImport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefcb0ab1_16c4_4a79_812c_725614c3306b); } @@ -2322,6 +1980,7 @@ pub struct IFsrmExportImport_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileCondition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileCondition { @@ -2336,30 +1995,10 @@ impl IFsrmFileCondition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileCondition, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileCondition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileCondition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileCondition { type Vtable = IFsrmFileCondition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70684ffc_691a_4a1a_b922_97752e138cc1); } @@ -2374,6 +2013,7 @@ pub struct IFsrmFileCondition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileConditionProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileConditionProperty { @@ -2430,30 +2070,10 @@ impl IFsrmFileConditionProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileConditionProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmFileCondition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileConditionProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileConditionProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileConditionProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileConditionProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileConditionProperty { type Vtable = IFsrmFileConditionProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileConditionProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileConditionProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81926775_b981_4479_988f_da171d627360); } @@ -2482,6 +2102,7 @@ pub struct IFsrmFileConditionProperty_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroup { @@ -2547,30 +2168,10 @@ impl IFsrmFileGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileGroup, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileGroup { type Vtable = IFsrmFileGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9); } @@ -2601,6 +2202,7 @@ pub struct IFsrmFileGroup_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileGroupImported(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroupImported { @@ -2680,30 +2282,10 @@ impl IFsrmFileGroupImported { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileGroupImported, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileGroup); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileGroupImported { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileGroupImported {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileGroupImported { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileGroupImported").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileGroupImported { type Vtable = IFsrmFileGroupImported_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileGroupImported { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileGroupImported { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad55f10b_5f11_4be7_94ef_d9ee2e470ded); } @@ -2724,6 +2306,7 @@ pub struct IFsrmFileGroupImported_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileGroupManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileGroupManager { @@ -2767,30 +2350,10 @@ impl IFsrmFileGroupManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileGroupManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileGroupManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileGroupManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileGroupManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileGroupManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileGroupManager { type Vtable = IFsrmFileGroupManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileGroupManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileGroupManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x426677d5_018c_485c_8a51_20b86d00bdc4); } @@ -2823,6 +2386,7 @@ pub struct IFsrmFileGroupManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileManagementJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJob { @@ -3085,30 +2649,10 @@ impl IFsrmFileManagementJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileManagementJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileManagementJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileManagementJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileManagementJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileManagementJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileManagementJob { type Vtable = IFsrmFileManagementJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileManagementJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileManagementJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0770687e_9f36_4d6f_8778_599d188461c9); } @@ -3224,6 +2768,7 @@ pub struct IFsrmFileManagementJob_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileManagementJobManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileManagementJobManager { @@ -3264,30 +2809,10 @@ impl IFsrmFileManagementJobManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileManagementJobManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileManagementJobManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileManagementJobManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileManagementJobManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileManagementJobManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileManagementJobManager { type Vtable = IFsrmFileManagementJobManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileManagementJobManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileManagementJobManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee321ecb_d95e_48e9_907c_c7685a013235); } @@ -3320,6 +2845,7 @@ pub struct IFsrmFileManagementJobManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreen(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreen { @@ -3408,30 +2934,10 @@ impl IFsrmFileScreen { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreen, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreen { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreen {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreen { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreen").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreen { type Vtable = IFsrmFileScreen_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreen { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreen { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f6325d3_ce88_4733_84c1_2d6aefc5ea07); } @@ -3453,6 +2959,7 @@ pub struct IFsrmFileScreen_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenBase(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenBase { @@ -3513,30 +3020,10 @@ impl IFsrmFileScreenBase { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenBase, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenBase {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenBase").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenBase { type Vtable = IFsrmFileScreenBase_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3637e80_5b22_4a2b_a637_bbb642b41cfc); } @@ -3567,6 +3054,7 @@ pub struct IFsrmFileScreenBase_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenException(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenException { @@ -3612,30 +3100,10 @@ impl IFsrmFileScreenException { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenException, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenException { type Vtable = IFsrmFileScreenException_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbee7ce02_df77_4515_9389_78f01c5afc1a); } @@ -3657,6 +3125,7 @@ pub struct IFsrmFileScreenException_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenManager { @@ -3736,30 +3205,10 @@ impl IFsrmFileScreenManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenManager { type Vtable = IFsrmFileScreenManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff4fa04e_5a94_4bda_a3a0_d5b4d3c52eba); } @@ -3808,6 +3257,7 @@ pub struct IFsrmFileScreenManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenTemplate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplate { @@ -3890,30 +3340,10 @@ impl IFsrmFileScreenTemplate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplate, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenTemplate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenTemplate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenTemplate { type Vtable = IFsrmFileScreenTemplate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x205bebf8_dd93_452a_95a6_32b566b35828); } @@ -3933,6 +3363,7 @@ pub struct IFsrmFileScreenTemplate_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenTemplateImported(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplateImported { @@ -4029,30 +3460,10 @@ impl IFsrmFileScreenTemplateImported { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateImported, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase, IFsrmFileScreenTemplate); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenTemplateImported { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenTemplateImported {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenTemplateImported { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenTemplateImported").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenTemplateImported { type Vtable = IFsrmFileScreenTemplateImported_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenTemplateImported { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenTemplateImported { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1010359_3e5d_4ecd_9fe4_ef48622fdf30); } @@ -4073,6 +3484,7 @@ pub struct IFsrmFileScreenTemplateImported_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmFileScreenTemplateManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmFileScreenTemplateManager { @@ -4116,30 +3528,10 @@ impl IFsrmFileScreenTemplateManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmFileScreenTemplateManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmFileScreenTemplateManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmFileScreenTemplateManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmFileScreenTemplateManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmFileScreenTemplateManager { type Vtable = IFsrmFileScreenTemplateManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmFileScreenTemplateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmFileScreenTemplateManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfe36cba_1949_4e74_a14f_f1d580ceaf13); } @@ -4172,6 +3564,7 @@ pub struct IFsrmFileScreenTemplateManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmMutableCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmMutableCollection { @@ -4229,30 +3622,10 @@ impl IFsrmMutableCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmMutableCollection, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmMutableCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmMutableCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmMutableCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmMutableCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmMutableCollection { type Vtable = IFsrmMutableCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmMutableCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmMutableCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb617b8_3886_49dc_af82_a6c90fa35dda); } @@ -4275,6 +3648,7 @@ pub struct IFsrmMutableCollection_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmObject { @@ -4302,30 +3676,10 @@ impl IFsrmObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmObject, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmObject { type Vtable = IFsrmObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22bcef93_4a3f_4183_89f9_2f8b8a628aee); } @@ -4343,6 +3697,7 @@ pub struct IFsrmObject_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPathMapper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPathMapper { @@ -4359,30 +3714,10 @@ impl IFsrmPathMapper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPathMapper, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPathMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPathMapper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPathMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPathMapper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPathMapper { type Vtable = IFsrmPathMapper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPathMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPathMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f4dbfff_6920_4821_a6c3_b7e94c1fd60c); } @@ -4399,6 +3734,7 @@ pub struct IFsrmPathMapper_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPipelineModuleConnector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleConnector { @@ -4433,30 +3769,10 @@ impl IFsrmPipelineModuleConnector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleConnector, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPipelineModuleConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPipelineModuleConnector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPipelineModuleConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPipelineModuleConnector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPipelineModuleConnector { type Vtable = IFsrmPipelineModuleConnector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPipelineModuleConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPipelineModuleConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc16014f3_9aa1_46b3_b0a7_ab146eb205f2); } @@ -4480,6 +3796,7 @@ pub struct IFsrmPipelineModuleConnector_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPipelineModuleDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleDefinition { @@ -4608,30 +3925,10 @@ impl IFsrmPipelineModuleDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPipelineModuleDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPipelineModuleDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPipelineModuleDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPipelineModuleDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPipelineModuleDefinition { type Vtable = IFsrmPipelineModuleDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPipelineModuleDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPipelineModuleDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x515c1277_2c81_440e_8fcf_367921ed4f59); } @@ -4687,6 +3984,7 @@ pub struct IFsrmPipelineModuleDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPipelineModuleImplementation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPipelineModuleImplementation { @@ -4706,30 +4004,10 @@ impl IFsrmPipelineModuleImplementation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleImplementation, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPipelineModuleImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPipelineModuleImplementation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPipelineModuleImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPipelineModuleImplementation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPipelineModuleImplementation { type Vtable = IFsrmPipelineModuleImplementation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPipelineModuleImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPipelineModuleImplementation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7907906_2b02_4cb5_84a9_fdf54613d6cd); } @@ -4747,6 +4025,7 @@ pub struct IFsrmPipelineModuleImplementation_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmProperty { @@ -4772,30 +4051,10 @@ impl IFsrmProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmProperty { type Vtable = IFsrmProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a73fee4_4102_4fcc_9ffb_38614f9ee768); } @@ -4815,6 +4074,7 @@ pub struct IFsrmProperty_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag { @@ -4936,30 +4196,10 @@ impl IFsrmPropertyBag { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyBag, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyBag {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyBag { type Vtable = IFsrmPropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x774589d1_d300_4f7a_9a24_f7b766800250); } @@ -5026,6 +4266,7 @@ pub struct IFsrmPropertyBag_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyBag2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyBag2 { @@ -5159,30 +4400,10 @@ impl IFsrmPropertyBag2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyBag2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPropertyBag); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyBag2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyBag2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyBag2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyBag2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyBag2 { type Vtable = IFsrmPropertyBag2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyBag2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyBag2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9); } @@ -5203,6 +4424,7 @@ pub struct IFsrmPropertyBag2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyCondition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyCondition { @@ -5240,30 +4462,10 @@ impl IFsrmPropertyCondition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyCondition, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyCondition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyCondition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyCondition { type Vtable = IFsrmPropertyCondition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x326af66f_2ac0_4f68_bf8c_4759f054fa29); } @@ -5283,6 +4485,7 @@ pub struct IFsrmPropertyCondition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition { @@ -5360,30 +4563,10 @@ impl IFsrmPropertyDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyDefinition { type Vtable = IFsrmPropertyDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xede0150f_e9a3_419c_877c_01fe5d24c5d3); } @@ -5424,6 +4607,7 @@ pub struct IFsrmPropertyDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyDefinition2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinition2 { @@ -5525,30 +4709,10 @@ impl IFsrmPropertyDefinition2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPropertyDefinition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyDefinition2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyDefinition2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyDefinition2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyDefinition2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyDefinition2 { type Vtable = IFsrmPropertyDefinition2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyDefinition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyDefinition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47782152_d16c_4229_b4e1_0ddfe308b9f6); } @@ -5569,6 +4733,7 @@ pub struct IFsrmPropertyDefinition2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmPropertyDefinitionValue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmPropertyDefinitionValue { @@ -5592,30 +4757,10 @@ impl IFsrmPropertyDefinitionValue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinitionValue, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmPropertyDefinitionValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmPropertyDefinitionValue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmPropertyDefinitionValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmPropertyDefinitionValue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmPropertyDefinitionValue { type Vtable = IFsrmPropertyDefinitionValue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmPropertyDefinitionValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmPropertyDefinitionValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe946d148_bd67_4178_8e22_1c44925ed710); } @@ -5632,6 +4777,7 @@ pub struct IFsrmPropertyDefinitionValue_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuota(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuota { @@ -5754,30 +4900,10 @@ impl IFsrmQuota { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuota, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuota { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuota {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuota { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuota").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuota { type Vtable = IFsrmQuota_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuota { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuota { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x377f739d_9647_4b8e_97d2_5ffce6d759cd); } @@ -5801,6 +4927,7 @@ pub struct IFsrmQuota_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaBase(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaBase { @@ -5873,30 +5000,10 @@ impl IFsrmQuotaBase { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaBase, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaBase {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaBase").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaBase { type Vtable = IFsrmQuotaBase_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1568a795_3924_4118_b74b_68d8f0fa5daf); } @@ -5934,6 +5041,7 @@ pub struct IFsrmQuotaBase_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaManager { @@ -6038,30 +5146,10 @@ impl IFsrmQuotaManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaManager { type Vtable = IFsrmQuotaManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bb68c7d_19d8_4ffb_809e_be4fc1734014); } @@ -6119,6 +5207,7 @@ pub struct IFsrmQuotaManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaManagerEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaManagerEx { @@ -6232,30 +5321,10 @@ impl IFsrmQuotaManagerEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaManagerEx, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmQuotaManager); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaManagerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaManagerEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaManagerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaManagerEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaManagerEx { type Vtable = IFsrmQuotaManagerEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaManagerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaManagerEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4846cb01_d430_494f_abb4_b1054999fb09); } @@ -6272,6 +5341,7 @@ pub struct IFsrmQuotaManagerEx_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaObject { @@ -6372,30 +5442,10 @@ impl IFsrmQuotaObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaObject, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaObject { type Vtable = IFsrmQuotaObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6); } @@ -6417,6 +5467,7 @@ pub struct IFsrmQuotaObject_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaTemplate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplate { @@ -6511,30 +5562,10 @@ impl IFsrmQuotaTemplate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplate, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaTemplate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaTemplate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaTemplate { type Vtable = IFsrmQuotaTemplate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2efab31_295e_46bb_b976_e86d58b52e8b); } @@ -6554,6 +5585,7 @@ pub struct IFsrmQuotaTemplate_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaTemplateImported(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplateImported { @@ -6662,30 +5694,10 @@ impl IFsrmQuotaTemplateImported { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateImported, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaTemplate); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaTemplateImported { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaTemplateImported {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaTemplateImported { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaTemplateImported").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaTemplateImported { type Vtable = IFsrmQuotaTemplateImported_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaTemplateImported { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaTemplateImported { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a2bf113_a329_44cc_809a_5c00fce8da40); } @@ -6706,6 +5718,7 @@ pub struct IFsrmQuotaTemplateImported_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmQuotaTemplateManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmQuotaTemplateManager { @@ -6749,30 +5762,10 @@ impl IFsrmQuotaTemplateManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmQuotaTemplateManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmQuotaTemplateManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmQuotaTemplateManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmQuotaTemplateManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmQuotaTemplateManager { type Vtable = IFsrmQuotaTemplateManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmQuotaTemplateManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmQuotaTemplateManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4173ac41_172d_4d52_963c_fdc7e415f717); } @@ -6805,6 +5798,7 @@ pub struct IFsrmQuotaTemplateManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmReport(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReport { @@ -6854,30 +5848,10 @@ impl IFsrmReport { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmReport, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmReport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmReport {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmReport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmReport").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmReport { type Vtable = IFsrmReport_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmReport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmReport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8cc81d9_46b8_4fa4_bfa5_4aa9dec9b638); } @@ -6905,6 +5879,7 @@ pub struct IFsrmReport_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmReportJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReportJob { @@ -7014,30 +5989,10 @@ impl IFsrmReportJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmReportJob, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmReportJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmReportJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmReportJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmReportJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmReportJob { type Vtable = IFsrmReportJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmReportJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmReportJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38e87280_715c_4c7d_a280_ea1651a19fef); } @@ -7088,6 +6043,7 @@ pub struct IFsrmReportJob_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmReportManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReportManager { @@ -7154,30 +6110,10 @@ impl IFsrmReportManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmReportManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmReportManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmReportManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmReportManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmReportManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmReportManager { type Vtable = IFsrmReportManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmReportManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmReportManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27b899fe_6ffa_4481_a184_d3daade8a02b); } @@ -7224,6 +6160,7 @@ pub struct IFsrmReportManager_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmReportScheduler(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmReportScheduler { @@ -7260,30 +6197,10 @@ impl IFsrmReportScheduler { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmReportScheduler, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmReportScheduler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmReportScheduler {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmReportScheduler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmReportScheduler").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmReportScheduler { type Vtable = IFsrmReportScheduler_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmReportScheduler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmReportScheduler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6879caf9_6617_4484_8719_71c3d8645f94); } @@ -7309,6 +6226,7 @@ pub struct IFsrmReportScheduler_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmRule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmRule { @@ -7395,30 +6313,10 @@ impl IFsrmRule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmRule, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmRule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmRule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmRule { type Vtable = IFsrmRule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb0df960_16f5_4495_9079_3f9360d831df); } @@ -7458,6 +6356,7 @@ pub struct IFsrmRule_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmSetting(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmSetting { @@ -7536,30 +6435,10 @@ impl IFsrmSetting { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmSetting, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmSetting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmSetting {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmSetting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmSetting").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmSetting { type Vtable = IFsrmSetting_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmSetting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf411d4fd_14be_4260_8c40_03b7c95e608a); } @@ -7597,6 +6476,7 @@ pub struct IFsrmSetting_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmStorageModuleDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmStorageModuleDefinition { @@ -7753,30 +6633,10 @@ impl IFsrmStorageModuleDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmStorageModuleDefinition, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmStorageModuleDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmStorageModuleDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmStorageModuleDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmStorageModuleDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmStorageModuleDefinition { type Vtable = IFsrmStorageModuleDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmStorageModuleDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmStorageModuleDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15a81350_497d_4aba_80e9_d4dbcc5521fe); } @@ -7801,6 +6661,7 @@ pub struct IFsrmStorageModuleDefinition_Vtbl { #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsrmStorageModuleImplementation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsrmStorageModuleImplementation { @@ -7844,30 +6705,10 @@ impl IFsrmStorageModuleImplementation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsrmStorageModuleImplementation, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsrmStorageModuleImplementation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsrmStorageModuleImplementation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsrmStorageModuleImplementation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsrmStorageModuleImplementation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsrmStorageModuleImplementation { type Vtable = IFsrmStorageModuleImplementation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsrmStorageModuleImplementation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsrmStorageModuleImplementation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0af4a0da_895a_4e50_8712_a96724bcec64); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs index 81b3315167..13bf0a10bd 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs @@ -188,8 +188,8 @@ impl IDiskQuotaControl_Vtbl { ShutdownNameResolution: ShutdownNameResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -206,8 +206,8 @@ impl IDiskQuotaEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserNameChanged: OnUserNameChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -328,8 +328,8 @@ impl IDiskQuotaUser_Vtbl { GetAccountStatus: GetAccountStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IDiskQuotaUserBatch_Vtbl { FlushToDisk: FlushToDisk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -418,7 +418,7 @@ impl IEnumDiskQuotaUsers_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index f67abfa7f4..5756942992 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -4004,6 +4004,7 @@ where #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiskQuotaControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiskQuotaControl { @@ -4127,30 +4128,10 @@ impl IDiskQuotaControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiskQuotaControl, ::windows_core::IUnknown, super::super::System::Com::IConnectionPointContainer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiskQuotaControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiskQuotaControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiskQuotaControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiskQuotaControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiskQuotaControl { type Vtable = IDiskQuotaControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiskQuotaControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiskQuotaControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7988b572_ec89_11cf_9c00_00aa00a14f56); } @@ -4195,6 +4176,7 @@ pub struct IDiskQuotaControl_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiskQuotaEvents(::windows_core::IUnknown); impl IDiskQuotaEvents { pub unsafe fn OnUserNameChanged(&self, puser: P0) -> ::windows_core::Result<()> @@ -4205,25 +4187,9 @@ impl IDiskQuotaEvents { } } ::windows_core::imp::interface_hierarchy!(IDiskQuotaEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiskQuotaEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiskQuotaEvents {} -impl ::core::fmt::Debug for IDiskQuotaEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiskQuotaEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiskQuotaEvents { type Vtable = IDiskQuotaEvents_Vtbl; } -impl ::core::clone::Clone for IDiskQuotaEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiskQuotaEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7988b579_ec89_11cf_9c00_00aa00a14f56); } @@ -4235,6 +4201,7 @@ pub struct IDiskQuotaEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiskQuotaUser(::windows_core::IUnknown); impl IDiskQuotaUser { pub unsafe fn GetID(&self, pulid: *mut u32) -> ::windows_core::Result<()> { @@ -4308,25 +4275,9 @@ impl IDiskQuotaUser { } } ::windows_core::imp::interface_hierarchy!(IDiskQuotaUser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiskQuotaUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiskQuotaUser {} -impl ::core::fmt::Debug for IDiskQuotaUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiskQuotaUser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiskQuotaUser { type Vtable = IDiskQuotaUser_Vtbl; } -impl ::core::clone::Clone for IDiskQuotaUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiskQuotaUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7988b574_ec89_11cf_9c00_00aa00a14f56); } @@ -4358,6 +4309,7 @@ pub struct IDiskQuotaUser_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiskQuotaUserBatch(::windows_core::IUnknown); impl IDiskQuotaUserBatch { pub unsafe fn Add(&self, puser: P0) -> ::windows_core::Result<()> @@ -4380,25 +4332,9 @@ impl IDiskQuotaUserBatch { } } ::windows_core::imp::interface_hierarchy!(IDiskQuotaUserBatch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiskQuotaUserBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiskQuotaUserBatch {} -impl ::core::fmt::Debug for IDiskQuotaUserBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiskQuotaUserBatch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiskQuotaUserBatch { type Vtable = IDiskQuotaUserBatch_Vtbl; } -impl ::core::clone::Clone for IDiskQuotaUserBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiskQuotaUserBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7988b576_ec89_11cf_9c00_00aa00a14f56); } @@ -4413,6 +4349,7 @@ pub struct IDiskQuotaUserBatch_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDiskQuotaUsers(::windows_core::IUnknown); impl IEnumDiskQuotaUsers { pub unsafe fn Next(&self, cusers: u32, rgusers: *mut ::core::option::Option, pcusersfetched: *mut u32) -> ::windows_core::Result<()> { @@ -4430,25 +4367,9 @@ impl IEnumDiskQuotaUsers { } } ::windows_core::imp::interface_hierarchy!(IEnumDiskQuotaUsers, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDiskQuotaUsers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDiskQuotaUsers {} -impl ::core::fmt::Debug for IEnumDiskQuotaUsers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDiskQuotaUsers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDiskQuotaUsers { type Vtable = IEnumDiskQuotaUsers_Vtbl; } -impl ::core::clone::Clone for IEnumDiskQuotaUsers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDiskQuotaUsers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7988b577_ec89_11cf_9c00_00aa00a14f56); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index 851a857aac..a6863fc950 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -15,8 +15,8 @@ impl DDiscFormat2DataEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl DDiscFormat2EraseEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl DDiscFormat2RawCDEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl DDiscFormat2TrackAtOnceEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl DDiscMaster2Events_Vtbl { NotifyDeviceRemoved: NotifyDeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl DFileSystemImageEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl DFileSystemImageImportEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), UpdateImport: UpdateImport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -172,8 +172,8 @@ impl DWriteEngine2Events_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl IBlockRange_Vtbl { EndLba: EndLba::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IBlockRangeList_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), BlockRanges: BlockRanges:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IBootOptions_Vtbl { AssignBootImage: AssignBootImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IBurnVerification_Vtbl { BurnVerificationLevel: BurnVerificationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -468,8 +468,8 @@ impl IDiscFormat2_Vtbl { SupportedMediaTypes: SupportedMediaTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -841,8 +841,8 @@ impl IDiscFormat2Data_Vtbl { SetWriteSpeed: SetWriteSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IDiscFormat2DataEventArgs_Vtbl { CurrentAction: CurrentAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1007,8 +1007,8 @@ impl IDiscFormat2Erase_Vtbl { EraseMedia: EraseMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1276,8 +1276,8 @@ impl IDiscFormat2RawCD_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1332,8 +1332,8 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1620,8 +1620,8 @@ impl IDiscFormat2TrackAtOnce_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IDiscMaster_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1886,8 +1886,8 @@ impl IDiscMaster2_Vtbl { IsSupportedEnvironment: IsSupportedEnvironment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -1969,8 +1969,8 @@ impl IDiscMasterProgressEvents_Vtbl { NotifyEraseComplete: NotifyEraseComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2121,8 +2121,8 @@ impl IDiscRecorder_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2369,8 +2369,8 @@ impl IDiscRecorder2_Vtbl { ExclusiveAccessOwner: ExclusiveAccessOwner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2530,8 +2530,8 @@ impl IDiscRecorder2Ex_Vtbl { GetMaximumPageAlignedTransferSize: GetMaximumPageAlignedTransferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -2578,8 +2578,8 @@ impl IEnumDiscMasterFormats_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -2626,8 +2626,8 @@ impl IEnumDiscRecorders_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl IEnumFsiItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2728,8 +2728,8 @@ impl IEnumProgressItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3287,8 +3287,8 @@ impl IFileSystemImage_Vtbl { SetMultisessionInterfaces: SetMultisessionInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3324,8 +3324,8 @@ impl IFileSystemImage2_Vtbl { SetBootImageOptionsArray: SetBootImageOptionsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3374,8 +3374,8 @@ impl IFileSystemImage3_Vtbl { ProbeSpecificFileSystem: ProbeSpecificFileSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3456,8 +3456,8 @@ impl IFileSystemImageResult_Vtbl { DiscId: DiscId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3483,8 +3483,8 @@ impl IFileSystemImageResult2_Vtbl { } Self { base__: IFileSystemImageResult_Vtbl::new::(), ModifiedBlocks: ModifiedBlocks:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3594,8 +3594,8 @@ impl IFsiDirectoryItem_Vtbl { RemoveTree: RemoveTree::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3615,8 +3615,8 @@ impl IFsiDirectoryItem2_Vtbl { } Self { base__: IFsiDirectoryItem_Vtbl::new::(), AddTreeWithNamedStreams: AddTreeWithNamedStreams:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3691,8 +3691,8 @@ impl IFsiFileItem_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3768,8 +3768,8 @@ impl IFsiFileItem2_Vtbl { SetIsRealTime: SetIsRealTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3917,8 +3917,8 @@ impl IFsiItem_Vtbl { FileSystemPath: FileSystemPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3986,8 +3986,8 @@ impl IFsiNamedStreams_Vtbl { EnumNamedStreams: EnumNamedStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4050,8 +4050,8 @@ impl IIsoImageManager_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4133,8 +4133,8 @@ impl IJolietDiscMaster_Vtbl { SetJolietProperties: SetJolietProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4196,8 +4196,8 @@ impl IMultisession_Vtbl { ImportRecorder: ImportRecorder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4252,8 +4252,8 @@ impl IMultisessionRandomWrite_Vtbl { TotalSectorsOnMedia: TotalSectorsOnMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4334,8 +4334,8 @@ impl IMultisessionSequential_Vtbl { FreeSectorsOnMedia: FreeSectorsOnMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4361,8 +4361,8 @@ impl IMultisessionSequential2_Vtbl { } Self { base__: IMultisessionSequential_Vtbl::new::(), WriteUnitSize: WriteUnitSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4430,8 +4430,8 @@ impl IProgressItem_Vtbl { BlockCount: BlockCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IProgressItems_Vtbl { EnumProgressItems: EnumProgressItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4747,8 +4747,8 @@ impl IRawCDImageCreator_Vtbl { ExpectedTableOfContents: ExpectedTableOfContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4903,8 +4903,8 @@ impl IRawCDImageTrackInfo_Vtbl { ClearTrackIndex: ClearTrackIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -5003,8 +5003,8 @@ impl IRedbookDiscMaster_Vtbl { CloseAudioTrack: CloseAudioTrack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5048,8 +5048,8 @@ impl IStreamConcatenate_Vtbl { Append2: Append2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5069,8 +5069,8 @@ impl IStreamInterleave_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5120,8 +5120,8 @@ impl IStreamPseudoRandomBased_Vtbl { get_ExtendedSeed: get_ExtendedSeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5264,8 +5264,8 @@ impl IWriteEngine2_Vtbl { WriteInProgress: WriteInProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5372,8 +5372,8 @@ impl IWriteEngine2EventArgs_Vtbl { FreeSystemBuffer: FreeSystemBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5428,7 +5428,7 @@ impl IWriteSpeedDescriptor_Vtbl { WriteSpeed: WriteSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs index 6acf59a8c3..79f635c6ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -52,6 +52,7 @@ pub unsafe fn SetAttribIMsgOnIStg(lpobject: *mut ::core::ffi::c_void, lpproptags #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DDiscFormat2DataEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DDiscFormat2DataEvents { @@ -68,30 +69,10 @@ impl DDiscFormat2DataEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DDiscFormat2DataEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DDiscFormat2DataEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DDiscFormat2DataEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DDiscFormat2DataEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DDiscFormat2DataEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DDiscFormat2DataEvents { type Vtable = DDiscFormat2DataEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DDiscFormat2DataEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DDiscFormat2DataEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2735413c_7f64_5b0f_8f00_5d77afbe261e); } @@ -108,6 +89,7 @@ pub struct DDiscFormat2DataEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DDiscFormat2EraseEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DDiscFormat2EraseEvents { @@ -123,30 +105,10 @@ impl DDiscFormat2EraseEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DDiscFormat2EraseEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DDiscFormat2EraseEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DDiscFormat2EraseEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DDiscFormat2EraseEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DDiscFormat2EraseEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DDiscFormat2EraseEvents { type Vtable = DDiscFormat2EraseEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DDiscFormat2EraseEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DDiscFormat2EraseEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2735413a_7f64_5b0f_8f00_5d77afbe261e); } @@ -163,6 +125,7 @@ pub struct DDiscFormat2EraseEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DDiscFormat2RawCDEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DDiscFormat2RawCDEvents { @@ -179,30 +142,10 @@ impl DDiscFormat2RawCDEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DDiscFormat2RawCDEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DDiscFormat2RawCDEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DDiscFormat2RawCDEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DDiscFormat2RawCDEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DDiscFormat2RawCDEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DDiscFormat2RawCDEvents { type Vtable = DDiscFormat2RawCDEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DDiscFormat2RawCDEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DDiscFormat2RawCDEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354142_7f64_5b0f_8f00_5d77afbe261e); } @@ -219,6 +162,7 @@ pub struct DDiscFormat2RawCDEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DDiscFormat2TrackAtOnceEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DDiscFormat2TrackAtOnceEvents { @@ -235,30 +179,10 @@ impl DDiscFormat2TrackAtOnceEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DDiscFormat2TrackAtOnceEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DDiscFormat2TrackAtOnceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DDiscFormat2TrackAtOnceEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DDiscFormat2TrackAtOnceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DDiscFormat2TrackAtOnceEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DDiscFormat2TrackAtOnceEvents { type Vtable = DDiscFormat2TrackAtOnceEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DDiscFormat2TrackAtOnceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DDiscFormat2TrackAtOnceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2735413f_7f64_5b0f_8f00_5d77afbe261e); } @@ -275,6 +199,7 @@ pub struct DDiscFormat2TrackAtOnceEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DDiscMaster2Events(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DDiscMaster2Events { @@ -300,30 +225,10 @@ impl DDiscMaster2Events { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DDiscMaster2Events, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DDiscMaster2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DDiscMaster2Events {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DDiscMaster2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DDiscMaster2Events").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DDiscMaster2Events { type Vtable = DDiscMaster2Events_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DDiscMaster2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DDiscMaster2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354131_7f64_5b0f_8f00_5d77afbe261e); } @@ -344,6 +249,7 @@ pub struct DDiscMaster2Events_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DFileSystemImageEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DFileSystemImageEvents { @@ -360,30 +266,10 @@ impl DFileSystemImageEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DFileSystemImageEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DFileSystemImageEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DFileSystemImageEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DFileSystemImageEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DFileSystemImageEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DFileSystemImageEvents { type Vtable = DFileSystemImageEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DFileSystemImageEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DFileSystemImageEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fdf_975b_59be_a960_9a2a262853a5); } @@ -400,6 +286,7 @@ pub struct DFileSystemImageEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DFileSystemImageImportEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DFileSystemImageImportEvents { @@ -416,30 +303,10 @@ impl DFileSystemImageImportEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DFileSystemImageImportEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DFileSystemImageImportEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DFileSystemImageImportEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DFileSystemImageImportEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DFileSystemImageImportEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DFileSystemImageImportEvents { type Vtable = DFileSystemImageImportEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DFileSystemImageImportEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DFileSystemImageImportEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd25c30f9_4087_4366_9e24_e55be286424b); } @@ -456,6 +323,7 @@ pub struct DFileSystemImageImportEvents_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DWriteEngine2Events(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DWriteEngine2Events { @@ -472,30 +340,10 @@ impl DWriteEngine2Events { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DWriteEngine2Events, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DWriteEngine2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DWriteEngine2Events {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DWriteEngine2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DWriteEngine2Events").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DWriteEngine2Events { type Vtable = DWriteEngine2Events_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DWriteEngine2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DWriteEngine2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354137_7f64_5b0f_8f00_5d77afbe261e); } @@ -512,6 +360,7 @@ pub struct DWriteEngine2Events_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBlockRange(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBlockRange { @@ -527,30 +376,10 @@ impl IBlockRange { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBlockRange, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBlockRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBlockRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBlockRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBlockRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBlockRange { type Vtable = IBlockRange_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBlockRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBlockRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb507ca25_2204_11dd_966a_001aa01bbc58); } @@ -565,6 +394,7 @@ pub struct IBlockRange_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBlockRangeList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBlockRangeList { @@ -578,30 +408,10 @@ impl IBlockRangeList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBlockRangeList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBlockRangeList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBlockRangeList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBlockRangeList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBlockRangeList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBlockRangeList { type Vtable = IBlockRangeList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBlockRangeList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBlockRangeList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb507ca26_2204_11dd_966a_001aa01bbc58); } @@ -618,6 +428,7 @@ pub struct IBlockRangeList_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBootOptions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBootOptions { @@ -667,30 +478,10 @@ impl IBootOptions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBootOptions, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBootOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBootOptions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBootOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBootOptions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBootOptions { type Vtable = IBootOptions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBootOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBootOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd4_975b_59be_a960_9a2a262853a5); } @@ -717,6 +508,7 @@ pub struct IBootOptions_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBurnVerification(::windows_core::IUnknown); impl IBurnVerification { pub unsafe fn SetBurnVerificationLevel(&self, value: IMAPI_BURN_VERIFICATION_LEVEL) -> ::windows_core::Result<()> { @@ -728,25 +520,9 @@ impl IBurnVerification { } } ::windows_core::imp::interface_hierarchy!(IBurnVerification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBurnVerification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBurnVerification {} -impl ::core::fmt::Debug for IBurnVerification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBurnVerification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBurnVerification { type Vtable = IBurnVerification_Vtbl; } -impl ::core::clone::Clone for IBurnVerification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBurnVerification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2ffd834_958b_426d_8470_2a13879c6a91); } @@ -760,6 +536,7 @@ pub struct IBurnVerification_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2 { @@ -803,30 +580,10 @@ impl IDiscFormat2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2 { type Vtable = IDiscFormat2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354152_8f64_5b0f_8f00_5d77afbe261e); } @@ -859,6 +616,7 @@ pub struct IDiscFormat2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2Data(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2Data { @@ -1085,30 +843,10 @@ impl IDiscFormat2Data { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2Data, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2Data { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2Data {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2Data { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2Data").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2Data { type Vtable = IDiscFormat2Data_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2Data { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2Data { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354153_9f64_5b0f_8f00_5d77afbe261e); } @@ -1210,6 +948,7 @@ pub struct IDiscFormat2Data_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2DataEventArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2DataEventArgs { @@ -1261,30 +1000,10 @@ impl IDiscFormat2DataEventArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2DataEventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2DataEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2DataEventArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2DataEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2DataEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2DataEventArgs { type Vtable = IDiscFormat2DataEventArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2DataEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2DataEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2735413d_7f64_5b0f_8f00_5d77afbe261e); } @@ -1301,6 +1020,7 @@ pub struct IDiscFormat2DataEventArgs_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2Erase(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2Erase { @@ -1389,30 +1109,10 @@ impl IDiscFormat2Erase { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2Erase, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2Erase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2Erase {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2Erase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2Erase").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2Erase { type Vtable = IDiscFormat2Erase_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2Erase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2Erase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354156_8f64_5b0f_8f00_5d77afbe261e); } @@ -1445,6 +1145,7 @@ pub struct IDiscFormat2Erase_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2RawCD(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2RawCD { @@ -1616,30 +1317,10 @@ impl IDiscFormat2RawCD { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2RawCD, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2RawCD { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2RawCD {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2RawCD { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2RawCD").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2RawCD { type Vtable = IDiscFormat2RawCD_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2RawCD { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2RawCD { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354155_8f64_5b0f_8f00_5d77afbe261e); } @@ -1712,6 +1393,7 @@ pub struct IDiscFormat2RawCD_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2RawCDEventArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2RawCDEventArgs { @@ -1759,30 +1441,10 @@ impl IDiscFormat2RawCDEventArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2RawCDEventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2RawCDEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2RawCDEventArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2RawCDEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2RawCDEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2RawCDEventArgs { type Vtable = IDiscFormat2RawCDEventArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2RawCDEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2RawCDEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354143_7f64_5b0f_8f00_5d77afbe261e); } @@ -1798,6 +1460,7 @@ pub struct IDiscFormat2RawCDEventArgs_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2TrackAtOnce(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2TrackAtOnce { @@ -1976,30 +1639,10 @@ impl IDiscFormat2TrackAtOnce { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2TrackAtOnce, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2TrackAtOnce { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2TrackAtOnce {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2TrackAtOnce { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2TrackAtOnce").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2TrackAtOnce { type Vtable = IDiscFormat2TrackAtOnce_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2TrackAtOnce { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2TrackAtOnce { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354154_8f64_5b0f_8f00_5d77afbe261e); } @@ -2076,6 +1719,7 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscFormat2TrackAtOnceEventArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscFormat2TrackAtOnceEventArgs { @@ -2127,30 +1771,10 @@ impl IDiscFormat2TrackAtOnceEventArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscFormat2TrackAtOnceEventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscFormat2TrackAtOnceEventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscFormat2TrackAtOnceEventArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscFormat2TrackAtOnceEventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscFormat2TrackAtOnceEventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscFormat2TrackAtOnceEventArgs { type Vtable = IDiscFormat2TrackAtOnceEventArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscFormat2TrackAtOnceEventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscFormat2TrackAtOnceEventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354140_7f64_5b0f_8f00_5d77afbe261e); } @@ -2166,6 +1790,7 @@ pub struct IDiscFormat2TrackAtOnceEventArgs_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscMaster(::windows_core::IUnknown); impl IDiscMaster { pub unsafe fn Open(&self) -> ::windows_core::Result<()> { @@ -2217,25 +1842,9 @@ impl IDiscMaster { } } ::windows_core::imp::interface_hierarchy!(IDiscMaster, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiscMaster { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiscMaster {} -impl ::core::fmt::Debug for IDiscMaster { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscMaster").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiscMaster { type Vtable = IDiscMaster_Vtbl; } -impl ::core::clone::Clone for IDiscMaster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiscMaster { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x520cca62_51a5_11d3_9144_00104ba11c5e); } @@ -2259,6 +1868,7 @@ pub struct IDiscMaster_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscMaster2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscMaster2 { @@ -2286,30 +1896,10 @@ impl IDiscMaster2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscMaster2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscMaster2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscMaster2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscMaster2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscMaster2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscMaster2 { type Vtable = IDiscMaster2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscMaster2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscMaster2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354130_7f64_5b0f_8f00_5d77afbe261e); } @@ -2331,6 +1921,7 @@ pub struct IDiscMaster2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscMasterProgressEvents(::windows_core::IUnknown); impl IDiscMasterProgressEvents { pub unsafe fn QueryCancel(&self) -> ::windows_core::Result { @@ -2363,25 +1954,9 @@ impl IDiscMasterProgressEvents { } } ::windows_core::imp::interface_hierarchy!(IDiscMasterProgressEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiscMasterProgressEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiscMasterProgressEvents {} -impl ::core::fmt::Debug for IDiscMasterProgressEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscMasterProgressEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiscMasterProgressEvents { type Vtable = IDiscMasterProgressEvents_Vtbl; } -impl ::core::clone::Clone for IDiscMasterProgressEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiscMasterProgressEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec9e51c1_4e5d_11d3_9144_00104ba11c5e); } @@ -2401,6 +1976,7 @@ pub struct IDiscMasterProgressEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscRecorder(::windows_core::IUnknown); impl IDiscRecorder { pub unsafe fn Init(&self, pbyuniqueid: &[u8], nuldrivenumber: u32) -> ::windows_core::Result<()> { @@ -2462,25 +2038,9 @@ impl IDiscRecorder { } } ::windows_core::imp::interface_hierarchy!(IDiscRecorder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiscRecorder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiscRecorder {} -impl ::core::fmt::Debug for IDiscRecorder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscRecorder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiscRecorder { type Vtable = IDiscRecorder_Vtbl; } -impl ::core::clone::Clone for IDiscRecorder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiscRecorder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85ac9776_ca88_4cf2_894e_09598c078a41); } @@ -2513,6 +2073,7 @@ pub struct IDiscRecorder_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscRecorder2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDiscRecorder2 { @@ -2620,30 +2181,10 @@ impl IDiscRecorder2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDiscRecorder2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDiscRecorder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDiscRecorder2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDiscRecorder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscRecorder2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDiscRecorder2 { type Vtable = IDiscRecorder2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDiscRecorder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDiscRecorder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354133_7f64_5b0f_8f00_5d77afbe261e); } @@ -2700,6 +2241,7 @@ pub struct IDiscRecorder2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDiscRecorder2Ex(::windows_core::IUnknown); impl IDiscRecorder2Ex { pub unsafe fn SendCommandNoData(&self, cdb: &[u8], sensebuffer: &mut [u8; 18], timeout: u32) -> ::windows_core::Result<()> { @@ -2776,25 +2318,9 @@ impl IDiscRecorder2Ex { } } ::windows_core::imp::interface_hierarchy!(IDiscRecorder2Ex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDiscRecorder2Ex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDiscRecorder2Ex {} -impl ::core::fmt::Debug for IDiscRecorder2Ex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDiscRecorder2Ex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDiscRecorder2Ex { type Vtable = IDiscRecorder2Ex_Vtbl; } -impl ::core::clone::Clone for IDiscRecorder2Ex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDiscRecorder2Ex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354132_7f64_5b0f_8f00_5d77afbe261e); } @@ -2832,6 +2358,7 @@ pub struct IDiscRecorder2Ex_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDiscMasterFormats(::windows_core::IUnknown); impl IEnumDiscMasterFormats { pub unsafe fn Next(&self, lpiidformatid: &mut [::windows_core::GUID], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2849,25 +2376,9 @@ impl IEnumDiscMasterFormats { } } ::windows_core::imp::interface_hierarchy!(IEnumDiscMasterFormats, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDiscMasterFormats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDiscMasterFormats {} -impl ::core::fmt::Debug for IEnumDiscMasterFormats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDiscMasterFormats").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDiscMasterFormats { type Vtable = IEnumDiscMasterFormats_Vtbl; } -impl ::core::clone::Clone for IEnumDiscMasterFormats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDiscMasterFormats { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddf445e1_54ba_11d3_9144_00104ba11c5e); } @@ -2882,6 +2393,7 @@ pub struct IEnumDiscMasterFormats_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDiscRecorders(::windows_core::IUnknown); impl IEnumDiscRecorders { pub unsafe fn Next(&self, pprecorder: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2899,25 +2411,9 @@ impl IEnumDiscRecorders { } } ::windows_core::imp::interface_hierarchy!(IEnumDiscRecorders, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDiscRecorders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDiscRecorders {} -impl ::core::fmt::Debug for IEnumDiscRecorders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDiscRecorders").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDiscRecorders { type Vtable = IEnumDiscRecorders_Vtbl; } -impl ::core::clone::Clone for IEnumDiscRecorders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDiscRecorders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b1921e1_54ac_11d3_9144_00104ba11c5e); } @@ -2932,6 +2428,7 @@ pub struct IEnumDiscRecorders_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumFsiItems(::windows_core::IUnknown); impl IEnumFsiItems { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2951,25 +2448,9 @@ impl IEnumFsiItems { } } ::windows_core::imp::interface_hierarchy!(IEnumFsiItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumFsiItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumFsiItems {} -impl ::core::fmt::Debug for IEnumFsiItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumFsiItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumFsiItems { type Vtable = IEnumFsiItems_Vtbl; } -impl ::core::clone::Clone for IEnumFsiItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumFsiItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fda_975b_59be_a960_9a2a262853a5); } @@ -2987,6 +2468,7 @@ pub struct IEnumFsiItems_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumProgressItems(::windows_core::IUnknown); impl IEnumProgressItems { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3006,25 +2488,9 @@ impl IEnumProgressItems { } } ::windows_core::imp::interface_hierarchy!(IEnumProgressItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumProgressItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumProgressItems {} -impl ::core::fmt::Debug for IEnumProgressItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumProgressItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumProgressItems { type Vtable = IEnumProgressItems_Vtbl; } -impl ::core::clone::Clone for IEnumProgressItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumProgressItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd6_975b_59be_a960_9a2a262853a5); } @@ -3043,6 +2509,7 @@ pub struct IEnumProgressItems_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemImage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImage { @@ -3306,30 +2773,10 @@ impl IFileSystemImage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSystemImage, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSystemImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSystemImage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSystemImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemImage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSystemImage { type Vtable = IFileSystemImage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSystemImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSystemImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fe1_975b_59be_a960_9a2a262853a5); } @@ -3449,6 +2896,7 @@ pub struct IFileSystemImage_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemImage2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImage2 { @@ -3723,30 +3171,10 @@ impl IFileSystemImage2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSystemImage2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSystemImage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSystemImage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSystemImage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemImage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSystemImage2 { type Vtable = IFileSystemImage2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSystemImage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSystemImage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7644b2c_1537_4767_b62f_f1387b02ddfd); } @@ -3767,6 +3195,7 @@ pub struct IFileSystemImage2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemImage3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImage3 { @@ -4061,30 +3490,10 @@ impl IFileSystemImage3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSystemImage3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage, IFileSystemImage2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSystemImage3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSystemImage3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSystemImage3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemImage3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSystemImage3 { type Vtable = IFileSystemImage3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSystemImage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSystemImage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cff842c_7e97_4807_8304_910dd8f7c051); } @@ -4109,6 +3518,7 @@ pub struct IFileSystemImage3_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemImageResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImageResult { @@ -4140,30 +3550,10 @@ impl IFileSystemImageResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSystemImageResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSystemImageResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSystemImageResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSystemImageResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemImageResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSystemImageResult { type Vtable = IFileSystemImageResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSystemImageResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSystemImageResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd8_975b_59be_a960_9a2a262853a5); } @@ -4187,6 +3577,7 @@ pub struct IFileSystemImageResult_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemImageResult2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSystemImageResult2 { @@ -4224,30 +3615,10 @@ impl IFileSystemImageResult2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSystemImageResult2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImageResult); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSystemImageResult2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSystemImageResult2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSystemImageResult2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemImageResult2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSystemImageResult2 { type Vtable = IFileSystemImageResult2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSystemImageResult2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSystemImageResult2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb507ca29_2204_11dd_966a_001aa01bbc58); } @@ -4264,6 +3635,7 @@ pub struct IFileSystemImageResult2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiDirectoryItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiDirectoryItem { @@ -4389,30 +3761,10 @@ impl IFsiDirectoryItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiDirectoryItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiDirectoryItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiDirectoryItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiDirectoryItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiDirectoryItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiDirectoryItem { type Vtable = IFsiDirectoryItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiDirectoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiDirectoryItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fdc_975b_59be_a960_9a2a262853a5); } @@ -4450,6 +3802,7 @@ pub struct IFsiDirectoryItem_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiDirectoryItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiDirectoryItem2 { @@ -4584,30 +3937,10 @@ impl IFsiDirectoryItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiDirectoryItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiDirectoryItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiDirectoryItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiDirectoryItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiDirectoryItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiDirectoryItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiDirectoryItem2 { type Vtable = IFsiDirectoryItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiDirectoryItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiDirectoryItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7fb4b9b_6d96_4d7b_9115_201b144811ef); } @@ -4624,6 +3957,7 @@ pub struct IFsiDirectoryItem2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiFileItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiFileItem { @@ -4708,30 +4042,10 @@ impl IFsiFileItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiFileItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiFileItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiFileItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiFileItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiFileItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiFileItem { type Vtable = IFsiFileItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiFileItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiFileItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fdb_975b_59be_a960_9a2a262853a5); } @@ -4755,6 +4069,7 @@ pub struct IFsiFileItem_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiFileItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiFileItem2 { @@ -4880,30 +4195,10 @@ impl IFsiFileItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiFileItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiFileItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiFileItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiFileItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiFileItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiFileItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiFileItem2 { type Vtable = IFsiFileItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiFileItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiFileItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x199d0c19_11e1_40eb_8ec2_c8c822a07792); } @@ -4937,6 +4232,7 @@ pub struct IFsiFileItem2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiItem { @@ -4995,30 +4291,10 @@ impl IFsiItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiItem { type Vtable = IFsiItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd9_975b_59be_a960_9a2a262853a5); } @@ -5049,6 +4325,7 @@ pub struct IFsiItem_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFsiNamedStreams(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFsiNamedStreams { @@ -5076,30 +4353,10 @@ impl IFsiNamedStreams { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFsiNamedStreams, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFsiNamedStreams { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFsiNamedStreams {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFsiNamedStreams { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFsiNamedStreams").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFsiNamedStreams { type Vtable = IFsiNamedStreams_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFsiNamedStreams { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFsiNamedStreams { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed79ba56_5294_4250_8d46_f9aecee23459); } @@ -5122,6 +4379,7 @@ pub struct IFsiNamedStreams_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsoImageManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIsoImageManager { @@ -5156,30 +4414,10 @@ impl IIsoImageManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIsoImageManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIsoImageManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIsoImageManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIsoImageManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsoImageManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IIsoImageManager { type Vtable = IIsoImageManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIsoImageManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIsoImageManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ca38be5_fbbb_4800_95a1_a438865eb0d4); } @@ -5202,6 +4440,7 @@ pub struct IIsoImageManager_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJolietDiscMaster(::windows_core::IUnknown); impl IJolietDiscMaster { pub unsafe fn GetTotalDataBlocks(&self) -> ::windows_core::Result { @@ -5240,25 +4479,9 @@ impl IJolietDiscMaster { } } ::windows_core::imp::interface_hierarchy!(IJolietDiscMaster, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJolietDiscMaster { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJolietDiscMaster {} -impl ::core::fmt::Debug for IJolietDiscMaster { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJolietDiscMaster").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJolietDiscMaster { type Vtable = IJolietDiscMaster_Vtbl; } -impl ::core::clone::Clone for IJolietDiscMaster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJolietDiscMaster { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3bc42ce_4e5c_11d3_9144_00104ba11c5e); } @@ -5285,6 +4508,7 @@ pub struct IJolietDiscMaster_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultisession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisession { @@ -5318,30 +4542,10 @@ impl IMultisession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMultisession, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMultisession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMultisession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMultisession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultisession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMultisession { type Vtable = IMultisession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMultisession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMultisession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354150_7f64_5b0f_8f00_5d77afbe261e); } @@ -5370,6 +4574,7 @@ pub struct IMultisession_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultisessionRandomWrite(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionRandomWrite { @@ -5415,30 +4620,10 @@ impl IMultisessionRandomWrite { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMultisessionRandomWrite, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMultisessionRandomWrite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMultisessionRandomWrite {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMultisessionRandomWrite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultisessionRandomWrite").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMultisessionRandomWrite { type Vtable = IMultisessionRandomWrite_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMultisessionRandomWrite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMultisessionRandomWrite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb507ca23_2204_11dd_966a_001aa01bbc58); } @@ -5454,6 +4639,7 @@ pub struct IMultisessionRandomWrite_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultisessionSequential(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential { @@ -5509,30 +4695,10 @@ impl IMultisessionSequential { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMultisessionSequential, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMultisessionSequential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMultisessionSequential {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMultisessionSequential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultisessionSequential").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMultisessionSequential { type Vtable = IMultisessionSequential_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMultisessionSequential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMultisessionSequential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354151_7f64_5b0f_8f00_5d77afbe261e); } @@ -5553,6 +4719,7 @@ pub struct IMultisessionSequential_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultisessionSequential2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMultisessionSequential2 { @@ -5612,30 +4779,10 @@ impl IMultisessionSequential2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMultisessionSequential2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession, IMultisessionSequential); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMultisessionSequential2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMultisessionSequential2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMultisessionSequential2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultisessionSequential2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMultisessionSequential2 { type Vtable = IMultisessionSequential2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMultisessionSequential2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMultisessionSequential2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb507ca22_2204_11dd_966a_001aa01bbc58); } @@ -5649,6 +4796,7 @@ pub struct IMultisessionSequential2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProgressItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IProgressItem { @@ -5672,30 +4820,10 @@ impl IProgressItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IProgressItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IProgressItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IProgressItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IProgressItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProgressItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IProgressItem { type Vtable = IProgressItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IProgressItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IProgressItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd5_975b_59be_a960_9a2a262853a5); } @@ -5712,6 +4840,7 @@ pub struct IProgressItem_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProgressItems(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IProgressItems { @@ -5754,30 +4883,10 @@ impl IProgressItems { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IProgressItems, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IProgressItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IProgressItems {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IProgressItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProgressItems").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IProgressItems { type Vtable = IProgressItems_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IProgressItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IProgressItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c941fd7_975b_59be_a960_9a2a262853a5); } @@ -5808,6 +4917,7 @@ pub struct IProgressItems_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawCDImageCreator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRawCDImageCreator { @@ -5915,30 +5025,10 @@ impl IRawCDImageCreator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRawCDImageCreator, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRawCDImageCreator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRawCDImageCreator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRawCDImageCreator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawCDImageCreator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRawCDImageCreator { type Vtable = IRawCDImageCreator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRawCDImageCreator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRawCDImageCreator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25983550_9d65_49ce_b335_40630d901227); } @@ -5994,6 +5084,7 @@ pub struct IRawCDImageCreator_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawCDImageTrackInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRawCDImageTrackInfo { @@ -6060,30 +5151,10 @@ impl IRawCDImageTrackInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRawCDImageTrackInfo, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRawCDImageTrackInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRawCDImageTrackInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRawCDImageTrackInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawCDImageTrackInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRawCDImageTrackInfo { type Vtable = IRawCDImageTrackInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRawCDImageTrackInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRawCDImageTrackInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25983551_9d65_49ce_b335_40630d901227); } @@ -6117,6 +5188,7 @@ pub struct IRawCDImageTrackInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRedbookDiscMaster(::windows_core::IUnknown); impl IRedbookDiscMaster { pub unsafe fn GetTotalAudioTracks(&self) -> ::windows_core::Result { @@ -6150,25 +5222,9 @@ impl IRedbookDiscMaster { } } ::windows_core::imp::interface_hierarchy!(IRedbookDiscMaster, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRedbookDiscMaster { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRedbookDiscMaster {} -impl ::core::fmt::Debug for IRedbookDiscMaster { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRedbookDiscMaster").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRedbookDiscMaster { type Vtable = IRedbookDiscMaster_Vtbl; } -impl ::core::clone::Clone for IRedbookDiscMaster { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRedbookDiscMaster { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3bc42cd_4e5c_11d3_9144_00104ba11c5e); } @@ -6188,6 +5244,7 @@ pub struct IRedbookDiscMaster_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamConcatenate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStreamConcatenate { @@ -6281,30 +5338,10 @@ impl IStreamConcatenate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStreamConcatenate, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStreamConcatenate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStreamConcatenate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStreamConcatenate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamConcatenate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStreamConcatenate { type Vtable = IStreamConcatenate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStreamConcatenate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStreamConcatenate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354146_7f64_5b0f_8f00_5d77afbe261e); } @@ -6333,6 +5370,7 @@ pub struct IStreamConcatenate_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamInterleave(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStreamInterleave { @@ -6404,30 +5442,10 @@ impl IStreamInterleave { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStreamInterleave, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStreamInterleave { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStreamInterleave {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStreamInterleave { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamInterleave").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStreamInterleave { type Vtable = IStreamInterleave_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStreamInterleave { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStreamInterleave { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354147_7f64_5b0f_8f00_5d77afbe261e); } @@ -6444,6 +5462,7 @@ pub struct IStreamInterleave_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamPseudoRandomBased(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStreamPseudoRandomBased { @@ -6523,30 +5542,10 @@ impl IStreamPseudoRandomBased { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStreamPseudoRandomBased, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStreamPseudoRandomBased { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStreamPseudoRandomBased {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStreamPseudoRandomBased { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamPseudoRandomBased").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStreamPseudoRandomBased { type Vtable = IStreamPseudoRandomBased_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStreamPseudoRandomBased { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStreamPseudoRandomBased { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354145_7f64_5b0f_8f00_5d77afbe261e); } @@ -6563,6 +5562,7 @@ pub struct IStreamPseudoRandomBased_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWriteEngine2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWriteEngine2 { @@ -6632,30 +5632,10 @@ impl IWriteEngine2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWriteEngine2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWriteEngine2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWriteEngine2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWriteEngine2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWriteEngine2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWriteEngine2 { type Vtable = IWriteEngine2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWriteEngine2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWriteEngine2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354135_7f64_5b0f_8f00_5d77afbe261e); } @@ -6693,6 +5673,7 @@ pub struct IWriteEngine2_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWriteEngine2EventArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWriteEngine2EventArgs { @@ -6728,30 +5709,10 @@ impl IWriteEngine2EventArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWriteEngine2EventArgs, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWriteEngine2EventArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWriteEngine2EventArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWriteEngine2EventArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWriteEngine2EventArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWriteEngine2EventArgs { type Vtable = IWriteEngine2EventArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWriteEngine2EventArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWriteEngine2EventArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354136_7f64_5b0f_8f00_5d77afbe261e); } @@ -6771,6 +5732,7 @@ pub struct IWriteEngine2EventArgs_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWriteSpeedDescriptor(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWriteSpeedDescriptor { @@ -6792,30 +5754,10 @@ impl IWriteSpeedDescriptor { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWriteSpeedDescriptor, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWriteSpeedDescriptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWriteSpeedDescriptor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWriteSpeedDescriptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWriteSpeedDescriptor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWriteSpeedDescriptor { type Vtable = IWriteSpeedDescriptor_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWriteSpeedDescriptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWriteSpeedDescriptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27354144_7f64_5b0f_8f00_5d77afbe261e); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs index ab2d7b3ae0..822b12f5a2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs @@ -46,8 +46,8 @@ impl IFilter_Vtbl { BindRegion: BindRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -74,7 +74,7 @@ impl IPhraseSink_Vtbl { PutPhrase: PutPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs index df8d84c267..1feafb03a1 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -41,6 +41,7 @@ where } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilter(::windows_core::IUnknown); impl IFilter { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -66,25 +67,9 @@ impl IFilter { } } ::windows_core::imp::interface_hierarchy!(IFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilter {} -impl ::core::fmt::Debug for IFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilter { type Vtable = IFilter_Vtbl; } -impl ::core::clone::Clone for IFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89bcb740_6119_101a_bcb7_00dd010655af); } @@ -109,6 +94,7 @@ pub struct IFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPhraseSink(::windows_core::IUnknown); impl IPhraseSink { pub unsafe fn PutSmallPhrase(&self, pwcnoun: P0, cwcnoun: u32, pwcmodifier: P1, cwcmodifier: u32, ulattachmenttype: u32) -> ::windows_core::Result<()> @@ -126,25 +112,9 @@ impl IPhraseSink { } } ::windows_core::imp::interface_hierarchy!(IPhraseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPhraseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPhraseSink {} -impl ::core::fmt::Debug for IPhraseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPhraseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPhraseSink { type Vtable = IPhraseSink_Vtbl; } -impl ::core::clone::Clone for IPhraseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPhraseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc906ff0_c058_101a_b554_08002b33b0e6); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs index 46940fa15e..665df8bded 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs @@ -42,8 +42,8 @@ impl IEnumOfflineFilesItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IEnumOfflineFilesSettings_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IOfflineFilesCache_Vtbl { IsPathCacheable: IsPathCacheable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -277,8 +277,8 @@ impl IOfflineFilesCache2_Vtbl { } Self { base__: IOfflineFilesCache_Vtbl::new::(), RenameItemEx: RenameItemEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IOfflineFilesChangeInfo_Vtbl { IsLocallyModifiedTime: IsLocallyModifiedTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl IOfflineFilesConnectionInfo_Vtbl { TransitionOffline: TransitionOffline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl IOfflineFilesDirectoryItem_Vtbl { pub const fn new, Impl: IOfflineFilesDirectoryItem_Impl, const OFFSET: isize>() -> IOfflineFilesDirectoryItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IOfflineFilesDirtyInfo_Vtbl { RemoteDirtyByteCount: RemoteDirtyByteCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IOfflineFilesErrorInfo_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl IOfflineFilesEvents_Vtbl { Ping: Ping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -786,8 +786,8 @@ impl IOfflineFilesEvents2_Vtbl { SettingsChangesApplied: SettingsChangesApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -824,8 +824,8 @@ impl IOfflineFilesEvents3_Vtbl { PrefetchFileEnd: PrefetchFileEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IOfflineFilesEvents4_Vtbl { PrefetchCloseHandleEnd: PrefetchCloseHandleEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -890,8 +890,8 @@ impl IOfflineFilesEventsFilter_Vtbl { GetExcludedEvents: GetExcludedEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IOfflineFilesFileItem_Vtbl { IsEncrypted: IsEncrypted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -983,8 +983,8 @@ impl IOfflineFilesFileSysInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1010,8 +1010,8 @@ impl IOfflineFilesGhostInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsGhosted: IsGhosted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1086,8 +1086,8 @@ impl IOfflineFilesItem_Vtbl { IsMarkedForDeletion: IsMarkedForDeletion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IOfflineFilesItemContainer_Vtbl { EnumItemsEx: EnumItemsEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IOfflineFilesItemFilter_Vtbl { GetPatternFilter: GetPatternFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1222,8 +1222,8 @@ impl IOfflineFilesPinInfo_Vtbl { IsPinnedForFolderRedirection: IsPinnedForFolderRedirection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1249,8 +1249,8 @@ impl IOfflineFilesPinInfo2_Vtbl { } Self { base__: IOfflineFilesPinInfo_Vtbl::new::(), IsPartlyPinned: IsPartlyPinned:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1299,8 +1299,8 @@ impl IOfflineFilesProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IOfflineFilesServerItem_Vtbl { pub const fn new, Impl: IOfflineFilesServerItem_Impl, const OFFSET: isize>() -> IOfflineFilesServerItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IOfflineFilesSetting_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1473,8 +1473,8 @@ impl IOfflineFilesShareInfo_Vtbl { IsShareDfsJunction: IsShareDfsJunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl IOfflineFilesShareItem_Vtbl { pub const fn new, Impl: IOfflineFilesShareItem_Impl, const OFFSET: isize>() -> IOfflineFilesShareItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl IOfflineFilesSimpleProgress_Vtbl { ItemResult: ItemResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1551,8 +1551,8 @@ impl IOfflineFilesSuspend_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuspendRoot: SuspendRoot:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1572,8 +1572,8 @@ impl IOfflineFilesSuspendInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSuspended: IsSuspended:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -1590,8 +1590,8 @@ impl IOfflineFilesSyncConflictHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveConflict: ResolveConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1686,8 +1686,8 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { GetOriginalInfo: GetOriginalInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1736,8 +1736,8 @@ impl IOfflineFilesSyncErrorItemInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IOfflineFilesSyncProgress_Vtbl { SyncItemResult: SyncItemResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1806,7 +1806,7 @@ impl IOfflineFilesTransparentCacheInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTransparentlyCached: IsTransparentlyCached:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs index 16a6239785..3f843cdcf9 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -30,6 +30,7 @@ pub unsafe fn OfflineFilesStart() -> u32 { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOfflineFilesItems(::windows_core::IUnknown); impl IEnumOfflineFilesItems { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -47,25 +48,9 @@ impl IEnumOfflineFilesItems { } } ::windows_core::imp::interface_hierarchy!(IEnumOfflineFilesItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOfflineFilesItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOfflineFilesItems {} -impl ::core::fmt::Debug for IEnumOfflineFilesItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOfflineFilesItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOfflineFilesItems { type Vtable = IEnumOfflineFilesItems_Vtbl; } -impl ::core::clone::Clone for IEnumOfflineFilesItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOfflineFilesItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda70e815_c361_4407_bc0b_0d7046e5f2cd); } @@ -80,6 +65,7 @@ pub struct IEnumOfflineFilesItems_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOfflineFilesSettings(::windows_core::IUnknown); impl IEnumOfflineFilesSettings { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -97,25 +83,9 @@ impl IEnumOfflineFilesSettings { } } ::windows_core::imp::interface_hierarchy!(IEnumOfflineFilesSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOfflineFilesSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOfflineFilesSettings {} -impl ::core::fmt::Debug for IEnumOfflineFilesSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOfflineFilesSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOfflineFilesSettings { type Vtable = IEnumOfflineFilesSettings_Vtbl; } -impl ::core::clone::Clone for IEnumOfflineFilesSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOfflineFilesSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x729680c4_1a38_47bc_9e5c_02c51562ac30); } @@ -130,6 +100,7 @@ pub struct IEnumOfflineFilesSettings_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesCache(::windows_core::IUnknown); impl IOfflineFilesCache { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -266,25 +237,9 @@ impl IOfflineFilesCache { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesCache {} -impl ::core::fmt::Debug for IOfflineFilesCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesCache { type Vtable = IOfflineFilesCache_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x855d6203_7914_48b9_8d40_4c56f5acffc5); } @@ -339,6 +294,7 @@ pub struct IOfflineFilesCache_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesCache2(::windows_core::IUnknown); impl IOfflineFilesCache2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -485,25 +441,9 @@ impl IOfflineFilesCache2 { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesCache2, ::windows_core::IUnknown, IOfflineFilesCache); -impl ::core::cmp::PartialEq for IOfflineFilesCache2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesCache2 {} -impl ::core::fmt::Debug for IOfflineFilesCache2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesCache2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesCache2 { type Vtable = IOfflineFilesCache2_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesCache2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesCache2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c075039_1551_4ed9_8781_56705c04d3c0); } @@ -518,6 +458,7 @@ pub struct IOfflineFilesCache2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesChangeInfo(::windows_core::IUnknown); impl IOfflineFilesChangeInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -557,25 +498,9 @@ impl IOfflineFilesChangeInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesChangeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesChangeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesChangeInfo {} -impl ::core::fmt::Debug for IOfflineFilesChangeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesChangeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesChangeInfo { type Vtable = IOfflineFilesChangeInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesChangeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesChangeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa96e6fa4_e0d1_4c29_960b_ee508fe68c72); } @@ -610,6 +535,7 @@ pub struct IOfflineFilesChangeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesConnectionInfo(::windows_core::IUnknown); impl IOfflineFilesConnectionInfo { pub unsafe fn GetConnectState(&self, pconnectstate: *mut OFFLINEFILES_CONNECT_STATE, pofflinereason: *mut OFFLINEFILES_OFFLINE_REASON) -> ::windows_core::Result<()> { @@ -643,25 +569,9 @@ impl IOfflineFilesConnectionInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesConnectionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesConnectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesConnectionInfo {} -impl ::core::fmt::Debug for IOfflineFilesConnectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesConnectionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesConnectionInfo { type Vtable = IOfflineFilesConnectionInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesConnectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesConnectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefb23a09_a867_4be8_83a6_86969a7d0856); } @@ -685,6 +595,7 @@ pub struct IOfflineFilesConnectionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesDirectoryItem(::windows_core::IUnknown); impl IOfflineFilesDirectoryItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -710,25 +621,9 @@ impl IOfflineFilesDirectoryItem { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesDirectoryItem, ::windows_core::IUnknown, IOfflineFilesItem); -impl ::core::cmp::PartialEq for IOfflineFilesDirectoryItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesDirectoryItem {} -impl ::core::fmt::Debug for IOfflineFilesDirectoryItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesDirectoryItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesDirectoryItem { type Vtable = IOfflineFilesDirectoryItem_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesDirectoryItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesDirectoryItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2273597a_a08c_4a00_a37a_c1ae4e9a1cfd); } @@ -739,6 +634,7 @@ pub struct IOfflineFilesDirectoryItem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesDirtyInfo(::windows_core::IUnknown); impl IOfflineFilesDirtyInfo { pub unsafe fn LocalDirtyByteCount(&self) -> ::windows_core::Result { @@ -751,25 +647,9 @@ impl IOfflineFilesDirtyInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesDirtyInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesDirtyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesDirtyInfo {} -impl ::core::fmt::Debug for IOfflineFilesDirtyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesDirtyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesDirtyInfo { type Vtable = IOfflineFilesDirtyInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesDirtyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesDirtyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f50ce33_bac9_4eaa_a11d_da0e527d047d); } @@ -782,6 +662,7 @@ pub struct IOfflineFilesDirtyInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesErrorInfo(::windows_core::IUnknown); impl IOfflineFilesErrorInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -796,25 +677,9 @@ impl IOfflineFilesErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesErrorInfo {} -impl ::core::fmt::Debug for IOfflineFilesErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesErrorInfo { type Vtable = IOfflineFilesErrorInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7112fa5f_7571_435a_8eb7_195c7c1429bc); } @@ -830,6 +695,7 @@ pub struct IOfflineFilesErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesEvents(::windows_core::IUnknown); impl IOfflineFilesEvents { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> ::windows_core::Result<()> @@ -979,25 +845,9 @@ impl IOfflineFilesEvents { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesEvents {} -impl ::core::fmt::Debug for IOfflineFilesEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesEvents { type Vtable = IOfflineFilesEvents_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe25585c1_0caa_4eb1_873b_1cae5b77c314); } @@ -1051,6 +901,7 @@ pub struct IOfflineFilesEvents_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesEvents2(::windows_core::IUnknown); impl IOfflineFilesEvents2 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> ::windows_core::Result<()> @@ -1227,25 +1078,9 @@ impl IOfflineFilesEvents2 { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesEvents2, ::windows_core::IUnknown, IOfflineFilesEvents); -impl ::core::cmp::PartialEq for IOfflineFilesEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesEvents2 {} -impl ::core::fmt::Debug for IOfflineFilesEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesEvents2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesEvents2 { type Vtable = IOfflineFilesEvents2_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesEvents2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ead8f56_ff76_4faa_a795_6f6ef792498b); } @@ -1265,6 +1100,7 @@ pub struct IOfflineFilesEvents2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesEvents3(::windows_core::IUnknown); impl IOfflineFilesEvents3 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> ::windows_core::Result<()> @@ -1464,25 +1300,9 @@ impl IOfflineFilesEvents3 { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesEvents3, ::windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2); -impl ::core::cmp::PartialEq for IOfflineFilesEvents3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesEvents3 {} -impl ::core::fmt::Debug for IOfflineFilesEvents3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesEvents3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesEvents3 { type Vtable = IOfflineFilesEvents3_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesEvents3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesEvents3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ba04a45_ee69_42f0_9ab1_7db5c8805808); } @@ -1499,6 +1319,7 @@ pub struct IOfflineFilesEvents3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesEvents4(::windows_core::IUnknown); impl IOfflineFilesEvents4 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> ::windows_core::Result<()> @@ -1704,25 +1525,9 @@ impl IOfflineFilesEvents4 { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesEvents4, ::windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2, IOfflineFilesEvents3); -impl ::core::cmp::PartialEq for IOfflineFilesEvents4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesEvents4 {} -impl ::core::fmt::Debug for IOfflineFilesEvents4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesEvents4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesEvents4 { type Vtable = IOfflineFilesEvents4_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesEvents4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesEvents4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbd69b1e_c7d2_473e_b35f_9d8c24c0c484); } @@ -1735,6 +1540,7 @@ pub struct IOfflineFilesEvents4_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesEventsFilter(::windows_core::IUnknown); impl IOfflineFilesEventsFilter { pub unsafe fn GetPathFilter(&self, ppszfilter: *mut ::windows_core::PWSTR, pmatch: *mut OFFLINEFILES_PATHFILTER_MATCH) -> ::windows_core::Result<()> { @@ -1748,25 +1554,9 @@ impl IOfflineFilesEventsFilter { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesEventsFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesEventsFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesEventsFilter {} -impl ::core::fmt::Debug for IOfflineFilesEventsFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesEventsFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesEventsFilter { type Vtable = IOfflineFilesEventsFilter_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesEventsFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesEventsFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33fc4e1b_0716_40fa_ba65_6e62a84a846f); } @@ -1780,6 +1570,7 @@ pub struct IOfflineFilesEventsFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesFileItem(::windows_core::IUnknown); impl IOfflineFilesFileItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -1817,25 +1608,9 @@ impl IOfflineFilesFileItem { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesFileItem, ::windows_core::IUnknown, IOfflineFilesItem); -impl ::core::cmp::PartialEq for IOfflineFilesFileItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesFileItem {} -impl ::core::fmt::Debug for IOfflineFilesFileItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesFileItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesFileItem { type Vtable = IOfflineFilesFileItem_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesFileItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesFileItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dfadead_26c2_4eff_8a72_6b50723d9a00); } @@ -1854,6 +1629,7 @@ pub struct IOfflineFilesFileItem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesFileSysInfo(::windows_core::IUnknown); impl IOfflineFilesFileSysInfo { pub unsafe fn GetAttributes(&self, copy: OFFLINEFILES_ITEM_COPY) -> ::windows_core::Result { @@ -1871,25 +1647,9 @@ impl IOfflineFilesFileSysInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesFileSysInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesFileSysInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesFileSysInfo {} -impl ::core::fmt::Debug for IOfflineFilesFileSysInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesFileSysInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesFileSysInfo { type Vtable = IOfflineFilesFileSysInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesFileSysInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesFileSysInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc1a163f_7bfd_4d88_9c66_96ea9a6a3d6b); } @@ -1906,6 +1666,7 @@ pub struct IOfflineFilesFileSysInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesGhostInfo(::windows_core::IUnknown); impl IOfflineFilesGhostInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1916,25 +1677,9 @@ impl IOfflineFilesGhostInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesGhostInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesGhostInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesGhostInfo {} -impl ::core::fmt::Debug for IOfflineFilesGhostInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesGhostInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesGhostInfo { type Vtable = IOfflineFilesGhostInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesGhostInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesGhostInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b09d48c_8ab5_464f_a755_a59d92f99429); } @@ -1949,6 +1694,7 @@ pub struct IOfflineFilesGhostInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesItem(::windows_core::IUnknown); impl IOfflineFilesItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -1974,25 +1720,9 @@ impl IOfflineFilesItem { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesItem {} -impl ::core::fmt::Debug for IOfflineFilesItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesItem { type Vtable = IOfflineFilesItem_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a753da6_e044_4f12_a718_5d14d079a906); } @@ -2011,6 +1741,7 @@ pub struct IOfflineFilesItem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesItemContainer(::windows_core::IUnknown); impl IOfflineFilesItemContainer { pub unsafe fn EnumItems(&self, dwqueryflags: u32) -> ::windows_core::Result { @@ -2029,25 +1760,9 @@ impl IOfflineFilesItemContainer { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesItemContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesItemContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesItemContainer {} -impl ::core::fmt::Debug for IOfflineFilesItemContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesItemContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesItemContainer { type Vtable = IOfflineFilesItemContainer_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesItemContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesItemContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3836f049_9413_45dd_bf46_b5aaa82dc310); } @@ -2060,6 +1775,7 @@ pub struct IOfflineFilesItemContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesItemFilter(::windows_core::IUnknown); impl IOfflineFilesItemFilter { pub unsafe fn GetFilterFlags(&self, pullflags: *mut u64, pullmask: *mut u64) -> ::windows_core::Result<()> { @@ -2075,25 +1791,9 @@ impl IOfflineFilesItemFilter { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesItemFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesItemFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesItemFilter {} -impl ::core::fmt::Debug for IOfflineFilesItemFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesItemFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesItemFilter { type Vtable = IOfflineFilesItemFilter_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesItemFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesItemFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4b5a26c_dc05_4f20_ada4_551f1077be5c); } @@ -2110,6 +1810,7 @@ pub struct IOfflineFilesItemFilter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesPinInfo(::windows_core::IUnknown); impl IOfflineFilesPinInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2140,25 +1841,9 @@ impl IOfflineFilesPinInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesPinInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesPinInfo {} -impl ::core::fmt::Debug for IOfflineFilesPinInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesPinInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesPinInfo { type Vtable = IOfflineFilesPinInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesPinInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesPinInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b2b0655_b3fd_497d_adeb_bd156bc8355b); } @@ -2189,6 +1874,7 @@ pub struct IOfflineFilesPinInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesPinInfo2(::windows_core::IUnknown); impl IOfflineFilesPinInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2225,25 +1911,9 @@ impl IOfflineFilesPinInfo2 { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo2, ::windows_core::IUnknown, IOfflineFilesPinInfo); -impl ::core::cmp::PartialEq for IOfflineFilesPinInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesPinInfo2 {} -impl ::core::fmt::Debug for IOfflineFilesPinInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesPinInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesPinInfo2 { type Vtable = IOfflineFilesPinInfo2_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesPinInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesPinInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x623c58a2_42ed_4ad7_b69a_0f1b30a72d0d); } @@ -2258,6 +1928,7 @@ pub struct IOfflineFilesPinInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesProgress(::windows_core::IUnknown); impl IOfflineFilesProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2277,25 +1948,9 @@ impl IOfflineFilesProgress { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesProgress {} -impl ::core::fmt::Debug for IOfflineFilesProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesProgress { type Vtable = IOfflineFilesProgress_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfad63237_c55b_4911_9850_bcf96d4c979e); } @@ -2315,6 +1970,7 @@ pub struct IOfflineFilesProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesServerItem(::windows_core::IUnknown); impl IOfflineFilesServerItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -2340,25 +1996,9 @@ impl IOfflineFilesServerItem { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesServerItem, ::windows_core::IUnknown, IOfflineFilesItem); -impl ::core::cmp::PartialEq for IOfflineFilesServerItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesServerItem {} -impl ::core::fmt::Debug for IOfflineFilesServerItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesServerItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesServerItem { type Vtable = IOfflineFilesServerItem_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesServerItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesServerItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b1c9576_a92b_4151_8e9e_7c7b3ec2e016); } @@ -2369,6 +2009,7 @@ pub struct IOfflineFilesServerItem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSetting(::windows_core::IUnknown); impl IOfflineFilesSetting { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -2412,25 +2053,9 @@ impl IOfflineFilesSetting { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSetting, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesSetting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSetting {} -impl ::core::fmt::Debug for IOfflineFilesSetting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSetting").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSetting { type Vtable = IOfflineFilesSetting_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSetting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd871d3f7_f613_48a1_827e_7a34e560fff6); } @@ -2462,6 +2087,7 @@ pub struct IOfflineFilesSetting_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesShareInfo(::windows_core::IUnknown); impl IOfflineFilesShareInfo { pub unsafe fn GetShareItem(&self) -> ::windows_core::Result { @@ -2480,25 +2106,9 @@ impl IOfflineFilesShareInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesShareInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesShareInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesShareInfo {} -impl ::core::fmt::Debug for IOfflineFilesShareInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesShareInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesShareInfo { type Vtable = IOfflineFilesShareInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesShareInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesShareInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bcc43e7_31ce_4ca4_8ccd_1cff2dc494da); } @@ -2515,6 +2125,7 @@ pub struct IOfflineFilesShareInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesShareItem(::windows_core::IUnknown); impl IOfflineFilesShareItem { pub unsafe fn GetItemType(&self) -> ::windows_core::Result { @@ -2540,25 +2151,9 @@ impl IOfflineFilesShareItem { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesShareItem, ::windows_core::IUnknown, IOfflineFilesItem); -impl ::core::cmp::PartialEq for IOfflineFilesShareItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesShareItem {} -impl ::core::fmt::Debug for IOfflineFilesShareItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesShareItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesShareItem { type Vtable = IOfflineFilesShareItem_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesShareItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesShareItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbab7e48d_4804_41b5_a44d_0f199b06b145); } @@ -2569,6 +2164,7 @@ pub struct IOfflineFilesShareItem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSimpleProgress(::windows_core::IUnknown); impl IOfflineFilesSimpleProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2602,25 +2198,9 @@ impl IOfflineFilesSimpleProgress { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSimpleProgress, ::windows_core::IUnknown, IOfflineFilesProgress); -impl ::core::cmp::PartialEq for IOfflineFilesSimpleProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSimpleProgress {} -impl ::core::fmt::Debug for IOfflineFilesSimpleProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSimpleProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSimpleProgress { type Vtable = IOfflineFilesSimpleProgress_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSimpleProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSimpleProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc34f7f9b_c43d_4f9d_a776_c0eb6de5d401); } @@ -2633,6 +2213,7 @@ pub struct IOfflineFilesSimpleProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSuspend(::windows_core::IUnknown); impl IOfflineFilesSuspend { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2645,25 +2226,9 @@ impl IOfflineFilesSuspend { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSuspend, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesSuspend { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSuspend {} -impl ::core::fmt::Debug for IOfflineFilesSuspend { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSuspend").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSuspend { type Vtable = IOfflineFilesSuspend_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSuspend { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSuspend { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62c4560f_bc0b_48ca_ad9d_34cb528d99a9); } @@ -2678,6 +2243,7 @@ pub struct IOfflineFilesSuspend_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSuspendInfo(::windows_core::IUnknown); impl IOfflineFilesSuspendInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2687,25 +2253,9 @@ impl IOfflineFilesSuspendInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSuspendInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesSuspendInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSuspendInfo {} -impl ::core::fmt::Debug for IOfflineFilesSuspendInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSuspendInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSuspendInfo { type Vtable = IOfflineFilesSuspendInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSuspendInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSuspendInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa457c25b_4e9c_4b04_85af_8932ccd97889); } @@ -2720,6 +2270,7 @@ pub struct IOfflineFilesSuspendInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSyncConflictHandler(::windows_core::IUnknown); impl IOfflineFilesSyncConflictHandler { pub unsafe fn ResolveConflict(&self, pszpath: P0, fstateknown: u32, state: OFFLINEFILES_SYNC_STATE, fchangedetails: u32, pconflictresolution: *mut OFFLINEFILES_SYNC_CONFLICT_RESOLVE, ppsznewname: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> @@ -2730,25 +2281,9 @@ impl IOfflineFilesSyncConflictHandler { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSyncConflictHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesSyncConflictHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSyncConflictHandler {} -impl ::core::fmt::Debug for IOfflineFilesSyncConflictHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSyncConflictHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSyncConflictHandler { type Vtable = IOfflineFilesSyncConflictHandler_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSyncConflictHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSyncConflictHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6dd5092_c65c_46b6_97b8_fadd08e7e1be); } @@ -2760,6 +2295,7 @@ pub struct IOfflineFilesSyncConflictHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSyncErrorInfo(::windows_core::IUnknown); impl IOfflineFilesSyncErrorInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2804,25 +2340,9 @@ impl IOfflineFilesSyncErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorInfo, ::windows_core::IUnknown, IOfflineFilesErrorInfo); -impl ::core::cmp::PartialEq for IOfflineFilesSyncErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSyncErrorInfo {} -impl ::core::fmt::Debug for IOfflineFilesSyncErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSyncErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSyncErrorInfo { type Vtable = IOfflineFilesSyncErrorInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSyncErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSyncErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59f95e46_eb54_49d1_be76_de95458d01b0); } @@ -2846,6 +2366,7 @@ pub struct IOfflineFilesSyncErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSyncErrorItemInfo(::windows_core::IUnknown); impl IOfflineFilesSyncErrorItemInfo { pub unsafe fn GetFileAttributes(&self) -> ::windows_core::Result { @@ -2863,25 +2384,9 @@ impl IOfflineFilesSyncErrorItemInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorItemInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesSyncErrorItemInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSyncErrorItemInfo {} -impl ::core::fmt::Debug for IOfflineFilesSyncErrorItemInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSyncErrorItemInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSyncErrorItemInfo { type Vtable = IOfflineFilesSyncErrorItemInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSyncErrorItemInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSyncErrorItemInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecdbaf0d_6a18_4d55_8017_108f7660ba44); } @@ -2898,6 +2403,7 @@ pub struct IOfflineFilesSyncErrorItemInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesSyncProgress(::windows_core::IUnknown); impl IOfflineFilesSyncProgress { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2932,25 +2438,9 @@ impl IOfflineFilesSyncProgress { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesSyncProgress, ::windows_core::IUnknown, IOfflineFilesProgress); -impl ::core::cmp::PartialEq for IOfflineFilesSyncProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesSyncProgress {} -impl ::core::fmt::Debug for IOfflineFilesSyncProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesSyncProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesSyncProgress { type Vtable = IOfflineFilesSyncProgress_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesSyncProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesSyncProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6931f49a_6fc7_4c1b_b265_56793fc451b7); } @@ -2963,6 +2453,7 @@ pub struct IOfflineFilesSyncProgress_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOfflineFilesTransparentCacheInfo(::windows_core::IUnknown); impl IOfflineFilesTransparentCacheInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2973,25 +2464,9 @@ impl IOfflineFilesTransparentCacheInfo { } } ::windows_core::imp::interface_hierarchy!(IOfflineFilesTransparentCacheInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOfflineFilesTransparentCacheInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOfflineFilesTransparentCacheInfo {} -impl ::core::fmt::Debug for IOfflineFilesTransparentCacheInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOfflineFilesTransparentCacheInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOfflineFilesTransparentCacheInfo { type Vtable = IOfflineFilesTransparentCacheInfo_Vtbl; } -impl ::core::clone::Clone for IOfflineFilesTransparentCacheInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOfflineFilesTransparentCacheInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcaf4a01_5b68_4b56_a6a1_8d2786ede8e3); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs index 3323e752fa..6e1c1f7ef0 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs @@ -21,8 +21,8 @@ impl IAppxAppInstallerReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXmlDom: GetXmlDom:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -55,8 +55,8 @@ impl IAppxBlockMapBlock_Vtbl { GetCompressedSize: GetCompressedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -111,8 +111,8 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -193,8 +193,8 @@ impl IAppxBlockMapFile_Vtbl { ValidateFileHash: ValidateFileHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -318,8 +318,8 @@ impl IAppxBlockMapReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IAppxBundleFactory_Vtbl { CreateBundleManifestReader: CreateBundleManifestReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -401,8 +401,8 @@ impl IAppxBundleFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBundleReader2: CreateBundleReader2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -454,8 +454,8 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { GetPackageInfoItems: GetPackageInfoItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IAppxBundleManifestPackageInfo_Vtbl { GetResources: GetResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -658,8 +658,8 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { GetIsDefaultApplicablePackage: GetIsDefaultApplicablePackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -682,8 +682,8 @@ impl IAppxBundleManifestPackageInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetDeviceFamilies: GetTargetDeviceFamilies:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl IAppxBundleManifestPackageInfo4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsStub: GetIsStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IAppxBundleManifestReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -845,8 +845,8 @@ impl IAppxBundleManifestReader2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOptionalBundles: GetOptionalBundles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -924,8 +924,8 @@ impl IAppxBundleReader_Vtbl { GetPayloadPackage: GetPayloadPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -955,8 +955,8 @@ impl IAppxBundleWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -979,8 +979,8 @@ impl IAppxBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1010,8 +1010,8 @@ impl IAppxBundleWriter3_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IAppxBundleWriter4_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1088,8 +1088,8 @@ impl IAppxContentGroup_Vtbl { GetFiles: GetFiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IAppxContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1219,8 +1219,8 @@ impl IAppxContentGroupMapWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1275,8 +1275,8 @@ impl IAppxContentGroupsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1299,8 +1299,8 @@ impl IAppxDigestProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDigest: GetDigest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1330,8 +1330,8 @@ impl IAppxEncryptedBundleWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1354,8 +1354,8 @@ impl IAppxEncryptedBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1385,8 +1385,8 @@ impl IAppxEncryptedBundleWriter3_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1416,8 +1416,8 @@ impl IAppxEncryptedPackageWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IAppxEncryptedPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFilesEncrypted: AddPayloadFilesEncrypted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IAppxEncryptionFactory_Vtbl { CreateEncryptedBundleReader: CreateEncryptedBundleReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1564,8 +1564,8 @@ impl IAppxEncryptionFactory2_Vtbl { CreateEncryptedPackageWriter: CreateEncryptedPackageWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IAppxEncryptionFactory3_Vtbl { CreateEncryptedBundleWriter: CreateEncryptedBundleWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl IAppxEncryptionFactory4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncryptPackage: EncryptPackage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1685,8 +1685,8 @@ impl IAppxEncryptionFactory5_Vtbl { CreateEncryptedBundleReader2: CreateEncryptedBundleReader2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1767,8 +1767,8 @@ impl IAppxFactory_Vtbl { CreateValidatedBlockMapReader: CreateValidatedBlockMapReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1823,8 +1823,8 @@ impl IAppxFactory2_Vtbl { CreateContentGroupMapWriter: CreateContentGroupMapWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1879,8 +1879,8 @@ impl IAppxFactory3_Vtbl { CreateAppInstallerReader: CreateAppInstallerReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl IAppxFile_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IAppxFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IAppxManifestApplication_Vtbl { GetAppUserModelId: GetAppUserModelId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2113,8 +2113,8 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2169,8 +2169,8 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2225,8 +2225,8 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2278,8 +2278,8 @@ impl IAppxManifestDriverConstraint_Vtbl { GetMinDate: GetMinDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2334,8 +2334,8 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2390,8 +2390,8 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2414,8 +2414,8 @@ impl IAppxManifestDriverDependency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDriverConstraints: GetDriverConstraints:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2470,8 +2470,8 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2523,8 +2523,8 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IAppxManifestHostRuntimeDependency2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPackageFamilyName: GetPackageFamilyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IAppxManifestMainPackageDependency_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2712,8 +2712,8 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2752,8 +2752,8 @@ impl IAppxManifestOSPackageDependency_Vtbl { GetVersion: GetVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2795,8 +2795,8 @@ impl IAppxManifestOptionalPackageInfo_Vtbl { GetMainPackageName: GetMainPackageName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2851,8 +2851,8 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2904,8 +2904,8 @@ impl IAppxManifestPackageDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2931,8 +2931,8 @@ impl IAppxManifestPackageDependency2_Vtbl { GetMaxMajorVersionTested: GetMaxMajorVersionTested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl IAppxManifestPackageDependency3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsOptional: GetIsOptional:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3079,8 +3079,8 @@ impl IAppxManifestPackageId_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3106,8 +3106,8 @@ impl IAppxManifestPackageId2_Vtbl { } Self { base__: IAppxManifestPackageId_Vtbl::new::(), GetArchitecture2: GetArchitecture2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl IAppxManifestProperties_Vtbl { GetStringValue: GetStringValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl IAppxManifestQualifiedResource_Vtbl { GetDXFeatureLevel: GetDXFeatureLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3258,8 +3258,8 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3392,8 +3392,8 @@ impl IAppxManifestReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3419,8 +3419,8 @@ impl IAppxManifestReader2_Vtbl { } Self { base__: IAppxManifestReader_Vtbl::new::(), GetQualifiedResources: GetQualifiedResources:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3462,8 +3462,8 @@ impl IAppxManifestReader3_Vtbl { GetTargetDeviceFamilies: GetTargetDeviceFamilies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3489,8 +3489,8 @@ impl IAppxManifestReader4_Vtbl { } Self { base__: IAppxManifestReader3_Vtbl::new::(), GetOptionalPackageInfo: GetOptionalPackageInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3516,8 +3516,8 @@ impl IAppxManifestReader5_Vtbl { GetMainPackageDependencies: GetMainPackageDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3546,8 +3546,8 @@ impl IAppxManifestReader6_Vtbl { GetIsNonQualifiedResourcePackage: GetIsNonQualifiedResourcePackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3599,8 +3599,8 @@ impl IAppxManifestReader7_Vtbl { GetHostRuntimeDependencies: GetHostRuntimeDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3655,8 +3655,8 @@ impl IAppxManifestResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3711,8 +3711,8 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3764,8 +3764,8 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { GetMaxVersionTested: GetMaxVersionTested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3823,8 +3823,8 @@ impl IAppxPackageEditor_Vtbl { UpdatePackageManifest: UpdatePackageManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3902,8 +3902,8 @@ impl IAppxPackageReader_Vtbl { GetManifest: GetManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3933,8 +3933,8 @@ impl IAppxPackageWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3954,8 +3954,8 @@ impl IAppxPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3975,8 +3975,8 @@ impl IAppxPackageWriter3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFiles: AddPayloadFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4003,8 +4003,8 @@ impl IAppxPackagingDiagnosticEventSink_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl IAppxPackagingDiagnosticEventSinkManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSinkForProcess: SetSinkForProcess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4061,7 +4061,7 @@ impl IAppxSourceContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index be35320fa3..49cfbc09a8 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -582,6 +582,7 @@ where } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxAppInstallerReader(::windows_core::IUnknown); impl IAppxAppInstallerReader { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] @@ -592,25 +593,9 @@ impl IAppxAppInstallerReader { } } ::windows_core::imp::interface_hierarchy!(IAppxAppInstallerReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxAppInstallerReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxAppInstallerReader {} -impl ::core::fmt::Debug for IAppxAppInstallerReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxAppInstallerReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxAppInstallerReader { type Vtable = IAppxAppInstallerReader_Vtbl; } -impl ::core::clone::Clone for IAppxAppInstallerReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxAppInstallerReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf35bc38c_1d2f_43db_a1f4_586430d1fed2); } @@ -625,6 +610,7 @@ pub struct IAppxAppInstallerReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBlockMapBlock(::windows_core::IUnknown); impl IAppxBlockMapBlock { pub unsafe fn GetHash(&self, buffersize: *mut u32, buffer: *mut *mut u8) -> ::windows_core::Result<()> { @@ -636,25 +622,9 @@ impl IAppxBlockMapBlock { } } ::windows_core::imp::interface_hierarchy!(IAppxBlockMapBlock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBlockMapBlock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBlockMapBlock {} -impl ::core::fmt::Debug for IAppxBlockMapBlock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBlockMapBlock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBlockMapBlock { type Vtable = IAppxBlockMapBlock_Vtbl; } -impl ::core::clone::Clone for IAppxBlockMapBlock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBlockMapBlock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75cf3930_3244_4fe0_a8c8_e0bcb270b889); } @@ -667,6 +637,7 @@ pub struct IAppxBlockMapBlock_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBlockMapBlocksEnumerator(::windows_core::IUnknown); impl IAppxBlockMapBlocksEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -687,25 +658,9 @@ impl IAppxBlockMapBlocksEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxBlockMapBlocksEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBlockMapBlocksEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBlockMapBlocksEnumerator {} -impl ::core::fmt::Debug for IAppxBlockMapBlocksEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBlockMapBlocksEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBlockMapBlocksEnumerator { type Vtable = IAppxBlockMapBlocksEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxBlockMapBlocksEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBlockMapBlocksEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b429b5b_36ef_479e_b9eb_0c1482b49e16); } @@ -725,6 +680,7 @@ pub struct IAppxBlockMapBlocksEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBlockMapFile(::windows_core::IUnknown); impl IAppxBlockMapFile { pub unsafe fn GetBlocks(&self) -> ::windows_core::Result { @@ -754,25 +710,9 @@ impl IAppxBlockMapFile { } } ::windows_core::imp::interface_hierarchy!(IAppxBlockMapFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBlockMapFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBlockMapFile {} -impl ::core::fmt::Debug for IAppxBlockMapFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBlockMapFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBlockMapFile { type Vtable = IAppxBlockMapFile_Vtbl; } -impl ::core::clone::Clone for IAppxBlockMapFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBlockMapFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x277672ac_4f63_42c1_8abc_beae3600eb59); } @@ -791,6 +731,7 @@ pub struct IAppxBlockMapFile_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBlockMapFilesEnumerator(::windows_core::IUnknown); impl IAppxBlockMapFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -811,25 +752,9 @@ impl IAppxBlockMapFilesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxBlockMapFilesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBlockMapFilesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBlockMapFilesEnumerator {} -impl ::core::fmt::Debug for IAppxBlockMapFilesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBlockMapFilesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBlockMapFilesEnumerator { type Vtable = IAppxBlockMapFilesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxBlockMapFilesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBlockMapFilesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02b856a2_4262_4070_bacb_1a8cbbc42305); } @@ -849,6 +774,7 @@ pub struct IAppxBlockMapFilesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBlockMapReader(::windows_core::IUnknown); impl IAppxBlockMapReader { pub unsafe fn GetFile(&self, filename: P0) -> ::windows_core::Result @@ -876,25 +802,9 @@ impl IAppxBlockMapReader { } } ::windows_core::imp::interface_hierarchy!(IAppxBlockMapReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBlockMapReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBlockMapReader {} -impl ::core::fmt::Debug for IAppxBlockMapReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBlockMapReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBlockMapReader { type Vtable = IAppxBlockMapReader_Vtbl; } -impl ::core::clone::Clone for IAppxBlockMapReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBlockMapReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5efec991_bca3_42d1_9ec2_e92d609ec22a); } @@ -915,6 +825,7 @@ pub struct IAppxBlockMapReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleFactory(::windows_core::IUnknown); impl IAppxBundleFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -946,25 +857,9 @@ impl IAppxBundleFactory { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleFactory {} -impl ::core::fmt::Debug for IAppxBundleFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleFactory { type Vtable = IAppxBundleFactory_Vtbl; } -impl ::core::clone::Clone for IAppxBundleFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbba65864_965f_4a5f_855f_f074bdbf3a7b); } @@ -987,6 +882,7 @@ pub struct IAppxBundleFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleFactory2(::windows_core::IUnknown); impl IAppxBundleFactory2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1001,25 +897,9 @@ impl IAppxBundleFactory2 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleFactory2 {} -impl ::core::fmt::Debug for IAppxBundleFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleFactory2 { type Vtable = IAppxBundleFactory2_Vtbl; } -impl ::core::clone::Clone for IAppxBundleFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7325b83d_0185_42c4_82ac_be34ab1a2a8a); } @@ -1034,6 +914,7 @@ pub struct IAppxBundleFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestOptionalBundleInfo(::windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfo { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -1050,25 +931,9 @@ impl IAppxBundleManifestOptionalBundleInfo { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestOptionalBundleInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestOptionalBundleInfo {} -impl ::core::fmt::Debug for IAppxBundleManifestOptionalBundleInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestOptionalBundleInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestOptionalBundleInfo { type Vtable = IAppxBundleManifestOptionalBundleInfo_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestOptionalBundleInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestOptionalBundleInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x515bf2e8_bcb0_4d69_8c48_e383147b6e12); } @@ -1082,6 +947,7 @@ pub struct IAppxBundleManifestOptionalBundleInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestOptionalBundleInfoEnumerator(::windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfoEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -1102,25 +968,9 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestOptionalBundleInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestOptionalBundleInfoEnumerator {} -impl ::core::fmt::Debug for IAppxBundleManifestOptionalBundleInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestOptionalBundleInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestOptionalBundleInfoEnumerator { type Vtable = IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestOptionalBundleInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestOptionalBundleInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a178793_f97e_46ac_aaca_dd5ba4c177c8); } @@ -1140,6 +990,7 @@ pub struct IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestPackageInfo(::windows_core::IUnknown); impl IAppxBundleManifestPackageInfo { pub unsafe fn GetPackageType(&self) -> ::windows_core::Result { @@ -1168,25 +1019,9 @@ impl IAppxBundleManifestPackageInfo { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestPackageInfo {} -impl ::core::fmt::Debug for IAppxBundleManifestPackageInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestPackageInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestPackageInfo { type Vtable = IAppxBundleManifestPackageInfo_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestPackageInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestPackageInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54cd06c1_268f_40bb_8ed2_757a9ebaec8d); } @@ -1203,6 +1038,7 @@ pub struct IAppxBundleManifestPackageInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestPackageInfo2(::windows_core::IUnknown); impl IAppxBundleManifestPackageInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1225,25 +1061,9 @@ impl IAppxBundleManifestPackageInfo2 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestPackageInfo2 {} -impl ::core::fmt::Debug for IAppxBundleManifestPackageInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestPackageInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestPackageInfo2 { type Vtable = IAppxBundleManifestPackageInfo2_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestPackageInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestPackageInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44c2acbc_b2cf_4ccb_bbdb_9c6da8c3bc9e); } @@ -1266,6 +1086,7 @@ pub struct IAppxBundleManifestPackageInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestPackageInfo3(::windows_core::IUnknown); impl IAppxBundleManifestPackageInfo3 { pub unsafe fn GetTargetDeviceFamilies(&self) -> ::windows_core::Result { @@ -1274,25 +1095,9 @@ impl IAppxBundleManifestPackageInfo3 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestPackageInfo3 {} -impl ::core::fmt::Debug for IAppxBundleManifestPackageInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestPackageInfo3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestPackageInfo3 { type Vtable = IAppxBundleManifestPackageInfo3_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestPackageInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestPackageInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ba74b98_bb74_4296_80d0_5f4256a99675); } @@ -1304,6 +1109,7 @@ pub struct IAppxBundleManifestPackageInfo3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestPackageInfo4(::windows_core::IUnknown); impl IAppxBundleManifestPackageInfo4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1314,25 +1120,9 @@ impl IAppxBundleManifestPackageInfo4 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfo4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestPackageInfo4 {} -impl ::core::fmt::Debug for IAppxBundleManifestPackageInfo4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestPackageInfo4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestPackageInfo4 { type Vtable = IAppxBundleManifestPackageInfo4_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestPackageInfo4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestPackageInfo4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5da6f13d_a8a7_4532_857c_1393d659371d); } @@ -1347,6 +1137,7 @@ pub struct IAppxBundleManifestPackageInfo4_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestPackageInfoEnumerator(::windows_core::IUnknown); impl IAppxBundleManifestPackageInfoEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -1367,25 +1158,9 @@ impl IAppxBundleManifestPackageInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestPackageInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestPackageInfoEnumerator {} -impl ::core::fmt::Debug for IAppxBundleManifestPackageInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestPackageInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestPackageInfoEnumerator { type Vtable = IAppxBundleManifestPackageInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestPackageInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestPackageInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9b856ee_49a6_4e19_b2b0_6a2406d63a32); } @@ -1405,6 +1180,7 @@ pub struct IAppxBundleManifestPackageInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestReader(::windows_core::IUnknown); impl IAppxBundleManifestReader { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -1423,25 +1199,9 @@ impl IAppxBundleManifestReader { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestReader {} -impl ::core::fmt::Debug for IAppxBundleManifestReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestReader { type Vtable = IAppxBundleManifestReader_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf0ebbc1_cc99_4106_91eb_e67462e04fb0); } @@ -1458,6 +1218,7 @@ pub struct IAppxBundleManifestReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleManifestReader2(::windows_core::IUnknown); impl IAppxBundleManifestReader2 { pub unsafe fn GetOptionalBundles(&self) -> ::windows_core::Result { @@ -1466,25 +1227,9 @@ impl IAppxBundleManifestReader2 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleManifestReader2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleManifestReader2 {} -impl ::core::fmt::Debug for IAppxBundleManifestReader2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleManifestReader2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleManifestReader2 { type Vtable = IAppxBundleManifestReader2_Vtbl; } -impl ::core::clone::Clone for IAppxBundleManifestReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleManifestReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5517df70_033f_4af2_8213_87d766805c02); } @@ -1496,6 +1241,7 @@ pub struct IAppxBundleManifestReader2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleReader(::windows_core::IUnknown); impl IAppxBundleReader { pub unsafe fn GetFootprintFile(&self, filetype: APPX_BUNDLE_FOOTPRINT_FILE_TYPE) -> ::windows_core::Result { @@ -1523,25 +1269,9 @@ impl IAppxBundleReader { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleReader {} -impl ::core::fmt::Debug for IAppxBundleReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleReader { type Vtable = IAppxBundleReader_Vtbl; } -impl ::core::clone::Clone for IAppxBundleReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd75b8c0_ba76_43b0_ae0f_68656a1dc5c8); } @@ -1557,6 +1287,7 @@ pub struct IAppxBundleReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleWriter(::windows_core::IUnknown); impl IAppxBundleWriter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1573,25 +1304,9 @@ impl IAppxBundleWriter { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleWriter {} -impl ::core::fmt::Debug for IAppxBundleWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleWriter { type Vtable = IAppxBundleWriter_Vtbl; } -impl ::core::clone::Clone for IAppxBundleWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec446fe8_bfec_4c64_ab4f_49f038f0c6d2); } @@ -1607,6 +1322,7 @@ pub struct IAppxBundleWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleWriter2(::windows_core::IUnknown); impl IAppxBundleWriter2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1620,25 +1336,9 @@ impl IAppxBundleWriter2 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleWriter2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleWriter2 {} -impl ::core::fmt::Debug for IAppxBundleWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleWriter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleWriter2 { type Vtable = IAppxBundleWriter2_Vtbl; } -impl ::core::clone::Clone for IAppxBundleWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d8fe971_01cc_49a0_b685_233851279962); } @@ -1653,6 +1353,7 @@ pub struct IAppxBundleWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleWriter3(::windows_core::IUnknown); impl IAppxBundleWriter3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1672,25 +1373,9 @@ impl IAppxBundleWriter3 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleWriter3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleWriter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleWriter3 {} -impl ::core::fmt::Debug for IAppxBundleWriter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleWriter3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleWriter3 { type Vtable = IAppxBundleWriter3_Vtbl; } -impl ::core::clone::Clone for IAppxBundleWriter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleWriter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad711152_f969_4193_82d5_9ddf2786d21a); } @@ -1706,6 +1391,7 @@ pub struct IAppxBundleWriter3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxBundleWriter4(::windows_core::IUnknown); impl IAppxBundleWriter4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -1740,25 +1426,9 @@ impl IAppxBundleWriter4 { } } ::windows_core::imp::interface_hierarchy!(IAppxBundleWriter4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxBundleWriter4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxBundleWriter4 {} -impl ::core::fmt::Debug for IAppxBundleWriter4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxBundleWriter4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxBundleWriter4 { type Vtable = IAppxBundleWriter4_Vtbl; } -impl ::core::clone::Clone for IAppxBundleWriter4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxBundleWriter4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cd9d523_5009_4c01_9882_dc029fbd47a3); } @@ -1781,6 +1451,7 @@ pub struct IAppxBundleWriter4_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxContentGroup(::windows_core::IUnknown); impl IAppxContentGroup { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -1793,25 +1464,9 @@ impl IAppxContentGroup { } } ::windows_core::imp::interface_hierarchy!(IAppxContentGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxContentGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxContentGroup {} -impl ::core::fmt::Debug for IAppxContentGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxContentGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxContentGroup { type Vtable = IAppxContentGroup_Vtbl; } -impl ::core::clone::Clone for IAppxContentGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxContentGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x328f6468_c04f_4e3c_b6fa_6b8d27f3003a); } @@ -1824,6 +1479,7 @@ pub struct IAppxContentGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxContentGroupFilesEnumerator(::windows_core::IUnknown); impl IAppxContentGroupFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -1844,25 +1500,9 @@ impl IAppxContentGroupFilesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxContentGroupFilesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxContentGroupFilesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxContentGroupFilesEnumerator {} -impl ::core::fmt::Debug for IAppxContentGroupFilesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxContentGroupFilesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxContentGroupFilesEnumerator { type Vtable = IAppxContentGroupFilesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxContentGroupFilesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxContentGroupFilesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a09a2fd_7440_44eb_8c84_848205a6a1cc); } @@ -1882,6 +1522,7 @@ pub struct IAppxContentGroupFilesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxContentGroupMapReader(::windows_core::IUnknown); impl IAppxContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> ::windows_core::Result { @@ -1894,25 +1535,9 @@ impl IAppxContentGroupMapReader { } } ::windows_core::imp::interface_hierarchy!(IAppxContentGroupMapReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxContentGroupMapReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxContentGroupMapReader {} -impl ::core::fmt::Debug for IAppxContentGroupMapReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxContentGroupMapReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxContentGroupMapReader { type Vtable = IAppxContentGroupMapReader_Vtbl; } -impl ::core::clone::Clone for IAppxContentGroupMapReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxContentGroupMapReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x418726d8_dd99_4f5d_9886_157add20de01); } @@ -1925,6 +1550,7 @@ pub struct IAppxContentGroupMapReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxContentGroupMapWriter(::windows_core::IUnknown); impl IAppxContentGroupMapWriter { pub unsafe fn AddAutomaticGroup(&self, groupname: P0) -> ::windows_core::Result<()> @@ -1944,25 +1570,9 @@ impl IAppxContentGroupMapWriter { } } ::windows_core::imp::interface_hierarchy!(IAppxContentGroupMapWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxContentGroupMapWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxContentGroupMapWriter {} -impl ::core::fmt::Debug for IAppxContentGroupMapWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxContentGroupMapWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxContentGroupMapWriter { type Vtable = IAppxContentGroupMapWriter_Vtbl; } -impl ::core::clone::Clone for IAppxContentGroupMapWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxContentGroupMapWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd07ab776_a9de_4798_8c14_3db31e687c78); } @@ -1976,6 +1586,7 @@ pub struct IAppxContentGroupMapWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxContentGroupsEnumerator(::windows_core::IUnknown); impl IAppxContentGroupsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -1996,25 +1607,9 @@ impl IAppxContentGroupsEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxContentGroupsEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxContentGroupsEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxContentGroupsEnumerator {} -impl ::core::fmt::Debug for IAppxContentGroupsEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxContentGroupsEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxContentGroupsEnumerator { type Vtable = IAppxContentGroupsEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxContentGroupsEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxContentGroupsEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3264e477_16d1_4d63_823e_7d2984696634); } @@ -2034,6 +1629,7 @@ pub struct IAppxContentGroupsEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxDigestProvider(::windows_core::IUnknown); impl IAppxDigestProvider { pub unsafe fn GetDigest(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -2042,25 +1638,9 @@ impl IAppxDigestProvider { } } ::windows_core::imp::interface_hierarchy!(IAppxDigestProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxDigestProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxDigestProvider {} -impl ::core::fmt::Debug for IAppxDigestProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxDigestProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxDigestProvider { type Vtable = IAppxDigestProvider_Vtbl; } -impl ::core::clone::Clone for IAppxDigestProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxDigestProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fe2702b_7640_4659_8e6c_349e43c4cdbd); } @@ -2072,6 +1652,7 @@ pub struct IAppxDigestProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptedBundleWriter(::windows_core::IUnknown); impl IAppxEncryptedBundleWriter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2088,25 +1669,9 @@ impl IAppxEncryptedBundleWriter { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptedBundleWriter {} -impl ::core::fmt::Debug for IAppxEncryptedBundleWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptedBundleWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptedBundleWriter { type Vtable = IAppxEncryptedBundleWriter_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptedBundleWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptedBundleWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80b0902f_7bf0_4117_b8c6_4279ef81ee77); } @@ -2122,6 +1687,7 @@ pub struct IAppxEncryptedBundleWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptedBundleWriter2(::windows_core::IUnknown); impl IAppxEncryptedBundleWriter2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2130,30 +1696,14 @@ impl IAppxEncryptedBundleWriter2 { where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, - { - (::windows_core::Interface::vtable(self).AddExternalPackageReference)(::windows_core::Interface::as_raw(self), filename.into_param().abi(), inputstream.into_param().abi()).ok() - } -} -::windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptedBundleWriter2 {} -impl ::core::fmt::Debug for IAppxEncryptedBundleWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptedBundleWriter2").field(&self.0).finish() + { + (::windows_core::Interface::vtable(self).AddExternalPackageReference)(::windows_core::Interface::as_raw(self), filename.into_param().abi(), inputstream.into_param().abi()).ok() } } +::windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter2, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppxEncryptedBundleWriter2 { type Vtable = IAppxEncryptedBundleWriter2_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptedBundleWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptedBundleWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe644be82_f0fa_42b8_a956_8d1cb48ee379); } @@ -2168,6 +1718,7 @@ pub struct IAppxEncryptedBundleWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptedBundleWriter3(::windows_core::IUnknown); impl IAppxEncryptedBundleWriter3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2192,25 +1743,9 @@ impl IAppxEncryptedBundleWriter3 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptedBundleWriter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptedBundleWriter3 {} -impl ::core::fmt::Debug for IAppxEncryptedBundleWriter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptedBundleWriter3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptedBundleWriter3 { type Vtable = IAppxEncryptedBundleWriter3_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptedBundleWriter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptedBundleWriter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d34deb3_5cae_4dd3_977c_504932a51d31); } @@ -2229,6 +1764,7 @@ pub struct IAppxEncryptedBundleWriter3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptedPackageWriter(::windows_core::IUnknown); impl IAppxEncryptedPackageWriter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2245,25 +1781,9 @@ impl IAppxEncryptedPackageWriter { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptedPackageWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptedPackageWriter {} -impl ::core::fmt::Debug for IAppxEncryptedPackageWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptedPackageWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptedPackageWriter { type Vtable = IAppxEncryptedPackageWriter_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptedPackageWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptedPackageWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf43d0b0b_1379_40e2_9b29_682ea2bf42af); } @@ -2279,6 +1799,7 @@ pub struct IAppxEncryptedPackageWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptedPackageWriter2(::windows_core::IUnknown); impl IAppxEncryptedPackageWriter2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2288,25 +1809,9 @@ impl IAppxEncryptedPackageWriter2 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptedPackageWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptedPackageWriter2 {} -impl ::core::fmt::Debug for IAppxEncryptedPackageWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptedPackageWriter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptedPackageWriter2 { type Vtable = IAppxEncryptedPackageWriter2_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptedPackageWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptedPackageWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e475447_3a25_40b5_8ad2_f953ae50c92d); } @@ -2321,6 +1826,7 @@ pub struct IAppxEncryptedPackageWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptionFactory(::windows_core::IUnknown); impl IAppxEncryptionFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2398,25 +1904,9 @@ impl IAppxEncryptionFactory { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptionFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptionFactory {} -impl ::core::fmt::Debug for IAppxEncryptionFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptionFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptionFactory { type Vtable = IAppxEncryptionFactory_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80e8e04d_8c88_44ae_a011_7cadf6fb2e72); } @@ -2459,6 +1949,7 @@ pub struct IAppxEncryptionFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptionFactory2(::windows_core::IUnknown); impl IAppxEncryptionFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2474,25 +1965,9 @@ impl IAppxEncryptionFactory2 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptionFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptionFactory2 {} -impl ::core::fmt::Debug for IAppxEncryptionFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptionFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptionFactory2 { type Vtable = IAppxEncryptionFactory2_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptionFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptionFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1b11eee_c4ba_4ab2_a55d_d015fe8ff64f); } @@ -2507,6 +1982,7 @@ pub struct IAppxEncryptionFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptionFactory3(::windows_core::IUnknown); impl IAppxEncryptionFactory3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2549,25 +2025,9 @@ impl IAppxEncryptionFactory3 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptionFactory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptionFactory3 {} -impl ::core::fmt::Debug for IAppxEncryptionFactory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptionFactory3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptionFactory3 { type Vtable = IAppxEncryptionFactory3_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptionFactory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptionFactory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09edca37_cd64_47d6_b7e8_1cb11d4f7e05); } @@ -2594,6 +2054,7 @@ pub struct IAppxEncryptionFactory3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptionFactory4(::windows_core::IUnknown); impl IAppxEncryptionFactory4 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2607,25 +2068,9 @@ impl IAppxEncryptionFactory4 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptionFactory4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptionFactory4 {} -impl ::core::fmt::Debug for IAppxEncryptionFactory4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptionFactory4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptionFactory4 { type Vtable = IAppxEncryptionFactory4_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptionFactory4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptionFactory4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa879611f_12fd_41fe_85d5_06ae779bbaf5); } @@ -2640,6 +2085,7 @@ pub struct IAppxEncryptionFactory4_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxEncryptionFactory5(::windows_core::IUnknown); impl IAppxEncryptionFactory5 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2664,25 +2110,9 @@ impl IAppxEncryptionFactory5 { } } ::windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory5, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxEncryptionFactory5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxEncryptionFactory5 {} -impl ::core::fmt::Debug for IAppxEncryptionFactory5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxEncryptionFactory5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxEncryptionFactory5 { type Vtable = IAppxEncryptionFactory5_Vtbl; } -impl ::core::clone::Clone for IAppxEncryptionFactory5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxEncryptionFactory5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68d6e77a_f446_480f_b0f0_d91a24c60746); } @@ -2701,6 +2131,7 @@ pub struct IAppxEncryptionFactory5_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxFactory(::windows_core::IUnknown); impl IAppxFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -2751,25 +2182,9 @@ impl IAppxFactory { } } ::windows_core::imp::interface_hierarchy!(IAppxFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxFactory {} -impl ::core::fmt::Debug for IAppxFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxFactory { type Vtable = IAppxFactory_Vtbl; } -impl ::core::clone::Clone for IAppxFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeb94909_e451_438b_b5a7_d79e767b75d8); } @@ -2800,6 +2215,7 @@ pub struct IAppxFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxFactory2(::windows_core::IUnknown); impl IAppxFactory2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2831,25 +2247,9 @@ impl IAppxFactory2 { } } ::windows_core::imp::interface_hierarchy!(IAppxFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxFactory2 {} -impl ::core::fmt::Debug for IAppxFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxFactory2 { type Vtable = IAppxFactory2_Vtbl; } -impl ::core::clone::Clone for IAppxFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1346df2_c282_4e22_b918_743a929a8d55); } @@ -2872,6 +2272,7 @@ pub struct IAppxFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxFactory3(::windows_core::IUnknown); impl IAppxFactory3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2906,25 +2307,9 @@ impl IAppxFactory3 { } } ::windows_core::imp::interface_hierarchy!(IAppxFactory3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxFactory3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxFactory3 {} -impl ::core::fmt::Debug for IAppxFactory3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxFactory3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxFactory3 { type Vtable = IAppxFactory3_Vtbl; } -impl ::core::clone::Clone for IAppxFactory3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxFactory3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x776b2c05_e21d_4e24_ba1a_cd529a8bfdbb); } @@ -2947,6 +2332,7 @@ pub struct IAppxFactory3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxFile(::windows_core::IUnknown); impl IAppxFile { pub unsafe fn GetCompressionOption(&self) -> ::windows_core::Result { @@ -2973,25 +2359,9 @@ impl IAppxFile { } } ::windows_core::imp::interface_hierarchy!(IAppxFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxFile {} -impl ::core::fmt::Debug for IAppxFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxFile { type Vtable = IAppxFile_Vtbl; } -impl ::core::clone::Clone for IAppxFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91df827b_94fd_468f_827b_57f41b2f6f2e); } @@ -3010,6 +2380,7 @@ pub struct IAppxFile_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxFilesEnumerator(::windows_core::IUnknown); impl IAppxFilesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3030,25 +2401,9 @@ impl IAppxFilesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxFilesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxFilesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxFilesEnumerator {} -impl ::core::fmt::Debug for IAppxFilesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxFilesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxFilesEnumerator { type Vtable = IAppxFilesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxFilesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxFilesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf007eeaf_9831_411c_9847_917cdc62d1fe); } @@ -3068,6 +2423,7 @@ pub struct IAppxFilesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestApplication(::windows_core::IUnknown); impl IAppxManifestApplication { pub unsafe fn GetStringValue(&self, name: P0) -> ::windows_core::Result<::windows_core::PWSTR> @@ -3083,25 +2439,9 @@ impl IAppxManifestApplication { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestApplication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestApplication {} -impl ::core::fmt::Debug for IAppxManifestApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestApplication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestApplication { type Vtable = IAppxManifestApplication_Vtbl; } -impl ::core::clone::Clone for IAppxManifestApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5da89bf4_3773_46be_b650_7e744863b7e8); } @@ -3114,6 +2454,7 @@ pub struct IAppxManifestApplication_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestApplicationsEnumerator(::windows_core::IUnknown); impl IAppxManifestApplicationsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3134,25 +2475,9 @@ impl IAppxManifestApplicationsEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestApplicationsEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestApplicationsEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestApplicationsEnumerator {} -impl ::core::fmt::Debug for IAppxManifestApplicationsEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestApplicationsEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestApplicationsEnumerator { type Vtable = IAppxManifestApplicationsEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestApplicationsEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestApplicationsEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9eb8a55a_f04b_4d0d_808d_686185d4847a); } @@ -3172,6 +2497,7 @@ pub struct IAppxManifestApplicationsEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestCapabilitiesEnumerator(::windows_core::IUnknown); impl IAppxManifestCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3192,25 +2518,9 @@ impl IAppxManifestCapabilitiesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestCapabilitiesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestCapabilitiesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestCapabilitiesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestCapabilitiesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestCapabilitiesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestCapabilitiesEnumerator { type Vtable = IAppxManifestCapabilitiesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestCapabilitiesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestCapabilitiesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11d22258_f470_42c1_b291_8361c5437e41); } @@ -3230,6 +2540,7 @@ pub struct IAppxManifestCapabilitiesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestDeviceCapabilitiesEnumerator(::windows_core::IUnknown); impl IAppxManifestDeviceCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3250,25 +2561,9 @@ impl IAppxManifestDeviceCapabilitiesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestDeviceCapabilitiesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestDeviceCapabilitiesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestDeviceCapabilitiesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestDeviceCapabilitiesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestDeviceCapabilitiesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestDeviceCapabilitiesEnumerator { type Vtable = IAppxManifestDeviceCapabilitiesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestDeviceCapabilitiesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestDeviceCapabilitiesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30204541_427b_4a1c_bacf_655bf463a540); } @@ -3288,6 +2583,7 @@ pub struct IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestDriverConstraint(::windows_core::IUnknown); impl IAppxManifestDriverConstraint { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3304,25 +2600,9 @@ impl IAppxManifestDriverConstraint { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestDriverConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestDriverConstraint {} -impl ::core::fmt::Debug for IAppxManifestDriverConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestDriverConstraint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestDriverConstraint { type Vtable = IAppxManifestDriverConstraint_Vtbl; } -impl ::core::clone::Clone for IAppxManifestDriverConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestDriverConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc031bee4_bbcc_48ea_a237_c34045c80a07); } @@ -3336,6 +2616,7 @@ pub struct IAppxManifestDriverConstraint_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestDriverConstraintsEnumerator(::windows_core::IUnknown); impl IAppxManifestDriverConstraintsEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3356,25 +2637,9 @@ impl IAppxManifestDriverConstraintsEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraintsEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestDriverConstraintsEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestDriverConstraintsEnumerator {} -impl ::core::fmt::Debug for IAppxManifestDriverConstraintsEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestDriverConstraintsEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestDriverConstraintsEnumerator { type Vtable = IAppxManifestDriverConstraintsEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestDriverConstraintsEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestDriverConstraintsEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd402b2d1_f600_49e0_95e6_975d8da13d89); } @@ -3394,6 +2659,7 @@ pub struct IAppxManifestDriverConstraintsEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestDriverDependenciesEnumerator(::windows_core::IUnknown); impl IAppxManifestDriverDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3414,25 +2680,9 @@ impl IAppxManifestDriverDependenciesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependenciesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestDriverDependenciesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestDriverDependenciesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestDriverDependenciesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestDriverDependenciesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestDriverDependenciesEnumerator { type Vtable = IAppxManifestDriverDependenciesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestDriverDependenciesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestDriverDependenciesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe039db2_467f_4755_8404_8f5eb6865b33); } @@ -3452,6 +2702,7 @@ pub struct IAppxManifestDriverDependenciesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestDriverDependency(::windows_core::IUnknown); impl IAppxManifestDriverDependency { pub unsafe fn GetDriverConstraints(&self) -> ::windows_core::Result { @@ -3460,25 +2711,9 @@ impl IAppxManifestDriverDependency { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestDriverDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestDriverDependency {} -impl ::core::fmt::Debug for IAppxManifestDriverDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestDriverDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestDriverDependency { type Vtable = IAppxManifestDriverDependency_Vtbl; } -impl ::core::clone::Clone for IAppxManifestDriverDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestDriverDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1210cb94_5a92_4602_be24_79f318af4af9); } @@ -3490,6 +2725,7 @@ pub struct IAppxManifestDriverDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestHostRuntimeDependenciesEnumerator(::windows_core::IUnknown); impl IAppxManifestHostRuntimeDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3510,25 +2746,9 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependenciesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependenciesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestHostRuntimeDependenciesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestHostRuntimeDependenciesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestHostRuntimeDependenciesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestHostRuntimeDependenciesEnumerator { type Vtable = IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestHostRuntimeDependenciesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestHostRuntimeDependenciesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6427a646_7f49_433e_b1a6_0da309f6885a); } @@ -3548,6 +2768,7 @@ pub struct IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestHostRuntimeDependency(::windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3564,25 +2785,9 @@ impl IAppxManifestHostRuntimeDependency { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestHostRuntimeDependency {} -impl ::core::fmt::Debug for IAppxManifestHostRuntimeDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestHostRuntimeDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestHostRuntimeDependency { type Vtable = IAppxManifestHostRuntimeDependency_Vtbl; } -impl ::core::clone::Clone for IAppxManifestHostRuntimeDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestHostRuntimeDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3455d234_8414_410d_95c7_7b35255b8391); } @@ -3596,6 +2801,7 @@ pub struct IAppxManifestHostRuntimeDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestHostRuntimeDependency2(::windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency2 { pub unsafe fn GetPackageFamilyName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3604,25 +2810,9 @@ impl IAppxManifestHostRuntimeDependency2 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestHostRuntimeDependency2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestHostRuntimeDependency2 {} -impl ::core::fmt::Debug for IAppxManifestHostRuntimeDependency2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestHostRuntimeDependency2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestHostRuntimeDependency2 { type Vtable = IAppxManifestHostRuntimeDependency2_Vtbl; } -impl ::core::clone::Clone for IAppxManifestHostRuntimeDependency2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestHostRuntimeDependency2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc26f23a8_ee10_4ad6_b898_2b4d7aebfe6a); } @@ -3634,6 +2824,7 @@ pub struct IAppxManifestHostRuntimeDependency2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestMainPackageDependenciesEnumerator(::windows_core::IUnknown); impl IAppxManifestMainPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3654,25 +2845,9 @@ impl IAppxManifestMainPackageDependenciesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependenciesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestMainPackageDependenciesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestMainPackageDependenciesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestMainPackageDependenciesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestMainPackageDependenciesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestMainPackageDependenciesEnumerator { type Vtable = IAppxManifestMainPackageDependenciesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestMainPackageDependenciesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestMainPackageDependenciesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa99c4f00_51d2_4f0f_ba46_7ed5255ebdff); } @@ -3692,6 +2867,7 @@ pub struct IAppxManifestMainPackageDependenciesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestMainPackageDependency(::windows_core::IUnknown); impl IAppxManifestMainPackageDependency { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3708,25 +2884,9 @@ impl IAppxManifestMainPackageDependency { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestMainPackageDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestMainPackageDependency {} -impl ::core::fmt::Debug for IAppxManifestMainPackageDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestMainPackageDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestMainPackageDependency { type Vtable = IAppxManifestMainPackageDependency_Vtbl; } -impl ::core::clone::Clone for IAppxManifestMainPackageDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestMainPackageDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05d0611c_bc29_46d5_97e2_84b9c79bd8ae); } @@ -3740,6 +2900,7 @@ pub struct IAppxManifestMainPackageDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestOSPackageDependenciesEnumerator(::windows_core::IUnknown); impl IAppxManifestOSPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3760,25 +2921,9 @@ impl IAppxManifestOSPackageDependenciesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependenciesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestOSPackageDependenciesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestOSPackageDependenciesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestOSPackageDependenciesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestOSPackageDependenciesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestOSPackageDependenciesEnumerator { type Vtable = IAppxManifestOSPackageDependenciesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestOSPackageDependenciesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestOSPackageDependenciesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb84e2fc3_f8ec_4bc1_8ae2_156346f5ffea); } @@ -3798,6 +2943,7 @@ pub struct IAppxManifestOSPackageDependenciesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestOSPackageDependency(::windows_core::IUnknown); impl IAppxManifestOSPackageDependency { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3809,26 +2955,10 @@ impl IAppxManifestOSPackageDependency { (::windows_core::Interface::vtable(self).GetVersion)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } -::windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestOSPackageDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestOSPackageDependency {} -impl ::core::fmt::Debug for IAppxManifestOSPackageDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestOSPackageDependency").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependency, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IAppxManifestOSPackageDependency { type Vtable = IAppxManifestOSPackageDependency_Vtbl; } -impl ::core::clone::Clone for IAppxManifestOSPackageDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestOSPackageDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x154995ee_54a6_4f14_ac97_d8cf0519644b); } @@ -3841,6 +2971,7 @@ pub struct IAppxManifestOSPackageDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestOptionalPackageInfo(::windows_core::IUnknown); impl IAppxManifestOptionalPackageInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3855,25 +2986,9 @@ impl IAppxManifestOptionalPackageInfo { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestOptionalPackageInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestOptionalPackageInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestOptionalPackageInfo {} -impl ::core::fmt::Debug for IAppxManifestOptionalPackageInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestOptionalPackageInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestOptionalPackageInfo { type Vtable = IAppxManifestOptionalPackageInfo_Vtbl; } -impl ::core::clone::Clone for IAppxManifestOptionalPackageInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestOptionalPackageInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2634847d_5b5d_4fe5_a243_002ff95edc7e); } @@ -3889,6 +3004,7 @@ pub struct IAppxManifestOptionalPackageInfo_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageDependenciesEnumerator(::windows_core::IUnknown); impl IAppxManifestPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -3909,25 +3025,9 @@ impl IAppxManifestPackageDependenciesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependenciesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestPackageDependenciesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageDependenciesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestPackageDependenciesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageDependenciesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageDependenciesEnumerator { type Vtable = IAppxManifestPackageDependenciesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageDependenciesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageDependenciesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb43bbcf9_65a6_42dd_bac0_8c6741e7f5a4); } @@ -3947,6 +3047,7 @@ pub struct IAppxManifestPackageDependenciesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageDependency(::windows_core::IUnknown); impl IAppxManifestPackageDependency { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3963,25 +3064,9 @@ impl IAppxManifestPackageDependency { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestPackageDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageDependency {} -impl ::core::fmt::Debug for IAppxManifestPackageDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageDependency { type Vtable = IAppxManifestPackageDependency_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4946b59_733e_43f0_a724_3bde4c1285a0); } @@ -3995,6 +3080,7 @@ pub struct IAppxManifestPackageDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageDependency2(::windows_core::IUnknown); impl IAppxManifestPackageDependency2 { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4015,25 +3101,9 @@ impl IAppxManifestPackageDependency2 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency2, ::windows_core::IUnknown, IAppxManifestPackageDependency); -impl ::core::cmp::PartialEq for IAppxManifestPackageDependency2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageDependency2 {} -impl ::core::fmt::Debug for IAppxManifestPackageDependency2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageDependency2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageDependency2 { type Vtable = IAppxManifestPackageDependency2_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageDependency2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageDependency2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdda0b713_f3ff_49d3_898a_2786780c5d98); } @@ -4045,6 +3115,7 @@ pub struct IAppxManifestPackageDependency2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageDependency3(::windows_core::IUnknown); impl IAppxManifestPackageDependency3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4055,25 +3126,9 @@ impl IAppxManifestPackageDependency3 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestPackageDependency3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageDependency3 {} -impl ::core::fmt::Debug for IAppxManifestPackageDependency3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageDependency3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageDependency3 { type Vtable = IAppxManifestPackageDependency3_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageDependency3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageDependency3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ac56374_6198_4d6b_92e4_749d5ab8a895); } @@ -4088,6 +3143,7 @@ pub struct IAppxManifestPackageDependency3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageId(::windows_core::IUnknown); impl IAppxManifestPackageId { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4129,25 +3185,9 @@ impl IAppxManifestPackageId { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestPackageId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageId {} -impl ::core::fmt::Debug for IAppxManifestPackageId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageId { type Vtable = IAppxManifestPackageId_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x283ce2d7_7153_4a91_9649_7a0f7240945f); } @@ -4169,6 +3209,7 @@ pub struct IAppxManifestPackageId_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestPackageId2(::windows_core::IUnknown); impl IAppxManifestPackageId2 { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4214,25 +3255,9 @@ impl IAppxManifestPackageId2 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestPackageId2, ::windows_core::IUnknown, IAppxManifestPackageId); -impl ::core::cmp::PartialEq for IAppxManifestPackageId2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestPackageId2 {} -impl ::core::fmt::Debug for IAppxManifestPackageId2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestPackageId2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestPackageId2 { type Vtable = IAppxManifestPackageId2_Vtbl; } -impl ::core::clone::Clone for IAppxManifestPackageId2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestPackageId2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2256999d_d617_42f1_880e_0ba4542319d5); } @@ -4244,6 +3269,7 @@ pub struct IAppxManifestPackageId2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestProperties(::windows_core::IUnknown); impl IAppxManifestProperties { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4264,25 +3290,9 @@ impl IAppxManifestProperties { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestProperties {} -impl ::core::fmt::Debug for IAppxManifestProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestProperties { type Vtable = IAppxManifestProperties_Vtbl; } -impl ::core::clone::Clone for IAppxManifestProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03faf64d_f26f_4b2c_aaf7_8fe7789b8bca); } @@ -4298,6 +3308,7 @@ pub struct IAppxManifestProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestQualifiedResource(::windows_core::IUnknown); impl IAppxManifestQualifiedResource { pub unsafe fn GetLanguage(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4314,25 +3325,9 @@ impl IAppxManifestQualifiedResource { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestQualifiedResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestQualifiedResource {} -impl ::core::fmt::Debug for IAppxManifestQualifiedResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestQualifiedResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestQualifiedResource { type Vtable = IAppxManifestQualifiedResource_Vtbl; } -impl ::core::clone::Clone for IAppxManifestQualifiedResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestQualifiedResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b53a497_3c5c_48d1_9ea3_bb7eac8cd7d4); } @@ -4346,6 +3341,7 @@ pub struct IAppxManifestQualifiedResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestQualifiedResourcesEnumerator(::windows_core::IUnknown); impl IAppxManifestQualifiedResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -4366,25 +3362,9 @@ impl IAppxManifestQualifiedResourcesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResourcesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestQualifiedResourcesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestQualifiedResourcesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestQualifiedResourcesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestQualifiedResourcesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestQualifiedResourcesEnumerator { type Vtable = IAppxManifestQualifiedResourcesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestQualifiedResourcesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestQualifiedResourcesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ef6adfe_3762_4a8f_9373_2fc5d444c8d2); } @@ -4404,6 +3384,7 @@ pub struct IAppxManifestQualifiedResourcesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader(::windows_core::IUnknown); impl IAppxManifestReader { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -4449,25 +3430,9 @@ impl IAppxManifestReader { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader {} -impl ::core::fmt::Debug for IAppxManifestReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader { type Vtable = IAppxManifestReader_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e1bd148_55a0_4480_a3d1_15544710637c); } @@ -4490,6 +3455,7 @@ pub struct IAppxManifestReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader2(::windows_core::IUnknown); impl IAppxManifestReader2 { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -4539,25 +3505,9 @@ impl IAppxManifestReader2 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader2, ::windows_core::IUnknown, IAppxManifestReader); -impl ::core::cmp::PartialEq for IAppxManifestReader2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader2 {} -impl ::core::fmt::Debug for IAppxManifestReader2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader2 { type Vtable = IAppxManifestReader2_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd06f67bc_b31d_4eba_a8af_638e73e77b4d); } @@ -4569,6 +3519,7 @@ pub struct IAppxManifestReader2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader3(::windows_core::IUnknown); impl IAppxManifestReader3 { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -4626,25 +3577,9 @@ impl IAppxManifestReader3 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader3, ::windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2); -impl ::core::cmp::PartialEq for IAppxManifestReader3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader3 {} -impl ::core::fmt::Debug for IAppxManifestReader3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader3 { type Vtable = IAppxManifestReader3_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc43825ab_69b7_400a_9709_cc37f5a72d24); } @@ -4657,6 +3592,7 @@ pub struct IAppxManifestReader3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader4(::windows_core::IUnknown); impl IAppxManifestReader4 { pub unsafe fn GetPackageId(&self) -> ::windows_core::Result { @@ -4718,25 +3654,9 @@ impl IAppxManifestReader4 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader4, ::windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2, IAppxManifestReader3); -impl ::core::cmp::PartialEq for IAppxManifestReader4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader4 {} -impl ::core::fmt::Debug for IAppxManifestReader4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader4 { type Vtable = IAppxManifestReader4_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4579bb7c_741d_4161_b5a1_47bd3b78ad9b); } @@ -4748,6 +3668,7 @@ pub struct IAppxManifestReader4_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader5(::windows_core::IUnknown); impl IAppxManifestReader5 { pub unsafe fn GetMainPackageDependencies(&self) -> ::windows_core::Result { @@ -4756,25 +3677,9 @@ impl IAppxManifestReader5 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader5, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestReader5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader5 {} -impl ::core::fmt::Debug for IAppxManifestReader5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader5 { type Vtable = IAppxManifestReader5_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d7ae132_a690_4c00_b75a_6aae1feaac80); } @@ -4786,6 +3691,7 @@ pub struct IAppxManifestReader5_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader6(::windows_core::IUnknown); impl IAppxManifestReader6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4796,25 +3702,9 @@ impl IAppxManifestReader6 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader6, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestReader6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader6 {} -impl ::core::fmt::Debug for IAppxManifestReader6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader6 { type Vtable = IAppxManifestReader6_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34deaca4_d3c0_4e3e_b312_e42625e3807e); } @@ -4829,6 +3719,7 @@ pub struct IAppxManifestReader6_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestReader7(::windows_core::IUnknown); impl IAppxManifestReader7 { pub unsafe fn GetDriverDependencies(&self) -> ::windows_core::Result { @@ -4845,25 +3736,9 @@ impl IAppxManifestReader7 { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestReader7, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestReader7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestReader7 {} -impl ::core::fmt::Debug for IAppxManifestReader7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestReader7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestReader7 { type Vtable = IAppxManifestReader7_Vtbl; } -impl ::core::clone::Clone for IAppxManifestReader7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestReader7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8efe6f27_0ce0_4988_b32d_738eb63db3b7); } @@ -4877,6 +3752,7 @@ pub struct IAppxManifestReader7_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestResourcesEnumerator(::windows_core::IUnknown); impl IAppxManifestResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4897,25 +3773,9 @@ impl IAppxManifestResourcesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestResourcesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestResourcesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestResourcesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestResourcesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestResourcesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestResourcesEnumerator { type Vtable = IAppxManifestResourcesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestResourcesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestResourcesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde4dfbbd_881a_48bb_858c_d6f2baeae6ed); } @@ -4935,6 +3795,7 @@ pub struct IAppxManifestResourcesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestTargetDeviceFamiliesEnumerator(::windows_core::IUnknown); impl IAppxManifestTargetDeviceFamiliesEnumerator { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result { @@ -4955,25 +3816,9 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamiliesEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestTargetDeviceFamiliesEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestTargetDeviceFamiliesEnumerator {} -impl ::core::fmt::Debug for IAppxManifestTargetDeviceFamiliesEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestTargetDeviceFamiliesEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestTargetDeviceFamiliesEnumerator { type Vtable = IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl; } -impl ::core::clone::Clone for IAppxManifestTargetDeviceFamiliesEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestTargetDeviceFamiliesEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36537f36_27a4_4788_88c0_733819575017); } @@ -4993,6 +3838,7 @@ pub struct IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxManifestTargetDeviceFamily(::windows_core::IUnknown); impl IAppxManifestTargetDeviceFamily { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -5009,25 +3855,9 @@ impl IAppxManifestTargetDeviceFamily { } } ::windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamily, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxManifestTargetDeviceFamily { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxManifestTargetDeviceFamily {} -impl ::core::fmt::Debug for IAppxManifestTargetDeviceFamily { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxManifestTargetDeviceFamily").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxManifestTargetDeviceFamily { type Vtable = IAppxManifestTargetDeviceFamily_Vtbl; } -impl ::core::clone::Clone for IAppxManifestTargetDeviceFamily { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxManifestTargetDeviceFamily { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9091b09b_c8d5_4f31_8687_a338259faefb); } @@ -5041,6 +3871,7 @@ pub struct IAppxManifestTargetDeviceFamily_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackageEditor(::windows_core::IUnknown); impl IAppxPackageEditor { pub unsafe fn SetWorkingDirectory(&self, workingdirectory: P0) -> ::windows_core::Result<()> @@ -5100,25 +3931,9 @@ impl IAppxPackageEditor { } } ::windows_core::imp::interface_hierarchy!(IAppxPackageEditor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackageEditor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackageEditor {} -impl ::core::fmt::Debug for IAppxPackageEditor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackageEditor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackageEditor { type Vtable = IAppxPackageEditor_Vtbl; } -impl ::core::clone::Clone for IAppxPackageEditor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackageEditor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2adb6dc_5e71_4416_86b6_86e5f5291a6b); } @@ -5150,6 +3965,7 @@ pub struct IAppxPackageEditor_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackageReader(::windows_core::IUnknown); impl IAppxPackageReader { pub unsafe fn GetBlockMap(&self) -> ::windows_core::Result { @@ -5177,25 +3993,9 @@ impl IAppxPackageReader { } } ::windows_core::imp::interface_hierarchy!(IAppxPackageReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackageReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackageReader {} -impl ::core::fmt::Debug for IAppxPackageReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackageReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackageReader { type Vtable = IAppxPackageReader_Vtbl; } -impl ::core::clone::Clone for IAppxPackageReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackageReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5c49650_99bc_481c_9a34_3d53a4106708); } @@ -5211,6 +4011,7 @@ pub struct IAppxPackageReader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackageWriter(::windows_core::IUnknown); impl IAppxPackageWriter { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5233,25 +4034,9 @@ impl IAppxPackageWriter { } } ::windows_core::imp::interface_hierarchy!(IAppxPackageWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackageWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackageWriter {} -impl ::core::fmt::Debug for IAppxPackageWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackageWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackageWriter { type Vtable = IAppxPackageWriter_Vtbl; } -impl ::core::clone::Clone for IAppxPackageWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackageWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9099e33b_246f_41e4_881a_008eb613f858); } @@ -5270,6 +4055,7 @@ pub struct IAppxPackageWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackageWriter2(::windows_core::IUnknown); impl IAppxPackageWriter2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5283,25 +4069,9 @@ impl IAppxPackageWriter2 { } } ::windows_core::imp::interface_hierarchy!(IAppxPackageWriter2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackageWriter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackageWriter2 {} -impl ::core::fmt::Debug for IAppxPackageWriter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackageWriter2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackageWriter2 { type Vtable = IAppxPackageWriter2_Vtbl; } -impl ::core::clone::Clone for IAppxPackageWriter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackageWriter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2cf5c4fd_e54c_4ea5_ba4e_f8c4b105a8c8); } @@ -5316,6 +4086,7 @@ pub struct IAppxPackageWriter2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackageWriter3(::windows_core::IUnknown); impl IAppxPackageWriter3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5325,25 +4096,9 @@ impl IAppxPackageWriter3 { } } ::windows_core::imp::interface_hierarchy!(IAppxPackageWriter3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackageWriter3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackageWriter3 {} -impl ::core::fmt::Debug for IAppxPackageWriter3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackageWriter3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackageWriter3 { type Vtable = IAppxPackageWriter3_Vtbl; } -impl ::core::clone::Clone for IAppxPackageWriter3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackageWriter3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa83aacd3_41c0_4501_b8a3_74164f50b2fd); } @@ -5358,6 +4113,7 @@ pub struct IAppxPackageWriter3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackagingDiagnosticEventSink(::windows_core::IUnknown); impl IAppxPackagingDiagnosticEventSink { pub unsafe fn ReportContextChange(&self, changetype: APPX_PACKAGING_CONTEXT_CHANGE_TYPE, contextid: i32, contextname: P0, contextmessage: P1, detailsmessage: P2) -> ::windows_core::Result<()> @@ -5376,25 +4132,9 @@ impl IAppxPackagingDiagnosticEventSink { } } ::windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackagingDiagnosticEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackagingDiagnosticEventSink {} -impl ::core::fmt::Debug for IAppxPackagingDiagnosticEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackagingDiagnosticEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackagingDiagnosticEventSink { type Vtable = IAppxPackagingDiagnosticEventSink_Vtbl; } -impl ::core::clone::Clone for IAppxPackagingDiagnosticEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackagingDiagnosticEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17239d47_6adb_45d2_80f6_f9cbc3bf059d); } @@ -5407,6 +4147,7 @@ pub struct IAppxPackagingDiagnosticEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxPackagingDiagnosticEventSinkManager(::windows_core::IUnknown); impl IAppxPackagingDiagnosticEventSinkManager { pub unsafe fn SetSinkForProcess(&self, sink: P0) -> ::windows_core::Result<()> @@ -5417,25 +4158,9 @@ impl IAppxPackagingDiagnosticEventSinkManager { } } ::windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSinkManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxPackagingDiagnosticEventSinkManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxPackagingDiagnosticEventSinkManager {} -impl ::core::fmt::Debug for IAppxPackagingDiagnosticEventSinkManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxPackagingDiagnosticEventSinkManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxPackagingDiagnosticEventSinkManager { type Vtable = IAppxPackagingDiagnosticEventSinkManager_Vtbl; } -impl ::core::clone::Clone for IAppxPackagingDiagnosticEventSinkManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxPackagingDiagnosticEventSinkManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x369648fa_a7eb_4909_a15d_6954a078f18a); } @@ -5447,6 +4172,7 @@ pub struct IAppxPackagingDiagnosticEventSinkManager_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppxSourceContentGroupMapReader(::windows_core::IUnknown); impl IAppxSourceContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> ::windows_core::Result { @@ -5459,25 +4185,9 @@ impl IAppxSourceContentGroupMapReader { } } ::windows_core::imp::interface_hierarchy!(IAppxSourceContentGroupMapReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppxSourceContentGroupMapReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppxSourceContentGroupMapReader {} -impl ::core::fmt::Debug for IAppxSourceContentGroupMapReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppxSourceContentGroupMapReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppxSourceContentGroupMapReader { type Vtable = IAppxSourceContentGroupMapReader_Vtbl; } -impl ::core::clone::Clone for IAppxSourceContentGroupMapReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppxSourceContentGroupMapReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf329791d_540b_4a9f_bc75_3282b7d73193); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs index 18ce02ecad..eef548eefe 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs @@ -63,8 +63,8 @@ impl IOpcCertificateEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IOpcCertificateSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IOpcDigitalSignature_Vtbl { GetSignatureXml: GetSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl IOpcDigitalSignatureManager_Vtbl { ReplaceSignatureXml: ReplaceSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -581,8 +581,8 @@ impl IOpcFactory_Vtbl { CreateDigitalSignatureManager: CreateDigitalSignatureManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IOpcPackage_Vtbl { GetRelationshipSet: GetRelationshipSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -703,8 +703,8 @@ impl IOpcPart_Vtbl { GetCompressionOptions: GetCompressionOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IOpcPartEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -848,8 +848,8 @@ impl IOpcPartSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IOpcPartUri_Vtbl { IsRelationshipsPartUri: IsRelationshipsPartUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -986,8 +986,8 @@ impl IOpcRelationship_Vtbl { GetTargetMode: GetTargetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1055,8 +1055,8 @@ impl IOpcRelationshipEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IOpcRelationshipSelector_Vtbl { GetSelectionCriterion: GetSelectionCriterion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1211,8 +1211,8 @@ impl IOpcRelationshipSelectorSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IOpcRelationshipSet_Vtbl { GetRelationshipsContentStream: GetRelationshipsContentStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1331,8 +1331,8 @@ impl IOpcSignatureCustomObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXml: GetXml:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1447,8 +1447,8 @@ impl IOpcSignatureCustomObjectSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IOpcSignaturePartReference_Vtbl { GetTransformMethod: GetTransformMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl IOpcSignaturePartReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1731,8 +1731,8 @@ impl IOpcSignatureReference_Vtbl { GetDigestValue: GetDigestValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IOpcSignatureReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1939,8 +1939,8 @@ impl IOpcSignatureRelationshipReference_Vtbl { GetRelationshipSelectorEnumerator: GetRelationshipSelectorEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2008,8 +2008,8 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2071,8 +2071,8 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2273,8 +2273,8 @@ impl IOpcSigningOptions_Vtbl { SetSignaturePartName: SetSignaturePartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2329,7 +2329,7 @@ impl IOpcUri_Vtbl { CombinePartUri: CombinePartUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs index cf6768f891..71419b10ac 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcCertificateEnumerator(::windows_core::IUnknown); impl IOpcCertificateEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26,25 +27,9 @@ impl IOpcCertificateEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcCertificateEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcCertificateEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcCertificateEnumerator {} -impl ::core::fmt::Debug for IOpcCertificateEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcCertificateEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcCertificateEnumerator { type Vtable = IOpcCertificateEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcCertificateEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcCertificateEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85131937_8f24_421f_b439_59ab24d140b8); } @@ -68,6 +53,7 @@ pub struct IOpcCertificateEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcCertificateSet(::windows_core::IUnknown); impl IOpcCertificateSet { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] @@ -86,25 +72,9 @@ impl IOpcCertificateSet { } } ::windows_core::imp::interface_hierarchy!(IOpcCertificateSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcCertificateSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcCertificateSet {} -impl ::core::fmt::Debug for IOpcCertificateSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcCertificateSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcCertificateSet { type Vtable = IOpcCertificateSet_Vtbl; } -impl ::core::clone::Clone for IOpcCertificateSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcCertificateSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56ea4325_8e2d_4167_b1a4_e486d24c8fa7); } @@ -124,6 +94,7 @@ pub struct IOpcCertificateSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcDigitalSignature(::windows_core::IUnknown); impl IOpcDigitalSignature { pub unsafe fn GetNamespaces(&self, prefixes: *mut *mut ::windows_core::PWSTR, namespaces: *mut *mut ::windows_core::PWSTR, count: *mut u32) -> ::windows_core::Result<()> { @@ -187,25 +158,9 @@ impl IOpcDigitalSignature { } } ::windows_core::imp::interface_hierarchy!(IOpcDigitalSignature, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcDigitalSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcDigitalSignature {} -impl ::core::fmt::Debug for IOpcDigitalSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcDigitalSignature").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcDigitalSignature { type Vtable = IOpcDigitalSignature_Vtbl; } -impl ::core::clone::Clone for IOpcDigitalSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcDigitalSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52ab21dd_1cd0_4949_bc80_0c1232d00cb4); } @@ -234,6 +189,7 @@ pub struct IOpcDigitalSignature_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcDigitalSignatureEnumerator(::windows_core::IUnknown); impl IOpcDigitalSignatureEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -258,25 +214,9 @@ impl IOpcDigitalSignatureEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcDigitalSignatureEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcDigitalSignatureEnumerator {} -impl ::core::fmt::Debug for IOpcDigitalSignatureEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcDigitalSignatureEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcDigitalSignatureEnumerator { type Vtable = IOpcDigitalSignatureEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcDigitalSignatureEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcDigitalSignatureEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x967b6882_0ba3_4358_b9e7_b64c75063c5e); } @@ -297,6 +237,7 @@ pub struct IOpcDigitalSignatureEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcDigitalSignatureManager(::windows_core::IUnknown); impl IOpcDigitalSignatureManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -358,25 +299,9 @@ impl IOpcDigitalSignatureManager { } } ::windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcDigitalSignatureManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcDigitalSignatureManager {} -impl ::core::fmt::Debug for IOpcDigitalSignatureManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcDigitalSignatureManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcDigitalSignatureManager { type Vtable = IOpcDigitalSignatureManager_Vtbl; } -impl ::core::clone::Clone for IOpcDigitalSignatureManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcDigitalSignatureManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5e62a0b_696d_462f_94df_72e33cef2659); } @@ -413,6 +338,7 @@ pub struct IOpcDigitalSignatureManager_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcFactory(::windows_core::IUnknown); impl IOpcFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -470,25 +396,9 @@ impl IOpcFactory { } } ::windows_core::imp::interface_hierarchy!(IOpcFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcFactory {} -impl ::core::fmt::Debug for IOpcFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcFactory { type Vtable = IOpcFactory_Vtbl; } -impl ::core::clone::Clone for IOpcFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d0b4446_cd73_4ab3_94f4_8ccdf6116154); } @@ -521,6 +431,7 @@ pub struct IOpcFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcPackage(::windows_core::IUnknown); impl IOpcPackage { pub unsafe fn GetPartSet(&self) -> ::windows_core::Result { @@ -533,25 +444,9 @@ impl IOpcPackage { } } ::windows_core::imp::interface_hierarchy!(IOpcPackage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcPackage {} -impl ::core::fmt::Debug for IOpcPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcPackage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcPackage { type Vtable = IOpcPackage_Vtbl; } -impl ::core::clone::Clone for IOpcPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee70); } @@ -564,6 +459,7 @@ pub struct IOpcPackage_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcPart(::windows_core::IUnknown); impl IOpcPart { pub unsafe fn GetRelationshipSet(&self) -> ::windows_core::Result { @@ -592,25 +488,9 @@ impl IOpcPart { } } ::windows_core::imp::interface_hierarchy!(IOpcPart, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcPart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcPart {} -impl ::core::fmt::Debug for IOpcPart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcPart").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcPart { type Vtable = IOpcPart_Vtbl; } -impl ::core::clone::Clone for IOpcPart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcPart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee71); } @@ -632,6 +512,7 @@ pub struct IOpcPart_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcPartEnumerator(::windows_core::IUnknown); impl IOpcPartEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -656,25 +537,9 @@ impl IOpcPartEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcPartEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcPartEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcPartEnumerator {} -impl ::core::fmt::Debug for IOpcPartEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcPartEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcPartEnumerator { type Vtable = IOpcPartEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcPartEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcPartEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee75); } @@ -695,6 +560,7 @@ pub struct IOpcPartEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcPartSet(::windows_core::IUnknown); impl IOpcPartSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -739,25 +605,9 @@ impl IOpcPartSet { } } ::windows_core::imp::interface_hierarchy!(IOpcPartSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcPartSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcPartSet {} -impl ::core::fmt::Debug for IOpcPartSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcPartSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcPartSet { type Vtable = IOpcPartSet_Vtbl; } -impl ::core::clone::Clone for IOpcPartSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcPartSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee73); } @@ -786,6 +636,7 @@ pub struct IOpcPartSet_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcPartUri(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOpcPartUri { @@ -988,30 +839,10 @@ impl IOpcPartUri { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOpcPartUri, ::windows_core::IUnknown, super::super::super::System::Com::IUri, IOpcUri); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOpcPartUri { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOpcPartUri {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOpcPartUri { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcPartUri").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOpcPartUri { type Vtable = IOpcPartUri_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOpcPartUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOpcPartUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d3babe7_88b2_46ba_85cb_4203cb016c87); } @@ -1035,6 +866,7 @@ pub struct IOpcPartUri_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationship(::windows_core::IUnknown); impl IOpcRelationship { pub unsafe fn GetId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -1063,25 +895,9 @@ impl IOpcRelationship { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationship, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationship { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationship {} -impl ::core::fmt::Debug for IOpcRelationship { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationship").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationship { type Vtable = IOpcRelationship_Vtbl; } -impl ::core::clone::Clone for IOpcRelationship { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationship { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee72); } @@ -1103,6 +919,7 @@ pub struct IOpcRelationship_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationshipEnumerator(::windows_core::IUnknown); impl IOpcRelationshipEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1127,25 +944,9 @@ impl IOpcRelationshipEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationshipEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationshipEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationshipEnumerator {} -impl ::core::fmt::Debug for IOpcRelationshipEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationshipEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationshipEnumerator { type Vtable = IOpcRelationshipEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcRelationshipEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationshipEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee76); } @@ -1166,6 +967,7 @@ pub struct IOpcRelationshipEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationshipSelector(::windows_core::IUnknown); impl IOpcRelationshipSelector { pub unsafe fn GetSelectorType(&self) -> ::windows_core::Result { @@ -1178,25 +980,9 @@ impl IOpcRelationshipSelector { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationshipSelector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationshipSelector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationshipSelector {} -impl ::core::fmt::Debug for IOpcRelationshipSelector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationshipSelector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationshipSelector { type Vtable = IOpcRelationshipSelector_Vtbl; } -impl ::core::clone::Clone for IOpcRelationshipSelector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationshipSelector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8f26c7f_b28f_4899_84c8_5d5639ede75f); } @@ -1209,6 +995,7 @@ pub struct IOpcRelationshipSelector_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationshipSelectorEnumerator(::windows_core::IUnknown); impl IOpcRelationshipSelectorEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1233,25 +1020,9 @@ impl IOpcRelationshipSelectorEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationshipSelectorEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationshipSelectorEnumerator {} -impl ::core::fmt::Debug for IOpcRelationshipSelectorEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationshipSelectorEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationshipSelectorEnumerator { type Vtable = IOpcRelationshipSelectorEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcRelationshipSelectorEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationshipSelectorEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e50a181_a91b_48ac_88d2_bca3d8f8c0b1); } @@ -1272,6 +1043,7 @@ pub struct IOpcRelationshipSelectorEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationshipSelectorSet(::windows_core::IUnknown); impl IOpcRelationshipSelectorSet { pub unsafe fn Create(&self, selector: OPC_RELATIONSHIP_SELECTOR, selectioncriterion: P0) -> ::windows_core::Result @@ -1293,25 +1065,9 @@ impl IOpcRelationshipSelectorSet { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationshipSelectorSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationshipSelectorSet {} -impl ::core::fmt::Debug for IOpcRelationshipSelectorSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationshipSelectorSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationshipSelectorSet { type Vtable = IOpcRelationshipSelectorSet_Vtbl; } -impl ::core::clone::Clone for IOpcRelationshipSelectorSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationshipSelectorSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e34c269_a4d3_47c0_b5c4_87ff2b3b6136); } @@ -1325,6 +1081,7 @@ pub struct IOpcRelationshipSelectorSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcRelationshipSet(::windows_core::IUnknown); impl IOpcRelationshipSet { pub unsafe fn GetRelationship(&self, relationshipidentifier: P0) -> ::windows_core::Result @@ -1379,25 +1136,9 @@ impl IOpcRelationshipSet { } } ::windows_core::imp::interface_hierarchy!(IOpcRelationshipSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcRelationshipSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcRelationshipSet {} -impl ::core::fmt::Debug for IOpcRelationshipSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcRelationshipSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcRelationshipSet { type Vtable = IOpcRelationshipSet_Vtbl; } -impl ::core::clone::Clone for IOpcRelationshipSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcRelationshipSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42195949_3b79_4fc8_89c6_fc7fb979ee74); } @@ -1424,6 +1165,7 @@ pub struct IOpcRelationshipSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureCustomObject(::windows_core::IUnknown); impl IOpcSignatureCustomObject { pub unsafe fn GetXml(&self, xmlmarkup: *mut *mut u8, count: *mut u32) -> ::windows_core::Result<()> { @@ -1431,25 +1173,9 @@ impl IOpcSignatureCustomObject { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureCustomObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureCustomObject {} -impl ::core::fmt::Debug for IOpcSignatureCustomObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureCustomObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureCustomObject { type Vtable = IOpcSignatureCustomObject_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureCustomObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureCustomObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d77a19e_62c1_44e7_becd_45da5ae51a56); } @@ -1461,6 +1187,7 @@ pub struct IOpcSignatureCustomObject_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureCustomObjectEnumerator(::windows_core::IUnknown); impl IOpcSignatureCustomObjectEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1485,25 +1212,9 @@ impl IOpcSignatureCustomObjectEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureCustomObjectEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureCustomObjectEnumerator {} -impl ::core::fmt::Debug for IOpcSignatureCustomObjectEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureCustomObjectEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureCustomObjectEnumerator { type Vtable = IOpcSignatureCustomObjectEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureCustomObjectEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureCustomObjectEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ee4fe1d_e1b0_4683_8079_7ea0fcf80b4c); } @@ -1524,6 +1235,7 @@ pub struct IOpcSignatureCustomObjectEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureCustomObjectSet(::windows_core::IUnknown); impl IOpcSignatureCustomObjectSet { pub unsafe fn Create(&self, xmlmarkup: &[u8]) -> ::windows_core::Result { @@ -1542,25 +1254,9 @@ impl IOpcSignatureCustomObjectSet { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureCustomObjectSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureCustomObjectSet {} -impl ::core::fmt::Debug for IOpcSignatureCustomObjectSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureCustomObjectSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureCustomObjectSet { type Vtable = IOpcSignatureCustomObjectSet_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureCustomObjectSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureCustomObjectSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f792ac5_7947_4e11_bc3d_2659ff046ae1); } @@ -1574,6 +1270,7 @@ pub struct IOpcSignatureCustomObjectSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignaturePartReference(::windows_core::IUnknown); impl IOpcSignaturePartReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1599,25 +1296,9 @@ impl IOpcSignaturePartReference { } } ::windows_core::imp::interface_hierarchy!(IOpcSignaturePartReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignaturePartReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignaturePartReference {} -impl ::core::fmt::Debug for IOpcSignaturePartReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignaturePartReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignaturePartReference { type Vtable = IOpcSignaturePartReference_Vtbl; } -impl ::core::clone::Clone for IOpcSignaturePartReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignaturePartReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe24231ca_59f4_484e_b64b_36eeda36072c); } @@ -1636,6 +1317,7 @@ pub struct IOpcSignaturePartReference_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignaturePartReferenceEnumerator(::windows_core::IUnknown); impl IOpcSignaturePartReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1660,25 +1342,9 @@ impl IOpcSignaturePartReferenceEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignaturePartReferenceEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignaturePartReferenceEnumerator {} -impl ::core::fmt::Debug for IOpcSignaturePartReferenceEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignaturePartReferenceEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignaturePartReferenceEnumerator { type Vtable = IOpcSignaturePartReferenceEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcSignaturePartReferenceEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignaturePartReferenceEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80eb1561_8c77_49cf_8266_459b356ee99a); } @@ -1699,6 +1365,7 @@ pub struct IOpcSignaturePartReferenceEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignaturePartReferenceSet(::windows_core::IUnknown); impl IOpcSignaturePartReferenceSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1723,25 +1390,9 @@ impl IOpcSignaturePartReferenceSet { } } ::windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignaturePartReferenceSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignaturePartReferenceSet {} -impl ::core::fmt::Debug for IOpcSignaturePartReferenceSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignaturePartReferenceSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignaturePartReferenceSet { type Vtable = IOpcSignaturePartReferenceSet_Vtbl; } -impl ::core::clone::Clone for IOpcSignaturePartReferenceSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignaturePartReferenceSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c9fe28c_ecd9_4b22_9d36_7fdde670fec0); } @@ -1758,6 +1409,7 @@ pub struct IOpcSignaturePartReferenceSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureReference(::windows_core::IUnknown); impl IOpcSignatureReference { pub unsafe fn GetId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -1787,25 +1439,9 @@ impl IOpcSignatureReference { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureReference {} -impl ::core::fmt::Debug for IOpcSignatureReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureReference { type Vtable = IOpcSignatureReference_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b47005e_3011_4edc_be6f_0f65e5ab0342); } @@ -1825,6 +1461,7 @@ pub struct IOpcSignatureReference_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureReferenceEnumerator(::windows_core::IUnknown); impl IOpcSignatureReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1849,25 +1486,9 @@ impl IOpcSignatureReferenceEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureReferenceEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureReferenceEnumerator {} -impl ::core::fmt::Debug for IOpcSignatureReferenceEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureReferenceEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureReferenceEnumerator { type Vtable = IOpcSignatureReferenceEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureReferenceEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureReferenceEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa59a45_28b1_4868_969e_fa8097fdc12a); } @@ -1888,6 +1509,7 @@ pub struct IOpcSignatureReferenceEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureReferenceSet(::windows_core::IUnknown); impl IOpcSignatureReferenceSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1914,25 +1536,9 @@ impl IOpcSignatureReferenceSet { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureReferenceSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureReferenceSet {} -impl ::core::fmt::Debug for IOpcSignatureReferenceSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureReferenceSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureReferenceSet { type Vtable = IOpcSignatureReferenceSet_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureReferenceSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureReferenceSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3b02d31_ab12_42dd_9e2f_2b16761c3c1e); } @@ -1949,6 +1555,7 @@ pub struct IOpcSignatureReferenceSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureRelationshipReference(::windows_core::IUnknown); impl IOpcSignatureRelationshipReference { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1978,25 +1585,9 @@ impl IOpcSignatureRelationshipReference { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureRelationshipReference {} -impl ::core::fmt::Debug for IOpcSignatureRelationshipReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureRelationshipReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureRelationshipReference { type Vtable = IOpcSignatureRelationshipReference_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureRelationshipReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureRelationshipReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57babac6_9d4a_4e50_8b86_e5d4051eae7c); } @@ -2016,6 +1607,7 @@ pub struct IOpcSignatureRelationshipReference_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureRelationshipReferenceEnumerator(::windows_core::IUnknown); impl IOpcSignatureRelationshipReferenceEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2040,25 +1632,9 @@ impl IOpcSignatureRelationshipReferenceEnumerator { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReferenceEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureRelationshipReferenceEnumerator {} -impl ::core::fmt::Debug for IOpcSignatureRelationshipReferenceEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureRelationshipReferenceEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureRelationshipReferenceEnumerator { type Vtable = IOpcSignatureRelationshipReferenceEnumerator_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureRelationshipReferenceEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureRelationshipReferenceEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x773ba3e4_f021_48e4_aa04_9816db5d3495); } @@ -2079,6 +1655,7 @@ pub struct IOpcSignatureRelationshipReferenceEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSignatureRelationshipReferenceSet(::windows_core::IUnknown); impl IOpcSignatureRelationshipReferenceSet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2108,25 +1685,9 @@ impl IOpcSignatureRelationshipReferenceSet { } } ::windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSignatureRelationshipReferenceSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSignatureRelationshipReferenceSet {} -impl ::core::fmt::Debug for IOpcSignatureRelationshipReferenceSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSignatureRelationshipReferenceSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSignatureRelationshipReferenceSet { type Vtable = IOpcSignatureRelationshipReferenceSet_Vtbl; } -impl ::core::clone::Clone for IOpcSignatureRelationshipReferenceSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSignatureRelationshipReferenceSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f863ca5_3631_404c_828d_807e0715069b); } @@ -2144,6 +1705,7 @@ pub struct IOpcSignatureRelationshipReferenceSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcSigningOptions(::windows_core::IUnknown); impl IOpcSigningOptions { pub unsafe fn GetSignatureId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -2226,25 +1788,9 @@ impl IOpcSigningOptions { } } ::windows_core::imp::interface_hierarchy!(IOpcSigningOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpcSigningOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpcSigningOptions {} -impl ::core::fmt::Debug for IOpcSigningOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcSigningOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpcSigningOptions { type Vtable = IOpcSigningOptions_Vtbl; } -impl ::core::clone::Clone for IOpcSigningOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpcSigningOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50d2d6a5_7aeb_46c0_b241_43ab0e9b407e); } @@ -2279,6 +1825,7 @@ pub struct IOpcSigningOptions_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpcUri(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IOpcUri { @@ -2460,30 +2007,10 @@ impl IOpcUri { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IOpcUri, ::windows_core::IUnknown, super::super::super::System::Com::IUri); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IOpcUri { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IOpcUri {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IOpcUri { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpcUri").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IOpcUri { type Vtable = IOpcUri_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IOpcUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IOpcUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc9c1b9b_d62c_49eb_aef0_3b4e0b28ebed); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs index b4d45c6746..6dca3a5534 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs @@ -42,8 +42,8 @@ impl IEnumVdsObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IVdsAdmin_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IVdsAdvancedDisk_Vtbl { Clean: Clean::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -196,8 +196,8 @@ impl IVdsAdvancedDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangePartitionType: ChangePartitionType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl IVdsAdvancedDisk3_Vtbl { GetUniqueId: GetUniqueId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl IVdsAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -283,8 +283,8 @@ impl IVdsAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl IVdsController_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IVdsControllerControllerPort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryControllerPorts: QueryControllerPorts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IVdsControllerPort_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -477,8 +477,8 @@ impl IVdsCreatePartitionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePartitionEx: CreatePartitionEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IVdsDisk_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl IVdsDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSANMode: SetSANMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -598,8 +598,8 @@ impl IVdsDisk3_Vtbl { QueryFreeExtents: QueryFreeExtents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -626,8 +626,8 @@ impl IVdsDiskOnline_Vtbl { Offline: Offline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IVdsDiskPartitionMF_Vtbl { FormatPartitionEx: FormatPartitionEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl IVdsDiskPartitionMF2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FormatPartitionEx2: FormatPartitionEx2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IVdsDrive_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -790,8 +790,8 @@ impl IVdsDrive2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IVdsHbaPort_Vtbl { SetAllPathStatuses: SetAllPathStatuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IVdsHwProvider_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -886,8 +886,8 @@ impl IVdsHwProviderPrivate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryIfCreatedLun: QueryIfCreatedLun:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -907,8 +907,8 @@ impl IVdsHwProviderPrivateMpio_Vtbl { SetAllPathStatusesFromHbaPort: SetAllPathStatusesFromHbaPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -963,8 +963,8 @@ impl IVdsHwProviderStoragePools_Vtbl { QueryMaxLunCreateSizeInStoragePool: QueryMaxLunCreateSizeInStoragePool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -987,8 +987,8 @@ impl IVdsHwProviderType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType: GetProviderType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1011,8 +1011,8 @@ impl IVdsHwProviderType2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType2: GetProviderType2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { LogoutFromTarget: LogoutFromTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1135,8 +1135,8 @@ impl IVdsIscsiInitiatorPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1216,8 +1216,8 @@ impl IVdsIscsiPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1302,8 +1302,8 @@ impl IVdsIscsiPortalGroup_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IVdsIscsiPortalLocal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIpsecSecurityLocal: SetIpsecSecurityLocal:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IVdsIscsiTarget_Vtbl { GetConnectedInitiators: GetConnectedInitiators::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1627,8 +1627,8 @@ impl IVdsLun_Vtbl { QueryMaxLunExtendSize: QueryMaxLunExtendSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1658,8 +1658,8 @@ impl IVdsLun2_Vtbl { ApplyHints2: ApplyHints2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1692,8 +1692,8 @@ impl IVdsLunControllerPorts_Vtbl { QueryActiveControllerPorts: QueryActiveControllerPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1726,8 +1726,8 @@ impl IVdsLunIscsi_Vtbl { QueryAssociatedTargets: QueryAssociatedTargets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1777,8 +1777,8 @@ impl IVdsLunMpio_Vtbl { GetSupportedLbPolicies: GetSupportedLbPolicies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IVdsLunNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1819,8 +1819,8 @@ impl IVdsLunNumber_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLunNumber: GetLunNumber:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1877,8 +1877,8 @@ impl IVdsLunPlex_Vtbl { ApplyHints: ApplyHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1912,8 +1912,8 @@ impl IVdsMaintenance_Vtbl { PulseMaintenance: PulseMaintenance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -1995,8 +1995,8 @@ impl IVdsOpenVDisk_Vtbl { Expand: Expand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IVdsPack_Vtbl { Recover: Recover::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2142,8 +2142,8 @@ impl IVdsPack2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateVolume2: CreateVolume2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2160,8 +2160,8 @@ impl IVdsProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties: GetProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2204,8 +2204,8 @@ impl IVdsProviderPrivate_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2228,8 +2228,8 @@ impl IVdsProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetVersionSupport: GetVersionSupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IVdsRemovable_Vtbl { Eject: Eject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2428,8 +2428,8 @@ impl IVdsService_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2452,8 +2452,8 @@ impl IVdsServiceHba_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryHbaPorts: QueryHbaPorts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2470,8 +2470,8 @@ impl IVdsServiceInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2545,8 +2545,8 @@ impl IVdsServiceIscsi_Vtbl { RememberTargetSharedSecret: RememberTargetSharedSecret::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2569,8 +2569,8 @@ impl IVdsServiceLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadService: LoadService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IVdsServiceSAN_Vtbl { SetSANPolicy: SetSANPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2627,8 +2627,8 @@ impl IVdsServiceSw_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiskObject: GetDiskObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2664,8 +2664,8 @@ impl IVdsServiceUninstallDisk_Vtbl { UninstallDisks: UninstallDisks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2741,8 +2741,8 @@ impl IVdsStoragePool_Vtbl { QueryAllocatedStoragePools: QueryAllocatedStoragePools::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2884,8 +2884,8 @@ impl IVdsSubSystem_Vtbl { QueryMaxLunCreateSize: QueryMaxLunCreateSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2947,8 +2947,8 @@ impl IVdsSubSystem2_Vtbl { QueryMaxLunCreateSize2: QueryMaxLunCreateSize2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2981,8 +2981,8 @@ impl IVdsSubSystemImportTarget_Vtbl { SetImportTarget: SetImportTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl IVdsSubSystemInterconnect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedInterconnects: GetSupportedInterconnects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3065,8 +3065,8 @@ impl IVdsSubSystemIscsi_Vtbl { SetIpsecGroupPresharedKey: SetIpsecGroupPresharedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3083,8 +3083,8 @@ impl IVdsSubSystemNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3123,8 +3123,8 @@ impl IVdsSwProvider_Vtbl { CreatePack: CreatePack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -3186,8 +3186,8 @@ impl IVdsVDisk_Vtbl { GetDeviceName: GetDeviceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -3256,8 +3256,8 @@ impl IVdsVdProvider_Vtbl { GetVDiskFromDisk: GetVDiskFromDisk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3392,8 +3392,8 @@ impl IVdsVolume_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3410,8 +3410,8 @@ impl IVdsVolume2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3503,8 +3503,8 @@ impl IVdsVolumeMF_Vtbl { ClearFileSystemFlags: ClearFileSystemFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3553,8 +3553,8 @@ impl IVdsVolumeMF2_Vtbl { FormatEx: FormatEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3594,8 +3594,8 @@ impl IVdsVolumeMF3_Vtbl { OfflineVolume: OfflineVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3612,8 +3612,8 @@ impl IVdsVolumeOnline_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Online: Online:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3666,8 +3666,8 @@ impl IVdsVolumePlex_Vtbl { Repair: Repair::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3706,7 +3706,7 @@ impl IVdsVolumeShrink_Vtbl { Shrink: Shrink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs index 834f3f63c0..5b46566d75 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumVdsObject(::windows_core::IUnknown); impl IEnumVdsObject { pub unsafe fn Next(&self, ppobjectarray: &mut [::core::option::Option<::windows_core::IUnknown>], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -17,25 +18,9 @@ impl IEnumVdsObject { } } ::windows_core::imp::interface_hierarchy!(IEnumVdsObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumVdsObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumVdsObject {} -impl ::core::fmt::Debug for IEnumVdsObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumVdsObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumVdsObject { type Vtable = IEnumVdsObject_Vtbl; } -impl ::core::clone::Clone for IEnumVdsObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumVdsObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x118610b7_8d94_4030_b5b8_500889788e4e); } @@ -50,6 +35,7 @@ pub struct IEnumVdsObject_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAdmin(::windows_core::IUnknown); impl IVdsAdmin { pub unsafe fn RegisterProvider(&self, providerid: ::windows_core::GUID, providerclsid: ::windows_core::GUID, pwszname: P0, r#type: VDS_PROVIDER_TYPE, pwszmachinename: P1, pwszversion: P2, guidversionid: ::windows_core::GUID) -> ::windows_core::Result<()> @@ -65,25 +51,9 @@ impl IVdsAdmin { } } ::windows_core::imp::interface_hierarchy!(IVdsAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAdmin {} -impl ::core::fmt::Debug for IVdsAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAdmin { type Vtable = IVdsAdmin_Vtbl; } -impl ::core::clone::Clone for IVdsAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd188e97d_85aa_4d33_abc6_26299a10ffc1); } @@ -96,6 +66,7 @@ pub struct IVdsAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAdvancedDisk(::windows_core::IUnknown); impl IVdsAdvancedDisk { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -162,25 +133,9 @@ impl IVdsAdvancedDisk { } } ::windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAdvancedDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAdvancedDisk {} -impl ::core::fmt::Debug for IVdsAdvancedDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAdvancedDisk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAdvancedDisk { type Vtable = IVdsAdvancedDisk_Vtbl; } -impl ::core::clone::Clone for IVdsAdvancedDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAdvancedDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e6f6b40_977c_4069_bddd_ac710059f8c0); } @@ -222,6 +177,7 @@ pub struct IVdsAdvancedDisk_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAdvancedDisk2(::windows_core::IUnknown); impl IVdsAdvancedDisk2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -234,25 +190,9 @@ impl IVdsAdvancedDisk2 { } } ::windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAdvancedDisk2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAdvancedDisk2 {} -impl ::core::fmt::Debug for IVdsAdvancedDisk2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAdvancedDisk2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAdvancedDisk2 { type Vtable = IVdsAdvancedDisk2_Vtbl; } -impl ::core::clone::Clone for IVdsAdvancedDisk2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAdvancedDisk2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9723f420_9355_42de_ab66_e31bb15beeac); } @@ -267,6 +207,7 @@ pub struct IVdsAdvancedDisk2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAdvancedDisk3(::windows_core::IUnknown); impl IVdsAdvancedDisk3 { pub unsafe fn GetProperties(&self, padvdiskprop: *mut VDS_ADVANCEDDISK_PROP) -> ::windows_core::Result<()> { @@ -278,25 +219,9 @@ impl IVdsAdvancedDisk3 { } } ::windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAdvancedDisk3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAdvancedDisk3 {} -impl ::core::fmt::Debug for IVdsAdvancedDisk3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAdvancedDisk3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAdvancedDisk3 { type Vtable = IVdsAdvancedDisk3_Vtbl; } -impl ::core::clone::Clone for IVdsAdvancedDisk3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAdvancedDisk3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3858c0d5_0f35_4bf5_9714_69874963bc36); } @@ -309,6 +234,7 @@ pub struct IVdsAdvancedDisk3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAdviseSink(::windows_core::IUnknown); impl IVdsAdviseSink { pub unsafe fn OnNotify(&self, pnotificationarray: &[VDS_NOTIFICATION]) -> ::windows_core::Result<()> { @@ -316,25 +242,9 @@ impl IVdsAdviseSink { } } ::windows_core::imp::interface_hierarchy!(IVdsAdviseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAdviseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAdviseSink {} -impl ::core::fmt::Debug for IVdsAdviseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAdviseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAdviseSink { type Vtable = IVdsAdviseSink_Vtbl; } -impl ::core::clone::Clone for IVdsAdviseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAdviseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8326cd1d_cf59_4936_b786_5efc08798e25); } @@ -346,6 +256,7 @@ pub struct IVdsAdviseSink_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsAsync(::windows_core::IUnknown); impl IVdsAsync { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -359,25 +270,9 @@ impl IVdsAsync { } } ::windows_core::imp::interface_hierarchy!(IVdsAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsAsync {} -impl ::core::fmt::Debug for IVdsAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsAsync { type Vtable = IVdsAsync_Vtbl; } -impl ::core::clone::Clone for IVdsAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5d23b6d_5a55_4492_9889_397a3c2d2dbc); } @@ -391,6 +286,7 @@ pub struct IVdsAsync_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsController(::windows_core::IUnknown); impl IVdsController { pub unsafe fn GetProperties(&self, pcontrollerprop: *mut VDS_CONTROLLER_PROP) -> ::windows_core::Result<()> { @@ -421,25 +317,9 @@ impl IVdsController { } } ::windows_core::imp::interface_hierarchy!(IVdsController, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsController {} -impl ::core::fmt::Debug for IVdsController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsController").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsController { type Vtable = IVdsController_Vtbl; } -impl ::core::clone::Clone for IVdsController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb53d96e_dffb_474a_a078_790d1e2bc082); } @@ -458,6 +338,7 @@ pub struct IVdsController_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsControllerControllerPort(::windows_core::IUnknown); impl IVdsControllerControllerPort { pub unsafe fn QueryControllerPorts(&self) -> ::windows_core::Result { @@ -466,25 +347,9 @@ impl IVdsControllerControllerPort { } } ::windows_core::imp::interface_hierarchy!(IVdsControllerControllerPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsControllerControllerPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsControllerControllerPort {} -impl ::core::fmt::Debug for IVdsControllerControllerPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsControllerControllerPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsControllerControllerPort { type Vtable = IVdsControllerControllerPort_Vtbl; } -impl ::core::clone::Clone for IVdsControllerControllerPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsControllerControllerPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca5d735f_6bae_42c0_b30e_f2666045ce71); } @@ -496,6 +361,7 @@ pub struct IVdsControllerControllerPort_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsControllerPort(::windows_core::IUnknown); impl IVdsControllerPort { pub unsafe fn GetProperties(&self, pportprop: *mut VDS_PORT_PROP) -> ::windows_core::Result<()> { @@ -517,25 +383,9 @@ impl IVdsControllerPort { } } ::windows_core::imp::interface_hierarchy!(IVdsControllerPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsControllerPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsControllerPort {} -impl ::core::fmt::Debug for IVdsControllerPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsControllerPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsControllerPort { type Vtable = IVdsControllerPort_Vtbl; } -impl ::core::clone::Clone for IVdsControllerPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsControllerPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18691d0d_4e7f_43e8_92e4_cf44beeed11c); } @@ -551,6 +401,7 @@ pub struct IVdsControllerPort_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsCreatePartitionEx(::windows_core::IUnknown); impl IVdsCreatePartitionEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -561,25 +412,9 @@ impl IVdsCreatePartitionEx { } } ::windows_core::imp::interface_hierarchy!(IVdsCreatePartitionEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsCreatePartitionEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsCreatePartitionEx {} -impl ::core::fmt::Debug for IVdsCreatePartitionEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsCreatePartitionEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsCreatePartitionEx { type Vtable = IVdsCreatePartitionEx_Vtbl; } -impl ::core::clone::Clone for IVdsCreatePartitionEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsCreatePartitionEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9882f547_cfc3_420b_9750_00dfbec50662); } @@ -594,6 +429,7 @@ pub struct IVdsCreatePartitionEx_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDisk(::windows_core::IUnknown); impl IVdsDisk { pub unsafe fn GetProperties(&self, pdiskproperties: *mut VDS_DISK_PROP) -> ::windows_core::Result<()> { @@ -622,25 +458,9 @@ impl IVdsDisk { } } ::windows_core::imp::interface_hierarchy!(IVdsDisk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDisk {} -impl ::core::fmt::Debug for IVdsDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDisk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDisk { type Vtable = IVdsDisk_Vtbl; } -impl ::core::clone::Clone for IVdsDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07e5c822_f00c_47a1_8fce_b244da56fd06); } @@ -661,6 +481,7 @@ pub struct IVdsDisk_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDisk2(::windows_core::IUnknown); impl IVdsDisk2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -673,25 +494,9 @@ impl IVdsDisk2 { } } ::windows_core::imp::interface_hierarchy!(IVdsDisk2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDisk2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDisk2 {} -impl ::core::fmt::Debug for IVdsDisk2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDisk2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDisk2 { type Vtable = IVdsDisk2_Vtbl; } -impl ::core::clone::Clone for IVdsDisk2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDisk2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40f73c8b_687d_4a13_8d96_3d7f2e683936); } @@ -706,6 +511,7 @@ pub struct IVdsDisk2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDisk3(::windows_core::IUnknown); impl IVdsDisk3 { pub unsafe fn GetProperties2(&self, pdiskproperties: *mut VDS_DISK_PROP2) -> ::windows_core::Result<()> { @@ -716,25 +522,9 @@ impl IVdsDisk3 { } } ::windows_core::imp::interface_hierarchy!(IVdsDisk3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDisk3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDisk3 {} -impl ::core::fmt::Debug for IVdsDisk3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDisk3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDisk3 { type Vtable = IVdsDisk3_Vtbl; } -impl ::core::clone::Clone for IVdsDisk3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDisk3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f4b2f5d_ec15_4357_992f_473ef10975b9); } @@ -747,6 +537,7 @@ pub struct IVdsDisk3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDiskOnline(::windows_core::IUnknown); impl IVdsDiskOnline { pub unsafe fn Online(&self) -> ::windows_core::Result<()> { @@ -757,25 +548,9 @@ impl IVdsDiskOnline { } } ::windows_core::imp::interface_hierarchy!(IVdsDiskOnline, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDiskOnline { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDiskOnline {} -impl ::core::fmt::Debug for IVdsDiskOnline { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDiskOnline").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDiskOnline { type Vtable = IVdsDiskOnline_Vtbl; } -impl ::core::clone::Clone for IVdsDiskOnline { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDiskOnline { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90681b1d_6a7f_48e8_9061_31b7aa125322); } @@ -788,6 +563,7 @@ pub struct IVdsDiskOnline_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDiskPartitionMF(::windows_core::IUnknown); impl IVdsDiskPartitionMF { pub unsafe fn GetPartitionFileSystemProperties(&self, ulloffset: u64, pfilesystemprop: *mut VDS_FILE_SYSTEM_PROP) -> ::windows_core::Result<()> { @@ -815,25 +591,9 @@ impl IVdsDiskPartitionMF { } } ::windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDiskPartitionMF { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDiskPartitionMF {} -impl ::core::fmt::Debug for IVdsDiskPartitionMF { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDiskPartitionMF").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDiskPartitionMF { type Vtable = IVdsDiskPartitionMF_Vtbl; } -impl ::core::clone::Clone for IVdsDiskPartitionMF { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDiskPartitionMF { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x538684e0_ba3d_4bc0_aca9_164aff85c2a9); } @@ -851,6 +611,7 @@ pub struct IVdsDiskPartitionMF_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDiskPartitionMF2(::windows_core::IUnknown); impl IVdsDiskPartitionMF2 { pub unsafe fn FormatPartitionEx2(&self, ulloffset: u64, pwszfilesystemtypename: P0, usfilesystemrevision: u16, uldesiredunitallocationsize: u32, pwszlabel: P1, options: u32) -> ::windows_core::Result @@ -863,25 +624,9 @@ impl IVdsDiskPartitionMF2 { } } ::windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDiskPartitionMF2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDiskPartitionMF2 {} -impl ::core::fmt::Debug for IVdsDiskPartitionMF2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDiskPartitionMF2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDiskPartitionMF2 { type Vtable = IVdsDiskPartitionMF2_Vtbl; } -impl ::core::clone::Clone for IVdsDiskPartitionMF2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDiskPartitionMF2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cbe50ca_f2d2_4bf4_ace1_96896b729625); } @@ -893,6 +638,7 @@ pub struct IVdsDiskPartitionMF2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDrive(::windows_core::IUnknown); impl IVdsDrive { pub unsafe fn GetProperties(&self, pdriveprop: *mut VDS_DRIVE_PROP) -> ::windows_core::Result<()> { @@ -918,25 +664,9 @@ impl IVdsDrive { } } ::windows_core::imp::interface_hierarchy!(IVdsDrive, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDrive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDrive {} -impl ::core::fmt::Debug for IVdsDrive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDrive").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDrive { type Vtable = IVdsDrive_Vtbl; } -impl ::core::clone::Clone for IVdsDrive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDrive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff24efa4_aade_4b6b_898b_eaa6a20887c7); } @@ -956,6 +686,7 @@ pub struct IVdsDrive_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsDrive2(::windows_core::IUnknown); impl IVdsDrive2 { pub unsafe fn GetProperties2(&self, pdriveprop2: *mut VDS_DRIVE_PROP2) -> ::windows_core::Result<()> { @@ -963,25 +694,9 @@ impl IVdsDrive2 { } } ::windows_core::imp::interface_hierarchy!(IVdsDrive2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsDrive2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsDrive2 {} -impl ::core::fmt::Debug for IVdsDrive2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsDrive2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsDrive2 { type Vtable = IVdsDrive2_Vtbl; } -impl ::core::clone::Clone for IVdsDrive2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsDrive2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60b5a730_addf_4436_8ca7_5769e2d1ffa4); } @@ -993,6 +708,7 @@ pub struct IVdsDrive2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHbaPort(::windows_core::IUnknown); impl IVdsHbaPort { pub unsafe fn GetProperties(&self, phbaportprop: *mut VDS_HBAPORT_PROP) -> ::windows_core::Result<()> { @@ -1003,25 +719,9 @@ impl IVdsHbaPort { } } ::windows_core::imp::interface_hierarchy!(IVdsHbaPort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHbaPort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHbaPort {} -impl ::core::fmt::Debug for IVdsHbaPort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHbaPort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHbaPort { type Vtable = IVdsHbaPort_Vtbl; } -impl ::core::clone::Clone for IVdsHbaPort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHbaPort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2abd757f_2851_4997_9a13_47d2a885d6ca); } @@ -1034,6 +734,7 @@ pub struct IVdsHbaPort_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProvider(::windows_core::IUnknown); impl IVdsHwProvider { pub unsafe fn QuerySubSystems(&self) -> ::windows_core::Result { @@ -1048,25 +749,9 @@ impl IVdsHwProvider { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProvider {} -impl ::core::fmt::Debug for IVdsHwProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProvider { type Vtable = IVdsHwProvider_Vtbl; } -impl ::core::clone::Clone for IVdsHwProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd99bdaae_b13a_4178_9fdb_e27f16b4603e); } @@ -1080,6 +765,7 @@ pub struct IVdsHwProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProviderPrivate(::windows_core::IUnknown); impl IVdsHwProviderPrivate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1093,25 +779,9 @@ impl IVdsHwProviderPrivate { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProviderPrivate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProviderPrivate {} -impl ::core::fmt::Debug for IVdsHwProviderPrivate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProviderPrivate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProviderPrivate { type Vtable = IVdsHwProviderPrivate_Vtbl; } -impl ::core::clone::Clone for IVdsHwProviderPrivate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProviderPrivate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98f17bf3_9f33_4f12_8714_8b4075092c2e); } @@ -1126,6 +796,7 @@ pub struct IVdsHwProviderPrivate_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProviderPrivateMpio(::windows_core::IUnknown); impl IVdsHwProviderPrivateMpio { pub unsafe fn SetAllPathStatusesFromHbaPort(&self, hbaportprop: VDS_HBAPORT_PROP, status: VDS_PATH_STATUS) -> ::windows_core::Result<()> { @@ -1133,25 +804,9 @@ impl IVdsHwProviderPrivateMpio { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivateMpio, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProviderPrivateMpio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProviderPrivateMpio {} -impl ::core::fmt::Debug for IVdsHwProviderPrivateMpio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProviderPrivateMpio").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProviderPrivateMpio { type Vtable = IVdsHwProviderPrivateMpio_Vtbl; } -impl ::core::clone::Clone for IVdsHwProviderPrivateMpio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProviderPrivateMpio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x310a7715_ac2b_4c6f_9827_3d742f351676); } @@ -1163,6 +818,7 @@ pub struct IVdsHwProviderPrivateMpio_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProviderStoragePools(::windows_core::IUnknown); impl IVdsHwProviderStoragePools { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1188,25 +844,9 @@ impl IVdsHwProviderStoragePools { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProviderStoragePools, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProviderStoragePools { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProviderStoragePools {} -impl ::core::fmt::Debug for IVdsHwProviderStoragePools { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProviderStoragePools").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProviderStoragePools { type Vtable = IVdsHwProviderStoragePools_Vtbl; } -impl ::core::clone::Clone for IVdsHwProviderStoragePools { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProviderStoragePools { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5b5937a_f188_4c79_b86c_11c920ad11b8); } @@ -1229,6 +869,7 @@ pub struct IVdsHwProviderStoragePools_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProviderType(::windows_core::IUnknown); impl IVdsHwProviderType { pub unsafe fn GetProviderType(&self) -> ::windows_core::Result { @@ -1237,25 +878,9 @@ impl IVdsHwProviderType { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProviderType, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProviderType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProviderType {} -impl ::core::fmt::Debug for IVdsHwProviderType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProviderType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProviderType { type Vtable = IVdsHwProviderType_Vtbl; } -impl ::core::clone::Clone for IVdsHwProviderType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProviderType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e0f5166_542d_4fc6_947a_012174240b7e); } @@ -1267,6 +892,7 @@ pub struct IVdsHwProviderType_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsHwProviderType2(::windows_core::IUnknown); impl IVdsHwProviderType2 { pub unsafe fn GetProviderType2(&self) -> ::windows_core::Result { @@ -1275,25 +901,9 @@ impl IVdsHwProviderType2 { } } ::windows_core::imp::interface_hierarchy!(IVdsHwProviderType2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsHwProviderType2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsHwProviderType2 {} -impl ::core::fmt::Debug for IVdsHwProviderType2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsHwProviderType2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsHwProviderType2 { type Vtable = IVdsHwProviderType2_Vtbl; } -impl ::core::clone::Clone for IVdsHwProviderType2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsHwProviderType2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8190236f_c4d0_4e81_8011_d69512fcc984); } @@ -1305,6 +915,7 @@ pub struct IVdsHwProviderType2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiInitiatorAdapter(::windows_core::IUnknown); impl IVdsIscsiInitiatorAdapter { pub unsafe fn GetProperties(&self, pinitiatoradapterprop: *mut VDS_ISCSI_INITIATOR_ADAPTER_PROP) -> ::windows_core::Result<()> { @@ -1330,25 +941,9 @@ impl IVdsIscsiInitiatorAdapter { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorAdapter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiInitiatorAdapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiInitiatorAdapter {} -impl ::core::fmt::Debug for IVdsIscsiInitiatorAdapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiInitiatorAdapter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiInitiatorAdapter { type Vtable = IVdsIscsiInitiatorAdapter_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiInitiatorAdapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiInitiatorAdapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb07fedd4_1682_4440_9189_a39b55194dc5); } @@ -1366,6 +961,7 @@ pub struct IVdsIscsiInitiatorAdapter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiInitiatorPortal(::windows_core::IUnknown); impl IVdsIscsiInitiatorPortal { pub unsafe fn GetProperties(&self, pinitiatorportalprop: *mut VDS_ISCSI_INITIATOR_PORTAL_PROP) -> ::windows_core::Result<()> { @@ -1387,25 +983,9 @@ impl IVdsIscsiInitiatorPortal { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorPortal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiInitiatorPortal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiInitiatorPortal {} -impl ::core::fmt::Debug for IVdsIscsiInitiatorPortal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiInitiatorPortal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiInitiatorPortal { type Vtable = IVdsIscsiInitiatorPortal_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiInitiatorPortal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiInitiatorPortal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38a0a9ab_7cc8_4693_ac07_1f28bd03c3da); } @@ -1421,6 +1001,7 @@ pub struct IVdsIscsiInitiatorPortal_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiPortal(::windows_core::IUnknown); impl IVdsIscsiPortal { pub unsafe fn GetProperties(&self, pportalprop: *mut VDS_ISCSI_PORTAL_PROP) -> ::windows_core::Result<()> { @@ -1449,25 +1030,9 @@ impl IVdsIscsiPortal { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiPortal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiPortal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiPortal {} -impl ::core::fmt::Debug for IVdsIscsiPortal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiPortal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiPortal { type Vtable = IVdsIscsiPortal_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiPortal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiPortal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fa1499d_ec85_4a8a_a47b_ff69201fcd34); } @@ -1485,6 +1050,7 @@ pub struct IVdsIscsiPortal_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiPortalGroup(::windows_core::IUnknown); impl IVdsIscsiPortalGroup { pub unsafe fn GetProperties(&self, pportalgroupprop: *mut VDS_ISCSI_PORTALGROUP_PROP) -> ::windows_core::Result<()> { @@ -1512,25 +1078,9 @@ impl IVdsIscsiPortalGroup { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiPortalGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiPortalGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiPortalGroup {} -impl ::core::fmt::Debug for IVdsIscsiPortalGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiPortalGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiPortalGroup { type Vtable = IVdsIscsiPortalGroup_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiPortalGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiPortalGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfef5f89d_a3dd_4b36_bf28_e7dde045c593); } @@ -1547,6 +1097,7 @@ pub struct IVdsIscsiPortalGroup_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiPortalLocal(::windows_core::IUnknown); impl IVdsIscsiPortalLocal { pub unsafe fn SetIpsecSecurityLocal(&self, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> ::windows_core::Result<()> { @@ -1554,25 +1105,9 @@ impl IVdsIscsiPortalLocal { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiPortalLocal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiPortalLocal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiPortalLocal {} -impl ::core::fmt::Debug for IVdsIscsiPortalLocal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiPortalLocal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiPortalLocal { type Vtable = IVdsIscsiPortalLocal_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiPortalLocal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiPortalLocal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad837c28_52c1_421d_bf04_fae7da665396); } @@ -1584,6 +1119,7 @@ pub struct IVdsIscsiPortalLocal_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsIscsiTarget(::windows_core::IUnknown); impl IVdsIscsiTarget { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1634,25 +1170,9 @@ impl IVdsIscsiTarget { } } ::windows_core::imp::interface_hierarchy!(IVdsIscsiTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsIscsiTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsIscsiTarget {} -impl ::core::fmt::Debug for IVdsIscsiTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsIscsiTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsIscsiTarget { type Vtable = IVdsIscsiTarget_Vtbl; } -impl ::core::clone::Clone for IVdsIscsiTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsIscsiTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa8f5055_83e5_4bcc_aa73_19851a36a849); } @@ -1676,6 +1196,7 @@ pub struct IVdsIscsiTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLun(::windows_core::IUnknown); impl IVdsLun { pub unsafe fn GetProperties(&self, plunprop: *mut VDS_LUN_PROP) -> ::windows_core::Result<()> { @@ -1749,25 +1270,9 @@ impl IVdsLun { } } ::windows_core::imp::interface_hierarchy!(IVdsLun, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLun { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLun {} -impl ::core::fmt::Debug for IVdsLun { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLun").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLun { type Vtable = IVdsLun_Vtbl; } -impl ::core::clone::Clone for IVdsLun { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLun { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3540a9c7_e60f_4111_a840_8bba6c2c83d8); } @@ -1804,6 +1309,7 @@ pub struct IVdsLun_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLun2(::windows_core::IUnknown); impl IVdsLun2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1818,25 +1324,9 @@ impl IVdsLun2 { } } ::windows_core::imp::interface_hierarchy!(IVdsLun2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLun2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLun2 {} -impl ::core::fmt::Debug for IVdsLun2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLun2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLun2 { type Vtable = IVdsLun2_Vtbl; } -impl ::core::clone::Clone for IVdsLun2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLun2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5b3a735_9efb_499a_8071_4394d9ee6fcb); } @@ -1855,6 +1345,7 @@ pub struct IVdsLun2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunControllerPorts(::windows_core::IUnknown); impl IVdsLunControllerPorts { pub unsafe fn AssociateControllerPorts(&self, pactivecontrollerportidarray: &[::windows_core::GUID], pinactivecontrollerportidarray: &[::windows_core::GUID]) -> ::windows_core::Result<()> { @@ -1866,25 +1357,9 @@ impl IVdsLunControllerPorts { } } ::windows_core::imp::interface_hierarchy!(IVdsLunControllerPorts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunControllerPorts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunControllerPorts {} -impl ::core::fmt::Debug for IVdsLunControllerPorts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunControllerPorts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunControllerPorts { type Vtable = IVdsLunControllerPorts_Vtbl; } -impl ::core::clone::Clone for IVdsLunControllerPorts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunControllerPorts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x451fe266_da6d_406a_bb60_82e534f85aeb); } @@ -1897,6 +1372,7 @@ pub struct IVdsLunControllerPorts_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunIscsi(::windows_core::IUnknown); impl IVdsLunIscsi { pub unsafe fn AssociateTargets(&self, ptargetidarray: &[::windows_core::GUID]) -> ::windows_core::Result<()> { @@ -1908,25 +1384,9 @@ impl IVdsLunIscsi { } } ::windows_core::imp::interface_hierarchy!(IVdsLunIscsi, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunIscsi { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunIscsi {} -impl ::core::fmt::Debug for IVdsLunIscsi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunIscsi").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunIscsi { type Vtable = IVdsLunIscsi_Vtbl; } -impl ::core::clone::Clone for IVdsLunIscsi { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunIscsi { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d7c1e64_b59b_45ae_b86a_2c2cc6a42067); } @@ -1939,6 +1399,7 @@ pub struct IVdsLunIscsi_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunMpio(::windows_core::IUnknown); impl IVdsLunMpio { pub unsafe fn GetPathInfo(&self, pppaths: *mut *mut VDS_PATH_INFO, plnumberofpaths: *mut i32) -> ::windows_core::Result<()> { @@ -1960,25 +1421,9 @@ impl IVdsLunMpio { } } ::windows_core::imp::interface_hierarchy!(IVdsLunMpio, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunMpio { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunMpio {} -impl ::core::fmt::Debug for IVdsLunMpio { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunMpio").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunMpio { type Vtable = IVdsLunMpio_Vtbl; } -impl ::core::clone::Clone for IVdsLunMpio { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunMpio { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c5fbae3_333a_48a1_a982_33c15788cde3); } @@ -1999,6 +1444,7 @@ pub struct IVdsLunMpio_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunNaming(::windows_core::IUnknown); impl IVdsLunNaming { pub unsafe fn SetFriendlyName(&self, pwszfriendlyname: P0) -> ::windows_core::Result<()> @@ -2009,25 +1455,9 @@ impl IVdsLunNaming { } } ::windows_core::imp::interface_hierarchy!(IVdsLunNaming, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunNaming { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunNaming {} -impl ::core::fmt::Debug for IVdsLunNaming { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunNaming").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunNaming { type Vtable = IVdsLunNaming_Vtbl; } -impl ::core::clone::Clone for IVdsLunNaming { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunNaming { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x907504cb_6b4e_4d88_a34d_17ba661fbb06); } @@ -2039,6 +1469,7 @@ pub struct IVdsLunNaming_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunNumber(::windows_core::IUnknown); impl IVdsLunNumber { pub unsafe fn GetLunNumber(&self) -> ::windows_core::Result { @@ -2047,25 +1478,9 @@ impl IVdsLunNumber { } } ::windows_core::imp::interface_hierarchy!(IVdsLunNumber, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunNumber { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunNumber {} -impl ::core::fmt::Debug for IVdsLunNumber { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunNumber").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunNumber { type Vtable = IVdsLunNumber_Vtbl; } -impl ::core::clone::Clone for IVdsLunNumber { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunNumber { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3f95e46_54b3_41f9_b678_0f1871443a08); } @@ -2077,6 +1492,7 @@ pub struct IVdsLunNumber_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsLunPlex(::windows_core::IUnknown); impl IVdsLunPlex { pub unsafe fn GetProperties(&self, pplexprop: *mut VDS_LUN_PLEX_PROP) -> ::windows_core::Result<()> { @@ -2103,25 +1519,9 @@ impl IVdsLunPlex { } } ::windows_core::imp::interface_hierarchy!(IVdsLunPlex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsLunPlex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsLunPlex {} -impl ::core::fmt::Debug for IVdsLunPlex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsLunPlex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsLunPlex { type Vtable = IVdsLunPlex_Vtbl; } -impl ::core::clone::Clone for IVdsLunPlex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsLunPlex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ee1a790_5d2e_4abb_8c99_c481e8be2138); } @@ -2146,6 +1546,7 @@ pub struct IVdsLunPlex_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsMaintenance(::windows_core::IUnknown); impl IVdsMaintenance { pub unsafe fn StartMaintenance(&self, operation: VDS_MAINTENANCE_OPERATION) -> ::windows_core::Result<()> { @@ -2159,25 +1560,9 @@ impl IVdsMaintenance { } } ::windows_core::imp::interface_hierarchy!(IVdsMaintenance, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsMaintenance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsMaintenance {} -impl ::core::fmt::Debug for IVdsMaintenance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsMaintenance").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsMaintenance { type Vtable = IVdsMaintenance_Vtbl; } -impl ::core::clone::Clone for IVdsMaintenance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsMaintenance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaebeef3_8523_47ed_a2b9_05cecce2a1ae); } @@ -2191,6 +1576,7 @@ pub struct IVdsMaintenance_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsOpenVDisk(::windows_core::IUnknown); impl IVdsOpenVDisk { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] @@ -2232,25 +1618,9 @@ impl IVdsOpenVDisk { } } ::windows_core::imp::interface_hierarchy!(IVdsOpenVDisk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsOpenVDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsOpenVDisk {} -impl ::core::fmt::Debug for IVdsOpenVDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsOpenVDisk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsOpenVDisk { type Vtable = IVdsOpenVDisk_Vtbl; } -impl ::core::clone::Clone for IVdsOpenVDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsOpenVDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75c8f324_f715_4fe3_a28e_f9011b61a4a1); } @@ -2285,6 +1655,7 @@ pub struct IVdsOpenVDisk_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsPack(::windows_core::IUnknown); impl IVdsPack { pub unsafe fn GetProperties(&self, ppackprop: *mut VDS_PACK_PROP) -> ::windows_core::Result<()> { @@ -2336,25 +1707,9 @@ impl IVdsPack { } } ::windows_core::imp::interface_hierarchy!(IVdsPack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsPack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsPack {} -impl ::core::fmt::Debug for IVdsPack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsPack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsPack { type Vtable = IVdsPack_Vtbl; } -impl ::core::clone::Clone for IVdsPack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsPack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b69d7f5_9d94_4648_91ca_79939ba263bf); } @@ -2381,6 +1736,7 @@ pub struct IVdsPack_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsPack2(::windows_core::IUnknown); impl IVdsPack2 { pub unsafe fn CreateVolume2(&self, r#type: VDS_VOLUME_TYPE, pinputdiskarray: &[VDS_INPUT_DISK], ulstripesize: u32, ulalign: u32) -> ::windows_core::Result { @@ -2389,25 +1745,9 @@ impl IVdsPack2 { } } ::windows_core::imp::interface_hierarchy!(IVdsPack2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsPack2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsPack2 {} -impl ::core::fmt::Debug for IVdsPack2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsPack2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsPack2 { type Vtable = IVdsPack2_Vtbl; } -impl ::core::clone::Clone for IVdsPack2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsPack2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13b50bff_290a_47dd_8558_b7c58db1a71a); } @@ -2419,6 +1759,7 @@ pub struct IVdsPack2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsProvider(::windows_core::IUnknown); impl IVdsProvider { pub unsafe fn GetProperties(&self, pproviderprop: *mut VDS_PROVIDER_PROP) -> ::windows_core::Result<()> { @@ -2426,25 +1767,9 @@ impl IVdsProvider { } } ::windows_core::imp::interface_hierarchy!(IVdsProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsProvider {} -impl ::core::fmt::Debug for IVdsProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsProvider { type Vtable = IVdsProvider_Vtbl; } -impl ::core::clone::Clone for IVdsProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10c5e575_7984_4e81_a56b_431f5f92ae42); } @@ -2456,6 +1781,7 @@ pub struct IVdsProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsProviderPrivate(::windows_core::IUnknown); impl IVdsProviderPrivate { pub unsafe fn GetObject(&self, objectid: ::windows_core::GUID, r#type: VDS_OBJECT_TYPE) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2478,26 +1804,10 @@ impl IVdsProviderPrivate { (::windows_core::Interface::vtable(self).OnUnload)(::windows_core::Interface::as_raw(self), bforceunload.into_param().abi()).ok() } } -::windows_core::imp::interface_hierarchy!(IVdsProviderPrivate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsProviderPrivate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsProviderPrivate {} -impl ::core::fmt::Debug for IVdsProviderPrivate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsProviderPrivate").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IVdsProviderPrivate, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IVdsProviderPrivate { type Vtable = IVdsProviderPrivate_Vtbl; } -impl ::core::clone::Clone for IVdsProviderPrivate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsProviderPrivate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11f3cd41_b7e8_48ff_9472_9dff018aa292); } @@ -2514,6 +1824,7 @@ pub struct IVdsProviderPrivate_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsProviderSupport(::windows_core::IUnknown); impl IVdsProviderSupport { pub unsafe fn GetVersionSupport(&self) -> ::windows_core::Result { @@ -2522,25 +1833,9 @@ impl IVdsProviderSupport { } } ::windows_core::imp::interface_hierarchy!(IVdsProviderSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsProviderSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsProviderSupport {} -impl ::core::fmt::Debug for IVdsProviderSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsProviderSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsProviderSupport { type Vtable = IVdsProviderSupport_Vtbl; } -impl ::core::clone::Clone for IVdsProviderSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsProviderSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1732be13_e8f9_4a03_bfbc_5f616aa66ce1); } @@ -2552,6 +1847,7 @@ pub struct IVdsProviderSupport_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsRemovable(::windows_core::IUnknown); impl IVdsRemovable { pub unsafe fn QueryMedia(&self) -> ::windows_core::Result<()> { @@ -2562,25 +1858,9 @@ impl IVdsRemovable { } } ::windows_core::imp::interface_hierarchy!(IVdsRemovable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsRemovable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsRemovable {} -impl ::core::fmt::Debug for IVdsRemovable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsRemovable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsRemovable { type Vtable = IVdsRemovable_Vtbl; } -impl ::core::clone::Clone for IVdsRemovable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsRemovable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0316560b_5db4_4ed9_bbb5_213436ddc0d9); } @@ -2593,6 +1873,7 @@ pub struct IVdsRemovable_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsService(::windows_core::IUnknown); impl IVdsService { pub unsafe fn IsServiceReady(&self) -> ::windows_core::Result<()> { @@ -2659,25 +1940,9 @@ impl IVdsService { } } ::windows_core::imp::interface_hierarchy!(IVdsService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsService {} -impl ::core::fmt::Debug for IVdsService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsService { type Vtable = IVdsService_Vtbl; } -impl ::core::clone::Clone for IVdsService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0818a8ef_9ba9_40d8_a6f9_e22833cc771e); } @@ -2708,6 +1973,7 @@ pub struct IVdsService_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceHba(::windows_core::IUnknown); impl IVdsServiceHba { pub unsafe fn QueryHbaPorts(&self) -> ::windows_core::Result { @@ -2716,25 +1982,9 @@ impl IVdsServiceHba { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceHba, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceHba { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceHba {} -impl ::core::fmt::Debug for IVdsServiceHba { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceHba").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceHba { type Vtable = IVdsServiceHba_Vtbl; } -impl ::core::clone::Clone for IVdsServiceHba { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceHba { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ac13689_3134_47c6_a17c_4669216801be); } @@ -2746,6 +1996,7 @@ pub struct IVdsServiceHba_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceInitialization(::windows_core::IUnknown); impl IVdsServiceInitialization { pub unsafe fn Initialize(&self, pwszmachinename: P0) -> ::windows_core::Result<()> @@ -2756,25 +2007,9 @@ impl IVdsServiceInitialization { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceInitialization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceInitialization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceInitialization {} -impl ::core::fmt::Debug for IVdsServiceInitialization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceInitialization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceInitialization { type Vtable = IVdsServiceInitialization_Vtbl; } -impl ::core::clone::Clone for IVdsServiceInitialization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceInitialization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4afc3636_db01_4052_80c3_03bbcb8d3c69); } @@ -2786,6 +2021,7 @@ pub struct IVdsServiceInitialization_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceIscsi(::windows_core::IUnknown); impl IVdsServiceIscsi { pub unsafe fn GetInitiatorName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -2813,25 +2049,9 @@ impl IVdsServiceIscsi { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceIscsi, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceIscsi { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceIscsi {} -impl ::core::fmt::Debug for IVdsServiceIscsi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceIscsi").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceIscsi { type Vtable = IVdsServiceIscsi_Vtbl; } -impl ::core::clone::Clone for IVdsServiceIscsi { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceIscsi { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14fbe036_3ed7_4e10_90e9_a5ff991aff01); } @@ -2849,6 +2069,7 @@ pub struct IVdsServiceIscsi_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceLoader(::windows_core::IUnknown); impl IVdsServiceLoader { pub unsafe fn LoadService(&self, pwszmachinename: P0) -> ::windows_core::Result @@ -2860,25 +2081,9 @@ impl IVdsServiceLoader { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceLoader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceLoader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceLoader {} -impl ::core::fmt::Debug for IVdsServiceLoader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceLoader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceLoader { type Vtable = IVdsServiceLoader_Vtbl; } -impl ::core::clone::Clone for IVdsServiceLoader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceLoader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0393303_90d4_4a97_ab71_e9b671ee2729); } @@ -2890,6 +2095,7 @@ pub struct IVdsServiceLoader_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceSAN(::windows_core::IUnknown); impl IVdsServiceSAN { pub unsafe fn GetSANPolicy(&self) -> ::windows_core::Result { @@ -2901,25 +2107,9 @@ impl IVdsServiceSAN { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceSAN, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceSAN { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceSAN {} -impl ::core::fmt::Debug for IVdsServiceSAN { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceSAN").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceSAN { type Vtable = IVdsServiceSAN_Vtbl; } -impl ::core::clone::Clone for IVdsServiceSAN { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceSAN { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc5d23e8_a88b_41a5_8de0_2d2f73c5a630); } @@ -2932,6 +2122,7 @@ pub struct IVdsServiceSAN_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceSw(::windows_core::IUnknown); impl IVdsServiceSw { pub unsafe fn GetDiskObject(&self, pwszdeviceid: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -2943,25 +2134,9 @@ impl IVdsServiceSw { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceSw, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceSw { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceSw {} -impl ::core::fmt::Debug for IVdsServiceSw { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceSw").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceSw { type Vtable = IVdsServiceSw_Vtbl; } -impl ::core::clone::Clone for IVdsServiceSw { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceSw { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15fc031c_0652_4306_b2c3_f558b8f837e2); } @@ -2973,6 +2148,7 @@ pub struct IVdsServiceSw_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsServiceUninstallDisk(::windows_core::IUnknown); impl IVdsServiceUninstallDisk { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2991,25 +2167,9 @@ impl IVdsServiceUninstallDisk { } } ::windows_core::imp::interface_hierarchy!(IVdsServiceUninstallDisk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsServiceUninstallDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsServiceUninstallDisk {} -impl ::core::fmt::Debug for IVdsServiceUninstallDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsServiceUninstallDisk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsServiceUninstallDisk { type Vtable = IVdsServiceUninstallDisk_Vtbl; } -impl ::core::clone::Clone for IVdsServiceUninstallDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsServiceUninstallDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6b22da8_f903_4be7_b492_c09d875ac9da); } @@ -3028,6 +2188,7 @@ pub struct IVdsServiceUninstallDisk_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsStoragePool(::windows_core::IUnknown); impl IVdsStoragePool { pub unsafe fn GetProvider(&self) -> ::windows_core::Result { @@ -3057,25 +2218,9 @@ impl IVdsStoragePool { } } ::windows_core::imp::interface_hierarchy!(IVdsStoragePool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsStoragePool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsStoragePool {} -impl ::core::fmt::Debug for IVdsStoragePool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsStoragePool").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsStoragePool { type Vtable = IVdsStoragePool_Vtbl; } -impl ::core::clone::Clone for IVdsStoragePool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsStoragePool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x932ca8cf_0eb3_4ba8_9620_22665d7f8450); } @@ -3098,6 +2243,7 @@ pub struct IVdsStoragePool_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystem(::windows_core::IUnknown); impl IVdsSubSystem { pub unsafe fn GetProperties(&self, psubsystemprop: *mut VDS_SUB_SYSTEM_PROP) -> ::windows_core::Result<()> { @@ -3152,25 +2298,9 @@ impl IVdsSubSystem { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystem {} -impl ::core::fmt::Debug for IVdsSubSystem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystem { type Vtable = IVdsSubSystem_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fcee2d3_6d90_4f91_80e2_a5c7caaca9d8); } @@ -3199,6 +2329,7 @@ pub struct IVdsSubSystem_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystem2(::windows_core::IUnknown); impl IVdsSubSystem2 { pub unsafe fn GetProperties2(&self, psubsystemprop2: *mut VDS_SUB_SYSTEM_PROP2) -> ::windows_core::Result<()> { @@ -3225,25 +2356,9 @@ impl IVdsSubSystem2 { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystem2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystem2 {} -impl ::core::fmt::Debug for IVdsSubSystem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystem2 { type Vtable = IVdsSubSystem2_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe666735_7800_4a77_9d9c_40f85b87e292); } @@ -3264,6 +2379,7 @@ pub struct IVdsSubSystem2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystemImportTarget(::windows_core::IUnknown); impl IVdsSubSystemImportTarget { pub unsafe fn GetImportTarget(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3278,25 +2394,9 @@ impl IVdsSubSystemImportTarget { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystemImportTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystemImportTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystemImportTarget {} -impl ::core::fmt::Debug for IVdsSubSystemImportTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystemImportTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystemImportTarget { type Vtable = IVdsSubSystemImportTarget_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystemImportTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystemImportTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83bfb87f_43fb_4903_baa6_127f01029eec); } @@ -3309,6 +2409,7 @@ pub struct IVdsSubSystemImportTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystemInterconnect(::windows_core::IUnknown); impl IVdsSubSystemInterconnect { pub unsafe fn GetSupportedInterconnects(&self) -> ::windows_core::Result { @@ -3317,25 +2418,9 @@ impl IVdsSubSystemInterconnect { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystemInterconnect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystemInterconnect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystemInterconnect {} -impl ::core::fmt::Debug for IVdsSubSystemInterconnect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystemInterconnect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystemInterconnect { type Vtable = IVdsSubSystemInterconnect_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystemInterconnect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystemInterconnect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e6fa560_c141_477b_83ba_0b6c38f7febf); } @@ -3347,6 +2432,7 @@ pub struct IVdsSubSystemInterconnect_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystemIscsi(::windows_core::IUnknown); impl IVdsSubSystemIscsi { pub unsafe fn QueryTargets(&self) -> ::windows_core::Result { @@ -3370,25 +2456,9 @@ impl IVdsSubSystemIscsi { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystemIscsi, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystemIscsi { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystemIscsi {} -impl ::core::fmt::Debug for IVdsSubSystemIscsi { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystemIscsi").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystemIscsi { type Vtable = IVdsSubSystemIscsi_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystemIscsi { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystemIscsi { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0027346f_40d0_4b45_8cec_5906dc0380c8); } @@ -3403,6 +2473,7 @@ pub struct IVdsSubSystemIscsi_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSubSystemNaming(::windows_core::IUnknown); impl IVdsSubSystemNaming { pub unsafe fn SetFriendlyName(&self, pwszfriendlyname: P0) -> ::windows_core::Result<()> @@ -3413,25 +2484,9 @@ impl IVdsSubSystemNaming { } } ::windows_core::imp::interface_hierarchy!(IVdsSubSystemNaming, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSubSystemNaming { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSubSystemNaming {} -impl ::core::fmt::Debug for IVdsSubSystemNaming { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSubSystemNaming").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSubSystemNaming { type Vtable = IVdsSubSystemNaming_Vtbl; } -impl ::core::clone::Clone for IVdsSubSystemNaming { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSubSystemNaming { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d70faa3_9cd4_4900_aa20_6981b6aafc75); } @@ -3443,6 +2498,7 @@ pub struct IVdsSubSystemNaming_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsSwProvider(::windows_core::IUnknown); impl IVdsSwProvider { pub unsafe fn QueryPacks(&self) -> ::windows_core::Result { @@ -3455,25 +2511,9 @@ impl IVdsSwProvider { } } ::windows_core::imp::interface_hierarchy!(IVdsSwProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsSwProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsSwProvider {} -impl ::core::fmt::Debug for IVdsSwProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsSwProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsSwProvider { type Vtable = IVdsSwProvider_Vtbl; } -impl ::core::clone::Clone for IVdsSwProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsSwProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9aa58360_ce33_4f92_b658_ed24b14425b8); } @@ -3486,6 +2526,7 @@ pub struct IVdsSwProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVDisk(::windows_core::IUnknown); impl IVdsVDisk { #[doc = "*Required features: `\"Win32_Storage_Vhd\"`*"] @@ -3509,25 +2550,9 @@ impl IVdsVDisk { } } ::windows_core::imp::interface_hierarchy!(IVdsVDisk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVDisk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVDisk {} -impl ::core::fmt::Debug for IVdsVDisk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVDisk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVDisk { type Vtable = IVdsVDisk_Vtbl; } -impl ::core::clone::Clone for IVdsVDisk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVDisk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e062b84_e5e6_4b4b_8a25_67b81e8f13e8); } @@ -3548,6 +2573,7 @@ pub struct IVdsVDisk_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVdProvider(::windows_core::IUnknown); impl IVdsVdProvider { pub unsafe fn QueryVDisks(&self) -> ::windows_core::Result { @@ -3587,25 +2613,9 @@ impl IVdsVdProvider { } } ::windows_core::imp::interface_hierarchy!(IVdsVdProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVdProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVdProvider {} -impl ::core::fmt::Debug for IVdsVdProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVdProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVdProvider { type Vtable = IVdsVdProvider_Vtbl; } -impl ::core::clone::Clone for IVdsVdProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVdProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb481498c_8354_45f9_84a0_0bdd2832a91f); } @@ -3627,6 +2637,7 @@ pub struct IVdsVdProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolume(::windows_core::IUnknown); impl IVdsVolume { pub unsafe fn GetProperties(&self, pvolumeproperties: *mut VDS_VOLUME_PROP) -> ::windows_core::Result<()> { @@ -3681,25 +2692,9 @@ impl IVdsVolume { } } ::windows_core::imp::interface_hierarchy!(IVdsVolume, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolume { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolume {} -impl ::core::fmt::Debug for IVdsVolume { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolume").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolume { type Vtable = IVdsVolume_Vtbl; } -impl ::core::clone::Clone for IVdsVolume { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolume { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88306bb2_e71f_478c_86a2_79da200a0f11); } @@ -3727,6 +2722,7 @@ pub struct IVdsVolume_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolume2(::windows_core::IUnknown); impl IVdsVolume2 { pub unsafe fn GetProperties2(&self, pvolumeproperties: *mut VDS_VOLUME_PROP2) -> ::windows_core::Result<()> { @@ -3734,25 +2730,9 @@ impl IVdsVolume2 { } } ::windows_core::imp::interface_hierarchy!(IVdsVolume2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolume2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolume2 {} -impl ::core::fmt::Debug for IVdsVolume2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolume2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolume2 { type Vtable = IVdsVolume2_Vtbl; } -impl ::core::clone::Clone for IVdsVolume2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolume2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72ae6713_dcbb_4a03_b36b_371f6ac6b53d); } @@ -3764,6 +2744,7 @@ pub struct IVdsVolume2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumeMF(::windows_core::IUnknown); impl IVdsVolumeMF { pub unsafe fn GetFileSystemProperties(&self, pfilesystemprop: *mut VDS_FILE_SYSTEM_PROP) -> ::windows_core::Result<()> { @@ -3822,25 +2803,9 @@ impl IVdsVolumeMF { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumeMF, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumeMF { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumeMF {} -impl ::core::fmt::Debug for IVdsVolumeMF { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumeMF").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumeMF { type Vtable = IVdsVolumeMF_Vtbl; } -impl ::core::clone::Clone for IVdsVolumeMF { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumeMF { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee2d5ded_6236_4169_931d_b9778ce03dc6); } @@ -3870,6 +2835,7 @@ pub struct IVdsVolumeMF_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumeMF2(::windows_core::IUnknown); impl IVdsVolumeMF2 { pub unsafe fn GetFileSystemTypeName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3894,25 +2860,9 @@ impl IVdsVolumeMF2 { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumeMF2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumeMF2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumeMF2 {} -impl ::core::fmt::Debug for IVdsVolumeMF2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumeMF2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumeMF2 { type Vtable = IVdsVolumeMF2_Vtbl; } -impl ::core::clone::Clone for IVdsVolumeMF2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumeMF2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dbcee9a_6343_4651_b85f_5e75d74d983c); } @@ -3929,6 +2879,7 @@ pub struct IVdsVolumeMF2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumeMF3(::windows_core::IUnknown); impl IVdsVolumeMF3 { pub unsafe fn QueryVolumeGuidPathnames(&self, pwszpatharray: *mut *mut ::windows_core::PWSTR, pulnumberofpaths: *mut u32) -> ::windows_core::Result<()> { @@ -3947,25 +2898,9 @@ impl IVdsVolumeMF3 { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumeMF3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumeMF3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumeMF3 {} -impl ::core::fmt::Debug for IVdsVolumeMF3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumeMF3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumeMF3 { type Vtable = IVdsVolumeMF3_Vtbl; } -impl ::core::clone::Clone for IVdsVolumeMF3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumeMF3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6788faf9_214e_4b85_ba59_266953616e09); } @@ -3979,6 +2914,7 @@ pub struct IVdsVolumeMF3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumeOnline(::windows_core::IUnknown); impl IVdsVolumeOnline { pub unsafe fn Online(&self) -> ::windows_core::Result<()> { @@ -3986,25 +2922,9 @@ impl IVdsVolumeOnline { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumeOnline, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumeOnline { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumeOnline {} -impl ::core::fmt::Debug for IVdsVolumeOnline { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumeOnline").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumeOnline { type Vtable = IVdsVolumeOnline_Vtbl; } -impl ::core::clone::Clone for IVdsVolumeOnline { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumeOnline { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1be2275a_b315_4f70_9e44_879b3a2a53f2); } @@ -4016,6 +2936,7 @@ pub struct IVdsVolumeOnline_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumePlex(::windows_core::IUnknown); impl IVdsVolumePlex { pub unsafe fn GetProperties(&self, pplexproperties: *mut VDS_VOLUME_PLEX_PROP) -> ::windows_core::Result<()> { @@ -4034,25 +2955,9 @@ impl IVdsVolumePlex { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumePlex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumePlex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumePlex {} -impl ::core::fmt::Debug for IVdsVolumePlex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumePlex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumePlex { type Vtable = IVdsVolumePlex_Vtbl; } -impl ::core::clone::Clone for IVdsVolumePlex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumePlex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4daa0135_e1d1_40f1_aaa5_3cc1e53221c3); } @@ -4067,6 +2972,7 @@ pub struct IVdsVolumePlex_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVdsVolumeShrink(::windows_core::IUnknown); impl IVdsVolumeShrink { pub unsafe fn QueryMaxReclaimableBytes(&self) -> ::windows_core::Result { @@ -4079,25 +2985,9 @@ impl IVdsVolumeShrink { } } ::windows_core::imp::interface_hierarchy!(IVdsVolumeShrink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVdsVolumeShrink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVdsVolumeShrink {} -impl ::core::fmt::Debug for IVdsVolumeShrink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVdsVolumeShrink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVdsVolumeShrink { type Vtable = IVdsVolumeShrink_Vtbl; } -impl ::core::clone::Clone for IVdsVolumeShrink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVdsVolumeShrink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd68168c9_82a2_4f85_b6e9_74707c49a58f); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs index d851c0a2e3..4f0ef1bf7d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs @@ -42,8 +42,8 @@ impl IVssAdmin_Vtbl { AbortAllSnapshotsInProgress: AbortAllSnapshotsInProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IVssAdminEx_Vtbl { SetProviderContext: SetProviderContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl IVssAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IVssComponent_Vtbl { GetDifferencedFile: GetDifferencedFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -509,8 +509,8 @@ impl IVssComponentEx_Vtbl { GetRestoreName: GetRestoreName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -540,8 +540,8 @@ impl IVssComponentEx2_Vtbl { GetFailure: GetFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl IVssCreateExpressWriterMetadata_Vtbl { SaveAsXML: SaveAsXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -807,8 +807,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { QueryDiffAreasForSnapshot: QueryDiffAreasForSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -858,8 +858,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { SetSnapshotPriority: SetSnapshotPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { QuerySnapshotDeltaBitmap: QuerySnapshotDeltaBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -952,8 +952,8 @@ impl IVssEnumMgmtObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -994,8 +994,8 @@ impl IVssEnumObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1042,8 +1042,8 @@ impl IVssExpressWriter_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1127,8 +1127,8 @@ impl IVssFileShareSnapshotProvider_Vtbl { SetSnapshotProperty: SetSnapshotProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl IVssHardwareSnapshotProvider_Vtbl { OnLunEmpty: OnLunEmpty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IVssHardwareSnapshotProviderEx_Vtbl { OnReuseLuns: OnReuseLuns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1306,8 +1306,8 @@ impl IVssProviderCreateSnapshotSet_Vtbl { AbortSnapshots: AbortSnapshots::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1337,8 +1337,8 @@ impl IVssProviderNotifications_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IVssSnapshotMgmt_Vtbl { QuerySnapshotsByVolume: QuerySnapshotsByVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1414,8 +1414,8 @@ impl IVssSnapshotMgmt2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMinDiffAreaSize: GetMinDiffAreaSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1519,8 +1519,8 @@ impl IVssSoftwareSnapshotProvider_Vtbl { QueryRevertStatus: QueryRevertStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IVssWMDependency_Vtbl { GetComponentName: GetComponentName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IVssWMFiledesc_Vtbl { GetBackupTypeMask: GetBackupTypeMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs index 75cf650fed..e132a8eec6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs @@ -7,6 +7,7 @@ pub unsafe fn CreateVssExpressWriterInternal() -> ::windows_core::Result ::windows_core::Result<()> { @@ -24,25 +25,9 @@ impl IVssAdmin { } } ::windows_core::imp::interface_hierarchy!(IVssAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssAdmin {} -impl ::core::fmt::Debug for IVssAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssAdmin { type Vtable = IVssAdmin_Vtbl; } -impl ::core::clone::Clone for IVssAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77ed5996_2f63_11d3_8a39_00c04f72d8e3); } @@ -57,6 +42,7 @@ pub struct IVssAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssAdminEx(::windows_core::IUnknown); impl IVssAdminEx { pub unsafe fn RegisterProvider(&self, pproviderid: ::windows_core::GUID, classid: ::windows_core::GUID, pwszprovidername: *const u16, eprovidertype: VSS_PROVIDER_TYPE, pwszproviderversion: *const u16, providerversionid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -85,25 +71,9 @@ impl IVssAdminEx { } } ::windows_core::imp::interface_hierarchy!(IVssAdminEx, ::windows_core::IUnknown, IVssAdmin); -impl ::core::cmp::PartialEq for IVssAdminEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssAdminEx {} -impl ::core::fmt::Debug for IVssAdminEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssAdminEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssAdminEx { type Vtable = IVssAdminEx_Vtbl; } -impl ::core::clone::Clone for IVssAdminEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssAdminEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7858a9f8_b1fa_41a6_964f_b9b36b8cd8d8); } @@ -117,6 +87,7 @@ pub struct IVssAdminEx_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssAsync(::windows_core::IUnknown); impl IVssAsync { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -130,25 +101,9 @@ impl IVssAsync { } } ::windows_core::imp::interface_hierarchy!(IVssAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssAsync {} -impl ::core::fmt::Debug for IVssAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssAsync { type Vtable = IVssAsync_Vtbl; } -impl ::core::clone::Clone for IVssAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x507c37b4_cf5b_4e95_b0af_14eb9767467e); } @@ -162,6 +117,7 @@ pub struct IVssAsync_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssComponent(::windows_core::IUnknown); impl IVssComponent { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -328,25 +284,9 @@ impl IVssComponent { } } ::windows_core::imp::interface_hierarchy!(IVssComponent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssComponent {} -impl ::core::fmt::Debug for IVssComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssComponent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssComponent { type Vtable = IVssComponent_Vtbl; } -impl ::core::clone::Clone for IVssComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2c72c96_c121_4518_b627_e5a93d010ead); } @@ -404,6 +344,7 @@ pub struct IVssComponent_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssComponentEx(::windows_core::IUnknown); impl IVssComponentEx { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -601,25 +542,9 @@ impl IVssComponentEx { } } ::windows_core::imp::interface_hierarchy!(IVssComponentEx, ::windows_core::IUnknown, IVssComponent); -impl ::core::cmp::PartialEq for IVssComponentEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssComponentEx {} -impl ::core::fmt::Debug for IVssComponentEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssComponentEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssComponentEx { type Vtable = IVssComponentEx_Vtbl; } -impl ::core::clone::Clone for IVssComponentEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssComponentEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x156c8b5e_f131_4bd7_9c97_d1923be7e1fa); } @@ -637,6 +562,7 @@ pub struct IVssComponentEx_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssComponentEx2(::windows_core::IUnknown); impl IVssComponentEx2 { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -843,25 +769,9 @@ impl IVssComponentEx2 { } } ::windows_core::imp::interface_hierarchy!(IVssComponentEx2, ::windows_core::IUnknown, IVssComponent, IVssComponentEx); -impl ::core::cmp::PartialEq for IVssComponentEx2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssComponentEx2 {} -impl ::core::fmt::Debug for IVssComponentEx2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssComponentEx2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssComponentEx2 { type Vtable = IVssComponentEx2_Vtbl; } -impl ::core::clone::Clone for IVssComponentEx2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssComponentEx2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b5be0f2_07a9_4e4b_bdd3_cfdc8e2c0d2d); } @@ -874,6 +784,7 @@ pub struct IVssComponentEx2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssCreateExpressWriterMetadata(::windows_core::IUnknown); impl IVssCreateExpressWriterMetadata { pub unsafe fn AddExcludeFiles(&self, wszpath: P0, wszfilespec: P1, brecursive: u8) -> ::windows_core::Result<()> @@ -926,25 +837,9 @@ impl IVssCreateExpressWriterMetadata { } } ::windows_core::imp::interface_hierarchy!(IVssCreateExpressWriterMetadata, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssCreateExpressWriterMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssCreateExpressWriterMetadata {} -impl ::core::fmt::Debug for IVssCreateExpressWriterMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssCreateExpressWriterMetadata").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssCreateExpressWriterMetadata { type Vtable = IVssCreateExpressWriterMetadata_Vtbl; } -impl ::core::clone::Clone for IVssCreateExpressWriterMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssCreateExpressWriterMetadata { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c772e77_b26e_427f_92dd_c996f41ea5e3); } @@ -962,6 +857,7 @@ pub struct IVssCreateExpressWriterMetadata_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssCreateWriterMetadata(::std::ptr::NonNull<::std::ffi::c_void>); impl IVssCreateWriterMetadata { pub unsafe fn AddIncludeFiles(&self, wszpath: P0, wszfilespec: P1, brecursive: u8, wszalternatelocation: P2) -> ::windows_core::Result<()> @@ -1052,25 +948,9 @@ impl IVssCreateWriterMetadata { (::windows_core::Interface::vtable(self).SaveAsXML)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pbstrxml)).ok() } } -impl ::core::cmp::PartialEq for IVssCreateWriterMetadata { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssCreateWriterMetadata {} -impl ::core::fmt::Debug for IVssCreateWriterMetadata { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssCreateWriterMetadata").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssCreateWriterMetadata { type Vtable = IVssCreateWriterMetadata_Vtbl; } -impl ::core::clone::Clone for IVssCreateWriterMetadata { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IVssCreateWriterMetadata_Vtbl { @@ -1092,6 +972,7 @@ pub struct IVssCreateWriterMetadata_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssDifferentialSoftwareSnapshotMgmt(::windows_core::IUnknown); impl IVssDifferentialSoftwareSnapshotMgmt { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> ::windows_core::Result<()> { @@ -1118,25 +999,9 @@ impl IVssDifferentialSoftwareSnapshotMgmt { } } ::windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssDifferentialSoftwareSnapshotMgmt {} -impl ::core::fmt::Debug for IVssDifferentialSoftwareSnapshotMgmt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssDifferentialSoftwareSnapshotMgmt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssDifferentialSoftwareSnapshotMgmt { type Vtable = IVssDifferentialSoftwareSnapshotMgmt_Vtbl; } -impl ::core::clone::Clone for IVssDifferentialSoftwareSnapshotMgmt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssDifferentialSoftwareSnapshotMgmt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x214a0f28_b737_4026_b847_4f9e37d79529); } @@ -1153,6 +1018,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssDifferentialSoftwareSnapshotMgmt2(::windows_core::IUnknown); impl IVssDifferentialSoftwareSnapshotMgmt2 { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> ::windows_core::Result<()> { @@ -1197,25 +1063,9 @@ impl IVssDifferentialSoftwareSnapshotMgmt2 { } } ::windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt2, ::windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt); -impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssDifferentialSoftwareSnapshotMgmt2 {} -impl ::core::fmt::Debug for IVssDifferentialSoftwareSnapshotMgmt2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssDifferentialSoftwareSnapshotMgmt2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssDifferentialSoftwareSnapshotMgmt2 { type Vtable = IVssDifferentialSoftwareSnapshotMgmt2_Vtbl; } -impl ::core::clone::Clone for IVssDifferentialSoftwareSnapshotMgmt2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssDifferentialSoftwareSnapshotMgmt2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x949d7353_675f_4275_8969_f044c6277815); } @@ -1233,6 +1083,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssDifferentialSoftwareSnapshotMgmt3(::windows_core::IUnknown); impl IVssDifferentialSoftwareSnapshotMgmt3 { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> ::windows_core::Result<()> { @@ -1294,25 +1145,9 @@ impl IVssDifferentialSoftwareSnapshotMgmt3 { } } ::windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt3, ::windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt2); -impl ::core::cmp::PartialEq for IVssDifferentialSoftwareSnapshotMgmt3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssDifferentialSoftwareSnapshotMgmt3 {} -impl ::core::fmt::Debug for IVssDifferentialSoftwareSnapshotMgmt3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssDifferentialSoftwareSnapshotMgmt3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssDifferentialSoftwareSnapshotMgmt3 { type Vtable = IVssDifferentialSoftwareSnapshotMgmt3_Vtbl; } -impl ::core::clone::Clone for IVssDifferentialSoftwareSnapshotMgmt3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssDifferentialSoftwareSnapshotMgmt3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x383f7e71_a4c5_401f_b27f_f826289f8458); } @@ -1331,6 +1166,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssEnumMgmtObject(::windows_core::IUnknown); impl IVssEnumMgmtObject { pub unsafe fn Next(&self, rgelt: &mut [VSS_MGMT_OBJECT_PROP], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1347,25 +1183,9 @@ impl IVssEnumMgmtObject { } } ::windows_core::imp::interface_hierarchy!(IVssEnumMgmtObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssEnumMgmtObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssEnumMgmtObject {} -impl ::core::fmt::Debug for IVssEnumMgmtObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssEnumMgmtObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssEnumMgmtObject { type Vtable = IVssEnumMgmtObject_Vtbl; } -impl ::core::clone::Clone for IVssEnumMgmtObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssEnumMgmtObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01954e6b_9254_4e6e_808c_c9e05d007696); } @@ -1380,6 +1200,7 @@ pub struct IVssEnumMgmtObject_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssEnumObject(::windows_core::IUnknown); impl IVssEnumObject { pub unsafe fn Next(&self, rgelt: &mut [VSS_OBJECT_PROP], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1396,25 +1217,9 @@ impl IVssEnumObject { } } ::windows_core::imp::interface_hierarchy!(IVssEnumObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssEnumObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssEnumObject {} -impl ::core::fmt::Debug for IVssEnumObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssEnumObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssEnumObject { type Vtable = IVssEnumObject_Vtbl; } -impl ::core::clone::Clone for IVssEnumObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssEnumObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae1c7110_2f60_11d3_8a39_00c04f72d8e3); } @@ -1429,6 +1234,7 @@ pub struct IVssEnumObject_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssExpressWriter(::windows_core::IUnknown); impl IVssExpressWriter { pub unsafe fn CreateMetadata(&self, writerid: ::windows_core::GUID, writername: P0, usagetype: VSS_USAGE_TYPE, versionmajor: u32, versionminor: u32, reserved: u32) -> ::windows_core::Result @@ -1452,25 +1258,9 @@ impl IVssExpressWriter { } } ::windows_core::imp::interface_hierarchy!(IVssExpressWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssExpressWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssExpressWriter {} -impl ::core::fmt::Debug for IVssExpressWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssExpressWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssExpressWriter { type Vtable = IVssExpressWriter_Vtbl; } -impl ::core::clone::Clone for IVssExpressWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssExpressWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe33affdc_59c7_47b1_97d5_4266598f6235); } @@ -1485,6 +1275,7 @@ pub struct IVssExpressWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssFileShareSnapshotProvider(::windows_core::IUnknown); impl IVssFileShareSnapshotProvider { pub unsafe fn SetContext(&self, lcontext: i32) -> ::windows_core::Result<()> { @@ -1526,25 +1317,9 @@ impl IVssFileShareSnapshotProvider { } } ::windows_core::imp::interface_hierarchy!(IVssFileShareSnapshotProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssFileShareSnapshotProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssFileShareSnapshotProvider {} -impl ::core::fmt::Debug for IVssFileShareSnapshotProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssFileShareSnapshotProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssFileShareSnapshotProvider { type Vtable = IVssFileShareSnapshotProvider_Vtbl; } -impl ::core::clone::Clone for IVssFileShareSnapshotProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssFileShareSnapshotProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8636060_7c2e_11df_8c4a_0800200c9a66); } @@ -1575,6 +1350,7 @@ pub struct IVssFileShareSnapshotProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssHardwareSnapshotProvider(::windows_core::IUnknown); impl IVssHardwareSnapshotProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`*"] @@ -1609,25 +1385,9 @@ impl IVssHardwareSnapshotProvider { } } ::windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssHardwareSnapshotProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssHardwareSnapshotProvider {} -impl ::core::fmt::Debug for IVssHardwareSnapshotProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssHardwareSnapshotProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssHardwareSnapshotProvider { type Vtable = IVssHardwareSnapshotProvider_Vtbl; } -impl ::core::clone::Clone for IVssHardwareSnapshotProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssHardwareSnapshotProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9593a157_44e9_4344_bbeb_44fbf9b06b10); } @@ -1662,6 +1422,7 @@ pub struct IVssHardwareSnapshotProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssHardwareSnapshotProviderEx(::windows_core::IUnknown); impl IVssHardwareSnapshotProviderEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`*"] @@ -1716,25 +1477,9 @@ impl IVssHardwareSnapshotProviderEx { } } ::windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProviderEx, ::windows_core::IUnknown, IVssHardwareSnapshotProvider); -impl ::core::cmp::PartialEq for IVssHardwareSnapshotProviderEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssHardwareSnapshotProviderEx {} -impl ::core::fmt::Debug for IVssHardwareSnapshotProviderEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssHardwareSnapshotProviderEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssHardwareSnapshotProviderEx { type Vtable = IVssHardwareSnapshotProviderEx_Vtbl; } -impl ::core::clone::Clone for IVssHardwareSnapshotProviderEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssHardwareSnapshotProviderEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f5ba925_cdb1_4d11_a71f_339eb7e709fd); } @@ -1758,6 +1503,7 @@ pub struct IVssHardwareSnapshotProviderEx_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssProviderCreateSnapshotSet(::windows_core::IUnknown); impl IVssProviderCreateSnapshotSet { pub unsafe fn EndPrepareSnapshots(&self, snapshotsetid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1783,25 +1529,9 @@ impl IVssProviderCreateSnapshotSet { } } ::windows_core::imp::interface_hierarchy!(IVssProviderCreateSnapshotSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssProviderCreateSnapshotSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssProviderCreateSnapshotSet {} -impl ::core::fmt::Debug for IVssProviderCreateSnapshotSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssProviderCreateSnapshotSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssProviderCreateSnapshotSet { type Vtable = IVssProviderCreateSnapshotSet_Vtbl; } -impl ::core::clone::Clone for IVssProviderCreateSnapshotSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssProviderCreateSnapshotSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f894e5b_1e39_4778_8e23_9abad9f0e08c); } @@ -1819,6 +1549,7 @@ pub struct IVssProviderCreateSnapshotSet_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssProviderNotifications(::windows_core::IUnknown); impl IVssProviderNotifications { pub unsafe fn OnLoad(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -1837,25 +1568,9 @@ impl IVssProviderNotifications { } } ::windows_core::imp::interface_hierarchy!(IVssProviderNotifications, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssProviderNotifications { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssProviderNotifications {} -impl ::core::fmt::Debug for IVssProviderNotifications { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssProviderNotifications").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssProviderNotifications { type Vtable = IVssProviderNotifications_Vtbl; } -impl ::core::clone::Clone for IVssProviderNotifications { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssProviderNotifications { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe561901f_03a5_4afe_86d0_72baeece7004); } @@ -1871,6 +1586,7 @@ pub struct IVssProviderNotifications_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssSnapshotMgmt(::windows_core::IUnknown); impl IVssSnapshotMgmt { pub unsafe fn GetProviderMgmtInterface(&self, providerid: ::windows_core::GUID, interfaceid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1887,25 +1603,9 @@ impl IVssSnapshotMgmt { } } ::windows_core::imp::interface_hierarchy!(IVssSnapshotMgmt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssSnapshotMgmt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssSnapshotMgmt {} -impl ::core::fmt::Debug for IVssSnapshotMgmt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssSnapshotMgmt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssSnapshotMgmt { type Vtable = IVssSnapshotMgmt_Vtbl; } -impl ::core::clone::Clone for IVssSnapshotMgmt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssSnapshotMgmt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa7df749_66e7_4986_a27f_e2f04ae53772); } @@ -1919,6 +1619,7 @@ pub struct IVssSnapshotMgmt_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssSnapshotMgmt2(::windows_core::IUnknown); impl IVssSnapshotMgmt2 { pub unsafe fn GetMinDiffAreaSize(&self) -> ::windows_core::Result { @@ -1927,25 +1628,9 @@ impl IVssSnapshotMgmt2 { } } ::windows_core::imp::interface_hierarchy!(IVssSnapshotMgmt2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssSnapshotMgmt2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssSnapshotMgmt2 {} -impl ::core::fmt::Debug for IVssSnapshotMgmt2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssSnapshotMgmt2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssSnapshotMgmt2 { type Vtable = IVssSnapshotMgmt2_Vtbl; } -impl ::core::clone::Clone for IVssSnapshotMgmt2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssSnapshotMgmt2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f61ec39_fe82_45f2_a3f0_768b5d427102); } @@ -1957,6 +1642,7 @@ pub struct IVssSnapshotMgmt2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssSoftwareSnapshotProvider(::windows_core::IUnknown); impl IVssSoftwareSnapshotProvider { pub unsafe fn SetContext(&self, lcontext: i32) -> ::windows_core::Result<()> { @@ -2005,25 +1691,9 @@ impl IVssSoftwareSnapshotProvider { } } ::windows_core::imp::interface_hierarchy!(IVssSoftwareSnapshotProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssSoftwareSnapshotProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssSoftwareSnapshotProvider {} -impl ::core::fmt::Debug for IVssSoftwareSnapshotProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssSoftwareSnapshotProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssSoftwareSnapshotProvider { type Vtable = IVssSoftwareSnapshotProvider_Vtbl; } -impl ::core::clone::Clone for IVssSoftwareSnapshotProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssSoftwareSnapshotProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x609e123e_2c5a_44d3_8f01_0b1d9a47d1ff); } @@ -2056,6 +1726,7 @@ pub struct IVssSoftwareSnapshotProvider_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssWMDependency(::windows_core::IUnknown); impl IVssWMDependency { pub unsafe fn GetWriterId(&self, pwriterid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -2069,25 +1740,9 @@ impl IVssWMDependency { } } ::windows_core::imp::interface_hierarchy!(IVssWMDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssWMDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssWMDependency {} -impl ::core::fmt::Debug for IVssWMDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssWMDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssWMDependency { type Vtable = IVssWMDependency_Vtbl; } -impl ::core::clone::Clone for IVssWMDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssWMDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2101,6 +1756,7 @@ pub struct IVssWMDependency_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssWMFiledesc(::windows_core::IUnknown); impl IVssWMFiledesc { pub unsafe fn GetPath(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2125,25 +1781,9 @@ impl IVssWMFiledesc { } } ::windows_core::imp::interface_hierarchy!(IVssWMFiledesc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVssWMFiledesc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssWMFiledesc {} -impl ::core::fmt::Debug for IVssWMFiledesc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssWMFiledesc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssWMFiledesc { type Vtable = IVssWMFiledesc_Vtbl; } -impl ::core::clone::Clone for IVssWMFiledesc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVssWMFiledesc { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2159,6 +1799,7 @@ pub struct IVssWMFiledesc_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Vss\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVssWriterComponents(::std::ptr::NonNull<::std::ffi::c_void>); impl IVssWriterComponents { pub unsafe fn GetComponentCount(&self, pccomponents: *mut u32) -> ::windows_core::Result<()> { @@ -2172,25 +1813,9 @@ impl IVssWriterComponents { (::windows_core::Interface::vtable(self).GetComponent)(::windows_core::Interface::as_raw(self), icomponent, &mut result__).from_abi(result__) } } -impl ::core::cmp::PartialEq for IVssWriterComponents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVssWriterComponents {} -impl ::core::fmt::Debug for IVssWriterComponents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVssWriterComponents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVssWriterComponents { type Vtable = IVssWriterComponents_Vtbl; } -impl ::core::clone::Clone for IVssWriterComponents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IVssWriterComponents_Vtbl { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs index a7d175a004..9b01324c90 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs @@ -18,8 +18,8 @@ impl IPrintDocumentPackageStatusEvent_Vtbl { PackageStatusUpdated: PackageStatusUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IPrintDocumentPackageTarget_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IPrintDocumentPackageTarget2_Vtbl { GetTargetIppPrintDevice: GetTargetIppPrintDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -120,8 +120,8 @@ impl IPrintDocumentPackageTargetFactory_Vtbl { CreateDocumentPackageTargetForPrintJob: CreateDocumentPackageTargetForPrintJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -148,8 +148,8 @@ impl IXpsPrintJob_Vtbl { GetJobStatus: GetJobStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -169,7 +169,7 @@ impl IXpsPrintJobStream_Vtbl { } Self { base__: super::super::super::System::Com::ISequentialStream_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs index 5a46bc7f9d..1020272d84 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs @@ -29,6 +29,7 @@ where #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDocumentPackageStatusEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrintDocumentPackageStatusEvent { @@ -39,30 +40,10 @@ impl IPrintDocumentPackageStatusEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrintDocumentPackageStatusEvent, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrintDocumentPackageStatusEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrintDocumentPackageStatusEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrintDocumentPackageStatusEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDocumentPackageStatusEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrintDocumentPackageStatusEvent { type Vtable = IPrintDocumentPackageStatusEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrintDocumentPackageStatusEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrintDocumentPackageStatusEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed90c8ad_5c34_4d05_a1ec_0e8a9b3ad7af); } @@ -75,6 +56,7 @@ pub struct IPrintDocumentPackageStatusEvent_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDocumentPackageTarget(::windows_core::IUnknown); impl IPrintDocumentPackageTarget { pub unsafe fn GetPackageTargetTypes(&self, targetcount: *mut u32, targettypes: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -92,25 +74,9 @@ impl IPrintDocumentPackageTarget { } } ::windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintDocumentPackageTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDocumentPackageTarget {} -impl ::core::fmt::Debug for IPrintDocumentPackageTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDocumentPackageTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintDocumentPackageTarget { type Vtable = IPrintDocumentPackageTarget_Vtbl; } -impl ::core::clone::Clone for IPrintDocumentPackageTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDocumentPackageTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b8efec4_3019_4c27_964e_367202156906); } @@ -124,6 +90,7 @@ pub struct IPrintDocumentPackageTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDocumentPackageTarget2(::windows_core::IUnknown); impl IPrintDocumentPackageTarget2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -141,25 +108,9 @@ impl IPrintDocumentPackageTarget2 { } } ::windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintDocumentPackageTarget2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDocumentPackageTarget2 {} -impl ::core::fmt::Debug for IPrintDocumentPackageTarget2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDocumentPackageTarget2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintDocumentPackageTarget2 { type Vtable = IPrintDocumentPackageTarget2_Vtbl; } -impl ::core::clone::Clone for IPrintDocumentPackageTarget2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDocumentPackageTarget2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc560298a_535c_48f9_866a_632540660cb4); } @@ -175,6 +126,7 @@ pub struct IPrintDocumentPackageTarget2_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDocumentPackageTargetFactory(::windows_core::IUnknown); impl IPrintDocumentPackageTargetFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -191,25 +143,9 @@ impl IPrintDocumentPackageTargetFactory { } } ::windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTargetFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintDocumentPackageTargetFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDocumentPackageTargetFactory {} -impl ::core::fmt::Debug for IPrintDocumentPackageTargetFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDocumentPackageTargetFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintDocumentPackageTargetFactory { type Vtable = IPrintDocumentPackageTargetFactory_Vtbl; } -impl ::core::clone::Clone for IPrintDocumentPackageTargetFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDocumentPackageTargetFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2959bf7_b31b_4a3d_9600_712eb1335ba4); } @@ -224,6 +160,7 @@ pub struct IPrintDocumentPackageTargetFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsPrintJob(::windows_core::IUnknown); impl IXpsPrintJob { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -234,25 +171,9 @@ impl IXpsPrintJob { } } ::windows_core::imp::interface_hierarchy!(IXpsPrintJob, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsPrintJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsPrintJob {} -impl ::core::fmt::Debug for IXpsPrintJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsPrintJob").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsPrintJob { type Vtable = IXpsPrintJob_Vtbl; } -impl ::core::clone::Clone for IXpsPrintJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsPrintJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ab89b06_8194_425f_ab3b_d7a96e350161); } @@ -266,6 +187,7 @@ pub struct IXpsPrintJob_Vtbl { #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsPrintJobStream(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IXpsPrintJobStream { @@ -286,30 +208,10 @@ impl IXpsPrintJobStream { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IXpsPrintJobStream, ::windows_core::IUnknown, super::super::super::System::Com::ISequentialStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IXpsPrintJobStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IXpsPrintJobStream {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IXpsPrintJobStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsPrintJobStream").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IXpsPrintJobStream { type Vtable = IXpsPrintJobStream_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IXpsPrintJobStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IXpsPrintJobStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a77dc5f_45d6_4dff_9307_d8cb846347ca); } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs index b9469ffc60..cfbb3a45cb 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs @@ -50,8 +50,8 @@ impl IXpsDocumentPackageTarget_Vtbl { GetXpsType: GetXpsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl IXpsDocumentPackageTarget3D_Vtbl { GetXpsOMFactory: GetXpsOMFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -127,8 +127,8 @@ impl IXpsOMBrush_Vtbl { SetOpacity: SetOpacity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -283,8 +283,8 @@ impl IXpsOMCanvas_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IXpsOMColorProfileResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -767,8 +767,8 @@ impl IXpsOMCoreProperties_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -835,8 +835,8 @@ impl IXpsOMDashCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -949,8 +949,8 @@ impl IXpsOMDictionary_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1058,8 +1058,8 @@ impl IXpsOMDocument_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IXpsOMDocumentCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1189,8 +1189,8 @@ impl IXpsOMDocumentSequence_Vtbl { SetPrintTicketResource: SetPrintTicketResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IXpsOMDocumentStructureResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1289,8 +1289,8 @@ impl IXpsOMFontResource_Vtbl { GetEmbeddingOption: GetEmbeddingOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1373,8 +1373,8 @@ impl IXpsOMFontResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1486,8 +1486,8 @@ impl IXpsOMGeometry_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IXpsOMGeometryFigure_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1724,8 +1724,8 @@ impl IXpsOMGeometryFigureCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2032,8 +2032,8 @@ impl IXpsOMGlyphs_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2217,8 +2217,8 @@ impl IXpsOMGlyphsEditor_Vtbl { SetDeviceFontName: SetDeviceFontName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2337,8 +2337,8 @@ impl IXpsOMGradientBrush_Vtbl { SetColorInterpolationMode: SetColorInterpolationMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2411,8 +2411,8 @@ impl IXpsOMGradientStop_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2479,8 +2479,8 @@ impl IXpsOMGradientStopCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl IXpsOMImageBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2596,8 +2596,8 @@ impl IXpsOMImageResource_Vtbl { GetImageType: GetImageType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2680,8 +2680,8 @@ impl IXpsOMImageResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IXpsOMLinearGradientBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2794,8 +2794,8 @@ impl IXpsOMMatrixTransform_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2834,8 +2834,8 @@ impl IXpsOMNameCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl IXpsOMObjectFactory_Vtbl { CreateReadOnlyStreamOnFile: CreateReadOnlyStreamOnFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3516,8 +3516,8 @@ impl IXpsOMObjectFactory1_Vtbl { CreateRemoteDictionaryResourceFromStream1: CreateRemoteDictionaryResourceFromStream1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3627,8 +3627,8 @@ impl IXpsOMPackage_Vtbl { WriteToStream: WriteToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IXpsOMPackage1_Vtbl { WriteToStream1: WriteToStream1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3698,8 +3698,8 @@ impl IXpsOMPackageTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateXpsOMPackageWriter: CreateXpsOMPackageWriter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3756,8 +3756,8 @@ impl IXpsOMPackageWriter_Vtbl { IsClosed: IsClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3787,8 +3787,8 @@ impl IXpsOMPackageWriter3D_Vtbl { SetModelPrintTicket: SetModelPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4036,8 +4036,8 @@ impl IXpsOMPage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4073,8 +4073,8 @@ impl IXpsOMPage1_Vtbl { Write1: Write1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4275,8 +4275,8 @@ impl IXpsOMPageReference_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4343,8 +4343,8 @@ impl IXpsOMPageReferenceCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4380,8 +4380,8 @@ impl IXpsOMPart_Vtbl { SetPartName: SetPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4446,8 +4446,8 @@ impl IXpsOMPartResources_Vtbl { GetRemoteDictionaryResources: GetRemoteDictionaryResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4517,8 +4517,8 @@ impl IXpsOMPartUriCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4919,8 +4919,8 @@ impl IXpsOMPath_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4956,8 +4956,8 @@ impl IXpsOMPrintTicketResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5043,8 +5043,8 @@ impl IXpsOMRadialGradientBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5080,8 +5080,8 @@ impl IXpsOMRemoteDictionaryResource_Vtbl { SetDictionary: SetDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5117,8 +5117,8 @@ impl IXpsOMRemoteDictionaryResource1_Vtbl { Write1: Write1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5201,8 +5201,8 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5215,8 +5215,8 @@ impl IXpsOMResource_Vtbl { pub const fn new, Impl: IXpsOMResource_Impl, const OFFSET: isize>() -> IXpsOMResource_Vtbl { Self { base__: IXpsOMPart_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5255,8 +5255,8 @@ impl IXpsOMShareable_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5305,8 +5305,8 @@ impl IXpsOMSignatureBlockResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5389,8 +5389,8 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5430,8 +5430,8 @@ impl IXpsOMSolidColorBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5480,8 +5480,8 @@ impl IXpsOMStoryFragmentsResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5507,8 +5507,8 @@ impl IXpsOMThumbnailGenerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GenerateThumbnail: GenerateThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5634,8 +5634,8 @@ impl IXpsOMTileBrush_Vtbl { SetTileMode: SetTileMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5910,8 +5910,8 @@ impl IXpsOMVisual_Vtbl { SetLanguage: SetLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5990,8 +5990,8 @@ impl IXpsOMVisualBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6058,8 +6058,8 @@ impl IXpsOMVisualCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6213,8 +6213,8 @@ impl IXpsSignature_Vtbl { SetSignatureXml: SetSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6295,8 +6295,8 @@ impl IXpsSignatureBlock_Vtbl { CreateRequest: CreateRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6342,8 +6342,8 @@ impl IXpsSignatureBlockCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6389,8 +6389,8 @@ impl IXpsSignatureCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6519,8 +6519,8 @@ impl IXpsSignatureManager_Vtbl { SavePackageToStream: SavePackageToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6656,8 +6656,8 @@ impl IXpsSignatureRequest_Vtbl { GetSignature: GetSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6703,8 +6703,8 @@ impl IXpsSignatureRequestCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6899,7 +6899,7 @@ impl IXpsSigningOptions_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs index 924cd4cd42..19ac8a2d30 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -125,6 +125,7 @@ where } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsDocumentPackageTarget(::windows_core::IUnknown); impl IXpsDocumentPackageTarget { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -147,25 +148,9 @@ impl IXpsDocumentPackageTarget { } } ::windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsDocumentPackageTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsDocumentPackageTarget {} -impl ::core::fmt::Debug for IXpsDocumentPackageTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsDocumentPackageTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsDocumentPackageTarget { type Vtable = IXpsDocumentPackageTarget_Vtbl; } -impl ::core::clone::Clone for IXpsDocumentPackageTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsDocumentPackageTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b0b6d38_53ad_41da_b212_d37637a6714e); } @@ -182,6 +167,7 @@ pub struct IXpsDocumentPackageTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsDocumentPackageTarget3D(::windows_core::IUnknown); impl IXpsDocumentPackageTarget3D { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -202,25 +188,9 @@ impl IXpsDocumentPackageTarget3D { } } ::windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget3D, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsDocumentPackageTarget3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsDocumentPackageTarget3D {} -impl ::core::fmt::Debug for IXpsDocumentPackageTarget3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsDocumentPackageTarget3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsDocumentPackageTarget3D { type Vtable = IXpsDocumentPackageTarget3D_Vtbl; } -impl ::core::clone::Clone for IXpsDocumentPackageTarget3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsDocumentPackageTarget3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60ba71b8_3101_4984_9199_f4ea775ff01d); } @@ -236,6 +206,7 @@ pub struct IXpsDocumentPackageTarget3D_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMBrush(::windows_core::IUnknown); impl IXpsOMBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -255,25 +226,9 @@ impl IXpsOMBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMBrush, ::windows_core::IUnknown, IXpsOMShareable); -impl ::core::cmp::PartialEq for IXpsOMBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMBrush {} -impl ::core::fmt::Debug for IXpsOMBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMBrush { type Vtable = IXpsOMBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a3f80c_ea4c_4187_a57b_a2a473b2b42b); } @@ -286,6 +241,7 @@ pub struct IXpsOMBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMCanvas(::windows_core::IUnknown); impl IXpsOMCanvas { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -491,25 +447,9 @@ impl IXpsOMCanvas { } } ::windows_core::imp::interface_hierarchy!(IXpsOMCanvas, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); -impl ::core::cmp::PartialEq for IXpsOMCanvas { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMCanvas {} -impl ::core::fmt::Debug for IXpsOMCanvas { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMCanvas").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMCanvas { type Vtable = IXpsOMCanvas_Vtbl; } -impl ::core::clone::Clone for IXpsOMCanvas { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMCanvas { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x221d1452_331e_47c6_87e9_6ccefb9b5ba3); } @@ -539,6 +479,7 @@ pub struct IXpsOMCanvas_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMColorProfileResource(::windows_core::IUnknown); impl IXpsOMColorProfileResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -572,25 +513,9 @@ impl IXpsOMColorProfileResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMColorProfileResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMColorProfileResource {} -impl ::core::fmt::Debug for IXpsOMColorProfileResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMColorProfileResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMColorProfileResource { type Vtable = IXpsOMColorProfileResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMColorProfileResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMColorProfileResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67bd7d69_1eef_4bb1_b5e7_6f4f87be8abe); } @@ -609,6 +534,7 @@ pub struct IXpsOMColorProfileResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMColorProfileResourceCollection(::windows_core::IUnknown); impl IXpsOMColorProfileResourceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -651,25 +577,9 @@ impl IXpsOMColorProfileResourceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResourceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMColorProfileResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMColorProfileResourceCollection {} -impl ::core::fmt::Debug for IXpsOMColorProfileResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMColorProfileResourceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMColorProfileResourceCollection { type Vtable = IXpsOMColorProfileResourceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMColorProfileResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMColorProfileResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12759630_5fba_4283_8f7d_cca849809edb); } @@ -690,6 +600,7 @@ pub struct IXpsOMColorProfileResourceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMCoreProperties(::windows_core::IUnknown); impl IXpsOMCoreProperties { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -879,25 +790,9 @@ impl IXpsOMCoreProperties { } } ::windows_core::imp::interface_hierarchy!(IXpsOMCoreProperties, ::windows_core::IUnknown, IXpsOMPart); -impl ::core::cmp::PartialEq for IXpsOMCoreProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMCoreProperties {} -impl ::core::fmt::Debug for IXpsOMCoreProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMCoreProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMCoreProperties { type Vtable = IXpsOMCoreProperties_Vtbl; } -impl ::core::clone::Clone for IXpsOMCoreProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMCoreProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3340fe8f_4027_4aa1_8f5f_d35ae45fe597); } @@ -960,6 +855,7 @@ pub struct IXpsOMCoreProperties_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDashCollection(::windows_core::IUnknown); impl IXpsOMDashCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -984,25 +880,9 @@ impl IXpsOMDashCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDashCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMDashCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDashCollection {} -impl ::core::fmt::Debug for IXpsOMDashCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDashCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDashCollection { type Vtable = IXpsOMDashCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMDashCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDashCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x081613f4_74eb_48f2_83b3_37a9ce2d7dc6); } @@ -1019,6 +899,7 @@ pub struct IXpsOMDashCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDictionary(::windows_core::IUnknown); impl IXpsOMDictionary { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1077,25 +958,9 @@ impl IXpsOMDictionary { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDictionary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMDictionary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDictionary {} -impl ::core::fmt::Debug for IXpsOMDictionary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDictionary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDictionary { type Vtable = IXpsOMDictionary_Vtbl; } -impl ::core::clone::Clone for IXpsOMDictionary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDictionary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x897c86b8_8eaf_4ae3_bdde_56419fcf4236); } @@ -1116,6 +981,7 @@ pub struct IXpsOMDictionary_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDocument(::windows_core::IUnknown); impl IXpsOMDocument { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1170,25 +1036,9 @@ impl IXpsOMDocument { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDocument, ::windows_core::IUnknown, IXpsOMPart); -impl ::core::cmp::PartialEq for IXpsOMDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDocument {} -impl ::core::fmt::Debug for IXpsOMDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDocument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDocument { type Vtable = IXpsOMDocument_Vtbl; } -impl ::core::clone::Clone for IXpsOMDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c2c94cb_ac5f_4254_8ee9_23948309d9f0); } @@ -1207,6 +1057,7 @@ pub struct IXpsOMDocument_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDocumentCollection(::windows_core::IUnknown); impl IXpsOMDocumentCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1240,25 +1091,9 @@ impl IXpsOMDocumentCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDocumentCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMDocumentCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDocumentCollection {} -impl ::core::fmt::Debug for IXpsOMDocumentCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDocumentCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDocumentCollection { type Vtable = IXpsOMDocumentCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMDocumentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDocumentCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1c87f0d_e947_4754_8a25_971478f7e83e); } @@ -1275,6 +1110,7 @@ pub struct IXpsOMDocumentCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDocumentSequence(::windows_core::IUnknown); impl IXpsOMDocumentSequence { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1311,25 +1147,9 @@ impl IXpsOMDocumentSequence { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDocumentSequence, ::windows_core::IUnknown, IXpsOMPart); -impl ::core::cmp::PartialEq for IXpsOMDocumentSequence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDocumentSequence {} -impl ::core::fmt::Debug for IXpsOMDocumentSequence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDocumentSequence").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDocumentSequence { type Vtable = IXpsOMDocumentSequence_Vtbl; } -impl ::core::clone::Clone for IXpsOMDocumentSequence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDocumentSequence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56492eb4_d8d5_425e_8256_4c2b64ad0264); } @@ -1344,6 +1164,7 @@ pub struct IXpsOMDocumentSequence_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMDocumentStructureResource(::windows_core::IUnknown); impl IXpsOMDocumentStructureResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1381,25 +1202,9 @@ impl IXpsOMDocumentStructureResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMDocumentStructureResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMDocumentStructureResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMDocumentStructureResource {} -impl ::core::fmt::Debug for IXpsOMDocumentStructureResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMDocumentStructureResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMDocumentStructureResource { type Vtable = IXpsOMDocumentStructureResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMDocumentStructureResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMDocumentStructureResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85febc8a_6b63_48a9_af07_7064e4ecff30); } @@ -1419,6 +1224,7 @@ pub struct IXpsOMDocumentStructureResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMFontResource(::windows_core::IUnknown); impl IXpsOMFontResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -1456,25 +1262,9 @@ impl IXpsOMFontResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMFontResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMFontResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMFontResource {} -impl ::core::fmt::Debug for IXpsOMFontResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMFontResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMFontResource { type Vtable = IXpsOMFontResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMFontResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMFontResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8c45708_47d9_4af4_8d20_33b48c9b8485); } @@ -1494,6 +1284,7 @@ pub struct IXpsOMFontResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMFontResourceCollection(::windows_core::IUnknown); impl IXpsOMFontResourceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1536,25 +1327,9 @@ impl IXpsOMFontResourceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMFontResourceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMFontResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMFontResourceCollection {} -impl ::core::fmt::Debug for IXpsOMFontResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMFontResourceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMFontResourceCollection { type Vtable = IXpsOMFontResourceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMFontResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMFontResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70b4a6bb_88d4_4fa8_aaf9_6d9c596fdbad); } @@ -1575,6 +1350,7 @@ pub struct IXpsOMFontResourceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGeometry(::windows_core::IUnknown); impl IXpsOMGeometry { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1626,25 +1402,9 @@ impl IXpsOMGeometry { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGeometry, ::windows_core::IUnknown, IXpsOMShareable); -impl ::core::cmp::PartialEq for IXpsOMGeometry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGeometry {} -impl ::core::fmt::Debug for IXpsOMGeometry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGeometry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGeometry { type Vtable = IXpsOMGeometry_Vtbl; } -impl ::core::clone::Clone for IXpsOMGeometry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGeometry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64fcf3d7_4d58_44ba_ad73_a13af6492072); } @@ -1664,6 +1424,7 @@ pub struct IXpsOMGeometry_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGeometryFigure(::windows_core::IUnknown); impl IXpsOMGeometryFigure { pub unsafe fn GetOwner(&self) -> ::windows_core::Result { @@ -1739,25 +1500,9 @@ impl IXpsOMGeometryFigure { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigure, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMGeometryFigure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGeometryFigure {} -impl ::core::fmt::Debug for IXpsOMGeometryFigure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGeometryFigure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGeometryFigure { type Vtable = IXpsOMGeometryFigure_Vtbl; } -impl ::core::clone::Clone for IXpsOMGeometryFigure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGeometryFigure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd410dc83_908c_443e_8947_b1795d3c165a); } @@ -1801,6 +1546,7 @@ pub struct IXpsOMGeometryFigure_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGeometryFigureCollection(::windows_core::IUnknown); impl IXpsOMGeometryFigureCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1834,25 +1580,9 @@ impl IXpsOMGeometryFigureCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigureCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMGeometryFigureCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGeometryFigureCollection {} -impl ::core::fmt::Debug for IXpsOMGeometryFigureCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGeometryFigureCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGeometryFigureCollection { type Vtable = IXpsOMGeometryFigureCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMGeometryFigureCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGeometryFigureCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd48c3f3_a58e_4b5a_8826_1de54abe72b2); } @@ -1869,6 +1599,7 @@ pub struct IXpsOMGeometryFigureCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGlyphs(::windows_core::IUnknown); impl IXpsOMGlyphs { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2117,25 +1848,9 @@ impl IXpsOMGlyphs { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGlyphs, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); -impl ::core::cmp::PartialEq for IXpsOMGlyphs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGlyphs {} -impl ::core::fmt::Debug for IXpsOMGlyphs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGlyphs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGlyphs { type Vtable = IXpsOMGlyphs_Vtbl; } -impl ::core::clone::Clone for IXpsOMGlyphs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGlyphs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x819b3199_0a5a_4b64_bec7_a9e17e780de2); } @@ -2176,6 +1891,7 @@ pub struct IXpsOMGlyphs_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGlyphsEditor(::windows_core::IUnknown); impl IXpsOMGlyphsEditor { pub unsafe fn ApplyEdits(&self) -> ::windows_core::Result<()> { @@ -2254,25 +1970,9 @@ impl IXpsOMGlyphsEditor { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGlyphsEditor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMGlyphsEditor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGlyphsEditor {} -impl ::core::fmt::Debug for IXpsOMGlyphsEditor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGlyphsEditor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGlyphsEditor { type Vtable = IXpsOMGlyphsEditor_Vtbl; } -impl ::core::clone::Clone for IXpsOMGlyphsEditor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGlyphsEditor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5ab8616_5b16_4b9f_9629_89b323ed7909); } @@ -2307,6 +2007,7 @@ pub struct IXpsOMGlyphsEditor_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGradientBrush(::windows_core::IUnknown); impl IXpsOMGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2368,25 +2069,9 @@ impl IXpsOMGradientBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGradientBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); -impl ::core::cmp::PartialEq for IXpsOMGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGradientBrush {} -impl ::core::fmt::Debug for IXpsOMGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGradientBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGradientBrush { type Vtable = IXpsOMGradientBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedb59622_61a2_42c3_bace_acf2286c06bf); } @@ -2407,6 +2092,7 @@ pub struct IXpsOMGradientBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGradientStop(::windows_core::IUnknown); impl IXpsOMGradientStop { pub unsafe fn GetOwner(&self) -> ::windows_core::Result { @@ -2435,25 +2121,9 @@ impl IXpsOMGradientStop { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGradientStop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMGradientStop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGradientStop {} -impl ::core::fmt::Debug for IXpsOMGradientStop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGradientStop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGradientStop { type Vtable = IXpsOMGradientStop_Vtbl; } -impl ::core::clone::Clone for IXpsOMGradientStop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGradientStop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cf4f5cc_3969_49b5_a70a_5550b618fe49); } @@ -2470,6 +2140,7 @@ pub struct IXpsOMGradientStop_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMGradientStopCollection(::windows_core::IUnknown); impl IXpsOMGradientStopCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2503,25 +2174,9 @@ impl IXpsOMGradientStopCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMGradientStopCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMGradientStopCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMGradientStopCollection {} -impl ::core::fmt::Debug for IXpsOMGradientStopCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMGradientStopCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMGradientStopCollection { type Vtable = IXpsOMGradientStopCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMGradientStopCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMGradientStopCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9174c3a_3cd3_4319_bda4_11a39392ceef); } @@ -2538,6 +2193,7 @@ pub struct IXpsOMGradientStopCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMImageBrush(::windows_core::IUnknown); impl IXpsOMImageBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2626,25 +2282,9 @@ impl IXpsOMImageBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMImageBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); -impl ::core::cmp::PartialEq for IXpsOMImageBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMImageBrush {} -impl ::core::fmt::Debug for IXpsOMImageBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMImageBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMImageBrush { type Vtable = IXpsOMImageBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMImageBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMImageBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3df0b466_d382_49ef_8550_dd94c80242e4); } @@ -2660,6 +2300,7 @@ pub struct IXpsOMImageBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMImageResource(::windows_core::IUnknown); impl IXpsOMImageResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -2697,25 +2338,9 @@ impl IXpsOMImageResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMImageResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMImageResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMImageResource {} -impl ::core::fmt::Debug for IXpsOMImageResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMImageResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMImageResource { type Vtable = IXpsOMImageResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMImageResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMImageResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3db8417d_ae50_485e_9a44_d7758f78a23f); } @@ -2735,6 +2360,7 @@ pub struct IXpsOMImageResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMImageResourceCollection(::windows_core::IUnknown); impl IXpsOMImageResourceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2777,25 +2403,9 @@ impl IXpsOMImageResourceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMImageResourceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMImageResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMImageResourceCollection {} -impl ::core::fmt::Debug for IXpsOMImageResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMImageResourceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMImageResourceCollection { type Vtable = IXpsOMImageResourceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMImageResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMImageResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a4a1a71_9cde_4b71_b33f_62de843eabfe); } @@ -2816,6 +2426,7 @@ pub struct IXpsOMImageResourceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMLinearGradientBrush(::windows_core::IUnknown); impl IXpsOMLinearGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2895,25 +2506,9 @@ impl IXpsOMLinearGradientBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMLinearGradientBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); -impl ::core::cmp::PartialEq for IXpsOMLinearGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMLinearGradientBrush {} -impl ::core::fmt::Debug for IXpsOMLinearGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMLinearGradientBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMLinearGradientBrush { type Vtable = IXpsOMLinearGradientBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMLinearGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMLinearGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x005e279f_c30d_40ff_93ec_1950d3c528db); } @@ -2929,6 +2524,7 @@ pub struct IXpsOMLinearGradientBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMMatrixTransform(::windows_core::IUnknown); impl IXpsOMMatrixTransform { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2952,25 +2548,9 @@ impl IXpsOMMatrixTransform { } } ::windows_core::imp::interface_hierarchy!(IXpsOMMatrixTransform, ::windows_core::IUnknown, IXpsOMShareable); -impl ::core::cmp::PartialEq for IXpsOMMatrixTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMMatrixTransform {} -impl ::core::fmt::Debug for IXpsOMMatrixTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMMatrixTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMMatrixTransform { type Vtable = IXpsOMMatrixTransform_Vtbl; } -impl ::core::clone::Clone for IXpsOMMatrixTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMMatrixTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb77330ff_bb37_4501_a93e_f1b1e50bfc46); } @@ -2984,6 +2564,7 @@ pub struct IXpsOMMatrixTransform_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMNameCollection(::windows_core::IUnknown); impl IXpsOMNameCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2996,24 +2577,8 @@ impl IXpsOMNameCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMNameCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMNameCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMNameCollection {} -impl ::core::fmt::Debug for IXpsOMNameCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMNameCollection").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IXpsOMNameCollection { - type Vtable = IXpsOMNameCollection_Vtbl; -} -impl ::core::clone::Clone for IXpsOMNameCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IXpsOMNameCollection { + type Vtable = IXpsOMNameCollection_Vtbl; } unsafe impl ::windows_core::ComInterface for IXpsOMNameCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bddf8ec_c915_421b_a166_d173d25653d2); @@ -3027,6 +2592,7 @@ pub struct IXpsOMNameCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMObjectFactory(::windows_core::IUnknown); impl IXpsOMObjectFactory { pub unsafe fn CreatePackage(&self) -> ::windows_core::Result { @@ -3328,25 +2894,9 @@ impl IXpsOMObjectFactory { } } ::windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMObjectFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMObjectFactory {} -impl ::core::fmt::Debug for IXpsOMObjectFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMObjectFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMObjectFactory { type Vtable = IXpsOMObjectFactory_Vtbl; } -impl ::core::clone::Clone for IXpsOMObjectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMObjectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9b2a685_a50d_4fc2_b764_b56e093ea0ca); } @@ -3454,6 +3004,7 @@ pub struct IXpsOMObjectFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMObjectFactory1(::windows_core::IUnknown); impl IXpsOMObjectFactory1 { pub unsafe fn CreatePackage(&self) -> ::windows_core::Result { @@ -3870,25 +3421,9 @@ impl IXpsOMObjectFactory1 { } } ::windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory1, ::windows_core::IUnknown, IXpsOMObjectFactory); -impl ::core::cmp::PartialEq for IXpsOMObjectFactory1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMObjectFactory1 {} -impl ::core::fmt::Debug for IXpsOMObjectFactory1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMObjectFactory1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMObjectFactory1 { type Vtable = IXpsOMObjectFactory1_Vtbl; } -impl ::core::clone::Clone for IXpsOMObjectFactory1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMObjectFactory1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a91b617_d612_4181_bf7c_be5824e9cc8f); } @@ -3935,6 +3470,7 @@ pub struct IXpsOMObjectFactory1_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPackage(::windows_core::IUnknown); impl IXpsOMPackage { pub unsafe fn GetDocumentSequence(&self) -> ::windows_core::Result { @@ -4001,25 +3537,9 @@ impl IXpsOMPackage { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPackage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPackage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPackage {} -impl ::core::fmt::Debug for IXpsOMPackage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPackage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPackage { type Vtable = IXpsOMPackage_Vtbl; } -impl ::core::clone::Clone for IXpsOMPackage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPackage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18c3df65_81e1_4674_91dc_fc452f5a416f); } @@ -4052,6 +3572,7 @@ pub struct IXpsOMPackage_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPackage1(::windows_core::IUnknown); impl IXpsOMPackage1 { pub unsafe fn GetDocumentSequence(&self) -> ::windows_core::Result { @@ -4140,25 +3661,9 @@ impl IXpsOMPackage1 { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPackage1, ::windows_core::IUnknown, IXpsOMPackage); -impl ::core::cmp::PartialEq for IXpsOMPackage1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPackage1 {} -impl ::core::fmt::Debug for IXpsOMPackage1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPackage1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPackage1 { type Vtable = IXpsOMPackage1_Vtbl; } -impl ::core::clone::Clone for IXpsOMPackage1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPackage1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95a9435e_12bb_461b_8e7f_c6adb04cd96a); } @@ -4178,6 +3683,7 @@ pub struct IXpsOMPackage1_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPackageTarget(::windows_core::IUnknown); impl IXpsOMPackageTarget { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4193,25 +3699,9 @@ impl IXpsOMPackageTarget { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPackageTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPackageTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPackageTarget {} -impl ::core::fmt::Debug for IXpsOMPackageTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPackageTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPackageTarget { type Vtable = IXpsOMPackageTarget_Vtbl; } -impl ::core::clone::Clone for IXpsOMPackageTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPackageTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x219a9db0_4959_47d0_8034_b1ce84f41a4d); } @@ -4226,6 +3716,7 @@ pub struct IXpsOMPackageTarget_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPackageWriter(::windows_core::IUnknown); impl IXpsOMPackageWriter { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4267,25 +3758,9 @@ impl IXpsOMPackageWriter { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPackageWriter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPackageWriter {} -impl ::core::fmt::Debug for IXpsOMPackageWriter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPackageWriter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPackageWriter { type Vtable = IXpsOMPackageWriter_Vtbl; } -impl ::core::clone::Clone for IXpsOMPackageWriter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPackageWriter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e2aa182_a443_42c6_b41b_4f8e9de73ff9); } @@ -4307,6 +3782,7 @@ pub struct IXpsOMPackageWriter_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPackageWriter3D(::windows_core::IUnknown); impl IXpsOMPackageWriter3D { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4366,25 +3842,9 @@ impl IXpsOMPackageWriter3D { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter3D, ::windows_core::IUnknown, IXpsOMPackageWriter); -impl ::core::cmp::PartialEq for IXpsOMPackageWriter3D { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPackageWriter3D {} -impl ::core::fmt::Debug for IXpsOMPackageWriter3D { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPackageWriter3D").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPackageWriter3D { type Vtable = IXpsOMPackageWriter3D_Vtbl; } -impl ::core::clone::Clone for IXpsOMPackageWriter3D { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPackageWriter3D { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8a45033_640e_43fa_9bdf_fddeaa31c6a0); } @@ -4403,6 +3863,7 @@ pub struct IXpsOMPackageWriter3D_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPage(::windows_core::IUnknown); impl IXpsOMPage { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4525,25 +3986,9 @@ impl IXpsOMPage { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPage, ::windows_core::IUnknown, IXpsOMPart); -impl ::core::cmp::PartialEq for IXpsOMPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPage {} -impl ::core::fmt::Debug for IXpsOMPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPage { type Vtable = IXpsOMPage_Vtbl; } -impl ::core::clone::Clone for IXpsOMPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3e18888_f120_4fee_8c68_35296eae91d4); } @@ -4585,6 +4030,7 @@ pub struct IXpsOMPage_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPage1(::windows_core::IUnknown); impl IXpsOMPage1 { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4720,25 +4166,9 @@ impl IXpsOMPage1 { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPage1, ::windows_core::IUnknown, IXpsOMPart, IXpsOMPage); -impl ::core::cmp::PartialEq for IXpsOMPage1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPage1 {} -impl ::core::fmt::Debug for IXpsOMPage1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPage1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPage1 { type Vtable = IXpsOMPage1_Vtbl; } -impl ::core::clone::Clone for IXpsOMPage1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPage1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x305b60ef_6892_4dda_9cbb_3aa65974508a); } @@ -4754,6 +4184,7 @@ pub struct IXpsOMPage1_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPageReference(::windows_core::IUnknown); impl IXpsOMPageReference { pub unsafe fn GetOwner(&self) -> ::windows_core::Result { @@ -4836,25 +4267,9 @@ impl IXpsOMPageReference { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPageReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPageReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPageReference {} -impl ::core::fmt::Debug for IXpsOMPageReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPageReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPageReference { type Vtable = IXpsOMPageReference_Vtbl; } -impl ::core::clone::Clone for IXpsOMPageReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPageReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed360180_6f92_4998_890d_2f208531a0a0); } @@ -4888,6 +4303,7 @@ pub struct IXpsOMPageReference_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPageReferenceCollection(::windows_core::IUnknown); impl IXpsOMPageReferenceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -4921,25 +4337,9 @@ impl IXpsOMPageReferenceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPageReferenceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPageReferenceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPageReferenceCollection {} -impl ::core::fmt::Debug for IXpsOMPageReferenceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPageReferenceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPageReferenceCollection { type Vtable = IXpsOMPageReferenceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMPageReferenceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPageReferenceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca16ba4d_e7b9_45c5_958b_f98022473745); } @@ -4956,6 +4356,7 @@ pub struct IXpsOMPageReferenceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPart(::windows_core::IUnknown); impl IXpsOMPart { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -4974,25 +4375,9 @@ impl IXpsOMPart { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPart, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPart {} -impl ::core::fmt::Debug for IXpsOMPart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPart").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPart { type Vtable = IXpsOMPart_Vtbl; } -impl ::core::clone::Clone for IXpsOMPart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74eb2f0b_a91e_4486_afac_0fabeca3dfc6); } @@ -5011,6 +4396,7 @@ pub struct IXpsOMPart_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPartResources(::windows_core::IUnknown); impl IXpsOMPartResources { pub unsafe fn GetFontResources(&self) -> ::windows_core::Result { @@ -5031,25 +4417,9 @@ impl IXpsOMPartResources { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPartResources, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPartResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPartResources {} -impl ::core::fmt::Debug for IXpsOMPartResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPartResources").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPartResources { type Vtable = IXpsOMPartResources_Vtbl; } -impl ::core::clone::Clone for IXpsOMPartResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPartResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4cf7729_4864_4275_99b3_a8717163ecaf); } @@ -5064,6 +4434,7 @@ pub struct IXpsOMPartResources_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPartUriCollection(::windows_core::IUnknown); impl IXpsOMPartUriCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -5105,25 +4476,9 @@ impl IXpsOMPartUriCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPartUriCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMPartUriCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPartUriCollection {} -impl ::core::fmt::Debug for IXpsOMPartUriCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPartUriCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPartUriCollection { type Vtable = IXpsOMPartUriCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMPartUriCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPartUriCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57c650d4_067c_4893_8c33_f62a0633730f); } @@ -5152,6 +4507,7 @@ pub struct IXpsOMPartUriCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPath(::windows_core::IUnknown); impl IXpsOMPath { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5454,25 +4810,9 @@ impl IXpsOMPath { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPath, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); -impl ::core::cmp::PartialEq for IXpsOMPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPath {} -impl ::core::fmt::Debug for IXpsOMPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPath").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPath { type Vtable = IXpsOMPath_Vtbl; } -impl ::core::clone::Clone for IXpsOMPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37d38bb6_3ee9_4110_9312_14b194163337); } @@ -5526,6 +4866,7 @@ pub struct IXpsOMPath_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMPrintTicketResource(::windows_core::IUnknown); impl IXpsOMPrintTicketResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5559,25 +4900,9 @@ impl IXpsOMPrintTicketResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMPrintTicketResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMPrintTicketResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMPrintTicketResource {} -impl ::core::fmt::Debug for IXpsOMPrintTicketResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMPrintTicketResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMPrintTicketResource { type Vtable = IXpsOMPrintTicketResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMPrintTicketResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMPrintTicketResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7ff32d2_34aa_499b_bbe9_9cd4ee6c59f7); } @@ -5596,6 +4921,7 @@ pub struct IXpsOMPrintTicketResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMRadialGradientBrush(::windows_core::IUnknown); impl IXpsOMRadialGradientBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5682,25 +5008,9 @@ impl IXpsOMRadialGradientBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMRadialGradientBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); -impl ::core::cmp::PartialEq for IXpsOMRadialGradientBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMRadialGradientBrush {} -impl ::core::fmt::Debug for IXpsOMRadialGradientBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMRadialGradientBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMRadialGradientBrush { type Vtable = IXpsOMRadialGradientBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMRadialGradientBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMRadialGradientBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75f207e5_08bf_413c_96b1_b82b4064176b); } @@ -5718,6 +5028,7 @@ pub struct IXpsOMRadialGradientBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMRemoteDictionaryResource(::windows_core::IUnknown); impl IXpsOMRemoteDictionaryResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5746,25 +5057,9 @@ impl IXpsOMRemoteDictionaryResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMRemoteDictionaryResource {} -impl ::core::fmt::Debug for IXpsOMRemoteDictionaryResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMRemoteDictionaryResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMRemoteDictionaryResource { type Vtable = IXpsOMRemoteDictionaryResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMRemoteDictionaryResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMRemoteDictionaryResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9bd7cd4_e16a_4bf8_8c84_c950af7a3061); } @@ -5777,6 +5072,7 @@ pub struct IXpsOMRemoteDictionaryResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMRemoteDictionaryResource1(::windows_core::IUnknown); impl IXpsOMRemoteDictionaryResource1 { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5817,25 +5113,9 @@ impl IXpsOMRemoteDictionaryResource1 { } } ::windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource1, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource, IXpsOMRemoteDictionaryResource); -impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResource1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMRemoteDictionaryResource1 {} -impl ::core::fmt::Debug for IXpsOMRemoteDictionaryResource1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMRemoteDictionaryResource1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMRemoteDictionaryResource1 { type Vtable = IXpsOMRemoteDictionaryResource1_Vtbl; } -impl ::core::clone::Clone for IXpsOMRemoteDictionaryResource1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMRemoteDictionaryResource1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf8fc1d4_9d46_4141_ba5f_94bb9250d041); } @@ -5851,6 +5131,7 @@ pub struct IXpsOMRemoteDictionaryResource1_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMRemoteDictionaryResourceCollection(::windows_core::IUnknown); impl IXpsOMRemoteDictionaryResourceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -5893,25 +5174,9 @@ impl IXpsOMRemoteDictionaryResourceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResourceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMRemoteDictionaryResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMRemoteDictionaryResourceCollection {} -impl ::core::fmt::Debug for IXpsOMRemoteDictionaryResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMRemoteDictionaryResourceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMRemoteDictionaryResourceCollection { type Vtable = IXpsOMRemoteDictionaryResourceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMRemoteDictionaryResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMRemoteDictionaryResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c38db61_7fec_464a_87bd_41e3bef018be); } @@ -5932,6 +5197,7 @@ pub struct IXpsOMRemoteDictionaryResourceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMResource(::windows_core::IUnknown); impl IXpsOMResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -5950,25 +5216,9 @@ impl IXpsOMResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMResource, ::windows_core::IUnknown, IXpsOMPart); -impl ::core::cmp::PartialEq for IXpsOMResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMResource {} -impl ::core::fmt::Debug for IXpsOMResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMResource { type Vtable = IXpsOMResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda2ac0a2_73a2_4975_ad14_74097c3ff3a5); } @@ -5979,6 +5229,7 @@ pub struct IXpsOMResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMShareable(::windows_core::IUnknown); impl IXpsOMShareable { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5991,25 +5242,9 @@ impl IXpsOMShareable { } } ::windows_core::imp::interface_hierarchy!(IXpsOMShareable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMShareable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMShareable {} -impl ::core::fmt::Debug for IXpsOMShareable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMShareable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMShareable { type Vtable = IXpsOMShareable_Vtbl; } -impl ::core::clone::Clone for IXpsOMShareable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMShareable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7137398f_2fc1_454d_8c6a_2c3115a16ece); } @@ -6022,6 +5257,7 @@ pub struct IXpsOMShareable_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMSignatureBlockResource(::windows_core::IUnknown); impl IXpsOMSignatureBlockResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6059,25 +5295,9 @@ impl IXpsOMSignatureBlockResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMSignatureBlockResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMSignatureBlockResource {} -impl ::core::fmt::Debug for IXpsOMSignatureBlockResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMSignatureBlockResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMSignatureBlockResource { type Vtable = IXpsOMSignatureBlockResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMSignatureBlockResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMSignatureBlockResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4776ad35_2e04_4357_8743_ebf6c171a905); } @@ -6097,6 +5317,7 @@ pub struct IXpsOMSignatureBlockResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMSignatureBlockResourceCollection(::windows_core::IUnknown); impl IXpsOMSignatureBlockResourceCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -6139,25 +5360,9 @@ impl IXpsOMSignatureBlockResourceCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResourceCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMSignatureBlockResourceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMSignatureBlockResourceCollection {} -impl ::core::fmt::Debug for IXpsOMSignatureBlockResourceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMSignatureBlockResourceCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMSignatureBlockResourceCollection { type Vtable = IXpsOMSignatureBlockResourceCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMSignatureBlockResourceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMSignatureBlockResourceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab8f5d8e_351b_4d33_aaed_fa56f0022931); } @@ -6178,6 +5383,7 @@ pub struct IXpsOMSignatureBlockResourceCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMSolidColorBrush(::windows_core::IUnknown); impl IXpsOMSolidColorBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -6210,25 +5416,9 @@ impl IXpsOMSolidColorBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMSolidColorBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); -impl ::core::cmp::PartialEq for IXpsOMSolidColorBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMSolidColorBrush {} -impl ::core::fmt::Debug for IXpsOMSolidColorBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMSolidColorBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMSolidColorBrush { type Vtable = IXpsOMSolidColorBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMSolidColorBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMSolidColorBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa06f9f05_3be9_4763_98a8_094fc672e488); } @@ -6242,6 +5432,7 @@ pub struct IXpsOMSolidColorBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMStoryFragmentsResource(::windows_core::IUnknown); impl IXpsOMStoryFragmentsResource { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6279,25 +5470,9 @@ impl IXpsOMStoryFragmentsResource { } } ::windows_core::imp::interface_hierarchy!(IXpsOMStoryFragmentsResource, ::windows_core::IUnknown, IXpsOMPart, IXpsOMResource); -impl ::core::cmp::PartialEq for IXpsOMStoryFragmentsResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMStoryFragmentsResource {} -impl ::core::fmt::Debug for IXpsOMStoryFragmentsResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMStoryFragmentsResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMStoryFragmentsResource { type Vtable = IXpsOMStoryFragmentsResource_Vtbl; } -impl ::core::clone::Clone for IXpsOMStoryFragmentsResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMStoryFragmentsResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2b3ca09_0473_4282_87ae_1780863223f0); } @@ -6317,6 +5492,7 @@ pub struct IXpsOMStoryFragmentsResource_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMThumbnailGenerator(::windows_core::IUnknown); impl IXpsOMThumbnailGenerator { #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`*"] @@ -6331,25 +5507,9 @@ impl IXpsOMThumbnailGenerator { } } ::windows_core::imp::interface_hierarchy!(IXpsOMThumbnailGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMThumbnailGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMThumbnailGenerator {} -impl ::core::fmt::Debug for IXpsOMThumbnailGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMThumbnailGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMThumbnailGenerator { type Vtable = IXpsOMThumbnailGenerator_Vtbl; } -impl ::core::clone::Clone for IXpsOMThumbnailGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMThumbnailGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15b873d5_1971_41e8_83a3_6578403064c7); } @@ -6364,6 +5524,7 @@ pub struct IXpsOMThumbnailGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMTileBrush(::windows_core::IUnknown); impl IXpsOMTileBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -6428,25 +5589,9 @@ impl IXpsOMTileBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMTileBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); -impl ::core::cmp::PartialEq for IXpsOMTileBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMTileBrush {} -impl ::core::fmt::Debug for IXpsOMTileBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMTileBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMTileBrush { type Vtable = IXpsOMTileBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMTileBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMTileBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fc2328d_d722_4a54_b2ec_be90218a789e); } @@ -6468,6 +5613,7 @@ pub struct IXpsOMTileBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMVisual(::windows_core::IUnknown); impl IXpsOMVisual { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -6607,25 +5753,9 @@ impl IXpsOMVisual { } } ::windows_core::imp::interface_hierarchy!(IXpsOMVisual, ::windows_core::IUnknown, IXpsOMShareable); -impl ::core::cmp::PartialEq for IXpsOMVisual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMVisual {} -impl ::core::fmt::Debug for IXpsOMVisual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMVisual").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMVisual { type Vtable = IXpsOMVisual_Vtbl; } -impl ::core::clone::Clone for IXpsOMVisual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMVisual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc3e7333_fb0b_4af3_a819_0b4eaad0d2fd); } @@ -6673,6 +5803,7 @@ pub struct IXpsOMVisual_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMVisualBrush(::windows_core::IUnknown); impl IXpsOMVisualBrush { pub unsafe fn GetOwner(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -6765,25 +5896,9 @@ impl IXpsOMVisualBrush { } } ::windows_core::imp::interface_hierarchy!(IXpsOMVisualBrush, ::windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); -impl ::core::cmp::PartialEq for IXpsOMVisualBrush { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMVisualBrush {} -impl ::core::fmt::Debug for IXpsOMVisualBrush { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMVisualBrush").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMVisualBrush { type Vtable = IXpsOMVisualBrush_Vtbl; } -impl ::core::clone::Clone for IXpsOMVisualBrush { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMVisualBrush { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97e294af_5b37_46b4_8057_874d2f64119b); } @@ -6800,6 +5915,7 @@ pub struct IXpsOMVisualBrush_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsOMVisualCollection(::windows_core::IUnknown); impl IXpsOMVisualCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -6833,25 +5949,9 @@ impl IXpsOMVisualCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsOMVisualCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsOMVisualCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsOMVisualCollection {} -impl ::core::fmt::Debug for IXpsOMVisualCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsOMVisualCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsOMVisualCollection { type Vtable = IXpsOMVisualCollection_Vtbl; } -impl ::core::clone::Clone for IXpsOMVisualCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsOMVisualCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94d8abde_ab91_46a8_82b7_f5b05ef01a96); } @@ -6868,6 +5968,7 @@ pub struct IXpsOMVisualCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignature(::windows_core::IUnknown); impl IXpsSignature { pub unsafe fn GetSignatureId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -6929,25 +6030,9 @@ impl IXpsSignature { } } ::windows_core::imp::interface_hierarchy!(IXpsSignature, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignature {} -impl ::core::fmt::Debug for IXpsSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignature").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignature { type Vtable = IXpsSignature_Vtbl; } -impl ::core::clone::Clone for IXpsSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ae4c93e_1ade_42fb_898b_3a5658284857); } @@ -6988,6 +6073,7 @@ pub struct IXpsSignature_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureBlock(::windows_core::IUnknown); impl IXpsSignatureBlock { pub unsafe fn GetRequests(&self) -> ::windows_core::Result { @@ -7019,25 +6105,9 @@ impl IXpsSignatureBlock { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureBlock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureBlock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureBlock {} -impl ::core::fmt::Debug for IXpsSignatureBlock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureBlock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureBlock { type Vtable = IXpsSignatureBlock_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureBlock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureBlock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x151fac09_0b97_4ac6_a323_5e4297d4322b); } @@ -7059,6 +6129,7 @@ pub struct IXpsSignatureBlock_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureBlockCollection(::windows_core::IUnknown); impl IXpsSignatureBlockCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -7074,25 +6145,9 @@ impl IXpsSignatureBlockCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureBlockCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureBlockCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureBlockCollection {} -impl ::core::fmt::Debug for IXpsSignatureBlockCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureBlockCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureBlockCollection { type Vtable = IXpsSignatureBlockCollection_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureBlockCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureBlockCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23397050_fe99_467a_8dce_9237f074ffe4); } @@ -7106,6 +6161,7 @@ pub struct IXpsSignatureBlockCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureCollection(::windows_core::IUnknown); impl IXpsSignatureCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -7121,25 +6177,9 @@ impl IXpsSignatureCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureCollection {} -impl ::core::fmt::Debug for IXpsSignatureCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureCollection { type Vtable = IXpsSignatureCollection_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2d1d95d_add2_4dff_ab27_6b9c645ff322); } @@ -7153,6 +6193,7 @@ pub struct IXpsSignatureCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureManager(::windows_core::IUnknown); impl IXpsSignatureManager { pub unsafe fn LoadPackageFile(&self, filename: P0) -> ::windows_core::Result<()> @@ -7231,25 +6272,9 @@ impl IXpsSignatureManager { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureManager {} -impl ::core::fmt::Debug for IXpsSignatureManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureManager { type Vtable = IXpsSignatureManager_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3e8d338_fdc4_4afc_80b5_d532a1782ee1); } @@ -7292,6 +6317,7 @@ pub struct IXpsSignatureManager_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureRequest(::windows_core::IUnknown); impl IXpsSignatureRequest { pub unsafe fn GetIntent(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -7352,25 +6378,9 @@ impl IXpsSignatureRequest { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureRequest, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureRequest {} -impl ::core::fmt::Debug for IXpsSignatureRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureRequest").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureRequest { type Vtable = IXpsSignatureRequest_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac58950b_7208_4b2d_b2c4_951083d3b8eb); } @@ -7396,6 +6406,7 @@ pub struct IXpsSignatureRequest_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSignatureRequestCollection(::windows_core::IUnknown); impl IXpsSignatureRequestCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -7411,25 +6422,9 @@ impl IXpsSignatureRequestCollection { } } ::windows_core::imp::interface_hierarchy!(IXpsSignatureRequestCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSignatureRequestCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSignatureRequestCollection {} -impl ::core::fmt::Debug for IXpsSignatureRequestCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSignatureRequestCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSignatureRequestCollection { type Vtable = IXpsSignatureRequestCollection_Vtbl; } -impl ::core::clone::Clone for IXpsSignatureRequestCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSignatureRequestCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0253e68_9f19_412e_9b4f_54d3b0ac6cd9); } @@ -7443,6 +6438,7 @@ pub struct IXpsSignatureRequestCollection_Vtbl { } #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXpsSigningOptions(::windows_core::IUnknown); impl IXpsSigningOptions { pub unsafe fn GetSignatureId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -7534,25 +6530,9 @@ impl IXpsSigningOptions { } } ::windows_core::imp::interface_hierarchy!(IXpsSigningOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXpsSigningOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXpsSigningOptions {} -impl ::core::fmt::Debug for IXpsSigningOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXpsSigningOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXpsSigningOptions { type Vtable = IXpsSigningOptions_Vtbl; } -impl ::core::clone::Clone for IXpsSigningOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXpsSigningOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7718eae4_3215_49be_af5b_594fef7fcfa6); } diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs index a37a90d5f0..4a36b4fe01 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs @@ -51,8 +51,8 @@ impl IABContainer_Vtbl { ResolveNames: ResolveNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IAddrBook_Vtbl { PrepareRecips: PrepareRecips::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IAttach_Vtbl { pub const fn new, Impl: IAttach_Impl, const OFFSET: isize>() -> IAttach_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -265,8 +265,8 @@ impl IDistList_Vtbl { ResolveNames: ResolveNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl IMAPIAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IMAPIContainer_Vtbl { GetSearchCriteria: GetSearchCriteria::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"implement\"`*"] @@ -391,8 +391,8 @@ impl IMAPIControl_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -503,8 +503,8 @@ impl IMAPIFolder_Vtbl { EmptyFolder: EmptyFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"implement\"`*"] @@ -552,8 +552,8 @@ impl IMAPIProgress_Vtbl { SetLimits: SetLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -646,8 +646,8 @@ impl IMAPIProp_Vtbl { GetIDsFromNames: GetIDsFromNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl IMAPIStatus_Vtbl { FlushQueues: FlushQueues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -869,8 +869,8 @@ impl IMAPITable_Vtbl { SetCollapseState: SetCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -883,8 +883,8 @@ impl IMailUser_Vtbl { pub const fn new, Impl: IMailUser_Impl, const OFFSET: isize>() -> IMailUser_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IMessage_Vtbl { SetReadFlag: SetReadFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1106,8 +1106,8 @@ impl IMsgStore_Vtbl { NotifyNewMail: NotifyNewMail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IProfSect_Vtbl { pub const fn new, Impl: IProfSect_Impl, const OFFSET: isize>() -> IProfSect_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1165,8 +1165,8 @@ impl IPropData_Vtbl { HrAddObjProps: HrAddObjProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl IProviderAdmin_Vtbl { OpenProfileSection: OpenProfileSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1321,8 +1321,8 @@ impl ITableData_Vtbl { HrDeleteRows: HrDeleteRows::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl IWABExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1462,7 +1462,7 @@ impl IWABObject_Vtbl { SetMe: SetMe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs index 2412bed592..99d0a299bf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -424,6 +424,7 @@ pub unsafe fn WrapStoreEntryID(ulflags: u32, lpszdllname: *const i8, cborigentry } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IABContainer(::windows_core::IUnknown); impl IABContainer { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -511,25 +512,9 @@ impl IABContainer { } } ::windows_core::imp::interface_hierarchy!(IABContainer, ::windows_core::IUnknown, IMAPIProp, IMAPIContainer); -impl ::core::cmp::PartialEq for IABContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IABContainer {} -impl ::core::fmt::Debug for IABContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IABContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IABContainer { type Vtable = IABContainer_Vtbl; } -impl ::core::clone::Clone for IABContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IABContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -547,6 +532,7 @@ pub struct IABContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddrBook(::windows_core::IUnknown); impl IAddrBook { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -665,25 +651,9 @@ impl IAddrBook { } } ::windows_core::imp::interface_hierarchy!(IAddrBook, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IAddrBook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAddrBook {} -impl ::core::fmt::Debug for IAddrBook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAddrBook").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAddrBook { type Vtable = IAddrBook_Vtbl; } -impl ::core::clone::Clone for IAddrBook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddrBook { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -733,6 +703,7 @@ pub struct IAddrBook_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttach(::windows_core::IUnknown); impl IAttach { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -780,25 +751,9 @@ impl IAttach { } } ::windows_core::imp::interface_hierarchy!(IAttach, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IAttach { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAttach {} -impl ::core::fmt::Debug for IAttach { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAttach").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAttach { type Vtable = IAttach_Vtbl; } -impl ::core::clone::Clone for IAttach { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttach { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -809,6 +764,7 @@ pub struct IAttach_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDistList(::windows_core::IUnknown); impl IDistList { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -896,25 +852,9 @@ impl IDistList { } } ::windows_core::imp::interface_hierarchy!(IDistList, ::windows_core::IUnknown, IMAPIProp, IMAPIContainer); -impl ::core::cmp::PartialEq for IDistList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDistList {} -impl ::core::fmt::Debug for IDistList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDistList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDistList { type Vtable = IDistList_Vtbl; } -impl ::core::clone::Clone for IDistList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDistList { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -932,6 +872,7 @@ pub struct IDistList_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIAdviseSink(::windows_core::IUnknown); impl IMAPIAdviseSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -941,25 +882,9 @@ impl IMAPIAdviseSink { } } ::windows_core::imp::interface_hierarchy!(IMAPIAdviseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMAPIAdviseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIAdviseSink {} -impl ::core::fmt::Debug for IMAPIAdviseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIAdviseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIAdviseSink { type Vtable = IMAPIAdviseSink_Vtbl; } -impl ::core::clone::Clone for IMAPIAdviseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIAdviseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -974,6 +899,7 @@ pub struct IMAPIAdviseSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIContainer(::windows_core::IUnknown); impl IMAPIContainer { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1042,25 +968,9 @@ impl IMAPIContainer { } } ::windows_core::imp::interface_hierarchy!(IMAPIContainer, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IMAPIContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIContainer {} -impl ::core::fmt::Debug for IMAPIContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIContainer { type Vtable = IMAPIContainer_Vtbl; } -impl ::core::clone::Clone for IMAPIContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1082,6 +992,7 @@ pub struct IMAPIContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIControl(::windows_core::IUnknown); impl IMAPIControl { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32) -> ::windows_core::Result<*mut MAPIERROR> { @@ -1096,25 +1007,9 @@ impl IMAPIControl { } } ::windows_core::imp::interface_hierarchy!(IMAPIControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMAPIControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIControl {} -impl ::core::fmt::Debug for IMAPIControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIControl { type Vtable = IMAPIControl_Vtbl; } -impl ::core::clone::Clone for IMAPIControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIControl { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1128,6 +1023,7 @@ pub struct IMAPIControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIFolder(::windows_core::IUnknown); impl IMAPIFolder { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1250,25 +1146,9 @@ impl IMAPIFolder { } } ::windows_core::imp::interface_hierarchy!(IMAPIFolder, ::windows_core::IUnknown, IMAPIProp, IMAPIContainer); -impl ::core::cmp::PartialEq for IMAPIFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIFolder {} -impl ::core::fmt::Debug for IMAPIFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIFolder { type Vtable = IMAPIFolder_Vtbl; } -impl ::core::clone::Clone for IMAPIFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1290,6 +1170,7 @@ pub struct IMAPIFolder_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIProgress(::windows_core::IUnknown); impl IMAPIProgress { pub unsafe fn Progress(&self, ulvalue: u32, ulcount: u32, ultotal: u32) -> ::windows_core::Result<()> { @@ -1309,25 +1190,9 @@ impl IMAPIProgress { } } ::windows_core::imp::interface_hierarchy!(IMAPIProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMAPIProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIProgress {} -impl ::core::fmt::Debug for IMAPIProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIProgress { type Vtable = IMAPIProgress_Vtbl; } -impl ::core::clone::Clone for IMAPIProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1343,6 +1208,7 @@ pub struct IMAPIProgress_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIProp(::windows_core::IUnknown); impl IMAPIProp { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1390,25 +1256,9 @@ impl IMAPIProp { } } ::windows_core::imp::interface_hierarchy!(IMAPIProp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMAPIProp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIProp {} -impl ::core::fmt::Debug for IMAPIProp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIProp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIProp { type Vtable = IMAPIProp_Vtbl; } -impl ::core::clone::Clone for IMAPIProp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIProp { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1436,6 +1286,7 @@ pub struct IMAPIProp_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPIStatus(::windows_core::IUnknown); impl IMAPIStatus { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1495,25 +1346,9 @@ impl IMAPIStatus { } } ::windows_core::imp::interface_hierarchy!(IMAPIStatus, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IMAPIStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPIStatus {} -impl ::core::fmt::Debug for IMAPIStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPIStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPIStatus { type Vtable = IMAPIStatus_Vtbl; } -impl ::core::clone::Clone for IMAPIStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPIStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1528,6 +1363,7 @@ pub struct IMAPIStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMAPITable(::windows_core::IUnknown); impl IMAPITable { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1612,25 +1448,9 @@ impl IMAPITable { } } ::windows_core::imp::interface_hierarchy!(IMAPITable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMAPITable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMAPITable {} -impl ::core::fmt::Debug for IMAPITable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMAPITable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMAPITable { type Vtable = IMAPITable_Vtbl; } -impl ::core::clone::Clone for IMAPITable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMAPITable { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1676,6 +1496,7 @@ pub struct IMAPITable_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMailUser(::windows_core::IUnknown); impl IMailUser { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1723,25 +1544,9 @@ impl IMailUser { } } ::windows_core::imp::interface_hierarchy!(IMailUser, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IMailUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMailUser {} -impl ::core::fmt::Debug for IMailUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMailUser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMailUser { type Vtable = IMailUser_Vtbl; } -impl ::core::clone::Clone for IMailUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMailUser { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1752,6 +1557,7 @@ pub struct IMailUser_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessage(::windows_core::IUnknown); impl IMessage { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1831,25 +1637,9 @@ impl IMessage { } } ::windows_core::imp::interface_hierarchy!(IMessage, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMessage {} -impl ::core::fmt::Debug for IMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMessage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMessage { type Vtable = IMessage_Vtbl; } -impl ::core::clone::Clone for IMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -1871,6 +1661,7 @@ pub struct IMessage_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsgStore(::windows_core::IUnknown); impl IMsgStore { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -1969,25 +1760,9 @@ impl IMsgStore { } } ::windows_core::imp::interface_hierarchy!(IMsgStore, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IMsgStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMsgStore {} -impl ::core::fmt::Debug for IMsgStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsgStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMsgStore { type Vtable = IMsgStore_Vtbl; } -impl ::core::clone::Clone for IMsgStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMsgStore { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2014,6 +1789,7 @@ pub struct IMsgStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProfSect(::windows_core::IUnknown); impl IProfSect { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -2061,25 +1837,9 @@ impl IProfSect { } } ::windows_core::imp::interface_hierarchy!(IProfSect, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IProfSect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProfSect {} -impl ::core::fmt::Debug for IProfSect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProfSect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProfSect { type Vtable = IProfSect_Vtbl; } -impl ::core::clone::Clone for IProfSect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProfSect { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2090,6 +1850,7 @@ pub struct IProfSect_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropData(::windows_core::IUnknown); impl IPropData { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -2149,25 +1910,9 @@ impl IPropData { } } ::windows_core::imp::interface_hierarchy!(IPropData, ::windows_core::IUnknown, IMAPIProp); -impl ::core::cmp::PartialEq for IPropData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropData {} -impl ::core::fmt::Debug for IPropData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropData { type Vtable = IPropData_Vtbl; } -impl ::core::clone::Clone for IPropData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropData { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2182,6 +1927,7 @@ pub struct IPropData_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderAdmin(::windows_core::IUnknown); impl IProviderAdmin { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32) -> ::windows_core::Result<*mut MAPIERROR> { @@ -2207,25 +1953,9 @@ impl IProviderAdmin { } } ::windows_core::imp::interface_hierarchy!(IProviderAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderAdmin {} -impl ::core::fmt::Debug for IProviderAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderAdmin { type Vtable = IProviderAdmin_Vtbl; } -impl ::core::clone::Clone for IProviderAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2244,6 +1974,7 @@ pub struct IProviderAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableData(::windows_core::IUnknown); impl ITableData { pub unsafe fn HrGetView(&self, lpssortorderset: *mut SSortOrderSet, lpfcallerrelease: *mut CALLERRELEASE, ulcallerdata: u32, lppmapitable: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -2291,25 +2022,9 @@ impl ITableData { } } ::windows_core::imp::interface_hierarchy!(ITableData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITableData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableData {} -impl ::core::fmt::Debug for ITableData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableData { type Vtable = ITableData_Vtbl; } -impl ::core::clone::Clone for ITableData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableData { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2353,6 +2068,7 @@ pub struct ITableData_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWABExtInit(::windows_core::IUnknown); impl IWABExtInit { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2362,25 +2078,9 @@ impl IWABExtInit { } } ::windows_core::imp::interface_hierarchy!(IWABExtInit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWABExtInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWABExtInit {} -impl ::core::fmt::Debug for IWABExtInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWABExtInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWABExtInit { type Vtable = IWABExtInit_Vtbl; } -impl ::core::clone::Clone for IWABExtInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWABExtInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea22ebf0_87a4_11d1_9acf_00a0c91f9c8b); } @@ -2395,6 +2095,7 @@ pub struct IWABExtInit_Vtbl { } #[doc = "*Required features: `\"Win32_System_AddressBook\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWABObject(::windows_core::IUnknown); impl IWABObject { pub unsafe fn GetLastError(&self, hresult: ::windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> ::windows_core::Result<()> { @@ -2487,25 +2188,9 @@ impl IWABObject { } } ::windows_core::imp::interface_hierarchy!(IWABObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWABObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWABObject {} -impl ::core::fmt::Debug for IWABObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWABObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWABObject { type Vtable = IWABObject_Vtbl; } -impl ::core::clone::Clone for IWABObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWABObject { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs index 5a0cfcc793..9fcd0bf7f4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs @@ -22,8 +22,8 @@ impl IAmsiStream_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl IAntimalware_Vtbl { CloseSession: CloseSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -74,8 +74,8 @@ impl IAntimalware2_Vtbl { } Self { base__: IAntimalware_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl IAntimalwareProvider_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl IAntimalwareProvider2_Vtbl { } Self { base__: IAntimalwareProvider_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -188,7 +188,7 @@ impl IAntimalwareUacProvider_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs index 921031bd18..3c9b18a3f4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -85,6 +85,7 @@ where } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAmsiStream(::windows_core::IUnknown); impl IAmsiStream { pub unsafe fn GetAttribute(&self, attribute: AMSI_ATTRIBUTE, data: &mut [u8], retdata: *mut u32) -> ::windows_core::Result<()> { @@ -95,25 +96,9 @@ impl IAmsiStream { } } ::windows_core::imp::interface_hierarchy!(IAmsiStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAmsiStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAmsiStream {} -impl ::core::fmt::Debug for IAmsiStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAmsiStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAmsiStream { type Vtable = IAmsiStream_Vtbl; } -impl ::core::clone::Clone for IAmsiStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAmsiStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e47f2e5_81d4_4d3b_897f_545096770373); } @@ -126,6 +111,7 @@ pub struct IAmsiStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAntimalware(::windows_core::IUnknown); impl IAntimalware { pub unsafe fn Scan(&self, stream: P0, result: *mut AMSI_RESULT, provider: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -139,25 +125,9 @@ impl IAntimalware { } } ::windows_core::imp::interface_hierarchy!(IAntimalware, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAntimalware { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAntimalware {} -impl ::core::fmt::Debug for IAntimalware { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAntimalware").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAntimalware { type Vtable = IAntimalware_Vtbl; } -impl ::core::clone::Clone for IAntimalware { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAntimalware { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82d29c2e_f062_44e6_b5c9_3d9a2f24a2df); } @@ -170,6 +140,7 @@ pub struct IAntimalware_Vtbl { } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAntimalware2(::windows_core::IUnknown); impl IAntimalware2 { pub unsafe fn Scan(&self, stream: P0, result: *mut AMSI_RESULT, provider: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -191,25 +162,9 @@ impl IAntimalware2 { } } ::windows_core::imp::interface_hierarchy!(IAntimalware2, ::windows_core::IUnknown, IAntimalware); -impl ::core::cmp::PartialEq for IAntimalware2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAntimalware2 {} -impl ::core::fmt::Debug for IAntimalware2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAntimalware2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAntimalware2 { type Vtable = IAntimalware2_Vtbl; } -impl ::core::clone::Clone for IAntimalware2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAntimalware2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x301035b5_2d42_4f56_8c65_2dcaa7fb3cdc); } @@ -221,6 +176,7 @@ pub struct IAntimalware2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAntimalwareProvider(::windows_core::IUnknown); impl IAntimalwareProvider { pub unsafe fn Scan(&self, stream: P0) -> ::windows_core::Result @@ -239,25 +195,9 @@ impl IAntimalwareProvider { } } ::windows_core::imp::interface_hierarchy!(IAntimalwareProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAntimalwareProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAntimalwareProvider {} -impl ::core::fmt::Debug for IAntimalwareProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAntimalwareProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAntimalwareProvider { type Vtable = IAntimalwareProvider_Vtbl; } -impl ::core::clone::Clone for IAntimalwareProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAntimalwareProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2cabfe3_fe04_42b1_a5df_08d483d4d125); } @@ -271,6 +211,7 @@ pub struct IAntimalwareProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAntimalwareProvider2(::windows_core::IUnknown); impl IAntimalwareProvider2 { pub unsafe fn Scan(&self, stream: P0) -> ::windows_core::Result @@ -297,25 +238,9 @@ impl IAntimalwareProvider2 { } } ::windows_core::imp::interface_hierarchy!(IAntimalwareProvider2, ::windows_core::IUnknown, IAntimalwareProvider); -impl ::core::cmp::PartialEq for IAntimalwareProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAntimalwareProvider2 {} -impl ::core::fmt::Debug for IAntimalwareProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAntimalwareProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAntimalwareProvider2 { type Vtable = IAntimalwareProvider2_Vtbl; } -impl ::core::clone::Clone for IAntimalwareProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAntimalwareProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c1e6570_3f73_4e0f_8ad4_98b94cd3290f); } @@ -327,6 +252,7 @@ pub struct IAntimalwareProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Antimalware\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAntimalwareUacProvider(::windows_core::IUnknown); impl IAntimalwareUacProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -341,25 +267,9 @@ impl IAntimalwareUacProvider { } } ::windows_core::imp::interface_hierarchy!(IAntimalwareUacProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAntimalwareUacProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAntimalwareUacProvider {} -impl ::core::fmt::Debug for IAntimalwareUacProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAntimalwareUacProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAntimalwareUacProvider { type Vtable = IAntimalwareUacProvider_Vtbl; } -impl ::core::clone::Clone for IAntimalwareUacProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAntimalwareUacProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2cabfe4_fe04_42b1_a5df_08d483d4d125); } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs index 3a1baceecf..a0feb2ef4d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs @@ -49,8 +49,8 @@ impl IAssemblyCache_Vtbl { InstallAssembly: InstallAssembly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IAssemblyCacheItem_Vtbl { AbortItem: AbortItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -170,8 +170,8 @@ impl IAssemblyName_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -221,8 +221,8 @@ impl IEnumMsmDependency_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -272,8 +272,8 @@ impl IEnumMsmError_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IEnumMsmString_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IMsmDependencies_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IMsmDependency_Vtbl { Version: Version::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IMsmError_Vtbl { ModuleKeys: ModuleKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IMsmErrors_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -563,8 +563,8 @@ impl IMsmGetFiles_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ModuleFiles: ModuleFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IMsmMerge_Vtbl { ExtractFiles: ExtractFiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IMsmStrings_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1339,8 +1339,8 @@ impl IPMApplicationInfo_Vtbl { set_Title: set_Title::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1363,8 +1363,8 @@ impl IPMApplicationInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { set_IsScheduleAllowed: set_IsScheduleAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1538,8 +1538,8 @@ impl IPMBackgroundServiceAgentInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IPMBackgroundWorkerInfo_Vtbl { IsBootWorker: IsBootWorker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1645,8 +1645,8 @@ impl IPMBackgroundWorkerInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1921,8 +1921,8 @@ impl IPMDeploymentManager_Vtbl { FixJunctionsForAppsOnSDCard: FixJunctionsForAppsOnSDCard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IPMEnumerationManager_Vtbl { get_StartAppEnumeratorBlob: get_StartAppEnumeratorBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2145,8 +2145,8 @@ impl IPMExtensionCachedFileUpdaterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SupportsUpdates: SupportsUpdates:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IPMExtensionContractInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_InvocationInfo: get_InvocationInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2226,8 +2226,8 @@ impl IPMExtensionFileExtensionInfo_Vtbl { get_AllFileTypes: get_AllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IPMExtensionFileOpenPickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2300,8 +2300,8 @@ impl IPMExtensionFileSavePickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2362,8 +2362,8 @@ impl IPMExtensionInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2386,8 +2386,8 @@ impl IPMExtensionInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2414,8 +2414,8 @@ impl IPMExtensionProtocolInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2458,8 +2458,8 @@ impl IPMExtensionShareTargetInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2703,8 +2703,8 @@ impl IPMLiveTileJobInfo_Vtbl { set_DownloadState: set_DownloadState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2727,8 +2727,8 @@ impl IPMLiveTileJobInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2963,8 +2963,8 @@ impl IPMTaskInfo_Vtbl { IsOptedForExtendedMem: IsOptedForExtendedMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2987,8 +2987,8 @@ impl IPMTaskInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3250,8 +3250,8 @@ impl IPMTileInfo_Vtbl { set_IsAutoRestoreDisabled: set_IsAutoRestoreDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3274,8 +3274,8 @@ impl IPMTileInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3298,8 +3298,8 @@ impl IPMTilePropertyEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3339,8 +3339,8 @@ impl IPMTilePropertyInfo_Vtbl { set_Property: set_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3405,7 +3405,7 @@ impl IValidate_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 981eb17b52..8d62ffaea8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -3244,6 +3244,7 @@ where } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssemblyCache(::windows_core::IUnknown); impl IAssemblyCache { pub unsafe fn UninstallAssembly(&self, dwflags: u32, pszassemblyname: P0, prefdata: *mut FUSION_INSTALL_REFERENCE, puldisposition: *mut IASSEMBLYCACHE_UNINSTALL_DISPOSITION) -> ::windows_core::Result<()> @@ -3276,25 +3277,9 @@ impl IAssemblyCache { } } ::windows_core::imp::interface_hierarchy!(IAssemblyCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssemblyCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssemblyCache {} -impl ::core::fmt::Debug for IAssemblyCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssemblyCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssemblyCache { type Vtable = IAssemblyCache_Vtbl; } -impl ::core::clone::Clone for IAssemblyCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssemblyCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe707dcde_d1cd_11d2_bab9_00c04f8eceae); } @@ -3310,6 +3295,7 @@ pub struct IAssemblyCache_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssemblyCacheItem(::windows_core::IUnknown); impl IAssemblyCacheItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3328,25 +3314,9 @@ impl IAssemblyCacheItem { } } ::windows_core::imp::interface_hierarchy!(IAssemblyCacheItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssemblyCacheItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssemblyCacheItem {} -impl ::core::fmt::Debug for IAssemblyCacheItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssemblyCacheItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssemblyCacheItem { type Vtable = IAssemblyCacheItem_Vtbl; } -impl ::core::clone::Clone for IAssemblyCacheItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssemblyCacheItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e3aaeb4_d1cd_11d2_bab9_00c04f8eceae); } @@ -3363,6 +3333,7 @@ pub struct IAssemblyCacheItem_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssemblyName(::windows_core::IUnknown); impl IAssemblyName { pub unsafe fn SetProperty(&self, propertyid: u32, pvproperty: *mut ::core::ffi::c_void, cbproperty: u32) -> ::windows_core::Result<()> { @@ -3403,25 +3374,9 @@ impl IAssemblyName { } } ::windows_core::imp::interface_hierarchy!(IAssemblyName, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssemblyName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssemblyName {} -impl ::core::fmt::Debug for IAssemblyName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssemblyName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssemblyName { type Vtable = IAssemblyName_Vtbl; } -impl ::core::clone::Clone for IAssemblyName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssemblyName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd193bc0_b4bc_11d2_9833_00c04fc31d2e); } @@ -3441,6 +3396,7 @@ pub struct IAssemblyName_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMsmDependency(::windows_core::IUnknown); impl IEnumMsmDependency { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3460,25 +3416,9 @@ impl IEnumMsmDependency { } } ::windows_core::imp::interface_hierarchy!(IEnumMsmDependency, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMsmDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMsmDependency {} -impl ::core::fmt::Debug for IEnumMsmDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMsmDependency").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMsmDependency { type Vtable = IEnumMsmDependency_Vtbl; } -impl ::core::clone::Clone for IEnumMsmDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMsmDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda82c_2c26_11d2_ad65_00a0c9af11a6); } @@ -3496,6 +3436,7 @@ pub struct IEnumMsmDependency_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMsmError(::windows_core::IUnknown); impl IEnumMsmError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3515,25 +3456,9 @@ impl IEnumMsmError { } } ::windows_core::imp::interface_hierarchy!(IEnumMsmError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMsmError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMsmError {} -impl ::core::fmt::Debug for IEnumMsmError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMsmError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMsmError { type Vtable = IEnumMsmError_Vtbl; } -impl ::core::clone::Clone for IEnumMsmError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMsmError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda829_2c26_11d2_ad65_00a0c9af11a6); } @@ -3551,6 +3476,7 @@ pub struct IEnumMsmError_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMsmString(::windows_core::IUnknown); impl IEnumMsmString { pub unsafe fn Next(&self, cfetch: u32, rgbstrstrings: *mut ::windows_core::BSTR, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3568,25 +3494,9 @@ impl IEnumMsmString { } } ::windows_core::imp::interface_hierarchy!(IEnumMsmString, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMsmString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMsmString {} -impl ::core::fmt::Debug for IEnumMsmString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMsmString").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMsmString { type Vtable = IEnumMsmString_Vtbl; } -impl ::core::clone::Clone for IEnumMsmString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMsmString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda826_2c26_11d2_ad65_00a0c9af11a6); } @@ -3602,6 +3512,7 @@ pub struct IEnumMsmString_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmDependencies(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmDependencies { @@ -3622,30 +3533,10 @@ impl IMsmDependencies { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmDependencies, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmDependencies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmDependencies {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmDependencies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmDependencies").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmDependencies { type Vtable = IMsmDependencies_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmDependencies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmDependencies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda82d_2c26_11d2_ad65_00a0c9af11a6); } @@ -3664,6 +3555,7 @@ pub struct IMsmDependencies_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmDependency(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmDependency { @@ -3680,30 +3572,10 @@ impl IMsmDependency { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmDependency, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmDependency { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmDependency {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmDependency { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmDependency").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmDependency { type Vtable = IMsmDependency_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmDependency { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmDependency { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda82b_2c26_11d2_ad65_00a0c9af11a6); } @@ -3719,6 +3591,7 @@ pub struct IMsmDependency_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmError(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmError { @@ -3753,30 +3626,10 @@ impl IMsmError { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmError, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmError { type Vtable = IMsmError_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda828_2c26_11d2_ad65_00a0c9af11a6); } @@ -3802,6 +3655,7 @@ pub struct IMsmError_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmErrors(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmErrors { @@ -3822,30 +3676,10 @@ impl IMsmErrors { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmErrors, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmErrors { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmErrors {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmErrors { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmErrors").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmErrors { type Vtable = IMsmErrors_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmErrors { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmErrors { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda82a_2c26_11d2_ad65_00a0c9af11a6); } @@ -3864,6 +3698,7 @@ pub struct IMsmErrors_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmGetFiles(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmGetFiles { @@ -3877,30 +3712,10 @@ impl IMsmGetFiles { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmGetFiles, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmGetFiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmGetFiles {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmGetFiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmGetFiles").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmGetFiles { type Vtable = IMsmGetFiles_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmGetFiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmGetFiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7041ae26_2d78_11d2_888a_00a0c981b015); } @@ -3917,6 +3732,7 @@ pub struct IMsmGetFiles_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmMerge(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmMerge { @@ -3999,30 +3815,10 @@ impl IMsmMerge { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmMerge, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmMerge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmMerge {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmMerge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmMerge").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmMerge { type Vtable = IMsmMerge_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmMerge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmMerge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda82e_2c26_11d2_ad65_00a0c9af11a6); } @@ -4057,6 +3853,7 @@ pub struct IMsmMerge_Vtbl { #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMsmStrings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMsmStrings { @@ -4074,30 +3871,10 @@ impl IMsmStrings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMsmStrings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMsmStrings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMsmStrings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMsmStrings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMsmStrings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMsmStrings { type Vtable = IMsmStrings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMsmStrings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMsmStrings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0adda827_2c26_11d2_ad65_00a0c9af11a6); } @@ -4112,6 +3889,7 @@ pub struct IMsmStrings_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMApplicationInfo(::windows_core::IUnknown); impl IPMApplicationInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4398,25 +4176,9 @@ impl IPMApplicationInfo { } } ::windows_core::imp::interface_hierarchy!(IPMApplicationInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMApplicationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMApplicationInfo {} -impl ::core::fmt::Debug for IPMApplicationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMApplicationInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMApplicationInfo { type Vtable = IPMApplicationInfo_Vtbl; } -impl ::core::clone::Clone for IPMApplicationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMApplicationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50afb58a_438c_4088_9789_f8c4899829c7); } @@ -4569,6 +4331,7 @@ pub struct IPMApplicationInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMApplicationInfoEnumerator(::windows_core::IUnknown); impl IPMApplicationInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -4577,25 +4340,9 @@ impl IPMApplicationInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMApplicationInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMApplicationInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMApplicationInfoEnumerator {} -impl ::core::fmt::Debug for IPMApplicationInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMApplicationInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMApplicationInfoEnumerator { type Vtable = IPMApplicationInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMApplicationInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMApplicationInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ec42a96_4d46_4dc6_a3d9_a7acaac0f5fa); } @@ -4607,6 +4354,7 @@ pub struct IPMApplicationInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMBackgroundServiceAgentInfo(::windows_core::IUnknown); impl IPMBackgroundServiceAgentInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4677,25 +4425,9 @@ impl IPMBackgroundServiceAgentInfo { } } ::windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMBackgroundServiceAgentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMBackgroundServiceAgentInfo {} -impl ::core::fmt::Debug for IPMBackgroundServiceAgentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMBackgroundServiceAgentInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMBackgroundServiceAgentInfo { type Vtable = IPMBackgroundServiceAgentInfo_Vtbl; } -impl ::core::clone::Clone for IPMBackgroundServiceAgentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMBackgroundServiceAgentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a8b46da_928c_4879_998c_09dc96f3d490); } @@ -4738,6 +4470,7 @@ pub struct IPMBackgroundServiceAgentInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMBackgroundServiceAgentInfoEnumerator(::windows_core::IUnknown); impl IPMBackgroundServiceAgentInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -4746,25 +4479,9 @@ impl IPMBackgroundServiceAgentInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMBackgroundServiceAgentInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMBackgroundServiceAgentInfoEnumerator {} -impl ::core::fmt::Debug for IPMBackgroundServiceAgentInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMBackgroundServiceAgentInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMBackgroundServiceAgentInfoEnumerator { type Vtable = IPMBackgroundServiceAgentInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMBackgroundServiceAgentInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMBackgroundServiceAgentInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18eb2072_ab56_43b3_872c_beafb7a6b391); } @@ -4776,6 +4493,7 @@ pub struct IPMBackgroundServiceAgentInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMBackgroundWorkerInfo(::windows_core::IUnknown); impl IPMBackgroundWorkerInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4804,25 +4522,9 @@ impl IPMBackgroundWorkerInfo { } } ::windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMBackgroundWorkerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMBackgroundWorkerInfo {} -impl ::core::fmt::Debug for IPMBackgroundWorkerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMBackgroundWorkerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMBackgroundWorkerInfo { type Vtable = IPMBackgroundWorkerInfo_Vtbl; } -impl ::core::clone::Clone for IPMBackgroundWorkerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMBackgroundWorkerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dd4531b_d3bf_4b6b_94f3_69c098b1497d); } @@ -4842,6 +4544,7 @@ pub struct IPMBackgroundWorkerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMBackgroundWorkerInfoEnumerator(::windows_core::IUnknown); impl IPMBackgroundWorkerInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -4850,25 +4553,9 @@ impl IPMBackgroundWorkerInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMBackgroundWorkerInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMBackgroundWorkerInfoEnumerator {} -impl ::core::fmt::Debug for IPMBackgroundWorkerInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMBackgroundWorkerInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMBackgroundWorkerInfoEnumerator { type Vtable = IPMBackgroundWorkerInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMBackgroundWorkerInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMBackgroundWorkerInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87f479f8_90d8_4ec7_92b9_72787e2f636b); } @@ -4880,6 +4567,7 @@ pub struct IPMBackgroundWorkerInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMDeploymentManager(::windows_core::IUnknown); impl IPMDeploymentManager { pub unsafe fn ReportDownloadBegin(&self, productid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5046,25 +4734,9 @@ impl IPMDeploymentManager { } } ::windows_core::imp::interface_hierarchy!(IPMDeploymentManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMDeploymentManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMDeploymentManager {} -impl ::core::fmt::Debug for IPMDeploymentManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMDeploymentManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMDeploymentManager { type Vtable = IPMDeploymentManager_Vtbl; } -impl ::core::clone::Clone for IPMDeploymentManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMDeploymentManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35f785fa_1979_4a8b_bc8f_fd70eb0d1544); } @@ -5128,6 +4800,7 @@ pub struct IPMDeploymentManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMEnumerationManager(::windows_core::IUnknown); impl IPMEnumerationManager { pub unsafe fn get_AllApplications(&self, ppappenum: *mut ::core::option::Option, filter: PM_ENUM_FILTER) -> ::windows_core::Result<()> { @@ -5218,25 +4891,9 @@ impl IPMEnumerationManager { } } ::windows_core::imp::interface_hierarchy!(IPMEnumerationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMEnumerationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMEnumerationManager {} -impl ::core::fmt::Debug for IPMEnumerationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMEnumerationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMEnumerationManager { type Vtable = IPMEnumerationManager_Vtbl; } -impl ::core::clone::Clone for IPMEnumerationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMEnumerationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x698d57c2_292d_4cf3_b73c_d95a6922ed9a); } @@ -5271,6 +4928,7 @@ pub struct IPMEnumerationManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionCachedFileUpdaterInfo(::windows_core::IUnknown); impl IPMExtensionCachedFileUpdaterInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5281,25 +4939,9 @@ impl IPMExtensionCachedFileUpdaterInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionCachedFileUpdaterInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionCachedFileUpdaterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionCachedFileUpdaterInfo {} -impl ::core::fmt::Debug for IPMExtensionCachedFileUpdaterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionCachedFileUpdaterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionCachedFileUpdaterInfo { type Vtable = IPMExtensionCachedFileUpdaterInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionCachedFileUpdaterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionCachedFileUpdaterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2d77509_4e58_4ba9_af7e_b642e370e1b0); } @@ -5314,6 +4956,7 @@ pub struct IPMExtensionCachedFileUpdaterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionContractInfo(::windows_core::IUnknown); impl IPMExtensionContractInfo { pub unsafe fn get_InvocationInfo(&self, paumid: *mut ::windows_core::BSTR, pargs: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5321,25 +4964,9 @@ impl IPMExtensionContractInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionContractInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionContractInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionContractInfo {} -impl ::core::fmt::Debug for IPMExtensionContractInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionContractInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionContractInfo { type Vtable = IPMExtensionContractInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionContractInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionContractInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5666373_7ba1_467c_b819_b175db1c295b); } @@ -5351,6 +4978,7 @@ pub struct IPMExtensionContractInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionFileExtensionInfo(::windows_core::IUnknown); impl IPMExtensionFileExtensionInfo { pub unsafe fn Name(&self, pname: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5382,25 +5010,9 @@ impl IPMExtensionFileExtensionInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionFileExtensionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionFileExtensionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionFileExtensionInfo {} -impl ::core::fmt::Debug for IPMExtensionFileExtensionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionFileExtensionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionFileExtensionInfo { type Vtable = IPMExtensionFileExtensionInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionFileExtensionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionFileExtensionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b87cb6c_0b88_4989_a4ec_033714f710d4); } @@ -5418,6 +5030,7 @@ pub struct IPMExtensionFileExtensionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionFileOpenPickerInfo(::windows_core::IUnknown); impl IPMExtensionFileOpenPickerInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5431,25 +5044,9 @@ impl IPMExtensionFileOpenPickerInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionFileOpenPickerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionFileOpenPickerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionFileOpenPickerInfo {} -impl ::core::fmt::Debug for IPMExtensionFileOpenPickerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionFileOpenPickerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionFileOpenPickerInfo { type Vtable = IPMExtensionFileOpenPickerInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionFileOpenPickerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionFileOpenPickerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dc91d25_9606_420c_9a78_e034a3418345); } @@ -5465,6 +5062,7 @@ pub struct IPMExtensionFileOpenPickerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionFileSavePickerInfo(::windows_core::IUnknown); impl IPMExtensionFileSavePickerInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5478,25 +5076,9 @@ impl IPMExtensionFileSavePickerInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionFileSavePickerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionFileSavePickerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionFileSavePickerInfo {} -impl ::core::fmt::Debug for IPMExtensionFileSavePickerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionFileSavePickerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionFileSavePickerInfo { type Vtable = IPMExtensionFileSavePickerInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionFileSavePickerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionFileSavePickerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38005cba_f81a_493e_a0f8_922c8680da43); } @@ -5512,6 +5094,7 @@ pub struct IPMExtensionFileSavePickerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionInfo(::windows_core::IUnknown); impl IPMExtensionInfo { pub unsafe fn SupplierPID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5535,25 +5118,9 @@ impl IPMExtensionInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionInfo {} -impl ::core::fmt::Debug for IPMExtensionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionInfo { type Vtable = IPMExtensionInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49acde79_9788_4d0a_8aa0_1746afdb9e9d); } @@ -5570,6 +5137,7 @@ pub struct IPMExtensionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionInfoEnumerator(::windows_core::IUnknown); impl IPMExtensionInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -5578,25 +5146,9 @@ impl IPMExtensionInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionInfoEnumerator {} -impl ::core::fmt::Debug for IPMExtensionInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionInfoEnumerator { type Vtable = IPMExtensionInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMExtensionInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x403b9e82_1171_4573_8e6f_6f33f39b83dd); } @@ -5608,6 +5160,7 @@ pub struct IPMExtensionInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionProtocolInfo(::windows_core::IUnknown); impl IPMExtensionProtocolInfo { pub unsafe fn Protocol(&self, pprotocol: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5618,25 +5171,9 @@ impl IPMExtensionProtocolInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionProtocolInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionProtocolInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionProtocolInfo {} -impl ::core::fmt::Debug for IPMExtensionProtocolInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionProtocolInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionProtocolInfo { type Vtable = IPMExtensionProtocolInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionProtocolInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionProtocolInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e3fa036_51eb_4453_baff_b8d8e4b46c8e); } @@ -5649,6 +5186,7 @@ pub struct IPMExtensionProtocolInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMExtensionShareTargetInfo(::windows_core::IUnknown); impl IPMExtensionShareTargetInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5665,25 +5203,9 @@ impl IPMExtensionShareTargetInfo { } } ::windows_core::imp::interface_hierarchy!(IPMExtensionShareTargetInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMExtensionShareTargetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMExtensionShareTargetInfo {} -impl ::core::fmt::Debug for IPMExtensionShareTargetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMExtensionShareTargetInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMExtensionShareTargetInfo { type Vtable = IPMExtensionShareTargetInfo_Vtbl; } -impl ::core::clone::Clone for IPMExtensionShareTargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMExtensionShareTargetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5471f48b_c65c_4656_8c70_242e31195fea); } @@ -5700,6 +5222,7 @@ pub struct IPMExtensionShareTargetInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMLiveTileJobInfo(::windows_core::IUnknown); impl IPMLiveTileJobInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5801,25 +5324,9 @@ impl IPMLiveTileJobInfo { } } ::windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMLiveTileJobInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMLiveTileJobInfo {} -impl ::core::fmt::Debug for IPMLiveTileJobInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMLiveTileJobInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMLiveTileJobInfo { type Vtable = IPMLiveTileJobInfo_Vtbl; } -impl ::core::clone::Clone for IPMLiveTileJobInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMLiveTileJobInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6009a81f_4710_4697_b5f6_2208f6057b8e); } @@ -5872,6 +5379,7 @@ pub struct IPMLiveTileJobInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMLiveTileJobInfoEnumerator(::windows_core::IUnknown); impl IPMLiveTileJobInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -5880,25 +5388,9 @@ impl IPMLiveTileJobInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMLiveTileJobInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMLiveTileJobInfoEnumerator {} -impl ::core::fmt::Debug for IPMLiveTileJobInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMLiveTileJobInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMLiveTileJobInfoEnumerator { type Vtable = IPMLiveTileJobInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMLiveTileJobInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMLiveTileJobInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc042582_9415_4f36_9f99_06f104c07c03); } @@ -5910,6 +5402,7 @@ pub struct IPMLiveTileJobInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTaskInfo(::windows_core::IUnknown); impl IPMTaskInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5997,25 +5490,9 @@ impl IPMTaskInfo { } } ::windows_core::imp::interface_hierarchy!(IPMTaskInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTaskInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTaskInfo {} -impl ::core::fmt::Debug for IPMTaskInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTaskInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTaskInfo { type Vtable = IPMTaskInfo_Vtbl; } -impl ::core::clone::Clone for IPMTaskInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTaskInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf1d8c33_1bf5_4ee0_b549_6b9dd3834942); } @@ -6059,6 +5536,7 @@ pub struct IPMTaskInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTaskInfoEnumerator(::windows_core::IUnknown); impl IPMTaskInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -6067,25 +5545,9 @@ impl IPMTaskInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMTaskInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTaskInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTaskInfoEnumerator {} -impl ::core::fmt::Debug for IPMTaskInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTaskInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTaskInfoEnumerator { type Vtable = IPMTaskInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMTaskInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTaskInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0630b0f8_0bbc_4821_be74_c7995166ed2a); } @@ -6097,6 +5559,7 @@ pub struct IPMTaskInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTileInfo(::windows_core::IUnknown); impl IPMTileInfo { pub unsafe fn ProductID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -6224,25 +5687,9 @@ impl IPMTileInfo { } } ::windows_core::imp::interface_hierarchy!(IPMTileInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTileInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTileInfo {} -impl ::core::fmt::Debug for IPMTileInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTileInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTileInfo { type Vtable = IPMTileInfo_Vtbl; } -impl ::core::clone::Clone for IPMTileInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTileInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1604833_2b08_4001_82cd_183ad734f752); } @@ -6310,6 +5757,7 @@ pub struct IPMTileInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTileInfoEnumerator(::windows_core::IUnknown); impl IPMTileInfoEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -6318,25 +5766,9 @@ impl IPMTileInfoEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMTileInfoEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTileInfoEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTileInfoEnumerator {} -impl ::core::fmt::Debug for IPMTileInfoEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTileInfoEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTileInfoEnumerator { type Vtable = IPMTileInfoEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMTileInfoEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTileInfoEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xded83065_e462_4b2c_acb5_e39cea61c874); } @@ -6348,6 +5780,7 @@ pub struct IPMTileInfoEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTilePropertyEnumerator(::windows_core::IUnknown); impl IPMTilePropertyEnumerator { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -6356,25 +5789,9 @@ impl IPMTilePropertyEnumerator { } } ::windows_core::imp::interface_hierarchy!(IPMTilePropertyEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTilePropertyEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTilePropertyEnumerator {} -impl ::core::fmt::Debug for IPMTilePropertyEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTilePropertyEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTilePropertyEnumerator { type Vtable = IPMTilePropertyEnumerator_Vtbl; } -impl ::core::clone::Clone for IPMTilePropertyEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTilePropertyEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc4cd629_9047_4250_aac8_930e47812421); } @@ -6386,6 +5803,7 @@ pub struct IPMTilePropertyEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPMTilePropertyInfo(::windows_core::IUnknown); impl IPMTilePropertyInfo { pub unsafe fn PropertyID(&self) -> ::windows_core::Result { @@ -6403,25 +5821,9 @@ impl IPMTilePropertyInfo { } } ::windows_core::imp::interface_hierarchy!(IPMTilePropertyInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPMTilePropertyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPMTilePropertyInfo {} -impl ::core::fmt::Debug for IPMTilePropertyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPMTilePropertyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPMTilePropertyInfo { type Vtable = IPMTilePropertyInfo_Vtbl; } -impl ::core::clone::Clone for IPMTilePropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPMTilePropertyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c2b8017_1efa_42a7_86c0_6d4b640bf528); } @@ -6435,6 +5837,7 @@ pub struct IPMTilePropertyInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValidate(::windows_core::IUnknown); impl IValidate { pub unsafe fn OpenDatabase(&self, szdatabase: P0) -> ::windows_core::Result<()> @@ -6473,25 +5876,9 @@ impl IValidate { } } ::windows_core::imp::interface_hierarchy!(IValidate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IValidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IValidate {} -impl ::core::fmt::Debug for IValidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IValidate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IValidate { type Vtable = IValidate_Vtbl; } -impl ::core::clone::Clone for IValidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IValidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe482e5c6_e31e_4143_a2e6_dbc3d8e4b8d3); } diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs index 7dab6c308a..7f3e6d8791 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs @@ -18,8 +18,8 @@ impl IAccessibleWinSAT_Vtbl { SetAccessiblityData: SetAccessiblityData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl IInitiateWinSATAssessment_Vtbl { CancelAssessment: CancelAssessment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IProvideWinSATAssessmentInfo_Vtbl { Description: Description::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IProvideWinSATResultsInfo_Vtbl { RatingStateDesc: RatingStateDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -221,8 +221,8 @@ impl IProvideWinSATVisuals_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Bitmap: get_Bitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl IQueryAllWinSATAssessments_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), get_AllXML: get_AllXML:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"implement\"`*"] @@ -272,8 +272,8 @@ impl IQueryOEMWinSATCustomization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOEMPrePopulationInfo: GetOEMPrePopulationInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -315,8 +315,8 @@ impl IQueryRecentWinSATAssessment_Vtbl { Info: Info::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"implement\"`*"] @@ -343,7 +343,7 @@ impl IWinSATInitiateEvents_Vtbl { WinSATUpdate: WinSATUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs index cd390ceb4c..a6cd6355af 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Accessibility\"`*"] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleWinSAT(::windows_core::IUnknown); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] impl IAccessibleWinSAT { @@ -142,30 +143,10 @@ impl IAccessibleWinSAT { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] ::windows_core::imp::interface_hierarchy!(IAccessibleWinSAT, ::windows_core::IUnknown, super::Com::IDispatch, super::super::UI::Accessibility::IAccessible); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -impl ::core::cmp::PartialEq for IAccessibleWinSAT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -impl ::core::cmp::Eq for IAccessibleWinSAT {} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -impl ::core::fmt::Debug for IAccessibleWinSAT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleWinSAT").field(&self.0).finish() - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] unsafe impl ::windows_core::Interface for IAccessibleWinSAT { type Vtable = IAccessibleWinSAT_Vtbl; } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -impl ::core::clone::Clone for IAccessibleWinSAT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] unsafe impl ::windows_core::ComInterface for IAccessibleWinSAT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30e6018a_94a8_4ff8_a69a_71b67413f07b); } @@ -178,6 +159,7 @@ pub struct IAccessibleWinSAT_Vtbl { } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitiateWinSATAssessment(::windows_core::IUnknown); impl IInitiateWinSATAssessment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -204,25 +186,9 @@ impl IInitiateWinSATAssessment { } } ::windows_core::imp::interface_hierarchy!(IInitiateWinSATAssessment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitiateWinSATAssessment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitiateWinSATAssessment {} -impl ::core::fmt::Debug for IInitiateWinSATAssessment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitiateWinSATAssessment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitiateWinSATAssessment { type Vtable = IInitiateWinSATAssessment_Vtbl; } -impl ::core::clone::Clone for IInitiateWinSATAssessment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitiateWinSATAssessment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd983fc50_f5bf_49d5_b5ed_cccb18aa7fc1); } @@ -243,6 +209,7 @@ pub struct IInitiateWinSATAssessment_Vtbl { #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideWinSATAssessmentInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IProvideWinSATAssessmentInfo { @@ -262,30 +229,10 @@ impl IProvideWinSATAssessmentInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IProvideWinSATAssessmentInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IProvideWinSATAssessmentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IProvideWinSATAssessmentInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IProvideWinSATAssessmentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideWinSATAssessmentInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IProvideWinSATAssessmentInfo { type Vtable = IProvideWinSATAssessmentInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IProvideWinSATAssessmentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IProvideWinSATAssessmentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cd1c380_52d3_4678_ac6f_e929e480be9e); } @@ -301,6 +248,7 @@ pub struct IProvideWinSATAssessmentInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideWinSATResultsInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IProvideWinSATResultsInfo { @@ -332,30 +280,10 @@ impl IProvideWinSATResultsInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IProvideWinSATResultsInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IProvideWinSATResultsInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IProvideWinSATResultsInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IProvideWinSATResultsInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideWinSATResultsInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IProvideWinSATResultsInfo { type Vtable = IProvideWinSATResultsInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IProvideWinSATResultsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IProvideWinSATResultsInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8334d5d_568e_4075_875f_9df341506640); } @@ -378,6 +306,7 @@ pub struct IProvideWinSATResultsInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideWinSATVisuals(::windows_core::IUnknown); impl IProvideWinSATVisuals { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -388,25 +317,9 @@ impl IProvideWinSATVisuals { } } ::windows_core::imp::interface_hierarchy!(IProvideWinSATVisuals, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideWinSATVisuals { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideWinSATVisuals {} -impl ::core::fmt::Debug for IProvideWinSATVisuals { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideWinSATVisuals").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideWinSATVisuals { type Vtable = IProvideWinSATVisuals_Vtbl; } -impl ::core::clone::Clone for IProvideWinSATVisuals { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideWinSATVisuals { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9f4ade0_871a_42a3_b813_3078d25162c9); } @@ -422,6 +335,7 @@ pub struct IProvideWinSATVisuals_Vtbl { #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryAllWinSATAssessments(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IQueryAllWinSATAssessments { @@ -439,30 +353,10 @@ impl IQueryAllWinSATAssessments { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IQueryAllWinSATAssessments, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IQueryAllWinSATAssessments { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IQueryAllWinSATAssessments {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IQueryAllWinSATAssessments { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryAllWinSATAssessments").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IQueryAllWinSATAssessments { type Vtable = IQueryAllWinSATAssessments_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IQueryAllWinSATAssessments { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IQueryAllWinSATAssessments { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b89ed1d_6398_4fea_87fc_567d8d19176f); } @@ -478,6 +372,7 @@ pub struct IQueryAllWinSATAssessments_Vtbl { } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryOEMWinSATCustomization(::windows_core::IUnknown); impl IQueryOEMWinSATCustomization { pub unsafe fn GetOEMPrePopulationInfo(&self) -> ::windows_core::Result { @@ -486,25 +381,9 @@ impl IQueryOEMWinSATCustomization { } } ::windows_core::imp::interface_hierarchy!(IQueryOEMWinSATCustomization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryOEMWinSATCustomization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryOEMWinSATCustomization {} -impl ::core::fmt::Debug for IQueryOEMWinSATCustomization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryOEMWinSATCustomization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryOEMWinSATCustomization { type Vtable = IQueryOEMWinSATCustomization_Vtbl; } -impl ::core::clone::Clone for IQueryOEMWinSATCustomization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryOEMWinSATCustomization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc9a6a9f_ad4e_420e_9953_b34671e9df22); } @@ -517,6 +396,7 @@ pub struct IQueryOEMWinSATCustomization_Vtbl { #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryRecentWinSATAssessment(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IQueryRecentWinSATAssessment { @@ -540,30 +420,10 @@ impl IQueryRecentWinSATAssessment { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IQueryRecentWinSATAssessment, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IQueryRecentWinSATAssessment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IQueryRecentWinSATAssessment {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IQueryRecentWinSATAssessment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryRecentWinSATAssessment").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IQueryRecentWinSATAssessment { type Vtable = IQueryRecentWinSATAssessment_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IQueryRecentWinSATAssessment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IQueryRecentWinSATAssessment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8ad5d1f_3b47_4bdc_9375_7c6b1da4eca7); } @@ -583,6 +443,7 @@ pub struct IQueryRecentWinSATAssessment_Vtbl { } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinSATInitiateEvents(::windows_core::IUnknown); impl IWinSATInitiateEvents { pub unsafe fn WinSATComplete(&self, hresult: ::windows_core::HRESULT, strdescription: P0) -> ::windows_core::Result<()> @@ -599,25 +460,9 @@ impl IWinSATInitiateEvents { } } ::windows_core::imp::interface_hierarchy!(IWinSATInitiateEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinSATInitiateEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinSATInitiateEvents {} -impl ::core::fmt::Debug for IWinSATInitiateEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinSATInitiateEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinSATInitiateEvents { type Vtable = IWinSATInitiateEvents_Vtbl; } -impl ::core::clone::Clone for IWinSATInitiateEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinSATInitiateEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x262a1918_ba0d_41d5_92c2_fab4633ee74f); } diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs index fb4a30ba1a..9ae42610df 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs @@ -12,8 +12,8 @@ impl IActionOnCLREvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl IApartmentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoCallback: DoCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -48,8 +48,8 @@ impl IAppDomainBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAppDomain: OnAppDomain:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl ICLRAppDomainResourceMonitor_Vtbl { GetCurrentCpuTime: GetCurrentCpuTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl ICLRAssemblyIdentityManager_Vtbl { IsStronglyNamed: IsStronglyNamed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl ICLRAssemblyReferenceList_Vtbl { IsAssemblyReferenceInList: IsAssemblyReferenceInList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -235,8 +235,8 @@ impl ICLRControl_Vtbl { SetAppDomainManagerType: SetAppDomainManagerType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -313,8 +313,8 @@ impl ICLRDebugManager_Vtbl { SetSymbolReadingPolicy: SetSymbolReadingPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl ICLRDebugging_Vtbl { CanUnloadNow: CanUnloadNow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl ICLRDebuggingLibraryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideLibrary: ProvideLibrary:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl ICLRDomainManager_Vtbl { SetPropertiesForDefaultAppDomain: SetPropertiesForDefaultAppDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -437,8 +437,8 @@ impl ICLRErrorReportingManager_Vtbl { EndCustomDump: EndCustomDump::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl ICLRGCManager_Vtbl { SetGCStartupLimits: SetGCStartupLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -490,8 +490,8 @@ impl ICLRGCManager2_Vtbl { } Self { base__: ICLRGCManager_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -518,8 +518,8 @@ impl ICLRHostBindingPolicyManager_Vtbl { EvaluatePolicy: EvaluatePolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -546,8 +546,8 @@ impl ICLRHostProtectionManager_Vtbl { SetEagerSerializeGrantSets: SetEagerSerializeGrantSets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -564,8 +564,8 @@ impl ICLRIoCompletionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl ICLRMemoryNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMemoryNotification: OnMemoryNotification:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -660,8 +660,8 @@ impl ICLRMetaHost_Vtbl { ExitProcess: ExitProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -681,8 +681,8 @@ impl ICLRMetaHostPolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestedRuntime: GetRequestedRuntime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl ICLROnEventManager_Vtbl { UnregisterActionOnEvent: UnregisterActionOnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl ICLRPolicyManager_Vtbl { SetUnhandledExceptionPolicy: SetUnhandledExceptionPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -783,8 +783,8 @@ impl ICLRProbingAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -801,8 +801,8 @@ impl ICLRProfiling_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AttachProfiler: AttachProfiler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -819,8 +819,8 @@ impl ICLRReferenceAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -923,8 +923,8 @@ impl ICLRRuntimeHost_Vtbl { ExecuteInDefaultAppDomain: ExecuteInDefaultAppDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl ICLRRuntimeInfo_Vtbl { IsStarted: IsStarted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1270,8 +1270,8 @@ impl ICLRStrongName_Vtbl { StrongNameTokenFromPublicKey: StrongNameTokenFromPublicKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1307,8 +1307,8 @@ impl ICLRStrongName2_Vtbl { StrongNameSignatureVerificationEx2: StrongNameSignatureVerificationEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl ICLRStrongName3_Vtbl { StrongNameDigestEmbed: StrongNameDigestEmbed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1402,8 +1402,8 @@ impl ICLRSyncManager_Vtbl { DeleteRWLockOwnerIterator: DeleteRWLockOwnerIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl ICLRTask_Vtbl { SetTaskIdentifier: SetTaskIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1545,8 +1545,8 @@ impl ICLRTask2_Vtbl { EndPreventAsyncAbort: EndPreventAsyncAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1612,8 +1612,8 @@ impl ICLRTaskManager_Vtbl { GetCurrentTaskType: GetCurrentTaskType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1640,8 +1640,8 @@ impl ICatalogServices_Vtbl { NotAutodone: NotAutodone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1682,8 +1682,8 @@ impl ICorConfiguration_Vtbl { AddDebuggerSpecialThread: AddDebuggerSpecialThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1898,8 +1898,8 @@ impl ICorRuntimeHost_Vtbl { CurrentDomain: CurrentDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -2034,8 +2034,8 @@ impl ICorThreadpool_Vtbl { CorGetAvailableThreads: CorGetAvailableThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2061,8 +2061,8 @@ impl IDebuggerInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsDebuggerAttached: IsDebuggerAttached:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2096,8 +2096,8 @@ impl IDebuggerThreadControl_Vtbl { StartBlockingForDebugger: StartBlockingForDebugger::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2145,8 +2145,8 @@ impl IGCHost_Vtbl { SetVirtualMemLimit: SetVirtualMemLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IGCHost2_Vtbl { } Self { base__: IGCHost_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2181,8 +2181,8 @@ impl IGCHostControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestVirtualMemLimit: RequestVirtualMemLimit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2216,8 +2216,8 @@ impl IGCThreadControl_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IHostAssemblyManager_Vtbl { GetAssemblyStore: GetAssemblyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2287,8 +2287,8 @@ impl IHostAssemblyStore_Vtbl { ProvideModule: ProvideModule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IHostAutoEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Wait: Wait::, Set: Set:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl IHostControl_Vtbl { SetAppDomainManager: SetAppDomainManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2390,8 +2390,8 @@ impl IHostCrst_Vtbl { SetSpinCount: SetSpinCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IHostGCManager_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2549,8 +2549,8 @@ impl IHostIoCompletionManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2584,8 +2584,8 @@ impl IHostMalloc_Vtbl { Free: Free::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2619,8 +2619,8 @@ impl IHostManualEvent_Vtbl { Set: Set::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2715,8 +2715,8 @@ impl IHostMemoryManager_Vtbl { ReleasedVirtualAddressSpace: ReleasedVirtualAddressSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2750,8 +2750,8 @@ impl IHostPolicyManager_Vtbl { OnFailure: OnFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2774,8 +2774,8 @@ impl IHostSecurityContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Capture: Capture:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2845,8 +2845,8 @@ impl IHostSecurityManager_Vtbl { SetSecurityContext: SetSecurityContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2879,8 +2879,8 @@ impl IHostSemaphore_Vtbl { ReleaseSemaphore: ReleaseSemaphore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3007,8 +3007,8 @@ impl IHostSyncManager_Vtbl { CreateSemaphoreA: CreateSemaphoreA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3069,8 +3069,8 @@ impl IHostTask_Vtbl { SetCLRTask: SetCLRTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IHostTaskManager_Vtbl { SetCLRTaskManager: SetCLRTaskManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl IHostThreadpoolManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl IManagedObject_Vtbl { GetObjectIdentity: GetObjectIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3374,8 +3374,8 @@ impl IObjectHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unwrap: Unwrap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3461,8 +3461,8 @@ impl ITypeName_Vtbl { GetAssemblyName: GetAssemblyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3565,8 +3565,8 @@ impl ITypeNameBuilder_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3599,7 +3599,7 @@ impl ITypeNameFactory_Vtbl { GetTypeNameBuilder: GetTypeNameBuilder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs index c941215ce1..104a6ad45a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs @@ -245,6 +245,7 @@ where } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActionOnCLREvent(::windows_core::IUnknown); impl IActionOnCLREvent { pub unsafe fn OnEvent(&self, event: EClrEvent, data: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -252,25 +253,9 @@ impl IActionOnCLREvent { } } ::windows_core::imp::interface_hierarchy!(IActionOnCLREvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActionOnCLREvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActionOnCLREvent {} -impl ::core::fmt::Debug for IActionOnCLREvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActionOnCLREvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActionOnCLREvent { type Vtable = IActionOnCLREvent_Vtbl; } -impl ::core::clone::Clone for IActionOnCLREvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActionOnCLREvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x607be24b_d91b_4e28_a242_61871ce56e35); } @@ -282,6 +267,7 @@ pub struct IActionOnCLREvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApartmentCallback(::windows_core::IUnknown); impl IApartmentCallback { pub unsafe fn DoCallback(&self, pfunc: usize, pdata: usize) -> ::windows_core::Result<()> { @@ -289,25 +275,9 @@ impl IApartmentCallback { } } ::windows_core::imp::interface_hierarchy!(IApartmentCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApartmentCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApartmentCallback {} -impl ::core::fmt::Debug for IApartmentCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApartmentCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApartmentCallback { type Vtable = IApartmentCallback_Vtbl; } -impl ::core::clone::Clone for IApartmentCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApartmentCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x178e5337_1528_4591_b1c9_1c6e484686d8); } @@ -319,6 +289,7 @@ pub struct IApartmentCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDomainBinding(::windows_core::IUnknown); impl IAppDomainBinding { pub unsafe fn OnAppDomain(&self, pappdomain: P0) -> ::windows_core::Result<()> @@ -329,25 +300,9 @@ impl IAppDomainBinding { } } ::windows_core::imp::interface_hierarchy!(IAppDomainBinding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppDomainBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppDomainBinding {} -impl ::core::fmt::Debug for IAppDomainBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppDomainBinding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppDomainBinding { type Vtable = IAppDomainBinding_Vtbl; } -impl ::core::clone::Clone for IAppDomainBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppDomainBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c2b07a7_1e98_11d3_872f_00c04f79ed0d); } @@ -359,6 +314,7 @@ pub struct IAppDomainBinding_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRAppDomainResourceMonitor(::windows_core::IUnknown); impl ICLRAppDomainResourceMonitor { pub unsafe fn GetCurrentAllocated(&self, dwappdomainid: u32, pbytesallocated: *mut u64) -> ::windows_core::Result<()> { @@ -372,25 +328,9 @@ impl ICLRAppDomainResourceMonitor { } } ::windows_core::imp::interface_hierarchy!(ICLRAppDomainResourceMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRAppDomainResourceMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRAppDomainResourceMonitor {} -impl ::core::fmt::Debug for ICLRAppDomainResourceMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRAppDomainResourceMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRAppDomainResourceMonitor { type Vtable = ICLRAppDomainResourceMonitor_Vtbl; } -impl ::core::clone::Clone for ICLRAppDomainResourceMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRAppDomainResourceMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc62de18c_2e23_4aea_8423_b40c1fc59eae); } @@ -404,6 +344,7 @@ pub struct ICLRAppDomainResourceMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRAssemblyIdentityManager(::windows_core::IUnknown); impl ICLRAssemblyIdentityManager { pub unsafe fn GetCLRAssemblyReferenceList(&self, ppwzassemblyreferences: *const ::windows_core::PCWSTR, dwnumofreferences: u32) -> ::windows_core::Result { @@ -460,25 +401,9 @@ impl ICLRAssemblyIdentityManager { } } ::windows_core::imp::interface_hierarchy!(ICLRAssemblyIdentityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRAssemblyIdentityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRAssemblyIdentityManager {} -impl ::core::fmt::Debug for ICLRAssemblyIdentityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRAssemblyIdentityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRAssemblyIdentityManager { type Vtable = ICLRAssemblyIdentityManager_Vtbl; } -impl ::core::clone::Clone for ICLRAssemblyIdentityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRAssemblyIdentityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15f0a9da_3ff6_4393_9da9_fdfd284e6972); } @@ -505,6 +430,7 @@ pub struct ICLRAssemblyIdentityManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRAssemblyReferenceList(::windows_core::IUnknown); impl ICLRAssemblyReferenceList { pub unsafe fn IsStringAssemblyReferenceInList(&self, pwzassemblyname: P0) -> ::windows_core::Result<()> @@ -521,25 +447,9 @@ impl ICLRAssemblyReferenceList { } } ::windows_core::imp::interface_hierarchy!(ICLRAssemblyReferenceList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRAssemblyReferenceList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRAssemblyReferenceList {} -impl ::core::fmt::Debug for ICLRAssemblyReferenceList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRAssemblyReferenceList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRAssemblyReferenceList { type Vtable = ICLRAssemblyReferenceList_Vtbl; } -impl ::core::clone::Clone for ICLRAssemblyReferenceList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRAssemblyReferenceList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b2c9750_2e66_4bda_8b44_0a642c5cd733); } @@ -552,6 +462,7 @@ pub struct ICLRAssemblyReferenceList_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRControl(::windows_core::IUnknown); impl ICLRControl { pub unsafe fn GetCLRManager(&self, riid: *const ::windows_core::GUID, ppobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -566,25 +477,9 @@ impl ICLRControl { } } ::windows_core::imp::interface_hierarchy!(ICLRControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRControl {} -impl ::core::fmt::Debug for ICLRControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRControl { type Vtable = ICLRControl_Vtbl; } -impl ::core::clone::Clone for ICLRControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9065597e_d1a1_4fb2_b6ba_7e1fce230f61); } @@ -597,6 +492,7 @@ pub struct ICLRControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRDebugManager(::windows_core::IUnknown); impl ICLRDebugManager { pub unsafe fn BeginConnection(&self, dwconnectionid: u32, szconnectionname: P0) -> ::windows_core::Result<()> @@ -633,25 +529,9 @@ impl ICLRDebugManager { } } ::windows_core::imp::interface_hierarchy!(ICLRDebugManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRDebugManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRDebugManager {} -impl ::core::fmt::Debug for ICLRDebugManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRDebugManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRDebugManager { type Vtable = ICLRDebugManager_Vtbl; } -impl ::core::clone::Clone for ICLRDebugManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRDebugManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00dcaec6_2ac0_43a9_acf9_1e36c139b10d); } @@ -678,6 +558,7 @@ pub struct ICLRDebugManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRDebugging(::windows_core::IUnknown); impl ICLRDebugging { pub unsafe fn OpenVirtualProcess(&self, modulebaseaddress: u64, pdatatarget: P0, plibraryprovider: P1, pmaxdebuggersupportedversion: *const CLR_DEBUGGING_VERSION, riidprocess: *const ::windows_core::GUID, ppprocess: *mut ::core::option::Option<::windows_core::IUnknown>, pversion: *mut CLR_DEBUGGING_VERSION, pdwflags: *mut CLR_DEBUGGING_PROCESS_FLAGS) -> ::windows_core::Result<()> @@ -697,25 +578,9 @@ impl ICLRDebugging { } } ::windows_core::imp::interface_hierarchy!(ICLRDebugging, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRDebugging { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRDebugging {} -impl ::core::fmt::Debug for ICLRDebugging { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRDebugging").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRDebugging { type Vtable = ICLRDebugging_Vtbl; } -impl ::core::clone::Clone for ICLRDebugging { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRDebugging { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd28f3c5a_9634_4206_a509_477552eefb10); } @@ -731,6 +596,7 @@ pub struct ICLRDebugging_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRDebuggingLibraryProvider(::windows_core::IUnknown); impl ICLRDebuggingLibraryProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -744,25 +610,9 @@ impl ICLRDebuggingLibraryProvider { } } ::windows_core::imp::interface_hierarchy!(ICLRDebuggingLibraryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRDebuggingLibraryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRDebuggingLibraryProvider {} -impl ::core::fmt::Debug for ICLRDebuggingLibraryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRDebuggingLibraryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRDebuggingLibraryProvider { type Vtable = ICLRDebuggingLibraryProvider_Vtbl; } -impl ::core::clone::Clone for ICLRDebuggingLibraryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRDebuggingLibraryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3151c08d_4d09_4f9b_8838_2880bf18fe51); } @@ -777,6 +627,7 @@ pub struct ICLRDebuggingLibraryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRDomainManager(::windows_core::IUnknown); impl ICLRDomainManager { pub unsafe fn SetAppDomainManagerType(&self, wszappdomainmanagerassembly: P0, wszappdomainmanagertype: P1, dwinitializedomainflags: EInitializeNewDomainFlags) -> ::windows_core::Result<()> @@ -791,25 +642,9 @@ impl ICLRDomainManager { } } ::windows_core::imp::interface_hierarchy!(ICLRDomainManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRDomainManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRDomainManager {} -impl ::core::fmt::Debug for ICLRDomainManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRDomainManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRDomainManager { type Vtable = ICLRDomainManager_Vtbl; } -impl ::core::clone::Clone for ICLRDomainManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRDomainManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x270d00a2_8e15_4d0b_adeb_37bc3e47df77); } @@ -822,6 +657,7 @@ pub struct ICLRDomainManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRErrorReportingManager(::windows_core::IUnknown); impl ICLRErrorReportingManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -837,25 +673,9 @@ impl ICLRErrorReportingManager { } } ::windows_core::imp::interface_hierarchy!(ICLRErrorReportingManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRErrorReportingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRErrorReportingManager {} -impl ::core::fmt::Debug for ICLRErrorReportingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRErrorReportingManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRErrorReportingManager { type Vtable = ICLRErrorReportingManager_Vtbl; } -impl ::core::clone::Clone for ICLRErrorReportingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRErrorReportingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x980d2f1a_bf79_4c08_812a_bb9778928f78); } @@ -872,6 +692,7 @@ pub struct ICLRErrorReportingManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRGCManager(::windows_core::IUnknown); impl ICLRGCManager { pub unsafe fn Collect(&self, generation: i32) -> ::windows_core::Result<()> { @@ -885,25 +706,9 @@ impl ICLRGCManager { } } ::windows_core::imp::interface_hierarchy!(ICLRGCManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRGCManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRGCManager {} -impl ::core::fmt::Debug for ICLRGCManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRGCManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRGCManager { type Vtable = ICLRGCManager_Vtbl; } -impl ::core::clone::Clone for ICLRGCManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRGCManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54d9007e_a8e2_4885_b7bf_f998deee4f2a); } @@ -917,6 +722,7 @@ pub struct ICLRGCManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRGCManager2(::windows_core::IUnknown); impl ICLRGCManager2 { pub unsafe fn Collect(&self, generation: i32) -> ::windows_core::Result<()> { @@ -933,25 +739,9 @@ impl ICLRGCManager2 { } } ::windows_core::imp::interface_hierarchy!(ICLRGCManager2, ::windows_core::IUnknown, ICLRGCManager); -impl ::core::cmp::PartialEq for ICLRGCManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRGCManager2 {} -impl ::core::fmt::Debug for ICLRGCManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRGCManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRGCManager2 { type Vtable = ICLRGCManager2_Vtbl; } -impl ::core::clone::Clone for ICLRGCManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRGCManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0603b793_a97a_4712_9cb4_0cd1c74c0f7c); } @@ -963,6 +753,7 @@ pub struct ICLRGCManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRHostBindingPolicyManager(::windows_core::IUnknown); impl ICLRHostBindingPolicyManager { pub unsafe fn ModifyApplicationPolicy(&self, pwzsourceassemblyidentity: P0, pwztargetassemblyidentity: P1, pbapplicationpolicy: *const u8, cbapppolicysize: u32, dwpolicymodifyflags: u32, pbnewapplicationpolicy: *mut u8, pcbnewapppolicysize: *mut u32) -> ::windows_core::Result<()> @@ -980,25 +771,9 @@ impl ICLRHostBindingPolicyManager { } } ::windows_core::imp::interface_hierarchy!(ICLRHostBindingPolicyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRHostBindingPolicyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRHostBindingPolicyManager {} -impl ::core::fmt::Debug for ICLRHostBindingPolicyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRHostBindingPolicyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRHostBindingPolicyManager { type Vtable = ICLRHostBindingPolicyManager_Vtbl; } -impl ::core::clone::Clone for ICLRHostBindingPolicyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRHostBindingPolicyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b3545e7_1856_48c9_a8ba_24b21a753c09); } @@ -1011,6 +786,7 @@ pub struct ICLRHostBindingPolicyManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRHostProtectionManager(::windows_core::IUnknown); impl ICLRHostProtectionManager { pub unsafe fn SetProtectedCategories(&self, categories: EApiCategories) -> ::windows_core::Result<()> { @@ -1021,25 +797,9 @@ impl ICLRHostProtectionManager { } } ::windows_core::imp::interface_hierarchy!(ICLRHostProtectionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRHostProtectionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRHostProtectionManager {} -impl ::core::fmt::Debug for ICLRHostProtectionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRHostProtectionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRHostProtectionManager { type Vtable = ICLRHostProtectionManager_Vtbl; } -impl ::core::clone::Clone for ICLRHostProtectionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRHostProtectionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89f25f5c_ceef_43e1_9cfa_a68ce863aaac); } @@ -1052,6 +812,7 @@ pub struct ICLRHostProtectionManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRIoCompletionManager(::windows_core::IUnknown); impl ICLRIoCompletionManager { pub unsafe fn OnComplete(&self, dwerrorcode: u32, numberofbytestransferred: u32, pvoverlapped: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1059,25 +820,9 @@ impl ICLRIoCompletionManager { } } ::windows_core::imp::interface_hierarchy!(ICLRIoCompletionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRIoCompletionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRIoCompletionManager {} -impl ::core::fmt::Debug for ICLRIoCompletionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRIoCompletionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRIoCompletionManager { type Vtable = ICLRIoCompletionManager_Vtbl; } -impl ::core::clone::Clone for ICLRIoCompletionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRIoCompletionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d74ce86_b8d6_4c84_b3a7_9768933b3c12); } @@ -1089,6 +834,7 @@ pub struct ICLRIoCompletionManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRMemoryNotificationCallback(::windows_core::IUnknown); impl ICLRMemoryNotificationCallback { pub unsafe fn OnMemoryNotification(&self, ememoryavailable: EMemoryAvailable) -> ::windows_core::Result<()> { @@ -1096,25 +842,9 @@ impl ICLRMemoryNotificationCallback { } } ::windows_core::imp::interface_hierarchy!(ICLRMemoryNotificationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRMemoryNotificationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRMemoryNotificationCallback {} -impl ::core::fmt::Debug for ICLRMemoryNotificationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRMemoryNotificationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRMemoryNotificationCallback { type Vtable = ICLRMemoryNotificationCallback_Vtbl; } -impl ::core::clone::Clone for ICLRMemoryNotificationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRMemoryNotificationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47eb8e57_0846_4546_af76_6f42fcfc2649); } @@ -1126,6 +856,7 @@ pub struct ICLRMemoryNotificationCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRMetaHost(::windows_core::IUnknown); impl ICLRMetaHost { pub unsafe fn GetRuntime(&self, pwzversion: P0) -> ::windows_core::Result @@ -1172,25 +903,9 @@ impl ICLRMetaHost { } } ::windows_core::imp::interface_hierarchy!(ICLRMetaHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRMetaHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRMetaHost {} -impl ::core::fmt::Debug for ICLRMetaHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRMetaHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRMetaHost { type Vtable = ICLRMetaHost_Vtbl; } -impl ::core::clone::Clone for ICLRMetaHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRMetaHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd332db9e_b9b3_4125_8207_a14884f53216); } @@ -1214,6 +929,7 @@ pub struct ICLRMetaHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRMetaHostPolicy(::windows_core::IUnknown); impl ICLRMetaHostPolicy { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1229,25 +945,9 @@ impl ICLRMetaHostPolicy { } } ::windows_core::imp::interface_hierarchy!(ICLRMetaHostPolicy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRMetaHostPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRMetaHostPolicy {} -impl ::core::fmt::Debug for ICLRMetaHostPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRMetaHostPolicy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRMetaHostPolicy { type Vtable = ICLRMetaHostPolicy_Vtbl; } -impl ::core::clone::Clone for ICLRMetaHostPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRMetaHostPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2190695_77b2_492e_8e14_c4b3a7fdd593); } @@ -1262,6 +962,7 @@ pub struct ICLRMetaHostPolicy_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLROnEventManager(::windows_core::IUnknown); impl ICLROnEventManager { pub unsafe fn RegisterActionOnEvent(&self, event: EClrEvent, paction: P0) -> ::windows_core::Result<()> @@ -1278,25 +979,9 @@ impl ICLROnEventManager { } } ::windows_core::imp::interface_hierarchy!(ICLROnEventManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLROnEventManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLROnEventManager {} -impl ::core::fmt::Debug for ICLROnEventManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLROnEventManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLROnEventManager { type Vtable = ICLROnEventManager_Vtbl; } -impl ::core::clone::Clone for ICLROnEventManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLROnEventManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d0e0132_e64f_493d_9260_025c0e32c175); } @@ -1309,6 +994,7 @@ pub struct ICLROnEventManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRPolicyManager(::windows_core::IUnknown); impl ICLRPolicyManager { pub unsafe fn SetDefaultAction(&self, operation: EClrOperation, action: EPolicyAction) -> ::windows_core::Result<()> { @@ -1331,25 +1017,9 @@ impl ICLRPolicyManager { } } ::windows_core::imp::interface_hierarchy!(ICLRPolicyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRPolicyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRPolicyManager {} -impl ::core::fmt::Debug for ICLRPolicyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRPolicyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRPolicyManager { type Vtable = ICLRPolicyManager_Vtbl; } -impl ::core::clone::Clone for ICLRPolicyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRPolicyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d290010_d781_45da_a6f8_aa5d711a730e); } @@ -1366,6 +1036,7 @@ pub struct ICLRPolicyManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRProbingAssemblyEnum(::windows_core::IUnknown); impl ICLRProbingAssemblyEnum { pub unsafe fn Get(&self, dwindex: u32, pwzbuffer: ::windows_core::PWSTR, pcchbuffersize: *mut u32) -> ::windows_core::Result<()> { @@ -1373,25 +1044,9 @@ impl ICLRProbingAssemblyEnum { } } ::windows_core::imp::interface_hierarchy!(ICLRProbingAssemblyEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRProbingAssemblyEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRProbingAssemblyEnum {} -impl ::core::fmt::Debug for ICLRProbingAssemblyEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRProbingAssemblyEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRProbingAssemblyEnum { type Vtable = ICLRProbingAssemblyEnum_Vtbl; } -impl ::core::clone::Clone for ICLRProbingAssemblyEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRProbingAssemblyEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0c5fb1f_416b_4f97_81f4_7ac7dc24dd5d); } @@ -1403,6 +1058,7 @@ pub struct ICLRProbingAssemblyEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRProfiling(::windows_core::IUnknown); impl ICLRProfiling { pub unsafe fn AttachProfiler(&self, dwprofileeprocessid: u32, dwmillisecondsmax: u32, pclsidprofiler: *const ::windows_core::GUID, wszprofilerpath: P0, pvclientdata: &[u8]) -> ::windows_core::Result<()> @@ -1413,25 +1069,9 @@ impl ICLRProfiling { } } ::windows_core::imp::interface_hierarchy!(ICLRProfiling, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRProfiling { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRProfiling {} -impl ::core::fmt::Debug for ICLRProfiling { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRProfiling").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRProfiling { type Vtable = ICLRProfiling_Vtbl; } -impl ::core::clone::Clone for ICLRProfiling { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRProfiling { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb349abe3_b56f_4689_bfcd_76bf39d888ea); } @@ -1443,6 +1083,7 @@ pub struct ICLRProfiling_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRReferenceAssemblyEnum(::windows_core::IUnknown); impl ICLRReferenceAssemblyEnum { pub unsafe fn Get(&self, dwindex: u32, pwzbuffer: ::windows_core::PWSTR, pcchbuffersize: *mut u32) -> ::windows_core::Result<()> { @@ -1450,25 +1091,9 @@ impl ICLRReferenceAssemblyEnum { } } ::windows_core::imp::interface_hierarchy!(ICLRReferenceAssemblyEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRReferenceAssemblyEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRReferenceAssemblyEnum {} -impl ::core::fmt::Debug for ICLRReferenceAssemblyEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRReferenceAssemblyEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRReferenceAssemblyEnum { type Vtable = ICLRReferenceAssemblyEnum_Vtbl; } -impl ::core::clone::Clone for ICLRReferenceAssemblyEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRReferenceAssemblyEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd509cb5d_cf32_4876_ae61_67770cf91973); } @@ -1480,6 +1105,7 @@ pub struct ICLRReferenceAssemblyEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRRuntimeHost(::windows_core::IUnknown); impl ICLRRuntimeHost { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -1532,25 +1158,9 @@ impl ICLRRuntimeHost { } } ::windows_core::imp::interface_hierarchy!(ICLRRuntimeHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRRuntimeHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRRuntimeHost {} -impl ::core::fmt::Debug for ICLRRuntimeHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRRuntimeHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRRuntimeHost { type Vtable = ICLRRuntimeHost_Vtbl; } -impl ::core::clone::Clone for ICLRRuntimeHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRRuntimeHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90f1a06c_7712_4762_86b5_7a5eba6bdb02); } @@ -1573,6 +1183,7 @@ pub struct ICLRRuntimeHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRRuntimeInfo(::windows_core::IUnknown); impl ICLRRuntimeInfo { pub unsafe fn GetVersionString(&self, pwzbuffer: ::windows_core::PWSTR, pcchbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -1641,25 +1252,9 @@ impl ICLRRuntimeInfo { } } ::windows_core::imp::interface_hierarchy!(ICLRRuntimeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRRuntimeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRRuntimeInfo {} -impl ::core::fmt::Debug for ICLRRuntimeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRRuntimeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRRuntimeInfo { type Vtable = ICLRRuntimeInfo_Vtbl; } -impl ::core::clone::Clone for ICLRRuntimeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRRuntimeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd39d1d2_ba2f_486a_89b0_b4b0cb466891); } @@ -1694,6 +1289,7 @@ pub struct ICLRRuntimeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRStrongName(::windows_core::IUnknown); impl ICLRStrongName { pub unsafe fn GetHashFromAssemblyFile(&self, pszfilepath: P0, pihashalg: *mut u32, pbhash: &mut [u8], pchhash: *mut u32) -> ::windows_core::Result<()> @@ -1840,25 +1436,9 @@ impl ICLRStrongName { } } ::windows_core::imp::interface_hierarchy!(ICLRStrongName, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRStrongName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRStrongName {} -impl ::core::fmt::Debug for ICLRStrongName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRStrongName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRStrongName { type Vtable = ICLRStrongName_Vtbl; } -impl ::core::clone::Clone for ICLRStrongName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRStrongName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fd93ccf_3280_4391_b3a9_96e1cde77c8d); } @@ -1900,6 +1480,7 @@ pub struct ICLRStrongName_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRStrongName2(::windows_core::IUnknown); impl ICLRStrongName2 { pub unsafe fn StrongNameGetPublicKeyEx(&self, pwzkeycontainer: P0, pbkeyblob: *const u8, cbkeyblob: u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, uhashalgid: u32, ureserved: u32) -> ::windows_core::Result<()> @@ -1920,24 +1501,8 @@ impl ICLRStrongName2 { } } ::windows_core::imp::interface_hierarchy!(ICLRStrongName2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRStrongName2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRStrongName2 {} -impl ::core::fmt::Debug for ICLRStrongName2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRStrongName2").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ICLRStrongName2 { - type Vtable = ICLRStrongName2_Vtbl; -} -impl ::core::clone::Clone for ICLRStrongName2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ICLRStrongName2 { + type Vtable = ICLRStrongName2_Vtbl; } unsafe impl ::windows_core::ComInterface for ICLRStrongName2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc22ed5c5_4b59_4975_90eb_85ea55c0069b); @@ -1954,6 +1519,7 @@ pub struct ICLRStrongName2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRStrongName3(::windows_core::IUnknown); impl ICLRStrongName3 { pub unsafe fn StrongNameDigestGenerate(&self, wszfilepath: P0, ppbdigestblob: *mut *mut u8, pcbdigestblob: *mut u32, dwflags: u32) -> ::windows_core::Result<()> @@ -1976,25 +1542,9 @@ impl ICLRStrongName3 { } } ::windows_core::imp::interface_hierarchy!(ICLRStrongName3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRStrongName3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRStrongName3 {} -impl ::core::fmt::Debug for ICLRStrongName3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRStrongName3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRStrongName3 { type Vtable = ICLRStrongName3_Vtbl; } -impl ::core::clone::Clone for ICLRStrongName3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRStrongName3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22c7089b_bbd3_414a_b698_210f263f1fed); } @@ -2008,6 +1558,7 @@ pub struct ICLRStrongName3_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRSyncManager(::windows_core::IUnknown); impl ICLRSyncManager { pub unsafe fn GetMonitorOwner(&self, cookie: usize) -> ::windows_core::Result { @@ -2027,25 +1578,9 @@ impl ICLRSyncManager { } } ::windows_core::imp::interface_hierarchy!(ICLRSyncManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRSyncManager {} -impl ::core::fmt::Debug for ICLRSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRSyncManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRSyncManager { type Vtable = ICLRSyncManager_Vtbl; } -impl ::core::clone::Clone for ICLRSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55ff199d_ad21_48f9_a16c_f24ebbb8727d); } @@ -2060,6 +1595,7 @@ pub struct ICLRSyncManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRTask(::windows_core::IUnknown); impl ICLRTask { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2112,25 +1648,9 @@ impl ICLRTask { } } ::windows_core::imp::interface_hierarchy!(ICLRTask, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRTask {} -impl ::core::fmt::Debug for ICLRTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRTask").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRTask { type Vtable = ICLRTask_Vtbl; } -impl ::core::clone::Clone for ICLRTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28e66a4a_9906_4225_b231_9187c3eb8611); } @@ -2161,6 +1681,7 @@ pub struct ICLRTask_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRTask2(::windows_core::IUnknown); impl ICLRTask2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2219,25 +1740,9 @@ impl ICLRTask2 { } } ::windows_core::imp::interface_hierarchy!(ICLRTask2, ::windows_core::IUnknown, ICLRTask); -impl ::core::cmp::PartialEq for ICLRTask2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRTask2 {} -impl ::core::fmt::Debug for ICLRTask2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRTask2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRTask2 { type Vtable = ICLRTask2_Vtbl; } -impl ::core::clone::Clone for ICLRTask2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRTask2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28e66a4a_9906_4225_b231_9187c3eb8612); } @@ -2250,6 +1755,7 @@ pub struct ICLRTask2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICLRTaskManager(::windows_core::IUnknown); impl ICLRTaskManager { pub unsafe fn CreateTask(&self) -> ::windows_core::Result { @@ -2272,25 +1778,9 @@ impl ICLRTaskManager { } } ::windows_core::imp::interface_hierarchy!(ICLRTaskManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICLRTaskManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICLRTaskManager {} -impl ::core::fmt::Debug for ICLRTaskManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICLRTaskManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICLRTaskManager { type Vtable = ICLRTaskManager_Vtbl; } -impl ::core::clone::Clone for ICLRTaskManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICLRTaskManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4862efbe_3ae5_44f8_8feb_346190ee8a34); } @@ -2306,6 +1796,7 @@ pub struct ICLRTaskManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatalogServices(::windows_core::IUnknown); impl ICatalogServices { pub unsafe fn Autodone(&self) -> ::windows_core::Result<()> { @@ -2316,25 +1807,9 @@ impl ICatalogServices { } } ::windows_core::imp::interface_hierarchy!(ICatalogServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICatalogServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICatalogServices {} -impl ::core::fmt::Debug for ICatalogServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatalogServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICatalogServices { type Vtable = ICatalogServices_Vtbl; } -impl ::core::clone::Clone for ICatalogServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICatalogServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04c6be1e_1db1_4058_ab7a_700cccfbf254); } @@ -2347,6 +1822,7 @@ pub struct ICatalogServices_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorConfiguration(::windows_core::IUnknown); impl ICorConfiguration { pub unsafe fn SetGCThreadControl(&self, pgcthreadcontrol: P0) -> ::windows_core::Result<()> @@ -2372,25 +1848,9 @@ impl ICorConfiguration { } } ::windows_core::imp::interface_hierarchy!(ICorConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorConfiguration {} -impl ::core::fmt::Debug for ICorConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorConfiguration { type Vtable = ICorConfiguration_Vtbl; } -impl ::core::clone::Clone for ICorConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c2b07a5_1e98_11d3_872f_00c04f79ed0d); } @@ -2405,6 +1865,7 @@ pub struct ICorConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorRuntimeHost(::windows_core::IUnknown); impl ICorRuntimeHost { pub unsafe fn CreateLogicalThreadState(&self) -> ::windows_core::Result<()> { @@ -2494,25 +1955,9 @@ impl ICorRuntimeHost { } } ::windows_core::imp::interface_hierarchy!(ICorRuntimeHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorRuntimeHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorRuntimeHost {} -impl ::core::fmt::Debug for ICorRuntimeHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorRuntimeHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorRuntimeHost { type Vtable = ICorRuntimeHost_Vtbl; } -impl ::core::clone::Clone for ICorRuntimeHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorRuntimeHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb2f6722_ab3a_11d2_9c40_00c04fa30a3e); } @@ -2545,6 +1990,7 @@ pub struct ICorRuntimeHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorThreadpool(::windows_core::IUnknown); impl ICorThreadpool { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] @@ -2626,25 +2072,9 @@ impl ICorThreadpool { } } ::windows_core::imp::interface_hierarchy!(ICorThreadpool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorThreadpool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorThreadpool {} -impl ::core::fmt::Debug for ICorThreadpool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorThreadpool").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorThreadpool { type Vtable = ICorThreadpool_Vtbl; } -impl ::core::clone::Clone for ICorThreadpool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorThreadpool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84680d3a_b2c1_46e8_acc2_dbc0a359159a); } @@ -2690,6 +2120,7 @@ pub struct ICorThreadpool_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebuggerInfo(::windows_core::IUnknown); impl IDebuggerInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2700,25 +2131,9 @@ impl IDebuggerInfo { } } ::windows_core::imp::interface_hierarchy!(IDebuggerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebuggerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebuggerInfo {} -impl ::core::fmt::Debug for IDebuggerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebuggerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebuggerInfo { type Vtable = IDebuggerInfo_Vtbl; } -impl ::core::clone::Clone for IDebuggerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebuggerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf24142d_a47d_4d24_a66d_8c2141944e44); } @@ -2733,6 +2148,7 @@ pub struct IDebuggerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebuggerThreadControl(::windows_core::IUnknown); impl IDebuggerThreadControl { pub unsafe fn ThreadIsBlockingForDebugger(&self) -> ::windows_core::Result<()> { @@ -2746,25 +2162,9 @@ impl IDebuggerThreadControl { } } ::windows_core::imp::interface_hierarchy!(IDebuggerThreadControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebuggerThreadControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebuggerThreadControl {} -impl ::core::fmt::Debug for IDebuggerThreadControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebuggerThreadControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebuggerThreadControl { type Vtable = IDebuggerThreadControl_Vtbl; } -impl ::core::clone::Clone for IDebuggerThreadControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebuggerThreadControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23d86786_0bb5_4774_8fb5_e3522add6246); } @@ -2778,6 +2178,7 @@ pub struct IDebuggerThreadControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGCHost(::windows_core::IUnknown); impl IGCHost { pub unsafe fn SetGCStartupLimits(&self, segmentsize: u32, maxgen0size: u32) -> ::windows_core::Result<()> { @@ -2797,25 +2198,9 @@ impl IGCHost { } } ::windows_core::imp::interface_hierarchy!(IGCHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGCHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGCHost {} -impl ::core::fmt::Debug for IGCHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGCHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGCHost { type Vtable = IGCHost_Vtbl; } -impl ::core::clone::Clone for IGCHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGCHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfac34f6e_0dcd_47b5_8021_531bc5ecca63); } @@ -2831,6 +2216,7 @@ pub struct IGCHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGCHost2(::windows_core::IUnknown); impl IGCHost2 { pub unsafe fn SetGCStartupLimits(&self, segmentsize: u32, maxgen0size: u32) -> ::windows_core::Result<()> { @@ -2853,25 +2239,9 @@ impl IGCHost2 { } } ::windows_core::imp::interface_hierarchy!(IGCHost2, ::windows_core::IUnknown, IGCHost); -impl ::core::cmp::PartialEq for IGCHost2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGCHost2 {} -impl ::core::fmt::Debug for IGCHost2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGCHost2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGCHost2 { type Vtable = IGCHost2_Vtbl; } -impl ::core::clone::Clone for IGCHost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGCHost2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1d70cec_2dbe_4e2f_9291_fdf81438a1df); } @@ -2883,6 +2253,7 @@ pub struct IGCHost2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGCHostControl(::windows_core::IUnknown); impl IGCHostControl { pub unsafe fn RequestVirtualMemLimit(&self, sztmaxvirtualmemmb: usize, psztnewmaxvirtualmemmb: *mut usize) -> ::windows_core::Result<()> { @@ -2890,25 +2261,9 @@ impl IGCHostControl { } } ::windows_core::imp::interface_hierarchy!(IGCHostControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGCHostControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGCHostControl {} -impl ::core::fmt::Debug for IGCHostControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGCHostControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGCHostControl { type Vtable = IGCHostControl_Vtbl; } -impl ::core::clone::Clone for IGCHostControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGCHostControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5513d564_8374_4cb9_aed9_0083f4160a1d); } @@ -2920,6 +2275,7 @@ pub struct IGCHostControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGCThreadControl(::windows_core::IUnknown); impl IGCThreadControl { pub unsafe fn ThreadIsBlockingForSuspension(&self) -> ::windows_core::Result<()> { @@ -2933,25 +2289,9 @@ impl IGCThreadControl { } } ::windows_core::imp::interface_hierarchy!(IGCThreadControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGCThreadControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGCThreadControl {} -impl ::core::fmt::Debug for IGCThreadControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGCThreadControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGCThreadControl { type Vtable = IGCThreadControl_Vtbl; } -impl ::core::clone::Clone for IGCThreadControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGCThreadControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf31d1788_c397_4725_87a5_6af3472c2791); } @@ -2965,6 +2305,7 @@ pub struct IGCThreadControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostAssemblyManager(::windows_core::IUnknown); impl IHostAssemblyManager { pub unsafe fn GetNonHostStoreAssemblies(&self) -> ::windows_core::Result { @@ -2977,25 +2318,9 @@ impl IHostAssemblyManager { } } ::windows_core::imp::interface_hierarchy!(IHostAssemblyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostAssemblyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostAssemblyManager {} -impl ::core::fmt::Debug for IHostAssemblyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostAssemblyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostAssemblyManager { type Vtable = IHostAssemblyManager_Vtbl; } -impl ::core::clone::Clone for IHostAssemblyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostAssemblyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x613dabd7_62b2_493e_9e65_c1e32a1e0c5e); } @@ -3008,6 +2333,7 @@ pub struct IHostAssemblyManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostAssemblyStore(::windows_core::IUnknown); impl IHostAssemblyStore { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3022,25 +2348,9 @@ impl IHostAssemblyStore { } } ::windows_core::imp::interface_hierarchy!(IHostAssemblyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostAssemblyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostAssemblyStore {} -impl ::core::fmt::Debug for IHostAssemblyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostAssemblyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostAssemblyStore { type Vtable = IHostAssemblyStore_Vtbl; } -impl ::core::clone::Clone for IHostAssemblyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostAssemblyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b102a88_3f7f_496d_8fa2_c35374e01af3); } @@ -3059,6 +2369,7 @@ pub struct IHostAssemblyStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostAutoEvent(::windows_core::IUnknown); impl IHostAutoEvent { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> ::windows_core::Result<()> { @@ -3069,25 +2380,9 @@ impl IHostAutoEvent { } } ::windows_core::imp::interface_hierarchy!(IHostAutoEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostAutoEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostAutoEvent {} -impl ::core::fmt::Debug for IHostAutoEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostAutoEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostAutoEvent { type Vtable = IHostAutoEvent_Vtbl; } -impl ::core::clone::Clone for IHostAutoEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostAutoEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50b0cfce_4063_4278_9673_e5cb4ed0bdb8); } @@ -3100,6 +2395,7 @@ pub struct IHostAutoEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostControl(::windows_core::IUnknown); impl IHostControl { pub unsafe fn GetHostManager(&self, riid: *const ::windows_core::GUID, ppobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3113,25 +2409,9 @@ impl IHostControl { } } ::windows_core::imp::interface_hierarchy!(IHostControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostControl {} -impl ::core::fmt::Debug for IHostControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostControl { type Vtable = IHostControl_Vtbl; } -impl ::core::clone::Clone for IHostControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02ca073c_7079_4860_880a_c2f7a449c991); } @@ -3144,6 +2424,7 @@ pub struct IHostControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostCrst(::windows_core::IUnknown); impl IHostCrst { pub unsafe fn Enter(&self, option: u32) -> ::windows_core::Result<()> { @@ -3163,25 +2444,9 @@ impl IHostCrst { } } ::windows_core::imp::interface_hierarchy!(IHostCrst, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostCrst { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostCrst {} -impl ::core::fmt::Debug for IHostCrst { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostCrst").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostCrst { type Vtable = IHostCrst_Vtbl; } -impl ::core::clone::Clone for IHostCrst { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostCrst { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6df710a6_26a4_4a65_8cd5_7237b8bda8dc); } @@ -3199,6 +2464,7 @@ pub struct IHostCrst_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostGCManager(::windows_core::IUnknown); impl IHostGCManager { pub unsafe fn ThreadIsBlockingForSuspension(&self) -> ::windows_core::Result<()> { @@ -3212,25 +2478,9 @@ impl IHostGCManager { } } ::windows_core::imp::interface_hierarchy!(IHostGCManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostGCManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostGCManager {} -impl ::core::fmt::Debug for IHostGCManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostGCManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostGCManager { type Vtable = IHostGCManager_Vtbl; } -impl ::core::clone::Clone for IHostGCManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostGCManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d4ec34e_f248_457b_b603_255faaba0d21); } @@ -3244,6 +2494,7 @@ pub struct IHostGCManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostIoCompletionManager(::windows_core::IUnknown); impl IHostIoCompletionManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3302,25 +2553,9 @@ impl IHostIoCompletionManager { } } ::windows_core::imp::interface_hierarchy!(IHostIoCompletionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostIoCompletionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostIoCompletionManager {} -impl ::core::fmt::Debug for IHostIoCompletionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostIoCompletionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostIoCompletionManager { type Vtable = IHostIoCompletionManager_Vtbl; } -impl ::core::clone::Clone for IHostIoCompletionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostIoCompletionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bde9d80_ec06_41d6_83e6_22580effcc20); } @@ -3351,6 +2586,7 @@ pub struct IHostIoCompletionManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostMalloc(::windows_core::IUnknown); impl IHostMalloc { pub unsafe fn Alloc(&self, cbsize: usize, ecriticallevel: EMemoryCriticalLevel, ppmem: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3364,25 +2600,9 @@ impl IHostMalloc { } } ::windows_core::imp::interface_hierarchy!(IHostMalloc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostMalloc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostMalloc {} -impl ::core::fmt::Debug for IHostMalloc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostMalloc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostMalloc { type Vtable = IHostMalloc_Vtbl; } -impl ::core::clone::Clone for IHostMalloc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostMalloc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1831991c_cc53_4a31_b218_04e910446479); } @@ -3396,6 +2616,7 @@ pub struct IHostMalloc_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostManualEvent(::windows_core::IUnknown); impl IHostManualEvent { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> ::windows_core::Result<()> { @@ -3409,25 +2630,9 @@ impl IHostManualEvent { } } ::windows_core::imp::interface_hierarchy!(IHostManualEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostManualEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostManualEvent {} -impl ::core::fmt::Debug for IHostManualEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostManualEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostManualEvent { type Vtable = IHostManualEvent_Vtbl; } -impl ::core::clone::Clone for IHostManualEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostManualEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bf4ec38_affe_4fb9_85a6_525268f15b54); } @@ -3441,6 +2646,7 @@ pub struct IHostManualEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostMemoryManager(::windows_core::IUnknown); impl IHostMemoryManager { pub unsafe fn CreateMalloc(&self, dwmalloctype: u32) -> ::windows_core::Result { @@ -3480,25 +2686,9 @@ impl IHostMemoryManager { } } ::windows_core::imp::interface_hierarchy!(IHostMemoryManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostMemoryManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostMemoryManager {} -impl ::core::fmt::Debug for IHostMemoryManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostMemoryManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostMemoryManager { type Vtable = IHostMemoryManager_Vtbl; } -impl ::core::clone::Clone for IHostMemoryManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostMemoryManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bc698d1_f9e3_4460_9cde_d04248e9fa25); } @@ -3519,6 +2709,7 @@ pub struct IHostMemoryManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostPolicyManager(::windows_core::IUnknown); impl IHostPolicyManager { pub unsafe fn OnDefaultAction(&self, operation: EClrOperation, action: EPolicyAction) -> ::windows_core::Result<()> { @@ -3532,25 +2723,9 @@ impl IHostPolicyManager { } } ::windows_core::imp::interface_hierarchy!(IHostPolicyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostPolicyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostPolicyManager {} -impl ::core::fmt::Debug for IHostPolicyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostPolicyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostPolicyManager { type Vtable = IHostPolicyManager_Vtbl; } -impl ::core::clone::Clone for IHostPolicyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostPolicyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ae49844_b1e3_4683_ba7c_1e8212ea3b79); } @@ -3564,6 +2739,7 @@ pub struct IHostPolicyManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostSecurityContext(::windows_core::IUnknown); impl IHostSecurityContext { pub unsafe fn Capture(&self) -> ::windows_core::Result { @@ -3572,25 +2748,9 @@ impl IHostSecurityContext { } } ::windows_core::imp::interface_hierarchy!(IHostSecurityContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostSecurityContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostSecurityContext {} -impl ::core::fmt::Debug for IHostSecurityContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostSecurityContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostSecurityContext { type Vtable = IHostSecurityContext_Vtbl; } -impl ::core::clone::Clone for IHostSecurityContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostSecurityContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e573ce4_0343_4423_98d7_6318348a1d3c); } @@ -3602,6 +2762,7 @@ pub struct IHostSecurityContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostSecurityManager(::windows_core::IUnknown); impl IHostSecurityManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3644,25 +2805,9 @@ impl IHostSecurityManager { } } ::windows_core::imp::interface_hierarchy!(IHostSecurityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostSecurityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostSecurityManager {} -impl ::core::fmt::Debug for IHostSecurityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostSecurityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostSecurityManager { type Vtable = IHostSecurityManager_Vtbl; } -impl ::core::clone::Clone for IHostSecurityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostSecurityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75ad2468_a349_4d02_a764_76a68aee0c4f); } @@ -3688,6 +2833,7 @@ pub struct IHostSecurityManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostSemaphore(::windows_core::IUnknown); impl IHostSemaphore { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> ::windows_core::Result<()> { @@ -3699,25 +2845,9 @@ impl IHostSemaphore { } } ::windows_core::imp::interface_hierarchy!(IHostSemaphore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostSemaphore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostSemaphore {} -impl ::core::fmt::Debug for IHostSemaphore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostSemaphore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostSemaphore { type Vtable = IHostSemaphore_Vtbl; } -impl ::core::clone::Clone for IHostSemaphore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostSemaphore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x855efd47_cc09_463a_a97d_16acab882661); } @@ -3730,6 +2860,7 @@ pub struct IHostSemaphore_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostSyncManager(::windows_core::IUnknown); impl IHostSyncManager { pub unsafe fn SetCLRSyncManager(&self, pmanager: P0) -> ::windows_core::Result<()> @@ -3782,25 +2913,9 @@ impl IHostSyncManager { } } ::windows_core::imp::interface_hierarchy!(IHostSyncManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostSyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostSyncManager {} -impl ::core::fmt::Debug for IHostSyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostSyncManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostSyncManager { type Vtable = IHostSyncManager_Vtbl; } -impl ::core::clone::Clone for IHostSyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostSyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x234330c7_5f10_4f20_9615_5122dab7a0ac); } @@ -3826,6 +2941,7 @@ pub struct IHostSyncManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostTask(::windows_core::IUnknown); impl IHostTask { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -3852,25 +2968,9 @@ impl IHostTask { } } ::windows_core::imp::interface_hierarchy!(IHostTask, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostTask {} -impl ::core::fmt::Debug for IHostTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostTask").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostTask { type Vtable = IHostTask_Vtbl; } -impl ::core::clone::Clone for IHostTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2275828_c4b1_4b55_82c9_92135f74df1a); } @@ -3887,6 +2987,7 @@ pub struct IHostTask_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostTaskManager(::windows_core::IUnknown); impl IHostTaskManager { pub unsafe fn GetCurrentTask(&self) -> ::windows_core::Result { @@ -3956,25 +3057,9 @@ impl IHostTaskManager { } } ::windows_core::imp::interface_hierarchy!(IHostTaskManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostTaskManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostTaskManager {} -impl ::core::fmt::Debug for IHostTaskManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostTaskManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostTaskManager { type Vtable = IHostTaskManager_Vtbl; } -impl ::core::clone::Clone for IHostTaskManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostTaskManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x997ff24c_43b7_4352_8667_0dc04fafd354); } @@ -4009,6 +3094,7 @@ pub struct IHostTaskManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostThreadpoolManager(::windows_core::IUnknown); impl IHostThreadpoolManager { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] @@ -4036,25 +3122,9 @@ impl IHostThreadpoolManager { } } ::windows_core::imp::interface_hierarchy!(IHostThreadpoolManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostThreadpoolManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostThreadpoolManager {} -impl ::core::fmt::Debug for IHostThreadpoolManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostThreadpoolManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostThreadpoolManager { type Vtable = IHostThreadpoolManager_Vtbl; } -impl ::core::clone::Clone for IHostThreadpoolManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostThreadpoolManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x983d50e2_cb15_466b_80fc_845dc6e8c5fd); } @@ -4074,6 +3144,7 @@ pub struct IHostThreadpoolManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManagedObject(::windows_core::IUnknown); impl IManagedObject { pub unsafe fn GetSerializedBuffer(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4085,25 +3156,9 @@ impl IManagedObject { } } ::windows_core::imp::interface_hierarchy!(IManagedObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManagedObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManagedObject {} -impl ::core::fmt::Debug for IManagedObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManagedObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManagedObject { type Vtable = IManagedObject_Vtbl; } -impl ::core::clone::Clone for IManagedObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManagedObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3fcc19e_a970_11d2_8b5a_00a0c9b7c9c4); } @@ -4116,6 +3171,7 @@ pub struct IManagedObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectHandle(::windows_core::IUnknown); impl IObjectHandle { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4126,25 +3182,9 @@ impl IObjectHandle { } } ::windows_core::imp::interface_hierarchy!(IObjectHandle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectHandle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectHandle {} -impl ::core::fmt::Debug for IObjectHandle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectHandle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectHandle { type Vtable = IObjectHandle_Vtbl; } -impl ::core::clone::Clone for IObjectHandle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectHandle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc460e2b4_e199_412a_8456_84dc3e4838c3); } @@ -4159,6 +3199,7 @@ pub struct IObjectHandle_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeName(::windows_core::IUnknown); impl ITypeName { pub unsafe fn GetNameCount(&self) -> ::windows_core::Result { @@ -4188,25 +3229,9 @@ impl ITypeName { } } ::windows_core::imp::interface_hierarchy!(ITypeName, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeName {} -impl ::core::fmt::Debug for ITypeName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeName { type Vtable = ITypeName_Vtbl; } -impl ::core::clone::Clone for ITypeName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb81ff171_20f3_11d2_8dcc_00a0c9b00522); } @@ -4224,6 +3249,7 @@ pub struct ITypeName_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeNameBuilder(::windows_core::IUnknown); impl ITypeNameBuilder { pub unsafe fn OpenGenericArguments(&self) -> ::windows_core::Result<()> { @@ -4271,25 +3297,9 @@ impl ITypeNameBuilder { } } ::windows_core::imp::interface_hierarchy!(ITypeNameBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeNameBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeNameBuilder {} -impl ::core::fmt::Debug for ITypeNameBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeNameBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeNameBuilder { type Vtable = ITypeNameBuilder_Vtbl; } -impl ::core::clone::Clone for ITypeNameBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeNameBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb81ff171_20f3_11d2_8dcc_00a0c9b00523); } @@ -4312,6 +3322,7 @@ pub struct ITypeNameBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeNameFactory(::windows_core::IUnknown); impl ITypeNameFactory { pub unsafe fn ParseTypeName(&self, szname: P0, perror: *mut u32, pptypename: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -4326,25 +3337,9 @@ impl ITypeNameFactory { } } ::windows_core::imp::interface_hierarchy!(ITypeNameFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeNameFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeNameFactory {} -impl ::core::fmt::Debug for ITypeNameFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeNameFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeNameFactory { type Vtable = ITypeNameFactory_Vtbl; } -impl ::core::clone::Clone for ITypeNameFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeNameFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb81ff171_20f3_11d2_8dcc_00a0c9b00521); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs index c1a91bbc3f..059da8b307 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs @@ -174,8 +174,8 @@ impl ICallFrame_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"implement\"`*"] @@ -192,8 +192,8 @@ impl ICallFrameEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -213,8 +213,8 @@ impl ICallFrameWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWalkInterface: OnWalkInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -264,8 +264,8 @@ impl ICallIndirect_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl ICallInterceptor_Vtbl { GetRegisteredSink: GetRegisteredSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl ICallUnmarshal_Vtbl { ReleaseMarshalData: ReleaseMarshalData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"implement\"`*"] @@ -366,7 +366,7 @@ impl IInterfaceRelated_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs index 724aab8b52..515f4de1c3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs @@ -19,6 +19,7 @@ where } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallFrame(::windows_core::IUnknown); impl ICallFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -116,25 +117,9 @@ impl ICallFrame { } } ::windows_core::imp::interface_hierarchy!(ICallFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallFrame {} -impl ::core::fmt::Debug for ICallFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallFrame { type Vtable = ICallFrame_Vtbl; } -impl ::core::clone::Clone for ICallFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd573b4b0_894e_11d2_b8b6_00c04fb9618a); } @@ -188,6 +173,7 @@ pub struct ICallFrame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallFrameEvents(::windows_core::IUnknown); impl ICallFrameEvents { pub unsafe fn OnCall(&self, pframe: P0) -> ::windows_core::Result<()> @@ -198,25 +184,9 @@ impl ICallFrameEvents { } } ::windows_core::imp::interface_hierarchy!(ICallFrameEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallFrameEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallFrameEvents {} -impl ::core::fmt::Debug for ICallFrameEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallFrameEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallFrameEvents { type Vtable = ICallFrameEvents_Vtbl; } -impl ::core::clone::Clone for ICallFrameEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallFrameEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd5e0843_fc91_11d0_97d7_00c04fb9618a); } @@ -228,6 +198,7 @@ pub struct ICallFrameEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallFrameWalker(::windows_core::IUnknown); impl ICallFrameWalker { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -241,25 +212,9 @@ impl ICallFrameWalker { } } ::windows_core::imp::interface_hierarchy!(ICallFrameWalker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallFrameWalker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallFrameWalker {} -impl ::core::fmt::Debug for ICallFrameWalker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallFrameWalker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallFrameWalker { type Vtable = ICallFrameWalker_Vtbl; } -impl ::core::clone::Clone for ICallFrameWalker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallFrameWalker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08b23919_392d_11d2_b8a4_00c04fb9618a); } @@ -274,6 +229,7 @@ pub struct ICallFrameWalker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallIndirect(::windows_core::IUnknown); impl ICallIndirect { pub unsafe fn CallIndirect(&self, phrreturn: *mut ::windows_core::HRESULT, imethod: u32, pvargs: *const ::core::ffi::c_void, cbargs: *mut u32) -> ::windows_core::Result<()> { @@ -295,25 +251,9 @@ impl ICallIndirect { } } ::windows_core::imp::interface_hierarchy!(ICallIndirect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallIndirect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallIndirect {} -impl ::core::fmt::Debug for ICallIndirect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallIndirect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallIndirect { type Vtable = ICallIndirect_Vtbl; } -impl ::core::clone::Clone for ICallIndirect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallIndirect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd573b4b1_894e_11d2_b8b6_00c04fb9618a); } @@ -334,6 +274,7 @@ pub struct ICallIndirect_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallInterceptor(::windows_core::IUnknown); impl ICallInterceptor { pub unsafe fn CallIndirect(&self, phrreturn: *mut ::windows_core::HRESULT, imethod: u32, pvargs: *const ::core::ffi::c_void, cbargs: *mut u32) -> ::windows_core::Result<()> { @@ -365,25 +306,9 @@ impl ICallInterceptor { } } ::windows_core::imp::interface_hierarchy!(ICallInterceptor, ::windows_core::IUnknown, ICallIndirect); -impl ::core::cmp::PartialEq for ICallInterceptor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallInterceptor {} -impl ::core::fmt::Debug for ICallInterceptor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallInterceptor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallInterceptor { type Vtable = ICallInterceptor_Vtbl; } -impl ::core::clone::Clone for ICallInterceptor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallInterceptor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60c7ca75_896d_11d2_b8b6_00c04fb9618a); } @@ -396,6 +321,7 @@ pub struct ICallInterceptor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallUnmarshal(::windows_core::IUnknown); impl ICallUnmarshal { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -413,25 +339,9 @@ impl ICallUnmarshal { } } ::windows_core::imp::interface_hierarchy!(ICallUnmarshal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallUnmarshal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallUnmarshal {} -impl ::core::fmt::Debug for ICallUnmarshal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallUnmarshal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallUnmarshal { type Vtable = ICallUnmarshal_Vtbl; } -impl ::core::clone::Clone for ICallUnmarshal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallUnmarshal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5333b003_2e42_11d2_b89d_00c04fb9618a); } @@ -450,6 +360,7 @@ pub struct ICallUnmarshal_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInterfaceRelated(::windows_core::IUnknown); impl IInterfaceRelated { pub unsafe fn SetIID(&self, iid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -461,25 +372,9 @@ impl IInterfaceRelated { } } ::windows_core::imp::interface_hierarchy!(IInterfaceRelated, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInterfaceRelated { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInterfaceRelated {} -impl ::core::fmt::Debug for IInterfaceRelated { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInterfaceRelated").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInterfaceRelated { type Vtable = IInterfaceRelated_Vtbl; } -impl ::core::clone::Clone for IInterfaceRelated { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInterfaceRelated { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1fb5a79_7706_11d1_adba_00c04fc2adc0); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs index 4b553f8cd7..c77e1b1b70 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs @@ -81,7 +81,7 @@ impl IChannelCredentials_Vtbl { SetIssuedToken: SetIssuedToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs index d6f208023f..d408693897 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_Com_ChannelCredentials\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChannelCredentials(::windows_core::IUnknown); impl IChannelCredentials { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -90,25 +91,9 @@ impl IChannelCredentials { } } ::windows_core::imp::interface_hierarchy!(IChannelCredentials, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IChannelCredentials { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChannelCredentials {} -impl ::core::fmt::Debug for IChannelCredentials { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChannelCredentials").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChannelCredentials { type Vtable = IChannelCredentials_Vtbl; } -impl ::core::clone::Clone for IChannelCredentials { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChannelCredentials { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x181b448c_c17c_4b17_ac6d_06699b93198f); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs index c6fd5d4546..3d2fe574a1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs @@ -5,8 +5,8 @@ impl IDontSupportEventSubscription_Vtbl { pub const fn new, Impl: IDontSupportEventSubscription_Impl, const OFFSET: isize>() -> IDontSupportEventSubscription_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IEnumEventObject_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl IEventClass_Vtbl { SetTypeLib: SetTypeLib::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -307,8 +307,8 @@ impl IEventClass2_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IEventControl_Vtbl { SetDefaultQuery: SetDefaultQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IEventObjectChange_Vtbl { ChangedPublisher: ChangedPublisher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl IEventObjectChange2_Vtbl { ChangedEventClass: ChangedEventClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -523,8 +523,8 @@ impl IEventObjectCollection_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -580,8 +580,8 @@ impl IEventProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl IEventPublisher_Vtbl { GetDefaultPropertyCollection: GetDefaultPropertyCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1094,8 +1094,8 @@ impl IEventSubscription_Vtbl { SetInterfaceID: SetInterfaceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1171,8 +1171,8 @@ impl IEventSystem_Vtbl { RemoveS: RemoveS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1192,8 +1192,8 @@ impl IFiringControl_Vtbl { } Self { base__: super::IDispatch_Vtbl::new::(), FireSubscription: FireSubscription:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IMultiInterfaceEventControl_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -1310,8 +1310,8 @@ impl IMultiInterfacePublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -1338,7 +1338,7 @@ impl IPublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs index e674578118..99f8185b5f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs @@ -1,27 +1,12 @@ #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDontSupportEventSubscription(::windows_core::IUnknown); impl IDontSupportEventSubscription {} ::windows_core::imp::interface_hierarchy!(IDontSupportEventSubscription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDontSupportEventSubscription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDontSupportEventSubscription {} -impl ::core::fmt::Debug for IDontSupportEventSubscription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDontSupportEventSubscription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDontSupportEventSubscription { type Vtable = IDontSupportEventSubscription_Vtbl; } -impl ::core::clone::Clone for IDontSupportEventSubscription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDontSupportEventSubscription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x784121f1_62a6_4b89_855f_d65f296de83a); } @@ -32,6 +17,7 @@ pub struct IDontSupportEventSubscription_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumEventObject(::windows_core::IUnknown); impl IEnumEventObject { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -49,25 +35,9 @@ impl IEnumEventObject { } } ::windows_core::imp::interface_hierarchy!(IEnumEventObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumEventObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumEventObject {} -impl ::core::fmt::Debug for IEnumEventObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumEventObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumEventObject { type Vtable = IEnumEventObject_Vtbl; } -impl ::core::clone::Clone for IEnumEventObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumEventObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4a07d63_2e25_11d1_9964_00c04fbbb345); } @@ -82,6 +52,7 @@ pub struct IEnumEventObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventClass(::windows_core::IUnknown); impl IEventClass { pub unsafe fn EventClassID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -156,25 +127,9 @@ impl IEventClass { } } ::windows_core::imp::interface_hierarchy!(IEventClass, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventClass {} -impl ::core::fmt::Debug for IEventClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventClass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventClass { type Vtable = IEventClass_Vtbl; } -impl ::core::clone::Clone for IEventClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb2b72a0_7a68_11d1_88f9_0080c7d771bf); } @@ -199,6 +154,7 @@ pub struct IEventClass_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventClass2(::windows_core::IUnknown); impl IEventClass2 { pub unsafe fn EventClassID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -321,25 +277,9 @@ impl IEventClass2 { } } ::windows_core::imp::interface_hierarchy!(IEventClass2, ::windows_core::IUnknown, super::IDispatch, IEventClass); -impl ::core::cmp::PartialEq for IEventClass2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventClass2 {} -impl ::core::fmt::Debug for IEventClass2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventClass2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventClass2 { type Vtable = IEventClass2_Vtbl; } -impl ::core::clone::Clone for IEventClass2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventClass2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb2b72a1_7a68_11d1_88f9_0080c7d771bf); } @@ -370,6 +310,7 @@ pub struct IEventClass2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventControl(::windows_core::IUnknown); impl IEventControl { pub unsafe fn SetPublisherFilter(&self, methodname: P0, ppublisherfilter: P1) -> ::windows_core::Result<()> @@ -411,25 +352,9 @@ impl IEventControl { } } ::windows_core::imp::interface_hierarchy!(IEventControl, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventControl {} -impl ::core::fmt::Debug for IEventControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventControl { type Vtable = IEventControl_Vtbl; } -impl ::core::clone::Clone for IEventControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0343e2f4_86f6_11d1_b760_00c04fb926af); } @@ -451,6 +376,7 @@ pub struct IEventControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventObjectChange(::windows_core::IUnknown); impl IEventObjectChange { pub unsafe fn ChangedSubscription(&self, changetype: EOC_ChangeType, bstrsubscriptionid: P0) -> ::windows_core::Result<()> @@ -473,25 +399,9 @@ impl IEventObjectChange { } } ::windows_core::imp::interface_hierarchy!(IEventObjectChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEventObjectChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventObjectChange {} -impl ::core::fmt::Debug for IEventObjectChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventObjectChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventObjectChange { type Vtable = IEventObjectChange_Vtbl; } -impl ::core::clone::Clone for IEventObjectChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventObjectChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4a07d70_2e25_11d1_9964_00c04fbbb345); } @@ -505,6 +415,7 @@ pub struct IEventObjectChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventObjectChange2(::windows_core::IUnknown); impl IEventObjectChange2 { pub unsafe fn ChangedSubscription(&self, pinfo: *const COMEVENTSYSCHANGEINFO) -> ::windows_core::Result<()> { @@ -515,25 +426,9 @@ impl IEventObjectChange2 { } } ::windows_core::imp::interface_hierarchy!(IEventObjectChange2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEventObjectChange2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventObjectChange2 {} -impl ::core::fmt::Debug for IEventObjectChange2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventObjectChange2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventObjectChange2 { type Vtable = IEventObjectChange2_Vtbl; } -impl ::core::clone::Clone for IEventObjectChange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventObjectChange2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7701a9c3_bd68_438f_83e0_67bf4f53a422); } @@ -546,6 +441,7 @@ pub struct IEventObjectChange2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventObjectCollection(::windows_core::IUnknown); impl IEventObjectCollection { pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -585,25 +481,9 @@ impl IEventObjectCollection { } } ::windows_core::imp::interface_hierarchy!(IEventObjectCollection, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventObjectCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventObjectCollection {} -impl ::core::fmt::Debug for IEventObjectCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventObjectCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventObjectCollection { type Vtable = IEventObjectCollection_Vtbl; } -impl ::core::clone::Clone for IEventObjectCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventObjectCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf89ac270_d4eb_11d1_b682_00805fc79216); } @@ -626,6 +506,7 @@ pub struct IEventObjectCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventProperty(::windows_core::IUnknown); impl IEventProperty { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -651,25 +532,9 @@ impl IEventProperty { } } ::windows_core::imp::interface_hierarchy!(IEventProperty, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventProperty {} -impl ::core::fmt::Debug for IEventProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventProperty { type Vtable = IEventProperty_Vtbl; } -impl ::core::clone::Clone for IEventProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda538ee2_f4de_11d1_b6bb_00805fc79216); } @@ -690,6 +555,7 @@ pub struct IEventProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventPublisher(::windows_core::IUnknown); impl IEventPublisher { pub unsafe fn PublisherID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -771,25 +637,9 @@ impl IEventPublisher { } } ::windows_core::imp::interface_hierarchy!(IEventPublisher, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventPublisher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventPublisher {} -impl ::core::fmt::Debug for IEventPublisher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventPublisher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventPublisher { type Vtable = IEventPublisher_Vtbl; } -impl ::core::clone::Clone for IEventPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventPublisher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe341516b_2e32_11d1_9964_00c04fbbb345); } @@ -820,6 +670,7 @@ pub struct IEventPublisher_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventSubscription(::windows_core::IUnknown); impl IEventSubscription { pub unsafe fn SubscriptionID(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1016,25 +867,9 @@ impl IEventSubscription { } } ::windows_core::imp::interface_hierarchy!(IEventSubscription, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventSubscription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventSubscription {} -impl ::core::fmt::Debug for IEventSubscription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventSubscription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventSubscription { type Vtable = IEventSubscription_Vtbl; } -impl ::core::clone::Clone for IEventSubscription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventSubscription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a6b0e15_2e38_11d1_9965_00c04fbbb345); } @@ -1103,6 +938,7 @@ pub struct IEventSubscription_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventSystem(::windows_core::IUnknown); impl IEventSystem { pub unsafe fn Query(&self, progid: P0, querycriteria: P1, errorindex: *mut i32, ppinterface: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> @@ -1148,25 +984,9 @@ impl IEventSystem { } } ::windows_core::imp::interface_hierarchy!(IEventSystem, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IEventSystem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEventSystem {} -impl ::core::fmt::Debug for IEventSystem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventSystem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEventSystem { type Vtable = IEventSystem_Vtbl; } -impl ::core::clone::Clone for IEventSystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEventSystem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e14fb9f_2e22_11d1_9964_00c04fbbb345); } @@ -1183,6 +1003,7 @@ pub struct IEventSystem_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFiringControl(::windows_core::IUnknown); impl IFiringControl { pub unsafe fn FireSubscription(&self, subscription: P0) -> ::windows_core::Result<()> @@ -1193,25 +1014,9 @@ impl IFiringControl { } } ::windows_core::imp::interface_hierarchy!(IFiringControl, ::windows_core::IUnknown, super::IDispatch); -impl ::core::cmp::PartialEq for IFiringControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFiringControl {} -impl ::core::fmt::Debug for IFiringControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFiringControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFiringControl { type Vtable = IFiringControl_Vtbl; } -impl ::core::clone::Clone for IFiringControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFiringControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0498c93_4efe_11d1_9971_00c04fbbb345); } @@ -1223,6 +1028,7 @@ pub struct IFiringControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiInterfaceEventControl(::windows_core::IUnknown); impl IMultiInterfaceEventControl { pub unsafe fn SetMultiInterfacePublisherFilter(&self, classfilter: P0) -> ::windows_core::Result<()> @@ -1277,25 +1083,9 @@ impl IMultiInterfaceEventControl { } } ::windows_core::imp::interface_hierarchy!(IMultiInterfaceEventControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiInterfaceEventControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiInterfaceEventControl {} -impl ::core::fmt::Debug for IMultiInterfaceEventControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiInterfaceEventControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiInterfaceEventControl { type Vtable = IMultiInterfaceEventControl_Vtbl; } -impl ::core::clone::Clone for IMultiInterfaceEventControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiInterfaceEventControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0343e2f5_86f6_11d1_b760_00c04fb926af); } @@ -1325,6 +1115,7 @@ pub struct IMultiInterfaceEventControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiInterfacePublisherFilter(::windows_core::IUnknown); impl IMultiInterfacePublisherFilter { pub unsafe fn Initialize(&self, peic: P0) -> ::windows_core::Result<()> @@ -1342,25 +1133,9 @@ impl IMultiInterfacePublisherFilter { } } ::windows_core::imp::interface_hierarchy!(IMultiInterfacePublisherFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiInterfacePublisherFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiInterfacePublisherFilter {} -impl ::core::fmt::Debug for IMultiInterfacePublisherFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiInterfacePublisherFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiInterfacePublisherFilter { type Vtable = IMultiInterfacePublisherFilter_Vtbl; } -impl ::core::clone::Clone for IMultiInterfacePublisherFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiInterfacePublisherFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x465e5cc1_7b26_11d1_88fb_0080c7d771bf); } @@ -1373,6 +1148,7 @@ pub struct IMultiInterfacePublisherFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Events\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPublisherFilter(::windows_core::IUnknown); impl IPublisherFilter { pub unsafe fn Initialize(&self, methodname: P0, dispuserdefined: P1) -> ::windows_core::Result<()> @@ -1391,25 +1167,9 @@ impl IPublisherFilter { } } ::windows_core::imp::interface_hierarchy!(IPublisherFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPublisherFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPublisherFilter {} -impl ::core::fmt::Debug for IPublisherFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPublisherFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPublisherFilter { type Vtable = IPublisherFilter_Vtbl; } -impl ::core::clone::Clone for IPublisherFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPublisherFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x465e5cc0_7b26_11d1_88fb_0080c7d771bf); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs index 33c54ed402..f500c8918b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs @@ -62,8 +62,8 @@ impl IMarshal_Vtbl { DisconnectObject: DisconnectObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"implement\"`*"] @@ -73,8 +73,8 @@ impl IMarshal2_Vtbl { pub const fn new, Impl: IMarshal2_Impl, const OFFSET: isize>() -> IMarshal2_Vtbl { Self { base__: IMarshal_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -103,7 +103,7 @@ impl IMarshalingStream_Vtbl { GetMarshalingContextAttribute: GetMarshalingContextAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs index 289d5c3fa4..eff8cef8dc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs @@ -784,6 +784,7 @@ pub unsafe fn STGMEDIUM_UserUnmarshal64(param0: *const u32, param1: *const u8, p } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMarshal(::windows_core::IUnknown); impl IMarshal { pub unsafe fn GetUnmarshalClass(&self, riid: *const ::windows_core::GUID, pv: ::core::option::Option<*const ::core::ffi::c_void>, dwdestcontext: u32, pvdestcontext: ::core::option::Option<*const ::core::ffi::c_void>, mshlflags: u32) -> ::windows_core::Result<::windows_core::GUID> { @@ -817,25 +818,9 @@ impl IMarshal { } } ::windows_core::imp::interface_hierarchy!(IMarshal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMarshal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarshal {} -impl ::core::fmt::Debug for IMarshal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarshal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMarshal { type Vtable = IMarshal_Vtbl; } -impl ::core::clone::Clone for IMarshal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMarshal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000003_0000_0000_c000_000000000046); } @@ -852,6 +837,7 @@ pub struct IMarshal_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMarshal2(::windows_core::IUnknown); impl IMarshal2 { pub unsafe fn GetUnmarshalClass(&self, riid: *const ::windows_core::GUID, pv: ::core::option::Option<*const ::core::ffi::c_void>, dwdestcontext: u32, pvdestcontext: ::core::option::Option<*const ::core::ffi::c_void>, mshlflags: u32) -> ::windows_core::Result<::windows_core::GUID> { @@ -885,25 +871,9 @@ impl IMarshal2 { } } ::windows_core::imp::interface_hierarchy!(IMarshal2, ::windows_core::IUnknown, IMarshal); -impl ::core::cmp::PartialEq for IMarshal2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarshal2 {} -impl ::core::fmt::Debug for IMarshal2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarshal2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMarshal2 { type Vtable = IMarshal2_Vtbl; } -impl ::core::clone::Clone for IMarshal2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMarshal2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001cf_0000_0000_c000_000000000046); } @@ -914,6 +884,7 @@ pub struct IMarshal2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMarshalingStream(::windows_core::IUnknown); impl IMarshalingStream { pub unsafe fn Read(&self, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -961,25 +932,9 @@ impl IMarshalingStream { } } ::windows_core::imp::interface_hierarchy!(IMarshalingStream, ::windows_core::IUnknown, super::ISequentialStream, super::IStream); -impl ::core::cmp::PartialEq for IMarshalingStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMarshalingStream {} -impl ::core::fmt::Debug for IMarshalingStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMarshalingStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMarshalingStream { type Vtable = IMarshalingStream_Vtbl; } -impl ::core::clone::Clone for IMarshalingStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMarshalingStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8f2f5e6_6102_4863_9f26_389a4676efde); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs index c9aaf4cac4..b35c617ea7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs @@ -29,8 +29,8 @@ impl IDirectWriterLock_Vtbl { HaveWriteAccess: HaveWriteAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IEnumSTATPROPSETSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -131,8 +131,8 @@ impl IEnumSTATPROPSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl IEnumSTATSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -239,8 +239,8 @@ impl IFillLockBytes_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl ILayoutStorage_Vtbl { ReLayoutDocfileOnILockBytes: ReLayoutDocfileOnILockBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl ILockBytes_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -413,8 +413,8 @@ impl IPersistStorage_Vtbl { HandsOffStorage: HandsOffStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl IPropertyBag_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IPropertyBag2_Vtbl { LoadObject: LoadObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl IPropertySetStorage_Vtbl { Enum: Enum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -665,8 +665,8 @@ impl IPropertyStorage_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IRootStorage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SwitchToFile: SwitchToFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -835,7 +835,7 @@ impl IStorage_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index fad7688b41..a3ebb269a9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -1039,6 +1039,7 @@ where } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirectWriterLock(::windows_core::IUnknown); impl IDirectWriterLock { pub unsafe fn WaitForWriteAccess(&self, dwtimeout: u32) -> ::windows_core::Result<()> { @@ -1052,25 +1053,9 @@ impl IDirectWriterLock { } } ::windows_core::imp::interface_hierarchy!(IDirectWriterLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirectWriterLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirectWriterLock {} -impl ::core::fmt::Debug for IDirectWriterLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirectWriterLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirectWriterLock { type Vtable = IDirectWriterLock_Vtbl; } -impl ::core::clone::Clone for IDirectWriterLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirectWriterLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e6d4d92_6738_11cf_9608_00aa00680db4); } @@ -1084,6 +1069,7 @@ pub struct IDirectWriterLock_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSTATPROPSETSTG(::windows_core::IUnknown); impl IEnumSTATPROPSETSTG { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1103,25 +1089,9 @@ impl IEnumSTATPROPSETSTG { } } ::windows_core::imp::interface_hierarchy!(IEnumSTATPROPSETSTG, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSTATPROPSETSTG { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATPROPSETSTG {} -impl ::core::fmt::Debug for IEnumSTATPROPSETSTG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATPROPSETSTG").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSTATPROPSETSTG { type Vtable = IEnumSTATPROPSETSTG_Vtbl; } -impl ::core::clone::Clone for IEnumSTATPROPSETSTG { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSTATPROPSETSTG { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000013b_0000_0000_c000_000000000046); } @@ -1139,6 +1109,7 @@ pub struct IEnumSTATPROPSETSTG_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSTATPROPSTG(::windows_core::IUnknown); impl IEnumSTATPROPSTG { #[doc = "*Required features: `\"Win32_System_Variant\"`*"] @@ -1158,25 +1129,9 @@ impl IEnumSTATPROPSTG { } } ::windows_core::imp::interface_hierarchy!(IEnumSTATPROPSTG, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSTATPROPSTG { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATPROPSTG {} -impl ::core::fmt::Debug for IEnumSTATPROPSTG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATPROPSTG").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSTATPROPSTG { type Vtable = IEnumSTATPROPSTG_Vtbl; } -impl ::core::clone::Clone for IEnumSTATPROPSTG { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSTATPROPSTG { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000139_0000_0000_c000_000000000046); } @@ -1194,6 +1149,7 @@ pub struct IEnumSTATPROPSTG_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSTATSTG(::windows_core::IUnknown); impl IEnumSTATSTG { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1213,25 +1169,9 @@ impl IEnumSTATSTG { } } ::windows_core::imp::interface_hierarchy!(IEnumSTATSTG, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSTATSTG { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATSTG {} -impl ::core::fmt::Debug for IEnumSTATSTG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATSTG").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSTATSTG { type Vtable = IEnumSTATSTG_Vtbl; } -impl ::core::clone::Clone for IEnumSTATSTG { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSTATSTG { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000d_0000_0000_c000_000000000046); } @@ -1249,6 +1189,7 @@ pub struct IEnumSTATSTG_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFillLockBytes(::windows_core::IUnknown); impl IFillLockBytes { pub unsafe fn FillAppend(&self, pv: *const ::core::ffi::c_void, cb: u32) -> ::windows_core::Result { @@ -1272,25 +1213,9 @@ impl IFillLockBytes { } } ::windows_core::imp::interface_hierarchy!(IFillLockBytes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFillLockBytes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFillLockBytes {} -impl ::core::fmt::Debug for IFillLockBytes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFillLockBytes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFillLockBytes { type Vtable = IFillLockBytes_Vtbl; } -impl ::core::clone::Clone for IFillLockBytes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFillLockBytes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99caf010_415e_11cf_8814_00aa00b569f5); } @@ -1308,6 +1233,7 @@ pub struct IFillLockBytes_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILayoutStorage(::windows_core::IUnknown); impl ILayoutStorage { pub unsafe fn LayoutScript(&self, pstoragelayout: &[super::StorageLayout], glfinterleavedflag: u32) -> ::windows_core::Result<()> { @@ -1333,25 +1259,9 @@ impl ILayoutStorage { } } ::windows_core::imp::interface_hierarchy!(ILayoutStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILayoutStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILayoutStorage {} -impl ::core::fmt::Debug for ILayoutStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILayoutStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILayoutStorage { type Vtable = ILayoutStorage_Vtbl; } -impl ::core::clone::Clone for ILayoutStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILayoutStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e6d4d90_6738_11cf_9608_00aa00680db4); } @@ -1367,6 +1277,7 @@ pub struct ILayoutStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILockBytes(::windows_core::IUnknown); impl ILockBytes { pub unsafe fn ReadAt(&self, uloffset: u64, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -1394,25 +1305,9 @@ impl ILockBytes { } } ::windows_core::imp::interface_hierarchy!(ILockBytes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILockBytes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILockBytes {} -impl ::core::fmt::Debug for ILockBytes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILockBytes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILockBytes { type Vtable = ILockBytes_Vtbl; } -impl ::core::clone::Clone for ILockBytes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILockBytes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000a_0000_0000_c000_000000000046); } @@ -1433,6 +1328,7 @@ pub struct ILockBytes_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistStorage(::windows_core::IUnknown); impl IPersistStorage { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -1474,25 +1370,9 @@ impl IPersistStorage { } } ::windows_core::imp::interface_hierarchy!(IPersistStorage, ::windows_core::IUnknown, super::IPersist); -impl ::core::cmp::PartialEq for IPersistStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistStorage {} -impl ::core::fmt::Debug for IPersistStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistStorage { type Vtable = IPersistStorage_Vtbl; } -impl ::core::clone::Clone for IPersistStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010a_0000_0000_c000_000000000046); } @@ -1512,6 +1392,7 @@ pub struct IPersistStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyBag(::windows_core::IUnknown); impl IPropertyBag { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1533,25 +1414,9 @@ impl IPropertyBag { } } ::windows_core::imp::interface_hierarchy!(IPropertyBag, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyBag {} -impl ::core::fmt::Debug for IPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyBag").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyBag { type Vtable = IPropertyBag_Vtbl; } -impl ::core::clone::Clone for IPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55272a00_42cb_11ce_8135_00aa004bb851); } @@ -1570,6 +1435,7 @@ pub struct IPropertyBag_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyBag2(::windows_core::IUnknown); impl IPropertyBag2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1604,25 +1470,9 @@ impl IPropertyBag2 { } } ::windows_core::imp::interface_hierarchy!(IPropertyBag2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyBag2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyBag2 {} -impl ::core::fmt::Debug for IPropertyBag2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyBag2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyBag2 { type Vtable = IPropertyBag2_Vtbl; } -impl ::core::clone::Clone for IPropertyBag2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyBag2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f55882_280b_11d0_a8a9_00a0c90c2004); } @@ -1647,6 +1497,7 @@ pub struct IPropertyBag2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySetStorage(::windows_core::IUnknown); impl IPropertySetStorage { pub unsafe fn Create(&self, rfmtid: *const ::windows_core::GUID, pclsid: *const ::windows_core::GUID, grfflags: u32, grfmode: u32) -> ::windows_core::Result { @@ -1666,25 +1517,9 @@ impl IPropertySetStorage { } } ::windows_core::imp::interface_hierarchy!(IPropertySetStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertySetStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySetStorage {} -impl ::core::fmt::Debug for IPropertySetStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySetStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertySetStorage { type Vtable = IPropertySetStorage_Vtbl; } -impl ::core::clone::Clone for IPropertySetStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySetStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000013a_0000_0000_c000_000000000046); } @@ -1699,6 +1534,7 @@ pub struct IPropertySetStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStorage(::windows_core::IUnknown); impl IPropertyStorage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Variant\"`*"] @@ -1748,25 +1584,9 @@ impl IPropertyStorage { } } ::windows_core::imp::interface_hierarchy!(IPropertyStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStorage {} -impl ::core::fmt::Debug for IPropertyStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStorage { type Vtable = IPropertyStorage_Vtbl; } -impl ::core::clone::Clone for IPropertyStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000138_0000_0000_c000_000000000046); } @@ -1801,6 +1621,7 @@ pub struct IPropertyStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRootStorage(::windows_core::IUnknown); impl IRootStorage { pub unsafe fn SwitchToFile(&self, pszfile: P0) -> ::windows_core::Result<()> @@ -1811,25 +1632,9 @@ impl IRootStorage { } } ::windows_core::imp::interface_hierarchy!(IRootStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRootStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRootStorage {} -impl ::core::fmt::Debug for IRootStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRootStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRootStorage { type Vtable = IRootStorage_Vtbl; } -impl ::core::clone::Clone for IRootStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRootStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000012_0000_0000_c000_000000000046); } @@ -1841,6 +1646,7 @@ pub struct IRootStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorage(::windows_core::IUnknown); impl IStorage { pub unsafe fn CreateStream(&self, pwcsname: P0, grfmode: super::STGM, reserved1: u32, reserved2: u32) -> ::windows_core::Result @@ -1930,25 +1736,9 @@ impl IStorage { } } ::windows_core::imp::interface_hierarchy!(IStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorage {} -impl ::core::fmt::Debug for IStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorage { type Vtable = IStorage_Vtbl; } -impl ::core::clone::Clone for IStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000b_0000_0000_c000_000000000046); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs index 16a5d57b05..99e2c4b7eb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs @@ -15,8 +15,8 @@ impl IDummyHICONIncluder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Dummy: Dummy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_UI\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -46,7 +46,7 @@ impl IThumbnailExtractor_Vtbl { OnFileUpdated: OnFileUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs index 4c9bd0c832..5ff0dafaaf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_Com_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDummyHICONIncluder(::windows_core::IUnknown); impl IDummyHICONIncluder { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -13,25 +14,9 @@ impl IDummyHICONIncluder { } } ::windows_core::imp::interface_hierarchy!(IDummyHICONIncluder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDummyHICONIncluder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDummyHICONIncluder {} -impl ::core::fmt::Debug for IDummyHICONIncluder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDummyHICONIncluder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDummyHICONIncluder { type Vtable = IDummyHICONIncluder_Vtbl; } -impl ::core::clone::Clone for IDummyHICONIncluder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDummyHICONIncluder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x947990de_cc28_11d2_a0f7_00805f858fb1); } @@ -46,6 +31,7 @@ pub struct IDummyHICONIncluder_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_UI\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailExtractor(::windows_core::IUnknown); impl IThumbnailExtractor { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -66,25 +52,9 @@ impl IThumbnailExtractor { } } ::windows_core::imp::interface_hierarchy!(IThumbnailExtractor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailExtractor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailExtractor {} -impl ::core::fmt::Debug for IThumbnailExtractor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailExtractor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailExtractor { type Vtable = IThumbnailExtractor_Vtbl; } -impl ::core::clone::Clone for IThumbnailExtractor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailExtractor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x969dc708_5c76_11d1_8d86_0000f804b057); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs index 1cd28b9a46..c043df2e69 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs @@ -21,8 +21,8 @@ impl IBindCallbackRedirect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Redirect: Redirect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -45,8 +45,8 @@ impl IBindHttpSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIgnoreCertMask: GetIgnoreCertMask:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -69,8 +69,8 @@ impl IBindProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBinding: CreateBinding:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl ICatalogFileInfo_Vtbl { GetJavaTrust: GetJavaTrust::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl ICodeInstall_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnCodeInstallProblem: OnCodeInstallProblem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -159,8 +159,8 @@ impl IDataFilter_Vtbl { SetEncodingLevel: SetEncodingLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -199,8 +199,8 @@ impl IEncodingFilterFactory_Vtbl { GetDefaultFilter: GetDefaultFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -226,8 +226,8 @@ impl IGetBindHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBindHandle: GetBindHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl IHttpNegotiate_Vtbl { OnResponse: OnResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl IHttpNegotiate2_Vtbl { } Self { base__: IHttpNegotiate_Vtbl::new::(), GetRootSecurityId: GetRootSecurityId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -305,8 +305,8 @@ impl IHttpNegotiate3_Vtbl { GetSerializedClientCertContext: GetSerializedClientCertContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl IHttpSecurity_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnSecurityProblem: OnSecurityProblem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IInternet_Vtbl { pub const fn new, Impl: IInternet_Impl, const OFFSET: isize>() -> IInternet_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IInternetBindInfo_Vtbl { GetBindString: GetBindString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IInternetBindInfoEx_Vtbl { } Self { base__: IInternetBindInfo_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IInternetHostSecurityManager_Vtbl { QueryCustomPolicy: QueryCustomPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IInternetPriority_Vtbl { GetPriority: GetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -509,8 +509,8 @@ impl IInternetProtocol_Vtbl { UnlockRequest: UnlockRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IInternetProtocolEx_Vtbl { } Self { base__: IInternetProtocol_Vtbl::new::(), StartEx: StartEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IInternetProtocolInfo_Vtbl { QueryInfo: QueryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -631,8 +631,8 @@ impl IInternetProtocolRoot_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IInternetProtocolSink_Vtbl { ReportResult: ReportResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -708,8 +708,8 @@ impl IInternetProtocolSinkStackable_Vtbl { RollbackSwitch: RollbackSwitch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -784,8 +784,8 @@ impl IInternetSecurityManager_Vtbl { GetZoneMappings: GetZoneMappings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl IInternetSecurityManagerEx_Vtbl { } Self { base__: IInternetSecurityManager_Vtbl::new::(), ProcessUrlActionEx: ProcessUrlActionEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IInternetSecurityManagerEx2_Vtbl { QueryCustomPolicyEx2: QueryCustomPolicyEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -881,8 +881,8 @@ impl IInternetSecurityMgrSite_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -944,8 +944,8 @@ impl IInternetSession_Vtbl { GetSessionOption: GetSessionOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IInternetThreadSwitch_Vtbl { Continue: Continue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1079,8 +1079,8 @@ impl IInternetZoneManager_Vtbl { CopyTemplatePoliciesToZone: CopyTemplatePoliciesToZone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1110,8 +1110,8 @@ impl IInternetZoneManagerEx_Vtbl { SetZoneActionPolicyEx: SetZoneActionPolicyEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1155,8 +1155,8 @@ impl IInternetZoneManagerEx2_Vtbl { FixUnsecureSettings: FixUnsecureSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1173,8 +1173,8 @@ impl IMonikerProp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PutProperty: PutProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1244,8 +1244,8 @@ impl IPersistMoniker_Vtbl { GetCurMoniker: GetCurMoniker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1289,8 +1289,8 @@ impl ISoftDistExt_Vtbl { AsyncInstallDistributionUnit: AsyncInstallDistributionUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IUriBuilderFactory_Vtbl { CreateInitializedIUriBuilder: CreateInitializedIUriBuilder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1353,8 +1353,8 @@ impl IUriContainer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIUri: GetIUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IWinInetCacheHints_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetCacheExtension: SetCacheExtension:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl IWinInetCacheHints2_Vtbl { } Self { base__: IWinInetCacheHints_Vtbl::new::(), SetCacheExtension2: SetCacheExtension2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IWinInetFileStream_Vtbl { SetDeleteFile: SetDeleteFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IWinInetHttpInfo_Vtbl { } Self { base__: IWinInetInfo_Vtbl::new::(), QueryInfo: QueryInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IWinInetHttpTimeouts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestTimeouts: GetRequestTimeouts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IWinInetInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryOption: QueryOption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1498,8 +1498,8 @@ impl IWindowForBindingUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1516,8 +1516,8 @@ impl IWrappedProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWrapperCode: GetWrapperCode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl IZoneIdentifier_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1625,7 +1625,7 @@ impl IZoneIdentifier2_Vtbl { RemoveAppZoneId: RemoveAppZoneId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs index 81046fb889..9b3087f596 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs @@ -688,6 +688,7 @@ pub unsafe fn WriteHitLogging(lplogginginfo: *const HIT_LOGGING_INFO) -> super:: } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindCallbackRedirect(::windows_core::IUnknown); impl IBindCallbackRedirect { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -701,25 +702,9 @@ impl IBindCallbackRedirect { } } ::windows_core::imp::interface_hierarchy!(IBindCallbackRedirect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindCallbackRedirect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindCallbackRedirect {} -impl ::core::fmt::Debug for IBindCallbackRedirect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindCallbackRedirect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindCallbackRedirect { type Vtable = IBindCallbackRedirect_Vtbl; } -impl ::core::clone::Clone for IBindCallbackRedirect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindCallbackRedirect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11c81bc2_121e_4ed5_b9c4_b430bd54f2c0); } @@ -734,6 +719,7 @@ pub struct IBindCallbackRedirect_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindHttpSecurity(::windows_core::IUnknown); impl IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask(&self) -> ::windows_core::Result { @@ -742,25 +728,9 @@ impl IBindHttpSecurity { } } ::windows_core::imp::interface_hierarchy!(IBindHttpSecurity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindHttpSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindHttpSecurity {} -impl ::core::fmt::Debug for IBindHttpSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindHttpSecurity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindHttpSecurity { type Vtable = IBindHttpSecurity_Vtbl; } -impl ::core::clone::Clone for IBindHttpSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindHttpSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9eda967_f50e_4a33_b358_206f6ef3086d); } @@ -772,6 +742,7 @@ pub struct IBindHttpSecurity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindProtocol(::windows_core::IUnknown); impl IBindProtocol { pub unsafe fn CreateBinding(&self, szurl: P0, pbc: P1) -> ::windows_core::Result @@ -784,25 +755,9 @@ impl IBindProtocol { } } ::windows_core::imp::interface_hierarchy!(IBindProtocol, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindProtocol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindProtocol {} -impl ::core::fmt::Debug for IBindProtocol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindProtocol").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindProtocol { type Vtable = IBindProtocol_Vtbl; } -impl ::core::clone::Clone for IBindProtocol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindProtocol { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9cd_baf9_11ce_8c82_00aa004ba90b); } @@ -814,6 +769,7 @@ pub struct IBindProtocol_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatalogFileInfo(::windows_core::IUnknown); impl ICatalogFileInfo { pub unsafe fn GetCatalogFile(&self) -> ::windows_core::Result<::windows_core::PSTR> { @@ -825,25 +781,9 @@ impl ICatalogFileInfo { } } ::windows_core::imp::interface_hierarchy!(ICatalogFileInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICatalogFileInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICatalogFileInfo {} -impl ::core::fmt::Debug for ICatalogFileInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatalogFileInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICatalogFileInfo { type Vtable = ICatalogFileInfo_Vtbl; } -impl ::core::clone::Clone for ICatalogFileInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICatalogFileInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x711c7600_6b48_11d1_b403_00aa00b92af1); } @@ -856,6 +796,7 @@ pub struct ICatalogFileInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodeInstall(::windows_core::IUnknown); impl ICodeInstall { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -873,25 +814,9 @@ impl ICodeInstall { } } ::windows_core::imp::interface_hierarchy!(ICodeInstall, ::windows_core::IUnknown, IWindowForBindingUI); -impl ::core::cmp::PartialEq for ICodeInstall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICodeInstall {} -impl ::core::fmt::Debug for ICodeInstall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICodeInstall").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICodeInstall { type Vtable = ICodeInstall_Vtbl; } -impl ::core::clone::Clone for ICodeInstall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodeInstall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d1_baf9_11ce_8c82_00aa004ba90b); } @@ -903,6 +828,7 @@ pub struct ICodeInstall_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataFilter(::windows_core::IUnknown); impl IDataFilter { pub unsafe fn DoEncode(&self, dwflags: u32, pbinbuffer: &[u8], pboutbuffer: &mut [u8], linbytesavailable: i32, plinbytesread: *mut i32, ploutbyteswritten: *mut i32, dwreserved: u32) -> ::windows_core::Result<()> { @@ -916,25 +842,9 @@ impl IDataFilter { } } ::windows_core::imp::interface_hierarchy!(IDataFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataFilter {} -impl ::core::fmt::Debug for IDataFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataFilter { type Vtable = IDataFilter_Vtbl; } -impl ::core::clone::Clone for IDataFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69d14c80_c18e_11d0_a9ce_006097942311); } @@ -948,6 +858,7 @@ pub struct IDataFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEncodingFilterFactory(::windows_core::IUnknown); impl IEncodingFilterFactory { pub unsafe fn FindBestFilter(&self, pwzcodein: P0, pwzcodeout: P1, info: DATAINFO) -> ::windows_core::Result @@ -968,25 +879,9 @@ impl IEncodingFilterFactory { } } ::windows_core::imp::interface_hierarchy!(IEncodingFilterFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEncodingFilterFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEncodingFilterFactory {} -impl ::core::fmt::Debug for IEncodingFilterFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEncodingFilterFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEncodingFilterFactory { type Vtable = IEncodingFilterFactory_Vtbl; } -impl ::core::clone::Clone for IEncodingFilterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEncodingFilterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70bdde00_c18e_11d0_a9ce_006097942311); } @@ -999,6 +894,7 @@ pub struct IEncodingFilterFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetBindHandle(::windows_core::IUnknown); impl IGetBindHandle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1009,25 +905,9 @@ impl IGetBindHandle { } } ::windows_core::imp::interface_hierarchy!(IGetBindHandle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetBindHandle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetBindHandle {} -impl ::core::fmt::Debug for IGetBindHandle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetBindHandle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetBindHandle { type Vtable = IGetBindHandle_Vtbl; } -impl ::core::clone::Clone for IGetBindHandle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetBindHandle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf0ff408_129d_4b20_91f0_02bd23d88352); } @@ -1042,6 +922,7 @@ pub struct IGetBindHandle_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNegotiate(::windows_core::IUnknown); impl IHttpNegotiate { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> ::windows_core::Result<::windows_core::PWSTR> @@ -1062,25 +943,9 @@ impl IHttpNegotiate { } } ::windows_core::imp::interface_hierarchy!(IHttpNegotiate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHttpNegotiate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpNegotiate {} -impl ::core::fmt::Debug for IHttpNegotiate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpNegotiate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHttpNegotiate { type Vtable = IHttpNegotiate_Vtbl; } -impl ::core::clone::Clone for IHttpNegotiate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNegotiate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d2_baf9_11ce_8c82_00aa004ba90b); } @@ -1093,6 +958,7 @@ pub struct IHttpNegotiate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNegotiate2(::windows_core::IUnknown); impl IHttpNegotiate2 { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> ::windows_core::Result<::windows_core::PWSTR> @@ -1116,25 +982,9 @@ impl IHttpNegotiate2 { } } ::windows_core::imp::interface_hierarchy!(IHttpNegotiate2, ::windows_core::IUnknown, IHttpNegotiate); -impl ::core::cmp::PartialEq for IHttpNegotiate2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpNegotiate2 {} -impl ::core::fmt::Debug for IHttpNegotiate2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpNegotiate2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHttpNegotiate2 { type Vtable = IHttpNegotiate2_Vtbl; } -impl ::core::clone::Clone for IHttpNegotiate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNegotiate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f9f9fcb_e0f4_48eb_b7ab_fa2ea9365cb4); } @@ -1146,6 +996,7 @@ pub struct IHttpNegotiate2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpNegotiate3(::windows_core::IUnknown); impl IHttpNegotiate3 { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> ::windows_core::Result<::windows_core::PWSTR> @@ -1172,25 +1023,9 @@ impl IHttpNegotiate3 { } } ::windows_core::imp::interface_hierarchy!(IHttpNegotiate3, ::windows_core::IUnknown, IHttpNegotiate, IHttpNegotiate2); -impl ::core::cmp::PartialEq for IHttpNegotiate3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpNegotiate3 {} -impl ::core::fmt::Debug for IHttpNegotiate3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpNegotiate3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHttpNegotiate3 { type Vtable = IHttpNegotiate3_Vtbl; } -impl ::core::clone::Clone for IHttpNegotiate3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpNegotiate3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57b6c80a_34c2_4602_bc26_66a02fc57153); } @@ -1202,6 +1037,7 @@ pub struct IHttpNegotiate3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHttpSecurity(::windows_core::IUnknown); impl IHttpSecurity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1215,25 +1051,9 @@ impl IHttpSecurity { } } ::windows_core::imp::interface_hierarchy!(IHttpSecurity, ::windows_core::IUnknown, IWindowForBindingUI); -impl ::core::cmp::PartialEq for IHttpSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHttpSecurity {} -impl ::core::fmt::Debug for IHttpSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHttpSecurity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHttpSecurity { type Vtable = IHttpSecurity_Vtbl; } -impl ::core::clone::Clone for IHttpSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHttpSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d7_bafa_11ce_8c82_00aa004ba90b); } @@ -1245,28 +1065,13 @@ pub struct IHttpSecurity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternet(::windows_core::IUnknown); impl IInternet {} ::windows_core::imp::interface_hierarchy!(IInternet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternet {} -impl ::core::fmt::Debug for IInternet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternet { type Vtable = IInternet_Vtbl; } -impl ::core::clone::Clone for IInternet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e0_baf9_11ce_8c82_00aa004ba90b); } @@ -1277,6 +1082,7 @@ pub struct IInternet_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetBindInfo(::windows_core::IUnknown); impl IInternetBindInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1289,25 +1095,9 @@ impl IInternetBindInfo { } } ::windows_core::imp::interface_hierarchy!(IInternetBindInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetBindInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetBindInfo {} -impl ::core::fmt::Debug for IInternetBindInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetBindInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetBindInfo { type Vtable = IInternetBindInfo_Vtbl; } -impl ::core::clone::Clone for IInternetBindInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetBindInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e1_baf9_11ce_8c82_00aa004ba90b); } @@ -1323,6 +1113,7 @@ pub struct IInternetBindInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetBindInfoEx(::windows_core::IUnknown); impl IInternetBindInfoEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1340,25 +1131,9 @@ impl IInternetBindInfoEx { } } ::windows_core::imp::interface_hierarchy!(IInternetBindInfoEx, ::windows_core::IUnknown, IInternetBindInfo); -impl ::core::cmp::PartialEq for IInternetBindInfoEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetBindInfoEx {} -impl ::core::fmt::Debug for IInternetBindInfoEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetBindInfoEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetBindInfoEx { type Vtable = IInternetBindInfoEx_Vtbl; } -impl ::core::clone::Clone for IInternetBindInfoEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetBindInfoEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3e015b7_a82c_4dcd_a150_569aeeed36ab); } @@ -1373,6 +1148,7 @@ pub struct IInternetBindInfoEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetHostSecurityManager(::windows_core::IUnknown); impl IInternetHostSecurityManager { pub unsafe fn GetSecurityId(&self, pbsecurityid: *mut u8, pcbsecurityid: *mut u32, dwreserved: usize) -> ::windows_core::Result<()> { @@ -1386,25 +1162,9 @@ impl IInternetHostSecurityManager { } } ::windows_core::imp::interface_hierarchy!(IInternetHostSecurityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetHostSecurityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetHostSecurityManager {} -impl ::core::fmt::Debug for IInternetHostSecurityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetHostSecurityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetHostSecurityManager { type Vtable = IInternetHostSecurityManager_Vtbl; } -impl ::core::clone::Clone for IInternetHostSecurityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetHostSecurityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3af280b6_cb3f_11d0_891e_00c04fb6bfc4); } @@ -1418,6 +1178,7 @@ pub struct IInternetHostSecurityManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetPriority(::windows_core::IUnknown); impl IInternetPriority { pub unsafe fn SetPriority(&self, npriority: i32) -> ::windows_core::Result<()> { @@ -1429,25 +1190,9 @@ impl IInternetPriority { } } ::windows_core::imp::interface_hierarchy!(IInternetPriority, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetPriority { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetPriority {} -impl ::core::fmt::Debug for IInternetPriority { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetPriority").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetPriority { type Vtable = IInternetPriority_Vtbl; } -impl ::core::clone::Clone for IInternetPriority { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetPriority { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9eb_baf9_11ce_8c82_00aa004ba90b); } @@ -1460,6 +1205,7 @@ pub struct IInternetPriority_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocol(::windows_core::IUnknown); impl IInternetProtocol { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1503,25 +1249,9 @@ impl IInternetProtocol { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocol, ::windows_core::IUnknown, IInternetProtocolRoot); -impl ::core::cmp::PartialEq for IInternetProtocol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocol {} -impl ::core::fmt::Debug for IInternetProtocol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocol").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocol { type Vtable = IInternetProtocol_Vtbl; } -impl ::core::clone::Clone for IInternetProtocol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocol { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e4_baf9_11ce_8c82_00aa004ba90b); } @@ -1536,6 +1266,7 @@ pub struct IInternetProtocol_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocolEx(::windows_core::IUnknown); impl IInternetProtocolEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1590,25 +1321,9 @@ impl IInternetProtocolEx { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocolEx, ::windows_core::IUnknown, IInternetProtocolRoot, IInternetProtocol); -impl ::core::cmp::PartialEq for IInternetProtocolEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocolEx {} -impl ::core::fmt::Debug for IInternetProtocolEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocolEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocolEx { type Vtable = IInternetProtocolEx_Vtbl; } -impl ::core::clone::Clone for IInternetProtocolEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocolEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7a98e66_1010_492c_a1c8_c809e1f75905); } @@ -1623,6 +1338,7 @@ pub struct IInternetProtocolEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocolInfo(::windows_core::IUnknown); impl IInternetProtocolInfo { pub unsafe fn ParseUrl(&self, pwzurl: P0, parseaction: PARSEACTION, dwparseflags: u32, pwzresult: ::windows_core::PWSTR, cchresult: u32, pcchresult: *mut u32, dwreserved: u32) -> ::windows_core::Result<()> @@ -1654,25 +1370,9 @@ impl IInternetProtocolInfo { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocolInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetProtocolInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocolInfo {} -impl ::core::fmt::Debug for IInternetProtocolInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocolInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocolInfo { type Vtable = IInternetProtocolInfo_Vtbl; } -impl ::core::clone::Clone for IInternetProtocolInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocolInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9ec_baf9_11ce_8c82_00aa004ba90b); } @@ -1687,6 +1387,7 @@ pub struct IInternetProtocolInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocolRoot(::windows_core::IUnknown); impl IInternetProtocolRoot { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1717,25 +1418,9 @@ impl IInternetProtocolRoot { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocolRoot, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetProtocolRoot { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocolRoot {} -impl ::core::fmt::Debug for IInternetProtocolRoot { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocolRoot").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocolRoot { type Vtable = IInternetProtocolRoot_Vtbl; } -impl ::core::clone::Clone for IInternetProtocolRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocolRoot { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e3_baf9_11ce_8c82_00aa004ba90b); } @@ -1755,6 +1440,7 @@ pub struct IInternetProtocolRoot_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocolSink(::windows_core::IUnknown); impl IInternetProtocolSink { pub unsafe fn Switch(&self, pprotocoldata: *const PROTOCOLDATA) -> ::windows_core::Result<()> { @@ -1777,25 +1463,9 @@ impl IInternetProtocolSink { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocolSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetProtocolSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocolSink {} -impl ::core::fmt::Debug for IInternetProtocolSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocolSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocolSink { type Vtable = IInternetProtocolSink_Vtbl; } -impl ::core::clone::Clone for IInternetProtocolSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocolSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e5_baf9_11ce_8c82_00aa004ba90b); } @@ -1810,6 +1480,7 @@ pub struct IInternetProtocolSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetProtocolSinkStackable(::windows_core::IUnknown); impl IInternetProtocolSinkStackable { pub unsafe fn SwitchSink(&self, poiprotsink: P0) -> ::windows_core::Result<()> @@ -1826,25 +1497,9 @@ impl IInternetProtocolSinkStackable { } } ::windows_core::imp::interface_hierarchy!(IInternetProtocolSinkStackable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetProtocolSinkStackable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetProtocolSinkStackable {} -impl ::core::fmt::Debug for IInternetProtocolSinkStackable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetProtocolSinkStackable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetProtocolSinkStackable { type Vtable = IInternetProtocolSinkStackable_Vtbl; } -impl ::core::clone::Clone for IInternetProtocolSinkStackable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetProtocolSinkStackable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9f0_baf9_11ce_8c82_00aa004ba90b); } @@ -1858,6 +1513,7 @@ pub struct IInternetProtocolSinkStackable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetSecurityManager(::windows_core::IUnknown); impl IInternetSecurityManager { pub unsafe fn SetSecuritySite(&self, psite: P0) -> ::windows_core::Result<()> @@ -1905,25 +1561,9 @@ impl IInternetSecurityManager { } } ::windows_core::imp::interface_hierarchy!(IInternetSecurityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetSecurityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetSecurityManager {} -impl ::core::fmt::Debug for IInternetSecurityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetSecurityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetSecurityManager { type Vtable = IInternetSecurityManager_Vtbl; } -impl ::core::clone::Clone for IInternetSecurityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetSecurityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9ee_baf9_11ce_8c82_00aa004ba90b); } @@ -1942,6 +1582,7 @@ pub struct IInternetSecurityManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetSecurityManagerEx(::windows_core::IUnknown); impl IInternetSecurityManagerEx { pub unsafe fn SetSecuritySite(&self, psite: P0) -> ::windows_core::Result<()> @@ -1995,25 +1636,9 @@ impl IInternetSecurityManagerEx { } } ::windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx, ::windows_core::IUnknown, IInternetSecurityManager); -impl ::core::cmp::PartialEq for IInternetSecurityManagerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetSecurityManagerEx {} -impl ::core::fmt::Debug for IInternetSecurityManagerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetSecurityManagerEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetSecurityManagerEx { type Vtable = IInternetSecurityManagerEx_Vtbl; } -impl ::core::clone::Clone for IInternetSecurityManagerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetSecurityManagerEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf164edf1_cc7c_4f0d_9a94_34222625c393); } @@ -2025,6 +1650,7 @@ pub struct IInternetSecurityManagerEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetSecurityManagerEx2(::windows_core::IUnknown); impl IInternetSecurityManagerEx2 { pub unsafe fn SetSecuritySite(&self, psite: P0) -> ::windows_core::Result<()> @@ -2102,25 +1728,9 @@ impl IInternetSecurityManagerEx2 { } } ::windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx2, ::windows_core::IUnknown, IInternetSecurityManager, IInternetSecurityManagerEx); -impl ::core::cmp::PartialEq for IInternetSecurityManagerEx2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetSecurityManagerEx2 {} -impl ::core::fmt::Debug for IInternetSecurityManagerEx2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetSecurityManagerEx2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetSecurityManagerEx2 { type Vtable = IInternetSecurityManagerEx2_Vtbl; } -impl ::core::clone::Clone for IInternetSecurityManagerEx2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetSecurityManagerEx2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1e50292_a795_4117_8e09_2b560a72ac60); } @@ -2135,6 +1745,7 @@ pub struct IInternetSecurityManagerEx2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetSecurityMgrSite(::windows_core::IUnknown); impl IInternetSecurityMgrSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2153,25 +1764,9 @@ impl IInternetSecurityMgrSite { } } ::windows_core::imp::interface_hierarchy!(IInternetSecurityMgrSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetSecurityMgrSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetSecurityMgrSite {} -impl ::core::fmt::Debug for IInternetSecurityMgrSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetSecurityMgrSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetSecurityMgrSite { type Vtable = IInternetSecurityMgrSite_Vtbl; } -impl ::core::clone::Clone for IInternetSecurityMgrSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetSecurityMgrSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9ed_baf9_11ce_8c82_00aa004ba90b); } @@ -2190,6 +1785,7 @@ pub struct IInternetSecurityMgrSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetSession(::windows_core::IUnknown); impl IInternetSession { pub unsafe fn RegisterNameSpace(&self, pcf: P0, rclsid: *const ::windows_core::GUID, pwzprotocol: P1, cpatterns: u32, ppwzpatterns: *const ::windows_core::PCWSTR, dwreserved: u32) -> ::windows_core::Result<()> @@ -2236,25 +1832,9 @@ impl IInternetSession { } } ::windows_core::imp::interface_hierarchy!(IInternetSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetSession {} -impl ::core::fmt::Debug for IInternetSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetSession { type Vtable = IInternetSession_Vtbl; } -impl ::core::clone::Clone for IInternetSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e7_baf9_11ce_8c82_00aa004ba90b); } @@ -2272,6 +1852,7 @@ pub struct IInternetSession_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetThreadSwitch(::windows_core::IUnknown); impl IInternetThreadSwitch { pub unsafe fn Prepare(&self) -> ::windows_core::Result<()> { @@ -2282,25 +1863,9 @@ impl IInternetThreadSwitch { } } ::windows_core::imp::interface_hierarchy!(IInternetThreadSwitch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetThreadSwitch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetThreadSwitch {} -impl ::core::fmt::Debug for IInternetThreadSwitch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetThreadSwitch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetThreadSwitch { type Vtable = IInternetThreadSwitch_Vtbl; } -impl ::core::clone::Clone for IInternetThreadSwitch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetThreadSwitch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9e8_baf9_11ce_8c82_00aa004ba90b); } @@ -2313,6 +1878,7 @@ pub struct IInternetThreadSwitch_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetZoneManager(::windows_core::IUnknown); impl IInternetZoneManager { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> ::windows_core::Result<()> { @@ -2365,25 +1931,9 @@ impl IInternetZoneManager { } } ::windows_core::imp::interface_hierarchy!(IInternetZoneManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetZoneManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetZoneManager {} -impl ::core::fmt::Debug for IInternetZoneManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetZoneManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetZoneManager { type Vtable = IInternetZoneManager_Vtbl; } -impl ::core::clone::Clone for IInternetZoneManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetZoneManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9ef_baf9_11ce_8c82_00aa004ba90b); } @@ -2409,6 +1959,7 @@ pub struct IInternetZoneManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetZoneManagerEx(::windows_core::IUnknown); impl IInternetZoneManagerEx { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> ::windows_core::Result<()> { @@ -2467,25 +2018,9 @@ impl IInternetZoneManagerEx { } } ::windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx, ::windows_core::IUnknown, IInternetZoneManager); -impl ::core::cmp::PartialEq for IInternetZoneManagerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetZoneManagerEx {} -impl ::core::fmt::Debug for IInternetZoneManagerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetZoneManagerEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetZoneManagerEx { type Vtable = IInternetZoneManagerEx_Vtbl; } -impl ::core::clone::Clone for IInternetZoneManagerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetZoneManagerEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4c23339_8e06_431e_9bf4_7e711c085648); } @@ -2498,6 +2033,7 @@ pub struct IInternetZoneManagerEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetZoneManagerEx2(::windows_core::IUnknown); impl IInternetZoneManagerEx2 { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> ::windows_core::Result<()> { @@ -2579,25 +2115,9 @@ impl IInternetZoneManagerEx2 { } } ::windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx2, ::windows_core::IUnknown, IInternetZoneManager, IInternetZoneManagerEx); -impl ::core::cmp::PartialEq for IInternetZoneManagerEx2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetZoneManagerEx2 {} -impl ::core::fmt::Debug for IInternetZoneManagerEx2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetZoneManagerEx2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetZoneManagerEx2 { type Vtable = IInternetZoneManagerEx2_Vtbl; } -impl ::core::clone::Clone for IInternetZoneManagerEx2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetZoneManagerEx2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedc17559_dd5d_4846_8eef_8becba5a4abf); } @@ -2618,6 +2138,7 @@ pub struct IInternetZoneManagerEx2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMonikerProp(::windows_core::IUnknown); impl IMonikerProp { pub unsafe fn PutProperty(&self, mkp: MONIKERPROPERTY, val: P0) -> ::windows_core::Result<()> @@ -2628,25 +2149,9 @@ impl IMonikerProp { } } ::windows_core::imp::interface_hierarchy!(IMonikerProp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMonikerProp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMonikerProp {} -impl ::core::fmt::Debug for IMonikerProp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMonikerProp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMonikerProp { type Vtable = IMonikerProp_Vtbl; } -impl ::core::clone::Clone for IMonikerProp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMonikerProp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5ca5f7f_1847_4d87_9c5b_918509f7511d); } @@ -2658,6 +2163,7 @@ pub struct IMonikerProp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistMoniker(::windows_core::IUnknown); impl IPersistMoniker { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2700,25 +2206,9 @@ impl IPersistMoniker { } } ::windows_core::imp::interface_hierarchy!(IPersistMoniker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPersistMoniker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistMoniker {} -impl ::core::fmt::Debug for IPersistMoniker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistMoniker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistMoniker { type Vtable = IPersistMoniker_Vtbl; } -impl ::core::clone::Clone for IPersistMoniker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistMoniker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c9_baf9_11ce_8c82_00aa004ba90b); } @@ -2741,6 +2231,7 @@ pub struct IPersistMoniker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftDistExt(::windows_core::IUnknown); impl ISoftDistExt { #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`*"] @@ -2766,25 +2257,9 @@ impl ISoftDistExt { } } ::windows_core::imp::interface_hierarchy!(ISoftDistExt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISoftDistExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISoftDistExt {} -impl ::core::fmt::Debug for ISoftDistExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISoftDistExt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISoftDistExt { type Vtable = ISoftDistExt_Vtbl; } -impl ::core::clone::Clone for ISoftDistExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftDistExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb15b8dc1_c7e1_11d0_8680_00aa00bdcb71); } @@ -2802,6 +2277,7 @@ pub struct ISoftDistExt_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriBuilderFactory(::windows_core::IUnknown); impl IUriBuilderFactory { pub unsafe fn CreateIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> ::windows_core::Result { @@ -2814,25 +2290,9 @@ impl IUriBuilderFactory { } } ::windows_core::imp::interface_hierarchy!(IUriBuilderFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUriBuilderFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUriBuilderFactory {} -impl ::core::fmt::Debug for IUriBuilderFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUriBuilderFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUriBuilderFactory { type Vtable = IUriBuilderFactory_Vtbl; } -impl ::core::clone::Clone for IUriBuilderFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriBuilderFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe982ce48_0b96_440c_bc37_0c869b27a29e); } @@ -2845,6 +2305,7 @@ pub struct IUriBuilderFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriContainer(::windows_core::IUnknown); impl IUriContainer { pub unsafe fn GetIUri(&self) -> ::windows_core::Result { @@ -2853,25 +2314,9 @@ impl IUriContainer { } } ::windows_core::imp::interface_hierarchy!(IUriContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUriContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUriContainer {} -impl ::core::fmt::Debug for IUriContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUriContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUriContainer { type Vtable = IUriContainer_Vtbl; } -impl ::core::clone::Clone for IUriContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa158a630_ed6f_45fb_b987_f68676f57752); } @@ -2883,6 +2328,7 @@ pub struct IUriContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetCacheHints(::windows_core::IUnknown); impl IWinInetCacheHints { pub unsafe fn SetCacheExtension(&self, pwzext: P0, pszcachefile: *mut ::core::ffi::c_void, pcbcachefile: *mut u32, pdwwinineterror: *mut u32, pdwreserved: *mut u32) -> ::windows_core::Result<()> @@ -2893,25 +2339,9 @@ impl IWinInetCacheHints { } } ::windows_core::imp::interface_hierarchy!(IWinInetCacheHints, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinInetCacheHints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetCacheHints {} -impl ::core::fmt::Debug for IWinInetCacheHints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetCacheHints").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetCacheHints { type Vtable = IWinInetCacheHints_Vtbl; } -impl ::core::clone::Clone for IWinInetCacheHints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetCacheHints { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd1ec3b3_8391_4fdb_a9e6_347c3caaa7dd); } @@ -2923,6 +2353,7 @@ pub struct IWinInetCacheHints_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetCacheHints2(::windows_core::IUnknown); impl IWinInetCacheHints2 { pub unsafe fn SetCacheExtension(&self, pwzext: P0, pszcachefile: *mut ::core::ffi::c_void, pcbcachefile: *mut u32, pdwwinineterror: *mut u32, pdwreserved: *mut u32) -> ::windows_core::Result<()> @@ -2939,25 +2370,9 @@ impl IWinInetCacheHints2 { } } ::windows_core::imp::interface_hierarchy!(IWinInetCacheHints2, ::windows_core::IUnknown, IWinInetCacheHints); -impl ::core::cmp::PartialEq for IWinInetCacheHints2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetCacheHints2 {} -impl ::core::fmt::Debug for IWinInetCacheHints2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetCacheHints2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetCacheHints2 { type Vtable = IWinInetCacheHints2_Vtbl; } -impl ::core::clone::Clone for IWinInetCacheHints2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetCacheHints2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7857aeac_d31f_49bf_884e_dd46df36780a); } @@ -2969,6 +2384,7 @@ pub struct IWinInetCacheHints2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetFileStream(::windows_core::IUnknown); impl IWinInetFileStream { pub unsafe fn SetHandleForUnlock(&self, hwininetlockhandle: usize, dwreserved: usize) -> ::windows_core::Result<()> { @@ -2979,25 +2395,9 @@ impl IWinInetFileStream { } } ::windows_core::imp::interface_hierarchy!(IWinInetFileStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinInetFileStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetFileStream {} -impl ::core::fmt::Debug for IWinInetFileStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetFileStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetFileStream { type Vtable = IWinInetFileStream_Vtbl; } -impl ::core::clone::Clone for IWinInetFileStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetFileStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf134c4b7_b1f8_4e75_b886_74b90943becb); } @@ -3010,6 +2410,7 @@ pub struct IWinInetFileStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetHttpInfo(::windows_core::IUnknown); impl IWinInetHttpInfo { pub unsafe fn QueryOption(&self, dwoption: u32, pbuffer: *mut ::core::ffi::c_void, pcbbuf: *mut u32) -> ::windows_core::Result<()> { @@ -3020,25 +2421,9 @@ impl IWinInetHttpInfo { } } ::windows_core::imp::interface_hierarchy!(IWinInetHttpInfo, ::windows_core::IUnknown, IWinInetInfo); -impl ::core::cmp::PartialEq for IWinInetHttpInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetHttpInfo {} -impl ::core::fmt::Debug for IWinInetHttpInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetHttpInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetHttpInfo { type Vtable = IWinInetHttpInfo_Vtbl; } -impl ::core::clone::Clone for IWinInetHttpInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetHttpInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d8_bafa_11ce_8c82_00aa004ba90b); } @@ -3050,6 +2435,7 @@ pub struct IWinInetHttpInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetHttpTimeouts(::windows_core::IUnknown); impl IWinInetHttpTimeouts { pub unsafe fn GetRequestTimeouts(&self, pdwconnecttimeout: *mut u32, pdwsendtimeout: *mut u32, pdwreceivetimeout: *mut u32) -> ::windows_core::Result<()> { @@ -3057,25 +2443,9 @@ impl IWinInetHttpTimeouts { } } ::windows_core::imp::interface_hierarchy!(IWinInetHttpTimeouts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinInetHttpTimeouts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetHttpTimeouts {} -impl ::core::fmt::Debug for IWinInetHttpTimeouts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetHttpTimeouts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetHttpTimeouts { type Vtable = IWinInetHttpTimeouts_Vtbl; } -impl ::core::clone::Clone for IWinInetHttpTimeouts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetHttpTimeouts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf286fa56_c1fd_4270_8e67_b3eb790a81e8); } @@ -3087,6 +2457,7 @@ pub struct IWinInetHttpTimeouts_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWinInetInfo(::windows_core::IUnknown); impl IWinInetInfo { pub unsafe fn QueryOption(&self, dwoption: u32, pbuffer: *mut ::core::ffi::c_void, pcbbuf: *mut u32) -> ::windows_core::Result<()> { @@ -3094,25 +2465,9 @@ impl IWinInetInfo { } } ::windows_core::imp::interface_hierarchy!(IWinInetInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWinInetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWinInetInfo {} -impl ::core::fmt::Debug for IWinInetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWinInetInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWinInetInfo { type Vtable = IWinInetInfo_Vtbl; } -impl ::core::clone::Clone for IWinInetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWinInetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d6_bafa_11ce_8c82_00aa004ba90b); } @@ -3124,6 +2479,7 @@ pub struct IWinInetInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowForBindingUI(::windows_core::IUnknown); impl IWindowForBindingUI { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3134,25 +2490,9 @@ impl IWindowForBindingUI { } } ::windows_core::imp::interface_hierarchy!(IWindowForBindingUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWindowForBindingUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowForBindingUI {} -impl ::core::fmt::Debug for IWindowForBindingUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowForBindingUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowForBindingUI { type Vtable = IWindowForBindingUI_Vtbl; } -impl ::core::clone::Clone for IWindowForBindingUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowForBindingUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d5_bafa_11ce_8c82_00aa004ba90b); } @@ -3167,6 +2507,7 @@ pub struct IWindowForBindingUI_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWrappedProtocol(::windows_core::IUnknown); impl IWrappedProtocol { pub unsafe fn GetWrapperCode(&self, pncode: *mut i32, dwreserved: usize) -> ::windows_core::Result<()> { @@ -3174,25 +2515,9 @@ impl IWrappedProtocol { } } ::windows_core::imp::interface_hierarchy!(IWrappedProtocol, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWrappedProtocol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWrappedProtocol {} -impl ::core::fmt::Debug for IWrappedProtocol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWrappedProtocol").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWrappedProtocol { type Vtable = IWrappedProtocol_Vtbl; } -impl ::core::clone::Clone for IWrappedProtocol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWrappedProtocol { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53c84785_8425_4dc5_971b_e58d9c19f9b6); } @@ -3204,6 +2529,7 @@ pub struct IWrappedProtocol_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoneIdentifier(::windows_core::IUnknown); impl IZoneIdentifier { pub unsafe fn GetId(&self) -> ::windows_core::Result { @@ -3218,25 +2544,9 @@ impl IZoneIdentifier { } } ::windows_core::imp::interface_hierarchy!(IZoneIdentifier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IZoneIdentifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IZoneIdentifier {} -impl ::core::fmt::Debug for IZoneIdentifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IZoneIdentifier").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IZoneIdentifier { type Vtable = IZoneIdentifier_Vtbl; } -impl ::core::clone::Clone for IZoneIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoneIdentifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd45f185_1b21_48e2_967b_ead743a8914e); } @@ -3250,6 +2560,7 @@ pub struct IZoneIdentifier_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoneIdentifier2(::windows_core::IUnknown); impl IZoneIdentifier2 { pub unsafe fn GetId(&self) -> ::windows_core::Result { @@ -3287,25 +2598,9 @@ impl IZoneIdentifier2 { } } ::windows_core::imp::interface_hierarchy!(IZoneIdentifier2, ::windows_core::IUnknown, IZoneIdentifier); -impl ::core::cmp::PartialEq for IZoneIdentifier2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IZoneIdentifier2 {} -impl ::core::fmt::Debug for IZoneIdentifier2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IZoneIdentifier2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IZoneIdentifier2 { type Vtable = IZoneIdentifier2_Vtbl; } -impl ::core::clone::Clone for IZoneIdentifier2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoneIdentifier2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb5e760c_09ef_45c0_b510_70830ce31e6a); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs index 6274d1cfd0..b4e5280151 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs @@ -81,8 +81,8 @@ impl AsyncIAdviseSink_Vtbl { Finish_OnClose: Finish_OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl AsyncIAdviseSink2_Vtbl { Finish_OnLinkSrcChange: Finish_OnLinkSrcChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl AsyncIMultiQI_Vtbl { Finish_QueryMultipleInterfaces: Finish_QueryMultipleInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl AsyncIPipeByte_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl AsyncIPipeDouble_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl AsyncIPipeLong_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl AsyncIUnknown_Vtbl { Finish_Release: Finish_Release::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -346,8 +346,8 @@ impl IActivationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleActivation: HandleActivation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IAddrExclusionControl_Vtbl { UpdateAddrExclusionList: UpdateAddrExclusionList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -402,8 +402,8 @@ impl IAddrTrackingControl_Vtbl { DisableCOMDynamicAddrTracking: DisableCOMDynamicAddrTracking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -454,8 +454,8 @@ impl IAdviseSink_Vtbl { OnClose: OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl IAdviseSink2_Vtbl { } Self { base__: IAdviseSink_Vtbl::new::(), OnLinkSrcChange: OnLinkSrcChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IAgileObject_Vtbl { pub const fn new, Impl: IAgileObject_Impl, const OFFSET: isize>() -> IAgileObject_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl IAsyncManager_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -562,8 +562,8 @@ impl IAsyncRpcChannelBuffer_Vtbl { GetDestCtxEx: GetDestCtxEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -583,8 +583,8 @@ impl IAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Authenticate: Authenticate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -604,8 +604,8 @@ impl IAuthenticateEx_Vtbl { } Self { base__: IAuthenticate_Vtbl::new::(), AuthenticateEx: AuthenticateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl IBindCtx_Vtbl { RevokeObjectParam: RevokeObjectParam::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -741,8 +741,8 @@ impl IBindHost_Vtbl { MonikerBindToObject: MonikerBindToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl IBindStatusCallback_Vtbl { OnObjectAvailable: OnObjectAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -841,8 +841,8 @@ impl IBindStatusCallbackEx_Vtbl { } Self { base__: IBindStatusCallback_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -903,8 +903,8 @@ impl IBinding_Vtbl { GetBindResult: GetBindResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -927,8 +927,8 @@ impl IBlockingLock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lock: Lock::, Unlock: Unlock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl ICallFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCall: CreateCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -979,8 +979,8 @@ impl ICancelMethodCalls_Vtbl { TestCancel: TestCancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1065,8 +1065,8 @@ impl ICatInformation_Vtbl { EnumReqCategoriesOfClass: EnumReqCategoriesOfClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1121,8 +1121,8 @@ impl ICatRegister_Vtbl { UnRegisterClassReqCategories: UnRegisterClassReqCategories::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IChannelHook_Vtbl { ServerFillBuffer: ServerFillBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IClassActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassObject: GetClassObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1226,8 +1226,8 @@ impl IClassFactory_Vtbl { LockServer: LockServer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1267,8 +1267,8 @@ impl IClientSecurity_Vtbl { CopyProxy: CopyProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1327,8 +1327,8 @@ impl IComThreadingInfo_Vtbl { SetCurrentLogicalThreadId: SetCurrentLogicalThreadId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl IConnectionPoint_Vtbl { EnumConnections: EnumConnections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1440,8 +1440,8 @@ impl IConnectionPointContainer_Vtbl { FindConnectionPoint: FindConnectionPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IContext_Vtbl { EnumContextProps: EnumContextProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1506,8 +1506,8 @@ impl IContextCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ContextCallback: ContextCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1560,8 +1560,8 @@ impl IDataAdviseHolder_Vtbl { SendOnDataChange: SendOnDataChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1664,8 +1664,8 @@ impl IDataObject_Vtbl { EnumDAdvise: EnumDAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1721,8 +1721,8 @@ impl IDispatch_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1769,8 +1769,8 @@ impl IEnumCATEGORYINFO_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IEnumConnectionPoints_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1865,8 +1865,8 @@ impl IEnumConnections_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1926,8 +1926,8 @@ impl IEnumContextProps_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1974,8 +1974,8 @@ impl IEnumFORMATETC_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2022,8 +2022,8 @@ impl IEnumGUID_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2070,8 +2070,8 @@ impl IEnumMoniker_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IEnumSTATDATA_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2166,8 +2166,8 @@ impl IEnumString_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IEnumUnknown_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2293,8 +2293,8 @@ impl IErrorInfo_Vtbl { GetHelpContext: GetHelpContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IErrorLog_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddError: AddError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2342,8 +2342,8 @@ impl IExternalConnection_Vtbl { ReleaseConnection: ReleaseConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2353,8 +2353,8 @@ impl IFastRundown_Vtbl { pub const fn new, Impl: IFastRundown_Impl, const OFFSET: isize>() -> IFastRundown_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2371,8 +2371,8 @@ impl IForegroundTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowForegroundTransfer: AllowForegroundTransfer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2412,8 +2412,8 @@ impl IGlobalInterfaceTable_Vtbl { GetInterfaceFromGlobal: GetInterfaceFromGlobal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2442,8 +2442,8 @@ impl IGlobalOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2484,8 +2484,8 @@ impl IInitializeSpy_Vtbl { PostUninitialize: PostUninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IInternalUnknown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInternalInterface: QueryInternalInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2543,8 +2543,8 @@ impl IMachineGlobalObjectTable_Vtbl { RevokeObject: RevokeObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2599,8 +2599,8 @@ impl IMalloc_Vtbl { HeapMinimize: HeapMinimize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2700,8 +2700,8 @@ impl IMallocSpy_Vtbl { PostHeapMinimize: PostHeapMinimize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2876,8 +2876,8 @@ impl IMoniker_Vtbl { IsSystemMoniker: IsSystemMoniker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2894,8 +2894,8 @@ impl IMultiQI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryMultipleInterfaces: QueryMultipleInterfaces:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl INoMarshal_Vtbl { pub const fn new, Impl: INoMarshal_Impl, const OFFSET: isize>() -> INoMarshal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2933,8 +2933,8 @@ impl IOplockStorage_Vtbl { OpenStorageEx: OpenStorageEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2967,8 +2967,8 @@ impl IPSFactoryBuffer_Vtbl { CreateStub: CreateStub::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2991,8 +2991,8 @@ impl IPersist_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassID: GetClassID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3049,8 +3049,8 @@ impl IPersistFile_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl IPersistMemory_Vtbl { InitNew: InitNew::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3158,8 +3158,8 @@ impl IPersistStream_Vtbl { GetSizeMax: GetSizeMax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3216,8 +3216,8 @@ impl IPersistStreamInit_Vtbl { InitNew: InitNew::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3240,8 +3240,8 @@ impl IPipeByte_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3264,8 +3264,8 @@ impl IPipeDouble_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3288,8 +3288,8 @@ impl IPipeLong_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3306,8 +3306,8 @@ impl IProcessInitControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetInitializerTimeout: ResetInitializerTimeout:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3334,8 +3334,8 @@ impl IProcessLock_Vtbl { ReleaseRefOnProcess: ReleaseRefOnProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3355,8 +3355,8 @@ impl IProgressNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProgress: OnProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3373,8 +3373,8 @@ impl IROTData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetComparisonData: GetComparisonData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3391,8 +3391,8 @@ impl IReleaseMarshalBuffers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReleaseMarshalBuffer: ReleaseMarshalBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3440,8 +3440,8 @@ impl IRpcChannelBuffer_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3464,8 +3464,8 @@ impl IRpcChannelBuffer2_Vtbl { } Self { base__: IRpcChannelBuffer_Vtbl::new::(), GetProtocolVersion: GetProtocolVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3533,8 +3533,8 @@ impl IRpcChannelBuffer3_Vtbl { RegisterAsync: RegisterAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IRpcHelper_Vtbl { GetIIDFromOBJREF: GetIIDFromOBJREF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3603,8 +3603,8 @@ impl IRpcOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3631,8 +3631,8 @@ impl IRpcProxyBuffer_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IRpcStubBuffer_Vtbl { DebugServerRelease: DebugServerRelease::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3712,8 +3712,8 @@ impl IRpcSyntaxNegotiate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NegotiateSyntax: NegotiateSyntax:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3770,8 +3770,8 @@ impl IRunnableObject_Vtbl { SetContainedObject: SetContainedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3860,8 +3860,8 @@ impl IRunningObjectTable_Vtbl { EnumRunning: EnumRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3884,8 +3884,8 @@ impl ISequentialStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3929,8 +3929,8 @@ impl IServerSecurity_Vtbl { IsImpersonating: IsImpersonating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryService: QueryService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3971,8 +3971,8 @@ impl IStdMarshalInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassForHandler: GetClassForHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4057,8 +4057,8 @@ impl IStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4068,8 +4068,8 @@ impl ISupportAllowLowerTrustActivation_Vtbl { pub const fn new, Impl: ISupportAllowLowerTrustActivation_Impl, const OFFSET: isize>() -> ISupportAllowLowerTrustActivation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4089,8 +4089,8 @@ impl ISupportErrorInfo_Vtbl { InterfaceSupportsErrorInfo: InterfaceSupportsErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4117,8 +4117,8 @@ impl ISurrogate_Vtbl { FreeSurrogate: FreeSurrogate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4175,8 +4175,8 @@ impl ISurrogateService_Vtbl { ProcessShutdown: ProcessShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4210,8 +4210,8 @@ impl ISynchronize_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4244,8 +4244,8 @@ impl ISynchronizeContainer_Vtbl { WaitMultiple: WaitMultiple::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4265,8 +4265,8 @@ impl ISynchronizeEvent_Vtbl { } Self { base__: ISynchronizeHandle_Vtbl::new::(), SetEventHandle: SetEventHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4292,8 +4292,8 @@ impl ISynchronizeHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4310,8 +4310,8 @@ impl ISynchronizeMutex_Vtbl { } Self { base__: ISynchronize_Vtbl::new::(), ReleaseMutex: ReleaseMutex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4328,8 +4328,8 @@ impl ITimeAndNoticeControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuppressChanges: SuppressChanges:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4359,8 +4359,8 @@ impl ITypeComp_Vtbl { BindType: BindType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4557,8 +4557,8 @@ impl ITypeInfo_Vtbl { ReleaseVarDesc: ReleaseVarDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4763,8 +4763,8 @@ impl ITypeInfo2_Vtbl { GetAllImplTypeCustData: GetAllImplTypeCustData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4880,8 +4880,8 @@ impl ITypeLib_Vtbl { ReleaseTLibAttr: ReleaseTLibAttr::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4937,8 +4937,8 @@ impl ITypeLib2_Vtbl { GetAllCustData: GetAllCustData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5055,8 +5055,8 @@ impl ITypeLibRegistration_Vtbl { GetHelpDir: GetHelpDir::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5079,8 +5079,8 @@ impl ITypeLibRegistrationReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumTypeLibRegistrations: EnumTypeLibRegistrations:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5403,8 +5403,8 @@ impl IUri_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5611,8 +5611,8 @@ impl IUriBuilder_Vtbl { HasBeenModified: HasBeenModified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5629,8 +5629,8 @@ impl IUrlMon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncGetClassBits: AsyncGetClassBits:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5663,7 +5663,7 @@ impl IWaitMultiple_Vtbl { AddSynchronize: AddSynchronize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs index 6e588809f9..b050e78474 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -934,6 +934,7 @@ pub unsafe fn StringFromIID(rclsid: *const ::windows_core::GUID) -> ::windows_co } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIAdviseSink(::windows_core::IUnknown); impl AsyncIAdviseSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -973,25 +974,9 @@ impl AsyncIAdviseSink { } } ::windows_core::imp::interface_hierarchy!(AsyncIAdviseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIAdviseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIAdviseSink {} -impl ::core::fmt::Debug for AsyncIAdviseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIAdviseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIAdviseSink { type Vtable = AsyncIAdviseSink_Vtbl; } -impl ::core::clone::Clone for AsyncIAdviseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIAdviseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000150_0000_0000_c000_000000000046); } @@ -1015,6 +1000,7 @@ pub struct AsyncIAdviseSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIAdviseSink2(::windows_core::IUnknown); impl AsyncIAdviseSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1063,25 +1049,9 @@ impl AsyncIAdviseSink2 { } } ::windows_core::imp::interface_hierarchy!(AsyncIAdviseSink2, ::windows_core::IUnknown, AsyncIAdviseSink); -impl ::core::cmp::PartialEq for AsyncIAdviseSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIAdviseSink2 {} -impl ::core::fmt::Debug for AsyncIAdviseSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIAdviseSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIAdviseSink2 { type Vtable = AsyncIAdviseSink2_Vtbl; } -impl ::core::clone::Clone for AsyncIAdviseSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIAdviseSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000151_0000_0000_c000_000000000046); } @@ -1094,6 +1064,7 @@ pub struct AsyncIAdviseSink2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIMultiQI(::windows_core::IUnknown); impl AsyncIMultiQI { pub unsafe fn Begin_QueryMultipleInterfaces(&self, pmqis: &mut [MULTI_QI]) -> ::windows_core::Result<()> { @@ -1104,25 +1075,9 @@ impl AsyncIMultiQI { } } ::windows_core::imp::interface_hierarchy!(AsyncIMultiQI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIMultiQI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIMultiQI {} -impl ::core::fmt::Debug for AsyncIMultiQI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIMultiQI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIMultiQI { type Vtable = AsyncIMultiQI_Vtbl; } -impl ::core::clone::Clone for AsyncIMultiQI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIMultiQI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000e0020_0000_0000_c000_000000000046); } @@ -1135,6 +1090,7 @@ pub struct AsyncIMultiQI_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIPipeByte(::windows_core::IUnknown); impl AsyncIPipeByte { pub unsafe fn Begin_Pull(&self, crequest: u32) -> ::windows_core::Result<()> { @@ -1151,25 +1107,9 @@ impl AsyncIPipeByte { } } ::windows_core::imp::interface_hierarchy!(AsyncIPipeByte, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIPipeByte { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIPipeByte {} -impl ::core::fmt::Debug for AsyncIPipeByte { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIPipeByte").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIPipeByte { type Vtable = AsyncIPipeByte_Vtbl; } -impl ::core::clone::Clone for AsyncIPipeByte { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIPipeByte { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3acb_2f86_11d1_8e04_00c04fb9989a); } @@ -1184,6 +1124,7 @@ pub struct AsyncIPipeByte_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIPipeDouble(::windows_core::IUnknown); impl AsyncIPipeDouble { pub unsafe fn Begin_Pull(&self, crequest: u32) -> ::windows_core::Result<()> { @@ -1200,25 +1141,9 @@ impl AsyncIPipeDouble { } } ::windows_core::imp::interface_hierarchy!(AsyncIPipeDouble, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIPipeDouble { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIPipeDouble {} -impl ::core::fmt::Debug for AsyncIPipeDouble { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIPipeDouble").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIPipeDouble { type Vtable = AsyncIPipeDouble_Vtbl; } -impl ::core::clone::Clone for AsyncIPipeDouble { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIPipeDouble { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3acf_2f86_11d1_8e04_00c04fb9989a); } @@ -1233,6 +1158,7 @@ pub struct AsyncIPipeDouble_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIPipeLong(::windows_core::IUnknown); impl AsyncIPipeLong { pub unsafe fn Begin_Pull(&self, crequest: u32) -> ::windows_core::Result<()> { @@ -1249,25 +1175,9 @@ impl AsyncIPipeLong { } } ::windows_core::imp::interface_hierarchy!(AsyncIPipeLong, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIPipeLong { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIPipeLong {} -impl ::core::fmt::Debug for AsyncIPipeLong { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIPipeLong").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIPipeLong { type Vtable = AsyncIPipeLong_Vtbl; } -impl ::core::clone::Clone for AsyncIPipeLong { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIPipeLong { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3acd_2f86_11d1_8e04_00c04fb9989a); } @@ -1282,6 +1192,7 @@ pub struct AsyncIPipeLong_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIUnknown(::windows_core::IUnknown); impl AsyncIUnknown { pub unsafe fn Begin_QueryInterface(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1304,25 +1215,9 @@ impl AsyncIUnknown { } } ::windows_core::imp::interface_hierarchy!(AsyncIUnknown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIUnknown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIUnknown {} -impl ::core::fmt::Debug for AsyncIUnknown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIUnknown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIUnknown { type Vtable = AsyncIUnknown_Vtbl; } -impl ::core::clone::Clone for AsyncIUnknown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIUnknown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000e0000_0000_0000_c000_000000000046); } @@ -1339,6 +1234,7 @@ pub struct AsyncIUnknown_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationFilter(::windows_core::IUnknown); impl IActivationFilter { pub unsafe fn HandleActivation(&self, dwactivationtype: u32, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::GUID> { @@ -1347,25 +1243,9 @@ impl IActivationFilter { } } ::windows_core::imp::interface_hierarchy!(IActivationFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActivationFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivationFilter {} -impl ::core::fmt::Debug for IActivationFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivationFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActivationFilter { type Vtable = IActivationFilter_Vtbl; } -impl ::core::clone::Clone for IActivationFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000017_0000_0000_c000_000000000046); } @@ -1377,6 +1257,7 @@ pub struct IActivationFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddrExclusionControl(::windows_core::IUnknown); impl IAddrExclusionControl { pub unsafe fn GetCurrentAddrExclusionList(&self, riid: *const ::windows_core::GUID, ppenumerator: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1390,25 +1271,9 @@ impl IAddrExclusionControl { } } ::windows_core::imp::interface_hierarchy!(IAddrExclusionControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAddrExclusionControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAddrExclusionControl {} -impl ::core::fmt::Debug for IAddrExclusionControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAddrExclusionControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAddrExclusionControl { type Vtable = IAddrExclusionControl_Vtbl; } -impl ::core::clone::Clone for IAddrExclusionControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddrExclusionControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000148_0000_0000_c000_000000000046); } @@ -1421,6 +1286,7 @@ pub struct IAddrExclusionControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAddrTrackingControl(::windows_core::IUnknown); impl IAddrTrackingControl { pub unsafe fn EnableCOMDynamicAddrTracking(&self) -> ::windows_core::Result<()> { @@ -1431,25 +1297,9 @@ impl IAddrTrackingControl { } } ::windows_core::imp::interface_hierarchy!(IAddrTrackingControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAddrTrackingControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAddrTrackingControl {} -impl ::core::fmt::Debug for IAddrTrackingControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAddrTrackingControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAddrTrackingControl { type Vtable = IAddrTrackingControl_Vtbl; } -impl ::core::clone::Clone for IAddrTrackingControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAddrTrackingControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000147_0000_0000_c000_000000000046); } @@ -1462,6 +1312,7 @@ pub struct IAddrTrackingControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdviseSink(::windows_core::IUnknown); impl IAdviseSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1486,25 +1337,9 @@ impl IAdviseSink { } } ::windows_core::imp::interface_hierarchy!(IAdviseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAdviseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdviseSink {} -impl ::core::fmt::Debug for IAdviseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdviseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAdviseSink { type Vtable = IAdviseSink_Vtbl; } -impl ::core::clone::Clone for IAdviseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdviseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010f_0000_0000_c000_000000000046); } @@ -1523,6 +1358,7 @@ pub struct IAdviseSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdviseSink2(::windows_core::IUnknown); impl IAdviseSink2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1553,25 +1389,9 @@ impl IAdviseSink2 { } } ::windows_core::imp::interface_hierarchy!(IAdviseSink2, ::windows_core::IUnknown, IAdviseSink); -impl ::core::cmp::PartialEq for IAdviseSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAdviseSink2 {} -impl ::core::fmt::Debug for IAdviseSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdviseSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAdviseSink2 { type Vtable = IAdviseSink2_Vtbl; } -impl ::core::clone::Clone for IAdviseSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAdviseSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000125_0000_0000_c000_000000000046); } @@ -1583,28 +1403,13 @@ pub struct IAdviseSink2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAgileObject(::windows_core::IUnknown); impl IAgileObject {} ::windows_core::imp::interface_hierarchy!(IAgileObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAgileObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAgileObject {} -impl ::core::fmt::Debug for IAgileObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAgileObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAgileObject { type Vtable = IAgileObject_Vtbl; } -impl ::core::clone::Clone for IAgileObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAgileObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); } @@ -1615,6 +1420,7 @@ pub struct IAgileObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncManager(::windows_core::IUnknown); impl IAsyncManager { pub unsafe fn CompleteCall(&self, result: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -1629,25 +1435,9 @@ impl IAsyncManager { } } ::windows_core::imp::interface_hierarchy!(IAsyncManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAsyncManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncManager {} -impl ::core::fmt::Debug for IAsyncManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncManager { type Vtable = IAsyncManager_Vtbl; } -impl ::core::clone::Clone for IAsyncManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000002a_0000_0000_c000_000000000046); } @@ -1661,6 +1451,7 @@ pub struct IAsyncManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncRpcChannelBuffer(::windows_core::IUnknown); impl IAsyncRpcChannelBuffer { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1696,25 +1487,9 @@ impl IAsyncRpcChannelBuffer { } } ::windows_core::imp::interface_hierarchy!(IAsyncRpcChannelBuffer, ::windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); -impl ::core::cmp::PartialEq for IAsyncRpcChannelBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncRpcChannelBuffer {} -impl ::core::fmt::Debug for IAsyncRpcChannelBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncRpcChannelBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncRpcChannelBuffer { type Vtable = IAsyncRpcChannelBuffer_Vtbl; } -impl ::core::clone::Clone for IAsyncRpcChannelBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncRpcChannelBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5029fb6_3c34_11d1_9c99_00c04fb998aa); } @@ -1728,6 +1503,7 @@ pub struct IAsyncRpcChannelBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAuthenticate(::windows_core::IUnknown); impl IAuthenticate { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1737,25 +1513,9 @@ impl IAuthenticate { } } ::windows_core::imp::interface_hierarchy!(IAuthenticate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAuthenticate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAuthenticate {} -impl ::core::fmt::Debug for IAuthenticate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAuthenticate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAuthenticate { type Vtable = IAuthenticate_Vtbl; } -impl ::core::clone::Clone for IAuthenticate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAuthenticate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9d0_baf9_11ce_8c82_00aa004ba90b); } @@ -1770,6 +1530,7 @@ pub struct IAuthenticate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAuthenticateEx(::windows_core::IUnknown); impl IAuthenticateEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1784,25 +1545,9 @@ impl IAuthenticateEx { } } ::windows_core::imp::interface_hierarchy!(IAuthenticateEx, ::windows_core::IUnknown, IAuthenticate); -impl ::core::cmp::PartialEq for IAuthenticateEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAuthenticateEx {} -impl ::core::fmt::Debug for IAuthenticateEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAuthenticateEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAuthenticateEx { type Vtable = IAuthenticateEx_Vtbl; } -impl ::core::clone::Clone for IAuthenticateEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAuthenticateEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ad1edaf_d83d_48b5_9adf_03dbe19f53bd); } @@ -1817,6 +1562,7 @@ pub struct IAuthenticateEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindCtx(::windows_core::IUnknown); impl IBindCtx { pub unsafe fn RegisterObjectBound(&self, punk: P0) -> ::windows_core::Result<()> @@ -1870,25 +1616,9 @@ impl IBindCtx { } } ::windows_core::imp::interface_hierarchy!(IBindCtx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindCtx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindCtx {} -impl ::core::fmt::Debug for IBindCtx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindCtx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindCtx { type Vtable = IBindCtx_Vtbl; } -impl ::core::clone::Clone for IBindCtx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindCtx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000e_0000_0000_c000_000000000046); } @@ -1909,6 +1639,7 @@ pub struct IBindCtx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindHost(::windows_core::IUnknown); impl IBindHost { pub unsafe fn CreateMoniker(&self, szname: P0, pbc: P1, ppmk: *mut ::core::option::Option, dwreserved: u32) -> ::windows_core::Result<()> @@ -1936,25 +1667,9 @@ impl IBindHost { } } ::windows_core::imp::interface_hierarchy!(IBindHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindHost {} -impl ::core::fmt::Debug for IBindHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindHost { type Vtable = IBindHost_Vtbl; } -impl ::core::clone::Clone for IBindHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc4801a1_2ba9_11cf_a229_00aa003d7352); } @@ -1968,6 +1683,7 @@ pub struct IBindHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindStatusCallback(::windows_core::IUnknown); impl IBindStatusCallback { pub unsafe fn OnStartBinding(&self, dwreserved: u32, pib: P0) -> ::windows_core::Result<()> @@ -2013,25 +1729,9 @@ impl IBindStatusCallback { } } ::windows_core::imp::interface_hierarchy!(IBindStatusCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindStatusCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindStatusCallback {} -impl ::core::fmt::Debug for IBindStatusCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindStatusCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindStatusCallback { type Vtable = IBindStatusCallback_Vtbl; } -impl ::core::clone::Clone for IBindStatusCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindStatusCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c1_baf9_11ce_8c82_00aa004ba90b); } @@ -2056,6 +1756,7 @@ pub struct IBindStatusCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindStatusCallbackEx(::windows_core::IUnknown); impl IBindStatusCallbackEx { pub unsafe fn OnStartBinding(&self, dwreserved: u32, pib: P0) -> ::windows_core::Result<()> @@ -2106,25 +1807,9 @@ impl IBindStatusCallbackEx { } } ::windows_core::imp::interface_hierarchy!(IBindStatusCallbackEx, ::windows_core::IUnknown, IBindStatusCallback); -impl ::core::cmp::PartialEq for IBindStatusCallbackEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindStatusCallbackEx {} -impl ::core::fmt::Debug for IBindStatusCallbackEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindStatusCallbackEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindStatusCallbackEx { type Vtable = IBindStatusCallbackEx_Vtbl; } -impl ::core::clone::Clone for IBindStatusCallbackEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindStatusCallbackEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaaa74ef9_8ee7_4659_88d9_f8c504da73cc); } @@ -2139,6 +1824,7 @@ pub struct IBindStatusCallbackEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBinding(::windows_core::IUnknown); impl IBinding { pub unsafe fn Abort(&self) -> ::windows_core::Result<()> { @@ -2162,25 +1848,9 @@ impl IBinding { } } ::windows_core::imp::interface_hierarchy!(IBinding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBinding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBinding {} -impl ::core::fmt::Debug for IBinding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBinding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBinding { type Vtable = IBinding_Vtbl; } -impl ::core::clone::Clone for IBinding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBinding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c0_baf9_11ce_8c82_00aa004ba90b); } @@ -2197,6 +1867,7 @@ pub struct IBinding_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBlockingLock(::windows_core::IUnknown); impl IBlockingLock { pub unsafe fn Lock(&self, dwtimeout: u32) -> ::windows_core::Result<()> { @@ -2207,25 +1878,9 @@ impl IBlockingLock { } } ::windows_core::imp::interface_hierarchy!(IBlockingLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBlockingLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBlockingLock {} -impl ::core::fmt::Debug for IBlockingLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBlockingLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBlockingLock { type Vtable = IBlockingLock_Vtbl; } -impl ::core::clone::Clone for IBlockingLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBlockingLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30f3d47a_6447_11d1_8e3c_00c04fb9386d); } @@ -2238,6 +1893,7 @@ pub struct IBlockingLock_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICallFactory(::windows_core::IUnknown); impl ICallFactory { pub unsafe fn CreateCall(&self, riid: *const ::windows_core::GUID, pctrlunk: P0, riid2: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -2249,25 +1905,9 @@ impl ICallFactory { } } ::windows_core::imp::interface_hierarchy!(ICallFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICallFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICallFactory {} -impl ::core::fmt::Debug for ICallFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICallFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICallFactory { type Vtable = ICallFactory_Vtbl; } -impl ::core::clone::Clone for ICallFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICallFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c733a30_2a1c_11ce_ade5_00aa0044773d); } @@ -2279,6 +1919,7 @@ pub struct ICallFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICancelMethodCalls(::windows_core::IUnknown); impl ICancelMethodCalls { pub unsafe fn Cancel(&self, ulseconds: u32) -> ::windows_core::Result<()> { @@ -2289,25 +1930,9 @@ impl ICancelMethodCalls { } } ::windows_core::imp::interface_hierarchy!(ICancelMethodCalls, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICancelMethodCalls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICancelMethodCalls {} -impl ::core::fmt::Debug for ICancelMethodCalls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICancelMethodCalls").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICancelMethodCalls { type Vtable = ICancelMethodCalls_Vtbl; } -impl ::core::clone::Clone for ICancelMethodCalls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICancelMethodCalls { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000029_0000_0000_c000_000000000046); } @@ -2320,6 +1945,7 @@ pub struct ICancelMethodCalls_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatInformation(::windows_core::IUnknown); impl ICatInformation { pub unsafe fn EnumCategories(&self, lcid: u32) -> ::windows_core::Result { @@ -2347,25 +1973,9 @@ impl ICatInformation { } } ::windows_core::imp::interface_hierarchy!(ICatInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICatInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICatInformation {} -impl ::core::fmt::Debug for ICatInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICatInformation { type Vtable = ICatInformation_Vtbl; } -impl ::core::clone::Clone for ICatInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICatInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002e013_0000_0000_c000_000000000046); } @@ -2382,6 +1992,7 @@ pub struct ICatInformation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatRegister(::windows_core::IUnknown); impl ICatRegister { pub unsafe fn RegisterCategories(&self, rgcategoryinfo: &[CATEGORYINFO]) -> ::windows_core::Result<()> { @@ -2404,25 +2015,9 @@ impl ICatRegister { } } ::windows_core::imp::interface_hierarchy!(ICatRegister, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICatRegister { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICatRegister {} -impl ::core::fmt::Debug for ICatRegister { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatRegister").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICatRegister { type Vtable = ICatRegister_Vtbl; } -impl ::core::clone::Clone for ICatRegister { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICatRegister { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002e012_0000_0000_c000_000000000046); } @@ -2439,6 +2034,7 @@ pub struct ICatRegister_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChannelHook(::windows_core::IUnknown); impl IChannelHook { pub unsafe fn ClientGetSize(&self, uextent: *const ::windows_core::GUID, riid: *const ::windows_core::GUID) -> u32 { @@ -2465,25 +2061,9 @@ impl IChannelHook { } } ::windows_core::imp::interface_hierarchy!(IChannelHook, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IChannelHook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChannelHook {} -impl ::core::fmt::Debug for IChannelHook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChannelHook").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChannelHook { type Vtable = IChannelHook_Vtbl; } -impl ::core::clone::Clone for IChannelHook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChannelHook { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1008c4a0_7613_11cf_9af1_0020af6e72f4); } @@ -2500,6 +2080,7 @@ pub struct IChannelHook_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClassActivator(::windows_core::IUnknown); impl IClassActivator { pub unsafe fn GetClassObject(&self, rclsid: *const ::windows_core::GUID, dwclasscontext: u32, locale: u32) -> ::windows_core::Result @@ -2511,24 +2092,8 @@ impl IClassActivator { } } ::windows_core::imp::interface_hierarchy!(IClassActivator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClassActivator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClassActivator {} -impl ::core::fmt::Debug for IClassActivator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClassActivator").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IClassActivator { - type Vtable = IClassActivator_Vtbl; -} -impl ::core::clone::Clone for IClassActivator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IClassActivator { + type Vtable = IClassActivator_Vtbl; } unsafe impl ::windows_core::ComInterface for IClassActivator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000140_0000_0000_c000_000000000046); @@ -2541,6 +2106,7 @@ pub struct IClassActivator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClassFactory(::windows_core::IUnknown); impl IClassFactory { pub unsafe fn CreateInstance(&self, punkouter: P0) -> ::windows_core::Result @@ -2561,25 +2127,9 @@ impl IClassFactory { } } ::windows_core::imp::interface_hierarchy!(IClassFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClassFactory {} -impl ::core::fmt::Debug for IClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClassFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClassFactory { type Vtable = IClassFactory_Vtbl; } -impl ::core::clone::Clone for IClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000001_0000_0000_c000_000000000046); } @@ -2595,6 +2145,7 @@ pub struct IClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClientSecurity(::windows_core::IUnknown); impl IClientSecurity { pub unsafe fn QueryBlanket(&self, pproxy: P0, pauthnsvc: *mut u32, pauthzsvc: ::core::option::Option<*mut u32>, pserverprincname: *mut *mut u16, pauthnlevel: ::core::option::Option<*mut RPC_C_AUTHN_LEVEL>, pimplevel: ::core::option::Option<*mut RPC_C_IMP_LEVEL>, pauthinfo: *mut *mut ::core::ffi::c_void, pcapabilites: EOLE_AUTHENTICATION_CAPABILITIES) -> ::windows_core::Result<()> @@ -2619,25 +2170,9 @@ impl IClientSecurity { } } ::windows_core::imp::interface_hierarchy!(IClientSecurity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClientSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClientSecurity {} -impl ::core::fmt::Debug for IClientSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClientSecurity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClientSecurity { type Vtable = IClientSecurity_Vtbl; } -impl ::core::clone::Clone for IClientSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClientSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000013d_0000_0000_c000_000000000046); } @@ -2651,6 +2186,7 @@ pub struct IClientSecurity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComThreadingInfo(::windows_core::IUnknown); impl IComThreadingInfo { pub unsafe fn GetCurrentApartmentType(&self) -> ::windows_core::Result { @@ -2670,25 +2206,9 @@ impl IComThreadingInfo { } } ::windows_core::imp::interface_hierarchy!(IComThreadingInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComThreadingInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComThreadingInfo {} -impl ::core::fmt::Debug for IComThreadingInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComThreadingInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComThreadingInfo { type Vtable = IComThreadingInfo_Vtbl; } -impl ::core::clone::Clone for IComThreadingInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComThreadingInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001ce_0000_0000_c000_000000000046); } @@ -2703,6 +2223,7 @@ pub struct IComThreadingInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionPoint(::windows_core::IUnknown); impl IConnectionPoint { pub unsafe fn GetConnectionInterface(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2729,25 +2250,9 @@ impl IConnectionPoint { } } ::windows_core::imp::interface_hierarchy!(IConnectionPoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConnectionPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnectionPoint {} -impl ::core::fmt::Debug for IConnectionPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnectionPoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnectionPoint { type Vtable = IConnectionPoint_Vtbl; } -impl ::core::clone::Clone for IConnectionPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b286_bab4_101a_b69c_00aa00341d07); } @@ -2763,6 +2268,7 @@ pub struct IConnectionPoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectionPointContainer(::windows_core::IUnknown); impl IConnectionPointContainer { pub unsafe fn EnumConnectionPoints(&self) -> ::windows_core::Result { @@ -2775,25 +2281,9 @@ impl IConnectionPointContainer { } } ::windows_core::imp::interface_hierarchy!(IConnectionPointContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConnectionPointContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnectionPointContainer {} -impl ::core::fmt::Debug for IConnectionPointContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnectionPointContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnectionPointContainer { type Vtable = IConnectionPointContainer_Vtbl; } -impl ::core::clone::Clone for IConnectionPointContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectionPointContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b284_bab4_101a_b69c_00aa00341d07); } @@ -2806,6 +2296,7 @@ pub struct IConnectionPointContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContext(::windows_core::IUnknown); impl IContext { pub unsafe fn SetProperty(&self, rpolicyid: *const ::windows_core::GUID, flags: u32, punk: P0) -> ::windows_core::Result<()> @@ -2826,25 +2317,9 @@ impl IContext { } } ::windows_core::imp::interface_hierarchy!(IContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContext {} -impl ::core::fmt::Debug for IContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContext { type Vtable = IContext_Vtbl; } -impl ::core::clone::Clone for IContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001c0_0000_0000_c000_000000000046); } @@ -2859,6 +2334,7 @@ pub struct IContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextCallback(::windows_core::IUnknown); impl IContextCallback { pub unsafe fn ContextCallback(&self, pfncallback: PFNCONTEXTCALL, pparam: *const ComCallData, riid: *const ::windows_core::GUID, imethod: i32, punk: P0) -> ::windows_core::Result<()> @@ -2869,25 +2345,9 @@ impl IContextCallback { } } ::windows_core::imp::interface_hierarchy!(IContextCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextCallback {} -impl ::core::fmt::Debug for IContextCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextCallback { type Vtable = IContextCallback_Vtbl; } -impl ::core::clone::Clone for IContextCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001da_0000_0000_c000_000000000046); } @@ -2899,6 +2359,7 @@ pub struct IContextCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataAdviseHolder(::windows_core::IUnknown); impl IDataAdviseHolder { pub unsafe fn Advise(&self, pdataobject: P0, pfetc: *const FORMATETC, advf: u32, padvise: P1) -> ::windows_core::Result @@ -2924,25 +2385,9 @@ impl IDataAdviseHolder { } } ::windows_core::imp::interface_hierarchy!(IDataAdviseHolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataAdviseHolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataAdviseHolder {} -impl ::core::fmt::Debug for IDataAdviseHolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataAdviseHolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataAdviseHolder { type Vtable = IDataAdviseHolder_Vtbl; } -impl ::core::clone::Clone for IDataAdviseHolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataAdviseHolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000110_0000_0000_c000_000000000046); } @@ -2957,6 +2402,7 @@ pub struct IDataAdviseHolder_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataObject(::windows_core::IUnknown); impl IDataObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3004,25 +2450,9 @@ impl IDataObject { } } ::windows_core::imp::interface_hierarchy!(IDataObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataObject {} -impl ::core::fmt::Debug for IDataObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataObject { type Vtable = IDataObject_Vtbl; } -impl ::core::clone::Clone for IDataObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010e_0000_0000_c000_000000000046); } @@ -3051,6 +2481,7 @@ pub struct IDataObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatch(::windows_core::IUnknown); impl IDispatch { pub unsafe fn GetTypeInfoCount(&self) -> ::windows_core::Result { @@ -3071,25 +2502,9 @@ impl IDispatch { } } ::windows_core::imp::interface_hierarchy!(IDispatch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDispatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDispatch {} -impl ::core::fmt::Debug for IDispatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispatch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDispatch { type Vtable = IDispatch_Vtbl; } -impl ::core::clone::Clone for IDispatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020400_0000_0000_c000_000000000046); } @@ -3107,6 +2522,7 @@ pub struct IDispatch_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumCATEGORYINFO(::windows_core::IUnknown); impl IEnumCATEGORYINFO { pub unsafe fn Next(&self, rgelt: &mut [CATEGORYINFO], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3124,25 +2540,9 @@ impl IEnumCATEGORYINFO { } } ::windows_core::imp::interface_hierarchy!(IEnumCATEGORYINFO, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumCATEGORYINFO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumCATEGORYINFO {} -impl ::core::fmt::Debug for IEnumCATEGORYINFO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumCATEGORYINFO").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumCATEGORYINFO { type Vtable = IEnumCATEGORYINFO_Vtbl; } -impl ::core::clone::Clone for IEnumCATEGORYINFO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumCATEGORYINFO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002e011_0000_0000_c000_000000000046); } @@ -3157,6 +2557,7 @@ pub struct IEnumCATEGORYINFO_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumConnectionPoints(::windows_core::IUnknown); impl IEnumConnectionPoints { pub unsafe fn Next(&self, ppcp: &mut [::core::option::Option], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3174,25 +2575,9 @@ impl IEnumConnectionPoints { } } ::windows_core::imp::interface_hierarchy!(IEnumConnectionPoints, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumConnectionPoints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumConnectionPoints {} -impl ::core::fmt::Debug for IEnumConnectionPoints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumConnectionPoints").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumConnectionPoints { type Vtable = IEnumConnectionPoints_Vtbl; } -impl ::core::clone::Clone for IEnumConnectionPoints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumConnectionPoints { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b285_bab4_101a_b69c_00aa00341d07); } @@ -3207,6 +2592,7 @@ pub struct IEnumConnectionPoints_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumConnections(::windows_core::IUnknown); impl IEnumConnections { pub unsafe fn Next(&self, rgcd: &mut [CONNECTDATA], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3224,25 +2610,9 @@ impl IEnumConnections { } } ::windows_core::imp::interface_hierarchy!(IEnumConnections, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumConnections { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumConnections {} -impl ::core::fmt::Debug for IEnumConnections { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumConnections").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumConnections { type Vtable = IEnumConnections_Vtbl; } -impl ::core::clone::Clone for IEnumConnections { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumConnections { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b287_bab4_101a_b69c_00aa00341d07); } @@ -3257,6 +2627,7 @@ pub struct IEnumConnections_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumContextProps(::windows_core::IUnknown); impl IEnumContextProps { pub unsafe fn Next(&self, pcontextproperties: &mut [ContextProperty], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3278,25 +2649,9 @@ impl IEnumContextProps { } } ::windows_core::imp::interface_hierarchy!(IEnumContextProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumContextProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumContextProps {} -impl ::core::fmt::Debug for IEnumContextProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumContextProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumContextProps { type Vtable = IEnumContextProps_Vtbl; } -impl ::core::clone::Clone for IEnumContextProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumContextProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001c1_0000_0000_c000_000000000046); } @@ -3312,6 +2667,7 @@ pub struct IEnumContextProps_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumFORMATETC(::windows_core::IUnknown); impl IEnumFORMATETC { pub unsafe fn Next(&self, rgelt: &mut [FORMATETC], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -3329,25 +2685,9 @@ impl IEnumFORMATETC { } } ::windows_core::imp::interface_hierarchy!(IEnumFORMATETC, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumFORMATETC { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumFORMATETC {} -impl ::core::fmt::Debug for IEnumFORMATETC { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumFORMATETC").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumFORMATETC { type Vtable = IEnumFORMATETC_Vtbl; } -impl ::core::clone::Clone for IEnumFORMATETC { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumFORMATETC { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000103_0000_0000_c000_000000000046); } @@ -3362,6 +2702,7 @@ pub struct IEnumFORMATETC_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumGUID(::windows_core::IUnknown); impl IEnumGUID { pub unsafe fn Next(&self, rgelt: &mut [::windows_core::GUID], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -3379,25 +2720,9 @@ impl IEnumGUID { } } ::windows_core::imp::interface_hierarchy!(IEnumGUID, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumGUID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumGUID {} -impl ::core::fmt::Debug for IEnumGUID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumGUID").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumGUID { type Vtable = IEnumGUID_Vtbl; } -impl ::core::clone::Clone for IEnumGUID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumGUID { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002e000_0000_0000_c000_000000000046); } @@ -3412,6 +2737,7 @@ pub struct IEnumGUID_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumMoniker(::windows_core::IUnknown); impl IEnumMoniker { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -3429,25 +2755,9 @@ impl IEnumMoniker { } } ::windows_core::imp::interface_hierarchy!(IEnumMoniker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumMoniker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumMoniker {} -impl ::core::fmt::Debug for IEnumMoniker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumMoniker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumMoniker { type Vtable = IEnumMoniker_Vtbl; } -impl ::core::clone::Clone for IEnumMoniker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumMoniker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000102_0000_0000_c000_000000000046); } @@ -3462,6 +2772,7 @@ pub struct IEnumMoniker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSTATDATA(::windows_core::IUnknown); impl IEnumSTATDATA { pub unsafe fn Next(&self, rgelt: &mut [STATDATA], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -3479,25 +2790,9 @@ impl IEnumSTATDATA { } } ::windows_core::imp::interface_hierarchy!(IEnumSTATDATA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSTATDATA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATDATA {} -impl ::core::fmt::Debug for IEnumSTATDATA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATDATA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSTATDATA { type Vtable = IEnumSTATDATA_Vtbl; } -impl ::core::clone::Clone for IEnumSTATDATA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSTATDATA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000105_0000_0000_c000_000000000046); } @@ -3512,6 +2807,7 @@ pub struct IEnumSTATDATA_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumString(::windows_core::IUnknown); impl IEnumString { pub unsafe fn Next(&self, rgelt: &mut [::windows_core::PWSTR], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -3529,25 +2825,9 @@ impl IEnumString { } } ::windows_core::imp::interface_hierarchy!(IEnumString, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumString {} -impl ::core::fmt::Debug for IEnumString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumString").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumString { type Vtable = IEnumString_Vtbl; } -impl ::core::clone::Clone for IEnumString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000101_0000_0000_c000_000000000046); } @@ -3562,6 +2842,7 @@ pub struct IEnumString_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumUnknown(::windows_core::IUnknown); impl IEnumUnknown { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option<::windows_core::IUnknown>], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -3579,25 +2860,9 @@ impl IEnumUnknown { } } ::windows_core::imp::interface_hierarchy!(IEnumUnknown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumUnknown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumUnknown {} -impl ::core::fmt::Debug for IEnumUnknown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumUnknown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumUnknown { type Vtable = IEnumUnknown_Vtbl; } -impl ::core::clone::Clone for IEnumUnknown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumUnknown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000100_0000_0000_c000_000000000046); } @@ -3612,6 +2877,7 @@ pub struct IEnumUnknown_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorInfo(::windows_core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3636,25 +2902,9 @@ impl IErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorInfo {} -impl ::core::fmt::Debug for IErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IErrorInfo { type Vtable = IErrorInfo_Vtbl; } -impl ::core::clone::Clone for IErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cf2b120_547d_101b_8e65_08002b2bd119); } @@ -3670,6 +2920,7 @@ pub struct IErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorLog(::windows_core::IUnknown); impl IErrorLog { pub unsafe fn AddError(&self, pszpropname: P0, pexcepinfo: *const EXCEPINFO) -> ::windows_core::Result<()> @@ -3680,25 +2931,9 @@ impl IErrorLog { } } ::windows_core::imp::interface_hierarchy!(IErrorLog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IErrorLog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorLog {} -impl ::core::fmt::Debug for IErrorLog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorLog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IErrorLog { type Vtable = IErrorLog_Vtbl; } -impl ::core::clone::Clone for IErrorLog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorLog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3127ca40_446e_11ce_8135_00aa004bb851); } @@ -3710,6 +2945,7 @@ pub struct IErrorLog_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExternalConnection(::windows_core::IUnknown); impl IExternalConnection { pub unsafe fn AddConnection(&self, extconn: u32, reserved: u32) -> u32 { @@ -3725,25 +2961,9 @@ impl IExternalConnection { } } ::windows_core::imp::interface_hierarchy!(IExternalConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExternalConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExternalConnection {} -impl ::core::fmt::Debug for IExternalConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExternalConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExternalConnection { type Vtable = IExternalConnection_Vtbl; } -impl ::core::clone::Clone for IExternalConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExternalConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000019_0000_0000_c000_000000000046); } @@ -3759,28 +2979,13 @@ pub struct IExternalConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFastRundown(::windows_core::IUnknown); impl IFastRundown {} ::windows_core::imp::interface_hierarchy!(IFastRundown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFastRundown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFastRundown {} -impl ::core::fmt::Debug for IFastRundown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFastRundown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFastRundown { type Vtable = IFastRundown_Vtbl; } -impl ::core::clone::Clone for IFastRundown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFastRundown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000040_0000_0000_c000_000000000046); } @@ -3791,6 +2996,7 @@ pub struct IFastRundown_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IForegroundTransfer(::windows_core::IUnknown); impl IForegroundTransfer { pub unsafe fn AllowForegroundTransfer(&self, lpvreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { @@ -3798,25 +3004,9 @@ impl IForegroundTransfer { } } ::windows_core::imp::interface_hierarchy!(IForegroundTransfer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IForegroundTransfer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IForegroundTransfer {} -impl ::core::fmt::Debug for IForegroundTransfer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IForegroundTransfer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IForegroundTransfer { type Vtable = IForegroundTransfer_Vtbl; } -impl ::core::clone::Clone for IForegroundTransfer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IForegroundTransfer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000145_0000_0000_c000_000000000046); } @@ -3828,6 +3018,7 @@ pub struct IForegroundTransfer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalInterfaceTable(::windows_core::IUnknown); impl IGlobalInterfaceTable { pub unsafe fn RegisterInterfaceInGlobal(&self, punk: P0, riid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -3845,25 +3036,9 @@ impl IGlobalInterfaceTable { } } ::windows_core::imp::interface_hierarchy!(IGlobalInterfaceTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGlobalInterfaceTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGlobalInterfaceTable {} -impl ::core::fmt::Debug for IGlobalInterfaceTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGlobalInterfaceTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGlobalInterfaceTable { type Vtable = IGlobalInterfaceTable_Vtbl; } -impl ::core::clone::Clone for IGlobalInterfaceTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalInterfaceTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000146_0000_0000_c000_000000000046); } @@ -3877,6 +3052,7 @@ pub struct IGlobalInterfaceTable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGlobalOptions(::windows_core::IUnknown); impl IGlobalOptions { pub unsafe fn Set(&self, dwproperty: GLOBALOPT_PROPERTIES, dwvalue: usize) -> ::windows_core::Result<()> { @@ -3888,25 +3064,9 @@ impl IGlobalOptions { } } ::windows_core::imp::interface_hierarchy!(IGlobalOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGlobalOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGlobalOptions {} -impl ::core::fmt::Debug for IGlobalOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGlobalOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGlobalOptions { type Vtable = IGlobalOptions_Vtbl; } -impl ::core::clone::Clone for IGlobalOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGlobalOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000015b_0000_0000_c000_000000000046); } @@ -3919,6 +3079,7 @@ pub struct IGlobalOptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeSpy(::windows_core::IUnknown); impl IInitializeSpy { pub unsafe fn PreInitialize(&self, dwcoinit: u32, dwcurthreadaptrefs: u32) -> ::windows_core::Result<()> { @@ -3935,25 +3096,9 @@ impl IInitializeSpy { } } ::windows_core::imp::interface_hierarchy!(IInitializeSpy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeSpy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeSpy {} -impl ::core::fmt::Debug for IInitializeSpy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeSpy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeSpy { type Vtable = IInitializeSpy_Vtbl; } -impl ::core::clone::Clone for IInitializeSpy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeSpy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000034_0000_0000_c000_000000000046); } @@ -3968,6 +3113,7 @@ pub struct IInitializeSpy_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternalUnknown(::windows_core::IUnknown); impl IInternalUnknown { pub unsafe fn QueryInternalInterface(&self, riid: *const ::windows_core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3975,25 +3121,9 @@ impl IInternalUnknown { } } ::windows_core::imp::interface_hierarchy!(IInternalUnknown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternalUnknown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternalUnknown {} -impl ::core::fmt::Debug for IInternalUnknown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternalUnknown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternalUnknown { type Vtable = IInternalUnknown_Vtbl; } -impl ::core::clone::Clone for IInternalUnknown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternalUnknown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000021_0000_0000_c000_000000000046); } @@ -4005,6 +3135,7 @@ pub struct IInternalUnknown_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMachineGlobalObjectTable(::windows_core::IUnknown); impl IMachineGlobalObjectTable { pub unsafe fn RegisterObject(&self, clsid: *const ::windows_core::GUID, identifier: P0, object: P1) -> ::windows_core::Result @@ -4026,30 +3157,14 @@ impl IMachineGlobalObjectTable { pub unsafe fn RevokeObject(&self, token: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, - { - (::windows_core::Interface::vtable(self).RevokeObject)(::windows_core::Interface::as_raw(self), token.into_param().abi()).ok() - } -} -::windows_core::imp::interface_hierarchy!(IMachineGlobalObjectTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMachineGlobalObjectTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMachineGlobalObjectTable {} -impl ::core::fmt::Debug for IMachineGlobalObjectTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMachineGlobalObjectTable").field(&self.0).finish() + { + (::windows_core::Interface::vtable(self).RevokeObject)(::windows_core::Interface::as_raw(self), token.into_param().abi()).ok() } } +::windows_core::imp::interface_hierarchy!(IMachineGlobalObjectTable, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IMachineGlobalObjectTable { type Vtable = IMachineGlobalObjectTable_Vtbl; } -impl ::core::clone::Clone for IMachineGlobalObjectTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMachineGlobalObjectTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26d709ac_f70b_4421_a96f_d2878fafb00d); } @@ -4063,6 +3178,7 @@ pub struct IMachineGlobalObjectTable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMalloc(::windows_core::IUnknown); impl IMalloc { pub unsafe fn Alloc(&self, cb: usize) -> *mut ::core::ffi::c_void { @@ -4085,25 +3201,9 @@ impl IMalloc { } } ::windows_core::imp::interface_hierarchy!(IMalloc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMalloc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMalloc {} -impl ::core::fmt::Debug for IMalloc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMalloc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMalloc { type Vtable = IMalloc_Vtbl; } -impl ::core::clone::Clone for IMalloc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMalloc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000002_0000_0000_c000_000000000046); } @@ -4120,6 +3220,7 @@ pub struct IMalloc_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMallocSpy(::windows_core::IUnknown); impl IMallocSpy { pub unsafe fn PreAlloc(&self, cbrequest: usize) -> usize { @@ -4200,25 +3301,9 @@ impl IMallocSpy { } } ::windows_core::imp::interface_hierarchy!(IMallocSpy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMallocSpy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMallocSpy {} -impl ::core::fmt::Debug for IMallocSpy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMallocSpy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMallocSpy { type Vtable = IMallocSpy_Vtbl; } -impl ::core::clone::Clone for IMallocSpy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMallocSpy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000001d_0000_0000_c000_000000000046); } @@ -4265,6 +3350,7 @@ pub struct IMallocSpy_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMoniker(::windows_core::IUnknown); impl IMoniker { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4400,25 +3486,9 @@ impl IMoniker { } } ::windows_core::imp::interface_hierarchy!(IMoniker, ::windows_core::IUnknown, IPersist, IPersistStream); -impl ::core::cmp::PartialEq for IMoniker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMoniker {} -impl ::core::fmt::Debug for IMoniker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMoniker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMoniker { type Vtable = IMoniker_Vtbl; } -impl ::core::clone::Clone for IMoniker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMoniker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000f_0000_0000_c000_000000000046); } @@ -4453,6 +3523,7 @@ pub struct IMoniker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultiQI(::windows_core::IUnknown); impl IMultiQI { pub unsafe fn QueryMultipleInterfaces(&self, pmqis: &mut [MULTI_QI]) -> ::windows_core::Result<()> { @@ -4460,25 +3531,9 @@ impl IMultiQI { } } ::windows_core::imp::interface_hierarchy!(IMultiQI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultiQI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultiQI {} -impl ::core::fmt::Debug for IMultiQI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultiQI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultiQI { type Vtable = IMultiQI_Vtbl; } -impl ::core::clone::Clone for IMultiQI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultiQI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000020_0000_0000_c000_000000000046); } @@ -4490,28 +3545,13 @@ pub struct IMultiQI_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INoMarshal(::windows_core::IUnknown); impl INoMarshal {} ::windows_core::imp::interface_hierarchy!(INoMarshal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INoMarshal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INoMarshal {} -impl ::core::fmt::Debug for INoMarshal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INoMarshal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INoMarshal { type Vtable = INoMarshal_Vtbl; } -impl ::core::clone::Clone for INoMarshal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INoMarshal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xecc8691b_c1db_4dc0_855e_65f6c551af49); } @@ -4522,6 +3562,7 @@ pub struct INoMarshal_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOplockStorage(::windows_core::IUnknown); impl IOplockStorage { pub unsafe fn CreateStorageEx(&self, pwcsname: P0, grfmode: u32, stgfmt: u32, grfattrs: u32) -> ::windows_core::Result @@ -4542,25 +3583,9 @@ impl IOplockStorage { } } ::windows_core::imp::interface_hierarchy!(IOplockStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOplockStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOplockStorage {} -impl ::core::fmt::Debug for IOplockStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOplockStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOplockStorage { type Vtable = IOplockStorage_Vtbl; } -impl ::core::clone::Clone for IOplockStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOplockStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d19c834_8879_11d1_83e9_00c04fc2c6d4); } @@ -4573,6 +3598,7 @@ pub struct IOplockStorage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPSFactoryBuffer(::windows_core::IUnknown); impl IPSFactoryBuffer { pub unsafe fn CreateProxy(&self, punkouter: P0, riid: *const ::windows_core::GUID, ppproxy: *mut ::core::option::Option, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -4590,25 +3616,9 @@ impl IPSFactoryBuffer { } } ::windows_core::imp::interface_hierarchy!(IPSFactoryBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPSFactoryBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPSFactoryBuffer {} -impl ::core::fmt::Debug for IPSFactoryBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPSFactoryBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPSFactoryBuffer { type Vtable = IPSFactoryBuffer_Vtbl; } -impl ::core::clone::Clone for IPSFactoryBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPSFactoryBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f569d0_593b_101a_b569_08002b2dbf7a); } @@ -4621,6 +3631,7 @@ pub struct IPSFactoryBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersist(::windows_core::IUnknown); impl IPersist { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4629,25 +3640,9 @@ impl IPersist { } } ::windows_core::imp::interface_hierarchy!(IPersist, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPersist { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersist {} -impl ::core::fmt::Debug for IPersist { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersist").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersist { type Vtable = IPersist_Vtbl; } -impl ::core::clone::Clone for IPersist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersist { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010c_0000_0000_c000_000000000046); } @@ -4659,6 +3654,7 @@ pub struct IPersist_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistFile(::windows_core::IUnknown); impl IPersistFile { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4695,25 +3691,9 @@ impl IPersistFile { } } ::windows_core::imp::interface_hierarchy!(IPersistFile, ::windows_core::IUnknown, IPersist); -impl ::core::cmp::PartialEq for IPersistFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistFile {} -impl ::core::fmt::Debug for IPersistFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistFile { type Vtable = IPersistFile_Vtbl; } -impl ::core::clone::Clone for IPersistFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010b_0000_0000_c000_000000000046); } @@ -4732,6 +3712,7 @@ pub struct IPersistFile_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistMemory(::windows_core::IUnknown); impl IPersistMemory { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4761,25 +3742,9 @@ impl IPersistMemory { } } ::windows_core::imp::interface_hierarchy!(IPersistMemory, ::windows_core::IUnknown, IPersist); -impl ::core::cmp::PartialEq for IPersistMemory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistMemory {} -impl ::core::fmt::Debug for IPersistMemory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistMemory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistMemory { type Vtable = IPersistMemory_Vtbl; } -impl ::core::clone::Clone for IPersistMemory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistMemory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd1ae5e0_a6ae_11ce_bd37_504200c10000); } @@ -4798,6 +3763,7 @@ pub struct IPersistMemory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistStream(::windows_core::IUnknown); impl IPersistStream { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4828,25 +3794,9 @@ impl IPersistStream { } } ::windows_core::imp::interface_hierarchy!(IPersistStream, ::windows_core::IUnknown, IPersist); -impl ::core::cmp::PartialEq for IPersistStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistStream {} -impl ::core::fmt::Debug for IPersistStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistStream { type Vtable = IPersistStream_Vtbl; } -impl ::core::clone::Clone for IPersistStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000109_0000_0000_c000_000000000046); } @@ -4864,6 +3814,7 @@ pub struct IPersistStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistStreamInit(::windows_core::IUnknown); impl IPersistStreamInit { pub unsafe fn GetClassID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4897,25 +3848,9 @@ impl IPersistStreamInit { } } ::windows_core::imp::interface_hierarchy!(IPersistStreamInit, ::windows_core::IUnknown, IPersist); -impl ::core::cmp::PartialEq for IPersistStreamInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistStreamInit {} -impl ::core::fmt::Debug for IPersistStreamInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistStreamInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistStreamInit { type Vtable = IPersistStreamInit_Vtbl; } -impl ::core::clone::Clone for IPersistStreamInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistStreamInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fd52380_4e07_101b_ae2d_08002b2ec713); } @@ -4934,6 +3869,7 @@ pub struct IPersistStreamInit_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPipeByte(::windows_core::IUnknown); impl IPipeByte { pub unsafe fn Pull(&self, buf: &mut [u8], pcreturned: *mut u32) -> ::windows_core::Result<()> { @@ -4944,25 +3880,9 @@ impl IPipeByte { } } ::windows_core::imp::interface_hierarchy!(IPipeByte, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPipeByte { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPipeByte {} -impl ::core::fmt::Debug for IPipeByte { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPipeByte").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPipeByte { type Vtable = IPipeByte_Vtbl; } -impl ::core::clone::Clone for IPipeByte { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPipeByte { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3aca_2f86_11d1_8e04_00c04fb9989a); } @@ -4975,6 +3895,7 @@ pub struct IPipeByte_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPipeDouble(::windows_core::IUnknown); impl IPipeDouble { pub unsafe fn Pull(&self, buf: &mut [f64], pcreturned: *mut u32) -> ::windows_core::Result<()> { @@ -4985,25 +3906,9 @@ impl IPipeDouble { } } ::windows_core::imp::interface_hierarchy!(IPipeDouble, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPipeDouble { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPipeDouble {} -impl ::core::fmt::Debug for IPipeDouble { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPipeDouble").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPipeDouble { type Vtable = IPipeDouble_Vtbl; } -impl ::core::clone::Clone for IPipeDouble { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPipeDouble { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3ace_2f86_11d1_8e04_00c04fb9989a); } @@ -5016,6 +3921,7 @@ pub struct IPipeDouble_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPipeLong(::windows_core::IUnknown); impl IPipeLong { pub unsafe fn Pull(&self, buf: &mut [i32], pcreturned: *mut u32) -> ::windows_core::Result<()> { @@ -5026,25 +3932,9 @@ impl IPipeLong { } } ::windows_core::imp::interface_hierarchy!(IPipeLong, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPipeLong { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPipeLong {} -impl ::core::fmt::Debug for IPipeLong { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPipeLong").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPipeLong { type Vtable = IPipeLong_Vtbl; } -impl ::core::clone::Clone for IPipeLong { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPipeLong { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb2f3acc_2f86_11d1_8e04_00c04fb9989a); } @@ -5057,6 +3947,7 @@ pub struct IPipeLong_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessInitControl(::windows_core::IUnknown); impl IProcessInitControl { pub unsafe fn ResetInitializerTimeout(&self, dwsecondsremaining: u32) -> ::windows_core::Result<()> { @@ -5064,25 +3955,9 @@ impl IProcessInitControl { } } ::windows_core::imp::interface_hierarchy!(IProcessInitControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProcessInitControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProcessInitControl {} -impl ::core::fmt::Debug for IProcessInitControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProcessInitControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProcessInitControl { type Vtable = IProcessInitControl_Vtbl; } -impl ::core::clone::Clone for IProcessInitControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessInitControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72380d55_8d2b_43a3_8513_2b6ef31434e9); } @@ -5094,6 +3969,7 @@ pub struct IProcessInitControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessLock(::windows_core::IUnknown); impl IProcessLock { pub unsafe fn AddRefOnProcess(&self) -> u32 { @@ -5104,25 +3980,9 @@ impl IProcessLock { } } ::windows_core::imp::interface_hierarchy!(IProcessLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProcessLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProcessLock {} -impl ::core::fmt::Debug for IProcessLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProcessLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProcessLock { type Vtable = IProcessLock_Vtbl; } -impl ::core::clone::Clone for IProcessLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001d5_0000_0000_c000_000000000046); } @@ -5135,6 +3995,7 @@ pub struct IProcessLock_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProgressNotify(::windows_core::IUnknown); impl IProgressNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5148,25 +4009,9 @@ impl IProgressNotify { } } ::windows_core::imp::interface_hierarchy!(IProgressNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProgressNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProgressNotify {} -impl ::core::fmt::Debug for IProgressNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProgressNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProgressNotify { type Vtable = IProgressNotify_Vtbl; } -impl ::core::clone::Clone for IProgressNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProgressNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9d758a0_4617_11cf_95fc_00aa00680db4); } @@ -5181,6 +4026,7 @@ pub struct IProgressNotify_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IROTData(::windows_core::IUnknown); impl IROTData { pub unsafe fn GetComparisonData(&self, pbdata: &mut [u8], pcbdata: *mut u32) -> ::windows_core::Result<()> { @@ -5188,25 +4034,9 @@ impl IROTData { } } ::windows_core::imp::interface_hierarchy!(IROTData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IROTData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IROTData {} -impl ::core::fmt::Debug for IROTData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IROTData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IROTData { type Vtable = IROTData_Vtbl; } -impl ::core::clone::Clone for IROTData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IROTData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf29f6bc0_5021_11ce_aa15_00006901293f); } @@ -5218,6 +4048,7 @@ pub struct IROTData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReleaseMarshalBuffers(::windows_core::IUnknown); impl IReleaseMarshalBuffers { pub unsafe fn ReleaseMarshalBuffer(&self, pmsg: *mut RPCOLEMESSAGE, dwflags: u32, pchnl: P0) -> ::windows_core::Result<()> @@ -5228,25 +4059,9 @@ impl IReleaseMarshalBuffers { } } ::windows_core::imp::interface_hierarchy!(IReleaseMarshalBuffers, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReleaseMarshalBuffers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReleaseMarshalBuffers {} -impl ::core::fmt::Debug for IReleaseMarshalBuffers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReleaseMarshalBuffers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReleaseMarshalBuffers { type Vtable = IReleaseMarshalBuffers_Vtbl; } -impl ::core::clone::Clone for IReleaseMarshalBuffers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReleaseMarshalBuffers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0cb9e8_7996_11d2_872e_0000f8080859); } @@ -5258,6 +4073,7 @@ pub struct IReleaseMarshalBuffers_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcChannelBuffer(::windows_core::IUnknown); impl IRpcChannelBuffer { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5277,25 +4093,9 @@ impl IRpcChannelBuffer { } } ::windows_core::imp::interface_hierarchy!(IRpcChannelBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcChannelBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcChannelBuffer {} -impl ::core::fmt::Debug for IRpcChannelBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcChannelBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcChannelBuffer { type Vtable = IRpcChannelBuffer_Vtbl; } -impl ::core::clone::Clone for IRpcChannelBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcChannelBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f56b60_593b_101a_b569_08002b2dbf7a); } @@ -5311,6 +4111,7 @@ pub struct IRpcChannelBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcChannelBuffer2(::windows_core::IUnknown); impl IRpcChannelBuffer2 { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5334,25 +4135,9 @@ impl IRpcChannelBuffer2 { } } ::windows_core::imp::interface_hierarchy!(IRpcChannelBuffer2, ::windows_core::IUnknown, IRpcChannelBuffer); -impl ::core::cmp::PartialEq for IRpcChannelBuffer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcChannelBuffer2 {} -impl ::core::fmt::Debug for IRpcChannelBuffer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcChannelBuffer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcChannelBuffer2 { type Vtable = IRpcChannelBuffer2_Vtbl; } -impl ::core::clone::Clone for IRpcChannelBuffer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcChannelBuffer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x594f31d0_7f19_11d0_b194_00a0c90dc8bf); } @@ -5364,6 +4149,7 @@ pub struct IRpcChannelBuffer2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcChannelBuffer3(::windows_core::IUnknown); impl IRpcChannelBuffer3 { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5412,25 +4198,9 @@ impl IRpcChannelBuffer3 { } } ::windows_core::imp::interface_hierarchy!(IRpcChannelBuffer3, ::windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); -impl ::core::cmp::PartialEq for IRpcChannelBuffer3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcChannelBuffer3 {} -impl ::core::fmt::Debug for IRpcChannelBuffer3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcChannelBuffer3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcChannelBuffer3 { type Vtable = IRpcChannelBuffer3_Vtbl; } -impl ::core::clone::Clone for IRpcChannelBuffer3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcChannelBuffer3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25b15600_0115_11d0_bf0d_00aa00b8dfd2); } @@ -5448,6 +4218,7 @@ pub struct IRpcChannelBuffer3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcHelper(::windows_core::IUnknown); impl IRpcHelper { pub unsafe fn GetDCOMProtocolVersion(&self) -> ::windows_core::Result { @@ -5460,25 +4231,9 @@ impl IRpcHelper { } } ::windows_core::imp::interface_hierarchy!(IRpcHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcHelper {} -impl ::core::fmt::Debug for IRpcHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcHelper { type Vtable = IRpcHelper_Vtbl; } -impl ::core::clone::Clone for IRpcHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000149_0000_0000_c000_000000000046); } @@ -5491,6 +4246,7 @@ pub struct IRpcHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcOptions(::windows_core::IUnknown); impl IRpcOptions { pub unsafe fn Set(&self, pprx: P0, dwproperty: RPCOPT_PROPERTIES, dwvalue: usize) -> ::windows_core::Result<()> @@ -5508,25 +4264,9 @@ impl IRpcOptions { } } ::windows_core::imp::interface_hierarchy!(IRpcOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcOptions {} -impl ::core::fmt::Debug for IRpcOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcOptions { type Vtable = IRpcOptions_Vtbl; } -impl ::core::clone::Clone for IRpcOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000144_0000_0000_c000_000000000046); } @@ -5539,6 +4279,7 @@ pub struct IRpcOptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcProxyBuffer(::windows_core::IUnknown); impl IRpcProxyBuffer { pub unsafe fn Connect(&self, prpcchannelbuffer: P0) -> ::windows_core::Result<()> @@ -5552,25 +4293,9 @@ impl IRpcProxyBuffer { } } ::windows_core::imp::interface_hierarchy!(IRpcProxyBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcProxyBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcProxyBuffer {} -impl ::core::fmt::Debug for IRpcProxyBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcProxyBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcProxyBuffer { type Vtable = IRpcProxyBuffer_Vtbl; } -impl ::core::clone::Clone for IRpcProxyBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcProxyBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f56a34_593b_101a_b569_08002b2dbf7a); } @@ -5583,6 +4308,7 @@ pub struct IRpcProxyBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcStubBuffer(::windows_core::IUnknown); impl IRpcStubBuffer { pub unsafe fn Connect(&self, punkserver: P0) -> ::windows_core::Result<()> @@ -5614,25 +4340,9 @@ impl IRpcStubBuffer { } } ::windows_core::imp::interface_hierarchy!(IRpcStubBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcStubBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcStubBuffer {} -impl ::core::fmt::Debug for IRpcStubBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcStubBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRpcStubBuffer { type Vtable = IRpcStubBuffer_Vtbl; } -impl ::core::clone::Clone for IRpcStubBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcStubBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f56afc_593b_101a_b569_08002b2dbf7a); } @@ -5650,32 +4360,17 @@ pub struct IRpcStubBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRpcSyntaxNegotiate(::windows_core::IUnknown); impl IRpcSyntaxNegotiate { pub unsafe fn NegotiateSyntax(&self, pmsg: *mut RPCOLEMESSAGE) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).NegotiateSyntax)(::windows_core::Interface::as_raw(self), pmsg).ok() } } -::windows_core::imp::interface_hierarchy!(IRpcSyntaxNegotiate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRpcSyntaxNegotiate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRpcSyntaxNegotiate {} -impl ::core::fmt::Debug for IRpcSyntaxNegotiate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRpcSyntaxNegotiate").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IRpcSyntaxNegotiate, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IRpcSyntaxNegotiate { type Vtable = IRpcSyntaxNegotiate_Vtbl; } -impl ::core::clone::Clone for IRpcSyntaxNegotiate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRpcSyntaxNegotiate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58a08519_24c8_4935_b482_3fd823333a4f); } @@ -5687,6 +4382,7 @@ pub struct IRpcSyntaxNegotiate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRunnableObject(::windows_core::IUnknown); impl IRunnableObject { pub unsafe fn GetRunningClass(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5723,25 +4419,9 @@ impl IRunnableObject { } } ::windows_core::imp::interface_hierarchy!(IRunnableObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRunnableObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRunnableObject {} -impl ::core::fmt::Debug for IRunnableObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRunnableObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRunnableObject { type Vtable = IRunnableObject_Vtbl; } -impl ::core::clone::Clone for IRunnableObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRunnableObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000126_0000_0000_c000_000000000046); } @@ -5766,6 +4446,7 @@ pub struct IRunnableObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRunningObjectTable(::windows_core::IUnknown); impl IRunningObjectTable { pub unsafe fn Register(&self, grfflags: ROT_FLAGS, punkobject: P0, pmkobjectname: P1) -> ::windows_core::Result @@ -5812,25 +4493,9 @@ impl IRunningObjectTable { } } ::windows_core::imp::interface_hierarchy!(IRunningObjectTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRunningObjectTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRunningObjectTable {} -impl ::core::fmt::Debug for IRunningObjectTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRunningObjectTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRunningObjectTable { type Vtable = IRunningObjectTable_Vtbl; } -impl ::core::clone::Clone for IRunningObjectTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRunningObjectTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000010_0000_0000_c000_000000000046); } @@ -5854,6 +4519,7 @@ pub struct IRunningObjectTable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISequentialStream(::windows_core::IUnknown); impl ISequentialStream { pub unsafe fn Read(&self, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -5864,25 +4530,9 @@ impl ISequentialStream { } } ::windows_core::imp::interface_hierarchy!(ISequentialStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISequentialStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISequentialStream {} -impl ::core::fmt::Debug for ISequentialStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISequentialStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISequentialStream { type Vtable = ISequentialStream_Vtbl; } -impl ::core::clone::Clone for ISequentialStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISequentialStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a30_2a1c_11ce_ade5_00aa0044773d); } @@ -5895,6 +4545,7 @@ pub struct ISequentialStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServerSecurity(::windows_core::IUnknown); impl IServerSecurity { pub unsafe fn QueryBlanket(&self, pauthnsvc: ::core::option::Option<*mut u32>, pauthzsvc: ::core::option::Option<*mut u32>, pserverprincname: *mut *mut u16, pauthnlevel: ::core::option::Option<*mut u32>, pimplevel: ::core::option::Option<*mut u32>, pprivs: *mut *mut ::core::ffi::c_void, pcapabilities: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -5913,25 +4564,9 @@ impl IServerSecurity { } } ::windows_core::imp::interface_hierarchy!(IServerSecurity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServerSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServerSecurity {} -impl ::core::fmt::Debug for IServerSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServerSecurity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServerSecurity { type Vtable = IServerSecurity_Vtbl; } -impl ::core::clone::Clone for IServerSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServerSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000013e_0000_0000_c000_000000000046); } @@ -5949,6 +4584,7 @@ pub struct IServerSecurity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceProvider(::windows_core::IUnknown); impl IServiceProvider { pub unsafe fn QueryService(&self, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5956,25 +4592,9 @@ impl IServiceProvider { } } ::windows_core::imp::interface_hierarchy!(IServiceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceProvider {} -impl ::core::fmt::Debug for IServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceProvider { type Vtable = IServiceProvider_Vtbl; } -impl ::core::clone::Clone for IServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d5140c1_7436_11ce_8034_00aa006009fa); } @@ -5986,6 +4606,7 @@ pub struct IServiceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStdMarshalInfo(::windows_core::IUnknown); impl IStdMarshalInfo { pub unsafe fn GetClassForHandler(&self, dwdestcontext: u32, pvdestcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<::windows_core::GUID> { @@ -5994,25 +4615,9 @@ impl IStdMarshalInfo { } } ::windows_core::imp::interface_hierarchy!(IStdMarshalInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStdMarshalInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStdMarshalInfo {} -impl ::core::fmt::Debug for IStdMarshalInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStdMarshalInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStdMarshalInfo { type Vtable = IStdMarshalInfo_Vtbl; } -impl ::core::clone::Clone for IStdMarshalInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStdMarshalInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000018_0000_0000_c000_000000000046); } @@ -6024,6 +4629,7 @@ pub struct IStdMarshalInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStream(::windows_core::IUnknown); impl IStream { pub unsafe fn Read(&self, pv: *mut ::core::ffi::c_void, cb: u32, pcbread: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -6067,25 +4673,9 @@ impl IStream { } } ::windows_core::imp::interface_hierarchy!(IStream, ::windows_core::IUnknown, ISequentialStream); -impl ::core::cmp::PartialEq for IStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStream {} -impl ::core::fmt::Debug for IStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStream { type Vtable = IStream_Vtbl; } -impl ::core::clone::Clone for IStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000000c_0000_0000_c000_000000000046); } @@ -6108,28 +4698,13 @@ pub struct IStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISupportAllowLowerTrustActivation(::windows_core::IUnknown); impl ISupportAllowLowerTrustActivation {} ::windows_core::imp::interface_hierarchy!(ISupportAllowLowerTrustActivation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISupportAllowLowerTrustActivation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISupportAllowLowerTrustActivation {} -impl ::core::fmt::Debug for ISupportAllowLowerTrustActivation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISupportAllowLowerTrustActivation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISupportAllowLowerTrustActivation { type Vtable = ISupportAllowLowerTrustActivation_Vtbl; } -impl ::core::clone::Clone for ISupportAllowLowerTrustActivation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISupportAllowLowerTrustActivation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9956ef2_3828_4b4b_8fa9_7db61dee4954); } @@ -6140,6 +4715,7 @@ pub struct ISupportAllowLowerTrustActivation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISupportErrorInfo(::windows_core::IUnknown); impl ISupportErrorInfo { pub unsafe fn InterfaceSupportsErrorInfo(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -6147,25 +4723,9 @@ impl ISupportErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ISupportErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISupportErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISupportErrorInfo {} -impl ::core::fmt::Debug for ISupportErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISupportErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISupportErrorInfo { type Vtable = ISupportErrorInfo_Vtbl; } -impl ::core::clone::Clone for ISupportErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISupportErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf0b3d60_548f_101b_8e65_08002b2bd119); } @@ -6177,6 +4737,7 @@ pub struct ISupportErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISurrogate(::windows_core::IUnknown); impl ISurrogate { pub unsafe fn LoadDllServer(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -6187,25 +4748,9 @@ impl ISurrogate { } } ::windows_core::imp::interface_hierarchy!(ISurrogate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISurrogate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurrogate {} -impl ::core::fmt::Debug for ISurrogate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurrogate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISurrogate { type Vtable = ISurrogate_Vtbl; } -impl ::core::clone::Clone for ISurrogate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISurrogate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000022_0000_0000_c000_000000000046); } @@ -6218,6 +4763,7 @@ pub struct ISurrogate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISurrogateService(::windows_core::IUnknown); impl ISurrogateService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6243,25 +4789,9 @@ impl ISurrogateService { } } ::windows_core::imp::interface_hierarchy!(ISurrogateService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISurrogateService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurrogateService {} -impl ::core::fmt::Debug for ISurrogateService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurrogateService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISurrogateService { type Vtable = ISurrogateService_Vtbl; } -impl ::core::clone::Clone for ISurrogateService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISurrogateService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000001d4_0000_0000_c000_000000000046); } @@ -6280,6 +4810,7 @@ pub struct ISurrogateService_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronize(::windows_core::IUnknown); impl ISynchronize { pub unsafe fn Wait(&self, dwflags: u32, dwmilliseconds: u32) -> ::windows_core::Result<()> { @@ -6293,25 +4824,9 @@ impl ISynchronize { } } ::windows_core::imp::interface_hierarchy!(ISynchronize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISynchronize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronize {} -impl ::core::fmt::Debug for ISynchronize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronize { type Vtable = ISynchronize_Vtbl; } -impl ::core::clone::Clone for ISynchronize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000030_0000_0000_c000_000000000046); } @@ -6325,6 +4840,7 @@ pub struct ISynchronize_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronizeContainer(::windows_core::IUnknown); impl ISynchronizeContainer { pub unsafe fn AddSynchronize(&self, psync: P0) -> ::windows_core::Result<()> @@ -6339,25 +4855,9 @@ impl ISynchronizeContainer { } } ::windows_core::imp::interface_hierarchy!(ISynchronizeContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISynchronizeContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronizeContainer {} -impl ::core::fmt::Debug for ISynchronizeContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronizeContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronizeContainer { type Vtable = ISynchronizeContainer_Vtbl; } -impl ::core::clone::Clone for ISynchronizeContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronizeContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000033_0000_0000_c000_000000000046); } @@ -6370,6 +4870,7 @@ pub struct ISynchronizeContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronizeEvent(::windows_core::IUnknown); impl ISynchronizeEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6385,25 +4886,9 @@ impl ISynchronizeEvent { } } ::windows_core::imp::interface_hierarchy!(ISynchronizeEvent, ::windows_core::IUnknown, ISynchronizeHandle); -impl ::core::cmp::PartialEq for ISynchronizeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronizeEvent {} -impl ::core::fmt::Debug for ISynchronizeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronizeEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronizeEvent { type Vtable = ISynchronizeEvent_Vtbl; } -impl ::core::clone::Clone for ISynchronizeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronizeEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000032_0000_0000_c000_000000000046); } @@ -6418,6 +4903,7 @@ pub struct ISynchronizeEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronizeHandle(::windows_core::IUnknown); impl ISynchronizeHandle { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6428,25 +4914,9 @@ impl ISynchronizeHandle { } } ::windows_core::imp::interface_hierarchy!(ISynchronizeHandle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISynchronizeHandle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronizeHandle {} -impl ::core::fmt::Debug for ISynchronizeHandle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronizeHandle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronizeHandle { type Vtable = ISynchronizeHandle_Vtbl; } -impl ::core::clone::Clone for ISynchronizeHandle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronizeHandle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000031_0000_0000_c000_000000000046); } @@ -6461,6 +4931,7 @@ pub struct ISynchronizeHandle_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronizeMutex(::windows_core::IUnknown); impl ISynchronizeMutex { pub unsafe fn Wait(&self, dwflags: u32, dwmilliseconds: u32) -> ::windows_core::Result<()> { @@ -6477,25 +4948,9 @@ impl ISynchronizeMutex { } } ::windows_core::imp::interface_hierarchy!(ISynchronizeMutex, ::windows_core::IUnknown, ISynchronize); -impl ::core::cmp::PartialEq for ISynchronizeMutex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronizeMutex {} -impl ::core::fmt::Debug for ISynchronizeMutex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronizeMutex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronizeMutex { type Vtable = ISynchronizeMutex_Vtbl; } -impl ::core::clone::Clone for ISynchronizeMutex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronizeMutex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000025_0000_0000_c000_000000000046); } @@ -6507,6 +4962,7 @@ pub struct ISynchronizeMutex_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeAndNoticeControl(::windows_core::IUnknown); impl ITimeAndNoticeControl { pub unsafe fn SuppressChanges(&self, res1: u32, res2: u32) -> ::windows_core::Result<()> { @@ -6514,25 +4970,9 @@ impl ITimeAndNoticeControl { } } ::windows_core::imp::interface_hierarchy!(ITimeAndNoticeControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITimeAndNoticeControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimeAndNoticeControl {} -impl ::core::fmt::Debug for ITimeAndNoticeControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimeAndNoticeControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITimeAndNoticeControl { type Vtable = ITimeAndNoticeControl_Vtbl; } -impl ::core::clone::Clone for ITimeAndNoticeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeAndNoticeControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc0bf6ae_8878_11d1_83e9_00c04fc2c6d4); } @@ -6544,6 +4984,7 @@ pub struct ITimeAndNoticeControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeComp(::windows_core::IUnknown); impl ITypeComp { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -6562,25 +5003,9 @@ impl ITypeComp { } } ::windows_core::imp::interface_hierarchy!(ITypeComp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeComp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeComp {} -impl ::core::fmt::Debug for ITypeComp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeComp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeComp { type Vtable = ITypeComp_Vtbl; } -impl ::core::clone::Clone for ITypeComp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeComp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020403_0000_0000_c000_000000000046); } @@ -6596,6 +5021,7 @@ pub struct ITypeComp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeInfo(::windows_core::IUnknown); impl ITypeInfo { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -6684,25 +5110,9 @@ impl ITypeInfo { } } ::windows_core::imp::interface_hierarchy!(ITypeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeInfo {} -impl ::core::fmt::Debug for ITypeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeInfo { type Vtable = ITypeInfo_Vtbl; } -impl ::core::clone::Clone for ITypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020401_0000_0000_c000_000000000046); } @@ -6753,6 +5163,7 @@ pub struct ITypeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeInfo2(::windows_core::IUnknown); impl ITypeInfo2 { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -6920,25 +5331,9 @@ impl ITypeInfo2 { } } ::windows_core::imp::interface_hierarchy!(ITypeInfo2, ::windows_core::IUnknown, ITypeInfo); -impl ::core::cmp::PartialEq for ITypeInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeInfo2 {} -impl ::core::fmt::Debug for ITypeInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeInfo2 { type Vtable = ITypeInfo2_Vtbl; } -impl ::core::clone::Clone for ITypeInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020412_0000_0000_c000_000000000046); } @@ -6994,6 +5389,7 @@ pub struct ITypeInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeLib(::windows_core::IUnknown); impl ITypeLib { pub unsafe fn GetTypeInfoCount(&self) -> u32 { @@ -7035,25 +5431,9 @@ impl ITypeLib { } } ::windows_core::imp::interface_hierarchy!(ITypeLib, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeLib { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeLib {} -impl ::core::fmt::Debug for ITypeLib { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeLib").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeLib { type Vtable = ITypeLib_Vtbl; } -impl ::core::clone::Clone for ITypeLib { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeLib { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020402_0000_0000_c000_000000000046); } @@ -7077,6 +5457,7 @@ pub struct ITypeLib_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeLib2(::windows_core::IUnknown); impl ITypeLib2 { pub unsafe fn GetTypeInfoCount(&self) -> u32 { @@ -7136,25 +5517,9 @@ impl ITypeLib2 { } } ::windows_core::imp::interface_hierarchy!(ITypeLib2, ::windows_core::IUnknown, ITypeLib); -impl ::core::cmp::PartialEq for ITypeLib2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeLib2 {} -impl ::core::fmt::Debug for ITypeLib2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeLib2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeLib2 { type Vtable = ITypeLib2_Vtbl; } -impl ::core::clone::Clone for ITypeLib2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeLib2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020411_0000_0000_c000_000000000046); } @@ -7175,6 +5540,7 @@ pub struct ITypeLib2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeLibRegistration(::windows_core::IUnknown); impl ITypeLibRegistration { pub unsafe fn GetGuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7211,25 +5577,9 @@ impl ITypeLibRegistration { } } ::windows_core::imp::interface_hierarchy!(ITypeLibRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeLibRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeLibRegistration {} -impl ::core::fmt::Debug for ITypeLibRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeLibRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeLibRegistration { type Vtable = ITypeLibRegistration_Vtbl; } -impl ::core::clone::Clone for ITypeLibRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeLibRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a3e735_02df_4a12_98eb_043ad3600af3); } @@ -7248,6 +5598,7 @@ pub struct ITypeLibRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeLibRegistrationReader(::windows_core::IUnknown); impl ITypeLibRegistrationReader { pub unsafe fn EnumTypeLibRegistrations(&self) -> ::windows_core::Result { @@ -7256,25 +5607,9 @@ impl ITypeLibRegistrationReader { } } ::windows_core::imp::interface_hierarchy!(ITypeLibRegistrationReader, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeLibRegistrationReader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeLibRegistrationReader {} -impl ::core::fmt::Debug for ITypeLibRegistrationReader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeLibRegistrationReader").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeLibRegistrationReader { type Vtable = ITypeLibRegistrationReader_Vtbl; } -impl ::core::clone::Clone for ITypeLibRegistrationReader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeLibRegistrationReader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed6a8a2a_b160_4e77_8f73_aa7435cd5c27); } @@ -7286,6 +5621,7 @@ pub struct ITypeLibRegistrationReader_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUri(::windows_core::IUnknown); impl IUri { pub unsafe fn GetPropertyBSTR(&self, uriprop: Uri_PROPERTY, pbstrproperty: *mut ::windows_core::BSTR, dwflags: u32) -> ::windows_core::Result<()> { @@ -7394,25 +5730,9 @@ impl IUri { } } ::windows_core::imp::interface_hierarchy!(IUri, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUri { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUri {} -impl ::core::fmt::Debug for IUri { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUri").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUri { type Vtable = IUri_Vtbl; } -impl ::core::clone::Clone for IUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa39ee748_6a27_4817_a6f2_13914bef5890); } @@ -7454,6 +5774,7 @@ pub struct IUri_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriBuilder(::windows_core::IUnknown); impl IUriBuilder { pub unsafe fn CreateUriSimple(&self, dwallowencodingpropertymask: u32, dwreserved: usize) -> ::windows_core::Result { @@ -7565,25 +5886,9 @@ impl IUriBuilder { } } ::windows_core::imp::interface_hierarchy!(IUriBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUriBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUriBuilder {} -impl ::core::fmt::Debug for IUriBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUriBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUriBuilder { type Vtable = IUriBuilder_Vtbl; } -impl ::core::clone::Clone for IUriBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4221b2e1_8955_46c0_bd5b_de9897565de7); } @@ -7626,6 +5931,7 @@ pub struct IUriBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlMon(::windows_core::IUnknown); impl IUrlMon { pub unsafe fn AsyncGetClassBits(&self, rclsid: *const ::windows_core::GUID, psztype: P0, pszext: P1, dwfileversionms: u32, dwfileversionls: u32, pszcodebase: P2, pbc: P3, dwclasscontext: u32, riid: *const ::windows_core::GUID, flags: u32) -> ::windows_core::Result<()> @@ -7639,25 +5945,9 @@ impl IUrlMon { } } ::windows_core::imp::interface_hierarchy!(IUrlMon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUrlMon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlMon {} -impl ::core::fmt::Debug for IUrlMon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlMon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlMon { type Vtable = IUrlMon_Vtbl; } -impl ::core::clone::Clone for IUrlMon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlMon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000026_0000_0000_c000_000000000046); } @@ -7669,6 +5959,7 @@ pub struct IUrlMon_Vtbl { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWaitMultiple(::windows_core::IUnknown); impl IWaitMultiple { pub unsafe fn WaitMultiple(&self, timeout: u32) -> ::windows_core::Result { @@ -7683,25 +5974,9 @@ impl IWaitMultiple { } } ::windows_core::imp::interface_hierarchy!(IWaitMultiple, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWaitMultiple { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWaitMultiple {} -impl ::core::fmt::Debug for IWaitMultiple { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWaitMultiple").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWaitMultiple { type Vtable = IWaitMultiple_Vtbl; } -impl ::core::clone::Clone for IWaitMultiple { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWaitMultiple { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000002b_0000_0000_c000_000000000046); } diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs index 99f9a4c3e0..4399f6f780 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs @@ -76,8 +76,8 @@ impl ContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl ContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IAppDomainHelper_Vtbl { DoCallback: DoCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl IAssemblyLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetModules: GetModules:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IAsyncErrorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl ICOMAdminCatalog_Vtbl { GetEventClassesForIID: GetEventClassesForIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl ICOMAdminCatalog2_Vtbl { GetComponentVersionCount: GetComponentVersionCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl ICOMLBArguments_Vtbl { SetMachineName: SetMachineName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1004,8 +1004,8 @@ impl ICatalogCollection_Vtbl { PopulateByQuery: PopulateByQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1106,8 +1106,8 @@ impl ICatalogObject_Vtbl { IsPropertyWriteOnly: IsPropertyWriteOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1124,8 +1124,8 @@ impl ICheckSxsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameSxsConfig: IsSameSxsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1187,8 +1187,8 @@ impl IComActivityEvents_Vtbl { OnActivityLeaveSame: OnActivityLeaveSame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IComApp2Events_Vtbl { OnAppRecycle2: OnAppRecycle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1274,8 +1274,8 @@ impl IComAppEvents_Vtbl { OnAppForceShutdown: OnAppForceShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1396,8 +1396,8 @@ impl IComCRMEvents_Vtbl { OnCRMDeliver: OnCRMDeliver::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1414,8 +1414,8 @@ impl IComExceptionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnExceptionUser: OnExceptionUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IComIdentityEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIISRequestInfo: OnIISRequestInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1460,8 +1460,8 @@ impl IComInstance2Events_Vtbl { OnObjectDestroy2: OnObjectDestroy2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IComInstanceEvents_Vtbl { OnObjectDestroy: OnObjectDestroy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1540,8 +1540,8 @@ impl IComLTxEvents_Vtbl { OnLtxTransactionPromote: OnLtxTransactionPromote::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1575,8 +1575,8 @@ impl IComMethod2Events_Vtbl { OnMethodException2: OnMethodException2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1610,8 +1610,8 @@ impl IComMethodEvents_Vtbl { OnMethodException: OnMethodException::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1664,8 +1664,8 @@ impl IComMtaThreadPoolKnobs_Vtbl { MTAGetThrottleValue: MTAGetThrottleValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1682,8 +1682,8 @@ impl IComObjectConstruction2Events_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct2: OnObjectConstruct2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl IComObjectConstructionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct: OnObjectConstruct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1756,8 +1756,8 @@ impl IComObjectEvents_Vtbl { OnSetAbort: OnSetAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1798,8 +1798,8 @@ impl IComObjectPool2Events_Vtbl { OnObjPoolGetFromTx2: OnObjPoolGetFromTx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1840,8 +1840,8 @@ impl IComObjectPoolEvents_Vtbl { OnObjPoolGetFromTx: OnObjPoolGetFromTx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IComObjectPoolEvents2_Vtbl { OnObjPoolCreatePool: OnObjPoolCreatePool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1952,8 +1952,8 @@ impl IComQCEvents_Vtbl { OnQCPlayback: OnQCPlayback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2004,8 +2004,8 @@ impl IComResourceEvents_Vtbl { OnResourceTrack: OnResourceTrack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2035,8 +2035,8 @@ impl IComSecurityEvents_Vtbl { OnAuthenticateFail: OnAuthenticateFail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IComStaThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2279,8 +2279,8 @@ impl IComStaThreadPoolKnobs2_Vtbl { SetWaitTimeForThreadCleanup: SetWaitTimeForThreadCleanup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2370,8 +2370,8 @@ impl IComThreadEvents_Vtbl { OnThreadUnassignApartment: OnThreadUnassignApartment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2417,8 +2417,8 @@ impl IComTrackingInfoCollection_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2435,8 +2435,8 @@ impl IComTrackingInfoEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewTrackingInfo: OnNewTrackingInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2462,8 +2462,8 @@ impl IComTrackingInfoObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IComTrackingInfoProperties_Vtbl { GetPropName: GetPropName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IComTransaction2Events_Vtbl { OnTransactionCommit2: OnTransactionCommit2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2592,8 +2592,8 @@ impl IComTransactionEvents_Vtbl { OnTransactionCommit: OnTransactionCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2613,8 +2613,8 @@ impl IComUserEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2671,8 +2671,8 @@ impl IContextProperties_Vtbl { RemoveProperty: RemoveProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2702,8 +2702,8 @@ impl IContextSecurityPerimeter_Vtbl { SetPerimeterFlag: SetPerimeterFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IContextState_Vtbl { GetMyTransactionVote: GetMyTransactionVote::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2765,8 +2765,8 @@ impl ICreateWithLocalTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceWithSysTx: CreateInstanceWithSysTx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2783,8 +2783,8 @@ impl ICreateWithTipTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2804,8 +2804,8 @@ impl ICreateWithTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2915,8 +2915,8 @@ impl ICrmCompensator_Vtbl { EndAbort: EndAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3026,8 +3026,8 @@ impl ICrmCompensatorVariants_Vtbl { EndAbortVariants: EndAbortVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3095,8 +3095,8 @@ impl ICrmFormatLogRecords_Vtbl { GetColumnVariants: GetColumnVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3167,8 +3167,8 @@ impl ICrmLogControl_Vtbl { WriteLogRecord: WriteLogRecord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3210,8 +3210,8 @@ impl ICrmMonitor_Vtbl { HoldClerk: HoldClerk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3318,8 +3318,8 @@ impl ICrmMonitorClerks_Vtbl { ActivityId: ActivityId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl ICrmMonitorLogRecords_Vtbl { GetLogRecordVariants: GetLogRecordVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3453,8 +3453,8 @@ impl IDispenserDriver_Vtbl { DestroyResourceS: DestroyResourceS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3487,8 +3487,8 @@ impl IDispenserManager_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3535,8 +3535,8 @@ impl IEnumNames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IEventServerTrace_Vtbl { EnumTraceGuid: EnumTraceGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3651,8 +3651,8 @@ impl IGetAppTrackerData_Vtbl { GetSuggestedPollingInterval: GetSuggestedPollingInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3695,8 +3695,8 @@ impl IGetContextProperties_Vtbl { EnumNames: EnumNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3722,8 +3722,8 @@ impl IGetSecurityCallContext_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetSecurityCallContext: GetSecurityCallContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3795,8 +3795,8 @@ impl IHolder_Vtbl { RequestDestroyResource: RequestDestroyResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3833,8 +3833,8 @@ impl ILBEvents_Vtbl { EngineDefined: EngineDefined::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3882,8 +3882,8 @@ impl IMTSActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3900,8 +3900,8 @@ impl IMTSCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3927,8 +3927,8 @@ impl IMTSLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetEventDispatcher: GetEventDispatcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3958,8 +3958,8 @@ impl IManagedActivationEvents_Vtbl { DestroyManagedStub: DestroyManagedStub::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4015,8 +4015,8 @@ impl IManagedObjectInfo_Vtbl { SetWrapperStrength: SetWrapperStrength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4033,8 +4033,8 @@ impl IManagedPoolAction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LastRelease: LastRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4054,8 +4054,8 @@ impl IManagedPooledObj_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetHeld: SetHeld:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4144,8 +4144,8 @@ impl IMessageMover_Vtbl { MoveMessages: MoveMessages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4226,8 +4226,8 @@ impl IMtsEventInfo_Vtbl { get_Value: get_Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4302,8 +4302,8 @@ impl IMtsEvents_Vtbl { GetProcessID: GetProcessID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl IMtsGrp_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl IObjPool_Vtbl { Reserved6: Reserved6::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IObjectConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4457,8 +4457,8 @@ impl IObjectConstructString_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConstructString: ConstructString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4530,8 +4530,8 @@ impl IObjectContext_Vtbl { IsCallerInRole: IsCallerInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IObjectContextActivity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivityId: GetActivityId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4606,8 +4606,8 @@ impl IObjectContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4644,8 +4644,8 @@ impl IObjectContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4662,8 +4662,8 @@ impl IObjectContextTip_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTipUrl: GetTipUrl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4700,8 +4700,8 @@ impl IObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4728,8 +4728,8 @@ impl IPlaybackControl_Vtbl { FinalServerRetry: FinalServerRetry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4749,8 +4749,8 @@ impl IPoolManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ShutdownPool: ShutdownPool:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4777,8 +4777,8 @@ impl IProcessInitializer_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4872,8 +4872,8 @@ impl ISecurityCallContext_Vtbl { IsUserInRole: IsUserInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4928,8 +4928,8 @@ impl ISecurityCallersColl_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4984,8 +4984,8 @@ impl ISecurityIdentityColl_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5036,8 +5036,8 @@ impl ISecurityProperty_Vtbl { ReleaseSID: ReleaseSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5064,8 +5064,8 @@ impl ISelectCOMLBServer_Vtbl { GetLBServer: GetLBServer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5092,8 +5092,8 @@ impl ISendMethodEvents_Vtbl { SendMethodReturn: SendMethodReturn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5134,8 +5134,8 @@ impl IServiceActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5152,8 +5152,8 @@ impl IServiceCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5170,8 +5170,8 @@ impl IServiceComTIIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComTIIntrinsicsConfig: ComTIIntrinsicsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5188,8 +5188,8 @@ impl IServiceIISIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IISIntrinsicsConfig: IISIntrinsicsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5209,8 +5209,8 @@ impl IServiceInheritanceConfig_Vtbl { ContainingContextTreatment: ContainingContextTreatment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5237,8 +5237,8 @@ impl IServicePartitionConfig_Vtbl { PartitionID: PartitionID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5272,8 +5272,8 @@ impl IServicePool_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5365,8 +5365,8 @@ impl IServicePoolConfig_Vtbl { ClassFactory: ClassFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5400,8 +5400,8 @@ impl IServiceSxsConfig_Vtbl { SxsDirectory: SxsDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5418,8 +5418,8 @@ impl IServiceSynchronizationConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConfigureSynchronization: ConfigureSynchronization:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -5439,8 +5439,8 @@ impl IServiceSysTxnConfig_Vtbl { } Self { base__: IServiceTransactionConfig_Vtbl::new::(), ConfigureBYOTSysTxn: ConfigureBYOTSysTxn:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5467,8 +5467,8 @@ impl IServiceThreadPoolConfig_Vtbl { SetBindingInfo: SetBindingInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5485,8 +5485,8 @@ impl IServiceTrackerConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackerConfig: TrackerConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -5506,8 +5506,8 @@ impl IServiceTransactionConfig_Vtbl { } Self { base__: IServiceTransactionConfigBase_Vtbl::new::(), ConfigureBYOT: ConfigureBYOT:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5555,8 +5555,8 @@ impl IServiceTransactionConfigBase_Vtbl { NewTransactionDescription: NewTransactionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5592,8 +5592,8 @@ impl ISharedProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5649,8 +5649,8 @@ impl ISharedPropertyGroup_Vtbl { get_Property: get_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5699,8 +5699,8 @@ impl ISharedPropertyGroupManager_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5727,8 +5727,8 @@ impl ISystemAppEventData_Vtbl { OnDataChanged: OnDataChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5811,8 +5811,8 @@ impl IThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5855,8 +5855,8 @@ impl ITransactionContext_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5890,8 +5890,8 @@ impl ITransactionContextEx_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6036,8 +6036,8 @@ impl ITransactionProperty_Vtbl { Reserved17: Reserved17::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6114,8 +6114,8 @@ impl ITransactionProxy_Vtbl { IsReusable: IsReusable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6148,8 +6148,8 @@ impl ITransactionResourcePool_Vtbl { GetResource: GetResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6176,8 +6176,8 @@ impl ITransactionStatus_Vtbl { GetTransactionStatus: GetTransactionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6194,8 +6194,8 @@ impl ITxProxyHolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl ObjectContext_Vtbl { ContextInfo: ContextInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6394,8 +6394,8 @@ impl ObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6463,7 +6463,7 @@ impl SecurityProperty_Vtbl { GetOriginalCreatorName: GetOriginalCreatorName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs index bd2e6d617c..4250cbb28c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -69,6 +69,7 @@ where #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContextInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextInfo { @@ -98,30 +99,10 @@ impl ContextInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ContextInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ContextInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ContextInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ContextInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContextInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ContextInfo { type Vtable = ContextInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ContextInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ContextInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19a5a02c_0ac8_11d2_b286_00c04f8ef934); } @@ -142,6 +123,7 @@ pub struct ContextInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContextInfo2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextInfo2 { @@ -183,30 +165,10 @@ impl ContextInfo2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ContextInfo2, ::windows_core::IUnknown, super::Com::IDispatch, ContextInfo); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ContextInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ContextInfo2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ContextInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContextInfo2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ContextInfo2 { type Vtable = ContextInfo2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ContextInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ContextInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc99d6e75_2375_11d4_8331_00c04f605588); } @@ -222,6 +184,7 @@ pub struct ContextInfo2_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppDomainHelper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAppDomainHelper { @@ -241,30 +204,10 @@ impl IAppDomainHelper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAppDomainHelper, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAppDomainHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAppDomainHelper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAppDomainHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppDomainHelper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAppDomainHelper { type Vtable = IAppDomainHelper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAppDomainHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAppDomainHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7b67079_8255_42c6_9ec0_6994a3548780); } @@ -279,6 +222,7 @@ pub struct IAppDomainHelper_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssemblyLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAssemblyLocator { @@ -297,30 +241,10 @@ impl IAssemblyLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAssemblyLocator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAssemblyLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAssemblyLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAssemblyLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssemblyLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAssemblyLocator { type Vtable = IAssemblyLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAssemblyLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAssemblyLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x391ffbb9_a8ee_432a_abc8_baa238dab90f); } @@ -336,6 +260,7 @@ pub struct IAssemblyLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsyncErrorNotify(::windows_core::IUnknown); impl IAsyncErrorNotify { pub unsafe fn OnError(&self, hr: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -343,25 +268,9 @@ impl IAsyncErrorNotify { } } ::windows_core::imp::interface_hierarchy!(IAsyncErrorNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAsyncErrorNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsyncErrorNotify {} -impl ::core::fmt::Debug for IAsyncErrorNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsyncErrorNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsyncErrorNotify { type Vtable = IAsyncErrorNotify_Vtbl; } -impl ::core::clone::Clone for IAsyncErrorNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsyncErrorNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe6777fb_a674_4177_8f32_6d707e113484); } @@ -374,6 +283,7 @@ pub struct IAsyncErrorNotify_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICOMAdminCatalog(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICOMAdminCatalog { @@ -544,30 +454,10 @@ impl ICOMAdminCatalog { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICOMAdminCatalog, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICOMAdminCatalog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICOMAdminCatalog {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICOMAdminCatalog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICOMAdminCatalog").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICOMAdminCatalog { type Vtable = ICOMAdminCatalog_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICOMAdminCatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICOMAdminCatalog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd662187_dfc2_11d1_a2cf_00805fc79235); } @@ -630,6 +520,7 @@ pub struct ICOMAdminCatalog_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICOMAdminCatalog2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICOMAdminCatalog2 { @@ -1016,30 +907,10 @@ impl ICOMAdminCatalog2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICOMAdminCatalog2, ::windows_core::IUnknown, super::Com::IDispatch, ICOMAdminCatalog); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICOMAdminCatalog2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICOMAdminCatalog2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICOMAdminCatalog2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICOMAdminCatalog2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICOMAdminCatalog2 { type Vtable = ICOMAdminCatalog2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICOMAdminCatalog2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICOMAdminCatalog2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x790c6e0b_9194_4cc9_9426_a48a63185696); } @@ -1130,6 +1001,7 @@ pub struct ICOMAdminCatalog2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICOMLBArguments(::windows_core::IUnknown); impl ICOMLBArguments { pub unsafe fn GetCLSID(&self, pclsid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1146,25 +1018,9 @@ impl ICOMLBArguments { } } ::windows_core::imp::interface_hierarchy!(ICOMLBArguments, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICOMLBArguments { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICOMLBArguments {} -impl ::core::fmt::Debug for ICOMLBArguments { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICOMLBArguments").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICOMLBArguments { type Vtable = ICOMLBArguments_Vtbl; } -impl ::core::clone::Clone for ICOMLBArguments { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICOMLBArguments { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a0f150f_8ee5_4b94_b40e_aef2f9e42ed2); } @@ -1180,6 +1036,7 @@ pub struct ICOMLBArguments_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatalogCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICatalogCollection { @@ -1269,30 +1126,10 @@ impl ICatalogCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICatalogCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICatalogCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICatalogCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICatalogCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatalogCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICatalogCollection { type Vtable = ICatalogCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICatalogCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICatalogCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22872_8a19_11d0_81b6_00a0c9231c29); } @@ -1345,6 +1182,7 @@ pub struct ICatalogCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatalogObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICatalogObject { @@ -1405,30 +1243,10 @@ impl ICatalogObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICatalogObject, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICatalogObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICatalogObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICatalogObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatalogObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICatalogObject { type Vtable = ICatalogObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICatalogObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICatalogObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22871_8a19_11d0_81b6_00a0c9231c29); } @@ -1468,6 +1286,7 @@ pub struct ICatalogObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICheckSxsConfig(::windows_core::IUnknown); impl ICheckSxsConfig { pub unsafe fn IsSameSxsConfig(&self, wszsxsname: P0, wszsxsdirectory: P1, wszsxsappname: P2) -> ::windows_core::Result<()> @@ -1480,25 +1299,9 @@ impl ICheckSxsConfig { } } ::windows_core::imp::interface_hierarchy!(ICheckSxsConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICheckSxsConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICheckSxsConfig {} -impl ::core::fmt::Debug for ICheckSxsConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICheckSxsConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICheckSxsConfig { type Vtable = ICheckSxsConfig_Vtbl; } -impl ::core::clone::Clone for ICheckSxsConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICheckSxsConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ff5a96f_11fc_47d1_baa6_25dd347e7242); } @@ -1510,6 +1313,7 @@ pub struct ICheckSxsConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComActivityEvents(::windows_core::IUnknown); impl IComActivityEvents { pub unsafe fn OnActivityCreate(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1535,25 +1339,9 @@ impl IComActivityEvents { } } ::windows_core::imp::interface_hierarchy!(IComActivityEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComActivityEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComActivityEvents {} -impl ::core::fmt::Debug for IComActivityEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComActivityEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComActivityEvents { type Vtable = IComActivityEvents_Vtbl; } -impl ::core::clone::Clone for IComActivityEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComActivityEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b0_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1571,6 +1359,7 @@ pub struct IComActivityEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComApp2Events(::windows_core::IUnknown); impl IComApp2Events { pub unsafe fn OnAppActivation2(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: ::windows_core::GUID, guidprocess: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1595,25 +1384,9 @@ impl IComApp2Events { } } ::windows_core::imp::interface_hierarchy!(IComApp2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComApp2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComApp2Events {} -impl ::core::fmt::Debug for IComApp2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComApp2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComApp2Events { type Vtable = IComApp2Events_Vtbl; } -impl ::core::clone::Clone for IComApp2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComApp2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1290bc1a_b219_418d_b078_5934ded08242); } @@ -1632,6 +1405,7 @@ pub struct IComApp2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComAppEvents(::windows_core::IUnknown); impl IComAppEvents { pub unsafe fn OnAppActivation(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1645,25 +1419,9 @@ impl IComAppEvents { } } ::windows_core::imp::interface_hierarchy!(IComAppEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComAppEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComAppEvents {} -impl ::core::fmt::Debug for IComAppEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComAppEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComAppEvents { type Vtable = IComAppEvents_Vtbl; } -impl ::core::clone::Clone for IComAppEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComAppEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a6_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1677,6 +1435,7 @@ pub struct IComAppEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComCRMEvents(::windows_core::IUnknown); impl IComCRMEvents { pub unsafe fn OnCRMRecoveryStart(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1736,25 +1495,9 @@ impl IComCRMEvents { } } ::windows_core::imp::interface_hierarchy!(IComCRMEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComCRMEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComCRMEvents {} -impl ::core::fmt::Debug for IComCRMEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComCRMEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComCRMEvents { type Vtable = IComCRMEvents_Vtbl; } -impl ::core::clone::Clone for IComCRMEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComCRMEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b5_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1786,6 +1529,7 @@ pub struct IComCRMEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComExceptionEvents(::windows_core::IUnknown); impl IComExceptionEvents { pub unsafe fn OnExceptionUser(&self, pinfo: *const COMSVCSEVENTINFO, code: u32, address: u64, pszstacktrace: P0) -> ::windows_core::Result<()> @@ -1796,25 +1540,9 @@ impl IComExceptionEvents { } } ::windows_core::imp::interface_hierarchy!(IComExceptionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComExceptionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComExceptionEvents {} -impl ::core::fmt::Debug for IComExceptionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComExceptionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComExceptionEvents { type Vtable = IComExceptionEvents_Vtbl; } -impl ::core::clone::Clone for IComExceptionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComExceptionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b3_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1826,6 +1554,7 @@ pub struct IComExceptionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComIdentityEvents(::windows_core::IUnknown); impl IComIdentityEvents { pub unsafe fn OnIISRequestInfo(&self, pinfo: *const COMSVCSEVENTINFO, objid: u64, pszclientip: P0, pszserverip: P1, pszurl: P2) -> ::windows_core::Result<()> @@ -1838,25 +1567,9 @@ impl IComIdentityEvents { } } ::windows_core::imp::interface_hierarchy!(IComIdentityEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComIdentityEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComIdentityEvents {} -impl ::core::fmt::Debug for IComIdentityEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComIdentityEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComIdentityEvents { type Vtable = IComIdentityEvents_Vtbl; } -impl ::core::clone::Clone for IComIdentityEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComIdentityEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b1_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1868,6 +1581,7 @@ pub struct IComIdentityEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComInstance2Events(::windows_core::IUnknown); impl IComInstance2Events { pub unsafe fn OnObjectCreate2(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const ::windows_core::GUID, clsid: *const ::windows_core::GUID, tsid: *const ::windows_core::GUID, ctxtid: u64, objectid: u64, guidpartition: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1878,25 +1592,9 @@ impl IComInstance2Events { } } ::windows_core::imp::interface_hierarchy!(IComInstance2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComInstance2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComInstance2Events {} -impl ::core::fmt::Debug for IComInstance2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComInstance2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComInstance2Events { type Vtable = IComInstance2Events_Vtbl; } -impl ::core::clone::Clone for IComInstance2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComInstance2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20e3bf07_b506_4ad5_a50c_d2ca5b9c158e); } @@ -1909,6 +1607,7 @@ pub struct IComInstance2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComInstanceEvents(::windows_core::IUnknown); impl IComInstanceEvents { pub unsafe fn OnObjectCreate(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const ::windows_core::GUID, clsid: *const ::windows_core::GUID, tsid: *const ::windows_core::GUID, ctxtid: u64, objectid: u64) -> ::windows_core::Result<()> { @@ -1919,25 +1618,9 @@ impl IComInstanceEvents { } } ::windows_core::imp::interface_hierarchy!(IComInstanceEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComInstanceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComInstanceEvents {} -impl ::core::fmt::Debug for IComInstanceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComInstanceEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComInstanceEvents { type Vtable = IComInstanceEvents_Vtbl; } -impl ::core::clone::Clone for IComInstanceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComInstanceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a7_2e50_11d2_98a5_00c04f8ee1c4); } @@ -1950,6 +1633,7 @@ pub struct IComInstanceEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComLTxEvents(::windows_core::IUnknown); impl IComLTxEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1979,25 +1663,9 @@ impl IComLTxEvents { } } ::windows_core::imp::interface_hierarchy!(IComLTxEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComLTxEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComLTxEvents {} -impl ::core::fmt::Debug for IComLTxEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComLTxEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComLTxEvents { type Vtable = IComLTxEvents_Vtbl; } -impl ::core::clone::Clone for IComLTxEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComLTxEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x605cf82c_578e_4298_975d_82babcd9e053); } @@ -2019,6 +1687,7 @@ pub struct IComLTxEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComMethod2Events(::windows_core::IUnknown); impl IComMethod2Events { pub unsafe fn OnMethodCall2(&self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const ::windows_core::GUID, guidrid: *const ::windows_core::GUID, dwthread: u32, imeth: u32) -> ::windows_core::Result<()> { @@ -2032,25 +1701,9 @@ impl IComMethod2Events { } } ::windows_core::imp::interface_hierarchy!(IComMethod2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComMethod2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComMethod2Events {} -impl ::core::fmt::Debug for IComMethod2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComMethod2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComMethod2Events { type Vtable = IComMethod2Events_Vtbl; } -impl ::core::clone::Clone for IComMethod2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComMethod2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb388aaa_567d_4024_af8e_6e93ee748573); } @@ -2064,6 +1717,7 @@ pub struct IComMethod2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComMethodEvents(::windows_core::IUnknown); impl IComMethodEvents { pub unsafe fn OnMethodCall(&self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const ::windows_core::GUID, guidrid: *const ::windows_core::GUID, imeth: u32) -> ::windows_core::Result<()> { @@ -2077,25 +1731,9 @@ impl IComMethodEvents { } } ::windows_core::imp::interface_hierarchy!(IComMethodEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComMethodEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComMethodEvents {} -impl ::core::fmt::Debug for IComMethodEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComMethodEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComMethodEvents { type Vtable = IComMethodEvents_Vtbl; } -impl ::core::clone::Clone for IComMethodEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComMethodEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a9_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2109,6 +1747,7 @@ pub struct IComMethodEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComMtaThreadPoolKnobs(::windows_core::IUnknown); impl IComMtaThreadPoolKnobs { pub unsafe fn MTASetMaxThreadCount(&self, dwmaxthreads: u32) -> ::windows_core::Result<()> { @@ -2127,25 +1766,9 @@ impl IComMtaThreadPoolKnobs { } } ::windows_core::imp::interface_hierarchy!(IComMtaThreadPoolKnobs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComMtaThreadPoolKnobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComMtaThreadPoolKnobs {} -impl ::core::fmt::Debug for IComMtaThreadPoolKnobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComMtaThreadPoolKnobs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComMtaThreadPoolKnobs { type Vtable = IComMtaThreadPoolKnobs_Vtbl; } -impl ::core::clone::Clone for IComMtaThreadPoolKnobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComMtaThreadPoolKnobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9a76d2e_76a5_43eb_a0c4_49bec8e48480); } @@ -2160,6 +1783,7 @@ pub struct IComMtaThreadPoolKnobs_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectConstruction2Events(::windows_core::IUnknown); impl IComObjectConstruction2Events { pub unsafe fn OnObjectConstruct2(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const ::windows_core::GUID, sconstructstring: P0, oid: u64, guidpartition: *const ::windows_core::GUID) -> ::windows_core::Result<()> @@ -2170,25 +1794,9 @@ impl IComObjectConstruction2Events { } } ::windows_core::imp::interface_hierarchy!(IComObjectConstruction2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectConstruction2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectConstruction2Events {} -impl ::core::fmt::Debug for IComObjectConstruction2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectConstruction2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectConstruction2Events { type Vtable = IComObjectConstruction2Events_Vtbl; } -impl ::core::clone::Clone for IComObjectConstruction2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectConstruction2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b5a7827_8df2_45c0_8f6f_57ea1f856a9f); } @@ -2200,6 +1808,7 @@ pub struct IComObjectConstruction2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectConstructionEvents(::windows_core::IUnknown); impl IComObjectConstructionEvents { pub unsafe fn OnObjectConstruct(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const ::windows_core::GUID, sconstructstring: P0, oid: u64) -> ::windows_core::Result<()> @@ -2210,25 +1819,9 @@ impl IComObjectConstructionEvents { } } ::windows_core::imp::interface_hierarchy!(IComObjectConstructionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectConstructionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectConstructionEvents {} -impl ::core::fmt::Debug for IComObjectConstructionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectConstructionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectConstructionEvents { type Vtable = IComObjectConstructionEvents_Vtbl; } -impl ::core::clone::Clone for IComObjectConstructionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectConstructionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130af_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2240,6 +1833,7 @@ pub struct IComObjectConstructionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectEvents(::windows_core::IUnknown); impl IComObjectEvents { pub unsafe fn OnObjectActivate(&self, pinfo: *const COMSVCSEVENTINFO, ctxtid: u64, objectid: u64) -> ::windows_core::Result<()> { @@ -2262,25 +1856,9 @@ impl IComObjectEvents { } } ::windows_core::imp::interface_hierarchy!(IComObjectEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectEvents {} -impl ::core::fmt::Debug for IComObjectEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectEvents { type Vtable = IComObjectEvents_Vtbl; } -impl ::core::clone::Clone for IComObjectEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130aa_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2297,6 +1875,7 @@ pub struct IComObjectEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectPool2Events(::windows_core::IUnknown); impl IComObjectPool2Events { pub unsafe fn OnObjPoolPutObject2(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const ::windows_core::GUID, nreason: i32, dwavailable: u32, oid: u64) -> ::windows_core::Result<()> { @@ -2313,25 +1892,9 @@ impl IComObjectPool2Events { } } ::windows_core::imp::interface_hierarchy!(IComObjectPool2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectPool2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectPool2Events {} -impl ::core::fmt::Debug for IComObjectPool2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectPool2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectPool2Events { type Vtable = IComObjectPool2Events_Vtbl; } -impl ::core::clone::Clone for IComObjectPool2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectPool2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65bf6534_85ea_4f64_8cf4_3d974b2ab1cf); } @@ -2346,6 +1909,7 @@ pub struct IComObjectPool2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectPoolEvents(::windows_core::IUnknown); impl IComObjectPoolEvents { pub unsafe fn OnObjPoolPutObject(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const ::windows_core::GUID, nreason: i32, dwavailable: u32, oid: u64) -> ::windows_core::Result<()> { @@ -2362,25 +1926,9 @@ impl IComObjectPoolEvents { } } ::windows_core::imp::interface_hierarchy!(IComObjectPoolEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectPoolEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectPoolEvents {} -impl ::core::fmt::Debug for IComObjectPoolEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectPoolEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectPoolEvents { type Vtable = IComObjectPoolEvents_Vtbl; } -impl ::core::clone::Clone for IComObjectPoolEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectPoolEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130ad_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2395,6 +1943,7 @@ pub struct IComObjectPoolEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComObjectPoolEvents2(::windows_core::IUnknown); impl IComObjectPoolEvents2 { pub unsafe fn OnObjPoolCreateObject(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const ::windows_core::GUID, dwobjscreated: u32, oid: u64) -> ::windows_core::Result<()> { @@ -2414,25 +1963,9 @@ impl IComObjectPoolEvents2 { } } ::windows_core::imp::interface_hierarchy!(IComObjectPoolEvents2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComObjectPoolEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComObjectPoolEvents2 {} -impl ::core::fmt::Debug for IComObjectPoolEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComObjectPoolEvents2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComObjectPoolEvents2 { type Vtable = IComObjectPoolEvents2_Vtbl; } -impl ::core::clone::Clone for IComObjectPoolEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComObjectPoolEvents2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130ae_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2448,6 +1981,7 @@ pub struct IComObjectPoolEvents2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComQCEvents(::windows_core::IUnknown); impl IComQCEvents { pub unsafe fn OnQCRecord(&self, pinfo: *const COMSVCSEVENTINFO, objid: u64, szqueue: &[u16; 60], guidmsgid: *const ::windows_core::GUID, guidworkflowid: *const ::windows_core::GUID, msmqhr: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2473,25 +2007,9 @@ impl IComQCEvents { } } ::windows_core::imp::interface_hierarchy!(IComQCEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComQCEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComQCEvents {} -impl ::core::fmt::Debug for IComQCEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComQCEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComQCEvents { type Vtable = IComQCEvents_Vtbl; } -impl ::core::clone::Clone for IComQCEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComQCEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b2_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2509,6 +2027,7 @@ pub struct IComQCEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComResourceEvents(::windows_core::IUnknown); impl IComResourceEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2552,25 +2071,9 @@ impl IComResourceEvents { } } ::windows_core::imp::interface_hierarchy!(IComResourceEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComResourceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComResourceEvents {} -impl ::core::fmt::Debug for IComResourceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComResourceEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComResourceEvents { type Vtable = IComResourceEvents_Vtbl; } -impl ::core::clone::Clone for IComResourceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComResourceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130ab_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2595,6 +2098,7 @@ pub struct IComResourceEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComSecurityEvents(::windows_core::IUnknown); impl IComSecurityEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2615,25 +2119,9 @@ impl IComSecurityEvents { } } ::windows_core::imp::interface_hierarchy!(IComSecurityEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComSecurityEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComSecurityEvents {} -impl ::core::fmt::Debug for IComSecurityEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComSecurityEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComSecurityEvents { type Vtable = IComSecurityEvents_Vtbl; } -impl ::core::clone::Clone for IComSecurityEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComSecurityEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130ac_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2652,6 +2140,7 @@ pub struct IComSecurityEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComStaThreadPoolKnobs(::windows_core::IUnknown); impl IComStaThreadPoolKnobs { pub unsafe fn SetMinThreadCount(&self, minthreads: u32) -> ::windows_core::Result<()> { @@ -2695,25 +2184,9 @@ impl IComStaThreadPoolKnobs { } } ::windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComStaThreadPoolKnobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComStaThreadPoolKnobs {} -impl ::core::fmt::Debug for IComStaThreadPoolKnobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComStaThreadPoolKnobs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComStaThreadPoolKnobs { type Vtable = IComStaThreadPoolKnobs_Vtbl; } -impl ::core::clone::Clone for IComStaThreadPoolKnobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComStaThreadPoolKnobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x324b64fa_33b6_11d2_98b7_00c04f8ee1c4); } @@ -2735,6 +2208,7 @@ pub struct IComStaThreadPoolKnobs_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComStaThreadPoolKnobs2(::windows_core::IUnknown); impl IComStaThreadPoolKnobs2 { pub unsafe fn SetMinThreadCount(&self, minthreads: u32) -> ::windows_core::Result<()> { @@ -2827,25 +2301,9 @@ impl IComStaThreadPoolKnobs2 { } } ::windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs2, ::windows_core::IUnknown, IComStaThreadPoolKnobs); -impl ::core::cmp::PartialEq for IComStaThreadPoolKnobs2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComStaThreadPoolKnobs2 {} -impl ::core::fmt::Debug for IComStaThreadPoolKnobs2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComStaThreadPoolKnobs2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComStaThreadPoolKnobs2 { type Vtable = IComStaThreadPoolKnobs2_Vtbl; } -impl ::core::clone::Clone for IComStaThreadPoolKnobs2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComStaThreadPoolKnobs2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73707523_ff9a_4974_bf84_2108dc213740); } @@ -2878,6 +2336,7 @@ pub struct IComStaThreadPoolKnobs2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComThreadEvents(::windows_core::IUnknown); impl IComThreadEvents { pub unsafe fn OnThreadStart(&self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, dwthread: u32, dwtheadcnt: u32) -> ::windows_core::Result<()> { @@ -2915,25 +2374,9 @@ impl IComThreadEvents { } } ::windows_core::imp::interface_hierarchy!(IComThreadEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComThreadEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComThreadEvents {} -impl ::core::fmt::Debug for IComThreadEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComThreadEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComThreadEvents { type Vtable = IComThreadEvents_Vtbl; } -impl ::core::clone::Clone for IComThreadEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComThreadEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a5_2e50_11d2_98a5_00c04f8ee1c4); } @@ -2955,6 +2398,7 @@ pub struct IComThreadEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTrackingInfoCollection(::windows_core::IUnknown); impl IComTrackingInfoCollection { pub unsafe fn Type(&self) -> ::windows_core::Result { @@ -2970,25 +2414,9 @@ impl IComTrackingInfoCollection { } } ::windows_core::imp::interface_hierarchy!(IComTrackingInfoCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTrackingInfoCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTrackingInfoCollection {} -impl ::core::fmt::Debug for IComTrackingInfoCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTrackingInfoCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTrackingInfoCollection { type Vtable = IComTrackingInfoCollection_Vtbl; } -impl ::core::clone::Clone for IComTrackingInfoCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTrackingInfoCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc266c677_c9ad_49ab_9fd9_d9661078588a); } @@ -3002,6 +2430,7 @@ pub struct IComTrackingInfoCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTrackingInfoEvents(::windows_core::IUnknown); impl IComTrackingInfoEvents { pub unsafe fn OnNewTrackingInfo(&self, ptoplevelcollection: P0) -> ::windows_core::Result<()> @@ -3012,25 +2441,9 @@ impl IComTrackingInfoEvents { } } ::windows_core::imp::interface_hierarchy!(IComTrackingInfoEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTrackingInfoEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTrackingInfoEvents {} -impl ::core::fmt::Debug for IComTrackingInfoEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTrackingInfoEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTrackingInfoEvents { type Vtable = IComTrackingInfoEvents_Vtbl; } -impl ::core::clone::Clone for IComTrackingInfoEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTrackingInfoEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e6cdcc9_fb25_4fd5_9cc5_c9f4b6559cec); } @@ -3042,6 +2455,7 @@ pub struct IComTrackingInfoEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTrackingInfoObject(::windows_core::IUnknown); impl IComTrackingInfoObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3055,25 +2469,9 @@ impl IComTrackingInfoObject { } } ::windows_core::imp::interface_hierarchy!(IComTrackingInfoObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTrackingInfoObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTrackingInfoObject {} -impl ::core::fmt::Debug for IComTrackingInfoObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTrackingInfoObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTrackingInfoObject { type Vtable = IComTrackingInfoObject_Vtbl; } -impl ::core::clone::Clone for IComTrackingInfoObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTrackingInfoObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x116e42c5_d8b1_47bf_ab1e_c895ed3e2372); } @@ -3088,6 +2486,7 @@ pub struct IComTrackingInfoObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTrackingInfoProperties(::windows_core::IUnknown); impl IComTrackingInfoProperties { pub unsafe fn PropCount(&self) -> ::windows_core::Result { @@ -3100,25 +2499,9 @@ impl IComTrackingInfoProperties { } } ::windows_core::imp::interface_hierarchy!(IComTrackingInfoProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTrackingInfoProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTrackingInfoProperties {} -impl ::core::fmt::Debug for IComTrackingInfoProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTrackingInfoProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTrackingInfoProperties { type Vtable = IComTrackingInfoProperties_Vtbl; } -impl ::core::clone::Clone for IComTrackingInfoProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTrackingInfoProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x789b42be_6f6b_443a_898e_67abf390aa14); } @@ -3131,6 +2514,7 @@ pub struct IComTrackingInfoProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTransaction2Events(::windows_core::IUnknown); impl IComTransaction2Events { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3157,25 +2541,9 @@ impl IComTransaction2Events { } } ::windows_core::imp::interface_hierarchy!(IComTransaction2Events, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTransaction2Events { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTransaction2Events {} -impl ::core::fmt::Debug for IComTransaction2Events { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTransaction2Events").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTransaction2Events { type Vtable = IComTransaction2Events_Vtbl; } -impl ::core::clone::Clone for IComTransaction2Events { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTransaction2Events { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa136f62a_2f94_4288_86e0_d8a1fa4c0299); } @@ -3196,6 +2564,7 @@ pub struct IComTransaction2Events_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComTransactionEvents(::windows_core::IUnknown); impl IComTransactionEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3222,25 +2591,9 @@ impl IComTransactionEvents { } } ::windows_core::imp::interface_hierarchy!(IComTransactionEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComTransactionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComTransactionEvents {} -impl ::core::fmt::Debug for IComTransactionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComTransactionEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComTransactionEvents { type Vtable = IComTransactionEvents_Vtbl; } -impl ::core::clone::Clone for IComTransactionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComTransactionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a8_2e50_11d2_98a5_00c04f8ee1c4); } @@ -3261,6 +2614,7 @@ pub struct IComTransactionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComUserEvent(::windows_core::IUnknown); impl IComUserEvent { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3270,25 +2624,9 @@ impl IComUserEvent { } } ::windows_core::imp::interface_hierarchy!(IComUserEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComUserEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComUserEvent {} -impl ::core::fmt::Debug for IComUserEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComUserEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComUserEvent { type Vtable = IComUserEvent_Vtbl; } -impl ::core::clone::Clone for IComUserEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComUserEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130a4_2e50_11d2_98a5_00c04f8ee1c4); } @@ -3303,6 +2641,7 @@ pub struct IComUserEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextProperties(::windows_core::IUnknown); impl IContextProperties { pub unsafe fn Count(&self, plcount: *mut i32) -> ::windows_core::Result<()> { @@ -3336,25 +2675,9 @@ impl IContextProperties { } } ::windows_core::imp::interface_hierarchy!(IContextProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextProperties {} -impl ::core::fmt::Debug for IContextProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextProperties { type Vtable = IContextProperties_Vtbl; } -impl ::core::clone::Clone for IContextProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd396da85_bf8f_11d1_bbae_00c04fc2fa5f); } @@ -3376,6 +2699,7 @@ pub struct IContextProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextSecurityPerimeter(::windows_core::IUnknown); impl IContextSecurityPerimeter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3393,25 +2717,9 @@ impl IContextSecurityPerimeter { } } ::windows_core::imp::interface_hierarchy!(IContextSecurityPerimeter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextSecurityPerimeter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextSecurityPerimeter {} -impl ::core::fmt::Debug for IContextSecurityPerimeter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextSecurityPerimeter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextSecurityPerimeter { type Vtable = IContextSecurityPerimeter_Vtbl; } -impl ::core::clone::Clone for IContextSecurityPerimeter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextSecurityPerimeter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7549a29_a7c4_42e1_8dc1_7e3d748dc24a); } @@ -3430,6 +2738,7 @@ pub struct IContextSecurityPerimeter_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextState(::windows_core::IUnknown); impl IContextState { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3453,25 +2762,9 @@ impl IContextState { } } ::windows_core::imp::interface_hierarchy!(IContextState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextState {} -impl ::core::fmt::Debug for IContextState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextState { type Vtable = IContextState_Vtbl; } -impl ::core::clone::Clone for IContextState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c05e54b_a42a_11d2_afc4_00c04f8ee1c4); } @@ -3492,6 +2785,7 @@ pub struct IContextState_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateWithLocalTransaction(::windows_core::IUnknown); impl ICreateWithLocalTransaction { pub unsafe fn CreateInstanceWithSysTx(&self, ptransaction: P0, rclsid: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, pobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -3502,25 +2796,9 @@ impl ICreateWithLocalTransaction { } } ::windows_core::imp::interface_hierarchy!(ICreateWithLocalTransaction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateWithLocalTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateWithLocalTransaction {} -impl ::core::fmt::Debug for ICreateWithLocalTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateWithLocalTransaction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateWithLocalTransaction { type Vtable = ICreateWithLocalTransaction_Vtbl; } -impl ::core::clone::Clone for ICreateWithLocalTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateWithLocalTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x227ac7a8_8423_42ce_b7cf_03061ec9aaa3); } @@ -3532,6 +2810,7 @@ pub struct ICreateWithLocalTransaction_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateWithTipTransactionEx(::windows_core::IUnknown); impl ICreateWithTipTransactionEx { pub unsafe fn CreateInstance(&self, bstrtipurl: P0, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -3544,25 +2823,9 @@ impl ICreateWithTipTransactionEx { } } ::windows_core::imp::interface_hierarchy!(ICreateWithTipTransactionEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateWithTipTransactionEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateWithTipTransactionEx {} -impl ::core::fmt::Debug for ICreateWithTipTransactionEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateWithTipTransactionEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateWithTipTransactionEx { type Vtable = ICreateWithTipTransactionEx_Vtbl; } -impl ::core::clone::Clone for ICreateWithTipTransactionEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateWithTipTransactionEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x455acf59_5345_11d2_99cf_00c04f797bc9); } @@ -3574,6 +2837,7 @@ pub struct ICreateWithTipTransactionEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateWithTransactionEx(::windows_core::IUnknown); impl ICreateWithTransactionEx { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -3588,25 +2852,9 @@ impl ICreateWithTransactionEx { } } ::windows_core::imp::interface_hierarchy!(ICreateWithTransactionEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateWithTransactionEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateWithTransactionEx {} -impl ::core::fmt::Debug for ICreateWithTransactionEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateWithTransactionEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateWithTransactionEx { type Vtable = ICreateWithTransactionEx_Vtbl; } -impl ::core::clone::Clone for ICreateWithTransactionEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateWithTransactionEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x455acf57_5345_11d2_99cf_00c04f797bc9); } @@ -3621,6 +2869,7 @@ pub struct ICreateWithTransactionEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmCompensator(::windows_core::IUnknown); impl ICrmCompensator { pub unsafe fn SetLogControl(&self, plogcontrol: P0) -> ::windows_core::Result<()> @@ -3680,25 +2929,9 @@ impl ICrmCompensator { } } ::windows_core::imp::interface_hierarchy!(ICrmCompensator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmCompensator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmCompensator {} -impl ::core::fmt::Debug for ICrmCompensator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmCompensator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmCompensator { type Vtable = ICrmCompensator_Vtbl; } -impl ::core::clone::Clone for ICrmCompensator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmCompensator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbc01830_8d3b_11d1_82ec_00a0c91eede9); } @@ -3737,6 +2970,7 @@ pub struct ICrmCompensator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmCompensatorVariants(::windows_core::IUnknown); impl ICrmCompensatorVariants { pub unsafe fn SetLogControlVariants(&self, plogcontrol: P0) -> ::windows_core::Result<()> @@ -3796,25 +3030,9 @@ impl ICrmCompensatorVariants { } } ::windows_core::imp::interface_hierarchy!(ICrmCompensatorVariants, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmCompensatorVariants { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmCompensatorVariants {} -impl ::core::fmt::Debug for ICrmCompensatorVariants { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmCompensatorVariants").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmCompensatorVariants { type Vtable = ICrmCompensatorVariants_Vtbl; } -impl ::core::clone::Clone for ICrmCompensatorVariants { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmCompensatorVariants { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0baf8e4_7804_11d1_82e9_00a0c91eede9); } @@ -3853,6 +3071,7 @@ pub struct ICrmCompensatorVariants_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmFormatLogRecords(::windows_core::IUnknown); impl ICrmFormatLogRecords { pub unsafe fn GetColumnCount(&self) -> ::windows_core::Result { @@ -3879,25 +3098,9 @@ impl ICrmFormatLogRecords { } } ::windows_core::imp::interface_hierarchy!(ICrmFormatLogRecords, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmFormatLogRecords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmFormatLogRecords {} -impl ::core::fmt::Debug for ICrmFormatLogRecords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmFormatLogRecords").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmFormatLogRecords { type Vtable = ICrmFormatLogRecords_Vtbl; } -impl ::core::clone::Clone for ICrmFormatLogRecords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmFormatLogRecords { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c51d821_c98b_11d1_82fb_00a0c91eede9); } @@ -3921,6 +3124,7 @@ pub struct ICrmFormatLogRecords_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmLogControl(::windows_core::IUnknown); impl ICrmLogControl { pub unsafe fn TransactionUOW(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3955,25 +3159,9 @@ impl ICrmLogControl { } } ::windows_core::imp::interface_hierarchy!(ICrmLogControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmLogControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmLogControl {} -impl ::core::fmt::Debug for ICrmLogControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmLogControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmLogControl { type Vtable = ICrmLogControl_Vtbl; } -impl ::core::clone::Clone for ICrmLogControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmLogControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0e174b3_d26e_11d2_8f84_00805fc7bcd9); } @@ -3997,6 +3185,7 @@ pub struct ICrmLogControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmMonitor(::windows_core::IUnknown); impl ICrmMonitor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4013,25 +3202,9 @@ impl ICrmMonitor { } } ::windows_core::imp::interface_hierarchy!(ICrmMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmMonitor {} -impl ::core::fmt::Debug for ICrmMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmMonitor { type Vtable = ICrmMonitor_Vtbl; } -impl ::core::clone::Clone for ICrmMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70c8e443_c7ed_11d1_82fb_00a0c91eede9); } @@ -4051,6 +3224,7 @@ pub struct ICrmMonitor_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmMonitorClerks(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICrmMonitorClerks { @@ -4096,30 +3270,10 @@ impl ICrmMonitorClerks { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICrmMonitorClerks, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICrmMonitorClerks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICrmMonitorClerks {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICrmMonitorClerks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmMonitorClerks").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICrmMonitorClerks { type Vtable = ICrmMonitorClerks_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICrmMonitorClerks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICrmMonitorClerks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70c8e442_c7ed_11d1_82fb_00a0c91eede9); } @@ -4153,6 +3307,7 @@ pub struct ICrmMonitorClerks_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICrmMonitorLogRecords(::windows_core::IUnknown); impl ICrmMonitorLogRecords { pub unsafe fn Count(&self) -> ::windows_core::Result { @@ -4182,25 +3337,9 @@ impl ICrmMonitorLogRecords { } } ::windows_core::imp::interface_hierarchy!(ICrmMonitorLogRecords, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICrmMonitorLogRecords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICrmMonitorLogRecords {} -impl ::core::fmt::Debug for ICrmMonitorLogRecords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICrmMonitorLogRecords").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICrmMonitorLogRecords { type Vtable = ICrmMonitorLogRecords_Vtbl; } -impl ::core::clone::Clone for ICrmMonitorLogRecords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICrmMonitorLogRecords { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70c8e441_c7ed_11d1_82fb_00a0c91eede9); } @@ -4225,6 +3364,7 @@ pub struct ICrmMonitorLogRecords_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispenserDriver(::windows_core::IUnknown); impl IDispenserDriver { pub unsafe fn CreateResource(&self, restypid: usize, presid: *mut usize, psecsfreebeforedestroy: *mut i32) -> ::windows_core::Result<()> { @@ -4252,25 +3392,9 @@ impl IDispenserDriver { } } ::windows_core::imp::interface_hierarchy!(IDispenserDriver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDispenserDriver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDispenserDriver {} -impl ::core::fmt::Debug for IDispenserDriver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispenserDriver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDispenserDriver { type Vtable = IDispenserDriver_Vtbl; } -impl ::core::clone::Clone for IDispenserDriver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispenserDriver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x208b3651_2b48_11cf_be10_00aa00a2fa25); } @@ -4290,6 +3414,7 @@ pub struct IDispenserDriver_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispenserManager(::windows_core::IUnknown); impl IDispenserManager { pub unsafe fn RegisterDispenser(&self, __midl__idispensermanager0000: P0, szdispensername: P1) -> ::windows_core::Result @@ -4305,25 +3430,9 @@ impl IDispenserManager { } } ::windows_core::imp::interface_hierarchy!(IDispenserManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDispenserManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDispenserManager {} -impl ::core::fmt::Debug for IDispenserManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispenserManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDispenserManager { type Vtable = IDispenserManager_Vtbl; } -impl ::core::clone::Clone for IDispenserManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispenserManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cb31e10_2b5f_11cf_be10_00aa00a2fa25); } @@ -4336,6 +3445,7 @@ pub struct IDispenserManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumNames(::windows_core::IUnknown); impl IEnumNames { pub unsafe fn Next(&self, celt: u32, rgname: *mut ::windows_core::BSTR, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -4353,25 +3463,9 @@ impl IEnumNames { } } ::windows_core::imp::interface_hierarchy!(IEnumNames, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumNames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumNames {} -impl ::core::fmt::Debug for IEnumNames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumNames").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumNames { type Vtable = IEnumNames_Vtbl; } -impl ::core::clone::Clone for IEnumNames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumNames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372af2_cae7_11cf_be81_00aa00a2fa25); } @@ -4387,6 +3481,7 @@ pub struct IEnumNames_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventServerTrace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEventServerTrace { @@ -4411,30 +3506,10 @@ impl IEventServerTrace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEventServerTrace, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEventServerTrace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEventServerTrace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEventServerTrace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventServerTrace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEventServerTrace { type Vtable = IEventServerTrace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEventServerTrace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEventServerTrace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a9f12b8_80af_47ab_a579_35ea57725370); } @@ -4449,6 +3524,7 @@ pub struct IEventServerTrace_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetAppTrackerData(::windows_core::IUnknown); impl IGetAppTrackerData { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4482,25 +3558,9 @@ impl IGetAppTrackerData { } } ::windows_core::imp::interface_hierarchy!(IGetAppTrackerData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetAppTrackerData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetAppTrackerData {} -impl ::core::fmt::Debug for IGetAppTrackerData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetAppTrackerData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetAppTrackerData { type Vtable = IGetAppTrackerData_Vtbl; } -impl ::core::clone::Clone for IGetAppTrackerData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetAppTrackerData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x507c3ac8_3e12_4cb0_9366_653d3e050638); } @@ -4527,6 +3587,7 @@ pub struct IGetAppTrackerData_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetContextProperties(::windows_core::IUnknown); impl IGetContextProperties { pub unsafe fn Count(&self, plcount: *mut i32) -> ::windows_core::Result<()> { @@ -4546,25 +3607,9 @@ impl IGetContextProperties { } } ::windows_core::imp::interface_hierarchy!(IGetContextProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetContextProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetContextProperties {} -impl ::core::fmt::Debug for IGetContextProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetContextProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetContextProperties { type Vtable = IGetContextProperties_Vtbl; } -impl ::core::clone::Clone for IGetContextProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetContextProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372af4_cae7_11cf_be81_00aa00a2fa25); } @@ -4582,6 +3627,7 @@ pub struct IGetContextProperties_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetSecurityCallContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGetSecurityCallContext { @@ -4595,30 +3641,10 @@ impl IGetSecurityCallContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGetSecurityCallContext, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGetSecurityCallContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGetSecurityCallContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGetSecurityCallContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetSecurityCallContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGetSecurityCallContext { type Vtable = IGetSecurityCallContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGetSecurityCallContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGetSecurityCallContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafc823f_b441_11d1_b82b_0000f8757e2a); } @@ -4634,6 +3660,7 @@ pub struct IGetSecurityCallContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolder(::windows_core::IUnknown); impl IHolder { pub unsafe fn AllocResource(&self, __midl__iholder0000: usize, __midl__iholder0001: *mut usize) -> ::windows_core::Result<()> { @@ -4672,25 +3699,9 @@ impl IHolder { } } ::windows_core::imp::interface_hierarchy!(IHolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolder {} -impl ::core::fmt::Debug for IHolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolder { type Vtable = IHolder_Vtbl; } -impl ::core::clone::Clone for IHolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf6a1850_2b45_11cf_be10_00aa00a2fa25); } @@ -4715,6 +3726,7 @@ pub struct IHolder_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILBEvents(::windows_core::IUnknown); impl ILBEvents { pub unsafe fn TargetUp(&self, bstrservername: P0, bstrclsideng: P1) -> ::windows_core::Result<()> @@ -4742,25 +3754,9 @@ impl ILBEvents { } } ::windows_core::imp::interface_hierarchy!(ILBEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILBEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILBEvents {} -impl ::core::fmt::Debug for ILBEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILBEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILBEvents { type Vtable = ILBEvents_Vtbl; } -impl ::core::clone::Clone for ILBEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILBEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683130b4_2e50_11d2_98a5_00c04f8ee1c4); } @@ -4777,6 +3773,7 @@ pub struct ILBEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMTSActivity(::windows_core::IUnknown); impl IMTSActivity { pub unsafe fn SynchronousCall(&self, pcall: P0) -> ::windows_core::Result<()> @@ -4802,25 +3799,9 @@ impl IMTSActivity { } } ::windows_core::imp::interface_hierarchy!(IMTSActivity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMTSActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMTSActivity {} -impl ::core::fmt::Debug for IMTSActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMTSActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMTSActivity { type Vtable = IMTSActivity_Vtbl; } -impl ::core::clone::Clone for IMTSActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMTSActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372af0_cae7_11cf_be81_00aa00a2fa25); } @@ -4836,6 +3817,7 @@ pub struct IMTSActivity_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMTSCall(::windows_core::IUnknown); impl IMTSCall { pub unsafe fn OnCall(&self) -> ::windows_core::Result<()> { @@ -4843,25 +3825,9 @@ impl IMTSCall { } } ::windows_core::imp::interface_hierarchy!(IMTSCall, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMTSCall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMTSCall {} -impl ::core::fmt::Debug for IMTSCall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMTSCall").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMTSCall { type Vtable = IMTSCall_Vtbl; } -impl ::core::clone::Clone for IMTSCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMTSCall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372aef_cae7_11cf_be81_00aa00a2fa25); } @@ -4874,6 +3840,7 @@ pub struct IMTSCall_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMTSLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMTSLocator { @@ -4885,30 +3852,10 @@ impl IMTSLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMTSLocator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMTSLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMTSLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMTSLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMTSLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMTSLocator { type Vtable = IMTSLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMTSLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMTSLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd19b8bfd_7f88_11d0_b16e_00aa00ba3258); } @@ -4921,6 +3868,7 @@ pub struct IMTSLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManagedActivationEvents(::windows_core::IUnknown); impl IManagedActivationEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4940,25 +3888,9 @@ impl IManagedActivationEvents { } } ::windows_core::imp::interface_hierarchy!(IManagedActivationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManagedActivationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManagedActivationEvents {} -impl ::core::fmt::Debug for IManagedActivationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManagedActivationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManagedActivationEvents { type Vtable = IManagedActivationEvents_Vtbl; } -impl ::core::clone::Clone for IManagedActivationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManagedActivationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5f325af_572f_46da_b8ab_827c3d95d99e); } @@ -4974,6 +3906,7 @@ pub struct IManagedActivationEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManagedObjectInfo(::windows_core::IUnknown); impl IManagedObjectInfo { pub unsafe fn GetIUnknown(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5003,25 +3936,9 @@ impl IManagedObjectInfo { } } ::windows_core::imp::interface_hierarchy!(IManagedObjectInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManagedObjectInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManagedObjectInfo {} -impl ::core::fmt::Debug for IManagedObjectInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManagedObjectInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManagedObjectInfo { type Vtable = IManagedObjectInfo_Vtbl; } -impl ::core::clone::Clone for IManagedObjectInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManagedObjectInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1427c51a_4584_49d8_90a0_c50d8086cbe9); } @@ -5042,6 +3959,7 @@ pub struct IManagedObjectInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManagedPoolAction(::windows_core::IUnknown); impl IManagedPoolAction { pub unsafe fn LastRelease(&self) -> ::windows_core::Result<()> { @@ -5049,25 +3967,9 @@ impl IManagedPoolAction { } } ::windows_core::imp::interface_hierarchy!(IManagedPoolAction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManagedPoolAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManagedPoolAction {} -impl ::core::fmt::Debug for IManagedPoolAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManagedPoolAction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManagedPoolAction { type Vtable = IManagedPoolAction_Vtbl; } -impl ::core::clone::Clone for IManagedPoolAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManagedPoolAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda91b74e_5388_4783_949d_c1cd5fb00506); } @@ -5079,6 +3981,7 @@ pub struct IManagedPoolAction_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManagedPooledObj(::windows_core::IUnknown); impl IManagedPooledObj { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5091,25 +3994,9 @@ impl IManagedPooledObj { } } ::windows_core::imp::interface_hierarchy!(IManagedPooledObj, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManagedPooledObj { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManagedPooledObj {} -impl ::core::fmt::Debug for IManagedPooledObj { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManagedPooledObj").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManagedPooledObj { type Vtable = IManagedPooledObj_Vtbl; } -impl ::core::clone::Clone for IManagedPooledObj { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManagedPooledObj { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5da4bea_1b42_4437_8926_b6a38860a770); } @@ -5125,6 +4012,7 @@ pub struct IManagedPooledObj_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageMover(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMessageMover { @@ -5163,30 +4051,10 @@ impl IMessageMover { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMessageMover, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMessageMover { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMessageMover {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMessageMover { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMessageMover").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMessageMover { type Vtable = IMessageMover_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMessageMover { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMessageMover { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x588a085a_b795_11d1_8054_00c04fc340ee); } @@ -5206,6 +4074,7 @@ pub struct IMessageMover_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMtsEventInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMtsEventInfo { @@ -5238,30 +4107,10 @@ impl IMtsEventInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMtsEventInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMtsEventInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMtsEventInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMtsEventInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMtsEventInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMtsEventInfo { type Vtable = IMtsEventInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMtsEventInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMtsEventInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd56c3dc1_8482_11d0_b170_00aa00ba3258); } @@ -5282,6 +4131,7 @@ pub struct IMtsEventInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMtsEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMtsEvents { @@ -5312,30 +4162,10 @@ impl IMtsEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMtsEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMtsEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMtsEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMtsEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMtsEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMtsEvents { type Vtable = IMtsEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMtsEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMtsEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbacedf4d_74ab_11d0_b162_00aa00ba3258); } @@ -5359,6 +4189,7 @@ pub struct IMtsEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMtsGrp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMtsGrp { @@ -5377,30 +4208,10 @@ impl IMtsGrp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMtsGrp, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMtsGrp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMtsGrp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMtsGrp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMtsGrp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMtsGrp { type Vtable = IMtsGrp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMtsGrp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMtsGrp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b2e958c_0393_11d1_b1ab_00aa00ba3258); } @@ -5415,6 +4226,7 @@ pub struct IMtsGrp_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjPool(::windows_core::IUnknown); impl IObjPool { pub unsafe fn Reserved1(&self) { @@ -5443,25 +4255,9 @@ impl IObjPool { } } ::windows_core::imp::interface_hierarchy!(IObjPool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjPool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjPool {} -impl ::core::fmt::Debug for IObjPool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjPool").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjPool { type Vtable = IObjPool_Vtbl; } -impl ::core::clone::Clone for IObjPool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjPool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d8805a0_2ea7_11d1_b1cc_00aa00ba3258); } @@ -5479,6 +4275,7 @@ pub struct IObjPool_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectConstruct(::windows_core::IUnknown); impl IObjectConstruct { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5491,25 +4288,9 @@ impl IObjectConstruct { } } ::windows_core::imp::interface_hierarchy!(IObjectConstruct, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectConstruct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectConstruct {} -impl ::core::fmt::Debug for IObjectConstruct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectConstruct").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectConstruct { type Vtable = IObjectConstruct_Vtbl; } -impl ::core::clone::Clone for IObjectConstruct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectConstruct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41c4f8b3_7439_11d2_98cb_00c04f8ee1c4); } @@ -5525,6 +4306,7 @@ pub struct IObjectConstruct_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectConstructString(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IObjectConstructString { @@ -5535,30 +4317,10 @@ impl IObjectConstructString { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IObjectConstructString, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IObjectConstructString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IObjectConstructString {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IObjectConstructString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectConstructString").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IObjectConstructString { type Vtable = IObjectConstructString_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IObjectConstructString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IObjectConstructString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41c4f8b2_7439_11d2_98cb_00c04f8ee1c4); } @@ -5571,6 +4333,7 @@ pub struct IObjectConstructString_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectContext(::windows_core::IUnknown); impl IObjectContext { pub unsafe fn CreateInstance(&self, rclsid: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5608,25 +4371,9 @@ impl IObjectContext { } } ::windows_core::imp::interface_hierarchy!(IObjectContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectContext {} -impl ::core::fmt::Debug for IObjectContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectContext { type Vtable = IObjectContext_Vtbl; } -impl ::core::clone::Clone for IObjectContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372ae0_cae7_11cf_be81_00aa00a2fa25); } @@ -5654,6 +4401,7 @@ pub struct IObjectContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectContextActivity(::windows_core::IUnknown); impl IObjectContextActivity { pub unsafe fn GetActivityId(&self, pguid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5661,25 +4409,9 @@ impl IObjectContextActivity { } } ::windows_core::imp::interface_hierarchy!(IObjectContextActivity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectContextActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectContextActivity {} -impl ::core::fmt::Debug for IObjectContextActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectContextActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectContextActivity { type Vtable = IObjectContextActivity_Vtbl; } -impl ::core::clone::Clone for IObjectContextActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectContextActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372afc_cae7_11cf_be81_00aa00a2fa25); } @@ -5691,6 +4423,7 @@ pub struct IObjectContextActivity_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectContextInfo(::windows_core::IUnknown); impl IObjectContextInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5713,25 +4446,9 @@ impl IObjectContextInfo { } } ::windows_core::imp::interface_hierarchy!(IObjectContextInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectContextInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectContextInfo {} -impl ::core::fmt::Debug for IObjectContextInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectContextInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectContextInfo { type Vtable = IObjectContextInfo_Vtbl; } -impl ::core::clone::Clone for IObjectContextInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectContextInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75b52ddb_e8ed_11d1_93ad_00aa00ba3258); } @@ -5750,6 +4467,7 @@ pub struct IObjectContextInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectContextInfo2(::windows_core::IUnknown); impl IObjectContextInfo2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5781,25 +4499,9 @@ impl IObjectContextInfo2 { } } ::windows_core::imp::interface_hierarchy!(IObjectContextInfo2, ::windows_core::IUnknown, IObjectContextInfo); -impl ::core::cmp::PartialEq for IObjectContextInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectContextInfo2 {} -impl ::core::fmt::Debug for IObjectContextInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectContextInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectContextInfo2 { type Vtable = IObjectContextInfo2_Vtbl; } -impl ::core::clone::Clone for IObjectContextInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectContextInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x594be71a_4bc4_438b_9197_cfd176248b09); } @@ -5813,6 +4515,7 @@ pub struct IObjectContextInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectContextTip(::windows_core::IUnknown); impl IObjectContextTip { pub unsafe fn GetTipUrl(&self, ptipurl: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -5820,25 +4523,9 @@ impl IObjectContextTip { } } ::windows_core::imp::interface_hierarchy!(IObjectContextTip, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectContextTip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectContextTip {} -impl ::core::fmt::Debug for IObjectContextTip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectContextTip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectContextTip { type Vtable = IObjectContextTip_Vtbl; } -impl ::core::clone::Clone for IObjectContextTip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectContextTip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92fd41ca_bad9_11d2_9a2d_00c04f797bc9); } @@ -5850,6 +4537,7 @@ pub struct IObjectContextTip_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectControl(::windows_core::IUnknown); impl IObjectControl { pub unsafe fn Activate(&self) -> ::windows_core::Result<()> { @@ -5865,25 +4553,9 @@ impl IObjectControl { } } ::windows_core::imp::interface_hierarchy!(IObjectControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectControl {} -impl ::core::fmt::Debug for IObjectControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectControl { type Vtable = IObjectControl_Vtbl; } -impl ::core::clone::Clone for IObjectControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372aec_cae7_11cf_be81_00aa00a2fa25); } @@ -5900,6 +4572,7 @@ pub struct IObjectControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlaybackControl(::windows_core::IUnknown); impl IPlaybackControl { pub unsafe fn FinalClientRetry(&self) -> ::windows_core::Result<()> { @@ -5910,25 +4583,9 @@ impl IPlaybackControl { } } ::windows_core::imp::interface_hierarchy!(IPlaybackControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPlaybackControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlaybackControl {} -impl ::core::fmt::Debug for IPlaybackControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlaybackControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPlaybackControl { type Vtable = IPlaybackControl_Vtbl; } -impl ::core::clone::Clone for IPlaybackControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlaybackControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372afd_cae7_11cf_be81_00aa00a2fa25); } @@ -5942,6 +4599,7 @@ pub struct IPlaybackControl_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPoolManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPoolManager { @@ -5955,30 +4613,10 @@ impl IPoolManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPoolManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPoolManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPoolManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPoolManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPoolManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPoolManager { type Vtable = IPoolManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPoolManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPoolManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a469861_5a91_43a0_99b6_d5e179bb0631); } @@ -5991,6 +4629,7 @@ pub struct IPoolManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessInitializer(::windows_core::IUnknown); impl IProcessInitializer { pub unsafe fn Startup(&self, punkprocesscontrol: P0) -> ::windows_core::Result<()> @@ -6004,25 +4643,9 @@ impl IProcessInitializer { } } ::windows_core::imp::interface_hierarchy!(IProcessInitializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProcessInitializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProcessInitializer {} -impl ::core::fmt::Debug for IProcessInitializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProcessInitializer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProcessInitializer { type Vtable = IProcessInitializer_Vtbl; } -impl ::core::clone::Clone for IProcessInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessInitializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1113f52d_dc7f_4943_aed6_88d04027e32a); } @@ -6036,6 +4659,7 @@ pub struct IProcessInitializer_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityCallContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityCallContext { @@ -6084,30 +4708,10 @@ impl ISecurityCallContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISecurityCallContext, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISecurityCallContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISecurityCallContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISecurityCallContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityCallContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISecurityCallContext { type Vtable = ISecurityCallContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISecurityCallContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISecurityCallContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafc823e_b441_11d1_b82b_0000f8757e2a); } @@ -6138,6 +4742,7 @@ pub struct ISecurityCallContext_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityCallersColl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityCallersColl { @@ -6159,30 +4764,10 @@ impl ISecurityCallersColl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISecurityCallersColl, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISecurityCallersColl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISecurityCallersColl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISecurityCallersColl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityCallersColl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISecurityCallersColl { type Vtable = ISecurityCallersColl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISecurityCallersColl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISecurityCallersColl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafc823d_b441_11d1_b82b_0000f8757e2a); } @@ -6201,6 +4786,7 @@ pub struct ISecurityCallersColl_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityIdentityColl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISecurityIdentityColl { @@ -6225,30 +4811,10 @@ impl ISecurityIdentityColl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISecurityIdentityColl, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISecurityIdentityColl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISecurityIdentityColl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISecurityIdentityColl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityIdentityColl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISecurityIdentityColl { type Vtable = ISecurityIdentityColl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISecurityIdentityColl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISecurityIdentityColl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcafc823c_b441_11d1_b82b_0000f8757e2a); } @@ -6266,6 +4832,7 @@ pub struct ISecurityIdentityColl_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityProperty(::windows_core::IUnknown); impl ISecurityProperty { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6298,25 +4865,9 @@ impl ISecurityProperty { } } ::windows_core::imp::interface_hierarchy!(ISecurityProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityProperty {} -impl ::core::fmt::Debug for ISecurityProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityProperty { type Vtable = ISecurityProperty_Vtbl; } -impl ::core::clone::Clone for ISecurityProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372aea_cae7_11cf_be81_00aa00a2fa25); } @@ -6347,6 +4898,7 @@ pub struct ISecurityProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectCOMLBServer(::windows_core::IUnknown); impl ISelectCOMLBServer { pub unsafe fn Init(&self) -> ::windows_core::Result<()> { @@ -6360,25 +4912,9 @@ impl ISelectCOMLBServer { } } ::windows_core::imp::interface_hierarchy!(ISelectCOMLBServer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISelectCOMLBServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectCOMLBServer {} -impl ::core::fmt::Debug for ISelectCOMLBServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectCOMLBServer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISelectCOMLBServer { type Vtable = ISelectCOMLBServer_Vtbl; } -impl ::core::clone::Clone for ISelectCOMLBServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectCOMLBServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcf443f4_3f8a_4872_b9f0_369a796d12d6); } @@ -6391,6 +4927,7 @@ pub struct ISelectCOMLBServer_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISendMethodEvents(::windows_core::IUnknown); impl ISendMethodEvents { pub unsafe fn SendMethodCall(&self, pidentity: *const ::core::ffi::c_void, riid: *const ::windows_core::GUID, dwmeth: u32) -> ::windows_core::Result<()> { @@ -6401,25 +4938,9 @@ impl ISendMethodEvents { } } ::windows_core::imp::interface_hierarchy!(ISendMethodEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISendMethodEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISendMethodEvents {} -impl ::core::fmt::Debug for ISendMethodEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISendMethodEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISendMethodEvents { type Vtable = ISendMethodEvents_Vtbl; } -impl ::core::clone::Clone for ISendMethodEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISendMethodEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2732fd59_b2b4_4d44_878c_8b8f09626008); } @@ -6432,6 +4953,7 @@ pub struct ISendMethodEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceActivity(::windows_core::IUnknown); impl IServiceActivity { pub unsafe fn SynchronousCall(&self, piservicecall: P0) -> ::windows_core::Result<()> @@ -6454,25 +4976,9 @@ impl IServiceActivity { } } ::windows_core::imp::interface_hierarchy!(IServiceActivity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceActivity {} -impl ::core::fmt::Debug for IServiceActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceActivity { type Vtable = IServiceActivity_Vtbl; } -impl ::core::clone::Clone for IServiceActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67532e0c_9e2f_4450_a354_035633944e17); } @@ -6487,6 +4993,7 @@ pub struct IServiceActivity_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceCall(::windows_core::IUnknown); impl IServiceCall { pub unsafe fn OnCall(&self) -> ::windows_core::Result<()> { @@ -6494,25 +5001,9 @@ impl IServiceCall { } } ::windows_core::imp::interface_hierarchy!(IServiceCall, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceCall { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceCall {} -impl ::core::fmt::Debug for IServiceCall { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceCall").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceCall { type Vtable = IServiceCall_Vtbl; } -impl ::core::clone::Clone for IServiceCall { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceCall { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd3e2e12_42dd_40f4_a09a_95a50c58304b); } @@ -6524,6 +5015,7 @@ pub struct IServiceCall_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceComTIIntrinsicsConfig(::windows_core::IUnknown); impl IServiceComTIIntrinsicsConfig { pub unsafe fn ComTIIntrinsicsConfig(&self, comtiintrinsicsconfig: CSC_COMTIIntrinsicsConfig) -> ::windows_core::Result<()> { @@ -6531,25 +5023,9 @@ impl IServiceComTIIntrinsicsConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceComTIIntrinsicsConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceComTIIntrinsicsConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceComTIIntrinsicsConfig {} -impl ::core::fmt::Debug for IServiceComTIIntrinsicsConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceComTIIntrinsicsConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceComTIIntrinsicsConfig { type Vtable = IServiceComTIIntrinsicsConfig_Vtbl; } -impl ::core::clone::Clone for IServiceComTIIntrinsicsConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceComTIIntrinsicsConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09e6831e_04e1_4ed4_9d0f_e8b168bafeaf); } @@ -6561,6 +5037,7 @@ pub struct IServiceComTIIntrinsicsConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceIISIntrinsicsConfig(::windows_core::IUnknown); impl IServiceIISIntrinsicsConfig { pub unsafe fn IISIntrinsicsConfig(&self, iisintrinsicsconfig: CSC_IISIntrinsicsConfig) -> ::windows_core::Result<()> { @@ -6568,25 +5045,9 @@ impl IServiceIISIntrinsicsConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceIISIntrinsicsConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceIISIntrinsicsConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceIISIntrinsicsConfig {} -impl ::core::fmt::Debug for IServiceIISIntrinsicsConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceIISIntrinsicsConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceIISIntrinsicsConfig { type Vtable = IServiceIISIntrinsicsConfig_Vtbl; } -impl ::core::clone::Clone for IServiceIISIntrinsicsConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceIISIntrinsicsConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a0cf920_d452_46f4_bc36_48118d54ea52); } @@ -6598,32 +5059,17 @@ pub struct IServiceIISIntrinsicsConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceInheritanceConfig(::windows_core::IUnknown); -impl IServiceInheritanceConfig { - pub unsafe fn ContainingContextTreatment(&self, inheritanceconfig: CSC_InheritanceConfig) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).ContainingContextTreatment)(::windows_core::Interface::as_raw(self), inheritanceconfig).ok() - } -} -::windows_core::imp::interface_hierarchy!(IServiceInheritanceConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceInheritanceConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceInheritanceConfig {} -impl ::core::fmt::Debug for IServiceInheritanceConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceInheritanceConfig").field(&self.0).finish() +impl IServiceInheritanceConfig { + pub unsafe fn ContainingContextTreatment(&self, inheritanceconfig: CSC_InheritanceConfig) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).ContainingContextTreatment)(::windows_core::Interface::as_raw(self), inheritanceconfig).ok() } } +::windows_core::imp::interface_hierarchy!(IServiceInheritanceConfig, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IServiceInheritanceConfig { type Vtable = IServiceInheritanceConfig_Vtbl; } -impl ::core::clone::Clone for IServiceInheritanceConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceInheritanceConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92186771_d3b4_4d77_a8ea_ee842d586f35); } @@ -6635,6 +5081,7 @@ pub struct IServiceInheritanceConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServicePartitionConfig(::windows_core::IUnknown); impl IServicePartitionConfig { pub unsafe fn PartitionConfig(&self, partitionconfig: CSC_PartitionConfig) -> ::windows_core::Result<()> { @@ -6645,25 +5092,9 @@ impl IServicePartitionConfig { } } ::windows_core::imp::interface_hierarchy!(IServicePartitionConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServicePartitionConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServicePartitionConfig {} -impl ::core::fmt::Debug for IServicePartitionConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServicePartitionConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServicePartitionConfig { type Vtable = IServicePartitionConfig_Vtbl; } -impl ::core::clone::Clone for IServicePartitionConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServicePartitionConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80182d03_5ea4_4831_ae97_55beffc2e590); } @@ -6676,6 +5107,7 @@ pub struct IServicePartitionConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServicePool(::windows_core::IUnknown); impl IServicePool { pub unsafe fn Initialize(&self, ppoolconfig: P0) -> ::windows_core::Result<()> @@ -6692,25 +5124,9 @@ impl IServicePool { } } ::windows_core::imp::interface_hierarchy!(IServicePool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServicePool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServicePool {} -impl ::core::fmt::Debug for IServicePool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServicePool").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServicePool { type Vtable = IServicePool_Vtbl; } -impl ::core::clone::Clone for IServicePool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServicePool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb302df81_ea45_451e_99a2_09f9fd1b1e13); } @@ -6724,6 +5140,7 @@ pub struct IServicePool_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServicePoolConfig(::windows_core::IUnknown); impl IServicePoolConfig { pub unsafe fn SetMaxPoolSize(&self, dwmaxpool: u32) -> ::windows_core::Result<()> { @@ -6773,25 +5190,9 @@ impl IServicePoolConfig { } } ::windows_core::imp::interface_hierarchy!(IServicePoolConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServicePoolConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServicePoolConfig {} -impl ::core::fmt::Debug for IServicePoolConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServicePoolConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServicePoolConfig { type Vtable = IServicePoolConfig_Vtbl; } -impl ::core::clone::Clone for IServicePoolConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServicePoolConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9690656_5bca_470c_8451_250c1f43a33e); } @@ -6824,6 +5225,7 @@ pub struct IServicePoolConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceSxsConfig(::windows_core::IUnknown); impl IServiceSxsConfig { pub unsafe fn SxsConfig(&self, scsconfig: CSC_SxsConfig) -> ::windows_core::Result<()> { @@ -6843,25 +5245,9 @@ impl IServiceSxsConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceSxsConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceSxsConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceSxsConfig {} -impl ::core::fmt::Debug for IServiceSxsConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceSxsConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceSxsConfig { type Vtable = IServiceSxsConfig_Vtbl; } -impl ::core::clone::Clone for IServiceSxsConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceSxsConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7cd7379_f3f2_4634_811b_703281d73e08); } @@ -6875,6 +5261,7 @@ pub struct IServiceSxsConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceSynchronizationConfig(::windows_core::IUnknown); impl IServiceSynchronizationConfig { pub unsafe fn ConfigureSynchronization(&self, synchconfig: CSC_SynchronizationConfig) -> ::windows_core::Result<()> { @@ -6882,25 +5269,9 @@ impl IServiceSynchronizationConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceSynchronizationConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceSynchronizationConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceSynchronizationConfig {} -impl ::core::fmt::Debug for IServiceSynchronizationConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceSynchronizationConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceSynchronizationConfig { type Vtable = IServiceSynchronizationConfig_Vtbl; } -impl ::core::clone::Clone for IServiceSynchronizationConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceSynchronizationConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd880e81_6dce_4c58_af83_a208846c0030); } @@ -6912,6 +5283,7 @@ pub struct IServiceSynchronizationConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceSysTxnConfig(::windows_core::IUnknown); impl IServiceSysTxnConfig { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> ::windows_core::Result<()> { @@ -6951,25 +5323,9 @@ impl IServiceSysTxnConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceSysTxnConfig, ::windows_core::IUnknown, IServiceTransactionConfigBase, IServiceTransactionConfig); -impl ::core::cmp::PartialEq for IServiceSysTxnConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceSysTxnConfig {} -impl ::core::fmt::Debug for IServiceSysTxnConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceSysTxnConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceSysTxnConfig { type Vtable = IServiceSysTxnConfig_Vtbl; } -impl ::core::clone::Clone for IServiceSysTxnConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceSysTxnConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33caf1a1_fcb8_472b_b45e_967448ded6d8); } @@ -6981,6 +5337,7 @@ pub struct IServiceSysTxnConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceThreadPoolConfig(::windows_core::IUnknown); impl IServiceThreadPoolConfig { pub unsafe fn SelectThreadPool(&self, threadpool: CSC_ThreadPool) -> ::windows_core::Result<()> { @@ -6991,25 +5348,9 @@ impl IServiceThreadPoolConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceThreadPoolConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceThreadPoolConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceThreadPoolConfig {} -impl ::core::fmt::Debug for IServiceThreadPoolConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceThreadPoolConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceThreadPoolConfig { type Vtable = IServiceThreadPoolConfig_Vtbl; } -impl ::core::clone::Clone for IServiceThreadPoolConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceThreadPoolConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x186d89bc_f277_4bcc_80d5_4df7b836ef4a); } @@ -7022,6 +5363,7 @@ pub struct IServiceThreadPoolConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceTrackerConfig(::windows_core::IUnknown); impl IServiceTrackerConfig { pub unsafe fn TrackerConfig(&self, trackerconfig: CSC_TrackerConfig, sztrackerappname: P0, sztrackerctxname: P1) -> ::windows_core::Result<()> @@ -7033,25 +5375,9 @@ impl IServiceTrackerConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceTrackerConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceTrackerConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceTrackerConfig {} -impl ::core::fmt::Debug for IServiceTrackerConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceTrackerConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceTrackerConfig { type Vtable = IServiceTrackerConfig_Vtbl; } -impl ::core::clone::Clone for IServiceTrackerConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceTrackerConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c3a3e1d_0ba6_4036_b76f_d0404db816c9); } @@ -7063,6 +5389,7 @@ pub struct IServiceTrackerConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceTransactionConfig(::windows_core::IUnknown); impl IServiceTransactionConfig { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> ::windows_core::Result<()> { @@ -7096,25 +5423,9 @@ impl IServiceTransactionConfig { } } ::windows_core::imp::interface_hierarchy!(IServiceTransactionConfig, ::windows_core::IUnknown, IServiceTransactionConfigBase); -impl ::core::cmp::PartialEq for IServiceTransactionConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceTransactionConfig {} -impl ::core::fmt::Debug for IServiceTransactionConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceTransactionConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceTransactionConfig { type Vtable = IServiceTransactionConfig_Vtbl; } -impl ::core::clone::Clone for IServiceTransactionConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceTransactionConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59f4c2a3_d3d7_4a31_b6e4_6ab3177c50b9); } @@ -7129,6 +5440,7 @@ pub struct IServiceTransactionConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceTransactionConfigBase(::windows_core::IUnknown); impl IServiceTransactionConfigBase { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> ::windows_core::Result<()> { @@ -7154,25 +5466,9 @@ impl IServiceTransactionConfigBase { } } ::windows_core::imp::interface_hierarchy!(IServiceTransactionConfigBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IServiceTransactionConfigBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IServiceTransactionConfigBase {} -impl ::core::fmt::Debug for IServiceTransactionConfigBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IServiceTransactionConfigBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IServiceTransactionConfigBase { type Vtable = IServiceTransactionConfigBase_Vtbl; } -impl ::core::clone::Clone for IServiceTransactionConfigBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IServiceTransactionConfigBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x772b3fbe_6ffd_42fb_b5f8_8f9b260f3810); } @@ -7189,6 +5485,7 @@ pub struct IServiceTransactionConfigBase_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISharedProperty { @@ -7207,30 +5504,10 @@ impl ISharedProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISharedProperty, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISharedProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISharedProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISharedProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISharedProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISharedProperty { type Vtable = ISharedProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISharedProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISharedProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a005c01_a5de_11cf_9e66_00aa00a3f464); } @@ -7251,6 +5528,7 @@ pub struct ISharedProperty_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPropertyGroup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISharedPropertyGroup { @@ -7286,30 +5564,10 @@ impl ISharedPropertyGroup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISharedPropertyGroup, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISharedPropertyGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISharedPropertyGroup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISharedPropertyGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISharedPropertyGroup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISharedPropertyGroup { type Vtable = ISharedPropertyGroup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISharedPropertyGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISharedPropertyGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a005c07_a5de_11cf_9e66_00aa00a3f464); } @@ -7338,6 +5596,7 @@ pub struct ISharedPropertyGroup_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedPropertyGroupManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISharedPropertyGroupManager { @@ -7366,30 +5625,10 @@ impl ISharedPropertyGroupManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISharedPropertyGroupManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISharedPropertyGroupManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISharedPropertyGroupManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISharedPropertyGroupManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISharedPropertyGroupManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISharedPropertyGroupManager { type Vtable = ISharedPropertyGroupManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISharedPropertyGroupManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISharedPropertyGroupManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a005c0d_a5de_11cf_9e66_00aa00a3f464); } @@ -7410,6 +5649,7 @@ pub struct ISharedPropertyGroupManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemAppEventData(::windows_core::IUnknown); impl ISystemAppEventData { pub unsafe fn Startup(&self) -> ::windows_core::Result<()> { @@ -7423,25 +5663,9 @@ impl ISystemAppEventData { } } ::windows_core::imp::interface_hierarchy!(ISystemAppEventData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISystemAppEventData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISystemAppEventData {} -impl ::core::fmt::Debug for ISystemAppEventData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemAppEventData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISystemAppEventData { type Vtable = ISystemAppEventData_Vtbl; } -impl ::core::clone::Clone for ISystemAppEventData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemAppEventData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6d48a3c_d5c5_49e7_8c74_99e4889ed52f); } @@ -7454,6 +5678,7 @@ pub struct ISystemAppEventData_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThreadPoolKnobs(::windows_core::IUnknown); impl IThreadPoolKnobs { pub unsafe fn GetMaxThreads(&self, plcmaxthreads: *mut i32) -> ::windows_core::Result<()> { @@ -7488,25 +5713,9 @@ impl IThreadPoolKnobs { } } ::windows_core::imp::interface_hierarchy!(IThreadPoolKnobs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThreadPoolKnobs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThreadPoolKnobs {} -impl ::core::fmt::Debug for IThreadPoolKnobs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThreadPoolKnobs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThreadPoolKnobs { type Vtable = IThreadPoolKnobs_Vtbl; } -impl ::core::clone::Clone for IThreadPoolKnobs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThreadPoolKnobs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51372af7_cae7_11cf_be81_00aa00a2fa25); } @@ -7528,6 +5737,7 @@ pub struct IThreadPoolKnobs_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITransactionContext { @@ -7550,30 +5760,10 @@ impl ITransactionContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITransactionContext, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITransactionContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITransactionContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITransactionContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITransactionContext { type Vtable = ITransactionContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITransactionContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITransactionContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7999fc21_d3c6_11cf_acab_00a024a55aef); } @@ -7591,6 +5781,7 @@ pub struct ITransactionContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionContextEx(::windows_core::IUnknown); impl ITransactionContextEx { pub unsafe fn CreateInstance(&self, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result @@ -7608,25 +5799,9 @@ impl ITransactionContextEx { } } ::windows_core::imp::interface_hierarchy!(ITransactionContextEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionContextEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionContextEx {} -impl ::core::fmt::Debug for ITransactionContextEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionContextEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionContextEx { type Vtable = ITransactionContextEx_Vtbl; } -impl ::core::clone::Clone for ITransactionContextEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionContextEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7999fc22_d3c6_11cf_acab_00a024a55aef); } @@ -7640,6 +5815,7 @@ pub struct ITransactionContextEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionProperty(::windows_core::IUnknown); impl ITransactionProperty { pub unsafe fn Reserved1(&self) { @@ -7699,25 +5875,9 @@ impl ITransactionProperty { } } ::windows_core::imp::interface_hierarchy!(ITransactionProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionProperty {} -impl ::core::fmt::Debug for ITransactionProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionProperty { type Vtable = ITransactionProperty_Vtbl; } -impl ::core::clone::Clone for ITransactionProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x788ea814_87b1_11d1_bba6_00c04fc2fa5f); } @@ -7746,6 +5906,7 @@ pub struct ITransactionProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionProxy(::windows_core::IUnknown); impl ITransactionProxy { pub unsafe fn Commit(&self, guid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -7782,25 +5943,9 @@ impl ITransactionProxy { } } ::windows_core::imp::interface_hierarchy!(ITransactionProxy, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionProxy {} -impl ::core::fmt::Debug for ITransactionProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionProxy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionProxy { type Vtable = ITransactionProxy_Vtbl; } -impl ::core::clone::Clone for ITransactionProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02558374_df2e_4dae_bd6b_1d5c994f9bdc); } @@ -7827,6 +5972,7 @@ pub struct ITransactionProxy_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionResourcePool(::windows_core::IUnknown); impl ITransactionResourcePool { pub unsafe fn PutResource(&self, ppool: P0, punk: P1) -> ::windows_core::Result<()> @@ -7845,25 +5991,9 @@ impl ITransactionResourcePool { } } ::windows_core::imp::interface_hierarchy!(ITransactionResourcePool, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionResourcePool { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionResourcePool {} -impl ::core::fmt::Debug for ITransactionResourcePool { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionResourcePool").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionResourcePool { type Vtable = ITransactionResourcePool_Vtbl; } -impl ::core::clone::Clone for ITransactionResourcePool { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionResourcePool { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5feb7c1_346a_11d1_b1cc_00aa00ba3258); } @@ -7876,6 +6006,7 @@ pub struct ITransactionResourcePool_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionStatus(::windows_core::IUnknown); impl ITransactionStatus { pub unsafe fn SetTransactionStatus(&self, hrstatus: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -7886,25 +6017,9 @@ impl ITransactionStatus { } } ::windows_core::imp::interface_hierarchy!(ITransactionStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionStatus {} -impl ::core::fmt::Debug for ITransactionStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionStatus { type Vtable = ITransactionStatus_Vtbl; } -impl ::core::clone::Clone for ITransactionStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61f589e8_3724_4898_a0a4_664ae9e1d1b4); } @@ -7917,6 +6032,7 @@ pub struct ITransactionStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITxProxyHolder(::windows_core::IUnknown); impl ITxProxyHolder { pub unsafe fn GetIdentifier(&self, pguidltx: *mut ::windows_core::GUID) { @@ -7924,25 +6040,9 @@ impl ITxProxyHolder { } } ::windows_core::imp::interface_hierarchy!(ITxProxyHolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITxProxyHolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITxProxyHolder {} -impl ::core::fmt::Debug for ITxProxyHolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITxProxyHolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITxProxyHolder { type Vtable = ITxProxyHolder_Vtbl; } -impl ::core::clone::Clone for ITxProxyHolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITxProxyHolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13d86f31_0139_41af_bcad_c7d50435fe9f); } @@ -7955,6 +6055,7 @@ pub struct ITxProxyHolder_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ObjectContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ObjectContext { @@ -8033,30 +6134,10 @@ impl ObjectContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ObjectContext, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ObjectContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ObjectContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ObjectContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ObjectContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ObjectContext { type Vtable = ObjectContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ObjectContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ObjectContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74c08646_cedb_11cf_8b49_00aa00b8a790); } @@ -8102,6 +6183,7 @@ pub struct ObjectContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ObjectControl(::windows_core::IUnknown); impl ObjectControl { pub unsafe fn Activate(&self) -> ::windows_core::Result<()> { @@ -8117,25 +6199,9 @@ impl ObjectControl { } } ::windows_core::imp::interface_hierarchy!(ObjectControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ObjectControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ObjectControl {} -impl ::core::fmt::Debug for ObjectControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ObjectControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ObjectControl { type Vtable = ObjectControl_Vtbl; } -impl ::core::clone::Clone for ObjectControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ObjectControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dc41850_0c31_11d0_8b79_00aa00b8a790); } @@ -8153,6 +6219,7 @@ pub struct ObjectControl_Vtbl { #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SecurityProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl SecurityProperty { @@ -8176,30 +6243,10 @@ impl SecurityProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(SecurityProperty, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for SecurityProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for SecurityProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for SecurityProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SecurityProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for SecurityProperty { type Vtable = SecurityProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for SecurityProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for SecurityProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe74a7215_014d_11d1_a63c_00a0c911b4e0); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs index 666d3e0b08..d532825a94 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs @@ -29,8 +29,8 @@ impl IContact_Vtbl { CommitChanges: CommitChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -136,8 +136,8 @@ impl IContactAggregationAggregate_Vtbl { Id: Id::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IContactAggregationAggregateCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl IContactAggregationContact_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl IContactAggregationContactCollection_Vtbl { FindFirstByRemoteId: FindFirstByRemoteId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -586,8 +586,8 @@ impl IContactAggregationGroup_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -652,8 +652,8 @@ impl IContactAggregationGroupCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IContactAggregationLink_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -902,8 +902,8 @@ impl IContactAggregationLinkCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1096,8 +1096,8 @@ impl IContactAggregationManager_Vtbl { get_ServerContactLinks: get_ServerContactLinks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IContactAggregationServerPerson_Vtbl { SetObjectId: SetObjectId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IContactAggregationServerPersonCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1473,8 +1473,8 @@ impl IContactCollection_Vtbl { GetCurrent: GetCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1547,8 +1547,8 @@ impl IContactManager_Vtbl { GetContactCollection: GetContactCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IContactProperties_Vtbl { GetPropertyCollection: GetPropertyCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1721,7 +1721,7 @@ impl IContactPropertyCollection_Vtbl { GetPropertyArrayElementID: GetPropertyArrayElementID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs index 453ebb0c5d..43c6b8b58c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContact(::windows_core::IUnknown); impl IContact { pub unsafe fn GetContactID(&self, pszcontactid: &mut [u16], pdwcchcontactidrequired: *mut u32) -> ::windows_core::Result<()> { @@ -13,25 +14,9 @@ impl IContact { } } ::windows_core::imp::interface_hierarchy!(IContact, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContact {} -impl ::core::fmt::Debug for IContact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContact").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContact { type Vtable = IContact_Vtbl; } -impl ::core::clone::Clone for IContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf941b671_bda7_4f77_884a_f46462f226a7); } @@ -45,6 +30,7 @@ pub struct IContact_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationAggregate(::windows_core::IUnknown); impl IContactAggregationAggregate { pub unsafe fn Save(&self) -> ::windows_core::Result<()> { @@ -87,25 +73,9 @@ impl IContactAggregationAggregate { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationAggregate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationAggregate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationAggregate {} -impl ::core::fmt::Debug for IContactAggregationAggregate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationAggregate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationAggregate { type Vtable = IContactAggregationAggregate_Vtbl; } -impl ::core::clone::Clone for IContactAggregationAggregate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationAggregate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed1c814_cd30_43c8_9b8d_2e489e53d54b); } @@ -125,6 +95,7 @@ pub struct IContactAggregationAggregate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationAggregateCollection(::windows_core::IUnknown); impl IContactAggregationAggregateCollection { pub unsafe fn FindFirst(&self) -> ::windows_core::Result { @@ -148,25 +119,9 @@ impl IContactAggregationAggregateCollection { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationAggregateCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationAggregateCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationAggregateCollection {} -impl ::core::fmt::Debug for IContactAggregationAggregateCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationAggregateCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationAggregateCollection { type Vtable = IContactAggregationAggregateCollection_Vtbl; } -impl ::core::clone::Clone for IContactAggregationAggregateCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationAggregateCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2359f3a6_3a68_40af_98db_0f9eb143c3bb); } @@ -181,6 +136,7 @@ pub struct IContactAggregationAggregateCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationContact(::windows_core::IUnknown); impl IContactAggregationContact { pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { @@ -261,25 +217,9 @@ impl IContactAggregationContact { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationContact, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationContact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationContact {} -impl ::core::fmt::Debug for IContactAggregationContact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationContact").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationContact { type Vtable = IContactAggregationContact_Vtbl; } -impl ::core::clone::Clone for IContactAggregationContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1eb22e86_4c86_41f0_9f9f_c251e9fda6c3); } @@ -314,6 +254,7 @@ pub struct IContactAggregationContact_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationContactCollection(::windows_core::IUnknown); impl IContactAggregationContactCollection { pub unsafe fn FindFirst(&self) -> ::windows_core::Result { @@ -346,25 +287,9 @@ impl IContactAggregationContactCollection { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationContactCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationContactCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationContactCollection {} -impl ::core::fmt::Debug for IContactAggregationContactCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationContactCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationContactCollection { type Vtable = IContactAggregationContactCollection_Vtbl; } -impl ::core::clone::Clone for IContactAggregationContactCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationContactCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x826e66fa_81de_43ca_a6fb_8c785cd996c6); } @@ -380,6 +305,7 @@ pub struct IContactAggregationContactCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationGroup(::windows_core::IUnknown); impl IContactAggregationGroup { pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { @@ -427,25 +353,9 @@ impl IContactAggregationGroup { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationGroup {} -impl ::core::fmt::Debug for IContactAggregationGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationGroup { type Vtable = IContactAggregationGroup_Vtbl; } -impl ::core::clone::Clone for IContactAggregationGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc93c545f_1284_499b_96af_07372af473e0); } @@ -466,6 +376,7 @@ pub struct IContactAggregationGroup_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationGroupCollection(::windows_core::IUnknown); impl IContactAggregationGroupCollection { pub unsafe fn FindFirst(&self) -> ::windows_core::Result { @@ -486,25 +397,9 @@ impl IContactAggregationGroupCollection { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationGroupCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationGroupCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationGroupCollection {} -impl ::core::fmt::Debug for IContactAggregationGroupCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationGroupCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationGroupCollection { type Vtable = IContactAggregationGroupCollection_Vtbl; } -impl ::core::clone::Clone for IContactAggregationGroupCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationGroupCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20a19a9c_d2f3_4b83_9143_beffd2cc226d); } @@ -519,6 +414,7 @@ pub struct IContactAggregationGroupCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationLink(::windows_core::IUnknown); impl IContactAggregationLink { pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { @@ -601,25 +497,9 @@ impl IContactAggregationLink { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationLink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationLink {} -impl ::core::fmt::Debug for IContactAggregationLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationLink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationLink { type Vtable = IContactAggregationLink_Vtbl; } -impl ::core::clone::Clone for IContactAggregationLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6813323_a183_4654_8627_79b30de3a0ec); } @@ -653,6 +533,7 @@ pub struct IContactAggregationLink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationLinkCollection(::windows_core::IUnknown); impl IContactAggregationLinkCollection { pub unsafe fn FindFirst(&self) -> ::windows_core::Result { @@ -677,25 +558,9 @@ impl IContactAggregationLinkCollection { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationLinkCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationLinkCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationLinkCollection {} -impl ::core::fmt::Debug for IContactAggregationLinkCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationLinkCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationLinkCollection { type Vtable = IContactAggregationLinkCollection_Vtbl; } -impl ::core::clone::Clone for IContactAggregationLinkCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationLinkCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8bc0e93_fb55_4f28_b9fa_b1c274153292); } @@ -710,6 +575,7 @@ pub struct IContactAggregationLinkCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationManager(::windows_core::IUnknown); impl IContactAggregationManager { pub unsafe fn GetVersionInfo(&self, plmajorversion: *mut i32, plminorversion: *mut i32) -> ::windows_core::Result<()> { @@ -791,25 +657,9 @@ impl IContactAggregationManager { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationManager {} -impl ::core::fmt::Debug for IContactAggregationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationManager { type Vtable = IContactAggregationManager_Vtbl; } -impl ::core::clone::Clone for IContactAggregationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d865989_4b1f_4b60_8f34_c2ad468b2b50); } @@ -838,6 +688,7 @@ pub struct IContactAggregationManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationServerPerson(::windows_core::IUnknown); impl IContactAggregationServerPerson { pub unsafe fn Delete(&self) -> ::windows_core::Result<()> { @@ -944,25 +795,9 @@ impl IContactAggregationServerPerson { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationServerPerson, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationServerPerson { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationServerPerson {} -impl ::core::fmt::Debug for IContactAggregationServerPerson { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationServerPerson").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationServerPerson { type Vtable = IContactAggregationServerPerson_Vtbl; } -impl ::core::clone::Clone for IContactAggregationServerPerson { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationServerPerson { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fdc3d4b_1b82_4334_85c5_25184ee5a5f2); } @@ -1002,6 +837,7 @@ pub struct IContactAggregationServerPerson_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactAggregationServerPersonCollection(::windows_core::IUnknown); impl IContactAggregationServerPersonCollection { pub unsafe fn FindFirst(&self) -> ::windows_core::Result { @@ -1039,25 +875,9 @@ impl IContactAggregationServerPersonCollection { } } ::windows_core::imp::interface_hierarchy!(IContactAggregationServerPersonCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactAggregationServerPersonCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactAggregationServerPersonCollection {} -impl ::core::fmt::Debug for IContactAggregationServerPersonCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactAggregationServerPersonCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactAggregationServerPersonCollection { type Vtable = IContactAggregationServerPersonCollection_Vtbl; } -impl ::core::clone::Clone for IContactAggregationServerPersonCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactAggregationServerPersonCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f730a4a_6604_47b6_a987_669ecf1e5751); } @@ -1074,6 +894,7 @@ pub struct IContactAggregationServerPersonCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactCollection(::windows_core::IUnknown); impl IContactCollection { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1088,25 +909,9 @@ impl IContactCollection { } } ::windows_core::imp::interface_hierarchy!(IContactCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactCollection {} -impl ::core::fmt::Debug for IContactCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactCollection { type Vtable = IContactCollection_Vtbl; } -impl ::core::clone::Clone for IContactCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6afa338_d779_11d9_8bde_f66bad1e3f3a); } @@ -1120,6 +925,7 @@ pub struct IContactCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManager(::windows_core::IUnknown); impl IContactManager { pub unsafe fn Initialize(&self, pszappname: P0, pszappversion: P1) -> ::windows_core::Result<()> @@ -1159,25 +965,9 @@ impl IContactManager { } } ::windows_core::imp::interface_hierarchy!(IContactManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactManager {} -impl ::core::fmt::Debug for IContactManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactManager { type Vtable = IContactManager_Vtbl; } -impl ::core::clone::Clone for IContactManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad553d98_deb1_474a_8e17_fc0c2075b738); } @@ -1194,6 +984,7 @@ pub struct IContactManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactProperties(::windows_core::IUnknown); impl IContactProperties { pub unsafe fn GetString(&self, pszpropertyname: P0, dwflags: u32, pszvalue: &mut [u16], pdwcchpropertyvaluerequired: *mut u32) -> ::windows_core::Result<()> @@ -1293,25 +1084,9 @@ impl IContactProperties { } } ::windows_core::imp::interface_hierarchy!(IContactProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactProperties {} -impl ::core::fmt::Debug for IContactProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactProperties { type Vtable = IContactProperties_Vtbl; } -impl ::core::clone::Clone for IContactProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70dd27dd_5cbd_46e8_bef0_23b6b346288f); } @@ -1353,6 +1128,7 @@ pub struct IContactProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Contacts\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactPropertyCollection(::windows_core::IUnknown); impl IContactPropertyCollection { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1380,25 +1156,9 @@ impl IContactPropertyCollection { } } ::windows_core::imp::interface_hierarchy!(IContactPropertyCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactPropertyCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactPropertyCollection {} -impl ::core::fmt::Debug for IContactPropertyCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactPropertyCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactPropertyCollection { type Vtable = IContactPropertyCollection_Vtbl; } -impl ::core::clone::Clone for IContactPropertyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactPropertyCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffd3adf8_fa64_4328_b1b6_2e0db509cb3c); } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs index 1cfa42026e..7e8fb4185b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs @@ -45,8 +45,8 @@ impl IWdsTransportCacheable_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IWdsTransportClient_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IWdsTransportCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IWdsTransportConfigurationManager_Vtbl { NotifyWdsTransportServices: NotifyWdsTransportServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -396,8 +396,8 @@ impl IWdsTransportConfigurationManager2_Vtbl { MulticastSessionPolicy: MulticastSessionPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl IWdsTransportContent_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -541,8 +541,8 @@ impl IWdsTransportContentProvider_Vtbl { InitializationRoutine: InitializationRoutine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -598,8 +598,8 @@ impl IWdsTransportDiagnosticsPolicy_Vtbl { SetComponents: SetComponents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -625,8 +625,8 @@ impl IWdsTransportManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetWdsTransportServer: GetWdsTransportServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { SetSlowClientFallback: SetSlowClientFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IWdsTransportNamespace_Vtbl { RetrieveContents: RetrieveContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -978,8 +978,8 @@ impl IWdsTransportNamespaceAutoCast_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceAutoCast_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceAutoCast_Vtbl { Self { base__: IWdsTransportNamespace_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1034,8 +1034,8 @@ impl IWdsTransportNamespaceManager_Vtbl { RetrieveNamespaces: RetrieveNamespaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1055,8 +1055,8 @@ impl IWdsTransportNamespaceScheduledCast_Vtbl { } Self { base__: IWdsTransportNamespace_Vtbl::new::(), StartTransmission: StartTransmission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1112,8 +1112,8 @@ impl IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { SetStartTime: SetStartTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IWdsTransportNamespaceScheduledCastManualStart_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceScheduledCastManualStart_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceScheduledCastManualStart_Vtbl { Self { base__: IWdsTransportNamespaceScheduledCast_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1202,8 +1202,8 @@ impl IWdsTransportServer_Vtbl { DisconnectClient: DisconnectClient::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl IWdsTransportServer2_Vtbl { } Self { base__: IWdsTransportServer_Vtbl::new::(), TftpManager: TftpManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1366,8 +1366,8 @@ impl IWdsTransportServicePolicy_Vtbl { SetNetworkProfile: SetNetworkProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1443,8 +1443,8 @@ impl IWdsTransportServicePolicy2_Vtbl { SetEnableTftpVariableWindowExtension: SetEnableTftpVariableWindowExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IWdsTransportSession_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1628,8 +1628,8 @@ impl IWdsTransportSetupManager_Vtbl { DeregisterContentProvider: DeregisterContentProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1671,8 +1671,8 @@ impl IWdsTransportSetupManager2_Vtbl { ContentProviders: ContentProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IWdsTransportTftpClient_Vtbl { WindowSize: WindowSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1806,7 +1806,7 @@ impl IWdsTransportTftpManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), RetrieveTftpClients: RetrieveTftpClients:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs index be5b8cf684..768f2a581b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -873,6 +873,7 @@ where #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportCacheable(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCacheable { @@ -895,30 +896,10 @@ impl IWdsTransportCacheable { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportCacheable, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportCacheable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportCacheable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportCacheable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportCacheable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportCacheable { type Vtable = IWdsTransportCacheable_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportCacheable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportCacheable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46ad894b_0bab_47dc_84b2_7b553f1d8f80); } @@ -938,6 +919,7 @@ pub struct IWdsTransportCacheable_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportClient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportClient { @@ -994,30 +976,10 @@ impl IWdsTransportClient { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportClient, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportClient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportClient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportClient { type Vtable = IWdsTransportClient_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5dbc93a_cabe_46ca_837f_3e44e93c6545); } @@ -1045,6 +1007,7 @@ pub struct IWdsTransportClient_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportCollection { @@ -1066,30 +1029,10 @@ impl IWdsTransportCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportCollection { type Vtable = IWdsTransportCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8ba4b1a_2ff4_43ab_996c_b2b10a91a6eb); } @@ -1108,6 +1051,7 @@ pub struct IWdsTransportCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportConfigurationManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportConfigurationManager { @@ -1154,30 +1098,10 @@ impl IWdsTransportConfigurationManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportConfigurationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportConfigurationManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportConfigurationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportConfigurationManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportConfigurationManager { type Vtable = IWdsTransportConfigurationManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportConfigurationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportConfigurationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84cc4779_42dd_4792_891e_1321d6d74b44); } @@ -1208,6 +1132,7 @@ pub struct IWdsTransportConfigurationManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportConfigurationManager2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportConfigurationManager2 { @@ -1260,30 +1185,10 @@ impl IWdsTransportConfigurationManager2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager2, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportConfigurationManager); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportConfigurationManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportConfigurationManager2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportConfigurationManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportConfigurationManager2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportConfigurationManager2 { type Vtable = IWdsTransportConfigurationManager2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportConfigurationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportConfigurationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0d85caf_a153_4f1d_a9dd_96f431c50717); } @@ -1300,6 +1205,7 @@ pub struct IWdsTransportConfigurationManager2_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportContent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportContent { @@ -1330,30 +1236,10 @@ impl IWdsTransportContent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportContent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportContent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportContent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportContent { type Vtable = IWdsTransportContent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd405d711_0296_4ab4_a860_ac7d32e65798); } @@ -1377,6 +1263,7 @@ pub struct IWdsTransportContent_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportContentProvider(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportContentProvider { @@ -1400,30 +1287,10 @@ impl IWdsTransportContentProvider { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportContentProvider, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportContentProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportContentProvider {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportContentProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportContentProvider").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportContentProvider { type Vtable = IWdsTransportContentProvider_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportContentProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportContentProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9489f24_f219_4acf_aad7_265c7c08a6ae); } @@ -1440,6 +1307,7 @@ pub struct IWdsTransportContentProvider_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportDiagnosticsPolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportDiagnosticsPolicy { @@ -1483,30 +1351,10 @@ impl IWdsTransportDiagnosticsPolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportDiagnosticsPolicy, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportDiagnosticsPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportDiagnosticsPolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportDiagnosticsPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportDiagnosticsPolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportDiagnosticsPolicy { type Vtable = IWdsTransportDiagnosticsPolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportDiagnosticsPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportDiagnosticsPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13b33efc_7856_4f61_9a59_8de67b6b87b6); } @@ -1529,6 +1377,7 @@ pub struct IWdsTransportDiagnosticsPolicy_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportManager { @@ -1545,30 +1394,10 @@ impl IWdsTransportManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportManager { type Vtable = IWdsTransportManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b0d35f5_1b13_4afd_b878_6526dc340b5d); } @@ -1585,6 +1414,7 @@ pub struct IWdsTransportManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportMulticastSessionPolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportMulticastSessionPolicy { @@ -1642,30 +1472,10 @@ impl IWdsTransportMulticastSessionPolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportMulticastSessionPolicy, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportMulticastSessionPolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportMulticastSessionPolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportMulticastSessionPolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportMulticastSessionPolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportMulticastSessionPolicy { type Vtable = IWdsTransportMulticastSessionPolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportMulticastSessionPolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportMulticastSessionPolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e5753cf_68ec_4504_a951_4a003266606b); } @@ -1692,6 +1502,7 @@ pub struct IWdsTransportMulticastSessionPolicy_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespace { @@ -1805,30 +1616,10 @@ impl IWdsTransportNamespace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespace, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespace { type Vtable = IWdsTransportNamespace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa561f57_fbef_4ed3_b056_127cb1b33b84); } @@ -1880,6 +1671,7 @@ pub struct IWdsTransportNamespace_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespaceAutoCast(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceAutoCast { @@ -1993,30 +1785,10 @@ impl IWdsTransportNamespaceAutoCast { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceAutoCast, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespaceAutoCast { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespaceAutoCast {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespaceAutoCast { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespaceAutoCast").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespaceAutoCast { type Vtable = IWdsTransportNamespaceAutoCast_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespaceAutoCast { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespaceAutoCast { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad931a72_c4bd_4c41_8fbc_59c9c748df9e); } @@ -2029,6 +1801,7 @@ pub struct IWdsTransportNamespaceAutoCast_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespaceManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceManager { @@ -2067,30 +1840,10 @@ impl IWdsTransportNamespaceManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespaceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespaceManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespaceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespaceManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespaceManager { type Vtable = IWdsTransportNamespaceManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespaceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespaceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e22d9f6_3777_4d98_83e1_f98696717ba3); } @@ -2115,6 +1868,7 @@ pub struct IWdsTransportNamespaceManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespaceScheduledCast(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCast { @@ -2231,30 +1985,10 @@ impl IWdsTransportNamespaceScheduledCast { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCast, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCast { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespaceScheduledCast {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespaceScheduledCast { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespaceScheduledCast").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespaceScheduledCast { type Vtable = IWdsTransportNamespaceScheduledCast_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespaceScheduledCast { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespaceScheduledCast { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3840cecf_d76c_416e_a4cc_31c741d2874b); } @@ -2268,6 +2002,7 @@ pub struct IWdsTransportNamespaceScheduledCast_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespaceScheduledCastAutoStart(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCastAutoStart { @@ -2398,30 +2133,10 @@ impl IWdsTransportNamespaceScheduledCastAutoStart { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastAutoStart, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCastAutoStart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespaceScheduledCastAutoStart {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespaceScheduledCastAutoStart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespaceScheduledCastAutoStart").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespaceScheduledCastAutoStart { type Vtable = IWdsTransportNamespaceScheduledCastAutoStart_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespaceScheduledCastAutoStart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespaceScheduledCastAutoStart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd606af3d_ea9c_4219_961e_7491d618d9b9); } @@ -2438,6 +2153,7 @@ pub struct IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportNamespaceScheduledCastManualStart(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportNamespaceScheduledCastManualStart { @@ -2554,30 +2270,10 @@ impl IWdsTransportNamespaceScheduledCastManualStart { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastManualStart, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportNamespaceScheduledCastManualStart { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportNamespaceScheduledCastManualStart {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportNamespaceScheduledCastManualStart { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportNamespaceScheduledCastManualStart").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportNamespaceScheduledCastManualStart { type Vtable = IWdsTransportNamespaceScheduledCastManualStart_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportNamespaceScheduledCastManualStart { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportNamespaceScheduledCastManualStart { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x013e6e4c_e6a7_4fb5_b7ff_d9f5da805c31); } @@ -2590,6 +2286,7 @@ pub struct IWdsTransportNamespaceScheduledCastManualStart_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportServer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServer { @@ -2622,30 +2319,10 @@ impl IWdsTransportServer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportServer, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportServer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportServer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportServer { type Vtable = IWdsTransportServer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09ccd093_830d_4344_a30a_73ae8e8fca90); } @@ -2672,6 +2349,7 @@ pub struct IWdsTransportServer_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportServer2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServer2 { @@ -2710,30 +2388,10 @@ impl IWdsTransportServer2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportServer2, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportServer); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportServer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportServer2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportServer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportServer2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportServer2 { type Vtable = IWdsTransportServer2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportServer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportServer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x256e999f_6df4_4538_81b9_857b9ab8fb47); } @@ -2750,6 +2408,7 @@ pub struct IWdsTransportServer2_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportServicePolicy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy { @@ -2820,30 +2479,10 @@ impl IWdsTransportServicePolicy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportServicePolicy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportServicePolicy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportServicePolicy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportServicePolicy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportServicePolicy { type Vtable = IWdsTransportServicePolicy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportServicePolicy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportServicePolicy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9468578_9f2b_48cc_b27a_a60799c2750c); } @@ -2868,6 +2507,7 @@ pub struct IWdsTransportServicePolicy_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportServicePolicy2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportServicePolicy2 { @@ -2966,30 +2606,10 @@ impl IWdsTransportServicePolicy2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy2, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable, IWdsTransportServicePolicy); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportServicePolicy2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportServicePolicy2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportServicePolicy2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportServicePolicy2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportServicePolicy2 { type Vtable = IWdsTransportServicePolicy2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportServicePolicy2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportServicePolicy2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65c19e5c_aa7e_4b91_8944_91e0e5572797); } @@ -3014,6 +2634,7 @@ pub struct IWdsTransportServicePolicy2_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSession { @@ -3056,30 +2677,10 @@ impl IWdsTransportSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportSession, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportSession { type Vtable = IWdsTransportSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4efea88_65b1_4f30_a4b9_2793987796fb); } @@ -3106,6 +2707,7 @@ pub struct IWdsTransportSession_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportSetupManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager { @@ -3140,30 +2742,10 @@ impl IWdsTransportSetupManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportSetupManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportSetupManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportSetupManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportSetupManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportSetupManager { type Vtable = IWdsTransportSetupManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportSetupManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportSetupManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7238425_efa8_40a4_aef9_c98d969c0b75); } @@ -3181,6 +2763,7 @@ pub struct IWdsTransportSetupManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportSetupManager2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportSetupManager2 { @@ -3225,30 +2808,10 @@ impl IWdsTransportSetupManager2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager2, ::windows_core::IUnknown, super::Com::IDispatch, IWdsTransportSetupManager); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportSetupManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportSetupManager2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportSetupManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportSetupManager2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportSetupManager2 { type Vtable = IWdsTransportSetupManager2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportSetupManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportSetupManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02be79da_7e9e_4366_8b6e_2aa9a91be47f); } @@ -3266,6 +2829,7 @@ pub struct IWdsTransportSetupManager2_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportTftpClient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportTftpClient { @@ -3301,30 +2865,10 @@ impl IWdsTransportTftpClient { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportTftpClient, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportTftpClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportTftpClient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportTftpClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportTftpClient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportTftpClient { type Vtable = IWdsTransportTftpClient_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportTftpClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportTftpClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb022d3ae_884d_4d85_b146_53320e76ef62); } @@ -3344,6 +2888,7 @@ pub struct IWdsTransportTftpClient_Vtbl { #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWdsTransportTftpManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWdsTransportTftpManager { @@ -3357,30 +2902,10 @@ impl IWdsTransportTftpManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWdsTransportTftpManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWdsTransportTftpManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWdsTransportTftpManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWdsTransportTftpManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWdsTransportTftpManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWdsTransportTftpManager { type Vtable = IWdsTransportTftpManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWdsTransportTftpManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWdsTransportTftpManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1327a7c8_ae8a_4fb3_8150_136227c37e9a); } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs index 160ff5cf40..e2146407a4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs @@ -83,8 +83,8 @@ impl IRDPSRAPIApplication_Vtbl { Flags: Flags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IRDPSRAPIApplicationFilter_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IRDPSRAPIApplicationList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -298,8 +298,8 @@ impl IRDPSRAPIAttendee_Vtbl { ConnectivityInfo: ConnectivityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { Code: Code::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -397,8 +397,8 @@ impl IRDPSRAPIAttendeeManager_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IRDPSRAPIAudioStream_Vtbl { FreeBuffer: FreeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl IRDPSRAPIClipboardUseEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPasteFromClipboard: OnPasteFromClipboard:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -513,8 +513,8 @@ impl IRDPSRAPIDebug_Vtbl { CLXCmdLine: CLXCmdLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl IRDPSRAPIFrameBuffer_Vtbl { GetFrameBufferBits: GetFrameBufferBits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -678,8 +678,8 @@ impl IRDPSRAPIInvitation_Vtbl { SetRevoked: SetRevoked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IRDPSRAPIInvitationManager_Vtbl { CreateInvitation: CreateInvitation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl IRDPSRAPIPerfCounterLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LogValue: LogValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -789,8 +789,8 @@ impl IRDPSRAPIPerfCounterLoggingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateLogger: CreateLogger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl IRDPSRAPISessionProperties_Vtbl { put_Property: put_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -977,8 +977,8 @@ impl IRDPSRAPISharingSession_Vtbl { GetDesktopSharedRect: GetDesktopSharedRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1021,8 +1021,8 @@ impl IRDPSRAPISharingSession2_Vtbl { SendControlLevelChangeResponse: SendControlLevelChangeResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1103,8 +1103,8 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { PeerIP: PeerIP::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1165,8 +1165,8 @@ impl IRDPSRAPITransportStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { SetContext: SetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IRDPSRAPITransportStreamEvents_Vtbl { OnStreamClosed: OnStreamClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1483,8 +1483,8 @@ impl IRDPSRAPIViewer_Vtbl { StartReverseConnectListener: StartReverseConnectListener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1553,8 +1553,8 @@ impl IRDPSRAPIVirtualChannel_Vtbl { Priority: Priority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1609,8 +1609,8 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { CreateVirtualChannel: CreateVirtualChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1705,8 +1705,8 @@ impl IRDPSRAPIWindow_Vtbl { Flags: Flags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IRDPSRAPIWindowList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl IRDPViewerInputSink_Vtbl { EndTouchFrame: EndTouchFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1835,7 +1835,7 @@ impl _IRDPSessionEvents_Vtbl { pub const fn new, Impl: _IRDPSessionEvents_Impl, const OFFSET: isize>() -> _IRDPSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IRDPSessionEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IRDPSessionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs index 4ee958609c..60968f0aac 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIApplication { @@ -40,30 +41,10 @@ impl IRDPSRAPIApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIApplication, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIApplication { type Vtable = IRDPSRAPIApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41e7a09d_eb7a_436e_935d_780ca2628324); } @@ -91,6 +72,7 @@ pub struct IRDPSRAPIApplication_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIApplicationFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIApplicationFilter { @@ -124,30 +106,10 @@ impl IRDPSRAPIApplicationFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationFilter, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIApplicationFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIApplicationFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIApplicationFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIApplicationFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIApplicationFilter { type Vtable = IRDPSRAPIApplicationFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIApplicationFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIApplicationFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd20f10ca_6637_4f06_b1d5_277ea7e5160d); } @@ -176,6 +138,7 @@ pub struct IRDPSRAPIApplicationFilter_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIApplicationList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIApplicationList { @@ -193,30 +156,10 @@ impl IRDPSRAPIApplicationList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationList, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIApplicationList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIApplicationList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIApplicationList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIApplicationList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIApplicationList { type Vtable = IRDPSRAPIApplicationList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIApplicationList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIApplicationList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4b4aeb3_22dc_4837_b3b6_42ea2517849a); } @@ -234,6 +177,7 @@ pub struct IRDPSRAPIApplicationList_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIAttendee(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendee { @@ -273,30 +217,10 @@ impl IRDPSRAPIAttendee { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendee, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIAttendee { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIAttendee {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIAttendee { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIAttendee").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIAttendee { type Vtable = IRDPSRAPIAttendee_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIAttendee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIAttendee { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec0671b3_1b78_4b80_a464_9132247543e3); } @@ -320,6 +244,7 @@ pub struct IRDPSRAPIAttendee_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIAttendeeDisconnectInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendeeDisconnectInfo { @@ -341,30 +266,10 @@ impl IRDPSRAPIAttendeeDisconnectInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeDisconnectInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIAttendeeDisconnectInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIAttendeeDisconnectInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIAttendeeDisconnectInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIAttendeeDisconnectInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIAttendeeDisconnectInfo { type Vtable = IRDPSRAPIAttendeeDisconnectInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIAttendeeDisconnectInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIAttendeeDisconnectInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc187689f_447c_44a1_9c14_fffbb3b7ec17); } @@ -383,6 +288,7 @@ pub struct IRDPSRAPIAttendeeDisconnectInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIAttendeeManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIAttendeeManager { @@ -400,30 +306,10 @@ impl IRDPSRAPIAttendeeManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIAttendeeManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIAttendeeManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIAttendeeManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIAttendeeManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIAttendeeManager { type Vtable = IRDPSRAPIAttendeeManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIAttendeeManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIAttendeeManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba3a37e8_33da_4749_8da0_07fa34da7944); } @@ -440,6 +326,7 @@ pub struct IRDPSRAPIAttendeeManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIAudioStream(::windows_core::IUnknown); impl IRDPSRAPIAudioStream { pub unsafe fn Initialize(&self) -> ::windows_core::Result { @@ -460,25 +347,9 @@ impl IRDPSRAPIAudioStream { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPIAudioStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPIAudioStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPIAudioStream {} -impl ::core::fmt::Debug for IRDPSRAPIAudioStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIAudioStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPIAudioStream { type Vtable = IRDPSRAPIAudioStream_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPIAudioStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPIAudioStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3e30ef9_89c6_4541_ba3b_19336ac6d31c); } @@ -494,6 +365,7 @@ pub struct IRDPSRAPIAudioStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIClipboardUseEvents(::windows_core::IUnknown); impl IRDPSRAPIClipboardUseEvents { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -507,25 +379,9 @@ impl IRDPSRAPIClipboardUseEvents { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPIClipboardUseEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPIClipboardUseEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPIClipboardUseEvents {} -impl ::core::fmt::Debug for IRDPSRAPIClipboardUseEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIClipboardUseEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPIClipboardUseEvents { type Vtable = IRDPSRAPIClipboardUseEvents_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPIClipboardUseEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPIClipboardUseEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd559f59a_7a27_4138_8763_247ce5f659a8); } @@ -540,6 +396,7 @@ pub struct IRDPSRAPIClipboardUseEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIDebug(::windows_core::IUnknown); impl IRDPSRAPIDebug { pub unsafe fn SetCLXCmdLine(&self, clxcmdline: P0) -> ::windows_core::Result<()> @@ -554,25 +411,9 @@ impl IRDPSRAPIDebug { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPIDebug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPIDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPIDebug {} -impl ::core::fmt::Debug for IRDPSRAPIDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPIDebug { type Vtable = IRDPSRAPIDebug_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPIDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPIDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa1e42b5_496d_4ca4_a690_348dcb2ec4ad); } @@ -586,6 +427,7 @@ pub struct IRDPSRAPIDebug_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIFrameBuffer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIFrameBuffer { @@ -611,30 +453,10 @@ impl IRDPSRAPIFrameBuffer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIFrameBuffer, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIFrameBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIFrameBuffer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIFrameBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIFrameBuffer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIFrameBuffer { type Vtable = IRDPSRAPIFrameBuffer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIFrameBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIFrameBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d67e7d2_b27b_448e_81b3_c6110ed8b4be); } @@ -654,6 +476,7 @@ pub struct IRDPSRAPIFrameBuffer_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIInvitation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitation { @@ -694,30 +517,10 @@ impl IRDPSRAPIInvitation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitation, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIInvitation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIInvitation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIInvitation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIInvitation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIInvitation { type Vtable = IRDPSRAPIInvitation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIInvitation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIInvitation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fac1d43_fc51_45bb_b1b4_2b53aa562fa3); } @@ -743,6 +546,7 @@ pub struct IRDPSRAPIInvitation_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIInvitationManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIInvitationManager { @@ -775,30 +579,10 @@ impl IRDPSRAPIInvitationManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitationManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIInvitationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIInvitationManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIInvitationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIInvitationManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIInvitationManager { type Vtable = IRDPSRAPIInvitationManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIInvitationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIInvitationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4722b049_92c3_4c2d_8a65_f7348f644dcf); } @@ -820,6 +604,7 @@ pub struct IRDPSRAPIInvitationManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIPerfCounterLogger(::windows_core::IUnknown); impl IRDPSRAPIPerfCounterLogger { pub unsafe fn LogValue(&self, lvalue: i64) -> ::windows_core::Result<()> { @@ -827,25 +612,9 @@ impl IRDPSRAPIPerfCounterLogger { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLogger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPIPerfCounterLogger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPIPerfCounterLogger {} -impl ::core::fmt::Debug for IRDPSRAPIPerfCounterLogger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIPerfCounterLogger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPIPerfCounterLogger { type Vtable = IRDPSRAPIPerfCounterLogger_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPIPerfCounterLogger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPIPerfCounterLogger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x071c2533_0fa4_4e8f_ae83_9c10b4305ab5); } @@ -857,6 +626,7 @@ pub struct IRDPSRAPIPerfCounterLogger_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIPerfCounterLoggingManager(::windows_core::IUnknown); impl IRDPSRAPIPerfCounterLoggingManager { pub unsafe fn CreateLogger(&self, bstrcountername: P0) -> ::windows_core::Result @@ -868,25 +638,9 @@ impl IRDPSRAPIPerfCounterLoggingManager { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLoggingManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPIPerfCounterLoggingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPIPerfCounterLoggingManager {} -impl ::core::fmt::Debug for IRDPSRAPIPerfCounterLoggingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIPerfCounterLoggingManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPIPerfCounterLoggingManager { type Vtable = IRDPSRAPIPerfCounterLoggingManager_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPIPerfCounterLoggingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPIPerfCounterLoggingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a512c86_ac6e_4a8e_b1a4_fcef363f6e64); } @@ -899,6 +653,7 @@ pub struct IRDPSRAPIPerfCounterLoggingManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPISessionProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISessionProperties { @@ -923,30 +678,10 @@ impl IRDPSRAPISessionProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPISessionProperties, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPISessionProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPISessionProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPISessionProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPISessionProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPISessionProperties { type Vtable = IRDPSRAPISessionProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPISessionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPISessionProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x339b24f2_9bc0_4f16_9aac_f165433d13d4); } @@ -967,6 +702,7 @@ pub struct IRDPSRAPISessionProperties_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPISharingSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISharingSession { @@ -1035,30 +771,10 @@ impl IRDPSRAPISharingSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPISharingSession, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPISharingSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPISharingSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPISharingSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPISharingSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPISharingSession { type Vtable = IRDPSRAPISharingSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPISharingSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPISharingSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeb20886_e470_4cf6_842b_2739c0ec5cfb); } @@ -1100,6 +816,7 @@ pub struct IRDPSRAPISharingSession_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPISharingSession2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPISharingSession2 { @@ -1190,30 +907,10 @@ impl IRDPSRAPISharingSession2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPISharingSession2, ::windows_core::IUnknown, super::Com::IDispatch, IRDPSRAPISharingSession); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPISharingSession2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPISharingSession2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPISharingSession2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPISharingSession2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPISharingSession2 { type Vtable = IRDPSRAPISharingSession2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPISharingSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPISharingSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfee4ee57_e3e8_4205_8fb0_8fd1d0675c21); } @@ -1235,6 +932,7 @@ pub struct IRDPSRAPISharingSession2_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPITcpConnectionInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPITcpConnectionInfo { @@ -1262,30 +960,10 @@ impl IRDPSRAPITcpConnectionInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPITcpConnectionInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPITcpConnectionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPITcpConnectionInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPITcpConnectionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPITcpConnectionInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPITcpConnectionInfo { type Vtable = IRDPSRAPITcpConnectionInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPITcpConnectionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPITcpConnectionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf74049a4_3d06_4028_8193_0a8c29bc2452); } @@ -1302,6 +980,7 @@ pub struct IRDPSRAPITcpConnectionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPITransportStream(::windows_core::IUnknown); impl IRDPSRAPITransportStream { pub unsafe fn AllocBuffer(&self, maxpayload: i32) -> ::windows_core::Result { @@ -1337,25 +1016,9 @@ impl IRDPSRAPITransportStream { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPITransportStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPITransportStream {} -impl ::core::fmt::Debug for IRDPSRAPITransportStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPITransportStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPITransportStream { type Vtable = IRDPSRAPITransportStream_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPITransportStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPITransportStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36cfa065_43bb_4ef7_aed7_9b88a5053036); } @@ -1372,6 +1035,7 @@ pub struct IRDPSRAPITransportStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPITransportStreamBuffer(::windows_core::IUnknown); impl IRDPSRAPITransportStreamBuffer { pub unsafe fn Storage(&self) -> ::windows_core::Result<*mut u8> { @@ -1415,25 +1079,9 @@ impl IRDPSRAPITransportStreamBuffer { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPITransportStreamBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPITransportStreamBuffer {} -impl ::core::fmt::Debug for IRDPSRAPITransportStreamBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPITransportStreamBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPITransportStreamBuffer { type Vtable = IRDPSRAPITransportStreamBuffer_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPITransportStreamBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPITransportStreamBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81c80290_5085_44b0_b460_f865c39cb4a9); } @@ -1454,6 +1102,7 @@ pub struct IRDPSRAPITransportStreamBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPITransportStreamEvents(::windows_core::IUnknown); impl IRDPSRAPITransportStreamEvents { pub unsafe fn OnWriteCompleted(&self, pbuffer: P0) @@ -1473,25 +1122,9 @@ impl IRDPSRAPITransportStreamEvents { } } ::windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPSRAPITransportStreamEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPSRAPITransportStreamEvents {} -impl ::core::fmt::Debug for IRDPSRAPITransportStreamEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPITransportStreamEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPSRAPITransportStreamEvents { type Vtable = IRDPSRAPITransportStreamEvents_Vtbl; } -impl ::core::clone::Clone for IRDPSRAPITransportStreamEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPSRAPITransportStreamEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea81c254_f5af_4e40_982e_3e63bb595276); } @@ -1506,6 +1139,7 @@ pub struct IRDPSRAPITransportStreamEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIViewer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIViewer { @@ -1593,30 +1227,10 @@ impl IRDPSRAPIViewer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIViewer, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIViewer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIViewer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIViewer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIViewer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIViewer { type Vtable = IRDPSRAPIViewer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIViewer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIViewer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6bfcd38_8ce9_404d_8ae8_f31d00c65cb5); } @@ -1664,6 +1278,7 @@ pub struct IRDPSRAPIViewer_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIVirtualChannel(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIVirtualChannel { @@ -1692,30 +1307,10 @@ impl IRDPSRAPIVirtualChannel { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIVirtualChannel, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIVirtualChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIVirtualChannel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIVirtualChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIVirtualChannel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIVirtualChannel { type Vtable = IRDPSRAPIVirtualChannel_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIVirtualChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIVirtualChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05e12f95_28b3_4c9a_8780_d0248574a1e0); } @@ -1733,6 +1328,7 @@ pub struct IRDPSRAPIVirtualChannel_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIVirtualChannelManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIVirtualChannelManager { @@ -1759,30 +1355,10 @@ impl IRDPSRAPIVirtualChannelManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIVirtualChannelManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIVirtualChannelManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIVirtualChannelManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIVirtualChannelManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIVirtualChannelManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIVirtualChannelManager { type Vtable = IRDPSRAPIVirtualChannelManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIVirtualChannelManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIVirtualChannelManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d11c661_5d0d_4ee4_89df_2166ae1fdfed); } @@ -1804,6 +1380,7 @@ pub struct IRDPSRAPIVirtualChannelManager_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIWindow(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindow { @@ -1846,30 +1423,10 @@ impl IRDPSRAPIWindow { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIWindow, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIWindow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIWindow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIWindow { type Vtable = IRDPSRAPIWindow_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbeafe0f9_c77b_4933_ba9f_a24cddcc27cf); } @@ -1898,6 +1455,7 @@ pub struct IRDPSRAPIWindow_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPSRAPIWindowList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRDPSRAPIWindowList { @@ -1915,30 +1473,10 @@ impl IRDPSRAPIWindowList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRDPSRAPIWindowList, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRDPSRAPIWindowList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRDPSRAPIWindowList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRDPSRAPIWindowList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPSRAPIWindowList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRDPSRAPIWindowList { type Vtable = IRDPSRAPIWindowList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRDPSRAPIWindowList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRDPSRAPIWindowList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a05ce44_715a_4116_a189_a118f30a07bd); } @@ -1955,6 +1493,7 @@ pub struct IRDPSRAPIWindowList_Vtbl { } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRDPViewerInputSink(::windows_core::IUnknown); impl IRDPViewerInputSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1995,25 +1534,9 @@ impl IRDPViewerInputSink { } } ::windows_core::imp::interface_hierarchy!(IRDPViewerInputSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRDPViewerInputSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRDPViewerInputSink {} -impl ::core::fmt::Debug for IRDPViewerInputSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRDPViewerInputSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRDPViewerInputSink { type Vtable = IRDPViewerInputSink_Vtbl; } -impl ::core::clone::Clone for IRDPViewerInputSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRDPViewerInputSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb590853_a6c5_4a7b_8dd4_76b69eea12d5); } @@ -2039,36 +1562,17 @@ pub struct IRDPViewerInputSink_Vtbl { #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IRDPSessionEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IRDPSessionEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IRDPSessionEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IRDPSessionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IRDPSessionEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IRDPSessionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IRDPSessionEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IRDPSessionEvents { type Vtable = _IRDPSessionEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IRDPSessionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IRDPSessionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98a97042_6698_40e9_8efd_b3200990004b); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs index 4dbebdb853..c8d9f30419 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs @@ -15,8 +15,8 @@ impl ICorProfilerAssemblyReferenceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAssemblyReference: AddAssemblyReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl ICorProfilerCallback_Vtbl { ExceptionCLRCatcherExecute: ExceptionCLRCatcherExecute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl ICorProfilerCallback10_Vtbl { EventPipeProviderCreated: EventPipeProviderCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -593,8 +593,8 @@ impl ICorProfilerCallback11_Vtbl { } Self { base__: ICorProfilerCallback10_Vtbl::new::(), LoadAsNotificationOnly: LoadAsNotificationOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -666,8 +666,8 @@ impl ICorProfilerCallback2_Vtbl { HandleDestroyed: HandleDestroyed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl ICorProfilerCallback3_Vtbl { ProfilerDetachSucceeded: ProfilerDetachSucceeded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -763,8 +763,8 @@ impl ICorProfilerCallback4_Vtbl { SurvivingReferences2: SurvivingReferences2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -787,8 +787,8 @@ impl ICorProfilerCallback5_Vtbl { ConditionalWeakTableElementReferences: ConditionalWeakTableElementReferences::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl ICorProfilerCallback6_Vtbl { } Self { base__: ICorProfilerCallback5_Vtbl::new::(), GetAssemblyReferences: GetAssemblyReferences:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -832,8 +832,8 @@ impl ICorProfilerCallback7_Vtbl { ModuleInMemorySymbolsUpdated: ModuleInMemorySymbolsUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -863,8 +863,8 @@ impl ICorProfilerCallback8_Vtbl { DynamicMethodJITCompilationFinished: DynamicMethodJITCompilationFinished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -884,8 +884,8 @@ impl ICorProfilerCallback9_Vtbl { } Self { base__: ICorProfilerCallback8_Vtbl::new::(), DynamicMethodUnloaded: DynamicMethodUnloaded:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -922,8 +922,8 @@ impl ICorProfilerFunctionControl_Vtbl { SetILInstrumentedCodeMap: SetILInstrumentedCodeMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -983,8 +983,8 @@ impl ICorProfilerFunctionEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1321,8 +1321,8 @@ impl ICorProfilerInfo_Vtbl { GetILToNativeMapping: GetILToNativeMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1380,8 +1380,8 @@ impl ICorProfilerInfo10_Vtbl { ResumeRuntime: ResumeRuntime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl ICorProfilerInfo11_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1495,19 +1495,19 @@ impl ICorProfilerInfo12_Vtbl { EventPipeWriteEvent: EventPipeWriteEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1550,20 +1550,20 @@ impl ICorProfilerInfo13_Vtbl { GetObjectIDFromHandle: GetObjectIDFromHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1612,21 +1612,21 @@ impl ICorProfilerInfo14_Vtbl { EventPipeCreateProvider2: EventPipeCreateProvider2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl ICorProfilerInfo2_Vtbl { GetNotifiedExceptionClauseInfo: GetNotifiedExceptionClauseInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1970,8 +1970,8 @@ impl ICorProfilerInfo3_Vtbl { GetModuleInfo2: GetModuleInfo2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl ICorProfilerInfo4_Vtbl { GetObjectSize2: GetObjectSize2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl ICorProfilerInfo5_Vtbl { SetEventMask2: SetEventMask2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl ICorProfilerInfo6_Vtbl { EnumNgenModuleMethodsInliningThisMethod: EnumNgenModuleMethodsInliningThisMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2174,8 +2174,8 @@ impl ICorProfilerInfo7_Vtbl { ReadInMemorySymbols: ReadInMemorySymbols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2218,8 +2218,8 @@ impl ICorProfilerInfo8_Vtbl { GetDynamicFunctionInfo: GetDynamicFunctionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl ICorProfilerInfo9_Vtbl { GetCodeInfo4: GetCodeInfo4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2317,8 +2317,8 @@ impl ICorProfilerMethodEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl ICorProfilerModuleEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2439,8 +2439,8 @@ impl ICorProfilerObjectEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2500,8 +2500,8 @@ impl ICorProfilerThreadEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2518,7 +2518,7 @@ impl IMethodMalloc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Alloc: Alloc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs index a2ae674bc4..1448957477 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerAssemblyReferenceProvider(::windows_core::IUnknown); impl ICorProfilerAssemblyReferenceProvider { #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] @@ -9,25 +10,9 @@ impl ICorProfilerAssemblyReferenceProvider { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerAssemblyReferenceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerAssemblyReferenceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerAssemblyReferenceProvider {} -impl ::core::fmt::Debug for ICorProfilerAssemblyReferenceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerAssemblyReferenceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerAssemblyReferenceProvider { type Vtable = ICorProfilerAssemblyReferenceProvider_Vtbl; } -impl ::core::clone::Clone for ICorProfilerAssemblyReferenceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerAssemblyReferenceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a78c24_2eef_4f65_b45f_dd1d8038bf3c); } @@ -42,6 +27,7 @@ pub struct ICorProfilerAssemblyReferenceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback(::windows_core::IUnknown); impl ICorProfilerCallback { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -292,25 +278,9 @@ impl ICorProfilerCallback { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback {} -impl ::core::fmt::Debug for ICorProfilerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback { type Vtable = ICorProfilerCallback_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x176fbed1_a55c_4796_98ca_a9da0ef883e7); } @@ -414,6 +384,7 @@ pub struct ICorProfilerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback10(::windows_core::IUnknown); impl ICorProfilerCallback10 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -771,25 +742,9 @@ impl ICorProfilerCallback10 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback10, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9); -impl ::core::cmp::PartialEq for ICorProfilerCallback10 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback10 {} -impl ::core::fmt::Debug for ICorProfilerCallback10 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback10").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback10 { type Vtable = ICorProfilerCallback10_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcec5b60e_c69c_495f_87f6_84d28ee16ffb); } @@ -802,6 +757,7 @@ pub struct ICorProfilerCallback10_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback11(::windows_core::IUnknown); impl ICorProfilerCallback11 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -1164,25 +1120,9 @@ impl ICorProfilerCallback11 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback11, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9, ICorProfilerCallback10); -impl ::core::cmp::PartialEq for ICorProfilerCallback11 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback11 {} -impl ::core::fmt::Debug for ICorProfilerCallback11 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback11").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback11 { type Vtable = ICorProfilerCallback11_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback11 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback11 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42350846_aaed_47f7_b128_fd0c98881cde); } @@ -1197,6 +1137,7 @@ pub struct ICorProfilerCallback11_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback2(::windows_core::IUnknown); impl ICorProfilerCallback2 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -1473,25 +1414,9 @@ impl ICorProfilerCallback2 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback2, ::windows_core::IUnknown, ICorProfilerCallback); -impl ::core::cmp::PartialEq for ICorProfilerCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback2 {} -impl ::core::fmt::Debug for ICorProfilerCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback2 { type Vtable = ICorProfilerCallback2_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a8cc829_ccf2_49fe_bbae_0f022228071a); } @@ -1513,6 +1438,7 @@ pub struct ICorProfilerCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback3(::windows_core::IUnknown); impl ICorProfilerCallback3 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -1801,25 +1727,9 @@ impl ICorProfilerCallback3 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback3, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2); -impl ::core::cmp::PartialEq for ICorProfilerCallback3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback3 {} -impl ::core::fmt::Debug for ICorProfilerCallback3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback3 { type Vtable = ICorProfilerCallback3_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fd2ed52_7731_4b8d_9469_03d2cc3086c5); } @@ -1833,6 +1743,7 @@ pub struct ICorProfilerCallback3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback4(::windows_core::IUnknown); impl ICorProfilerCallback4 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -2152,25 +2063,9 @@ impl ICorProfilerCallback4 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback4, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3); -impl ::core::cmp::PartialEq for ICorProfilerCallback4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback4 {} -impl ::core::fmt::Debug for ICorProfilerCallback4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback4 { type Vtable = ICorProfilerCallback4_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b63b2e3_107d_4d48_b2f6_f61e229470d2); } @@ -2193,6 +2088,7 @@ pub struct ICorProfilerCallback4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback5(::windows_core::IUnknown); impl ICorProfilerCallback5 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -2515,25 +2411,9 @@ impl ICorProfilerCallback5 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback5, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4); -impl ::core::cmp::PartialEq for ICorProfilerCallback5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback5 {} -impl ::core::fmt::Debug for ICorProfilerCallback5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback5 { type Vtable = ICorProfilerCallback5_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dfba405_8c9f_45f8_bffa_83b14cef78b5); } @@ -2545,6 +2425,7 @@ pub struct ICorProfilerCallback5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback6(::windows_core::IUnknown); impl ICorProfilerCallback6 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -2874,25 +2755,9 @@ impl ICorProfilerCallback6 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback6, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5); -impl ::core::cmp::PartialEq for ICorProfilerCallback6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback6 {} -impl ::core::fmt::Debug for ICorProfilerCallback6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback6 { type Vtable = ICorProfilerCallback6_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc13df4b_4448_4f4f_950c_ba8d19d00c36); } @@ -2904,6 +2769,7 @@ pub struct ICorProfilerCallback6_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback7(::windows_core::IUnknown); impl ICorProfilerCallback7 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -3236,25 +3102,9 @@ impl ICorProfilerCallback7 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback7, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6); -impl ::core::cmp::PartialEq for ICorProfilerCallback7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback7 {} -impl ::core::fmt::Debug for ICorProfilerCallback7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback7 { type Vtable = ICorProfilerCallback7_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf76a2dba_1d52_4539_866c_2aa518f9efc3); } @@ -3266,6 +3116,7 @@ pub struct ICorProfilerCallback7_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback8(::windows_core::IUnknown); impl ICorProfilerCallback8 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -3614,25 +3465,9 @@ impl ICorProfilerCallback8 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback8, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7); -impl ::core::cmp::PartialEq for ICorProfilerCallback8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback8 {} -impl ::core::fmt::Debug for ICorProfilerCallback8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback8 { type Vtable = ICorProfilerCallback8_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bed9b15_c079_4d47_bfe2_215a140c07e0); } @@ -3651,6 +3486,7 @@ pub struct ICorProfilerCallback8_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerCallback9(::windows_core::IUnknown); impl ICorProfilerCallback9 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> ::windows_core::Result<()> @@ -4002,25 +3838,9 @@ impl ICorProfilerCallback9 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerCallback9, ::windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8); -impl ::core::cmp::PartialEq for ICorProfilerCallback9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerCallback9 {} -impl ::core::fmt::Debug for ICorProfilerCallback9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerCallback9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerCallback9 { type Vtable = ICorProfilerCallback9_Vtbl; } -impl ::core::clone::Clone for ICorProfilerCallback9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerCallback9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27583ec3_c8f5_482f_8052_194b8ce4705a); } @@ -4032,6 +3852,7 @@ pub struct ICorProfilerCallback9_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerFunctionControl(::windows_core::IUnknown); impl ICorProfilerFunctionControl { pub unsafe fn SetCodegenFlags(&self, flags: u32) -> ::windows_core::Result<()> { @@ -4047,25 +3868,9 @@ impl ICorProfilerFunctionControl { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerFunctionControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerFunctionControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerFunctionControl {} -impl ::core::fmt::Debug for ICorProfilerFunctionControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerFunctionControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerFunctionControl { type Vtable = ICorProfilerFunctionControl_Vtbl; } -impl ::core::clone::Clone for ICorProfilerFunctionControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerFunctionControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0963021_e1ea_4732_8581_e01b0bd3c0c6); } @@ -4082,6 +3887,7 @@ pub struct ICorProfilerFunctionControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerFunctionEnum(::windows_core::IUnknown); impl ICorProfilerFunctionEnum { pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { @@ -4103,25 +3909,9 @@ impl ICorProfilerFunctionEnum { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerFunctionEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerFunctionEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerFunctionEnum {} -impl ::core::fmt::Debug for ICorProfilerFunctionEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerFunctionEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerFunctionEnum { type Vtable = ICorProfilerFunctionEnum_Vtbl; } -impl ::core::clone::Clone for ICorProfilerFunctionEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerFunctionEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff71301a_b994_429d_a10b_b345a65280ef); } @@ -4137,6 +3927,7 @@ pub struct ICorProfilerFunctionEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo(::windows_core::IUnknown); impl ICorProfilerInfo { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -4271,25 +4062,9 @@ impl ICorProfilerInfo { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo {} -impl ::core::fmt::Debug for ICorProfilerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo { type Vtable = ICorProfilerInfo_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28b5557d_3f3f_48b4_90b2_5f9eea2f6c48); } @@ -4348,6 +4123,7 @@ pub struct ICorProfilerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo10(::windows_core::IUnknown); impl ICorProfilerInfo10 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -4699,25 +4475,9 @@ impl ICorProfilerInfo10 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo10, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9); -impl ::core::cmp::PartialEq for ICorProfilerInfo10 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo10 {} -impl ::core::fmt::Debug for ICorProfilerInfo10 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo10").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo10 { type Vtable = ICorProfilerInfo10_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo10 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo10 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f1b5152_c869_40c9_aa5f_3abe026bd720); } @@ -4740,6 +4500,7 @@ pub struct ICorProfilerInfo10_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo11(::windows_core::IUnknown); impl ICorProfilerInfo11 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -5104,25 +4865,9 @@ impl ICorProfilerInfo11 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo11, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10); -impl ::core::cmp::PartialEq for ICorProfilerInfo11 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo11 {} -impl ::core::fmt::Debug for ICorProfilerInfo11 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo11").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo11 { type Vtable = ICorProfilerInfo11_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo11 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo11 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06398876_8987_4154_b621_40a00d6e4d04); } @@ -5135,6 +4880,7 @@ pub struct ICorProfilerInfo11_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo12(::windows_core::IUnknown); impl ICorProfilerInfo12 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -5537,25 +5283,9 @@ impl ICorProfilerInfo12 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo12, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11); -impl ::core::cmp::PartialEq for ICorProfilerInfo12 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo12 {} -impl ::core::fmt::Debug for ICorProfilerInfo12 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo12").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo12 { type Vtable = ICorProfilerInfo12_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo12 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo12 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27b24ccd_1cb1_47c5_96ee_98190dc30959); } @@ -5579,6 +5309,7 @@ pub struct ICorProfilerInfo12_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo13(::windows_core::IUnknown); impl ICorProfilerInfo13 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -5991,25 +5722,9 @@ impl ICorProfilerInfo13 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo13, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11, ICorProfilerInfo12); -impl ::core::cmp::PartialEq for ICorProfilerInfo13 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo13 {} -impl ::core::fmt::Debug for ICorProfilerInfo13 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo13").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo13 { type Vtable = ICorProfilerInfo13_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo13 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo13 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e6c7ee2_0701_4ec2_9d29_2e8733b66934); } @@ -6023,6 +5738,7 @@ pub struct ICorProfilerInfo13_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo14(::windows_core::IUnknown); impl ICorProfilerInfo14 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -6449,25 +6165,9 @@ impl ICorProfilerInfo14 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo14, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11, ICorProfilerInfo12, ICorProfilerInfo13); -impl ::core::cmp::PartialEq for ICorProfilerInfo14 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo14 {} -impl ::core::fmt::Debug for ICorProfilerInfo14 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo14").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo14 { type Vtable = ICorProfilerInfo14_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo14 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo14 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf460e352_d76d_4fe9_835f_f6af9d6e862d); } @@ -6481,6 +6181,7 @@ pub struct ICorProfilerInfo14_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo2(::windows_core::IUnknown); impl ICorProfilerInfo2 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -6688,25 +6389,9 @@ impl ICorProfilerInfo2 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo2, ::windows_core::IUnknown, ICorProfilerInfo); -impl ::core::cmp::PartialEq for ICorProfilerInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo2 {} -impl ::core::fmt::Debug for ICorProfilerInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo2 { type Vtable = ICorProfilerInfo2_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc0935cd_a518_487d_b0bb_a93214e65478); } @@ -6741,6 +6426,7 @@ pub struct ICorProfilerInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo3(::windows_core::IUnknown); impl ICorProfilerInfo3 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -6995,25 +6681,9 @@ impl ICorProfilerInfo3 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo3, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2); -impl ::core::cmp::PartialEq for ICorProfilerInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo3 {} -impl ::core::fmt::Debug for ICorProfilerInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo3 { type Vtable = ICorProfilerInfo3_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb555ed4f_452a_4e54_8b39_b5360bad32a0); } @@ -7041,6 +6711,7 @@ pub struct ICorProfilerInfo3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo4(::windows_core::IUnknown); impl ICorProfilerInfo4 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -7328,25 +6999,9 @@ impl ICorProfilerInfo4 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo4, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3); -impl ::core::cmp::PartialEq for ICorProfilerInfo4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo4 {} -impl ::core::fmt::Debug for ICorProfilerInfo4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo4 { type Vtable = ICorProfilerInfo4_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d8fdcaa_6257_47bf_b1bf_94dac88466ee); } @@ -7367,6 +7022,7 @@ pub struct ICorProfilerInfo4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo5(::windows_core::IUnknown); impl ICorProfilerInfo5 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -7660,25 +7316,9 @@ impl ICorProfilerInfo5 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo5, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4); -impl ::core::cmp::PartialEq for ICorProfilerInfo5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo5 {} -impl ::core::fmt::Debug for ICorProfilerInfo5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo5 { type Vtable = ICorProfilerInfo5_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07602928_ce38_4b83_81e7_74adaf781214); } @@ -7691,6 +7331,7 @@ pub struct ICorProfilerInfo5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo6(::windows_core::IUnknown); impl ICorProfilerInfo6 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -7989,25 +7630,9 @@ impl ICorProfilerInfo6 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo6, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5); -impl ::core::cmp::PartialEq for ICorProfilerInfo6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo6 {} -impl ::core::fmt::Debug for ICorProfilerInfo6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo6 { type Vtable = ICorProfilerInfo6_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf30a070d_bffb_46a7_b1d8_8781ef7b698a); } @@ -8022,6 +7647,7 @@ pub struct ICorProfilerInfo6_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo7(::windows_core::IUnknown); impl ICorProfilerInfo7 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -8330,25 +7956,9 @@ impl ICorProfilerInfo7 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo7, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6); -impl ::core::cmp::PartialEq for ICorProfilerInfo7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo7 {} -impl ::core::fmt::Debug for ICorProfilerInfo7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo7 { type Vtable = ICorProfilerInfo7_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9aeecc0d_63e0_4187_8c00_e312f503f663); } @@ -8362,6 +7972,7 @@ pub struct ICorProfilerInfo7_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo8(::windows_core::IUnknown); impl ICorProfilerInfo8 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -8682,25 +8293,9 @@ impl ICorProfilerInfo8 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo8, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7); -impl ::core::cmp::PartialEq for ICorProfilerInfo8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo8 {} -impl ::core::fmt::Debug for ICorProfilerInfo8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo8 { type Vtable = ICorProfilerInfo8_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5ac80a6_782e_4716_8044_39598c60cfbf); } @@ -8717,6 +8312,7 @@ pub struct ICorProfilerInfo8_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerInfo9(::windows_core::IUnknown); impl ICorProfilerInfo9 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> ::windows_core::Result { @@ -9046,25 +8642,9 @@ impl ICorProfilerInfo9 { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerInfo9, ::windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8); -impl ::core::cmp::PartialEq for ICorProfilerInfo9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerInfo9 {} -impl ::core::fmt::Debug for ICorProfilerInfo9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerInfo9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerInfo9 { type Vtable = ICorProfilerInfo9_Vtbl; } -impl ::core::clone::Clone for ICorProfilerInfo9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerInfo9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x008170db_f8cc_4796_9a51_dc8aa0b47012); } @@ -9078,6 +8658,7 @@ pub struct ICorProfilerInfo9_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerMethodEnum(::windows_core::IUnknown); impl ICorProfilerMethodEnum { pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { @@ -9099,25 +8680,9 @@ impl ICorProfilerMethodEnum { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerMethodEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerMethodEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerMethodEnum {} -impl ::core::fmt::Debug for ICorProfilerMethodEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerMethodEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerMethodEnum { type Vtable = ICorProfilerMethodEnum_Vtbl; } -impl ::core::clone::Clone for ICorProfilerMethodEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerMethodEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfccee788_0088_454b_a811_c99f298d1942); } @@ -9133,6 +8698,7 @@ pub struct ICorProfilerMethodEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerModuleEnum(::windows_core::IUnknown); impl ICorProfilerModuleEnum { pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { @@ -9154,25 +8720,9 @@ impl ICorProfilerModuleEnum { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerModuleEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerModuleEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerModuleEnum {} -impl ::core::fmt::Debug for ICorProfilerModuleEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerModuleEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerModuleEnum { type Vtable = ICorProfilerModuleEnum_Vtbl; } -impl ::core::clone::Clone for ICorProfilerModuleEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerModuleEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb0266d75_2081_4493_af7f_028ba34db891); } @@ -9188,6 +8738,7 @@ pub struct ICorProfilerModuleEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerObjectEnum(::windows_core::IUnknown); impl ICorProfilerObjectEnum { pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { @@ -9209,25 +8760,9 @@ impl ICorProfilerObjectEnum { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerObjectEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerObjectEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerObjectEnum {} -impl ::core::fmt::Debug for ICorProfilerObjectEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerObjectEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerObjectEnum { type Vtable = ICorProfilerObjectEnum_Vtbl; } -impl ::core::clone::Clone for ICorProfilerObjectEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerObjectEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c6269bd_2d13_4321_ae12_6686365fd6af); } @@ -9243,6 +8778,7 @@ pub struct ICorProfilerObjectEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorProfilerThreadEnum(::windows_core::IUnknown); impl ICorProfilerThreadEnum { pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { @@ -9264,25 +8800,9 @@ impl ICorProfilerThreadEnum { } } ::windows_core::imp::interface_hierarchy!(ICorProfilerThreadEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorProfilerThreadEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorProfilerThreadEnum {} -impl ::core::fmt::Debug for ICorProfilerThreadEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorProfilerThreadEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorProfilerThreadEnum { type Vtable = ICorProfilerThreadEnum_Vtbl; } -impl ::core::clone::Clone for ICorProfilerThreadEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorProfilerThreadEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x571194f7_25ed_419f_aa8b_7016b3159701); } @@ -9298,6 +8818,7 @@ pub struct ICorProfilerThreadEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMethodMalloc(::windows_core::IUnknown); impl IMethodMalloc { pub unsafe fn Alloc(&self, cb: u32) -> *mut ::core::ffi::c_void { @@ -9305,25 +8826,9 @@ impl IMethodMalloc { } } ::windows_core::imp::interface_hierarchy!(IMethodMalloc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMethodMalloc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMethodMalloc {} -impl ::core::fmt::Debug for IMethodMalloc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMethodMalloc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMethodMalloc { type Vtable = IMethodMalloc_Vtbl; } -impl ::core::clone::Clone for IMethodMalloc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMethodMalloc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0efb28b_6ee2_4d7b_b983_a75ef7beedb8); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs index fca46b1ca8..58382cd7a2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs @@ -64,8 +64,8 @@ impl AsyncIDebugApplicationNodeEvents_Vtbl { Finish_onAttach: Finish_onAttach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IActiveScript_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IActiveScriptAuthor_Vtbl { IsCommitChar: IsCommitChar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -375,8 +375,8 @@ impl IActiveScriptAuthorProcedure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IActiveScriptDebug32_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -457,8 +457,8 @@ impl IActiveScriptDebug64_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -492,8 +492,8 @@ impl IActiveScriptEncode_Vtbl { GetEncodeProgId: GetEncodeProgId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IActiveScriptError_Vtbl { GetSourceLineText: GetSourceLineText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IActiveScriptError64_Vtbl { } Self { base__: IActiveScriptError_Vtbl::new::(), GetSourcePosition64: GetSourcePosition64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IActiveScriptErrorDebug_Vtbl { GetStackFrame: GetStackFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -624,8 +624,8 @@ impl IActiveScriptErrorDebug110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExceptionThrownKind: GetExceptionThrownKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -642,8 +642,8 @@ impl IActiveScriptGarbageCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CollectGarbage: CollectGarbage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -660,8 +660,8 @@ impl IActiveScriptHostEncode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncodeScriptHostFile: EncodeScriptHostFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IActiveScriptParse32_Vtbl { ParseScriptText: ParseScriptText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -738,8 +738,8 @@ impl IActiveScriptParse64_Vtbl { ParseScriptText: ParseScriptText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -752,8 +752,8 @@ impl IActiveScriptParseProcedure2_32_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_32_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_32_Vtbl { Self { base__: IActiveScriptParseProcedure32_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -766,8 +766,8 @@ impl IActiveScriptParseProcedure2_64_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_64_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_64_Vtbl { Self { base__: IActiveScriptParseProcedure64_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -793,8 +793,8 @@ impl IActiveScriptParseProcedure32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl IActiveScriptParseProcedure64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -847,8 +847,8 @@ impl IActiveScriptParseProcedureOld32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -874,8 +874,8 @@ impl IActiveScriptParseProcedureOld64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IActiveScriptProfilerCallback_Vtbl { OnFunctionExit: OnFunctionExit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -958,8 +958,8 @@ impl IActiveScriptProfilerCallback2_Vtbl { OnFunctionExitByName: OnFunctionExitByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -976,8 +976,8 @@ impl IActiveScriptProfilerCallback3_Vtbl { } Self { base__: IActiveScriptProfilerCallback2_Vtbl::new::(), SetWebWorkerId: SetWebWorkerId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1011,8 +1011,8 @@ impl IActiveScriptProfilerControl_Vtbl { StopProfiling: StopProfiling::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1039,8 +1039,8 @@ impl IActiveScriptProfilerControl2_Vtbl { PrepareProfilerStop: PrepareProfilerStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1063,8 +1063,8 @@ impl IActiveScriptProfilerControl3_Vtbl { } Self { base__: IActiveScriptProfilerControl2_Vtbl::new::(), EnumHeap: EnumHeap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1081,8 +1081,8 @@ impl IActiveScriptProfilerControl4_Vtbl { } Self { base__: IActiveScriptProfilerControl3_Vtbl::new::(), SummarizeHeap: SummarizeHeap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1105,8 +1105,8 @@ impl IActiveScriptProfilerControl5_Vtbl { } Self { base__: IActiveScriptProfilerControl4_Vtbl::new::(), EnumHeap2: EnumHeap2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1147,8 +1147,8 @@ impl IActiveScriptProfilerHeapEnum_Vtbl { GetNameIdMap: GetNameIdMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IActiveScriptProperty_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IActiveScriptSIPInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSIPOID: GetSIPOID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1293,8 +1293,8 @@ impl IActiveScriptSite_Vtbl { OnLeaveScript: OnLeaveScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1356,8 +1356,8 @@ impl IActiveScriptSiteDebug32_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IActiveScriptSiteDebug64_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1449,8 +1449,8 @@ impl IActiveScriptSiteDebugEx_Vtbl { OnCanNotJITScriptErrorDebug: OnCanNotJITScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1467,8 +1467,8 @@ impl IActiveScriptSiteInterruptPoll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1485,8 +1485,8 @@ impl IActiveScriptSiteTraceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendScriptTraceInfo: SendScriptTraceInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1509,8 +1509,8 @@ impl IActiveScriptSiteUIControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIBehavior: GetUIBehavior:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1546,8 +1546,8 @@ impl IActiveScriptSiteWindow_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1581,8 +1581,8 @@ impl IActiveScriptStats_Vtbl { ResetStats: ResetStats::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1605,8 +1605,8 @@ impl IActiveScriptStringCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StrComp: StrComp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IActiveScriptTraceInfo_Vtbl { StopScriptTracing: StopScriptTracing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { GetCapabilitySid: GetCapabilitySid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1751,8 +1751,8 @@ impl IApplicationDebugger_Vtbl { onDebuggerEvent: onDebuggerEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IApplicationDebuggerUI_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl IBindEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BindHandler: BindHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1844,8 +1844,8 @@ impl IDebugApplication11032_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1888,8 +1888,8 @@ impl IDebugApplication11064_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2081,8 +2081,8 @@ impl IDebugApplication32_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2274,8 +2274,8 @@ impl IDebugApplication64_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2342,8 +2342,8 @@ impl IDebugApplicationNode_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2383,8 +2383,8 @@ impl IDebugApplicationNode100_Vtbl { QueryIsChildNode: QueryIsChildNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IDebugApplicationNodeEvents_Vtbl { onAttach: onAttach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2474,8 +2474,8 @@ impl IDebugApplicationThread_Vtbl { SetStateString: SetStateString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2537,8 +2537,8 @@ impl IDebugApplicationThread11032_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2600,8 +2600,8 @@ impl IDebugApplicationThread11064_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2621,8 +2621,8 @@ impl IDebugApplicationThread64_Vtbl { SynchronousCallIntoThread64: SynchronousCallIntoThread64::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2663,8 +2663,8 @@ impl IDebugApplicationThreadEvents110_Vtbl { OnBeginThreadRequest: OnBeginThreadRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2718,8 +2718,8 @@ impl IDebugAsyncOperation_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2736,8 +2736,8 @@ impl IDebugAsyncOperationCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2770,8 +2770,8 @@ impl IDebugCodeContext_Vtbl { SetBreakPoint: SetBreakPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2788,8 +2788,8 @@ impl IDebugCookie_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDebugCookie: SetDebugCookie:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2799,8 +2799,8 @@ impl IDebugDocument_Vtbl { pub const fn new, Impl: IDebugDocument_Impl, const OFFSET: isize>() -> IDebugDocument_Vtbl { Self { base__: IDebugDocumentInfo_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl IDebugDocumentContext_Vtbl { EnumCodeContexts: EnumCodeContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl IDebugDocumentHelper32_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3161,8 +3161,8 @@ impl IDebugDocumentHelper64_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3232,8 +3232,8 @@ impl IDebugDocumentHost_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3272,8 +3272,8 @@ impl IDebugDocumentInfo_Vtbl { GetDocumentClassId: GetDocumentClassId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl IDebugDocumentProvider_Vtbl { } Self { base__: IDebugDocumentInfo_Vtbl::new::(), GetDocument: GetDocument:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3377,8 +3377,8 @@ impl IDebugDocumentText_Vtbl { GetContextOfPosition: GetContextOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3412,8 +3412,8 @@ impl IDebugDocumentTextAuthor_Vtbl { ReplaceText: ReplaceText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3468,8 +3468,8 @@ impl IDebugDocumentTextEvents_Vtbl { onUpdateDocumentAttributes: onUpdateDocumentAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3512,8 +3512,8 @@ impl IDebugDocumentTextExternalAuthor_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3561,8 +3561,8 @@ impl IDebugExpression_Vtbl { GetResultAsDebugProperty: GetResultAsDebugProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3579,8 +3579,8 @@ impl IDebugExpressionCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3613,8 +3613,8 @@ impl IDebugExpressionContext_Vtbl { GetLanguageInfo: GetLanguageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3669,8 +3669,8 @@ impl IDebugFormatter_Vtbl { GetStringForVarType: GetStringForVarType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3725,8 +3725,8 @@ impl IDebugHelper_Vtbl { CreateSimpleConnectionPoint: CreateSimpleConnectionPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3743,8 +3743,8 @@ impl IDebugSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDebugSession: StartDebugSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3825,8 +3825,8 @@ impl IDebugStackFrame_Vtbl { GetDebugProperty: GetDebugProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3868,8 +3868,8 @@ impl IDebugStackFrame110_Vtbl { GetScriptInvocationContext: GetScriptInvocationContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3892,8 +3892,8 @@ impl IDebugStackFrameSniffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumStackFrames: EnumStackFrames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3916,8 +3916,8 @@ impl IDebugStackFrameSnifferEx32_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx32: EnumStackFramesEx32:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3940,8 +3940,8 @@ impl IDebugStackFrameSnifferEx64_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx64: EnumStackFramesEx64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3987,8 +3987,8 @@ impl IDebugSyncOperation_Vtbl { InProgressAbort: InProgressAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4005,8 +4005,8 @@ impl IDebugThreadCall32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4023,8 +4023,8 @@ impl IDebugThreadCall64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4071,8 +4071,8 @@ impl IEnumDebugApplicationNodes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4119,8 +4119,8 @@ impl IEnumDebugCodeContexts_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4167,8 +4167,8 @@ impl IEnumDebugExpressionContexts_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4218,8 +4218,8 @@ impl IEnumDebugStackFrames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4239,8 +4239,8 @@ impl IEnumDebugStackFrames64_Vtbl { } Self { base__: IEnumDebugStackFrames_Vtbl::new::(), Next64: Next64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4263,8 +4263,8 @@ impl IEnumJsStackFrames_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4311,8 +4311,8 @@ impl IEnumRemoteDebugApplicationThreads_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4359,8 +4359,8 @@ impl IEnumRemoteDebugApplications_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4383,8 +4383,8 @@ impl IJsDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenVirtualProcess: OpenVirtualProcess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4441,8 +4441,8 @@ impl IJsDebugBreakPoint_Vtbl { GetDocumentPosition: GetDocumentPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IJsDebugDataTarget_Vtbl { GetThreadContext: GetThreadContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4629,8 +4629,8 @@ impl IJsDebugFrame_Vtbl { Evaluate: Evaluate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4692,8 +4692,8 @@ impl IJsDebugProcess_Vtbl { GetExternalStepAddress: GetExternalStepAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4726,8 +4726,8 @@ impl IJsDebugProperty_Vtbl { GetMembers: GetMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4750,8 +4750,8 @@ impl IJsDebugStackWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNext: GetNext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4784,8 +4784,8 @@ impl IJsEnumDebugProperty_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4831,8 +4831,8 @@ impl IMachineDebugManager_Vtbl { EnumApplications: EnumApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4878,8 +4878,8 @@ impl IMachineDebugManagerCookie_Vtbl { EnumApplications: EnumApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4906,8 +4906,8 @@ impl IMachineDebugManagerEvents_Vtbl { onRemoveApplication: onRemoveApplication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4979,8 +4979,8 @@ impl IProcessDebugManager32_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5052,8 +5052,8 @@ impl IProcessDebugManager64_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5076,8 +5076,8 @@ impl IProvideExpressionContexts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumExpressionContexts: EnumExpressionContexts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5203,8 +5203,8 @@ impl IRemoteDebugApplication_Vtbl { EnumGlobalExpressionContexts: EnumGlobalExpressionContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5250,8 +5250,8 @@ impl IRemoteDebugApplication110_Vtbl { GetMainThread: GetMainThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5334,8 +5334,8 @@ impl IRemoteDebugApplicationEvents_Vtbl { OnBreakFlagChange: OnBreakFlagChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5453,8 +5453,8 @@ impl IRemoteDebugApplicationThread_Vtbl { GetSuspendCount: GetSuspendCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5471,8 +5471,8 @@ impl IRemoteDebugCriticalErrorEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5489,8 +5489,8 @@ impl IRemoteDebugInfoEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEventInfo: GetEventInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl IScriptEntry_Vtbl { GetRange: GetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5660,8 +5660,8 @@ impl IScriptInvocationContext_Vtbl { GetContextObject: GetContextObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5795,8 +5795,8 @@ impl IScriptNode_Vtbl { CreateChildHandler: CreateChildHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5872,8 +5872,8 @@ impl IScriptScriptlet_Vtbl { SetSimpleEventName: SetSimpleEventName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5929,8 +5929,8 @@ impl ISimpleConnectionPoint_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5950,8 +5950,8 @@ impl ITridentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5971,8 +5971,8 @@ impl IWebAppDiagnosticsObjectInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6008,7 +6008,7 @@ impl IWebAppDiagnosticsSetup_Vtbl { CreateObjectWithSiteAtWebApp: CreateObjectWithSiteAtWebApp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs index 8f39e2d34f..1a446d7731 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIDebugApplicationNodeEvents(::windows_core::IUnknown); impl AsyncIDebugApplicationNodeEvents { pub unsafe fn Begin_onAddChild(&self, prddpchild: P0) -> ::windows_core::Result<()> @@ -37,25 +38,9 @@ impl AsyncIDebugApplicationNodeEvents { } } ::windows_core::imp::interface_hierarchy!(AsyncIDebugApplicationNodeEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIDebugApplicationNodeEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIDebugApplicationNodeEvents {} -impl ::core::fmt::Debug for AsyncIDebugApplicationNodeEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIDebugApplicationNodeEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIDebugApplicationNodeEvents { type Vtable = AsyncIDebugApplicationNodeEvents_Vtbl; } -impl ::core::clone::Clone for AsyncIDebugApplicationNodeEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIDebugApplicationNodeEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2e3aa3b_aa8d_4ebf_84cd_648b737b8c13); } @@ -74,6 +59,7 @@ pub struct AsyncIDebugApplicationNodeEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScript(::windows_core::IUnknown); impl IActiveScript { pub unsafe fn SetScriptSite(&self, pass: P0) -> ::windows_core::Result<()> @@ -140,25 +126,9 @@ impl IActiveScript { } } ::windows_core::imp::interface_hierarchy!(IActiveScript, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScript { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScript {} -impl ::core::fmt::Debug for IActiveScript { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScript").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScript { type Vtable = IActiveScript_Vtbl; } -impl ::core::clone::Clone for IActiveScript { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScript { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb1a2ae1_a4f9_11cf_8f20_00805f2cd064); } @@ -188,6 +158,7 @@ pub struct IActiveScript_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptAuthor(::windows_core::IUnknown); impl IActiveScriptAuthor { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -282,25 +253,9 @@ impl IActiveScriptAuthor { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptAuthor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptAuthor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptAuthor {} -impl ::core::fmt::Debug for IActiveScriptAuthor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptAuthor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptAuthor { type Vtable = IActiveScriptAuthor_Vtbl; } -impl ::core::clone::Clone for IActiveScriptAuthor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptAuthor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c109da0_7006_11d1_b36c_00a0c911e8b2); } @@ -334,6 +289,7 @@ pub struct IActiveScriptAuthor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptAuthorProcedure(::windows_core::IUnknown); impl IActiveScriptAuthorProcedure { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -351,25 +307,9 @@ impl IActiveScriptAuthorProcedure { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptAuthorProcedure, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptAuthorProcedure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptAuthorProcedure {} -impl ::core::fmt::Debug for IActiveScriptAuthorProcedure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptAuthorProcedure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptAuthorProcedure { type Vtable = IActiveScriptAuthorProcedure_Vtbl; } -impl ::core::clone::Clone for IActiveScriptAuthorProcedure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptAuthorProcedure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e2d4b70_bd9a_11d0_9336_00a0c90dcaa9); } @@ -384,6 +324,7 @@ pub struct IActiveScriptAuthorProcedure_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptDebug32(::windows_core::IUnknown); impl IActiveScriptDebug32 { pub unsafe fn GetScriptTextAttributes(&self, pstrcode: P0, unumcodechars: u32, pstrdelimiter: P1, dwflags: u32, pattr: *mut u16) -> ::windows_core::Result<()> @@ -406,25 +347,9 @@ impl IActiveScriptDebug32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptDebug32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptDebug32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptDebug32 {} -impl ::core::fmt::Debug for IActiveScriptDebug32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptDebug32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptDebug32 { type Vtable = IActiveScriptDebug32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptDebug32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptDebug32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c10_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -438,6 +363,7 @@ pub struct IActiveScriptDebug32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptDebug64(::windows_core::IUnknown); impl IActiveScriptDebug64 { pub unsafe fn GetScriptTextAttributes(&self, pstrcode: P0, unumcodechars: u32, pstrdelimiter: P1, dwflags: u32, pattr: *mut u16) -> ::windows_core::Result<()> @@ -460,25 +386,9 @@ impl IActiveScriptDebug64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptDebug64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptDebug64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptDebug64 {} -impl ::core::fmt::Debug for IActiveScriptDebug64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptDebug64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptDebug64 { type Vtable = IActiveScriptDebug64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptDebug64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptDebug64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc437e23_f5b8_47f4_bb79_7d1ce5483b86); } @@ -492,6 +402,7 @@ pub struct IActiveScriptDebug64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptEncode(::windows_core::IUnknown); impl IActiveScriptEncode { pub unsafe fn EncodeSection(&self, pchin: P0, cchin: u32, pchout: ::windows_core::PWSTR, cchout: u32, pcchret: *mut u32) -> ::windows_core::Result<()> @@ -511,25 +422,9 @@ impl IActiveScriptEncode { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptEncode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptEncode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptEncode {} -impl ::core::fmt::Debug for IActiveScriptEncode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptEncode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptEncode { type Vtable = IActiveScriptEncode_Vtbl; } -impl ::core::clone::Clone for IActiveScriptEncode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptEncode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb1a2ae3_a4f9_11cf_8f20_00805f2cd064); } @@ -543,6 +438,7 @@ pub struct IActiveScriptEncode_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptError(::windows_core::IUnknown); impl IActiveScriptError { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -559,25 +455,9 @@ impl IActiveScriptError { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptError {} -impl ::core::fmt::Debug for IActiveScriptError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptError { type Vtable = IActiveScriptError_Vtbl; } -impl ::core::clone::Clone for IActiveScriptError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeae1ba61_a4ed_11cf_8f20_00805f2cd064); } @@ -594,6 +474,7 @@ pub struct IActiveScriptError_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptError64(::windows_core::IUnknown); impl IActiveScriptError64 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -613,25 +494,9 @@ impl IActiveScriptError64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptError64, ::windows_core::IUnknown, IActiveScriptError); -impl ::core::cmp::PartialEq for IActiveScriptError64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptError64 {} -impl ::core::fmt::Debug for IActiveScriptError64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptError64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptError64 { type Vtable = IActiveScriptError64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptError64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptError64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb21fb2a1_5b8f_4963_8c21_21450f84ed7f); } @@ -643,6 +508,7 @@ pub struct IActiveScriptError64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptErrorDebug(::windows_core::IUnknown); impl IActiveScriptErrorDebug { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -667,25 +533,9 @@ impl IActiveScriptErrorDebug { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug, ::windows_core::IUnknown, IActiveScriptError); -impl ::core::cmp::PartialEq for IActiveScriptErrorDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptErrorDebug {} -impl ::core::fmt::Debug for IActiveScriptErrorDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptErrorDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptErrorDebug { type Vtable = IActiveScriptErrorDebug_Vtbl; } -impl ::core::clone::Clone for IActiveScriptErrorDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptErrorDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c12_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -698,6 +548,7 @@ pub struct IActiveScriptErrorDebug_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptErrorDebug110(::windows_core::IUnknown); impl IActiveScriptErrorDebug110 { pub unsafe fn GetExceptionThrownKind(&self) -> ::windows_core::Result { @@ -706,25 +557,9 @@ impl IActiveScriptErrorDebug110 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug110, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptErrorDebug110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptErrorDebug110 {} -impl ::core::fmt::Debug for IActiveScriptErrorDebug110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptErrorDebug110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptErrorDebug110 { type Vtable = IActiveScriptErrorDebug110_Vtbl; } -impl ::core::clone::Clone for IActiveScriptErrorDebug110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptErrorDebug110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x516e42b6_89a8_4530_937b_5f0708431442); } @@ -736,6 +571,7 @@ pub struct IActiveScriptErrorDebug110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptGarbageCollector(::windows_core::IUnknown); impl IActiveScriptGarbageCollector { pub unsafe fn CollectGarbage(&self, scriptgctype: SCRIPTGCTYPE) -> ::windows_core::Result<()> { @@ -743,25 +579,9 @@ impl IActiveScriptGarbageCollector { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptGarbageCollector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptGarbageCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptGarbageCollector {} -impl ::core::fmt::Debug for IActiveScriptGarbageCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptGarbageCollector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptGarbageCollector { type Vtable = IActiveScriptGarbageCollector_Vtbl; } -impl ::core::clone::Clone for IActiveScriptGarbageCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptGarbageCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aa2c4a0_2b53_11d4_a2a0_00104bd35090); } @@ -773,6 +593,7 @@ pub struct IActiveScriptGarbageCollector_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptHostEncode(::windows_core::IUnknown); impl IActiveScriptHostEncode { pub unsafe fn EncodeScriptHostFile(&self, bstrinfile: P0, pbstroutfile: *mut ::windows_core::BSTR, cflags: u32, bstrdefaultlang: P1) -> ::windows_core::Result<()> @@ -784,25 +605,9 @@ impl IActiveScriptHostEncode { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptHostEncode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptHostEncode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptHostEncode {} -impl ::core::fmt::Debug for IActiveScriptHostEncode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptHostEncode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptHostEncode { type Vtable = IActiveScriptHostEncode_Vtbl; } -impl ::core::clone::Clone for IActiveScriptHostEncode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptHostEncode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbee9b76e_cfe3_11d1_b747_00c04fc2b085); } @@ -814,6 +619,7 @@ pub struct IActiveScriptHostEncode_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParse32(::windows_core::IUnknown); impl IActiveScriptParse32 { pub unsafe fn InitNew(&self) -> ::windows_core::Result<()> { @@ -845,25 +651,9 @@ impl IActiveScriptParse32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParse32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParse32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParse32 {} -impl ::core::fmt::Debug for IActiveScriptParse32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParse32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParse32 { type Vtable = IActiveScriptParse32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParse32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParse32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb1a2ae2_a4f9_11cf_8f20_00805f2cd064); } @@ -883,6 +673,7 @@ pub struct IActiveScriptParse32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParse64(::windows_core::IUnknown); impl IActiveScriptParse64 { pub unsafe fn InitNew(&self) -> ::windows_core::Result<()> { @@ -914,25 +705,9 @@ impl IActiveScriptParse64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParse64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParse64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParse64 {} -impl ::core::fmt::Debug for IActiveScriptParse64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParse64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParse64 { type Vtable = IActiveScriptParse64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParse64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParse64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7ef7658_e1ee_480e_97ea_d52cb4d76d17); } @@ -952,6 +727,7 @@ pub struct IActiveScriptParse64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedure2_32(::windows_core::IUnknown); impl IActiveScriptParseProcedure2_32 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -970,25 +746,9 @@ impl IActiveScriptParseProcedure2_32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_32, ::windows_core::IUnknown, IActiveScriptParseProcedure32); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedure2_32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedure2_32 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedure2_32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedure2_32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedure2_32 { type Vtable = IActiveScriptParseProcedure2_32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedure2_32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedure2_32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71ee5b20_fb04_11d1_b3a8_00a0c911e8b2); } @@ -999,6 +759,7 @@ pub struct IActiveScriptParseProcedure2_32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedure2_64(::windows_core::IUnknown); impl IActiveScriptParseProcedure2_64 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1017,25 +778,9 @@ impl IActiveScriptParseProcedure2_64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_64, ::windows_core::IUnknown, IActiveScriptParseProcedure64); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedure2_64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedure2_64 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedure2_64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedure2_64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedure2_64 { type Vtable = IActiveScriptParseProcedure2_64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedure2_64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedure2_64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe7c4271_210c_448d_9f54_76dab7047b28); } @@ -1046,6 +791,7 @@ pub struct IActiveScriptParseProcedure2_64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedure32(::windows_core::IUnknown); impl IActiveScriptParseProcedure32 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1064,25 +810,9 @@ impl IActiveScriptParseProcedure32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedure32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedure32 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedure32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedure32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedure32 { type Vtable = IActiveScriptParseProcedure32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedure32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedure32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa5b6a80_b834_11d0_932f_00a0c90dcaa9); } @@ -1097,6 +827,7 @@ pub struct IActiveScriptParseProcedure32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedure64(::windows_core::IUnknown); impl IActiveScriptParseProcedure64 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1115,25 +846,9 @@ impl IActiveScriptParseProcedure64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedure64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedure64 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedure64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedure64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedure64 { type Vtable = IActiveScriptParseProcedure64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedure64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedure64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc64713b6_e029_4cc5_9200_438b72890b6a); } @@ -1148,6 +863,7 @@ pub struct IActiveScriptParseProcedure64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedureOld32(::windows_core::IUnknown); impl IActiveScriptParseProcedureOld32 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1165,25 +881,9 @@ impl IActiveScriptParseProcedureOld32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedureOld32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedureOld32 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedureOld32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedureOld32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedureOld32 { type Vtable = IActiveScriptParseProcedureOld32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedureOld32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedureOld32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cff0050_6fdd_11d0_9328_00a0c90dcaa9); } @@ -1198,6 +898,7 @@ pub struct IActiveScriptParseProcedureOld32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptParseProcedureOld64(::windows_core::IUnknown); impl IActiveScriptParseProcedureOld64 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1215,25 +916,9 @@ impl IActiveScriptParseProcedureOld64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptParseProcedureOld64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptParseProcedureOld64 {} -impl ::core::fmt::Debug for IActiveScriptParseProcedureOld64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptParseProcedureOld64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptParseProcedureOld64 { type Vtable = IActiveScriptParseProcedureOld64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptParseProcedureOld64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptParseProcedureOld64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21f57128_08c9_4638_ba12_22d15d88dc5c); } @@ -1248,6 +933,7 @@ pub struct IActiveScriptParseProcedureOld64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerCallback(::windows_core::IUnknown); impl IActiveScriptProfilerCallback { pub unsafe fn Initialize(&self, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1278,25 +964,9 @@ impl IActiveScriptProfilerCallback { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerCallback {} -impl ::core::fmt::Debug for IActiveScriptProfilerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerCallback { type Vtable = IActiveScriptProfilerCallback_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x740eca23_7d9d_42e5_ba9d_f8b24b1c7a9b); } @@ -1313,6 +983,7 @@ pub struct IActiveScriptProfilerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerCallback2(::windows_core::IUnknown); impl IActiveScriptProfilerCallback2 { pub unsafe fn Initialize(&self, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1355,25 +1026,9 @@ impl IActiveScriptProfilerCallback2 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback2, ::windows_core::IUnknown, IActiveScriptProfilerCallback); -impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerCallback2 {} -impl ::core::fmt::Debug for IActiveScriptProfilerCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerCallback2 { type Vtable = IActiveScriptProfilerCallback2_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31b7f8ad_a637_409c_b22f_040995b6103d); } @@ -1386,6 +1041,7 @@ pub struct IActiveScriptProfilerCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerCallback3(::windows_core::IUnknown); impl IActiveScriptProfilerCallback3 { pub unsafe fn Initialize(&self, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1431,25 +1087,9 @@ impl IActiveScriptProfilerCallback3 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback3, ::windows_core::IUnknown, IActiveScriptProfilerCallback, IActiveScriptProfilerCallback2); -impl ::core::cmp::PartialEq for IActiveScriptProfilerCallback3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerCallback3 {} -impl ::core::fmt::Debug for IActiveScriptProfilerCallback3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerCallback3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerCallback3 { type Vtable = IActiveScriptProfilerCallback3_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerCallback3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerCallback3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ac5ad25_2037_4687_91df_b59979d93d73); } @@ -1461,6 +1101,7 @@ pub struct IActiveScriptProfilerCallback3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerControl(::windows_core::IUnknown); impl IActiveScriptProfilerControl { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const ::windows_core::GUID, dweventmask: u32, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1474,25 +1115,9 @@ impl IActiveScriptProfilerControl { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptProfilerControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerControl {} -impl ::core::fmt::Debug for IActiveScriptProfilerControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl { type Vtable = IActiveScriptProfilerControl_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x784b5ff0_69b0_47d1_a7dc_2518f4230e90); } @@ -1506,6 +1131,7 @@ pub struct IActiveScriptProfilerControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerControl2(::windows_core::IUnknown); impl IActiveScriptProfilerControl2 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const ::windows_core::GUID, dweventmask: u32, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1525,25 +1151,9 @@ impl IActiveScriptProfilerControl2 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl2, ::windows_core::IUnknown, IActiveScriptProfilerControl); -impl ::core::cmp::PartialEq for IActiveScriptProfilerControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerControl2 {} -impl ::core::fmt::Debug for IActiveScriptProfilerControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl2 { type Vtable = IActiveScriptProfilerControl2_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47810165_498f_40be_94f1_653557e9e7da); } @@ -1556,6 +1166,7 @@ pub struct IActiveScriptProfilerControl2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerControl3(::windows_core::IUnknown); impl IActiveScriptProfilerControl3 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const ::windows_core::GUID, dweventmask: u32, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1579,25 +1190,9 @@ impl IActiveScriptProfilerControl3 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl3, ::windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2); -impl ::core::cmp::PartialEq for IActiveScriptProfilerControl3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerControl3 {} -impl ::core::fmt::Debug for IActiveScriptProfilerControl3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerControl3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl3 { type Vtable = IActiveScriptProfilerControl3_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b403015_f381_4023_a5d0_6fed076de716); } @@ -1609,6 +1204,7 @@ pub struct IActiveScriptProfilerControl3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerControl4(::windows_core::IUnknown); impl IActiveScriptProfilerControl4 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const ::windows_core::GUID, dweventmask: u32, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1635,25 +1231,9 @@ impl IActiveScriptProfilerControl4 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl4, ::windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3); -impl ::core::cmp::PartialEq for IActiveScriptProfilerControl4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerControl4 {} -impl ::core::fmt::Debug for IActiveScriptProfilerControl4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerControl4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl4 { type Vtable = IActiveScriptProfilerControl4_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerControl4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerControl4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x160f94fd_9dbc_40d4_9eac_2b71db3132f4); } @@ -1665,6 +1245,7 @@ pub struct IActiveScriptProfilerControl4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerControl5(::windows_core::IUnknown); impl IActiveScriptProfilerControl5 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const ::windows_core::GUID, dweventmask: u32, dwcontext: u32) -> ::windows_core::Result<()> { @@ -1695,24 +1276,8 @@ impl IActiveScriptProfilerControl5 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl5, ::windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3, IActiveScriptProfilerControl4); -impl ::core::cmp::PartialEq for IActiveScriptProfilerControl5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerControl5 {} -impl ::core::fmt::Debug for IActiveScriptProfilerControl5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerControl5").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl5 { - type Vtable = IActiveScriptProfilerControl5_Vtbl; -} -impl ::core::clone::Clone for IActiveScriptProfilerControl5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IActiveScriptProfilerControl5 { + type Vtable = IActiveScriptProfilerControl5_Vtbl; } unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerControl5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c01a2d1_8f0f_46a5_9720_0d7ed2c62f0a); @@ -1725,6 +1290,7 @@ pub struct IActiveScriptProfilerControl5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProfilerHeapEnum(::windows_core::IUnknown); impl IActiveScriptProfilerHeapEnum { pub unsafe fn Next(&self, heapobjects: &mut [*mut PROFILER_HEAP_OBJECT], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1741,25 +1307,9 @@ impl IActiveScriptProfilerHeapEnum { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProfilerHeapEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptProfilerHeapEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProfilerHeapEnum {} -impl ::core::fmt::Debug for IActiveScriptProfilerHeapEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProfilerHeapEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProfilerHeapEnum { type Vtable = IActiveScriptProfilerHeapEnum_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProfilerHeapEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProfilerHeapEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32e4694e_0d37_419b_b93d_fa20ded6e8ea); } @@ -1774,6 +1324,7 @@ pub struct IActiveScriptProfilerHeapEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptProperty(::windows_core::IUnknown); impl IActiveScriptProperty { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1789,25 +1340,9 @@ impl IActiveScriptProperty { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptProperty {} -impl ::core::fmt::Debug for IActiveScriptProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptProperty { type Vtable = IActiveScriptProperty_Vtbl; } -impl ::core::clone::Clone for IActiveScriptProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4954e0d0_fbc7_11d1_8410_006008c3fbfc); } @@ -1826,6 +1361,7 @@ pub struct IActiveScriptProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSIPInfo(::windows_core::IUnknown); impl IActiveScriptSIPInfo { pub unsafe fn GetSIPOID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -1834,25 +1370,9 @@ impl IActiveScriptSIPInfo { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSIPInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSIPInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSIPInfo {} -impl ::core::fmt::Debug for IActiveScriptSIPInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSIPInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSIPInfo { type Vtable = IActiveScriptSIPInfo_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSIPInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSIPInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x764651d0_38de_11d4_a2a3_00104bd35090); } @@ -1864,6 +1384,7 @@ pub struct IActiveScriptSIPInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSite(::windows_core::IUnknown); impl IActiveScriptSite { pub unsafe fn GetLCID(&self) -> ::windows_core::Result { @@ -1904,25 +1425,9 @@ impl IActiveScriptSite { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSite {} -impl ::core::fmt::Debug for IActiveScriptSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSite { type Vtable = IActiveScriptSite_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb01a1e3_a42b_11cf_8f20_00805f2cd064); } @@ -1947,6 +1452,7 @@ pub struct IActiveScriptSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteDebug32(::windows_core::IUnknown); impl IActiveScriptSiteDebug32 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u32, ucharacteroffset: u32, unumchars: u32) -> ::windows_core::Result { @@ -1971,25 +1477,9 @@ impl IActiveScriptSiteDebug32 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebug32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteDebug32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteDebug32 {} -impl ::core::fmt::Debug for IActiveScriptSiteDebug32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteDebug32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteDebug32 { type Vtable = IActiveScriptSiteDebug32_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteDebug32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteDebug32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c11_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -2007,6 +1497,7 @@ pub struct IActiveScriptSiteDebug32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteDebug64(::windows_core::IUnknown); impl IActiveScriptSiteDebug64 { pub unsafe fn GetDocumentContextFromPosition(&self, dwsourcecontext: u64, ucharacteroffset: u32, unumchars: u32) -> ::windows_core::Result { @@ -2031,25 +1522,9 @@ impl IActiveScriptSiteDebug64 { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebug64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteDebug64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteDebug64 {} -impl ::core::fmt::Debug for IActiveScriptSiteDebug64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteDebug64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteDebug64 { type Vtable = IActiveScriptSiteDebug64_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteDebug64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteDebug64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6b96b0a_7463_402c_92ac_89984226942f); } @@ -2067,6 +1542,7 @@ pub struct IActiveScriptSiteDebug64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteDebugEx(::windows_core::IUnknown); impl IActiveScriptSiteDebugEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2080,25 +1556,9 @@ impl IActiveScriptSiteDebugEx { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebugEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteDebugEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteDebugEx {} -impl ::core::fmt::Debug for IActiveScriptSiteDebugEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteDebugEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteDebugEx { type Vtable = IActiveScriptSiteDebugEx_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteDebugEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteDebugEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb722ccb_6ad2_41c6_b780_af9c03ee69f5); } @@ -2113,6 +1573,7 @@ pub struct IActiveScriptSiteDebugEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteInterruptPoll(::windows_core::IUnknown); impl IActiveScriptSiteInterruptPoll { pub unsafe fn QueryContinue(&self) -> ::windows_core::Result<()> { @@ -2120,25 +1581,9 @@ impl IActiveScriptSiteInterruptPoll { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteInterruptPoll, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteInterruptPoll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteInterruptPoll {} -impl ::core::fmt::Debug for IActiveScriptSiteInterruptPoll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteInterruptPoll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteInterruptPoll { type Vtable = IActiveScriptSiteInterruptPoll_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteInterruptPoll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteInterruptPoll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x539698a0_cdca_11cf_a5eb_00aa0047a063); } @@ -2150,6 +1595,7 @@ pub struct IActiveScriptSiteInterruptPoll_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteTraceInfo(::windows_core::IUnknown); impl IActiveScriptSiteTraceInfo { pub unsafe fn SendScriptTraceInfo(&self, stieventtype: SCRIPTTRACEINFO, guidcontextid: ::windows_core::GUID, dwscriptcontextcookie: u32, lscriptstatementstart: i32, lscriptstatementend: i32, dwreserved: u64) -> ::windows_core::Result<()> { @@ -2157,25 +1603,9 @@ impl IActiveScriptSiteTraceInfo { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteTraceInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteTraceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteTraceInfo {} -impl ::core::fmt::Debug for IActiveScriptSiteTraceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteTraceInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteTraceInfo { type Vtable = IActiveScriptSiteTraceInfo_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteTraceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteTraceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b7272ae_1955_4bfe_98b0_780621888569); } @@ -2187,6 +1617,7 @@ pub struct IActiveScriptSiteTraceInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteUIControl(::windows_core::IUnknown); impl IActiveScriptSiteUIControl { pub unsafe fn GetUIBehavior(&self, uicitem: SCRIPTUICITEM) -> ::windows_core::Result { @@ -2195,25 +1626,9 @@ impl IActiveScriptSiteUIControl { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteUIControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteUIControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteUIControl {} -impl ::core::fmt::Debug for IActiveScriptSiteUIControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteUIControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteUIControl { type Vtable = IActiveScriptSiteUIControl_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteUIControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteUIControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaedae97e_d7ee_4796_b960_7f092ae844ab); } @@ -2225,6 +1640,7 @@ pub struct IActiveScriptSiteUIControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptSiteWindow(::windows_core::IUnknown); impl IActiveScriptSiteWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2243,25 +1659,9 @@ impl IActiveScriptSiteWindow { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptSiteWindow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptSiteWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptSiteWindow {} -impl ::core::fmt::Debug for IActiveScriptSiteWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptSiteWindow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptSiteWindow { type Vtable = IActiveScriptSiteWindow_Vtbl; } -impl ::core::clone::Clone for IActiveScriptSiteWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptSiteWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd10f6761_83e9_11cf_8f20_00805f2cd064); } @@ -2280,6 +1680,7 @@ pub struct IActiveScriptSiteWindow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptStats(::windows_core::IUnknown); impl IActiveScriptStats { pub unsafe fn GetStat(&self, stid: u32, pluhi: *mut u32, plulo: *mut u32) -> ::windows_core::Result<()> { @@ -2293,25 +1694,9 @@ impl IActiveScriptStats { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptStats, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptStats { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptStats {} -impl ::core::fmt::Debug for IActiveScriptStats { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptStats").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptStats { type Vtable = IActiveScriptStats_Vtbl; } -impl ::core::clone::Clone for IActiveScriptStats { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptStats { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8da6310_e19b_11d0_933c_00a0c90dcaa9); } @@ -2325,6 +1710,7 @@ pub struct IActiveScriptStats_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptStringCompare(::windows_core::IUnknown); impl IActiveScriptStringCompare { pub unsafe fn StrComp(&self, bszstr1: P0, bszstr2: P1) -> ::windows_core::Result @@ -2337,25 +1723,9 @@ impl IActiveScriptStringCompare { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptStringCompare, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptStringCompare { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptStringCompare {} -impl ::core::fmt::Debug for IActiveScriptStringCompare { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptStringCompare").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptStringCompare { type Vtable = IActiveScriptStringCompare_Vtbl; } -impl ::core::clone::Clone for IActiveScriptStringCompare { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptStringCompare { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58562769_ed52_42f7_8403_4963514e1f11); } @@ -2367,6 +1737,7 @@ pub struct IActiveScriptStringCompare_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptTraceInfo(::windows_core::IUnknown); impl IActiveScriptTraceInfo { pub unsafe fn StartScriptTracing(&self, psitetraceinfo: P0, guidcontextid: ::windows_core::GUID) -> ::windows_core::Result<()> @@ -2380,25 +1751,9 @@ impl IActiveScriptTraceInfo { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptTraceInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveScriptTraceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptTraceInfo {} -impl ::core::fmt::Debug for IActiveScriptTraceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptTraceInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptTraceInfo { type Vtable = IActiveScriptTraceInfo_Vtbl; } -impl ::core::clone::Clone for IActiveScriptTraceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptTraceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc35456e7_bebf_4a1b_86a9_24d56be8b369); } @@ -2411,6 +1766,7 @@ pub struct IActiveScriptTraceInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveScriptWinRTErrorDebug(::windows_core::IUnknown); impl IActiveScriptWinRTErrorDebug { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2439,25 +1795,9 @@ impl IActiveScriptWinRTErrorDebug { } } ::windows_core::imp::interface_hierarchy!(IActiveScriptWinRTErrorDebug, ::windows_core::IUnknown, IActiveScriptError); -impl ::core::cmp::PartialEq for IActiveScriptWinRTErrorDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveScriptWinRTErrorDebug {} -impl ::core::fmt::Debug for IActiveScriptWinRTErrorDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveScriptWinRTErrorDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveScriptWinRTErrorDebug { type Vtable = IActiveScriptWinRTErrorDebug_Vtbl; } -impl ::core::clone::Clone for IActiveScriptWinRTErrorDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveScriptWinRTErrorDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73a3f82a_0fe9_4b33_ba3b_fe095f697e0a); } @@ -2471,6 +1811,7 @@ pub struct IActiveScriptWinRTErrorDebug_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDebugger(::windows_core::IUnknown); impl IApplicationDebugger { pub unsafe fn QueryAlive(&self) -> ::windows_core::Result<()> { @@ -2507,25 +1848,9 @@ impl IApplicationDebugger { } } ::windows_core::imp::interface_hierarchy!(IApplicationDebugger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationDebugger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDebugger {} -impl ::core::fmt::Debug for IApplicationDebugger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDebugger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDebugger { type Vtable = IApplicationDebugger_Vtbl; } -impl ::core::clone::Clone for IApplicationDebugger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDebugger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2a_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -2542,6 +1867,7 @@ pub struct IApplicationDebugger_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDebuggerUI(::windows_core::IUnknown); impl IApplicationDebuggerUI { pub unsafe fn BringDocumentToTop(&self, pddt: P0) -> ::windows_core::Result<()> @@ -2558,25 +1884,9 @@ impl IApplicationDebuggerUI { } } ::windows_core::imp::interface_hierarchy!(IApplicationDebuggerUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationDebuggerUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDebuggerUI {} -impl ::core::fmt::Debug for IApplicationDebuggerUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDebuggerUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDebuggerUI { type Vtable = IApplicationDebuggerUI_Vtbl; } -impl ::core::clone::Clone for IApplicationDebuggerUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDebuggerUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2b_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -2589,6 +1899,7 @@ pub struct IApplicationDebuggerUI_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindEventHandler(::windows_core::IUnknown); impl IBindEventHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2602,25 +1913,9 @@ impl IBindEventHandler { } } ::windows_core::imp::interface_hierarchy!(IBindEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindEventHandler {} -impl ::core::fmt::Debug for IBindEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindEventHandler { type Vtable = IBindEventHandler_Vtbl; } -impl ::core::clone::Clone for IBindEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63cdbcb0_c1b1_11d0_9336_00a0c90dcaa9); } @@ -2635,6 +1930,7 @@ pub struct IBindEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplication11032(::windows_core::IUnknown); impl IDebugApplication11032 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> ::windows_core::Result<()> { @@ -2668,25 +1964,9 @@ impl IDebugApplication11032 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplication11032, ::windows_core::IUnknown, IRemoteDebugApplication110); -impl ::core::cmp::PartialEq for IDebugApplication11032 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplication11032 {} -impl ::core::fmt::Debug for IDebugApplication11032 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplication11032").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplication11032 { type Vtable = IDebugApplication11032_Vtbl; } -impl ::core::clone::Clone for IDebugApplication11032 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplication11032 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbdb3b5de_89f2_4e11_84a5_97445f941c7d); } @@ -2703,6 +1983,7 @@ pub struct IDebugApplication11032_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplication11064(::windows_core::IUnknown); impl IDebugApplication11064 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> ::windows_core::Result<()> { @@ -2736,25 +2017,9 @@ impl IDebugApplication11064 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplication11064, ::windows_core::IUnknown, IRemoteDebugApplication110); -impl ::core::cmp::PartialEq for IDebugApplication11064 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplication11064 {} -impl ::core::fmt::Debug for IDebugApplication11064 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplication11064").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplication11064 { type Vtable = IDebugApplication11064_Vtbl; } -impl ::core::clone::Clone for IDebugApplication11064 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplication11064 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2039d958_4eeb_496a_87bb_2e5201eadeef); } @@ -2771,6 +2036,7 @@ pub struct IDebugApplication11064_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplication32(::windows_core::IUnknown); impl IDebugApplication32 { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> ::windows_core::Result<()> @@ -2920,25 +2186,9 @@ impl IDebugApplication32 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplication32, ::windows_core::IUnknown, IRemoteDebugApplication); -impl ::core::cmp::PartialEq for IDebugApplication32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplication32 {} -impl ::core::fmt::Debug for IDebugApplication32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplication32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplication32 { type Vtable = IDebugApplication32_Vtbl; } -impl ::core::clone::Clone for IDebugApplication32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplication32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c32_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -2978,6 +2228,7 @@ pub struct IDebugApplication32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplication64(::windows_core::IUnknown); impl IDebugApplication64 { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> ::windows_core::Result<()> @@ -3127,25 +2378,9 @@ impl IDebugApplication64 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplication64, ::windows_core::IUnknown, IRemoteDebugApplication); -impl ::core::cmp::PartialEq for IDebugApplication64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplication64 {} -impl ::core::fmt::Debug for IDebugApplication64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplication64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplication64 { type Vtable = IDebugApplication64_Vtbl; } -impl ::core::clone::Clone for IDebugApplication64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplication64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4dedc754_04c7_4f10_9e60_16a390fe6e62); } @@ -3185,6 +2420,7 @@ pub struct IDebugApplication64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationNode(::windows_core::IUnknown); impl IDebugApplicationNode { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3227,25 +2463,9 @@ impl IDebugApplicationNode { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationNode, ::windows_core::IUnknown, IDebugDocumentInfo, IDebugDocumentProvider); -impl ::core::cmp::PartialEq for IDebugApplicationNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationNode {} -impl ::core::fmt::Debug for IDebugApplicationNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationNode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationNode { type Vtable = IDebugApplicationNode_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c34_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3262,6 +2482,7 @@ pub struct IDebugApplicationNode_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationNode100(::windows_core::IUnknown); impl IDebugApplicationNode100 { pub unsafe fn SetFilterForEventSink(&self, dwcookie: u32, filter: APPLICATION_NODE_EVENT_FILTER) -> ::windows_core::Result<()> { @@ -3279,25 +2500,9 @@ impl IDebugApplicationNode100 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationNode100, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugApplicationNode100 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationNode100 {} -impl ::core::fmt::Debug for IDebugApplicationNode100 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationNode100").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationNode100 { type Vtable = IDebugApplicationNode100_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationNode100 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationNode100 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90a7734e_841b_4f77_9384_a2891e76e7e2); } @@ -3311,6 +2516,7 @@ pub struct IDebugApplicationNode100_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationNodeEvents(::windows_core::IUnknown); impl IDebugApplicationNodeEvents { pub unsafe fn onAddChild(&self, prddpchild: P0) -> ::windows_core::Result<()> @@ -3336,25 +2542,9 @@ impl IDebugApplicationNodeEvents { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationNodeEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugApplicationNodeEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationNodeEvents {} -impl ::core::fmt::Debug for IDebugApplicationNodeEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationNodeEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationNodeEvents { type Vtable = IDebugApplicationNodeEvents_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationNodeEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationNodeEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c35_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3369,6 +2559,7 @@ pub struct IDebugApplicationNodeEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationThread(::windows_core::IUnknown); impl IDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> ::windows_core::Result { @@ -3435,25 +2626,9 @@ impl IDebugApplicationThread { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationThread, ::windows_core::IUnknown, IRemoteDebugApplicationThread); -impl ::core::cmp::PartialEq for IDebugApplicationThread { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationThread {} -impl ::core::fmt::Debug for IDebugApplicationThread { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationThread").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationThread { type Vtable = IDebugApplicationThread_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationThread { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationThread { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c38_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3469,6 +2644,7 @@ pub struct IDebugApplicationThread_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationThread11032(::windows_core::IUnknown); impl IDebugApplicationThread11032 { pub unsafe fn GetActiveThreadRequestCount(&self) -> ::windows_core::Result { @@ -3495,25 +2671,9 @@ impl IDebugApplicationThread11032 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationThread11032, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugApplicationThread11032 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationThread11032 {} -impl ::core::fmt::Debug for IDebugApplicationThread11032 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationThread11032").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationThread11032 { type Vtable = IDebugApplicationThread11032_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationThread11032 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationThread11032 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2194ac5c_6561_404a_a2e9_f57d72de3702); } @@ -3534,6 +2694,7 @@ pub struct IDebugApplicationThread11032_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationThread11064(::windows_core::IUnknown); impl IDebugApplicationThread11064 { pub unsafe fn GetActiveThreadRequestCount(&self) -> ::windows_core::Result { @@ -3560,24 +2721,8 @@ impl IDebugApplicationThread11064 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationThread11064, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugApplicationThread11064 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationThread11064 {} -impl ::core::fmt::Debug for IDebugApplicationThread11064 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationThread11064").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IDebugApplicationThread11064 { - type Vtable = IDebugApplicationThread11064_Vtbl; -} -impl ::core::clone::Clone for IDebugApplicationThread11064 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IDebugApplicationThread11064 { + type Vtable = IDebugApplicationThread11064_Vtbl; } unsafe impl ::windows_core::ComInterface for IDebugApplicationThread11064 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x420aa4cc_efd8_4dac_983b_47127826917d); @@ -3599,6 +2744,7 @@ pub struct IDebugApplicationThread11064_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationThread64(::windows_core::IUnknown); impl IDebugApplicationThread64 { pub unsafe fn GetSystemThreadId(&self) -> ::windows_core::Result { @@ -3671,25 +2817,9 @@ impl IDebugApplicationThread64 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationThread64, ::windows_core::IUnknown, IRemoteDebugApplicationThread, IDebugApplicationThread); -impl ::core::cmp::PartialEq for IDebugApplicationThread64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationThread64 {} -impl ::core::fmt::Debug for IDebugApplicationThread64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationThread64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationThread64 { type Vtable = IDebugApplicationThread64_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationThread64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationThread64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9dac5886_dbad_456d_9dee_5dec39ab3dda); } @@ -3701,6 +2831,7 @@ pub struct IDebugApplicationThread64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugApplicationThreadEvents110(::windows_core::IUnknown); impl IDebugApplicationThreadEvents110 { pub unsafe fn OnSuspendForBreakPoint(&self) -> ::windows_core::Result<()> { @@ -3717,25 +2848,9 @@ impl IDebugApplicationThreadEvents110 { } } ::windows_core::imp::interface_hierarchy!(IDebugApplicationThreadEvents110, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugApplicationThreadEvents110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugApplicationThreadEvents110 {} -impl ::core::fmt::Debug for IDebugApplicationThreadEvents110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugApplicationThreadEvents110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugApplicationThreadEvents110 { type Vtable = IDebugApplicationThreadEvents110_Vtbl; } -impl ::core::clone::Clone for IDebugApplicationThreadEvents110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugApplicationThreadEvents110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84e5e468_d5da_48a8_83f4_40366429007b); } @@ -3750,6 +2865,7 @@ pub struct IDebugApplicationThreadEvents110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAsyncOperation(::windows_core::IUnknown); impl IDebugAsyncOperation { pub unsafe fn GetSyncDebugOperation(&self) -> ::windows_core::Result { @@ -3773,25 +2889,9 @@ impl IDebugAsyncOperation { } } ::windows_core::imp::interface_hierarchy!(IDebugAsyncOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAsyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAsyncOperation {} -impl ::core::fmt::Debug for IDebugAsyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAsyncOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAsyncOperation { type Vtable = IDebugAsyncOperation_Vtbl; } -impl ::core::clone::Clone for IDebugAsyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAsyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1b_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3807,6 +2907,7 @@ pub struct IDebugAsyncOperation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAsyncOperationCallBack(::windows_core::IUnknown); impl IDebugAsyncOperationCallBack { pub unsafe fn onComplete(&self) -> ::windows_core::Result<()> { @@ -3814,25 +2915,9 @@ impl IDebugAsyncOperationCallBack { } } ::windows_core::imp::interface_hierarchy!(IDebugAsyncOperationCallBack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAsyncOperationCallBack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAsyncOperationCallBack {} -impl ::core::fmt::Debug for IDebugAsyncOperationCallBack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAsyncOperationCallBack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAsyncOperationCallBack { type Vtable = IDebugAsyncOperationCallBack_Vtbl; } -impl ::core::clone::Clone for IDebugAsyncOperationCallBack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAsyncOperationCallBack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1c_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3844,6 +2929,7 @@ pub struct IDebugAsyncOperationCallBack_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugCodeContext(::windows_core::IUnknown); impl IDebugCodeContext { pub unsafe fn GetDocumentContext(&self) -> ::windows_core::Result { @@ -3855,25 +2941,9 @@ impl IDebugCodeContext { } } ::windows_core::imp::interface_hierarchy!(IDebugCodeContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugCodeContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugCodeContext {} -impl ::core::fmt::Debug for IDebugCodeContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugCodeContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugCodeContext { type Vtable = IDebugCodeContext_Vtbl; } -impl ::core::clone::Clone for IDebugCodeContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugCodeContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c13_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3886,6 +2956,7 @@ pub struct IDebugCodeContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugCookie(::windows_core::IUnknown); impl IDebugCookie { pub unsafe fn SetDebugCookie(&self, dwdebugappcookie: u32) -> ::windows_core::Result<()> { @@ -3893,25 +2964,9 @@ impl IDebugCookie { } } ::windows_core::imp::interface_hierarchy!(IDebugCookie, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugCookie {} -impl ::core::fmt::Debug for IDebugCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugCookie { type Vtable = IDebugCookie_Vtbl; } -impl ::core::clone::Clone for IDebugCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c39_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3923,6 +2978,7 @@ pub struct IDebugCookie_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocument(::windows_core::IUnknown); impl IDebugDocument { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3935,25 +2991,9 @@ impl IDebugDocument { } } ::windows_core::imp::interface_hierarchy!(IDebugDocument, ::windows_core::IUnknown, IDebugDocumentInfo); -impl ::core::cmp::PartialEq for IDebugDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocument {} -impl ::core::fmt::Debug for IDebugDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocument { type Vtable = IDebugDocument_Vtbl; } -impl ::core::clone::Clone for IDebugDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c21_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3964,6 +3004,7 @@ pub struct IDebugDocument_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentContext(::windows_core::IUnknown); impl IDebugDocumentContext { pub unsafe fn GetDocument(&self) -> ::windows_core::Result { @@ -3976,25 +3017,9 @@ impl IDebugDocumentContext { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentContext {} -impl ::core::fmt::Debug for IDebugDocumentContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentContext { type Vtable = IDebugDocumentContext_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c28_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4007,6 +3032,7 @@ pub struct IDebugDocumentContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentHelper32(::windows_core::IUnknown); impl IDebugDocumentHelper32 { pub unsafe fn Init(&self, pda: P0, pszshortname: P1, pszlongname: P2, docattr: u32) -> ::windows_core::Result<()> @@ -4100,25 +3126,9 @@ impl IDebugDocumentHelper32 { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentHelper32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentHelper32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentHelper32 {} -impl ::core::fmt::Debug for IDebugDocumentHelper32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentHelper32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentHelper32 { type Vtable = IDebugDocumentHelper32_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentHelper32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentHelper32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c26_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4150,6 +3160,7 @@ pub struct IDebugDocumentHelper32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentHelper64(::windows_core::IUnknown); impl IDebugDocumentHelper64 { pub unsafe fn Init(&self, pda: P0, pszshortname: P1, pszlongname: P2, docattr: u32) -> ::windows_core::Result<()> @@ -4243,25 +3254,9 @@ impl IDebugDocumentHelper64 { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentHelper64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentHelper64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentHelper64 {} -impl ::core::fmt::Debug for IDebugDocumentHelper64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentHelper64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentHelper64 { type Vtable = IDebugDocumentHelper64_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentHelper64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentHelper64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4c7363c_20fd_47f9_bd82_4855e0150871); } @@ -4293,6 +3288,7 @@ pub struct IDebugDocumentHelper64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentHost(::windows_core::IUnknown); impl IDebugDocumentHost { pub unsafe fn GetDeferredText(&self, dwtextstartcookie: u32, pchartext: ::windows_core::PWSTR, pstatextattr: *mut u16, pcnumchars: *mut u32, cmaxchars: u32) -> ::windows_core::Result<()> { @@ -4323,25 +3319,9 @@ impl IDebugDocumentHost { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentHost {} -impl ::core::fmt::Debug for IDebugDocumentHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentHost { type Vtable = IDebugDocumentHost_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c27_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4361,6 +3341,7 @@ pub struct IDebugDocumentHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentInfo(::windows_core::IUnknown); impl IDebugDocumentInfo { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4373,25 +3354,9 @@ impl IDebugDocumentInfo { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentInfo {} -impl ::core::fmt::Debug for IDebugDocumentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentInfo { type Vtable = IDebugDocumentInfo_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1f_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4404,6 +3369,7 @@ pub struct IDebugDocumentInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentProvider(::windows_core::IUnknown); impl IDebugDocumentProvider { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4420,25 +3386,9 @@ impl IDebugDocumentProvider { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentProvider, ::windows_core::IUnknown, IDebugDocumentInfo); -impl ::core::cmp::PartialEq for IDebugDocumentProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentProvider {} -impl ::core::fmt::Debug for IDebugDocumentProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentProvider { type Vtable = IDebugDocumentProvider_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c20_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4450,6 +3400,7 @@ pub struct IDebugDocumentProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentText(::windows_core::IUnknown); impl IDebugDocumentText { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4489,25 +3440,9 @@ impl IDebugDocumentText { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentText, ::windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument); -impl ::core::cmp::PartialEq for IDebugDocumentText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentText {} -impl ::core::fmt::Debug for IDebugDocumentText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentText { type Vtable = IDebugDocumentText_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c22_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4525,6 +3460,7 @@ pub struct IDebugDocumentText_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentTextAuthor(::windows_core::IUnknown); impl IDebugDocumentTextAuthor { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4573,25 +3509,9 @@ impl IDebugDocumentTextAuthor { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentTextAuthor, ::windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument, IDebugDocumentText); -impl ::core::cmp::PartialEq for IDebugDocumentTextAuthor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentTextAuthor {} -impl ::core::fmt::Debug for IDebugDocumentTextAuthor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentTextAuthor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentTextAuthor { type Vtable = IDebugDocumentTextAuthor_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentTextAuthor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentTextAuthor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c24_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4605,6 +3525,7 @@ pub struct IDebugDocumentTextAuthor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentTextEvents(::windows_core::IUnknown); impl IDebugDocumentTextEvents { pub unsafe fn onDestroy(&self) -> ::windows_core::Result<()> { @@ -4627,25 +3548,9 @@ impl IDebugDocumentTextEvents { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentTextEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentTextEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentTextEvents {} -impl ::core::fmt::Debug for IDebugDocumentTextEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentTextEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentTextEvents { type Vtable = IDebugDocumentTextEvents_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentTextEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentTextEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c23_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4662,6 +3567,7 @@ pub struct IDebugDocumentTextEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDocumentTextExternalAuthor(::windows_core::IUnknown); impl IDebugDocumentTextExternalAuthor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4678,25 +3584,9 @@ impl IDebugDocumentTextExternalAuthor { } } ::windows_core::imp::interface_hierarchy!(IDebugDocumentTextExternalAuthor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDocumentTextExternalAuthor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDocumentTextExternalAuthor {} -impl ::core::fmt::Debug for IDebugDocumentTextExternalAuthor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDocumentTextExternalAuthor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDocumentTextExternalAuthor { type Vtable = IDebugDocumentTextExternalAuthor_Vtbl; } -impl ::core::clone::Clone for IDebugDocumentTextExternalAuthor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDocumentTextExternalAuthor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c25_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4713,6 +3603,7 @@ pub struct IDebugDocumentTextExternalAuthor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugExpression(::windows_core::IUnknown); impl IDebugExpression { pub unsafe fn Start(&self, pdecb: P0) -> ::windows_core::Result<()> @@ -4735,25 +3626,9 @@ impl IDebugExpression { } } ::windows_core::imp::interface_hierarchy!(IDebugExpression, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugExpression { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugExpression {} -impl ::core::fmt::Debug for IDebugExpression { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugExpression").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugExpression { type Vtable = IDebugExpression_Vtbl; } -impl ::core::clone::Clone for IDebugExpression { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugExpression { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c14_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4769,6 +3644,7 @@ pub struct IDebugExpression_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugExpressionCallBack(::windows_core::IUnknown); impl IDebugExpressionCallBack { pub unsafe fn onComplete(&self) -> ::windows_core::Result<()> { @@ -4776,25 +3652,9 @@ impl IDebugExpressionCallBack { } } ::windows_core::imp::interface_hierarchy!(IDebugExpressionCallBack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugExpressionCallBack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugExpressionCallBack {} -impl ::core::fmt::Debug for IDebugExpressionCallBack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugExpressionCallBack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugExpressionCallBack { type Vtable = IDebugExpressionCallBack_Vtbl; } -impl ::core::clone::Clone for IDebugExpressionCallBack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugExpressionCallBack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c16_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4806,6 +3666,7 @@ pub struct IDebugExpressionCallBack_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugExpressionContext(::windows_core::IUnknown); impl IDebugExpressionContext { pub unsafe fn ParseLanguageText(&self, pstrcode: P0, nradix: u32, pstrdelimiter: P1, dwflags: u32) -> ::windows_core::Result @@ -4821,25 +3682,9 @@ impl IDebugExpressionContext { } } ::windows_core::imp::interface_hierarchy!(IDebugExpressionContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugExpressionContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugExpressionContext {} -impl ::core::fmt::Debug for IDebugExpressionContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugExpressionContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugExpressionContext { type Vtable = IDebugExpressionContext_Vtbl; } -impl ::core::clone::Clone for IDebugExpressionContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugExpressionContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c15_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4852,6 +3697,7 @@ pub struct IDebugExpressionContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugFormatter(::windows_core::IUnknown); impl IDebugFormatter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4877,25 +3723,9 @@ impl IDebugFormatter { } } ::windows_core::imp::interface_hierarchy!(IDebugFormatter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugFormatter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugFormatter {} -impl ::core::fmt::Debug for IDebugFormatter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugFormatter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugFormatter { type Vtable = IDebugFormatter_Vtbl; } -impl ::core::clone::Clone for IDebugFormatter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugFormatter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c05_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4918,6 +3748,7 @@ pub struct IDebugFormatter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHelper(::windows_core::IUnknown); impl IDebugHelper { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4952,25 +3783,9 @@ impl IDebugHelper { } } ::windows_core::imp::interface_hierarchy!(IDebugHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHelper {} -impl ::core::fmt::Debug for IDebugHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHelper { type Vtable = IDebugHelper_Vtbl; } -impl ::core::clone::Clone for IDebugHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c3f_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -4993,6 +3808,7 @@ pub struct IDebugHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSessionProvider(::windows_core::IUnknown); impl IDebugSessionProvider { pub unsafe fn StartDebugSession(&self, pda: P0) -> ::windows_core::Result<()> @@ -5003,25 +3819,9 @@ impl IDebugSessionProvider { } } ::windows_core::imp::interface_hierarchy!(IDebugSessionProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSessionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSessionProvider {} -impl ::core::fmt::Debug for IDebugSessionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSessionProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSessionProvider { type Vtable = IDebugSessionProvider_Vtbl; } -impl ::core::clone::Clone for IDebugSessionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSessionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c29_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5033,6 +3833,7 @@ pub struct IDebugSessionProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugStackFrame(::windows_core::IUnknown); impl IDebugStackFrame { pub unsafe fn GetCodeContext(&self) -> ::windows_core::Result { @@ -5067,25 +3868,9 @@ impl IDebugStackFrame { } } ::windows_core::imp::interface_hierarchy!(IDebugStackFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugStackFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugStackFrame {} -impl ::core::fmt::Debug for IDebugStackFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugStackFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugStackFrame { type Vtable = IDebugStackFrame_Vtbl; } -impl ::core::clone::Clone for IDebugStackFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugStackFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c17_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5107,6 +3892,7 @@ pub struct IDebugStackFrame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugStackFrame110(::windows_core::IUnknown); impl IDebugStackFrame110 { pub unsafe fn GetCodeContext(&self) -> ::windows_core::Result { @@ -5149,25 +3935,9 @@ impl IDebugStackFrame110 { } } ::windows_core::imp::interface_hierarchy!(IDebugStackFrame110, ::windows_core::IUnknown, IDebugStackFrame); -impl ::core::cmp::PartialEq for IDebugStackFrame110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugStackFrame110 {} -impl ::core::fmt::Debug for IDebugStackFrame110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugStackFrame110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugStackFrame110 { type Vtable = IDebugStackFrame110_Vtbl; } -impl ::core::clone::Clone for IDebugStackFrame110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugStackFrame110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b509611_b6ea_4b24_adcb_d0ccfd1a7e33); } @@ -5180,6 +3950,7 @@ pub struct IDebugStackFrame110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugStackFrameSniffer(::windows_core::IUnknown); impl IDebugStackFrameSniffer { pub unsafe fn EnumStackFrames(&self) -> ::windows_core::Result { @@ -5188,25 +3959,9 @@ impl IDebugStackFrameSniffer { } } ::windows_core::imp::interface_hierarchy!(IDebugStackFrameSniffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugStackFrameSniffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugStackFrameSniffer {} -impl ::core::fmt::Debug for IDebugStackFrameSniffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugStackFrameSniffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugStackFrameSniffer { type Vtable = IDebugStackFrameSniffer_Vtbl; } -impl ::core::clone::Clone for IDebugStackFrameSniffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugStackFrameSniffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c18_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5218,6 +3973,7 @@ pub struct IDebugStackFrameSniffer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugStackFrameSnifferEx32(::windows_core::IUnknown); impl IDebugStackFrameSnifferEx32 { pub unsafe fn EnumStackFrames(&self) -> ::windows_core::Result { @@ -5230,25 +3986,9 @@ impl IDebugStackFrameSnifferEx32 { } } ::windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx32, ::windows_core::IUnknown, IDebugStackFrameSniffer); -impl ::core::cmp::PartialEq for IDebugStackFrameSnifferEx32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugStackFrameSnifferEx32 {} -impl ::core::fmt::Debug for IDebugStackFrameSnifferEx32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugStackFrameSnifferEx32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugStackFrameSnifferEx32 { type Vtable = IDebugStackFrameSnifferEx32_Vtbl; } -impl ::core::clone::Clone for IDebugStackFrameSnifferEx32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugStackFrameSnifferEx32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c19_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5260,6 +4000,7 @@ pub struct IDebugStackFrameSnifferEx32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugStackFrameSnifferEx64(::windows_core::IUnknown); impl IDebugStackFrameSnifferEx64 { pub unsafe fn EnumStackFrames(&self) -> ::windows_core::Result { @@ -5272,25 +4013,9 @@ impl IDebugStackFrameSnifferEx64 { } } ::windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx64, ::windows_core::IUnknown, IDebugStackFrameSniffer); -impl ::core::cmp::PartialEq for IDebugStackFrameSnifferEx64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugStackFrameSnifferEx64 {} -impl ::core::fmt::Debug for IDebugStackFrameSnifferEx64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugStackFrameSnifferEx64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugStackFrameSnifferEx64 { type Vtable = IDebugStackFrameSnifferEx64_Vtbl; } -impl ::core::clone::Clone for IDebugStackFrameSnifferEx64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugStackFrameSnifferEx64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cd12af4_49c1_4d52_8d8a_c146f47581aa); } @@ -5302,6 +4027,7 @@ pub struct IDebugStackFrameSnifferEx64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSyncOperation(::windows_core::IUnknown); impl IDebugSyncOperation { pub unsafe fn GetTargetThread(&self) -> ::windows_core::Result { @@ -5317,25 +4043,9 @@ impl IDebugSyncOperation { } } ::windows_core::imp::interface_hierarchy!(IDebugSyncOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSyncOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSyncOperation {} -impl ::core::fmt::Debug for IDebugSyncOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSyncOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSyncOperation { type Vtable = IDebugSyncOperation_Vtbl; } -impl ::core::clone::Clone for IDebugSyncOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSyncOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1a_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5349,6 +4059,7 @@ pub struct IDebugSyncOperation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugThreadCall32(::windows_core::IUnknown); impl IDebugThreadCall32 { pub unsafe fn ThreadCallHandler(&self, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> ::windows_core::Result<()> { @@ -5356,25 +4067,9 @@ impl IDebugThreadCall32 { } } ::windows_core::imp::interface_hierarchy!(IDebugThreadCall32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugThreadCall32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugThreadCall32 {} -impl ::core::fmt::Debug for IDebugThreadCall32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugThreadCall32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugThreadCall32 { type Vtable = IDebugThreadCall32_Vtbl; } -impl ::core::clone::Clone for IDebugThreadCall32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugThreadCall32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c36_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5386,6 +4081,7 @@ pub struct IDebugThreadCall32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugThreadCall64(::windows_core::IUnknown); impl IDebugThreadCall64 { pub unsafe fn ThreadCallHandler(&self, dwparam1: u64, dwparam2: u64, dwparam3: u64) -> ::windows_core::Result<()> { @@ -5393,25 +4089,9 @@ impl IDebugThreadCall64 { } } ::windows_core::imp::interface_hierarchy!(IDebugThreadCall64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugThreadCall64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugThreadCall64 {} -impl ::core::fmt::Debug for IDebugThreadCall64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugThreadCall64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugThreadCall64 { type Vtable = IDebugThreadCall64_Vtbl; } -impl ::core::clone::Clone for IDebugThreadCall64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugThreadCall64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb3fa335_e979_42fd_9fcf_a7546a0f3905); } @@ -5423,6 +4103,7 @@ pub struct IDebugThreadCall64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugApplicationNodes(::windows_core::IUnknown); impl IEnumDebugApplicationNodes { pub unsafe fn Next(&self, celt: u32, pprddp: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5440,25 +4121,9 @@ impl IEnumDebugApplicationNodes { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugApplicationNodes, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugApplicationNodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugApplicationNodes {} -impl ::core::fmt::Debug for IEnumDebugApplicationNodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugApplicationNodes").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugApplicationNodes { type Vtable = IEnumDebugApplicationNodes_Vtbl; } -impl ::core::clone::Clone for IEnumDebugApplicationNodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugApplicationNodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c3a_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5473,6 +4138,7 @@ pub struct IEnumDebugApplicationNodes_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugCodeContexts(::windows_core::IUnknown); impl IEnumDebugCodeContexts { pub unsafe fn Next(&self, celt: u32, pscc: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5490,25 +4156,9 @@ impl IEnumDebugCodeContexts { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugCodeContexts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugCodeContexts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugCodeContexts {} -impl ::core::fmt::Debug for IEnumDebugCodeContexts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugCodeContexts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugCodeContexts { type Vtable = IEnumDebugCodeContexts_Vtbl; } -impl ::core::clone::Clone for IEnumDebugCodeContexts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugCodeContexts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1d_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5523,6 +4173,7 @@ pub struct IEnumDebugCodeContexts_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugExpressionContexts(::windows_core::IUnknown); impl IEnumDebugExpressionContexts { pub unsafe fn Next(&self, celt: u32, ppdec: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5540,25 +4191,9 @@ impl IEnumDebugExpressionContexts { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugExpressionContexts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugExpressionContexts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugExpressionContexts {} -impl ::core::fmt::Debug for IEnumDebugExpressionContexts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugExpressionContexts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugExpressionContexts { type Vtable = IEnumDebugExpressionContexts_Vtbl; } -impl ::core::clone::Clone for IEnumDebugExpressionContexts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugExpressionContexts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c40_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5573,6 +4208,7 @@ pub struct IEnumDebugExpressionContexts_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugStackFrames(::windows_core::IUnknown); impl IEnumDebugStackFrames { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5592,25 +4228,9 @@ impl IEnumDebugStackFrames { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugStackFrames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugStackFrames {} -impl ::core::fmt::Debug for IEnumDebugStackFrames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugStackFrames").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugStackFrames { type Vtable = IEnumDebugStackFrames_Vtbl; } -impl ::core::clone::Clone for IEnumDebugStackFrames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugStackFrames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c1e_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5628,6 +4248,7 @@ pub struct IEnumDebugStackFrames_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugStackFrames64(::windows_core::IUnknown); impl IEnumDebugStackFrames64 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5652,25 +4273,9 @@ impl IEnumDebugStackFrames64 { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames64, ::windows_core::IUnknown, IEnumDebugStackFrames); -impl ::core::cmp::PartialEq for IEnumDebugStackFrames64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugStackFrames64 {} -impl ::core::fmt::Debug for IEnumDebugStackFrames64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugStackFrames64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugStackFrames64 { type Vtable = IEnumDebugStackFrames64_Vtbl; } -impl ::core::clone::Clone for IEnumDebugStackFrames64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugStackFrames64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dc38853_c1b0_4176_a984_b298361027af); } @@ -5685,6 +4290,7 @@ pub struct IEnumDebugStackFrames64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumJsStackFrames(::windows_core::IUnknown); impl IEnumJsStackFrames { pub unsafe fn Next(&self, pframes: &mut [JS_NATIVE_FRAME], pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5695,25 +4301,9 @@ impl IEnumJsStackFrames { } } ::windows_core::imp::interface_hierarchy!(IEnumJsStackFrames, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumJsStackFrames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumJsStackFrames {} -impl ::core::fmt::Debug for IEnumJsStackFrames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumJsStackFrames").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumJsStackFrames { type Vtable = IEnumJsStackFrames_Vtbl; } -impl ::core::clone::Clone for IEnumJsStackFrames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumJsStackFrames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e7da34b_fb51_4791_abe7_cb5bdf419755); } @@ -5726,6 +4316,7 @@ pub struct IEnumJsStackFrames_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRemoteDebugApplicationThreads(::windows_core::IUnknown); impl IEnumRemoteDebugApplicationThreads { pub unsafe fn Next(&self, celt: u32, pprdat: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5743,25 +4334,9 @@ impl IEnumRemoteDebugApplicationThreads { } } ::windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplicationThreads, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRemoteDebugApplicationThreads { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRemoteDebugApplicationThreads {} -impl ::core::fmt::Debug for IEnumRemoteDebugApplicationThreads { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRemoteDebugApplicationThreads").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRemoteDebugApplicationThreads { type Vtable = IEnumRemoteDebugApplicationThreads_Vtbl; } -impl ::core::clone::Clone for IEnumRemoteDebugApplicationThreads { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRemoteDebugApplicationThreads { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c3c_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5776,6 +4351,7 @@ pub struct IEnumRemoteDebugApplicationThreads_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRemoteDebugApplications(::windows_core::IUnknown); impl IEnumRemoteDebugApplications { pub unsafe fn Next(&self, celt: u32, ppda: *mut ::core::option::Option, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5792,26 +4368,10 @@ impl IEnumRemoteDebugApplications { (::windows_core::Interface::vtable(self).Clone)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } -::windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplications, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRemoteDebugApplications { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRemoteDebugApplications {} -impl ::core::fmt::Debug for IEnumRemoteDebugApplications { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRemoteDebugApplications").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplications, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IEnumRemoteDebugApplications { type Vtable = IEnumRemoteDebugApplications_Vtbl; } -impl ::core::clone::Clone for IEnumRemoteDebugApplications { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRemoteDebugApplications { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c3b_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -5826,6 +4386,7 @@ pub struct IEnumRemoteDebugApplications_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebug(::windows_core::IUnknown); impl IJsDebug { pub unsafe fn OpenVirtualProcess(&self, processid: u32, runtimejsbaseaddress: u64, pdatatarget: P0) -> ::windows_core::Result @@ -5837,25 +4398,9 @@ impl IJsDebug { } } ::windows_core::imp::interface_hierarchy!(IJsDebug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebug {} -impl ::core::fmt::Debug for IJsDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebug { type Vtable = IJsDebug_Vtbl; } -impl ::core::clone::Clone for IJsDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe0e89da_2ac5_4c04_ac5e_59956aae3613); } @@ -5867,6 +4412,7 @@ pub struct IJsDebug_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugBreakPoint(::windows_core::IUnknown); impl IJsDebugBreakPoint { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5889,25 +4435,9 @@ impl IJsDebugBreakPoint { } } ::windows_core::imp::interface_hierarchy!(IJsDebugBreakPoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugBreakPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugBreakPoint {} -impl ::core::fmt::Debug for IJsDebugBreakPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugBreakPoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugBreakPoint { type Vtable = IJsDebugBreakPoint_Vtbl; } -impl ::core::clone::Clone for IJsDebugBreakPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugBreakPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf6773e3_ed8d_488b_8a3e_5812577d1542); } @@ -5926,6 +4456,7 @@ pub struct IJsDebugBreakPoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugDataTarget(::windows_core::IUnknown); impl IJsDebugDataTarget { pub unsafe fn ReadMemory(&self, address: u64, flags: JsDebugReadMemoryFlags, pbuffer: &mut [u8], pbytesread: *mut u32) -> ::windows_core::Result<()> { @@ -5962,25 +4493,9 @@ impl IJsDebugDataTarget { } } ::windows_core::imp::interface_hierarchy!(IJsDebugDataTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugDataTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugDataTarget {} -impl ::core::fmt::Debug for IJsDebugDataTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugDataTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugDataTarget { type Vtable = IJsDebugDataTarget_Vtbl; } -impl ::core::clone::Clone for IJsDebugDataTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugDataTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53b28977_53a1_48e5_9000_5d0dfa893931); } @@ -6000,6 +4515,7 @@ pub struct IJsDebugDataTarget_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugFrame(::windows_core::IUnknown); impl IJsDebugFrame { pub unsafe fn GetStackRange(&self, pstart: *mut u64, pend: *mut u64) -> ::windows_core::Result<()> { @@ -6031,25 +4547,9 @@ impl IJsDebugFrame { } } ::windows_core::imp::interface_hierarchy!(IJsDebugFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugFrame {} -impl ::core::fmt::Debug for IJsDebugFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugFrame { type Vtable = IJsDebugFrame_Vtbl; } -impl ::core::clone::Clone for IJsDebugFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9196637_ab9d_44b2_bad2_13b95b3f390e); } @@ -6067,6 +4567,7 @@ pub struct IJsDebugFrame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugProcess(::windows_core::IUnknown); impl IJsDebugProcess { pub unsafe fn CreateStackWalker(&self, threadid: u32) -> ::windows_core::Result { @@ -6091,25 +4592,9 @@ impl IJsDebugProcess { } } ::windows_core::imp::interface_hierarchy!(IJsDebugProcess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugProcess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugProcess {} -impl ::core::fmt::Debug for IJsDebugProcess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugProcess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugProcess { type Vtable = IJsDebugProcess_Vtbl; } -impl ::core::clone::Clone for IJsDebugProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugProcess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d587168_6a2d_4041_bd3b_0de674502862); } @@ -6127,6 +4612,7 @@ pub struct IJsDebugProcess_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugProperty(::windows_core::IUnknown); impl IJsDebugProperty { pub unsafe fn GetPropertyInfo(&self, nradix: u32, ppropertyinfo: *mut JsDebugPropertyInfo) -> ::windows_core::Result<()> { @@ -6138,25 +4624,9 @@ impl IJsDebugProperty { } } ::windows_core::imp::interface_hierarchy!(IJsDebugProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugProperty {} -impl ::core::fmt::Debug for IJsDebugProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugProperty { type Vtable = IJsDebugProperty_Vtbl; } -impl ::core::clone::Clone for IJsDebugProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8ffcf2b_3aa4_4320_85c3_52a312ba9633); } @@ -6169,6 +4639,7 @@ pub struct IJsDebugProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsDebugStackWalker(::windows_core::IUnknown); impl IJsDebugStackWalker { pub unsafe fn GetNext(&self) -> ::windows_core::Result { @@ -6177,25 +4648,9 @@ impl IJsDebugStackWalker { } } ::windows_core::imp::interface_hierarchy!(IJsDebugStackWalker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsDebugStackWalker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsDebugStackWalker {} -impl ::core::fmt::Debug for IJsDebugStackWalker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsDebugStackWalker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsDebugStackWalker { type Vtable = IJsDebugStackWalker_Vtbl; } -impl ::core::clone::Clone for IJsDebugStackWalker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsDebugStackWalker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb24b094_73c4_456c_a4ec_e90ea00bdfe3); } @@ -6207,6 +4662,7 @@ pub struct IJsDebugStackWalker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IJsEnumDebugProperty(::windows_core::IUnknown); impl IJsEnumDebugProperty { pub unsafe fn Next(&self, ppdebugproperty: &mut [::core::option::Option], pactualcount: *mut u32) -> ::windows_core::Result<()> { @@ -6218,25 +4674,9 @@ impl IJsEnumDebugProperty { } } ::windows_core::imp::interface_hierarchy!(IJsEnumDebugProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IJsEnumDebugProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IJsEnumDebugProperty {} -impl ::core::fmt::Debug for IJsEnumDebugProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IJsEnumDebugProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IJsEnumDebugProperty { type Vtable = IJsEnumDebugProperty_Vtbl; } -impl ::core::clone::Clone for IJsEnumDebugProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IJsEnumDebugProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4092432f_2f0f_4fe1_b638_5b74a52cdcbe); } @@ -6249,6 +4689,7 @@ pub struct IJsEnumDebugProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMachineDebugManager(::windows_core::IUnknown); impl IMachineDebugManager { pub unsafe fn AddApplication(&self, pda: P0) -> ::windows_core::Result @@ -6267,25 +4708,9 @@ impl IMachineDebugManager { } } ::windows_core::imp::interface_hierarchy!(IMachineDebugManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMachineDebugManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMachineDebugManager {} -impl ::core::fmt::Debug for IMachineDebugManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMachineDebugManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMachineDebugManager { type Vtable = IMachineDebugManager_Vtbl; } -impl ::core::clone::Clone for IMachineDebugManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMachineDebugManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2c_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6299,6 +4724,7 @@ pub struct IMachineDebugManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMachineDebugManagerCookie(::windows_core::IUnknown); impl IMachineDebugManagerCookie { pub unsafe fn AddApplication(&self, pda: P0, dwdebugappcookie: u32) -> ::windows_core::Result @@ -6317,25 +4743,9 @@ impl IMachineDebugManagerCookie { } } ::windows_core::imp::interface_hierarchy!(IMachineDebugManagerCookie, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMachineDebugManagerCookie { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMachineDebugManagerCookie {} -impl ::core::fmt::Debug for IMachineDebugManagerCookie { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMachineDebugManagerCookie").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMachineDebugManagerCookie { type Vtable = IMachineDebugManagerCookie_Vtbl; } -impl ::core::clone::Clone for IMachineDebugManagerCookie { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMachineDebugManagerCookie { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2d_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6349,6 +4759,7 @@ pub struct IMachineDebugManagerCookie_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMachineDebugManagerEvents(::windows_core::IUnknown); impl IMachineDebugManagerEvents { pub unsafe fn onAddApplication(&self, pda: P0, dwappcookie: u32) -> ::windows_core::Result<()> @@ -6365,25 +4776,9 @@ impl IMachineDebugManagerEvents { } } ::windows_core::imp::interface_hierarchy!(IMachineDebugManagerEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMachineDebugManagerEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMachineDebugManagerEvents {} -impl ::core::fmt::Debug for IMachineDebugManagerEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMachineDebugManagerEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMachineDebugManagerEvents { type Vtable = IMachineDebugManagerEvents_Vtbl; } -impl ::core::clone::Clone for IMachineDebugManagerEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMachineDebugManagerEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2e_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6396,6 +4791,7 @@ pub struct IMachineDebugManagerEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDebugManager32(::windows_core::IUnknown); impl IProcessDebugManager32 { pub unsafe fn CreateApplication(&self) -> ::windows_core::Result { @@ -6425,25 +4821,9 @@ impl IProcessDebugManager32 { } } ::windows_core::imp::interface_hierarchy!(IProcessDebugManager32, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProcessDebugManager32 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProcessDebugManager32 {} -impl ::core::fmt::Debug for IProcessDebugManager32 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProcessDebugManager32").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProcessDebugManager32 { type Vtable = IProcessDebugManager32_Vtbl; } -impl ::core::clone::Clone for IProcessDebugManager32 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDebugManager32 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c2f_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6459,6 +4839,7 @@ pub struct IProcessDebugManager32_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProcessDebugManager64(::windows_core::IUnknown); impl IProcessDebugManager64 { pub unsafe fn CreateApplication(&self) -> ::windows_core::Result { @@ -6488,25 +4869,9 @@ impl IProcessDebugManager64 { } } ::windows_core::imp::interface_hierarchy!(IProcessDebugManager64, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProcessDebugManager64 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProcessDebugManager64 {} -impl ::core::fmt::Debug for IProcessDebugManager64 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProcessDebugManager64").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProcessDebugManager64 { type Vtable = IProcessDebugManager64_Vtbl; } -impl ::core::clone::Clone for IProcessDebugManager64 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProcessDebugManager64 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56b9fc1c_63a9_4cc1_ac21_087d69a17fab); } @@ -6522,6 +4887,7 @@ pub struct IProcessDebugManager64_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideExpressionContexts(::windows_core::IUnknown); impl IProvideExpressionContexts { pub unsafe fn EnumExpressionContexts(&self) -> ::windows_core::Result { @@ -6530,25 +4896,9 @@ impl IProvideExpressionContexts { } } ::windows_core::imp::interface_hierarchy!(IProvideExpressionContexts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideExpressionContexts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideExpressionContexts {} -impl ::core::fmt::Debug for IProvideExpressionContexts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideExpressionContexts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideExpressionContexts { type Vtable = IProvideExpressionContexts_Vtbl; } -impl ::core::clone::Clone for IProvideExpressionContexts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideExpressionContexts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c41_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6560,6 +4910,7 @@ pub struct IProvideExpressionContexts_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugApplication(::windows_core::IUnknown); impl IRemoteDebugApplication { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> ::windows_core::Result<()> @@ -6612,25 +4963,9 @@ impl IRemoteDebugApplication { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugApplication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugApplication {} -impl ::core::fmt::Debug for IRemoteDebugApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugApplication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugApplication { type Vtable = IRemoteDebugApplication_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c30_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6652,6 +4987,7 @@ pub struct IRemoteDebugApplication_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugApplication110(::windows_core::IUnknown); impl IRemoteDebugApplication110 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> ::windows_core::Result<()> { @@ -6667,25 +5003,9 @@ impl IRemoteDebugApplication110 { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugApplication110, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugApplication110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugApplication110 {} -impl ::core::fmt::Debug for IRemoteDebugApplication110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugApplication110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugApplication110 { type Vtable = IRemoteDebugApplication110_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugApplication110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugApplication110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5fe005b_2836_485e_b1f9_89d91aa24fd4); } @@ -6699,6 +5019,7 @@ pub struct IRemoteDebugApplication110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugApplicationEvents(::windows_core::IUnknown); impl IRemoteDebugApplicationEvents { pub unsafe fn OnConnectDebugger(&self, pad: P0) -> ::windows_core::Result<()> @@ -6757,25 +5078,9 @@ impl IRemoteDebugApplicationEvents { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugApplicationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugApplicationEvents {} -impl ::core::fmt::Debug for IRemoteDebugApplicationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugApplicationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugApplicationEvents { type Vtable = IRemoteDebugApplicationEvents_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugApplicationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugApplicationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c33_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6796,6 +5101,7 @@ pub struct IRemoteDebugApplicationEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugApplicationThread(::windows_core::IUnknown); impl IRemoteDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> ::windows_core::Result { @@ -6838,25 +5144,9 @@ impl IRemoteDebugApplicationThread { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationThread, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugApplicationThread { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugApplicationThread {} -impl ::core::fmt::Debug for IRemoteDebugApplicationThread { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugApplicationThread").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugApplicationThread { type Vtable = IRemoteDebugApplicationThread_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugApplicationThread { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugApplicationThread { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c37_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -6876,6 +5166,7 @@ pub struct IRemoteDebugApplicationThread_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugCriticalErrorEvent110(::windows_core::IUnknown); impl IRemoteDebugCriticalErrorEvent110 { pub unsafe fn GetErrorInfo(&self, pbstrsource: *mut ::windows_core::BSTR, pmessageid: *mut i32, pbstrmessage: *mut ::windows_core::BSTR, pplocation: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -6883,25 +5174,9 @@ impl IRemoteDebugCriticalErrorEvent110 { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugCriticalErrorEvent110, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugCriticalErrorEvent110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugCriticalErrorEvent110 {} -impl ::core::fmt::Debug for IRemoteDebugCriticalErrorEvent110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugCriticalErrorEvent110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugCriticalErrorEvent110 { type Vtable = IRemoteDebugCriticalErrorEvent110_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugCriticalErrorEvent110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugCriticalErrorEvent110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f69c611_6b14_47e8_9260_4bb7c52f504b); } @@ -6913,6 +5188,7 @@ pub struct IRemoteDebugCriticalErrorEvent110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDebugInfoEvent110(::windows_core::IUnknown); impl IRemoteDebugInfoEvent110 { pub unsafe fn GetEventInfo(&self, pmessagetype: *mut DEBUG_EVENT_INFO_TYPE, pbstrmessage: *mut ::windows_core::BSTR, pbstrurl: *mut ::windows_core::BSTR, pplocation: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -6920,25 +5196,9 @@ impl IRemoteDebugInfoEvent110 { } } ::windows_core::imp::interface_hierarchy!(IRemoteDebugInfoEvent110, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteDebugInfoEvent110 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteDebugInfoEvent110 {} -impl ::core::fmt::Debug for IRemoteDebugInfoEvent110 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDebugInfoEvent110").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteDebugInfoEvent110 { type Vtable = IRemoteDebugInfoEvent110_Vtbl; } -impl ::core::clone::Clone for IRemoteDebugInfoEvent110 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteDebugInfoEvent110 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ff56bb6_eb89_4c0f_8823_cc2a4c0b7f26); } @@ -6950,6 +5210,7 @@ pub struct IRemoteDebugInfoEvent110_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScriptEntry(::windows_core::IUnknown); impl IScriptEntry { pub unsafe fn Alive(&self) -> ::windows_core::Result<()> { @@ -7059,25 +5320,9 @@ impl IScriptEntry { } } ::windows_core::imp::interface_hierarchy!(IScriptEntry, ::windows_core::IUnknown, IScriptNode); -impl ::core::cmp::PartialEq for IScriptEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptEntry {} -impl ::core::fmt::Debug for IScriptEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptEntry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScriptEntry { type Vtable = IScriptEntry_Vtbl; } -impl ::core::clone::Clone for IScriptEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScriptEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aee2a95_bcbb_11d0_8c72_00c04fc2b085); } @@ -7105,6 +5350,7 @@ pub struct IScriptEntry_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScriptInvocationContext(::windows_core::IUnknown); impl IScriptInvocationContext { pub unsafe fn GetContextType(&self) -> ::windows_core::Result { @@ -7121,25 +5367,9 @@ impl IScriptInvocationContext { } } ::windows_core::imp::interface_hierarchy!(IScriptInvocationContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScriptInvocationContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptInvocationContext {} -impl ::core::fmt::Debug for IScriptInvocationContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptInvocationContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScriptInvocationContext { type Vtable = IScriptInvocationContext_Vtbl; } -impl ::core::clone::Clone for IScriptInvocationContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScriptInvocationContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d7741b7_af7e_4a2a_85e5_c77f4d0659fb); } @@ -7153,6 +5383,7 @@ pub struct IScriptInvocationContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScriptNode(::windows_core::IUnknown); impl IScriptNode { pub unsafe fn Alive(&self) -> ::windows_core::Result<()> { @@ -7206,25 +5437,9 @@ impl IScriptNode { } } ::windows_core::imp::interface_hierarchy!(IScriptNode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScriptNode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptNode {} -impl ::core::fmt::Debug for IScriptNode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptNode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScriptNode { type Vtable = IScriptNode_Vtbl; } -impl ::core::clone::Clone for IScriptNode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScriptNode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aee2a94_bcbb_11d0_8c72_00c04fc2b085); } @@ -7248,6 +5463,7 @@ pub struct IScriptNode_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScriptScriptlet(::windows_core::IUnknown); impl IScriptScriptlet { pub unsafe fn Alive(&self) -> ::windows_core::Result<()> { @@ -7387,25 +5603,9 @@ impl IScriptScriptlet { } } ::windows_core::imp::interface_hierarchy!(IScriptScriptlet, ::windows_core::IUnknown, IScriptNode, IScriptEntry); -impl ::core::cmp::PartialEq for IScriptScriptlet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScriptScriptlet {} -impl ::core::fmt::Debug for IScriptScriptlet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptScriptlet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScriptScriptlet { type Vtable = IScriptScriptlet_Vtbl; } -impl ::core::clone::Clone for IScriptScriptlet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScriptScriptlet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0aee2a96_bcbb_11d0_8c72_00c04fc2b085); } @@ -7422,6 +5622,7 @@ pub struct IScriptScriptlet_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleConnectionPoint(::windows_core::IUnknown); impl ISimpleConnectionPoint { pub unsafe fn GetEventCount(&self) -> ::windows_core::Result { @@ -7445,25 +5646,9 @@ impl ISimpleConnectionPoint { } } ::windows_core::imp::interface_hierarchy!(ISimpleConnectionPoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimpleConnectionPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimpleConnectionPoint {} -impl ::core::fmt::Debug for ISimpleConnectionPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimpleConnectionPoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimpleConnectionPoint { type Vtable = ISimpleConnectionPoint_Vtbl; } -impl ::core::clone::Clone for ISimpleConnectionPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleConnectionPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c3e_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -7481,6 +5666,7 @@ pub struct ISimpleConnectionPoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITridentEventSink(::windows_core::IUnknown); impl ITridentEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -7493,25 +5679,9 @@ impl ITridentEventSink { } } ::windows_core::imp::interface_hierarchy!(ITridentEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITridentEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITridentEventSink {} -impl ::core::fmt::Debug for ITridentEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITridentEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITridentEventSink { type Vtable = ITridentEventSink_Vtbl; } -impl ::core::clone::Clone for ITridentEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITridentEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dc9ca50_06ef_11d2_8415_006008c3fbfc); } @@ -7526,6 +5696,7 @@ pub struct ITridentEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAppDiagnosticsObjectInitialization(::windows_core::IUnknown); impl IWebAppDiagnosticsObjectInitialization { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7539,25 +5710,9 @@ impl IWebAppDiagnosticsObjectInitialization { } } ::windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsObjectInitialization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWebAppDiagnosticsObjectInitialization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAppDiagnosticsObjectInitialization {} -impl ::core::fmt::Debug for IWebAppDiagnosticsObjectInitialization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAppDiagnosticsObjectInitialization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebAppDiagnosticsObjectInitialization { type Vtable = IWebAppDiagnosticsObjectInitialization_Vtbl; } -impl ::core::clone::Clone for IWebAppDiagnosticsObjectInitialization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAppDiagnosticsObjectInitialization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16ff3a42_a5f5_432b_b625_8e8e16f57e15); } @@ -7572,6 +5727,7 @@ pub struct IWebAppDiagnosticsObjectInitialization_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAppDiagnosticsSetup(::windows_core::IUnknown); impl IWebAppDiagnosticsSetup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7585,25 +5741,9 @@ impl IWebAppDiagnosticsSetup { } } ::windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsSetup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWebAppDiagnosticsSetup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAppDiagnosticsSetup {} -impl ::core::fmt::Debug for IWebAppDiagnosticsSetup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAppDiagnosticsSetup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebAppDiagnosticsSetup { type Vtable = IWebAppDiagnosticsSetup_Vtbl; } -impl ::core::clone::Clone for IWebAppDiagnosticsSetup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAppDiagnosticsSetup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x379bfbe1_c6c9_432a_93e1_6d17656c538c); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs index 58766fecd2..ecbaa6d087 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs @@ -8,8 +8,8 @@ impl DebugBaseEventCallbacks_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacks_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacks_Vtbl { Self { base__: IDebugEventCallbacks_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22,8 +22,8 @@ impl DebugBaseEventCallbacksWide_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacksWide_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacksWide_Vtbl { Self { base__: IDebugEventCallbacksWide_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl ICodeAddressConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetContainingSymbol: GetContainingSymbol:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IComparableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompareObjects: CompareObjects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IDataModelConcept_Vtbl { GetName: GetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -333,8 +333,8 @@ impl IDataModelManager_Vtbl { AcquireNamedModel: AcquireNamedModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -376,8 +376,8 @@ impl IDataModelManager2_Vtbl { CreateTypedIntrinsicObjectEx: CreateTypedIntrinsicObjectEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -430,8 +430,8 @@ impl IDataModelNameBinder_Vtbl { EnumerateReferences: EnumerateReferences::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IDataModelScript_Vtbl { InvokeMain: InvokeMain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -526,8 +526,8 @@ impl IDataModelScriptClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IDataModelScriptDebug_Vtbl { StopDebugging: StopDebugging::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -664,8 +664,8 @@ impl IDataModelScriptDebug2_Vtbl { } Self { base__: IDataModelScriptDebug_Vtbl::new::(), SetBreakpointAtFunction: SetBreakpointAtFunction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -720,8 +720,8 @@ impl IDataModelScriptDebugBreakpoint_Vtbl { GetPosition: GetPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IDataModelScriptDebugBreakpointEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IDataModelScriptDebugClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyDebugEvent: NotifyDebugEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -806,8 +806,8 @@ impl IDataModelScriptDebugStack_Vtbl { GetStackFrame: GetStackFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IDataModelScriptDebugStackFrame_Vtbl { EnumerateArguments: EnumerateArguments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -927,8 +927,8 @@ impl IDataModelScriptDebugVariableSetEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -961,8 +961,8 @@ impl IDataModelScriptHostContext_Vtbl { GetNamespaceObject: GetNamespaceObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1041,8 +1041,8 @@ impl IDataModelScriptManager_Vtbl { EnumerateScriptProviders: EnumerateScriptProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IDataModelScriptProvider_Vtbl { EnumerateTemplates: EnumerateTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1154,8 +1154,8 @@ impl IDataModelScriptProviderEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1210,8 +1210,8 @@ impl IDataModelScriptTemplate_Vtbl { GetContent: GetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1244,8 +1244,8 @@ impl IDataModelScriptTemplateEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1272,8 +1272,8 @@ impl IDebugAdvanced_Vtbl { SetThreadContext: SetThreadContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1335,8 +1335,8 @@ impl IDebugAdvanced2_Vtbl { GetSystemObjectInformation: GetSystemObjectInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IDebugAdvanced3_Vtbl { GetSymbolInformationWide: GetSymbolInformationWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1510,8 +1510,8 @@ impl IDebugAdvanced4_Vtbl { GetSymbolInformationWideEx: GetSymbolInformationWideEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1713,8 +1713,8 @@ impl IDebugBreakpoint_Vtbl { GetParameters: GetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1944,8 +1944,8 @@ impl IDebugBreakpoint2_Vtbl { SetOffsetExpressionWide: SetOffsetExpressionWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -2188,8 +2188,8 @@ impl IDebugBreakpoint3_Vtbl { GetGuid: GetGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -2583,8 +2583,8 @@ impl IDebugClient_Vtbl { FlushCallbacks: FlushCallbacks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -3034,8 +3034,8 @@ impl IDebugClient2_Vtbl { AbandonCurrentProcess: AbandonCurrentProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -3519,8 +3519,8 @@ impl IDebugClient3_Vtbl { CreateProcessAndAttachWide: CreateProcessAndAttachWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -4052,8 +4052,8 @@ impl IDebugClient4_Vtbl { GetDumpFileWide: GetDumpFileWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -4836,8 +4836,8 @@ impl IDebugClient5_Vtbl { SetQuitLockStringWide: SetQuitLockStringWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -5627,8 +5627,8 @@ impl IDebugClient6_Vtbl { SetEventContextCallbacks: SetEventContextCallbacks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -6425,8 +6425,8 @@ impl IDebugClient7_Vtbl { SetClientContext: SetClientContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -7230,8 +7230,8 @@ impl IDebugClient8_Vtbl { OpenDumpFileWide2: OpenDumpFileWide2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -8042,8 +8042,8 @@ impl IDebugControl_Vtbl { GetLastEventInformation: GetLastEventInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -8934,8 +8934,8 @@ impl IDebugControl2_Vtbl { OutputTextReplacements: OutputTextReplacements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -9953,8 +9953,8 @@ impl IDebugControl3_Vtbl { SetNextEventIndex: SetNextEventIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -11379,8 +11379,8 @@ impl IDebugControl4_Vtbl { ResetManagedStatus: ResetManagedStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -12846,8 +12846,8 @@ impl IDebugControl5_Vtbl { GetBreakpointByGuid: GetBreakpointByGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -14333,8 +14333,8 @@ impl IDebugControl6_Vtbl { GetSynchronizationStatus: GetSynchronizationStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -15827,8 +15827,8 @@ impl IDebugControl7_Vtbl { GetDebuggeeType2: GetDebuggeeType2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -15993,8 +15993,8 @@ impl IDebugDataSpaces_Vtbl { ReadProcessorSystemData: ReadProcessorSystemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"implement\"`*"] @@ -16210,8 +16210,8 @@ impl IDebugDataSpaces2_Vtbl { QueryVirtual: QueryVirtual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`, `\"implement\"`*"] @@ -16468,8 +16468,8 @@ impl IDebugDataSpaces3_Vtbl { EndEnumTagged: EndEnumTagged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`, `\"implement\"`*"] @@ -16808,8 +16808,8 @@ impl IDebugDataSpaces4_Vtbl { WritePhysical2: WritePhysical2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16930,8 +16930,8 @@ impl IDebugEventCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17052,8 +17052,8 @@ impl IDebugEventCallbacksWide_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17188,8 +17188,8 @@ impl IDebugEventContextCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17346,8 +17346,8 @@ impl IDebugFailureAnalysis_Vtbl { NextEntry: NextEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -17536,8 +17536,8 @@ impl IDebugFailureAnalysis2_Vtbl { AddStructuredAnalysisData: AddStructuredAnalysisData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17869,8 +17869,8 @@ impl IDebugFailureAnalysis3_Vtbl { DeleteAdditionalXML: DeleteAdditionalXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17922,8 +17922,8 @@ impl IDebugHost_Vtbl { GetDefaultMetadata: GetDefaultMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17946,8 +17946,8 @@ impl IDebugHostBaseClass_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetOffset: GetOffset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17973,8 +17973,8 @@ impl IDebugHostConstant_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17997,8 +17997,8 @@ impl IDebugHostContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualTo: IsEqualTo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18053,8 +18053,8 @@ impl IDebugHostData_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18071,8 +18071,8 @@ impl IDebugHostErrorSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18099,8 +18099,8 @@ impl IDebugHostEvaluator_Vtbl { EvaluateExtendedExpression: EvaluateExtendedExpression::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18117,8 +18117,8 @@ impl IDebugHostEvaluator2_Vtbl { } Self { base__: IDebugHostEvaluator_Vtbl::new::(), AssignTo: AssignTo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18145,8 +18145,8 @@ impl IDebugHostExtensibility_Vtbl { DestroyFunctionAlias: DestroyFunctionAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18214,8 +18214,8 @@ impl IDebugHostField_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18269,8 +18269,8 @@ impl IDebugHostMemory_Vtbl { GetDisplayStringForLocation: GetDisplayStringForLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18293,8 +18293,8 @@ impl IDebugHostMemory2_Vtbl { } Self { base__: IDebugHostMemory_Vtbl::new::(), LinearizeLocation: LinearizeLocation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18379,8 +18379,8 @@ impl IDebugHostModule_Vtbl { FindSymbolByName: FindSymbolByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18397,8 +18397,8 @@ impl IDebugHostModule2_Vtbl { } Self { base__: IDebugHostModule_Vtbl::new::(), FindContainingSymbolByRVA: FindContainingSymbolByRVA:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18421,8 +18421,8 @@ impl IDebugHostModuleSignature_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMatch: IsMatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18461,8 +18461,8 @@ impl IDebugHostPublic_Vtbl { GetLocation: GetLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18485,8 +18485,8 @@ impl IDebugHostScriptHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateContext: CreateContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18509,8 +18509,8 @@ impl IDebugHostStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PollUserInterrupt: PollUserInterrupt:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18614,8 +18614,8 @@ impl IDebugHostSymbol_Vtbl { CompareAgainst: CompareAgainst::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18638,8 +18638,8 @@ impl IDebugHostSymbol2_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetLanguage: GetLanguage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18672,8 +18672,8 @@ impl IDebugHostSymbolEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18771,8 +18771,8 @@ impl IDebugHostSymbols_Vtbl { GetMostDerivedObject: GetMostDerivedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19014,8 +19014,8 @@ impl IDebugHostType_Vtbl { GetGenericArgumentAt: GetGenericArgumentAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19093,8 +19093,8 @@ impl IDebugHostType2_Vtbl { GetFunctionInstancePointerType: GetFunctionInstancePointerType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19140,8 +19140,8 @@ impl IDebugHostTypeSignature_Vtbl { CompareAgainst: CompareAgainst::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19168,8 +19168,8 @@ impl IDebugInputCallbacks_Vtbl { EndInput: EndInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19186,8 +19186,8 @@ impl IDebugOutputCallbacks_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19227,8 +19227,8 @@ impl IDebugOutputCallbacks2_Vtbl { Output2: Output2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19245,8 +19245,8 @@ impl IDebugOutputCallbacksWide_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19263,8 +19263,8 @@ impl IDebugOutputStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19284,8 +19284,8 @@ impl IDebugPlmClient_Vtbl { LaunchPlmPackageForDebugWide: LaunchPlmPackageForDebugWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19312,8 +19312,8 @@ impl IDebugPlmClient2_Vtbl { LaunchPlmBgTaskForDebugWide: LaunchPlmBgTaskForDebugWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19403,8 +19403,8 @@ impl IDebugPlmClient3_Vtbl { ActivateAndDebugPlmBgTaskWide: ActivateAndDebugPlmBgTaskWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19527,8 +19527,8 @@ impl IDebugRegisters_Vtbl { GetFrameOffset: GetFrameOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19798,8 +19798,8 @@ impl IDebugRegisters2_Vtbl { GetFrameOffset2: GetFrameOffset2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19891,8 +19891,8 @@ impl IDebugSymbolGroup_Vtbl { OutputAsType: OutputAsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20093,8 +20093,8 @@ impl IDebugSymbolGroup2_Vtbl { GetSymbolEntryInformation: GetSymbolEntryInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20532,8 +20532,8 @@ impl IDebugSymbols_Vtbl { GetSourceFileLineOffsets: GetSourceFileLineOffsets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21033,8 +21033,8 @@ impl IDebugSymbols2_Vtbl { SetTypeOptions: SetTypeOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22062,8 +22062,8 @@ impl IDebugSymbols3_Vtbl { GetSourceEntryBySourceEntry: GetSourceEntryBySourceEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -23140,8 +23140,8 @@ impl IDebugSymbols4_Vtbl { OutputSymbolByInlineContext: OutputSymbolByInlineContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -24238,8 +24238,8 @@ impl IDebugSymbols5_Vtbl { SetScopeFrameByIndexEx: SetScopeFrameByIndexEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -24593,8 +24593,8 @@ impl IDebugSystemObjects_Vtbl { GetCurrentProcessExecutableName: GetCurrentProcessExecutableName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -25001,8 +25001,8 @@ impl IDebugSystemObjects2_Vtbl { SetImplicitProcessDataOffset: SetImplicitProcessDataOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -25502,8 +25502,8 @@ impl IDebugSystemObjects3_Vtbl { GetCurrentSystemServerName: GetCurrentSystemServerName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26017,8 +26017,8 @@ impl IDebugSystemObjects4_Vtbl { GetCurrentSystemServerNameWide: GetCurrentSystemServerNameWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26066,8 +26066,8 @@ impl IDynamicConceptProviderConcept_Vtbl { NotifyDestruct: NotifyDestruct::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26107,8 +26107,8 @@ impl IDynamicKeyProviderConcept_Vtbl { EnumerateKeys: EnumerateKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26131,8 +26131,8 @@ impl IEquatableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreObjectsEqual: AreObjectsEqual:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26149,8 +26149,8 @@ impl IHostDataModelAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataModel: GetDataModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26190,8 +26190,8 @@ impl IIndexableConcept_Vtbl { SetAt: SetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26230,8 +26230,8 @@ impl IIterableConcept_Vtbl { GetIterator: GetIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26258,8 +26258,8 @@ impl IKeyEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26307,8 +26307,8 @@ impl IKeyStore_Vtbl { ClearKeys: ClearKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26335,8 +26335,8 @@ impl IModelIterator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26416,8 +26416,8 @@ impl IModelKeyReference_Vtbl { SetKeyValue: SetKeyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26434,8 +26434,8 @@ impl IModelKeyReference2_Vtbl { } Self { base__: IModelKeyReference_Vtbl::new::(), OverrideContextObject: OverrideContextObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26452,8 +26452,8 @@ impl IModelMethod_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Call: Call:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -26808,8 +26808,8 @@ impl IModelObject_Vtbl { IsEqualTo: IsEqualTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26842,8 +26842,8 @@ impl IModelPropertyAccessor_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26869,8 +26869,8 @@ impl IPreferredRuntimeTypeConcept_Vtbl { CastToPreferredRuntimeType: CastToPreferredRuntimeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26897,8 +26897,8 @@ impl IRawEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26921,7 +26921,7 @@ impl IStringDisplayableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ToDisplayString: ToDisplayString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index 20529f1bbc..3a7fcd5646 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -48,6 +48,7 @@ where } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DebugBaseEventCallbacks(::windows_core::IUnknown); impl DebugBaseEventCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows_core::Result { @@ -111,25 +112,9 @@ impl DebugBaseEventCallbacks { } } ::windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacks, ::windows_core::IUnknown, IDebugEventCallbacks); -impl ::core::cmp::PartialEq for DebugBaseEventCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DebugBaseEventCallbacks {} -impl ::core::fmt::Debug for DebugBaseEventCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DebugBaseEventCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DebugBaseEventCallbacks { type Vtable = DebugBaseEventCallbacks_Vtbl; } -impl ::core::clone::Clone for DebugBaseEventCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DebugBaseEventCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -140,6 +125,7 @@ pub struct DebugBaseEventCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DebugBaseEventCallbacksWide(::windows_core::IUnknown); impl DebugBaseEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> ::windows_core::Result { @@ -203,25 +189,9 @@ impl DebugBaseEventCallbacksWide { } } ::windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacksWide, ::windows_core::IUnknown, IDebugEventCallbacksWide); -impl ::core::cmp::PartialEq for DebugBaseEventCallbacksWide { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DebugBaseEventCallbacksWide {} -impl ::core::fmt::Debug for DebugBaseEventCallbacksWide { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DebugBaseEventCallbacksWide").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DebugBaseEventCallbacksWide { type Vtable = DebugBaseEventCallbacksWide_Vtbl; } -impl ::core::clone::Clone for DebugBaseEventCallbacksWide { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DebugBaseEventCallbacksWide { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -232,6 +202,7 @@ pub struct DebugBaseEventCallbacksWide_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICodeAddressConcept(::windows_core::IUnknown); impl ICodeAddressConcept { pub unsafe fn GetContainingSymbol(&self, pcontextobject: P0) -> ::windows_core::Result @@ -243,25 +214,9 @@ impl ICodeAddressConcept { } } ::windows_core::imp::interface_hierarchy!(ICodeAddressConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICodeAddressConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICodeAddressConcept {} -impl ::core::fmt::Debug for ICodeAddressConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICodeAddressConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICodeAddressConcept { type Vtable = ICodeAddressConcept_Vtbl; } -impl ::core::clone::Clone for ICodeAddressConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICodeAddressConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7371568_5c78_4a00_a4ab_6ef8823184cb); } @@ -273,6 +228,7 @@ pub struct ICodeAddressConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComparableConcept(::windows_core::IUnknown); impl IComparableConcept { pub unsafe fn CompareObjects(&self, contextobject: P0, otherobject: P1) -> ::windows_core::Result @@ -285,25 +241,9 @@ impl IComparableConcept { } } ::windows_core::imp::interface_hierarchy!(IComparableConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComparableConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComparableConcept {} -impl ::core::fmt::Debug for IComparableConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComparableConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComparableConcept { type Vtable = IComparableConcept_Vtbl; } -impl ::core::clone::Clone for IComparableConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComparableConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7830646_9f0c_4a31_ba19_503f33e6c8a3); } @@ -315,6 +255,7 @@ pub struct IComparableConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelConcept(::windows_core::IUnknown); impl IDataModelConcept { pub unsafe fn InitializeObject(&self, modelobject: P0, matchingtypesignature: P1, wildcardmatches: P2) -> ::windows_core::Result<()> @@ -331,25 +272,9 @@ impl IDataModelConcept { } } ::windows_core::imp::interface_hierarchy!(IDataModelConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelConcept {} -impl ::core::fmt::Debug for IDataModelConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelConcept { type Vtable = IDataModelConcept_Vtbl; } -impl ::core::clone::Clone for IDataModelConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcb98d1d_1114_4fbf_b24c_effcb5def0d3); } @@ -362,6 +287,7 @@ pub struct IDataModelConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelManager(::windows_core::IUnknown); impl IDataModelManager { pub unsafe fn Close(&self) -> ::windows_core::Result<()> { @@ -497,25 +423,9 @@ impl IDataModelManager { } } ::windows_core::imp::interface_hierarchy!(IDataModelManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelManager {} -impl ::core::fmt::Debug for IDataModelManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelManager { type Vtable = IDataModelManager_Vtbl; } -impl ::core::clone::Clone for IDataModelManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73fe19f4_a110_4500_8ed9_3c28896f508c); } @@ -552,6 +462,7 @@ pub struct IDataModelManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelManager2(::windows_core::IUnknown); impl IDataModelManager2 { pub unsafe fn Close(&self) -> ::windows_core::Result<()> { @@ -707,25 +618,9 @@ impl IDataModelManager2 { } } ::windows_core::imp::interface_hierarchy!(IDataModelManager2, ::windows_core::IUnknown, IDataModelManager); -impl ::core::cmp::PartialEq for IDataModelManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelManager2 {} -impl ::core::fmt::Debug for IDataModelManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelManager2 { type Vtable = IDataModelManager2_Vtbl; } -impl ::core::clone::Clone for IDataModelManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf412c5ea_2284_4622_a660_a697160d3312); } @@ -741,6 +636,7 @@ pub struct IDataModelManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelNameBinder(::windows_core::IUnknown); impl IDataModelNameBinder { pub unsafe fn BindValue(&self, contextobject: P0, name: P1, value: *mut ::core::option::Option, metadata: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -773,25 +669,9 @@ impl IDataModelNameBinder { } } ::windows_core::imp::interface_hierarchy!(IDataModelNameBinder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelNameBinder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelNameBinder {} -impl ::core::fmt::Debug for IDataModelNameBinder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelNameBinder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelNameBinder { type Vtable = IDataModelNameBinder_Vtbl; } -impl ::core::clone::Clone for IDataModelNameBinder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelNameBinder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf352b7b_8292_4c01_b360_2dc3696c65e7); } @@ -806,6 +686,7 @@ pub struct IDataModelNameBinder_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScript(::windows_core::IUnknown); impl IDataModelScript { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -847,25 +728,9 @@ impl IDataModelScript { } } ::windows_core::imp::interface_hierarchy!(IDataModelScript, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScript { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScript {} -impl ::core::fmt::Debug for IDataModelScript { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScript").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScript { type Vtable = IDataModelScript_Vtbl; } -impl ::core::clone::Clone for IDataModelScript { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScript { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b4d30fc_b14a_49f8_8d87_d9a1480c97f7); } @@ -886,6 +751,7 @@ pub struct IDataModelScript_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptClient(::windows_core::IUnknown); impl IDataModelScriptClient { pub unsafe fn ReportError(&self, errclass: ErrorClass, hrfail: ::windows_core::HRESULT, message: P0, line: u32, position: u32) -> ::windows_core::Result<()> @@ -896,25 +762,9 @@ impl IDataModelScriptClient { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptClient {} -impl ::core::fmt::Debug for IDataModelScriptClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptClient { type Vtable = IDataModelScriptClient_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b362b0e_89f0_46c6_a663_dfdc95194aef); } @@ -926,6 +776,7 @@ pub struct IDataModelScriptClient_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebug(::windows_core::IUnknown); impl IDataModelScriptDebug { pub unsafe fn GetDebugState(&self) -> ScriptDebugState { @@ -971,25 +822,9 @@ impl IDataModelScriptDebug { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebug, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebug { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebug {} -impl ::core::fmt::Debug for IDataModelScriptDebug { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebug").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebug { type Vtable = IDataModelScriptDebug_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebug { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebug { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde8e0945_9750_4471_ab76_a8f79d6ec350); } @@ -1010,6 +845,7 @@ pub struct IDataModelScriptDebug_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebug2(::windows_core::IUnknown); impl IDataModelScriptDebug2 { pub unsafe fn GetDebugState(&self) -> ScriptDebugState { @@ -1062,25 +898,9 @@ impl IDataModelScriptDebug2 { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebug2, ::windows_core::IUnknown, IDataModelScriptDebug); -impl ::core::cmp::PartialEq for IDataModelScriptDebug2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebug2 {} -impl ::core::fmt::Debug for IDataModelScriptDebug2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebug2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebug2 { type Vtable = IDataModelScriptDebug2_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebug2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebug2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbb10ed3_839e_426c_9243_e23535c1ae1a); } @@ -1092,6 +912,7 @@ pub struct IDataModelScriptDebug2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugBreakpoint(::windows_core::IUnknown); impl IDataModelScriptDebugBreakpoint { pub unsafe fn GetId(&self) -> u64 { @@ -1114,25 +935,9 @@ impl IDataModelScriptDebugBreakpoint { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugBreakpoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugBreakpoint {} -impl ::core::fmt::Debug for IDataModelScriptDebugBreakpoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugBreakpoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugBreakpoint { type Vtable = IDataModelScriptDebugBreakpoint_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugBreakpoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugBreakpoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bb27b35_02e6_47cb_90a0_5371244032de); } @@ -1149,6 +954,7 @@ pub struct IDataModelScriptDebugBreakpoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugBreakpointEnumerator(::windows_core::IUnknown); impl IDataModelScriptDebugBreakpointEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1160,25 +966,9 @@ impl IDataModelScriptDebugBreakpointEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpointEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugBreakpointEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugBreakpointEnumerator {} -impl ::core::fmt::Debug for IDataModelScriptDebugBreakpointEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugBreakpointEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugBreakpointEnumerator { type Vtable = IDataModelScriptDebugBreakpointEnumerator_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugBreakpointEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugBreakpointEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39484a75_b4f3_4799_86da_691afa57b299); } @@ -1191,6 +981,7 @@ pub struct IDataModelScriptDebugBreakpointEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugClient(::windows_core::IUnknown); impl IDataModelScriptDebugClient { pub unsafe fn NotifyDebugEvent(&self, peventinfo: *const ScriptDebugEventInformation, pscript: P0, peventdataobject: P1, resumeeventkind: *mut ScriptExecutionKind) -> ::windows_core::Result<()> @@ -1202,25 +993,9 @@ impl IDataModelScriptDebugClient { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugClient {} -impl ::core::fmt::Debug for IDataModelScriptDebugClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugClient { type Vtable = IDataModelScriptDebugClient_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53159b6d_d4c4_471b_a863_5b110ca800ca); } @@ -1232,6 +1007,7 @@ pub struct IDataModelScriptDebugClient_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugStack(::windows_core::IUnknown); impl IDataModelScriptDebugStack { pub unsafe fn GetFrameCount(&self) -> u64 { @@ -1243,25 +1019,9 @@ impl IDataModelScriptDebugStack { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugStack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugStack {} -impl ::core::fmt::Debug for IDataModelScriptDebugStack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugStack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugStack { type Vtable = IDataModelScriptDebugStack_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugStack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugStack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x051364dd_e449_443e_9762_fe578f4a5473); } @@ -1274,6 +1034,7 @@ pub struct IDataModelScriptDebugStack_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugStackFrame(::windows_core::IUnknown); impl IDataModelScriptDebugStackFrame { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1307,25 +1068,9 @@ impl IDataModelScriptDebugStackFrame { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStackFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugStackFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugStackFrame {} -impl ::core::fmt::Debug for IDataModelScriptDebugStackFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugStackFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugStackFrame { type Vtable = IDataModelScriptDebugStackFrame_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugStackFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugStackFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdec6ed5e_6360_4941_ab4c_a26409de4f82); } @@ -1343,6 +1088,7 @@ pub struct IDataModelScriptDebugStackFrame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptDebugVariableSetEnumerator(::windows_core::IUnknown); impl IDataModelScriptDebugVariableSetEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1353,25 +1099,9 @@ impl IDataModelScriptDebugVariableSetEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptDebugVariableSetEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptDebugVariableSetEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptDebugVariableSetEnumerator {} -impl ::core::fmt::Debug for IDataModelScriptDebugVariableSetEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptDebugVariableSetEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptDebugVariableSetEnumerator { type Vtable = IDataModelScriptDebugVariableSetEnumerator_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptDebugVariableSetEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptDebugVariableSetEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f9feed7_d045_4ac3_98a8_a98942cf6a35); } @@ -1384,6 +1114,7 @@ pub struct IDataModelScriptDebugVariableSetEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptHostContext(::windows_core::IUnknown); impl IDataModelScriptHostContext { pub unsafe fn NotifyScriptChange(&self, script: P0, changekind: ScriptChangeKind) -> ::windows_core::Result<()> @@ -1398,25 +1129,9 @@ impl IDataModelScriptHostContext { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptHostContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptHostContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptHostContext {} -impl ::core::fmt::Debug for IDataModelScriptHostContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptHostContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptHostContext { type Vtable = IDataModelScriptHostContext_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptHostContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptHostContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x014d366a_1f23_4981_9219_b2db8b402054); } @@ -1429,6 +1144,7 @@ pub struct IDataModelScriptHostContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptManager(::windows_core::IUnknown); impl IDataModelScriptManager { pub unsafe fn GetDefaultNameBinder(&self) -> ::windows_core::Result { @@ -1467,25 +1183,9 @@ impl IDataModelScriptManager { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptManager {} -impl ::core::fmt::Debug for IDataModelScriptManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptManager { type Vtable = IDataModelScriptManager_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fd11e33_e5ad_410b_8011_68c6bc4bf80d); } @@ -1502,6 +1202,7 @@ pub struct IDataModelScriptManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptProvider(::windows_core::IUnknown); impl IDataModelScriptProvider { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1526,25 +1227,9 @@ impl IDataModelScriptProvider { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptProvider {} -impl ::core::fmt::Debug for IDataModelScriptProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptProvider { type Vtable = IDataModelScriptProvider_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x513461e0_4fca_48ce_8658_32f3e2056f3b); } @@ -1560,6 +1245,7 @@ pub struct IDataModelScriptProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptProviderEnumerator(::windows_core::IUnknown); impl IDataModelScriptProviderEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1571,25 +1257,9 @@ impl IDataModelScriptProviderEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptProviderEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptProviderEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptProviderEnumerator {} -impl ::core::fmt::Debug for IDataModelScriptProviderEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptProviderEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptProviderEnumerator { type Vtable = IDataModelScriptProviderEnumerator_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptProviderEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptProviderEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95ba00e2_704a_4fe2_a8f1_a7e7d8fb0941); } @@ -1602,6 +1272,7 @@ pub struct IDataModelScriptProviderEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptTemplate(::windows_core::IUnknown); impl IDataModelScriptTemplate { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1620,25 +1291,9 @@ impl IDataModelScriptTemplate { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptTemplate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptTemplate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptTemplate {} -impl ::core::fmt::Debug for IDataModelScriptTemplate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptTemplate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptTemplate { type Vtable = IDataModelScriptTemplate_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptTemplate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptTemplate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1303dec4_fa3b_4f1b_9224_b953d16babb5); } @@ -1655,6 +1310,7 @@ pub struct IDataModelScriptTemplate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataModelScriptTemplateEnumerator(::windows_core::IUnknown); impl IDataModelScriptTemplateEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -1666,25 +1322,9 @@ impl IDataModelScriptTemplateEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDataModelScriptTemplateEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataModelScriptTemplateEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataModelScriptTemplateEnumerator {} -impl ::core::fmt::Debug for IDataModelScriptTemplateEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataModelScriptTemplateEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataModelScriptTemplateEnumerator { type Vtable = IDataModelScriptTemplateEnumerator_Vtbl; } -impl ::core::clone::Clone for IDataModelScriptTemplateEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataModelScriptTemplateEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69ce6ae2_2268_4e6f_b062_20ce62bfe677); } @@ -1697,6 +1337,7 @@ pub struct IDataModelScriptTemplateEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAdvanced(::windows_core::IUnknown); impl IDebugAdvanced { pub unsafe fn GetThreadContext(&self, context: *mut ::core::ffi::c_void, contextsize: u32) -> ::windows_core::Result<()> { @@ -1707,25 +1348,9 @@ impl IDebugAdvanced { } } ::windows_core::imp::interface_hierarchy!(IDebugAdvanced, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAdvanced { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAdvanced {} -impl ::core::fmt::Debug for IDebugAdvanced { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAdvanced").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAdvanced { type Vtable = IDebugAdvanced_Vtbl; } -impl ::core::clone::Clone for IDebugAdvanced { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAdvanced { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2df5f53_071f_47bd_9de6_5734c3fed689); } @@ -1738,6 +1363,7 @@ pub struct IDebugAdvanced_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAdvanced2(::windows_core::IUnknown); impl IDebugAdvanced2 { pub unsafe fn GetThreadContext(&self, context: *mut ::core::ffi::c_void, contextsize: u32) -> ::windows_core::Result<()> { @@ -1769,25 +1395,9 @@ impl IDebugAdvanced2 { } } ::windows_core::imp::interface_hierarchy!(IDebugAdvanced2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAdvanced2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAdvanced2 {} -impl ::core::fmt::Debug for IDebugAdvanced2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAdvanced2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAdvanced2 { type Vtable = IDebugAdvanced2_Vtbl; } -impl ::core::clone::Clone for IDebugAdvanced2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAdvanced2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x716d14c9_119b_4ba5_af1f_0890e672416a); } @@ -1805,6 +1415,7 @@ pub struct IDebugAdvanced2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAdvanced3(::windows_core::IUnknown); impl IDebugAdvanced3 { pub unsafe fn GetThreadContext(&self, context: *mut ::core::ffi::c_void, contextsize: u32) -> ::windows_core::Result<()> { @@ -1851,25 +1462,9 @@ impl IDebugAdvanced3 { } } ::windows_core::imp::interface_hierarchy!(IDebugAdvanced3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAdvanced3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAdvanced3 {} -impl ::core::fmt::Debug for IDebugAdvanced3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAdvanced3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAdvanced3 { type Vtable = IDebugAdvanced3_Vtbl; } -impl ::core::clone::Clone for IDebugAdvanced3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAdvanced3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcba4abb4_84c4_444d_87ca_a04e13286739); } @@ -1890,6 +1485,7 @@ pub struct IDebugAdvanced3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugAdvanced4(::windows_core::IUnknown); impl IDebugAdvanced4 { pub unsafe fn GetThreadContext(&self, context: *mut ::core::ffi::c_void, contextsize: u32) -> ::windows_core::Result<()> { @@ -1952,25 +1548,9 @@ impl IDebugAdvanced4 { } } ::windows_core::imp::interface_hierarchy!(IDebugAdvanced4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugAdvanced4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugAdvanced4 {} -impl ::core::fmt::Debug for IDebugAdvanced4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugAdvanced4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugAdvanced4 { type Vtable = IDebugAdvanced4_Vtbl; } -impl ::core::clone::Clone for IDebugAdvanced4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugAdvanced4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1069067_2a65_4bf0_ae97_76184b67856b); } @@ -1992,6 +1572,7 @@ pub struct IDebugAdvanced4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugBreakpoint(::windows_core::IUnknown); impl IDebugBreakpoint { pub unsafe fn GetId(&self) -> ::windows_core::Result { @@ -2072,25 +1653,9 @@ impl IDebugBreakpoint { } } ::windows_core::imp::interface_hierarchy!(IDebugBreakpoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugBreakpoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugBreakpoint {} -impl ::core::fmt::Debug for IDebugBreakpoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugBreakpoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugBreakpoint { type Vtable = IDebugBreakpoint_Vtbl; } -impl ::core::clone::Clone for IDebugBreakpoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugBreakpoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bd9d474_5975_423a_b88b_65a8e7110e65); } @@ -2122,6 +1687,7 @@ pub struct IDebugBreakpoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugBreakpoint2(::windows_core::IUnknown); impl IDebugBreakpoint2 { pub unsafe fn GetId(&self) -> ::windows_core::Result { @@ -2220,25 +1786,9 @@ impl IDebugBreakpoint2 { } } ::windows_core::imp::interface_hierarchy!(IDebugBreakpoint2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugBreakpoint2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugBreakpoint2 {} -impl ::core::fmt::Debug for IDebugBreakpoint2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugBreakpoint2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugBreakpoint2 { type Vtable = IDebugBreakpoint2_Vtbl; } -impl ::core::clone::Clone for IDebugBreakpoint2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugBreakpoint2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b278d20_79f2_426e_a3f9_c1ddf375d48e); } @@ -2274,6 +1824,7 @@ pub struct IDebugBreakpoint2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugBreakpoint3(::windows_core::IUnknown); impl IDebugBreakpoint3 { pub unsafe fn GetId(&self) -> ::windows_core::Result { @@ -2376,25 +1927,9 @@ impl IDebugBreakpoint3 { } } ::windows_core::imp::interface_hierarchy!(IDebugBreakpoint3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugBreakpoint3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugBreakpoint3 {} -impl ::core::fmt::Debug for IDebugBreakpoint3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugBreakpoint3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugBreakpoint3 { type Vtable = IDebugBreakpoint3_Vtbl; } -impl ::core::clone::Clone for IDebugBreakpoint3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugBreakpoint3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38f5c249_b448_43bb_9835_579d4ec02249); } @@ -2431,6 +1966,7 @@ pub struct IDebugBreakpoint3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient(::windows_core::IUnknown); impl IDebugClient { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -2650,25 +2186,9 @@ impl IDebugClient { } } ::windows_core::imp::interface_hierarchy!(IDebugClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient {} -impl ::core::fmt::Debug for IDebugClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient { type Vtable = IDebugClient_Vtbl; } -impl ::core::clone::Clone for IDebugClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27fe5639_8407_4f47_8364_ee118fb08ac8); } @@ -2724,6 +2244,7 @@ pub struct IDebugClient_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient2(::windows_core::IUnknown); impl IDebugClient2 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -2974,25 +2495,9 @@ impl IDebugClient2 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient2 {} -impl ::core::fmt::Debug for IDebugClient2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient2 { type Vtable = IDebugClient2_Vtbl; } -impl ::core::clone::Clone for IDebugClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedbed635_372e_4dab_bbfe_ed0d2f63be81); } @@ -3056,6 +2561,7 @@ pub struct IDebugClient2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient3(::windows_core::IUnknown); impl IDebugClient3 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -3340,25 +2846,9 @@ impl IDebugClient3 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient3 {} -impl ::core::fmt::Debug for IDebugClient3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient3 { type Vtable = IDebugClient3_Vtbl; } -impl ::core::clone::Clone for IDebugClient3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd492d7f_71b8_4ad6_a8dc_1c887479ff91); } @@ -3426,6 +2916,7 @@ pub struct IDebugClient3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient4(::windows_core::IUnknown); impl IDebugClient4 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -3739,25 +3230,9 @@ impl IDebugClient4 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient4 {} -impl ::core::fmt::Debug for IDebugClient4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient4 { type Vtable = IDebugClient4_Vtbl; } -impl ::core::clone::Clone for IDebugClient4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca83c3de_5089_4cf8_93c8_d892387f2a5e); } @@ -3831,6 +3306,7 @@ pub struct IDebugClient4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient5(::windows_core::IUnknown); impl IDebugClient5 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -4300,26 +3776,10 @@ impl IDebugClient5 { (::windows_core::Interface::vtable(self).SetQuitLockStringWide)(::windows_core::Interface::as_raw(self), string.into_param().abi()).ok() } } -::windows_core::imp::interface_hierarchy!(IDebugClient5, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient5 {} -impl ::core::fmt::Debug for IDebugClient5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient5").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IDebugClient5, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDebugClient5 { type Vtable = IDebugClient5_Vtbl; } -impl ::core::clone::Clone for IDebugClient5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3acb9d7_7ec2_4f0c_a0da_e81e0cbbe628); } @@ -4422,6 +3882,7 @@ pub struct IDebugClient5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient6(::windows_core::IUnknown); impl IDebugClient6 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -4898,25 +4359,9 @@ impl IDebugClient6 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient6, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient6 {} -impl ::core::fmt::Debug for IDebugClient6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient6 { type Vtable = IDebugClient6_Vtbl; } -impl ::core::clone::Clone for IDebugClient6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd28b4c5_c498_4686_a28e_62cad2154eb3); } @@ -5020,6 +4465,7 @@ pub struct IDebugClient6_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient7(::windows_core::IUnknown); impl IDebugClient7 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -5499,25 +4945,9 @@ impl IDebugClient7 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient7, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient7 {} -impl ::core::fmt::Debug for IDebugClient7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient7 { type Vtable = IDebugClient7_Vtbl; } -impl ::core::clone::Clone for IDebugClient7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13586be3_542e_481e_b1f2_8497ba74f9a9); } @@ -5622,6 +5052,7 @@ pub struct IDebugClient7_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugClient8(::windows_core::IUnknown); impl IDebugClient8 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> ::windows_core::Result<()> @@ -6107,25 +5538,9 @@ impl IDebugClient8 { } } ::windows_core::imp::interface_hierarchy!(IDebugClient8, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugClient8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugClient8 {} -impl ::core::fmt::Debug for IDebugClient8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugClient8").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugClient8 { type Vtable = IDebugClient8_Vtbl; } -impl ::core::clone::Clone for IDebugClient8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugClient8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcec43add_6375_469e_83d5_414e4033c19a); } @@ -6231,6 +5646,7 @@ pub struct IDebugClient8_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl(::windows_core::IUnknown); impl IDebugControl { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -6656,25 +6072,9 @@ impl IDebugControl { } } ::windows_core::imp::interface_hierarchy!(IDebugControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl {} -impl ::core::fmt::Debug for IDebugControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl { type Vtable = IDebugControl_Vtbl; } -impl ::core::clone::Clone for IDebugControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5182e668_105e_416e_ad92_24ef800424ba); } @@ -6807,6 +6207,7 @@ pub struct IDebugControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl2(::windows_core::IUnknown); impl IDebugControl2 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -7278,25 +6679,9 @@ impl IDebugControl2 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl2 {} -impl ::core::fmt::Debug for IDebugControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl2 { type Vtable = IDebugControl2_Vtbl; } -impl ::core::clone::Clone for IDebugControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4366723_44df_4bed_8c7e_4c05424f4588); } @@ -7437,6 +6822,7 @@ pub struct IDebugControl2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl3(::windows_core::IUnknown); impl IDebugControl3 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -7969,25 +7355,9 @@ impl IDebugControl3 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl3 {} -impl ::core::fmt::Debug for IDebugControl3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl3 { type Vtable = IDebugControl3_Vtbl; } -impl ::core::clone::Clone for IDebugControl3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7df74a86_b03f_407f_90ab_a20dadcead08); } @@ -8141,6 +7511,7 @@ pub struct IDebugControl3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl4(::windows_core::IUnknown); impl IDebugControl4 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -8977,25 +8348,9 @@ impl IDebugControl4 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl4 {} -impl ::core::fmt::Debug for IDebugControl4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl4 { type Vtable = IDebugControl4_Vtbl; } -impl ::core::clone::Clone for IDebugControl4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94e60ce9_9b41_4b19_9fc0_6d9eb35272b3); } @@ -9220,6 +8575,7 @@ pub struct IDebugControl4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl5(::windows_core::IUnknown); impl IDebugControl5 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -10080,25 +9436,9 @@ impl IDebugControl5 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl5, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl5 {} -impl ::core::fmt::Debug for IDebugControl5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl5 { type Vtable = IDebugControl5_Vtbl; } -impl ::core::clone::Clone for IDebugControl5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2ffe162_2412_429f_8d1d_5bf6dd824696); } @@ -10340,6 +9680,7 @@ pub struct IDebugControl5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl6(::windows_core::IUnknown); impl IDebugControl6 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -11207,25 +10548,9 @@ impl IDebugControl6 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl6, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl6 {} -impl ::core::fmt::Debug for IDebugControl6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl6 { type Vtable = IDebugControl6_Vtbl; } -impl ::core::clone::Clone for IDebugControl6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc0d583f_126d_43a1_9cc4_a860ab1d537b); } @@ -11469,6 +10794,7 @@ pub struct IDebugControl6_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugControl7(::windows_core::IUnknown); impl IDebugControl7 { pub unsafe fn GetInterrupt(&self) -> ::windows_core::Result<()> { @@ -12339,25 +11665,9 @@ impl IDebugControl7 { } } ::windows_core::imp::interface_hierarchy!(IDebugControl7, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugControl7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugControl7 {} -impl ::core::fmt::Debug for IDebugControl7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugControl7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugControl7 { type Vtable = IDebugControl7_Vtbl; } -impl ::core::clone::Clone for IDebugControl7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugControl7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb86fb3b1_80d4_475b_aea3_cf06539cf63a); } @@ -12602,6 +11912,7 @@ pub struct IDebugControl7_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDataSpaces(::windows_core::IUnknown); impl IDebugDataSpaces { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -12668,25 +11979,9 @@ impl IDebugDataSpaces { } } ::windows_core::imp::interface_hierarchy!(IDebugDataSpaces, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDataSpaces { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDataSpaces {} -impl ::core::fmt::Debug for IDebugDataSpaces { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDataSpaces").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDataSpaces { type Vtable = IDebugDataSpaces_Vtbl; } -impl ::core::clone::Clone for IDebugDataSpaces { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDataSpaces { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f7dfab_3ea7_4c3a_aefb_c4e8106173aa); } @@ -12717,6 +12012,7 @@ pub struct IDebugDataSpaces_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDataSpaces2(::windows_core::IUnknown); impl IDebugDataSpaces2 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -12804,25 +12100,9 @@ impl IDebugDataSpaces2 { } } ::windows_core::imp::interface_hierarchy!(IDebugDataSpaces2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDataSpaces2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDataSpaces2 {} -impl ::core::fmt::Debug for IDebugDataSpaces2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDataSpaces2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDataSpaces2 { type Vtable = IDebugDataSpaces2_Vtbl; } -impl ::core::clone::Clone for IDebugDataSpaces2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDataSpaces2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a5e852f_96e9_468f_ac1b_0b3addc4a049); } @@ -12862,6 +12142,7 @@ pub struct IDebugDataSpaces2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDataSpaces3(::windows_core::IUnknown); impl IDebugDataSpaces3 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -12967,25 +12248,9 @@ impl IDebugDataSpaces3 { } } ::windows_core::imp::interface_hierarchy!(IDebugDataSpaces3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDataSpaces3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDataSpaces3 {} -impl ::core::fmt::Debug for IDebugDataSpaces3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDataSpaces3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDataSpaces3 { type Vtable = IDebugDataSpaces3_Vtbl; } -impl ::core::clone::Clone for IDebugDataSpaces3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDataSpaces3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23f79d6c_8aaf_4f7c_a607_9995f5407e63); } @@ -13033,6 +12298,7 @@ pub struct IDebugDataSpaces3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugDataSpaces4(::windows_core::IUnknown); impl IDebugDataSpaces4 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut ::core::ffi::c_void, buffersize: u32, bytesread: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -13170,25 +12436,9 @@ impl IDebugDataSpaces4 { } } ::windows_core::imp::interface_hierarchy!(IDebugDataSpaces4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugDataSpaces4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugDataSpaces4 {} -impl ::core::fmt::Debug for IDebugDataSpaces4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugDataSpaces4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugDataSpaces4 { type Vtable = IDebugDataSpaces4_Vtbl; } -impl ::core::clone::Clone for IDebugDataSpaces4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugDataSpaces4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd98ada1f_29e9_4ef5_a6c0_e53349883212); } @@ -13246,6 +12496,7 @@ pub struct IDebugDataSpaces4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugEventCallbacks(::windows_core::IUnknown); impl IDebugEventCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows_core::Result { @@ -13309,25 +12560,9 @@ impl IDebugEventCallbacks { } } ::windows_core::imp::interface_hierarchy!(IDebugEventCallbacks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugEventCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugEventCallbacks {} -impl ::core::fmt::Debug for IDebugEventCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugEventCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugEventCallbacks { type Vtable = IDebugEventCallbacks_Vtbl; } -impl ::core::clone::Clone for IDebugEventCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugEventCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x337be28b_5036_4d72_b6bf_c45fbb9f2eaa); } @@ -13355,6 +12590,7 @@ pub struct IDebugEventCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugEventCallbacksWide(::windows_core::IUnknown); impl IDebugEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> ::windows_core::Result { @@ -13418,25 +12654,9 @@ impl IDebugEventCallbacksWide { } } ::windows_core::imp::interface_hierarchy!(IDebugEventCallbacksWide, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugEventCallbacksWide { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugEventCallbacksWide {} -impl ::core::fmt::Debug for IDebugEventCallbacksWide { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugEventCallbacksWide").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugEventCallbacksWide { type Vtable = IDebugEventCallbacksWide_Vtbl; } -impl ::core::clone::Clone for IDebugEventCallbacksWide { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugEventCallbacksWide { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0690e046_9c23_45ac_a04f_987ac29ad0d3); } @@ -13464,6 +12684,7 @@ pub struct IDebugEventCallbacksWide_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugEventContextCallbacks(::windows_core::IUnknown); impl IDebugEventContextCallbacks { pub unsafe fn GetInterestMask(&self) -> ::windows_core::Result { @@ -13527,25 +12748,9 @@ impl IDebugEventContextCallbacks { } } ::windows_core::imp::interface_hierarchy!(IDebugEventContextCallbacks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugEventContextCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugEventContextCallbacks {} -impl ::core::fmt::Debug for IDebugEventContextCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugEventContextCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugEventContextCallbacks { type Vtable = IDebugEventContextCallbacks_Vtbl; } -impl ::core::clone::Clone for IDebugEventContextCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugEventContextCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61a4905b_23f9_4247_b3c5_53d087529ab7); } @@ -13573,6 +12778,7 @@ pub struct IDebugEventContextCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugFAEntryTags(::std::ptr::NonNull<::std::ffi::c_void>); impl IDebugFAEntryTags { pub unsafe fn GetType(&self, tag: DEBUG_FLR_PARAM_TYPE) -> FA_ENTRY_TYPE { @@ -13605,25 +12811,9 @@ impl IDebugFAEntryTags { (::windows_core::Interface::vtable(self).IsValidTagToSet)(::windows_core::Interface::as_raw(self), tag) } } -impl ::core::cmp::PartialEq for IDebugFAEntryTags { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugFAEntryTags {} -impl ::core::fmt::Debug for IDebugFAEntryTags { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugFAEntryTags").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugFAEntryTags { type Vtable = IDebugFAEntryTags_Vtbl; } -impl ::core::clone::Clone for IDebugFAEntryTags { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IDebugFAEntryTags_Vtbl { @@ -13639,6 +12829,7 @@ pub struct IDebugFAEntryTags_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugFailureAnalysis(::windows_core::IUnknown); impl IDebugFailureAnalysis { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -13673,25 +12864,9 @@ impl IDebugFailureAnalysis { } } ::windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugFailureAnalysis { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugFailureAnalysis {} -impl ::core::fmt::Debug for IDebugFailureAnalysis { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugFailureAnalysis").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugFailureAnalysis { type Vtable = IDebugFailureAnalysis_Vtbl; } -impl ::core::clone::Clone for IDebugFailureAnalysis { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugFailureAnalysis { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed0de363_451f_4943_820c_62dccdfa7e6d); } @@ -13712,6 +12887,7 @@ pub struct IDebugFailureAnalysis_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugFailureAnalysis2(::windows_core::IUnknown); impl IDebugFailureAnalysis2 { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -13804,25 +12980,9 @@ impl IDebugFailureAnalysis2 { } } ::windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugFailureAnalysis2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugFailureAnalysis2 {} -impl ::core::fmt::Debug for IDebugFailureAnalysis2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugFailureAnalysis2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugFailureAnalysis2 { type Vtable = IDebugFailureAnalysis2_Vtbl; } -impl ::core::clone::Clone for IDebugFailureAnalysis2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugFailureAnalysis2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea15c288_8226_4b70_acf6_0be6b189e3ad); } @@ -13859,6 +13019,7 @@ pub struct IDebugFailureAnalysis2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugFailureAnalysis3(::windows_core::IUnknown); impl IDebugFailureAnalysis3 { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -14041,25 +13202,9 @@ impl IDebugFailureAnalysis3 { } } ::windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugFailureAnalysis3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugFailureAnalysis3 {} -impl ::core::fmt::Debug for IDebugFailureAnalysis3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugFailureAnalysis3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugFailureAnalysis3 { type Vtable = IDebugFailureAnalysis3_Vtbl; } -impl ::core::clone::Clone for IDebugFailureAnalysis3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugFailureAnalysis3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3627dc67_fd45_42ff_9ba4_4a67ee64619f); } @@ -14122,6 +13267,7 @@ pub struct IDebugFailureAnalysis3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHost(::windows_core::IUnknown); impl IDebugHost { pub unsafe fn GetHostDefinedInterface(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -14138,25 +13284,9 @@ impl IDebugHost { } } ::windows_core::imp::interface_hierarchy!(IDebugHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHost {} -impl ::core::fmt::Debug for IDebugHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHost { type Vtable = IDebugHost_Vtbl; } -impl ::core::clone::Clone for IDebugHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8c74943_6b2c_4eeb_b5c5_35d378a6d99d); } @@ -14170,6 +13300,7 @@ pub struct IDebugHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostBaseClass(::windows_core::IUnknown); impl IDebugHostBaseClass { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -14212,25 +13343,9 @@ impl IDebugHostBaseClass { } } ::windows_core::imp::interface_hierarchy!(IDebugHostBaseClass, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostBaseClass { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostBaseClass {} -impl ::core::fmt::Debug for IDebugHostBaseClass { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostBaseClass").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostBaseClass { type Vtable = IDebugHostBaseClass_Vtbl; } -impl ::core::clone::Clone for IDebugHostBaseClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostBaseClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb94d57d2_390b_40f7_b5b4_b6db897d974b); } @@ -14242,6 +13357,7 @@ pub struct IDebugHostBaseClass_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostConstant(::windows_core::IUnknown); impl IDebugHostConstant { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -14286,25 +13402,9 @@ impl IDebugHostConstant { } } ::windows_core::imp::interface_hierarchy!(IDebugHostConstant, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostConstant { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostConstant {} -impl ::core::fmt::Debug for IDebugHostConstant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostConstant").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostConstant { type Vtable = IDebugHostConstant_Vtbl; } -impl ::core::clone::Clone for IDebugHostConstant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostConstant { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62787edc_fa76_4690_bd71_5e8c3e2937ec); } @@ -14319,6 +13419,7 @@ pub struct IDebugHostConstant_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostContext(::windows_core::IUnknown); impl IDebugHostContext { pub unsafe fn IsEqualTo(&self, pcontext: P0) -> ::windows_core::Result @@ -14330,25 +13431,9 @@ impl IDebugHostContext { } } ::windows_core::imp::interface_hierarchy!(IDebugHostContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostContext {} -impl ::core::fmt::Debug for IDebugHostContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostContext { type Vtable = IDebugHostContext_Vtbl; } -impl ::core::clone::Clone for IDebugHostContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa68c70d8_5ec0_46e5_b775_3134a48ea2e3); } @@ -14360,6 +13445,7 @@ pub struct IDebugHostContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostData(::windows_core::IUnknown); impl IDebugHostData { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -14412,25 +13498,9 @@ impl IDebugHostData { } } ::windows_core::imp::interface_hierarchy!(IDebugHostData, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostData {} -impl ::core::fmt::Debug for IDebugHostData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostData { type Vtable = IDebugHostData_Vtbl; } -impl ::core::clone::Clone for IDebugHostData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3d64993_826c_44fa_897d_926f2fe7ad0b); } @@ -14447,6 +13517,7 @@ pub struct IDebugHostData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostErrorSink(::windows_core::IUnknown); impl IDebugHostErrorSink { pub unsafe fn ReportError(&self, errclass: ErrorClass, hrerror: ::windows_core::HRESULT, message: P0) -> ::windows_core::Result<()> @@ -14457,25 +13528,9 @@ impl IDebugHostErrorSink { } } ::windows_core::imp::interface_hierarchy!(IDebugHostErrorSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostErrorSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostErrorSink {} -impl ::core::fmt::Debug for IDebugHostErrorSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostErrorSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostErrorSink { type Vtable = IDebugHostErrorSink_Vtbl; } -impl ::core::clone::Clone for IDebugHostErrorSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostErrorSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8ff0f0b_fce9_467e_8bb3_5d69ef109c00); } @@ -14487,6 +13542,7 @@ pub struct IDebugHostErrorSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostEvaluator(::windows_core::IUnknown); impl IDebugHostEvaluator { pub unsafe fn EvaluateExpression(&self, context: P0, expression: P1, bindingcontext: P2, result: *mut ::core::option::Option, metadata: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -14502,30 +13558,14 @@ impl IDebugHostEvaluator { P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam, - { - (::windows_core::Interface::vtable(self).EvaluateExtendedExpression)(::windows_core::Interface::as_raw(self), context.into_param().abi(), expression.into_param().abi(), bindingcontext.into_param().abi(), ::core::mem::transmute(result), ::core::mem::transmute(metadata.unwrap_or(::std::ptr::null_mut()))).ok() - } -} -::windows_core::imp::interface_hierarchy!(IDebugHostEvaluator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostEvaluator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostEvaluator {} -impl ::core::fmt::Debug for IDebugHostEvaluator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostEvaluator").field(&self.0).finish() + { + (::windows_core::Interface::vtable(self).EvaluateExtendedExpression)(::windows_core::Interface::as_raw(self), context.into_param().abi(), expression.into_param().abi(), bindingcontext.into_param().abi(), ::core::mem::transmute(result), ::core::mem::transmute(metadata.unwrap_or(::std::ptr::null_mut()))).ok() } } +::windows_core::imp::interface_hierarchy!(IDebugHostEvaluator, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDebugHostEvaluator { type Vtable = IDebugHostEvaluator_Vtbl; } -impl ::core::clone::Clone for IDebugHostEvaluator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostEvaluator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fef9a21_577e_4997_ac7b_1c4883241d99); } @@ -14538,6 +13578,7 @@ pub struct IDebugHostEvaluator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostEvaluator2(::windows_core::IUnknown); impl IDebugHostEvaluator2 { pub unsafe fn EvaluateExpression(&self, context: P0, expression: P1, bindingcontext: P2, result: *mut ::core::option::Option, metadata: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -14565,25 +13606,9 @@ impl IDebugHostEvaluator2 { } } ::windows_core::imp::interface_hierarchy!(IDebugHostEvaluator2, ::windows_core::IUnknown, IDebugHostEvaluator); -impl ::core::cmp::PartialEq for IDebugHostEvaluator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostEvaluator2 {} -impl ::core::fmt::Debug for IDebugHostEvaluator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostEvaluator2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostEvaluator2 { type Vtable = IDebugHostEvaluator2_Vtbl; } -impl ::core::clone::Clone for IDebugHostEvaluator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostEvaluator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa117a435_1fb4_4092_a2ab_a929576c1e87); } @@ -14595,6 +13620,7 @@ pub struct IDebugHostEvaluator2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostExtensibility(::windows_core::IUnknown); impl IDebugHostExtensibility { pub unsafe fn CreateFunctionAlias(&self, aliasname: P0, functionobject: P1) -> ::windows_core::Result<()> @@ -14612,25 +13638,9 @@ impl IDebugHostExtensibility { } } ::windows_core::imp::interface_hierarchy!(IDebugHostExtensibility, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostExtensibility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostExtensibility {} -impl ::core::fmt::Debug for IDebugHostExtensibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostExtensibility").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostExtensibility { type Vtable = IDebugHostExtensibility_Vtbl; } -impl ::core::clone::Clone for IDebugHostExtensibility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostExtensibility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c2b24e1_11d0_4f86_8ae5_4df166f73253); } @@ -14643,6 +13653,7 @@ pub struct IDebugHostExtensibility_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostField(::windows_core::IUnknown); impl IDebugHostField { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -14699,25 +13710,9 @@ impl IDebugHostField { } } ::windows_core::imp::interface_hierarchy!(IDebugHostField, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostField {} -impl ::core::fmt::Debug for IDebugHostField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostField").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostField { type Vtable = IDebugHostField_Vtbl; } -impl ::core::clone::Clone for IDebugHostField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostField { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe06f6495_16bc_4cc9_b11d_2a6b23fa72f3); } @@ -14735,6 +13730,7 @@ pub struct IDebugHostField_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostMemory(::windows_core::IUnknown); impl IDebugHostMemory { pub unsafe fn ReadBytes(&self, context: P0, location: Location, buffer: *mut ::core::ffi::c_void, buffersize: u64, bytesread: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> @@ -14770,25 +13766,9 @@ impl IDebugHostMemory { } } ::windows_core::imp::interface_hierarchy!(IDebugHostMemory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostMemory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostMemory {} -impl ::core::fmt::Debug for IDebugHostMemory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostMemory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostMemory { type Vtable = IDebugHostMemory_Vtbl; } -impl ::core::clone::Clone for IDebugHostMemory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostMemory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x212149c9_9183_4a3e_b00e_4fd1dc95339b); } @@ -14804,6 +13784,7 @@ pub struct IDebugHostMemory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostMemory2(::windows_core::IUnknown); impl IDebugHostMemory2 { pub unsafe fn ReadBytes(&self, context: P0, location: Location, buffer: *mut ::core::ffi::c_void, buffersize: u64, bytesread: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> @@ -14846,25 +13827,9 @@ impl IDebugHostMemory2 { } } ::windows_core::imp::interface_hierarchy!(IDebugHostMemory2, ::windows_core::IUnknown, IDebugHostMemory); -impl ::core::cmp::PartialEq for IDebugHostMemory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostMemory2 {} -impl ::core::fmt::Debug for IDebugHostMemory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostMemory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostMemory2 { type Vtable = IDebugHostMemory2_Vtbl; } -impl ::core::clone::Clone for IDebugHostMemory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostMemory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea033de_38f6_416b_a251_1d3771001270); } @@ -14876,6 +13841,7 @@ pub struct IDebugHostMemory2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostModule(::windows_core::IUnknown); impl IDebugHostModule { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -14943,25 +13909,9 @@ impl IDebugHostModule { } } ::windows_core::imp::interface_hierarchy!(IDebugHostModule, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostModule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostModule {} -impl ::core::fmt::Debug for IDebugHostModule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostModule").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostModule { type Vtable = IDebugHostModule_Vtbl; } -impl ::core::clone::Clone for IDebugHostModule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostModule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9ba3e18_d070_4378_bbd0_34613b346e1e); } @@ -14978,6 +13928,7 @@ pub struct IDebugHostModule_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostModule2(::windows_core::IUnknown); impl IDebugHostModule2 { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15048,25 +13999,9 @@ impl IDebugHostModule2 { } } ::windows_core::imp::interface_hierarchy!(IDebugHostModule2, ::windows_core::IUnknown, IDebugHostSymbol, IDebugHostModule); -impl ::core::cmp::PartialEq for IDebugHostModule2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostModule2 {} -impl ::core::fmt::Debug for IDebugHostModule2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostModule2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostModule2 { type Vtable = IDebugHostModule2_Vtbl; } -impl ::core::clone::Clone for IDebugHostModule2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostModule2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb51887e8_bcd0_4e8f_a8c7_434398b78c37); } @@ -15078,6 +14013,7 @@ pub struct IDebugHostModule2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostModuleSignature(::windows_core::IUnknown); impl IDebugHostModuleSignature { pub unsafe fn IsMatch(&self, pmodule: P0) -> ::windows_core::Result @@ -15089,25 +14025,9 @@ impl IDebugHostModuleSignature { } } ::windows_core::imp::interface_hierarchy!(IDebugHostModuleSignature, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostModuleSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostModuleSignature {} -impl ::core::fmt::Debug for IDebugHostModuleSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostModuleSignature").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostModuleSignature { type Vtable = IDebugHostModuleSignature_Vtbl; } -impl ::core::clone::Clone for IDebugHostModuleSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostModuleSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31e53a5a_01ee_4bbb_b899_4b46ae7d595c); } @@ -15119,6 +14039,7 @@ pub struct IDebugHostModuleSignature_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostPublic(::windows_core::IUnknown); impl IDebugHostPublic { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15165,25 +14086,9 @@ impl IDebugHostPublic { } } ::windows_core::imp::interface_hierarchy!(IDebugHostPublic, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostPublic { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostPublic {} -impl ::core::fmt::Debug for IDebugHostPublic { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostPublic").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostPublic { type Vtable = IDebugHostPublic_Vtbl; } -impl ::core::clone::Clone for IDebugHostPublic { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostPublic { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c597ac9_fb4d_4f6d_9f39_22488539f8f4); } @@ -15196,6 +14101,7 @@ pub struct IDebugHostPublic_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostScriptHost(::windows_core::IUnknown); impl IDebugHostScriptHost { pub unsafe fn CreateContext(&self, script: P0) -> ::windows_core::Result @@ -15207,25 +14113,9 @@ impl IDebugHostScriptHost { } } ::windows_core::imp::interface_hierarchy!(IDebugHostScriptHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostScriptHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostScriptHost {} -impl ::core::fmt::Debug for IDebugHostScriptHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostScriptHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostScriptHost { type Vtable = IDebugHostScriptHost_Vtbl; } -impl ::core::clone::Clone for IDebugHostScriptHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostScriptHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb70334a4_b92c_4570_93a1_d3eb686649a0); } @@ -15237,6 +14127,7 @@ pub struct IDebugHostScriptHost_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostStatus(::windows_core::IUnknown); impl IDebugHostStatus { pub unsafe fn PollUserInterrupt(&self) -> ::windows_core::Result { @@ -15245,25 +14136,9 @@ impl IDebugHostStatus { } } ::windows_core::imp::interface_hierarchy!(IDebugHostStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostStatus {} -impl ::core::fmt::Debug for IDebugHostStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostStatus { type Vtable = IDebugHostStatus_Vtbl; } -impl ::core::clone::Clone for IDebugHostStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f3e1ce2_86b2_4c7a_9c65_d0a9d0eecf44); } @@ -15275,6 +14150,7 @@ pub struct IDebugHostStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostSymbol(::windows_core::IUnknown); impl IDebugHostSymbol { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15313,25 +14189,9 @@ impl IDebugHostSymbol { } } ::windows_core::imp::interface_hierarchy!(IDebugHostSymbol, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostSymbol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostSymbol {} -impl ::core::fmt::Debug for IDebugHostSymbol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostSymbol").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostSymbol { type Vtable = IDebugHostSymbol_Vtbl; } -impl ::core::clone::Clone for IDebugHostSymbol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostSymbol { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f819103_87de_4e96_8277_e05cd441fb22); } @@ -15349,6 +14209,7 @@ pub struct IDebugHostSymbol_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostSymbol2(::windows_core::IUnknown); impl IDebugHostSymbol2 { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15391,25 +14252,9 @@ impl IDebugHostSymbol2 { } } ::windows_core::imp::interface_hierarchy!(IDebugHostSymbol2, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostSymbol2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostSymbol2 {} -impl ::core::fmt::Debug for IDebugHostSymbol2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostSymbol2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostSymbol2 { type Vtable = IDebugHostSymbol2_Vtbl; } -impl ::core::clone::Clone for IDebugHostSymbol2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostSymbol2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21515b67_6720_4257_8a68_077dc944471c); } @@ -15421,6 +14266,7 @@ pub struct IDebugHostSymbol2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostSymbolEnumerator(::windows_core::IUnknown); impl IDebugHostSymbolEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -15432,25 +14278,9 @@ impl IDebugHostSymbolEnumerator { } } ::windows_core::imp::interface_hierarchy!(IDebugHostSymbolEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostSymbolEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostSymbolEnumerator {} -impl ::core::fmt::Debug for IDebugHostSymbolEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostSymbolEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostSymbolEnumerator { type Vtable = IDebugHostSymbolEnumerator_Vtbl; } -impl ::core::clone::Clone for IDebugHostSymbolEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostSymbolEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28d96c86_10a3_4976_b14e_eaef4790aa1f); } @@ -15463,6 +14293,7 @@ pub struct IDebugHostSymbolEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostSymbols(::windows_core::IUnknown); impl IDebugHostSymbols { pub unsafe fn CreateModuleSignature(&self, pwszmodulename: P0, pwszminversion: P1, pwszmaxversion: P2) -> ::windows_core::Result @@ -15523,25 +14354,9 @@ impl IDebugHostSymbols { } } ::windows_core::imp::interface_hierarchy!(IDebugHostSymbols, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostSymbols { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostSymbols {} -impl ::core::fmt::Debug for IDebugHostSymbols { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostSymbols").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostSymbols { type Vtable = IDebugHostSymbols_Vtbl; } -impl ::core::clone::Clone for IDebugHostSymbols { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostSymbols { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x854fd751_c2e1_4eb2_b525_6619cb97a588); } @@ -15559,6 +14374,7 @@ pub struct IDebugHostSymbols_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostType(::windows_core::IUnknown); impl IDebugHostType { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15670,25 +14486,9 @@ impl IDebugHostType { } } ::windows_core::imp::interface_hierarchy!(IDebugHostType, ::windows_core::IUnknown, IDebugHostSymbol); -impl ::core::cmp::PartialEq for IDebugHostType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostType {} -impl ::core::fmt::Debug for IDebugHostType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostType { type Vtable = IDebugHostType_Vtbl; } -impl ::core::clone::Clone for IDebugHostType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3aadc353_2b14_4abb_9893_5e03458e07ee); } @@ -15718,6 +14518,7 @@ pub struct IDebugHostType_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostType2(::windows_core::IUnknown); impl IDebugHostType2 { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -15849,25 +14650,9 @@ impl IDebugHostType2 { } } ::windows_core::imp::interface_hierarchy!(IDebugHostType2, ::windows_core::IUnknown, IDebugHostSymbol, IDebugHostType); -impl ::core::cmp::PartialEq for IDebugHostType2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostType2 {} -impl ::core::fmt::Debug for IDebugHostType2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostType2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostType2 { type Vtable = IDebugHostType2_Vtbl; } -impl ::core::clone::Clone for IDebugHostType2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostType2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb28632b9_8506_4676_87ce_8f7e05e59876); } @@ -15883,6 +14668,7 @@ pub struct IDebugHostType2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugHostTypeSignature(::windows_core::IUnknown); impl IDebugHostTypeSignature { pub unsafe fn GetHashCode(&self) -> ::windows_core::Result { @@ -15904,25 +14690,9 @@ impl IDebugHostTypeSignature { } } ::windows_core::imp::interface_hierarchy!(IDebugHostTypeSignature, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugHostTypeSignature { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugHostTypeSignature {} -impl ::core::fmt::Debug for IDebugHostTypeSignature { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugHostTypeSignature").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugHostTypeSignature { type Vtable = IDebugHostTypeSignature_Vtbl; } -impl ::core::clone::Clone for IDebugHostTypeSignature { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugHostTypeSignature { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3aadc353_2b14_4abb_9893_5e03458e07ee); } @@ -15936,6 +14706,7 @@ pub struct IDebugHostTypeSignature_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugInputCallbacks(::windows_core::IUnknown); impl IDebugInputCallbacks { pub unsafe fn StartInput(&self, buffersize: u32) -> ::windows_core::Result<()> { @@ -15946,25 +14717,9 @@ impl IDebugInputCallbacks { } } ::windows_core::imp::interface_hierarchy!(IDebugInputCallbacks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugInputCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugInputCallbacks {} -impl ::core::fmt::Debug for IDebugInputCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugInputCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugInputCallbacks { type Vtable = IDebugInputCallbacks_Vtbl; } -impl ::core::clone::Clone for IDebugInputCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugInputCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f50e42c_f136_499e_9a97_73036c94ed2d); } @@ -15977,6 +14732,7 @@ pub struct IDebugInputCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugOutputCallbacks(::windows_core::IUnknown); impl IDebugOutputCallbacks { pub unsafe fn Output(&self, mask: u32, text: P0) -> ::windows_core::Result<()> @@ -15987,25 +14743,9 @@ impl IDebugOutputCallbacks { } } ::windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugOutputCallbacks { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugOutputCallbacks {} -impl ::core::fmt::Debug for IDebugOutputCallbacks { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugOutputCallbacks").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugOutputCallbacks { type Vtable = IDebugOutputCallbacks_Vtbl; } -impl ::core::clone::Clone for IDebugOutputCallbacks { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugOutputCallbacks { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4bf58045_d654_4c40_b0af_683090f356dc); } @@ -16017,6 +14757,7 @@ pub struct IDebugOutputCallbacks_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugOutputCallbacks2(::windows_core::IUnknown); impl IDebugOutputCallbacks2 { pub unsafe fn Output(&self, mask: u32, text: P0) -> ::windows_core::Result<()> @@ -16037,25 +14778,9 @@ impl IDebugOutputCallbacks2 { } } ::windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugOutputCallbacks2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugOutputCallbacks2 {} -impl ::core::fmt::Debug for IDebugOutputCallbacks2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugOutputCallbacks2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugOutputCallbacks2 { type Vtable = IDebugOutputCallbacks2_Vtbl; } -impl ::core::clone::Clone for IDebugOutputCallbacks2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugOutputCallbacks2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67721fe9_56d2_4a44_a325_2b65513ce6eb); } @@ -16069,6 +14794,7 @@ pub struct IDebugOutputCallbacks2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugOutputCallbacksWide(::windows_core::IUnknown); impl IDebugOutputCallbacksWide { pub unsafe fn Output(&self, mask: u32, text: P0) -> ::windows_core::Result<()> @@ -16079,25 +14805,9 @@ impl IDebugOutputCallbacksWide { } } ::windows_core::imp::interface_hierarchy!(IDebugOutputCallbacksWide, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugOutputCallbacksWide { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugOutputCallbacksWide {} -impl ::core::fmt::Debug for IDebugOutputCallbacksWide { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugOutputCallbacksWide").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugOutputCallbacksWide { type Vtable = IDebugOutputCallbacksWide_Vtbl; } -impl ::core::clone::Clone for IDebugOutputCallbacksWide { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugOutputCallbacksWide { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c7fd663_c394_4e26_8ef1_34ad5ed3764c); } @@ -16109,6 +14819,7 @@ pub struct IDebugOutputCallbacksWide_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugOutputStream(::windows_core::IUnknown); impl IDebugOutputStream { pub unsafe fn Write(&self, psz: P0) -> ::windows_core::Result<()> @@ -16119,25 +14830,9 @@ impl IDebugOutputStream { } } ::windows_core::imp::interface_hierarchy!(IDebugOutputStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugOutputStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugOutputStream {} -impl ::core::fmt::Debug for IDebugOutputStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugOutputStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugOutputStream { type Vtable = IDebugOutputStream_Vtbl; } -impl ::core::clone::Clone for IDebugOutputStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugOutputStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7782d8f2_2b85_4059_ab88_28ceddca1c80); } @@ -16149,6 +14844,7 @@ pub struct IDebugOutputStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPlmClient(::windows_core::IUnknown); impl IDebugPlmClient { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> ::windows_core::Result<()> @@ -16161,25 +14857,9 @@ impl IDebugPlmClient { } } ::windows_core::imp::interface_hierarchy!(IDebugPlmClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugPlmClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPlmClient {} -impl ::core::fmt::Debug for IDebugPlmClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPlmClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPlmClient { type Vtable = IDebugPlmClient_Vtbl; } -impl ::core::clone::Clone for IDebugPlmClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPlmClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa02b66c4_aea3_4234_a9f7_fe4c383d4e29); } @@ -16191,6 +14871,7 @@ pub struct IDebugPlmClient_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPlmClient2(::windows_core::IUnknown); impl IDebugPlmClient2 { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> ::windows_core::Result<()> @@ -16210,25 +14891,9 @@ impl IDebugPlmClient2 { } } ::windows_core::imp::interface_hierarchy!(IDebugPlmClient2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugPlmClient2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPlmClient2 {} -impl ::core::fmt::Debug for IDebugPlmClient2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPlmClient2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPlmClient2 { type Vtable = IDebugPlmClient2_Vtbl; } -impl ::core::clone::Clone for IDebugPlmClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPlmClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x597c980d_e7bd_4309_962c_9d9b69a7372c); } @@ -16241,6 +14906,7 @@ pub struct IDebugPlmClient2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPlmClient3(::windows_core::IUnknown); impl IDebugPlmClient3 { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> ::windows_core::Result<()> @@ -16318,25 +14984,9 @@ impl IDebugPlmClient3 { } } ::windows_core::imp::interface_hierarchy!(IDebugPlmClient3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugPlmClient3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPlmClient3 {} -impl ::core::fmt::Debug for IDebugPlmClient3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPlmClient3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPlmClient3 { type Vtable = IDebugPlmClient3_Vtbl; } -impl ::core::clone::Clone for IDebugPlmClient3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPlmClient3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4a5dbd1_ca02_4d90_856a_2a92bfd0f20f); } @@ -16358,6 +15008,7 @@ pub struct IDebugPlmClient3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugRegisters(::windows_core::IUnknown); impl IDebugRegisters { pub unsafe fn GetNumberRegisters(&self) -> ::windows_core::Result { @@ -16411,25 +15062,9 @@ impl IDebugRegisters { } } ::windows_core::imp::interface_hierarchy!(IDebugRegisters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugRegisters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugRegisters {} -impl ::core::fmt::Debug for IDebugRegisters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugRegisters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugRegisters { type Vtable = IDebugRegisters_Vtbl; } -impl ::core::clone::Clone for IDebugRegisters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugRegisters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce289126_9e84_45a7_937e_67bb18691493); } @@ -16463,6 +15098,7 @@ pub struct IDebugRegisters_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugRegisters2(::windows_core::IUnknown); impl IDebugRegisters2 { pub unsafe fn GetNumberRegisters(&self) -> ::windows_core::Result { @@ -16584,26 +15220,10 @@ impl IDebugRegisters2 { (::windows_core::Interface::vtable(self).GetFrameOffset2)(::windows_core::Interface::as_raw(self), source, &mut result__).from_abi(result__) } } -::windows_core::imp::interface_hierarchy!(IDebugRegisters2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugRegisters2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugRegisters2 {} -impl ::core::fmt::Debug for IDebugRegisters2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugRegisters2").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IDebugRegisters2, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IDebugRegisters2 { type Vtable = IDebugRegisters2_Vtbl; } -impl ::core::clone::Clone for IDebugRegisters2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugRegisters2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1656afa9_19c6_4e3a_97e7_5dc9160cf9c4); } @@ -16664,6 +15284,7 @@ pub struct IDebugRegisters2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbolGroup(::windows_core::IUnknown); impl IDebugSymbolGroup { pub unsafe fn GetNumberSymbols(&self) -> ::windows_core::Result { @@ -16716,25 +15337,9 @@ impl IDebugSymbolGroup { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbolGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbolGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbolGroup {} -impl ::core::fmt::Debug for IDebugSymbolGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbolGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbolGroup { type Vtable = IDebugSymbolGroup_Vtbl; } -impl ::core::clone::Clone for IDebugSymbolGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbolGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2528316_0f1a_4431_aeed_11d096e1e2ab); } @@ -16758,6 +15363,7 @@ pub struct IDebugSymbolGroup_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbolGroup2(::windows_core::IUnknown); impl IDebugSymbolGroup2 { pub unsafe fn GetNumberSymbols(&self) -> ::windows_core::Result { @@ -16864,25 +15470,9 @@ impl IDebugSymbolGroup2 { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbolGroup2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbolGroup2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbolGroup2 {} -impl ::core::fmt::Debug for IDebugSymbolGroup2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbolGroup2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbolGroup2 { type Vtable = IDebugSymbolGroup2_Vtbl; } -impl ::core::clone::Clone for IDebugSymbolGroup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbolGroup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a7ccc5f_fb5e_4dcc_b41c_6c20307bccc7); } @@ -16919,6 +15509,7 @@ pub struct IDebugSymbolGroup2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbols(::windows_core::IUnknown); impl IDebugSymbols { pub unsafe fn GetSymbolOptions(&self) -> ::windows_core::Result { @@ -17153,25 +15744,9 @@ impl IDebugSymbols { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbols, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbols { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbols {} -impl ::core::fmt::Debug for IDebugSymbols { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbols").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbols { type Vtable = IDebugSymbols_Vtbl; } -impl ::core::clone::Clone for IDebugSymbols { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbols { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c31e98c_983a_48a5_9016_6fe5d667a950); } @@ -17237,6 +15812,7 @@ pub struct IDebugSymbols_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbols2(::windows_core::IUnknown); impl IDebugSymbols2 { pub unsafe fn GetSymbolOptions(&self) -> ::windows_core::Result { @@ -17499,25 +16075,9 @@ impl IDebugSymbols2 { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbols2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbols2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbols2 {} -impl ::core::fmt::Debug for IDebugSymbols2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbols2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbols2 { type Vtable = IDebugSymbols2_Vtbl; } -impl ::core::clone::Clone for IDebugSymbols2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbols2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a707211_afdd_4495_ad4f_56fecdf8163f); } @@ -17591,6 +16151,7 @@ pub struct IDebugSymbols2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbols3(::windows_core::IUnknown); impl IDebugSymbols3 { pub unsafe fn GetSymbolOptions(&self) -> ::windows_core::Result { @@ -18157,25 +16718,9 @@ impl IDebugSymbols3 { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbols3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbols3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbols3 {} -impl ::core::fmt::Debug for IDebugSymbols3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbols3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbols3 { type Vtable = IDebugSymbols3_Vtbl; } -impl ::core::clone::Clone for IDebugSymbols3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbols3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf02fbecc_50ac_4f36_9ad9_c975e8f32ff8); } @@ -18315,6 +16860,7 @@ pub struct IDebugSymbols3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbols4(::windows_core::IUnknown); impl IDebugSymbols4 { pub unsafe fn GetSymbolOptions(&self) -> ::windows_core::Result { @@ -18906,25 +17452,9 @@ impl IDebugSymbols4 { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbols4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbols4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbols4 {} -impl ::core::fmt::Debug for IDebugSymbols4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbols4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbols4 { type Vtable = IDebugSymbols4_Vtbl; } -impl ::core::clone::Clone for IDebugSymbols4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbols4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe391bbd8_9d8c_4418_840b_c006592a1752); } @@ -19077,6 +17607,7 @@ pub struct IDebugSymbols4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSymbols5(::windows_core::IUnknown); impl IDebugSymbols5 { pub unsafe fn GetSymbolOptions(&self) -> ::windows_core::Result { @@ -19675,25 +18206,9 @@ impl IDebugSymbols5 { } } ::windows_core::imp::interface_hierarchy!(IDebugSymbols5, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSymbols5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSymbols5 {} -impl ::core::fmt::Debug for IDebugSymbols5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSymbols5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSymbols5 { type Vtable = IDebugSymbols5_Vtbl; } -impl ::core::clone::Clone for IDebugSymbols5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSymbols5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc65fa83e_1e69_475e_8e0e_b5d79e9cc17e); } @@ -19848,6 +18363,7 @@ pub struct IDebugSymbols5_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSystemObjects(::windows_core::IUnknown); impl IDebugSystemObjects { pub unsafe fn GetEventThread(&self) -> ::windows_core::Result { @@ -19962,25 +18478,9 @@ impl IDebugSystemObjects { } } ::windows_core::imp::interface_hierarchy!(IDebugSystemObjects, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSystemObjects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSystemObjects {} -impl ::core::fmt::Debug for IDebugSystemObjects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSystemObjects").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSystemObjects { type Vtable = IDebugSystemObjects_Vtbl; } -impl ::core::clone::Clone for IDebugSystemObjects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSystemObjects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b86fe2c_2c4f_4f0c_9da2_174311acc327); } @@ -20020,6 +18520,7 @@ pub struct IDebugSystemObjects_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSystemObjects2(::windows_core::IUnknown); impl IDebugSystemObjects2 { pub unsafe fn GetEventThread(&self) -> ::windows_core::Result { @@ -20152,25 +18653,9 @@ impl IDebugSystemObjects2 { } } ::windows_core::imp::interface_hierarchy!(IDebugSystemObjects2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSystemObjects2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSystemObjects2 {} -impl ::core::fmt::Debug for IDebugSystemObjects2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSystemObjects2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSystemObjects2 { type Vtable = IDebugSystemObjects2_Vtbl; } -impl ::core::clone::Clone for IDebugSystemObjects2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSystemObjects2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ae9f5ff_1852_4679_b055_494bee6407ee); } @@ -20215,6 +18700,7 @@ pub struct IDebugSystemObjects2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSystemObjects3(::windows_core::IUnknown); impl IDebugSystemObjects3 { pub unsafe fn GetEventThread(&self) -> ::windows_core::Result { @@ -20379,25 +18865,9 @@ impl IDebugSystemObjects3 { } } ::windows_core::imp::interface_hierarchy!(IDebugSystemObjects3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSystemObjects3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSystemObjects3 {} -impl ::core::fmt::Debug for IDebugSystemObjects3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSystemObjects3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSystemObjects3 { type Vtable = IDebugSystemObjects3_Vtbl; } -impl ::core::clone::Clone for IDebugSystemObjects3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSystemObjects3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9676e2f_e286_4ea3_b0f9_dfe5d9fc330e); } @@ -20451,6 +18921,7 @@ pub struct IDebugSystemObjects3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugSystemObjects4(::windows_core::IUnknown); impl IDebugSystemObjects4 { pub unsafe fn GetEventThread(&self) -> ::windows_core::Result { @@ -20621,25 +19092,9 @@ impl IDebugSystemObjects4 { } } ::windows_core::imp::interface_hierarchy!(IDebugSystemObjects4, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugSystemObjects4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugSystemObjects4 {} -impl ::core::fmt::Debug for IDebugSystemObjects4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugSystemObjects4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugSystemObjects4 { type Vtable = IDebugSystemObjects4_Vtbl; } -impl ::core::clone::Clone for IDebugSystemObjects4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugSystemObjects4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x489468e6_7d0f_4af5_87ab_25207454d553); } @@ -20695,6 +19150,7 @@ pub struct IDebugSystemObjects4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicConceptProviderConcept(::windows_core::IUnknown); impl IDynamicConceptProviderConcept { pub unsafe fn GetConcept(&self, contextobject: P0, conceptid: *const ::windows_core::GUID, conceptinterface: *mut ::core::option::Option<::windows_core::IUnknown>, conceptmetadata: ::core::option::Option<*mut ::core::option::Option>, hasconcept: *mut bool) -> ::windows_core::Result<()> @@ -20728,25 +19184,9 @@ impl IDynamicConceptProviderConcept { } } ::windows_core::imp::interface_hierarchy!(IDynamicConceptProviderConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDynamicConceptProviderConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDynamicConceptProviderConcept {} -impl ::core::fmt::Debug for IDynamicConceptProviderConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicConceptProviderConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDynamicConceptProviderConcept { type Vtable = IDynamicConceptProviderConcept_Vtbl; } -impl ::core::clone::Clone for IDynamicConceptProviderConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDynamicConceptProviderConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95a7f7dd_602e_483f_9d06_a15c0ee13174); } @@ -20762,6 +19202,7 @@ pub struct IDynamicConceptProviderConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicKeyProviderConcept(::windows_core::IUnknown); impl IDynamicKeyProviderConcept { pub unsafe fn GetKey(&self, contextobject: P0, key: P1, keyvalue: ::core::option::Option<*mut ::core::option::Option>, metadata: ::core::option::Option<*mut ::core::option::Option>, haskey: ::core::option::Option<*mut bool>) -> ::windows_core::Result<()> @@ -20789,25 +19230,9 @@ impl IDynamicKeyProviderConcept { } } ::windows_core::imp::interface_hierarchy!(IDynamicKeyProviderConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDynamicKeyProviderConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDynamicKeyProviderConcept {} -impl ::core::fmt::Debug for IDynamicKeyProviderConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicKeyProviderConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDynamicKeyProviderConcept { type Vtable = IDynamicKeyProviderConcept_Vtbl; } -impl ::core::clone::Clone for IDynamicKeyProviderConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDynamicKeyProviderConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7983fa1_80a7_498c_988f_518ddc5d4025); } @@ -20821,6 +19246,7 @@ pub struct IDynamicKeyProviderConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEquatableConcept(::windows_core::IUnknown); impl IEquatableConcept { pub unsafe fn AreObjectsEqual(&self, contextobject: P0, otherobject: P1) -> ::windows_core::Result @@ -20833,25 +19259,9 @@ impl IEquatableConcept { } } ::windows_core::imp::interface_hierarchy!(IEquatableConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEquatableConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEquatableConcept {} -impl ::core::fmt::Debug for IEquatableConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEquatableConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEquatableConcept { type Vtable = IEquatableConcept_Vtbl; } -impl ::core::clone::Clone for IEquatableConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEquatableConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc52d5d3d_609d_4d5d_8a82_46b0acdec4f4); } @@ -20863,6 +19273,7 @@ pub struct IEquatableConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostDataModelAccess(::windows_core::IUnknown); impl IHostDataModelAccess { pub unsafe fn GetDataModel(&self, manager: *mut ::core::option::Option, host: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -20870,25 +19281,9 @@ impl IHostDataModelAccess { } } ::windows_core::imp::interface_hierarchy!(IHostDataModelAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostDataModelAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostDataModelAccess {} -impl ::core::fmt::Debug for IHostDataModelAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostDataModelAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostDataModelAccess { type Vtable = IHostDataModelAccess_Vtbl; } -impl ::core::clone::Clone for IHostDataModelAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostDataModelAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2bce54e_4835_4f8a_836e_7981e29904d1); } @@ -20900,6 +19295,7 @@ pub struct IHostDataModelAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndexableConcept(::windows_core::IUnknown); impl IIndexableConcept { pub unsafe fn GetDimensionality(&self, contextobject: P0) -> ::windows_core::Result @@ -20924,25 +19320,9 @@ impl IIndexableConcept { } } ::windows_core::imp::interface_hierarchy!(IIndexableConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIndexableConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIndexableConcept {} -impl ::core::fmt::Debug for IIndexableConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIndexableConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIndexableConcept { type Vtable = IIndexableConcept_Vtbl; } -impl ::core::clone::Clone for IIndexableConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndexableConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1fad99f_3f53_4457_850c_8051df2d3fb5); } @@ -20956,6 +19336,7 @@ pub struct IIndexableConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterableConcept(::windows_core::IUnknown); impl IIterableConcept { pub unsafe fn GetDefaultIndexDimensionality(&self, contextobject: P0) -> ::windows_core::Result @@ -20974,25 +19355,9 @@ impl IIterableConcept { } } ::windows_core::imp::interface_hierarchy!(IIterableConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIterableConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterableConcept {} -impl ::core::fmt::Debug for IIterableConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterableConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIterableConcept { type Vtable = IIterableConcept_Vtbl; } -impl ::core::clone::Clone for IIterableConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIterableConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5d49d0c_0b02_4301_9c9b_b3a6037628f3); } @@ -21005,6 +19370,7 @@ pub struct IIterableConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyEnumerator(::windows_core::IUnknown); impl IKeyEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -21015,25 +19381,9 @@ impl IKeyEnumerator { } } ::windows_core::imp::interface_hierarchy!(IKeyEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKeyEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKeyEnumerator {} -impl ::core::fmt::Debug for IKeyEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKeyEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKeyEnumerator { type Vtable = IKeyEnumerator_Vtbl; } -impl ::core::clone::Clone for IKeyEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x345fa92e_5e00_4319_9cae_971f7601cdcf); } @@ -21046,6 +19396,7 @@ pub struct IKeyEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyStore(::windows_core::IUnknown); impl IKeyStore { pub unsafe fn GetKey(&self, key: P0, object: ::core::option::Option<*mut ::core::option::Option>, metadata: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -21080,25 +19431,9 @@ impl IKeyStore { } } ::windows_core::imp::interface_hierarchy!(IKeyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKeyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKeyStore {} -impl ::core::fmt::Debug for IKeyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKeyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKeyStore { type Vtable = IKeyStore_Vtbl; } -impl ::core::clone::Clone for IKeyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKeyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fc7557d_401d_4fca_9365_da1e9850697c); } @@ -21114,6 +19449,7 @@ pub struct IKeyStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelIterator(::windows_core::IUnknown); impl IModelIterator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -21124,25 +19460,9 @@ impl IModelIterator { } } ::windows_core::imp::interface_hierarchy!(IModelIterator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModelIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelIterator {} -impl ::core::fmt::Debug for IModelIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelIterator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelIterator { type Vtable = IModelIterator_Vtbl; } -impl ::core::clone::Clone for IModelIterator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelIterator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4622136_927d_4490_874f_581f3e4e3688); } @@ -21155,6 +19475,7 @@ pub struct IModelIterator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelKeyReference(::windows_core::IUnknown); impl IModelKeyReference { pub unsafe fn GetKeyName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -21190,25 +19511,9 @@ impl IModelKeyReference { } } ::windows_core::imp::interface_hierarchy!(IModelKeyReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModelKeyReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelKeyReference {} -impl ::core::fmt::Debug for IModelKeyReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelKeyReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelKeyReference { type Vtable = IModelKeyReference_Vtbl; } -impl ::core::clone::Clone for IModelKeyReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelKeyReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5253dcf8_5aff_4c62_b302_56a289e00998); } @@ -21226,6 +19531,7 @@ pub struct IModelKeyReference_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelKeyReference2(::windows_core::IUnknown); impl IModelKeyReference2 { pub unsafe fn GetKeyName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -21267,25 +19573,9 @@ impl IModelKeyReference2 { } } ::windows_core::imp::interface_hierarchy!(IModelKeyReference2, ::windows_core::IUnknown, IModelKeyReference); -impl ::core::cmp::PartialEq for IModelKeyReference2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelKeyReference2 {} -impl ::core::fmt::Debug for IModelKeyReference2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelKeyReference2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelKeyReference2 { type Vtable = IModelKeyReference2_Vtbl; } -impl ::core::clone::Clone for IModelKeyReference2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelKeyReference2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80e2f7c5_7159_4e92_887e_7e0347e88406); } @@ -21297,6 +19587,7 @@ pub struct IModelKeyReference2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelMethod(::windows_core::IUnknown); impl IModelMethod { pub unsafe fn Call(&self, pcontextobject: P0, pparguments: &[::core::option::Option], ppresult: *mut ::core::option::Option, ppmetadata: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -21307,25 +19598,9 @@ impl IModelMethod { } } ::windows_core::imp::interface_hierarchy!(IModelMethod, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModelMethod { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelMethod {} -impl ::core::fmt::Debug for IModelMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelMethod").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelMethod { type Vtable = IModelMethod_Vtbl; } -impl ::core::clone::Clone for IModelMethod { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelMethod { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80600c1f_b90b_4896_82ad_1c00207909e8); } @@ -21337,6 +19612,7 @@ pub struct IModelMethod_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelObject(::windows_core::IUnknown); impl IModelObject { pub unsafe fn GetContext(&self) -> ::windows_core::Result { @@ -21510,25 +19786,9 @@ impl IModelObject { } } ::windows_core::imp::interface_hierarchy!(IModelObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModelObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelObject {} -impl ::core::fmt::Debug for IModelObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelObject { type Vtable = IModelObject_Vtbl; } -impl ::core::clone::Clone for IModelObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe28c7893_3f4b_4b96_baca_293cdc55f45d); } @@ -21578,6 +19838,7 @@ pub struct IModelObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModelPropertyAccessor(::windows_core::IUnknown); impl IModelPropertyAccessor { pub unsafe fn GetValue(&self, key: P0, contextobject: P1) -> ::windows_core::Result @@ -21598,25 +19859,9 @@ impl IModelPropertyAccessor { } } ::windows_core::imp::interface_hierarchy!(IModelPropertyAccessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModelPropertyAccessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModelPropertyAccessor {} -impl ::core::fmt::Debug for IModelPropertyAccessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModelPropertyAccessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModelPropertyAccessor { type Vtable = IModelPropertyAccessor_Vtbl; } -impl ::core::clone::Clone for IModelPropertyAccessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModelPropertyAccessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5a0c63d9_0526_42b8_960c_9516a3254c85); } @@ -21629,6 +19874,7 @@ pub struct IModelPropertyAccessor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreferredRuntimeTypeConcept(::windows_core::IUnknown); impl IPreferredRuntimeTypeConcept { pub unsafe fn CastToPreferredRuntimeType(&self, contextobject: P0) -> ::windows_core::Result @@ -21640,25 +19886,9 @@ impl IPreferredRuntimeTypeConcept { } } ::windows_core::imp::interface_hierarchy!(IPreferredRuntimeTypeConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPreferredRuntimeTypeConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreferredRuntimeTypeConcept {} -impl ::core::fmt::Debug for IPreferredRuntimeTypeConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreferredRuntimeTypeConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreferredRuntimeTypeConcept { type Vtable = IPreferredRuntimeTypeConcept_Vtbl; } -impl ::core::clone::Clone for IPreferredRuntimeTypeConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreferredRuntimeTypeConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d6c1d7b_a76f_4618_8068_5f76bd9a4e8a); } @@ -21670,6 +19900,7 @@ pub struct IPreferredRuntimeTypeConcept_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawEnumerator(::windows_core::IUnknown); impl IRawEnumerator { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -21680,25 +19911,9 @@ impl IRawEnumerator { } } ::windows_core::imp::interface_hierarchy!(IRawEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawEnumerator {} -impl ::core::fmt::Debug for IRawEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawEnumerator { type Vtable = IRawEnumerator_Vtbl; } -impl ::core::clone::Clone for IRawEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe13613f9_3a3c_40b5_8f48_1e5ebfb9b21b); } @@ -21711,6 +19926,7 @@ pub struct IRawEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringDisplayableConcept(::windows_core::IUnknown); impl IStringDisplayableConcept { pub unsafe fn ToDisplayString(&self, contextobject: P0, metadata: P1) -> ::windows_core::Result<::windows_core::BSTR> @@ -21723,25 +19939,9 @@ impl IStringDisplayableConcept { } } ::windows_core::imp::interface_hierarchy!(IStringDisplayableConcept, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStringDisplayableConcept { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringDisplayableConcept {} -impl ::core::fmt::Debug for IStringDisplayableConcept { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringDisplayableConcept").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStringDisplayableConcept { type Vtable = IStringDisplayableConcept_Vtbl; } -impl ::core::clone::Clone for IStringDisplayableConcept { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringDisplayableConcept { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd28e8d70_6c00_4205_940d_501016601ea3); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index 653f0612c2..e2401aaa6a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -31,8 +31,8 @@ impl IDebugExtendedProperty_Vtbl { EnumExtendedMembers: EnumExtendedMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDebugProperty_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -119,8 +119,8 @@ impl IDebugPropertyEnumType_All_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetName: GetName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl IDebugPropertyEnumType_Arguments_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Arguments_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Arguments_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -141,8 +141,8 @@ impl IDebugPropertyEnumType_Locals_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Locals_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Locals_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -152,8 +152,8 @@ impl IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_LocalsPlusArgs_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IDebugPropertyEnumType_Registers_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Registers_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Registers_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -227,8 +227,8 @@ impl IEnumDebugExtendedPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IEnumDebugPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -316,8 +316,8 @@ impl IObjectSafety_Vtbl { SetInterfaceSafetyOptions: SetInterfaceSafetyOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -373,7 +373,7 @@ impl IPerPropertyBrowsing2_Vtbl { SetPredefinedValue: SetPredefinedValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 27c34987cf..3f9c375e0a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -3167,6 +3167,7 @@ where } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugExtendedProperty(::windows_core::IUnknown); impl IDebugExtendedProperty { pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32, ppropertyinfo: *mut DebugPropertyInfo) -> ::windows_core::Result<()> { @@ -3202,25 +3203,9 @@ impl IDebugExtendedProperty { } } ::windows_core::imp::interface_hierarchy!(IDebugExtendedProperty, ::windows_core::IUnknown, IDebugProperty); -impl ::core::cmp::PartialEq for IDebugExtendedProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugExtendedProperty {} -impl ::core::fmt::Debug for IDebugExtendedProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugExtendedProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugExtendedProperty { type Vtable = IDebugExtendedProperty_Vtbl; } -impl ::core::clone::Clone for IDebugExtendedProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugExtendedProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c52_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3236,6 +3221,7 @@ pub struct IDebugExtendedProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugProperty(::windows_core::IUnknown); impl IDebugProperty { pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32, ppropertyinfo: *mut DebugPropertyInfo) -> ::windows_core::Result<()> { @@ -3262,25 +3248,9 @@ impl IDebugProperty { } } ::windows_core::imp::interface_hierarchy!(IDebugProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugProperty {} -impl ::core::fmt::Debug for IDebugProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugProperty { type Vtable = IDebugProperty_Vtbl; } -impl ::core::clone::Clone for IDebugProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c50_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3299,6 +3269,7 @@ pub struct IDebugProperty_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPropertyEnumType_All(::windows_core::IUnknown); impl IDebugPropertyEnumType_All { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3307,25 +3278,9 @@ impl IDebugPropertyEnumType_All { } } ::windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_All, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDebugPropertyEnumType_All { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPropertyEnumType_All {} -impl ::core::fmt::Debug for IDebugPropertyEnumType_All { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPropertyEnumType_All").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPropertyEnumType_All { type Vtable = IDebugPropertyEnumType_All_Vtbl; } -impl ::core::clone::Clone for IDebugPropertyEnumType_All { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPropertyEnumType_All { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c55_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3337,6 +3292,7 @@ pub struct IDebugPropertyEnumType_All_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPropertyEnumType_Arguments(::windows_core::IUnknown); impl IDebugPropertyEnumType_Arguments { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3345,25 +3301,9 @@ impl IDebugPropertyEnumType_Arguments { } } ::windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Arguments, ::windows_core::IUnknown, IDebugPropertyEnumType_All); -impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Arguments { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPropertyEnumType_Arguments {} -impl ::core::fmt::Debug for IDebugPropertyEnumType_Arguments { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPropertyEnumType_Arguments").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPropertyEnumType_Arguments { type Vtable = IDebugPropertyEnumType_Arguments_Vtbl; } -impl ::core::clone::Clone for IDebugPropertyEnumType_Arguments { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPropertyEnumType_Arguments { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c57_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3374,6 +3314,7 @@ pub struct IDebugPropertyEnumType_Arguments_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPropertyEnumType_Locals(::windows_core::IUnknown); impl IDebugPropertyEnumType_Locals { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3382,25 +3323,9 @@ impl IDebugPropertyEnumType_Locals { } } ::windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Locals, ::windows_core::IUnknown, IDebugPropertyEnumType_All); -impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Locals { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPropertyEnumType_Locals {} -impl ::core::fmt::Debug for IDebugPropertyEnumType_Locals { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPropertyEnumType_Locals").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPropertyEnumType_Locals { type Vtable = IDebugPropertyEnumType_Locals_Vtbl; } -impl ::core::clone::Clone for IDebugPropertyEnumType_Locals { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPropertyEnumType_Locals { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c56_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3411,6 +3336,7 @@ pub struct IDebugPropertyEnumType_Locals_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPropertyEnumType_LocalsPlusArgs(::windows_core::IUnknown); impl IDebugPropertyEnumType_LocalsPlusArgs { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3419,25 +3345,9 @@ impl IDebugPropertyEnumType_LocalsPlusArgs { } } ::windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_LocalsPlusArgs, ::windows_core::IUnknown, IDebugPropertyEnumType_All); -impl ::core::cmp::PartialEq for IDebugPropertyEnumType_LocalsPlusArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPropertyEnumType_LocalsPlusArgs {} -impl ::core::fmt::Debug for IDebugPropertyEnumType_LocalsPlusArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPropertyEnumType_LocalsPlusArgs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPropertyEnumType_LocalsPlusArgs { type Vtable = IDebugPropertyEnumType_LocalsPlusArgs_Vtbl; } -impl ::core::clone::Clone for IDebugPropertyEnumType_LocalsPlusArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPropertyEnumType_LocalsPlusArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c58_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3448,6 +3358,7 @@ pub struct IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDebugPropertyEnumType_Registers(::windows_core::IUnknown); impl IDebugPropertyEnumType_Registers { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3456,25 +3367,9 @@ impl IDebugPropertyEnumType_Registers { } } ::windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Registers, ::windows_core::IUnknown, IDebugPropertyEnumType_All); -impl ::core::cmp::PartialEq for IDebugPropertyEnumType_Registers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDebugPropertyEnumType_Registers {} -impl ::core::fmt::Debug for IDebugPropertyEnumType_Registers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDebugPropertyEnumType_Registers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDebugPropertyEnumType_Registers { type Vtable = IDebugPropertyEnumType_Registers_Vtbl; } -impl ::core::clone::Clone for IDebugPropertyEnumType_Registers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDebugPropertyEnumType_Registers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c59_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3485,6 +3380,7 @@ pub struct IDebugPropertyEnumType_Registers_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugExtendedPropertyInfo(::windows_core::IUnknown); impl IEnumDebugExtendedPropertyInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3508,25 +3404,9 @@ impl IEnumDebugExtendedPropertyInfo { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugExtendedPropertyInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugExtendedPropertyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugExtendedPropertyInfo {} -impl ::core::fmt::Debug for IEnumDebugExtendedPropertyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugExtendedPropertyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugExtendedPropertyInfo { type Vtable = IEnumDebugExtendedPropertyInfo_Vtbl; } -impl ::core::clone::Clone for IEnumDebugExtendedPropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugExtendedPropertyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c53_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3545,6 +3425,7 @@ pub struct IEnumDebugExtendedPropertyInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumDebugPropertyInfo(::windows_core::IUnknown); impl IEnumDebugPropertyInfo { pub unsafe fn Next(&self, pi: &mut [DebugPropertyInfo], pceltsfetched: *mut u32) -> ::windows_core::Result<()> { @@ -3566,25 +3447,9 @@ impl IEnumDebugPropertyInfo { } } ::windows_core::imp::interface_hierarchy!(IEnumDebugPropertyInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumDebugPropertyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumDebugPropertyInfo {} -impl ::core::fmt::Debug for IEnumDebugPropertyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumDebugPropertyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumDebugPropertyInfo { type Vtable = IEnumDebugPropertyInfo_Vtbl; } -impl ::core::clone::Clone for IEnumDebugPropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumDebugPropertyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c51_cb0c_11d0_b5c9_00a0244a0e7a); } @@ -3600,6 +3465,7 @@ pub struct IEnumDebugPropertyInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectSafety(::windows_core::IUnknown); impl IObjectSafety { pub unsafe fn GetInterfaceSafetyOptions(&self, riid: *const ::windows_core::GUID, pdwsupportedoptions: *mut u32, pdwenabledoptions: *mut u32) -> ::windows_core::Result<()> { @@ -3610,25 +3476,9 @@ impl IObjectSafety { } } ::windows_core::imp::interface_hierarchy!(IObjectSafety, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectSafety { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectSafety {} -impl ::core::fmt::Debug for IObjectSafety { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectSafety").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectSafety { type Vtable = IObjectSafety_Vtbl; } -impl ::core::clone::Clone for IObjectSafety { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectSafety { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb5bdc81_93c1_11cf_8f20_00805f2cd064); } @@ -3641,6 +3491,7 @@ pub struct IObjectSafety_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerPropertyBrowsing2(::windows_core::IUnknown); impl IPerPropertyBrowsing2 { pub unsafe fn GetDisplayString(&self, dispid: i32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3661,25 +3512,9 @@ impl IPerPropertyBrowsing2 { } } ::windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPerPropertyBrowsing2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPerPropertyBrowsing2 {} -impl ::core::fmt::Debug for IPerPropertyBrowsing2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPerPropertyBrowsing2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPerPropertyBrowsing2 { type Vtable = IPerPropertyBrowsing2_Vtbl; } -impl ::core::clone::Clone for IPerPropertyBrowsing2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerPropertyBrowsing2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51973c54_cb0c_11d0_b5c9_00a0244a0e7a); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs index 683e690aea..46138e11f2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs @@ -110,8 +110,8 @@ impl ITraceEvent_Vtbl { SetProviderId: SetProviderId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl ITraceEventCallback_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -243,7 +243,7 @@ impl ITraceRelogger_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index 2ce911c2b9..a300f952b2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -666,6 +666,7 @@ where } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceEvent(::windows_core::IUnknown); impl ITraceEvent { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -709,25 +710,9 @@ impl ITraceEvent { } } ::windows_core::imp::interface_hierarchy!(ITraceEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITraceEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITraceEvent {} -impl ::core::fmt::Debug for ITraceEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITraceEvent { type Vtable = ITraceEvent_Vtbl; } -impl ::core::clone::Clone for ITraceEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITraceEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc97f40_9028_4ff3_9b62_7d1f79ca7bcb); } @@ -750,6 +735,7 @@ pub struct ITraceEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceEventCallback(::windows_core::IUnknown); impl ITraceEventCallback { pub unsafe fn OnBeginProcessTrace(&self, headerevent: P0, relogger: P1) -> ::windows_core::Result<()> @@ -774,25 +760,9 @@ impl ITraceEventCallback { } } ::windows_core::imp::interface_hierarchy!(ITraceEventCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITraceEventCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITraceEventCallback {} -impl ::core::fmt::Debug for ITraceEventCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceEventCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITraceEventCallback { type Vtable = ITraceEventCallback_Vtbl; } -impl ::core::clone::Clone for ITraceEventCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITraceEventCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ed25501_593f_43e9_8f38_3ab46f5a4a52); } @@ -806,6 +776,7 @@ pub struct ITraceEventCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceRelogger(::windows_core::IUnknown); impl ITraceRelogger { pub unsafe fn AddLogfileTraceStream(&self, logfilename: P0, usercontext: *const ::core::ffi::c_void) -> ::windows_core::Result @@ -860,25 +831,9 @@ impl ITraceRelogger { } } ::windows_core::imp::interface_hierarchy!(ITraceRelogger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITraceRelogger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITraceRelogger {} -impl ::core::fmt::Debug for ITraceRelogger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceRelogger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITraceRelogger { type Vtable = ITraceRelogger_Vtbl; } -impl ::core::clone::Clone for ITraceRelogger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITraceRelogger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf754ad43_3bcc_4286_8009_9c5da214e84e); } diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs index 5dab589499..a48cb24f5f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs @@ -18,8 +18,8 @@ impl IDtcLuConfigure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Delete: Delete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -29,8 +29,8 @@ impl IDtcLuRecovery_Vtbl { pub const fn new, Impl: IDtcLuRecovery_Impl, const OFFSET: isize>() -> IDtcLuRecovery_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IDtcLuRecoveryFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IDtcLuRecoveryInitiatedByDtc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWork: GetWork:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleCheckLuStatus: HandleCheckLuStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { ObsoleteRecoverySeqNum: ObsoleteRecoverySeqNum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDtcLuRecoveryInitiatedByLu_Vtbl { GetObjectToHandleWorkFromLu: GetObjectToHandleWorkFromLu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl IDtcLuRecoveryInitiatedByLuWork_Vtbl { ConversationLost: ConversationLost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl IDtcLuRmEnlistment_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl IDtcLuRmEnlistmentFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl IDtcLuRmEnlistmentSink_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IDtcLuSubordinateDtc_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -545,8 +545,8 @@ impl IDtcLuSubordinateDtcFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl IDtcLuSubordinateDtcSink_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -759,8 +759,8 @@ impl IDtcNetworkAccessConfig_Vtbl { RestartDtcService: RestartDtcService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IDtcNetworkAccessConfig2_Vtbl { SetAuthenticationLevel: SetAuthenticationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -873,8 +873,8 @@ impl IDtcNetworkAccessConfig3_Vtbl { SetLUAccess: SetLUAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IDtcToXaHelper_Vtbl { TranslateTridToXid: TranslateTridToXid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -922,8 +922,8 @@ impl IDtcToXaHelperFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -973,8 +973,8 @@ impl IDtcToXaHelperSinglePipe_Vtbl { ReleaseRMCookie: ReleaseRMCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1015,8 +1015,8 @@ impl IDtcToXaMapper_Vtbl { ReleaseResourceManager: ReleaseResourceManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1033,8 +1033,8 @@ impl IGetDispenser_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDispenser: GetDispenser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IKernelTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1088,8 +1088,8 @@ impl ILastResourceManager_Vtbl { RecoveryDone: RecoveryDone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1116,8 +1116,8 @@ impl IPrepareInfo_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1150,8 +1150,8 @@ impl IPrepareInfo2_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1181,8 +1181,8 @@ impl IRMHelper_Vtbl { RMInfo: RMInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl IResourceManager_Vtbl { GetDistributedTransactionManager: GetDistributedTransactionManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1263,8 +1263,8 @@ impl IResourceManager2_Vtbl { Reenlist2: Reenlist2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1287,8 +1287,8 @@ impl IResourceManagerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1305,8 +1305,8 @@ impl IResourceManagerFactory2_Vtbl { } Self { base__: IResourceManagerFactory_Vtbl::new::(), CreateEx: CreateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IResourceManagerRejoinable_Vtbl { } Self { base__: IResourceManager2_Vtbl::new::(), Rejoin: Rejoin:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1347,8 +1347,8 @@ impl IResourceManagerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TMDown: TMDown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl ITipHelper_Vtbl { GetLocalTmUrl: GetLocalTmUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1418,8 +1418,8 @@ impl ITipPullSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PullComplete: PullComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1458,8 +1458,8 @@ impl ITipTransaction_Vtbl { GetTransactionUrl: GetTransactionUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1492,8 +1492,8 @@ impl ITmNodeName_Vtbl { GetNodeName: GetNodeName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl ITransaction_Vtbl { GetTransactionInfo: GetTransactionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1551,8 +1551,8 @@ impl ITransaction2_Vtbl { } Self { base__: ITransactionCloner_Vtbl::new::(), GetTransactionInfo2: GetTransactionInfo2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl ITransactionCloner_Vtbl { } Self { base__: ITransaction_Vtbl::new::(), CloneWithCommitDisabled: CloneWithCommitDisabled:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ITransactionDispenser_Vtbl { BeginTransaction: BeginTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl ITransactionEnlistmentAsync_Vtbl { AbortRequestDone: AbortRequestDone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1690,8 +1690,8 @@ impl ITransactionExport_Vtbl { GetTransactionCookie: GetTransactionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl ITransactionExportFactory_Vtbl { Create: Create::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl ITransactionImport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Import: Import:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1782,8 +1782,8 @@ impl ITransactionImportWhereabouts_Vtbl { GetWhereabouts: GetWhereabouts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl ITransactionLastEnlistmentAsync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransactionOutcome: TransactionOutcome:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1828,8 +1828,8 @@ impl ITransactionLastResourceAsync_Vtbl { ForgetRequest: ForgetRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1856,8 +1856,8 @@ impl ITransactionOptions_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1901,8 +1901,8 @@ impl ITransactionOutcomeEvents_Vtbl { Indoubt: Indoubt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1956,8 +1956,8 @@ impl ITransactionPhase0EnlistmentAsync_Vtbl { GetTransaction: GetTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1980,8 +1980,8 @@ impl ITransactionPhase0Factory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2011,8 +2011,8 @@ impl ITransactionPhase0NotifyAsync_Vtbl { EnlistCompleted: EnlistCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2065,8 +2065,8 @@ impl ITransactionReceiver_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl ITransactionReceiverFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2134,8 +2134,8 @@ impl ITransactionResource_Vtbl { TMDown: TMDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2179,8 +2179,8 @@ impl ITransactionResourceAsync_Vtbl { TMDown: TMDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2234,8 +2234,8 @@ impl ITransactionTransmitter_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2258,8 +2258,8 @@ impl ITransactionTransmitterFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl ITransactionVoterBallotAsync2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), VoteRequestDone: VoteRequestDone:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2300,8 +2300,8 @@ impl ITransactionVoterFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2321,8 +2321,8 @@ impl ITransactionVoterNotifyAsync2_Vtbl { } Self { base__: ITransactionOutcomeEvents_Vtbl::new::(), VoteRequest: VoteRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2349,8 +2349,8 @@ impl IXAConfig_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2367,8 +2367,8 @@ impl IXAObtainRMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ObtainRMInfo: ObtainRMInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2391,8 +2391,8 @@ impl IXATransLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2415,7 +2415,7 @@ impl IXATransLookup2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 8d7a3c1706..91b725a4b1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -40,6 +40,7 @@ where } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuConfigure(::windows_core::IUnknown); impl IDtcLuConfigure { pub unsafe fn Add(&self, puclupair: &[u8]) -> ::windows_core::Result<()> { @@ -50,25 +51,9 @@ impl IDtcLuConfigure { } } ::windows_core::imp::interface_hierarchy!(IDtcLuConfigure, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuConfigure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuConfigure {} -impl ::core::fmt::Debug for IDtcLuConfigure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuConfigure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuConfigure { type Vtable = IDtcLuConfigure_Vtbl; } -impl ::core::clone::Clone for IDtcLuConfigure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuConfigure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e760_1aea_11d0_944b_00a0c905416e); } @@ -81,28 +66,13 @@ pub struct IDtcLuConfigure_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecovery(::windows_core::IUnknown); impl IDtcLuRecovery {} ::windows_core::imp::interface_hierarchy!(IDtcLuRecovery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecovery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecovery {} -impl ::core::fmt::Debug for IDtcLuRecovery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecovery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecovery { type Vtable = IDtcLuRecovery_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecovery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecovery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac2b8ad2_d6f0_11d0_b386_00a0c9083365); } @@ -113,6 +83,7 @@ pub struct IDtcLuRecovery_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryFactory(::windows_core::IUnknown); impl IDtcLuRecoveryFactory { pub unsafe fn Create(&self, puclupair: &[u8]) -> ::windows_core::Result { @@ -121,25 +92,9 @@ impl IDtcLuRecoveryFactory { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryFactory {} -impl ::core::fmt::Debug for IDtcLuRecoveryFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryFactory { type Vtable = IDtcLuRecoveryFactory_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e762_1aea_11d0_944b_00a0c905416e); } @@ -151,6 +106,7 @@ pub struct IDtcLuRecoveryFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryInitiatedByDtc(::windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtc { pub unsafe fn GetWork(&self, pwork: *mut DTCINITIATEDRECOVERYWORK, ppv: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -158,25 +114,9 @@ impl IDtcLuRecoveryInitiatedByDtc { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryInitiatedByDtc {} -impl ::core::fmt::Debug for IDtcLuRecoveryInitiatedByDtc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryInitiatedByDtc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryInitiatedByDtc { type Vtable = IDtcLuRecoveryInitiatedByDtc_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryInitiatedByDtc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryInitiatedByDtc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e764_1aea_11d0_944b_00a0c905416e); } @@ -188,6 +128,7 @@ pub struct IDtcLuRecoveryInitiatedByDtc_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryInitiatedByDtcStatusWork(::windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtcStatusWork { pub unsafe fn HandleCheckLuStatus(&self, lrecoveryseqnum: i32) -> ::windows_core::Result<()> { @@ -195,25 +136,9 @@ impl IDtcLuRecoveryInitiatedByDtcStatusWork { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcStatusWork, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtcStatusWork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryInitiatedByDtcStatusWork {} -impl ::core::fmt::Debug for IDtcLuRecoveryInitiatedByDtcStatusWork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryInitiatedByDtcStatusWork").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryInitiatedByDtcStatusWork { type Vtable = IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryInitiatedByDtcStatusWork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryInitiatedByDtcStatusWork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e766_1aea_11d0_944b_00a0c905416e); } @@ -225,6 +150,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryInitiatedByDtcTransWork(::windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtcTransWork { pub unsafe fn GetLogNameSizes(&self, pcbourlogname: *mut u32, pcbremotelogname: *mut u32) -> ::windows_core::Result<()> { @@ -270,25 +196,9 @@ impl IDtcLuRecoveryInitiatedByDtcTransWork { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcTransWork, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByDtcTransWork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryInitiatedByDtcTransWork {} -impl ::core::fmt::Debug for IDtcLuRecoveryInitiatedByDtcTransWork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryInitiatedByDtcTransWork").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryInitiatedByDtcTransWork { type Vtable = IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryInitiatedByDtcTransWork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryInitiatedByDtcTransWork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e765_1aea_11d0_944b_00a0c905416e); } @@ -315,6 +225,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryInitiatedByLu(::windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByLu { pub unsafe fn GetObjectToHandleWorkFromLu(&self) -> ::windows_core::Result { @@ -323,25 +234,9 @@ impl IDtcLuRecoveryInitiatedByLu { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByLu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryInitiatedByLu {} -impl ::core::fmt::Debug for IDtcLuRecoveryInitiatedByLu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryInitiatedByLu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryInitiatedByLu { type Vtable = IDtcLuRecoveryInitiatedByLu_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryInitiatedByLu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryInitiatedByLu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e768_1aea_11d0_944b_00a0c905416e); } @@ -353,6 +248,7 @@ pub struct IDtcLuRecoveryInitiatedByLu_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRecoveryInitiatedByLuWork(::windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByLuWork { pub unsafe fn HandleTheirXln(&self, lrecoveryseqnum: i32, xln: DTCLUXLN, premotelogname: *mut u8, cbremotelogname: u32, pourlogname: *mut u8, cbourlogname: u32, dwprotocol: u32, presponse: *mut DTCLUXLNRESPONSE) -> ::windows_core::Result<()> { @@ -381,25 +277,9 @@ impl IDtcLuRecoveryInitiatedByLuWork { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLuWork, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRecoveryInitiatedByLuWork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRecoveryInitiatedByLuWork {} -impl ::core::fmt::Debug for IDtcLuRecoveryInitiatedByLuWork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRecoveryInitiatedByLuWork").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRecoveryInitiatedByLuWork { type Vtable = IDtcLuRecoveryInitiatedByLuWork_Vtbl; } -impl ::core::clone::Clone for IDtcLuRecoveryInitiatedByLuWork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRecoveryInitiatedByLuWork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac2b8ad1_d6f0_11d0_b386_00a0c9083365); } @@ -418,6 +298,7 @@ pub struct IDtcLuRecoveryInitiatedByLuWork_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRmEnlistment(::windows_core::IUnknown); impl IDtcLuRmEnlistment { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -445,25 +326,9 @@ impl IDtcLuRmEnlistment { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRmEnlistment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRmEnlistment {} -impl ::core::fmt::Debug for IDtcLuRmEnlistment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRmEnlistment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRmEnlistment { type Vtable = IDtcLuRmEnlistment_Vtbl; } -impl ::core::clone::Clone for IDtcLuRmEnlistment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRmEnlistment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e769_1aea_11d0_944b_00a0c905416e); } @@ -483,6 +348,7 @@ pub struct IDtcLuRmEnlistment_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRmEnlistmentFactory(::windows_core::IUnknown); impl IDtcLuRmEnlistmentFactory { pub unsafe fn Create(&self, puclupair: *mut u8, cblupair: u32, pitransaction: P0, ptransid: *mut u8, cbtransid: u32, prmenlistmentsink: P1, pprmenlistment: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -494,25 +360,9 @@ impl IDtcLuRmEnlistmentFactory { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRmEnlistmentFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRmEnlistmentFactory {} -impl ::core::fmt::Debug for IDtcLuRmEnlistmentFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRmEnlistmentFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRmEnlistmentFactory { type Vtable = IDtcLuRmEnlistmentFactory_Vtbl; } -impl ::core::clone::Clone for IDtcLuRmEnlistmentFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRmEnlistmentFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e771_1aea_11d0_944b_00a0c905416e); } @@ -524,6 +374,7 @@ pub struct IDtcLuRmEnlistmentFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuRmEnlistmentSink(::windows_core::IUnknown); impl IDtcLuRmEnlistmentSink { pub unsafe fn AckUnplug(&self) -> ::windows_core::Result<()> { @@ -555,25 +406,9 @@ impl IDtcLuRmEnlistmentSink { } } ::windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuRmEnlistmentSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuRmEnlistmentSink {} -impl ::core::fmt::Debug for IDtcLuRmEnlistmentSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuRmEnlistmentSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuRmEnlistmentSink { type Vtable = IDtcLuRmEnlistmentSink_Vtbl; } -impl ::core::clone::Clone for IDtcLuRmEnlistmentSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuRmEnlistmentSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e770_1aea_11d0_944b_00a0c905416e); } @@ -593,6 +428,7 @@ pub struct IDtcLuRmEnlistmentSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuSubordinateDtc(::windows_core::IUnknown); impl IDtcLuSubordinateDtc { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -623,25 +459,9 @@ impl IDtcLuSubordinateDtc { } } ::windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuSubordinateDtc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuSubordinateDtc {} -impl ::core::fmt::Debug for IDtcLuSubordinateDtc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuSubordinateDtc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuSubordinateDtc { type Vtable = IDtcLuSubordinateDtc_Vtbl; } -impl ::core::clone::Clone for IDtcLuSubordinateDtc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuSubordinateDtc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e773_1aea_11d0_944b_00a0c905416e); } @@ -662,6 +482,7 @@ pub struct IDtcLuSubordinateDtc_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuSubordinateDtcFactory(::windows_core::IUnknown); impl IDtcLuSubordinateDtcFactory { pub unsafe fn Create(&self, puclupair: *mut u8, cblupair: u32, punktransactionouter: P0, isolevel: i32, isoflags: u32, poptions: P1, pptransaction: *mut ::core::option::Option, ptransid: *mut u8, cbtransid: u32, psubordinatedtcsink: P2, ppsubordinatedtc: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -674,25 +495,9 @@ impl IDtcLuSubordinateDtcFactory { } } ::windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuSubordinateDtcFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuSubordinateDtcFactory {} -impl ::core::fmt::Debug for IDtcLuSubordinateDtcFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuSubordinateDtcFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuSubordinateDtcFactory { type Vtable = IDtcLuSubordinateDtcFactory_Vtbl; } -impl ::core::clone::Clone for IDtcLuSubordinateDtcFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuSubordinateDtcFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e775_1aea_11d0_944b_00a0c905416e); } @@ -704,6 +509,7 @@ pub struct IDtcLuSubordinateDtcFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcLuSubordinateDtcSink(::windows_core::IUnknown); impl IDtcLuSubordinateDtcSink { pub unsafe fn AckUnplug(&self) -> ::windows_core::Result<()> { @@ -732,25 +538,9 @@ impl IDtcLuSubordinateDtcSink { } } ::windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcLuSubordinateDtcSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcLuSubordinateDtcSink {} -impl ::core::fmt::Debug for IDtcLuSubordinateDtcSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcLuSubordinateDtcSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcLuSubordinateDtcSink { type Vtable = IDtcLuSubordinateDtcSink_Vtbl; } -impl ::core::clone::Clone for IDtcLuSubordinateDtcSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcLuSubordinateDtcSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4131e774_1aea_11d0_944b_00a0c905416e); } @@ -769,6 +559,7 @@ pub struct IDtcLuSubordinateDtcSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcNetworkAccessConfig(::windows_core::IUnknown); impl IDtcNetworkAccessConfig { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -860,25 +651,9 @@ impl IDtcNetworkAccessConfig { } } ::windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcNetworkAccessConfig {} -impl ::core::fmt::Debug for IDtcNetworkAccessConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcNetworkAccessConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcNetworkAccessConfig { type Vtable = IDtcNetworkAccessConfig_Vtbl; } -impl ::core::clone::Clone for IDtcNetworkAccessConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcNetworkAccessConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9797c15d_a428_4291_87b6_0995031a678d); } @@ -938,6 +713,7 @@ pub struct IDtcNetworkAccessConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcNetworkAccessConfig2(::windows_core::IUnknown); impl IDtcNetworkAccessConfig2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1064,25 +840,9 @@ impl IDtcNetworkAccessConfig2 { } } ::windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig2, ::windows_core::IUnknown, IDtcNetworkAccessConfig); -impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcNetworkAccessConfig2 {} -impl ::core::fmt::Debug for IDtcNetworkAccessConfig2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcNetworkAccessConfig2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcNetworkAccessConfig2 { type Vtable = IDtcNetworkAccessConfig2_Vtbl; } -impl ::core::clone::Clone for IDtcNetworkAccessConfig2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcNetworkAccessConfig2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7aa013b_eb7d_4f42_b41c_b2dec09ae034); } @@ -1111,6 +871,7 @@ pub struct IDtcNetworkAccessConfig2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcNetworkAccessConfig3(::windows_core::IUnknown); impl IDtcNetworkAccessConfig3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1251,25 +1012,9 @@ impl IDtcNetworkAccessConfig3 { } } ::windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig3, ::windows_core::IUnknown, IDtcNetworkAccessConfig, IDtcNetworkAccessConfig2); -impl ::core::cmp::PartialEq for IDtcNetworkAccessConfig3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcNetworkAccessConfig3 {} -impl ::core::fmt::Debug for IDtcNetworkAccessConfig3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcNetworkAccessConfig3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcNetworkAccessConfig3 { type Vtable = IDtcNetworkAccessConfig3_Vtbl; } -impl ::core::clone::Clone for IDtcNetworkAccessConfig3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcNetworkAccessConfig3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76e4b4f3_2ca5_466b_89d5_fd218ee75b49); } @@ -1288,6 +1033,7 @@ pub struct IDtcNetworkAccessConfig3_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcToXaHelper(::windows_core::IUnknown); impl IDtcToXaHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1306,25 +1052,9 @@ impl IDtcToXaHelper { } } ::windows_core::imp::interface_hierarchy!(IDtcToXaHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcToXaHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcToXaHelper {} -impl ::core::fmt::Debug for IDtcToXaHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcToXaHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcToXaHelper { type Vtable = IDtcToXaHelper_Vtbl; } -impl ::core::clone::Clone for IDtcToXaHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcToXaHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9861611_304a_11d1_9813_00a0c905416e); } @@ -1340,6 +1070,7 @@ pub struct IDtcToXaHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcToXaHelperFactory(::windows_core::IUnknown); impl IDtcToXaHelperFactory { pub unsafe fn Create(&self, pszdsn: P0, pszclientdllname: P1, pguidrm: *mut ::windows_core::GUID, ppxahelper: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -1351,25 +1082,9 @@ impl IDtcToXaHelperFactory { } } ::windows_core::imp::interface_hierarchy!(IDtcToXaHelperFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcToXaHelperFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcToXaHelperFactory {} -impl ::core::fmt::Debug for IDtcToXaHelperFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcToXaHelperFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcToXaHelperFactory { type Vtable = IDtcToXaHelperFactory_Vtbl; } -impl ::core::clone::Clone for IDtcToXaHelperFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcToXaHelperFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9861610_304a_11d1_9813_00a0c905416e); } @@ -1381,6 +1096,7 @@ pub struct IDtcToXaHelperFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcToXaHelperSinglePipe(::windows_core::IUnknown); impl IDtcToXaHelperSinglePipe { pub unsafe fn XARMCreate(&self, pszdsn: P0, pszclientdll: P1, pdwrmcookie: *mut u32) -> ::windows_core::Result<()> @@ -1411,25 +1127,9 @@ impl IDtcToXaHelperSinglePipe { } } ::windows_core::imp::interface_hierarchy!(IDtcToXaHelperSinglePipe, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcToXaHelperSinglePipe { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcToXaHelperSinglePipe {} -impl ::core::fmt::Debug for IDtcToXaHelperSinglePipe { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcToXaHelperSinglePipe").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcToXaHelperSinglePipe { type Vtable = IDtcToXaHelperSinglePipe_Vtbl; } -impl ::core::clone::Clone for IDtcToXaHelperSinglePipe { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcToXaHelperSinglePipe { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47ed4971_53b3_11d1_bbb9_00c04fd658f6); } @@ -1447,6 +1147,7 @@ pub struct IDtcToXaHelperSinglePipe_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDtcToXaMapper(::windows_core::IUnknown); impl IDtcToXaMapper { pub unsafe fn RequestNewResourceManager(&self, pszdsn: P0, pszclientdllname: P1, pdwrmcookie: *mut u32) -> ::windows_core::Result<()> @@ -1467,25 +1168,9 @@ impl IDtcToXaMapper { } } ::windows_core::imp::interface_hierarchy!(IDtcToXaMapper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDtcToXaMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDtcToXaMapper {} -impl ::core::fmt::Debug for IDtcToXaMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDtcToXaMapper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDtcToXaMapper { type Vtable = IDtcToXaMapper_Vtbl; } -impl ::core::clone::Clone for IDtcToXaMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDtcToXaMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64ffabe0_7ce9_11d0_8ce6_00c04fdc877e); } @@ -1500,6 +1185,7 @@ pub struct IDtcToXaMapper_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetDispenser(::windows_core::IUnknown); impl IGetDispenser { pub unsafe fn GetDispenser(&self, iid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1507,25 +1193,9 @@ impl IGetDispenser { } } ::windows_core::imp::interface_hierarchy!(IGetDispenser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetDispenser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetDispenser {} -impl ::core::fmt::Debug for IGetDispenser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetDispenser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetDispenser { type Vtable = IGetDispenser_Vtbl; } -impl ::core::clone::Clone for IGetDispenser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetDispenser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc23cc370_87ef_11ce_8081_0080c758527e); } @@ -1537,6 +1207,7 @@ pub struct IGetDispenser_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKernelTransaction(::windows_core::IUnknown); impl IKernelTransaction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1547,25 +1218,9 @@ impl IKernelTransaction { } } ::windows_core::imp::interface_hierarchy!(IKernelTransaction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKernelTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKernelTransaction {} -impl ::core::fmt::Debug for IKernelTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKernelTransaction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKernelTransaction { type Vtable = IKernelTransaction_Vtbl; } -impl ::core::clone::Clone for IKernelTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKernelTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79427a2b_f895_40e0_be79_b57dc82ed231); } @@ -1580,6 +1235,7 @@ pub struct IKernelTransaction_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILastResourceManager(::windows_core::IUnknown); impl ILastResourceManager { pub unsafe fn TransactionCommitted(&self, pprepinfo: &[u8]) -> ::windows_core::Result<()> { @@ -1590,25 +1246,9 @@ impl ILastResourceManager { } } ::windows_core::imp::interface_hierarchy!(ILastResourceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILastResourceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILastResourceManager {} -impl ::core::fmt::Debug for ILastResourceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILastResourceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILastResourceManager { type Vtable = ILastResourceManager_Vtbl; } -impl ::core::clone::Clone for ILastResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILastResourceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d964ad4_5b33_11d3_8a91_00c04f79eb6d); } @@ -1621,6 +1261,7 @@ pub struct ILastResourceManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrepareInfo(::windows_core::IUnknown); impl IPrepareInfo { pub unsafe fn GetPrepareInfoSize(&self, pcbprepinfo: *mut u32) -> ::windows_core::Result<()> { @@ -1631,25 +1272,9 @@ impl IPrepareInfo { } } ::windows_core::imp::interface_hierarchy!(IPrepareInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrepareInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrepareInfo {} -impl ::core::fmt::Debug for IPrepareInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrepareInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrepareInfo { type Vtable = IPrepareInfo_Vtbl; } -impl ::core::clone::Clone for IPrepareInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrepareInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80c7bfd0_87ee_11ce_8081_0080c758527e); } @@ -1662,6 +1287,7 @@ pub struct IPrepareInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrepareInfo2(::windows_core::IUnknown); impl IPrepareInfo2 { pub unsafe fn GetPrepareInfoSize(&self) -> ::windows_core::Result { @@ -1673,25 +1299,9 @@ impl IPrepareInfo2 { } } ::windows_core::imp::interface_hierarchy!(IPrepareInfo2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrepareInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrepareInfo2 {} -impl ::core::fmt::Debug for IPrepareInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrepareInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrepareInfo2 { type Vtable = IPrepareInfo2_Vtbl; } -impl ::core::clone::Clone for IPrepareInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrepareInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5fab2547_9779_11d1_b886_00c04fb9618a); } @@ -1704,6 +1314,7 @@ pub struct IPrepareInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRMHelper(::windows_core::IUnknown); impl IRMHelper { pub unsafe fn RMCount(&self, dwctotalnumberofrms: u32) -> ::windows_core::Result<()> { @@ -1721,25 +1332,9 @@ impl IRMHelper { } } ::windows_core::imp::interface_hierarchy!(IRMHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRMHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRMHelper {} -impl ::core::fmt::Debug for IRMHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRMHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRMHelper { type Vtable = IRMHelper_Vtbl; } -impl ::core::clone::Clone for IRMHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRMHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe793f6d1_f53d_11cf_a60d_00a0c905416e); } @@ -1755,6 +1350,7 @@ pub struct IRMHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManager(::windows_core::IUnknown); impl IResourceManager { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -1776,25 +1372,9 @@ impl IResourceManager { } } ::windows_core::imp::interface_hierarchy!(IResourceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResourceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManager {} -impl ::core::fmt::Debug for IResourceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManager { type Vtable = IResourceManager_Vtbl; } -impl ::core::clone::Clone for IResourceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13741d21_87eb_11ce_8081_0080c758527e); } @@ -1809,6 +1389,7 @@ pub struct IResourceManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManager2(::windows_core::IUnknown); impl IResourceManager2 { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -1841,24 +1422,8 @@ impl IResourceManager2 { } } ::windows_core::imp::interface_hierarchy!(IResourceManager2, ::windows_core::IUnknown, IResourceManager); -impl ::core::cmp::PartialEq for IResourceManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManager2 {} -impl ::core::fmt::Debug for IResourceManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManager2").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IResourceManager2 { - type Vtable = IResourceManager2_Vtbl; -} -impl ::core::clone::Clone for IResourceManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IResourceManager2 { + type Vtable = IResourceManager2_Vtbl; } unsafe impl ::windows_core::ComInterface for IResourceManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd136c69a_f749_11d1_8f47_00c04f8ee57d); @@ -1872,6 +1437,7 @@ pub struct IResourceManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManagerFactory(::windows_core::IUnknown); impl IResourceManagerFactory { pub unsafe fn Create(&self, pguidrm: *const ::windows_core::GUID, pszrmname: P0, piresmgrsink: P1) -> ::windows_core::Result @@ -1884,25 +1450,9 @@ impl IResourceManagerFactory { } } ::windows_core::imp::interface_hierarchy!(IResourceManagerFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResourceManagerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManagerFactory {} -impl ::core::fmt::Debug for IResourceManagerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManagerFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManagerFactory { type Vtable = IResourceManagerFactory_Vtbl; } -impl ::core::clone::Clone for IResourceManagerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManagerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13741d20_87eb_11ce_8081_0080c758527e); } @@ -1914,6 +1464,7 @@ pub struct IResourceManagerFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManagerFactory2(::windows_core::IUnknown); impl IResourceManagerFactory2 { pub unsafe fn Create(&self, pguidrm: *const ::windows_core::GUID, pszrmname: P0, piresmgrsink: P1) -> ::windows_core::Result @@ -1933,25 +1484,9 @@ impl IResourceManagerFactory2 { } } ::windows_core::imp::interface_hierarchy!(IResourceManagerFactory2, ::windows_core::IUnknown, IResourceManagerFactory); -impl ::core::cmp::PartialEq for IResourceManagerFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManagerFactory2 {} -impl ::core::fmt::Debug for IResourceManagerFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManagerFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManagerFactory2 { type Vtable = IResourceManagerFactory2_Vtbl; } -impl ::core::clone::Clone for IResourceManagerFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManagerFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b369c21_fbd2_11d1_8f47_00c04f8ee57d); } @@ -1963,6 +1498,7 @@ pub struct IResourceManagerFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManagerRejoinable(::windows_core::IUnknown); impl IResourceManagerRejoinable { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut ::core::option::Option) -> ::windows_core::Result<()> @@ -1999,25 +1535,9 @@ impl IResourceManagerRejoinable { } } ::windows_core::imp::interface_hierarchy!(IResourceManagerRejoinable, ::windows_core::IUnknown, IResourceManager, IResourceManager2); -impl ::core::cmp::PartialEq for IResourceManagerRejoinable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManagerRejoinable {} -impl ::core::fmt::Debug for IResourceManagerRejoinable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManagerRejoinable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManagerRejoinable { type Vtable = IResourceManagerRejoinable_Vtbl; } -impl ::core::clone::Clone for IResourceManagerRejoinable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManagerRejoinable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f6de620_b5df_4f3e_9cfa_c8aebd05172b); } @@ -2029,6 +1549,7 @@ pub struct IResourceManagerRejoinable_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResourceManagerSink(::windows_core::IUnknown); impl IResourceManagerSink { pub unsafe fn TMDown(&self) -> ::windows_core::Result<()> { @@ -2036,25 +1557,9 @@ impl IResourceManagerSink { } } ::windows_core::imp::interface_hierarchy!(IResourceManagerSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResourceManagerSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResourceManagerSink {} -impl ::core::fmt::Debug for IResourceManagerSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResourceManagerSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResourceManagerSink { type Vtable = IResourceManagerSink_Vtbl; } -impl ::core::clone::Clone for IResourceManagerSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResourceManagerSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d563181_defb_11ce_aed1_00aa0051e2c4); } @@ -2066,6 +1571,7 @@ pub struct IResourceManagerSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITipHelper(::windows_core::IUnknown); impl ITipHelper { pub unsafe fn Pull(&self, i_psztxurl: *const u8) -> ::windows_core::Result { @@ -2085,25 +1591,9 @@ impl ITipHelper { } } ::windows_core::imp::interface_hierarchy!(ITipHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITipHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITipHelper {} -impl ::core::fmt::Debug for ITipHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITipHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITipHelper { type Vtable = ITipHelper_Vtbl; } -impl ::core::clone::Clone for ITipHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITipHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17cf72d1_bac5_11d1_b1bf_00c04fc2f3ef); } @@ -2117,6 +1607,7 @@ pub struct ITipHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITipPullSink(::windows_core::IUnknown); impl ITipPullSink { pub unsafe fn PullComplete(&self, i_hrpull: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2124,25 +1615,9 @@ impl ITipPullSink { } } ::windows_core::imp::interface_hierarchy!(ITipPullSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITipPullSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITipPullSink {} -impl ::core::fmt::Debug for ITipPullSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITipPullSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITipPullSink { type Vtable = ITipPullSink_Vtbl; } -impl ::core::clone::Clone for ITipPullSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITipPullSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17cf72d2_bac5_11d1_b1bf_00c04fc2f3ef); } @@ -2154,6 +1629,7 @@ pub struct ITipPullSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITipTransaction(::windows_core::IUnknown); impl ITipTransaction { pub unsafe fn Push(&self, i_pszremotetmurl: *const u8) -> ::windows_core::Result<::windows_core::PSTR> { @@ -2166,25 +1642,9 @@ impl ITipTransaction { } } ::windows_core::imp::interface_hierarchy!(ITipTransaction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITipTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITipTransaction {} -impl ::core::fmt::Debug for ITipTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITipTransaction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITipTransaction { type Vtable = ITipTransaction_Vtbl; } -impl ::core::clone::Clone for ITipTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITipTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17cf72d0_bac5_11d1_b1bf_00c04fc2f3ef); } @@ -2197,6 +1657,7 @@ pub struct ITipTransaction_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITmNodeName(::windows_core::IUnknown); impl ITmNodeName { pub unsafe fn GetNodeNameSize(&self) -> ::windows_core::Result { @@ -2208,25 +1669,9 @@ impl ITmNodeName { } } ::windows_core::imp::interface_hierarchy!(ITmNodeName, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITmNodeName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITmNodeName {} -impl ::core::fmt::Debug for ITmNodeName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITmNodeName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITmNodeName { type Vtable = ITmNodeName_Vtbl; } -impl ::core::clone::Clone for ITmNodeName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITmNodeName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30274f88_6ee4_474e_9b95_7807bc9ef8cf); } @@ -2239,6 +1684,7 @@ pub struct ITmNodeName_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransaction(::windows_core::IUnknown); impl ITransaction { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2263,25 +1709,9 @@ impl ITransaction { } } ::windows_core::imp::interface_hierarchy!(ITransaction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransaction {} -impl ::core::fmt::Debug for ITransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransaction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransaction { type Vtable = ITransaction_Vtbl; } -impl ::core::clone::Clone for ITransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fb15084_af41_11ce_bd2b_204c4f4f5020); } @@ -2301,6 +1731,7 @@ pub struct ITransaction_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransaction2(::windows_core::IUnknown); impl ITransaction2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2332,25 +1763,9 @@ impl ITransaction2 { } } ::windows_core::imp::interface_hierarchy!(ITransaction2, ::windows_core::IUnknown, ITransaction, ITransactionCloner); -impl ::core::cmp::PartialEq for ITransaction2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransaction2 {} -impl ::core::fmt::Debug for ITransaction2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransaction2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransaction2 { type Vtable = ITransaction2_Vtbl; } -impl ::core::clone::Clone for ITransaction2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransaction2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34021548_0065_11d3_bac1_00c04f797be2); } @@ -2362,6 +1777,7 @@ pub struct ITransaction2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionCloner(::windows_core::IUnknown); impl ITransactionCloner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2390,25 +1806,9 @@ impl ITransactionCloner { } } ::windows_core::imp::interface_hierarchy!(ITransactionCloner, ::windows_core::IUnknown, ITransaction); -impl ::core::cmp::PartialEq for ITransactionCloner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionCloner {} -impl ::core::fmt::Debug for ITransactionCloner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionCloner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionCloner { type Vtable = ITransactionCloner_Vtbl; } -impl ::core::clone::Clone for ITransactionCloner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionCloner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02656950_2152_11d0_944c_00a0c905416e); } @@ -2420,6 +1820,7 @@ pub struct ITransactionCloner_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionDispenser(::windows_core::IUnknown); impl ITransactionDispenser { pub unsafe fn GetOptionsObject(&self) -> ::windows_core::Result { @@ -2436,25 +1837,9 @@ impl ITransactionDispenser { } } ::windows_core::imp::interface_hierarchy!(ITransactionDispenser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionDispenser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionDispenser {} -impl ::core::fmt::Debug for ITransactionDispenser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionDispenser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionDispenser { type Vtable = ITransactionDispenser_Vtbl; } -impl ::core::clone::Clone for ITransactionDispenser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionDispenser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a6ad9e1_23b9_11cf_ad60_00aa00a74ccd); } @@ -2467,6 +1852,7 @@ pub struct ITransactionDispenser_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionEnlistmentAsync(::windows_core::IUnknown); impl ITransactionEnlistmentAsync { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2485,25 +1871,9 @@ impl ITransactionEnlistmentAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionEnlistmentAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionEnlistmentAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionEnlistmentAsync {} -impl ::core::fmt::Debug for ITransactionEnlistmentAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionEnlistmentAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionEnlistmentAsync { type Vtable = ITransactionEnlistmentAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionEnlistmentAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionEnlistmentAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fb15081_af41_11ce_bd2b_204c4f4f5020); } @@ -2520,6 +1890,7 @@ pub struct ITransactionEnlistmentAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionExport(::windows_core::IUnknown); impl ITransactionExport { pub unsafe fn Export(&self, punktransaction: P0) -> ::windows_core::Result @@ -2537,25 +1908,9 @@ impl ITransactionExport { } } ::windows_core::imp::interface_hierarchy!(ITransactionExport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionExport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionExport {} -impl ::core::fmt::Debug for ITransactionExport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionExport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionExport { type Vtable = ITransactionExport_Vtbl; } -impl ::core::clone::Clone for ITransactionExport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionExport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0141fda5_8fc0_11ce_bd18_204c4f4f5020); } @@ -2568,6 +1923,7 @@ pub struct ITransactionExport_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionExportFactory(::windows_core::IUnknown); impl ITransactionExportFactory { pub unsafe fn GetRemoteClassId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -2580,25 +1936,9 @@ impl ITransactionExportFactory { } } ::windows_core::imp::interface_hierarchy!(ITransactionExportFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionExportFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionExportFactory {} -impl ::core::fmt::Debug for ITransactionExportFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionExportFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionExportFactory { type Vtable = ITransactionExportFactory_Vtbl; } -impl ::core::clone::Clone for ITransactionExportFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionExportFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1cf9b53_8745_11ce_a9ba_00aa006c3706); } @@ -2611,6 +1951,7 @@ pub struct ITransactionExportFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionImport(::windows_core::IUnknown); impl ITransactionImport { pub unsafe fn Import(&self, rgbtransactioncookie: &[u8]) -> ::windows_core::Result @@ -2622,25 +1963,9 @@ impl ITransactionImport { } } ::windows_core::imp::interface_hierarchy!(ITransactionImport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionImport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionImport {} -impl ::core::fmt::Debug for ITransactionImport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionImport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionImport { type Vtable = ITransactionImport_Vtbl; } -impl ::core::clone::Clone for ITransactionImport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionImport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1cf9b5a_8745_11ce_a9ba_00aa006c3706); } @@ -2652,6 +1977,7 @@ pub struct ITransactionImport_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionImportWhereabouts(::windows_core::IUnknown); impl ITransactionImportWhereabouts { pub unsafe fn GetWhereaboutsSize(&self) -> ::windows_core::Result { @@ -2663,25 +1989,9 @@ impl ITransactionImportWhereabouts { } } ::windows_core::imp::interface_hierarchy!(ITransactionImportWhereabouts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionImportWhereabouts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionImportWhereabouts {} -impl ::core::fmt::Debug for ITransactionImportWhereabouts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionImportWhereabouts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionImportWhereabouts { type Vtable = ITransactionImportWhereabouts_Vtbl; } -impl ::core::clone::Clone for ITransactionImportWhereabouts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionImportWhereabouts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0141fda4_8fc0_11ce_bd18_204c4f4f5020); } @@ -2694,6 +2004,7 @@ pub struct ITransactionImportWhereabouts_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionLastEnlistmentAsync(::windows_core::IUnknown); impl ITransactionLastEnlistmentAsync { pub unsafe fn TransactionOutcome(&self, xactstat: XACTSTAT, pboidreason: *const BOID) -> ::windows_core::Result<()> { @@ -2701,25 +2012,9 @@ impl ITransactionLastEnlistmentAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionLastEnlistmentAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionLastEnlistmentAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionLastEnlistmentAsync {} -impl ::core::fmt::Debug for ITransactionLastEnlistmentAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionLastEnlistmentAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionLastEnlistmentAsync { type Vtable = ITransactionLastEnlistmentAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionLastEnlistmentAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionLastEnlistmentAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc82bd533_5b30_11d3_8a91_00c04f79eb6d); } @@ -2731,6 +2026,7 @@ pub struct ITransactionLastEnlistmentAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionLastResourceAsync(::windows_core::IUnknown); impl ITransactionLastResourceAsync { pub unsafe fn DelegateCommit(&self, grfrm: u32) -> ::windows_core::Result<()> { @@ -2741,25 +2037,9 @@ impl ITransactionLastResourceAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionLastResourceAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionLastResourceAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionLastResourceAsync {} -impl ::core::fmt::Debug for ITransactionLastResourceAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionLastResourceAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionLastResourceAsync { type Vtable = ITransactionLastResourceAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionLastResourceAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionLastResourceAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc82bd532_5b30_11d3_8a91_00c04f79eb6d); } @@ -2772,6 +2052,7 @@ pub struct ITransactionLastResourceAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionOptions(::windows_core::IUnknown); impl ITransactionOptions { pub unsafe fn SetOptions(&self, poptions: *const XACTOPT) -> ::windows_core::Result<()> { @@ -2782,25 +2063,9 @@ impl ITransactionOptions { } } ::windows_core::imp::interface_hierarchy!(ITransactionOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionOptions {} -impl ::core::fmt::Debug for ITransactionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionOptions { type Vtable = ITransactionOptions_Vtbl; } -impl ::core::clone::Clone for ITransactionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a6ad9e0_23b9_11cf_ad60_00aa00a74ccd); } @@ -2813,6 +2078,7 @@ pub struct ITransactionOptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionOutcomeEvents(::windows_core::IUnknown); impl ITransactionOutcomeEvents { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2839,25 +2105,9 @@ impl ITransactionOutcomeEvents { } } ::windows_core::imp::interface_hierarchy!(ITransactionOutcomeEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionOutcomeEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionOutcomeEvents {} -impl ::core::fmt::Debug for ITransactionOutcomeEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionOutcomeEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionOutcomeEvents { type Vtable = ITransactionOutcomeEvents_Vtbl; } -impl ::core::clone::Clone for ITransactionOutcomeEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionOutcomeEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a6ad9e2_23b9_11cf_ad60_00aa00a74ccd); } @@ -2878,6 +2128,7 @@ pub struct ITransactionOutcomeEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionPhase0EnlistmentAsync(::windows_core::IUnknown); impl ITransactionPhase0EnlistmentAsync { pub unsafe fn Enable(&self) -> ::windows_core::Result<()> { @@ -2898,25 +2149,9 @@ impl ITransactionPhase0EnlistmentAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionPhase0EnlistmentAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionPhase0EnlistmentAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionPhase0EnlistmentAsync {} -impl ::core::fmt::Debug for ITransactionPhase0EnlistmentAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionPhase0EnlistmentAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionPhase0EnlistmentAsync { type Vtable = ITransactionPhase0EnlistmentAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionPhase0EnlistmentAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionPhase0EnlistmentAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82dc88e1_a954_11d1_8f88_00600895e7d5); } @@ -2932,6 +2167,7 @@ pub struct ITransactionPhase0EnlistmentAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionPhase0Factory(::windows_core::IUnknown); impl ITransactionPhase0Factory { pub unsafe fn Create(&self, pphase0notify: P0) -> ::windows_core::Result @@ -2943,25 +2179,9 @@ impl ITransactionPhase0Factory { } } ::windows_core::imp::interface_hierarchy!(ITransactionPhase0Factory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionPhase0Factory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionPhase0Factory {} -impl ::core::fmt::Debug for ITransactionPhase0Factory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionPhase0Factory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionPhase0Factory { type Vtable = ITransactionPhase0Factory_Vtbl; } -impl ::core::clone::Clone for ITransactionPhase0Factory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionPhase0Factory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82dc88e0_a954_11d1_8f88_00600895e7d5); } @@ -2973,6 +2193,7 @@ pub struct ITransactionPhase0Factory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionPhase0NotifyAsync(::windows_core::IUnknown); impl ITransactionPhase0NotifyAsync { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2988,25 +2209,9 @@ impl ITransactionPhase0NotifyAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionPhase0NotifyAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionPhase0NotifyAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionPhase0NotifyAsync {} -impl ::core::fmt::Debug for ITransactionPhase0NotifyAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionPhase0NotifyAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionPhase0NotifyAsync { type Vtable = ITransactionPhase0NotifyAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionPhase0NotifyAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionPhase0NotifyAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef081809_0c76_11d2_87a6_00c04f990f34); } @@ -3022,6 +2227,7 @@ pub struct ITransactionPhase0NotifyAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionReceiver(::windows_core::IUnknown); impl ITransactionReceiver { pub unsafe fn UnmarshalPropagationToken(&self, rgbtoken: &[u8]) -> ::windows_core::Result { @@ -3040,25 +2246,9 @@ impl ITransactionReceiver { } } ::windows_core::imp::interface_hierarchy!(ITransactionReceiver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionReceiver {} -impl ::core::fmt::Debug for ITransactionReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionReceiver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionReceiver { type Vtable = ITransactionReceiver_Vtbl; } -impl ::core::clone::Clone for ITransactionReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionReceiver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59313e03_b36c_11cf_a539_00aa006887c3); } @@ -3073,6 +2263,7 @@ pub struct ITransactionReceiver_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionReceiverFactory(::windows_core::IUnknown); impl ITransactionReceiverFactory { pub unsafe fn Create(&self) -> ::windows_core::Result { @@ -3081,25 +2272,9 @@ impl ITransactionReceiverFactory { } } ::windows_core::imp::interface_hierarchy!(ITransactionReceiverFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionReceiverFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionReceiverFactory {} -impl ::core::fmt::Debug for ITransactionReceiverFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionReceiverFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionReceiverFactory { type Vtable = ITransactionReceiverFactory_Vtbl; } -impl ::core::clone::Clone for ITransactionReceiverFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionReceiverFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59313e02_b36c_11cf_a539_00aa006887c3); } @@ -3111,6 +2286,7 @@ pub struct ITransactionReceiverFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionResource(::windows_core::IUnknown); impl ITransactionResource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3139,25 +2315,9 @@ impl ITransactionResource { } } ::windows_core::imp::interface_hierarchy!(ITransactionResource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionResource {} -impl ::core::fmt::Debug for ITransactionResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionResource { type Vtable = ITransactionResource_Vtbl; } -impl ::core::clone::Clone for ITransactionResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee5ff7b3_4572_11d0_9452_00a0c905416e); } @@ -3178,6 +2338,7 @@ pub struct ITransactionResource_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionResourceAsync(::windows_core::IUnknown); impl ITransactionResourceAsync { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3206,25 +2367,9 @@ impl ITransactionResourceAsync { } } ::windows_core::imp::interface_hierarchy!(ITransactionResourceAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionResourceAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionResourceAsync {} -impl ::core::fmt::Debug for ITransactionResourceAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionResourceAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionResourceAsync { type Vtable = ITransactionResourceAsync_Vtbl; } -impl ::core::clone::Clone for ITransactionResourceAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionResourceAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69e971f0_23ce_11cf_ad60_00aa00a74ccd); } @@ -3245,6 +2390,7 @@ pub struct ITransactionResourceAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionTransmitter(::windows_core::IUnknown); impl ITransactionTransmitter { pub unsafe fn Set(&self, ptransaction: P0) -> ::windows_core::Result<()> @@ -3268,25 +2414,9 @@ impl ITransactionTransmitter { } } ::windows_core::imp::interface_hierarchy!(ITransactionTransmitter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionTransmitter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionTransmitter {} -impl ::core::fmt::Debug for ITransactionTransmitter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionTransmitter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionTransmitter { type Vtable = ITransactionTransmitter_Vtbl; } -impl ::core::clone::Clone for ITransactionTransmitter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionTransmitter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59313e01_b36c_11cf_a539_00aa006887c3); } @@ -3302,6 +2432,7 @@ pub struct ITransactionTransmitter_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionTransmitterFactory(::windows_core::IUnknown); impl ITransactionTransmitterFactory { pub unsafe fn Create(&self) -> ::windows_core::Result { @@ -3310,25 +2441,9 @@ impl ITransactionTransmitterFactory { } } ::windows_core::imp::interface_hierarchy!(ITransactionTransmitterFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionTransmitterFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionTransmitterFactory {} -impl ::core::fmt::Debug for ITransactionTransmitterFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionTransmitterFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionTransmitterFactory { type Vtable = ITransactionTransmitterFactory_Vtbl; } -impl ::core::clone::Clone for ITransactionTransmitterFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionTransmitterFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59313e00_b36c_11cf_a539_00aa006887c3); } @@ -3340,6 +2455,7 @@ pub struct ITransactionTransmitterFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionVoterBallotAsync2(::windows_core::IUnknown); impl ITransactionVoterBallotAsync2 { pub unsafe fn VoteRequestDone(&self, hr: ::windows_core::HRESULT, pboidreason: ::core::option::Option<*const BOID>) -> ::windows_core::Result<()> { @@ -3347,25 +2463,9 @@ impl ITransactionVoterBallotAsync2 { } } ::windows_core::imp::interface_hierarchy!(ITransactionVoterBallotAsync2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionVoterBallotAsync2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionVoterBallotAsync2 {} -impl ::core::fmt::Debug for ITransactionVoterBallotAsync2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionVoterBallotAsync2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionVoterBallotAsync2 { type Vtable = ITransactionVoterBallotAsync2_Vtbl; } -impl ::core::clone::Clone for ITransactionVoterBallotAsync2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionVoterBallotAsync2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5433376c_414d_11d3_b206_00c04fc2f3ef); } @@ -3377,6 +2477,7 @@ pub struct ITransactionVoterBallotAsync2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionVoterFactory2(::windows_core::IUnknown); impl ITransactionVoterFactory2 { pub unsafe fn Create(&self, ptransaction: P0, pvoternotify: P1) -> ::windows_core::Result @@ -3389,25 +2490,9 @@ impl ITransactionVoterFactory2 { } } ::windows_core::imp::interface_hierarchy!(ITransactionVoterFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionVoterFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionVoterFactory2 {} -impl ::core::fmt::Debug for ITransactionVoterFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionVoterFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionVoterFactory2 { type Vtable = ITransactionVoterFactory2_Vtbl; } -impl ::core::clone::Clone for ITransactionVoterFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionVoterFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5433376a_414d_11d3_b206_00c04fc2f3ef); } @@ -3419,6 +2504,7 @@ pub struct ITransactionVoterFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionVoterNotifyAsync2(::windows_core::IUnknown); impl ITransactionVoterNotifyAsync2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3448,25 +2534,9 @@ impl ITransactionVoterNotifyAsync2 { } } ::windows_core::imp::interface_hierarchy!(ITransactionVoterNotifyAsync2, ::windows_core::IUnknown, ITransactionOutcomeEvents); -impl ::core::cmp::PartialEq for ITransactionVoterNotifyAsync2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionVoterNotifyAsync2 {} -impl ::core::fmt::Debug for ITransactionVoterNotifyAsync2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionVoterNotifyAsync2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionVoterNotifyAsync2 { type Vtable = ITransactionVoterNotifyAsync2_Vtbl; } -impl ::core::clone::Clone for ITransactionVoterNotifyAsync2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionVoterNotifyAsync2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5433376b_414d_11d3_b206_00c04fc2f3ef); } @@ -3478,6 +2548,7 @@ pub struct ITransactionVoterNotifyAsync2_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAConfig(::windows_core::IUnknown); impl IXAConfig { pub unsafe fn Initialize(&self, clsidhelperdll: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -3488,25 +2559,9 @@ impl IXAConfig { } } ::windows_core::imp::interface_hierarchy!(IXAConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAConfig {} -impl ::core::fmt::Debug for IXAConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAConfig { type Vtable = IXAConfig_Vtbl; } -impl ::core::clone::Clone for IXAConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8a6e3a1_9a8c_11cf_a308_00a0c905416e); } @@ -3519,6 +2574,7 @@ pub struct IXAConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXAObtainRMInfo(::windows_core::IUnknown); impl IXAObtainRMInfo { pub unsafe fn ObtainRMInfo(&self, pirmhelper: P0) -> ::windows_core::Result<()> @@ -3529,25 +2585,9 @@ impl IXAObtainRMInfo { } } ::windows_core::imp::interface_hierarchy!(IXAObtainRMInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXAObtainRMInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXAObtainRMInfo {} -impl ::core::fmt::Debug for IXAObtainRMInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXAObtainRMInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXAObtainRMInfo { type Vtable = IXAObtainRMInfo_Vtbl; } -impl ::core::clone::Clone for IXAObtainRMInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXAObtainRMInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe793f6d2_f53d_11cf_a60d_00a0c905416e); } @@ -3559,6 +2599,7 @@ pub struct IXAObtainRMInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXATransLookup(::windows_core::IUnknown); impl IXATransLookup { pub unsafe fn Lookup(&self) -> ::windows_core::Result { @@ -3567,25 +2608,9 @@ impl IXATransLookup { } } ::windows_core::imp::interface_hierarchy!(IXATransLookup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXATransLookup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXATransLookup {} -impl ::core::fmt::Debug for IXATransLookup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXATransLookup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXATransLookup { type Vtable = IXATransLookup_Vtbl; } -impl ::core::clone::Clone for IXATransLookup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXATransLookup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3b1f131_eeda_11ce_aed4_00aa0051e2c4); } @@ -3597,6 +2622,7 @@ pub struct IXATransLookup_Vtbl { } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IXATransLookup2(::windows_core::IUnknown); impl IXATransLookup2 { pub unsafe fn Lookup(&self, pxid: *const XID) -> ::windows_core::Result { @@ -3605,25 +2631,9 @@ impl IXATransLookup2 { } } ::windows_core::imp::interface_hierarchy!(IXATransLookup2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IXATransLookup2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IXATransLookup2 {} -impl ::core::fmt::Debug for IXATransLookup2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IXATransLookup2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IXATransLookup2 { type Vtable = IXATransLookup2_Vtbl; } -impl ::core::clone::Clone for IXATransLookup2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IXATransLookup2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf193c85_0d1a_4290_b88f_d2cb8873d1e7); } diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs index 9d4a071d85..ffc70b0e6e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs @@ -60,8 +60,8 @@ impl ISensLogon_Vtbl { StopScreenSaver: StopScreenSaver::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl ISensLogon2_Vtbl { PostShell: PostShell::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -164,8 +164,8 @@ impl ISensNetwork_Vtbl { DestinationReachableNoQOCInfo: DestinationReachableNoQOCInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -202,7 +202,7 @@ impl ISensOnNow_Vtbl { BatteryLow: BatteryLow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs index c79b13bde7..0fa1e209d5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -28,6 +28,7 @@ pub unsafe fn IsNetworkAlive(lpdwflags: *mut u32) -> ::windows_core::Result<()> #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensLogon(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISensLogon { @@ -77,30 +78,10 @@ impl ISensLogon { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISensLogon, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISensLogon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISensLogon {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISensLogon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensLogon").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISensLogon { type Vtable = ISensLogon_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISensLogon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISensLogon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd597bab3_5b9f_11d1_8dd2_00aa004abd5e); } @@ -120,6 +101,7 @@ pub struct ISensLogon_Vtbl { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensLogon2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISensLogon2 { @@ -157,30 +139,10 @@ impl ISensLogon2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISensLogon2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISensLogon2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISensLogon2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISensLogon2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensLogon2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISensLogon2 { type Vtable = ISensLogon2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISensLogon2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISensLogon2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd597bab4_5b9f_11d1_8dd2_00aa004abd5e); } @@ -198,6 +160,7 @@ pub struct ISensLogon2_Vtbl { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensNetwork(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISensNetwork { @@ -237,30 +200,10 @@ impl ISensNetwork { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISensNetwork, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISensNetwork { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISensNetwork {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISensNetwork { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensNetwork").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISensNetwork { type Vtable = ISensNetwork_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISensNetwork { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISensNetwork { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd597bab1_5b9f_11d1_8dd2_00aa004abd5e); } @@ -278,6 +221,7 @@ pub struct ISensNetwork_Vtbl { #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISensOnNow(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISensOnNow { @@ -294,30 +238,10 @@ impl ISensOnNow { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISensOnNow, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISensOnNow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISensOnNow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISensOnNow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISensOnNow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISensOnNow { type Vtable = ISensOnNow_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISensOnNow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISensOnNow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd597bab2_5b9f_11d1_8dd2_00aa004abd5e); } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index 95f68a1ce1..1cea6c968b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -74,8 +74,8 @@ impl IGPEInformation_Vtbl { PolicyChanged: PolicyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IGPM_Vtbl { InitializeReporting: InitializeReporting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -278,8 +278,8 @@ impl IGPM2_Vtbl { InitializeReportingEx: InitializeReportingEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IGPMAsyncCancel_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IGPMAsyncProgress_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Status: Status:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IGPMBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -511,8 +511,8 @@ impl IGPMBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -567,8 +567,8 @@ impl IGPMBackupDir_Vtbl { SearchBackups: SearchBackups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -636,8 +636,8 @@ impl IGPMBackupDirEx_Vtbl { SearchBackups: SearchBackups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -692,8 +692,8 @@ impl IGPMCSECollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl IGPMClientSideExtension_Vtbl { IsComputerEnabled: IsComputerEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IGPMConstants_Vtbl { RsopPlanningAssumeCompWQLFilterTrue: RsopPlanningAssumeCompWQLFilterTrue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1770,8 +1770,8 @@ impl IGPMConstants2_Vtbl { ReportComments: ReportComments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1911,8 +1911,8 @@ impl IGPMDomain_Vtbl { SearchWMIFilters: SearchWMIFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1994,8 +1994,8 @@ impl IGPMDomain2_Vtbl { RestoreStarterGPO: RestoreStarterGPO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl IGPMDomain3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2367,8 +2367,8 @@ impl IGPMGPO_Vtbl { MakeACLConsistent: MakeACLConsistent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2404,8 +2404,8 @@ impl IGPMGPO2_Vtbl { SetDescription: SetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2448,8 +2448,8 @@ impl IGPMGPO3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2504,8 +2504,8 @@ impl IGPMGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2620,8 +2620,8 @@ impl IGPMGPOLink_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2676,8 +2676,8 @@ impl IGPMGPOLinksCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2745,8 +2745,8 @@ impl IGPMMapEntry_Vtbl { EntryType: EntryType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2801,8 +2801,8 @@ impl IGPMMapEntryCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2904,8 +2904,8 @@ impl IGPMMigrationTable_Vtbl { GetEntries: GetEntries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2986,8 +2986,8 @@ impl IGPMPermission_Vtbl { Trustee: Trustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3356,8 +3356,8 @@ impl IGPMRSOP_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3406,8 +3406,8 @@ impl IGPMResult_Vtbl { OverallStatus: OverallStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3541,8 +3541,8 @@ impl IGPMSOM_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3597,8 +3597,8 @@ impl IGPMSOMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IGPMSearchCriteria_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Add: Add:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3695,8 +3695,8 @@ impl IGPMSecurityInfo_Vtbl { RemoveTrustee: RemoveTrustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3777,8 +3777,8 @@ impl IGPMSitesContainer_Vtbl { SearchSites: SearchSites::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4032,8 +4032,8 @@ impl IGPMStarterGPO_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4180,8 +4180,8 @@ impl IGPMStarterGPOBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4236,8 +4236,8 @@ impl IGPMStarterGPOBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4292,8 +4292,8 @@ impl IGPMStarterGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4375,8 +4375,8 @@ impl IGPMStatusMessage_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4431,8 +4431,8 @@ impl IGPMStatusMsgCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4513,8 +4513,8 @@ impl IGPMTrustee_Vtbl { TrusteeType: TrusteeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4616,8 +4616,8 @@ impl IGPMWMIFilter_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4672,8 +4672,8 @@ impl IGPMWMIFilterCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -4815,8 +4815,8 @@ impl IGroupPolicyObject_Vtbl { GetPropertySheetPages: GetPropertySheetPages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"implement\"`*"] @@ -4856,7 +4856,7 @@ impl IRSOPInformation_Vtbl { GetEventLogEntryText: GetEventLogEntryText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index 50fa89f847..b7c15b89b2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -304,6 +304,7 @@ where } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPEInformation(::windows_core::IUnknown); impl IGPEInformation { pub unsafe fn GetName(&self, pszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -343,25 +344,9 @@ impl IGPEInformation { } } ::windows_core::imp::interface_hierarchy!(IGPEInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGPEInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGPEInformation {} -impl ::core::fmt::Debug for IGPEInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPEInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGPEInformation { type Vtable = IGPEInformation_Vtbl; } -impl ::core::clone::Clone for IGPEInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGPEInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fc0b735_a0e1_11d1_a7d3_0000f87571e3); } @@ -388,6 +373,7 @@ pub struct IGPEInformation_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPM(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPM { @@ -492,30 +478,10 @@ impl IGPM { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPM, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPM { type Vtable = IGPM_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5fae809_3bd6_4da9_a65e_17665b41d763); } @@ -573,6 +539,7 @@ pub struct IGPM_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPM2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPM2 { @@ -692,30 +659,10 @@ impl IGPM2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPM2, ::windows_core::IUnknown, super::Com::IDispatch, IGPM); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPM2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPM2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPM2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPM2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPM2 { type Vtable = IGPM2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPM2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPM2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00238f8a_3d86_41ac_8f5e_06a6638a634a); } @@ -733,6 +680,7 @@ pub struct IGPM2_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMAsyncCancel(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMAsyncCancel { @@ -743,30 +691,10 @@ impl IGPMAsyncCancel { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMAsyncCancel, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMAsyncCancel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMAsyncCancel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMAsyncCancel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMAsyncCancel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMAsyncCancel { type Vtable = IGPMAsyncCancel_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMAsyncCancel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMAsyncCancel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddc67754_be67_4541_8166_f48166868c9c); } @@ -780,6 +708,7 @@ pub struct IGPMAsyncCancel_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMAsyncProgress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMAsyncProgress { @@ -795,30 +724,10 @@ impl IGPMAsyncProgress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMAsyncProgress, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMAsyncProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMAsyncProgress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMAsyncProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMAsyncProgress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMAsyncProgress { type Vtable = IGPMAsyncProgress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMAsyncProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMAsyncProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aac29f8_5948_4324_bf70_423818942dbc); } @@ -835,6 +744,7 @@ pub struct IGPMAsyncProgress_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMBackup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMBackup { @@ -887,30 +797,10 @@ impl IGPMBackup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMBackup, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMBackup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMBackup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMBackup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMBackup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMBackup { type Vtable = IGPMBackup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMBackup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMBackup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8a16a35_3b0d_416b_8d02_4df6f95a7119); } @@ -939,6 +829,7 @@ pub struct IGPMBackup_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMBackupCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMBackupCollection { @@ -962,30 +853,10 @@ impl IGPMBackupCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMBackupCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMBackupCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMBackupCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMBackupCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMBackupCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMBackupCollection { type Vtable = IGPMBackupCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMBackupCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMBackupCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc786fc0f_26d8_4bab_a745_39ca7e800cac); } @@ -1007,6 +878,7 @@ pub struct IGPMBackupCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMBackupDir(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDir { @@ -1036,30 +908,10 @@ impl IGPMBackupDir { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMBackupDir, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMBackupDir { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMBackupDir {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMBackupDir { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMBackupDir").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMBackupDir { type Vtable = IGPMBackupDir_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMBackupDir { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMBackupDir { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1568bed_0a93_4acc_810f_afe7081019b9); } @@ -1081,6 +933,7 @@ pub struct IGPMBackupDir_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMBackupDirEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMBackupDirEx { @@ -1114,30 +967,10 @@ impl IGPMBackupDirEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMBackupDirEx, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMBackupDirEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMBackupDirEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMBackupDirEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMBackupDirEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMBackupDirEx { type Vtable = IGPMBackupDirEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMBackupDirEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMBackupDirEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8dc55ed_3ba0_4864_aad4_d365189ee1d5); } @@ -1160,6 +993,7 @@ pub struct IGPMBackupDirEx_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMCSECollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMCSECollection { @@ -1183,30 +1017,10 @@ impl IGPMCSECollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMCSECollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMCSECollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMCSECollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMCSECollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMCSECollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMCSECollection { type Vtable = IGPMCSECollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMCSECollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMCSECollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e52a97d_0a4a_4a6f_85db_201622455da0); } @@ -1228,6 +1042,7 @@ pub struct IGPMCSECollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMClientSideExtension(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMClientSideExtension { @@ -1255,30 +1070,10 @@ impl IGPMClientSideExtension { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMClientSideExtension, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMClientSideExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMClientSideExtension {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMClientSideExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMClientSideExtension").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMClientSideExtension { type Vtable = IGPMClientSideExtension_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMClientSideExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMClientSideExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69da7488_b8db_415e_9266_901be4d49928); } @@ -1301,6 +1096,7 @@ pub struct IGPMClientSideExtension_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMConstants(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMConstants { @@ -1561,30 +1357,10 @@ impl IGPMConstants { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMConstants, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMConstants { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMConstants {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMConstants { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMConstants").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMConstants { type Vtable = IGPMConstants_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMConstants { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMConstants { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50ef73e6_d35c_4c8d_be63_7ea5d2aac5c4); } @@ -1663,6 +1439,7 @@ pub struct IGPMConstants_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMConstants2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMConstants2 { @@ -1983,30 +1760,10 @@ impl IGPMConstants2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMConstants2, ::windows_core::IUnknown, super::Com::IDispatch, IGPMConstants); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMConstants2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMConstants2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMConstants2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMConstants2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMConstants2 { type Vtable = IGPMConstants2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMConstants2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMConstants2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05ae21b0_ac09_4032_a26f_9e7da786dc19); } @@ -2034,6 +1791,7 @@ pub struct IGPMConstants2_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMDomain(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMDomain { @@ -2117,30 +1875,10 @@ impl IGPMDomain { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMDomain, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMDomain { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMDomain {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMDomain { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMDomain").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMDomain { type Vtable = IGPMDomain_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMDomain { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMDomain { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b21cc14_5a00_4f44_a738_feec8a94c7e3); } @@ -2187,6 +1925,7 @@ pub struct IGPMDomain_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMDomain2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMDomain2 { @@ -2320,30 +2059,10 @@ impl IGPMDomain2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMDomain2, ::windows_core::IUnknown, super::Com::IDispatch, IGPMDomain); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMDomain2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMDomain2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMDomain2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMDomain2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMDomain2 { type Vtable = IGPMDomain2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMDomain2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMDomain2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ca6bb8b_f1eb_490a_938d_3c4e51c768e6); } @@ -2380,6 +2099,7 @@ pub struct IGPMDomain2_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMDomain3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMDomain3 { @@ -2531,30 +2251,10 @@ impl IGPMDomain3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMDomain3, ::windows_core::IUnknown, super::Com::IDispatch, IGPMDomain, IGPMDomain2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMDomain3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMDomain3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMDomain3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMDomain3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMDomain3 { type Vtable = IGPMDomain3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMDomain3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMDomain3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0077fdfe_88c7_4acf_a11d_d10a7c310a03); } @@ -2574,6 +2274,7 @@ pub struct IGPMDomain3_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPO(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPO { @@ -2748,30 +2449,10 @@ impl IGPMGPO { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPO, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPO {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPO").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPO { type Vtable = IGPMGPO_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58cc4352_1ca3_48e5_9864_1da4d6e0d60f); } @@ -2861,6 +2542,7 @@ pub struct IGPMGPO_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPO2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPO2 { @@ -3045,30 +2727,10 @@ impl IGPMGPO2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPO2, ::windows_core::IUnknown, super::Com::IDispatch, IGPMGPO); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPO2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPO2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPO2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPO2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPO2 { type Vtable = IGPMGPO2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPO2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPO2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a66a210_b78b_4d99_88e2_c306a817c925); } @@ -3083,6 +2745,7 @@ pub struct IGPMGPO2_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPO3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPO3 { @@ -3280,30 +2943,10 @@ impl IGPMGPO3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPO3, ::windows_core::IUnknown, super::Com::IDispatch, IGPMGPO, IGPMGPO2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPO3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPO3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPO3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPO3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPO3 { type Vtable = IGPMGPO3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPO3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPO3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cf123a1_f94a_4112_bfae_6aa1db9cb248); } @@ -3319,6 +2962,7 @@ pub struct IGPMGPO3_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPOCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPOCollection { @@ -3342,30 +2986,10 @@ impl IGPMGPOCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPOCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPOCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPOCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPOCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPOCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPOCollection { type Vtable = IGPMGPOCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPOCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPOCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0f0d5cf_70ca_4c39_9e29_b642f8726c01); } @@ -3387,6 +3011,7 @@ pub struct IGPMGPOCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPOLink(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLink { @@ -3443,30 +3068,10 @@ impl IGPMGPOLink { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPOLink, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPOLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPOLink {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPOLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPOLink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPOLink { type Vtable = IGPMGPOLink_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPOLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPOLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x434b99bd_5de7_478a_809c_c251721df70c); } @@ -3503,6 +3108,7 @@ pub struct IGPMGPOLink_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMGPOLinksCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMGPOLinksCollection { @@ -3526,30 +3132,10 @@ impl IGPMGPOLinksCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMGPOLinksCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMGPOLinksCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMGPOLinksCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMGPOLinksCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMGPOLinksCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMGPOLinksCollection { type Vtable = IGPMGPOLinksCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMGPOLinksCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMGPOLinksCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x189d7b68_16bd_4d0d_a2ec_2e6aa2288c7f); } @@ -3571,6 +3157,7 @@ pub struct IGPMGPOLinksCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMMapEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntry { @@ -3594,30 +3181,10 @@ impl IGPMMapEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMMapEntry, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMMapEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMMapEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMMapEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMMapEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMMapEntry { type Vtable = IGPMMapEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMMapEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMMapEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e79ad06_2381_4444_be4c_ff693e6e6f2b); } @@ -3634,6 +3201,7 @@ pub struct IGPMMapEntry_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMMapEntryCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMMapEntryCollection { @@ -3657,30 +3225,10 @@ impl IGPMMapEntryCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMMapEntryCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMMapEntryCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMMapEntryCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMMapEntryCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMMapEntryCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMMapEntryCollection { type Vtable = IGPMMapEntryCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMMapEntryCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMMapEntryCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb0bf49b_e53f_443f_b807_8be22bfb6d42); } @@ -3702,6 +3250,7 @@ pub struct IGPMMapEntryCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMMigrationTable(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMMigrationTable { @@ -3765,30 +3314,10 @@ impl IGPMMigrationTable { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMMigrationTable, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMMigrationTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMMigrationTable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMMigrationTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMMigrationTable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMMigrationTable { type Vtable = IGPMMigrationTable_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMMigrationTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMMigrationTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48f823b1_efaf_470b_b6ed_40d14ee1a4ec); } @@ -3827,6 +3356,7 @@ pub struct IGPMMigrationTable_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMPermission(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMPermission { @@ -3862,30 +3392,10 @@ impl IGPMPermission { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMPermission, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMPermission { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMPermission {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMPermission { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMPermission").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMPermission { type Vtable = IGPMPermission_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMPermission { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMPermission { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35ebca40_e1a1_4a02_8905_d79416fb464a); } @@ -3915,6 +3425,7 @@ pub struct IGPMPermission_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMRSOP(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMRSOP { @@ -4094,30 +3605,10 @@ impl IGPMRSOP { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMRSOP, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMRSOP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMRSOP {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMRSOP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMRSOP").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMRSOP { type Vtable = IGPMRSOP_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMRSOP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMRSOP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ed785a_3237_4ff2_b1f0_fdf5a8d5a1ee); } @@ -4198,6 +3689,7 @@ pub struct IGPMRSOP_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMResult { @@ -4220,30 +3712,10 @@ impl IGPMResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMResult { type Vtable = IGPMResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86dff7e9_f76f_42ab_9570_cebc6be8a52d); } @@ -4265,6 +3737,7 @@ pub struct IGPMResult_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMSOM(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSOM { @@ -4333,30 +3806,10 @@ impl IGPMSOM { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMSOM, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMSOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMSOM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMSOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMSOM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMSOM { type Vtable = IGPMSOM_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMSOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMSOM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0a7f09e_05a1_4f0c_8158_9e5c33684f6b); } @@ -4400,6 +3853,7 @@ pub struct IGPMSOM_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMSOMCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSOMCollection { @@ -4423,30 +3877,10 @@ impl IGPMSOMCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMSOMCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMSOMCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMSOMCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMSOMCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMSOMCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMSOMCollection { type Vtable = IGPMSOMCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMSOMCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMSOMCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadc1688e_00e4_4495_abba_bed200df0cab); } @@ -4468,6 +3902,7 @@ pub struct IGPMSOMCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMSearchCriteria(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSearchCriteria { @@ -4480,30 +3915,10 @@ impl IGPMSearchCriteria { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMSearchCriteria, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMSearchCriteria { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMSearchCriteria {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMSearchCriteria { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMSearchCriteria").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMSearchCriteria { type Vtable = IGPMSearchCriteria_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMSearchCriteria { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMSearchCriteria { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6f11c42_829b_48d4_83f5_3615b67dfc22); } @@ -4520,6 +3935,7 @@ pub struct IGPMSearchCriteria_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMSecurityInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSecurityInfo { @@ -4565,30 +3981,10 @@ impl IGPMSecurityInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMSecurityInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMSecurityInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMSecurityInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMSecurityInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMSecurityInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMSecurityInfo { type Vtable = IGPMSecurityInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMSecurityInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMSecurityInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb6c31ed4_1c93_4d3e_ae84_eb6d61161b60); } @@ -4619,6 +4015,7 @@ pub struct IGPMSecurityInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMSitesContainer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMSitesContainer { @@ -4656,30 +4053,10 @@ impl IGPMSitesContainer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMSitesContainer, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMSitesContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMSitesContainer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMSitesContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMSitesContainer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMSitesContainer { type Vtable = IGPMSitesContainer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMSitesContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMSitesContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4725a899_2782_4d27_a6bb_d499246ffd72); } @@ -4703,6 +4080,7 @@ pub struct IGPMSitesContainer_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStarterGPO(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPO { @@ -4823,30 +4201,10 @@ impl IGPMStarterGPO { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStarterGPO, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStarterGPO { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStarterGPO {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStarterGPO { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStarterGPO").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStarterGPO { type Vtable = IGPMStarterGPO_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStarterGPO { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStarterGPO { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfc3f61b_8880_4490_9337_d29c7ba8c2f0); } @@ -4901,6 +4259,7 @@ pub struct IGPMStarterGPO_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStarterGPOBackup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackup { @@ -4957,30 +4316,10 @@ impl IGPMStarterGPOBackup { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackup, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStarterGPOBackup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStarterGPOBackup {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStarterGPOBackup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStarterGPOBackup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStarterGPOBackup { type Vtable = IGPMStarterGPOBackup_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStarterGPOBackup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStarterGPOBackup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51d98eda_a87e_43dd_b80a_0b66ef1938d6); } @@ -5010,6 +4349,7 @@ pub struct IGPMStarterGPOBackup_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStarterGPOBackupCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOBackupCollection { @@ -5033,30 +4373,10 @@ impl IGPMStarterGPOBackupCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackupCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStarterGPOBackupCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStarterGPOBackupCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStarterGPOBackupCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStarterGPOBackupCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStarterGPOBackupCollection { type Vtable = IGPMStarterGPOBackupCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStarterGPOBackupCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStarterGPOBackupCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc998031d_add0_4bb5_8dea_298505d8423b); } @@ -5078,6 +4398,7 @@ pub struct IGPMStarterGPOBackupCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStarterGPOCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStarterGPOCollection { @@ -5101,30 +4422,10 @@ impl IGPMStarterGPOCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStarterGPOCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStarterGPOCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStarterGPOCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStarterGPOCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStarterGPOCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStarterGPOCollection { type Vtable = IGPMStarterGPOCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStarterGPOCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStarterGPOCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e522729_2219_44ad_933a_64dfd650c423); } @@ -5146,6 +4447,7 @@ pub struct IGPMStarterGPOCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStatusMessage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMessage { @@ -5175,30 +4477,10 @@ impl IGPMStatusMessage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStatusMessage, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStatusMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStatusMessage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStatusMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStatusMessage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStatusMessage { type Vtable = IGPMStatusMessage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStatusMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStatusMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8496c22f_f3de_4a1f_8f58_603caaa93d7b); } @@ -5217,6 +4499,7 @@ pub struct IGPMStatusMessage_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMStatusMsgCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMStatusMsgCollection { @@ -5240,30 +4523,10 @@ impl IGPMStatusMsgCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMStatusMsgCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMStatusMsgCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMStatusMsgCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMStatusMsgCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMStatusMsgCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMStatusMsgCollection { type Vtable = IGPMStatusMsgCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMStatusMsgCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMStatusMsgCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b6e1af0_1a92_40f3_a59d_f36ac1f728b7); } @@ -5285,6 +4548,7 @@ pub struct IGPMStatusMsgCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMTrustee(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMTrustee { @@ -5312,30 +4576,10 @@ impl IGPMTrustee { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMTrustee, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMTrustee { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMTrustee {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMTrustee { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMTrustee").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMTrustee { type Vtable = IGPMTrustee_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMTrustee { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMTrustee { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b466da8_c1a4_4b2a_999a_befcdd56cefb); } @@ -5353,6 +4597,7 @@ pub struct IGPMTrustee_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMWMIFilter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilter { @@ -5404,30 +4649,10 @@ impl IGPMWMIFilter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMWMIFilter, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMWMIFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMWMIFilter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMWMIFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMWMIFilter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMWMIFilter { type Vtable = IGPMWMIFilter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMWMIFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMWMIFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef2ff9b4_3c27_459a_b979_038305cec75d); } @@ -5457,6 +4682,7 @@ pub struct IGPMWMIFilter_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGPMWMIFilterCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IGPMWMIFilterCollection { @@ -5480,30 +4706,10 @@ impl IGPMWMIFilterCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IGPMWMIFilterCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IGPMWMIFilterCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IGPMWMIFilterCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IGPMWMIFilterCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGPMWMIFilterCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IGPMWMIFilterCollection { type Vtable = IGPMWMIFilterCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IGPMWMIFilterCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IGPMWMIFilterCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5782d582_1a36_4661_8a94_c3c32551945b); } @@ -5524,6 +4730,7 @@ pub struct IGPMWMIFilterCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGroupPolicyObject(::windows_core::IUnknown); impl IGroupPolicyObject { pub unsafe fn New(&self, pszdomainname: P0, pszdisplayname: P1, dwflags: u32) -> ::windows_core::Result<()> @@ -5605,25 +4812,9 @@ impl IGroupPolicyObject { } } ::windows_core::imp::interface_hierarchy!(IGroupPolicyObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGroupPolicyObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGroupPolicyObject {} -impl ::core::fmt::Debug for IGroupPolicyObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGroupPolicyObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGroupPolicyObject { type Vtable = IGroupPolicyObject_Vtbl; } -impl ::core::clone::Clone for IGroupPolicyObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGroupPolicyObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea502723_a23d_11d1_a7d3_0000f87571e3); } @@ -5661,6 +4852,7 @@ pub struct IGroupPolicyObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRSOPInformation(::windows_core::IUnknown); impl IRSOPInformation { pub unsafe fn GetNamespace(&self, dwsection: u32, pszname: &mut [u16]) -> ::windows_core::Result<()> { @@ -5680,25 +4872,9 @@ impl IRSOPInformation { } } ::windows_core::imp::interface_hierarchy!(IRSOPInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRSOPInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRSOPInformation {} -impl ::core::fmt::Debug for IRSOPInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRSOPInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRSOPInformation { type Vtable = IRSOPInformation_Vtbl; } -impl ::core::clone::Clone for IRSOPInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRSOPInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a5a81b5_d9c7_49ef_9d11_ddf50968c48d); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs index 6a0f45ec24..ae14d59cbb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs @@ -25,8 +25,8 @@ impl AsyncIFtpAuthenticationProvider_Vtbl { Finish_AuthenticateUser: Finish_AuthenticateUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -59,8 +59,8 @@ impl AsyncIFtpAuthorizationProvider_Vtbl { Finish_GetUserAccessPermission: Finish_GetUserAccessPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl AsyncIFtpHomeDirectoryProvider_Vtbl { Finish_GetUserHomeDirectoryData: Finish_GetUserHomeDirectoryData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl AsyncIFtpLogProvider_Vtbl { Finish_Log: Finish_Log::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl AsyncIFtpPostprocessProvider_Vtbl { Finish_HandlePostprocess: Finish_HandlePostprocess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl AsyncIFtpPreprocessProvider_Vtbl { Finish_HandlePreprocess: Finish_HandlePreprocess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl AsyncIFtpRoleProvider_Vtbl { Finish_IsUserInRole: Finish_IsUserInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -274,8 +274,8 @@ impl AsyncIMSAdminBaseSinkW_Vtbl { Finish_ShutdownNotify: Finish_ShutdownNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IADMEXT_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl IFtpAuthenticationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AuthenticateUser: AuthenticateUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IFtpAuthorizationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserAccessPermission: GetUserAccessPermission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -378,8 +378,8 @@ impl IFtpHomeDirectoryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserHomeDirectoryData: GetUserHomeDirectoryData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -396,8 +396,8 @@ impl IFtpLogProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Log: Log:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl IFtpPostprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePostprocess: HandlePostprocess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IFtpPreprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePreprocess: HandlePreprocess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IFtpProviderConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IFtpRoleProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsUserInRole: IsUserInRole:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IMSAdminBase2W_Vtbl { EnumHistory: EnumHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -578,8 +578,8 @@ impl IMSAdminBase3W_Vtbl { } Self { base__: IMSAdminBase2W_Vtbl::new::(), GetChildPaths: GetChildPaths:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -606,8 +606,8 @@ impl IMSAdminBaseSinkW_Vtbl { ShutdownNotify: ShutdownNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -870,8 +870,8 @@ impl IMSAdminBaseW_Vtbl { GetServerGuid: GetServerGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -888,7 +888,7 @@ impl IMSImpExpHelpW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumeratePathsInFile: EnumeratePathsInFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs index 8112ac68ce..0a02064e14 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -28,6 +28,7 @@ pub unsafe fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u3 } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpAuthenticationProvider(::windows_core::IUnknown); impl AsyncIFtpAuthenticationProvider { pub unsafe fn Begin_AuthenticateUser(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszpassword: P3) -> ::windows_core::Result<()> @@ -46,25 +47,9 @@ impl AsyncIFtpAuthenticationProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpAuthenticationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpAuthenticationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpAuthenticationProvider {} -impl ::core::fmt::Debug for AsyncIFtpAuthenticationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpAuthenticationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpAuthenticationProvider { type Vtable = AsyncIFtpAuthenticationProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpAuthenticationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpAuthenticationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc24efb65_9f3e_4996_8fb1_ce166916bab5); } @@ -80,6 +65,7 @@ pub struct AsyncIFtpAuthenticationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpAuthorizationProvider(::windows_core::IUnknown); impl AsyncIFtpAuthorizationProvider { pub unsafe fn Begin_GetUserAccessPermission(&self, pszsessionid: P0, pszsitename: P1, pszvirtualpath: P2, pszusername: P3) -> ::windows_core::Result<()> @@ -97,25 +83,9 @@ impl AsyncIFtpAuthorizationProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpAuthorizationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpAuthorizationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpAuthorizationProvider {} -impl ::core::fmt::Debug for AsyncIFtpAuthorizationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpAuthorizationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpAuthorizationProvider { type Vtable = AsyncIFtpAuthorizationProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpAuthorizationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpAuthorizationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x860dc339_07e5_4a5c_9c61_8820cea012bc); } @@ -128,6 +98,7 @@ pub struct AsyncIFtpAuthorizationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpHomeDirectoryProvider(::windows_core::IUnknown); impl AsyncIFtpHomeDirectoryProvider { pub unsafe fn Begin_GetUserHomeDirectoryData(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2) -> ::windows_core::Result<()> @@ -144,25 +115,9 @@ impl AsyncIFtpHomeDirectoryProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpHomeDirectoryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpHomeDirectoryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpHomeDirectoryProvider {} -impl ::core::fmt::Debug for AsyncIFtpHomeDirectoryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpHomeDirectoryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpHomeDirectoryProvider { type Vtable = AsyncIFtpHomeDirectoryProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpHomeDirectoryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpHomeDirectoryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73f81638_6295_42bd_a2be_4a657f7c479c); } @@ -175,6 +130,7 @@ pub struct AsyncIFtpHomeDirectoryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpLogProvider(::windows_core::IUnknown); impl AsyncIFtpLogProvider { pub unsafe fn Begin_Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows_core::Result<()> { @@ -185,25 +141,9 @@ impl AsyncIFtpLogProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpLogProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpLogProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpLogProvider {} -impl ::core::fmt::Debug for AsyncIFtpLogProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpLogProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpLogProvider { type Vtable = AsyncIFtpLogProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpLogProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpLogProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00a0ae46_2498_48b2_95e6_df678ed7d49f); } @@ -216,6 +156,7 @@ pub struct AsyncIFtpLogProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpPostprocessProvider(::windows_core::IUnknown); impl AsyncIFtpPostprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -229,25 +170,9 @@ impl AsyncIFtpPostprocessProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpPostprocessProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpPostprocessProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpPostprocessProvider {} -impl ::core::fmt::Debug for AsyncIFtpPostprocessProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpPostprocessProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpPostprocessProvider { type Vtable = AsyncIFtpPostprocessProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpPostprocessProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpPostprocessProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa16b2542_9694_4eb1_a564_6c2e91fdc133); } @@ -263,6 +188,7 @@ pub struct AsyncIFtpPostprocessProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpPreprocessProvider(::windows_core::IUnknown); impl AsyncIFtpPreprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -276,25 +202,9 @@ impl AsyncIFtpPreprocessProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpPreprocessProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpPreprocessProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpPreprocessProvider {} -impl ::core::fmt::Debug for AsyncIFtpPreprocessProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpPreprocessProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpPreprocessProvider { type Vtable = AsyncIFtpPreprocessProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpPreprocessProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpPreprocessProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ff5fd8f_fd8e_48b1_a3e0_bf7073db4db5); } @@ -310,6 +220,7 @@ pub struct AsyncIFtpPreprocessProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIFtpRoleProvider(::windows_core::IUnknown); impl AsyncIFtpRoleProvider { pub unsafe fn Begin_IsUserInRole(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszrole: P3) -> ::windows_core::Result<()> @@ -329,25 +240,9 @@ impl AsyncIFtpRoleProvider { } } ::windows_core::imp::interface_hierarchy!(AsyncIFtpRoleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIFtpRoleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIFtpRoleProvider {} -impl ::core::fmt::Debug for AsyncIFtpRoleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIFtpRoleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIFtpRoleProvider { type Vtable = AsyncIFtpRoleProvider_Vtbl; } -impl ::core::clone::Clone for AsyncIFtpRoleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIFtpRoleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e83bf99_70ec_41ca_84b6_aca7c7a62caf); } @@ -363,6 +258,7 @@ pub struct AsyncIFtpRoleProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AsyncIMSAdminBaseSinkW(::windows_core::IUnknown); impl AsyncIMSAdminBaseSinkW { pub unsafe fn Begin_SinkNotify(&self, pcochangelist: &[MD_CHANGE_OBJECT_W]) -> ::windows_core::Result<()> { @@ -379,25 +275,9 @@ impl AsyncIMSAdminBaseSinkW { } } ::windows_core::imp::interface_hierarchy!(AsyncIMSAdminBaseSinkW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for AsyncIMSAdminBaseSinkW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for AsyncIMSAdminBaseSinkW {} -impl ::core::fmt::Debug for AsyncIMSAdminBaseSinkW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AsyncIMSAdminBaseSinkW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for AsyncIMSAdminBaseSinkW { type Vtable = AsyncIMSAdminBaseSinkW_Vtbl; } -impl ::core::clone::Clone for AsyncIMSAdminBaseSinkW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for AsyncIMSAdminBaseSinkW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9e69613_b80d_11d0_b9b9_00a0c922e750); } @@ -412,6 +292,7 @@ pub struct AsyncIMSAdminBaseSinkW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADMEXT(::windows_core::IUnknown); impl IADMEXT { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -425,25 +306,9 @@ impl IADMEXT { } } ::windows_core::imp::interface_hierarchy!(IADMEXT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IADMEXT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IADMEXT {} -impl ::core::fmt::Debug for IADMEXT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADMEXT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IADMEXT { type Vtable = IADMEXT_Vtbl; } -impl ::core::clone::Clone for IADMEXT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IADMEXT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51dfe970_f6f2_11d0_b9bd_00a0c922e750); } @@ -457,6 +322,7 @@ pub struct IADMEXT_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpAuthenticationProvider(::windows_core::IUnknown); impl IFtpAuthenticationProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -472,25 +338,9 @@ impl IFtpAuthenticationProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpAuthenticationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpAuthenticationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpAuthenticationProvider {} -impl ::core::fmt::Debug for IFtpAuthenticationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpAuthenticationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpAuthenticationProvider { type Vtable = IFtpAuthenticationProvider_Vtbl; } -impl ::core::clone::Clone for IFtpAuthenticationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpAuthenticationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4659f95c_d5a8_4707_b2fc_6fd5794246cf); } @@ -505,6 +355,7 @@ pub struct IFtpAuthenticationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpAuthorizationProvider(::windows_core::IUnknown); impl IFtpAuthorizationProvider { pub unsafe fn GetUserAccessPermission(&self, pszsessionid: P0, pszsitename: P1, pszvirtualpath: P2, pszusername: P3) -> ::windows_core::Result @@ -519,25 +370,9 @@ impl IFtpAuthorizationProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpAuthorizationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpAuthorizationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpAuthorizationProvider {} -impl ::core::fmt::Debug for IFtpAuthorizationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpAuthorizationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpAuthorizationProvider { type Vtable = IFtpAuthorizationProvider_Vtbl; } -impl ::core::clone::Clone for IFtpAuthorizationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpAuthorizationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa50ae7a1_a35a_42b4_a4f3_f4f7057a05d1); } @@ -549,6 +384,7 @@ pub struct IFtpAuthorizationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpHomeDirectoryProvider(::windows_core::IUnknown); impl IFtpHomeDirectoryProvider { pub unsafe fn GetUserHomeDirectoryData(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2) -> ::windows_core::Result<::windows_core::PWSTR> @@ -562,25 +398,9 @@ impl IFtpHomeDirectoryProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpHomeDirectoryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpHomeDirectoryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpHomeDirectoryProvider {} -impl ::core::fmt::Debug for IFtpHomeDirectoryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpHomeDirectoryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpHomeDirectoryProvider { type Vtable = IFtpHomeDirectoryProvider_Vtbl; } -impl ::core::clone::Clone for IFtpHomeDirectoryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpHomeDirectoryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0933b392_18dd_4097_8b9c_83325c35d9a6); } @@ -592,6 +412,7 @@ pub struct IFtpHomeDirectoryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpLogProvider(::windows_core::IUnknown); impl IFtpLogProvider { pub unsafe fn Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows_core::Result<()> { @@ -599,25 +420,9 @@ impl IFtpLogProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpLogProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpLogProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpLogProvider {} -impl ::core::fmt::Debug for IFtpLogProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpLogProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpLogProvider { type Vtable = IFtpLogProvider_Vtbl; } -impl ::core::clone::Clone for IFtpLogProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpLogProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa18a94cc_8299_4408_816c_7c3baca1a40e); } @@ -629,6 +434,7 @@ pub struct IFtpLogProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpPostprocessProvider(::windows_core::IUnknown); impl IFtpPostprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -639,25 +445,9 @@ impl IFtpPostprocessProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpPostprocessProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpPostprocessProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpPostprocessProvider {} -impl ::core::fmt::Debug for IFtpPostprocessProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpPostprocessProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpPostprocessProvider { type Vtable = IFtpPostprocessProvider_Vtbl; } -impl ::core::clone::Clone for IFtpPostprocessProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpPostprocessProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4522cbc6_16cd_49ad_8653_9a2c579e4280); } @@ -672,6 +462,7 @@ pub struct IFtpPostprocessProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpPreprocessProvider(::windows_core::IUnknown); impl IFtpPreprocessProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -682,25 +473,9 @@ impl IFtpPreprocessProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpPreprocessProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpPreprocessProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpPreprocessProvider {} -impl ::core::fmt::Debug for IFtpPreprocessProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpPreprocessProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpPreprocessProvider { type Vtable = IFtpPreprocessProvider_Vtbl; } -impl ::core::clone::Clone for IFtpPreprocessProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpPreprocessProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3c19b60_5a28_471a_8f93_ab30411cee82); } @@ -715,6 +490,7 @@ pub struct IFtpPreprocessProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpProviderConstruct(::windows_core::IUnknown); impl IFtpProviderConstruct { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -724,25 +500,9 @@ impl IFtpProviderConstruct { } } ::windows_core::imp::interface_hierarchy!(IFtpProviderConstruct, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpProviderConstruct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpProviderConstruct {} -impl ::core::fmt::Debug for IFtpProviderConstruct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpProviderConstruct").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpProviderConstruct { type Vtable = IFtpProviderConstruct_Vtbl; } -impl ::core::clone::Clone for IFtpProviderConstruct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpProviderConstruct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d1a3f7b_412d_447c_b199_64f967e9a2da); } @@ -757,6 +517,7 @@ pub struct IFtpProviderConstruct_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFtpRoleProvider(::windows_core::IUnknown); impl IFtpRoleProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -773,25 +534,9 @@ impl IFtpRoleProvider { } } ::windows_core::imp::interface_hierarchy!(IFtpRoleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFtpRoleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFtpRoleProvider {} -impl ::core::fmt::Debug for IFtpRoleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFtpRoleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFtpRoleProvider { type Vtable = IFtpRoleProvider_Vtbl; } -impl ::core::clone::Clone for IFtpRoleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFtpRoleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x909c850d_8ca0_4674_96b8_cc2941535725); } @@ -806,6 +551,7 @@ pub struct IFtpRoleProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSAdminBase2W(::windows_core::IUnknown); impl IMSAdminBase2W { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows_core::Result<()> @@ -1031,25 +777,9 @@ impl IMSAdminBase2W { } } ::windows_core::imp::interface_hierarchy!(IMSAdminBase2W, ::windows_core::IUnknown, IMSAdminBaseW); -impl ::core::cmp::PartialEq for IMSAdminBase2W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSAdminBase2W {} -impl ::core::fmt::Debug for IMSAdminBase2W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSAdminBase2W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSAdminBase2W { type Vtable = IMSAdminBase2W_Vtbl; } -impl ::core::clone::Clone for IMSAdminBase2W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSAdminBase2W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8298d101_f992_43b7_8eca_5052d885b995); } @@ -1069,6 +799,7 @@ pub struct IMSAdminBase2W_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSAdminBase3W(::windows_core::IUnknown); impl IMSAdminBase3W { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows_core::Result<()> @@ -1300,25 +1031,9 @@ impl IMSAdminBase3W { } } ::windows_core::imp::interface_hierarchy!(IMSAdminBase3W, ::windows_core::IUnknown, IMSAdminBaseW, IMSAdminBase2W); -impl ::core::cmp::PartialEq for IMSAdminBase3W { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSAdminBase3W {} -impl ::core::fmt::Debug for IMSAdminBase3W { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSAdminBase3W").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSAdminBase3W { type Vtable = IMSAdminBase3W_Vtbl; } -impl ::core::clone::Clone for IMSAdminBase3W { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSAdminBase3W { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf612954d_3b0b_4c56_9563_227b7be624b4); } @@ -1330,6 +1045,7 @@ pub struct IMSAdminBase3W_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSAdminBaseSinkW(::windows_core::IUnknown); impl IMSAdminBaseSinkW { pub unsafe fn SinkNotify(&self, pcochangelist: &[MD_CHANGE_OBJECT_W]) -> ::windows_core::Result<()> { @@ -1340,25 +1056,9 @@ impl IMSAdminBaseSinkW { } } ::windows_core::imp::interface_hierarchy!(IMSAdminBaseSinkW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSAdminBaseSinkW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSAdminBaseSinkW {} -impl ::core::fmt::Debug for IMSAdminBaseSinkW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSAdminBaseSinkW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSAdminBaseSinkW { type Vtable = IMSAdminBaseSinkW_Vtbl; } -impl ::core::clone::Clone for IMSAdminBaseSinkW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSAdminBaseSinkW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9e69612_b80d_11d0_b9b9_00a0c922e750); } @@ -1371,6 +1071,7 @@ pub struct IMSAdminBaseSinkW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSAdminBaseW(::windows_core::IUnknown); impl IMSAdminBaseW { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> ::windows_core::Result<()> @@ -1554,25 +1255,9 @@ impl IMSAdminBaseW { } } ::windows_core::imp::interface_hierarchy!(IMSAdminBaseW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSAdminBaseW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSAdminBaseW {} -impl ::core::fmt::Debug for IMSAdminBaseW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSAdminBaseW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSAdminBaseW { type Vtable = IMSAdminBaseW_Vtbl; } -impl ::core::clone::Clone for IMSAdminBaseW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSAdminBaseW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70b51430_b6ca_11d0_b9b9_00a0c922e750); } @@ -1629,6 +1314,7 @@ pub struct IMSAdminBaseW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Iis\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSImpExpHelpW(::windows_core::IUnknown); impl IMSImpExpHelpW { pub unsafe fn EnumeratePathsInFile(&self, pszfilename: P0, pszkeytype: P1, pszbuffer: ::core::option::Option<&mut [u16]>, pdwmdrequiredbuffersize: *mut u32) -> ::windows_core::Result<()> @@ -1640,25 +1326,9 @@ impl IMSImpExpHelpW { } } ::windows_core::imp::interface_hierarchy!(IMSImpExpHelpW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMSImpExpHelpW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMSImpExpHelpW {} -impl ::core::fmt::Debug for IMSImpExpHelpW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSImpExpHelpW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMSImpExpHelpW { type Vtable = IMSImpExpHelpW_Vtbl; } -impl ::core::clone::Clone for IMSImpExpHelpW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMSImpExpHelpW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29ff67ff_8050_480f_9f30_cc41635f2f9d); } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs index 6af979c302..1adf19ad1b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs @@ -21,8 +21,8 @@ impl IMSMQApplication_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), MachineIdOfMachineName: MachineIdOfMachineName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -123,8 +123,8 @@ impl IMSMQApplication2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IMSMQApplication3_Vtbl { Tidy: Tidy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl IMSMQCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -329,8 +329,8 @@ impl IMSMQCoordinatedTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IMSMQCoordinatedTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -415,8 +415,8 @@ impl IMSMQCoordinatedTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IMSMQDestination_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -586,8 +586,8 @@ impl IMSMQEvent_Vtbl { pub const fn new, Impl: IMSMQEvent_Impl, const OFFSET: isize>() -> IMSMQEvent_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -613,8 +613,8 @@ impl IMSMQEvent2_Vtbl { } Self { base__: IMSMQEvent_Vtbl::new::(), Properties: Properties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -627,8 +627,8 @@ impl IMSMQEvent3_Vtbl { pub const fn new, Impl: IMSMQEvent3_Impl, const OFFSET: isize>() -> IMSMQEvent3_Vtbl { Self { base__: IMSMQEvent2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -755,8 +755,8 @@ impl IMSMQManagement_Vtbl { BytesInQueue: BytesInQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1283,8 +1283,8 @@ impl IMSMQMessage_Vtbl { AttachCurrentSecurityContext: AttachCurrentSecurityContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl IMSMQMessage2_Vtbl { ReceivedAuthenticationLevel: ReceivedAuthenticationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl IMSMQMessage3_Vtbl { SetSoapBody: SetSoapBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4045,8 +4045,8 @@ impl IMSMQMessage4_Vtbl { SetSoapBody: SetSoapBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4122,8 +4122,8 @@ impl IMSMQOutgoingQueueManagement_Vtbl { EodResend: EodResend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4159,8 +4159,8 @@ impl IMSMQPrivateDestination_Vtbl { SetHandle: SetHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4203,8 +4203,8 @@ impl IMSMQPrivateEvent_Vtbl { FireArrivedErrorEvent: FireArrivedErrorEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4230,8 +4230,8 @@ impl IMSMQQuery_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), LookupQueue: LookupQueue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4273,8 +4273,8 @@ impl IMSMQQuery2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4341,8 +4341,8 @@ impl IMSMQQuery3_Vtbl { LookupQueue: LookupQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4409,8 +4409,8 @@ impl IMSMQQuery4_Vtbl { LookupQueue: LookupQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4577,8 +4577,8 @@ impl IMSMQQueue_Vtbl { PeekCurrent: PeekCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4823,8 +4823,8 @@ impl IMSMQQueue2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5232,8 +5232,8 @@ impl IMSMQQueue3_Vtbl { IsOpen2: IsOpen2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5654,8 +5654,8 @@ impl IMSMQQueue4_Vtbl { ReceiveByLookupIdAllowPeek: ReceiveByLookupIdAllowPeek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5977,8 +5977,8 @@ impl IMSMQQueueInfo_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6346,8 +6346,8 @@ impl IMSMQQueueInfo2_Vtbl { SetSecurity: SetSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6774,8 +6774,8 @@ impl IMSMQQueueInfo3_Vtbl { ADsPath: ADsPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7202,8 +7202,8 @@ impl IMSMQQueueInfo4_Vtbl { ADsPath: ADsPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7239,8 +7239,8 @@ impl IMSMQQueueInfos_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7289,8 +7289,8 @@ impl IMSMQQueueInfos2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7339,8 +7339,8 @@ impl IMSMQQueueInfos3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7389,8 +7389,8 @@ impl IMSMQQueueInfos4_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7445,8 +7445,8 @@ impl IMSMQQueueManagement_Vtbl { EodGetReceiveInfo: EodGetReceiveInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7489,8 +7489,8 @@ impl IMSMQTransaction_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7526,8 +7526,8 @@ impl IMSMQTransaction2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7553,8 +7553,8 @@ impl IMSMQTransaction3_Vtbl { } Self { base__: IMSMQTransaction2_Vtbl::new::(), ITransaction: ITransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7580,8 +7580,8 @@ impl IMSMQTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7623,8 +7623,8 @@ impl IMSMQTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7666,8 +7666,8 @@ impl IMSMQTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7680,7 +7680,7 @@ impl _DMSMQEventEvents_Vtbl { pub const fn new, Impl: _DMSMQEventEvents_Impl, const OFFSET: isize>() -> _DMSMQEventEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_DMSMQEventEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_DMSMQEventEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index 9cddcbb31f..805b880a8e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -308,6 +308,7 @@ where #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQApplication(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication { @@ -322,30 +323,10 @@ impl IMSMQApplication { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQApplication, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQApplication {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQApplication").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQApplication { type Vtable = IMSMQApplication_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e085_dccd_11d0_aa4b_0060970debae); } @@ -359,6 +340,7 @@ pub struct IMSMQApplication_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQApplication2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication2 { @@ -409,30 +391,10 @@ impl IMSMQApplication2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQApplication2, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQApplication2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQApplication2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQApplication2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQApplication2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQApplication2 { type Vtable = IMSMQApplication2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQApplication2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQApplication2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12a30900_7300_11d2_b0e6_00e02c074f6b); } @@ -461,6 +423,7 @@ pub struct IMSMQApplication2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQApplication3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQApplication3 { @@ -558,30 +521,10 @@ impl IMSMQApplication3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQApplication3, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication, IMSMQApplication2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQApplication3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQApplication3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQApplication3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQApplication3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQApplication3 { type Vtable = IMSMQApplication3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQApplication3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQApplication3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1f_2168_11d3_898c_00e02c074f6b); } @@ -616,6 +559,7 @@ pub struct IMSMQApplication3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQCollection { @@ -637,30 +581,10 @@ impl IMSMQCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQCollection { type Vtable = IMSMQCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0188ac2f_ecb3_4173_9779_635ca2039c72); } @@ -679,6 +603,7 @@ pub struct IMSMQCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQCoordinatedTransactionDispenser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQCoordinatedTransactionDispenser { @@ -692,30 +617,10 @@ impl IMSMQCoordinatedTransactionDispenser { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQCoordinatedTransactionDispenser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQCoordinatedTransactionDispenser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQCoordinatedTransactionDispenser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQCoordinatedTransactionDispenser { type Vtable = IMSMQCoordinatedTransactionDispenser_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQCoordinatedTransactionDispenser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQCoordinatedTransactionDispenser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e081_dccd_11d0_aa4b_0060970debae); } @@ -732,6 +637,7 @@ pub struct IMSMQCoordinatedTransactionDispenser_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQCoordinatedTransactionDispenser2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQCoordinatedTransactionDispenser2 { @@ -751,30 +657,10 @@ impl IMSMQCoordinatedTransactionDispenser2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQCoordinatedTransactionDispenser2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQCoordinatedTransactionDispenser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQCoordinatedTransactionDispenser2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQCoordinatedTransactionDispenser2 { type Vtable = IMSMQCoordinatedTransactionDispenser2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQCoordinatedTransactionDispenser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQCoordinatedTransactionDispenser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b10_2168_11d3_898c_00e02c074f6b); } @@ -795,6 +681,7 @@ pub struct IMSMQCoordinatedTransactionDispenser2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQCoordinatedTransactionDispenser3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQCoordinatedTransactionDispenser3 { @@ -814,30 +701,10 @@ impl IMSMQCoordinatedTransactionDispenser3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQCoordinatedTransactionDispenser3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQCoordinatedTransactionDispenser3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQCoordinatedTransactionDispenser3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQCoordinatedTransactionDispenser3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQCoordinatedTransactionDispenser3 { type Vtable = IMSMQCoordinatedTransactionDispenser3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQCoordinatedTransactionDispenser3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQCoordinatedTransactionDispenser3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b14_2168_11d3_898c_00e02c074f6b); } @@ -858,6 +725,7 @@ pub struct IMSMQCoordinatedTransactionDispenser3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQDestination(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQDestination { @@ -941,30 +809,10 @@ impl IMSMQDestination { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQDestination, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQDestination { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQDestination {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQDestination { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQDestination").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQDestination { type Vtable = IMSMQDestination_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQDestination { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQDestination { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b16_2168_11d3_898c_00e02c074f6b); } @@ -1009,36 +857,17 @@ pub struct IMSMQDestination_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQEvent {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQEvent { type Vtable = IMSMQEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e077_dccd_11d0_aa4b_0060970debae); } @@ -1051,6 +880,7 @@ pub struct IMSMQEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQEvent2 { @@ -1064,30 +894,10 @@ impl IMSMQEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQEvent2 { type Vtable = IMSMQEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b12_2168_11d3_898c_00e02c074f6b); } @@ -1104,6 +914,7 @@ pub struct IMSMQEvent2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQEvent3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQEvent3 { @@ -1117,30 +928,10 @@ impl IMSMQEvent3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQEvent3, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQEvent, IMSMQEvent2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQEvent3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQEvent3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQEvent3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQEvent3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQEvent3 { type Vtable = IMSMQEvent3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQEvent3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQEvent3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1c_2168_11d3_898c_00e02c074f6b); } @@ -1153,6 +944,7 @@ pub struct IMSMQEvent3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQManagement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQManagement { @@ -1201,30 +993,10 @@ impl IMSMQManagement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQManagement, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQManagement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQManagement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQManagement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQManagement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQManagement { type Vtable = IMSMQManagement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe5f0241_e489_4957_8cc4_a452fcf3e23e); } @@ -1255,6 +1027,7 @@ pub struct IMSMQManagement_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQMessage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage { @@ -1481,30 +1254,10 @@ impl IMSMQMessage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQMessage, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQMessage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQMessage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQMessage { type Vtable = IMSMQMessage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e074_dccd_11d0_aa4b_0060970debae); } @@ -1614,6 +1367,7 @@ pub struct IMSMQMessage_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQMessage2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage2 { @@ -1974,30 +1728,10 @@ impl IMSMQMessage2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQMessage2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQMessage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQMessage2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQMessage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQMessage2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQMessage2 { type Vtable = IMSMQMessage2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQMessage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQMessage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9933be0_a567_11d2_b0f3_00e02c074f6b); } @@ -2175,6 +1909,7 @@ pub struct IMSMQMessage2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQMessage3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage3 { @@ -2632,30 +2367,10 @@ impl IMSMQMessage3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQMessage3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQMessage3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQMessage3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQMessage3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQMessage3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQMessage3 { type Vtable = IMSMQMessage3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQMessage3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQMessage3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1a_2168_11d3_898c_00e02c074f6b); } @@ -2885,6 +2600,7 @@ pub struct IMSMQMessage3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQMessage4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQMessage4 { @@ -3342,30 +3058,10 @@ impl IMSMQMessage4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQMessage4, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQMessage4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQMessage4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQMessage4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQMessage4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQMessage4 { type Vtable = IMSMQMessage4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQMessage4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQMessage4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b23_2168_11d3_898c_00e02c074f6b); } @@ -3595,6 +3291,7 @@ pub struct IMSMQMessage4_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQOutgoingQueueManagement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQOutgoingQueueManagement { @@ -3668,30 +3365,10 @@ impl IMSMQOutgoingQueueManagement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQOutgoingQueueManagement, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQOutgoingQueueManagement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQOutgoingQueueManagement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQOutgoingQueueManagement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQOutgoingQueueManagement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQOutgoingQueueManagement { type Vtable = IMSMQOutgoingQueueManagement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQOutgoingQueueManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQOutgoingQueueManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64c478fb_f9b0_4695_8a7f_439ac94326d3); } @@ -3716,6 +3393,7 @@ pub struct IMSMQOutgoingQueueManagement_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQPrivateDestination(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateDestination { @@ -3734,30 +3412,10 @@ impl IMSMQPrivateDestination { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQPrivateDestination, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQPrivateDestination { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQPrivateDestination {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQPrivateDestination { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQPrivateDestination").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQPrivateDestination { type Vtable = IMSMQPrivateDestination_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQPrivateDestination { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQPrivateDestination { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b17_2168_11d3_898c_00e02c074f6b); } @@ -3778,6 +3436,7 @@ pub struct IMSMQPrivateDestination_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQPrivateEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQPrivateEvent { @@ -3805,30 +3464,10 @@ impl IMSMQPrivateEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQPrivateEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQPrivateEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQPrivateEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQPrivateEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQPrivateEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQPrivateEvent { type Vtable = IMSMQPrivateEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQPrivateEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQPrivateEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7ab3341_c9d3_11d1_bb47_0080c7c5a2c0); } @@ -3850,6 +3489,7 @@ pub struct IMSMQPrivateEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQuery(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery { @@ -3863,30 +3503,10 @@ impl IMSMQQuery { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQuery, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQuery {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQuery").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQuery { type Vtable = IMSMQQuery_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e072_dccd_11d0_aa4b_0060970debae); } @@ -3903,6 +3523,7 @@ pub struct IMSMQQuery_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQuery2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery2 { @@ -3922,30 +3543,10 @@ impl IMSMQQuery2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQuery2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQuery2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQuery2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQuery2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQuery2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQuery2 { type Vtable = IMSMQQuery2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQuery2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQuery2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b0e_2168_11d3_898c_00e02c074f6b); } @@ -3966,6 +3567,7 @@ pub struct IMSMQQuery2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQuery3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery3 { @@ -3991,30 +3593,10 @@ impl IMSMQQuery3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQuery3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQuery3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQuery3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQuery3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQuery3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQuery3 { type Vtable = IMSMQQuery3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQuery3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQuery3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b19_2168_11d3_898c_00e02c074f6b); } @@ -4039,6 +3621,7 @@ pub struct IMSMQQuery3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQuery4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQuery4 { @@ -4064,30 +3647,10 @@ impl IMSMQQuery4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQuery4, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQuery4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQuery4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQuery4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQuery4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQuery4 { type Vtable = IMSMQQuery4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQuery4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQuery4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b24_2168_11d3_898c_00e02c074f6b); } @@ -4112,6 +3675,7 @@ pub struct IMSMQQuery4_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue { @@ -4185,30 +3749,10 @@ impl IMSMQQueue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueue, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueue { type Vtable = IMSMQQueue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e076_dccd_11d0_aa4b_0060970debae); } @@ -4255,6 +3799,7 @@ pub struct IMSMQQueue_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueue2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue2 { @@ -4364,30 +3909,10 @@ impl IMSMQQueue2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueue2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueue2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueue2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueue2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueue2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueue2 { type Vtable = IMSMQQueue2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueue2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueue2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef0574e0_06d8_11d3_b100_00e02c074f6b); } @@ -4458,6 +3983,7 @@ pub struct IMSMQQueue2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueue3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue3 { @@ -4642,30 +4168,10 @@ impl IMSMQQueue3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueue3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueue3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueue3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueue3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueue3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueue3 { type Vtable = IMSMQQueue3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueue3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueue3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1b_2168_11d3_898c_00e02c074f6b); } @@ -4785,6 +4291,7 @@ pub struct IMSMQQueue3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueue4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueue4 { @@ -4975,30 +4482,10 @@ impl IMSMQQueue4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueue4, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueue4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueue4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueue4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueue4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueue4 { type Vtable = IMSMQQueue4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueue4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueue4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b20_2168_11d3_898c_00e02c074f6b); } @@ -5122,6 +4609,7 @@ pub struct IMSMQQueue4_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo { @@ -5255,30 +4743,10 @@ impl IMSMQQueueInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfo { type Vtable = IMSMQQueueInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e07b_dccd_11d0_aa4b_0060970debae); } @@ -5333,6 +4801,7 @@ pub struct IMSMQQueueInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfo2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo2 { @@ -5487,30 +4956,10 @@ impl IMSMQQueueInfo2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfo2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfo2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfo2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfo2 { type Vtable = IMSMQQueueInfo2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd174a80_89cf_11d2_b0f2_00e02c074f6b); } @@ -5578,6 +5027,7 @@ pub struct IMSMQQueueInfo2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfo3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo3 { @@ -5758,30 +5208,10 @@ impl IMSMQQueueInfo3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfo3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfo3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfo3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfo3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfo3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfo3 { type Vtable = IMSMQQueueInfo3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfo3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfo3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1d_2168_11d3_898c_00e02c074f6b); } @@ -5860,6 +5290,7 @@ pub struct IMSMQQueueInfo3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfo4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfo4 { @@ -6040,30 +5471,10 @@ impl IMSMQQueueInfo4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfo4, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfo4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfo4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfo4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfo4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfo4 { type Vtable = IMSMQQueueInfo4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfo4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfo4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b21_2168_11d3_898c_00e02c074f6b); } @@ -6142,6 +5553,7 @@ pub struct IMSMQQueueInfo4_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfos(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfos { @@ -6158,30 +5570,10 @@ impl IMSMQQueueInfos { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfos, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfos { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfos {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfos { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfos").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfos { type Vtable = IMSMQQueueInfos_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfos { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfos { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e07d_dccd_11d0_aa4b_0060970debae); } @@ -6199,6 +5591,7 @@ pub struct IMSMQQueueInfos_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfos2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfos2 { @@ -6221,30 +5614,10 @@ impl IMSMQQueueInfos2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfos2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfos2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfos2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfos2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfos2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfos2 { type Vtable = IMSMQQueueInfos2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfos2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfos2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b0f_2168_11d3_898c_00e02c074f6b); } @@ -6266,6 +5639,7 @@ pub struct IMSMQQueueInfos2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfos3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfos3 { @@ -6288,30 +5662,10 @@ impl IMSMQQueueInfos3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfos3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfos3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfos3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfos3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfos3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfos3 { type Vtable = IMSMQQueueInfos3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfos3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfos3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b1e_2168_11d3_898c_00e02c074f6b); } @@ -6333,6 +5687,7 @@ pub struct IMSMQQueueInfos3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueInfos4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueInfos4 { @@ -6355,30 +5710,10 @@ impl IMSMQQueueInfos4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueInfos4, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueInfos4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueInfos4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueInfos4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueInfos4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueInfos4 { type Vtable = IMSMQQueueInfos4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueInfos4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueInfos4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b22_2168_11d3_898c_00e02c074f6b); } @@ -6400,6 +5735,7 @@ pub struct IMSMQQueueInfos4_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQQueueManagement(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQQueueManagement { @@ -6464,30 +5800,10 @@ impl IMSMQQueueManagement { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQQueueManagement, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQQueueManagement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQQueueManagement {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQQueueManagement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQQueueManagement").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQQueueManagement { type Vtable = IMSMQQueueManagement_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQQueueManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQQueueManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fbe7759_5760_444d_b8a5_5e7ab9a84cce); } @@ -6509,6 +5825,7 @@ pub struct IMSMQQueueManagement_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransaction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction { @@ -6530,30 +5847,10 @@ impl IMSMQTransaction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransaction, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransaction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransaction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransaction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransaction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransaction { type Vtable = IMSMQTransaction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransaction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransaction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e07f_dccd_11d0_aa4b_0060970debae); } @@ -6575,6 +5872,7 @@ pub struct IMSMQTransaction_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransaction2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction2 { @@ -6607,30 +5905,10 @@ impl IMSMQTransaction2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransaction2, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransaction2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransaction2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransaction2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransaction2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransaction2 { type Vtable = IMSMQTransaction2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransaction2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransaction2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ce0c5b0_6e67_11d2_b0e6_00e02c074f6b); } @@ -6651,6 +5929,7 @@ pub struct IMSMQTransaction2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransaction3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransaction3 { @@ -6689,30 +5968,10 @@ impl IMSMQTransaction3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransaction3, ::windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction, IMSMQTransaction2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransaction3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransaction3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransaction3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransaction3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransaction3 { type Vtable = IMSMQTransaction3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransaction3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransaction3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b13_2168_11d3_898c_00e02c074f6b); } @@ -6729,6 +5988,7 @@ pub struct IMSMQTransaction3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransactionDispenser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransactionDispenser { @@ -6742,30 +6002,10 @@ impl IMSMQTransactionDispenser { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransactionDispenser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransactionDispenser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransactionDispenser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransactionDispenser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransactionDispenser { type Vtable = IMSMQTransactionDispenser_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransactionDispenser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransactionDispenser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e083_dccd_11d0_aa4b_0060970debae); } @@ -6782,6 +6022,7 @@ pub struct IMSMQTransactionDispenser_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransactionDispenser2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransactionDispenser2 { @@ -6801,30 +6042,10 @@ impl IMSMQTransactionDispenser2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransactionDispenser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransactionDispenser2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransactionDispenser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransactionDispenser2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransactionDispenser2 { type Vtable = IMSMQTransactionDispenser2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransactionDispenser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransactionDispenser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b11_2168_11d3_898c_00e02c074f6b); } @@ -6845,6 +6066,7 @@ pub struct IMSMQTransactionDispenser2_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMSMQTransactionDispenser3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMSMQTransactionDispenser3 { @@ -6864,30 +6086,10 @@ impl IMSMQTransactionDispenser3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser3, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMSMQTransactionDispenser3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMSMQTransactionDispenser3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMSMQTransactionDispenser3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMSMQTransactionDispenser3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMSMQTransactionDispenser3 { type Vtable = IMSMQTransactionDispenser3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMSMQTransactionDispenser3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMSMQTransactionDispenser3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba96b15_2168_11d3_898c_00e02c074f6b); } @@ -6908,36 +6110,17 @@ pub struct IMSMQTransactionDispenser3_Vtbl { #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _DMSMQEventEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _DMSMQEventEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_DMSMQEventEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _DMSMQEventEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _DMSMQEventEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _DMSMQEventEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_DMSMQEventEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _DMSMQEventEvents { type Vtable = _DMSMQEventEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _DMSMQEventEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _DMSMQEventEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d6e078_dccd_11d0_aa4b_0060970debae); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs index b172d7a8d5..dd2a5d6c94 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs @@ -8,8 +8,8 @@ impl AppEvents_Vtbl { pub const fn new, Impl: AppEvents_Impl, const OFFSET: isize>() -> AppEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl Column_Vtbl { IsSortColumn: IsSortColumn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -174,8 +174,8 @@ impl Columns_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl ContextMenu_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -425,8 +425,8 @@ impl Document_Vtbl { Application: Application::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl Extension_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl Extensions_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl Frame_Vtbl { SetRight: SetRight::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -749,8 +749,8 @@ impl IColumnData_Vtbl { GetColumnSortData: GetColumnSortData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IComponent_Vtbl { CompareObjects: CompareObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -865,8 +865,8 @@ impl IComponent2_Vtbl { RestoreResultView: RestoreResultView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -943,8 +943,8 @@ impl IComponentData_Vtbl { CompareObjects: CompareObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -970,8 +970,8 @@ impl IComponentData2_Vtbl { } Self { base__: IComponentData_Vtbl::new::(), QueryDispatch: QueryDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1100,8 +1100,8 @@ impl IConsole_Vtbl { NewWindow: NewWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1138,8 +1138,8 @@ impl IConsole2_Vtbl { SetStatusText: SetStatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1159,8 +1159,8 @@ impl IConsole3_Vtbl { } Self { base__: IConsole2_Vtbl::new::(), RenameScopeItem: RenameScopeItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1225,8 +1225,8 @@ impl IConsoleNameSpace_Vtbl { GetParentItem: GetParentItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IConsoleNameSpace2_Vtbl { AddExtension: AddExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1284,8 +1284,8 @@ impl IConsolePower_Vtbl { ResetIdleTimer: ResetIdleTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1311,8 +1311,8 @@ impl IConsolePowerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPowerBroadcast: OnPowerBroadcast:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1368,8 +1368,8 @@ impl IConsoleVerb_Vtbl { GetDefaultVerb: GetDefaultVerb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1386,8 +1386,8 @@ impl IContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1404,8 +1404,8 @@ impl IContextMenuCallback2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1455,8 +1455,8 @@ impl IContextMenuProvider_Vtbl { ShowContextMenu: ShowContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1496,8 +1496,8 @@ impl IControlbar_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl IDisplayHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowTopic: ShowTopic:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl IEnumTASK_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1593,8 +1593,8 @@ impl IExtendContextMenu_Vtbl { Command: Command::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1624,8 +1624,8 @@ impl IExtendControlbar_Vtbl { ControlbarNotify: ControlbarNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IExtendPropertySheet_Vtbl { QueryPagesFor: QueryPagesFor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1676,8 +1676,8 @@ impl IExtendPropertySheet2_Vtbl { } Self { base__: IExtendPropertySheet_Vtbl::new::(), GetWatermarks: GetWatermarks:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1765,8 +1765,8 @@ impl IExtendTaskPad_Vtbl { GetListPadInfo: GetListPadInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1786,8 +1786,8 @@ impl IExtendView_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetViews: GetViews:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1854,8 +1854,8 @@ impl IHeaderCtrl_Vtbl { GetColumnWidth: GetColumnWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IHeaderCtrl2_Vtbl { GetColumnFilter: GetColumnFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1920,8 +1920,8 @@ impl IImageList_Vtbl { ImageListSetStrip: ImageListSetStrip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1938,8 +1938,8 @@ impl IMMCVersionInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMMCVersion: GetMMCVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1976,8 +1976,8 @@ impl IMenuButton_Vtbl { SetButtonState: SetButtonState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2018,8 +2018,8 @@ impl IMessageView_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl INodeProperties_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -2076,8 +2076,8 @@ impl IPropertySheetCallback_Vtbl { RemovePage: RemovePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2128,8 +2128,8 @@ impl IPropertySheetProvider_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2175,8 +2175,8 @@ impl IRequiredExtensions_Vtbl { GetNextExtension: GetNextExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2309,8 +2309,8 @@ impl IResultData_Vtbl { SetItemCount: SetItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2330,8 +2330,8 @@ impl IResultData2_Vtbl { } Self { base__: IResultData_Vtbl::new::(), RenameResultItem: RenameResultItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IResultDataCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl IResultDataCompareEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2422,8 +2422,8 @@ impl IResultOwnerData_Vtbl { SortItems: SortItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2498,8 +2498,8 @@ impl ISnapinAbout_Vtbl { GetStaticFolderImage: GetStaticFolderImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2522,8 +2522,8 @@ impl ISnapinHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHelpTopic: GetHelpTopic:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl ISnapinHelp2_Vtbl { } Self { base__: ISnapinHelp_Vtbl::new::(), GetLinkedTopics: GetLinkedTopics:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2584,8 +2584,8 @@ impl ISnapinProperties_Vtbl { PropertiesChanged: PropertiesChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2602,8 +2602,8 @@ impl ISnapinPropertiesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertyName: AddPropertyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IStringTable_Vtbl { Enumerate: Enumerate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2757,8 +2757,8 @@ impl IToolbar_Vtbl { SetButtonState: SetButtonState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2778,8 +2778,8 @@ impl IViewExtensionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddView: AddView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2867,8 +2867,8 @@ impl MenuItem_Vtbl { Enabled: Enabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2949,8 +2949,8 @@ impl Node_Vtbl { Nodetype: Nodetype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl Nodes_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3068,8 +3068,8 @@ impl Properties_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3118,8 +3118,8 @@ impl Property_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3194,8 +3194,8 @@ impl ScopeNamespace_Vtbl { Expand: Expand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl SnapIn_Vtbl { EnableAllExtensions: EnableAllExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3372,8 +3372,8 @@ impl SnapIns_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3785,8 +3785,8 @@ impl View_Vtbl { ControlObject: ControlObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3848,8 +3848,8 @@ impl Views_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3949,8 +3949,8 @@ impl _AppEvents_Vtbl { OnListUpdated: OnListUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_AppEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_AppEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4086,8 +4086,8 @@ impl _Application_Vtbl { VersionMinor: VersionMinor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_Application as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_Application as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4117,7 +4117,7 @@ impl _EventConnector_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_EventConnector as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_EventConnector as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs index 353118bcda..2e4c98c1eb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -1,36 +1,17 @@ #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct AppEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl AppEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(AppEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for AppEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for AppEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for AppEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("AppEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for AppEvents { type Vtable = AppEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for AppEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for AppEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc7a4252_78ac_4532_8c5a_563cfe138863); } @@ -43,6 +24,7 @@ pub struct AppEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Column(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Column { @@ -91,30 +73,10 @@ impl Column { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Column, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Column { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Column {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Column { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Column").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Column { type Vtable = Column_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Column { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Column { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd1c5f63_2b16_4d06_9ab3_f45350b940ab); } @@ -145,6 +107,7 @@ pub struct Column_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Columns(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Columns { @@ -166,30 +129,10 @@ impl Columns { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Columns, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Columns { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Columns {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Columns { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Columns").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Columns { type Vtable = Columns_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Columns { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Columns { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x383d4d97_fc44_478b_b139_6323dc48611c); } @@ -208,6 +151,7 @@ pub struct Columns_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ContextMenu(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ContextMenu { @@ -229,30 +173,10 @@ impl ContextMenu { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ContextMenu, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ContextMenu {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ContextMenu").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ContextMenu { type Vtable = ContextMenu_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ContextMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdab39ce0_25e6_4e07_8362_ba9c95706545); } @@ -271,6 +195,7 @@ pub struct ContextMenu_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Document(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Document { @@ -364,30 +289,10 @@ impl Document { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Document, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Document { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Document {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Document { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Document").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Document { type Vtable = Document_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Document { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Document { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x225120d6_1e0f_40a3_93fe_1079e6a8017b); } @@ -443,6 +348,7 @@ pub struct Document_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Extension(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Extension { @@ -488,30 +394,10 @@ impl Extension { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Extension, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Extension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Extension {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Extension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Extension").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Extension { type Vtable = Extension_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Extension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Extension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad4d6ca6_912f_409b_a26e_7fd234aef542); } @@ -540,6 +426,7 @@ pub struct Extension_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Extensions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Extensions { @@ -561,30 +448,10 @@ impl Extensions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Extensions, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Extensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Extensions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Extensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Extensions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Extensions { type Vtable = Extensions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Extensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Extensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82dbea43_8ca4_44bc_a2ca_d18741059ec8); } @@ -603,6 +470,7 @@ pub struct Extensions_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Frame(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Frame { @@ -647,30 +515,10 @@ impl Frame { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Frame, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Frame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Frame {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Frame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Frame").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Frame { type Vtable = Frame_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Frame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Frame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5e2d970_5bb3_4306_8804_b0968a31c8e6); } @@ -693,6 +541,7 @@ pub struct Frame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnData(::windows_core::IUnknown); impl IColumnData { pub unsafe fn SetColumnConfigData(&self, pcolid: *const SColumnSetID, pcolsetdata: *const MMC_COLUMN_SET_DATA) -> ::windows_core::Result<()> { @@ -711,25 +560,9 @@ impl IColumnData { } } ::windows_core::imp::interface_hierarchy!(IColumnData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnData {} -impl ::core::fmt::Debug for IColumnData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnData { type Vtable = IColumnData_Vtbl; } -impl ::core::clone::Clone for IColumnData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x547c1354_024d_11d3_a707_00c04f8ef4cb); } @@ -744,6 +577,7 @@ pub struct IColumnData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponent(::windows_core::IUnknown); impl IComponent { pub unsafe fn Initialize(&self, lpconsole: P0) -> ::windows_core::Result<()> @@ -790,25 +624,9 @@ impl IComponent { } } ::windows_core::imp::interface_hierarchy!(IComponent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComponent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComponent {} -impl ::core::fmt::Debug for IComponent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComponent { type Vtable = IComponent_Vtbl; } -impl ::core::clone::Clone for IComponent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb2_d36c_11cf_adbc_00aa00a80033); } @@ -838,6 +656,7 @@ pub struct IComponent_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponent2(::windows_core::IUnknown); impl IComponent2 { pub unsafe fn Initialize(&self, lpconsole: P0) -> ::windows_core::Result<()> @@ -896,25 +715,9 @@ impl IComponent2 { } } ::windows_core::imp::interface_hierarchy!(IComponent2, ::windows_core::IUnknown, IComponent); -impl ::core::cmp::PartialEq for IComponent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComponent2 {} -impl ::core::fmt::Debug for IComponent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponent2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComponent2 { type Vtable = IComponent2_Vtbl; } -impl ::core::clone::Clone for IComponent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79a2d615_4a10_4ed4_8c65_8633f9335095); } @@ -931,6 +734,7 @@ pub struct IComponent2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentData(::windows_core::IUnknown); impl IComponentData { pub unsafe fn Initialize(&self, punknown: P0) -> ::windows_core::Result<()> @@ -978,25 +782,9 @@ impl IComponentData { } } ::windows_core::imp::interface_hierarchy!(IComponentData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComponentData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComponentData {} -impl ::core::fmt::Debug for IComponentData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComponentData { type Vtable = IComponentData_Vtbl; } -impl ::core::clone::Clone for IComponentData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponentData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x955ab28a_5218_11d0_a985_00c04fd8d565); } @@ -1026,6 +814,7 @@ pub struct IComponentData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentData2(::windows_core::IUnknown); impl IComponentData2 { pub unsafe fn Initialize(&self, punknown: P0) -> ::windows_core::Result<()> @@ -1079,25 +868,9 @@ impl IComponentData2 { } } ::windows_core::imp::interface_hierarchy!(IComponentData2, ::windows_core::IUnknown, IComponentData); -impl ::core::cmp::PartialEq for IComponentData2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComponentData2 {} -impl ::core::fmt::Debug for IComponentData2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentData2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComponentData2 { type Vtable = IComponentData2_Vtbl; } -impl ::core::clone::Clone for IComponentData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComponentData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcca0f2d2_82de_41b5_bf47_3b2076273d5c); } @@ -1112,6 +885,7 @@ pub struct IComponentData2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsole(::windows_core::IUnknown); impl IConsole { pub unsafe fn SetHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -1173,25 +947,9 @@ impl IConsole { } } ::windows_core::imp::interface_hierarchy!(IConsole, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConsole { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsole {} -impl ::core::fmt::Debug for IConsole { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsole").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsole { type Vtable = IConsole_Vtbl; } -impl ::core::clone::Clone for IConsole { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsole { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb1_d36c_11cf_adbc_00aa00a80033); } @@ -1219,6 +977,7 @@ pub struct IConsole_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsole2(::windows_core::IUnknown); impl IConsole2 { pub unsafe fn SetHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -1297,25 +1056,9 @@ impl IConsole2 { } } ::windows_core::imp::interface_hierarchy!(IConsole2, ::windows_core::IUnknown, IConsole); -impl ::core::cmp::PartialEq for IConsole2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsole2 {} -impl ::core::fmt::Debug for IConsole2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsole2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsole2 { type Vtable = IConsole2_Vtbl; } -impl ::core::clone::Clone for IConsole2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsole2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x103d842a_aa63_11d1_a7e1_00c04fd8d565); } @@ -1332,6 +1075,7 @@ pub struct IConsole2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsole3(::windows_core::IUnknown); impl IConsole3 { pub unsafe fn SetHeader(&self, pheader: P0) -> ::windows_core::Result<()> @@ -1413,25 +1157,9 @@ impl IConsole3 { } } ::windows_core::imp::interface_hierarchy!(IConsole3, ::windows_core::IUnknown, IConsole, IConsole2); -impl ::core::cmp::PartialEq for IConsole3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsole3 {} -impl ::core::fmt::Debug for IConsole3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsole3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsole3 { type Vtable = IConsole3_Vtbl; } -impl ::core::clone::Clone for IConsole3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsole3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f85efdb_d0e1_498c_8d4a_d010dfdd404f); } @@ -1443,6 +1171,7 @@ pub struct IConsole3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsoleNameSpace(::windows_core::IUnknown); impl IConsoleNameSpace { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1474,25 +1203,9 @@ impl IConsoleNameSpace { } } ::windows_core::imp::interface_hierarchy!(IConsoleNameSpace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConsoleNameSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsoleNameSpace {} -impl ::core::fmt::Debug for IConsoleNameSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsoleNameSpace").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsoleNameSpace { type Vtable = IConsoleNameSpace_Vtbl; } -impl ::core::clone::Clone for IConsoleNameSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsoleNameSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbedeb620_f24d_11cf_8afc_00aa003ca9f6); } @@ -1519,6 +1232,7 @@ pub struct IConsoleNameSpace_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsoleNameSpace2(::windows_core::IUnknown); impl IConsoleNameSpace2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1556,25 +1270,9 @@ impl IConsoleNameSpace2 { } } ::windows_core::imp::interface_hierarchy!(IConsoleNameSpace2, ::windows_core::IUnknown, IConsoleNameSpace); -impl ::core::cmp::PartialEq for IConsoleNameSpace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsoleNameSpace2 {} -impl ::core::fmt::Debug for IConsoleNameSpace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsoleNameSpace2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsoleNameSpace2 { type Vtable = IConsoleNameSpace2_Vtbl; } -impl ::core::clone::Clone for IConsoleNameSpace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsoleNameSpace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x255f18cc_65db_11d1_a7dc_00c04fd8d565); } @@ -1587,6 +1285,7 @@ pub struct IConsoleNameSpace2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsolePower(::windows_core::IUnknown); impl IConsolePower { pub unsafe fn SetExecutionState(&self, dwadd: u32, dwremove: u32) -> ::windows_core::Result<()> { @@ -1597,25 +1296,9 @@ impl IConsolePower { } } ::windows_core::imp::interface_hierarchy!(IConsolePower, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConsolePower { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsolePower {} -impl ::core::fmt::Debug for IConsolePower { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsolePower").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsolePower { type Vtable = IConsolePower_Vtbl; } -impl ::core::clone::Clone for IConsolePower { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsolePower { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cfbdd0e_62ca_49ce_a3af_dbb2de61b068); } @@ -1628,6 +1311,7 @@ pub struct IConsolePower_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsolePowerSink(::windows_core::IUnknown); impl IConsolePowerSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1641,25 +1325,9 @@ impl IConsolePowerSink { } } ::windows_core::imp::interface_hierarchy!(IConsolePowerSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConsolePowerSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsolePowerSink {} -impl ::core::fmt::Debug for IConsolePowerSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsolePowerSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsolePowerSink { type Vtable = IConsolePowerSink_Vtbl; } -impl ::core::clone::Clone for IConsolePowerSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsolePowerSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3333759f_fe4f_4975_b143_fec0a5dd6d65); } @@ -1674,6 +1342,7 @@ pub struct IConsolePowerSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConsoleVerb(::windows_core::IUnknown); impl IConsoleVerb { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1699,25 +1368,9 @@ impl IConsoleVerb { } } ::windows_core::imp::interface_hierarchy!(IConsoleVerb, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConsoleVerb { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConsoleVerb {} -impl ::core::fmt::Debug for IConsoleVerb { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConsoleVerb").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConsoleVerb { type Vtable = IConsoleVerb_Vtbl; } -impl ::core::clone::Clone for IConsoleVerb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConsoleVerb { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe49f7a60_74af_11d0_a286_00c04fd8fe93); } @@ -1738,6 +1391,7 @@ pub struct IConsoleVerb_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenuCallback(::windows_core::IUnknown); impl IContextMenuCallback { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM) -> ::windows_core::Result<()> { @@ -1745,25 +1399,9 @@ impl IContextMenuCallback { } } ::windows_core::imp::interface_hierarchy!(IContextMenuCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextMenuCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenuCallback {} -impl ::core::fmt::Debug for IContextMenuCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenuCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenuCallback { type Vtable = IContextMenuCallback_Vtbl; } -impl ::core::clone::Clone for IContextMenuCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenuCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb7_d36c_11cf_adbc_00aa00a80033); } @@ -1775,6 +1413,7 @@ pub struct IContextMenuCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenuCallback2(::windows_core::IUnknown); impl IContextMenuCallback2 { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM2) -> ::windows_core::Result<()> { @@ -1782,25 +1421,9 @@ impl IContextMenuCallback2 { } } ::windows_core::imp::interface_hierarchy!(IContextMenuCallback2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextMenuCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenuCallback2 {} -impl ::core::fmt::Debug for IContextMenuCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenuCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenuCallback2 { type Vtable = IContextMenuCallback2_Vtbl; } -impl ::core::clone::Clone for IContextMenuCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenuCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe178bc0e_2ed0_4b5e_8097_42c9087e8b33); } @@ -1812,6 +1435,7 @@ pub struct IContextMenuCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenuProvider(::windows_core::IUnknown); impl IContextMenuProvider { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM) -> ::windows_core::Result<()> { @@ -1848,25 +1472,9 @@ impl IContextMenuProvider { } } ::windows_core::imp::interface_hierarchy!(IContextMenuProvider, ::windows_core::IUnknown, IContextMenuCallback); -impl ::core::cmp::PartialEq for IContextMenuProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenuProvider {} -impl ::core::fmt::Debug for IContextMenuProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenuProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenuProvider { type Vtable = IContextMenuProvider_Vtbl; } -impl ::core::clone::Clone for IContextMenuProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenuProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb6_d36c_11cf_adbc_00aa00a80033); } @@ -1890,6 +1498,7 @@ pub struct IContextMenuProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IControlbar(::windows_core::IUnknown); impl IControlbar { pub unsafe fn Create(&self, ntype: MMC_CONTROL_TYPE, pextendcontrolbar: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -1913,25 +1522,9 @@ impl IControlbar { } } ::windows_core::imp::interface_hierarchy!(IControlbar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IControlbar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IControlbar {} -impl ::core::fmt::Debug for IControlbar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IControlbar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IControlbar { type Vtable = IControlbar_Vtbl; } -impl ::core::clone::Clone for IControlbar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IControlbar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69fb811e_6c1c_11d0_a2cb_00c04fd909dd); } @@ -1945,6 +1538,7 @@ pub struct IControlbar_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayHelp(::windows_core::IUnknown); impl IDisplayHelp { pub unsafe fn ShowTopic(&self, pszhelptopic: P0) -> ::windows_core::Result<()> @@ -1955,25 +1549,9 @@ impl IDisplayHelp { } } ::windows_core::imp::interface_hierarchy!(IDisplayHelp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDisplayHelp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayHelp {} -impl ::core::fmt::Debug for IDisplayHelp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayHelp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDisplayHelp { type Vtable = IDisplayHelp_Vtbl; } -impl ::core::clone::Clone for IDisplayHelp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayHelp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc593830_b926_11d1_8063_0000f875a9ce); } @@ -1985,6 +1563,7 @@ pub struct IDisplayHelp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTASK(::windows_core::IUnknown); impl IEnumTASK { pub unsafe fn Next(&self, rgelt: &mut [MMC_TASK], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -2002,25 +1581,9 @@ impl IEnumTASK { } } ::windows_core::imp::interface_hierarchy!(IEnumTASK, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTASK { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTASK {} -impl ::core::fmt::Debug for IEnumTASK { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTASK").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTASK { type Vtable = IEnumTASK_Vtbl; } -impl ::core::clone::Clone for IEnumTASK { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTASK { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x338698b1_5a02_11d1_9fec_00600832db4a); } @@ -2035,6 +1598,7 @@ pub struct IEnumTASK_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendContextMenu(::windows_core::IUnknown); impl IExtendContextMenu { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2056,25 +1620,9 @@ impl IExtendContextMenu { } } ::windows_core::imp::interface_hierarchy!(IExtendContextMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtendContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendContextMenu {} -impl ::core::fmt::Debug for IExtendContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendContextMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendContextMenu { type Vtable = IExtendContextMenu_Vtbl; } -impl ::core::clone::Clone for IExtendContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendContextMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f3b7a4f_cfac_11cf_b8e3_00c04fd8d5b0); } @@ -2093,6 +1641,7 @@ pub struct IExtendContextMenu_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendControlbar(::windows_core::IUnknown); impl IExtendControlbar { pub unsafe fn SetControlbar(&self, pcontrolbar: P0) -> ::windows_core::Result<()> @@ -2112,25 +1661,9 @@ impl IExtendControlbar { } } ::windows_core::imp::interface_hierarchy!(IExtendControlbar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtendControlbar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendControlbar {} -impl ::core::fmt::Debug for IExtendControlbar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendControlbar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendControlbar { type Vtable = IExtendControlbar_Vtbl; } -impl ::core::clone::Clone for IExtendControlbar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendControlbar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49506520_6f40_11d0_a98b_00c04fd8d565); } @@ -2146,6 +1679,7 @@ pub struct IExtendControlbar_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendPropertySheet(::windows_core::IUnknown); impl IExtendPropertySheet { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2167,25 +1701,9 @@ impl IExtendPropertySheet { } } ::windows_core::imp::interface_hierarchy!(IExtendPropertySheet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtendPropertySheet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendPropertySheet {} -impl ::core::fmt::Debug for IExtendPropertySheet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendPropertySheet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendPropertySheet { type Vtable = IExtendPropertySheet_Vtbl; } -impl ::core::clone::Clone for IExtendPropertySheet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendPropertySheet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85de64dc_ef21_11cf_a285_00c04fd8dbe6); } @@ -2204,6 +1722,7 @@ pub struct IExtendPropertySheet_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendPropertySheet2(::windows_core::IUnknown); impl IExtendPropertySheet2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2233,25 +1752,9 @@ impl IExtendPropertySheet2 { } } ::windows_core::imp::interface_hierarchy!(IExtendPropertySheet2, ::windows_core::IUnknown, IExtendPropertySheet); -impl ::core::cmp::PartialEq for IExtendPropertySheet2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendPropertySheet2 {} -impl ::core::fmt::Debug for IExtendPropertySheet2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendPropertySheet2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendPropertySheet2 { type Vtable = IExtendPropertySheet2_Vtbl; } -impl ::core::clone::Clone for IExtendPropertySheet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendPropertySheet2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7a87232_4a51_11d1_a7ea_00c04fd909dd); } @@ -2266,6 +1769,7 @@ pub struct IExtendPropertySheet2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendTaskPad(::windows_core::IUnknown); impl IExtendTaskPad { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2316,25 +1820,9 @@ impl IExtendTaskPad { } } ::windows_core::imp::interface_hierarchy!(IExtendTaskPad, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtendTaskPad { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendTaskPad {} -impl ::core::fmt::Debug for IExtendTaskPad { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendTaskPad").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendTaskPad { type Vtable = IExtendTaskPad_Vtbl; } -impl ::core::clone::Clone for IExtendTaskPad { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendTaskPad { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8dee6511_554d_11d1_9fea_00600832db4a); } @@ -2357,6 +1845,7 @@ pub struct IExtendTaskPad_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtendView(::windows_core::IUnknown); impl IExtendView { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2370,25 +1859,9 @@ impl IExtendView { } } ::windows_core::imp::interface_hierarchy!(IExtendView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtendView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtendView {} -impl ::core::fmt::Debug for IExtendView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtendView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtendView { type Vtable = IExtendView_Vtbl; } -impl ::core::clone::Clone for IExtendView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtendView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89995cee_d2ed_4c0e_ae5e_df7e76f3fa53); } @@ -2403,6 +1876,7 @@ pub struct IExtendView_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeaderCtrl(::windows_core::IUnknown); impl IHeaderCtrl { pub unsafe fn InsertColumn(&self, ncol: i32, title: P0, nformat: i32, nwidth: i32) -> ::windows_core::Result<()> @@ -2433,25 +1907,9 @@ impl IHeaderCtrl { } } ::windows_core::imp::interface_hierarchy!(IHeaderCtrl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHeaderCtrl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHeaderCtrl {} -impl ::core::fmt::Debug for IHeaderCtrl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderCtrl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHeaderCtrl { type Vtable = IHeaderCtrl_Vtbl; } -impl ::core::clone::Clone for IHeaderCtrl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHeaderCtrl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb3_d36c_11cf_adbc_00aa00a80033); } @@ -2468,6 +1926,7 @@ pub struct IHeaderCtrl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeaderCtrl2(::windows_core::IUnknown); impl IHeaderCtrl2 { pub unsafe fn InsertColumn(&self, ncol: i32, title: P0, nformat: i32, nwidth: i32) -> ::windows_core::Result<()> @@ -2507,25 +1966,9 @@ impl IHeaderCtrl2 { } } ::windows_core::imp::interface_hierarchy!(IHeaderCtrl2, ::windows_core::IUnknown, IHeaderCtrl); -impl ::core::cmp::PartialEq for IHeaderCtrl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHeaderCtrl2 {} -impl ::core::fmt::Debug for IHeaderCtrl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderCtrl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHeaderCtrl2 { type Vtable = IHeaderCtrl2_Vtbl; } -impl ::core::clone::Clone for IHeaderCtrl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHeaderCtrl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9757abb8_1b32_11d1_a7ce_00c04fd8d565); } @@ -2539,6 +1982,7 @@ pub struct IHeaderCtrl2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageList(::windows_core::IUnknown); impl IImageList { pub unsafe fn ImageListSetIcon(&self, picon: *const isize, nloc: i32) -> ::windows_core::Result<()> { @@ -2554,25 +1998,9 @@ impl IImageList { } } ::windows_core::imp::interface_hierarchy!(IImageList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImageList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageList {} -impl ::core::fmt::Debug for IImageList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageList { type Vtable = IImageList_Vtbl; } -impl ::core::clone::Clone for IImageList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb8_d36c_11cf_adbc_00aa00a80033); } @@ -2588,6 +2016,7 @@ pub struct IImageList_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMMCVersionInfo(::windows_core::IUnknown); impl IMMCVersionInfo { pub unsafe fn GetMMCVersion(&self, pversionmajor: *mut i32, pversionminor: *mut i32) -> ::windows_core::Result<()> { @@ -2595,25 +2024,9 @@ impl IMMCVersionInfo { } } ::windows_core::imp::interface_hierarchy!(IMMCVersionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMMCVersionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMMCVersionInfo {} -impl ::core::fmt::Debug for IMMCVersionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMMCVersionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMMCVersionInfo { type Vtable = IMMCVersionInfo_Vtbl; } -impl ::core::clone::Clone for IMMCVersionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMMCVersionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8d2c5fe_cdcb_4b9d_bde5_a27343ff54bc); } @@ -2625,6 +2038,7 @@ pub struct IMMCVersionInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMenuButton(::windows_core::IUnknown); impl IMenuButton { pub unsafe fn AddButton(&self, idcommand: i32, lpbuttontext: P0, lptooltiptext: P1) -> ::windows_core::Result<()> @@ -2651,25 +2065,9 @@ impl IMenuButton { } } ::windows_core::imp::interface_hierarchy!(IMenuButton, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMenuButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMenuButton {} -impl ::core::fmt::Debug for IMenuButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMenuButton").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMenuButton { type Vtable = IMenuButton_Vtbl; } -impl ::core::clone::Clone for IMenuButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMenuButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x951ed750_d080_11d0_b197_000000000000); } @@ -2686,6 +2084,7 @@ pub struct IMenuButton_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageView(::windows_core::IUnknown); impl IMessageView { pub unsafe fn SetTitleText(&self, psztitletext: P0) -> ::windows_core::Result<()> @@ -2708,25 +2107,9 @@ impl IMessageView { } } ::windows_core::imp::interface_hierarchy!(IMessageView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMessageView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMessageView {} -impl ::core::fmt::Debug for IMessageView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMessageView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMessageView { type Vtable = IMessageView_Vtbl; } -impl ::core::clone::Clone for IMessageView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x80f94174_fccc_11d2_b991_00c04f8ecd78); } @@ -2741,6 +2124,7 @@ pub struct IMessageView_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INodeProperties(::windows_core::IUnknown); impl INodeProperties { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2755,25 +2139,9 @@ impl INodeProperties { } } ::windows_core::imp::interface_hierarchy!(INodeProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INodeProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INodeProperties {} -impl ::core::fmt::Debug for INodeProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INodeProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INodeProperties { type Vtable = INodeProperties_Vtbl; } -impl ::core::clone::Clone for INodeProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INodeProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15bc4d24_a522_4406_aa55_0749537a6865); } @@ -2788,6 +2156,7 @@ pub struct INodeProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySheetCallback(::windows_core::IUnknown); impl IPropertySheetCallback { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -2808,25 +2177,9 @@ impl IPropertySheetCallback { } } ::windows_core::imp::interface_hierarchy!(IPropertySheetCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertySheetCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySheetCallback {} -impl ::core::fmt::Debug for IPropertySheetCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySheetCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertySheetCallback { type Vtable = IPropertySheetCallback_Vtbl; } -impl ::core::clone::Clone for IPropertySheetCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySheetCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85de64dd_ef21_11cf_a285_00c04fd8dbe6); } @@ -2845,6 +2198,7 @@ pub struct IPropertySheetCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySheetProvider(::windows_core::IUnknown); impl IPropertySheetProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2884,25 +2238,9 @@ impl IPropertySheetProvider { } } ::windows_core::imp::interface_hierarchy!(IPropertySheetProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertySheetProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySheetProvider {} -impl ::core::fmt::Debug for IPropertySheetProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySheetProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertySheetProvider { type Vtable = IPropertySheetProvider_Vtbl; } -impl ::core::clone::Clone for IPropertySheetProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySheetProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85de64de_ef21_11cf_a285_00c04fd8dbe6); } @@ -2927,6 +2265,7 @@ pub struct IPropertySheetProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRequiredExtensions(::windows_core::IUnknown); impl IRequiredExtensions { pub unsafe fn EnableAllExtensions(&self) -> ::windows_core::Result<()> { @@ -2942,25 +2281,9 @@ impl IRequiredExtensions { } } ::windows_core::imp::interface_hierarchy!(IRequiredExtensions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRequiredExtensions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRequiredExtensions {} -impl ::core::fmt::Debug for IRequiredExtensions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRequiredExtensions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRequiredExtensions { type Vtable = IRequiredExtensions_Vtbl; } -impl ::core::clone::Clone for IRequiredExtensions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRequiredExtensions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72782d7a_a4a0_11d1_af0f_00c04fb6dd2c); } @@ -2974,6 +2297,7 @@ pub struct IRequiredExtensions_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultData(::windows_core::IUnknown); impl IResultData { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3046,25 +2370,9 @@ impl IResultData { } } ::windows_core::imp::interface_hierarchy!(IResultData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResultData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultData {} -impl ::core::fmt::Debug for IResultData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResultData { type Vtable = IResultData_Vtbl; } -impl ::core::clone::Clone for IResultData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31da5fa0_e0eb_11cf_9f21_00aa003ca9f6); } @@ -3108,6 +2416,7 @@ pub struct IResultData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultData2(::windows_core::IUnknown); impl IResultData2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3183,25 +2492,9 @@ impl IResultData2 { } } ::windows_core::imp::interface_hierarchy!(IResultData2, ::windows_core::IUnknown, IResultData); -impl ::core::cmp::PartialEq for IResultData2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultData2 {} -impl ::core::fmt::Debug for IResultData2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultData2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResultData2 { type Vtable = IResultData2_Vtbl; } -impl ::core::clone::Clone for IResultData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f36e0eb_a7f1_4a81_be5a_9247f7de4b1b); } @@ -3213,6 +2506,7 @@ pub struct IResultData2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultDataCompare(::windows_core::IUnknown); impl IResultDataCompare { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3225,25 +2519,9 @@ impl IResultDataCompare { } } ::windows_core::imp::interface_hierarchy!(IResultDataCompare, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResultDataCompare { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultDataCompare {} -impl ::core::fmt::Debug for IResultDataCompare { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultDataCompare").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResultDataCompare { type Vtable = IResultDataCompare_Vtbl; } -impl ::core::clone::Clone for IResultDataCompare { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultDataCompare { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8315a52_7a1a_11d0_a2d2_00c04fd909dd); } @@ -3258,35 +2536,20 @@ pub struct IResultDataCompare_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultDataCompareEx(::windows_core::IUnknown); impl IResultDataCompareEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn Compare(&self, prdc: *const RDCOMPARE) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Compare)(::windows_core::Interface::as_raw(self), prdc, &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IResultDataCompareEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResultDataCompareEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultDataCompareEx {} -impl ::core::fmt::Debug for IResultDataCompareEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultDataCompareEx").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).Compare)(::windows_core::Interface::as_raw(self), prdc, &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IResultDataCompareEx, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IResultDataCompareEx { type Vtable = IResultDataCompareEx_Vtbl; } -impl ::core::clone::Clone for IResultDataCompareEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultDataCompareEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96933476_0251_11d3_aeb0_00c04f8ecd78); } @@ -3301,6 +2564,7 @@ pub struct IResultDataCompareEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultOwnerData(::windows_core::IUnknown); impl IResultOwnerData { pub unsafe fn FindItem(&self, pfindinfo: *const RESULTFINDINFO) -> ::windows_core::Result { @@ -3320,25 +2584,9 @@ impl IResultOwnerData { } } ::windows_core::imp::interface_hierarchy!(IResultOwnerData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResultOwnerData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultOwnerData {} -impl ::core::fmt::Debug for IResultOwnerData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultOwnerData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResultOwnerData { type Vtable = IResultOwnerData_Vtbl; } -impl ::core::clone::Clone for IResultOwnerData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultOwnerData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cb396d8_ea83_11d0_aef1_00c04fb6dd2c); } @@ -3355,6 +2603,7 @@ pub struct IResultOwnerData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISnapinAbout(::windows_core::IUnknown); impl ISnapinAbout { pub unsafe fn GetSnapinDescription(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3382,25 +2631,9 @@ impl ISnapinAbout { } } ::windows_core::imp::interface_hierarchy!(ISnapinAbout, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISnapinAbout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISnapinAbout {} -impl ::core::fmt::Debug for ISnapinAbout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISnapinAbout").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISnapinAbout { type Vtable = ISnapinAbout_Vtbl; } -impl ::core::clone::Clone for ISnapinAbout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISnapinAbout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1245208c_a151_11d0_a7d7_00c04fd909dd); } @@ -3422,6 +2655,7 @@ pub struct ISnapinAbout_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISnapinHelp(::windows_core::IUnknown); impl ISnapinHelp { pub unsafe fn GetHelpTopic(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3430,25 +2664,9 @@ impl ISnapinHelp { } } ::windows_core::imp::interface_hierarchy!(ISnapinHelp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISnapinHelp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISnapinHelp {} -impl ::core::fmt::Debug for ISnapinHelp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISnapinHelp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISnapinHelp { type Vtable = ISnapinHelp_Vtbl; } -impl ::core::clone::Clone for ISnapinHelp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISnapinHelp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6b15ace_df59_11d0_a7dd_00c04fd909dd); } @@ -3460,6 +2678,7 @@ pub struct ISnapinHelp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISnapinHelp2(::windows_core::IUnknown); impl ISnapinHelp2 { pub unsafe fn GetHelpTopic(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3472,25 +2691,9 @@ impl ISnapinHelp2 { } } ::windows_core::imp::interface_hierarchy!(ISnapinHelp2, ::windows_core::IUnknown, ISnapinHelp); -impl ::core::cmp::PartialEq for ISnapinHelp2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISnapinHelp2 {} -impl ::core::fmt::Debug for ISnapinHelp2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISnapinHelp2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISnapinHelp2 { type Vtable = ISnapinHelp2_Vtbl; } -impl ::core::clone::Clone for ISnapinHelp2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISnapinHelp2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4861a010_20f9_11d2_a510_00c04fb6dd2c); } @@ -3502,6 +2705,7 @@ pub struct ISnapinHelp2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISnapinProperties(::windows_core::IUnknown); impl ISnapinProperties { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3525,25 +2729,9 @@ impl ISnapinProperties { } } ::windows_core::imp::interface_hierarchy!(ISnapinProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISnapinProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISnapinProperties {} -impl ::core::fmt::Debug for ISnapinProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISnapinProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISnapinProperties { type Vtable = ISnapinProperties_Vtbl; } -impl ::core::clone::Clone for ISnapinProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISnapinProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7889da9_4a02_4837_bf89_1a6f2a021010); } @@ -3563,6 +2751,7 @@ pub struct ISnapinProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISnapinPropertiesCallback(::windows_core::IUnknown); impl ISnapinPropertiesCallback { pub unsafe fn AddPropertyName(&self, pszpropname: P0, dwflags: u32) -> ::windows_core::Result<()> @@ -3573,25 +2762,9 @@ impl ISnapinPropertiesCallback { } } ::windows_core::imp::interface_hierarchy!(ISnapinPropertiesCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISnapinPropertiesCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISnapinPropertiesCallback {} -impl ::core::fmt::Debug for ISnapinPropertiesCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISnapinPropertiesCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISnapinPropertiesCallback { type Vtable = ISnapinPropertiesCallback_Vtbl; } -impl ::core::clone::Clone for ISnapinPropertiesCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISnapinPropertiesCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa50fa2e5_7e61_45eb_a8d4_9a07b3e851a8); } @@ -3603,6 +2776,7 @@ pub struct ISnapinPropertiesCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringTable(::windows_core::IUnknown); impl IStringTable { pub unsafe fn AddString(&self, pszadd: P0) -> ::windows_core::Result @@ -3640,25 +2814,9 @@ impl IStringTable { } } ::windows_core::imp::interface_hierarchy!(IStringTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStringTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringTable {} -impl ::core::fmt::Debug for IStringTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStringTable { type Vtable = IStringTable_Vtbl; } -impl ::core::clone::Clone for IStringTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde40b7a4_0f65_11d2_8e25_00c04f8ecd78); } @@ -3679,6 +2837,7 @@ pub struct IStringTable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToolbar(::windows_core::IUnknown); impl IToolbar { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -3715,25 +2874,9 @@ impl IToolbar { } } ::windows_core::imp::interface_hierarchy!(IToolbar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IToolbar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IToolbar {} -impl ::core::fmt::Debug for IToolbar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IToolbar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IToolbar { type Vtable = IToolbar_Vtbl; } -impl ::core::clone::Clone for IToolbar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToolbar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43136eb9_d36c_11cf_adbc_00aa00a80033); } @@ -3759,6 +2902,7 @@ pub struct IToolbar_Vtbl { } #[doc = "*Required features: `\"Win32_System_Mmc\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewExtensionCallback(::windows_core::IUnknown); impl IViewExtensionCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3768,25 +2912,9 @@ impl IViewExtensionCallback { } } ::windows_core::imp::interface_hierarchy!(IViewExtensionCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewExtensionCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewExtensionCallback {} -impl ::core::fmt::Debug for IViewExtensionCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewExtensionCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewExtensionCallback { type Vtable = IViewExtensionCallback_Vtbl; } -impl ::core::clone::Clone for IViewExtensionCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewExtensionCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34dd928a_7599_41e5_9f5e_d6bc3062c2da); } @@ -3802,6 +2930,7 @@ pub struct IViewExtensionCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct MenuItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl MenuItem { @@ -3834,30 +2963,10 @@ impl MenuItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(MenuItem, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for MenuItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for MenuItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for MenuItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MenuItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for MenuItem { type Vtable = MenuItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for MenuItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for MenuItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0178fad1_b361_4b27_96ad_67c57ebf2e1d); } @@ -3879,6 +2988,7 @@ pub struct MenuItem_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Node(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Node { @@ -3911,30 +3021,10 @@ impl Node { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Node, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Node { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Node {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Node { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Node").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Node { type Vtable = Node_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Node { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Node { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf81ed800_7839_4447_945d_8e15da59ca55); } @@ -3955,6 +3045,7 @@ pub struct Node_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Nodes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Nodes { @@ -3976,30 +3067,10 @@ impl Nodes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Nodes, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Nodes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Nodes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Nodes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Nodes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Nodes { type Vtable = Nodes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Nodes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Nodes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x313b01df_b22f_4d42_b1b8_483cdcf51d35); } @@ -4018,6 +3089,7 @@ pub struct Nodes_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Properties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Properties { @@ -4048,30 +3120,10 @@ impl Properties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Properties, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Properties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Properties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Properties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Properties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Properties { type Vtable = Properties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Properties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Properties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2886abc2_a425_42b2_91c6_e25c0e04581c); } @@ -4091,6 +3143,7 @@ pub struct Properties_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Property(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Property { @@ -4113,30 +3166,10 @@ impl Property { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Property, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Property { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Property {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Property { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Property").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Property { type Vtable = Property_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Property { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Property { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4600c3a5_e301_41d8_b6d0_ef2e4212e0ca); } @@ -4158,6 +3191,7 @@ pub struct Property_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ScopeNamespace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ScopeNamespace { @@ -4206,30 +3240,10 @@ impl ScopeNamespace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ScopeNamespace, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ScopeNamespace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ScopeNamespace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ScopeNamespace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ScopeNamespace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ScopeNamespace { type Vtable = ScopeNamespace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ScopeNamespace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ScopeNamespace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebbb48dc_1a3b_4d86_b786_c21b28389012); } @@ -4262,6 +3276,7 @@ pub struct ScopeNamespace_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SnapIn(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl SnapIn { @@ -4305,30 +3320,10 @@ impl SnapIn { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(SnapIn, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for SnapIn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for SnapIn {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for SnapIn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SnapIn").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for SnapIn { type Vtable = SnapIn_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for SnapIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for SnapIn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3be910f6_3459_49c6_a1bb_41e6be9df3ea); } @@ -4357,6 +3352,7 @@ pub struct SnapIn_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct SnapIns(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl SnapIns { @@ -4395,30 +3391,10 @@ impl SnapIns { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(SnapIns, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for SnapIns { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for SnapIns {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for SnapIns { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SnapIns").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for SnapIns { type Vtable = SnapIns_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for SnapIns { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for SnapIns { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ef3de1d_b12a_49d1_92c5_0b00798768f1); } @@ -4445,6 +3421,7 @@ pub struct SnapIns_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct View(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl View { @@ -4693,30 +3670,10 @@ impl View { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(View, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for View { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for View {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for View { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("View").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for View { type Vtable = View_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for View { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for View { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6efc2da2_b38c_457e_9abb_ed2d189b8c38); } @@ -4846,6 +3803,7 @@ pub struct View_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Views(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Views { @@ -4875,30 +3833,10 @@ impl Views { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Views, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Views { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Views {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Views { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Views").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Views { type Vtable = Views_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Views { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Views { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6b8c29d_a1ff_4d72_aab0_e381e9b9338d); } @@ -4921,6 +3859,7 @@ pub struct Views_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _AppEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _AppEvents { @@ -5024,30 +3963,10 @@ impl _AppEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_AppEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _AppEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _AppEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _AppEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_AppEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _AppEvents { type Vtable = _AppEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _AppEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _AppEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde46cbdd_53f5_4635_af54_4fe71e923d3f); } @@ -5105,6 +4024,7 @@ pub struct _AppEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _Application(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _Application { @@ -5170,30 +4090,10 @@ impl _Application { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_Application, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _Application { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _Application {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _Application { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_Application").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _Application { type Vtable = _Application_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _Application { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _Application { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3afb9cc_b653_4741_86ab_f0470ec1384c); } @@ -5233,6 +4133,7 @@ pub struct _Application_Vtbl { #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _EventConnector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _EventConnector { @@ -5251,30 +4152,10 @@ impl _EventConnector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_EventConnector, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _EventConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _EventConnector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _EventConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_EventConnector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _EventConnector { type Vtable = _EventConnector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _EventConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _EventConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0bccd30_de44_4528_8403_a05a6a1cc8ea); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index 284933636c..b09a730ed8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -15,8 +15,8 @@ impl IAdviseSinkEx_Vtbl { } Self { base__: super::Com::IAdviseSink_Vtbl::new::(), OnViewStatusChange: OnViewStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl ICanHandleException_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanHandleException: CanHandleException:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IClassFactory2_Vtbl { CreateInstanceLic: CreateInstanceLic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FContinue: FContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl IContinueCallback_Vtbl { FContinuePrinting: FContinuePrinting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ICreateErrorInfo_Vtbl { SetHelpContext: SetHelpContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl ICreateTypeInfo_Vtbl { LayOut: LayOut::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl ICreateTypeInfo2_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -568,8 +568,8 @@ impl ICreateTypeLib_Vtbl { SaveAllChanges: SaveAllChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -613,8 +613,8 @@ impl ICreateTypeLib2_Vtbl { SetHelpStringDll: SetHelpStringDll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IDispError_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl IDispatchEx_Vtbl { GetNameSpaceParent: GetNameSpaceParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -833,8 +833,8 @@ impl IDropSource_Vtbl { GiveFeedback: GiveFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl IDropSourceNotify_Vtbl { DragLeaveTarget: DragLeaveTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IDropTarget_Vtbl { Drop: Drop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IEnterpriseDropTarget_Vtbl { IsEvaluatingEdpPolicy: IsEvaluatingEdpPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl IEnumOLEVERB_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IEnumOleDocumentViews_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1093,8 +1093,8 @@ impl IEnumOleUndoUnits_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IEnumVARIANT_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl IFont_Vtbl { SetHdc: SetHdc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1403,8 +1403,8 @@ impl IFontDisp_Vtbl { pub const fn new, Impl: IFontDisp_Impl, const OFFSET: isize>() -> IFontDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IFontEventsDisp_Vtbl { pub const fn new, Impl: IFontEventsDisp_Impl, const OFFSET: isize>() -> IFontEventsDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IGetOleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOleObject: GetOleObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IGetVBAObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetObject: GetObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IObjectIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualObject: IsEqualObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IObjectWithSite_Vtbl { GetSite: GetSite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1570,8 +1570,8 @@ impl IOleAdviseHolder_Vtbl { SendOnClose: SendOnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1634,8 +1634,8 @@ impl IOleCache_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1665,8 +1665,8 @@ impl IOleCache2_Vtbl { DiscardCache: DiscardCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1696,8 +1696,8 @@ impl IOleCacheControl_Vtbl { OnStop: OnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1767,8 +1767,8 @@ impl IOleClientSite_Vtbl { RequestNewObjectLayout: RequestNewObjectLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1798,8 +1798,8 @@ impl IOleCommandTarget_Vtbl { Exec: Exec::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1835,8 +1835,8 @@ impl IOleContainer_Vtbl { LockContainer: LockContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1880,8 +1880,8 @@ impl IOleControl_Vtbl { FreezeEvents: FreezeEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1952,8 +1952,8 @@ impl IOleControlSite_Vtbl { ShowPropertyFrame: ShowPropertyFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl IOleDocument_Vtbl { EnumViews: EnumViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2020,8 +2020,8 @@ impl IOleDocumentSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateMe: ActivateMe:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2152,8 +2152,8 @@ impl IOleDocumentView_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2204,8 +2204,8 @@ impl IOleInPlaceActiveObject_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IOleInPlaceFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2308,8 +2308,8 @@ impl IOleInPlaceObject_Vtbl { ReactivateAndUndo: ReactivateAndUndo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IOleInPlaceObjectWindowless_Vtbl { GetDropTarget: GetDropTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2438,8 +2438,8 @@ impl IOleInPlaceSite_Vtbl { OnPosRectChange: OnPosRectChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2476,8 +2476,8 @@ impl IOleInPlaceSiteEx_Vtbl { RequestUIActivate: RequestUIActivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2589,8 +2589,8 @@ impl IOleInPlaceSiteWindowless_Vtbl { OnDefWindowMessage: OnDefWindowMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl IOleInPlaceUIWindow_Vtbl { SetActiveObject: SetActiveObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2678,8 +2678,8 @@ impl IOleItemContainer_Vtbl { IsRunning: IsRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2796,8 +2796,8 @@ impl IOleLink_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3020,8 +3020,8 @@ impl IOleObject_Vtbl { SetColorScheme: SetColorScheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3078,8 +3078,8 @@ impl IOleParentUndoUnit_Vtbl { GetParentState: GetParentState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3157,8 +3157,8 @@ impl IOleUILinkContainerA_Vtbl { CancelLink: CancelLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IOleUILinkContainerW_Vtbl { CancelLink: CancelLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3263,8 +3263,8 @@ impl IOleUILinkInfoA_Vtbl { } Self { base__: IOleUILinkContainerA_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3290,8 +3290,8 @@ impl IOleUILinkInfoW_Vtbl { } Self { base__: IOleUILinkContainerW_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3342,8 +3342,8 @@ impl IOleUIObjInfoA_Vtbl { SetViewInfo: SetViewInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl IOleUIObjInfoW_Vtbl { SetViewInfo: SetViewInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3525,8 +3525,8 @@ impl IOleUndoManager_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IOleUndoUnit_Vtbl { OnNextAdd: OnNextAdd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3610,8 +3610,8 @@ impl IOleWindow_Vtbl { ContextSensitiveHelp: ContextSensitiveHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3631,8 +3631,8 @@ impl IParseDisplayName_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseDisplayName: ParseDisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IPerPropertyBrowsing_Vtbl { GetPredefinedValue: GetPredefinedValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IPersistPropertyBag_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3777,8 +3777,8 @@ impl IPersistPropertyBag2_Vtbl { IsDirty: IsDirty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3946,8 +3946,8 @@ impl IPicture_Vtbl { Attributes: Attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4115,8 +4115,8 @@ impl IPicture2_Vtbl { Attributes: Attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4129,8 +4129,8 @@ impl IPictureDisp_Vtbl { pub const fn new, Impl: IPictureDisp_Impl, const OFFSET: isize>() -> IPictureDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4173,8 +4173,8 @@ impl IPointerInactive_Vtbl { OnInactiveSetCursor: OnInactiveSetCursor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl IPrint_Vtbl { Print: Print::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4239,8 +4239,8 @@ impl IPropertyNotifySink_Vtbl { OnRequestEdit: OnRequestEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4333,8 +4333,8 @@ impl IPropertyPage_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4354,8 +4354,8 @@ impl IPropertyPage2_Vtbl { } Self { base__: IPropertyPage_Vtbl::new::(), EditProperty: EditProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4411,8 +4411,8 @@ impl IPropertyPageSite_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4438,8 +4438,8 @@ impl IProtectFocus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowFocusChange: AllowFocusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4494,8 +4494,8 @@ impl IProtectedModeMenuServices_Vtbl { LoadMenuID: LoadMenuID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4521,8 +4521,8 @@ impl IProvideClassInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassInfo: GetClassInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IProvideClassInfo2_Vtbl { } Self { base__: IProvideClassInfo_Vtbl::new::(), GetGUID: GetGUID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4585,8 +4585,8 @@ impl IProvideMultipleClassInfo_Vtbl { GetInfoOfIndex: GetInfoOfIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4606,8 +4606,8 @@ impl IProvideRuntimeContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrentSourceContext: GetCurrentSourceContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4650,8 +4650,8 @@ impl IQuickActivate_Vtbl { GetContentExtent: GetContentExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4809,8 +4809,8 @@ impl IRecordInfo_Vtbl { RecordDestroy: RecordDestroy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4840,8 +4840,8 @@ impl ISimpleFrameSite_Vtbl { PostMessageFilter: PostMessageFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl ISpecifyPropertyPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4901,8 +4901,8 @@ impl ITypeChangeEvents_Vtbl { AfterTypeChange: AfterTypeChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4928,8 +4928,8 @@ impl ITypeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromTypeInfo: CreateFromTypeInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4976,8 +4976,8 @@ impl ITypeMarshal_Vtbl { Free: Free::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4997,8 +4997,8 @@ impl IVBFormat_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Format: Format:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5024,8 +5024,8 @@ impl IVBGetControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumControls: EnumControls:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IVariantChangeType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangeType: ChangeType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5104,8 +5104,8 @@ impl IViewObject_Vtbl { GetAdvise: GetAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5131,8 +5131,8 @@ impl IViewObject2_Vtbl { } Self { base__: IViewObject_Vtbl::new::(), GetExtent: GetExtent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5213,8 +5213,8 @@ impl IViewObjectEx_Vtbl { GetNaturalExtent: GetNaturalExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5231,7 +5231,7 @@ impl IZoomEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnZoomPercentChanged: OnZoomPercentChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs index ee89ff25f9..354aeb03a9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -3681,6 +3681,7 @@ where #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAdviseSinkEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAdviseSinkEx { @@ -3719,30 +3720,10 @@ impl IAdviseSinkEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAdviseSinkEx, ::windows_core::IUnknown, super::Com::IAdviseSink); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAdviseSinkEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAdviseSinkEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAdviseSinkEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAdviseSinkEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAdviseSinkEx { type Vtable = IAdviseSinkEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAdviseSinkEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAdviseSinkEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3af24290_0c96_11ce_a0cf_00aa00600ab8); } @@ -3755,6 +3736,7 @@ pub struct IAdviseSinkEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICanHandleException(::windows_core::IUnknown); impl ICanHandleException { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`*"] @@ -3764,25 +3746,9 @@ impl ICanHandleException { } } ::windows_core::imp::interface_hierarchy!(ICanHandleException, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICanHandleException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICanHandleException {} -impl ::core::fmt::Debug for ICanHandleException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICanHandleException").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICanHandleException { type Vtable = ICanHandleException_Vtbl; } -impl ::core::clone::Clone for ICanHandleException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICanHandleException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5598e60_b307_11d1_b27d_006008c3fbfb); } @@ -3798,6 +3764,7 @@ pub struct ICanHandleException_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClassFactory2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IClassFactory2 { @@ -3842,30 +3809,10 @@ impl IClassFactory2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IClassFactory2, ::windows_core::IUnknown, super::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IClassFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IClassFactory2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IClassFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClassFactory2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IClassFactory2 { type Vtable = IClassFactory2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IClassFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IClassFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b28f_bab4_101a_b69c_00aa00341d07); } @@ -3883,6 +3830,7 @@ pub struct IClassFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContinue(::windows_core::IUnknown); impl IContinue { pub unsafe fn FContinue(&self) -> ::windows_core::Result<()> { @@ -3890,25 +3838,9 @@ impl IContinue { } } ::windows_core::imp::interface_hierarchy!(IContinue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContinue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContinue {} -impl ::core::fmt::Debug for IContinue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContinue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContinue { type Vtable = IContinue_Vtbl; } -impl ::core::clone::Clone for IContinue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContinue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000012a_0000_0000_c000_000000000046); } @@ -3920,6 +3852,7 @@ pub struct IContinue_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContinueCallback(::windows_core::IUnknown); impl IContinueCallback { pub unsafe fn FContinue(&self) -> ::windows_core::Result<()> { @@ -3933,25 +3866,9 @@ impl IContinueCallback { } } ::windows_core::imp::interface_hierarchy!(IContinueCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContinueCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContinueCallback {} -impl ::core::fmt::Debug for IContinueCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContinueCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContinueCallback { type Vtable = IContinueCallback_Vtbl; } -impl ::core::clone::Clone for IContinueCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContinueCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcca_4e68_101b_a2bc_00aa00404770); } @@ -3964,6 +3881,7 @@ pub struct IContinueCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateErrorInfo(::windows_core::IUnknown); impl ICreateErrorInfo { pub unsafe fn SetGUID(&self, rguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -3992,25 +3910,9 @@ impl ICreateErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ICreateErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateErrorInfo {} -impl ::core::fmt::Debug for ICreateErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateErrorInfo { type Vtable = ICreateErrorInfo_Vtbl; } -impl ::core::clone::Clone for ICreateErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f03340_547d_101b_8e65_08002b2bd119); } @@ -4026,6 +3928,7 @@ pub struct ICreateErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateTypeInfo(::windows_core::IUnknown); impl ICreateTypeInfo { pub unsafe fn SetGuid(&self, guid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -4136,25 +4039,9 @@ impl ICreateTypeInfo { } } ::windows_core::imp::interface_hierarchy!(ICreateTypeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateTypeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateTypeInfo {} -impl ::core::fmt::Debug for ICreateTypeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateTypeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateTypeInfo { type Vtable = ICreateTypeInfo_Vtbl; } -impl ::core::clone::Clone for ICreateTypeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateTypeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020405_0000_0000_c000_000000000046); } @@ -4206,6 +4093,7 @@ pub struct ICreateTypeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateTypeInfo2(::windows_core::IUnknown); impl ICreateTypeInfo2 { pub unsafe fn SetGuid(&self, guid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -4376,25 +4264,9 @@ impl ICreateTypeInfo2 { } } ::windows_core::imp::interface_hierarchy!(ICreateTypeInfo2, ::windows_core::IUnknown, ICreateTypeInfo); -impl ::core::cmp::PartialEq for ICreateTypeInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateTypeInfo2 {} -impl ::core::fmt::Debug for ICreateTypeInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateTypeInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateTypeInfo2 { type Vtable = ICreateTypeInfo2_Vtbl; } -impl ::core::clone::Clone for ICreateTypeInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateTypeInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002040e_0000_0000_c000_000000000046); } @@ -4438,6 +4310,7 @@ pub struct ICreateTypeInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateTypeLib(::windows_core::IUnknown); impl ICreateTypeLib { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4487,25 +4360,9 @@ impl ICreateTypeLib { } } ::windows_core::imp::interface_hierarchy!(ICreateTypeLib, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateTypeLib { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateTypeLib {} -impl ::core::fmt::Debug for ICreateTypeLib { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateTypeLib").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateTypeLib { type Vtable = ICreateTypeLib_Vtbl; } -impl ::core::clone::Clone for ICreateTypeLib { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateTypeLib { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020406_0000_0000_c000_000000000046); } @@ -4529,6 +4386,7 @@ pub struct ICreateTypeLib_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateTypeLib2(::windows_core::IUnknown); impl ICreateTypeLib2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4598,25 +4456,9 @@ impl ICreateTypeLib2 { } } ::windows_core::imp::interface_hierarchy!(ICreateTypeLib2, ::windows_core::IUnknown, ICreateTypeLib); -impl ::core::cmp::PartialEq for ICreateTypeLib2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateTypeLib2 {} -impl ::core::fmt::Debug for ICreateTypeLib2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateTypeLib2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateTypeLib2 { type Vtable = ICreateTypeLib2_Vtbl; } -impl ::core::clone::Clone for ICreateTypeLib2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateTypeLib2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002040f_0000_0000_c000_000000000046); } @@ -4634,6 +4476,7 @@ pub struct ICreateTypeLib2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispError(::windows_core::IUnknown); impl IDispError { pub unsafe fn QueryErrorInfo(&self, guiderrortype: ::windows_core::GUID) -> ::windows_core::Result { @@ -4661,25 +4504,9 @@ impl IDispError { } } ::windows_core::imp::interface_hierarchy!(IDispError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDispError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDispError {} -impl ::core::fmt::Debug for IDispError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDispError { type Vtable = IDispError_Vtbl; } -impl ::core::clone::Clone for IDispError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDispError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6ef9861_c720_11d0_9337_00a0c90dcaa9); } @@ -4697,6 +4524,7 @@ pub struct IDispError_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDispatchEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDispatchEx { @@ -4744,30 +4572,10 @@ impl IDispatchEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDispatchEx, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDispatchEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDispatchEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDispatchEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDispatchEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDispatchEx { type Vtable = IDispatchEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDispatchEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDispatchEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6ef9860_c720_11d0_9337_00a0c90dcaa9); } @@ -4790,6 +4598,7 @@ pub struct IDispatchEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropSource(::windows_core::IUnknown); impl IDropSource { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"] @@ -4805,25 +4614,9 @@ impl IDropSource { } } ::windows_core::imp::interface_hierarchy!(IDropSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDropSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDropSource {} -impl ::core::fmt::Debug for IDropSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDropSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDropSource { type Vtable = IDropSource_Vtbl; } -impl ::core::clone::Clone for IDropSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000121_0000_0000_c000_000000000046); } @@ -4839,6 +4632,7 @@ pub struct IDropSource_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropSourceNotify(::windows_core::IUnknown); impl IDropSourceNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4854,25 +4648,9 @@ impl IDropSourceNotify { } } ::windows_core::imp::interface_hierarchy!(IDropSourceNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDropSourceNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDropSourceNotify {} -impl ::core::fmt::Debug for IDropSourceNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDropSourceNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDropSourceNotify { type Vtable = IDropSourceNotify_Vtbl; } -impl ::core::clone::Clone for IDropSourceNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropSourceNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000012b_0000_0000_c000_000000000046); } @@ -4888,6 +4666,7 @@ pub struct IDropSourceNotify_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropTarget(::windows_core::IUnknown); impl IDropTarget { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`*"] @@ -4916,25 +4695,9 @@ impl IDropTarget { } } ::windows_core::imp::interface_hierarchy!(IDropTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDropTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDropTarget {} -impl ::core::fmt::Debug for IDropTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDropTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDropTarget { type Vtable = IDropTarget_Vtbl; } -impl ::core::clone::Clone for IDropTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000122_0000_0000_c000_000000000046); } @@ -4958,6 +4721,7 @@ pub struct IDropTarget_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnterpriseDropTarget(::windows_core::IUnknown); impl IEnterpriseDropTarget { pub unsafe fn SetDropSourceEnterpriseId(&self, identity: P0) -> ::windows_core::Result<()> @@ -4974,25 +4738,9 @@ impl IEnterpriseDropTarget { } } ::windows_core::imp::interface_hierarchy!(IEnterpriseDropTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnterpriseDropTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnterpriseDropTarget {} -impl ::core::fmt::Debug for IEnterpriseDropTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnterpriseDropTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnterpriseDropTarget { type Vtable = IEnterpriseDropTarget_Vtbl; } -impl ::core::clone::Clone for IEnterpriseDropTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnterpriseDropTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x390e3878_fd55_4e18_819d_4682081c0cfd); } @@ -5008,6 +4756,7 @@ pub struct IEnterpriseDropTarget_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOLEVERB(::windows_core::IUnknown); impl IEnumOLEVERB { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -5027,25 +4776,9 @@ impl IEnumOLEVERB { } } ::windows_core::imp::interface_hierarchy!(IEnumOLEVERB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOLEVERB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOLEVERB {} -impl ::core::fmt::Debug for IEnumOLEVERB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOLEVERB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOLEVERB { type Vtable = IEnumOLEVERB_Vtbl; } -impl ::core::clone::Clone for IEnumOLEVERB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOLEVERB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000104_0000_0000_c000_000000000046); } @@ -5063,6 +4796,7 @@ pub struct IEnumOLEVERB_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOleDocumentViews(::windows_core::IUnknown); impl IEnumOleDocumentViews { pub unsafe fn Next(&self, cviews: u32, rgpview: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5080,25 +4814,9 @@ impl IEnumOleDocumentViews { } } ::windows_core::imp::interface_hierarchy!(IEnumOleDocumentViews, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOleDocumentViews { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOleDocumentViews {} -impl ::core::fmt::Debug for IEnumOleDocumentViews { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOleDocumentViews").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOleDocumentViews { type Vtable = IEnumOleDocumentViews_Vtbl; } -impl ::core::clone::Clone for IEnumOleDocumentViews { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOleDocumentViews { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcc8_4e68_101b_a2bc_00aa00404770); } @@ -5113,6 +4831,7 @@ pub struct IEnumOleDocumentViews_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOleUndoUnits(::windows_core::IUnknown); impl IEnumOleUndoUnits { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -5130,25 +4849,9 @@ impl IEnumOleUndoUnits { } } ::windows_core::imp::interface_hierarchy!(IEnumOleUndoUnits, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOleUndoUnits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOleUndoUnits {} -impl ::core::fmt::Debug for IEnumOleUndoUnits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOleUndoUnits").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOleUndoUnits { type Vtable = IEnumOleUndoUnits_Vtbl; } -impl ::core::clone::Clone for IEnumOleUndoUnits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOleUndoUnits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3e7c340_ef97_11ce_9bc9_00aa00608e01); } @@ -5163,6 +4866,7 @@ pub struct IEnumOleUndoUnits_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumVARIANT(::windows_core::IUnknown); impl IEnumVARIANT { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`*"] @@ -5182,25 +4886,9 @@ impl IEnumVARIANT { } } ::windows_core::imp::interface_hierarchy!(IEnumVARIANT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumVARIANT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumVARIANT {} -impl ::core::fmt::Debug for IEnumVARIANT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumVARIANT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumVARIANT { type Vtable = IEnumVARIANT_Vtbl; } -impl ::core::clone::Clone for IEnumVARIANT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumVARIANT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020404_0000_0000_c000_000000000046); } @@ -5218,6 +4906,7 @@ pub struct IEnumVARIANT_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFont(::windows_core::IUnknown); impl IFont { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5361,25 +5050,9 @@ impl IFont { } } ::windows_core::imp::interface_hierarchy!(IFont, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFont { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFont {} -impl ::core::fmt::Debug for IFont { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFont").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFont { type Vtable = IFont_Vtbl; } -impl ::core::clone::Clone for IFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFont { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbef6e002_a874_101a_8bba_00aa00300cab); } @@ -5460,36 +5133,17 @@ pub struct IFont_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFontDisp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFontDisp {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFontDisp, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFontDisp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFontDisp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFontDisp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFontDisp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFontDisp { type Vtable = IFontDisp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFontDisp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFontDisp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbef6e003_a874_101a_8bba_00aa00300cab); } @@ -5502,36 +5156,17 @@ pub struct IFontDisp_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFontEventsDisp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFontEventsDisp {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFontEventsDisp, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFontEventsDisp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFontEventsDisp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFontEventsDisp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFontEventsDisp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFontEventsDisp { type Vtable = IFontEventsDisp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFontEventsDisp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFontEventsDisp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ef6100a_af88_11d0_9846_00c04fc29993); } @@ -5543,6 +5178,7 @@ pub struct IFontEventsDisp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetOleObject(::windows_core::IUnknown); impl IGetOleObject { pub unsafe fn GetOleObject(&self, riid: *const ::windows_core::GUID, ppvobj: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -5550,25 +5186,9 @@ impl IGetOleObject { } } ::windows_core::imp::interface_hierarchy!(IGetOleObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetOleObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetOleObject {} -impl ::core::fmt::Debug for IGetOleObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetOleObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetOleObject { type Vtable = IGetOleObject_Vtbl; } -impl ::core::clone::Clone for IGetOleObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetOleObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a701da0_4feb_101b_a82e_08002b2b2337); } @@ -5580,6 +5200,7 @@ pub struct IGetOleObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetVBAObject(::windows_core::IUnknown); impl IGetVBAObject { pub unsafe fn GetObject(&self, riid: *const ::windows_core::GUID, ppvobj: *mut *mut ::core::ffi::c_void, dwreserved: u32) -> ::windows_core::Result<()> { @@ -5587,25 +5208,9 @@ impl IGetVBAObject { } } ::windows_core::imp::interface_hierarchy!(IGetVBAObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetVBAObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetVBAObject {} -impl ::core::fmt::Debug for IGetVBAObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetVBAObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetVBAObject { type Vtable = IGetVBAObject_Vtbl; } -impl ::core::clone::Clone for IGetVBAObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetVBAObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91733a60_3f4c_101b_a3f6_00aa0034e4e9); } @@ -5617,6 +5222,7 @@ pub struct IGetVBAObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectIdentity(::windows_core::IUnknown); impl IObjectIdentity { pub unsafe fn IsEqualObject(&self, punk: P0) -> ::windows_core::Result<()> @@ -5627,25 +5233,9 @@ impl IObjectIdentity { } } ::windows_core::imp::interface_hierarchy!(IObjectIdentity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectIdentity {} -impl ::core::fmt::Debug for IObjectIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectIdentity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectIdentity { type Vtable = IObjectIdentity_Vtbl; } -impl ::core::clone::Clone for IObjectIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca04b7e6_0d21_11d1_8cc5_00c04fc2b085); } @@ -5657,6 +5247,7 @@ pub struct IObjectIdentity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithSite(::windows_core::IUnknown); impl IObjectWithSite { pub unsafe fn SetSite(&self, punksite: P0) -> ::windows_core::Result<()> @@ -5674,25 +5265,9 @@ impl IObjectWithSite { } } ::windows_core::imp::interface_hierarchy!(IObjectWithSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithSite {} -impl ::core::fmt::Debug for IObjectWithSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithSite { type Vtable = IObjectWithSite_Vtbl; } -impl ::core::clone::Clone for IObjectWithSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc4801a3_2ba9_11cf_a229_00aa003d7352); } @@ -5705,6 +5280,7 @@ pub struct IObjectWithSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleAdviseHolder(::windows_core::IUnknown); impl IOleAdviseHolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5741,25 +5317,9 @@ impl IOleAdviseHolder { } } ::windows_core::imp::interface_hierarchy!(IOleAdviseHolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleAdviseHolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleAdviseHolder {} -impl ::core::fmt::Debug for IOleAdviseHolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleAdviseHolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleAdviseHolder { type Vtable = IOleAdviseHolder_Vtbl; } -impl ::core::clone::Clone for IOleAdviseHolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleAdviseHolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000111_0000_0000_c000_000000000046); } @@ -5785,6 +5345,7 @@ pub struct IOleAdviseHolder_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleCache(::windows_core::IUnknown); impl IOleCache { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5820,25 +5381,9 @@ impl IOleCache { } } ::windows_core::imp::interface_hierarchy!(IOleCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleCache {} -impl ::core::fmt::Debug for IOleCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleCache { type Vtable = IOleCache_Vtbl; } -impl ::core::clone::Clone for IOleCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000011e_0000_0000_c000_000000000046); } @@ -5866,6 +5411,7 @@ pub struct IOleCache_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleCache2(::windows_core::IUnknown); impl IOleCache2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5912,25 +5458,9 @@ impl IOleCache2 { } } ::windows_core::imp::interface_hierarchy!(IOleCache2, ::windows_core::IUnknown, IOleCache); -impl ::core::cmp::PartialEq for IOleCache2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleCache2 {} -impl ::core::fmt::Debug for IOleCache2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleCache2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleCache2 { type Vtable = IOleCache2_Vtbl; } -impl ::core::clone::Clone for IOleCache2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleCache2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000128_0000_0000_c000_000000000046); } @@ -5946,6 +5476,7 @@ pub struct IOleCache2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleCacheControl(::windows_core::IUnknown); impl IOleCacheControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5961,25 +5492,9 @@ impl IOleCacheControl { } } ::windows_core::imp::interface_hierarchy!(IOleCacheControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleCacheControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleCacheControl {} -impl ::core::fmt::Debug for IOleCacheControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleCacheControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleCacheControl { type Vtable = IOleCacheControl_Vtbl; } -impl ::core::clone::Clone for IOleCacheControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleCacheControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000129_0000_0000_c000_000000000046); } @@ -5995,6 +5510,7 @@ pub struct IOleCacheControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleClientSite(::windows_core::IUnknown); impl IOleClientSite { pub unsafe fn SaveObject(&self) -> ::windows_core::Result<()> { @@ -6026,25 +5542,9 @@ impl IOleClientSite { } } ::windows_core::imp::interface_hierarchy!(IOleClientSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleClientSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleClientSite {} -impl ::core::fmt::Debug for IOleClientSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleClientSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleClientSite { type Vtable = IOleClientSite_Vtbl; } -impl ::core::clone::Clone for IOleClientSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleClientSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000118_0000_0000_c000_000000000046); } @@ -6067,6 +5567,7 @@ pub struct IOleClientSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleCommandTarget(::windows_core::IUnknown); impl IOleCommandTarget { pub unsafe fn QueryStatus(&self, pguidcmdgroup: *const ::windows_core::GUID, ccmds: u32, prgcmds: *mut OLECMD, pcmdtext: *mut OLECMDTEXT) -> ::windows_core::Result<()> { @@ -6079,25 +5580,9 @@ impl IOleCommandTarget { } } ::windows_core::imp::interface_hierarchy!(IOleCommandTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleCommandTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleCommandTarget {} -impl ::core::fmt::Debug for IOleCommandTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleCommandTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleCommandTarget { type Vtable = IOleCommandTarget_Vtbl; } -impl ::core::clone::Clone for IOleCommandTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleCommandTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bccb_4e68_101b_a2bc_00aa00404770); } @@ -6113,6 +5598,7 @@ pub struct IOleCommandTarget_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleContainer(::windows_core::IUnknown); impl IOleContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6140,25 +5626,9 @@ impl IOleContainer { } } ::windows_core::imp::interface_hierarchy!(IOleContainer, ::windows_core::IUnknown, IParseDisplayName); -impl ::core::cmp::PartialEq for IOleContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleContainer {} -impl ::core::fmt::Debug for IOleContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleContainer { type Vtable = IOleContainer_Vtbl; } -impl ::core::clone::Clone for IOleContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000011b_0000_0000_c000_000000000046); } @@ -6177,6 +5647,7 @@ pub struct IOleContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleControl(::windows_core::IUnknown); impl IOleControl { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -6202,25 +5673,9 @@ impl IOleControl { } } ::windows_core::imp::interface_hierarchy!(IOleControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleControl {} -impl ::core::fmt::Debug for IOleControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleControl { type Vtable = IOleControl_Vtbl; } -impl ::core::clone::Clone for IOleControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b288_bab4_101a_b69c_00aa00341d07); } @@ -6244,6 +5699,7 @@ pub struct IOleControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleControlSite(::windows_core::IUnknown); impl IOleControlSite { pub unsafe fn OnControlInfoChanged(&self) -> ::windows_core::Result<()> { @@ -6286,25 +5742,9 @@ impl IOleControlSite { } } ::windows_core::imp::interface_hierarchy!(IOleControlSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleControlSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleControlSite {} -impl ::core::fmt::Debug for IOleControlSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleControlSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleControlSite { type Vtable = IOleControlSite_Vtbl; } -impl ::core::clone::Clone for IOleControlSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleControlSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b289_bab4_101a_b69c_00aa00341d07); } @@ -6337,6 +5777,7 @@ pub struct IOleControlSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleDocument(::windows_core::IUnknown); impl IOleDocument { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6358,25 +5799,9 @@ impl IOleDocument { } } ::windows_core::imp::interface_hierarchy!(IOleDocument, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleDocument {} -impl ::core::fmt::Debug for IOleDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleDocument").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleDocument { type Vtable = IOleDocument_Vtbl; } -impl ::core::clone::Clone for IOleDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcc5_4e68_101b_a2bc_00aa00404770); } @@ -6393,6 +5818,7 @@ pub struct IOleDocument_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleDocumentSite(::windows_core::IUnknown); impl IOleDocumentSite { pub unsafe fn ActivateMe(&self, pviewtoactivate: P0) -> ::windows_core::Result<()> @@ -6403,25 +5829,9 @@ impl IOleDocumentSite { } } ::windows_core::imp::interface_hierarchy!(IOleDocumentSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleDocumentSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleDocumentSite {} -impl ::core::fmt::Debug for IOleDocumentSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleDocumentSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleDocumentSite { type Vtable = IOleDocumentSite_Vtbl; } -impl ::core::clone::Clone for IOleDocumentSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleDocumentSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcc7_4e68_101b_a2bc_00aa00404770); } @@ -6433,6 +5843,7 @@ pub struct IOleDocumentSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleDocumentView(::windows_core::IUnknown); impl IOleDocumentView { pub unsafe fn SetInPlaceSite(&self, pipsite: P0) -> ::windows_core::Result<()> @@ -6512,25 +5923,9 @@ impl IOleDocumentView { } } ::windows_core::imp::interface_hierarchy!(IOleDocumentView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleDocumentView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleDocumentView {} -impl ::core::fmt::Debug for IOleDocumentView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleDocumentView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleDocumentView { type Vtable = IOleDocumentView_Vtbl; } -impl ::core::clone::Clone for IOleDocumentView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleDocumentView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcc6_4e68_101b_a2bc_00aa00404770); } @@ -6575,6 +5970,7 @@ pub struct IOleDocumentView_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceActiveObject(::windows_core::IUnknown); impl IOleInPlaceActiveObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6631,25 +6027,9 @@ impl IOleInPlaceActiveObject { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceActiveObject, ::windows_core::IUnknown, IOleWindow); -impl ::core::cmp::PartialEq for IOleInPlaceActiveObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceActiveObject {} -impl ::core::fmt::Debug for IOleInPlaceActiveObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceActiveObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceActiveObject { type Vtable = IOleInPlaceActiveObject_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceActiveObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceActiveObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000117_0000_0000_c000_000000000046); } @@ -6680,6 +6060,7 @@ pub struct IOleInPlaceActiveObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceFrame(::windows_core::IUnknown); impl IOleInPlaceFrame { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6765,25 +6146,9 @@ impl IOleInPlaceFrame { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceFrame, ::windows_core::IUnknown, IOleWindow, IOleInPlaceUIWindow); -impl ::core::cmp::PartialEq for IOleInPlaceFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceFrame {} -impl ::core::fmt::Debug for IOleInPlaceFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceFrame { type Vtable = IOleInPlaceFrame_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000116_0000_0000_c000_000000000046); } @@ -6815,6 +6180,7 @@ pub struct IOleInPlaceFrame_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceObject(::windows_core::IUnknown); impl IOleInPlaceObject { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6847,25 +6213,9 @@ impl IOleInPlaceObject { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceObject, ::windows_core::IUnknown, IOleWindow); -impl ::core::cmp::PartialEq for IOleInPlaceObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceObject {} -impl ::core::fmt::Debug for IOleInPlaceObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceObject { type Vtable = IOleInPlaceObject_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000113_0000_0000_c000_000000000046); } @@ -6883,6 +6233,7 @@ pub struct IOleInPlaceObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceObjectWindowless(::windows_core::IUnknown); impl IOleInPlaceObjectWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6929,25 +6280,9 @@ impl IOleInPlaceObjectWindowless { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceObjectWindowless, ::windows_core::IUnknown, IOleWindow, IOleInPlaceObject); -impl ::core::cmp::PartialEq for IOleInPlaceObjectWindowless { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceObjectWindowless {} -impl ::core::fmt::Debug for IOleInPlaceObjectWindowless { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceObjectWindowless").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceObjectWindowless { type Vtable = IOleInPlaceObjectWindowless_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceObjectWindowless { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceObjectWindowless { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c2056cc_5ef4_101b_8bc8_00aa003e3b29); } @@ -6963,6 +6298,7 @@ pub struct IOleInPlaceObjectWindowless_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceSite(::windows_core::IUnknown); impl IOleInPlaceSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7022,25 +6358,9 @@ impl IOleInPlaceSite { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceSite, ::windows_core::IUnknown, IOleWindow); -impl ::core::cmp::PartialEq for IOleInPlaceSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceSite {} -impl ::core::fmt::Debug for IOleInPlaceSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceSite { type Vtable = IOleInPlaceSite_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000119_0000_0000_c000_000000000046); } @@ -7073,6 +6393,7 @@ pub struct IOleInPlaceSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceSiteEx(::windows_core::IUnknown); impl IOleInPlaceSiteEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7148,25 +6469,9 @@ impl IOleInPlaceSiteEx { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceSiteEx, ::windows_core::IUnknown, IOleWindow, IOleInPlaceSite); -impl ::core::cmp::PartialEq for IOleInPlaceSiteEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceSiteEx {} -impl ::core::fmt::Debug for IOleInPlaceSiteEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceSiteEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceSiteEx { type Vtable = IOleInPlaceSiteEx_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceSiteEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceSiteEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c2cad80_3424_11cf_b670_00aa004cd6d8); } @@ -7186,6 +6491,7 @@ pub struct IOleInPlaceSiteEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceSiteWindowless(::windows_core::IUnknown); impl IOleInPlaceSiteWindowless { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7337,25 +6643,9 @@ impl IOleInPlaceSiteWindowless { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceSiteWindowless, ::windows_core::IUnknown, IOleWindow, IOleInPlaceSite, IOleInPlaceSiteEx); -impl ::core::cmp::PartialEq for IOleInPlaceSiteWindowless { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceSiteWindowless {} -impl ::core::fmt::Debug for IOleInPlaceSiteWindowless { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceSiteWindowless").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceSiteWindowless { type Vtable = IOleInPlaceSiteWindowless_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceSiteWindowless { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceSiteWindowless { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x922eada0_3424_11cf_b670_00aa004cd6d8); } @@ -7405,6 +6695,7 @@ pub struct IOleInPlaceSiteWindowless_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleInPlaceUIWindow(::windows_core::IUnknown); impl IOleInPlaceUIWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7446,25 +6737,9 @@ impl IOleInPlaceUIWindow { } } ::windows_core::imp::interface_hierarchy!(IOleInPlaceUIWindow, ::windows_core::IUnknown, IOleWindow); -impl ::core::cmp::PartialEq for IOleInPlaceUIWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleInPlaceUIWindow {} -impl ::core::fmt::Debug for IOleInPlaceUIWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleInPlaceUIWindow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleInPlaceUIWindow { type Vtable = IOleInPlaceUIWindow_Vtbl; } -impl ::core::clone::Clone for IOleInPlaceUIWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleInPlaceUIWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000115_0000_0000_c000_000000000046); } @@ -7488,6 +6763,7 @@ pub struct IOleInPlaceUIWindow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleItemContainer(::windows_core::IUnknown); impl IOleItemContainer { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7543,25 +6819,9 @@ impl IOleItemContainer { } } ::windows_core::imp::interface_hierarchy!(IOleItemContainer, ::windows_core::IUnknown, IParseDisplayName, IOleContainer); -impl ::core::cmp::PartialEq for IOleItemContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleItemContainer {} -impl ::core::fmt::Debug for IOleItemContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleItemContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleItemContainer { type Vtable = IOleItemContainer_Vtbl; } -impl ::core::clone::Clone for IOleItemContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleItemContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000011c_0000_0000_c000_000000000046); } @@ -7581,6 +6841,7 @@ pub struct IOleItemContainer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleLink(::windows_core::IUnknown); impl IOleLink { pub unsafe fn SetUpdateOptions(&self, dwupdateopt: u32) -> ::windows_core::Result<()> { @@ -7642,25 +6903,9 @@ impl IOleLink { } } ::windows_core::imp::interface_hierarchy!(IOleLink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleLink {} -impl ::core::fmt::Debug for IOleLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleLink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleLink { type Vtable = IOleLink_Vtbl; } -impl ::core::clone::Clone for IOleLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000011d_0000_0000_c000_000000000046); } @@ -7694,6 +6939,7 @@ pub struct IOleLink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleObject(::windows_core::IUnknown); impl IOleObject { pub unsafe fn SetClientSite(&self, pclientsite: P0) -> ::windows_core::Result<()> @@ -7814,25 +7060,9 @@ impl IOleObject { } } ::windows_core::imp::interface_hierarchy!(IOleObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleObject {} -impl ::core::fmt::Debug for IOleObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleObject { type Vtable = IOleObject_Vtbl; } -impl ::core::clone::Clone for IOleObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000112_0000_0000_c000_000000000046); } @@ -7897,6 +7127,7 @@ pub struct IOleObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleParentUndoUnit(::windows_core::IUnknown); impl IOleParentUndoUnit { pub unsafe fn Do(&self, pundomanager: P0) -> ::windows_core::Result<()> @@ -7948,25 +7179,9 @@ impl IOleParentUndoUnit { } } ::windows_core::imp::interface_hierarchy!(IOleParentUndoUnit, ::windows_core::IUnknown, IOleUndoUnit); -impl ::core::cmp::PartialEq for IOleParentUndoUnit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleParentUndoUnit {} -impl ::core::fmt::Debug for IOleParentUndoUnit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleParentUndoUnit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleParentUndoUnit { type Vtable = IOleParentUndoUnit_Vtbl; } -impl ::core::clone::Clone for IOleParentUndoUnit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleParentUndoUnit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1faf330_ef97_11ce_9bc9_00aa00608e01); } @@ -7985,6 +7200,7 @@ pub struct IOleParentUndoUnit_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUILinkContainerA(::windows_core::IUnknown); impl IOleUILinkContainerA { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -8028,25 +7244,9 @@ impl IOleUILinkContainerA { } } ::windows_core::imp::interface_hierarchy!(IOleUILinkContainerA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUILinkContainerA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUILinkContainerA {} -impl ::core::fmt::Debug for IOleUILinkContainerA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUILinkContainerA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUILinkContainerA { type Vtable = IOleUILinkContainerA_Vtbl; } -impl ::core::clone::Clone for IOleUILinkContainerA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUILinkContainerA { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8074,6 +7274,7 @@ pub struct IOleUILinkContainerA_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUILinkContainerW(::windows_core::IUnknown); impl IOleUILinkContainerW { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -8117,25 +7318,9 @@ impl IOleUILinkContainerW { } } ::windows_core::imp::interface_hierarchy!(IOleUILinkContainerW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUILinkContainerW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUILinkContainerW {} -impl ::core::fmt::Debug for IOleUILinkContainerW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUILinkContainerW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUILinkContainerW { type Vtable = IOleUILinkContainerW_Vtbl; } -impl ::core::clone::Clone for IOleUILinkContainerW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUILinkContainerW { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8163,6 +7348,7 @@ pub struct IOleUILinkContainerW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUILinkInfoA(::windows_core::IUnknown); impl IOleUILinkInfoA { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -8212,25 +7398,9 @@ impl IOleUILinkInfoA { } } ::windows_core::imp::interface_hierarchy!(IOleUILinkInfoA, ::windows_core::IUnknown, IOleUILinkContainerA); -impl ::core::cmp::PartialEq for IOleUILinkInfoA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUILinkInfoA {} -impl ::core::fmt::Debug for IOleUILinkInfoA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUILinkInfoA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUILinkInfoA { type Vtable = IOleUILinkInfoA_Vtbl; } -impl ::core::clone::Clone for IOleUILinkInfoA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUILinkInfoA { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8245,6 +7415,7 @@ pub struct IOleUILinkInfoA_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUILinkInfoW(::windows_core::IUnknown); impl IOleUILinkInfoW { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -8294,25 +7465,9 @@ impl IOleUILinkInfoW { } } ::windows_core::imp::interface_hierarchy!(IOleUILinkInfoW, ::windows_core::IUnknown, IOleUILinkContainerW); -impl ::core::cmp::PartialEq for IOleUILinkInfoW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUILinkInfoW {} -impl ::core::fmt::Debug for IOleUILinkInfoW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUILinkInfoW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUILinkInfoW { type Vtable = IOleUILinkInfoW_Vtbl; } -impl ::core::clone::Clone for IOleUILinkInfoW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUILinkInfoW { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8327,6 +7482,7 @@ pub struct IOleUILinkInfoW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUIObjInfoA(::windows_core::IUnknown); impl IOleUIObjInfoA { pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: ::core::option::Option<*mut ::windows_core::PSTR>, lplpsztype: ::core::option::Option<*mut ::windows_core::PSTR>, lplpszshorttype: ::core::option::Option<*mut ::windows_core::PSTR>, lplpszlocation: ::core::option::Option<*mut ::windows_core::PSTR>) -> ::windows_core::Result<()> { @@ -8354,25 +7510,9 @@ impl IOleUIObjInfoA { } } ::windows_core::imp::interface_hierarchy!(IOleUIObjInfoA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUIObjInfoA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUIObjInfoA {} -impl ::core::fmt::Debug for IOleUIObjInfoA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUIObjInfoA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUIObjInfoA { type Vtable = IOleUIObjInfoA_Vtbl; } -impl ::core::clone::Clone for IOleUIObjInfoA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUIObjInfoA { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8394,6 +7534,7 @@ pub struct IOleUIObjInfoA_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUIObjInfoW(::windows_core::IUnknown); impl IOleUIObjInfoW { pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: ::core::option::Option<*mut ::windows_core::PWSTR>, lplpsztype: ::core::option::Option<*mut ::windows_core::PWSTR>, lplpszshorttype: ::core::option::Option<*mut ::windows_core::PWSTR>, lplpszlocation: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -8421,25 +7562,9 @@ impl IOleUIObjInfoW { } } ::windows_core::imp::interface_hierarchy!(IOleUIObjInfoW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUIObjInfoW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUIObjInfoW {} -impl ::core::fmt::Debug for IOleUIObjInfoW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUIObjInfoW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUIObjInfoW { type Vtable = IOleUIObjInfoW_Vtbl; } -impl ::core::clone::Clone for IOleUIObjInfoW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUIObjInfoW { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -8461,6 +7586,7 @@ pub struct IOleUIObjInfoW_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUndoManager(::windows_core::IUnknown); impl IOleUndoManager { pub unsafe fn Open(&self, ppuu: P0) -> ::windows_core::Result<()> @@ -8532,25 +7658,9 @@ impl IOleUndoManager { } } ::windows_core::imp::interface_hierarchy!(IOleUndoManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUndoManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUndoManager {} -impl ::core::fmt::Debug for IOleUndoManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUndoManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUndoManager { type Vtable = IOleUndoManager_Vtbl; } -impl ::core::clone::Clone for IOleUndoManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUndoManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd001f200_ef97_11ce_9bc9_00aa00608e01); } @@ -8579,6 +7689,7 @@ pub struct IOleUndoManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleUndoUnit(::windows_core::IUnknown); impl IOleUndoUnit { pub unsafe fn Do(&self, pundomanager: P0) -> ::windows_core::Result<()> @@ -8599,25 +7710,9 @@ impl IOleUndoUnit { } } ::windows_core::imp::interface_hierarchy!(IOleUndoUnit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleUndoUnit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleUndoUnit {} -impl ::core::fmt::Debug for IOleUndoUnit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleUndoUnit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleUndoUnit { type Vtable = IOleUndoUnit_Vtbl; } -impl ::core::clone::Clone for IOleUndoUnit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleUndoUnit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x894ad3b0_ef97_11ce_9bc9_00aa00608e01); } @@ -8632,6 +7727,7 @@ pub struct IOleUndoUnit_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOleWindow(::windows_core::IUnknown); impl IOleWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8650,25 +7746,9 @@ impl IOleWindow { } } ::windows_core::imp::interface_hierarchy!(IOleWindow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOleWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOleWindow {} -impl ::core::fmt::Debug for IOleWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOleWindow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOleWindow { type Vtable = IOleWindow_Vtbl; } -impl ::core::clone::Clone for IOleWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOleWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000114_0000_0000_c000_000000000046); } @@ -8687,6 +7767,7 @@ pub struct IOleWindow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IParseDisplayName(::windows_core::IUnknown); impl IParseDisplayName { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8700,25 +7781,9 @@ impl IParseDisplayName { } } ::windows_core::imp::interface_hierarchy!(IParseDisplayName, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IParseDisplayName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IParseDisplayName {} -impl ::core::fmt::Debug for IParseDisplayName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IParseDisplayName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IParseDisplayName { type Vtable = IParseDisplayName_Vtbl; } -impl ::core::clone::Clone for IParseDisplayName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IParseDisplayName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000011a_0000_0000_c000_000000000046); } @@ -8733,6 +7798,7 @@ pub struct IParseDisplayName_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerPropertyBrowsing(::windows_core::IUnknown); impl IPerPropertyBrowsing { pub unsafe fn GetDisplayString(&self, dispid: i32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -8754,25 +7820,9 @@ impl IPerPropertyBrowsing { } } ::windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPerPropertyBrowsing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPerPropertyBrowsing {} -impl ::core::fmt::Debug for IPerPropertyBrowsing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPerPropertyBrowsing").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPerPropertyBrowsing { type Vtable = IPerPropertyBrowsing_Vtbl; } -impl ::core::clone::Clone for IPerPropertyBrowsing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPerPropertyBrowsing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x376bd3aa_3845_101b_84ed_08002b2ec713); } @@ -8791,6 +7841,7 @@ pub struct IPerPropertyBrowsing_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistPropertyBag(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistPropertyBag { @@ -8826,30 +7877,10 @@ impl IPersistPropertyBag { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistPropertyBag, ::windows_core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistPropertyBag {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistPropertyBag").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistPropertyBag { type Vtable = IPersistPropertyBag_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37d84f60_42cb_11ce_8135_00aa004bb851); } @@ -8871,6 +7902,7 @@ pub struct IPersistPropertyBag_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistPropertyBag2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistPropertyBag2 { @@ -8909,30 +7941,10 @@ impl IPersistPropertyBag2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistPropertyBag2, ::windows_core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistPropertyBag2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistPropertyBag2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistPropertyBag2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistPropertyBag2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistPropertyBag2 { type Vtable = IPersistPropertyBag2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistPropertyBag2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistPropertyBag2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22f55881_280b_11d0_a8a9_00a0c90c2004); } @@ -8954,6 +7966,7 @@ pub struct IPersistPropertyBag2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPicture(::windows_core::IUnknown); impl IPicture { pub unsafe fn Handle(&self) -> ::windows_core::Result { @@ -9037,25 +8050,9 @@ impl IPicture { } } ::windows_core::imp::interface_hierarchy!(IPicture, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPicture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPicture {} -impl ::core::fmt::Debug for IPicture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPicture").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPicture { type Vtable = IPicture_Vtbl; } -impl ::core::clone::Clone for IPicture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPicture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bf80980_bf32_101a_8bbb_00aa00300cab); } @@ -9098,6 +8095,7 @@ pub struct IPicture_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPicture2(::windows_core::IUnknown); impl IPicture2 { pub unsafe fn Handle(&self) -> ::windows_core::Result { @@ -9178,25 +8176,9 @@ impl IPicture2 { } } ::windows_core::imp::interface_hierarchy!(IPicture2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPicture2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPicture2 {} -impl ::core::fmt::Debug for IPicture2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPicture2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPicture2 { type Vtable = IPicture2_Vtbl; } -impl ::core::clone::Clone for IPicture2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPicture2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5185dd8_2012_4b0b_aad9_f052c6bd482b); } @@ -9240,36 +8222,17 @@ pub struct IPicture2_Vtbl { #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPictureDisp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPictureDisp {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPictureDisp, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPictureDisp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPictureDisp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPictureDisp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPictureDisp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPictureDisp { type Vtable = IPictureDisp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPictureDisp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPictureDisp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bf80981_bf32_101a_8bbb_00aa00300cab); } @@ -9281,6 +8244,7 @@ pub struct IPictureDisp_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPointerInactive(::windows_core::IUnknown); impl IPointerInactive { pub unsafe fn GetActivationPolicy(&self) -> ::windows_core::Result { @@ -9302,25 +8266,9 @@ impl IPointerInactive { } } ::windows_core::imp::interface_hierarchy!(IPointerInactive, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPointerInactive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPointerInactive {} -impl ::core::fmt::Debug for IPointerInactive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPointerInactive").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPointerInactive { type Vtable = IPointerInactive_Vtbl; } -impl ::core::clone::Clone for IPointerInactive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPointerInactive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55980ba0_35aa_11cf_b671_00aa004cd6d8); } @@ -9340,6 +8288,7 @@ pub struct IPointerInactive_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrint(::windows_core::IUnknown); impl IPrint { pub unsafe fn SetInitialPageNum(&self, nfirstpage: i32) -> ::windows_core::Result<()> { @@ -9358,25 +8307,9 @@ impl IPrint { } } ::windows_core::imp::interface_hierarchy!(IPrint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrint {} -impl ::core::fmt::Debug for IPrint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrint { type Vtable = IPrint_Vtbl; } -impl ::core::clone::Clone for IPrint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb722bcc9_4e68_101b_a2bc_00aa00404770); } @@ -9393,6 +8326,7 @@ pub struct IPrint_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyNotifySink(::windows_core::IUnknown); impl IPropertyNotifySink { pub unsafe fn OnChanged(&self, dispid: i32) -> ::windows_core::Result<()> { @@ -9403,25 +8337,9 @@ impl IPropertyNotifySink { } } ::windows_core::imp::interface_hierarchy!(IPropertyNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyNotifySink {} -impl ::core::fmt::Debug for IPropertyNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyNotifySink { type Vtable = IPropertyNotifySink_Vtbl; } -impl ::core::clone::Clone for IPropertyNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bfbbc02_eff1_101a_84ed_00aa00341d07); } @@ -9434,6 +8352,7 @@ pub struct IPropertyNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyPage(::windows_core::IUnknown); impl IPropertyPage { pub unsafe fn SetPageSite(&self, ppagesite: P0) -> ::windows_core::Result<()> @@ -9489,25 +8408,9 @@ impl IPropertyPage { } } ::windows_core::imp::interface_hierarchy!(IPropertyPage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyPage {} -impl ::core::fmt::Debug for IPropertyPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyPage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyPage { type Vtable = IPropertyPage_Vtbl; } -impl ::core::clone::Clone for IPropertyPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyPage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b28d_bab4_101a_b69c_00aa00341d07); } @@ -9541,6 +8444,7 @@ pub struct IPropertyPage_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyPage2(::windows_core::IUnknown); impl IPropertyPage2 { pub unsafe fn SetPageSite(&self, ppagesite: P0) -> ::windows_core::Result<()> @@ -9599,25 +8503,9 @@ impl IPropertyPage2 { } } ::windows_core::imp::interface_hierarchy!(IPropertyPage2, ::windows_core::IUnknown, IPropertyPage); -impl ::core::cmp::PartialEq for IPropertyPage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyPage2 {} -impl ::core::fmt::Debug for IPropertyPage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyPage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyPage2 { type Vtable = IPropertyPage2_Vtbl; } -impl ::core::clone::Clone for IPropertyPage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyPage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01e44665_24ac_101b_84ed_08002b2ec713); } @@ -9629,6 +8517,7 @@ pub struct IPropertyPage2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyPageSite(::windows_core::IUnknown); impl IPropertyPageSite { pub unsafe fn OnStatusChange(&self, dwflags: PROPPAGESTATUS) -> ::windows_core::Result<()> { @@ -9649,25 +8538,9 @@ impl IPropertyPageSite { } } ::windows_core::imp::interface_hierarchy!(IPropertyPageSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyPageSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyPageSite {} -impl ::core::fmt::Debug for IPropertyPageSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyPageSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyPageSite { type Vtable = IPropertyPageSite_Vtbl; } -impl ::core::clone::Clone for IPropertyPageSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyPageSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b28c_bab4_101a_b69c_00aa00341d07); } @@ -9685,6 +8558,7 @@ pub struct IPropertyPageSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectFocus(::windows_core::IUnknown); impl IProtectFocus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9695,25 +8569,9 @@ impl IProtectFocus { } } ::windows_core::imp::interface_hierarchy!(IProtectFocus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProtectFocus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtectFocus {} -impl ::core::fmt::Debug for IProtectFocus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtectFocus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtectFocus { type Vtable = IProtectFocus_Vtbl; } -impl ::core::clone::Clone for IProtectFocus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectFocus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd81f90a3_8156_44f7_ad28_5abb87003274); } @@ -9728,6 +8586,7 @@ pub struct IProtectFocus_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtectedModeMenuServices(::windows_core::IUnknown); impl IProtectedModeMenuServices { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -9757,25 +8616,9 @@ impl IProtectedModeMenuServices { } } ::windows_core::imp::interface_hierarchy!(IProtectedModeMenuServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProtectedModeMenuServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtectedModeMenuServices {} -impl ::core::fmt::Debug for IProtectedModeMenuServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtectedModeMenuServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtectedModeMenuServices { type Vtable = IProtectedModeMenuServices_Vtbl; } -impl ::core::clone::Clone for IProtectedModeMenuServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtectedModeMenuServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73c105ee_9dff_4a07_b83c_7eff290c266e); } @@ -9798,6 +8641,7 @@ pub struct IProtectedModeMenuServices_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideClassInfo(::windows_core::IUnknown); impl IProvideClassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9808,25 +8652,9 @@ impl IProvideClassInfo { } } ::windows_core::imp::interface_hierarchy!(IProvideClassInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideClassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideClassInfo {} -impl ::core::fmt::Debug for IProvideClassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideClassInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideClassInfo { type Vtable = IProvideClassInfo_Vtbl; } -impl ::core::clone::Clone for IProvideClassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideClassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b283_bab4_101a_b69c_00aa00341d07); } @@ -9841,6 +8669,7 @@ pub struct IProvideClassInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideClassInfo2(::windows_core::IUnknown); impl IProvideClassInfo2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9855,25 +8684,9 @@ impl IProvideClassInfo2 { } } ::windows_core::imp::interface_hierarchy!(IProvideClassInfo2, ::windows_core::IUnknown, IProvideClassInfo); -impl ::core::cmp::PartialEq for IProvideClassInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideClassInfo2 {} -impl ::core::fmt::Debug for IProvideClassInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideClassInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideClassInfo2 { type Vtable = IProvideClassInfo2_Vtbl; } -impl ::core::clone::Clone for IProvideClassInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideClassInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6bc3ac0_dbaa_11ce_9de3_00aa004bb851); } @@ -9885,6 +8698,7 @@ pub struct IProvideClassInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideMultipleClassInfo(::windows_core::IUnknown); impl IProvideMultipleClassInfo { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -9908,25 +8722,9 @@ impl IProvideMultipleClassInfo { } } ::windows_core::imp::interface_hierarchy!(IProvideMultipleClassInfo, ::windows_core::IUnknown, IProvideClassInfo, IProvideClassInfo2); -impl ::core::cmp::PartialEq for IProvideMultipleClassInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideMultipleClassInfo {} -impl ::core::fmt::Debug for IProvideMultipleClassInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideMultipleClassInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideMultipleClassInfo { type Vtable = IProvideMultipleClassInfo_Vtbl; } -impl ::core::clone::Clone for IProvideMultipleClassInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideMultipleClassInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7aba9c1_8983_11cf_8f20_00805f2cd064); } @@ -9942,6 +8740,7 @@ pub struct IProvideMultipleClassInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideRuntimeContext(::windows_core::IUnknown); impl IProvideRuntimeContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9951,25 +8750,9 @@ impl IProvideRuntimeContext { } } ::windows_core::imp::interface_hierarchy!(IProvideRuntimeContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideRuntimeContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideRuntimeContext {} -impl ::core::fmt::Debug for IProvideRuntimeContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideRuntimeContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideRuntimeContext { type Vtable = IProvideRuntimeContext_Vtbl; } -impl ::core::clone::Clone for IProvideRuntimeContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideRuntimeContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10e2414a_ec59_49d2_bc51_5add2c36febc); } @@ -9984,6 +8767,7 @@ pub struct IProvideRuntimeContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQuickActivate(::windows_core::IUnknown); impl IQuickActivate { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -10004,25 +8788,9 @@ impl IQuickActivate { } } ::windows_core::imp::interface_hierarchy!(IQuickActivate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQuickActivate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQuickActivate {} -impl ::core::fmt::Debug for IQuickActivate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQuickActivate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQuickActivate { type Vtable = IQuickActivate_Vtbl; } -impl ::core::clone::Clone for IQuickActivate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQuickActivate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf51ed10_62fe_11cf_bf86_00a0c9034836); } @@ -10045,6 +8813,7 @@ pub struct IQuickActivate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRecordInfo(::windows_core::IUnknown); impl IRecordInfo { pub unsafe fn RecordInit(&self, pvnew: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -10129,25 +8898,9 @@ impl IRecordInfo { } } ::windows_core::imp::interface_hierarchy!(IRecordInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRecordInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRecordInfo {} -impl ::core::fmt::Debug for IRecordInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRecordInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRecordInfo { type Vtable = IRecordInfo_Vtbl; } -impl ::core::clone::Clone for IRecordInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRecordInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000002f_0000_0000_c000_000000000046); } @@ -10192,6 +8945,7 @@ pub struct IRecordInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleFrameSite(::windows_core::IUnknown); impl ISimpleFrameSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10216,25 +8970,9 @@ impl ISimpleFrameSite { } } ::windows_core::imp::interface_hierarchy!(ISimpleFrameSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimpleFrameSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimpleFrameSite {} -impl ::core::fmt::Debug for ISimpleFrameSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimpleFrameSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimpleFrameSite { type Vtable = ISimpleFrameSite_Vtbl; } -impl ::core::clone::Clone for ISimpleFrameSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleFrameSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x742b0e01_14e6_101b_914e_00aa00300cab); } @@ -10253,6 +8991,7 @@ pub struct ISimpleFrameSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpecifyPropertyPages(::windows_core::IUnknown); impl ISpecifyPropertyPages { pub unsafe fn GetPages(&self) -> ::windows_core::Result { @@ -10261,25 +9000,9 @@ impl ISpecifyPropertyPages { } } ::windows_core::imp::interface_hierarchy!(ISpecifyPropertyPages, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpecifyPropertyPages { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpecifyPropertyPages {} -impl ::core::fmt::Debug for ISpecifyPropertyPages { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpecifyPropertyPages").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpecifyPropertyPages { type Vtable = ISpecifyPropertyPages_Vtbl; } -impl ::core::clone::Clone for ISpecifyPropertyPages { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpecifyPropertyPages { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb196b28b_bab4_101a_b69c_00aa00341d07); } @@ -10291,6 +9014,7 @@ pub struct ISpecifyPropertyPages_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeChangeEvents(::windows_core::IUnknown); impl ITypeChangeEvents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10314,25 +9038,9 @@ impl ITypeChangeEvents { } } ::windows_core::imp::interface_hierarchy!(ITypeChangeEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeChangeEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeChangeEvents {} -impl ::core::fmt::Debug for ITypeChangeEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeChangeEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeChangeEvents { type Vtable = ITypeChangeEvents_Vtbl; } -impl ::core::clone::Clone for ITypeChangeEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeChangeEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020410_0000_0000_c000_000000000046); } @@ -10351,6 +9059,7 @@ pub struct ITypeChangeEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeFactory(::windows_core::IUnknown); impl ITypeFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10364,25 +9073,9 @@ impl ITypeFactory { } } ::windows_core::imp::interface_hierarchy!(ITypeFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeFactory {} -impl ::core::fmt::Debug for ITypeFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeFactory { type Vtable = ITypeFactory_Vtbl; } -impl ::core::clone::Clone for ITypeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000002e_0000_0000_c000_000000000046); } @@ -10397,6 +9090,7 @@ pub struct ITypeFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITypeMarshal(::windows_core::IUnknown); impl ITypeMarshal { pub unsafe fn Size(&self, pvtype: *const ::core::ffi::c_void, dwdestcontext: u32, pvdestcontext: *const ::core::ffi::c_void) -> ::windows_core::Result { @@ -10414,25 +9108,9 @@ impl ITypeMarshal { } } ::windows_core::imp::interface_hierarchy!(ITypeMarshal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITypeMarshal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITypeMarshal {} -impl ::core::fmt::Debug for ITypeMarshal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITypeMarshal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITypeMarshal { type Vtable = ITypeMarshal_Vtbl; } -impl ::core::clone::Clone for ITypeMarshal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITypeMarshal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000002d_0000_0000_c000_000000000046); } @@ -10447,6 +9125,7 @@ pub struct ITypeMarshal_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBFormat(::windows_core::IUnknown); impl IVBFormat { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`*"] @@ -10459,25 +9138,9 @@ impl IVBFormat { } } ::windows_core::imp::interface_hierarchy!(IVBFormat, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVBFormat { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVBFormat {} -impl ::core::fmt::Debug for IVBFormat { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBFormat").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVBFormat { type Vtable = IVBFormat_Vtbl; } -impl ::core::clone::Clone for IVBFormat { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVBFormat { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9849fd60_3768_101b_8d72_ae6164ffe3cf); } @@ -10492,6 +9155,7 @@ pub struct IVBFormat_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVBGetControl(::windows_core::IUnknown); impl IVBGetControl { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -10502,25 +9166,9 @@ impl IVBGetControl { } } ::windows_core::imp::interface_hierarchy!(IVBGetControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVBGetControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVBGetControl {} -impl ::core::fmt::Debug for IVBGetControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVBGetControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVBGetControl { type Vtable = IVBGetControl_Vtbl; } -impl ::core::clone::Clone for IVBGetControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVBGetControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40a050a0_3c31_101b_a82e_08002b2b2337); } @@ -10535,6 +9183,7 @@ pub struct IVBGetControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVariantChangeType(::windows_core::IUnknown); impl IVariantChangeType { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`*"] @@ -10544,25 +9193,9 @@ impl IVariantChangeType { } } ::windows_core::imp::interface_hierarchy!(IVariantChangeType, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVariantChangeType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVariantChangeType {} -impl ::core::fmt::Debug for IVariantChangeType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVariantChangeType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVariantChangeType { type Vtable = IVariantChangeType_Vtbl; } -impl ::core::clone::Clone for IVariantChangeType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVariantChangeType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6ef9862_c720_11d0_9337_00a0c90dcaa9); } @@ -10577,6 +9210,7 @@ pub struct IVariantChangeType_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObject(::windows_core::IUnknown); impl IViewObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -10619,25 +9253,9 @@ impl IViewObject { } } ::windows_core::imp::interface_hierarchy!(IViewObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObject {} -impl ::core::fmt::Debug for IViewObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObject { type Vtable = IViewObject_Vtbl; } -impl ::core::clone::Clone for IViewObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0000010d_0000_0000_c000_000000000046); } @@ -10669,6 +9287,7 @@ pub struct IViewObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObject2(::windows_core::IUnknown); impl IViewObject2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -10717,25 +9336,9 @@ impl IViewObject2 { } } ::windows_core::imp::interface_hierarchy!(IViewObject2, ::windows_core::IUnknown, IViewObject); -impl ::core::cmp::PartialEq for IViewObject2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObject2 {} -impl ::core::fmt::Debug for IViewObject2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObject2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObject2 { type Vtable = IViewObject2_Vtbl; } -impl ::core::clone::Clone for IViewObject2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObject2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000127_0000_0000_c000_000000000046); } @@ -10750,6 +9353,7 @@ pub struct IViewObject2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObjectEx(::windows_core::IUnknown); impl IViewObjectEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -10829,25 +9433,9 @@ impl IViewObjectEx { } } ::windows_core::imp::interface_hierarchy!(IViewObjectEx, ::windows_core::IUnknown, IViewObject, IViewObject2); -impl ::core::cmp::PartialEq for IViewObjectEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectEx {} -impl ::core::fmt::Debug for IViewObjectEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObjectEx { type Vtable = IViewObjectEx_Vtbl; } -impl ::core::clone::Clone for IViewObjectEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObjectEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3af24292_0c96_11ce_a0cf_00aa00600ab8); } @@ -10875,6 +9463,7 @@ pub struct IViewObjectEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Ole\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IZoomEvents(::windows_core::IUnknown); impl IZoomEvents { pub unsafe fn OnZoomPercentChanged(&self, ulzoompercent: u32) -> ::windows_core::Result<()> { @@ -10882,25 +9471,9 @@ impl IZoomEvents { } } ::windows_core::imp::interface_hierarchy!(IZoomEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IZoomEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IZoomEvents {} -impl ::core::fmt::Debug for IZoomEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IZoomEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IZoomEvents { type Vtable = IZoomEvents_Vtbl; } -impl ::core::clone::Clone for IZoomEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IZoomEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41b68150_904c_4e17_a0ba_a438182e359d); } diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs index 3e40dc6e07..b63abbd1e4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs @@ -21,8 +21,8 @@ impl IWPCGamesSettings_Vtbl { } Self { base__: IWPCSettings_Vtbl::new::(), IsBlocked: IsBlocked:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IWPCProviderConfig_Vtbl { RequestOverride: RequestOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl IWPCProviderState_Vtbl { Disable: Disable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl IWPCProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrent: GetCurrent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -173,8 +173,8 @@ impl IWPCSettings_Vtbl { GetRestrictions: GetRestrictions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -216,8 +216,8 @@ impl IWPCWebSettings_Vtbl { RequestURLOverride: RequestURLOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -240,8 +240,8 @@ impl IWindowsParentalControls_Vtbl { } Self { base__: IWindowsParentalControlsCore_Vtbl::new::(), GetGamesSettings: GetGamesSettings:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -300,7 +300,7 @@ impl IWindowsParentalControlsCore_Vtbl { GetWebFilterInfo: GetWebFilterInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs index 4e6330de95..8bbbe2a640 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCGamesSettings(::windows_core::IUnknown); impl IWPCGamesSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24,25 +25,9 @@ impl IWPCGamesSettings { } } ::windows_core::imp::interface_hierarchy!(IWPCGamesSettings, ::windows_core::IUnknown, IWPCSettings); -impl ::core::cmp::PartialEq for IWPCGamesSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCGamesSettings {} -impl ::core::fmt::Debug for IWPCGamesSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCGamesSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCGamesSettings { type Vtable = IWPCGamesSettings_Vtbl; } -impl ::core::clone::Clone for IWPCGamesSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCGamesSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95e87780_e158_489e_b452_bbb850790715); } @@ -54,6 +39,7 @@ pub struct IWPCGamesSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCProviderConfig(::windows_core::IUnknown); impl IWPCProviderConfig { pub unsafe fn GetUserSummary(&self, bstrsid: P0) -> ::windows_core::Result<::windows_core::BSTR> @@ -83,25 +69,9 @@ impl IWPCProviderConfig { } } ::windows_core::imp::interface_hierarchy!(IWPCProviderConfig, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWPCProviderConfig { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCProviderConfig {} -impl ::core::fmt::Debug for IWPCProviderConfig { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCProviderConfig").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCProviderConfig { type Vtable = IWPCProviderConfig_Vtbl; } -impl ::core::clone::Clone for IWPCProviderConfig { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCProviderConfig { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbef54196_2d02_4a26_b6e5_d65af295d0f1); } @@ -121,6 +91,7 @@ pub struct IWPCProviderConfig_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCProviderState(::windows_core::IUnknown); impl IWPCProviderState { pub unsafe fn Enable(&self) -> ::windows_core::Result<()> { @@ -131,25 +102,9 @@ impl IWPCProviderState { } } ::windows_core::imp::interface_hierarchy!(IWPCProviderState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWPCProviderState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCProviderState {} -impl ::core::fmt::Debug for IWPCProviderState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCProviderState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCProviderState { type Vtable = IWPCProviderState_Vtbl; } -impl ::core::clone::Clone for IWPCProviderState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCProviderState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50b6a267_c4bd_450b_adb5_759073837c9e); } @@ -162,6 +117,7 @@ pub struct IWPCProviderState_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCProviderSupport(::windows_core::IUnknown); impl IWPCProviderSupport { pub unsafe fn GetCurrent(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -170,25 +126,9 @@ impl IWPCProviderSupport { } } ::windows_core::imp::interface_hierarchy!(IWPCProviderSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWPCProviderSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCProviderSupport {} -impl ::core::fmt::Debug for IWPCProviderSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCProviderSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCProviderSupport { type Vtable = IWPCProviderSupport_Vtbl; } -impl ::core::clone::Clone for IWPCProviderSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCProviderSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41eba572_23ed_4779_bec1_8df96206c44c); } @@ -200,6 +140,7 @@ pub struct IWPCProviderSupport_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCSettings(::windows_core::IUnknown); impl IWPCSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -220,25 +161,9 @@ impl IWPCSettings { } } ::windows_core::imp::interface_hierarchy!(IWPCSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWPCSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCSettings {} -impl ::core::fmt::Debug for IWPCSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCSettings { type Vtable = IWPCSettings_Vtbl; } -impl ::core::clone::Clone for IWPCSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fdf6ca1_0189_47e4_b670_1a8a4636e340); } @@ -258,6 +183,7 @@ pub struct IWPCSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWPCWebSettings(::windows_core::IUnknown); impl IWPCWebSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -292,25 +218,9 @@ impl IWPCWebSettings { } } ::windows_core::imp::interface_hierarchy!(IWPCWebSettings, ::windows_core::IUnknown, IWPCSettings); -impl ::core::cmp::PartialEq for IWPCWebSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWPCWebSettings {} -impl ::core::fmt::Debug for IWPCWebSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWPCWebSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWPCWebSettings { type Vtable = IWPCWebSettings_Vtbl; } -impl ::core::clone::Clone for IWPCWebSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWPCWebSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xffccbdb8_0992_4c30_b0f1_1cbb09c240aa); } @@ -326,6 +236,7 @@ pub struct IWPCWebSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsParentalControls(::windows_core::IUnknown); impl IWindowsParentalControls { pub unsafe fn GetVisibility(&self) -> ::windows_core::Result { @@ -358,25 +269,9 @@ impl IWindowsParentalControls { } } ::windows_core::imp::interface_hierarchy!(IWindowsParentalControls, ::windows_core::IUnknown, IWindowsParentalControlsCore); -impl ::core::cmp::PartialEq for IWindowsParentalControls { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsParentalControls {} -impl ::core::fmt::Debug for IWindowsParentalControls { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsParentalControls").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsParentalControls { type Vtable = IWindowsParentalControls_Vtbl; } -impl ::core::clone::Clone for IWindowsParentalControls { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsParentalControls { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28b4d88b_e072_49e6_804d_26edbe21a7b9); } @@ -388,6 +283,7 @@ pub struct IWindowsParentalControls_Vtbl { } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsParentalControlsCore(::windows_core::IUnknown); impl IWindowsParentalControlsCore { pub unsafe fn GetVisibility(&self) -> ::windows_core::Result { @@ -413,25 +309,9 @@ impl IWindowsParentalControlsCore { } } ::windows_core::imp::interface_hierarchy!(IWindowsParentalControlsCore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWindowsParentalControlsCore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsParentalControlsCore {} -impl ::core::fmt::Debug for IWindowsParentalControlsCore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsParentalControlsCore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsParentalControlsCore { type Vtable = IWindowsParentalControlsCore_Vtbl; } -impl ::core::clone::Clone for IWindowsParentalControlsCore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsParentalControlsCore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ff40a0f_3f3b_4d7c_a41b_4f39d7b44d05); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs index 70961ce06e..3b850be4c6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs @@ -8,8 +8,8 @@ impl DICounterItem_Vtbl { pub const fn new, Impl: DICounterItem_Impl, const OFFSET: isize>() -> DICounterItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22,8 +22,8 @@ impl DILogFileItem_Vtbl { pub const fn new, Impl: DILogFileItem_Impl, const OFFSET: isize>() -> DILogFileItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl DISystemMonitor_Vtbl { pub const fn new, Impl: DISystemMonitor_Impl, const OFFSET: isize>() -> DISystemMonitor_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl DISystemMonitorEvents_Vtbl { pub const fn new, Impl: DISystemMonitorEvents_Impl, const OFFSET: isize>() -> DISystemMonitorEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl DISystemMonitorInternal_Vtbl { pub const fn new, Impl: DISystemMonitorInternal_Impl, const OFFSET: isize>() -> DISystemMonitorInternal_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IAlertDataCollector_Vtbl { SetTriggerDataCollectorSet: SetTriggerDataCollectorSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -398,8 +398,8 @@ impl IApiTracingDataCollector_Vtbl { SetExcludeApis: SetExcludeApis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -595,8 +595,8 @@ impl IConfigurationDataCollector_Vtbl { SetSystemStateFile: SetSystemStateFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -729,8 +729,8 @@ impl ICounterItem_Vtbl { GetStatistics: GetStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -799,8 +799,8 @@ impl ICounterItem2_Vtbl { GetDataAt: GetDataAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -875,8 +875,8 @@ impl ICounters_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1157,8 +1157,8 @@ impl IDataCollector_Vtbl { CreateOutputLocation: CreateOutputLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1261,8 +1261,8 @@ impl IDataCollectorCollection_Vtbl { CreateDataCollector: CreateDataCollector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1902,8 +1902,8 @@ impl IDataCollectorSet_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1993,8 +1993,8 @@ impl IDataCollectorSetCollection_Vtbl { GetDataCollectorSets: GetDataCollectorSets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IDataManager_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2360,8 +2360,8 @@ impl IFolderAction_Vtbl { SetSendCabTo: SetSendCabTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2457,8 +2457,8 @@ impl IFolderActionCollection_Vtbl { CreateFolderAction: CreateFolderAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -2481,8 +2481,8 @@ impl ILogFileItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Path: Path:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2557,8 +2557,8 @@ impl ILogFiles_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2674,8 +2674,8 @@ impl IPerformanceCounterDataCollector_Vtbl { SetSegmentMaxRecords: SetSegmentMaxRecords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2771,8 +2771,8 @@ impl ISchedule_Vtbl { SetDays: SetDays::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2868,8 +2868,8 @@ impl IScheduleCollection_Vtbl { CreateSchedule: CreateSchedule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl ISystemMonitor_Vtbl { SqlLogSetName: SqlLogSetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3832,8 +3832,8 @@ impl ISystemMonitor2_Vtbl { LoadSettings: LoadSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -3881,8 +3881,8 @@ impl ISystemMonitorEvents_Vtbl { OnDblClick: OnDblClick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4304,8 +4304,8 @@ impl ITraceDataCollector_Vtbl { TraceDataProviders: TraceDataProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4520,8 +4520,8 @@ impl ITraceDataProvider_Vtbl { GetRegisteredProcesses: GetRegisteredProcesses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4631,8 +4631,8 @@ impl ITraceDataProviderCollection_Vtbl { GetTraceDataProvidersByProcess: GetTraceDataProvidersByProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4788,8 +4788,8 @@ impl IValueMap_Vtbl { CreateValueMapItem: CreateValueMapItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4905,8 +4905,8 @@ impl IValueMapItem_Vtbl { SetValueMapType: SetValueMapType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5095,8 +5095,8 @@ impl _ICounterItemUnion_Vtbl { GetDataAt: GetDataAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ICounterItemUnion as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ICounterItemUnion as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -6042,7 +6042,7 @@ impl _ISystemMonitorUnion_Vtbl { LoadSettings: LoadSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISystemMonitorUnion as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISystemMonitorUnion as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index 755a2738bc..748ea5c555 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -1190,36 +1190,17 @@ where #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DICounterItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DICounterItem {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DICounterItem, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DICounterItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DICounterItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DICounterItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DICounterItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DICounterItem { type Vtable = DICounterItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DICounterItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DICounterItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc08c4ff2_0e2e_11cf_942c_008029004347); } @@ -1232,36 +1213,17 @@ pub struct DICounterItem_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DILogFileItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DILogFileItem {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DILogFileItem, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DILogFileItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DILogFileItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DILogFileItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DILogFileItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DILogFileItem { type Vtable = DILogFileItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DILogFileItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DILogFileItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d093ffc_f777_4917_82d1_833fbc54c58f); } @@ -1274,36 +1236,17 @@ pub struct DILogFileItem_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DISystemMonitor(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitor {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DISystemMonitor, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DISystemMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DISystemMonitor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DISystemMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISystemMonitor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DISystemMonitor { type Vtable = DISystemMonitor_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DISystemMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DISystemMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13d73d81_c32e_11cf_9398_00aa00a3ddea); } @@ -1316,36 +1259,17 @@ pub struct DISystemMonitor_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DISystemMonitorEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitorEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DISystemMonitorEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DISystemMonitorEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DISystemMonitorEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DISystemMonitorEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISystemMonitorEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DISystemMonitorEvents { type Vtable = DISystemMonitorEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DISystemMonitorEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DISystemMonitorEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84979930_4ab3_11cf_943a_008029004347); } @@ -1358,36 +1282,17 @@ pub struct DISystemMonitorEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DISystemMonitorInternal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DISystemMonitorInternal {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DISystemMonitorInternal, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DISystemMonitorInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DISystemMonitorInternal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DISystemMonitorInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DISystemMonitorInternal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DISystemMonitorInternal { type Vtable = DISystemMonitorInternal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DISystemMonitorInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DISystemMonitorInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x194eb242_c32c_11cf_9398_00aa00a3ddea); } @@ -1400,6 +1305,7 @@ pub struct DISystemMonitorInternal_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlertDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAlertDataCollector { @@ -1633,30 +1539,10 @@ impl IAlertDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAlertDataCollector, ::windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAlertDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAlertDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAlertDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAlertDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAlertDataCollector { type Vtable = IAlertDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAlertDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAlertDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837516_098b_11d8_9414_505054503030); } @@ -1703,6 +1589,7 @@ pub struct IAlertDataCollector_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApiTracingDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IApiTracingDataCollector { @@ -1931,30 +1818,10 @@ impl IApiTracingDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IApiTracingDataCollector, ::windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IApiTracingDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IApiTracingDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IApiTracingDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApiTracingDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IApiTracingDataCollector { type Vtable = IApiTracingDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IApiTracingDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IApiTracingDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0383751a_098b_11d8_9414_505054503030); } @@ -2011,6 +1878,7 @@ pub struct IApiTracingDataCollector_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConfigurationDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IConfigurationDataCollector { @@ -2243,30 +2111,10 @@ impl IConfigurationDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IConfigurationDataCollector, ::windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IConfigurationDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IConfigurationDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IConfigurationDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConfigurationDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IConfigurationDataCollector { type Vtable = IConfigurationDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IConfigurationDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IConfigurationDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837514_098b_11d8_9414_505054503030); } @@ -2320,6 +2168,7 @@ pub struct IConfigurationDataCollector_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICounterItem(::windows_core::IUnknown); impl ICounterItem { pub unsafe fn Value(&self) -> ::windows_core::Result { @@ -2366,25 +2215,9 @@ impl ICounterItem { } } ::windows_core::imp::interface_hierarchy!(ICounterItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICounterItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICounterItem {} -impl ::core::fmt::Debug for ICounterItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICounterItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICounterItem { type Vtable = ICounterItem_Vtbl; } -impl ::core::clone::Clone for ICounterItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICounterItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x771a9520_ee28_11ce_941e_008029004347); } @@ -2407,6 +2240,7 @@ pub struct ICounterItem_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICounterItem2(::windows_core::IUnknown); impl ICounterItem2 { pub unsafe fn Value(&self) -> ::windows_core::Result { @@ -2487,25 +2321,9 @@ impl ICounterItem2 { } } ::windows_core::imp::interface_hierarchy!(ICounterItem2, ::windows_core::IUnknown, ICounterItem); -impl ::core::cmp::PartialEq for ICounterItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICounterItem2 {} -impl ::core::fmt::Debug for ICounterItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICounterItem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICounterItem2 { type Vtable = ICounterItem2_Vtbl; } -impl ::core::clone::Clone for ICounterItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICounterItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeefcd4e1_ea1c_4435_b7f4_e341ba03b4f9); } @@ -2537,6 +2355,7 @@ pub struct ICounterItem2_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICounters(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICounters { @@ -2572,30 +2391,10 @@ impl ICounters { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICounters, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICounters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICounters {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICounters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICounters").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICounters { type Vtable = ICounters_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICounters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICounters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79167962_28fc_11cf_942f_008029004347); } @@ -2622,6 +2421,7 @@ pub struct ICounters_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollector { @@ -2769,30 +2569,10 @@ impl IDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataCollector, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataCollector { type Vtable = IDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x038374ff_098b_11d8_9414_505054503030); } @@ -2860,6 +2640,7 @@ pub struct IDataCollector_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCollectorCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollectorCollection { @@ -2919,30 +2700,10 @@ impl IDataCollectorCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataCollectorCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataCollectorCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataCollectorCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataCollectorCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataCollectorCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataCollectorCollection { type Vtable = IDataCollectorCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataCollectorCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataCollectorCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837502_098b_11d8_9414_505054503030); } @@ -2982,6 +2743,7 @@ pub struct IDataCollectorCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCollectorSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollectorSet { @@ -3307,30 +3069,10 @@ impl IDataCollectorSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataCollectorSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataCollectorSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataCollectorSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataCollectorSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataCollectorSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataCollectorSet { type Vtable = IDataCollectorSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataCollectorSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataCollectorSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837520_098b_11d8_9414_505054503030); } @@ -3454,6 +3196,7 @@ pub struct IDataCollectorSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataCollectorSetCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataCollectorSetCollection { @@ -3506,30 +3249,10 @@ impl IDataCollectorSetCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataCollectorSetCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataCollectorSetCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataCollectorSetCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataCollectorSetCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataCollectorSetCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataCollectorSetCollection { type Vtable = IDataCollectorSetCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataCollectorSetCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataCollectorSetCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837524_098b_11d8_9414_505054503030); } @@ -3562,6 +3285,7 @@ pub struct IDataCollectorSetCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataManager { @@ -3697,30 +3421,10 @@ impl IDataManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataManager { type Vtable = IDataManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837541_098b_11d8_9414_505054503030); } @@ -3776,6 +3480,7 @@ pub struct IDataManager_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFolderAction { @@ -3814,30 +3519,10 @@ impl IFolderAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFolderAction, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFolderAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFolderAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFolderAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFolderAction { type Vtable = IFolderAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFolderAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFolderAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837543_098b_11d8_9414_505054503030); } @@ -3858,6 +3543,7 @@ pub struct IFolderAction_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderActionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFolderActionCollection { @@ -3909,30 +3595,10 @@ impl IFolderActionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFolderActionCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFolderActionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFolderActionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFolderActionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderActionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFolderActionCollection { type Vtable = IFolderActionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFolderActionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFolderActionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837544_098b_11d8_9414_505054503030); } @@ -3967,6 +3633,7 @@ pub struct IFolderActionCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILogFileItem(::windows_core::IUnknown); impl ILogFileItem { pub unsafe fn Path(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3975,25 +3642,9 @@ impl ILogFileItem { } } ::windows_core::imp::interface_hierarchy!(ILogFileItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILogFileItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILogFileItem {} -impl ::core::fmt::Debug for ILogFileItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILogFileItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILogFileItem { type Vtable = ILogFileItem_Vtbl; } -impl ::core::clone::Clone for ILogFileItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILogFileItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6b518dd_05c7_418a_89e6_4f9ce8c6841e); } @@ -4006,6 +3657,7 @@ pub struct ILogFileItem_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILogFiles(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILogFiles { @@ -4041,30 +3693,10 @@ impl ILogFiles { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILogFiles, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILogFiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILogFiles {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILogFiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILogFiles").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILogFiles { type Vtable = ILogFiles_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILogFiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILogFiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a2a97e6_6851_41ea_87ad_2a8225335865); } @@ -4091,6 +3723,7 @@ pub struct ILogFiles_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPerformanceCounterDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPerformanceCounterDataCollector { @@ -4280,30 +3913,10 @@ impl IPerformanceCounterDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPerformanceCounterDataCollector, ::windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPerformanceCounterDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPerformanceCounterDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPerformanceCounterDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPerformanceCounterDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPerformanceCounterDataCollector { type Vtable = IPerformanceCounterDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPerformanceCounterDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPerformanceCounterDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837506_098b_11d8_9414_505054503030); } @@ -4332,6 +3945,7 @@ pub struct IPerformanceCounterDataCollector_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchedule(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISchedule { @@ -4379,30 +3993,10 @@ impl ISchedule { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISchedule, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISchedule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISchedule {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISchedule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchedule").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISchedule { type Vtable = ISchedule_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISchedule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISchedule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0383753a_098b_11d8_9414_505054503030); } @@ -4441,6 +4035,7 @@ pub struct ISchedule_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduleCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IScheduleCollection { @@ -4492,30 +4087,10 @@ impl IScheduleCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IScheduleCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IScheduleCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IScheduleCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IScheduleCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScheduleCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IScheduleCollection { type Vtable = IScheduleCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IScheduleCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IScheduleCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0383753d_098b_11d8_9414_505054503030); } @@ -4550,6 +4125,7 @@ pub struct IScheduleCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMonitor(::windows_core::IUnknown); impl ISystemMonitor { pub unsafe fn Appearance(&self) -> ::windows_core::Result { @@ -4920,25 +4496,9 @@ impl ISystemMonitor { } } ::windows_core::imp::interface_hierarchy!(ISystemMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISystemMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISystemMonitor {} -impl ::core::fmt::Debug for ISystemMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISystemMonitor { type Vtable = ISystemMonitor_Vtbl; } -impl ::core::clone::Clone for ISystemMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x194eb241_c32c_11cf_9398_00aa00a3ddea); } @@ -5097,6 +4657,7 @@ pub struct ISystemMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMonitor2(::windows_core::IUnknown); impl ISystemMonitor2 { pub unsafe fn Appearance(&self) -> ::windows_core::Result { @@ -5581,25 +5142,9 @@ impl ISystemMonitor2 { } } ::windows_core::imp::interface_hierarchy!(ISystemMonitor2, ::windows_core::IUnknown, ISystemMonitor); -impl ::core::cmp::PartialEq for ISystemMonitor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISystemMonitor2 {} -impl ::core::fmt::Debug for ISystemMonitor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemMonitor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISystemMonitor2 { type Vtable = ISystemMonitor2_Vtbl; } -impl ::core::clone::Clone for ISystemMonitor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMonitor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08e3206a_5fd2_4fde_a8a5_8cb3b63d2677); } @@ -5660,6 +5205,7 @@ pub struct ISystemMonitor2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMonitorEvents(::windows_core::IUnknown); impl ISystemMonitorEvents { pub unsafe fn OnCounterSelected(&self, index: i32) { @@ -5679,25 +5225,9 @@ impl ISystemMonitorEvents { } } ::windows_core::imp::interface_hierarchy!(ISystemMonitorEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISystemMonitorEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISystemMonitorEvents {} -impl ::core::fmt::Debug for ISystemMonitorEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemMonitorEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISystemMonitorEvents { type Vtable = ISystemMonitorEvents_Vtbl; } -impl ::core::clone::Clone for ISystemMonitorEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMonitorEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee660ea0_4abd_11cf_943a_008029004347); } @@ -5714,6 +5244,7 @@ pub struct ISystemMonitorEvents_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceDataCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITraceDataCollector { @@ -6023,30 +5554,10 @@ impl ITraceDataCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITraceDataCollector, ::windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITraceDataCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITraceDataCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITraceDataCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceDataCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITraceDataCollector { type Vtable = ITraceDataCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITraceDataCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITraceDataCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0383750b_098b_11d8_9414_505054503030); } @@ -6117,6 +5628,7 @@ pub struct ITraceDataCollector_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceDataProvider(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITraceDataProvider { @@ -6228,30 +5740,10 @@ impl ITraceDataProvider { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITraceDataProvider, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITraceDataProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITraceDataProvider {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITraceDataProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceDataProvider").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITraceDataProvider { type Vtable = ITraceDataProvider_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITraceDataProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITraceDataProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837512_098b_11d8_9414_505054503030); } @@ -6313,6 +5805,7 @@ pub struct ITraceDataProvider_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITraceDataProviderCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITraceDataProviderCollection { @@ -6376,30 +5869,10 @@ impl ITraceDataProviderCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITraceDataProviderCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITraceDataProviderCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITraceDataProviderCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITraceDataProviderCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITraceDataProviderCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITraceDataProviderCollection { type Vtable = ITraceDataProviderCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITraceDataProviderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITraceDataProviderCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837510_098b_11d8_9414_505054503030); } @@ -6437,6 +5910,7 @@ pub struct ITraceDataProviderCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValueMap(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IValueMap { @@ -6513,30 +5987,10 @@ impl IValueMap { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IValueMap, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IValueMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IValueMap {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IValueMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IValueMap").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IValueMap { type Vtable = IValueMap_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IValueMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IValueMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837534_098b_11d8_9414_505054503030); } @@ -6584,6 +6038,7 @@ pub struct IValueMap_Vtbl { #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValueMapItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IValueMapItem { @@ -6643,30 +6098,10 @@ impl IValueMapItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IValueMapItem, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IValueMapItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IValueMapItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IValueMapItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IValueMapItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IValueMapItem { type Vtable = IValueMapItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IValueMapItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IValueMapItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03837533_098b_11d8_9414_505054503030); } @@ -6700,6 +6135,7 @@ pub struct IValueMapItem_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ICounterItemUnion(::windows_core::IUnknown); impl _ICounterItemUnion { pub unsafe fn Value(&self) -> ::windows_core::Result { @@ -6780,25 +6216,9 @@ impl _ICounterItemUnion { } } ::windows_core::imp::interface_hierarchy!(_ICounterItemUnion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for _ICounterItemUnion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for _ICounterItemUnion {} -impl ::core::fmt::Debug for _ICounterItemUnion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ICounterItemUnion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for _ICounterItemUnion { type Vtable = _ICounterItemUnion_Vtbl; } -impl ::core::clone::Clone for _ICounterItemUnion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for _ICounterItemUnion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde1a6b74_9182_4c41_8e2c_24c2cd30ee83); } @@ -6841,6 +6261,7 @@ pub struct _ICounterItemUnion_Vtbl { } #[doc = "*Required features: `\"Win32_System_Performance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ISystemMonitorUnion(::windows_core::IUnknown); impl _ISystemMonitorUnion { pub unsafe fn Appearance(&self) -> ::windows_core::Result { @@ -7325,25 +6746,9 @@ impl _ISystemMonitorUnion { } } ::windows_core::imp::interface_hierarchy!(_ISystemMonitorUnion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for _ISystemMonitorUnion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for _ISystemMonitorUnion {} -impl ::core::fmt::Debug for _ISystemMonitorUnion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ISystemMonitorUnion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for _ISystemMonitorUnion { type Vtable = _ISystemMonitorUnion_Vtbl; } -impl ::core::clone::Clone for _ISystemMonitorUnion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for _ISystemMonitorUnion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8a77338_265f_4de5_aa25_c7da1ce5a8f4); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs index 01fd6b3863..128acb39e5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs @@ -1,9 +1,9 @@ #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CallNtPowerInformation(informationlevel: POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> { +pub unsafe fn CallNtPowerInformation(informationlevel: POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("powrprof.dll" "system" fn CallNtPowerInformation(informationlevel : POWER_INFORMATION_LEVEL, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::Foundation:: NTSTATUS); - CallNtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok() + CallNtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength) } #[doc = "*Required features: `\"Win32_System_Power\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs index 6c4e2b8bdc..d2a32655a2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs @@ -25,8 +25,8 @@ impl INetworkTransportSettings_Vtbl { QuerySetting: QuerySetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl INotificationTransportSync_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IRTCBuddy_Vtbl { Notes: Notes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -211,8 +211,8 @@ impl IRTCBuddy2_Vtbl { SubscriptionType: SubscriptionType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IRTCBuddyEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Buddy: Buddy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl IRTCBuddyEvent2_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IRTCBuddyGroup_Vtbl { Profile: Profile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IRTCBuddyGroupEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IRTCClient_Vtbl { IsTuned: IsTuned::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IRTCClient2_Vtbl { get_AllowedPorts: get_AllowedPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IRTCClientEvent_Vtbl { Client: Client::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IRTCClientPortManagement_Vtbl { GetPortRange: GetPortRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IRTCClientPresence_Vtbl { SetPrivacyMode: SetPrivacyMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IRTCClientPresence2_Vtbl { AddBuddyEx: AddBuddyEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1589,8 +1589,8 @@ impl IRTCClientProvisioning_Vtbl { SessionCapabilities: SessionCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1610,8 +1610,8 @@ impl IRTCClientProvisioning2_Vtbl { } Self { base__: IRTCClientProvisioning_Vtbl::new::(), EnableProfileEx: EnableProfileEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1666,8 +1666,8 @@ impl IRTCCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1680,8 +1680,8 @@ impl IRTCDispatchEventNotification_Vtbl { pub const fn new, Impl: IRTCDispatchEventNotification_Impl, const OFFSET: isize>() -> IRTCDispatchEventNotification_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1728,8 +1728,8 @@ impl IRTCEnumBuddies_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IRTCEnumGroups_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1824,8 +1824,8 @@ impl IRTCEnumParticipants_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1872,8 +1872,8 @@ impl IRTCEnumPresenceDevices_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1920,8 +1920,8 @@ impl IRTCEnumProfiles_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1968,8 +1968,8 @@ impl IRTCEnumUserSearchResults_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2016,8 +2016,8 @@ impl IRTCEnumWatchers_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2037,8 +2037,8 @@ impl IRTCEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl IRTCInfoEvent_Vtbl { InfoHeader: InfoHeader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2175,8 +2175,8 @@ impl IRTCIntensityEvent_Vtbl { Direction: Direction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2231,8 +2231,8 @@ impl IRTCMediaEvent_Vtbl { EventReason: EventReason::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2327,8 +2327,8 @@ impl IRTCMediaRequestEvent_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2422,8 +2422,8 @@ impl IRTCMessagingEvent_Vtbl { UserStatus: UserStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2504,8 +2504,8 @@ impl IRTCParticipant_Vtbl { Session: Session::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2560,8 +2560,8 @@ impl IRTCParticipantStateChangeEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2595,8 +2595,8 @@ impl IRTCPortManager_Vtbl { ReleaseMapping: ReleaseMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IRTCPresenceContact_Vtbl { SetPersistent: SetPersistent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2742,8 +2742,8 @@ impl IRTCPresenceDataEvent_Vtbl { GetPresenceData: GetPresenceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2802,8 +2802,8 @@ impl IRTCPresenceDevice_Vtbl { GetPresenceData: GetPresenceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2871,8 +2871,8 @@ impl IRTCPresencePropertyEvent_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl IRTCPresenceStatusEvent_Vtbl { GetLocalPresenceInfo: GetLocalPresenceInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3166,8 +3166,8 @@ impl IRTCProfile_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3223,8 +3223,8 @@ impl IRTCProfile2_Vtbl { SetAllowedAuth: SetAllowedAuth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3279,8 +3279,8 @@ impl IRTCProfileEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3306,8 +3306,8 @@ impl IRTCProfileEvent2_Vtbl { } Self { base__: IRTCProfileEvent_Vtbl::new::(), EventType: EventType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3370,8 +3370,8 @@ impl IRTCReInviteEvent_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3439,8 +3439,8 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3508,8 +3508,8 @@ impl IRTCRoamingEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3725,8 +3725,8 @@ impl IRTCSession_Vtbl { put_EncryptionKey: put_EncryptionKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3796,8 +3796,8 @@ impl IRTCSession2_Vtbl { ReInviteWithSessionDescription: ReInviteWithSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3894,8 +3894,8 @@ impl IRTCSessionCallControl_Vtbl { IsReferred: IsReferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3918,8 +3918,8 @@ impl IRTCSessionDescriptionManager_Vtbl { EvaluateSessionDescription: EvaluateSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3987,8 +3987,8 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4024,8 +4024,8 @@ impl IRTCSessionOperationCompleteEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4042,8 +4042,8 @@ impl IRTCSessionPortManagement_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPortManager: SetPortManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4111,8 +4111,8 @@ impl IRTCSessionReferStatusEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4201,8 +4201,8 @@ impl IRTCSessionReferredEvent_Vtbl { SetReferredSessionState: SetReferredSessionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4270,8 +4270,8 @@ impl IRTCSessionStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4333,8 +4333,8 @@ impl IRTCSessionStateChangeEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IRTCUserSearch_Vtbl { ExecuteSearch: ExecuteSearch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4454,8 +4454,8 @@ impl IRTCUserSearchQuery_Vtbl { SearchDomain: SearchDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4478,8 +4478,8 @@ impl IRTCUserSearchResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Value: get_Value:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4586,8 +4586,8 @@ impl IRTCUserSearchResultsEvent_Vtbl { MoreAvailable: MoreAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4623,8 +4623,8 @@ impl IRTCWatcher_Vtbl { SetState: SetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4662,8 +4662,8 @@ impl IRTCWatcher2_Vtbl { } Self { base__: IRTCWatcher_Vtbl::new::(), Profile: Profile::, Scope: Scope:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4689,8 +4689,8 @@ impl IRTCWatcherEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Watcher: Watcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4732,8 +4732,8 @@ impl IRTCWatcherEvent2_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Networking_WinSock\"`, `\"implement\"`*"] @@ -4763,7 +4763,7 @@ impl ITransportSettingsInternal_Vtbl { QuerySetting: QuerySetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs index 3d8a7bb846..56f4fcfce7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkTransportSettings(::windows_core::IUnknown); impl INetworkTransportSettings { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -14,25 +15,9 @@ impl INetworkTransportSettings { } } ::windows_core::imp::interface_hierarchy!(INetworkTransportSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkTransportSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkTransportSettings {} -impl ::core::fmt::Debug for INetworkTransportSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkTransportSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkTransportSettings { type Vtable = INetworkTransportSettings_Vtbl; } -impl ::core::clone::Clone for INetworkTransportSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkTransportSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e7abb2c_f2c1_4a61_bd35_deb7a08ab0f1); } @@ -51,6 +36,7 @@ pub struct INetworkTransportSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationTransportSync(::windows_core::IUnknown); impl INotificationTransportSync { pub unsafe fn CompleteDelivery(&self) -> ::windows_core::Result<()> { @@ -61,25 +47,9 @@ impl INotificationTransportSync { } } ::windows_core::imp::interface_hierarchy!(INotificationTransportSync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INotificationTransportSync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INotificationTransportSync {} -impl ::core::fmt::Debug for INotificationTransportSync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INotificationTransportSync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INotificationTransportSync { type Vtable = INotificationTransportSync_Vtbl; } -impl ::core::clone::Clone for INotificationTransportSync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationTransportSync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eb1402_0ab8_49c0_9e14_a1ae4ba93058); } @@ -92,6 +62,7 @@ pub struct INotificationTransportSync_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddy(::windows_core::IUnknown); impl IRTCBuddy { pub unsafe fn PresentityURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -148,25 +119,9 @@ impl IRTCBuddy { } } ::windows_core::imp::interface_hierarchy!(IRTCBuddy, ::windows_core::IUnknown, IRTCPresenceContact); -impl ::core::cmp::PartialEq for IRTCBuddy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCBuddy {} -impl ::core::fmt::Debug for IRTCBuddy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddy").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCBuddy { type Vtable = IRTCBuddy_Vtbl; } -impl ::core::clone::Clone for IRTCBuddy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCBuddy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcb136c8_7b90_4e0c_befe_56edf0ba6f1c); } @@ -179,6 +134,7 @@ pub struct IRTCBuddy_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddy2(::windows_core::IUnknown); impl IRTCBuddy2 { pub unsafe fn PresentityURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -270,25 +226,9 @@ impl IRTCBuddy2 { } } ::windows_core::imp::interface_hierarchy!(IRTCBuddy2, ::windows_core::IUnknown, IRTCPresenceContact, IRTCBuddy); -impl ::core::cmp::PartialEq for IRTCBuddy2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCBuddy2 {} -impl ::core::fmt::Debug for IRTCBuddy2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddy2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCBuddy2 { type Vtable = IRTCBuddy2_Vtbl; } -impl ::core::clone::Clone for IRTCBuddy2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCBuddy2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x102f9588_23e7_40e3_954d_cd7a1d5c0361); } @@ -314,6 +254,7 @@ pub struct IRTCBuddy2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddyEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent { @@ -325,30 +266,10 @@ impl IRTCBuddyEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCBuddyEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCBuddyEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCBuddyEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCBuddyEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddyEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCBuddyEvent { type Vtable = IRTCBuddyEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCBuddyEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCBuddyEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf36d755d_17e6_404e_954f_0fc07574c78d); } @@ -362,6 +283,7 @@ pub struct IRTCBuddyEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddyEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyEvent2 { @@ -385,30 +307,10 @@ impl IRTCBuddyEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCBuddyEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IRTCBuddyEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCBuddyEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCBuddyEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCBuddyEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddyEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCBuddyEvent2 { type Vtable = IRTCBuddyEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCBuddyEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCBuddyEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x484a7f1e_73f0_4990_bfc2_60bc3978a720); } @@ -423,6 +325,7 @@ pub struct IRTCBuddyEvent2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddyGroup(::windows_core::IUnknown); impl IRTCBuddyGroup { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -473,25 +376,9 @@ impl IRTCBuddyGroup { } } ::windows_core::imp::interface_hierarchy!(IRTCBuddyGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCBuddyGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCBuddyGroup {} -impl ::core::fmt::Debug for IRTCBuddyGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddyGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCBuddyGroup { type Vtable = IRTCBuddyGroup_Vtbl; } -impl ::core::clone::Clone for IRTCBuddyGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCBuddyGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60361e68_9164_4389_a4c6_d0b3925bda5e); } @@ -515,6 +402,7 @@ pub struct IRTCBuddyGroup_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCBuddyGroupEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCBuddyGroupEvent { @@ -538,30 +426,10 @@ impl IRTCBuddyGroupEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCBuddyGroupEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCBuddyGroupEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCBuddyGroupEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCBuddyGroupEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCBuddyGroupEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCBuddyGroupEvent { type Vtable = IRTCBuddyGroupEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCBuddyGroupEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCBuddyGroupEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a79e1d1_b736_4414_96f8_bbc7f08863e4); } @@ -577,6 +445,7 @@ pub struct IRTCBuddyGroupEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClient(::windows_core::IUnknown); impl IRTCClient { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -780,25 +649,9 @@ impl IRTCClient { } } ::windows_core::imp::interface_hierarchy!(IRTCClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClient {} -impl ::core::fmt::Debug for IRTCClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClient { type Vtable = IRTCClient_Vtbl; } -impl ::core::clone::Clone for IRTCClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07829e45_9a34_408e_a011_bddf13487cd1); } @@ -881,6 +734,7 @@ pub struct IRTCClient_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClient2(::windows_core::IUnknown); impl IRTCClient2 { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -1148,25 +1002,9 @@ impl IRTCClient2 { } } ::windows_core::imp::interface_hierarchy!(IRTCClient2, ::windows_core::IUnknown, IRTCClient); -impl ::core::cmp::PartialEq for IRTCClient2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClient2 {} -impl ::core::fmt::Debug for IRTCClient2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClient2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClient2 { type Vtable = IRTCClient2_Vtbl; } -impl ::core::clone::Clone for IRTCClient2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClient2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c91d71d_1064_42da_bfa5_572beb8eea84); } @@ -1194,6 +1032,7 @@ pub struct IRTCClient2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCClientEvent { @@ -1209,30 +1048,10 @@ impl IRTCClientEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCClientEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCClientEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCClientEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCClientEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCClientEvent { type Vtable = IRTCClientEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCClientEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCClientEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b493b7a_3cba_4170_9c8b_76a9dacdd644); } @@ -1246,6 +1065,7 @@ pub struct IRTCClientEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientPortManagement(::windows_core::IUnknown); impl IRTCClientPortManagement { pub unsafe fn StartListenAddressAndPort(&self, bstrinternallocaladdress: P0, linternallocalport: i32) -> ::windows_core::Result<()> @@ -1265,25 +1085,9 @@ impl IRTCClientPortManagement { } } ::windows_core::imp::interface_hierarchy!(IRTCClientPortManagement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCClientPortManagement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClientPortManagement {} -impl ::core::fmt::Debug for IRTCClientPortManagement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientPortManagement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClientPortManagement { type Vtable = IRTCClientPortManagement_Vtbl; } -impl ::core::clone::Clone for IRTCClientPortManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClientPortManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5df3f03_4bde_4417_aefe_71177bdaea66); } @@ -1297,6 +1101,7 @@ pub struct IRTCClientPortManagement_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientPresence(::windows_core::IUnknown); impl IRTCClientPresence { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1414,25 +1219,9 @@ impl IRTCClientPresence { } } ::windows_core::imp::interface_hierarchy!(IRTCClientPresence, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCClientPresence { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClientPresence {} -impl ::core::fmt::Debug for IRTCClientPresence { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientPresence").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClientPresence { type Vtable = IRTCClientPresence_Vtbl; } -impl ::core::clone::Clone for IRTCClientPresence { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClientPresence { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11c3cbcc_0744_42d1_968a_51aa1bb274c6); } @@ -1482,6 +1271,7 @@ pub struct IRTCClientPresence_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientPresence2(::windows_core::IUnknown); impl IRTCClientPresence2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1698,25 +1488,9 @@ impl IRTCClientPresence2 { } } ::windows_core::imp::interface_hierarchy!(IRTCClientPresence2, ::windows_core::IUnknown, IRTCClientPresence); -impl ::core::cmp::PartialEq for IRTCClientPresence2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClientPresence2 {} -impl ::core::fmt::Debug for IRTCClientPresence2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientPresence2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClientPresence2 { type Vtable = IRTCClientPresence2_Vtbl; } -impl ::core::clone::Clone for IRTCClientPresence2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClientPresence2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad1809e8_62f7_4783_909a_29c9d2cb1d34); } @@ -1754,6 +1528,7 @@ pub struct IRTCClientPresence2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientProvisioning(::windows_core::IUnknown); impl IRTCClientProvisioning { pub unsafe fn CreateProfile(&self, bstrprofilexml: P0) -> ::windows_core::Result @@ -1800,25 +1575,9 @@ impl IRTCClientProvisioning { } } ::windows_core::imp::interface_hierarchy!(IRTCClientProvisioning, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCClientProvisioning { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClientProvisioning {} -impl ::core::fmt::Debug for IRTCClientProvisioning { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientProvisioning").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClientProvisioning { type Vtable = IRTCClientProvisioning_Vtbl; } -impl ::core::clone::Clone for IRTCClientProvisioning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClientProvisioning { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9f5cf06_65b9_4a80_a0e6_73cae3ef3822); } @@ -1839,6 +1598,7 @@ pub struct IRTCClientProvisioning_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCClientProvisioning2(::windows_core::IUnknown); impl IRTCClientProvisioning2 { pub unsafe fn CreateProfile(&self, bstrprofilexml: P0) -> ::windows_core::Result @@ -1891,25 +1651,9 @@ impl IRTCClientProvisioning2 { } } ::windows_core::imp::interface_hierarchy!(IRTCClientProvisioning2, ::windows_core::IUnknown, IRTCClientProvisioning); -impl ::core::cmp::PartialEq for IRTCClientProvisioning2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCClientProvisioning2 {} -impl ::core::fmt::Debug for IRTCClientProvisioning2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCClientProvisioning2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCClientProvisioning2 { type Vtable = IRTCClientProvisioning2_Vtbl; } -impl ::core::clone::Clone for IRTCClientProvisioning2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCClientProvisioning2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa70909b5_f40e_4587_bb75_e6bc0845023e); } @@ -1922,6 +1666,7 @@ pub struct IRTCClientProvisioning2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCCollection { @@ -1943,30 +1688,10 @@ impl IRTCCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCCollection { type Vtable = IRTCCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec7c8096_b918_4044_94f1_e4fba0361d5c); } @@ -1985,36 +1710,17 @@ pub struct IRTCCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCDispatchEventNotification(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCDispatchEventNotification {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCDispatchEventNotification, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCDispatchEventNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCDispatchEventNotification {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCDispatchEventNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCDispatchEventNotification").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCDispatchEventNotification { type Vtable = IRTCDispatchEventNotification_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCDispatchEventNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCDispatchEventNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x176ddfbe_fec0_4d55_bc87_84cff1ef7f91); } @@ -2026,6 +1732,7 @@ pub struct IRTCDispatchEventNotification_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumBuddies(::windows_core::IUnknown); impl IRTCEnumBuddies { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2043,25 +1750,9 @@ impl IRTCEnumBuddies { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumBuddies, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumBuddies { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumBuddies {} -impl ::core::fmt::Debug for IRTCEnumBuddies { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumBuddies").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumBuddies { type Vtable = IRTCEnumBuddies_Vtbl; } -impl ::core::clone::Clone for IRTCEnumBuddies { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumBuddies { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7296917_5569_4b3b_b3af_98d1144b2b87); } @@ -2076,6 +1767,7 @@ pub struct IRTCEnumBuddies_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumGroups(::windows_core::IUnknown); impl IRTCEnumGroups { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2093,25 +1785,9 @@ impl IRTCEnumGroups { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumGroups, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumGroups { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumGroups {} -impl ::core::fmt::Debug for IRTCEnumGroups { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumGroups").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumGroups { type Vtable = IRTCEnumGroups_Vtbl; } -impl ::core::clone::Clone for IRTCEnumGroups { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumGroups { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x742378d6_a141_4415_8f27_35d99076cf5d); } @@ -2126,6 +1802,7 @@ pub struct IRTCEnumGroups_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumParticipants(::windows_core::IUnknown); impl IRTCEnumParticipants { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2143,25 +1820,9 @@ impl IRTCEnumParticipants { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumParticipants, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumParticipants { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumParticipants {} -impl ::core::fmt::Debug for IRTCEnumParticipants { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumParticipants").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumParticipants { type Vtable = IRTCEnumParticipants_Vtbl; } -impl ::core::clone::Clone for IRTCEnumParticipants { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumParticipants { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcd56f29_4a4f_41b2_ba5c_f5bccc060bf6); } @@ -2176,6 +1837,7 @@ pub struct IRTCEnumParticipants_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumPresenceDevices(::windows_core::IUnknown); impl IRTCEnumPresenceDevices { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2193,25 +1855,9 @@ impl IRTCEnumPresenceDevices { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumPresenceDevices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumPresenceDevices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumPresenceDevices {} -impl ::core::fmt::Debug for IRTCEnumPresenceDevices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumPresenceDevices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumPresenceDevices { type Vtable = IRTCEnumPresenceDevices_Vtbl; } -impl ::core::clone::Clone for IRTCEnumPresenceDevices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumPresenceDevices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x708c2ab7_8bf8_42f8_8c7d_635197ad5539); } @@ -2226,6 +1872,7 @@ pub struct IRTCEnumPresenceDevices_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumProfiles(::windows_core::IUnknown); impl IRTCEnumProfiles { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2243,25 +1890,9 @@ impl IRTCEnumProfiles { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumProfiles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumProfiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumProfiles {} -impl ::core::fmt::Debug for IRTCEnumProfiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumProfiles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumProfiles { type Vtable = IRTCEnumProfiles_Vtbl; } -impl ::core::clone::Clone for IRTCEnumProfiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumProfiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29b7c41c_ed82_4bca_84ad_39d5101b58e3); } @@ -2276,6 +1907,7 @@ pub struct IRTCEnumProfiles_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumUserSearchResults(::windows_core::IUnknown); impl IRTCEnumUserSearchResults { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2293,25 +1925,9 @@ impl IRTCEnumUserSearchResults { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumUserSearchResults, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumUserSearchResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumUserSearchResults {} -impl ::core::fmt::Debug for IRTCEnumUserSearchResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumUserSearchResults").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumUserSearchResults { type Vtable = IRTCEnumUserSearchResults_Vtbl; } -impl ::core::clone::Clone for IRTCEnumUserSearchResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumUserSearchResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83d4d877_aa5d_4a5b_8d0e_002a8067e0e8); } @@ -2326,6 +1942,7 @@ pub struct IRTCEnumUserSearchResults_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEnumWatchers(::windows_core::IUnknown); impl IRTCEnumWatchers { pub unsafe fn Next(&self, ppelements: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2343,25 +1960,9 @@ impl IRTCEnumWatchers { } } ::windows_core::imp::interface_hierarchy!(IRTCEnumWatchers, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEnumWatchers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEnumWatchers {} -impl ::core::fmt::Debug for IRTCEnumWatchers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEnumWatchers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEnumWatchers { type Vtable = IRTCEnumWatchers_Vtbl; } -impl ::core::clone::Clone for IRTCEnumWatchers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEnumWatchers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa87d55d7_db74_4ed1_9ca4_77a0e41b413e); } @@ -2376,6 +1977,7 @@ pub struct IRTCEnumWatchers_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCEventNotification(::windows_core::IUnknown); impl IRTCEventNotification { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2388,25 +1990,9 @@ impl IRTCEventNotification { } } ::windows_core::imp::interface_hierarchy!(IRTCEventNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCEventNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCEventNotification {} -impl ::core::fmt::Debug for IRTCEventNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCEventNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCEventNotification { type Vtable = IRTCEventNotification_Vtbl; } -impl ::core::clone::Clone for IRTCEventNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCEventNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13fa24c7_5748_4b21_91f5_7397609ce747); } @@ -2422,6 +2008,7 @@ pub struct IRTCEventNotification_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCInfoEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCInfoEvent { @@ -2445,30 +2032,10 @@ impl IRTCInfoEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCInfoEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCInfoEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCInfoEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCInfoEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCInfoEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCInfoEvent { type Vtable = IRTCInfoEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCInfoEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCInfoEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e1d68ae_1912_4f49_b2c3_594fadfd425f); } @@ -2485,6 +2052,7 @@ pub struct IRTCInfoEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCIntensityEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCIntensityEvent { @@ -2508,30 +2076,10 @@ impl IRTCIntensityEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCIntensityEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCIntensityEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCIntensityEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCIntensityEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCIntensityEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCIntensityEvent { type Vtable = IRTCIntensityEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCIntensityEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCIntensityEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c23bf51_390c_4992_a41d_41eec05b2a4b); } @@ -2548,6 +2096,7 @@ pub struct IRTCIntensityEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCMediaEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMediaEvent { @@ -2567,30 +2116,10 @@ impl IRTCMediaEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCMediaEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCMediaEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCMediaEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCMediaEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCMediaEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCMediaEvent { type Vtable = IRTCMediaEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCMediaEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCMediaEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x099944fb_bcda_453e_8c41_e13da2adf7f3); } @@ -2606,6 +2135,7 @@ pub struct IRTCMediaEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCMediaRequestEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMediaRequestEvent { @@ -2639,30 +2169,10 @@ impl IRTCMediaRequestEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCMediaRequestEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCMediaRequestEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCMediaRequestEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCMediaRequestEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCMediaRequestEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCMediaRequestEvent { type Vtable = IRTCMediaRequestEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCMediaRequestEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCMediaRequestEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52572d15_148c_4d97_a36c_2da55c289d63); } @@ -2682,6 +2192,7 @@ pub struct IRTCMediaRequestEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCMessagingEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCMessagingEvent { @@ -2713,30 +2224,10 @@ impl IRTCMessagingEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCMessagingEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCMessagingEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCMessagingEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCMessagingEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCMessagingEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCMessagingEvent { type Vtable = IRTCMessagingEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCMessagingEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCMessagingEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3609541_1b29_4de5_a4ad_5aebaf319512); } @@ -2754,6 +2245,7 @@ pub struct IRTCMessagingEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCParticipant(::windows_core::IUnknown); impl IRTCParticipant { pub unsafe fn UserURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2780,25 +2272,9 @@ impl IRTCParticipant { } } ::windows_core::imp::interface_hierarchy!(IRTCParticipant, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCParticipant { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCParticipant {} -impl ::core::fmt::Debug for IRTCParticipant { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCParticipant").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCParticipant { type Vtable = IRTCParticipant_Vtbl; } -impl ::core::clone::Clone for IRTCParticipant { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCParticipant { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae86add5_26b1_4414_af1d_b94cd938d739); } @@ -2818,6 +2294,7 @@ pub struct IRTCParticipant_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCParticipantStateChangeEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCParticipantStateChangeEvent { @@ -2837,30 +2314,10 @@ impl IRTCParticipantStateChangeEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCParticipantStateChangeEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCParticipantStateChangeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCParticipantStateChangeEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCParticipantStateChangeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCParticipantStateChangeEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCParticipantStateChangeEvent { type Vtable = IRTCParticipantStateChangeEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCParticipantStateChangeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCParticipantStateChangeEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09bcb597_f0fa_48f9_b420_468cea7fde04); } @@ -2875,6 +2332,7 @@ pub struct IRTCParticipantStateChangeEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPortManager(::windows_core::IUnknown); impl IRTCPortManager { pub unsafe fn GetMapping(&self, bstrremoteaddress: P0, enporttype: RTC_PORT_TYPE, pbstrinternallocaladdress: *mut ::windows_core::BSTR, plinternallocalport: *mut i32, pbstrexternallocaladdress: *mut ::windows_core::BSTR, plexternallocalport: *mut i32) -> ::windows_core::Result<()> @@ -2900,25 +2358,9 @@ impl IRTCPortManager { } } ::windows_core::imp::interface_hierarchy!(IRTCPortManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCPortManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCPortManager {} -impl ::core::fmt::Debug for IRTCPortManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPortManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCPortManager { type Vtable = IRTCPortManager_Vtbl; } -impl ::core::clone::Clone for IRTCPortManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCPortManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xda77c14b_6208_43ca_8ddf_5b60a0a69fac); } @@ -2932,6 +2374,7 @@ pub struct IRTCPortManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPresenceContact(::windows_core::IUnknown); impl IRTCPresenceContact { pub unsafe fn PresentityURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2980,25 +2423,9 @@ impl IRTCPresenceContact { } } ::windows_core::imp::interface_hierarchy!(IRTCPresenceContact, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCPresenceContact { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCPresenceContact {} -impl ::core::fmt::Debug for IRTCPresenceContact { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPresenceContact").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCPresenceContact { type Vtable = IRTCPresenceContact_Vtbl; } -impl ::core::clone::Clone for IRTCPresenceContact { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCPresenceContact { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b22f92c_cd90_42db_a733_212205c3e3df); } @@ -3024,6 +2451,7 @@ pub struct IRTCPresenceContact_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPresenceDataEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceDataEvent { @@ -3042,30 +2470,10 @@ impl IRTCPresenceDataEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCPresenceDataEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCPresenceDataEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCPresenceDataEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCPresenceDataEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPresenceDataEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCPresenceDataEvent { type Vtable = IRTCPresenceDataEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCPresenceDataEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCPresenceDataEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38f0e78c_8b87_4c04_a82d_aedd83c909bb); } @@ -3080,6 +2488,7 @@ pub struct IRTCPresenceDataEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPresenceDevice(::windows_core::IUnknown); impl IRTCPresenceDevice { pub unsafe fn Status(&self) -> ::windows_core::Result { @@ -3099,25 +2508,9 @@ impl IRTCPresenceDevice { } } ::windows_core::imp::interface_hierarchy!(IRTCPresenceDevice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCPresenceDevice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCPresenceDevice {} -impl ::core::fmt::Debug for IRTCPresenceDevice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPresenceDevice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCPresenceDevice { type Vtable = IRTCPresenceDevice_Vtbl; } -impl ::core::clone::Clone for IRTCPresenceDevice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCPresenceDevice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc6a90dd_ad9a_48da_9b0c_2515e38521ad); } @@ -3133,6 +2526,7 @@ pub struct IRTCPresenceDevice_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPresencePropertyEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresencePropertyEvent { @@ -3156,30 +2550,10 @@ impl IRTCPresencePropertyEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCPresencePropertyEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCPresencePropertyEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCPresencePropertyEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCPresencePropertyEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPresencePropertyEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCPresencePropertyEvent { type Vtable = IRTCPresencePropertyEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCPresencePropertyEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCPresencePropertyEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf777f570_a820_49d5_86bd_e099493f1518); } @@ -3196,6 +2570,7 @@ pub struct IRTCPresencePropertyEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCPresenceStatusEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCPresenceStatusEvent { @@ -3214,30 +2589,10 @@ impl IRTCPresenceStatusEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCPresenceStatusEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCPresenceStatusEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCPresenceStatusEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCPresenceStatusEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCPresenceStatusEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCPresenceStatusEvent { type Vtable = IRTCPresenceStatusEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCPresenceStatusEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCPresenceStatusEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78673f32_4a0f_462c_89aa_ee7706707678); } @@ -3252,6 +2607,7 @@ pub struct IRTCPresenceStatusEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCProfile(::windows_core::IUnknown); impl IRTCProfile { pub unsafe fn Key(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3334,25 +2690,9 @@ impl IRTCProfile { } } ::windows_core::imp::interface_hierarchy!(IRTCProfile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCProfile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCProfile {} -impl ::core::fmt::Debug for IRTCProfile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCProfile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCProfile { type Vtable = IRTCProfile_Vtbl; } -impl ::core::clone::Clone for IRTCProfile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCProfile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd07eca9e_4062_4dd4_9e7d_722a49ba7303); } @@ -3384,6 +2724,7 @@ pub struct IRTCProfile_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCProfile2(::windows_core::IUnknown); impl IRTCProfile2 { pub unsafe fn Key(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3483,25 +2824,9 @@ impl IRTCProfile2 { } } ::windows_core::imp::interface_hierarchy!(IRTCProfile2, ::windows_core::IUnknown, IRTCProfile); -impl ::core::cmp::PartialEq for IRTCProfile2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCProfile2 {} -impl ::core::fmt::Debug for IRTCProfile2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCProfile2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCProfile2 { type Vtable = IRTCProfile2_Vtbl; } -impl ::core::clone::Clone for IRTCProfile2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCProfile2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b81f84e_bdc7_4184_9154_3cb2dd7917fb); } @@ -3517,6 +2842,7 @@ pub struct IRTCProfile2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCProfileEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent { @@ -3536,30 +2862,10 @@ impl IRTCProfileEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCProfileEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCProfileEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCProfileEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCProfileEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCProfileEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCProfileEvent { type Vtable = IRTCProfileEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCProfileEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCProfileEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6d5ab3b_770e_43e8_800a_79b062395fca); } @@ -3575,6 +2881,7 @@ pub struct IRTCProfileEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCProfileEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCProfileEvent2 { @@ -3598,30 +2905,10 @@ impl IRTCProfileEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCProfileEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IRTCProfileEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCProfileEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCProfileEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCProfileEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCProfileEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCProfileEvent2 { type Vtable = IRTCProfileEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCProfileEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCProfileEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62e56edc_03fa_4121_94fb_23493fd0ae64); } @@ -3635,6 +2922,7 @@ pub struct IRTCProfileEvent2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCReInviteEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCReInviteEvent { @@ -3663,30 +2951,10 @@ impl IRTCReInviteEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCReInviteEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCReInviteEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCReInviteEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCReInviteEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCReInviteEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCReInviteEvent { type Vtable = IRTCReInviteEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCReInviteEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCReInviteEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11558d84_204c_43e7_99b0_2034e9417f7d); } @@ -3704,6 +2972,7 @@ pub struct IRTCReInviteEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCRegistrationStateChangeEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCRegistrationStateChangeEvent { @@ -3727,30 +2996,10 @@ impl IRTCRegistrationStateChangeEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCRegistrationStateChangeEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCRegistrationStateChangeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCRegistrationStateChangeEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCRegistrationStateChangeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCRegistrationStateChangeEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCRegistrationStateChangeEvent { type Vtable = IRTCRegistrationStateChangeEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCRegistrationStateChangeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCRegistrationStateChangeEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62d0991b_50ab_4f02_b948_ca94f26f8f95); } @@ -3767,6 +3016,7 @@ pub struct IRTCRegistrationStateChangeEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCRoamingEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCRoamingEvent { @@ -3790,30 +3040,10 @@ impl IRTCRoamingEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCRoamingEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCRoamingEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCRoamingEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCRoamingEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCRoamingEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCRoamingEvent { type Vtable = IRTCRoamingEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCRoamingEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCRoamingEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79960a6b_0cb1_4dc8_a805_7318e99902e8); } @@ -3829,6 +3059,7 @@ pub struct IRTCRoamingEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSession(::windows_core::IUnknown); impl IRTCSession { pub unsafe fn Client(&self) -> ::windows_core::Result { @@ -3925,25 +3156,9 @@ impl IRTCSession { } } ::windows_core::imp::interface_hierarchy!(IRTCSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCSession {} -impl ::core::fmt::Debug for IRTCSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCSession { type Vtable = IRTCSession_Vtbl; } -impl ::core::clone::Clone for IRTCSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x387c8086_99be_42fb_9973_7c0fc0ca9fa8); } @@ -3980,6 +3195,7 @@ pub struct IRTCSession_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSession2(::windows_core::IUnknown); impl IRTCSession2 { pub unsafe fn Client(&self) -> ::windows_core::Result { @@ -4110,25 +3326,9 @@ impl IRTCSession2 { } } ::windows_core::imp::interface_hierarchy!(IRTCSession2, ::windows_core::IUnknown, IRTCSession); -impl ::core::cmp::PartialEq for IRTCSession2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCSession2 {} -impl ::core::fmt::Debug for IRTCSession2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSession2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCSession2 { type Vtable = IRTCSession2_Vtbl; } -impl ::core::clone::Clone for IRTCSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17d7cdfc_b007_484c_99d2_86a8a820991d); } @@ -4148,6 +3348,7 @@ pub struct IRTCSession2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionCallControl(::windows_core::IUnknown); impl IRTCSessionCallControl { pub unsafe fn Hold(&self, lcookie: isize) -> ::windows_core::Result<()> { @@ -4197,25 +3398,9 @@ impl IRTCSessionCallControl { } } ::windows_core::imp::interface_hierarchy!(IRTCSessionCallControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCSessionCallControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCSessionCallControl {} -impl ::core::fmt::Debug for IRTCSessionCallControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionCallControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCSessionCallControl { type Vtable = IRTCSessionCallControl_Vtbl; } -impl ::core::clone::Clone for IRTCSessionCallControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCSessionCallControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9a50d94_190b_4f82_9530_3b8ebf60758a); } @@ -4238,6 +3423,7 @@ pub struct IRTCSessionCallControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionDescriptionManager(::windows_core::IUnknown); impl IRTCSessionDescriptionManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4251,25 +3437,9 @@ impl IRTCSessionDescriptionManager { } } ::windows_core::imp::interface_hierarchy!(IRTCSessionDescriptionManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCSessionDescriptionManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCSessionDescriptionManager {} -impl ::core::fmt::Debug for IRTCSessionDescriptionManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionDescriptionManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCSessionDescriptionManager { type Vtable = IRTCSessionDescriptionManager_Vtbl; } -impl ::core::clone::Clone for IRTCSessionDescriptionManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCSessionDescriptionManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba7f518e_d336_4070_93a6_865395c843f9); } @@ -4285,6 +3455,7 @@ pub struct IRTCSessionDescriptionManager_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionOperationCompleteEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent { @@ -4308,30 +3479,10 @@ impl IRTCSessionOperationCompleteEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionOperationCompleteEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionOperationCompleteEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionOperationCompleteEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionOperationCompleteEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionOperationCompleteEvent { type Vtable = IRTCSessionOperationCompleteEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionOperationCompleteEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionOperationCompleteEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6bff4c0_f7c8_4d3c_9a41_3550f78a95b0); } @@ -4348,6 +3499,7 @@ pub struct IRTCSessionOperationCompleteEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionOperationCompleteEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionOperationCompleteEvent2 { @@ -4378,30 +3530,10 @@ impl IRTCSessionOperationCompleteEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IRTCSessionOperationCompleteEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionOperationCompleteEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionOperationCompleteEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionOperationCompleteEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionOperationCompleteEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionOperationCompleteEvent2 { type Vtable = IRTCSessionOperationCompleteEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionOperationCompleteEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionOperationCompleteEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6fc2a9b_d5bc_4241_b436_1b8460c13832); } @@ -4415,6 +3547,7 @@ pub struct IRTCSessionOperationCompleteEvent2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionPortManagement(::windows_core::IUnknown); impl IRTCSessionPortManagement { pub unsafe fn SetPortManager(&self, pportmanager: P0) -> ::windows_core::Result<()> @@ -4425,25 +3558,9 @@ impl IRTCSessionPortManagement { } } ::windows_core::imp::interface_hierarchy!(IRTCSessionPortManagement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCSessionPortManagement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCSessionPortManagement {} -impl ::core::fmt::Debug for IRTCSessionPortManagement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionPortManagement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCSessionPortManagement { type Vtable = IRTCSessionPortManagement_Vtbl; } -impl ::core::clone::Clone for IRTCSessionPortManagement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCSessionPortManagement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa072f1d6_0286_4e1f_85f2_17a2948456ec); } @@ -4456,6 +3573,7 @@ pub struct IRTCSessionPortManagement_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionReferStatusEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferStatusEvent { @@ -4479,30 +3597,10 @@ impl IRTCSessionReferStatusEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionReferStatusEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionReferStatusEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionReferStatusEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionReferStatusEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionReferStatusEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionReferStatusEvent { type Vtable = IRTCSessionReferStatusEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionReferStatusEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionReferStatusEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d8fc2cd_5d76_44ab_bb68_2a80353b34a2); } @@ -4519,6 +3617,7 @@ pub struct IRTCSessionReferStatusEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionReferredEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionReferredEvent { @@ -4551,30 +3650,10 @@ impl IRTCSessionReferredEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionReferredEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionReferredEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionReferredEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionReferredEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionReferredEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionReferredEvent { type Vtable = IRTCSessionReferredEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionReferredEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionReferredEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x176a6828_4fcc_4f28_a862_04597a6cf1c4); } @@ -4594,6 +3673,7 @@ pub struct IRTCSessionReferredEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionStateChangeEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent { @@ -4617,30 +3697,10 @@ impl IRTCSessionStateChangeEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionStateChangeEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionStateChangeEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionStateChangeEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionStateChangeEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionStateChangeEvent { type Vtable = IRTCSessionStateChangeEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionStateChangeEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionStateChangeEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5bad703_5952_48b3_9321_7f4500521506); } @@ -4657,6 +3717,7 @@ pub struct IRTCSessionStateChangeEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCSessionStateChangeEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCSessionStateChangeEvent2 { @@ -4697,30 +3758,10 @@ impl IRTCSessionStateChangeEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IRTCSessionStateChangeEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCSessionStateChangeEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCSessionStateChangeEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCSessionStateChangeEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCSessionStateChangeEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCSessionStateChangeEvent2 { type Vtable = IRTCSessionStateChangeEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCSessionStateChangeEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCSessionStateChangeEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f933171_6f95_4880_80d9_2ec8d495d261); } @@ -4739,6 +3780,7 @@ pub struct IRTCSessionStateChangeEvent2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCUserSearch(::windows_core::IUnknown); impl IRTCUserSearch { pub unsafe fn CreateQuery(&self) -> ::windows_core::Result { @@ -4754,25 +3796,9 @@ impl IRTCUserSearch { } } ::windows_core::imp::interface_hierarchy!(IRTCUserSearch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCUserSearch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCUserSearch {} -impl ::core::fmt::Debug for IRTCUserSearch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCUserSearch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCUserSearch { type Vtable = IRTCUserSearch_Vtbl; } -impl ::core::clone::Clone for IRTCUserSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCUserSearch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb619882b_860c_4db4_be1b_693b6505bbe5); } @@ -4785,6 +3811,7 @@ pub struct IRTCUserSearch_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCUserSearchQuery(::windows_core::IUnknown); impl IRTCUserSearchQuery { pub unsafe fn put_SearchTerm(&self, bstrname: P0, bstrvalue: P1) -> ::windows_core::Result<()> @@ -4824,25 +3851,9 @@ impl IRTCUserSearchQuery { } } ::windows_core::imp::interface_hierarchy!(IRTCUserSearchQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCUserSearchQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCUserSearchQuery {} -impl ::core::fmt::Debug for IRTCUserSearchQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCUserSearchQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCUserSearchQuery { type Vtable = IRTCUserSearchQuery_Vtbl; } -impl ::core::clone::Clone for IRTCUserSearchQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCUserSearchQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x288300f5_d23a_4365_9a73_9985c98c2881); } @@ -4860,6 +3871,7 @@ pub struct IRTCUserSearchQuery_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCUserSearchResult(::windows_core::IUnknown); impl IRTCUserSearchResult { pub unsafe fn get_Value(&self, encolumn: RTC_USER_SEARCH_COLUMN) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4868,25 +3880,9 @@ impl IRTCUserSearchResult { } } ::windows_core::imp::interface_hierarchy!(IRTCUserSearchResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRTCUserSearchResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCUserSearchResult {} -impl ::core::fmt::Debug for IRTCUserSearchResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCUserSearchResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCUserSearchResult { type Vtable = IRTCUserSearchResult_Vtbl; } -impl ::core::clone::Clone for IRTCUserSearchResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCUserSearchResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x851278b2_9592_480f_8db5_2de86b26b54d); } @@ -4899,6 +3895,7 @@ pub struct IRTCUserSearchResult_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCUserSearchResultsEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCUserSearchResultsEvent { @@ -4938,30 +3935,10 @@ impl IRTCUserSearchResultsEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCUserSearchResultsEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCUserSearchResultsEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCUserSearchResultsEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCUserSearchResultsEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCUserSearchResultsEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCUserSearchResultsEvent { type Vtable = IRTCUserSearchResultsEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCUserSearchResultsEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCUserSearchResultsEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8c8c3cd_7fac_4088_81c5_c24cbc0938e3); } @@ -4986,6 +3963,7 @@ pub struct IRTCUserSearchResultsEvent_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCWatcher(::windows_core::IUnknown); impl IRTCWatcher { pub unsafe fn PresentityURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5041,25 +4019,9 @@ impl IRTCWatcher { } } ::windows_core::imp::interface_hierarchy!(IRTCWatcher, ::windows_core::IUnknown, IRTCPresenceContact); -impl ::core::cmp::PartialEq for IRTCWatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCWatcher {} -impl ::core::fmt::Debug for IRTCWatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCWatcher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCWatcher { type Vtable = IRTCWatcher_Vtbl; } -impl ::core::clone::Clone for IRTCWatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCWatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7cedad8_346b_4d1b_ac02_a2088df9be4f); } @@ -5072,6 +4034,7 @@ pub struct IRTCWatcher_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCWatcher2(::windows_core::IUnknown); impl IRTCWatcher2 { pub unsafe fn PresentityURI(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5135,25 +4098,9 @@ impl IRTCWatcher2 { } } ::windows_core::imp::interface_hierarchy!(IRTCWatcher2, ::windows_core::IUnknown, IRTCPresenceContact, IRTCWatcher); -impl ::core::cmp::PartialEq for IRTCWatcher2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRTCWatcher2 {} -impl ::core::fmt::Debug for IRTCWatcher2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCWatcher2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRTCWatcher2 { type Vtable = IRTCWatcher2_Vtbl; } -impl ::core::clone::Clone for IRTCWatcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRTCWatcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4d9967f_d011_4b1d_91e3_aba78f96393d); } @@ -5167,6 +4114,7 @@ pub struct IRTCWatcher2_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCWatcherEvent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent { @@ -5178,30 +4126,10 @@ impl IRTCWatcherEvent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCWatcherEvent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCWatcherEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCWatcherEvent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCWatcherEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCWatcherEvent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCWatcherEvent { type Vtable = IRTCWatcherEvent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCWatcherEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCWatcherEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf30d7261_587a_424f_822c_312788f43548); } @@ -5215,6 +4143,7 @@ pub struct IRTCWatcherEvent_Vtbl { #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRTCWatcherEvent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRTCWatcherEvent2 { @@ -5234,30 +4163,10 @@ impl IRTCWatcherEvent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRTCWatcherEvent2, ::windows_core::IUnknown, super::Com::IDispatch, IRTCWatcherEvent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRTCWatcherEvent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRTCWatcherEvent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRTCWatcherEvent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRTCWatcherEvent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRTCWatcherEvent2 { type Vtable = IRTCWatcherEvent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRTCWatcherEvent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRTCWatcherEvent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe52891e8_188c_49af_b005_98ed13f83f9c); } @@ -5271,6 +4180,7 @@ pub struct IRTCWatcherEvent2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransportSettingsInternal(::windows_core::IUnknown); impl ITransportSettingsInternal { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] @@ -5285,25 +4195,9 @@ impl ITransportSettingsInternal { } } ::windows_core::imp::interface_hierarchy!(ITransportSettingsInternal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransportSettingsInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransportSettingsInternal {} -impl ::core::fmt::Debug for ITransportSettingsInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransportSettingsInternal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransportSettingsInternal { type Vtable = ITransportSettingsInternal_Vtbl; } -impl ::core::clone::Clone for ITransportSettingsInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransportSettingsInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5123e076_29e3_4bfd_84fe_0192d411e3e8); } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs index 2f926cc390..ec47898038 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs @@ -8,8 +8,8 @@ impl DRendezvousSessionEvents_Vtbl { pub const fn new, Impl: DRendezvousSessionEvents_Impl, const OFFSET: isize>() -> DRendezvousSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`, `\"implement\"`*"] @@ -26,8 +26,8 @@ impl IRendezvousApplication_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRendezvousSession: SetRendezvousSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`, `\"implement\"`*"] @@ -93,7 +93,7 @@ impl IRendezvousSession_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs index 59a8be10d1..db08304e98 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -1,36 +1,17 @@ #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DRendezvousSessionEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DRendezvousSessionEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DRendezvousSessionEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DRendezvousSessionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DRendezvousSessionEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DRendezvousSessionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DRendezvousSessionEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DRendezvousSessionEvents { type Vtable = DRendezvousSessionEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DRendezvousSessionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DRendezvousSessionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3fa19cf8_64c4_4f53_ae60_635b3806eca6); } @@ -42,6 +23,7 @@ pub struct DRendezvousSessionEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRendezvousApplication(::windows_core::IUnknown); impl IRendezvousApplication { pub unsafe fn SetRendezvousSession(&self, prendezvoussession: P0) -> ::windows_core::Result<()> @@ -52,25 +34,9 @@ impl IRendezvousApplication { } } ::windows_core::imp::interface_hierarchy!(IRendezvousApplication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRendezvousApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRendezvousApplication {} -impl ::core::fmt::Debug for IRendezvousApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRendezvousApplication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRendezvousApplication { type Vtable = IRendezvousApplication_Vtbl; } -impl ::core::clone::Clone for IRendezvousApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRendezvousApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f4d070b_a275_49fb_b10d_8ec26387b50d); } @@ -82,6 +48,7 @@ pub struct IRendezvousApplication_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRendezvousSession(::windows_core::IUnknown); impl IRendezvousSession { pub unsafe fn State(&self) -> ::windows_core::Result { @@ -110,25 +77,9 @@ impl IRendezvousSession { } } ::windows_core::imp::interface_hierarchy!(IRendezvousSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRendezvousSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRendezvousSession {} -impl ::core::fmt::Debug for IRendezvousSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRendezvousSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRendezvousSession { type Vtable = IRendezvousSession_Vtbl; } -impl ::core::clone::Clone for IRendezvousSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRendezvousSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ba4b1dd_8b0c_48b7_9e7c_2f25857c8df5); } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index 5027198532..5dfd7743f1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -311,8 +311,8 @@ impl IADsTSUserEx_Vtbl { SetTerminalServicesInitialProgram: SetTerminalServicesInitialProgram::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IAudioDeviceEndpoint_Vtbl { WriteExclusiveModeParametersToSharedMemory: WriteExclusiveModeParametersToSharedMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -438,8 +438,8 @@ impl IAudioEndpoint_Vtbl { SetEventHandle: SetEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IAudioEndpointControl_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -515,8 +515,8 @@ impl IAudioEndpointRT_Vtbl { SetPinActive: SetPinActive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IAudioInputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl IAudioOutputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -696,8 +696,8 @@ impl IRemoteDesktopClient_Vtbl { detachEvent: detachEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IRemoteDesktopClientActions_Vtbl { GetSnapshot: GetSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IRemoteDesktopClientSettings_Vtbl { SetRdpProperty: SetRdpProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -881,8 +881,8 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { PointerSpeed: PointerSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IRemoteSystemAdditionalInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAdditionalInfo: GetAdditionalInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -917,8 +917,8 @@ impl ITSGAccountingEngine_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAccounting: DoAccounting:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -962,8 +962,8 @@ impl ITSGAuthenticateUserSink_Vtbl { DisconnectUser: DisconnectUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -990,8 +990,8 @@ impl ITSGAuthenticationEngine_Vtbl { CancelAuthentication: CancelAuthentication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1008,8 +1008,8 @@ impl ITSGAuthorizeConnectionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionAuthorized: OnConnectionAuthorized:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl ITSGAuthorizeResourceSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChannelAuthorized: OnChannelAuthorized:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1092,8 +1092,8 @@ impl ITSGPolicyEngine_Vtbl { IsQuarantineEnabled: IsQuarantineEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl ITsSbBaseNotifySink_Vtbl { OnReportStatus: OnReportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl ITsSbClientConnection_Vtbl { GetDisconnectedSession: GetDisconnectedSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1334,8 +1334,8 @@ impl ITsSbClientConnectionPropertySet_Vtbl { pub const fn new, Impl: ITsSbClientConnectionPropertySet_Impl, const OFFSET: isize>() -> ITsSbClientConnectionPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1397,8 +1397,8 @@ impl ITsSbEnvironment_Vtbl { SetEnvironmentPropertySet: SetEnvironmentPropertySet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl ITsSbEnvironmentPropertySet_Vtbl { pub const fn new, Impl: ITsSbEnvironmentPropertySet_Impl, const OFFSET: isize>() -> ITsSbEnvironmentPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1455,8 +1455,8 @@ impl ITsSbFilterPluginStore_Vtbl { DeleteProperties: DeleteProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1492,8 +1492,8 @@ impl ITsSbGenericNotifySink_Vtbl { GetWaitTimeout: GetWaitTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1570,8 +1570,8 @@ impl ITsSbGlobalStore_Vtbl { GetFarmProperty: GetFarmProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1594,8 +1594,8 @@ impl ITsSbLoadBalanceResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TargetName: TargetName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl ITsSbLoadBalancing_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), GetMostSuitableTarget: GetMostSuitableTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1636,8 +1636,8 @@ impl ITsSbLoadBalancingNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnGetMostSuitableTarget: OnGetMostSuitableTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1657,8 +1657,8 @@ impl ITsSbOrchestration_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), PrepareTargetForConnect: PrepareTargetForConnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1675,8 +1675,8 @@ impl ITsSbOrchestrationNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnReadyToConnect: OnReadyToConnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1696,8 +1696,8 @@ impl ITsSbPlacement_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), QueryEnvironmentForTarget: QueryEnvironmentForTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1717,8 +1717,8 @@ impl ITsSbPlacementNotifySink_Vtbl { OnQueryEnvironmentCompleted: OnQueryEnvironmentCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl ITsSbPlugin_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl ITsSbPluginNotifySink_Vtbl { OnTerminated: OnTerminated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1790,8 +1790,8 @@ impl ITsSbPluginPropertySet_Vtbl { pub const fn new, Impl: ITsSbPluginPropertySet_Impl, const OFFSET: isize>() -> ITsSbPluginPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1804,8 +1804,8 @@ impl ITsSbPropertySet_Vtbl { pub const fn new, Impl: ITsSbPropertySet_Impl, const OFFSET: isize>() -> ITsSbPropertySet_Vtbl { Self { base__: super::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1965,8 +1965,8 @@ impl ITsSbProvider_Vtbl { CreateEnvironmentPropertySetObject: CreateEnvironmentPropertySetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2010,8 +2010,8 @@ impl ITsSbProvisioning_Vtbl { CancelJob: CancelJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2066,8 +2066,8 @@ impl ITsSbProvisioningPluginNotifySink_Vtbl { OnVirtualMachineHostStatusChanged: OnVirtualMachineHostStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2101,8 +2101,8 @@ impl ITsSbResourceNotification_Vtbl { NotifyClientConnectionStateChange: NotifyClientConnectionStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2136,8 +2136,8 @@ impl ITsSbResourceNotificationEx_Vtbl { NotifyClientConnectionStateChangeEx: NotifyClientConnectionStateChangeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2150,8 +2150,8 @@ impl ITsSbResourcePlugin_Vtbl { pub const fn new, Impl: ITsSbResourcePlugin_Impl, const OFFSET: isize>() -> ITsSbResourcePlugin_Vtbl { Self { base__: ITsSbPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2405,8 +2405,8 @@ impl ITsSbResourcePluginStore_Vtbl { SetServerDrainMode: SetServerDrainMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2433,8 +2433,8 @@ impl ITsSbServiceNotification_Vtbl { NotifyServiceSuccess: NotifyServiceSuccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2629,8 +2629,8 @@ impl ITsSbSession_Vtbl { SetProtocolType: SetProtocolType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl ITsSbTarget_Vtbl { TargetLoad: TargetLoad::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2853,8 +2853,8 @@ impl ITsSbTargetPropertySet_Vtbl { pub const fn new, Impl: ITsSbTargetPropertySet_Impl, const OFFSET: isize>() -> ITsSbTargetPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2987,8 +2987,8 @@ impl ITsSbTaskInfo_Vtbl { Status: Status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3018,8 +3018,8 @@ impl ITsSbTaskPlugin_Vtbl { SetTaskQueue: SetTaskQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3063,8 +3063,8 @@ impl ITsSbTaskPluginNotifySink_Vtbl { OnReportTasks: OnReportTasks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3090,8 +3090,8 @@ impl IWRdsEnhancedFastReconnectArbitrator_Vtbl { GetSessionForEnhancedFastReconnect: GetSessionForEnhancedFastReconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3125,8 +3125,8 @@ impl IWRdsGraphicsChannel_Vtbl { Open: Open::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3177,8 +3177,8 @@ impl IWRdsGraphicsChannelEvents_Vtbl { OnMetricsUpdate: OnMetricsUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3201,8 +3201,8 @@ impl IWRdsGraphicsChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateChannel: CreateChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3422,8 +3422,8 @@ impl IWRdsProtocolConnection_Vtbl { NotifyCommandProcessCreated: NotifyCommandProcessCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3477,8 +3477,8 @@ impl IWRdsProtocolConnectionCallback_Vtbl { GetConnectionId: GetConnectionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3505,8 +3505,8 @@ impl IWRdsProtocolConnectionSettings_Vtbl { GetConnectionSetting: GetConnectionSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3550,8 +3550,8 @@ impl IWRdsProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3591,8 +3591,8 @@ impl IWRdsProtocolListener_Vtbl { StopListen: StopListen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IWRdsProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3678,8 +3678,8 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3757,8 +3757,8 @@ impl IWRdsProtocolManager_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3788,8 +3788,8 @@ impl IWRdsProtocolSettings_Vtbl { MergeSettings: MergeSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3817,8 +3817,8 @@ impl IWRdsProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3852,8 +3852,8 @@ impl IWRdsProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3897,8 +3897,8 @@ impl IWRdsWddmIddProps_Vtbl { EnableWddmIdd: EnableWddmIdd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3921,8 +3921,8 @@ impl IWTSBitmapRenderService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMappedRenderer: GetMappedRenderer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3962,8 +3962,8 @@ impl IWTSBitmapRenderer_Vtbl { RemoveMapping: RemoveMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3983,8 +3983,8 @@ impl IWTSBitmapRendererCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTargetSizeChanged: OnTargetSizeChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4010,8 +4010,8 @@ impl IWTSListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConfiguration: GetConfiguration:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4031,8 +4031,8 @@ impl IWTSListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewChannelConnection: OnNewChannelConnection:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4073,8 +4073,8 @@ impl IWTSPlugin_Vtbl { Terminated: Terminated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4097,8 +4097,8 @@ impl IWTSPluginServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4305,8 +4305,8 @@ impl IWTSProtocolConnection_Vtbl { GetShadowConnection: GetShadowConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4354,8 +4354,8 @@ impl IWTSProtocolConnectionCallback_Vtbl { DisplayIOCtl: DisplayIOCtl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4399,8 +4399,8 @@ impl IWTSProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4427,8 +4427,8 @@ impl IWTSProtocolListener_Vtbl { StopListen: StopListen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl IWTSProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4511,8 +4511,8 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4566,8 +4566,8 @@ impl IWTSProtocolManager_Vtbl { NotifySessionStateChange: NotifySessionStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4595,8 +4595,8 @@ impl IWTSProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4630,8 +4630,8 @@ impl IWTSProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4695,8 +4695,8 @@ impl IWTSSBPlugin_Vtbl { WTSSBX_GetUserExternalSession: WTSSBX_GetUserExternalSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4719,8 +4719,8 @@ impl IWTSVirtualChannel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4747,8 +4747,8 @@ impl IWTSVirtualChannelCallback_Vtbl { OnClose: OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4771,8 +4771,8 @@ impl IWTSVirtualChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateListener: CreateListener:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4821,8 +4821,8 @@ impl IWorkspace_Vtbl { GetProcessId: GetProcessId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4842,8 +4842,8 @@ impl IWorkspace2_Vtbl { } Self { base__: IWorkspace_Vtbl::new::(), StartRemoteApplicationEx: StartRemoteApplicationEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4879,8 +4879,8 @@ impl IWorkspace3_Vtbl { SetClaimsToken: SetClaimsToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4926,8 +4926,8 @@ impl IWorkspaceClientExt_Vtbl { IssueDisconnect: IssueDisconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4960,8 +4960,8 @@ impl IWorkspaceRegistration_Vtbl { RemoveResource: RemoveResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4988,8 +4988,8 @@ impl IWorkspaceRegistration2_Vtbl { RemoveResourceEx: RemoveResourceEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5032,8 +5032,8 @@ impl IWorkspaceReportMessage_Vtbl { RegisterErrorEvent: RegisterErrorEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5096,8 +5096,8 @@ impl IWorkspaceResTypeRegistry_Vtbl { ModifyResourceType: ModifyResourceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5174,8 +5174,8 @@ impl IWorkspaceScriptable_Vtbl { DisconnectWorkspaceByFriendlyName: DisconnectWorkspaceByFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5205,8 +5205,8 @@ impl IWorkspaceScriptable2_Vtbl { ResourceDismissed: ResourceDismissed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5240,8 +5240,8 @@ impl IWorkspaceScriptable3_Vtbl { } Self { base__: IWorkspaceScriptable2_Vtbl::new::(), StartWorkspaceEx2: StartWorkspaceEx2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl ItsPubPlugin_Vtbl { ResolveResource: ResolveResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -5356,8 +5356,8 @@ impl ItsPubPlugin2_Vtbl { DeletePersonalDesktopAssignment: DeletePersonalDesktopAssignment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5370,7 +5370,7 @@ impl _ITSWkspEvents_Vtbl { pub const fn new, Impl: _ITSWkspEvents_Impl, const OFFSET: isize>() -> _ITSWkspEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ITSWkspEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ITSWkspEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index bd7550e245..0f8052840d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -650,6 +650,7 @@ where #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADsTSUserEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IADsTSUserEx { @@ -777,30 +778,10 @@ impl IADsTSUserEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IADsTSUserEx, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IADsTSUserEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IADsTSUserEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IADsTSUserEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADsTSUserEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IADsTSUserEx { type Vtable = IADsTSUserEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IADsTSUserEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IADsTSUserEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc4930e79_2989_4462_8a60_2fcf2f2955ef); } @@ -842,6 +823,7 @@ pub struct IADsTSUserEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioDeviceEndpoint(::windows_core::IUnknown); impl IAudioDeviceEndpoint { pub unsafe fn SetBuffer(&self, maxperiod: i64, u32latencycoefficient: u32) -> ::windows_core::Result<()> { @@ -864,25 +846,9 @@ impl IAudioDeviceEndpoint { } } ::windows_core::imp::interface_hierarchy!(IAudioDeviceEndpoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioDeviceEndpoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioDeviceEndpoint {} -impl ::core::fmt::Debug for IAudioDeviceEndpoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioDeviceEndpoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioDeviceEndpoint { type Vtable = IAudioDeviceEndpoint_Vtbl; } -impl ::core::clone::Clone for IAudioDeviceEndpoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioDeviceEndpoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4952f5a_a0b2_4cc4_8b82_9358488dd8ac); } @@ -903,6 +869,7 @@ pub struct IAudioDeviceEndpoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpoint(::windows_core::IUnknown); impl IAudioEndpoint { #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] @@ -932,25 +899,9 @@ impl IAudioEndpoint { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpoint, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpoint {} -impl ::core::fmt::Debug for IAudioEndpoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpoint").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpoint { type Vtable = IAudioEndpoint_Vtbl; } -impl ::core::clone::Clone for IAudioEndpoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpoint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30a99515_1527_4451_af9f_00c5f0234daf); } @@ -972,6 +923,7 @@ pub struct IAudioEndpoint_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointControl(::windows_core::IUnknown); impl IAudioEndpointControl { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -985,25 +937,9 @@ impl IAudioEndpointControl { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointControl {} -impl ::core::fmt::Debug for IAudioEndpointControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointControl { type Vtable = IAudioEndpointControl_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc684b72a_6df4_4774_bdf9_76b77509b653); } @@ -1017,6 +953,7 @@ pub struct IAudioEndpointControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioEndpointRT(::windows_core::IUnknown); impl IAudioEndpointRT { pub unsafe fn GetCurrentPadding(&self, ppadding: *mut i64, paecurrentposition: *mut AE_CURRENT_POSITION) { @@ -1033,25 +970,9 @@ impl IAudioEndpointRT { } } ::windows_core::imp::interface_hierarchy!(IAudioEndpointRT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioEndpointRT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioEndpointRT {} -impl ::core::fmt::Debug for IAudioEndpointRT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioEndpointRT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioEndpointRT { type Vtable = IAudioEndpointRT_Vtbl; } -impl ::core::clone::Clone for IAudioEndpointRT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioEndpointRT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfd2005f_a6e5_4d39_a265_939ada9fbb4d); } @@ -1066,6 +987,7 @@ pub struct IAudioEndpointRT_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioInputEndpointRT(::windows_core::IUnknown); impl IAudioInputEndpointRT { #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`*"] @@ -1081,25 +1003,9 @@ impl IAudioInputEndpointRT { } } ::windows_core::imp::interface_hierarchy!(IAudioInputEndpointRT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioInputEndpointRT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioInputEndpointRT {} -impl ::core::fmt::Debug for IAudioInputEndpointRT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioInputEndpointRT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioInputEndpointRT { type Vtable = IAudioInputEndpointRT_Vtbl; } -impl ::core::clone::Clone for IAudioInputEndpointRT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioInputEndpointRT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8026ab61_92b2_43c1_a1df_5c37ebd08d82); } @@ -1116,6 +1022,7 @@ pub struct IAudioInputEndpointRT_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioOutputEndpointRT(::windows_core::IUnknown); impl IAudioOutputEndpointRT { pub unsafe fn GetOutputDataPointer(&self, u32framecount: u32, paetimestamp: *const AE_CURRENT_POSITION) -> usize { @@ -1131,25 +1038,9 @@ impl IAudioOutputEndpointRT { } } ::windows_core::imp::interface_hierarchy!(IAudioOutputEndpointRT, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioOutputEndpointRT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioOutputEndpointRT {} -impl ::core::fmt::Debug for IAudioOutputEndpointRT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioOutputEndpointRT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioOutputEndpointRT { type Vtable = IAudioOutputEndpointRT_Vtbl; } -impl ::core::clone::Clone for IAudioOutputEndpointRT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioOutputEndpointRT { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fa906e4_c31c_4e31_932e_19a66385e9aa); } @@ -1167,6 +1058,7 @@ pub struct IAudioOutputEndpointRT_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDesktopClient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRemoteDesktopClient { @@ -1228,30 +1120,10 @@ impl IRemoteDesktopClient { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRemoteDesktopClient, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRemoteDesktopClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRemoteDesktopClient {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRemoteDesktopClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDesktopClient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRemoteDesktopClient { type Vtable = IRemoteDesktopClient_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRemoteDesktopClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRemoteDesktopClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57d25668_625a_4905_be4e_304caa13f89c); } @@ -1289,6 +1161,7 @@ pub struct IRemoteDesktopClient_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDesktopClientActions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRemoteDesktopClientActions { @@ -1309,30 +1182,10 @@ impl IRemoteDesktopClientActions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRemoteDesktopClientActions, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRemoteDesktopClientActions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRemoteDesktopClientActions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRemoteDesktopClientActions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDesktopClientActions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRemoteDesktopClientActions { type Vtable = IRemoteDesktopClientActions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRemoteDesktopClientActions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRemoteDesktopClientActions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d54bc4e_1028_45d4_8b0a_b9b6bffba176); } @@ -1349,6 +1202,7 @@ pub struct IRemoteDesktopClientActions_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDesktopClientSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRemoteDesktopClientSettings { @@ -1383,30 +1237,10 @@ impl IRemoteDesktopClientSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRemoteDesktopClientSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRemoteDesktopClientSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRemoteDesktopClientSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRemoteDesktopClientSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDesktopClientSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRemoteDesktopClientSettings { type Vtable = IRemoteDesktopClientSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRemoteDesktopClientSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRemoteDesktopClientSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48a0f2a7_2713_431f_bbac_6f4558e7d64d); } @@ -1429,6 +1263,7 @@ pub struct IRemoteDesktopClientSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteDesktopClientTouchPointer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRemoteDesktopClientTouchPointer { @@ -1471,30 +1306,10 @@ impl IRemoteDesktopClientTouchPointer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRemoteDesktopClientTouchPointer, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRemoteDesktopClientTouchPointer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRemoteDesktopClientTouchPointer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRemoteDesktopClientTouchPointer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteDesktopClientTouchPointer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRemoteDesktopClientTouchPointer { type Vtable = IRemoteDesktopClientTouchPointer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRemoteDesktopClientTouchPointer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRemoteDesktopClientTouchPointer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x260ec22d_8cbc_44b5_9e88_2a37f6c93ae9); } @@ -1524,6 +1339,7 @@ pub struct IRemoteDesktopClientTouchPointer_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteSystemAdditionalInfoProvider(::windows_core::IUnknown); impl IRemoteSystemAdditionalInfoProvider { pub unsafe fn GetAdditionalInfo(&self, deduplicationid: *mut ::windows_core::HSTRING) -> ::windows_core::Result @@ -1535,25 +1351,9 @@ impl IRemoteSystemAdditionalInfoProvider { } } ::windows_core::imp::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteSystemAdditionalInfoProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteSystemAdditionalInfoProvider {} -impl ::core::fmt::Debug for IRemoteSystemAdditionalInfoProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteSystemAdditionalInfoProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteSystemAdditionalInfoProvider { type Vtable = IRemoteSystemAdditionalInfoProvider_Vtbl; } -impl ::core::clone::Clone for IRemoteSystemAdditionalInfoProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteSystemAdditionalInfoProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeeaa3d5f_ec63_4d27_af38_e86b1d7292cb); } @@ -1565,6 +1365,7 @@ pub struct IRemoteSystemAdditionalInfoProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGAccountingEngine(::windows_core::IUnknown); impl ITSGAccountingEngine { pub unsafe fn DoAccounting(&self, accountingdatatype: AAAccountingDataType, accountingdata: AAAccountingData) -> ::windows_core::Result<()> { @@ -1572,25 +1373,9 @@ impl ITSGAccountingEngine { } } ::windows_core::imp::interface_hierarchy!(ITSGAccountingEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGAccountingEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGAccountingEngine {} -impl ::core::fmt::Debug for ITSGAccountingEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGAccountingEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGAccountingEngine { type Vtable = ITSGAccountingEngine_Vtbl; } -impl ::core::clone::Clone for ITSGAccountingEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGAccountingEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ce2a0c9_e874_4f1a_86f4_06bbb9115338); } @@ -1602,6 +1387,7 @@ pub struct ITSGAccountingEngine_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGAuthenticateUserSink(::windows_core::IUnknown); impl ITSGAuthenticateUserSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1625,25 +1411,9 @@ impl ITSGAuthenticateUserSink { } } ::windows_core::imp::interface_hierarchy!(ITSGAuthenticateUserSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGAuthenticateUserSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGAuthenticateUserSink {} -impl ::core::fmt::Debug for ITSGAuthenticateUserSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGAuthenticateUserSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGAuthenticateUserSink { type Vtable = ITSGAuthenticateUserSink_Vtbl; } -impl ::core::clone::Clone for ITSGAuthenticateUserSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGAuthenticateUserSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c3e2e73_a782_47f9_8dfb_77ee1ed27a03); } @@ -1661,6 +1431,7 @@ pub struct ITSGAuthenticateUserSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGAuthenticationEngine(::windows_core::IUnknown); impl ITSGAuthenticationEngine { pub unsafe fn AuthenticateUser(&self, mainsessionid: ::windows_core::GUID, cookiedata: *const u8, numcookiebytes: u32, context: usize, psink: P0) -> ::windows_core::Result<()> @@ -1674,25 +1445,9 @@ impl ITSGAuthenticationEngine { } } ::windows_core::imp::interface_hierarchy!(ITSGAuthenticationEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGAuthenticationEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGAuthenticationEngine {} -impl ::core::fmt::Debug for ITSGAuthenticationEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGAuthenticationEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGAuthenticationEngine { type Vtable = ITSGAuthenticationEngine_Vtbl; } -impl ::core::clone::Clone for ITSGAuthenticationEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGAuthenticationEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ee3e5bf_04ab_4691_998c_d7f622321a56); } @@ -1705,6 +1460,7 @@ pub struct ITSGAuthenticationEngine_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGAuthorizeConnectionSink(::windows_core::IUnknown); impl ITSGAuthorizeConnectionSink { pub unsafe fn OnConnectionAuthorized(&self, hrin: ::windows_core::HRESULT, mainsessionid: ::windows_core::GUID, pbsohresponse: &[u8], idletimeout: u32, sessiontimeout: u32, sessiontimeoutaction: SESSION_TIMEOUT_ACTION_TYPE, trustclass: AATrustClassID, policyattributes: *const u32) -> ::windows_core::Result<()> { @@ -1712,25 +1468,9 @@ impl ITSGAuthorizeConnectionSink { } } ::windows_core::imp::interface_hierarchy!(ITSGAuthorizeConnectionSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGAuthorizeConnectionSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGAuthorizeConnectionSink {} -impl ::core::fmt::Debug for ITSGAuthorizeConnectionSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGAuthorizeConnectionSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGAuthorizeConnectionSink { type Vtable = ITSGAuthorizeConnectionSink_Vtbl; } -impl ::core::clone::Clone for ITSGAuthorizeConnectionSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGAuthorizeConnectionSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc27ece33_7781_4318_98ef_1cf2da7b7005); } @@ -1742,6 +1482,7 @@ pub struct ITSGAuthorizeConnectionSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGAuthorizeResourceSink(::windows_core::IUnknown); impl ITSGAuthorizeResourceSink { pub unsafe fn OnChannelAuthorized(&self, hrin: ::windows_core::HRESULT, mainsessionid: ::windows_core::GUID, subsessionid: i32, allowedresourcenames: &[::windows_core::BSTR], failedresourcenames: &[::windows_core::BSTR]) -> ::windows_core::Result<()> { @@ -1749,25 +1490,9 @@ impl ITSGAuthorizeResourceSink { } } ::windows_core::imp::interface_hierarchy!(ITSGAuthorizeResourceSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGAuthorizeResourceSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGAuthorizeResourceSink {} -impl ::core::fmt::Debug for ITSGAuthorizeResourceSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGAuthorizeResourceSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGAuthorizeResourceSink { type Vtable = ITSGAuthorizeResourceSink_Vtbl; } -impl ::core::clone::Clone for ITSGAuthorizeResourceSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGAuthorizeResourceSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeddfcd4_fa12_4435_ae55_7ad1a9779af7); } @@ -1779,6 +1504,7 @@ pub struct ITSGAuthorizeResourceSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITSGPolicyEngine(::windows_core::IUnknown); impl ITSGPolicyEngine { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1812,25 +1538,9 @@ impl ITSGPolicyEngine { } } ::windows_core::imp::interface_hierarchy!(ITSGPolicyEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITSGPolicyEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITSGPolicyEngine {} -impl ::core::fmt::Debug for ITSGPolicyEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITSGPolicyEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITSGPolicyEngine { type Vtable = ITSGPolicyEngine_Vtbl; } -impl ::core::clone::Clone for ITSGPolicyEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITSGPolicyEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8bc24f08_6223_42f4_a5b4_8e37cd135bbd); } @@ -1851,6 +1561,7 @@ pub struct ITSGPolicyEngine_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbBaseNotifySink(::windows_core::IUnknown); impl ITsSbBaseNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -1861,25 +1572,9 @@ impl ITsSbBaseNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbBaseNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbBaseNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbBaseNotifySink {} -impl ::core::fmt::Debug for ITsSbBaseNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbBaseNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbBaseNotifySink { type Vtable = ITsSbBaseNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbBaseNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbBaseNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x808a6537_1282_4989_9e09_f43938b71722); } @@ -1892,6 +1587,7 @@ pub struct ITsSbBaseNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbClientConnection(::windows_core::IUnknown); impl ITsSbClientConnection { pub unsafe fn UserName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -1968,25 +1664,9 @@ impl ITsSbClientConnection { } } ::windows_core::imp::interface_hierarchy!(ITsSbClientConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbClientConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbClientConnection {} -impl ::core::fmt::Debug for ITsSbClientConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbClientConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbClientConnection { type Vtable = ITsSbClientConnection_Vtbl; } -impl ::core::clone::Clone for ITsSbClientConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbClientConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18857499_ad61_4b1b_b7df_cbcd41fb8338); } @@ -2025,6 +1705,7 @@ pub struct ITsSbClientConnection_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbClientConnectionPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbClientConnectionPropertySet { @@ -2049,30 +1730,10 @@ impl ITsSbClientConnectionPropertySet { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(ITsSbClientConnectionPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for ITsSbClientConnectionPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for ITsSbClientConnectionPropertySet {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for ITsSbClientConnectionPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbClientConnectionPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for ITsSbClientConnectionPropertySet { type Vtable = ITsSbClientConnectionPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for ITsSbClientConnectionPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for ITsSbClientConnectionPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe51995b0_46d6_11dd_aa21_cedc55d89593); } @@ -2084,6 +1745,7 @@ pub struct ITsSbClientConnectionPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbEnvironment(::windows_core::IUnknown); impl ITsSbEnvironment { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2110,25 +1772,9 @@ impl ITsSbEnvironment { } } ::windows_core::imp::interface_hierarchy!(ITsSbEnvironment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbEnvironment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbEnvironment {} -impl ::core::fmt::Debug for ITsSbEnvironment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbEnvironment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbEnvironment { type Vtable = ITsSbEnvironment_Vtbl; } -impl ::core::clone::Clone for ITsSbEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbEnvironment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c87f7f7_bf51_4a5c_87bf_8e94fb6e2256); } @@ -2150,6 +1796,7 @@ pub struct ITsSbEnvironment_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbEnvironmentPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbEnvironmentPropertySet { @@ -2174,30 +1821,10 @@ impl ITsSbEnvironmentPropertySet { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(ITsSbEnvironmentPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for ITsSbEnvironmentPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for ITsSbEnvironmentPropertySet {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for ITsSbEnvironmentPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbEnvironmentPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for ITsSbEnvironmentPropertySet { type Vtable = ITsSbEnvironmentPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for ITsSbEnvironmentPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for ITsSbEnvironmentPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0d1bf7e_7acf_11dd_a243_e51156d89593); } @@ -2209,6 +1836,7 @@ pub struct ITsSbEnvironmentPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbFilterPluginStore(::windows_core::IUnknown); impl ITsSbFilterPluginStore { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2233,25 +1861,9 @@ impl ITsSbFilterPluginStore { } } ::windows_core::imp::interface_hierarchy!(ITsSbFilterPluginStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbFilterPluginStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbFilterPluginStore {} -impl ::core::fmt::Debug for ITsSbFilterPluginStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbFilterPluginStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbFilterPluginStore { type Vtable = ITsSbFilterPluginStore_Vtbl; } -impl ::core::clone::Clone for ITsSbFilterPluginStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbFilterPluginStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85b44b0f_ed78_413f_9702_fa6d3b5ee755); } @@ -2271,6 +1883,7 @@ pub struct ITsSbFilterPluginStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbGenericNotifySink(::windows_core::IUnknown); impl ITsSbGenericNotifySink { pub unsafe fn OnCompleted(&self, status: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2284,25 +1897,9 @@ impl ITsSbGenericNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbGenericNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbGenericNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbGenericNotifySink {} -impl ::core::fmt::Debug for ITsSbGenericNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbGenericNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbGenericNotifySink { type Vtable = ITsSbGenericNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbGenericNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbGenericNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c4c8c4f_300b_46ad_9164_8468a7e7568c); } @@ -2318,6 +1915,7 @@ pub struct ITsSbGenericNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbGlobalStore(::windows_core::IUnknown); impl ITsSbGlobalStore { pub unsafe fn QueryTarget(&self, providername: P0, targetname: P1, farmname: P2) -> ::windows_core::Result @@ -2381,25 +1979,9 @@ impl ITsSbGlobalStore { } } ::windows_core::imp::interface_hierarchy!(ITsSbGlobalStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbGlobalStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbGlobalStore {} -impl ::core::fmt::Debug for ITsSbGlobalStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbGlobalStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbGlobalStore { type Vtable = ITsSbGlobalStore_Vtbl; } -impl ::core::clone::Clone for ITsSbGlobalStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbGlobalStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ab60f7b_bd72_4d9f_8a3a_a0ea5574e635); } @@ -2423,6 +2005,7 @@ pub struct ITsSbGlobalStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbLoadBalanceResult(::windows_core::IUnknown); impl ITsSbLoadBalanceResult { pub unsafe fn TargetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2431,25 +2014,9 @@ impl ITsSbLoadBalanceResult { } } ::windows_core::imp::interface_hierarchy!(ITsSbLoadBalanceResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbLoadBalanceResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbLoadBalanceResult {} -impl ::core::fmt::Debug for ITsSbLoadBalanceResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbLoadBalanceResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbLoadBalanceResult { type Vtable = ITsSbLoadBalanceResult_Vtbl; } -impl ::core::clone::Clone for ITsSbLoadBalanceResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbLoadBalanceResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24fdb7ac_fea6_11dc_9672_9a8956d89593); } @@ -2461,6 +2028,7 @@ pub struct ITsSbLoadBalanceResult_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbLoadBalancing(::windows_core::IUnknown); impl ITsSbLoadBalancing { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2485,25 +2053,9 @@ impl ITsSbLoadBalancing { } } ::windows_core::imp::interface_hierarchy!(ITsSbLoadBalancing, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbLoadBalancing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbLoadBalancing {} -impl ::core::fmt::Debug for ITsSbLoadBalancing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbLoadBalancing").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbLoadBalancing { type Vtable = ITsSbLoadBalancing_Vtbl; } -impl ::core::clone::Clone for ITsSbLoadBalancing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbLoadBalancing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24329274_9eb7_11dc_ae98_f2b456d89593); } @@ -2515,6 +2067,7 @@ pub struct ITsSbLoadBalancing_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbLoadBalancingNotifySink(::windows_core::IUnknown); impl ITsSbLoadBalancingNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2534,25 +2087,9 @@ impl ITsSbLoadBalancingNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbLoadBalancingNotifySink, ::windows_core::IUnknown, ITsSbBaseNotifySink); -impl ::core::cmp::PartialEq for ITsSbLoadBalancingNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbLoadBalancingNotifySink {} -impl ::core::fmt::Debug for ITsSbLoadBalancingNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbLoadBalancingNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbLoadBalancingNotifySink { type Vtable = ITsSbLoadBalancingNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbLoadBalancingNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbLoadBalancingNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f8a8297_3244_4e6a_958a_27c822c1e141); } @@ -2567,6 +2104,7 @@ pub struct ITsSbLoadBalancingNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbOrchestration(::windows_core::IUnknown); impl ITsSbOrchestration { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2591,25 +2129,9 @@ impl ITsSbOrchestration { } } ::windows_core::imp::interface_hierarchy!(ITsSbOrchestration, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbOrchestration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbOrchestration {} -impl ::core::fmt::Debug for ITsSbOrchestration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbOrchestration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbOrchestration { type Vtable = ITsSbOrchestration_Vtbl; } -impl ::core::clone::Clone for ITsSbOrchestration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbOrchestration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64fc1172_9eb7_11dc_8b00_3aba56d89593); } @@ -2621,6 +2143,7 @@ pub struct ITsSbOrchestration_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbOrchestrationNotifySink(::windows_core::IUnknown); impl ITsSbOrchestrationNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2637,25 +2160,9 @@ impl ITsSbOrchestrationNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbOrchestrationNotifySink, ::windows_core::IUnknown, ITsSbBaseNotifySink); -impl ::core::cmp::PartialEq for ITsSbOrchestrationNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbOrchestrationNotifySink {} -impl ::core::fmt::Debug for ITsSbOrchestrationNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbOrchestrationNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbOrchestrationNotifySink { type Vtable = ITsSbOrchestrationNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbOrchestrationNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbOrchestrationNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36c37d61_926b_442f_bca5_118c6d50dcf2); } @@ -2667,6 +2174,7 @@ pub struct ITsSbOrchestrationNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPlacement(::windows_core::IUnknown); impl ITsSbPlacement { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2691,25 +2199,9 @@ impl ITsSbPlacement { } } ::windows_core::imp::interface_hierarchy!(ITsSbPlacement, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbPlacement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbPlacement {} -impl ::core::fmt::Debug for ITsSbPlacement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPlacement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbPlacement { type Vtable = ITsSbPlacement_Vtbl; } -impl ::core::clone::Clone for ITsSbPlacement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbPlacement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaadee5f_6d32_480e_9e36_ddab2329f06d); } @@ -2721,6 +2213,7 @@ pub struct ITsSbPlacement_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPlacementNotifySink(::windows_core::IUnknown); impl ITsSbPlacementNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2737,25 +2230,9 @@ impl ITsSbPlacementNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbPlacementNotifySink, ::windows_core::IUnknown, ITsSbBaseNotifySink); -impl ::core::cmp::PartialEq for ITsSbPlacementNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbPlacementNotifySink {} -impl ::core::fmt::Debug for ITsSbPlacementNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPlacementNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbPlacementNotifySink { type Vtable = ITsSbPlacementNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbPlacementNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbPlacementNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68a0c487_2b4f_46c2_94a1_6ce685183634); } @@ -2767,6 +2244,7 @@ pub struct ITsSbPlacementNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPlugin(::windows_core::IUnknown); impl ITsSbPlugin { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -2784,25 +2262,9 @@ impl ITsSbPlugin { } } ::windows_core::imp::interface_hierarchy!(ITsSbPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbPlugin {} -impl ::core::fmt::Debug for ITsSbPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbPlugin { type Vtable = ITsSbPlugin_Vtbl; } -impl ::core::clone::Clone for ITsSbPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48cd7406_caab_465f_a5d6_baa863b9ea4f); } @@ -2818,6 +2280,7 @@ pub struct ITsSbPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPluginNotifySink(::windows_core::IUnknown); impl ITsSbPluginNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -2834,25 +2297,9 @@ impl ITsSbPluginNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbPluginNotifySink, ::windows_core::IUnknown, ITsSbBaseNotifySink); -impl ::core::cmp::PartialEq for ITsSbPluginNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbPluginNotifySink {} -impl ::core::fmt::Debug for ITsSbPluginNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPluginNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbPluginNotifySink { type Vtable = ITsSbPluginNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbPluginNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbPluginNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44dfe30b_c3be_40f5_bf82_7a95bb795adf); } @@ -2866,6 +2313,7 @@ pub struct ITsSbPluginNotifySink_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPluginPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbPluginPropertySet { @@ -2890,30 +2338,10 @@ impl ITsSbPluginPropertySet { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(ITsSbPluginPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for ITsSbPluginPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for ITsSbPluginPropertySet {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for ITsSbPluginPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPluginPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for ITsSbPluginPropertySet { type Vtable = ITsSbPluginPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for ITsSbPluginPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for ITsSbPluginPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95006e34_7eff_4b6c_bb40_49a4fda7cea6); } @@ -2926,6 +2354,7 @@ pub struct ITsSbPluginPropertySet_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbPropertySet { @@ -2950,30 +2379,10 @@ impl ITsSbPropertySet { #[cfg(feature = "Win32_System_Com_StructuredStorage")] ::windows_core::imp::interface_hierarchy!(ITsSbPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for ITsSbPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for ITsSbPropertySet {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for ITsSbPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for ITsSbPropertySet { type Vtable = ITsSbPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for ITsSbPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for ITsSbPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c025171_bb1e_4baf_a212_6d5e9774b33b); } @@ -2985,6 +2394,7 @@ pub struct ITsSbPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbProvider(::windows_core::IUnknown); impl ITsSbProvider { pub unsafe fn CreateTargetObject(&self, targetname: P0, environmentname: P1) -> ::windows_core::Result @@ -3063,25 +2473,9 @@ impl ITsSbProvider { } } ::windows_core::imp::interface_hierarchy!(ITsSbProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbProvider {} -impl ::core::fmt::Debug for ITsSbProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbProvider { type Vtable = ITsSbProvider_Vtbl; } -impl ::core::clone::Clone for ITsSbProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87a4098f_6d7b_44dd_bc17_8ce44e370d52); } @@ -3113,6 +2507,7 @@ pub struct ITsSbProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbProvisioning(::windows_core::IUnknown); impl ITsSbProvisioning { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3160,25 +2555,9 @@ impl ITsSbProvisioning { } } ::windows_core::imp::interface_hierarchy!(ITsSbProvisioning, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbProvisioning { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbProvisioning {} -impl ::core::fmt::Debug for ITsSbProvisioning { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbProvisioning").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbProvisioning { type Vtable = ITsSbProvisioning_Vtbl; } -impl ::core::clone::Clone for ITsSbProvisioning { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbProvisioning { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f6f0dbb_9e4f_462b_9c3f_fccc3dcb6232); } @@ -3193,6 +2572,7 @@ pub struct ITsSbProvisioning_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbProvisioningPluginNotifySink(::windows_core::IUnknown); impl ITsSbProvisioningPluginNotifySink { pub unsafe fn OnJobCreated(&self, pvmnotifyinfo: *const VM_NOTIFY_INFO) -> ::windows_core::Result<()> { @@ -3225,25 +2605,9 @@ impl ITsSbProvisioningPluginNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbProvisioningPluginNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbProvisioningPluginNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbProvisioningPluginNotifySink {} -impl ::core::fmt::Debug for ITsSbProvisioningPluginNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbProvisioningPluginNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbProvisioningPluginNotifySink { type Vtable = ITsSbProvisioningPluginNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbProvisioningPluginNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbProvisioningPluginNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaca87a8e_818b_4581_a032_49c3dfb9c701); } @@ -3260,6 +2624,7 @@ pub struct ITsSbProvisioningPluginNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbResourceNotification(::windows_core::IUnknown); impl ITsSbResourceNotification { pub unsafe fn NotifySessionChange(&self, changetype: TSSESSION_STATE, psession: P0) -> ::windows_core::Result<()> @@ -3282,25 +2647,9 @@ impl ITsSbResourceNotification { } } ::windows_core::imp::interface_hierarchy!(ITsSbResourceNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbResourceNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbResourceNotification {} -impl ::core::fmt::Debug for ITsSbResourceNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbResourceNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbResourceNotification { type Vtable = ITsSbResourceNotification_Vtbl; } -impl ::core::clone::Clone for ITsSbResourceNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbResourceNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65d3e85a_c39b_11dc_b92d_3cd255d89593); } @@ -3314,6 +2663,7 @@ pub struct ITsSbResourceNotification_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbResourceNotificationEx(::windows_core::IUnknown); impl ITsSbResourceNotificationEx { pub unsafe fn NotifySessionChangeEx(&self, targetname: P0, username: P1, domain: P2, sessionid: u32, sessionstate: TSSESSION_STATE) -> ::windows_core::Result<()> @@ -3342,25 +2692,9 @@ impl ITsSbResourceNotificationEx { } } ::windows_core::imp::interface_hierarchy!(ITsSbResourceNotificationEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbResourceNotificationEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbResourceNotificationEx {} -impl ::core::fmt::Debug for ITsSbResourceNotificationEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbResourceNotificationEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbResourceNotificationEx { type Vtable = ITsSbResourceNotificationEx_Vtbl; } -impl ::core::clone::Clone for ITsSbResourceNotificationEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbResourceNotificationEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8a47fde_ca91_44d2_b897_3aa28a43b2b7); } @@ -3374,6 +2708,7 @@ pub struct ITsSbResourceNotificationEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbResourcePlugin(::windows_core::IUnknown); impl ITsSbResourcePlugin { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -3391,25 +2726,9 @@ impl ITsSbResourcePlugin { } } ::windows_core::imp::interface_hierarchy!(ITsSbResourcePlugin, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbResourcePlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbResourcePlugin {} -impl ::core::fmt::Debug for ITsSbResourcePlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbResourcePlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbResourcePlugin { type Vtable = ITsSbResourcePlugin_Vtbl; } -impl ::core::clone::Clone for ITsSbResourcePlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbResourcePlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea8db42c_98ed_4535_a88b_2a164f35490f); } @@ -3420,6 +2739,7 @@ pub struct ITsSbResourcePlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbResourcePluginStore(::windows_core::IUnknown); impl ITsSbResourcePluginStore { pub unsafe fn QueryTarget(&self, targetname: P0, farmname: P1) -> ::windows_core::Result @@ -3630,25 +2950,9 @@ impl ITsSbResourcePluginStore { } } ::windows_core::imp::interface_hierarchy!(ITsSbResourcePluginStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbResourcePluginStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbResourcePluginStore {} -impl ::core::fmt::Debug for ITsSbResourcePluginStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbResourcePluginStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbResourcePluginStore { type Vtable = ITsSbResourcePluginStore_Vtbl; } -impl ::core::clone::Clone for ITsSbResourcePluginStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbResourcePluginStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c38f65f_bcf1_4036_a6bf_9e3cccae0b63); } @@ -3714,6 +3018,7 @@ pub struct ITsSbResourcePluginStore_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbServiceNotification(::windows_core::IUnknown); impl ITsSbServiceNotification { pub unsafe fn NotifyServiceFailure(&self) -> ::windows_core::Result<()> { @@ -3724,25 +3029,9 @@ impl ITsSbServiceNotification { } } ::windows_core::imp::interface_hierarchy!(ITsSbServiceNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbServiceNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbServiceNotification {} -impl ::core::fmt::Debug for ITsSbServiceNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbServiceNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbServiceNotification { type Vtable = ITsSbServiceNotification_Vtbl; } -impl ::core::clone::Clone for ITsSbServiceNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbServiceNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86cb68ae_86e0_4f57_8a64_bb7406bc5550); } @@ -3755,6 +3044,7 @@ pub struct ITsSbServiceNotification_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbSession(::windows_core::IUnknown); impl ITsSbSession { pub unsafe fn SessionId(&self) -> ::windows_core::Result { @@ -3834,25 +3124,9 @@ impl ITsSbSession { } } ::windows_core::imp::interface_hierarchy!(ITsSbSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbSession {} -impl ::core::fmt::Debug for ITsSbSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbSession { type Vtable = ITsSbSession_Vtbl; } -impl ::core::clone::Clone for ITsSbSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd453aac7_b1d8_4c5e_ba34_9afb4c8c5510); } @@ -3892,6 +3166,7 @@ pub struct ITsSbSession_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbTarget(::windows_core::IUnknown); impl ITsSbTarget { pub unsafe fn TargetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3985,25 +3260,9 @@ impl ITsSbTarget { } } ::windows_core::imp::interface_hierarchy!(ITsSbTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbTarget {} -impl ::core::fmt::Debug for ITsSbTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbTarget { type Vtable = ITsSbTarget_Vtbl; } -impl ::core::clone::Clone for ITsSbTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16616ecc_272d_411d_b324_126893033856); } @@ -4040,6 +3299,7 @@ pub struct ITsSbTarget_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`*"] #[cfg(feature = "Win32_System_Com_StructuredStorage")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbTargetPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com_StructuredStorage")] impl ITsSbTargetPropertySet { @@ -4057,37 +3317,17 @@ impl ITsSbTargetPropertySet { pub unsafe fn Write(&self, pszpropname: P0, pvar: *const super::Variant::VARIANT) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - (::windows_core::Interface::vtable(self).base__.base__.Write)(::windows_core::Interface::as_raw(self), pszpropname.into_param().abi(), pvar).ok() - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -::windows_core::imp::interface_hierarchy!(ITsSbTargetPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::PartialEq for ITsSbTargetPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + { + (::windows_core::Interface::vtable(self).base__.base__.Write)(::windows_core::Interface::as_raw(self), pszpropname.into_param().abi(), pvar).ok() } } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::cmp::Eq for ITsSbTargetPropertySet {} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::fmt::Debug for ITsSbTargetPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbTargetPropertySet").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ITsSbTargetPropertySet, ::windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::Interface for ITsSbTargetPropertySet { type Vtable = ITsSbTargetPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl ::core::clone::Clone for ITsSbTargetPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com_StructuredStorage")] unsafe impl ::windows_core::ComInterface for ITsSbTargetPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7bda5d6_994c_4e11_a079_2763b61830ac); } @@ -4099,6 +3339,7 @@ pub struct ITsSbTargetPropertySet_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbTaskInfo(::windows_core::IUnknown); impl ITsSbTaskInfo { pub unsafe fn TargetId(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4147,25 +3388,9 @@ impl ITsSbTaskInfo { } } ::windows_core::imp::interface_hierarchy!(ITsSbTaskInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITsSbTaskInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbTaskInfo {} -impl ::core::fmt::Debug for ITsSbTaskInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbTaskInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbTaskInfo { type Vtable = ITsSbTaskInfo_Vtbl; } -impl ::core::clone::Clone for ITsSbTaskInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbTaskInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x523d1083_89be_48dd_99ea_04e82ffa7265); } @@ -4197,6 +3422,7 @@ pub struct ITsSbTaskInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbTaskPlugin(::windows_core::IUnknown); impl ITsSbTaskPlugin { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -4226,25 +3452,9 @@ impl ITsSbTaskPlugin { } } ::windows_core::imp::interface_hierarchy!(ITsSbTaskPlugin, ::windows_core::IUnknown, ITsSbPlugin); -impl ::core::cmp::PartialEq for ITsSbTaskPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbTaskPlugin {} -impl ::core::fmt::Debug for ITsSbTaskPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbTaskPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbTaskPlugin { type Vtable = ITsSbTaskPlugin_Vtbl; } -impl ::core::clone::Clone for ITsSbTaskPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbTaskPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa22ef0f_8705_41be_93bc_44bdbcf1c9c4); } @@ -4257,6 +3467,7 @@ pub struct ITsSbTaskPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITsSbTaskPluginNotifySink(::windows_core::IUnknown); impl ITsSbTaskPluginNotifySink { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -4298,25 +3509,9 @@ impl ITsSbTaskPluginNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITsSbTaskPluginNotifySink, ::windows_core::IUnknown, ITsSbBaseNotifySink); -impl ::core::cmp::PartialEq for ITsSbTaskPluginNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITsSbTaskPluginNotifySink {} -impl ::core::fmt::Debug for ITsSbTaskPluginNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITsSbTaskPluginNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITsSbTaskPluginNotifySink { type Vtable = ITsSbTaskPluginNotifySink_Vtbl; } -impl ::core::clone::Clone for ITsSbTaskPluginNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITsSbTaskPluginNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aaf899e_c2ec_45ee_aa37_45e60895261a); } @@ -4334,6 +3529,7 @@ pub struct ITsSbTaskPluginNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsEnhancedFastReconnectArbitrator(::windows_core::IUnknown); impl IWRdsEnhancedFastReconnectArbitrator { pub unsafe fn GetSessionForEnhancedFastReconnect(&self, psessionidarray: *const i32, dwsessioncount: u32) -> ::windows_core::Result { @@ -4342,25 +3538,9 @@ impl IWRdsEnhancedFastReconnectArbitrator { } } ::windows_core::imp::interface_hierarchy!(IWRdsEnhancedFastReconnectArbitrator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsEnhancedFastReconnectArbitrator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsEnhancedFastReconnectArbitrator {} -impl ::core::fmt::Debug for IWRdsEnhancedFastReconnectArbitrator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsEnhancedFastReconnectArbitrator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsEnhancedFastReconnectArbitrator { type Vtable = IWRdsEnhancedFastReconnectArbitrator_Vtbl; } -impl ::core::clone::Clone for IWRdsEnhancedFastReconnectArbitrator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsEnhancedFastReconnectArbitrator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5718ae9b_47f2_499f_b634_d8175bd51131); } @@ -4372,6 +3552,7 @@ pub struct IWRdsEnhancedFastReconnectArbitrator_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsGraphicsChannel(::windows_core::IUnknown); impl IWRdsGraphicsChannel { pub unsafe fn Write(&self, cbsize: u32, pbuffer: *const u8, pcontext: P0) -> ::windows_core::Result<()> @@ -4392,25 +3573,9 @@ impl IWRdsGraphicsChannel { } } ::windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsGraphicsChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsGraphicsChannel {} -impl ::core::fmt::Debug for IWRdsGraphicsChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsGraphicsChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsGraphicsChannel { type Vtable = IWRdsGraphicsChannel_Vtbl; } -impl ::core::clone::Clone for IWRdsGraphicsChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsGraphicsChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x684b7a0b_edff_43ad_d5a2_4a8d5388f401); } @@ -4424,6 +3589,7 @@ pub struct IWRdsGraphicsChannel_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsGraphicsChannelEvents(::windows_core::IUnknown); impl IWRdsGraphicsChannelEvents { pub unsafe fn OnDataReceived(&self, cbsize: u32, pbuffer: *const u8) -> ::windows_core::Result<()> { @@ -4452,25 +3618,9 @@ impl IWRdsGraphicsChannelEvents { } } ::windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsGraphicsChannelEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsGraphicsChannelEvents {} -impl ::core::fmt::Debug for IWRdsGraphicsChannelEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsGraphicsChannelEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsGraphicsChannelEvents { type Vtable = IWRdsGraphicsChannelEvents_Vtbl; } -impl ::core::clone::Clone for IWRdsGraphicsChannelEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsGraphicsChannelEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67f2368c_d674_4fae_66a5_d20628a640d2); } @@ -4489,6 +3639,7 @@ pub struct IWRdsGraphicsChannelEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsGraphicsChannelManager(::windows_core::IUnknown); impl IWRdsGraphicsChannelManager { pub unsafe fn CreateChannel(&self, pszchannelname: *const u8, channeltype: WRdsGraphicsChannelType) -> ::windows_core::Result { @@ -4497,25 +3648,9 @@ impl IWRdsGraphicsChannelManager { } } ::windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsGraphicsChannelManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsGraphicsChannelManager {} -impl ::core::fmt::Debug for IWRdsGraphicsChannelManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsGraphicsChannelManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsGraphicsChannelManager { type Vtable = IWRdsGraphicsChannelManager_Vtbl; } -impl ::core::clone::Clone for IWRdsGraphicsChannelManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsGraphicsChannelManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fd57159_e83e_476a_a8b9_4a7976e71e18); } @@ -4527,6 +3662,7 @@ pub struct IWRdsGraphicsChannelManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolConnection(::windows_core::IUnknown); impl IWRdsProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> ::windows_core::Result { @@ -4646,25 +3782,9 @@ impl IWRdsProtocolConnection { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolConnection {} -impl ::core::fmt::Debug for IWRdsProtocolConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolConnection { type Vtable = IWRdsProtocolConnection_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x324ed94f_fdaf_4ff6_81a8_42abe755830b); } @@ -4723,6 +3843,7 @@ pub struct IWRdsProtocolConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolConnectionCallback(::windows_core::IUnknown); impl IWRdsProtocolConnectionCallback { pub unsafe fn OnReady(&self) -> ::windows_core::Result<()> { @@ -4743,25 +3864,9 @@ impl IWRdsProtocolConnectionCallback { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolConnectionCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolConnectionCallback {} -impl ::core::fmt::Debug for IWRdsProtocolConnectionCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolConnectionCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolConnectionCallback { type Vtable = IWRdsProtocolConnectionCallback_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolConnectionCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolConnectionCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1d70332_d070_4ef1_a088_78313536c2d6); } @@ -4777,6 +3882,7 @@ pub struct IWRdsProtocolConnectionCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolConnectionSettings(::windows_core::IUnknown); impl IWRdsProtocolConnectionSettings { pub unsafe fn SetConnectionSetting(&self, propertyid: ::windows_core::GUID, ppropertyentriesin: *const WTS_PROPERTY_VALUE) -> ::windows_core::Result<()> { @@ -4787,25 +3893,9 @@ impl IWRdsProtocolConnectionSettings { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolConnectionSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolConnectionSettings {} -impl ::core::fmt::Debug for IWRdsProtocolConnectionSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolConnectionSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolConnectionSettings { type Vtable = IWRdsProtocolConnectionSettings_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolConnectionSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolConnectionSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83fcf5d3_f6f4_ea94_9cd2_32f280e1e510); } @@ -4818,6 +3908,7 @@ pub struct IWRdsProtocolConnectionSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolLicenseConnection(::windows_core::IUnknown); impl IWRdsProtocolLicenseConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4836,25 +3927,9 @@ impl IWRdsProtocolLicenseConnection { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolLicenseConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolLicenseConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolLicenseConnection {} -impl ::core::fmt::Debug for IWRdsProtocolLicenseConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolLicenseConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolLicenseConnection { type Vtable = IWRdsProtocolLicenseConnection_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolLicenseConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolLicenseConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d6a145f_d095_4424_957a_407fae822d84); } @@ -4872,6 +3947,7 @@ pub struct IWRdsProtocolLicenseConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolListener(::windows_core::IUnknown); impl IWRdsProtocolListener { pub unsafe fn GetSettings(&self, wrdslistenersettinglevel: WRDS_LISTENER_SETTING_LEVEL) -> ::windows_core::Result { @@ -4889,25 +3965,9 @@ impl IWRdsProtocolListener { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolListener {} -impl ::core::fmt::Debug for IWRdsProtocolListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolListener { type Vtable = IWRdsProtocolListener_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcbc131b_c686_451d_a773_e279e230f540); } @@ -4921,6 +3981,7 @@ pub struct IWRdsProtocolListener_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolListenerCallback(::windows_core::IUnknown); impl IWRdsProtocolListenerCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4934,25 +3995,9 @@ impl IWRdsProtocolListenerCallback { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolListenerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolListenerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolListenerCallback {} -impl ::core::fmt::Debug for IWRdsProtocolListenerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolListenerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolListenerCallback { type Vtable = IWRdsProtocolListenerCallback_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolListenerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolListenerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ab27e5b_4449_4dc1_b74a_91621d4fe984); } @@ -4967,6 +4012,7 @@ pub struct IWRdsProtocolListenerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolLogonErrorRedirector(::windows_core::IUnknown); impl IWRdsProtocolLogonErrorRedirector { pub unsafe fn OnBeginPainting(&self) -> ::windows_core::Result<()> { @@ -4997,25 +4043,9 @@ impl IWRdsProtocolLogonErrorRedirector { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolLogonErrorRedirector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolLogonErrorRedirector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolLogonErrorRedirector {} -impl ::core::fmt::Debug for IWRdsProtocolLogonErrorRedirector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolLogonErrorRedirector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolLogonErrorRedirector { type Vtable = IWRdsProtocolLogonErrorRedirector_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolLogonErrorRedirector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolLogonErrorRedirector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x519fe83b_142a_4120_a3d5_a405d315281a); } @@ -5030,6 +4060,7 @@ pub struct IWRdsProtocolLogonErrorRedirector_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolManager(::windows_core::IUnknown); impl IWRdsProtocolManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5069,25 +4100,9 @@ impl IWRdsProtocolManager { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolManager {} -impl ::core::fmt::Debug for IWRdsProtocolManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolManager { type Vtable = IWRdsProtocolManager_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc796967_3abb_40cd_a446_105276b58950); } @@ -5112,6 +4127,7 @@ pub struct IWRdsProtocolManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolSettings(::windows_core::IUnknown); impl IWRdsProtocolSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5126,25 +4142,9 @@ impl IWRdsProtocolSettings { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolSettings {} -impl ::core::fmt::Debug for IWRdsProtocolSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolSettings { type Vtable = IWRdsProtocolSettings_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x654a5a6a_2550_47eb_b6f7_ebd637475265); } @@ -5163,6 +4163,7 @@ pub struct IWRdsProtocolSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolShadowCallback(::windows_core::IUnknown); impl IWRdsProtocolShadowCallback { pub unsafe fn StopShadow(&self) -> ::windows_core::Result<()> { @@ -5177,25 +4178,9 @@ impl IWRdsProtocolShadowCallback { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolShadowCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolShadowCallback {} -impl ::core::fmt::Debug for IWRdsProtocolShadowCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolShadowCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolShadowCallback { type Vtable = IWRdsProtocolShadowCallback_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolShadowCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolShadowCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0667ce0_0372_40d6_adb2_a0f3322674d6); } @@ -5208,6 +4193,7 @@ pub struct IWRdsProtocolShadowCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsProtocolShadowConnection(::windows_core::IUnknown); impl IWRdsProtocolShadowConnection { pub unsafe fn Start(&self, ptargetservername: P0, targetsessionid: u32, hotkeyvk: u8, hotkeymodifiers: u16, pshadowcallback: P1) -> ::windows_core::Result<()> @@ -5228,25 +4214,9 @@ impl IWRdsProtocolShadowConnection { } } ::windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsProtocolShadowConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsProtocolShadowConnection {} -impl ::core::fmt::Debug for IWRdsProtocolShadowConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsProtocolShadowConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsProtocolShadowConnection { type Vtable = IWRdsProtocolShadowConnection_Vtbl; } -impl ::core::clone::Clone for IWRdsProtocolShadowConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsProtocolShadowConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ae85ce6_cade_4548_8feb_99016597f60a); } @@ -5260,6 +4230,7 @@ pub struct IWRdsProtocolShadowConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWRdsWddmIddProps(::windows_core::IUnknown); impl IWRdsWddmIddProps { pub unsafe fn GetHardwareId(&self, pdisplaydriverhardwareid: &[u16]) -> ::windows_core::Result<()> { @@ -5286,25 +4257,9 @@ impl IWRdsWddmIddProps { } } ::windows_core::imp::interface_hierarchy!(IWRdsWddmIddProps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWRdsWddmIddProps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWRdsWddmIddProps {} -impl ::core::fmt::Debug for IWRdsWddmIddProps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWRdsWddmIddProps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWRdsWddmIddProps { type Vtable = IWRdsWddmIddProps_Vtbl; } -impl ::core::clone::Clone for IWRdsWddmIddProps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWRdsWddmIddProps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1382df4d_a289_43d1_a184_144726f9af90); } @@ -5325,6 +4280,7 @@ pub struct IWRdsWddmIddProps_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSBitmapRenderService(::windows_core::IUnknown); impl IWTSBitmapRenderService { pub unsafe fn GetMappedRenderer(&self, mappingid: u64, pmappedrenderercallback: P0) -> ::windows_core::Result @@ -5336,25 +4292,9 @@ impl IWTSBitmapRenderService { } } ::windows_core::imp::interface_hierarchy!(IWTSBitmapRenderService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSBitmapRenderService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSBitmapRenderService {} -impl ::core::fmt::Debug for IWTSBitmapRenderService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSBitmapRenderService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSBitmapRenderService { type Vtable = IWTSBitmapRenderService_Vtbl; } -impl ::core::clone::Clone for IWTSBitmapRenderService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSBitmapRenderService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea326091_05fe_40c1_b49c_3d2ef4626a0e); } @@ -5366,6 +4306,7 @@ pub struct IWTSBitmapRenderService_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSBitmapRenderer(::windows_core::IUnknown); impl IWTSBitmapRenderer { pub unsafe fn Render(&self, imageformat: ::windows_core::GUID, dwwidth: u32, dwheight: u32, cbstride: i32, pimagebuffer: &[u8]) -> ::windows_core::Result<()> { @@ -5380,25 +4321,9 @@ impl IWTSBitmapRenderer { } } ::windows_core::imp::interface_hierarchy!(IWTSBitmapRenderer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSBitmapRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSBitmapRenderer {} -impl ::core::fmt::Debug for IWTSBitmapRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSBitmapRenderer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSBitmapRenderer { type Vtable = IWTSBitmapRenderer_Vtbl; } -impl ::core::clone::Clone for IWTSBitmapRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSBitmapRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b7acc97_f3c9_46f7_8c5b_fa685d3441b1); } @@ -5412,6 +4337,7 @@ pub struct IWTSBitmapRenderer_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSBitmapRendererCallback(::windows_core::IUnknown); impl IWTSBitmapRendererCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5421,25 +4347,9 @@ impl IWTSBitmapRendererCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSBitmapRendererCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSBitmapRendererCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSBitmapRendererCallback {} -impl ::core::fmt::Debug for IWTSBitmapRendererCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSBitmapRendererCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSBitmapRendererCallback { type Vtable = IWTSBitmapRendererCallback_Vtbl; } -impl ::core::clone::Clone for IWTSBitmapRendererCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSBitmapRendererCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd782928e_fe4e_4e77_ae90_9cd0b3e3b353); } @@ -5454,6 +4364,7 @@ pub struct IWTSBitmapRendererCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSListener(::windows_core::IUnknown); impl IWTSListener { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -5464,25 +4375,9 @@ impl IWTSListener { } } ::windows_core::imp::interface_hierarchy!(IWTSListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSListener {} -impl ::core::fmt::Debug for IWTSListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSListener { type Vtable = IWTSListener_Vtbl; } -impl ::core::clone::Clone for IWTSListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230206_9a39_4d58_8674_cdb4dff4e73b); } @@ -5497,6 +4392,7 @@ pub struct IWTSListener_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSListenerCallback(::windows_core::IUnknown); impl IWTSListenerCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5510,25 +4406,9 @@ impl IWTSListenerCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSListenerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSListenerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSListenerCallback {} -impl ::core::fmt::Debug for IWTSListenerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSListenerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSListenerCallback { type Vtable = IWTSListenerCallback_Vtbl; } -impl ::core::clone::Clone for IWTSListenerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSListenerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230203_d6a7_11d8_b9fd_000bdbd1f198); } @@ -5543,6 +4423,7 @@ pub struct IWTSListenerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSPlugin(::windows_core::IUnknown); impl IWTSPlugin { pub unsafe fn Initialize(&self, pchannelmgr: P0) -> ::windows_core::Result<()> @@ -5562,25 +4443,9 @@ impl IWTSPlugin { } } ::windows_core::imp::interface_hierarchy!(IWTSPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSPlugin {} -impl ::core::fmt::Debug for IWTSPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSPlugin { type Vtable = IWTSPlugin_Vtbl; } -impl ::core::clone::Clone for IWTSPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230201_1439_4e62_a414_190d0ac3d40e); } @@ -5595,6 +4460,7 @@ pub struct IWTSPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSPluginServiceProvider(::windows_core::IUnknown); impl IWTSPluginServiceProvider { pub unsafe fn GetService(&self, serviceid: ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5603,25 +4469,9 @@ impl IWTSPluginServiceProvider { } } ::windows_core::imp::interface_hierarchy!(IWTSPluginServiceProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSPluginServiceProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSPluginServiceProvider {} -impl ::core::fmt::Debug for IWTSPluginServiceProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSPluginServiceProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSPluginServiceProvider { type Vtable = IWTSPluginServiceProvider_Vtbl; } -impl ::core::clone::Clone for IWTSPluginServiceProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSPluginServiceProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3e07363_087c_476c_86a7_dbb15f46ddb4); } @@ -5633,6 +4483,7 @@ pub struct IWTSPluginServiceProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolConnection(::windows_core::IUnknown); impl IWTSProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> ::windows_core::Result { @@ -5745,24 +4596,8 @@ impl IWTSProtocolConnection { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolConnection {} -impl ::core::fmt::Debug for IWTSProtocolConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolConnection").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IWTSProtocolConnection { - type Vtable = IWTSProtocolConnection_Vtbl; -} -impl ::core::clone::Clone for IWTSProtocolConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IWTSProtocolConnection { + type Vtable = IWTSProtocolConnection_Vtbl; } unsafe impl ::windows_core::ComInterface for IWTSProtocolConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23083765_9095_4648_98bf_ef81c914032d); @@ -5821,6 +4656,7 @@ pub struct IWTSProtocolConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolConnectionCallback(::windows_core::IUnknown); impl IWTSProtocolConnectionCallback { pub unsafe fn OnReady(&self) -> ::windows_core::Result<()> { @@ -5840,25 +4676,9 @@ impl IWTSProtocolConnectionCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolConnectionCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolConnectionCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolConnectionCallback {} -impl ::core::fmt::Debug for IWTSProtocolConnectionCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolConnectionCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolConnectionCallback { type Vtable = IWTSProtocolConnectionCallback_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolConnectionCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolConnectionCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23083765_75eb_41fe_b4fb_e086242afa0f); } @@ -5874,6 +4694,7 @@ pub struct IWTSProtocolConnectionCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolLicenseConnection(::windows_core::IUnknown); impl IWTSProtocolLicenseConnection { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5892,25 +4713,9 @@ impl IWTSProtocolLicenseConnection { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolLicenseConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolLicenseConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolLicenseConnection {} -impl ::core::fmt::Debug for IWTSProtocolLicenseConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolLicenseConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolLicenseConnection { type Vtable = IWTSProtocolLicenseConnection_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolLicenseConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolLicenseConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23083765_178c_4079_8e4a_fea6496a4d70); } @@ -5928,6 +4733,7 @@ pub struct IWTSProtocolLicenseConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolListener(::windows_core::IUnknown); impl IWTSProtocolListener { pub unsafe fn StartListen(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -5941,25 +4747,9 @@ impl IWTSProtocolListener { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolListener {} -impl ::core::fmt::Debug for IWTSProtocolListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolListener { type Vtable = IWTSProtocolListener_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23083765_45f0_4394_8f69_32b2bc0ef4ca); } @@ -5972,6 +4762,7 @@ pub struct IWTSProtocolListener_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolListenerCallback(::windows_core::IUnknown); impl IWTSProtocolListenerCallback { pub unsafe fn OnConnected(&self, pconnection: P0) -> ::windows_core::Result @@ -5983,25 +4774,9 @@ impl IWTSProtocolListenerCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolListenerCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolListenerCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolListenerCallback {} -impl ::core::fmt::Debug for IWTSProtocolListenerCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolListenerCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolListenerCallback { type Vtable = IWTSProtocolListenerCallback_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolListenerCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolListenerCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23083765_1a2d_4de2_97de_4a35f260f0b3); } @@ -6013,6 +4788,7 @@ pub struct IWTSProtocolListenerCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolLogonErrorRedirector(::windows_core::IUnknown); impl IWTSProtocolLogonErrorRedirector { pub unsafe fn OnBeginPainting(&self) -> ::windows_core::Result<()> { @@ -6043,25 +4819,9 @@ impl IWTSProtocolLogonErrorRedirector { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolLogonErrorRedirector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolLogonErrorRedirector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolLogonErrorRedirector {} -impl ::core::fmt::Debug for IWTSProtocolLogonErrorRedirector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolLogonErrorRedirector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolLogonErrorRedirector { type Vtable = IWTSProtocolLogonErrorRedirector_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolLogonErrorRedirector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolLogonErrorRedirector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd9b61a7_2916_4627_8dee_4328711ad6cb); } @@ -6076,6 +4836,7 @@ pub struct IWTSProtocolLogonErrorRedirector_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolManager(::windows_core::IUnknown); impl IWTSProtocolManager { pub unsafe fn CreateListener(&self, wszlistenername: P0) -> ::windows_core::Result @@ -6099,25 +4860,9 @@ impl IWTSProtocolManager { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolManager {} -impl ::core::fmt::Debug for IWTSProtocolManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolManager { type Vtable = IWTSProtocolManager_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9eaf6cc_ed79_4f01_821d_1f881b9f66cc); } @@ -6133,6 +4878,7 @@ pub struct IWTSProtocolManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolShadowCallback(::windows_core::IUnknown); impl IWTSProtocolShadowCallback { pub unsafe fn StopShadow(&self) -> ::windows_core::Result<()> { @@ -6147,25 +4893,9 @@ impl IWTSProtocolShadowCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolShadowCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolShadowCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolShadowCallback {} -impl ::core::fmt::Debug for IWTSProtocolShadowCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolShadowCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolShadowCallback { type Vtable = IWTSProtocolShadowCallback_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolShadowCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolShadowCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x503a2504_aae5_4ab1_93e0_6d1c4bc6f71a); } @@ -6178,6 +4908,7 @@ pub struct IWTSProtocolShadowCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSProtocolShadowConnection(::windows_core::IUnknown); impl IWTSProtocolShadowConnection { pub unsafe fn Start(&self, ptargetservername: P0, targetsessionid: u32, hotkeyvk: u8, hotkeymodifiers: u16, pshadowcallback: P1) -> ::windows_core::Result<()> @@ -6198,25 +4929,9 @@ impl IWTSProtocolShadowConnection { } } ::windows_core::imp::interface_hierarchy!(IWTSProtocolShadowConnection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSProtocolShadowConnection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSProtocolShadowConnection {} -impl ::core::fmt::Debug for IWTSProtocolShadowConnection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSProtocolShadowConnection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSProtocolShadowConnection { type Vtable = IWTSProtocolShadowConnection_Vtbl; } -impl ::core::clone::Clone for IWTSProtocolShadowConnection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSProtocolShadowConnection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee3b0c14_37fb_456b_bab3_6d6cd51e13bf); } @@ -6230,6 +4945,7 @@ pub struct IWTSProtocolShadowConnection_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSSBPlugin(::windows_core::IUnknown); impl IWTSSBPlugin { pub unsafe fn Initialize(&self) -> ::windows_core::Result { @@ -6266,25 +4982,9 @@ impl IWTSSBPlugin { } } ::windows_core::imp::interface_hierarchy!(IWTSSBPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSSBPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSSBPlugin {} -impl ::core::fmt::Debug for IWTSSBPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSSBPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSSBPlugin { type Vtable = IWTSSBPlugin_Vtbl; } -impl ::core::clone::Clone for IWTSSBPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSSBPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc44be78_b18d_4399_b210_641bf67a002c); } @@ -6304,6 +5004,7 @@ pub struct IWTSSBPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSVirtualChannel(::windows_core::IUnknown); impl IWTSVirtualChannel { pub unsafe fn Write(&self, pbuffer: &[u8], preserved: P0) -> ::windows_core::Result<()> @@ -6317,25 +5018,9 @@ impl IWTSVirtualChannel { } } ::windows_core::imp::interface_hierarchy!(IWTSVirtualChannel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSVirtualChannel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSVirtualChannel {} -impl ::core::fmt::Debug for IWTSVirtualChannel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSVirtualChannel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSVirtualChannel { type Vtable = IWTSVirtualChannel_Vtbl; } -impl ::core::clone::Clone for IWTSVirtualChannel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSVirtualChannel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230207_d6a7_11d8_b9fd_000bdbd1f198); } @@ -6348,6 +5033,7 @@ pub struct IWTSVirtualChannel_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSVirtualChannelCallback(::windows_core::IUnknown); impl IWTSVirtualChannelCallback { pub unsafe fn OnDataReceived(&self, pbuffer: &[u8]) -> ::windows_core::Result<()> { @@ -6358,25 +5044,9 @@ impl IWTSVirtualChannelCallback { } } ::windows_core::imp::interface_hierarchy!(IWTSVirtualChannelCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSVirtualChannelCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSVirtualChannelCallback {} -impl ::core::fmt::Debug for IWTSVirtualChannelCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSVirtualChannelCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSVirtualChannelCallback { type Vtable = IWTSVirtualChannelCallback_Vtbl; } -impl ::core::clone::Clone for IWTSVirtualChannelCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSVirtualChannelCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230204_d6a7_11d8_b9fd_000bdbd1f198); } @@ -6389,6 +5059,7 @@ pub struct IWTSVirtualChannelCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWTSVirtualChannelManager(::windows_core::IUnknown); impl IWTSVirtualChannelManager { pub unsafe fn CreateListener(&self, pszchannelname: P0, uflags: u32, plistenercallback: P1) -> ::windows_core::Result @@ -6401,25 +5072,9 @@ impl IWTSVirtualChannelManager { } } ::windows_core::imp::interface_hierarchy!(IWTSVirtualChannelManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWTSVirtualChannelManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWTSVirtualChannelManager {} -impl ::core::fmt::Debug for IWTSVirtualChannelManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWTSVirtualChannelManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWTSVirtualChannelManager { type Vtable = IWTSVirtualChannelManager_Vtbl; } -impl ::core::clone::Clone for IWTSVirtualChannelManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWTSVirtualChannelManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1230205_d6a7_11d8_b9fd_000bdbd1f198); } @@ -6431,6 +5086,7 @@ pub struct IWTSVirtualChannelManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspace(::windows_core::IUnknown); impl IWorkspace { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6453,25 +5109,9 @@ impl IWorkspace { } } ::windows_core::imp::interface_hierarchy!(IWorkspace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWorkspace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspace {} -impl ::core::fmt::Debug for IWorkspace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspace").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspace { type Vtable = IWorkspace_Vtbl; } -impl ::core::clone::Clone for IWorkspace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb922bbb8_4c55_4fea_8496_beb0b44285e5); } @@ -6491,6 +5131,7 @@ pub struct IWorkspace_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspace2(::windows_core::IUnknown); impl IWorkspace2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6525,25 +5166,9 @@ impl IWorkspace2 { } } ::windows_core::imp::interface_hierarchy!(IWorkspace2, ::windows_core::IUnknown, IWorkspace); -impl ::core::cmp::PartialEq for IWorkspace2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspace2 {} -impl ::core::fmt::Debug for IWorkspace2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspace2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspace2 { type Vtable = IWorkspace2_Vtbl; } -impl ::core::clone::Clone for IWorkspace2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspace2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96d8d7cf_783e_4286_834c_ebc0e95f783c); } @@ -6558,6 +5183,7 @@ pub struct IWorkspace2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspace3(::windows_core::IUnknown); impl IWorkspace3 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6609,25 +5235,9 @@ impl IWorkspace3 { } } ::windows_core::imp::interface_hierarchy!(IWorkspace3, ::windows_core::IUnknown, IWorkspace, IWorkspace2); -impl ::core::cmp::PartialEq for IWorkspace3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspace3 {} -impl ::core::fmt::Debug for IWorkspace3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspace3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspace3 { type Vtable = IWorkspace3_Vtbl; } -impl ::core::clone::Clone for IWorkspace3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspace3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1becbe4a_d654_423b_afeb_be8d532c13c6); } @@ -6643,6 +5253,7 @@ pub struct IWorkspace3_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceClientExt(::windows_core::IUnknown); impl IWorkspaceClientExt { pub unsafe fn GetResourceId(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -6658,25 +5269,9 @@ impl IWorkspaceClientExt { } } ::windows_core::imp::interface_hierarchy!(IWorkspaceClientExt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWorkspaceClientExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspaceClientExt {} -impl ::core::fmt::Debug for IWorkspaceClientExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceClientExt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspaceClientExt { type Vtable = IWorkspaceClientExt_Vtbl; } -impl ::core::clone::Clone for IWorkspaceClientExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspaceClientExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12b952f4_41ca_4f21_a829_a6d07d9a16e5); } @@ -6690,6 +5285,7 @@ pub struct IWorkspaceClientExt_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceRegistration(::windows_core::IUnknown); impl IWorkspaceRegistration { pub unsafe fn AddResource(&self, punk: P0) -> ::windows_core::Result @@ -6704,25 +5300,9 @@ impl IWorkspaceRegistration { } } ::windows_core::imp::interface_hierarchy!(IWorkspaceRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWorkspaceRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspaceRegistration {} -impl ::core::fmt::Debug for IWorkspaceRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspaceRegistration { type Vtable = IWorkspaceRegistration_Vtbl; } -impl ::core::clone::Clone for IWorkspaceRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspaceRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb922bbb8_4c55_4fea_8496_beb0b44285e6); } @@ -6735,6 +5315,7 @@ pub struct IWorkspaceRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceRegistration2(::windows_core::IUnknown); impl IWorkspaceRegistration2 { pub unsafe fn AddResource(&self, punk: P0) -> ::windows_core::Result @@ -6759,25 +5340,9 @@ impl IWorkspaceRegistration2 { } } ::windows_core::imp::interface_hierarchy!(IWorkspaceRegistration2, ::windows_core::IUnknown, IWorkspaceRegistration); -impl ::core::cmp::PartialEq for IWorkspaceRegistration2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspaceRegistration2 {} -impl ::core::fmt::Debug for IWorkspaceRegistration2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceRegistration2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspaceRegistration2 { type Vtable = IWorkspaceRegistration2_Vtbl; } -impl ::core::clone::Clone for IWorkspaceRegistration2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspaceRegistration2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf59f654_39bb_44d8_94d0_4635728957e9); } @@ -6790,6 +5355,7 @@ pub struct IWorkspaceRegistration2_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceReportMessage(::windows_core::IUnknown); impl IWorkspaceReportMessage { pub unsafe fn RegisterErrorLogMessage(&self, bstrmessage: P0) -> ::windows_core::Result<()> @@ -6817,25 +5383,9 @@ impl IWorkspaceReportMessage { } } ::windows_core::imp::interface_hierarchy!(IWorkspaceReportMessage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWorkspaceReportMessage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWorkspaceReportMessage {} -impl ::core::fmt::Debug for IWorkspaceReportMessage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceReportMessage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWorkspaceReportMessage { type Vtable = IWorkspaceReportMessage_Vtbl; } -impl ::core::clone::Clone for IWorkspaceReportMessage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWorkspaceReportMessage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7c06739_500f_4e8c_99a8_2bd6955899eb); } @@ -6853,6 +5403,7 @@ pub struct IWorkspaceReportMessage_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceResTypeRegistry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWorkspaceResTypeRegistry { @@ -6908,30 +5459,10 @@ impl IWorkspaceResTypeRegistry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWorkspaceResTypeRegistry, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWorkspaceResTypeRegistry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWorkspaceResTypeRegistry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWorkspaceResTypeRegistry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceResTypeRegistry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWorkspaceResTypeRegistry { type Vtable = IWorkspaceResTypeRegistry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWorkspaceResTypeRegistry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWorkspaceResTypeRegistry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d428c79_6e2e_4351_a361_c0401a03a0ba); } @@ -6964,6 +5495,7 @@ pub struct IWorkspaceResTypeRegistry_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceScriptable(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable { @@ -7021,30 +5553,10 @@ impl IWorkspaceScriptable { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWorkspaceScriptable, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWorkspaceScriptable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWorkspaceScriptable {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWorkspaceScriptable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceScriptable").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWorkspaceScriptable { type Vtable = IWorkspaceScriptable_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWorkspaceScriptable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWorkspaceScriptable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefea49a2_dda5_429d_8f42_b23b92c4c347); } @@ -7070,6 +5582,7 @@ pub struct IWorkspaceScriptable_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceScriptable2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable2 { @@ -7146,30 +5659,10 @@ impl IWorkspaceScriptable2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWorkspaceScriptable2, ::windows_core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWorkspaceScriptable2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWorkspaceScriptable2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWorkspaceScriptable2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceScriptable2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWorkspaceScriptable2 { type Vtable = IWorkspaceScriptable2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWorkspaceScriptable2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWorkspaceScriptable2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefea49a2_dda5_429d_8f42_b33ba2c4c348); } @@ -7184,6 +5677,7 @@ pub struct IWorkspaceScriptable2_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWorkspaceScriptable3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWorkspaceScriptable3 { @@ -7273,30 +5767,10 @@ impl IWorkspaceScriptable3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWorkspaceScriptable3, ::windows_core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable, IWorkspaceScriptable2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWorkspaceScriptable3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWorkspaceScriptable3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWorkspaceScriptable3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWorkspaceScriptable3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWorkspaceScriptable3 { type Vtable = IWorkspaceScriptable3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWorkspaceScriptable3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWorkspaceScriptable3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x531e6512_2cbf_4bd2_80a5_d90a71636a9a); } @@ -7309,6 +5783,7 @@ pub struct IWorkspaceScriptable3_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ItsPubPlugin(::windows_core::IUnknown); impl ItsPubPlugin { pub unsafe fn GetResourceList(&self, userid: P0, pceapplistsize: *mut i32, resourcelist: *mut *mut pluginResource) -> ::windows_core::Result<()> @@ -7344,25 +5819,9 @@ impl ItsPubPlugin { } } ::windows_core::imp::interface_hierarchy!(ItsPubPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ItsPubPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ItsPubPlugin {} -impl ::core::fmt::Debug for ItsPubPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ItsPubPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ItsPubPlugin { type Vtable = ItsPubPlugin_Vtbl; } -impl ::core::clone::Clone for ItsPubPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ItsPubPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70c04b05_f347_412b_822f_36c99c54ca45); } @@ -7379,6 +5838,7 @@ pub struct ItsPubPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ItsPubPlugin2(::windows_core::IUnknown); impl ItsPubPlugin2 { pub unsafe fn GetResourceList(&self, userid: P0, pceapplistsize: *mut i32, resourcelist: *mut *mut pluginResource) -> ::windows_core::Result<()> @@ -7441,25 +5901,9 @@ impl ItsPubPlugin2 { } } ::windows_core::imp::interface_hierarchy!(ItsPubPlugin2, ::windows_core::IUnknown, ItsPubPlugin); -impl ::core::cmp::PartialEq for ItsPubPlugin2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ItsPubPlugin2 {} -impl ::core::fmt::Debug for ItsPubPlugin2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ItsPubPlugin2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ItsPubPlugin2 { type Vtable = ItsPubPlugin2_Vtbl; } -impl ::core::clone::Clone for ItsPubPlugin2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ItsPubPlugin2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa4ce418_aad7_4ec6_bad1_0a321ba465d5); } @@ -7475,36 +5919,17 @@ pub struct ItsPubPlugin2_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _ITSWkspEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _ITSWkspEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_ITSWkspEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _ITSWkspEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _ITSWkspEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _ITSWkspEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_ITSWkspEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _ITSWkspEvents { type Vtable = _ITSWkspEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _ITSWkspEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _ITSWkspEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb922bbb8_4c55_4fea_8496_beb0b44285e9); } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs index 411655f55b..b97bcb9542 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs @@ -63,8 +63,8 @@ impl IWSMan_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IWSManConnectionOptions_Vtbl { SetPassword: SetPassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -144,8 +144,8 @@ impl IWSManConnectionOptionsEx_Vtbl { SetCertificateThumbprint: SetCertificateThumbprint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IWSManConnectionOptionsEx2_Vtbl { ProxyAuthenticationUseDigest: ProxyAuthenticationUseDigest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -315,8 +315,8 @@ impl IWSManEnumerator_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -592,8 +592,8 @@ impl IWSManEx_Vtbl { EnumerationFlagReturnObject: EnumerationFlagReturnObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -622,8 +622,8 @@ impl IWSManEx2_Vtbl { SessionFlagUseClientCertificate: SessionFlagUseClientCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -730,8 +730,8 @@ impl IWSManEx3_Vtbl { SessionFlagUseSsl: SessionFlagUseSsl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -757,8 +757,8 @@ impl IWSManInternal_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConfigSDDL: ConfigSDDL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -895,8 +895,8 @@ impl IWSManResourceLocator_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"implement\"`*"] @@ -906,8 +906,8 @@ impl IWSManResourceLocatorInternal_Vtbl { pub const fn new, Impl: IWSManResourceLocatorInternal_Impl, const OFFSET: isize>() -> IWSManResourceLocatorInternal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1061,7 +1061,7 @@ impl IWSManSession_Vtbl { SetTimeout: SetTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs index dca0ddc6d9..dc14dca113 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -333,6 +333,7 @@ where #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSMan(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSMan { @@ -364,30 +365,10 @@ impl IWSMan { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSMan, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSMan { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSMan {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSMan { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSMan").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSMan { type Vtable = IWSMan_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSMan { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSMan { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x190d8637_5cd3_496d_ad24_69636bb5a3b5); } @@ -410,6 +391,7 @@ pub struct IWSMan_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManConnectionOptions(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptions { @@ -433,30 +415,10 @@ impl IWSManConnectionOptions { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManConnectionOptions, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManConnectionOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManConnectionOptions {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManConnectionOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManConnectionOptions").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManConnectionOptions { type Vtable = IWSManConnectionOptions_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManConnectionOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManConnectionOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf704e861_9e52_464f_b786_da5eb2320fdd); } @@ -472,6 +434,7 @@ pub struct IWSManConnectionOptions_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManConnectionOptionsEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptionsEx { @@ -505,30 +468,10 @@ impl IWSManConnectionOptionsEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManConnectionOptionsEx, ::windows_core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManConnectionOptionsEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManConnectionOptionsEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManConnectionOptionsEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManConnectionOptionsEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManConnectionOptionsEx { type Vtable = IWSManConnectionOptionsEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManConnectionOptionsEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManConnectionOptionsEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef43edf7_2a48_4d93_9526_8bd6ab6d4a6b); } @@ -543,6 +486,7 @@ pub struct IWSManConnectionOptionsEx_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManConnectionOptionsEx2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManConnectionOptionsEx2 { @@ -611,30 +555,10 @@ impl IWSManConnectionOptionsEx2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManConnectionOptionsEx2, ::windows_core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions, IWSManConnectionOptionsEx); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManConnectionOptionsEx2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManConnectionOptionsEx2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManConnectionOptionsEx2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManConnectionOptionsEx2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManConnectionOptionsEx2 { type Vtable = IWSManConnectionOptionsEx2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManConnectionOptionsEx2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManConnectionOptionsEx2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf500c9ec_24ee_48ab_b38d_fc9a164c658e); } @@ -655,6 +579,7 @@ pub struct IWSManConnectionOptionsEx2_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManEnumerator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManEnumerator { @@ -676,30 +601,10 @@ impl IWSManEnumerator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManEnumerator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManEnumerator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManEnumerator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManEnumerator { type Vtable = IWSManEnumerator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3457ca9_abb9_4fa5_b850_90e8ca300e7f); } @@ -718,6 +623,7 @@ pub struct IWSManEnumerator_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManEx { @@ -834,30 +740,10 @@ impl IWSManEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManEx, ::windows_core::IUnknown, super::Com::IDispatch, IWSMan); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManEx { type Vtable = IWSManEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d53bdaa_798e_49e6_a1aa_74d01256f411); } @@ -893,6 +779,7 @@ pub struct IWSManEx_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManEx2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManEx2 { @@ -1013,30 +900,10 @@ impl IWSManEx2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManEx2, ::windows_core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManEx2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManEx2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManEx2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManEx2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManEx2 { type Vtable = IWSManEx2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManEx2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManEx2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d1b5ae0_42d9_4021_8261_3987619512e9); } @@ -1050,6 +917,7 @@ pub struct IWSManEx2_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManEx3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManEx3 { @@ -1198,30 +1066,10 @@ impl IWSManEx3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManEx3, ::windows_core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx, IWSManEx2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManEx3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManEx3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManEx3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManEx3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManEx3 { type Vtable = IWSManEx3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManEx3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManEx3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6400e966_011d_4eac_8474_049e0848afad); } @@ -1241,6 +1089,7 @@ pub struct IWSManEx3_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManInternal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManInternal { @@ -1257,30 +1106,10 @@ impl IWSManInternal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManInternal, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManInternal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManInternal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManInternal { type Vtable = IWSManInternal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04ae2b1d_9954_4d99_94a9_a961e72c3a13); } @@ -1297,6 +1126,7 @@ pub struct IWSManInternal_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManResourceLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManResourceLocator { @@ -1375,30 +1205,10 @@ impl IWSManResourceLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManResourceLocator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManResourceLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManResourceLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManResourceLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManResourceLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManResourceLocator { type Vtable = IWSManResourceLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManResourceLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManResourceLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7a1ba28_de41_466a_ad0a_c4059ead7428); } @@ -1435,28 +1245,13 @@ pub struct IWSManResourceLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManResourceLocatorInternal(::windows_core::IUnknown); impl IWSManResourceLocatorInternal {} ::windows_core::imp::interface_hierarchy!(IWSManResourceLocatorInternal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWSManResourceLocatorInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWSManResourceLocatorInternal {} -impl ::core::fmt::Debug for IWSManResourceLocatorInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManResourceLocatorInternal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWSManResourceLocatorInternal { type Vtable = IWSManResourceLocatorInternal_Vtbl; } -impl ::core::clone::Clone for IWSManResourceLocatorInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWSManResourceLocatorInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeffaead7_7ec8_4716_b9be_f2e7e9fb4adb); } @@ -1468,6 +1263,7 @@ pub struct IWSManResourceLocatorInternal_Vtbl { #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSManSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSManSession { @@ -1546,30 +1342,10 @@ impl IWSManSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSManSession, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSManSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSManSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSManSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSManSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSManSession { type Vtable = IWSManSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSManSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSManSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc84fc58_1286_40c4_9da0_c8ef6ec241e0); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index b223abfac2..a2c5a5b963 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -61,8 +61,8 @@ impl DataSource_Vtbl { removeDataSourceListener: removeDataSourceListener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl DataSourceListener_Vtbl { dataMemberRemoved: dataMemberRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl DataSourceObject_Vtbl { pub const fn new, Impl: DataSourceObject_Impl, const OFFSET: isize>() -> DataSourceObject_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IAccessor_Vtbl { ReleaseAccessor: ReleaseAccessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl IAlterIndex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AlterIndex: AlterIndex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl IAlterTable_Vtbl { AlterTable: AlterTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -228,8 +228,8 @@ impl IBindResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Bind: Bind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IChapteredRowset_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IColumnMapper_Vtbl { IsMapUpToDate: IsMapUpToDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl IColumnMapperCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetColumnMapper: GetColumnMapper:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IColumnsInfo_Vtbl { MapColumnIDs: MapColumnIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IColumnsInfo2_Vtbl { } Self { base__: IColumnsInfo_Vtbl::new::(), GetRestrictedColumnInfo: GetRestrictedColumnInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IColumnsRowset_Vtbl { GetColumnsRowset: GetColumnsRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl ICommand_Vtbl { GetDBSession: GetDBSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -505,8 +505,8 @@ impl ICommandCost_Vtbl { SetCostLimits: SetCostLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -556,8 +556,8 @@ impl ICommandPersist_Vtbl { SaveCommand: SaveCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl ICommandPrepare_Vtbl { Unprepare: Unprepare::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl ICommandProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl ICommandStream_Vtbl { SetCommandStream: SetCommandStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl ICommandText_Vtbl { SetCommandText: SetCommandText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl ICommandValidate_Vtbl { ValidateSyntax: ValidateSyntax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl ICommandWithParameters_Vtbl { SetParameterInfo: SetParameterInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -827,8 +827,8 @@ impl ICondition_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl ICondition2_Vtbl { GetLeafConditionInfo: GetLeafConditionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IConditionFactory_Vtbl { Resolve: Resolve::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IConditionFactory2_Vtbl { ResolveCondition: ResolveCondition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IConditionGenerator_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1090,8 +1090,8 @@ impl IConvertType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanConvert: CanConvert:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1111,8 +1111,8 @@ impl ICreateRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRow: CreateRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1146,8 +1146,8 @@ impl IDBAsynchNotify_Vtbl { OnStop: OnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1174,8 +1174,8 @@ impl IDBAsynchStatus_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IDBBinderProperties_Vtbl { } Self { base__: IDBProperties_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1219,8 +1219,8 @@ impl IDBCreateCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCommand: CreateCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IDBCreateSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1288,8 +1288,8 @@ impl IDBDataSourceAdmin_Vtbl { ModifyDataSource: ModifyDataSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1325,8 +1325,8 @@ impl IDBInfo_Vtbl { GetLiteralInfo: GetLiteralInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1353,8 +1353,8 @@ impl IDBInitialize_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IDBPromptInitialize_Vtbl { PromptFileName: PromptFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1428,8 +1428,8 @@ impl IDBProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1462,8 +1462,8 @@ impl IDBSchemaCommand_Vtbl { GetSchemas: GetSchemas::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1493,8 +1493,8 @@ impl IDBSchemaRowset_Vtbl { GetSchemas: GetSchemas::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1524,8 +1524,8 @@ impl IDCInfo_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1573,8 +1573,8 @@ impl IDataConvert_Vtbl { GetConversionSize: GetConversionSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1650,8 +1650,8 @@ impl IDataInitialize_Vtbl { WriteStringToStorage: WriteStringToStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1707,8 +1707,8 @@ impl IDataSourceLocator_Vtbl { PromptEdit: PromptEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1859,8 +1859,8 @@ impl IEnumItemProperties_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1907,8 +1907,8 @@ impl IEnumSearchRoots_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1955,8 +1955,8 @@ impl IEnumSearchScopeRules_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2016,8 +2016,8 @@ impl IEnumSubscription_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2054,8 +2054,8 @@ impl IErrorLookup_Vtbl { ReleaseErrors: ReleaseErrors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2137,8 +2137,8 @@ impl IErrorRecords_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2161,8 +2161,8 @@ impl IGetDataSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataSource: GetDataSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2201,8 +2201,8 @@ impl IGetRow_Vtbl { GetURLFromHROW: GetURLFromHROW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2225,8 +2225,8 @@ impl IGetSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSession: GetSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2249,8 +2249,8 @@ impl IGetSourceRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourceRow: GetSourceRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2280,8 +2280,8 @@ impl IIndexDefinition_Vtbl { DropIndex: DropIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2301,8 +2301,8 @@ impl IInterval_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLimits: GetLimits:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl ILoadFilter_Vtbl { LoadIFilterFromStream: LoadIFilterFromStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2363,8 +2363,8 @@ impl ILoadFilterWithPrivateComActivation_Vtbl { LoadIFilterWithPrivateComActivation: LoadIFilterWithPrivateComActivation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2421,8 +2421,8 @@ impl IMDDataset_Vtbl { GetSpecification: GetSpecification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2461,8 +2461,8 @@ impl IMDFind_Vtbl { FindTuple: FindTuple::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2482,8 +2482,8 @@ impl IMDRangeRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRangeRowset: GetRangeRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2500,8 +2500,8 @@ impl IMetaData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2518,8 +2518,8 @@ impl IMultipleResults_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResult: GetResult:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2552,8 +2552,8 @@ impl INamedEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2570,8 +2570,8 @@ impl INamedEntityCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IObjectAccessControl_Vtbl { SetObjectOwner: SetObjectOwner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2690,8 +2690,8 @@ impl IOpLockStatus_Vtbl { GetOplockEventHandle: GetOplockEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2711,8 +2711,8 @@ impl IOpenRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenRowset: OpenRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2735,8 +2735,8 @@ impl IParentRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetChildRowset: GetChildRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -2762,8 +2762,8 @@ impl IProtocolHandlerSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFilter: GetFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2789,8 +2789,8 @@ impl IProvideMoniker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMoniker: GetMoniker:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2892,8 +2892,8 @@ impl IQueryParser_Vtbl { RestatePropertyValueToString: RestatePropertyValueToString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl IQueryParserManager_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2968,8 +2968,8 @@ impl IQuerySolution_Vtbl { GetLexicalData: GetLexicalData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2996,8 +2996,8 @@ impl IReadData_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3037,8 +3037,8 @@ impl IRegisterProvider_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3101,8 +3101,8 @@ impl IRelationship_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3122,8 +3122,8 @@ impl IRichChunk_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -3160,8 +3160,8 @@ impl IRow_Vtbl { Open: Open::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -3181,8 +3181,8 @@ impl IRowChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColumns: SetColumns:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IRowPosition_Vtbl { SetRowPosition: SetRowPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3257,8 +3257,8 @@ impl IRowPositionChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnRowPositionChange: OnRowPositionChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3288,8 +3288,8 @@ impl IRowSchemaChange_Vtbl { AddColumns: AddColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3337,8 +3337,8 @@ impl IRowset_Vtbl { RestartPosition: RestartPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3368,8 +3368,8 @@ impl IRowsetAsynch_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3386,8 +3386,8 @@ impl IRowsetBookmark_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PositionOnBookmark: PositionOnBookmark:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3427,8 +3427,8 @@ impl IRowsetChange_Vtbl { InsertRow: InsertRow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3455,8 +3455,8 @@ impl IRowsetChangeExtInfo_Vtbl { GetPendingColumns: GetPendingColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3473,8 +3473,8 @@ impl IRowsetChapterMember_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsRowInChapter: IsRowInChapter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3527,8 +3527,8 @@ impl IRowsetCopyRows_Vtbl { DefineSource: DefineSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3564,8 +3564,8 @@ impl IRowsetCurrentIndex_Vtbl { SetIndex: SetIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3609,8 +3609,8 @@ impl IRowsetEvents_Vtbl { OnRowsetEvent: OnRowsetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3627,8 +3627,8 @@ impl IRowsetExactScroll_Vtbl { } Self { base__: IRowsetScroll_Vtbl::new::(), GetExactPosition: GetExactPosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3658,8 +3658,8 @@ impl IRowsetFastLoad_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3676,8 +3676,8 @@ impl IRowsetFind_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindNextRow: FindNextRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IRowsetIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameRow: IsSameRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IRowsetIndex_Vtbl { SetRange: SetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3782,8 +3782,8 @@ impl IRowsetInfo_Vtbl { GetSpecification: GetSpecification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl IRowsetKeys_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ListKeys: ListKeys:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3848,8 +3848,8 @@ impl IRowsetLocate_Vtbl { Hash: Hash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3872,8 +3872,8 @@ impl IRowsetNewRowAfter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNewDataAfter: SetNewDataAfter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3896,8 +3896,8 @@ impl IRowsetNextRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextRowset: GetNextRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3934,8 +3934,8 @@ impl IRowsetNotify_Vtbl { OnRowsetChange: OnRowsetChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3969,8 +3969,8 @@ impl IRowsetPrioritization_Vtbl { GetScopeStatistics: GetScopeStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3997,8 +3997,8 @@ impl IRowsetQueryStatus_Vtbl { GetStatusEx: GetStatusEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4028,8 +4028,8 @@ impl IRowsetRefresh_Vtbl { GetLastVisibleData: GetLastVisibleData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl IRowsetResynch_Vtbl { ResynchRows: ResynchRows::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4084,8 +4084,8 @@ impl IRowsetScroll_Vtbl { GetRowsAtRatio: GetRowsAtRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4133,8 +4133,8 @@ impl IRowsetUpdate_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4167,8 +4167,8 @@ impl IRowsetView_Vtbl { GetView: GetView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4202,8 +4202,8 @@ impl IRowsetWatchAll_Vtbl { StopWatching: StopWatching::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4220,8 +4220,8 @@ impl IRowsetWatchNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4282,8 +4282,8 @@ impl IRowsetWatchRegion_Vtbl { ShrinkWatchRegion: ShrinkWatchRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4313,8 +4313,8 @@ impl IRowsetWithParameters_Vtbl { Requery: Requery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4331,8 +4331,8 @@ impl ISQLErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSQLInfo: GetSQLInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ISQLGetDiagField_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiagField: GetDiagField:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4373,8 +4373,8 @@ impl ISQLRequestDiagFields_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestDiagFields: RequestDiagFields:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4391,8 +4391,8 @@ impl ISQLServerErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl ISchemaLocalizerSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Localize: Localize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -4446,8 +4446,8 @@ impl ISchemaLock_Vtbl { ReleaseSchemaLock: ReleaseSchemaLock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4521,8 +4521,8 @@ impl ISchemaProvider_Vtbl { LookupAuthoredNamedEntity: LookupAuthoredNamedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4566,8 +4566,8 @@ impl IScopedOperations_Vtbl { OpenRowset: OpenRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4843,8 +4843,8 @@ impl ISearchCatalogManager_Vtbl { GetCrawlScopeManager: GetCrawlScopeManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl ISearchCatalogManager2_Vtbl { } Self { base__: ISearchCatalogManager_Vtbl::new::(), PrioritizeMatchingURLs: PrioritizeMatchingURLs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5029,8 +5029,8 @@ impl ISearchCrawlScopeManager_Vtbl { RemoveDefaultScopeRule: RemoveDefaultScopeRule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5050,8 +5050,8 @@ impl ISearchCrawlScopeManager2_Vtbl { } Self { base__: ISearchCrawlScopeManager_Vtbl::new::(), GetVersion: GetVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5088,8 +5088,8 @@ impl ISearchItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5152,8 +5152,8 @@ impl ISearchLanguageSupport_Vtbl { IsPrefixNormalized: IsPrefixNormalized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl ISearchManager_Vtbl { PortNumber: PortNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5351,8 +5351,8 @@ impl ISearchManager2_Vtbl { DeleteCatalog: DeleteCatalog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5379,8 +5379,8 @@ impl ISearchNotifyInlineSite_Vtbl { OnCatalogStatusChange: OnCatalogStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5414,8 +5414,8 @@ impl ISearchPersistentItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5465,8 +5465,8 @@ impl ISearchProtocol_Vtbl { ShutDown: ShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5492,8 +5492,8 @@ impl ISearchProtocol2_Vtbl { } Self { base__: ISearchProtocol_Vtbl::new::(), CreateAccessorEx: CreateAccessorEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5527,8 +5527,8 @@ impl ISearchProtocolThreadContext_Vtbl { ThreadIdle: ThreadIdle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5757,8 +5757,8 @@ impl ISearchQueryHelper_Vtbl { QueryMaxResults: QueryMaxResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5795,8 +5795,8 @@ impl ISearchQueryHits_Vtbl { NextHitOffset: NextHitOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6032,8 +6032,8 @@ impl ISearchRoot_Vtbl { Password: Password::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6101,8 +6101,8 @@ impl ISearchScopeRule_Vtbl { FollowFlags: FollowFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6122,8 +6122,8 @@ impl ISearchViewChangedSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Security_Authorization\"`, `\"implement\"`*"] @@ -6172,8 +6172,8 @@ impl ISecurityInfo_Vtbl { GetPermissions: GetPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6190,8 +6190,8 @@ impl IService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeService: InvokeService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6221,8 +6221,8 @@ impl ISessionProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6256,8 +6256,8 @@ impl ISimpleCommandCreator_Vtbl { GetDefaultCatalog: GetDefaultCatalog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6277,8 +6277,8 @@ impl ISourcesRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourcesRowset: GetSourcesRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6315,8 +6315,8 @@ impl IStemmer_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6393,8 +6393,8 @@ impl ISubscriptionItem_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6472,8 +6472,8 @@ impl ISubscriptionMgr_Vtbl { CreateSubscription: CreateSubscription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6556,8 +6556,8 @@ impl ISubscriptionMgr2_Vtbl { AbortAll: AbortAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6577,8 +6577,8 @@ impl ITableCreation_Vtbl { } Self { base__: ITableDefinition_Vtbl::new::(), GetTableDefinition: GetTableDefinition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6622,8 +6622,8 @@ impl ITableDefinition_Vtbl { DropColumn: DropColumn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6661,8 +6661,8 @@ impl ITableDefinitionWithConstraints_Vtbl { DropConstraint: DropConstraint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -6692,8 +6692,8 @@ impl ITableRename_Vtbl { RenameTable: RenameTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6720,8 +6720,8 @@ impl ITokenCollection_Vtbl { GetToken: GetToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6757,8 +6757,8 @@ impl ITransactionJoin_Vtbl { JoinTransaction: JoinTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6794,8 +6794,8 @@ impl ITransactionLocal_Vtbl { StartTransaction: StartTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6821,8 +6821,8 @@ impl ITransactionObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTransactionObject: GetTransactionObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6873,8 +6873,8 @@ impl ITrusteeAdmin_Vtbl { GetTrusteeProperties: GetTrusteeProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"implement\"`*"] @@ -6931,8 +6931,8 @@ impl ITrusteeGroupAdmin_Vtbl { GetMemberships: GetMemberships::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7010,8 +7010,8 @@ impl IUMSInitialize_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7154,8 +7154,8 @@ impl IUrlAccessor_Vtbl { BindToFilter: BindToFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7192,8 +7192,8 @@ impl IUrlAccessor2_Vtbl { GetCodePage: GetCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7213,8 +7213,8 @@ impl IUrlAccessor3_Vtbl { } Self { base__: IUrlAccessor2_Vtbl::new::(), GetImpersonationSidBlobs: GetImpersonationSidBlobs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7256,8 +7256,8 @@ impl IUrlAccessor4_Vtbl { ShouldIndexProperty: ShouldIndexProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7290,8 +7290,8 @@ impl IViewChapter_Vtbl { OpenViewChapter: OpenViewChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7328,8 +7328,8 @@ impl IViewFilter_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7368,8 +7368,8 @@ impl IViewRowset_Vtbl { OpenViewRowset: OpenViewRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7396,8 +7396,8 @@ impl IViewSort_Vtbl { SetSortOrder: SetSortOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -7441,8 +7441,8 @@ impl IWordBreaker_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7469,8 +7469,8 @@ impl IWordFormSink_Vtbl { PutWord: PutWord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -7521,8 +7521,8 @@ impl IWordSink_Vtbl { PutBreak: PutBreak::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7696,8 +7696,8 @@ impl OLEDBSimpleProvider_Vtbl { stopTransfer: stopTransfer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7766,7 +7766,7 @@ impl OLEDBSimpleProviderListener_Vtbl { transferComplete: transferComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs index 685622d3b7..b1f4eb1377 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -1835,6 +1835,7 @@ pub unsafe fn dbprtypeW(param0: i32) -> ::windows_core::PWSTR { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataSource(::windows_core::IUnknown); impl DataSource { pub unsafe fn getDataMember(&self, bstrdm: *const u16, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1863,25 +1864,9 @@ impl DataSource { } } ::windows_core::imp::interface_hierarchy!(DataSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for DataSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataSource {} -impl ::core::fmt::Debug for DataSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DataSource { type Vtable = DataSource_Vtbl; } -impl ::core::clone::Clone for DataSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DataSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c0ffab3_cd84_11d0_949a_00a0c91110ed); } @@ -1897,6 +1882,7 @@ pub struct DataSource_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataSourceListener(::windows_core::IUnknown); impl DataSourceListener { pub unsafe fn dataMemberChanged(&self, bstrdm: *const u16) -> ::windows_core::Result<()> { @@ -1910,25 +1896,9 @@ impl DataSourceListener { } } ::windows_core::imp::interface_hierarchy!(DataSourceListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for DataSourceListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for DataSourceListener {} -impl ::core::fmt::Debug for DataSourceListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataSourceListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for DataSourceListener { type Vtable = DataSourceListener_Vtbl; } -impl ::core::clone::Clone for DataSourceListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for DataSourceListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c0ffab2_cd84_11d0_949a_00a0c91110ed); } @@ -1943,36 +1913,17 @@ pub struct DataSourceListener_Vtbl { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DataSourceObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DataSourceObject {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DataSourceObject, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DataSourceObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DataSourceObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DataSourceObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DataSourceObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DataSourceObject { type Vtable = DataSourceObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DataSourceObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DataSourceObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ae9a4e4_18d4_11d1_b3b3_00aa00c1a924); } @@ -1984,6 +1935,7 @@ pub struct DataSourceObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessor(::windows_core::IUnknown); impl IAccessor { pub unsafe fn AddRefAccessor(&self, haccessor: P0, pcrefcount: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> @@ -2013,25 +1965,9 @@ impl IAccessor { } } ::windows_core::imp::interface_hierarchy!(IAccessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessor {} -impl ::core::fmt::Debug for IAccessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessor { type Vtable = IAccessor_Vtbl; } -impl ::core::clone::Clone for IAccessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a8c_2a1c_11ce_ade5_00aa0044773d); } @@ -2052,6 +1988,7 @@ pub struct IAccessor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlterIndex(::windows_core::IUnknown); impl IAlterIndex { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2061,25 +1998,9 @@ impl IAlterIndex { } } ::windows_core::imp::interface_hierarchy!(IAlterIndex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAlterIndex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAlterIndex {} -impl ::core::fmt::Debug for IAlterIndex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAlterIndex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAlterIndex { type Vtable = IAlterIndex_Vtbl; } -impl ::core::clone::Clone for IAlterIndex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlterIndex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa6_2a1c_11ce_ade5_00aa0044773d); } @@ -2094,6 +2015,7 @@ pub struct IAlterIndex_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAlterTable(::windows_core::IUnknown); impl IAlterTable { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2108,25 +2030,9 @@ impl IAlterTable { } } ::windows_core::imp::interface_hierarchy!(IAlterTable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAlterTable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAlterTable {} -impl ::core::fmt::Debug for IAlterTable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAlterTable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAlterTable { type Vtable = IAlterTable_Vtbl; } -impl ::core::clone::Clone for IAlterTable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAlterTable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa5_2a1c_11ce_ade5_00aa0044773d); } @@ -2145,6 +2051,7 @@ pub struct IAlterTable_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBindResource(::windows_core::IUnknown); impl IBindResource { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2159,25 +2066,9 @@ impl IBindResource { } } ::windows_core::imp::interface_hierarchy!(IBindResource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBindResource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBindResource {} -impl ::core::fmt::Debug for IBindResource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBindResource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBindResource { type Vtable = IBindResource_Vtbl; } -impl ::core::clone::Clone for IBindResource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBindResource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab1_2a1c_11ce_ade5_00aa0044773d); } @@ -2192,6 +2083,7 @@ pub struct IBindResource_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChapteredRowset(::windows_core::IUnknown); impl IChapteredRowset { pub unsafe fn AddRefChapter(&self, hchapter: usize, pcrefcount: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -2202,25 +2094,9 @@ impl IChapteredRowset { } } ::windows_core::imp::interface_hierarchy!(IChapteredRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IChapteredRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChapteredRowset {} -impl ::core::fmt::Debug for IChapteredRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChapteredRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChapteredRowset { type Vtable = IChapteredRowset_Vtbl; } -impl ::core::clone::Clone for IChapteredRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChapteredRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a93_2a1c_11ce_ade5_00aa0044773d); } @@ -2233,6 +2109,7 @@ pub struct IChapteredRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnMapper(::windows_core::IUnknown); impl IColumnMapper { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -2258,25 +2135,9 @@ impl IColumnMapper { } } ::windows_core::imp::interface_hierarchy!(IColumnMapper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnMapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnMapper {} -impl ::core::fmt::Debug for IColumnMapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnMapper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnMapper { type Vtable = IColumnMapper_Vtbl; } -impl ::core::clone::Clone for IColumnMapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnMapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b63e37a_9ccc_11d0_bcdb_00805fccce04); } @@ -2300,6 +2161,7 @@ pub struct IColumnMapper_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnMapperCreator(::windows_core::IUnknown); impl IColumnMapperCreator { pub unsafe fn GetColumnMapper(&self, wcsmachinename: P0, wcscatalogname: P1) -> ::windows_core::Result @@ -2312,25 +2174,9 @@ impl IColumnMapperCreator { } } ::windows_core::imp::interface_hierarchy!(IColumnMapperCreator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnMapperCreator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnMapperCreator {} -impl ::core::fmt::Debug for IColumnMapperCreator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnMapperCreator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnMapperCreator { type Vtable = IColumnMapperCreator_Vtbl; } -impl ::core::clone::Clone for IColumnMapperCreator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnMapperCreator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b63e37b_9ccc_11d0_bcdb_00805fccce04); } @@ -2342,6 +2188,7 @@ pub struct IColumnMapperCreator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnsInfo(::windows_core::IUnknown); impl IColumnsInfo { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`*"] @@ -2356,25 +2203,9 @@ impl IColumnsInfo { } } ::windows_core::imp::interface_hierarchy!(IColumnsInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnsInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnsInfo {} -impl ::core::fmt::Debug for IColumnsInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnsInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnsInfo { type Vtable = IColumnsInfo_Vtbl; } -impl ::core::clone::Clone for IColumnsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnsInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a11_2a1c_11ce_ade5_00aa0044773d); } @@ -2393,6 +2224,7 @@ pub struct IColumnsInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnsInfo2(::windows_core::IUnknown); impl IColumnsInfo2 { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`*"] @@ -2412,25 +2244,9 @@ impl IColumnsInfo2 { } } ::windows_core::imp::interface_hierarchy!(IColumnsInfo2, ::windows_core::IUnknown, IColumnsInfo); -impl ::core::cmp::PartialEq for IColumnsInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnsInfo2 {} -impl ::core::fmt::Debug for IColumnsInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnsInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnsInfo2 { type Vtable = IColumnsInfo2_Vtbl; } -impl ::core::clone::Clone for IColumnsInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnsInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab8_2a1c_11ce_ade5_00aa0044773d); } @@ -2445,6 +2261,7 @@ pub struct IColumnsInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnsRowset(::windows_core::IUnknown); impl IColumnsRowset { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -2462,25 +2279,9 @@ impl IColumnsRowset { } } ::windows_core::imp::interface_hierarchy!(IColumnsRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnsRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnsRowset {} -impl ::core::fmt::Debug for IColumnsRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnsRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnsRowset { type Vtable = IColumnsRowset_Vtbl; } -impl ::core::clone::Clone for IColumnsRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnsRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a10_2a1c_11ce_ade5_00aa0044773d); } @@ -2499,6 +2300,7 @@ pub struct IColumnsRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommand(::windows_core::IUnknown); impl ICommand { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -2516,25 +2318,9 @@ impl ICommand { } } ::windows_core::imp::interface_hierarchy!(ICommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommand {} -impl ::core::fmt::Debug for ICommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommand { type Vtable = ICommand_Vtbl; } -impl ::core::clone::Clone for ICommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a63_2a1c_11ce_ade5_00aa0044773d); } @@ -2548,6 +2334,7 @@ pub struct ICommand_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandCost(::windows_core::IUnknown); impl ICommandCost { pub unsafe fn GetAccumulatedCost(&self, pwszrowsetname: P0, pccostlimits: *mut u32, prgcostlimits: *mut *mut DBCOST) -> ::windows_core::Result<()> @@ -2588,25 +2375,9 @@ impl ICommandCost { } } ::windows_core::imp::interface_hierarchy!(ICommandCost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandCost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandCost {} -impl ::core::fmt::Debug for ICommandCost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandCost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandCost { type Vtable = ICommandCost_Vtbl; } -impl ::core::clone::Clone for ICommandCost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandCost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a4e_2a1c_11ce_ade5_00aa0044773d); } @@ -2623,6 +2394,7 @@ pub struct ICommandCost_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandPersist(::windows_core::IUnknown); impl ICommandPersist { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -2648,25 +2420,9 @@ impl ICommandPersist { } } ::windows_core::imp::interface_hierarchy!(ICommandPersist, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandPersist { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandPersist {} -impl ::core::fmt::Debug for ICommandPersist { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandPersist").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandPersist { type Vtable = ICommandPersist_Vtbl; } -impl ::core::clone::Clone for ICommandPersist { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandPersist { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa7_2a1c_11ce_ade5_00aa0044773d); } @@ -2693,6 +2449,7 @@ pub struct ICommandPersist_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandPrepare(::windows_core::IUnknown); impl ICommandPrepare { pub unsafe fn Prepare(&self, cexpectedruns: u32) -> ::windows_core::Result<()> { @@ -2703,25 +2460,9 @@ impl ICommandPrepare { } } ::windows_core::imp::interface_hierarchy!(ICommandPrepare, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandPrepare { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandPrepare {} -impl ::core::fmt::Debug for ICommandPrepare { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandPrepare").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandPrepare { type Vtable = ICommandPrepare_Vtbl; } -impl ::core::clone::Clone for ICommandPrepare { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandPrepare { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a26_2a1c_11ce_ade5_00aa0044773d); } @@ -2734,6 +2475,7 @@ pub struct ICommandPrepare_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandProperties(::windows_core::IUnknown); impl ICommandProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2748,25 +2490,9 @@ impl ICommandProperties { } } ::windows_core::imp::interface_hierarchy!(ICommandProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandProperties {} -impl ::core::fmt::Debug for ICommandProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandProperties { type Vtable = ICommandProperties_Vtbl; } -impl ::core::clone::Clone for ICommandProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a79_2a1c_11ce_ade5_00aa0044773d); } @@ -2785,6 +2511,7 @@ pub struct ICommandProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandStream(::windows_core::IUnknown); impl ICommandStream { pub unsafe fn GetCommandStream(&self, piid: ::core::option::Option<*mut ::windows_core::GUID>, pguiddialect: ::core::option::Option<*mut ::windows_core::GUID>, ppcommandstream: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> { @@ -2798,25 +2525,9 @@ impl ICommandStream { } } ::windows_core::imp::interface_hierarchy!(ICommandStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandStream {} -impl ::core::fmt::Debug for ICommandStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandStream { type Vtable = ICommandStream_Vtbl; } -impl ::core::clone::Clone for ICommandStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733abf_2a1c_11ce_ade5_00aa0044773d); } @@ -2829,6 +2540,7 @@ pub struct ICommandStream_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandText(::windows_core::IUnknown); impl ICommandText { pub unsafe fn Cancel(&self) -> ::windows_core::Result<()> { @@ -2855,25 +2567,9 @@ impl ICommandText { } } ::windows_core::imp::interface_hierarchy!(ICommandText, ::windows_core::IUnknown, ICommand); -impl ::core::cmp::PartialEq for ICommandText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandText {} -impl ::core::fmt::Debug for ICommandText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandText { type Vtable = ICommandText_Vtbl; } -impl ::core::clone::Clone for ICommandText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a27_2a1c_11ce_ade5_00aa0044773d); } @@ -2886,6 +2582,7 @@ pub struct ICommandText_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandValidate(::windows_core::IUnknown); impl ICommandValidate { pub unsafe fn ValidateCompletely(&self) -> ::windows_core::Result<()> { @@ -2896,25 +2593,9 @@ impl ICommandValidate { } } ::windows_core::imp::interface_hierarchy!(ICommandValidate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandValidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandValidate {} -impl ::core::fmt::Debug for ICommandValidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandValidate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandValidate { type Vtable = ICommandValidate_Vtbl; } -impl ::core::clone::Clone for ICommandValidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandValidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a18_2a1c_11ce_ade5_00aa0044773d); } @@ -2927,6 +2608,7 @@ pub struct ICommandValidate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommandWithParameters(::windows_core::IUnknown); impl ICommandWithParameters { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2942,25 +2624,9 @@ impl ICommandWithParameters { } } ::windows_core::imp::interface_hierarchy!(ICommandWithParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommandWithParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommandWithParameters {} -impl ::core::fmt::Debug for ICommandWithParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommandWithParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommandWithParameters { type Vtable = ICommandWithParameters_Vtbl; } -impl ::core::clone::Clone for ICommandWithParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommandWithParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a64_2a1c_11ce_ade5_00aa0044773d); } @@ -2978,6 +2644,7 @@ pub struct ICommandWithParameters_Vtbl { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICondition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICondition { @@ -3054,30 +2721,10 @@ impl ICondition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICondition, ::windows_core::IUnknown, super::Com::IPersist, super::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICondition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICondition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICondition { type Vtable = ICondition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fc988d4_c935_4b97_a973_46282ea175c8); } @@ -3106,6 +2753,7 @@ pub struct ICondition_Vtbl { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICondition2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICondition2 { @@ -3191,30 +2839,10 @@ impl ICondition2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICondition2, ::windows_core::IUnknown, super::Com::IPersist, super::Com::IPersistStream, ICondition); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICondition2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICondition2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICondition2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICondition2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICondition2 { type Vtable = ICondition2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICondition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICondition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0db8851d_2e5b_47eb_9208_d28c325a01d7); } @@ -3231,6 +2859,7 @@ pub struct ICondition2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConditionFactory(::windows_core::IUnknown); impl IConditionFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3278,25 +2907,9 @@ impl IConditionFactory { } } ::windows_core::imp::interface_hierarchy!(IConditionFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConditionFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConditionFactory {} -impl ::core::fmt::Debug for IConditionFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConditionFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConditionFactory { type Vtable = IConditionFactory_Vtbl; } -impl ::core::clone::Clone for IConditionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConditionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5efe073_b16f_474f_9f3e_9f8b497a3e08); } @@ -3323,6 +2936,7 @@ pub struct IConditionFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConditionFactory2(::windows_core::IUnknown); impl IConditionFactory2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -3463,25 +3077,9 @@ impl IConditionFactory2 { } } ::windows_core::imp::interface_hierarchy!(IConditionFactory2, ::windows_core::IUnknown, IConditionFactory); -impl ::core::cmp::PartialEq for IConditionFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConditionFactory2 {} -impl ::core::fmt::Debug for IConditionFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConditionFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConditionFactory2 { type Vtable = IConditionFactory2_Vtbl; } -impl ::core::clone::Clone for IConditionFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConditionFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71d222e1_432f_429e_8c13_b6dafde5077a); } @@ -3528,6 +3126,7 @@ pub struct IConditionFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConditionGenerator(::windows_core::IUnknown); impl IConditionGenerator { pub unsafe fn Initialize(&self, pschemaprovider: P0) -> ::windows_core::Result<()> @@ -3571,25 +3170,9 @@ impl IConditionGenerator { } } ::windows_core::imp::interface_hierarchy!(IConditionGenerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConditionGenerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConditionGenerator {} -impl ::core::fmt::Debug for IConditionGenerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConditionGenerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConditionGenerator { type Vtable = IConditionGenerator_Vtbl; } -impl ::core::clone::Clone for IConditionGenerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConditionGenerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92d2cc58_4386_45a3_b98c_7e0ce64a4117); } @@ -3610,6 +3193,7 @@ pub struct IConditionGenerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConvertType(::windows_core::IUnknown); impl IConvertType { pub unsafe fn CanConvert(&self, wfromtype: u16, wtotype: u16, dwconvertflags: u32) -> ::windows_core::Result<()> { @@ -3617,25 +3201,9 @@ impl IConvertType { } } ::windows_core::imp::interface_hierarchy!(IConvertType, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConvertType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConvertType {} -impl ::core::fmt::Debug for IConvertType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConvertType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConvertType { type Vtable = IConvertType_Vtbl; } -impl ::core::clone::Clone for IConvertType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConvertType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a88_2a1c_11ce_ade5_00aa0044773d); } @@ -3647,6 +3215,7 @@ pub struct IConvertType_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateRow(::windows_core::IUnknown); impl ICreateRow { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3661,25 +3230,9 @@ impl ICreateRow { } } ::windows_core::imp::interface_hierarchy!(ICreateRow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateRow {} -impl ::core::fmt::Debug for ICreateRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateRow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateRow { type Vtable = ICreateRow_Vtbl; } -impl ::core::clone::Clone for ICreateRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateRow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab2_2a1c_11ce_ade5_00aa0044773d); } @@ -3694,6 +3247,7 @@ pub struct ICreateRow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBAsynchNotify(::windows_core::IUnknown); impl IDBAsynchNotify { pub unsafe fn OnLowResource(&self, dwreserved: usize) -> ::windows_core::Result<()> { @@ -3713,25 +3267,9 @@ impl IDBAsynchNotify { } } ::windows_core::imp::interface_hierarchy!(IDBAsynchNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBAsynchNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBAsynchNotify {} -impl ::core::fmt::Debug for IDBAsynchNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBAsynchNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBAsynchNotify { type Vtable = IDBAsynchNotify_Vtbl; } -impl ::core::clone::Clone for IDBAsynchNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBAsynchNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a96_2a1c_11ce_ade5_00aa0044773d); } @@ -3745,6 +3283,7 @@ pub struct IDBAsynchNotify_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBAsynchStatus(::windows_core::IUnknown); impl IDBAsynchStatus { pub unsafe fn Abort(&self, hchapter: usize, eoperation: u32) -> ::windows_core::Result<()> { @@ -3755,25 +3294,9 @@ impl IDBAsynchStatus { } } ::windows_core::imp::interface_hierarchy!(IDBAsynchStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBAsynchStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBAsynchStatus {} -impl ::core::fmt::Debug for IDBAsynchStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBAsynchStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBAsynchStatus { type Vtable = IDBAsynchStatus_Vtbl; } -impl ::core::clone::Clone for IDBAsynchStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBAsynchStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a95_2a1c_11ce_ade5_00aa0044773d); } @@ -3786,6 +3309,7 @@ pub struct IDBAsynchStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBBinderProperties(::windows_core::IUnknown); impl IDBBinderProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3808,25 +3332,9 @@ impl IDBBinderProperties { } } ::windows_core::imp::interface_hierarchy!(IDBBinderProperties, ::windows_core::IUnknown, IDBProperties); -impl ::core::cmp::PartialEq for IDBBinderProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBBinderProperties {} -impl ::core::fmt::Debug for IDBBinderProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBBinderProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBBinderProperties { type Vtable = IDBBinderProperties_Vtbl; } -impl ::core::clone::Clone for IDBBinderProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBBinderProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab3_2a1c_11ce_ade5_00aa0044773d); } @@ -3838,6 +3346,7 @@ pub struct IDBBinderProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBCreateCommand(::windows_core::IUnknown); impl IDBCreateCommand { pub unsafe fn CreateCommand(&self, punkouter: P0, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -3849,25 +3358,9 @@ impl IDBCreateCommand { } } ::windows_core::imp::interface_hierarchy!(IDBCreateCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBCreateCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBCreateCommand {} -impl ::core::fmt::Debug for IDBCreateCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBCreateCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBCreateCommand { type Vtable = IDBCreateCommand_Vtbl; } -impl ::core::clone::Clone for IDBCreateCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBCreateCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a1d_2a1c_11ce_ade5_00aa0044773d); } @@ -3879,6 +3372,7 @@ pub struct IDBCreateCommand_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBCreateSession(::windows_core::IUnknown); impl IDBCreateSession { pub unsafe fn CreateSession(&self, punkouter: P0, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -3890,25 +3384,9 @@ impl IDBCreateSession { } } ::windows_core::imp::interface_hierarchy!(IDBCreateSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBCreateSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBCreateSession {} -impl ::core::fmt::Debug for IDBCreateSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBCreateSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBCreateSession { type Vtable = IDBCreateSession_Vtbl; } -impl ::core::clone::Clone for IDBCreateSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBCreateSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a5d_2a1c_11ce_ade5_00aa0044773d); } @@ -3920,6 +3398,7 @@ pub struct IDBCreateSession_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBDataSourceAdmin(::windows_core::IUnknown); impl IDBDataSourceAdmin { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3945,25 +3424,9 @@ impl IDBDataSourceAdmin { } } ::windows_core::imp::interface_hierarchy!(IDBDataSourceAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBDataSourceAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBDataSourceAdmin {} -impl ::core::fmt::Debug for IDBDataSourceAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBDataSourceAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBDataSourceAdmin { type Vtable = IDBDataSourceAdmin_Vtbl; } -impl ::core::clone::Clone for IDBDataSourceAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBDataSourceAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7a_2a1c_11ce_ade5_00aa0044773d); } @@ -3987,6 +3450,7 @@ pub struct IDBDataSourceAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBInfo(::windows_core::IUnknown); impl IDBInfo { pub unsafe fn GetKeywords(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -4000,25 +3464,9 @@ impl IDBInfo { } } ::windows_core::imp::interface_hierarchy!(IDBInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBInfo {} -impl ::core::fmt::Debug for IDBInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBInfo { type Vtable = IDBInfo_Vtbl; } -impl ::core::clone::Clone for IDBInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a89_2a1c_11ce_ade5_00aa0044773d); } @@ -4034,6 +3482,7 @@ pub struct IDBInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBInitialize(::windows_core::IUnknown); impl IDBInitialize { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -4044,25 +3493,9 @@ impl IDBInitialize { } } ::windows_core::imp::interface_hierarchy!(IDBInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBInitialize {} -impl ::core::fmt::Debug for IDBInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBInitialize { type Vtable = IDBInitialize_Vtbl; } -impl ::core::clone::Clone for IDBInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a8b_2a1c_11ce_ade5_00aa0044773d); } @@ -4075,6 +3508,7 @@ pub struct IDBInitialize_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBPromptInitialize(::windows_core::IUnknown); impl IDBPromptInitialize { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4100,25 +3534,9 @@ impl IDBPromptInitialize { } } ::windows_core::imp::interface_hierarchy!(IDBPromptInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBPromptInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBPromptInitialize {} -impl ::core::fmt::Debug for IDBPromptInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBPromptInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBPromptInitialize { type Vtable = IDBPromptInitialize_Vtbl; } -impl ::core::clone::Clone for IDBPromptInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBPromptInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2206ccb0_19c1_11d1_89e0_00c04fd7a829); } @@ -4137,6 +3555,7 @@ pub struct IDBPromptInitialize_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBProperties(::windows_core::IUnknown); impl IDBProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4156,25 +3575,9 @@ impl IDBProperties { } } ::windows_core::imp::interface_hierarchy!(IDBProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBProperties {} -impl ::core::fmt::Debug for IDBProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBProperties { type Vtable = IDBProperties_Vtbl; } -impl ::core::clone::Clone for IDBProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a8a_2a1c_11ce_ade5_00aa0044773d); } @@ -4197,6 +3600,7 @@ pub struct IDBProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBSchemaCommand(::windows_core::IUnknown); impl IDBSchemaCommand { pub unsafe fn GetCommand(&self, punkouter: P0, rguidschema: *const ::windows_core::GUID) -> ::windows_core::Result @@ -4211,25 +3615,9 @@ impl IDBSchemaCommand { } } ::windows_core::imp::interface_hierarchy!(IDBSchemaCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBSchemaCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBSchemaCommand {} -impl ::core::fmt::Debug for IDBSchemaCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBSchemaCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBSchemaCommand { type Vtable = IDBSchemaCommand_Vtbl; } -impl ::core::clone::Clone for IDBSchemaCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBSchemaCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a50_2a1c_11ce_ade5_00aa0044773d); } @@ -4242,6 +3630,7 @@ pub struct IDBSchemaCommand_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDBSchemaRowset(::windows_core::IUnknown); impl IDBSchemaRowset { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4257,25 +3646,9 @@ impl IDBSchemaRowset { } } ::windows_core::imp::interface_hierarchy!(IDBSchemaRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDBSchemaRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDBSchemaRowset {} -impl ::core::fmt::Debug for IDBSchemaRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDBSchemaRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDBSchemaRowset { type Vtable = IDBSchemaRowset_Vtbl; } -impl ::core::clone::Clone for IDBSchemaRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDBSchemaRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7b_2a1c_11ce_ade5_00aa0044773d); } @@ -4291,6 +3664,7 @@ pub struct IDBSchemaRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDCInfo(::windows_core::IUnknown); impl IDCInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4305,25 +3679,9 @@ impl IDCInfo { } } ::windows_core::imp::interface_hierarchy!(IDCInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDCInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDCInfo {} -impl ::core::fmt::Debug for IDCInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDCInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDCInfo { type Vtable = IDCInfo_Vtbl; } -impl ::core::clone::Clone for IDCInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDCInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a9c_2a1c_11ce_ade5_00aa0044773d); } @@ -4342,6 +3700,7 @@ pub struct IDCInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataConvert(::windows_core::IUnknown); impl IDataConvert { pub unsafe fn DataConvert(&self, wsrctype: u16, wdsttype: u16, cbsrclength: usize, pcbdstlength: ::core::option::Option<*mut usize>, psrc: *const ::core::ffi::c_void, pdst: *mut ::core::ffi::c_void, cbdstmaxlength: usize, dbssrcstatus: u32, pdbsstatus: ::core::option::Option<*mut u32>, bprecision: u8, bscale: u8, dwflags: u32) -> ::windows_core::Result<()> { @@ -4355,25 +3714,9 @@ impl IDataConvert { } } ::windows_core::imp::interface_hierarchy!(IDataConvert, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataConvert { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataConvert {} -impl ::core::fmt::Debug for IDataConvert { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataConvert").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataConvert { type Vtable = IDataConvert_Vtbl; } -impl ::core::clone::Clone for IDataConvert { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataConvert { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a8d_2a1c_11ce_ade5_00aa0044773d); } @@ -4387,6 +3730,7 @@ pub struct IDataConvert_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataInitialize(::windows_core::IUnknown); impl IDataInitialize { pub unsafe fn GetDataSource(&self, punkouter: P0, dwclsctx: u32, pwszinitializationstring: P1, riid: *const ::windows_core::GUID, ppdatasource: *mut ::core::option::Option<::windows_core::IUnknown>) -> ::windows_core::Result<()> @@ -4436,25 +3780,9 @@ impl IDataInitialize { } } ::windows_core::imp::interface_hierarchy!(IDataInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataInitialize {} -impl ::core::fmt::Debug for IDataInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataInitialize { type Vtable = IDataInitialize_Vtbl; } -impl ::core::clone::Clone for IDataInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2206ccb1_19c1_11d1_89e0_00c04fd7a829); } @@ -4475,6 +3803,7 @@ pub struct IDataInitialize_Vtbl { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataSourceLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDataSourceLocator { @@ -4507,30 +3836,10 @@ impl IDataSourceLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDataSourceLocator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDataSourceLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDataSourceLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDataSourceLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataSourceLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDataSourceLocator { type Vtable = IDataSourceLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDataSourceLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDataSourceLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2206ccb2_19c1_11d1_89e0_00c04fd7a829); } @@ -4558,6 +3867,7 @@ pub struct IDataSourceLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEntity(::windows_core::IUnknown); impl IEntity { pub unsafe fn Name(&self, ppszname: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -4607,25 +3917,9 @@ impl IEntity { } } ::windows_core::imp::interface_hierarchy!(IEntity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEntity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEntity {} -impl ::core::fmt::Debug for IEntity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEntity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEntity { type Vtable = IEntity_Vtbl; } -impl ::core::clone::Clone for IEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEntity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24264891_e80b_4fd3_b7ce_4ff2fae8931f); } @@ -4644,6 +3938,7 @@ pub struct IEntity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumItemProperties(::windows_core::IUnknown); impl IEnumItemProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4667,25 +3962,9 @@ impl IEnumItemProperties { } } ::windows_core::imp::interface_hierarchy!(IEnumItemProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumItemProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumItemProperties {} -impl ::core::fmt::Debug for IEnumItemProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumItemProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumItemProperties { type Vtable = IEnumItemProperties_Vtbl; } -impl ::core::clone::Clone for IEnumItemProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumItemProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf72c8d96_6dbd_11d1_a1e8_00c04fc2fbe1); } @@ -4704,6 +3983,7 @@ pub struct IEnumItemProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSearchRoots(::windows_core::IUnknown); impl IEnumSearchRoots { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -4721,25 +4001,9 @@ impl IEnumSearchRoots { } } ::windows_core::imp::interface_hierarchy!(IEnumSearchRoots, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSearchRoots { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSearchRoots {} -impl ::core::fmt::Debug for IEnumSearchRoots { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSearchRoots").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSearchRoots { type Vtable = IEnumSearchRoots_Vtbl; } -impl ::core::clone::Clone for IEnumSearchRoots { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSearchRoots { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef52); } @@ -4754,6 +4018,7 @@ pub struct IEnumSearchRoots_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSearchScopeRules(::windows_core::IUnknown); impl IEnumSearchScopeRules { pub unsafe fn Next(&self, pprgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -4771,25 +4036,9 @@ impl IEnumSearchScopeRules { } } ::windows_core::imp::interface_hierarchy!(IEnumSearchScopeRules, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSearchScopeRules { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSearchScopeRules {} -impl ::core::fmt::Debug for IEnumSearchScopeRules { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSearchScopeRules").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSearchScopeRules { type Vtable = IEnumSearchScopeRules_Vtbl; } -impl ::core::clone::Clone for IEnumSearchScopeRules { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSearchScopeRules { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef54); } @@ -4804,6 +4053,7 @@ pub struct IEnumSearchScopeRules_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSubscription(::windows_core::IUnknown); impl IEnumSubscription { pub unsafe fn Next(&self, rgelt: &mut [::windows_core::GUID], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -4825,25 +4075,9 @@ impl IEnumSubscription { } } ::windows_core::imp::interface_hierarchy!(IEnumSubscription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSubscription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSubscription {} -impl ::core::fmt::Debug for IEnumSubscription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSubscription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSubscription { type Vtable = IEnumSubscription_Vtbl; } -impl ::core::clone::Clone for IEnumSubscription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSubscription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf72c8d97_6dbd_11d1_a1e8_00c04fc2fbe1); } @@ -4859,6 +4093,7 @@ pub struct IEnumSubscription_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorLookup(::windows_core::IUnknown); impl IErrorLookup { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4874,25 +4109,9 @@ impl IErrorLookup { } } ::windows_core::imp::interface_hierarchy!(IErrorLookup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IErrorLookup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorLookup {} -impl ::core::fmt::Debug for IErrorLookup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorLookup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IErrorLookup { type Vtable = IErrorLookup_Vtbl; } -impl ::core::clone::Clone for IErrorLookup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorLookup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a66_2a1c_11ce_ade5_00aa0044773d); } @@ -4909,6 +4128,7 @@ pub struct IErrorLookup_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IErrorRecords(::windows_core::IUnknown); impl IErrorRecords { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4944,25 +4164,9 @@ impl IErrorRecords { } } ::windows_core::imp::interface_hierarchy!(IErrorRecords, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IErrorRecords { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IErrorRecords {} -impl ::core::fmt::Debug for IErrorRecords { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IErrorRecords").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IErrorRecords { type Vtable = IErrorRecords_Vtbl; } -impl ::core::clone::Clone for IErrorRecords { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IErrorRecords { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a67_2a1c_11ce_ade5_00aa0044773d); } @@ -4988,6 +4192,7 @@ pub struct IErrorRecords_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetDataSource(::windows_core::IUnknown); impl IGetDataSource { pub unsafe fn GetDataSource(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -4996,25 +4201,9 @@ impl IGetDataSource { } } ::windows_core::imp::interface_hierarchy!(IGetDataSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetDataSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetDataSource {} -impl ::core::fmt::Debug for IGetDataSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetDataSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetDataSource { type Vtable = IGetDataSource_Vtbl; } -impl ::core::clone::Clone for IGetDataSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetDataSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a75_2a1c_11ce_ade5_00aa0044773d); } @@ -5026,6 +4215,7 @@ pub struct IGetDataSource_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetRow(::windows_core::IUnknown); impl IGetRow { pub unsafe fn GetRowFromHROW(&self, punkouter: P0, hrow: usize, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -5041,25 +4231,9 @@ impl IGetRow { } } ::windows_core::imp::interface_hierarchy!(IGetRow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetRow {} -impl ::core::fmt::Debug for IGetRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetRow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetRow { type Vtable = IGetRow_Vtbl; } -impl ::core::clone::Clone for IGetRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetRow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aaf_2a1c_11ce_ade5_00aa0044773d); } @@ -5072,6 +4246,7 @@ pub struct IGetRow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetSession(::windows_core::IUnknown); impl IGetSession { pub unsafe fn GetSession(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5080,25 +4255,9 @@ impl IGetSession { } } ::windows_core::imp::interface_hierarchy!(IGetSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetSession {} -impl ::core::fmt::Debug for IGetSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetSession { type Vtable = IGetSession_Vtbl; } -impl ::core::clone::Clone for IGetSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aba_2a1c_11ce_ade5_00aa0044773d); } @@ -5110,6 +4269,7 @@ pub struct IGetSession_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetSourceRow(::windows_core::IUnknown); impl IGetSourceRow { pub unsafe fn GetSourceRow(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -5118,25 +4278,9 @@ impl IGetSourceRow { } } ::windows_core::imp::interface_hierarchy!(IGetSourceRow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetSourceRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetSourceRow {} -impl ::core::fmt::Debug for IGetSourceRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetSourceRow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetSourceRow { type Vtable = IGetSourceRow_Vtbl; } -impl ::core::clone::Clone for IGetSourceRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetSourceRow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733abb_2a1c_11ce_ade5_00aa0044773d); } @@ -5148,6 +4292,7 @@ pub struct IGetSourceRow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIndexDefinition(::windows_core::IUnknown); impl IIndexDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -5162,25 +4307,9 @@ impl IIndexDefinition { } } ::windows_core::imp::interface_hierarchy!(IIndexDefinition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIndexDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIndexDefinition {} -impl ::core::fmt::Debug for IIndexDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIndexDefinition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIndexDefinition { type Vtable = IIndexDefinition_Vtbl; } -impl ::core::clone::Clone for IIndexDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIndexDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a68_2a1c_11ce_ade5_00aa0044773d); } @@ -5199,6 +4328,7 @@ pub struct IIndexDefinition_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInterval(::windows_core::IUnknown); impl IInterval { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -5208,25 +4338,9 @@ impl IInterval { } } ::windows_core::imp::interface_hierarchy!(IInterval, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInterval { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInterval {} -impl ::core::fmt::Debug for IInterval { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInterval").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInterval { type Vtable = IInterval_Vtbl; } -impl ::core::clone::Clone for IInterval { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInterval { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6bf0a714_3c18_430b_8b5d_83b1c234d3db); } @@ -5241,6 +4355,7 @@ pub struct IInterval_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoadFilter(::windows_core::IUnknown); impl ILoadFilter { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`*"] @@ -5276,25 +4391,9 @@ impl ILoadFilter { } } ::windows_core::imp::interface_hierarchy!(ILoadFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILoadFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoadFilter {} -impl ::core::fmt::Debug for ILoadFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoadFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILoadFilter { type Vtable = ILoadFilter_Vtbl; } -impl ::core::clone::Clone for ILoadFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoadFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7310722_ac80_11d1_8df3_00c04fb6ef4f); } @@ -5317,6 +4416,7 @@ pub struct ILoadFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoadFilterWithPrivateComActivation(::windows_core::IUnknown); impl ILoadFilterWithPrivateComActivation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`*"] @@ -5360,25 +4460,9 @@ impl ILoadFilterWithPrivateComActivation { } } ::windows_core::imp::interface_hierarchy!(ILoadFilterWithPrivateComActivation, ::windows_core::IUnknown, ILoadFilter); -impl ::core::cmp::PartialEq for ILoadFilterWithPrivateComActivation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoadFilterWithPrivateComActivation {} -impl ::core::fmt::Debug for ILoadFilterWithPrivateComActivation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoadFilterWithPrivateComActivation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILoadFilterWithPrivateComActivation { type Vtable = ILoadFilterWithPrivateComActivation_Vtbl; } -impl ::core::clone::Clone for ILoadFilterWithPrivateComActivation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoadFilterWithPrivateComActivation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40bdbd34_780b_48d3_9bb6_12ebd4ad2e75); } @@ -5393,6 +4477,7 @@ pub struct ILoadFilterWithPrivateComActivation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDDataset(::windows_core::IUnknown); impl IMDDataset { pub unsafe fn FreeAxisInfo(&self, rgaxisinfo: &[MDAXISINFO]) -> ::windows_core::Result<()> { @@ -5421,25 +4506,9 @@ impl IMDDataset { } } ::windows_core::imp::interface_hierarchy!(IMDDataset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDDataset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDDataset {} -impl ::core::fmt::Debug for IMDDataset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDDataset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDDataset { type Vtable = IMDDataset_Vtbl; } -impl ::core::clone::Clone for IMDDataset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDDataset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa07cccd1_8148_11d0_87bb_00c04fc33942); } @@ -5458,6 +4527,7 @@ pub struct IMDDataset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDFind(::windows_core::IUnknown); impl IMDFind { pub unsafe fn FindCell(&self, ulstartingordinal: usize, rgpwszmember: &[::windows_core::PCWSTR]) -> ::windows_core::Result { @@ -5470,25 +4540,9 @@ impl IMDFind { } } ::windows_core::imp::interface_hierarchy!(IMDFind, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDFind { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDFind {} -impl ::core::fmt::Debug for IMDFind { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDFind").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDFind { type Vtable = IMDFind_Vtbl; } -impl ::core::clone::Clone for IMDFind { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDFind { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa07cccd2_8148_11d0_87bb_00c04fc33942); } @@ -5501,6 +4555,7 @@ pub struct IMDFind_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMDRangeRowset(::windows_core::IUnknown); impl IMDRangeRowset { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -5513,25 +4568,9 @@ impl IMDRangeRowset { } } ::windows_core::imp::interface_hierarchy!(IMDRangeRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMDRangeRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMDRangeRowset {} -impl ::core::fmt::Debug for IMDRangeRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMDRangeRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMDRangeRowset { type Vtable = IMDRangeRowset_Vtbl; } -impl ::core::clone::Clone for IMDRangeRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMDRangeRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa0_2a1c_11ce_ade5_00aa0044773d); } @@ -5546,6 +4585,7 @@ pub struct IMDRangeRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaData(::windows_core::IUnknown); impl IMetaData { pub unsafe fn GetData(&self, ppszkey: ::core::option::Option<*mut ::windows_core::PWSTR>, ppszvalue: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -5553,25 +4593,9 @@ impl IMetaData { } } ::windows_core::imp::interface_hierarchy!(IMetaData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaData {} -impl ::core::fmt::Debug for IMetaData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaData { type Vtable = IMetaData_Vtbl; } -impl ::core::clone::Clone for IMetaData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x780102b0_c43b_4876_bc7b_5e9ba5c88794); } @@ -5583,6 +4607,7 @@ pub struct IMetaData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultipleResults(::windows_core::IUnknown); impl IMultipleResults { pub unsafe fn GetResult(&self, punkouter: P0, lresultflag: isize, riid: *const ::windows_core::GUID, pcrowsaffected: ::core::option::Option<*mut isize>, pprowset: ::core::option::Option<*mut ::core::option::Option<::windows_core::IUnknown>>) -> ::windows_core::Result<()> @@ -5593,25 +4618,9 @@ impl IMultipleResults { } } ::windows_core::imp::interface_hierarchy!(IMultipleResults, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultipleResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultipleResults {} -impl ::core::fmt::Debug for IMultipleResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultipleResults").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultipleResults { type Vtable = IMultipleResults_Vtbl; } -impl ::core::clone::Clone for IMultipleResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultipleResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a90_2a1c_11ce_ade5_00aa0044773d); } @@ -5623,6 +4632,7 @@ pub struct IMultipleResults_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedEntity(::windows_core::IUnknown); impl INamedEntity { pub unsafe fn GetValue(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -5634,25 +4644,9 @@ impl INamedEntity { } } ::windows_core::imp::interface_hierarchy!(INamedEntity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamedEntity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamedEntity {} -impl ::core::fmt::Debug for INamedEntity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamedEntity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamedEntity { type Vtable = INamedEntity_Vtbl; } -impl ::core::clone::Clone for INamedEntity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedEntity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabdbd0b1_7d54_49fb_ab5c_bff4130004cd); } @@ -5665,6 +4659,7 @@ pub struct INamedEntity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedEntityCollector(::windows_core::IUnknown); impl INamedEntityCollector { pub unsafe fn Add(&self, beginspan: u32, endspan: u32, beginactual: u32, endactual: u32, ptype: P0, pszvalue: P1, certainty: NAMED_ENTITY_CERTAINTY) -> ::windows_core::Result<()> @@ -5676,25 +4671,9 @@ impl INamedEntityCollector { } } ::windows_core::imp::interface_hierarchy!(INamedEntityCollector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamedEntityCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamedEntityCollector {} -impl ::core::fmt::Debug for INamedEntityCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamedEntityCollector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamedEntityCollector { type Vtable = INamedEntityCollector_Vtbl; } -impl ::core::clone::Clone for INamedEntityCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedEntityCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaf2440f6_8afc_47d0_9a7f_396a0acfb43d); } @@ -5706,6 +4685,7 @@ pub struct INamedEntityCollector_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectAccessControl(::windows_core::IUnknown); impl IObjectAccessControl { #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`*"] @@ -5737,25 +4717,9 @@ impl IObjectAccessControl { } } ::windows_core::imp::interface_hierarchy!(IObjectAccessControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectAccessControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectAccessControl {} -impl ::core::fmt::Debug for IObjectAccessControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectAccessControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectAccessControl { type Vtable = IObjectAccessControl_Vtbl; } -impl ::core::clone::Clone for IObjectAccessControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectAccessControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa3_2a1c_11ce_ade5_00aa0044773d); } @@ -5786,6 +4750,7 @@ pub struct IObjectAccessControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpLockStatus(::windows_core::IUnknown); impl IOpLockStatus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5808,25 +4773,9 @@ impl IOpLockStatus { } } ::windows_core::imp::interface_hierarchy!(IOpLockStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpLockStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpLockStatus {} -impl ::core::fmt::Debug for IOpLockStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpLockStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpLockStatus { type Vtable = IOpLockStatus_Vtbl; } -impl ::core::clone::Clone for IOpLockStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpLockStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc731065d_ac80_11d1_8df3_00c04fb6ef4f); } @@ -5849,6 +4798,7 @@ pub struct IOpLockStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenRowset(::windows_core::IUnknown); impl IOpenRowset { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -5861,25 +4811,9 @@ impl IOpenRowset { } } ::windows_core::imp::interface_hierarchy!(IOpenRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenRowset {} -impl ::core::fmt::Debug for IOpenRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenRowset { type Vtable = IOpenRowset_Vtbl; } -impl ::core::clone::Clone for IOpenRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a69_2a1c_11ce_ade5_00aa0044773d); } @@ -5894,6 +4828,7 @@ pub struct IOpenRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IParentRowset(::windows_core::IUnknown); impl IParentRowset { pub unsafe fn GetChildRowset(&self, punkouter: P0, iordinal: usize, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -5905,25 +4840,9 @@ impl IParentRowset { } } ::windows_core::imp::interface_hierarchy!(IParentRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IParentRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IParentRowset {} -impl ::core::fmt::Debug for IParentRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IParentRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IParentRowset { type Vtable = IParentRowset_Vtbl; } -impl ::core::clone::Clone for IParentRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IParentRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aaa_2a1c_11ce_ade5_00aa0044773d); } @@ -5935,6 +4854,7 @@ pub struct IParentRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProtocolHandlerSite(::windows_core::IUnknown); impl IProtocolHandlerSite { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -5949,25 +4869,9 @@ impl IProtocolHandlerSite { } } ::windows_core::imp::interface_hierarchy!(IProtocolHandlerSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProtocolHandlerSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProtocolHandlerSite {} -impl ::core::fmt::Debug for IProtocolHandlerSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProtocolHandlerSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProtocolHandlerSite { type Vtable = IProtocolHandlerSite_Vtbl; } -impl ::core::clone::Clone for IProtocolHandlerSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProtocolHandlerSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b63e385_9ccc_11d0_bcdb_00805fccce04); } @@ -5982,6 +4886,7 @@ pub struct IProtocolHandlerSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideMoniker(::windows_core::IUnknown); impl IProvideMoniker { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -5992,25 +4897,9 @@ impl IProvideMoniker { } } ::windows_core::imp::interface_hierarchy!(IProvideMoniker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideMoniker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideMoniker {} -impl ::core::fmt::Debug for IProvideMoniker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideMoniker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideMoniker { type Vtable = IProvideMoniker_Vtbl; } -impl ::core::clone::Clone for IProvideMoniker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideMoniker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a4d_2a1c_11ce_ade5_00aa0044773d); } @@ -6025,6 +4914,7 @@ pub struct IProvideMoniker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryParser(::windows_core::IUnknown); impl IQueryParser { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -6089,25 +4979,9 @@ impl IQueryParser { } } ::windows_core::imp::interface_hierarchy!(IQueryParser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryParser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryParser {} -impl ::core::fmt::Debug for IQueryParser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryParser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryParser { type Vtable = IQueryParser_Vtbl; } -impl ::core::clone::Clone for IQueryParser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryParser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ebdee67_3505_43f8_9946_ea44abc8e5b0); } @@ -6144,6 +5018,7 @@ pub struct IQueryParser_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryParserManager(::windows_core::IUnknown); impl IQueryParserManager { pub unsafe fn CreateLoadedParser(&self, pszcatalog: P0, langidforkeywords: u16) -> ::windows_core::Result @@ -6171,25 +5046,9 @@ impl IQueryParserManager { } } ::windows_core::imp::interface_hierarchy!(IQueryParserManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryParserManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryParserManager {} -impl ::core::fmt::Debug for IQueryParserManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryParserManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryParserManager { type Vtable = IQueryParserManager_Vtbl; } -impl ::core::clone::Clone for IQueryParserManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryParserManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa879e3c4_af77_44fb_8f37_ebd1487cf920); } @@ -6209,6 +5068,7 @@ pub struct IQueryParserManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQuerySolution(::windows_core::IUnknown); impl IQuerySolution { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -6271,25 +5131,9 @@ impl IQuerySolution { } } ::windows_core::imp::interface_hierarchy!(IQuerySolution, ::windows_core::IUnknown, IConditionFactory); -impl ::core::cmp::PartialEq for IQuerySolution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQuerySolution {} -impl ::core::fmt::Debug for IQuerySolution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQuerySolution").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQuerySolution { type Vtable = IQuerySolution_Vtbl; } -impl ::core::clone::Clone for IQuerySolution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQuerySolution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6ebc66b_8921_4193_afdd_a1789fb7ff57); } @@ -6306,6 +5150,7 @@ pub struct IQuerySolution_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReadData(::windows_core::IUnknown); impl IReadData { pub unsafe fn ReadData(&self, hchapter: usize, pbookmark: &[u8], lrowsoffset: isize, haccessor: P0, crows: isize, pcrowsobtained: *mut usize, ppfixeddata: *mut *mut u8, pcbvariabletotal: *mut usize, ppvariabledata: *mut *mut u8) -> ::windows_core::Result<()> @@ -6319,25 +5164,9 @@ impl IReadData { } } ::windows_core::imp::interface_hierarchy!(IReadData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReadData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReadData {} -impl ::core::fmt::Debug for IReadData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReadData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReadData { type Vtable = IReadData_Vtbl; } -impl ::core::clone::Clone for IReadData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReadData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a6a_2a1c_11ce_ade5_00aa0044773d); } @@ -6350,6 +5179,7 @@ pub struct IReadData_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisterProvider(::windows_core::IUnknown); impl IRegisterProvider { pub unsafe fn GetURLMapping(&self, pwszurl: P0, dwreserved: usize) -> ::windows_core::Result<::windows_core::GUID> @@ -6373,25 +5203,9 @@ impl IRegisterProvider { } } ::windows_core::imp::interface_hierarchy!(IRegisterProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRegisterProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRegisterProvider {} -impl ::core::fmt::Debug for IRegisterProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisterProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRegisterProvider { type Vtable = IRegisterProvider_Vtbl; } -impl ::core::clone::Clone for IRegisterProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisterProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab9_2a1c_11ce_ade5_00aa0044773d); } @@ -6405,6 +5219,7 @@ pub struct IRegisterProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRelationship(::windows_core::IUnknown); impl IRelationship { pub unsafe fn Name(&self, ppszname: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> { @@ -6432,25 +5247,9 @@ impl IRelationship { } } ::windows_core::imp::interface_hierarchy!(IRelationship, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRelationship { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRelationship {} -impl ::core::fmt::Debug for IRelationship { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRelationship").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRelationship { type Vtable = IRelationship_Vtbl; } -impl ::core::clone::Clone for IRelationship { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRelationship { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2769280b_5108_498c_9c7f_a51239b63147); } @@ -6469,6 +5268,7 @@ pub struct IRelationship_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRichChunk(::windows_core::IUnknown); impl IRichChunk { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -6478,25 +5278,9 @@ impl IRichChunk { } } ::windows_core::imp::interface_hierarchy!(IRichChunk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRichChunk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRichChunk {} -impl ::core::fmt::Debug for IRichChunk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRichChunk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRichChunk { type Vtable = IRichChunk_Vtbl; } -impl ::core::clone::Clone for IRichChunk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRichChunk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fdef69c_dbc9_454e_9910_b34f3c64b510); } @@ -6511,6 +5295,7 @@ pub struct IRichChunk_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRow(::windows_core::IUnknown); impl IRow { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -6531,25 +5316,9 @@ impl IRow { } } ::windows_core::imp::interface_hierarchy!(IRow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRow {} -impl ::core::fmt::Debug for IRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRow { type Vtable = IRow_Vtbl; } -impl ::core::clone::Clone for IRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab4_2a1c_11ce_ade5_00aa0044773d); } @@ -6569,6 +5338,7 @@ pub struct IRow_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowChange(::windows_core::IUnknown); impl IRowChange { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -6578,25 +5348,9 @@ impl IRowChange { } } ::windows_core::imp::interface_hierarchy!(IRowChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowChange {} -impl ::core::fmt::Debug for IRowChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowChange { type Vtable = IRowChange_Vtbl; } -impl ::core::clone::Clone for IRowChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab5_2a1c_11ce_ade5_00aa0044773d); } @@ -6611,6 +5365,7 @@ pub struct IRowChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowPosition(::windows_core::IUnknown); impl IRowPosition { pub unsafe fn ClearRowPosition(&self) -> ::windows_core::Result<()> { @@ -6634,25 +5389,9 @@ impl IRowPosition { } } ::windows_core::imp::interface_hierarchy!(IRowPosition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowPosition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowPosition {} -impl ::core::fmt::Debug for IRowPosition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowPosition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowPosition { type Vtable = IRowPosition_Vtbl; } -impl ::core::clone::Clone for IRowPosition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowPosition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a94_2a1c_11ce_ade5_00aa0044773d); } @@ -6668,6 +5407,7 @@ pub struct IRowPosition_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowPositionChange(::windows_core::IUnknown); impl IRowPositionChange { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6680,24 +5420,8 @@ impl IRowPositionChange { } } ::windows_core::imp::interface_hierarchy!(IRowPositionChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowPositionChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowPositionChange {} -impl ::core::fmt::Debug for IRowPositionChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowPositionChange").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for IRowPositionChange { - type Vtable = IRowPositionChange_Vtbl; -} -impl ::core::clone::Clone for IRowPositionChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IRowPositionChange { + type Vtable = IRowPositionChange_Vtbl; } unsafe impl ::windows_core::ComInterface for IRowPositionChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0997a571_126e_11d0_9f8a_00a0c9a0631e); @@ -6713,6 +5437,7 @@ pub struct IRowPositionChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowSchemaChange(::windows_core::IUnknown); impl IRowSchemaChange { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -6732,25 +5457,9 @@ impl IRowSchemaChange { } } ::windows_core::imp::interface_hierarchy!(IRowSchemaChange, ::windows_core::IUnknown, IRowChange); -impl ::core::cmp::PartialEq for IRowSchemaChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowSchemaChange {} -impl ::core::fmt::Debug for IRowSchemaChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowSchemaChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowSchemaChange { type Vtable = IRowSchemaChange_Vtbl; } -impl ::core::clone::Clone for IRowSchemaChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowSchemaChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aae_2a1c_11ce_ade5_00aa0044773d); } @@ -6769,6 +5478,7 @@ pub struct IRowSchemaChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowset(::windows_core::IUnknown); impl IRowset { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -6791,25 +5501,9 @@ impl IRowset { } } ::windows_core::imp::interface_hierarchy!(IRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowset {} -impl ::core::fmt::Debug for IRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowset { type Vtable = IRowset_Vtbl; } -impl ::core::clone::Clone for IRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7c_2a1c_11ce_ade5_00aa0044773d); } @@ -6825,6 +5519,7 @@ pub struct IRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetAsynch(::windows_core::IUnknown); impl IRowsetAsynch { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6837,25 +5532,9 @@ impl IRowsetAsynch { } } ::windows_core::imp::interface_hierarchy!(IRowsetAsynch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetAsynch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetAsynch {} -impl ::core::fmt::Debug for IRowsetAsynch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetAsynch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetAsynch { type Vtable = IRowsetAsynch_Vtbl; } -impl ::core::clone::Clone for IRowsetAsynch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetAsynch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a0f_2a1c_11ce_ade5_00aa0044773d); } @@ -6871,6 +5550,7 @@ pub struct IRowsetAsynch_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetBookmark(::windows_core::IUnknown); impl IRowsetBookmark { pub unsafe fn PositionOnBookmark(&self, hchapter: usize, pbookmark: &[u8]) -> ::windows_core::Result<()> { @@ -6878,25 +5558,9 @@ impl IRowsetBookmark { } } ::windows_core::imp::interface_hierarchy!(IRowsetBookmark, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetBookmark { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetBookmark {} -impl ::core::fmt::Debug for IRowsetBookmark { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetBookmark").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetBookmark { type Vtable = IRowsetBookmark_Vtbl; } -impl ::core::clone::Clone for IRowsetBookmark { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetBookmark { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ac2_2a1c_11ce_ade5_00aa0044773d); } @@ -6908,6 +5572,7 @@ pub struct IRowsetBookmark_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetChange(::windows_core::IUnknown); impl IRowsetChange { pub unsafe fn DeleteRows(&self, hreserved: usize, crows: usize, rghrows: *const usize, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -6928,25 +5593,9 @@ impl IRowsetChange { } } ::windows_core::imp::interface_hierarchy!(IRowsetChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetChange {} -impl ::core::fmt::Debug for IRowsetChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetChange { type Vtable = IRowsetChange_Vtbl; } -impl ::core::clone::Clone for IRowsetChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a05_2a1c_11ce_ade5_00aa0044773d); } @@ -6960,6 +5609,7 @@ pub struct IRowsetChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetChangeExtInfo(::windows_core::IUnknown); impl IRowsetChangeExtInfo { pub unsafe fn GetOriginalRow(&self, hreserved: usize, hrow: usize, phroworiginal: *mut usize) -> ::windows_core::Result<()> { @@ -6970,25 +5620,9 @@ impl IRowsetChangeExtInfo { } } ::windows_core::imp::interface_hierarchy!(IRowsetChangeExtInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetChangeExtInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetChangeExtInfo {} -impl ::core::fmt::Debug for IRowsetChangeExtInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetChangeExtInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetChangeExtInfo { type Vtable = IRowsetChangeExtInfo_Vtbl; } -impl ::core::clone::Clone for IRowsetChangeExtInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetChangeExtInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a8f_2a1c_11ce_ade5_00aa0044773d); } @@ -7001,6 +5635,7 @@ pub struct IRowsetChangeExtInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetChapterMember(::windows_core::IUnknown); impl IRowsetChapterMember { pub unsafe fn IsRowInChapter(&self, hchapter: usize, hrow: usize) -> ::windows_core::Result<()> { @@ -7008,25 +5643,9 @@ impl IRowsetChapterMember { } } ::windows_core::imp::interface_hierarchy!(IRowsetChapterMember, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetChapterMember { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetChapterMember {} -impl ::core::fmt::Debug for IRowsetChapterMember { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetChapterMember").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetChapterMember { type Vtable = IRowsetChapterMember_Vtbl; } -impl ::core::clone::Clone for IRowsetChapterMember { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetChapterMember { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa8_2a1c_11ce_ade5_00aa0044773d); } @@ -7038,6 +5657,7 @@ pub struct IRowsetChapterMember_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetCopyRows(::windows_core::IUnknown); impl IRowsetCopyRows { pub unsafe fn CloseSource(&self, hsourceid: u16) -> ::windows_core::Result<()> { @@ -7059,25 +5679,9 @@ impl IRowsetCopyRows { } } ::windows_core::imp::interface_hierarchy!(IRowsetCopyRows, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetCopyRows { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetCopyRows {} -impl ::core::fmt::Debug for IRowsetCopyRows { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetCopyRows").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetCopyRows { type Vtable = IRowsetCopyRows_Vtbl; } -impl ::core::clone::Clone for IRowsetCopyRows { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetCopyRows { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a6b_2a1c_11ce_ade5_00aa0044773d); } @@ -7092,6 +5696,7 @@ pub struct IRowsetCopyRows_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetCurrentIndex(::windows_core::IUnknown); impl IRowsetCurrentIndex { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -7124,25 +5729,9 @@ impl IRowsetCurrentIndex { } } ::windows_core::imp::interface_hierarchy!(IRowsetCurrentIndex, ::windows_core::IUnknown, IRowsetIndex); -impl ::core::cmp::PartialEq for IRowsetCurrentIndex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetCurrentIndex {} -impl ::core::fmt::Debug for IRowsetCurrentIndex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetCurrentIndex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetCurrentIndex { type Vtable = IRowsetCurrentIndex_Vtbl; } -impl ::core::clone::Clone for IRowsetCurrentIndex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetCurrentIndex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733abd_2a1c_11ce_ade5_00aa0044773d); } @@ -7161,6 +5750,7 @@ pub struct IRowsetCurrentIndex_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetEvents(::windows_core::IUnknown); impl IRowsetEvents { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -7185,25 +5775,9 @@ impl IRowsetEvents { } } ::windows_core::imp::interface_hierarchy!(IRowsetEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetEvents {} -impl ::core::fmt::Debug for IRowsetEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetEvents { type Vtable = IRowsetEvents_Vtbl; } -impl ::core::clone::Clone for IRowsetEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1551aea5_5d66_4b11_86f5_d5634cb211b9); } @@ -7230,6 +5804,7 @@ pub struct IRowsetEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetExactScroll(::windows_core::IUnknown); impl IRowsetExactScroll { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -7274,25 +5849,9 @@ impl IRowsetExactScroll { } } ::windows_core::imp::interface_hierarchy!(IRowsetExactScroll, ::windows_core::IUnknown, IRowset, IRowsetLocate, IRowsetScroll); -impl ::core::cmp::PartialEq for IRowsetExactScroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetExactScroll {} -impl ::core::fmt::Debug for IRowsetExactScroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetExactScroll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetExactScroll { type Vtable = IRowsetExactScroll_Vtbl; } -impl ::core::clone::Clone for IRowsetExactScroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetExactScroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7f_2a1c_11ce_ade5_00aa0044773d); } @@ -7304,6 +5863,7 @@ pub struct IRowsetExactScroll_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetFastLoad(::windows_core::IUnknown); impl IRowsetFastLoad { pub unsafe fn InsertRow(&self, haccessor: P0, pdata: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -7322,25 +5882,9 @@ impl IRowsetFastLoad { } } ::windows_core::imp::interface_hierarchy!(IRowsetFastLoad, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetFastLoad { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetFastLoad {} -impl ::core::fmt::Debug for IRowsetFastLoad { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetFastLoad").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetFastLoad { type Vtable = IRowsetFastLoad_Vtbl; } -impl ::core::clone::Clone for IRowsetFastLoad { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetFastLoad { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cf4ca13_ef21_11d0_97e7_00c04fc2ad98); } @@ -7356,6 +5900,7 @@ pub struct IRowsetFastLoad_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetFind(::windows_core::IUnknown); impl IRowsetFind { pub unsafe fn FindNextRow(&self, hchapter: usize, haccessor: P0, pfindvalue: *const ::core::ffi::c_void, compareop: u32, pbookmark: &[u8], lrowsoffset: isize, crows: isize, pcrowsobtained: *mut usize, prghrows: *mut *mut usize) -> ::windows_core::Result<()> @@ -7366,25 +5911,9 @@ impl IRowsetFind { } } ::windows_core::imp::interface_hierarchy!(IRowsetFind, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetFind { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetFind {} -impl ::core::fmt::Debug for IRowsetFind { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetFind").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetFind { type Vtable = IRowsetFind_Vtbl; } -impl ::core::clone::Clone for IRowsetFind { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetFind { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a9d_2a1c_11ce_ade5_00aa0044773d); } @@ -7396,6 +5925,7 @@ pub struct IRowsetFind_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetIdentity(::windows_core::IUnknown); impl IRowsetIdentity { pub unsafe fn IsSameRow(&self, hthisrow: usize, hthatrow: usize) -> ::windows_core::Result<()> { @@ -7403,25 +5933,9 @@ impl IRowsetIdentity { } } ::windows_core::imp::interface_hierarchy!(IRowsetIdentity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetIdentity {} -impl ::core::fmt::Debug for IRowsetIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetIdentity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetIdentity { type Vtable = IRowsetIdentity_Vtbl; } -impl ::core::clone::Clone for IRowsetIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a09_2a1c_11ce_ade5_00aa0044773d); } @@ -7433,6 +5947,7 @@ pub struct IRowsetIdentity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetIndex(::windows_core::IUnknown); impl IRowsetIndex { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -7454,25 +5969,9 @@ impl IRowsetIndex { } } ::windows_core::imp::interface_hierarchy!(IRowsetIndex, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetIndex { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetIndex {} -impl ::core::fmt::Debug for IRowsetIndex { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetIndex").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetIndex { type Vtable = IRowsetIndex_Vtbl; } -impl ::core::clone::Clone for IRowsetIndex { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetIndex { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a82_2a1c_11ce_ade5_00aa0044773d); } @@ -7489,6 +5988,7 @@ pub struct IRowsetIndex_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetInfo(::windows_core::IUnknown); impl IRowsetInfo { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -7506,25 +6006,9 @@ impl IRowsetInfo { } } ::windows_core::imp::interface_hierarchy!(IRowsetInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetInfo {} -impl ::core::fmt::Debug for IRowsetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetInfo { type Vtable = IRowsetInfo_Vtbl; } -impl ::core::clone::Clone for IRowsetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a55_2a1c_11ce_ade5_00aa0044773d); } @@ -7541,6 +6025,7 @@ pub struct IRowsetInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetKeys(::windows_core::IUnknown); impl IRowsetKeys { pub unsafe fn ListKeys(&self, pccolumns: *mut usize, prgcolumns: *mut *mut usize) -> ::windows_core::Result<()> { @@ -7548,25 +6033,9 @@ impl IRowsetKeys { } } ::windows_core::imp::interface_hierarchy!(IRowsetKeys, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetKeys { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetKeys {} -impl ::core::fmt::Debug for IRowsetKeys { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetKeys").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetKeys { type Vtable = IRowsetKeys_Vtbl; } -impl ::core::clone::Clone for IRowsetKeys { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetKeys { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a12_2a1c_11ce_ade5_00aa0044773d); } @@ -7578,6 +6047,7 @@ pub struct IRowsetKeys_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetLocate(::windows_core::IUnknown); impl IRowsetLocate { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -7613,25 +6083,9 @@ impl IRowsetLocate { } } ::windows_core::imp::interface_hierarchy!(IRowsetLocate, ::windows_core::IUnknown, IRowset); -impl ::core::cmp::PartialEq for IRowsetLocate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetLocate {} -impl ::core::fmt::Debug for IRowsetLocate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetLocate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetLocate { type Vtable = IRowsetLocate_Vtbl; } -impl ::core::clone::Clone for IRowsetLocate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetLocate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7d_2a1c_11ce_ade5_00aa0044773d); } @@ -7646,6 +6100,7 @@ pub struct IRowsetLocate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetNewRowAfter(::windows_core::IUnknown); impl IRowsetNewRowAfter { pub unsafe fn SetNewDataAfter(&self, hchapter: usize, pbmprevious: &[u8], haccessor: P0, pdata: *const u8) -> ::windows_core::Result @@ -7657,25 +6112,9 @@ impl IRowsetNewRowAfter { } } ::windows_core::imp::interface_hierarchy!(IRowsetNewRowAfter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetNewRowAfter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetNewRowAfter {} -impl ::core::fmt::Debug for IRowsetNewRowAfter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetNewRowAfter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetNewRowAfter { type Vtable = IRowsetNewRowAfter_Vtbl; } -impl ::core::clone::Clone for IRowsetNewRowAfter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetNewRowAfter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a71_2a1c_11ce_ade5_00aa0044773d); } @@ -7687,6 +6126,7 @@ pub struct IRowsetNewRowAfter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetNextRowset(::windows_core::IUnknown); impl IRowsetNextRowset { pub unsafe fn GetNextRowset(&self, punkouter: P0, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -7698,25 +6138,9 @@ impl IRowsetNextRowset { } } ::windows_core::imp::interface_hierarchy!(IRowsetNextRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetNextRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetNextRowset {} -impl ::core::fmt::Debug for IRowsetNextRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetNextRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetNextRowset { type Vtable = IRowsetNextRowset_Vtbl; } -impl ::core::clone::Clone for IRowsetNextRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetNextRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a72_2a1c_11ce_ade5_00aa0044773d); } @@ -7728,6 +6152,7 @@ pub struct IRowsetNextRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetNotify(::windows_core::IUnknown); impl IRowsetNotify { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7759,25 +6184,9 @@ impl IRowsetNotify { } } ::windows_core::imp::interface_hierarchy!(IRowsetNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetNotify {} -impl ::core::fmt::Debug for IRowsetNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetNotify { type Vtable = IRowsetNotify_Vtbl; } -impl ::core::clone::Clone for IRowsetNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a83_2a1c_11ce_ade5_00aa0044773d); } @@ -7800,6 +6209,7 @@ pub struct IRowsetNotify_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetPrioritization(::windows_core::IUnknown); impl IRowsetPrioritization { pub unsafe fn SetScopePriority(&self, priority: PRIORITY_LEVEL, scopestatisticseventfrequency: u32) -> ::windows_core::Result<()> { @@ -7813,25 +6223,9 @@ impl IRowsetPrioritization { } } ::windows_core::imp::interface_hierarchy!(IRowsetPrioritization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetPrioritization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetPrioritization {} -impl ::core::fmt::Debug for IRowsetPrioritization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetPrioritization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetPrioritization { type Vtable = IRowsetPrioritization_Vtbl; } -impl ::core::clone::Clone for IRowsetPrioritization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetPrioritization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42811652_079d_481b_87a2_09a69ecc5f44); } @@ -7845,6 +6239,7 @@ pub struct IRowsetPrioritization_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetQueryStatus(::windows_core::IUnknown); impl IRowsetQueryStatus { pub unsafe fn GetStatus(&self, pdwstatus: *mut u32) -> ::windows_core::Result<()> { @@ -7855,25 +6250,9 @@ impl IRowsetQueryStatus { } } ::windows_core::imp::interface_hierarchy!(IRowsetQueryStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetQueryStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetQueryStatus {} -impl ::core::fmt::Debug for IRowsetQueryStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetQueryStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetQueryStatus { type Vtable = IRowsetQueryStatus_Vtbl; } -impl ::core::clone::Clone for IRowsetQueryStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetQueryStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7ac77ed_f8d7_11ce_a798_0020f8008024); } @@ -7886,6 +6265,7 @@ pub struct IRowsetQueryStatus_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetRefresh(::windows_core::IUnknown); impl IRowsetRefresh { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7904,25 +6284,9 @@ impl IRowsetRefresh { } } ::windows_core::imp::interface_hierarchy!(IRowsetRefresh, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetRefresh { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetRefresh {} -impl ::core::fmt::Debug for IRowsetRefresh { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetRefresh").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetRefresh { type Vtable = IRowsetRefresh_Vtbl; } -impl ::core::clone::Clone for IRowsetRefresh { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetRefresh { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa9_2a1c_11ce_ade5_00aa0044773d); } @@ -7938,6 +6302,7 @@ pub struct IRowsetRefresh_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetResynch(::windows_core::IUnknown); impl IRowsetResynch { pub unsafe fn GetVisibleData(&self, hrow: usize, haccessor: P0, pdata: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -7951,25 +6316,9 @@ impl IRowsetResynch { } } ::windows_core::imp::interface_hierarchy!(IRowsetResynch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetResynch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetResynch {} -impl ::core::fmt::Debug for IRowsetResynch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetResynch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetResynch { type Vtable = IRowsetResynch_Vtbl; } -impl ::core::clone::Clone for IRowsetResynch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetResynch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a84_2a1c_11ce_ade5_00aa0044773d); } @@ -7982,6 +6331,7 @@ pub struct IRowsetResynch_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetScroll(::windows_core::IUnknown); impl IRowsetScroll { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -8023,25 +6373,9 @@ impl IRowsetScroll { } } ::windows_core::imp::interface_hierarchy!(IRowsetScroll, ::windows_core::IUnknown, IRowset, IRowsetLocate); -impl ::core::cmp::PartialEq for IRowsetScroll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetScroll {} -impl ::core::fmt::Debug for IRowsetScroll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetScroll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetScroll { type Vtable = IRowsetScroll_Vtbl; } -impl ::core::clone::Clone for IRowsetScroll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetScroll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a7e_2a1c_11ce_ade5_00aa0044773d); } @@ -8054,6 +6388,7 @@ pub struct IRowsetScroll_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetUpdate(::windows_core::IUnknown); impl IRowsetUpdate { pub unsafe fn DeleteRows(&self, hreserved: usize, crows: usize, rghrows: *const usize, rgrowstatus: *mut u32) -> ::windows_core::Result<()> { @@ -8092,25 +6427,9 @@ impl IRowsetUpdate { } } ::windows_core::imp::interface_hierarchy!(IRowsetUpdate, ::windows_core::IUnknown, IRowsetChange); -impl ::core::cmp::PartialEq for IRowsetUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetUpdate {} -impl ::core::fmt::Debug for IRowsetUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetUpdate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetUpdate { type Vtable = IRowsetUpdate_Vtbl; } -impl ::core::clone::Clone for IRowsetUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a6d_2a1c_11ce_ade5_00aa0044773d); } @@ -8126,6 +6445,7 @@ pub struct IRowsetUpdate_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetView(::windows_core::IUnknown); impl IRowsetView { pub unsafe fn CreateView(&self, punkouter: P0, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> @@ -8140,25 +6460,9 @@ impl IRowsetView { } } ::windows_core::imp::interface_hierarchy!(IRowsetView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetView {} -impl ::core::fmt::Debug for IRowsetView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetView { type Vtable = IRowsetView_Vtbl; } -impl ::core::clone::Clone for IRowsetView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a99_2a1c_11ce_ade5_00aa0044773d); } @@ -8171,6 +6475,7 @@ pub struct IRowsetView_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetWatchAll(::windows_core::IUnknown); impl IRowsetWatchAll { pub unsafe fn Acknowledge(&self) -> ::windows_core::Result<()> { @@ -8184,25 +6489,9 @@ impl IRowsetWatchAll { } } ::windows_core::imp::interface_hierarchy!(IRowsetWatchAll, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetWatchAll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetWatchAll {} -impl ::core::fmt::Debug for IRowsetWatchAll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetWatchAll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetWatchAll { type Vtable = IRowsetWatchAll_Vtbl; } -impl ::core::clone::Clone for IRowsetWatchAll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetWatchAll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a73_2a1c_11ce_ade5_00aa0044773d); } @@ -8216,6 +6505,7 @@ pub struct IRowsetWatchAll_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetWatchNotify(::windows_core::IUnknown); impl IRowsetWatchNotify { pub unsafe fn OnChange(&self, prowset: P0, echangereason: u32) -> ::windows_core::Result<()> @@ -8226,25 +6516,9 @@ impl IRowsetWatchNotify { } } ::windows_core::imp::interface_hierarchy!(IRowsetWatchNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetWatchNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetWatchNotify {} -impl ::core::fmt::Debug for IRowsetWatchNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetWatchNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetWatchNotify { type Vtable = IRowsetWatchNotify_Vtbl; } -impl ::core::clone::Clone for IRowsetWatchNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetWatchNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a44_2a1c_11ce_ade5_00aa0044773d); } @@ -8256,6 +6530,7 @@ pub struct IRowsetWatchNotify_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetWatchRegion(::windows_core::IUnknown); impl IRowsetWatchRegion { pub unsafe fn Acknowledge(&self) -> ::windows_core::Result<()> { @@ -8288,25 +6563,9 @@ impl IRowsetWatchRegion { } } ::windows_core::imp::interface_hierarchy!(IRowsetWatchRegion, ::windows_core::IUnknown, IRowsetWatchAll); -impl ::core::cmp::PartialEq for IRowsetWatchRegion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetWatchRegion {} -impl ::core::fmt::Debug for IRowsetWatchRegion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetWatchRegion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetWatchRegion { type Vtable = IRowsetWatchRegion_Vtbl; } -impl ::core::clone::Clone for IRowsetWatchRegion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetWatchRegion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a45_2a1c_11ce_ade5_00aa0044773d); } @@ -8323,6 +6582,7 @@ pub struct IRowsetWatchRegion_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRowsetWithParameters(::windows_core::IUnknown); impl IRowsetWithParameters { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8335,25 +6595,9 @@ impl IRowsetWithParameters { } } ::windows_core::imp::interface_hierarchy!(IRowsetWithParameters, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRowsetWithParameters { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRowsetWithParameters {} -impl ::core::fmt::Debug for IRowsetWithParameters { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRowsetWithParameters").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRowsetWithParameters { type Vtable = IRowsetWithParameters_Vtbl; } -impl ::core::clone::Clone for IRowsetWithParameters { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRowsetWithParameters { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a6e_2a1c_11ce_ade5_00aa0044773d); } @@ -8369,6 +6613,7 @@ pub struct IRowsetWithParameters_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISQLErrorInfo(::windows_core::IUnknown); impl ISQLErrorInfo { pub unsafe fn GetSQLInfo(&self, pbstrsqlstate: *mut ::windows_core::BSTR, plnativeerror: *mut i32) -> ::windows_core::Result<()> { @@ -8376,25 +6621,9 @@ impl ISQLErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ISQLErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISQLErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISQLErrorInfo {} -impl ::core::fmt::Debug for ISQLErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISQLErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISQLErrorInfo { type Vtable = ISQLErrorInfo_Vtbl; } -impl ::core::clone::Clone for ISQLErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISQLErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a74_2a1c_11ce_ade5_00aa0044773d); } @@ -8406,6 +6635,7 @@ pub struct ISQLErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISQLGetDiagField(::windows_core::IUnknown); impl ISQLGetDiagField { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -8415,25 +6645,9 @@ impl ISQLGetDiagField { } } ::windows_core::imp::interface_hierarchy!(ISQLGetDiagField, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISQLGetDiagField { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISQLGetDiagField {} -impl ::core::fmt::Debug for ISQLGetDiagField { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISQLGetDiagField").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISQLGetDiagField { type Vtable = ISQLGetDiagField_Vtbl; } -impl ::core::clone::Clone for ISQLGetDiagField { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISQLGetDiagField { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x228972f1_b5ff_11d0_8a80_00c04fd611cd); } @@ -8448,6 +6662,7 @@ pub struct ISQLGetDiagField_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISQLRequestDiagFields(::windows_core::IUnknown); impl ISQLRequestDiagFields { #[doc = "*Required features: `\"Win32_System_Variant\"`*"] @@ -8457,25 +6672,9 @@ impl ISQLRequestDiagFields { } } ::windows_core::imp::interface_hierarchy!(ISQLRequestDiagFields, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISQLRequestDiagFields { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISQLRequestDiagFields {} -impl ::core::fmt::Debug for ISQLRequestDiagFields { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISQLRequestDiagFields").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISQLRequestDiagFields { type Vtable = ISQLRequestDiagFields_Vtbl; } -impl ::core::clone::Clone for ISQLRequestDiagFields { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISQLRequestDiagFields { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x228972f0_b5ff_11d0_8a80_00c04fd611cd); } @@ -8490,32 +6689,17 @@ pub struct ISQLRequestDiagFields_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISQLServerErrorInfo(::windows_core::IUnknown); impl ISQLServerErrorInfo { pub unsafe fn GetErrorInfo(&self, pperrorinfo: *mut *mut SSERRORINFO, ppstringsbuffer: *mut *mut u16) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetErrorInfo)(::windows_core::Interface::as_raw(self), pperrorinfo, ppstringsbuffer).ok() } } -::windows_core::imp::interface_hierarchy!(ISQLServerErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISQLServerErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISQLServerErrorInfo {} -impl ::core::fmt::Debug for ISQLServerErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISQLServerErrorInfo").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ISQLServerErrorInfo, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISQLServerErrorInfo { type Vtable = ISQLServerErrorInfo_Vtbl; } -impl ::core::clone::Clone for ISQLServerErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISQLServerErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cf4ca12_ef21_11d0_97e7_00c04fc2ad98); } @@ -8527,6 +6711,7 @@ pub struct ISQLServerErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaLocalizerSupport(::windows_core::IUnknown); impl ISchemaLocalizerSupport { pub unsafe fn Localize(&self, pszglobalstring: P0) -> ::windows_core::Result<::windows_core::PWSTR> @@ -8538,25 +6723,9 @@ impl ISchemaLocalizerSupport { } } ::windows_core::imp::interface_hierarchy!(ISchemaLocalizerSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISchemaLocalizerSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISchemaLocalizerSupport {} -impl ::core::fmt::Debug for ISchemaLocalizerSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaLocalizerSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISchemaLocalizerSupport { type Vtable = ISchemaLocalizerSupport_Vtbl; } -impl ::core::clone::Clone for ISchemaLocalizerSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISchemaLocalizerSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca3fdca2_bfbe_4eed_90d7_0caef0a1bda1); } @@ -8568,6 +6737,7 @@ pub struct ISchemaLocalizerSupport_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaLock(::windows_core::IUnknown); impl ISchemaLock { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`*"] @@ -8585,25 +6755,9 @@ impl ISchemaLock { } } ::windows_core::imp::interface_hierarchy!(ISchemaLock, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISchemaLock { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISchemaLock {} -impl ::core::fmt::Debug for ISchemaLock { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaLock").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISchemaLock { type Vtable = ISchemaLock_Vtbl; } -impl ::core::clone::Clone for ISchemaLock { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISchemaLock { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c2389fb_2511_11d4_b258_00c04f7971ce); } @@ -8622,6 +6776,7 @@ pub struct ISchemaLock_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISchemaProvider(::windows_core::IUnknown); impl ISchemaProvider { pub unsafe fn Entities(&self) -> ::windows_core::Result @@ -8671,25 +6826,9 @@ impl ISchemaProvider { } } ::windows_core::imp::interface_hierarchy!(ISchemaProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISchemaProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISchemaProvider {} -impl ::core::fmt::Debug for ISchemaProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISchemaProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISchemaProvider { type Vtable = ISchemaProvider_Vtbl; } -impl ::core::clone::Clone for ISchemaProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISchemaProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cf89bcb_394c_49b2_ae28_a59dd4ed7f68); } @@ -8707,6 +6846,7 @@ pub struct ISchemaProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScopedOperations(::windows_core::IUnknown); impl IScopedOperations { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -8748,25 +6888,9 @@ impl IScopedOperations { } } ::windows_core::imp::interface_hierarchy!(IScopedOperations, ::windows_core::IUnknown, IBindResource); -impl ::core::cmp::PartialEq for IScopedOperations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScopedOperations {} -impl ::core::fmt::Debug for IScopedOperations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScopedOperations").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScopedOperations { type Vtable = IScopedOperations_Vtbl; } -impl ::core::clone::Clone for IScopedOperations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScopedOperations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733ab0_2a1c_11ce_ade5_00aa0044773d); } @@ -8790,6 +6914,7 @@ pub struct IScopedOperations_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCatalogManager(::windows_core::IUnknown); impl ISearchCatalogManager { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -8928,25 +7053,9 @@ impl ISearchCatalogManager { } } ::windows_core::imp::interface_hierarchy!(ISearchCatalogManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchCatalogManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchCatalogManager {} -impl ::core::fmt::Debug for ISearchCatalogManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCatalogManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchCatalogManager { type Vtable = ISearchCatalogManager_Vtbl; } -impl ::core::clone::Clone for ISearchCatalogManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchCatalogManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef50); } @@ -9001,6 +7110,7 @@ pub struct ISearchCatalogManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCatalogManager2(::windows_core::IUnknown); impl ISearchCatalogManager2 { pub unsafe fn Name(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9145,25 +7255,9 @@ impl ISearchCatalogManager2 { } } ::windows_core::imp::interface_hierarchy!(ISearchCatalogManager2, ::windows_core::IUnknown, ISearchCatalogManager); -impl ::core::cmp::PartialEq for ISearchCatalogManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchCatalogManager2 {} -impl ::core::fmt::Debug for ISearchCatalogManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCatalogManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchCatalogManager2 { type Vtable = ISearchCatalogManager2_Vtbl; } -impl ::core::clone::Clone for ISearchCatalogManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchCatalogManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ac3286d_4d1d_4817_84fc_c1c85e3af0d9); } @@ -9175,6 +7269,7 @@ pub struct ISearchCatalogManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCrawlScopeManager(::windows_core::IUnknown); impl ISearchCrawlScopeManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9289,25 +7384,9 @@ impl ISearchCrawlScopeManager { } } ::windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchCrawlScopeManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchCrawlScopeManager {} -impl ::core::fmt::Debug for ISearchCrawlScopeManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCrawlScopeManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchCrawlScopeManager { type Vtable = ISearchCrawlScopeManager_Vtbl; } -impl ::core::clone::Clone for ISearchCrawlScopeManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchCrawlScopeManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef55); } @@ -9355,6 +7434,7 @@ pub struct ISearchCrawlScopeManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCrawlScopeManager2(::windows_core::IUnknown); impl ISearchCrawlScopeManager2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9474,25 +7554,9 @@ impl ISearchCrawlScopeManager2 { } } ::windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager2, ::windows_core::IUnknown, ISearchCrawlScopeManager); -impl ::core::cmp::PartialEq for ISearchCrawlScopeManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchCrawlScopeManager2 {} -impl ::core::fmt::Debug for ISearchCrawlScopeManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCrawlScopeManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchCrawlScopeManager2 { type Vtable = ISearchCrawlScopeManager2_Vtbl; } -impl ::core::clone::Clone for ISearchCrawlScopeManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchCrawlScopeManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6292f7ad_4e19_4717_a534_8fc22bcd5ccd); } @@ -9507,6 +7571,7 @@ pub struct ISearchCrawlScopeManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchItemsChangedSink(::windows_core::IUnknown); impl ISearchItemsChangedSink { pub unsafe fn StartedMonitoringScope(&self, pszurl: P0) -> ::windows_core::Result<()> @@ -9528,25 +7593,9 @@ impl ISearchItemsChangedSink { } } ::windows_core::imp::interface_hierarchy!(ISearchItemsChangedSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchItemsChangedSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchItemsChangedSink {} -impl ::core::fmt::Debug for ISearchItemsChangedSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchItemsChangedSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchItemsChangedSink { type Vtable = ISearchItemsChangedSink_Vtbl; } -impl ::core::clone::Clone for ISearchItemsChangedSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchItemsChangedSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef58); } @@ -9563,6 +7612,7 @@ pub struct ISearchItemsChangedSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchLanguageSupport(::windows_core::IUnknown); impl ISearchLanguageSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9599,25 +7649,9 @@ impl ISearchLanguageSupport { } } ::windows_core::imp::interface_hierarchy!(ISearchLanguageSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchLanguageSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchLanguageSupport {} -impl ::core::fmt::Debug for ISearchLanguageSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchLanguageSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchLanguageSupport { type Vtable = ISearchLanguageSupport_Vtbl; } -impl ::core::clone::Clone for ISearchLanguageSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchLanguageSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24c3cbaa_ebc1_491a_9ef1_9f6d8deb1b8f); } @@ -9639,6 +7673,7 @@ pub struct ISearchLanguageSupport_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchManager(::windows_core::IUnknown); impl ISearchManager { pub unsafe fn GetIndexerVersionStr(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9716,25 +7751,9 @@ impl ISearchManager { } } ::windows_core::imp::interface_hierarchy!(ISearchManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchManager {} -impl ::core::fmt::Debug for ISearchManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchManager { type Vtable = ISearchManager_Vtbl; } -impl ::core::clone::Clone for ISearchManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef69); } @@ -9770,6 +7789,7 @@ pub struct ISearchManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchManager2(::windows_core::IUnknown); impl ISearchManager2 { pub unsafe fn GetIndexerVersionStr(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9860,25 +7880,9 @@ impl ISearchManager2 { } } ::windows_core::imp::interface_hierarchy!(ISearchManager2, ::windows_core::IUnknown, ISearchManager); -impl ::core::cmp::PartialEq for ISearchManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchManager2 {} -impl ::core::fmt::Debug for ISearchManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchManager2 { type Vtable = ISearchManager2_Vtbl; } -impl ::core::clone::Clone for ISearchManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbab3f73_db19_4a79_bfc0_a61a93886ddf); } @@ -9891,6 +7895,7 @@ pub struct ISearchManager2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchNotifyInlineSite(::windows_core::IUnknown); impl ISearchNotifyInlineSite { pub unsafe fn OnItemIndexedStatusChange(&self, sipstatus: SEARCH_INDEXING_PHASE, rgitemstatusentries: &[SEARCH_ITEM_INDEXING_STATUS]) -> ::windows_core::Result<()> { @@ -9901,25 +7906,9 @@ impl ISearchNotifyInlineSite { } } ::windows_core::imp::interface_hierarchy!(ISearchNotifyInlineSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchNotifyInlineSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchNotifyInlineSite {} -impl ::core::fmt::Debug for ISearchNotifyInlineSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchNotifyInlineSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchNotifyInlineSite { type Vtable = ISearchNotifyInlineSite_Vtbl; } -impl ::core::clone::Clone for ISearchNotifyInlineSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchNotifyInlineSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5702e61_e75c_4b64_82a1_6cb4f832fccf); } @@ -9932,6 +7921,7 @@ pub struct ISearchNotifyInlineSite_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchPersistentItemsChangedSink(::windows_core::IUnknown); impl ISearchPersistentItemsChangedSink { pub unsafe fn StartedMonitoringScope(&self, pszurl: P0) -> ::windows_core::Result<()> @@ -9951,25 +7941,9 @@ impl ISearchPersistentItemsChangedSink { } } ::windows_core::imp::interface_hierarchy!(ISearchPersistentItemsChangedSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchPersistentItemsChangedSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchPersistentItemsChangedSink {} -impl ::core::fmt::Debug for ISearchPersistentItemsChangedSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchPersistentItemsChangedSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchPersistentItemsChangedSink { type Vtable = ISearchPersistentItemsChangedSink_Vtbl; } -impl ::core::clone::Clone for ISearchPersistentItemsChangedSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchPersistentItemsChangedSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2ffdf9b_4758_4f84_b729_df81a1a0612f); } @@ -9983,6 +7957,7 @@ pub struct ISearchPersistentItemsChangedSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchProtocol(::windows_core::IUnknown); impl ISearchProtocol { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10013,25 +7988,9 @@ impl ISearchProtocol { } } ::windows_core::imp::interface_hierarchy!(ISearchProtocol, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchProtocol { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchProtocol {} -impl ::core::fmt::Debug for ISearchProtocol { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchProtocol").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchProtocol { type Vtable = ISearchProtocol_Vtbl; } -impl ::core::clone::Clone for ISearchProtocol { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchProtocol { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc73106ba_ac80_11d1_8df3_00c04fb6ef4f); } @@ -10052,6 +8011,7 @@ pub struct ISearchProtocol_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchProtocol2(::windows_core::IUnknown); impl ISearchProtocol2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10091,25 +8051,9 @@ impl ISearchProtocol2 { } } ::windows_core::imp::interface_hierarchy!(ISearchProtocol2, ::windows_core::IUnknown, ISearchProtocol); -impl ::core::cmp::PartialEq for ISearchProtocol2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchProtocol2 {} -impl ::core::fmt::Debug for ISearchProtocol2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchProtocol2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchProtocol2 { type Vtable = ISearchProtocol2_Vtbl; } -impl ::core::clone::Clone for ISearchProtocol2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchProtocol2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7789f0b2_b5b2_4722_8b65_5dbd150697a9); } @@ -10124,6 +8068,7 @@ pub struct ISearchProtocol2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchProtocolThreadContext(::windows_core::IUnknown); impl ISearchProtocolThreadContext { pub unsafe fn ThreadInit(&self) -> ::windows_core::Result<()> { @@ -10137,25 +8082,9 @@ impl ISearchProtocolThreadContext { } } ::windows_core::imp::interface_hierarchy!(ISearchProtocolThreadContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchProtocolThreadContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchProtocolThreadContext {} -impl ::core::fmt::Debug for ISearchProtocolThreadContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchProtocolThreadContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchProtocolThreadContext { type Vtable = ISearchProtocolThreadContext_Vtbl; } -impl ::core::clone::Clone for ISearchProtocolThreadContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchProtocolThreadContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc73106e1_ac80_11d1_8df3_00c04fb6ef4f); } @@ -10169,6 +8098,7 @@ pub struct ISearchProtocolThreadContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchQueryHelper(::windows_core::IUnknown); impl ISearchQueryHelper { pub unsafe fn ConnectionString(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -10264,25 +8194,9 @@ impl ISearchQueryHelper { } } ::windows_core::imp::interface_hierarchy!(ISearchQueryHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchQueryHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchQueryHelper {} -impl ::core::fmt::Debug for ISearchQueryHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchQueryHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchQueryHelper { type Vtable = ISearchQueryHelper_Vtbl; } -impl ::core::clone::Clone for ISearchQueryHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchQueryHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef63); } @@ -10317,6 +8231,7 @@ pub struct ISearchQueryHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchQueryHits(::windows_core::IUnknown); impl ISearchQueryHits { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -10339,25 +8254,9 @@ impl ISearchQueryHits { } } ::windows_core::imp::interface_hierarchy!(ISearchQueryHits, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchQueryHits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchQueryHits {} -impl ::core::fmt::Debug for ISearchQueryHits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchQueryHits").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchQueryHits { type Vtable = ISearchQueryHits_Vtbl; } -impl ::core::clone::Clone for ISearchQueryHits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchQueryHits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed8ce7e0_106c_11ce_84e2_00aa004b9986); } @@ -10380,6 +8279,7 @@ pub struct ISearchQueryHits_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchRoot(::windows_core::IUnknown); impl ISearchRoot { pub unsafe fn SetSchedule(&self, psztaskarg: P0) -> ::windows_core::Result<()> @@ -10501,25 +8401,9 @@ impl ISearchRoot { } } ::windows_core::imp::interface_hierarchy!(ISearchRoot, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchRoot { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchRoot {} -impl ::core::fmt::Debug for ISearchRoot { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchRoot").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchRoot { type Vtable = ISearchRoot_Vtbl; } -impl ::core::clone::Clone for ISearchRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchRoot { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04c18ccf_1f57_4cbd_88cc_3900f5195ce3); } @@ -10576,6 +8460,7 @@ pub struct ISearchRoot_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchScopeRule(::windows_core::IUnknown); impl ISearchScopeRule { pub unsafe fn PatternOrURL(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -10600,25 +8485,9 @@ impl ISearchScopeRule { } } ::windows_core::imp::interface_hierarchy!(ISearchScopeRule, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchScopeRule { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchScopeRule {} -impl ::core::fmt::Debug for ISearchScopeRule { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchScopeRule").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchScopeRule { type Vtable = ISearchScopeRule_Vtbl; } -impl ::core::clone::Clone for ISearchScopeRule { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchScopeRule { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef53); } @@ -10639,6 +8508,7 @@ pub struct ISearchScopeRule_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchViewChangedSink(::windows_core::IUnknown); impl ISearchViewChangedSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -10648,25 +8518,9 @@ impl ISearchViewChangedSink { } } ::windows_core::imp::interface_hierarchy!(ISearchViewChangedSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchViewChangedSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchViewChangedSink {} -impl ::core::fmt::Debug for ISearchViewChangedSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchViewChangedSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchViewChangedSink { type Vtable = ISearchViewChangedSink_Vtbl; } -impl ::core::clone::Clone for ISearchViewChangedSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchViewChangedSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xab310581_ac80_11d1_8df3_00c04fb6ef65); } @@ -10681,6 +8535,7 @@ pub struct ISearchViewChangedSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISecurityInfo(::windows_core::IUnknown); impl ISecurityInfo { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -10698,25 +8553,9 @@ impl ISecurityInfo { } } ::windows_core::imp::interface_hierarchy!(ISecurityInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISecurityInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISecurityInfo {} -impl ::core::fmt::Debug for ISecurityInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISecurityInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISecurityInfo { type Vtable = ISecurityInfo_Vtbl; } -impl ::core::clone::Clone for ISecurityInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISecurityInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa4_2a1c_11ce_ade5_00aa0044773d); } @@ -10733,6 +8572,7 @@ pub struct ISecurityInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IService(::windows_core::IUnknown); impl IService { pub unsafe fn InvokeService(&self, punkinner: P0) -> ::windows_core::Result<()> @@ -10743,25 +8583,9 @@ impl IService { } } ::windows_core::imp::interface_hierarchy!(IService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IService {} -impl ::core::fmt::Debug for IService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IService { type Vtable = IService_Vtbl; } -impl ::core::clone::Clone for IService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06210e88_01f5_11d1_b512_0080c781c384); } @@ -10773,6 +8597,7 @@ pub struct IService_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISessionProperties(::windows_core::IUnknown); impl ISessionProperties { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -10787,25 +8612,9 @@ impl ISessionProperties { } } ::windows_core::imp::interface_hierarchy!(ISessionProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISessionProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISessionProperties {} -impl ::core::fmt::Debug for ISessionProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISessionProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISessionProperties { type Vtable = ISessionProperties_Vtbl; } -impl ::core::clone::Clone for ISessionProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISessionProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a85_2a1c_11ce_ade5_00aa0044773d); } @@ -10824,6 +8633,7 @@ pub struct ISessionProperties_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISimpleCommandCreator(::windows_core::IUnknown); impl ISimpleCommandCreator { pub unsafe fn CreateICommand(&self, ppiunknown: *mut ::core::option::Option<::windows_core::IUnknown>, pouterunk: P0) -> ::windows_core::Result<()> @@ -10847,25 +8657,9 @@ impl ISimpleCommandCreator { } } ::windows_core::imp::interface_hierarchy!(ISimpleCommandCreator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISimpleCommandCreator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISimpleCommandCreator {} -impl ::core::fmt::Debug for ISimpleCommandCreator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISimpleCommandCreator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISimpleCommandCreator { type Vtable = ISimpleCommandCreator_Vtbl; } -impl ::core::clone::Clone for ISimpleCommandCreator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISimpleCommandCreator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e341ab7_02d0_11d1_900c_00a0c9063796); } @@ -10879,6 +8673,7 @@ pub struct ISimpleCommandCreator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISourcesRowset(::windows_core::IUnknown); impl ISourcesRowset { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -10891,25 +8686,9 @@ impl ISourcesRowset { } } ::windows_core::imp::interface_hierarchy!(ISourcesRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISourcesRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISourcesRowset {} -impl ::core::fmt::Debug for ISourcesRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISourcesRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISourcesRowset { type Vtable = ISourcesRowset_Vtbl; } -impl ::core::clone::Clone for ISourcesRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISourcesRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a1e_2a1c_11ce_ade5_00aa0044773d); } @@ -10924,6 +8703,7 @@ pub struct ISourcesRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStemmer(::windows_core::IUnknown); impl IStemmer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10943,25 +8723,9 @@ impl IStemmer { } } ::windows_core::imp::interface_hierarchy!(IStemmer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStemmer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStemmer {} -impl ::core::fmt::Debug for IStemmer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStemmer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStemmer { type Vtable = IStemmer_Vtbl; } -impl ::core::clone::Clone for IStemmer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStemmer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefbaf140_7f42_11ce_be57_00aa0051fe20); } @@ -10978,6 +8742,7 @@ pub struct IStemmer_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubscriptionItem(::windows_core::IUnknown); impl ISubscriptionItem { pub unsafe fn GetCookie(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -11009,25 +8774,9 @@ impl ISubscriptionItem { } } ::windows_core::imp::interface_hierarchy!(ISubscriptionItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISubscriptionItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISubscriptionItem {} -impl ::core::fmt::Debug for ISubscriptionItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISubscriptionItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISubscriptionItem { type Vtable = ISubscriptionItem_Vtbl; } -impl ::core::clone::Clone for ISubscriptionItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubscriptionItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa97559f8_6c4a_11d1_a1e8_00c04fc2fbe1); } @@ -11051,6 +8800,7 @@ pub struct ISubscriptionItem_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubscriptionMgr(::windows_core::IUnknown); impl ISubscriptionMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11114,25 +8864,9 @@ impl ISubscriptionMgr { } } ::windows_core::imp::interface_hierarchy!(ISubscriptionMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISubscriptionMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISubscriptionMgr {} -impl ::core::fmt::Debug for ISubscriptionMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISubscriptionMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISubscriptionMgr { type Vtable = ISubscriptionMgr_Vtbl; } -impl ::core::clone::Clone for ISubscriptionMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubscriptionMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x085fb2c0_0df8_11d1_8f4b_00a0c905413f); } @@ -11169,6 +8903,7 @@ pub struct ISubscriptionMgr_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISubscriptionMgr2(::windows_core::IUnknown); impl ISubscriptionMgr2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -11259,25 +8994,9 @@ impl ISubscriptionMgr2 { } } ::windows_core::imp::interface_hierarchy!(ISubscriptionMgr2, ::windows_core::IUnknown, ISubscriptionMgr); -impl ::core::cmp::PartialEq for ISubscriptionMgr2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISubscriptionMgr2 {} -impl ::core::fmt::Debug for ISubscriptionMgr2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISubscriptionMgr2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISubscriptionMgr2 { type Vtable = ISubscriptionMgr2_Vtbl; } -impl ::core::clone::Clone for ISubscriptionMgr2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISubscriptionMgr2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x614bc270_aedf_11d1_a1f9_00c04fc2fbe1); } @@ -11295,6 +9014,7 @@ pub struct ISubscriptionMgr2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableCreation(::windows_core::IUnknown); impl ITableCreation { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -11350,25 +9070,9 @@ impl ITableCreation { } } ::windows_core::imp::interface_hierarchy!(ITableCreation, ::windows_core::IUnknown, ITableDefinition); -impl ::core::cmp::PartialEq for ITableCreation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableCreation {} -impl ::core::fmt::Debug for ITableCreation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableCreation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableCreation { type Vtable = ITableCreation_Vtbl; } -impl ::core::clone::Clone for ITableCreation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableCreation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733abc_2a1c_11ce_ade5_00aa0044773d); } @@ -11383,6 +9087,7 @@ pub struct ITableCreation_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableDefinition(::windows_core::IUnknown); impl ITableDefinition { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -11422,25 +9127,9 @@ impl ITableDefinition { } } ::windows_core::imp::interface_hierarchy!(ITableDefinition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITableDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableDefinition {} -impl ::core::fmt::Debug for ITableDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableDefinition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableDefinition { type Vtable = ITableDefinition_Vtbl; } -impl ::core::clone::Clone for ITableDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a86_2a1c_11ce_ade5_00aa0044773d); } @@ -11467,6 +9156,7 @@ pub struct ITableDefinition_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableDefinitionWithConstraints(::windows_core::IUnknown); impl ITableDefinitionWithConstraints { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -11540,25 +9230,9 @@ impl ITableDefinitionWithConstraints { } } ::windows_core::imp::interface_hierarchy!(ITableDefinitionWithConstraints, ::windows_core::IUnknown, ITableDefinition, ITableCreation); -impl ::core::cmp::PartialEq for ITableDefinitionWithConstraints { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableDefinitionWithConstraints {} -impl ::core::fmt::Debug for ITableDefinitionWithConstraints { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableDefinitionWithConstraints").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableDefinitionWithConstraints { type Vtable = ITableDefinitionWithConstraints_Vtbl; } -impl ::core::clone::Clone for ITableDefinitionWithConstraints { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableDefinitionWithConstraints { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aab_2a1c_11ce_ade5_00aa0044773d); } @@ -11581,6 +9255,7 @@ pub struct ITableDefinitionWithConstraints_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableRename(::windows_core::IUnknown); impl ITableRename { #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`*"] @@ -11595,25 +9270,9 @@ impl ITableRename { } } ::windows_core::imp::interface_hierarchy!(ITableRename, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITableRename { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableRename {} -impl ::core::fmt::Debug for ITableRename { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableRename").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableRename { type Vtable = ITableRename_Vtbl; } -impl ::core::clone::Clone for ITableRename { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableRename { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a77_2a1c_11ce_ade5_00aa0044773d); } @@ -11632,6 +9291,7 @@ pub struct ITableRename_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITokenCollection(::windows_core::IUnknown); impl ITokenCollection { pub unsafe fn NumberOfTokens(&self, pcount: *const u32) -> ::windows_core::Result<()> { @@ -11642,25 +9302,9 @@ impl ITokenCollection { } } ::windows_core::imp::interface_hierarchy!(ITokenCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITokenCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITokenCollection {} -impl ::core::fmt::Debug for ITokenCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITokenCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITokenCollection { type Vtable = ITokenCollection_Vtbl; } -impl ::core::clone::Clone for ITokenCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITokenCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22d8b4f2_f577_4adb_a335_c2ae88416fab); } @@ -11673,6 +9317,7 @@ pub struct ITokenCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionJoin(::windows_core::IUnknown); impl ITransactionJoin { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -11692,25 +9337,9 @@ impl ITransactionJoin { } } ::windows_core::imp::interface_hierarchy!(ITransactionJoin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionJoin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionJoin {} -impl ::core::fmt::Debug for ITransactionJoin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionJoin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionJoin { type Vtable = ITransactionJoin_Vtbl; } -impl ::core::clone::Clone for ITransactionJoin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionJoin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a5e_2a1c_11ce_ade5_00aa0044773d); } @@ -11730,6 +9359,7 @@ pub struct ITransactionJoin_Vtbl { #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_DistributedTransactionCoordinator\"`*"] #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionLocal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] impl ITransactionLocal { @@ -11773,30 +9403,10 @@ impl ITransactionLocal { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] ::windows_core::imp::interface_hierarchy!(ITransactionLocal, ::windows_core::IUnknown, super::DistributedTransactionCoordinator::ITransaction); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -impl ::core::cmp::PartialEq for ITransactionLocal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -impl ::core::cmp::Eq for ITransactionLocal {} -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -impl ::core::fmt::Debug for ITransactionLocal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionLocal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] unsafe impl ::windows_core::Interface for ITransactionLocal { type Vtable = ITransactionLocal_Vtbl; } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -impl ::core::clone::Clone for ITransactionLocal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] unsafe impl ::windows_core::ComInterface for ITransactionLocal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a5f_2a1c_11ce_ade5_00aa0044773d); } @@ -11816,6 +9426,7 @@ pub struct ITransactionLocal_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransactionObject(::windows_core::IUnknown); impl ITransactionObject { #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`*"] @@ -11826,25 +9437,9 @@ impl ITransactionObject { } } ::windows_core::imp::interface_hierarchy!(ITransactionObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransactionObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransactionObject {} -impl ::core::fmt::Debug for ITransactionObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransactionObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransactionObject { type Vtable = ITransactionObject_Vtbl; } -impl ::core::clone::Clone for ITransactionObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransactionObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a60_2a1c_11ce_ade5_00aa0044773d); } @@ -11859,6 +9454,7 @@ pub struct ITransactionObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITrusteeAdmin(::windows_core::IUnknown); impl ITrusteeAdmin { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -11888,25 +9484,9 @@ impl ITrusteeAdmin { } } ::windows_core::imp::interface_hierarchy!(ITrusteeAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITrusteeAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITrusteeAdmin {} -impl ::core::fmt::Debug for ITrusteeAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrusteeAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITrusteeAdmin { type Vtable = ITrusteeAdmin_Vtbl; } -impl ::core::clone::Clone for ITrusteeAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITrusteeAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa1_2a1c_11ce_ade5_00aa0044773d); } @@ -11937,6 +9517,7 @@ pub struct ITrusteeAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITrusteeGroupAdmin(::windows_core::IUnknown); impl ITrusteeGroupAdmin { #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -11967,25 +9548,9 @@ impl ITrusteeGroupAdmin { } } ::windows_core::imp::interface_hierarchy!(ITrusteeGroupAdmin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITrusteeGroupAdmin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITrusteeGroupAdmin {} -impl ::core::fmt::Debug for ITrusteeGroupAdmin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrusteeGroupAdmin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITrusteeGroupAdmin { type Vtable = ITrusteeGroupAdmin_Vtbl; } -impl ::core::clone::Clone for ITrusteeGroupAdmin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITrusteeGroupAdmin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733aa2_2a1c_11ce_ade5_00aa0044773d); } @@ -12016,6 +9581,7 @@ pub struct ITrusteeGroupAdmin_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUMS(::std::ptr::NonNull<::std::ffi::c_void>); impl IUMS { pub unsafe fn SqlUmsSuspend(&self, ticks: u32) { @@ -12036,25 +9602,9 @@ impl IUMS { (::windows_core::Interface::vtable(self).SqlUmsFIsPremptive)(::windows_core::Interface::as_raw(self)) } } -impl ::core::cmp::PartialEq for IUMS { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUMS {} -impl ::core::fmt::Debug for IUMS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUMS").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUMS { type Vtable = IUMS_Vtbl; } -impl ::core::clone::Clone for IUMS { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IUMS_Vtbl { @@ -12069,6 +9619,7 @@ pub struct IUMS_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUMSInitialize(::windows_core::IUnknown); impl IUMSInitialize { pub unsafe fn Initialize(&self, pums: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -12076,25 +9627,9 @@ impl IUMSInitialize { } } ::windows_core::imp::interface_hierarchy!(IUMSInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUMSInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUMSInitialize {} -impl ::core::fmt::Debug for IUMSInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUMSInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUMSInitialize { type Vtable = IUMSInitialize_Vtbl; } -impl ::core::clone::Clone for IUMSInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUMSInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cf4ca14_ef21_11d0_97e7_00c04fc2ad98); } @@ -12106,6 +9641,7 @@ pub struct IUMSInitialize_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlAccessor(::windows_core::IUnknown); impl IUrlAccessor { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -12163,25 +9699,9 @@ impl IUrlAccessor { } } ::windows_core::imp::interface_hierarchy!(IUrlAccessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUrlAccessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlAccessor {} -impl ::core::fmt::Debug for IUrlAccessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlAccessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlAccessor { type Vtable = IUrlAccessor_Vtbl; } -impl ::core::clone::Clone for IUrlAccessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlAccessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b63e318_9ccc_11d0_bcdb_00805fccce04); } @@ -12217,6 +9737,7 @@ pub struct IUrlAccessor_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlAccessor2(::windows_core::IUnknown); impl IUrlAccessor2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -12283,25 +9804,9 @@ impl IUrlAccessor2 { } } ::windows_core::imp::interface_hierarchy!(IUrlAccessor2, ::windows_core::IUnknown, IUrlAccessor); -impl ::core::cmp::PartialEq for IUrlAccessor2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlAccessor2 {} -impl ::core::fmt::Debug for IUrlAccessor2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlAccessor2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlAccessor2 { type Vtable = IUrlAccessor2_Vtbl; } -impl ::core::clone::Clone for IUrlAccessor2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlAccessor2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7310734_ac80_11d1_8df3_00c04fb6ef4f); } @@ -12315,6 +9820,7 @@ pub struct IUrlAccessor2_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlAccessor3(::windows_core::IUnknown); impl IUrlAccessor3 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -12389,25 +9895,9 @@ impl IUrlAccessor3 { } } ::windows_core::imp::interface_hierarchy!(IUrlAccessor3, ::windows_core::IUnknown, IUrlAccessor, IUrlAccessor2); -impl ::core::cmp::PartialEq for IUrlAccessor3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlAccessor3 {} -impl ::core::fmt::Debug for IUrlAccessor3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlAccessor3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlAccessor3 { type Vtable = IUrlAccessor3_Vtbl; } -impl ::core::clone::Clone for IUrlAccessor3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlAccessor3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fbc7005_0455_4874_b8ff_7439450241a3); } @@ -12422,6 +9912,7 @@ pub struct IUrlAccessor3_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlAccessor4(::windows_core::IUnknown); impl IUrlAccessor4 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -12508,25 +9999,9 @@ impl IUrlAccessor4 { } } ::windows_core::imp::interface_hierarchy!(IUrlAccessor4, ::windows_core::IUnknown, IUrlAccessor, IUrlAccessor2, IUrlAccessor3); -impl ::core::cmp::PartialEq for IUrlAccessor4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlAccessor4 {} -impl ::core::fmt::Debug for IUrlAccessor4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlAccessor4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlAccessor4 { type Vtable = IUrlAccessor4_Vtbl; } -impl ::core::clone::Clone for IUrlAccessor4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlAccessor4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cc51041_c8d2_41d7_bca3_9e9e286297dc); } @@ -12545,6 +10020,7 @@ pub struct IUrlAccessor4_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewChapter(::windows_core::IUnknown); impl IViewChapter { pub unsafe fn GetSpecification(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -12556,25 +10032,9 @@ impl IViewChapter { } } ::windows_core::imp::interface_hierarchy!(IViewChapter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewChapter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewChapter {} -impl ::core::fmt::Debug for IViewChapter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewChapter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewChapter { type Vtable = IViewChapter_Vtbl; } -impl ::core::clone::Clone for IViewChapter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewChapter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a98_2a1c_11ce_ade5_00aa0044773d); } @@ -12587,6 +10047,7 @@ pub struct IViewChapter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewFilter(::windows_core::IUnknown); impl IViewFilter { pub unsafe fn GetFilter(&self, haccessor: P0, pcrows: *mut usize, pcompareops: *mut *mut u32, pcriteriadata: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> @@ -12608,25 +10069,9 @@ impl IViewFilter { } } ::windows_core::imp::interface_hierarchy!(IViewFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewFilter {} -impl ::core::fmt::Debug for IViewFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewFilter { type Vtable = IViewFilter_Vtbl; } -impl ::core::clone::Clone for IViewFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a9b_2a1c_11ce_ade5_00aa0044773d); } @@ -12643,6 +10088,7 @@ pub struct IViewFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewRowset(::windows_core::IUnknown); impl IViewRowset { pub unsafe fn GetSpecification(&self, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -12658,25 +10104,9 @@ impl IViewRowset { } } ::windows_core::imp::interface_hierarchy!(IViewRowset, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewRowset { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewRowset {} -impl ::core::fmt::Debug for IViewRowset { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewRowset").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewRowset { type Vtable = IViewRowset_Vtbl; } -impl ::core::clone::Clone for IViewRowset { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewRowset { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a97_2a1c_11ce_ade5_00aa0044773d); } @@ -12689,6 +10119,7 @@ pub struct IViewRowset_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewSort(::windows_core::IUnknown); impl IViewSort { pub unsafe fn GetSortOrder(&self, pcvalues: *mut usize, prgcolumns: *mut *mut usize, prgorders: *mut *mut u32) -> ::windows_core::Result<()> { @@ -12699,25 +10130,9 @@ impl IViewSort { } } ::windows_core::imp::interface_hierarchy!(IViewSort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewSort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewSort {} -impl ::core::fmt::Debug for IViewSort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewSort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewSort { type Vtable = IViewSort_Vtbl; } -impl ::core::clone::Clone for IViewSort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewSort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c733a9a_2a1c_11ce_ade5_00aa0044773d); } @@ -12730,6 +10145,7 @@ pub struct IViewSort_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordBreaker(::windows_core::IUnknown); impl IWordBreaker { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12762,25 +10178,9 @@ impl IWordBreaker { } } ::windows_core::imp::interface_hierarchy!(IWordBreaker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWordBreaker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWordBreaker {} -impl ::core::fmt::Debug for IWordBreaker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWordBreaker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWordBreaker { type Vtable = IWordBreaker_Vtbl; } -impl ::core::clone::Clone for IWordBreaker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordBreaker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd53552c8_77e3_101a_b552_08002b33b0e6); } @@ -12801,6 +10201,7 @@ pub struct IWordBreaker_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordFormSink(::windows_core::IUnknown); impl IWordFormSink { pub unsafe fn PutAltWord(&self, pwcinbuf: P0, cwc: u32) -> ::windows_core::Result<()> @@ -12817,25 +10218,9 @@ impl IWordFormSink { } } ::windows_core::imp::interface_hierarchy!(IWordFormSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWordFormSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWordFormSink {} -impl ::core::fmt::Debug for IWordFormSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWordFormSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWordFormSink { type Vtable = IWordFormSink_Vtbl; } -impl ::core::clone::Clone for IWordFormSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordFormSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe77c330_7f42_11ce_be57_00aa0051fe20); } @@ -12848,6 +10233,7 @@ pub struct IWordFormSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWordSink(::windows_core::IUnknown); impl IWordSink { pub unsafe fn PutWord(&self, cwc: u32, pwcinbuf: P0, cwcsrclen: u32, cwcsrcpos: u32) -> ::windows_core::Result<()> @@ -12875,25 +10261,9 @@ impl IWordSink { } } ::windows_core::imp::interface_hierarchy!(IWordSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWordSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWordSink {} -impl ::core::fmt::Debug for IWordSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWordSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWordSink { type Vtable = IWordSink_Vtbl; } -impl ::core::clone::Clone for IWordSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWordSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc907054_c058_101a_b554_08002b33b0e6); } @@ -12912,6 +10282,7 @@ pub struct IWordSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OLEDBSimpleProvider(::windows_core::IUnknown); impl OLEDBSimpleProvider { pub unsafe fn getRowCount(&self) -> ::windows_core::Result { @@ -12982,25 +10353,9 @@ impl OLEDBSimpleProvider { } } ::windows_core::imp::interface_hierarchy!(OLEDBSimpleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for OLEDBSimpleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OLEDBSimpleProvider {} -impl ::core::fmt::Debug for OLEDBSimpleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OLEDBSimpleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for OLEDBSimpleProvider { type Vtable = OLEDBSimpleProvider_Vtbl; } -impl ::core::clone::Clone for OLEDBSimpleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for OLEDBSimpleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0e270c0_c0be_11d0_8fe4_00a0c90a6341); } @@ -13037,6 +10392,7 @@ pub struct OLEDBSimpleProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Search\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct OLEDBSimpleProviderListener(::windows_core::IUnknown); impl OLEDBSimpleProviderListener { pub unsafe fn aboutToChangeCell(&self, irow: isize, icolumn: isize) -> ::windows_core::Result<()> { @@ -13065,25 +10421,9 @@ impl OLEDBSimpleProviderListener { } } ::windows_core::imp::interface_hierarchy!(OLEDBSimpleProviderListener, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for OLEDBSimpleProviderListener { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for OLEDBSimpleProviderListener {} -impl ::core::fmt::Debug for OLEDBSimpleProviderListener { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OLEDBSimpleProviderListener").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for OLEDBSimpleProviderListener { type Vtable = OLEDBSimpleProviderListener_Vtbl; } -impl ::core::clone::Clone for OLEDBSimpleProviderListener { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for OLEDBSimpleProviderListener { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0e270c1_c0be_11d0_8fe4_00a0c90a6341); } diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs index 4fb50605de..c76c7823f5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs @@ -15,8 +15,8 @@ impl IWSCDefaultProduct_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), SetDefaultProduct: SetDefaultProduct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IWSCProductList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -173,8 +173,8 @@ impl IWscProduct_Vtbl { ProductIsDefault: ProductIsDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IWscProduct2_Vtbl { FirewallPublicProfileSubstatus: FirewallPublicProfileSubstatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -295,7 +295,7 @@ impl IWscProduct3_Vtbl { } Self { base__: IWscProduct2_Vtbl::new::(), AntivirusDaysUntilExpired: AntivirusDaysUntilExpired:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs index 460d0c8497..fb1f27949b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -43,6 +43,7 @@ where #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSCDefaultProduct(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSCDefaultProduct { @@ -56,30 +57,10 @@ impl IWSCDefaultProduct { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSCDefaultProduct, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSCDefaultProduct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSCDefaultProduct {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSCDefaultProduct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSCDefaultProduct").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSCDefaultProduct { type Vtable = IWSCDefaultProduct_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSCDefaultProduct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSCDefaultProduct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0476d69c_f21a_11e5_9ce9_5e5517507c66); } @@ -93,6 +74,7 @@ pub struct IWSCDefaultProduct_Vtbl { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWSCProductList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWSCProductList { @@ -113,30 +95,10 @@ impl IWSCProductList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWSCProductList, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWSCProductList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWSCProductList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWSCProductList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWSCProductList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWSCProductList { type Vtable = IWSCProductList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWSCProductList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWSCProductList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x722a338c_6e8e_4e72_ac27_1417fb0c81c2); } @@ -155,6 +117,7 @@ pub struct IWSCProductList_Vtbl { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWscProduct(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWscProduct { @@ -192,30 +155,10 @@ impl IWscProduct { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWscProduct, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWscProduct { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWscProduct {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWscProduct { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWscProduct").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWscProduct { type Vtable = IWscProduct_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWscProduct { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWscProduct { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c38232e_3a45_4a27_92b0_1a16a975f669); } @@ -238,6 +181,7 @@ pub struct IWscProduct_Vtbl { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWscProduct2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWscProduct2 { @@ -299,30 +243,10 @@ impl IWscProduct2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWscProduct2, ::windows_core::IUnknown, super::Com::IDispatch, IWscProduct); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWscProduct2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWscProduct2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWscProduct2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWscProduct2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWscProduct2 { type Vtable = IWscProduct2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWscProduct2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWscProduct2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf896ca54_fe09_4403_86d4_23cb488d81d8); } @@ -341,6 +265,7 @@ pub struct IWscProduct2_Vtbl { #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWscProduct3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWscProduct3 { @@ -406,30 +331,10 @@ impl IWscProduct3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWscProduct3, ::windows_core::IUnknown, super::Com::IDispatch, IWscProduct, IWscProduct2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWscProduct3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWscProduct3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWscProduct3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWscProduct3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWscProduct3 { type Vtable = IWscProduct3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWscProduct3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWscProduct3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55536524_d1d1_4726_8c7c_04996a1904e7); } diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs index a4f1210ae0..dbf79059b7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs @@ -28,8 +28,8 @@ impl IWsbApplicationAsync_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`, `\"implement\"`*"] @@ -52,8 +52,8 @@ impl IWsbApplicationBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckConsistency: CheckConsistency:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -103,7 +103,7 @@ impl IWsbApplicationRestoreSupport_Vtbl { IsRollForwardSupported: IsRollForwardSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs index eba4c6df01..7f60edba0b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWsbApplicationAsync(::windows_core::IUnknown); impl IWsbApplicationAsync { pub unsafe fn QueryStatus(&self) -> ::windows_core::Result<::windows_core::HRESULT> { @@ -11,25 +12,9 @@ impl IWsbApplicationAsync { } } ::windows_core::imp::interface_hierarchy!(IWsbApplicationAsync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWsbApplicationAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWsbApplicationAsync {} -impl ::core::fmt::Debug for IWsbApplicationAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWsbApplicationAsync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWsbApplicationAsync { type Vtable = IWsbApplicationAsync_Vtbl; } -impl ::core::clone::Clone for IWsbApplicationAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWsbApplicationAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0843f6f7_895c_44a6_b0c2_05a5022aa3a1); } @@ -42,6 +27,7 @@ pub struct IWsbApplicationAsync_Vtbl { } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWsbApplicationBackupSupport(::windows_core::IUnknown); impl IWsbApplicationBackupSupport { pub unsafe fn CheckConsistency(&self, wszwritermetadata: P0, wszcomponentname: P1, wszcomponentlogicalpath: P2, cvolumes: u32, rgwszsourcevolumepath: *const ::windows_core::PCWSTR, rgwszsnapshotvolumepath: *const ::windows_core::PCWSTR) -> ::windows_core::Result @@ -55,25 +41,9 @@ impl IWsbApplicationBackupSupport { } } ::windows_core::imp::interface_hierarchy!(IWsbApplicationBackupSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWsbApplicationBackupSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWsbApplicationBackupSupport {} -impl ::core::fmt::Debug for IWsbApplicationBackupSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWsbApplicationBackupSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWsbApplicationBackupSupport { type Vtable = IWsbApplicationBackupSupport_Vtbl; } -impl ::core::clone::Clone for IWsbApplicationBackupSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWsbApplicationBackupSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1eff3510_4a27_46ad_b9e0_08332f0f4f6d); } @@ -85,6 +55,7 @@ pub struct IWsbApplicationBackupSupport_Vtbl { } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWsbApplicationRestoreSupport(::windows_core::IUnknown); impl IWsbApplicationRestoreSupport { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -118,25 +89,9 @@ impl IWsbApplicationRestoreSupport { } } ::windows_core::imp::interface_hierarchy!(IWsbApplicationRestoreSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWsbApplicationRestoreSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWsbApplicationRestoreSupport {} -impl ::core::fmt::Debug for IWsbApplicationRestoreSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWsbApplicationRestoreSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWsbApplicationRestoreSupport { type Vtable = IWsbApplicationRestoreSupport_Vtbl; } -impl ::core::clone::Clone for IWsbApplicationRestoreSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWsbApplicationRestoreSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d3bdb38_4ee8_4718_85f9_c7dbc4ab77aa); } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs index 84dfb1419d..1dca919b96 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs @@ -44,8 +44,8 @@ impl IItemEnumerator_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl ISettingsContext_Vtbl { RevertSetting: RevertSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl ISettingsEngine_Vtbl { GetSettingsContext: GetSettingsContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl ISettingsIdentity_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -632,8 +632,8 @@ impl ISettingsItem_Vtbl { GetKeyValue: GetKeyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -734,8 +734,8 @@ impl ISettingsNamespace_Vtbl { GetAttribute: GetAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl ISettingsResult_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1062,7 +1062,7 @@ impl ITargetInfo_Vtbl { GetSchemaHiveMountName: GetSchemaHiveMountName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs index 5c70fc4858..85a11f493e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IItemEnumerator(::windows_core::IUnknown); impl IItemEnumerator { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -19,25 +20,9 @@ impl IItemEnumerator { } } ::windows_core::imp::interface_hierarchy!(IItemEnumerator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IItemEnumerator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IItemEnumerator {} -impl ::core::fmt::Debug for IItemEnumerator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IItemEnumerator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IItemEnumerator { type Vtable = IItemEnumerator_Vtbl; } -impl ::core::clone::Clone for IItemEnumerator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IItemEnumerator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bb7_20b3_11da_81a5_0030f1642e3c); } @@ -57,6 +42,7 @@ pub struct IItemEnumerator_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsContext(::windows_core::IUnknown); impl ISettingsContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -103,25 +89,9 @@ impl ISettingsContext { } } ::windows_core::imp::interface_hierarchy!(ISettingsContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsContext {} -impl ::core::fmt::Debug for ISettingsContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsContext { type Vtable = ISettingsContext_Vtbl; } -impl ::core::clone::Clone for ISettingsContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bbd_20b3_11da_81a5_0030f1642e3c); } @@ -145,6 +115,7 @@ pub struct ISettingsContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsEngine(::windows_core::IUnknown); impl ISettingsEngine { pub unsafe fn GetNamespaces(&self, flags: WcmNamespaceEnumerationFlags, reserved: *const ::core::ffi::c_void) -> ::windows_core::Result { @@ -232,25 +203,9 @@ impl ISettingsEngine { } } ::windows_core::imp::interface_hierarchy!(ISettingsEngine, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsEngine { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsEngine {} -impl ::core::fmt::Debug for ISettingsEngine { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsEngine").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsEngine { type Vtable = ISettingsEngine_Vtbl; } -impl ::core::clone::Clone for ISettingsEngine { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsEngine { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bb9_20b3_11da_81a5_0030f1642e3c); } @@ -283,6 +238,7 @@ pub struct ISettingsEngine_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsIdentity(::windows_core::IUnknown); impl ISettingsIdentity { pub unsafe fn GetAttribute(&self, reserved: *const ::core::ffi::c_void, name: P0) -> ::windows_core::Result<::windows_core::BSTR> @@ -308,25 +264,9 @@ impl ISettingsIdentity { } } ::windows_core::imp::interface_hierarchy!(ISettingsIdentity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsIdentity {} -impl ::core::fmt::Debug for ISettingsIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsIdentity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsIdentity { type Vtable = ISettingsIdentity_Vtbl; } -impl ::core::clone::Clone for ISettingsIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bb6_20b3_11da_81a5_0030f1642e3c); } @@ -341,6 +281,7 @@ pub struct ISettingsIdentity_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsItem(::windows_core::IUnknown); impl ISettingsItem { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -459,25 +400,9 @@ impl ISettingsItem { } } ::windows_core::imp::interface_hierarchy!(ISettingsItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsItem {} -impl ::core::fmt::Debug for ISettingsItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsItem { type Vtable = ISettingsItem_Vtbl; } -impl ::core::clone::Clone for ISettingsItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bbb_20b3_11da_81a5_0030f1642e3c); } @@ -531,6 +456,7 @@ pub struct ISettingsItem_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsNamespace(::windows_core::IUnknown); impl ISettingsNamespace { pub unsafe fn GetIdentity(&self) -> ::windows_core::Result { @@ -581,25 +507,9 @@ impl ISettingsNamespace { } } ::windows_core::imp::interface_hierarchy!(ISettingsNamespace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsNamespace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsNamespace {} -impl ::core::fmt::Debug for ISettingsNamespace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsNamespace").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsNamespace { type Vtable = ISettingsNamespace_Vtbl; } -impl ::core::clone::Clone for ISettingsNamespace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsNamespace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bba_20b3_11da_81a5_0030f1642e3c); } @@ -623,6 +533,7 @@ pub struct ISettingsNamespace_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISettingsResult(::windows_core::IUnknown); impl ISettingsResult { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -651,25 +562,9 @@ impl ISettingsResult { } } ::windows_core::imp::interface_hierarchy!(ISettingsResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISettingsResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISettingsResult {} -impl ::core::fmt::Debug for ISettingsResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISettingsResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISettingsResult { type Vtable = ISettingsResult_Vtbl; } -impl ::core::clone::Clone for ISettingsResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISettingsResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bbc_20b3_11da_81a5_0030f1642e3c); } @@ -686,6 +581,7 @@ pub struct ISettingsResult_Vtbl { } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetInfo(::windows_core::IUnknown); impl ITargetInfo { pub unsafe fn GetTargetMode(&self) -> ::windows_core::Result { @@ -818,25 +714,9 @@ impl ITargetInfo { } } ::windows_core::imp::interface_hierarchy!(ITargetInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetInfo {} -impl ::core::fmt::Debug for ITargetInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetInfo { type Vtable = ITargetInfo_Vtbl; } -impl ::core::clone::Clone for ITargetInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7d7bb8_20b3_11da_81a5_0030f1642e3c); } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index 075f406382..d9545cd72c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -15,8 +15,8 @@ impl ISideShowBulkCapabilities_Vtbl { } Self { base__: ISideShowCapabilities_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl ISideShowCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapability: GetCapability:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -76,8 +76,8 @@ impl ISideShowCapabilitiesCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl ISideShowContent_Vtbl { DifferentiateContent: DifferentiateContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl ISideShowContentManager_Vtbl { GetDeviceCapabilities: GetDeviceCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -229,8 +229,8 @@ impl ISideShowEvents_Vtbl { DeviceRemoved: DeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -281,8 +281,8 @@ impl ISideShowKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -398,8 +398,8 @@ impl ISideShowNotification_Vtbl { SetExpirationTime: SetExpirationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -433,8 +433,8 @@ impl ISideShowNotificationManager_Vtbl { RevokeAll: RevokeAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -485,8 +485,8 @@ impl ISideShowPropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -525,7 +525,7 @@ impl ISideShowSession_Vtbl { RegisterNotifications: RegisterNotifications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs index 245ba2fcf1..7c77f5e1dc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowBulkCapabilities(::windows_core::IUnknown); impl ISideShowBulkCapabilities { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -15,25 +16,9 @@ impl ISideShowBulkCapabilities { } } ::windows_core::imp::interface_hierarchy!(ISideShowBulkCapabilities, ::windows_core::IUnknown, ISideShowCapabilities); -impl ::core::cmp::PartialEq for ISideShowBulkCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowBulkCapabilities {} -impl ::core::fmt::Debug for ISideShowBulkCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowBulkCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowBulkCapabilities { type Vtable = ISideShowBulkCapabilities_Vtbl; } -impl ::core::clone::Clone for ISideShowBulkCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowBulkCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a2b7fbc_3ad5_48bd_bbf1_0e6cfbd10807); } @@ -45,6 +30,7 @@ pub struct ISideShowBulkCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowCapabilities(::windows_core::IUnknown); impl ISideShowCapabilities { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -54,25 +40,9 @@ impl ISideShowCapabilities { } } ::windows_core::imp::interface_hierarchy!(ISideShowCapabilities, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowCapabilities {} -impl ::core::fmt::Debug for ISideShowCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowCapabilities { type Vtable = ISideShowCapabilities_Vtbl; } -impl ::core::clone::Clone for ISideShowCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x535e1379_c09e_4a54_a511_597bab3a72b8); } @@ -87,6 +57,7 @@ pub struct ISideShowCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowCapabilitiesCollection(::windows_core::IUnknown); impl ISideShowCapabilitiesCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -99,25 +70,9 @@ impl ISideShowCapabilitiesCollection { } } ::windows_core::imp::interface_hierarchy!(ISideShowCapabilitiesCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowCapabilitiesCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowCapabilitiesCollection {} -impl ::core::fmt::Debug for ISideShowCapabilitiesCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowCapabilitiesCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowCapabilitiesCollection { type Vtable = ISideShowCapabilitiesCollection_Vtbl; } -impl ::core::clone::Clone for ISideShowCapabilitiesCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowCapabilitiesCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x50305597_5e0d_4ff7_b3af_33d0d9bd52dd); } @@ -130,6 +85,7 @@ pub struct ISideShowCapabilitiesCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowContent(::windows_core::IUnknown); impl ISideShowContent { pub unsafe fn GetContent(&self, in_picapabilities: P0, out_pdwsize: *mut u32, out_ppbdata: *mut *mut u8) -> ::windows_core::Result<()> @@ -150,25 +106,9 @@ impl ISideShowContent { } } ::windows_core::imp::interface_hierarchy!(ISideShowContent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowContent {} -impl ::core::fmt::Debug for ISideShowContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowContent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowContent { type Vtable = ISideShowContent_Vtbl; } -impl ::core::clone::Clone for ISideShowContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc18552ed_74ff_4fec_be07_4cfed29d4887); } @@ -185,6 +125,7 @@ pub struct ISideShowContent_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowContentManager(::windows_core::IUnknown); impl ISideShowContentManager { pub unsafe fn Add(&self, in_picontent: P0) -> ::windows_core::Result<()> @@ -211,25 +152,9 @@ impl ISideShowContentManager { } } ::windows_core::imp::interface_hierarchy!(ISideShowContentManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowContentManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowContentManager {} -impl ::core::fmt::Debug for ISideShowContentManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowContentManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowContentManager { type Vtable = ISideShowContentManager_Vtbl; } -impl ::core::clone::Clone for ISideShowContentManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowContentManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5d5b66b_eef9_41db_8d7e_e17c33ab10b0); } @@ -245,6 +170,7 @@ pub struct ISideShowContentManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowEvents(::windows_core::IUnknown); impl ISideShowEvents { pub unsafe fn ContentMissing(&self, in_contentid: u32) -> ::windows_core::Result { @@ -271,25 +197,9 @@ impl ISideShowEvents { } } ::windows_core::imp::interface_hierarchy!(ISideShowEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowEvents {} -impl ::core::fmt::Debug for ISideShowEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowEvents { type Vtable = ISideShowEvents_Vtbl; } -impl ::core::clone::Clone for ISideShowEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61feca4c_deb4_4a7e_8d75_51f1132d615b); } @@ -304,6 +214,7 @@ pub struct ISideShowEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowKeyCollection(::windows_core::IUnknown); impl ISideShowKeyCollection { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -327,25 +238,9 @@ impl ISideShowKeyCollection { } } ::windows_core::imp::interface_hierarchy!(ISideShowKeyCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowKeyCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowKeyCollection {} -impl ::core::fmt::Debug for ISideShowKeyCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowKeyCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowKeyCollection { type Vtable = ISideShowKeyCollection_Vtbl; } -impl ::core::clone::Clone for ISideShowKeyCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowKeyCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x045473bc_a37b_4957_b144_68105411ed8e); } @@ -367,6 +262,7 @@ pub struct ISideShowKeyCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowNotification(::windows_core::IUnknown); impl ISideShowNotification { pub unsafe fn NotificationId(&self) -> ::windows_core::Result { @@ -423,25 +319,9 @@ impl ISideShowNotification { } } ::windows_core::imp::interface_hierarchy!(ISideShowNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowNotification {} -impl ::core::fmt::Debug for ISideShowNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowNotification { type Vtable = ISideShowNotification_Vtbl; } -impl ::core::clone::Clone for ISideShowNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03c93300_8ab2_41c5_9b79_46127a30e148); } @@ -474,6 +354,7 @@ pub struct ISideShowNotification_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowNotificationManager(::windows_core::IUnknown); impl ISideShowNotificationManager { pub unsafe fn Show(&self, in_pinotification: P0) -> ::windows_core::Result<()> @@ -490,25 +371,9 @@ impl ISideShowNotificationManager { } } ::windows_core::imp::interface_hierarchy!(ISideShowNotificationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowNotificationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowNotificationManager {} -impl ::core::fmt::Debug for ISideShowNotificationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowNotificationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowNotificationManager { type Vtable = ISideShowNotificationManager_Vtbl; } -impl ::core::clone::Clone for ISideShowNotificationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowNotificationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63cea909_f2b9_4302_b5e1_c68e6d9ab833); } @@ -522,6 +387,7 @@ pub struct ISideShowNotificationManager_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowPropVariantCollection(::windows_core::IUnknown); impl ISideShowPropVariantCollection { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -545,25 +411,9 @@ impl ISideShowPropVariantCollection { } } ::windows_core::imp::interface_hierarchy!(ISideShowPropVariantCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowPropVariantCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowPropVariantCollection {} -impl ::core::fmt::Debug for ISideShowPropVariantCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowPropVariantCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowPropVariantCollection { type Vtable = ISideShowPropVariantCollection_Vtbl; } -impl ::core::clone::Clone for ISideShowPropVariantCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowPropVariantCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ea7a549_7bff_4aae_bab0_22d43111de49); } @@ -585,6 +435,7 @@ pub struct ISideShowPropVariantCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISideShowSession(::windows_core::IUnknown); impl ISideShowSession { pub unsafe fn RegisterContent(&self, in_applicationid: *const ::windows_core::GUID, in_endpointid: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -597,25 +448,9 @@ impl ISideShowSession { } } ::windows_core::imp::interface_hierarchy!(ISideShowSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISideShowSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISideShowSession {} -impl ::core::fmt::Debug for ISideShowSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISideShowSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISideShowSession { type Vtable = ISideShowSession_Vtbl; } -impl ::core::clone::Clone for ISideShowSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISideShowSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe22331ee_9e7d_4922_9fc2_ab7aa41ce491); } diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs index ba1abe3644..ace2bf2197 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs @@ -32,8 +32,8 @@ impl IAction_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -137,8 +137,8 @@ impl IActionCollection_Vtbl { SetContext: SetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -164,8 +164,8 @@ impl IBootTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -209,8 +209,8 @@ impl IComHandlerAction_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl IDailyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl IEmailAction_Vtbl { SetAttachments: SetAttachments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IEnumWorkItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IEventTrigger_Vtbl { SetValueQueries: SetValueQueries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IExecAction_Vtbl { SetWorkingDirectory: SetWorkingDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IExecAction2_Vtbl { SetHideAppWindow: SetHideAppWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl IIdleSettings_Vtbl { SetRestartOnIdle: SetRestartOnIdle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl IIdleTrigger_Vtbl { pub const fn new, Impl: IIdleTrigger_Impl, const OFFSET: isize>() -> IIdleTrigger_Vtbl { Self { base__: ITrigger_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -752,8 +752,8 @@ impl ILogonTrigger_Vtbl { SetUserId: SetUserId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -811,8 +811,8 @@ impl IMaintenanceSettings_Vtbl { Exclusive: Exclusive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -898,8 +898,8 @@ impl IMonthlyDOWTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl IMonthlyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1016,8 +1016,8 @@ impl INetworkSettings_Vtbl { SetId: SetId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1117,8 +1117,8 @@ impl IPrincipal_Vtbl { SetRunLevel: SetRunLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1169,8 +1169,8 @@ impl IPrincipal2_Vtbl { AddRequiredPrivilege: AddRequiredPrivilege::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -1196,8 +1196,8 @@ impl IProvideTaskPage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPage: GetPage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1423,8 +1423,8 @@ impl IRegisteredTask_Vtbl { GetRunTimes: GetRunTimes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1479,8 +1479,8 @@ impl IRegisteredTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1622,8 +1622,8 @@ impl IRegistrationInfo_Vtbl { SetSource: SetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1649,8 +1649,8 @@ impl IRegistrationTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1708,8 +1708,8 @@ impl IRepetitionPattern_Vtbl { SetStopAtDurationEnd: SetStopAtDurationEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IRunningTask_Vtbl { EnginePID: EnginePID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1873,8 +1873,8 @@ impl IRunningTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IScheduledWorkItem_Vtbl { GetAccountInformation: GetAccountInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2224,8 +2224,8 @@ impl ISessionStateChangeTrigger_Vtbl { SetStateChange: SetStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2269,8 +2269,8 @@ impl IShowMessageAction_Vtbl { SetMessageBody: SetMessageBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2406,8 +2406,8 @@ impl ITask_Vtbl { GetMaxRunTime: GetMaxRunTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2551,8 +2551,8 @@ impl ITaskDefinition_Vtbl { SetXmlText: SetXmlText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2719,8 +2719,8 @@ impl ITaskFolder_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2775,8 +2775,8 @@ impl ITaskFolderCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -2823,8 +2823,8 @@ impl ITaskHandler_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -2851,8 +2851,8 @@ impl ITaskHandlerStatus_Vtbl { TaskCompleted: TaskCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2928,8 +2928,8 @@ impl ITaskNamedValueCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2973,8 +2973,8 @@ impl ITaskNamedValuePair_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl ITaskScheduler_Vtbl { IsOfType: IsOfType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3195,8 +3195,8 @@ impl ITaskService_Vtbl { HighestVersion: HighestVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3504,8 +3504,8 @@ impl ITaskSettings_Vtbl { SetNetworkSettings: SetNetworkSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3549,8 +3549,8 @@ impl ITaskSettings2_Vtbl { SetUseUnifiedSchedulingEngine: SetUseUnifiedSchedulingEngine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3641,8 +3641,8 @@ impl ITaskSettings3_Vtbl { SetVolatile: SetVolatile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3682,8 +3682,8 @@ impl ITaskTrigger_Vtbl { GetTriggerString: GetTriggerString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3729,8 +3729,8 @@ impl ITaskVariables_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3760,8 +3760,8 @@ impl ITimeTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3874,8 +3874,8 @@ impl ITrigger_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3951,8 +3951,8 @@ impl ITriggerCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4010,7 +4010,7 @@ impl IWeeklyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs index 4dea9c2963..209e9f4324 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAction { @@ -20,30 +21,10 @@ impl IAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAction, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAction { type Vtable = IAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbae54997_48b1_4cbe_9965_d6be263ebea4); } @@ -59,6 +40,7 @@ pub struct IAction_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IActionCollection { @@ -111,30 +93,10 @@ impl IActionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IActionCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IActionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IActionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IActionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IActionCollection { type Vtable = IActionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IActionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IActionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02820e19_7b98_4ed2_b2e8_fdccceff619b); } @@ -166,6 +128,7 @@ pub struct IActionCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBootTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IBootTrigger { @@ -248,30 +211,10 @@ impl IBootTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IBootTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IBootTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IBootTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IBootTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBootTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IBootTrigger { type Vtable = IBootTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IBootTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IBootTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a9c35da_d357_41f4_bbc1_207ac1b1f3cb); } @@ -286,6 +229,7 @@ pub struct IBootTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComHandlerAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComHandlerAction { @@ -323,30 +267,10 @@ impl IComHandlerAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComHandlerAction, ::windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComHandlerAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComHandlerAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComHandlerAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComHandlerAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComHandlerAction { type Vtable = IComHandlerAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComHandlerAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComHandlerAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d2fd252_75c5_4f66_90ba_2a7d8cc3039f); } @@ -363,6 +287,7 @@ pub struct IComHandlerAction_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDailyTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDailyTrigger { @@ -451,30 +376,10 @@ impl IDailyTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDailyTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDailyTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDailyTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDailyTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDailyTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDailyTrigger { type Vtable = IDailyTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDailyTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDailyTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x126c5cd8_b288_41d5_8dbf_e491446adc5c); } @@ -491,6 +396,7 @@ pub struct IDailyTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmailAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEmailAction { @@ -606,30 +512,10 @@ impl IEmailAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEmailAction, ::windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEmailAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEmailAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEmailAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEmailAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEmailAction { type Vtable = IEmailAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEmailAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEmailAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10f62c64_7e16_4314_a0c2_0c3683f99d40); } @@ -673,6 +559,7 @@ pub struct IEmailAction_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWorkItems(::windows_core::IUnknown); impl IEnumWorkItems { pub unsafe fn Next(&self, celt: u32, rgpwsznames: *mut *mut ::windows_core::PWSTR, pceltfetched: *mut u32) -> ::windows_core::HRESULT { @@ -690,25 +577,9 @@ impl IEnumWorkItems { } } ::windows_core::imp::interface_hierarchy!(IEnumWorkItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWorkItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWorkItems {} -impl ::core::fmt::Debug for IEnumWorkItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWorkItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWorkItems { type Vtable = IEnumWorkItems_Vtbl; } -impl ::core::clone::Clone for IEnumWorkItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWorkItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x148bd528_a2ab_11ce_b11f_00aa00530503); } @@ -724,6 +595,7 @@ pub struct IEnumWorkItems_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEventTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEventTrigger { @@ -829,30 +701,10 @@ impl IEventTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEventTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEventTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEventTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEventTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEventTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEventTrigger { type Vtable = IEventTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEventTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEventTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45b0167_9653_4eef_b94f_0732ca7af251); } @@ -877,6 +729,7 @@ pub struct IEventTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExecAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IExecAction { @@ -923,30 +776,10 @@ impl IExecAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IExecAction, ::windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IExecAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IExecAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IExecAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExecAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IExecAction { type Vtable = IExecAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IExecAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IExecAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c3d624d_fd6b_49a3_b9b7_09cb3cd3f047); } @@ -965,6 +798,7 @@ pub struct IExecAction_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExecAction2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IExecAction2 { @@ -1024,30 +858,10 @@ impl IExecAction2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IExecAction2, ::windows_core::IUnknown, super::Com::IDispatch, IAction, IExecAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IExecAction2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IExecAction2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IExecAction2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExecAction2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IExecAction2 { type Vtable = IExecAction2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IExecAction2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IExecAction2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2a82542_bda5_4e6b_9143_e2bf4f8987b6); } @@ -1068,6 +882,7 @@ pub struct IExecAction2_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdleSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIdleSettings { @@ -1119,30 +934,10 @@ impl IIdleSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIdleSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIdleSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIdleSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIdleSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdleSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IIdleSettings { type Vtable = IIdleSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIdleSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIdleSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84594461_0053_4342_a8fd_088fabf11f32); } @@ -1175,6 +970,7 @@ pub struct IIdleSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdleTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIdleTrigger { @@ -1248,30 +1044,10 @@ impl IIdleTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIdleTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIdleTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIdleTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIdleTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdleTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IIdleTrigger { type Vtable = IIdleTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIdleTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIdleTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd537d2b0_9fb3_4d34_9739_1ff5ce7b1ef3); } @@ -1284,6 +1060,7 @@ pub struct IIdleTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILogonTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILogonTrigger { @@ -1375,30 +1152,10 @@ impl ILogonTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILogonTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILogonTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILogonTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILogonTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILogonTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILogonTrigger { type Vtable = ILogonTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILogonTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILogonTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72dade38_fae4_4b3e_baf4_5d009af02b1c); } @@ -1415,6 +1172,7 @@ pub struct ILogonTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMaintenanceSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMaintenanceSettings { @@ -1453,30 +1211,10 @@ impl IMaintenanceSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMaintenanceSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMaintenanceSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMaintenanceSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMaintenanceSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMaintenanceSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMaintenanceSettings { type Vtable = IMaintenanceSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMaintenanceSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMaintenanceSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6024fa8_9652_4adb_a6bf_5cfcd877a7ba); } @@ -1501,6 +1239,7 @@ pub struct IMaintenanceSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMonthlyDOWTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMonthlyDOWTrigger { @@ -1614,30 +1353,10 @@ impl IMonthlyDOWTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMonthlyDOWTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMonthlyDOWTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMonthlyDOWTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMonthlyDOWTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMonthlyDOWTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMonthlyDOWTrigger { type Vtable = IMonthlyDOWTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMonthlyDOWTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMonthlyDOWTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77d025a3_90fa_43aa_b52e_cda5499b946a); } @@ -1666,6 +1385,7 @@ pub struct IMonthlyDOWTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMonthlyTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMonthlyTrigger { @@ -1773,30 +1493,10 @@ impl IMonthlyTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMonthlyTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMonthlyTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMonthlyTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMonthlyTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMonthlyTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMonthlyTrigger { type Vtable = IMonthlyTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMonthlyTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMonthlyTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97c45ef1_6b02_4a1a_9c0e_1ebfba1500ac); } @@ -1823,6 +1523,7 @@ pub struct IMonthlyTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INetworkSettings { @@ -1848,30 +1549,10 @@ impl INetworkSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INetworkSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INetworkSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INetworkSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INetworkSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INetworkSettings { type Vtable = INetworkSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INetworkSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INetworkSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f7dea84_c30b_4245_80b6_00e9f646f1b4); } @@ -1888,6 +1569,7 @@ pub struct INetworkSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrincipal(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrincipal { @@ -1943,30 +1625,10 @@ impl IPrincipal { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrincipal, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrincipal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrincipal {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrincipal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrincipal").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrincipal { type Vtable = IPrincipal_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrincipal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrincipal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd98d51e5_c9b4_496a_a9c1_18980261cf0f); } @@ -1991,6 +1653,7 @@ pub struct IPrincipal_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrincipal2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPrincipal2 { @@ -2016,30 +1679,10 @@ impl IPrincipal2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPrincipal2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPrincipal2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPrincipal2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPrincipal2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrincipal2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPrincipal2 { type Vtable = IPrincipal2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPrincipal2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPrincipal2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x248919ae_e345_4a6d_8aeb_e0d3165c904e); } @@ -2056,6 +1699,7 @@ pub struct IPrincipal2_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProvideTaskPage(::windows_core::IUnknown); impl IProvideTaskPage { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -2069,25 +1713,9 @@ impl IProvideTaskPage { } } ::windows_core::imp::interface_hierarchy!(IProvideTaskPage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProvideTaskPage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProvideTaskPage {} -impl ::core::fmt::Debug for IProvideTaskPage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProvideTaskPage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProvideTaskPage { type Vtable = IProvideTaskPage_Vtbl; } -impl ::core::clone::Clone for IProvideTaskPage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProvideTaskPage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4086658a_cbbb_11cf_b604_00c04fd8d565); } @@ -2103,6 +1731,7 @@ pub struct IProvideTaskPage_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisteredTask(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegisteredTask { @@ -2201,30 +1830,10 @@ impl IRegisteredTask { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRegisteredTask, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRegisteredTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRegisteredTask {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRegisteredTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisteredTask").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRegisteredTask { type Vtable = IRegisteredTask_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRegisteredTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRegisteredTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c86f320_dee3_4dd1_b972_a303f26b061e); } @@ -2276,6 +1885,7 @@ pub struct IRegisteredTask_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisteredTaskCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegisteredTaskCollection { @@ -2297,30 +1907,10 @@ impl IRegisteredTaskCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRegisteredTaskCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRegisteredTaskCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRegisteredTaskCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRegisteredTaskCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisteredTaskCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRegisteredTaskCollection { type Vtable = IRegisteredTaskCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRegisteredTaskCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRegisteredTaskCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86627eb4_42a7_41e4_a4d9_ac33a72f2d52); } @@ -2339,6 +1929,7 @@ pub struct IRegisteredTaskCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegistrationInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegistrationInfo { @@ -2428,30 +2019,10 @@ impl IRegistrationInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRegistrationInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRegistrationInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRegistrationInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRegistrationInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegistrationInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRegistrationInfo { type Vtable = IRegistrationInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRegistrationInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRegistrationInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x416d8b73_cb41_4ea1_805c_9be9a5ac4a74); } @@ -2488,6 +2059,7 @@ pub struct IRegistrationInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegistrationTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRegistrationTrigger { @@ -2570,30 +2142,10 @@ impl IRegistrationTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRegistrationTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRegistrationTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRegistrationTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRegistrationTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegistrationTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRegistrationTrigger { type Vtable = IRegistrationTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRegistrationTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRegistrationTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c8fec3a_c218_4e0c_b23d_629024db91a2); } @@ -2608,6 +2160,7 @@ pub struct IRegistrationTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRepetitionPattern(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRepetitionPattern { @@ -2646,30 +2199,10 @@ impl IRepetitionPattern { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRepetitionPattern, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRepetitionPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRepetitionPattern {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRepetitionPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRepetitionPattern").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRepetitionPattern { type Vtable = IRepetitionPattern_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRepetitionPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRepetitionPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fb9acf1_26be_400e_85b5_294b9c75dfd6); } @@ -2694,6 +2227,7 @@ pub struct IRepetitionPattern_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRunningTask(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRunningTask { @@ -2731,30 +2265,10 @@ impl IRunningTask { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRunningTask, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRunningTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRunningTask {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRunningTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRunningTask").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRunningTask { type Vtable = IRunningTask_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRunningTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRunningTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x653758fb_7b9a_4f1e_a471_beeb8e9b834e); } @@ -2775,6 +2289,7 @@ pub struct IRunningTask_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRunningTaskCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRunningTaskCollection { @@ -2796,30 +2311,10 @@ impl IRunningTaskCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRunningTaskCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRunningTaskCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRunningTaskCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRunningTaskCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRunningTaskCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRunningTaskCollection { type Vtable = IRunningTaskCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRunningTaskCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRunningTaskCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a67614b_6828_4fec_aa54_6d52e8f1f2db); } @@ -2837,6 +2332,7 @@ pub struct IRunningTaskCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScheduledWorkItem(::windows_core::IUnknown); impl IScheduledWorkItem { pub unsafe fn CreateTrigger(&self, pinewtrigger: *mut u16, pptrigger: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -2955,31 +2451,15 @@ impl IScheduledWorkItem { { (::windows_core::Interface::vtable(self).SetAccountInformation)(::windows_core::Interface::as_raw(self), pwszaccountname.into_param().abi(), pwszpassword.into_param().abi()).ok() } - pub unsafe fn GetAccountInformation(&self) -> ::windows_core::Result<::windows_core::PWSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetAccountInformation)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IScheduledWorkItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScheduledWorkItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScheduledWorkItem {} -impl ::core::fmt::Debug for IScheduledWorkItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScheduledWorkItem").field(&self.0).finish() + pub unsafe fn GetAccountInformation(&self) -> ::windows_core::Result<::windows_core::PWSTR> { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetAccountInformation)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IScheduledWorkItem, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IScheduledWorkItem { type Vtable = IScheduledWorkItem_Vtbl; } -impl ::core::clone::Clone for IScheduledWorkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScheduledWorkItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6b952f0_a4b1_11d0_997d_00aa006887ec); } @@ -3032,6 +2512,7 @@ pub struct IScheduledWorkItem_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISessionStateChangeTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISessionStateChangeTrigger { @@ -3129,30 +2610,10 @@ impl ISessionStateChangeTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISessionStateChangeTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISessionStateChangeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISessionStateChangeTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISessionStateChangeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISessionStateChangeTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISessionStateChangeTrigger { type Vtable = ISessionStateChangeTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISessionStateChangeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISessionStateChangeTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x754da71b_4385_4475_9dd9_598294fa3641); } @@ -3171,6 +2632,7 @@ pub struct ISessionStateChangeTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShowMessageAction(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShowMessageAction { @@ -3208,30 +2670,10 @@ impl IShowMessageAction { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShowMessageAction, ::windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShowMessageAction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShowMessageAction {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShowMessageAction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShowMessageAction").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShowMessageAction { type Vtable = IShowMessageAction_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShowMessageAction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShowMessageAction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x505e9e68_af89_46b8_a30f_56162a83d537); } @@ -3247,6 +2689,7 @@ pub struct IShowMessageAction_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITask(::windows_core::IUnknown); impl ITask { pub unsafe fn CreateTrigger(&self, pinewtrigger: *mut u16, pptrigger: *mut ::core::option::Option) -> ::windows_core::Result<()> { @@ -3422,25 +2865,9 @@ impl ITask { } } ::windows_core::imp::interface_hierarchy!(ITask, ::windows_core::IUnknown, IScheduledWorkItem); -impl ::core::cmp::PartialEq for ITask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITask {} -impl ::core::fmt::Debug for ITask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITask").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITask { type Vtable = ITask_Vtbl; } -impl ::core::clone::Clone for ITask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x148bd524_a2ab_11ce_b11f_00aa00530503); } @@ -3464,6 +2891,7 @@ pub struct ITask_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskDefinition(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskDefinition { @@ -3559,30 +2987,10 @@ impl ITaskDefinition { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskDefinition, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskDefinition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskDefinition {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskDefinition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskDefinition").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskDefinition { type Vtable = ITaskDefinition_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskDefinition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskDefinition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5bc8fc5_536d_4f77_b852_fbc1356fdeb6); } @@ -3639,6 +3047,7 @@ pub struct ITaskDefinition_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskFolder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskFolder { @@ -3735,30 +3144,10 @@ impl ITaskFolder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskFolder, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskFolder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskFolder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskFolder { type Vtable = ITaskFolder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cfac062_a080_4c15_9a88_aa7c2af80dfc); } @@ -3805,6 +3194,7 @@ pub struct ITaskFolder_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskFolderCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskFolderCollection { @@ -3826,30 +3216,10 @@ impl ITaskFolderCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskFolderCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskFolderCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskFolderCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskFolderCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskFolderCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskFolderCollection { type Vtable = ITaskFolderCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskFolderCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskFolderCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79184a66_8664_423f_97f1_637356a5d812); } @@ -3867,6 +3237,7 @@ pub struct ITaskFolderCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskHandler(::windows_core::IUnknown); impl ITaskHandler { pub unsafe fn Start(&self, phandlerservices: P0, data: P1) -> ::windows_core::Result<()> @@ -3888,25 +3259,9 @@ impl ITaskHandler { } } ::windows_core::imp::interface_hierarchy!(ITaskHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskHandler {} -impl ::core::fmt::Debug for ITaskHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskHandler { type Vtable = ITaskHandler_Vtbl; } -impl ::core::clone::Clone for ITaskHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x839d7762_5121_4009_9234_4f0d19394f04); } @@ -3921,6 +3276,7 @@ pub struct ITaskHandler_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskHandlerStatus(::windows_core::IUnknown); impl ITaskHandlerStatus { pub unsafe fn UpdateStatus(&self, percentcomplete: i16, statusmessage: P0) -> ::windows_core::Result<()> @@ -3934,25 +3290,9 @@ impl ITaskHandlerStatus { } } ::windows_core::imp::interface_hierarchy!(ITaskHandlerStatus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskHandlerStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskHandlerStatus {} -impl ::core::fmt::Debug for ITaskHandlerStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskHandlerStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskHandlerStatus { type Vtable = ITaskHandlerStatus_Vtbl; } -impl ::core::clone::Clone for ITaskHandlerStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskHandlerStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeaec7a8f_27a0_4ddc_8675_14726a01a38a); } @@ -3966,6 +3306,7 @@ pub struct ITaskHandlerStatus_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskNamedValueCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskNamedValueCollection { @@ -4002,30 +3343,10 @@ impl ITaskNamedValueCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskNamedValueCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskNamedValueCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskNamedValueCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskNamedValueCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskNamedValueCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskNamedValueCollection { type Vtable = ITaskNamedValueCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskNamedValueCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskNamedValueCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4ef826b_63c3_46e4_a504_ef69e4f7ea4d); } @@ -4050,6 +3371,7 @@ pub struct ITaskNamedValueCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskNamedValuePair(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskNamedValuePair { @@ -4075,30 +3397,10 @@ impl ITaskNamedValuePair { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskNamedValuePair, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskNamedValuePair { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskNamedValuePair {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskNamedValuePair { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskNamedValuePair").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskNamedValuePair { type Vtable = ITaskNamedValuePair_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskNamedValuePair { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskNamedValuePair { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39038068_2b46_4afd_8662_7bb6f868d221); } @@ -4114,6 +3416,7 @@ pub struct ITaskNamedValuePair_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskScheduler(::windows_core::IUnknown); impl ITaskScheduler { pub unsafe fn SetTargetComputer(&self, pwszcomputer: P0) -> ::windows_core::Result<()> @@ -4165,25 +3468,9 @@ impl ITaskScheduler { } } ::windows_core::imp::interface_hierarchy!(ITaskScheduler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskScheduler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskScheduler {} -impl ::core::fmt::Debug for ITaskScheduler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskScheduler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskScheduler { type Vtable = ITaskScheduler_Vtbl; } -impl ::core::clone::Clone for ITaskScheduler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskScheduler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x148bd527_a2ab_11ce_b11f_00aa00530503); } @@ -4203,6 +3490,7 @@ pub struct ITaskScheduler_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskService { @@ -4258,30 +3546,10 @@ impl ITaskService { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskService, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskService").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskService { type Vtable = ITaskService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2faba4c7_4da9_4013_9697_20cc3fd40f85); } @@ -4318,6 +3586,7 @@ pub struct ITaskService_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskSettings { @@ -4543,30 +3812,10 @@ impl ITaskSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskSettings { type Vtable = ITaskSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fd4711d_2d02_4c8c_87e3_eff699de127e); } @@ -4691,6 +3940,7 @@ pub struct ITaskSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskSettings2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskSettings2 { @@ -4724,30 +3974,10 @@ impl ITaskSettings2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskSettings2, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskSettings2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskSettings2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskSettings2 { type Vtable = ITaskSettings2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c05c3f0_6eed_4c05_a15f_ed7d7a98a369); } @@ -4776,6 +4006,7 @@ pub struct ITaskSettings2_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskSettings3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITaskSettings3 { @@ -5060,30 +4291,10 @@ impl ITaskSettings3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITaskSettings3, ::windows_core::IUnknown, super::Com::IDispatch, ITaskSettings); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITaskSettings3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITaskSettings3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITaskSettings3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskSettings3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITaskSettings3 { type Vtable = ITaskSettings3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITaskSettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITaskSettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ad9d0d7_0c7f_4ebb_9a5f_d1c648dca528); } @@ -5131,6 +4342,7 @@ pub struct ITaskSettings3_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskTrigger(::windows_core::IUnknown); impl ITaskTrigger { pub unsafe fn SetTrigger(&self, ptrigger: *const TASK_TRIGGER) -> ::windows_core::Result<()> { @@ -5145,25 +4357,9 @@ impl ITaskTrigger { } } ::windows_core::imp::interface_hierarchy!(ITaskTrigger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskTrigger {} -impl ::core::fmt::Debug for ITaskTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskTrigger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskTrigger { type Vtable = ITaskTrigger_Vtbl; } -impl ::core::clone::Clone for ITaskTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x148bd52b_a2ab_11ce_b11f_00aa00530503); } @@ -5177,6 +4373,7 @@ pub struct ITaskTrigger_Vtbl { } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskVariables(::windows_core::IUnknown); impl ITaskVariables { pub unsafe fn GetInput(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5195,25 +4392,9 @@ impl ITaskVariables { } } ::windows_core::imp::interface_hierarchy!(ITaskVariables, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskVariables { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskVariables {} -impl ::core::fmt::Debug for ITaskVariables { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskVariables").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskVariables { type Vtable = ITaskVariables_Vtbl; } -impl ::core::clone::Clone for ITaskVariables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskVariables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e4c9351_d966_4b8b_bb87_ceba68bb0107); } @@ -5228,6 +4409,7 @@ pub struct ITaskVariables_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITimeTrigger { @@ -5310,30 +4492,10 @@ impl ITimeTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITimeTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITimeTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITimeTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITimeTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimeTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITimeTrigger { type Vtable = ITimeTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITimeTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITimeTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb45747e0_eba7_4276_9f29_85c5bb300006); } @@ -5348,6 +4510,7 @@ pub struct ITimeTrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITrigger { @@ -5421,30 +4584,10 @@ impl ITrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITrigger, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITrigger { type Vtable = ITrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09941815_ea89_4b5b_89e0_2a773801fac3); } @@ -5482,6 +4625,7 @@ pub struct ITrigger_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITriggerCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITriggerCollection { @@ -5516,30 +4660,10 @@ impl ITriggerCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITriggerCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITriggerCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITriggerCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITriggerCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITriggerCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITriggerCollection { type Vtable = ITriggerCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITriggerCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITriggerCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85df5081_1b24_4f32_878a_d9d14df4cb77); } @@ -5567,6 +4691,7 @@ pub struct ITriggerCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWeeklyTrigger(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWeeklyTrigger { @@ -5661,30 +4786,10 @@ impl IWeeklyTrigger { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWeeklyTrigger, ::windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWeeklyTrigger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWeeklyTrigger {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWeeklyTrigger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWeeklyTrigger").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWeeklyTrigger { type Vtable = IWeeklyTrigger_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWeeklyTrigger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWeeklyTrigger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5038fc98_82ff_436d_8728_a512a57c9dc1); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs index 3e1241f571..221d93cebb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs @@ -22,8 +22,8 @@ impl IRtwqAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IRtwqAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IRtwqPlatformEvents_Vtbl { ShutdownComplete: ShutdownComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -129,7 +129,7 @@ impl RTWQASYNCRESULT_Vtbl { pub const fn new, Impl: RTWQASYNCRESULT_Impl, const OFFSET: isize>() -> RTWQASYNCRESULT_Vtbl { Self { base__: IRtwqAsyncResult_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs index ed3b41af8b..d91a4d88f9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -2925,6 +2925,7 @@ where } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRtwqAsyncCallback(::windows_core::IUnknown); impl IRtwqAsyncCallback { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> ::windows_core::Result<()> { @@ -2938,25 +2939,9 @@ impl IRtwqAsyncCallback { } } ::windows_core::imp::interface_hierarchy!(IRtwqAsyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRtwqAsyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRtwqAsyncCallback {} -impl ::core::fmt::Debug for IRtwqAsyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRtwqAsyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRtwqAsyncCallback { type Vtable = IRtwqAsyncCallback_Vtbl; } -impl ::core::clone::Clone for IRtwqAsyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRtwqAsyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); } @@ -2969,6 +2954,7 @@ pub struct IRtwqAsyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRtwqAsyncResult(::windows_core::IUnknown); impl IRtwqAsyncResult { pub unsafe fn GetState(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2990,25 +2976,9 @@ impl IRtwqAsyncResult { } } ::windows_core::imp::interface_hierarchy!(IRtwqAsyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRtwqAsyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRtwqAsyncResult {} -impl ::core::fmt::Debug for IRtwqAsyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRtwqAsyncResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRtwqAsyncResult { type Vtable = IRtwqAsyncResult_Vtbl; } -impl ::core::clone::Clone for IRtwqAsyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRtwqAsyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac6b7889_0740_4d51_8619_905994a55cc6); } @@ -3024,6 +2994,7 @@ pub struct IRtwqAsyncResult_Vtbl { } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRtwqPlatformEvents(::windows_core::IUnknown); impl IRtwqPlatformEvents { pub unsafe fn InitializationComplete(&self) -> ::windows_core::Result<()> { @@ -3037,25 +3008,9 @@ impl IRtwqPlatformEvents { } } ::windows_core::imp::interface_hierarchy!(IRtwqPlatformEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRtwqPlatformEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRtwqPlatformEvents {} -impl ::core::fmt::Debug for IRtwqPlatformEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRtwqPlatformEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRtwqPlatformEvents { type Vtable = IRtwqPlatformEvents_Vtbl; } -impl ::core::clone::Clone for IRtwqPlatformEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRtwqPlatformEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63d9255a_7ff1_4b61_8faf_ed6460dacf2b); } @@ -3069,6 +3024,7 @@ pub struct IRtwqPlatformEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Threading\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct RTWQASYNCRESULT(::windows_core::IUnknown); impl RTWQASYNCRESULT { pub unsafe fn GetState(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -3090,25 +3046,9 @@ impl RTWQASYNCRESULT { } } ::windows_core::imp::interface_hierarchy!(RTWQASYNCRESULT, ::windows_core::IUnknown, IRtwqAsyncResult); -impl ::core::cmp::PartialEq for RTWQASYNCRESULT { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for RTWQASYNCRESULT {} -impl ::core::fmt::Debug for RTWQASYNCRESULT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("RTWQASYNCRESULT").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for RTWQASYNCRESULT { type Vtable = RTWQASYNCRESULT_Vtbl; } -impl ::core::clone::Clone for RTWQASYNCRESULT { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for RTWQASYNCRESULT { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs index fe4be57f73..c9402170d3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs @@ -51,8 +51,8 @@ impl ICatalog_Vtbl { MinorVersion: MinorVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IComponentUtil_Vtbl { GetCLSIDs: GetCLSIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl IPackageUtil_Vtbl { ShutdownPackage: ShutdownPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -165,8 +165,8 @@ impl IRemoteComponentUtil_Vtbl { InstallRemoteComponentByName: InstallRemoteComponentByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -196,7 +196,7 @@ impl IRoleAssociationUtil_Vtbl { AssociateRoleByName: AssociateRoleByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs index 2cce19a817..e69193d967 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICatalog(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICatalog { @@ -32,30 +33,10 @@ impl ICatalog { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICatalog, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICatalog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICatalog {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICatalog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICatalog").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICatalog { type Vtable = ICatalog_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICatalog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICatalog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22870_8a19_11d0_81b6_00a0c9231c29); } @@ -78,6 +59,7 @@ pub struct ICatalog_Vtbl { #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComponentUtil(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IComponentUtil { @@ -114,30 +96,10 @@ impl IComponentUtil { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IComponentUtil, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IComponentUtil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IComponentUtil {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IComponentUtil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComponentUtil").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IComponentUtil { type Vtable = IComponentUtil_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IComponentUtil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IComponentUtil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22873_8a19_11d0_81b6_00a0c9231c29); } @@ -157,6 +119,7 @@ pub struct IComponentUtil_Vtbl { #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageUtil(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPackageUtil { @@ -184,30 +147,10 @@ impl IPackageUtil { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPackageUtil, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPackageUtil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPackageUtil {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPackageUtil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPackageUtil").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPackageUtil { type Vtable = IPackageUtil_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPackageUtil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPackageUtil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22874_8a19_11d0_81b6_00a0c9231c29); } @@ -223,6 +166,7 @@ pub struct IPackageUtil_Vtbl { #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteComponentUtil(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRemoteComponentUtil { @@ -246,30 +190,10 @@ impl IRemoteComponentUtil { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRemoteComponentUtil, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRemoteComponentUtil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRemoteComponentUtil {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRemoteComponentUtil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteComponentUtil").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRemoteComponentUtil { type Vtable = IRemoteComponentUtil_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRemoteComponentUtil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRemoteComponentUtil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22875_8a19_11d0_81b6_00a0c9231c29); } @@ -284,6 +208,7 @@ pub struct IRemoteComponentUtil_Vtbl { #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRoleAssociationUtil(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IRoleAssociationUtil { @@ -303,30 +228,10 @@ impl IRoleAssociationUtil { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IRoleAssociationUtil, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IRoleAssociationUtil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IRoleAssociationUtil {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IRoleAssociationUtil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRoleAssociationUtil").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IRoleAssociationUtil { type Vtable = IRoleAssociationUtil_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IRoleAssociationUtil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IRoleAssociationUtil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6eb22876_8a19_11d0_81b6_00a0c9231c29); } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs index dd2ef6d4e1..006f9e2cde 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs @@ -72,8 +72,8 @@ impl IAutomaticUpdates_Vtbl { EnableService: EnableService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IAutomaticUpdates2_Vtbl { } Self { base__: IAutomaticUpdates_Vtbl::new::(), Results: Results:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IAutomaticUpdatesResults_Vtbl { LastInstallationSuccessDate: LastInstallationSuccessDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IAutomaticUpdatesSettings_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IAutomaticUpdatesSettings2_Vtbl { CheckPermission: CheckPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IAutomaticUpdatesSettings3_Vtbl { SetFeaturedUpdatesEnabled: SetFeaturedUpdatesEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl ICategory_Vtbl { Updates: Updates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -556,8 +556,8 @@ impl ICategoryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl IDownloadCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl IDownloadCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IDownloadCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IDownloadCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IDownloadJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl IDownloadProgress_Vtbl { CurrentUpdatePercentComplete: CurrentUpdatePercentComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -829,8 +829,8 @@ impl IDownloadProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -856,8 +856,8 @@ impl IDownloadProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl IDownloadResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -981,8 +981,8 @@ impl IImageInformation_Vtbl { Width: Width::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1005,8 +1005,8 @@ impl IInstallationAgent_Vtbl { RecordInstallationResult: RecordInstallationResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl IInstallationBehavior_Vtbl { RequiresNetworkConnectivity: RequiresNetworkConnectivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IInstallationCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1109,8 +1109,8 @@ impl IInstallationCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IInstallationCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IInstallationCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1192,8 +1192,8 @@ impl IInstallationJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1261,8 +1261,8 @@ impl IInstallationProgress_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IInstallationProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1309,8 +1309,8 @@ impl IInstallationProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1378,8 +1378,8 @@ impl IInstallationResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1405,8 +1405,8 @@ impl IInvalidProductLicenseException_Vtbl { } Self { base__: IUpdateException_Vtbl::new::(), Product: Product:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl ISearchCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1440,8 +1440,8 @@ impl ISearchCompletedCallbackArgs_Vtbl { pub const fn new, Impl: ISearchCompletedCallbackArgs_Impl, const OFFSET: isize>() -> ISearchCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1497,8 +1497,8 @@ impl ISearchJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1566,8 +1566,8 @@ impl ISearchResult_Vtbl { Warnings: Warnings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IStringCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1732,8 +1732,8 @@ impl ISystemInformation_Vtbl { RebootRequired: RebootRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2316,8 +2316,8 @@ impl IUpdate_Vtbl { DownloadContents: DownloadContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2379,8 +2379,8 @@ impl IUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2406,8 +2406,8 @@ impl IUpdate3_Vtbl { } Self { base__: IUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2433,8 +2433,8 @@ impl IUpdate4_Vtbl { } Self { base__: IUpdate3_Vtbl::new::(), PerUser: PerUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2476,8 +2476,8 @@ impl IUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2599,8 +2599,8 @@ impl IUpdateCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2626,8 +2626,8 @@ impl IUpdateDownloadContent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), DownloadUrl: DownloadUrl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IUpdateDownloadContent2_Vtbl { IsDeltaCompressedContent: IsDeltaCompressedContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2712,8 +2712,8 @@ impl IUpdateDownloadContentCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2755,8 +2755,8 @@ impl IUpdateDownloadResult_Vtbl { ResultCode: ResultCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2891,8 +2891,8 @@ impl IUpdateDownloader_Vtbl { EndDownload: EndDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2947,8 +2947,8 @@ impl IUpdateException_Vtbl { Context: Context::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl IUpdateExceptionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl IUpdateHistoryEntry_Vtbl { SupportUrl: SupportUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3229,8 +3229,8 @@ impl IUpdateHistoryEntry2_Vtbl { } Self { base__: IUpdateHistoryEntry_Vtbl::new::(), Categories: Categories:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3285,8 +3285,8 @@ impl IUpdateHistoryEntryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3328,8 +3328,8 @@ impl IUpdateIdentity_Vtbl { UpdateID: UpdateID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3384,8 +3384,8 @@ impl IUpdateInstallationResult_Vtbl { ResultCode: ResultCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3638,8 +3638,8 @@ impl IUpdateInstaller_Vtbl { RebootRequiredBeforeInstallation: RebootRequiredBeforeInstallation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3675,8 +3675,8 @@ impl IUpdateInstaller2_Vtbl { SetForceQuiet: SetForceQuiet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3712,8 +3712,8 @@ impl IUpdateInstaller3_Vtbl { SetAttemptCloseAppsIfNecessary: SetAttemptCloseAppsIfNecessary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3733,8 +3733,8 @@ impl IUpdateInstaller4_Vtbl { } Self { base__: IUpdateInstaller3_Vtbl::new::(), Commit: Commit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"implement\"`*"] @@ -3751,8 +3751,8 @@ impl IUpdateLockdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LockDown: LockDown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3966,8 +3966,8 @@ impl IUpdateSearcher_Vtbl { SetServiceID: SetServiceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4003,8 +4003,8 @@ impl IUpdateSearcher2_Vtbl { SetIgnoreDownloadPriority: SetIgnoreDownloadPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4040,8 +4040,8 @@ impl IUpdateSearcher3_Vtbl { SetSearchScope: SetSearchScope::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4226,8 +4226,8 @@ impl IUpdateService_Vtbl { SetupPrefix: SetupPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4253,8 +4253,8 @@ impl IUpdateService2_Vtbl { } Self { base__: IUpdateService_Vtbl::new::(), IsDefaultAUService: IsDefaultAUService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4309,8 +4309,8 @@ impl IUpdateServiceCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4393,8 +4393,8 @@ impl IUpdateServiceManager_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4456,8 +4456,8 @@ impl IUpdateServiceManager2_Vtbl { AddService2: AddService2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IUpdateServiceRegistration_Vtbl { Service: Service::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4634,8 +4634,8 @@ impl IUpdateSession_Vtbl { CreateUpdateInstaller: CreateUpdateInstaller::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4671,8 +4671,8 @@ impl IUpdateSession2_Vtbl { SetUserLocale: SetUserLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4714,8 +4714,8 @@ impl IUpdateSession3_Vtbl { QueryHistory: QueryHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4865,8 +4865,8 @@ impl IWebProxy_Vtbl { SetAutoDetect: SetAutoDetect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4986,8 +4986,8 @@ impl IWindowsDriverUpdate_Vtbl { DeviceStatus: DeviceStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5049,8 +5049,8 @@ impl IWindowsDriverUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5076,8 +5076,8 @@ impl IWindowsDriverUpdate3_Vtbl { } Self { base__: IWindowsDriverUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5119,8 +5119,8 @@ impl IWindowsDriverUpdate4_Vtbl { PerUser: PerUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5162,8 +5162,8 @@ impl IWindowsDriverUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5283,8 +5283,8 @@ impl IWindowsDriverUpdateEntry_Vtbl { DeviceStatus: DeviceStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5339,8 +5339,8 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5366,7 +5366,7 @@ impl IWindowsUpdateAgentInfo_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetInfo: GetInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs index d9d8882098..f3e5906e45 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -1,6 +1,7 @@ #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdates(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdates { @@ -35,30 +36,10 @@ impl IAutomaticUpdates { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdates, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdates { type Vtable = IAutomaticUpdates_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x673425bf_c082_4c7c_bdfd_569464b8e0ce); } @@ -84,6 +65,7 @@ pub struct IAutomaticUpdates_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdates2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdates2 { @@ -124,30 +106,10 @@ impl IAutomaticUpdates2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdates2, ::windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdates); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdates2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdates2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdates2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdates2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdates2 { type Vtable = IAutomaticUpdates2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdates2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdates2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a2f5c31_cfd9_410e_b7fb_29a653973a0f); } @@ -164,6 +126,7 @@ pub struct IAutomaticUpdates2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdatesResults(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesResults { @@ -183,30 +146,10 @@ impl IAutomaticUpdatesResults { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdatesResults, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdatesResults { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdatesResults {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdatesResults { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdatesResults").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdatesResults { type Vtable = IAutomaticUpdatesResults_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdatesResults { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdatesResults { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7a4d634_7942_4dd9_a111_82228ba33901); } @@ -227,6 +170,7 @@ pub struct IAutomaticUpdatesResults_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdatesSettings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings { @@ -273,30 +217,10 @@ impl IAutomaticUpdatesSettings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdatesSettings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdatesSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdatesSettings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdatesSettings { type Vtable = IAutomaticUpdatesSettings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdatesSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdatesSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2ee48f22_af3c_405f_8970_f71be12ee9a2); } @@ -325,6 +249,7 @@ pub struct IAutomaticUpdatesSettings_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdatesSettings2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings2 { @@ -391,30 +316,10 @@ impl IAutomaticUpdatesSettings2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings2, ::windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdatesSettings2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdatesSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdatesSettings2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdatesSettings2 { type Vtable = IAutomaticUpdatesSettings2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdatesSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdatesSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6abc136a_c3ca_4384_8171_cb2b1e59b8dc); } @@ -439,6 +344,7 @@ pub struct IAutomaticUpdatesSettings2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutomaticUpdatesSettings3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAutomaticUpdatesSettings3 { @@ -533,30 +439,10 @@ impl IAutomaticUpdatesSettings3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings3, ::windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings, IAutomaticUpdatesSettings2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAutomaticUpdatesSettings3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAutomaticUpdatesSettings3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAutomaticUpdatesSettings3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutomaticUpdatesSettings3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAutomaticUpdatesSettings3 { type Vtable = IAutomaticUpdatesSettings3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAutomaticUpdatesSettings3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAutomaticUpdatesSettings3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb587f5c3_f57e_485f_bbf5_0d181c5cd0dc); } @@ -585,6 +471,7 @@ pub struct IAutomaticUpdatesSettings3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICategory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICategory { @@ -636,30 +523,10 @@ impl ICategory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICategory, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICategory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICategory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICategory { type Vtable = ICategory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81ddc1b8_9d35_47a6_b471_5b80f519223b); } @@ -693,6 +560,7 @@ pub struct ICategory_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICategoryCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ICategoryCollection { @@ -714,30 +582,10 @@ impl ICategoryCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ICategoryCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ICategoryCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ICategoryCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ICategoryCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICategoryCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ICategoryCollection { type Vtable = ICategoryCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ICategoryCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ICategoryCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a56bfb8_576c_43f7_9335_fe4838fd7e37); } @@ -755,6 +603,7 @@ pub struct ICategoryCollection_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadCompletedCallback(::windows_core::IUnknown); impl IDownloadCompletedCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -768,25 +617,9 @@ impl IDownloadCompletedCallback { } } ::windows_core::imp::interface_hierarchy!(IDownloadCompletedCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDownloadCompletedCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDownloadCompletedCallback {} -impl ::core::fmt::Debug for IDownloadCompletedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadCompletedCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDownloadCompletedCallback { type Vtable = IDownloadCompletedCallback_Vtbl; } -impl ::core::clone::Clone for IDownloadCompletedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadCompletedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77254866_9f5b_4c8e_b9e2_c77a8530d64b); } @@ -802,36 +635,17 @@ pub struct IDownloadCompletedCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadCompletedCallbackArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadCompletedCallbackArgs, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadCompletedCallbackArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadCompletedCallbackArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadCompletedCallbackArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadCompletedCallbackArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadCompletedCallbackArgs { type Vtable = IDownloadCompletedCallbackArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadCompletedCallbackArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadCompletedCallbackArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa565b23_498c_47a0_979d_e7d5b1813360); } @@ -844,6 +658,7 @@ pub struct IDownloadCompletedCallbackArgs_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadJob { @@ -881,30 +696,10 @@ impl IDownloadJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadJob, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadJob { type Vtable = IDownloadJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc574de85_7358_43f6_aae8_8697e62d8ba7); } @@ -935,6 +730,7 @@ pub struct IDownloadJob_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadProgress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadProgress { @@ -988,30 +784,10 @@ impl IDownloadProgress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadProgress, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadProgress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadProgress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadProgress { type Vtable = IDownloadProgress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd31a5bac_f719_4178_9dbb_5e2cb47fd18a); } @@ -1047,6 +823,7 @@ pub struct IDownloadProgress_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadProgressChangedCallback(::windows_core::IUnknown); impl IDownloadProgressChangedCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1060,25 +837,9 @@ impl IDownloadProgressChangedCallback { } } ::windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDownloadProgressChangedCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDownloadProgressChangedCallback {} -impl ::core::fmt::Debug for IDownloadProgressChangedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadProgressChangedCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDownloadProgressChangedCallback { type Vtable = IDownloadProgressChangedCallback_Vtbl; } -impl ::core::clone::Clone for IDownloadProgressChangedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadProgressChangedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c3f1cdd_6173_4591_aebd_a56a53ca77c1); } @@ -1094,6 +855,7 @@ pub struct IDownloadProgressChangedCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadProgressChangedCallbackArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadProgressChangedCallbackArgs { @@ -1107,30 +869,10 @@ impl IDownloadProgressChangedCallbackArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallbackArgs, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadProgressChangedCallbackArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadProgressChangedCallbackArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadProgressChangedCallbackArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadProgressChangedCallbackArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadProgressChangedCallbackArgs { type Vtable = IDownloadProgressChangedCallbackArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadProgressChangedCallbackArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadProgressChangedCallbackArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x324ff2c6_4981_4b04_9412_57481745ab24); } @@ -1147,6 +889,7 @@ pub struct IDownloadProgressChangedCallbackArgs_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadResult { @@ -1168,30 +911,10 @@ impl IDownloadResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadResult { type Vtable = IDownloadResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdaa4fdd0_4727_4dbe_a1e7_745dca317144); } @@ -1210,6 +933,7 @@ pub struct IDownloadResult_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IImageInformation { @@ -1233,30 +957,10 @@ impl IImageInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IImageInformation, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IImageInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IImageInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IImageInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IImageInformation { type Vtable = IImageInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IImageInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IImageInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c907864_346c_4aeb_8f3f_57da289f969f); } @@ -1273,6 +977,7 @@ pub struct IImageInformation_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationAgent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationAgent { @@ -1289,30 +994,10 @@ impl IInstallationAgent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationAgent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationAgent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationAgent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationAgent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationAgent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationAgent { type Vtable = IInstallationAgent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationAgent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationAgent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x925cbc18_a2ea_4648_bf1c_ec8badcfe20a); } @@ -1329,6 +1014,7 @@ pub struct IInstallationAgent_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationBehavior(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationBehavior { @@ -1356,30 +1042,10 @@ impl IInstallationBehavior { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationBehavior, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationBehavior { type Vtable = IInstallationBehavior_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9a59339_e245_4dbd_9686_4d5763e39624); } @@ -1401,6 +1067,7 @@ pub struct IInstallationBehavior_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationCompletedCallback(::windows_core::IUnknown); impl IInstallationCompletedCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1414,25 +1081,9 @@ impl IInstallationCompletedCallback { } } ::windows_core::imp::interface_hierarchy!(IInstallationCompletedCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInstallationCompletedCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInstallationCompletedCallback {} -impl ::core::fmt::Debug for IInstallationCompletedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationCompletedCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInstallationCompletedCallback { type Vtable = IInstallationCompletedCallback_Vtbl; } -impl ::core::clone::Clone for IInstallationCompletedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstallationCompletedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45f4f6f3_d602_4f98_9a8a_3efa152ad2d3); } @@ -1448,36 +1099,17 @@ pub struct IInstallationCompletedCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationCompletedCallbackArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationCompletedCallbackArgs, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationCompletedCallbackArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationCompletedCallbackArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationCompletedCallbackArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationCompletedCallbackArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationCompletedCallbackArgs { type Vtable = IInstallationCompletedCallbackArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationCompletedCallbackArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationCompletedCallbackArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x250e2106_8efb_4705_9653_ef13c581b6a1); } @@ -1490,6 +1122,7 @@ pub struct IInstallationCompletedCallbackArgs_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationJob { @@ -1527,30 +1160,10 @@ impl IInstallationJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationJob, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationJob { type Vtable = IInstallationJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c209f0b_bad5_432a_9556_4699bed2638a); } @@ -1581,6 +1194,7 @@ pub struct IInstallationJob_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationProgress(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationProgress { @@ -1606,30 +1220,10 @@ impl IInstallationProgress { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationProgress, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationProgress {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationProgress").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationProgress { type Vtable = IInstallationProgress_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x345c8244_43a3_4e32_a368_65f073b76f36); } @@ -1648,6 +1242,7 @@ pub struct IInstallationProgress_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationProgressChangedCallback(::windows_core::IUnknown); impl IInstallationProgressChangedCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1661,25 +1256,9 @@ impl IInstallationProgressChangedCallback { } } ::windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInstallationProgressChangedCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInstallationProgressChangedCallback {} -impl ::core::fmt::Debug for IInstallationProgressChangedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationProgressChangedCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInstallationProgressChangedCallback { type Vtable = IInstallationProgressChangedCallback_Vtbl; } -impl ::core::clone::Clone for IInstallationProgressChangedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInstallationProgressChangedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe01402d5_f8da_43ba_a012_38894bd048f1); } @@ -1695,6 +1274,7 @@ pub struct IInstallationProgressChangedCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationProgressChangedCallbackArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationProgressChangedCallbackArgs { @@ -1708,30 +1288,10 @@ impl IInstallationProgressChangedCallbackArgs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallbackArgs, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationProgressChangedCallbackArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationProgressChangedCallbackArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationProgressChangedCallbackArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationProgressChangedCallbackArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationProgressChangedCallbackArgs { type Vtable = IInstallationProgressChangedCallbackArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationProgressChangedCallbackArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationProgressChangedCallbackArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4f14e1e_689d_4218_a0b9_bc189c484a01); } @@ -1748,6 +1308,7 @@ pub struct IInstallationProgressChangedCallbackArgs_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInstallationResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInstallationResult { @@ -1775,30 +1336,10 @@ impl IInstallationResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInstallationResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInstallationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInstallationResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInstallationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInstallationResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInstallationResult { type Vtable = IInstallationResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInstallationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInstallationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa43c56d6_7451_48d4_af96_b6cd2d0d9b7a); } @@ -1821,6 +1362,7 @@ pub struct IInstallationResult_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInvalidProductLicenseException(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInvalidProductLicenseException { @@ -1844,30 +1386,10 @@ impl IInvalidProductLicenseException { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInvalidProductLicenseException, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateException); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInvalidProductLicenseException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInvalidProductLicenseException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInvalidProductLicenseException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInvalidProductLicenseException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInvalidProductLicenseException { type Vtable = IInvalidProductLicenseException_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInvalidProductLicenseException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInvalidProductLicenseException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa37d00f5_7bb0_4953_b414_f9e98326f2e8); } @@ -1880,6 +1402,7 @@ pub struct IInvalidProductLicenseException_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCompletedCallback(::windows_core::IUnknown); impl ISearchCompletedCallback { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1893,25 +1416,9 @@ impl ISearchCompletedCallback { } } ::windows_core::imp::interface_hierarchy!(ISearchCompletedCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchCompletedCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchCompletedCallback {} -impl ::core::fmt::Debug for ISearchCompletedCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCompletedCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchCompletedCallback { type Vtable = ISearchCompletedCallback_Vtbl; } -impl ::core::clone::Clone for ISearchCompletedCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchCompletedCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88aee058_d4b0_4725_a2f1_814a67ae964c); } @@ -1927,36 +1434,17 @@ pub struct ISearchCompletedCallback_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchCompletedCallbackArgs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISearchCompletedCallbackArgs {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISearchCompletedCallbackArgs, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISearchCompletedCallbackArgs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISearchCompletedCallbackArgs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISearchCompletedCallbackArgs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchCompletedCallbackArgs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISearchCompletedCallbackArgs { type Vtable = ISearchCompletedCallbackArgs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISearchCompletedCallbackArgs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISearchCompletedCallbackArgs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa700a634_2850_4c47_938a_9e4b6e5af9a6); } @@ -1969,6 +1457,7 @@ pub struct ISearchCompletedCallbackArgs_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchJob(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISearchJob { @@ -1994,30 +1483,10 @@ impl ISearchJob { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISearchJob, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISearchJob { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISearchJob {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISearchJob { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchJob").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISearchJob { type Vtable = ISearchJob_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISearchJob { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISearchJob { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7366ea16_7a1a_4ea2_b042_973d3e9cd99b); } @@ -2040,6 +1509,7 @@ pub struct ISearchJob_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISearchResult { @@ -2069,30 +1539,10 @@ impl ISearchResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISearchResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISearchResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISearchResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISearchResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISearchResult { type Vtable = ISearchResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISearchResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISearchResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd40cff62_e08c_4498_941a_01e25f0fd33c); } @@ -2118,6 +1568,7 @@ pub struct ISearchResult_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStringCollection { @@ -2174,30 +1625,10 @@ impl IStringCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStringCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStringCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStringCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStringCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStringCollection { type Vtable = IStringCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStringCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStringCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeff90582_2ddc_480f_a06d_60f3fbc362c3); } @@ -2226,6 +1657,7 @@ pub struct IStringCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemInformation(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISystemInformation { @@ -2243,30 +1675,10 @@ impl ISystemInformation { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISystemInformation, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISystemInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISystemInformation {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISystemInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemInformation").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISystemInformation { type Vtable = ISystemInformation_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISystemInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISystemInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xade87bf7_7b56_4275_8fab_b9b0e591844b); } @@ -2284,6 +1696,7 @@ pub struct ISystemInformation_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdate { @@ -2533,30 +1946,10 @@ impl IUpdate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdate, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdate { type Vtable = IUpdate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a92b07a_d821_4682_b423_5c805022cc4d); } @@ -2701,6 +2094,7 @@ pub struct IUpdate_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdate2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdate2 { @@ -2970,36 +2364,16 @@ impl IUpdate2 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).CopyToCache)(::windows_core::Interface::as_raw(self), pfiles.into_param().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IUpdate2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdate2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + (::windows_core::Interface::vtable(self).CopyToCache)(::windows_core::Interface::as_raw(self), pfiles.into_param().abi()).ok() } } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdate2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdate2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdate2").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IUpdate2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdate2 { type Vtable = IUpdate2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x144fe9b0_d23d_4a8b_8634_fb4457533b7a); } @@ -3028,6 +2402,7 @@ pub struct IUpdate2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdate3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdate3 { @@ -3309,30 +2684,10 @@ impl IUpdate3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdate3, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdate3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdate3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdate3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdate3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdate3 { type Vtable = IUpdate3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdate3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdate3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x112eda6b_95b3_476f_9d90_aee82c6b8181); } @@ -3349,6 +2704,7 @@ pub struct IUpdate3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdate4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdate4 { @@ -3636,30 +2992,10 @@ impl IUpdate4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdate4, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdate4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdate4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdate4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdate4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdate4 { type Vtable = IUpdate4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdate4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdate4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27e94b0d_5139_49a2_9a61_93522dc54652); } @@ -3676,6 +3012,7 @@ pub struct IUpdate4_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdate5(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdate5 { @@ -3971,30 +3308,10 @@ impl IUpdate5 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdate5, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3, IUpdate4); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdate5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdate5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdate5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdate5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdate5 { type Vtable = IUpdate5_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdate5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdate5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1c2f21a_d2f4_4902_b5c6_8a081c19a890); } @@ -4009,6 +3326,7 @@ pub struct IUpdate5_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateCollection { @@ -4073,30 +3391,10 @@ impl IUpdateCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateCollection { type Vtable = IUpdateCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07f7438c_7709_4ca5_b518_91279288134e); } @@ -4137,6 +3435,7 @@ pub struct IUpdateCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateDownloadContent(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContent { @@ -4148,30 +3447,10 @@ impl IUpdateDownloadContent { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateDownloadContent, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateDownloadContent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateDownloadContent {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateDownloadContent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateDownloadContent").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateDownloadContent { type Vtable = IUpdateDownloadContent_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateDownloadContent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateDownloadContent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54a2cb2d_9a0c_48b6_8a50_9abb69ee2d02); } @@ -4185,6 +3464,7 @@ pub struct IUpdateDownloadContent_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateDownloadContent2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContent2 { @@ -4202,30 +3482,10 @@ impl IUpdateDownloadContent2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateDownloadContent2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateDownloadContent); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateDownloadContent2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateDownloadContent2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateDownloadContent2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateDownloadContent2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateDownloadContent2 { type Vtable = IUpdateDownloadContent2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateDownloadContent2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateDownloadContent2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc97ad11b_f257_420b_9d9f_377f733f6f68); } @@ -4242,6 +3502,7 @@ pub struct IUpdateDownloadContent2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateDownloadContentCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadContentCollection { @@ -4263,30 +3524,10 @@ impl IUpdateDownloadContentCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateDownloadContentCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateDownloadContentCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateDownloadContentCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateDownloadContentCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateDownloadContentCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateDownloadContentCollection { type Vtable = IUpdateDownloadContentCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateDownloadContentCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateDownloadContentCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc5513c8_b3b8_4bf7_a4d4_361c0d8c88ba); } @@ -4305,6 +3546,7 @@ pub struct IUpdateDownloadContentCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateDownloadResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloadResult { @@ -4320,30 +3562,10 @@ impl IUpdateDownloadResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateDownloadResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateDownloadResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateDownloadResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateDownloadResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateDownloadResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateDownloadResult { type Vtable = IUpdateDownloadResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateDownloadResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateDownloadResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf99af76_b575_42ad_8aa4_33cbb5477af1); } @@ -4358,6 +3580,7 @@ pub struct IUpdateDownloadResult_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateDownloader(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateDownloader { @@ -4435,30 +3658,10 @@ impl IUpdateDownloader { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateDownloader, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateDownloader { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateDownloader {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateDownloader { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateDownloader").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateDownloader { type Vtable = IUpdateDownloader_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateDownloader { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateDownloader { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68f1c6f9_7ecc_4666_a464_247fe12496c3); } @@ -4503,6 +3706,7 @@ pub struct IUpdateDownloader_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateException(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateException { @@ -4522,30 +3726,10 @@ impl IUpdateException { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateException, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateException {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateException").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateException { type Vtable = IUpdateException_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa376dd5e_09d4_427f_af7c_fed5b6e1c1d6); } @@ -4561,6 +3745,7 @@ pub struct IUpdateException_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateExceptionCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateExceptionCollection { @@ -4582,30 +3767,10 @@ impl IUpdateExceptionCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateExceptionCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateExceptionCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateExceptionCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateExceptionCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateExceptionCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateExceptionCollection { type Vtable = IUpdateExceptionCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateExceptionCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateExceptionCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x503626a3_8e14_4729_9355_0fe664bd2321); } @@ -4624,6 +3789,7 @@ pub struct IUpdateExceptionCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateHistoryEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntry { @@ -4691,30 +3857,10 @@ impl IUpdateHistoryEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateHistoryEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateHistoryEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateHistoryEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateHistoryEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateHistoryEntry { type Vtable = IUpdateHistoryEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateHistoryEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateHistoryEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbe56a644_af0e_4e0e_a311_c1d8e695cbff); } @@ -4747,6 +3893,7 @@ pub struct IUpdateHistoryEntry_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateHistoryEntry2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntry2 { @@ -4820,30 +3967,10 @@ impl IUpdateHistoryEntry2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateHistoryEntry); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateHistoryEntry2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateHistoryEntry2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateHistoryEntry2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateHistoryEntry2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateHistoryEntry2 { type Vtable = IUpdateHistoryEntry2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateHistoryEntry2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateHistoryEntry2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2bfb780_4539_4132_ab8c_0a8772013ab6); } @@ -4860,6 +3987,7 @@ pub struct IUpdateHistoryEntry2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateHistoryEntryCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateHistoryEntryCollection { @@ -4881,30 +4009,10 @@ impl IUpdateHistoryEntryCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateHistoryEntryCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateHistoryEntryCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateHistoryEntryCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateHistoryEntryCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateHistoryEntryCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateHistoryEntryCollection { type Vtable = IUpdateHistoryEntryCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateHistoryEntryCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateHistoryEntryCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7f04f3c_a290_435b_aadf_a116c3357a5c); } @@ -4923,6 +4031,7 @@ pub struct IUpdateHistoryEntryCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateIdentity(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateIdentity { @@ -4938,30 +4047,10 @@ impl IUpdateIdentity { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateIdentity, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateIdentity {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateIdentity").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateIdentity { type Vtable = IUpdateIdentity_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46297823_9940_4c09_aed9_cd3ea6d05968); } @@ -4976,6 +4065,7 @@ pub struct IUpdateIdentity_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateInstallationResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstallationResult { @@ -4997,30 +4087,10 @@ impl IUpdateInstallationResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateInstallationResult, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateInstallationResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateInstallationResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateInstallationResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateInstallationResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateInstallationResult { type Vtable = IUpdateInstallationResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateInstallationResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateInstallationResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd940f0f8_3cbb_4fd0_993f_471e7f2328ad); } @@ -5039,6 +4109,7 @@ pub struct IUpdateInstallationResult_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateInstaller(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller { @@ -5193,30 +4264,10 @@ impl IUpdateInstaller { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateInstaller, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateInstaller { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateInstaller {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateInstaller { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateInstaller").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateInstaller { type Vtable = IUpdateInstaller_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateInstaller { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateInstaller { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b929c68_ccdc_4226_96b1_8724600b54c2); } @@ -5301,6 +4352,7 @@ pub struct IUpdateInstaller_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateInstaller2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller2 { @@ -5469,30 +4521,10 @@ impl IUpdateInstaller2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateInstaller2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateInstaller2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateInstaller2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateInstaller2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateInstaller2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateInstaller2 { type Vtable = IUpdateInstaller2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateInstaller2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateInstaller2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3442d4fe_224d_4cee_98cf_30e0c4d229e6); } @@ -5513,6 +4545,7 @@ pub struct IUpdateInstaller2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateInstaller3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller3 { @@ -5695,30 +4728,10 @@ impl IUpdateInstaller3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateInstaller3, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateInstaller3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateInstaller3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateInstaller3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateInstaller3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateInstaller3 { type Vtable = IUpdateInstaller3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateInstaller3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateInstaller3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x16d11c35_099a_48d0_8338_5fae64047f8e); } @@ -5739,6 +4752,7 @@ pub struct IUpdateInstaller3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateInstaller4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateInstaller4 { @@ -5924,30 +4938,10 @@ impl IUpdateInstaller4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateInstaller4, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2, IUpdateInstaller3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateInstaller4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateInstaller4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateInstaller4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateInstaller4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateInstaller4 { type Vtable = IUpdateInstaller4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateInstaller4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateInstaller4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef8208ea_2304_492d_9109_23813b0958e1); } @@ -5960,32 +4954,17 @@ pub struct IUpdateInstaller4_Vtbl { } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateLockdown(::windows_core::IUnknown); impl IUpdateLockdown { pub unsafe fn LockDown(&self, flags: i32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).LockDown)(::windows_core::Interface::as_raw(self), flags).ok() } } -::windows_core::imp::interface_hierarchy!(IUpdateLockdown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUpdateLockdown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUpdateLockdown {} -impl ::core::fmt::Debug for IUpdateLockdown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateLockdown").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IUpdateLockdown, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUpdateLockdown { type Vtable = IUpdateLockdown_Vtbl; } -impl ::core::clone::Clone for IUpdateLockdown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUpdateLockdown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa976c28d_75a1_42aa_94ae_8af8b872089a); } @@ -5998,6 +4977,7 @@ pub struct IUpdateLockdown_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSearcher(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher { @@ -6119,30 +5099,10 @@ impl IUpdateSearcher { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSearcher, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSearcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSearcher {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSearcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSearcher").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSearcher { type Vtable = IUpdateSearcher_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSearcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSearcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f45abf1_f9ae_4b95_a933_f0f66e5056ea); } @@ -6203,6 +5163,7 @@ pub struct IUpdateSearcher_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSearcher2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher2 { @@ -6338,30 +5299,10 @@ impl IUpdateSearcher2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSearcher2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateSearcher); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSearcher2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSearcher2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSearcher2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSearcher2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSearcher2 { type Vtable = IUpdateSearcher2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSearcher2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSearcher2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cbdcb2d_1589_4beb_bd1c_3e582ff0add0); } @@ -6382,6 +5323,7 @@ pub struct IUpdateSearcher2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSearcher3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSearcher3 { @@ -6524,30 +5466,10 @@ impl IUpdateSearcher3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSearcher3, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateSearcher, IUpdateSearcher2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSearcher3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSearcher3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSearcher3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSearcher3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSearcher3 { type Vtable = IUpdateSearcher3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSearcher3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSearcher3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04c6895d_eaf2_4034_97f3_311de9be413a); } @@ -6562,6 +5484,7 @@ pub struct IUpdateSearcher3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateService(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateService { @@ -6635,30 +5558,10 @@ impl IUpdateService { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateService, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateService {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateService").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateService { type Vtable = IUpdateService_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76b3b17e_aed6_4da5_85f0_83587f81abe3); } @@ -6705,6 +5608,7 @@ pub struct IUpdateService_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateService2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateService2 { @@ -6784,30 +5688,10 @@ impl IUpdateService2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateService2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateService); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateService2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateService2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateService2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateService2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateService2 { type Vtable = IUpdateService2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1518b460_6518_4172_940f_c75883b24ceb); } @@ -6824,6 +5708,7 @@ pub struct IUpdateService2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateServiceCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceCollection { @@ -6845,30 +5730,10 @@ impl IUpdateServiceCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateServiceCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateServiceCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateServiceCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateServiceCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateServiceCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateServiceCollection { type Vtable = IUpdateServiceCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateServiceCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateServiceCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b0353aa_0e52_44ff_b8b0_1f7fa0437f88); } @@ -6887,6 +5752,7 @@ pub struct IUpdateServiceCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateServiceManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceManager { @@ -6946,30 +5812,10 @@ impl IUpdateServiceManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateServiceManager, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateServiceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateServiceManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateServiceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateServiceManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateServiceManager { type Vtable = IUpdateServiceManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateServiceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateServiceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23857e3c_02ba_44a3_9423_b1c900805f37); } @@ -7001,6 +5847,7 @@ pub struct IUpdateServiceManager_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateServiceManager2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceManager2 { @@ -7089,30 +5936,10 @@ impl IUpdateServiceManager2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateServiceManager2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateServiceManager); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateServiceManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateServiceManager2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateServiceManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateServiceManager2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateServiceManager2 { type Vtable = IUpdateServiceManager2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateServiceManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateServiceManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bb8531d_7e8d_424f_986c_a0b8f60a3e7b); } @@ -7135,6 +5962,7 @@ pub struct IUpdateServiceManager2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateServiceRegistration(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateServiceRegistration { @@ -7162,30 +5990,10 @@ impl IUpdateServiceRegistration { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateServiceRegistration, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateServiceRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateServiceRegistration {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateServiceRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateServiceRegistration").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateServiceRegistration { type Vtable = IUpdateServiceRegistration_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateServiceRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateServiceRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdde02280_12b3_4e0b_937b_6747f6acb286); } @@ -7208,6 +6016,7 @@ pub struct IUpdateServiceRegistration_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSession(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSession { @@ -7263,30 +6072,10 @@ impl IUpdateSession { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSession, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSession {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSession").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSession { type Vtable = IUpdateSession_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x816858a4_260d_4260_933a_2585f1abc76b); } @@ -7325,6 +6114,7 @@ pub struct IUpdateSession_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSession2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSession2 { @@ -7387,30 +6177,10 @@ impl IUpdateSession2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSession2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateSession); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSession2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSession2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSession2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSession2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSession2 { type Vtable = IUpdateSession2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSession2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSession2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91caf7b0_eb23_49ed_9937_c52d817f46f7); } @@ -7425,6 +6195,7 @@ pub struct IUpdateSession2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateSession3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IUpdateSession3 { @@ -7502,30 +6273,10 @@ impl IUpdateSession3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IUpdateSession3, ::windows_core::IUnknown, super::Com::IDispatch, IUpdateSession, IUpdateSession2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IUpdateSession3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IUpdateSession3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IUpdateSession3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateSession3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IUpdateSession3 { type Vtable = IUpdateSession3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IUpdateSession3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IUpdateSession3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x918efd1e_b5d8_4c90_8540_aeb9bdc56f9d); } @@ -7546,6 +6297,7 @@ pub struct IUpdateSession3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebProxy(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebProxy { @@ -7643,30 +6395,10 @@ impl IWebProxy { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebProxy, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebProxy { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebProxy {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebProxy { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebProxy").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebProxy { type Vtable = IWebProxy_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebProxy { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebProxy { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x174c81fe_aecd_4dae_b8a0_2c6318dd86a8); } @@ -7717,6 +6449,7 @@ pub struct IWebProxy_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate { @@ -7998,30 +6731,10 @@ impl IWindowsDriverUpdate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdate { type Vtable = IWindowsDriverUpdate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb383cd1a_5ce9_4504_9f63_764b1236f191); } @@ -8042,6 +6755,7 @@ pub struct IWindowsDriverUpdate_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdate2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate2 { @@ -8349,30 +7063,10 @@ impl IWindowsDriverUpdate2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate2, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdate2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdate2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdate2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdate2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdate2 { type Vtable = IWindowsDriverUpdate2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdate2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdate2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x615c4269_7a48_43bd_96b7_bf6ca27d6c3e); } @@ -8401,6 +7095,7 @@ pub struct IWindowsDriverUpdate2_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdate3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate3 { @@ -8714,30 +7409,10 @@ impl IWindowsDriverUpdate3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate3, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdate3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdate3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdate3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdate3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdate3 { type Vtable = IWindowsDriverUpdate3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdate3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdate3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ebd502_4a96_41bd_9e3e_4c5057f4250c); } @@ -8754,6 +7429,7 @@ pub struct IWindowsDriverUpdate3_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdate4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate4 { @@ -9079,30 +7755,10 @@ impl IWindowsDriverUpdate4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate4, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdate4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdate4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdate4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdate4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdate4 { type Vtable = IWindowsDriverUpdate4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdate4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdate4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x004c6a2b_0c19_4c69_9f5c_a269b2560db9); } @@ -9123,6 +7779,7 @@ pub struct IWindowsDriverUpdate4_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdate5(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdate5 { @@ -9456,30 +8113,10 @@ impl IWindowsDriverUpdate5 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate5, ::windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3, IWindowsDriverUpdate4); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdate5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdate5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdate5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdate5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdate5 { type Vtable = IWindowsDriverUpdate5_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdate5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdate5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70cf5c82_8642_42bb_9dbc_0cfd263c6c4f); } @@ -9494,6 +8131,7 @@ pub struct IWindowsDriverUpdate5_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdateEntry(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdateEntry { @@ -9533,30 +8171,10 @@ impl IWindowsDriverUpdateEntry { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntry, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdateEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdateEntry {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdateEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdateEntry").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdateEntry { type Vtable = IWindowsDriverUpdateEntry_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdateEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdateEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed8bfe40_a60b_42ea_9652_817dfcfa23ec); } @@ -9577,6 +8195,7 @@ pub struct IWindowsDriverUpdateEntry_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDriverUpdateEntryCollection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsDriverUpdateEntryCollection { @@ -9598,30 +8217,10 @@ impl IWindowsDriverUpdateEntryCollection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntryCollection, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsDriverUpdateEntryCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsDriverUpdateEntryCollection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsDriverUpdateEntryCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDriverUpdateEntryCollection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsDriverUpdateEntryCollection { type Vtable = IWindowsDriverUpdateEntryCollection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsDriverUpdateEntryCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsDriverUpdateEntryCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d521700_a372_4bef_828b_3d00c10adebd); } @@ -9640,6 +8239,7 @@ pub struct IWindowsDriverUpdateEntryCollection_Vtbl { #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsUpdateAgentInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWindowsUpdateAgentInfo { @@ -9653,30 +8253,10 @@ impl IWindowsUpdateAgentInfo { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWindowsUpdateAgentInfo, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWindowsUpdateAgentInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWindowsUpdateAgentInfo {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWindowsUpdateAgentInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsUpdateAgentInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWindowsUpdateAgentInfo { type Vtable = IWindowsUpdateAgentInfo_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWindowsUpdateAgentInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWindowsUpdateAgentInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85713fa1_7796_4fa2_be3b_e2d6124dd373); } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs index 317dbc0ac0..6e60bba172 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs @@ -21,7 +21,7 @@ impl IWaaSAssessor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOSUpdateAssessment: GetOSUpdateAssessment:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs index 9f2ecd06db..31759b48f8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_UpdateAssessment\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWaaSAssessor(::windows_core::IUnknown); impl IWaaSAssessor { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10,25 +11,9 @@ impl IWaaSAssessor { } } ::windows_core::imp::interface_hierarchy!(IWaaSAssessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWaaSAssessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWaaSAssessor {} -impl ::core::fmt::Debug for IWaaSAssessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWaaSAssessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWaaSAssessor { type Vtable = IWaaSAssessor_Vtbl; } -impl ::core::clone::Clone for IWaaSAssessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWaaSAssessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2347bbef_1a3b_45a4_902d_3e09c269b45e); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs index 5a167c2bf2..d46261430e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs @@ -15,8 +15,8 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -42,8 +42,8 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -104,7 +104,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs index 420af34d4f..9f22c1bbbd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDevicesAllJoynBusAttachmentFactoryInterop(::windows_core::IUnknown); impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { pub unsafe fn CreateFromWin32Handle(&self, win32handle: u64, enableaboutdata: u8) -> ::windows_core::Result @@ -11,25 +12,9 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsDevicesAllJoynBusAttachmentFactoryInterop {} -impl ::core::fmt::Debug for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDevicesAllJoynBusAttachmentFactoryInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { type Vtable = IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl; } -impl ::core::clone::Clone for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b8f7505_b239_4e7b_88af_f6682575d861); } @@ -41,6 +26,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDevicesAllJoynBusAttachmentInterop(::windows_core::IUnknown); impl IWindowsDevicesAllJoynBusAttachmentInterop { pub unsafe fn Win32Handle(&self) -> ::windows_core::Result { @@ -49,25 +35,9 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop { } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusAttachmentInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsDevicesAllJoynBusAttachmentInterop {} -impl ::core::fmt::Debug for IWindowsDevicesAllJoynBusAttachmentInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDevicesAllJoynBusAttachmentInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsDevicesAllJoynBusAttachmentInterop { type Vtable = IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl; } -impl ::core::clone::Clone for IWindowsDevicesAllJoynBusAttachmentInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsDevicesAllJoynBusAttachmentInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd89c65b_b50e_4a19_9d0c_b42b783281cd); } @@ -79,6 +49,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDevicesAllJoynBusObjectFactoryInterop(::windows_core::IUnknown); impl IWindowsDevicesAllJoynBusObjectFactoryInterop { pub unsafe fn CreateFromWin32Handle(&self, win32handle: u64) -> ::windows_core::Result @@ -90,25 +61,9 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop { } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusObjectFactoryInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsDevicesAllJoynBusObjectFactoryInterop {} -impl ::core::fmt::Debug for IWindowsDevicesAllJoynBusObjectFactoryInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDevicesAllJoynBusObjectFactoryInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsDevicesAllJoynBusObjectFactoryInterop { type Vtable = IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl; } -impl ::core::clone::Clone for IWindowsDevicesAllJoynBusObjectFactoryInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsDevicesAllJoynBusObjectFactoryInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6174e506_8b95_4e36_95c0_b88fed34938c); } @@ -120,6 +75,7 @@ pub struct IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsDevicesAllJoynBusObjectInterop(::windows_core::IUnknown); impl IWindowsDevicesAllJoynBusObjectInterop { pub unsafe fn AddPropertyGetHandler(&self, context: *const ::core::ffi::c_void, interfacename: &::windows_core::HSTRING, callback: isize) -> ::windows_core::Result<()> { @@ -134,25 +90,9 @@ impl IWindowsDevicesAllJoynBusObjectInterop { } } ::windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWindowsDevicesAllJoynBusObjectInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsDevicesAllJoynBusObjectInterop {} -impl ::core::fmt::Debug for IWindowsDevicesAllJoynBusObjectInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsDevicesAllJoynBusObjectInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsDevicesAllJoynBusObjectInterop { type Vtable = IWindowsDevicesAllJoynBusObjectInterop_Vtbl; } -impl ::core::clone::Clone for IWindowsDevicesAllJoynBusObjectInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsDevicesAllJoynBusObjectInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd78aa3d5_5054_428f_99f2_ec3a5de3c3bc); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs index 2564989c1a..523795665b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs @@ -24,8 +24,8 @@ impl ICompositionCapabilitiesInteropFactory_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl ICompositionDrawingSurfaceInterop_Vtbl { SuspendDraw: SuspendDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl ICompositionDrawingSurfaceInterop2_Vtbl { } Self { base__: ICompositionDrawingSurfaceInterop_Vtbl::new::(), CopySurface: CopySurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"implement\"`*"] @@ -138,8 +138,8 @@ impl ICompositionGraphicsDeviceInterop_Vtbl { SetRenderingDevice: SetRenderingDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"UI_Composition_Desktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ICompositorDesktopInterop_Vtbl { EnsureOnThread: EnsureOnThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"UI_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl ICompositorInterop_Vtbl { CreateGraphicsDevice: CreateGraphicsDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IDesktopWindowTargetInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Hwnd: Hwnd:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -282,7 +282,7 @@ impl IVisualInteractionSourceInterop_Vtbl { TryRedirectForManipulation: TryRedirectForManipulation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs index 3aa8146336..f261585447 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionCapabilitiesInteropFactory(::windows_core::IUnknown); impl ICompositionCapabilitiesInteropFactory { #[doc = "*Required features: `\"UI_Composition\"`, `\"Win32_Foundation\"`*"] @@ -13,25 +14,9 @@ impl ICompositionCapabilitiesInteropFactory { } } ::windows_core::imp::interface_hierarchy!(ICompositionCapabilitiesInteropFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICompositionCapabilitiesInteropFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionCapabilitiesInteropFactory {} -impl ::core::fmt::Debug for ICompositionCapabilitiesInteropFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionCapabilitiesInteropFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositionCapabilitiesInteropFactory { type Vtable = ICompositionCapabilitiesInteropFactory_Vtbl; } -impl ::core::clone::Clone for ICompositionCapabilitiesInteropFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionCapabilitiesInteropFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c9db356_e70d_4642_8298_bc4aa5b4865c); } @@ -46,6 +31,7 @@ pub struct ICompositionCapabilitiesInteropFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDrawingSurfaceInterop(::windows_core::IUnknown); impl ICompositionDrawingSurfaceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -78,25 +64,9 @@ impl ICompositionDrawingSurfaceInterop { } } ::windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICompositionDrawingSurfaceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionDrawingSurfaceInterop {} -impl ::core::fmt::Debug for ICompositionDrawingSurfaceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionDrawingSurfaceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositionDrawingSurfaceInterop { type Vtable = ICompositionDrawingSurfaceInterop_Vtbl; } -impl ::core::clone::Clone for ICompositionDrawingSurfaceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDrawingSurfaceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd04e6e3_fe0c_4c3c_ab19_a07601a576ee); } @@ -122,6 +92,7 @@ pub struct ICompositionDrawingSurfaceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionDrawingSurfaceInterop2(::windows_core::IUnknown); impl ICompositionDrawingSurfaceInterop2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -162,25 +133,9 @@ impl ICompositionDrawingSurfaceInterop2 { } } ::windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop2, ::windows_core::IUnknown, ICompositionDrawingSurfaceInterop); -impl ::core::cmp::PartialEq for ICompositionDrawingSurfaceInterop2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionDrawingSurfaceInterop2 {} -impl ::core::fmt::Debug for ICompositionDrawingSurfaceInterop2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionDrawingSurfaceInterop2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositionDrawingSurfaceInterop2 { type Vtable = ICompositionDrawingSurfaceInterop2_Vtbl; } -impl ::core::clone::Clone for ICompositionDrawingSurfaceInterop2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionDrawingSurfaceInterop2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41e64aae_98c0_4239_8e95_a330dd6aa18b); } @@ -195,6 +150,7 @@ pub struct ICompositionDrawingSurfaceInterop2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositionGraphicsDeviceInterop(::windows_core::IUnknown); impl ICompositionGraphicsDeviceInterop { pub unsafe fn GetRenderingDevice(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -209,25 +165,9 @@ impl ICompositionGraphicsDeviceInterop { } } ::windows_core::imp::interface_hierarchy!(ICompositionGraphicsDeviceInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICompositionGraphicsDeviceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositionGraphicsDeviceInterop {} -impl ::core::fmt::Debug for ICompositionGraphicsDeviceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositionGraphicsDeviceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositionGraphicsDeviceInterop { type Vtable = ICompositionGraphicsDeviceInterop_Vtbl; } -impl ::core::clone::Clone for ICompositionGraphicsDeviceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositionGraphicsDeviceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa116ff71_f8bf_4c8a_9c98_70779a32a9c8); } @@ -240,6 +180,7 @@ pub struct ICompositionGraphicsDeviceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorDesktopInterop(::windows_core::IUnknown); impl ICompositorDesktopInterop { #[doc = "*Required features: `\"UI_Composition_Desktop\"`, `\"Win32_Foundation\"`*"] @@ -257,25 +198,9 @@ impl ICompositorDesktopInterop { } } ::windows_core::imp::interface_hierarchy!(ICompositorDesktopInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICompositorDesktopInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositorDesktopInterop {} -impl ::core::fmt::Debug for ICompositorDesktopInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositorDesktopInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositorDesktopInterop { type Vtable = ICompositorDesktopInterop_Vtbl; } -impl ::core::clone::Clone for ICompositorDesktopInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorDesktopInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29e691fa_4567_4dca_b319_d0f207eb6807); } @@ -291,6 +216,7 @@ pub struct ICompositorDesktopInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICompositorInterop(::windows_core::IUnknown); impl ICompositorInterop { #[doc = "*Required features: `\"UI_Composition\"`, `\"Win32_Foundation\"`*"] @@ -322,25 +248,9 @@ impl ICompositorInterop { } } ::windows_core::imp::interface_hierarchy!(ICompositorInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICompositorInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICompositorInterop {} -impl ::core::fmt::Debug for ICompositorInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICompositorInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICompositorInterop { type Vtable = ICompositorInterop_Vtbl; } -impl ::core::clone::Clone for ICompositorInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICompositorInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25297d5c_3ad4_4c9c_b5cf_e36a38512330); } @@ -363,6 +273,7 @@ pub struct ICompositorInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesktopWindowTargetInterop(::windows_core::IUnknown); impl IDesktopWindowTargetInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -373,25 +284,9 @@ impl IDesktopWindowTargetInterop { } } ::windows_core::imp::interface_hierarchy!(IDesktopWindowTargetInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDesktopWindowTargetInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDesktopWindowTargetInterop {} -impl ::core::fmt::Debug for IDesktopWindowTargetInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDesktopWindowTargetInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDesktopWindowTargetInterop { type Vtable = IDesktopWindowTargetInterop_Vtbl; } -impl ::core::clone::Clone for IDesktopWindowTargetInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesktopWindowTargetInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35dbf59e_e3f9_45b0_81e7_fe75f4145dc9); } @@ -406,6 +301,7 @@ pub struct IDesktopWindowTargetInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualInteractionSourceInterop(::windows_core::IUnknown); impl IVisualInteractionSourceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -415,25 +311,9 @@ impl IVisualInteractionSourceInterop { } } ::windows_core::imp::interface_hierarchy!(IVisualInteractionSourceInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVisualInteractionSourceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVisualInteractionSourceInterop {} -impl ::core::fmt::Debug for IVisualInteractionSourceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVisualInteractionSourceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVisualInteractionSourceInterop { type Vtable = IVisualInteractionSourceInterop_Vtbl; } -impl ::core::clone::Clone for IVisualInteractionSourceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualInteractionSourceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11f62cd1_2f9d_42d3_b05f_d6790d9e9f8e); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs index 07c83439f4..f6deff43c0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs @@ -18,7 +18,7 @@ impl ICoreFrameworkInputViewInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs index b7de7d03b1..f9f1c3235b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_CoreInputView\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFrameworkInputViewInterop(::windows_core::IUnknown); impl ICoreFrameworkInputViewInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14,25 +15,9 @@ impl ICoreFrameworkInputViewInterop { } } ::windows_core::imp::interface_hierarchy!(ICoreFrameworkInputViewInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreFrameworkInputViewInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreFrameworkInputViewInterop {} -impl ::core::fmt::Debug for ICoreFrameworkInputViewInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreFrameworkInputViewInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreFrameworkInputViewInterop { type Vtable = ICoreFrameworkInputViewInterop_Vtbl; } -impl ::core::clone::Clone for ICoreFrameworkInputViewInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFrameworkInputViewInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e3da342_b11c_484b_9c1c_be0d61c2f6c5); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs index 900be85ea1..270d2f89f3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs @@ -12,7 +12,7 @@ impl IDirect3DDxgiInterfaceAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInterface: GetInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs index a9e7e36108..1e91db6733 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs @@ -22,6 +22,7 @@ where } #[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDirect3DDxgiInterfaceAccess(::windows_core::IUnknown); impl IDirect3DDxgiInterfaceAccess { pub unsafe fn GetInterface(&self) -> ::windows_core::Result @@ -33,25 +34,9 @@ impl IDirect3DDxgiInterfaceAccess { } } ::windows_core::imp::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDirect3DDxgiInterfaceAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDirect3DDxgiInterfaceAccess {} -impl ::core::fmt::Debug for IDirect3DDxgiInterfaceAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDirect3DDxgiInterfaceAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDirect3DDxgiInterfaceAccess { type Vtable = IDirect3DDxgiInterfaceAccess_Vtbl; } -impl ::core::clone::Clone for IDirect3DDxgiInterfaceAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDirect3DDxgiInterfaceAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9b3d012_3df2_4ee3_b8d1_8695f457d3c1); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs index 903663daaa..e158a78b76 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs @@ -37,8 +37,8 @@ impl IDisplayDeviceInterop_Vtbl { OpenSharedHandle: OpenSharedHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Display\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -80,7 +80,7 @@ impl IDisplayPathInterop_Vtbl { GetSourceId: GetSourceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs index a9f7b69522..9f401e2e68 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayDeviceInterop(::windows_core::IUnknown); impl IDisplayDeviceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] @@ -22,25 +23,9 @@ impl IDisplayDeviceInterop { } } ::windows_core::imp::interface_hierarchy!(IDisplayDeviceInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDisplayDeviceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayDeviceInterop {} -impl ::core::fmt::Debug for IDisplayDeviceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayDeviceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDisplayDeviceInterop { type Vtable = IDisplayDeviceInterop_Vtbl; } -impl ::core::clone::Clone for IDisplayDeviceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayDeviceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64338358_366a_471b_bd56_dd8ef48e439b); } @@ -59,6 +44,7 @@ pub struct IDisplayDeviceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Display\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayPathInterop(::windows_core::IUnknown); impl IDisplayPathInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -73,25 +59,9 @@ impl IDisplayPathInterop { } } ::windows_core::imp::interface_hierarchy!(IDisplayPathInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDisplayPathInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayPathInterop {} -impl ::core::fmt::Debug for IDisplayPathInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayPathInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDisplayPathInterop { type Vtable = IDisplayPathInterop_Vtbl; } -impl ::core::clone::Clone for IDisplayPathInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayPathInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6ba4205_e59e_4e71_b25b_4e436d21ee3d); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs index 33b5f46e2f..bee05f5dbd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs @@ -25,7 +25,7 @@ impl IGraphicsCaptureItemInterop_Vtbl { CreateForMonitor: CreateForMonitor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs index 9a053b39b2..65d3f22c1a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Capture\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsCaptureItemInterop(::windows_core::IUnknown); impl IGraphicsCaptureItemInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24,25 +25,9 @@ impl IGraphicsCaptureItemInterop { } } ::windows_core::imp::interface_hierarchy!(IGraphicsCaptureItemInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGraphicsCaptureItemInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphicsCaptureItemInterop {} -impl ::core::fmt::Debug for IGraphicsCaptureItemInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphicsCaptureItemInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphicsCaptureItemInterop { type Vtable = IGraphicsCaptureItemInterop_Vtbl; } -impl ::core::clone::Clone for IGraphicsCaptureItemInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsCaptureItemInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3628e81b_3cac_4c60_b7f4_23ce0e0c3356); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs index 2e9c1c4f43..6c47faf8d4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs @@ -37,8 +37,8 @@ impl IGeometrySource2DInterop_Vtbl { TryGetGeometryUsingFactory: TryGetGeometryUsingFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`, `\"Foundation\"`, `\"Graphics_Effects\"`, `\"implement\"`*"] @@ -126,7 +126,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { GetSourceCount: GetSourceCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs index cbc9d37f6a..4c2a6eff7c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGeometrySource2DInterop(::windows_core::IUnknown); impl IGeometrySource2DInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -19,25 +20,9 @@ impl IGeometrySource2DInterop { } } ::windows_core::imp::interface_hierarchy!(IGeometrySource2DInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGeometrySource2DInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGeometrySource2DInterop {} -impl ::core::fmt::Debug for IGeometrySource2DInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGeometrySource2DInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGeometrySource2DInterop { type Vtable = IGeometrySource2DInterop_Vtbl; } -impl ::core::clone::Clone for IGeometrySource2DInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGeometrySource2DInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0657af73_53fd_47cf_84ff_c8492d2a80a3); } @@ -56,6 +41,7 @@ pub struct IGeometrySource2DInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGraphicsEffectD2D1Interop(::windows_core::IUnknown); impl IGraphicsEffectD2D1Interop { pub unsafe fn GetEffectId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -90,25 +76,9 @@ impl IGraphicsEffectD2D1Interop { } } ::windows_core::imp::interface_hierarchy!(IGraphicsEffectD2D1Interop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGraphicsEffectD2D1Interop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGraphicsEffectD2D1Interop {} -impl ::core::fmt::Debug for IGraphicsEffectD2D1Interop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGraphicsEffectD2D1Interop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGraphicsEffectD2D1Interop { type Vtable = IGraphicsEffectD2D1Interop_Vtbl; } -impl ::core::clone::Clone for IGraphicsEffectD2D1Interop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGraphicsEffectD2D1Interop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2fc57384_a068_44d7_a331_30982fcf7177); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs index 2283ebfee0..40d7bc7206 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs @@ -12,8 +12,8 @@ impl ISoftwareBitmapNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -43,7 +43,7 @@ impl ISoftwareBitmapNativeFactory_Vtbl { CreateFromMF2DBuffer2: CreateFromMF2DBuffer2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs index 4bb3c048b9..e8b33907f0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftwareBitmapNative(::windows_core::IUnknown); impl ISoftwareBitmapNative { pub unsafe fn GetData(&self) -> ::windows_core::Result @@ -11,25 +12,9 @@ impl ISoftwareBitmapNative { } } ::windows_core::imp::interface_hierarchy!(ISoftwareBitmapNative, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISoftwareBitmapNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISoftwareBitmapNative {} -impl ::core::fmt::Debug for ISoftwareBitmapNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISoftwareBitmapNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISoftwareBitmapNative { type Vtable = ISoftwareBitmapNative_Vtbl; } -impl ::core::clone::Clone for ISoftwareBitmapNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftwareBitmapNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94bc8415_04ea_4b2e_af13_4de95aa898eb); } @@ -41,6 +26,7 @@ pub struct ISoftwareBitmapNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Imaging\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISoftwareBitmapNativeFactory(::windows_core::IUnknown); impl ISoftwareBitmapNativeFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -67,25 +53,9 @@ impl ISoftwareBitmapNativeFactory { } } ::windows_core::imp::interface_hierarchy!(ISoftwareBitmapNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISoftwareBitmapNativeFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISoftwareBitmapNativeFactory {} -impl ::core::fmt::Debug for ISoftwareBitmapNativeFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISoftwareBitmapNativeFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISoftwareBitmapNativeFactory { type Vtable = ISoftwareBitmapNativeFactory_Vtbl; } -impl ::core::clone::Clone for ISoftwareBitmapNativeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISoftwareBitmapNativeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3c181ec_2914_4791_af02_02d224a10b43); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs index df5b868e8e..a22d151128 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs @@ -58,8 +58,8 @@ impl IHolographicCameraInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IHolographicCameraRenderingParametersInterop_Vtbl { CommitDirect3D12ResourceWithDepthData: CommitDirect3D12ResourceWithDepthData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -153,8 +153,8 @@ impl IHolographicQuadLayerInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -177,7 +177,7 @@ impl IHolographicQuadLayerUpdateParametersInterop_Vtbl { CommitDirect3D12Resource: CommitDirect3D12Resource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs index 5dde35e658..62cedc3cf9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraInterop(::windows_core::IUnknown); impl IHolographicCameraInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -49,25 +50,9 @@ impl IHolographicCameraInterop { } } ::windows_core::imp::interface_hierarchy!(IHolographicCameraInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IHolographicCameraInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolographicCameraInterop {} -impl ::core::fmt::Debug for IHolographicCameraInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolographicCameraInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolographicCameraInterop { type Vtable = IHolographicCameraInterop_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cc1f9c5_6d02_41fa_9500_e1809eb48eec); } @@ -98,6 +83,7 @@ pub struct IHolographicCameraInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicCameraRenderingParametersInterop(::windows_core::IUnknown); impl IHolographicCameraRenderingParametersInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -122,25 +108,9 @@ impl IHolographicCameraRenderingParametersInterop { } } ::windows_core::imp::interface_hierarchy!(IHolographicCameraRenderingParametersInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IHolographicCameraRenderingParametersInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolographicCameraRenderingParametersInterop {} -impl ::core::fmt::Debug for IHolographicCameraRenderingParametersInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolographicCameraRenderingParametersInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolographicCameraRenderingParametersInterop { type Vtable = IHolographicCameraRenderingParametersInterop_Vtbl; } -impl ::core::clone::Clone for IHolographicCameraRenderingParametersInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicCameraRenderingParametersInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf75b68d6_d1fd_4707_aafd_fa6f4c0e3bf4); } @@ -159,6 +129,7 @@ pub struct IHolographicCameraRenderingParametersInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayerInterop(::windows_core::IUnknown); impl IHolographicQuadLayerInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -208,25 +179,9 @@ impl IHolographicQuadLayerInterop { } } ::windows_core::imp::interface_hierarchy!(IHolographicQuadLayerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IHolographicQuadLayerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolographicQuadLayerInterop {} -impl ::core::fmt::Debug for IHolographicQuadLayerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolographicQuadLayerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolographicQuadLayerInterop { type Vtable = IHolographicQuadLayerInterop_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfa688f0_639e_4a47_83d7_6b7f5ebf7fed); } @@ -257,6 +212,7 @@ pub struct IHolographicQuadLayerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicQuadLayerUpdateParametersInterop(::windows_core::IUnknown); impl IHolographicQuadLayerUpdateParametersInterop { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -270,25 +226,9 @@ impl IHolographicQuadLayerUpdateParametersInterop { } } ::windows_core::imp::interface_hierarchy!(IHolographicQuadLayerUpdateParametersInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IHolographicQuadLayerUpdateParametersInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolographicQuadLayerUpdateParametersInterop {} -impl ::core::fmt::Debug for IHolographicQuadLayerUpdateParametersInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolographicQuadLayerUpdateParametersInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolographicQuadLayerUpdateParametersInterop { type Vtable = IHolographicQuadLayerUpdateParametersInterop_Vtbl; } -impl ::core::clone::Clone for IHolographicQuadLayerUpdateParametersInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicQuadLayerUpdateParametersInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5f549cd_c909_444f_8809_7cc18a9c8920); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs index 45d7c59fe7..defb06a5a3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs @@ -21,7 +21,7 @@ impl IIsolatedEnvironmentInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHostHwndInterop: GetHostHwndInterop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs index bab17d6159..1c19cd8e58 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Isolation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIsolatedEnvironmentInterop(::windows_core::IUnknown); impl IIsolatedEnvironmentInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13,25 +14,9 @@ impl IIsolatedEnvironmentInterop { } } ::windows_core::imp::interface_hierarchy!(IIsolatedEnvironmentInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIsolatedEnvironmentInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIsolatedEnvironmentInterop {} -impl ::core::fmt::Debug for IIsolatedEnvironmentInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIsolatedEnvironmentInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIsolatedEnvironmentInterop { type Vtable = IIsolatedEnvironmentInterop_Vtbl; } -impl ::core::clone::Clone for IIsolatedEnvironmentInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIsolatedEnvironmentInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85713c2e_8e62_46c5_8de2_c647e1d54636); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs index 30ba8a79a9..fc9b9e9525 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs @@ -24,8 +24,8 @@ impl ILearningModelDeviceFactoryNative_Vtbl { CreateFromD3D12CommandQueue: CreateFromD3D12CommandQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl ILearningModelOperatorProviderNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRegistry: GetRegistry:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"implement\"`*"] @@ -72,8 +72,8 @@ impl ILearningModelSessionOptionsNative_Vtbl { SetIntraOpNumThreadsOverride: SetIntraOpNumThreadsOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl ILearningModelSessionOptionsNative1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIntraOpThreadSpinning: SetIntraOpThreadSpinning:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -127,8 +127,8 @@ impl ITensorNative_Vtbl { GetD3D12Resource: GetD3D12Resource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -148,7 +148,7 @@ impl ITensorStaticsNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromD3D12Resource: CreateFromD3D12Resource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs index b8aa840e67..791dc717f6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelDeviceFactoryNative(::windows_core::IUnknown); impl ILearningModelDeviceFactoryNative { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -13,25 +14,9 @@ impl ILearningModelDeviceFactoryNative { } } ::windows_core::imp::interface_hierarchy!(ILearningModelDeviceFactoryNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILearningModelDeviceFactoryNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelDeviceFactoryNative {} -impl ::core::fmt::Debug for ILearningModelDeviceFactoryNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelDeviceFactoryNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILearningModelDeviceFactoryNative { type Vtable = ILearningModelDeviceFactoryNative_Vtbl; } -impl ::core::clone::Clone for ILearningModelDeviceFactoryNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelDeviceFactoryNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e9b31a1_662e_4ae0_af67_f63bb337e634); } @@ -46,6 +31,7 @@ pub struct ILearningModelDeviceFactoryNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelOperatorProviderNative(::windows_core::IUnknown); impl ILearningModelOperatorProviderNative { #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`*"] @@ -56,25 +42,9 @@ impl ILearningModelOperatorProviderNative { } } ::windows_core::imp::interface_hierarchy!(ILearningModelOperatorProviderNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILearningModelOperatorProviderNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelOperatorProviderNative {} -impl ::core::fmt::Debug for ILearningModelOperatorProviderNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelOperatorProviderNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILearningModelOperatorProviderNative { type Vtable = ILearningModelOperatorProviderNative_Vtbl; } -impl ::core::clone::Clone for ILearningModelOperatorProviderNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelOperatorProviderNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1adaa23a_eb67_41f3_aad8_5d984e9bacd4); } @@ -89,6 +59,7 @@ pub struct ILearningModelOperatorProviderNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionOptionsNative(::windows_core::IUnknown); impl ILearningModelSessionOptionsNative { pub unsafe fn SetIntraOpNumThreadsOverride(&self, intraopnumthreads: u32) -> ::windows_core::Result<()> { @@ -96,25 +67,9 @@ impl ILearningModelSessionOptionsNative { } } ::windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILearningModelSessionOptionsNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelSessionOptionsNative {} -impl ::core::fmt::Debug for ILearningModelSessionOptionsNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelSessionOptionsNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILearningModelSessionOptionsNative { type Vtable = ILearningModelSessionOptionsNative_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionOptionsNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionOptionsNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc71e953f_37b4_4564_8658_d8396866db0d); } @@ -126,6 +81,7 @@ pub struct ILearningModelSessionOptionsNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILearningModelSessionOptionsNative1(::windows_core::IUnknown); impl ILearningModelSessionOptionsNative1 { pub unsafe fn SetIntraOpThreadSpinning(&self, allowspinning: u8) -> ::windows_core::Result<()> { @@ -133,25 +89,9 @@ impl ILearningModelSessionOptionsNative1 { } } ::windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative1, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILearningModelSessionOptionsNative1 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILearningModelSessionOptionsNative1 {} -impl ::core::fmt::Debug for ILearningModelSessionOptionsNative1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILearningModelSessionOptionsNative1").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILearningModelSessionOptionsNative1 { type Vtable = ILearningModelSessionOptionsNative1_Vtbl; } -impl ::core::clone::Clone for ILearningModelSessionOptionsNative1 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILearningModelSessionOptionsNative1 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5da37a26_0526_414b_91e4_2a0fa3ddba40); } @@ -163,6 +103,7 @@ pub struct ILearningModelSessionOptionsNative1_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorNative(::windows_core::IUnknown); impl ITensorNative { pub unsafe fn GetBuffer(&self, value: *mut *mut u8, capacity: *mut u32) -> ::windows_core::Result<()> { @@ -176,25 +117,9 @@ impl ITensorNative { } } ::windows_core::imp::interface_hierarchy!(ITensorNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITensorNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITensorNative {} -impl ::core::fmt::Debug for ITensorNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITensorNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITensorNative { type Vtable = ITensorNative_Vtbl; } -impl ::core::clone::Clone for ITensorNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52f547ef_5b03_49b5_82d6_565f1ee0dd49); } @@ -210,6 +135,7 @@ pub struct ITensorNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITensorStaticsNative(::windows_core::IUnknown); impl ITensorStaticsNative { #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`*"] @@ -222,25 +148,9 @@ impl ITensorStaticsNative { } } ::windows_core::imp::interface_hierarchy!(ITensorStaticsNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITensorStaticsNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITensorStaticsNative {} -impl ::core::fmt::Debug for ITensorStaticsNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITensorStaticsNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITensorStaticsNative { type Vtable = ITensorStaticsNative_Vtbl; } -impl ::core::clone::Clone for ITensorStaticsNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITensorStaticsNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39d055a4_66f6_4ebc_95d9_7a29ebe7690a); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs index a394167e8a..2b51c8fe6d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs @@ -12,8 +12,8 @@ impl IAudioFrameNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IAudioFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl IVideoFrameNative_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -88,7 +88,7 @@ impl IVideoFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs index 18342d60d4..952ace827a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameNative(::windows_core::IUnknown); impl IAudioFrameNative { pub unsafe fn GetData(&self) -> ::windows_core::Result @@ -11,25 +12,9 @@ impl IAudioFrameNative { } } ::windows_core::imp::interface_hierarchy!(IAudioFrameNative, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAudioFrameNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioFrameNative {} -impl ::core::fmt::Debug for IAudioFrameNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioFrameNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioFrameNative { type Vtable = IAudioFrameNative_Vtbl; } -impl ::core::clone::Clone for IAudioFrameNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20be1e2e_930f_4746_9335_3c332f255093); } @@ -41,6 +26,7 @@ pub struct IAudioFrameNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioFrameNativeFactory(::windows_core::IUnknown); impl IAudioFrameNativeFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -56,25 +42,9 @@ impl IAudioFrameNativeFactory { } } ::windows_core::imp::interface_hierarchy!(IAudioFrameNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAudioFrameNativeFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioFrameNativeFactory {} -impl ::core::fmt::Debug for IAudioFrameNativeFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioFrameNativeFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioFrameNativeFactory { type Vtable = IAudioFrameNativeFactory_Vtbl; } -impl ::core::clone::Clone for IAudioFrameNativeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioFrameNativeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bd67cf8_bf7d_43e6_af8d_b170ee0c0110); } @@ -89,6 +59,7 @@ pub struct IAudioFrameNativeFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrameNative(::windows_core::IUnknown); impl IVideoFrameNative { pub unsafe fn GetData(&self) -> ::windows_core::Result @@ -107,25 +78,9 @@ impl IVideoFrameNative { } } ::windows_core::imp::interface_hierarchy!(IVideoFrameNative, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVideoFrameNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoFrameNative {} -impl ::core::fmt::Debug for IVideoFrameNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoFrameNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVideoFrameNative { type Vtable = IVideoFrameNative_Vtbl; } -impl ::core::clone::Clone for IVideoFrameNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrameNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26ba702b_314a_4620_aaf6_7a51aa58fa18); } @@ -138,6 +93,7 @@ pub struct IVideoFrameNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVideoFrameNativeFactory(::windows_core::IUnknown); impl IVideoFrameNativeFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`*"] @@ -154,25 +110,9 @@ impl IVideoFrameNativeFactory { } } ::windows_core::imp::interface_hierarchy!(IVideoFrameNativeFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IVideoFrameNativeFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVideoFrameNativeFactory {} -impl ::core::fmt::Debug for IVideoFrameNativeFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVideoFrameNativeFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVideoFrameNativeFactory { type Vtable = IVideoFrameNativeFactory_Vtbl; } -impl ::core::clone::Clone for IVideoFrameNativeFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVideoFrameNativeFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69e3693e_8e1e_4e63_ac4c_7fdc21d9731d); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs index 2ecc352f04..70b2920717 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs @@ -119,8 +119,8 @@ impl ICeeGen_Vtbl { ComputePointer: ComputePointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -137,8 +137,8 @@ impl IHostFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MarkToken: MarkToken:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IMapToken_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -239,8 +239,8 @@ impl IMetaDataAssemblyEmit_Vtbl { SetManifestResourceProps: SetManifestResourceProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -351,8 +351,8 @@ impl IMetaDataAssemblyImport_Vtbl { FindAssembliesByName: FindAssembliesByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IMetaDataDispenser_Vtbl { OpenScopeOnMemory: OpenScopeOnMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -469,8 +469,8 @@ impl IMetaDataDispenserEx_Vtbl { FindAssemblyModule: FindAssemblyModule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -843,8 +843,8 @@ impl IMetaDataEmit_Vtbl { MergeEnd: MergeEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -916,8 +916,8 @@ impl IMetaDataEmit2_Vtbl { ResetENCLog: ResetENCLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -934,8 +934,8 @@ impl IMetaDataError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IMetaDataFilter_Vtbl { IsTokenMarked: IsTokenMarked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IMetaDataImport_Vtbl { IsGlobal: IsGlobal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1544,8 +1544,8 @@ impl IMetaDataImport2_Vtbl { EnumMethodSpecs: EnumMethodSpecs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl IMetaDataInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFileMapping: GetFileMapping:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1709,8 +1709,8 @@ impl IMetaDataTables_Vtbl { GetNextUserString: GetNextUserString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1737,8 +1737,8 @@ impl IMetaDataTables2_Vtbl { GetMetaDataStreamInfo: GetMetaDataStreamInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1765,8 +1765,8 @@ impl IMetaDataValidate_Vtbl { ValidateMetaData: ValidateMetaData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1786,8 +1786,8 @@ impl IMetaDataWinMDImport_Vtbl { GetUntransformedTypeRefProps: GetUntransformedTypeRefProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs index 294aeef89c..e9b5018fad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs @@ -102,6 +102,7 @@ pub unsafe fn RoResolveNamespace(name: &::windows_core::HSTRING, windowsmetadata } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICeeGen(::windows_core::IUnknown); impl ICeeGen { pub unsafe fn EmitString(&self, lpstring: P0, rva: *mut u32) -> ::windows_core::Result<()> @@ -158,25 +159,9 @@ impl ICeeGen { } } ::windows_core::imp::interface_hierarchy!(ICeeGen, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICeeGen { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICeeGen {} -impl ::core::fmt::Debug for ICeeGen { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICeeGen").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICeeGen { type Vtable = ICeeGen_Vtbl; } -impl ::core::clone::Clone for ICeeGen { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICeeGen { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ed1bdff_8e36_11d2_9c56_00a0c9b7cc45); } @@ -202,6 +187,7 @@ pub struct ICeeGen_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHostFilter(::windows_core::IUnknown); impl IHostFilter { pub unsafe fn MarkToken(&self, tk: u32) -> ::windows_core::Result<()> { @@ -209,25 +195,9 @@ impl IHostFilter { } } ::windows_core::imp::interface_hierarchy!(IHostFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHostFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHostFilter {} -impl ::core::fmt::Debug for IHostFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHostFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHostFilter { type Vtable = IHostFilter_Vtbl; } -impl ::core::clone::Clone for IHostFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHostFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0e80dd3_12d4_11d3_b39d_00c04ff81795); } @@ -239,6 +209,7 @@ pub struct IHostFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapToken(::windows_core::IUnknown); impl IMapToken { pub unsafe fn Map(&self, tkimp: u32, tkemit: u32) -> ::windows_core::Result<()> { @@ -246,25 +217,9 @@ impl IMapToken { } } ::windows_core::imp::interface_hierarchy!(IMapToken, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMapToken { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMapToken {} -impl ::core::fmt::Debug for IMapToken { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapToken").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMapToken { type Vtable = IMapToken_Vtbl; } -impl ::core::clone::Clone for IMapToken { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapToken { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x06a3ea8b_0225_11d1_bf72_00c04fc31e12); } @@ -276,6 +231,7 @@ pub struct IMapToken_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataAssemblyEmit(::windows_core::IUnknown); impl IMetaDataAssemblyEmit { pub unsafe fn DefineAssembly(&self, pbpublickey: *const ::core::ffi::c_void, cbpublickey: u32, ulhashalgid: u32, szname: P0, pmetadata: *const ASSEMBLYMETADATA, dwassemblyflags: u32, pma: *mut u32) -> ::windows_core::Result<()> @@ -331,25 +287,9 @@ impl IMetaDataAssemblyEmit { } } ::windows_core::imp::interface_hierarchy!(IMetaDataAssemblyEmit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataAssemblyEmit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataAssemblyEmit {} -impl ::core::fmt::Debug for IMetaDataAssemblyEmit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataAssemblyEmit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataAssemblyEmit { type Vtable = IMetaDataAssemblyEmit_Vtbl; } -impl ::core::clone::Clone for IMetaDataAssemblyEmit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataAssemblyEmit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x211ef15b_5317_4438_b196_dec87b887693); } @@ -370,6 +310,7 @@ pub struct IMetaDataAssemblyEmit_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataAssemblyImport(::windows_core::IUnknown); impl IMetaDataAssemblyImport { pub unsafe fn GetAssemblyProps(&self, mda: u32, ppbpublickey: *const *const ::core::ffi::c_void, pcbpublickey: *mut u32, pulhashalgid: *mut u32, szname: ::core::option::Option<&mut [u16]>, pchname: *mut u32, pmetadata: *mut ASSEMBLYMETADATA, pdwassemblyflags: *mut u32) -> ::windows_core::Result<()> { @@ -427,25 +368,9 @@ impl IMetaDataAssemblyImport { } } ::windows_core::imp::interface_hierarchy!(IMetaDataAssemblyImport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataAssemblyImport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataAssemblyImport {} -impl ::core::fmt::Debug for IMetaDataAssemblyImport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataAssemblyImport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataAssemblyImport { type Vtable = IMetaDataAssemblyImport_Vtbl; } -impl ::core::clone::Clone for IMetaDataAssemblyImport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataAssemblyImport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee62470b_e94b_424e_9b7c_2f00c9249f93); } @@ -470,6 +395,7 @@ pub struct IMetaDataAssemblyImport_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataDispenser(::windows_core::IUnknown); impl IMetaDataDispenser { pub unsafe fn DefineScope(&self, rclsid: *const ::windows_core::GUID, dwcreateflags: u32, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -489,25 +415,9 @@ impl IMetaDataDispenser { } } ::windows_core::imp::interface_hierarchy!(IMetaDataDispenser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataDispenser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataDispenser {} -impl ::core::fmt::Debug for IMetaDataDispenser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataDispenser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataDispenser { type Vtable = IMetaDataDispenser_Vtbl; } -impl ::core::clone::Clone for IMetaDataDispenser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataDispenser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x809c652e_7396_11d2_9771_00a0c9b4d50c); } @@ -521,6 +431,7 @@ pub struct IMetaDataDispenser_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataDispenserEx(::windows_core::IUnknown); impl IMetaDataDispenserEx { pub unsafe fn DefineScope(&self, rclsid: *const ::windows_core::GUID, dwcreateflags: u32, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -582,25 +493,9 @@ impl IMetaDataDispenserEx { } } ::windows_core::imp::interface_hierarchy!(IMetaDataDispenserEx, ::windows_core::IUnknown, IMetaDataDispenser); -impl ::core::cmp::PartialEq for IMetaDataDispenserEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataDispenserEx {} -impl ::core::fmt::Debug for IMetaDataDispenserEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataDispenserEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataDispenserEx { type Vtable = IMetaDataDispenserEx_Vtbl; } -impl ::core::clone::Clone for IMetaDataDispenserEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataDispenserEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31bcfce2_dafb_11d2_9f81_00c04f79a0a3); } @@ -626,6 +521,7 @@ pub struct IMetaDataDispenserEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataEmit(::windows_core::IUnknown); impl IMetaDataEmit { pub unsafe fn SetModuleProps(&self, szname: P0) -> ::windows_core::Result<()> @@ -857,25 +753,9 @@ impl IMetaDataEmit { } } ::windows_core::imp::interface_hierarchy!(IMetaDataEmit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataEmit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataEmit {} -impl ::core::fmt::Debug for IMetaDataEmit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataEmit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataEmit { type Vtable = IMetaDataEmit_Vtbl; } -impl ::core::clone::Clone for IMetaDataEmit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataEmit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba3fee4c_ecb9_4e41_83b7_183fa41cd859); } @@ -938,6 +818,7 @@ pub struct IMetaDataEmit_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataEmit2(::windows_core::IUnknown); impl IMetaDataEmit2 { pub unsafe fn SetModuleProps(&self, szname: P0) -> ::windows_core::Result<()> @@ -1207,25 +1088,9 @@ impl IMetaDataEmit2 { } } ::windows_core::imp::interface_hierarchy!(IMetaDataEmit2, ::windows_core::IUnknown, IMetaDataEmit); -impl ::core::cmp::PartialEq for IMetaDataEmit2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataEmit2 {} -impl ::core::fmt::Debug for IMetaDataEmit2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataEmit2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataEmit2 { type Vtable = IMetaDataEmit2_Vtbl; } -impl ::core::clone::Clone for IMetaDataEmit2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataEmit2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5dd9950_f693_42e6_830e_7b833e8146a9); } @@ -1247,6 +1112,7 @@ pub struct IMetaDataEmit2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataError(::windows_core::IUnknown); impl IMetaDataError { pub unsafe fn OnError(&self, hrerror: ::windows_core::HRESULT, token: u32) -> ::windows_core::Result<()> { @@ -1254,25 +1120,9 @@ impl IMetaDataError { } } ::windows_core::imp::interface_hierarchy!(IMetaDataError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataError {} -impl ::core::fmt::Debug for IMetaDataError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataError { type Vtable = IMetaDataError_Vtbl; } -impl ::core::clone::Clone for IMetaDataError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb81ff171_20f3_11d2_8dcc_00a0c9b09c19); } @@ -1284,6 +1134,7 @@ pub struct IMetaDataError_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataFilter(::windows_core::IUnknown); impl IMetaDataFilter { pub unsafe fn UnmarkAll(&self) -> ::windows_core::Result<()> { @@ -1299,25 +1150,9 @@ impl IMetaDataFilter { } } ::windows_core::imp::interface_hierarchy!(IMetaDataFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataFilter {} -impl ::core::fmt::Debug for IMetaDataFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataFilter { type Vtable = IMetaDataFilter_Vtbl; } -impl ::core::clone::Clone for IMetaDataFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0e80dd1_12d4_11d3_b39d_00c04ff81795); } @@ -1334,6 +1169,7 @@ pub struct IMetaDataFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataImport(::windows_core::IUnknown); impl IMetaDataImport { pub unsafe fn CloseEnum(&self, henum: *mut ::core::ffi::c_void) { @@ -1562,25 +1398,9 @@ impl IMetaDataImport { } } ::windows_core::imp::interface_hierarchy!(IMetaDataImport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataImport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataImport {} -impl ::core::fmt::Debug for IMetaDataImport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataImport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataImport { type Vtable = IMetaDataImport_Vtbl; } -impl ::core::clone::Clone for IMetaDataImport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataImport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dac8207_d3ae_4c75_9b67_92801a497d44); } @@ -1656,6 +1476,7 @@ pub struct IMetaDataImport_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataImport2(::windows_core::IUnknown); impl IMetaDataImport2 { pub unsafe fn CloseEnum(&self, henum: *mut ::core::ffi::c_void) { @@ -1908,25 +1729,9 @@ impl IMetaDataImport2 { } } ::windows_core::imp::interface_hierarchy!(IMetaDataImport2, ::windows_core::IUnknown, IMetaDataImport); -impl ::core::cmp::PartialEq for IMetaDataImport2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataImport2 {} -impl ::core::fmt::Debug for IMetaDataImport2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataImport2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataImport2 { type Vtable = IMetaDataImport2_Vtbl; } -impl ::core::clone::Clone for IMetaDataImport2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataImport2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfce5efa0_8bba_4f8e_a036_8f2022b08466); } @@ -1945,6 +1750,7 @@ pub struct IMetaDataImport2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataInfo(::windows_core::IUnknown); impl IMetaDataInfo { pub unsafe fn GetFileMapping(&self, ppvdata: *const *const ::core::ffi::c_void, pcbdata: *mut u64, pdwmappingtype: *mut u32) -> ::windows_core::Result<()> { @@ -1952,25 +1758,9 @@ impl IMetaDataInfo { } } ::windows_core::imp::interface_hierarchy!(IMetaDataInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataInfo {} -impl ::core::fmt::Debug for IMetaDataInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataInfo { type Vtable = IMetaDataInfo_Vtbl; } -impl ::core::clone::Clone for IMetaDataInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7998ea64_7f95_48b8_86fc_17caf48bf5cb); } @@ -1982,6 +1772,7 @@ pub struct IMetaDataInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataTables(::windows_core::IUnknown); impl IMetaDataTables { pub unsafe fn GetStringHeapSize(&self, pcbstrings: *mut u32) -> ::windows_core::Result<()> { @@ -2043,25 +1834,9 @@ impl IMetaDataTables { } } ::windows_core::imp::interface_hierarchy!(IMetaDataTables, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataTables { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataTables {} -impl ::core::fmt::Debug for IMetaDataTables { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataTables").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataTables { type Vtable = IMetaDataTables_Vtbl; } -impl ::core::clone::Clone for IMetaDataTables { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataTables { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8f579ab_402d_4b8e_82d9_5d63b1065c68); } @@ -2091,6 +1866,7 @@ pub struct IMetaDataTables_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataTables2(::windows_core::IUnknown); impl IMetaDataTables2 { pub unsafe fn GetStringHeapSize(&self, pcbstrings: *mut u32) -> ::windows_core::Result<()> { @@ -2158,25 +1934,9 @@ impl IMetaDataTables2 { } } ::windows_core::imp::interface_hierarchy!(IMetaDataTables2, ::windows_core::IUnknown, IMetaDataTables); -impl ::core::cmp::PartialEq for IMetaDataTables2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataTables2 {} -impl ::core::fmt::Debug for IMetaDataTables2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataTables2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataTables2 { type Vtable = IMetaDataTables2_Vtbl; } -impl ::core::clone::Clone for IMetaDataTables2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataTables2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbadb5f70_58da_43a9_a1c6_d74819f19b15); } @@ -2189,6 +1949,7 @@ pub struct IMetaDataTables2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataValidate(::windows_core::IUnknown); impl IMetaDataValidate { pub unsafe fn ValidatorInit(&self, dwmoduletype: u32, punk: P0) -> ::windows_core::Result<()> @@ -2202,25 +1963,9 @@ impl IMetaDataValidate { } } ::windows_core::imp::interface_hierarchy!(IMetaDataValidate, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataValidate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataValidate {} -impl ::core::fmt::Debug for IMetaDataValidate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataValidate").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataValidate { type Vtable = IMetaDataValidate_Vtbl; } -impl ::core::clone::Clone for IMetaDataValidate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataValidate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4709c9c6_81ff_11d3_9fc7_00c04f79a0a3); } @@ -2233,6 +1978,7 @@ pub struct IMetaDataValidate_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMetaDataWinMDImport(::windows_core::IUnknown); impl IMetaDataWinMDImport { pub unsafe fn GetUntransformedTypeRefProps(&self, tr: u32, ptkresolutionscope: *mut u32, szname: ::core::option::Option<&mut [u16]>, pchname: *mut u32) -> ::windows_core::Result<()> { @@ -2240,25 +1986,9 @@ impl IMetaDataWinMDImport { } } ::windows_core::imp::interface_hierarchy!(IMetaDataWinMDImport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMetaDataWinMDImport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMetaDataWinMDImport {} -impl ::core::fmt::Debug for IMetaDataWinMDImport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMetaDataWinMDImport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMetaDataWinMDImport { type Vtable = IMetaDataWinMDImport_Vtbl; } -impl ::core::clone::Clone for IMetaDataWinMDImport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMetaDataWinMDImport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x969ea0c5_964e_411b_a807_b0f3c2dfcbd4); } @@ -2270,6 +2000,7 @@ pub struct IMetaDataWinMDImport_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRoMetaDataLocator(::std::ptr::NonNull<::std::ffi::c_void>); impl IRoMetaDataLocator { pub unsafe fn Locate(&self, nameelement: P0, metadatadestination: P1) -> ::windows_core::Result<()> @@ -2280,25 +2011,9 @@ impl IRoMetaDataLocator { (::windows_core::Interface::vtable(self).Locate)(::windows_core::Interface::as_raw(self), nameelement.into_param().abi(), metadatadestination.into_param().abi()).ok() } } -impl ::core::cmp::PartialEq for IRoMetaDataLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRoMetaDataLocator {} -impl ::core::fmt::Debug for IRoMetaDataLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRoMetaDataLocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRoMetaDataLocator { type Vtable = IRoMetaDataLocator_Vtbl; } -impl ::core::clone::Clone for IRoMetaDataLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IRoMetaDataLocator_Vtbl { @@ -2306,6 +2021,7 @@ pub struct IRoMetaDataLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRoSimpleMetaDataBuilder(::std::ptr::NonNull<::std::ffi::c_void>); impl IRoSimpleMetaDataBuilder { pub unsafe fn SetWinRtInterface(&self, iid: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -2360,25 +2076,9 @@ impl IRoSimpleMetaDataBuilder { (::windows_core::Interface::vtable(self).SetParameterizedDelegate)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(piid), numargs).ok() } } -impl ::core::cmp::PartialEq for IRoSimpleMetaDataBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRoSimpleMetaDataBuilder {} -impl ::core::fmt::Debug for IRoSimpleMetaDataBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRoSimpleMetaDataBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRoSimpleMetaDataBuilder { type Vtable = IRoSimpleMetaDataBuilder_Vtbl; } -impl ::core::clone::Clone for IRoSimpleMetaDataBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} #[repr(C)] #[doc(hidden)] pub struct IRoSimpleMetaDataBuilder_Vtbl { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs index e9c8260a94..98fea6d0cf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs @@ -25,7 +25,7 @@ impl IPdfRendererNative_Vtbl { RenderPageToDeviceContext: RenderPageToDeviceContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs index 410fd8fe8a..9490ccc431 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs @@ -11,6 +11,7 @@ where } #[doc = "*Required features: `\"Win32_System_WinRT_Pdf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPdfRendererNative(::windows_core::IUnknown); impl IPdfRendererNative { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi\"`*"] @@ -33,25 +34,9 @@ impl IPdfRendererNative { } } ::windows_core::imp::interface_hierarchy!(IPdfRendererNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPdfRendererNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPdfRendererNative {} -impl ::core::fmt::Debug for IPdfRendererNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPdfRendererNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPdfRendererNative { type Vtable = IPdfRendererNative_Vtbl; } -impl ::core::clone::Clone for IPdfRendererNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPdfRendererNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d9dcd91_d277_4947_8527_07a0daeda94a); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs index 459b676ca2..176bba8364 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs @@ -25,8 +25,8 @@ impl IPrintManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IPrintWorkflowConfigurationNative_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { ObjectFactory: ObjectFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DocumentPackageTarget: DocumentPackageTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IPrintWorkflowXpsReceiver_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl IPrintWorkflowXpsReceiver2_Vtbl { } Self { base__: IPrintWorkflowXpsReceiver_Vtbl::new::(), Failed: Failed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -249,7 +249,7 @@ impl IPrinting3DManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs index 975b3cf406..6c4e13b125 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintManagerInterop(::windows_core::IUnknown); impl IPrintManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24,25 +25,9 @@ impl IPrintManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IPrintManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrintManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintManagerInterop {} -impl ::core::fmt::Debug for IPrintManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintManagerInterop { type Vtable = IPrintManagerInterop_Vtbl; } -impl ::core::clone::Clone for IPrintManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5435a42_8d43_4e7b_a68a_ef311e392087); } @@ -61,6 +46,7 @@ pub struct IPrintManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowConfigurationNative(::windows_core::IUnknown); impl IPrintWorkflowConfigurationNative { #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`*"] @@ -83,25 +69,9 @@ impl IPrintWorkflowConfigurationNative { } } ::windows_core::imp::interface_hierarchy!(IPrintWorkflowConfigurationNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWorkflowConfigurationNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWorkflowConfigurationNative {} -impl ::core::fmt::Debug for IPrintWorkflowConfigurationNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWorkflowConfigurationNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWorkflowConfigurationNative { type Vtable = IPrintWorkflowConfigurationNative_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowConfigurationNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowConfigurationNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc056be0a_9ee2_450a_9823_964f0006f2bb); } @@ -124,6 +94,7 @@ pub struct IPrintWorkflowConfigurationNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowObjectModelSourceFileContentNative(::windows_core::IUnknown); impl IPrintWorkflowObjectModelSourceFileContentNative { pub unsafe fn StartXpsOMGeneration(&self, receiver: P0) -> ::windows_core::Result<()> @@ -140,25 +111,9 @@ impl IPrintWorkflowObjectModelSourceFileContentNative { } } ::windows_core::imp::interface_hierarchy!(IPrintWorkflowObjectModelSourceFileContentNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWorkflowObjectModelSourceFileContentNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWorkflowObjectModelSourceFileContentNative {} -impl ::core::fmt::Debug for IPrintWorkflowObjectModelSourceFileContentNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWorkflowObjectModelSourceFileContentNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWorkflowObjectModelSourceFileContentNative { type Vtable = IPrintWorkflowObjectModelSourceFileContentNative_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowObjectModelSourceFileContentNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowObjectModelSourceFileContentNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68c9e477_993e_4052_8ac6_454eff58db9d); } @@ -174,6 +129,7 @@ pub struct IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowXpsObjectModelTargetPackageNative(::windows_core::IUnknown); impl IPrintWorkflowXpsObjectModelTargetPackageNative { #[doc = "*Required features: `\"Win32_Storage_Xps\"`*"] @@ -184,25 +140,9 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative { } } ::windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsObjectModelTargetPackageNative, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWorkflowXpsObjectModelTargetPackageNative { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWorkflowXpsObjectModelTargetPackageNative {} -impl ::core::fmt::Debug for IPrintWorkflowXpsObjectModelTargetPackageNative { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWorkflowXpsObjectModelTargetPackageNative").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWorkflowXpsObjectModelTargetPackageNative { type Vtable = IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowXpsObjectModelTargetPackageNative { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowXpsObjectModelTargetPackageNative { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); } @@ -217,6 +157,7 @@ pub struct IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowXpsReceiver(::windows_core::IUnknown); impl IPrintWorkflowXpsReceiver { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -256,25 +197,9 @@ impl IPrintWorkflowXpsReceiver { } } ::windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintWorkflowXpsReceiver { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWorkflowXpsReceiver {} -impl ::core::fmt::Debug for IPrintWorkflowXpsReceiver { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWorkflowXpsReceiver").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWorkflowXpsReceiver { type Vtable = IPrintWorkflowXpsReceiver_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowXpsReceiver { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowXpsReceiver { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04097374_77b8_47f6_8167_aae29d4cf84b); } @@ -299,6 +224,7 @@ pub struct IPrintWorkflowXpsReceiver_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintWorkflowXpsReceiver2(::windows_core::IUnknown); impl IPrintWorkflowXpsReceiver2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -341,25 +267,9 @@ impl IPrintWorkflowXpsReceiver2 { } } ::windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver2, ::windows_core::IUnknown, IPrintWorkflowXpsReceiver); -impl ::core::cmp::PartialEq for IPrintWorkflowXpsReceiver2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintWorkflowXpsReceiver2 {} -impl ::core::fmt::Debug for IPrintWorkflowXpsReceiver2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintWorkflowXpsReceiver2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintWorkflowXpsReceiver2 { type Vtable = IPrintWorkflowXpsReceiver2_Vtbl; } -impl ::core::clone::Clone for IPrintWorkflowXpsReceiver2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintWorkflowXpsReceiver2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x023bcc0c_dfab_4a61_b074_490c6995580d); } @@ -371,6 +281,7 @@ pub struct IPrintWorkflowXpsReceiver2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrinting3DManagerInterop(::windows_core::IUnknown); impl IPrinting3DManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -395,25 +306,9 @@ impl IPrinting3DManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IPrinting3DManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPrinting3DManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrinting3DManagerInterop {} -impl ::core::fmt::Debug for IPrinting3DManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrinting3DManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrinting3DManagerInterop { type Vtable = IPrinting3DManagerInterop_Vtbl; } -impl ::core::clone::Clone for IPrinting3DManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrinting3DManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ca31010_1484_4587_b26b_dddf9f9caecd); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs index bf03ff360e..b6a5918580 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs @@ -15,7 +15,7 @@ impl IDDEInitializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs index b8062c8d4c..1d91fdf427 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDDEInitializer(::windows_core::IUnknown); impl IDDEInitializer { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -19,25 +20,9 @@ impl IDDEInitializer { } } ::windows_core::imp::interface_hierarchy!(IDDEInitializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDDEInitializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDDEInitializer {} -impl ::core::fmt::Debug for IDDEInitializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDDEInitializer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDDEInitializer { type Vtable = IDDEInitializer_Vtbl; } -impl ::core::clone::Clone for IDDEInitializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDDEInitializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30dc931f_33fc_4ffd_a168_942258cf3ca4); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs index c977a83f78..1ef6ab4cca 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs @@ -12,8 +12,8 @@ impl IOplockBreakingHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OplockBreaking: OplockBreaking:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IRandomAccessStreamFileAccessMode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMode: GetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IStorageFolderHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IStorageItemHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -108,8 +108,8 @@ impl IUnbufferedFileHandleOplockCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBrokenCallback: OnBrokenCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -142,7 +142,7 @@ impl IUnbufferedFileHandleProvider_Vtbl { CloseUnbufferedFileHandle: CloseUnbufferedFileHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs index bdd98234da..a92378438d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOplockBreakingHandler(::windows_core::IUnknown); impl IOplockBreakingHandler { pub unsafe fn OplockBreaking(&self) -> ::windows_core::Result<()> { @@ -7,25 +8,9 @@ impl IOplockBreakingHandler { } } ::windows_core::imp::interface_hierarchy!(IOplockBreakingHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOplockBreakingHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOplockBreakingHandler {} -impl ::core::fmt::Debug for IOplockBreakingHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOplockBreakingHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOplockBreakingHandler { type Vtable = IOplockBreakingHandler_Vtbl; } -impl ::core::clone::Clone for IOplockBreakingHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOplockBreakingHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x826abe3d_3acd_47d3_84f2_88aaedcf6304); } @@ -37,6 +22,7 @@ pub struct IOplockBreakingHandler_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRandomAccessStreamFileAccessMode(::windows_core::IUnknown); impl IRandomAccessStreamFileAccessMode { pub unsafe fn GetMode(&self) -> ::windows_core::Result { @@ -45,25 +31,9 @@ impl IRandomAccessStreamFileAccessMode { } } ::windows_core::imp::interface_hierarchy!(IRandomAccessStreamFileAccessMode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRandomAccessStreamFileAccessMode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRandomAccessStreamFileAccessMode {} -impl ::core::fmt::Debug for IRandomAccessStreamFileAccessMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRandomAccessStreamFileAccessMode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRandomAccessStreamFileAccessMode { type Vtable = IRandomAccessStreamFileAccessMode_Vtbl; } -impl ::core::clone::Clone for IRandomAccessStreamFileAccessMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRandomAccessStreamFileAccessMode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x332e5848_2e15_458e_85c4_c911c0c3d6f4); } @@ -75,6 +45,7 @@ pub struct IRandomAccessStreamFileAccessMode_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageFolderHandleAccess(::windows_core::IUnknown); impl IStorageFolderHandleAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -89,25 +60,9 @@ impl IStorageFolderHandleAccess { } } ::windows_core::imp::interface_hierarchy!(IStorageFolderHandleAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageFolderHandleAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageFolderHandleAccess {} -impl ::core::fmt::Debug for IStorageFolderHandleAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageFolderHandleAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageFolderHandleAccess { type Vtable = IStorageFolderHandleAccess_Vtbl; } -impl ::core::clone::Clone for IStorageFolderHandleAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageFolderHandleAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf19938f_5462_48a0_be65_d2a3271a08d6); } @@ -122,6 +77,7 @@ pub struct IStorageFolderHandleAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageItemHandleAccess(::windows_core::IUnknown); impl IStorageItemHandleAccess { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -135,25 +91,9 @@ impl IStorageItemHandleAccess { } } ::windows_core::imp::interface_hierarchy!(IStorageItemHandleAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageItemHandleAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageItemHandleAccess {} -impl ::core::fmt::Debug for IStorageItemHandleAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageItemHandleAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageItemHandleAccess { type Vtable = IStorageItemHandleAccess_Vtbl; } -impl ::core::clone::Clone for IStorageItemHandleAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageItemHandleAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ca296b2_2c25_4d22_b785_b885c8201e6a); } @@ -168,6 +108,7 @@ pub struct IStorageItemHandleAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnbufferedFileHandleOplockCallback(::windows_core::IUnknown); impl IUnbufferedFileHandleOplockCallback { pub unsafe fn OnBrokenCallback(&self) -> ::windows_core::Result<()> { @@ -175,25 +116,9 @@ impl IUnbufferedFileHandleOplockCallback { } } ::windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleOplockCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUnbufferedFileHandleOplockCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUnbufferedFileHandleOplockCallback {} -impl ::core::fmt::Debug for IUnbufferedFileHandleOplockCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUnbufferedFileHandleOplockCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUnbufferedFileHandleOplockCallback { type Vtable = IUnbufferedFileHandleOplockCallback_Vtbl; } -impl ::core::clone::Clone for IUnbufferedFileHandleOplockCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnbufferedFileHandleOplockCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1019a0e_6243_4329_8497_2e75894d7710); } @@ -205,6 +130,7 @@ pub struct IUnbufferedFileHandleOplockCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnbufferedFileHandleProvider(::windows_core::IUnknown); impl IUnbufferedFileHandleProvider { pub unsafe fn OpenUnbufferedFileHandle(&self, oplockbreakcallback: P0) -> ::windows_core::Result @@ -219,25 +145,9 @@ impl IUnbufferedFileHandleProvider { } } ::windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUnbufferedFileHandleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUnbufferedFileHandleProvider {} -impl ::core::fmt::Debug for IUnbufferedFileHandleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUnbufferedFileHandleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUnbufferedFileHandleProvider { type Vtable = IUnbufferedFileHandleProvider_Vtbl; } -impl ::core::clone::Clone for IUnbufferedFileHandleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnbufferedFileHandleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa65c9109_42ab_4b94_a7b1_dd2e4e68515e); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs index 8a9feabf13..49765d7621 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs @@ -32,8 +32,8 @@ impl IAccountsSettingsPaneInterop_Vtbl { ShowAddAccountForWindowAsync: ShowAddAccountForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -59,8 +59,8 @@ impl IActivationFactory_Vtbl { ActivateInstance: ActivateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl IAgileReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IApartmentShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUninitialize: OnUninitialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IAppServiceConnectionExtendedExecution_Vtbl { OpenForExtendedExecutionAsync: OpenForExtendedExecutionAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl IBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Buffer: Buffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl ICastingController_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl ICastingEventHandler_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl ICastingSourceInfo_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl ICoreInputInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -406,8 +406,8 @@ impl ICoreWindowAdapterInterop_Vtbl { SetWindowClientAdapter: SetWindowClientAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl ICoreWindowComponentInterop_Vtbl { GetViewInstanceId: GetViewInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -480,8 +480,8 @@ impl ICoreWindowInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl ICorrelationVectorInformation_Vtbl { SetNextCorrelationVectorForThread: SetNextCorrelationVectorForThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -551,8 +551,8 @@ impl ICorrelationVectorSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CorrelationVector: CorrelationVector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -575,8 +575,8 @@ impl IDragDropManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -599,8 +599,8 @@ impl IHolographicSpaceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IInputPaneInterop_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -644,8 +644,8 @@ impl ILanguageExceptionErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLanguageException: GetLanguageException:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl ILanguageExceptionErrorInfo2_Vtbl { GetPropagationContextHead: GetPropagationContextHead::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl ILanguageExceptionStackBackTrace_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStackBackTrace: GetStackBackTrace:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -736,8 +736,8 @@ impl ILanguageExceptionTransform_Vtbl { GetTransformedRestrictedErrorInfo: GetTransformedRestrictedErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IMemoryBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IMessageDispatcher_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), PumpMessages: PumpMessages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl IPlayToManagerInterop_Vtbl { ShowPlayToUIForWindow: ShowPlayToUIForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IRestrictedErrorInfo_Vtbl { GetReference: GetReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl IShareWindowCommandEventArgsInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -885,8 +885,8 @@ impl IShareWindowCommandSourceInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl ISpatialInteractionManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl ISystemMediaTransportControlsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IUIViewSettingsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -981,8 +981,8 @@ impl IUserActivityInterop_Vtbl { CreateSessionForWindow: CreateSessionForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1005,8 +1005,8 @@ impl IUserActivityRequestManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IUserActivitySourceHostInterop_Vtbl { SetActivitySourceHost: SetActivitySourceHost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1050,8 +1050,8 @@ impl IUserConsentVerifierInterop_Vtbl { RequestVerificationForWindowAsync: RequestVerificationForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl IWeakReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1092,8 +1092,8 @@ impl IWeakReferenceSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWeakReference: GetWeakReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1123,7 +1123,7 @@ impl IWebAuthenticationCoreManagerInterop_Vtbl { RequestTokenWithWebAccountForWindowAsync: RequestTokenWithWebAccountForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs index 30956a1576..127ddc4448 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -525,6 +525,7 @@ pub unsafe fn WindowsTrimStringStart(string: &::windows_core::HSTRING, trimstrin } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccountsSettingsPaneInterop(::windows_core::IUnknown); impl IAccountsSettingsPaneInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -559,25 +560,9 @@ impl IAccountsSettingsPaneInterop { } } ::windows_core::imp::interface_hierarchy!(IAccountsSettingsPaneInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IAccountsSettingsPaneInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccountsSettingsPaneInterop {} -impl ::core::fmt::Debug for IAccountsSettingsPaneInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccountsSettingsPaneInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccountsSettingsPaneInterop { type Vtable = IAccountsSettingsPaneInterop_Vtbl; } -impl ::core::clone::Clone for IAccountsSettingsPaneInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccountsSettingsPaneInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3ee12ad_3865_4362_9746_b75a682df0e6); } @@ -600,6 +585,7 @@ pub struct IAccountsSettingsPaneInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActivationFactory(::windows_core::IUnknown); impl IActivationFactory { pub unsafe fn ActivateInstance(&self) -> ::windows_core::Result<::windows_core::IInspectable> { @@ -608,25 +594,9 @@ impl IActivationFactory { } } ::windows_core::imp::interface_hierarchy!(IActivationFactory, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IActivationFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActivationFactory {} -impl ::core::fmt::Debug for IActivationFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActivationFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActivationFactory { type Vtable = IActivationFactory_Vtbl; } -impl ::core::clone::Clone for IActivationFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActivationFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000035_0000_0000_c000_000000000046); } @@ -638,6 +608,7 @@ pub struct IActivationFactory_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAgileReference(::windows_core::IUnknown); impl IAgileReference { pub unsafe fn Resolve(&self) -> ::windows_core::Result @@ -649,25 +620,9 @@ impl IAgileReference { } } ::windows_core::imp::interface_hierarchy!(IAgileReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAgileReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAgileReference {} -impl ::core::fmt::Debug for IAgileReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAgileReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAgileReference { type Vtable = IAgileReference_Vtbl; } -impl ::core::clone::Clone for IAgileReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAgileReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); } @@ -679,6 +634,7 @@ pub struct IAgileReference_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApartmentShutdown(::windows_core::IUnknown); impl IApartmentShutdown { pub unsafe fn OnUninitialize(&self, ui64apartmentidentifier: u64) { @@ -686,25 +642,9 @@ impl IApartmentShutdown { } } ::windows_core::imp::interface_hierarchy!(IApartmentShutdown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApartmentShutdown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApartmentShutdown {} -impl ::core::fmt::Debug for IApartmentShutdown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApartmentShutdown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApartmentShutdown { type Vtable = IApartmentShutdown_Vtbl; } -impl ::core::clone::Clone for IApartmentShutdown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApartmentShutdown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2f05a09_27a2_42b5_bc0e_ac163ef49d9b); } @@ -716,6 +656,7 @@ pub struct IApartmentShutdown_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppServiceConnectionExtendedExecution(::windows_core::IUnknown); impl IAppServiceConnectionExtendedExecution { pub unsafe fn OpenForExtendedExecutionAsync(&self) -> ::windows_core::Result @@ -727,25 +668,9 @@ impl IAppServiceConnectionExtendedExecution { } } ::windows_core::imp::interface_hierarchy!(IAppServiceConnectionExtendedExecution, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppServiceConnectionExtendedExecution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppServiceConnectionExtendedExecution {} -impl ::core::fmt::Debug for IAppServiceConnectionExtendedExecution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppServiceConnectionExtendedExecution").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppServiceConnectionExtendedExecution { type Vtable = IAppServiceConnectionExtendedExecution_Vtbl; } -impl ::core::clone::Clone for IAppServiceConnectionExtendedExecution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppServiceConnectionExtendedExecution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x65219584_f9cb_4ae3_81f9_a28a6ca450d9); } @@ -757,6 +682,7 @@ pub struct IAppServiceConnectionExtendedExecution_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBufferByteAccess(::windows_core::IUnknown); impl IBufferByteAccess { pub unsafe fn Buffer(&self) -> ::windows_core::Result<*mut u8> { @@ -765,25 +691,9 @@ impl IBufferByteAccess { } } ::windows_core::imp::interface_hierarchy!(IBufferByteAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBufferByteAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBufferByteAccess {} -impl ::core::fmt::Debug for IBufferByteAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBufferByteAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBufferByteAccess { type Vtable = IBufferByteAccess_Vtbl; } -impl ::core::clone::Clone for IBufferByteAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBufferByteAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x905a0fef_bc53_11df_8c49_001e4fc686da); } @@ -795,6 +705,7 @@ pub struct IBufferByteAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingController(::windows_core::IUnknown); impl ICastingController { pub unsafe fn Initialize(&self, castingengine: P0, castingsource: P1) -> ::windows_core::Result<()> @@ -822,25 +733,9 @@ impl ICastingController { } } ::windows_core::imp::interface_hierarchy!(ICastingController, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICastingController { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICastingController {} -impl ::core::fmt::Debug for ICastingController { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICastingController").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICastingController { type Vtable = ICastingController_Vtbl; } -impl ::core::clone::Clone for ICastingController { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingController { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0a56423_a664_4fbd_8b43_409a45e8d9a1); } @@ -856,6 +751,7 @@ pub struct ICastingController_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingEventHandler(::windows_core::IUnknown); impl ICastingEventHandler { pub unsafe fn OnStateChanged(&self, newstate: CASTING_CONNECTION_STATE) -> ::windows_core::Result<()> { @@ -869,25 +765,9 @@ impl ICastingEventHandler { } } ::windows_core::imp::interface_hierarchy!(ICastingEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICastingEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICastingEventHandler {} -impl ::core::fmt::Debug for ICastingEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICastingEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICastingEventHandler { type Vtable = ICastingEventHandler_Vtbl; } -impl ::core::clone::Clone for ICastingEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc79a6cb7_bebd_47a6_a2ad_4d45ad79c7bc); } @@ -900,6 +780,7 @@ pub struct ICastingEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICastingSourceInfo(::windows_core::IUnknown); impl ICastingSourceInfo { pub unsafe fn GetController(&self) -> ::windows_core::Result { @@ -914,25 +795,9 @@ impl ICastingSourceInfo { } } ::windows_core::imp::interface_hierarchy!(ICastingSourceInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICastingSourceInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICastingSourceInfo {} -impl ::core::fmt::Debug for ICastingSourceInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICastingSourceInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICastingSourceInfo { type Vtable = ICastingSourceInfo_Vtbl; } -impl ::core::clone::Clone for ICastingSourceInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICastingSourceInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45101ab7_7c3a_4bce_9500_12c09024b298); } @@ -948,6 +813,7 @@ pub struct ICastingSourceInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreInputInterop(::windows_core::IUnknown); impl ICoreInputInterop { pub unsafe fn SetInputSource(&self, value: P0) -> ::windows_core::Result<()> @@ -961,25 +827,9 @@ impl ICoreInputInterop { } } ::windows_core::imp::interface_hierarchy!(ICoreInputInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoreInputInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreInputInterop {} -impl ::core::fmt::Debug for ICoreInputInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreInputInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreInputInterop { type Vtable = ICoreInputInterop_Vtbl; } -impl ::core::clone::Clone for ICoreInputInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreInputInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40bfe3e3_b75a_4479_ac96_475365749bb8); } @@ -992,6 +842,7 @@ pub struct ICoreInputInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowAdapterInterop(::windows_core::IUnknown); impl ICoreWindowAdapterInterop { pub unsafe fn AppActivationClientAdapter(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1030,25 +881,9 @@ impl ICoreWindowAdapterInterop { } } ::windows_core::imp::interface_hierarchy!(ICoreWindowAdapterInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICoreWindowAdapterInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreWindowAdapterInterop {} -impl ::core::fmt::Debug for ICoreWindowAdapterInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreWindowAdapterInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreWindowAdapterInterop { type Vtable = ICoreWindowAdapterInterop_Vtbl; } -impl ::core::clone::Clone for ICoreWindowAdapterInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowAdapterInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a5b6fd1_cd73_4b6c_9cf4_2e869eaf470a); } @@ -1067,6 +902,7 @@ pub struct ICoreWindowAdapterInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowComponentInterop(::windows_core::IUnknown); impl ICoreWindowComponentInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1084,25 +920,9 @@ impl ICoreWindowComponentInterop { } } ::windows_core::imp::interface_hierarchy!(ICoreWindowComponentInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoreWindowComponentInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreWindowComponentInterop {} -impl ::core::fmt::Debug for ICoreWindowComponentInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreWindowComponentInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreWindowComponentInterop { type Vtable = ICoreWindowComponentInterop_Vtbl; } -impl ::core::clone::Clone for ICoreWindowComponentInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowComponentInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0576ab31_a310_4c40_ba31_fd37e0298dfa); } @@ -1118,6 +938,7 @@ pub struct ICoreWindowComponentInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreWindowInterop(::windows_core::IUnknown); impl ICoreWindowInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1131,25 +952,9 @@ impl ICoreWindowInterop { } } ::windows_core::imp::interface_hierarchy!(ICoreWindowInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoreWindowInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreWindowInterop {} -impl ::core::fmt::Debug for ICoreWindowInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreWindowInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreWindowInterop { type Vtable = ICoreWindowInterop_Vtbl; } -impl ::core::clone::Clone for ICoreWindowInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreWindowInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45d64a29_a63e_4cb6_b498_5781d298cb4f); } @@ -1165,6 +970,7 @@ pub struct ICoreWindowInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorrelationVectorInformation(::windows_core::IUnknown); impl ICorrelationVectorInformation { pub unsafe fn LastCorrelationVectorForThread(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1180,25 +986,9 @@ impl ICorrelationVectorInformation { } } ::windows_core::imp::interface_hierarchy!(ICorrelationVectorInformation, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ICorrelationVectorInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorrelationVectorInformation {} -impl ::core::fmt::Debug for ICorrelationVectorInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorrelationVectorInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorrelationVectorInformation { type Vtable = ICorrelationVectorInformation_Vtbl; } -impl ::core::clone::Clone for ICorrelationVectorInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorrelationVectorInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83c78b3c_d88b_4950_aa6e_22b8d22aabd3); } @@ -1212,6 +1002,7 @@ pub struct ICorrelationVectorInformation_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICorrelationVectorSource(::windows_core::IUnknown); impl ICorrelationVectorSource { pub unsafe fn CorrelationVector(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1220,25 +1011,9 @@ impl ICorrelationVectorSource { } } ::windows_core::imp::interface_hierarchy!(ICorrelationVectorSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICorrelationVectorSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICorrelationVectorSource {} -impl ::core::fmt::Debug for ICorrelationVectorSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICorrelationVectorSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICorrelationVectorSource { type Vtable = ICorrelationVectorSource_Vtbl; } -impl ::core::clone::Clone for ICorrelationVectorSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICorrelationVectorSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x152b8a3b_b9b9_4685_b56e_974847bc7545); } @@ -1250,6 +1025,7 @@ pub struct ICorrelationVectorSource_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDragDropManagerInterop(::windows_core::IUnknown); impl IDragDropManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1264,25 +1040,9 @@ impl IDragDropManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IDragDropManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IDragDropManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDragDropManagerInterop {} -impl ::core::fmt::Debug for IDragDropManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDragDropManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDragDropManagerInterop { type Vtable = IDragDropManagerInterop_Vtbl; } -impl ::core::clone::Clone for IDragDropManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDragDropManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ad8cba7_4c01_4dac_9074_827894292d63); } @@ -1297,6 +1057,7 @@ pub struct IDragDropManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHolographicSpaceInterop(::windows_core::IUnknown); impl IHolographicSpaceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1311,25 +1072,9 @@ impl IHolographicSpaceInterop { } } ::windows_core::imp::interface_hierarchy!(IHolographicSpaceInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IHolographicSpaceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHolographicSpaceInterop {} -impl ::core::fmt::Debug for IHolographicSpaceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHolographicSpaceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHolographicSpaceInterop { type Vtable = IHolographicSpaceInterop_Vtbl; } -impl ::core::clone::Clone for IHolographicSpaceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHolographicSpaceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c4ee536_6a98_4b86_a170_587013d6fd4b); } @@ -1344,6 +1089,7 @@ pub struct IHolographicSpaceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneInterop(::windows_core::IUnknown); impl IInputPaneInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1358,25 +1104,9 @@ impl IInputPaneInterop { } } ::windows_core::imp::interface_hierarchy!(IInputPaneInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IInputPaneInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputPaneInterop {} -impl ::core::fmt::Debug for IInputPaneInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputPaneInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputPaneInterop { type Vtable = IInputPaneInterop_Vtbl; } -impl ::core::clone::Clone for IInputPaneInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75cf2c57_9195_4931_8332_f0b409e916af); } @@ -1391,6 +1121,7 @@ pub struct IInputPaneInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionErrorInfo(::windows_core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1399,25 +1130,9 @@ impl ILanguageExceptionErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionErrorInfo {} -impl ::core::fmt::Debug for ILanguageExceptionErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionErrorInfo { type Vtable = ILanguageExceptionErrorInfo_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04a2dbf3_df83_116c_0946_0812abf6e07d); } @@ -1429,6 +1144,7 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionErrorInfo2(::windows_core::IUnknown); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetLanguageException(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1451,25 +1167,9 @@ impl ILanguageExceptionErrorInfo2 { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo2, ::windows_core::IUnknown, ILanguageExceptionErrorInfo); -impl ::core::cmp::PartialEq for ILanguageExceptionErrorInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionErrorInfo2 {} -impl ::core::fmt::Debug for ILanguageExceptionErrorInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionErrorInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionErrorInfo2 { type Vtable = ILanguageExceptionErrorInfo2_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionErrorInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionErrorInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5746e5c4_5b97_424c_b620_2822915734dd); } @@ -1483,6 +1183,7 @@ pub struct ILanguageExceptionErrorInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionStackBackTrace(::windows_core::IUnknown); impl ILanguageExceptionStackBackTrace { pub unsafe fn GetStackBackTrace(&self, maxframestocapture: u32, stackbacktrace: *mut usize, framescaptured: *mut u32) -> ::windows_core::Result<()> { @@ -1490,25 +1191,9 @@ impl ILanguageExceptionStackBackTrace { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionStackBackTrace, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILanguageExceptionStackBackTrace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionStackBackTrace {} -impl ::core::fmt::Debug for ILanguageExceptionStackBackTrace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionStackBackTrace").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionStackBackTrace { type Vtable = ILanguageExceptionStackBackTrace_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionStackBackTrace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionStackBackTrace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcbe53fb5_f967_4258_8d34_42f5e25833de); } @@ -1520,6 +1205,7 @@ pub struct ILanguageExceptionStackBackTrace_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILanguageExceptionTransform(::windows_core::IUnknown); impl ILanguageExceptionTransform { pub unsafe fn GetTransformedRestrictedErrorInfo(&self) -> ::windows_core::Result { @@ -1528,25 +1214,9 @@ impl ILanguageExceptionTransform { } } ::windows_core::imp::interface_hierarchy!(ILanguageExceptionTransform, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILanguageExceptionTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILanguageExceptionTransform {} -impl ::core::fmt::Debug for ILanguageExceptionTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILanguageExceptionTransform").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILanguageExceptionTransform { type Vtable = ILanguageExceptionTransform_Vtbl; } -impl ::core::clone::Clone for ILanguageExceptionTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILanguageExceptionTransform { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfeb5a271_a6cd_45ce_880a_696706badc65); } @@ -1558,6 +1228,7 @@ pub struct ILanguageExceptionTransform_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMemoryBufferByteAccess(::windows_core::IUnknown); impl IMemoryBufferByteAccess { pub unsafe fn GetBuffer(&self, value: *mut *mut u8, capacity: *mut u32) -> ::windows_core::Result<()> { @@ -1565,25 +1236,9 @@ impl IMemoryBufferByteAccess { } } ::windows_core::imp::interface_hierarchy!(IMemoryBufferByteAccess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMemoryBufferByteAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMemoryBufferByteAccess {} -impl ::core::fmt::Debug for IMemoryBufferByteAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMemoryBufferByteAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMemoryBufferByteAccess { type Vtable = IMemoryBufferByteAccess_Vtbl; } -impl ::core::clone::Clone for IMemoryBufferByteAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMemoryBufferByteAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b0d3235_4dba_4d44_865e_8f1d0e4fd04d); } @@ -1595,6 +1250,7 @@ pub struct IMemoryBufferByteAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMessageDispatcher(::windows_core::IUnknown); impl IMessageDispatcher { pub unsafe fn PumpMessages(&self) -> ::windows_core::Result<()> { @@ -1602,25 +1258,9 @@ impl IMessageDispatcher { } } ::windows_core::imp::interface_hierarchy!(IMessageDispatcher, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IMessageDispatcher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMessageDispatcher {} -impl ::core::fmt::Debug for IMessageDispatcher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMessageDispatcher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMessageDispatcher { type Vtable = IMessageDispatcher_Vtbl; } -impl ::core::clone::Clone for IMessageDispatcher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMessageDispatcher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5f84c8f_cfd0_4cd6_b66b_c5d26ff1689d); } @@ -1632,6 +1272,7 @@ pub struct IMessageDispatcher_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPlayToManagerInterop(::windows_core::IUnknown); impl IPlayToManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1654,25 +1295,9 @@ impl IPlayToManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IPlayToManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IPlayToManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPlayToManagerInterop {} -impl ::core::fmt::Debug for IPlayToManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPlayToManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPlayToManagerInterop { type Vtable = IPlayToManagerInterop_Vtbl; } -impl ::core::clone::Clone for IPlayToManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPlayToManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24394699_1f2c_4eb3_8cd7_0ec1da42a540); } @@ -1691,6 +1316,7 @@ pub struct IPlayToManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRestrictedErrorInfo(::windows_core::IUnknown); impl IRestrictedErrorInfo { pub unsafe fn GetErrorDetails(&self, description: *mut ::windows_core::BSTR, error: *mut ::windows_core::HRESULT, restricteddescription: *mut ::windows_core::BSTR, capabilitysid: *mut ::windows_core::BSTR) -> ::windows_core::Result<()> { @@ -1702,27 +1328,11 @@ impl IRestrictedErrorInfo { } } ::windows_core::imp::interface_hierarchy!(IRestrictedErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRestrictedErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRestrictedErrorInfo {} -impl ::core::fmt::Debug for IRestrictedErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRestrictedErrorInfo").field(&self.0).finish() - } -} unsafe impl ::core::marker::Send for IRestrictedErrorInfo {} unsafe impl ::core::marker::Sync for IRestrictedErrorInfo {} unsafe impl ::windows_core::Interface for IRestrictedErrorInfo { type Vtable = IRestrictedErrorInfo_Vtbl; } -impl ::core::clone::Clone for IRestrictedErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRestrictedErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82ba7092_4c88_427d_a7bc_16dd93feb67e); } @@ -1735,6 +1345,7 @@ pub struct IRestrictedErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareWindowCommandEventArgsInterop(::windows_core::IUnknown); impl IShareWindowCommandEventArgsInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1745,25 +1356,9 @@ impl IShareWindowCommandEventArgsInterop { } } ::windows_core::imp::interface_hierarchy!(IShareWindowCommandEventArgsInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShareWindowCommandEventArgsInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShareWindowCommandEventArgsInterop {} -impl ::core::fmt::Debug for IShareWindowCommandEventArgsInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShareWindowCommandEventArgsInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShareWindowCommandEventArgsInterop { type Vtable = IShareWindowCommandEventArgsInterop_Vtbl; } -impl ::core::clone::Clone for IShareWindowCommandEventArgsInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareWindowCommandEventArgsInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6571a721_643d_43d4_aca4_6b6f5f30f1ad); } @@ -1778,6 +1373,7 @@ pub struct IShareWindowCommandEventArgsInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShareWindowCommandSourceInterop(::windows_core::IUnknown); impl IShareWindowCommandSourceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1792,25 +1388,9 @@ impl IShareWindowCommandSourceInterop { } } ::windows_core::imp::interface_hierarchy!(IShareWindowCommandSourceInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShareWindowCommandSourceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShareWindowCommandSourceInterop {} -impl ::core::fmt::Debug for IShareWindowCommandSourceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShareWindowCommandSourceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShareWindowCommandSourceInterop { type Vtable = IShareWindowCommandSourceInterop_Vtbl; } -impl ::core::clone::Clone for IShareWindowCommandSourceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShareWindowCommandSourceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x461a191f_8424_43a6_a0fa_3451a22f56ab); } @@ -1825,6 +1405,7 @@ pub struct IShareWindowCommandSourceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpatialInteractionManagerInterop(::windows_core::IUnknown); impl ISpatialInteractionManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1839,25 +1420,9 @@ impl ISpatialInteractionManagerInterop { } } ::windows_core::imp::interface_hierarchy!(ISpatialInteractionManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISpatialInteractionManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpatialInteractionManagerInterop {} -impl ::core::fmt::Debug for ISpatialInteractionManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpatialInteractionManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpatialInteractionManagerInterop { type Vtable = ISpatialInteractionManagerInterop_Vtbl; } -impl ::core::clone::Clone for ISpatialInteractionManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpatialInteractionManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c4ee536_6a98_4b86_a170_587013d6fd4b); } @@ -1872,6 +1437,7 @@ pub struct ISpatialInteractionManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISystemMediaTransportControlsInterop(::windows_core::IUnknown); impl ISystemMediaTransportControlsInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1886,25 +1452,9 @@ impl ISystemMediaTransportControlsInterop { } } ::windows_core::imp::interface_hierarchy!(ISystemMediaTransportControlsInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for ISystemMediaTransportControlsInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISystemMediaTransportControlsInterop {} -impl ::core::fmt::Debug for ISystemMediaTransportControlsInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISystemMediaTransportControlsInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISystemMediaTransportControlsInterop { type Vtable = ISystemMediaTransportControlsInterop_Vtbl; } -impl ::core::clone::Clone for ISystemMediaTransportControlsInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISystemMediaTransportControlsInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddb0472d_c911_4a1f_86d9_dc3d71a95f5a); } @@ -1919,6 +1469,7 @@ pub struct ISystemMediaTransportControlsInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIViewSettingsInterop(::windows_core::IUnknown); impl IUIViewSettingsInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1933,25 +1484,9 @@ impl IUIViewSettingsInterop { } } ::windows_core::imp::interface_hierarchy!(IUIViewSettingsInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUIViewSettingsInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIViewSettingsInterop {} -impl ::core::fmt::Debug for IUIViewSettingsInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIViewSettingsInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIViewSettingsInterop { type Vtable = IUIViewSettingsInterop_Vtbl; } -impl ::core::clone::Clone for IUIViewSettingsInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIViewSettingsInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3694dbf9_8f68_44be_8ff5_195c98ede8a6); } @@ -1966,6 +1501,7 @@ pub struct IUIViewSettingsInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityInterop(::windows_core::IUnknown); impl IUserActivityInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1980,25 +1516,9 @@ impl IUserActivityInterop { } } ::windows_core::imp::interface_hierarchy!(IUserActivityInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserActivityInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserActivityInterop {} -impl ::core::fmt::Debug for IUserActivityInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserActivityInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserActivityInterop { type Vtable = IUserActivityInterop_Vtbl; } -impl ::core::clone::Clone for IUserActivityInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ade314d_0e0a_40d9_824c_9a088a50059f); } @@ -2013,6 +1533,7 @@ pub struct IUserActivityInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivityRequestManagerInterop(::windows_core::IUnknown); impl IUserActivityRequestManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2027,25 +1548,9 @@ impl IUserActivityRequestManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IUserActivityRequestManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserActivityRequestManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserActivityRequestManagerInterop {} -impl ::core::fmt::Debug for IUserActivityRequestManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserActivityRequestManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserActivityRequestManagerInterop { type Vtable = IUserActivityRequestManagerInterop_Vtbl; } -impl ::core::clone::Clone for IUserActivityRequestManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivityRequestManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd69f876_9699_4715_9095_e37ea30dfa1b); } @@ -2060,6 +1565,7 @@ pub struct IUserActivityRequestManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserActivitySourceHostInterop(::windows_core::IUnknown); impl IUserActivitySourceHostInterop { pub unsafe fn SetActivitySourceHost(&self, activitysourcehost: &::windows_core::HSTRING) -> ::windows_core::Result<()> { @@ -2067,25 +1573,9 @@ impl IUserActivitySourceHostInterop { } } ::windows_core::imp::interface_hierarchy!(IUserActivitySourceHostInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserActivitySourceHostInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserActivitySourceHostInterop {} -impl ::core::fmt::Debug for IUserActivitySourceHostInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserActivitySourceHostInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserActivitySourceHostInterop { type Vtable = IUserActivitySourceHostInterop_Vtbl; } -impl ::core::clone::Clone for IUserActivitySourceHostInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserActivitySourceHostInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc15df8bc_8844_487a_b85b_7578e0f61419); } @@ -2097,6 +1587,7 @@ pub struct IUserActivitySourceHostInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserConsentVerifierInterop(::windows_core::IUnknown); impl IUserConsentVerifierInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2111,25 +1602,9 @@ impl IUserConsentVerifierInterop { } } ::windows_core::imp::interface_hierarchy!(IUserConsentVerifierInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IUserConsentVerifierInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserConsentVerifierInterop {} -impl ::core::fmt::Debug for IUserConsentVerifierInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserConsentVerifierInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserConsentVerifierInterop { type Vtable = IUserConsentVerifierInterop_Vtbl; } -impl ::core::clone::Clone for IUserConsentVerifierInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserConsentVerifierInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39e050c3_4e74_441a_8dc0_b81104df949c); } @@ -2144,6 +1619,7 @@ pub struct IUserConsentVerifierInterop_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWeakReference(::windows_core::IUnknown); impl IWeakReference { pub unsafe fn Resolve(&self) -> ::windows_core::Result @@ -2155,25 +1631,9 @@ impl IWeakReference { } } ::windows_core::imp::interface_hierarchy!(IWeakReference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWeakReference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWeakReference {} -impl ::core::fmt::Debug for IWeakReference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWeakReference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWeakReference { type Vtable = IWeakReference_Vtbl; } -impl ::core::clone::Clone for IWeakReference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWeakReference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000037_0000_0000_c000_000000000046); } @@ -2185,6 +1645,7 @@ pub struct IWeakReference_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWeakReferenceSource(::windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> ::windows_core::Result { @@ -2193,25 +1654,9 @@ impl IWeakReferenceSource { } } ::windows_core::imp::interface_hierarchy!(IWeakReferenceSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWeakReferenceSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWeakReferenceSource {} -impl ::core::fmt::Debug for IWeakReferenceSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWeakReferenceSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWeakReferenceSource { type Vtable = IWeakReferenceSource_Vtbl; } -impl ::core::clone::Clone for IWeakReferenceSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWeakReferenceSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000038_0000_0000_c000_000000000046); } @@ -2223,6 +1668,7 @@ pub struct IWeakReferenceSource_Vtbl { } #[doc = "*Required features: `\"Win32_System_WinRT\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebAuthenticationCoreManagerInterop(::windows_core::IUnknown); impl IWebAuthenticationCoreManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2250,25 +1696,9 @@ impl IWebAuthenticationCoreManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IWebAuthenticationCoreManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebAuthenticationCoreManagerInterop {} -impl ::core::fmt::Debug for IWebAuthenticationCoreManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebAuthenticationCoreManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebAuthenticationCoreManagerInterop { type Vtable = IWebAuthenticationCoreManagerInterop_Vtbl; } -impl ::core::clone::Clone for IWebAuthenticationCoreManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebAuthenticationCoreManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4b8e804_811e_4436_b69c_44cb67b72084); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs index 73d5ca2e3d..8a91ef1bb9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs @@ -85,8 +85,8 @@ impl ICameraUIControl_Vtbl { RemoveCapturedItem: RemoveCapturedItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl ICameraUIControlEventCallback_Vtbl { OnClosed: OnClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -152,8 +152,8 @@ impl IClipServiceNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowToast: ShowToast:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl IContainerActivationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanActivateClientVM: CanActivateClientVM:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IDefaultBrowserSyncSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEnabled: IsEnabled:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl IDeleteBrowsingHistory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeleteBrowsingHistory: DeleteBrowsingHistory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IEditionUpgradeBroker_Vtbl { CanUpgrade: CanUpgrade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -333,8 +333,8 @@ impl IEditionUpgradeHelper_Vtbl { GetGenuineLocalStatus: GetGenuineLocalStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -351,8 +351,8 @@ impl IFClipNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowSystemDialog: ShowSystemDialog:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -378,7 +378,7 @@ impl IWindowsLockModeHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSMode: GetSMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index 2a3e0cbfe4..beb07fe20e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -1251,19 +1251,19 @@ where #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlAnsiStringToUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlAnsiStringToUnicodeString(destinationstring: *mut super::super::Foundation::UNICODE_STRING, sourcestring: *mut super::Kernel::STRING, allocatedestinationstring: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlAnsiStringToUnicodeString(destinationstring : *mut super::super::Foundation:: UNICODE_STRING, sourcestring : *mut super::Kernel:: STRING, allocatedestinationstring : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: NTSTATUS); - RtlAnsiStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlAnsiStringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> ::windows_core::Result<()> { +pub unsafe fn RtlCharToInteger(string: *mut i8, base: u32, value: *mut u32) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlCharToInteger(string : *mut i8, base : u32, value : *mut u32) -> super::super::Foundation:: NTSTATUS); - RtlCharToInteger(string, base, value).ok() + RtlCharToInteger(string, base, value) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] @@ -1302,9 +1302,9 @@ pub unsafe fn RtlInitAnsiString(destinationstring: *mut super::Kernel::STRING, s #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows_core::Result<()> { +pub unsafe fn RtlInitAnsiStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlInitAnsiStringEx(destinationstring : *mut super::Kernel:: STRING, sourcestring : *mut i8) -> super::super::Foundation:: NTSTATUS); - RtlInitAnsiStringEx(destinationstring, sourcestring).ok() + RtlInitAnsiStringEx(destinationstring, sourcestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] @@ -1316,9 +1316,9 @@ pub unsafe fn RtlInitString(destinationstring: *mut super::Kernel::STRING, sourc #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> ::windows_core::Result<()> { +pub unsafe fn RtlInitStringEx(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut i8) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlInitStringEx(destinationstring : *mut super::Kernel:: STRING, sourcestring : *mut i8) -> super::super::Foundation:: NTSTATUS); - RtlInitStringEx(destinationstring, sourcestring).ok() + RtlInitStringEx(destinationstring, sourcestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -1340,9 +1340,9 @@ pub unsafe fn RtlIsNameLegalDOS8Dot3(name: *mut super::super::Foundation::UNICOD #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> ::windows_core::Result<()> { +pub unsafe fn RtlLocalTimeToSystemTime(localtime: *mut i64, systemtime: *mut i64) -> super::super::Foundation::NTSTATUS { ::windows_targets::link!("ntdll.dll" "system" fn RtlLocalTimeToSystemTime(localtime : *mut i64, systemtime : *mut i64) -> super::super::Foundation:: NTSTATUS); - RtlLocalTimeToSystemTime(localtime, systemtime).ok() + RtlLocalTimeToSystemTime(localtime, systemtime) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] @@ -1360,32 +1360,32 @@ pub unsafe fn RtlTimeToSecondsSince1970(time: *mut i64, elapsedseconds: *mut u32 #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUnicodeStringToAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeStringToAnsiString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToAnsiString(destinationstring : *mut super::Kernel:: STRING, sourcestring : *mut super::super::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: NTSTATUS); - RtlUnicodeStringToAnsiString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUnicodeStringToAnsiString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] #[inline] -pub unsafe fn RtlUnicodeStringToOemString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeStringToOemString(destinationstring: *mut super::Kernel::STRING, sourcestring: *mut super::super::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToOemString(destinationstring : *mut super::Kernel:: STRING, sourcestring : *mut super::super::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: NTSTATUS); - RtlUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok() + RtlUnicodeStringToOemString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, unicodestring: P0, bytesinunicodestring: u32) -> ::windows_core::Result<()> +pub unsafe fn RtlUnicodeToMultiByteSize(bytesinmultibytestring: *mut u32, unicodestring: P0, bytesinunicodestring: u32) -> super::super::Foundation::NTSTATUS where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToMultiByteSize(bytesinmultibytestring : *mut u32, unicodestring : ::windows_core::PCWSTR, bytesinunicodestring : u32) -> super::super::Foundation:: NTSTATUS); - RtlUnicodeToMultiByteSize(bytesinmultibytestring, unicodestring.into_param().abi(), bytesinunicodestring).ok() + RtlUnicodeToMultiByteSize(bytesinmultibytestring, unicodestring.into_param().abi(), bytesinunicodestring) } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] @@ -2031,6 +2031,7 @@ pub unsafe fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16 { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraUIControl(::windows_core::IUnknown); impl ICameraUIControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2076,25 +2077,9 @@ impl ICameraUIControl { } } ::windows_core::imp::interface_hierarchy!(ICameraUIControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICameraUIControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICameraUIControl {} -impl ::core::fmt::Debug for ICameraUIControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICameraUIControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICameraUIControl { type Vtable = ICameraUIControl_Vtbl; } -impl ::core::clone::Clone for ICameraUIControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraUIControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8733adf_3d68_4b8f_bb08_e28a0bed0376); } @@ -2122,6 +2107,7 @@ pub struct ICameraUIControl_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICameraUIControlEventCallback(::windows_core::IUnknown); impl ICameraUIControlEventCallback { pub unsafe fn OnStartupComplete(&self) { @@ -2147,25 +2133,9 @@ impl ICameraUIControlEventCallback { } } ::windows_core::imp::interface_hierarchy!(ICameraUIControlEventCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICameraUIControlEventCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICameraUIControlEventCallback {} -impl ::core::fmt::Debug for ICameraUIControlEventCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICameraUIControlEventCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICameraUIControlEventCallback { type Vtable = ICameraUIControlEventCallback_Vtbl; } -impl ::core::clone::Clone for ICameraUIControlEventCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICameraUIControlEventCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bfa0c2c_fbcd_4776_bda4_88bf974e74f4); } @@ -2181,6 +2151,7 @@ pub struct ICameraUIControlEventCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClipServiceNotificationHelper(::windows_core::IUnknown); impl IClipServiceNotificationHelper { pub unsafe fn ShowToast(&self, titletext: P0, bodytext: P1, packagename: P2, appid: P3, launchcommand: P4) -> ::windows_core::Result<()> @@ -2195,25 +2166,9 @@ impl IClipServiceNotificationHelper { } } ::windows_core::imp::interface_hierarchy!(IClipServiceNotificationHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClipServiceNotificationHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClipServiceNotificationHelper {} -impl ::core::fmt::Debug for IClipServiceNotificationHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClipServiceNotificationHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClipServiceNotificationHelper { type Vtable = IClipServiceNotificationHelper_Vtbl; } -impl ::core::clone::Clone for IClipServiceNotificationHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClipServiceNotificationHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc39948f0_6142_44fd_98ca_e1681a8d68b5); } @@ -2225,6 +2180,7 @@ pub struct IClipServiceNotificationHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContainerActivationHelper(::windows_core::IUnknown); impl IContainerActivationHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2235,25 +2191,9 @@ impl IContainerActivationHelper { } } ::windows_core::imp::interface_hierarchy!(IContainerActivationHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContainerActivationHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContainerActivationHelper {} -impl ::core::fmt::Debug for IContainerActivationHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContainerActivationHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContainerActivationHelper { type Vtable = IContainerActivationHelper_Vtbl; } -impl ::core::clone::Clone for IContainerActivationHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContainerActivationHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa); } @@ -2268,6 +2208,7 @@ pub struct IContainerActivationHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultBrowserSyncSettings(::windows_core::IUnknown); impl IDefaultBrowserSyncSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2277,25 +2218,9 @@ impl IDefaultBrowserSyncSettings { } } ::windows_core::imp::interface_hierarchy!(IDefaultBrowserSyncSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDefaultBrowserSyncSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDefaultBrowserSyncSettings {} -impl ::core::fmt::Debug for IDefaultBrowserSyncSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDefaultBrowserSyncSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDefaultBrowserSyncSettings { type Vtable = IDefaultBrowserSyncSettings_Vtbl; } -impl ::core::clone::Clone for IDefaultBrowserSyncSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultBrowserSyncSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a27faad_5ae6_4255_9030_c530936292e3); } @@ -2310,6 +2235,7 @@ pub struct IDefaultBrowserSyncSettings_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeleteBrowsingHistory(::windows_core::IUnknown); impl IDeleteBrowsingHistory { pub unsafe fn DeleteBrowsingHistory(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -2317,25 +2243,9 @@ impl IDeleteBrowsingHistory { } } ::windows_core::imp::interface_hierarchy!(IDeleteBrowsingHistory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeleteBrowsingHistory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeleteBrowsingHistory {} -impl ::core::fmt::Debug for IDeleteBrowsingHistory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeleteBrowsingHistory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeleteBrowsingHistory { type Vtable = IDeleteBrowsingHistory_Vtbl; } -impl ::core::clone::Clone for IDeleteBrowsingHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeleteBrowsingHistory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf38ed4b_2be7_4461_8b5e_9a466dc82ae3); } @@ -2347,6 +2257,7 @@ pub struct IDeleteBrowsingHistory_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEditionUpgradeBroker(::windows_core::IUnknown); impl IEditionUpgradeBroker { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -2371,25 +2282,9 @@ impl IEditionUpgradeBroker { } } ::windows_core::imp::interface_hierarchy!(IEditionUpgradeBroker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEditionUpgradeBroker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEditionUpgradeBroker {} -impl ::core::fmt::Debug for IEditionUpgradeBroker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEditionUpgradeBroker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEditionUpgradeBroker { type Vtable = IEditionUpgradeBroker_Vtbl; } -impl ::core::clone::Clone for IEditionUpgradeBroker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEditionUpgradeBroker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff19cbcf_9455_4937_b872_6b7929a460af); } @@ -2407,6 +2302,7 @@ pub struct IEditionUpgradeBroker_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEditionUpgradeHelper(::windows_core::IUnknown); impl IEditionUpgradeHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2436,25 +2332,9 @@ impl IEditionUpgradeHelper { } } ::windows_core::imp::interface_hierarchy!(IEditionUpgradeHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEditionUpgradeHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEditionUpgradeHelper {} -impl ::core::fmt::Debug for IEditionUpgradeHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEditionUpgradeHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEditionUpgradeHelper { type Vtable = IEditionUpgradeHelper_Vtbl; } -impl ::core::clone::Clone for IEditionUpgradeHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEditionUpgradeHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3e9e342_5deb_43b6_849e_6913b85d503a); } @@ -2476,6 +2356,7 @@ pub struct IEditionUpgradeHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFClipNotificationHelper(::windows_core::IUnknown); impl IFClipNotificationHelper { pub unsafe fn ShowSystemDialog(&self, titletext: P0, bodytext: P1) -> ::windows_core::Result<()> @@ -2487,25 +2368,9 @@ impl IFClipNotificationHelper { } } ::windows_core::imp::interface_hierarchy!(IFClipNotificationHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFClipNotificationHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFClipNotificationHelper {} -impl ::core::fmt::Debug for IFClipNotificationHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFClipNotificationHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFClipNotificationHelper { type Vtable = IFClipNotificationHelper_Vtbl; } -impl ::core::clone::Clone for IFClipNotificationHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFClipNotificationHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d5e3d21_bd41_4c2a_a669_b17ce87fb50b); } @@ -2517,6 +2382,7 @@ pub struct IFClipNotificationHelper_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowsLockModeHelper(::windows_core::IUnknown); impl IWindowsLockModeHelper { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2527,25 +2393,9 @@ impl IWindowsLockModeHelper { } } ::windows_core::imp::interface_hierarchy!(IWindowsLockModeHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWindowsLockModeHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowsLockModeHelper {} -impl ::core::fmt::Debug for IWindowsLockModeHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowsLockModeHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowsLockModeHelper { type Vtable = IWindowsLockModeHelper_Vtbl; } -impl ::core::clone::Clone for IWindowsLockModeHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowsLockModeHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf342d19e_cc22_4648_bb5d_03ccf75b47c5); } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs index 4749cf1938..c702532f54 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs @@ -39,8 +39,8 @@ impl IAsynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -133,8 +133,8 @@ impl IChangeConflict_Vtbl { SetResolveActionForChangeUnit: SetResolveActionForChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IChangeUnitException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl IChangeUnitListFilterInfo_Vtbl { GetChangeUnitId: GetChangeUnitId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IClockVector_Vtbl { GetClockVectorElementCount: GetClockVectorElementCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IClockVectorElement_Vtbl { GetTickCount: GetTickCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -300,8 +300,8 @@ impl ICombinedFilterInfo_Vtbl { GetFilterCombinationType: GetFilterCombinationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl IConstraintConflict_Vtbl { IsTemporary: IsTemporary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IConstructReplicaKeyMap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindOrAddReplica: FindOrAddReplica:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl ICoreFragment_Vtbl { GetRangeCount: GetRangeCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -529,8 +529,8 @@ impl ICoreFragmentInspector_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl ICustomFilterInfo_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetSyncFilter: GetSyncFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -581,8 +581,8 @@ impl IDataRetrieverCallback_Vtbl { LoadChangeDataError: LoadChangeDataError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -629,8 +629,8 @@ impl IEnumChangeUnitExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -677,8 +677,8 @@ impl IEnumClockVector_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -725,8 +725,8 @@ impl IEnumFeedClockVector_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl IEnumItemIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -791,8 +791,8 @@ impl IEnumRangeExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -839,8 +839,8 @@ impl IEnumSingleItemExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -887,8 +887,8 @@ impl IEnumSyncChangeUnits_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -935,8 +935,8 @@ impl IEnumSyncChanges_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -986,8 +986,8 @@ impl IEnumSyncProviderConfigUIInfos_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl IEnumSyncProviderInfos_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl IFeedClockVector_Vtbl { IsNoConflictsSpecified: IsNoConflictsSpecified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1096,8 +1096,8 @@ impl IFeedClockVectorElement_Vtbl { GetFlags: GetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IFilterKeyMap_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1162,8 +1162,8 @@ impl IFilterRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestFilter: RequestFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1190,8 +1190,8 @@ impl IFilterTrackingProvider_Vtbl { AddTrackedFilter: AddTrackedFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IFilterTrackingRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestTrackedFilter: RequestTrackedFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IFilterTrackingSyncChangeBuilder_Vtbl { SetAllChangeUnitsPresentFlag: SetAllChangeUnitsPresentFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1260,8 +1260,8 @@ impl IForgottenKnowledge_Vtbl { } Self { base__: ISyncKnowledge_Vtbl::new::(), ForgetToVersion: ForgetToVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1326,8 +1326,8 @@ impl IKnowledgeSyncProvider_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1367,8 +1367,8 @@ impl ILoadChangeContext_Vtbl { SetRecoverableErrorOnChangeUnit: SetRecoverableErrorOnChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1385,8 +1385,8 @@ impl IProviderConverter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1420,8 +1420,8 @@ impl IRangeException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1475,8 +1475,8 @@ impl IRecoverableError_Vtbl { GetRecoverableErrorDataForChangeUnit: GetRecoverableErrorDataForChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1510,8 +1510,8 @@ impl IRecoverableErrorData_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IRegisteredSyncProvider_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1589,8 +1589,8 @@ impl IReplicaKeyMap_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1607,8 +1607,8 @@ impl IRequestFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SpecifyFilter: SpecifyFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1635,8 +1635,8 @@ impl ISingleItemException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1653,8 +1653,8 @@ impl ISupportFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddFilter: AddFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1681,8 +1681,8 @@ impl ISupportLastWriteTime_Vtbl { GetChangeUnitChangeTime: GetChangeUnitChangeTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl ISyncCallback_Vtbl { OnRecoverableError: OnRecoverableError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1758,8 +1758,8 @@ impl ISyncCallback2_Vtbl { OnChangeFailed: OnChangeFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1860,8 +1860,8 @@ impl ISyncChange_Vtbl { SetWorkEstimate: SetWorkEstimate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1904,8 +1904,8 @@ impl ISyncChangeBatch_Vtbl { AddLoggedConflict: AddLoggedConflict::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1947,8 +1947,8 @@ impl ISyncChangeBatch2_Vtbl { AddMergeTombstoneLoggedConflict: AddMergeTombstoneLoggedConflict::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2004,8 +2004,8 @@ impl ISyncChangeBatchAdvanced_Vtbl { GetBatchLevelKnowledgeShouldBeApplied: GetBatchLevelKnowledgeShouldBeApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2149,8 +2149,8 @@ impl ISyncChangeBatchBase_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2170,8 +2170,8 @@ impl ISyncChangeBatchBase2_Vtbl { } Self { base__: ISyncChangeBatchBase_Vtbl::new::(), SerializeWithOptions: SerializeWithOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2326,8 +2326,8 @@ impl ISyncChangeBatchWithPrerequisite_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2344,8 +2344,8 @@ impl ISyncChangeBuilder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddChangeUnitMetadata: AddChangeUnitMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2385,8 +2385,8 @@ impl ISyncChangeUnit_Vtbl { GetChangeUnitVersion: GetChangeUnitVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2501,8 +2501,8 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2541,8 +2541,8 @@ impl ISyncChangeWithPrerequisite_Vtbl { GetLearnedKnowledgeWithPrerequisite: GetLearnedKnowledgeWithPrerequisite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2559,8 +2559,8 @@ impl ISyncConstraintCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConstraintConflict: OnConstraintConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2625,8 +2625,8 @@ impl ISyncDataConverter_Vtbl { ConvertDataToProviderFormat: ConvertDataToProviderFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2653,8 +2653,8 @@ impl ISyncFilter_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl ISyncFilterDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeserializeSyncFilter: DeserializeSyncFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2695,8 +2695,8 @@ impl ISyncFilterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Serialize: Serialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2713,8 +2713,8 @@ impl ISyncFilterInfo2_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetFlags: GetFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ISyncFullEnumerationChange_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl ISyncFullEnumerationChangeBatch_Vtbl { GetClosedUpperBoundItemId: GetClosedUpperBoundItemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2827,8 +2827,8 @@ impl ISyncFullEnumerationChangeBatch2_Vtbl { AddMergeTombstoneMetadataToGroup: AddMergeTombstoneMetadataToGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3048,8 +3048,8 @@ impl ISyncKnowledge_Vtbl { GetVersion: GetVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3187,8 +3187,8 @@ impl ISyncKnowledge2_Vtbl { CompareToKnowledgeCookie: CompareToKnowledgeCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3205,8 +3205,8 @@ impl ISyncMergeTombstoneChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWinnerItemId: GetWinnerItemId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3226,8 +3226,8 @@ impl ISyncProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdParameters: GetIdParameters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl ISyncProviderConfigUI_Vtbl { ModifySyncProvider: ModifySyncProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl ISyncProviderConfigUIInfo_Vtbl { GetSyncProviderConfigUI: GetSyncProviderConfigUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl ISyncProviderInfo_Vtbl { GetSyncProvider: GetSyncProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3538,8 +3538,8 @@ impl ISyncProviderRegistration_Vtbl { GetChange: GetChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3578,8 +3578,8 @@ impl ISyncRegistrationChange_Vtbl { GetInstanceId: GetInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3602,8 +3602,8 @@ impl ISyncSessionExtendedErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSyncProviderWithError: GetSyncProviderWithError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3668,8 +3668,8 @@ impl ISyncSessionState_Vtbl { OnProgress: OnProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3699,8 +3699,8 @@ impl ISyncSessionState2_Vtbl { GetSessionErrorStatus: GetSessionErrorStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3736,7 +3736,7 @@ impl ISynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs index 20a88abb1f..05371d42f3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAsynchronousDataRetriever(::windows_core::IUnknown); impl IAsynchronousDataRetriever { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -27,25 +28,9 @@ impl IAsynchronousDataRetriever { } } ::windows_core::imp::interface_hierarchy!(IAsynchronousDataRetriever, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAsynchronousDataRetriever { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAsynchronousDataRetriever {} -impl ::core::fmt::Debug for IAsynchronousDataRetriever { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAsynchronousDataRetriever").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAsynchronousDataRetriever { type Vtable = IAsynchronousDataRetriever_Vtbl; } -impl ::core::clone::Clone for IAsynchronousDataRetriever { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAsynchronousDataRetriever { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9fc7e470_61ea_4a88_9be4_df56a27cfef2); } @@ -63,6 +48,7 @@ pub struct IAsynchronousDataRetriever_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChangeConflict(::windows_core::IUnknown); impl IChangeConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> ::windows_core::Result { @@ -101,25 +87,9 @@ impl IChangeConflict { } } ::windows_core::imp::interface_hierarchy!(IChangeConflict, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IChangeConflict { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChangeConflict {} -impl ::core::fmt::Debug for IChangeConflict { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChangeConflict").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChangeConflict { type Vtable = IChangeConflict_Vtbl; } -impl ::core::clone::Clone for IChangeConflict { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChangeConflict { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x014ebf97_9f20_4f7a_bdd4_25979c77c002); } @@ -138,6 +108,7 @@ pub struct IChangeConflict_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChangeUnitException(::windows_core::IUnknown); impl IChangeUnitException { pub unsafe fn GetItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -151,25 +122,9 @@ impl IChangeUnitException { } } ::windows_core::imp::interface_hierarchy!(IChangeUnitException, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IChangeUnitException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChangeUnitException {} -impl ::core::fmt::Debug for IChangeUnitException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChangeUnitException").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChangeUnitException { type Vtable = IChangeUnitException_Vtbl; } -impl ::core::clone::Clone for IChangeUnitException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChangeUnitException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0cd7ee7c_fec0_4021_99ee_f0e5348f2a5f); } @@ -183,6 +138,7 @@ pub struct IChangeUnitException_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IChangeUnitListFilterInfo(::windows_core::IUnknown); impl IChangeUnitListFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -199,25 +155,9 @@ impl IChangeUnitListFilterInfo { } } ::windows_core::imp::interface_hierarchy!(IChangeUnitListFilterInfo, ::windows_core::IUnknown, ISyncFilterInfo); -impl ::core::cmp::PartialEq for IChangeUnitListFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IChangeUnitListFilterInfo {} -impl ::core::fmt::Debug for IChangeUnitListFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IChangeUnitListFilterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IChangeUnitListFilterInfo { type Vtable = IChangeUnitListFilterInfo_Vtbl; } -impl ::core::clone::Clone for IChangeUnitListFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IChangeUnitListFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2837671_0bdf_43fa_b502_232375fb50c2); } @@ -231,6 +171,7 @@ pub struct IChangeUnitListFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClockVector(::windows_core::IUnknown); impl IClockVector { pub unsafe fn GetClockVectorElements(&self, riid: *const ::windows_core::GUID, ppienumclockvector: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -241,25 +182,9 @@ impl IClockVector { } } ::windows_core::imp::interface_hierarchy!(IClockVector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClockVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClockVector {} -impl ::core::fmt::Debug for IClockVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClockVector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClockVector { type Vtable = IClockVector_Vtbl; } -impl ::core::clone::Clone for IClockVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClockVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14b2274a_8698_4cc6_9333_f89bd1d47bc4); } @@ -272,6 +197,7 @@ pub struct IClockVector_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClockVectorElement(::windows_core::IUnknown); impl IClockVectorElement { pub unsafe fn GetReplicaKey(&self, pdwreplicakey: *mut u32) -> ::windows_core::Result<()> { @@ -282,25 +208,9 @@ impl IClockVectorElement { } } ::windows_core::imp::interface_hierarchy!(IClockVectorElement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClockVectorElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClockVectorElement {} -impl ::core::fmt::Debug for IClockVectorElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClockVectorElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClockVectorElement { type Vtable = IClockVectorElement_Vtbl; } -impl ::core::clone::Clone for IClockVectorElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClockVectorElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe71c4250_adf8_4a07_8fae_5669596909c1); } @@ -313,6 +223,7 @@ pub struct IClockVectorElement_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICombinedFilterInfo(::windows_core::IUnknown); impl ICombinedFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -330,25 +241,9 @@ impl ICombinedFilterInfo { } } ::windows_core::imp::interface_hierarchy!(ICombinedFilterInfo, ::windows_core::IUnknown, ISyncFilterInfo); -impl ::core::cmp::PartialEq for ICombinedFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICombinedFilterInfo {} -impl ::core::fmt::Debug for ICombinedFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICombinedFilterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICombinedFilterInfo { type Vtable = ICombinedFilterInfo_Vtbl; } -impl ::core::clone::Clone for ICombinedFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICombinedFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11f9de71_2818_4779_b2ac_42d450565f45); } @@ -362,6 +257,7 @@ pub struct ICombinedFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConstraintConflict(::windows_core::IUnknown); impl IConstraintConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> ::windows_core::Result { @@ -414,25 +310,9 @@ impl IConstraintConflict { } } ::windows_core::imp::interface_hierarchy!(IConstraintConflict, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConstraintConflict { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConstraintConflict {} -impl ::core::fmt::Debug for IConstraintConflict { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConstraintConflict").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConstraintConflict { type Vtable = IConstraintConflict_Vtbl; } -impl ::core::clone::Clone for IConstraintConflict { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConstraintConflict { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00d2302e_1cf8_4835_b85f_b7ca4f799e0a); } @@ -455,6 +335,7 @@ pub struct IConstraintConflict_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConstructReplicaKeyMap(::windows_core::IUnknown); impl IConstructReplicaKeyMap { pub unsafe fn FindOrAddReplica(&self, pbreplicaid: *const u8, pdwreplicakey: *mut u32) -> ::windows_core::Result<()> { @@ -462,25 +343,9 @@ impl IConstructReplicaKeyMap { } } ::windows_core::imp::interface_hierarchy!(IConstructReplicaKeyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IConstructReplicaKeyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConstructReplicaKeyMap {} -impl ::core::fmt::Debug for IConstructReplicaKeyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConstructReplicaKeyMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConstructReplicaKeyMap { type Vtable = IConstructReplicaKeyMap_Vtbl; } -impl ::core::clone::Clone for IConstructReplicaKeyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConstructReplicaKeyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xded10970_ec85_4115_b52c_4405845642a5); } @@ -492,6 +357,7 @@ pub struct IConstructReplicaKeyMap_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFragment(::windows_core::IUnknown); impl ICoreFragment { pub unsafe fn NextColumn(&self, pchangeunitid: *mut u8, pchangeunitidsize: *mut u32) -> ::windows_core::Result<()> { @@ -511,25 +377,9 @@ impl ICoreFragment { } } ::windows_core::imp::interface_hierarchy!(ICoreFragment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoreFragment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreFragment {} -impl ::core::fmt::Debug for ICoreFragment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreFragment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreFragment { type Vtable = ICoreFragment_Vtbl; } -impl ::core::clone::Clone for ICoreFragment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFragment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x613b2ab5_b304_47d9_9c31_ce6c54401a15); } @@ -545,6 +395,7 @@ pub struct ICoreFragment_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoreFragmentInspector(::windows_core::IUnknown); impl ICoreFragmentInspector { pub unsafe fn NextCoreFragments(&self, requestedcount: u32, ppicorefragments: *mut ::core::option::Option, pfetchedcount: *mut u32) -> ::windows_core::Result<()> { @@ -555,25 +406,9 @@ impl ICoreFragmentInspector { } } ::windows_core::imp::interface_hierarchy!(ICoreFragmentInspector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoreFragmentInspector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoreFragmentInspector {} -impl ::core::fmt::Debug for ICoreFragmentInspector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoreFragmentInspector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoreFragmentInspector { type Vtable = ICoreFragmentInspector_Vtbl; } -impl ::core::clone::Clone for ICoreFragmentInspector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoreFragmentInspector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7fcc5fd_ae26_4679_ba16_96aac583c134); } @@ -586,6 +421,7 @@ pub struct ICoreFragmentInspector_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomFilterInfo(::windows_core::IUnknown); impl ICustomFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -597,25 +433,9 @@ impl ICustomFilterInfo { } } ::windows_core::imp::interface_hierarchy!(ICustomFilterInfo, ::windows_core::IUnknown, ISyncFilterInfo); -impl ::core::cmp::PartialEq for ICustomFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICustomFilterInfo {} -impl ::core::fmt::Debug for ICustomFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICustomFilterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICustomFilterInfo { type Vtable = ICustomFilterInfo_Vtbl; } -impl ::core::clone::Clone for ICustomFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d335dff_6f88_4e4d_91a8_a3f351cfd473); } @@ -627,6 +447,7 @@ pub struct ICustomFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataRetrieverCallback(::windows_core::IUnknown); impl IDataRetrieverCallback { pub unsafe fn LoadChangeDataComplete(&self, punkdata: P0) -> ::windows_core::Result<()> @@ -640,25 +461,9 @@ impl IDataRetrieverCallback { } } ::windows_core::imp::interface_hierarchy!(IDataRetrieverCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataRetrieverCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataRetrieverCallback {} -impl ::core::fmt::Debug for IDataRetrieverCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataRetrieverCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataRetrieverCallback { type Vtable = IDataRetrieverCallback_Vtbl; } -impl ::core::clone::Clone for IDataRetrieverCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataRetrieverCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71b4863b_f969_4676_bbc3_3d9fdc3fb2c7); } @@ -671,6 +476,7 @@ pub struct IDataRetrieverCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumChangeUnitExceptions(::windows_core::IUnknown); impl IEnumChangeUnitExceptions { pub unsafe fn Next(&self, cexceptions: u32, ppchangeunitexception: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -688,25 +494,9 @@ impl IEnumChangeUnitExceptions { } } ::windows_core::imp::interface_hierarchy!(IEnumChangeUnitExceptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumChangeUnitExceptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumChangeUnitExceptions {} -impl ::core::fmt::Debug for IEnumChangeUnitExceptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumChangeUnitExceptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumChangeUnitExceptions { type Vtable = IEnumChangeUnitExceptions_Vtbl; } -impl ::core::clone::Clone for IEnumChangeUnitExceptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumChangeUnitExceptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3074e802_9319_4420_be21_1022e2e21da8); } @@ -721,6 +511,7 @@ pub struct IEnumChangeUnitExceptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumClockVector(::windows_core::IUnknown); impl IEnumClockVector { pub unsafe fn Next(&self, cclockvectorelements: u32, ppiclockvectorelements: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -738,25 +529,9 @@ impl IEnumClockVector { } } ::windows_core::imp::interface_hierarchy!(IEnumClockVector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumClockVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumClockVector {} -impl ::core::fmt::Debug for IEnumClockVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumClockVector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumClockVector { type Vtable = IEnumClockVector_Vtbl; } -impl ::core::clone::Clone for IEnumClockVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumClockVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x525844db_2837_4799_9e80_81a66e02220c); } @@ -771,6 +546,7 @@ pub struct IEnumClockVector_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumFeedClockVector(::windows_core::IUnknown); impl IEnumFeedClockVector { pub unsafe fn Next(&self, cclockvectorelements: u32, ppiclockvectorelements: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -788,25 +564,9 @@ impl IEnumFeedClockVector { } } ::windows_core::imp::interface_hierarchy!(IEnumFeedClockVector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumFeedClockVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumFeedClockVector {} -impl ::core::fmt::Debug for IEnumFeedClockVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumFeedClockVector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumFeedClockVector { type Vtable = IEnumFeedClockVector_Vtbl; } -impl ::core::clone::Clone for IEnumFeedClockVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumFeedClockVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x550f763d_146a_48f6_abeb_6c88c7f70514); } @@ -821,6 +581,7 @@ pub struct IEnumFeedClockVector_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumItemIds(::windows_core::IUnknown); impl IEnumItemIds { pub unsafe fn Next(&self, pbitemid: *mut u8, pcbitemidsize: *mut u32) -> ::windows_core::Result<()> { @@ -828,25 +589,9 @@ impl IEnumItemIds { } } ::windows_core::imp::interface_hierarchy!(IEnumItemIds, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumItemIds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumItemIds {} -impl ::core::fmt::Debug for IEnumItemIds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumItemIds").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumItemIds { type Vtable = IEnumItemIds_Vtbl; } -impl ::core::clone::Clone for IEnumItemIds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumItemIds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43aa3f61_4b2e_4b60_83df_b110d3e148f1); } @@ -858,6 +603,7 @@ pub struct IEnumItemIds_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRangeExceptions(::windows_core::IUnknown); impl IEnumRangeExceptions { pub unsafe fn Next(&self, cexceptions: u32, pprangeexception: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -875,25 +621,9 @@ impl IEnumRangeExceptions { } } ::windows_core::imp::interface_hierarchy!(IEnumRangeExceptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRangeExceptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRangeExceptions {} -impl ::core::fmt::Debug for IEnumRangeExceptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRangeExceptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRangeExceptions { type Vtable = IEnumRangeExceptions_Vtbl; } -impl ::core::clone::Clone for IEnumRangeExceptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRangeExceptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0944439f_ddb1_4176_b703_046ff22a2386); } @@ -908,6 +638,7 @@ pub struct IEnumRangeExceptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSingleItemExceptions(::windows_core::IUnknown); impl IEnumSingleItemExceptions { pub unsafe fn Next(&self, cexceptions: u32, ppsingleitemexception: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -925,25 +656,9 @@ impl IEnumSingleItemExceptions { } } ::windows_core::imp::interface_hierarchy!(IEnumSingleItemExceptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSingleItemExceptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSingleItemExceptions {} -impl ::core::fmt::Debug for IEnumSingleItemExceptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSingleItemExceptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSingleItemExceptions { type Vtable = IEnumSingleItemExceptions_Vtbl; } -impl ::core::clone::Clone for IEnumSingleItemExceptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSingleItemExceptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe563381c_1b4d_4c66_9796_c86faccdcd40); } @@ -958,6 +673,7 @@ pub struct IEnumSingleItemExceptions_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncChangeUnits(::windows_core::IUnknown); impl IEnumSyncChangeUnits { pub unsafe fn Next(&self, cchanges: u32, ppchangeunit: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -975,25 +691,9 @@ impl IEnumSyncChangeUnits { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncChangeUnits, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncChangeUnits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncChangeUnits {} -impl ::core::fmt::Debug for IEnumSyncChangeUnits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncChangeUnits").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncChangeUnits { type Vtable = IEnumSyncChangeUnits_Vtbl; } -impl ::core::clone::Clone for IEnumSyncChangeUnits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncChangeUnits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x346b35f1_8703_4c6d_ab1a_4dbca2cff97f); } @@ -1008,6 +708,7 @@ pub struct IEnumSyncChangeUnits_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncChanges(::windows_core::IUnknown); impl IEnumSyncChanges { pub unsafe fn Next(&self, cchanges: u32, ppchange: *mut ::core::option::Option, pcfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1025,25 +726,9 @@ impl IEnumSyncChanges { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncChanges, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncChanges { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncChanges {} -impl ::core::fmt::Debug for IEnumSyncChanges { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncChanges").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncChanges { type Vtable = IEnumSyncChanges_Vtbl; } -impl ::core::clone::Clone for IEnumSyncChanges { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncChanges { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f86be4a_5e78_4e32_ac1c_c24fd223ef85); } @@ -1058,6 +743,7 @@ pub struct IEnumSyncChanges_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncProviderConfigUIInfos(::windows_core::IUnknown); impl IEnumSyncProviderConfigUIInfos { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1077,25 +763,9 @@ impl IEnumSyncProviderConfigUIInfos { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncProviderConfigUIInfos, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncProviderConfigUIInfos { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncProviderConfigUIInfos {} -impl ::core::fmt::Debug for IEnumSyncProviderConfigUIInfos { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncProviderConfigUIInfos").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncProviderConfigUIInfos { type Vtable = IEnumSyncProviderConfigUIInfos_Vtbl; } -impl ::core::clone::Clone for IEnumSyncProviderConfigUIInfos { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncProviderConfigUIInfos { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6be2602_17c6_4658_a2d7_68ed3330f641); } @@ -1113,6 +783,7 @@ pub struct IEnumSyncProviderConfigUIInfos_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncProviderInfos(::windows_core::IUnknown); impl IEnumSyncProviderInfos { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1132,25 +803,9 @@ impl IEnumSyncProviderInfos { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncProviderInfos, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncProviderInfos { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncProviderInfos {} -impl ::core::fmt::Debug for IEnumSyncProviderInfos { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncProviderInfos").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncProviderInfos { type Vtable = IEnumSyncProviderInfos_Vtbl; } -impl ::core::clone::Clone for IEnumSyncProviderInfos { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncProviderInfos { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa04ba850_5eb1_460d_a973_393fcb608a11); } @@ -1168,6 +823,7 @@ pub struct IEnumSyncProviderInfos_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedClockVector(::windows_core::IUnknown); impl IFeedClockVector { pub unsafe fn GetClockVectorElements(&self, riid: *const ::windows_core::GUID, ppienumclockvector: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -1186,25 +842,9 @@ impl IFeedClockVector { } } ::windows_core::imp::interface_hierarchy!(IFeedClockVector, ::windows_core::IUnknown, IClockVector); -impl ::core::cmp::PartialEq for IFeedClockVector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFeedClockVector {} -impl ::core::fmt::Debug for IFeedClockVector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedClockVector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFeedClockVector { type Vtable = IFeedClockVector_Vtbl; } -impl ::core::clone::Clone for IFeedClockVector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFeedClockVector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d1d98d1_9fb8_4ec9_a553_54dd924e0f67); } @@ -1220,6 +860,7 @@ pub struct IFeedClockVector_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFeedClockVectorElement(::windows_core::IUnknown); impl IFeedClockVectorElement { pub unsafe fn GetReplicaKey(&self, pdwreplicakey: *mut u32) -> ::windows_core::Result<()> { @@ -1236,25 +877,9 @@ impl IFeedClockVectorElement { } } ::windows_core::imp::interface_hierarchy!(IFeedClockVectorElement, ::windows_core::IUnknown, IClockVectorElement); -impl ::core::cmp::PartialEq for IFeedClockVectorElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFeedClockVectorElement {} -impl ::core::fmt::Debug for IFeedClockVectorElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFeedClockVectorElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFeedClockVectorElement { type Vtable = IFeedClockVectorElement_Vtbl; } -impl ::core::clone::Clone for IFeedClockVectorElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFeedClockVectorElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa40b46d2_e97b_4156_b6da_991f501b0f05); } @@ -1267,6 +892,7 @@ pub struct IFeedClockVectorElement_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterKeyMap(::windows_core::IUnknown); impl IFilterKeyMap { pub unsafe fn GetCount(&self, pdwcount: *mut u32) -> ::windows_core::Result<()> { @@ -1287,25 +913,9 @@ impl IFilterKeyMap { } } ::windows_core::imp::interface_hierarchy!(IFilterKeyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterKeyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterKeyMap {} -impl ::core::fmt::Debug for IFilterKeyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterKeyMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterKeyMap { type Vtable = IFilterKeyMap_Vtbl; } -impl ::core::clone::Clone for IFilterKeyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterKeyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca169652_07c6_4708_a3da_6e4eba8d2297); } @@ -1320,6 +930,7 @@ pub struct IFilterKeyMap_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterRequestCallback(::windows_core::IUnknown); impl IFilterRequestCallback { pub unsafe fn RequestFilter(&self, pfilter: P0, filteringtype: FILTERING_TYPE) -> ::windows_core::Result<()> @@ -1330,25 +941,9 @@ impl IFilterRequestCallback { } } ::windows_core::imp::interface_hierarchy!(IFilterRequestCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterRequestCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterRequestCallback {} -impl ::core::fmt::Debug for IFilterRequestCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterRequestCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterRequestCallback { type Vtable = IFilterRequestCallback_Vtbl; } -impl ::core::clone::Clone for IFilterRequestCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterRequestCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82df8873_6360_463a_a8a1_ede5e1a1594d); } @@ -1360,6 +955,7 @@ pub struct IFilterRequestCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterTrackingProvider(::windows_core::IUnknown); impl IFilterTrackingProvider { pub unsafe fn SpecifyTrackedFilters(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -1376,25 +972,9 @@ impl IFilterTrackingProvider { } } ::windows_core::imp::interface_hierarchy!(IFilterTrackingProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterTrackingProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterTrackingProvider {} -impl ::core::fmt::Debug for IFilterTrackingProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterTrackingProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterTrackingProvider { type Vtable = IFilterTrackingProvider_Vtbl; } -impl ::core::clone::Clone for IFilterTrackingProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterTrackingProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x743383c0_fc4e_45ba_ad81_d9d84c7a24f8); } @@ -1407,6 +987,7 @@ pub struct IFilterTrackingProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterTrackingRequestCallback(::windows_core::IUnknown); impl IFilterTrackingRequestCallback { pub unsafe fn RequestTrackedFilter(&self, pfilter: P0) -> ::windows_core::Result<()> @@ -1417,25 +998,9 @@ impl IFilterTrackingRequestCallback { } } ::windows_core::imp::interface_hierarchy!(IFilterTrackingRequestCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterTrackingRequestCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterTrackingRequestCallback {} -impl ::core::fmt::Debug for IFilterTrackingRequestCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterTrackingRequestCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterTrackingRequestCallback { type Vtable = IFilterTrackingRequestCallback_Vtbl; } -impl ::core::clone::Clone for IFilterTrackingRequestCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterTrackingRequestCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x713ca7bb_c858_4674_b4b6_1122436587a9); } @@ -1447,6 +1012,7 @@ pub struct IFilterTrackingRequestCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFilterTrackingSyncChangeBuilder(::windows_core::IUnknown); impl IFilterTrackingSyncChangeBuilder { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1459,25 +1025,9 @@ impl IFilterTrackingSyncChangeBuilder { } } ::windows_core::imp::interface_hierarchy!(IFilterTrackingSyncChangeBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFilterTrackingSyncChangeBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFilterTrackingSyncChangeBuilder {} -impl ::core::fmt::Debug for IFilterTrackingSyncChangeBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFilterTrackingSyncChangeBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFilterTrackingSyncChangeBuilder { type Vtable = IFilterTrackingSyncChangeBuilder_Vtbl; } -impl ::core::clone::Clone for IFilterTrackingSyncChangeBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFilterTrackingSyncChangeBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x295024a0_70da_4c58_883c_ce2afb308d0b); } @@ -1493,6 +1043,7 @@ pub struct IFilterTrackingSyncChangeBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IForgottenKnowledge(::windows_core::IUnknown); impl IForgottenKnowledge { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -1598,25 +1149,9 @@ impl IForgottenKnowledge { } } ::windows_core::imp::interface_hierarchy!(IForgottenKnowledge, ::windows_core::IUnknown, ISyncKnowledge); -impl ::core::cmp::PartialEq for IForgottenKnowledge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IForgottenKnowledge {} -impl ::core::fmt::Debug for IForgottenKnowledge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IForgottenKnowledge").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IForgottenKnowledge { type Vtable = IForgottenKnowledge_Vtbl; } -impl ::core::clone::Clone for IForgottenKnowledge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IForgottenKnowledge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x456e0f96_6036_452b_9f9d_bcc4b4a85db2); } @@ -1628,6 +1163,7 @@ pub struct IForgottenKnowledge_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnowledgeSyncProvider(::windows_core::IUnknown); impl IKnowledgeSyncProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1680,25 +1216,9 @@ impl IKnowledgeSyncProvider { } } ::windows_core::imp::interface_hierarchy!(IKnowledgeSyncProvider, ::windows_core::IUnknown, ISyncProvider); -impl ::core::cmp::PartialEq for IKnowledgeSyncProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKnowledgeSyncProvider {} -impl ::core::fmt::Debug for IKnowledgeSyncProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKnowledgeSyncProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKnowledgeSyncProvider { type Vtable = IKnowledgeSyncProvider_Vtbl; } -impl ::core::clone::Clone for IKnowledgeSyncProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnowledgeSyncProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43434a49_8da4_47f2_8172_ad7b8b024978); } @@ -1716,6 +1236,7 @@ pub struct IKnowledgeSyncProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILoadChangeContext(::windows_core::IUnknown); impl ILoadChangeContext { pub unsafe fn GetSyncChange(&self) -> ::windows_core::Result { @@ -1737,25 +1258,9 @@ impl ILoadChangeContext { } } ::windows_core::imp::interface_hierarchy!(ILoadChangeContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILoadChangeContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILoadChangeContext {} -impl ::core::fmt::Debug for ILoadChangeContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILoadChangeContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILoadChangeContext { type Vtable = ILoadChangeContext_Vtbl; } -impl ::core::clone::Clone for ILoadChangeContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILoadChangeContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44a4aaca_ec39_46d5_b5c9_d633c0ee67e2); } @@ -1769,6 +1274,7 @@ pub struct ILoadChangeContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProviderConverter(::windows_core::IUnknown); impl IProviderConverter { pub unsafe fn Initialize(&self, pisyncprovider: P0) -> ::windows_core::Result<()> @@ -1779,25 +1285,9 @@ impl IProviderConverter { } } ::windows_core::imp::interface_hierarchy!(IProviderConverter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProviderConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProviderConverter {} -impl ::core::fmt::Debug for IProviderConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProviderConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProviderConverter { type Vtable = IProviderConverter_Vtbl; } -impl ::core::clone::Clone for IProviderConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProviderConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x809b7276_98cf_4957_93a5_0ebdd3dddffd); } @@ -1809,6 +1299,7 @@ pub struct IProviderConverter_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRangeException(::windows_core::IUnknown); impl IRangeException { pub unsafe fn GetClosedRangeStart(&self, pbclosedrangestart: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -1822,25 +1313,9 @@ impl IRangeException { } } ::windows_core::imp::interface_hierarchy!(IRangeException, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRangeException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRangeException {} -impl ::core::fmt::Debug for IRangeException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRangeException").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRangeException { type Vtable = IRangeException_Vtbl; } -impl ::core::clone::Clone for IRangeException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRangeException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75ae8777_6848_49f7_956c_a3a92f5096e8); } @@ -1854,6 +1329,7 @@ pub struct IRangeException_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRecoverableError(::windows_core::IUnknown); impl IRecoverableError { pub unsafe fn GetStage(&self, pstage: *mut SYNC_PROGRESS_STAGE) -> ::windows_core::Result<()> { @@ -1877,25 +1353,9 @@ impl IRecoverableError { } } ::windows_core::imp::interface_hierarchy!(IRecoverableError, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRecoverableError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRecoverableError {} -impl ::core::fmt::Debug for IRecoverableError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRecoverableError").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRecoverableError { type Vtable = IRecoverableError_Vtbl; } -impl ::core::clone::Clone for IRecoverableError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRecoverableError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f5625e8_0a7b_45ee_9637_1ce13645909e); } @@ -1911,6 +1371,7 @@ pub struct IRecoverableError_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRecoverableErrorData(::windows_core::IUnknown); impl IRecoverableErrorData { pub unsafe fn Initialize(&self, pcszitemdisplayname: P0, pcszerrordescription: P1) -> ::windows_core::Result<()> @@ -1934,25 +1395,9 @@ impl IRecoverableErrorData { } } ::windows_core::imp::interface_hierarchy!(IRecoverableErrorData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRecoverableErrorData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRecoverableErrorData {} -impl ::core::fmt::Debug for IRecoverableErrorData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRecoverableErrorData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRecoverableErrorData { type Vtable = IRecoverableErrorData_Vtbl; } -impl ::core::clone::Clone for IRecoverableErrorData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRecoverableErrorData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb37c4a0a_4b7d_4c2d_9711_3b00d119b1c8); } @@ -1966,6 +1411,7 @@ pub struct IRecoverableErrorData_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegisteredSyncProvider(::windows_core::IUnknown); impl IRegisteredSyncProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -1985,25 +1431,9 @@ impl IRegisteredSyncProvider { } } ::windows_core::imp::interface_hierarchy!(IRegisteredSyncProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRegisteredSyncProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRegisteredSyncProvider {} -impl ::core::fmt::Debug for IRegisteredSyncProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegisteredSyncProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRegisteredSyncProvider { type Vtable = IRegisteredSyncProvider_Vtbl; } -impl ::core::clone::Clone for IRegisteredSyncProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegisteredSyncProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x913bcf76_47c1_40b5_a896_5e8a9c414c14); } @@ -2020,6 +1450,7 @@ pub struct IRegisteredSyncProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReplicaKeyMap(::windows_core::IUnknown); impl IReplicaKeyMap { pub unsafe fn LookupReplicaKey(&self, pbreplicaid: *const u8, pdwreplicakey: *mut u32) -> ::windows_core::Result<()> { @@ -2033,25 +1464,9 @@ impl IReplicaKeyMap { } } ::windows_core::imp::interface_hierarchy!(IReplicaKeyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReplicaKeyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReplicaKeyMap {} -impl ::core::fmt::Debug for IReplicaKeyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReplicaKeyMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReplicaKeyMap { type Vtable = IReplicaKeyMap_Vtbl; } -impl ::core::clone::Clone for IReplicaKeyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReplicaKeyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2209f4fc_fd10_4ff0_84a8_f0a1982e440e); } @@ -2065,6 +1480,7 @@ pub struct IReplicaKeyMap_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRequestFilteredSync(::windows_core::IUnknown); impl IRequestFilteredSync { pub unsafe fn SpecifyFilter(&self, pcallback: P0) -> ::windows_core::Result<()> @@ -2075,25 +1491,9 @@ impl IRequestFilteredSync { } } ::windows_core::imp::interface_hierarchy!(IRequestFilteredSync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRequestFilteredSync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRequestFilteredSync {} -impl ::core::fmt::Debug for IRequestFilteredSync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRequestFilteredSync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRequestFilteredSync { type Vtable = IRequestFilteredSync_Vtbl; } -impl ::core::clone::Clone for IRequestFilteredSync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRequestFilteredSync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e020184_6d18_46a7_a32a_da4aeb06696c); } @@ -2105,6 +1505,7 @@ pub struct IRequestFilteredSync_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISingleItemException(::windows_core::IUnknown); impl ISingleItemException { pub unsafe fn GetItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -2115,25 +1516,9 @@ impl ISingleItemException { } } ::windows_core::imp::interface_hierarchy!(ISingleItemException, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISingleItemException { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISingleItemException {} -impl ::core::fmt::Debug for ISingleItemException { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISingleItemException").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISingleItemException { type Vtable = ISingleItemException_Vtbl; } -impl ::core::clone::Clone for ISingleItemException { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISingleItemException { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x892fb9b0_7c55_4a18_9316_fdf449569b64); } @@ -2146,6 +1531,7 @@ pub struct ISingleItemException_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISupportFilteredSync(::windows_core::IUnknown); impl ISupportFilteredSync { pub unsafe fn AddFilter(&self, pfilter: P0, filteringtype: FILTERING_TYPE) -> ::windows_core::Result<()> @@ -2156,25 +1542,9 @@ impl ISupportFilteredSync { } } ::windows_core::imp::interface_hierarchy!(ISupportFilteredSync, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISupportFilteredSync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISupportFilteredSync {} -impl ::core::fmt::Debug for ISupportFilteredSync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISupportFilteredSync").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISupportFilteredSync { type Vtable = ISupportFilteredSync_Vtbl; } -impl ::core::clone::Clone for ISupportFilteredSync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISupportFilteredSync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d128ded_d555_4e0d_bf4b_fb213a8a9302); } @@ -2186,6 +1556,7 @@ pub struct ISupportFilteredSync_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISupportLastWriteTime(::windows_core::IUnknown); impl ISupportLastWriteTime { pub unsafe fn GetItemChangeTime(&self, pbitemid: *const u8, pulltimestamp: *mut u64) -> ::windows_core::Result<()> { @@ -2196,25 +1567,9 @@ impl ISupportLastWriteTime { } } ::windows_core::imp::interface_hierarchy!(ISupportLastWriteTime, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISupportLastWriteTime { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISupportLastWriteTime {} -impl ::core::fmt::Debug for ISupportLastWriteTime { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISupportLastWriteTime").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISupportLastWriteTime { type Vtable = ISupportLastWriteTime_Vtbl; } -impl ::core::clone::Clone for ISupportLastWriteTime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISupportLastWriteTime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeadf816f_d0bd_43ca_8f40_5acdc6c06f7a); } @@ -2227,6 +1582,7 @@ pub struct ISupportLastWriteTime_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncCallback(::windows_core::IUnknown); impl ISyncCallback { pub unsafe fn OnProgress(&self, provider: SYNC_PROVIDER_ROLE, syncstage: SYNC_PROGRESS_STAGE, dwcompletedwork: u32, dwtotalwork: u32) -> ::windows_core::Result<()> { @@ -2255,25 +1611,9 @@ impl ISyncCallback { } } ::windows_core::imp::interface_hierarchy!(ISyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncCallback {} -impl ::core::fmt::Debug for ISyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncCallback { type Vtable = ISyncCallback_Vtbl; } -impl ::core::clone::Clone for ISyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0599797f_5ed9_485c_ae36_0c5d1bf2e7a5); } @@ -2289,6 +1629,7 @@ pub struct ISyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncCallback2(::windows_core::IUnknown); impl ISyncCallback2 { pub unsafe fn OnProgress(&self, provider: SYNC_PROVIDER_ROLE, syncstage: SYNC_PROGRESS_STAGE, dwcompletedwork: u32, dwtotalwork: u32) -> ::windows_core::Result<()> { @@ -2323,25 +1664,9 @@ impl ISyncCallback2 { } } ::windows_core::imp::interface_hierarchy!(ISyncCallback2, ::windows_core::IUnknown, ISyncCallback); -impl ::core::cmp::PartialEq for ISyncCallback2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncCallback2 {} -impl ::core::fmt::Debug for ISyncCallback2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncCallback2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncCallback2 { type Vtable = ISyncCallback2_Vtbl; } -impl ::core::clone::Clone for ISyncCallback2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncCallback2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47ce84af_7442_4ead_8630_12015e030ad7); } @@ -2354,6 +1679,7 @@ pub struct ISyncCallback2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChange(::windows_core::IUnknown); impl ISyncChange { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -2391,25 +1717,9 @@ impl ISyncChange { } } ::windows_core::imp::interface_hierarchy!(ISyncChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChange {} -impl ::core::fmt::Debug for ISyncChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChange { type Vtable = ISyncChange_Vtbl; } -impl ::core::clone::Clone for ISyncChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1952beb_0f6b_4711_b136_01da85b968a6); } @@ -2430,6 +1740,7 @@ pub struct ISyncChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatch(::windows_core::IUnknown); impl ISyncChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -2505,25 +1816,9 @@ impl ISyncChangeBatch { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatch, ::windows_core::IUnknown, ISyncChangeBatchBase); -impl ::core::cmp::PartialEq for ISyncChangeBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatch {} -impl ::core::fmt::Debug for ISyncChangeBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatch { type Vtable = ISyncChangeBatch_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70c64dee_380f_4c2e_8f70_31c55bd5f9b3); } @@ -2540,6 +1835,7 @@ pub struct ISyncChangeBatch_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatch2(::windows_core::IUnknown); impl ISyncChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -2626,25 +1922,9 @@ impl ISyncChangeBatch2 { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatch2, ::windows_core::IUnknown, ISyncChangeBatchBase, ISyncChangeBatch); -impl ::core::cmp::PartialEq for ISyncChangeBatch2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatch2 {} -impl ::core::fmt::Debug for ISyncChangeBatch2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatch2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatch2 { type Vtable = ISyncChangeBatch2_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatch2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatch2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x225f4a33_f5ee_4cc7_b039_67a262b4b2ac); } @@ -2657,6 +1937,7 @@ pub struct ISyncChangeBatch2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatchAdvanced(::windows_core::IUnknown); impl ISyncChangeBatchAdvanced { pub unsafe fn GetFilterInfo(&self) -> ::windows_core::Result { @@ -2677,25 +1958,9 @@ impl ISyncChangeBatchAdvanced { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatchAdvanced, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeBatchAdvanced { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatchAdvanced {} -impl ::core::fmt::Debug for ISyncChangeBatchAdvanced { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatchAdvanced").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatchAdvanced { type Vtable = ISyncChangeBatchAdvanced_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatchAdvanced { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatchAdvanced { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f1a4995_cbc8_421d_b550_5d0bebf3e9a5); } @@ -2713,6 +1978,7 @@ pub struct ISyncChangeBatchAdvanced_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatchBase(::windows_core::IUnknown); impl ISyncChangeBatchBase { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -2769,25 +2035,9 @@ impl ISyncChangeBatchBase { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeBatchBase { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatchBase {} -impl ::core::fmt::Debug for ISyncChangeBatchBase { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatchBase").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatchBase { type Vtable = ISyncChangeBatchBase_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatchBase { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatchBase { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52f6e694_6a71_4494_a184_a8311bf5d227); } @@ -2815,6 +2065,7 @@ pub struct ISyncChangeBatchBase_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatchBase2(::windows_core::IUnknown); impl ISyncChangeBatchBase2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -2874,25 +2125,9 @@ impl ISyncChangeBatchBase2 { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase2, ::windows_core::IUnknown, ISyncChangeBatchBase); -impl ::core::cmp::PartialEq for ISyncChangeBatchBase2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatchBase2 {} -impl ::core::fmt::Debug for ISyncChangeBatchBase2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatchBase2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatchBase2 { type Vtable = ISyncChangeBatchBase2_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatchBase2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatchBase2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fdb596a_d755_4584_bd0c_c0c23a548fbf); } @@ -2904,6 +2139,7 @@ pub struct ISyncChangeBatchBase2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatchWithFilterKeyMap(::windows_core::IUnknown); impl ISyncChangeBatchWithFilterKeyMap { pub unsafe fn GetFilterKeyMap(&self) -> ::windows_core::Result { @@ -2960,29 +2196,13 @@ impl ISyncChangeBatchWithFilterKeyMap { P1: ::windows_core::IntoParam, { let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows_core::Interface::as_raw(self), pdestinationknowledge.into_param().abi(), pnewmoveins.into_param().abi(), dwfilterkey, &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeBatchWithFilterKeyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatchWithFilterKeyMap {} -impl ::core::fmt::Debug for ISyncChangeBatchWithFilterKeyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatchWithFilterKeyMap").field(&self.0).finish() + (::windows_core::Interface::vtable(self).GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete)(::windows_core::Interface::as_raw(self), pdestinationknowledge.into_param().abi(), pnewmoveins.into_param().abi(), dwfilterkey, &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ISyncChangeBatchWithFilterKeyMap { type Vtable = ISyncChangeBatchWithFilterKeyMap_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatchWithFilterKeyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatchWithFilterKeyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde247002_566d_459a_a6ed_a5aab3459fb7); } @@ -3001,6 +2221,7 @@ pub struct ISyncChangeBatchWithFilterKeyMap_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBatchWithPrerequisite(::windows_core::IUnknown); impl ISyncChangeBatchWithPrerequisite { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -3074,25 +2295,9 @@ impl ISyncChangeBatchWithPrerequisite { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithPrerequisite, ::windows_core::IUnknown, ISyncChangeBatchBase); -impl ::core::cmp::PartialEq for ISyncChangeBatchWithPrerequisite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBatchWithPrerequisite {} -impl ::core::fmt::Debug for ISyncChangeBatchWithPrerequisite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBatchWithPrerequisite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBatchWithPrerequisite { type Vtable = ISyncChangeBatchWithPrerequisite_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBatchWithPrerequisite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBatchWithPrerequisite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x097f13be_5b92_4048_b3f2_7b42a2515e07); } @@ -3106,6 +2311,7 @@ pub struct ISyncChangeBatchWithPrerequisite_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeBuilder(::windows_core::IUnknown); impl ISyncChangeBuilder { pub unsafe fn AddChangeUnitMetadata(&self, pbchangeunitid: *const u8, pchangeunitversion: *const SYNC_VERSION) -> ::windows_core::Result<()> { @@ -3113,25 +2319,9 @@ impl ISyncChangeBuilder { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeBuilder {} -impl ::core::fmt::Debug for ISyncChangeBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeBuilder { type Vtable = ISyncChangeBuilder_Vtbl; } -impl ::core::clone::Clone for ISyncChangeBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56f14771_8677_484f_a170_e386e418a676); } @@ -3143,6 +2333,7 @@ pub struct ISyncChangeBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeUnit(::windows_core::IUnknown); impl ISyncChangeUnit { pub unsafe fn GetItemChange(&self) -> ::windows_core::Result { @@ -3157,25 +2348,9 @@ impl ISyncChangeUnit { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeUnit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeUnit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeUnit {} -impl ::core::fmt::Debug for ISyncChangeUnit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeUnit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeUnit { type Vtable = ISyncChangeUnit_Vtbl; } -impl ::core::clone::Clone for ISyncChangeUnit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeUnit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60edd8ca_7341_4bb7_95ce_fab6394b51cb); } @@ -3189,6 +2364,7 @@ pub struct ISyncChangeUnit_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeWithFilterKeyMap(::windows_core::IUnknown); impl ISyncChangeWithFilterKeyMap { pub unsafe fn GetFilterCount(&self, pdwfiltercount: *mut u32) -> ::windows_core::Result<()> { @@ -3250,25 +2426,9 @@ impl ISyncChangeWithFilterKeyMap { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeWithFilterKeyMap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeWithFilterKeyMap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeWithFilterKeyMap {} -impl ::core::fmt::Debug for ISyncChangeWithFilterKeyMap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeWithFilterKeyMap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeWithFilterKeyMap { type Vtable = ISyncChangeWithFilterKeyMap_Vtbl; } -impl ::core::clone::Clone for ISyncChangeWithFilterKeyMap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeWithFilterKeyMap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfe1ef00_e87d_42fd_a4e9_242d70414aef); } @@ -3294,6 +2454,7 @@ pub struct ISyncChangeWithFilterKeyMap_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncChangeWithPrerequisite(::windows_core::IUnknown); impl ISyncChangeWithPrerequisite { pub unsafe fn GetPrerequisiteKnowledge(&self) -> ::windows_core::Result { @@ -3309,25 +2470,9 @@ impl ISyncChangeWithPrerequisite { } } ::windows_core::imp::interface_hierarchy!(ISyncChangeWithPrerequisite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncChangeWithPrerequisite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncChangeWithPrerequisite {} -impl ::core::fmt::Debug for ISyncChangeWithPrerequisite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncChangeWithPrerequisite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncChangeWithPrerequisite { type Vtable = ISyncChangeWithPrerequisite_Vtbl; } -impl ::core::clone::Clone for ISyncChangeWithPrerequisite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncChangeWithPrerequisite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e38382f_1589_48c3_92e4_05ecdcb4f3f7); } @@ -3340,6 +2485,7 @@ pub struct ISyncChangeWithPrerequisite_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncConstraintCallback(::windows_core::IUnknown); impl ISyncConstraintCallback { pub unsafe fn OnConstraintConflict(&self, pconflict: P0) -> ::windows_core::Result<()> @@ -3350,25 +2496,9 @@ impl ISyncConstraintCallback { } } ::windows_core::imp::interface_hierarchy!(ISyncConstraintCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncConstraintCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncConstraintCallback {} -impl ::core::fmt::Debug for ISyncConstraintCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncConstraintCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncConstraintCallback { type Vtable = ISyncConstraintCallback_Vtbl; } -impl ::core::clone::Clone for ISyncConstraintCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncConstraintCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8af3843e_75b3_438c_bb51_6f020d70d3cb); } @@ -3380,6 +2510,7 @@ pub struct ISyncConstraintCallback_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncDataConverter(::windows_core::IUnknown); impl ISyncDataConverter { pub unsafe fn ConvertDataRetrieverFromProviderFormat(&self, punkdataretrieverin: P0, penumsyncchanges: P1) -> ::windows_core::Result<::windows_core::IUnknown> @@ -3416,25 +2547,9 @@ impl ISyncDataConverter { } } ::windows_core::imp::interface_hierarchy!(ISyncDataConverter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncDataConverter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncDataConverter {} -impl ::core::fmt::Debug for ISyncDataConverter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncDataConverter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncDataConverter { type Vtable = ISyncDataConverter_Vtbl; } -impl ::core::clone::Clone for ISyncDataConverter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncDataConverter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x435d4861_68d5_44aa_a0f9_72a0b00ef9cf); } @@ -3449,6 +2564,7 @@ pub struct ISyncDataConverter_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFilter(::windows_core::IUnknown); impl ISyncFilter { pub unsafe fn IsIdentical(&self, psyncfilter: P0) -> ::windows_core::Result<()> @@ -3462,25 +2578,9 @@ impl ISyncFilter { } } ::windows_core::imp::interface_hierarchy!(ISyncFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFilter {} -impl ::core::fmt::Debug for ISyncFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFilter { type Vtable = ISyncFilter_Vtbl; } -impl ::core::clone::Clone for ISyncFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x087a3f15_0fcb_44c1_9639_53c14e2b5506); } @@ -3493,6 +2593,7 @@ pub struct ISyncFilter_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFilterDeserializer(::windows_core::IUnknown); impl ISyncFilterDeserializer { pub unsafe fn DeserializeSyncFilter(&self, pbsyncfilter: *const u8, dwcbsyncfilter: u32) -> ::windows_core::Result { @@ -3501,25 +2602,9 @@ impl ISyncFilterDeserializer { } } ::windows_core::imp::interface_hierarchy!(ISyncFilterDeserializer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncFilterDeserializer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFilterDeserializer {} -impl ::core::fmt::Debug for ISyncFilterDeserializer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFilterDeserializer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFilterDeserializer { type Vtable = ISyncFilterDeserializer_Vtbl; } -impl ::core::clone::Clone for ISyncFilterDeserializer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFilterDeserializer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb45b7a72_e5c7_46be_9c82_77b8b15dab8a); } @@ -3531,6 +2616,7 @@ pub struct ISyncFilterDeserializer_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFilterInfo(::windows_core::IUnknown); impl ISyncFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -3538,25 +2624,9 @@ impl ISyncFilterInfo { } } ::windows_core::imp::interface_hierarchy!(ISyncFilterInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncFilterInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFilterInfo {} -impl ::core::fmt::Debug for ISyncFilterInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFilterInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFilterInfo { type Vtable = ISyncFilterInfo_Vtbl; } -impl ::core::clone::Clone for ISyncFilterInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFilterInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x794eaaf8_3f2e_47e6_9728_17e6fcf94cb7); } @@ -3568,6 +2638,7 @@ pub struct ISyncFilterInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFilterInfo2(::windows_core::IUnknown); impl ISyncFilterInfo2 { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> ::windows_core::Result<()> { @@ -3578,25 +2649,9 @@ impl ISyncFilterInfo2 { } } ::windows_core::imp::interface_hierarchy!(ISyncFilterInfo2, ::windows_core::IUnknown, ISyncFilterInfo); -impl ::core::cmp::PartialEq for ISyncFilterInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFilterInfo2 {} -impl ::core::fmt::Debug for ISyncFilterInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFilterInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFilterInfo2 { type Vtable = ISyncFilterInfo2_Vtbl; } -impl ::core::clone::Clone for ISyncFilterInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFilterInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19b394ba_e3d0_468c_934d_321968b2ab34); } @@ -3608,6 +2663,7 @@ pub struct ISyncFilterInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFullEnumerationChange(::windows_core::IUnknown); impl ISyncFullEnumerationChange { pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> ::windows_core::Result { @@ -3620,25 +2676,9 @@ impl ISyncFullEnumerationChange { } } ::windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncFullEnumerationChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFullEnumerationChange {} -impl ::core::fmt::Debug for ISyncFullEnumerationChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFullEnumerationChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFullEnumerationChange { type Vtable = ISyncFullEnumerationChange_Vtbl; } -impl ::core::clone::Clone for ISyncFullEnumerationChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFullEnumerationChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9785e0bd_bdff_40c4_98c5_b34b2f1991b3); } @@ -3651,6 +2691,7 @@ pub struct ISyncFullEnumerationChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFullEnumerationChangeBatch(::windows_core::IUnknown); impl ISyncFullEnumerationChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -3717,25 +2758,9 @@ impl ISyncFullEnumerationChangeBatch { } } ::windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch, ::windows_core::IUnknown, ISyncChangeBatchBase); -impl ::core::cmp::PartialEq for ISyncFullEnumerationChangeBatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFullEnumerationChangeBatch {} -impl ::core::fmt::Debug for ISyncFullEnumerationChangeBatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFullEnumerationChangeBatch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFullEnumerationChangeBatch { type Vtable = ISyncFullEnumerationChangeBatch_Vtbl; } -impl ::core::clone::Clone for ISyncFullEnumerationChangeBatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFullEnumerationChangeBatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef64197d_4f44_4ea2_b355_4524713e3bed); } @@ -3749,6 +2774,7 @@ pub struct ISyncFullEnumerationChangeBatch_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncFullEnumerationChangeBatch2(::windows_core::IUnknown); impl ISyncFullEnumerationChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> ::windows_core::Result { @@ -3819,25 +2845,9 @@ impl ISyncFullEnumerationChangeBatch2 { } } ::windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch2, ::windows_core::IUnknown, ISyncChangeBatchBase, ISyncFullEnumerationChangeBatch); -impl ::core::cmp::PartialEq for ISyncFullEnumerationChangeBatch2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncFullEnumerationChangeBatch2 {} -impl ::core::fmt::Debug for ISyncFullEnumerationChangeBatch2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncFullEnumerationChangeBatch2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncFullEnumerationChangeBatch2 { type Vtable = ISyncFullEnumerationChangeBatch2_Vtbl; } -impl ::core::clone::Clone for ISyncFullEnumerationChangeBatch2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncFullEnumerationChangeBatch2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe06449f4_a205_4b65_9724_01b22101eec1); } @@ -3849,6 +2859,7 @@ pub struct ISyncFullEnumerationChangeBatch2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncKnowledge(::windows_core::IUnknown); impl ISyncKnowledge { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -3948,25 +2959,9 @@ impl ISyncKnowledge { } } ::windows_core::imp::interface_hierarchy!(ISyncKnowledge, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncKnowledge { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncKnowledge {} -impl ::core::fmt::Debug for ISyncKnowledge { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncKnowledge").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncKnowledge { type Vtable = ISyncKnowledge_Vtbl; } -impl ::core::clone::Clone for ISyncKnowledge { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncKnowledge { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x615bbb53_c945_4203_bf4b_2cb65919a0aa); } @@ -4004,6 +2999,7 @@ pub struct ISyncKnowledge_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncKnowledge2(::windows_core::IUnknown); impl ISyncKnowledge2 { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -4173,25 +3169,9 @@ impl ISyncKnowledge2 { } } ::windows_core::imp::interface_hierarchy!(ISyncKnowledge2, ::windows_core::IUnknown, ISyncKnowledge); -impl ::core::cmp::PartialEq for ISyncKnowledge2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncKnowledge2 {} -impl ::core::fmt::Debug for ISyncKnowledge2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncKnowledge2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncKnowledge2 { type Vtable = ISyncKnowledge2_Vtbl; } -impl ::core::clone::Clone for ISyncKnowledge2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncKnowledge2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed0addc0_3b4b_46a1_9a45_45661d2114c8); } @@ -4219,6 +3199,7 @@ pub struct ISyncKnowledge2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMergeTombstoneChange(::windows_core::IUnknown); impl ISyncMergeTombstoneChange { pub unsafe fn GetWinnerItemId(&self, pbwinneritemid: *mut u8, pcbidsize: *mut u32) -> ::windows_core::Result<()> { @@ -4226,25 +3207,9 @@ impl ISyncMergeTombstoneChange { } } ::windows_core::imp::interface_hierarchy!(ISyncMergeTombstoneChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMergeTombstoneChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMergeTombstoneChange {} -impl ::core::fmt::Debug for ISyncMergeTombstoneChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMergeTombstoneChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMergeTombstoneChange { type Vtable = ISyncMergeTombstoneChange_Vtbl; } -impl ::core::clone::Clone for ISyncMergeTombstoneChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMergeTombstoneChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ec62597_0903_484c_ad61_36d6e938f47b); } @@ -4256,6 +3221,7 @@ pub struct ISyncMergeTombstoneChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncProvider(::windows_core::IUnknown); impl ISyncProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4265,25 +3231,9 @@ impl ISyncProvider { } } ::windows_core::imp::interface_hierarchy!(ISyncProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncProvider {} -impl ::core::fmt::Debug for ISyncProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncProvider { type Vtable = ISyncProvider_Vtbl; } -impl ::core::clone::Clone for ISyncProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f657056_2bce_4a17_8c68_c7bb7898b56f); } @@ -4298,6 +3248,7 @@ pub struct ISyncProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncProviderConfigUI(::windows_core::IUnknown); impl ISyncProviderConfigUI { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4336,25 +3287,9 @@ impl ISyncProviderConfigUI { } } ::windows_core::imp::interface_hierarchy!(ISyncProviderConfigUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncProviderConfigUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncProviderConfigUI {} -impl ::core::fmt::Debug for ISyncProviderConfigUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncProviderConfigUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncProviderConfigUI { type Vtable = ISyncProviderConfigUI_Vtbl; } -impl ::core::clone::Clone for ISyncProviderConfigUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncProviderConfigUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7b0705f6_cbcd_4071_ab05_3bdc364d4a0c); } @@ -4382,6 +3317,7 @@ pub struct ISyncProviderConfigUI_Vtbl { #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncProviderConfigUIInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ISyncProviderConfigUIInfo { @@ -4420,30 +3356,10 @@ impl ISyncProviderConfigUIInfo { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] ::windows_core::imp::interface_hierarchy!(ISyncProviderConfigUIInfo, ::windows_core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::cmp::PartialEq for ISyncProviderConfigUIInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::cmp::Eq for ISyncProviderConfigUIInfo {} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::fmt::Debug for ISyncProviderConfigUIInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncProviderConfigUIInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] unsafe impl ::windows_core::Interface for ISyncProviderConfigUIInfo { type Vtable = ISyncProviderConfigUIInfo_Vtbl; } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::clone::Clone for ISyncProviderConfigUIInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] unsafe impl ::windows_core::ComInterface for ISyncProviderConfigUIInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x214141ae_33d7_4d8d_8e37_f227e880ce50); } @@ -4457,6 +3373,7 @@ pub struct ISyncProviderConfigUIInfo_Vtbl { #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncProviderInfo(::windows_core::IUnknown); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] impl ISyncProviderInfo { @@ -4495,30 +3412,10 @@ impl ISyncProviderInfo { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] ::windows_core::imp::interface_hierarchy!(ISyncProviderInfo, ::windows_core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::cmp::PartialEq for ISyncProviderInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::cmp::Eq for ISyncProviderInfo {} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::fmt::Debug for ISyncProviderInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncProviderInfo").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] unsafe impl ::windows_core::Interface for ISyncProviderInfo { type Vtable = ISyncProviderInfo_Vtbl; } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl ::core::clone::Clone for ISyncProviderInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] unsafe impl ::windows_core::ComInterface for ISyncProviderInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ee135de_88a4_4504_b0d0_f7920d7e5ba6); } @@ -4531,6 +3428,7 @@ pub struct ISyncProviderInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncProviderRegistration(::windows_core::IUnknown); impl ISyncProviderRegistration { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -4616,25 +3514,9 @@ impl ISyncProviderRegistration { } } ::windows_core::imp::interface_hierarchy!(ISyncProviderRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncProviderRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncProviderRegistration {} -impl ::core::fmt::Debug for ISyncProviderRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncProviderRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncProviderRegistration { type Vtable = ISyncProviderRegistration_Vtbl; } -impl ::core::clone::Clone for ISyncProviderRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncProviderRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb45953b_7624_47bc_a472_eb8cac6b222e); } @@ -4685,6 +3567,7 @@ pub struct ISyncProviderRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncRegistrationChange(::windows_core::IUnknown); impl ISyncRegistrationChange { pub unsafe fn GetEvent(&self) -> ::windows_core::Result { @@ -4697,25 +3580,9 @@ impl ISyncRegistrationChange { } } ::windows_core::imp::interface_hierarchy!(ISyncRegistrationChange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncRegistrationChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncRegistrationChange {} -impl ::core::fmt::Debug for ISyncRegistrationChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncRegistrationChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncRegistrationChange { type Vtable = ISyncRegistrationChange_Vtbl; } -impl ::core::clone::Clone for ISyncRegistrationChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncRegistrationChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea0d9ae_6b29_43b4_9e70_e3ae33bb2c3b); } @@ -4728,6 +3595,7 @@ pub struct ISyncRegistrationChange_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncSessionExtendedErrorInfo(::windows_core::IUnknown); impl ISyncSessionExtendedErrorInfo { pub unsafe fn GetSyncProviderWithError(&self) -> ::windows_core::Result { @@ -4736,25 +3604,9 @@ impl ISyncSessionExtendedErrorInfo { } } ::windows_core::imp::interface_hierarchy!(ISyncSessionExtendedErrorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncSessionExtendedErrorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncSessionExtendedErrorInfo {} -impl ::core::fmt::Debug for ISyncSessionExtendedErrorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncSessionExtendedErrorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncSessionExtendedErrorInfo { type Vtable = ISyncSessionExtendedErrorInfo_Vtbl; } -impl ::core::clone::Clone for ISyncSessionExtendedErrorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncSessionExtendedErrorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x326c6810_790a_409b_b741_6999388761eb); } @@ -4766,6 +3618,7 @@ pub struct ISyncSessionExtendedErrorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncSessionState(::windows_core::IUnknown); impl ISyncSessionState { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4793,25 +3646,9 @@ impl ISyncSessionState { } } ::windows_core::imp::interface_hierarchy!(ISyncSessionState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncSessionState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncSessionState {} -impl ::core::fmt::Debug for ISyncSessionState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncSessionState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncSessionState { type Vtable = ISyncSessionState_Vtbl; } -impl ::core::clone::Clone for ISyncSessionState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncSessionState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb8a940fe_9f01_483b_9434_c37d361225d9); } @@ -4832,6 +3669,7 @@ pub struct ISyncSessionState_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncSessionState2(::windows_core::IUnknown); impl ISyncSessionState2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4870,25 +3708,9 @@ impl ISyncSessionState2 { } } ::windows_core::imp::interface_hierarchy!(ISyncSessionState2, ::windows_core::IUnknown, ISyncSessionState); -impl ::core::cmp::PartialEq for ISyncSessionState2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncSessionState2 {} -impl ::core::fmt::Debug for ISyncSessionState2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncSessionState2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncSessionState2 { type Vtable = ISyncSessionState2_Vtbl; } -impl ::core::clone::Clone for ISyncSessionState2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncSessionState2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e37cfa3_9e38_4c61_9ca3_ffe810b45ca2); } @@ -4904,6 +3726,7 @@ pub struct ISyncSessionState2_Vtbl { } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronousDataRetriever(::windows_core::IUnknown); impl ISynchronousDataRetriever { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4920,25 +3743,9 @@ impl ISynchronousDataRetriever { } } ::windows_core::imp::interface_hierarchy!(ISynchronousDataRetriever, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISynchronousDataRetriever { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronousDataRetriever {} -impl ::core::fmt::Debug for ISynchronousDataRetriever { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronousDataRetriever").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronousDataRetriever { type Vtable = ISynchronousDataRetriever_Vtbl; } -impl ::core::clone::Clone for ISynchronousDataRetriever { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronousDataRetriever { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b22f2a9_a4cd_4648_9d8e_3a510d4da04b); } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index 517ab5e902..f8e5167153 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -49,8 +49,8 @@ impl IEnumWbemClassObject_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IMofCompiler_Vtbl { CreateBMOF: CreateBMOF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl ISWbemDateTime_Vtbl { SetFileTime: SetFileTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -544,8 +544,8 @@ impl ISWbemEventSource_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl ISWbemLastError_Vtbl { pub const fn new, Impl: ISWbemLastError_Impl, const OFFSET: isize>() -> ISWbemLastError_Vtbl { Self { base__: ISWbemObject_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl ISWbemLocator_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl ISWbemMethod_Vtbl { Qualifiers_: Qualifiers_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl ISWbemMethodSet_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -789,8 +789,8 @@ impl ISWbemNamedValue_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -885,8 +885,8 @@ impl ISWbemNamedValueSet_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1220,8 +1220,8 @@ impl ISWbemObject_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1277,8 +1277,8 @@ impl ISWbemObjectEx_Vtbl { SetFromText_: SetFromText_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1533,8 +1533,8 @@ impl ISWbemObjectPath_Vtbl { SetAuthority: SetAuthority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl ISWbemObjectSet_Vtbl { ItemIndex: ItemIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1691,8 +1691,8 @@ impl ISWbemPrivilege_Vtbl { Identifier: Identifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl ISWbemPrivilegeSet_Vtbl { AddAsString: AddAsString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1902,8 +1902,8 @@ impl ISWbemProperty_Vtbl { IsArray: IsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1978,8 +1978,8 @@ impl ISWbemPropertySet_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2114,8 +2114,8 @@ impl ISWbemQualifier_Vtbl { IsAmended: IsAmended::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2190,8 +2190,8 @@ impl ISWbemQualifierSet_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2279,8 +2279,8 @@ impl ISWbemRefreshableItem_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2402,8 +2402,8 @@ impl ISWbemRefresher_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2472,8 +2472,8 @@ impl ISWbemSecurity_Vtbl { Privileges: Privileges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2720,8 +2720,8 @@ impl ISWbemServices_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ISWbemServicesEx_Vtbl { } Self { base__: ISWbemServices_Vtbl::new::(), Put: Put::, PutAsync: PutAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2774,8 +2774,8 @@ impl ISWbemSink_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2788,8 +2788,8 @@ impl ISWbemSinkEvents_Vtbl { pub const fn new, Impl: ISWbemSinkEvents_Impl, const OFFSET: isize>() -> ISWbemSinkEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2812,8 +2812,8 @@ impl IUnsecuredApartment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObjectStub: CreateObjectStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2868,8 +2868,8 @@ impl IWMIExtension_Vtbl { GetWMIServices: GetWMIServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2886,8 +2886,8 @@ impl IWbemAddressResolution_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2914,8 +2914,8 @@ impl IWbemBackupRestore_Vtbl { Restore: Restore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2942,8 +2942,8 @@ impl IWbemBackupRestoreEx_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3008,8 +3008,8 @@ impl IWbemCallResult_Vtbl { GetCallStatus: GetCallStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3253,8 +3253,8 @@ impl IWbemClassObject_Vtbl { GetMethodOrigin: GetMethodOrigin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3302,8 +3302,8 @@ impl IWbemClientConnectionTransport_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3326,8 +3326,8 @@ impl IWbemClientTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3375,8 +3375,8 @@ impl IWbemConfigureRefresher_Vtbl { AddEnum: AddEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3393,8 +3393,8 @@ impl IWbemConnectorLogin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectorLogin: ConnectorLogin:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3435,8 +3435,8 @@ impl IWbemConstructClassObject_Vtbl { SetServerNamespace: SetServerNamespace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3533,8 +3533,8 @@ impl IWbemContext_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IWbemDecoupledBasicEventProvider_Vtbl { GetService: GetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3601,8 +3601,8 @@ impl IWbemDecoupledRegistrar_Vtbl { UnRegister: UnRegister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3625,8 +3625,8 @@ impl IWbemEventConsumerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindConsumer: FindConsumer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3643,8 +3643,8 @@ impl IWbemEventProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideEvents: ProvideEvents:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IWbemEventProviderQuerySink_Vtbl { CancelQuery: CancelQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3689,8 +3689,8 @@ impl IWbemEventProviderSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessCheck: AccessCheck:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3737,8 +3737,8 @@ impl IWbemEventSink_Vtbl { SetBatchingParameters: SetBatchingParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3779,8 +3779,8 @@ impl IWbemHiPerfEnum_Vtbl { RemoveAll: RemoveAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3847,8 +3847,8 @@ impl IWbemHiPerfProvider_Vtbl { GetObjects: GetObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3913,8 +3913,8 @@ impl IWbemLevel1Login_Vtbl { NTLMLogin: NTLMLogin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3937,8 +3937,8 @@ impl IWbemLocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4036,8 +4036,8 @@ impl IWbemObjectAccess_Vtbl { Unlock: Unlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4064,8 +4064,8 @@ impl IWbemObjectSink_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4128,8 +4128,8 @@ impl IWbemObjectSinkEx_Vtbl { WriteStreamParameter: WriteStreamParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4168,8 +4168,8 @@ impl IWbemObjectTextSrc_Vtbl { CreateFromText: CreateFromText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4391,8 +4391,8 @@ impl IWbemPath_Vtbl { IsSameClassName: IsSameClassName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4490,8 +4490,8 @@ impl IWbemPathKeyList_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4527,8 +4527,8 @@ impl IWbemPropertyProvider_Vtbl { PutProperty: PutProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4545,8 +4545,8 @@ impl IWbemProviderIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRegistrationObject: SetRegistrationObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4563,8 +4563,8 @@ impl IWbemProviderInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4581,8 +4581,8 @@ impl IWbemProviderInitSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStatus: SetStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4653,8 +4653,8 @@ impl IWbemQualifierSet_Vtbl { EndEnumeration: EndEnumeration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4716,8 +4716,8 @@ impl IWbemQuery_Vtbl { GetQueryInfo: GetQueryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4734,8 +4734,8 @@ impl IWbemRefresher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Refresh: Refresh:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4939,8 +4939,8 @@ impl IWbemServices_Vtbl { ExecMethodAsync: ExecMethodAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4957,8 +4957,8 @@ impl IWbemShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Shutdown: Shutdown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4997,8 +4997,8 @@ impl IWbemStatusCodeText_Vtbl { GetFacilityCodeText: GetFacilityCodeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5015,8 +5015,8 @@ impl IWbemTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5033,8 +5033,8 @@ impl IWbemUnboundObjectSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IndicateToConsumer: IndicateToConsumer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5057,7 +5057,7 @@ impl IWbemUnsecuredApartment_Vtbl { } Self { base__: IUnsecuredApartment_Vtbl::new::(), CreateSinkStub: CreateSinkStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index 593dfbf67b..5dd36521a1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -6,6 +6,7 @@ pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: ::core::opt } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumWbemClassObject(::windows_core::IUnknown); impl IEnumWbemClassObject { pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { @@ -29,25 +30,9 @@ impl IEnumWbemClassObject { } } ::windows_core::imp::interface_hierarchy!(IEnumWbemClassObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumWbemClassObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumWbemClassObject {} -impl ::core::fmt::Debug for IEnumWbemClassObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumWbemClassObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumWbemClassObject { type Vtable = IEnumWbemClassObject_Vtbl; } -impl ::core::clone::Clone for IEnumWbemClassObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumWbemClassObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x027947e1_d731_11ce_a357_000000000001); } @@ -63,6 +48,7 @@ pub struct IEnumWbemClassObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMofCompiler(::windows_core::IUnknown); impl IMofCompiler { pub unsafe fn CompileFile(&self, filename: P0, serverandnamespace: P1, user: P2, authority: P3, password: P4, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> ::windows_core::Result<()> @@ -94,25 +80,9 @@ impl IMofCompiler { } } ::windows_core::imp::interface_hierarchy!(IMofCompiler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMofCompiler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMofCompiler {} -impl ::core::fmt::Debug for IMofCompiler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMofCompiler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMofCompiler { type Vtable = IMofCompiler_Vtbl; } -impl ::core::clone::Clone for IMofCompiler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMofCompiler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6daf974e_2e37_11d2_aec9_00c04fb68820); } @@ -127,6 +97,7 @@ pub struct IMofCompiler_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemDateTime(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemDateTime { @@ -361,30 +332,10 @@ impl ISWbemDateTime { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemDateTime, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemDateTime { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemDateTime {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemDateTime { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemDateTime").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemDateTime { type Vtable = ISWbemDateTime_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemDateTime { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemDateTime { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e97458a_cf77_11d3_b38f_00105a1f473a); } @@ -503,6 +454,7 @@ pub struct ISWbemDateTime_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemEventSource(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemEventSource { @@ -522,30 +474,10 @@ impl ISWbemEventSource { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemEventSource, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemEventSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemEventSource {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemEventSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemEventSource").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemEventSource { type Vtable = ISWbemEventSource_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemEventSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemEventSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27d54d92_0ebe_11d2_8b22_00600806d9b6); } @@ -566,6 +498,7 @@ pub struct ISWbemEventSource_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemLastError(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemLastError { @@ -802,30 +735,10 @@ impl ISWbemLastError { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemLastError, ::windows_core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemLastError { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemLastError {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemLastError { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemLastError").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemLastError { type Vtable = ISWbemLastError_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemLastError { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemLastError { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd962db84_d4bb_11d1_8b09_00600806d9b6); } @@ -838,6 +751,7 @@ pub struct ISWbemLastError_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemLocator(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemLocator { @@ -866,30 +780,10 @@ impl ISWbemLocator { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemLocator, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemLocator {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemLocator").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemLocator { type Vtable = ISWbemLocator_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a6415b_cb41_11d1_8b02_00600806d9b6); } @@ -910,6 +804,7 @@ pub struct ISWbemLocator_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemMethod(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemMethod { @@ -943,30 +838,10 @@ impl ISWbemMethod { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemMethod, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemMethod { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemMethod {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemMethod { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemMethod").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemMethod { type Vtable = ISWbemMethod_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemMethod { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemMethod { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x422e8e90_d955_11d1_8b09_00600806d9b6); } @@ -993,6 +868,7 @@ pub struct ISWbemMethod_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemMethodSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemMethodSet { @@ -1017,30 +893,10 @@ impl ISWbemMethodSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemMethodSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemMethodSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemMethodSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemMethodSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemMethodSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemMethodSet { type Vtable = ISWbemMethodSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemMethodSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemMethodSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc93ba292_d955_11d1_8b09_00600806d9b6); } @@ -1059,6 +915,7 @@ pub struct ISWbemMethodSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemNamedValue(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValue { @@ -1081,30 +938,10 @@ impl ISWbemNamedValue { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemNamedValue, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemNamedValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemNamedValue {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemNamedValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemNamedValue").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemNamedValue { type Vtable = ISWbemNamedValue_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemNamedValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemNamedValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a64164_cb41_11d1_8b02_00600806d9b6); } @@ -1126,6 +963,7 @@ pub struct ISWbemNamedValue_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemNamedValueSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemNamedValueSet { @@ -1174,30 +1012,10 @@ impl ISWbemNamedValueSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemNamedValueSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemNamedValueSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemNamedValueSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemNamedValueSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemNamedValueSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemNamedValueSet { type Vtable = ISWbemNamedValueSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemNamedValueSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemNamedValueSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf2376ea_ce8c_11d1_8b05_00600806d9b6); } @@ -1226,6 +1044,7 @@ pub struct ISWbemNamedValueSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemObject(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemObject { @@ -1462,30 +1281,10 @@ impl ISWbemObject { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemObject, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemObject {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemObject").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemObject { type Vtable = ISWbemObject_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a6415a_cb41_11d1_8b02_00600806d9b6); } @@ -1595,6 +1394,7 @@ pub struct ISWbemObject_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemObjectEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectEx { @@ -1863,30 +1663,10 @@ impl ISWbemObjectEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemObjectEx, ::windows_core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemObjectEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemObjectEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemObjectEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemObjectEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemObjectEx { type Vtable = ISWbemObjectEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemObjectEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemObjectEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x269ad56a_8a67_4129_bc8c_0506dcfe9880); } @@ -1915,6 +1695,7 @@ pub struct ISWbemObjectEx_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemObjectPath(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectPath { @@ -2036,30 +1817,10 @@ impl ISWbemObjectPath { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemObjectPath, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemObjectPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemObjectPath {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemObjectPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemObjectPath").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemObjectPath { type Vtable = ISWbemObjectPath_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemObjectPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemObjectPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5791bc27_ce9c_11d1_97bf_0000f81e849c); } @@ -2107,6 +1868,7 @@ pub struct ISWbemObjectPath_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemObjectSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemObjectSet { @@ -2143,30 +1905,10 @@ impl ISWbemObjectSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemObjectSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemObjectSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemObjectSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemObjectSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemObjectSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemObjectSet { type Vtable = ISWbemObjectSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemObjectSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemObjectSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a6415f_cb41_11d1_8b02_00600806d9b6); } @@ -2193,6 +1935,7 @@ pub struct ISWbemObjectSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemPrivilege(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilege { @@ -2226,30 +1969,10 @@ impl ISWbemPrivilege { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemPrivilege, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemPrivilege { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemPrivilege {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemPrivilege { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemPrivilege").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemPrivilege { type Vtable = ISWbemPrivilege_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemPrivilege { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemPrivilege { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26ee67bd_5804_11d2_8b4a_00600806d9b6); } @@ -2273,6 +1996,7 @@ pub struct ISWbemPrivilege_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemPrivilegeSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPrivilegeSet { @@ -2319,30 +2043,10 @@ impl ISWbemPrivilegeSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemPrivilegeSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemPrivilegeSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemPrivilegeSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemPrivilegeSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemPrivilegeSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemPrivilegeSet { type Vtable = ISWbemPrivilegeSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemPrivilegeSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemPrivilegeSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x26ee67bf_5804_11d2_8b4a_00600806d9b6); } @@ -2371,6 +2075,7 @@ pub struct ISWbemPrivilegeSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemProperty { @@ -2419,30 +2124,10 @@ impl ISWbemProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemProperty, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemProperty { type Vtable = ISWbemProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a388f98_d4ba_11d1_8b09_00600806d9b6); } @@ -2478,6 +2163,7 @@ pub struct ISWbemProperty_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemPropertySet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemPropertySet { @@ -2518,30 +2204,10 @@ impl ISWbemPropertySet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemPropertySet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemPropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemPropertySet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemPropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemPropertySet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemPropertySet { type Vtable = ISWbemPropertySet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemPropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemPropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdea0a7b2_d4ba_11d1_8b09_00600806d9b6); } @@ -2565,6 +2231,7 @@ pub struct ISWbemPropertySet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemQualifier(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifier { @@ -2641,30 +2308,10 @@ impl ISWbemQualifier { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemQualifier, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemQualifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemQualifier {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemQualifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemQualifier").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemQualifier { type Vtable = ISWbemQualifier_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemQualifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemQualifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79b05932_d3b7_11d1_8b06_00600806d9b6); } @@ -2718,6 +2365,7 @@ pub struct ISWbemQualifier_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemQualifierSet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemQualifierSet { @@ -2760,30 +2408,10 @@ impl ISWbemQualifierSet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemQualifierSet, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemQualifierSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemQualifierSet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemQualifierSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemQualifierSet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemQualifierSet { type Vtable = ISWbemQualifierSet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemQualifierSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemQualifierSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b16ed16_d3df_11d1_8b08_00600806d9b6); } @@ -2807,6 +2435,7 @@ pub struct ISWbemQualifierSet_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemRefreshableItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemRefreshableItem { @@ -2845,28 +2474,8 @@ impl ISWbemRefreshableItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemRefreshableItem, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemRefreshableItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemRefreshableItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemRefreshableItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemRefreshableItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for ISWbemRefreshableItem { - type Vtable = ISWbemRefreshableItem_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemRefreshableItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ISWbemRefreshableItem { + type Vtable = ISWbemRefreshableItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemRefreshableItem { @@ -2899,6 +2508,7 @@ pub struct ISWbemRefreshableItem_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemRefresher(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemRefresher { @@ -2965,30 +2575,10 @@ impl ISWbemRefresher { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemRefresher, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemRefresher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemRefresher {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemRefresher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemRefresher").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemRefresher { type Vtable = ISWbemRefresher_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemRefresher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemRefresher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14d8250e_d9c2_11d3_b38f_00105a1f473a); } @@ -3026,6 +2616,7 @@ pub struct ISWbemRefresher_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemSecurity(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemSecurity { @@ -3053,30 +2644,10 @@ impl ISWbemSecurity { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemSecurity, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemSecurity {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemSecurity").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemSecurity { type Vtable = ISWbemSecurity_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb54d66e6_2287_11d2_8b33_00600806d9b6); } @@ -3097,6 +2668,7 @@ pub struct ISWbemSecurity_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemServices(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemServices { @@ -3332,30 +2904,10 @@ impl ISWbemServices { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemServices, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemServices {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemServices").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemServices { type Vtable = ISWbemServices_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76a6415c_cb41_11d1_8b02_00600806d9b6); } @@ -3445,6 +2997,7 @@ pub struct ISWbemServices_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemServicesEx(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemServicesEx { @@ -3701,30 +3254,10 @@ impl ISWbemServicesEx { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemServicesEx, ::windows_core::IUnknown, super::Com::IDispatch, ISWbemServices); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemServicesEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemServicesEx {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemServicesEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemServicesEx").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemServicesEx { type Vtable = ISWbemServicesEx_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemServicesEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemServicesEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2f68443_85dc_427e_91d8_366554cc754c); } @@ -3745,6 +3278,7 @@ pub struct ISWbemServicesEx_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemSink(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemSink { @@ -3755,30 +3289,10 @@ impl ISWbemSink { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemSink, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemSink {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemSink").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemSink { type Vtable = ISWbemSink_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75718c9f_f029_11d1_a1ac_00c04fb6c223); } @@ -3792,36 +3306,17 @@ pub struct ISWbemSink_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISWbemSinkEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISWbemSinkEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISWbemSinkEvents, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISWbemSinkEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISWbemSinkEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISWbemSinkEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISWbemSinkEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISWbemSinkEvents { type Vtable = ISWbemSinkEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISWbemSinkEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISWbemSinkEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75718ca0_f029_11d1_a1ac_00c04fb6c223); } @@ -3833,6 +3328,7 @@ pub struct ISWbemSinkEvents_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUnsecuredApartment(::windows_core::IUnknown); impl IUnsecuredApartment { pub unsafe fn CreateObjectStub(&self, pobject: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -3844,25 +3340,9 @@ impl IUnsecuredApartment { } } ::windows_core::imp::interface_hierarchy!(IUnsecuredApartment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUnsecuredApartment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUnsecuredApartment {} -impl ::core::fmt::Debug for IUnsecuredApartment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUnsecuredApartment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUnsecuredApartment { type Vtable = IUnsecuredApartment_Vtbl; } -impl ::core::clone::Clone for IUnsecuredApartment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUnsecuredApartment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cfaba8c_1523_11d1_ad79_00c04fd8fdff); } @@ -3875,6 +3355,7 @@ pub struct IUnsecuredApartment_Vtbl { #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWMIExtension(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWMIExtension { @@ -3898,30 +3379,10 @@ impl IWMIExtension { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWMIExtension, ::windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWMIExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWMIExtension {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWMIExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWMIExtension").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWMIExtension { type Vtable = IWMIExtension_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWMIExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWMIExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadc1f06e_5c7e_11d2_8b74_00104b2afb41); } @@ -3942,6 +3403,7 @@ pub struct IWMIExtension_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemAddressResolution(::windows_core::IUnknown); impl IWbemAddressResolution { pub unsafe fn Resolve(&self, wsznamespacepath: P0, wszaddresstype: ::windows_core::PWSTR, pdwaddresslength: *mut u32, pabbinaryaddress: *mut *mut u8) -> ::windows_core::Result<()> @@ -3952,25 +3414,9 @@ impl IWbemAddressResolution { } } ::windows_core::imp::interface_hierarchy!(IWbemAddressResolution, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemAddressResolution { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemAddressResolution {} -impl ::core::fmt::Debug for IWbemAddressResolution { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemAddressResolution").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemAddressResolution { type Vtable = IWbemAddressResolution_Vtbl; } -impl ::core::clone::Clone for IWbemAddressResolution { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemAddressResolution { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7ce2e12_8c90_11d1_9e7b_00c04fc324a8); } @@ -3982,6 +3428,7 @@ pub struct IWbemAddressResolution_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemBackupRestore(::windows_core::IUnknown); impl IWbemBackupRestore { pub unsafe fn Backup(&self, strbackuptofile: P0, lflags: i32) -> ::windows_core::Result<()> @@ -3998,25 +3445,9 @@ impl IWbemBackupRestore { } } ::windows_core::imp::interface_hierarchy!(IWbemBackupRestore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemBackupRestore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemBackupRestore {} -impl ::core::fmt::Debug for IWbemBackupRestore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemBackupRestore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemBackupRestore { type Vtable = IWbemBackupRestore_Vtbl; } -impl ::core::clone::Clone for IWbemBackupRestore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemBackupRestore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc49e32c7_bc8b_11d2_85d4_00105a1f8304); } @@ -4029,6 +3460,7 @@ pub struct IWbemBackupRestore_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemBackupRestoreEx(::windows_core::IUnknown); impl IWbemBackupRestoreEx { pub unsafe fn Backup(&self, strbackuptofile: P0, lflags: i32) -> ::windows_core::Result<()> @@ -4051,25 +3483,9 @@ impl IWbemBackupRestoreEx { } } ::windows_core::imp::interface_hierarchy!(IWbemBackupRestoreEx, ::windows_core::IUnknown, IWbemBackupRestore); -impl ::core::cmp::PartialEq for IWbemBackupRestoreEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemBackupRestoreEx {} -impl ::core::fmt::Debug for IWbemBackupRestoreEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemBackupRestoreEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemBackupRestoreEx { type Vtable = IWbemBackupRestoreEx_Vtbl; } -impl ::core::clone::Clone for IWbemBackupRestoreEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemBackupRestoreEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa359dec5_e813_4834_8a2a_ba7f1d777d76); } @@ -4082,6 +3498,7 @@ pub struct IWbemBackupRestoreEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemCallResult(::windows_core::IUnknown); impl IWbemCallResult { pub unsafe fn GetResultObject(&self, ltimeout: i32) -> ::windows_core::Result { @@ -4102,25 +3519,9 @@ impl IWbemCallResult { } } ::windows_core::imp::interface_hierarchy!(IWbemCallResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemCallResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemCallResult {} -impl ::core::fmt::Debug for IWbemCallResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemCallResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemCallResult { type Vtable = IWbemCallResult_Vtbl; } -impl ::core::clone::Clone for IWbemCallResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemCallResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44aca675_e8fc_11d0_a07c_00c04fb68820); } @@ -4135,6 +3536,7 @@ pub struct IWbemCallResult_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemClassObject(::windows_core::IUnknown); impl IWbemClassObject { pub unsafe fn GetQualifierSet(&self) -> ::windows_core::Result { @@ -4270,25 +3672,9 @@ impl IWbemClassObject { } } ::windows_core::imp::interface_hierarchy!(IWbemClassObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemClassObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemClassObject {} -impl ::core::fmt::Debug for IWbemClassObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemClassObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemClassObject { type Vtable = IWbemClassObject_Vtbl; } -impl ::core::clone::Clone for IWbemClassObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemClassObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc12a681_737f_11cf_884d_00aa004b2e24); } @@ -4335,6 +3721,7 @@ pub struct IWbemClassObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemClientConnectionTransport(::windows_core::IUnknown); impl IWbemClientConnectionTransport { pub unsafe fn Open(&self, straddresstype: P0, abbinaryaddress: &[u8], strobject: P1, struser: P2, strpassword: P3, strlocale: P4, lflags: i32, pctx: P5, pcallres: *mut ::core::option::Option) -> ::windows_core::Result @@ -4370,25 +3757,9 @@ impl IWbemClientConnectionTransport { } } ::windows_core::imp::interface_hierarchy!(IWbemClientConnectionTransport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemClientConnectionTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemClientConnectionTransport {} -impl ::core::fmt::Debug for IWbemClientConnectionTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemClientConnectionTransport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemClientConnectionTransport { type Vtable = IWbemClientConnectionTransport_Vtbl; } -impl ::core::clone::Clone for IWbemClientConnectionTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemClientConnectionTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa889c72a_fcc1_4a9e_af61_ed071333fb5b); } @@ -4402,6 +3773,7 @@ pub struct IWbemClientConnectionTransport_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemClientTransport(::windows_core::IUnknown); impl IWbemClientTransport { pub unsafe fn ConnectServer(&self, straddresstype: P0, abbinaryaddress: &[u8], strnetworkresource: P1, struser: P2, strpassword: P3, strlocale: P4, lsecurityflags: i32, strauthority: P5, pctx: P6) -> ::windows_core::Result @@ -4419,25 +3791,9 @@ impl IWbemClientTransport { } } ::windows_core::imp::interface_hierarchy!(IWbemClientTransport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemClientTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemClientTransport {} -impl ::core::fmt::Debug for IWbemClientTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemClientTransport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemClientTransport { type Vtable = IWbemClientTransport_Vtbl; } -impl ::core::clone::Clone for IWbemClientTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemClientTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7ce2e11_8c90_11d1_9e7b_00c04fc324a8); } @@ -4449,6 +3805,7 @@ pub struct IWbemClientTransport_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemConfigureRefresher(::windows_core::IUnknown); impl IWbemConfigureRefresher { pub unsafe fn AddObjectByPath(&self, pnamespace: P0, wszpath: P1, lflags: i32, pcontext: P2, pprefreshable: *mut ::core::option::Option, plid: *mut i32) -> ::windows_core::Result<()> @@ -4486,25 +3843,9 @@ impl IWbemConfigureRefresher { } } ::windows_core::imp::interface_hierarchy!(IWbemConfigureRefresher, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemConfigureRefresher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemConfigureRefresher {} -impl ::core::fmt::Debug for IWbemConfigureRefresher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemConfigureRefresher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemConfigureRefresher { type Vtable = IWbemConfigureRefresher_Vtbl; } -impl ::core::clone::Clone for IWbemConfigureRefresher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemConfigureRefresher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49353c92_516b_11d1_aea6_00c04fb68820); } @@ -4520,6 +3861,7 @@ pub struct IWbemConfigureRefresher_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemConnectorLogin(::windows_core::IUnknown); impl IWbemConnectorLogin { pub unsafe fn ConnectorLogin(&self, wsznetworkresource: P0, wszpreferredlocale: P1, lflags: i32, pctx: P2) -> ::windows_core::Result @@ -4534,25 +3876,9 @@ impl IWbemConnectorLogin { } } ::windows_core::imp::interface_hierarchy!(IWbemConnectorLogin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemConnectorLogin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemConnectorLogin {} -impl ::core::fmt::Debug for IWbemConnectorLogin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemConnectorLogin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemConnectorLogin { type Vtable = IWbemConnectorLogin_Vtbl; } -impl ::core::clone::Clone for IWbemConnectorLogin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemConnectorLogin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8ec9cb1_b135_4f10_8b1b_c7188bb0d186); } @@ -4564,6 +3890,7 @@ pub struct IWbemConnectorLogin_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemConstructClassObject(::windows_core::IUnknown); impl IWbemConstructClassObject { pub unsafe fn SetInheritanceChain(&self, lnumantecedents: i32, awszantecedents: *const ::windows_core::PCWSTR) -> ::windows_core::Result<()> { @@ -4590,25 +3917,9 @@ impl IWbemConstructClassObject { } } ::windows_core::imp::interface_hierarchy!(IWbemConstructClassObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemConstructClassObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemConstructClassObject {} -impl ::core::fmt::Debug for IWbemConstructClassObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemConstructClassObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemConstructClassObject { type Vtable = IWbemConstructClassObject_Vtbl; } -impl ::core::clone::Clone for IWbemConstructClassObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemConstructClassObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ef76194_70d5_11d1_ad90_00c04fd8fdff); } @@ -4623,6 +3934,7 @@ pub struct IWbemConstructClassObject_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemContext(::windows_core::IUnknown); impl IWbemContext { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -4674,25 +3986,9 @@ impl IWbemContext { } } ::windows_core::imp::interface_hierarchy!(IWbemContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemContext {} -impl ::core::fmt::Debug for IWbemContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemContext { type Vtable = IWbemContext_Vtbl; } -impl ::core::clone::Clone for IWbemContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44aca674_e8fc_11d0_a07c_00c04fb68820); } @@ -4724,6 +4020,7 @@ pub struct IWbemContext_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemDecoupledBasicEventProvider(::windows_core::IUnknown); impl IWbemDecoupledBasicEventProvider { pub unsafe fn Register(&self, a_flags: i32, a_context: P0, a_user: P1, a_locale: P2, a_scope: P3, a_registration: P4, piunknown: P5) -> ::windows_core::Result<()> @@ -4756,25 +4053,9 @@ impl IWbemDecoupledBasicEventProvider { } } ::windows_core::imp::interface_hierarchy!(IWbemDecoupledBasicEventProvider, ::windows_core::IUnknown, IWbemDecoupledRegistrar); -impl ::core::cmp::PartialEq for IWbemDecoupledBasicEventProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemDecoupledBasicEventProvider {} -impl ::core::fmt::Debug for IWbemDecoupledBasicEventProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemDecoupledBasicEventProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemDecoupledBasicEventProvider { type Vtable = IWbemDecoupledBasicEventProvider_Vtbl; } -impl ::core::clone::Clone for IWbemDecoupledBasicEventProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemDecoupledBasicEventProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86336d20_ca11_4786_9ef1_bc8a946b42fc); } @@ -4787,6 +4068,7 @@ pub struct IWbemDecoupledBasicEventProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemDecoupledRegistrar(::windows_core::IUnknown); impl IWbemDecoupledRegistrar { pub unsafe fn Register(&self, a_flags: i32, a_context: P0, a_user: P1, a_locale: P2, a_scope: P3, a_registration: P4, piunknown: P5) -> ::windows_core::Result<()> @@ -4805,25 +4087,9 @@ impl IWbemDecoupledRegistrar { } } ::windows_core::imp::interface_hierarchy!(IWbemDecoupledRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemDecoupledRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemDecoupledRegistrar {} -impl ::core::fmt::Debug for IWbemDecoupledRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemDecoupledRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemDecoupledRegistrar { type Vtable = IWbemDecoupledRegistrar_Vtbl; } -impl ::core::clone::Clone for IWbemDecoupledRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemDecoupledRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1005cbcf_e64f_4646_bcd3_3a089d8a84b4); } @@ -4836,6 +4102,7 @@ pub struct IWbemDecoupledRegistrar_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemEventConsumerProvider(::windows_core::IUnknown); impl IWbemEventConsumerProvider { pub unsafe fn FindConsumer(&self, plogicalconsumer: P0) -> ::windows_core::Result @@ -4847,25 +4114,9 @@ impl IWbemEventConsumerProvider { } } ::windows_core::imp::interface_hierarchy!(IWbemEventConsumerProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemEventConsumerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemEventConsumerProvider {} -impl ::core::fmt::Debug for IWbemEventConsumerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemEventConsumerProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemEventConsumerProvider { type Vtable = IWbemEventConsumerProvider_Vtbl; } -impl ::core::clone::Clone for IWbemEventConsumerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemEventConsumerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe246107a_b06e_11d0_ad61_00c04fd8fdff); } @@ -4877,6 +4128,7 @@ pub struct IWbemEventConsumerProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemEventProvider(::windows_core::IUnknown); impl IWbemEventProvider { pub unsafe fn ProvideEvents(&self, psink: P0, lflags: i32) -> ::windows_core::Result<()> @@ -4887,25 +4139,9 @@ impl IWbemEventProvider { } } ::windows_core::imp::interface_hierarchy!(IWbemEventProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemEventProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemEventProvider {} -impl ::core::fmt::Debug for IWbemEventProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemEventProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemEventProvider { type Vtable = IWbemEventProvider_Vtbl; } -impl ::core::clone::Clone for IWbemEventProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemEventProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe245105b_b06e_11d0_ad61_00c04fd8fdff); } @@ -4917,6 +4153,7 @@ pub struct IWbemEventProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemEventProviderQuerySink(::windows_core::IUnknown); impl IWbemEventProviderQuerySink { pub unsafe fn NewQuery(&self, dwid: u32, wszquerylanguage: *const u16, wszquery: *const u16) -> ::windows_core::Result<()> { @@ -4927,25 +4164,9 @@ impl IWbemEventProviderQuerySink { } } ::windows_core::imp::interface_hierarchy!(IWbemEventProviderQuerySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemEventProviderQuerySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemEventProviderQuerySink {} -impl ::core::fmt::Debug for IWbemEventProviderQuerySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemEventProviderQuerySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemEventProviderQuerySink { type Vtable = IWbemEventProviderQuerySink_Vtbl; } -impl ::core::clone::Clone for IWbemEventProviderQuerySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemEventProviderQuerySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x580acaf8_fa1c_11d0_ad72_00c04fd8fdff); } @@ -4958,6 +4179,7 @@ pub struct IWbemEventProviderQuerySink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemEventProviderSecurity(::windows_core::IUnknown); impl IWbemEventProviderSecurity { pub unsafe fn AccessCheck(&self, wszquerylanguage: *const u16, wszquery: *const u16, psid: &[u8]) -> ::windows_core::Result<()> { @@ -4965,25 +4187,9 @@ impl IWbemEventProviderSecurity { } } ::windows_core::imp::interface_hierarchy!(IWbemEventProviderSecurity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemEventProviderSecurity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemEventProviderSecurity {} -impl ::core::fmt::Debug for IWbemEventProviderSecurity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemEventProviderSecurity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemEventProviderSecurity { type Vtable = IWbemEventProviderSecurity_Vtbl; } -impl ::core::clone::Clone for IWbemEventProviderSecurity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemEventProviderSecurity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x631f7d96_d993_11d2_b339_00105a1f4aaf); } @@ -4995,6 +4201,7 @@ pub struct IWbemEventProviderSecurity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemEventSink(::windows_core::IUnknown); impl IWbemEventSink { pub unsafe fn Indicate(&self, apobjarray: &[::core::option::Option]) -> ::windows_core::Result<()> { @@ -5025,25 +4232,9 @@ impl IWbemEventSink { } } ::windows_core::imp::interface_hierarchy!(IWbemEventSink, ::windows_core::IUnknown, IWbemObjectSink); -impl ::core::cmp::PartialEq for IWbemEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemEventSink {} -impl ::core::fmt::Debug for IWbemEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemEventSink { type Vtable = IWbemEventSink_Vtbl; } -impl ::core::clone::Clone for IWbemEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ae0080a_7e3a_4366_bf89_0feedc931659); } @@ -5058,6 +4249,7 @@ pub struct IWbemEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemHiPerfEnum(::windows_core::IUnknown); impl IWbemHiPerfEnum { pub unsafe fn AddObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32, apobj: *const ::core::option::Option) -> ::windows_core::Result<()> { @@ -5074,25 +4266,9 @@ impl IWbemHiPerfEnum { } } ::windows_core::imp::interface_hierarchy!(IWbemHiPerfEnum, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemHiPerfEnum { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemHiPerfEnum {} -impl ::core::fmt::Debug for IWbemHiPerfEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemHiPerfEnum").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemHiPerfEnum { type Vtable = IWbemHiPerfEnum_Vtbl; } -impl ::core::clone::Clone for IWbemHiPerfEnum { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemHiPerfEnum { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2705c288_79ae_11d2_b348_00105a1f8177); } @@ -5107,6 +4283,7 @@ pub struct IWbemHiPerfEnum_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemHiPerfProvider(::windows_core::IUnknown); impl IWbemHiPerfProvider { pub unsafe fn QueryInstances(&self, pnamespace: P0, wszclass: P1, lflags: i32, pctx: P2, psink: P3) -> ::windows_core::Result<()> @@ -5160,25 +4337,9 @@ impl IWbemHiPerfProvider { } } ::windows_core::imp::interface_hierarchy!(IWbemHiPerfProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemHiPerfProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemHiPerfProvider {} -impl ::core::fmt::Debug for IWbemHiPerfProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemHiPerfProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemHiPerfProvider { type Vtable = IWbemHiPerfProvider_Vtbl; } -impl ::core::clone::Clone for IWbemHiPerfProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemHiPerfProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49353c93_516b_11d1_aea6_00c04fb68820); } @@ -5195,6 +4356,7 @@ pub struct IWbemHiPerfProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemLevel1Login(::windows_core::IUnknown); impl IWbemLevel1Login { pub unsafe fn EstablishPosition(&self, wszlocalelist: P0, dwnumlocales: u32) -> ::windows_core::Result @@ -5231,25 +4393,9 @@ impl IWbemLevel1Login { } } ::windows_core::imp::interface_hierarchy!(IWbemLevel1Login, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemLevel1Login { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemLevel1Login {} -impl ::core::fmt::Debug for IWbemLevel1Login { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemLevel1Login").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemLevel1Login { type Vtable = IWbemLevel1Login_Vtbl; } -impl ::core::clone::Clone for IWbemLevel1Login { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemLevel1Login { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf309ad18_d86a_11d0_a075_00c04fb68820); } @@ -5264,6 +4410,7 @@ pub struct IWbemLevel1Login_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemLocator(::windows_core::IUnknown); impl IWbemLocator { pub unsafe fn ConnectServer(&self, strnetworkresource: P0, struser: P1, strpassword: P2, strlocale: P3, lsecurityflags: i32, strauthority: P4, pctx: P5) -> ::windows_core::Result @@ -5280,25 +4427,9 @@ impl IWbemLocator { } } ::windows_core::imp::interface_hierarchy!(IWbemLocator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemLocator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemLocator {} -impl ::core::fmt::Debug for IWbemLocator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemLocator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemLocator { type Vtable = IWbemLocator_Vtbl; } -impl ::core::clone::Clone for IWbemLocator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemLocator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc12a687_737f_11cf_884d_00aa004b2e24); } @@ -5310,6 +4441,7 @@ pub struct IWbemLocator_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemObjectAccess(::windows_core::IUnknown); impl IWbemObjectAccess { pub unsafe fn GetQualifierSet(&self) -> ::windows_core::Result { @@ -5480,25 +4612,9 @@ impl IWbemObjectAccess { } } ::windows_core::imp::interface_hierarchy!(IWbemObjectAccess, ::windows_core::IUnknown, IWbemClassObject); -impl ::core::cmp::PartialEq for IWbemObjectAccess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemObjectAccess {} -impl ::core::fmt::Debug for IWbemObjectAccess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemObjectAccess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemObjectAccess { type Vtable = IWbemObjectAccess_Vtbl; } -impl ::core::clone::Clone for IWbemObjectAccess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemObjectAccess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49353c9a_516b_11d1_aea6_00c04fb68820); } @@ -5519,6 +4635,7 @@ pub struct IWbemObjectAccess_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemObjectSink(::windows_core::IUnknown); impl IWbemObjectSink { pub unsafe fn Indicate(&self, apobjarray: &[::core::option::Option]) -> ::windows_core::Result<()> { @@ -5533,25 +4650,9 @@ impl IWbemObjectSink { } } ::windows_core::imp::interface_hierarchy!(IWbemObjectSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemObjectSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemObjectSink {} -impl ::core::fmt::Debug for IWbemObjectSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemObjectSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemObjectSink { type Vtable = IWbemObjectSink_Vtbl; } -impl ::core::clone::Clone for IWbemObjectSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemObjectSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c857801_7381_11cf_884d_00aa004b2e24); } @@ -5564,6 +4665,7 @@ pub struct IWbemObjectSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemObjectSinkEx(::windows_core::IUnknown); impl IWbemObjectSinkEx { pub unsafe fn Indicate(&self, apobjarray: &[::core::option::Option]) -> ::windows_core::Result<()> { @@ -5614,25 +4716,9 @@ impl IWbemObjectSinkEx { } } ::windows_core::imp::interface_hierarchy!(IWbemObjectSinkEx, ::windows_core::IUnknown, IWbemObjectSink); -impl ::core::cmp::PartialEq for IWbemObjectSinkEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemObjectSinkEx {} -impl ::core::fmt::Debug for IWbemObjectSinkEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemObjectSinkEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemObjectSinkEx { type Vtable = IWbemObjectSinkEx_Vtbl; } -impl ::core::clone::Clone for IWbemObjectSinkEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemObjectSinkEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7d35cfa_348b_485e_b524_252725d697ca); } @@ -5651,6 +4737,7 @@ pub struct IWbemObjectSinkEx_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemObjectTextSrc(::windows_core::IUnknown); impl IWbemObjectTextSrc { pub unsafe fn GetText(&self, lflags: i32, pobj: P0, uobjtextformat: u32, pctx: P1) -> ::windows_core::Result<::windows_core::BSTR> @@ -5671,25 +4758,9 @@ impl IWbemObjectTextSrc { } } ::windows_core::imp::interface_hierarchy!(IWbemObjectTextSrc, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemObjectTextSrc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemObjectTextSrc {} -impl ::core::fmt::Debug for IWbemObjectTextSrc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemObjectTextSrc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemObjectTextSrc { type Vtable = IWbemObjectTextSrc_Vtbl; } -impl ::core::clone::Clone for IWbemObjectTextSrc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemObjectTextSrc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfbf883a_cad7_11d3_a11b_00105a1f515a); } @@ -5702,6 +4773,7 @@ pub struct IWbemObjectTextSrc_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemPath(::windows_core::IUnknown); impl IWbemPath { pub unsafe fn SetText(&self, umode: u32, pszpath: P0) -> ::windows_core::Result<()> @@ -5831,25 +4903,9 @@ impl IWbemPath { } } ::windows_core::imp::interface_hierarchy!(IWbemPath, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemPath { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemPath {} -impl ::core::fmt::Debug for IWbemPath { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemPath").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemPath { type Vtable = IWbemPath_Vtbl; } -impl ::core::clone::Clone for IWbemPath { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemPath { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bc15af2_736c_477e_9e51_238af8667dcc); } @@ -5898,6 +4954,7 @@ pub struct IWbemPath_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemPathKeyList(::windows_core::IUnknown); impl IWbemPathKeyList { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -5947,25 +5004,9 @@ impl IWbemPathKeyList { } } ::windows_core::imp::interface_hierarchy!(IWbemPathKeyList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemPathKeyList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemPathKeyList {} -impl ::core::fmt::Debug for IWbemPathKeyList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemPathKeyList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemPathKeyList { type Vtable = IWbemPathKeyList_Vtbl; } -impl ::core::clone::Clone for IWbemPathKeyList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemPathKeyList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ae62877_7544_4bb0_aa26_a13824659ed6); } @@ -5992,6 +5033,7 @@ pub struct IWbemPathKeyList_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemPropertyProvider(::windows_core::IUnknown); impl IWbemPropertyProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -6019,25 +5061,9 @@ impl IWbemPropertyProvider { } } ::windows_core::imp::interface_hierarchy!(IWbemPropertyProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemPropertyProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemPropertyProvider {} -impl ::core::fmt::Debug for IWbemPropertyProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemPropertyProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemPropertyProvider { type Vtable = IWbemPropertyProvider_Vtbl; } -impl ::core::clone::Clone for IWbemPropertyProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemPropertyProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce61e841_65bc_11d0_b6bd_00aa003240c7); } @@ -6056,6 +5082,7 @@ pub struct IWbemPropertyProvider_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemProviderIdentity(::windows_core::IUnknown); impl IWbemProviderIdentity { pub unsafe fn SetRegistrationObject(&self, lflags: i32, pprovreg: P0) -> ::windows_core::Result<()> @@ -6066,25 +5093,9 @@ impl IWbemProviderIdentity { } } ::windows_core::imp::interface_hierarchy!(IWbemProviderIdentity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemProviderIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemProviderIdentity {} -impl ::core::fmt::Debug for IWbemProviderIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemProviderIdentity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemProviderIdentity { type Vtable = IWbemProviderIdentity_Vtbl; } -impl ::core::clone::Clone for IWbemProviderIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemProviderIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x631f7d97_d993_11d2_b339_00105a1f4aaf); } @@ -6096,6 +5107,7 @@ pub struct IWbemProviderIdentity_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemProviderInit(::windows_core::IUnknown); impl IWbemProviderInit { pub unsafe fn Initialize(&self, wszuser: P0, lflags: i32, wsznamespace: P1, wszlocale: P2, pnamespace: P3, pctx: P4, pinitsink: P5) -> ::windows_core::Result<()> @@ -6111,25 +5123,9 @@ impl IWbemProviderInit { } } ::windows_core::imp::interface_hierarchy!(IWbemProviderInit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemProviderInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemProviderInit {} -impl ::core::fmt::Debug for IWbemProviderInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemProviderInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemProviderInit { type Vtable = IWbemProviderInit_Vtbl; } -impl ::core::clone::Clone for IWbemProviderInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemProviderInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1be41572_91dd_11d1_aeb2_00c04fb68820); } @@ -6141,6 +5137,7 @@ pub struct IWbemProviderInit_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemProviderInitSink(::windows_core::IUnknown); impl IWbemProviderInitSink { pub unsafe fn SetStatus(&self, lstatus: i32, lflags: i32) -> ::windows_core::Result<()> { @@ -6148,25 +5145,9 @@ impl IWbemProviderInitSink { } } ::windows_core::imp::interface_hierarchy!(IWbemProviderInitSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemProviderInitSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemProviderInitSink {} -impl ::core::fmt::Debug for IWbemProviderInitSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemProviderInitSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemProviderInitSink { type Vtable = IWbemProviderInitSink_Vtbl; } -impl ::core::clone::Clone for IWbemProviderInitSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemProviderInitSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1be41571_91dd_11d1_aeb2_00c04fb68820); } @@ -6178,6 +5159,7 @@ pub struct IWbemProviderInitSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemQualifierSet(::windows_core::IUnknown); impl IWbemQualifierSet { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -6221,25 +5203,9 @@ impl IWbemQualifierSet { } } ::windows_core::imp::interface_hierarchy!(IWbemQualifierSet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemQualifierSet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemQualifierSet {} -impl ::core::fmt::Debug for IWbemQualifierSet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemQualifierSet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemQualifierSet { type Vtable = IWbemQualifierSet_Vtbl; } -impl ::core::clone::Clone for IWbemQualifierSet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemQualifierSet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc12a680_737f_11cf_884d_00aa004b2e24); } @@ -6269,6 +5235,7 @@ pub struct IWbemQualifierSet_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemQuery(::windows_core::IUnknown); impl IWbemQuery { pub unsafe fn Empty(&self) -> ::windows_core::Result<()> { @@ -6298,25 +5265,9 @@ impl IWbemQuery { } } ::windows_core::imp::interface_hierarchy!(IWbemQuery, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemQuery { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemQuery {} -impl ::core::fmt::Debug for IWbemQuery { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemQuery").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemQuery { type Vtable = IWbemQuery_Vtbl; } -impl ::core::clone::Clone for IWbemQuery { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemQuery { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81166f58_dd98_11d3_a120_00105a1f515a); } @@ -6334,6 +5285,7 @@ pub struct IWbemQuery_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemRefresher(::windows_core::IUnknown); impl IWbemRefresher { pub unsafe fn Refresh(&self, lflags: i32) -> ::windows_core::Result<()> { @@ -6341,25 +5293,9 @@ impl IWbemRefresher { } } ::windows_core::imp::interface_hierarchy!(IWbemRefresher, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemRefresher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemRefresher {} -impl ::core::fmt::Debug for IWbemRefresher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemRefresher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemRefresher { type Vtable = IWbemRefresher_Vtbl; } -impl ::core::clone::Clone for IWbemRefresher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemRefresher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49353c99_516b_11d1_aea6_00c04fb68820); } @@ -6371,6 +5307,7 @@ pub struct IWbemRefresher_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemServices(::windows_core::IUnknown); impl IWbemServices { pub unsafe fn OpenNamespace(&self, strnamespace: P0, lflags: i32, pctx: P1, ppworkingnamespace: ::core::option::Option<*mut ::core::option::Option>, ppresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> @@ -6554,25 +5491,9 @@ impl IWbemServices { } } ::windows_core::imp::interface_hierarchy!(IWbemServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemServices {} -impl ::core::fmt::Debug for IWbemServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemServices { type Vtable = IWbemServices_Vtbl; } -impl ::core::clone::Clone for IWbemServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9556dc99_828c_11cf_a37e_00aa003240c7); } @@ -6606,6 +5527,7 @@ pub struct IWbemServices_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemShutdown(::windows_core::IUnknown); impl IWbemShutdown { pub unsafe fn Shutdown(&self, ureason: i32, umaxmilliseconds: u32, pctx: P0) -> ::windows_core::Result<()> @@ -6616,25 +5538,9 @@ impl IWbemShutdown { } } ::windows_core::imp::interface_hierarchy!(IWbemShutdown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemShutdown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemShutdown {} -impl ::core::fmt::Debug for IWbemShutdown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemShutdown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemShutdown { type Vtable = IWbemShutdown_Vtbl; } -impl ::core::clone::Clone for IWbemShutdown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemShutdown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7b31df9_d515_11d3_a11c_00105a1f515a); } @@ -6646,6 +5552,7 @@ pub struct IWbemShutdown_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemStatusCodeText(::windows_core::IUnknown); impl IWbemStatusCodeText { pub unsafe fn GetErrorCodeText(&self, hres: ::windows_core::HRESULT, localeid: u32, lflags: i32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -6658,25 +5565,9 @@ impl IWbemStatusCodeText { } } ::windows_core::imp::interface_hierarchy!(IWbemStatusCodeText, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemStatusCodeText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemStatusCodeText {} -impl ::core::fmt::Debug for IWbemStatusCodeText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemStatusCodeText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemStatusCodeText { type Vtable = IWbemStatusCodeText_Vtbl; } -impl ::core::clone::Clone for IWbemStatusCodeText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemStatusCodeText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb87e1bc_3233_11d2_aec9_00c04fb68820); } @@ -6689,6 +5580,7 @@ pub struct IWbemStatusCodeText_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemTransport(::windows_core::IUnknown); impl IWbemTransport { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -6696,25 +5588,9 @@ impl IWbemTransport { } } ::windows_core::imp::interface_hierarchy!(IWbemTransport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemTransport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemTransport {} -impl ::core::fmt::Debug for IWbemTransport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemTransport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemTransport { type Vtable = IWbemTransport_Vtbl; } -impl ::core::clone::Clone for IWbemTransport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemTransport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x553fe584_2156_11d0_b6ae_00aa003240c7); } @@ -6726,6 +5602,7 @@ pub struct IWbemTransport_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemUnboundObjectSink(::windows_core::IUnknown); impl IWbemUnboundObjectSink { pub unsafe fn IndicateToConsumer(&self, plogicalconsumer: P0, apobjects: &[::core::option::Option]) -> ::windows_core::Result<()> @@ -6736,25 +5613,9 @@ impl IWbemUnboundObjectSink { } } ::windows_core::imp::interface_hierarchy!(IWbemUnboundObjectSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWbemUnboundObjectSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemUnboundObjectSink {} -impl ::core::fmt::Debug for IWbemUnboundObjectSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemUnboundObjectSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemUnboundObjectSink { type Vtable = IWbemUnboundObjectSink_Vtbl; } -impl ::core::clone::Clone for IWbemUnboundObjectSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemUnboundObjectSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe246107b_b06e_11d0_ad61_00c04fd8fdff); } @@ -6766,6 +5627,7 @@ pub struct IWbemUnboundObjectSink_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemUnsecuredApartment(::windows_core::IUnknown); impl IWbemUnsecuredApartment { pub unsafe fn CreateObjectStub(&self, pobject: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -6785,25 +5647,9 @@ impl IWbemUnsecuredApartment { } } ::windows_core::imp::interface_hierarchy!(IWbemUnsecuredApartment, ::windows_core::IUnknown, IUnsecuredApartment); -impl ::core::cmp::PartialEq for IWbemUnsecuredApartment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWbemUnsecuredApartment {} -impl ::core::fmt::Debug for IWbemUnsecuredApartment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWbemUnsecuredApartment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWbemUnsecuredApartment { type Vtable = IWbemUnsecuredApartment_Vtbl; } -impl ::core::clone::Clone for IWbemUnsecuredApartment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWbemUnsecuredApartment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31739d04_3471_4cf4_9a7c_57a44ae71956); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs index c44cfccd8f..714dbb6bd2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs @@ -12,8 +12,8 @@ impl IAccIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentityString: GetIdentityString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IAccPropServer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropValue: GetPropValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IAccPropServices_Vtbl { DecomposeHmenuIdentityString: DecomposeHmenuIdentityString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -409,8 +409,8 @@ impl IAccessible_Vtbl { put_accValue: put_accValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl IAccessibleEx_Vtbl { ConvertReturnedElement: ConvertReturnedElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl IAccessibleHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessibleObjectFromID: AccessibleObjectFromID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -542,8 +542,8 @@ impl IAccessibleHostingElementProviders_Vtbl { GetObjectIdForProvider: GetObjectIdForProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl IAccessibleWindowlessSite_Vtbl { GetParentAccessible: GetParentAccessible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -684,8 +684,8 @@ impl IAnnotationProvider_Vtbl { Target: Target::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -708,8 +708,8 @@ impl ICustomNavigationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -742,8 +742,8 @@ impl IDockProvider_Vtbl { DockPosition: DockPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -811,8 +811,8 @@ impl IDragProvider_Vtbl { GetGrabbedItems: GetGrabbedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -854,8 +854,8 @@ impl IDropTargetProvider_Vtbl { DropTargetEffects: DropTargetEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -895,8 +895,8 @@ impl IExpandCollapseProvider_Vtbl { ExpandCollapseState: ExpandCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IGridItemProvider_Vtbl { ContainingGrid: ContainingGrid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1027,8 +1027,8 @@ impl IGridProvider_Vtbl { ColumnCount: ColumnCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IInvokeProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IItemContainerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1253,8 +1253,8 @@ impl ILegacyIAccessibleProvider_Vtbl { DefaultAction: DefaultAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IMultipleViewProvider_Vtbl { GetSupportedViews: GetSupportedViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IObjectModelProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1361,8 +1361,8 @@ impl IProxyProviderWinEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RespondToWinEvent: RespondToWinEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1399,8 +1399,8 @@ impl IProxyProviderWinEventSink_Vtbl { AddStructureChangedEvent: AddStructureChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1501,8 +1501,8 @@ impl IRangeValueProvider_Vtbl { SmallChange: SmallChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1532,8 +1532,8 @@ impl IRawElementProviderAdviseEvents_Vtbl { AdviseEventRemoved: AdviseEventRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IRawElementProviderFragment_Vtbl { FragmentRoot: FragmentRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1661,8 +1661,8 @@ impl IRawElementProviderFragmentRoot_Vtbl { GetFocus: GetFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1688,8 +1688,8 @@ impl IRawElementProviderHostingAccessibles_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEmbeddedAccessibles: GetEmbeddedAccessibles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1718,8 +1718,8 @@ impl IRawElementProviderHwndOverride_Vtbl { GetOverrideProviderForHwnd: GetOverrideProviderForHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IRawElementProviderSimple_Vtbl { HostRawElementProvider: HostRawElementProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1808,8 +1808,8 @@ impl IRawElementProviderSimple2_Vtbl { } Self { base__: IRawElementProviderSimple_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1835,8 +1835,8 @@ impl IRawElementProviderSimple3_Vtbl { } Self { base__: IRawElementProviderSimple2_Vtbl::new::(), GetMetadataValue: GetMetadataValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1878,8 +1878,8 @@ impl IRawElementProviderWindowlessSite_Vtbl { GetRuntimeIdPrefix: GetRuntimeIdPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1906,8 +1906,8 @@ impl IRichEditUiaInformation_Vtbl { IsVisible: IsVisible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1930,8 +1930,8 @@ impl IRicheditWindowlessAccessibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProvider: CreateProvider:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1948,8 +1948,8 @@ impl IScrollItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IScrollProvider_Vtbl { VerticallyScrollable: VerticallyScrollable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2121,8 +2121,8 @@ impl ISelectionItemProvider_Vtbl { SelectionContainer: SelectionContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2177,8 +2177,8 @@ impl ISelectionProvider_Vtbl { IsSelectionRequired: IsSelectionRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2246,8 +2246,8 @@ impl ISelectionProvider2_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2302,8 +2302,8 @@ impl ISpreadsheetItemProvider_Vtbl { GetAnnotationTypes: GetAnnotationTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2326,8 +2326,8 @@ impl ISpreadsheetProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2431,8 +2431,8 @@ impl IStylesProvider_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2459,8 +2459,8 @@ impl ISynchronizedInputProvider_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl ITableItemProvider_Vtbl { GetColumnHeaderItems: GetColumnHeaderItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl ITableProvider_Vtbl { RowOrColumnMajor: RowOrColumnMajor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2598,8 +2598,8 @@ impl ITextChildProvider_Vtbl { TextRange: TextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2641,8 +2641,8 @@ impl ITextEditProvider_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2736,8 +2736,8 @@ impl ITextProvider_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2773,8 +2773,8 @@ impl ITextProvider2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2988,8 +2988,8 @@ impl ITextRangeProvider_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3009,8 +3009,8 @@ impl ITextRangeProvider2_Vtbl { } Self { base__: ITextRangeProvider_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -3043,8 +3043,8 @@ impl IToggleProvider_Vtbl { ToggleState: ToggleState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl ITransformProvider_Vtbl { CanRotate: CanRotate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3203,8 +3203,8 @@ impl ITransformProvider2_Vtbl { ZoomByUnit: ZoomByUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3851,8 +3851,8 @@ impl IUIAutomation_Vtbl { ElementFromIAccessibleBuildCache: ElementFromIAccessibleBuildCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3928,8 +3928,8 @@ impl IUIAutomation2_Vtbl { SetTransactionTimeout: SetTransactionTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3959,8 +3959,8 @@ impl IUIAutomation3_Vtbl { RemoveTextEditTextChangedEventHandler: RemoveTextEditTextChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3990,8 +3990,8 @@ impl IUIAutomation4_Vtbl { RemoveChangesEventHandler: RemoveChangesEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl IUIAutomation5_Vtbl { RemoveNotificationEventHandler: RemoveNotificationEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4119,8 +4119,8 @@ impl IUIAutomation6_Vtbl { RemoveActiveTextPositionChangedEventHandler: RemoveActiveTextPositionChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4140,8 +4140,8 @@ impl IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { HandleActiveTextPositionChangedEvent: HandleActiveTextPositionChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4190,8 +4190,8 @@ impl IUIAutomationAndCondition_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4334,8 +4334,8 @@ impl IUIAutomationAnnotationPattern_Vtbl { CachedTarget: CachedTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4361,8 +4361,8 @@ impl IUIAutomationBoolCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), BooleanValue: BooleanValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4462,8 +4462,8 @@ impl IUIAutomationCacheRequest_Vtbl { SetAutomationElementMode: SetAutomationElementMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4483,8 +4483,8 @@ impl IUIAutomationChangesEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleChangesEvent: HandleChangesEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4494,8 +4494,8 @@ impl IUIAutomationCondition_Vtbl { pub const fn new, Impl: IUIAutomationCondition_Impl, const OFFSET: isize>() -> IUIAutomationCondition_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4518,8 +4518,8 @@ impl IUIAutomationCustomNavigationPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4565,8 +4565,8 @@ impl IUIAutomationDockPattern_Vtbl { CachedDockPosition: CachedDockPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4686,8 +4686,8 @@ impl IUIAutomationDragPattern_Vtbl { GetCachedGrabbedItems: GetCachedGrabbedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4755,8 +4755,8 @@ impl IUIAutomationDropTargetPattern_Vtbl { CachedDropTargetEffects: CachedDropTargetEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5814,8 +5814,8 @@ impl IUIAutomationElement_Vtbl { GetClickablePoint: GetClickablePoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5909,8 +5909,8 @@ impl IUIAutomationElement2_Vtbl { CachedFlowsFrom: CachedFlowsFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5959,8 +5959,8 @@ impl IUIAutomationElement3_Vtbl { CachedIsPeripheral: CachedIsPeripheral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6106,8 +6106,8 @@ impl IUIAutomationElement4_Vtbl { CachedAnnotationObjects: CachedAnnotationObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6175,8 +6175,8 @@ impl IUIAutomationElement5_Vtbl { CachedLocalizedLandmarkType: CachedLocalizedLandmarkType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6218,8 +6218,8 @@ impl IUIAutomationElement6_Vtbl { CachedFullDescription: CachedFullDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6300,8 +6300,8 @@ impl IUIAutomationElement7_Vtbl { GetCurrentMetadataValue: GetCurrentMetadataValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6343,8 +6343,8 @@ impl IUIAutomationElement8_Vtbl { CachedHeadingLevel: CachedHeadingLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6386,8 +6386,8 @@ impl IUIAutomationElement9_Vtbl { CachedIsDialog: CachedIsDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6426,8 +6426,8 @@ impl IUIAutomationElementArray_Vtbl { GetElement: GetElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6444,8 +6444,8 @@ impl IUIAutomationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleAutomationEvent: HandleAutomationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6507,8 +6507,8 @@ impl IUIAutomationEventHandlerGroup_Vtbl { AddTextEditTextChangedEventHandler: AddTextEditTextChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6561,8 +6561,8 @@ impl IUIAutomationExpandCollapsePattern_Vtbl { CachedExpandCollapseState: CachedExpandCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6579,8 +6579,8 @@ impl IUIAutomationFocusChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleFocusChangedEvent: HandleFocusChangedEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6723,8 +6723,8 @@ impl IUIAutomationGridItemPattern_Vtbl { CachedColumnSpan: CachedColumnSpan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6802,8 +6802,8 @@ impl IUIAutomationGridPattern_Vtbl { CachedColumnCount: CachedColumnCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6820,8 +6820,8 @@ impl IUIAutomationInvokePattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6847,8 +6847,8 @@ impl IUIAutomationItemContainerPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7158,8 +7158,8 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { GetIAccessible: GetIAccessible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7247,8 +7247,8 @@ impl IUIAutomationMultipleViewPattern_Vtbl { GetCachedSupportedViews: GetCachedSupportedViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7271,8 +7271,8 @@ impl IUIAutomationNotCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), GetChild: GetChild:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7289,8 +7289,8 @@ impl IUIAutomationNotificationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleNotificationEvent: HandleNotificationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7313,8 +7313,8 @@ impl IUIAutomationObjectModelPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7363,8 +7363,8 @@ impl IUIAutomationOrCondition_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7397,8 +7397,8 @@ impl IUIAutomationPatternHandler_Vtbl { Dispatch: Dispatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7428,8 +7428,8 @@ impl IUIAutomationPatternInstance_Vtbl { CallMethod: CallMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7452,8 +7452,8 @@ impl IUIAutomationPropertyChangedEventHandler_Vtbl { HandlePropertyChangedEvent: HandlePropertyChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7508,8 +7508,8 @@ impl IUIAutomationPropertyCondition_Vtbl { PropertyConditionFlags: PropertyConditionFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7551,8 +7551,8 @@ impl IUIAutomationProxyFactory_Vtbl { ProxyFactoryId: ProxyFactoryId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7701,8 +7701,8 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { GetWinEventsForAutomationEvent: GetWinEventsForAutomationEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7799,8 +7799,8 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { RestoreDefaultTable: RestoreDefaultTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7979,8 +7979,8 @@ impl IUIAutomationRangeValuePattern_Vtbl { CachedSmallChange: CachedSmallChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8029,8 +8029,8 @@ impl IUIAutomationRegistrar_Vtbl { RegisterPattern: RegisterPattern::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8047,8 +8047,8 @@ impl IUIAutomationScrollItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8234,8 +8234,8 @@ impl IUIAutomationScrollPattern_Vtbl { CachedVerticallyScrollable: CachedVerticallyScrollable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8324,8 +8324,8 @@ impl IUIAutomationSelectionItemPattern_Vtbl { CachedSelectionContainer: CachedSelectionContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8419,8 +8419,8 @@ impl IUIAutomationSelectionPattern_Vtbl { CachedIsSelectionRequired: CachedIsSelectionRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8540,8 +8540,8 @@ impl IUIAutomationSelectionPattern2_Vtbl { CachedItemCount: CachedItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8635,8 +8635,8 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { GetCachedAnnotationTypes: GetCachedAnnotationTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8659,8 +8659,8 @@ impl IUIAutomationSpreadsheetPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8683,8 +8683,8 @@ impl IUIAutomationStructureChangedEventHandler_Vtbl { HandleStructureChangedEvent: HandleStructureChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8893,8 +8893,8 @@ impl IUIAutomationStylesPattern_Vtbl { GetCachedExtendedPropertiesAsArray: GetCachedExtendedPropertiesAsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8921,8 +8921,8 @@ impl IUIAutomationSynchronizedInputPattern_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8987,8 +8987,8 @@ impl IUIAutomationTableItemPattern_Vtbl { GetCachedColumnHeaderItems: GetCachedColumnHeaderItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9079,8 +9079,8 @@ impl IUIAutomationTablePattern_Vtbl { CachedRowOrColumnMajor: CachedRowOrColumnMajor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9119,8 +9119,8 @@ impl IUIAutomationTextChildPattern_Vtbl { TextRange: TextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9162,8 +9162,8 @@ impl IUIAutomationTextEditPattern_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9186,8 +9186,8 @@ impl IUIAutomationTextEditTextChangedEventHandler_Vtbl { HandleTextEditTextChangedEvent: HandleTextEditTextChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9281,8 +9281,8 @@ impl IUIAutomationTextPattern_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9318,8 +9318,8 @@ impl IUIAutomationTextPattern2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9533,8 +9533,8 @@ impl IUIAutomationTextRange_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9554,8 +9554,8 @@ impl IUIAutomationTextRange2_Vtbl { } Self { base__: IUIAutomationTextRange_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9610,8 +9610,8 @@ impl IUIAutomationTextRange3_Vtbl { GetAttributeValues: GetAttributeValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9650,8 +9650,8 @@ impl IUIAutomationTextRangeArray_Vtbl { GetElement: GetElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9697,8 +9697,8 @@ impl IUIAutomationTogglePattern_Vtbl { CachedToggleState: CachedToggleState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9813,8 +9813,8 @@ impl IUIAutomationTransformPattern_Vtbl { CachedCanRotate: CachedCanRotate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9948,8 +9948,8 @@ impl IUIAutomationTransformPattern2_Vtbl { CachedZoomMaximum: CachedZoomMaximum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10131,8 +10131,8 @@ impl IUIAutomationTreeWalker_Vtbl { Condition: Condition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10207,8 +10207,8 @@ impl IUIAutomationValuePattern_Vtbl { CachedIsReadOnly: CachedIsReadOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10225,8 +10225,8 @@ impl IUIAutomationVirtualizedItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10425,8 +10425,8 @@ impl IUIAutomationWindowPattern_Vtbl { CachedWindowInteractionState: CachedWindowInteractionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10475,8 +10475,8 @@ impl IValueProvider_Vtbl { IsReadOnly: IsReadOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10493,8 +10493,8 @@ impl IVirtualizedItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10615,7 +10615,7 @@ impl IWindowProvider_Vtbl { IsTopmost: IsTopmost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index 549645f125..e41321470a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -1140,6 +1140,7 @@ where } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccIdentity(::windows_core::IUnknown); impl IAccIdentity { pub unsafe fn GetIdentityString(&self, dwidchild: u32, ppidstring: *mut *mut u8, pdwidstringlen: *mut u32) -> ::windows_core::Result<()> { @@ -1147,25 +1148,9 @@ impl IAccIdentity { } } ::windows_core::imp::interface_hierarchy!(IAccIdentity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccIdentity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccIdentity {} -impl ::core::fmt::Debug for IAccIdentity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccIdentity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccIdentity { type Vtable = IAccIdentity_Vtbl; } -impl ::core::clone::Clone for IAccIdentity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccIdentity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7852b78d_1cfd_41c1_a615_9c0c85960b5f); } @@ -1177,6 +1162,7 @@ pub struct IAccIdentity_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccPropServer(::windows_core::IUnknown); impl IAccPropServer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1186,25 +1172,9 @@ impl IAccPropServer { } } ::windows_core::imp::interface_hierarchy!(IAccPropServer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccPropServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccPropServer {} -impl ::core::fmt::Debug for IAccPropServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccPropServer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccPropServer { type Vtable = IAccPropServer_Vtbl; } -impl ::core::clone::Clone for IAccPropServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccPropServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76c0dbbb_15e0_4e7b_b61b_20eeea2001e0); } @@ -1219,6 +1189,7 @@ pub struct IAccPropServer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccPropServices(::windows_core::IUnknown); impl IAccPropServices { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -1331,25 +1302,9 @@ impl IAccPropServices { } } ::windows_core::imp::interface_hierarchy!(IAccPropServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccPropServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccPropServices {} -impl ::core::fmt::Debug for IAccPropServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccPropServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccPropServices { type Vtable = IAccPropServices_Vtbl; } -impl ::core::clone::Clone for IAccPropServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccPropServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e26e776_04f0_495d_80e4_3330352e3169); } @@ -1415,6 +1370,7 @@ pub struct IAccPropServices_Vtbl { #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessible(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAccessible { @@ -1546,30 +1502,10 @@ impl IAccessible { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAccessible, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAccessible { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAccessible {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAccessible { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessible").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAccessible { type Vtable = IAccessible_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAccessible { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAccessible { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x618736e0_3c3d_11cf_810c_00aa00389b71); } @@ -1662,6 +1598,7 @@ pub struct IAccessible_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleEx(::windows_core::IUnknown); impl IAccessibleEx { pub unsafe fn GetObjectForChild(&self, idchild: i32) -> ::windows_core::Result { @@ -1688,25 +1625,9 @@ impl IAccessibleEx { } } ::windows_core::imp::interface_hierarchy!(IAccessibleEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibleEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibleEx {} -impl ::core::fmt::Debug for IAccessibleEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibleEx { type Vtable = IAccessibleEx_Vtbl; } -impl ::core::clone::Clone for IAccessibleEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibleEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf8b80ada_2c44_48d0_89be_5ff23c9cd875); } @@ -1727,6 +1648,7 @@ pub struct IAccessibleEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleHandler(::windows_core::IUnknown); impl IAccessibleHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1737,25 +1659,9 @@ impl IAccessibleHandler { } } ::windows_core::imp::interface_hierarchy!(IAccessibleHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibleHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibleHandler {} -impl ::core::fmt::Debug for IAccessibleHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibleHandler { type Vtable = IAccessibleHandler_Vtbl; } -impl ::core::clone::Clone for IAccessibleHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibleHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03022430_abc4_11d0_bde2_00aa001a1953); } @@ -1770,6 +1676,7 @@ pub struct IAccessibleHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleHostingElementProviders(::windows_core::IUnknown); impl IAccessibleHostingElementProviders { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1787,25 +1694,9 @@ impl IAccessibleHostingElementProviders { } } ::windows_core::imp::interface_hierarchy!(IAccessibleHostingElementProviders, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibleHostingElementProviders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibleHostingElementProviders {} -impl ::core::fmt::Debug for IAccessibleHostingElementProviders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleHostingElementProviders").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibleHostingElementProviders { type Vtable = IAccessibleHostingElementProviders_Vtbl; } -impl ::core::clone::Clone for IAccessibleHostingElementProviders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibleHostingElementProviders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33ac331b_943e_4020_b295_db37784974a3); } @@ -1821,6 +1712,7 @@ pub struct IAccessibleHostingElementProviders_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleWindowlessSite(::windows_core::IUnknown); impl IAccessibleWindowlessSite { pub unsafe fn AcquireObjectIdRange(&self, rangesize: i32, prangeowner: P0) -> ::windows_core::Result @@ -1853,25 +1745,9 @@ impl IAccessibleWindowlessSite { } } ::windows_core::imp::interface_hierarchy!(IAccessibleWindowlessSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibleWindowlessSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibleWindowlessSite {} -impl ::core::fmt::Debug for IAccessibleWindowlessSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleWindowlessSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibleWindowlessSite { type Vtable = IAccessibleWindowlessSite_Vtbl; } -impl ::core::clone::Clone for IAccessibleWindowlessSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibleWindowlessSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf3abd9c_76da_4389_9eb6_1427d25abab7); } @@ -1892,6 +1768,7 @@ pub struct IAccessibleWindowlessSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnnotationProvider(::windows_core::IUnknown); impl IAnnotationProvider { pub unsafe fn AnnotationTypeId(&self) -> ::windows_core::Result { @@ -1916,25 +1793,9 @@ impl IAnnotationProvider { } } ::windows_core::imp::interface_hierarchy!(IAnnotationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAnnotationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAnnotationProvider {} -impl ::core::fmt::Debug for IAnnotationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnnotationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAnnotationProvider { type Vtable = IAnnotationProvider_Vtbl; } -impl ::core::clone::Clone for IAnnotationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnnotationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf95c7e80_bd63_4601_9782_445ebff011fc); } @@ -1950,6 +1811,7 @@ pub struct IAnnotationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomNavigationProvider(::windows_core::IUnknown); impl ICustomNavigationProvider { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows_core::Result { @@ -1958,25 +1820,9 @@ impl ICustomNavigationProvider { } } ::windows_core::imp::interface_hierarchy!(ICustomNavigationProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICustomNavigationProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICustomNavigationProvider {} -impl ::core::fmt::Debug for ICustomNavigationProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICustomNavigationProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICustomNavigationProvider { type Vtable = ICustomNavigationProvider_Vtbl; } -impl ::core::clone::Clone for ICustomNavigationProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomNavigationProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2062a28a_8c07_4b94_8e12_7037c622aeb8); } @@ -1988,6 +1834,7 @@ pub struct ICustomNavigationProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDockProvider(::windows_core::IUnknown); impl IDockProvider { pub unsafe fn SetDockPosition(&self, dockposition: DockPosition) -> ::windows_core::Result<()> { @@ -1999,25 +1846,9 @@ impl IDockProvider { } } ::windows_core::imp::interface_hierarchy!(IDockProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDockProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDockProvider {} -impl ::core::fmt::Debug for IDockProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDockProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDockProvider { type Vtable = IDockProvider_Vtbl; } -impl ::core::clone::Clone for IDockProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDockProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x159bc72c_4ad3_485e_9637_d7052edf0146); } @@ -2030,6 +1861,7 @@ pub struct IDockProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDragProvider(::windows_core::IUnknown); impl IDragProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2056,25 +1888,9 @@ impl IDragProvider { } } ::windows_core::imp::interface_hierarchy!(IDragProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDragProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDragProvider {} -impl ::core::fmt::Debug for IDragProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDragProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDragProvider { type Vtable = IDragProvider_Vtbl; } -impl ::core::clone::Clone for IDragProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDragProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aa7bbbb_7ff9_497d_904f_d20b897929d8); } @@ -2098,6 +1914,7 @@ pub struct IDragProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropTargetProvider(::windows_core::IUnknown); impl IDropTargetProvider { pub unsafe fn DropTargetEffect(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2112,25 +1929,9 @@ impl IDropTargetProvider { } } ::windows_core::imp::interface_hierarchy!(IDropTargetProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDropTargetProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDropTargetProvider {} -impl ::core::fmt::Debug for IDropTargetProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDropTargetProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDropTargetProvider { type Vtable = IDropTargetProvider_Vtbl; } -impl ::core::clone::Clone for IDropTargetProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropTargetProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbae82bfd_358a_481c_85a0_d8b4d90a5d61); } @@ -2146,6 +1947,7 @@ pub struct IDropTargetProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExpandCollapseProvider(::windows_core::IUnknown); impl IExpandCollapseProvider { pub unsafe fn Expand(&self) -> ::windows_core::Result<()> { @@ -2160,25 +1962,9 @@ impl IExpandCollapseProvider { } } ::windows_core::imp::interface_hierarchy!(IExpandCollapseProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExpandCollapseProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExpandCollapseProvider {} -impl ::core::fmt::Debug for IExpandCollapseProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExpandCollapseProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExpandCollapseProvider { type Vtable = IExpandCollapseProvider_Vtbl; } -impl ::core::clone::Clone for IExpandCollapseProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExpandCollapseProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd847d3a5_cab0_4a98_8c32_ecb45c59ad24); } @@ -2192,6 +1978,7 @@ pub struct IExpandCollapseProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGridItemProvider(::windows_core::IUnknown); impl IGridItemProvider { pub unsafe fn Row(&self) -> ::windows_core::Result { @@ -2216,25 +2003,9 @@ impl IGridItemProvider { } } ::windows_core::imp::interface_hierarchy!(IGridItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGridItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGridItemProvider {} -impl ::core::fmt::Debug for IGridItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGridItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGridItemProvider { type Vtable = IGridItemProvider_Vtbl; } -impl ::core::clone::Clone for IGridItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGridItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd02541f1_fb81_4d64_ae32_f520f8a6dbd1); } @@ -2250,6 +2021,7 @@ pub struct IGridItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGridProvider(::windows_core::IUnknown); impl IGridProvider { pub unsafe fn GetItem(&self, row: i32, column: i32) -> ::windows_core::Result { @@ -2266,25 +2038,9 @@ impl IGridProvider { } } ::windows_core::imp::interface_hierarchy!(IGridProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGridProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGridProvider {} -impl ::core::fmt::Debug for IGridProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGridProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGridProvider { type Vtable = IGridProvider_Vtbl; } -impl ::core::clone::Clone for IGridProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGridProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb17d6187_0907_464b_a168_0ef17a1572b1); } @@ -2298,6 +2054,7 @@ pub struct IGridProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInvokeProvider(::windows_core::IUnknown); impl IInvokeProvider { pub unsafe fn Invoke(&self) -> ::windows_core::Result<()> { @@ -2305,25 +2062,9 @@ impl IInvokeProvider { } } ::windows_core::imp::interface_hierarchy!(IInvokeProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInvokeProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInvokeProvider {} -impl ::core::fmt::Debug for IInvokeProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInvokeProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInvokeProvider { type Vtable = IInvokeProvider_Vtbl; } -impl ::core::clone::Clone for IInvokeProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInvokeProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54fcb24b_e18e_47a2_b4d3_eccbe77599a2); } @@ -2335,6 +2076,7 @@ pub struct IInvokeProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IItemContainerProvider(::windows_core::IUnknown); impl IItemContainerProvider { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2348,25 +2090,9 @@ impl IItemContainerProvider { } } ::windows_core::imp::interface_hierarchy!(IItemContainerProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IItemContainerProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IItemContainerProvider {} -impl ::core::fmt::Debug for IItemContainerProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IItemContainerProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IItemContainerProvider { type Vtable = IItemContainerProvider_Vtbl; } -impl ::core::clone::Clone for IItemContainerProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IItemContainerProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe747770b_39ce_4382_ab30_d8fb3f336f24); } @@ -2381,6 +2107,7 @@ pub struct IItemContainerProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILegacyIAccessibleProvider(::windows_core::IUnknown); impl ILegacyIAccessibleProvider { pub unsafe fn Select(&self, flagsselect: i32) -> ::windows_core::Result<()> { @@ -2445,25 +2172,9 @@ impl ILegacyIAccessibleProvider { } } ::windows_core::imp::interface_hierarchy!(ILegacyIAccessibleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILegacyIAccessibleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILegacyIAccessibleProvider {} -impl ::core::fmt::Debug for ILegacyIAccessibleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILegacyIAccessibleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILegacyIAccessibleProvider { type Vtable = ILegacyIAccessibleProvider_Vtbl; } -impl ::core::clone::Clone for ILegacyIAccessibleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILegacyIAccessibleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe44c3566_915d_4070_99c6_047bff5a08f5); } @@ -2494,6 +2205,7 @@ pub struct ILegacyIAccessibleProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMultipleViewProvider(::windows_core::IUnknown); impl IMultipleViewProvider { pub unsafe fn GetViewName(&self, viewid: i32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2515,25 +2227,9 @@ impl IMultipleViewProvider { } } ::windows_core::imp::interface_hierarchy!(IMultipleViewProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMultipleViewProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMultipleViewProvider {} -impl ::core::fmt::Debug for IMultipleViewProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMultipleViewProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMultipleViewProvider { type Vtable = IMultipleViewProvider_Vtbl; } -impl ::core::clone::Clone for IMultipleViewProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMultipleViewProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6278cab1_b556_4a1a_b4e0_418acc523201); } @@ -2551,6 +2247,7 @@ pub struct IMultipleViewProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectModelProvider(::windows_core::IUnknown); impl IObjectModelProvider { pub unsafe fn GetUnderlyingObjectModel(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2559,25 +2256,9 @@ impl IObjectModelProvider { } } ::windows_core::imp::interface_hierarchy!(IObjectModelProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectModelProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectModelProvider {} -impl ::core::fmt::Debug for IObjectModelProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectModelProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectModelProvider { type Vtable = IObjectModelProvider_Vtbl; } -impl ::core::clone::Clone for IObjectModelProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectModelProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3ad86ebd_f5ef_483d_bb18_b1042a475d64); } @@ -2589,6 +2270,7 @@ pub struct IObjectModelProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProxyProviderWinEventHandler(::windows_core::IUnknown); impl IProxyProviderWinEventHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2602,25 +2284,9 @@ impl IProxyProviderWinEventHandler { } } ::windows_core::imp::interface_hierarchy!(IProxyProviderWinEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProxyProviderWinEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProxyProviderWinEventHandler {} -impl ::core::fmt::Debug for IProxyProviderWinEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProxyProviderWinEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProxyProviderWinEventHandler { type Vtable = IProxyProviderWinEventHandler_Vtbl; } -impl ::core::clone::Clone for IProxyProviderWinEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProxyProviderWinEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89592ad4_f4e0_43d5_a3b6_bad7e111b435); } @@ -2635,6 +2301,7 @@ pub struct IProxyProviderWinEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProxyProviderWinEventSink(::windows_core::IUnknown); impl IProxyProviderWinEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -2661,25 +2328,9 @@ impl IProxyProviderWinEventSink { } } ::windows_core::imp::interface_hierarchy!(IProxyProviderWinEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProxyProviderWinEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProxyProviderWinEventSink {} -impl ::core::fmt::Debug for IProxyProviderWinEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProxyProviderWinEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProxyProviderWinEventSink { type Vtable = IProxyProviderWinEventSink_Vtbl; } -impl ::core::clone::Clone for IProxyProviderWinEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProxyProviderWinEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fd82b78_a43e_46ac_9803_0a6969c7c183); } @@ -2699,6 +2350,7 @@ pub struct IProxyProviderWinEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRangeValueProvider(::windows_core::IUnknown); impl IRangeValueProvider { pub unsafe fn SetValue(&self, val: f64) -> ::windows_core::Result<()> { @@ -2732,25 +2384,9 @@ impl IRangeValueProvider { } } ::windows_core::imp::interface_hierarchy!(IRangeValueProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRangeValueProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRangeValueProvider {} -impl ::core::fmt::Debug for IRangeValueProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRangeValueProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRangeValueProvider { type Vtable = IRangeValueProvider_Vtbl; } -impl ::core::clone::Clone for IRangeValueProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRangeValueProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36dc7aef_33e6_4691_afe1_2be7274b3d33); } @@ -2771,6 +2407,7 @@ pub struct IRangeValueProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderAdviseEvents(::windows_core::IUnknown); impl IRawElementProviderAdviseEvents { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2785,25 +2422,9 @@ impl IRawElementProviderAdviseEvents { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderAdviseEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderAdviseEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderAdviseEvents {} -impl ::core::fmt::Debug for IRawElementProviderAdviseEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderAdviseEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderAdviseEvents { type Vtable = IRawElementProviderAdviseEvents_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderAdviseEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderAdviseEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa407b27b_0f6d_4427_9292_473c7bf93258); } @@ -2822,6 +2443,7 @@ pub struct IRawElementProviderAdviseEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderFragment(::windows_core::IUnknown); impl IRawElementProviderFragment { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows_core::Result { @@ -2853,25 +2475,9 @@ impl IRawElementProviderFragment { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderFragment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderFragment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderFragment {} -impl ::core::fmt::Debug for IRawElementProviderFragment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderFragment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderFragment { type Vtable = IRawElementProviderFragment_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderFragment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderFragment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf7063da8_8359_439c_9297_bbc5299a7d87); } @@ -2894,6 +2500,7 @@ pub struct IRawElementProviderFragment_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderFragmentRoot(::windows_core::IUnknown); impl IRawElementProviderFragmentRoot { pub unsafe fn ElementProviderFromPoint(&self, x: f64, y: f64) -> ::windows_core::Result { @@ -2906,25 +2513,9 @@ impl IRawElementProviderFragmentRoot { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderFragmentRoot, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderFragmentRoot { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderFragmentRoot {} -impl ::core::fmt::Debug for IRawElementProviderFragmentRoot { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderFragmentRoot").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderFragmentRoot { type Vtable = IRawElementProviderFragmentRoot_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderFragmentRoot { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderFragmentRoot { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x620ce2a5_ab8f_40a9_86cb_de3c75599b58); } @@ -2937,6 +2528,7 @@ pub struct IRawElementProviderFragmentRoot_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderHostingAccessibles(::windows_core::IUnknown); impl IRawElementProviderHostingAccessibles { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -2947,25 +2539,9 @@ impl IRawElementProviderHostingAccessibles { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderHostingAccessibles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderHostingAccessibles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderHostingAccessibles {} -impl ::core::fmt::Debug for IRawElementProviderHostingAccessibles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderHostingAccessibles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderHostingAccessibles { type Vtable = IRawElementProviderHostingAccessibles_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderHostingAccessibles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderHostingAccessibles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24be0b07_d37d_487a_98cf_a13ed465e9b3); } @@ -2980,6 +2556,7 @@ pub struct IRawElementProviderHostingAccessibles_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderHwndOverride(::windows_core::IUnknown); impl IRawElementProviderHwndOverride { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2993,25 +2570,9 @@ impl IRawElementProviderHwndOverride { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderHwndOverride, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderHwndOverride { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderHwndOverride {} -impl ::core::fmt::Debug for IRawElementProviderHwndOverride { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderHwndOverride").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderHwndOverride { type Vtable = IRawElementProviderHwndOverride_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderHwndOverride { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderHwndOverride { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d5df27c_8947_4425_b8d9_79787bb460b8); } @@ -3026,6 +2587,7 @@ pub struct IRawElementProviderHwndOverride_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderSimple(::windows_core::IUnknown); impl IRawElementProviderSimple { pub unsafe fn ProviderOptions(&self) -> ::windows_core::Result { @@ -3048,25 +2610,9 @@ impl IRawElementProviderSimple { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderSimple, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderSimple { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderSimple {} -impl ::core::fmt::Debug for IRawElementProviderSimple { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderSimple").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderSimple { type Vtable = IRawElementProviderSimple_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderSimple { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderSimple { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6dd68d1_86fd_4332_8666_9abedea2d24c); } @@ -3084,6 +2630,7 @@ pub struct IRawElementProviderSimple_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderSimple2(::windows_core::IUnknown); impl IRawElementProviderSimple2 { pub unsafe fn ProviderOptions(&self) -> ::windows_core::Result { @@ -3109,25 +2656,9 @@ impl IRawElementProviderSimple2 { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderSimple2, ::windows_core::IUnknown, IRawElementProviderSimple); -impl ::core::cmp::PartialEq for IRawElementProviderSimple2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderSimple2 {} -impl ::core::fmt::Debug for IRawElementProviderSimple2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderSimple2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderSimple2 { type Vtable = IRawElementProviderSimple2_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderSimple2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderSimple2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0a839a9_8da1_4a82_806a_8e0d44e79f56); } @@ -3139,6 +2670,7 @@ pub struct IRawElementProviderSimple2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderSimple3(::windows_core::IUnknown); impl IRawElementProviderSimple3 { pub unsafe fn ProviderOptions(&self) -> ::windows_core::Result { @@ -3170,25 +2702,9 @@ impl IRawElementProviderSimple3 { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderSimple3, ::windows_core::IUnknown, IRawElementProviderSimple, IRawElementProviderSimple2); -impl ::core::cmp::PartialEq for IRawElementProviderSimple3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderSimple3 {} -impl ::core::fmt::Debug for IRawElementProviderSimple3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderSimple3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderSimple3 { type Vtable = IRawElementProviderSimple3_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderSimple3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderSimple3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcf5d820_d7ec_4613_bdf6_42a84ce7daaf); } @@ -3203,6 +2719,7 @@ pub struct IRawElementProviderSimple3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRawElementProviderWindowlessSite(::windows_core::IUnknown); impl IRawElementProviderWindowlessSite { pub unsafe fn GetAdjacentFragment(&self, direction: NavigateDirection) -> ::windows_core::Result { @@ -3217,25 +2734,9 @@ impl IRawElementProviderWindowlessSite { } } ::windows_core::imp::interface_hierarchy!(IRawElementProviderWindowlessSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRawElementProviderWindowlessSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRawElementProviderWindowlessSite {} -impl ::core::fmt::Debug for IRawElementProviderWindowlessSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRawElementProviderWindowlessSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRawElementProviderWindowlessSite { type Vtable = IRawElementProviderWindowlessSite_Vtbl; } -impl ::core::clone::Clone for IRawElementProviderWindowlessSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRawElementProviderWindowlessSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a2a93cc_bfad_42ac_9b2e_0991fb0d3ea0); } @@ -3251,6 +2752,7 @@ pub struct IRawElementProviderWindowlessSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRichEditUiaInformation(::windows_core::IUnknown); impl IRichEditUiaInformation { pub unsafe fn GetBoundaryRectangle(&self, puiarect: *mut UiaRect) -> ::windows_core::Result<()> { @@ -3261,25 +2763,9 @@ impl IRichEditUiaInformation { } } ::windows_core::imp::interface_hierarchy!(IRichEditUiaInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRichEditUiaInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRichEditUiaInformation {} -impl ::core::fmt::Debug for IRichEditUiaInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRichEditUiaInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRichEditUiaInformation { type Vtable = IRichEditUiaInformation_Vtbl; } -impl ::core::clone::Clone for IRichEditUiaInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRichEditUiaInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3292,6 +2778,7 @@ pub struct IRichEditUiaInformation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRicheditWindowlessAccessibility(::windows_core::IUnknown); impl IRicheditWindowlessAccessibility { pub unsafe fn CreateProvider(&self, psite: P0) -> ::windows_core::Result @@ -3303,25 +2790,9 @@ impl IRicheditWindowlessAccessibility { } } ::windows_core::imp::interface_hierarchy!(IRicheditWindowlessAccessibility, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRicheditWindowlessAccessibility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRicheditWindowlessAccessibility {} -impl ::core::fmt::Debug for IRicheditWindowlessAccessibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRicheditWindowlessAccessibility").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRicheditWindowlessAccessibility { type Vtable = IRicheditWindowlessAccessibility_Vtbl; } -impl ::core::clone::Clone for IRicheditWindowlessAccessibility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRicheditWindowlessAccessibility { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3333,6 +2804,7 @@ pub struct IRicheditWindowlessAccessibility_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScrollItemProvider(::windows_core::IUnknown); impl IScrollItemProvider { pub unsafe fn ScrollIntoView(&self) -> ::windows_core::Result<()> { @@ -3340,25 +2812,9 @@ impl IScrollItemProvider { } } ::windows_core::imp::interface_hierarchy!(IScrollItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScrollItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollItemProvider {} -impl ::core::fmt::Debug for IScrollItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScrollItemProvider { type Vtable = IScrollItemProvider_Vtbl; } -impl ::core::clone::Clone for IScrollItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScrollItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2360c714_4bf1_4b26_ba65_9b21316127eb); } @@ -3370,6 +2826,7 @@ pub struct IScrollItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScrollProvider(::windows_core::IUnknown); impl IScrollProvider { pub unsafe fn Scroll(&self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount) -> ::windows_core::Result<()> { @@ -3408,25 +2865,9 @@ impl IScrollProvider { } } ::windows_core::imp::interface_hierarchy!(IScrollProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScrollProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollProvider {} -impl ::core::fmt::Debug for IScrollProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScrollProvider { type Vtable = IScrollProvider_Vtbl; } -impl ::core::clone::Clone for IScrollProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScrollProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb38b8077_1fc3_42a5_8cae_d40c2215055a); } @@ -3451,6 +2892,7 @@ pub struct IScrollProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectionItemProvider(::windows_core::IUnknown); impl ISelectionItemProvider { pub unsafe fn Select(&self) -> ::windows_core::Result<()> { @@ -3474,25 +2916,9 @@ impl ISelectionItemProvider { } } ::windows_core::imp::interface_hierarchy!(ISelectionItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISelectionItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectionItemProvider {} -impl ::core::fmt::Debug for ISelectionItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectionItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISelectionItemProvider { type Vtable = ISelectionItemProvider_Vtbl; } -impl ::core::clone::Clone for ISelectionItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectionItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2acad808_b2d4_452d_a407_91ff1ad167b2); } @@ -3511,6 +2937,7 @@ pub struct ISelectionItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectionProvider(::windows_core::IUnknown); impl ISelectionProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3533,25 +2960,9 @@ impl ISelectionProvider { } } ::windows_core::imp::interface_hierarchy!(ISelectionProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISelectionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectionProvider {} -impl ::core::fmt::Debug for ISelectionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectionProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISelectionProvider { type Vtable = ISelectionProvider_Vtbl; } -impl ::core::clone::Clone for ISelectionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb8b03af_3bdf_48d4_bd36_1a65793be168); } @@ -3574,6 +2985,7 @@ pub struct ISelectionProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISelectionProvider2(::windows_core::IUnknown); impl ISelectionProvider2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3612,25 +3024,9 @@ impl ISelectionProvider2 { } } ::windows_core::imp::interface_hierarchy!(ISelectionProvider2, ::windows_core::IUnknown, ISelectionProvider); -impl ::core::cmp::PartialEq for ISelectionProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISelectionProvider2 {} -impl ::core::fmt::Debug for ISelectionProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISelectionProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISelectionProvider2 { type Vtable = ISelectionProvider2_Vtbl; } -impl ::core::clone::Clone for ISelectionProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISelectionProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14f68475_ee1c_44f6_a869_d239381f0fe7); } @@ -3645,6 +3041,7 @@ pub struct ISelectionProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpreadsheetItemProvider(::windows_core::IUnknown); impl ISpreadsheetItemProvider { pub unsafe fn Formula(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -3665,25 +3062,9 @@ impl ISpreadsheetItemProvider { } } ::windows_core::imp::interface_hierarchy!(ISpreadsheetItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpreadsheetItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpreadsheetItemProvider {} -impl ::core::fmt::Debug for ISpreadsheetItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpreadsheetItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpreadsheetItemProvider { type Vtable = ISpreadsheetItemProvider_Vtbl; } -impl ::core::clone::Clone for ISpreadsheetItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpreadsheetItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeaed4660_7b3d_4879_a2e6_365ce603f3d0); } @@ -3703,6 +3084,7 @@ pub struct ISpreadsheetItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpreadsheetProvider(::windows_core::IUnknown); impl ISpreadsheetProvider { pub unsafe fn GetItemByName(&self, name: P0) -> ::windows_core::Result @@ -3714,25 +3096,9 @@ impl ISpreadsheetProvider { } } ::windows_core::imp::interface_hierarchy!(ISpreadsheetProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpreadsheetProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpreadsheetProvider {} -impl ::core::fmt::Debug for ISpreadsheetProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpreadsheetProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpreadsheetProvider { type Vtable = ISpreadsheetProvider_Vtbl; } -impl ::core::clone::Clone for ISpreadsheetProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpreadsheetProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f6b5d35_5525_4f80_b758_85473832ffc7); } @@ -3744,6 +3110,7 @@ pub struct ISpreadsheetProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStylesProvider(::windows_core::IUnknown); impl IStylesProvider { pub unsafe fn StyleId(&self) -> ::windows_core::Result { @@ -3776,25 +3143,9 @@ impl IStylesProvider { } } ::windows_core::imp::interface_hierarchy!(IStylesProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStylesProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStylesProvider {} -impl ::core::fmt::Debug for IStylesProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStylesProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStylesProvider { type Vtable = IStylesProvider_Vtbl; } -impl ::core::clone::Clone for IStylesProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStylesProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19b6b649_f5d7_4a6d_bdcb_129252be588a); } @@ -3812,6 +3163,7 @@ pub struct IStylesProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISynchronizedInputProvider(::windows_core::IUnknown); impl ISynchronizedInputProvider { pub unsafe fn StartListening(&self, inputtype: SynchronizedInputType) -> ::windows_core::Result<()> { @@ -3822,25 +3174,9 @@ impl ISynchronizedInputProvider { } } ::windows_core::imp::interface_hierarchy!(ISynchronizedInputProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISynchronizedInputProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISynchronizedInputProvider {} -impl ::core::fmt::Debug for ISynchronizedInputProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISynchronizedInputProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISynchronizedInputProvider { type Vtable = ISynchronizedInputProvider_Vtbl; } -impl ::core::clone::Clone for ISynchronizedInputProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISynchronizedInputProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29db1a06_02ce_4cf7_9b42_565d4fab20ee); } @@ -3853,6 +3189,7 @@ pub struct ISynchronizedInputProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableItemProvider(::windows_core::IUnknown); impl ITableItemProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3869,25 +3206,9 @@ impl ITableItemProvider { } } ::windows_core::imp::interface_hierarchy!(ITableItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITableItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableItemProvider {} -impl ::core::fmt::Debug for ITableItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableItemProvider { type Vtable = ITableItemProvider_Vtbl; } -impl ::core::clone::Clone for ITableItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9734fa6_771f_4d78_9c90_2517999349cd); } @@ -3906,6 +3227,7 @@ pub struct ITableItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITableProvider(::windows_core::IUnknown); impl ITableProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3926,25 +3248,9 @@ impl ITableProvider { } } ::windows_core::imp::interface_hierarchy!(ITableProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITableProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITableProvider {} -impl ::core::fmt::Debug for ITableProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITableProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITableProvider { type Vtable = ITableProvider_Vtbl; } -impl ::core::clone::Clone for ITableProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITableProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c860395_97b3_490a_b52a_858cc22af166); } @@ -3964,6 +3270,7 @@ pub struct ITableProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextChildProvider(::windows_core::IUnknown); impl ITextChildProvider { pub unsafe fn TextContainer(&self) -> ::windows_core::Result { @@ -3976,25 +3283,9 @@ impl ITextChildProvider { } } ::windows_core::imp::interface_hierarchy!(ITextChildProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextChildProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextChildProvider {} -impl ::core::fmt::Debug for ITextChildProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextChildProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextChildProvider { type Vtable = ITextChildProvider_Vtbl; } -impl ::core::clone::Clone for ITextChildProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextChildProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c2de2b9_c88f_4f88_a111_f1d336b7d1a9); } @@ -4007,6 +3298,7 @@ pub struct ITextChildProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextEditProvider(::windows_core::IUnknown); impl ITextEditProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4050,25 +3342,9 @@ impl ITextEditProvider { } } ::windows_core::imp::interface_hierarchy!(ITextEditProvider, ::windows_core::IUnknown, ITextProvider); -impl ::core::cmp::PartialEq for ITextEditProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextEditProvider {} -impl ::core::fmt::Debug for ITextEditProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextEditProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextEditProvider { type Vtable = ITextEditProvider_Vtbl; } -impl ::core::clone::Clone for ITextEditProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextEditProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea3605b4_3a05_400e_b5f9_4e91b40f6176); } @@ -4081,6 +3357,7 @@ pub struct ITextEditProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextProvider(::windows_core::IUnknown); impl ITextProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4116,25 +3393,9 @@ impl ITextProvider { } } ::windows_core::imp::interface_hierarchy!(ITextProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextProvider {} -impl ::core::fmt::Debug for ITextProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextProvider { type Vtable = ITextProvider_Vtbl; } -impl ::core::clone::Clone for ITextProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3589c92c_63f3_4367_99bb_ada653b77cf2); } @@ -4157,6 +3418,7 @@ pub struct ITextProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextProvider2(::windows_core::IUnknown); impl ITextProvider2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -4204,25 +3466,9 @@ impl ITextProvider2 { } } ::windows_core::imp::interface_hierarchy!(ITextProvider2, ::windows_core::IUnknown, ITextProvider); -impl ::core::cmp::PartialEq for ITextProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextProvider2 {} -impl ::core::fmt::Debug for ITextProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextProvider2 { type Vtable = ITextProvider2_Vtbl; } -impl ::core::clone::Clone for ITextProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dc5e6ed_3e16_4bf1_8f9a_a979878bc195); } @@ -4238,6 +3484,7 @@ pub struct ITextProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRangeProvider(::windows_core::IUnknown); impl ITextRangeProvider { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -4342,25 +3589,9 @@ impl ITextRangeProvider { } } ::windows_core::imp::interface_hierarchy!(ITextRangeProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextRangeProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextRangeProvider {} -impl ::core::fmt::Debug for ITextRangeProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRangeProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextRangeProvider { type Vtable = ITextRangeProvider_Vtbl; } -impl ::core::clone::Clone for ITextRangeProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextRangeProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5347ad7b_c355_46f8_aff5_909033582f63); } @@ -4410,6 +3641,7 @@ pub struct ITextRangeProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRangeProvider2(::windows_core::IUnknown); impl ITextRangeProvider2 { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -4516,26 +3748,10 @@ impl ITextRangeProvider2 { (::windows_core::Interface::vtable(self).ShowContextMenu)(::windows_core::Interface::as_raw(self)).ok() } } -::windows_core::imp::interface_hierarchy!(ITextRangeProvider2, ::windows_core::IUnknown, ITextRangeProvider); -impl ::core::cmp::PartialEq for ITextRangeProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextRangeProvider2 {} -impl ::core::fmt::Debug for ITextRangeProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRangeProvider2").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(ITextRangeProvider2, ::windows_core::IUnknown, ITextRangeProvider); unsafe impl ::windows_core::Interface for ITextRangeProvider2 { type Vtable = ITextRangeProvider2_Vtbl; } -impl ::core::clone::Clone for ITextRangeProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextRangeProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bbce42c_1921_4f18_89ca_dba1910a0386); } @@ -4547,6 +3763,7 @@ pub struct ITextRangeProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IToggleProvider(::windows_core::IUnknown); impl IToggleProvider { pub unsafe fn Toggle(&self) -> ::windows_core::Result<()> { @@ -4558,25 +3775,9 @@ impl IToggleProvider { } } ::windows_core::imp::interface_hierarchy!(IToggleProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IToggleProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IToggleProvider {} -impl ::core::fmt::Debug for IToggleProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IToggleProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IToggleProvider { type Vtable = IToggleProvider_Vtbl; } -impl ::core::clone::Clone for IToggleProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IToggleProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56d00bd0_c4f4_433c_a836_1a52a57e0892); } @@ -4589,6 +3790,7 @@ pub struct IToggleProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransformProvider(::windows_core::IUnknown); impl ITransformProvider { pub unsafe fn Move(&self, x: f64, y: f64) -> ::windows_core::Result<()> { @@ -4620,25 +3822,9 @@ impl ITransformProvider { } } ::windows_core::imp::interface_hierarchy!(ITransformProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransformProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransformProvider {} -impl ::core::fmt::Debug for ITransformProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransformProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransformProvider { type Vtable = ITransformProvider_Vtbl; } -impl ::core::clone::Clone for ITransformProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransformProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6829ddc4_4f91_4ffa_b86f_bd3e2987cb4c); } @@ -4664,6 +3850,7 @@ pub struct ITransformProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransformProvider2(::windows_core::IUnknown); impl ITransformProvider2 { pub unsafe fn Move(&self, x: f64, y: f64) -> ::windows_core::Result<()> { @@ -4719,25 +3906,9 @@ impl ITransformProvider2 { } } ::windows_core::imp::interface_hierarchy!(ITransformProvider2, ::windows_core::IUnknown, ITransformProvider); -impl ::core::cmp::PartialEq for ITransformProvider2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransformProvider2 {} -impl ::core::fmt::Debug for ITransformProvider2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransformProvider2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransformProvider2 { type Vtable = ITransformProvider2_Vtbl; } -impl ::core::clone::Clone for ITransformProvider2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransformProvider2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4758742f_7ac2_460c_bc48_09fc09308a93); } @@ -4757,6 +3928,7 @@ pub struct ITransformProvider2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation(::windows_core::IUnknown); impl IUIAutomation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5098,25 +4270,9 @@ impl IUIAutomation { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation {} -impl ::core::fmt::Debug for IUIAutomation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation { type Vtable = IUIAutomation_Vtbl; } -impl ::core::clone::Clone for IUIAutomation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30cbe57d_d9d0_452a_ab13_7ac5ac4825ee); } @@ -5245,6 +4401,7 @@ pub struct IUIAutomation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation2(::windows_core::IUnknown); impl IUIAutomation2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5614,25 +4771,9 @@ impl IUIAutomation2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation2, ::windows_core::IUnknown, IUIAutomation); -impl ::core::cmp::PartialEq for IUIAutomation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation2 {} -impl ::core::fmt::Debug for IUIAutomation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation2 { type Vtable = IUIAutomation2_Vtbl; } -impl ::core::clone::Clone for IUIAutomation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34723aff_0c9d_49d0_9896_7ab52df8cd8a); } @@ -5655,6 +4796,7 @@ pub struct IUIAutomation2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation3(::windows_core::IUnknown); impl IUIAutomation3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6039,25 +5181,9 @@ impl IUIAutomation3 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation3, ::windows_core::IUnknown, IUIAutomation, IUIAutomation2); -impl ::core::cmp::PartialEq for IUIAutomation3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation3 {} -impl ::core::fmt::Debug for IUIAutomation3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation3 { type Vtable = IUIAutomation3_Vtbl; } -impl ::core::clone::Clone for IUIAutomation3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73d768da_9b51_4b89_936e_c209290973e7); } @@ -6070,6 +5196,7 @@ pub struct IUIAutomation3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation4(::windows_core::IUnknown); impl IUIAutomation4 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6469,25 +5596,9 @@ impl IUIAutomation4 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation4, ::windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3); -impl ::core::cmp::PartialEq for IUIAutomation4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation4 {} -impl ::core::fmt::Debug for IUIAutomation4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation4 { type Vtable = IUIAutomation4_Vtbl; } -impl ::core::clone::Clone for IUIAutomation4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1189c02a_05f8_4319_8e21_e817e3db2860); } @@ -6500,6 +5611,7 @@ pub struct IUIAutomation4_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation5(::windows_core::IUnknown); impl IUIAutomation5 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6914,25 +6026,9 @@ impl IUIAutomation5 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation5, ::windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4); -impl ::core::cmp::PartialEq for IUIAutomation5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation5 {} -impl ::core::fmt::Debug for IUIAutomation5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation5 { type Vtable = IUIAutomation5_Vtbl; } -impl ::core::clone::Clone for IUIAutomation5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25f700c8_d816_4057_a9dc_3cbdee77e256); } @@ -6945,6 +6041,7 @@ pub struct IUIAutomation5_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomation6(::windows_core::IUnknown); impl IUIAutomation6 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7406,25 +6503,9 @@ impl IUIAutomation6 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomation6, ::windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4, IUIAutomation5); -impl ::core::cmp::PartialEq for IUIAutomation6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomation6 {} -impl ::core::fmt::Debug for IUIAutomation6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomation6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomation6 { type Vtable = IUIAutomation6_Vtbl; } -impl ::core::clone::Clone for IUIAutomation6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomation6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaae072da_29e3_413d_87a7_192dbf81ed10); } @@ -7444,6 +6525,7 @@ pub struct IUIAutomation6_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationActiveTextPositionChangedEventHandler(::windows_core::IUnknown); impl IUIAutomationActiveTextPositionChangedEventHandler { pub unsafe fn HandleActiveTextPositionChangedEvent(&self, sender: P0, range: P1) -> ::windows_core::Result<()> @@ -7455,25 +6537,9 @@ impl IUIAutomationActiveTextPositionChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationActiveTextPositionChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationActiveTextPositionChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationActiveTextPositionChangedEventHandler {} -impl ::core::fmt::Debug for IUIAutomationActiveTextPositionChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationActiveTextPositionChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationActiveTextPositionChangedEventHandler { type Vtable = IUIAutomationActiveTextPositionChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationActiveTextPositionChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationActiveTextPositionChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf97933b0_8dae_4496_8997_5ba015fe0d82); } @@ -7485,6 +6551,7 @@ pub struct IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationAndCondition(::windows_core::IUnknown); impl IUIAutomationAndCondition { pub unsafe fn ChildCount(&self) -> ::windows_core::Result { @@ -7502,25 +6569,9 @@ impl IUIAutomationAndCondition { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationAndCondition, ::windows_core::IUnknown, IUIAutomationCondition); -impl ::core::cmp::PartialEq for IUIAutomationAndCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationAndCondition {} -impl ::core::fmt::Debug for IUIAutomationAndCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationAndCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationAndCondition { type Vtable = IUIAutomationAndCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationAndCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationAndCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7d0af36_b912_45fe_9855_091ddc174aec); } @@ -7537,6 +6588,7 @@ pub struct IUIAutomationAndCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationAnnotationPattern(::windows_core::IUnknown); impl IUIAutomationAnnotationPattern { pub unsafe fn CurrentAnnotationTypeId(&self) -> ::windows_core::Result { @@ -7581,25 +6633,9 @@ impl IUIAutomationAnnotationPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationAnnotationPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationAnnotationPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationAnnotationPattern {} -impl ::core::fmt::Debug for IUIAutomationAnnotationPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationAnnotationPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationAnnotationPattern { type Vtable = IUIAutomationAnnotationPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationAnnotationPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationAnnotationPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a175b21_339e_41b1_8e8b_623f6b681098); } @@ -7620,6 +6656,7 @@ pub struct IUIAutomationAnnotationPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationBoolCondition(::windows_core::IUnknown); impl IUIAutomationBoolCondition { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7630,25 +6667,9 @@ impl IUIAutomationBoolCondition { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationBoolCondition, ::windows_core::IUnknown, IUIAutomationCondition); -impl ::core::cmp::PartialEq for IUIAutomationBoolCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationBoolCondition {} -impl ::core::fmt::Debug for IUIAutomationBoolCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationBoolCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationBoolCondition { type Vtable = IUIAutomationBoolCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationBoolCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationBoolCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b4e1f2e_75eb_4d0b_8952_5a69988e2307); } @@ -7663,6 +6684,7 @@ pub struct IUIAutomationBoolCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationCacheRequest(::windows_core::IUnknown); impl IUIAutomationCacheRequest { pub unsafe fn AddProperty(&self, propertyid: UIA_PROPERTY_ID) -> ::windows_core::Result<()> { @@ -7701,25 +6723,9 @@ impl IUIAutomationCacheRequest { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationCacheRequest, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationCacheRequest { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationCacheRequest {} -impl ::core::fmt::Debug for IUIAutomationCacheRequest { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationCacheRequest").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationCacheRequest { type Vtable = IUIAutomationCacheRequest_Vtbl; } -impl ::core::clone::Clone for IUIAutomationCacheRequest { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationCacheRequest { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb32a92b5_bc25_4078_9c08_d7ee95c48e03); } @@ -7739,6 +6745,7 @@ pub struct IUIAutomationCacheRequest_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationChangesEventHandler(::windows_core::IUnknown); impl IUIAutomationChangesEventHandler { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -7751,25 +6758,9 @@ impl IUIAutomationChangesEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationChangesEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationChangesEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationChangesEventHandler {} -impl ::core::fmt::Debug for IUIAutomationChangesEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationChangesEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationChangesEventHandler { type Vtable = IUIAutomationChangesEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationChangesEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationChangesEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58edca55_2c3e_4980_b1b9_56c17f27a2a0); } @@ -7784,28 +6775,13 @@ pub struct IUIAutomationChangesEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationCondition(::windows_core::IUnknown); impl IUIAutomationCondition {} ::windows_core::imp::interface_hierarchy!(IUIAutomationCondition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationCondition {} -impl ::core::fmt::Debug for IUIAutomationCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationCondition { type Vtable = IUIAutomationCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x352ffba8_0973_437c_a61f_f64cafd81df9); } @@ -7816,6 +6792,7 @@ pub struct IUIAutomationCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationCustomNavigationPattern(::windows_core::IUnknown); impl IUIAutomationCustomNavigationPattern { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> ::windows_core::Result { @@ -7824,25 +6801,9 @@ impl IUIAutomationCustomNavigationPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationCustomNavigationPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationCustomNavigationPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationCustomNavigationPattern {} -impl ::core::fmt::Debug for IUIAutomationCustomNavigationPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationCustomNavigationPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationCustomNavigationPattern { type Vtable = IUIAutomationCustomNavigationPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationCustomNavigationPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationCustomNavigationPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01ea217a_1766_47ed_a6cc_acf492854b1f); } @@ -7854,6 +6815,7 @@ pub struct IUIAutomationCustomNavigationPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationDockPattern(::windows_core::IUnknown); impl IUIAutomationDockPattern { pub unsafe fn SetDockPosition(&self, dockpos: DockPosition) -> ::windows_core::Result<()> { @@ -7869,25 +6831,9 @@ impl IUIAutomationDockPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationDockPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationDockPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationDockPattern {} -impl ::core::fmt::Debug for IUIAutomationDockPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationDockPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationDockPattern { type Vtable = IUIAutomationDockPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationDockPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationDockPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfde5ef97_1464_48f6_90bf_43d0948e86ec); } @@ -7901,6 +6847,7 @@ pub struct IUIAutomationDockPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationDragPattern(::windows_core::IUnknown); impl IUIAutomationDragPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7945,25 +6892,9 @@ impl IUIAutomationDragPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationDragPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationDragPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationDragPattern {} -impl ::core::fmt::Debug for IUIAutomationDragPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationDragPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationDragPattern { type Vtable = IUIAutomationDragPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationDragPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationDragPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dc7b570_1f54_4bad_bcda_d36a722fb7bd); } @@ -7994,6 +6925,7 @@ pub struct IUIAutomationDragPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationDropTargetPattern(::windows_core::IUnknown); impl IUIAutomationDropTargetPattern { pub unsafe fn CurrentDropTargetEffect(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -8018,25 +6950,9 @@ impl IUIAutomationDropTargetPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationDropTargetPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationDropTargetPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationDropTargetPattern {} -impl ::core::fmt::Debug for IUIAutomationDropTargetPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationDropTargetPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationDropTargetPattern { type Vtable = IUIAutomationDropTargetPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationDropTargetPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationDropTargetPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x69a095f7_eee4_430e_a46b_fb73b1ae39a5); } @@ -8057,6 +6973,7 @@ pub struct IUIAutomationDropTargetPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement(::windows_core::IUnknown); impl IUIAutomationElement { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -8472,25 +7389,9 @@ impl IUIAutomationElement { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement {} -impl ::core::fmt::Debug for IUIAutomationElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement { type Vtable = IUIAutomationElement_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd22108aa_8ac5_49a5_837b_37bbb3d7591e); } @@ -8667,6 +7568,7 @@ pub struct IUIAutomationElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement2(::windows_core::IUnknown); impl IUIAutomationElement2 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -9110,25 +8012,9 @@ impl IUIAutomationElement2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement2, ::windows_core::IUnknown, IUIAutomationElement); -impl ::core::cmp::PartialEq for IUIAutomationElement2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement2 {} -impl ::core::fmt::Debug for IUIAutomationElement2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement2 { type Vtable = IUIAutomationElement2_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6749c683_f70d_4487_a698_5f79d55290d6); } @@ -9151,6 +8037,7 @@ pub struct IUIAutomationElement2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement3(::windows_core::IUnknown); impl IUIAutomationElement3 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -9609,25 +8496,9 @@ impl IUIAutomationElement3 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement3, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2); -impl ::core::cmp::PartialEq for IUIAutomationElement3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement3 {} -impl ::core::fmt::Debug for IUIAutomationElement3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement3 { type Vtable = IUIAutomationElement3_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8471df34_aee0_4a01_a7de_7db9af12c296); } @@ -9647,6 +8518,7 @@ pub struct IUIAutomationElement3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement4(::windows_core::IUnknown); impl IUIAutomationElement4 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -10149,25 +9021,9 @@ impl IUIAutomationElement4 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement4, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3); -impl ::core::cmp::PartialEq for IUIAutomationElement4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement4 {} -impl ::core::fmt::Debug for IUIAutomationElement4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement4 { type Vtable = IUIAutomationElement4_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b6e233c_52fb_4063_a4c9_77c075c2a06b); } @@ -10194,6 +9050,7 @@ pub struct IUIAutomationElement4_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement5(::windows_core::IUnknown); impl IUIAutomationElement5 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -10712,25 +9569,9 @@ impl IUIAutomationElement5 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement5, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4); -impl ::core::cmp::PartialEq for IUIAutomationElement5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement5 {} -impl ::core::fmt::Debug for IUIAutomationElement5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement5").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement5 { type Vtable = IUIAutomationElement5_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98141c1d_0d0e_4175_bbe2_6bff455842a7); } @@ -10745,6 +9586,7 @@ pub struct IUIAutomationElement5_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement6(::windows_core::IUnknown); impl IUIAutomationElement6 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -11271,25 +10113,9 @@ impl IUIAutomationElement6 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement6, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5); -impl ::core::cmp::PartialEq for IUIAutomationElement6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement6 {} -impl ::core::fmt::Debug for IUIAutomationElement6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement6").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement6 { type Vtable = IUIAutomationElement6_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4780d450_8bca_4977_afa5_a4a517f555e3); } @@ -11302,6 +10128,7 @@ pub struct IUIAutomationElement6_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement7(::windows_core::IUnknown); impl IUIAutomationElement7 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -11868,25 +10695,9 @@ impl IUIAutomationElement7 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement7, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6); -impl ::core::cmp::PartialEq for IUIAutomationElement7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement7 {} -impl ::core::fmt::Debug for IUIAutomationElement7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement7").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement7 { type Vtable = IUIAutomationElement7_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x204e8572_cfc3_4c11_b0c8_7da7420750b7); } @@ -11905,6 +10716,7 @@ pub struct IUIAutomationElement7_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement8(::windows_core::IUnknown); impl IUIAutomationElement8 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -12474,30 +11286,14 @@ impl IUIAutomationElement8 { (::windows_core::Interface::vtable(self).CurrentHeadingLevel)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } pub unsafe fn CachedHeadingLevel(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).CachedHeadingLevel)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IUIAutomationElement8, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); -impl ::core::cmp::PartialEq for IUIAutomationElement8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement8 {} -impl ::core::fmt::Debug for IUIAutomationElement8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement8").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).CachedHeadingLevel)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IUIAutomationElement8, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); unsafe impl ::windows_core::Interface for IUIAutomationElement8 { type Vtable = IUIAutomationElement8_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c60217d_5411_4cde_bcc0_1ceda223830c); } @@ -12510,6 +11306,7 @@ pub struct IUIAutomationElement8_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElement9(::windows_core::IUnknown); impl IUIAutomationElement9 { pub unsafe fn SetFocus(&self) -> ::windows_core::Result<()> { @@ -13096,25 +11893,9 @@ impl IUIAutomationElement9 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElement9, ::windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7, IUIAutomationElement8); -impl ::core::cmp::PartialEq for IUIAutomationElement9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElement9 {} -impl ::core::fmt::Debug for IUIAutomationElement9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElement9").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElement9 { type Vtable = IUIAutomationElement9_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElement9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElement9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39325fac_039d_440e_a3a3_5eb81a5cecc3); } @@ -13133,6 +11914,7 @@ pub struct IUIAutomationElement9_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationElementArray(::windows_core::IUnknown); impl IUIAutomationElementArray { pub unsafe fn Length(&self) -> ::windows_core::Result { @@ -13145,25 +11927,9 @@ impl IUIAutomationElementArray { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationElementArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationElementArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationElementArray {} -impl ::core::fmt::Debug for IUIAutomationElementArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationElementArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationElementArray { type Vtable = IUIAutomationElementArray_Vtbl; } -impl ::core::clone::Clone for IUIAutomationElementArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationElementArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14314595_b4bc_4055_95f2_58f2e42c9855); } @@ -13176,6 +11942,7 @@ pub struct IUIAutomationElementArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationEventHandler(::windows_core::IUnknown); impl IUIAutomationEventHandler { pub unsafe fn HandleAutomationEvent(&self, sender: P0, eventid: UIA_EVENT_ID) -> ::windows_core::Result<()> @@ -13186,25 +11953,9 @@ impl IUIAutomationEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationEventHandler {} -impl ::core::fmt::Debug for IUIAutomationEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationEventHandler { type Vtable = IUIAutomationEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x146c3c17_f12e_4e22_8c27_f894b9b79c69); } @@ -13216,6 +11967,7 @@ pub struct IUIAutomationEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationEventHandlerGroup(::windows_core::IUnknown); impl IUIAutomationEventHandlerGroup { pub unsafe fn AddActiveTextPositionChangedEventHandler(&self, scope: TreeScope, cacherequest: P0, handler: P1) -> ::windows_core::Result<()> @@ -13269,25 +12021,9 @@ impl IUIAutomationEventHandlerGroup { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationEventHandlerGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationEventHandlerGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationEventHandlerGroup {} -impl ::core::fmt::Debug for IUIAutomationEventHandlerGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationEventHandlerGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationEventHandlerGroup { type Vtable = IUIAutomationEventHandlerGroup_Vtbl; } -impl ::core::clone::Clone for IUIAutomationEventHandlerGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationEventHandlerGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc9ee12f2_c13b_4408_997c_639914377f4e); } @@ -13305,6 +12041,7 @@ pub struct IUIAutomationEventHandlerGroup_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationExpandCollapsePattern(::windows_core::IUnknown); impl IUIAutomationExpandCollapsePattern { pub unsafe fn Expand(&self) -> ::windows_core::Result<()> { @@ -13323,25 +12060,9 @@ impl IUIAutomationExpandCollapsePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationExpandCollapsePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationExpandCollapsePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationExpandCollapsePattern {} -impl ::core::fmt::Debug for IUIAutomationExpandCollapsePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationExpandCollapsePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationExpandCollapsePattern { type Vtable = IUIAutomationExpandCollapsePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationExpandCollapsePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationExpandCollapsePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x619be086_1f4e_4ee4_bafa_210128738730); } @@ -13356,6 +12077,7 @@ pub struct IUIAutomationExpandCollapsePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationFocusChangedEventHandler(::windows_core::IUnknown); impl IUIAutomationFocusChangedEventHandler { pub unsafe fn HandleFocusChangedEvent(&self, sender: P0) -> ::windows_core::Result<()> @@ -13366,25 +12088,9 @@ impl IUIAutomationFocusChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationFocusChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationFocusChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationFocusChangedEventHandler {} -impl ::core::fmt::Debug for IUIAutomationFocusChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationFocusChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationFocusChangedEventHandler { type Vtable = IUIAutomationFocusChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationFocusChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationFocusChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc270f6b5_5c69_4290_9745_7a7f97169468); } @@ -13396,6 +12102,7 @@ pub struct IUIAutomationFocusChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationGridItemPattern(::windows_core::IUnknown); impl IUIAutomationGridItemPattern { pub unsafe fn CurrentContainingGrid(&self) -> ::windows_core::Result { @@ -13440,25 +12147,9 @@ impl IUIAutomationGridItemPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationGridItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationGridItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationGridItemPattern {} -impl ::core::fmt::Debug for IUIAutomationGridItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationGridItemPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationGridItemPattern { type Vtable = IUIAutomationGridItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationGridItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationGridItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78f8ef57_66c3_4e09_bd7c_e79b2004894d); } @@ -13479,6 +12170,7 @@ pub struct IUIAutomationGridItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationGridPattern(::windows_core::IUnknown); impl IUIAutomationGridPattern { pub unsafe fn GetItem(&self, row: i32, column: i32) -> ::windows_core::Result { @@ -13503,25 +12195,9 @@ impl IUIAutomationGridPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationGridPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationGridPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationGridPattern {} -impl ::core::fmt::Debug for IUIAutomationGridPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationGridPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationGridPattern { type Vtable = IUIAutomationGridPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationGridPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationGridPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x414c3cdc_856b_4f5b_8538_3131c6302550); } @@ -13537,6 +12213,7 @@ pub struct IUIAutomationGridPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationInvokePattern(::windows_core::IUnknown); impl IUIAutomationInvokePattern { pub unsafe fn Invoke(&self) -> ::windows_core::Result<()> { @@ -13544,25 +12221,9 @@ impl IUIAutomationInvokePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationInvokePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationInvokePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationInvokePattern {} -impl ::core::fmt::Debug for IUIAutomationInvokePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationInvokePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationInvokePattern { type Vtable = IUIAutomationInvokePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationInvokePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationInvokePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb377fbe_8ea6_46d5_9c73_6499642d3059); } @@ -13574,6 +12235,7 @@ pub struct IUIAutomationInvokePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationItemContainerPattern(::windows_core::IUnknown); impl IUIAutomationItemContainerPattern { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -13587,25 +12249,9 @@ impl IUIAutomationItemContainerPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationItemContainerPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationItemContainerPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationItemContainerPattern {} -impl ::core::fmt::Debug for IUIAutomationItemContainerPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationItemContainerPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationItemContainerPattern { type Vtable = IUIAutomationItemContainerPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationItemContainerPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationItemContainerPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc690fdb2_27a8_423c_812d_429773c9084e); } @@ -13620,6 +12266,7 @@ pub struct IUIAutomationItemContainerPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationLegacyIAccessiblePattern(::windows_core::IUnknown); impl IUIAutomationLegacyIAccessiblePattern { pub unsafe fn Select(&self, flagsselect: i32) -> ::windows_core::Result<()> { @@ -13722,25 +12369,9 @@ impl IUIAutomationLegacyIAccessiblePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationLegacyIAccessiblePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationLegacyIAccessiblePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationLegacyIAccessiblePattern {} -impl ::core::fmt::Debug for IUIAutomationLegacyIAccessiblePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationLegacyIAccessiblePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationLegacyIAccessiblePattern { type Vtable = IUIAutomationLegacyIAccessiblePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationLegacyIAccessiblePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationLegacyIAccessiblePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x828055ad_355b_4435_86d5_3b51c14a9b1b); } @@ -13778,6 +12409,7 @@ pub struct IUIAutomationLegacyIAccessiblePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationMultipleViewPattern(::windows_core::IUnknown); impl IUIAutomationMultipleViewPattern { pub unsafe fn GetViewName(&self, view: i32) -> ::windows_core::Result<::windows_core::BSTR> { @@ -13809,25 +12441,9 @@ impl IUIAutomationMultipleViewPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationMultipleViewPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationMultipleViewPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationMultipleViewPattern {} -impl ::core::fmt::Debug for IUIAutomationMultipleViewPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationMultipleViewPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationMultipleViewPattern { type Vtable = IUIAutomationMultipleViewPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationMultipleViewPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationMultipleViewPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d253c91_1dc5_4bb5_b18f_ade16fa495e8); } @@ -13850,6 +12466,7 @@ pub struct IUIAutomationMultipleViewPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationNotCondition(::windows_core::IUnknown); impl IUIAutomationNotCondition { pub unsafe fn GetChild(&self) -> ::windows_core::Result { @@ -13858,25 +12475,9 @@ impl IUIAutomationNotCondition { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationNotCondition, ::windows_core::IUnknown, IUIAutomationCondition); -impl ::core::cmp::PartialEq for IUIAutomationNotCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationNotCondition {} -impl ::core::fmt::Debug for IUIAutomationNotCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationNotCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationNotCondition { type Vtable = IUIAutomationNotCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationNotCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationNotCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf528b657_847b_498c_8896_d52b565407a1); } @@ -13888,6 +12489,7 @@ pub struct IUIAutomationNotCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationNotificationEventHandler(::windows_core::IUnknown); impl IUIAutomationNotificationEventHandler { pub unsafe fn HandleNotificationEvent(&self, sender: P0, notificationkind: NotificationKind, notificationprocessing: NotificationProcessing, displaystring: P1, activityid: P2) -> ::windows_core::Result<()> @@ -13900,25 +12502,9 @@ impl IUIAutomationNotificationEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationNotificationEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationNotificationEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationNotificationEventHandler {} -impl ::core::fmt::Debug for IUIAutomationNotificationEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationNotificationEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationNotificationEventHandler { type Vtable = IUIAutomationNotificationEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationNotificationEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationNotificationEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7cb2637_e6c2_4d0c_85de_4948c02175c7); } @@ -13930,6 +12516,7 @@ pub struct IUIAutomationNotificationEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationObjectModelPattern(::windows_core::IUnknown); impl IUIAutomationObjectModelPattern { pub unsafe fn GetUnderlyingObjectModel(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -13938,25 +12525,9 @@ impl IUIAutomationObjectModelPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationObjectModelPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationObjectModelPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationObjectModelPattern {} -impl ::core::fmt::Debug for IUIAutomationObjectModelPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationObjectModelPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationObjectModelPattern { type Vtable = IUIAutomationObjectModelPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationObjectModelPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationObjectModelPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c284b3_c14d_4d14_981e_19751b0d756d); } @@ -13968,6 +12539,7 @@ pub struct IUIAutomationObjectModelPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationOrCondition(::windows_core::IUnknown); impl IUIAutomationOrCondition { pub unsafe fn ChildCount(&self) -> ::windows_core::Result { @@ -13985,25 +12557,9 @@ impl IUIAutomationOrCondition { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationOrCondition, ::windows_core::IUnknown, IUIAutomationCondition); -impl ::core::cmp::PartialEq for IUIAutomationOrCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationOrCondition {} -impl ::core::fmt::Debug for IUIAutomationOrCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationOrCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationOrCondition { type Vtable = IUIAutomationOrCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationOrCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationOrCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8753f032_3db1_47b5_a1fc_6e34a266c712); } @@ -14020,6 +12576,7 @@ pub struct IUIAutomationOrCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationPatternHandler(::windows_core::IUnknown); impl IUIAutomationPatternHandler { pub unsafe fn CreateClientWrapper(&self, ppatterninstance: P0) -> ::windows_core::Result<::windows_core::IUnknown> @@ -14037,25 +12594,9 @@ impl IUIAutomationPatternHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationPatternHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationPatternHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationPatternHandler {} -impl ::core::fmt::Debug for IUIAutomationPatternHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationPatternHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationPatternHandler { type Vtable = IUIAutomationPatternHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationPatternHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationPatternHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd97022f3_a947_465e_8b2a_ac4315fa54e8); } @@ -14068,6 +12609,7 @@ pub struct IUIAutomationPatternHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationPatternInstance(::windows_core::IUnknown); impl IUIAutomationPatternInstance { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14083,25 +12625,9 @@ impl IUIAutomationPatternInstance { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationPatternInstance, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationPatternInstance { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationPatternInstance {} -impl ::core::fmt::Debug for IUIAutomationPatternInstance { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationPatternInstance").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationPatternInstance { type Vtable = IUIAutomationPatternInstance_Vtbl; } -impl ::core::clone::Clone for IUIAutomationPatternInstance { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationPatternInstance { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc03a7fe4_9431_409f_bed8_ae7c2299bc8d); } @@ -14117,6 +12643,7 @@ pub struct IUIAutomationPatternInstance_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationPropertyChangedEventHandler(::windows_core::IUnknown); impl IUIAutomationPropertyChangedEventHandler { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -14129,25 +12656,9 @@ impl IUIAutomationPropertyChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationPropertyChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationPropertyChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationPropertyChangedEventHandler {} -impl ::core::fmt::Debug for IUIAutomationPropertyChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationPropertyChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationPropertyChangedEventHandler { type Vtable = IUIAutomationPropertyChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationPropertyChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationPropertyChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40cd37d4_c756_4b0c_8c6f_bddfeeb13b50); } @@ -14162,6 +12673,7 @@ pub struct IUIAutomationPropertyChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationPropertyCondition(::windows_core::IUnknown); impl IUIAutomationPropertyCondition { pub unsafe fn PropertyId(&self) -> ::windows_core::Result { @@ -14180,25 +12692,9 @@ impl IUIAutomationPropertyCondition { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationPropertyCondition, ::windows_core::IUnknown, IUIAutomationCondition); -impl ::core::cmp::PartialEq for IUIAutomationPropertyCondition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationPropertyCondition {} -impl ::core::fmt::Debug for IUIAutomationPropertyCondition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationPropertyCondition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationPropertyCondition { type Vtable = IUIAutomationPropertyCondition_Vtbl; } -impl ::core::clone::Clone for IUIAutomationPropertyCondition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationPropertyCondition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99ebf2cb_5578_4267_9ad4_afd6ea77e94b); } @@ -14215,6 +12711,7 @@ pub struct IUIAutomationPropertyCondition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationProxyFactory(::windows_core::IUnknown); impl IUIAutomationProxyFactory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14232,25 +12729,9 @@ impl IUIAutomationProxyFactory { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationProxyFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationProxyFactory {} -impl ::core::fmt::Debug for IUIAutomationProxyFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationProxyFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationProxyFactory { type Vtable = IUIAutomationProxyFactory_Vtbl; } -impl ::core::clone::Clone for IUIAutomationProxyFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationProxyFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85b94ecd_849d_42b6_b94d_d6db23fdf5a4); } @@ -14266,6 +12747,7 @@ pub struct IUIAutomationProxyFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationProxyFactoryEntry(::windows_core::IUnknown); impl IUIAutomationProxyFactoryEntry { pub unsafe fn ProxyFactory(&self) -> ::windows_core::Result { @@ -14347,25 +12829,9 @@ impl IUIAutomationProxyFactoryEntry { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryEntry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationProxyFactoryEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationProxyFactoryEntry {} -impl ::core::fmt::Debug for IUIAutomationProxyFactoryEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationProxyFactoryEntry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationProxyFactoryEntry { type Vtable = IUIAutomationProxyFactoryEntry_Vtbl; } -impl ::core::clone::Clone for IUIAutomationProxyFactoryEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationProxyFactoryEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd50e472e_b64b_490c_bca1_d30696f9f289); } @@ -14413,6 +12879,7 @@ pub struct IUIAutomationProxyFactoryEntry_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationProxyFactoryMapping(::windows_core::IUnknown); impl IUIAutomationProxyFactoryMapping { pub unsafe fn Count(&self) -> ::windows_core::Result { @@ -14456,25 +12923,9 @@ impl IUIAutomationProxyFactoryMapping { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryMapping, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationProxyFactoryMapping { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationProxyFactoryMapping {} -impl ::core::fmt::Debug for IUIAutomationProxyFactoryMapping { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationProxyFactoryMapping").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationProxyFactoryMapping { type Vtable = IUIAutomationProxyFactoryMapping_Vtbl; } -impl ::core::clone::Clone for IUIAutomationProxyFactoryMapping { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationProxyFactoryMapping { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09e31e18_872d_4873_93d1_1e541ec133fd); } @@ -14503,6 +12954,7 @@ pub struct IUIAutomationProxyFactoryMapping_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationRangeValuePattern(::windows_core::IUnknown); impl IUIAutomationRangeValuePattern { pub unsafe fn SetValue(&self, val: f64) -> ::windows_core::Result<()> { @@ -14562,25 +13014,9 @@ impl IUIAutomationRangeValuePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationRangeValuePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationRangeValuePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationRangeValuePattern {} -impl ::core::fmt::Debug for IUIAutomationRangeValuePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationRangeValuePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationRangeValuePattern { type Vtable = IUIAutomationRangeValuePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationRangeValuePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationRangeValuePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59213f4f_7346_49e5_b120_80555987a148); } @@ -14610,6 +13046,7 @@ pub struct IUIAutomationRangeValuePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationRegistrar(::windows_core::IUnknown); impl IUIAutomationRegistrar { pub unsafe fn RegisterProperty(&self, property: *const UIAutomationPropertyInfo) -> ::windows_core::Result { @@ -14627,25 +13064,9 @@ impl IUIAutomationRegistrar { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationRegistrar {} -impl ::core::fmt::Debug for IUIAutomationRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationRegistrar { type Vtable = IUIAutomationRegistrar_Vtbl; } -impl ::core::clone::Clone for IUIAutomationRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8609c4ec_4a1a_4d88_a357_5a66e060e1cf); } @@ -14662,6 +13083,7 @@ pub struct IUIAutomationRegistrar_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationScrollItemPattern(::windows_core::IUnknown); impl IUIAutomationScrollItemPattern { pub unsafe fn ScrollIntoView(&self) -> ::windows_core::Result<()> { @@ -14669,25 +13091,9 @@ impl IUIAutomationScrollItemPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationScrollItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationScrollItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationScrollItemPattern {} -impl ::core::fmt::Debug for IUIAutomationScrollItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationScrollItemPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationScrollItemPattern { type Vtable = IUIAutomationScrollItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationScrollItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationScrollItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb488300f_d015_4f19_9c29_bb595e3645ef); } @@ -14699,6 +13105,7 @@ pub struct IUIAutomationScrollItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationScrollPattern(::windows_core::IUnknown); impl IUIAutomationScrollPattern { pub unsafe fn Scroll(&self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount) -> ::windows_core::Result<()> { @@ -14765,25 +13172,9 @@ impl IUIAutomationScrollPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationScrollPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationScrollPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationScrollPattern {} -impl ::core::fmt::Debug for IUIAutomationScrollPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationScrollPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationScrollPattern { type Vtable = IUIAutomationScrollPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationScrollPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationScrollPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f4d42a_e881_459d_a77c_73bbbb7e02dc); } @@ -14820,6 +13211,7 @@ pub struct IUIAutomationScrollPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSelectionItemPattern(::windows_core::IUnknown); impl IUIAutomationSelectionItemPattern { pub unsafe fn Select(&self) -> ::windows_core::Result<()> { @@ -14852,26 +13244,10 @@ impl IUIAutomationSelectionItemPattern { (::windows_core::Interface::vtable(self).CachedSelectionContainer)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } -::windows_core::imp::interface_hierarchy!(IUIAutomationSelectionItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationSelectionItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSelectionItemPattern {} -impl ::core::fmt::Debug for IUIAutomationSelectionItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSelectionItemPattern").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IUIAutomationSelectionItemPattern, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUIAutomationSelectionItemPattern { type Vtable = IUIAutomationSelectionItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSelectionItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSelectionItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8efa66a_0fda_421a_9194_38021f3578ea); } @@ -14895,6 +13271,7 @@ pub struct IUIAutomationSelectionItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSelectionPattern(::windows_core::IUnknown); impl IUIAutomationSelectionPattern { pub unsafe fn GetCurrentSelection(&self) -> ::windows_core::Result { @@ -14931,25 +13308,9 @@ impl IUIAutomationSelectionPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationSelectionPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSelectionPattern {} -impl ::core::fmt::Debug for IUIAutomationSelectionPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSelectionPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationSelectionPattern { type Vtable = IUIAutomationSelectionPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSelectionPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSelectionPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ed5202e_b2ac_47a6_b638_4b0bf140d78e); } @@ -14978,6 +13339,7 @@ pub struct IUIAutomationSelectionPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSelectionPattern2(::windows_core::IUnknown); impl IUIAutomationSelectionPattern2 { pub unsafe fn GetCurrentSelection(&self) -> ::windows_core::Result { @@ -15046,25 +13408,9 @@ impl IUIAutomationSelectionPattern2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern2, ::windows_core::IUnknown, IUIAutomationSelectionPattern); -impl ::core::cmp::PartialEq for IUIAutomationSelectionPattern2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSelectionPattern2 {} -impl ::core::fmt::Debug for IUIAutomationSelectionPattern2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSelectionPattern2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationSelectionPattern2 { type Vtable = IUIAutomationSelectionPattern2_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSelectionPattern2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSelectionPattern2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0532bfae_c011_4e32_a343_6d642d798555); } @@ -15083,6 +13429,7 @@ pub struct IUIAutomationSelectionPattern2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSpreadsheetItemPattern(::windows_core::IUnknown); impl IUIAutomationSpreadsheetItemPattern { pub unsafe fn CurrentFormula(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -15115,25 +13462,9 @@ impl IUIAutomationSpreadsheetItemPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationSpreadsheetItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSpreadsheetItemPattern {} -impl ::core::fmt::Debug for IUIAutomationSpreadsheetItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSpreadsheetItemPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationSpreadsheetItemPattern { type Vtable = IUIAutomationSpreadsheetItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSpreadsheetItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSpreadsheetItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d4fb86c_8d34_40e1_8e83_62c15204e335); } @@ -15156,6 +13487,7 @@ pub struct IUIAutomationSpreadsheetItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSpreadsheetPattern(::windows_core::IUnknown); impl IUIAutomationSpreadsheetPattern { pub unsafe fn GetItemByName(&self, name: P0) -> ::windows_core::Result @@ -15167,25 +13499,9 @@ impl IUIAutomationSpreadsheetPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationSpreadsheetPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSpreadsheetPattern {} -impl ::core::fmt::Debug for IUIAutomationSpreadsheetPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSpreadsheetPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationSpreadsheetPattern { type Vtable = IUIAutomationSpreadsheetPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSpreadsheetPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSpreadsheetPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7517a7c8_faae_4de9_9f08_29b91e8595c1); } @@ -15197,6 +13513,7 @@ pub struct IUIAutomationSpreadsheetPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationStructureChangedEventHandler(::windows_core::IUnknown); impl IUIAutomationStructureChangedEventHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15209,25 +13526,9 @@ impl IUIAutomationStructureChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationStructureChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationStructureChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationStructureChangedEventHandler {} -impl ::core::fmt::Debug for IUIAutomationStructureChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationStructureChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationStructureChangedEventHandler { type Vtable = IUIAutomationStructureChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationStructureChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationStructureChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe81d1b4e_11c5_42f8_9754_e7036c79f054); } @@ -15242,6 +13543,7 @@ pub struct IUIAutomationStructureChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationStylesPattern(::windows_core::IUnknown); impl IUIAutomationStylesPattern { pub unsafe fn CurrentStyleId(&self) -> ::windows_core::Result { @@ -15308,25 +13610,9 @@ impl IUIAutomationStylesPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationStylesPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationStylesPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationStylesPattern {} -impl ::core::fmt::Debug for IUIAutomationStylesPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationStylesPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationStylesPattern { type Vtable = IUIAutomationStylesPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationStylesPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationStylesPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85b5f0a2_bd79_484a_ad2b_388c9838d5fb); } @@ -15353,6 +13639,7 @@ pub struct IUIAutomationStylesPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationSynchronizedInputPattern(::windows_core::IUnknown); impl IUIAutomationSynchronizedInputPattern { pub unsafe fn StartListening(&self, inputtype: SynchronizedInputType) -> ::windows_core::Result<()> { @@ -15363,25 +13650,9 @@ impl IUIAutomationSynchronizedInputPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationSynchronizedInputPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationSynchronizedInputPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationSynchronizedInputPattern {} -impl ::core::fmt::Debug for IUIAutomationSynchronizedInputPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationSynchronizedInputPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationSynchronizedInputPattern { type Vtable = IUIAutomationSynchronizedInputPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationSynchronizedInputPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationSynchronizedInputPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2233be0b_afb7_448b_9fda_3b378aa5eae1); } @@ -15394,6 +13665,7 @@ pub struct IUIAutomationSynchronizedInputPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTableItemPattern(::windows_core::IUnknown); impl IUIAutomationTableItemPattern { pub unsafe fn GetCurrentRowHeaderItems(&self) -> ::windows_core::Result { @@ -15414,25 +13686,9 @@ impl IUIAutomationTableItemPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTableItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTableItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTableItemPattern {} -impl ::core::fmt::Debug for IUIAutomationTableItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTableItemPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTableItemPattern { type Vtable = IUIAutomationTableItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTableItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTableItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b964eb3_ef2e_4464_9c79_61d61737a27e); } @@ -15447,6 +13703,7 @@ pub struct IUIAutomationTableItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTablePattern(::windows_core::IUnknown); impl IUIAutomationTablePattern { pub unsafe fn GetCurrentRowHeaders(&self) -> ::windows_core::Result { @@ -15475,25 +13732,9 @@ impl IUIAutomationTablePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTablePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTablePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTablePattern {} -impl ::core::fmt::Debug for IUIAutomationTablePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTablePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTablePattern { type Vtable = IUIAutomationTablePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTablePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTablePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x620e691c_ea96_4710_a850_754b24ce2417); } @@ -15510,6 +13751,7 @@ pub struct IUIAutomationTablePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextChildPattern(::windows_core::IUnknown); impl IUIAutomationTextChildPattern { pub unsafe fn TextContainer(&self) -> ::windows_core::Result { @@ -15522,25 +13764,9 @@ impl IUIAutomationTextChildPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextChildPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTextChildPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextChildPattern {} -impl ::core::fmt::Debug for IUIAutomationTextChildPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextChildPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextChildPattern { type Vtable = IUIAutomationTextChildPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextChildPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextChildPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6552b038_ae05_40c8_abfd_aa08352aab86); } @@ -15553,6 +13779,7 @@ pub struct IUIAutomationTextChildPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextEditPattern(::windows_core::IUnknown); impl IUIAutomationTextEditPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15594,25 +13821,9 @@ impl IUIAutomationTextEditPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextEditPattern, ::windows_core::IUnknown, IUIAutomationTextPattern); -impl ::core::cmp::PartialEq for IUIAutomationTextEditPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextEditPattern {} -impl ::core::fmt::Debug for IUIAutomationTextEditPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextEditPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextEditPattern { type Vtable = IUIAutomationTextEditPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextEditPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextEditPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17e21576_996c_4870_99d9_bff323380c06); } @@ -15625,6 +13836,7 @@ pub struct IUIAutomationTextEditPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextEditTextChangedEventHandler(::windows_core::IUnknown); impl IUIAutomationTextEditTextChangedEventHandler { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15637,25 +13849,9 @@ impl IUIAutomationTextEditTextChangedEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextEditTextChangedEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTextEditTextChangedEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextEditTextChangedEventHandler {} -impl ::core::fmt::Debug for IUIAutomationTextEditTextChangedEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextEditTextChangedEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextEditTextChangedEventHandler { type Vtable = IUIAutomationTextEditTextChangedEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextEditTextChangedEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextEditTextChangedEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92faa680_e704_4156_931a_e32d5bb38f3f); } @@ -15670,6 +13866,7 @@ pub struct IUIAutomationTextEditTextChangedEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextPattern(::windows_core::IUnknown); impl IUIAutomationTextPattern { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15703,25 +13900,9 @@ impl IUIAutomationTextPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTextPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextPattern {} -impl ::core::fmt::Debug for IUIAutomationTextPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextPattern { type Vtable = IUIAutomationTextPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x32eba289_3583_42c9_9c59_3b6d9a1e9b6a); } @@ -15741,6 +13922,7 @@ pub struct IUIAutomationTextPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextPattern2(::windows_core::IUnknown); impl IUIAutomationTextPattern2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -15786,25 +13968,9 @@ impl IUIAutomationTextPattern2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern2, ::windows_core::IUnknown, IUIAutomationTextPattern); -impl ::core::cmp::PartialEq for IUIAutomationTextPattern2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextPattern2 {} -impl ::core::fmt::Debug for IUIAutomationTextPattern2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextPattern2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextPattern2 { type Vtable = IUIAutomationTextPattern2_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextPattern2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextPattern2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x506a921a_fcc9_409f_b23b_37eb74106872); } @@ -15820,6 +13986,7 @@ pub struct IUIAutomationTextPattern2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextRange(::windows_core::IUnknown); impl IUIAutomationTextRange { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -15922,25 +14089,9 @@ impl IUIAutomationTextRange { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextRange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTextRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextRange {} -impl ::core::fmt::Debug for IUIAutomationTextRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextRange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextRange { type Vtable = IUIAutomationTextRange_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa543cc6a_f4ae_494b_8239_c814481187a8); } @@ -15987,6 +14138,7 @@ pub struct IUIAutomationTextRange_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextRange2(::windows_core::IUnknown); impl IUIAutomationTextRange2 { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -16092,25 +14244,9 @@ impl IUIAutomationTextRange2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextRange2, ::windows_core::IUnknown, IUIAutomationTextRange); -impl ::core::cmp::PartialEq for IUIAutomationTextRange2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextRange2 {} -impl ::core::fmt::Debug for IUIAutomationTextRange2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextRange2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextRange2 { type Vtable = IUIAutomationTextRange2_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextRange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextRange2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb9b40e0_5e04_46bd_9be0_4b601b9afad4); } @@ -16122,6 +14258,7 @@ pub struct IUIAutomationTextRange2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextRange3(::windows_core::IUnknown); impl IUIAutomationTextRange3 { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -16247,25 +14384,9 @@ impl IUIAutomationTextRange3 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextRange3, ::windows_core::IUnknown, IUIAutomationTextRange, IUIAutomationTextRange2); -impl ::core::cmp::PartialEq for IUIAutomationTextRange3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextRange3 {} -impl ::core::fmt::Debug for IUIAutomationTextRange3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextRange3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextRange3 { type Vtable = IUIAutomationTextRange3_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextRange3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextRange3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a315d69_5512_4c2e_85f0_53fce6dd4bc2); } @@ -16282,6 +14403,7 @@ pub struct IUIAutomationTextRange3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTextRangeArray(::windows_core::IUnknown); impl IUIAutomationTextRangeArray { pub unsafe fn Length(&self) -> ::windows_core::Result { @@ -16294,25 +14416,9 @@ impl IUIAutomationTextRangeArray { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTextRangeArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTextRangeArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTextRangeArray {} -impl ::core::fmt::Debug for IUIAutomationTextRangeArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTextRangeArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTextRangeArray { type Vtable = IUIAutomationTextRangeArray_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTextRangeArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTextRangeArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce4ae76a_e717_4c98_81ea_47371d028eb6); } @@ -16325,6 +14431,7 @@ pub struct IUIAutomationTextRangeArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTogglePattern(::windows_core::IUnknown); impl IUIAutomationTogglePattern { pub unsafe fn Toggle(&self) -> ::windows_core::Result<()> { @@ -16340,25 +14447,9 @@ impl IUIAutomationTogglePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTogglePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTogglePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTogglePattern {} -impl ::core::fmt::Debug for IUIAutomationTogglePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTogglePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTogglePattern { type Vtable = IUIAutomationTogglePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTogglePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTogglePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x94cf8058_9b8d_4ab9_8bfd_4cd0a33c8c70); } @@ -16372,6 +14463,7 @@ pub struct IUIAutomationTogglePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTransformPattern(::windows_core::IUnknown); impl IUIAutomationTransformPattern { pub unsafe fn Move(&self, x: f64, y: f64) -> ::windows_core::Result<()> { @@ -16421,25 +14513,9 @@ impl IUIAutomationTransformPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTransformPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTransformPattern {} -impl ::core::fmt::Debug for IUIAutomationTransformPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTransformPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTransformPattern { type Vtable = IUIAutomationTransformPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTransformPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTransformPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9b55844_a55d_4ef0_926d_569c16ff89bb); } @@ -16477,6 +14553,7 @@ pub struct IUIAutomationTransformPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTransformPattern2(::windows_core::IUnknown); impl IUIAutomationTransformPattern2 { pub unsafe fn Move(&self, x: f64, y: f64) -> ::windows_core::Result<()> { @@ -16568,25 +14645,9 @@ impl IUIAutomationTransformPattern2 { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern2, ::windows_core::IUnknown, IUIAutomationTransformPattern); -impl ::core::cmp::PartialEq for IUIAutomationTransformPattern2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTransformPattern2 {} -impl ::core::fmt::Debug for IUIAutomationTransformPattern2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTransformPattern2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTransformPattern2 { type Vtable = IUIAutomationTransformPattern2_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTransformPattern2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTransformPattern2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d74d017_6ecb_4381_b38b_3c17a48ff1c2); } @@ -16613,6 +14674,7 @@ pub struct IUIAutomationTransformPattern2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationTreeWalker(::windows_core::IUnknown); impl IUIAutomationTreeWalker { pub unsafe fn GetParentElement(&self, element: P0) -> ::windows_core::Result @@ -16711,25 +14773,9 @@ impl IUIAutomationTreeWalker { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationTreeWalker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationTreeWalker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationTreeWalker {} -impl ::core::fmt::Debug for IUIAutomationTreeWalker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationTreeWalker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationTreeWalker { type Vtable = IUIAutomationTreeWalker_Vtbl; } -impl ::core::clone::Clone for IUIAutomationTreeWalker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationTreeWalker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4042c624_389c_4afc_a630_9df854a541fc); } @@ -16753,6 +14799,7 @@ pub struct IUIAutomationTreeWalker_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationValuePattern(::windows_core::IUnknown); impl IUIAutomationValuePattern { pub unsafe fn SetValue(&self, val: P0) -> ::windows_core::Result<()> @@ -16783,25 +14830,9 @@ impl IUIAutomationValuePattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationValuePattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationValuePattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationValuePattern {} -impl ::core::fmt::Debug for IUIAutomationValuePattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationValuePattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationValuePattern { type Vtable = IUIAutomationValuePattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationValuePattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationValuePattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa94cd8b1_0844_4cd6_9d2d_640537ab39e9); } @@ -16823,6 +14854,7 @@ pub struct IUIAutomationValuePattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationVirtualizedItemPattern(::windows_core::IUnknown); impl IUIAutomationVirtualizedItemPattern { pub unsafe fn Realize(&self) -> ::windows_core::Result<()> { @@ -16830,25 +14862,9 @@ impl IUIAutomationVirtualizedItemPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationVirtualizedItemPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationVirtualizedItemPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationVirtualizedItemPattern {} -impl ::core::fmt::Debug for IUIAutomationVirtualizedItemPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationVirtualizedItemPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationVirtualizedItemPattern { type Vtable = IUIAutomationVirtualizedItemPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationVirtualizedItemPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationVirtualizedItemPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ba3d7a6_04cf_4f11_8793_a8d1cde9969f); } @@ -16860,6 +14876,7 @@ pub struct IUIAutomationVirtualizedItemPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAutomationWindowPattern(::windows_core::IUnknown); impl IUIAutomationWindowPattern { pub unsafe fn Close(&self) -> ::windows_core::Result<()> { @@ -16940,25 +14957,9 @@ impl IUIAutomationWindowPattern { } } ::windows_core::imp::interface_hierarchy!(IUIAutomationWindowPattern, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAutomationWindowPattern { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAutomationWindowPattern {} -impl ::core::fmt::Debug for IUIAutomationWindowPattern { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAutomationWindowPattern").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAutomationWindowPattern { type Vtable = IUIAutomationWindowPattern_Vtbl; } -impl ::core::clone::Clone for IUIAutomationWindowPattern { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAutomationWindowPattern { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0faef453_9208_43ef_bbb2_3b485177864f); } @@ -17011,6 +15012,7 @@ pub struct IUIAutomationWindowPattern_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IValueProvider(::windows_core::IUnknown); impl IValueProvider { pub unsafe fn SetValue(&self, val: P0) -> ::windows_core::Result<()> @@ -17031,25 +15033,9 @@ impl IValueProvider { } } ::windows_core::imp::interface_hierarchy!(IValueProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IValueProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IValueProvider {} -impl ::core::fmt::Debug for IValueProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IValueProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IValueProvider { type Vtable = IValueProvider_Vtbl; } -impl ::core::clone::Clone for IValueProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IValueProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7935180_6fb3_4201_b174_7df73adbf64a); } @@ -17066,6 +15052,7 @@ pub struct IValueProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVirtualizedItemProvider(::windows_core::IUnknown); impl IVirtualizedItemProvider { pub unsafe fn Realize(&self) -> ::windows_core::Result<()> { @@ -17073,25 +15060,9 @@ impl IVirtualizedItemProvider { } } ::windows_core::imp::interface_hierarchy!(IVirtualizedItemProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVirtualizedItemProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVirtualizedItemProvider {} -impl ::core::fmt::Debug for IVirtualizedItemProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVirtualizedItemProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVirtualizedItemProvider { type Vtable = IVirtualizedItemProvider_Vtbl; } -impl ::core::clone::Clone for IVirtualizedItemProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVirtualizedItemProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb98b665_2d35_4fac_ad35_f3c60d0c0b8b); } @@ -17103,6 +15074,7 @@ pub struct IVirtualizedItemProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWindowProvider(::windows_core::IUnknown); impl IWindowProvider { pub unsafe fn SetVisualState(&self, state: WindowVisualState) -> ::windows_core::Result<()> { @@ -17151,25 +15123,9 @@ impl IWindowProvider { } } ::windows_core::imp::interface_hierarchy!(IWindowProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWindowProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWindowProvider {} -impl ::core::fmt::Debug for IWindowProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWindowProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWindowProvider { type Vtable = IWindowProvider_Vtbl; } -impl ::core::clone::Clone for IWindowProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWindowProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x987df77b_db06_4d77_8f8a_86a9c3bb90b9); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs index 4013a0c84f..91adcd5e80 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs @@ -81,8 +81,8 @@ impl IUIAnimationInterpolator_Vtbl { GetDependencies: GetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -170,8 +170,8 @@ impl IUIAnimationInterpolator2_Vtbl { GetDependencies: GetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -188,8 +188,8 @@ impl IUIAnimationLoopIterationChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLoopIterationChanged: OnLoopIterationChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl IUIAnimationManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -571,8 +571,8 @@ impl IUIAnimationManager2_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IUIAnimationManagerEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -607,8 +607,8 @@ impl IUIAnimationManagerEventHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -635,8 +635,8 @@ impl IUIAnimationPrimitiveInterpolation_Vtbl { AddSinusoidal: AddSinusoidal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IUIAnimationPriorityComparison_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IUIAnimationPriorityComparison2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -828,8 +828,8 @@ impl IUIAnimationStoryboard_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl IUIAnimationStoryboard2_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1023,8 +1023,8 @@ impl IUIAnimationStoryboardEventHandler_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1051,8 +1051,8 @@ impl IUIAnimationStoryboardEventHandler2_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IUIAnimationTimer_Vtbl { SetFrameRateThreshold: SetFrameRateThreshold::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1141,8 +1141,8 @@ impl IUIAnimationTimerClientEventHandler_Vtbl { OnTimerClientStatusChanged: OnTimerClientStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1176,8 +1176,8 @@ impl IUIAnimationTimerEventHandler_Vtbl { OnRenderingTooSlow: OnRenderingTooSlow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1217,8 +1217,8 @@ impl IUIAnimationTimerUpdateHandler_Vtbl { ClearTimerClientEventHandler: ClearTimerClientEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1265,8 +1265,8 @@ impl IUIAnimationTransition_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IUIAnimationTransition2_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1364,8 +1364,8 @@ impl IUIAnimationTransitionFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1388,8 +1388,8 @@ impl IUIAnimationTransitionFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IUIAnimationTransitionLibrary_Vtbl { CreateParabolicTransitionFromAcceleration: CreateParabolicTransitionFromAcceleration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1819,8 +1819,8 @@ impl IUIAnimationTransitionLibrary2_Vtbl { CreateCubicBezierLinearVectorTransition: CreateCubicBezierLinearVectorTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1973,8 +1973,8 @@ impl IUIAnimationVariable_Vtbl { SetVariableIntegerChangeHandler: SetVariableIntegerChangeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2220,8 +2220,8 @@ impl IUIAnimationVariable2_Vtbl { SetVariableCurveChangeHandler: SetVariableCurveChangeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2238,8 +2238,8 @@ impl IUIAnimationVariableChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IUIAnimationVariableChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2274,8 +2274,8 @@ impl IUIAnimationVariableCurveChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCurveChanged: OnCurveChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl IUIAnimationVariableIntegerChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2310,7 +2310,7 @@ impl IUIAnimationVariableIntegerChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs index 9a322af101..a077378281 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationInterpolator(::windows_core::IUnknown); impl IUIAnimationInterpolator { pub unsafe fn SetInitialValueAndVelocity(&self, initialvalue: f64, initialvelocity: f64) -> ::windows_core::Result<()> { @@ -29,25 +30,9 @@ impl IUIAnimationInterpolator { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationInterpolator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationInterpolator {} -impl ::core::fmt::Debug for IUIAnimationInterpolator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationInterpolator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationInterpolator { type Vtable = IUIAnimationInterpolator_Vtbl; } -impl ::core::clone::Clone for IUIAnimationInterpolator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationInterpolator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7815cbba_ddf7_478c_a46c_7b6c738b7978); } @@ -65,6 +50,7 @@ pub struct IUIAnimationInterpolator_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationInterpolator2(::windows_core::IUnknown); impl IUIAnimationInterpolator2 { pub unsafe fn GetDimension(&self) -> ::windows_core::Result { @@ -101,25 +87,9 @@ impl IUIAnimationInterpolator2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationInterpolator2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationInterpolator2 {} -impl ::core::fmt::Debug for IUIAnimationInterpolator2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationInterpolator2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationInterpolator2 { type Vtable = IUIAnimationInterpolator2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationInterpolator2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationInterpolator2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea76aff8_ea22_4a23_a0ef_a6a966703518); } @@ -139,6 +109,7 @@ pub struct IUIAnimationInterpolator2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationLoopIterationChangeHandler2(::windows_core::IUnknown); impl IUIAnimationLoopIterationChangeHandler2 { pub unsafe fn OnLoopIterationChanged(&self, storyboard: P0, id: usize, newiterationcount: u32, olditerationcount: u32) -> ::windows_core::Result<()> @@ -149,25 +120,9 @@ impl IUIAnimationLoopIterationChangeHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationLoopIterationChangeHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationLoopIterationChangeHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationLoopIterationChangeHandler2 {} -impl ::core::fmt::Debug for IUIAnimationLoopIterationChangeHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationLoopIterationChangeHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationLoopIterationChangeHandler2 { type Vtable = IUIAnimationLoopIterationChangeHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationLoopIterationChangeHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationLoopIterationChangeHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d3b15a4_4762_47ab_a030_b23221df3ae0); } @@ -179,6 +134,7 @@ pub struct IUIAnimationLoopIterationChangeHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationManager(::windows_core::IUnknown); impl IUIAnimationManager { pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> ::windows_core::Result { @@ -270,25 +226,9 @@ impl IUIAnimationManager { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationManager {} -impl ::core::fmt::Debug for IUIAnimationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationManager { type Vtable = IUIAnimationManager_Vtbl; } -impl ::core::clone::Clone for IUIAnimationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9169896c_ac8d_4e7d_94e5_67fa4dc2f2e8); } @@ -318,6 +258,7 @@ pub struct IUIAnimationManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationManager2(::windows_core::IUnknown); impl IUIAnimationManager2 { pub unsafe fn CreateAnimationVectorVariable(&self, initialvalue: &[f64]) -> ::windows_core::Result { @@ -420,25 +361,9 @@ impl IUIAnimationManager2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationManager2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationManager2 {} -impl ::core::fmt::Debug for IUIAnimationManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationManager2 { type Vtable = IUIAnimationManager2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8b6f7d4_4109_4d3f_acee_879926968cb1); } @@ -473,6 +398,7 @@ pub struct IUIAnimationManager2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationManagerEventHandler(::windows_core::IUnknown); impl IUIAnimationManagerEventHandler { pub unsafe fn OnManagerStatusChanged(&self, newstatus: UI_ANIMATION_MANAGER_STATUS, previousstatus: UI_ANIMATION_MANAGER_STATUS) -> ::windows_core::Result<()> { @@ -480,25 +406,9 @@ impl IUIAnimationManagerEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationManagerEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationManagerEventHandler {} -impl ::core::fmt::Debug for IUIAnimationManagerEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationManagerEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationManagerEventHandler { type Vtable = IUIAnimationManagerEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationManagerEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationManagerEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x783321ed_78a3_4366_b574_6af607a64788); } @@ -510,6 +420,7 @@ pub struct IUIAnimationManagerEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationManagerEventHandler2(::windows_core::IUnknown); impl IUIAnimationManagerEventHandler2 { pub unsafe fn OnManagerStatusChanged(&self, newstatus: UI_ANIMATION_MANAGER_STATUS, previousstatus: UI_ANIMATION_MANAGER_STATUS) -> ::windows_core::Result<()> { @@ -517,25 +428,9 @@ impl IUIAnimationManagerEventHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationManagerEventHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationManagerEventHandler2 {} -impl ::core::fmt::Debug for IUIAnimationManagerEventHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationManagerEventHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationManagerEventHandler2 { type Vtable = IUIAnimationManagerEventHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationManagerEventHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationManagerEventHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6e022ba_bff3_42ec_9033_e073f33e83c3); } @@ -547,6 +442,7 @@ pub struct IUIAnimationManagerEventHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationPrimitiveInterpolation(::windows_core::IUnknown); impl IUIAnimationPrimitiveInterpolation { pub unsafe fn AddCubic(&self, dimension: u32, beginoffset: f64, constantcoefficient: f32, linearcoefficient: f32, quadraticcoefficient: f32, cubiccoefficient: f32) -> ::windows_core::Result<()> { @@ -557,25 +453,9 @@ impl IUIAnimationPrimitiveInterpolation { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationPrimitiveInterpolation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationPrimitiveInterpolation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationPrimitiveInterpolation {} -impl ::core::fmt::Debug for IUIAnimationPrimitiveInterpolation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationPrimitiveInterpolation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationPrimitiveInterpolation { type Vtable = IUIAnimationPrimitiveInterpolation_Vtbl; } -impl ::core::clone::Clone for IUIAnimationPrimitiveInterpolation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationPrimitiveInterpolation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbab20d63_4361_45da_a24f_ab8508846b5b); } @@ -588,6 +468,7 @@ pub struct IUIAnimationPrimitiveInterpolation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationPriorityComparison(::windows_core::IUnknown); impl IUIAnimationPriorityComparison { pub unsafe fn HasPriority(&self, scheduledstoryboard: P0, newstoryboard: P1, priorityeffect: UI_ANIMATION_PRIORITY_EFFECT) -> ::windows_core::Result<()> @@ -599,25 +480,9 @@ impl IUIAnimationPriorityComparison { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationPriorityComparison { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationPriorityComparison {} -impl ::core::fmt::Debug for IUIAnimationPriorityComparison { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationPriorityComparison").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationPriorityComparison { type Vtable = IUIAnimationPriorityComparison_Vtbl; } -impl ::core::clone::Clone for IUIAnimationPriorityComparison { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationPriorityComparison { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83fa9b74_5f86_4618_bc6a_a2fac19b3f44); } @@ -629,6 +494,7 @@ pub struct IUIAnimationPriorityComparison_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationPriorityComparison2(::windows_core::IUnknown); impl IUIAnimationPriorityComparison2 { pub unsafe fn HasPriority(&self, scheduledstoryboard: P0, newstoryboard: P1, priorityeffect: UI_ANIMATION_PRIORITY_EFFECT) -> ::windows_core::Result<()> @@ -640,25 +506,9 @@ impl IUIAnimationPriorityComparison2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationPriorityComparison2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationPriorityComparison2 {} -impl ::core::fmt::Debug for IUIAnimationPriorityComparison2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationPriorityComparison2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationPriorityComparison2 { type Vtable = IUIAnimationPriorityComparison2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationPriorityComparison2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationPriorityComparison2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b6d7a37_4621_467c_8b05_70131de62ddb); } @@ -670,6 +520,7 @@ pub struct IUIAnimationPriorityComparison2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationStoryboard(::windows_core::IUnknown); impl IUIAnimationStoryboard { pub unsafe fn AddTransition(&self, variable: P0, transition: P1) -> ::windows_core::Result<()> @@ -763,25 +614,9 @@ impl IUIAnimationStoryboard { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationStoryboard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationStoryboard {} -impl ::core::fmt::Debug for IUIAnimationStoryboard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationStoryboard").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationStoryboard { type Vtable = IUIAnimationStoryboard_Vtbl; } -impl ::core::clone::Clone for IUIAnimationStoryboard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationStoryboard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8ff128f_9bf9_4af1_9e67_e5e410defb84); } @@ -809,6 +644,7 @@ pub struct IUIAnimationStoryboard_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationStoryboard2(::windows_core::IUnknown); impl IUIAnimationStoryboard2 { pub unsafe fn AddTransition(&self, variable: P0, transition: P1) -> ::windows_core::Result<()> @@ -913,25 +749,9 @@ impl IUIAnimationStoryboard2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationStoryboard2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationStoryboard2 {} -impl ::core::fmt::Debug for IUIAnimationStoryboard2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationStoryboard2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationStoryboard2 { type Vtable = IUIAnimationStoryboard2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationStoryboard2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationStoryboard2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae289cd2_12d4_4945_9419_9e41be034df2); } @@ -966,6 +786,7 @@ pub struct IUIAnimationStoryboard2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationStoryboardEventHandler(::windows_core::IUnknown); impl IUIAnimationStoryboardEventHandler { pub unsafe fn OnStoryboardStatusChanged(&self, storyboard: P0, newstatus: UI_ANIMATION_STORYBOARD_STATUS, previousstatus: UI_ANIMATION_STORYBOARD_STATUS) -> ::windows_core::Result<()> @@ -982,25 +803,9 @@ impl IUIAnimationStoryboardEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationStoryboardEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationStoryboardEventHandler {} -impl ::core::fmt::Debug for IUIAnimationStoryboardEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationStoryboardEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationStoryboardEventHandler { type Vtable = IUIAnimationStoryboardEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationStoryboardEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationStoryboardEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d5c9008_ec7c_4364_9f8a_9af3c58cbae6); } @@ -1013,6 +818,7 @@ pub struct IUIAnimationStoryboardEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationStoryboardEventHandler2(::windows_core::IUnknown); impl IUIAnimationStoryboardEventHandler2 { pub unsafe fn OnStoryboardStatusChanged(&self, storyboard: P0, newstatus: UI_ANIMATION_STORYBOARD_STATUS, previousstatus: UI_ANIMATION_STORYBOARD_STATUS) -> ::windows_core::Result<()> @@ -1029,25 +835,9 @@ impl IUIAnimationStoryboardEventHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationStoryboardEventHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationStoryboardEventHandler2 {} -impl ::core::fmt::Debug for IUIAnimationStoryboardEventHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationStoryboardEventHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationStoryboardEventHandler2 { type Vtable = IUIAnimationStoryboardEventHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationStoryboardEventHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationStoryboardEventHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbac5f55a_ba7c_414c_b599_fbf850f553c6); } @@ -1060,6 +850,7 @@ pub struct IUIAnimationStoryboardEventHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTimer(::windows_core::IUnknown); impl IUIAnimationTimer { pub unsafe fn SetTimerUpdateHandler(&self, updatehandler: P0, idlebehavior: UI_ANIMATION_IDLE_BEHAVIOR) -> ::windows_core::Result<()> @@ -1092,25 +883,9 @@ impl IUIAnimationTimer { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTimer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTimer {} -impl ::core::fmt::Debug for IUIAnimationTimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTimer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTimer { type Vtable = IUIAnimationTimer_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b0efad1_a053_41d6_9085_33a689144665); } @@ -1128,6 +903,7 @@ pub struct IUIAnimationTimer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTimerClientEventHandler(::windows_core::IUnknown); impl IUIAnimationTimerClientEventHandler { pub unsafe fn OnTimerClientStatusChanged(&self, newstatus: UI_ANIMATION_TIMER_CLIENT_STATUS, previousstatus: UI_ANIMATION_TIMER_CLIENT_STATUS) -> ::windows_core::Result<()> { @@ -1135,25 +911,9 @@ impl IUIAnimationTimerClientEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTimerClientEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTimerClientEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTimerClientEventHandler {} -impl ::core::fmt::Debug for IUIAnimationTimerClientEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTimerClientEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTimerClientEventHandler { type Vtable = IUIAnimationTimerClientEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTimerClientEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTimerClientEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbedb4db6_94fa_4bfb_a47f_ef2d9e408c25); } @@ -1165,6 +925,7 @@ pub struct IUIAnimationTimerClientEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTimerEventHandler(::windows_core::IUnknown); impl IUIAnimationTimerEventHandler { pub unsafe fn OnPreUpdate(&self) -> ::windows_core::Result<()> { @@ -1178,25 +939,9 @@ impl IUIAnimationTimerEventHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTimerEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTimerEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTimerEventHandler {} -impl ::core::fmt::Debug for IUIAnimationTimerEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTimerEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTimerEventHandler { type Vtable = IUIAnimationTimerEventHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTimerEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTimerEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x274a7dea_d771_4095_abbd_8df7abd23ce3); } @@ -1210,6 +955,7 @@ pub struct IUIAnimationTimerEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTimerUpdateHandler(::windows_core::IUnknown); impl IUIAnimationTimerUpdateHandler { pub unsafe fn OnUpdate(&self, timenow: f64) -> ::windows_core::Result { @@ -1227,25 +973,9 @@ impl IUIAnimationTimerUpdateHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTimerUpdateHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTimerUpdateHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTimerUpdateHandler {} -impl ::core::fmt::Debug for IUIAnimationTimerUpdateHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTimerUpdateHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTimerUpdateHandler { type Vtable = IUIAnimationTimerUpdateHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTimerUpdateHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTimerUpdateHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x195509b7_5d5e_4e3e_b278_ee3759b367ad); } @@ -1259,6 +989,7 @@ pub struct IUIAnimationTimerUpdateHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransition(::windows_core::IUnknown); impl IUIAnimationTransition { pub unsafe fn SetInitialValue(&self, value: f64) -> ::windows_core::Result<()> { @@ -1276,25 +1007,9 @@ impl IUIAnimationTransition { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransition {} -impl ::core::fmt::Debug for IUIAnimationTransition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransition { type Vtable = IUIAnimationTransition_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc6ce252_f731_41cf_b610_614b6ca049ad); } @@ -1309,6 +1024,7 @@ pub struct IUIAnimationTransition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransition2(::windows_core::IUnknown); impl IUIAnimationTransition2 { pub unsafe fn GetDimension(&self) -> ::windows_core::Result { @@ -1336,25 +1052,9 @@ impl IUIAnimationTransition2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransition2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransition2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransition2 {} -impl ::core::fmt::Debug for IUIAnimationTransition2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransition2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransition2 { type Vtable = IUIAnimationTransition2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransition2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransition2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62ff9123_a85a_4e9b_a218_435a93e268fd); } @@ -1372,6 +1072,7 @@ pub struct IUIAnimationTransition2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransitionFactory(::windows_core::IUnknown); impl IUIAnimationTransitionFactory { pub unsafe fn CreateTransition(&self, interpolator: P0) -> ::windows_core::Result @@ -1383,25 +1084,9 @@ impl IUIAnimationTransitionFactory { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransitionFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransitionFactory {} -impl ::core::fmt::Debug for IUIAnimationTransitionFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransitionFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransitionFactory { type Vtable = IUIAnimationTransitionFactory_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransitionFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransitionFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfcd91e03_3e3b_45ad_bbb1_6dfc8153743d); } @@ -1413,6 +1098,7 @@ pub struct IUIAnimationTransitionFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransitionFactory2(::windows_core::IUnknown); impl IUIAnimationTransitionFactory2 { pub unsafe fn CreateTransition(&self, interpolator: P0) -> ::windows_core::Result @@ -1424,25 +1110,9 @@ impl IUIAnimationTransitionFactory2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransitionFactory2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransitionFactory2 {} -impl ::core::fmt::Debug for IUIAnimationTransitionFactory2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransitionFactory2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransitionFactory2 { type Vtable = IUIAnimationTransitionFactory2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransitionFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransitionFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x937d4916_c1a6_42d5_88d8_30344d6efe31); } @@ -1454,6 +1124,7 @@ pub struct IUIAnimationTransitionFactory2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransitionLibrary(::windows_core::IUnknown); impl IUIAnimationTransitionLibrary { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> ::windows_core::Result { @@ -1506,25 +1177,9 @@ impl IUIAnimationTransitionLibrary { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransitionLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransitionLibrary {} -impl ::core::fmt::Debug for IUIAnimationTransitionLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransitionLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransitionLibrary { type Vtable = IUIAnimationTransitionLibrary_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransitionLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransitionLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca5a14b1_d24f_48b8_8fe4_c78169ba954e); } @@ -1547,6 +1202,7 @@ pub struct IUIAnimationTransitionLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationTransitionLibrary2(::windows_core::IUnknown); impl IUIAnimationTransitionLibrary2 { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> ::windows_core::Result { @@ -1627,25 +1283,9 @@ impl IUIAnimationTransitionLibrary2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationTransitionLibrary2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationTransitionLibrary2 {} -impl ::core::fmt::Debug for IUIAnimationTransitionLibrary2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationTransitionLibrary2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationTransitionLibrary2 { type Vtable = IUIAnimationTransitionLibrary2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationTransitionLibrary2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationTransitionLibrary2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03cfae53_9580_4ee3_b363_2ece51b4af6a); } @@ -1675,6 +1315,7 @@ pub struct IUIAnimationTransitionLibrary2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariable(::windows_core::IUnknown); impl IUIAnimationVariable { pub unsafe fn GetValue(&self) -> ::windows_core::Result { @@ -1737,25 +1378,9 @@ impl IUIAnimationVariable { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariable, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariable {} -impl ::core::fmt::Debug for IUIAnimationVariable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariable").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariable { type Vtable = IUIAnimationVariable_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ceeb155_2849_4ce5_9448_91ff70e1e4d9); } @@ -1780,6 +1405,7 @@ pub struct IUIAnimationVariable_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariable2(::windows_core::IUnknown); impl IUIAnimationVariable2 { pub unsafe fn GetDimension(&self) -> ::windows_core::Result { @@ -1895,25 +1521,9 @@ impl IUIAnimationVariable2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariable2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariable2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariable2 {} -impl ::core::fmt::Debug for IUIAnimationVariable2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariable2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariable2 { type Vtable = IUIAnimationVariable2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariable2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariable2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4914b304_96ab_44d9_9e77_d5109b7e7466); } @@ -1962,6 +1572,7 @@ pub struct IUIAnimationVariable2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariableChangeHandler(::windows_core::IUnknown); impl IUIAnimationVariableChangeHandler { pub unsafe fn OnValueChanged(&self, storyboard: P0, variable: P1, newvalue: f64, previousvalue: f64) -> ::windows_core::Result<()> @@ -1973,25 +1584,9 @@ impl IUIAnimationVariableChangeHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariableChangeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariableChangeHandler {} -impl ::core::fmt::Debug for IUIAnimationVariableChangeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariableChangeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariableChangeHandler { type Vtable = IUIAnimationVariableChangeHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariableChangeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariableChangeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6358b7ba_87d2_42d5_bf71_82e919dd5862); } @@ -2003,6 +1598,7 @@ pub struct IUIAnimationVariableChangeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariableChangeHandler2(::windows_core::IUnknown); impl IUIAnimationVariableChangeHandler2 { pub unsafe fn OnValueChanged(&self, storyboard: P0, variable: P1, newvalue: *const f64, previousvalue: *const f64, cdimension: u32) -> ::windows_core::Result<()> @@ -2014,25 +1610,9 @@ impl IUIAnimationVariableChangeHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariableChangeHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariableChangeHandler2 {} -impl ::core::fmt::Debug for IUIAnimationVariableChangeHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariableChangeHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariableChangeHandler2 { type Vtable = IUIAnimationVariableChangeHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariableChangeHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariableChangeHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63acc8d2_6eae_4bb0_b879_586dd8cfbe42); } @@ -2044,6 +1624,7 @@ pub struct IUIAnimationVariableChangeHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariableCurveChangeHandler2(::windows_core::IUnknown); impl IUIAnimationVariableCurveChangeHandler2 { pub unsafe fn OnCurveChanged(&self, variable: P0) -> ::windows_core::Result<()> @@ -2054,25 +1635,9 @@ impl IUIAnimationVariableCurveChangeHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariableCurveChangeHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariableCurveChangeHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariableCurveChangeHandler2 {} -impl ::core::fmt::Debug for IUIAnimationVariableCurveChangeHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariableCurveChangeHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariableCurveChangeHandler2 { type Vtable = IUIAnimationVariableCurveChangeHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariableCurveChangeHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariableCurveChangeHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72895e91_0145_4c21_9192_5aab40eddf80); } @@ -2084,6 +1649,7 @@ pub struct IUIAnimationVariableCurveChangeHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariableIntegerChangeHandler(::windows_core::IUnknown); impl IUIAnimationVariableIntegerChangeHandler { pub unsafe fn OnIntegerValueChanged(&self, storyboard: P0, variable: P1, newvalue: i32, previousvalue: i32) -> ::windows_core::Result<()> @@ -2095,25 +1661,9 @@ impl IUIAnimationVariableIntegerChangeHandler { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariableIntegerChangeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariableIntegerChangeHandler {} -impl ::core::fmt::Debug for IUIAnimationVariableIntegerChangeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariableIntegerChangeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariableIntegerChangeHandler { type Vtable = IUIAnimationVariableIntegerChangeHandler_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariableIntegerChangeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariableIntegerChangeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb3e1550_356e_44b0_99da_85ac6017865e); } @@ -2125,6 +1675,7 @@ pub struct IUIAnimationVariableIntegerChangeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Animation\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIAnimationVariableIntegerChangeHandler2(::windows_core::IUnknown); impl IUIAnimationVariableIntegerChangeHandler2 { pub unsafe fn OnIntegerValueChanged(&self, storyboard: P0, variable: P1, newvalue: *const i32, previousvalue: *const i32, cdimension: u32) -> ::windows_core::Result<()> @@ -2136,25 +1687,9 @@ impl IUIAnimationVariableIntegerChangeHandler2 { } } ::windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIAnimationVariableIntegerChangeHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIAnimationVariableIntegerChangeHandler2 {} -impl ::core::fmt::Debug for IUIAnimationVariableIntegerChangeHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIAnimationVariableIntegerChangeHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIAnimationVariableIntegerChangeHandler2 { type Vtable = IUIAnimationVariableIntegerChangeHandler2_Vtbl; } -impl ::core::clone::Clone for IUIAnimationVariableIntegerChangeHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIAnimationVariableIntegerChangeHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x829b6cf1_4f3a_4412_ae09_b243eb4c6b58); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs index 266ea64d72..f784febf37 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs @@ -112,8 +112,8 @@ impl IDeviceModelPlugIn_Vtbl { GetNeutralAxis: GetNeutralAxis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"implement\"`*"] @@ -140,7 +140,7 @@ impl IGamutMapModelPlugIn_Vtbl { SourceToDestinationAppearanceColors: SourceToDestinationAppearanceColors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index 7fbf2229b9..9fbbd0de52 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -1039,6 +1039,7 @@ pub unsafe fn WcsTranslateColors(hcolortransform: isize, ncolors: u32, ninputcha } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceModelPlugIn(::windows_core::IUnknown); impl IDeviceModelPlugIn { pub unsafe fn Initialize(&self, bstrxml: P0, cnummodels: u32, imodelposition: u32) -> ::windows_core::Result<()> @@ -1088,25 +1089,9 @@ impl IDeviceModelPlugIn { } } ::windows_core::imp::interface_hierarchy!(IDeviceModelPlugIn, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeviceModelPlugIn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeviceModelPlugIn {} -impl ::core::fmt::Debug for IDeviceModelPlugIn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceModelPlugIn").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeviceModelPlugIn { type Vtable = IDeviceModelPlugIn_Vtbl; } -impl ::core::clone::Clone for IDeviceModelPlugIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeviceModelPlugIn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cd63475_07c4_46fe_a903_d655316d11fd); } @@ -1131,6 +1116,7 @@ pub struct IDeviceModelPlugIn_Vtbl { } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGamutMapModelPlugIn(::windows_core::IUnknown); impl IGamutMapModelPlugIn { pub unsafe fn Initialize(&self, bstrxml: P0, psrcplugin: P1, pdestplugin: P2, psrcgbd: *const GamutBoundaryDescription, pdestgbd: *const GamutBoundaryDescription) -> ::windows_core::Result<()> @@ -1146,25 +1132,9 @@ impl IGamutMapModelPlugIn { } } ::windows_core::imp::interface_hierarchy!(IGamutMapModelPlugIn, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGamutMapModelPlugIn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGamutMapModelPlugIn {} -impl ::core::fmt::Debug for IGamutMapModelPlugIn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGamutMapModelPlugIn").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGamutMapModelPlugIn { type Vtable = IGamutMapModelPlugIn_Vtbl; } -impl ::core::clone::Clone for IGamutMapModelPlugIn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGamutMapModelPlugIn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd80115_ad1e_41f6_a219_a4f4b583d1f9); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs index 358561701b..4bc9716064 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs @@ -32,8 +32,8 @@ impl IPrintDialogCallback_Vtbl { HandleMessage: HandleMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -70,7 +70,7 @@ impl IPrintDialogServices_Vtbl { GetCurrentPortName: GetCurrentPortName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index 2f6f80455e..3da977b950 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -150,6 +150,7 @@ pub unsafe fn ReplaceTextW(param0: *mut FINDREPLACEW) -> super::super::super::Fo } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDialogCallback(::windows_core::IUnknown); impl IPrintDialogCallback { pub unsafe fn InitDone(&self) -> ::windows_core::Result<()> { @@ -170,25 +171,9 @@ impl IPrintDialogCallback { } } ::windows_core::imp::interface_hierarchy!(IPrintDialogCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintDialogCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDialogCallback {} -impl ::core::fmt::Debug for IPrintDialogCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDialogCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintDialogCallback { type Vtable = IPrintDialogCallback_Vtbl; } -impl ::core::clone::Clone for IPrintDialogCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDialogCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5852a2c3_6530_11d1_b6a3_0000f8757bf9); } @@ -205,6 +190,7 @@ pub struct IPrintDialogCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintDialogServices(::windows_core::IUnknown); impl IPrintDialogServices { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -220,25 +206,9 @@ impl IPrintDialogServices { } } ::windows_core::imp::interface_hierarchy!(IPrintDialogServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintDialogServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintDialogServices {} -impl ::core::fmt::Debug for IPrintDialogServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintDialogServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintDialogServices { type Vtable = IPrintDialogServices_Vtbl; } -impl ::core::clone::Clone for IPrintDialogServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintDialogServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x509aaeda_5639_11d1_b6a1_0000f8757bf9); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 549d8a2171..1058374b2d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -129,8 +129,8 @@ impl IRichEditOle_Vtbl { ImportDataObject: ImportDataObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IRichEditOleCallback_Vtbl { GetContextMenu: GetContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -243,8 +243,8 @@ impl IRicheditUiaOverrides_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropertyOverrideValue: GetPropertyOverrideValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl ITextDisplays_Vtbl { pub const fn new, Impl: ITextDisplays_Impl, const OFFSET: isize>() -> ITextDisplays_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl ITextDocument_Vtbl { RangeFromPoint: RangeFromPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -948,8 +948,8 @@ impl ITextDocument2_Vtbl { GetStory: GetStory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1193,8 +1193,8 @@ impl ITextDocument2Old_Vtbl { ReleaseCallManager: ReleaseCallManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1763,8 +1763,8 @@ impl ITextFont_Vtbl { SetWeight: SetWeight::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2234,8 +2234,8 @@ impl ITextFont2_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2530,8 +2530,8 @@ impl ITextHost_Vtbl { TxGetSelectionBarWidth: TxGetSelectionBarWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2631,8 +2631,8 @@ impl ITextHost2_Vtbl { TxGetHorzExtent: TxGetHorzExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3128,8 +3128,8 @@ impl ITextPara_Vtbl { GetTab: GetTab::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3305,8 +3305,8 @@ impl ITextPara2_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3889,8 +3889,8 @@ impl ITextRange_Vtbl { GetEmbeddedObject: GetEmbeddedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4288,8 +4288,8 @@ impl ITextRange2_Vtbl { InsertImage: InsertImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4753,8 +4753,8 @@ impl ITextRow_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4888,8 +4888,8 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4902,8 +4902,8 @@ impl ITextSelection2_Vtbl { pub const fn new, Impl: ITextSelection2_Impl, const OFFSET: isize>() -> ITextSelection2_Vtbl { Self { base__: ITextRange2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5065,8 +5065,8 @@ impl ITextServices_Vtbl { TxGetCachedSize: TxGetCachedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5096,8 +5096,8 @@ impl ITextServices2_Vtbl { TxDrawD2D: TxDrawD2D::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5239,8 +5239,8 @@ impl ITextStory_Vtbl { SetText: SetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5295,8 +5295,8 @@ impl ITextStoryRanges_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5322,8 +5322,8 @@ impl ITextStoryRanges2_Vtbl { } Self { base__: ITextStoryRanges_Vtbl::new::(), Item2: Item2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5476,7 +5476,7 @@ impl ITextStrings_Vtbl { Swap: Swap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index a0437c4942..6d372cc20e 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRichEditOle(::windows_core::IUnknown); impl IRichEditOle { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -89,25 +90,9 @@ impl IRichEditOle { } } ::windows_core::imp::interface_hierarchy!(IRichEditOle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRichEditOle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRichEditOle {} -impl ::core::fmt::Debug for IRichEditOle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRichEditOle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRichEditOle { type Vtable = IRichEditOle_Vtbl; } -impl ::core::clone::Clone for IRichEditOle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRichEditOle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020d00_0000_0000_c000_000000000046); } @@ -158,6 +143,7 @@ pub struct IRichEditOle_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRichEditOleCallback(::windows_core::IUnknown); impl IRichEditOleCallback { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -236,25 +222,9 @@ impl IRichEditOleCallback { } } ::windows_core::imp::interface_hierarchy!(IRichEditOleCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRichEditOleCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRichEditOleCallback {} -impl ::core::fmt::Debug for IRichEditOleCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRichEditOleCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRichEditOleCallback { type Vtable = IRichEditOleCallback_Vtbl; } -impl ::core::clone::Clone for IRichEditOleCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRichEditOleCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00020d03_0000_0000_c000_000000000046); } @@ -305,6 +275,7 @@ pub struct IRichEditOleCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRicheditUiaOverrides(::windows_core::IUnknown); impl IRicheditUiaOverrides { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -314,25 +285,9 @@ impl IRicheditUiaOverrides { } } ::windows_core::imp::interface_hierarchy!(IRicheditUiaOverrides, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRicheditUiaOverrides { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRicheditUiaOverrides {} -impl ::core::fmt::Debug for IRicheditUiaOverrides { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRicheditUiaOverrides").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRicheditUiaOverrides { type Vtable = IRicheditUiaOverrides_Vtbl; } -impl ::core::clone::Clone for IRicheditUiaOverrides { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRicheditUiaOverrides { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -348,36 +303,17 @@ pub struct IRicheditUiaOverrides_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDisplays(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextDisplays {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextDisplays, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextDisplays { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextDisplays {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextDisplays { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextDisplays").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextDisplays { type Vtable = ITextDisplays_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextDisplays { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextDisplays { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5f2_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -390,6 +326,7 @@ pub struct ITextDisplays_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextDocument { @@ -478,30 +415,10 @@ impl ITextDocument { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextDocument, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextDocument { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextDocument {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextDocument { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextDocument").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextDocument { type Vtable = ITextDocument_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextDocument { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextDocument { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c0_a1df_11ce_8098_00aa0047be5d); } @@ -551,6 +468,7 @@ pub struct ITextDocument_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextDocument2 { @@ -830,30 +748,10 @@ impl ITextDocument2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextDocument2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextDocument2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextDocument2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextDocument2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextDocument2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextDocument2 { type Vtable = ITextDocument2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextDocument2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextDocument2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e0_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -940,6 +838,7 @@ pub struct ITextDocument2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextDocument2Old(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextDocument2Old { @@ -1129,30 +1028,10 @@ impl ITextDocument2Old { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextDocument2Old, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextDocument2Old { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextDocument2Old {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextDocument2Old { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextDocument2Old").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextDocument2Old { type Vtable = ITextDocument2Old_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextDocument2Old { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextDocument2Old { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01c25500_4268_11d1_883a_3c8b00c10000); } @@ -1204,6 +1083,7 @@ pub struct ITextDocument2Old_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextFont(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextFont { @@ -1419,30 +1299,10 @@ impl ITextFont { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextFont, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextFont { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextFont {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextFont { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextFont").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextFont { type Vtable = ITextFont_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextFont { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextFont { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c3_a1df_11ce_8098_00aa0047be5d); } @@ -1519,6 +1379,7 @@ pub struct ITextFont_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextFont2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextFont2 { @@ -1906,30 +1767,10 @@ impl ITextFont2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextFont2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextFont); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextFont2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextFont2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextFont2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextFont2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextFont2 { type Vtable = ITextFont2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextFont2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextFont2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e3_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -1996,6 +1837,7 @@ pub struct ITextFont2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextHost(::windows_core::IUnknown); impl ITextHost { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2205,25 +2047,9 @@ impl ITextHost { } } ::windows_core::imp::interface_hierarchy!(ITextHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextHost {} -impl ::core::fmt::Debug for ITextHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextHost { type Vtable = ITextHost_Vtbl; } -impl ::core::clone::Clone for ITextHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextHost { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2348,6 +2174,7 @@ pub struct ITextHost_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextHost2(::windows_core::IUnknown); impl ITextHost2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2611,25 +2438,9 @@ impl ITextHost2 { } } ::windows_core::imp::interface_hierarchy!(ITextHost2, ::windows_core::IUnknown, ITextHost); -impl ::core::cmp::PartialEq for ITextHost2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextHost2 {} -impl ::core::fmt::Debug for ITextHost2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextHost2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextHost2 { type Vtable = ITextHost2_Vtbl; } -impl ::core::clone::Clone for ITextHost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextHost2 { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -2668,6 +2479,7 @@ pub struct ITextHost2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPara(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextPara { @@ -2855,30 +2667,10 @@ impl ITextPara { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextPara, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextPara { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextPara {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextPara { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextPara").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextPara { type Vtable = ITextPara_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextPara { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextPara { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c4_a1df_11ce_8098_00aa0047be5d); } @@ -2948,6 +2740,7 @@ pub struct ITextPara_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextPara2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextPara2 { @@ -3203,30 +2996,10 @@ impl ITextPara2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextPara2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextPara); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextPara2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextPara2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextPara2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextPara2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextPara2 { type Vtable = ITextPara2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextPara2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextPara2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e4_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -3264,6 +3037,7 @@ pub struct ITextPara2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRange(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextRange { @@ -3529,30 +3303,10 @@ impl ITextRange { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextRange, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextRange {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRange").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextRange { type Vtable = ITextRange_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c2_a1df_11ce_8098_00aa0047be5d); } @@ -3676,6 +3430,7 @@ pub struct ITextRange_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRange2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextRange2 { @@ -4164,30 +3919,10 @@ impl ITextRange2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextRange2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextRange2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextRange2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextRange2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRange2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextRange2 { type Vtable = ITextRange2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextRange2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextRange2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e2_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -4270,6 +4005,7 @@ pub struct ITextRange2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextRow(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextRow { @@ -4441,30 +4177,10 @@ impl ITextRow { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextRow, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextRow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextRow {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextRow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextRow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextRow { type Vtable = ITextRow_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextRow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextRow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5ef_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -4526,6 +4242,7 @@ pub struct ITextRow_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextSelection(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextSelection { @@ -4832,30 +4549,10 @@ impl ITextSelection { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextSelection, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextSelection {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextSelection").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextSelection { type Vtable = ITextSelection_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c1_a1df_11ce_8098_00aa0047be5d); } @@ -4878,6 +4575,7 @@ pub struct ITextSelection_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextSelection2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextSelection2 { @@ -5366,30 +5064,10 @@ impl ITextSelection2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextSelection2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection, ITextRange2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextSelection2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextSelection2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextSelection2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextSelection2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextSelection2 { type Vtable = ITextSelection2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextSelection2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextSelection2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e1_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -5401,6 +5079,7 @@ pub struct ITextSelection2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextServices(::windows_core::IUnknown); impl ITextServices { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5501,25 +5180,9 @@ impl ITextServices { } } ::windows_core::imp::interface_hierarchy!(ITextServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextServices {} -impl ::core::fmt::Debug for ITextServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextServices { type Vtable = ITextServices_Vtbl; } -impl ::core::clone::Clone for ITextServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextServices { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -5575,6 +5238,7 @@ pub struct ITextServices_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextServices2(::windows_core::IUnknown); impl ITextServices2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5692,25 +5356,9 @@ impl ITextServices2 { } } ::windows_core::imp::interface_hierarchy!(ITextServices2, ::windows_core::IUnknown, ITextServices); -impl ::core::cmp::PartialEq for ITextServices2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextServices2 {} -impl ::core::fmt::Debug for ITextServices2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextServices2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextServices2 { type Vtable = ITextServices2_Vtbl; } -impl ::core::clone::Clone for ITextServices2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextServices2 { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -5729,6 +5377,7 @@ pub struct ITextServices2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStory(::windows_core::IUnknown); impl ITextStory { pub unsafe fn GetActive(&self) -> ::windows_core::Result { @@ -5784,25 +5433,9 @@ impl ITextStory { } } ::windows_core::imp::interface_hierarchy!(ITextStory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStory {} -impl ::core::fmt::Debug for ITextStory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStory { type Vtable = ITextStory_Vtbl; } -impl ::core::clone::Clone for ITextStory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5f3_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -5829,6 +5462,7 @@ pub struct ITextStory_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoryRanges(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextStoryRanges { @@ -5850,30 +5484,10 @@ impl ITextStoryRanges { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextStoryRanges, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextStoryRanges { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextStoryRanges {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextStoryRanges { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoryRanges").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextStoryRanges { type Vtable = ITextStoryRanges_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextStoryRanges { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextStoryRanges { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc497c5_a1df_11ce_8098_00aa0047be5d); } @@ -5892,6 +5506,7 @@ pub struct ITextStoryRanges_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoryRanges2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextStoryRanges2 { @@ -5919,30 +5534,10 @@ impl ITextStoryRanges2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextStoryRanges2, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextStoryRanges); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextStoryRanges2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextStoryRanges2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextStoryRanges2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoryRanges2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextStoryRanges2 { type Vtable = ITextStoryRanges2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextStoryRanges2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextStoryRanges2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e5_7206_11d8_a2c7_00a0d1d6c6b3); } @@ -5959,6 +5554,7 @@ pub struct ITextStoryRanges2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStrings(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ITextStrings { @@ -6058,30 +5654,10 @@ impl ITextStrings { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ITextStrings, ::windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ITextStrings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ITextStrings {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ITextStrings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStrings").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ITextStrings { type Vtable = ITextStrings_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ITextStrings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ITextStrings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc241f5e7_7206_11d8_a2c7_00a0d1d6c6b3); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs index 4c92ebbdfe..fe447bbb6a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs @@ -274,8 +274,8 @@ impl IImageList_Vtbl { GetOverlayImage: GetOverlayImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -375,7 +375,7 @@ impl IImageList2_Vtbl { ReplaceFromImageList: ReplaceFromImageList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs index 9d0707a7a9..beb0221562 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -2106,6 +2106,7 @@ where } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageList(::windows_core::IUnknown); impl IImageList { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2271,25 +2272,9 @@ impl IImageList { } } ::windows_core::imp::interface_hierarchy!(IImageList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImageList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageList {} -impl ::core::fmt::Debug for IImageList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageList { type Vtable = IImageList_Vtbl; } -impl ::core::clone::Clone for IImageList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x46eb5926_582e_4017_9fdf_e8998daa0950); } @@ -2371,6 +2356,7 @@ pub struct IImageList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageList2(::windows_core::IUnknown); impl IImageList2 { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -2588,25 +2574,9 @@ impl IImageList2 { } } ::windows_core::imp::interface_hierarchy!(IImageList2, ::windows_core::IUnknown, IImageList); -impl ::core::cmp::PartialEq for IImageList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageList2 {} -impl ::core::fmt::Debug for IImageList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageList2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageList2 { type Vtable = IImageList2_Vtbl; } -impl ::core::clone::Clone for IImageList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x192b9d83_50fc_457b_90a0_2b82a8b5dae1); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs index 885d3d0268..86b7d587c3 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs @@ -148,8 +148,8 @@ impl IActiveIME_Vtbl { GetLangId: GetLangId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IActiveIME2_Vtbl { } Self { base__: IActiveIME_Vtbl::new::(), Sleep: Sleep::, Unsleep: Unsleep:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -758,8 +758,8 @@ impl IActiveIMMApp_Vtbl { EnumInputContext: EnumInputContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1541,8 +1541,8 @@ impl IActiveIMMIME_Vtbl { IsSleeping: IsSleeping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1599,8 +1599,8 @@ impl IActiveIMMMessagePumpOwner_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1627,8 +1627,8 @@ impl IActiveIMMRegistrar_Vtbl { UnregisterIME: UnregisterIME::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1678,8 +1678,8 @@ impl IEnumInputContext_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1726,8 +1726,8 @@ impl IEnumRegisterWordA_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1774,8 +1774,8 @@ impl IEnumRegisterWordW_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1788,8 +1788,8 @@ impl IFEClassFactory_Vtbl { pub const fn new, Impl: IFEClassFactory_Impl, const OFFSET: isize>() -> IFEClassFactory_Vtbl { Self { base__: super::super::super::System::Com::IClassFactory_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1833,8 +1833,8 @@ impl IFECommon_Vtbl { InvokeDictToolDialog: InvokeDictToolDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1969,8 +1969,8 @@ impl IFEDictionary_Vtbl { ConvertFromUserToSys: ConvertFromUserToSys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -2025,8 +2025,8 @@ impl IFELanguage_Vtbl { GetConversion: GetConversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2046,8 +2046,8 @@ impl IImePad_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Request: Request:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2098,8 +2098,8 @@ impl IImePadApplet_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2129,8 +2129,8 @@ impl IImePlugInDictDictionaryList_Vtbl { DeleteDictionary: DeleteDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -2147,7 +2147,7 @@ impl IImeSpecifyApplets_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppletIIDList: GetAppletIIDList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs index b9b74818d0..b340de1db9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -836,6 +836,7 @@ where } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIME(::windows_core::IUnknown); impl IActiveIME { pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: ::windows_core::PWSTR, pdwprivate: *mut u32) -> ::windows_core::Result<()> { @@ -955,25 +956,9 @@ impl IActiveIME { } } ::windows_core::imp::interface_hierarchy!(IActiveIME, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveIME { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIME {} -impl ::core::fmt::Debug for IActiveIME { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIME").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIME { type Vtable = IActiveIME_Vtbl; } -impl ::core::clone::Clone for IActiveIME { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIME { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fe20962_d077_11d0_8fe7_00aa006bcc59); } @@ -1028,6 +1013,7 @@ pub struct IActiveIME_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIME2(::windows_core::IUnknown); impl IActiveIME2 { pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: ::windows_core::PWSTR, pdwprivate: *mut u32) -> ::windows_core::Result<()> { @@ -1158,25 +1144,9 @@ impl IActiveIME2 { } } ::windows_core::imp::interface_hierarchy!(IActiveIME2, ::windows_core::IUnknown, IActiveIME); -impl ::core::cmp::PartialEq for IActiveIME2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIME2 {} -impl ::core::fmt::Debug for IActiveIME2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIME2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIME2 { type Vtable = IActiveIME2_Vtbl; } -impl ::core::clone::Clone for IActiveIME2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIME2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1c4bf0e_2d53_11d2_93e1_0060b067b86e); } @@ -1192,6 +1162,7 @@ pub struct IActiveIME2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIMMApp(::windows_core::IUnknown); impl IActiveIMMApp { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -1764,25 +1735,9 @@ impl IActiveIMMApp { } } ::windows_core::imp::interface_hierarchy!(IActiveIMMApp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveIMMApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIMMApp {} -impl ::core::fmt::Debug for IActiveIMMApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIMMApp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIMMApp { type Vtable = IActiveIMMApp_Vtbl; } -impl ::core::clone::Clone for IActiveIMMApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIMMApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08c0e040_62d1_11d1_9326_0060b067b86e); } @@ -2053,6 +2008,7 @@ pub struct IActiveIMMApp_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIMMIME(::windows_core::IUnknown); impl IActiveIMMIME { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Globalization\"`*"] @@ -2785,25 +2741,9 @@ impl IActiveIMMIME { } } ::windows_core::imp::interface_hierarchy!(IActiveIMMIME, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveIMMIME { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIMMIME {} -impl ::core::fmt::Debug for IActiveIMMIME { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIMMIME").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIMMIME { type Vtable = IActiveIMMIME_Vtbl; } -impl ::core::clone::Clone for IActiveIMMIME { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIMMIME { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08c03411_f96b_11d0_a475_00aa006bcc59); } @@ -3148,6 +3088,7 @@ pub struct IActiveIMMIME_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIMMMessagePumpOwner(::windows_core::IUnknown); impl IActiveIMMMessagePumpOwner { pub unsafe fn Start(&self) -> ::windows_core::Result<()> { @@ -3170,25 +3111,9 @@ impl IActiveIMMMessagePumpOwner { } } ::windows_core::imp::interface_hierarchy!(IActiveIMMMessagePumpOwner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveIMMMessagePumpOwner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIMMMessagePumpOwner {} -impl ::core::fmt::Debug for IActiveIMMMessagePumpOwner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIMMMessagePumpOwner").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIMMMessagePumpOwner { type Vtable = IActiveIMMMessagePumpOwner_Vtbl; } -impl ::core::clone::Clone for IActiveIMMMessagePumpOwner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIMMMessagePumpOwner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5cf2cfa_8aeb_11d1_9364_0060b067b86e); } @@ -3207,6 +3132,7 @@ pub struct IActiveIMMMessagePumpOwner_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveIMMRegistrar(::windows_core::IUnknown); impl IActiveIMMRegistrar { pub unsafe fn RegisterIME(&self, rclsid: *const ::windows_core::GUID, lgid: u16, psziconfile: P0, pszdesc: P1) -> ::windows_core::Result<()> @@ -3221,25 +3147,9 @@ impl IActiveIMMRegistrar { } } ::windows_core::imp::interface_hierarchy!(IActiveIMMRegistrar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveIMMRegistrar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveIMMRegistrar {} -impl ::core::fmt::Debug for IActiveIMMRegistrar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveIMMRegistrar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveIMMRegistrar { type Vtable = IActiveIMMRegistrar_Vtbl; } -impl ::core::clone::Clone for IActiveIMMRegistrar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveIMMRegistrar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3458082_bd00_11d1_939b_0060b067b86e); } @@ -3252,6 +3162,7 @@ pub struct IActiveIMMRegistrar_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumInputContext(::windows_core::IUnknown); impl IEnumInputContext { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -3271,25 +3182,9 @@ impl IEnumInputContext { } } ::windows_core::imp::interface_hierarchy!(IEnumInputContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumInputContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumInputContext {} -impl ::core::fmt::Debug for IEnumInputContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumInputContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumInputContext { type Vtable = IEnumInputContext_Vtbl; } -impl ::core::clone::Clone for IEnumInputContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumInputContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09b5eab0_f997_11d1_93d4_0060b067b86e); } @@ -3307,6 +3202,7 @@ pub struct IEnumInputContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRegisterWordA(::windows_core::IUnknown); impl IEnumRegisterWordA { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -3324,25 +3220,9 @@ impl IEnumRegisterWordA { } } ::windows_core::imp::interface_hierarchy!(IEnumRegisterWordA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRegisterWordA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRegisterWordA {} -impl ::core::fmt::Debug for IEnumRegisterWordA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRegisterWordA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRegisterWordA { type Vtable = IEnumRegisterWordA_Vtbl; } -impl ::core::clone::Clone for IEnumRegisterWordA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRegisterWordA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08c03412_f96b_11d0_a475_00aa006bcc59); } @@ -3357,6 +3237,7 @@ pub struct IEnumRegisterWordA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumRegisterWordW(::windows_core::IUnknown); impl IEnumRegisterWordW { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -3374,25 +3255,9 @@ impl IEnumRegisterWordW { } } ::windows_core::imp::interface_hierarchy!(IEnumRegisterWordW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumRegisterWordW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumRegisterWordW {} -impl ::core::fmt::Debug for IEnumRegisterWordW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumRegisterWordW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumRegisterWordW { type Vtable = IEnumRegisterWordW_Vtbl; } -impl ::core::clone::Clone for IEnumRegisterWordW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumRegisterWordW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4955dd31_b159_11d0_8fcf_00aa006bcc59); } @@ -3408,6 +3273,7 @@ pub struct IEnumRegisterWordW_Vtbl { #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFEClassFactory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFEClassFactory { @@ -3433,30 +3299,10 @@ impl IFEClassFactory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFEClassFactory, ::windows_core::IUnknown, super::super::super::System::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFEClassFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFEClassFactory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFEClassFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFEClassFactory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFEClassFactory { type Vtable = IFEClassFactory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFEClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFEClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -3468,6 +3314,7 @@ pub struct IFEClassFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFECommon(::windows_core::IUnknown); impl IFECommon { pub unsafe fn IsDefaultIME(&self, szname: &[u8]) -> ::windows_core::Result<()> { @@ -3488,25 +3335,9 @@ impl IFECommon { } } ::windows_core::imp::interface_hierarchy!(IFECommon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFECommon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFECommon {} -impl ::core::fmt::Debug for IFECommon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFECommon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFECommon { type Vtable = IFECommon_Vtbl; } -impl ::core::clone::Clone for IFECommon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFECommon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x019f7151_e6db_11d0_83c3_00c04fddb82e); } @@ -3527,6 +3358,7 @@ pub struct IFECommon_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFEDictionary(::windows_core::IUnknown); impl IFEDictionary { pub unsafe fn Open(&self, pchdictpath: ::core::option::Option<&mut [u8; 260]>, pshf: *mut IMESHF) -> ::windows_core::Result<()> { @@ -3606,25 +3438,9 @@ impl IFEDictionary { } } ::windows_core::imp::interface_hierarchy!(IFEDictionary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFEDictionary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFEDictionary {} -impl ::core::fmt::Debug for IFEDictionary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFEDictionary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFEDictionary { type Vtable = IFEDictionary_Vtbl; } -impl ::core::clone::Clone for IFEDictionary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFEDictionary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x019f7153_e6db_11d0_83c3_00c04fddb82e); } @@ -3658,6 +3474,7 @@ pub struct IFEDictionary_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFELanguage(::windows_core::IUnknown); impl IFELanguage { pub unsafe fn Open(&self) -> ::windows_core::Result<()> { @@ -3689,25 +3506,9 @@ impl IFELanguage { } } ::windows_core::imp::interface_hierarchy!(IFELanguage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFELanguage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFELanguage {} -impl ::core::fmt::Debug for IFELanguage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFELanguage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFELanguage { type Vtable = IFELanguage_Vtbl; } -impl ::core::clone::Clone for IFELanguage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFELanguage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x019f7152_e6db_11d0_83c3_00c04fddb82e); } @@ -3724,6 +3525,7 @@ pub struct IFELanguage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImePad(::windows_core::IUnknown); impl IImePad { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3738,25 +3540,9 @@ impl IImePad { } } ::windows_core::imp::interface_hierarchy!(IImePad, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImePad { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImePad {} -impl ::core::fmt::Debug for IImePad { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImePad").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImePad { type Vtable = IImePad_Vtbl; } -impl ::core::clone::Clone for IImePad { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImePad { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d8e643a_c3a9_11d1_afef_00805f0c8b6d); } @@ -3771,6 +3557,7 @@ pub struct IImePad_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImePadApplet(::windows_core::IUnknown); impl IImePadApplet { pub unsafe fn Initialize(&self, lpiimepad: P0) -> ::windows_core::Result<()> @@ -3807,25 +3594,9 @@ impl IImePadApplet { } } ::windows_core::imp::interface_hierarchy!(IImePadApplet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImePadApplet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImePadApplet {} -impl ::core::fmt::Debug for IImePadApplet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImePadApplet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImePadApplet { type Vtable = IImePadApplet_Vtbl; } -impl ::core::clone::Clone for IImePadApplet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImePadApplet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d8e643b_c3a9_11d1_afef_00805f0c8b6d); } @@ -3850,6 +3621,7 @@ pub struct IImePadApplet_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImePlugInDictDictionaryList(::windows_core::IUnknown); impl IImePlugInDictDictionaryList { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3865,25 +3637,9 @@ impl IImePlugInDictDictionaryList { } } ::windows_core::imp::interface_hierarchy!(IImePlugInDictDictionaryList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImePlugInDictDictionaryList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImePlugInDictDictionaryList {} -impl ::core::fmt::Debug for IImePlugInDictDictionaryList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImePlugInDictDictionaryList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImePlugInDictDictionaryList { type Vtable = IImePlugInDictDictionaryList_Vtbl; } -impl ::core::clone::Clone for IImePlugInDictDictionaryList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImePlugInDictDictionaryList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98752974_b0a6_489b_8f6f_bff3769c8eeb); } @@ -3899,6 +3655,7 @@ pub struct IImePlugInDictDictionaryList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImeSpecifyApplets(::windows_core::IUnknown); impl IImeSpecifyApplets { pub unsafe fn GetAppletIIDList(&self, refiid: *const ::windows_core::GUID, lpiidlist: *mut APPLETIDLIST) -> ::windows_core::Result<()> { @@ -3906,25 +3663,9 @@ impl IImeSpecifyApplets { } } ::windows_core::imp::interface_hierarchy!(IImeSpecifyApplets, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImeSpecifyApplets { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImeSpecifyApplets {} -impl ::core::fmt::Debug for IImeSpecifyApplets { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImeSpecifyApplets").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImeSpecifyApplets { type Vtable = IImeSpecifyApplets_Vtbl; } -impl ::core::clone::Clone for IImeSpecifyApplets { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImeSpecifyApplets { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d8e643c_c3a9_11d1_afef_00805f0c8b6d); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs index d21d3f5d52..f9442d96b1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs @@ -12,8 +12,8 @@ impl IInkCommitRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCommitRequested: OnCommitRequested:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IInkD2DRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IInkD2DRenderer2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IInkDesktopHost_Vtbl { CreateAndInitializeInkPresenter: CreateAndInitializeInkPresenter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IInkHostWorkItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -153,7 +153,7 @@ impl IInkPresenterDesktop_Vtbl { OnHighContrastChanged: OnHighContrastChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs index 721bfd6ba3..1e19c3a12a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCommitRequestHandler(::windows_core::IUnknown); impl IInkCommitRequestHandler { pub unsafe fn OnCommitRequested(&self) -> ::windows_core::Result<()> { @@ -7,25 +8,9 @@ impl IInkCommitRequestHandler { } } ::windows_core::imp::interface_hierarchy!(IInkCommitRequestHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkCommitRequestHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkCommitRequestHandler {} -impl ::core::fmt::Debug for IInkCommitRequestHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCommitRequestHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkCommitRequestHandler { type Vtable = IInkCommitRequestHandler_Vtbl; } -impl ::core::clone::Clone for IInkCommitRequestHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkCommitRequestHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfabea3fc_b108_45b6_a9fc_8d08fa9f85cf); } @@ -37,6 +22,7 @@ pub struct IInkCommitRequestHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkD2DRenderer(::windows_core::IUnknown); impl IInkD2DRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -51,25 +37,9 @@ impl IInkD2DRenderer { } } ::windows_core::imp::interface_hierarchy!(IInkD2DRenderer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkD2DRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkD2DRenderer {} -impl ::core::fmt::Debug for IInkD2DRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkD2DRenderer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkD2DRenderer { type Vtable = IInkD2DRenderer_Vtbl; } -impl ::core::clone::Clone for IInkD2DRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkD2DRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x407fb1de_f85a_4150_97cf_b7fb274fb4f8); } @@ -84,6 +54,7 @@ pub struct IInkD2DRenderer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkD2DRenderer2(::windows_core::IUnknown); impl IInkD2DRenderer2 { pub unsafe fn Draw(&self, pd2d1devicecontext: P0, pinkstrokeiterable: P1, highcontrastadjustment: INK_HIGH_CONTRAST_ADJUSTMENT) -> ::windows_core::Result<()> @@ -95,25 +66,9 @@ impl IInkD2DRenderer2 { } } ::windows_core::imp::interface_hierarchy!(IInkD2DRenderer2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkD2DRenderer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkD2DRenderer2 {} -impl ::core::fmt::Debug for IInkD2DRenderer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkD2DRenderer2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkD2DRenderer2 { type Vtable = IInkD2DRenderer2_Vtbl; } -impl ::core::clone::Clone for IInkD2DRenderer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkD2DRenderer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a95dcd9_4578_4b71_b20b_bf664d4bfeee); } @@ -125,6 +80,7 @@ pub struct IInkD2DRenderer2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDesktopHost(::windows_core::IUnknown); impl IInkDesktopHost { pub unsafe fn QueueWorkItem(&self, workitem: P0) -> ::windows_core::Result<()> @@ -150,25 +106,9 @@ impl IInkDesktopHost { } } ::windows_core::imp::interface_hierarchy!(IInkDesktopHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkDesktopHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkDesktopHost {} -impl ::core::fmt::Debug for IInkDesktopHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDesktopHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkDesktopHost { type Vtable = IInkDesktopHost_Vtbl; } -impl ::core::clone::Clone for IInkDesktopHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkDesktopHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ce7d875_a981_4140_a1ff_ad93258e8d59); } @@ -182,6 +122,7 @@ pub struct IInkDesktopHost_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkHostWorkItem(::windows_core::IUnknown); impl IInkHostWorkItem { pub unsafe fn Invoke(&self) -> ::windows_core::Result<()> { @@ -189,25 +130,9 @@ impl IInkHostWorkItem { } } ::windows_core::imp::interface_hierarchy!(IInkHostWorkItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkHostWorkItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkHostWorkItem {} -impl ::core::fmt::Debug for IInkHostWorkItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkHostWorkItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkHostWorkItem { type Vtable = IInkHostWorkItem_Vtbl; } -impl ::core::clone::Clone for IInkHostWorkItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkHostWorkItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xccda0a9a_1b78_4632_bb96_97800662e26c); } @@ -219,6 +144,7 @@ pub struct IInkHostWorkItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPresenterDesktop(::windows_core::IUnknown); impl IInkPresenterDesktop { pub unsafe fn SetRootVisual(&self, rootvisual: P0, device: P1) -> ::windows_core::Result<()> @@ -245,25 +171,9 @@ impl IInkPresenterDesktop { } } ::windows_core::imp::interface_hierarchy!(IInkPresenterDesktop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkPresenterDesktop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkPresenterDesktop {} -impl ::core::fmt::Debug for IInkPresenterDesktop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkPresenterDesktop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkPresenterDesktop { type Vtable = IInkPresenterDesktop_Vtbl; } -impl ::core::clone::Clone for IInkPresenterDesktop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkPresenterDesktop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73f3c0d9_2e8b_48f3_895e_20cbd27b723b); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs index f05e71d66d..e066c6ffc7 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs @@ -18,8 +18,8 @@ impl IRadialControllerConfigurationInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -42,8 +42,8 @@ impl IRadialControllerIndependentInputSourceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -66,7 +66,7 @@ impl IRadialControllerInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs index 6d63521fca..cb57347170 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerConfigurationInterop(::windows_core::IUnknown); impl IRadialControllerConfigurationInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14,25 +15,9 @@ impl IRadialControllerConfigurationInterop { } } ::windows_core::imp::interface_hierarchy!(IRadialControllerConfigurationInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IRadialControllerConfigurationInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRadialControllerConfigurationInterop {} -impl ::core::fmt::Debug for IRadialControllerConfigurationInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRadialControllerConfigurationInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRadialControllerConfigurationInterop { type Vtable = IRadialControllerConfigurationInterop_Vtbl; } -impl ::core::clone::Clone for IRadialControllerConfigurationInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerConfigurationInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x787cdaac_3186_476d_87e4_b9374a7b9970); } @@ -47,6 +32,7 @@ pub struct IRadialControllerConfigurationInterop_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerIndependentInputSourceInterop(::windows_core::IUnknown); impl IRadialControllerIndependentInputSourceInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -61,25 +47,9 @@ impl IRadialControllerIndependentInputSourceInterop { } } ::windows_core::imp::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IRadialControllerIndependentInputSourceInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRadialControllerIndependentInputSourceInterop {} -impl ::core::fmt::Debug for IRadialControllerIndependentInputSourceInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRadialControllerIndependentInputSourceInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRadialControllerIndependentInputSourceInterop { type Vtable = IRadialControllerIndependentInputSourceInterop_Vtbl; } -impl ::core::clone::Clone for IRadialControllerIndependentInputSourceInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerIndependentInputSourceInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d577eff_4cee_11e6_b535_001bdc06ab3b); } @@ -94,6 +64,7 @@ pub struct IRadialControllerIndependentInputSourceInterop_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRadialControllerInterop(::windows_core::IUnknown); impl IRadialControllerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -108,25 +79,9 @@ impl IRadialControllerInterop { } } ::windows_core::imp::interface_hierarchy!(IRadialControllerInterop, ::windows_core::IUnknown, ::windows_core::IInspectable); -impl ::core::cmp::PartialEq for IRadialControllerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRadialControllerInterop {} -impl ::core::fmt::Debug for IRadialControllerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRadialControllerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRadialControllerInterop { type Vtable = IRadialControllerInterop_Vtbl; } -impl ::core::clone::Clone for IRadialControllerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRadialControllerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1b0535c9_57ad_45c1_9d79_ad5c34360513); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs index 67be3a6350..2f5eb3879f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs @@ -498,8 +498,8 @@ impl IInertiaProcessor_Vtbl { CompleteTime: CompleteTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"implement\"`*"] @@ -713,8 +713,8 @@ impl IManipulationProcessor_Vtbl { SetMinimumScaleRotateRadius: SetMinimumScaleRotateRadius::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"implement\"`*"] @@ -762,7 +762,7 @@ impl _IManipulationEvents_Vtbl { ManipulationCompleted: ManipulationCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IManipulationEvents as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IManipulationEvents as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs index b82603b231..89d127004b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs @@ -100,6 +100,7 @@ where } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInertiaProcessor(::windows_core::IUnknown); impl IInertiaProcessor { pub unsafe fn InitialOriginX(&self) -> ::windows_core::Result { @@ -279,25 +280,9 @@ impl IInertiaProcessor { } } ::windows_core::imp::interface_hierarchy!(IInertiaProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInertiaProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInertiaProcessor {} -impl ::core::fmt::Debug for IInertiaProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInertiaProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInertiaProcessor { type Vtable = IInertiaProcessor_Vtbl; } -impl ::core::clone::Clone for IInertiaProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInertiaProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18b00c6d_c5ee_41b1_90a9_9d4a929095ad); } @@ -363,6 +348,7 @@ pub struct IInertiaProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IManipulationProcessor(::windows_core::IUnknown); impl IManipulationProcessor { pub unsafe fn SupportedManipulations(&self) -> ::windows_core::Result { @@ -439,25 +425,9 @@ impl IManipulationProcessor { } } ::windows_core::imp::interface_hierarchy!(IManipulationProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IManipulationProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IManipulationProcessor {} -impl ::core::fmt::Debug for IManipulationProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IManipulationProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IManipulationProcessor { type Vtable = IManipulationProcessor_Vtbl; } -impl ::core::clone::Clone for IManipulationProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IManipulationProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa22ac519_8300_48a0_bef4_f1be8737dba4); } @@ -489,6 +459,7 @@ pub struct IManipulationProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IManipulationEvents(::windows_core::IUnknown); impl _IManipulationEvents { pub unsafe fn ManipulationStarted(&self, x: f32, y: f32) -> ::windows_core::Result<()> { @@ -502,25 +473,9 @@ impl _IManipulationEvents { } } ::windows_core::imp::interface_hierarchy!(_IManipulationEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for _IManipulationEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for _IManipulationEvents {} -impl ::core::fmt::Debug for _IManipulationEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IManipulationEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for _IManipulationEvents { type Vtable = _IManipulationEvents_Vtbl; } -impl ::core::clone::Clone for _IManipulationEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for _IManipulationEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f62c8da_9c53_4b22_93df_927a862bbb03); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs index 77d34b6db2..70fbb954e2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs @@ -39,8 +39,8 @@ impl IADesktopP2_Vtbl { MakeDynamicChanges: MakeDynamicChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IActiveDesktopP_Vtbl { GetScheme: GetScheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IBriefcaseInitiator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMonikerInBriefcase: IsMonikerInBriefcase:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IEmptyVolumeCache_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl IEmptyVolumeCache2_Vtbl { } Self { base__: IEmptyVolumeCache_Vtbl::new::(), InitializeEx: InitializeEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -209,8 +209,8 @@ impl IEmptyVolumeCacheCallBack_Vtbl { PurgeProgress: PurgeProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IReconcilableObject_Vtbl { GetProgressFeedbackMaxEstimate: GetProgressFeedbackMaxEstimate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -274,7 +274,7 @@ impl IReconcileInitiator_Vtbl { SetProgressFeedback: SetProgressFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs index 78a95c3626..c53c4ff222 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IADesktopP2(::windows_core::IUnknown); impl IADesktopP2 { pub unsafe fn ReReadWallpaper(&self) -> ::windows_core::Result<()> { @@ -21,25 +22,9 @@ impl IADesktopP2 { } } ::windows_core::imp::interface_hierarchy!(IADesktopP2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IADesktopP2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IADesktopP2 {} -impl ::core::fmt::Debug for IADesktopP2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IADesktopP2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IADesktopP2 { type Vtable = IADesktopP2_Vtbl; } -impl ::core::clone::Clone for IADesktopP2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IADesktopP2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb22754e2_4574_11d1_9888_006097deacf9); } @@ -57,6 +42,7 @@ pub struct IADesktopP2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveDesktopP(::windows_core::IUnknown); impl IActiveDesktopP { pub unsafe fn SetSafeMode(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -76,25 +62,9 @@ impl IActiveDesktopP { } } ::windows_core::imp::interface_hierarchy!(IActiveDesktopP, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveDesktopP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveDesktopP {} -impl ::core::fmt::Debug for IActiveDesktopP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveDesktopP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveDesktopP { type Vtable = IActiveDesktopP_Vtbl; } -impl ::core::clone::Clone for IActiveDesktopP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveDesktopP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52502ee0_ec80_11d0_89ab_00c04fc2972d); } @@ -109,6 +79,7 @@ pub struct IActiveDesktopP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBriefcaseInitiator(::windows_core::IUnknown); impl IBriefcaseInitiator { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -121,25 +92,9 @@ impl IBriefcaseInitiator { } } ::windows_core::imp::interface_hierarchy!(IBriefcaseInitiator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBriefcaseInitiator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBriefcaseInitiator {} -impl ::core::fmt::Debug for IBriefcaseInitiator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBriefcaseInitiator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBriefcaseInitiator { type Vtable = IBriefcaseInitiator_Vtbl; } -impl ::core::clone::Clone for IBriefcaseInitiator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBriefcaseInitiator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99180164_da16_101a_935c_444553540000); } @@ -154,6 +109,7 @@ pub struct IBriefcaseInitiator_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmptyVolumeCache(::windows_core::IUnknown); impl IEmptyVolumeCache { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -191,25 +147,9 @@ impl IEmptyVolumeCache { } } ::windows_core::imp::interface_hierarchy!(IEmptyVolumeCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEmptyVolumeCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEmptyVolumeCache {} -impl ::core::fmt::Debug for IEmptyVolumeCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEmptyVolumeCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEmptyVolumeCache { type Vtable = IEmptyVolumeCache_Vtbl; } -impl ::core::clone::Clone for IEmptyVolumeCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmptyVolumeCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8fce5227_04da_11d1_a004_00805f8abe06); } @@ -231,6 +171,7 @@ pub struct IEmptyVolumeCache_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmptyVolumeCache2(::windows_core::IUnknown); impl IEmptyVolumeCache2 { #[doc = "*Required features: `\"Win32_System_Registry\"`*"] @@ -278,25 +219,9 @@ impl IEmptyVolumeCache2 { } } ::windows_core::imp::interface_hierarchy!(IEmptyVolumeCache2, ::windows_core::IUnknown, IEmptyVolumeCache); -impl ::core::cmp::PartialEq for IEmptyVolumeCache2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEmptyVolumeCache2 {} -impl ::core::fmt::Debug for IEmptyVolumeCache2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEmptyVolumeCache2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEmptyVolumeCache2 { type Vtable = IEmptyVolumeCache2_Vtbl; } -impl ::core::clone::Clone for IEmptyVolumeCache2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmptyVolumeCache2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02b7e3ba_4db3_11d2_b2d9_00c04f8eec8c); } @@ -311,6 +236,7 @@ pub struct IEmptyVolumeCache2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEmptyVolumeCacheCallBack(::windows_core::IUnknown); impl IEmptyVolumeCacheCallBack { pub unsafe fn ScanProgress(&self, dwlspaceused: u64, dwflags: u32, pcwszstatus: P0) -> ::windows_core::Result<()> @@ -327,25 +253,9 @@ impl IEmptyVolumeCacheCallBack { } } ::windows_core::imp::interface_hierarchy!(IEmptyVolumeCacheCallBack, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEmptyVolumeCacheCallBack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEmptyVolumeCacheCallBack {} -impl ::core::fmt::Debug for IEmptyVolumeCacheCallBack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEmptyVolumeCacheCallBack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEmptyVolumeCacheCallBack { type Vtable = IEmptyVolumeCacheCallBack_Vtbl; } -impl ::core::clone::Clone for IEmptyVolumeCacheCallBack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEmptyVolumeCacheCallBack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e793361_73c6_11d0_8469_00aa00442901); } @@ -358,6 +268,7 @@ pub struct IEmptyVolumeCacheCallBack_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReconcilableObject(::windows_core::IUnknown); impl IReconcilableObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -377,25 +288,9 @@ impl IReconcilableObject { } } ::windows_core::imp::interface_hierarchy!(IReconcilableObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReconcilableObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReconcilableObject {} -impl ::core::fmt::Debug for IReconcilableObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReconcilableObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReconcilableObject { type Vtable = IReconcilableObject_Vtbl; } -impl ::core::clone::Clone for IReconcilableObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReconcilableObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99180162_da16_101a_935c_444553540000); } @@ -411,6 +306,7 @@ pub struct IReconcilableObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IReconcileInitiator(::windows_core::IUnknown); impl IReconcileInitiator { pub unsafe fn SetAbortCallback(&self, punkforabort: P0) -> ::windows_core::Result<()> @@ -424,25 +320,9 @@ impl IReconcileInitiator { } } ::windows_core::imp::interface_hierarchy!(IReconcileInitiator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IReconcileInitiator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IReconcileInitiator {} -impl ::core::fmt::Debug for IReconcileInitiator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IReconcileInitiator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IReconcileInitiator { type Vtable = IReconcileInitiator_Vtbl; } -impl ::core::clone::Clone for IReconcileInitiator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IReconcileInitiator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99180161_da16_101a_935c_444553540000); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs index 3ee55f6d18..5190fef0b9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs @@ -12,7 +12,7 @@ impl INotificationActivationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs index fc75f68a15..460b84828d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Notifications\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotificationActivationCallback(::windows_core::IUnknown); impl INotificationActivationCallback { pub unsafe fn Activate(&self, appusermodelid: P0, invokedargs: P1, data: &[NOTIFICATION_USER_INPUT_DATA]) -> ::windows_core::Result<()> @@ -11,25 +12,9 @@ impl INotificationActivationCallback { } } ::windows_core::imp::interface_hierarchy!(INotificationActivationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INotificationActivationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INotificationActivationCallback {} -impl ::core::fmt::Debug for INotificationActivationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INotificationActivationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INotificationActivationCallback { type Vtable = INotificationActivationCallback_Vtbl; } -impl ::core::clone::Clone for INotificationActivationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotificationActivationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53e31837_6600_4a81_9395_75cffe746f94); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index 57809ffb67..9c8f72c556 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -35,8 +35,8 @@ impl IUIApplication_Vtbl { OnDestroyUICommand: OnDestroyUICommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl IUICollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -128,8 +128,8 @@ impl IUICollectionChangedEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChanged: OnChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -165,8 +165,8 @@ impl IUICommandHandler_Vtbl { UpdateProperty: UpdateProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IUIContextualUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowAtLocation: ShowAtLocation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl IUIEventLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUIEvent: OnUIEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -219,8 +219,8 @@ impl IUIEventingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetEventLogger: SetEventLogger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -305,8 +305,8 @@ impl IUIFramework_Vtbl { SetModes: SetModes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl IUIImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl IUIImageFromBitmap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateImage: CreateImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IUIRibbon_Vtbl { SaveSettingsToStream: SaveSettingsToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -430,7 +430,7 @@ impl IUISimplePropertySet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs index e990871f05..ae4ab4c0b4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIApplication(::windows_core::IUnknown); impl IUIApplication { pub unsafe fn OnViewChanged(&self, viewid: u32, typeid: UI_VIEWTYPE, view: P0, verb: UI_VIEWVERB, ureasoncode: i32) -> ::windows_core::Result<()> @@ -20,25 +21,9 @@ impl IUIApplication { } } ::windows_core::imp::interface_hierarchy!(IUIApplication, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIApplication { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIApplication {} -impl ::core::fmt::Debug for IUIApplication { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIApplication").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIApplication { type Vtable = IUIApplication_Vtbl; } -impl ::core::clone::Clone for IUIApplication { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIApplication { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd428903c_729a_491d_910d_682a08ff2522); } @@ -52,6 +37,7 @@ pub struct IUIApplication_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUICollection(::windows_core::IUnknown); impl IUICollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -88,25 +74,9 @@ impl IUICollection { } } ::windows_core::imp::interface_hierarchy!(IUICollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUICollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUICollection {} -impl ::core::fmt::Debug for IUICollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUICollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUICollection { type Vtable = IUICollection_Vtbl; } -impl ::core::clone::Clone for IUICollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUICollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdf4f45bf_6f9d_4dd7_9d68_d8f9cd18c4db); } @@ -124,6 +94,7 @@ pub struct IUICollection_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUICollectionChangedEvent(::windows_core::IUnknown); impl IUICollectionChangedEvent { pub unsafe fn OnChanged(&self, action: UI_COLLECTIONCHANGE, oldindex: u32, olditem: P0, newindex: u32, newitem: P1) -> ::windows_core::Result<()> @@ -135,25 +106,9 @@ impl IUICollectionChangedEvent { } } ::windows_core::imp::interface_hierarchy!(IUICollectionChangedEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUICollectionChangedEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUICollectionChangedEvent {} -impl ::core::fmt::Debug for IUICollectionChangedEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUICollectionChangedEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUICollectionChangedEvent { type Vtable = IUICollectionChangedEvent_Vtbl; } -impl ::core::clone::Clone for IUICollectionChangedEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUICollectionChangedEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6502ae91_a14d_44b5_bbd0_62aacc581d52); } @@ -165,6 +120,7 @@ pub struct IUICollectionChangedEvent_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUICommandHandler(::windows_core::IUnknown); impl IUICommandHandler { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -183,25 +139,9 @@ impl IUICommandHandler { } } ::windows_core::imp::interface_hierarchy!(IUICommandHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUICommandHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUICommandHandler {} -impl ::core::fmt::Debug for IUICommandHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUICommandHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUICommandHandler { type Vtable = IUICommandHandler_Vtbl; } -impl ::core::clone::Clone for IUICommandHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUICommandHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75ae0a2d_dc03_4c9f_8883_069660d0beb6); } @@ -220,6 +160,7 @@ pub struct IUICommandHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIContextualUI(::windows_core::IUnknown); impl IUIContextualUI { pub unsafe fn ShowAtLocation(&self, x: i32, y: i32) -> ::windows_core::Result<()> { @@ -227,25 +168,9 @@ impl IUIContextualUI { } } ::windows_core::imp::interface_hierarchy!(IUIContextualUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIContextualUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIContextualUI {} -impl ::core::fmt::Debug for IUIContextualUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIContextualUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIContextualUI { type Vtable = IUIContextualUI_Vtbl; } -impl ::core::clone::Clone for IUIContextualUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIContextualUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeea11f37_7c46_437c_8e55_b52122b29293); } @@ -257,6 +182,7 @@ pub struct IUIContextualUI_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIEventLogger(::windows_core::IUnknown); impl IUIEventLogger { pub unsafe fn OnUIEvent(&self, peventparams: *const UI_EVENTPARAMS) { @@ -264,25 +190,9 @@ impl IUIEventLogger { } } ::windows_core::imp::interface_hierarchy!(IUIEventLogger, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIEventLogger { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIEventLogger {} -impl ::core::fmt::Debug for IUIEventLogger { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIEventLogger").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIEventLogger { type Vtable = IUIEventLogger_Vtbl; } -impl ::core::clone::Clone for IUIEventLogger { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIEventLogger { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec3e1034_dbf4_41a1_95d5_03e0f1026e05); } @@ -294,6 +204,7 @@ pub struct IUIEventLogger_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIEventingManager(::windows_core::IUnknown); impl IUIEventingManager { pub unsafe fn SetEventLogger(&self, eventlogger: P0) -> ::windows_core::Result<()> @@ -304,25 +215,9 @@ impl IUIEventingManager { } } ::windows_core::imp::interface_hierarchy!(IUIEventingManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIEventingManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIEventingManager {} -impl ::core::fmt::Debug for IUIEventingManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIEventingManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIEventingManager { type Vtable = IUIEventingManager_Vtbl; } -impl ::core::clone::Clone for IUIEventingManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIEventingManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3be6ea7f_9a9b_4198_9368_9b0f923bd534); } @@ -334,6 +229,7 @@ pub struct IUIEventingManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIFramework(::windows_core::IUnknown); impl IUIFramework { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -384,25 +280,9 @@ impl IUIFramework { } } ::windows_core::imp::interface_hierarchy!(IUIFramework, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIFramework { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIFramework {} -impl ::core::fmt::Debug for IUIFramework { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIFramework").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIFramework { type Vtable = IUIFramework_Vtbl; } -impl ::core::clone::Clone for IUIFramework { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIFramework { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4f0385d_6872_43a8_ad09_4c339cb3f5c5); } @@ -437,6 +317,7 @@ pub struct IUIFramework_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIImage(::windows_core::IUnknown); impl IUIImage { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -447,25 +328,9 @@ impl IUIImage { } } ::windows_core::imp::interface_hierarchy!(IUIImage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIImage {} -impl ::core::fmt::Debug for IUIImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIImage { type Vtable = IUIImage_Vtbl; } -impl ::core::clone::Clone for IUIImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x23c8c838_4de6_436b_ab01_5554bb7c30dd); } @@ -480,6 +345,7 @@ pub struct IUIImage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIImageFromBitmap(::windows_core::IUnknown); impl IUIImageFromBitmap { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -493,25 +359,9 @@ impl IUIImageFromBitmap { } } ::windows_core::imp::interface_hierarchy!(IUIImageFromBitmap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIImageFromBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIImageFromBitmap {} -impl ::core::fmt::Debug for IUIImageFromBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIImageFromBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIImageFromBitmap { type Vtable = IUIImageFromBitmap_Vtbl; } -impl ::core::clone::Clone for IUIImageFromBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIImageFromBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18aba7f3_4c1c_4ba2_bf6c_f5c3326fa816); } @@ -526,6 +376,7 @@ pub struct IUIImageFromBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIRibbon(::windows_core::IUnknown); impl IUIRibbon { pub unsafe fn GetHeight(&self) -> ::windows_core::Result { @@ -550,25 +401,9 @@ impl IUIRibbon { } } ::windows_core::imp::interface_hierarchy!(IUIRibbon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIRibbon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIRibbon {} -impl ::core::fmt::Debug for IUIRibbon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIRibbon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIRibbon { type Vtable = IUIRibbon_Vtbl; } -impl ::core::clone::Clone for IUIRibbon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIRibbon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x803982ab_370a_4f7e_a9e7_8784036a6e26); } @@ -588,6 +423,7 @@ pub struct IUIRibbon_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUISimplePropertySet(::windows_core::IUnknown); impl IUISimplePropertySet { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -598,25 +434,9 @@ impl IUISimplePropertySet { } } ::windows_core::imp::interface_hierarchy!(IUISimplePropertySet, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUISimplePropertySet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUISimplePropertySet {} -impl ::core::fmt::Debug for IUISimplePropertySet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUISimplePropertySet").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUISimplePropertySet { type Vtable = IUISimplePropertySet_Vtbl; } -impl ::core::clone::Clone for IUISimplePropertySet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUISimplePropertySet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc205bb48_5b1c_4219_a106_15bd0a5f24e2); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs index 662ce59e04..b706dc4346 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs @@ -28,8 +28,8 @@ impl IObjectArray_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -70,7 +70,7 @@ impl IObjectCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs index 61f47b34b6..5defd11fa1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectArray(::windows_core::IUnknown); impl IObjectArray { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -15,25 +16,9 @@ impl IObjectArray { } } ::windows_core::imp::interface_hierarchy!(IObjectArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectArray {} -impl ::core::fmt::Debug for IObjectArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectArray { type Vtable = IObjectArray_Vtbl; } -impl ::core::clone::Clone for IObjectArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92ca9dcd_5622_4bba_a805_5e9f541bd8c9); } @@ -46,6 +31,7 @@ pub struct IObjectArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectCollection(::windows_core::IUnknown); impl IObjectCollection { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -79,25 +65,9 @@ impl IObjectCollection { } } ::windows_core::imp::interface_hierarchy!(IObjectCollection, ::windows_core::IUnknown, IObjectArray); -impl ::core::cmp::PartialEq for IObjectCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectCollection {} -impl ::core::fmt::Debug for IObjectCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectCollection { type Vtable = IObjectCollection_Vtbl; } -impl ::core::clone::Clone for IObjectCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5632b1a4_e38a_400a_928a_d4cd63230295); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index 2ae631f88e..dce16651ab 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -12,8 +12,8 @@ impl ICreateObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl IDelayedPropertyStoreFactory_Vtbl { } Self { base__: IPropertyStoreFactory_Vtbl::new::(), GetDelayedPropertyStore: GetDelayedPropertyStore:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -48,8 +48,8 @@ impl IInitializeWithFile_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -69,8 +69,8 @@ impl IInitializeWithStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl INamedPropertyStore_Vtbl { GetNameAt: GetNameAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IObjectWithPropertyKey_Vtbl { GetPropertyKey: GetPropertyKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IPersistSerializedPropStorage_Vtbl { GetPropertyStorage: GetPropertyStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -229,8 +229,8 @@ impl IPersistSerializedPropStorage2_Vtbl { GetPropertyStorageBuffer: GetPropertyStorageBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IPropertyChange_Vtbl { } Self { base__: IObjectWithPropertyKey_Vtbl::new::(), ApplyToPropVariant: ApplyToPropVariant:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl IPropertyChangeArray_Vtbl { IsKeyInArray: IsKeyInArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl IPropertyDescription_Vtbl { IsValueCanonical: IsValueCanonical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -609,8 +609,8 @@ impl IPropertyDescription2_Vtbl { GetImageReferenceForValue: GetImageReferenceForValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IPropertyDescriptionAliasInfo_Vtbl { GetAdditionalSortByAliases: GetAdditionalSortByAliases::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IPropertyDescriptionList_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl IPropertyDescriptionRelatedPropertyInfo_Vtbl { } Self { base__: IPropertyDescription_Vtbl::new::(), GetRelatedProperty: GetRelatedProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -764,8 +764,8 @@ impl IPropertyDescriptionSearchInfo_Vtbl { GetMaxSize: GetMaxSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -846,8 +846,8 @@ impl IPropertyEnumType_Vtbl { GetDisplayText: GetDisplayText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -873,8 +873,8 @@ impl IPropertyEnumType2_Vtbl { } Self { base__: IPropertyEnumType_Vtbl::new::(), GetImageReference: GetImageReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IPropertyEnumTypeList_Vtbl { FindMatchingIndex: FindMatchingIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -994,8 +994,8 @@ impl IPropertyStore_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IPropertyStoreCache_Vtbl { SetValueAndState: SetValueAndState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1063,8 +1063,8 @@ impl IPropertyStoreCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsPropertyWritable: IsPropertyWritable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IPropertyStoreFactory_Vtbl { GetPropertyStoreForKeys: GetPropertyStoreForKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IPropertySystem_Vtbl { RefreshPropertySchema: RefreshPropertySchema::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IPropertySystemChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SchemaRefreshed: SchemaRefreshed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1280,7 +1280,7 @@ impl IPropertyUI_Vtbl { GetHelpInfo: GetHelpInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 9d1fe7f343..8ae15a448b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -770,6 +770,7 @@ where } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateObject(::windows_core::IUnknown); impl ICreateObject { pub unsafe fn CreateObject(&self, clsid: *const ::windows_core::GUID, punkouter: P0) -> ::windows_core::Result @@ -782,25 +783,9 @@ impl ICreateObject { } } ::windows_core::imp::interface_hierarchy!(ICreateObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateObject {} -impl ::core::fmt::Debug for ICreateObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateObject { type Vtable = ICreateObject_Vtbl; } -impl ::core::clone::Clone for ICreateObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75121952_e0d0_43e5_9380_1d80483acf72); } @@ -812,6 +797,7 @@ pub struct ICreateObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDelayedPropertyStoreFactory(::windows_core::IUnknown); impl IDelayedPropertyStoreFactory { pub unsafe fn GetPropertyStore(&self, flags: GETPROPERTYSTOREFLAGS, punkfactory: P0) -> ::windows_core::Result @@ -838,25 +824,9 @@ impl IDelayedPropertyStoreFactory { } } ::windows_core::imp::interface_hierarchy!(IDelayedPropertyStoreFactory, ::windows_core::IUnknown, IPropertyStoreFactory); -impl ::core::cmp::PartialEq for IDelayedPropertyStoreFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDelayedPropertyStoreFactory {} -impl ::core::fmt::Debug for IDelayedPropertyStoreFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDelayedPropertyStoreFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDelayedPropertyStoreFactory { type Vtable = IDelayedPropertyStoreFactory_Vtbl; } -impl ::core::clone::Clone for IDelayedPropertyStoreFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDelayedPropertyStoreFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40d4577f_e237_4bdb_bd69_58f089431b6a); } @@ -868,6 +838,7 @@ pub struct IDelayedPropertyStoreFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithFile(::windows_core::IUnknown); impl IInitializeWithFile { pub unsafe fn Initialize(&self, pszfilepath: P0, grfmode: u32) -> ::windows_core::Result<()> @@ -878,25 +849,9 @@ impl IInitializeWithFile { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithFile, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithFile { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithFile {} -impl ::core::fmt::Debug for IInitializeWithFile { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithFile").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithFile { type Vtable = IInitializeWithFile_Vtbl; } -impl ::core::clone::Clone for IInitializeWithFile { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithFile { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7d14566_0509_4cce_a71f_0a554233bd9b); } @@ -908,6 +863,7 @@ pub struct IInitializeWithFile_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithStream(::windows_core::IUnknown); impl IInitializeWithStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -920,25 +876,9 @@ impl IInitializeWithStream { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithStream {} -impl ::core::fmt::Debug for IInitializeWithStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithStream { type Vtable = IInitializeWithStream_Vtbl; } -impl ::core::clone::Clone for IInitializeWithStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb824b49d_22ac_4161_ac8a_9916e8fa3f7f); } @@ -953,6 +893,7 @@ pub struct IInitializeWithStream_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedPropertyStore(::windows_core::IUnknown); impl INamedPropertyStore { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -982,25 +923,9 @@ impl INamedPropertyStore { } } ::windows_core::imp::interface_hierarchy!(INamedPropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamedPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamedPropertyStore {} -impl ::core::fmt::Debug for INamedPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamedPropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamedPropertyStore { type Vtable = INamedPropertyStore_Vtbl; } -impl ::core::clone::Clone for INamedPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedPropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71604b0f_97b0_4764_8577_2f13e98a1422); } @@ -1021,6 +946,7 @@ pub struct INamedPropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithPropertyKey(::windows_core::IUnknown); impl IObjectWithPropertyKey { pub unsafe fn SetPropertyKey(&self, key: *const PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1031,25 +957,9 @@ impl IObjectWithPropertyKey { } } ::windows_core::imp::interface_hierarchy!(IObjectWithPropertyKey, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithPropertyKey { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithPropertyKey {} -impl ::core::fmt::Debug for IObjectWithPropertyKey { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithPropertyKey").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithPropertyKey { type Vtable = IObjectWithPropertyKey_Vtbl; } -impl ::core::clone::Clone for IObjectWithPropertyKey { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithPropertyKey { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc0ca0a7_c316_4fd2_9031_3e628e6d4f23); } @@ -1062,6 +972,7 @@ pub struct IObjectWithPropertyKey_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistSerializedPropStorage(::windows_core::IUnknown); impl IPersistSerializedPropStorage { pub unsafe fn SetFlags(&self, flags: i32) -> ::windows_core::Result<()> { @@ -1078,25 +989,9 @@ impl IPersistSerializedPropStorage { } } ::windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPersistSerializedPropStorage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistSerializedPropStorage {} -impl ::core::fmt::Debug for IPersistSerializedPropStorage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistSerializedPropStorage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistSerializedPropStorage { type Vtable = IPersistSerializedPropStorage_Vtbl; } -impl ::core::clone::Clone for IPersistSerializedPropStorage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistSerializedPropStorage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe318ad57_0aa0_450f_aca5_6fab7103d917); } @@ -1110,6 +1005,7 @@ pub struct IPersistSerializedPropStorage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistSerializedPropStorage2(::windows_core::IUnknown); impl IPersistSerializedPropStorage2 { pub unsafe fn SetFlags(&self, flags: i32) -> ::windows_core::Result<()> { @@ -1133,25 +1029,9 @@ impl IPersistSerializedPropStorage2 { } } ::windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage2, ::windows_core::IUnknown, IPersistSerializedPropStorage); -impl ::core::cmp::PartialEq for IPersistSerializedPropStorage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPersistSerializedPropStorage2 {} -impl ::core::fmt::Debug for IPersistSerializedPropStorage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistSerializedPropStorage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPersistSerializedPropStorage2 { type Vtable = IPersistSerializedPropStorage2_Vtbl; } -impl ::core::clone::Clone for IPersistSerializedPropStorage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPersistSerializedPropStorage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77effa68_4f98_4366_ba72_573b3d880571); } @@ -1164,6 +1044,7 @@ pub struct IPersistSerializedPropStorage2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyChange(::windows_core::IUnknown); impl IPropertyChange { pub unsafe fn SetPropertyKey(&self, key: *const PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1180,25 +1061,9 @@ impl IPropertyChange { } } ::windows_core::imp::interface_hierarchy!(IPropertyChange, ::windows_core::IUnknown, IObjectWithPropertyKey); -impl ::core::cmp::PartialEq for IPropertyChange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyChange {} -impl ::core::fmt::Debug for IPropertyChange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyChange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyChange { type Vtable = IPropertyChange_Vtbl; } -impl ::core::clone::Clone for IPropertyChange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyChange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf917bc8a_1bba_4478_a245_1bde03eb9431); } @@ -1213,6 +1078,7 @@ pub struct IPropertyChange_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyChangeArray(::windows_core::IUnknown); impl IPropertyChangeArray { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1252,25 +1118,9 @@ impl IPropertyChangeArray { } } ::windows_core::imp::interface_hierarchy!(IPropertyChangeArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyChangeArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyChangeArray {} -impl ::core::fmt::Debug for IPropertyChangeArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyChangeArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyChangeArray { type Vtable = IPropertyChangeArray_Vtbl; } -impl ::core::clone::Clone for IPropertyChangeArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyChangeArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x380f5cad_1b5e_42f2_805d_637fd392d31e); } @@ -1288,6 +1138,7 @@ pub struct IPropertyChangeArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescription(::windows_core::IUnknown); impl IPropertyDescription { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1389,25 +1240,9 @@ impl IPropertyDescription { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescription, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyDescription { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescription {} -impl ::core::fmt::Debug for IPropertyDescription { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescription").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescription { type Vtable = IPropertyDescription_Vtbl; } -impl ::core::clone::Clone for IPropertyDescription { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescription { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f79d558_3e96_4549_a1d1_7d75d2288814); } @@ -1457,6 +1292,7 @@ pub struct IPropertyDescription_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescription2(::windows_core::IUnknown); impl IPropertyDescription2 { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1564,25 +1400,9 @@ impl IPropertyDescription2 { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescription2, ::windows_core::IUnknown, IPropertyDescription); -impl ::core::cmp::PartialEq for IPropertyDescription2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescription2 {} -impl ::core::fmt::Debug for IPropertyDescription2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescription2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescription2 { type Vtable = IPropertyDescription2_Vtbl; } -impl ::core::clone::Clone for IPropertyDescription2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescription2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57d2eded_5062_400e_b107_5dae79fe57a6); } @@ -1597,6 +1417,7 @@ pub struct IPropertyDescription2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescriptionAliasInfo(::windows_core::IUnknown); impl IPropertyDescriptionAliasInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1712,25 +1533,9 @@ impl IPropertyDescriptionAliasInfo { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionAliasInfo, ::windows_core::IUnknown, IPropertyDescription); -impl ::core::cmp::PartialEq for IPropertyDescriptionAliasInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescriptionAliasInfo {} -impl ::core::fmt::Debug for IPropertyDescriptionAliasInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescriptionAliasInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescriptionAliasInfo { type Vtable = IPropertyDescriptionAliasInfo_Vtbl; } -impl ::core::clone::Clone for IPropertyDescriptionAliasInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescriptionAliasInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf67104fc_2af9_46fd_b32d_243c1404f3d1); } @@ -1743,6 +1548,7 @@ pub struct IPropertyDescriptionAliasInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescriptionList(::windows_core::IUnknown); impl IPropertyDescriptionList { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -1758,25 +1564,9 @@ impl IPropertyDescriptionList { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyDescriptionList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescriptionList {} -impl ::core::fmt::Debug for IPropertyDescriptionList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescriptionList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescriptionList { type Vtable = IPropertyDescriptionList_Vtbl; } -impl ::core::clone::Clone for IPropertyDescriptionList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescriptionList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f9fc1d0_c39b_4b26_817f_011967d3440e); } @@ -1789,6 +1579,7 @@ pub struct IPropertyDescriptionList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescriptionRelatedPropertyInfo(::windows_core::IUnknown); impl IPropertyDescriptionRelatedPropertyInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> ::windows_core::Result<()> { @@ -1898,25 +1689,9 @@ impl IPropertyDescriptionRelatedPropertyInfo { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, ::windows_core::IUnknown, IPropertyDescription); -impl ::core::cmp::PartialEq for IPropertyDescriptionRelatedPropertyInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescriptionRelatedPropertyInfo {} -impl ::core::fmt::Debug for IPropertyDescriptionRelatedPropertyInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescriptionRelatedPropertyInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescriptionRelatedPropertyInfo { type Vtable = IPropertyDescriptionRelatedPropertyInfo_Vtbl; } -impl ::core::clone::Clone for IPropertyDescriptionRelatedPropertyInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescriptionRelatedPropertyInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x507393f4_2a3d_4a60_b59e_d9c75716c2dd); } @@ -1928,6 +1703,7 @@ pub struct IPropertyDescriptionRelatedPropertyInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyDescriptionSearchInfo(::windows_core::IUnknown); impl IPropertyDescriptionSearchInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> ::windows_core::Result<()> { @@ -2045,25 +1821,9 @@ impl IPropertyDescriptionSearchInfo { } } ::windows_core::imp::interface_hierarchy!(IPropertyDescriptionSearchInfo, ::windows_core::IUnknown, IPropertyDescription); -impl ::core::cmp::PartialEq for IPropertyDescriptionSearchInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyDescriptionSearchInfo {} -impl ::core::fmt::Debug for IPropertyDescriptionSearchInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyDescriptionSearchInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyDescriptionSearchInfo { type Vtable = IPropertyDescriptionSearchInfo_Vtbl; } -impl ::core::clone::Clone for IPropertyDescriptionSearchInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyDescriptionSearchInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x078f91bd_29a2_440f_924e_46a291524520); } @@ -2078,6 +1838,7 @@ pub struct IPropertyDescriptionSearchInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyEnumType(::windows_core::IUnknown); impl IPropertyEnumType { pub unsafe fn GetEnumType(&self) -> ::windows_core::Result { @@ -2108,25 +1869,9 @@ impl IPropertyEnumType { } } ::windows_core::imp::interface_hierarchy!(IPropertyEnumType, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyEnumType { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyEnumType {} -impl ::core::fmt::Debug for IPropertyEnumType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyEnumType").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyEnumType { type Vtable = IPropertyEnumType_Vtbl; } -impl ::core::clone::Clone for IPropertyEnumType { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyEnumType { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11e1fbf9_2d56_4a6b_8db3_7cd193a471f2); } @@ -2151,6 +1896,7 @@ pub struct IPropertyEnumType_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyEnumType2(::windows_core::IUnknown); impl IPropertyEnumType2 { pub unsafe fn GetEnumType(&self) -> ::windows_core::Result { @@ -2185,25 +1931,9 @@ impl IPropertyEnumType2 { } } ::windows_core::imp::interface_hierarchy!(IPropertyEnumType2, ::windows_core::IUnknown, IPropertyEnumType); -impl ::core::cmp::PartialEq for IPropertyEnumType2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyEnumType2 {} -impl ::core::fmt::Debug for IPropertyEnumType2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyEnumType2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyEnumType2 { type Vtable = IPropertyEnumType2_Vtbl; } -impl ::core::clone::Clone for IPropertyEnumType2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyEnumType2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b6e051c_5ddd_4321_9070_fe2acb55e794); } @@ -2215,6 +1945,7 @@ pub struct IPropertyEnumType2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyEnumTypeList(::windows_core::IUnknown); impl IPropertyEnumTypeList { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2243,25 +1974,9 @@ impl IPropertyEnumTypeList { } } ::windows_core::imp::interface_hierarchy!(IPropertyEnumTypeList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyEnumTypeList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyEnumTypeList {} -impl ::core::fmt::Debug for IPropertyEnumTypeList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyEnumTypeList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyEnumTypeList { type Vtable = IPropertyEnumTypeList_Vtbl; } -impl ::core::clone::Clone for IPropertyEnumTypeList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyEnumTypeList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa99400f4_3d84_4557_94ba_1242fb2cc9a6); } @@ -2279,6 +1994,7 @@ pub struct IPropertyEnumTypeList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStore(::windows_core::IUnknown); impl IPropertyStore { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2304,25 +2020,9 @@ impl IPropertyStore { } } ::windows_core::imp::interface_hierarchy!(IPropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStore {} -impl ::core::fmt::Debug for IPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStore { type Vtable = IPropertyStore_Vtbl; } -impl ::core::clone::Clone for IPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x886d8eeb_8cf2_4446_8d02_cdba1dbdcf99); } @@ -2344,6 +2044,7 @@ pub struct IPropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStoreCache(::windows_core::IUnknown); impl IPropertyStoreCache { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -2386,25 +2087,9 @@ impl IPropertyStoreCache { } } ::windows_core::imp::interface_hierarchy!(IPropertyStoreCache, ::windows_core::IUnknown, IPropertyStore); -impl ::core::cmp::PartialEq for IPropertyStoreCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStoreCache {} -impl ::core::fmt::Debug for IPropertyStoreCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStoreCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStoreCache { type Vtable = IPropertyStoreCache_Vtbl; } -impl ::core::clone::Clone for IPropertyStoreCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStoreCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3017056d_9a91_4e90_937d_746c72abbf4f); } @@ -2425,6 +2110,7 @@ pub struct IPropertyStoreCache_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStoreCapabilities(::windows_core::IUnknown); impl IPropertyStoreCapabilities { pub unsafe fn IsPropertyWritable(&self, key: *const PROPERTYKEY) -> ::windows_core::Result<()> { @@ -2432,25 +2118,9 @@ impl IPropertyStoreCapabilities { } } ::windows_core::imp::interface_hierarchy!(IPropertyStoreCapabilities, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyStoreCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStoreCapabilities {} -impl ::core::fmt::Debug for IPropertyStoreCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStoreCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStoreCapabilities { type Vtable = IPropertyStoreCapabilities_Vtbl; } -impl ::core::clone::Clone for IPropertyStoreCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStoreCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8e2d566_186e_4d49_bf41_6909ead56acc); } @@ -2462,6 +2132,7 @@ pub struct IPropertyStoreCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyStoreFactory(::windows_core::IUnknown); impl IPropertyStoreFactory { pub unsafe fn GetPropertyStore(&self, flags: GETPROPERTYSTOREFLAGS, punkfactory: P0) -> ::windows_core::Result @@ -2481,25 +2152,9 @@ impl IPropertyStoreFactory { } } ::windows_core::imp::interface_hierarchy!(IPropertyStoreFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyStoreFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyStoreFactory {} -impl ::core::fmt::Debug for IPropertyStoreFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyStoreFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyStoreFactory { type Vtable = IPropertyStoreFactory_Vtbl; } -impl ::core::clone::Clone for IPropertyStoreFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyStoreFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc110b6d_57e8_4148_a9c6_91015ab2f3a5); } @@ -2512,6 +2167,7 @@ pub struct IPropertyStoreFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySystem(::windows_core::IUnknown); impl IPropertySystem { pub unsafe fn GetPropertyDescription(&self, propkey: *const PROPERTYKEY) -> ::windows_core::Result @@ -2572,25 +2228,9 @@ impl IPropertySystem { } } ::windows_core::imp::interface_hierarchy!(IPropertySystem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertySystem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySystem {} -impl ::core::fmt::Debug for IPropertySystem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySystem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertySystem { type Vtable = IPropertySystem_Vtbl; } -impl ::core::clone::Clone for IPropertySystem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySystem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca724e8a_c3e6_442b_88a4_6fb0db8035a3); } @@ -2616,6 +2256,7 @@ pub struct IPropertySystem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertySystemChangeNotify(::windows_core::IUnknown); impl IPropertySystemChangeNotify { pub unsafe fn SchemaRefreshed(&self) -> ::windows_core::Result<()> { @@ -2623,25 +2264,9 @@ impl IPropertySystemChangeNotify { } } ::windows_core::imp::interface_hierarchy!(IPropertySystemChangeNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertySystemChangeNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertySystemChangeNotify {} -impl ::core::fmt::Debug for IPropertySystemChangeNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertySystemChangeNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertySystemChangeNotify { type Vtable = IPropertySystemChangeNotify_Vtbl; } -impl ::core::clone::Clone for IPropertySystemChangeNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertySystemChangeNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa955fd9_38be_4879_a6ce_824cf52d609f); } @@ -2653,6 +2278,7 @@ pub struct IPropertySystemChangeNotify_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyUI(::windows_core::IUnknown); impl IPropertyUI { pub unsafe fn ParsePropertyName(&self, pszname: P0, pfmtid: *mut ::windows_core::GUID, ppid: *mut u32, pcheaten: *mut u32) -> ::windows_core::Result<()> @@ -2688,25 +2314,9 @@ impl IPropertyUI { } } ::windows_core::imp::interface_hierarchy!(IPropertyUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyUI {} -impl ::core::fmt::Debug for IPropertyUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyUI { type Vtable = IPropertyUI_Vtbl; } -impl ::core::clone::Clone for IPropertyUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x757a7d9f_919a_4118_99d7_dbb208c8cc66); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index 815e03208d..b9bdfb41f4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -25,8 +25,8 @@ impl CIE4ConnectionPoint_Vtbl { DoInvokePIDLIE4: DoInvokePIDLIE4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl DFConstraint_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -82,8 +82,8 @@ impl DShellFolderViewEvents_Vtbl { pub const fn new, Impl: DShellFolderViewEvents_Impl, const OFFSET: isize>() -> DShellFolderViewEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl DShellNameSpaceEvents_Vtbl { pub const fn new, Impl: DShellNameSpaceEvents_Impl, const OFFSET: isize>() -> DShellNameSpaceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl DShellWindowsEvents_Vtbl { pub const fn new, Impl: DShellWindowsEvents_Impl, const OFFSET: isize>() -> DShellWindowsEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl DWebBrowserEvents_Vtbl { pub const fn new, Impl: DWebBrowserEvents_Impl, const OFFSET: isize>() -> DWebBrowserEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -138,8 +138,8 @@ impl DWebBrowserEvents2_Vtbl { pub const fn new, Impl: DWebBrowserEvents2_Impl, const OFFSET: isize>() -> DWebBrowserEvents2_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl Folder_Vtbl { GetDetailsOf: GetDetailsOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl Folder2_Vtbl { DismissedWebViewBarricade: DismissedWebViewBarricade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl Folder3_Vtbl { SetShowWebViewBarricade: SetShowWebViewBarricade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -594,8 +594,8 @@ impl FolderItem_Vtbl { InvokeVerb: InvokeVerb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -631,8 +631,8 @@ impl FolderItem2_Vtbl { ExtendedProperty: ExtendedProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -694,8 +694,8 @@ impl FolderItemVerb_Vtbl { DoIt: DoIt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -776,8 +776,8 @@ impl FolderItemVerbs_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -858,8 +858,8 @@ impl FolderItems_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -879,8 +879,8 @@ impl FolderItems2_Vtbl { } Self { base__: FolderItems_Vtbl::new::(), InvokeVerbEx: InvokeVerbEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl FolderItems3_Vtbl { } Self { base__: FolderItems2_Vtbl::new::(), Filter: Filter::, Verbs: Verbs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IACList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Expand: Expand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IACList2_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1002,8 +1002,8 @@ impl IAccessibilityDockingService_Vtbl { UndockWindow: UndockWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1020,8 +1020,8 @@ impl IAccessibilityDockingServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Undocked: Undocked:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1038,8 +1038,8 @@ impl IAccessibleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAccessibleName: SetAccessibleName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1103,8 +1103,8 @@ impl IActionProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1131,8 +1131,8 @@ impl IActionProgressDialog_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl IAppActivationUIInfo_Vtbl { GetKeyState: GetKeyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1279,8 +1279,8 @@ impl IAppPublisher_Vtbl { EnumApps: EnumApps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl IAppVisibility_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1373,8 +1373,8 @@ impl IAppVisibilityEvents_Vtbl { LauncherVisibilityChange: LauncherVisibilityChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl IApplicationActivationManager_Vtbl { ActivateForProtocol: ActivateForProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1503,8 +1503,8 @@ impl IApplicationAssociationRegistration_Vtbl { ClearUserAssociations: ClearUserAssociations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1524,8 +1524,8 @@ impl IApplicationAssociationRegistrationUI_Vtbl { LaunchAdvancedAssociationUI: LaunchAdvancedAssociationUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IApplicationDesignModeSettings_Vtbl { TriggerEdgeGesture: TriggerEdgeGesture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IApplicationDesignModeSettings2_Vtbl { GetApplicationViewOrientation: GetApplicationViewOrientation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1702,8 +1702,8 @@ impl IApplicationDestinations_Vtbl { RemoveAllDestinations: RemoveAllDestinations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl IApplicationDocumentLists_Vtbl { GetList: GetList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1814,8 +1814,8 @@ impl IAssocHandler_Vtbl { CreateInvoker: CreateInvoker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1842,8 +1842,8 @@ impl IAssocHandlerInvoker_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl IAttachmentExecute_Vtbl { ClearClientState: ClearClientState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1976,8 +1976,8 @@ impl IAutoComplete_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Enable: Enable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2013,8 +2013,8 @@ impl IAutoComplete2_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2041,8 +2041,8 @@ impl IAutoCompleteDropDown_Vtbl { ResetEnumerator: ResetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2079,8 +2079,8 @@ impl IBandHost_Vtbl { DestroyBand: DestroyBand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2158,8 +2158,8 @@ impl IBandSite_Vtbl { GetBandSiteInfo: GetBandSiteInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2176,8 +2176,8 @@ impl IBannerNotificationHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBannerEvent: OnBannerEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2233,8 +2233,8 @@ impl IBanneredBar_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2257,8 +2257,8 @@ impl IBrowserFrameOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFrameOptions: GetFrameOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -2562,8 +2562,8 @@ impl IBrowserService_Vtbl { RegisterWindow: RegisterWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3037,8 +3037,8 @@ impl IBrowserService2_Vtbl { v_CheckZoneCrossing: v_CheckZoneCrossing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3074,8 +3074,8 @@ impl IBrowserService3_Vtbl { IEParseDisplayNameEx: IEParseDisplayNameEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl IBrowserService4_Vtbl { _ResizeAllBorders: _ResizeAllBorders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3156,8 +3156,8 @@ impl ICDBurn_Vtbl { HasRecordableDrive: HasRecordableDrive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3180,8 +3180,8 @@ impl ICDBurnExt_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedActionTypes: GetSupportedActionTypes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3225,8 +3225,8 @@ impl ICategorizer_Vtbl { CompareCategory: CompareCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl ICategoryProvider_Vtbl { CreateCategory: CreateCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3354,8 +3354,8 @@ impl IColumnManager_Vtbl { SetColumns: SetColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3398,8 +3398,8 @@ impl IColumnProvider_Vtbl { GetItemData: GetItemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3436,8 +3436,8 @@ impl ICommDlgBrowser_Vtbl { IncludeObject: IncludeObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3480,8 +3480,8 @@ impl ICommDlgBrowser2_Vtbl { GetViewFlags: GetViewFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3518,8 +3518,8 @@ impl ICommDlgBrowser3_Vtbl { OnPreViewCreated: OnPreViewCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl IComputerInfoChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComputerInfoChanged: ComputerInfoChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3567,8 +3567,8 @@ impl IConnectableCredentialProviderCredential_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3588,8 +3588,8 @@ impl IContactManagerInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowContactCardForWindow: ShowContactCardForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3626,8 +3626,8 @@ impl IContextMenu_Vtbl { GetCommandString: GetCommandString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3647,8 +3647,8 @@ impl IContextMenu2_Vtbl { } Self { base__: IContextMenu_Vtbl::new::(), HandleMenuMsg: HandleMenuMsg:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3668,8 +3668,8 @@ impl IContextMenu3_Vtbl { } Self { base__: IContextMenu2_Vtbl::new::(), HandleMenuMsg2: HandleMenuMsg2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3689,8 +3689,8 @@ impl IContextMenuCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallBack: CallBack:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3710,8 +3710,8 @@ impl IContextMenuSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoContextMenuPopup: DoContextMenuPopup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3731,8 +3731,8 @@ impl ICopyHookA_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3752,8 +3752,8 @@ impl ICopyHookW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3821,8 +3821,8 @@ impl ICreateProcessInputs_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3839,8 +3839,8 @@ impl ICreatingProcess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCreating: OnCreating:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3930,8 +3930,8 @@ impl ICredentialProvider_Vtbl { GetCredentialAt: GetCredentialAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4096,8 +4096,8 @@ impl ICredentialProviderCredential_Vtbl { ReportResult: ReportResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4123,8 +4123,8 @@ impl ICredentialProviderCredential2_Vtbl { } Self { base__: ICredentialProviderCredential_Vtbl::new::(), GetUserSid: GetUserSid:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4216,8 +4216,8 @@ impl ICredentialProviderCredentialEvents_Vtbl { OnCreatingWindow: OnCreatingWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4254,8 +4254,8 @@ impl ICredentialProviderCredentialEvents2_Vtbl { SetFieldOptions: SetFieldOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4278,8 +4278,8 @@ impl ICredentialProviderCredentialWithFieldOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFieldOptions: GetFieldOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4296,8 +4296,8 @@ impl ICredentialProviderEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CredentialsChanged: CredentialsChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4327,8 +4327,8 @@ impl ICredentialProviderFilter_Vtbl { UpdateRemoteCredential: UpdateRemoteCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4345,8 +4345,8 @@ impl ICredentialProviderSetUserArray_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUserArray: SetUserArray:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -4414,8 +4414,8 @@ impl ICredentialProviderUser_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4474,8 +4474,8 @@ impl ICredentialProviderUserArray_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4488,8 +4488,8 @@ impl ICurrentItem_Vtbl { pub const fn new, Impl: ICurrentItem_Impl, const OFFSET: isize>() -> ICurrentItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4516,8 +4516,8 @@ impl ICurrentWorkingDirectory_Vtbl { SetDirectory: SetDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4596,8 +4596,8 @@ impl ICustomDestinationList_Vtbl { AbortList: AbortList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4660,8 +4660,8 @@ impl IDataObjectAsyncCapability_Vtbl { EndOperation: EndOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4697,8 +4697,8 @@ impl IDataObjectProvider_Vtbl { SetDataObject: SetDataObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4728,8 +4728,8 @@ impl IDataTransferManagerInterop_Vtbl { ShowShareUIForWindow: ShowShareUIForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -4787,8 +4787,8 @@ impl IDefaultExtractIconInit_Vtbl { SetDefaultIcon: SetDefaultIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4838,8 +4838,8 @@ impl IDefaultFolderMenuInitialize_Vtbl { SetHandlerClsid: SetHandlerClsid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4859,8 +4859,8 @@ impl IDelegateFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetItemAlloc: SetItemAlloc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4873,8 +4873,8 @@ impl IDelegateItem_Vtbl { pub const fn new, Impl: IDelegateItem_Impl, const OFFSET: isize>() -> IDelegateItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4894,8 +4894,8 @@ impl IDeskBand_Vtbl { } Self { base__: IDockingWindow_Vtbl::new::(), GetBandInfo: GetBandInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4944,8 +4944,8 @@ impl IDeskBand2_Vtbl { GetCompositionState: GetCompositionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4968,8 +4968,8 @@ impl IDeskBandInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDefaultBandWidth: GetDefaultBandWidth:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5012,8 +5012,8 @@ impl IDeskBar_Vtbl { OnPosRectChangeDB: OnPosRectChangeDB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5063,8 +5063,8 @@ impl IDeskBarClient_Vtbl { GetSize: GetSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5081,8 +5081,8 @@ impl IDesktopGadget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RunGadget: RunGadget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5258,8 +5258,8 @@ impl IDesktopWallpaper_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5285,8 +5285,8 @@ impl IDestinationStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDestinationStream: GetDestinationStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5299,8 +5299,8 @@ impl IDisplayItem_Vtbl { pub const fn new, Impl: IDisplayItem_Impl, const OFFSET: isize>() -> IDisplayItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5320,8 +5320,8 @@ impl IDocViewSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSetTitle: OnSetTitle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5358,8 +5358,8 @@ impl IDockingWindow_Vtbl { ResizeBorderDW: ResizeBorderDW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5396,8 +5396,8 @@ impl IDockingWindowFrame_Vtbl { FindToolbar: FindToolbar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5440,8 +5440,8 @@ impl IDockingWindowSite_Vtbl { SetBorderSpaceDW: SetBorderSpaceDW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5471,8 +5471,8 @@ impl IDragSourceHelper_Vtbl { InitializeFromWindow: InitializeFromWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5492,8 +5492,8 @@ impl IDragSourceHelper2_Vtbl { } Self { base__: IDragSourceHelper_Vtbl::new::(), SetFlags: SetFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5544,8 +5544,8 @@ impl IDropTargetHelper_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5568,8 +5568,8 @@ impl IDynamicHWHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDynamicInfo: GetDynamicInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5612,8 +5612,8 @@ impl IEnumACString_Vtbl { GetEnumOptions: GetEnumOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5630,8 +5630,8 @@ impl IEnumAssocHandlers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5678,8 +5678,8 @@ impl IEnumExplorerCommand_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5726,8 +5726,8 @@ impl IEnumExtraSearch_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5777,8 +5777,8 @@ impl IEnumFullIDList_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5825,8 +5825,8 @@ impl IEnumHLITEM_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5870,8 +5870,8 @@ impl IEnumIDList_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5918,8 +5918,8 @@ impl IEnumObjects_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IEnumPublishedApps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5966,8 +5966,8 @@ impl IEnumReadyCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumReady: EnumReady:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6014,8 +6014,8 @@ impl IEnumResources_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6062,8 +6062,8 @@ impl IEnumShellItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6110,8 +6110,8 @@ impl IEnumSyncMgrConflict_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6158,8 +6158,8 @@ impl IEnumSyncMgrEvents_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6206,8 +6206,8 @@ impl IEnumSyncMgrSyncItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6254,8 +6254,8 @@ impl IEnumTravelLogEntry_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -6291,8 +6291,8 @@ impl IEnumerableView_Vtbl { CreateEnumIDListFromContents: CreateEnumIDListFromContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6357,8 +6357,8 @@ impl IExecuteCommand_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6381,8 +6381,8 @@ impl IExecuteCommandApplicationHostEnvironment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6405,8 +6405,8 @@ impl IExecuteCommandHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIMode: GetUIMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6449,8 +6449,8 @@ impl IExpDispSupport_Vtbl { OnInvoke: OnInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6493,8 +6493,8 @@ impl IExpDispSupportXP_Vtbl { OnInvoke: OnInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6627,8 +6627,8 @@ impl IExplorerBrowser_Vtbl { GetCurrentView: GetCurrentView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -6672,8 +6672,8 @@ impl IExplorerBrowserEvents_Vtbl { OnNavigationFailed: OnNavigationFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6787,8 +6787,8 @@ impl IExplorerCommand_Vtbl { EnumSubCommands: EnumSubCommands::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6815,8 +6815,8 @@ impl IExplorerCommandProvider_Vtbl { GetCommand: GetCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6842,8 +6842,8 @@ impl IExplorerCommandState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetState: GetState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6866,8 +6866,8 @@ impl IExplorerPaneVisibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPaneState: GetPaneState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6897,8 +6897,8 @@ impl IExtensionServices_Vtbl { SetAuthenticateData: SetAuthenticateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6928,8 +6928,8 @@ impl IExtractIconA_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6959,8 +6959,8 @@ impl IExtractIconW_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -6996,8 +6996,8 @@ impl IExtractImage_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -7023,8 +7023,8 @@ impl IExtractImage2_Vtbl { } Self { base__: IExtractImage_Vtbl::new::(), GetDateStamp: GetDateStamp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7243,8 +7243,8 @@ impl IFileDialog_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7274,8 +7274,8 @@ impl IFileDialog2_Vtbl { SetNavigationRoot: SetNavigationRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7319,8 +7319,8 @@ impl IFileDialogControlEvents_Vtbl { OnControlActivating: OnControlActivating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7555,8 +7555,8 @@ impl IFileDialogCustomize_Vtbl { SetControlItemText: SetControlItemText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -7630,8 +7630,8 @@ impl IFileDialogEvents_Vtbl { OnOverwrite: OnOverwrite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7706,8 +7706,8 @@ impl IFileIsInUse_Vtbl { CloseFile: CloseFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7749,8 +7749,8 @@ impl IFileOpenDialog_Vtbl { GetSelectedItems: GetSelectedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7918,8 +7918,8 @@ impl IFileOperation_Vtbl { GetAnyOperationsAborted: GetAnyOperationsAborted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7939,8 +7939,8 @@ impl IFileOperation2_Vtbl { } Self { base__: IFileOperation_Vtbl::new::(), SetOperationFlags2: SetOperationFlags2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8065,8 +8065,8 @@ impl IFileOperationProgressSink_Vtbl { ResumeTimer: ResumeTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8123,8 +8123,8 @@ impl IFileSaveDialog_Vtbl { ApplyProperties: ApplyProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8193,8 +8193,8 @@ impl IFileSearchBand_Vtbl { QueryFile: QueryFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -8230,8 +8230,8 @@ impl IFileSyncMergeHandler_Vtbl { ShowResolveConflictUIAsync: ShowResolveConflictUIAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -8261,8 +8261,8 @@ impl IFileSystemBindData_Vtbl { GetFindData: GetFindData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -8318,8 +8318,8 @@ impl IFileSystemBindData2_Vtbl { GetJunctionCLSID: GetJunctionCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8363,8 +8363,8 @@ impl IFolderBandPriv_Vtbl { SetNoText: SetNoText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -8394,8 +8394,8 @@ impl IFolderFilter_Vtbl { GetEnumFlags: GetEnumFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8412,8 +8412,8 @@ impl IFolderFilterSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFilter: SetFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -8569,8 +8569,8 @@ impl IFolderView_Vtbl { SelectAndPositionItems: SelectAndPositionItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8809,8 +8809,8 @@ impl IFolderView2_Vtbl { DoRename: DoRename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8830,8 +8830,8 @@ impl IFolderViewHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8851,8 +8851,8 @@ impl IFolderViewOC_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetFolderView: SetFolderView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8885,8 +8885,8 @@ impl IFolderViewOptions_Vtbl { GetFolderViewOptions: GetFolderViewOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8969,8 +8969,8 @@ impl IFolderViewSettings_Vtbl { GetGroupSubsetCount: GetGroupSubsetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9032,8 +9032,8 @@ impl IFrameworkInputPane_Vtbl { Location: Location::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9063,8 +9063,8 @@ impl IFrameworkInputPaneHandler_Vtbl { Hiding: Hiding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9081,8 +9081,8 @@ impl IGetServiceIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetServiceIds: GetServiceIds:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9119,8 +9119,8 @@ impl IHWEventHandler_Vtbl { HandleEventWithContent: HandleEventWithContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9140,8 +9140,8 @@ impl IHWEventHandler2_Vtbl { } Self { base__: IHWEventHandler_Vtbl::new::(), HandleEventWithHWND: HandleEventWithHWND:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9168,8 +9168,8 @@ impl IHandlerActivationHost_Vtbl { BeforeCreateProcess: BeforeCreateProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9221,8 +9221,8 @@ impl IHandlerInfo_Vtbl { GetApplicationIconReference: GetApplicationIconReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9245,8 +9245,8 @@ impl IHandlerInfo2_Vtbl { } Self { base__: IHandlerInfo_Vtbl::new::(), GetApplicationId: GetApplicationId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9384,8 +9384,8 @@ impl IHlink_Vtbl { GetAdditionalParams: GetAdditionalParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9535,8 +9535,8 @@ impl IHlinkBrowseContext_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9593,8 +9593,8 @@ impl IHlinkFrame_Vtbl { UpdateHlink: UpdateHlink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9650,8 +9650,8 @@ impl IHlinkSite_Vtbl { OnNavigationComplete: OnNavigationComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9720,8 +9720,8 @@ impl IHlinkTarget_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9763,8 +9763,8 @@ impl IHomeGroup_Vtbl { ShowSharingWizard: ShowSharingWizard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9791,8 +9791,8 @@ impl IIOCancelInformation_Vtbl { GetCancelInformation: GetCancelInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -9805,8 +9805,8 @@ impl IIdentityName_Vtbl { pub const fn new, Impl: IIdentityName_Impl, const OFFSET: isize>() -> IIdentityName_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -9832,8 +9832,8 @@ impl IImageRecompress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RecompressImage: RecompressImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -9853,8 +9853,8 @@ impl IInitializeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -9874,8 +9874,8 @@ impl IInitializeNetworkFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9892,8 +9892,8 @@ impl IInitializeObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9913,8 +9913,8 @@ impl IInitializeWithBindCtx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9931,8 +9931,8 @@ impl IInitializeWithItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -9952,8 +9952,8 @@ impl IInitializeWithPropertyStore_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9973,8 +9973,8 @@ impl IInitializeWithWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10011,8 +10011,8 @@ impl IInputObject_Vtbl { TranslateAcceleratorIO: TranslateAcceleratorIO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10032,8 +10032,8 @@ impl IInputObject2_Vtbl { } Self { base__: IInputObject_Vtbl::new::(), TranslateAcceleratorGlobal: TranslateAcceleratorGlobal:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10053,8 +10053,8 @@ impl IInputObjectSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnFocusChangeIS: OnFocusChangeIS:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -10074,8 +10074,8 @@ impl IInputPaneAnimationCoordinator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAnimation: AddAnimation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10092,8 +10092,8 @@ impl IInputPanelConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableFocusTracking: EnableFocusTracking:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10110,8 +10110,8 @@ impl IInputPanelInvocationConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequireTouchInEditControl: RequireTouchInEditControl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10131,8 +10131,8 @@ impl IInsertItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InsertItem: InsertItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10165,8 +10165,8 @@ impl IItemNameLimits_Vtbl { GetMaxLength: GetMaxLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10281,8 +10281,8 @@ impl IKnownFolder_Vtbl { GetFolderDefinition: GetFolderDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10404,8 +10404,8 @@ impl IKnownFolderManager_Vtbl { Redirect: Redirect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10428,8 +10428,8 @@ impl ILaunchSourceAppUserModelId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppUserModelId: GetAppUserModelId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10471,8 +10471,8 @@ impl ILaunchSourceViewSizePreference_Vtbl { GetSourceViewSizePreference: GetSourceViewSizePreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -10498,8 +10498,8 @@ impl ILaunchTargetMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMonitor: GetMonitor:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10525,8 +10525,8 @@ impl ILaunchTargetViewSizePreference_Vtbl { GetTargetViewSizePreference: GetTargetViewSizePreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10556,8 +10556,8 @@ impl ILaunchUIContext_Vtbl { SetTabGroupingPreference: SetTabGroupingPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10574,8 +10574,8 @@ impl ILaunchUIContextProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateContext: UpdateContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10605,8 +10605,8 @@ impl IMenuBand_Vtbl { TranslateMenuMessage: TranslateMenuMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -10643,8 +10643,8 @@ impl IMenuPopup_Vtbl { SetSubMenu: SetSubMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10664,8 +10664,8 @@ impl IModalWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10714,8 +10714,8 @@ impl INameSpaceTreeAccessible_Vtbl { OnGetAccessibilityRole: OnGetAccessibilityRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10912,8 +10912,8 @@ impl INameSpaceTreeControl_Vtbl { CollapseAll: CollapseAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10969,8 +10969,8 @@ impl INameSpaceTreeControl2_Vtbl { GetControlStyle2: GetControlStyle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -11020,8 +11020,8 @@ impl INameSpaceTreeControlCustomDraw_Vtbl { ItemPostPaint: ItemPostPaint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11079,8 +11079,8 @@ impl INameSpaceTreeControlDropHandler_Vtbl { OnDragLeave: OnDragLeave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11222,8 +11222,8 @@ impl INameSpaceTreeControlEvents_Vtbl { OnGetDefaultIconIndex: OnGetDefaultIconIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11246,8 +11246,8 @@ impl INameSpaceTreeControlFolderCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFolderCapabilities: GetFolderCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11284,8 +11284,8 @@ impl INamedPropertyBag_Vtbl { RemovePropertyNPB: RemovePropertyNPB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11315,8 +11315,8 @@ impl INamespaceWalk_Vtbl { GetIDArrayResult: GetIDArrayResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11360,8 +11360,8 @@ impl INamespaceWalkCB_Vtbl { InitializeProgressDialog: InitializeProgressDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11381,8 +11381,8 @@ impl INamespaceWalkCB2_Vtbl { } Self { base__: INamespaceWalkCB_Vtbl::new::(), WalkComplete: WalkComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11431,8 +11431,8 @@ impl INetworkFolderInternal_Vtbl { GetProvider: GetProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11468,8 +11468,8 @@ impl INewMenuClient_Vtbl { SelectAndEditItem: SelectAndEditItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11527,8 +11527,8 @@ impl INewShortcutHookA_Vtbl { GetExtension: GetExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11586,8 +11586,8 @@ impl INewShortcutHookW_Vtbl { GetExtension: GetExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11613,8 +11613,8 @@ impl INewWDEvents_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), PassportAuthenticate: PassportAuthenticate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11634,8 +11634,8 @@ impl INewWindowManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EvaluateNewWindow: EvaluateNewWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11655,8 +11655,8 @@ impl INotifyReplica_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), YouAreAReplica: YouAreAReplica:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11683,8 +11683,8 @@ impl IObjMgr_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11701,8 +11701,8 @@ impl IObjectProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryObject: QueryObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11735,8 +11735,8 @@ impl IObjectWithAppUserModelID_Vtbl { GetAppID: GetAppID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11753,8 +11753,8 @@ impl IObjectWithBackReferences_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveBackReferences: RemoveBackReferences:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11780,8 +11780,8 @@ impl IObjectWithCancelEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCancelEvent: GetCancelEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11814,8 +11814,8 @@ impl IObjectWithFolderEnumMode_Vtbl { GetMode: GetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11848,8 +11848,8 @@ impl IObjectWithProgID_Vtbl { GetProgID: GetProgID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11876,8 +11876,8 @@ impl IObjectWithSelection_Vtbl { GetSelection: GetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11917,8 +11917,8 @@ impl IOpenControlPanel_Vtbl { GetCurrentView: GetCurrentView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11938,8 +11938,8 @@ impl IOpenSearchSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResults: GetResults:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12038,8 +12038,8 @@ impl IOperationsProgressDialog_Vtbl { GetOperationStatus: GetOperationStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12169,8 +12169,8 @@ impl IPackageDebugSettings_Vtbl { UnregisterForPackageStateChanges: UnregisterForPackageStateChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12187,8 +12187,8 @@ impl IPackageDebugSettings2_Vtbl { } Self { base__: IPackageDebugSettings_Vtbl::new::(), EnumerateApps: EnumerateApps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12205,8 +12205,8 @@ impl IPackageExecutionStateChangeNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStateChanged: OnStateChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12236,8 +12236,8 @@ impl IParentAndItem_Vtbl { GetParentAndItem: GetParentAndItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12264,8 +12264,8 @@ impl IParseAndCreateItem_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12285,8 +12285,8 @@ impl IPersistFolder_Vtbl { } Self { base__: super::super::System::Com::IPersist_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12312,8 +12312,8 @@ impl IPersistFolder2_Vtbl { } Self { base__: IPersistFolder_Vtbl::new::(), GetCurFolder: GetCurFolder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12343,8 +12343,8 @@ impl IPersistFolder3_Vtbl { GetFolderTargetInfo: GetFolderTargetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12380,8 +12380,8 @@ impl IPersistIDList_Vtbl { GetIDList: GetIDList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -12452,8 +12452,8 @@ impl IPreviewHandler_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -12489,8 +12489,8 @@ impl IPreviewHandlerFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -12527,8 +12527,8 @@ impl IPreviewHandlerVisuals_Vtbl { SetTextColor: SetTextColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12541,8 +12541,8 @@ impl IPreviewItem_Vtbl { pub const fn new, Impl: IPreviewItem_Impl, const OFFSET: isize>() -> IPreviewItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12568,8 +12568,8 @@ impl IPreviousVersionsInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreSnapshotsAvailable: AreSnapshotsAvailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12605,8 +12605,8 @@ impl IProfferService_Vtbl { RevokeService: RevokeService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12692,8 +12692,8 @@ impl IProgressDialog_Vtbl { Timer: Timer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12757,8 +12757,8 @@ impl IPropertyKeyStore_Vtbl { RemoveKey: RemoveKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12795,8 +12795,8 @@ impl IPublishedApp_Vtbl { Unschedule: Unschedule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12816,8 +12816,8 @@ impl IPublishedApp2_Vtbl { } Self { base__: IPublishedApp_Vtbl::new::(), Install2: Install2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -12847,8 +12847,8 @@ impl IPublishingWizard_Vtbl { GetTransferManifest: GetTransferManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -12905,8 +12905,8 @@ impl IQueryAssociations_Vtbl { GetEnum: GetEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12923,8 +12923,8 @@ impl IQueryCancelAutoPlay_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowAutoPlay: AllowAutoPlay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12957,8 +12957,8 @@ impl IQueryCodePage_Vtbl { SetCodePage: SetCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12975,8 +12975,8 @@ impl IQueryContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12993,8 +12993,8 @@ impl IQueryContinueWithStatus_Vtbl { } Self { base__: IQueryContinue_Vtbl::new::(), SetStatusMessage: SetStatusMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13033,8 +13033,8 @@ impl IQueryInfo_Vtbl { GetInfoFlags: GetInfoFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13070,8 +13070,8 @@ impl IRegTreeItem_Vtbl { SetCheckState: SetCheckState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13113,8 +13113,8 @@ impl IRelatedItem_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13134,8 +13134,8 @@ impl IRemoteComputer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13155,8 +13155,8 @@ impl IResolveShellLink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveShellLink: ResolveShellLink:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13207,8 +13207,8 @@ impl IResultsFolder_Vtbl { RemoveAll: RemoveAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13259,8 +13259,8 @@ impl IRunnableTask_Vtbl { IsRunning: IsRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13434,8 +13434,8 @@ impl IScriptErrorList_Vtbl { setPerErrorDisplay: setPerErrorDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13468,8 +13468,8 @@ impl ISearchBoxInfo_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13521,8 +13521,8 @@ impl ISearchContext_Vtbl { GetSearchStyle: GetSearchStyle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -13628,8 +13628,8 @@ impl ISearchFolderItemFactory_Vtbl { GetIDList: GetIDList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -13704,8 +13704,8 @@ impl ISharedBitmap_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13773,8 +13773,8 @@ impl ISharingConfigurationManager_Vtbl { ArePrintersShared: ArePrintersShared::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13831,8 +13831,8 @@ impl IShellApp_Vtbl { IsInstalled: IsInstalled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -13957,8 +13957,8 @@ impl IShellBrowser_Vtbl { SetToolbarItems: SetToolbarItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13978,8 +13978,8 @@ impl IShellChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14009,8 +14009,8 @@ impl IShellDetails_Vtbl { ColumnClick: ColumnClick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14217,8 +14217,8 @@ impl IShellDispatch_Vtbl { ControlPanelItem: ControlPanelItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14339,8 +14339,8 @@ impl IShellDispatch2_Vtbl { ShowBrowserBar: ShowBrowserBar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14360,8 +14360,8 @@ impl IShellDispatch3_Vtbl { } Self { base__: IShellDispatch2_Vtbl::new::(), AddToRecent: AddToRecent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14417,8 +14417,8 @@ impl IShellDispatch4_Vtbl { GetSetting: GetSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14438,8 +14438,8 @@ impl IShellDispatch5_Vtbl { } Self { base__: IShellDispatch4_Vtbl::new::(), WindowSwitcher: WindowSwitcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14459,8 +14459,8 @@ impl IShellDispatch6_Vtbl { } Self { base__: IShellDispatch5_Vtbl::new::(), SearchCommand: SearchCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14480,8 +14480,8 @@ impl IShellExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14606,8 +14606,8 @@ impl IShellFavoritesNameSpace_Vtbl { SetRoot: SetRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14693,8 +14693,8 @@ impl IShellFolder_Vtbl { SetNameOf: SetNameOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -14783,8 +14783,8 @@ impl IShellFolder2_Vtbl { MapColumnToSCID: MapColumnToSCID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14821,8 +14821,8 @@ impl IShellFolderBand_Vtbl { GetBandInfoSFB: GetBandInfoSFB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15100,8 +15100,8 @@ impl IShellFolderView_Vtbl { SetAutomationObject: SetAutomationObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15121,8 +15121,8 @@ impl IShellFolderViewCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageSFVCB: MessageSFVCB:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15249,8 +15249,8 @@ impl IShellFolderViewDual_Vtbl { ViewOptions: ViewOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15293,8 +15293,8 @@ impl IShellFolderViewDual2_Vtbl { SelectItemRelative: SelectItemRelative::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15397,8 +15397,8 @@ impl IShellFolderViewDual3_Vtbl { FilterView: FilterView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15424,8 +15424,8 @@ impl IShellIcon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIconOf: GetIconOf:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15455,8 +15455,8 @@ impl IShellIconOverlay_Vtbl { GetOverlayIconIndex: GetOverlayIconIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -15496,8 +15496,8 @@ impl IShellIconOverlayIdentifier_Vtbl { GetPriority: GetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15548,8 +15548,8 @@ impl IShellIconOverlayManager_Vtbl { OverlayIndexFromImageIndex: OverlayIndexFromImageIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -15787,8 +15787,8 @@ impl IShellImageData_Vtbl { ReplaceFrame: ReplaceFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -15805,8 +15805,8 @@ impl IShellImageDataAbort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryAbort: QueryAbort:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15874,8 +15874,8 @@ impl IShellImageDataFactory_Vtbl { GetDataFormatFromPath: GetDataFormatFromPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -15950,8 +15950,8 @@ impl IShellItem_Vtbl { Compare: Compare::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_SystemServices\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -16106,8 +16106,8 @@ impl IShellItem2_Vtbl { GetBool: GetBool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -16196,8 +16196,8 @@ impl IShellItemArray_Vtbl { EnumItems: EnumItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16230,8 +16230,8 @@ impl IShellItemFilter_Vtbl { GetEnumFlagsForItem: GetEnumFlagsForItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16257,8 +16257,8 @@ impl IShellItemImageFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetImage: GetImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16368,8 +16368,8 @@ impl IShellItemResources_Vtbl { MarkForDelete: MarkForDelete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16531,8 +16531,8 @@ impl IShellLibrary_Vtbl { SaveInKnownFolder: SaveInKnownFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -16692,8 +16692,8 @@ impl IShellLinkA_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16747,8 +16747,8 @@ impl IShellLinkDataList_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16912,8 +16912,8 @@ impl IShellLinkDual_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16939,8 +16939,8 @@ impl IShellLinkDual2_Vtbl { } Self { base__: IShellLinkDual_Vtbl::new::(), Target: Target:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17100,8 +17100,8 @@ impl IShellLinkW_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17180,8 +17180,8 @@ impl IShellMenu_Vtbl { SetMenuToolbar: SetMenuToolbar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17201,8 +17201,8 @@ impl IShellMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallbackSM: CallbackSM:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17425,8 +17425,8 @@ impl IShellNameSpace_Vtbl { UnselectAll: UnselectAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -17456,8 +17456,8 @@ impl IShellPropSheetExt_Vtbl { ReplacePage: ReplacePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -17474,8 +17474,8 @@ impl IShellRunDll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -17492,8 +17492,8 @@ impl IShellService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetOwner: SetOwner:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17537,8 +17537,8 @@ impl IShellTaskScheduler_Vtbl { Status: Status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17657,8 +17657,8 @@ impl IShellUIHelper_Vtbl { ShowBrowserUI: ShowBrowserUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17834,8 +17834,8 @@ impl IShellUIHelper2_Vtbl { SearchGuideUrl: SearchGuideUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17960,8 +17960,8 @@ impl IShellUIHelper3_Vtbl { ShowInPrivateHelp: ShowInPrivateHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18139,8 +18139,8 @@ impl IShellUIHelper4_Vtbl { msActiveXFilteringEnabled: msActiveXFilteringEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18211,8 +18211,8 @@ impl IShellUIHelper5_Vtbl { msChangeDefaultBrowser: msChangeDefaultBrowser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18332,8 +18332,8 @@ impl IShellUIHelper6_Vtbl { msLaunchInternetOptions: msLaunchInternetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18436,8 +18436,8 @@ impl IShellUIHelper7_Vtbl { LaunchIE: LaunchIE::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18526,8 +18526,8 @@ impl IShellUIHelper8_Vtbl { LaunchInHVSI: LaunchInHVSI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18553,8 +18553,8 @@ impl IShellUIHelper9_Vtbl { } Self { base__: IShellUIHelper8_Vtbl::new::(), GetOSSku: GetOSSku:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18659,8 +18659,8 @@ impl IShellView_Vtbl { GetItemObject: GetItemObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18704,8 +18704,8 @@ impl IShellView2_Vtbl { SelectAndPositionItem: SelectAndPositionItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18731,8 +18731,8 @@ impl IShellView3_Vtbl { } Self { base__: IShellView2_Vtbl::new::(), CreateViewWindow3: CreateViewWindow3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18855,8 +18855,8 @@ impl IShellWindows_Vtbl { ProcessAttachDetach: ProcessAttachDetach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -18905,8 +18905,8 @@ impl ISortColumnArray_Vtbl { GetSortType: GetSortType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -18923,8 +18923,8 @@ impl IStartMenuPinnedList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveFromList: RemoveFromList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -18971,8 +18971,8 @@ impl IStorageProviderBanners_Vtbl { GetBanner: GetBanner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18998,8 +18998,8 @@ impl IStorageProviderCopyHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19051,8 +19051,8 @@ impl IStorageProviderHandler_Vtbl { GetPropertyHandlerFromFileId: GetPropertyHandlerFromFileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -19088,8 +19088,8 @@ impl IStorageProviderPropertyHandler_Vtbl { SaveProperties: SaveProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -19133,8 +19133,8 @@ impl IStreamAsync_Vtbl { CancelIo: CancelIo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19157,8 +19157,8 @@ impl IStreamUnbufferedInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSectorSize: GetSectorSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19195,8 +19195,8 @@ impl ISuspensionDependencyManager_Vtbl { UngroupChildFromParent: UngroupChildFromParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -19265,8 +19265,8 @@ impl ISyncMgrConflict_Vtbl { GetResolutionHandler: GetResolutionHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -19292,8 +19292,8 @@ impl ISyncMgrConflictFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConflictIDList: GetConflictIDList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19326,8 +19326,8 @@ impl ISyncMgrConflictItems_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19344,8 +19344,8 @@ impl ISyncMgrConflictPresenter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PresentConflict: PresentConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19384,8 +19384,8 @@ impl ISyncMgrConflictResolutionItems_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19475,8 +19475,8 @@ impl ISyncMgrConflictResolveInfo_Vtbl { SetItemChoices: SetItemChoices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -19532,8 +19532,8 @@ impl ISyncMgrConflictStore_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19654,8 +19654,8 @@ impl ISyncMgrControl_Vtbl { EnableItem: EnableItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -19705,8 +19705,8 @@ impl ISyncMgrEnumItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19865,8 +19865,8 @@ impl ISyncMgrEvent_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19886,8 +19886,8 @@ impl ISyncMgrEventLinkUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19946,8 +19946,8 @@ impl ISyncMgrEventStore_Vtbl { RemoveEvent: RemoveEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20043,8 +20043,8 @@ impl ISyncMgrHandler_Vtbl { Synchronize: Synchronize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20080,8 +20080,8 @@ impl ISyncMgrHandlerCollection_Vtbl { BindToHandler: BindToHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20170,8 +20170,8 @@ impl ISyncMgrHandlerInfo_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20205,8 +20205,8 @@ impl ISyncMgrRegister_Vtbl { GetHandlerRegistrationInfo: GetHandlerRegistrationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20284,8 +20284,8 @@ impl ISyncMgrResolutionHandler_Vtbl { KeepItems: KeepItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20305,8 +20305,8 @@ impl ISyncMgrScheduleWizardUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), InitWizard: InitWizard:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20329,8 +20329,8 @@ impl ISyncMgrSessionCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20422,8 +20422,8 @@ impl ISyncMgrSyncCallback_Vtbl { ReportManualSync: ReportManualSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20525,8 +20525,8 @@ impl ISyncMgrSyncItem_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20578,8 +20578,8 @@ impl ISyncMgrSyncItemContainer_Vtbl { GetSyncItemCount: GetSyncItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20648,8 +20648,8 @@ impl ISyncMgrSyncItemInfo_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20666,8 +20666,8 @@ impl ISyncMgrSyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Result: Result:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -20765,8 +20765,8 @@ impl ISyncMgrSynchronize_Vtbl { ShowError: ShowError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20845,8 +20845,8 @@ impl ISyncMgrSynchronizeCallback_Vtbl { EstablishConnection: EstablishConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20873,8 +20873,8 @@ impl ISyncMgrSynchronizeInvoke_Vtbl { UpdateAll: UpdateAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20894,8 +20894,8 @@ impl ISyncMgrUIOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20946,8 +20946,8 @@ impl ITaskbarList_Vtbl { SetActiveAlt: SetActiveAlt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20967,8 +20967,8 @@ impl ITaskbarList2_Vtbl { } Self { base__: ITaskbarList_Vtbl::new::(), MarkFullscreenWindow: MarkFullscreenWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21068,8 +21068,8 @@ impl ITaskbarList3_Vtbl { SetThumbnailClip: SetThumbnailClip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21089,8 +21089,8 @@ impl ITaskbarList4_Vtbl { } Self { base__: ITaskbarList3_Vtbl::new::(), SetTabProperties: SetTabProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21117,8 +21117,8 @@ impl IThumbnailCache_Vtbl { GetThumbnailByID: GetThumbnailByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21135,8 +21135,8 @@ impl IThumbnailCachePrimer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PageInThumbnail: PageInThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -21162,8 +21162,8 @@ impl IThumbnailCapture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CaptureThumbnail: CaptureThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21183,8 +21183,8 @@ impl IThumbnailHandlerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnailHandler: GetThumbnailHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -21204,8 +21204,8 @@ impl IThumbnailProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnail: GetThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21222,8 +21222,8 @@ impl IThumbnailSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetContext: SetContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21253,8 +21253,8 @@ impl IThumbnailStreamCache_Vtbl { SetThumbnailStream: SetThumbnailStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21284,8 +21284,8 @@ impl ITrackShellMenu_Vtbl { Popup: Popup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21305,8 +21305,8 @@ impl ITranscodeImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TranscodeImage: TranscodeImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -21371,8 +21371,8 @@ impl ITransferAdviseSink_Vtbl { PropertyFailure: PropertyFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21412,8 +21412,8 @@ impl ITransferDestination_Vtbl { CreateItem: CreateItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21426,8 +21426,8 @@ impl ITransferMediumItem_Vtbl { pub const fn new, Impl: ITransferMediumItem_Impl, const OFFSET: isize>() -> ITransferMediumItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -21576,8 +21576,8 @@ impl ITransferSource_Vtbl { LeaveFolder: LeaveFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21620,8 +21620,8 @@ impl ITravelEntry_Vtbl { GetPidl: GetPidl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21726,8 +21726,8 @@ impl ITravelLog_Vtbl { Revert: Revert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21770,8 +21770,8 @@ impl ITravelLogClient_Vtbl { LoadHistoryPosition: LoadHistoryPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21810,8 +21810,8 @@ impl ITravelLogEntry_Vtbl { GetURL: GetURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21906,8 +21906,8 @@ impl ITravelLogStg_Vtbl { GetRelativeEntry: GetRelativeEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21948,8 +21948,8 @@ impl ITrayDeskBand_Vtbl { DeskBandRegistrationChanged: DeskBandRegistrationChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21966,8 +21966,8 @@ impl IURLSearchHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Translate: Translate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21984,8 +21984,8 @@ impl IURLSearchHook2_Vtbl { } Self { base__: IURLSearchHook_Vtbl::new::(), TranslateWithSearchContext: TranslateWithSearchContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22028,8 +22028,8 @@ impl IUniformResourceLocatorA_Vtbl { InvokeCommand: InvokeCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22072,8 +22072,8 @@ impl IUniformResourceLocatorW_Vtbl { InvokeCommand: InvokeCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22099,8 +22099,8 @@ impl IUpdateIDList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22113,8 +22113,8 @@ impl IUseToBrowseItem_Vtbl { pub const fn new, Impl: IUseToBrowseItem_Impl, const OFFSET: isize>() -> IUseToBrowseItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -22131,8 +22131,8 @@ impl IUserAccountChangeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPictureChange: OnPictureChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -22183,8 +22183,8 @@ impl IUserNotification_Vtbl { PlaySound: PlaySound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -22235,8 +22235,8 @@ impl IUserNotification2_Vtbl { PlaySound: PlaySound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22273,8 +22273,8 @@ impl IUserNotificationCallback_Vtbl { OnContextMenu: OnContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22287,8 +22287,8 @@ impl IViewStateIdentityItem_Vtbl { pub const fn new, Impl: IViewStateIdentityItem_Impl, const OFFSET: isize>() -> IViewStateIdentityItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22337,8 +22337,8 @@ impl IVirtualDesktopManager_Vtbl { MoveWindowToDesktop: MoveWindowToDesktop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -22422,8 +22422,8 @@ impl IVisualProperties_Vtbl { SetTheme: SetTheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22692,8 +22692,8 @@ impl IWebBrowser_Vtbl { Busy: Busy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22896,8 +22896,8 @@ impl IWebBrowser2_Vtbl { SetResizable: SetResizable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23119,8 +23119,8 @@ impl IWebBrowserApp_Vtbl { SetFullScreen: SetFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23150,8 +23150,8 @@ impl IWebWizardExtension_Vtbl { SetErrorURL: SetErrorURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23242,8 +23242,8 @@ impl IWebWizardHost_Vtbl { SetHeaderText: SetHeaderText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23269,8 +23269,8 @@ impl IWebWizardHost2_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), SignString: SignString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23319,8 +23319,8 @@ impl IWizardExtension_Vtbl { GetLastPage: GetLastPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23375,7 +23375,7 @@ impl IWizardSite_Vtbl { GetCancelledPage: GetCancelledPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index fcaa3fbaf7..81c03559eb 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -6559,6 +6559,7 @@ where #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct CIE4ConnectionPoint(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl CIE4ConnectionPoint { @@ -6611,30 +6612,10 @@ impl CIE4ConnectionPoint { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(CIE4ConnectionPoint, ::windows_core::IUnknown, super::super::System::Com::IConnectionPoint); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for CIE4ConnectionPoint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for CIE4ConnectionPoint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for CIE4ConnectionPoint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CIE4ConnectionPoint").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for CIE4ConnectionPoint { type Vtable = CIE4ConnectionPoint_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for CIE4ConnectionPoint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for CIE4ConnectionPoint { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } @@ -6655,6 +6636,7 @@ pub struct CIE4ConnectionPoint_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DFConstraint(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DFConstraint { @@ -6672,30 +6654,10 @@ impl DFConstraint { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DFConstraint, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DFConstraint { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DFConstraint {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DFConstraint { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DFConstraint").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DFConstraint { type Vtable = DFConstraint_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DFConstraint { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DFConstraint { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a3df050_23bd_11d2_939f_00a0c91eedba); } @@ -6713,36 +6675,17 @@ pub struct DFConstraint_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DShellFolderViewEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellFolderViewEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DShellFolderViewEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DShellFolderViewEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DShellFolderViewEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DShellFolderViewEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DShellFolderViewEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DShellFolderViewEvents { type Vtable = DShellFolderViewEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DShellFolderViewEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DShellFolderViewEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x62112aa2_ebe4_11cf_a5fb_0020afe7292d); } @@ -6755,36 +6698,17 @@ pub struct DShellFolderViewEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DShellNameSpaceEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellNameSpaceEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DShellNameSpaceEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DShellNameSpaceEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DShellNameSpaceEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DShellNameSpaceEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DShellNameSpaceEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DShellNameSpaceEvents { type Vtable = DShellNameSpaceEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DShellNameSpaceEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DShellNameSpaceEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55136806_b2de_11d1_b9f2_00a0c98bc547); } @@ -6797,36 +6721,17 @@ pub struct DShellNameSpaceEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DShellWindowsEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DShellWindowsEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DShellWindowsEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DShellWindowsEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DShellWindowsEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DShellWindowsEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DShellWindowsEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DShellWindowsEvents { type Vtable = DShellWindowsEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DShellWindowsEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DShellWindowsEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe4106e0_399a_11d0_a48c_00a0c90a8f39); } @@ -6839,36 +6744,17 @@ pub struct DShellWindowsEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DWebBrowserEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DWebBrowserEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DWebBrowserEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DWebBrowserEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DWebBrowserEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DWebBrowserEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DWebBrowserEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DWebBrowserEvents { type Vtable = DWebBrowserEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DWebBrowserEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DWebBrowserEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeab22ac2_30c1_11cf_a7eb_0000c05bae0b); } @@ -6881,36 +6767,17 @@ pub struct DWebBrowserEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct DWebBrowserEvents2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl DWebBrowserEvents2 {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(DWebBrowserEvents2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for DWebBrowserEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for DWebBrowserEvents2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for DWebBrowserEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DWebBrowserEvents2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for DWebBrowserEvents2 { type Vtable = DWebBrowserEvents2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for DWebBrowserEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for DWebBrowserEvents2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34a715a0_6587_11d0_924a_0020afc7ac4d); } @@ -6923,6 +6790,7 @@ pub struct DWebBrowserEvents2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Folder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Folder { @@ -6991,30 +6859,10 @@ impl Folder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Folder, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Folder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Folder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Folder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Folder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Folder { type Vtable = Folder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Folder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Folder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbbcbde60_c3ff_11ce_8350_444553540000); } @@ -7064,6 +6912,7 @@ pub struct Folder_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Folder2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Folder2 { @@ -7154,30 +7003,10 @@ impl Folder2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Folder2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, Folder); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Folder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Folder2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Folder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Folder2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Folder2 { type Vtable = Folder2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Folder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Folder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0d2d8ef_3890_11d2_bf8b_00c04fb93661); } @@ -7201,6 +7030,7 @@ pub struct Folder2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Folder3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Folder3 { @@ -7305,30 +7135,10 @@ impl Folder3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Folder3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, Folder, Folder2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Folder3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Folder3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Folder3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Folder3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Folder3 { type Vtable = Folder3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Folder3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Folder3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7ae5f64_c4d7_4d7f_9307_4d24ee54b841); } @@ -7349,6 +7159,7 @@ pub struct Folder3_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItem(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItem { @@ -7444,30 +7255,10 @@ impl FolderItem { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItem, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItem {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItem").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItem { type Vtable = FolderItem_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfac32c80_cbe4_11ce_8350_444553540000); } @@ -7527,6 +7318,7 @@ pub struct FolderItem_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItem2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItem2 { @@ -7636,30 +7428,10 @@ impl FolderItem2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItem2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItem); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItem2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItem2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItem2 { type Vtable = FolderItem2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedc817aa_92b8_11d1_b075_00c04fc33aa5); } @@ -7680,6 +7452,7 @@ pub struct FolderItem2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItemVerb(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItemVerb { @@ -7706,30 +7479,10 @@ impl FolderItemVerb { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItemVerb, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItemVerb { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItemVerb {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItemVerb { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItemVerb").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItemVerb { type Vtable = FolderItemVerb_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItemVerb { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItemVerb { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08ec3e00_50b0_11cf_960c_0080c7f4ee85); } @@ -7752,6 +7505,7 @@ pub struct FolderItemVerb_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItemVerbs(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItemVerbs { @@ -7785,30 +7539,10 @@ impl FolderItemVerbs { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItemVerbs, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItemVerbs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItemVerbs {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItemVerbs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItemVerbs").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItemVerbs { type Vtable = FolderItemVerbs_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItemVerbs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItemVerbs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f8352c0_50b0_11cf_960c_0080c7f4ee85); } @@ -7835,6 +7569,7 @@ pub struct FolderItemVerbs_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItems(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems { @@ -7868,30 +7603,10 @@ impl FolderItems { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItems, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItems {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItems").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItems { type Vtable = FolderItems_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x744129e0_cbe5_11ce_8350_444553540000); } @@ -7918,6 +7633,7 @@ pub struct FolderItems_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItems2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems2 { @@ -7956,30 +7672,10 @@ impl FolderItems2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItems2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItems); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItems2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItems2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItems2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItems2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItems2 { type Vtable = FolderItems2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItems2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItems2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc94f0ad0_f363_11d2_a327_00c04f8eec7f); } @@ -7996,6 +7692,7 @@ pub struct FolderItems2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct FolderItems3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl FolderItems3 { @@ -8046,30 +7743,10 @@ impl FolderItems3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(FolderItems3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItems, FolderItems2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for FolderItems3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for FolderItems3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for FolderItems3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FolderItems3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for FolderItems3 { type Vtable = FolderItems3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for FolderItems3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for FolderItems3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeaa7c309_bbec_49d5_821d_64d966cb667f); } @@ -8086,6 +7763,7 @@ pub struct FolderItems3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IACList(::windows_core::IUnknown); impl IACList { pub unsafe fn Expand(&self, pszexpand: P0) -> ::windows_core::Result<()> @@ -8096,25 +7774,9 @@ impl IACList { } } ::windows_core::imp::interface_hierarchy!(IACList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IACList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IACList {} -impl ::core::fmt::Debug for IACList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IACList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IACList { type Vtable = IACList_Vtbl; } -impl ::core::clone::Clone for IACList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IACList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77a130b0_94fd_11d0_a544_00c04fd7d062); } @@ -8126,6 +7788,7 @@ pub struct IACList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IACList2(::windows_core::IUnknown); impl IACList2 { pub unsafe fn Expand(&self, pszexpand: P0) -> ::windows_core::Result<()> @@ -8143,25 +7806,9 @@ impl IACList2 { } } ::windows_core::imp::interface_hierarchy!(IACList2, ::windows_core::IUnknown, IACList); -impl ::core::cmp::PartialEq for IACList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IACList2 {} -impl ::core::fmt::Debug for IACList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IACList2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IACList2 { type Vtable = IACList2_Vtbl; } -impl ::core::clone::Clone for IACList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IACList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x470141a0_5186_11d2_bbb6_0060977b464c); } @@ -8174,6 +7821,7 @@ pub struct IACList2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibilityDockingService(::windows_core::IUnknown); impl IAccessibilityDockingService { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8204,25 +7852,9 @@ impl IAccessibilityDockingService { } } ::windows_core::imp::interface_hierarchy!(IAccessibilityDockingService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibilityDockingService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibilityDockingService {} -impl ::core::fmt::Debug for IAccessibilityDockingService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibilityDockingService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibilityDockingService { type Vtable = IAccessibilityDockingService_Vtbl; } -impl ::core::clone::Clone for IAccessibilityDockingService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibilityDockingService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8849dc22_cedf_4c95_998d_051419dd3f76); } @@ -8245,6 +7877,7 @@ pub struct IAccessibilityDockingService_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibilityDockingServiceCallback(::windows_core::IUnknown); impl IAccessibilityDockingServiceCallback { pub unsafe fn Undocked(&self, undockreason: UNDOCK_REASON) -> ::windows_core::Result<()> { @@ -8252,25 +7885,9 @@ impl IAccessibilityDockingServiceCallback { } } ::windows_core::imp::interface_hierarchy!(IAccessibilityDockingServiceCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibilityDockingServiceCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibilityDockingServiceCallback {} -impl ::core::fmt::Debug for IAccessibilityDockingServiceCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibilityDockingServiceCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibilityDockingServiceCallback { type Vtable = IAccessibilityDockingServiceCallback_Vtbl; } -impl ::core::clone::Clone for IAccessibilityDockingServiceCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibilityDockingServiceCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x157733fd_a592_42e5_b594_248468c5a81b); } @@ -8282,6 +7899,7 @@ pub struct IAccessibilityDockingServiceCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccessibleObject(::windows_core::IUnknown); impl IAccessibleObject { pub unsafe fn SetAccessibleName(&self, pszname: P0) -> ::windows_core::Result<()> @@ -8292,25 +7910,9 @@ impl IAccessibleObject { } } ::windows_core::imp::interface_hierarchy!(IAccessibleObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccessibleObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccessibleObject {} -impl ::core::fmt::Debug for IAccessibleObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccessibleObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccessibleObject { type Vtable = IAccessibleObject_Vtbl; } -impl ::core::clone::Clone for IAccessibleObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccessibleObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x95a391c5_9ed4_4c28_8401_ab9e06719e11); } @@ -8322,6 +7924,7 @@ pub struct IAccessibleObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActionProgress(::windows_core::IUnknown); impl IActionProgress { pub unsafe fn Begin(&self, action: SPACTION, flags: u32) -> ::windows_core::Result<()> { @@ -8353,25 +7956,9 @@ impl IActionProgress { } } ::windows_core::imp::interface_hierarchy!(IActionProgress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActionProgress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActionProgress {} -impl ::core::fmt::Debug for IActionProgress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActionProgress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActionProgress { type Vtable = IActionProgress_Vtbl; } -impl ::core::clone::Clone for IActionProgress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActionProgress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ff1173_eadc_446d_9285_156453a6431c); } @@ -8394,6 +7981,7 @@ pub struct IActionProgress_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActionProgressDialog(::windows_core::IUnknown); impl IActionProgressDialog { pub unsafe fn Initialize(&self, flags: u32, psztitle: P0, pszcancel: P1) -> ::windows_core::Result<()> @@ -8408,25 +7996,9 @@ impl IActionProgressDialog { } } ::windows_core::imp::interface_hierarchy!(IActionProgressDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActionProgressDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActionProgressDialog {} -impl ::core::fmt::Debug for IActionProgressDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActionProgressDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActionProgressDialog { type Vtable = IActionProgressDialog_Vtbl; } -impl ::core::clone::Clone for IActionProgressDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActionProgressDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49ff1172_eadc_446d_9285_156453a6431c); } @@ -8439,6 +8011,7 @@ pub struct IActionProgressDialog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppActivationUIInfo(::windows_core::IUnknown); impl IAppActivationUIInfo { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8469,25 +8042,9 @@ impl IAppActivationUIInfo { } } ::windows_core::imp::interface_hierarchy!(IAppActivationUIInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppActivationUIInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppActivationUIInfo {} -impl ::core::fmt::Debug for IAppActivationUIInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppActivationUIInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppActivationUIInfo { type Vtable = IAppActivationUIInfo_Vtbl; } -impl ::core::clone::Clone for IAppActivationUIInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppActivationUIInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabad189d_9fa3_4278_b3ca_8ca448a88dcb); } @@ -8512,6 +8069,7 @@ pub struct IAppActivationUIInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppPublisher(::windows_core::IUnknown); impl IAppPublisher { pub unsafe fn GetNumberOfCategories(&self) -> ::windows_core::Result { @@ -8532,25 +8090,9 @@ impl IAppPublisher { } } ::windows_core::imp::interface_hierarchy!(IAppPublisher, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppPublisher { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppPublisher {} -impl ::core::fmt::Debug for IAppPublisher { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppPublisher").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppPublisher { type Vtable = IAppPublisher_Vtbl; } -impl ::core::clone::Clone for IAppPublisher { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppPublisher { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x07250a10_9cf9_11d1_9076_006008059382); } @@ -8565,6 +8107,7 @@ pub struct IAppPublisher_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppVisibility(::windows_core::IUnknown); impl IAppVisibility { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8594,25 +8137,9 @@ impl IAppVisibility { } } ::windows_core::imp::interface_hierarchy!(IAppVisibility, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppVisibility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppVisibility {} -impl ::core::fmt::Debug for IAppVisibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppVisibility").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppVisibility { type Vtable = IAppVisibility_Vtbl; } -impl ::core::clone::Clone for IAppVisibility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppVisibility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2246ea2d_caea_4444_a3c4_6de827e44313); } @@ -8633,6 +8160,7 @@ pub struct IAppVisibility_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAppVisibilityEvents(::windows_core::IUnknown); impl IAppVisibilityEvents { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -8653,25 +8181,9 @@ impl IAppVisibilityEvents { } } ::windows_core::imp::interface_hierarchy!(IAppVisibilityEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAppVisibilityEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAppVisibilityEvents {} -impl ::core::fmt::Debug for IAppVisibilityEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAppVisibilityEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAppVisibilityEvents { type Vtable = IAppVisibilityEvents_Vtbl; } -impl ::core::clone::Clone for IAppVisibilityEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAppVisibilityEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6584ce6b_7d82_49c2_89c9_c6bc02ba8c38); } @@ -8690,6 +8202,7 @@ pub struct IAppVisibilityEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationActivationManager(::windows_core::IUnknown); impl IApplicationActivationManager { pub unsafe fn ActivateApplication(&self, appusermodelid: P0, arguments: P1, options: ACTIVATEOPTIONS) -> ::windows_core::Result @@ -8719,25 +8232,9 @@ impl IApplicationActivationManager { } } ::windows_core::imp::interface_hierarchy!(IApplicationActivationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationActivationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationActivationManager {} -impl ::core::fmt::Debug for IApplicationActivationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationActivationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationActivationManager { type Vtable = IApplicationActivationManager_Vtbl; } -impl ::core::clone::Clone for IApplicationActivationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationActivationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e941141_7f97_4756_ba1d_9decde894a3d); } @@ -8751,6 +8248,7 @@ pub struct IApplicationActivationManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationAssociationRegistration(::windows_core::IUnknown); impl IApplicationAssociationRegistration { pub unsafe fn QueryCurrentDefault(&self, pszquery: P0, atquerytype: ASSOCIATIONTYPE, alquerylevel: ASSOCIATIONLEVEL) -> ::windows_core::Result<::windows_core::PWSTR> @@ -8797,25 +8295,9 @@ impl IApplicationAssociationRegistration { } } ::windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationAssociationRegistration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationAssociationRegistration {} -impl ::core::fmt::Debug for IApplicationAssociationRegistration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationAssociationRegistration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationAssociationRegistration { type Vtable = IApplicationAssociationRegistration_Vtbl; } -impl ::core::clone::Clone for IApplicationAssociationRegistration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationAssociationRegistration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e530b0a_e611_4c77_a3ac_9031d022281b); } @@ -8838,6 +8320,7 @@ pub struct IApplicationAssociationRegistration_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationAssociationRegistrationUI(::windows_core::IUnknown); impl IApplicationAssociationRegistrationUI { pub unsafe fn LaunchAdvancedAssociationUI(&self, pszappregistryname: P0) -> ::windows_core::Result<()> @@ -8848,25 +8331,9 @@ impl IApplicationAssociationRegistrationUI { } } ::windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistrationUI, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationAssociationRegistrationUI { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationAssociationRegistrationUI {} -impl ::core::fmt::Debug for IApplicationAssociationRegistrationUI { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationAssociationRegistrationUI").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationAssociationRegistrationUI { type Vtable = IApplicationAssociationRegistrationUI_Vtbl; } -impl ::core::clone::Clone for IApplicationAssociationRegistrationUI { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationAssociationRegistrationUI { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f76a169_f994_40ac_8fc8_0959e8874710); } @@ -8878,6 +8345,7 @@ pub struct IApplicationAssociationRegistrationUI_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDesignModeSettings(::windows_core::IUnknown); impl IApplicationDesignModeSettings { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8910,25 +8378,9 @@ impl IApplicationDesignModeSettings { } } ::windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationDesignModeSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDesignModeSettings {} -impl ::core::fmt::Debug for IApplicationDesignModeSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDesignModeSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDesignModeSettings { type Vtable = IApplicationDesignModeSettings_Vtbl; } -impl ::core::clone::Clone for IApplicationDesignModeSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDesignModeSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a3dee9a_e31d_46d6_8508_bcc597db3557); } @@ -8957,6 +8409,7 @@ pub struct IApplicationDesignModeSettings_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDesignModeSettings2(::windows_core::IUnknown); impl IApplicationDesignModeSettings2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9020,25 +8473,9 @@ impl IApplicationDesignModeSettings2 { } } ::windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings2, ::windows_core::IUnknown, IApplicationDesignModeSettings); -impl ::core::cmp::PartialEq for IApplicationDesignModeSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDesignModeSettings2 {} -impl ::core::fmt::Debug for IApplicationDesignModeSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDesignModeSettings2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDesignModeSettings2 { type Vtable = IApplicationDesignModeSettings2_Vtbl; } -impl ::core::clone::Clone for IApplicationDesignModeSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDesignModeSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x490514e1_675a_4d6e_a58d_e54901b4ca2f); } @@ -9065,6 +8502,7 @@ pub struct IApplicationDesignModeSettings2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDestinations(::windows_core::IUnknown); impl IApplicationDestinations { pub unsafe fn SetAppID(&self, pszappid: P0) -> ::windows_core::Result<()> @@ -9084,25 +8522,9 @@ impl IApplicationDestinations { } } ::windows_core::imp::interface_hierarchy!(IApplicationDestinations, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationDestinations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDestinations {} -impl ::core::fmt::Debug for IApplicationDestinations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDestinations").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDestinations { type Vtable = IApplicationDestinations_Vtbl; } -impl ::core::clone::Clone for IApplicationDestinations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDestinations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12337d35_94c6_48a0_bce7_6a9c69d4d600); } @@ -9116,6 +8538,7 @@ pub struct IApplicationDestinations_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IApplicationDocumentLists(::windows_core::IUnknown); impl IApplicationDocumentLists { pub unsafe fn SetAppID(&self, pszappid: P0) -> ::windows_core::Result<()> @@ -9133,25 +8556,9 @@ impl IApplicationDocumentLists { } } ::windows_core::imp::interface_hierarchy!(IApplicationDocumentLists, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IApplicationDocumentLists { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IApplicationDocumentLists {} -impl ::core::fmt::Debug for IApplicationDocumentLists { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IApplicationDocumentLists").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IApplicationDocumentLists { type Vtable = IApplicationDocumentLists_Vtbl; } -impl ::core::clone::Clone for IApplicationDocumentLists { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IApplicationDocumentLists { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c594f9f_9f30_47a1_979a_c9e83d3d0a06); } @@ -9164,6 +8571,7 @@ pub struct IApplicationDocumentLists_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssocHandler(::windows_core::IUnknown); impl IAssocHandler { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -9205,25 +8613,9 @@ impl IAssocHandler { } } ::windows_core::imp::interface_hierarchy!(IAssocHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssocHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssocHandler {} -impl ::core::fmt::Debug for IAssocHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssocHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssocHandler { type Vtable = IAssocHandler_Vtbl; } -impl ::core::clone::Clone for IAssocHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssocHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf04061ac_1659_4a3f_a954_775aa57fc083); } @@ -9247,6 +8639,7 @@ pub struct IAssocHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAssocHandlerInvoker(::windows_core::IUnknown); impl IAssocHandlerInvoker { pub unsafe fn SupportsSelection(&self) -> ::windows_core::Result<()> { @@ -9257,25 +8650,9 @@ impl IAssocHandlerInvoker { } } ::windows_core::imp::interface_hierarchy!(IAssocHandlerInvoker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAssocHandlerInvoker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAssocHandlerInvoker {} -impl ::core::fmt::Debug for IAssocHandlerInvoker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAssocHandlerInvoker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAssocHandlerInvoker { type Vtable = IAssocHandlerInvoker_Vtbl; } -impl ::core::clone::Clone for IAssocHandlerInvoker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAssocHandlerInvoker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92218cab_ecaa_4335_8133_807fd234c2ee); } @@ -9288,6 +8665,7 @@ pub struct IAssocHandlerInvoker_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAttachmentExecute(::windows_core::IUnknown); impl IAttachmentExecute { pub unsafe fn SetClientTitle(&self, psztitle: P0) -> ::windows_core::Result<()> @@ -9360,25 +8738,9 @@ impl IAttachmentExecute { } } ::windows_core::imp::interface_hierarchy!(IAttachmentExecute, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAttachmentExecute { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAttachmentExecute {} -impl ::core::fmt::Debug for IAttachmentExecute { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAttachmentExecute").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAttachmentExecute { type Vtable = IAttachmentExecute_Vtbl; } -impl ::core::clone::Clone for IAttachmentExecute { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAttachmentExecute { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73db1241_1e85_4581_8e4f_a81e1d0f8c57); } @@ -9410,6 +8772,7 @@ pub struct IAttachmentExecute_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoComplete(::windows_core::IUnknown); impl IAutoComplete { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9433,25 +8796,9 @@ impl IAutoComplete { } } ::windows_core::imp::interface_hierarchy!(IAutoComplete, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAutoComplete { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAutoComplete {} -impl ::core::fmt::Debug for IAutoComplete { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutoComplete").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAutoComplete { type Vtable = IAutoComplete_Vtbl; } -impl ::core::clone::Clone for IAutoComplete { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoComplete { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00bb2762_6a77_11d0_a535_00c04fd7d062); } @@ -9470,6 +8817,7 @@ pub struct IAutoComplete_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoComplete2(::windows_core::IUnknown); impl IAutoComplete2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9500,25 +8848,9 @@ impl IAutoComplete2 { } } ::windows_core::imp::interface_hierarchy!(IAutoComplete2, ::windows_core::IUnknown, IAutoComplete); -impl ::core::cmp::PartialEq for IAutoComplete2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAutoComplete2 {} -impl ::core::fmt::Debug for IAutoComplete2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutoComplete2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAutoComplete2 { type Vtable = IAutoComplete2_Vtbl; } -impl ::core::clone::Clone for IAutoComplete2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoComplete2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeac04bc0_3791_11d2_bb95_0060977b464c); } @@ -9531,6 +8863,7 @@ pub struct IAutoComplete2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAutoCompleteDropDown(::windows_core::IUnknown); impl IAutoCompleteDropDown { pub unsafe fn GetDropDownStatus(&self, pdwflags: *mut u32, ppwszstring: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { @@ -9541,25 +8874,9 @@ impl IAutoCompleteDropDown { } } ::windows_core::imp::interface_hierarchy!(IAutoCompleteDropDown, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAutoCompleteDropDown { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAutoCompleteDropDown {} -impl ::core::fmt::Debug for IAutoCompleteDropDown { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAutoCompleteDropDown").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAutoCompleteDropDown { type Vtable = IAutoCompleteDropDown_Vtbl; } -impl ::core::clone::Clone for IAutoCompleteDropDown { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAutoCompleteDropDown { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cd141f4_3c6a_11d2_bcaa_00c04fd929db); } @@ -9572,6 +8889,7 @@ pub struct IAutoCompleteDropDown_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBandHost(::windows_core::IUnknown); impl IBandHost { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9598,25 +8916,9 @@ impl IBandHost { } } ::windows_core::imp::interface_hierarchy!(IBandHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBandHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBandHost {} -impl ::core::fmt::Debug for IBandHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBandHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBandHost { type Vtable = IBandHost_Vtbl; } -impl ::core::clone::Clone for IBandHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBandHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9075c7c_d48e_403f_ab99_d6c77a1084ac); } @@ -9636,6 +8938,7 @@ pub struct IBandHost_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBandSite(::windows_core::IUnknown); impl IBandSite { pub unsafe fn AddBand(&self, punk: P0) -> ::windows_core::Result<()> @@ -9674,25 +8977,9 @@ impl IBandSite { } } ::windows_core::imp::interface_hierarchy!(IBandSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBandSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBandSite {} -impl ::core::fmt::Debug for IBandSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBandSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBandSite { type Vtable = IBandSite_Vtbl; } -impl ::core::clone::Clone for IBandSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBandSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cf504b0_de96_11d0_8b3f_00a0c911e8e5); } @@ -9714,6 +9001,7 @@ pub struct IBandSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBannerNotificationHandler(::windows_core::IUnknown); impl IBannerNotificationHandler { pub unsafe fn OnBannerEvent(&self, notification: *const BANNER_NOTIFICATION) -> ::windows_core::Result<()> { @@ -9721,25 +9009,9 @@ impl IBannerNotificationHandler { } } ::windows_core::imp::interface_hierarchy!(IBannerNotificationHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBannerNotificationHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBannerNotificationHandler {} -impl ::core::fmt::Debug for IBannerNotificationHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBannerNotificationHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBannerNotificationHandler { type Vtable = IBannerNotificationHandler_Vtbl; } -impl ::core::clone::Clone for IBannerNotificationHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBannerNotificationHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d7b2ba7_db05_46a8_823c_d2b6de08ee91); } @@ -9751,6 +9023,7 @@ pub struct IBannerNotificationHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBanneredBar(::windows_core::IUnknown); impl IBanneredBar { pub unsafe fn SetIconSize(&self, iicon: u32) -> ::windows_core::Result<()> { @@ -9776,25 +9049,9 @@ impl IBanneredBar { } } ::windows_core::imp::interface_hierarchy!(IBanneredBar, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBanneredBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBanneredBar {} -impl ::core::fmt::Debug for IBanneredBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBanneredBar").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBanneredBar { type Vtable = IBanneredBar_Vtbl; } -impl ::core::clone::Clone for IBanneredBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBanneredBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x596a9a94_013e_11d1_8d34_00a0c90f2719); } @@ -9815,6 +9072,7 @@ pub struct IBanneredBar_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrowserFrameOptions(::windows_core::IUnknown); impl IBrowserFrameOptions { pub unsafe fn GetFrameOptions(&self, dwmask: u32) -> ::windows_core::Result { @@ -9823,25 +9081,9 @@ impl IBrowserFrameOptions { } } ::windows_core::imp::interface_hierarchy!(IBrowserFrameOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBrowserFrameOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBrowserFrameOptions {} -impl ::core::fmt::Debug for IBrowserFrameOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBrowserFrameOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBrowserFrameOptions { type Vtable = IBrowserFrameOptions_Vtbl; } -impl ::core::clone::Clone for IBrowserFrameOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrowserFrameOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10df43c8_1dbe_11d3_8b34_006097df5bd4); } @@ -9853,6 +9095,7 @@ pub struct IBrowserFrameOptions_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrowserService(::windows_core::IUnknown); impl IBrowserService { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -10031,25 +9274,9 @@ impl IBrowserService { } } ::windows_core::imp::interface_hierarchy!(IBrowserService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IBrowserService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBrowserService {} -impl ::core::fmt::Debug for IBrowserService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBrowserService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBrowserService { type Vtable = IBrowserService_Vtbl; } -impl ::core::clone::Clone for IBrowserService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrowserService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x02ba3b52_0547_11d1_b833_00c04fc9b31f); } @@ -10147,6 +9374,7 @@ pub struct IBrowserService_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrowserService2(::windows_core::IUnknown); impl IBrowserService2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -10666,25 +9894,9 @@ impl IBrowserService2 { } } ::windows_core::imp::interface_hierarchy!(IBrowserService2, ::windows_core::IUnknown, IBrowserService); -impl ::core::cmp::PartialEq for IBrowserService2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBrowserService2 {} -impl ::core::fmt::Debug for IBrowserService2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBrowserService2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBrowserService2 { type Vtable = IBrowserService2_Vtbl; } -impl ::core::clone::Clone for IBrowserService2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrowserService2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68bd21cc_438b_11d2_a560_00a0c92dbfe8); } @@ -10859,6 +10071,7 @@ pub struct IBrowserService2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrowserService3(::windows_core::IUnknown); impl IBrowserService3 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -11395,25 +10608,9 @@ impl IBrowserService3 { } } ::windows_core::imp::interface_hierarchy!(IBrowserService3, ::windows_core::IUnknown, IBrowserService, IBrowserService2); -impl ::core::cmp::PartialEq for IBrowserService3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBrowserService3 {} -impl ::core::fmt::Debug for IBrowserService3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBrowserService3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBrowserService3 { type Vtable = IBrowserService3_Vtbl; } -impl ::core::clone::Clone for IBrowserService3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrowserService3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27d7ce21_762d_48f3_86f3_40e2fd3749c4); } @@ -11432,6 +10629,7 @@ pub struct IBrowserService3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IBrowserService4(::windows_core::IUnknown); impl IBrowserService4 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -11982,25 +11180,9 @@ impl IBrowserService4 { } } ::windows_core::imp::interface_hierarchy!(IBrowserService4, ::windows_core::IUnknown, IBrowserService, IBrowserService2, IBrowserService3); -impl ::core::cmp::PartialEq for IBrowserService4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IBrowserService4 {} -impl ::core::fmt::Debug for IBrowserService4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IBrowserService4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IBrowserService4 { type Vtable = IBrowserService4_Vtbl; } -impl ::core::clone::Clone for IBrowserService4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IBrowserService4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x639f1bff_e135_4096_abd8_e0f504d649a4); } @@ -12017,6 +11199,7 @@ pub struct IBrowserService4_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICDBurn(::windows_core::IUnknown); impl ICDBurn { pub unsafe fn GetRecorderDriveLetter(&self, pszdrive: &mut [u16]) -> ::windows_core::Result<()> { @@ -12038,25 +11221,9 @@ impl ICDBurn { } } ::windows_core::imp::interface_hierarchy!(ICDBurn, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICDBurn { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICDBurn {} -impl ::core::fmt::Debug for ICDBurn { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICDBurn").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICDBurn { type Vtable = ICDBurn_Vtbl; } -impl ::core::clone::Clone for ICDBurn { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICDBurn { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d73a659_e5d0_4d42_afc0_5121ba425c8d); } @@ -12076,6 +11243,7 @@ pub struct ICDBurn_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICDBurnExt(::windows_core::IUnknown); impl ICDBurnExt { pub unsafe fn GetSupportedActionTypes(&self) -> ::windows_core::Result { @@ -12084,25 +11252,9 @@ impl ICDBurnExt { } } ::windows_core::imp::interface_hierarchy!(ICDBurnExt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICDBurnExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICDBurnExt {} -impl ::core::fmt::Debug for ICDBurnExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICDBurnExt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICDBurnExt { type Vtable = ICDBurnExt_Vtbl; } -impl ::core::clone::Clone for ICDBurnExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICDBurnExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2271dcca_74fc_4414_8fb7_c56b05ace2d7); } @@ -12114,6 +11266,7 @@ pub struct ICDBurnExt_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICategorizer(::windows_core::IUnknown); impl ICategorizer { pub unsafe fn GetDescription(&self, pszdesc: &mut [u16]) -> ::windows_core::Result<()> { @@ -12132,25 +11285,9 @@ impl ICategorizer { } } ::windows_core::imp::interface_hierarchy!(ICategorizer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICategorizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICategorizer {} -impl ::core::fmt::Debug for ICategorizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICategorizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICategorizer { type Vtable = ICategorizer_Vtbl; } -impl ::core::clone::Clone for ICategorizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICategorizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3b14589_9174_49a8_89a3_06a1ae2b9ba7); } @@ -12168,6 +11305,7 @@ pub struct ICategorizer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICategoryProvider(::windows_core::IUnknown); impl ICategoryProvider { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -12204,25 +11342,9 @@ impl ICategoryProvider { } } ::windows_core::imp::interface_hierarchy!(ICategoryProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICategoryProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICategoryProvider {} -impl ::core::fmt::Debug for ICategoryProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICategoryProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICategoryProvider { type Vtable = ICategoryProvider_Vtbl; } -impl ::core::clone::Clone for ICategoryProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICategoryProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9af64809_5864_4c26_a720_c1f78c086ee3); } @@ -12251,6 +11373,7 @@ pub struct ICategoryProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnManager(::windows_core::IUnknown); impl IColumnManager { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -12279,25 +11402,9 @@ impl IColumnManager { } } ::windows_core::imp::interface_hierarchy!(IColumnManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnManager {} -impl ::core::fmt::Debug for IColumnManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnManager { type Vtable = IColumnManager_Vtbl; } -impl ::core::clone::Clone for IColumnManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8ec27bb_3f3b_4042_b10a_4acfd924d453); } @@ -12325,6 +11432,7 @@ pub struct IColumnManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IColumnProvider(::windows_core::IUnknown); impl IColumnProvider { pub unsafe fn Initialize(&self, psci: *const SHCOLUMNINIT) -> ::windows_core::Result<()> { @@ -12343,25 +11451,9 @@ impl IColumnProvider { } } ::windows_core::imp::interface_hierarchy!(IColumnProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IColumnProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IColumnProvider {} -impl ::core::fmt::Debug for IColumnProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IColumnProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IColumnProvider { type Vtable = IColumnProvider_Vtbl; } -impl ::core::clone::Clone for IColumnProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IColumnProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8025004_1c42_11d2_be2c_00a0c9a83da1); } @@ -12381,6 +11473,7 @@ pub struct IColumnProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommDlgBrowser(::windows_core::IUnknown); impl ICommDlgBrowser { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -12409,25 +11502,9 @@ impl ICommDlgBrowser { } } ::windows_core::imp::interface_hierarchy!(ICommDlgBrowser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICommDlgBrowser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommDlgBrowser {} -impl ::core::fmt::Debug for ICommDlgBrowser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommDlgBrowser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommDlgBrowser { type Vtable = ICommDlgBrowser_Vtbl; } -impl ::core::clone::Clone for ICommDlgBrowser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommDlgBrowser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214f1_0000_0000_c000_000000000046); } @@ -12450,6 +11527,7 @@ pub struct ICommDlgBrowser_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommDlgBrowser2(::windows_core::IUnknown); impl ICommDlgBrowser2 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -12498,25 +11576,9 @@ impl ICommDlgBrowser2 { } } ::windows_core::imp::interface_hierarchy!(ICommDlgBrowser2, ::windows_core::IUnknown, ICommDlgBrowser); -impl ::core::cmp::PartialEq for ICommDlgBrowser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommDlgBrowser2 {} -impl ::core::fmt::Debug for ICommDlgBrowser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommDlgBrowser2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommDlgBrowser2 { type Vtable = ICommDlgBrowser2_Vtbl; } -impl ::core::clone::Clone for ICommDlgBrowser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommDlgBrowser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x10339516_2894_11d2_9039_00c04f8eeb3e); } @@ -12536,6 +11598,7 @@ pub struct ICommDlgBrowser2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICommDlgBrowser3(::windows_core::IUnknown); impl ICommDlgBrowser3 { #[doc = "*Required features: `\"Win32_System_Ole\"`*"] @@ -12603,25 +11666,9 @@ impl ICommDlgBrowser3 { } } ::windows_core::imp::interface_hierarchy!(ICommDlgBrowser3, ::windows_core::IUnknown, ICommDlgBrowser, ICommDlgBrowser2); -impl ::core::cmp::PartialEq for ICommDlgBrowser3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICommDlgBrowser3 {} -impl ::core::fmt::Debug for ICommDlgBrowser3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICommDlgBrowser3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICommDlgBrowser3 { type Vtable = ICommDlgBrowser3_Vtbl; } -impl ::core::clone::Clone for ICommDlgBrowser3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICommDlgBrowser3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc8ad25a1_3294_41ee_8165_71174bd01c57); } @@ -12641,6 +11688,7 @@ pub struct ICommDlgBrowser3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IComputerInfoChangeNotify(::windows_core::IUnknown); impl IComputerInfoChangeNotify { pub unsafe fn ComputerInfoChanged(&self) -> ::windows_core::Result<()> { @@ -12648,25 +11696,9 @@ impl IComputerInfoChangeNotify { } } ::windows_core::imp::interface_hierarchy!(IComputerInfoChangeNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IComputerInfoChangeNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IComputerInfoChangeNotify {} -impl ::core::fmt::Debug for IComputerInfoChangeNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IComputerInfoChangeNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IComputerInfoChangeNotify { type Vtable = IComputerInfoChangeNotify_Vtbl; } -impl ::core::clone::Clone for IComputerInfoChangeNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IComputerInfoChangeNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0df60d92_6818_46d6_b358_d66170dde466); } @@ -12678,6 +11710,7 @@ pub struct IComputerInfoChangeNotify_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IConnectableCredentialProviderCredential(::windows_core::IUnknown); impl IConnectableCredentialProviderCredential { pub unsafe fn Advise(&self, pcpce: P0) -> ::windows_core::Result<()> @@ -12770,25 +11803,9 @@ impl IConnectableCredentialProviderCredential { } } ::windows_core::imp::interface_hierarchy!(IConnectableCredentialProviderCredential, ::windows_core::IUnknown, ICredentialProviderCredential); -impl ::core::cmp::PartialEq for IConnectableCredentialProviderCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IConnectableCredentialProviderCredential {} -impl ::core::fmt::Debug for IConnectableCredentialProviderCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IConnectableCredentialProviderCredential").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IConnectableCredentialProviderCredential { type Vtable = IConnectableCredentialProviderCredential_Vtbl; } -impl ::core::clone::Clone for IConnectableCredentialProviderCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IConnectableCredentialProviderCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9387928b_ac75_4bf9_8ab2_2b93c4a55290); } @@ -12801,6 +11818,7 @@ pub struct IConnectableCredentialProviderCredential_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContactManagerInterop(::windows_core::IUnknown); impl IContactManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -12814,25 +11832,9 @@ impl IContactManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IContactManagerInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContactManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContactManagerInterop {} -impl ::core::fmt::Debug for IContactManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContactManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContactManagerInterop { type Vtable = IContactManagerInterop_Vtbl; } -impl ::core::clone::Clone for IContactManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContactManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99eacba7_e073_43b6_a896_55afe48a0833); } @@ -12847,6 +11849,7 @@ pub struct IContactManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenu(::windows_core::IUnknown); impl IContextMenu { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -12867,25 +11870,9 @@ impl IContextMenu { } } ::windows_core::imp::interface_hierarchy!(IContextMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenu {} -impl ::core::fmt::Debug for IContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenu { type Vtable = IContextMenu_Vtbl; } -impl ::core::clone::Clone for IContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e4_0000_0000_c000_000000000046); } @@ -12905,6 +11892,7 @@ pub struct IContextMenu_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenu2(::windows_core::IUnknown); impl IContextMenu2 { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -12934,25 +11922,9 @@ impl IContextMenu2 { } } ::windows_core::imp::interface_hierarchy!(IContextMenu2, ::windows_core::IUnknown, IContextMenu); -impl ::core::cmp::PartialEq for IContextMenu2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenu2 {} -impl ::core::fmt::Debug for IContextMenu2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenu2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenu2 { type Vtable = IContextMenu2_Vtbl; } -impl ::core::clone::Clone for IContextMenu2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenu2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214f4_0000_0000_c000_000000000046); } @@ -12967,6 +11939,7 @@ pub struct IContextMenu2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenu3(::windows_core::IUnknown); impl IContextMenu3 { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -13005,25 +11978,9 @@ impl IContextMenu3 { } } ::windows_core::imp::interface_hierarchy!(IContextMenu3, ::windows_core::IUnknown, IContextMenu, IContextMenu2); -impl ::core::cmp::PartialEq for IContextMenu3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenu3 {} -impl ::core::fmt::Debug for IContextMenu3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenu3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenu3 { type Vtable = IContextMenu3_Vtbl; } -impl ::core::clone::Clone for IContextMenu3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenu3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcfce0a0_ec17_11d0_8d10_00a0c90f2719); } @@ -13038,6 +11995,7 @@ pub struct IContextMenu3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenuCB(::windows_core::IUnknown); impl IContextMenuCB { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -13054,25 +12012,9 @@ impl IContextMenuCB { } } ::windows_core::imp::interface_hierarchy!(IContextMenuCB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextMenuCB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenuCB {} -impl ::core::fmt::Debug for IContextMenuCB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenuCB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenuCB { type Vtable = IContextMenuCB_Vtbl; } -impl ::core::clone::Clone for IContextMenuCB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenuCB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3409e930_5a39_11d1_83fa_00a0c90dc849); } @@ -13087,6 +12029,7 @@ pub struct IContextMenuCB_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IContextMenuSite(::windows_core::IUnknown); impl IContextMenuSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13099,25 +12042,9 @@ impl IContextMenuSite { } } ::windows_core::imp::interface_hierarchy!(IContextMenuSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IContextMenuSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IContextMenuSite {} -impl ::core::fmt::Debug for IContextMenuSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IContextMenuSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IContextMenuSite { type Vtable = IContextMenuSite_Vtbl; } -impl ::core::clone::Clone for IContextMenuSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IContextMenuSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0811aebe_0b87_4c54_9e72_548cf649016b); } @@ -13132,6 +12059,7 @@ pub struct IContextMenuSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICopyHookA(::windows_core::IUnknown); impl ICopyHookA { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13146,25 +12074,9 @@ impl ICopyHookA { } } ::windows_core::imp::interface_hierarchy!(ICopyHookA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICopyHookA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICopyHookA {} -impl ::core::fmt::Debug for ICopyHookA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICopyHookA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICopyHookA { type Vtable = ICopyHookA_Vtbl; } -impl ::core::clone::Clone for ICopyHookA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICopyHookA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214ef_0000_0000_c000_000000000046); } @@ -13179,6 +12091,7 @@ pub struct ICopyHookA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICopyHookW(::windows_core::IUnknown); impl ICopyHookW { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13193,25 +12106,9 @@ impl ICopyHookW { } } ::windows_core::imp::interface_hierarchy!(ICopyHookW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICopyHookW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICopyHookW {} -impl ::core::fmt::Debug for ICopyHookW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICopyHookW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICopyHookW { type Vtable = ICopyHookW_Vtbl; } -impl ::core::clone::Clone for ICopyHookW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICopyHookW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214fc_0000_0000_c000_000000000046); } @@ -13226,6 +12123,7 @@ pub struct ICopyHookW_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreateProcessInputs(::windows_core::IUnknown); impl ICreateProcessInputs { pub unsafe fn GetCreateFlags(&self) -> ::windows_core::Result { @@ -13259,25 +12157,9 @@ impl ICreateProcessInputs { } } ::windows_core::imp::interface_hierarchy!(ICreateProcessInputs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreateProcessInputs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreateProcessInputs {} -impl ::core::fmt::Debug for ICreateProcessInputs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreateProcessInputs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreateProcessInputs { type Vtable = ICreateProcessInputs_Vtbl; } -impl ::core::clone::Clone for ICreateProcessInputs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreateProcessInputs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf6ef6140_e26f_4d82_bac4_e9ba5fd239a8); } @@ -13295,6 +12177,7 @@ pub struct ICreateProcessInputs_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICreatingProcess(::windows_core::IUnknown); impl ICreatingProcess { pub unsafe fn OnCreating(&self, pcpi: P0) -> ::windows_core::Result<()> @@ -13305,25 +12188,9 @@ impl ICreatingProcess { } } ::windows_core::imp::interface_hierarchy!(ICreatingProcess, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICreatingProcess { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICreatingProcess {} -impl ::core::fmt::Debug for ICreatingProcess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICreatingProcess").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICreatingProcess { type Vtable = ICreatingProcess_Vtbl; } -impl ::core::clone::Clone for ICreatingProcess { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICreatingProcess { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2b937a9_3110_4398_8a56_f34c6342d244); } @@ -13335,6 +12202,7 @@ pub struct ICreatingProcess_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProvider(::windows_core::IUnknown); impl ICredentialProvider { pub unsafe fn SetUsageScenario(&self, cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO, dwflags: u32) -> ::windows_core::Result<()> { @@ -13371,25 +12239,9 @@ impl ICredentialProvider { } } ::windows_core::imp::interface_hierarchy!(ICredentialProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProvider {} -impl ::core::fmt::Debug for ICredentialProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProvider { type Vtable = ICredentialProvider_Vtbl; } -impl ::core::clone::Clone for ICredentialProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd27c3481_5a1c_45b2_8aaa_c20ebbe8229e); } @@ -13411,6 +12263,7 @@ pub struct ICredentialProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderCredential(::windows_core::IUnknown); impl ICredentialProviderCredential { pub unsafe fn Advise(&self, pcpce: P0) -> ::windows_core::Result<()> @@ -13494,25 +12347,9 @@ impl ICredentialProviderCredential { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderCredential, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderCredential { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderCredential {} -impl ::core::fmt::Debug for ICredentialProviderCredential { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderCredential").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderCredential { type Vtable = ICredentialProviderCredential_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderCredential { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderCredential { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63913a93_40c1_481a_818d_4072ff8c70cc); } @@ -13555,6 +12392,7 @@ pub struct ICredentialProviderCredential_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderCredential2(::windows_core::IUnknown); impl ICredentialProviderCredential2 { pub unsafe fn Advise(&self, pcpce: P0) -> ::windows_core::Result<()> @@ -13642,25 +12480,9 @@ impl ICredentialProviderCredential2 { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderCredential2, ::windows_core::IUnknown, ICredentialProviderCredential); -impl ::core::cmp::PartialEq for ICredentialProviderCredential2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderCredential2 {} -impl ::core::fmt::Debug for ICredentialProviderCredential2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderCredential2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderCredential2 { type Vtable = ICredentialProviderCredential2_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderCredential2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderCredential2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfd672c54_40ea_4d6e_9b49_cfb1a7507bd7); } @@ -13672,6 +12494,7 @@ pub struct ICredentialProviderCredential2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderCredentialEvents(::windows_core::IUnknown); impl ICredentialProviderCredentialEvents { pub unsafe fn SetFieldState(&self, pcpc: P0, dwfieldid: u32, cpfs: CREDENTIAL_PROVIDER_FIELD_STATE) -> ::windows_core::Result<()> @@ -13745,25 +12568,9 @@ impl ICredentialProviderCredentialEvents { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderCredentialEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderCredentialEvents {} -impl ::core::fmt::Debug for ICredentialProviderCredentialEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderCredentialEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderCredentialEvents { type Vtable = ICredentialProviderCredentialEvents_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderCredentialEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderCredentialEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa6fa76b_66b7_4b11_95f1_86171118e816); } @@ -13793,6 +12600,7 @@ pub struct ICredentialProviderCredentialEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderCredentialEvents2(::windows_core::IUnknown); impl ICredentialProviderCredentialEvents2 { pub unsafe fn SetFieldState(&self, pcpc: P0, dwfieldid: u32, cpfs: CREDENTIAL_PROVIDER_FIELD_STATE) -> ::windows_core::Result<()> @@ -13878,25 +12686,9 @@ impl ICredentialProviderCredentialEvents2 { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents2, ::windows_core::IUnknown, ICredentialProviderCredentialEvents); -impl ::core::cmp::PartialEq for ICredentialProviderCredentialEvents2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderCredentialEvents2 {} -impl ::core::fmt::Debug for ICredentialProviderCredentialEvents2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderCredentialEvents2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderCredentialEvents2 { type Vtable = ICredentialProviderCredentialEvents2_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderCredentialEvents2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderCredentialEvents2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb53c00b6_9922_4b78_b1f4_ddfe774dc39b); } @@ -13910,6 +12702,7 @@ pub struct ICredentialProviderCredentialEvents2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderCredentialWithFieldOptions(::windows_core::IUnknown); impl ICredentialProviderCredentialWithFieldOptions { pub unsafe fn GetFieldOptions(&self, fieldid: u32) -> ::windows_core::Result { @@ -13918,25 +12711,9 @@ impl ICredentialProviderCredentialWithFieldOptions { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialWithFieldOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderCredentialWithFieldOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderCredentialWithFieldOptions {} -impl ::core::fmt::Debug for ICredentialProviderCredentialWithFieldOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderCredentialWithFieldOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderCredentialWithFieldOptions { type Vtable = ICredentialProviderCredentialWithFieldOptions_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderCredentialWithFieldOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderCredentialWithFieldOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdbc6fb30_c843_49e3_a645_573e6f39446a); } @@ -13948,6 +12725,7 @@ pub struct ICredentialProviderCredentialWithFieldOptions_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderEvents(::windows_core::IUnknown); impl ICredentialProviderEvents { pub unsafe fn CredentialsChanged(&self, upadvisecontext: usize) -> ::windows_core::Result<()> { @@ -13955,25 +12733,9 @@ impl ICredentialProviderEvents { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderEvents {} -impl ::core::fmt::Debug for ICredentialProviderEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderEvents { type Vtable = ICredentialProviderEvents_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x34201e5a_a787_41a3_a5a4_bd6dcf2a854e); } @@ -13985,6 +12747,7 @@ pub struct ICredentialProviderEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderFilter(::windows_core::IUnknown); impl ICredentialProviderFilter { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -13997,25 +12760,9 @@ impl ICredentialProviderFilter { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderFilter {} -impl ::core::fmt::Debug for ICredentialProviderFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderFilter { type Vtable = ICredentialProviderFilter_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5da53f9_d475_4080_a120_910c4a739880); } @@ -14031,6 +12778,7 @@ pub struct ICredentialProviderFilter_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderSetUserArray(::windows_core::IUnknown); impl ICredentialProviderSetUserArray { pub unsafe fn SetUserArray(&self, users: P0) -> ::windows_core::Result<()> @@ -14041,25 +12789,9 @@ impl ICredentialProviderSetUserArray { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderSetUserArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderSetUserArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderSetUserArray {} -impl ::core::fmt::Debug for ICredentialProviderSetUserArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderSetUserArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderSetUserArray { type Vtable = ICredentialProviderSetUserArray_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderSetUserArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderSetUserArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x095c1484_1c0c_4388_9c6d_500e61bf84bd); } @@ -14071,6 +12803,7 @@ pub struct ICredentialProviderSetUserArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderUser(::windows_core::IUnknown); impl ICredentialProviderUser { pub unsafe fn GetSid(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -14095,25 +12828,9 @@ impl ICredentialProviderUser { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderUser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderUser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderUser {} -impl ::core::fmt::Debug for ICredentialProviderUser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderUser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderUser { type Vtable = ICredentialProviderUser_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderUser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderUser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13793285_3ea6_40fd_b420_15f47da41fbb); } @@ -14134,6 +12851,7 @@ pub struct ICredentialProviderUser_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICredentialProviderUserArray(::windows_core::IUnknown); impl ICredentialProviderUserArray { pub unsafe fn SetProviderFilter(&self, guidprovidertofilterto: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -14153,25 +12871,9 @@ impl ICredentialProviderUserArray { } } ::windows_core::imp::interface_hierarchy!(ICredentialProviderUserArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICredentialProviderUserArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICredentialProviderUserArray {} -impl ::core::fmt::Debug for ICredentialProviderUserArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICredentialProviderUserArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICredentialProviderUserArray { type Vtable = ICredentialProviderUserArray_Vtbl; } -impl ::core::clone::Clone for ICredentialProviderUserArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICredentialProviderUserArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90c119ae_0f18_4520_a1f1_114366a40fe8); } @@ -14186,6 +12888,7 @@ pub struct ICredentialProviderUserArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentItem(::windows_core::IUnknown); impl ICurrentItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -14200,25 +12903,9 @@ impl ICurrentItem { } } ::windows_core::imp::interface_hierarchy!(ICurrentItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for ICurrentItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICurrentItem {} -impl ::core::fmt::Debug for ICurrentItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICurrentItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICurrentItem { type Vtable = ICurrentItem_Vtbl; } -impl ::core::clone::Clone for ICurrentItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x240a7174_d653_4a1d_a6d3_d4943cfbfe3d); } @@ -14229,6 +12916,7 @@ pub struct ICurrentItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICurrentWorkingDirectory(::windows_core::IUnknown); impl ICurrentWorkingDirectory { pub unsafe fn GetDirectory(&self, pwzpath: &mut [u16]) -> ::windows_core::Result<()> { @@ -14242,25 +12930,9 @@ impl ICurrentWorkingDirectory { } } ::windows_core::imp::interface_hierarchy!(ICurrentWorkingDirectory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICurrentWorkingDirectory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICurrentWorkingDirectory {} -impl ::core::fmt::Debug for ICurrentWorkingDirectory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICurrentWorkingDirectory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICurrentWorkingDirectory { type Vtable = ICurrentWorkingDirectory_Vtbl; } -impl ::core::clone::Clone for ICurrentWorkingDirectory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICurrentWorkingDirectory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91956d21_9276_11d1_921a_006097df5bd4); } @@ -14273,6 +12945,7 @@ pub struct ICurrentWorkingDirectory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICustomDestinationList(::windows_core::IUnknown); impl ICustomDestinationList { pub unsafe fn SetAppID(&self, pszappid: P0) -> ::windows_core::Result<()> @@ -14329,25 +13002,9 @@ impl ICustomDestinationList { } } ::windows_core::imp::interface_hierarchy!(ICustomDestinationList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICustomDestinationList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICustomDestinationList {} -impl ::core::fmt::Debug for ICustomDestinationList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICustomDestinationList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICustomDestinationList { type Vtable = ICustomDestinationList_Vtbl; } -impl ::core::clone::Clone for ICustomDestinationList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICustomDestinationList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6332debf_87b5_4670_90c0_5e57b408a49e); } @@ -14373,6 +13030,7 @@ pub struct ICustomDestinationList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataObjectAsyncCapability(::windows_core::IUnknown); impl IDataObjectAsyncCapability { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14413,25 +13071,9 @@ impl IDataObjectAsyncCapability { } } ::windows_core::imp::interface_hierarchy!(IDataObjectAsyncCapability, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataObjectAsyncCapability { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataObjectAsyncCapability {} -impl ::core::fmt::Debug for IDataObjectAsyncCapability { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataObjectAsyncCapability").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataObjectAsyncCapability { type Vtable = IDataObjectAsyncCapability_Vtbl; } -impl ::core::clone::Clone for IDataObjectAsyncCapability { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataObjectAsyncCapability { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d8b0590_f691_11d2_8ea9_006097df5bd4); } @@ -14462,6 +13104,7 @@ pub struct IDataObjectAsyncCapability_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataObjectProvider(::windows_core::IUnknown); impl IDataObjectProvider { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14480,25 +13123,9 @@ impl IDataObjectProvider { } } ::windows_core::imp::interface_hierarchy!(IDataObjectProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataObjectProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataObjectProvider {} -impl ::core::fmt::Debug for IDataObjectProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataObjectProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataObjectProvider { type Vtable = IDataObjectProvider_Vtbl; } -impl ::core::clone::Clone for IDataObjectProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataObjectProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d25f6d6_4b2a_433c_9184_7c33ad35d001); } @@ -14517,6 +13144,7 @@ pub struct IDataObjectProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDataTransferManagerInterop(::windows_core::IUnknown); impl IDataTransferManagerInterop { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -14539,25 +13167,9 @@ impl IDataTransferManagerInterop { } } ::windows_core::imp::interface_hierarchy!(IDataTransferManagerInterop, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDataTransferManagerInterop { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDataTransferManagerInterop {} -impl ::core::fmt::Debug for IDataTransferManagerInterop { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDataTransferManagerInterop").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDataTransferManagerInterop { type Vtable = IDataTransferManagerInterop_Vtbl; } -impl ::core::clone::Clone for IDataTransferManagerInterop { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDataTransferManagerInterop { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a3dcd6c_3eab_43dc_bcde_45671ce800c8); } @@ -14576,6 +13188,7 @@ pub struct IDataTransferManagerInterop_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultExtractIconInit(::windows_core::IUnknown); impl IDefaultExtractIconInit { pub unsafe fn SetFlags(&self, uflags: u32) -> ::windows_core::Result<()> { @@ -14615,25 +13228,9 @@ impl IDefaultExtractIconInit { } } ::windows_core::imp::interface_hierarchy!(IDefaultExtractIconInit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDefaultExtractIconInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDefaultExtractIconInit {} -impl ::core::fmt::Debug for IDefaultExtractIconInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDefaultExtractIconInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDefaultExtractIconInit { type Vtable = IDefaultExtractIconInit_Vtbl; } -impl ::core::clone::Clone for IDefaultExtractIconInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultExtractIconInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41ded17d_d6b3_4261_997d_88c60e4b1d58); } @@ -14653,6 +13250,7 @@ pub struct IDefaultExtractIconInit_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDefaultFolderMenuInitialize(::windows_core::IUnknown); impl IDefaultFolderMenuInitialize { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -14678,25 +13276,9 @@ impl IDefaultFolderMenuInitialize { } } ::windows_core::imp::interface_hierarchy!(IDefaultFolderMenuInitialize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDefaultFolderMenuInitialize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDefaultFolderMenuInitialize {} -impl ::core::fmt::Debug for IDefaultFolderMenuInitialize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDefaultFolderMenuInitialize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDefaultFolderMenuInitialize { type Vtable = IDefaultFolderMenuInitialize_Vtbl; } -impl ::core::clone::Clone for IDefaultFolderMenuInitialize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDefaultFolderMenuInitialize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7690aa79_f8fc_4615_a327_36f7d18f5d91); } @@ -14714,6 +13296,7 @@ pub struct IDefaultFolderMenuInitialize_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDelegateFolder(::windows_core::IUnknown); impl IDelegateFolder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -14726,25 +13309,9 @@ impl IDelegateFolder { } } ::windows_core::imp::interface_hierarchy!(IDelegateFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDelegateFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDelegateFolder {} -impl ::core::fmt::Debug for IDelegateFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDelegateFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDelegateFolder { type Vtable = IDelegateFolder_Vtbl; } -impl ::core::clone::Clone for IDelegateFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDelegateFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xadd8ba80_002b_11d0_8f0f_00c04fd7d062); } @@ -14759,6 +13326,7 @@ pub struct IDelegateFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDelegateItem(::windows_core::IUnknown); impl IDelegateItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -14773,25 +13341,9 @@ impl IDelegateItem { } } ::windows_core::imp::interface_hierarchy!(IDelegateItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IDelegateItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDelegateItem {} -impl ::core::fmt::Debug for IDelegateItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDelegateItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDelegateItem { type Vtable = IDelegateItem_Vtbl; } -impl ::core::clone::Clone for IDelegateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDelegateItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c5a1c94_c951_4cb7_bb6d_3b93f30cce93); } @@ -14803,6 +13355,7 @@ pub struct IDelegateItem_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeskBand(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDeskBand { @@ -14849,30 +13402,10 @@ impl IDeskBand { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDeskBand, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDeskBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDeskBand {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDeskBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeskBand").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDeskBand { type Vtable = IDeskBand_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDeskBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDeskBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0fe172_1a3a_11d0_89b3_00a0c90a90ac); } @@ -14889,6 +13422,7 @@ pub struct IDeskBand_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeskBand2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDeskBand2 { @@ -14955,30 +13489,10 @@ impl IDeskBand2 { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDeskBand2, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow, IDeskBand); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDeskBand2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDeskBand2 {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDeskBand2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeskBand2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDeskBand2 { type Vtable = IDeskBand2_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDeskBand2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDeskBand2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79d16de4_abee_4021_8d9d_9169b261d657); } @@ -15002,6 +13516,7 @@ pub struct IDeskBand2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeskBandInfo(::windows_core::IUnknown); impl IDeskBandInfo { pub unsafe fn GetDefaultBandWidth(&self, dwbandid: u32, dwviewmode: u32) -> ::windows_core::Result { @@ -15010,25 +13525,9 @@ impl IDeskBandInfo { } } ::windows_core::imp::interface_hierarchy!(IDeskBandInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDeskBandInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDeskBandInfo {} -impl ::core::fmt::Debug for IDeskBandInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeskBandInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDeskBandInfo { type Vtable = IDeskBandInfo_Vtbl; } -impl ::core::clone::Clone for IDeskBandInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDeskBandInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77e425fc_cbf9_4307_ba6a_bb5727745661); } @@ -15041,6 +13540,7 @@ pub struct IDeskBandInfo_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeskBar(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDeskBar { @@ -15077,30 +13577,10 @@ impl IDeskBar { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDeskBar, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDeskBar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDeskBar {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDeskBar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeskBar").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDeskBar { type Vtable = IDeskBar_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDeskBar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDeskBar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0fe173_1a3a_11d0_89b3_00a0c90a90ac); } @@ -15119,6 +13599,7 @@ pub struct IDeskBar_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeskBarClient(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDeskBarClient { @@ -15158,30 +13639,10 @@ impl IDeskBarClient { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDeskBarClient, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDeskBarClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDeskBarClient {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDeskBarClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeskBarClient").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDeskBarClient { type Vtable = IDeskBarClient_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDeskBarClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDeskBarClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb0fe175_1a3a_11d0_89b3_00a0c90a90ac); } @@ -15200,6 +13661,7 @@ pub struct IDeskBarClient_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesktopGadget(::windows_core::IUnknown); impl IDesktopGadget { pub unsafe fn RunGadget(&self, gadgetpath: P0) -> ::windows_core::Result<()> @@ -15210,25 +13672,9 @@ impl IDesktopGadget { } } ::windows_core::imp::interface_hierarchy!(IDesktopGadget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDesktopGadget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDesktopGadget {} -impl ::core::fmt::Debug for IDesktopGadget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDesktopGadget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDesktopGadget { type Vtable = IDesktopGadget_Vtbl; } -impl ::core::clone::Clone for IDesktopGadget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesktopGadget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1646bc4_f298_4f91_a204_eb2dd1709d1a); } @@ -15240,6 +13686,7 @@ pub struct IDesktopGadget_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDesktopWallpaper(::windows_core::IUnknown); impl IDesktopWallpaper { pub unsafe fn SetWallpaper(&self, monitorid: P0, wallpaper: P1) -> ::windows_core::Result<()> @@ -15330,25 +13777,9 @@ impl IDesktopWallpaper { } } ::windows_core::imp::interface_hierarchy!(IDesktopWallpaper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDesktopWallpaper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDesktopWallpaper {} -impl ::core::fmt::Debug for IDesktopWallpaper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDesktopWallpaper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDesktopWallpaper { type Vtable = IDesktopWallpaper_Vtbl; } -impl ::core::clone::Clone for IDesktopWallpaper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDesktopWallpaper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb92b56a9_8b55_4e14_9a89_0199bbb6f93b); } @@ -15387,6 +13818,7 @@ pub struct IDesktopWallpaper_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDestinationStreamFactory(::windows_core::IUnknown); impl IDestinationStreamFactory { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -15397,25 +13829,9 @@ impl IDestinationStreamFactory { } } ::windows_core::imp::interface_hierarchy!(IDestinationStreamFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDestinationStreamFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDestinationStreamFactory {} -impl ::core::fmt::Debug for IDestinationStreamFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDestinationStreamFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDestinationStreamFactory { type Vtable = IDestinationStreamFactory_Vtbl; } -impl ::core::clone::Clone for IDestinationStreamFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDestinationStreamFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a87781b_39a7_4a1f_aab3_a39b9c34a7d9); } @@ -15430,6 +13846,7 @@ pub struct IDestinationStreamFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDisplayItem(::windows_core::IUnknown); impl IDisplayItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -15444,25 +13861,9 @@ impl IDisplayItem { } } ::windows_core::imp::interface_hierarchy!(IDisplayItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IDisplayItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDisplayItem {} -impl ::core::fmt::Debug for IDisplayItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDisplayItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDisplayItem { type Vtable = IDisplayItem_Vtbl; } -impl ::core::clone::Clone for IDisplayItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDisplayItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6fd5997_9f6b_4888_8703_94e80e8cde3f); } @@ -15473,6 +13874,7 @@ pub struct IDisplayItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDocViewSite(::windows_core::IUnknown); impl IDocViewSite { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -15482,25 +13884,9 @@ impl IDocViewSite { } } ::windows_core::imp::interface_hierarchy!(IDocViewSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDocViewSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocViewSite {} -impl ::core::fmt::Debug for IDocViewSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocViewSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDocViewSite { type Vtable = IDocViewSite_Vtbl; } -impl ::core::clone::Clone for IDocViewSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDocViewSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87d605e0_c511_11cf_89a9_00a0c9054129); } @@ -15516,6 +13902,7 @@ pub struct IDocViewSite_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDockingWindow(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDockingWindow { @@ -15557,30 +13944,10 @@ impl IDockingWindow { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDockingWindow, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDockingWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDockingWindow {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDockingWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDockingWindow").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDockingWindow { type Vtable = IDockingWindow_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDockingWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDockingWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x012dd920_7b26_11d0_8ca9_00a0c92dbfe8); } @@ -15602,6 +13969,7 @@ pub struct IDockingWindow_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDockingWindowFrame(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDockingWindowFrame { @@ -15642,30 +14010,10 @@ impl IDockingWindowFrame { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDockingWindowFrame, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDockingWindowFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDockingWindowFrame {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDockingWindowFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDockingWindowFrame").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDockingWindowFrame { type Vtable = IDockingWindowFrame_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDockingWindowFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDockingWindowFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47d2657a_7b27_11d0_8ca9_00a0c92dbfe8); } @@ -15681,6 +14029,7 @@ pub struct IDockingWindowFrame_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDockingWindowSite(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IDockingWindowSite { @@ -15727,30 +14076,10 @@ impl IDockingWindowSite { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IDockingWindowSite, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IDockingWindowSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IDockingWindowSite {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IDockingWindowSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDockingWindowSite").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IDockingWindowSite { type Vtable = IDockingWindowSite_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IDockingWindowSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IDockingWindowSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2a342fc2_7b26_11d0_8ca9_00a0c92dbfe8); } @@ -15774,6 +14103,7 @@ pub struct IDockingWindowSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDragSourceHelper(::windows_core::IUnknown); impl IDragSourceHelper { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -15795,25 +14125,9 @@ impl IDragSourceHelper { } } ::windows_core::imp::interface_hierarchy!(IDragSourceHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDragSourceHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDragSourceHelper {} -impl ::core::fmt::Debug for IDragSourceHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDragSourceHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDragSourceHelper { type Vtable = IDragSourceHelper_Vtbl; } -impl ::core::clone::Clone for IDragSourceHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDragSourceHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xde5bf786_477a_11d2_839d_00c04fd918d0); } @@ -15832,6 +14146,7 @@ pub struct IDragSourceHelper_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDragSourceHelper2(::windows_core::IUnknown); impl IDragSourceHelper2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] @@ -15856,25 +14171,9 @@ impl IDragSourceHelper2 { } } ::windows_core::imp::interface_hierarchy!(IDragSourceHelper2, ::windows_core::IUnknown, IDragSourceHelper); -impl ::core::cmp::PartialEq for IDragSourceHelper2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDragSourceHelper2 {} -impl ::core::fmt::Debug for IDragSourceHelper2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDragSourceHelper2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDragSourceHelper2 { type Vtable = IDragSourceHelper2_Vtbl; } -impl ::core::clone::Clone for IDragSourceHelper2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDragSourceHelper2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83e07d0d_0c5f_4163_bf1a_60b274051e40); } @@ -15886,6 +14185,7 @@ pub struct IDragSourceHelper2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDropTargetHelper(::windows_core::IUnknown); impl IDropTargetHelper { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"] @@ -15923,25 +14223,9 @@ impl IDropTargetHelper { } } ::windows_core::imp::interface_hierarchy!(IDropTargetHelper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDropTargetHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDropTargetHelper {} -impl ::core::fmt::Debug for IDropTargetHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDropTargetHelper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDropTargetHelper { type Vtable = IDropTargetHelper_Vtbl; } -impl ::core::clone::Clone for IDropTargetHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDropTargetHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4657278b_411b_11d2_839a_00c04fd918d0); } @@ -15969,6 +14253,7 @@ pub struct IDropTargetHelper_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicHWHandler(::windows_core::IUnknown); impl IDynamicHWHandler { pub unsafe fn GetDynamicInfo(&self, pszdeviceid: P0, dwcontenttype: u32) -> ::windows_core::Result<::windows_core::PWSTR> @@ -15980,25 +14265,9 @@ impl IDynamicHWHandler { } } ::windows_core::imp::interface_hierarchy!(IDynamicHWHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDynamicHWHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDynamicHWHandler {} -impl ::core::fmt::Debug for IDynamicHWHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicHWHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDynamicHWHandler { type Vtable = IDynamicHWHandler_Vtbl; } -impl ::core::clone::Clone for IDynamicHWHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDynamicHWHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc2601d7_059e_42fc_a09d_2afd21b6d5f7); } @@ -16011,6 +14280,7 @@ pub struct IDynamicHWHandler_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumACString(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IEnumACString { @@ -16049,30 +14319,10 @@ impl IEnumACString { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IEnumACString, ::windows_core::IUnknown, super::super::System::Com::IEnumString); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IEnumACString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IEnumACString {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IEnumACString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumACString").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IEnumACString { type Vtable = IEnumACString_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IEnumACString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IEnumACString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8e74c210_cf9d_4eaf_a403_7356428f0a5a); } @@ -16087,6 +14337,7 @@ pub struct IEnumACString_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumAssocHandlers(::windows_core::IUnknown); impl IEnumAssocHandlers { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -16094,25 +14345,9 @@ impl IEnumAssocHandlers { } } ::windows_core::imp::interface_hierarchy!(IEnumAssocHandlers, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumAssocHandlers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumAssocHandlers {} -impl ::core::fmt::Debug for IEnumAssocHandlers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumAssocHandlers").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumAssocHandlers { type Vtable = IEnumAssocHandlers_Vtbl; } -impl ::core::clone::Clone for IEnumAssocHandlers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumAssocHandlers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x973810ae_9599_4b88_9e4d_6ee98c9552da); } @@ -16124,6 +14359,7 @@ pub struct IEnumAssocHandlers_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumExplorerCommand(::windows_core::IUnknown); impl IEnumExplorerCommand { pub unsafe fn Next(&self, puicommand: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::HRESULT { @@ -16141,25 +14377,9 @@ impl IEnumExplorerCommand { } } ::windows_core::imp::interface_hierarchy!(IEnumExplorerCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumExplorerCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumExplorerCommand {} -impl ::core::fmt::Debug for IEnumExplorerCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumExplorerCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumExplorerCommand { type Vtable = IEnumExplorerCommand_Vtbl; } -impl ::core::clone::Clone for IEnumExplorerCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumExplorerCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa88826f8_186f_4987_aade_ea0cef8fbfe8); } @@ -16174,6 +14394,7 @@ pub struct IEnumExplorerCommand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumExtraSearch(::windows_core::IUnknown); impl IEnumExtraSearch { pub unsafe fn Next(&self, rgelt: &mut [EXTRASEARCH], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16191,25 +14412,9 @@ impl IEnumExtraSearch { } } ::windows_core::imp::interface_hierarchy!(IEnumExtraSearch, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumExtraSearch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumExtraSearch {} -impl ::core::fmt::Debug for IEnumExtraSearch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumExtraSearch").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumExtraSearch { type Vtable = IEnumExtraSearch_Vtbl; } -impl ::core::clone::Clone for IEnumExtraSearch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumExtraSearch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e700be1_9db6_11d1_a1ce_00c04fd75d13); } @@ -16224,6 +14429,7 @@ pub struct IEnumExtraSearch_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumFullIDList(::windows_core::IUnknown); impl IEnumFullIDList { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -16243,25 +14449,9 @@ impl IEnumFullIDList { } } ::windows_core::imp::interface_hierarchy!(IEnumFullIDList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumFullIDList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumFullIDList {} -impl ::core::fmt::Debug for IEnumFullIDList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumFullIDList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumFullIDList { type Vtable = IEnumFullIDList_Vtbl; } -impl ::core::clone::Clone for IEnumFullIDList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumFullIDList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0191542_7954_4908_bc06_b2360bbe45ba); } @@ -16279,6 +14469,7 @@ pub struct IEnumFullIDList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumHLITEM(::windows_core::IUnknown); impl IEnumHLITEM { pub unsafe fn Next(&self, celt: u32, rgelt: *mut HLITEM, pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16296,25 +14487,9 @@ impl IEnumHLITEM { } } ::windows_core::imp::interface_hierarchy!(IEnumHLITEM, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumHLITEM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumHLITEM {} -impl ::core::fmt::Debug for IEnumHLITEM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumHLITEM").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumHLITEM { type Vtable = IEnumHLITEM_Vtbl; } -impl ::core::clone::Clone for IEnumHLITEM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumHLITEM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c6_baf9_11ce_8c82_00aa004ba90b); } @@ -16329,6 +14504,7 @@ pub struct IEnumHLITEM_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumIDList(::windows_core::IUnknown); impl IEnumIDList { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -16347,25 +14523,9 @@ impl IEnumIDList { } } ::windows_core::imp::interface_hierarchy!(IEnumIDList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumIDList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumIDList {} -impl ::core::fmt::Debug for IEnumIDList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumIDList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumIDList { type Vtable = IEnumIDList_Vtbl; } -impl ::core::clone::Clone for IEnumIDList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumIDList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214f2_0000_0000_c000_000000000046); } @@ -16383,6 +14543,7 @@ pub struct IEnumIDList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumObjects(::windows_core::IUnknown); impl IEnumObjects { pub unsafe fn Next(&self, riid: *const ::windows_core::GUID, rgelt: &mut [*mut ::core::ffi::c_void], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -16400,25 +14561,9 @@ impl IEnumObjects { } } ::windows_core::imp::interface_hierarchy!(IEnumObjects, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumObjects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumObjects {} -impl ::core::fmt::Debug for IEnumObjects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumObjects").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumObjects { type Vtable = IEnumObjects_Vtbl; } -impl ::core::clone::Clone for IEnumObjects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumObjects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2c1c7e2e_2d0e_4059_831e_1e6f82335c2e); } @@ -16433,6 +14578,7 @@ pub struct IEnumObjects_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumPublishedApps(::windows_core::IUnknown); impl IEnumPublishedApps { pub unsafe fn Next(&self) -> ::windows_core::Result { @@ -16444,25 +14590,9 @@ impl IEnumPublishedApps { } } ::windows_core::imp::interface_hierarchy!(IEnumPublishedApps, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumPublishedApps { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumPublishedApps {} -impl ::core::fmt::Debug for IEnumPublishedApps { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumPublishedApps").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumPublishedApps { type Vtable = IEnumPublishedApps_Vtbl; } -impl ::core::clone::Clone for IEnumPublishedApps { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumPublishedApps { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b124f8c_91f0_11d1_b8b5_006008059382); } @@ -16475,6 +14605,7 @@ pub struct IEnumPublishedApps_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumReadyCallback(::windows_core::IUnknown); impl IEnumReadyCallback { pub unsafe fn EnumReady(&self) -> ::windows_core::Result<()> { @@ -16482,25 +14613,9 @@ impl IEnumReadyCallback { } } ::windows_core::imp::interface_hierarchy!(IEnumReadyCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumReadyCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumReadyCallback {} -impl ::core::fmt::Debug for IEnumReadyCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumReadyCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumReadyCallback { type Vtable = IEnumReadyCallback_Vtbl; } -impl ::core::clone::Clone for IEnumReadyCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumReadyCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61e00d45_8fff_4e60_924e_6537b61612dd); } @@ -16512,6 +14627,7 @@ pub struct IEnumReadyCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumResources(::windows_core::IUnknown); impl IEnumResources { pub unsafe fn Next(&self, psir: &mut [SHELL_ITEM_RESOURCE], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16529,25 +14645,9 @@ impl IEnumResources { } } ::windows_core::imp::interface_hierarchy!(IEnumResources, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumResources {} -impl ::core::fmt::Debug for IEnumResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumResources").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumResources { type Vtable = IEnumResources_Vtbl; } -impl ::core::clone::Clone for IEnumResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dd81fe3_a83c_4da9_a330_47249d345ba1); } @@ -16562,6 +14662,7 @@ pub struct IEnumResources_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumShellItems(::windows_core::IUnknown); impl IEnumShellItems { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> { @@ -16579,25 +14680,9 @@ impl IEnumShellItems { } } ::windows_core::imp::interface_hierarchy!(IEnumShellItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumShellItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumShellItems {} -impl ::core::fmt::Debug for IEnumShellItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumShellItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumShellItems { type Vtable = IEnumShellItems_Vtbl; } -impl ::core::clone::Clone for IEnumShellItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumShellItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70629033_e363_4a28_a567_0db78006e6d7); } @@ -16612,6 +14697,7 @@ pub struct IEnumShellItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncMgrConflict(::windows_core::IUnknown); impl IEnumSyncMgrConflict { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16629,25 +14715,9 @@ impl IEnumSyncMgrConflict { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncMgrConflict, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncMgrConflict { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncMgrConflict {} -impl ::core::fmt::Debug for IEnumSyncMgrConflict { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncMgrConflict").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncMgrConflict { type Vtable = IEnumSyncMgrConflict_Vtbl; } -impl ::core::clone::Clone for IEnumSyncMgrConflict { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncMgrConflict { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x82705914_dda3_4893_ba99_49de6c8c8036); } @@ -16662,6 +14732,7 @@ pub struct IEnumSyncMgrConflict_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncMgrEvents(::windows_core::IUnknown); impl IEnumSyncMgrEvents { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16679,25 +14750,9 @@ impl IEnumSyncMgrEvents { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncMgrEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncMgrEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncMgrEvents {} -impl ::core::fmt::Debug for IEnumSyncMgrEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncMgrEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncMgrEvents { type Vtable = IEnumSyncMgrEvents_Vtbl; } -impl ::core::clone::Clone for IEnumSyncMgrEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncMgrEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc81a1d4e_8cf7_4683_80e0_bcae88d677b6); } @@ -16712,6 +14767,7 @@ pub struct IEnumSyncMgrEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSyncMgrSyncItems(::windows_core::IUnknown); impl IEnumSyncMgrSyncItems { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16729,25 +14785,9 @@ impl IEnumSyncMgrSyncItems { } } ::windows_core::imp::interface_hierarchy!(IEnumSyncMgrSyncItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSyncMgrSyncItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSyncMgrSyncItems {} -impl ::core::fmt::Debug for IEnumSyncMgrSyncItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSyncMgrSyncItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSyncMgrSyncItems { type Vtable = IEnumSyncMgrSyncItems_Vtbl; } -impl ::core::clone::Clone for IEnumSyncMgrSyncItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSyncMgrSyncItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54b3abf3_f085_4181_b546_e29c403c726b); } @@ -16762,6 +14802,7 @@ pub struct IEnumSyncMgrSyncItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTravelLogEntry(::windows_core::IUnknown); impl IEnumTravelLogEntry { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -16779,25 +14820,9 @@ impl IEnumTravelLogEntry { } } ::windows_core::imp::interface_hierarchy!(IEnumTravelLogEntry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTravelLogEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTravelLogEntry {} -impl ::core::fmt::Debug for IEnumTravelLogEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTravelLogEntry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTravelLogEntry { type Vtable = IEnumTravelLogEntry_Vtbl; } -impl ::core::clone::Clone for IEnumTravelLogEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTravelLogEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ebfdd85_ad18_11d3_a4c5_00c04f72d6b8); } @@ -16812,6 +14837,7 @@ pub struct IEnumTravelLogEntry_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumerableView(::windows_core::IUnknown); impl IEnumerableView { pub unsafe fn SetEnumReadyCallback(&self, percb: P0) -> ::windows_core::Result<()> @@ -16828,25 +14854,9 @@ impl IEnumerableView { } } ::windows_core::imp::interface_hierarchy!(IEnumerableView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumerableView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumerableView {} -impl ::core::fmt::Debug for IEnumerableView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumerableView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumerableView { type Vtable = IEnumerableView_Vtbl; } -impl ::core::clone::Clone for IEnumerableView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumerableView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c8bf236_1aec_495f_9894_91d57c3c686f); } @@ -16862,6 +14872,7 @@ pub struct IEnumerableView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExecuteCommand(::windows_core::IUnknown); impl IExecuteCommand { pub unsafe fn SetKeyState(&self, grfkeystate: u32) -> ::windows_core::Result<()> { @@ -16900,25 +14911,9 @@ impl IExecuteCommand { } } ::windows_core::imp::interface_hierarchy!(IExecuteCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExecuteCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExecuteCommand {} -impl ::core::fmt::Debug for IExecuteCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExecuteCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExecuteCommand { type Vtable = IExecuteCommand_Vtbl; } -impl ::core::clone::Clone for IExecuteCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExecuteCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f9185b0_cb92_43c5_80a9_92277a4f7b54); } @@ -16942,6 +14937,7 @@ pub struct IExecuteCommand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExecuteCommandApplicationHostEnvironment(::windows_core::IUnknown); impl IExecuteCommandApplicationHostEnvironment { pub unsafe fn GetValue(&self) -> ::windows_core::Result { @@ -16950,25 +14946,9 @@ impl IExecuteCommandApplicationHostEnvironment { } } ::windows_core::imp::interface_hierarchy!(IExecuteCommandApplicationHostEnvironment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExecuteCommandApplicationHostEnvironment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExecuteCommandApplicationHostEnvironment {} -impl ::core::fmt::Debug for IExecuteCommandApplicationHostEnvironment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExecuteCommandApplicationHostEnvironment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExecuteCommandApplicationHostEnvironment { type Vtable = IExecuteCommandApplicationHostEnvironment_Vtbl; } -impl ::core::clone::Clone for IExecuteCommandApplicationHostEnvironment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExecuteCommandApplicationHostEnvironment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18b21aa9_e184_4ff0_9f5e_f882d03771b3); } @@ -16980,6 +14960,7 @@ pub struct IExecuteCommandApplicationHostEnvironment_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExecuteCommandHost(::windows_core::IUnknown); impl IExecuteCommandHost { pub unsafe fn GetUIMode(&self) -> ::windows_core::Result { @@ -16988,25 +14969,9 @@ impl IExecuteCommandHost { } } ::windows_core::imp::interface_hierarchy!(IExecuteCommandHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExecuteCommandHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExecuteCommandHost {} -impl ::core::fmt::Debug for IExecuteCommandHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExecuteCommandHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExecuteCommandHost { type Vtable = IExecuteCommandHost_Vtbl; } -impl ::core::clone::Clone for IExecuteCommandHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExecuteCommandHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4b6832a2_5f04_4c9d_b89d_727a15d103e7); } @@ -17018,6 +14983,7 @@ pub struct IExecuteCommandHost_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExpDispSupport(::windows_core::IUnknown); impl IExpDispSupport { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17038,25 +15004,9 @@ impl IExpDispSupport { } } ::windows_core::imp::interface_hierarchy!(IExpDispSupport, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExpDispSupport { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExpDispSupport {} -impl ::core::fmt::Debug for IExpDispSupport { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExpDispSupport").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExpDispSupport { type Vtable = IExpDispSupport_Vtbl; } -impl ::core::clone::Clone for IExpDispSupport { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExpDispSupport { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d7d1d00_6fc0_11d0_a974_00c04fd705a2); } @@ -17079,6 +15029,7 @@ pub struct IExpDispSupport_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExpDispSupportXP(::windows_core::IUnknown); impl IExpDispSupportXP { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -17099,25 +15050,9 @@ impl IExpDispSupportXP { } } ::windows_core::imp::interface_hierarchy!(IExpDispSupportXP, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExpDispSupportXP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExpDispSupportXP {} -impl ::core::fmt::Debug for IExpDispSupportXP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExpDispSupportXP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExpDispSupportXP { type Vtable = IExpDispSupportXP_Vtbl; } -impl ::core::clone::Clone for IExpDispSupportXP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExpDispSupportXP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f0dd58c_f789_4f14_99fb_9293b3c9c212); } @@ -17140,6 +15075,7 @@ pub struct IExpDispSupportXP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerBrowser(::windows_core::IUnknown); impl IExplorerBrowser { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17219,25 +15155,9 @@ impl IExplorerBrowser { } } ::windows_core::imp::interface_hierarchy!(IExplorerBrowser, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerBrowser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerBrowser {} -impl ::core::fmt::Debug for IExplorerBrowser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerBrowser").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerBrowser { type Vtable = IExplorerBrowser_Vtbl; } -impl ::core::clone::Clone for IExplorerBrowser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerBrowser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfd3b6b5_c10c_4be9_85f6_a66969f402f6); } @@ -17272,6 +15192,7 @@ pub struct IExplorerBrowser_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerBrowserEvents(::windows_core::IUnknown); impl IExplorerBrowserEvents { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -17299,25 +15220,9 @@ impl IExplorerBrowserEvents { } } ::windows_core::imp::interface_hierarchy!(IExplorerBrowserEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerBrowserEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerBrowserEvents {} -impl ::core::fmt::Debug for IExplorerBrowserEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerBrowserEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerBrowserEvents { type Vtable = IExplorerBrowserEvents_Vtbl; } -impl ::core::clone::Clone for IExplorerBrowserEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerBrowserEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x361bbdc7_e6ee_4e13_be58_58e2240c810f); } @@ -17344,6 +15249,7 @@ pub struct IExplorerBrowserEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerCommand(::windows_core::IUnknown); impl IExplorerCommand { pub unsafe fn GetTitle(&self, psiitemarray: P0) -> ::windows_core::Result<::windows_core::PWSTR> @@ -17400,25 +15306,9 @@ impl IExplorerCommand { } } ::windows_core::imp::interface_hierarchy!(IExplorerCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerCommand {} -impl ::core::fmt::Debug for IExplorerCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerCommand { type Vtable = IExplorerCommand_Vtbl; } -impl ::core::clone::Clone for IExplorerCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa08ce4d0_fa25_44ab_b57c_c7b1c323e0b9); } @@ -17443,6 +15333,7 @@ pub struct IExplorerCommand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerCommandProvider(::windows_core::IUnknown); impl IExplorerCommandProvider { pub unsafe fn GetCommands(&self, punksite: P0) -> ::windows_core::Result @@ -17462,25 +15353,9 @@ impl IExplorerCommandProvider { } } ::windows_core::imp::interface_hierarchy!(IExplorerCommandProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerCommandProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerCommandProvider {} -impl ::core::fmt::Debug for IExplorerCommandProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerCommandProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerCommandProvider { type Vtable = IExplorerCommandProvider_Vtbl; } -impl ::core::clone::Clone for IExplorerCommandProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerCommandProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64961751_0835_43c0_8ffe_d57686530e64); } @@ -17493,6 +15368,7 @@ pub struct IExplorerCommandProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerCommandState(::windows_core::IUnknown); impl IExplorerCommandState { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17507,25 +15383,9 @@ impl IExplorerCommandState { } } ::windows_core::imp::interface_hierarchy!(IExplorerCommandState, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerCommandState { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerCommandState {} -impl ::core::fmt::Debug for IExplorerCommandState { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerCommandState").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerCommandState { type Vtable = IExplorerCommandState_Vtbl; } -impl ::core::clone::Clone for IExplorerCommandState { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerCommandState { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbddacb60_7657_47ae_8445_d23e1acf82ae); } @@ -17540,6 +15400,7 @@ pub struct IExplorerCommandState_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExplorerPaneVisibility(::windows_core::IUnknown); impl IExplorerPaneVisibility { pub unsafe fn GetPaneState(&self, ep: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -17548,25 +15409,9 @@ impl IExplorerPaneVisibility { } } ::windows_core::imp::interface_hierarchy!(IExplorerPaneVisibility, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExplorerPaneVisibility { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExplorerPaneVisibility {} -impl ::core::fmt::Debug for IExplorerPaneVisibility { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExplorerPaneVisibility").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExplorerPaneVisibility { type Vtable = IExplorerPaneVisibility_Vtbl; } -impl ::core::clone::Clone for IExplorerPaneVisibility { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExplorerPaneVisibility { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe07010ec_bc17_44c0_97b0_46c7c95b9edc); } @@ -17578,6 +15423,7 @@ pub struct IExplorerPaneVisibility_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtensionServices(::windows_core::IUnknown); impl IExtensionServices { pub unsafe fn SetAdditionalHeaders(&self, pwzadditionalheaders: P0) -> ::windows_core::Result<()> @@ -17598,25 +15444,9 @@ impl IExtensionServices { } } ::windows_core::imp::interface_hierarchy!(IExtensionServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtensionServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtensionServices {} -impl ::core::fmt::Debug for IExtensionServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtensionServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtensionServices { type Vtable = IExtensionServices_Vtbl; } -impl ::core::clone::Clone for IExtensionServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtensionServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9cb_baf9_11ce_8c82_00aa004ba90b); } @@ -17632,6 +15462,7 @@ pub struct IExtensionServices_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtractIconA(::windows_core::IUnknown); impl IExtractIconA { pub unsafe fn GetIconLocation(&self, uflags: u32, psziconfile: &mut [u8], piindex: *mut i32, pwflags: *mut u32) -> ::windows_core::Result<()> { @@ -17647,25 +15478,9 @@ impl IExtractIconA { } } ::windows_core::imp::interface_hierarchy!(IExtractIconA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtractIconA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtractIconA {} -impl ::core::fmt::Debug for IExtractIconA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtractIconA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtractIconA { type Vtable = IExtractIconA_Vtbl; } -impl ::core::clone::Clone for IExtractIconA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtractIconA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214eb_0000_0000_c000_000000000046); } @@ -17681,6 +15496,7 @@ pub struct IExtractIconA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtractIconW(::windows_core::IUnknown); impl IExtractIconW { pub unsafe fn GetIconLocation(&self, uflags: u32, psziconfile: &mut [u16], piindex: *mut i32, pwflags: *mut u32) -> ::windows_core::Result<()> { @@ -17696,25 +15512,9 @@ impl IExtractIconW { } } ::windows_core::imp::interface_hierarchy!(IExtractIconW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtractIconW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtractIconW {} -impl ::core::fmt::Debug for IExtractIconW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtractIconW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtractIconW { type Vtable = IExtractIconW_Vtbl; } -impl ::core::clone::Clone for IExtractIconW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtractIconW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214fa_0000_0000_c000_000000000046); } @@ -17730,6 +15530,7 @@ pub struct IExtractIconW_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtractImage(::windows_core::IUnknown); impl IExtractImage { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17745,25 +15546,9 @@ impl IExtractImage { } } ::windows_core::imp::interface_hierarchy!(IExtractImage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtractImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtractImage {} -impl ::core::fmt::Debug for IExtractImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtractImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtractImage { type Vtable = IExtractImage_Vtbl; } -impl ::core::clone::Clone for IExtractImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtractImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb2e617c_0920_11d1_9a0b_00c04fc2d6c1); } @@ -17782,6 +15567,7 @@ pub struct IExtractImage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtractImage2(::windows_core::IUnknown); impl IExtractImage2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17803,25 +15589,9 @@ impl IExtractImage2 { } } ::windows_core::imp::interface_hierarchy!(IExtractImage2, ::windows_core::IUnknown, IExtractImage); -impl ::core::cmp::PartialEq for IExtractImage2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtractImage2 {} -impl ::core::fmt::Debug for IExtractImage2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtractImage2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtractImage2 { type Vtable = IExtractImage2_Vtbl; } -impl ::core::clone::Clone for IExtractImage2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtractImage2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x953bb1ee_93b4_11d1_98a3_00c04fb687da); } @@ -17836,6 +15606,7 @@ pub struct IExtractImage2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileDialog(::windows_core::IUnknown); impl IFileDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -17956,25 +15727,9 @@ impl IFileDialog { } } ::windows_core::imp::interface_hierarchy!(IFileDialog, ::windows_core::IUnknown, IModalWindow); -impl ::core::cmp::PartialEq for IFileDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileDialog {} -impl ::core::fmt::Debug for IFileDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileDialog { type Vtable = IFileDialog_Vtbl; } -impl ::core::clone::Clone for IFileDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42f85136_db7e_439c_85f1_e4075d135fc8); } @@ -18011,6 +15766,7 @@ pub struct IFileDialog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileDialog2(::windows_core::IUnknown); impl IFileDialog2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18143,25 +15899,9 @@ impl IFileDialog2 { } } ::windows_core::imp::interface_hierarchy!(IFileDialog2, ::windows_core::IUnknown, IModalWindow, IFileDialog); -impl ::core::cmp::PartialEq for IFileDialog2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileDialog2 {} -impl ::core::fmt::Debug for IFileDialog2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileDialog2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileDialog2 { type Vtable = IFileDialog2_Vtbl; } -impl ::core::clone::Clone for IFileDialog2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileDialog2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x61744fc7_85b5_4791_a9b0_272276309b13); } @@ -18174,6 +15914,7 @@ pub struct IFileDialog2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileDialogControlEvents(::windows_core::IUnknown); impl IFileDialogControlEvents { pub unsafe fn OnItemSelected(&self, pfdc: P0, dwidctl: u32, dwiditem: u32) -> ::windows_core::Result<()> @@ -18205,25 +15946,9 @@ impl IFileDialogControlEvents { } } ::windows_core::imp::interface_hierarchy!(IFileDialogControlEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileDialogControlEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileDialogControlEvents {} -impl ::core::fmt::Debug for IFileDialogControlEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileDialogControlEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileDialogControlEvents { type Vtable = IFileDialogControlEvents_Vtbl; } -impl ::core::clone::Clone for IFileDialogControlEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileDialogControlEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36116642_d713_4b97_9b83_7484a9d00433); } @@ -18241,6 +15966,7 @@ pub struct IFileDialogControlEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileDialogCustomize(::windows_core::IUnknown); impl IFileDialogCustomize { pub unsafe fn EnableOpenDropDown(&self, dwidctl: u32) -> ::windows_core::Result<()> { @@ -18371,25 +16097,9 @@ impl IFileDialogCustomize { } } ::windows_core::imp::interface_hierarchy!(IFileDialogCustomize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileDialogCustomize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileDialogCustomize {} -impl ::core::fmt::Debug for IFileDialogCustomize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileDialogCustomize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileDialogCustomize { type Vtable = IFileDialogCustomize_Vtbl; } -impl ::core::clone::Clone for IFileDialogCustomize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileDialogCustomize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6fdd21a_163f_4975_9c8c_a69f1ba37034); } @@ -18436,6 +16146,7 @@ pub struct IFileDialogCustomize_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileDialogEvents(::windows_core::IUnknown); impl IFileDialogEvents { pub unsafe fn OnFileOk(&self, pfd: P0) -> ::windows_core::Result<()> @@ -18487,25 +16198,9 @@ impl IFileDialogEvents { } } ::windows_core::imp::interface_hierarchy!(IFileDialogEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileDialogEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileDialogEvents {} -impl ::core::fmt::Debug for IFileDialogEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileDialogEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileDialogEvents { type Vtable = IFileDialogEvents_Vtbl; } -impl ::core::clone::Clone for IFileDialogEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileDialogEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x973510db_7d7f_452b_8975_74a85828d354); } @@ -18523,6 +16218,7 @@ pub struct IFileDialogEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileIsInUse(::windows_core::IUnknown); impl IFileIsInUse { pub unsafe fn GetAppName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -18548,25 +16244,9 @@ impl IFileIsInUse { } } ::windows_core::imp::interface_hierarchy!(IFileIsInUse, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileIsInUse { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileIsInUse {} -impl ::core::fmt::Debug for IFileIsInUse { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileIsInUse").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileIsInUse { type Vtable = IFileIsInUse_Vtbl; } -impl ::core::clone::Clone for IFileIsInUse { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileIsInUse { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64a1cbf0_3a1a_4461_9158_376969693950); } @@ -18585,6 +16265,7 @@ pub struct IFileIsInUse_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOpenDialog(::windows_core::IUnknown); impl IFileOpenDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -18713,25 +16394,9 @@ impl IFileOpenDialog { } } ::windows_core::imp::interface_hierarchy!(IFileOpenDialog, ::windows_core::IUnknown, IModalWindow, IFileDialog); -impl ::core::cmp::PartialEq for IFileOpenDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOpenDialog {} -impl ::core::fmt::Debug for IFileOpenDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOpenDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileOpenDialog { type Vtable = IFileOpenDialog_Vtbl; } -impl ::core::clone::Clone for IFileOpenDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOpenDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd57c7288_d4ad_4768_be02_9d969532d960); } @@ -18744,6 +16409,7 @@ pub struct IFileOpenDialog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOperation(::windows_core::IUnknown); impl IFileOperation { pub unsafe fn Advise(&self, pfops: P0) -> ::windows_core::Result @@ -18879,25 +16545,9 @@ impl IFileOperation { } } ::windows_core::imp::interface_hierarchy!(IFileOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOperation {} -impl ::core::fmt::Debug for IFileOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileOperation { type Vtable = IFileOperation_Vtbl; } -impl ::core::clone::Clone for IFileOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x947aab5f_0a5c_4c13_b4d6_4bf7836fc9f8); } @@ -18937,6 +16587,7 @@ pub struct IFileOperation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOperation2(::windows_core::IUnknown); impl IFileOperation2 { pub unsafe fn Advise(&self, pfops: P0) -> ::windows_core::Result @@ -19075,25 +16726,9 @@ impl IFileOperation2 { } } ::windows_core::imp::interface_hierarchy!(IFileOperation2, ::windows_core::IUnknown, IFileOperation); -impl ::core::cmp::PartialEq for IFileOperation2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOperation2 {} -impl ::core::fmt::Debug for IFileOperation2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOperation2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileOperation2 { type Vtable = IFileOperation2_Vtbl; } -impl ::core::clone::Clone for IFileOperation2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOperation2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd8f23c1_8f61_4916_909d_55bdd0918753); } @@ -19105,6 +16740,7 @@ pub struct IFileOperation2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileOperationProgressSink(::windows_core::IUnknown); impl IFileOperationProgressSink { pub unsafe fn StartOperations(&self) -> ::windows_core::Result<()> { @@ -19205,25 +16841,9 @@ impl IFileOperationProgressSink { } } ::windows_core::imp::interface_hierarchy!(IFileOperationProgressSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileOperationProgressSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileOperationProgressSink {} -impl ::core::fmt::Debug for IFileOperationProgressSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileOperationProgressSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileOperationProgressSink { type Vtable = IFileOperationProgressSink_Vtbl; } -impl ::core::clone::Clone for IFileOperationProgressSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileOperationProgressSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04b0f1a7_9490_44bc_96e1_4296a31252e2); } @@ -19250,6 +16870,7 @@ pub struct IFileOperationProgressSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSaveDialog(::windows_core::IUnknown); impl IFileSaveDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19410,25 +17031,9 @@ impl IFileSaveDialog { } } ::windows_core::imp::interface_hierarchy!(IFileSaveDialog, ::windows_core::IUnknown, IModalWindow, IFileDialog); -impl ::core::cmp::PartialEq for IFileSaveDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSaveDialog {} -impl ::core::fmt::Debug for IFileSaveDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSaveDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSaveDialog { type Vtable = IFileSaveDialog_Vtbl; } -impl ::core::clone::Clone for IFileSaveDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSaveDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84bccd23_5fde_4cdb_aea4_af64b83d78ab); } @@ -19457,6 +17062,7 @@ pub struct IFileSaveDialog_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSearchBand(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFileSearchBand { @@ -19491,30 +17097,10 @@ impl IFileSearchBand { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFileSearchBand, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFileSearchBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFileSearchBand {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFileSearchBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSearchBand").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFileSearchBand { type Vtable = IFileSearchBand_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFileSearchBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFileSearchBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d91eea1_9932_11d2_be86_00a0c9a83da1); } @@ -19540,6 +17126,7 @@ pub struct IFileSearchBand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSyncMergeHandler(::windows_core::IUnknown); impl IFileSyncMergeHandler { pub unsafe fn Merge(&self, localfilepath: P0, serverfilepath: P1) -> ::windows_core::Result @@ -19561,25 +17148,9 @@ impl IFileSyncMergeHandler { } } ::windows_core::imp::interface_hierarchy!(IFileSyncMergeHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileSyncMergeHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSyncMergeHandler {} -impl ::core::fmt::Debug for IFileSyncMergeHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSyncMergeHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSyncMergeHandler { type Vtable = IFileSyncMergeHandler_Vtbl; } -impl ::core::clone::Clone for IFileSyncMergeHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSyncMergeHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd97b5aac_c792_433c_975d_35c4eadc7a9d); } @@ -19595,6 +17166,7 @@ pub struct IFileSyncMergeHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemBindData(::windows_core::IUnknown); impl IFileSystemBindData { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -19609,25 +17181,9 @@ impl IFileSystemBindData { } } ::windows_core::imp::interface_hierarchy!(IFileSystemBindData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFileSystemBindData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSystemBindData {} -impl ::core::fmt::Debug for IFileSystemBindData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemBindData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSystemBindData { type Vtable = IFileSystemBindData_Vtbl; } -impl ::core::clone::Clone for IFileSystemBindData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSystemBindData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01e18d10_4d8b_11d2_855d_006008059367); } @@ -19646,6 +17202,7 @@ pub struct IFileSystemBindData_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFileSystemBindData2(::windows_core::IUnknown); impl IFileSystemBindData2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -19674,25 +17231,9 @@ impl IFileSystemBindData2 { } } ::windows_core::imp::interface_hierarchy!(IFileSystemBindData2, ::windows_core::IUnknown, IFileSystemBindData); -impl ::core::cmp::PartialEq for IFileSystemBindData2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFileSystemBindData2 {} -impl ::core::fmt::Debug for IFileSystemBindData2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFileSystemBindData2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFileSystemBindData2 { type Vtable = IFileSystemBindData2_Vtbl; } -impl ::core::clone::Clone for IFileSystemBindData2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFileSystemBindData2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3acf075f_71db_4afa_81f0_3fc4fdf2a5b8); } @@ -19707,6 +17248,7 @@ pub struct IFileSystemBindData2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderBandPriv(::windows_core::IUnknown); impl IFolderBandPriv { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -19743,25 +17285,9 @@ impl IFolderBandPriv { } } ::windows_core::imp::interface_hierarchy!(IFolderBandPriv, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderBandPriv { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderBandPriv {} -impl ::core::fmt::Debug for IFolderBandPriv { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderBandPriv").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderBandPriv { type Vtable = IFolderBandPriv_Vtbl; } -impl ::core::clone::Clone for IFolderBandPriv { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderBandPriv { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x47c01f95_e185_412c_b5c5_4f27df965aea); } @@ -19788,6 +17314,7 @@ pub struct IFolderBandPriv_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderFilter(::windows_core::IUnknown); impl IFolderFilter { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -19808,25 +17335,9 @@ impl IFolderFilter { } } ::windows_core::imp::interface_hierarchy!(IFolderFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderFilter {} -impl ::core::fmt::Debug for IFolderFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderFilter { type Vtable = IFolderFilter_Vtbl; } -impl ::core::clone::Clone for IFolderFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cc22886_dc8e_11d2_b1d0_00c04f8eeb3e); } @@ -19845,6 +17356,7 @@ pub struct IFolderFilter_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderFilterSite(::windows_core::IUnknown); impl IFolderFilterSite { pub unsafe fn SetFilter(&self, punk: P0) -> ::windows_core::Result<()> @@ -19855,25 +17367,9 @@ impl IFolderFilterSite { } } ::windows_core::imp::interface_hierarchy!(IFolderFilterSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderFilterSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderFilterSite {} -impl ::core::fmt::Debug for IFolderFilterSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderFilterSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderFilterSite { type Vtable = IFolderFilterSite_Vtbl; } -impl ::core::clone::Clone for IFolderFilterSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderFilterSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0a651f5_b48b_11d2_b5ed_006097c686f6); } @@ -19885,6 +17381,7 @@ pub struct IFolderFilterSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderView(::windows_core::IUnknown); impl IFolderView { pub unsafe fn GetCurrentViewMode(&self) -> ::windows_core::Result { @@ -19956,25 +17453,9 @@ impl IFolderView { } } ::windows_core::imp::interface_hierarchy!(IFolderView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderView {} -impl ::core::fmt::Debug for IFolderView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderView { type Vtable = IFolderView_Vtbl; } -impl ::core::clone::Clone for IFolderView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcde725b0_ccc9_4519_917e_325d72fab4ce); } @@ -20014,6 +17495,7 @@ pub struct IFolderView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderView2(::windows_core::IUnknown); impl IFolderView2 { pub unsafe fn GetCurrentViewMode(&self) -> ::windows_core::Result { @@ -20220,25 +17702,9 @@ impl IFolderView2 { } } ::windows_core::imp::interface_hierarchy!(IFolderView2, ::windows_core::IUnknown, IFolderView); -impl ::core::cmp::PartialEq for IFolderView2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderView2 {} -impl ::core::fmt::Debug for IFolderView2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderView2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderView2 { type Vtable = IFolderView2_Vtbl; } -impl ::core::clone::Clone for IFolderView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1af3a467_214f_4298_908e_06b03e0b39f9); } @@ -20310,6 +17776,7 @@ pub struct IFolderView2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderViewHost(::windows_core::IUnknown); impl IFolderViewHost { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -20323,25 +17790,9 @@ impl IFolderViewHost { } } ::windows_core::imp::interface_hierarchy!(IFolderViewHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderViewHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderViewHost {} -impl ::core::fmt::Debug for IFolderViewHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderViewHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderViewHost { type Vtable = IFolderViewHost_Vtbl; } -impl ::core::clone::Clone for IFolderViewHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderViewHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ea58f02_d55a_411d_b09e_9e65ac21605b); } @@ -20357,6 +17808,7 @@ pub struct IFolderViewHost_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderViewOC(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IFolderViewOC { @@ -20372,30 +17824,10 @@ impl IFolderViewOC { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IFolderViewOC, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IFolderViewOC { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IFolderViewOC {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IFolderViewOC { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderViewOC").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IFolderViewOC { type Vtable = IFolderViewOC_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IFolderViewOC { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IFolderViewOC { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ba05970_f6a8_11cf_a442_00a0c90a8f39); } @@ -20411,6 +17843,7 @@ pub struct IFolderViewOC_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderViewOptions(::windows_core::IUnknown); impl IFolderViewOptions { pub unsafe fn SetFolderViewOptions(&self, fvomask: FOLDERVIEWOPTIONS, fvoflags: FOLDERVIEWOPTIONS) -> ::windows_core::Result<()> { @@ -20422,25 +17855,9 @@ impl IFolderViewOptions { } } ::windows_core::imp::interface_hierarchy!(IFolderViewOptions, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderViewOptions { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderViewOptions {} -impl ::core::fmt::Debug for IFolderViewOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderViewOptions").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderViewOptions { type Vtable = IFolderViewOptions_Vtbl; } -impl ::core::clone::Clone for IFolderViewOptions { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderViewOptions { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3cc974d2_b302_4d36_ad3e_06d93f695d3f); } @@ -20453,6 +17870,7 @@ pub struct IFolderViewOptions_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFolderViewSettings(::windows_core::IUnknown); impl IFolderViewSettings { pub unsafe fn GetColumnPropertyList(&self) -> ::windows_core::Result @@ -20489,25 +17907,9 @@ impl IFolderViewSettings { } } ::windows_core::imp::interface_hierarchy!(IFolderViewSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFolderViewSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFolderViewSettings {} -impl ::core::fmt::Debug for IFolderViewSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFolderViewSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFolderViewSettings { type Vtable = IFolderViewSettings_Vtbl; } -impl ::core::clone::Clone for IFolderViewSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFolderViewSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae8c987d_8797_4ed3_be72_2a47dd938db0); } @@ -20531,6 +17933,7 @@ pub struct IFolderViewSettings_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameworkInputPane(::windows_core::IUnknown); impl IFrameworkInputPane { pub unsafe fn Advise(&self, pwindow: P0, phandler: P1) -> ::windows_core::Result @@ -20562,25 +17965,9 @@ impl IFrameworkInputPane { } } ::windows_core::imp::interface_hierarchy!(IFrameworkInputPane, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFrameworkInputPane { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFrameworkInputPane {} -impl ::core::fmt::Debug for IFrameworkInputPane { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFrameworkInputPane").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFrameworkInputPane { type Vtable = IFrameworkInputPane_Vtbl; } -impl ::core::clone::Clone for IFrameworkInputPane { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameworkInputPane { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5752238b_24f0_495a_82f1_2fd593056796); } @@ -20601,6 +17988,7 @@ pub struct IFrameworkInputPane_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IFrameworkInputPaneHandler(::windows_core::IUnknown); impl IFrameworkInputPaneHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -20621,25 +18009,9 @@ impl IFrameworkInputPaneHandler { } } ::windows_core::imp::interface_hierarchy!(IFrameworkInputPaneHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IFrameworkInputPaneHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IFrameworkInputPaneHandler {} -impl ::core::fmt::Debug for IFrameworkInputPaneHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IFrameworkInputPaneHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IFrameworkInputPaneHandler { type Vtable = IFrameworkInputPaneHandler_Vtbl; } -impl ::core::clone::Clone for IFrameworkInputPaneHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IFrameworkInputPaneHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x226c537b_1e76_4d9e_a760_33db29922f18); } @@ -20658,6 +18030,7 @@ pub struct IFrameworkInputPaneHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGetServiceIds(::windows_core::IUnknown); impl IGetServiceIds { pub unsafe fn GetServiceIds(&self, serviceidcount: *mut u32, serviceids: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -20665,25 +18038,9 @@ impl IGetServiceIds { } } ::windows_core::imp::interface_hierarchy!(IGetServiceIds, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGetServiceIds { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGetServiceIds {} -impl ::core::fmt::Debug for IGetServiceIds { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGetServiceIds").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGetServiceIds { type Vtable = IGetServiceIds_Vtbl; } -impl ::core::clone::Clone for IGetServiceIds { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGetServiceIds { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a073526_6103_4e21_b7bc_f519d1524e5d); } @@ -20695,6 +18052,7 @@ pub struct IGetServiceIds_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHWEventHandler(::windows_core::IUnknown); impl IHWEventHandler { pub unsafe fn Initialize(&self, pszparams: P0) -> ::windows_core::Result<()> @@ -20725,25 +18083,9 @@ impl IHWEventHandler { } } ::windows_core::imp::interface_hierarchy!(IHWEventHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHWEventHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHWEventHandler {} -impl ::core::fmt::Debug for IHWEventHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHWEventHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHWEventHandler { type Vtable = IHWEventHandler_Vtbl; } -impl ::core::clone::Clone for IHWEventHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHWEventHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1fb73d0_ec3a_4ba2_b512_8cdb9187b6d1); } @@ -20760,6 +18102,7 @@ pub struct IHWEventHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHWEventHandler2(::windows_core::IUnknown); impl IHWEventHandler2 { pub unsafe fn Initialize(&self, pszparams: P0) -> ::windows_core::Result<()> @@ -20801,25 +18144,9 @@ impl IHWEventHandler2 { } } ::windows_core::imp::interface_hierarchy!(IHWEventHandler2, ::windows_core::IUnknown, IHWEventHandler); -impl ::core::cmp::PartialEq for IHWEventHandler2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHWEventHandler2 {} -impl ::core::fmt::Debug for IHWEventHandler2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHWEventHandler2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHWEventHandler2 { type Vtable = IHWEventHandler2_Vtbl; } -impl ::core::clone::Clone for IHWEventHandler2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHWEventHandler2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcfcc809f_295d_42e8_9ffc_424b33c487e6); } @@ -20834,6 +18161,7 @@ pub struct IHWEventHandler2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandlerActivationHost(::windows_core::IUnknown); impl IHandlerActivationHost { pub unsafe fn BeforeCoCreateInstance(&self, clsidhandler: *const ::windows_core::GUID, itemsbeingactivated: P0, handlerinfo: P1) -> ::windows_core::Result<()> @@ -20853,25 +18181,9 @@ impl IHandlerActivationHost { } } ::windows_core::imp::interface_hierarchy!(IHandlerActivationHost, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHandlerActivationHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHandlerActivationHost {} -impl ::core::fmt::Debug for IHandlerActivationHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHandlerActivationHost").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHandlerActivationHost { type Vtable = IHandlerActivationHost_Vtbl; } -impl ::core::clone::Clone for IHandlerActivationHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandlerActivationHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35094a87_8bb1_4237_96c6_c417eebdb078); } @@ -20884,6 +18196,7 @@ pub struct IHandlerActivationHost_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandlerInfo(::windows_core::IUnknown); impl IHandlerInfo { pub unsafe fn GetApplicationDisplayName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -20900,25 +18213,9 @@ impl IHandlerInfo { } } ::windows_core::imp::interface_hierarchy!(IHandlerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHandlerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHandlerInfo {} -impl ::core::fmt::Debug for IHandlerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHandlerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHandlerInfo { type Vtable = IHandlerInfo_Vtbl; } -impl ::core::clone::Clone for IHandlerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandlerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x997706ef_f880_453b_8118_39e1a2d2655a); } @@ -20932,6 +18229,7 @@ pub struct IHandlerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandlerInfo2(::windows_core::IUnknown); impl IHandlerInfo2 { pub unsafe fn GetApplicationDisplayName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -20952,25 +18250,9 @@ impl IHandlerInfo2 { } } ::windows_core::imp::interface_hierarchy!(IHandlerInfo2, ::windows_core::IUnknown, IHandlerInfo); -impl ::core::cmp::PartialEq for IHandlerInfo2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHandlerInfo2 {} -impl ::core::fmt::Debug for IHandlerInfo2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHandlerInfo2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHandlerInfo2 { type Vtable = IHandlerInfo2_Vtbl; } -impl ::core::clone::Clone for IHandlerInfo2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandlerInfo2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31cca04c_04d3_4ea9_90de_97b15e87a532); } @@ -20982,6 +18264,7 @@ pub struct IHandlerInfo2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHlink(::windows_core::IUnknown); impl IHlink { pub unsafe fn SetHlinkSite(&self, pihlsite: P0, dwsitedata: u32) -> ::windows_core::Result<()> @@ -21063,25 +18346,9 @@ impl IHlink { } } ::windows_core::imp::interface_hierarchy!(IHlink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHlink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHlink {} -impl ::core::fmt::Debug for IHlink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHlink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHlink { type Vtable = IHlink_Vtbl; } -impl ::core::clone::Clone for IHlink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHlink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c3_baf9_11ce_8c82_00aa004ba90b); } @@ -21115,6 +18382,7 @@ pub struct IHlink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHlinkBrowseContext(::windows_core::IUnknown); impl IHlinkBrowseContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21207,25 +18475,9 @@ impl IHlinkBrowseContext { } } ::windows_core::imp::interface_hierarchy!(IHlinkBrowseContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHlinkBrowseContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHlinkBrowseContext {} -impl ::core::fmt::Debug for IHlinkBrowseContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHlinkBrowseContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHlinkBrowseContext { type Vtable = IHlinkBrowseContext_Vtbl; } -impl ::core::clone::Clone for IHlinkBrowseContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHlinkBrowseContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c7_baf9_11ce_8c82_00aa004ba90b); } @@ -21271,6 +18523,7 @@ pub struct IHlinkBrowseContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHlinkFrame(::windows_core::IUnknown); impl IHlinkFrame { pub unsafe fn SetBrowseContext(&self, pihlbc: P0) -> ::windows_core::Result<()> @@ -21315,25 +18568,9 @@ impl IHlinkFrame { } } ::windows_core::imp::interface_hierarchy!(IHlinkFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHlinkFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHlinkFrame {} -impl ::core::fmt::Debug for IHlinkFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHlinkFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHlinkFrame { type Vtable = IHlinkFrame_Vtbl; } -impl ::core::clone::Clone for IHlinkFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHlinkFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c5_baf9_11ce_8c82_00aa004ba90b); } @@ -21358,6 +18595,7 @@ pub struct IHlinkFrame_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHlinkSite(::windows_core::IUnknown); impl IHlinkSite { pub unsafe fn QueryService(&self, dwsitedata: u32, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -21381,25 +18619,9 @@ impl IHlinkSite { } } ::windows_core::imp::interface_hierarchy!(IHlinkSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHlinkSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHlinkSite {} -impl ::core::fmt::Debug for IHlinkSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHlinkSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHlinkSite { type Vtable = IHlinkSite_Vtbl; } -impl ::core::clone::Clone for IHlinkSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHlinkSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c2_baf9_11ce_8c82_00aa004ba90b); } @@ -21417,6 +18639,7 @@ pub struct IHlinkSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHlinkTarget(::windows_core::IUnknown); impl IHlinkTarget { pub unsafe fn SetBrowseContext(&self, pihlbc: P0) -> ::windows_core::Result<()> @@ -21453,25 +18676,9 @@ impl IHlinkTarget { } } ::windows_core::imp::interface_hierarchy!(IHlinkTarget, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHlinkTarget { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHlinkTarget {} -impl ::core::fmt::Debug for IHlinkTarget { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHlinkTarget").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHlinkTarget { type Vtable = IHlinkTarget_Vtbl; } -impl ::core::clone::Clone for IHlinkTarget { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHlinkTarget { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x79eac9c4_baf9_11ce_8c82_00aa004ba90b); } @@ -21490,6 +18697,7 @@ pub struct IHlinkTarget_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHomeGroup(::windows_core::IUnknown); impl IHomeGroup { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21509,25 +18717,9 @@ impl IHomeGroup { } } ::windows_core::imp::interface_hierarchy!(IHomeGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHomeGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHomeGroup {} -impl ::core::fmt::Debug for IHomeGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHomeGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHomeGroup { type Vtable = IHomeGroup_Vtbl; } -impl ::core::clone::Clone for IHomeGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHomeGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7a3bd1d9_35a9_4fb3_a467_f48cac35e2d0); } @@ -21546,6 +18738,7 @@ pub struct IHomeGroup_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIOCancelInformation(::windows_core::IUnknown); impl IIOCancelInformation { pub unsafe fn SetCancelInformation(&self, dwthreadid: u32, umsgcancel: u32) -> ::windows_core::Result<()> { @@ -21556,25 +18749,9 @@ impl IIOCancelInformation { } } ::windows_core::imp::interface_hierarchy!(IIOCancelInformation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IIOCancelInformation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIOCancelInformation {} -impl ::core::fmt::Debug for IIOCancelInformation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIOCancelInformation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIOCancelInformation { type Vtable = IIOCancelInformation_Vtbl; } -impl ::core::clone::Clone for IIOCancelInformation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIOCancelInformation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5b0bf81_8cb5_4b1b_9449_1a159e0c733c); } @@ -21587,6 +18764,7 @@ pub struct IIOCancelInformation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIdentityName(::windows_core::IUnknown); impl IIdentityName { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -21601,25 +18779,9 @@ impl IIdentityName { } } ::windows_core::imp::interface_hierarchy!(IIdentityName, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IIdentityName { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIdentityName {} -impl ::core::fmt::Debug for IIdentityName { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIdentityName").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IIdentityName { type Vtable = IIdentityName_Vtbl; } -impl ::core::clone::Clone for IIdentityName { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IIdentityName { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d903fca_d6f9_4810_8332_946c0177e247); } @@ -21630,6 +18792,7 @@ pub struct IIdentityName_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageRecompress(::windows_core::IUnknown); impl IImageRecompress { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -21644,25 +18807,9 @@ impl IImageRecompress { } } ::windows_core::imp::interface_hierarchy!(IImageRecompress, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImageRecompress { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageRecompress {} -impl ::core::fmt::Debug for IImageRecompress { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageRecompress").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageRecompress { type Vtable = IImageRecompress_Vtbl; } -impl ::core::clone::Clone for IImageRecompress { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageRecompress { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x505f1513_6b3e_4892_a272_59f8889a4d3e); } @@ -21677,6 +18824,7 @@ pub struct IImageRecompress_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeCommand(::windows_core::IUnknown); impl IInitializeCommand { #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`*"] @@ -21690,25 +18838,9 @@ impl IInitializeCommand { } } ::windows_core::imp::interface_hierarchy!(IInitializeCommand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeCommand {} -impl ::core::fmt::Debug for IInitializeCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeCommand { type Vtable = IInitializeCommand_Vtbl; } -impl ::core::clone::Clone for IInitializeCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85075acf_231f_40ea_9610_d26b7b58f638); } @@ -21723,6 +18855,7 @@ pub struct IInitializeCommand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeNetworkFolder(::windows_core::IUnknown); impl IInitializeNetworkFolder { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -21736,25 +18869,9 @@ impl IInitializeNetworkFolder { } } ::windows_core::imp::interface_hierarchy!(IInitializeNetworkFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeNetworkFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeNetworkFolder {} -impl ::core::fmt::Debug for IInitializeNetworkFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeNetworkFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeNetworkFolder { type Vtable = IInitializeNetworkFolder_Vtbl; } -impl ::core::clone::Clone for IInitializeNetworkFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeNetworkFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e0f9881_42a8_4f2a_97f8_8af4e026d92d); } @@ -21769,6 +18886,7 @@ pub struct IInitializeNetworkFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeObject(::windows_core::IUnknown); impl IInitializeObject { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -21776,25 +18894,9 @@ impl IInitializeObject { } } ::windows_core::imp::interface_hierarchy!(IInitializeObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeObject {} -impl ::core::fmt::Debug for IInitializeObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeObject { type Vtable = IInitializeObject_Vtbl; } -impl ::core::clone::Clone for IInitializeObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4622ad16_ff23_11d0_8d34_00a0c90f2719); } @@ -21806,6 +18908,7 @@ pub struct IInitializeObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithBindCtx(::windows_core::IUnknown); impl IInitializeWithBindCtx { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -21818,25 +18921,9 @@ impl IInitializeWithBindCtx { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithBindCtx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithBindCtx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithBindCtx {} -impl ::core::fmt::Debug for IInitializeWithBindCtx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithBindCtx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithBindCtx { type Vtable = IInitializeWithBindCtx_Vtbl; } -impl ::core::clone::Clone for IInitializeWithBindCtx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithBindCtx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c0d2bc_726d_45cc_a6c0_2e31c1db2159); } @@ -21851,6 +18938,7 @@ pub struct IInitializeWithBindCtx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithItem(::windows_core::IUnknown); impl IInitializeWithItem { pub unsafe fn Initialize(&self, psi: P0, grfmode: u32) -> ::windows_core::Result<()> @@ -21861,25 +18949,9 @@ impl IInitializeWithItem { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithItem {} -impl ::core::fmt::Debug for IInitializeWithItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithItem { type Vtable = IInitializeWithItem_Vtbl; } -impl ::core::clone::Clone for IInitializeWithItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f73be3f_fb79_493c_a6c7_7ee14e245841); } @@ -21891,6 +18963,7 @@ pub struct IInitializeWithItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithPropertyStore(::windows_core::IUnknown); impl IInitializeWithPropertyStore { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -21903,25 +18976,9 @@ impl IInitializeWithPropertyStore { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithPropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithPropertyStore {} -impl ::core::fmt::Debug for IInitializeWithPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithPropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithPropertyStore { type Vtable = IInitializeWithPropertyStore_Vtbl; } -impl ::core::clone::Clone for IInitializeWithPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithPropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3e12eb5_7d8d_44f8_b6dd_0e77b34d6de4); } @@ -21936,6 +18993,7 @@ pub struct IInitializeWithPropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInitializeWithWindow(::windows_core::IUnknown); impl IInitializeWithWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -21948,25 +19006,9 @@ impl IInitializeWithWindow { } } ::windows_core::imp::interface_hierarchy!(IInitializeWithWindow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInitializeWithWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInitializeWithWindow {} -impl ::core::fmt::Debug for IInitializeWithWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInitializeWithWindow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInitializeWithWindow { type Vtable = IInitializeWithWindow_Vtbl; } -impl ::core::clone::Clone for IInitializeWithWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInitializeWithWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e68d4bd_7135_4d10_8018_9fb6d9f33fa1); } @@ -21981,6 +19023,7 @@ pub struct IInitializeWithWindow_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputObject(::windows_core::IUnknown); impl IInputObject { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -22001,25 +19044,9 @@ impl IInputObject { } } ::windows_core::imp::interface_hierarchy!(IInputObject, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputObject {} -impl ::core::fmt::Debug for IInputObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputObject { type Vtable = IInputObject_Vtbl; } -impl ::core::clone::Clone for IInputObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68284faa_6a48_11d0_8c78_00c04fd918b4); } @@ -22039,6 +19066,7 @@ pub struct IInputObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputObject2(::windows_core::IUnknown); impl IInputObject2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -22064,25 +19092,9 @@ impl IInputObject2 { } } ::windows_core::imp::interface_hierarchy!(IInputObject2, ::windows_core::IUnknown, IInputObject); -impl ::core::cmp::PartialEq for IInputObject2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputObject2 {} -impl ::core::fmt::Debug for IInputObject2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputObject2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputObject2 { type Vtable = IInputObject2_Vtbl; } -impl ::core::clone::Clone for IInputObject2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputObject2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6915c085_510b_44cd_94af_28dfa56cf92b); } @@ -22097,6 +19109,7 @@ pub struct IInputObject2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputObjectSite(::windows_core::IUnknown); impl IInputObjectSite { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22110,25 +19123,9 @@ impl IInputObjectSite { } } ::windows_core::imp::interface_hierarchy!(IInputObjectSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputObjectSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputObjectSite {} -impl ::core::fmt::Debug for IInputObjectSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputObjectSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputObjectSite { type Vtable = IInputObjectSite_Vtbl; } -impl ::core::clone::Clone for IInputObjectSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputObjectSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1db8392_7331_11d0_8c99_00a0c92dbfe8); } @@ -22143,6 +19140,7 @@ pub struct IInputObjectSite_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPaneAnimationCoordinator(::windows_core::IUnknown); impl IInputPaneAnimationCoordinator { #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`*"] @@ -22156,25 +19154,9 @@ impl IInputPaneAnimationCoordinator { } } ::windows_core::imp::interface_hierarchy!(IInputPaneAnimationCoordinator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputPaneAnimationCoordinator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputPaneAnimationCoordinator {} -impl ::core::fmt::Debug for IInputPaneAnimationCoordinator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputPaneAnimationCoordinator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputPaneAnimationCoordinator { type Vtable = IInputPaneAnimationCoordinator_Vtbl; } -impl ::core::clone::Clone for IInputPaneAnimationCoordinator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPaneAnimationCoordinator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2af16ba9_2de5_4b75_82d9_01372afbffb4); } @@ -22189,6 +19171,7 @@ pub struct IInputPaneAnimationCoordinator_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPanelConfiguration(::windows_core::IUnknown); impl IInputPanelConfiguration { pub unsafe fn EnableFocusTracking(&self) -> ::windows_core::Result<()> { @@ -22196,25 +19179,9 @@ impl IInputPanelConfiguration { } } ::windows_core::imp::interface_hierarchy!(IInputPanelConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputPanelConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputPanelConfiguration {} -impl ::core::fmt::Debug for IInputPanelConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputPanelConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputPanelConfiguration { type Vtable = IInputPanelConfiguration_Vtbl; } -impl ::core::clone::Clone for IInputPanelConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPanelConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x41c81592_514c_48bd_a22e_e6af638521a6); } @@ -22226,6 +19193,7 @@ pub struct IInputPanelConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPanelInvocationConfiguration(::windows_core::IUnknown); impl IInputPanelInvocationConfiguration { pub unsafe fn RequireTouchInEditControl(&self) -> ::windows_core::Result<()> { @@ -22233,25 +19201,9 @@ impl IInputPanelInvocationConfiguration { } } ::windows_core::imp::interface_hierarchy!(IInputPanelInvocationConfiguration, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputPanelInvocationConfiguration { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputPanelInvocationConfiguration {} -impl ::core::fmt::Debug for IInputPanelInvocationConfiguration { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputPanelInvocationConfiguration").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputPanelInvocationConfiguration { type Vtable = IInputPanelInvocationConfiguration_Vtbl; } -impl ::core::clone::Clone for IInputPanelInvocationConfiguration { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPanelInvocationConfiguration { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa213f136_3b45_4362_a332_efb6547cd432); } @@ -22263,6 +19215,7 @@ pub struct IInputPanelInvocationConfiguration_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInsertItem(::windows_core::IUnknown); impl IInsertItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -22272,25 +19225,9 @@ impl IInsertItem { } } ::windows_core::imp::interface_hierarchy!(IInsertItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInsertItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInsertItem {} -impl ::core::fmt::Debug for IInsertItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInsertItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInsertItem { type Vtable = IInsertItem_Vtbl; } -impl ::core::clone::Clone for IInsertItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInsertItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2b57227_3d23_4b95_93c0_492bd454c356); } @@ -22305,6 +19242,7 @@ pub struct IInsertItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IItemNameLimits(::windows_core::IUnknown); impl IItemNameLimits { pub unsafe fn GetValidCharacters(&self, ppwszvalidchars: *mut ::windows_core::PWSTR, ppwszinvalidchars: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { @@ -22319,25 +19257,9 @@ impl IItemNameLimits { } } ::windows_core::imp::interface_hierarchy!(IItemNameLimits, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IItemNameLimits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IItemNameLimits {} -impl ::core::fmt::Debug for IItemNameLimits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IItemNameLimits").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IItemNameLimits { type Vtable = IItemNameLimits_Vtbl; } -impl ::core::clone::Clone for IItemNameLimits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IItemNameLimits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1df0d7f1_b267_4d28_8b10_12e23202a5c4); } @@ -22350,6 +19272,7 @@ pub struct IItemNameLimits_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFolder(::windows_core::IUnknown); impl IKnownFolder { pub unsafe fn GetId(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -22396,25 +19319,9 @@ impl IKnownFolder { } } ::windows_core::imp::interface_hierarchy!(IKnownFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKnownFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKnownFolder {} -impl ::core::fmt::Debug for IKnownFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKnownFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKnownFolder { type Vtable = IKnownFolder_Vtbl; } -impl ::core::clone::Clone for IKnownFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3aa7af7e_9b36_420c_a8e3_f77d4674a488); } @@ -22437,6 +19344,7 @@ pub struct IKnownFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKnownFolderManager(::windows_core::IUnknown); impl IKnownFolderManager { pub unsafe fn FolderIdFromCsidl(&self, ncsidl: i32) -> ::windows_core::Result<::windows_core::GUID> { @@ -22491,25 +19399,9 @@ impl IKnownFolderManager { } } ::windows_core::imp::interface_hierarchy!(IKnownFolderManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IKnownFolderManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IKnownFolderManager {} -impl ::core::fmt::Debug for IKnownFolderManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKnownFolderManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IKnownFolderManager { type Vtable = IKnownFolderManager_Vtbl; } -impl ::core::clone::Clone for IKnownFolderManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IKnownFolderManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8be2d872_86aa_4d47_b776_32cca40c7018); } @@ -22536,6 +19428,7 @@ pub struct IKnownFolderManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchSourceAppUserModelId(::windows_core::IUnknown); impl ILaunchSourceAppUserModelId { pub unsafe fn GetAppUserModelId(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -22544,25 +19437,9 @@ impl ILaunchSourceAppUserModelId { } } ::windows_core::imp::interface_hierarchy!(ILaunchSourceAppUserModelId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchSourceAppUserModelId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchSourceAppUserModelId {} -impl ::core::fmt::Debug for ILaunchSourceAppUserModelId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchSourceAppUserModelId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchSourceAppUserModelId { type Vtable = ILaunchSourceAppUserModelId_Vtbl; } -impl ::core::clone::Clone for ILaunchSourceAppUserModelId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchSourceAppUserModelId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x989191ac_28ff_4cf0_9584_e0d078bc2396); } @@ -22574,6 +19451,7 @@ pub struct ILaunchSourceAppUserModelId_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchSourceViewSizePreference(::windows_core::IUnknown); impl ILaunchSourceViewSizePreference { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22588,25 +19466,9 @@ impl ILaunchSourceViewSizePreference { } } ::windows_core::imp::interface_hierarchy!(ILaunchSourceViewSizePreference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchSourceViewSizePreference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchSourceViewSizePreference {} -impl ::core::fmt::Debug for ILaunchSourceViewSizePreference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchSourceViewSizePreference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchSourceViewSizePreference { type Vtable = ILaunchSourceViewSizePreference_Vtbl; } -impl ::core::clone::Clone for ILaunchSourceViewSizePreference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchSourceViewSizePreference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5aa01f7_1fb8_4830_8720_4e6734cbd5f3); } @@ -22622,6 +19484,7 @@ pub struct ILaunchSourceViewSizePreference_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchTargetMonitor(::windows_core::IUnknown); impl ILaunchTargetMonitor { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -22632,25 +19495,9 @@ impl ILaunchTargetMonitor { } } ::windows_core::imp::interface_hierarchy!(ILaunchTargetMonitor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchTargetMonitor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchTargetMonitor {} -impl ::core::fmt::Debug for ILaunchTargetMonitor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchTargetMonitor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchTargetMonitor { type Vtable = ILaunchTargetMonitor_Vtbl; } -impl ::core::clone::Clone for ILaunchTargetMonitor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchTargetMonitor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x266fbc7e_490d_46ed_a96b_2274db252003); } @@ -22665,6 +19512,7 @@ pub struct ILaunchTargetMonitor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchTargetViewSizePreference(::windows_core::IUnknown); impl ILaunchTargetViewSizePreference { pub unsafe fn GetTargetViewSizePreference(&self) -> ::windows_core::Result { @@ -22673,25 +19521,9 @@ impl ILaunchTargetViewSizePreference { } } ::windows_core::imp::interface_hierarchy!(ILaunchTargetViewSizePreference, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchTargetViewSizePreference { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchTargetViewSizePreference {} -impl ::core::fmt::Debug for ILaunchTargetViewSizePreference { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchTargetViewSizePreference").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchTargetViewSizePreference { type Vtable = ILaunchTargetViewSizePreference_Vtbl; } -impl ::core::clone::Clone for ILaunchTargetViewSizePreference { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchTargetViewSizePreference { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f0666c6_12f7_4360_b511_a394a0553725); } @@ -22703,6 +19535,7 @@ pub struct ILaunchTargetViewSizePreference_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchUIContext(::windows_core::IUnknown); impl ILaunchUIContext { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22718,25 +19551,9 @@ impl ILaunchUIContext { } } ::windows_core::imp::interface_hierarchy!(ILaunchUIContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchUIContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchUIContext {} -impl ::core::fmt::Debug for ILaunchUIContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchUIContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchUIContext { type Vtable = ILaunchUIContext_Vtbl; } -impl ::core::clone::Clone for ILaunchUIContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchUIContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1791e8f6_21c7_4340_882a_a6a93e3fd73b); } @@ -22752,6 +19569,7 @@ pub struct ILaunchUIContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILaunchUIContextProvider(::windows_core::IUnknown); impl ILaunchUIContextProvider { pub unsafe fn UpdateContext(&self, context: P0) -> ::windows_core::Result<()> @@ -22762,25 +19580,9 @@ impl ILaunchUIContextProvider { } } ::windows_core::imp::interface_hierarchy!(ILaunchUIContextProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ILaunchUIContextProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ILaunchUIContextProvider {} -impl ::core::fmt::Debug for ILaunchUIContextProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILaunchUIContextProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ILaunchUIContextProvider { type Vtable = ILaunchUIContextProvider_Vtbl; } -impl ::core::clone::Clone for ILaunchUIContextProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ILaunchUIContextProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d12c4c8_a3d9_4e24_94c1_0e20c5a956c4); } @@ -22792,6 +19594,7 @@ pub struct ILaunchUIContextProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMenuBand(::windows_core::IUnknown); impl IMenuBand { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -22806,25 +19609,9 @@ impl IMenuBand { } } ::windows_core::imp::interface_hierarchy!(IMenuBand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMenuBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMenuBand {} -impl ::core::fmt::Debug for IMenuBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMenuBand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMenuBand { type Vtable = IMenuBand_Vtbl; } -impl ::core::clone::Clone for IMenuBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMenuBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x568804cd_cbd7_11d0_9816_00c04fd91972); } @@ -22844,6 +19631,7 @@ pub struct IMenuBand_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMenuPopup(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IMenuPopup { @@ -22897,30 +19685,10 @@ impl IMenuPopup { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IMenuPopup, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDeskBar); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IMenuPopup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IMenuPopup {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IMenuPopup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMenuPopup").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IMenuPopup { type Vtable = IMenuPopup_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IMenuPopup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IMenuPopup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd1e7afeb_6a2e_11d0_8c78_00c04fd918b4); } @@ -22941,6 +19709,7 @@ pub struct IMenuPopup_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IModalWindow(::windows_core::IUnknown); impl IModalWindow { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -22953,25 +19722,9 @@ impl IModalWindow { } } ::windows_core::imp::interface_hierarchy!(IModalWindow, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IModalWindow { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IModalWindow {} -impl ::core::fmt::Debug for IModalWindow { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IModalWindow").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IModalWindow { type Vtable = IModalWindow_Vtbl; } -impl ::core::clone::Clone for IModalWindow { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IModalWindow { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4db1657_70d7_485e_8e3e_6fcb5a5c1802); } @@ -22986,6 +19739,7 @@ pub struct IModalWindow_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeAccessible(::windows_core::IUnknown); impl INameSpaceTreeAccessible { pub unsafe fn OnGetDefaultAccessibilityAction(&self, psi: P0) -> ::windows_core::Result<::windows_core::BSTR> @@ -23012,25 +19766,9 @@ impl INameSpaceTreeAccessible { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeAccessible, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeAccessible { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeAccessible {} -impl ::core::fmt::Debug for INameSpaceTreeAccessible { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeAccessible").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeAccessible { type Vtable = INameSpaceTreeAccessible_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeAccessible { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeAccessible { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71f312de_43ed_4190_8477_e9536b82350b); } @@ -23047,6 +19785,7 @@ pub struct INameSpaceTreeAccessible_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControl(::windows_core::IUnknown); impl INameSpaceTreeControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23163,25 +19902,9 @@ impl INameSpaceTreeControl { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControl {} -impl ::core::fmt::Debug for INameSpaceTreeControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControl { type Vtable = INameSpaceTreeControl_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x028212a3_b627_47e9_8856_c14265554e4f); } @@ -23220,6 +19943,7 @@ pub struct INameSpaceTreeControl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControl2(::windows_core::IUnknown); impl INameSpaceTreeControl2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23350,25 +20074,9 @@ impl INameSpaceTreeControl2 { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControl2, ::windows_core::IUnknown, INameSpaceTreeControl); -impl ::core::cmp::PartialEq for INameSpaceTreeControl2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControl2 {} -impl ::core::fmt::Debug for INameSpaceTreeControl2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControl2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControl2 { type Vtable = INameSpaceTreeControl2_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControl2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControl2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cc7aed8_290e_49bc_8945_c1401cc9306c); } @@ -23383,6 +20091,7 @@ pub struct INameSpaceTreeControl2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControlCustomDraw(::windows_core::IUnknown); impl INameSpaceTreeControlCustomDraw { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -23420,25 +20129,9 @@ impl INameSpaceTreeControlCustomDraw { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControlCustomDraw, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeControlCustomDraw { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControlCustomDraw {} -impl ::core::fmt::Debug for INameSpaceTreeControlCustomDraw { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControlCustomDraw").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControlCustomDraw { type Vtable = INameSpaceTreeControlCustomDraw_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControlCustomDraw { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControlCustomDraw { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2d3ba758_33ee_42d5_bb7b_5f3431d86c78); } @@ -23465,6 +20158,7 @@ pub struct INameSpaceTreeControlCustomDraw_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControlDropHandler(::windows_core::IUnknown); impl INameSpaceTreeControlDropHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -23513,25 +20207,9 @@ impl INameSpaceTreeControlDropHandler { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControlDropHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeControlDropHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControlDropHandler {} -impl ::core::fmt::Debug for INameSpaceTreeControlDropHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControlDropHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControlDropHandler { type Vtable = INameSpaceTreeControlDropHandler_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControlDropHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControlDropHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9c665d6_c2f2_4c19_bf33_8322d7352f51); } @@ -23551,6 +20229,7 @@ pub struct INameSpaceTreeControlDropHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControlEvents(::windows_core::IUnknown); impl INameSpaceTreeControlEvents { pub unsafe fn OnItemClick(&self, psi: P0, nstcehittest: u32, nstceclicktype: u32) -> ::windows_core::Result<()> @@ -23673,25 +20352,9 @@ impl INameSpaceTreeControlEvents { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControlEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeControlEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControlEvents {} -impl ::core::fmt::Debug for INameSpaceTreeControlEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControlEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControlEvents { type Vtable = INameSpaceTreeControlEvents_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControlEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControlEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93d77985_b3d8_4484_8318_672cdda002ce); } @@ -23729,6 +20392,7 @@ pub struct INameSpaceTreeControlEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INameSpaceTreeControlFolderCapabilities(::windows_core::IUnknown); impl INameSpaceTreeControlFolderCapabilities { pub unsafe fn GetFolderCapabilities(&self, nfcmask: NSTCFOLDERCAPABILITIES) -> ::windows_core::Result { @@ -23737,25 +20401,9 @@ impl INameSpaceTreeControlFolderCapabilities { } } ::windows_core::imp::interface_hierarchy!(INameSpaceTreeControlFolderCapabilities, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INameSpaceTreeControlFolderCapabilities { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INameSpaceTreeControlFolderCapabilities {} -impl ::core::fmt::Debug for INameSpaceTreeControlFolderCapabilities { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INameSpaceTreeControlFolderCapabilities").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INameSpaceTreeControlFolderCapabilities { type Vtable = INameSpaceTreeControlFolderCapabilities_Vtbl; } -impl ::core::clone::Clone for INameSpaceTreeControlFolderCapabilities { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INameSpaceTreeControlFolderCapabilities { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9701183_e6b3_4ff2_8568_813615fec7be); } @@ -23767,6 +20415,7 @@ pub struct INameSpaceTreeControlFolderCapabilities_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamedPropertyBag(::windows_core::IUnknown); impl INamedPropertyBag { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] @@ -23796,25 +20445,9 @@ impl INamedPropertyBag { } } ::windows_core::imp::interface_hierarchy!(INamedPropertyBag, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamedPropertyBag { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamedPropertyBag {} -impl ::core::fmt::Debug for INamedPropertyBag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamedPropertyBag").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamedPropertyBag { type Vtable = INamedPropertyBag_Vtbl; } -impl ::core::clone::Clone for INamedPropertyBag { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamedPropertyBag { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfb700430_952c_11d1_946f_000000000000); } @@ -23834,6 +20467,7 @@ pub struct INamedPropertyBag_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamespaceWalk(::windows_core::IUnknown); impl INamespaceWalk { pub unsafe fn Walk(&self, punktowalk: P0, dwflags: u32, cdepth: i32, pnswcb: P1) -> ::windows_core::Result<()> @@ -23850,25 +20484,9 @@ impl INamespaceWalk { } } ::windows_core::imp::interface_hierarchy!(INamespaceWalk, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamespaceWalk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamespaceWalk {} -impl ::core::fmt::Debug for INamespaceWalk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamespaceWalk").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamespaceWalk { type Vtable = INamespaceWalk_Vtbl; } -impl ::core::clone::Clone for INamespaceWalk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamespaceWalk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57ced8a7_3f4a_432c_9350_30f24483f74f); } @@ -23884,6 +20502,7 @@ pub struct INamespaceWalk_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamespaceWalkCB(::windows_core::IUnknown); impl INamespaceWalkCB { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -23915,25 +20534,9 @@ impl INamespaceWalkCB { } } ::windows_core::imp::interface_hierarchy!(INamespaceWalkCB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INamespaceWalkCB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamespaceWalkCB {} -impl ::core::fmt::Debug for INamespaceWalkCB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamespaceWalkCB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamespaceWalkCB { type Vtable = INamespaceWalkCB_Vtbl; } -impl ::core::clone::Clone for INamespaceWalkCB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamespaceWalkCB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd92995f8_cf5e_4a76_bf59_ead39ea2b97e); } @@ -23957,6 +20560,7 @@ pub struct INamespaceWalkCB_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INamespaceWalkCB2(::windows_core::IUnknown); impl INamespaceWalkCB2 { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -23991,25 +20595,9 @@ impl INamespaceWalkCB2 { } } ::windows_core::imp::interface_hierarchy!(INamespaceWalkCB2, ::windows_core::IUnknown, INamespaceWalkCB); -impl ::core::cmp::PartialEq for INamespaceWalkCB2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INamespaceWalkCB2 {} -impl ::core::fmt::Debug for INamespaceWalkCB2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INamespaceWalkCB2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INamespaceWalkCB2 { type Vtable = INamespaceWalkCB2_Vtbl; } -impl ::core::clone::Clone for INamespaceWalkCB2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INamespaceWalkCB2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ac7492b_c38e_438a_87db_68737844ff70); } @@ -24021,6 +20609,7 @@ pub struct INamespaceWalkCB2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INetworkFolderInternal(::windows_core::IUnknown); impl INetworkFolderInternal { pub unsafe fn GetResourceDisplayType(&self) -> ::windows_core::Result { @@ -24040,25 +20629,9 @@ impl INetworkFolderInternal { } } ::windows_core::imp::interface_hierarchy!(INetworkFolderInternal, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INetworkFolderInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INetworkFolderInternal {} -impl ::core::fmt::Debug for INetworkFolderInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INetworkFolderInternal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INetworkFolderInternal { type Vtable = INetworkFolderInternal_Vtbl; } -impl ::core::clone::Clone for INetworkFolderInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INetworkFolderInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xceb38218_c971_47bb_a703_f0bc99ccdb81); } @@ -24078,6 +20651,7 @@ pub struct INetworkFolderInternal_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewMenuClient(::windows_core::IUnknown); impl INewMenuClient { pub unsafe fn IncludeItems(&self) -> ::windows_core::Result { @@ -24091,25 +20665,9 @@ impl INewMenuClient { } } ::windows_core::imp::interface_hierarchy!(INewMenuClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INewMenuClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INewMenuClient {} -impl ::core::fmt::Debug for INewMenuClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INewMenuClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INewMenuClient { type Vtable = INewMenuClient_Vtbl; } -impl ::core::clone::Clone for INewMenuClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INewMenuClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcb07fdc_3bb5_451c_90be_966644fed7b0); } @@ -24125,6 +20683,7 @@ pub struct INewMenuClient_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewShortcutHookA(::windows_core::IUnknown); impl INewShortcutHookA { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24156,25 +20715,9 @@ impl INewShortcutHookA { } } ::windows_core::imp::interface_hierarchy!(INewShortcutHookA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INewShortcutHookA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INewShortcutHookA {} -impl ::core::fmt::Debug for INewShortcutHookA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INewShortcutHookA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INewShortcutHookA { type Vtable = INewShortcutHookA_Vtbl; } -impl ::core::clone::Clone for INewShortcutHookA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INewShortcutHookA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e1_0000_0000_c000_000000000046); } @@ -24194,6 +20737,7 @@ pub struct INewShortcutHookA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewShortcutHookW(::windows_core::IUnknown); impl INewShortcutHookW { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24225,25 +20769,9 @@ impl INewShortcutHookW { } } ::windows_core::imp::interface_hierarchy!(INewShortcutHookW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INewShortcutHookW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INewShortcutHookW {} -impl ::core::fmt::Debug for INewShortcutHookW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INewShortcutHookW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INewShortcutHookW { type Vtable = INewShortcutHookW_Vtbl; } -impl ::core::clone::Clone for INewShortcutHookW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INewShortcutHookW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214f7_0000_0000_c000_000000000046); } @@ -24264,6 +20792,7 @@ pub struct INewShortcutHookW_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewWDEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl INewWDEvents { @@ -24333,30 +20862,10 @@ impl INewWDEvents { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(INewWDEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for INewWDEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for INewWDEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for INewWDEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INewWDEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for INewWDEvents { type Vtable = INewWDEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for INewWDEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for INewWDEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0751c551_7568_41c9_8e5b_e22e38919236); } @@ -24372,6 +20881,7 @@ pub struct INewWDEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INewWindowManager(::windows_core::IUnknown); impl INewWindowManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24388,25 +20898,9 @@ impl INewWindowManager { } } ::windows_core::imp::interface_hierarchy!(INewWindowManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INewWindowManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INewWindowManager {} -impl ::core::fmt::Debug for INewWindowManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INewWindowManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INewWindowManager { type Vtable = INewWindowManager_Vtbl; } -impl ::core::clone::Clone for INewWindowManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INewWindowManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd2bc4c84_3f72_4a52_a604_7bcbf3982cbb); } @@ -24421,6 +20915,7 @@ pub struct INewWindowManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct INotifyReplica(::windows_core::IUnknown); impl INotifyReplica { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -24430,25 +20925,9 @@ impl INotifyReplica { } } ::windows_core::imp::interface_hierarchy!(INotifyReplica, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for INotifyReplica { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for INotifyReplica {} -impl ::core::fmt::Debug for INotifyReplica { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("INotifyReplica").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for INotifyReplica { type Vtable = INotifyReplica_Vtbl; } -impl ::core::clone::Clone for INotifyReplica { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for INotifyReplica { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99180163_da16_101a_935c_444553540000); } @@ -24463,6 +20942,7 @@ pub struct INotifyReplica_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjMgr(::windows_core::IUnknown); impl IObjMgr { pub unsafe fn Append(&self, punk: P0) -> ::windows_core::Result<()> @@ -24479,25 +20959,9 @@ impl IObjMgr { } } ::windows_core::imp::interface_hierarchy!(IObjMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjMgr {} -impl ::core::fmt::Debug for IObjMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjMgr { type Vtable = IObjMgr_Vtbl; } -impl ::core::clone::Clone for IObjMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00bb2761_6a77_11d0_a535_00c04fd7d062); } @@ -24510,6 +20974,7 @@ pub struct IObjMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectProvider(::windows_core::IUnknown); impl IObjectProvider { pub unsafe fn QueryObject(&self, guidobject: *const ::windows_core::GUID) -> ::windows_core::Result @@ -24521,25 +20986,9 @@ impl IObjectProvider { } } ::windows_core::imp::interface_hierarchy!(IObjectProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectProvider {} -impl ::core::fmt::Debug for IObjectProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectProvider { type Vtable = IObjectProvider_Vtbl; } -impl ::core::clone::Clone for IObjectProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa6087428_3be3_4d73_b308_7c04a540bf1a); } @@ -24551,6 +21000,7 @@ pub struct IObjectProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithAppUserModelID(::windows_core::IUnknown); impl IObjectWithAppUserModelID { pub unsafe fn SetAppID(&self, pszappid: P0) -> ::windows_core::Result<()> @@ -24565,25 +21015,9 @@ impl IObjectWithAppUserModelID { } } ::windows_core::imp::interface_hierarchy!(IObjectWithAppUserModelID, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithAppUserModelID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithAppUserModelID {} -impl ::core::fmt::Debug for IObjectWithAppUserModelID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithAppUserModelID").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithAppUserModelID { type Vtable = IObjectWithAppUserModelID_Vtbl; } -impl ::core::clone::Clone for IObjectWithAppUserModelID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithAppUserModelID { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36db0196_9665_46d1_9ba7_d3709eecf9ed); } @@ -24596,6 +21030,7 @@ pub struct IObjectWithAppUserModelID_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithBackReferences(::windows_core::IUnknown); impl IObjectWithBackReferences { pub unsafe fn RemoveBackReferences(&self) -> ::windows_core::Result<()> { @@ -24603,25 +21038,9 @@ impl IObjectWithBackReferences { } } ::windows_core::imp::interface_hierarchy!(IObjectWithBackReferences, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithBackReferences { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithBackReferences {} -impl ::core::fmt::Debug for IObjectWithBackReferences { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithBackReferences").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithBackReferences { type Vtable = IObjectWithBackReferences_Vtbl; } -impl ::core::clone::Clone for IObjectWithBackReferences { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithBackReferences { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x321a6a6a_d61f_4bf3_97ae_14be2986bb36); } @@ -24633,6 +21052,7 @@ pub struct IObjectWithBackReferences_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithCancelEvent(::windows_core::IUnknown); impl IObjectWithCancelEvent { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24643,25 +21063,9 @@ impl IObjectWithCancelEvent { } } ::windows_core::imp::interface_hierarchy!(IObjectWithCancelEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithCancelEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithCancelEvent {} -impl ::core::fmt::Debug for IObjectWithCancelEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithCancelEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithCancelEvent { type Vtable = IObjectWithCancelEvent_Vtbl; } -impl ::core::clone::Clone for IObjectWithCancelEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithCancelEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf279b885_0ae9_4b85_ac06_ddecf9408941); } @@ -24676,6 +21080,7 @@ pub struct IObjectWithCancelEvent_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithFolderEnumMode(::windows_core::IUnknown); impl IObjectWithFolderEnumMode { pub unsafe fn SetMode(&self, femode: FOLDER_ENUM_MODE) -> ::windows_core::Result<()> { @@ -24687,25 +21092,9 @@ impl IObjectWithFolderEnumMode { } } ::windows_core::imp::interface_hierarchy!(IObjectWithFolderEnumMode, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithFolderEnumMode { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithFolderEnumMode {} -impl ::core::fmt::Debug for IObjectWithFolderEnumMode { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithFolderEnumMode").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithFolderEnumMode { type Vtable = IObjectWithFolderEnumMode_Vtbl; } -impl ::core::clone::Clone for IObjectWithFolderEnumMode { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithFolderEnumMode { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6a9d9026_0e6e_464c_b000_42ecc07de673); } @@ -24718,6 +21107,7 @@ pub struct IObjectWithFolderEnumMode_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithProgID(::windows_core::IUnknown); impl IObjectWithProgID { pub unsafe fn SetProgID(&self, pszprogid: P0) -> ::windows_core::Result<()> @@ -24732,25 +21122,9 @@ impl IObjectWithProgID { } } ::windows_core::imp::interface_hierarchy!(IObjectWithProgID, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithProgID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithProgID {} -impl ::core::fmt::Debug for IObjectWithProgID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithProgID").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithProgID { type Vtable = IObjectWithProgID_Vtbl; } -impl ::core::clone::Clone for IObjectWithProgID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithProgID { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71e806fb_8dee_46fc_bf8c_7748a8a1ae13); } @@ -24763,6 +21137,7 @@ pub struct IObjectWithProgID_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IObjectWithSelection(::windows_core::IUnknown); impl IObjectWithSelection { pub unsafe fn SetSelection(&self, psia: P0) -> ::windows_core::Result<()> @@ -24780,25 +21155,9 @@ impl IObjectWithSelection { } } ::windows_core::imp::interface_hierarchy!(IObjectWithSelection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IObjectWithSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IObjectWithSelection {} -impl ::core::fmt::Debug for IObjectWithSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IObjectWithSelection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IObjectWithSelection { type Vtable = IObjectWithSelection_Vtbl; } -impl ::core::clone::Clone for IObjectWithSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IObjectWithSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c9cd5bb_98e9_4491_a60f_31aacc72b83c); } @@ -24811,6 +21170,7 @@ pub struct IObjectWithSelection_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenControlPanel(::windows_core::IUnknown); impl IOpenControlPanel { pub unsafe fn Open(&self, pszname: P0, pszpage: P1, punksite: P2) -> ::windows_core::Result<()> @@ -24833,25 +21193,9 @@ impl IOpenControlPanel { } } ::windows_core::imp::interface_hierarchy!(IOpenControlPanel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenControlPanel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenControlPanel {} -impl ::core::fmt::Debug for IOpenControlPanel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenControlPanel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenControlPanel { type Vtable = IOpenControlPanel_Vtbl; } -impl ::core::clone::Clone for IOpenControlPanel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenControlPanel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd11ad862_66de_4df4_bf6c_1f5621996af1); } @@ -24865,6 +21209,7 @@ pub struct IOpenControlPanel_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenSearchSource(::windows_core::IUnknown); impl IOpenSearchSource { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24880,25 +21225,9 @@ impl IOpenSearchSource { } } ::windows_core::imp::interface_hierarchy!(IOpenSearchSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenSearchSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenSearchSource {} -impl ::core::fmt::Debug for IOpenSearchSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenSearchSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenSearchSource { type Vtable = IOpenSearchSource_Vtbl; } -impl ::core::clone::Clone for IOpenSearchSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenSearchSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0ee7333_e6fc_479b_9f25_a860c234a38e); } @@ -24913,6 +21242,7 @@ pub struct IOpenSearchSource_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOperationsProgressDialog(::windows_core::IUnknown); impl IOperationsProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -24958,30 +21288,14 @@ impl IOperationsProgressDialog { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] pub unsafe fn GetOperationStatus(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetOperationStatus)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IOperationsProgressDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOperationsProgressDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOperationsProgressDialog {} -impl ::core::fmt::Debug for IOperationsProgressDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOperationsProgressDialog").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetOperationStatus)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IOperationsProgressDialog, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IOperationsProgressDialog { type Vtable = IOperationsProgressDialog_Vtbl; } -impl ::core::clone::Clone for IOperationsProgressDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOperationsProgressDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c9fb851_e5c9_43eb_a370_f0677b13874c); } @@ -25009,6 +21323,7 @@ pub struct IOperationsProgressDialog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageDebugSettings(::windows_core::IUnknown); impl IPackageDebugSettings { pub unsafe fn EnableDebugging(&self, packagefullname: P0, debuggercommandline: P1, environment: P2) -> ::windows_core::Result<()> @@ -25099,25 +21414,9 @@ impl IPackageDebugSettings { } } ::windows_core::imp::interface_hierarchy!(IPackageDebugSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPackageDebugSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPackageDebugSettings {} -impl ::core::fmt::Debug for IPackageDebugSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPackageDebugSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPackageDebugSettings { type Vtable = IPackageDebugSettings_Vtbl; } -impl ::core::clone::Clone for IPackageDebugSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageDebugSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf27c3930_8029_4ad1_94e3_3dba417810c1); } @@ -25143,6 +21442,7 @@ pub struct IPackageDebugSettings_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageDebugSettings2(::windows_core::IUnknown); impl IPackageDebugSettings2 { pub unsafe fn EnableDebugging(&self, packagefullname: P0, debuggercommandline: P1, environment: P2) -> ::windows_core::Result<()> @@ -25239,25 +21539,9 @@ impl IPackageDebugSettings2 { } } ::windows_core::imp::interface_hierarchy!(IPackageDebugSettings2, ::windows_core::IUnknown, IPackageDebugSettings); -impl ::core::cmp::PartialEq for IPackageDebugSettings2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPackageDebugSettings2 {} -impl ::core::fmt::Debug for IPackageDebugSettings2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPackageDebugSettings2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPackageDebugSettings2 { type Vtable = IPackageDebugSettings2_Vtbl; } -impl ::core::clone::Clone for IPackageDebugSettings2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageDebugSettings2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e3194bb_ab82_4d22_93f5_fabda40e7b16); } @@ -25269,6 +21553,7 @@ pub struct IPackageDebugSettings2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPackageExecutionStateChangeNotification(::windows_core::IUnknown); impl IPackageExecutionStateChangeNotification { pub unsafe fn OnStateChanged(&self, pszpackagefullname: P0, pesnewstate: PACKAGE_EXECUTION_STATE) -> ::windows_core::Result<()> @@ -25279,25 +21564,9 @@ impl IPackageExecutionStateChangeNotification { } } ::windows_core::imp::interface_hierarchy!(IPackageExecutionStateChangeNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPackageExecutionStateChangeNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPackageExecutionStateChangeNotification {} -impl ::core::fmt::Debug for IPackageExecutionStateChangeNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPackageExecutionStateChangeNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPackageExecutionStateChangeNotification { type Vtable = IPackageExecutionStateChangeNotification_Vtbl; } -impl ::core::clone::Clone for IPackageExecutionStateChangeNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPackageExecutionStateChangeNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb12a62_2ad8_432b_8ccf_0c2c52afcd5b); } @@ -25309,6 +21578,7 @@ pub struct IPackageExecutionStateChangeNotification_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IParentAndItem(::windows_core::IUnknown); impl IParentAndItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -25326,25 +21596,9 @@ impl IParentAndItem { } } ::windows_core::imp::interface_hierarchy!(IParentAndItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IParentAndItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IParentAndItem {} -impl ::core::fmt::Debug for IParentAndItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IParentAndItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IParentAndItem { type Vtable = IParentAndItem_Vtbl; } -impl ::core::clone::Clone for IParentAndItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IParentAndItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb3a4b685_b685_4805_99d9_5dead2873236); } @@ -25363,6 +21617,7 @@ pub struct IParentAndItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IParseAndCreateItem(::windows_core::IUnknown); impl IParseAndCreateItem { pub unsafe fn SetItem(&self, psi: P0) -> ::windows_core::Result<()> @@ -25380,25 +21635,9 @@ impl IParseAndCreateItem { } } ::windows_core::imp::interface_hierarchy!(IParseAndCreateItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IParseAndCreateItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IParseAndCreateItem {} -impl ::core::fmt::Debug for IParseAndCreateItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IParseAndCreateItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IParseAndCreateItem { type Vtable = IParseAndCreateItem_Vtbl; } -impl ::core::clone::Clone for IParseAndCreateItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IParseAndCreateItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67efed0e_e827_4408_b493_78f3982b685c); } @@ -25412,6 +21651,7 @@ pub struct IParseAndCreateItem_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistFolder(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistFolder { @@ -25430,30 +21670,10 @@ impl IPersistFolder { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistFolder, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistFolder {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistFolder").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistFolder { type Vtable = IPersistFolder_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214ea_0000_0000_c000_000000000046); } @@ -25470,6 +21690,7 @@ pub struct IPersistFolder_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistFolder2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistFolder2 { @@ -25494,30 +21715,10 @@ impl IPersistFolder2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistFolder2, ::windows_core::IUnknown, super::super::System::Com::IPersist, IPersistFolder); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistFolder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistFolder2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistFolder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistFolder2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistFolder2 { type Vtable = IPersistFolder2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistFolder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistFolder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1ac3d9f0_175c_11d1_95be_00609797ea4f); } @@ -25534,6 +21735,7 @@ pub struct IPersistFolder2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistFolder3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistFolder3 { @@ -25571,30 +21773,10 @@ impl IPersistFolder3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistFolder3, ::windows_core::IUnknown, super::super::System::Com::IPersist, IPersistFolder, IPersistFolder2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistFolder3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistFolder3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistFolder3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistFolder3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistFolder3 { type Vtable = IPersistFolder3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistFolder3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistFolder3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcef04fdf_fe72_11d2_87a5_00c04f6837cf); } @@ -25615,6 +21797,7 @@ pub struct IPersistFolder3_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistIDList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistIDList { @@ -25639,30 +21822,10 @@ impl IPersistIDList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistIDList, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistIDList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistIDList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistIDList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistIDList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistIDList { type Vtable = IPersistIDList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistIDList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistIDList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1079acfc_29bd_11d3_8e0d_00c04f6837d5); } @@ -25682,6 +21845,7 @@ pub struct IPersistIDList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewHandler(::windows_core::IUnknown); impl IPreviewHandler { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25719,25 +21883,9 @@ impl IPreviewHandler { } } ::windows_core::imp::interface_hierarchy!(IPreviewHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPreviewHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreviewHandler {} -impl ::core::fmt::Debug for IPreviewHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreviewHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreviewHandler { type Vtable = IPreviewHandler_Vtbl; } -impl ::core::clone::Clone for IPreviewHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8895b1c6_b41f_4c1c_a562_0d564250836f); } @@ -25767,6 +21915,7 @@ pub struct IPreviewHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewHandlerFrame(::windows_core::IUnknown); impl IPreviewHandlerFrame { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -25782,25 +21931,9 @@ impl IPreviewHandlerFrame { } } ::windows_core::imp::interface_hierarchy!(IPreviewHandlerFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPreviewHandlerFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreviewHandlerFrame {} -impl ::core::fmt::Debug for IPreviewHandlerFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreviewHandlerFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreviewHandlerFrame { type Vtable = IPreviewHandlerFrame_Vtbl; } -impl ::core::clone::Clone for IPreviewHandlerFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewHandlerFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfec87aaf_35f9_447a_adb7_20234491401a); } @@ -25819,6 +21952,7 @@ pub struct IPreviewHandlerFrame_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewHandlerVisuals(::windows_core::IUnknown); impl IPreviewHandlerVisuals { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25844,25 +21978,9 @@ impl IPreviewHandlerVisuals { } } ::windows_core::imp::interface_hierarchy!(IPreviewHandlerVisuals, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPreviewHandlerVisuals { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreviewHandlerVisuals {} -impl ::core::fmt::Debug for IPreviewHandlerVisuals { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreviewHandlerVisuals").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreviewHandlerVisuals { type Vtable = IPreviewHandlerVisuals_Vtbl; } -impl ::core::clone::Clone for IPreviewHandlerVisuals { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewHandlerVisuals { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x196bf9a5_b346_4ef0_aa1e_5dcdb76768b1); } @@ -25885,6 +22003,7 @@ pub struct IPreviewHandlerVisuals_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviewItem(::windows_core::IUnknown); impl IPreviewItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -25899,25 +22018,9 @@ impl IPreviewItem { } } ::windows_core::imp::interface_hierarchy!(IPreviewItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IPreviewItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreviewItem {} -impl ::core::fmt::Debug for IPreviewItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreviewItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreviewItem { type Vtable = IPreviewItem_Vtbl; } -impl ::core::clone::Clone for IPreviewItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviewItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x36149969_0a8f_49c8_8b00_4aecb20222fb); } @@ -25928,6 +22031,7 @@ pub struct IPreviewItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPreviousVersionsInfo(::windows_core::IUnknown); impl IPreviousVersionsInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -25942,25 +22046,9 @@ impl IPreviousVersionsInfo { } } ::windows_core::imp::interface_hierarchy!(IPreviousVersionsInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPreviousVersionsInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPreviousVersionsInfo {} -impl ::core::fmt::Debug for IPreviousVersionsInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPreviousVersionsInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPreviousVersionsInfo { type Vtable = IPreviousVersionsInfo_Vtbl; } -impl ::core::clone::Clone for IPreviousVersionsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPreviousVersionsInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76e54780_ad74_48e3_a695_3ba9a0aff10d); } @@ -25975,6 +22063,7 @@ pub struct IPreviousVersionsInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProfferService(::windows_core::IUnknown); impl IProfferService { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -25991,25 +22080,9 @@ impl IProfferService { } } ::windows_core::imp::interface_hierarchy!(IProfferService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProfferService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProfferService {} -impl ::core::fmt::Debug for IProfferService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProfferService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProfferService { type Vtable = IProfferService_Vtbl; } -impl ::core::clone::Clone for IProfferService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProfferService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcb728b20_f786_11ce_92ad_00aa00a74cd0); } @@ -26025,6 +22098,7 @@ pub struct IProfferService_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IProgressDialog(::windows_core::IUnknown); impl IProgressDialog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26084,25 +22158,9 @@ impl IProgressDialog { } } ::windows_core::imp::interface_hierarchy!(IProgressDialog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IProgressDialog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IProgressDialog {} -impl ::core::fmt::Debug for IProgressDialog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IProgressDialog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IProgressDialog { type Vtable = IProgressDialog_Vtbl; } -impl ::core::clone::Clone for IProgressDialog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IProgressDialog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xebbc7c04_315e_11d2_b62f_006097df5bd4); } @@ -26135,6 +22193,7 @@ pub struct IProgressDialog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPropertyKeyStore(::windows_core::IUnknown); impl IPropertyKeyStore { pub unsafe fn GetKeyCount(&self) -> ::windows_core::Result { @@ -26166,25 +22225,9 @@ impl IPropertyKeyStore { } } ::windows_core::imp::interface_hierarchy!(IPropertyKeyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPropertyKeyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPropertyKeyStore {} -impl ::core::fmt::Debug for IPropertyKeyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPropertyKeyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPropertyKeyStore { type Vtable = IPropertyKeyStore_Vtbl; } -impl ::core::clone::Clone for IPropertyKeyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPropertyKeyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75bd59aa_f23b_4963_aba4_0b355752a91b); } @@ -26213,6 +22256,7 @@ pub struct IPropertyKeyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPublishedApp(::windows_core::IUnknown); impl IPublishedApp { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> ::windows_core::Result<()> { @@ -26250,25 +22294,9 @@ impl IPublishedApp { } } ::windows_core::imp::interface_hierarchy!(IPublishedApp, ::windows_core::IUnknown, IShellApp); -impl ::core::cmp::PartialEq for IPublishedApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPublishedApp {} -impl ::core::fmt::Debug for IPublishedApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPublishedApp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPublishedApp { type Vtable = IPublishedApp_Vtbl; } -impl ::core::clone::Clone for IPublishedApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPublishedApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bc752e0_9046_11d1_b8b3_006008059382); } @@ -26288,6 +22316,7 @@ pub struct IPublishedApp_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPublishedApp2(::windows_core::IUnknown); impl IPublishedApp2 { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> ::windows_core::Result<()> { @@ -26333,25 +22362,9 @@ impl IPublishedApp2 { } } ::windows_core::imp::interface_hierarchy!(IPublishedApp2, ::windows_core::IUnknown, IShellApp, IPublishedApp); -impl ::core::cmp::PartialEq for IPublishedApp2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPublishedApp2 {} -impl ::core::fmt::Debug for IPublishedApp2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPublishedApp2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPublishedApp2 { type Vtable = IPublishedApp2_Vtbl; } -impl ::core::clone::Clone for IPublishedApp2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPublishedApp2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12b81347_1b3a_4a04_aa61_3f768b67fd7e); } @@ -26366,6 +22379,7 @@ pub struct IPublishedApp2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPublishingWizard(::windows_core::IUnknown); impl IPublishingWizard { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -26401,25 +22415,9 @@ impl IPublishingWizard { } } ::windows_core::imp::interface_hierarchy!(IPublishingWizard, ::windows_core::IUnknown, IWizardExtension); -impl ::core::cmp::PartialEq for IPublishingWizard { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPublishingWizard {} -impl ::core::fmt::Debug for IPublishingWizard { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPublishingWizard").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPublishingWizard { type Vtable = IPublishingWizard_Vtbl; } -impl ::core::clone::Clone for IPublishingWizard { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPublishingWizard { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa9198bb_ccec_472d_beed_19a4f6733f7a); } @@ -26438,6 +22436,7 @@ pub struct IPublishingWizard_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryAssociations(::windows_core::IUnknown); impl IQueryAssociations { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] @@ -26479,25 +22478,9 @@ impl IQueryAssociations { } } ::windows_core::imp::interface_hierarchy!(IQueryAssociations, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryAssociations { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryAssociations {} -impl ::core::fmt::Debug for IQueryAssociations { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryAssociations").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryAssociations { type Vtable = IQueryAssociations_Vtbl; } -impl ::core::clone::Clone for IQueryAssociations { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryAssociations { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc46ca590_3c3f_11d2_bee6_0000f805ca57); } @@ -26519,6 +22502,7 @@ pub struct IQueryAssociations_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryCancelAutoPlay(::windows_core::IUnknown); impl IQueryCancelAutoPlay { pub unsafe fn AllowAutoPlay(&self, pszpath: P0, dwcontenttype: u32, pszlabel: P1, dwserialnumber: u32) -> ::windows_core::Result<()> @@ -26530,25 +22514,9 @@ impl IQueryCancelAutoPlay { } } ::windows_core::imp::interface_hierarchy!(IQueryCancelAutoPlay, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryCancelAutoPlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryCancelAutoPlay {} -impl ::core::fmt::Debug for IQueryCancelAutoPlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryCancelAutoPlay").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryCancelAutoPlay { type Vtable = IQueryCancelAutoPlay_Vtbl; } -impl ::core::clone::Clone for IQueryCancelAutoPlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryCancelAutoPlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xddefe873_6997_4e68_be26_39b633adbe12); } @@ -26560,6 +22528,7 @@ pub struct IQueryCancelAutoPlay_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryCodePage(::windows_core::IUnknown); impl IQueryCodePage { pub unsafe fn GetCodePage(&self) -> ::windows_core::Result { @@ -26571,25 +22540,9 @@ impl IQueryCodePage { } } ::windows_core::imp::interface_hierarchy!(IQueryCodePage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryCodePage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryCodePage {} -impl ::core::fmt::Debug for IQueryCodePage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryCodePage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryCodePage { type Vtable = IQueryCodePage_Vtbl; } -impl ::core::clone::Clone for IQueryCodePage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryCodePage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7b236ce_ee80_11d0_985f_006008059382); } @@ -26602,6 +22555,7 @@ pub struct IQueryCodePage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryContinue(::windows_core::IUnknown); impl IQueryContinue { pub unsafe fn QueryContinue(&self) -> ::windows_core::Result<()> { @@ -26609,25 +22563,9 @@ impl IQueryContinue { } } ::windows_core::imp::interface_hierarchy!(IQueryContinue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryContinue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryContinue {} -impl ::core::fmt::Debug for IQueryContinue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryContinue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryContinue { type Vtable = IQueryContinue_Vtbl; } -impl ::core::clone::Clone for IQueryContinue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryContinue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7307055c_b24a_486b_9f25_163e597a28a9); } @@ -26639,6 +22577,7 @@ pub struct IQueryContinue_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryContinueWithStatus(::windows_core::IUnknown); impl IQueryContinueWithStatus { pub unsafe fn QueryContinue(&self) -> ::windows_core::Result<()> { @@ -26652,25 +22591,9 @@ impl IQueryContinueWithStatus { } } ::windows_core::imp::interface_hierarchy!(IQueryContinueWithStatus, ::windows_core::IUnknown, IQueryContinue); -impl ::core::cmp::PartialEq for IQueryContinueWithStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryContinueWithStatus {} -impl ::core::fmt::Debug for IQueryContinueWithStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryContinueWithStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IQueryContinueWithStatus { type Vtable = IQueryContinueWithStatus_Vtbl; } -impl ::core::clone::Clone for IQueryContinueWithStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryContinueWithStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9090be5b_502b_41fb_bccc_0049a6c7254b); } @@ -26682,6 +22605,7 @@ pub struct IQueryContinueWithStatus_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IQueryInfo(::windows_core::IUnknown); impl IQueryInfo { pub unsafe fn GetInfoTip(&self, dwflags: QITIPF_FLAGS) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -26689,30 +22613,14 @@ impl IQueryInfo { (::windows_core::Interface::vtable(self).GetInfoTip)(::windows_core::Interface::as_raw(self), dwflags.0 as _, &mut result__).from_abi(result__) } pub unsafe fn GetInfoFlags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetInfoFlags)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(IQueryInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IQueryInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IQueryInfo {} -impl ::core::fmt::Debug for IQueryInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IQueryInfo").field(&self.0).finish() + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetInfoFlags)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } +::windows_core::imp::interface_hierarchy!(IQueryInfo, ::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IQueryInfo { type Vtable = IQueryInfo_Vtbl; } -impl ::core::clone::Clone for IQueryInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IQueryInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00021500_0000_0000_c000_000000000046); } @@ -26725,6 +22633,7 @@ pub struct IQueryInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRegTreeItem(::windows_core::IUnknown); impl IRegTreeItem { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26743,25 +22652,9 @@ impl IRegTreeItem { } } ::windows_core::imp::interface_hierarchy!(IRegTreeItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRegTreeItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRegTreeItem {} -impl ::core::fmt::Debug for IRegTreeItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRegTreeItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRegTreeItem { type Vtable = IRegTreeItem_Vtbl; } -impl ::core::clone::Clone for IRegTreeItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRegTreeItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9521922_0812_4d44_9ec3_7fd38c726f3d); } @@ -26780,6 +22673,7 @@ pub struct IRegTreeItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRelatedItem(::windows_core::IUnknown); impl IRelatedItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -26794,25 +22688,9 @@ impl IRelatedItem { } } ::windows_core::imp::interface_hierarchy!(IRelatedItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRelatedItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRelatedItem {} -impl ::core::fmt::Debug for IRelatedItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRelatedItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRelatedItem { type Vtable = IRelatedItem_Vtbl; } -impl ::core::clone::Clone for IRelatedItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRelatedItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa73ce67a_8ab1_44f1_8d43_d2fcbf6b1cd0); } @@ -26828,6 +22706,7 @@ pub struct IRelatedItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRemoteComputer(::windows_core::IUnknown); impl IRemoteComputer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26841,25 +22720,9 @@ impl IRemoteComputer { } } ::windows_core::imp::interface_hierarchy!(IRemoteComputer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRemoteComputer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRemoteComputer {} -impl ::core::fmt::Debug for IRemoteComputer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRemoteComputer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRemoteComputer { type Vtable = IRemoteComputer_Vtbl; } -impl ::core::clone::Clone for IRemoteComputer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRemoteComputer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214fe_0000_0000_c000_000000000046); } @@ -26874,6 +22737,7 @@ pub struct IRemoteComputer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResolveShellLink(::windows_core::IUnknown); impl IResolveShellLink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -26887,25 +22751,9 @@ impl IResolveShellLink { } } ::windows_core::imp::interface_hierarchy!(IResolveShellLink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResolveShellLink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResolveShellLink {} -impl ::core::fmt::Debug for IResolveShellLink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResolveShellLink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResolveShellLink { type Vtable = IResolveShellLink_Vtbl; } -impl ::core::clone::Clone for IResolveShellLink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResolveShellLink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5cd52983_9449_11d2_963a_00c04f79adf0); } @@ -26920,6 +22768,7 @@ pub struct IResolveShellLink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IResultsFolder(::windows_core::IUnknown); impl IResultsFolder { pub unsafe fn AddItem(&self, psi: P0) -> ::windows_core::Result<()> @@ -26949,25 +22798,9 @@ impl IResultsFolder { } } ::windows_core::imp::interface_hierarchy!(IResultsFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IResultsFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IResultsFolder {} -impl ::core::fmt::Debug for IResultsFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IResultsFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IResultsFolder { type Vtable = IResultsFolder_Vtbl; } -impl ::core::clone::Clone for IResultsFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IResultsFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96e5ae6d_6ae1_4b1c_900c_c6480eaa8828); } @@ -26989,6 +22822,7 @@ pub struct IResultsFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRunnableTask(::windows_core::IUnknown); impl IRunnableTask { pub unsafe fn Run(&self) -> ::windows_core::Result<()> { @@ -27013,25 +22847,9 @@ impl IRunnableTask { } } ::windows_core::imp::interface_hierarchy!(IRunnableTask, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRunnableTask { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRunnableTask {} -impl ::core::fmt::Debug for IRunnableTask { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRunnableTask").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRunnableTask { type Vtable = IRunnableTask_Vtbl; } -impl ::core::clone::Clone for IRunnableTask { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRunnableTask { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85788d00_6807_11d0_b810_00c04fd706ec); } @@ -27051,6 +22869,7 @@ pub struct IRunnableTask_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScriptErrorList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IScriptErrorList { @@ -27130,30 +22949,10 @@ impl IScriptErrorList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IScriptErrorList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IScriptErrorList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IScriptErrorList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IScriptErrorList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScriptErrorList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IScriptErrorList { type Vtable = IScriptErrorList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IScriptErrorList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IScriptErrorList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf3470f24_15fd_11d2_bb2e_00805ff7efca); } @@ -27200,6 +22999,7 @@ pub struct IScriptErrorList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchBoxInfo(::windows_core::IUnknown); impl ISearchBoxInfo { pub unsafe fn GetCondition(&self) -> ::windows_core::Result @@ -27215,25 +23015,9 @@ impl ISearchBoxInfo { } } ::windows_core::imp::interface_hierarchy!(ISearchBoxInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchBoxInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchBoxInfo {} -impl ::core::fmt::Debug for ISearchBoxInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchBoxInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchBoxInfo { type Vtable = ISearchBoxInfo_Vtbl; } -impl ::core::clone::Clone for ISearchBoxInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchBoxInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6af6e03f_d664_4ef4_9626_f7e0ed36755e); } @@ -27246,6 +23030,7 @@ pub struct ISearchBoxInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchContext(::windows_core::IUnknown); impl ISearchContext { pub unsafe fn GetSearchUrl(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -27262,25 +23047,9 @@ impl ISearchContext { } } ::windows_core::imp::interface_hierarchy!(ISearchContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchContext {} -impl ::core::fmt::Debug for ISearchContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchContext { type Vtable = ISearchContext_Vtbl; } -impl ::core::clone::Clone for ISearchContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09f656a2_41af_480c_88f7_16cc0d164615); } @@ -27294,6 +23063,7 @@ pub struct ISearchContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISearchFolderItemFactory(::windows_core::IUnknown); impl ISearchFolderItemFactory { pub unsafe fn SetDisplayName(&self, pszdisplayname: P0) -> ::windows_core::Result<()> @@ -27360,25 +23130,9 @@ impl ISearchFolderItemFactory { } } ::windows_core::imp::interface_hierarchy!(ISearchFolderItemFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISearchFolderItemFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISearchFolderItemFactory {} -impl ::core::fmt::Debug for ISearchFolderItemFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISearchFolderItemFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISearchFolderItemFactory { type Vtable = ISearchFolderItemFactory_Vtbl; } -impl ::core::clone::Clone for ISearchFolderItemFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISearchFolderItemFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa0ffbc28_5482_4366_be27_3e81e78e06c2); } @@ -27419,6 +23173,7 @@ pub struct ISearchFolderItemFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharedBitmap(::windows_core::IUnknown); impl ISharedBitmap { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -27453,25 +23208,9 @@ impl ISharedBitmap { } } ::windows_core::imp::interface_hierarchy!(ISharedBitmap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISharedBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISharedBitmap {} -impl ::core::fmt::Debug for ISharedBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISharedBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISharedBitmap { type Vtable = ISharedBitmap_Vtbl; } -impl ::core::clone::Clone for ISharedBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharedBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x091162a4_bc96_411f_aae8_c5122cd03363); } @@ -27499,6 +23238,7 @@ pub struct ISharedBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISharingConfigurationManager(::windows_core::IUnknown); impl ISharingConfigurationManager { pub unsafe fn CreateShare(&self, dsid: DEF_SHARE_ID, role: SHARE_ROLE) -> ::windows_core::Result<()> { @@ -27525,25 +23265,9 @@ impl ISharingConfigurationManager { } } ::windows_core::imp::interface_hierarchy!(ISharingConfigurationManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISharingConfigurationManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISharingConfigurationManager {} -impl ::core::fmt::Debug for ISharingConfigurationManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISharingConfigurationManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISharingConfigurationManager { type Vtable = ISharingConfigurationManager_Vtbl; } -impl ::core::clone::Clone for ISharingConfigurationManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISharingConfigurationManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4cd448a_9c86_4466_9201_2e62105b87ae); } @@ -27561,6 +23285,7 @@ pub struct ISharingConfigurationManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellApp(::windows_core::IUnknown); impl IShellApp { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> ::windows_core::Result<()> { @@ -27585,25 +23310,9 @@ impl IShellApp { } } ::windows_core::imp::interface_hierarchy!(IShellApp, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellApp {} -impl ::core::fmt::Debug for IShellApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellApp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellApp { type Vtable = IShellApp_Vtbl; } -impl ::core::clone::Clone for IShellApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3e14960_935f_11d1_b8b8_006008059382); } @@ -27626,6 +23335,7 @@ pub struct IShellApp_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellBrowser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IShellBrowser { @@ -27736,30 +23446,10 @@ impl IShellBrowser { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IShellBrowser, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IShellBrowser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IShellBrowser {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IShellBrowser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellBrowser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IShellBrowser { type Vtable = IShellBrowser_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IShellBrowser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IShellBrowser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e2_0000_0000_c000_000000000046); } @@ -27820,6 +23510,7 @@ pub struct IShellBrowser_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellChangeNotify(::windows_core::IUnknown); impl IShellChangeNotify { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -27829,25 +23520,9 @@ impl IShellChangeNotify { } } ::windows_core::imp::interface_hierarchy!(IShellChangeNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellChangeNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellChangeNotify {} -impl ::core::fmt::Debug for IShellChangeNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellChangeNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellChangeNotify { type Vtable = IShellChangeNotify_Vtbl; } -impl ::core::clone::Clone for IShellChangeNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellChangeNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd82be2b1_5764_11d0_a96e_00c04fd705a2); } @@ -27862,6 +23537,7 @@ pub struct IShellChangeNotify_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDetails(::windows_core::IUnknown); impl IShellDetails { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -27874,25 +23550,9 @@ impl IShellDetails { } } ::windows_core::imp::interface_hierarchy!(IShellDetails, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellDetails { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellDetails {} -impl ::core::fmt::Debug for IShellDetails { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDetails").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellDetails { type Vtable = IShellDetails_Vtbl; } -impl ::core::clone::Clone for IShellDetails { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellDetails { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214ec_0000_0000_c000_000000000046); } @@ -27909,6 +23569,7 @@ pub struct IShellDetails_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch { @@ -28010,30 +23671,10 @@ impl IShellDispatch { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch { type Vtable = IShellDispatch_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8f015c0_c278_11ce_a49e_444553540000); } @@ -28090,6 +23731,7 @@ pub struct IShellDispatch_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch2 { @@ -28269,30 +23911,10 @@ impl IShellDispatch2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch2 { type Vtable = IShellDispatch2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4c6892c_3ba9_11d2_9dea_00c04fb16162); } @@ -28335,6 +23957,7 @@ pub struct IShellDispatch2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch3 { @@ -28522,30 +24145,10 @@ impl IShellDispatch3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch3 { type Vtable = IShellDispatch3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x177160ca_bb5a_411c_841d_bd38facdeaa0); } @@ -28562,6 +24165,7 @@ pub struct IShellDispatch3_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch4 { @@ -28770,30 +24374,10 @@ impl IShellDispatch4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch4, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch4 { type Vtable = IShellDispatch4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xefd84b2d_4bcf_4298_be25_eb542a59fbda); } @@ -28816,6 +24400,7 @@ pub struct IShellDispatch4_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch5(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch5 { @@ -29027,30 +24612,10 @@ impl IShellDispatch5 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch5, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch5 { type Vtable = IShellDispatch5_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x866738b9_6cf2_4de8_8767_f794ebe74f4e); } @@ -29064,6 +24629,7 @@ pub struct IShellDispatch5_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellDispatch6(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellDispatch6 { @@ -29278,30 +24844,10 @@ impl IShellDispatch6 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellDispatch6, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4, IShellDispatch5); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellDispatch6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellDispatch6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellDispatch6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellDispatch6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellDispatch6 { type Vtable = IShellDispatch6_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellDispatch6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellDispatch6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x286e6f1b_7113_4355_9562_96b7e9d64c54); } @@ -29314,6 +24860,7 @@ pub struct IShellDispatch6_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellExtInit(::windows_core::IUnknown); impl IShellExtInit { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -29327,25 +24874,9 @@ impl IShellExtInit { } } ::windows_core::imp::interface_hierarchy!(IShellExtInit, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellExtInit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellExtInit {} -impl ::core::fmt::Debug for IShellExtInit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellExtInit").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellExtInit { type Vtable = IShellExtInit_Vtbl; } -impl ::core::clone::Clone for IShellExtInit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellExtInit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e8_0000_0000_c000_000000000046); } @@ -29361,6 +24892,7 @@ pub struct IShellExtInit_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFavoritesNameSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellFavoritesNameSpace { @@ -29420,32 +24952,12 @@ impl IShellFavoritesNameSpace { } } #[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IShellFavoritesNameSpace, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellFavoritesNameSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellFavoritesNameSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellFavoritesNameSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFavoritesNameSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IShellFavoritesNameSpace, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellFavoritesNameSpace { type Vtable = IShellFavoritesNameSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellFavoritesNameSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellFavoritesNameSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55136804_b2de_11d1_b9f2_00a0c98bc547); } @@ -29479,6 +24991,7 @@ pub struct IShellFavoritesNameSpace_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolder(::windows_core::IUnknown); impl IShellFolder { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -29568,25 +25081,9 @@ impl IShellFolder { } } ::windows_core::imp::interface_hierarchy!(IShellFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellFolder {} -impl ::core::fmt::Debug for IShellFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellFolder { type Vtable = IShellFolder_Vtbl; } -impl ::core::clone::Clone for IShellFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e6_0000_0000_c000_000000000046); } @@ -29637,6 +25134,7 @@ pub struct IShellFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolder2(::windows_core::IUnknown); impl IShellFolder2 { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -29757,25 +25255,9 @@ impl IShellFolder2 { } } ::windows_core::imp::interface_hierarchy!(IShellFolder2, ::windows_core::IUnknown, IShellFolder); -impl ::core::cmp::PartialEq for IShellFolder2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellFolder2 {} -impl ::core::fmt::Debug for IShellFolder2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolder2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellFolder2 { type Vtable = IShellFolder2_Vtbl; } -impl ::core::clone::Clone for IShellFolder2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellFolder2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x93f2f68c_1d1b_11d3_a30e_00c04f79abd1); } @@ -29802,6 +25284,7 @@ pub struct IShellFolder2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderBand(::windows_core::IUnknown); impl IShellFolderBand { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -29824,25 +25307,9 @@ impl IShellFolderBand { } } ::windows_core::imp::interface_hierarchy!(IShellFolderBand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellFolderBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellFolderBand {} -impl ::core::fmt::Debug for IShellFolderBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderBand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellFolderBand { type Vtable = IShellFolderBand_Vtbl; } -impl ::core::clone::Clone for IShellFolderBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellFolderBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7fe80cc8_c247_11d0_b93a_00a0c90312e1); } @@ -29865,6 +25332,7 @@ pub struct IShellFolderBand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderView(::windows_core::IUnknown); impl IShellFolderView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30027,25 +25495,9 @@ impl IShellFolderView { } } ::windows_core::imp::interface_hierarchy!(IShellFolderView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellFolderView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellFolderView {} -impl ::core::fmt::Debug for IShellFolderView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellFolderView { type Vtable = IShellFolderView_Vtbl; } -impl ::core::clone::Clone for IShellFolderView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellFolderView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37a378c0_f82d_11ce_ae65_08002b2e1262); } @@ -30138,6 +25590,7 @@ pub struct IShellFolderView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderViewCB(::windows_core::IUnknown); impl IShellFolderViewCB { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -30151,25 +25604,9 @@ impl IShellFolderViewCB { } } ::windows_core::imp::interface_hierarchy!(IShellFolderViewCB, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellFolderViewCB { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellFolderViewCB {} -impl ::core::fmt::Debug for IShellFolderViewCB { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderViewCB").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellFolderViewCB { type Vtable = IShellFolderViewCB_Vtbl; } -impl ::core::clone::Clone for IShellFolderViewCB { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellFolderViewCB { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2047e320_f2a9_11ce_ae65_08002b2e1262); } @@ -30185,6 +25622,7 @@ pub struct IShellFolderViewCB_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderViewDual(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual { @@ -30246,30 +25684,10 @@ impl IShellFolderViewDual { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellFolderViewDual, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellFolderViewDual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellFolderViewDual {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellFolderViewDual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderViewDual").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellFolderViewDual { type Vtable = IShellFolderViewDual_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellFolderViewDual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellFolderViewDual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7a1af80_4d96_11cf_960c_0080c7f4ee85); } @@ -30315,6 +25733,7 @@ pub struct IShellFolderViewDual_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderViewDual2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual2 { @@ -30386,30 +25805,10 @@ impl IShellFolderViewDual2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellFolderViewDual2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellFolderViewDual2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellFolderViewDual2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellFolderViewDual2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderViewDual2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellFolderViewDual2 { type Vtable = IShellFolderViewDual2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellFolderViewDual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellFolderViewDual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31c147b6_0ade_4a3c_b514_ddf932ef6d17); } @@ -30425,6 +25824,7 @@ pub struct IShellFolderViewDual2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellFolderViewDual3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellFolderViewDual3 { @@ -30536,30 +25936,10 @@ impl IShellFolderViewDual3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellFolderViewDual3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual, IShellFolderViewDual2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellFolderViewDual3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellFolderViewDual3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellFolderViewDual3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellFolderViewDual3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellFolderViewDual3 { type Vtable = IShellFolderViewDual3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellFolderViewDual3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellFolderViewDual3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29ec8e6c_46d3_411f_baaa_611a6c9cac66); } @@ -30580,6 +25960,7 @@ pub struct IShellFolderViewDual3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellIcon(::windows_core::IUnknown); impl IShellIcon { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -30590,25 +25971,9 @@ impl IShellIcon { } } ::windows_core::imp::interface_hierarchy!(IShellIcon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellIcon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellIcon {} -impl ::core::fmt::Debug for IShellIcon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellIcon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellIcon { type Vtable = IShellIcon_Vtbl; } -impl ::core::clone::Clone for IShellIcon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellIcon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e5_0000_0000_c000_000000000046); } @@ -30623,6 +25988,7 @@ pub struct IShellIcon_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellIconOverlay(::windows_core::IUnknown); impl IShellIconOverlay { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -30637,25 +26003,9 @@ impl IShellIconOverlay { } } ::windows_core::imp::interface_hierarchy!(IShellIconOverlay, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellIconOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellIconOverlay {} -impl ::core::fmt::Debug for IShellIconOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellIconOverlay").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellIconOverlay { type Vtable = IShellIconOverlay_Vtbl; } -impl ::core::clone::Clone for IShellIconOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellIconOverlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d688a70_c613_11d0_999b_00c04fd655e1); } @@ -30674,6 +26024,7 @@ pub struct IShellIconOverlay_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellIconOverlayIdentifier(::windows_core::IUnknown); impl IShellIconOverlayIdentifier { pub unsafe fn IsMemberOf(&self, pwszpath: P0, dwattrib: u32) -> ::windows_core::Result<()> @@ -30691,25 +26042,9 @@ impl IShellIconOverlayIdentifier { } } ::windows_core::imp::interface_hierarchy!(IShellIconOverlayIdentifier, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellIconOverlayIdentifier { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellIconOverlayIdentifier {} -impl ::core::fmt::Debug for IShellIconOverlayIdentifier { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellIconOverlayIdentifier").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellIconOverlayIdentifier { type Vtable = IShellIconOverlayIdentifier_Vtbl; } -impl ::core::clone::Clone for IShellIconOverlayIdentifier { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellIconOverlayIdentifier { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0c6c4200_c589_11d0_999a_00c04fd655e1); } @@ -30723,6 +26058,7 @@ pub struct IShellIconOverlayIdentifier_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellIconOverlayManager(::windows_core::IUnknown); impl IShellIconOverlayManager { pub unsafe fn GetFileOverlayInfo(&self, pwszpath: P0, dwattrib: u32, pindex: *mut i32, dwflags: u32) -> ::windows_core::Result<()> @@ -30753,25 +26089,9 @@ impl IShellIconOverlayManager { } } ::windows_core::imp::interface_hierarchy!(IShellIconOverlayManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellIconOverlayManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellIconOverlayManager {} -impl ::core::fmt::Debug for IShellIconOverlayManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellIconOverlayManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellIconOverlayManager { type Vtable = IShellIconOverlayManager_Vtbl; } -impl ::core::clone::Clone for IShellIconOverlayManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellIconOverlayManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf10b5e34_dd3b_42a7_aa7d_2f4ec54bb09b); } @@ -30790,6 +26110,7 @@ pub struct IShellIconOverlayManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellImageData(::windows_core::IUnknown); impl IShellImageData { pub unsafe fn Decode(&self, dwflags: u32, cxdesired: u32, cydesired: u32) -> ::windows_core::Result<()> { @@ -30906,25 +26227,9 @@ impl IShellImageData { } } ::windows_core::imp::interface_hierarchy!(IShellImageData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellImageData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellImageData {} -impl ::core::fmt::Debug for IShellImageData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellImageData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellImageData { type Vtable = IShellImageData_Vtbl; } -impl ::core::clone::Clone for IShellImageData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellImageData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbfdeec12_8040_4403_a5ea_9e07dafcf530); } @@ -30977,6 +26282,7 @@ pub struct IShellImageData_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellImageDataAbort(::windows_core::IUnknown); impl IShellImageDataAbort { pub unsafe fn QueryAbort(&self) -> ::windows_core::Result<()> { @@ -30984,25 +26290,9 @@ impl IShellImageDataAbort { } } ::windows_core::imp::interface_hierarchy!(IShellImageDataAbort, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellImageDataAbort { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellImageDataAbort {} -impl ::core::fmt::Debug for IShellImageDataAbort { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellImageDataAbort").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellImageDataAbort { type Vtable = IShellImageDataAbort_Vtbl; } -impl ::core::clone::Clone for IShellImageDataAbort { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellImageDataAbort { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x53fb8e58_50c0_4003_b4aa_0c8df28e7f3a); } @@ -31014,6 +26304,7 @@ pub struct IShellImageDataAbort_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellImageDataFactory(::windows_core::IUnknown); impl IShellImageDataFactory { pub unsafe fn CreateIShellImageData(&self) -> ::windows_core::Result { @@ -31045,25 +26336,9 @@ impl IShellImageDataFactory { } } ::windows_core::imp::interface_hierarchy!(IShellImageDataFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellImageDataFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellImageDataFactory {} -impl ::core::fmt::Debug for IShellImageDataFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellImageDataFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellImageDataFactory { type Vtable = IShellImageDataFactory_Vtbl; } -impl ::core::clone::Clone for IShellImageDataFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellImageDataFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9be8ed5c_edab_4d75_90f3_bd5bdbb21c82); } @@ -31081,6 +26356,7 @@ pub struct IShellImageDataFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItem(::windows_core::IUnknown); impl IShellItem { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31116,25 +26392,9 @@ impl IShellItem { } } ::windows_core::imp::interface_hierarchy!(IShellItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItem {} -impl ::core::fmt::Debug for IShellItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItem { type Vtable = IShellItem_Vtbl; } -impl ::core::clone::Clone for IShellItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43826d1e_e718_42ee_bc55_a1e261c37bfe); } @@ -31156,6 +26416,7 @@ pub struct IShellItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItem2(::windows_core::IUnknown); impl IShellItem2 { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31284,25 +26545,9 @@ impl IShellItem2 { } } ::windows_core::imp::interface_hierarchy!(IShellItem2, ::windows_core::IUnknown, IShellItem); -impl ::core::cmp::PartialEq for IShellItem2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItem2 {} -impl ::core::fmt::Debug for IShellItem2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItem2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItem2 { type Vtable = IShellItem2_Vtbl; } -impl ::core::clone::Clone for IShellItem2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItem2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e9fb0d3_919f_4307_ab2e_9b1860310c93); } @@ -31365,6 +26610,7 @@ pub struct IShellItem2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItemArray(::windows_core::IUnknown); impl IShellItemArray { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -31415,25 +26661,9 @@ impl IShellItemArray { } } ::windows_core::imp::interface_hierarchy!(IShellItemArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellItemArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItemArray {} -impl ::core::fmt::Debug for IShellItemArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItemArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItemArray { type Vtable = IShellItemArray_Vtbl; } -impl ::core::clone::Clone for IShellItemArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItemArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb63ea76d_1f85_456f_a19c_48159efa858b); } @@ -31463,6 +26693,7 @@ pub struct IShellItemArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItemFilter(::windows_core::IUnknown); impl IShellItemFilter { pub unsafe fn IncludeItem(&self, psi: P0) -> ::windows_core::Result<()> @@ -31480,25 +26711,9 @@ impl IShellItemFilter { } } ::windows_core::imp::interface_hierarchy!(IShellItemFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellItemFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItemFilter {} -impl ::core::fmt::Debug for IShellItemFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItemFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItemFilter { type Vtable = IShellItemFilter_Vtbl; } -impl ::core::clone::Clone for IShellItemFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItemFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2659b475_eeb8_48b7_8f07_b378810f48cf); } @@ -31511,6 +26726,7 @@ pub struct IShellItemFilter_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItemImageFactory(::windows_core::IUnknown); impl IShellItemImageFactory { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -31521,25 +26737,9 @@ impl IShellItemImageFactory { } } ::windows_core::imp::interface_hierarchy!(IShellItemImageFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellItemImageFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItemImageFactory {} -impl ::core::fmt::Debug for IShellItemImageFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItemImageFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItemImageFactory { type Vtable = IShellItemImageFactory_Vtbl; } -impl ::core::clone::Clone for IShellItemImageFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItemImageFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbcc18b79_ba16_442f_80c4_8a59c30c463b); } @@ -31554,6 +26754,7 @@ pub struct IShellItemImageFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellItemResources(::windows_core::IUnknown); impl IShellItemResources { pub unsafe fn GetAttributes(&self) -> ::windows_core::Result { @@ -31604,25 +26805,9 @@ impl IShellItemResources { } } ::windows_core::imp::interface_hierarchy!(IShellItemResources, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellItemResources { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellItemResources {} -impl ::core::fmt::Debug for IShellItemResources { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellItemResources").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellItemResources { type Vtable = IShellItemResources_Vtbl; } -impl ::core::clone::Clone for IShellItemResources { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellItemResources { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xff5693be_2ce0_4d48_b5c5_40817d1acdb9); } @@ -31649,6 +26834,7 @@ pub struct IShellItemResources_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLibrary(::windows_core::IUnknown); impl IShellLibrary { pub unsafe fn LoadLibraryFromItem(&self, psilibrary: P0, grfmode: u32) -> ::windows_core::Result<()> @@ -31744,25 +26930,9 @@ impl IShellLibrary { } } ::windows_core::imp::interface_hierarchy!(IShellLibrary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellLibrary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellLibrary {} -impl ::core::fmt::Debug for IShellLibrary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLibrary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellLibrary { type Vtable = IShellLibrary_Vtbl; } -impl ::core::clone::Clone for IShellLibrary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellLibrary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11a66efa_382e_451a_9234_1e0e12ef3085); } @@ -31790,6 +26960,7 @@ pub struct IShellLibrary_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLinkA(::windows_core::IUnknown); impl IShellLinkA { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -31884,25 +27055,9 @@ impl IShellLinkA { } } ::windows_core::imp::interface_hierarchy!(IShellLinkA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellLinkA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellLinkA {} -impl ::core::fmt::Debug for IShellLinkA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLinkA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellLinkA { type Vtable = IShellLinkA_Vtbl; } -impl ::core::clone::Clone for IShellLinkA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellLinkA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214ee_0000_0000_c000_000000000046); } @@ -31949,6 +27104,7 @@ pub struct IShellLinkA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLinkDataList(::windows_core::IUnknown); impl IShellLinkDataList { pub unsafe fn AddDataBlock(&self, pdatablock: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -31969,25 +27125,9 @@ impl IShellLinkDataList { } } ::windows_core::imp::interface_hierarchy!(IShellLinkDataList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellLinkDataList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellLinkDataList {} -impl ::core::fmt::Debug for IShellLinkDataList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLinkDataList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellLinkDataList { type Vtable = IShellLinkDataList_Vtbl; } -impl ::core::clone::Clone for IShellLinkDataList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellLinkDataList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45e2b4ae_b1c3_11d0_b92f_00a0c90312e1); } @@ -32004,6 +27144,7 @@ pub struct IShellLinkDataList_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLinkDual(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellLinkDual { @@ -32082,30 +27223,10 @@ impl IShellLinkDual { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellLinkDual, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellLinkDual { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellLinkDual {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellLinkDual { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLinkDual").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellLinkDual { type Vtable = IShellLinkDual_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellLinkDual { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellLinkDual { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88a05c00_f000_11ce_8350_444553540000); } @@ -32137,6 +27258,7 @@ pub struct IShellLinkDual_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLinkDual2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellLinkDual2 { @@ -32213,38 +27335,18 @@ impl IShellLinkDual2 { } #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] - pub unsafe fn Target(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Target)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IShellLinkDual2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellLinkDual); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellLinkDual2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 + pub unsafe fn Target(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).Target)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellLinkDual2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellLinkDual2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLinkDual2").field(&self.0).finish() - } -} +::windows_core::imp::interface_hierarchy!(IShellLinkDual2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellLinkDual); #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellLinkDual2 { type Vtable = IShellLinkDual2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellLinkDual2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellLinkDual2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x317ee249_f12e_11d2_b1e4_00c04f8eeb3e); } @@ -32260,6 +27362,7 @@ pub struct IShellLinkDual2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellLinkW(::windows_core::IUnknown); impl IShellLinkW { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"] @@ -32354,25 +27457,9 @@ impl IShellLinkW { } } ::windows_core::imp::interface_hierarchy!(IShellLinkW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellLinkW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellLinkW {} -impl ::core::fmt::Debug for IShellLinkW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellLinkW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellLinkW { type Vtable = IShellLinkW_Vtbl; } -impl ::core::clone::Clone for IShellLinkW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellLinkW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214f9_0000_0000_c000_000000000046); } @@ -32419,6 +27506,7 @@ pub struct IShellLinkW_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellMenu(::windows_core::IUnknown); impl IShellMenu { pub unsafe fn Initialize(&self, psmc: P0, uid: u32, uidancestor: u32, dwflags: u32) -> ::windows_core::Result<()> @@ -32476,25 +27564,9 @@ impl IShellMenu { } } ::windows_core::imp::interface_hierarchy!(IShellMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellMenu {} -impl ::core::fmt::Debug for IShellMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellMenu { type Vtable = IShellMenu_Vtbl; } -impl ::core::clone::Clone for IShellMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee1f7637_e138_11d1_8379_00c04fd918d0); } @@ -32532,6 +27604,7 @@ pub struct IShellMenu_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellMenuCallback(::windows_core::IUnknown); impl IShellMenuCallback { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -32545,25 +27618,9 @@ impl IShellMenuCallback { } } ::windows_core::imp::interface_hierarchy!(IShellMenuCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellMenuCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellMenuCallback {} -impl ::core::fmt::Debug for IShellMenuCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellMenuCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellMenuCallback { type Vtable = IShellMenuCallback_Vtbl; } -impl ::core::clone::Clone for IShellMenuCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellMenuCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ca300a1_9b8d_11d1_8b22_00c04fd918d0); } @@ -32579,6 +27636,7 @@ pub struct IShellMenuCallback_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellNameSpace(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellNameSpace { @@ -32731,30 +27789,10 @@ impl IShellNameSpace { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellNameSpace, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFavoritesNameSpace); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellNameSpace { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellNameSpace {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellNameSpace { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellNameSpace").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellNameSpace { type Vtable = IShellNameSpace_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellNameSpace { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellNameSpace { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe572d3c9_37be_4ae2_825d_d521763e3108); } @@ -32805,6 +27843,7 @@ pub struct IShellNameSpace_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellPropSheetExt(::windows_core::IUnknown); impl IShellPropSheetExt { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] @@ -32825,25 +27864,9 @@ impl IShellPropSheetExt { } } ::windows_core::imp::interface_hierarchy!(IShellPropSheetExt, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellPropSheetExt { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellPropSheetExt {} -impl ::core::fmt::Debug for IShellPropSheetExt { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellPropSheetExt").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellPropSheetExt { type Vtable = IShellPropSheetExt_Vtbl; } -impl ::core::clone::Clone for IShellPropSheetExt { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellPropSheetExt { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e9_0000_0000_c000_000000000046); } @@ -32862,6 +27885,7 @@ pub struct IShellPropSheetExt_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellRunDll(::windows_core::IUnknown); impl IShellRunDll { pub unsafe fn Run(&self, pszargs: P0) -> ::windows_core::Result<()> @@ -32872,25 +27896,9 @@ impl IShellRunDll { } } ::windows_core::imp::interface_hierarchy!(IShellRunDll, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellRunDll { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellRunDll {} -impl ::core::fmt::Debug for IShellRunDll { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellRunDll").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellRunDll { type Vtable = IShellRunDll_Vtbl; } -impl ::core::clone::Clone for IShellRunDll { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellRunDll { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfce4bde0_4b68_4b80_8e9c_7426315a7388); } @@ -32902,6 +27910,7 @@ pub struct IShellRunDll_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellService(::windows_core::IUnknown); impl IShellService { pub unsafe fn SetOwner(&self, punkowner: P0) -> ::windows_core::Result<()> @@ -32912,25 +27921,9 @@ impl IShellService { } } ::windows_core::imp::interface_hierarchy!(IShellService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellService {} -impl ::core::fmt::Debug for IShellService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellService { type Vtable = IShellService_Vtbl; } -impl ::core::clone::Clone for IShellService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5836fb00_8187_11cf_a12b_00aa004ae837); } @@ -32942,6 +27935,7 @@ pub struct IShellService_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellTaskScheduler(::windows_core::IUnknown); impl IShellTaskScheduler { pub unsafe fn AddTask(&self, prt: P0, rtoid: *const ::windows_core::GUID, lparam: usize, dwpriority: u32) -> ::windows_core::Result<()> @@ -32966,25 +27960,9 @@ impl IShellTaskScheduler { } } ::windows_core::imp::interface_hierarchy!(IShellTaskScheduler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IShellTaskScheduler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IShellTaskScheduler {} -impl ::core::fmt::Debug for IShellTaskScheduler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellTaskScheduler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IShellTaskScheduler { type Vtable = IShellTaskScheduler_Vtbl; } -impl ::core::clone::Clone for IShellTaskScheduler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IShellTaskScheduler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6ccb7be0_6807_11d0_b810_00c04fd706ec); } @@ -33003,6 +27981,7 @@ pub struct IShellTaskScheduler_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper { @@ -33097,30 +28076,10 @@ impl IShellUIHelper { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper { type Vtable = IShellUIHelper_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x729fe2f8_1ea8_11d1_8f85_00c04fc2fbe1); } @@ -33173,6 +28132,7 @@ pub struct IShellUIHelper_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper2 { @@ -33354,30 +28314,10 @@ impl IShellUIHelper2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper2 { type Vtable = IShellUIHelper2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7fe6eda_1932_4281_b881_87b31b8bc52c); } @@ -33427,6 +28367,7 @@ pub struct IShellUIHelper2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper3 { @@ -33685,30 +28626,10 @@ impl IShellUIHelper3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper3, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper3 { type Vtable = IShellUIHelper3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x528df2ec_d419_40bc_9b6d_dcdbf9c1b25d); } @@ -33752,6 +28673,7 @@ pub struct IShellUIHelper3_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper4(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper4 { @@ -34120,30 +29042,10 @@ impl IShellUIHelper4 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper4, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper4 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper4").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper4 { type Vtable = IShellUIHelper4_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb36e6a53_8073_499e_824c_d776330a333e); } @@ -34204,6 +29106,7 @@ pub struct IShellUIHelper4_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper5(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper5 { @@ -34604,30 +29507,10 @@ impl IShellUIHelper5 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper5, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper5 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper5 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper5 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper5").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper5 { type Vtable = IShellUIHelper5_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper5 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper5 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2a08b09_103d_4d3f_b91c_ea455ca82efa); } @@ -34653,6 +29536,7 @@ pub struct IShellUIHelper5_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper6(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper6 { @@ -35137,30 +30021,10 @@ impl IShellUIHelper6 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper6, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper6 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper6 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper6 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper6").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper6 { type Vtable = IShellUIHelper6_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper6 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper6 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x987a573e_46ee_4e89_96ab_ddf7f8fdc98c); } @@ -35214,6 +30078,7 @@ pub struct IShellUIHelper6_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper7(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper7 { @@ -35768,30 +30633,10 @@ impl IShellUIHelper7 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper7, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper7 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper7 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper7 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper7").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper7 { type Vtable = IShellUIHelper7_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper7 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper7 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60e567c8_9573_4ab2_a264_637c6c161cb1); } @@ -35831,6 +30676,7 @@ pub struct IShellUIHelper7_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper8(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper8 { @@ -36413,30 +31259,10 @@ impl IShellUIHelper8 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper8, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper8 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper8 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper8 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper8").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper8 { type Vtable = IShellUIHelper8_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper8 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper8 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66debcf2_05b0_4f07_b49b_b96241a65db2); } @@ -36456,6 +31282,7 @@ pub struct IShellUIHelper8_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellUIHelper9(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellUIHelper9 { @@ -37042,30 +31869,10 @@ impl IShellUIHelper9 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IShellUIHelper9, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7, IShellUIHelper8); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellUIHelper9 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellUIHelper9 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellUIHelper9 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellUIHelper9").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellUIHelper9 { type Vtable = IShellUIHelper9_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellUIHelper9 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellUIHelper9 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6cdf73b0_7f2f_451f_bc0f_63e0f3284e54); } @@ -37079,6 +31886,7 @@ pub struct IShellUIHelper9_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellView(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IShellView { @@ -37159,30 +31967,10 @@ impl IShellView { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IShellView, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IShellView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IShellView {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IShellView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellView").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IShellView { type Vtable = IShellView_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IShellView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IShellView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x000214e3_0000_0000_c000_000000000046); } @@ -37221,6 +32009,7 @@ pub struct IShellView_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellView2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IShellView2 { @@ -37319,30 +32108,10 @@ impl IShellView2 { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IShellView2, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow, IShellView); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IShellView2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IShellView2 {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IShellView2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellView2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IShellView2 { type Vtable = IShellView2_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IShellView2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IShellView2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88e39e80_3578_11cf_ae69_08002b2e1262); } @@ -37368,6 +32137,7 @@ pub struct IShellView2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellView3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IShellView3 { @@ -37476,30 +32246,10 @@ impl IShellView3 { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IShellView3, ::windows_core::IUnknown, super::super::System::Ole::IOleWindow, IShellView, IShellView2); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IShellView3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IShellView3 {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IShellView3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellView3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IShellView3 { type Vtable = IShellView3_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IShellView3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IShellView3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec39fa88_f8af_41c5_8421_38bed28f4673); } @@ -37516,6 +32266,7 @@ pub struct IShellView3_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IShellWindows(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IShellWindows { @@ -37581,36 +32332,16 @@ impl IShellWindows { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).ProcessAttachDetach)(::windows_core::Interface::as_raw(self), fattach.into_param().abi()).ok() - } -} -#[cfg(feature = "Win32_System_Com")] -::windows_core::imp::interface_hierarchy!(IShellWindows, ::windows_core::IUnknown, super::super::System::Com::IDispatch); -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IShellWindows { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IShellWindows {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IShellWindows { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IShellWindows").field(&self.0).finish() + (::windows_core::Interface::vtable(self).ProcessAttachDetach)(::windows_core::Interface::as_raw(self), fattach.into_param().abi()).ok() } } #[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IShellWindows, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IShellWindows { type Vtable = IShellWindows_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IShellWindows { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IShellWindows { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85cb6900_4d95_11cf_960c_0080c7f4ee85); } @@ -37654,6 +32385,7 @@ pub struct IShellWindows_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISortColumnArray(::windows_core::IUnknown); impl ISortColumnArray { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -37671,25 +32403,9 @@ impl ISortColumnArray { } } ::windows_core::imp::interface_hierarchy!(ISortColumnArray, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISortColumnArray { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISortColumnArray {} -impl ::core::fmt::Debug for ISortColumnArray { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISortColumnArray").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISortColumnArray { type Vtable = ISortColumnArray_Vtbl; } -impl ::core::clone::Clone for ISortColumnArray { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISortColumnArray { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6dfc60fb_f2e9_459b_beb5_288f1a7c7d54); } @@ -37706,6 +32422,7 @@ pub struct ISortColumnArray_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStartMenuPinnedList(::windows_core::IUnknown); impl IStartMenuPinnedList { pub unsafe fn RemoveFromList(&self, pitem: P0) -> ::windows_core::Result<()> @@ -37716,25 +32433,9 @@ impl IStartMenuPinnedList { } } ::windows_core::imp::interface_hierarchy!(IStartMenuPinnedList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStartMenuPinnedList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStartMenuPinnedList {} -impl ::core::fmt::Debug for IStartMenuPinnedList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStartMenuPinnedList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStartMenuPinnedList { type Vtable = IStartMenuPinnedList_Vtbl; } -impl ::core::clone::Clone for IStartMenuPinnedList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStartMenuPinnedList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cd19ada_25a5_4a32_b3b7_347bee5be36b); } @@ -37746,6 +32447,7 @@ pub struct IStartMenuPinnedList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderBanners(::windows_core::IUnknown); impl IStorageProviderBanners { pub unsafe fn SetBanner(&self, provideridentity: P0, subscriptionid: P1, contentid: P2) -> ::windows_core::Result<()> @@ -37779,25 +32481,9 @@ impl IStorageProviderBanners { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderBanners, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageProviderBanners { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderBanners {} -impl ::core::fmt::Debug for IStorageProviderBanners { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderBanners").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageProviderBanners { type Vtable = IStorageProviderBanners_Vtbl; } -impl ::core::clone::Clone for IStorageProviderBanners { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderBanners { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5efb46d7_47c0_4b68_acda_ded47c90ec91); } @@ -37812,6 +32498,7 @@ pub struct IStorageProviderBanners_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderCopyHook(::windows_core::IUnknown); impl IStorageProviderCopyHook { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -37827,25 +32514,9 @@ impl IStorageProviderCopyHook { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderCopyHook, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageProviderCopyHook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderCopyHook {} -impl ::core::fmt::Debug for IStorageProviderCopyHook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderCopyHook").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageProviderCopyHook { type Vtable = IStorageProviderCopyHook_Vtbl; } -impl ::core::clone::Clone for IStorageProviderCopyHook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderCopyHook { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7bf992a9_af7a_4dba_b2e5_4d080b1ecbc6); } @@ -37860,6 +32531,7 @@ pub struct IStorageProviderCopyHook_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderHandler(::windows_core::IUnknown); impl IStorageProviderHandler { pub unsafe fn GetPropertyHandlerFromPath(&self, path: P0) -> ::windows_core::Result @@ -37885,25 +32557,9 @@ impl IStorageProviderHandler { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageProviderHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderHandler {} -impl ::core::fmt::Debug for IStorageProviderHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageProviderHandler { type Vtable = IStorageProviderHandler_Vtbl; } -impl ::core::clone::Clone for IStorageProviderHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x162c6fb5_44d3_435b_903d_e613fa093fb5); } @@ -37917,6 +32573,7 @@ pub struct IStorageProviderHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStorageProviderPropertyHandler(::windows_core::IUnknown); impl IStorageProviderPropertyHandler { #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -37935,25 +32592,9 @@ impl IStorageProviderPropertyHandler { } } ::windows_core::imp::interface_hierarchy!(IStorageProviderPropertyHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStorageProviderPropertyHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStorageProviderPropertyHandler {} -impl ::core::fmt::Debug for IStorageProviderPropertyHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStorageProviderPropertyHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStorageProviderPropertyHandler { type Vtable = IStorageProviderPropertyHandler_Vtbl; } -impl ::core::clone::Clone for IStorageProviderPropertyHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStorageProviderPropertyHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x301dfbe5_524c_4b0f_8b2d_21c40b3a2988); } @@ -37973,6 +32614,7 @@ pub struct IStorageProviderPropertyHandler_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamAsync(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IStreamAsync { @@ -38060,30 +32702,10 @@ impl IStreamAsync { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IStreamAsync, ::windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IStreamAsync { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IStreamAsync {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IStreamAsync { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamAsync").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IStreamAsync { type Vtable = IStreamAsync_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IStreamAsync { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IStreamAsync { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe0b6665_e0ca_49b9_a178_2b5cb48d92a5); } @@ -38108,6 +32730,7 @@ pub struct IStreamAsync_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStreamUnbufferedInfo(::windows_core::IUnknown); impl IStreamUnbufferedInfo { pub unsafe fn GetSectorSize(&self) -> ::windows_core::Result { @@ -38116,25 +32739,9 @@ impl IStreamUnbufferedInfo { } } ::windows_core::imp::interface_hierarchy!(IStreamUnbufferedInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStreamUnbufferedInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStreamUnbufferedInfo {} -impl ::core::fmt::Debug for IStreamUnbufferedInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStreamUnbufferedInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStreamUnbufferedInfo { type Vtable = IStreamUnbufferedInfo_Vtbl; } -impl ::core::clone::Clone for IStreamUnbufferedInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStreamUnbufferedInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a68fdda_1fdc_4c20_8ceb_416643b5a625); } @@ -38146,6 +32753,7 @@ pub struct IStreamUnbufferedInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISuspensionDependencyManager(::windows_core::IUnknown); impl ISuspensionDependencyManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38174,25 +32782,9 @@ impl ISuspensionDependencyManager { } } ::windows_core::imp::interface_hierarchy!(ISuspensionDependencyManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISuspensionDependencyManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISuspensionDependencyManager {} -impl ::core::fmt::Debug for ISuspensionDependencyManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISuspensionDependencyManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISuspensionDependencyManager { type Vtable = ISuspensionDependencyManager_Vtbl; } -impl ::core::clone::Clone for ISuspensionDependencyManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISuspensionDependencyManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52b83a42_2543_416a_81d9_c0de7969c8b3); } @@ -38215,6 +32807,7 @@ pub struct ISuspensionDependencyManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflict(::windows_core::IUnknown); impl ISyncMgrConflict { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] @@ -38248,25 +32841,9 @@ impl ISyncMgrConflict { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflict, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflict { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflict {} -impl ::core::fmt::Debug for ISyncMgrConflict { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflict").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflict { type Vtable = ISyncMgrConflict_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflict { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflict { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c204249_c443_4ba4_85ed_c972681db137); } @@ -38288,6 +32865,7 @@ pub struct ISyncMgrConflict_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictFolder(::windows_core::IUnknown); impl ISyncMgrConflictFolder { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -38301,25 +32879,9 @@ impl ISyncMgrConflictFolder { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictFolder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictFolder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictFolder {} -impl ::core::fmt::Debug for ISyncMgrConflictFolder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictFolder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictFolder { type Vtable = ISyncMgrConflictFolder_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictFolder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictFolder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x59287f5e_bc81_4fca_a7f1_e5a8ecdb1d69); } @@ -38334,6 +32896,7 @@ pub struct ISyncMgrConflictFolder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictItems(::windows_core::IUnknown); impl ISyncMgrConflictItems { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -38345,25 +32908,9 @@ impl ISyncMgrConflictItems { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictItems {} -impl ::core::fmt::Debug for ISyncMgrConflictItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictItems { type Vtable = ISyncMgrConflictItems_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c7ead52_8023_4936_a4db_d2a9a99e436a); } @@ -38376,6 +32923,7 @@ pub struct ISyncMgrConflictItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictPresenter(::windows_core::IUnknown); impl ISyncMgrConflictPresenter { pub unsafe fn PresentConflict(&self, pconflict: P0, presolveinfo: P1) -> ::windows_core::Result<()> @@ -38387,25 +32935,9 @@ impl ISyncMgrConflictPresenter { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictPresenter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictPresenter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictPresenter {} -impl ::core::fmt::Debug for ISyncMgrConflictPresenter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictPresenter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictPresenter { type Vtable = ISyncMgrConflictPresenter_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictPresenter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictPresenter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0b4f5353_fd2b_42cd_8763_4779f2d508a3); } @@ -38417,6 +32949,7 @@ pub struct ISyncMgrConflictPresenter_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictResolutionItems(::windows_core::IUnknown); impl ISyncMgrConflictResolutionItems { pub unsafe fn GetCount(&self) -> ::windows_core::Result { @@ -38429,25 +32962,9 @@ impl ISyncMgrConflictResolutionItems { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolutionItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictResolutionItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictResolutionItems {} -impl ::core::fmt::Debug for ISyncMgrConflictResolutionItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictResolutionItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictResolutionItems { type Vtable = ISyncMgrConflictResolutionItems_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictResolutionItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictResolutionItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x458725b9_129d_4135_a998_9ceafec27007); } @@ -38460,6 +32977,7 @@ pub struct ISyncMgrConflictResolutionItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictResolveInfo(::windows_core::IUnknown); impl ISyncMgrConflictResolveInfo { pub unsafe fn GetIterationInfo(&self, pncurrentconflict: *mut u32, pcconflicts: *mut u32, pcremainingforapplytoall: *mut u32) -> ::windows_core::Result<()> { @@ -38498,25 +33016,9 @@ impl ISyncMgrConflictResolveInfo { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolveInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictResolveInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictResolveInfo {} -impl ::core::fmt::Debug for ISyncMgrConflictResolveInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictResolveInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictResolveInfo { type Vtable = ISyncMgrConflictResolveInfo_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictResolveInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictResolveInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc405a219_25a2_442e_8743_b845a2cee93f); } @@ -38541,6 +33043,7 @@ pub struct ISyncMgrConflictResolveInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrConflictStore(::windows_core::IUnknown); impl ISyncMgrConflictStore { pub unsafe fn EnumConflicts(&self, pszhandlerid: P0, pszitemid: P1) -> ::windows_core::Result @@ -38575,25 +33078,9 @@ impl ISyncMgrConflictStore { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrConflictStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrConflictStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrConflictStore {} -impl ::core::fmt::Debug for ISyncMgrConflictStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrConflictStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrConflictStore { type Vtable = ISyncMgrConflictStore_Vtbl; } -impl ::core::clone::Clone for ISyncMgrConflictStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrConflictStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf8fc579_c396_4774_85f1_d908a831156e); } @@ -38614,6 +33101,7 @@ pub struct ISyncMgrConflictStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrControl(::windows_core::IUnknown); impl ISyncMgrControl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38732,25 +33220,9 @@ impl ISyncMgrControl { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrControl {} -impl ::core::fmt::Debug for ISyncMgrControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrControl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrControl { type Vtable = ISyncMgrControl_Vtbl; } -impl ::core::clone::Clone for ISyncMgrControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b63616c_36b2_46bc_959f_c1593952d19b); } @@ -38794,6 +33266,7 @@ pub struct ISyncMgrControl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrEnumItems(::windows_core::IUnknown); impl ISyncMgrEnumItems { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -38813,25 +33286,9 @@ impl ISyncMgrEnumItems { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrEnumItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrEnumItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrEnumItems {} -impl ::core::fmt::Debug for ISyncMgrEnumItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrEnumItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrEnumItems { type Vtable = ISyncMgrEnumItems_Vtbl; } -impl ::core::clone::Clone for ISyncMgrEnumItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrEnumItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6295df2a_35ee_11d1_8707_00c04fd93327); } @@ -38849,6 +33306,7 @@ pub struct ISyncMgrEnumItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrEvent(::windows_core::IUnknown); impl ISyncMgrEvent { pub unsafe fn GetEventID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -38899,25 +33357,9 @@ impl ISyncMgrEvent { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrEvent, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrEvent { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrEvent {} -impl ::core::fmt::Debug for ISyncMgrEvent { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrEvent").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrEvent { type Vtable = ISyncMgrEvent_Vtbl; } -impl ::core::clone::Clone for ISyncMgrEvent { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrEvent { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfee0ef8b_46bd_4db4_b7e6_ff2c687313bc); } @@ -38942,6 +33384,7 @@ pub struct ISyncMgrEvent_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrEventLinkUIOperation(::windows_core::IUnknown); impl ISyncMgrEventLinkUIOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -38960,25 +33403,9 @@ impl ISyncMgrEventLinkUIOperation { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrEventLinkUIOperation, ::windows_core::IUnknown, ISyncMgrUIOperation); -impl ::core::cmp::PartialEq for ISyncMgrEventLinkUIOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrEventLinkUIOperation {} -impl ::core::fmt::Debug for ISyncMgrEventLinkUIOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrEventLinkUIOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrEventLinkUIOperation { type Vtable = ISyncMgrEventLinkUIOperation_Vtbl; } -impl ::core::clone::Clone for ISyncMgrEventLinkUIOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrEventLinkUIOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64522e52_848b_4015_89ce_5a36f00b94ff); } @@ -38990,6 +33417,7 @@ pub struct ISyncMgrEventLinkUIOperation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrEventStore(::windows_core::IUnknown); impl ISyncMgrEventStore { pub unsafe fn GetEventEnumerator(&self) -> ::windows_core::Result { @@ -39009,25 +33437,9 @@ impl ISyncMgrEventStore { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrEventStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrEventStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrEventStore {} -impl ::core::fmt::Debug for ISyncMgrEventStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrEventStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrEventStore { type Vtable = ISyncMgrEventStore_Vtbl; } -impl ::core::clone::Clone for ISyncMgrEventStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrEventStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x37e412f9_016e_44c2_81ff_db3add774266); } @@ -39042,6 +33454,7 @@ pub struct ISyncMgrEventStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrHandler(::windows_core::IUnknown); impl ISyncMgrHandler { pub unsafe fn GetName(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -39095,25 +33508,9 @@ impl ISyncMgrHandler { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrHandler {} -impl ::core::fmt::Debug for ISyncMgrHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrHandler { type Vtable = ISyncMgrHandler_Vtbl; } -impl ::core::clone::Clone for ISyncMgrHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04ec2e43_ac77_49f9_9b98_0307ef7a72a2); } @@ -39141,6 +33538,7 @@ pub struct ISyncMgrHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrHandlerCollection(::windows_core::IUnknown); impl ISyncMgrHandlerCollection { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -39159,25 +33557,9 @@ impl ISyncMgrHandlerCollection { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrHandlerCollection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrHandlerCollection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrHandlerCollection {} -impl ::core::fmt::Debug for ISyncMgrHandlerCollection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrHandlerCollection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrHandlerCollection { type Vtable = ISyncMgrHandlerCollection_Vtbl; } -impl ::core::clone::Clone for ISyncMgrHandlerCollection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrHandlerCollection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7f337a3_d20b_45cb_9ed7_87d094ca5045); } @@ -39193,6 +33575,7 @@ pub struct ISyncMgrHandlerCollection_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrHandlerInfo(::windows_core::IUnknown); impl ISyncMgrHandlerInfo { pub unsafe fn GetType(&self) -> ::windows_core::Result { @@ -39224,25 +33607,9 @@ impl ISyncMgrHandlerInfo { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrHandlerInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrHandlerInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrHandlerInfo {} -impl ::core::fmt::Debug for ISyncMgrHandlerInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrHandlerInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrHandlerInfo { type Vtable = ISyncMgrHandlerInfo_Vtbl; } -impl ::core::clone::Clone for ISyncMgrHandlerInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrHandlerInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ff1d798_ecf7_4524_aa81_1e362a0aef3a); } @@ -39263,6 +33630,7 @@ pub struct ISyncMgrHandlerInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrRegister(::windows_core::IUnknown); impl ISyncMgrRegister { pub unsafe fn RegisterSyncMgrHandler(&self, clsidhandler: *const ::windows_core::GUID, pwszdescription: P0, dwsyncmgrregisterflags: u32) -> ::windows_core::Result<()> @@ -39279,25 +33647,9 @@ impl ISyncMgrRegister { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrRegister, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrRegister { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrRegister {} -impl ::core::fmt::Debug for ISyncMgrRegister { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrRegister").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrRegister { type Vtable = ISyncMgrRegister_Vtbl; } -impl ::core::clone::Clone for ISyncMgrRegister { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrRegister { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6295df42_35ee_11d1_8707_00c04fd93327); } @@ -39311,6 +33663,7 @@ pub struct ISyncMgrRegister_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrResolutionHandler(::windows_core::IUnknown); impl ISyncMgrResolutionHandler { pub unsafe fn QueryAbilities(&self) -> ::windows_core::Result { @@ -39341,25 +33694,9 @@ impl ISyncMgrResolutionHandler { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrResolutionHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrResolutionHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrResolutionHandler {} -impl ::core::fmt::Debug for ISyncMgrResolutionHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrResolutionHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrResolutionHandler { type Vtable = ISyncMgrResolutionHandler_Vtbl; } -impl ::core::clone::Clone for ISyncMgrResolutionHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrResolutionHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x40a3d052_8bff_4c4b_a338_d4a395700de9); } @@ -39375,6 +33712,7 @@ pub struct ISyncMgrResolutionHandler_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrScheduleWizardUIOperation(::windows_core::IUnknown); impl ISyncMgrScheduleWizardUIOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -39393,24 +33731,8 @@ impl ISyncMgrScheduleWizardUIOperation { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrScheduleWizardUIOperation, ::windows_core::IUnknown, ISyncMgrUIOperation); -impl ::core::cmp::PartialEq for ISyncMgrScheduleWizardUIOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrScheduleWizardUIOperation {} -impl ::core::fmt::Debug for ISyncMgrScheduleWizardUIOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrScheduleWizardUIOperation").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ISyncMgrScheduleWizardUIOperation { - type Vtable = ISyncMgrScheduleWizardUIOperation_Vtbl; -} -impl ::core::clone::Clone for ISyncMgrScheduleWizardUIOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ISyncMgrScheduleWizardUIOperation { + type Vtable = ISyncMgrScheduleWizardUIOperation_Vtbl; } unsafe impl ::windows_core::ComInterface for ISyncMgrScheduleWizardUIOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x459a6c84_21d2_4ddc_8a53_f023a46066f2); @@ -39423,6 +33745,7 @@ pub struct ISyncMgrScheduleWizardUIOperation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSessionCreator(::windows_core::IUnknown); impl ISyncMgrSessionCreator { pub unsafe fn CreateSession(&self, pszhandlerid: P0, ppszitemids: &[::windows_core::PCWSTR]) -> ::windows_core::Result @@ -39434,25 +33757,9 @@ impl ISyncMgrSessionCreator { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSessionCreator, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSessionCreator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSessionCreator {} -impl ::core::fmt::Debug for ISyncMgrSessionCreator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSessionCreator").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSessionCreator { type Vtable = ISyncMgrSessionCreator_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSessionCreator { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSessionCreator { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17f48517_f305_4321_a08d_b25a834918fd); } @@ -39464,6 +33771,7 @@ pub struct ISyncMgrSessionCreator_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSyncCallback(::windows_core::IUnknown); impl ISyncMgrSyncCallback { pub unsafe fn ReportProgress(&self, pszitemid: P0, pszprogresstext: P1, nstatus: SYNCMGR_PROGRESS_STATUS, ucurrentstep: u32, umaxstep: u32, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST) -> ::windows_core::Result<()> @@ -39531,25 +33839,9 @@ impl ISyncMgrSyncCallback { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSyncCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSyncCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSyncCallback {} -impl ::core::fmt::Debug for ISyncMgrSyncCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSyncCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSyncCallback { type Vtable = ISyncMgrSyncCallback_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSyncCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSyncCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x884ccd87_b139_4937_a4ba_4f8e19513fbe); } @@ -39573,6 +33865,7 @@ pub struct ISyncMgrSyncCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSyncItem(::windows_core::IUnknown); impl ISyncMgrSyncItem { pub unsafe fn GetItemID(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -39615,25 +33908,9 @@ impl ISyncMgrSyncItem { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSyncItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSyncItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSyncItem {} -impl ::core::fmt::Debug for ISyncMgrSyncItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSyncItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSyncItem { type Vtable = ISyncMgrSyncItem_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSyncItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSyncItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb20b24ce_2593_4f04_bd8b_7ad6c45051cd); } @@ -39655,6 +33932,7 @@ pub struct ISyncMgrSyncItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSyncItemContainer(::windows_core::IUnknown); impl ISyncMgrSyncItemContainer { pub unsafe fn GetSyncItem(&self, pszitemid: P0) -> ::windows_core::Result @@ -39674,25 +33952,9 @@ impl ISyncMgrSyncItemContainer { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSyncItemContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSyncItemContainer {} -impl ::core::fmt::Debug for ISyncMgrSyncItemContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSyncItemContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSyncItemContainer { type Vtable = ISyncMgrSyncItemContainer_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSyncItemContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSyncItemContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90701133_be32_4129_a65c_99e616cafff4); } @@ -39706,6 +33968,7 @@ pub struct ISyncMgrSyncItemContainer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSyncItemInfo(::windows_core::IUnknown); impl ISyncMgrSyncItemInfo { pub unsafe fn GetTypeLabel(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -39730,25 +33993,9 @@ impl ISyncMgrSyncItemInfo { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSyncItemInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSyncItemInfo {} -impl ::core::fmt::Debug for ISyncMgrSyncItemInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSyncItemInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSyncItemInfo { type Vtable = ISyncMgrSyncItemInfo_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSyncItemInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSyncItemInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe7fd9502_be0c_4464_90a1_2b5277031232); } @@ -39767,6 +34014,7 @@ pub struct ISyncMgrSyncItemInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSyncResult(::windows_core::IUnknown); impl ISyncMgrSyncResult { pub unsafe fn Result(&self, nstatus: SYNCMGR_PROGRESS_STATUS, cerror: u32, cconflicts: u32) -> ::windows_core::Result<()> { @@ -39774,25 +34022,9 @@ impl ISyncMgrSyncResult { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSyncResult, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSyncResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSyncResult {} -impl ::core::fmt::Debug for ISyncMgrSyncResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSyncResult").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSyncResult { type Vtable = ISyncMgrSyncResult_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSyncResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSyncResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2b90f17e_5a3e_4b33_bb7f_1bc48056b94d); } @@ -39804,6 +34036,7 @@ pub struct ISyncMgrSyncResult_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSynchronize(::windows_core::IUnknown); impl ISyncMgrSynchronize { pub unsafe fn Initialize(&self, dwreserved: u32, dwsyncmgrflags: u32, lpcookie: &[u8]) -> ::windows_core::Result<()> { @@ -39869,25 +34102,9 @@ impl ISyncMgrSynchronize { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSynchronize, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSynchronize { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSynchronize {} -impl ::core::fmt::Debug for ISyncMgrSynchronize { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSynchronize").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSynchronize { type Vtable = ISyncMgrSynchronize_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSynchronize { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSynchronize { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6295df40_35ee_11d1_8707_00c04fd93327); } @@ -39923,6 +34140,7 @@ pub struct ISyncMgrSynchronize_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSynchronizeCallback(::windows_core::IUnknown); impl ISyncMgrSynchronizeCallback { pub unsafe fn ShowPropertiesCompleted(&self, hr: ::windows_core::HRESULT) -> ::windows_core::Result<()> { @@ -39965,25 +34183,9 @@ impl ISyncMgrSynchronizeCallback { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSynchronizeCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSynchronizeCallback {} -impl ::core::fmt::Debug for ISyncMgrSynchronizeCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSynchronizeCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSynchronizeCallback { type Vtable = ISyncMgrSynchronizeCallback_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSynchronizeCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSynchronizeCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6295df41_35ee_11d1_8707_00c04fd93327); } @@ -40006,6 +34208,7 @@ pub struct ISyncMgrSynchronizeCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrSynchronizeInvoke(::windows_core::IUnknown); impl ISyncMgrSynchronizeInvoke { pub unsafe fn UpdateItems(&self, dwinvokeflags: u32, clsid: *const ::windows_core::GUID, pcookie: &[u8]) -> ::windows_core::Result<()> { @@ -40016,25 +34219,9 @@ impl ISyncMgrSynchronizeInvoke { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeInvoke, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrSynchronizeInvoke { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrSynchronizeInvoke {} -impl ::core::fmt::Debug for ISyncMgrSynchronizeInvoke { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrSynchronizeInvoke").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrSynchronizeInvoke { type Vtable = ISyncMgrSynchronizeInvoke_Vtbl; } -impl ::core::clone::Clone for ISyncMgrSynchronizeInvoke { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrSynchronizeInvoke { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6295df2c_35ee_11d1_8707_00c04fd93327); } @@ -40047,6 +34234,7 @@ pub struct ISyncMgrSynchronizeInvoke_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISyncMgrUIOperation(::windows_core::IUnknown); impl ISyncMgrUIOperation { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -40059,25 +34247,9 @@ impl ISyncMgrUIOperation { } } ::windows_core::imp::interface_hierarchy!(ISyncMgrUIOperation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISyncMgrUIOperation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISyncMgrUIOperation {} -impl ::core::fmt::Debug for ISyncMgrUIOperation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISyncMgrUIOperation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISyncMgrUIOperation { type Vtable = ISyncMgrUIOperation_Vtbl; } -impl ::core::clone::Clone for ISyncMgrUIOperation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISyncMgrUIOperation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc7cfa47_dfe1_45b5_a049_8cfd82bec271); } @@ -40092,6 +34264,7 @@ pub struct ISyncMgrUIOperation_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarList(::windows_core::IUnknown); impl ITaskbarList { pub unsafe fn HrInit(&self) -> ::windows_core::Result<()> { @@ -40131,25 +34304,9 @@ impl ITaskbarList { } } ::windows_core::imp::interface_hierarchy!(ITaskbarList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITaskbarList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskbarList {} -impl ::core::fmt::Debug for ITaskbarList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskbarList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskbarList { type Vtable = ITaskbarList_Vtbl; } -impl ::core::clone::Clone for ITaskbarList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56fdf342_fd6d_11d0_958a_006097c9a090); } @@ -40177,6 +34334,7 @@ pub struct ITaskbarList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarList2(::windows_core::IUnknown); impl ITaskbarList2 { pub unsafe fn HrInit(&self) -> ::windows_core::Result<()> { @@ -40225,25 +34383,9 @@ impl ITaskbarList2 { } } ::windows_core::imp::interface_hierarchy!(ITaskbarList2, ::windows_core::IUnknown, ITaskbarList); -impl ::core::cmp::PartialEq for ITaskbarList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskbarList2 {} -impl ::core::fmt::Debug for ITaskbarList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskbarList2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskbarList2 { type Vtable = ITaskbarList2_Vtbl; } -impl ::core::clone::Clone for ITaskbarList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x602d4995_b13a_429b_a66e_1935e44f4317); } @@ -40258,6 +34400,7 @@ pub struct ITaskbarList2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarList3(::windows_core::IUnknown); impl ITaskbarList3 { pub unsafe fn HrInit(&self) -> ::windows_core::Result<()> { @@ -40409,25 +34552,9 @@ impl ITaskbarList3 { } } ::windows_core::imp::interface_hierarchy!(ITaskbarList3, ::windows_core::IUnknown, ITaskbarList, ITaskbarList2); -impl ::core::cmp::PartialEq for ITaskbarList3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskbarList3 {} -impl ::core::fmt::Debug for ITaskbarList3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskbarList3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskbarList3 { type Vtable = ITaskbarList3_Vtbl; } -impl ::core::clone::Clone for ITaskbarList3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarList3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1afb91_9e28_4b86_90e9_9e9f8a5eefaf); } @@ -40486,6 +34613,7 @@ pub struct ITaskbarList3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITaskbarList4(::windows_core::IUnknown); impl ITaskbarList4 { pub unsafe fn HrInit(&self) -> ::windows_core::Result<()> { @@ -40645,25 +34773,9 @@ impl ITaskbarList4 { } } ::windows_core::imp::interface_hierarchy!(ITaskbarList4, ::windows_core::IUnknown, ITaskbarList, ITaskbarList2, ITaskbarList3); -impl ::core::cmp::PartialEq for ITaskbarList4 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITaskbarList4 {} -impl ::core::fmt::Debug for ITaskbarList4 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITaskbarList4").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITaskbarList4 { type Vtable = ITaskbarList4_Vtbl; } -impl ::core::clone::Clone for ITaskbarList4 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITaskbarList4 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc43dc798_95d1_4bea_9030_bb99e2983a1a); } @@ -40678,6 +34790,7 @@ pub struct ITaskbarList4_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailCache(::windows_core::IUnknown); impl IThumbnailCache { pub unsafe fn GetThumbnail(&self, pshellitem: P0, cxyrequestedthumbsize: u32, flags: WTS_FLAGS, ppvthumb: ::core::option::Option<*mut ::core::option::Option>, poutflags: ::core::option::Option<*mut WTS_CACHEFLAGS>, pthumbnailid: ::core::option::Option<*mut WTS_THUMBNAILID>) -> ::windows_core::Result<()> @@ -40691,25 +34804,9 @@ impl IThumbnailCache { } } ::windows_core::imp::interface_hierarchy!(IThumbnailCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailCache {} -impl ::core::fmt::Debug for IThumbnailCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailCache { type Vtable = IThumbnailCache_Vtbl; } -impl ::core::clone::Clone for IThumbnailCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf676c15d_596a_4ce2_8234_33996f445db1); } @@ -40722,6 +34819,7 @@ pub struct IThumbnailCache_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailCachePrimer(::windows_core::IUnknown); impl IThumbnailCachePrimer { pub unsafe fn PageInThumbnail(&self, psi: P0, wtsflags: WTS_FLAGS, cxyrequestedthumbsize: u32) -> ::windows_core::Result<()> @@ -40732,25 +34830,9 @@ impl IThumbnailCachePrimer { } } ::windows_core::imp::interface_hierarchy!(IThumbnailCachePrimer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailCachePrimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailCachePrimer {} -impl ::core::fmt::Debug for IThumbnailCachePrimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailCachePrimer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailCachePrimer { type Vtable = IThumbnailCachePrimer_Vtbl; } -impl ::core::clone::Clone for IThumbnailCachePrimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailCachePrimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0f03f8fe_2b26_46f0_965a_212aa8d66b76); } @@ -40762,6 +34844,7 @@ pub struct IThumbnailCachePrimer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailCapture(::windows_core::IUnknown); impl IThumbnailCapture { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] @@ -40775,25 +34858,9 @@ impl IThumbnailCapture { } } ::windows_core::imp::interface_hierarchy!(IThumbnailCapture, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailCapture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailCapture {} -impl ::core::fmt::Debug for IThumbnailCapture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailCapture").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailCapture { type Vtable = IThumbnailCapture_Vtbl; } -impl ::core::clone::Clone for IThumbnailCapture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailCapture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ea39266_7211_409f_b622_f63dbd16c533); } @@ -40808,6 +34875,7 @@ pub struct IThumbnailCapture_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailHandlerFactory(::windows_core::IUnknown); impl IThumbnailHandlerFactory { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -40822,25 +34890,9 @@ impl IThumbnailHandlerFactory { } } ::windows_core::imp::interface_hierarchy!(IThumbnailHandlerFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailHandlerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailHandlerFactory {} -impl ::core::fmt::Debug for IThumbnailHandlerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailHandlerFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailHandlerFactory { type Vtable = IThumbnailHandlerFactory_Vtbl; } -impl ::core::clone::Clone for IThumbnailHandlerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailHandlerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe35b4b2e_00da_4bc1_9f13_38bc11f5d417); } @@ -40855,6 +34907,7 @@ pub struct IThumbnailHandlerFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailProvider(::windows_core::IUnknown); impl IThumbnailProvider { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -40864,25 +34917,9 @@ impl IThumbnailProvider { } } ::windows_core::imp::interface_hierarchy!(IThumbnailProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailProvider {} -impl ::core::fmt::Debug for IThumbnailProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailProvider { type Vtable = IThumbnailProvider_Vtbl; } -impl ::core::clone::Clone for IThumbnailProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe357fccd_a995_4576_b01f_234630154e96); } @@ -40897,6 +34934,7 @@ pub struct IThumbnailProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailSettings(::windows_core::IUnknown); impl IThumbnailSettings { pub unsafe fn SetContext(&self, dwcontext: WTS_CONTEXTFLAGS) -> ::windows_core::Result<()> { @@ -40904,25 +34942,9 @@ impl IThumbnailSettings { } } ::windows_core::imp::interface_hierarchy!(IThumbnailSettings, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailSettings { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailSettings {} -impl ::core::fmt::Debug for IThumbnailSettings { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailSettings").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailSettings { type Vtable = IThumbnailSettings_Vtbl; } -impl ::core::clone::Clone for IThumbnailSettings { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailSettings { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf4376f00_bef5_4d45_80f3_1e023bbf1209); } @@ -40934,6 +34956,7 @@ pub struct IThumbnailSettings_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThumbnailStreamCache(::windows_core::IUnknown); impl IThumbnailStreamCache { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -40955,25 +34978,9 @@ impl IThumbnailStreamCache { } } ::windows_core::imp::interface_hierarchy!(IThumbnailStreamCache, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IThumbnailStreamCache { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IThumbnailStreamCache {} -impl ::core::fmt::Debug for IThumbnailStreamCache { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThumbnailStreamCache").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IThumbnailStreamCache { type Vtable = IThumbnailStreamCache_Vtbl; } -impl ::core::clone::Clone for IThumbnailStreamCache { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IThumbnailStreamCache { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90e11430_9569_41d8_ae75_6d4d2ae7cca0); } @@ -40992,6 +34999,7 @@ pub struct IThumbnailStreamCache_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITrackShellMenu(::windows_core::IUnknown); impl ITrackShellMenu { pub unsafe fn Initialize(&self, psmc: P0, uid: u32, uidancestor: u32, dwflags: u32) -> ::windows_core::Result<()> @@ -41066,25 +35074,9 @@ impl ITrackShellMenu { } } ::windows_core::imp::interface_hierarchy!(ITrackShellMenu, ::windows_core::IUnknown, IShellMenu); -impl ::core::cmp::PartialEq for ITrackShellMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITrackShellMenu {} -impl ::core::fmt::Debug for ITrackShellMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrackShellMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITrackShellMenu { type Vtable = ITrackShellMenu_Vtbl; } -impl ::core::clone::Clone for ITrackShellMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITrackShellMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8278f932_2a3e_11d2_838f_00c04fd918d0); } @@ -41103,6 +35095,7 @@ pub struct ITrackShellMenu_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITranscodeImage(::windows_core::IUnknown); impl ITranscodeImage { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -41116,25 +35109,9 @@ impl ITranscodeImage { } } ::windows_core::imp::interface_hierarchy!(ITranscodeImage, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITranscodeImage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITranscodeImage {} -impl ::core::fmt::Debug for ITranscodeImage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITranscodeImage").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITranscodeImage { type Vtable = ITranscodeImage_Vtbl; } -impl ::core::clone::Clone for ITranscodeImage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITranscodeImage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbae86ddd_dc11_421c_b7ab_cc55d1d65c44); } @@ -41149,6 +35126,7 @@ pub struct ITranscodeImage_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransferAdviseSink(::windows_core::IUnknown); impl ITransferAdviseSink { pub unsafe fn UpdateProgress(&self, ullsizecurrent: u64, ullsizetotal: u64, nfilescurrent: i32, nfilestotal: i32, nfolderscurrent: i32, nfolderstotal: i32) -> ::windows_core::Result<()> { @@ -41195,25 +35173,9 @@ impl ITransferAdviseSink { } } ::windows_core::imp::interface_hierarchy!(ITransferAdviseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransferAdviseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransferAdviseSink {} -impl ::core::fmt::Debug for ITransferAdviseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransferAdviseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransferAdviseSink { type Vtable = ITransferAdviseSink_Vtbl; } -impl ::core::clone::Clone for ITransferAdviseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransferAdviseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd594d0d8_8da7_457b_b3b4_ce5dbaac0b88); } @@ -41234,6 +35196,7 @@ pub struct ITransferAdviseSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransferDestination(::windows_core::IUnknown); impl ITransferDestination { pub unsafe fn Advise(&self, psink: P0) -> ::windows_core::Result @@ -41254,25 +35217,9 @@ impl ITransferDestination { } } ::windows_core::imp::interface_hierarchy!(ITransferDestination, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransferDestination { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransferDestination {} -impl ::core::fmt::Debug for ITransferDestination { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransferDestination").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransferDestination { type Vtable = ITransferDestination_Vtbl; } -impl ::core::clone::Clone for ITransferDestination { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransferDestination { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48addd32_3ca5_4124_abe3_b5a72531b207); } @@ -41286,6 +35233,7 @@ pub struct ITransferDestination_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransferMediumItem(::windows_core::IUnknown); impl ITransferMediumItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -41300,25 +35248,9 @@ impl ITransferMediumItem { } } ::windows_core::imp::interface_hierarchy!(ITransferMediumItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for ITransferMediumItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransferMediumItem {} -impl ::core::fmt::Debug for ITransferMediumItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransferMediumItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransferMediumItem { type Vtable = ITransferMediumItem_Vtbl; } -impl ::core::clone::Clone for ITransferMediumItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransferMediumItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x77f295d5_2d6f_4e19_b8ae_322f3e721ab5); } @@ -41329,6 +35261,7 @@ pub struct ITransferMediumItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITransferSource(::windows_core::IUnknown); impl ITransferSource { pub unsafe fn Advise(&self, psink: P0) -> ::windows_core::Result @@ -41424,25 +35357,9 @@ impl ITransferSource { } } ::windows_core::imp::interface_hierarchy!(ITransferSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITransferSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITransferSource {} -impl ::core::fmt::Debug for ITransferSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITransferSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITransferSource { type Vtable = ITransferSource_Vtbl; } -impl ::core::clone::Clone for ITransferSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITransferSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00adb003_bde9_45c6_8e29_d09f9353e108); } @@ -41469,6 +35386,7 @@ pub struct ITransferSource_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITravelEntry(::windows_core::IUnknown); impl ITravelEntry { pub unsafe fn Invoke(&self, punk: P0) -> ::windows_core::Result<()> @@ -41494,24 +35412,8 @@ impl ITravelEntry { } } ::windows_core::imp::interface_hierarchy!(ITravelEntry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITravelEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITravelEntry {} -impl ::core::fmt::Debug for ITravelEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITravelEntry").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ITravelEntry { - type Vtable = ITravelEntry_Vtbl; -} -impl ::core::clone::Clone for ITravelEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ITravelEntry { + type Vtable = ITravelEntry_Vtbl; } unsafe impl ::windows_core::ComInterface for ITravelEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf46edb3b_bc2f_11d0_9412_00aa00a3ebd3); @@ -41532,6 +35434,7 @@ pub struct ITravelEntry_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITravelLog(::windows_core::IUnknown); impl ITravelLog { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41610,25 +35513,9 @@ impl ITravelLog { } } ::windows_core::imp::interface_hierarchy!(ITravelLog, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITravelLog { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITravelLog {} -impl ::core::fmt::Debug for ITravelLog { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITravelLog").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITravelLog { type Vtable = ITravelLog_Vtbl; } -impl ::core::clone::Clone for ITravelLog { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITravelLog { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66a9cb08_4802_11d2_a561_00a0c92dbfe8); } @@ -41662,6 +35549,7 @@ pub struct ITravelLog_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITravelLogClient(::windows_core::IUnknown); impl ITravelLogClient { pub unsafe fn FindWindowByIndex(&self, dwid: u32) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -41684,25 +35572,9 @@ impl ITravelLogClient { } } ::windows_core::imp::interface_hierarchy!(ITravelLogClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITravelLogClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITravelLogClient {} -impl ::core::fmt::Debug for ITravelLogClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITravelLogClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITravelLogClient { type Vtable = ITravelLogClient_Vtbl; } -impl ::core::clone::Clone for ITravelLogClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITravelLogClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x241c033e_e659_43da_aa4d_4086dbc4758d); } @@ -41719,6 +35591,7 @@ pub struct ITravelLogClient_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITravelLogEntry(::windows_core::IUnknown); impl ITravelLogEntry { pub unsafe fn GetTitle(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -41731,25 +35604,9 @@ impl ITravelLogEntry { } } ::windows_core::imp::interface_hierarchy!(ITravelLogEntry, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITravelLogEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITravelLogEntry {} -impl ::core::fmt::Debug for ITravelLogEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITravelLogEntry").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITravelLogEntry { type Vtable = ITravelLogEntry_Vtbl; } -impl ::core::clone::Clone for ITravelLogEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITravelLogEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ebfdd87_ad18_11d3_a4c5_00c04f72d6b8); } @@ -41762,6 +35619,7 @@ pub struct ITravelLogEntry_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITravelLogStg(::windows_core::IUnknown); impl ITravelLogStg { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -41809,25 +35667,9 @@ impl ITravelLogStg { } } ::windows_core::imp::interface_hierarchy!(ITravelLogStg, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITravelLogStg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITravelLogStg {} -impl ::core::fmt::Debug for ITravelLogStg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITravelLogStg").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITravelLogStg { type Vtable = ITravelLogStg_Vtbl; } -impl ::core::clone::Clone for ITravelLogStg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITravelLogStg { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ebfdd80_ad18_11d3_a4c5_00c04f72d6b8); } @@ -41848,6 +35690,7 @@ pub struct ITravelLogStg_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITrayDeskBand(::windows_core::IUnknown); impl ITrayDeskBand { pub unsafe fn ShowDeskBand(&self, clsid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -41864,25 +35707,9 @@ impl ITrayDeskBand { } } ::windows_core::imp::interface_hierarchy!(ITrayDeskBand, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITrayDeskBand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITrayDeskBand {} -impl ::core::fmt::Debug for ITrayDeskBand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITrayDeskBand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITrayDeskBand { type Vtable = ITrayDeskBand_Vtbl; } -impl ::core::clone::Clone for ITrayDeskBand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITrayDeskBand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d67e846_5b9c_4db8_9cbc_dde12f4254f1); } @@ -41897,6 +35724,7 @@ pub struct ITrayDeskBand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IURLSearchHook(::windows_core::IUnknown); impl IURLSearchHook { pub unsafe fn Translate(&self, pwszsearchurl: &mut [u16]) -> ::windows_core::Result<()> { @@ -41904,25 +35732,9 @@ impl IURLSearchHook { } } ::windows_core::imp::interface_hierarchy!(IURLSearchHook, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IURLSearchHook { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IURLSearchHook {} -impl ::core::fmt::Debug for IURLSearchHook { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IURLSearchHook").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IURLSearchHook { type Vtable = IURLSearchHook_Vtbl; } -impl ::core::clone::Clone for IURLSearchHook { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IURLSearchHook { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xac60f6a0_0fd9_11d0_99cb_00c04fd64497); } @@ -41934,6 +35746,7 @@ pub struct IURLSearchHook_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IURLSearchHook2(::windows_core::IUnknown); impl IURLSearchHook2 { pub unsafe fn Translate(&self, pwszsearchurl: &mut [u16]) -> ::windows_core::Result<()> { @@ -41947,25 +35760,9 @@ impl IURLSearchHook2 { } } ::windows_core::imp::interface_hierarchy!(IURLSearchHook2, ::windows_core::IUnknown, IURLSearchHook); -impl ::core::cmp::PartialEq for IURLSearchHook2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IURLSearchHook2 {} -impl ::core::fmt::Debug for IURLSearchHook2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IURLSearchHook2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IURLSearchHook2 { type Vtable = IURLSearchHook2_Vtbl; } -impl ::core::clone::Clone for IURLSearchHook2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IURLSearchHook2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ee44da4_6d32_46e3_86bc_07540dedd0e0); } @@ -41977,6 +35774,7 @@ pub struct IURLSearchHook2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUniformResourceLocatorA(::windows_core::IUnknown); impl IUniformResourceLocatorA { pub unsafe fn SetURL(&self, pcszurl: P0, dwinflags: u32) -> ::windows_core::Result<()> @@ -41996,25 +35794,9 @@ impl IUniformResourceLocatorA { } } ::windows_core::imp::interface_hierarchy!(IUniformResourceLocatorA, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUniformResourceLocatorA { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUniformResourceLocatorA {} -impl ::core::fmt::Debug for IUniformResourceLocatorA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUniformResourceLocatorA").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUniformResourceLocatorA { type Vtable = IUniformResourceLocatorA_Vtbl; } -impl ::core::clone::Clone for IUniformResourceLocatorA { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUniformResourceLocatorA { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfbf23b80_e3f0_101b_8488_00aa003e56f8); } @@ -42031,6 +35813,7 @@ pub struct IUniformResourceLocatorA_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUniformResourceLocatorW(::windows_core::IUnknown); impl IUniformResourceLocatorW { pub unsafe fn SetURL(&self, pcszurl: P0, dwinflags: u32) -> ::windows_core::Result<()> @@ -42050,25 +35833,9 @@ impl IUniformResourceLocatorW { } } ::windows_core::imp::interface_hierarchy!(IUniformResourceLocatorW, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUniformResourceLocatorW { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUniformResourceLocatorW {} -impl ::core::fmt::Debug for IUniformResourceLocatorW { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUniformResourceLocatorW").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUniformResourceLocatorW { type Vtable = IUniformResourceLocatorW_Vtbl; } -impl ::core::clone::Clone for IUniformResourceLocatorW { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUniformResourceLocatorW { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcabb0da0_da57_11cf_9974_0020afd79762); } @@ -42085,6 +35852,7 @@ pub struct IUniformResourceLocatorW_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUpdateIDList(::windows_core::IUnknown); impl IUpdateIDList { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`*"] @@ -42098,25 +35866,9 @@ impl IUpdateIDList { } } ::windows_core::imp::interface_hierarchy!(IUpdateIDList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUpdateIDList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUpdateIDList {} -impl ::core::fmt::Debug for IUpdateIDList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUpdateIDList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUpdateIDList { type Vtable = IUpdateIDList_Vtbl; } -impl ::core::clone::Clone for IUpdateIDList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUpdateIDList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6589b6d2_5f8d_4b9e_b7e0_23cdd9717d8c); } @@ -42131,6 +35883,7 @@ pub struct IUpdateIDList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUseToBrowseItem(::windows_core::IUnknown); impl IUseToBrowseItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -42145,25 +35898,9 @@ impl IUseToBrowseItem { } } ::windows_core::imp::interface_hierarchy!(IUseToBrowseItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IUseToBrowseItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUseToBrowseItem {} -impl ::core::fmt::Debug for IUseToBrowseItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUseToBrowseItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUseToBrowseItem { type Vtable = IUseToBrowseItem_Vtbl; } -impl ::core::clone::Clone for IUseToBrowseItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUseToBrowseItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x05edda5c_98a3_4717_8adb_c5e7da991eb1); } @@ -42174,6 +35911,7 @@ pub struct IUseToBrowseItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserAccountChangeCallback(::windows_core::IUnknown); impl IUserAccountChangeCallback { pub unsafe fn OnPictureChange(&self, pszusername: P0) -> ::windows_core::Result<()> @@ -42184,25 +35922,9 @@ impl IUserAccountChangeCallback { } } ::windows_core::imp::interface_hierarchy!(IUserAccountChangeCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserAccountChangeCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserAccountChangeCallback {} -impl ::core::fmt::Debug for IUserAccountChangeCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserAccountChangeCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserAccountChangeCallback { type Vtable = IUserAccountChangeCallback_Vtbl; } -impl ::core::clone::Clone for IUserAccountChangeCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserAccountChangeCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa561e69a_b4b8_4113_91a5_64c6bcca3430); } @@ -42214,6 +35936,7 @@ pub struct IUserAccountChangeCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotification(::windows_core::IUnknown); impl IUserNotification { pub unsafe fn SetBalloonInfo(&self, psztitle: P0, psztext: P1, dwinfoflags: u32) -> ::windows_core::Result<()> @@ -42249,25 +35972,9 @@ impl IUserNotification { } } ::windows_core::imp::interface_hierarchy!(IUserNotification, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserNotification { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserNotification {} -impl ::core::fmt::Debug for IUserNotification { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserNotification").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserNotification { type Vtable = IUserNotification_Vtbl; } -impl ::core::clone::Clone for IUserNotification { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotification { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba9711ba_5893_4787_a7e1_41277151550b); } @@ -42286,6 +35993,7 @@ pub struct IUserNotification_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotification2(::windows_core::IUnknown); impl IUserNotification2 { pub unsafe fn SetBalloonInfo(&self, psztitle: P0, psztext: P1, dwinfoflags: u32) -> ::windows_core::Result<()> @@ -42322,25 +36030,9 @@ impl IUserNotification2 { } } ::windows_core::imp::interface_hierarchy!(IUserNotification2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserNotification2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserNotification2 {} -impl ::core::fmt::Debug for IUserNotification2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserNotification2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserNotification2 { type Vtable = IUserNotification2_Vtbl; } -impl ::core::clone::Clone for IUserNotification2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotification2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x215913cc_57eb_4fab_ab5a_e5fa7bea2a6c); } @@ -42359,6 +36051,7 @@ pub struct IUserNotification2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUserNotificationCallback(::windows_core::IUnknown); impl IUserNotificationCallback { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42378,25 +36071,9 @@ impl IUserNotificationCallback { } } ::windows_core::imp::interface_hierarchy!(IUserNotificationCallback, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUserNotificationCallback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUserNotificationCallback {} -impl ::core::fmt::Debug for IUserNotificationCallback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUserNotificationCallback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUserNotificationCallback { type Vtable = IUserNotificationCallback_Vtbl; } -impl ::core::clone::Clone for IUserNotificationCallback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUserNotificationCallback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19108294_0441_4aff_8013_fa0a730b0bea); } @@ -42419,6 +36096,7 @@ pub struct IUserNotificationCallback_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewStateIdentityItem(::windows_core::IUnknown); impl IViewStateIdentityItem { #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`*"] @@ -42433,25 +36111,9 @@ impl IViewStateIdentityItem { } } ::windows_core::imp::interface_hierarchy!(IViewStateIdentityItem, ::windows_core::IUnknown, IRelatedItem); -impl ::core::cmp::PartialEq for IViewStateIdentityItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewStateIdentityItem {} -impl ::core::fmt::Debug for IViewStateIdentityItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewStateIdentityItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewStateIdentityItem { type Vtable = IViewStateIdentityItem_Vtbl; } -impl ::core::clone::Clone for IViewStateIdentityItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewStateIdentityItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d264146_a94f_4195_9f9f_3bb12ce0c955); } @@ -42462,6 +36124,7 @@ pub struct IViewStateIdentityItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVirtualDesktopManager(::windows_core::IUnknown); impl IVirtualDesktopManager { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -42492,25 +36155,9 @@ impl IVirtualDesktopManager { } } ::windows_core::imp::interface_hierarchy!(IVirtualDesktopManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVirtualDesktopManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVirtualDesktopManager {} -impl ::core::fmt::Debug for IVirtualDesktopManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVirtualDesktopManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVirtualDesktopManager { type Vtable = IVirtualDesktopManager_Vtbl; } -impl ::core::clone::Clone for IVirtualDesktopManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVirtualDesktopManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5cd92ff_29be_454c_8d04_d82879fb3f1b); } @@ -42533,6 +36180,7 @@ pub struct IVirtualDesktopManager_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVisualProperties(::windows_core::IUnknown); impl IVisualProperties { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -42586,25 +36234,9 @@ impl IVisualProperties { } } ::windows_core::imp::interface_hierarchy!(IVisualProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVisualProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVisualProperties {} -impl ::core::fmt::Debug for IVisualProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVisualProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVisualProperties { type Vtable = IVisualProperties_Vtbl; } -impl ::core::clone::Clone for IVisualProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVisualProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe693cf68_d967_4112_8763_99172aee5e5a); } @@ -42639,6 +36271,7 @@ pub struct IVisualProperties_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebBrowser(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebBrowser { @@ -42753,30 +36386,10 @@ impl IWebBrowser { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebBrowser, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebBrowser { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebBrowser {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebBrowser { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowser").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebBrowser { type Vtable = IWebBrowser_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebBrowser { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebBrowser { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeab22ac1_30c1_11cf_a7eb_0000c05bae0b); } @@ -42838,6 +36451,7 @@ pub struct IWebBrowser_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebBrowser2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebBrowser2 { @@ -43191,30 +36805,10 @@ impl IWebBrowser2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebBrowser2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser, IWebBrowserApp); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebBrowser2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebBrowser2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebBrowser2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowser2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebBrowser2 { type Vtable = IWebBrowser2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebBrowser2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebBrowser2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd30c1661_cdaf_11d0_8a3e_00c04fc9e26e); } @@ -43303,6 +36897,7 @@ pub struct IWebBrowser2_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebBrowserApp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebBrowserApp { @@ -43531,30 +37126,10 @@ impl IWebBrowserApp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebBrowserApp, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebBrowserApp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebBrowserApp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebBrowserApp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowserApp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebBrowserApp { type Vtable = IWebBrowserApp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebBrowserApp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebBrowserApp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0002df05_0000_0000_c000_000000000046); } @@ -43619,6 +37194,7 @@ pub struct IWebBrowserApp_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebWizardExtension(::windows_core::IUnknown); impl IWebWizardExtension { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -43652,25 +37228,9 @@ impl IWebWizardExtension { } } ::windows_core::imp::interface_hierarchy!(IWebWizardExtension, ::windows_core::IUnknown, IWizardExtension); -impl ::core::cmp::PartialEq for IWebWizardExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebWizardExtension {} -impl ::core::fmt::Debug for IWebWizardExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebWizardExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebWizardExtension { type Vtable = IWebWizardExtension_Vtbl; } -impl ::core::clone::Clone for IWebWizardExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebWizardExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e6b3f66_98d1_48c0_a222_fbde74e2fbc5); } @@ -43684,6 +37244,7 @@ pub struct IWebWizardExtension_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebWizardHost(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebWizardHost { @@ -43744,30 +37305,10 @@ impl IWebWizardHost { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebWizardHost, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebWizardHost { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebWizardHost {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebWizardHost { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebWizardHost").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebWizardHost { type Vtable = IWebWizardHost_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebWizardHost { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebWizardHost { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18bcc359_4990_4bfb_b951_3c83702be5f9); } @@ -43798,6 +37339,7 @@ pub struct IWebWizardHost_Vtbl { #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebWizardHost2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IWebWizardHost2 { @@ -43865,30 +37407,10 @@ impl IWebWizardHost2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IWebWizardHost2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IWebWizardHost2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IWebWizardHost2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IWebWizardHost2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebWizardHost2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IWebWizardHost2 { type Vtable = IWebWizardHost2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IWebWizardHost2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IWebWizardHost2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9c013dc_3c23_4041_8e39_cfb402f7ea59); } @@ -43901,6 +37423,7 @@ pub struct IWebWizardHost2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWizardExtension(::windows_core::IUnknown); impl IWizardExtension { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -43922,25 +37445,9 @@ impl IWizardExtension { } } ::windows_core::imp::interface_hierarchy!(IWizardExtension, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWizardExtension { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWizardExtension {} -impl ::core::fmt::Debug for IWizardExtension { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWizardExtension").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWizardExtension { type Vtable = IWizardExtension_Vtbl; } -impl ::core::clone::Clone for IWizardExtension { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWizardExtension { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc02ea696_86cc_491e_9b23_74394a0444a8); } @@ -43963,6 +37470,7 @@ pub struct IWizardExtension_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWizardSite(::windows_core::IUnknown); impl IWizardSite { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -43985,25 +37493,9 @@ impl IWizardSite { } } ::windows_core::imp::interface_hierarchy!(IWizardSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWizardSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWizardSite {} -impl ::core::fmt::Debug for IWizardSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWizardSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWizardSite { type Vtable = IWizardSite_Vtbl; } -impl ::core::clone::Clone for IWizardSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWizardSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88960f5b_422f_4e7b_8013_73415381c3c3); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs index eefaa78111..b0261b7271 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs @@ -152,8 +152,8 @@ impl IDynamicRenderer_Vtbl { Draw: Draw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl IGestureRecognizer_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl IHandwrittenTextInsertion_Vtbl { InsertInkRecognitionResult: InsertInkRecognitionResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IInk_Vtbl { pub const fn new, Impl: IInk_Impl, const OFFSET: isize>() -> IInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -679,8 +679,8 @@ impl IInkCollector_Vtbl { SetEventInterest: SetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -781,8 +781,8 @@ impl IInkCursor_Vtbl { Buttons: Buttons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IInkCursorButton_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -893,8 +893,8 @@ impl IInkCursorButtons_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -949,8 +949,8 @@ impl IInkCursors_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IInkCustomStrokes_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IInkDisp_Vtbl { ClipboardPaste: ClipboardPaste::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1410,8 +1410,8 @@ impl IInkDivider_Vtbl { Divide: Divide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IInkDivisionResult_Vtbl { ResultByType: ResultByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1522,8 +1522,8 @@ impl IInkDivisionUnit_Vtbl { RotationTransform: RotationTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl IInkDivisionUnits_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1801,8 +1801,8 @@ impl IInkDrawingAttributes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2585,8 +2585,8 @@ impl IInkEdit_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2681,8 +2681,8 @@ impl IInkExtendedProperties_Vtbl { DoesPropertyExist: DoesPropertyExist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2731,8 +2731,8 @@ impl IInkExtendedProperty_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2781,8 +2781,8 @@ impl IInkGesture_Vtbl { GetHotPoint: GetHotPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2840,8 +2840,8 @@ impl IInkLineInfo_Vtbl { Recognize: Recognize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3391,8 +3391,8 @@ impl IInkOverlay_Vtbl { SetEventInterest: SetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3995,8 +3995,8 @@ impl IInkPicture_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4195,8 +4195,8 @@ impl IInkRecognitionAlternate_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4264,8 +4264,8 @@ impl IInkRecognitionAlternates_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4360,8 +4360,8 @@ impl IInkRecognitionResult_Vtbl { SetResultOnStrokes: SetResultOnStrokes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4468,8 +4468,8 @@ impl IInkRecognizer_Vtbl { CreateRecognizerContext: CreateRecognizerContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4511,8 +4511,8 @@ impl IInkRecognizer2_Vtbl { UnicodeRanges: UnicodeRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4762,8 +4762,8 @@ impl IInkRecognizerContext_Vtbl { IsStringSupported: IsStringSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4799,8 +4799,8 @@ impl IInkRecognizerContext2_Vtbl { SetEnabledUnicodeRanges: SetEnabledUnicodeRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4930,8 +4930,8 @@ impl IInkRecognizerGuide_Vtbl { SetGuideData: SetGuideData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4999,8 +4999,8 @@ impl IInkRecognizers_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5130,8 +5130,8 @@ impl IInkRectangle_Vtbl { SetRectangle: SetRectangle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5264,8 +5264,8 @@ impl IInkRenderer_Vtbl { ScaleTransform: ScaleTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5650,8 +5650,8 @@ impl IInkStrokeDisp_Vtbl { ScaleTransform: ScaleTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5849,8 +5849,8 @@ impl IInkStrokes_Vtbl { RemoveRecognitionResult: RemoveRecognitionResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5938,8 +5938,8 @@ impl IInkTablet_Vtbl { GetPropertyMetrics: GetPropertyMetrics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5965,8 +5965,8 @@ impl IInkTablet2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeviceKind: DeviceKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6008,8 +6008,8 @@ impl IInkTablet3_Vtbl { MaximumCursors: MaximumCursors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6090,8 +6090,8 @@ impl IInkTablets_Vtbl { IsPacketPropertySupported: IsPacketPropertySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6297,8 +6297,8 @@ impl IInkTransform_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6335,8 +6335,8 @@ impl IInkWordList_Vtbl { Merge: Merge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl IInkWordList2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), AddWords: AddWords:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"implement\"`*"] @@ -6410,8 +6410,8 @@ impl IInputPanelWindowHandle_Vtbl { SetAttachedEditWindow64: SetAttachedEditWindow64::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6564,8 +6564,8 @@ impl IMathInputControl_Vtbl { GetHoverIcon: GetHoverIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6834,8 +6834,8 @@ impl IPenInputPanel_Vtbl { EnableTsf: EnableTsf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7146,8 +7146,8 @@ impl IRealTimeStylus_Vtbl { GetPacketDescriptionData: GetPacketDescriptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7183,8 +7183,8 @@ impl IRealTimeStylus2_Vtbl { SetFlicksEnabled: SetFlicksEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7220,8 +7220,8 @@ impl IRealTimeStylus3_Vtbl { SetMultiTouchEnabled: SetMultiTouchEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"implement\"`*"] @@ -7248,8 +7248,8 @@ impl IRealTimeStylusSynchronization_Vtbl { ReleaseLock: ReleaseLock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7262,8 +7262,8 @@ impl ISketchInk_Vtbl { pub const fn new, Impl: ISketchInk_Impl, const OFFSET: isize>() -> ISketchInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7327,8 +7327,8 @@ impl IStrokeBuilder_Vtbl { putref_Ink: putref_Ink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7341,8 +7341,8 @@ impl IStylusAsyncPlugin_Vtbl { pub const fn new, Impl: IStylusAsyncPlugin_Impl, const OFFSET: isize>() -> IStylusAsyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7483,8 +7483,8 @@ impl IStylusPlugin_Vtbl { DataInterest: DataInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7497,8 +7497,8 @@ impl IStylusSyncPlugin_Vtbl { pub const fn new, Impl: IStylusSyncPlugin_Impl, const OFFSET: isize>() -> IStylusSyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7767,8 +7767,8 @@ impl ITextInputPanel_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7868,8 +7868,8 @@ impl ITextInputPanelEventSink_Vtbl { TextInserted: TextInserted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7895,8 +7895,8 @@ impl ITextInputPanelRunInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTipRunning: IsTipRunning:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7953,8 +7953,8 @@ impl ITipAutoCompleteClient_Vtbl { RequestShowUI: RequestShowUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7984,8 +7984,8 @@ impl ITipAutoCompleteProvider_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7998,8 +7998,8 @@ impl _IInkCollectorEvents_Vtbl { pub const fn new, Impl: _IInkCollectorEvents_Impl, const OFFSET: isize>() -> _IInkCollectorEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkCollectorEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkCollectorEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8012,8 +8012,8 @@ impl _IInkEditEvents_Vtbl { pub const fn new, Impl: _IInkEditEvents_Impl, const OFFSET: isize>() -> _IInkEditEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkEditEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkEditEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8026,8 +8026,8 @@ impl _IInkEvents_Vtbl { pub const fn new, Impl: _IInkEvents_Impl, const OFFSET: isize>() -> _IInkEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8040,8 +8040,8 @@ impl _IInkOverlayEvents_Vtbl { pub const fn new, Impl: _IInkOverlayEvents_Impl, const OFFSET: isize>() -> _IInkOverlayEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkOverlayEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkOverlayEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8054,8 +8054,8 @@ impl _IInkPictureEvents_Vtbl { pub const fn new, Impl: _IInkPictureEvents_Impl, const OFFSET: isize>() -> _IInkPictureEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkPictureEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkPictureEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8068,8 +8068,8 @@ impl _IInkRecognitionEvents_Vtbl { pub const fn new, Impl: _IInkRecognitionEvents_Impl, const OFFSET: isize>() -> _IInkRecognitionEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8082,8 +8082,8 @@ impl _IInkStrokesEvents_Vtbl { pub const fn new, Impl: _IInkStrokesEvents_Impl, const OFFSET: isize>() -> _IInkStrokesEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkStrokesEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkStrokesEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl _IMathInputControlEvents_Vtbl { pub const fn new, Impl: _IMathInputControlEvents_Impl, const OFFSET: isize>() -> _IMathInputControlEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IMathInputControlEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IMathInputControlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8110,7 +8110,7 @@ impl _IPenInputPanelEvents_Vtbl { pub const fn new, Impl: _IPenInputPanelEvents_Impl, const OFFSET: isize>() -> _IPenInputPanelEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs index 795784d6c2..0b8af51cc3 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -243,6 +243,7 @@ where } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDynamicRenderer(::windows_core::IUnknown); impl IDynamicRenderer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -342,25 +343,9 @@ impl IDynamicRenderer { } } ::windows_core::imp::interface_hierarchy!(IDynamicRenderer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDynamicRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDynamicRenderer {} -impl ::core::fmt::Debug for IDynamicRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDynamicRenderer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDynamicRenderer { type Vtable = IDynamicRenderer_Vtbl; } -impl ::core::clone::Clone for IDynamicRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDynamicRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa079468e_7165_46f9_b7af_98ad01a93009); } @@ -425,6 +410,7 @@ pub struct IDynamicRenderer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IGestureRecognizer(::windows_core::IUnknown); impl IGestureRecognizer { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -456,25 +442,9 @@ impl IGestureRecognizer { } } ::windows_core::imp::interface_hierarchy!(IGestureRecognizer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IGestureRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IGestureRecognizer {} -impl ::core::fmt::Debug for IGestureRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IGestureRecognizer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IGestureRecognizer { type Vtable = IGestureRecognizer_Vtbl; } -impl ::core::clone::Clone for IGestureRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IGestureRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae9ef86b_7054_45e3_ae22_3174dc8811b7); } @@ -497,6 +467,7 @@ pub struct IGestureRecognizer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHandwrittenTextInsertion(::windows_core::IUnknown); impl IHandwrittenTextInsertion { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -518,25 +489,9 @@ impl IHandwrittenTextInsertion { } } ::windows_core::imp::interface_hierarchy!(IHandwrittenTextInsertion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHandwrittenTextInsertion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHandwrittenTextInsertion {} -impl ::core::fmt::Debug for IHandwrittenTextInsertion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHandwrittenTextInsertion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHandwrittenTextInsertion { type Vtable = IHandwrittenTextInsertion_Vtbl; } -impl ::core::clone::Clone for IHandwrittenTextInsertion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHandwrittenTextInsertion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56fdea97_ecd6_43e7_aa3a_816be7785860); } @@ -556,36 +511,17 @@ pub struct IHandwrittenTextInsertion_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInk(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInk {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInk, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInk {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInk").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInk { type Vtable = IInk_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03f8e511_43a1_11d3_8bb6_0080c7d6bad5); } @@ -598,6 +534,7 @@ pub struct IInk_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCollector(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCollector { @@ -846,30 +783,10 @@ impl IInkCollector { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCollector, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCollector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCollector {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCollector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCollector").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCollector { type Vtable = IInkCollector_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCollector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCollector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0f060b5_8b1f_4a7c_89ec_880692588a4f); } @@ -1012,6 +929,7 @@ pub struct IInkCollector_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCursor(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursor { @@ -1059,30 +977,10 @@ impl IInkCursor { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCursor, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCursor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCursor {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCursor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCursor").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCursor { type Vtable = IInkCursor_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCursor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCursor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad30c630_40c5_4350_8405_9c71012fc558); } @@ -1117,6 +1015,7 @@ pub struct IInkCursor_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCursorButton(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursorButton { @@ -1136,30 +1035,10 @@ impl IInkCursorButton { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCursorButton, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCursorButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCursorButton {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCursorButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCursorButton").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCursorButton { type Vtable = IInkCursorButton_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCursorButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCursorButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85ef9417_1d59_49b2_a13c_702c85430894); } @@ -1175,6 +1054,7 @@ pub struct IInkCursorButton_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCursorButtons(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursorButtons { @@ -1196,30 +1076,10 @@ impl IInkCursorButtons { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCursorButtons, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCursorButtons { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCursorButtons {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCursorButtons { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCursorButtons").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCursorButtons { type Vtable = IInkCursorButtons_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCursorButtons { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCursorButtons { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3671cc40_b624_4671_9fa0_db119d952d54); } @@ -1238,6 +1098,7 @@ pub struct IInkCursorButtons_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCursors(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCursors { @@ -1259,30 +1120,10 @@ impl IInkCursors { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCursors, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCursors { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCursors {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCursors { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCursors").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCursors { type Vtable = IInkCursors_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCursors { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCursors { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa248c1ac_c698_4e06_9e5c_d57f77c7e647); } @@ -1301,6 +1142,7 @@ pub struct IInkCursors_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkCustomStrokes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkCustomStrokes { @@ -1339,30 +1181,10 @@ impl IInkCustomStrokes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkCustomStrokes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkCustomStrokes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkCustomStrokes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkCustomStrokes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkCustomStrokes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkCustomStrokes { type Vtable = IInkCustomStrokes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkCustomStrokes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkCustomStrokes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e23a88f_c30e_420f_9bdb_28902543f0c1); } @@ -1390,6 +1212,7 @@ pub struct IInkCustomStrokes_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDisp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDisp { @@ -1576,30 +1399,10 @@ impl IInkDisp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDisp, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDisp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDisp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDisp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDisp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDisp { type Vtable = IInkDisp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDisp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDisp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9d398fa0_c4e2_4fcd_9973_975caaf47ea6); } @@ -1712,6 +1515,7 @@ pub struct IInkDisp_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDivider(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDivider { @@ -1760,30 +1564,10 @@ impl IInkDivider { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDivider, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDivider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDivider {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDivider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDivider").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDivider { type Vtable = IInkDivider_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDivider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDivider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5de00405_f9a4_4651_b0c5_c317defd58b9); } @@ -1818,6 +1602,7 @@ pub struct IInkDivider_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDivisionResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDivisionResult { @@ -1837,30 +1622,10 @@ impl IInkDivisionResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDivisionResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDivisionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDivisionResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDivisionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDivisionResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDivisionResult { type Vtable = IInkDivisionResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDivisionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDivisionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dbec0a7_74c7_4b38_81eb_aa8ef0c24900); } @@ -1881,6 +1646,7 @@ pub struct IInkDivisionResult_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDivisionUnit(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDivisionUnit { @@ -1908,30 +1674,10 @@ impl IInkDivisionUnit { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDivisionUnit, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDivisionUnit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDivisionUnit {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDivisionUnit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDivisionUnit").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDivisionUnit { type Vtable = IInkDivisionUnit_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDivisionUnit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDivisionUnit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85aee342_48b0_4244_9dd5_1ed435410fab); } @@ -1954,6 +1700,7 @@ pub struct IInkDivisionUnit_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDivisionUnits(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDivisionUnits { @@ -1975,30 +1722,10 @@ impl IInkDivisionUnits { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDivisionUnits, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDivisionUnits { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDivisionUnits {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDivisionUnits { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDivisionUnits").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDivisionUnits { type Vtable = IInkDivisionUnits_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDivisionUnits { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDivisionUnits { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1bb5ddc2_31cc_4135_ab82_2c66c9f00c41); } @@ -2017,6 +1744,7 @@ pub struct IInkDivisionUnits_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkDrawingAttributes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkDrawingAttributes { @@ -2120,30 +1848,10 @@ impl IInkDrawingAttributes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkDrawingAttributes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkDrawingAttributes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkDrawingAttributes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkDrawingAttributes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkDrawingAttributes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkDrawingAttributes { type Vtable = IInkDrawingAttributes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkDrawingAttributes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkDrawingAttributes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf519b75_0a15_4623_adc9_c00d436a8092); } @@ -2200,6 +1908,7 @@ pub struct IInkDrawingAttributes_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkEdit(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkEdit { @@ -2604,30 +2313,10 @@ impl IInkEdit { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkEdit, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkEdit { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkEdit {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkEdit { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkEdit").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkEdit { type Vtable = IInkEdit_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkEdit { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkEdit { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2127a19_fbfb_4aed_8464_3f36d78cfefb); } @@ -2837,6 +2526,7 @@ pub struct IInkEdit_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkExtendedProperties(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperties { @@ -2884,30 +2574,10 @@ impl IInkExtendedProperties { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkExtendedProperties, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkExtendedProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkExtendedProperties {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkExtendedProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkExtendedProperties").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkExtendedProperties { type Vtable = IInkExtendedProperties_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkExtendedProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkExtendedProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89f2a8be_95a9_4530_8b8f_88e971e3e25f); } @@ -2939,6 +2609,7 @@ pub struct IInkExtendedProperties_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkExtendedProperty(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkExtendedProperty { @@ -2961,30 +2632,10 @@ impl IInkExtendedProperty { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkExtendedProperty, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkExtendedProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkExtendedProperty {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkExtendedProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkExtendedProperty").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkExtendedProperty { type Vtable = IInkExtendedProperty_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkExtendedProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkExtendedProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb489209_b7c3_411d_90f6_1548cfff271e); } @@ -3006,6 +2657,7 @@ pub struct IInkExtendedProperty_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkGesture(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkGesture { @@ -3024,30 +2676,10 @@ impl IInkGesture { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkGesture, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkGesture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkGesture {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkGesture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkGesture").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkGesture { type Vtable = IInkGesture_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkGesture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkGesture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bdc0a97_04e5_4e26_b813_18f052d41def); } @@ -3062,6 +2694,7 @@ pub struct IInkGesture_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkLineInfo(::windows_core::IUnknown); impl IInkLineInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3096,25 +2729,9 @@ impl IInkLineInfo { } } ::windows_core::imp::interface_hierarchy!(IInkLineInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInkLineInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInkLineInfo {} -impl ::core::fmt::Debug for IInkLineInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkLineInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInkLineInfo { type Vtable = IInkLineInfo_Vtbl; } -impl ::core::clone::Clone for IInkLineInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInkLineInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9c1c5ad6_f22f_4de4_b453_a2cc482e7c33); } @@ -3141,6 +2758,7 @@ pub struct IInkLineInfo_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkOverlay(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkOverlay { @@ -3457,30 +3075,10 @@ impl IInkOverlay { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkOverlay, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkOverlay { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkOverlay {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkOverlay { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkOverlay").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkOverlay { type Vtable = IInkOverlay_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkOverlay { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkOverlay { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb82a463b_c1c5_45a3_997c_deab5651b67a); } @@ -3652,6 +3250,7 @@ pub struct IInkOverlay_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkPicture(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkPicture { @@ -4000,30 +3599,10 @@ impl IInkPicture { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkPicture, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkPicture { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkPicture {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkPicture { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkPicture").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkPicture { type Vtable = IInkPicture_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkPicture { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkPicture { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe85662e0_379a_40d7_9b5c_757d233f9923); } @@ -4212,6 +3791,7 @@ pub struct IInkPicture_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognitionAlternate(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternate { @@ -4313,30 +3893,10 @@ impl IInkRecognitionAlternate { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognitionAlternate, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognitionAlternate { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognitionAlternate {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognitionAlternate { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognitionAlternate").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognitionAlternate { type Vtable = IInkRecognitionAlternate_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognitionAlternate { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognitionAlternate { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e660ad_77e4_429b_adda_873780d1fc4a); } @@ -4400,6 +3960,7 @@ pub struct IInkRecognitionAlternate_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognitionAlternates(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionAlternates { @@ -4427,30 +3988,10 @@ impl IInkRecognitionAlternates { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognitionAlternates, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognitionAlternates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognitionAlternates {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognitionAlternates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognitionAlternates").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognitionAlternates { type Vtable = IInkRecognitionAlternates_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognitionAlternates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognitionAlternates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x286a167f_9f19_4c61_9d53_4f07be622b84); } @@ -4473,6 +4014,7 @@ pub struct IInkRecognitionAlternates_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognitionResult(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognitionResult { @@ -4517,30 +4059,10 @@ impl IInkRecognitionResult { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognitionResult, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognitionResult { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognitionResult {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognitionResult { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognitionResult").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognitionResult { type Vtable = IInkRecognitionResult_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognitionResult { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognitionResult { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bc129a8_86cd_45ad_bde8_e0d32d61c16d); } @@ -4572,6 +4094,7 @@ pub struct IInkRecognitionResult_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer { @@ -4615,30 +4138,10 @@ impl IInkRecognizer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizer { type Vtable = IInkRecognizer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x782bf7cf_034b_4396_8a32_3a1833cf6b56); } @@ -4670,6 +4173,7 @@ pub struct IInkRecognizer_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizer2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizer2 { @@ -4687,30 +4191,10 @@ impl IInkRecognizer2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizer2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizer2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizer2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizer2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizer2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizer2 { type Vtable = IInkRecognizer2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizer2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizer2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6110118a_3a75_4ad6_b2aa_04b2b72bbe65); } @@ -4728,6 +4212,7 @@ pub struct IInkRecognizer2_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizerContext(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerContext { @@ -4863,30 +4348,10 @@ impl IInkRecognizerContext { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizerContext, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizerContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizerContext {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizerContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizerContext").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizerContext { type Vtable = IInkRecognizerContext_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizerContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizerContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc68f52f9_32a3_4625_906c_44fc23b40958); } @@ -4959,6 +4424,7 @@ pub struct IInkRecognizerContext_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizerContext2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerContext2 { @@ -4977,30 +4443,10 @@ impl IInkRecognizerContext2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizerContext2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizerContext2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizerContext2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizerContext2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizerContext2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizerContext2 { type Vtable = IInkRecognizerContext2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizerContext2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizerContext2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd6f0e32f_73d8_408e_8e9f_5fea592c363f); } @@ -5021,6 +4467,7 @@ pub struct IInkRecognizerContext2_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizerGuide(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizerGuide { @@ -5087,30 +4534,10 @@ impl IInkRecognizerGuide { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizerGuide, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizerGuide { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizerGuide {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizerGuide { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizerGuide").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizerGuide { type Vtable = IInkRecognizerGuide_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizerGuide { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizerGuide { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd934be07_7b84_4208_9136_83c20994e905); } @@ -5153,6 +4580,7 @@ pub struct IInkRecognizerGuide_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRecognizers(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRecognizers { @@ -5180,30 +4608,10 @@ impl IInkRecognizers { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRecognizers, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRecognizers { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRecognizers {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRecognizers { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRecognizers").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRecognizers { type Vtable = IInkRecognizers_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRecognizers { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRecognizers { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9ccc4f12_b0b7_4a8b_bf58_4aeca4e8cefd); } @@ -5226,6 +4634,7 @@ pub struct IInkRecognizers_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRectangle(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRectangle { @@ -5278,30 +4687,10 @@ impl IInkRectangle { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRectangle, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRectangle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRectangle {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRectangle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRectangle").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRectangle { type Vtable = IInkRectangle_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRectangle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRectangle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9794ff82_6071_4717_8a8b_6ac7c64a686e); } @@ -5332,6 +4721,7 @@ pub struct IInkRectangle_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkRenderer(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkRenderer { @@ -5437,30 +4827,10 @@ impl IInkRenderer { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkRenderer, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkRenderer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkRenderer {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkRenderer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkRenderer").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkRenderer { type Vtable = IInkRenderer_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkRenderer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkRenderer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6257a9c_b511_4f4c_a8b0_a7dbc9506b83); } @@ -5521,6 +4891,7 @@ pub struct IInkRenderer_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokeDisp(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkStrokeDisp { @@ -5726,30 +5097,10 @@ impl IInkStrokeDisp { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkStrokeDisp, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkStrokeDisp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkStrokeDisp {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkStrokeDisp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkStrokeDisp").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkStrokeDisp { type Vtable = IInkStrokeDisp_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkStrokeDisp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkStrokeDisp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43242fea_91d1_4a72_963e_fbb91829cfa2); } @@ -5867,6 +5218,7 @@ pub struct IInkStrokeDisp_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkStrokes(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkStrokes { @@ -5990,30 +5342,10 @@ impl IInkStrokes { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkStrokes, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkStrokes { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkStrokes {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkStrokes { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkStrokes").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkStrokes { type Vtable = IInkStrokes_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkStrokes { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkStrokes { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1f4c9d8_590a_4963_b3ae_1935671bb6f3); } @@ -6082,6 +5414,7 @@ pub struct IInkStrokes_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkTablet(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablet { @@ -6122,30 +5455,10 @@ impl IInkTablet { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkTablet, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkTablet { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkTablet {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkTablet { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkTablet").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkTablet { type Vtable = IInkTablet_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkTablet { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkTablet { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2de25eaa_6ef8_42d5_aee9_185bc81b912d); } @@ -6170,6 +5483,7 @@ pub struct IInkTablet_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkTablet2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablet2 { @@ -6181,30 +5495,10 @@ impl IInkTablet2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkTablet2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkTablet2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkTablet2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkTablet2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkTablet2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkTablet2 { type Vtable = IInkTablet2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkTablet2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkTablet2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90c91ad2_fa36_49d6_9516_ce8d570f6f85); } @@ -6218,6 +5512,7 @@ pub struct IInkTablet2_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkTablet3(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablet3 { @@ -6235,30 +5530,10 @@ impl IInkTablet3 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkTablet3, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkTablet3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkTablet3 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkTablet3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkTablet3").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkTablet3 { type Vtable = IInkTablet3_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkTablet3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkTablet3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e313997_1327_41dd_8ca9_79f24be17250); } @@ -6276,6 +5551,7 @@ pub struct IInkTablet3_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkTablets(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTablets { @@ -6312,30 +5588,10 @@ impl IInkTablets { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkTablets, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkTablets { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkTablets {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkTablets { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkTablets").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkTablets { type Vtable = IInkTablets_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkTablets { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkTablets { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x112086d9_7779_4535_a699_862b43ac1863); } @@ -6362,6 +5618,7 @@ pub struct IInkTablets_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkTransform(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkTransform { @@ -6451,33 +5708,13 @@ impl IInkTransform { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkTransform, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkTransform { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } +unsafe impl ::windows_core::Interface for IInkTransform { + type Vtable = IInkTransform_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkTransform {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkTransform { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkTransform").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for IInkTransform { - type Vtable = IInkTransform_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkTransform { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::ComInterface for IInkTransform { - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x615f1d43_8703_4565_88e2_8201d2ecd7b7); -} +unsafe impl ::windows_core::ComInterface for IInkTransform { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x615f1d43_8703_4565_88e2_8201d2ecd7b7); +} #[cfg(feature = "Win32_System_Com")] #[repr(C)] #[doc(hidden)] @@ -6518,6 +5755,7 @@ pub struct IInkTransform_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkWordList(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkWordList { @@ -6545,30 +5783,10 @@ impl IInkWordList { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkWordList, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkWordList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkWordList {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkWordList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkWordList").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkWordList { type Vtable = IInkWordList_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkWordList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkWordList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x76ba3491_cb2f_406b_9961_0e0c4cdaaef2); } @@ -6587,6 +5805,7 @@ pub struct IInkWordList_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInkWordList2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IInkWordList2 { @@ -6600,30 +5819,10 @@ impl IInkWordList2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IInkWordList2, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IInkWordList2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IInkWordList2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IInkWordList2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInkWordList2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IInkWordList2 { type Vtable = IInkWordList2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IInkWordList2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IInkWordList2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14542586_11bf_4f5f_b6e7_49d0744aab6e); } @@ -6636,6 +5835,7 @@ pub struct IInkWordList2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInputPanelWindowHandle(::windows_core::IUnknown); impl IInputPanelWindowHandle { pub unsafe fn AttachedEditWindow32(&self) -> ::windows_core::Result { @@ -6654,25 +5854,9 @@ impl IInputPanelWindowHandle { } } ::windows_core::imp::interface_hierarchy!(IInputPanelWindowHandle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInputPanelWindowHandle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInputPanelWindowHandle {} -impl ::core::fmt::Debug for IInputPanelWindowHandle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInputPanelWindowHandle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInputPanelWindowHandle { type Vtable = IInputPanelWindowHandle_Vtbl; } -impl ::core::clone::Clone for IInputPanelWindowHandle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInputPanelWindowHandle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4af81847_fdc4_4fc3_ad0b_422479c1b935); } @@ -6688,6 +5872,7 @@ pub struct IInputPanelWindowHandle_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMathInputControl(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IMathInputControl { @@ -6782,30 +5967,10 @@ impl IMathInputControl { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IMathInputControl, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IMathInputControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IMathInputControl {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IMathInputControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMathInputControl").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IMathInputControl { type Vtable = IMathInputControl_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IMathInputControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IMathInputControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeba615aa_fac6_4738_ba5f_ff09e9fe473e); } @@ -6853,6 +6018,7 @@ pub struct IMathInputControl_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPenInputPanel(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPenInputPanel { @@ -6972,30 +6138,10 @@ impl IPenInputPanel { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPenInputPanel, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPenInputPanel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPenInputPanel {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPenInputPanel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPenInputPanel").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPenInputPanel { type Vtable = IPenInputPanel_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPenInputPanel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPenInputPanel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfa7a4083_5747_4040_a182_0b0e9fd4fac7); } @@ -7050,6 +6196,7 @@ pub struct IPenInputPanel_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRealTimeStylus(::windows_core::IUnknown); impl IRealTimeStylus { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7210,25 +6357,9 @@ impl IRealTimeStylus { } } ::windows_core::imp::interface_hierarchy!(IRealTimeStylus, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRealTimeStylus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRealTimeStylus {} -impl ::core::fmt::Debug for IRealTimeStylus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRealTimeStylus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRealTimeStylus { type Vtable = IRealTimeStylus_Vtbl; } -impl ::core::clone::Clone for IRealTimeStylus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRealTimeStylus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa8bb5d22_3144_4a7b_93cd_f34a16be513a); } @@ -7309,6 +6440,7 @@ pub struct IRealTimeStylus_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRealTimeStylus2(::windows_core::IUnknown); impl IRealTimeStylus2 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7327,25 +6459,9 @@ impl IRealTimeStylus2 { } } ::windows_core::imp::interface_hierarchy!(IRealTimeStylus2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRealTimeStylus2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRealTimeStylus2 {} -impl ::core::fmt::Debug for IRealTimeStylus2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRealTimeStylus2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRealTimeStylus2 { type Vtable = IRealTimeStylus2_Vtbl; } -impl ::core::clone::Clone for IRealTimeStylus2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRealTimeStylus2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5f2a6cd_3179_4a3e_b9c4_bb5865962be2); } @@ -7364,6 +6480,7 @@ pub struct IRealTimeStylus2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRealTimeStylus3(::windows_core::IUnknown); impl IRealTimeStylus3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7382,25 +6499,9 @@ impl IRealTimeStylus3 { } } ::windows_core::imp::interface_hierarchy!(IRealTimeStylus3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRealTimeStylus3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRealTimeStylus3 {} -impl ::core::fmt::Debug for IRealTimeStylus3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRealTimeStylus3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRealTimeStylus3 { type Vtable = IRealTimeStylus3_Vtbl; } -impl ::core::clone::Clone for IRealTimeStylus3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRealTimeStylus3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd70230a3_6986_4051_b57a_1cf69f4d9db5); } @@ -7419,6 +6520,7 @@ pub struct IRealTimeStylus3_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IRealTimeStylusSynchronization(::windows_core::IUnknown); impl IRealTimeStylusSynchronization { pub unsafe fn AcquireLock(&self, lock: RealTimeStylusLockType) -> ::windows_core::Result<()> { @@ -7429,25 +6531,9 @@ impl IRealTimeStylusSynchronization { } } ::windows_core::imp::interface_hierarchy!(IRealTimeStylusSynchronization, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IRealTimeStylusSynchronization { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IRealTimeStylusSynchronization {} -impl ::core::fmt::Debug for IRealTimeStylusSynchronization { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IRealTimeStylusSynchronization").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IRealTimeStylusSynchronization { type Vtable = IRealTimeStylusSynchronization_Vtbl; } -impl ::core::clone::Clone for IRealTimeStylusSynchronization { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IRealTimeStylusSynchronization { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa87eab8_ab4a_4cea_b5cb_46d84c6a2509); } @@ -7461,36 +6547,17 @@ pub struct IRealTimeStylusSynchronization_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISketchInk(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ISketchInk {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ISketchInk, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ISketchInk { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ISketchInk {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ISketchInk { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISketchInk").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ISketchInk { type Vtable = ISketchInk_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ISketchInk { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ISketchInk { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb4563688_98eb_4646_b279_44da14d45748); } @@ -7502,6 +6569,7 @@ pub struct ISketchInk_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStrokeBuilder(::windows_core::IUnknown); impl IStrokeBuilder { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7538,25 +6606,9 @@ impl IStrokeBuilder { } } ::windows_core::imp::interface_hierarchy!(IStrokeBuilder, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStrokeBuilder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStrokeBuilder {} -impl ::core::fmt::Debug for IStrokeBuilder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStrokeBuilder").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStrokeBuilder { type Vtable = IStrokeBuilder_Vtbl; } -impl ::core::clone::Clone for IStrokeBuilder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStrokeBuilder { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5fd4e2d_c44b_4092_9177_260905eb672b); } @@ -7588,6 +6640,7 @@ pub struct IStrokeBuilder_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStylusAsyncPlugin(::windows_core::IUnknown); impl IStylusAsyncPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> ::windows_core::Result<()> @@ -7708,25 +6761,9 @@ impl IStylusAsyncPlugin { } } ::windows_core::imp::interface_hierarchy!(IStylusAsyncPlugin, ::windows_core::IUnknown, IStylusPlugin); -impl ::core::cmp::PartialEq for IStylusAsyncPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStylusAsyncPlugin {} -impl ::core::fmt::Debug for IStylusAsyncPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStylusAsyncPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStylusAsyncPlugin { type Vtable = IStylusAsyncPlugin_Vtbl; } -impl ::core::clone::Clone for IStylusAsyncPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStylusAsyncPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7cca85a_31bc_4cd2_aadc_3289a3af11c8); } @@ -7737,6 +6774,7 @@ pub struct IStylusAsyncPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStylusPlugin(::windows_core::IUnknown); impl IStylusPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> ::windows_core::Result<()> @@ -7857,25 +6895,9 @@ impl IStylusPlugin { } } ::windows_core::imp::interface_hierarchy!(IStylusPlugin, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IStylusPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStylusPlugin {} -impl ::core::fmt::Debug for IStylusPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStylusPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStylusPlugin { type Vtable = IStylusPlugin_Vtbl; } -impl ::core::clone::Clone for IStylusPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStylusPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa81436d8_4757_4fd1_a185_133f97c6c545); } @@ -7924,6 +6946,7 @@ pub struct IStylusPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStylusSyncPlugin(::windows_core::IUnknown); impl IStylusSyncPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> ::windows_core::Result<()> @@ -8044,25 +7067,9 @@ impl IStylusSyncPlugin { } } ::windows_core::imp::interface_hierarchy!(IStylusSyncPlugin, ::windows_core::IUnknown, IStylusPlugin); -impl ::core::cmp::PartialEq for IStylusSyncPlugin { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStylusSyncPlugin {} -impl ::core::fmt::Debug for IStylusSyncPlugin { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStylusSyncPlugin").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IStylusSyncPlugin { type Vtable = IStylusSyncPlugin_Vtbl; } -impl ::core::clone::Clone for IStylusSyncPlugin { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStylusSyncPlugin { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa157b174_482f_4d71_a3f6_3a41ddd11be9); } @@ -8073,6 +7080,7 @@ pub struct IStylusSyncPlugin_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextInputPanel(::windows_core::IUnknown); impl ITextInputPanel { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8199,25 +7207,9 @@ impl ITextInputPanel { } } ::windows_core::imp::interface_hierarchy!(ITextInputPanel, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextInputPanel { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextInputPanel {} -impl ::core::fmt::Debug for ITextInputPanel { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextInputPanel").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextInputPanel { type Vtable = ITextInputPanel_Vtbl; } -impl ::core::clone::Clone for ITextInputPanel { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextInputPanel { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b6a65a5_6af3_46c2_b6ea_56cd1f80df71); } @@ -8277,6 +7269,7 @@ pub struct ITextInputPanel_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextInputPanelEventSink(::windows_core::IUnknown); impl ITextInputPanelEventSink { pub unsafe fn InPlaceStateChanging(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows_core::Result<()> { @@ -8337,25 +7330,9 @@ impl ITextInputPanelEventSink { } } ::windows_core::imp::interface_hierarchy!(ITextInputPanelEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextInputPanelEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextInputPanelEventSink {} -impl ::core::fmt::Debug for ITextInputPanelEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextInputPanelEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextInputPanelEventSink { type Vtable = ITextInputPanelEventSink_Vtbl; } -impl ::core::clone::Clone for ITextInputPanelEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextInputPanelEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x27560408_8e64_4fe1_804e_421201584b31); } @@ -8396,6 +7373,7 @@ pub struct ITextInputPanelEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextInputPanelRunInfo(::windows_core::IUnknown); impl ITextInputPanelRunInfo { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8406,25 +7384,9 @@ impl ITextInputPanelRunInfo { } } ::windows_core::imp::interface_hierarchy!(ITextInputPanelRunInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextInputPanelRunInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextInputPanelRunInfo {} -impl ::core::fmt::Debug for ITextInputPanelRunInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextInputPanelRunInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextInputPanelRunInfo { type Vtable = ITextInputPanelRunInfo_Vtbl; } -impl ::core::clone::Clone for ITextInputPanelRunInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextInputPanelRunInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9f424568_1920_48cc_9811_a993cbf5adba); } @@ -8439,6 +7401,7 @@ pub struct ITextInputPanelRunInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITipAutoCompleteClient(::windows_core::IUnknown); impl ITipAutoCompleteClient { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -8478,25 +7441,9 @@ impl ITipAutoCompleteClient { } } ::windows_core::imp::interface_hierarchy!(ITipAutoCompleteClient, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITipAutoCompleteClient { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITipAutoCompleteClient {} -impl ::core::fmt::Debug for ITipAutoCompleteClient { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITipAutoCompleteClient").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITipAutoCompleteClient { type Vtable = ITipAutoCompleteClient_Vtbl; } -impl ::core::clone::Clone for ITipAutoCompleteClient { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITipAutoCompleteClient { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5e078e03_8265_4bbe_9487_d242edbef910); } @@ -8524,6 +7471,7 @@ pub struct ITipAutoCompleteClient_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITipAutoCompleteProvider(::windows_core::IUnknown); impl ITipAutoCompleteProvider { pub unsafe fn UpdatePendingText(&self, bstrpendingtext: P0) -> ::windows_core::Result<()> @@ -8542,25 +7490,9 @@ impl ITipAutoCompleteProvider { } } ::windows_core::imp::interface_hierarchy!(ITipAutoCompleteProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITipAutoCompleteProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITipAutoCompleteProvider {} -impl ::core::fmt::Debug for ITipAutoCompleteProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITipAutoCompleteProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITipAutoCompleteProvider { type Vtable = ITipAutoCompleteProvider_Vtbl; } -impl ::core::clone::Clone for ITipAutoCompleteProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITipAutoCompleteProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c6cf46d_8404_46b9_ad33_f5b6036d4007); } @@ -8577,36 +7509,17 @@ pub struct ITipAutoCompleteProvider_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkCollectorEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkCollectorEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkCollectorEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkCollectorEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkCollectorEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkCollectorEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkCollectorEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkCollectorEvents { type Vtable = _IInkCollectorEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkCollectorEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkCollectorEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x11a583f2_712d_4fea_abcf_ab4af38ea06b); } @@ -8619,36 +7532,17 @@ pub struct _IInkCollectorEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkEditEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkEditEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkEditEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkEditEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkEditEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkEditEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkEditEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkEditEvents { type Vtable = _IInkEditEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkEditEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkEditEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe3b0b797_a72e_46db_a0d7_6c9eba8e9bbc); } @@ -8661,36 +7555,17 @@ pub struct _IInkEditEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkEvents { type Vtable = _IInkEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x427b1865_ca3f_479a_83a9_0f420f2a0073); } @@ -8703,36 +7578,17 @@ pub struct _IInkEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkOverlayEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkOverlayEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkOverlayEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkOverlayEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkOverlayEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkOverlayEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkOverlayEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkOverlayEvents { type Vtable = _IInkOverlayEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkOverlayEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkOverlayEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x31179b69_e563_489e_b16f_712f1e8a0651); } @@ -8745,36 +7601,17 @@ pub struct _IInkOverlayEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkPictureEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkPictureEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkPictureEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkPictureEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkPictureEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkPictureEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkPictureEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkPictureEvents { type Vtable = _IInkPictureEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkPictureEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkPictureEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60ff4fee_22ff_4484_acc1_d308d9cd7ea3); } @@ -8787,36 +7624,17 @@ pub struct _IInkPictureEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkRecognitionEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkRecognitionEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkRecognitionEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkRecognitionEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkRecognitionEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkRecognitionEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkRecognitionEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkRecognitionEvents { type Vtable = _IInkRecognitionEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkRecognitionEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkRecognitionEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17bce92f_2e21_47fd_9d33_3c6afbfd8c59); } @@ -8829,36 +7647,17 @@ pub struct _IInkRecognitionEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IInkStrokesEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IInkStrokesEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IInkStrokesEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IInkStrokesEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IInkStrokesEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IInkStrokesEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IInkStrokesEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IInkStrokesEvents { type Vtable = _IInkStrokesEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IInkStrokesEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IInkStrokesEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf33053ec_5d25_430a_928f_76a6491dde15); } @@ -8871,36 +7670,17 @@ pub struct _IInkStrokesEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IMathInputControlEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IMathInputControlEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IMathInputControlEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IMathInputControlEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IMathInputControlEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IMathInputControlEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IMathInputControlEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IMathInputControlEvents { type Vtable = _IMathInputControlEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IMathInputControlEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IMathInputControlEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x683336b5_a47d_4358_96f9_875a472ae70a); } @@ -8913,36 +7693,17 @@ pub struct _IMathInputControlEvents_Vtbl { #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct _IPenInputPanelEvents(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl _IPenInputPanelEvents {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(_IPenInputPanelEvents, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for _IPenInputPanelEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for _IPenInputPanelEvents {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for _IPenInputPanelEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_IPenInputPanelEvents").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for _IPenInputPanelEvents { type Vtable = _IPenInputPanelEvents_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for _IPenInputPanelEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for _IPenInputPanelEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb7e489da_3719_439f_848f_e7acbd820f17); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs index 17a1af68d6..133e5b5016 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs @@ -63,8 +63,8 @@ impl IAccClientDocMgr_Vtbl { GetFocused: GetFocused::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -133,8 +133,8 @@ impl IAccDictionary_Vtbl { ConvertValueToString: ConvertValueToString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IAccServerDocMgr_Vtbl { OnDocumentFocus: OnDocumentFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IAccStore_Vtbl { GetFocused: GetFocused::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -388,8 +388,8 @@ impl IAnchor_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -406,8 +406,8 @@ impl IClonableWrapper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CloneNewWrapper: CloneNewWrapper:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl ICoCreateLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CoCreateLocally: CoCreateLocally:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl ICoCreatedLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LocalInit: LocalInit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IDocWrap_Vtbl { GetWrappedDoc: GetWrappedDoc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IEnumITfCompositionView_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -578,8 +578,8 @@ impl IEnumSpeechCommands_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -626,8 +626,8 @@ impl IEnumTfCandidates_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IEnumTfContextViews_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IEnumTfContexts_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IEnumTfDisplayAttributeInfo_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IEnumTfDocumentMgrs_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IEnumTfFunctionProviders_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IEnumTfInputProcessorProfiles_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -962,8 +962,8 @@ impl IEnumTfLangBarItems_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IEnumTfLanguageProfiles_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1061,8 +1061,8 @@ impl IEnumTfLatticeElements_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1109,8 +1109,8 @@ impl IEnumTfProperties_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1160,8 +1160,8 @@ impl IEnumTfPropertyValue_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IEnumTfRanges_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IEnumTfUIElements_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1274,8 +1274,8 @@ impl IInternalDocWrap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRevoke: NotifyRevoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1308,8 +1308,8 @@ impl ISpeechCommandProvider_Vtbl { ProcessCommand: ProcessCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1579,8 +1579,8 @@ impl ITextStoreACP_Vtbl { GetWnd: GetWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl ITextStoreACP2_Vtbl { GetScreenExt: GetScreenExt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1858,8 +1858,8 @@ impl ITextStoreACPEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1909,8 +1909,8 @@ impl ITextStoreACPServices_Vtbl { CreateRange: CreateRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1979,8 +1979,8 @@ impl ITextStoreACPSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1997,8 +1997,8 @@ impl ITextStoreACPSinkEx_Vtbl { } Self { base__: ITextStoreACPSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2269,8 +2269,8 @@ impl ITextStoreAnchor_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2290,8 +2290,8 @@ impl ITextStoreAnchorEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2360,8 +2360,8 @@ impl ITextStoreAnchorSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl ITextStoreSinkAnchorEx_Vtbl { } Self { base__: ITextStoreAnchorSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2399,8 +2399,8 @@ impl ITfActiveLanguageProfileNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2459,8 +2459,8 @@ impl ITfCandidateList_Vtbl { SetResult: SetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2568,8 +2568,8 @@ impl ITfCandidateListUIElement_Vtbl { GetCurrentPage: GetCurrentPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2606,8 +2606,8 @@ impl ITfCandidateListUIElementBehavior_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2646,8 +2646,8 @@ impl ITfCandidateString_Vtbl { GetIndex: GetIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2803,8 +2803,8 @@ impl ITfCategoryMgr_Vtbl { IsEqualTfGuidAtom: IsEqualTfGuidAtom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2831,8 +2831,8 @@ impl ITfCleanupContextDurationSink_Vtbl { OnEndCleanupContext: OnEndCleanupContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2849,8 +2849,8 @@ impl ITfCleanupContextSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCleanupContext: OnCleanupContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2873,8 +2873,8 @@ impl ITfClientId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClientId: GetClientId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2910,8 +2910,8 @@ impl ITfCompartment_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2928,8 +2928,8 @@ impl ITfCompartmentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2978,8 +2978,8 @@ impl ITfCompartmentMgr_Vtbl { EnumCompartments: EnumCompartments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3026,8 +3026,8 @@ impl ITfComposition_Vtbl { EndComposition: EndComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3044,8 +3044,8 @@ impl ITfCompositionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCompositionTerminated: OnCompositionTerminated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3084,8 +3084,8 @@ impl ITfCompositionView_Vtbl { GetRange: GetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl ITfConfigureSystemKeystrokeFeed_Vtbl { EnableSystemKeystrokeFeed: EnableSystemKeystrokeFeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3312,8 +3312,8 @@ impl ITfContext_Vtbl { CreateRangeBackup: CreateRangeBackup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3378,8 +3378,8 @@ impl ITfContextComposition_Vtbl { TakeOwnership: TakeOwnership::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3447,8 +3447,8 @@ impl ITfContextKeyEventSink_Vtbl { OnTestKeyUp: OnTestKeyUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl ITfContextOwner_Vtbl { GetAttribute: GetAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3554,8 +3554,8 @@ impl ITfContextOwnerCompositionServices_Vtbl { } Self { base__: ITfContextComposition_Vtbl::new::(), TerminateComposition: TerminateComposition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3598,8 +3598,8 @@ impl ITfContextOwnerCompositionSink_Vtbl { OnEndComposition: OnEndComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3670,8 +3670,8 @@ impl ITfContextOwnerServices_Vtbl { CreateRange: CreateRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3733,8 +3733,8 @@ impl ITfContextView_Vtbl { GetWnd: GetWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3776,8 +3776,8 @@ impl ITfCreatePropertyStore_Vtbl { CreatePropertyStore: CreatePropertyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3840,8 +3840,8 @@ impl ITfDisplayAttributeInfo_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3881,8 +3881,8 @@ impl ITfDisplayAttributeMgr_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3899,8 +3899,8 @@ impl ITfDisplayAttributeNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdateInfo: OnUpdateInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3939,8 +3939,8 @@ impl ITfDisplayAttributeProvider_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4013,8 +4013,8 @@ impl ITfDocumentMgr_Vtbl { EnumContexts: EnumContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl ITfEditRecord_Vtbl { GetTextAndPropertyUpdates: GetTextAndPropertyUpdates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4074,8 +4074,8 @@ impl ITfEditSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoEditSession: DoEditSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4102,8 +4102,8 @@ impl ITfEditTransactionSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4130,8 +4130,8 @@ impl ITfFnAdviseText_Vtbl { OnLatticeUpdate: OnLatticeUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4148,8 +4148,8 @@ impl ITfFnBalloon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateBalloon: UpdateBalloon:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4169,8 +4169,8 @@ impl ITfFnConfigure_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4190,8 +4190,8 @@ impl ITfFnConfigureRegisterEudc_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl ITfFnConfigureRegisterWord_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4229,8 +4229,8 @@ impl ITfFnCustomSpeechCommand_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), SetSpeechCommandProvider: SetSpeechCommandProvider:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4253,8 +4253,8 @@ impl ITfFnGetLinguisticAlternates_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetAlternates: GetAlternates:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4271,8 +4271,8 @@ impl ITfFnGetPreferredTouchKeyboardLayout_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetLayout: GetLayout:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4295,8 +4295,8 @@ impl ITfFnGetSAPIObject_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4316,8 +4316,8 @@ impl ITfFnLMInternal_Vtbl { } Self { base__: ITfFnLMProcessor_Vtbl::new::(), ProcessLattice: ProcessLattice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4400,8 +4400,8 @@ impl ITfFnLMProcessor_Vtbl { InvokeFunc: InvokeFunc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4437,8 +4437,8 @@ impl ITfFnLangProfileUtil_Vtbl { IsProfileAvailableForLang: IsProfileAvailableForLang::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4468,8 +4468,8 @@ impl ITfFnPlayBack_Vtbl { Play: Play::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4502,8 +4502,8 @@ impl ITfFnPropertyUIStatus_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4546,8 +4546,8 @@ impl ITfFnReconversion_Vtbl { Reconvert: Reconvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4580,8 +4580,8 @@ impl ITfFnSearchCandidateProvider_Vtbl { SetResult: SetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4601,8 +4601,8 @@ impl ITfFnShowHelp_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4625,8 +4625,8 @@ impl ITfFunction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDisplayName: GetDisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4678,8 +4678,8 @@ impl ITfFunctionProvider_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4696,8 +4696,8 @@ impl ITfInputProcessorProfileActivationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4789,8 +4789,8 @@ impl ITfInputProcessorProfileMgr_Vtbl { GetActiveProfile: GetActiveProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4816,8 +4816,8 @@ impl ITfInputProcessorProfileSubstituteLayout_Vtbl { GetSubstituteKeyboardLayout: GetSubstituteKeyboardLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4989,8 +4989,8 @@ impl ITfInputProcessorProfiles_Vtbl { SubstituteKeyboardLayout: SubstituteKeyboardLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5013,8 +5013,8 @@ impl ITfInputProcessorProfilesEx_Vtbl { SetLanguageProfileDisplayName: SetLanguageProfileDisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -5080,8 +5080,8 @@ impl ITfInputScope_Vtbl { GetXML: GetXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5107,8 +5107,8 @@ impl ITfInputScope2_Vtbl { } Self { base__: ITfInputScope_Vtbl::new::(), EnumWordList: EnumWordList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5150,8 +5150,8 @@ impl ITfInsertAtSelection_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5220,8 +5220,8 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { FinalizeExactCompositionString: FinalizeExactCompositionString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5309,8 +5309,8 @@ impl ITfKeyEventSink_Vtbl { OnPreservedKey: OnPreservedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5340,8 +5340,8 @@ impl ITfKeyTraceEventSink_Vtbl { OnKeyTraceUp: OnKeyTraceUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5509,8 +5509,8 @@ impl ITfKeystrokeMgr_Vtbl { SimulatePreservedKey: SimulatePreservedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5552,8 +5552,8 @@ impl ITfLMLattice_Vtbl { EnumLatticeElements: EnumLatticeElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5617,8 +5617,8 @@ impl ITfLangBarEventSink_Vtbl { GetItemFloatingRect: GetItemFloatingRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5674,8 +5674,8 @@ impl ITfLangBarItem_Vtbl { GetTooltipString: GetTooltipString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5724,8 +5724,8 @@ impl ITfLangBarItemBalloon_Vtbl { GetBalloonInfo: GetBalloonInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -5768,8 +5768,8 @@ impl ITfLangBarItemBitmap_Vtbl { DrawBitmap: DrawBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -5839,8 +5839,8 @@ impl ITfLangBarItemBitmapButton_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -5903,8 +5903,8 @@ impl ITfLangBarItemButton_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6028,8 +6028,8 @@ impl ITfLangBarItemMgr_Vtbl { UnadviseItemsSink: UnadviseItemsSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6046,8 +6046,8 @@ impl ITfLangBarItemSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdate: OnUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6138,8 +6138,8 @@ impl ITfLangBarMgr_Vtbl { GetShowFloatingStatus: GetShowFloatingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6175,8 +6175,8 @@ impl ITfLanguageProfileNotifySink_Vtbl { OnLanguageChanged: OnLanguageChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6203,8 +6203,8 @@ impl ITfMSAAControl_Vtbl { SystemDisableMSAA: SystemDisableMSAA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -6224,8 +6224,8 @@ impl ITfMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddMenuItem: AddMenuItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6269,8 +6269,8 @@ impl ITfMessagePump_Vtbl { GetMessageW: GetMessageW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6296,8 +6296,8 @@ impl ITfMouseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMouseEvent: OnMouseEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6330,8 +6330,8 @@ impl ITfMouseTracker_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6364,8 +6364,8 @@ impl ITfMouseTrackerACP_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6391,8 +6391,8 @@ impl ITfPersistentPropertyLoaderACP_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadProperty: LoadProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6409,8 +6409,8 @@ impl ITfPreservedKeyNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdated: OnUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6454,8 +6454,8 @@ impl ITfProperty_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6588,8 +6588,8 @@ impl ITfPropertyStore_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6615,8 +6615,8 @@ impl ITfQueryEmbedded_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInsertEmbedded: QueryInsertEmbedded:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6858,8 +6858,8 @@ impl ITfRange_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6889,8 +6889,8 @@ impl ITfRangeACP_Vtbl { SetExtent: SetExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6907,8 +6907,8 @@ impl ITfRangeBackup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Restore: Restore:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6970,8 +6970,8 @@ impl ITfReadOnlyProperty_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7065,8 +7065,8 @@ impl ITfReadingInformationUIElement_Vtbl { IsVerticalOrderPreferred: IsVerticalOrderPreferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7089,8 +7089,8 @@ impl ITfReverseConversion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoReverseConversion: DoReverseConversion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7129,8 +7129,8 @@ impl ITfReverseConversionList_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7153,8 +7153,8 @@ impl ITfReverseConversionMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetReverseConversion: GetReverseConversion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7187,8 +7187,8 @@ impl ITfSource_Vtbl { UnadviseSink: UnadviseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7215,8 +7215,8 @@ impl ITfSourceSingle_Vtbl { UnadviseSingleSink: UnadviseSingleSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7253,8 +7253,8 @@ impl ITfSpeechUIServer_Vtbl { UpdateBalloon: UpdateBalloon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7271,8 +7271,8 @@ impl ITfStatusSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatusChange: OnStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7305,8 +7305,8 @@ impl ITfSystemDeviceTypeLangBarItem_Vtbl { GetIconMode: GetIconMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7336,8 +7336,8 @@ impl ITfSystemLangBarItem_Vtbl { SetTooltipString: SetTooltipString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7364,8 +7364,8 @@ impl ITfSystemLangBarItemSink_Vtbl { OnMenuSelect: OnMenuSelect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7398,8 +7398,8 @@ impl ITfSystemLangBarItemText_Vtbl { GetItemText: GetItemText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7416,8 +7416,8 @@ impl ITfTextEditSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEndEdit: OnEndEdit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7444,8 +7444,8 @@ impl ITfTextInputProcessor_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7462,8 +7462,8 @@ impl ITfTextInputProcessorEx_Vtbl { } Self { base__: ITfTextInputProcessor_Vtbl::new::(), ActivateEx: ActivateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7480,8 +7480,8 @@ impl ITfTextLayoutSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLayoutChange: OnLayoutChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7508,8 +7508,8 @@ impl ITfThreadFocusSink_Vtbl { OnKillThreadFocus: OnKillThreadFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7656,8 +7656,8 @@ impl ITfThreadMgr_Vtbl { GetGlobalCompartment: GetGlobalCompartment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7825,8 +7825,8 @@ impl ITfThreadMgr2_Vtbl { ResumeKeystrokeHandling: ResumeKeystrokeHandling::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7874,8 +7874,8 @@ impl ITfThreadMgrEventSink_Vtbl { OnPopContext: OnPopContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7911,8 +7911,8 @@ impl ITfThreadMgrEx_Vtbl { GetActiveFlags: GetActiveFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7938,8 +7938,8 @@ impl ITfToolTipUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetString: GetString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7968,8 +7968,8 @@ impl ITfTransitoryExtensionSink_Vtbl { OnTransitoryExtensionUpdated: OnTransitoryExtensionUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7995,8 +7995,8 @@ impl ITfTransitoryExtensionUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetDocumentMgr: GetDocumentMgr:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8058,8 +8058,8 @@ impl ITfUIElement_Vtbl { IsShown: IsShown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8122,8 +8122,8 @@ impl ITfUIElementMgr_Vtbl { EnumUIElements: EnumUIElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8160,8 +8160,8 @@ impl ITfUIElementSink_Vtbl { EndUIElement: EndUIElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8219,8 +8219,8 @@ impl IUIManagerEventSink_Vtbl { OnWindowClosed: OnWindowClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -8292,7 +8292,7 @@ impl IVersionInfo_Vtbl { GetInstanceDescription: GetInstanceDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs index 30cdd341fc..12b996b58b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -22,6 +22,7 @@ pub unsafe fn UninitLocalMsCtfMonitor() -> ::windows_core::Result<()> { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccClientDocMgr(::windows_core::IUnknown); impl IAccClientDocMgr { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -51,25 +52,9 @@ impl IAccClientDocMgr { } } ::windows_core::imp::interface_hierarchy!(IAccClientDocMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccClientDocMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccClientDocMgr {} -impl ::core::fmt::Debug for IAccClientDocMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccClientDocMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccClientDocMgr { type Vtable = IAccClientDocMgr_Vtbl; } -impl ::core::clone::Clone for IAccClientDocMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccClientDocMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4c896039_7b6d_49e6_a8c1_45116a98292b); } @@ -93,6 +78,7 @@ pub struct IAccClientDocMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccDictionary(::windows_core::IUnknown); impl IAccDictionary { pub unsafe fn GetLocalizedString(&self, term: *const ::windows_core::GUID, lcid: u32, presult: *mut ::windows_core::BSTR, plcid: *mut u32) -> ::windows_core::Result<()> { @@ -120,25 +106,9 @@ impl IAccDictionary { } } ::windows_core::imp::interface_hierarchy!(IAccDictionary, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccDictionary { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccDictionary {} -impl ::core::fmt::Debug for IAccDictionary { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccDictionary").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccDictionary { type Vtable = IAccDictionary_Vtbl; } -impl ::core::clone::Clone for IAccDictionary { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccDictionary { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1dc4cb5f_d737_474d_ade9_5ccfc9bc1cc9); } @@ -157,6 +127,7 @@ pub struct IAccDictionary_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccServerDocMgr(::windows_core::IUnknown); impl IAccServerDocMgr { pub unsafe fn NewDocument(&self, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result<()> @@ -179,25 +150,9 @@ impl IAccServerDocMgr { } } ::windows_core::imp::interface_hierarchy!(IAccServerDocMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccServerDocMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccServerDocMgr {} -impl ::core::fmt::Debug for IAccServerDocMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccServerDocMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccServerDocMgr { type Vtable = IAccServerDocMgr_Vtbl; } -impl ::core::clone::Clone for IAccServerDocMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccServerDocMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad7c73cf_6dd5_4855_abc2_b04bad5b9153); } @@ -211,6 +166,7 @@ pub struct IAccServerDocMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAccStore(::windows_core::IUnknown); impl IAccStore { pub unsafe fn Register(&self, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result<()> @@ -258,25 +214,9 @@ impl IAccStore { } } ::windows_core::imp::interface_hierarchy!(IAccStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAccStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAccStore {} -impl ::core::fmt::Debug for IAccStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAccStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAccStore { type Vtable = IAccStore_Vtbl; } -impl ::core::clone::Clone for IAccStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAccStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2cd4a63_2b72_4d48_b739_95e4765195ba); } @@ -303,6 +243,7 @@ pub struct IAccStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnchor(::windows_core::IUnknown); impl IAnchor { pub unsafe fn SetGravity(&self, gravity: TsGravity) -> ::windows_core::Result<()> { @@ -362,25 +303,9 @@ impl IAnchor { } } ::windows_core::imp::interface_hierarchy!(IAnchor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAnchor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAnchor {} -impl ::core::fmt::Debug for IAnchor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnchor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAnchor { type Vtable = IAnchor_Vtbl; } -impl ::core::clone::Clone for IAnchor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAnchor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0feb7e34_5a60_4356_8ef7_abdec2ff7cf8); } @@ -408,6 +333,7 @@ pub struct IAnchor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClonableWrapper(::windows_core::IUnknown); impl IClonableWrapper { pub unsafe fn CloneNewWrapper(&self) -> ::windows_core::Result @@ -419,25 +345,9 @@ impl IClonableWrapper { } } ::windows_core::imp::interface_hierarchy!(IClonableWrapper, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IClonableWrapper { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IClonableWrapper {} -impl ::core::fmt::Debug for IClonableWrapper { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IClonableWrapper").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IClonableWrapper { type Vtable = IClonableWrapper_Vtbl; } -impl ::core::clone::Clone for IClonableWrapper { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClonableWrapper { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb33e75ff_e84c_4dca_a25c_33b8dc003374); } @@ -449,6 +359,7 @@ pub struct IClonableWrapper_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoCreateLocally(::windows_core::IUnknown); impl ICoCreateLocally { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -461,25 +372,9 @@ impl ICoCreateLocally { } } ::windows_core::imp::interface_hierarchy!(ICoCreateLocally, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoCreateLocally { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoCreateLocally {} -impl ::core::fmt::Debug for ICoCreateLocally { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoCreateLocally").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoCreateLocally { type Vtable = ICoCreateLocally_Vtbl; } -impl ::core::clone::Clone for ICoCreateLocally { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoCreateLocally { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x03de00aa_f272_41e3_99cb_03c5e8114ea0); } @@ -494,6 +389,7 @@ pub struct ICoCreateLocally_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICoCreatedLocally(::windows_core::IUnknown); impl ICoCreatedLocally { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -507,25 +403,9 @@ impl ICoCreatedLocally { } } ::windows_core::imp::interface_hierarchy!(ICoCreatedLocally, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICoCreatedLocally { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICoCreatedLocally {} -impl ::core::fmt::Debug for ICoCreatedLocally { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICoCreatedLocally").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICoCreatedLocally { type Vtable = ICoCreatedLocally_Vtbl; } -impl ::core::clone::Clone for ICoCreatedLocally { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICoCreatedLocally { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0a53eb6c_1908_4742_8cff_2cee2e93f94c); } @@ -540,6 +420,7 @@ pub struct ICoCreatedLocally_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDocWrap(::windows_core::IUnknown); impl IDocWrap { pub unsafe fn SetDoc(&self, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result<()> @@ -554,25 +435,9 @@ impl IDocWrap { } } ::windows_core::imp::interface_hierarchy!(IDocWrap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDocWrap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocWrap {} -impl ::core::fmt::Debug for IDocWrap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocWrap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDocWrap { type Vtable = IDocWrap_Vtbl; } -impl ::core::clone::Clone for IDocWrap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDocWrap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdcd285fe_0be0_43bd_99c9_aaaec513c555); } @@ -585,6 +450,7 @@ pub struct IDocWrap_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumITfCompositionView(::windows_core::IUnknown); impl IEnumITfCompositionView { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -602,25 +468,9 @@ impl IEnumITfCompositionView { } } ::windows_core::imp::interface_hierarchy!(IEnumITfCompositionView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumITfCompositionView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumITfCompositionView {} -impl ::core::fmt::Debug for IEnumITfCompositionView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumITfCompositionView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumITfCompositionView { type Vtable = IEnumITfCompositionView_Vtbl; } -impl ::core::clone::Clone for IEnumITfCompositionView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumITfCompositionView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5efd22ba_7838_46cb_88e2_cadb14124f8f); } @@ -635,6 +485,7 @@ pub struct IEnumITfCompositionView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSpeechCommands(::windows_core::IUnknown); impl IEnumSpeechCommands { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -652,25 +503,9 @@ impl IEnumSpeechCommands { } } ::windows_core::imp::interface_hierarchy!(IEnumSpeechCommands, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSpeechCommands { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSpeechCommands {} -impl ::core::fmt::Debug for IEnumSpeechCommands { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSpeechCommands").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSpeechCommands { type Vtable = IEnumSpeechCommands_Vtbl; } -impl ::core::clone::Clone for IEnumSpeechCommands { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSpeechCommands { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8c5dac4f_083c_4b85_a4c9_71746048adca); } @@ -685,6 +520,7 @@ pub struct IEnumSpeechCommands_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfCandidates(::windows_core::IUnknown); impl IEnumTfCandidates { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -702,25 +538,9 @@ impl IEnumTfCandidates { } } ::windows_core::imp::interface_hierarchy!(IEnumTfCandidates, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfCandidates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfCandidates {} -impl ::core::fmt::Debug for IEnumTfCandidates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfCandidates").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfCandidates { type Vtable = IEnumTfCandidates_Vtbl; } -impl ::core::clone::Clone for IEnumTfCandidates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfCandidates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdefb1926_6c80_4ce8_87d4_d6b72b812bde); } @@ -735,6 +555,7 @@ pub struct IEnumTfCandidates_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfContextViews(::windows_core::IUnknown); impl IEnumTfContextViews { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -752,25 +573,9 @@ impl IEnumTfContextViews { } } ::windows_core::imp::interface_hierarchy!(IEnumTfContextViews, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfContextViews { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfContextViews {} -impl ::core::fmt::Debug for IEnumTfContextViews { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfContextViews").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfContextViews { type Vtable = IEnumTfContextViews_Vtbl; } -impl ::core::clone::Clone for IEnumTfContextViews { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfContextViews { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf0c0f8dd_cf38_44e1_bb0f_68cf0d551c78); } @@ -785,6 +590,7 @@ pub struct IEnumTfContextViews_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfContexts(::windows_core::IUnknown); impl IEnumTfContexts { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -802,25 +608,9 @@ impl IEnumTfContexts { } } ::windows_core::imp::interface_hierarchy!(IEnumTfContexts, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfContexts { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfContexts {} -impl ::core::fmt::Debug for IEnumTfContexts { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfContexts").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfContexts { type Vtable = IEnumTfContexts_Vtbl; } -impl ::core::clone::Clone for IEnumTfContexts { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfContexts { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f1a7ea6_1654_4502_a86e_b2902344d507); } @@ -835,6 +625,7 @@ pub struct IEnumTfContexts_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfDisplayAttributeInfo(::windows_core::IUnknown); impl IEnumTfDisplayAttributeInfo { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -852,25 +643,9 @@ impl IEnumTfDisplayAttributeInfo { } } ::windows_core::imp::interface_hierarchy!(IEnumTfDisplayAttributeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfDisplayAttributeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfDisplayAttributeInfo {} -impl ::core::fmt::Debug for IEnumTfDisplayAttributeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfDisplayAttributeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfDisplayAttributeInfo { type Vtable = IEnumTfDisplayAttributeInfo_Vtbl; } -impl ::core::clone::Clone for IEnumTfDisplayAttributeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfDisplayAttributeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7cef04d7_cb75_4e80_a7ab_5f5bc7d332de); } @@ -885,6 +660,7 @@ pub struct IEnumTfDisplayAttributeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfDocumentMgrs(::windows_core::IUnknown); impl IEnumTfDocumentMgrs { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -902,25 +678,9 @@ impl IEnumTfDocumentMgrs { } } ::windows_core::imp::interface_hierarchy!(IEnumTfDocumentMgrs, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfDocumentMgrs { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfDocumentMgrs {} -impl ::core::fmt::Debug for IEnumTfDocumentMgrs { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfDocumentMgrs").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfDocumentMgrs { type Vtable = IEnumTfDocumentMgrs_Vtbl; } -impl ::core::clone::Clone for IEnumTfDocumentMgrs { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfDocumentMgrs { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e808_2021_11d2_93e0_0060b067b86e); } @@ -935,6 +695,7 @@ pub struct IEnumTfDocumentMgrs_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfFunctionProviders(::windows_core::IUnknown); impl IEnumTfFunctionProviders { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -952,25 +713,9 @@ impl IEnumTfFunctionProviders { } } ::windows_core::imp::interface_hierarchy!(IEnumTfFunctionProviders, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfFunctionProviders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfFunctionProviders {} -impl ::core::fmt::Debug for IEnumTfFunctionProviders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfFunctionProviders").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfFunctionProviders { type Vtable = IEnumTfFunctionProviders_Vtbl; } -impl ::core::clone::Clone for IEnumTfFunctionProviders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfFunctionProviders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe4b24db0_0990_11d3_8df0_00105a2799b5); } @@ -985,6 +730,7 @@ pub struct IEnumTfFunctionProviders_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfInputProcessorProfiles(::windows_core::IUnknown); impl IEnumTfInputProcessorProfiles { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1002,25 +748,9 @@ impl IEnumTfInputProcessorProfiles { } } ::windows_core::imp::interface_hierarchy!(IEnumTfInputProcessorProfiles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfInputProcessorProfiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfInputProcessorProfiles {} -impl ::core::fmt::Debug for IEnumTfInputProcessorProfiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfInputProcessorProfiles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfInputProcessorProfiles { type Vtable = IEnumTfInputProcessorProfiles_Vtbl; } -impl ::core::clone::Clone for IEnumTfInputProcessorProfiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfInputProcessorProfiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c6e74d_0f28_11d8_a82a_00065b84435c); } @@ -1035,6 +765,7 @@ pub struct IEnumTfInputProcessorProfiles_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfLangBarItems(::windows_core::IUnknown); impl IEnumTfLangBarItems { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1052,25 +783,9 @@ impl IEnumTfLangBarItems { } } ::windows_core::imp::interface_hierarchy!(IEnumTfLangBarItems, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfLangBarItems { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfLangBarItems {} -impl ::core::fmt::Debug for IEnumTfLangBarItems { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfLangBarItems").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfLangBarItems { type Vtable = IEnumTfLangBarItems_Vtbl; } -impl ::core::clone::Clone for IEnumTfLangBarItems { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfLangBarItems { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x583f34d0_de25_11d2_afdd_00105a2799b5); } @@ -1085,6 +800,7 @@ pub struct IEnumTfLangBarItems_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfLanguageProfiles(::windows_core::IUnknown); impl IEnumTfLanguageProfiles { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1104,25 +820,9 @@ impl IEnumTfLanguageProfiles { } } ::windows_core::imp::interface_hierarchy!(IEnumTfLanguageProfiles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfLanguageProfiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfLanguageProfiles {} -impl ::core::fmt::Debug for IEnumTfLanguageProfiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfLanguageProfiles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfLanguageProfiles { type Vtable = IEnumTfLanguageProfiles_Vtbl; } -impl ::core::clone::Clone for IEnumTfLanguageProfiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfLanguageProfiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d61bf11_ac5f_42c8_a4cb_931bcc28c744); } @@ -1140,6 +840,7 @@ pub struct IEnumTfLanguageProfiles_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfLatticeElements(::windows_core::IUnknown); impl IEnumTfLatticeElements { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1157,25 +858,9 @@ impl IEnumTfLatticeElements { } } ::windows_core::imp::interface_hierarchy!(IEnumTfLatticeElements, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfLatticeElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfLatticeElements {} -impl ::core::fmt::Debug for IEnumTfLatticeElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfLatticeElements").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfLatticeElements { type Vtable = IEnumTfLatticeElements_Vtbl; } -impl ::core::clone::Clone for IEnumTfLatticeElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfLatticeElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56988052_47da_4a05_911a_e3d941f17145); } @@ -1190,6 +875,7 @@ pub struct IEnumTfLatticeElements_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfProperties(::windows_core::IUnknown); impl IEnumTfProperties { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1207,25 +893,9 @@ impl IEnumTfProperties { } } ::windows_core::imp::interface_hierarchy!(IEnumTfProperties, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfProperties { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfProperties {} -impl ::core::fmt::Debug for IEnumTfProperties { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfProperties").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfProperties { type Vtable = IEnumTfProperties_Vtbl; } -impl ::core::clone::Clone for IEnumTfProperties { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfProperties { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x19188cb0_aca9_11d2_afc5_00105a2799b5); } @@ -1240,6 +910,7 @@ pub struct IEnumTfProperties_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfPropertyValue(::windows_core::IUnknown); impl IEnumTfPropertyValue { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1259,25 +930,9 @@ impl IEnumTfPropertyValue { } } ::windows_core::imp::interface_hierarchy!(IEnumTfPropertyValue, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfPropertyValue { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfPropertyValue {} -impl ::core::fmt::Debug for IEnumTfPropertyValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfPropertyValue").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfPropertyValue { type Vtable = IEnumTfPropertyValue_Vtbl; } -impl ::core::clone::Clone for IEnumTfPropertyValue { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfPropertyValue { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ed8981b_7c10_4d7d_9fb3_ab72e9c75f72); } @@ -1295,6 +950,7 @@ pub struct IEnumTfPropertyValue_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfRanges(::windows_core::IUnknown); impl IEnumTfRanges { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1312,25 +968,9 @@ impl IEnumTfRanges { } } ::windows_core::imp::interface_hierarchy!(IEnumTfRanges, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfRanges { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfRanges {} -impl ::core::fmt::Debug for IEnumTfRanges { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfRanges").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfRanges { type Vtable = IEnumTfRanges_Vtbl; } -impl ::core::clone::Clone for IEnumTfRanges { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfRanges { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf99d3f40_8e32_11d2_bf46_00105a2799b5); } @@ -1345,6 +985,7 @@ pub struct IEnumTfRanges_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumTfUIElements(::windows_core::IUnknown); impl IEnumTfUIElements { pub unsafe fn Clone(&self) -> ::windows_core::Result { @@ -1362,25 +1003,9 @@ impl IEnumTfUIElements { } } ::windows_core::imp::interface_hierarchy!(IEnumTfUIElements, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumTfUIElements { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumTfUIElements {} -impl ::core::fmt::Debug for IEnumTfUIElements { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumTfUIElements").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumTfUIElements { type Vtable = IEnumTfUIElements_Vtbl; } -impl ::core::clone::Clone for IEnumTfUIElements { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumTfUIElements { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x887aa91e_acba_4931_84da_3c5208cf543f); } @@ -1395,6 +1020,7 @@ pub struct IEnumTfUIElements_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternalDocWrap(::windows_core::IUnknown); impl IInternalDocWrap { pub unsafe fn NotifyRevoke(&self) -> ::windows_core::Result<()> { @@ -1402,25 +1028,9 @@ impl IInternalDocWrap { } } ::windows_core::imp::interface_hierarchy!(IInternalDocWrap, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternalDocWrap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternalDocWrap {} -impl ::core::fmt::Debug for IInternalDocWrap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternalDocWrap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternalDocWrap { type Vtable = IInternalDocWrap_Vtbl; } -impl ::core::clone::Clone for IInternalDocWrap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternalDocWrap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe1aa6466_9db4_40ba_be03_77c38e8e60b2); } @@ -1432,6 +1042,7 @@ pub struct IInternalDocWrap_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISpeechCommandProvider(::windows_core::IUnknown); impl ISpeechCommandProvider { pub unsafe fn EnumSpeechCommands(&self, langid: u16) -> ::windows_core::Result { @@ -1443,25 +1054,9 @@ impl ISpeechCommandProvider { } } ::windows_core::imp::interface_hierarchy!(ISpeechCommandProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISpeechCommandProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISpeechCommandProvider {} -impl ::core::fmt::Debug for ISpeechCommandProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISpeechCommandProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISpeechCommandProvider { type Vtable = ISpeechCommandProvider_Vtbl; } -impl ::core::clone::Clone for ISpeechCommandProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISpeechCommandProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38e09d4c_586d_435a_b592_c8a86691dec6); } @@ -1474,6 +1069,7 @@ pub struct ISpeechCommandProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACP(::windows_core::IUnknown); impl ITextStoreACP { pub unsafe fn AdviseSink(&self, riid: *const ::windows_core::GUID, punk: P0, dwmask: u32) -> ::windows_core::Result<()> @@ -1604,25 +1200,9 @@ impl ITextStoreACP { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACP, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreACP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACP {} -impl ::core::fmt::Debug for ITextStoreACP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreACP { type Vtable = ITextStoreACP_Vtbl; } -impl ::core::clone::Clone for ITextStoreACP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreACP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28888fe3_c2a0_483a_a3ea_8cb1ce51ff3d); } @@ -1695,6 +1275,7 @@ pub struct ITextStoreACP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACP2(::windows_core::IUnknown); impl ITextStoreACP2 { pub unsafe fn AdviseSink(&self, riid: *const ::windows_core::GUID, punk: P0, dwmask: u32) -> ::windows_core::Result<()> @@ -1819,24 +1400,8 @@ impl ITextStoreACP2 { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACP2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreACP2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACP2 {} -impl ::core::fmt::Debug for ITextStoreACP2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACP2").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ITextStoreACP2 { - type Vtable = ITextStoreACP2_Vtbl; -} -impl ::core::clone::Clone for ITextStoreACP2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ITextStoreACP2 { + type Vtable = ITextStoreACP2_Vtbl; } unsafe impl ::windows_core::ComInterface for ITextStoreACP2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf86ad89f_5fe4_4b8d_bb9f_ef3797a84f1f); @@ -1906,6 +1471,7 @@ pub struct ITextStoreACP2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACPEx(::windows_core::IUnknown); impl ITextStoreACPEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1915,25 +1481,9 @@ impl ITextStoreACPEx { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACPEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreACPEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACPEx {} -impl ::core::fmt::Debug for ITextStoreACPEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACPEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreACPEx { type Vtable = ITextStoreACPEx_Vtbl; } -impl ::core::clone::Clone for ITextStoreACPEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreACPEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2de3bc2_3d8e_11d3_81a9_f753fbe61a00); } @@ -1948,6 +1498,7 @@ pub struct ITextStoreACPEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACPServices(::windows_core::IUnknown); impl ITextStoreACPServices { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -1982,25 +1533,9 @@ impl ITextStoreACPServices { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACPServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreACPServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACPServices {} -impl ::core::fmt::Debug for ITextStoreACPServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACPServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreACPServices { type Vtable = ITextStoreACPServices_Vtbl; } -impl ::core::clone::Clone for ITextStoreACPServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreACPServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e901_2021_11d2_93e0_0060b067b86e); } @@ -2021,6 +1556,7 @@ pub struct ITextStoreACPServices_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACPSink(::windows_core::IUnknown); impl ITextStoreACPSink { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows_core::Result<()> { @@ -2049,25 +1585,9 @@ impl ITextStoreACPSink { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACPSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreACPSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACPSink {} -impl ::core::fmt::Debug for ITextStoreACPSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACPSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreACPSink { type Vtable = ITextStoreACPSink_Vtbl; } -impl ::core::clone::Clone for ITextStoreACPSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreACPSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x22d44c94_a419_4542_a272_ae26093ececf); } @@ -2086,6 +1606,7 @@ pub struct ITextStoreACPSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreACPSinkEx(::windows_core::IUnknown); impl ITextStoreACPSinkEx { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows_core::Result<()> { @@ -2117,25 +1638,9 @@ impl ITextStoreACPSinkEx { } } ::windows_core::imp::interface_hierarchy!(ITextStoreACPSinkEx, ::windows_core::IUnknown, ITextStoreACPSink); -impl ::core::cmp::PartialEq for ITextStoreACPSinkEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreACPSinkEx {} -impl ::core::fmt::Debug for ITextStoreACPSinkEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreACPSinkEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreACPSinkEx { type Vtable = ITextStoreACPSinkEx_Vtbl; } -impl ::core::clone::Clone for ITextStoreACPSinkEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreACPSinkEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bdf9464_41e2_43e3_950c_a6865ba25cd4); } @@ -2147,6 +1652,7 @@ pub struct ITextStoreACPSinkEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreAnchor(::windows_core::IUnknown); impl ITextStoreAnchor { pub unsafe fn AdviseSink(&self, riid: *const ::windows_core::GUID, punk: P0, dwmask: u32) -> ::windows_core::Result<()> @@ -2317,25 +1823,9 @@ impl ITextStoreAnchor { } } ::windows_core::imp::interface_hierarchy!(ITextStoreAnchor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreAnchor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreAnchor {} -impl ::core::fmt::Debug for ITextStoreAnchor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreAnchor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreAnchor { type Vtable = ITextStoreAnchor_Vtbl; } -impl ::core::clone::Clone for ITextStoreAnchor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreAnchor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b2077b0_5f18_4dec_bee9_3cc722f5dfe0); } @@ -2412,6 +1902,7 @@ pub struct ITextStoreAnchor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreAnchorEx(::windows_core::IUnknown); impl ITextStoreAnchorEx { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2425,25 +1916,9 @@ impl ITextStoreAnchorEx { } } ::windows_core::imp::interface_hierarchy!(ITextStoreAnchorEx, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreAnchorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreAnchorEx {} -impl ::core::fmt::Debug for ITextStoreAnchorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreAnchorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreAnchorEx { type Vtable = ITextStoreAnchorEx_Vtbl; } -impl ::core::clone::Clone for ITextStoreAnchorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreAnchorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa2de3bc1_3d8e_11d3_81a9_f753fbe61a00); } @@ -2458,6 +1933,7 @@ pub struct ITextStoreAnchorEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreAnchorSink(::windows_core::IUnknown); impl ITextStoreAnchorSink { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: P0, paend: P1) -> ::windows_core::Result<()> @@ -2494,25 +1970,9 @@ impl ITextStoreAnchorSink { } } ::windows_core::imp::interface_hierarchy!(ITextStoreAnchorSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITextStoreAnchorSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreAnchorSink {} -impl ::core::fmt::Debug for ITextStoreAnchorSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreAnchorSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreAnchorSink { type Vtable = ITextStoreAnchorSink_Vtbl; } -impl ::core::clone::Clone for ITextStoreAnchorSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreAnchorSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e905_2021_11d2_93e0_0060b067b86e); } @@ -2531,6 +1991,7 @@ pub struct ITextStoreAnchorSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITextStoreSinkAnchorEx(::windows_core::IUnknown); impl ITextStoreSinkAnchorEx { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: P0, paend: P1) -> ::windows_core::Result<()> @@ -2570,25 +2031,9 @@ impl ITextStoreSinkAnchorEx { } } ::windows_core::imp::interface_hierarchy!(ITextStoreSinkAnchorEx, ::windows_core::IUnknown, ITextStoreAnchorSink); -impl ::core::cmp::PartialEq for ITextStoreSinkAnchorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITextStoreSinkAnchorEx {} -impl ::core::fmt::Debug for ITextStoreSinkAnchorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITextStoreSinkAnchorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITextStoreSinkAnchorEx { type Vtable = ITextStoreSinkAnchorEx_Vtbl; } -impl ::core::clone::Clone for ITextStoreSinkAnchorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITextStoreSinkAnchorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25642426_028d_4474_977b_111bb114fe3e); } @@ -2600,6 +2045,7 @@ pub struct ITextStoreSinkAnchorEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfActiveLanguageProfileNotifySink(::windows_core::IUnknown); impl ITfActiveLanguageProfileNotifySink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2612,25 +2058,9 @@ impl ITfActiveLanguageProfileNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITfActiveLanguageProfileNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfActiveLanguageProfileNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfActiveLanguageProfileNotifySink {} -impl ::core::fmt::Debug for ITfActiveLanguageProfileNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfActiveLanguageProfileNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfActiveLanguageProfileNotifySink { type Vtable = ITfActiveLanguageProfileNotifySink_Vtbl; } -impl ::core::clone::Clone for ITfActiveLanguageProfileNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfActiveLanguageProfileNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb246cb75_a93e_4652_bf8c_b3fe0cfd7e57); } @@ -2645,6 +2075,7 @@ pub struct ITfActiveLanguageProfileNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCandidateList(::windows_core::IUnknown); impl ITfCandidateList { pub unsafe fn EnumCandidates(&self) -> ::windows_core::Result { @@ -2664,25 +2095,9 @@ impl ITfCandidateList { } } ::windows_core::imp::interface_hierarchy!(ITfCandidateList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCandidateList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCandidateList {} -impl ::core::fmt::Debug for ITfCandidateList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCandidateList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCandidateList { type Vtable = ITfCandidateList_Vtbl; } -impl ::core::clone::Clone for ITfCandidateList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCandidateList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3ad50fb_9bdb_49e3_a843_6c76520fbf5d); } @@ -2697,6 +2112,7 @@ pub struct ITfCandidateList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCandidateListUIElement(::windows_core::IUnknown); impl ITfCandidateListUIElement { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2753,25 +2169,9 @@ impl ITfCandidateListUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfCandidateListUIElement, ::windows_core::IUnknown, ITfUIElement); -impl ::core::cmp::PartialEq for ITfCandidateListUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCandidateListUIElement {} -impl ::core::fmt::Debug for ITfCandidateListUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCandidateListUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCandidateListUIElement { type Vtable = ITfCandidateListUIElement_Vtbl; } -impl ::core::clone::Clone for ITfCandidateListUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCandidateListUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1ea138_19df_11d7_a6d2_00065b84435c); } @@ -2790,6 +2190,7 @@ pub struct ITfCandidateListUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCandidateListUIElementBehavior(::windows_core::IUnknown); impl ITfCandidateListUIElementBehavior { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2855,25 +2256,9 @@ impl ITfCandidateListUIElementBehavior { } } ::windows_core::imp::interface_hierarchy!(ITfCandidateListUIElementBehavior, ::windows_core::IUnknown, ITfUIElement, ITfCandidateListUIElement); -impl ::core::cmp::PartialEq for ITfCandidateListUIElementBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCandidateListUIElementBehavior {} -impl ::core::fmt::Debug for ITfCandidateListUIElementBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCandidateListUIElementBehavior").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCandidateListUIElementBehavior { type Vtable = ITfCandidateListUIElementBehavior_Vtbl; } -impl ::core::clone::Clone for ITfCandidateListUIElementBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCandidateListUIElementBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85fad185_58ce_497a_9460_355366b64b9a); } @@ -2887,6 +2272,7 @@ pub struct ITfCandidateListUIElementBehavior_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCandidateString(::windows_core::IUnknown); impl ITfCandidateString { pub unsafe fn GetString(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -2899,25 +2285,9 @@ impl ITfCandidateString { } } ::windows_core::imp::interface_hierarchy!(ITfCandidateString, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCandidateString { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCandidateString {} -impl ::core::fmt::Debug for ITfCandidateString { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCandidateString").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCandidateString { type Vtable = ITfCandidateString_Vtbl; } -impl ::core::clone::Clone for ITfCandidateString { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCandidateString { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x581f317e_fd9d_443f_b972_ed00467c5d40); } @@ -2930,6 +2300,7 @@ pub struct ITfCandidateString_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCategoryMgr(::windows_core::IUnknown); impl ITfCategoryMgr { pub unsafe fn RegisterCategory(&self, rclsid: *const ::windows_core::GUID, rcatid: *const ::windows_core::GUID, rguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -2989,25 +2360,9 @@ impl ITfCategoryMgr { } } ::windows_core::imp::interface_hierarchy!(ITfCategoryMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCategoryMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCategoryMgr {} -impl ::core::fmt::Debug for ITfCategoryMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCategoryMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCategoryMgr { type Vtable = ITfCategoryMgr_Vtbl; } -impl ::core::clone::Clone for ITfCategoryMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCategoryMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc3acefb5_f69d_4905_938f_fcadcf4be830); } @@ -3041,6 +2396,7 @@ pub struct ITfCategoryMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCleanupContextDurationSink(::windows_core::IUnknown); impl ITfCleanupContextDurationSink { pub unsafe fn OnStartCleanupContext(&self) -> ::windows_core::Result<()> { @@ -3051,25 +2407,9 @@ impl ITfCleanupContextDurationSink { } } ::windows_core::imp::interface_hierarchy!(ITfCleanupContextDurationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCleanupContextDurationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCleanupContextDurationSink {} -impl ::core::fmt::Debug for ITfCleanupContextDurationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCleanupContextDurationSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCleanupContextDurationSink { type Vtable = ITfCleanupContextDurationSink_Vtbl; } -impl ::core::clone::Clone for ITfCleanupContextDurationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCleanupContextDurationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45c35144_154e_4797_bed8_d33ae7bf8794); } @@ -3082,6 +2422,7 @@ pub struct ITfCleanupContextDurationSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCleanupContextSink(::windows_core::IUnknown); impl ITfCleanupContextSink { pub unsafe fn OnCleanupContext(&self, ecwrite: u32, pic: P0) -> ::windows_core::Result<()> @@ -3092,25 +2433,9 @@ impl ITfCleanupContextSink { } } ::windows_core::imp::interface_hierarchy!(ITfCleanupContextSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCleanupContextSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCleanupContextSink {} -impl ::core::fmt::Debug for ITfCleanupContextSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCleanupContextSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCleanupContextSink { type Vtable = ITfCleanupContextSink_Vtbl; } -impl ::core::clone::Clone for ITfCleanupContextSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCleanupContextSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01689689_7acb_4e9b_ab7c_7ea46b12b522); } @@ -3122,6 +2447,7 @@ pub struct ITfCleanupContextSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfClientId(::windows_core::IUnknown); impl ITfClientId { pub unsafe fn GetClientId(&self, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -3130,25 +2456,9 @@ impl ITfClientId { } } ::windows_core::imp::interface_hierarchy!(ITfClientId, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfClientId { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfClientId {} -impl ::core::fmt::Debug for ITfClientId { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfClientId").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfClientId { type Vtable = ITfClientId_Vtbl; } -impl ::core::clone::Clone for ITfClientId { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfClientId { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd60a7b49_1b9f_4be2_b702_47e9dc05dec3); } @@ -3160,6 +2470,7 @@ pub struct ITfClientId_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCompartment(::windows_core::IUnknown); impl ITfCompartment { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -3175,25 +2486,9 @@ impl ITfCompartment { } } ::windows_core::imp::interface_hierarchy!(ITfCompartment, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCompartment { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCompartment {} -impl ::core::fmt::Debug for ITfCompartment { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCompartment").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCompartment { type Vtable = ITfCompartment_Vtbl; } -impl ::core::clone::Clone for ITfCompartment { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCompartment { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb08f7a9_607a_4384_8623_056892b64371); } @@ -3212,6 +2507,7 @@ pub struct ITfCompartment_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCompartmentEventSink(::windows_core::IUnknown); impl ITfCompartmentEventSink { pub unsafe fn OnChange(&self, rguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -3219,25 +2515,9 @@ impl ITfCompartmentEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfCompartmentEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCompartmentEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCompartmentEventSink {} -impl ::core::fmt::Debug for ITfCompartmentEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCompartmentEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCompartmentEventSink { type Vtable = ITfCompartmentEventSink_Vtbl; } -impl ::core::clone::Clone for ITfCompartmentEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCompartmentEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x743abd5f_f26d_48df_8cc5_238492419b64); } @@ -3249,6 +2529,7 @@ pub struct ITfCompartmentEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCompartmentMgr(::windows_core::IUnknown); impl ITfCompartmentMgr { pub unsafe fn GetCompartment(&self, rguid: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -3266,25 +2547,9 @@ impl ITfCompartmentMgr { } } ::windows_core::imp::interface_hierarchy!(ITfCompartmentMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCompartmentMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCompartmentMgr {} -impl ::core::fmt::Debug for ITfCompartmentMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCompartmentMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCompartmentMgr { type Vtable = ITfCompartmentMgr_Vtbl; } -impl ::core::clone::Clone for ITfCompartmentMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCompartmentMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7dcf57ac_18ad_438b_824d_979bffb74b7c); } @@ -3301,6 +2566,7 @@ pub struct ITfCompartmentMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfComposition(::windows_core::IUnknown); impl ITfComposition { pub unsafe fn GetRange(&self) -> ::windows_core::Result { @@ -3324,25 +2590,9 @@ impl ITfComposition { } } ::windows_core::imp::interface_hierarchy!(ITfComposition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfComposition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfComposition {} -impl ::core::fmt::Debug for ITfComposition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfComposition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfComposition { type Vtable = ITfComposition_Vtbl; } -impl ::core::clone::Clone for ITfComposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfComposition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20168d64_5a8f_4a5a_b7bd_cfa29f4d0fd9); } @@ -3357,6 +2607,7 @@ pub struct ITfComposition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCompositionSink(::windows_core::IUnknown); impl ITfCompositionSink { pub unsafe fn OnCompositionTerminated(&self, ecwrite: u32, pcomposition: P0) -> ::windows_core::Result<()> @@ -3367,25 +2618,9 @@ impl ITfCompositionSink { } } ::windows_core::imp::interface_hierarchy!(ITfCompositionSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCompositionSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCompositionSink {} -impl ::core::fmt::Debug for ITfCompositionSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCompositionSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCompositionSink { type Vtable = ITfCompositionSink_Vtbl; } -impl ::core::clone::Clone for ITfCompositionSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCompositionSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa781718c_579a_4b15_a280_32b8577acc5e); } @@ -3397,6 +2632,7 @@ pub struct ITfCompositionSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCompositionView(::windows_core::IUnknown); impl ITfCompositionView { pub unsafe fn GetOwnerClsid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -3409,25 +2645,9 @@ impl ITfCompositionView { } } ::windows_core::imp::interface_hierarchy!(ITfCompositionView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCompositionView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCompositionView {} -impl ::core::fmt::Debug for ITfCompositionView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCompositionView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCompositionView { type Vtable = ITfCompositionView_Vtbl; } -impl ::core::clone::Clone for ITfCompositionView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCompositionView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7540241_f9a1_4364_befc_dbcd2c4395b7); } @@ -3440,6 +2660,7 @@ pub struct ITfCompositionView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfConfigureSystemKeystrokeFeed(::windows_core::IUnknown); impl ITfConfigureSystemKeystrokeFeed { pub unsafe fn DisableSystemKeystrokeFeed(&self) -> ::windows_core::Result<()> { @@ -3450,25 +2671,9 @@ impl ITfConfigureSystemKeystrokeFeed { } } ::windows_core::imp::interface_hierarchy!(ITfConfigureSystemKeystrokeFeed, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfConfigureSystemKeystrokeFeed { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfConfigureSystemKeystrokeFeed {} -impl ::core::fmt::Debug for ITfConfigureSystemKeystrokeFeed { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfConfigureSystemKeystrokeFeed").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfConfigureSystemKeystrokeFeed { type Vtable = ITfConfigureSystemKeystrokeFeed_Vtbl; } -impl ::core::clone::Clone for ITfConfigureSystemKeystrokeFeed { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfConfigureSystemKeystrokeFeed { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d2c969a_bc9c_437c_84ee_951c49b1a764); } @@ -3481,6 +2686,7 @@ pub struct ITfConfigureSystemKeystrokeFeed_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContext(::windows_core::IUnknown); impl ITfContext { pub unsafe fn RequestEditSession(&self, tid: u32, pes: P0, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS) -> ::windows_core::Result<::windows_core::HRESULT> @@ -3555,25 +2761,9 @@ impl ITfContext { } } ::windows_core::imp::interface_hierarchy!(ITfContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContext {} -impl ::core::fmt::Debug for ITfContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContext { type Vtable = ITfContext_Vtbl; } -impl ::core::clone::Clone for ITfContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7fd_2021_11d2_93e0_0060b067b86e); } @@ -3608,6 +2798,7 @@ pub struct ITfContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextComposition(::windows_core::IUnknown); impl ITfContextComposition { pub unsafe fn StartComposition(&self, ecwrite: u32, pcompositionrange: P0, psink: P1) -> ::windows_core::Result @@ -3639,25 +2830,9 @@ impl ITfContextComposition { } } ::windows_core::imp::interface_hierarchy!(ITfContextComposition, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextComposition { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextComposition {} -impl ::core::fmt::Debug for ITfContextComposition { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextComposition").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextComposition { type Vtable = ITfContextComposition_Vtbl; } -impl ::core::clone::Clone for ITfContextComposition { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextComposition { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd40c8aae_ac92_4fc7_9a11_0ee0e23aa39b); } @@ -3672,6 +2847,7 @@ pub struct ITfContextComposition_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextKeyEventSink(::windows_core::IUnknown); impl ITfContextKeyEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3716,25 +2892,9 @@ impl ITfContextKeyEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfContextKeyEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextKeyEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextKeyEventSink {} -impl ::core::fmt::Debug for ITfContextKeyEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextKeyEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextKeyEventSink { type Vtable = ITfContextKeyEventSink_Vtbl; } -impl ::core::clone::Clone for ITfContextKeyEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextKeyEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0552ba5d_c835_4934_bf50_846aaa67432f); } @@ -3761,6 +2921,7 @@ pub struct ITfContextKeyEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextOwner(::windows_core::IUnknown); impl ITfContextOwner { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3798,24 +2959,8 @@ impl ITfContextOwner { } } ::windows_core::imp::interface_hierarchy!(ITfContextOwner, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextOwner { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextOwner {} -impl ::core::fmt::Debug for ITfContextOwner { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextOwner").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ITfContextOwner { - type Vtable = ITfContextOwner_Vtbl; -} -impl ::core::clone::Clone for ITfContextOwner { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ITfContextOwner { + type Vtable = ITfContextOwner_Vtbl; } unsafe impl ::windows_core::ComInterface for ITfContextOwner { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e80c_2021_11d2_93e0_0060b067b86e); @@ -3848,6 +2993,7 @@ pub struct ITfContextOwner_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextOwnerCompositionServices(::windows_core::IUnknown); impl ITfContextOwnerCompositionServices { pub unsafe fn StartComposition(&self, ecwrite: u32, pcompositionrange: P0, psink: P1) -> ::windows_core::Result @@ -3885,25 +3031,9 @@ impl ITfContextOwnerCompositionServices { } } ::windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionServices, ::windows_core::IUnknown, ITfContextComposition); -impl ::core::cmp::PartialEq for ITfContextOwnerCompositionServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextOwnerCompositionServices {} -impl ::core::fmt::Debug for ITfContextOwnerCompositionServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextOwnerCompositionServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextOwnerCompositionServices { type Vtable = ITfContextOwnerCompositionServices_Vtbl; } -impl ::core::clone::Clone for ITfContextOwnerCompositionServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextOwnerCompositionServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86462810_593b_4916_9764_19c08e9ce110); } @@ -3915,6 +3045,7 @@ pub struct ITfContextOwnerCompositionServices_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextOwnerCompositionSink(::windows_core::IUnknown); impl ITfContextOwnerCompositionSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3941,25 +3072,9 @@ impl ITfContextOwnerCompositionSink { } } ::windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextOwnerCompositionSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextOwnerCompositionSink {} -impl ::core::fmt::Debug for ITfContextOwnerCompositionSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextOwnerCompositionSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextOwnerCompositionSink { type Vtable = ITfContextOwnerCompositionSink_Vtbl; } -impl ::core::clone::Clone for ITfContextOwnerCompositionSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextOwnerCompositionSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f20aa40_b57a_4f34_96ab_3576f377cc79); } @@ -3976,6 +3091,7 @@ pub struct ITfContextOwnerCompositionSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextOwnerServices(::windows_core::IUnknown); impl ITfContextOwnerServices { pub unsafe fn OnLayoutChange(&self) -> ::windows_core::Result<()> { @@ -4019,25 +3135,9 @@ impl ITfContextOwnerServices { } } ::windows_core::imp::interface_hierarchy!(ITfContextOwnerServices, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextOwnerServices { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextOwnerServices {} -impl ::core::fmt::Debug for ITfContextOwnerServices { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextOwnerServices").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextOwnerServices { type Vtable = ITfContextOwnerServices_Vtbl; } -impl ::core::clone::Clone for ITfContextOwnerServices { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextOwnerServices { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb23eb630_3e1c_11d3_a745_0050040ab407); } @@ -4061,6 +3161,7 @@ pub struct ITfContextOwnerServices_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfContextView(::windows_core::IUnknown); impl ITfContextView { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4091,25 +3192,9 @@ impl ITfContextView { } } ::windows_core::imp::interface_hierarchy!(ITfContextView, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfContextView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfContextView {} -impl ::core::fmt::Debug for ITfContextView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfContextView").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfContextView { type Vtable = ITfContextView_Vtbl; } -impl ::core::clone::Clone for ITfContextView { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfContextView { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2433bf8e_0f9b_435c_ba2c_180611978c30); } @@ -4136,6 +3221,7 @@ pub struct ITfContextView_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfCreatePropertyStore(::windows_core::IUnknown); impl ITfCreatePropertyStore { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4160,25 +3246,9 @@ impl ITfCreatePropertyStore { } } ::windows_core::imp::interface_hierarchy!(ITfCreatePropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfCreatePropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfCreatePropertyStore {} -impl ::core::fmt::Debug for ITfCreatePropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfCreatePropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfCreatePropertyStore { type Vtable = ITfCreatePropertyStore_Vtbl; } -impl ::core::clone::Clone for ITfCreatePropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfCreatePropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2463fbf0_b0af_11d2_afc5_00105a2799b5); } @@ -4197,6 +3267,7 @@ pub struct ITfCreatePropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfDisplayAttributeInfo(::windows_core::IUnknown); impl ITfDisplayAttributeInfo { pub unsafe fn GetGUID(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -4222,25 +3293,9 @@ impl ITfDisplayAttributeInfo { } } ::windows_core::imp::interface_hierarchy!(ITfDisplayAttributeInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfDisplayAttributeInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfDisplayAttributeInfo {} -impl ::core::fmt::Debug for ITfDisplayAttributeInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfDisplayAttributeInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfDisplayAttributeInfo { type Vtable = ITfDisplayAttributeInfo_Vtbl; } -impl ::core::clone::Clone for ITfDisplayAttributeInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfDisplayAttributeInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x70528852_2f26_4aea_8c96_215150578932); } @@ -4262,6 +3317,7 @@ pub struct ITfDisplayAttributeInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfDisplayAttributeMgr(::windows_core::IUnknown); impl ITfDisplayAttributeMgr { pub unsafe fn OnUpdateInfo(&self) -> ::windows_core::Result<()> { @@ -4276,25 +3332,9 @@ impl ITfDisplayAttributeMgr { } } ::windows_core::imp::interface_hierarchy!(ITfDisplayAttributeMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfDisplayAttributeMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfDisplayAttributeMgr {} -impl ::core::fmt::Debug for ITfDisplayAttributeMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfDisplayAttributeMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfDisplayAttributeMgr { type Vtable = ITfDisplayAttributeMgr_Vtbl; } -impl ::core::clone::Clone for ITfDisplayAttributeMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfDisplayAttributeMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ded7393_5db1_475c_9e71_a39111b0ff67); } @@ -4308,6 +3348,7 @@ pub struct ITfDisplayAttributeMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfDisplayAttributeNotifySink(::windows_core::IUnknown); impl ITfDisplayAttributeNotifySink { pub unsafe fn OnUpdateInfo(&self) -> ::windows_core::Result<()> { @@ -4315,25 +3356,9 @@ impl ITfDisplayAttributeNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITfDisplayAttributeNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfDisplayAttributeNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfDisplayAttributeNotifySink {} -impl ::core::fmt::Debug for ITfDisplayAttributeNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfDisplayAttributeNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfDisplayAttributeNotifySink { type Vtable = ITfDisplayAttributeNotifySink_Vtbl; } -impl ::core::clone::Clone for ITfDisplayAttributeNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfDisplayAttributeNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xad56f402_e162_4f25_908f_7d577cf9bda9); } @@ -4345,6 +3370,7 @@ pub struct ITfDisplayAttributeNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfDisplayAttributeProvider(::windows_core::IUnknown); impl ITfDisplayAttributeProvider { pub unsafe fn EnumDisplayAttributeInfo(&self) -> ::windows_core::Result { @@ -4357,25 +3383,9 @@ impl ITfDisplayAttributeProvider { } } ::windows_core::imp::interface_hierarchy!(ITfDisplayAttributeProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfDisplayAttributeProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfDisplayAttributeProvider {} -impl ::core::fmt::Debug for ITfDisplayAttributeProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfDisplayAttributeProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfDisplayAttributeProvider { type Vtable = ITfDisplayAttributeProvider_Vtbl; } -impl ::core::clone::Clone for ITfDisplayAttributeProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfDisplayAttributeProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfee47777_163c_4769_996a_6e9c50ad8f54); } @@ -4388,6 +3398,7 @@ pub struct ITfDisplayAttributeProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfDocumentMgr(::windows_core::IUnknown); impl ITfDocumentMgr { pub unsafe fn CreateContext(&self, tidowner: u32, dwflags: u32, punk: P0, ppic: *mut ::core::option::Option, pectextstore: *mut u32) -> ::windows_core::Result<()> @@ -4419,25 +3430,9 @@ impl ITfDocumentMgr { } } ::windows_core::imp::interface_hierarchy!(ITfDocumentMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfDocumentMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfDocumentMgr {} -impl ::core::fmt::Debug for ITfDocumentMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfDocumentMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfDocumentMgr { type Vtable = ITfDocumentMgr_Vtbl; } -impl ::core::clone::Clone for ITfDocumentMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfDocumentMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7f4_2021_11d2_93e0_0060b067b86e); } @@ -4454,6 +3449,7 @@ pub struct ITfDocumentMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfEditRecord(::windows_core::IUnknown); impl ITfEditRecord { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4468,25 +3464,9 @@ impl ITfEditRecord { } } ::windows_core::imp::interface_hierarchy!(ITfEditRecord, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfEditRecord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfEditRecord {} -impl ::core::fmt::Debug for ITfEditRecord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfEditRecord").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfEditRecord { type Vtable = ITfEditRecord_Vtbl; } -impl ::core::clone::Clone for ITfEditRecord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfEditRecord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x42d4d099_7c1a_4a89_b836_6c6f22160df0); } @@ -4502,6 +3482,7 @@ pub struct ITfEditRecord_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfEditSession(::windows_core::IUnknown); impl ITfEditSession { pub unsafe fn DoEditSession(&self, ec: u32) -> ::windows_core::Result<()> { @@ -4509,25 +3490,9 @@ impl ITfEditSession { } } ::windows_core::imp::interface_hierarchy!(ITfEditSession, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfEditSession { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfEditSession {} -impl ::core::fmt::Debug for ITfEditSession { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfEditSession").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfEditSession { type Vtable = ITfEditSession_Vtbl; } -impl ::core::clone::Clone for ITfEditSession { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfEditSession { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e803_2021_11d2_93e0_0060b067b86e); } @@ -4539,6 +3504,7 @@ pub struct ITfEditSession_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfEditTransactionSink(::windows_core::IUnknown); impl ITfEditTransactionSink { pub unsafe fn OnStartEditTransaction(&self, pic: P0) -> ::windows_core::Result<()> @@ -4555,25 +3521,9 @@ impl ITfEditTransactionSink { } } ::windows_core::imp::interface_hierarchy!(ITfEditTransactionSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfEditTransactionSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfEditTransactionSink {} -impl ::core::fmt::Debug for ITfEditTransactionSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfEditTransactionSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfEditTransactionSink { type Vtable = ITfEditTransactionSink_Vtbl; } -impl ::core::clone::Clone for ITfEditTransactionSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfEditTransactionSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x708fbf70_b520_416b_b06c_2c41ab44f8ba); } @@ -4586,6 +3536,7 @@ pub struct ITfEditTransactionSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnAdviseText(::windows_core::IUnknown); impl ITfFnAdviseText { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4607,25 +3558,9 @@ impl ITfFnAdviseText { } } ::windows_core::imp::interface_hierarchy!(ITfFnAdviseText, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnAdviseText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnAdviseText {} -impl ::core::fmt::Debug for ITfFnAdviseText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnAdviseText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnAdviseText { type Vtable = ITfFnAdviseText_Vtbl; } -impl ::core::clone::Clone for ITfFnAdviseText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnAdviseText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3527268b_7d53_4dd9_92b7_7296ae461249); } @@ -4638,6 +3573,7 @@ pub struct ITfFnAdviseText_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnBalloon(::windows_core::IUnknown); impl ITfFnBalloon { pub unsafe fn UpdateBalloon(&self, style: TfLBBalloonStyle, pch: &[u16]) -> ::windows_core::Result<()> { @@ -4645,25 +3581,9 @@ impl ITfFnBalloon { } } ::windows_core::imp::interface_hierarchy!(ITfFnBalloon, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfFnBalloon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnBalloon {} -impl ::core::fmt::Debug for ITfFnBalloon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnBalloon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnBalloon { type Vtable = ITfFnBalloon_Vtbl; } -impl ::core::clone::Clone for ITfFnBalloon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnBalloon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bab89e4_5fbe_45f4_a5bc_dca36ad225a8); } @@ -4675,6 +3595,7 @@ pub struct ITfFnBalloon_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnConfigure(::windows_core::IUnknown); impl ITfFnConfigure { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4691,25 +3612,9 @@ impl ITfFnConfigure { } } ::windows_core::imp::interface_hierarchy!(ITfFnConfigure, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnConfigure { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnConfigure {} -impl ::core::fmt::Debug for ITfFnConfigure { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnConfigure").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnConfigure { type Vtable = ITfFnConfigure_Vtbl; } -impl ::core::clone::Clone for ITfFnConfigure { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnConfigure { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x88f567c6_1757_49f8_a1b2_89234c1eeff9); } @@ -4724,6 +3629,7 @@ pub struct ITfFnConfigure_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnConfigureRegisterEudc(::windows_core::IUnknown); impl ITfFnConfigureRegisterEudc { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4741,25 +3647,9 @@ impl ITfFnConfigureRegisterEudc { } } ::windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterEudc, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnConfigureRegisterEudc { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnConfigureRegisterEudc {} -impl ::core::fmt::Debug for ITfFnConfigureRegisterEudc { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnConfigureRegisterEudc").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnConfigureRegisterEudc { type Vtable = ITfFnConfigureRegisterEudc_Vtbl; } -impl ::core::clone::Clone for ITfFnConfigureRegisterEudc { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnConfigureRegisterEudc { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5e26ff5_d7ad_4304_913f_21a2ed95a1b0); } @@ -4774,6 +3664,7 @@ pub struct ITfFnConfigureRegisterEudc_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnConfigureRegisterWord(::windows_core::IUnknown); impl ITfFnConfigureRegisterWord { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4791,25 +3682,9 @@ impl ITfFnConfigureRegisterWord { } } ::windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterWord, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnConfigureRegisterWord { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnConfigureRegisterWord {} -impl ::core::fmt::Debug for ITfFnConfigureRegisterWord { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnConfigureRegisterWord").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnConfigureRegisterWord { type Vtable = ITfFnConfigureRegisterWord_Vtbl; } -impl ::core::clone::Clone for ITfFnConfigureRegisterWord { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnConfigureRegisterWord { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb95808a_6d8f_4bca_8400_5390b586aedf); } @@ -4824,6 +3699,7 @@ pub struct ITfFnConfigureRegisterWord_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnCustomSpeechCommand(::windows_core::IUnknown); impl ITfFnCustomSpeechCommand { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4838,25 +3714,9 @@ impl ITfFnCustomSpeechCommand { } } ::windows_core::imp::interface_hierarchy!(ITfFnCustomSpeechCommand, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnCustomSpeechCommand { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnCustomSpeechCommand {} -impl ::core::fmt::Debug for ITfFnCustomSpeechCommand { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnCustomSpeechCommand").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnCustomSpeechCommand { type Vtable = ITfFnCustomSpeechCommand_Vtbl; } -impl ::core::clone::Clone for ITfFnCustomSpeechCommand { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnCustomSpeechCommand { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfca6c349_a12f_43a3_8dd6_5a5a4282577b); } @@ -4868,6 +3728,7 @@ pub struct ITfFnCustomSpeechCommand_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnGetLinguisticAlternates(::windows_core::IUnknown); impl ITfFnGetLinguisticAlternates { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4883,25 +3744,9 @@ impl ITfFnGetLinguisticAlternates { } } ::windows_core::imp::interface_hierarchy!(ITfFnGetLinguisticAlternates, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnGetLinguisticAlternates { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnGetLinguisticAlternates {} -impl ::core::fmt::Debug for ITfFnGetLinguisticAlternates { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnGetLinguisticAlternates").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnGetLinguisticAlternates { type Vtable = ITfFnGetLinguisticAlternates_Vtbl; } -impl ::core::clone::Clone for ITfFnGetLinguisticAlternates { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnGetLinguisticAlternates { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea163ce2_7a65_4506_82a3_c528215da64e); } @@ -4913,6 +3758,7 @@ pub struct ITfFnGetLinguisticAlternates_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnGetPreferredTouchKeyboardLayout(::windows_core::IUnknown); impl ITfFnGetPreferredTouchKeyboardLayout { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4924,25 +3770,9 @@ impl ITfFnGetPreferredTouchKeyboardLayout { } } ::windows_core::imp::interface_hierarchy!(ITfFnGetPreferredTouchKeyboardLayout, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnGetPreferredTouchKeyboardLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnGetPreferredTouchKeyboardLayout {} -impl ::core::fmt::Debug for ITfFnGetPreferredTouchKeyboardLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnGetPreferredTouchKeyboardLayout").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnGetPreferredTouchKeyboardLayout { type Vtable = ITfFnGetPreferredTouchKeyboardLayout_Vtbl; } -impl ::core::clone::Clone for ITfFnGetPreferredTouchKeyboardLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnGetPreferredTouchKeyboardLayout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5f309a41_590a_4acc_a97f_d8efff13fdfc); } @@ -4954,6 +3784,7 @@ pub struct ITfFnGetPreferredTouchKeyboardLayout_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnGetSAPIObject(::windows_core::IUnknown); impl ITfFnGetSAPIObject { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -4966,25 +3797,9 @@ impl ITfFnGetSAPIObject { } } ::windows_core::imp::interface_hierarchy!(ITfFnGetSAPIObject, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnGetSAPIObject { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnGetSAPIObject {} -impl ::core::fmt::Debug for ITfFnGetSAPIObject { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnGetSAPIObject").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnGetSAPIObject { type Vtable = ITfFnGetSAPIObject_Vtbl; } -impl ::core::clone::Clone for ITfFnGetSAPIObject { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnGetSAPIObject { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c0ab7ea_167d_4f59_bfb5_4693755e90ca); } @@ -4996,6 +3811,7 @@ pub struct ITfFnGetSAPIObject_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnLMInternal(::windows_core::IUnknown); impl ITfFnLMInternal { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5064,25 +3880,9 @@ impl ITfFnLMInternal { } } ::windows_core::imp::interface_hierarchy!(ITfFnLMInternal, ::windows_core::IUnknown, ITfFunction, ITfFnLMProcessor); -impl ::core::cmp::PartialEq for ITfFnLMInternal { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnLMInternal {} -impl ::core::fmt::Debug for ITfFnLMInternal { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnLMInternal").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnLMInternal { type Vtable = ITfFnLMInternal_Vtbl; } -impl ::core::clone::Clone for ITfFnLMInternal { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnLMInternal { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x04b825b1_ac9a_4f7b_b5ad_c7168f1ee445); } @@ -5094,6 +3894,7 @@ pub struct ITfFnLMInternal_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnLMProcessor(::windows_core::IUnknown); impl ITfFnLMProcessor { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5156,25 +3957,9 @@ impl ITfFnLMProcessor { } } ::windows_core::imp::interface_hierarchy!(ITfFnLMProcessor, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnLMProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnLMProcessor {} -impl ::core::fmt::Debug for ITfFnLMProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnLMProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnLMProcessor { type Vtable = ITfFnLMProcessor_Vtbl; } -impl ::core::clone::Clone for ITfFnLMProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnLMProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7afbf8e7_ac4b_4082_b058_890899d3a010); } @@ -5204,6 +3989,7 @@ pub struct ITfFnLMProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnLangProfileUtil(::windows_core::IUnknown); impl ITfFnLangProfileUtil { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5221,25 +4007,9 @@ impl ITfFnLangProfileUtil { } } ::windows_core::imp::interface_hierarchy!(ITfFnLangProfileUtil, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnLangProfileUtil { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnLangProfileUtil {} -impl ::core::fmt::Debug for ITfFnLangProfileUtil { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnLangProfileUtil").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnLangProfileUtil { type Vtable = ITfFnLangProfileUtil_Vtbl; } -impl ::core::clone::Clone for ITfFnLangProfileUtil { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnLangProfileUtil { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa87a8574_a6c1_4e15_99f0_3d3965f548eb); } @@ -5255,6 +4025,7 @@ pub struct ITfFnLangProfileUtil_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnPlayBack(::windows_core::IUnknown); impl ITfFnPlayBack { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5277,25 +4048,9 @@ impl ITfFnPlayBack { } } ::windows_core::imp::interface_hierarchy!(ITfFnPlayBack, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnPlayBack { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnPlayBack {} -impl ::core::fmt::Debug for ITfFnPlayBack { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnPlayBack").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnPlayBack { type Vtable = ITfFnPlayBack_Vtbl; } -impl ::core::clone::Clone for ITfFnPlayBack { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnPlayBack { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3a416a4_0f64_11d3_b5b7_00c04fc324a1); } @@ -5311,6 +4066,7 @@ pub struct ITfFnPlayBack_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnPropertyUIStatus(::windows_core::IUnknown); impl ITfFnPropertyUIStatus { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5326,25 +4082,9 @@ impl ITfFnPropertyUIStatus { } } ::windows_core::imp::interface_hierarchy!(ITfFnPropertyUIStatus, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnPropertyUIStatus { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnPropertyUIStatus {} -impl ::core::fmt::Debug for ITfFnPropertyUIStatus { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnPropertyUIStatus").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnPropertyUIStatus { type Vtable = ITfFnPropertyUIStatus_Vtbl; } -impl ::core::clone::Clone for ITfFnPropertyUIStatus { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnPropertyUIStatus { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2338ac6e_2b9d_44c0_a75e_ee64f256b3bd); } @@ -5357,6 +4097,7 @@ pub struct ITfFnPropertyUIStatus_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnReconversion(::windows_core::IUnknown); impl ITfFnReconversion { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5386,24 +4127,8 @@ impl ITfFnReconversion { } } ::windows_core::imp::interface_hierarchy!(ITfFnReconversion, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnReconversion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnReconversion {} -impl ::core::fmt::Debug for ITfFnReconversion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnReconversion").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ITfFnReconversion { - type Vtable = ITfFnReconversion_Vtbl; -} -impl ::core::clone::Clone for ITfFnReconversion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ITfFnReconversion { + type Vtable = ITfFnReconversion_Vtbl; } unsafe impl ::windows_core::ComInterface for ITfFnReconversion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4cea93c0_0a58_11d3_8df0_00105a2799b5); @@ -5421,6 +4146,7 @@ pub struct ITfFnReconversion_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnSearchCandidateProvider(::windows_core::IUnknown); impl ITfFnSearchCandidateProvider { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5445,25 +4171,9 @@ impl ITfFnSearchCandidateProvider { } } ::windows_core::imp::interface_hierarchy!(ITfFnSearchCandidateProvider, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnSearchCandidateProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnSearchCandidateProvider {} -impl ::core::fmt::Debug for ITfFnSearchCandidateProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnSearchCandidateProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnSearchCandidateProvider { type Vtable = ITfFnSearchCandidateProvider_Vtbl; } -impl ::core::clone::Clone for ITfFnSearchCandidateProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnSearchCandidateProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87a2ad8f_f27b_4920_8501_67602280175d); } @@ -5476,6 +4186,7 @@ pub struct ITfFnSearchCandidateProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFnShowHelp(::windows_core::IUnknown); impl ITfFnShowHelp { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5492,25 +4203,9 @@ impl ITfFnShowHelp { } } ::windows_core::imp::interface_hierarchy!(ITfFnShowHelp, ::windows_core::IUnknown, ITfFunction); -impl ::core::cmp::PartialEq for ITfFnShowHelp { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFnShowHelp {} -impl ::core::fmt::Debug for ITfFnShowHelp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFnShowHelp").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFnShowHelp { type Vtable = ITfFnShowHelp_Vtbl; } -impl ::core::clone::Clone for ITfFnShowHelp { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFnShowHelp { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5ab1d30c_094d_4c29_8ea5_0bf59be87bf3); } @@ -5525,6 +4220,7 @@ pub struct ITfFnShowHelp_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFunction(::windows_core::IUnknown); impl ITfFunction { pub unsafe fn GetDisplayName(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5533,25 +4229,9 @@ impl ITfFunction { } } ::windows_core::imp::interface_hierarchy!(ITfFunction, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfFunction { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFunction {} -impl ::core::fmt::Debug for ITfFunction { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFunction").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFunction { type Vtable = ITfFunction_Vtbl; } -impl ::core::clone::Clone for ITfFunction { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFunction { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdb593490_098f_11d3_8df0_00105a2799b5); } @@ -5563,6 +4243,7 @@ pub struct ITfFunction_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfFunctionProvider(::windows_core::IUnknown); impl ITfFunctionProvider { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -5579,25 +4260,9 @@ impl ITfFunctionProvider { } } ::windows_core::imp::interface_hierarchy!(ITfFunctionProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfFunctionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfFunctionProvider {} -impl ::core::fmt::Debug for ITfFunctionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfFunctionProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfFunctionProvider { type Vtable = ITfFunctionProvider_Vtbl; } -impl ::core::clone::Clone for ITfFunctionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfFunctionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x101d6610_0990_11d3_8df0_00105a2799b5); } @@ -5611,6 +4276,7 @@ pub struct ITfFunctionProvider_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputProcessorProfileActivationSink(::windows_core::IUnknown); impl ITfInputProcessorProfileActivationSink { pub unsafe fn OnActivated(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows_core::GUID, catid: *const ::windows_core::GUID, guidprofile: *const ::windows_core::GUID, hkl: P0, dwflags: u32) -> ::windows_core::Result<()> @@ -5621,25 +4287,9 @@ impl ITfInputProcessorProfileActivationSink { } } ::windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileActivationSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInputProcessorProfileActivationSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputProcessorProfileActivationSink {} -impl ::core::fmt::Debug for ITfInputProcessorProfileActivationSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputProcessorProfileActivationSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputProcessorProfileActivationSink { type Vtable = ITfInputProcessorProfileActivationSink_Vtbl; } -impl ::core::clone::Clone for ITfInputProcessorProfileActivationSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputProcessorProfileActivationSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c6e74e_0f28_11d8_a82a_00065b84435c); } @@ -5651,6 +4301,7 @@ pub struct ITfInputProcessorProfileActivationSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputProcessorProfileMgr(::windows_core::IUnknown); impl ITfInputProcessorProfileMgr { pub unsafe fn ActivateProfile(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows_core::GUID, guidprofile: *const ::windows_core::GUID, hkl: P0, dwflags: u32) -> ::windows_core::Result<()> @@ -5695,25 +4346,9 @@ impl ITfInputProcessorProfileMgr { } } ::windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInputProcessorProfileMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputProcessorProfileMgr {} -impl ::core::fmt::Debug for ITfInputProcessorProfileMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputProcessorProfileMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputProcessorProfileMgr { type Vtable = ITfInputProcessorProfileMgr_Vtbl; } -impl ::core::clone::Clone for ITfInputProcessorProfileMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputProcessorProfileMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x71c6e74c_0f28_11d8_a82a_00065b84435c); } @@ -5735,6 +4370,7 @@ pub struct ITfInputProcessorProfileMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputProcessorProfileSubstituteLayout(::windows_core::IUnknown); impl ITfInputProcessorProfileSubstituteLayout { pub unsafe fn GetSubstituteKeyboardLayout(&self, rclsid: *const ::windows_core::GUID, langid: u16, guidprofile: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -5743,25 +4379,9 @@ impl ITfInputProcessorProfileSubstituteLayout { } } ::windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileSubstituteLayout, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInputProcessorProfileSubstituteLayout { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputProcessorProfileSubstituteLayout {} -impl ::core::fmt::Debug for ITfInputProcessorProfileSubstituteLayout { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputProcessorProfileSubstituteLayout").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputProcessorProfileSubstituteLayout { type Vtable = ITfInputProcessorProfileSubstituteLayout_Vtbl; } -impl ::core::clone::Clone for ITfInputProcessorProfileSubstituteLayout { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputProcessorProfileSubstituteLayout { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4fd67194_1002_4513_bff2_c0ddf6258552); } @@ -5773,6 +4393,7 @@ pub struct ITfInputProcessorProfileSubstituteLayout_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputProcessorProfiles(::windows_core::IUnknown); impl ITfInputProcessorProfiles { pub unsafe fn Register(&self, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5853,25 +4474,9 @@ impl ITfInputProcessorProfiles { } } ::windows_core::imp::interface_hierarchy!(ITfInputProcessorProfiles, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInputProcessorProfiles { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputProcessorProfiles {} -impl ::core::fmt::Debug for ITfInputProcessorProfiles { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputProcessorProfiles").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputProcessorProfiles { type Vtable = ITfInputProcessorProfiles_Vtbl; } -impl ::core::clone::Clone for ITfInputProcessorProfiles { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputProcessorProfiles { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1f02b6c5_7842_4ee6_8a0b_9a24183a95ca); } @@ -5912,6 +4517,7 @@ pub struct ITfInputProcessorProfiles_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputProcessorProfilesEx(::windows_core::IUnknown); impl ITfInputProcessorProfilesEx { pub unsafe fn Register(&self, rclsid: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -5995,25 +4601,9 @@ impl ITfInputProcessorProfilesEx { } } ::windows_core::imp::interface_hierarchy!(ITfInputProcessorProfilesEx, ::windows_core::IUnknown, ITfInputProcessorProfiles); -impl ::core::cmp::PartialEq for ITfInputProcessorProfilesEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputProcessorProfilesEx {} -impl ::core::fmt::Debug for ITfInputProcessorProfilesEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputProcessorProfilesEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputProcessorProfilesEx { type Vtable = ITfInputProcessorProfilesEx_Vtbl; } -impl ::core::clone::Clone for ITfInputProcessorProfilesEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputProcessorProfilesEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x892f230f_fe00_4a41_a98e_fcd6de0d35ef); } @@ -6025,6 +4615,7 @@ pub struct ITfInputProcessorProfilesEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputScope(::windows_core::IUnknown); impl ITfInputScope { pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows_core::Result<()> { @@ -6047,25 +4638,9 @@ impl ITfInputScope { } } ::windows_core::imp::interface_hierarchy!(ITfInputScope, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInputScope { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputScope {} -impl ::core::fmt::Debug for ITfInputScope { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputScope").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputScope { type Vtable = ITfInputScope_Vtbl; } -impl ::core::clone::Clone for ITfInputScope { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputScope { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfde1eaee_6924_4cdf_91e7_da38cff5559d); } @@ -6081,6 +4656,7 @@ pub struct ITfInputScope_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInputScope2(::windows_core::IUnknown); impl ITfInputScope2 { pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows_core::Result<()> { @@ -6109,25 +4685,9 @@ impl ITfInputScope2 { } } ::windows_core::imp::interface_hierarchy!(ITfInputScope2, ::windows_core::IUnknown, ITfInputScope); -impl ::core::cmp::PartialEq for ITfInputScope2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInputScope2 {} -impl ::core::fmt::Debug for ITfInputScope2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInputScope2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInputScope2 { type Vtable = ITfInputScope2_Vtbl; } -impl ::core::clone::Clone for ITfInputScope2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInputScope2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5731eaa0_6bc2_4681_a532_92fbb74d7c41); } @@ -6142,6 +4702,7 @@ pub struct ITfInputScope2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfInsertAtSelection(::windows_core::IUnknown); impl ITfInsertAtSelection { pub unsafe fn InsertTextAtSelection(&self, ec: u32, dwflags: INSERT_TEXT_AT_SELECTION_FLAGS, pchtext: &[u16]) -> ::windows_core::Result { @@ -6159,25 +4720,9 @@ impl ITfInsertAtSelection { } } ::windows_core::imp::interface_hierarchy!(ITfInsertAtSelection, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfInsertAtSelection { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfInsertAtSelection {} -impl ::core::fmt::Debug for ITfInsertAtSelection { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfInsertAtSelection").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfInsertAtSelection { type Vtable = ITfInsertAtSelection_Vtbl; } -impl ::core::clone::Clone for ITfInsertAtSelection { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfInsertAtSelection { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55ce16ba_3014_41c1_9ceb_fade1446ac6c); } @@ -6193,6 +4738,7 @@ pub struct ITfInsertAtSelection_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfIntegratableCandidateListUIElement(::windows_core::IUnknown); impl ITfIntegratableCandidateListUIElement { pub unsafe fn SetIntegrationStyle(&self, guidintegrationstyle: ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -6223,25 +4769,9 @@ impl ITfIntegratableCandidateListUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfIntegratableCandidateListUIElement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfIntegratableCandidateListUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfIntegratableCandidateListUIElement {} -impl ::core::fmt::Debug for ITfIntegratableCandidateListUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfIntegratableCandidateListUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfIntegratableCandidateListUIElement { type Vtable = ITfIntegratableCandidateListUIElement_Vtbl; } -impl ::core::clone::Clone for ITfIntegratableCandidateListUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfIntegratableCandidateListUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc7a6f54f_b180_416f_b2bf_7bf2e4683d7b); } @@ -6263,6 +4793,7 @@ pub struct ITfIntegratableCandidateListUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfKeyEventSink(::windows_core::IUnknown); impl ITfKeyEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6328,25 +4859,9 @@ impl ITfKeyEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfKeyEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfKeyEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfKeyEventSink {} -impl ::core::fmt::Debug for ITfKeyEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfKeyEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfKeyEventSink { type Vtable = ITfKeyEventSink_Vtbl; } -impl ::core::clone::Clone for ITfKeyEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfKeyEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7f5_2021_11d2_93e0_0060b067b86e); } @@ -6381,6 +4896,7 @@ pub struct ITfKeyEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfKeyTraceEventSink(::windows_core::IUnknown); impl ITfKeyTraceEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6403,25 +4919,9 @@ impl ITfKeyTraceEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfKeyTraceEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfKeyTraceEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfKeyTraceEventSink {} -impl ::core::fmt::Debug for ITfKeyTraceEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfKeyTraceEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfKeyTraceEventSink { type Vtable = ITfKeyTraceEventSink_Vtbl; } -impl ::core::clone::Clone for ITfKeyTraceEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfKeyTraceEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cd4c13b_1c36_4191_a70a_7f3e611f367d); } @@ -6440,6 +4940,7 @@ pub struct ITfKeyTraceEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfKeystrokeMgr(::windows_core::IUnknown); impl ITfKeystrokeMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6535,25 +5036,9 @@ impl ITfKeystrokeMgr { } } ::windows_core::imp::interface_hierarchy!(ITfKeystrokeMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfKeystrokeMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfKeystrokeMgr {} -impl ::core::fmt::Debug for ITfKeystrokeMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfKeystrokeMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfKeystrokeMgr { type Vtable = ITfKeystrokeMgr_Vtbl; } -impl ::core::clone::Clone for ITfKeystrokeMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfKeystrokeMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7f0_2021_11d2_93e0_0060b067b86e); } @@ -6599,6 +5084,7 @@ pub struct ITfKeystrokeMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLMLattice(::windows_core::IUnknown); impl ITfLMLattice { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -6613,25 +5099,9 @@ impl ITfLMLattice { } } ::windows_core::imp::interface_hierarchy!(ITfLMLattice, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLMLattice { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLMLattice {} -impl ::core::fmt::Debug for ITfLMLattice { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLMLattice").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLMLattice { type Vtable = ITfLMLattice_Vtbl; } -impl ::core::clone::Clone for ITfLMLattice { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLMLattice { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd4236675_a5bf_4570_9d42_5d6d7b02d59b); } @@ -6647,6 +5117,7 @@ pub struct ITfLMLattice_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarEventSink(::windows_core::IUnknown); impl ITfLangBarEventSink { pub unsafe fn OnSetFocus(&self, dwthreadid: u32) -> ::windows_core::Result<()> { @@ -6678,25 +5149,9 @@ impl ITfLangBarEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLangBarEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarEventSink {} -impl ::core::fmt::Debug for ITfLangBarEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarEventSink { type Vtable = ITfLangBarEventSink_Vtbl; } -impl ::core::clone::Clone for ITfLangBarEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x18a4e900_e0ae_11d2_afdd_00105a2799b5); } @@ -6719,6 +5174,7 @@ pub struct ITfLangBarEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItem(::windows_core::IUnknown); impl ITfLangBarItem { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows_core::Result<()> { @@ -6742,25 +5198,9 @@ impl ITfLangBarItem { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLangBarItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItem {} -impl ::core::fmt::Debug for ITfLangBarItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItem { type Vtable = ITfLangBarItem_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73540d69_edeb_4ee9_96c9_23aa30b25916); } @@ -6778,6 +5218,7 @@ pub struct ITfLangBarItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemBalloon(::windows_core::IUnknown); impl ITfLangBarItemBalloon { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows_core::Result<()> { @@ -6816,25 +5257,9 @@ impl ITfLangBarItemBalloon { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemBalloon, ::windows_core::IUnknown, ITfLangBarItem); -impl ::core::cmp::PartialEq for ITfLangBarItemBalloon { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemBalloon {} -impl ::core::fmt::Debug for ITfLangBarItemBalloon { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemBalloon").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemBalloon { type Vtable = ITfLangBarItemBalloon_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemBalloon { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemBalloon { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x01c2d285_d3c7_4b7b_b5b5_d97411d0c283); } @@ -6854,6 +5279,7 @@ pub struct ITfLangBarItemBalloon_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemBitmap(::windows_core::IUnknown); impl ITfLangBarItemBitmap { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows_core::Result<()> { @@ -6893,25 +5319,9 @@ impl ITfLangBarItemBitmap { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmap, ::windows_core::IUnknown, ITfLangBarItem); -impl ::core::cmp::PartialEq for ITfLangBarItemBitmap { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemBitmap {} -impl ::core::fmt::Debug for ITfLangBarItemBitmap { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemBitmap").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemBitmap { type Vtable = ITfLangBarItemBitmap_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemBitmap { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemBitmap { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73830352_d722_4179_ada5_f045c98df355); } @@ -6934,6 +5344,7 @@ pub struct ITfLangBarItemBitmap_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemBitmapButton(::windows_core::IUnknown); impl ITfLangBarItemBitmapButton { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows_core::Result<()> { @@ -6986,25 +5397,9 @@ impl ITfLangBarItemBitmapButton { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmapButton, ::windows_core::IUnknown, ITfLangBarItem); -impl ::core::cmp::PartialEq for ITfLangBarItemBitmapButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemBitmapButton {} -impl ::core::fmt::Debug for ITfLangBarItemBitmapButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemBitmapButton").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemBitmapButton { type Vtable = ITfLangBarItemBitmapButton_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemBitmapButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemBitmapButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa26a0525_3fae_4fa0_89ee_88a964f9f1b5); } @@ -7030,6 +5425,7 @@ pub struct ITfLangBarItemBitmapButton_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemButton(::windows_core::IUnknown); impl ITfLangBarItemButton { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows_core::Result<()> { @@ -7077,25 +5473,9 @@ impl ITfLangBarItemButton { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemButton, ::windows_core::IUnknown, ITfLangBarItem); -impl ::core::cmp::PartialEq for ITfLangBarItemButton { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemButton {} -impl ::core::fmt::Debug for ITfLangBarItemButton { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemButton").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemButton { type Vtable = ITfLangBarItemButton_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemButton { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemButton { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28c7f1d0_de25_11d2_afdd_00105a2799b5); } @@ -7117,6 +5497,7 @@ pub struct ITfLangBarItemButton_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemMgr(::windows_core::IUnknown); impl ITfLangBarItemMgr { pub unsafe fn EnumItems(&self) -> ::windows_core::Result { @@ -7172,25 +5553,9 @@ impl ITfLangBarItemMgr { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLangBarItemMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemMgr {} -impl ::core::fmt::Debug for ITfLangBarItemMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemMgr { type Vtable = ITfLangBarItemMgr_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xba468c55_9956_4fb1_a59d_52a7dd7cc6aa); } @@ -7216,6 +5581,7 @@ pub struct ITfLangBarItemMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarItemSink(::windows_core::IUnknown); impl ITfLangBarItemSink { pub unsafe fn OnUpdate(&self, dwflags: u32) -> ::windows_core::Result<()> { @@ -7223,25 +5589,9 @@ impl ITfLangBarItemSink { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarItemSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLangBarItemSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarItemSink {} -impl ::core::fmt::Debug for ITfLangBarItemSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarItemSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarItemSink { type Vtable = ITfLangBarItemSink_Vtbl; } -impl ::core::clone::Clone for ITfLangBarItemSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarItemSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57dbe1a0_de25_11d2_afdd_00105a2799b5); } @@ -7253,6 +5603,7 @@ pub struct ITfLangBarItemSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLangBarMgr(::windows_core::IUnknown); impl ITfLangBarMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7300,25 +5651,9 @@ impl ITfLangBarMgr { } } ::windows_core::imp::interface_hierarchy!(ITfLangBarMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLangBarMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLangBarMgr {} -impl ::core::fmt::Debug for ITfLangBarMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLangBarMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLangBarMgr { type Vtable = ITfLangBarMgr_Vtbl; } -impl ::core::clone::Clone for ITfLangBarMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLangBarMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87955690_e627_11d2_8ddb_00105a2799b5); } @@ -7344,6 +5679,7 @@ pub struct ITfLangBarMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfLanguageProfileNotifySink(::windows_core::IUnknown); impl ITfLanguageProfileNotifySink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7357,25 +5693,9 @@ impl ITfLanguageProfileNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITfLanguageProfileNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfLanguageProfileNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfLanguageProfileNotifySink {} -impl ::core::fmt::Debug for ITfLanguageProfileNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfLanguageProfileNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfLanguageProfileNotifySink { type Vtable = ITfLanguageProfileNotifySink_Vtbl; } -impl ::core::clone::Clone for ITfLanguageProfileNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfLanguageProfileNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x43c9fe15_f494_4c17_9de2_b8a4ac350aa8); } @@ -7391,6 +5711,7 @@ pub struct ITfLanguageProfileNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMSAAControl(::windows_core::IUnknown); impl ITfMSAAControl { pub unsafe fn SystemEnableMSAA(&self) -> ::windows_core::Result<()> { @@ -7401,24 +5722,8 @@ impl ITfMSAAControl { } } ::windows_core::imp::interface_hierarchy!(ITfMSAAControl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMSAAControl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMSAAControl {} -impl ::core::fmt::Debug for ITfMSAAControl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMSAAControl").field(&self.0).finish() - } -} -unsafe impl ::windows_core::Interface for ITfMSAAControl { - type Vtable = ITfMSAAControl_Vtbl; -} -impl ::core::clone::Clone for ITfMSAAControl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for ITfMSAAControl { + type Vtable = ITfMSAAControl_Vtbl; } unsafe impl ::windows_core::ComInterface for ITfMSAAControl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5f8fb3b_393f_4f7c_84cb_504924c2705a); @@ -7432,6 +5737,7 @@ pub struct ITfMSAAControl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMenu(::windows_core::IUnknown); impl ITfMenu { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -7445,25 +5751,9 @@ impl ITfMenu { } } ::windows_core::imp::interface_hierarchy!(ITfMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMenu {} -impl ::core::fmt::Debug for ITfMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfMenu { type Vtable = ITfMenu_Vtbl; } -impl ::core::clone::Clone for ITfMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f8a98e4_aaa0_4f15_8c5b_07e0df0a3dd8); } @@ -7478,6 +5768,7 @@ pub struct ITfMenu_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMessagePump(::windows_core::IUnknown); impl ITfMessagePump { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -7514,25 +5805,9 @@ impl ITfMessagePump { } } ::windows_core::imp::interface_hierarchy!(ITfMessagePump, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMessagePump { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMessagePump {} -impl ::core::fmt::Debug for ITfMessagePump { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMessagePump").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfMessagePump { type Vtable = ITfMessagePump_Vtbl; } -impl ::core::clone::Clone for ITfMessagePump { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfMessagePump { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8f1b8ad8_0b6b_4874_90c5_bd76011e8f7c); } @@ -7559,6 +5834,7 @@ pub struct ITfMessagePump_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMouseSink(::windows_core::IUnknown); impl ITfMouseSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -7569,25 +5845,9 @@ impl ITfMouseSink { } } ::windows_core::imp::interface_hierarchy!(ITfMouseSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMouseSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMouseSink {} -impl ::core::fmt::Debug for ITfMouseSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMouseSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfMouseSink { type Vtable = ITfMouseSink_Vtbl; } -impl ::core::clone::Clone for ITfMouseSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfMouseSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa1adaaa2_3a24_449d_ac96_5183e7f5c217); } @@ -7602,6 +5862,7 @@ pub struct ITfMouseSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMouseTracker(::windows_core::IUnknown); impl ITfMouseTracker { pub unsafe fn AdviseMouseSink(&self, range: P0, psink: P1) -> ::windows_core::Result @@ -7617,25 +5878,9 @@ impl ITfMouseTracker { } } ::windows_core::imp::interface_hierarchy!(ITfMouseTracker, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMouseTracker { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMouseTracker {} -impl ::core::fmt::Debug for ITfMouseTracker { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMouseTracker").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfMouseTracker { type Vtable = ITfMouseTracker_Vtbl; } -impl ::core::clone::Clone for ITfMouseTracker { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfMouseTracker { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09d146cd_a544_4132_925b_7afa8ef322d0); } @@ -7648,6 +5893,7 @@ pub struct ITfMouseTracker_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfMouseTrackerACP(::windows_core::IUnknown); impl ITfMouseTrackerACP { pub unsafe fn AdviseMouseSink(&self, range: P0, psink: P1) -> ::windows_core::Result @@ -7663,25 +5909,9 @@ impl ITfMouseTrackerACP { } } ::windows_core::imp::interface_hierarchy!(ITfMouseTrackerACP, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfMouseTrackerACP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfMouseTrackerACP {} -impl ::core::fmt::Debug for ITfMouseTrackerACP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfMouseTrackerACP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfMouseTrackerACP { type Vtable = ITfMouseTrackerACP_Vtbl; } -impl ::core::clone::Clone for ITfMouseTrackerACP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfMouseTrackerACP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3bdd78e2_c16e_47fd_b883_ce6facc1a208); } @@ -7694,6 +5924,7 @@ pub struct ITfMouseTrackerACP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfPersistentPropertyLoaderACP(::windows_core::IUnknown); impl ITfPersistentPropertyLoaderACP { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -7704,25 +5935,9 @@ impl ITfPersistentPropertyLoaderACP { } } ::windows_core::imp::interface_hierarchy!(ITfPersistentPropertyLoaderACP, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfPersistentPropertyLoaderACP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfPersistentPropertyLoaderACP {} -impl ::core::fmt::Debug for ITfPersistentPropertyLoaderACP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfPersistentPropertyLoaderACP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfPersistentPropertyLoaderACP { type Vtable = ITfPersistentPropertyLoaderACP_Vtbl; } -impl ::core::clone::Clone for ITfPersistentPropertyLoaderACP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfPersistentPropertyLoaderACP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ef89150_0807_11d3_8df0_00105a2799b5); } @@ -7737,6 +5952,7 @@ pub struct ITfPersistentPropertyLoaderACP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfPreservedKeyNotifySink(::windows_core::IUnknown); impl ITfPreservedKeyNotifySink { pub unsafe fn OnUpdated(&self, pprekey: *const TF_PRESERVEDKEY) -> ::windows_core::Result<()> { @@ -7744,25 +5960,9 @@ impl ITfPreservedKeyNotifySink { } } ::windows_core::imp::interface_hierarchy!(ITfPreservedKeyNotifySink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfPreservedKeyNotifySink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfPreservedKeyNotifySink {} -impl ::core::fmt::Debug for ITfPreservedKeyNotifySink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfPreservedKeyNotifySink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfPreservedKeyNotifySink { type Vtable = ITfPreservedKeyNotifySink_Vtbl; } -impl ::core::clone::Clone for ITfPreservedKeyNotifySink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfPreservedKeyNotifySink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f77c993_d2b1_446e_853e_5912efc8a286); } @@ -7774,6 +5974,7 @@ pub struct ITfPreservedKeyNotifySink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfProperty(::windows_core::IUnknown); impl ITfProperty { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7828,25 +6029,9 @@ impl ITfProperty { } } ::windows_core::imp::interface_hierarchy!(ITfProperty, ::windows_core::IUnknown, ITfReadOnlyProperty); -impl ::core::cmp::PartialEq for ITfProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfProperty {} -impl ::core::fmt::Debug for ITfProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfProperty { type Vtable = ITfProperty_Vtbl; } -impl ::core::clone::Clone for ITfProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe2449660_9542_11d2_bf46_00105a2799b5); } @@ -7864,6 +6049,7 @@ pub struct ITfProperty_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfPropertyStore(::windows_core::IUnknown); impl ITfPropertyStore { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -7925,25 +6111,9 @@ impl ITfPropertyStore { } } ::windows_core::imp::interface_hierarchy!(ITfPropertyStore, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfPropertyStore { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfPropertyStore {} -impl ::core::fmt::Debug for ITfPropertyStore { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfPropertyStore").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfPropertyStore { type Vtable = ITfPropertyStore_Vtbl; } -impl ::core::clone::Clone for ITfPropertyStore { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfPropertyStore { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6834b120_88cb_11d2_bf45_00105a2799b5); } @@ -7975,6 +6145,7 @@ pub struct ITfPropertyStore_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfQueryEmbedded(::windows_core::IUnknown); impl ITfQueryEmbedded { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -7985,25 +6156,9 @@ impl ITfQueryEmbedded { } } ::windows_core::imp::interface_hierarchy!(ITfQueryEmbedded, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfQueryEmbedded { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfQueryEmbedded {} -impl ::core::fmt::Debug for ITfQueryEmbedded { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfQueryEmbedded").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfQueryEmbedded { type Vtable = ITfQueryEmbedded_Vtbl; } -impl ::core::clone::Clone for ITfQueryEmbedded { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfQueryEmbedded { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0fab9bdb_d250_4169_84e5_6be118fdd7a8); } @@ -8018,6 +6173,7 @@ pub struct ITfQueryEmbedded_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfRange(::windows_core::IUnknown); impl ITfRange { pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: &mut [u16], pcch: *mut u32) -> ::windows_core::Result<()> { @@ -8137,25 +6293,9 @@ impl ITfRange { } } ::windows_core::imp::interface_hierarchy!(ITfRange, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfRange { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfRange {} -impl ::core::fmt::Debug for ITfRange { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfRange").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfRange { type Vtable = ITfRange_Vtbl; } -impl ::core::clone::Clone for ITfRange { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfRange { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7ff_2021_11d2_93e0_0060b067b86e); } @@ -8212,6 +6352,7 @@ pub struct ITfRange_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfRangeACP(::windows_core::IUnknown); impl ITfRangeACP { pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: &mut [u16], pcch: *mut u32) -> ::windows_core::Result<()> { @@ -8337,25 +6478,9 @@ impl ITfRangeACP { } } ::windows_core::imp::interface_hierarchy!(ITfRangeACP, ::windows_core::IUnknown, ITfRange); -impl ::core::cmp::PartialEq for ITfRangeACP { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfRangeACP {} -impl ::core::fmt::Debug for ITfRangeACP { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfRangeACP").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfRangeACP { type Vtable = ITfRangeACP_Vtbl; } -impl ::core::clone::Clone for ITfRangeACP { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfRangeACP { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x057a6296_029b_4154_b79a_0d461d4ea94c); } @@ -8368,6 +6493,7 @@ pub struct ITfRangeACP_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfRangeBackup(::windows_core::IUnknown); impl ITfRangeBackup { pub unsafe fn Restore(&self, ec: u32, prange: P0) -> ::windows_core::Result<()> @@ -8378,25 +6504,9 @@ impl ITfRangeBackup { } } ::windows_core::imp::interface_hierarchy!(ITfRangeBackup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfRangeBackup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfRangeBackup {} -impl ::core::fmt::Debug for ITfRangeBackup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfRangeBackup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfRangeBackup { type Vtable = ITfRangeBackup_Vtbl; } -impl ::core::clone::Clone for ITfRangeBackup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfRangeBackup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x463a506d_6992_49d2_9b88_93d55e70bb16); } @@ -8408,6 +6518,7 @@ pub struct ITfRangeBackup_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfReadOnlyProperty(::windows_core::IUnknown); impl ITfReadOnlyProperty { pub unsafe fn GetType(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -8435,25 +6546,9 @@ impl ITfReadOnlyProperty { } } ::windows_core::imp::interface_hierarchy!(ITfReadOnlyProperty, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfReadOnlyProperty { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfReadOnlyProperty {} -impl ::core::fmt::Debug for ITfReadOnlyProperty { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfReadOnlyProperty").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfReadOnlyProperty { type Vtable = ITfReadOnlyProperty_Vtbl; } -impl ::core::clone::Clone for ITfReadOnlyProperty { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfReadOnlyProperty { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x17d49a3d_f8b8_4b2f_b254_52319dd64c53); } @@ -8471,6 +6566,7 @@ pub struct ITfReadOnlyProperty_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfReadingInformationUIElement(::windows_core::IUnknown); impl ITfReadingInformationUIElement { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -8523,25 +6619,9 @@ impl ITfReadingInformationUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfReadingInformationUIElement, ::windows_core::IUnknown, ITfUIElement); -impl ::core::cmp::PartialEq for ITfReadingInformationUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfReadingInformationUIElement {} -impl ::core::fmt::Debug for ITfReadingInformationUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfReadingInformationUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfReadingInformationUIElement { type Vtable = ITfReadingInformationUIElement_Vtbl; } -impl ::core::clone::Clone for ITfReadingInformationUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfReadingInformationUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1ea139_19df_11d7_a6d2_00065b84435c); } @@ -8561,6 +6641,7 @@ pub struct ITfReadingInformationUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfReverseConversion(::windows_core::IUnknown); impl ITfReverseConversion { pub unsafe fn DoReverseConversion(&self, lpstr: P0) -> ::windows_core::Result @@ -8572,25 +6653,9 @@ impl ITfReverseConversion { } } ::windows_core::imp::interface_hierarchy!(ITfReverseConversion, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfReverseConversion { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfReverseConversion {} -impl ::core::fmt::Debug for ITfReverseConversion { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfReverseConversion").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfReverseConversion { type Vtable = ITfReverseConversion_Vtbl; } -impl ::core::clone::Clone for ITfReverseConversion { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfReverseConversion { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa415e162_157d_417d_8a8c_0ab26c7d2781); } @@ -8602,6 +6667,7 @@ pub struct ITfReverseConversion_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfReverseConversionList(::windows_core::IUnknown); impl ITfReverseConversionList { pub unsafe fn GetLength(&self) -> ::windows_core::Result { @@ -8614,25 +6680,9 @@ impl ITfReverseConversionList { } } ::windows_core::imp::interface_hierarchy!(ITfReverseConversionList, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfReverseConversionList { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfReverseConversionList {} -impl ::core::fmt::Debug for ITfReverseConversionList { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfReverseConversionList").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfReverseConversionList { type Vtable = ITfReverseConversionList_Vtbl; } -impl ::core::clone::Clone for ITfReverseConversionList { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfReverseConversionList { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x151d69f0_86f4_4674_b721_56911e797f47); } @@ -8645,6 +6695,7 @@ pub struct ITfReverseConversionList_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfReverseConversionMgr(::windows_core::IUnknown); impl ITfReverseConversionMgr { pub unsafe fn GetReverseConversion(&self, langid: u16, guidprofile: *const ::windows_core::GUID, dwflag: u32) -> ::windows_core::Result { @@ -8653,25 +6704,9 @@ impl ITfReverseConversionMgr { } } ::windows_core::imp::interface_hierarchy!(ITfReverseConversionMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfReverseConversionMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfReverseConversionMgr {} -impl ::core::fmt::Debug for ITfReverseConversionMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfReverseConversionMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfReverseConversionMgr { type Vtable = ITfReverseConversionMgr_Vtbl; } -impl ::core::clone::Clone for ITfReverseConversionMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfReverseConversionMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb643c236_c493_41b6_abb3_692412775cc4); } @@ -8683,6 +6718,7 @@ pub struct ITfReverseConversionMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSource(::windows_core::IUnknown); impl ITfSource { pub unsafe fn AdviseSink(&self, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result @@ -8697,25 +6733,9 @@ impl ITfSource { } } ::windows_core::imp::interface_hierarchy!(ITfSource, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSource { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSource {} -impl ::core::fmt::Debug for ITfSource { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSource").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSource { type Vtable = ITfSource_Vtbl; } -impl ::core::clone::Clone for ITfSource { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSource { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ea48a35_60ae_446f_8fd6_e6a8d82459f7); } @@ -8728,6 +6748,7 @@ pub struct ITfSource_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSourceSingle(::windows_core::IUnknown); impl ITfSourceSingle { pub unsafe fn AdviseSingleSink(&self, tid: u32, riid: *const ::windows_core::GUID, punk: P0) -> ::windows_core::Result<()> @@ -8741,25 +6762,9 @@ impl ITfSourceSingle { } } ::windows_core::imp::interface_hierarchy!(ITfSourceSingle, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSourceSingle { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSourceSingle {} -impl ::core::fmt::Debug for ITfSourceSingle { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSourceSingle").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSourceSingle { type Vtable = ITfSourceSingle_Vtbl; } -impl ::core::clone::Clone for ITfSourceSingle { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSourceSingle { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x73131f9c_56a9_49dd_b0ee_d046633f7528); } @@ -8772,6 +6777,7 @@ pub struct ITfSourceSingle_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSpeechUIServer(::windows_core::IUnknown); impl ITfSpeechUIServer { pub unsafe fn Initialize(&self) -> ::windows_core::Result<()> { @@ -8790,25 +6796,9 @@ impl ITfSpeechUIServer { } } ::windows_core::imp::interface_hierarchy!(ITfSpeechUIServer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSpeechUIServer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSpeechUIServer {} -impl ::core::fmt::Debug for ITfSpeechUIServer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSpeechUIServer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSpeechUIServer { type Vtable = ITfSpeechUIServer_Vtbl; } -impl ::core::clone::Clone for ITfSpeechUIServer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSpeechUIServer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x90e9a944_9244_489f_a78f_de67afc013a7); } @@ -8825,6 +6815,7 @@ pub struct ITfSpeechUIServer_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfStatusSink(::windows_core::IUnknown); impl ITfStatusSink { pub unsafe fn OnStatusChange(&self, pic: P0, dwflags: u32) -> ::windows_core::Result<()> @@ -8835,25 +6826,9 @@ impl ITfStatusSink { } } ::windows_core::imp::interface_hierarchy!(ITfStatusSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfStatusSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfStatusSink {} -impl ::core::fmt::Debug for ITfStatusSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfStatusSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfStatusSink { type Vtable = ITfStatusSink_Vtbl; } -impl ::core::clone::Clone for ITfStatusSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfStatusSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6b7d8d73_b267_4f69_b32e_1ca321ce4f45); } @@ -8865,6 +6840,7 @@ pub struct ITfStatusSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSystemDeviceTypeLangBarItem(::windows_core::IUnknown); impl ITfSystemDeviceTypeLangBarItem { pub unsafe fn SetIconMode(&self, dwflags: LANG_BAR_ITEM_ICON_MODE_FLAGS) -> ::windows_core::Result<()> { @@ -8876,25 +6852,9 @@ impl ITfSystemDeviceTypeLangBarItem { } } ::windows_core::imp::interface_hierarchy!(ITfSystemDeviceTypeLangBarItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSystemDeviceTypeLangBarItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSystemDeviceTypeLangBarItem {} -impl ::core::fmt::Debug for ITfSystemDeviceTypeLangBarItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSystemDeviceTypeLangBarItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSystemDeviceTypeLangBarItem { type Vtable = ITfSystemDeviceTypeLangBarItem_Vtbl; } -impl ::core::clone::Clone for ITfSystemDeviceTypeLangBarItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSystemDeviceTypeLangBarItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x45672eb9_9059_46a2_838d_4530355f6a77); } @@ -8907,6 +6867,7 @@ pub struct ITfSystemDeviceTypeLangBarItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSystemLangBarItem(::windows_core::IUnknown); impl ITfSystemLangBarItem { #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] @@ -8922,25 +6883,9 @@ impl ITfSystemLangBarItem { } } ::windows_core::imp::interface_hierarchy!(ITfSystemLangBarItem, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSystemLangBarItem { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSystemLangBarItem {} -impl ::core::fmt::Debug for ITfSystemLangBarItem { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSystemLangBarItem").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSystemLangBarItem { type Vtable = ITfSystemLangBarItem_Vtbl; } -impl ::core::clone::Clone for ITfSystemLangBarItem { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSystemLangBarItem { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e13e9ec_6b33_4d4a_b5eb_8a92f029f356); } @@ -8956,6 +6901,7 @@ pub struct ITfSystemLangBarItem_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSystemLangBarItemSink(::windows_core::IUnknown); impl ITfSystemLangBarItemSink { pub unsafe fn InitMenu(&self, pmenu: P0) -> ::windows_core::Result<()> @@ -8969,25 +6915,9 @@ impl ITfSystemLangBarItemSink { } } ::windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSystemLangBarItemSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSystemLangBarItemSink {} -impl ::core::fmt::Debug for ITfSystemLangBarItemSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSystemLangBarItemSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSystemLangBarItemSink { type Vtable = ITfSystemLangBarItemSink_Vtbl; } -impl ::core::clone::Clone for ITfSystemLangBarItemSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSystemLangBarItemSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1449d9ab_13cf_4687_aa3e_8d8b18574396); } @@ -9000,6 +6930,7 @@ pub struct ITfSystemLangBarItemSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfSystemLangBarItemText(::windows_core::IUnknown); impl ITfSystemLangBarItemText { pub unsafe fn SetItemText(&self, pch: &[u16]) -> ::windows_core::Result<()> { @@ -9011,25 +6942,9 @@ impl ITfSystemLangBarItemText { } } ::windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemText, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfSystemLangBarItemText { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfSystemLangBarItemText {} -impl ::core::fmt::Debug for ITfSystemLangBarItemText { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfSystemLangBarItemText").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfSystemLangBarItemText { type Vtable = ITfSystemLangBarItemText_Vtbl; } -impl ::core::clone::Clone for ITfSystemLangBarItemText { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfSystemLangBarItemText { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c4ce0e5_ba49_4b52_ac6b_3b397b4f701f); } @@ -9042,6 +6957,7 @@ pub struct ITfSystemLangBarItemText_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTextEditSink(::windows_core::IUnknown); impl ITfTextEditSink { pub unsafe fn OnEndEdit(&self, pic: P0, ecreadonly: u32, peditrecord: P1) -> ::windows_core::Result<()> @@ -9053,25 +6969,9 @@ impl ITfTextEditSink { } } ::windows_core::imp::interface_hierarchy!(ITfTextEditSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfTextEditSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTextEditSink {} -impl ::core::fmt::Debug for ITfTextEditSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTextEditSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTextEditSink { type Vtable = ITfTextEditSink_Vtbl; } -impl ::core::clone::Clone for ITfTextEditSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTextEditSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8127d409_ccd3_4683_967a_b43d5b482bf7); } @@ -9083,6 +6983,7 @@ pub struct ITfTextEditSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTextInputProcessor(::windows_core::IUnknown); impl ITfTextInputProcessor { pub unsafe fn Activate(&self, ptim: P0, tid: u32) -> ::windows_core::Result<()> @@ -9096,25 +6997,9 @@ impl ITfTextInputProcessor { } } ::windows_core::imp::interface_hierarchy!(ITfTextInputProcessor, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfTextInputProcessor { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTextInputProcessor {} -impl ::core::fmt::Debug for ITfTextInputProcessor { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTextInputProcessor").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTextInputProcessor { type Vtable = ITfTextInputProcessor_Vtbl; } -impl ::core::clone::Clone for ITfTextInputProcessor { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTextInputProcessor { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e7f7_2021_11d2_93e0_0060b067b86e); } @@ -9127,6 +7012,7 @@ pub struct ITfTextInputProcessor_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTextInputProcessorEx(::windows_core::IUnknown); impl ITfTextInputProcessorEx { pub unsafe fn Activate(&self, ptim: P0, tid: u32) -> ::windows_core::Result<()> @@ -9146,25 +7032,9 @@ impl ITfTextInputProcessorEx { } } ::windows_core::imp::interface_hierarchy!(ITfTextInputProcessorEx, ::windows_core::IUnknown, ITfTextInputProcessor); -impl ::core::cmp::PartialEq for ITfTextInputProcessorEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTextInputProcessorEx {} -impl ::core::fmt::Debug for ITfTextInputProcessorEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTextInputProcessorEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTextInputProcessorEx { type Vtable = ITfTextInputProcessorEx_Vtbl; } -impl ::core::clone::Clone for ITfTextInputProcessorEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTextInputProcessorEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6e4e2102_f9cd_433d_b496_303ce03a6507); } @@ -9176,6 +7046,7 @@ pub struct ITfTextInputProcessorEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTextLayoutSink(::windows_core::IUnknown); impl ITfTextLayoutSink { pub unsafe fn OnLayoutChange(&self, pic: P0, lcode: TfLayoutCode, pview: P1) -> ::windows_core::Result<()> @@ -9187,25 +7058,9 @@ impl ITfTextLayoutSink { } } ::windows_core::imp::interface_hierarchy!(ITfTextLayoutSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfTextLayoutSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTextLayoutSink {} -impl ::core::fmt::Debug for ITfTextLayoutSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTextLayoutSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTextLayoutSink { type Vtable = ITfTextLayoutSink_Vtbl; } -impl ::core::clone::Clone for ITfTextLayoutSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTextLayoutSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2af2d06a_dd5b_4927_a0b4_54f19c91fade); } @@ -9217,6 +7072,7 @@ pub struct ITfTextLayoutSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfThreadFocusSink(::windows_core::IUnknown); impl ITfThreadFocusSink { pub unsafe fn OnSetThreadFocus(&self) -> ::windows_core::Result<()> { @@ -9227,25 +7083,9 @@ impl ITfThreadFocusSink { } } ::windows_core::imp::interface_hierarchy!(ITfThreadFocusSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfThreadFocusSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfThreadFocusSink {} -impl ::core::fmt::Debug for ITfThreadFocusSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfThreadFocusSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfThreadFocusSink { type Vtable = ITfThreadFocusSink_Vtbl; } -impl ::core::clone::Clone for ITfThreadFocusSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfThreadFocusSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc0f1db0c_3a20_405c_a303_96b6010a885f); } @@ -9258,6 +7098,7 @@ pub struct ITfThreadFocusSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfThreadMgr(::windows_core::IUnknown); impl ITfThreadMgr { pub unsafe fn Activate(&self) -> ::windows_core::Result { @@ -9315,25 +7156,9 @@ impl ITfThreadMgr { } } ::windows_core::imp::interface_hierarchy!(ITfThreadMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfThreadMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfThreadMgr {} -impl ::core::fmt::Debug for ITfThreadMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfThreadMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfThreadMgr { type Vtable = ITfThreadMgr_Vtbl; } -impl ::core::clone::Clone for ITfThreadMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfThreadMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e801_2021_11d2_93e0_0060b067b86e); } @@ -9361,6 +7186,7 @@ pub struct ITfThreadMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfThreadMgr2(::windows_core::IUnknown); impl ITfThreadMgr2 { pub unsafe fn Activate(&self) -> ::windows_core::Result { @@ -9421,25 +7247,9 @@ impl ITfThreadMgr2 { } } ::windows_core::imp::interface_hierarchy!(ITfThreadMgr2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfThreadMgr2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfThreadMgr2 {} -impl ::core::fmt::Debug for ITfThreadMgr2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfThreadMgr2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfThreadMgr2 { type Vtable = ITfThreadMgr2_Vtbl; } -impl ::core::clone::Clone for ITfThreadMgr2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfThreadMgr2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0ab198ef_6477_4ee8_8812_6780edb82d5e); } @@ -9467,6 +7277,7 @@ pub struct ITfThreadMgr2_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfThreadMgrEventSink(::windows_core::IUnknown); impl ITfThreadMgrEventSink { pub unsafe fn OnInitDocumentMgr(&self, pdim: P0) -> ::windows_core::Result<()> @@ -9502,25 +7313,9 @@ impl ITfThreadMgrEventSink { } } ::windows_core::imp::interface_hierarchy!(ITfThreadMgrEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfThreadMgrEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfThreadMgrEventSink {} -impl ::core::fmt::Debug for ITfThreadMgrEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfThreadMgrEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfThreadMgrEventSink { type Vtable = ITfThreadMgrEventSink_Vtbl; } -impl ::core::clone::Clone for ITfThreadMgrEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfThreadMgrEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaa80e80e_2021_11d2_93e0_0060b067b86e); } @@ -9536,6 +7331,7 @@ pub struct ITfThreadMgrEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfThreadMgrEx(::windows_core::IUnknown); impl ITfThreadMgrEx { pub unsafe fn Activate(&self) -> ::windows_core::Result { @@ -9600,25 +7396,9 @@ impl ITfThreadMgrEx { } } ::windows_core::imp::interface_hierarchy!(ITfThreadMgrEx, ::windows_core::IUnknown, ITfThreadMgr); -impl ::core::cmp::PartialEq for ITfThreadMgrEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfThreadMgrEx {} -impl ::core::fmt::Debug for ITfThreadMgrEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfThreadMgrEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfThreadMgrEx { type Vtable = ITfThreadMgrEx_Vtbl; } -impl ::core::clone::Clone for ITfThreadMgrEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfThreadMgrEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e90ade3_7594_4cb0_bb58_69628f5f458c); } @@ -9631,6 +7411,7 @@ pub struct ITfThreadMgrEx_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfToolTipUIElement(::windows_core::IUnknown); impl ITfToolTipUIElement { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -9661,25 +7442,9 @@ impl ITfToolTipUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfToolTipUIElement, ::windows_core::IUnknown, ITfUIElement); -impl ::core::cmp::PartialEq for ITfToolTipUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfToolTipUIElement {} -impl ::core::fmt::Debug for ITfToolTipUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfToolTipUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfToolTipUIElement { type Vtable = ITfToolTipUIElement_Vtbl; } -impl ::core::clone::Clone for ITfToolTipUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfToolTipUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x52b18b5c_555d_46b2_b00a_fa680144fbdb); } @@ -9691,6 +7456,7 @@ pub struct ITfToolTipUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTransitoryExtensionSink(::windows_core::IUnknown); impl ITfTransitoryExtensionSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9706,25 +7472,9 @@ impl ITfTransitoryExtensionSink { } } ::windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfTransitoryExtensionSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTransitoryExtensionSink {} -impl ::core::fmt::Debug for ITfTransitoryExtensionSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTransitoryExtensionSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTransitoryExtensionSink { type Vtable = ITfTransitoryExtensionSink_Vtbl; } -impl ::core::clone::Clone for ITfTransitoryExtensionSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTransitoryExtensionSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa615096f_1c57_4813_8a15_55ee6e5a839c); } @@ -9739,6 +7489,7 @@ pub struct ITfTransitoryExtensionSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfTransitoryExtensionUIElement(::windows_core::IUnknown); impl ITfTransitoryExtensionUIElement { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -9769,25 +7520,9 @@ impl ITfTransitoryExtensionUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionUIElement, ::windows_core::IUnknown, ITfUIElement); -impl ::core::cmp::PartialEq for ITfTransitoryExtensionUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfTransitoryExtensionUIElement {} -impl ::core::fmt::Debug for ITfTransitoryExtensionUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfTransitoryExtensionUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfTransitoryExtensionUIElement { type Vtable = ITfTransitoryExtensionUIElement_Vtbl; } -impl ::core::clone::Clone for ITfTransitoryExtensionUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfTransitoryExtensionUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x858f956a_972f_42a2_a2f2_0321e1abe209); } @@ -9799,6 +7534,7 @@ pub struct ITfTransitoryExtensionUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfUIElement(::windows_core::IUnknown); impl ITfUIElement { pub unsafe fn GetDescription(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -9825,25 +7561,9 @@ impl ITfUIElement { } } ::windows_core::imp::interface_hierarchy!(ITfUIElement, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfUIElement { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfUIElement {} -impl ::core::fmt::Debug for ITfUIElement { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfUIElement").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfUIElement { type Vtable = ITfUIElement_Vtbl; } -impl ::core::clone::Clone for ITfUIElement { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfUIElement { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1ea137_19df_11d7_a6d2_00065b84435c); } @@ -9864,6 +7584,7 @@ pub struct ITfUIElement_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfUIElementMgr(::windows_core::IUnknown); impl ITfUIElementMgr { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9890,25 +7611,9 @@ impl ITfUIElementMgr { } } ::windows_core::imp::interface_hierarchy!(ITfUIElementMgr, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfUIElementMgr { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfUIElementMgr {} -impl ::core::fmt::Debug for ITfUIElementMgr { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfUIElementMgr").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfUIElementMgr { type Vtable = ITfUIElementMgr_Vtbl; } -impl ::core::clone::Clone for ITfUIElementMgr { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfUIElementMgr { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1ea135_19df_11d7_a6d2_00065b84435c); } @@ -9927,6 +7632,7 @@ pub struct ITfUIElementMgr_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITfUIElementSink(::windows_core::IUnknown); impl ITfUIElementSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -9942,25 +7648,9 @@ impl ITfUIElementSink { } } ::windows_core::imp::interface_hierarchy!(ITfUIElementSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITfUIElementSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITfUIElementSink {} -impl ::core::fmt::Debug for ITfUIElementSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITfUIElementSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITfUIElementSink { type Vtable = ITfUIElementSink_Vtbl; } -impl ::core::clone::Clone for ITfUIElementSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITfUIElementSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea1ea136_19df_11d7_a6d2_00065b84435c); } @@ -9977,6 +7667,7 @@ pub struct ITfUIElementSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUIManagerEventSink(::windows_core::IUnknown); impl IUIManagerEventSink { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -10007,25 +7698,9 @@ impl IUIManagerEventSink { } } ::windows_core::imp::interface_hierarchy!(IUIManagerEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUIManagerEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUIManagerEventSink {} -impl ::core::fmt::Debug for IUIManagerEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUIManagerEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUIManagerEventSink { type Vtable = IUIManagerEventSink_Vtbl; } -impl ::core::clone::Clone for IUIManagerEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUIManagerEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd91d690_a7e8_4265_9b38_8bb3bbaba7de); } @@ -10054,6 +7729,7 @@ pub struct IUIManagerEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_UI_TextServices\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVersionInfo(::windows_core::IUnknown); impl IVersionInfo { pub unsafe fn GetSubcomponentCount(&self, ulsub: u32) -> ::windows_core::Result { @@ -10077,25 +7753,9 @@ impl IVersionInfo { } } ::windows_core::imp::interface_hierarchy!(IVersionInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IVersionInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVersionInfo {} -impl ::core::fmt::Debug for IVersionInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVersionInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IVersionInfo { type Vtable = IVersionInfo_Vtbl; } -impl ::core::clone::Clone for IVersionInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IVersionInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x401518ec_db00_4611_9b29_2a0e4b9afa85); } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs index 8732a8ef6f..418ab1c889 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs @@ -44,8 +44,8 @@ impl IMILBitmapEffect_Vtbl { SetInputSource: SetInputSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IMILBitmapEffectConnections_Vtbl { GetOutputConnector: GetOutputConnector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { GetOutputConnectorInfo: GetOutputConnectorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -193,8 +193,8 @@ impl IMILBitmapEffectConnector_Vtbl { GetBitmapEffect: GetBitmapEffect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -287,8 +287,8 @@ impl IMILBitmapEffectEvents_Vtbl { DirtyRegion: DirtyRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl IMILBitmapEffectFactory_Vtbl { CreateEffectOuter: CreateEffectOuter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl IMILBitmapEffectGroup_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl IMILBitmapEffectGroupImpl_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -512,8 +512,8 @@ impl IMILBitmapEffectImpl_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IMILBitmapEffectInputConnector_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -573,8 +573,8 @@ impl IMILBitmapEffectInteriorInputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputConnector: GetInputConnector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -597,8 +597,8 @@ impl IMILBitmapEffectInteriorOutputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOutputConnector: GetOutputConnector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IMILBitmapEffectOutputConnector_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -668,8 +668,8 @@ impl IMILBitmapEffectOutputConnectorImpl_Vtbl { RemoveBackLink: RemoveBackLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dwm\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl IMILBitmapEffectPrimitive_Vtbl { GetAffineMatrix: GetAffineMatrix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -776,8 +776,8 @@ impl IMILBitmapEffectPrimitiveImpl_Vtbl { IsVolatile: IsVolatile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IMILBitmapEffectRenderContext_Vtbl { SetRegionOfInterest: SetRegionOfInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -913,8 +913,8 @@ impl IMILBitmapEffectRenderContextImpl_Vtbl { UpdateOutputBounds: UpdateOutputBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -979,7 +979,7 @@ impl IMILBitmapEffects_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs index 75e13bec20..cd3bd37d6b 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -1,5 +1,6 @@ #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffect(::windows_core::IUnknown); impl IMILBitmapEffect { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -25,25 +26,9 @@ impl IMILBitmapEffect { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffect, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffect {} -impl ::core::fmt::Debug for IMILBitmapEffect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffect").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffect { type Vtable = IMILBitmapEffect_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a6ff321_c944_4a1b_9944_9954af301258); } @@ -63,6 +48,7 @@ pub struct IMILBitmapEffect_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectConnections(::windows_core::IUnknown); impl IMILBitmapEffectConnections { pub unsafe fn GetInputConnector(&self, uiindex: u32) -> ::windows_core::Result { @@ -75,25 +61,9 @@ impl IMILBitmapEffectConnections { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnections, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectConnections { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectConnections {} -impl ::core::fmt::Debug for IMILBitmapEffectConnections { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectConnections").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectConnections { type Vtable = IMILBitmapEffectConnections_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectConnections { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectConnections { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2b5d861_9b1a_4374_89b0_dec4874d6a81); } @@ -106,6 +76,7 @@ pub struct IMILBitmapEffectConnections_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectConnectionsInfo(::windows_core::IUnknown); impl IMILBitmapEffectConnectionsInfo { pub unsafe fn GetNumberInputs(&self) -> ::windows_core::Result { @@ -126,25 +97,9 @@ impl IMILBitmapEffectConnectionsInfo { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectionsInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectConnectionsInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectConnectionsInfo {} -impl ::core::fmt::Debug for IMILBitmapEffectConnectionsInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectConnectionsInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectConnectionsInfo { type Vtable = IMILBitmapEffectConnectionsInfo_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectConnectionsInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectConnectionsInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x476b538a_c765_4237_ba4a_d6a880ff0cfc); } @@ -159,6 +114,7 @@ pub struct IMILBitmapEffectConnectionsInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectConnector(::windows_core::IUnknown); impl IMILBitmapEffectConnector { pub unsafe fn GetIndex(&self) -> ::windows_core::Result { @@ -189,25 +145,9 @@ impl IMILBitmapEffectConnector { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnector, ::windows_core::IUnknown, IMILBitmapEffectConnectorInfo); -impl ::core::cmp::PartialEq for IMILBitmapEffectConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectConnector {} -impl ::core::fmt::Debug for IMILBitmapEffectConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectConnector { type Vtable = IMILBitmapEffectConnector_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf59567b3_76c1_4d47_ba1e_79f955e350ef); } @@ -223,6 +163,7 @@ pub struct IMILBitmapEffectConnector_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectConnectorInfo(::windows_core::IUnknown); impl IMILBitmapEffectConnectorInfo { pub unsafe fn GetIndex(&self) -> ::windows_core::Result { @@ -243,25 +184,9 @@ impl IMILBitmapEffectConnectorInfo { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectorInfo, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectConnectorInfo { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectConnectorInfo {} -impl ::core::fmt::Debug for IMILBitmapEffectConnectorInfo { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectConnectorInfo").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectConnectorInfo { type Vtable = IMILBitmapEffectConnectorInfo_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectConnectorInfo { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectConnectorInfo { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf66d2e4b_b46b_42fc_859e_3da0ecdb3c43); } @@ -276,6 +201,7 @@ pub struct IMILBitmapEffectConnectorInfo_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectEvents(::windows_core::IUnknown); impl IMILBitmapEffectEvents { pub unsafe fn PropertyChange(&self, peffect: P0, bstrpropertyname: P1) -> ::windows_core::Result<()> @@ -293,25 +219,9 @@ impl IMILBitmapEffectEvents { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectEvents, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectEvents { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectEvents {} -impl ::core::fmt::Debug for IMILBitmapEffectEvents { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectEvents").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectEvents { type Vtable = IMILBitmapEffectEvents_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectEvents { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectEvents { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2e880dd8_f8ce_457b_8199_d60bb3d7ef98); } @@ -324,6 +234,7 @@ pub struct IMILBitmapEffectEvents_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectFactory(::windows_core::IUnknown); impl IMILBitmapEffectFactory { pub unsafe fn CreateEffect(&self, pguideffect: *const ::windows_core::GUID) -> ::windows_core::Result { @@ -340,25 +251,9 @@ impl IMILBitmapEffectFactory { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectFactory {} -impl ::core::fmt::Debug for IMILBitmapEffectFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectFactory { type Vtable = IMILBitmapEffectFactory_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33a9df34_a403_4ec7_b07e_bc0682370845); } @@ -372,6 +267,7 @@ pub struct IMILBitmapEffectFactory_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectGroup(::windows_core::IUnknown); impl IMILBitmapEffectGroup { pub unsafe fn GetInteriorInputConnector(&self, uiindex: u32) -> ::windows_core::Result { @@ -390,25 +286,9 @@ impl IMILBitmapEffectGroup { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroup, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectGroup { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectGroup {} -impl ::core::fmt::Debug for IMILBitmapEffectGroup { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectGroup").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectGroup { type Vtable = IMILBitmapEffectGroup_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectGroup { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectGroup { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2f952360_698a_4ac6_81a1_bcfdf08eb8e8); } @@ -422,6 +302,7 @@ pub struct IMILBitmapEffectGroup_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectGroupImpl(::windows_core::IUnknown); impl IMILBitmapEffectGroupImpl { pub unsafe fn Preprocess(&self, pcontext: P0) -> ::windows_core::Result<()> @@ -440,25 +321,9 @@ impl IMILBitmapEffectGroupImpl { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroupImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectGroupImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectGroupImpl {} -impl ::core::fmt::Debug for IMILBitmapEffectGroupImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectGroupImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectGroupImpl { type Vtable = IMILBitmapEffectGroupImpl_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectGroupImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectGroupImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x78fed518_1cfc_4807_8b85_6b6e51398f62); } @@ -472,6 +337,7 @@ pub struct IMILBitmapEffectGroupImpl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectImpl(::windows_core::IUnknown); impl IMILBitmapEffectImpl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -522,25 +388,9 @@ impl IMILBitmapEffectImpl { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectImpl {} -impl ::core::fmt::Debug for IMILBitmapEffectImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectImpl { type Vtable = IMILBitmapEffectImpl_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc2468f2_9936_47be_b4af_06b5df5dbcbb); } @@ -570,6 +420,7 @@ pub struct IMILBitmapEffectImpl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectInputConnector(::windows_core::IUnknown); impl IMILBitmapEffectInputConnector { pub unsafe fn GetIndex(&self) -> ::windows_core::Result { @@ -610,25 +461,9 @@ impl IMILBitmapEffectInputConnector { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectInputConnector, ::windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); -impl ::core::cmp::PartialEq for IMILBitmapEffectInputConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectInputConnector {} -impl ::core::fmt::Debug for IMILBitmapEffectInputConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectInputConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectInputConnector { type Vtable = IMILBitmapEffectInputConnector_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectInputConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectInputConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa9b4ecaa_7a3c_45e7_8573_f4b81b60dd6c); } @@ -641,6 +476,7 @@ pub struct IMILBitmapEffectInputConnector_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectInteriorInputConnector(::windows_core::IUnknown); impl IMILBitmapEffectInteriorInputConnector { pub unsafe fn GetInputConnector(&self) -> ::windows_core::Result { @@ -649,25 +485,9 @@ impl IMILBitmapEffectInteriorInputConnector { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorInputConnector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectInteriorInputConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectInteriorInputConnector {} -impl ::core::fmt::Debug for IMILBitmapEffectInteriorInputConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectInteriorInputConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectInteriorInputConnector { type Vtable = IMILBitmapEffectInteriorInputConnector_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectInteriorInputConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectInteriorInputConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20287e9e_86a2_4e15_953d_eb1438a5b842); } @@ -679,6 +499,7 @@ pub struct IMILBitmapEffectInteriorInputConnector_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectInteriorOutputConnector(::windows_core::IUnknown); impl IMILBitmapEffectInteriorOutputConnector { pub unsafe fn GetOutputConnector(&self) -> ::windows_core::Result { @@ -687,25 +508,9 @@ impl IMILBitmapEffectInteriorOutputConnector { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorOutputConnector, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectInteriorOutputConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectInteriorOutputConnector {} -impl ::core::fmt::Debug for IMILBitmapEffectInteriorOutputConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectInteriorOutputConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectInteriorOutputConnector { type Vtable = IMILBitmapEffectInteriorOutputConnector_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectInteriorOutputConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectInteriorOutputConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00bbb6dc_acc9_4bfc_b344_8bee383dfefa); } @@ -717,6 +522,7 @@ pub struct IMILBitmapEffectInteriorOutputConnector_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectOutputConnector(::windows_core::IUnknown); impl IMILBitmapEffectOutputConnector { pub unsafe fn GetIndex(&self) -> ::windows_core::Result { @@ -755,25 +561,9 @@ impl IMILBitmapEffectOutputConnector { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnector, ::windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); -impl ::core::cmp::PartialEq for IMILBitmapEffectOutputConnector { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectOutputConnector {} -impl ::core::fmt::Debug for IMILBitmapEffectOutputConnector { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectOutputConnector").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectOutputConnector { type Vtable = IMILBitmapEffectOutputConnector_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectOutputConnector { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectOutputConnector { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x92957aad_841b_4866_82ec_8752468b07fd); } @@ -786,6 +576,7 @@ pub struct IMILBitmapEffectOutputConnector_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectOutputConnectorImpl(::windows_core::IUnknown); impl IMILBitmapEffectOutputConnectorImpl { pub unsafe fn AddBackLink(&self, pconnection: P0) -> ::windows_core::Result<()> @@ -802,25 +593,9 @@ impl IMILBitmapEffectOutputConnectorImpl { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnectorImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectOutputConnectorImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectOutputConnectorImpl {} -impl ::core::fmt::Debug for IMILBitmapEffectOutputConnectorImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectOutputConnectorImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectOutputConnectorImpl { type Vtable = IMILBitmapEffectOutputConnectorImpl_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectOutputConnectorImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectOutputConnectorImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x21fae777_8b39_4bfa_9f2d_f3941ed36913); } @@ -833,6 +608,7 @@ pub struct IMILBitmapEffectOutputConnectorImpl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectPrimitive(::windows_core::IUnknown); impl IMILBitmapEffectPrimitive { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`*"] @@ -880,25 +656,9 @@ impl IMILBitmapEffectPrimitive { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitive, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectPrimitive { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectPrimitive {} -impl ::core::fmt::Debug for IMILBitmapEffectPrimitive { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectPrimitive").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectPrimitive { type Vtable = IMILBitmapEffectPrimitive_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectPrimitive { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectPrimitive { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x67e31025_3091_4dfc_98d6_dd494551461d); } @@ -933,6 +693,7 @@ pub struct IMILBitmapEffectPrimitive_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectPrimitiveImpl(::windows_core::IUnknown); impl IMILBitmapEffectPrimitiveImpl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -948,25 +709,9 @@ impl IMILBitmapEffectPrimitiveImpl { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitiveImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectPrimitiveImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectPrimitiveImpl {} -impl ::core::fmt::Debug for IMILBitmapEffectPrimitiveImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectPrimitiveImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectPrimitiveImpl { type Vtable = IMILBitmapEffectPrimitiveImpl_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectPrimitiveImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectPrimitiveImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce41e00b_efa6_44e7_b007_dd042e3ae126); } @@ -985,6 +730,7 @@ pub struct IMILBitmapEffectPrimitiveImpl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectRenderContext(::windows_core::IUnknown); impl IMILBitmapEffectRenderContext { pub unsafe fn SetOutputPixelFormat(&self, format: *const ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -1019,25 +765,9 @@ impl IMILBitmapEffectRenderContext { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectRenderContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectRenderContext {} -impl ::core::fmt::Debug for IMILBitmapEffectRenderContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectRenderContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectRenderContext { type Vtable = IMILBitmapEffectRenderContext_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectRenderContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectRenderContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x12a2ec7e_2d33_44b2_b334_1abb7846e390); } @@ -1059,6 +789,7 @@ pub struct IMILBitmapEffectRenderContext_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffectRenderContextImpl(::windows_core::IUnknown); impl IMILBitmapEffectRenderContextImpl { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1081,25 +812,9 @@ impl IMILBitmapEffectRenderContextImpl { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContextImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffectRenderContextImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffectRenderContextImpl {} -impl ::core::fmt::Debug for IMILBitmapEffectRenderContextImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffectRenderContextImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffectRenderContextImpl { type Vtable = IMILBitmapEffectRenderContextImpl_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffectRenderContextImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffectRenderContextImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4d25accb_797d_4fd2_b128_dffeff84fcc3); } @@ -1118,6 +833,7 @@ pub struct IMILBitmapEffectRenderContextImpl_Vtbl { } #[doc = "*Required features: `\"Win32_UI_Wpf\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMILBitmapEffects(::windows_core::IUnknown); impl IMILBitmapEffects { pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -1138,25 +854,9 @@ impl IMILBitmapEffects { } } ::windows_core::imp::interface_hierarchy!(IMILBitmapEffects, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMILBitmapEffects { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMILBitmapEffects {} -impl ::core::fmt::Debug for IMILBitmapEffects { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMILBitmapEffects").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMILBitmapEffects { type Vtable = IMILBitmapEffects_Vtbl; } -impl ::core::clone::Clone for IMILBitmapEffects { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMILBitmapEffects { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51ac3dce_67c5_448b_9180_ad3eabddd5dd); } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs index 67ef9471b3..06936c9753 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs @@ -37,8 +37,8 @@ impl IActiveXUIHandlerSite_Vtbl { PickFileAndGetResult: PickFileAndGetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IActiveXUIHandlerSite2_Vtbl { RemoveSuspensionExemption: RemoveSuspensionExemption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IActiveXUIHandlerSite3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageBoxW: MessageBoxW:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -119,8 +119,8 @@ impl IAnchorClick_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ProcOnClick: ProcOnClick:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IAudioSessionSite_Vtbl { OnAudioStreamDestroyed: OnAudioStreamDestroyed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl ICaretPositionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCaretPosition: GetCaretPosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IDeviceRect_Vtbl { pub const fn new, Impl: IDeviceRect_Impl, const OFFSET: isize>() -> IDeviceRect_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -226,8 +226,8 @@ impl IDithererImpl_Vtbl { SetEventSink: SetEventSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IDocObjectService_Vtbl { IsErrorUrl: IsErrorUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -358,8 +358,8 @@ impl IDownloadBehavior_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), startDownload: startDownload:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -379,8 +379,8 @@ impl IDownloadManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Download: Download:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl IEnumManagerFrames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IEnumOpenServiceActivity_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl IEnumOpenServiceActivityCategory_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -597,8 +597,8 @@ impl IEnumSTATURL_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IExtensionValidation_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -696,8 +696,8 @@ impl IHTMLPersistData_Vtbl { queryType: queryType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -753,8 +753,8 @@ impl IHTMLPersistDataOM_Vtbl { removeAttribute: removeAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IHTMLUserDataOM_Vtbl { expires: expires::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IHeaderFooter_Vtbl { timeLong: timeLong::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IHeaderFooter2_Vtbl { } Self { base__: IHeaderFooter_Vtbl::new::(), Setfont: Setfont::, font: font:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IHomePage_Vtbl { isHomePage: isHomePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IHomePageSetting_Vtbl { SetHomePageToBrowserDefault: SetHomePageToBrowserDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1235,8 +1235,8 @@ impl IIEWebDriverManager_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ExecuteCommand: ExecuteCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1279,8 +1279,8 @@ impl IIEWebDriverSite_Vtbl { GetCapabilityValue: GetCapabilityValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1344,8 +1344,8 @@ impl IImageDecodeEventSink_Vtbl { OnProgress: OnProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IImageDecodeEventSink2_Vtbl { } Self { base__: IImageDecodeEventSink_Vtbl::new::(), IsAlphaPremultRequired: IsAlphaPremultRequired:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1409,8 +1409,8 @@ impl IImageDecodeFilter_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl IIntelliForms_Vtbl { Setenabled: Setenabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1464,8 +1464,8 @@ impl IInternetExplorerManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IInternetExplorerManager2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumFrameWindows: EnumFrameWindows:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ILayoutRect_Vtbl { contentDocument: contentDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IMapMIMEToCLSID_Vtbl { SetMapping: SetMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1684,8 +1684,8 @@ impl IMediaActivityNotifySite_Vtbl { OnMediaActivityStopped: OnMediaActivityStopped::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1734,8 +1734,8 @@ impl IOpenService_Vtbl { GetID: GetID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1967,8 +1967,8 @@ impl IOpenServiceActivity_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2043,8 +2043,8 @@ impl IOpenServiceActivityCategory_Vtbl { GetActivityEnumerator: GetActivityEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2099,8 +2099,8 @@ impl IOpenServiceActivityInput_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IOpenServiceActivityManager_Vtbl { GetVersionCookie: GetVersionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2202,8 +2202,8 @@ impl IOpenServiceActivityOutputContext_Vtbl { CanNavigate: CanNavigate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2249,8 +2249,8 @@ impl IOpenServiceManager_Vtbl { GetServiceByID: GetServiceByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2260,8 +2260,8 @@ impl IPeerFactory_Vtbl { pub const fn new, Impl: IPeerFactory_Impl, const OFFSET: isize>() -> IPeerFactory_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IPersistHistory_Vtbl { GetPositionCookie: GetPositionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2329,8 +2329,8 @@ impl IPrintTaskRequestFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePrintTaskRequest: CreatePrintTaskRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2347,8 +2347,8 @@ impl IPrintTaskRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePrintTaskRequest: HandlePrintTaskRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2381,8 +2381,8 @@ impl IScrollableContextMenu_Vtbl { ShowModal: ShowModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2409,8 +2409,8 @@ impl IScrollableContextMenu2_Vtbl { SetPlacement: SetPlacement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2436,8 +2436,8 @@ impl ISniffStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Peek: Peek:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2464,8 +2464,8 @@ impl ISurfacePresenterFlip_Vtbl { GetBuffer: GetBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2485,8 +2485,8 @@ impl ISurfacePresenterFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRotation: SetRotation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2513,8 +2513,8 @@ impl ISurfacePresenterFlipBuffer_Vtbl { EndDraw: EndDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2556,8 +2556,8 @@ impl ITargetContainer_Vtbl { GetFramesContainer: GetFramesContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2580,8 +2580,8 @@ impl ITargetEmbedding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetFrame: GetTargetFrame:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2731,8 +2731,8 @@ impl ITargetFrame_Vtbl { OnChildFrameDeactivate: OnChildFrameDeactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2874,8 +2874,8 @@ impl ITargetFrame2_Vtbl { GetTargetAlias: GetTargetAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2951,8 +2951,8 @@ impl ITargetFramePriv_Vtbl { FindBrowserByIndex: FindBrowserByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl ITargetFramePriv2_Vtbl { } Self { base__: ITargetFramePriv_Vtbl::new::(), AggregatedNavigation2: AggregatedNavigation2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl ITargetNotify_Vtbl { OnReuse: OnReuse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3018,8 +3018,8 @@ impl ITargetNotify2_Vtbl { } Self { base__: ITargetNotify_Vtbl::new::(), GetOptionString: GetOptionString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3075,8 +3075,8 @@ impl ITimer_Vtbl { GetTime: GetTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3096,8 +3096,8 @@ impl ITimerEx_Vtbl { } Self { base__: ITimer_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3143,8 +3143,8 @@ impl ITimerService_Vtbl { SetNamedTimerReference: SetNamedTimerReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3164,8 +3164,8 @@ impl ITimerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTimer: OnTimer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3191,8 +3191,8 @@ impl ITridentTouchInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPointerMessage: OnPointerMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -3222,8 +3222,8 @@ impl ITridentTouchInputSite_Vtbl { ZoomToPoint: ZoomToPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IUrlHistoryNotify_Vtbl { pub const fn new, Impl: IUrlHistoryNotify_Impl, const OFFSET: isize>() -> IUrlHistoryNotify_Vtbl { Self { base__: super::super::System::Ole::IOleCommandTarget_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3294,8 +3294,8 @@ impl IUrlHistoryStg_Vtbl { EnumUrls: EnumUrls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3325,8 +3325,8 @@ impl IUrlHistoryStg2_Vtbl { ClearHistory: ClearHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3363,8 +3363,8 @@ impl IViewObjectPresentFlip_Vtbl { RenderObjectToSharedBuffer: RenderObjectToSharedBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3381,8 +3381,8 @@ impl IViewObjectPresentFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyLeavingView: NotifyLeavingView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -3484,8 +3484,8 @@ impl IViewObjectPresentFlipSite_Vtbl { GetFullScreenSize: GetFullScreenSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3514,8 +3514,8 @@ impl IViewObjectPresentFlipSite2_Vtbl { GetRotationForCurrentOutput: GetRotationForCurrentOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3572,8 +3572,8 @@ impl IWebBrowserEventsService_Vtbl { FireDocumentCompleteEvent: FireDocumentCompleteEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3596,8 +3596,8 @@ impl IWebBrowserEventsUrlService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUrlForEvents: GetUrlForEvents:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3646,7 +3646,7 @@ impl Iwfolders_Vtbl { navigateNoSite: navigateNoSite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs index aff043a1c2..dcd8637b9c 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -549,6 +549,7 @@ where } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveXUIHandlerSite(::windows_core::IUnknown); impl IActiveXUIHandlerSite { pub unsafe fn CreateScrollableContextMenu(&self) -> ::windows_core::Result { @@ -567,25 +568,9 @@ impl IActiveXUIHandlerSite { } } ::windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveXUIHandlerSite { type Vtable = IActiveXUIHandlerSite_Vtbl; } -impl ::core::clone::Clone for IActiveXUIHandlerSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveXUIHandlerSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510853_98b5_11cf_bb82_00aa00bdce0b); } @@ -601,6 +586,7 @@ pub struct IActiveXUIHandlerSite_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveXUIHandlerSite2(::windows_core::IUnknown); impl IActiveXUIHandlerSite2 { pub unsafe fn AddSuspensionExemption(&self) -> ::windows_core::Result { @@ -612,25 +598,9 @@ impl IActiveXUIHandlerSite2 { } } ::windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite2 {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveXUIHandlerSite2 { type Vtable = IActiveXUIHandlerSite2_Vtbl; } -impl ::core::clone::Clone for IActiveXUIHandlerSite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveXUIHandlerSite2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7e3707b2_d087_4542_ac1f_a0d2fcd080fd); } @@ -643,6 +613,7 @@ pub struct IActiveXUIHandlerSite2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IActiveXUIHandlerSite3(::windows_core::IUnknown); impl IActiveXUIHandlerSite3 { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -658,25 +629,9 @@ impl IActiveXUIHandlerSite3 { } } ::windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite3, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IActiveXUIHandlerSite3 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IActiveXUIHandlerSite3 {} -impl ::core::fmt::Debug for IActiveXUIHandlerSite3 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IActiveXUIHandlerSite3").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IActiveXUIHandlerSite3 { type Vtable = IActiveXUIHandlerSite3_Vtbl; } -impl ::core::clone::Clone for IActiveXUIHandlerSite3 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IActiveXUIHandlerSite3 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7904009a_1238_47f4_901c_871375c34608); } @@ -692,6 +647,7 @@ pub struct IActiveXUIHandlerSite3_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAnchorClick(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IAnchorClick { @@ -702,30 +658,10 @@ impl IAnchorClick { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IAnchorClick, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IAnchorClick { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IAnchorClick {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IAnchorClick { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAnchorClick").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IAnchorClick { type Vtable = IAnchorClick_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IAnchorClick { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IAnchorClick { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13d5413b_33b9_11d2_95a7_00c04f8ecb02); } @@ -738,6 +674,7 @@ pub struct IAnchorClick_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IAudioSessionSite(::windows_core::IUnknown); impl IAudioSessionSite { pub unsafe fn GetAudioSessionGuid(&self) -> ::windows_core::Result<::windows_core::GUID> { @@ -758,25 +695,9 @@ impl IAudioSessionSite { } } ::windows_core::imp::interface_hierarchy!(IAudioSessionSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IAudioSessionSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IAudioSessionSite {} -impl ::core::fmt::Debug for IAudioSessionSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IAudioSessionSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IAudioSessionSite { type Vtable = IAudioSessionSite_Vtbl; } -impl ::core::clone::Clone for IAudioSessionSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IAudioSessionSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7d8b684_d02d_4517_b6b7_19e3dfe29c45); } @@ -790,6 +711,7 @@ pub struct IAudioSessionSite_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICaretPositionProvider(::windows_core::IUnknown); impl ICaretPositionProvider { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -799,25 +721,9 @@ impl ICaretPositionProvider { } } ::windows_core::imp::interface_hierarchy!(ICaretPositionProvider, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ICaretPositionProvider { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ICaretPositionProvider {} -impl ::core::fmt::Debug for ICaretPositionProvider { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ICaretPositionProvider").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ICaretPositionProvider { type Vtable = ICaretPositionProvider_Vtbl; } -impl ::core::clone::Clone for ICaretPositionProvider { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICaretPositionProvider { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x58da43a2_108e_4d5b_9f75_e5f74f93fff5); } @@ -833,36 +739,17 @@ pub struct ICaretPositionProvider_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDeviceRect(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDeviceRect {} #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDeviceRect, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDeviceRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDeviceRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDeviceRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDeviceRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDeviceRect { type Vtable = IDeviceRect_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDeviceRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDeviceRect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f6d5_98b5_11cf_bb82_00aa00bdce0b); } @@ -874,6 +761,7 @@ pub struct IDeviceRect_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDithererImpl(::windows_core::IUnknown); impl IDithererImpl { #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] @@ -889,25 +777,9 @@ impl IDithererImpl { } } ::windows_core::imp::interface_hierarchy!(IDithererImpl, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDithererImpl { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDithererImpl {} -impl ::core::fmt::Debug for IDithererImpl { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDithererImpl").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDithererImpl { type Vtable = IDithererImpl_Vtbl; } -impl ::core::clone::Clone for IDithererImpl { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDithererImpl { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7c48e840_3910_11d0_86fc_00a0c913f750); } @@ -923,6 +795,7 @@ pub struct IDithererImpl_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDocObjectService(::windows_core::IUnknown); impl IDocObjectService { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] @@ -995,25 +868,9 @@ impl IDocObjectService { } } ::windows_core::imp::interface_hierarchy!(IDocObjectService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDocObjectService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDocObjectService {} -impl ::core::fmt::Debug for IDocObjectService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDocObjectService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDocObjectService { type Vtable = IDocObjectService_Vtbl; } -impl ::core::clone::Clone for IDocObjectService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDocObjectService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f801_98b5_11cf_bb82_00aa00bdce0b); } @@ -1053,6 +910,7 @@ pub struct IDocObjectService_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadBehavior(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IDownloadBehavior { @@ -1069,30 +927,10 @@ impl IDownloadBehavior { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IDownloadBehavior, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IDownloadBehavior { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IDownloadBehavior {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IDownloadBehavior { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadBehavior").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IDownloadBehavior { type Vtable = IDownloadBehavior_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IDownloadBehavior { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IDownloadBehavior { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f5bd_98b5_11cf_bb82_00aa00bdce0b); } @@ -1108,6 +946,7 @@ pub struct IDownloadBehavior_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IDownloadManager(::windows_core::IUnknown); impl IDownloadManager { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`*"] @@ -1123,25 +962,9 @@ impl IDownloadManager { } } ::windows_core::imp::interface_hierarchy!(IDownloadManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IDownloadManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IDownloadManager {} -impl ::core::fmt::Debug for IDownloadManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IDownloadManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IDownloadManager { type Vtable = IDownloadManager_Vtbl; } -impl ::core::clone::Clone for IDownloadManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IDownloadManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x988934a4_064b_11d3_bb80_00104b35e7f9); } @@ -1156,6 +979,7 @@ pub struct IDownloadManager_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumManagerFrames(::windows_core::IUnknown); impl IEnumManagerFrames { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1179,25 +1003,9 @@ impl IEnumManagerFrames { } } ::windows_core::imp::interface_hierarchy!(IEnumManagerFrames, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumManagerFrames { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumManagerFrames {} -impl ::core::fmt::Debug for IEnumManagerFrames { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumManagerFrames").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumManagerFrames { type Vtable = IEnumManagerFrames_Vtbl; } -impl ::core::clone::Clone for IEnumManagerFrames { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumManagerFrames { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3caa826a_9b1f_4a79_bc81_f0430ded1648); } @@ -1216,6 +1024,7 @@ pub struct IEnumManagerFrames_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOpenServiceActivity(::windows_core::IUnknown); impl IEnumOpenServiceActivity { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1233,25 +1042,9 @@ impl IEnumOpenServiceActivity { } } ::windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivity, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOpenServiceActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOpenServiceActivity {} -impl ::core::fmt::Debug for IEnumOpenServiceActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOpenServiceActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOpenServiceActivity { type Vtable = IEnumOpenServiceActivity_Vtbl; } -impl ::core::clone::Clone for IEnumOpenServiceActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOpenServiceActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa436d7d2_17c3_4ef4_a1e8_5c86faff26c0); } @@ -1266,6 +1059,7 @@ pub struct IEnumOpenServiceActivity_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumOpenServiceActivityCategory(::windows_core::IUnknown); impl IEnumOpenServiceActivityCategory { pub unsafe fn Next(&self, rgelt: &mut [::core::option::Option], pceltfetched: *mut u32) -> ::windows_core::Result<()> { @@ -1283,25 +1077,9 @@ impl IEnumOpenServiceActivityCategory { } } ::windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivityCategory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumOpenServiceActivityCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumOpenServiceActivityCategory {} -impl ::core::fmt::Debug for IEnumOpenServiceActivityCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumOpenServiceActivityCategory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumOpenServiceActivityCategory { type Vtable = IEnumOpenServiceActivityCategory_Vtbl; } -impl ::core::clone::Clone for IEnumOpenServiceActivityCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumOpenServiceActivityCategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x33627a56_8c9a_4430_8fd1_b5f5c771afb6); } @@ -1316,6 +1094,7 @@ pub struct IEnumOpenServiceActivityCategory_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IEnumSTATURL(::windows_core::IUnknown); impl IEnumSTATURL { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1341,25 +1120,9 @@ impl IEnumSTATURL { } } ::windows_core::imp::interface_hierarchy!(IEnumSTATURL, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IEnumSTATURL { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IEnumSTATURL {} -impl ::core::fmt::Debug for IEnumSTATURL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IEnumSTATURL").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IEnumSTATURL { type Vtable = IEnumSTATURL_Vtbl; } -impl ::core::clone::Clone for IEnumSTATURL { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IEnumSTATURL { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c374a42_bae4_11cf_bf7d_00aa006946ee); } @@ -1378,6 +1141,7 @@ pub struct IEnumSTATURL_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IExtensionValidation(::windows_core::IUnknown); impl IExtensionValidation { #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`*"] @@ -1398,25 +1162,9 @@ impl IExtensionValidation { } } ::windows_core::imp::interface_hierarchy!(IExtensionValidation, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IExtensionValidation { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IExtensionValidation {} -impl ::core::fmt::Debug for IExtensionValidation { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IExtensionValidation").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IExtensionValidation { type Vtable = IExtensionValidation_Vtbl; } -impl ::core::clone::Clone for IExtensionValidation { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IExtensionValidation { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7d33f73d_8525_4e0f_87db_830288baff44); } @@ -1432,6 +1180,7 @@ pub struct IExtensionValidation_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHTMLPersistData(::windows_core::IUnknown); impl IHTMLPersistData { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1460,25 +1209,9 @@ impl IHTMLPersistData { } } ::windows_core::imp::interface_hierarchy!(IHTMLPersistData, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHTMLPersistData { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHTMLPersistData {} -impl ::core::fmt::Debug for IHTMLPersistData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPersistData").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHTMLPersistData { type Vtable = IHTMLPersistData_Vtbl; } -impl ::core::clone::Clone for IHTMLPersistData { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHTMLPersistData { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f4c5_98b5_11cf_bb82_00aa00bdce0b); } @@ -1502,6 +1235,7 @@ pub struct IHTMLPersistData_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHTMLPersistDataOM(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLPersistDataOM { @@ -1538,30 +1272,10 @@ impl IHTMLPersistDataOM { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IHTMLPersistDataOM, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLPersistDataOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLPersistDataOM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLPersistDataOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLPersistDataOM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IHTMLPersistDataOM { type Vtable = IHTMLPersistDataOM_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLPersistDataOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IHTMLPersistDataOM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f4c0_98b5_11cf_bb82_00aa00bdce0b); } @@ -1587,6 +1301,7 @@ pub struct IHTMLPersistDataOM_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHTMLUserDataOM(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHTMLUserDataOM { @@ -1645,30 +1360,10 @@ impl IHTMLUserDataOM { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IHTMLUserDataOM, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHTMLUserDataOM { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHTMLUserDataOM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHTMLUserDataOM { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHTMLUserDataOM").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IHTMLUserDataOM { type Vtable = IHTMLUserDataOM_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHTMLUserDataOM { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IHTMLUserDataOM { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); } @@ -1698,6 +1393,7 @@ pub struct IHTMLUserDataOM_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeaderFooter(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHeaderFooter { @@ -1807,30 +1503,10 @@ impl IHeaderFooter { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IHeaderFooter, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHeaderFooter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHeaderFooter {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHeaderFooter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderFooter").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IHeaderFooter { type Vtable = IHeaderFooter_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHeaderFooter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IHeaderFooter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); } @@ -1865,6 +1541,7 @@ pub struct IHeaderFooter_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHeaderFooter2(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHeaderFooter2 { @@ -1984,30 +1661,10 @@ impl IHeaderFooter2 { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IHeaderFooter2, ::windows_core::IUnknown, super::super::System::Com::IDispatch, IHeaderFooter); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHeaderFooter2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHeaderFooter2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHeaderFooter2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHeaderFooter2").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IHeaderFooter2 { type Vtable = IHeaderFooter2_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHeaderFooter2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IHeaderFooter2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x305104a5_98b5_11cf_bb82_00aa00bdce0b); } @@ -2022,6 +1679,7 @@ pub struct IHeaderFooter2_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHomePage(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IHomePage { @@ -2047,30 +1705,10 @@ impl IHomePage { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IHomePage, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IHomePage { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IHomePage {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IHomePage { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHomePage").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IHomePage { type Vtable = IHomePage_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IHomePage { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IHomePage { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x766bf2af_d650_11d1_9811_00c04fc31d2e); } @@ -2088,6 +1726,7 @@ pub struct IHomePage_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IHomePageSetting(::windows_core::IUnknown); impl IHomePageSetting { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2114,25 +1753,9 @@ impl IHomePageSetting { } } ::windows_core::imp::interface_hierarchy!(IHomePageSetting, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IHomePageSetting { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IHomePageSetting {} -impl ::core::fmt::Debug for IHomePageSetting { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IHomePageSetting").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IHomePageSetting { type Vtable = IHomePageSetting_Vtbl; } -impl ::core::clone::Clone for IHomePageSetting { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IHomePageSetting { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); } @@ -2153,6 +1776,7 @@ pub struct IHomePageSetting_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIEWebDriverManager(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIEWebDriverManager { @@ -2167,30 +1791,10 @@ impl IIEWebDriverManager { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIEWebDriverManager, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIEWebDriverManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIEWebDriverManager {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIEWebDriverManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIEWebDriverManager").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IIEWebDriverManager { type Vtable = IIEWebDriverManager_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIEWebDriverManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIEWebDriverManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd1dc630_6590_4ca2_a293_6bc72b2438d8); } @@ -2204,6 +1808,7 @@ pub struct IIEWebDriverManager_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIEWebDriverSite(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIEWebDriverSite { @@ -2230,28 +1835,8 @@ impl IIEWebDriverSite { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIEWebDriverSite, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIEWebDriverSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIEWebDriverSite {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIEWebDriverSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIEWebDriverSite").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] -unsafe impl ::windows_core::Interface for IIEWebDriverSite { - type Vtable = IIEWebDriverSite_Vtbl; -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIEWebDriverSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } +unsafe impl ::windows_core::Interface for IIEWebDriverSite { + type Vtable = IIEWebDriverSite_Vtbl; } #[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIEWebDriverSite { @@ -2271,6 +1856,7 @@ pub struct IIEWebDriverSite_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageDecodeEventSink(::windows_core::IUnknown); impl IImageDecodeEventSink { pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows_core::GUID, npasses: u32, dwhints: u32) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2299,25 +1885,9 @@ impl IImageDecodeEventSink { } } ::windows_core::imp::interface_hierarchy!(IImageDecodeEventSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImageDecodeEventSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeEventSink {} -impl ::core::fmt::Debug for IImageDecodeEventSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeEventSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageDecodeEventSink { type Vtable = IImageDecodeEventSink_Vtbl; } -impl ::core::clone::Clone for IImageDecodeEventSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageDecodeEventSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbaa342a0_2ded_11d0_86f4_00a0c913f750); } @@ -2337,6 +1907,7 @@ pub struct IImageDecodeEventSink_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageDecodeEventSink2(::windows_core::IUnknown); impl IImageDecodeEventSink2 { pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const ::windows_core::GUID, npasses: u32, dwhints: u32) -> ::windows_core::Result<::windows_core::IUnknown> { @@ -2371,25 +1942,9 @@ impl IImageDecodeEventSink2 { } } ::windows_core::imp::interface_hierarchy!(IImageDecodeEventSink2, ::windows_core::IUnknown, IImageDecodeEventSink); -impl ::core::cmp::PartialEq for IImageDecodeEventSink2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeEventSink2 {} -impl ::core::fmt::Debug for IImageDecodeEventSink2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeEventSink2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageDecodeEventSink2 { type Vtable = IImageDecodeEventSink2_Vtbl; } -impl ::core::clone::Clone for IImageDecodeEventSink2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageDecodeEventSink2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8ebd8a57_8a96_48c9_84a6_962e2db9c931); } @@ -2404,6 +1959,7 @@ pub struct IImageDecodeEventSink2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IImageDecodeFilter(::windows_core::IUnknown); impl IImageDecodeFilter { pub unsafe fn Initialize(&self, peventsink: P0) -> ::windows_core::Result<()> @@ -2425,25 +1981,9 @@ impl IImageDecodeFilter { } } ::windows_core::imp::interface_hierarchy!(IImageDecodeFilter, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IImageDecodeFilter { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IImageDecodeFilter {} -impl ::core::fmt::Debug for IImageDecodeFilter { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IImageDecodeFilter").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IImageDecodeFilter { type Vtable = IImageDecodeFilter_Vtbl; } -impl ::core::clone::Clone for IImageDecodeFilter { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IImageDecodeFilter { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3ccedf3_2de2_11d0_86f4_00a0c913f750); } @@ -2461,6 +2001,7 @@ pub struct IImageDecodeFilter_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIntelliForms(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IIntelliForms { @@ -2482,30 +2023,10 @@ impl IIntelliForms { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IIntelliForms, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IIntelliForms { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IIntelliForms {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IIntelliForms { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIntelliForms").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IIntelliForms { type Vtable = IIntelliForms_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IIntelliForms { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IIntelliForms { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b9f68e6_1aaa_11d2_bca5_00c04fd929db); } @@ -2525,6 +2046,7 @@ pub struct IIntelliForms_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetExplorerManager(::windows_core::IUnknown); impl IInternetExplorerManager { pub unsafe fn CreateObject(&self, dwconfig: u32, pszurl: P0) -> ::windows_core::Result @@ -2537,25 +2059,9 @@ impl IInternetExplorerManager { } } ::windows_core::imp::interface_hierarchy!(IInternetExplorerManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetExplorerManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetExplorerManager {} -impl ::core::fmt::Debug for IInternetExplorerManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetExplorerManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetExplorerManager { type Vtable = IInternetExplorerManager_Vtbl; } -impl ::core::clone::Clone for IInternetExplorerManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetExplorerManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xacc84351_04ff_44f9_b23f_655ed168c6d5); } @@ -2567,6 +2073,7 @@ pub struct IInternetExplorerManager_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IInternetExplorerManager2(::windows_core::IUnknown); impl IInternetExplorerManager2 { pub unsafe fn EnumFrameWindows(&self) -> ::windows_core::Result { @@ -2575,25 +2082,9 @@ impl IInternetExplorerManager2 { } } ::windows_core::imp::interface_hierarchy!(IInternetExplorerManager2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IInternetExplorerManager2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IInternetExplorerManager2 {} -impl ::core::fmt::Debug for IInternetExplorerManager2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IInternetExplorerManager2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IInternetExplorerManager2 { type Vtable = IInternetExplorerManager2_Vtbl; } -impl ::core::clone::Clone for IInternetExplorerManager2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IInternetExplorerManager2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdfbb5136_9259_4895_b4a7_c1934429919a); } @@ -2606,6 +2097,7 @@ pub struct IInternetExplorerManager2_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ILayoutRect(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl ILayoutRect { @@ -2682,30 +2174,10 @@ impl ILayoutRect { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(ILayoutRect, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for ILayoutRect { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for ILayoutRect {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for ILayoutRect { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ILayoutRect").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for ILayoutRect { type Vtable = ILayoutRect_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for ILayoutRect { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for ILayoutRect { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f665_98b5_11cf_bb82_00aa00bdce0b); } @@ -2755,6 +2227,7 @@ pub struct ILayoutRect_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapMIMEToCLSID(::windows_core::IUnknown); impl IMapMIMEToCLSID { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2779,25 +2252,9 @@ impl IMapMIMEToCLSID { } } ::windows_core::imp::interface_hierarchy!(IMapMIMEToCLSID, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMapMIMEToCLSID { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMapMIMEToCLSID {} -impl ::core::fmt::Debug for IMapMIMEToCLSID { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapMIMEToCLSID").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMapMIMEToCLSID { type Vtable = IMapMIMEToCLSID_Vtbl; } -impl ::core::clone::Clone for IMapMIMEToCLSID { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMapMIMEToCLSID { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd9e89500_30fa_11d0_b724_00aa006c1a01); } @@ -2814,6 +2271,7 @@ pub struct IMapMIMEToCLSID_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMediaActivityNotifySite(::windows_core::IUnknown); impl IMediaActivityNotifySite { pub unsafe fn OnMediaActivityStarted(&self, mediaactivitytype: MEDIA_ACTIVITY_NOTIFY_TYPE) -> ::windows_core::Result<()> { @@ -2824,25 +2282,9 @@ impl IMediaActivityNotifySite { } } ::windows_core::imp::interface_hierarchy!(IMediaActivityNotifySite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IMediaActivityNotifySite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IMediaActivityNotifySite {} -impl ::core::fmt::Debug for IMediaActivityNotifySite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMediaActivityNotifySite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IMediaActivityNotifySite { type Vtable = IMediaActivityNotifySite_Vtbl; } -impl ::core::clone::Clone for IMediaActivityNotifySite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IMediaActivityNotifySite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8165cfef_179d_46c2_bc71_3fa726dc1f8d); } @@ -2855,6 +2297,7 @@ pub struct IMediaActivityNotifySite_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenService(::windows_core::IUnknown); impl IOpenService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -2878,25 +2321,9 @@ impl IOpenService { } } ::windows_core::imp::interface_hierarchy!(IOpenService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenService {} -impl ::core::fmt::Debug for IOpenService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenService { type Vtable = IOpenService_Vtbl; } -impl ::core::clone::Clone for IOpenService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc2952ed1_6a89_4606_925f_1ed8b4be0630); } @@ -2916,6 +2343,7 @@ pub struct IOpenService_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceActivity(::windows_core::IUnknown); impl IOpenServiceActivity { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3047,25 +2475,9 @@ impl IOpenServiceActivity { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceActivity, ::windows_core::IUnknown, IOpenService); -impl ::core::cmp::PartialEq for IOpenServiceActivity { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivity {} -impl ::core::fmt::Debug for IOpenServiceActivity { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivity").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceActivity { type Vtable = IOpenServiceActivity_Vtbl; } -impl ::core::clone::Clone for IOpenServiceActivity { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceActivity { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x13645c88_221a_4905_8ed1_4f5112cfc108); } @@ -3115,6 +2527,7 @@ pub struct IOpenServiceActivity_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceActivityCategory(::windows_core::IUnknown); impl IOpenServiceActivityCategory { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3150,25 +2563,9 @@ impl IOpenServiceActivityCategory { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceActivityCategory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenServiceActivityCategory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityCategory {} -impl ::core::fmt::Debug for IOpenServiceActivityCategory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityCategory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceActivityCategory { type Vtable = IOpenServiceActivityCategory_Vtbl; } -impl ::core::clone::Clone for IOpenServiceActivityCategory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceActivityCategory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x850af9d6_7309_40b5_bdb8_786c106b2153); } @@ -3190,6 +2587,7 @@ pub struct IOpenServiceActivityCategory_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceActivityInput(::windows_core::IUnknown); impl IOpenServiceActivityInput { pub unsafe fn GetVariable(&self, pwzvariablename: P0, pwzvariabletype: P1) -> ::windows_core::Result<::windows_core::BSTR> @@ -3216,25 +2614,9 @@ impl IOpenServiceActivityInput { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceActivityInput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenServiceActivityInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityInput {} -impl ::core::fmt::Debug for IOpenServiceActivityInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityInput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceActivityInput { type Vtable = IOpenServiceActivityInput_Vtbl; } -impl ::core::clone::Clone for IOpenServiceActivityInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceActivityInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x75cb4db9_6da0_4da3_83ce_422b6a433346); } @@ -3251,6 +2633,7 @@ pub struct IOpenServiceActivityInput_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceActivityManager(::windows_core::IUnknown); impl IOpenServiceActivityManager { pub unsafe fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> ::windows_core::Result { @@ -3278,25 +2661,9 @@ impl IOpenServiceActivityManager { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceActivityManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenServiceActivityManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityManager {} -impl ::core::fmt::Debug for IOpenServiceActivityManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceActivityManager { type Vtable = IOpenServiceActivityManager_Vtbl; } -impl ::core::clone::Clone for IOpenServiceActivityManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceActivityManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a2d0a9d_e920_4bdc_a291_d30f650bc4f1); } @@ -3311,6 +2678,7 @@ pub struct IOpenServiceActivityManager_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceActivityOutputContext(::windows_core::IUnknown); impl IOpenServiceActivityOutputContext { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3338,25 +2706,9 @@ impl IOpenServiceActivityOutputContext { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceActivityOutputContext, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenServiceActivityOutputContext { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceActivityOutputContext {} -impl ::core::fmt::Debug for IOpenServiceActivityOutputContext { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceActivityOutputContext").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceActivityOutputContext { type Vtable = IOpenServiceActivityOutputContext_Vtbl; } -impl ::core::clone::Clone for IOpenServiceActivityOutputContext { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceActivityOutputContext { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe289deab_f709_49a9_b99e_282364074571); } @@ -3375,6 +2727,7 @@ pub struct IOpenServiceActivityOutputContext_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IOpenServiceManager(::windows_core::IUnknown); impl IOpenServiceManager { pub unsafe fn InstallService(&self, pwzserviceurl: P0) -> ::windows_core::Result @@ -3399,25 +2752,9 @@ impl IOpenServiceManager { } } ::windows_core::imp::interface_hierarchy!(IOpenServiceManager, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IOpenServiceManager { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IOpenServiceManager {} -impl ::core::fmt::Debug for IOpenServiceManager { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IOpenServiceManager").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IOpenServiceManager { type Vtable = IOpenServiceManager_Vtbl; } -impl ::core::clone::Clone for IOpenServiceManager { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IOpenServiceManager { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5664125f_4e10_4e90_98e4_e4513d955a14); } @@ -3431,28 +2768,13 @@ pub struct IOpenServiceManager_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPeerFactory(::windows_core::IUnknown); impl IPeerFactory {} ::windows_core::imp::interface_hierarchy!(IPeerFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPeerFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPeerFactory {} -impl ::core::fmt::Debug for IPeerFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPeerFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPeerFactory { type Vtable = IPeerFactory_Vtbl; } -impl ::core::clone::Clone for IPeerFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPeerFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6663f9d3_b482_11d1_89c6_00c04fb6bfc4); } @@ -3464,6 +2786,7 @@ pub struct IPeerFactory_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPersistHistory(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl IPersistHistory { @@ -3501,30 +2824,10 @@ impl IPersistHistory { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(IPersistHistory, ::windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for IPersistHistory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for IPersistHistory {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for IPersistHistory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPersistHistory").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for IPersistHistory { type Vtable = IPersistHistory_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for IPersistHistory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for IPersistHistory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x91a565c1_e38f_11d0_94bf_00a0c9055cbf); } @@ -3546,6 +2849,7 @@ pub struct IPersistHistory_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskRequestFactory(::windows_core::IUnknown); impl IPrintTaskRequestFactory { pub unsafe fn CreatePrintTaskRequest(&self, pprinttaskrequesthandler: P0) -> ::windows_core::Result<()> @@ -3556,25 +2860,9 @@ impl IPrintTaskRequestFactory { } } ::windows_core::imp::interface_hierarchy!(IPrintTaskRequestFactory, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintTaskRequestFactory { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskRequestFactory {} -impl ::core::fmt::Debug for IPrintTaskRequestFactory { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskRequestFactory").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintTaskRequestFactory { type Vtable = IPrintTaskRequestFactory_Vtbl; } -impl ::core::clone::Clone for IPrintTaskRequestFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskRequestFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb516745_8c34_4f8b_9605_684dcb144be5); } @@ -3586,6 +2874,7 @@ pub struct IPrintTaskRequestFactory_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IPrintTaskRequestHandler(::windows_core::IUnknown); impl IPrintTaskRequestHandler { pub unsafe fn HandlePrintTaskRequest(&self, pprinttaskrequest: P0) -> ::windows_core::Result<()> @@ -3596,25 +2885,9 @@ impl IPrintTaskRequestHandler { } } ::windows_core::imp::interface_hierarchy!(IPrintTaskRequestHandler, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IPrintTaskRequestHandler { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IPrintTaskRequestHandler {} -impl ::core::fmt::Debug for IPrintTaskRequestHandler { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IPrintTaskRequestHandler").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IPrintTaskRequestHandler { type Vtable = IPrintTaskRequestHandler_Vtbl; } -impl ::core::clone::Clone for IPrintTaskRequestHandler { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IPrintTaskRequestHandler { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x191cd340_cf36_44ff_bd53_d1b701799d9b); } @@ -3626,6 +2899,7 @@ pub struct IPrintTaskRequestHandler_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScrollableContextMenu(::windows_core::IUnknown); impl IScrollableContextMenu { pub unsafe fn AddItem(&self, itemtext: P0, cmdid: u32) -> ::windows_core::Result<()> @@ -3640,25 +2914,9 @@ impl IScrollableContextMenu { } } ::windows_core::imp::interface_hierarchy!(IScrollableContextMenu, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IScrollableContextMenu { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollableContextMenu {} -impl ::core::fmt::Debug for IScrollableContextMenu { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollableContextMenu").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScrollableContextMenu { type Vtable = IScrollableContextMenu_Vtbl; } -impl ::core::clone::Clone for IScrollableContextMenu { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScrollableContextMenu { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510854_98b5_11cf_bb82_00aa00bdce0b); } @@ -3671,6 +2929,7 @@ pub struct IScrollableContextMenu_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IScrollableContextMenu2(::windows_core::IUnknown); impl IScrollableContextMenu2 { pub unsafe fn AddItem(&self, itemtext: P0, cmdid: u32) -> ::windows_core::Result<()> @@ -3691,25 +2950,9 @@ impl IScrollableContextMenu2 { } } ::windows_core::imp::interface_hierarchy!(IScrollableContextMenu2, ::windows_core::IUnknown, IScrollableContextMenu); -impl ::core::cmp::PartialEq for IScrollableContextMenu2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IScrollableContextMenu2 {} -impl ::core::fmt::Debug for IScrollableContextMenu2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IScrollableContextMenu2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IScrollableContextMenu2 { type Vtable = IScrollableContextMenu2_Vtbl; } -impl ::core::clone::Clone for IScrollableContextMenu2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IScrollableContextMenu2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf77e9056_8674_4936_924c_0e4a06fa634a); } @@ -3722,6 +2965,7 @@ pub struct IScrollableContextMenu2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISniffStream(::windows_core::IUnknown); impl ISniffStream { #[doc = "*Required features: `\"Win32_System_Com\"`*"] @@ -3737,25 +2981,9 @@ impl ISniffStream { } } ::windows_core::imp::interface_hierarchy!(ISniffStream, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISniffStream { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISniffStream {} -impl ::core::fmt::Debug for ISniffStream { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISniffStream").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISniffStream { type Vtable = ISniffStream_Vtbl; } -impl ::core::clone::Clone for ISniffStream { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISniffStream { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4ef17940_30e0_11d0_b724_00aa006c1a01); } @@ -3771,6 +2999,7 @@ pub struct ISniffStream_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISurfacePresenterFlip(::windows_core::IUnknown); impl ISurfacePresenterFlip { pub unsafe fn Present(&self) -> ::windows_core::Result<()> { @@ -3781,25 +3010,9 @@ impl ISurfacePresenterFlip { } } ::windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISurfacePresenterFlip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlip {} -impl ::core::fmt::Debug for ISurfacePresenterFlip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISurfacePresenterFlip { type Vtable = ISurfacePresenterFlip_Vtbl; } -impl ::core::clone::Clone for ISurfacePresenterFlip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISurfacePresenterFlip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510848_98b5_11cf_bb82_00aa00bdce0b); } @@ -3812,6 +3025,7 @@ pub struct ISurfacePresenterFlip_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISurfacePresenterFlip2(::windows_core::IUnknown); impl ISurfacePresenterFlip2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -3821,25 +3035,9 @@ impl ISurfacePresenterFlip2 { } } ::windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISurfacePresenterFlip2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlip2 {} -impl ::core::fmt::Debug for ISurfacePresenterFlip2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlip2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISurfacePresenterFlip2 { type Vtable = ISurfacePresenterFlip2_Vtbl; } -impl ::core::clone::Clone for ISurfacePresenterFlip2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISurfacePresenterFlip2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510865_98b5_11cf_bb82_00aa00bdce0b); } @@ -3854,6 +3052,7 @@ pub struct ISurfacePresenterFlip2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ISurfacePresenterFlipBuffer(::windows_core::IUnknown); impl ISurfacePresenterFlipBuffer { pub unsafe fn BeginDraw(&self, riid: *const ::windows_core::GUID, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -3864,25 +3063,9 @@ impl ISurfacePresenterFlipBuffer { } } ::windows_core::imp::interface_hierarchy!(ISurfacePresenterFlipBuffer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ISurfacePresenterFlipBuffer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ISurfacePresenterFlipBuffer {} -impl ::core::fmt::Debug for ISurfacePresenterFlipBuffer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ISurfacePresenterFlipBuffer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ISurfacePresenterFlipBuffer { type Vtable = ISurfacePresenterFlipBuffer_Vtbl; } -impl ::core::clone::Clone for ISurfacePresenterFlipBuffer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ISurfacePresenterFlipBuffer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe43f4a08_8bbc_4665_ac92_c55ce61fd7e7); } @@ -3895,6 +3078,7 @@ pub struct ISurfacePresenterFlipBuffer_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetContainer(::windows_core::IUnknown); impl ITargetContainer { pub unsafe fn GetFrameUrl(&self) -> ::windows_core::Result<::windows_core::PWSTR> { @@ -3909,25 +3093,9 @@ impl ITargetContainer { } } ::windows_core::imp::interface_hierarchy!(ITargetContainer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetContainer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetContainer {} -impl ::core::fmt::Debug for ITargetContainer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetContainer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetContainer { type Vtable = ITargetContainer_Vtbl; } -impl ::core::clone::Clone for ITargetContainer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetContainer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7847ec01_2bec_11d0_82b4_00a0c90c29c5); } @@ -3943,6 +3111,7 @@ pub struct ITargetContainer_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetEmbedding(::windows_core::IUnknown); impl ITargetEmbedding { pub unsafe fn GetTargetFrame(&self) -> ::windows_core::Result { @@ -3951,25 +3120,9 @@ impl ITargetEmbedding { } } ::windows_core::imp::interface_hierarchy!(ITargetEmbedding, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetEmbedding { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetEmbedding {} -impl ::core::fmt::Debug for ITargetEmbedding { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetEmbedding").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetEmbedding { type Vtable = ITargetEmbedding_Vtbl; } -impl ::core::clone::Clone for ITargetEmbedding { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetEmbedding { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x548793c0_9e74_11cf_9655_00a0c9034923); } @@ -3981,6 +3134,7 @@ pub struct ITargetEmbedding_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFrame(::windows_core::IUnknown); impl ITargetFrame { pub unsafe fn SetFrameName(&self, pszframename: P0) -> ::windows_core::Result<()> @@ -4051,25 +3205,9 @@ impl ITargetFrame { } } ::windows_core::imp::interface_hierarchy!(ITargetFrame, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetFrame { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFrame {} -impl ::core::fmt::Debug for ITargetFrame { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFrame").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetFrame { type Vtable = ITargetFrame_Vtbl; } -impl ::core::clone::Clone for ITargetFrame { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFrame { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5f78c80_5252_11cf_90fa_00aa0042106e); } @@ -4097,6 +3235,7 @@ pub struct ITargetFrame_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFrame2(::windows_core::IUnknown); impl ITargetFrame2 { pub unsafe fn SetFrameName(&self, pszframename: P0) -> ::windows_core::Result<()> @@ -4158,25 +3297,9 @@ impl ITargetFrame2 { } } ::windows_core::imp::interface_hierarchy!(ITargetFrame2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetFrame2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFrame2 {} -impl ::core::fmt::Debug for ITargetFrame2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFrame2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetFrame2 { type Vtable = ITargetFrame2_Vtbl; } -impl ::core::clone::Clone for ITargetFrame2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFrame2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86d52e11_94a8_11d0_82af_00c04fd5ae38); } @@ -4202,6 +3325,7 @@ pub struct ITargetFrame2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFramePriv(::windows_core::IUnknown); impl ITargetFramePriv { pub unsafe fn FindFrameDownwards(&self, psztargetname: P0, dwflags: u32) -> ::windows_core::Result<::windows_core::IUnknown> @@ -4249,25 +3373,9 @@ impl ITargetFramePriv { } } ::windows_core::imp::interface_hierarchy!(ITargetFramePriv, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetFramePriv { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFramePriv {} -impl ::core::fmt::Debug for ITargetFramePriv { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFramePriv").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetFramePriv { type Vtable = ITargetFramePriv_Vtbl; } -impl ::core::clone::Clone for ITargetFramePriv { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFramePriv { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9216e421_2bf5_11d0_82b4_00a0c90c29c5); } @@ -4287,6 +3395,7 @@ pub struct ITargetFramePriv_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetFramePriv2(::windows_core::IUnknown); impl ITargetFramePriv2 { pub unsafe fn FindFrameDownwards(&self, psztargetname: P0, dwflags: u32) -> ::windows_core::Result<::windows_core::IUnknown> @@ -4346,25 +3455,9 @@ impl ITargetFramePriv2 { } } ::windows_core::imp::interface_hierarchy!(ITargetFramePriv2, ::windows_core::IUnknown, ITargetFramePriv); -impl ::core::cmp::PartialEq for ITargetFramePriv2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetFramePriv2 {} -impl ::core::fmt::Debug for ITargetFramePriv2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetFramePriv2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetFramePriv2 { type Vtable = ITargetFramePriv2_Vtbl; } -impl ::core::clone::Clone for ITargetFramePriv2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetFramePriv2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2c867e6_69d6_46f2_a611_ded9a4bd7fef); } @@ -4379,6 +3472,7 @@ pub struct ITargetFramePriv2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetNotify(::windows_core::IUnknown); impl ITargetNotify { pub unsafe fn OnCreate(&self, punkdestination: P0, cbcookie: u32) -> ::windows_core::Result<()> @@ -4395,25 +3489,9 @@ impl ITargetNotify { } } ::windows_core::imp::interface_hierarchy!(ITargetNotify, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITargetNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetNotify {} -impl ::core::fmt::Debug for ITargetNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetNotify").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetNotify { type Vtable = ITargetNotify_Vtbl; } -impl ::core::clone::Clone for ITargetNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x863a99a0_21bc_11d0_82b4_00a0c90c29c5); } @@ -4426,6 +3504,7 @@ pub struct ITargetNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITargetNotify2(::windows_core::IUnknown); impl ITargetNotify2 { pub unsafe fn OnCreate(&self, punkdestination: P0, cbcookie: u32) -> ::windows_core::Result<()> @@ -4445,25 +3524,9 @@ impl ITargetNotify2 { } } ::windows_core::imp::interface_hierarchy!(ITargetNotify2, ::windows_core::IUnknown, ITargetNotify); -impl ::core::cmp::PartialEq for ITargetNotify2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITargetNotify2 {} -impl ::core::fmt::Debug for ITargetNotify2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITargetNotify2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITargetNotify2 { type Vtable = ITargetNotify2_Vtbl; } -impl ::core::clone::Clone for ITargetNotify2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITargetNotify2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f6b1_98b5_11cf_bb82_00aa00bdce0b); } @@ -4475,6 +3538,7 @@ pub struct ITargetNotify2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimer(::windows_core::IUnknown); impl ITimer { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4505,25 +3569,9 @@ impl ITimer { } } ::windows_core::imp::interface_hierarchy!(ITimer, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITimer { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimer {} -impl ::core::fmt::Debug for ITimer { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimer").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITimer { type Vtable = ITimer_Vtbl; } -impl ::core::clone::Clone for ITimer { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimer { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f360_98b5_11cf_bb82_00aa00bdce0b); } @@ -4547,6 +3595,7 @@ pub struct ITimer_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimerEx(::windows_core::IUnknown); impl ITimerEx { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4580,25 +3629,9 @@ impl ITimerEx { } } ::windows_core::imp::interface_hierarchy!(ITimerEx, ::windows_core::IUnknown, ITimer); -impl ::core::cmp::PartialEq for ITimerEx { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerEx {} -impl ::core::fmt::Debug for ITimerEx { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerEx").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITimerEx { type Vtable = ITimerEx_Vtbl; } -impl ::core::clone::Clone for ITimerEx { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimerEx { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510414_98b5_11cf_bb82_00aa00bdce0b); } @@ -4610,6 +3643,7 @@ pub struct ITimerEx_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimerService(::windows_core::IUnknown); impl ITimerService { pub unsafe fn CreateTimer(&self, preferencetimer: P0) -> ::windows_core::Result @@ -4631,25 +3665,9 @@ impl ITimerService { } } ::windows_core::imp::interface_hierarchy!(ITimerService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITimerService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerService {} -impl ::core::fmt::Debug for ITimerService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITimerService { type Vtable = ITimerService_Vtbl; } -impl ::core::clone::Clone for ITimerService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimerService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f35f_98b5_11cf_bb82_00aa00bdce0b); } @@ -4663,6 +3681,7 @@ pub struct ITimerService_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimerSink(::windows_core::IUnknown); impl ITimerSink { #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] @@ -4672,25 +3691,9 @@ impl ITimerSink { } } ::windows_core::imp::interface_hierarchy!(ITimerSink, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITimerSink { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITimerSink {} -impl ::core::fmt::Debug for ITimerSink { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITimerSink").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITimerSink { type Vtable = ITimerSink_Vtbl; } -impl ::core::clone::Clone for ITimerSink { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimerSink { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3050f361_98b5_11cf_bb82_00aa00bdce0b); } @@ -4705,6 +3708,7 @@ pub struct ITimerSink_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITridentTouchInput(::windows_core::IUnknown); impl ITridentTouchInput { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -4719,25 +3723,9 @@ impl ITridentTouchInput { } } ::windows_core::imp::interface_hierarchy!(ITridentTouchInput, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITridentTouchInput { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITridentTouchInput {} -impl ::core::fmt::Debug for ITridentTouchInput { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITridentTouchInput").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITridentTouchInput { type Vtable = ITridentTouchInput_Vtbl; } -impl ::core::clone::Clone for ITridentTouchInput { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITridentTouchInput { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510850_98b5_11cf_bb82_00aa00bdce0b); } @@ -4752,6 +3740,7 @@ pub struct ITridentTouchInput_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITridentTouchInputSite(::windows_core::IUnknown); impl ITridentTouchInputSite { #[doc = "*Required features: `\"Win32_Web_MsHtml\"`*"] @@ -4764,25 +3753,9 @@ impl ITridentTouchInputSite { } } ::windows_core::imp::interface_hierarchy!(ITridentTouchInputSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for ITridentTouchInputSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for ITridentTouchInputSite {} -impl ::core::fmt::Debug for ITridentTouchInputSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("ITridentTouchInputSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for ITridentTouchInputSite { type Vtable = ITridentTouchInputSite_Vtbl; } -impl ::core::clone::Clone for ITridentTouchInputSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITridentTouchInputSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510849_98b5_11cf_bb82_00aa00bdce0b); } @@ -4799,6 +3772,7 @@ pub struct ITridentTouchInputSite_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`*"] #[cfg(feature = "Win32_System_Ole")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlHistoryNotify(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Ole")] impl IUrlHistoryNotify { @@ -4816,30 +3790,10 @@ impl IUrlHistoryNotify { #[cfg(feature = "Win32_System_Ole")] ::windows_core::imp::interface_hierarchy!(IUrlHistoryNotify, ::windows_core::IUnknown, super::super::System::Ole::IOleCommandTarget); #[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::PartialEq for IUrlHistoryNotify { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::cmp::Eq for IUrlHistoryNotify {} -#[cfg(feature = "Win32_System_Ole")] -impl ::core::fmt::Debug for IUrlHistoryNotify { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryNotify").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::Interface for IUrlHistoryNotify { type Vtable = IUrlHistoryNotify_Vtbl; } #[cfg(feature = "Win32_System_Ole")] -impl ::core::clone::Clone for IUrlHistoryNotify { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Ole")] unsafe impl ::windows_core::ComInterface for IUrlHistoryNotify { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbc40bec1_c493_11d0_831b_00c04fd5ae38); } @@ -4851,6 +3805,7 @@ pub struct IUrlHistoryNotify_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlHistoryStg(::windows_core::IUnknown); impl IUrlHistoryStg { pub unsafe fn AddUrl(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> ::windows_core::Result<()> @@ -4888,25 +3843,9 @@ impl IUrlHistoryStg { } } ::windows_core::imp::interface_hierarchy!(IUrlHistoryStg, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IUrlHistoryStg { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlHistoryStg {} -impl ::core::fmt::Debug for IUrlHistoryStg { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryStg").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlHistoryStg { type Vtable = IUrlHistoryStg_Vtbl; } -impl ::core::clone::Clone for IUrlHistoryStg { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlHistoryStg { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3c374a41_bae4_11cf_bf7d_00aa006946ee); } @@ -4925,6 +3864,7 @@ pub struct IUrlHistoryStg_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUrlHistoryStg2(::windows_core::IUnknown); impl IUrlHistoryStg2 { pub unsafe fn AddUrl(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> ::windows_core::Result<()> @@ -4977,25 +3917,9 @@ impl IUrlHistoryStg2 { } } ::windows_core::imp::interface_hierarchy!(IUrlHistoryStg2, ::windows_core::IUnknown, IUrlHistoryStg); -impl ::core::cmp::PartialEq for IUrlHistoryStg2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IUrlHistoryStg2 {} -impl ::core::fmt::Debug for IUrlHistoryStg2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IUrlHistoryStg2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IUrlHistoryStg2 { type Vtable = IUrlHistoryStg2_Vtbl; } -impl ::core::clone::Clone for IUrlHistoryStg2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUrlHistoryStg2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xafa0dc11_c313_11d0_831a_00c04fd5ae38); } @@ -5011,6 +3935,7 @@ pub struct IUrlHistoryStg2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObjectPresentFlip(::windows_core::IUnknown); impl IViewObjectPresentFlip { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5035,25 +3960,9 @@ impl IViewObjectPresentFlip { } } ::windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewObjectPresentFlip { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlip {} -impl ::core::fmt::Debug for IViewObjectPresentFlip { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlip").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObjectPresentFlip { type Vtable = IViewObjectPresentFlip_Vtbl; } -impl ::core::clone::Clone for IViewObjectPresentFlip { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObjectPresentFlip { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510847_98b5_11cf_bb82_00aa00bdce0b); } @@ -5070,6 +3979,7 @@ pub struct IViewObjectPresentFlip_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObjectPresentFlip2(::windows_core::IUnknown); impl IViewObjectPresentFlip2 { pub unsafe fn NotifyLeavingView(&self) -> ::windows_core::Result<()> { @@ -5077,25 +3987,9 @@ impl IViewObjectPresentFlip2 { } } ::windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewObjectPresentFlip2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlip2 {} -impl ::core::fmt::Debug for IViewObjectPresentFlip2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlip2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObjectPresentFlip2 { type Vtable = IViewObjectPresentFlip2_Vtbl; } -impl ::core::clone::Clone for IViewObjectPresentFlip2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObjectPresentFlip2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510856_98b5_11cf_bb82_00aa00bdce0b); } @@ -5107,6 +4001,7 @@ pub struct IViewObjectPresentFlip2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObjectPresentFlipSite(::windows_core::IUnknown); impl IViewObjectPresentFlipSite { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Web_MsHtml\"`*"] @@ -5155,25 +4050,9 @@ impl IViewObjectPresentFlipSite { } } ::windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewObjectPresentFlipSite { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlipSite {} -impl ::core::fmt::Debug for IViewObjectPresentFlipSite { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlipSite").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObjectPresentFlipSite { type Vtable = IViewObjectPresentFlipSite_Vtbl; } -impl ::core::clone::Clone for IViewObjectPresentFlipSite { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObjectPresentFlipSite { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x30510846_98b5_11cf_bb82_00aa00bdce0b); } @@ -5210,6 +4089,7 @@ pub struct IViewObjectPresentFlipSite_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IViewObjectPresentFlipSite2(::windows_core::IUnknown); impl IViewObjectPresentFlipSite2 { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -5220,25 +4100,9 @@ impl IViewObjectPresentFlipSite2 { } } ::windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite2, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IViewObjectPresentFlipSite2 { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IViewObjectPresentFlipSite2 {} -impl ::core::fmt::Debug for IViewObjectPresentFlipSite2 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IViewObjectPresentFlipSite2").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IViewObjectPresentFlipSite2 { type Vtable = IViewObjectPresentFlipSite2_Vtbl; } -impl ::core::clone::Clone for IViewObjectPresentFlipSite2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IViewObjectPresentFlipSite2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaad0cbf1_e7fd_4f12_8902_c78132a8e01d); } @@ -5253,6 +4117,7 @@ pub struct IViewObjectPresentFlipSite2_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebBrowserEventsService(::windows_core::IUnknown); impl IWebBrowserEventsService { #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -5275,25 +4140,9 @@ impl IWebBrowserEventsService { } } ::windows_core::imp::interface_hierarchy!(IWebBrowserEventsService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWebBrowserEventsService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebBrowserEventsService {} -impl ::core::fmt::Debug for IWebBrowserEventsService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowserEventsService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebBrowserEventsService { type Vtable = IWebBrowserEventsService_Vtbl; } -impl ::core::clone::Clone for IWebBrowserEventsService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebBrowserEventsService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54a8f188_9ebd_4795_ad16_9b4945119636); } @@ -5312,6 +4161,7 @@ pub struct IWebBrowserEventsService_Vtbl { } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`*"] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWebBrowserEventsUrlService(::windows_core::IUnknown); impl IWebBrowserEventsUrlService { pub unsafe fn GetUrlForEvents(&self) -> ::windows_core::Result<::windows_core::BSTR> { @@ -5320,25 +4170,9 @@ impl IWebBrowserEventsUrlService { } } ::windows_core::imp::interface_hierarchy!(IWebBrowserEventsUrlService, ::windows_core::IUnknown); -impl ::core::cmp::PartialEq for IWebBrowserEventsUrlService { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWebBrowserEventsUrlService {} -impl ::core::fmt::Debug for IWebBrowserEventsUrlService { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWebBrowserEventsUrlService").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for IWebBrowserEventsUrlService { type Vtable = IWebBrowserEventsUrlService_Vtbl; } -impl ::core::clone::Clone for IWebBrowserEventsUrlService { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWebBrowserEventsUrlService { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x87cc5d04_eafa_4833_9820_8f986530cc00); } @@ -5351,6 +4185,7 @@ pub struct IWebBrowserEventsUrlService_Vtbl { #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Iwfolders(::windows_core::IUnknown); #[cfg(feature = "Win32_System_Com")] impl Iwfolders { @@ -5381,30 +4216,10 @@ impl Iwfolders { #[cfg(feature = "Win32_System_Com")] ::windows_core::imp::interface_hierarchy!(Iwfolders, ::windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::PartialEq for Iwfolders { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::cmp::Eq for Iwfolders {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::fmt::Debug for Iwfolders { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Iwfolders").field(&self.0).finish() - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::Interface for Iwfolders { type Vtable = Iwfolders_Vtbl; } #[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for Iwfolders { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} -#[cfg(feature = "Win32_System_Com")] unsafe impl ::windows_core::ComInterface for Iwfolders { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); } diff --git a/crates/tests/bcrypt/tests/win.rs b/crates/tests/bcrypt/tests/win.rs index 13c5b2082e..038f7a2fec 100644 --- a/crates/tests/bcrypt/tests/win.rs +++ b/crates/tests/bcrypt/tests/win.rs @@ -4,10 +4,12 @@ use windows::{core::*, Win32::Security::Cryptography::*}; fn test() -> Result<()> { unsafe { let mut rng = Default::default(); - BCryptOpenAlgorithmProvider(&mut rng, BCRYPT_RNG_ALGORITHM, None, Default::default())?; + BCryptOpenAlgorithmProvider(&mut rng, BCRYPT_RNG_ALGORITHM, None, Default::default()) + .ok()?; let mut des = Default::default(); - BCryptOpenAlgorithmProvider(&mut des, BCRYPT_3DES_ALGORITHM, None, Default::default())?; + BCryptOpenAlgorithmProvider(&mut des, BCRYPT_3DES_ALGORITHM, None, Default::default()) + .ok()?; let mut object_len = [0; 4]; let mut bytes_copied = 0; @@ -17,14 +19,15 @@ fn test() -> Result<()> { Some(&mut object_len), &mut bytes_copied, 0, - )?; + ) + .ok()?; let object_len = u32::from_le_bytes(object_len); let mut shared_secret = vec![0; object_len as usize]; - BCryptGenRandom(rng, &mut shared_secret, Default::default())?; + BCryptGenRandom(rng, &mut shared_secret, Default::default()).ok()?; let mut encrypt_key = Default::default(); - BCryptGenerateSymmetricKey(des, &mut encrypt_key, None, &shared_secret, 0)?; + BCryptGenerateSymmetricKey(des, &mut encrypt_key, None, &shared_secret, 0).ok()?; let mut block_len = [0; 4]; BCryptGetProperty( @@ -33,7 +36,8 @@ fn test() -> Result<()> { Some(&mut block_len), &mut bytes_copied, 0, - )?; + ) + .ok()?; let block_len = u32::from_le_bytes(block_len) as usize; let send_message = "I ❤️ Rust"; @@ -50,7 +54,8 @@ fn test() -> Result<()> { None, &mut encrypted_len, Default::default(), - )?; + ) + .ok()?; let mut encrypted = vec![0; encrypted_len as usize]; BCryptEncrypt( @@ -61,10 +66,11 @@ fn test() -> Result<()> { Some(&mut encrypted), &mut encrypted_len, Default::default(), - )?; + ) + .ok()?; let mut decrypt_key = Default::default(); - BCryptGenerateSymmetricKey(des, &mut decrypt_key, None, &shared_secret, 0)?; + BCryptGenerateSymmetricKey(des, &mut decrypt_key, None, &shared_secret, 0).ok()?; let mut decrypted_len = 0; BCryptDecrypt( @@ -75,7 +81,8 @@ fn test() -> Result<()> { None, &mut decrypted_len, Default::default(), - )?; + ) + .ok()?; let mut decrypted = vec![0; decrypted_len as usize]; BCryptDecrypt( @@ -86,7 +93,8 @@ fn test() -> Result<()> { Some(&mut decrypted), &mut decrypted_len, Default::default(), - )?; + ) + .ok()?; let receive_message = std::str::from_utf8(trim_null_end(&decrypted)).expect("Not a valid message"); diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index cb12754adf..a327809a66 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -9,6 +9,7 @@ )] pub mod Nested { #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThing(::windows_core::IUnknown); impl IThing { pub fn Method(&self) -> ::windows_core::Result<()> { @@ -26,17 +27,6 @@ pub mod Nested { ::windows_core::IUnknown, ::windows_core::IInspectable ); - impl ::core::cmp::PartialEq for IThing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } - } - impl ::core::cmp::Eq for IThing {} - impl ::core::fmt::Debug for IThing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThing").field(&self.0).finish() - } - } impl ::windows_core::RuntimeType for IThing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5448be22-9873-5ae6-9106-f6e8455d2fdd}"); @@ -44,11 +34,6 @@ pub mod Nested { unsafe impl ::windows_core::Interface for IThing { type Vtable = IThing_Vtbl; } - impl ::core::clone::Clone for IThing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } - } unsafe impl ::windows_core::ComInterface for IThing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5448be22_9873_5ae6_9106_f6e8455d2fdd); @@ -88,22 +73,18 @@ pub mod Nested { Method: Method::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClass { type Vtable = IClass_Vtbl; } -impl ::core::clone::Clone for IClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97540591_1323_59c0_9ae0_f510cae62e54); @@ -155,6 +136,7 @@ pub struct IClass_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Class(::windows_core::IUnknown); impl Class { pub fn new() -> ::windows_core::Result { @@ -272,28 +254,12 @@ impl Class { } } } -impl ::core::cmp::PartialEq for Class { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Class {} -impl ::core::fmt::Debug for Class { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Class").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Class { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice( b"rc(test_component.Class;{97540591-1323-59c0-9ae0-f510cae62e54})", ); } -impl ::core::clone::Clone for Class { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Class { type Vtable = IClass_Vtbl; } @@ -373,6 +339,7 @@ impl ::windows_core::RuntimeType for Flags { ::windows_core::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Callback(pub ::windows_core::IUnknown); impl Callback { pub fn new ::windows_core::Result + ::core::marker::Send + 'static>( @@ -415,13 +382,16 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat }; unsafe extern "system" fn QueryInterface( this: *mut ::core::ffi::c_void, - iid: &::windows_core::GUID, - interface: *mut *const ::core::ffi::c_void, + iid: *const ::windows_core::GUID, + interface: *mut *mut ::core::ffi::c_void, ) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID - || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID - || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID + || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID + || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { @@ -461,25 +431,9 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat } } } -impl ::core::cmp::PartialEq for Callback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Callback {} -impl ::core::fmt::Debug for Callback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Callback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for Callback { type Vtable = Callback_Vtbl; } -impl ::core::clone::Clone for Callback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for Callback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe39afc7e_93f1_5a1d_92ef_bd5f71c62cb8); @@ -692,7 +646,7 @@ impl IClass_Vtbl { Input: Input::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index c9c113bd36..0d8d3b0aa0 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -9,6 +9,7 @@ )] pub mod Nested { #[repr(transparent)] + #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IThing(::windows_core::IUnknown); impl IThing { pub fn Method(&self) -> ::windows_core::Result<()> { @@ -26,17 +27,6 @@ pub mod Nested { ::windows_core::IUnknown, ::windows_core::IInspectable ); - impl ::core::cmp::PartialEq for IThing { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } - } - impl ::core::cmp::Eq for IThing {} - impl ::core::fmt::Debug for IThing { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IThing").field(&self.0).finish() - } - } impl ::windows_core::RuntimeType for IThing { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{5448be22-9873-5ae6-9106-f6e8455d2fdd}"); @@ -44,11 +34,6 @@ pub mod Nested { unsafe impl ::windows_core::Interface for IThing { type Vtable = IThing_Vtbl; } - impl ::core::clone::Clone for IThing { - fn clone(&self) -> Self { - Self(self.0.clone()) - } - } unsafe impl ::windows_core::ComInterface for IThing { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5448be22_9873_5ae6_9106_f6e8455d2fdd); @@ -63,15 +48,11 @@ pub mod Nested { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IClass { type Vtable = IClass_Vtbl; } -impl ::core::clone::Clone for IClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x97540591_1323_59c0_9ae0_f510cae62e54); @@ -123,6 +104,7 @@ pub struct IClass_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Class(::windows_core::IUnknown); impl Class { pub fn new() -> ::windows_core::Result { @@ -240,28 +222,12 @@ impl Class { } } } -impl ::core::cmp::PartialEq for Class { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Class {} -impl ::core::fmt::Debug for Class { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Class").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Class { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice( b"rc(test_component.Class;{97540591-1323-59c0-9ae0-f510cae62e54})", ); } -impl ::core::clone::Clone for Class { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Class { type Vtable = IClass_Vtbl; } @@ -341,6 +307,7 @@ impl ::windows_core::RuntimeType for Flags { ::windows_core::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Callback(pub ::windows_core::IUnknown); impl Callback { pub fn new ::windows_core::Result + ::core::marker::Send + 'static>( @@ -383,13 +350,16 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat }; unsafe extern "system" fn QueryInterface( this: *mut ::core::ffi::c_void, - iid: &::windows_core::GUID, - interface: *mut *const ::core::ffi::c_void, + iid: *const ::windows_core::GUID, + interface: *mut *mut ::core::ffi::c_void, ) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID - || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID - || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID + if iid.is_null() || interface.is_null() { + return ::windows_core::HRESULT(-2147467261); + } + *interface = if *iid == ::IID + || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID + || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { @@ -429,25 +399,9 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat } } } -impl ::core::cmp::PartialEq for Callback { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Callback {} -impl ::core::fmt::Debug for Callback { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Callback").field(&self.0).finish() - } -} unsafe impl ::windows_core::Interface for Callback { type Vtable = Callback_Vtbl; } -impl ::core::clone::Clone for Callback { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for Callback { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe39afc7e_93f1_5a1d_92ef_bd5f71c62cb8); diff --git a/crates/tests/core/tests/error.rs b/crates/tests/core/tests/error.rs index 307d5e9ea7..b9d4385eb6 100644 --- a/crates/tests/core/tests/error.rs +++ b/crates/tests/core/tests/error.rs @@ -1,6 +1,8 @@ +use windows::{core::*, Win32::Foundation::*, Win32::Media::Audio::*}; + #[test] -fn test() { - let e = windows::core::Error::from(windows::Win32::Foundation::ERROR_NO_UNICODE_TRANSLATION); +fn display_debug() { + let e = Error::from(ERROR_NO_UNICODE_TRANSLATION); let display = format!("{e}"); let debug = format!("{e:?}"); assert_eq!(display, "No mapping for the Unicode character exists in the target multi-byte code page. (0x80070459)"); @@ -9,9 +11,19 @@ fn test() { r#"Error { code: HRESULT(0x80070459), message: "No mapping for the Unicode character exists in the target multi-byte code page." }"# ); - let e = windows::core::Error::from(windows::Win32::Media::Audio::AUDCLNT_E_UNSUPPORTED_FORMAT); + let e = Error::from(AUDCLNT_E_UNSUPPORTED_FORMAT); let display = format!("{e}"); let debug = format!("{e:?}"); assert_eq!(display, "0x88890008"); assert_eq!(debug, r#"Error { code: HRESULT(0x88890008), message: "" }"#); } + +#[test] +fn hresult_last_error() { + unsafe { + assert_eq!(CRYPT_E_NOT_FOUND.0, 0x80092004u32 as i32); + SetLastError(WIN32_ERROR(CRYPT_E_NOT_FOUND.0 as u32)); + let e = GetLastError().unwrap_err(); + assert_eq!(e.code(), CRYPT_E_NOT_FOUND); + } +} diff --git a/crates/tests/extensions/Cargo.toml b/crates/tests/extensions/Cargo.toml index 0d4282c6e4..e9bb7f32d5 100644 --- a/crates/tests/extensions/Cargo.toml +++ b/crates/tests/extensions/Cargo.toml @@ -9,4 +9,8 @@ path = "../../libs/windows" features = [ "Win32_Foundation", "Win32_Security_Cryptography", + "Win32_NetworkManagement_IpHelper", + "Win32_NetworkManagement_Ndis", + "Win32_Networking_WinSock", + "Win32_System_Threading", ] diff --git a/crates/tests/extensions/tests/bool32.rs b/crates/tests/extensions/tests/bool32.rs index e8cb7aec75..e3c5ce17c1 100644 --- a/crates/tests/extensions/tests/bool32.rs +++ b/crates/tests/extensions/tests/bool32.rs @@ -1,4 +1,4 @@ -use windows::Win32::Foundation::*; +use windows::{Win32::Foundation::*, Win32::System::Threading::*}; #[test] fn test() { @@ -21,3 +21,12 @@ fn test() { let error = result.unwrap_err(); assert_eq!(error.code(), E_ACCESSDENIED); } + +#[test] +#[ignore] +fn no_run() { + unsafe { + _ = CreateEventA(None, false, true, None); + _ = CreateEventA(None, BOOL(0), BOOL(1), None); + } +} diff --git a/crates/tests/extensions/tests/boolean.rs b/crates/tests/extensions/tests/boolean.rs index 6b51866b72..06e4c556e2 100644 --- a/crates/tests/extensions/tests/boolean.rs +++ b/crates/tests/extensions/tests/boolean.rs @@ -1,4 +1,4 @@ -use windows::Win32::Foundation::*; +use windows::{Win32::Foundation::*, Win32::NetworkManagement::IpHelper::*}; #[test] fn test() { @@ -21,3 +21,24 @@ fn test() { let error = result.unwrap_err(); assert_eq!(error.code(), E_ACCESSDENIED); } + +#[test] +#[ignore] +fn no_run() { + unsafe { + _ = NotifyUnicastIpAddressChange( + Default::default(), + None, + None, + true, + std::ptr::null_mut(), + ); + _ = NotifyUnicastIpAddressChange( + Default::default(), + None, + None, + BOOLEAN(1), + std::ptr::null_mut(), + ); + } +} diff --git a/crates/tests/extensions/tests/ntstatus.rs b/crates/tests/extensions/tests/ntstatus.rs index 88c1bbfb7d..8f9f46f625 100644 --- a/crates/tests/extensions/tests/ntstatus.rs +++ b/crates/tests/extensions/tests/ntstatus.rs @@ -24,7 +24,8 @@ fn test() -> Result<()> { w!("RNG"), None, BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS::default(), - )?; + ) + .ok()?; let mut random = GUID::zeroed(); let bytes = std::slice::from_raw_parts_mut( @@ -32,7 +33,7 @@ fn test() -> Result<()> { std::mem::size_of::(), ); - BCryptGenRandom(provider, bytes, Default::default())?; + BCryptGenRandom(provider, bytes, Default::default()).ok()?; assert_ne!(random, GUID::zeroed()); } diff --git a/crates/tests/implement/tests/class_factory.rs b/crates/tests/implement/tests/class_factory.rs index bd510d853f..ff53dd1125 100644 --- a/crates/tests/implement/tests/class_factory.rs +++ b/crates/tests/implement/tests/class_factory.rs @@ -32,7 +32,7 @@ impl IClassFactory_Impl for Factory { ) -> Result<()> { assert!(outer.is_none()); let unknown: IInspectable = Object().into(); - unsafe { unknown.query(&*iid, object as *mut _).ok() } + unsafe { unknown.query(iid, object).ok() } } fn LockServer(&self, lock: BOOL) -> Result<()> { diff --git a/crates/tests/implement/tests/from_raw_borrowed.rs b/crates/tests/implement/tests/from_raw_borrowed.rs index fc34529522..61d9cf6d9d 100644 --- a/crates/tests/implement/tests/from_raw_borrowed.rs +++ b/crates/tests/implement/tests/from_raw_borrowed.rs @@ -25,7 +25,7 @@ impl IServiceProvider_Impl for Borrowed { ) -> Result<()> { unsafe { let unknown: IUnknown = self.cast()?; - unknown.query(&*iid, object as _).ok() + unknown.query(iid, object).ok() } } } diff --git a/crates/tests/implement/tests/query.rs b/crates/tests/implement/tests/query.rs new file mode 100644 index 0000000000..dc01b93e33 --- /dev/null +++ b/crates/tests/implement/tests/query.rs @@ -0,0 +1,63 @@ +use windows::{core::*, Foundation::*, Win32::Foundation::*, Win32::System::WinRT::*}; + +#[implement(IStringable)] +struct Stringable; + +impl IStringable_Impl for Stringable { + fn ToString(&self) -> Result { + todo!() + } +} + +#[test] +fn test() { + unsafe { + // This covers the four distinct implementations of QueryInterface. + + let delegate: EventHandler = EventHandler::::new(move |_, _| todo!()); + test_query(&delegate); + + let interface: IStringable = Stringable.into(); + test_query(&interface); + + let source: IWeakReferenceSource = interface.cast().unwrap(); + test_query(&source); + + let weak = source.GetWeakReference().unwrap(); + test_query(&weak); + } +} + +fn test_query(interface: &I) { + unsafe { + // Successful query + { + let mut unknown: Option = None; + let hr = interface.query(&IUnknown::IID, &mut unknown as *mut _ as *mut _); + assert_eq!(hr, S_OK); + assert_eq!(interface.cast::().unwrap(), unknown.unwrap()); + } + + // Unsuccessful query + { + let mut closable: Option = None; + let hr = interface.query(&IClosable::IID, &mut closable as *mut _ as *mut _); + assert_eq!(hr, E_NOINTERFACE); + assert_eq!(closable, None); + } + + // iid param is null + { + let mut unknown: Option = None; + let hr = interface.query(std::ptr::null(), &mut unknown as *mut _ as *mut _); + assert_eq!(hr, E_POINTER); + assert_eq!(unknown, None); + } + + // interface param is null + { + let hr = interface.query(&IUnknown::IID, std::ptr::null_mut()); + assert_eq!(hr, E_POINTER); + } + } +} diff --git a/crates/tests/metadata/tests/unused.rs b/crates/tests/metadata/tests/unused.rs new file mode 100644 index 0000000000..bda800581f --- /dev/null +++ b/crates/tests/metadata/tests/unused.rs @@ -0,0 +1,14 @@ +use metadata::*; + +#[test] +fn test() { + let files = tool_lib::default_metadata(); + let reader = &Reader::new(&files); + let filter = Filter::new( + &["Windows", "BadNamespace", "Windows.AI"], + &["Windows.Foundation.Rect", "Windows.Foundation.BadType"], + ); + let unused: Vec<&str> = filter.unused(reader).collect(); + + assert_eq!(unused, ["Windows.Foundation.BadType", "BadNamespace"]); +} diff --git a/crates/tests/readme/Cargo.toml b/crates/tests/readme/Cargo.toml index 835fdb4a6b..08c260f61e 100644 --- a/crates/tests/readme/Cargo.toml +++ b/crates/tests/readme/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies.windows] -version = "0.51" +path = "../../libs/windows" features = [ "Data_Xml_Dom", "Win32_Foundation", @@ -15,7 +15,7 @@ features = [ ] [dependencies.windows-sys] -version = "0.48" +path = "../../libs/sys" features = [ "Win32_Foundation", "Win32_Security", diff --git a/crates/tests/readme/src/lib.rs b/crates/tests/readme/src/lib.rs index 221a1018e8..c89354cbc3 100644 --- a/crates/tests/readme/src/lib.rs +++ b/crates/tests/readme/src/lib.rs @@ -1 +1,6 @@ -#![doc = include_str!("../../../../docs/readme.md")] +#![doc = include_str!("../../../../crates/libs/bindgen/readme.md")] +#![doc = include_str!("../../../../crates/libs/core/readme.md")] +#![doc = include_str!("../../../../crates/libs/metadata/readme.md")] +#![doc = include_str!("../../../../crates/libs/sys/readme.md")] +#![doc = include_str!("../../../../crates/libs/targets/readme.md")] +#![doc = include_str!("../../../../crates/libs/windows/readme.md")] diff --git a/crates/tests/riddle/src/generic_interfaces.rs b/crates/tests/riddle/src/generic_interfaces.rs index afc40893fd..43268ee1e1 100644 --- a/crates/tests/riddle/src/generic_interfaces.rs +++ b/crates/tests/riddle/src/generic_interfaces.rs @@ -8,6 +8,7 @@ clippy::all )] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterable(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -32,17 +33,6 @@ impl ::windows_core::CanInto<::windows for IIterable { } -impl ::core::cmp::PartialEq for IIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterable {} -impl ::core::fmt::Debug for IIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -56,11 +46,6 @@ impl ::windows_core::RuntimeType for I unsafe impl ::windows_core::Interface for IIterable { type Vtable = IIterable_Vtbl; } -impl ::core::clone::Clone for IIterable { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterable { @@ -81,6 +66,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterator(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -127,17 +113,6 @@ impl ::windows_core::CanInto<::windows for IIterator { } -impl ::core::cmp::PartialEq for IIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterator {} -impl ::core::fmt::Debug for IIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -151,11 +126,6 @@ impl ::windows_core::RuntimeType for I unsafe impl ::windows_core::Interface for IIterator { type Vtable = IIterator_Vtbl; } -impl ::core::clone::Clone for IIterator { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterator { @@ -184,6 +154,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IKeyValuePair( ::windows_core::IUnknown, ::core::marker::PhantomData, @@ -226,24 +197,6 @@ impl for IKeyValuePair { } -impl - ::core::cmp::PartialEq for IKeyValuePair -{ - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl - ::core::cmp::Eq for IKeyValuePair -{ -} -impl - ::core::fmt::Debug for IKeyValuePair -{ - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IKeyValuePair").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IKeyValuePair { @@ -263,17 +216,6 @@ unsafe impl; } -impl - ::core::clone::Clone for IKeyValuePair -{ - fn clone(&self) -> Self { - Self( - self.0.clone(), - ::core::marker::PhantomData::, - ::core::marker::PhantomData::, - ) - } -} unsafe impl ::windows_core::ComInterface for IKeyValuePair { @@ -300,6 +242,7 @@ where pub V: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IMapView( ::windows_core::IUnknown, ::core::marker::PhantomData, @@ -382,24 +325,6 @@ impl>> for IMapView { } -impl - ::core::cmp::PartialEq for IMapView -{ - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl - ::core::cmp::Eq for IMapView -{ -} -impl - ::core::fmt::Debug for IMapView -{ - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IMapView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IMapView { @@ -419,17 +344,6 @@ unsafe impl; } -impl - ::core::clone::Clone for IMapView -{ - fn clone(&self) -> Self { - Self( - self.0.clone(), - ::core::marker::PhantomData::, - ::core::marker::PhantomData::, - ) - } -} unsafe impl ::windows_core::ComInterface for IMapView { diff --git a/crates/tests/riddle/src/lib.rs b/crates/tests/riddle/src/lib.rs index 9b0ebcfece..c731ee6aa4 100644 --- a/crates/tests/riddle/src/lib.rs +++ b/crates/tests/riddle/src/lib.rs @@ -18,6 +18,7 @@ pub fn run_riddle(name: &str, dialect: &str, etc: &[&str]) -> Vec Vec Vec ::windows_core::Result<()> { @@ -194,17 +195,6 @@ impl IParams { ::windows_core::IUnknown, ::windows_core::IInspectable ); -impl ::core::cmp::PartialEq for IParams { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IParams {} -impl ::core::fmt::Debug for IParams { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IParams").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IParams { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"TODO"); @@ -212,11 +202,6 @@ impl ::windows_core::RuntimeType for IParams { unsafe impl ::windows_core::Interface for IParams { type Vtable = IParams_Vtbl; } -impl ::core::clone::Clone for IParams { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IParams { const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); } diff --git a/crates/tests/standalone/build.rs b/crates/tests/standalone/build.rs index ce6e908ce3..82dbacf9f4 100644 --- a/crates/tests/standalone/build.rs +++ b/crates/tests/standalone/build.rs @@ -150,6 +150,8 @@ fn write_std(output: &str, filter: &[&str]) { } fn riddle(output: &str, filter: &[&str], config: &[&str]) { + std::fs::remove_file(output).expect("Failed to delete output"); + let mut command = std::process::Command::new("cargo"); command.args([ diff --git a/crates/tests/standalone/src/b_calendar.rs b/crates/tests/standalone/src/b_calendar.rs index 7e440c4d4c..96563a3bc2 100644 --- a/crates/tests/standalone/src/b_calendar.rs +++ b/crates/tests/standalone/src/b_calendar.rs @@ -8,6 +8,7 @@ clippy::all )] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Calendar(::windows_core::IUnknown); impl Calendar { pub fn new() -> ::windows_core::Result { @@ -1262,28 +1263,12 @@ impl Calendar { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Calendar { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Calendar {} -impl ::core::fmt::Debug for Calendar { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Calendar").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Calendar { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice( b"rc(Windows.Globalization.Calendar;{ca30221d-86d9-40fb-a26b-d44eb7cf08ea})", ); } -impl ::core::clone::Clone for Calendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Calendar { type Vtable = ICalendar_Vtbl; } @@ -1372,15 +1357,11 @@ impl ::windows_core::RuntimeType for DayOfWeek { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendar { type Vtable = ICalendar_Vtbl; } -impl ::core::clone::Clone for ICalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca30221d_86d9_40fb_a26b_d44eb7cf08ea); @@ -1794,15 +1775,11 @@ pub struct ICalendar_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarFactory { type Vtable = ICalendarFactory_Vtbl; } -impl ::core::clone::Clone for ICalendarFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x83f58412_e56b_4c75_a66e_0f63d57758a6); @@ -1827,15 +1804,11 @@ pub struct ICalendarFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ICalendarFactory2(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ICalendarFactory2 { type Vtable = ICalendarFactory2_Vtbl; } -impl ::core::clone::Clone for ICalendarFactory2 { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ICalendarFactory2 { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb44b378c_ca7e_4590_9e72_ea2bec1a5115); @@ -1854,6 +1827,7 @@ pub struct ICalendarFactory2_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterable(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -1878,17 +1852,6 @@ impl ::windows_core::CanInto<::windows for IIterable { } -impl ::core::cmp::PartialEq for IIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterable {} -impl ::core::fmt::Debug for IIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -1916,11 +1879,6 @@ impl ::core::iter::IntoIterator for &IIterable ::windows_core::Interface for IIterable { type Vtable = IIterable_Vtbl; } -impl ::core::clone::Clone for IIterable { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterable { @@ -1941,6 +1899,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterator(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -2003,17 +1962,6 @@ impl ::windows_core::CanInto<::windows for IIterator { } -impl ::core::cmp::PartialEq for IIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterator {} -impl ::core::fmt::Debug for IIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -2037,11 +1985,6 @@ impl ::core::iter::Iterator for IIterator { unsafe impl ::windows_core::Interface for IIterator { type Vtable = IIterator_Vtbl; } -impl ::core::clone::Clone for IIterator { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterator { @@ -2077,15 +2020,11 @@ where } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ITimeZoneOnCalendar(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for ITimeZoneOnCalendar { type Vtable = ITimeZoneOnCalendar_Vtbl; } -impl ::core::clone::Clone for ITimeZoneOnCalendar { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for ITimeZoneOnCalendar { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbb3c25e5_46cf_4317_a3f5_02621ad54478); @@ -2113,6 +2052,7 @@ pub struct ITimeZoneOnCalendar_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVectorView(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -2198,17 +2138,6 @@ impl ::windows_core::CanTryInto { } -impl ::core::cmp::PartialEq for IVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVectorView {} -impl ::core::fmt::Debug for IVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVectorView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -2259,11 +2188,6 @@ impl ::core::iter::IntoIterator for &IVectorView unsafe impl ::windows_core::Interface for IVectorView { type Vtable = IVectorView_Vtbl; } -impl ::core::clone::Clone for IVectorView { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IVectorView { diff --git a/crates/tests/standalone/src/b_stringable.rs b/crates/tests/standalone/src/b_stringable.rs index d488707011..61a9112c61 100644 --- a/crates/tests/standalone/src/b_stringable.rs +++ b/crates/tests/standalone/src/b_stringable.rs @@ -8,6 +8,7 @@ clippy::all )] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringable(::windows_core::IUnknown); impl IStringable { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -27,17 +28,6 @@ impl IStringable { ::windows_core::IUnknown, ::windows_core::IInspectable ); -impl ::core::cmp::PartialEq for IStringable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringable {} -impl ::core::fmt::Debug for IStringable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStringable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); @@ -45,11 +35,6 @@ impl ::windows_core::RuntimeType for IStringable { unsafe impl ::windows_core::Interface for IStringable { type Vtable = IStringable_Vtbl; } -impl ::core::clone::Clone for IStringable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); diff --git a/crates/tests/standalone/src/b_uri.rs b/crates/tests/standalone/src/b_uri.rs index cf9d487d7f..96e3bb1001 100644 --- a/crates/tests/standalone/src/b_uri.rs +++ b/crates/tests/standalone/src/b_uri.rs @@ -8,6 +8,7 @@ clippy::all )] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterable(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -32,17 +33,6 @@ impl ::windows_core::CanInto<::windows for IIterable { } -impl ::core::cmp::PartialEq for IIterable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterable {} -impl ::core::fmt::Debug for IIterable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterable { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -70,11 +60,6 @@ impl ::core::iter::IntoIterator for &IIterable ::windows_core::Interface for IIterable { type Vtable = IIterable_Vtbl; } -impl ::core::clone::Clone for IIterable { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterable { @@ -95,6 +80,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IIterator(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -157,17 +143,6 @@ impl ::windows_core::CanInto<::windows for IIterator { } -impl ::core::cmp::PartialEq for IIterator { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IIterator {} -impl ::core::fmt::Debug for IIterator { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IIterator").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IIterator { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -191,11 +166,6 @@ impl ::core::iter::Iterator for IIterator { unsafe impl ::windows_core::Interface for IIterator { type Vtable = IIterator_Vtbl; } -impl ::core::clone::Clone for IIterator { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IIterator { @@ -230,6 +200,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IStringable(::windows_core::IUnknown); impl IStringable { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -249,17 +220,6 @@ impl IStringable { ::windows_core::IUnknown, ::windows_core::IInspectable ); -impl ::core::cmp::PartialEq for IStringable { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IStringable {} -impl ::core::fmt::Debug for IStringable { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IStringable").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IStringable { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{96369f54-8eb6-48f0-abce-c1b211e627c3}"); @@ -267,11 +227,6 @@ impl ::windows_core::RuntimeType for IStringable { unsafe impl ::windows_core::Interface for IStringable { type Vtable = IStringable_Vtbl; } -impl ::core::clone::Clone for IStringable { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IStringable { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x96369f54_8eb6_48f0_abce_c1b211e627c3); @@ -287,15 +242,11 @@ pub struct IStringable_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriEscapeStatics(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriEscapeStatics { type Vtable = IUriEscapeStatics_Vtbl; } -impl ::core::clone::Clone for IUriEscapeStatics { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriEscapeStatics { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1); @@ -317,15 +268,11 @@ pub struct IUriEscapeStatics_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClass { type Vtable = IUriRuntimeClass_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9e365e57_48b2_4160_956f_c7385120bbfc); @@ -407,15 +354,11 @@ pub struct IUriRuntimeClass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClassFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClassFactory { type Vtable = IUriRuntimeClassFactory_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x44a9796f_723e_4fdf_a218_033e75b0c084); @@ -438,15 +381,11 @@ pub struct IUriRuntimeClassFactory_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IUriRuntimeClassWithAbsoluteCanonicalUri(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IUriRuntimeClassWithAbsoluteCanonicalUri { type Vtable = IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl; } -impl ::core::clone::Clone for IUriRuntimeClassWithAbsoluteCanonicalUri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IUriRuntimeClassWithAbsoluteCanonicalUri { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x758d9661_221c_480f_a339_50656673f46f); @@ -465,6 +404,7 @@ pub struct IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IVectorView(::windows_core::IUnknown, ::core::marker::PhantomData) where T: ::windows_core::RuntimeType + 'static; @@ -550,17 +490,6 @@ impl ::windows_core::CanTryInto { } -impl ::core::cmp::PartialEq for IVectorView { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IVectorView {} -impl ::core::fmt::Debug for IVectorView { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IVectorView").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for IVectorView { const SIGNATURE: ::windows_core::imp::ConstBuffer = { ::windows_core::imp::ConstBuffer::new() @@ -611,11 +540,6 @@ impl ::core::iter::IntoIterator for &IVectorView unsafe impl ::windows_core::Interface for IVectorView { type Vtable = IVectorView_Vtbl; } -impl ::core::clone::Clone for IVectorView { - fn clone(&self) -> Self { - Self(self.0.clone(), ::core::marker::PhantomData::) - } -} unsafe impl ::windows_core::ComInterface for IVectorView { @@ -654,6 +578,7 @@ where pub T: ::core::marker::PhantomData, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderEntry(::windows_core::IUnknown); impl IWwwFormUrlDecoderEntry { pub fn Name(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -684,19 +609,6 @@ impl IWwwFormUrlDecoderEntry { ::windows_core::IUnknown, ::windows_core::IInspectable ); -impl ::core::cmp::PartialEq for IWwwFormUrlDecoderEntry { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for IWwwFormUrlDecoderEntry {} -impl ::core::fmt::Debug for IWwwFormUrlDecoderEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("IWwwFormUrlDecoderEntry") - .field(&self.0) - .finish() - } -} impl ::windows_core::RuntimeType for IWwwFormUrlDecoderEntry { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice(b"{125e7431-f678-4e8e-b670-20a9b06c512d}"); @@ -704,11 +616,6 @@ impl ::windows_core::RuntimeType for IWwwFormUrlDecoderEntry { unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderEntry { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderEntry { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x125e7431_f678_4e8e_b670_20a9b06c512d); @@ -728,15 +635,11 @@ pub struct IWwwFormUrlDecoderEntry_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderRuntimeClass(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderRuntimeClass { type Vtable = IWwwFormUrlDecoderRuntimeClass_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderRuntimeClass { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderRuntimeClass { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd45a0451_f225_4542_9296_0e1df5d254df); @@ -753,15 +656,11 @@ pub struct IWwwFormUrlDecoderRuntimeClass_Vtbl { } #[doc(hidden)] #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWwwFormUrlDecoderRuntimeClassFactory(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for IWwwFormUrlDecoderRuntimeClassFactory { type Vtable = IWwwFormUrlDecoderRuntimeClassFactory_Vtbl; } -impl ::core::clone::Clone for IWwwFormUrlDecoderRuntimeClassFactory { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::ComInterface for IWwwFormUrlDecoderRuntimeClassFactory { const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b); @@ -777,6 +676,7 @@ pub struct IWwwFormUrlDecoderRuntimeClassFactory_Vtbl { ) -> ::windows_core::HRESULT, } #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct Uri(::windows_core::IUnknown); impl Uri { pub fn ToString(&self) -> ::windows_core::Result<::windows_core::HSTRING> { @@ -1078,28 +978,12 @@ impl Uri { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for Uri { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for Uri {} -impl ::core::fmt::Debug for Uri { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("Uri").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for Uri { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice( b"rc(Windows.Foundation.Uri;{9e365e57-48b2-4160-956f-c7385120bbfc})", ); } -impl ::core::clone::Clone for Uri { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for Uri { type Vtable = IUriRuntimeClass_Vtbl; } @@ -1118,6 +1002,7 @@ impl ::windows_core::CanTryInto for Uri {} unsafe impl ::core::marker::Send for Uri {} unsafe impl ::core::marker::Sync for Uri {} #[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct WwwFormUrlDecoder(::windows_core::IUnknown); impl WwwFormUrlDecoder { pub fn First(&self) -> ::windows_core::Result> { @@ -1234,28 +1119,12 @@ impl WwwFormUrlDecoder { SHARED.call(callback) } } -impl ::core::cmp::PartialEq for WwwFormUrlDecoder { - fn eq(&self, other: &Self) -> bool { - self.0 == other.0 - } -} -impl ::core::cmp::Eq for WwwFormUrlDecoder {} -impl ::core::fmt::Debug for WwwFormUrlDecoder { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WwwFormUrlDecoder").field(&self.0).finish() - } -} impl ::windows_core::RuntimeType for WwwFormUrlDecoder { const SIGNATURE: ::windows_core::imp::ConstBuffer = ::windows_core::imp::ConstBuffer::from_slice( b"rc(Windows.Foundation.WwwFormUrlDecoder;{d45a0451-f225-4542-9296-0e1df5d254df})", ); } -impl ::core::clone::Clone for WwwFormUrlDecoder { - fn clone(&self) -> Self { - Self(self.0.clone()) - } -} unsafe impl ::windows_core::Interface for WwwFormUrlDecoder { type Vtable = IWwwFormUrlDecoderRuntimeClass_Vtbl; } diff --git a/crates/tests/weak_ref/tests/count.rs b/crates/tests/weak_ref/tests/count.rs index cbe873b89e..d89ad20011 100644 --- a/crates/tests/weak_ref/tests/count.rs +++ b/crates/tests/weak_ref/tests/count.rs @@ -6,10 +6,10 @@ use windows::Win32::System::WinRT::IWeakReferenceSource; fn test() { // Ref count starts at 1 let count = WeakRefCount::new(); - assert!(count.add_ref() == 2); - assert!(count.add_ref() == 3); - assert!(count.release() == 2); - assert!(count.release() == 1); + assert_eq!(count.add_ref(), 2); + assert_eq!(count.add_ref(), 3); + assert_eq!(count.release(), 2); + assert_eq!(count.release(), 1); // Query implies add_ref unsafe { @@ -17,8 +17,8 @@ fn test() { } // Ref count is now owned by tearoff - assert!(count.add_ref() == 3); - assert!(count.release() == 2); - assert!(count.release() == 1); - assert!(count.release() == 0); + assert_eq!(count.add_ref(), 3); + assert_eq!(count.release(), 2); + assert_eq!(count.release(), 1); + assert_eq!(count.release(), 0); } diff --git a/docs/readme.md b/docs/readme.md index 0090ad77dc..efef4e216c 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -3,86 +3,5 @@ The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) -* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples) +* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) - -Start by adding the following to your Cargo.toml file: - -```toml -[dependencies.windows] -version = "0.51" -features = [ - "Data_Xml_Dom", - "Win32_Foundation", - "Win32_Security", - "Win32_System_Threading", - "Win32_UI_WindowsAndMessaging", -] -``` - -Make use of any Windows APIs as needed: - -```rust,no_run -use windows::{ - core::*, Data::Xml::Dom::*, Win32::Foundation::*, Win32::System::Threading::*, - Win32::UI::WindowsAndMessaging::*, -}; - -fn main() -> Result<()> { - let doc = XmlDocument::new()?; - doc.LoadXml(h!("hello world"))?; - - let root = doc.DocumentElement()?; - assert!(root.NodeName()? == "html"); - assert!(root.InnerText()? == "hello world"); - - unsafe { - let event = CreateEventW(None, true, false, None)?; - SetEvent(event)?; - WaitForSingleObject(event, 0); - CloseHandle(event)?; - - MessageBoxA(None, s!("Ansi"), s!("Caption"), MB_OK); - MessageBoxW(None, w!("Wide"), w!("Caption"), MB_OK); - } - - Ok(()) -} -``` - -## windows-sys - -The `windows-sys` crate is a zero-overhead fallback for the most demanding situations and primarily where the absolute best compile time is essential. It only includes function declarations (externs), structs, and constants. No convenience helpers, traits, or wrappers are provided. - -Start by adding the following to your Cargo.toml file: - -```toml -[dependencies.windows-sys] -version = "0.48" -features = [ - "Win32_Foundation", - "Win32_Security", - "Win32_System_Threading", - "Win32_UI_WindowsAndMessaging", -] -``` - -Make use of any Windows APIs as needed: - -```rust,no_run -use windows_sys::{ - core::*, Win32::Foundation::*, Win32::System::Threading::*, Win32::UI::WindowsAndMessaging::*, -}; - -fn main() { - unsafe { - let event = CreateEventW(std::ptr::null(), 1, 0, std::ptr::null()); - SetEvent(event); - WaitForSingleObject(event, 0); - CloseHandle(event); - - MessageBoxA(0, s!("Ansi"), s!("Caption"), MB_OK); - MessageBoxW(0, w!("Wide"), w!("Caption"), MB_OK); - } -} -```